mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
[CL-714] Remove standalone true from tools (#15039)
Remove standalone: true from every instance since it's the default as of Angular 19.
This commit is contained in:
@@ -16,7 +16,6 @@ import { CalloutModule } from "@bitwarden/components";
|
||||
@Component({
|
||||
selector: "tools-export-scope-callout",
|
||||
templateUrl: "export-scope-callout.component.html",
|
||||
standalone: true,
|
||||
imports: [CommonModule, JslibModule, CalloutModule],
|
||||
})
|
||||
export class ExportScopeCalloutComponent {
|
||||
|
||||
@@ -67,7 +67,6 @@ import { ExportScopeCalloutComponent } from "./export-scope-callout.component";
|
||||
@Component({
|
||||
selector: "tools-export",
|
||||
templateUrl: "export.component.html",
|
||||
standalone: true,
|
||||
imports: [
|
||||
CommonModule,
|
||||
ReactiveFormsModule,
|
||||
|
||||
@@ -29,7 +29,6 @@ import { EmptyCredentialHistoryComponent } from "./empty-credential-history.comp
|
||||
|
||||
@Component({
|
||||
templateUrl: "credential-generator-history-dialog.component.html",
|
||||
standalone: true,
|
||||
imports: [
|
||||
ButtonModule,
|
||||
CommonModule,
|
||||
|
||||
@@ -27,7 +27,6 @@ import { GeneratorModule } from "./generator.module";
|
||||
import { translate } from "./util";
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
selector: "bit-credential-generator-history",
|
||||
templateUrl: "credential-generator-history.component.html",
|
||||
imports: [
|
||||
|
||||
@@ -6,7 +6,6 @@ import { IconModule, TypographyModule } from "@bitwarden/components";
|
||||
import { NoCredentialsIcon } from "./icons/no-credentials.icon";
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
selector: "bit-empty-credential-history",
|
||||
templateUrl: "empty-credential-history.component.html",
|
||||
imports: [JslibModule, IconModule, TypographyModule],
|
||||
|
||||
@@ -11,7 +11,6 @@ import { TypographyModule } from "@bitwarden/components";
|
||||
import { I18nPipe } from "@bitwarden/ui-common";
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
selector: "nudge-generator-spotlight",
|
||||
templateUrl: "nudge-generator-spotlight.component.html",
|
||||
imports: [I18nPipe, SpotlightComponent, AsyncPipe, CommonModule, TypographyModule],
|
||||
|
||||
@@ -54,7 +54,6 @@ export enum SendItemDialogResult {
|
||||
*/
|
||||
@Component({
|
||||
templateUrl: "send-add-edit-dialog.component.html",
|
||||
standalone: true,
|
||||
imports: [
|
||||
CommonModule,
|
||||
SearchModule,
|
||||
|
||||
@@ -12,7 +12,6 @@ import { BadgeModule, ButtonModule, ButtonType, MenuModule } from "@bitwarden/co
|
||||
@Component({
|
||||
selector: "tools-new-send-dropdown",
|
||||
templateUrl: "new-send-dropdown.component.html",
|
||||
standalone: true,
|
||||
imports: [JslibModule, CommonModule, ButtonModule, RouterLink, MenuModule, BadgeModule],
|
||||
})
|
||||
export class NewSendDropdownComponent implements OnInit {
|
||||
|
||||
@@ -36,7 +36,6 @@ import { SendFormContainer } from "../../send-form-container";
|
||||
@Component({
|
||||
selector: "tools-send-options",
|
||||
templateUrl: "./send-options.component.html",
|
||||
standalone: true,
|
||||
imports: [
|
||||
AsyncActionsModule,
|
||||
ButtonModule,
|
||||
|
||||
@@ -50,7 +50,6 @@ export interface DatePresetSelectOption {
|
||||
@Component({
|
||||
selector: "tools-send-details",
|
||||
templateUrl: "./send-details.component.html",
|
||||
standalone: true,
|
||||
imports: [
|
||||
SectionComponent,
|
||||
SectionHeaderComponent,
|
||||
|
||||
@@ -22,7 +22,6 @@ import { SendFormContainer } from "../../send-form-container";
|
||||
@Component({
|
||||
selector: "tools-send-file-details",
|
||||
templateUrl: "./send-file-details.component.html",
|
||||
standalone: true,
|
||||
imports: [
|
||||
ButtonModule,
|
||||
CommonModule,
|
||||
|
||||
@@ -15,7 +15,6 @@ import { SendFormContainer } from "../../send-form-container";
|
||||
@Component({
|
||||
selector: "tools-send-text-details",
|
||||
templateUrl: "./send-text-details.component.html",
|
||||
standalone: true,
|
||||
imports: [
|
||||
CheckboxModule,
|
||||
CommonModule,
|
||||
|
||||
@@ -41,7 +41,6 @@ import { SendDetailsComponent } from "./send-details/send-details.component";
|
||||
@Component({
|
||||
selector: "tools-send-form",
|
||||
templateUrl: "./send-form.component.html",
|
||||
standalone: true,
|
||||
providers: [
|
||||
{
|
||||
provide: SendFormContainer,
|
||||
|
||||
@@ -11,7 +11,6 @@ import { ChipSelectComponent } from "@bitwarden/components";
|
||||
import { SendListFiltersService } from "../services/send-list-filters.service";
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
selector: "app-send-list-filters",
|
||||
templateUrl: "./send-list-filters.component.html",
|
||||
imports: [CommonModule, JslibModule, ChipSelectComponent, ReactiveFormsModule],
|
||||
|
||||
@@ -40,7 +40,6 @@ import {
|
||||
],
|
||||
selector: "app-send-list-items-container",
|
||||
templateUrl: "send-list-items-container.component.html",
|
||||
standalone: true,
|
||||
})
|
||||
export class SendListItemsContainerComponent {
|
||||
sendType = SendType;
|
||||
|
||||
@@ -13,7 +13,6 @@ const SearchTextDebounceInterval = 200;
|
||||
|
||||
@Component({
|
||||
imports: [CommonModule, SearchModule, JslibModule, FormsModule],
|
||||
standalone: true,
|
||||
selector: "tools-send-search",
|
||||
templateUrl: "send-search.component.html",
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user