@ngx-smz/ui-kit 21.9.0-next.4 → 21.9.0-next.5
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/ngx-smz-ui-kit.mjs +411 -224
- package/fesm2022/ngx-smz-ui-kit.mjs.map +1 -1
- package/package.json +1 -1
- package/types/ngx-smz-ui-kit.d.ts +75 -12
package/package.json
CHANGED
|
@@ -119,7 +119,7 @@ interface SmzUiMenuItem {
|
|
|
119
119
|
labelStyleClass?: string;
|
|
120
120
|
state?: Record<string, unknown>;
|
|
121
121
|
/** Dados livres do consumidor. */
|
|
122
|
-
data?:
|
|
122
|
+
data?: any;
|
|
123
123
|
[extra: string]: any;
|
|
124
124
|
}
|
|
125
125
|
|
|
@@ -313,10 +313,15 @@ declare class SmzInputTextDirective {
|
|
|
313
313
|
/** Area de texto. Substitui o `pTextarea` / `pInputTextarea` do PrimeNG. */
|
|
314
314
|
declare class SmzTextareaDirective {
|
|
315
315
|
readonly invalid: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
316
|
+
/** Cresce com o conteudo (equivale ao `autoResize` do `pTextarea`). */
|
|
317
|
+
readonly autoResize: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
318
|
+
private readonly el;
|
|
319
|
+
constructor();
|
|
320
|
+
protected resize(): void;
|
|
316
321
|
private readonly staticClass;
|
|
317
322
|
protected readonly classes: _angular_core.Signal<string>;
|
|
318
323
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SmzTextareaDirective, never>;
|
|
319
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SmzTextareaDirective, "textarea[smzTextarea]", never, { "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
324
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SmzTextareaDirective, "textarea[smzTextarea]", never, { "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "autoResize": { "alias": "autoResize"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
320
325
|
}
|
|
321
326
|
|
|
322
327
|
/**
|
|
@@ -327,6 +332,7 @@ declare class SmzTextareaDirective {
|
|
|
327
332
|
*/
|
|
328
333
|
declare class SmzCheckboxComponent extends SmzValueAccessor<unknown> {
|
|
329
334
|
readonly label: _angular_core.InputSignal<string>;
|
|
335
|
+
readonly inputId: _angular_core.InputSignal<string>;
|
|
330
336
|
/** Valor deste item quando o modelo e um array (modo grupo). */
|
|
331
337
|
readonly value: _angular_core.InputSignal<unknown>;
|
|
332
338
|
/** Forca o modo booleano mesmo com `value` informado. Mantido por compatibilidade com o Prime. */
|
|
@@ -341,7 +347,7 @@ declare class SmzCheckboxComponent extends SmzValueAccessor<unknown> {
|
|
|
341
347
|
protected readonly boxClasses: _angular_core.Signal<"border-ui-primary bg-ui-primary text-ui-on-primary" | "border-ui-line-strong bg-ui-surface-1 text-transparent">;
|
|
342
348
|
protected toggle(): void;
|
|
343
349
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SmzCheckboxComponent, never>;
|
|
344
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SmzCheckboxComponent, "ui-checkbox", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "binary": { "alias": "binary"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; }, { "changed": "changed"; }, never, ["*"], true, never>;
|
|
350
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SmzCheckboxComponent, "ui-checkbox", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "binary": { "alias": "binary"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; }, { "changed": "changed"; }, never, ["*"], true, never>;
|
|
345
351
|
}
|
|
346
352
|
|
|
347
353
|
/**
|
|
@@ -645,6 +651,8 @@ declare class SmzDialogService {
|
|
|
645
651
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<SmzDialogService>;
|
|
646
652
|
}
|
|
647
653
|
|
|
654
|
+
/** Posicoes aceitas por `ui-dialog`. */
|
|
655
|
+
type SmzDialogPosition = 'center' | 'top' | 'bottom' | 'left' | 'right' | 'topleft' | 'topright' | 'bottomleft' | 'bottomright';
|
|
648
656
|
/**
|
|
649
657
|
* Dialog declarativo. Substitui o `p-dialog` do PrimeNG.
|
|
650
658
|
*
|
|
@@ -663,6 +671,15 @@ declare class SmzDialogComponent implements OnDestroy {
|
|
|
663
671
|
readonly style: _angular_core.InputSignal<Record<string, string | number>>;
|
|
664
672
|
readonly styleClass: _angular_core.InputSignal<string>;
|
|
665
673
|
readonly baseZIndex: _angular_core.InputSignal<number>;
|
|
674
|
+
/** Permite arrastar pelo cabecalho. */
|
|
675
|
+
readonly draggable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
676
|
+
/** Mostra a alca nativa de redimensionar no canto inferior direito. */
|
|
677
|
+
readonly resizable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
678
|
+
/** Mostra o botao de maximizar no cabecalho padrao (com `smzTemplate="header"` use `maximize()`). */
|
|
679
|
+
readonly maximizable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
680
|
+
readonly maximized: _angular_core.ModelSignal<boolean>;
|
|
681
|
+
/** Posicao na tela (como o `position` do `p-dialog`). */
|
|
682
|
+
readonly position: _angular_core.InputSignal<SmzDialogPosition>;
|
|
666
683
|
readonly shown: _angular_core.OutputEmitterRef<void>;
|
|
667
684
|
readonly hidden: _angular_core.OutputEmitterRef<void>;
|
|
668
685
|
private readonly panel;
|
|
@@ -673,7 +690,13 @@ declare class SmzDialogComponent implements OnDestroy {
|
|
|
673
690
|
private readonly viewContainer;
|
|
674
691
|
private readonly host;
|
|
675
692
|
private overlayRef?;
|
|
693
|
+
protected readonly dx: _angular_core.WritableSignal<number>;
|
|
694
|
+
protected readonly dy: _angular_core.WritableSignal<number>;
|
|
676
695
|
constructor();
|
|
696
|
+
/** Alterna entre maximizado e normal. */
|
|
697
|
+
maximize(): void;
|
|
698
|
+
protected startDrag(event: PointerEvent): void;
|
|
699
|
+
private strategyFor;
|
|
677
700
|
close(): void;
|
|
678
701
|
ngOnDestroy(): void;
|
|
679
702
|
private open;
|
|
@@ -681,7 +704,7 @@ declare class SmzDialogComponent implements OnDestroy {
|
|
|
681
704
|
/** O `data-testid` posto no hospedeiro vai para o painel renderizado no overlay (usado nos testes e2e). */
|
|
682
705
|
private forwardTestId;
|
|
683
706
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SmzDialogComponent, never>;
|
|
684
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SmzDialogComponent, "ui-dialog", never, { "visible": { "alias": "visible"; "required": false; "isSignal": true; }; "header": { "alias": "header"; "required": false; "isSignal": true; }; "modal": { "alias": "modal"; "required": false; "isSignal": true; }; "closable": { "alias": "closable"; "required": false; "isSignal": true; }; "dismissableMask": { "alias": "dismissableMask"; "required": false; "isSignal": true; }; "closeOnEscape": { "alias": "closeOnEscape"; "required": false; "isSignal": true; }; "style": { "alias": "style"; "required": false; "isSignal": true; }; "styleClass": { "alias": "styleClass"; "required": false; "isSignal": true; }; "baseZIndex": { "alias": "baseZIndex"; "required": false; "isSignal": true; }; }, { "visible": "visibleChange"; "shown": "shown"; "hidden": "hidden"; }, ["templates"], ["*"], true, never>;
|
|
707
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SmzDialogComponent, "ui-dialog", never, { "visible": { "alias": "visible"; "required": false; "isSignal": true; }; "header": { "alias": "header"; "required": false; "isSignal": true; }; "modal": { "alias": "modal"; "required": false; "isSignal": true; }; "closable": { "alias": "closable"; "required": false; "isSignal": true; }; "dismissableMask": { "alias": "dismissableMask"; "required": false; "isSignal": true; }; "closeOnEscape": { "alias": "closeOnEscape"; "required": false; "isSignal": true; }; "style": { "alias": "style"; "required": false; "isSignal": true; }; "styleClass": { "alias": "styleClass"; "required": false; "isSignal": true; }; "baseZIndex": { "alias": "baseZIndex"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "resizable": { "alias": "resizable"; "required": false; "isSignal": true; }; "maximizable": { "alias": "maximizable"; "required": false; "isSignal": true; }; "maximized": { "alias": "maximized"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; }, { "visible": "visibleChange"; "maximized": "maximizedChange"; "shown": "shown"; "hidden": "hidden"; }, ["templates"], ["*"], true, never>;
|
|
685
708
|
}
|
|
686
709
|
|
|
687
710
|
/** Elemento real ou ancora virtual que apenas informa o retangulo. */
|
|
@@ -1108,6 +1131,8 @@ declare class SmzSelectButtonComponent extends SmzValueAccessor<any> {
|
|
|
1108
1131
|
/** Aceito por compatibilidade com o `p-selectbutton`; sem efeito. */
|
|
1109
1132
|
readonly appendTo: _angular_core.InputSignal<unknown>;
|
|
1110
1133
|
readonly changed: _angular_core.OutputEmitterRef<SmzSelectButtonChangeEvent>;
|
|
1134
|
+
/** Sem `optionLabel`/`optionValue`, opcoes-objeto com `label`/`value` sao lidas automaticamente (como no PrimeNG). */
|
|
1135
|
+
private readonly sample;
|
|
1111
1136
|
protected readonly config: _angular_core.Signal<SmzOptionConfig>;
|
|
1112
1137
|
protected labelOf(option: any): string;
|
|
1113
1138
|
protected iconOf(option: any): string | null;
|
|
@@ -1578,6 +1603,8 @@ declare class SmzInputMaskComponent extends SmzValueAccessor<string> {
|
|
|
1578
1603
|
readonly placeholder: _angular_core.InputSignal<string>;
|
|
1579
1604
|
readonly readonly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1580
1605
|
readonly inputId: _angular_core.InputSignal<string>;
|
|
1606
|
+
/** Tipo do `<input>` nativo (`text`, `tel`, `password`...). */
|
|
1607
|
+
readonly type: _angular_core.InputSignal<string>;
|
|
1581
1608
|
readonly inputed: _angular_core.OutputEmitterRef<Event>;
|
|
1582
1609
|
readonly blurred: _angular_core.OutputEmitterRef<Event>;
|
|
1583
1610
|
readonly completed: _angular_core.OutputEmitterRef<void>;
|
|
@@ -1597,7 +1624,7 @@ declare class SmzInputMaskComponent extends SmzValueAccessor<string> {
|
|
|
1597
1624
|
private apply;
|
|
1598
1625
|
private moveCaret;
|
|
1599
1626
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SmzInputMaskComponent, never>;
|
|
1600
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SmzInputMaskComponent, "ui-input-mask", never, { "mask": { "alias": "mask"; "required": false; "isSignal": true; }; "slotChar": { "alias": "slotChar"; "required": false; "isSignal": true; }; "characterPattern": { "alias": "characterPattern"; "required": false; "isSignal": true; }; "unmask": { "alias": "unmask"; "required": false; "isSignal": true; }; "autoClear": { "alias": "autoClear"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; }, { "inputed": "inputed"; "blurred": "blurred"; "completed": "completed"; }, never, never, true, never>;
|
|
1627
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SmzInputMaskComponent, "ui-input-mask", never, { "mask": { "alias": "mask"; "required": false; "isSignal": true; }; "slotChar": { "alias": "slotChar"; "required": false; "isSignal": true; }; "characterPattern": { "alias": "characterPattern"; "required": false; "isSignal": true; }; "unmask": { "alias": "unmask"; "required": false; "isSignal": true; }; "autoClear": { "alias": "autoClear"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; }, { "inputed": "inputed"; "blurred": "blurred"; "completed": "completed"; }, never, never, true, never>;
|
|
1601
1628
|
}
|
|
1602
1629
|
|
|
1603
1630
|
/**
|
|
@@ -1637,10 +1664,15 @@ declare class SmzColorPickerComponent extends SmzValueAccessor<string> {
|
|
|
1637
1664
|
readonly inputId: _angular_core.InputSignal<string>;
|
|
1638
1665
|
/** Aceito por compatibilidade com o `p-colorpicker`; sem efeito. */
|
|
1639
1666
|
readonly appendTo: _angular_core.InputSignal<unknown>;
|
|
1667
|
+
/** Emitido quando o usuario escolhe uma cor (equivale ao `onChange` do `p-colorpicker`). */
|
|
1668
|
+
readonly changed: _angular_core.OutputEmitterRef<{
|
|
1669
|
+
originalEvent: Event;
|
|
1670
|
+
value: string;
|
|
1671
|
+
}>;
|
|
1640
1672
|
protected readonly hex: _angular_core.Signal<string>;
|
|
1641
1673
|
protected onInput(event: Event): void;
|
|
1642
1674
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SmzColorPickerComponent, never>;
|
|
1643
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SmzColorPickerComponent, "ui-color-picker", never, { "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "appendTo": { "alias": "appendTo"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1675
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SmzColorPickerComponent, "ui-color-picker", never, { "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "appendTo": { "alias": "appendTo"; "required": false; "isSignal": true; }; }, { "changed": "changed"; }, never, never, true, never>;
|
|
1644
1676
|
}
|
|
1645
1677
|
|
|
1646
1678
|
/** Item simples de selecao (`label` + `value`). Substitui o `SelectItem` do PrimeNG. */
|
|
@@ -1718,10 +1750,20 @@ type SmzAccordionValue = string | number;
|
|
|
1718
1750
|
declare class SmzAccordionComponent {
|
|
1719
1751
|
readonly value: _angular_core.ModelSignal<SmzAccordionValue | SmzAccordionValue[]>;
|
|
1720
1752
|
readonly multiple: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1753
|
+
/** Um painel foi aberto (equivale ao `onOpen` do `p-accordion`). */
|
|
1754
|
+
readonly opened: _angular_core.OutputEmitterRef<{
|
|
1755
|
+
value: SmzAccordionValue;
|
|
1756
|
+
}>;
|
|
1757
|
+
/** Um painel foi fechado (equivale ao `onClose`). */
|
|
1758
|
+
readonly closed: _angular_core.OutputEmitterRef<{
|
|
1759
|
+
value: SmzAccordionValue;
|
|
1760
|
+
}>;
|
|
1761
|
+
/** Aceito por compatibilidade com o `p-accordion`; sem efeito. */
|
|
1762
|
+
readonly transitionOptions: _angular_core.InputSignal<string>;
|
|
1721
1763
|
isOpen(value: SmzAccordionValue): boolean;
|
|
1722
1764
|
toggle(value: SmzAccordionValue): void;
|
|
1723
1765
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SmzAccordionComponent, never>;
|
|
1724
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SmzAccordionComponent, "ui-accordion", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, ["*"], true, never>;
|
|
1766
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SmzAccordionComponent, "ui-accordion", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "transitionOptions": { "alias": "transitionOptions"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "opened": "opened"; "closed": "closed"; }, never, ["*"], true, never>;
|
|
1725
1767
|
}
|
|
1726
1768
|
declare class SmzAccordionPanelComponent {
|
|
1727
1769
|
readonly value: _angular_core.InputSignal<SmzAccordionValue>;
|
|
@@ -2285,6 +2327,14 @@ declare class SmzTreeTableComponent {
|
|
|
2285
2327
|
readonly rowsPerPageOptions: _angular_core.InputSignal<number[]>;
|
|
2286
2328
|
readonly sortField: _angular_core.ModelSignal<string>;
|
|
2287
2329
|
readonly sortOrder: _angular_core.ModelSignal<1 | -1>;
|
|
2330
|
+
/** Destaca a linha sob o cursor (padrao: ligado). */
|
|
2331
|
+
readonly rowHover: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
2332
|
+
readonly showCurrentPageReport: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
2333
|
+
readonly currentPageReportTemplate: _angular_core.InputSignal<string>;
|
|
2334
|
+
/** Campos (de `node.data`) consultados pelo filtro global. */
|
|
2335
|
+
readonly globalFilterFields: _angular_core.InputSignal<string[]>;
|
|
2336
|
+
/** `lenient`: um no que casa mantem toda a sua subarvore; `strict`: so os nos que casam (e seus ancestrais). */
|
|
2337
|
+
readonly filterMode: _angular_core.InputSignal<"lenient" | "strict">;
|
|
2288
2338
|
readonly nodeSelect: _angular_core.OutputEmitterRef<SmzTreeTableNodeEvent>;
|
|
2289
2339
|
readonly nodeUnselect: _angular_core.OutputEmitterRef<SmzTreeTableNodeEvent>;
|
|
2290
2340
|
readonly nodeExpand: _angular_core.OutputEmitterRef<SmzTreeTableNodeEvent>;
|
|
@@ -2303,10 +2353,23 @@ declare class SmzTreeTableComponent {
|
|
|
2303
2353
|
protected readonly summaryTemplate: _angular_core.Signal<_angular_core.TemplateRef<unknown>>;
|
|
2304
2354
|
/** Os nos sao mutaveis (`expanded`, `partialSelected`); este contador forca o recalculo das linhas. */
|
|
2305
2355
|
private readonly version;
|
|
2356
|
+
private readonly filterService;
|
|
2357
|
+
private readonly globalFilter;
|
|
2358
|
+
private readonly columnFilters;
|
|
2359
|
+
/** Nos raiz que passam nos filtros (global e por coluna), ou `null` quando nao ha filtro ativo. */
|
|
2360
|
+
get filteredNodes(): SmzUiTreeNode[] | null;
|
|
2361
|
+
/** Visibilidade calculada dos filtros: quais nos aparecem e quais ancestrais expandir. */
|
|
2362
|
+
private readonly visibility;
|
|
2306
2363
|
protected readonly rootCount: _angular_core.Signal<number>;
|
|
2307
2364
|
protected readonly flatRows: _angular_core.Signal<SmzTreeTableRowNode<any>[]>;
|
|
2308
2365
|
/** Linhas visiveis; com paginador, a pagina atual e calculada sobre os nos raiz. */
|
|
2309
2366
|
protected readonly pageRows: _angular_core.Signal<SmzTreeTableRowNode<any>[]>;
|
|
2367
|
+
/** Filtro global (equivale a `filterGlobal` do `p-treeTable`). */
|
|
2368
|
+
filterGlobal(value: string | null, matchMode?: string): void;
|
|
2369
|
+
/** Filtro de uma coluna (campo de `node.data`). Valor vazio remove o filtro. */
|
|
2370
|
+
filter(value: any, field: string, matchMode?: string): void;
|
|
2371
|
+
/** Limpa filtros, ordenacao e volta para a primeira pagina (equivale a `clear()` do `p-treeTable`). */
|
|
2372
|
+
clear(): void;
|
|
2310
2373
|
refresh(): void;
|
|
2311
2374
|
toggleNode(rowNode: SmzTreeTableRowNode, event?: Event): void;
|
|
2312
2375
|
sortBy(field: string): void;
|
|
@@ -2320,7 +2383,7 @@ declare class SmzTreeTableComponent {
|
|
|
2320
2383
|
private countNodes;
|
|
2321
2384
|
private findParent;
|
|
2322
2385
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SmzTreeTableComponent, never>;
|
|
2323
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SmzTreeTableComponent, "ui-tree-table", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "selection": { "alias": "selection"; "required": false; "isSignal": true; }; "propagateSelectionUp": { "alias": "propagateSelectionUp"; "required": false; "isSignal": true; }; "propagateSelectionDown": { "alias": "propagateSelectionDown"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "scrollable": { "alias": "scrollable"; "required": false; "isSignal": true; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; "isSignal": true; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; "isSignal": true; }; "tableStyleClass": { "alias": "tableStyleClass"; "required": false; "isSignal": true; }; "paginator": { "alias": "paginator"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "first": { "alias": "first"; "required": false; "isSignal": true; }; "rowsPerPageOptions": { "alias": "rowsPerPageOptions"; "required": false; "isSignal": true; }; "sortField": { "alias": "sortField"; "required": false; "isSignal": true; }; "sortOrder": { "alias": "sortOrder"; "required": false; "isSignal": true; }; }, { "selection": "selectionChange"; "rows": "rowsChange"; "first": "firstChange"; "sortField": "sortFieldChange"; "sortOrder": "sortOrderChange"; "nodeSelect": "nodeSelect"; "nodeUnselect": "nodeUnselect"; "nodeExpand": "nodeExpand"; "nodeCollapse": "nodeCollapse"; "sorted": "sorted"; "page": "page"; }, ["templates"], never, true, never>;
|
|
2386
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SmzTreeTableComponent, "ui-tree-table", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "selection": { "alias": "selection"; "required": false; "isSignal": true; }; "propagateSelectionUp": { "alias": "propagateSelectionUp"; "required": false; "isSignal": true; }; "propagateSelectionDown": { "alias": "propagateSelectionDown"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "scrollable": { "alias": "scrollable"; "required": false; "isSignal": true; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; "isSignal": true; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; "isSignal": true; }; "tableStyleClass": { "alias": "tableStyleClass"; "required": false; "isSignal": true; }; "paginator": { "alias": "paginator"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "first": { "alias": "first"; "required": false; "isSignal": true; }; "rowsPerPageOptions": { "alias": "rowsPerPageOptions"; "required": false; "isSignal": true; }; "sortField": { "alias": "sortField"; "required": false; "isSignal": true; }; "sortOrder": { "alias": "sortOrder"; "required": false; "isSignal": true; }; "rowHover": { "alias": "rowHover"; "required": false; "isSignal": true; }; "showCurrentPageReport": { "alias": "showCurrentPageReport"; "required": false; "isSignal": true; }; "currentPageReportTemplate": { "alias": "currentPageReportTemplate"; "required": false; "isSignal": true; }; "globalFilterFields": { "alias": "globalFilterFields"; "required": false; "isSignal": true; }; "filterMode": { "alias": "filterMode"; "required": false; "isSignal": true; }; }, { "selection": "selectionChange"; "rows": "rowsChange"; "first": "firstChange"; "sortField": "sortFieldChange"; "sortOrder": "sortOrderChange"; "nodeSelect": "nodeSelect"; "nodeUnselect": "nodeUnselect"; "nodeExpand": "nodeExpand"; "nodeCollapse": "nodeCollapse"; "sorted": "sorted"; "page": "page"; }, ["templates"], never, true, never>;
|
|
2324
2387
|
}
|
|
2325
2388
|
/** Linha do corpo: `<tr [smzTtRow]="rowNode">`. Cuida de estilo, aria e selecao por clique. */
|
|
2326
2389
|
declare class SmzTreeTableRowDirective {
|
|
@@ -2380,8 +2443,8 @@ interface SmzConfirmation {
|
|
|
2380
2443
|
/** Esconde o botao de aceitar/rejeitar. */
|
|
2381
2444
|
acceptVisible?: boolean;
|
|
2382
2445
|
rejectVisible?: boolean;
|
|
2383
|
-
/**
|
|
2384
|
-
acceptSeverity?: 'primary' | 'danger';
|
|
2446
|
+
/** Severidade do botao de aceitar (ex.: `danger` destrutivo, `success` aprovar). */
|
|
2447
|
+
acceptSeverity?: 'primary' | 'secondary' | 'danger' | 'success' | 'warning';
|
|
2385
2448
|
accept?: () => void;
|
|
2386
2449
|
reject?: () => void;
|
|
2387
2450
|
width?: string;
|
|
@@ -2435,7 +2498,7 @@ declare class SmzFileUploadComponent {
|
|
|
2435
2498
|
file: File;
|
|
2436
2499
|
}>;
|
|
2437
2500
|
readonly rejected: _angular_core.OutputEmitterRef<SmzFileErrorEvent>;
|
|
2438
|
-
|
|
2501
|
+
readonly files: _angular_core.WritableSignal<File[]>;
|
|
2439
2502
|
protected readonly dragging: _angular_core.WritableSignal<boolean>;
|
|
2440
2503
|
private readonly fileInput;
|
|
2441
2504
|
/** Limpa a lista (equivale a `clear()` do `p-fileupload`). */
|
|
@@ -2452,4 +2515,4 @@ declare class SmzFileUploadComponent {
|
|
|
2452
2515
|
}
|
|
2453
2516
|
|
|
2454
2517
|
export { SMZ_DIALOG_CONTENT, SMZ_SOFT_TONE, SMZ_SOLID_TONE, SMZ_TREE_TABLE, SmzAccordionComponent, SmzAccordionContentComponent, SmzAccordionHeaderComponent, SmzAccordionPanelComponent, SmzAnchoredPanel, SmzAutoCompleteComponent, SmzAutoFocusDirective, SmzBadgeComponent, SmzBadgeDirective, SmzBlockUiComponent, SmzButtonComponent, SmzCardComponent, SmzCheckboxComponent, SmzColorPickerComponent, SmzConfirmContentComponent, SmzConfirmationService, SmzConnectedOverlayScrollHandler, SmzDataViewComponent, SmzDatePickerComponent, SmzDialogComponent, SmzDialogConfig, SmzDialogFrameComponent, SmzDialogRef, SmzDialogService, SmzDividerComponent, SmzDomHandler, SmzDrawerComponent, SmzFileUploadComponent, SmzFilterMatchMode, SmzFilterOperator, SmzFilterService, SmzFloatLabelComponent, SmzIconComponent, SmzIconFieldComponent, SmzInputGroupAddonComponent, SmzInputGroupComponent, SmzInputIconComponent, SmzInputMaskComponent, SmzInputNumberComponent, SmzInputTextDirective, SmzListboxComponent, SmzLocaleService, SmzMenuListComponent, SmzMessageComponent, SmzMessageService, SmzMultiSelectComponent, SmzObjectUtils, SmzPaginatorComponent, SmzPanelComponent, SmzPasswordComponent, SmzPickListComponent, SmzPopoverComponent, SmzProgressBarComponent, SmzProgressSpinnerComponent, SmzRadioButtonComponent, SmzRippleDirective, SmzSelectButtonComponent, SmzSelectComponent, SmzSkeletonComponent, SmzSplitterComponent, SmzSplitterPanelComponent, SmzStyleClassDirective, SmzTabComponent, SmzTabListComponent, SmzTabPanelComponent, SmzTabPanelsComponent, SmzTabsComponent, SmzTagComponent, SmzTemplateDirective, SmzTextareaDirective, SmzThemeService, SmzToastContainerComponent, SmzToggleSwitchComponent, SmzToolbarComponent, SmzTooltipComponent, SmzTooltipDirective, SmzTranslationKeys, SmzTreeSelectComponent, SmzTreeTableCheckboxComponent, SmzTreeTableComponent, SmzTreeTableHeaderCheckboxComponent, SmzTreeTableRowDirective, SmzTreeTableSortIconComponent, SmzTreeTableSortableColumnDirective, SmzTreeTableTogglerComponent, SmzUiTimelineComponent, SmzUiTreeComponent, SmzValueAccessor, SmzZIndex, filterOptions, optionDisabled, optionLabel, optionValue, sameValue, smzCalendarStart, smzCx, smzFindTemplate, smzFormatDate, smzMergeClasses, smzNormalizeSeverity, smzNormalizeStyleClass, smzParseButtonStyleClass, smzParseDate, smzSameDay, smzStartOfDay, smzStaticHostClass, smzTwoDigits, smzUniqueId, smzVariants };
|
|
2455
|
-
export type { SmzAccordionValue, SmzAnchoredPanelOptions, SmzAutoCompleteCompleteEvent, SmzAutoCompleteSelectEvent, SmzBlockTarget, SmzBlockableUi, SmzButtonIconPosition, SmzButtonLegacySeverity, SmzButtonSeverity, SmzButtonSize, SmzButtonVariant, SmzClassValue, SmzConfirmation, SmzDataViewLayout, SmzDatePickerValue, SmzDateSelectionMode, SmzDividerLayout, SmzDrawerPosition, SmzFileErrorEvent, SmzFileSelectEvent, SmzFilterFunction, SmzFilterMatchModeValue, SmzFilterMetadata, SmzFilterMode, SmzFilterOperatorValue, SmzFloatLabelVariant, SmzInputNumberInputEvent, SmzInputSize, SmzLegacySeverity, SmzListboxChangeEvent, SmzListboxClickEvent, SmzMessageSeverity, SmzMultiSelectChangeEvent, SmzOptionConfig, SmzPageEvent, SmzPalette, SmzPickListMoveEvent, SmzPopoverTarget, SmzProgressBarMode, SmzSelectButtonChangeEvent, SmzSelectChangeEvent, SmzSelectItem, SmzSeverity, SmzSkeletonShape, SmzSortMeta, SmzStyleClass, SmzTabValue, SmzTimelineAlign, SmzToastMessage, SmzToastPosition, SmzTooltipEvent, SmzTooltipOptions, SmzTooltipPosition, SmzTranslation, SmzTreeDropEvent, SmzTreeNodeEvent, SmzTreeSelectionMode, SmzTreeTableNodeEvent, SmzTreeTableRowNode, SmzTreeTableSelectionMode, SmzUiMenuItem, SmzUiMenuItemCommandEvent, SmzUiTreeNode, SmzVariantProps, SmzVariantsConfig };
|
|
2518
|
+
export type { SmzAccordionValue, SmzAnchoredPanelOptions, SmzAutoCompleteCompleteEvent, SmzAutoCompleteSelectEvent, SmzBlockTarget, SmzBlockableUi, SmzButtonIconPosition, SmzButtonLegacySeverity, SmzButtonSeverity, SmzButtonSize, SmzButtonVariant, SmzClassValue, SmzConfirmation, SmzDataViewLayout, SmzDatePickerValue, SmzDateSelectionMode, SmzDialogPosition, SmzDividerLayout, SmzDrawerPosition, SmzFileErrorEvent, SmzFileSelectEvent, SmzFilterFunction, SmzFilterMatchModeValue, SmzFilterMetadata, SmzFilterMode, SmzFilterOperatorValue, SmzFloatLabelVariant, SmzInputNumberInputEvent, SmzInputSize, SmzLegacySeverity, SmzListboxChangeEvent, SmzListboxClickEvent, SmzMessageSeverity, SmzMultiSelectChangeEvent, SmzOptionConfig, SmzPageEvent, SmzPalette, SmzPickListMoveEvent, SmzPopoverTarget, SmzProgressBarMode, SmzSelectButtonChangeEvent, SmzSelectChangeEvent, SmzSelectItem, SmzSeverity, SmzSkeletonShape, SmzSortMeta, SmzStyleClass, SmzTabValue, SmzTimelineAlign, SmzToastMessage, SmzToastPosition, SmzTooltipEvent, SmzTooltipOptions, SmzTooltipPosition, SmzTranslation, SmzTreeDropEvent, SmzTreeNodeEvent, SmzTreeSelectionMode, SmzTreeTableNodeEvent, SmzTreeTableRowNode, SmzTreeTableSelectionMode, SmzUiMenuItem, SmzUiMenuItemCommandEvent, SmzUiTreeNode, SmzVariantProps, SmzVariantsConfig };
|