From 73defb9951669d9387f27f2fab2c732c796e996f Mon Sep 17 00:00:00 2001 From: damien-guillermet Date: Thu, 25 Jul 2024 17:24:43 +0200 Subject: [PATCH] fix(ngx-layout): remove deprecated/unused input options --- projects/layout/src/layout.component.ts | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/projects/layout/src/layout.component.ts b/projects/layout/src/layout.component.ts index 63706e41..6c9790cd 100644 --- a/projects/layout/src/layout.component.ts +++ b/projects/layout/src/layout.component.ts @@ -56,8 +56,6 @@ export class NgxLayoutComponent { protected mediaService = inject(NgxMediaService); protected sidenavService = inject(NgxSidenavService); - private _withEditorToolbar = true; - public get layoutToolbar(): TemplateRef | undefined { return this.layoutToolbarExternal ?? this.layoutToolbarContent; } @@ -80,15 +78,6 @@ export class NgxLayoutComponent { return value; } - @Input() - public set withEditorToolbar(value: BooleanInput) { - this._withEditorToolbar = coerceBooleanProperty(value); - } - - public get withEditorToolbar(): BooleanInput { - return this._withEditorToolbar; - } - private _withSidenav = false; @Input() @@ -101,6 +90,7 @@ export class NgxLayoutComponent { } private _keepFilterButtonDisplayed = true; + @Input() public set keepFilterButtonDisplayed(value: BooleanInput) { this._keepFilterButtonDisplayed = coerceBooleanProperty(value); @@ -111,6 +101,7 @@ export class NgxLayoutComponent { } private _withCloseButton = false; + @Input() public set withCloseButton(value: BooleanInput) { this._withCloseButton = coerceBooleanProperty(value); @@ -131,17 +122,6 @@ export class NgxLayoutComponent { return this._withBackButton; } - private _displayEditorToolbar = true; - - @Input() - public set displayEditorToolbar(value: BooleanInput) { - this._displayEditorToolbar = coerceBooleanProperty(value); - } - - public get displayEditorToolbar(): BooleanInput { - return this._displayEditorToolbar; - } - public closeSideFilter(): void { void this.sideFilter?.close(); }