@praxisui/dynamic-fields 1.0.0-beta.4 → 1.0.0-beta.40
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/README.md +142 -0
- package/fesm2022/praxisui-dynamic-fields.mjs +29886 -3217
- package/fesm2022/praxisui-dynamic-fields.mjs.map +1 -1
- package/index.d.ts +2516 -236
- package/package.json +8 -8
package/index.d.ts
CHANGED
|
@@ -1,19 +1,24 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { WritableSignal, OnInit, OnDestroy, AfterViewInit, DestroyRef, ElementRef, ChangeDetectorRef, OnChanges, TemplateRef, EventEmitter, ComponentRef, SimpleChanges,
|
|
2
|
+
import { WritableSignal, OnInit, OnDestroy, AfterViewInit, DestroyRef, ElementRef, ChangeDetectorRef, OnChanges, TemplateRef, EventEmitter, ComponentRef, SimpleChanges, Provider, Type, EnvironmentProviders, InjectionToken, Injector } from '@angular/core';
|
|
3
3
|
import { AbstractControl, ControlValueAccessor, NgControl, ValidationErrors, FormControl, FormGroup, FormGroupDirective, NgForm } from '@angular/forms';
|
|
4
4
|
import { Observable, BehaviorSubject } from 'rxjs';
|
|
5
|
-
import { ComponentMetadata, GenericCrudService, GlobalConfigService, OptionDTO, FieldMetadata, MaterialButtonMetadata, MaterialInputMetadata, MaterialColorInputMetadata, MaterialDateInputMetadata, MaterialDatepickerMetadata, MaterialDateRangeMetadata, MaterialDatetimeLocalInputMetadata, MaterialEmailInputMetadata, MaterialTextareaMetadata, MaterialNumericMetadata, MaterialCurrencyMetadata, MaterialCpfCnpjMetadata, MaterialPriceRangeMetadata, MaterialMonthInputMetadata, MaterialPasswordMetadata, MaterialSearchInputMetadata,
|
|
5
|
+
import { ComponentMetadata, GenericCrudService, GlobalConfigService, OptionDTO, FieldMetadata, MaterialButtonMetadata, MaterialInputMetadata, MaterialColorInputMetadata, MaterialDateInputMetadata, MaterialDatepickerMetadata, MaterialDateRangeMetadata, DateRangePreset, MaterialDatetimeLocalInputMetadata, MaterialEmailInputMetadata, MaterialTextareaMetadata, MaterialNumericMetadata, MaterialCurrencyMetadata, MaterialCpfCnpjMetadata, MaterialPriceRangeMetadata, MaterialMonthInputMetadata, MaterialPasswordMetadata, MaterialSearchInputMetadata, MaterialSelectMetadata, MaterialAutocompleteMetadata, MaterialToggleMetadata, MaterialRangeSliderMetadata, MaterialTimepickerMetadata, MaterialTimeRangeMetadata, MaterialTreeNode, MaterialTreeSelectMetadata, MaterialMultiSelectTreeMetadata, MaterialSliderMetadata, MaterialPhoneMetadata, MaterialTimeInputMetadata, MaterialUrlInputMetadata, MaterialWeekInputMetadata, MaterialColorPickerMetadata, MaterialYearInputMetadata, ComponentDocMeta, FieldControlType, CapabilityCatalog } from '@praxisui/core';
|
|
6
6
|
import { Router } from '@angular/router';
|
|
7
7
|
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
8
8
|
import { MatSelect } from '@angular/material/select';
|
|
9
9
|
import * as _angular_material_error_options_d_CGdTZUYk from '@angular/material/error-options.d-CGdTZUYk';
|
|
10
|
-
import { MatDatepickerInputEvent } from '@angular/material/datepicker';
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
10
|
+
import { MatDatepickerInputEvent, MatDatepicker, MatDateRangePicker } from '@angular/material/datepicker';
|
|
11
|
+
import { ConnectedPosition } from '@angular/cdk/overlay';
|
|
12
|
+
import { MatAutocompleteTrigger } from '@angular/material/autocomplete';
|
|
13
|
+
import { MatMenuTrigger } from '@angular/material/menu';
|
|
13
14
|
import { NestedTreeControl } from '@angular/cdk/tree';
|
|
14
15
|
import { MatTreeNestedDataSource } from '@angular/material/tree';
|
|
16
|
+
import { MatOptionSelectionChange, ErrorStateMatcher } from '@angular/material/core';
|
|
17
|
+
import { SelectionModel } from '@angular/cdk/collections';
|
|
15
18
|
import { MatChipInputEvent } from '@angular/material/chips';
|
|
16
19
|
import { MatButtonToggleChange } from '@angular/material/button-toggle';
|
|
20
|
+
import { NgStyle } from '@angular/common';
|
|
21
|
+
import { SafeHtml } from '@angular/platform-browser';
|
|
17
22
|
import { MatSelectionListChange, MatSelectionList } from '@angular/material/list';
|
|
18
23
|
import { MatBottomSheet } from '@angular/material/bottom-sheet';
|
|
19
24
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
@@ -269,6 +274,10 @@ declare abstract class SimpleBaseInputComponent implements ControlValueAccessor,
|
|
|
269
274
|
placeholder?: string;
|
|
270
275
|
/** Indica se o placeholder deve ser exibido */
|
|
271
276
|
get shouldShowPlaceholder(): boolean;
|
|
277
|
+
/** Whether to show the clear button (if enabled in metadata) */
|
|
278
|
+
showClear(): boolean;
|
|
279
|
+
/** Clears the current value and marks the control touched/dirty */
|
|
280
|
+
onClearClick(): void;
|
|
272
281
|
readonly internalControl: FormControl<any>;
|
|
273
282
|
/** FormControl signal para interface BaseDynamicFieldComponent */
|
|
274
283
|
readonly formControl: _angular_core.WritableSignal<FormControl<any> | null>;
|
|
@@ -302,6 +311,19 @@ declare abstract class SimpleBaseInputComponent implements ControlValueAccessor,
|
|
|
302
311
|
readonly tooltipEnabled: _angular_core.Signal<boolean>;
|
|
303
312
|
/** Posição do tooltip mapeada para Angular Material */
|
|
304
313
|
readonly tooltipPosition: _angular_core.Signal<"above" | "below">;
|
|
314
|
+
/**
|
|
315
|
+
* Tooltip usado pelos campos inline:
|
|
316
|
+
* 1) prioriza erro quando validators.errorPosition = tooltip
|
|
317
|
+
* 2) fallback para contexto "Campo: valor" quando houver valor preenchido
|
|
318
|
+
*/
|
|
319
|
+
inlineTooltipText(): string;
|
|
320
|
+
inlineTooltipDisabled(): boolean;
|
|
321
|
+
protected isInlineContextTooltipEnabled(): boolean;
|
|
322
|
+
protected resolveInlineContextTooltipValue(): string;
|
|
323
|
+
protected resolveInlineContextTooltipLabel(): string;
|
|
324
|
+
protected stringifyInlineContextValue(value: unknown): string;
|
|
325
|
+
private truncateInlineTooltipText;
|
|
326
|
+
private humanizeInlineFieldName;
|
|
305
327
|
/** Gate to control when inline errors may display (debounced for 'change') */
|
|
306
328
|
private readonly errorDisplayReady;
|
|
307
329
|
private errorDebounceHandle;
|
|
@@ -340,6 +362,53 @@ declare abstract class SimpleBaseInputComponent implements ControlValueAccessor,
|
|
|
340
362
|
* Quando a cor for paleta, retorna null para não conflitar com [color].
|
|
341
363
|
*/
|
|
342
364
|
iconCustomColor(c?: string): string | null;
|
|
365
|
+
/**
|
|
366
|
+
* Resolve cor final para ícones:
|
|
367
|
+
* - paletas Material (primary/accent/warn) -> tokens CSS M3
|
|
368
|
+
* - cores CSS customizadas -> valor normalizado
|
|
369
|
+
* - vazio -> fallback opcional
|
|
370
|
+
*/
|
|
371
|
+
iconResolvedColor(c?: string, fallback?: string | null): string | null;
|
|
372
|
+
/**
|
|
373
|
+
* Normaliza nomes de ícone aceitando alias `mi:*` e fallback opcional.
|
|
374
|
+
*/
|
|
375
|
+
normalizeIconName(icon: unknown, fallback?: string): string;
|
|
376
|
+
/**
|
|
377
|
+
* Ícone de prefixo configurável por metadata (`prefixIcon`), com fallback.
|
|
378
|
+
*/
|
|
379
|
+
prefixIconName(fallback?: string): string;
|
|
380
|
+
/**
|
|
381
|
+
* Cor do ícone de prefixo (`prefixIconColor`).
|
|
382
|
+
*/
|
|
383
|
+
prefixIconColor(): string | undefined;
|
|
384
|
+
/**
|
|
385
|
+
* Ícone de sufixo configurável por metadata (`suffixIcon`).
|
|
386
|
+
*/
|
|
387
|
+
suffixIconName(fallback?: string): string;
|
|
388
|
+
/**
|
|
389
|
+
* Cor do ícone de sufixo (`suffixIconColor`).
|
|
390
|
+
*/
|
|
391
|
+
suffixIconColor(): string | undefined;
|
|
392
|
+
/**
|
|
393
|
+
* Ícone do botão clear configurável por metadata (`clearButton.icon`).
|
|
394
|
+
*/
|
|
395
|
+
clearIconName(fallback?: string): string;
|
|
396
|
+
/**
|
|
397
|
+
* Cor do ícone do botão clear (`clearButton.iconColor`).
|
|
398
|
+
*/
|
|
399
|
+
clearIconColor(): string | undefined;
|
|
400
|
+
/**
|
|
401
|
+
* Resolve um valor do metadata usando caminho com ponto (`foo.bar.baz`).
|
|
402
|
+
*/
|
|
403
|
+
metadataValue(path: string): unknown;
|
|
404
|
+
/**
|
|
405
|
+
* Resolve nome de ícone a partir de uma lista de caminhos de metadata.
|
|
406
|
+
*/
|
|
407
|
+
metadataIconName(paths: string | string[], fallback?: string): string;
|
|
408
|
+
/**
|
|
409
|
+
* Resolve cor de ícone a partir de uma lista de caminhos de metadata.
|
|
410
|
+
*/
|
|
411
|
+
metadataIconColor(paths: string | string[]): string | undefined;
|
|
343
412
|
/**
|
|
344
413
|
* Define o valor do campo (implementação da interface BaseDynamicFieldComponent)
|
|
345
414
|
*/
|
|
@@ -669,10 +738,75 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
|
|
|
669
738
|
protected setMetadata(metadata: ComponentMetadata): void;
|
|
670
739
|
protected registerMatSelect(select: MatSelect): void;
|
|
671
740
|
protected applySelectAttributes(): void;
|
|
741
|
+
protected isReadonlyEffective(): boolean;
|
|
672
742
|
/** Whether to show the clear button (if enabled in metadata) */
|
|
673
743
|
showClear(): boolean;
|
|
674
744
|
/** Clears the selection according to single/multiple mode */
|
|
675
745
|
onClearClick(): void;
|
|
746
|
+
/**
|
|
747
|
+
* Ícone principal opcional para chips inline de componentes select-like.
|
|
748
|
+
*/
|
|
749
|
+
chipLeadingIcon(): string;
|
|
750
|
+
/**
|
|
751
|
+
* Cor opcional do ícone principal (`prefixIconColor`).
|
|
752
|
+
*/
|
|
753
|
+
chipLeadingIconColor(): string | undefined;
|
|
754
|
+
/**
|
|
755
|
+
* Ícone secundário opcional para chips inline (`suffixIcon`).
|
|
756
|
+
*/
|
|
757
|
+
chipTrailingIcon(): string;
|
|
758
|
+
/**
|
|
759
|
+
* Cor opcional do ícone secundário (`suffixIconColor`).
|
|
760
|
+
*/
|
|
761
|
+
chipTrailingIconColor(): string | undefined;
|
|
762
|
+
/**
|
|
763
|
+
* Ícone de busca do painel (campo search dentro do overlay/select panel).
|
|
764
|
+
*/
|
|
765
|
+
panelSearchIconName(fallback?: string): string;
|
|
766
|
+
/**
|
|
767
|
+
* Cor do ícone de busca do painel.
|
|
768
|
+
*/
|
|
769
|
+
panelSearchIconColor(): string | undefined;
|
|
770
|
+
/**
|
|
771
|
+
* Ícone para ação de reset/limpeza no painel.
|
|
772
|
+
*/
|
|
773
|
+
panelResetIconName(fallback?: string): string;
|
|
774
|
+
/**
|
|
775
|
+
* Cor do ícone de reset do painel.
|
|
776
|
+
*/
|
|
777
|
+
panelResetIconColor(): string | undefined;
|
|
778
|
+
/**
|
|
779
|
+
* Ícone para estado "selecionado" em opções do painel.
|
|
780
|
+
*/
|
|
781
|
+
optionSelectedIconName(fallback?: string): string;
|
|
782
|
+
/**
|
|
783
|
+
* Cor do ícone de opção selecionada.
|
|
784
|
+
*/
|
|
785
|
+
optionSelectedIconColor(): string | undefined;
|
|
786
|
+
/**
|
|
787
|
+
* Ícone para seta de expansão de árvores (aberto).
|
|
788
|
+
*/
|
|
789
|
+
treeNodeExpandedIconName(fallback?: string): string;
|
|
790
|
+
/**
|
|
791
|
+
* Ícone para seta de expansão de árvores (fechado).
|
|
792
|
+
*/
|
|
793
|
+
treeNodeCollapsedIconName(fallback?: string): string;
|
|
794
|
+
/**
|
|
795
|
+
* Cor dos ícones de expandir/recolher nós em árvore.
|
|
796
|
+
*/
|
|
797
|
+
treeNodeToggleIconColor(): string | undefined;
|
|
798
|
+
/**
|
|
799
|
+
* Ícone de toggle do painel quando aberto.
|
|
800
|
+
*/
|
|
801
|
+
panelToggleOpenIconName(fallback?: string): string;
|
|
802
|
+
/**
|
|
803
|
+
* Ícone de toggle do painel quando fechado.
|
|
804
|
+
*/
|
|
805
|
+
panelToggleClosedIconName(fallback?: string): string;
|
|
806
|
+
/**
|
|
807
|
+
* Cor dos ícones de toggle do painel.
|
|
808
|
+
*/
|
|
809
|
+
panelToggleIconColor(): string | undefined;
|
|
676
810
|
/**
|
|
677
811
|
* Updates the current search term and emits the change event.
|
|
678
812
|
*/
|
|
@@ -701,8 +835,11 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
|
|
|
701
835
|
trackByOption(index: number, option: SelectOption<T>): T;
|
|
702
836
|
/** Adds CSS class hook for select components */
|
|
703
837
|
protected getSpecificCssClasses(): string[];
|
|
838
|
+
protected resolveInlineContextTooltipValue(): string;
|
|
704
839
|
/** Configures the CRUD service with the given resource path */
|
|
705
840
|
protected configureCrudService(path: string): void;
|
|
841
|
+
private resolveSelectedOptionLabel;
|
|
842
|
+
private areSelectValuesEqual;
|
|
706
843
|
/**
|
|
707
844
|
* Loads schema metadata to infer label/value keys when not provided.
|
|
708
845
|
* After resolving the keys, options are fetched from the backend.
|
|
@@ -904,6 +1041,10 @@ declare class DynamicFieldLoaderDirective implements OnInit, OnDestroy, OnChange
|
|
|
904
1041
|
index: number;
|
|
905
1042
|
content: TemplateRef<any>;
|
|
906
1043
|
}>;
|
|
1044
|
+
/** Optional tracing toggle for diagnostics in host components */
|
|
1045
|
+
debugTrace: boolean;
|
|
1046
|
+
/** Optional label to identify the host slot in logs */
|
|
1047
|
+
debugTraceLabel: string;
|
|
907
1048
|
/**
|
|
908
1049
|
* Estados globais opcionais aplicados a todos os campos renderizados.
|
|
909
1050
|
*
|
|
@@ -950,6 +1091,13 @@ declare class DynamicFieldLoaderDirective implements OnInit, OnDestroy, OnChange
|
|
|
950
1091
|
fieldDestroyed: EventEmitter<{
|
|
951
1092
|
fieldName: string;
|
|
952
1093
|
}>;
|
|
1094
|
+
/** Evento emitido quando ocorre erro durante renderização de campo */
|
|
1095
|
+
renderError: EventEmitter<{
|
|
1096
|
+
phase: "executeRendering" | "detectChanges";
|
|
1097
|
+
fieldName: string;
|
|
1098
|
+
error: unknown;
|
|
1099
|
+
fatal: boolean;
|
|
1100
|
+
}>;
|
|
953
1101
|
/** @internal Emits when a field is hovered in canvas mode */
|
|
954
1102
|
canvasMouseEnter: EventEmitter<{
|
|
955
1103
|
field: FieldMetadata;
|
|
@@ -983,10 +1131,19 @@ declare class DynamicFieldLoaderDirective implements OnInit, OnDestroy, OnChange
|
|
|
983
1131
|
private _dbgPrevFormGroupRef;
|
|
984
1132
|
private _dbgNgChangesCount;
|
|
985
1133
|
private _dbgRenderCalls;
|
|
1134
|
+
private _dbgInstanceId;
|
|
986
1135
|
private debugEnabled;
|
|
987
1136
|
/** Tracks whether at least one successful render has completed */
|
|
988
1137
|
private hasRenderedOnce;
|
|
1138
|
+
/** Lifecycle guard to avoid rendering work after directive teardown */
|
|
1139
|
+
private isDestroyed;
|
|
1140
|
+
private isTraceEnabled;
|
|
1141
|
+
private traceLog;
|
|
989
1142
|
private dbg;
|
|
1143
|
+
private toErrorMessage;
|
|
1144
|
+
private isDestroyedLifecycleError;
|
|
1145
|
+
private reportRenderError;
|
|
1146
|
+
private createReportedFatalError;
|
|
990
1147
|
ngOnInit(): void;
|
|
991
1148
|
ngOnChanges(changes: SimpleChanges): void;
|
|
992
1149
|
ngOnDestroy(): void;
|
|
@@ -1080,7 +1237,7 @@ declare class DynamicFieldLoaderDirective implements OnInit, OnDestroy, OnChange
|
|
|
1080
1237
|
*/
|
|
1081
1238
|
private inferControlTypeFromField;
|
|
1082
1239
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DynamicFieldLoaderDirective, never>;
|
|
1083
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DynamicFieldLoaderDirective, "[dynamicFieldLoader]", never, { "fields": { "alias": "fields"; "required": true; }; "formGroup": { "alias": "formGroup"; "required": true; }; "enableExternalControlBinding": { "alias": "enableExternalControlBinding"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "canvasMode": { "alias": "canvasMode"; "required": false; }; }, { "componentsCreated": "componentsCreated"; "fieldCreated": "fieldCreated"; "fieldDestroyed": "fieldDestroyed"; "canvasMouseEnter": "canvasMouseEnter"; "canvasMouseLeave": "canvasMouseLeave"; "canvasClick": "canvasClick"; }, never, never, true, never>;
|
|
1240
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DynamicFieldLoaderDirective, "[dynamicFieldLoader]", never, { "fields": { "alias": "fields"; "required": true; }; "formGroup": { "alias": "formGroup"; "required": true; }; "enableExternalControlBinding": { "alias": "enableExternalControlBinding"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "debugTrace": { "alias": "debugTrace"; "required": false; }; "debugTraceLabel": { "alias": "debugTraceLabel"; "required": false; }; "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "canvasMode": { "alias": "canvasMode"; "required": false; }; }, { "componentsCreated": "componentsCreated"; "fieldCreated": "fieldCreated"; "fieldDestroyed": "fieldDestroyed"; "renderError": "renderError"; "canvasMouseEnter": "canvasMouseEnter"; "canvasMouseLeave": "canvasMouseLeave"; "canvasClick": "canvasClick"; }, never, never, true, never>;
|
|
1084
1241
|
}
|
|
1085
1242
|
|
|
1086
1243
|
declare class MaterialButtonComponent extends SimpleBaseButtonComponent implements OnDestroy {
|
|
@@ -1093,7 +1250,7 @@ declare class MaterialButtonComponent extends SimpleBaseButtonComponent implemen
|
|
|
1093
1250
|
rippleDisabled: boolean;
|
|
1094
1251
|
}>;
|
|
1095
1252
|
/** Variante do botão Material */
|
|
1096
|
-
readonly buttonVariant: _angular_core.Signal<"
|
|
1253
|
+
readonly buttonVariant: _angular_core.Signal<"flat" | "basic" | "icon" | "raised" | "stroked" | "fab" | "mini-fab">;
|
|
1097
1254
|
/** Deve desabilitar ripple */
|
|
1098
1255
|
readonly shouldDisableRipple: _angular_core.Signal<boolean>;
|
|
1099
1256
|
/** É botão somente ícone */
|
|
@@ -1229,6 +1386,15 @@ declare class ColorInputComponent extends SimpleBaseInputComponent {
|
|
|
1229
1386
|
private pushRecent;
|
|
1230
1387
|
private normalizeHex;
|
|
1231
1388
|
private buildPaletteColors;
|
|
1389
|
+
private defaultHex;
|
|
1390
|
+
private defaultColor;
|
|
1391
|
+
private buildThemePalette;
|
|
1392
|
+
private resolveCssColor;
|
|
1393
|
+
private toHex;
|
|
1394
|
+
private colorProbe?;
|
|
1395
|
+
private ensureColorProbe;
|
|
1396
|
+
private resolveToHex;
|
|
1397
|
+
private isBrowser;
|
|
1232
1398
|
private coerceWidth;
|
|
1233
1399
|
private loadFromStorage;
|
|
1234
1400
|
private saveToStorage;
|
|
@@ -1293,6 +1459,15 @@ declare class MaterialDatepickerComponent extends SimpleBaseInputComponent {
|
|
|
1293
1459
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialDatepickerComponent, "pdx-material-datepicker", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, { "validationChange": "validationChange"; }, never, never, true, never>;
|
|
1294
1460
|
}
|
|
1295
1461
|
|
|
1462
|
+
interface DateRangeShortcutItem {
|
|
1463
|
+
id: string;
|
|
1464
|
+
label: string;
|
|
1465
|
+
icon?: string;
|
|
1466
|
+
disabled?: boolean;
|
|
1467
|
+
description?: string;
|
|
1468
|
+
rangeDescription?: string;
|
|
1469
|
+
}
|
|
1470
|
+
|
|
1296
1471
|
/**
|
|
1297
1472
|
* Specialized component using Angular Material Date Range picker.
|
|
1298
1473
|
*
|
|
@@ -1307,6 +1482,7 @@ declare class MaterialDateRangeComponent extends SimpleBaseInputComponent implem
|
|
|
1307
1482
|
disabledMode: boolean;
|
|
1308
1483
|
visible: boolean;
|
|
1309
1484
|
presentationMode: boolean;
|
|
1485
|
+
set metadataInput(val: MaterialDateRangeMetadata);
|
|
1310
1486
|
readonly rangeGroup: FormGroup<{
|
|
1311
1487
|
start: FormControl<Date | null>;
|
|
1312
1488
|
end: FormControl<Date | null>;
|
|
@@ -1314,15 +1490,30 @@ declare class MaterialDateRangeComponent extends SimpleBaseInputComponent implem
|
|
|
1314
1490
|
readonly minDate: _angular_core.Signal<any>;
|
|
1315
1491
|
readonly maxDate: _angular_core.Signal<any>;
|
|
1316
1492
|
readonly startAt: _angular_core.Signal<any>;
|
|
1493
|
+
overlayOpen: boolean;
|
|
1494
|
+
private readonly dateAdapter;
|
|
1495
|
+
picker: any;
|
|
1496
|
+
readonly shouldShowShortcuts: () => boolean;
|
|
1497
|
+
readonly overlayPositions: () => ConnectedPosition[];
|
|
1498
|
+
readonly resolvedPresets: _angular_core.Signal<Record<string, DateRangePreset>>;
|
|
1499
|
+
readonly shortcutItems: _angular_core.Signal<DateRangeShortcutItem[]>;
|
|
1500
|
+
readonly activePresetId: () => string | null;
|
|
1317
1501
|
ngOnInit(): void;
|
|
1502
|
+
protected shouldPropagateRangeGroupChanges(): boolean;
|
|
1318
1503
|
validateField(): Promise<ValidationErrors | null>;
|
|
1319
1504
|
protected getSpecificCssClasses(): string[];
|
|
1320
1505
|
/** Applies component metadata with strong typing. */
|
|
1321
1506
|
setDateRangeMetadata(metadata: MaterialDateRangeMetadata): void;
|
|
1507
|
+
/** Standard API for manual form metadata updates */
|
|
1508
|
+
setInputMetadata(metadata: MaterialDateRangeMetadata): void;
|
|
1322
1509
|
isReadonlyEffective(): boolean;
|
|
1323
1510
|
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
1511
|
+
openShortcuts(): void;
|
|
1512
|
+
closeShortcuts(): void;
|
|
1513
|
+
onOverlayDetach(): void;
|
|
1514
|
+
onSelectPreset(id: string): void;
|
|
1324
1515
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialDateRangeComponent, never>;
|
|
1325
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialDateRangeComponent, "pdx-material-date-range", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, { "validationChange": "validationChange"; }, never, never, true, never>;
|
|
1516
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialDateRangeComponent, "pdx-material-date-range", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; "metadataInput": { "alias": "metadata"; "required": false; }; }, { "validationChange": "validationChange"; }, never, never, true, never>;
|
|
1326
1517
|
}
|
|
1327
1518
|
|
|
1328
1519
|
/**
|
|
@@ -1345,6 +1536,13 @@ declare class DatetimeLocalInputComponent extends SimpleBaseInputComponent {
|
|
|
1345
1536
|
/** Applies component metadata with strong typing. */
|
|
1346
1537
|
setInputMetadata(metadata: MaterialDatetimeLocalInputMetadata): void;
|
|
1347
1538
|
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
1539
|
+
/**
|
|
1540
|
+
* Datetime-local input is officially minute-granularity only.
|
|
1541
|
+
* Non-minute step values fallback to 60s.
|
|
1542
|
+
*/
|
|
1543
|
+
normalizedStep(): number | null;
|
|
1544
|
+
/** Custom error messages for datetime validations */
|
|
1545
|
+
readonly errorMessage: _angular_core.Signal<any>;
|
|
1348
1546
|
private datetimeBoundsValidator;
|
|
1349
1547
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DatetimeLocalInputComponent, never>;
|
|
1350
1548
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DatetimeLocalInputComponent, "pdx-datetime-local-input", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, { "validationChange": "validationChange"; }, never, never, true, never>;
|
|
@@ -1437,6 +1635,9 @@ declare class MaterialTextareaComponent extends SimpleBaseInputComponent impleme
|
|
|
1437
1635
|
declare class NumberInputComponent extends SimpleBaseInputComponent {
|
|
1438
1636
|
/** Emits whenever validation state changes. */
|
|
1439
1637
|
readonly validationChange: _angular_core.OutputEmitterRef<ValidationErrors | null>;
|
|
1638
|
+
private readonly numberPatternValidator;
|
|
1639
|
+
private minValidator;
|
|
1640
|
+
private maxValidator;
|
|
1440
1641
|
readonlyMode: boolean;
|
|
1441
1642
|
disabledMode: boolean;
|
|
1442
1643
|
visible: boolean;
|
|
@@ -1448,6 +1649,7 @@ declare class NumberInputComponent extends SimpleBaseInputComponent {
|
|
|
1448
1649
|
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
1449
1650
|
/** Applies component metadata with strong typing. */
|
|
1450
1651
|
setInputMetadata(metadata: MaterialNumericMetadata): void;
|
|
1652
|
+
private applyNumericValidators;
|
|
1451
1653
|
showClear(): boolean;
|
|
1452
1654
|
onClearClick(): void;
|
|
1453
1655
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NumberInputComponent, never>;
|
|
@@ -1464,13 +1666,18 @@ declare class MaterialCurrencyComponent extends SimpleBaseInputComponent {
|
|
|
1464
1666
|
readonly validationChange: _angular_core.OutputEmitterRef<ValidationErrors | null>;
|
|
1465
1667
|
private readonly currencyPipe;
|
|
1466
1668
|
private readonly defaultLocale;
|
|
1669
|
+
private rawDigits;
|
|
1670
|
+
private isNegative;
|
|
1671
|
+
private suppressInput;
|
|
1672
|
+
private formatterKey;
|
|
1673
|
+
private formatter;
|
|
1467
1674
|
private readonly inputRef;
|
|
1468
1675
|
/** Currency code used for formatting. */
|
|
1469
1676
|
readonly currencyCode: _angular_core.Signal<string>;
|
|
1470
1677
|
/** Position of the currency symbol relative to the input. */
|
|
1471
1678
|
readonly currencyPosition: _angular_core.Signal<"before" | "after">;
|
|
1472
1679
|
/** Decimal places used for formatting. */
|
|
1473
|
-
readonly decimalPlaces: _angular_core.Signal<number>;
|
|
1680
|
+
readonly decimalPlaces: _angular_core.Signal<number | undefined>;
|
|
1474
1681
|
/** Locale used for formatting and parsing. */
|
|
1475
1682
|
readonly locale: _angular_core.Signal<string>;
|
|
1476
1683
|
/** Thousands separator based on locale or metadata. */
|
|
@@ -1480,24 +1687,44 @@ declare class MaterialCurrencyComponent extends SimpleBaseInputComponent {
|
|
|
1480
1687
|
ngOnInit(): void;
|
|
1481
1688
|
/** Handles raw input and keeps numeric value in the control. */
|
|
1482
1689
|
onInput(event: Event): void;
|
|
1483
|
-
|
|
1690
|
+
onKeydown(event: KeyboardEvent): void;
|
|
1691
|
+
onPaste(event: ClipboardEvent): void;
|
|
1692
|
+
private parseLocaleNumber;
|
|
1693
|
+
/** Keeps formatting when focusing, locking cursor to the end. */
|
|
1484
1694
|
onFocus(): void;
|
|
1485
1695
|
/** Formats the current value using CurrencyPipe on blur. */
|
|
1486
1696
|
onBlur(): void;
|
|
1487
1697
|
/** Extracts the symbol for the configured currency. */
|
|
1488
1698
|
protected currencySymbol(): string;
|
|
1489
1699
|
protected getSpecificCssClasses(): string[];
|
|
1700
|
+
onClearClick(): void;
|
|
1490
1701
|
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
1491
|
-
private
|
|
1702
|
+
private minValidator?;
|
|
1703
|
+
private maxValidator?;
|
|
1704
|
+
private syncCurrencyValidators;
|
|
1492
1705
|
/** Applies component metadata with strong typing. */
|
|
1493
1706
|
set metadataInput(metadata: MaterialCurrencyMetadata);
|
|
1494
1707
|
setInputMetadata(metadata: MaterialCurrencyMetadata): void;
|
|
1708
|
+
/** Formats the input value without touching or changing focus state. */
|
|
1709
|
+
formatDisplayValue(): void;
|
|
1710
|
+
writeValue(value: any): void;
|
|
1495
1711
|
validateField(): Promise<ValidationErrors | null>;
|
|
1496
1712
|
readonlyMode: boolean;
|
|
1497
|
-
disabledMode: boolean;
|
|
1713
|
+
set disabledMode(value: boolean);
|
|
1714
|
+
get disabledMode(): boolean;
|
|
1715
|
+
private _disabledMode;
|
|
1498
1716
|
visible: boolean;
|
|
1499
1717
|
presentationMode: boolean;
|
|
1500
1718
|
isReadonlyEffective(): boolean;
|
|
1719
|
+
private resolveLocaleSeparators;
|
|
1720
|
+
private allowNegative;
|
|
1721
|
+
private applyMaskedInput;
|
|
1722
|
+
private digitsToNumber;
|
|
1723
|
+
private syncDigitsFromValue;
|
|
1724
|
+
private setCaretToEnd;
|
|
1725
|
+
private detectNegative;
|
|
1726
|
+
private getCurrencyFormatter;
|
|
1727
|
+
private currencyLocaleFallback;
|
|
1501
1728
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialCurrencyComponent, never>;
|
|
1502
1729
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialCurrencyComponent, "pdx-material-currency", never, { "metadataInput": { "alias": "metadata"; "required": true; }; "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, { "validationChange": "validationChange"; }, never, never, true, never>;
|
|
1503
1730
|
}
|
|
@@ -1531,7 +1758,7 @@ declare class MaterialCpfCnpjInputComponent extends SimpleBaseInputComponent {
|
|
|
1531
1758
|
* Reuses `MaterialCurrencyComponent` for both the minimum and maximum
|
|
1532
1759
|
* values, keeping formatting and validation consistent.
|
|
1533
1760
|
*/
|
|
1534
|
-
declare class MaterialPriceRangeComponent extends SimpleBaseInputComponent implements OnInit {
|
|
1761
|
+
declare class MaterialPriceRangeComponent extends SimpleBaseInputComponent implements OnInit, AfterViewInit {
|
|
1535
1762
|
/** Emits whenever validation state changes. */
|
|
1536
1763
|
readonly validationChange: _angular_core.OutputEmitterRef<ValidationErrors | null>;
|
|
1537
1764
|
readonlyMode: boolean;
|
|
@@ -1542,15 +1769,33 @@ declare class MaterialPriceRangeComponent extends SimpleBaseInputComponent imple
|
|
|
1542
1769
|
minPrice: FormControl<number | null>;
|
|
1543
1770
|
maxPrice: FormControl<number | null>;
|
|
1544
1771
|
}>;
|
|
1772
|
+
private currencyInputs?;
|
|
1773
|
+
private syncingFromGroup;
|
|
1774
|
+
private syncingFromControl;
|
|
1775
|
+
private formatQueued;
|
|
1776
|
+
readonly layoutMode: _angular_core.Signal<"row" | "column">;
|
|
1777
|
+
readonly layoutGap: _angular_core.Signal<string>;
|
|
1778
|
+
readonly clearPlacement: _angular_core.Signal<"group" | "subinputs">;
|
|
1545
1779
|
readonly startCurrencyMetadata: _angular_core.Signal<MaterialCurrencyMetadata>;
|
|
1546
1780
|
readonly endCurrencyMetadata: _angular_core.Signal<MaterialCurrencyMetadata>;
|
|
1547
1781
|
/** Custom error messages for range-specific validations */
|
|
1548
|
-
readonly errorMessage: _angular_core.Signal<
|
|
1782
|
+
readonly errorMessage: _angular_core.Signal<any>;
|
|
1783
|
+
readonly containerTooltip: _angular_core.Signal<any>;
|
|
1784
|
+
showClear(): boolean;
|
|
1549
1785
|
ngOnInit(): void;
|
|
1786
|
+
ngAfterViewInit(): void;
|
|
1787
|
+
writeValue(value: any): void;
|
|
1788
|
+
setValue(value: any, options?: {
|
|
1789
|
+
emitEvent?: boolean;
|
|
1790
|
+
updateUI?: boolean;
|
|
1791
|
+
}): void;
|
|
1550
1792
|
validateField(): Promise<ValidationErrors | null>;
|
|
1551
1793
|
protected getSpecificCssClasses(): string[];
|
|
1794
|
+
isReadonlyEffective(): boolean;
|
|
1795
|
+
setInputMetadata(metadata: MaterialPriceRangeMetadata): void;
|
|
1552
1796
|
/** Applies component metadata with strong typing. */
|
|
1553
1797
|
setPriceRangeMetadata(metadata: MaterialPriceRangeMetadata): void;
|
|
1798
|
+
private queueFormatSubInputs;
|
|
1554
1799
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialPriceRangeComponent, never>;
|
|
1555
1800
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialPriceRangeComponent, "pdx-material-price-range", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, { "validationChange": "validationChange"; }, never, never, true, never>;
|
|
1556
1801
|
}
|
|
@@ -1591,12 +1836,22 @@ declare class MonthInputComponent extends SimpleBaseInputComponent {
|
|
|
1591
1836
|
declare class PasswordInputComponent extends SimpleBaseInputComponent {
|
|
1592
1837
|
/** Emits whenever validation state changes. */
|
|
1593
1838
|
readonly validationChange: _angular_core.OutputEmitterRef<ValidationErrors | null>;
|
|
1839
|
+
private readonly reveal;
|
|
1840
|
+
readonly revealStyle: _angular_core.Signal<any>;
|
|
1841
|
+
readonly revealLabel: _angular_core.Signal<any>;
|
|
1842
|
+
readonly revealIcon: _angular_core.Signal<any>;
|
|
1843
|
+
readonly revealAriaLabel: _angular_core.Signal<any>;
|
|
1844
|
+
readonly revealTooltip: _angular_core.Signal<any>;
|
|
1594
1845
|
readonlyMode: boolean;
|
|
1595
1846
|
disabledMode: boolean;
|
|
1596
1847
|
visible: boolean;
|
|
1597
1848
|
presentationMode: boolean;
|
|
1598
1849
|
validateField(): Promise<ValidationErrors | null>;
|
|
1599
1850
|
protected getSpecificCssClasses(): string[];
|
|
1851
|
+
revealToggleEnabled(): boolean;
|
|
1852
|
+
canToggleReveal(): boolean;
|
|
1853
|
+
resolvedInputType(): string;
|
|
1854
|
+
toggleReveal(): void;
|
|
1600
1855
|
/** Applies typed metadata to the component. */
|
|
1601
1856
|
setInputMetadata(metadata: MaterialPasswordMetadata): void;
|
|
1602
1857
|
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
@@ -1643,116 +1898,40 @@ declare class MaterialSelectComponent extends SimpleBaseSelectComponent {
|
|
|
1643
1898
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialSelectComponent, "pdx-material-select", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
1644
1899
|
}
|
|
1645
1900
|
|
|
1646
|
-
declare class
|
|
1901
|
+
declare class FilterInlineSelectComponent extends SimpleBaseSelectComponent {
|
|
1647
1902
|
readonlyMode: boolean;
|
|
1648
1903
|
disabledMode: boolean;
|
|
1649
1904
|
visible: boolean;
|
|
1650
1905
|
presentationMode: boolean;
|
|
1906
|
+
searchInput?: ElementRef<HTMLInputElement>;
|
|
1907
|
+
inlineMinWidthPx: number;
|
|
1908
|
+
inlineMaxWidthPx: number;
|
|
1909
|
+
private fieldLabelText;
|
|
1651
1910
|
setSelectMetadata(metadata: SimpleSelectMetadata<any>): void;
|
|
1652
|
-
|
|
1653
|
-
isOptionDisabled(option: SelectOption<any>): boolean;
|
|
1654
|
-
/** Emits optionSelected when a user picks an option */
|
|
1655
|
-
onOptionSelectionChange(option: SelectOption<any>, event: MatOptionSelectionChange): void;
|
|
1656
|
-
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
1657
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialMultiSelectComponent, never>;
|
|
1658
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialMultiSelectComponent, "pdx-material-multi-select", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
1659
|
-
}
|
|
1660
|
-
|
|
1661
|
-
/**
|
|
1662
|
-
* Material wrapper for hierarchical multi select using `mat-tree`.
|
|
1663
|
-
*
|
|
1664
|
-
* Supports recursive selection with checkboxes and optional
|
|
1665
|
-
* "select all" helper. Values are emitted as array of node values.
|
|
1666
|
-
*/
|
|
1667
|
-
declare class MaterialMultiSelectTreeComponent extends SimpleBaseInputComponent {
|
|
1668
|
-
readonlyMode: boolean;
|
|
1669
|
-
disabledMode: boolean;
|
|
1670
|
-
visible: boolean;
|
|
1671
|
-
presentationMode: boolean;
|
|
1672
|
-
/** Tree control managing expansion state */
|
|
1673
|
-
readonly treeControl: NestedTreeControl<MaterialTreeNode, MaterialTreeNode>;
|
|
1674
|
-
/** Data source bound to the tree */
|
|
1675
|
-
readonly dataSource: MatTreeNestedDataSource<MaterialTreeNode>;
|
|
1676
|
-
/** Selection model for nodes */
|
|
1677
|
-
readonly selection: SelectionModel<MaterialTreeNode>;
|
|
1678
|
-
private readonly parentMap;
|
|
1679
|
-
private readonly valueMap;
|
|
1680
|
-
/** Show select all option */
|
|
1681
|
-
readonly selectAll: _angular_core.WritableSignal<boolean>;
|
|
1682
|
-
/** Maximum allowed selections */
|
|
1683
|
-
readonly maxSelections: _angular_core.WritableSignal<number | null>;
|
|
1684
|
-
/** Label for select all option */
|
|
1685
|
-
readonly selectAllLabel: _angular_core.WritableSignal<string>;
|
|
1686
|
-
/** Emits whenever the selection changes */
|
|
1687
|
-
readonly selectionChange: EventEmitter<any[]>;
|
|
1911
|
+
protected setMetadata(metadata: MaterialSelectMetadata): void;
|
|
1688
1912
|
onComponentInit(): void;
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
/** Configure component metadata */
|
|
1692
|
-
setTreeMetadata(metadata: MaterialMultiSelectTreeMetadata): void;
|
|
1693
|
-
private normalizeNodes;
|
|
1694
|
-
/** Whether a node has children */
|
|
1695
|
-
hasChild: (_: number, node: MaterialTreeNode) => boolean;
|
|
1696
|
-
/** Toggle selection state of a node and its descendants */
|
|
1697
|
-
toggleNode(node: MaterialTreeNode): void;
|
|
1698
|
-
private toggleDescendants;
|
|
1699
|
-
private updateAllParents;
|
|
1700
|
-
private updateParentSelection;
|
|
1701
|
-
private getDescendants;
|
|
1702
|
-
private getParent;
|
|
1703
|
-
private buildParentMap;
|
|
1704
|
-
/** Whether descendants of a node are partially selected */
|
|
1705
|
-
descendantsPartiallySelected(node: MaterialTreeNode): boolean;
|
|
1706
|
-
private emitValue;
|
|
1707
|
-
writeValue(value: any): void;
|
|
1708
|
-
/** Toggle select all nodes */
|
|
1709
|
-
toggleSelectAll(): void;
|
|
1710
|
-
private selectAllRecursive;
|
|
1711
|
-
/** Check if all enabled nodes are selected */
|
|
1712
|
-
isAllSelected(): boolean;
|
|
1713
|
-
private getAllEnabledNodes;
|
|
1714
|
-
/** Disable node when maxSelections reached */
|
|
1715
|
-
isNodeDisabled(node: MaterialTreeNode): boolean;
|
|
1716
|
-
/** CSS hook */
|
|
1913
|
+
onViewportResize(): void;
|
|
1914
|
+
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
1717
1915
|
protected getSpecificCssClasses(): string[];
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
private
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
constructor(host: ElementRef<HTMLElement>);
|
|
1738
|
-
onComponentInit(): void;
|
|
1739
|
-
setTreeMetadata(metadata: MaterialTreeSelectMetadata): void;
|
|
1740
|
-
private normalizeNodes;
|
|
1741
|
-
private buildParentMap;
|
|
1742
|
-
hasChild: (_: number, node: MaterialTreeNode) => boolean;
|
|
1743
|
-
selectNode(node: MaterialTreeNode): void;
|
|
1744
|
-
private resolveValue;
|
|
1745
|
-
private getPath;
|
|
1746
|
-
isSelected(node: MaterialTreeNode): boolean;
|
|
1747
|
-
isNodeDisabled(node: MaterialTreeNode): boolean;
|
|
1748
|
-
handleKeydown(event: KeyboardEvent, node: MaterialTreeNode): void;
|
|
1749
|
-
private focusSiblingNode;
|
|
1750
|
-
private focusNode;
|
|
1751
|
-
private getVisibleNodes;
|
|
1752
|
-
private applyFilter;
|
|
1753
|
-
private filterNodes;
|
|
1754
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialTreeSelectComponent, never>;
|
|
1755
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialTreeSelectComponent, "pdx-material-tree-select", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
1916
|
+
hasSelection(): boolean;
|
|
1917
|
+
displayText(): string;
|
|
1918
|
+
showQuickClear(): boolean;
|
|
1919
|
+
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
1920
|
+
onQuickClear(event: MouseEvent): void;
|
|
1921
|
+
onOpenedChange(opened: boolean): void;
|
|
1922
|
+
onSearchInput(term: string): void;
|
|
1923
|
+
private hasValue;
|
|
1924
|
+
private resolveDisplayText;
|
|
1925
|
+
private equalsOptionValue;
|
|
1926
|
+
placeholderText(): string;
|
|
1927
|
+
searchPlaceholderText(): string;
|
|
1928
|
+
private resolveFieldLabelFromMetadata;
|
|
1929
|
+
private humanizeFieldName;
|
|
1930
|
+
ariaLabel(): string;
|
|
1931
|
+
private recalculateInlineSizeBounds;
|
|
1932
|
+
private resolveWidthBounds;
|
|
1933
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterInlineSelectComponent, never>;
|
|
1934
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterInlineSelectComponent, "pdx-filter-inline-select", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
1756
1935
|
}
|
|
1757
1936
|
|
|
1758
1937
|
declare class MaterialSearchableSelectComponent extends SimpleBaseSelectComponent {
|
|
@@ -1781,50 +1960,1952 @@ declare class MaterialSearchableSelectComponent extends SimpleBaseSelectComponen
|
|
|
1781
1960
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialSearchableSelectComponent, "pdx-material-searchable-select", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
1782
1961
|
}
|
|
1783
1962
|
|
|
1784
|
-
declare class
|
|
1963
|
+
declare class FilterInlineSearchableSelectComponent extends MaterialSearchableSelectComponent {
|
|
1964
|
+
inlineMinWidthPx: number;
|
|
1965
|
+
inlineMaxWidthPx: number;
|
|
1966
|
+
private fieldLabelText;
|
|
1967
|
+
setSelectMetadata(metadata: any): void;
|
|
1968
|
+
protected setMetadata(metadata: MaterialSelectMetadata): void;
|
|
1969
|
+
onComponentInit(): void;
|
|
1970
|
+
onViewportResize(): void;
|
|
1971
|
+
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
1972
|
+
protected getSpecificCssClasses(): string[];
|
|
1973
|
+
hasSelection(): boolean;
|
|
1974
|
+
selectedCount(): number;
|
|
1975
|
+
displayText(): string;
|
|
1976
|
+
showQuickClear(): boolean;
|
|
1977
|
+
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
1978
|
+
onQuickClear(event: MouseEvent): void;
|
|
1979
|
+
onOpenedChange(opened: boolean): void;
|
|
1980
|
+
onSearchInput(term: string): void;
|
|
1981
|
+
showLoadMore(): boolean;
|
|
1982
|
+
showEndReachedMessage(): boolean;
|
|
1983
|
+
onLoadMoreClick(event: MouseEvent): void;
|
|
1984
|
+
placeholderText(): string;
|
|
1985
|
+
searchPlaceholderText(): string;
|
|
1986
|
+
ariaLabel(): string;
|
|
1987
|
+
private resolveOptionLabel;
|
|
1988
|
+
private equalsOptionValue;
|
|
1989
|
+
private resolveFieldLabelFromMetadata;
|
|
1990
|
+
private humanizeFieldName;
|
|
1991
|
+
private recalculateInlineSizeBounds;
|
|
1992
|
+
private resolveWidthBounds;
|
|
1993
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterInlineSearchableSelectComponent, never>;
|
|
1994
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterInlineSearchableSelectComponent, "pdx-filter-inline-searchable-select", never, {}, {}, never, never, true, never>;
|
|
1995
|
+
}
|
|
1996
|
+
|
|
1997
|
+
declare class MaterialAsyncSelectComponent extends SimpleBaseSelectComponent {
|
|
1998
|
+
private lastConfiguredPath?;
|
|
1999
|
+
private initialLoadStrategy;
|
|
2000
|
+
private hasPerformedInitialLoad;
|
|
1785
2001
|
readonlyMode: boolean;
|
|
1786
2002
|
disabledMode: boolean;
|
|
1787
2003
|
visible: boolean;
|
|
1788
2004
|
presentationMode: boolean;
|
|
2005
|
+
private searchInput?;
|
|
2006
|
+
readonly termControl: FormControl<string | null>;
|
|
1789
2007
|
private readonly store;
|
|
1790
2008
|
readonly endReached: _angular_core.WritableSignal<boolean>;
|
|
1791
|
-
|
|
1792
|
-
private
|
|
1793
|
-
|
|
1794
|
-
|
|
2009
|
+
private cursorAfter;
|
|
2010
|
+
private cursorPageIndex;
|
|
2011
|
+
private dataVersion?;
|
|
2012
|
+
private useCursor;
|
|
2013
|
+
setSelectMetadata(metadata: any): void;
|
|
1795
2014
|
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
1796
|
-
|
|
1797
|
-
|
|
2015
|
+
ngOnInit(): void;
|
|
2016
|
+
onOpened(opened: boolean): void;
|
|
2017
|
+
private getSelectedIds;
|
|
1798
2018
|
private preloadSelected;
|
|
1799
2019
|
private refreshOptions;
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
2020
|
+
private runQuery;
|
|
2021
|
+
loadMore(): void;
|
|
2022
|
+
retry(): void;
|
|
2023
|
+
handleKey(event: KeyboardEvent): void;
|
|
2024
|
+
protected registerMatSelect(select: any): void;
|
|
1805
2025
|
reload(reset: boolean): void;
|
|
1806
2026
|
protected onDependenciesChanged(): void;
|
|
1807
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
1808
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
2027
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialAsyncSelectComponent, never>;
|
|
2028
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialAsyncSelectComponent, "pdx-material-async-select", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
1809
2029
|
}
|
|
1810
2030
|
|
|
1811
|
-
declare class
|
|
2031
|
+
declare class FilterInlineAsyncSelectComponent extends MaterialAsyncSelectComponent {
|
|
2032
|
+
inlineMinWidthPx: number;
|
|
2033
|
+
inlineMaxWidthPx: number;
|
|
2034
|
+
private fieldLabelText;
|
|
2035
|
+
private staticOptions;
|
|
2036
|
+
setSelectMetadata(metadata: any): void;
|
|
2037
|
+
protected setMetadata(metadata: MaterialSelectMetadata): void;
|
|
2038
|
+
onComponentInit(): void;
|
|
2039
|
+
onViewportResize(): void;
|
|
2040
|
+
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
2041
|
+
protected getSpecificCssClasses(): string[];
|
|
2042
|
+
hasSelection(): boolean;
|
|
2043
|
+
selectedCount(): number;
|
|
2044
|
+
displayText(): string;
|
|
2045
|
+
showQuickClear(): boolean;
|
|
2046
|
+
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
2047
|
+
onQuickClear(event: MouseEvent): void;
|
|
2048
|
+
onOpenedChange(opened: boolean): void;
|
|
2049
|
+
onSearchInput(term: string): void;
|
|
2050
|
+
showLoadMore(): boolean;
|
|
2051
|
+
showEndReachedMessage(): boolean;
|
|
2052
|
+
onLoadMoreClick(event: MouseEvent): void;
|
|
2053
|
+
placeholderText(): string;
|
|
2054
|
+
searchPlaceholderText(): string;
|
|
2055
|
+
ariaLabel(): string;
|
|
2056
|
+
private resolveOptionLabel;
|
|
2057
|
+
private equalsOptionValue;
|
|
2058
|
+
private resolveFieldLabelFromMetadata;
|
|
2059
|
+
private currentSearchTerm;
|
|
2060
|
+
private applyStaticOptionsFilter;
|
|
2061
|
+
private humanizeFieldName;
|
|
2062
|
+
private recalculateInlineSizeBounds;
|
|
2063
|
+
private resolveWidthBounds;
|
|
2064
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterInlineAsyncSelectComponent, never>;
|
|
2065
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterInlineAsyncSelectComponent, "pdx-filter-inline-async-select", never, {}, {}, never, never, true, never>;
|
|
2066
|
+
}
|
|
2067
|
+
|
|
2068
|
+
type LookupOption = {
|
|
2069
|
+
label: string;
|
|
2070
|
+
value: any;
|
|
2071
|
+
disabled?: boolean;
|
|
2072
|
+
};
|
|
2073
|
+
declare class FilterInlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
2074
|
+
inlineMinWidthPx: number;
|
|
2075
|
+
inlineMaxWidthPx: number;
|
|
2076
|
+
private fieldLabelText;
|
|
2077
|
+
private staticOptions;
|
|
2078
|
+
setSelectMetadata(metadata: any): void;
|
|
2079
|
+
protected setMetadata(metadata: MaterialSelectMetadata): void;
|
|
2080
|
+
onComponentInit(): void;
|
|
2081
|
+
onViewportResize(): void;
|
|
2082
|
+
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
2083
|
+
protected getSpecificCssClasses(): string[];
|
|
2084
|
+
hasSelection(): boolean;
|
|
2085
|
+
selectedCount(): number;
|
|
2086
|
+
displayText(): string;
|
|
2087
|
+
optionPrimaryText(option: LookupOption): string;
|
|
2088
|
+
optionSecondaryText(option: LookupOption): string;
|
|
2089
|
+
resetOptionText(): string;
|
|
2090
|
+
showQuickClear(): boolean;
|
|
2091
|
+
onResetOptionClick(event: MouseEvent): void;
|
|
2092
|
+
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
2093
|
+
onQuickClear(event: MouseEvent): void;
|
|
2094
|
+
onOpenedChange(opened: boolean): void;
|
|
2095
|
+
onSearchInput(term: string): void;
|
|
2096
|
+
showLoadMore(): boolean;
|
|
2097
|
+
showEndReachedMessage(): boolean;
|
|
2098
|
+
onLoadMoreClick(event: MouseEvent): void;
|
|
2099
|
+
placeholderText(): string;
|
|
2100
|
+
searchPlaceholderText(): string;
|
|
2101
|
+
panelSearchIconName(fallback?: string): string;
|
|
2102
|
+
panelSearchIconColor(): string | undefined;
|
|
2103
|
+
panelResetIconName(fallback?: string): string;
|
|
2104
|
+
panelResetIconColor(): string | undefined;
|
|
2105
|
+
ariaLabel(): string;
|
|
2106
|
+
private resolveLookupText;
|
|
2107
|
+
private resolveLookupData;
|
|
2108
|
+
private buildLookupPrimaryText;
|
|
2109
|
+
private fallbackLookupText;
|
|
2110
|
+
private lookupIdKey;
|
|
2111
|
+
private lookupLabelKey;
|
|
2112
|
+
private lookupSubtitleKey;
|
|
2113
|
+
private lookupSeparator;
|
|
2114
|
+
private normalizeLookupText;
|
|
2115
|
+
private firstDefined;
|
|
2116
|
+
private equalsOptionValue;
|
|
2117
|
+
private resolveFieldLabelFromMetadata;
|
|
2118
|
+
private currentSearchTerm;
|
|
2119
|
+
private applyStaticOptionsFilter;
|
|
2120
|
+
private humanizeFieldName;
|
|
2121
|
+
private recalculateInlineSizeBounds;
|
|
2122
|
+
private resolveWidthBounds;
|
|
2123
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterInlineEntityLookupComponent, never>;
|
|
2124
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterInlineEntityLookupComponent, "pdx-filter-inline-entity-lookup", never, {}, {}, never, never, true, never>;
|
|
2125
|
+
}
|
|
2126
|
+
|
|
2127
|
+
declare class FilterInlineMultiSelectComponent extends SimpleBaseSelectComponent {
|
|
1812
2128
|
readonlyMode: boolean;
|
|
1813
2129
|
disabledMode: boolean;
|
|
1814
2130
|
visible: boolean;
|
|
1815
2131
|
presentationMode: boolean;
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
selectedOptions(): SelectOption[];
|
|
1821
|
-
removeChip(option: SelectOption): void;
|
|
1822
|
-
onInputTokenEnd(event: MatChipInputEvent): void;
|
|
2132
|
+
searchInput?: ElementRef<HTMLInputElement>;
|
|
2133
|
+
inlineMinWidthPx: number;
|
|
2134
|
+
inlineMaxWidthPx: number;
|
|
2135
|
+
private fieldLabelText;
|
|
1823
2136
|
setSelectMetadata(metadata: SimpleSelectMetadata<any>): void;
|
|
2137
|
+
protected setMetadata(metadata: MaterialSelectMetadata): void;
|
|
2138
|
+
onComponentInit(): void;
|
|
2139
|
+
onViewportResize(): void;
|
|
1824
2140
|
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
2141
|
+
protected getSpecificCssClasses(): string[];
|
|
2142
|
+
hasSelection(): boolean;
|
|
2143
|
+
selectedCount(): number;
|
|
2144
|
+
displayText(): string;
|
|
2145
|
+
showQuickClear(): boolean;
|
|
2146
|
+
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
2147
|
+
onQuickClear(event: MouseEvent): void;
|
|
2148
|
+
onOpenedChange(opened: boolean): void;
|
|
2149
|
+
onSearchInput(term: string): void;
|
|
2150
|
+
isOptionDisabled(option: SelectOption<any>): boolean;
|
|
2151
|
+
placeholderText(): string;
|
|
2152
|
+
searchPlaceholderText(): string;
|
|
2153
|
+
ariaLabel(): string;
|
|
2154
|
+
private currentValues;
|
|
2155
|
+
private resolveOptionLabel;
|
|
2156
|
+
private equalsOptionValue;
|
|
2157
|
+
private resolveFieldLabelFromMetadata;
|
|
2158
|
+
private humanizeFieldName;
|
|
2159
|
+
private recalculateInlineSizeBounds;
|
|
2160
|
+
private resolveWidthBounds;
|
|
2161
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterInlineMultiSelectComponent, never>;
|
|
2162
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterInlineMultiSelectComponent, "pdx-filter-inline-multi-select", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
2163
|
+
}
|
|
2164
|
+
|
|
2165
|
+
declare class FilterInlineInputComponent extends SimpleBaseInputComponent {
|
|
2166
|
+
readonlyMode: boolean;
|
|
2167
|
+
disabledMode: boolean;
|
|
2168
|
+
visible: boolean;
|
|
2169
|
+
presentationMode: boolean;
|
|
2170
|
+
inputEl?: ElementRef<HTMLInputElement>;
|
|
2171
|
+
measureEl?: ElementRef<HTMLElement>;
|
|
2172
|
+
private fieldLabelText;
|
|
2173
|
+
inlineWidthPx: number;
|
|
2174
|
+
inlineMaxWidthPx: number;
|
|
2175
|
+
private resizeRafId;
|
|
2176
|
+
protected setMetadata(metadata: MaterialInputMetadata): void;
|
|
2177
|
+
onComponentInit(): void;
|
|
2178
|
+
ngAfterViewInit(): void;
|
|
2179
|
+
onComponentDestroy(): void;
|
|
2180
|
+
onViewportResize(): void;
|
|
2181
|
+
protected getSpecificCssClasses(): string[];
|
|
2182
|
+
isReadonlyEffective(): boolean;
|
|
2183
|
+
showQuickClear(): boolean;
|
|
2184
|
+
showInlinePlaceholder(): boolean;
|
|
2185
|
+
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
2186
|
+
onQuickClear(event: MouseEvent): void;
|
|
2187
|
+
onInlineInput(): void;
|
|
2188
|
+
widthProbeText(): string;
|
|
2189
|
+
placeholderText(): string;
|
|
2190
|
+
ariaLabel(): string;
|
|
2191
|
+
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
2192
|
+
private scheduleInlineResize;
|
|
2193
|
+
private recalculateInlineWidth;
|
|
2194
|
+
private resolveWidthBounds;
|
|
2195
|
+
private resolveChromeWidth;
|
|
2196
|
+
private parsePx;
|
|
2197
|
+
private resolveFieldLabelFromMetadata;
|
|
2198
|
+
private humanizeFieldName;
|
|
2199
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterInlineInputComponent, never>;
|
|
2200
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterInlineInputComponent, "pdx-filter-inline-input", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
2201
|
+
}
|
|
2202
|
+
|
|
2203
|
+
declare class MaterialAutocompleteComponent extends SimpleBaseSelectComponent<OptionDTO<any>> {
|
|
2204
|
+
readonlyMode: boolean;
|
|
2205
|
+
disabledMode: boolean;
|
|
2206
|
+
visible: boolean;
|
|
2207
|
+
presentationMode: boolean;
|
|
2208
|
+
private readonly store;
|
|
2209
|
+
readonly endReached: _angular_core.WritableSignal<boolean>;
|
|
2210
|
+
displayWith: (opt: OptionDTO<any>) => string;
|
|
2211
|
+
private initialLoadStrategy;
|
|
2212
|
+
setSelectMetadata(metadata: SimpleSelectMetadata<any>): void;
|
|
2213
|
+
ngOnInit(): void;
|
|
2214
|
+
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
2215
|
+
isReadonlyEffective(): boolean;
|
|
2216
|
+
private getSelectedId;
|
|
2217
|
+
private preloadSelected;
|
|
2218
|
+
private refreshOptions;
|
|
2219
|
+
protected loadOptions(page?: number, searchTerm?: string, criteria?: Record<string, any>): void;
|
|
2220
|
+
onOpened(): void;
|
|
2221
|
+
onScroll(index: number): void;
|
|
2222
|
+
onSearch(term: string): void;
|
|
2223
|
+
trackByOption(index: number, option: SelectOption<OptionDTO<any>>): any;
|
|
2224
|
+
reload(reset: boolean): void;
|
|
2225
|
+
protected onDependenciesChanged(): void;
|
|
2226
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialAutocompleteComponent, never>;
|
|
2227
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialAutocompleteComponent, "pdx-material-autocomplete", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
2228
|
+
}
|
|
2229
|
+
|
|
2230
|
+
declare class FilterInlineAutocompleteComponent extends MaterialAutocompleteComponent {
|
|
2231
|
+
inputEl?: ElementRef<HTMLInputElement>;
|
|
2232
|
+
measureEl?: ElementRef<HTMLElement>;
|
|
2233
|
+
autocompleteTrigger?: MatAutocompleteTrigger;
|
|
2234
|
+
inlineWidthPx: number;
|
|
2235
|
+
inlineMaxWidthPx: number;
|
|
2236
|
+
private resizeRafId;
|
|
2237
|
+
private fieldLabelText;
|
|
2238
|
+
private staticOptions;
|
|
2239
|
+
setSelectMetadata(metadata: any): void;
|
|
2240
|
+
protected setMetadata(metadata: MaterialAutocompleteMetadata): void;
|
|
2241
|
+
onComponentInit(): void;
|
|
2242
|
+
ngAfterViewInit(): void;
|
|
2243
|
+
onComponentDestroy(): void;
|
|
2244
|
+
onViewportResize(): void;
|
|
2245
|
+
protected getSpecificCssClasses(): string[];
|
|
2246
|
+
isReadonlyEffective(): boolean;
|
|
2247
|
+
showQuickClear(): boolean;
|
|
2248
|
+
showInlinePlaceholder(): boolean;
|
|
2249
|
+
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
2250
|
+
onQuickClear(event: MouseEvent): void;
|
|
2251
|
+
onInputFocus(): void;
|
|
2252
|
+
onSearchInput(term: string): void;
|
|
2253
|
+
onAutocompleteClosed(): void;
|
|
2254
|
+
autocompleteViewportHeightPx(): number;
|
|
2255
|
+
widthProbeText(): string;
|
|
2256
|
+
placeholderText(): string;
|
|
2257
|
+
ariaLabel(): string;
|
|
2258
|
+
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
2259
|
+
private currentSearchTerm;
|
|
2260
|
+
private applyStaticOptionsFilter;
|
|
2261
|
+
private resolveValueLabel;
|
|
2262
|
+
private equalsOptionValue;
|
|
2263
|
+
private scheduleInlineResize;
|
|
2264
|
+
private recalculateInlineWidth;
|
|
2265
|
+
private resolveWidthBounds;
|
|
2266
|
+
private resolveChromeWidth;
|
|
2267
|
+
private parsePx;
|
|
2268
|
+
private resolveFieldLabelFromMetadata;
|
|
2269
|
+
private humanizeFieldName;
|
|
2270
|
+
trackByOption(index: number, option: {
|
|
2271
|
+
label: string;
|
|
2272
|
+
value: OptionDTO<any>;
|
|
2273
|
+
}): any;
|
|
2274
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterInlineAutocompleteComponent, never>;
|
|
2275
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterInlineAutocompleteComponent, "pdx-filter-inline-autocomplete", never, {}, {}, never, never, true, never>;
|
|
2276
|
+
}
|
|
2277
|
+
|
|
2278
|
+
declare class FilterInlineNumberComponent extends SimpleBaseInputComponent {
|
|
2279
|
+
private static readonly PERCENT_MIN_DEFAULT;
|
|
2280
|
+
private static readonly PERCENT_MAX_DEFAULT;
|
|
2281
|
+
private static readonly PERCENT_STEP_DEFAULT;
|
|
2282
|
+
private static readonly PERCENT_PLACEHOLDER_DEFAULT;
|
|
2283
|
+
inputEl?: ElementRef<HTMLInputElement>;
|
|
2284
|
+
measureEl?: ElementRef<HTMLElement>;
|
|
2285
|
+
readonlyMode: boolean;
|
|
2286
|
+
disabledMode: boolean;
|
|
2287
|
+
visible: boolean;
|
|
2288
|
+
presentationMode: boolean;
|
|
2289
|
+
inlineWidthPx: number;
|
|
2290
|
+
inlineMaxWidthPx: number;
|
|
2291
|
+
private resizeRafId;
|
|
2292
|
+
private fieldLabelText;
|
|
2293
|
+
private minValidator?;
|
|
2294
|
+
private maxValidator?;
|
|
2295
|
+
private readonly numberPatternValidator;
|
|
2296
|
+
setInputMetadata(metadata: MaterialNumericMetadata): void;
|
|
2297
|
+
protected setMetadata(metadata: MaterialNumericMetadata): void;
|
|
2298
|
+
onComponentInit(): void;
|
|
2299
|
+
ngAfterViewInit(): void;
|
|
2300
|
+
onComponentDestroy(): void;
|
|
2301
|
+
onViewportResize(): void;
|
|
2302
|
+
protected getSpecificCssClasses(): string[];
|
|
2303
|
+
leadingIconName(): string;
|
|
2304
|
+
showPercentSuffix(): boolean;
|
|
2305
|
+
effectiveMinValue(): number | null;
|
|
2306
|
+
effectiveMaxValue(): number | null;
|
|
2307
|
+
effectiveStepValue(): number | null;
|
|
2308
|
+
isReadonlyEffective(): boolean;
|
|
2309
|
+
showQuickClear(): boolean;
|
|
2310
|
+
showInlinePlaceholder(): boolean;
|
|
2311
|
+
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
2312
|
+
onQuickClear(event: MouseEvent): void;
|
|
2313
|
+
onInlineInput(): void;
|
|
2314
|
+
widthProbeText(): string;
|
|
2315
|
+
placeholderText(): string;
|
|
2316
|
+
ariaLabel(): string;
|
|
2317
|
+
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
2318
|
+
private hasValue;
|
|
2319
|
+
private syncNumericValidators;
|
|
2320
|
+
private scheduleInlineResize;
|
|
2321
|
+
private recalculateInlineWidth;
|
|
2322
|
+
private resolveWidthBounds;
|
|
2323
|
+
private resolveChromeWidth;
|
|
2324
|
+
private parsePx;
|
|
2325
|
+
private resolveFiniteNumber;
|
|
2326
|
+
private resolvePositiveFiniteNumber;
|
|
2327
|
+
private resolveEffectiveMin;
|
|
2328
|
+
private resolveEffectiveMax;
|
|
2329
|
+
private resolveEffectiveStep;
|
|
2330
|
+
private defaultFieldLabel;
|
|
2331
|
+
private isPercentFormat;
|
|
2332
|
+
private resolveNonEmptyString;
|
|
2333
|
+
private resolveFieldLabelFromMetadata;
|
|
2334
|
+
private humanizeFieldName;
|
|
2335
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterInlineNumberComponent, never>;
|
|
2336
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterInlineNumberComponent, "pdx-filter-inline-number", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
2337
|
+
}
|
|
2338
|
+
|
|
2339
|
+
declare class FilterInlineCurrencyComponent extends SimpleBaseInputComponent {
|
|
2340
|
+
inputEl?: ElementRef<HTMLInputElement>;
|
|
2341
|
+
measureEl?: ElementRef<HTMLElement>;
|
|
2342
|
+
readonlyMode: boolean;
|
|
2343
|
+
disabledMode: boolean;
|
|
2344
|
+
visible: boolean;
|
|
2345
|
+
presentationMode: boolean;
|
|
2346
|
+
inlineWidthPx: number;
|
|
2347
|
+
inlineMaxWidthPx: number;
|
|
2348
|
+
private resizeRafId;
|
|
2349
|
+
private fieldLabelText;
|
|
2350
|
+
private minValidator?;
|
|
2351
|
+
private maxValidator?;
|
|
2352
|
+
private rawDigits;
|
|
2353
|
+
private isNegative;
|
|
2354
|
+
private suppressInput;
|
|
2355
|
+
private decimalFormatterKey;
|
|
2356
|
+
private decimalFormatter;
|
|
2357
|
+
private currencyFormatterKey;
|
|
2358
|
+
private currencyFormatter;
|
|
2359
|
+
readonly currencyCode: _angular_core.Signal<string>;
|
|
2360
|
+
readonly currencyPosition: _angular_core.Signal<"before" | "after">;
|
|
2361
|
+
readonly decimalPlaces: _angular_core.Signal<number | undefined>;
|
|
2362
|
+
readonly locale: _angular_core.Signal<string>;
|
|
2363
|
+
setInputMetadata(metadata: MaterialCurrencyMetadata): void;
|
|
2364
|
+
protected setMetadata(metadata: MaterialCurrencyMetadata): void;
|
|
2365
|
+
onComponentInit(): void;
|
|
2366
|
+
ngAfterViewInit(): void;
|
|
2367
|
+
onComponentDestroy(): void;
|
|
2368
|
+
writeValue(value: any): void;
|
|
2369
|
+
onViewportResize(): void;
|
|
2370
|
+
protected getSpecificCssClasses(): string[];
|
|
2371
|
+
protected resolveInlineContextTooltipValue(): string;
|
|
2372
|
+
isReadonlyEffective(): boolean;
|
|
2373
|
+
showQuickClear(): boolean;
|
|
2374
|
+
showInlinePlaceholder(): boolean;
|
|
2375
|
+
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
2376
|
+
onQuickClear(event: MouseEvent): void;
|
|
2377
|
+
onInlineInput(): void;
|
|
2378
|
+
onFocus(): void;
|
|
2379
|
+
onBlur(): void;
|
|
2380
|
+
onInput(event: Event): void;
|
|
2381
|
+
onKeydown(event: KeyboardEvent): void;
|
|
2382
|
+
onPaste(event: ClipboardEvent): void;
|
|
2383
|
+
widthProbeText(): string;
|
|
2384
|
+
placeholderText(): string;
|
|
2385
|
+
ariaLabel(): string;
|
|
2386
|
+
currencySymbol(): string;
|
|
2387
|
+
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
2388
|
+
private hasValue;
|
|
2389
|
+
private scheduleInlineResize;
|
|
2390
|
+
private recalculateInlineWidth;
|
|
2391
|
+
private resolveWidthBounds;
|
|
2392
|
+
private resolveChromeWidth;
|
|
2393
|
+
private parsePx;
|
|
2394
|
+
private syncCurrencyValidators;
|
|
2395
|
+
private allowNegative;
|
|
2396
|
+
private applyMaskedInput;
|
|
2397
|
+
private digitsToNumber;
|
|
2398
|
+
private syncDigitsFromValue;
|
|
2399
|
+
private formatDisplayValue;
|
|
2400
|
+
private formatDecimalValue;
|
|
2401
|
+
private setCaretToEnd;
|
|
2402
|
+
private detectNegative;
|
|
2403
|
+
private parseLocaleNumber;
|
|
2404
|
+
private resolveLocaleSeparators;
|
|
2405
|
+
private getDecimalFormatter;
|
|
2406
|
+
private getCurrencyFormatter;
|
|
2407
|
+
private currencyLocaleFallback;
|
|
2408
|
+
private resolveFieldLabelFromMetadata;
|
|
2409
|
+
private humanizeFieldName;
|
|
2410
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterInlineCurrencyComponent, never>;
|
|
2411
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterInlineCurrencyComponent, "pdx-filter-inline-currency", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
2412
|
+
}
|
|
2413
|
+
|
|
2414
|
+
interface InlineCurrencyDistributionBar {
|
|
2415
|
+
id: string;
|
|
2416
|
+
value: number;
|
|
2417
|
+
ratio: number;
|
|
2418
|
+
color?: string;
|
|
2419
|
+
label?: string;
|
|
2420
|
+
}
|
|
2421
|
+
declare class FilterInlineCurrencyRangeComponent extends SimpleBaseInputComponent {
|
|
2422
|
+
private static readonly MAX_DISTRIBUTION_SOURCE_BINS;
|
|
2423
|
+
private static readonly MAX_DISTRIBUTION_RENDER_BINS;
|
|
2424
|
+
readonlyMode: boolean;
|
|
2425
|
+
disabledMode: boolean;
|
|
2426
|
+
visible: boolean;
|
|
2427
|
+
presentationMode: boolean;
|
|
2428
|
+
inlineMinWidthPx: number;
|
|
2429
|
+
inlineMaxWidthPx: number;
|
|
2430
|
+
panelMinWidthPx: number;
|
|
2431
|
+
panelMaxWidthPx: number;
|
|
2432
|
+
panelOpen: boolean;
|
|
2433
|
+
readonly overlayPositions: ConnectedPosition[];
|
|
2434
|
+
readonly rangeGroup: FormGroup<{
|
|
2435
|
+
minPrice: FormControl<number | null>;
|
|
2436
|
+
maxPrice: FormControl<number | null>;
|
|
2437
|
+
}>;
|
|
2438
|
+
readonly displayWithFn: (value: number) => string;
|
|
2439
|
+
readonly errorMessage: _angular_core.Signal<string>;
|
|
2440
|
+
private fieldLabelText;
|
|
2441
|
+
private validatorCache;
|
|
2442
|
+
private rangeSyncInProgress;
|
|
2443
|
+
private formatterKey;
|
|
2444
|
+
private formatterCache;
|
|
2445
|
+
private distributionCacheKey;
|
|
2446
|
+
private distributionCache;
|
|
2447
|
+
private lastTriggerElement;
|
|
2448
|
+
setInputMetadata(metadata: MaterialPriceRangeMetadata): void;
|
|
2449
|
+
protected setMetadata(metadata: MaterialPriceRangeMetadata): void;
|
|
2450
|
+
onComponentInit(): void;
|
|
2451
|
+
onViewportResize(): void;
|
|
2452
|
+
onDocumentEscape(): void;
|
|
2453
|
+
protected getSpecificCssClasses(): string[];
|
|
2454
|
+
protected resolveInlineContextTooltipValue(): string;
|
|
2455
|
+
minValue(): number;
|
|
2456
|
+
maxValue(): number;
|
|
2457
|
+
stepValue(): number;
|
|
2458
|
+
showTickMarks(): boolean;
|
|
2459
|
+
showDistributionBars(): boolean;
|
|
2460
|
+
distributionBars(): InlineCurrencyDistributionBar[];
|
|
2461
|
+
distributionHeightPx(): number | null;
|
|
2462
|
+
distributionGapPx(): number | null;
|
|
2463
|
+
distributionRadiusPx(): number | null;
|
|
2464
|
+
distributionOpacity(): number | null;
|
|
2465
|
+
isInteractionBlocked(): boolean;
|
|
2466
|
+
hasSelection(): boolean;
|
|
2467
|
+
showQuickClear(): boolean;
|
|
2468
|
+
displayText(): string;
|
|
2469
|
+
currentSelectionText(): string;
|
|
2470
|
+
currentStartLabel(): string;
|
|
2471
|
+
currentEndLabel(): string;
|
|
2472
|
+
placeholderText(): string;
|
|
2473
|
+
panelTitle(): string;
|
|
2474
|
+
ariaLabel(): string;
|
|
2475
|
+
chipLeadingIcon(): string;
|
|
2476
|
+
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
2477
|
+
onQuickClear(event: MouseEvent): void;
|
|
2478
|
+
onTriggerClick(event: MouseEvent): void;
|
|
2479
|
+
onTriggerKeydown(event: KeyboardEvent): void;
|
|
2480
|
+
closePanel(): void;
|
|
2481
|
+
onOverlayDetach(): void;
|
|
2482
|
+
panelId(): string;
|
|
2483
|
+
panelTitleId(): string;
|
|
2484
|
+
isReadonlyEffective(): boolean;
|
|
2485
|
+
private rebuildValidators;
|
|
2486
|
+
private buildRangeValidator;
|
|
2487
|
+
private syncRangeGroupFromControl;
|
|
2488
|
+
private currentRangeValue;
|
|
2489
|
+
private distributionVisual;
|
|
2490
|
+
private resolveDistributionVisual;
|
|
2491
|
+
private parseDistributionConfig;
|
|
2492
|
+
private parseDistributionBins;
|
|
2493
|
+
private normalizeRangeValue;
|
|
2494
|
+
private areRangeValuesEqual;
|
|
2495
|
+
private toFiniteNumberOrNull;
|
|
2496
|
+
private toNonEmptyText;
|
|
2497
|
+
private parseJsonValue;
|
|
2498
|
+
private normalizePositivePx;
|
|
2499
|
+
private clampRatio;
|
|
2500
|
+
private resolveDistributionGapPx;
|
|
2501
|
+
private resolveDistributionRadiusPx;
|
|
2502
|
+
private clampToBounds;
|
|
2503
|
+
private snapToStep;
|
|
2504
|
+
private decimalPlaces;
|
|
2505
|
+
private formatCurrency;
|
|
2506
|
+
private currencyFormatter;
|
|
2507
|
+
private resolveDecimalPlaces;
|
|
2508
|
+
private allowNegative;
|
|
2509
|
+
private recalculateInlineSizeBounds;
|
|
2510
|
+
private resetFormatterCache;
|
|
2511
|
+
private resetDistributionCache;
|
|
2512
|
+
private resolveFieldLabelFromMetadata;
|
|
2513
|
+
private humanizeFieldName;
|
|
2514
|
+
private currencyLocaleFallback;
|
|
2515
|
+
private compactDistributionBins;
|
|
2516
|
+
private rememberTriggerElement;
|
|
2517
|
+
private restoreFocusToTrigger;
|
|
2518
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterInlineCurrencyRangeComponent, never>;
|
|
2519
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterInlineCurrencyRangeComponent, "pdx-filter-inline-currency-range", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
2520
|
+
}
|
|
2521
|
+
|
|
2522
|
+
declare class FilterInlineToggleComponent extends SimpleBaseInputComponent {
|
|
2523
|
+
readonlyMode: boolean;
|
|
2524
|
+
disabledMode: boolean;
|
|
2525
|
+
visible: boolean;
|
|
2526
|
+
presentationMode: boolean;
|
|
2527
|
+
private fieldLabelText;
|
|
2528
|
+
setInputMetadata(metadata: MaterialToggleMetadata): void;
|
|
2529
|
+
protected setMetadata(metadata: MaterialToggleMetadata): void;
|
|
2530
|
+
protected getSpecificCssClasses(): string[];
|
|
2531
|
+
showQuickClear(): boolean;
|
|
2532
|
+
hasSelection(): boolean;
|
|
2533
|
+
isTrue(): boolean;
|
|
2534
|
+
isFalse(): boolean;
|
|
2535
|
+
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
2536
|
+
onQuickClear(event: MouseEvent): void;
|
|
2537
|
+
placeholderText(): string;
|
|
2538
|
+
ariaLabel(): string;
|
|
2539
|
+
isReadonlyEffective(): boolean;
|
|
2540
|
+
showTextLabel(): boolean;
|
|
2541
|
+
private resolveFieldLabelFromMetadata;
|
|
2542
|
+
private humanizeFieldName;
|
|
2543
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterInlineToggleComponent, never>;
|
|
2544
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterInlineToggleComponent, "pdx-filter-inline-toggle", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
2545
|
+
}
|
|
2546
|
+
|
|
2547
|
+
interface InlineRangeQuickPreset {
|
|
2548
|
+
id: string;
|
|
2549
|
+
label: string;
|
|
2550
|
+
icon?: string;
|
|
2551
|
+
value: number | null;
|
|
2552
|
+
start: number | null;
|
|
2553
|
+
end: number | null;
|
|
2554
|
+
}
|
|
2555
|
+
interface InlineRangeDistributionBar {
|
|
2556
|
+
id: string;
|
|
2557
|
+
value: number;
|
|
2558
|
+
ratio: number;
|
|
2559
|
+
color?: string;
|
|
2560
|
+
label?: string;
|
|
2561
|
+
}
|
|
2562
|
+
declare class FilterInlineRangeSliderComponent extends SimpleBaseInputComponent {
|
|
2563
|
+
private static readonly PERCENT_MIN_DEFAULT;
|
|
2564
|
+
private static readonly PERCENT_MAX_DEFAULT;
|
|
2565
|
+
private static readonly PERCENT_STEP_DEFAULT;
|
|
2566
|
+
private static readonly MAX_DISTRIBUTION_SOURCE_BINS;
|
|
2567
|
+
private static readonly MAX_DISTRIBUTION_RENDER_BINS;
|
|
2568
|
+
readonlyMode: boolean;
|
|
2569
|
+
disabledMode: boolean;
|
|
2570
|
+
visible: boolean;
|
|
2571
|
+
presentationMode: boolean;
|
|
2572
|
+
inlineMinWidthPx: number;
|
|
2573
|
+
inlineMaxWidthPx: number;
|
|
2574
|
+
panelMinWidthPx: number;
|
|
2575
|
+
panelMaxWidthPx: number;
|
|
2576
|
+
panelOpen: boolean;
|
|
2577
|
+
readonly overlayPositions: ConnectedPosition[];
|
|
2578
|
+
readonly rangeGroup: FormGroup<{
|
|
2579
|
+
start: FormControl<number | null>;
|
|
2580
|
+
end: FormControl<number | null>;
|
|
2581
|
+
}>;
|
|
2582
|
+
readonly displayWithFn: (value: number) => string;
|
|
2583
|
+
private fieldLabelText;
|
|
2584
|
+
private validatorCache;
|
|
2585
|
+
private rangeSyncInProgress;
|
|
2586
|
+
private formatterKey;
|
|
2587
|
+
private formatterCache;
|
|
2588
|
+
private quickPresetsKey;
|
|
2589
|
+
private quickPresetsCache;
|
|
2590
|
+
private distributionCacheKey;
|
|
2591
|
+
private distributionCache;
|
|
2592
|
+
private lastTriggerElement;
|
|
2593
|
+
setInputMetadata(metadata: MaterialRangeSliderMetadata): void;
|
|
2594
|
+
protected setMetadata(metadata: MaterialRangeSliderMetadata): void;
|
|
2595
|
+
onComponentInit(): void;
|
|
2596
|
+
onViewportResize(): void;
|
|
2597
|
+
onDocumentEscape(): void;
|
|
2598
|
+
protected getSpecificCssClasses(): string[];
|
|
2599
|
+
minValue(): number;
|
|
2600
|
+
maxValue(): number;
|
|
2601
|
+
stepValue(): number;
|
|
2602
|
+
showTickMarks(): boolean;
|
|
2603
|
+
isRangeMode(): boolean;
|
|
2604
|
+
isInteractionBlocked(): boolean;
|
|
2605
|
+
hasSelection(): boolean;
|
|
2606
|
+
showQuickClear(): boolean;
|
|
2607
|
+
showInlineInputs(): boolean;
|
|
2608
|
+
showDistributionBars(): boolean;
|
|
2609
|
+
distributionBars(): InlineRangeDistributionBar[];
|
|
2610
|
+
distributionHeightPx(): number | null;
|
|
2611
|
+
distributionGapPx(): number | null;
|
|
2612
|
+
distributionRadiusPx(): number | null;
|
|
2613
|
+
distributionOpacity(): number | null;
|
|
2614
|
+
inputMinLabel(): string;
|
|
2615
|
+
inputMaxLabel(): string;
|
|
2616
|
+
inputValueLabel(): string;
|
|
2617
|
+
quickPresetsGroupLabel(): string;
|
|
2618
|
+
quickPresets(): InlineRangeQuickPreset[];
|
|
2619
|
+
hasQuickPresets(): boolean;
|
|
2620
|
+
presetAriaLabel(preset: InlineRangeQuickPreset): string;
|
|
2621
|
+
isPresetActive(preset: InlineRangeQuickPreset): boolean;
|
|
2622
|
+
applyQuickPreset(preset: InlineRangeQuickPreset, event: MouseEvent): void;
|
|
2623
|
+
onSingleInputBlur(): void;
|
|
2624
|
+
onRangeInputBlur(_edge: 'start' | 'end'): void;
|
|
2625
|
+
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
2626
|
+
onQuickClear(event: MouseEvent): void;
|
|
2627
|
+
onTriggerClick(event: MouseEvent): void;
|
|
2628
|
+
onTriggerKeydown(event: KeyboardEvent): void;
|
|
2629
|
+
closePanel(): void;
|
|
2630
|
+
onOverlayDetach(): void;
|
|
2631
|
+
panelId(): string;
|
|
2632
|
+
panelTitleId(): string;
|
|
2633
|
+
displayText(): string;
|
|
2634
|
+
currentSelectionText(): string;
|
|
2635
|
+
placeholderText(): string;
|
|
2636
|
+
ariaLabel(): string;
|
|
2637
|
+
chipLeadingIcon(): string;
|
|
2638
|
+
chipTrailingIcon(): string;
|
|
2639
|
+
chipTrailingIconColor(): string | undefined;
|
|
2640
|
+
formatEdgeValue(value: number): string;
|
|
2641
|
+
isReadonlyEffective(): boolean;
|
|
2642
|
+
private rebuildValidators;
|
|
2643
|
+
private buildRangeValidator;
|
|
2644
|
+
private syncRangeGroupFromControl;
|
|
2645
|
+
private currentNumericValue;
|
|
2646
|
+
private currentRangeValue;
|
|
2647
|
+
private distributionVisual;
|
|
2648
|
+
private resolveDistributionVisual;
|
|
2649
|
+
private parseDistributionConfig;
|
|
2650
|
+
private parseDistributionBins;
|
|
2651
|
+
private compactDistributionBins;
|
|
2652
|
+
private normalizeRangeValue;
|
|
2653
|
+
private inlineTexts;
|
|
2654
|
+
private buildAutoQuickPresets;
|
|
2655
|
+
private parseAutoPresetLabels;
|
|
2656
|
+
private parseQuickPresets;
|
|
2657
|
+
private parseObjectConfig;
|
|
2658
|
+
private parseQuickPresetSource;
|
|
2659
|
+
private parseJsonValue;
|
|
2660
|
+
private toNonEmptyText;
|
|
2661
|
+
private normalizePositivePx;
|
|
2662
|
+
private clampRatio;
|
|
2663
|
+
private resolveDistributionGapPx;
|
|
2664
|
+
private resolveDistributionRadiusPx;
|
|
2665
|
+
private presetToRangeValue;
|
|
2666
|
+
private presetToSingleValue;
|
|
2667
|
+
private clampRangeValue;
|
|
2668
|
+
private areRangeValuesEqual;
|
|
2669
|
+
private toFiniteNumberOrNull;
|
|
2670
|
+
private rememberTriggerElement;
|
|
2671
|
+
private restoreFocusToTrigger;
|
|
2672
|
+
private clampToBounds;
|
|
2673
|
+
private snapToStep;
|
|
2674
|
+
private decimalPlaces;
|
|
2675
|
+
private formatValue;
|
|
2676
|
+
private numberFormatter;
|
|
2677
|
+
private usesCurrencyFormatting;
|
|
2678
|
+
private usesPercentFormatting;
|
|
2679
|
+
private resolveNonEmptyString;
|
|
2680
|
+
private resetFormatterCache;
|
|
2681
|
+
private resetQuickPresetsCache;
|
|
2682
|
+
private resetDistributionCache;
|
|
2683
|
+
private resolveFieldLabelFromMetadata;
|
|
2684
|
+
private humanizeFieldName;
|
|
2685
|
+
private recalculateInlineSizeBounds;
|
|
2686
|
+
private resolveWidthBounds;
|
|
2687
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterInlineRangeSliderComponent, never>;
|
|
2688
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterInlineRangeSliderComponent, "pdx-filter-inline-range-slider", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
2689
|
+
}
|
|
2690
|
+
|
|
2691
|
+
declare class FilterInlineDateComponent extends MaterialDatepickerComponent {
|
|
2692
|
+
inputEl?: ElementRef<HTMLInputElement>;
|
|
2693
|
+
measureEl?: ElementRef<HTMLElement>;
|
|
2694
|
+
inlineWidthPx: number;
|
|
2695
|
+
inlineMaxWidthPx: number;
|
|
2696
|
+
private fieldLabelText;
|
|
2697
|
+
private resizeRafId;
|
|
2698
|
+
setDatepickerMetadata(metadata: MaterialDatepickerMetadata): void;
|
|
2699
|
+
onComponentInit(): void;
|
|
2700
|
+
ngAfterViewInit(): void;
|
|
2701
|
+
onComponentDestroy(): void;
|
|
2702
|
+
onViewportResize(): void;
|
|
2703
|
+
protected getSpecificCssClasses(): string[];
|
|
2704
|
+
isReadonlyEffective(): boolean;
|
|
2705
|
+
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
2706
|
+
showQuickClear(): boolean;
|
|
2707
|
+
showInlinePlaceholder(): boolean;
|
|
2708
|
+
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
2709
|
+
onQuickClear(event: MouseEvent): void;
|
|
2710
|
+
onInlineInput(): void;
|
|
2711
|
+
openPicker(picker: MatDatepicker<Date>, event: MouseEvent): void;
|
|
2712
|
+
widthProbeText(): string;
|
|
2713
|
+
placeholderText(): string;
|
|
2714
|
+
ariaLabel(): string;
|
|
2715
|
+
private hasValue;
|
|
2716
|
+
private scheduleInlineResize;
|
|
2717
|
+
private recalculateInlineWidth;
|
|
2718
|
+
private resolveWidthBounds;
|
|
2719
|
+
private resolveChromeWidth;
|
|
2720
|
+
private parsePx;
|
|
2721
|
+
private resolveFieldLabelFromMetadata;
|
|
2722
|
+
private humanizeFieldName;
|
|
2723
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterInlineDateComponent, never>;
|
|
2724
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterInlineDateComponent, "pdx-filter-inline-date", never, {}, {}, never, never, true, never>;
|
|
2725
|
+
}
|
|
2726
|
+
|
|
2727
|
+
type InlineDateQuickPresetApplyMode = 'auto' | 'confirm';
|
|
2728
|
+
interface InlineDateQuickPreset {
|
|
2729
|
+
id: string;
|
|
2730
|
+
label: string;
|
|
2731
|
+
icon?: string;
|
|
2732
|
+
disabled?: boolean;
|
|
2733
|
+
rangeDescription?: string;
|
|
2734
|
+
startDate: Date | null;
|
|
2735
|
+
endDate: Date | null;
|
|
2736
|
+
}
|
|
2737
|
+
declare class FilterInlineDateRangeComponent extends MaterialDateRangeComponent {
|
|
2738
|
+
pickerRef?: MatDateRangePicker<Date>;
|
|
2739
|
+
startInputEl?: ElementRef<HTMLInputElement>;
|
|
2740
|
+
endInputEl?: ElementRef<HTMLInputElement>;
|
|
2741
|
+
measureEl?: ElementRef<HTMLElement>;
|
|
2742
|
+
inlineWidthPx: number;
|
|
2743
|
+
inlineMaxWidthPx: number;
|
|
2744
|
+
inlineTextTruncated: boolean;
|
|
2745
|
+
private fieldLabelText;
|
|
2746
|
+
private resizeRafId;
|
|
2747
|
+
overlayOpen: boolean;
|
|
2748
|
+
private overlayCommittedInSession;
|
|
2749
|
+
private overlayBaseline;
|
|
2750
|
+
private draftPresetId;
|
|
2751
|
+
private autoApplyCalendarClickTeardown;
|
|
2752
|
+
private readonly overlayActionsContainerClass;
|
|
2753
|
+
private readonly overlayActionsDensityClassPrefix;
|
|
2754
|
+
private readonly defaultInlineShortcutIds;
|
|
2755
|
+
setDateRangeMetadata(metadata: MaterialDateRangeMetadata): void;
|
|
2756
|
+
setInputMetadata(metadata: MaterialDateRangeMetadata): void;
|
|
2757
|
+
protected setMetadata(metadata: MaterialDateRangeMetadata): void;
|
|
2758
|
+
onComponentInit(): void;
|
|
2759
|
+
ngAfterViewInit(): void;
|
|
2760
|
+
onComponentDestroy(): void;
|
|
2761
|
+
onViewportResize(): void;
|
|
2762
|
+
protected getSpecificCssClasses(): string[];
|
|
2763
|
+
protected resolveInlineContextTooltipValue(): string;
|
|
2764
|
+
panelClasses(): string[];
|
|
2765
|
+
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
2766
|
+
protected shouldPropagateRangeGroupChanges(): boolean;
|
|
2767
|
+
showInlineQuickPresets(): boolean;
|
|
2768
|
+
inlineQuickPresets(): InlineDateQuickPreset[];
|
|
2769
|
+
private buildInlineQuickPresets;
|
|
2770
|
+
quickPresetsAriaLabel(): string;
|
|
2771
|
+
overlayCancelLabel(): string;
|
|
2772
|
+
overlayApplyLabel(): string;
|
|
2773
|
+
overlayActionsAriaLabel(): string;
|
|
2774
|
+
overlayCancelAriaLabel(): string;
|
|
2775
|
+
overlayApplyAriaLabel(): string;
|
|
2776
|
+
inlineQuickPresetsApplyMode(): InlineDateQuickPresetApplyMode;
|
|
2777
|
+
presetAriaLabel(preset: InlineDateQuickPreset): string;
|
|
2778
|
+
presetTooltip(preset: InlineDateQuickPreset): string;
|
|
2779
|
+
shouldShowPresetTooltip(preset: InlineDateQuickPreset): boolean;
|
|
2780
|
+
isPresetActive(preset: InlineDateQuickPreset): boolean;
|
|
2781
|
+
applyQuickPreset(preset: InlineDateQuickPreset, event: MouseEvent): void;
|
|
2782
|
+
isInteractionBlocked(): boolean;
|
|
2783
|
+
showQuickClear(): boolean;
|
|
2784
|
+
showInlinePlaceholder(): boolean;
|
|
2785
|
+
quickClearAriaLabel(): string;
|
|
2786
|
+
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
2787
|
+
onQuickClear(event: MouseEvent): void;
|
|
2788
|
+
onInlineInput(): void;
|
|
2789
|
+
onInputKeydown(event: Event, picker: MatDateRangePicker<Date>): void;
|
|
2790
|
+
onFieldContainerClick(picker: MatDateRangePicker<Date>, event: MouseEvent): void;
|
|
2791
|
+
openPicker(picker: MatDateRangePicker<Date>, event: Event): void;
|
|
2792
|
+
onOverlayOpened(): void;
|
|
2793
|
+
onOverlayClosed(): void;
|
|
2794
|
+
onOverlayApplyAction(): void;
|
|
2795
|
+
onOverlayCancelAction(): void;
|
|
2796
|
+
placeholderText(): string;
|
|
2797
|
+
startPlaceholderText(): string;
|
|
2798
|
+
endPlaceholderText(): string;
|
|
2799
|
+
startAriaLabel(): string;
|
|
2800
|
+
endAriaLabel(): string;
|
|
2801
|
+
widthProbeText(): string;
|
|
2802
|
+
inlineExpandedLabel(): string;
|
|
2803
|
+
shouldShowInlineExpandedLabel(): boolean;
|
|
2804
|
+
private commitDateRangeValue;
|
|
2805
|
+
private currentRangeGroupValue;
|
|
2806
|
+
private cloneDateRangeValue;
|
|
2807
|
+
private restoreBaselineSelection;
|
|
2808
|
+
private displayRangeValue;
|
|
2809
|
+
private rangeDisplayText;
|
|
2810
|
+
hasValue(): boolean;
|
|
2811
|
+
hasBothValues(): boolean;
|
|
2812
|
+
hasPartialValue(): boolean;
|
|
2813
|
+
private coerceDate;
|
|
2814
|
+
private formatDate;
|
|
2815
|
+
private isSameDate;
|
|
2816
|
+
private resolveInlineQuickPresetConfig;
|
|
2817
|
+
private parsePositiveInt;
|
|
2818
|
+
private resolvePresetById;
|
|
2819
|
+
private scheduleInlineResize;
|
|
2820
|
+
private recalculateInlineWidth;
|
|
2821
|
+
private resolveWidthBounds;
|
|
2822
|
+
private resolveChromeWidth;
|
|
2823
|
+
private parsePx;
|
|
2824
|
+
private scheduleOverlayActionsContainerSync;
|
|
2825
|
+
private syncOverlayActionsContainerClass;
|
|
2826
|
+
private findOverlayActionsContainer;
|
|
2827
|
+
private syncAutoApplyCalendarBinding;
|
|
2828
|
+
private unbindAutoApplyCalendarBinding;
|
|
2829
|
+
private onAutoApplyCalendarInteraction;
|
|
2830
|
+
private overlayDensityPanelClass;
|
|
2831
|
+
private resolveDensityProfile;
|
|
2832
|
+
private isLikelyTruncatedLabel;
|
|
2833
|
+
private resolveFieldLabelFromMetadata;
|
|
2834
|
+
private normalizeLabelCandidate;
|
|
2835
|
+
private humanizeFieldName;
|
|
2836
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterInlineDateRangeComponent, never>;
|
|
2837
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterInlineDateRangeComponent, "pdx-filter-inline-date-range", never, {}, {}, never, never, true, never>;
|
|
2838
|
+
}
|
|
2839
|
+
|
|
2840
|
+
/**
|
|
2841
|
+
* Angular Material timepicker component used in dynamic forms.
|
|
2842
|
+
*
|
|
2843
|
+
* Provides a form field with an input connected to `mat-timepicker`, allowing
|
|
2844
|
+
* users to select a time of day. Built on top of the `SimpleBaseInputComponent`
|
|
2845
|
+
* to reuse control value accessor integration and validation handling.
|
|
2846
|
+
*/
|
|
2847
|
+
declare class MaterialTimepickerComponent extends SimpleBaseInputComponent {
|
|
2848
|
+
/** Emits whenever validation state changes. */
|
|
2849
|
+
readonly validationChange: _angular_core.OutputEmitterRef<ValidationErrors | null>;
|
|
2850
|
+
readonlyMode: boolean;
|
|
2851
|
+
disabledMode: boolean;
|
|
2852
|
+
visible: boolean;
|
|
2853
|
+
presentationMode: boolean;
|
|
2854
|
+
ngOnInit(): void;
|
|
2855
|
+
validateField(): Promise<ValidationErrors | null>;
|
|
2856
|
+
protected getSpecificCssClasses(): string[];
|
|
2857
|
+
/** Applies component metadata with strong typing. */
|
|
2858
|
+
setInputMetadata(metadata: MaterialTimepickerMetadata): void;
|
|
2859
|
+
isReadonlyEffective(): boolean;
|
|
2860
|
+
/** Calculates step attribute (seconds) based on metadata. */
|
|
2861
|
+
stepAttribute(): number | null;
|
|
2862
|
+
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
2863
|
+
private parseTimeToSeconds;
|
|
2864
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialTimepickerComponent, never>;
|
|
2865
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialTimepickerComponent, "pdx-material-timepicker", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, { "validationChange": "validationChange"; }, never, never, true, never>;
|
|
2866
|
+
}
|
|
2867
|
+
|
|
2868
|
+
type InlineTimeSegment = 'hours' | 'minutes' | 'seconds';
|
|
2869
|
+
declare class FilterInlineTimeComponent extends MaterialTimepickerComponent {
|
|
2870
|
+
inputEl?: ElementRef<HTMLInputElement>;
|
|
2871
|
+
measureEl?: ElementRef<HTMLElement>;
|
|
2872
|
+
panelEl?: ElementRef<HTMLElement>;
|
|
2873
|
+
inlineWidthPx: number;
|
|
2874
|
+
inlineMaxWidthPx: number;
|
|
2875
|
+
panelOpen: boolean;
|
|
2876
|
+
timeOptions: string[];
|
|
2877
|
+
hourOptions: number[];
|
|
2878
|
+
minuteOptions: number[];
|
|
2879
|
+
secondOptions: number[];
|
|
2880
|
+
usesSecondPrecision: boolean;
|
|
2881
|
+
private effectiveInlineMode;
|
|
2882
|
+
private fieldLabelText;
|
|
2883
|
+
private resizeRafId;
|
|
2884
|
+
private optionEntries;
|
|
2885
|
+
private selectedOption;
|
|
2886
|
+
private preferredSegments;
|
|
2887
|
+
private activeSegment;
|
|
2888
|
+
private lastTriggerElement;
|
|
2889
|
+
readonly overlayPositions: ConnectedPosition[];
|
|
2890
|
+
setInputMetadata(metadata: MaterialTimepickerMetadata): void;
|
|
2891
|
+
onComponentInit(): void;
|
|
2892
|
+
ngAfterViewInit(): void;
|
|
2893
|
+
onComponentDestroy(): void;
|
|
2894
|
+
onViewportResize(): void;
|
|
2895
|
+
protected getSpecificCssClasses(): string[];
|
|
2896
|
+
isReadonlyEffective(): boolean;
|
|
2897
|
+
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
2898
|
+
isInteractionBlocked(): boolean;
|
|
2899
|
+
showQuickClear(): boolean;
|
|
2900
|
+
showInlinePlaceholder(): boolean;
|
|
2901
|
+
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
2902
|
+
onQuickClear(event: MouseEvent): void;
|
|
2903
|
+
onInlineInput(): void;
|
|
2904
|
+
togglePanel(event: MouseEvent): void;
|
|
2905
|
+
openPanel(event?: Event): void;
|
|
2906
|
+
closePanel(): void;
|
|
2907
|
+
onOverlayDetach(): void;
|
|
2908
|
+
onInputKeydown(event: KeyboardEvent): void;
|
|
2909
|
+
onPanelKeydown(event: KeyboardEvent): void;
|
|
2910
|
+
selectTimeOption(option: string, event?: Event): void;
|
|
2911
|
+
isOptionSelected(option: string): boolean;
|
|
2912
|
+
isHourSelected(hour: number): boolean;
|
|
2913
|
+
isMinuteSelected(minute: number): boolean;
|
|
2914
|
+
isSecondSelected(second: number): boolean;
|
|
2915
|
+
isActiveSegment(segment: InlineTimeSegment): boolean;
|
|
2916
|
+
selectHour(hour: number, event?: Event): void;
|
|
2917
|
+
selectMinute(minute: number, event?: Event): void;
|
|
2918
|
+
selectSecond(second: number, event?: Event): void;
|
|
2919
|
+
formatSegmentValue(value: number): string;
|
|
2920
|
+
hasAvailableOptions(): boolean;
|
|
2921
|
+
isColumnsMode(): boolean;
|
|
2922
|
+
panelToggleAriaLabel(): string;
|
|
2923
|
+
panelToggleOpenIconName(): string;
|
|
2924
|
+
panelToggleClosedIconName(): string;
|
|
2925
|
+
panelToggleIconColor(): string | undefined;
|
|
2926
|
+
selectedOptionIconName(): string;
|
|
2927
|
+
selectedOptionIconColor(): string | undefined;
|
|
2928
|
+
hourColumnLabel(): string;
|
|
2929
|
+
minuteColumnLabel(): string;
|
|
2930
|
+
secondColumnLabel(): string;
|
|
2931
|
+
emptyStateLabel(): string;
|
|
2932
|
+
private handleColumnsKeyboard;
|
|
2933
|
+
private handleListKeyboard;
|
|
2934
|
+
private shiftActiveSegment;
|
|
2935
|
+
private moveActiveSegmentValue;
|
|
2936
|
+
private resolveAvailableSegments;
|
|
2937
|
+
private resolveCurrentActiveSegment;
|
|
2938
|
+
private getOptionsForSegment;
|
|
2939
|
+
private getSelectedValueForSegment;
|
|
2940
|
+
private focusPanelRoot;
|
|
2941
|
+
private focusCurrentOption;
|
|
2942
|
+
panelId(): string;
|
|
2943
|
+
widthProbeText(): string;
|
|
2944
|
+
placeholderText(): string;
|
|
2945
|
+
ariaLabel(): string;
|
|
2946
|
+
private hasValue;
|
|
2947
|
+
private scheduleInlineResize;
|
|
2948
|
+
private recalculateInlineWidth;
|
|
2949
|
+
private resolveWidthBounds;
|
|
2950
|
+
private resolveChromeWidth;
|
|
2951
|
+
private parsePx;
|
|
2952
|
+
private resolveFieldLabelFromMetadata;
|
|
2953
|
+
private humanizeFieldName;
|
|
2954
|
+
private normalizeControlValue;
|
|
2955
|
+
private resolveDisplayTime;
|
|
2956
|
+
private refreshTimeOptions;
|
|
2957
|
+
private resolveOptionsFromMetadata;
|
|
2958
|
+
private resolveStepSeconds;
|
|
2959
|
+
private applyMinuteStepConstraint;
|
|
2960
|
+
private parseTimeValue;
|
|
2961
|
+
private parseInlineTimeToSeconds;
|
|
2962
|
+
private timeFromSeconds;
|
|
2963
|
+
private toInlineOption;
|
|
2964
|
+
private formatOptionValue;
|
|
2965
|
+
private resolveUseSeconds;
|
|
2966
|
+
private normalizeEntries;
|
|
2967
|
+
private syncSelectionState;
|
|
2968
|
+
private refreshColumnOptions;
|
|
2969
|
+
private selectBySegment;
|
|
2970
|
+
private findBestMatch;
|
|
2971
|
+
private rememberTriggerElement;
|
|
2972
|
+
private restoreFocusToTrigger;
|
|
2973
|
+
private commitOptionSelection;
|
|
2974
|
+
private findOptionByValue;
|
|
2975
|
+
private findClosestBySeconds;
|
|
2976
|
+
private resolveEffectiveInlineMode;
|
|
2977
|
+
private resolveInlineMode;
|
|
2978
|
+
private resolveInlineTexts;
|
|
2979
|
+
private scrollSelectedIntoView;
|
|
2980
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterInlineTimeComponent, never>;
|
|
2981
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterInlineTimeComponent, "pdx-filter-inline-time", never, {}, {}, never, never, true, never>;
|
|
2982
|
+
}
|
|
2983
|
+
|
|
2984
|
+
interface TimeRangeValue {
|
|
2985
|
+
start: string | null;
|
|
2986
|
+
end: string | null;
|
|
2987
|
+
}
|
|
2988
|
+
declare class PdxMaterialTimeRangeComponent extends SimpleBaseInputComponent implements OnInit {
|
|
2989
|
+
readonlyMode: boolean;
|
|
2990
|
+
disabledMode: boolean;
|
|
2991
|
+
visible: boolean;
|
|
2992
|
+
presentationMode: boolean;
|
|
2993
|
+
timeRangeForm: FormGroup<{
|
|
2994
|
+
start: FormControl<string | null>;
|
|
2995
|
+
end: FormControl<string | null>;
|
|
2996
|
+
}>;
|
|
2997
|
+
private get meta();
|
|
2998
|
+
startLabel: () => string;
|
|
2999
|
+
endLabel: () => string;
|
|
3000
|
+
startPlaceholder: () => string;
|
|
3001
|
+
endPlaceholder: () => string;
|
|
3002
|
+
ngOnInit(): void;
|
|
3003
|
+
writeValue(value: TimeRangeValue | null): void;
|
|
3004
|
+
setDisabledState(isDisabled: boolean): void;
|
|
3005
|
+
private rangeOrderValidator;
|
|
3006
|
+
private minDistanceValidator;
|
|
3007
|
+
private maxDistanceValidator;
|
|
3008
|
+
private timeToMinutes;
|
|
3009
|
+
setInputMetadata(metadata: MaterialTimeRangeMetadata): void;
|
|
3010
|
+
isReadonlyEffective(): boolean;
|
|
3011
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PdxMaterialTimeRangeComponent, never>;
|
|
3012
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PdxMaterialTimeRangeComponent, "pdx-material-time-range", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
3013
|
+
}
|
|
3014
|
+
|
|
3015
|
+
interface InlineTimeRangePreset {
|
|
3016
|
+
id: string;
|
|
3017
|
+
label: string;
|
|
3018
|
+
start: number;
|
|
3019
|
+
end: number;
|
|
3020
|
+
}
|
|
3021
|
+
declare class FilterInlineTimeRangeComponent extends PdxMaterialTimeRangeComponent {
|
|
3022
|
+
measureEl?: ElementRef<HTMLElement>;
|
|
3023
|
+
panelOpen: boolean;
|
|
3024
|
+
inlineMinWidthPx: number;
|
|
3025
|
+
inlineMaxWidthPx: number;
|
|
3026
|
+
panelMinWidthPx: number;
|
|
3027
|
+
panelMaxWidthPx: number;
|
|
3028
|
+
readonly overlayPositions: ConnectedPosition[];
|
|
3029
|
+
readonly sliderRangeForm: FormGroup<{
|
|
3030
|
+
start: FormControl<number | null>;
|
|
3031
|
+
end: FormControl<number | null>;
|
|
3032
|
+
}>;
|
|
3033
|
+
readonly displayWithFn: (value: number) => string;
|
|
3034
|
+
private fieldLabelText;
|
|
3035
|
+
private resizeRafId;
|
|
3036
|
+
private sliderSyncInProgress;
|
|
3037
|
+
private timeFormSyncInProgress;
|
|
3038
|
+
private activePresetId;
|
|
3039
|
+
private activeSliderThumb;
|
|
3040
|
+
private presetCacheRaw;
|
|
3041
|
+
private presetCacheMin;
|
|
3042
|
+
private presetCacheMax;
|
|
3043
|
+
private presetCache;
|
|
3044
|
+
private trackGradientCacheKey;
|
|
3045
|
+
private trackGradientCacheValue;
|
|
3046
|
+
private lastTriggerElement;
|
|
3047
|
+
setInputMetadata(metadata: MaterialTimeRangeMetadata): void;
|
|
3048
|
+
ngOnInit(): void;
|
|
3049
|
+
ngAfterViewInit(): void;
|
|
3050
|
+
onComponentDestroy(): void;
|
|
3051
|
+
onViewportResize(): void;
|
|
3052
|
+
onDocumentEscape(): void;
|
|
3053
|
+
protected getSpecificCssClasses(): string[];
|
|
3054
|
+
protected resolveInlineContextTooltipValue(): string;
|
|
3055
|
+
trackGradientCss(): string;
|
|
3056
|
+
minMinutes(): number;
|
|
3057
|
+
maxMinutes(): number;
|
|
3058
|
+
stepMinutes(): number;
|
|
3059
|
+
showTickMarks(): boolean;
|
|
3060
|
+
isInteractionBlocked(): boolean;
|
|
3061
|
+
hasValue(): boolean;
|
|
3062
|
+
hasBothValues(): boolean;
|
|
3063
|
+
hasPartialValue(): boolean;
|
|
3064
|
+
showInlinePlaceholder(): boolean;
|
|
3065
|
+
showQuickClear(): boolean;
|
|
3066
|
+
displayText(): string;
|
|
3067
|
+
widthProbeText(): string;
|
|
3068
|
+
placeholderText(): string;
|
|
3069
|
+
panelTitle(): string;
|
|
3070
|
+
ariaLabel(): string;
|
|
3071
|
+
quickPresetsAriaLabel(): string;
|
|
3072
|
+
chipLeadingIcon(): string;
|
|
3073
|
+
currentStartLabel(): string;
|
|
3074
|
+
currentEndLabel(): string;
|
|
3075
|
+
startInputLabel(): string;
|
|
3076
|
+
endInputLabel(): string;
|
|
3077
|
+
minTimeBound(): string;
|
|
3078
|
+
maxTimeBound(): string;
|
|
3079
|
+
timeInputStepSeconds(): number;
|
|
3080
|
+
hasPanelValidationError(): boolean;
|
|
3081
|
+
panelValidationMessage(): string;
|
|
3082
|
+
quickPresets(): InlineTimeRangePreset[];
|
|
3083
|
+
isPresetActive(preset: InlineTimeRangePreset): boolean;
|
|
3084
|
+
presetAriaLabel(preset: InlineTimeRangePreset): string;
|
|
3085
|
+
applyQuickPreset(preset: InlineTimeRangePreset, event: MouseEvent): void;
|
|
3086
|
+
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
3087
|
+
onQuickClear(event: MouseEvent): void;
|
|
3088
|
+
onManualInputBlur(controlName: 'start' | 'end'): void;
|
|
3089
|
+
onTriggerClick(event: MouseEvent): void;
|
|
3090
|
+
onTriggerKeydown(event: KeyboardEvent): void;
|
|
3091
|
+
onThumbDragStart(thumb: 'start' | 'end'): void;
|
|
3092
|
+
onThumbDragEnd(): void;
|
|
3093
|
+
closePanel(): void;
|
|
3094
|
+
onOverlayDetach(): void;
|
|
3095
|
+
panelId(): string;
|
|
3096
|
+
panelTitleId(): string;
|
|
3097
|
+
private onSliderChanged;
|
|
3098
|
+
private patchTimeFormFromMinutes;
|
|
3099
|
+
private syncSliderFromTimeForm;
|
|
3100
|
+
private syncPresetState;
|
|
3101
|
+
private resolvePresetIdByRange;
|
|
3102
|
+
private defaultQuickPresets;
|
|
3103
|
+
private parseQuickPresets;
|
|
3104
|
+
private resolveTrackShifts;
|
|
3105
|
+
private resolveTrackShiftColor;
|
|
3106
|
+
private buildTrackGradient;
|
|
3107
|
+
private rangeDisplayText;
|
|
3108
|
+
private resolveDisplayTime;
|
|
3109
|
+
private parseTimeToMinutes;
|
|
3110
|
+
private minutesToTimeString;
|
|
3111
|
+
private clampMinutes;
|
|
3112
|
+
private clampRangeMinutes;
|
|
3113
|
+
private normalizeSliderMinutes;
|
|
3114
|
+
private scheduleInlineResize;
|
|
3115
|
+
private recalculateInlineWidth;
|
|
3116
|
+
private resolveChromeWidth;
|
|
3117
|
+
private resolveWidthBounds;
|
|
3118
|
+
private recalculateInlineSizeBounds;
|
|
3119
|
+
private resolveFieldLabelFromMetadata;
|
|
3120
|
+
private humanizeFieldName;
|
|
3121
|
+
private rememberTriggerElement;
|
|
3122
|
+
private restoreFocusToTrigger;
|
|
3123
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterInlineTimeRangeComponent, never>;
|
|
3124
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterInlineTimeRangeComponent, "pdx-filter-inline-time-range", never, {}, {}, never, never, true, never>;
|
|
3125
|
+
}
|
|
3126
|
+
|
|
3127
|
+
declare class FilterInlineTreeSelectComponent extends SimpleBaseSelectComponent {
|
|
3128
|
+
readonlyMode: boolean;
|
|
3129
|
+
disabledMode: boolean;
|
|
3130
|
+
visible: boolean;
|
|
3131
|
+
presentationMode: boolean;
|
|
3132
|
+
searchInput?: ElementRef<HTMLInputElement>;
|
|
3133
|
+
menuTrigger?: MatMenuTrigger;
|
|
3134
|
+
readonly treeControl: NestedTreeControl<MaterialTreeNode, MaterialTreeNode>;
|
|
3135
|
+
readonly dataSource: MatTreeNestedDataSource<MaterialTreeNode>;
|
|
3136
|
+
readonly leafOnly: _angular_core.WritableSignal<boolean>;
|
|
3137
|
+
readonly autoExpandOnSearch: _angular_core.WritableSignal<boolean>;
|
|
3138
|
+
readonly returnPath: _angular_core.WritableSignal<boolean>;
|
|
3139
|
+
readonly returnObject: _angular_core.WritableSignal<boolean>;
|
|
3140
|
+
readonly selectedNode: _angular_core.WritableSignal<MaterialTreeNode | null>;
|
|
3141
|
+
readonly selectedPathLabels: _angular_core.WritableSignal<string[]>;
|
|
3142
|
+
inlineMinWidthPx: number;
|
|
3143
|
+
inlineMaxWidthPx: number;
|
|
3144
|
+
private allNodes;
|
|
3145
|
+
private parentMap;
|
|
3146
|
+
private fieldLabelText;
|
|
3147
|
+
private nodeDomKeys;
|
|
3148
|
+
private nodeDomCounter;
|
|
3149
|
+
hasChild: (_: number, node: MaterialTreeNode) => boolean;
|
|
3150
|
+
onComponentInit(): void;
|
|
3151
|
+
setInputMetadata(metadata: MaterialTreeSelectMetadata): void;
|
|
3152
|
+
setTreeMetadata(metadata: MaterialTreeSelectMetadata): void;
|
|
3153
|
+
onViewportResize(): void;
|
|
3154
|
+
protected getSpecificCssClasses(): string[];
|
|
3155
|
+
showQuickClear(): boolean;
|
|
3156
|
+
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
3157
|
+
onQuickClear(event: MouseEvent): void;
|
|
3158
|
+
onMenuOpened(): void;
|
|
3159
|
+
onMenuClosed(): void;
|
|
3160
|
+
onSearchInput(term: string): void;
|
|
3161
|
+
toggleNode(node: MaterialTreeNode, event: MouseEvent): void;
|
|
3162
|
+
onNodeClick(node: MaterialTreeNode, event: MouseEvent): void;
|
|
3163
|
+
selectNode(node: MaterialTreeNode): void;
|
|
3164
|
+
isSelected(node: MaterialTreeNode): boolean;
|
|
3165
|
+
isNodeDisabled(node: MaterialTreeNode): boolean;
|
|
3166
|
+
handleKeydown(event: KeyboardEvent, node: MaterialTreeNode): void;
|
|
3167
|
+
filteredTreeCount(): number;
|
|
3168
|
+
emptyStateText(): string;
|
|
3169
|
+
displayText(): string;
|
|
3170
|
+
hasSelection(): boolean;
|
|
3171
|
+
placeholderText(): string;
|
|
3172
|
+
searchPlaceholderText(): string;
|
|
3173
|
+
ariaLabel(): string;
|
|
3174
|
+
nodeDomKey(node: MaterialTreeNode): string;
|
|
3175
|
+
private resolveValue;
|
|
3176
|
+
private getPath;
|
|
3177
|
+
private focusSiblingNode;
|
|
3178
|
+
private focusNode;
|
|
3179
|
+
private getVisibleNodes;
|
|
3180
|
+
private applyFilter;
|
|
3181
|
+
private filterNodes;
|
|
3182
|
+
private countNodes;
|
|
3183
|
+
private syncSelectedState;
|
|
3184
|
+
private findNodeByCurrentValue;
|
|
3185
|
+
private matchesCurrentValue;
|
|
3186
|
+
private normalizeNodes;
|
|
3187
|
+
private buildParentMap;
|
|
3188
|
+
private resolveFieldLabelFromMetadata;
|
|
3189
|
+
private humanizeFieldName;
|
|
3190
|
+
private areValuesEqual;
|
|
3191
|
+
private recalculateInlineSizeBounds;
|
|
3192
|
+
private resolveWidthBounds;
|
|
3193
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterInlineTreeSelectComponent, never>;
|
|
3194
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterInlineTreeSelectComponent, "pdx-filter-inline-tree-select", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
3195
|
+
}
|
|
3196
|
+
|
|
3197
|
+
type InlineRatingTone = 'low' | 'mid' | 'high';
|
|
3198
|
+
declare class FilterInlineRatingComponent extends FilterInlineRangeSliderComponent {
|
|
3199
|
+
readonly overlayPositions: ConnectedPosition[];
|
|
3200
|
+
readonly rangeGroup: FormGroup<{
|
|
3201
|
+
start: FormControl<number | null>;
|
|
3202
|
+
end: FormControl<number | null>;
|
|
3203
|
+
}>;
|
|
3204
|
+
minValue(): number;
|
|
3205
|
+
maxValue(): number;
|
|
3206
|
+
stepValue(): number;
|
|
3207
|
+
isRangeMode(): boolean;
|
|
3208
|
+
chipLeadingIcon(): string;
|
|
3209
|
+
ratingBadgeIconName(): string;
|
|
3210
|
+
ratingBadgeIconColor(): string | undefined;
|
|
3211
|
+
ratingActiveStarIconName(): string;
|
|
3212
|
+
ratingInactiveStarIconName(): string;
|
|
3213
|
+
currentSelectionText(): string;
|
|
3214
|
+
placeholderText(): string;
|
|
3215
|
+
ariaLabel(): string;
|
|
3216
|
+
protected getSpecificCssClasses(): string[];
|
|
3217
|
+
protected resolveInlineContextTooltipValue(): string;
|
|
3218
|
+
ratingScaleSlots(): number[];
|
|
3219
|
+
slotTone(slot: number): InlineRatingTone;
|
|
3220
|
+
isSlotInSelectedRange(slot: number): boolean;
|
|
3221
|
+
selectedStartLabel(): string;
|
|
3222
|
+
selectedEndLabel(): string;
|
|
3223
|
+
ratingStarsAriaLabel(): string;
|
|
3224
|
+
toneLowColor(): string | null;
|
|
3225
|
+
toneMidColor(): string | null;
|
|
3226
|
+
toneHighColor(): string | null;
|
|
3227
|
+
badgeStarColor(): string | null;
|
|
3228
|
+
private readSelectedRange;
|
|
3229
|
+
private readRangeForDisplay;
|
|
3230
|
+
private toNumberOrNull;
|
|
3231
|
+
private clampValue;
|
|
3232
|
+
private formatRatingValue;
|
|
3233
|
+
private resolveAllowHalfFlag;
|
|
3234
|
+
private resolveColorToken;
|
|
3235
|
+
private parseColorPalette;
|
|
3236
|
+
private resolveRatingLabelFromMetadata;
|
|
3237
|
+
private humanizeRatingFieldName;
|
|
3238
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterInlineRatingComponent, never>;
|
|
3239
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterInlineRatingComponent, "pdx-filter-inline-rating", never, {}, {}, never, never, true, never>;
|
|
3240
|
+
}
|
|
3241
|
+
|
|
3242
|
+
type DistanceUnit = 'km' | 'mi';
|
|
3243
|
+
interface DistancePreset {
|
|
3244
|
+
id: string;
|
|
3245
|
+
valueBase: number | null;
|
|
3246
|
+
startBase: number | null;
|
|
3247
|
+
endBase: number | null;
|
|
3248
|
+
label: string;
|
|
3249
|
+
icon?: string;
|
|
3250
|
+
}
|
|
3251
|
+
declare class FilterInlineDistanceRadiusComponent extends FilterInlineRangeSliderComponent {
|
|
3252
|
+
readonly overlayPositions: ConnectedPosition[];
|
|
3253
|
+
readonly rangeGroup: FormGroup<{
|
|
3254
|
+
start: FormControl<number | null>;
|
|
3255
|
+
end: FormControl<number | null>;
|
|
3256
|
+
}>;
|
|
3257
|
+
private currentUnit;
|
|
3258
|
+
setInputMetadata(metadata: MaterialRangeSliderMetadata): void;
|
|
3259
|
+
protected setMetadata(metadata: MaterialRangeSliderMetadata): void;
|
|
3260
|
+
onComponentInit(): void;
|
|
3261
|
+
minValue(): number;
|
|
3262
|
+
maxValue(): number;
|
|
3263
|
+
stepValue(): number;
|
|
3264
|
+
isRangeMode(): boolean;
|
|
3265
|
+
chipLeadingIcon(): string;
|
|
3266
|
+
placeholderText(): string;
|
|
3267
|
+
currentSelectionText(): string;
|
|
3268
|
+
ariaLabel(): string;
|
|
3269
|
+
protected getSpecificCssClasses(): string[];
|
|
3270
|
+
protected resolveInlineContextTooltipValue(): string;
|
|
3271
|
+
activeUnit(): DistanceUnit;
|
|
3272
|
+
setActiveUnit(unit: DistanceUnit, event?: Event): void;
|
|
3273
|
+
activeUnitLabel(): string;
|
|
3274
|
+
availableUnits(): DistanceUnit[];
|
|
3275
|
+
showUnitToggle(): boolean;
|
|
3276
|
+
unitButtonLabel(unit: DistanceUnit): string;
|
|
3277
|
+
displayDistanceValue(): number;
|
|
3278
|
+
displayDistanceText(): string;
|
|
3279
|
+
displayMinLabel(): string;
|
|
3280
|
+
displayMaxLabel(): string;
|
|
3281
|
+
panelSubtitleText(): string;
|
|
3282
|
+
unitToggleAriaLabel(): string;
|
|
3283
|
+
radialRingScales(): number[];
|
|
3284
|
+
ringTransform(scale: number): string;
|
|
3285
|
+
ringOpacity(scale: number): number;
|
|
3286
|
+
isRingActive(scale: number): boolean;
|
|
3287
|
+
radialFillTransform(): string;
|
|
3288
|
+
radialFillOpacity(): number;
|
|
3289
|
+
distancePresets(): DistancePreset[];
|
|
3290
|
+
distancePresetsAriaLabel(): string;
|
|
3291
|
+
distancePresetAriaLabel(preset: DistancePreset): string;
|
|
3292
|
+
isDistancePresetActive(preset: DistancePreset): boolean;
|
|
3293
|
+
applyDistancePreset(preset: DistancePreset, event?: Event): void;
|
|
3294
|
+
distanceAccentColor(): string | null;
|
|
3295
|
+
distanceRingColor(): string | null;
|
|
3296
|
+
distanceTrackColor(): string | null;
|
|
3297
|
+
distanceGlowColor(): string | null;
|
|
3298
|
+
private syncUnitFromMetadata;
|
|
3299
|
+
private normalizedDistanceRatio;
|
|
3300
|
+
private radialFillScale;
|
|
3301
|
+
private currentBaseValue;
|
|
3302
|
+
private currentRangeBaseValue;
|
|
3303
|
+
private currentRadialBaseValue;
|
|
3304
|
+
private clampBaseValue;
|
|
3305
|
+
private baseUnit;
|
|
3306
|
+
private toDisplayValue;
|
|
3307
|
+
private toBaseValue;
|
|
3308
|
+
private formatDistanceForUnit;
|
|
3309
|
+
private resolveDisplayDecimals;
|
|
3310
|
+
private normalizePreset;
|
|
3311
|
+
private buildPresetLabel;
|
|
3312
|
+
private buildPresetRangeLabel;
|
|
3313
|
+
private defaultDistancePresets;
|
|
3314
|
+
private defaultDistanceRangePresets;
|
|
3315
|
+
private rangeForDisplay;
|
|
3316
|
+
private normalizeRangeBaseValue;
|
|
3317
|
+
private areRangesEqual;
|
|
3318
|
+
private formatBaseDistance;
|
|
3319
|
+
private toDistanceNumberOrNull;
|
|
3320
|
+
private parsePresetSource;
|
|
3321
|
+
private parseUnit;
|
|
3322
|
+
private parseUnitList;
|
|
3323
|
+
private parseStringToArray;
|
|
3324
|
+
private parseObject;
|
|
3325
|
+
private resolveColorToken;
|
|
3326
|
+
private resolveLabelFromMetadata;
|
|
3327
|
+
private humanizeDistanceFieldName;
|
|
3328
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterInlineDistanceRadiusComponent, never>;
|
|
3329
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterInlineDistanceRadiusComponent, "pdx-filter-inline-distance-radius", never, {}, {}, never, never, true, never>;
|
|
3330
|
+
}
|
|
3331
|
+
|
|
3332
|
+
type PipelineOptionValue = unknown;
|
|
3333
|
+
interface PipelineOptionVisual {
|
|
3334
|
+
id: string;
|
|
3335
|
+
label: string;
|
|
3336
|
+
subtitle: string;
|
|
3337
|
+
value: PipelineOptionValue;
|
|
3338
|
+
color: string;
|
|
3339
|
+
weight: number;
|
|
3340
|
+
disabled: boolean;
|
|
3341
|
+
selected: boolean;
|
|
3342
|
+
}
|
|
3343
|
+
interface PipelineSegmentVisual {
|
|
3344
|
+
id: string;
|
|
3345
|
+
label: string;
|
|
3346
|
+
color: string;
|
|
3347
|
+
widthPct: number;
|
|
3348
|
+
selected: boolean;
|
|
3349
|
+
}
|
|
3350
|
+
declare class FilterInlinePipelineStatusComponent extends SimpleBaseSelectComponent {
|
|
3351
|
+
readonlyMode: boolean;
|
|
3352
|
+
disabledMode: boolean;
|
|
3353
|
+
visible: boolean;
|
|
3354
|
+
presentationMode: boolean;
|
|
3355
|
+
searchInput?: ElementRef<HTMLInputElement>;
|
|
3356
|
+
readonly overlayPositions: ConnectedPosition[];
|
|
3357
|
+
inlineMinWidthPx: number;
|
|
3358
|
+
inlineMaxWidthPx: number;
|
|
3359
|
+
panelMinWidthPx: number;
|
|
3360
|
+
panelMaxWidthPx: number;
|
|
3361
|
+
panelOpen: boolean;
|
|
3362
|
+
private fieldLabelText;
|
|
3363
|
+
private lastTriggerElement;
|
|
3364
|
+
setSelectMetadata(metadata: SimpleSelectMetadata<any>): void;
|
|
3365
|
+
protected setMetadata(metadata: MaterialSelectMetadata): void;
|
|
3366
|
+
onComponentInit(): void;
|
|
3367
|
+
onViewportResize(): void;
|
|
3368
|
+
onDocumentEscape(): void;
|
|
3369
|
+
protected getSpecificCssClasses(): string[];
|
|
3370
|
+
protected resolveInlineContextTooltipValue(): string;
|
|
3371
|
+
hasSelection(): boolean;
|
|
3372
|
+
displayText(): string;
|
|
3373
|
+
showQuickClear(): boolean;
|
|
3374
|
+
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
3375
|
+
onQuickClear(event: MouseEvent): void;
|
|
3376
|
+
onTriggerClick(event: MouseEvent): void;
|
|
3377
|
+
onTriggerKeydown(event: KeyboardEvent): void;
|
|
3378
|
+
closePanel(): void;
|
|
3379
|
+
onOverlayDetach(): void;
|
|
3380
|
+
panelId(): string;
|
|
3381
|
+
panelTitleId(): string;
|
|
3382
|
+
panelTitleText(): string;
|
|
3383
|
+
panelSubtitleText(): string;
|
|
3384
|
+
searchPlaceholderText(): string;
|
|
3385
|
+
panelSearchIconName(fallback?: string): string;
|
|
3386
|
+
panelSearchIconColor(): string | undefined;
|
|
3387
|
+
onPanelSearchInput(term: string): void;
|
|
3388
|
+
showPipelineBar(): boolean;
|
|
3389
|
+
showSelectionPills(): boolean;
|
|
3390
|
+
showSelectionActions(): boolean;
|
|
3391
|
+
selectionActionsAriaLabel(): string;
|
|
3392
|
+
selectAllActionText(): string;
|
|
3393
|
+
clearSelectionActionText(): string;
|
|
3394
|
+
selectionPillsAriaLabel(): string;
|
|
3395
|
+
showSelectAllAction(): boolean;
|
|
3396
|
+
showClearSelectionAction(): boolean;
|
|
3397
|
+
onSelectAllClick(event: MouseEvent): void;
|
|
3398
|
+
onClearSelectionClick(event: MouseEvent): void;
|
|
3399
|
+
pipelineOptions(): PipelineOptionVisual[];
|
|
3400
|
+
selectedVisualOptions(): PipelineOptionVisual[];
|
|
3401
|
+
pipelineSegments(): PipelineSegmentVisual[];
|
|
3402
|
+
pipelineBarAriaLabel(): string;
|
|
3403
|
+
optionsGroupAriaLabel(): string;
|
|
3404
|
+
optionAriaLabel(option: PipelineOptionVisual): string;
|
|
3405
|
+
toggleOption(option: PipelineOptionVisual, event?: Event): void;
|
|
3406
|
+
onOptionKeydown(event: Event, option: PipelineOptionVisual): void;
|
|
3407
|
+
chipLeadingIcon(): string;
|
|
3408
|
+
placeholderText(): string;
|
|
3409
|
+
ariaLabel(): string;
|
|
3410
|
+
emptyStateText(): string;
|
|
3411
|
+
private resolveMultipleMode;
|
|
3412
|
+
private selectedValues;
|
|
3413
|
+
isInteractionBlocked(): boolean;
|
|
3414
|
+
private toVisualOption;
|
|
3415
|
+
private resolveOptionSubtitle;
|
|
3416
|
+
private resolveOptionWeight;
|
|
3417
|
+
private resolveOptionColor;
|
|
3418
|
+
private resolveFallbackColor;
|
|
3419
|
+
private parseColorPalette;
|
|
3420
|
+
private resolvePipelineText;
|
|
3421
|
+
private interpolatePipelineTemplate;
|
|
3422
|
+
private resolveMetadataKey;
|
|
3423
|
+
private parseObjectConfig;
|
|
3424
|
+
private nonEmptyText;
|
|
3425
|
+
private mapRawOption;
|
|
3426
|
+
private equalsOptionValue;
|
|
3427
|
+
private resolveFieldLabelFromMetadata;
|
|
3428
|
+
private humanizeFieldName;
|
|
3429
|
+
private recalculateInlineSizeBounds;
|
|
3430
|
+
private resolveWidthBounds;
|
|
3431
|
+
private rememberTriggerElement;
|
|
3432
|
+
private restoreFocusToTrigger;
|
|
3433
|
+
private multipleMode;
|
|
3434
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterInlinePipelineStatusComponent, never>;
|
|
3435
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterInlinePipelineStatusComponent, "pdx-filter-inline-pipeline-status", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
3436
|
+
}
|
|
3437
|
+
|
|
3438
|
+
interface ScoreBandVisual {
|
|
3439
|
+
id: string;
|
|
3440
|
+
label: string;
|
|
3441
|
+
color: string;
|
|
3442
|
+
start: number;
|
|
3443
|
+
end: number;
|
|
3444
|
+
startPct: number;
|
|
3445
|
+
endPct: number;
|
|
3446
|
+
centerPct: number;
|
|
3447
|
+
}
|
|
3448
|
+
declare class FilterInlineScorePriorityComponent extends FilterInlineRangeSliderComponent {
|
|
3449
|
+
readonly overlayPositions: ConnectedPosition[];
|
|
3450
|
+
readonly rangeGroup: FormGroup<{
|
|
3451
|
+
start: FormControl<number | null>;
|
|
3452
|
+
end: FormControl<number | null>;
|
|
3453
|
+
}>;
|
|
3454
|
+
minValue(): number;
|
|
3455
|
+
maxValue(): number;
|
|
3456
|
+
stepValue(): number;
|
|
3457
|
+
isRangeMode(): boolean;
|
|
3458
|
+
chipLeadingIcon(): string;
|
|
3459
|
+
placeholderText(): string;
|
|
3460
|
+
currentSelectionText(): string;
|
|
3461
|
+
ariaLabel(): string;
|
|
3462
|
+
protected getSpecificCssClasses(): string[];
|
|
3463
|
+
protected resolveInlineContextTooltipValue(): string;
|
|
3464
|
+
panelSubtitleText(): string;
|
|
3465
|
+
scoreBands(): ScoreBandVisual[];
|
|
3466
|
+
scoreGradient(): string;
|
|
3467
|
+
showScaleLabels(): boolean;
|
|
3468
|
+
showBandChips(): boolean;
|
|
3469
|
+
selectedStartPct(): number;
|
|
3470
|
+
selectedEndPct(): number;
|
|
3471
|
+
selectedSinglePct(): number;
|
|
3472
|
+
selectedStartText(): string;
|
|
3473
|
+
selectedEndText(): string;
|
|
3474
|
+
selectedSingleText(): string;
|
|
3475
|
+
selectedStartBandLabel(): string;
|
|
3476
|
+
selectedEndBandLabel(): string;
|
|
3477
|
+
selectedSingleBandLabel(): string;
|
|
3478
|
+
selectedStartColor(): string;
|
|
3479
|
+
selectedEndColor(): string;
|
|
3480
|
+
selectedSingleColor(): string;
|
|
3481
|
+
scoreUnitText(): string;
|
|
3482
|
+
formatScoreNumber(value: number): string;
|
|
3483
|
+
rangeValueSeparatorText(): string;
|
|
3484
|
+
bandsAriaLabel(): string;
|
|
3485
|
+
bandAriaLabel(band: ScoreBandVisual): string;
|
|
3486
|
+
isBandActive(band: ScoreBandVisual): boolean;
|
|
3487
|
+
applyBandPreset(band: ScoreBandVisual, event?: Event): void;
|
|
3488
|
+
onViewportResize(): void;
|
|
3489
|
+
onDocumentEscape(): void;
|
|
3490
|
+
setInputMetadata(metadata: MaterialRangeSliderMetadata): void;
|
|
3491
|
+
protected setMetadata(metadata: MaterialRangeSliderMetadata): void;
|
|
3492
|
+
onComponentInit(): void;
|
|
3493
|
+
private scoreReadSingleFromControl;
|
|
3494
|
+
private scoreReadRangeFromControl;
|
|
3495
|
+
private scoreRangeForDisplay;
|
|
3496
|
+
private scoreNormalizeRange;
|
|
3497
|
+
private scoreBuildBandVisual;
|
|
3498
|
+
private scoreFallbackColor;
|
|
3499
|
+
private scoreParseBandsSource;
|
|
3500
|
+
private scoreBandForValue;
|
|
3501
|
+
private scoreValueToPct;
|
|
3502
|
+
private scoreRangeToPct;
|
|
3503
|
+
private scoreClampValue;
|
|
3504
|
+
private scoreToFiniteNumber;
|
|
3505
|
+
private scoreResolveDecimals;
|
|
3506
|
+
private scoreResolveLabel;
|
|
3507
|
+
private scoreHumanizeName;
|
|
3508
|
+
private scoreUnitSuffix;
|
|
3509
|
+
private scoreSelectedFallbackColor;
|
|
3510
|
+
private resolveScoreText;
|
|
3511
|
+
private interpolateTemplate;
|
|
3512
|
+
private parseScoreObjectConfig;
|
|
3513
|
+
private parseColorList;
|
|
3514
|
+
private nonEmptyText;
|
|
3515
|
+
private scoreRecalculateInlineSizeBounds;
|
|
3516
|
+
private scoreResolveWidthBounds;
|
|
3517
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterInlineScorePriorityComponent, never>;
|
|
3518
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterInlineScorePriorityComponent, "pdx-filter-inline-score-priority", never, {}, {}, never, never, true, never>;
|
|
3519
|
+
}
|
|
3520
|
+
|
|
3521
|
+
interface RelativePeriodOptionVisual {
|
|
3522
|
+
id: string;
|
|
3523
|
+
label: string;
|
|
3524
|
+
subtitle: string;
|
|
3525
|
+
icon: string;
|
|
3526
|
+
value: unknown;
|
|
3527
|
+
disabled: boolean;
|
|
3528
|
+
selected: boolean;
|
|
3529
|
+
}
|
|
3530
|
+
declare class FilterInlineRelativePeriodComponent extends SimpleBaseSelectComponent {
|
|
3531
|
+
readonlyMode: boolean;
|
|
3532
|
+
disabledMode: boolean;
|
|
3533
|
+
visible: boolean;
|
|
3534
|
+
presentationMode: boolean;
|
|
3535
|
+
searchInput?: ElementRef<HTMLInputElement>;
|
|
3536
|
+
readonly overlayPositions: ConnectedPosition[];
|
|
3537
|
+
inlineMinWidthPx: number;
|
|
3538
|
+
inlineMaxWidthPx: number;
|
|
3539
|
+
panelMinWidthPx: number;
|
|
3540
|
+
panelMaxWidthPx: number;
|
|
3541
|
+
panelOpen: boolean;
|
|
3542
|
+
private fieldLabelText;
|
|
3543
|
+
private lastTriggerElement;
|
|
3544
|
+
setSelectMetadata(metadata: SimpleSelectMetadata<any>): void;
|
|
3545
|
+
protected setMetadata(metadata: MaterialSelectMetadata): void;
|
|
3546
|
+
onComponentInit(): void;
|
|
3547
|
+
onViewportResize(): void;
|
|
3548
|
+
onDocumentEscape(): void;
|
|
3549
|
+
protected getSpecificCssClasses(): string[];
|
|
3550
|
+
protected resolveInlineContextTooltipValue(): string;
|
|
3551
|
+
hasSelection(): boolean;
|
|
3552
|
+
displayText(): string;
|
|
3553
|
+
showQuickClear(): boolean;
|
|
3554
|
+
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
3555
|
+
onQuickClear(event: MouseEvent): void;
|
|
3556
|
+
onTriggerClick(event: MouseEvent): void;
|
|
3557
|
+
onTriggerKeydown(event: KeyboardEvent): void;
|
|
3558
|
+
closePanel(): void;
|
|
3559
|
+
onOverlayDetach(): void;
|
|
3560
|
+
panelId(): string;
|
|
3561
|
+
panelTitleId(): string;
|
|
3562
|
+
panelTitleText(): string;
|
|
3563
|
+
panelSubtitleText(): string;
|
|
3564
|
+
showProgressBar(): boolean;
|
|
3565
|
+
progressPercent(): number;
|
|
3566
|
+
progressStartLabel(): string;
|
|
3567
|
+
progressCurrentLabel(): string;
|
|
3568
|
+
progressAriaLabel(): string;
|
|
3569
|
+
cardColumns(): number;
|
|
3570
|
+
optionsGroupAriaLabel(): string;
|
|
3571
|
+
optionAriaLabel(option: RelativePeriodOptionVisual): string;
|
|
3572
|
+
relativeOptions(): RelativePeriodOptionVisual[];
|
|
3573
|
+
toggleOption(option: RelativePeriodOptionVisual, event?: Event): void;
|
|
3574
|
+
onOptionKeydown(event: Event, option: RelativePeriodOptionVisual): void;
|
|
3575
|
+
chipLeadingIcon(): string;
|
|
3576
|
+
optionSelectedIconName(fallback?: string): string;
|
|
3577
|
+
optionSelectedIconColor(): string | undefined;
|
|
3578
|
+
placeholderText(): string;
|
|
3579
|
+
ariaLabel(): string;
|
|
3580
|
+
emptyStateText(): string;
|
|
3581
|
+
isInteractionBlocked(): boolean;
|
|
3582
|
+
private parseOptionsSource;
|
|
3583
|
+
private selectedOptions;
|
|
3584
|
+
private toVisualOption;
|
|
3585
|
+
private resolveOptionSubtitle;
|
|
3586
|
+
private resolveOptionIcon;
|
|
3587
|
+
private selectedValues;
|
|
3588
|
+
private resolveCloseOnSelect;
|
|
3589
|
+
private resolveMultipleMode;
|
|
3590
|
+
private equalsOptionValue;
|
|
3591
|
+
private resolveText;
|
|
3592
|
+
private resolveMetadataKey;
|
|
3593
|
+
private parseObjectConfig;
|
|
3594
|
+
private nonEmptyText;
|
|
3595
|
+
private mapRawOption;
|
|
3596
|
+
private resolveFieldLabelFromMetadata;
|
|
3597
|
+
private humanizeFieldName;
|
|
3598
|
+
private recalculateInlineSizeBounds;
|
|
3599
|
+
private resolveWidthBounds;
|
|
3600
|
+
private rememberTriggerElement;
|
|
3601
|
+
private restoreFocusToTrigger;
|
|
3602
|
+
private multipleMode;
|
|
3603
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterInlineRelativePeriodComponent, never>;
|
|
3604
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterInlineRelativePeriodComponent, "pdx-filter-inline-relative-period", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
3605
|
+
}
|
|
3606
|
+
|
|
3607
|
+
interface SentimentOptionVisual {
|
|
3608
|
+
id: string;
|
|
3609
|
+
label: string;
|
|
3610
|
+
subtitle: string;
|
|
3611
|
+
emoji: string;
|
|
3612
|
+
color: string;
|
|
3613
|
+
value: unknown;
|
|
3614
|
+
disabled: boolean;
|
|
3615
|
+
selected: boolean;
|
|
3616
|
+
}
|
|
3617
|
+
declare class FilterInlineSentimentComponent extends SimpleBaseSelectComponent {
|
|
3618
|
+
readonlyMode: boolean;
|
|
3619
|
+
disabledMode: boolean;
|
|
3620
|
+
visible: boolean;
|
|
3621
|
+
presentationMode: boolean;
|
|
3622
|
+
readonly overlayPositions: ConnectedPosition[];
|
|
3623
|
+
inlineMinWidthPx: number;
|
|
3624
|
+
inlineMaxWidthPx: number;
|
|
3625
|
+
panelMinWidthPx: number;
|
|
3626
|
+
panelMaxWidthPx: number;
|
|
3627
|
+
panelOpen: boolean;
|
|
3628
|
+
private fieldLabelText;
|
|
3629
|
+
private lastTriggerElement;
|
|
3630
|
+
setSelectMetadata(metadata: SimpleSelectMetadata<any>): void;
|
|
3631
|
+
protected setMetadata(metadata: MaterialSelectMetadata): void;
|
|
3632
|
+
onComponentInit(): void;
|
|
3633
|
+
onViewportResize(): void;
|
|
3634
|
+
onDocumentEscape(): void;
|
|
3635
|
+
protected getSpecificCssClasses(): string[];
|
|
3636
|
+
protected resolveInlineContextTooltipValue(): string;
|
|
3637
|
+
hasSelection(): boolean;
|
|
3638
|
+
displayText(): string;
|
|
3639
|
+
showQuickClear(): boolean;
|
|
3640
|
+
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
3641
|
+
onQuickClear(event: MouseEvent): void;
|
|
3642
|
+
onTriggerClick(event: MouseEvent): void;
|
|
3643
|
+
onTriggerKeydown(event: KeyboardEvent): void;
|
|
3644
|
+
closePanel(): void;
|
|
3645
|
+
onOverlayDetach(): void;
|
|
3646
|
+
panelId(): string;
|
|
3647
|
+
panelTitleId(): string;
|
|
3648
|
+
panelTitleText(): string;
|
|
3649
|
+
panelSubtitleText(): string;
|
|
3650
|
+
showSentimentBar(): boolean;
|
|
3651
|
+
sentimentBarAriaLabel(): string;
|
|
3652
|
+
optionsGroupAriaLabel(): string;
|
|
3653
|
+
optionAriaLabel(option: SentimentOptionVisual): string;
|
|
3654
|
+
sentimentOptions(): SentimentOptionVisual[];
|
|
3655
|
+
selectedOptions(): SentimentOptionVisual[];
|
|
3656
|
+
showSelectionPills(): boolean;
|
|
3657
|
+
selectionPillsAriaLabel(): string;
|
|
3658
|
+
emojiAnimationEnabled(): boolean;
|
|
3659
|
+
toggleOption(option: SentimentOptionVisual, event?: Event): void;
|
|
3660
|
+
onOptionKeydown(event: Event, option: SentimentOptionVisual): void;
|
|
3661
|
+
chipLeadingIcon(): string;
|
|
3662
|
+
placeholderText(): string;
|
|
3663
|
+
ariaLabel(): string;
|
|
3664
|
+
emptyStateText(): string;
|
|
3665
|
+
isInteractionBlocked(): boolean;
|
|
3666
|
+
private parseOptionsSource;
|
|
3667
|
+
private toVisualOption;
|
|
3668
|
+
private resolveOptionEmoji;
|
|
3669
|
+
private resolveOptionColor;
|
|
3670
|
+
private parseColorList;
|
|
3671
|
+
private selectedValues;
|
|
3672
|
+
private resolveCloseOnSelect;
|
|
3673
|
+
private resolveMultipleMode;
|
|
3674
|
+
private equalsOptionValue;
|
|
3675
|
+
private resolveText;
|
|
3676
|
+
private resolveMetadataKey;
|
|
3677
|
+
private parseObjectConfig;
|
|
3678
|
+
private nonEmptyText;
|
|
3679
|
+
private mapRawOption;
|
|
3680
|
+
private resolveFieldLabelFromMetadata;
|
|
3681
|
+
private humanizeFieldName;
|
|
3682
|
+
private recalculateInlineSizeBounds;
|
|
3683
|
+
private resolveWidthBounds;
|
|
3684
|
+
private rememberTriggerElement;
|
|
3685
|
+
private restoreFocusToTrigger;
|
|
3686
|
+
private multipleMode;
|
|
3687
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterInlineSentimentComponent, never>;
|
|
3688
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterInlineSentimentComponent, "pdx-filter-inline-sentiment", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
3689
|
+
}
|
|
3690
|
+
|
|
3691
|
+
interface ColorLabelOptionVisual {
|
|
3692
|
+
id: string;
|
|
3693
|
+
label: string;
|
|
3694
|
+
subtitle: string;
|
|
3695
|
+
color: string;
|
|
3696
|
+
value: unknown;
|
|
3697
|
+
disabled: boolean;
|
|
3698
|
+
selected: boolean;
|
|
3699
|
+
}
|
|
3700
|
+
declare class FilterInlineColorLabelComponent extends SimpleBaseSelectComponent {
|
|
3701
|
+
readonlyMode: boolean;
|
|
3702
|
+
disabledMode: boolean;
|
|
3703
|
+
visible: boolean;
|
|
3704
|
+
presentationMode: boolean;
|
|
3705
|
+
readonly overlayPositions: ConnectedPosition[];
|
|
3706
|
+
inlineMinWidthPx: number;
|
|
3707
|
+
inlineMaxWidthPx: number;
|
|
3708
|
+
panelMinWidthPx: number;
|
|
3709
|
+
panelMaxWidthPx: number;
|
|
3710
|
+
panelOpen: boolean;
|
|
3711
|
+
private fieldLabelText;
|
|
3712
|
+
private lastTriggerElement;
|
|
3713
|
+
setSelectMetadata(metadata: SimpleSelectMetadata<any>): void;
|
|
3714
|
+
protected setMetadata(metadata: MaterialSelectMetadata): void;
|
|
3715
|
+
onComponentInit(): void;
|
|
3716
|
+
onViewportResize(): void;
|
|
3717
|
+
onDocumentEscape(): void;
|
|
3718
|
+
protected getSpecificCssClasses(): string[];
|
|
3719
|
+
protected resolveInlineContextTooltipValue(): string;
|
|
3720
|
+
hasSelection(): boolean;
|
|
3721
|
+
displayText(): string;
|
|
3722
|
+
showQuickClear(): boolean;
|
|
3723
|
+
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
3724
|
+
onQuickClear(event: MouseEvent): void;
|
|
3725
|
+
onTriggerClick(event: MouseEvent): void;
|
|
3726
|
+
onTriggerKeydown(event: KeyboardEvent): void;
|
|
3727
|
+
closePanel(): void;
|
|
3728
|
+
onOverlayDetach(): void;
|
|
3729
|
+
panelId(): string;
|
|
3730
|
+
panelTitleId(): string;
|
|
3731
|
+
panelTitleText(): string;
|
|
3732
|
+
panelSubtitleText(): string;
|
|
3733
|
+
colorLabelOptions(): ColorLabelOptionVisual[];
|
|
3734
|
+
selectedOptions(): ColorLabelOptionVisual[];
|
|
3735
|
+
cardColumns(): number;
|
|
3736
|
+
optionsGroupAriaLabel(): string;
|
|
3737
|
+
optionAriaLabel(option: ColorLabelOptionVisual): string;
|
|
3738
|
+
toggleOption(option: ColorLabelOptionVisual, event?: Event): void;
|
|
3739
|
+
onOptionKeydown(event: Event, option: ColorLabelOptionVisual): void;
|
|
3740
|
+
showSelectionBadges(): boolean;
|
|
3741
|
+
selectionTitleText(): string;
|
|
3742
|
+
selectionBadgesAriaLabel(): string;
|
|
3743
|
+
removeBadgeAriaLabel(option: ColorLabelOptionVisual): string;
|
|
3744
|
+
removeBadgeIconName(): string;
|
|
3745
|
+
removeBadgeIconColor(): string | undefined;
|
|
3746
|
+
optionSelectedIconName(fallback?: string): string;
|
|
3747
|
+
optionSelectedIconColor(): string | undefined;
|
|
3748
|
+
removeSelection(option: ColorLabelOptionVisual, event?: Event): void;
|
|
3749
|
+
chipLeadingIcon(): string;
|
|
3750
|
+
placeholderText(): string;
|
|
3751
|
+
ariaLabel(): string;
|
|
3752
|
+
emptyStateText(): string;
|
|
3753
|
+
isInteractionBlocked(): boolean;
|
|
3754
|
+
private parseOptionsSource;
|
|
3755
|
+
private toVisualOption;
|
|
3756
|
+
private resolveOptionColor;
|
|
3757
|
+
private parseColorList;
|
|
3758
|
+
private selectedValues;
|
|
3759
|
+
private resolveCloseOnSelect;
|
|
3760
|
+
private resolveMultipleMode;
|
|
3761
|
+
private equalsOptionValue;
|
|
3762
|
+
private resolveText;
|
|
3763
|
+
private resolveMetadataKey;
|
|
3764
|
+
private parseObjectConfig;
|
|
3765
|
+
private nonEmptyText;
|
|
3766
|
+
private mapRawOption;
|
|
3767
|
+
private resolveFieldLabelFromMetadata;
|
|
3768
|
+
private humanizeFieldName;
|
|
3769
|
+
private recalculateInlineSizeBounds;
|
|
3770
|
+
private resolveWidthBounds;
|
|
3771
|
+
private rememberTriggerElement;
|
|
3772
|
+
private restoreFocusToTrigger;
|
|
3773
|
+
private multipleMode;
|
|
3774
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterInlineColorLabelComponent, never>;
|
|
3775
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterInlineColorLabelComponent, "pdx-filter-inline-color-label", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
3776
|
+
}
|
|
3777
|
+
|
|
3778
|
+
declare class MaterialMultiSelectComponent extends SimpleBaseSelectComponent {
|
|
3779
|
+
readonlyMode: boolean;
|
|
3780
|
+
disabledMode: boolean;
|
|
3781
|
+
visible: boolean;
|
|
3782
|
+
presentationMode: boolean;
|
|
3783
|
+
setSelectMetadata(metadata: SimpleSelectMetadata<any>): void;
|
|
3784
|
+
/** Disables options when maxSelections reached */
|
|
3785
|
+
isOptionDisabled(option: SelectOption<any>): boolean;
|
|
3786
|
+
/** Emits optionSelected when a user picks an option */
|
|
3787
|
+
onOptionSelectionChange(option: SelectOption<any>, event: MatOptionSelectionChange): void;
|
|
3788
|
+
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
3789
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialMultiSelectComponent, never>;
|
|
3790
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialMultiSelectComponent, "pdx-material-multi-select", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
3791
|
+
}
|
|
3792
|
+
|
|
3793
|
+
/**
|
|
3794
|
+
* Material wrapper for hierarchical multi select using `mat-tree`.
|
|
3795
|
+
*
|
|
3796
|
+
* Supports recursive selection with checkboxes and optional
|
|
3797
|
+
* "select all" helper. Values are emitted as array of node values.
|
|
3798
|
+
*/
|
|
3799
|
+
declare class MaterialMultiSelectTreeComponent extends SimpleBaseInputComponent {
|
|
3800
|
+
readonlyMode: boolean;
|
|
3801
|
+
disabledMode: boolean;
|
|
3802
|
+
visible: boolean;
|
|
3803
|
+
presentationMode: boolean;
|
|
3804
|
+
/** Tree control managing expansion state */
|
|
3805
|
+
readonly treeControl: NestedTreeControl<MaterialTreeNode, MaterialTreeNode>;
|
|
3806
|
+
/** Data source bound to the tree */
|
|
3807
|
+
readonly dataSource: MatTreeNestedDataSource<MaterialTreeNode>;
|
|
3808
|
+
/** Selection model for nodes */
|
|
3809
|
+
readonly selection: SelectionModel<MaterialTreeNode>;
|
|
3810
|
+
private readonly parentMap;
|
|
3811
|
+
private readonly valueMap;
|
|
3812
|
+
/** Show select all option */
|
|
3813
|
+
readonly selectAll: _angular_core.WritableSignal<boolean>;
|
|
3814
|
+
/** Maximum allowed selections */
|
|
3815
|
+
readonly maxSelections: _angular_core.WritableSignal<number | null>;
|
|
3816
|
+
/** Label for select all option */
|
|
3817
|
+
readonly selectAllLabel: _angular_core.WritableSignal<string>;
|
|
3818
|
+
/** Emits whenever the selection changes */
|
|
3819
|
+
readonly selectionChange: EventEmitter<any[]>;
|
|
3820
|
+
readonly loading: _angular_core.WritableSignal<boolean>;
|
|
3821
|
+
onComponentInit(): void;
|
|
3822
|
+
setLoading(loading: boolean): void;
|
|
3823
|
+
showClear(): boolean;
|
|
3824
|
+
onClearClick(): void;
|
|
3825
|
+
/** Configure component metadata */
|
|
3826
|
+
setTreeMetadata(metadata: MaterialMultiSelectTreeMetadata): void;
|
|
3827
|
+
private normalizeNodes;
|
|
3828
|
+
/** Whether a node has children */
|
|
3829
|
+
hasChild: (_: number, node: MaterialTreeNode) => boolean;
|
|
3830
|
+
/** Toggle selection state of a node and its descendants */
|
|
3831
|
+
toggleNode(node: MaterialTreeNode): void;
|
|
3832
|
+
private toggleDescendants;
|
|
3833
|
+
private updateAllParents;
|
|
3834
|
+
private updateParentSelection;
|
|
3835
|
+
private getDescendants;
|
|
3836
|
+
private getParent;
|
|
3837
|
+
private buildParentMap;
|
|
3838
|
+
/** Whether descendants of a node are partially selected */
|
|
3839
|
+
descendantsPartiallySelected(node: MaterialTreeNode): boolean;
|
|
3840
|
+
private emitValue;
|
|
3841
|
+
writeValue(value: any): void;
|
|
3842
|
+
/** Toggle select all nodes */
|
|
3843
|
+
toggleSelectAll(): void;
|
|
3844
|
+
private selectAllRecursive;
|
|
3845
|
+
/** Check if all enabled nodes are selected */
|
|
3846
|
+
isAllSelected(): boolean;
|
|
3847
|
+
private getAllEnabledNodes;
|
|
3848
|
+
/** Disable node when maxSelections reached */
|
|
3849
|
+
isNodeDisabled(node: MaterialTreeNode): boolean;
|
|
3850
|
+
/** CSS hook */
|
|
3851
|
+
protected getSpecificCssClasses(): string[];
|
|
3852
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialMultiSelectTreeComponent, never>;
|
|
3853
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialMultiSelectTreeComponent, "pdx-material-multi-select-tree", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
3854
|
+
}
|
|
3855
|
+
|
|
3856
|
+
declare class MaterialTreeSelectComponent extends SimpleBaseSelectComponent {
|
|
3857
|
+
private host;
|
|
3858
|
+
readonlyMode: boolean;
|
|
3859
|
+
disabledMode: boolean;
|
|
3860
|
+
visible: boolean;
|
|
3861
|
+
presentationMode: boolean;
|
|
3862
|
+
readonly treeControl: NestedTreeControl<MaterialTreeNode, MaterialTreeNode>;
|
|
3863
|
+
readonly dataSource: MatTreeNestedDataSource<MaterialTreeNode>;
|
|
3864
|
+
readonly leafOnly: _angular_core.WritableSignal<boolean>;
|
|
3865
|
+
readonly autoExpandOnSearch: _angular_core.WritableSignal<boolean>;
|
|
3866
|
+
readonly returnPath: _angular_core.WritableSignal<boolean>;
|
|
3867
|
+
readonly returnObject: _angular_core.WritableSignal<boolean>;
|
|
3868
|
+
private parentMap;
|
|
3869
|
+
private allNodes;
|
|
3870
|
+
private selectedNode;
|
|
3871
|
+
constructor(host: ElementRef<HTMLElement>);
|
|
3872
|
+
onComponentInit(): void;
|
|
3873
|
+
setTreeMetadata(metadata: MaterialTreeSelectMetadata): void;
|
|
3874
|
+
private normalizeNodes;
|
|
3875
|
+
private buildParentMap;
|
|
3876
|
+
hasChild: (_: number, node: MaterialTreeNode) => boolean;
|
|
3877
|
+
selectNode(node: MaterialTreeNode): void;
|
|
3878
|
+
private resolveValue;
|
|
3879
|
+
private getPath;
|
|
3880
|
+
isSelected(node: MaterialTreeNode): boolean;
|
|
3881
|
+
isNodeDisabled(node: MaterialTreeNode): boolean;
|
|
3882
|
+
handleKeydown(event: KeyboardEvent, node: MaterialTreeNode): void;
|
|
3883
|
+
private focusSiblingNode;
|
|
3884
|
+
private focusNode;
|
|
3885
|
+
private getVisibleNodes;
|
|
3886
|
+
private applyFilter;
|
|
3887
|
+
private filterNodes;
|
|
3888
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialTreeSelectComponent, never>;
|
|
3889
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialTreeSelectComponent, "pdx-material-tree-select", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
3890
|
+
}
|
|
3891
|
+
|
|
3892
|
+
declare class MaterialChipsComponent extends SimpleBaseSelectComponent {
|
|
3893
|
+
readonlyMode: boolean;
|
|
3894
|
+
disabledMode: boolean;
|
|
3895
|
+
visible: boolean;
|
|
3896
|
+
presentationMode: boolean;
|
|
3897
|
+
readonly removable: _angular_core.WritableSignal<boolean>;
|
|
3898
|
+
readonly addOnBlur: _angular_core.WritableSignal<boolean>;
|
|
3899
|
+
readonly separatorKeys: number[];
|
|
3900
|
+
displayOption: (value: any) => string;
|
|
3901
|
+
selectedOptions(): SelectOption[];
|
|
3902
|
+
removeChip(option: SelectOption): void;
|
|
3903
|
+
onInputTokenEnd(event: MatChipInputEvent): void;
|
|
3904
|
+
setSelectMetadata(metadata: SimpleSelectMetadata<any>): void;
|
|
3905
|
+
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
3906
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialChipsComponent, never>;
|
|
3907
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialChipsComponent, "pdx-material-chips", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
3908
|
+
}
|
|
1828
3909
|
|
|
1829
3910
|
declare class MaterialButtonToggleComponent extends SimpleBaseSelectComponent {
|
|
1830
3911
|
setSelectMetadata(metadata: SimpleSelectMetadata<any>): void;
|
|
@@ -1860,38 +3941,94 @@ declare class MaterialSliderComponent extends SimpleBaseInputComponent {
|
|
|
1860
3941
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialSliderComponent, "pdx-material-slider", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
1861
3942
|
}
|
|
1862
3943
|
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
private readonly
|
|
1874
|
-
readonly
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
private
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
3944
|
+
type ThemeColor = 'primary' | 'secondary' | 'tertiary' | 'base' | 'info' | 'success' | 'warning' | 'error' | 'dark' | 'light' | 'inverse' | 'none';
|
|
3945
|
+
type Rounded = 'full' | 'large' | 'medium' | 'small' | 'none';
|
|
3946
|
+
type AvatarSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge' | 'none';
|
|
3947
|
+
type FillMode = 'solid' | 'outline' | 'none';
|
|
3948
|
+
type IconInput = string | SafeHtml | {
|
|
3949
|
+
name?: string;
|
|
3950
|
+
svg?: string;
|
|
3951
|
+
fontClass?: string;
|
|
3952
|
+
};
|
|
3953
|
+
declare class MaterialAvatarComponent {
|
|
3954
|
+
private readonly sanitizer;
|
|
3955
|
+
private readonly elementRef;
|
|
3956
|
+
readonly metadata: _angular_core.WritableSignal<ComponentMetadata | null>;
|
|
3957
|
+
readonly componentId: _angular_core.WritableSignal<string>;
|
|
3958
|
+
readonly formControl: _angular_core.WritableSignal<AbstractControl<any, any, any> | null>;
|
|
3959
|
+
imageSrc?: string;
|
|
3960
|
+
imageAlt?: string;
|
|
3961
|
+
initials?: string;
|
|
3962
|
+
/** Full name to generate initials from if `initials` is not provided. */
|
|
3963
|
+
name?: string;
|
|
3964
|
+
icon?: IconInput;
|
|
3965
|
+
/** Fallback icon used when no image/icon/initials provided via inputs */
|
|
3966
|
+
defaultIcon?: IconInput;
|
|
3967
|
+
private readonly appearanceTick;
|
|
3968
|
+
private _themeColor;
|
|
3969
|
+
private _rounded;
|
|
3970
|
+
private _size;
|
|
3971
|
+
private _fillMode;
|
|
3972
|
+
private _border;
|
|
3973
|
+
private _sizePx?;
|
|
3974
|
+
private _sizeCss?;
|
|
3975
|
+
set themeColor(value: ThemeColor);
|
|
3976
|
+
get themeColor(): ThemeColor;
|
|
3977
|
+
set rounded(value: Rounded);
|
|
3978
|
+
get rounded(): Rounded;
|
|
3979
|
+
set size(value: AvatarSize);
|
|
3980
|
+
get size(): AvatarSize;
|
|
3981
|
+
set fillMode(value: FillMode);
|
|
3982
|
+
get fillMode(): FillMode;
|
|
3983
|
+
set border(value: boolean);
|
|
3984
|
+
get border(): boolean;
|
|
3985
|
+
set sizePx(value: number | undefined);
|
|
3986
|
+
get sizePx(): number | undefined;
|
|
3987
|
+
set sizeCss(value: string | undefined);
|
|
3988
|
+
get sizeCss(): string | undefined;
|
|
3989
|
+
tooltip?: string;
|
|
3990
|
+
ariaLabel?: string;
|
|
3991
|
+
readonlyMode?: boolean;
|
|
3992
|
+
disabledMode?: boolean;
|
|
3993
|
+
visible?: boolean;
|
|
3994
|
+
presentationMode?: boolean;
|
|
3995
|
+
private _class?;
|
|
3996
|
+
set class(value: string | undefined);
|
|
3997
|
+
get class(): string | undefined;
|
|
3998
|
+
private _style?;
|
|
3999
|
+
set style(value: NgStyle | undefined);
|
|
4000
|
+
get style(): NgStyle | undefined;
|
|
4001
|
+
imageError: EventEmitter<void>;
|
|
4002
|
+
private readonly _imgFailed;
|
|
4003
|
+
private readonly controlValue;
|
|
4004
|
+
private readonly _syncControlValue;
|
|
4005
|
+
readonly resolvedImageSrc: _angular_core.Signal<string>;
|
|
4006
|
+
private readonly _resetOnSrcChange;
|
|
4007
|
+
readonly hasImage: _angular_core.Signal<boolean>;
|
|
4008
|
+
readonly hasInitials: _angular_core.Signal<boolean>;
|
|
4009
|
+
readonly componentCssClasses: _angular_core.Signal<string>;
|
|
4010
|
+
readonly resolvedStyle: _angular_core.Signal<any>;
|
|
4011
|
+
readonly computedAriaLabel: _angular_core.Signal<string>;
|
|
4012
|
+
private resolveIconKind;
|
|
4013
|
+
private pickImageSrcFromValue;
|
|
4014
|
+
private normalizeImageUrl;
|
|
4015
|
+
private normalizeCssSize;
|
|
4016
|
+
shouldShowImage(): boolean;
|
|
4017
|
+
shouldShowIcon(): boolean;
|
|
4018
|
+
shouldShowInitials(): boolean;
|
|
4019
|
+
shouldShowDefaultIcon(): boolean;
|
|
4020
|
+
readonly hasExplicitIcon: _angular_core.Signal<boolean>;
|
|
4021
|
+
readonly hasDefaultIcon: _angular_core.Signal<boolean>;
|
|
4022
|
+
normalizedInitials(): string;
|
|
4023
|
+
onImgError(): void;
|
|
4024
|
+
focus(): void;
|
|
4025
|
+
blur(): void;
|
|
4026
|
+
iconName(): string | null;
|
|
4027
|
+
iconSvgSafe(): SafeHtml | null;
|
|
4028
|
+
iconFontClass(): string | null;
|
|
4029
|
+
setInputMetadata(meta: ComponentMetadata): void;
|
|
4030
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialAvatarComponent, never>;
|
|
4031
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialAvatarComponent, "pdx-material-avatar", never, { "imageSrc": { "alias": "imageSrc"; "required": false; }; "imageAlt": { "alias": "imageAlt"; "required": false; }; "initials": { "alias": "initials"; "required": false; }; "name": { "alias": "name"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "defaultIcon": { "alias": "defaultIcon"; "required": false; }; "themeColor": { "alias": "themeColor"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "size": { "alias": "size"; "required": false; }; "fillMode": { "alias": "fillMode"; "required": false; }; "border": { "alias": "border"; "required": false; }; "sizePx": { "alias": "sizePx"; "required": false; }; "sizeCss": { "alias": "sizeCss"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; "class": { "alias": "class"; "required": false; }; "style": { "alias": "style"; "required": false; }; }, { "imageError": "imageError"; }, never, ["*"], true, never>;
|
|
1895
4032
|
}
|
|
1896
4033
|
|
|
1897
4034
|
declare class MaterialRadioGroupComponent extends SimpleBaseSelectComponent {
|
|
@@ -2034,9 +4171,14 @@ declare function initializeComponentSystemSync(): () => Promise<void>;
|
|
|
2034
4171
|
|
|
2035
4172
|
declare class PreloadStatusComponent implements OnInit, OnDestroy {
|
|
2036
4173
|
private readonly preloader;
|
|
4174
|
+
private readonly destroyRef;
|
|
4175
|
+
metadata: unknown;
|
|
4176
|
+
visible: boolean;
|
|
2037
4177
|
status: PreloadStatus | null;
|
|
2038
4178
|
autoUpdate: boolean;
|
|
2039
4179
|
private externalControl;
|
|
4180
|
+
private externalControlSubscription;
|
|
4181
|
+
private statusSubscription;
|
|
2040
4182
|
ngOnInit(): void;
|
|
2041
4183
|
ngOnDestroy(): void;
|
|
2042
4184
|
/**
|
|
@@ -2047,6 +4189,10 @@ declare class PreloadStatusComponent implements OnInit, OnDestroy {
|
|
|
2047
4189
|
* Toggle do auto-update
|
|
2048
4190
|
*/
|
|
2049
4191
|
toggleAutoUpdate(): void;
|
|
4192
|
+
private applyAutoUpdateMode;
|
|
4193
|
+
private cleanupStatusSubscription;
|
|
4194
|
+
private cleanupExternalControlSubscription;
|
|
4195
|
+
private bindExternalControl;
|
|
2050
4196
|
/**
|
|
2051
4197
|
* Subscreve às atualizações de status em tempo real
|
|
2052
4198
|
*/
|
|
@@ -2057,7 +4203,7 @@ declare class PreloadStatusComponent implements OnInit, OnDestroy {
|
|
|
2057
4203
|
private loadCurrentStatus;
|
|
2058
4204
|
setExternalControl(control: AbstractControl): void;
|
|
2059
4205
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PreloadStatusComponent, never>;
|
|
2060
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PreloadStatusComponent, "pdx-preload-status", never, {}, {}, never, never, true, never>;
|
|
4206
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PreloadStatusComponent, "pdx-preload-status", never, { "metadata": { "alias": "metadata"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, {}, never, never, true, never>;
|
|
2061
4207
|
}
|
|
2062
4208
|
|
|
2063
4209
|
/**
|
|
@@ -2106,38 +4252,16 @@ declare class TimeInputComponent extends SimpleBaseInputComponent {
|
|
|
2106
4252
|
/** Applies component metadata with strong typing. */
|
|
2107
4253
|
setInputMetadata(metadata: MaterialTimeInputMetadata): void;
|
|
2108
4254
|
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
4255
|
+
/**
|
|
4256
|
+
* Time input is officially minute-granularity only.
|
|
4257
|
+
* Non-minute step values fallback to 60s.
|
|
4258
|
+
*/
|
|
4259
|
+
normalizedStep(): number | null;
|
|
2109
4260
|
isReadonlyEffective(): boolean;
|
|
2110
4261
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TimeInputComponent, never>;
|
|
2111
4262
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimeInputComponent, "pdx-time-input", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, { "validationChange": "validationChange"; }, never, never, true, never>;
|
|
2112
4263
|
}
|
|
2113
4264
|
|
|
2114
|
-
/**
|
|
2115
|
-
* Angular Material timepicker component used in dynamic forms.
|
|
2116
|
-
*
|
|
2117
|
-
* Provides a form field with an input connected to `mat-timepicker`, allowing
|
|
2118
|
-
* users to select a time of day. Built on top of the `SimpleBaseInputComponent`
|
|
2119
|
-
* to reuse control value accessor integration and validation handling.
|
|
2120
|
-
*/
|
|
2121
|
-
declare class MaterialTimepickerComponent extends SimpleBaseInputComponent {
|
|
2122
|
-
/** Emits whenever validation state changes. */
|
|
2123
|
-
readonly validationChange: _angular_core.OutputEmitterRef<ValidationErrors | null>;
|
|
2124
|
-
readonlyMode: boolean;
|
|
2125
|
-
disabledMode: boolean;
|
|
2126
|
-
visible: boolean;
|
|
2127
|
-
presentationMode: boolean;
|
|
2128
|
-
ngOnInit(): void;
|
|
2129
|
-
validateField(): Promise<ValidationErrors | null>;
|
|
2130
|
-
protected getSpecificCssClasses(): string[];
|
|
2131
|
-
/** Applies component metadata with strong typing. */
|
|
2132
|
-
setInputMetadata(metadata: MaterialTimepickerMetadata): void;
|
|
2133
|
-
isReadonlyEffective(): boolean;
|
|
2134
|
-
/** Calculates step attribute (seconds) based on metadata. */
|
|
2135
|
-
stepAttribute(): number | null;
|
|
2136
|
-
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
2137
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialTimepickerComponent, never>;
|
|
2138
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialTimepickerComponent, "pdx-material-timepicker", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, { "validationChange": "validationChange"; }, never, never, true, never>;
|
|
2139
|
-
}
|
|
2140
|
-
|
|
2141
4265
|
/**
|
|
2142
4266
|
* Specialized input component for HTML URL inputs.
|
|
2143
4267
|
*
|
|
@@ -2212,6 +4336,14 @@ declare class MaterialColorPickerComponent extends SimpleBaseInputComponent {
|
|
|
2212
4336
|
protected getSpecificCssClasses(): string[];
|
|
2213
4337
|
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
2214
4338
|
isReadonlyEffective(): boolean;
|
|
4339
|
+
previewColor(): string;
|
|
4340
|
+
private defaultColor;
|
|
4341
|
+
private defaultHex;
|
|
4342
|
+
private resolveCssColor;
|
|
4343
|
+
private toHex;
|
|
4344
|
+
private colorProbe?;
|
|
4345
|
+
private ensureColorProbe;
|
|
4346
|
+
private isBrowser;
|
|
2215
4347
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialColorPickerComponent, never>;
|
|
2216
4348
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialColorPickerComponent, "pdx-material-colorpicker", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
2217
4349
|
}
|
|
@@ -2228,6 +4360,8 @@ declare class MaterialRatingComponent extends SimpleBaseInputComponent implement
|
|
|
2228
4360
|
itemsCount: number;
|
|
2229
4361
|
selection: SelectionMode;
|
|
2230
4362
|
precision: PrecisionMode;
|
|
4363
|
+
set allowHalf(value: boolean | undefined);
|
|
4364
|
+
get allowHalf(): boolean;
|
|
2231
4365
|
icon?: string;
|
|
2232
4366
|
svgIcon?: string;
|
|
2233
4367
|
svgIconOutline?: string;
|
|
@@ -2252,10 +4386,13 @@ declare class MaterialRatingComponent extends SimpleBaseInputComponent implement
|
|
|
2252
4386
|
showHalf(index: number): boolean;
|
|
2253
4387
|
iconState(index: number): RatingIconState;
|
|
2254
4388
|
onMouseMove(ev: MouseEvent, index: number): void;
|
|
4389
|
+
onPointerMove(ev: PointerEvent, index: number): void;
|
|
4390
|
+
onPointerDown(ev: PointerEvent, index: number): void;
|
|
2255
4391
|
onMouseLeave(): void;
|
|
2256
4392
|
onClick(ev: MouseEvent, index: number): void;
|
|
2257
4393
|
onKeyDown(ev: KeyboardEvent): void;
|
|
2258
4394
|
private computeValueFromIndex;
|
|
4395
|
+
private updateHoverFromPointer;
|
|
2259
4396
|
private getVisualValue;
|
|
2260
4397
|
private getActiveIndexAndHalf;
|
|
2261
4398
|
private applyValue;
|
|
@@ -2263,7 +4400,7 @@ declare class MaterialRatingComponent extends SimpleBaseInputComponent implement
|
|
|
2263
4400
|
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
2264
4401
|
setInputMetadata(meta: any): void;
|
|
2265
4402
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialRatingComponent, never>;
|
|
2266
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialRatingComponent, "pdx-material-rating", never, { "itemsCount": { "alias": "itemsCount"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "precision": { "alias": "precision"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "svgIcon": { "alias": "svgIcon"; "required": false; }; "svgIconOutline": { "alias": "svgIconOutline"; "required": false; }; "outlineIcon": { "alias": "outlineIcon"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "size": { "alias": "size"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ratingColor": { "alias": "ratingColor"; "required": false; }; "outlineColor": { "alias": "outlineColor"; "required": false; }; }, {}, ["itemTemplate"], never, true, never>;
|
|
4403
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialRatingComponent, "pdx-material-rating", never, { "itemsCount": { "alias": "itemsCount"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "precision": { "alias": "precision"; "required": false; }; "allowHalf": { "alias": "allowHalf"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "svgIcon": { "alias": "svgIcon"; "required": false; }; "svgIconOutline": { "alias": "svgIconOutline"; "required": false; }; "outlineIcon": { "alias": "outlineIcon"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "size": { "alias": "size"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ratingColor": { "alias": "ratingColor"; "required": false; }; "outlineColor": { "alias": "outlineColor"; "required": false; }; }, {}, ["itemTemplate"], never, true, never>;
|
|
2267
4404
|
}
|
|
2268
4405
|
|
|
2269
4406
|
type PickerView = 'gradient' | 'palette';
|
|
@@ -2309,6 +4446,14 @@ declare class PdxColorPickerComponent extends SimpleBaseInputComponent implement
|
|
|
2309
4446
|
views: PickerView[];
|
|
2310
4447
|
maxRecent: number;
|
|
2311
4448
|
showRecent: boolean;
|
|
4449
|
+
clearButtonConfig: {
|
|
4450
|
+
enabled: boolean;
|
|
4451
|
+
icon?: string;
|
|
4452
|
+
iconColor?: string;
|
|
4453
|
+
tooltip?: string;
|
|
4454
|
+
ariaLabel?: string;
|
|
4455
|
+
showOnlyWhenFilled?: boolean;
|
|
4456
|
+
};
|
|
2312
4457
|
readonly valueChange: _angular_core.OutputEmitterRef<string | null>;
|
|
2313
4458
|
readonly open: _angular_core.OutputEmitterRef<void>;
|
|
2314
4459
|
readonly close: _angular_core.OutputEmitterRef<void>;
|
|
@@ -2324,6 +4469,8 @@ declare class PdxColorPickerComponent extends SimpleBaseInputComponent implement
|
|
|
2324
4469
|
private readonly draftAlpha;
|
|
2325
4470
|
panelWidthPx: number;
|
|
2326
4471
|
constructor(bottomSheet: MatBottomSheet);
|
|
4472
|
+
private resolveClearButtonConfig;
|
|
4473
|
+
showClearAction(): boolean;
|
|
2327
4474
|
ngOnInit(): void;
|
|
2328
4475
|
writeValue(obj: any): void;
|
|
2329
4476
|
handleFocus(): void;
|
|
@@ -2363,6 +4510,14 @@ declare class PdxColorPickerComponent extends SimpleBaseInputComponent implement
|
|
|
2363
4510
|
private extractAlpha;
|
|
2364
4511
|
private clamp01;
|
|
2365
4512
|
private buildPaletteColors;
|
|
4513
|
+
private defaultColor;
|
|
4514
|
+
private defaultHex;
|
|
4515
|
+
private buildThemePalette;
|
|
4516
|
+
private resolveCssColor;
|
|
4517
|
+
private colorProbe?;
|
|
4518
|
+
private ensureColorProbe;
|
|
4519
|
+
private toComparableColor;
|
|
4520
|
+
private isBrowser;
|
|
2366
4521
|
private coerceWidth;
|
|
2367
4522
|
private loadFromStorage;
|
|
2368
4523
|
private saveToStorage;
|
|
@@ -2440,6 +4595,7 @@ declare class PdxYearInputComponent extends SimpleBaseInputComponent {
|
|
|
2440
4595
|
isReadonlyEffective(): boolean;
|
|
2441
4596
|
ngOnInit(): void;
|
|
2442
4597
|
setInputMetadata(metadata: MaterialYearInputMetadata): void;
|
|
4598
|
+
private applySpecificValidators;
|
|
2443
4599
|
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
2444
4600
|
onYearInput(event: Event): void;
|
|
2445
4601
|
protected getSpecificCssClasses(): string[];
|
|
@@ -2447,37 +4603,6 @@ declare class PdxYearInputComponent extends SimpleBaseInputComponent {
|
|
|
2447
4603
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PdxYearInputComponent, "pdx-year-input", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
2448
4604
|
}
|
|
2449
4605
|
|
|
2450
|
-
interface TimeRangeValue {
|
|
2451
|
-
start: string | null;
|
|
2452
|
-
end: string | null;
|
|
2453
|
-
}
|
|
2454
|
-
declare class PdxMaterialTimeRangeComponent extends SimpleBaseInputComponent implements OnInit {
|
|
2455
|
-
readonlyMode: boolean;
|
|
2456
|
-
disabledMode: boolean;
|
|
2457
|
-
visible: boolean;
|
|
2458
|
-
presentationMode: boolean;
|
|
2459
|
-
timeRangeForm: FormGroup<{
|
|
2460
|
-
start: FormControl<string | null>;
|
|
2461
|
-
end: FormControl<string | null>;
|
|
2462
|
-
}>;
|
|
2463
|
-
private get meta();
|
|
2464
|
-
startLabel: () => string;
|
|
2465
|
-
endLabel: () => string;
|
|
2466
|
-
startPlaceholder: () => string;
|
|
2467
|
-
endPlaceholder: () => string;
|
|
2468
|
-
ngOnInit(): void;
|
|
2469
|
-
writeValue(value: TimeRangeValue | null): void;
|
|
2470
|
-
setDisabledState(isDisabled: boolean): void;
|
|
2471
|
-
private rangeOrderValidator;
|
|
2472
|
-
private minDistanceValidator;
|
|
2473
|
-
private maxDistanceValidator;
|
|
2474
|
-
private timeToMinutes;
|
|
2475
|
-
setInputMetadata(metadata: MaterialTimeRangeMetadata): void;
|
|
2476
|
-
isReadonlyEffective(): boolean;
|
|
2477
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PdxMaterialTimeRangeComponent, never>;
|
|
2478
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PdxMaterialTimeRangeComponent, "pdx-material-time-range", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, {}, never, never, true, never>;
|
|
2479
|
-
}
|
|
2480
|
-
|
|
2481
4606
|
/** Metadata for TextInputComponent */
|
|
2482
4607
|
declare const PDX_TEXT_INPUT_COMPONENT_METADATA: ComponentDocMeta;
|
|
2483
4608
|
|
|
@@ -2493,6 +4618,50 @@ declare const PDX_NUMBER_INPUT_COMPONENT_METADATA: ComponentDocMeta;
|
|
|
2493
4618
|
*/
|
|
2494
4619
|
declare const PDX_MATERIAL_SELECT_COMPONENT_METADATA: ComponentDocMeta;
|
|
2495
4620
|
|
|
4621
|
+
declare const PDX_FILTER_INLINE_SELECT_COMPONENT_METADATA: ComponentDocMeta;
|
|
4622
|
+
|
|
4623
|
+
declare const PDX_FILTER_INLINE_SEARCHABLE_SELECT_COMPONENT_METADATA: ComponentDocMeta;
|
|
4624
|
+
|
|
4625
|
+
declare const PDX_FILTER_INLINE_ASYNC_SELECT_COMPONENT_METADATA: ComponentDocMeta;
|
|
4626
|
+
|
|
4627
|
+
declare const PDX_FILTER_INLINE_ENTITY_LOOKUP_COMPONENT_METADATA: ComponentDocMeta;
|
|
4628
|
+
|
|
4629
|
+
declare const PDX_FILTER_INLINE_MULTI_SELECT_COMPONENT_METADATA: ComponentDocMeta;
|
|
4630
|
+
|
|
4631
|
+
declare const PDX_FILTER_INLINE_TOGGLE_COMPONENT_METADATA: ComponentDocMeta;
|
|
4632
|
+
|
|
4633
|
+
declare const PDX_FILTER_INLINE_RANGE_SLIDER_COMPONENT_METADATA: ComponentDocMeta;
|
|
4634
|
+
|
|
4635
|
+
declare const PDX_FILTER_INLINE_DATE_COMPONENT_METADATA: ComponentDocMeta;
|
|
4636
|
+
|
|
4637
|
+
declare const PDX_FILTER_INLINE_DATE_RANGE_COMPONENT_METADATA: ComponentDocMeta;
|
|
4638
|
+
|
|
4639
|
+
declare const PDX_FILTER_INLINE_TIME_COMPONENT_METADATA: ComponentDocMeta;
|
|
4640
|
+
|
|
4641
|
+
declare const PDX_FILTER_INLINE_TIME_RANGE_COMPONENT_METADATA: ComponentDocMeta;
|
|
4642
|
+
|
|
4643
|
+
declare const PDX_FILTER_INLINE_TREE_SELECT_COMPONENT_METADATA: ComponentDocMeta;
|
|
4644
|
+
|
|
4645
|
+
declare const PDX_FILTER_INLINE_RATING_COMPONENT_METADATA: ComponentDocMeta;
|
|
4646
|
+
|
|
4647
|
+
declare const PDX_FILTER_INLINE_DISTANCE_RADIUS_COMPONENT_METADATA: ComponentDocMeta;
|
|
4648
|
+
|
|
4649
|
+
declare const PDX_FILTER_INLINE_PIPELINE_STATUS_COMPONENT_METADATA: ComponentDocMeta;
|
|
4650
|
+
|
|
4651
|
+
declare const PDX_FILTER_INLINE_SCORE_PRIORITY_COMPONENT_METADATA: ComponentDocMeta;
|
|
4652
|
+
|
|
4653
|
+
declare const PDX_FILTER_INLINE_RELATIVE_PERIOD_COMPONENT_METADATA: ComponentDocMeta;
|
|
4654
|
+
|
|
4655
|
+
declare const PDX_FILTER_INLINE_SENTIMENT_COMPONENT_METADATA: ComponentDocMeta;
|
|
4656
|
+
|
|
4657
|
+
declare const PDX_FILTER_INLINE_COLOR_LABEL_COMPONENT_METADATA: ComponentDocMeta;
|
|
4658
|
+
|
|
4659
|
+
declare const PDX_FILTER_INLINE_NUMBER_COMPONENT_METADATA: ComponentDocMeta;
|
|
4660
|
+
|
|
4661
|
+
declare const PDX_FILTER_INLINE_CURRENCY_COMPONENT_METADATA: ComponentDocMeta;
|
|
4662
|
+
|
|
4663
|
+
declare const PDX_FILTER_INLINE_CURRENCY_RANGE_COMPONENT_METADATA: ComponentDocMeta;
|
|
4664
|
+
|
|
2496
4665
|
declare const PDX_COLOR_INPUT_COMPONENT_METADATA: ComponentDocMeta;
|
|
2497
4666
|
|
|
2498
4667
|
declare const PDX_DATE_INPUT_COMPONENT_METADATA: ComponentDocMeta;
|
|
@@ -2511,6 +4680,10 @@ declare const PDX_MATERIAL_TEXTAREA_COMPONENT_METADATA: ComponentDocMeta;
|
|
|
2511
4680
|
|
|
2512
4681
|
declare const PDX_MATERIAL_SLIDER_COMPONENT_METADATA: ComponentDocMeta;
|
|
2513
4682
|
|
|
4683
|
+
declare const PDX_MATERIAL_AVATAR_COMPONENT_METADATA: ComponentDocMeta;
|
|
4684
|
+
/** Optional provider to auto-register the metadata for editors/palettes */
|
|
4685
|
+
declare function provideMaterialAvatarMetadata(): Provider;
|
|
4686
|
+
|
|
2514
4687
|
declare const PDX_MATERIAL_TIMEPICKER_COMPONENT_METADATA: ComponentDocMeta;
|
|
2515
4688
|
|
|
2516
4689
|
declare const PDX_MATERIAL_BUTTON_COMPONENT_METADATA: ComponentDocMeta;
|
|
@@ -2559,6 +4732,10 @@ declare const PDX_PRELOAD_STATUS_COMPONENT_METADATA: ComponentDocMeta;
|
|
|
2559
4732
|
|
|
2560
4733
|
declare const PDX_SEARCH_INPUT_COMPONENT_METADATA: ComponentDocMeta;
|
|
2561
4734
|
|
|
4735
|
+
declare const PDX_FILTER_INLINE_INPUT_COMPONENT_METADATA: ComponentDocMeta;
|
|
4736
|
+
|
|
4737
|
+
declare const PDX_FILTER_INLINE_AUTOCOMPLETE_COMPONENT_METADATA: ComponentDocMeta;
|
|
4738
|
+
|
|
2562
4739
|
declare const PDX_TIME_INPUT_COMPONENT_METADATA: ComponentDocMeta;
|
|
2563
4740
|
|
|
2564
4741
|
declare const PDX_URL_INPUT_COMPONENT_METADATA: ComponentDocMeta;
|
|
@@ -2781,6 +4958,10 @@ declare class ActionResolverService {
|
|
|
2781
4958
|
private readonly http;
|
|
2782
4959
|
private readonly dialog;
|
|
2783
4960
|
private readonly actionRegistry;
|
|
4961
|
+
private parseActionPayload;
|
|
4962
|
+
private getJsonValue;
|
|
4963
|
+
private resolveDialogPayload;
|
|
4964
|
+
private splitActionRef;
|
|
2784
4965
|
constructor();
|
|
2785
4966
|
/**
|
|
2786
4967
|
* Registra ações relacionadas a diálogos (unificado PraxisDialog)
|
|
@@ -3072,6 +5253,11 @@ interface RegistryStats {
|
|
|
3072
5253
|
}
|
|
3073
5254
|
|
|
3074
5255
|
declare class ComponentRegistryService implements IComponentRegistry {
|
|
5256
|
+
private readonly selectorRegistry;
|
|
5257
|
+
private readonly selectorBaseMap;
|
|
5258
|
+
private readonly disableSelectorDefaults;
|
|
5259
|
+
private readonly logger;
|
|
5260
|
+
private readonly logContext;
|
|
3075
5261
|
/**
|
|
3076
5262
|
* Registro interno de componentes
|
|
3077
5263
|
*/
|
|
@@ -3124,6 +5310,7 @@ declare class ComponentRegistryService implements IComponentRegistry {
|
|
|
3124
5310
|
* Registra componentes Material Design padrão
|
|
3125
5311
|
*/
|
|
3126
5312
|
private initializeDefaultComponents;
|
|
5313
|
+
private registerDefaultSelectors;
|
|
3127
5314
|
/**
|
|
3128
5315
|
* Verifica se o cache de um componente é válido
|
|
3129
5316
|
*/
|
|
@@ -3140,6 +5327,7 @@ declare class ComponentRegistryService implements IComponentRegistry {
|
|
|
3140
5327
|
* Utilitário para delay
|
|
3141
5328
|
*/
|
|
3142
5329
|
private delay;
|
|
5330
|
+
private buildLogOptions;
|
|
3143
5331
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ComponentRegistryService, never>;
|
|
3144
5332
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ComponentRegistryService>;
|
|
3145
5333
|
}
|
|
@@ -3156,6 +5344,9 @@ declare class ComponentRegistryService implements IComponentRegistry {
|
|
|
3156
5344
|
*
|
|
3157
5345
|
* Inclui HttpClient para data loading e outros providers necessários.
|
|
3158
5346
|
*
|
|
5347
|
+
* Observação: FIELD_SELECTOR_REGISTRY_DISABLE_DEFAULTS deve ser fornecido no root injector.
|
|
5348
|
+
* Providers em módulos lazy não afetam o singleton do registry.
|
|
5349
|
+
*
|
|
3159
5350
|
* @example
|
|
3160
5351
|
* ```typescript
|
|
3161
5352
|
* // No app.config.ts ou main.ts
|
|
@@ -3172,8 +5363,60 @@ declare class ComponentRegistryService implements IComponentRegistry {
|
|
|
3172
5363
|
declare function providePraxisDynamicFields(): (Provider | EnvironmentProviders)[];
|
|
3173
5364
|
/**
|
|
3174
5365
|
* Providers básicos sem HttpClient (para casos onde já está configurado)
|
|
5366
|
+
*
|
|
5367
|
+
* Observação: FIELD_SELECTOR_REGISTRY_DISABLE_DEFAULTS deve ser fornecido no root injector.
|
|
3175
5368
|
*/
|
|
3176
5369
|
declare function providePraxisDynamicFieldsCore(): Provider[];
|
|
5370
|
+
/**
|
|
5371
|
+
* Providers sem registrar os defaults de selector -> controlType.
|
|
5372
|
+
*
|
|
5373
|
+
* Observação: use em root para garantir opt-out efetivo.
|
|
5374
|
+
*/
|
|
5375
|
+
declare function providePraxisDynamicFieldsNoDefaults(): (Provider | EnvironmentProviders)[];
|
|
5376
|
+
/**
|
|
5377
|
+
* Providers core sem registrar os defaults de selector -> controlType.
|
|
5378
|
+
*
|
|
5379
|
+
* Observação: use em root para garantir opt-out efetivo.
|
|
5380
|
+
*/
|
|
5381
|
+
declare function providePraxisDynamicFieldsCoreNoDefaults(): Provider[];
|
|
5382
|
+
|
|
5383
|
+
declare const CONTROL_TYPE_AI_CATALOGS: Partial<Record<FieldControlType, CapabilityCatalog>>;
|
|
5384
|
+
declare function getControlTypeCatalog(controlType?: FieldControlType | string | null): CapabilityCatalog;
|
|
5385
|
+
|
|
5386
|
+
declare const TEXT_INPUTS_AI_CAPABILITIES: CapabilityCatalog;
|
|
5387
|
+
|
|
5388
|
+
declare const NUMERIC_INPUTS_AI_CAPABILITIES: CapabilityCatalog;
|
|
5389
|
+
|
|
5390
|
+
declare module '@praxisui/core' {
|
|
5391
|
+
interface AiCapabilityCategoryMap {
|
|
5392
|
+
localization: true;
|
|
5393
|
+
}
|
|
5394
|
+
}
|
|
5395
|
+
declare const DATE_CONTROLS_AI_CAPABILITIES: CapabilityCatalog;
|
|
5396
|
+
|
|
5397
|
+
declare const LIST_CONTROLS_AI_CAPABILITIES: CapabilityCatalog;
|
|
5398
|
+
|
|
5399
|
+
declare const SELECT_CONTROLS_AI_CAPABILITIES: CapabilityCatalog;
|
|
5400
|
+
|
|
5401
|
+
declare const CHIPS_CONTROLS_AI_CAPABILITIES: CapabilityCatalog;
|
|
5402
|
+
|
|
5403
|
+
declare const TOGGLE_CONTROLS_AI_CAPABILITIES: CapabilityCatalog;
|
|
5404
|
+
|
|
5405
|
+
declare const TREE_CONTROLS_AI_CAPABILITIES: CapabilityCatalog;
|
|
5406
|
+
|
|
5407
|
+
declare const TIME_RANGE_AI_CAPABILITIES: CapabilityCatalog;
|
|
5408
|
+
|
|
5409
|
+
declare const FILE_UPLOAD_AI_CAPABILITIES: CapabilityCatalog;
|
|
5410
|
+
|
|
5411
|
+
declare const COLOR_CONTROLS_AI_CAPABILITIES: CapabilityCatalog;
|
|
5412
|
+
|
|
5413
|
+
declare const PRICE_RANGE_AI_CAPABILITIES: CapabilityCatalog;
|
|
5414
|
+
|
|
5415
|
+
declare const BRAZIL_INPUTS_AI_CAPABILITIES: CapabilityCatalog;
|
|
5416
|
+
|
|
5417
|
+
declare const DISPLAY_ACTION_AI_CAPABILITIES: CapabilityCatalog;
|
|
5418
|
+
|
|
5419
|
+
declare const YEAR_INPUT_AI_CAPABILITIES: CapabilityCatalog;
|
|
3177
5420
|
|
|
3178
5421
|
/**
|
|
3179
5422
|
* @fileoverview Custom Error State Matcher for Praxis Dynamic Fields
|
|
@@ -3232,6 +5475,8 @@ interface LoggerConfig {
|
|
|
3232
5475
|
throttleRepetitive: boolean;
|
|
3233
5476
|
/** Limite de logs iguais consecutivos */
|
|
3234
5477
|
repetitiveThreshold: number;
|
|
5478
|
+
/** Backend opcional para integrar com logger central do core */
|
|
5479
|
+
backend?: unknown | null;
|
|
3235
5480
|
}
|
|
3236
5481
|
declare class DynamicFieldsLogger {
|
|
3237
5482
|
private config;
|
|
@@ -3267,6 +5512,8 @@ declare class DynamicFieldsLogger {
|
|
|
3267
5512
|
private shouldLog;
|
|
3268
5513
|
private isRepetitive;
|
|
3269
5514
|
private cleanup;
|
|
5515
|
+
private buildCoreLoggerContext;
|
|
5516
|
+
private extractMessagePrefix;
|
|
3270
5517
|
private getConsoleFn;
|
|
3271
5518
|
}
|
|
3272
5519
|
declare const logger: DynamicFieldsLogger;
|
|
@@ -3305,6 +5552,34 @@ declare const LoggerPresets: {
|
|
|
3305
5552
|
};
|
|
3306
5553
|
};
|
|
3307
5554
|
|
|
5555
|
+
type DynamicFieldsLoggerLevel = 'error' | 'warn' | 'info' | 'debug' | 'trace';
|
|
5556
|
+
interface DynamicFieldsLoggerContext {
|
|
5557
|
+
lib?: string;
|
|
5558
|
+
component?: string;
|
|
5559
|
+
[key: string]: unknown;
|
|
5560
|
+
}
|
|
5561
|
+
interface DynamicFieldsCoreLogOptions {
|
|
5562
|
+
context?: DynamicFieldsLoggerContext;
|
|
5563
|
+
data?: unknown;
|
|
5564
|
+
dedupeKey?: string;
|
|
5565
|
+
throttleKey?: string;
|
|
5566
|
+
skipThrottle?: boolean;
|
|
5567
|
+
}
|
|
5568
|
+
type DynamicFieldsLevelMethod = (message: string, options?: DynamicFieldsCoreLogOptions) => void;
|
|
5569
|
+
interface DynamicFieldsCoreLoggerBackend {
|
|
5570
|
+
log?: (level: DynamicFieldsLoggerLevel, message: string, options?: DynamicFieldsCoreLogOptions) => void;
|
|
5571
|
+
error?: DynamicFieldsLevelMethod;
|
|
5572
|
+
warn?: DynamicFieldsLevelMethod;
|
|
5573
|
+
info?: DynamicFieldsLevelMethod;
|
|
5574
|
+
debug?: DynamicFieldsLevelMethod;
|
|
5575
|
+
trace?: DynamicFieldsLevelMethod;
|
|
5576
|
+
}
|
|
5577
|
+
declare const PRAXIS_DYNAMIC_FIELDS_LOGGER_BACKEND: InjectionToken<unknown>;
|
|
5578
|
+
declare function setDynamicFieldsLoggerBackend(backend: unknown): void;
|
|
5579
|
+
declare function clearDynamicFieldsLoggerBackend(): void;
|
|
5580
|
+
declare function bindDynamicFieldsLoggerBackendFromInjector(injector: Injector): void;
|
|
5581
|
+
declare function emitToDynamicFieldsLoggerBackend(level: DynamicFieldsLoggerLevel, message: string, data: unknown, context: DynamicFieldsLoggerContext): boolean;
|
|
5582
|
+
|
|
3308
5583
|
/**
|
|
3309
5584
|
* @fileoverview Utilitários para mapear JSON Schema para FieldMetadata
|
|
3310
5585
|
*
|
|
@@ -3321,6 +5596,8 @@ declare const LoggerPresets: {
|
|
|
3321
5596
|
interface JsonSchemaProperty {
|
|
3322
5597
|
type?: string;
|
|
3323
5598
|
format?: string;
|
|
5599
|
+
oneOf?: JsonSchemaProperty[];
|
|
5600
|
+
anyOf?: JsonSchemaProperty[];
|
|
3324
5601
|
'x-ui'?: {
|
|
3325
5602
|
controlType?: string;
|
|
3326
5603
|
label?: string;
|
|
@@ -3395,5 +5672,8 @@ declare function isValidJsonSchema(schema: any): schema is JsonSchema;
|
|
|
3395
5672
|
*/
|
|
3396
5673
|
declare function normalizeFormMetadata(input: FieldMetadata[] | JsonSchema): FieldMetadata[];
|
|
3397
5674
|
|
|
3398
|
-
|
|
3399
|
-
|
|
5675
|
+
declare const CLEAR_BUTTON_CONTROL_TYPES: Set<string>;
|
|
5676
|
+
declare function supportsClearButtonControlType(controlType?: string | null): boolean;
|
|
5677
|
+
|
|
5678
|
+
export { ActionResolverService, BRAZIL_INPUTS_AI_CAPABILITIES, CACHE_TTL, CHIPS_CONTROLS_AI_CAPABILITIES, CLEAR_BUTTON_CONTROL_TYPES, COLOR_CONTROLS_AI_CAPABILITIES, CONTROL_TYPE_AI_CATALOGS, ColorInputComponent, ComponentPreloaderService, ComponentRegistryService, ConfirmDialogComponent, DATE_CONTROLS_AI_CAPABILITIES, DISPLAY_ACTION_AI_CAPABILITIES, DateInputComponent, DateUtilsService, DatetimeLocalInputComponent, DynamicFieldLoaderDirective, EmailInputComponent, FILE_UPLOAD_AI_CAPABILITIES, FilterInlineAsyncSelectComponent, FilterInlineAutocompleteComponent, FilterInlineColorLabelComponent, FilterInlineCurrencyComponent, FilterInlineCurrencyRangeComponent, FilterInlineDateComponent, FilterInlineDateRangeComponent, FilterInlineDistanceRadiusComponent, FilterInlineEntityLookupComponent, FilterInlineInputComponent, FilterInlineMultiSelectComponent, FilterInlineNumberComponent, FilterInlinePipelineStatusComponent, FilterInlineRangeSliderComponent, FilterInlineRatingComponent, FilterInlineRelativePeriodComponent, FilterInlineScorePriorityComponent, FilterInlineSearchableSelectComponent, FilterInlineSelectComponent, FilterInlineSentimentComponent, FilterInlineTimeComponent, FilterInlineTimeRangeComponent, FilterInlineToggleComponent, FilterInlineTreeSelectComponent, KeyboardShortcutService, LIST_CONTROLS_AI_CAPABILITIES, LoggerPresets, MAX_LOAD_ATTEMPTS, MaterialAsyncSelectComponent, MaterialAutocompleteComponent, MaterialAvatarComponent, MaterialButtonComponent, MaterialButtonToggleComponent, MaterialCheckboxGroupComponent, MaterialChipsComponent, MaterialColorPickerComponent, MaterialCpfCnpjInputComponent, MaterialCurrencyComponent, MaterialDateRangeComponent, MaterialDatepickerComponent, MaterialFileUploadComponent, MaterialMultiSelectComponent, MaterialMultiSelectTreeComponent, MaterialPriceRangeComponent, MaterialRadioGroupComponent, MaterialRatingComponent, MaterialSearchableSelectComponent, MaterialSelectComponent, MaterialSelectionListComponent, MaterialSlideToggleComponent, MaterialSliderComponent, MaterialTextareaComponent, MaterialTimepickerComponent, MaterialTransferListComponent, MaterialTreeSelectComponent, MonthInputComponent, NUMERIC_INPUTS_AI_CAPABILITIES, NumberInputComponent, OptionStore, PDX_COLOR_INPUT_COMPONENT_METADATA, PDX_COLOR_PICKER_COMPONENT_METADATA, PDX_DATETIME_LOCAL_INPUT_COMPONENT_METADATA, PDX_DATE_INPUT_COMPONENT_METADATA, PDX_EMAIL_INPUT_COMPONENT_METADATA, PDX_FIELD_SHELL_COMPONENT_METADATA, PDX_FILTER_INLINE_ASYNC_SELECT_COMPONENT_METADATA, PDX_FILTER_INLINE_AUTOCOMPLETE_COMPONENT_METADATA, PDX_FILTER_INLINE_COLOR_LABEL_COMPONENT_METADATA, PDX_FILTER_INLINE_CURRENCY_COMPONENT_METADATA, PDX_FILTER_INLINE_CURRENCY_RANGE_COMPONENT_METADATA, PDX_FILTER_INLINE_DATE_COMPONENT_METADATA, PDX_FILTER_INLINE_DATE_RANGE_COMPONENT_METADATA, PDX_FILTER_INLINE_DISTANCE_RADIUS_COMPONENT_METADATA, PDX_FILTER_INLINE_ENTITY_LOOKUP_COMPONENT_METADATA, PDX_FILTER_INLINE_INPUT_COMPONENT_METADATA, PDX_FILTER_INLINE_MULTI_SELECT_COMPONENT_METADATA, PDX_FILTER_INLINE_NUMBER_COMPONENT_METADATA, PDX_FILTER_INLINE_PIPELINE_STATUS_COMPONENT_METADATA, PDX_FILTER_INLINE_RANGE_SLIDER_COMPONENT_METADATA, PDX_FILTER_INLINE_RATING_COMPONENT_METADATA, PDX_FILTER_INLINE_RELATIVE_PERIOD_COMPONENT_METADATA, PDX_FILTER_INLINE_SCORE_PRIORITY_COMPONENT_METADATA, PDX_FILTER_INLINE_SEARCHABLE_SELECT_COMPONENT_METADATA, PDX_FILTER_INLINE_SELECT_COMPONENT_METADATA, PDX_FILTER_INLINE_SENTIMENT_COMPONENT_METADATA, PDX_FILTER_INLINE_TIME_COMPONENT_METADATA, PDX_FILTER_INLINE_TIME_RANGE_COMPONENT_METADATA, PDX_FILTER_INLINE_TOGGLE_COMPONENT_METADATA, PDX_FILTER_INLINE_TREE_SELECT_COMPONENT_METADATA, PDX_MATERIAL_AVATAR_COMPONENT_METADATA, PDX_MATERIAL_BUTTON_COMPONENT_METADATA, PDX_MATERIAL_BUTTON_TOGGLE_COMPONENT_METADATA, PDX_MATERIAL_CHECKBOX_GROUP_COMPONENT_METADATA, PDX_MATERIAL_CHIPS_COMPONENT_METADATA, PDX_MATERIAL_COLORPICKER_COMPONENT_METADATA, PDX_MATERIAL_CPF_CNPJ_INPUT_COMPONENT_METADATA, PDX_MATERIAL_CURRENCY_COMPONENT_METADATA, PDX_MATERIAL_DATEPICKER_COMPONENT_METADATA, PDX_MATERIAL_DATE_RANGE_COMPONENT_METADATA, PDX_MATERIAL_FILE_UPLOAD_COMPONENT_METADATA, PDX_MATERIAL_MULTI_SELECT_COMPONENT_METADATA, PDX_MATERIAL_MULTI_SELECT_TREE_COMPONENT_METADATA, PDX_MATERIAL_PRICE_RANGE_COMPONENT_METADATA, PDX_MATERIAL_RADIO_GROUP_COMPONENT_METADATA, PDX_MATERIAL_RANGE_SLIDER_COMPONENT_METADATA, PDX_MATERIAL_RATING_COMPONENT_METADATA, PDX_MATERIAL_SEARCHABLE_SELECT_COMPONENT_METADATA, PDX_MATERIAL_SELECTION_LIST_COMPONENT_METADATA, PDX_MATERIAL_SELECT_COMPONENT_METADATA, PDX_MATERIAL_SLIDER_COMPONENT_METADATA, PDX_MATERIAL_TEXTAREA_COMPONENT_METADATA, PDX_MATERIAL_TIMEPICKER_COMPONENT_METADATA, PDX_MATERIAL_TIME_RANGE_COMPONENT_METADATA, PDX_MATERIAL_TRANSFER_LIST_COMPONENT_METADATA, PDX_MATERIAL_TREE_SELECT_COMPONENT_METADATA, PDX_MONTH_INPUT_COMPONENT_METADATA, PDX_NUMBER_INPUT_COMPONENT_METADATA, PDX_PASSWORD_INPUT_COMPONENT_METADATA, PDX_PHONE_INPUT_COMPONENT_METADATA, PDX_PRELOAD_STATUS_COMPONENT_METADATA, PDX_SEARCH_INPUT_COMPONENT_METADATA, PDX_TEXT_INPUT_COMPONENT_METADATA, PDX_TIME_INPUT_COMPONENT_METADATA, PDX_URL_INPUT_COMPONENT_METADATA, PDX_WEEK_INPUT_COMPONENT_METADATA, PDX_YEAR_INPUT_COMPONENT_METADATA, PRAXIS_DYNAMIC_FIELDS_LOGGER_BACKEND, PRICE_RANGE_AI_CAPABILITIES, PasswordInputComponent, PdxColorPickerComponent, PdxMaterialRangeSliderComponent, PdxMaterialTimeRangeComponent, PdxYearInputComponent, PhoneInputComponent, PraxisErrorStateMatcher, PreloadStatusComponent, RETRY_DELAY, SELECT_CONTROLS_AI_CAPABILITIES, SearchInputComponent, SimpleBaseButtonComponent, SimpleBaseInputComponent, SimpleBaseSelectComponent, TEXT_INPUTS_AI_CAPABILITIES, TIME_RANGE_AI_CAPABILITIES, TOGGLE_CONTROLS_AI_CAPABILITIES, TREE_CONTROLS_AI_CAPABILITIES, TextInputComponent, TimeInputComponent, UrlInputComponent, WeekInputComponent, YEAR_INPUT_AI_CAPABILITIES, bindDynamicFieldsLoggerBackendFromInjector, clearDynamicFieldsLoggerBackend, configureDynamicFieldsLogger, createErrorStateMatcher, emitToDynamicFieldsLoggerBackend, enableDebugForComponent, getControlTypeCatalog, getErrorStateMatcherForField, inferErrorStateStrategy, initializeComponentSystem, initializeComponentSystemSync, isBaseDynamicFieldComponent, isLoadingCapableComponent, isValidJsonSchema, isValueBasedComponent, logger, mapJsonSchemaToFields, mapPropertyToFieldMetadata, normalizeFormMetadata, provideMaterialAvatarMetadata, providePraxisDynamicFields, providePraxisDynamicFieldsCore, providePraxisDynamicFieldsCoreNoDefaults, providePraxisDynamicFieldsNoDefaults, setDynamicFieldsLoggerBackend, silenceComponent, supportsClearButtonControlType };
|
|
5679
|
+
export type { ActionContext, ActionHandler, ActionResult, BaseDynamicFieldComponent, BaseValidationConfig, ComponentLifecycleEvent, ComponentLoadResult, ComponentRegistration, ConfirmDialogData, DynamicFieldsCoreLogOptions, DynamicFieldsCoreLoggerBackend, DynamicFieldsLoggerContext, DynamicFieldsLoggerLevel, ErrorStateStrategy, GradientSettings, IComponentRegistry, JsonSchema, JsonSchemaProperty, LoggerConfig, LoggerLevel, OptionSource, PaletteSettings, PopupSettings, PreloadStatus, RatingIconState, RegistryStats, SelectOption, ShortcutHandler, ShortcutInfo, SimpleSelectMetadata, TimeRangeValue, ValueChangeOptions };
|