mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
Remove standalone true from platform and UIF (#15032)
Remove standalone: true from every instance since it's the default as of Angular 19.
This commit is contained in:
@@ -2,7 +2,6 @@ import { Directive, HostBinding } from "@angular/core";
|
||||
|
||||
@Directive({
|
||||
selector: "th[bitCell], td[bitCell]",
|
||||
standalone: true,
|
||||
})
|
||||
export class CellDirective {
|
||||
@HostBinding("class") get classList() {
|
||||
|
||||
@@ -2,7 +2,6 @@ import { Directive, HostBinding, Input } from "@angular/core";
|
||||
|
||||
@Directive({
|
||||
selector: "tr[bitRow]",
|
||||
standalone: true,
|
||||
})
|
||||
export class RowDirective {
|
||||
@Input() alignContent: "top" | "middle" | "bottom" | "baseline" = "middle";
|
||||
|
||||
@@ -20,7 +20,6 @@ import { TableComponent } from "./table.component";
|
||||
<i class="bwi tw-ms-2" [ngClass]="icon"></i>
|
||||
</button>
|
||||
`,
|
||||
standalone: true,
|
||||
imports: [NgClass],
|
||||
})
|
||||
export class SortableComponent implements OnInit {
|
||||
|
||||
@@ -35,7 +35,6 @@ import { TableComponent } from "./table.component";
|
||||
*/
|
||||
@Directive({
|
||||
selector: "[bitRowDef]",
|
||||
standalone: true,
|
||||
})
|
||||
export class BitRowDef {
|
||||
constructor(public template: TemplateRef<any>) {}
|
||||
@@ -50,7 +49,6 @@ export class BitRowDef {
|
||||
selector: "bit-table-scroll",
|
||||
templateUrl: "./table-scroll.component.html",
|
||||
providers: [{ provide: TableComponent, useExisting: TableScrollComponent }],
|
||||
standalone: true,
|
||||
imports: [
|
||||
CommonModule,
|
||||
CdkVirtualScrollViewport,
|
||||
|
||||
@@ -17,7 +17,6 @@ import { TableDataSource } from "./table-data-source";
|
||||
|
||||
@Directive({
|
||||
selector: "ng-template[body]",
|
||||
standalone: true,
|
||||
})
|
||||
export class TableBodyDirective {
|
||||
// eslint-disable-next-line @typescript-eslint/explicit-member-accessibility
|
||||
@@ -27,7 +26,6 @@ export class TableBodyDirective {
|
||||
@Component({
|
||||
selector: "bit-table",
|
||||
templateUrl: "./table.component.html",
|
||||
standalone: true,
|
||||
imports: [CommonModule],
|
||||
})
|
||||
export class TableComponent implements OnDestroy, AfterContentChecked {
|
||||
|
||||
Reference in New Issue
Block a user