structra-ui 0.2.24 → 0.2.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/structra-ui.mjs +66 -10
- package/fesm2022/structra-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/structra-ui.css +1 -1
- package/types/structra-ui.d.ts +7 -1
package/types/structra-ui.d.ts
CHANGED
|
@@ -3021,6 +3021,8 @@ declare class DrawerComponent implements OnChanges, OnDestroy {
|
|
|
3021
3021
|
private readonly cdr;
|
|
3022
3022
|
private readonly injector;
|
|
3023
3023
|
private readonly hostEl;
|
|
3024
|
+
private readonly renderer;
|
|
3025
|
+
private readonly appTheme;
|
|
3024
3026
|
open: boolean;
|
|
3025
3027
|
side: DrawerSide;
|
|
3026
3028
|
size: DrawerSize;
|
|
@@ -3033,6 +3035,7 @@ declare class DrawerComponent implements OnChanges, OnDestroy {
|
|
|
3033
3035
|
readonly DrawerSize: typeof DrawerSize;
|
|
3034
3036
|
readonly titleId: string;
|
|
3035
3037
|
private focusPreOpen;
|
|
3038
|
+
constructor();
|
|
3036
3039
|
/** Igual ao `app-dialog`: backdrop + painel no `body` para `backdrop-filter` correcto. */
|
|
3037
3040
|
private bodyRestoreParent;
|
|
3038
3041
|
private bodyRestoreNext;
|
|
@@ -3431,7 +3434,7 @@ declare class AppShellSidebarTemplateDirective {
|
|
|
3431
3434
|
* Tema: `[appTheme]` opcional no host; sem ele, herda paleta de um ancestral com {@link ThemeDirective}
|
|
3432
3435
|
* (ex.: `<div appTheme="purple">`). Com input explícito, aplica as classes no host.
|
|
3433
3436
|
*/
|
|
3434
|
-
declare class AppSidebarComponent<T extends string = string> implements OnChanges {
|
|
3437
|
+
declare class AppSidebarComponent<T extends string = string> implements OnChanges, AfterViewInit {
|
|
3435
3438
|
private readonly cdr;
|
|
3436
3439
|
private readonly destroyRef;
|
|
3437
3440
|
private readonly hostEl;
|
|
@@ -3452,8 +3455,11 @@ declare class AppSidebarComponent<T extends string = string> implements OnChange
|
|
|
3452
3455
|
readonly listCompressText: i0.WritableSignal<boolean>;
|
|
3453
3456
|
private listRevealTimeoutId;
|
|
3454
3457
|
constructor();
|
|
3458
|
+
ngAfterViewInit(): void;
|
|
3455
3459
|
ngOnChanges(changes: SimpleChanges): void;
|
|
3456
3460
|
private clearListRevealTimeout;
|
|
3461
|
+
private scheduleSidebarHeadLayoutGuards;
|
|
3462
|
+
private applySidebarHeadLayoutGuards;
|
|
3457
3463
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppSidebarComponent<any>, never>;
|
|
3458
3464
|
static ɵcmp: i0.ɵɵComponentDeclaration<AppSidebarComponent<any>, "app-sidebar", never, { "appTheme": { "alias": "appTheme"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": true; }; "menuId": { "alias": "menuId"; "required": false; }; "selectedItemId": { "alias": "selectedItemId"; "required": false; }; "collapsed": { "alias": "collapsed"; "required": false; }; }, { "itemSelect": "itemSelect"; }, never, ["[appSidebarBrand]", "[appSidebarToolbar]"], true, never>;
|
|
3459
3465
|
static ngAcceptInputType_collapsed: unknown;
|