structra-ui 0.2.39 → 0.2.41
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/package.json
CHANGED
package/types/structra-ui.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { ChangeDetectorRef, Injector, DestroyRef, EventEmitter, OnChanges, OnInit, SimpleChanges, DoCheck, AfterViewInit, TemplateRef, OnDestroy, AfterContentInit, QueryList,
|
|
2
|
+
import { ChangeDetectorRef, Injector, DestroyRef, EventEmitter, OnChanges, OnInit, SimpleChanges, DoCheck, AfterViewInit, TemplateRef, OnDestroy, AfterContentInit, QueryList, ElementRef, Renderer2, Signal } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor, AbstractControl, NgControl, ValidatorFn } from '@angular/forms';
|
|
4
4
|
import { MatDatepicker } from '@angular/material/datepicker';
|
|
5
5
|
import * as _angular_cdk_overlay from '@angular/cdk/overlay';
|
|
@@ -2839,11 +2839,12 @@ declare class AppThemeService {
|
|
|
2839
2839
|
}
|
|
2840
2840
|
|
|
2841
2841
|
declare class ThemeDirective implements OnChanges {
|
|
2842
|
-
theme: StructraTheme | AppTheme;
|
|
2843
2842
|
private readonly elementRef;
|
|
2844
2843
|
private readonly renderer;
|
|
2845
2844
|
private readonly themeService;
|
|
2845
|
+
theme: StructraTheme | AppTheme;
|
|
2846
2846
|
private readonly themeTokenClasses;
|
|
2847
|
+
constructor(elementRef: ElementRef<HTMLElement>, renderer: Renderer2, themeService: AppThemeService);
|
|
2847
2848
|
ngOnChanges(): void;
|
|
2848
2849
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeDirective, never>;
|
|
2849
2850
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ThemeDirective, "[appTheme]", never, { "theme": { "alias": "appTheme"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -3157,8 +3158,8 @@ declare class MenuDividerComponent {
|
|
|
3157
3158
|
}
|
|
3158
3159
|
|
|
3159
3160
|
/**
|
|
3160
|
-
* Cabeçalho opcional de grupo — alinhado a `MenuItemGroup` (`kind: 'group'`)
|
|
3161
|
-
*
|
|
3161
|
+
* Cabeçalho opcional de grupo — alinhado a `MenuItemGroup` (`kind: 'group'`):
|
|
3162
|
+
* `alwaysExpanded` = sempre aberto sem toggle; caso contrário `expanded` no modelo define o estado inicial.
|
|
3162
3163
|
*/
|
|
3163
3164
|
declare class MenuGroupComponent {
|
|
3164
3165
|
label?: string;
|
|
@@ -3448,8 +3449,10 @@ declare class AppSidebarComponent<T extends string = string> implements OnChange
|
|
|
3448
3449
|
groupDefaultExpansion: 'all' | 'first';
|
|
3449
3450
|
readonly itemSelect: EventEmitter<T>;
|
|
3450
3451
|
/**
|
|
3451
|
-
* Valor efectivo de `compressText` em `app-menu-list`: ao expandir
|
|
3452
|
-
*
|
|
3452
|
+
* Valor efectivo de `compressText` em `app-menu-list`: ao expandir a partir do modo rail,
|
|
3453
|
+
* mantém-se comprimido até a animação de largura terminar (evita flicker de texto).
|
|
3454
|
+
* Começa em `false` para a primeira pintura com lateral já expandida corresponder ao estado real
|
|
3455
|
+
* e o `menu-list` aplicar bem `expanded` nos grupos.
|
|
3453
3456
|
*/
|
|
3454
3457
|
readonly listCompressText: i0.WritableSignal<boolean>;
|
|
3455
3458
|
private listRevealTimeoutId;
|