@praxisui/dynamic-fields 8.0.0-beta.0 → 8.0.0-beta.100
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 +19 -0
- package/docs/dynamic-fields-field-catalog.md +217 -0
- package/docs/dynamic-fields-field-selection-guide.md +234 -0
- package/docs/dynamic-fields-host-custom-field-guide.md +252 -0
- package/docs/dynamic-fields-host-custom-field-troubleshooting.md +160 -0
- package/docs/dynamic-fields-inline-components-guide.md +582 -0
- package/docs/dynamic-fields-inline-filter-catalog.md +518 -0
- package/docs/dynamic-fields-inline-filter-custom-component-guide.md +241 -0
- package/docs/dynamic-fields-inline-filter-inventory.md +250 -0
- package/docs/dynamic-fields-inline-filter-runtime-contract.md +394 -0
- package/docs/dynamic-fields-inline-filter-selection-guide.md +419 -0
- package/docs/dynamic-fields-inline-filter-troubleshooting.md +201 -0
- package/docs/dynamic-fields-inventory.md +207 -0
- package/docs/dynamic-fields-playground-catalog-plan.md +243 -0
- package/docs/generic-crud-service.md +152 -0
- package/fesm2022/praxisui-dynamic-fields-index-BYVmv78m.mjs +1 -0
- package/fesm2022/praxisui-dynamic-fields-index-CBogy3si.mjs +1 -0
- package/fesm2022/praxisui-dynamic-fields-index-CWPZdn1Y.mjs +6 -0
- package/fesm2022/praxisui-dynamic-fields-index-CrHhyUMO.mjs +1 -0
- package/fesm2022/praxisui-dynamic-fields-index-DhGo5In4.mjs +6 -0
- package/fesm2022/praxisui-dynamic-fields.mjs +23335 -13721
- package/package.json +14 -13
- package/src/lib/base/pdx-base-input-runtime-contract.json-api.md +526 -0
- package/src/lib/base/pdx-base-select-runtime-contract.json-api.md +474 -0
- package/src/lib/components/color-input/pdx-color-input.json-api.md +573 -0
- package/src/lib/components/color-picker/pdx-color-picker.json-api.md +686 -0
- package/src/lib/components/date-input/pdx-date-input.json-api.md +581 -0
- package/src/lib/components/datetime-local-input/pdx-datetime-local-input.json-api.md +560 -0
- package/src/lib/components/email-input/pdx-email-input.json-api.md +546 -0
- package/src/lib/components/field-shell/praxis-field-shell.json-api.md +523 -0
- package/src/lib/components/inline-async-select/pdx-inline-async-select.json-api.md +566 -0
- package/src/lib/components/inline-autocomplete/pdx-inline-autocomplete.json-api.md +554 -0
- package/src/lib/components/inline-color-label/pdx-inline-color-label.json-api.md +615 -0
- package/src/lib/components/inline-currency/pdx-inline-currency.json-api.md +542 -0
- package/src/lib/components/inline-currency-range/pdx-inline-currency-range.json-api.md +630 -0
- package/src/lib/components/inline-date/pdx-inline-date.json-api.md +529 -0
- package/src/lib/components/inline-date-range/pdx-inline-date-range.json-api.md +592 -0
- package/src/lib/components/inline-distance-radius/pdx-inline-distance-radius.json-api.md +649 -0
- package/src/lib/components/inline-entity-lookup/pdx-inline-entity-lookup.json-api.md +656 -0
- package/src/lib/components/inline-input/pdx-inline-input.json-api.md +538 -0
- package/src/lib/components/inline-multi-select/pdx-inline-multi-select.json-api.md +566 -0
- package/src/lib/components/inline-number/pdx-inline-number.json-api.md +533 -0
- package/src/lib/components/inline-pipeline-status/pdx-inline-pipeline-status.json-api.md +619 -0
- package/src/lib/components/inline-range-slider/pdx-inline-range-slider.json-api.md +605 -0
- package/src/lib/components/inline-rating/pdx-inline-rating.json-api.md +594 -0
- package/src/lib/components/inline-relative-period/pdx-inline-relative-period.json-api.md +623 -0
- package/src/lib/components/inline-score-priority/pdx-inline-score-priority.json-api.md +632 -0
- package/src/lib/components/inline-searchable-select/pdx-inline-searchable-select.json-api.md +564 -0
- package/src/lib/components/inline-select/pdx-inline-select.json-api.md +571 -0
- package/src/lib/components/inline-sentiment/pdx-inline-sentiment.json-api.md +661 -0
- package/src/lib/components/inline-time/pdx-inline-time.json-api.md +573 -0
- package/src/lib/components/inline-time-range/pdx-inline-time-range.json-api.md +635 -0
- package/src/lib/components/inline-toggle/pdx-inline-toggle.json-api.md +516 -0
- package/src/lib/components/inline-tree-select/pdx-inline-tree-select.json-api.md +637 -0
- package/src/lib/components/material-async-select/pdx-material-async-select.json-api.md +566 -0
- package/src/lib/components/material-autocomplete/pdx-material-autocomplete.json-api.md +561 -0
- package/src/lib/components/material-avatar/pdx-material-avatar.json-api.md +670 -0
- package/src/lib/components/material-button/pdx-material-button.json-api.md +572 -0
- package/src/lib/components/material-button-toggle/pdx-material-button-toggle.json-api.md +577 -0
- package/src/lib/components/material-checkbox-group/pdx-material-checkbox-group.json-api.md +611 -0
- package/src/lib/components/material-chips/pdx-material-chips.json-api.md +601 -0
- package/src/lib/components/material-colorpicker/pdx-material-colorpicker.json-api.md +545 -0
- package/src/lib/components/material-cpf-cnpj-input/pdx-material-cpf-cnpj-input.json-api.md +531 -0
- package/src/lib/components/material-currency/pdx-material-currency.json-api.md +569 -0
- package/src/lib/components/material-date-range/pdx-material-date-range.json-api.md +636 -0
- package/src/lib/components/material-datepicker/pdx-material-datepicker.json-api.md +556 -0
- package/src/lib/components/material-file-upload/pdx-material-file-upload.json-api.md +511 -0
- package/src/lib/components/material-multi-select/pdx-material-multi-select.json-api.md +596 -0
- package/src/lib/components/material-multi-select-tree/pdx-material-multi-select-tree.json-api.md +623 -0
- package/src/lib/components/material-price-range/pdx-material-price-range.json-api.md +619 -0
- package/src/lib/components/material-radio-group/pdx-material-radio-group.json-api.md +585 -0
- package/src/lib/components/material-range-slider/pdx-material-range-slider.json-api.md +664 -0
- package/src/lib/components/material-rating/pdx-material-rating.json-api.md +551 -0
- package/src/lib/components/material-searchable-select/pdx-material-searchable-select.json-api.md +602 -0
- package/src/lib/components/material-select/pdx-material-select.json-api.md +601 -0
- package/src/lib/components/material-selection-list/pdx-material-selection-list.json-api.md +607 -0
- package/src/lib/components/material-slide-toggle/pdx-material-slide-toggle.json-api.md +522 -0
- package/src/lib/components/material-slider/pdx-material-slider.json-api.md +602 -0
- package/src/lib/components/material-textarea/pdx-material-textarea.json-api.md +598 -0
- package/src/lib/components/material-timepicker/pdx-material-timepicker.json-api.md +554 -0
- package/src/lib/components/material-transfer-list/pdx-material-transfer-list.json-api.md +614 -0
- package/src/lib/components/material-tree-select/pdx-material-tree-select.json-api.md +649 -0
- package/src/lib/components/month-input/pdx-month-input.json-api.md +527 -0
- package/src/lib/components/number-input/pdx-number-input.json-api.md +594 -0
- package/src/lib/components/password-input/pdx-password-input.json-api.md +574 -0
- package/src/lib/components/pdx-material-time-range/pdx-material-time-range.json-api.md +592 -0
- package/src/lib/components/pdx-year-input/pdx-year-input.json-api.md +543 -0
- package/src/lib/components/phone-input/pdx-phone-input.json-api.md +583 -0
- package/src/lib/components/preload-status/pdx-preload-status.json-api.md +455 -0
- package/src/lib/components/search-input/pdx-search-input.json-api.md +536 -0
- package/src/lib/components/text-input/pdx-text-input.json-api.md +600 -0
- package/src/lib/components/time-input/pdx-time-input.json-api.md +546 -0
- package/src/lib/components/url-input/pdx-url-input.json-api.md +542 -0
- package/src/lib/components/week-input/pdx-week-input.json-api.md +533 -0
- package/{index.d.ts → types/praxisui-dynamic-fields.d.ts} +953 -443
- package/fesm2022/praxisui-dynamic-fields-index-C9IUU4lo.mjs +0 -1
- package/fesm2022/praxisui-dynamic-fields-index-GJtthzkD.mjs +0 -1
- package/fesm2022/praxisui-dynamic-fields-index-XvVS6lAQ.mjs +0 -1
- package/fesm2022/praxisui-dynamic-fields-index-iIeaA6ko.mjs +0 -1
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { WritableSignal, InjectionToken, Provider, OnInit, OnDestroy, AfterViewInit, DestroyRef, ElementRef, ChangeDetectorRef, OnChanges, TemplateRef, EventEmitter, ComponentRef, SimpleChanges, Type, EnvironmentProviders, Injector } from '@angular/core';
|
|
3
|
-
import { AbstractControl, ControlValueAccessor, NgControl, ValidationErrors, FormControl, FormGroup, FormGroupDirective, NgForm } from '@angular/forms';
|
|
4
|
-
import { Observable, BehaviorSubject } from 'rxjs';
|
|
5
|
-
import
|
|
2
|
+
import { WritableSignal, InjectionToken, Provider, OnInit, OnDestroy, AfterViewInit, DestroyRef, ElementRef, ChangeDetectorRef, OnChanges, TemplateRef, EventEmitter, ComponentRef, SimpleChanges, DoCheck, AfterViewChecked, Type, EnvironmentProviders, Injector } from '@angular/core';
|
|
3
|
+
import { AbstractControl, ControlValueAccessor, NgControl, ValidationErrors, FormControl, FormGroup, FormArray, FormGroupDirective, NgForm } from '@angular/forms';
|
|
4
|
+
import { Observable, BehaviorSubject, Subscription } from 'rxjs';
|
|
5
|
+
import * as _praxisui_core from '@praxisui/core';
|
|
6
|
+
import { ComponentMetadata, PraxisTextValue, PraxisI18nDictionary, PraxisI18nConfig, PraxisI18nMessageDescriptor, PraxisI18nService, GlobalActionService, GlobalActionRef, OptionSourceMetadata, GenericCrudService, GlobalConfigService, OptionDTO, ComponentMetadataEditorialDescriptor, ComponentDocMeta, ComponentMetadataRegistry, FieldMetadata, MaterialButtonMetadata, FieldArrayConfig, MaterialInputMetadata, MaterialColorInputMetadata, MaterialDateInputMetadata, MaterialDatepickerMetadata, MaterialDateRangeMetadata, DateRangePreset, DateRangeValue, MaterialDatetimeLocalInputMetadata, MaterialEmailInputMetadata, MaterialTextareaMetadata, MaterialNumericMetadata, MaterialCurrencyMetadata, MaterialCpfCnpjMetadata, MaterialPriceRangeMetadata, MaterialMonthInputMetadata, MaterialPasswordMetadata, MaterialSearchInputMetadata, MaterialSelectMetadata, LookupFilterRequest, LookupFilteringMetadata, LookupSortOptionMetadata, LookupFilterDefinitionMetadata, MaterialEntityLookupMetadata, LookupStatusTone, EntityLookupResultState, EntityLookupResult, LookupDialogMetadata, LookupFilterOperator, LookupFilterFieldType, LookupResultColumnMetadata, MaterialAutocompleteMetadata, MaterialToggleMetadata, MaterialRangeSliderMetadata, RangeSliderValue, InlinePeriodRangeMetadata, FieldControlType, MaterialTimepickerMetadata, MaterialTimeRangeMetadata, MaterialTreeNode, MaterialTreeSelectMetadata, MaterialMultiSelectTreeMetadata, MaterialChipsMetadata, RangeSliderMark, RangeSliderSemanticBand, MaterialSliderMetadata, MaterialPhoneMetadata, MaterialTimeInputMetadata, MaterialUrlInputMetadata, MaterialWeekInputMetadata, MaterialColorPickerMetadata, MaterialYearInputMetadata, CapabilityCatalog, ComponentAuthoringManifest, ManifestControlProfile } from '@praxisui/core';
|
|
6
7
|
import { Router } from '@angular/router';
|
|
7
8
|
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
8
9
|
import { MatSelect } from '@angular/material/select';
|
|
9
|
-
import * as
|
|
10
|
+
import * as _angular_material_core from '@angular/material/core';
|
|
11
|
+
import { MatOptionSelectionChange, ErrorStateMatcher } from '@angular/material/core';
|
|
10
12
|
import { MatDatepickerInputEvent, MatDateRangePicker, MatDatepicker } from '@angular/material/datepicker';
|
|
11
13
|
import { ConnectedPosition } from '@angular/cdk/overlay';
|
|
14
|
+
import * as _praxisui_dynamic_fields from '@praxisui/dynamic-fields';
|
|
12
15
|
import { MatAutocompleteTrigger } from '@angular/material/autocomplete';
|
|
13
16
|
import { MatMenuTrigger } from '@angular/material/menu';
|
|
14
17
|
import { NestedTreeControl } from '@angular/cdk/tree';
|
|
15
18
|
import { MatTreeNestedDataSource } from '@angular/material/tree';
|
|
16
|
-
import { MatOptionSelectionChange, ErrorStateMatcher } from '@angular/material/core';
|
|
17
19
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
18
20
|
import { MatChipInputEvent } from '@angular/material/chips';
|
|
19
21
|
import { MatButtonToggleChange } from '@angular/material/button-toggle';
|
|
@@ -249,6 +251,7 @@ interface PraxisDynamicFieldsI18nOverrides {
|
|
|
249
251
|
loading?: PraxisDynamicFieldText;
|
|
250
252
|
loadMore?: PraxisDynamicFieldText;
|
|
251
253
|
endOfList?: PraxisDynamicFieldText;
|
|
254
|
+
noOptionsAvailable?: PraxisDynamicFieldText;
|
|
252
255
|
loadingOptionsAriaLabel?: PraxisDynamicFieldText;
|
|
253
256
|
};
|
|
254
257
|
tree?: {
|
|
@@ -397,6 +400,10 @@ interface PraxisDynamicFieldsI18nOverrides {
|
|
|
397
400
|
};
|
|
398
401
|
multiSelect?: {
|
|
399
402
|
selectAllLabel?: PraxisDynamicFieldText;
|
|
403
|
+
selectedTokensAriaLabel?: PraxisDynamicFieldText;
|
|
404
|
+
removeSelectionAriaLabel?: PraxisDynamicFieldText;
|
|
405
|
+
selectedPanelTitle?: PraxisDynamicFieldText;
|
|
406
|
+
selectedPanelRemoveHint?: PraxisDynamicFieldText;
|
|
400
407
|
};
|
|
401
408
|
transferList?: {
|
|
402
409
|
availableLabel?: PraxisDynamicFieldText;
|
|
@@ -405,6 +412,9 @@ interface PraxisDynamicFieldsI18nOverrides {
|
|
|
405
412
|
moveAllToRightAriaLabel?: PraxisDynamicFieldText;
|
|
406
413
|
moveSelectedToLeftAriaLabel?: PraxisDynamicFieldText;
|
|
407
414
|
moveAllToLeftAriaLabel?: PraxisDynamicFieldText;
|
|
415
|
+
availableEmptyText?: PraxisDynamicFieldText;
|
|
416
|
+
selectedEmptyText?: PraxisDynamicFieldText;
|
|
417
|
+
noResultsText?: PraxisDynamicFieldText;
|
|
408
418
|
};
|
|
409
419
|
checkboxGroup?: {
|
|
410
420
|
optionUnavailableDescription?: PraxisDynamicFieldText;
|
|
@@ -469,6 +479,8 @@ declare abstract class SimpleBaseInputComponent implements ControlValueAccessor,
|
|
|
469
479
|
protected readonly i18n: PraxisI18nService;
|
|
470
480
|
protected readonly dynamicFieldsI18n: PraxisDynamicFieldsI18nOverrides | null;
|
|
471
481
|
private resolvedNgControl;
|
|
482
|
+
private integratedControl;
|
|
483
|
+
private controlIntegrationSubscription;
|
|
472
484
|
/** Subject para eventos de lifecycle */
|
|
473
485
|
readonly lifecycleEvents$: BehaviorSubject<ComponentLifecycleEvent | null>;
|
|
474
486
|
/** Native element registered by subclasses */
|
|
@@ -540,8 +552,11 @@ declare abstract class SimpleBaseInputComponent implements ControlValueAccessor,
|
|
|
540
552
|
readonly includeReadonly?: boolean;
|
|
541
553
|
readonly includePresentation?: boolean;
|
|
542
554
|
}): boolean;
|
|
555
|
+
protected isValidationVisualSuppressedByState(): boolean;
|
|
543
556
|
protected resolveInlineContextTooltipLabel(): string;
|
|
557
|
+
inputAriaLabel(): string | null;
|
|
544
558
|
protected stringifyInlineContextValue(value: unknown): string;
|
|
559
|
+
protected composeInlineChipDisplayText(label: string, value: string): string;
|
|
545
560
|
private truncateInlineTooltipText;
|
|
546
561
|
private humanizeInlineFieldName;
|
|
547
562
|
/** Gate to control when inline errors may display (debounced for 'change') */
|
|
@@ -696,6 +711,9 @@ declare abstract class SimpleBaseInputComponent implements ControlValueAccessor,
|
|
|
696
711
|
protected getSpecificCssClasses(): string[];
|
|
697
712
|
private setupFormControlIntegration;
|
|
698
713
|
private syncComponentStateFromControl;
|
|
714
|
+
private handleMaskedNativeInput;
|
|
715
|
+
protected applyNativeDisplayMask(value?: unknown): void;
|
|
716
|
+
private resolveNativeDisplayMask;
|
|
699
717
|
private refreshErrorTooltip;
|
|
700
718
|
protected ariaInvalidAttribute(): 'true' | null;
|
|
701
719
|
protected tDynamicFields(keySuffix: string, fallback: string, params?: Record<string, string | number | boolean | null | undefined>): string;
|
|
@@ -738,8 +756,9 @@ interface BasicButtonState {
|
|
|
738
756
|
error: Error | null;
|
|
739
757
|
}
|
|
740
758
|
interface ButtonAction {
|
|
741
|
-
type: 'navigation' | 'external-link' | 'custom' | 'form-action';
|
|
759
|
+
type: 'navigation' | 'external-link' | 'global' | 'custom' | 'form-action';
|
|
742
760
|
target?: string;
|
|
761
|
+
globalAction?: GlobalActionRef;
|
|
743
762
|
payload?: any;
|
|
744
763
|
confirmation?: {
|
|
745
764
|
title: string;
|
|
@@ -755,6 +774,7 @@ declare abstract class SimpleBaseButtonComponent implements OnInit, OnDestroy, B
|
|
|
755
774
|
protected readonly cdr: ChangeDetectorRef;
|
|
756
775
|
protected readonly router: Router;
|
|
757
776
|
protected readonly dialog: MatDialog;
|
|
777
|
+
protected readonly globalActions: GlobalActionService | null;
|
|
758
778
|
protected readonly i18n: PraxisI18nService;
|
|
759
779
|
protected readonly dynamicFieldsI18n: PraxisDynamicFieldsI18nOverrides | null;
|
|
760
780
|
/** Subject para eventos de lifecycle */
|
|
@@ -945,6 +965,7 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
|
|
|
945
965
|
readonly resourcePath: _angular_core.WritableSignal<string | null>;
|
|
946
966
|
/** Canonical source for derived options */
|
|
947
967
|
readonly optionSource: _angular_core.WritableSignal<OptionSourceMetadata | null>;
|
|
968
|
+
readonly useOptionsFilterEndpoint: _angular_core.WritableSignal<boolean>;
|
|
948
969
|
/** Criteria applied to backend filtering */
|
|
949
970
|
readonly filterCriteria: _angular_core.WritableSignal<Record<string, any>>;
|
|
950
971
|
/** Field used for option labels when loading from backend */
|
|
@@ -962,6 +983,7 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
|
|
|
962
983
|
/** Holds error message when option loading fails */
|
|
963
984
|
readonly error: _angular_core.WritableSignal<string | null>;
|
|
964
985
|
private readonly matSelectInitEffect;
|
|
986
|
+
private readonly multipleControlNormalizationEffect;
|
|
965
987
|
/** CRUD service for remote option loading (optional) */
|
|
966
988
|
protected readonly crudService: GenericCrudService<any> | null;
|
|
967
989
|
/** Emits whenever the selected value(s) change */
|
|
@@ -972,9 +994,14 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
|
|
|
972
994
|
readonly optionsLoaded: _angular_core.OutputEmitterRef<SelectOption<T>[]>;
|
|
973
995
|
readonly openedChange: _angular_core.OutputEmitterRef<boolean>;
|
|
974
996
|
protected matSelect: MatSelect | null;
|
|
997
|
+
private panelClassCacheSignature;
|
|
998
|
+
private panelClassCache;
|
|
999
|
+
private remoteOptionsLoadTimer;
|
|
1000
|
+
private remoteOptionsLoadSignature;
|
|
1001
|
+
private remoteOptionsLoadDestroyHookRegistered;
|
|
975
1002
|
protected readonly global: GlobalConfigService;
|
|
976
1003
|
private dependencySub;
|
|
977
|
-
|
|
1004
|
+
protected remoteSelectionHydrationSub: Subscription | null;
|
|
978
1005
|
private hasLoadedOnce;
|
|
979
1006
|
/** Options filtered according to the current `searchTerm` */
|
|
980
1007
|
readonly filteredOptions: _angular_core.Signal<SelectOption<T>[]>;
|
|
@@ -986,6 +1013,7 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
|
|
|
986
1013
|
* Applies typed metadata to the select component.
|
|
987
1014
|
*/
|
|
988
1015
|
setSelectMetadata(metadata: SimpleSelectMetadata<T>): void;
|
|
1016
|
+
private scheduleRemoteOptionsLoad;
|
|
989
1017
|
protected setMetadata(metadata: ComponentMetadata): void;
|
|
990
1018
|
protected registerMatSelect(select: MatSelect): void;
|
|
991
1019
|
protected applySelectAttributes(): void;
|
|
@@ -993,6 +1021,8 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
|
|
|
993
1021
|
protected defaultPanelClass(): string | string[] | undefined;
|
|
994
1022
|
selectPanelClass(): string[];
|
|
995
1023
|
protected isInteractionDisabled(): boolean;
|
|
1024
|
+
protected normalizeMultipleControlValue(): void;
|
|
1025
|
+
setExternalControl(control: AbstractControl): void;
|
|
996
1026
|
/** Whether to show the clear button (if enabled in metadata) */
|
|
997
1027
|
showClear(): boolean;
|
|
998
1028
|
/** Clears the selection according to single/multiple mode */
|
|
@@ -1034,6 +1064,7 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
|
|
|
1034
1064
|
loadingOptionsLabel(): string;
|
|
1035
1065
|
loadMoreOptionsLabel(): string;
|
|
1036
1066
|
endOfOptionsLabel(): string;
|
|
1067
|
+
noOptionsAvailableLabel(): string;
|
|
1037
1068
|
loadingOptionsAriaLabel(): string;
|
|
1038
1069
|
/**
|
|
1039
1070
|
* Ícone para estado "selecionado" em opções do painel.
|
|
@@ -1084,6 +1115,9 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
|
|
|
1084
1115
|
selectOption(option: SelectOption<T>): void;
|
|
1085
1116
|
/** Checks if the provided value is currently selected */
|
|
1086
1117
|
isSelected(value: T): boolean;
|
|
1118
|
+
isOptionDisabled(option: SelectOption<T>): boolean;
|
|
1119
|
+
protected areOptionValuesEqual(left: unknown, right: unknown): boolean;
|
|
1120
|
+
protected normalizeComparableOptionValue(value: unknown): unknown;
|
|
1087
1121
|
/**
|
|
1088
1122
|
* Toggles selection of all options when `selectAll` is enabled in multiple
|
|
1089
1123
|
* selection mode.
|
|
@@ -1098,6 +1132,7 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
|
|
|
1098
1132
|
protected resolveInlineContextTooltipValue(): string;
|
|
1099
1133
|
/** Configures the CRUD service with the given resource path */
|
|
1100
1134
|
protected configureCrudService(path: string): void;
|
|
1135
|
+
private isOptionsFilterEndpoint;
|
|
1101
1136
|
private resolveSelectedOptionLabel;
|
|
1102
1137
|
private areSelectValuesEqual;
|
|
1103
1138
|
/**
|
|
@@ -1126,6 +1161,12 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
|
|
|
1126
1161
|
protected extractDependencyValue(raw: any, path?: string): any;
|
|
1127
1162
|
protected applyDependencyCriteria(fragment: Record<string, any>, strategy?: 'merge' | 'replace'): void;
|
|
1128
1163
|
protected onDependenciesChanged(): void;
|
|
1164
|
+
protected resolveDependencyFields(meta: SimpleSelectMetadata<T> & Record<string, any>): string[] | undefined;
|
|
1165
|
+
protected resolveDependencyFilterMap(meta: SimpleSelectMetadata<T> & Record<string, any>): Record<string, string | {
|
|
1166
|
+
key: string;
|
|
1167
|
+
valuePath?: string;
|
|
1168
|
+
}> | undefined;
|
|
1169
|
+
protected resolveDependencyValuePathConfig(meta: SimpleSelectMetadata<T> & Record<string, any>): string | Record<string, string> | undefined;
|
|
1129
1170
|
private getByPath;
|
|
1130
1171
|
private setByPath;
|
|
1131
1172
|
private unsetByPath;
|
|
@@ -1419,6 +1460,11 @@ declare class DynamicFieldLoaderDirective implements OnInit, OnDestroy, OnChange
|
|
|
1419
1460
|
field: FieldMetadata;
|
|
1420
1461
|
element: HTMLElement;
|
|
1421
1462
|
}>;
|
|
1463
|
+
/** @internal Emits when a field receives focus in canvas mode */
|
|
1464
|
+
canvasFocus: EventEmitter<{
|
|
1465
|
+
field: FieldMetadata;
|
|
1466
|
+
element: HTMLElement;
|
|
1467
|
+
}>;
|
|
1422
1468
|
/** Mapa interno de componentes criados */
|
|
1423
1469
|
private componentRefs;
|
|
1424
1470
|
/** Mapa de shells criados */
|
|
@@ -1529,6 +1575,8 @@ declare class DynamicFieldLoaderDirective implements OnInit, OnDestroy, OnChange
|
|
|
1529
1575
|
/**
|
|
1530
1576
|
* Reatribui apenas os FormControls existentes aos componentes/shells sem refazer a renderização.
|
|
1531
1577
|
*/
|
|
1578
|
+
private hasSameRenderShape;
|
|
1579
|
+
private updateExistingFieldMetadata;
|
|
1532
1580
|
private rebindControlsOnly;
|
|
1533
1581
|
/** Destroi todos os componentes e limpa o container */
|
|
1534
1582
|
private destroyComponents;
|
|
@@ -1547,11 +1595,10 @@ declare class DynamicFieldLoaderDirective implements OnInit, OnDestroy, OnChange
|
|
|
1547
1595
|
*/
|
|
1548
1596
|
private inferControlTypeFromField;
|
|
1549
1597
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DynamicFieldLoaderDirective, never>;
|
|
1550
|
-
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>;
|
|
1598
|
+
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"; "canvasFocus": "canvasFocus"; }, never, never, true, never>;
|
|
1551
1599
|
}
|
|
1552
1600
|
|
|
1553
1601
|
declare class MaterialButtonComponent extends SimpleBaseButtonComponent implements OnDestroy {
|
|
1554
|
-
private readonly actionResolver;
|
|
1555
1602
|
private readonly keyboardService;
|
|
1556
1603
|
private unregisterShortcut?;
|
|
1557
1604
|
/** Estado adicional específico do Material Button */
|
|
@@ -1625,6 +1672,50 @@ declare class ConfirmDialogComponent {
|
|
|
1625
1672
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ConfirmDialogComponent, "pdx-confirm-dialog", never, {}, {}, never, never, true, never>;
|
|
1626
1673
|
}
|
|
1627
1674
|
|
|
1675
|
+
declare class EditableCollectionComponent implements BaseDynamicFieldComponent {
|
|
1676
|
+
private readonly dynamicForm;
|
|
1677
|
+
private readonly i18n;
|
|
1678
|
+
private readonly collectionRoot?;
|
|
1679
|
+
private readonly addButton?;
|
|
1680
|
+
readonly metadata: _angular_core.WritableSignal<ComponentMetadata | null>;
|
|
1681
|
+
readonly componentId: _angular_core.WritableSignal<string>;
|
|
1682
|
+
readonly formControl: _angular_core.WritableSignal<AbstractControl<any, any, any> | null>;
|
|
1683
|
+
readonlyMode: boolean;
|
|
1684
|
+
disabledMode: boolean;
|
|
1685
|
+
visible: boolean;
|
|
1686
|
+
presentationMode: boolean;
|
|
1687
|
+
label: string;
|
|
1688
|
+
readonly arrayControl: _angular_core.Signal<FormArray<any> | null>;
|
|
1689
|
+
readonly itemFields: _angular_core.Signal<FieldMetadata[]>;
|
|
1690
|
+
itemGroups(): FormGroup[];
|
|
1691
|
+
readonly arrayConfig: _angular_core.Signal<FieldArrayConfig>;
|
|
1692
|
+
readonly headingId: _angular_core.Signal<string>;
|
|
1693
|
+
readonly errorId: _angular_core.Signal<string>;
|
|
1694
|
+
setInputMetadata(metadata: ComponentMetadata): void;
|
|
1695
|
+
setExternalControl(control: AbstractControl): void;
|
|
1696
|
+
focus(): void;
|
|
1697
|
+
blur(): void;
|
|
1698
|
+
addItem(): void;
|
|
1699
|
+
removeItem(index: number): void;
|
|
1700
|
+
canAdd(): boolean;
|
|
1701
|
+
canShowAdd(): boolean;
|
|
1702
|
+
canRemove(_index: number): boolean;
|
|
1703
|
+
canShowRemove(_index: number): boolean;
|
|
1704
|
+
isInteractionDisabled(): boolean;
|
|
1705
|
+
isItemEditReadonly(): boolean;
|
|
1706
|
+
addLabel(): string;
|
|
1707
|
+
removeLabel(): string;
|
|
1708
|
+
emptyState(): string;
|
|
1709
|
+
hasVisibleErrors(): boolean;
|
|
1710
|
+
itemTitle(group: FormGroup, index: number): string;
|
|
1711
|
+
errorMessages(): string[];
|
|
1712
|
+
trackItem(index: number, group: FormGroup): unknown;
|
|
1713
|
+
private readPath;
|
|
1714
|
+
private t;
|
|
1715
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EditableCollectionComponent, never>;
|
|
1716
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EditableCollectionComponent, "pdx-editable-collection", 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>;
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1628
1719
|
declare class TextInputComponent extends SimpleBaseInputComponent {
|
|
1629
1720
|
readonly validationChange: _angular_core.OutputEmitterRef<ValidationErrors | null>;
|
|
1630
1721
|
readonlyMode: boolean;
|
|
@@ -1652,7 +1743,7 @@ declare class TextInputComponent extends SimpleBaseInputComponent {
|
|
|
1652
1743
|
setInputMetadata(metadata: MaterialInputMetadata): void;
|
|
1653
1744
|
showClear(): boolean;
|
|
1654
1745
|
onClearClick(): void;
|
|
1655
|
-
errorStateMatcher():
|
|
1746
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
1656
1747
|
private clearButtonConfig;
|
|
1657
1748
|
private metadataRecord;
|
|
1658
1749
|
private metadataAsField;
|
|
@@ -1692,13 +1783,14 @@ declare class ColorInputComponent extends SimpleBaseInputComponent {
|
|
|
1692
1783
|
ngOnInit(): void;
|
|
1693
1784
|
validateField(): Promise<ValidationErrors | null>;
|
|
1694
1785
|
protected getSpecificCssClasses(): string[];
|
|
1786
|
+
effectiveFloatLabelBehavior(): 'always';
|
|
1695
1787
|
/** Applies component metadata with strong typing. */
|
|
1696
1788
|
setInputMetadata(metadata: MaterialColorInputMetadata): void;
|
|
1697
1789
|
/** Programmatically opens the native color picker if supported. */
|
|
1698
1790
|
openNativePicker(): void;
|
|
1699
1791
|
onNativeColorChange(event: Event): void;
|
|
1700
1792
|
previewColor(): string;
|
|
1701
|
-
errorStateMatcher():
|
|
1793
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
1702
1794
|
isReadonlyEffective(): boolean;
|
|
1703
1795
|
openMenu(): void;
|
|
1704
1796
|
onSwatchClick(c: string): void;
|
|
@@ -1754,7 +1846,7 @@ declare class DateInputComponent extends SimpleBaseInputComponent {
|
|
|
1754
1846
|
protected getSpecificCssClasses(): string[];
|
|
1755
1847
|
/** Applies component metadata with strong typing. */
|
|
1756
1848
|
setInputMetadata(metadata: MaterialDateInputMetadata): void;
|
|
1757
|
-
errorStateMatcher():
|
|
1849
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
1758
1850
|
private metadataAsField;
|
|
1759
1851
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DateInputComponent, never>;
|
|
1760
1852
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DateInputComponent, "pdx-date-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>;
|
|
@@ -1770,6 +1862,7 @@ declare class DateInputComponent extends SimpleBaseInputComponent {
|
|
|
1770
1862
|
declare class MaterialDatepickerComponent extends SimpleBaseInputComponent {
|
|
1771
1863
|
/** Emits whenever validation state changes. */
|
|
1772
1864
|
readonly validationChange: _angular_core.OutputEmitterRef<ValidationErrors | null>;
|
|
1865
|
+
private readonly dateAdapter;
|
|
1773
1866
|
readonlyMode: boolean;
|
|
1774
1867
|
disabledMode: boolean;
|
|
1775
1868
|
visible: boolean;
|
|
@@ -1777,19 +1870,32 @@ declare class MaterialDatepickerComponent extends SimpleBaseInputComponent {
|
|
|
1777
1870
|
readonly minDate: _angular_core.Signal<any>;
|
|
1778
1871
|
readonly maxDate: _angular_core.Signal<any>;
|
|
1779
1872
|
readonly startAt: _angular_core.Signal<any>;
|
|
1873
|
+
setExternalControl(control: AbstractControl): void;
|
|
1874
|
+
writeValue(value: unknown): void;
|
|
1875
|
+
setValue(value: unknown, options?: Parameters<SimpleBaseInputComponent['setValue']>[1]): void;
|
|
1876
|
+
protected applyNativeDisplayMask(): void;
|
|
1780
1877
|
onDateChange(event: MatDatepickerInputEvent<Date | null>): void;
|
|
1781
1878
|
validateField(): Promise<ValidationErrors | null>;
|
|
1782
1879
|
protected getSpecificCssClasses(): string[];
|
|
1783
1880
|
/** Applies component metadata with strong typing. */
|
|
1784
1881
|
setDatepickerMetadata(metadata: MaterialDatepickerMetadata): void;
|
|
1882
|
+
setInputMetadata(metadata: MaterialDatepickerMetadata): void;
|
|
1883
|
+
protected setMetadata(metadata: MaterialDatepickerMetadata): void;
|
|
1785
1884
|
isReadonlyEffective(): boolean;
|
|
1786
|
-
|
|
1885
|
+
isInputReadonly(): boolean;
|
|
1886
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
1787
1887
|
showClear(): boolean;
|
|
1788
1888
|
onClearClick(): void;
|
|
1789
1889
|
private clearButtonConfig;
|
|
1790
1890
|
private metadataRecordForClear;
|
|
1791
1891
|
private metadataAsField;
|
|
1792
1892
|
private parseDateOnlyString;
|
|
1893
|
+
private applyDateLocale;
|
|
1894
|
+
private resolveMetadataLocale;
|
|
1895
|
+
private resolveMetadataDateOrder;
|
|
1896
|
+
private stringMetadataValue;
|
|
1897
|
+
private coerceCurrentControlValue;
|
|
1898
|
+
private coerceDateValue;
|
|
1793
1899
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialDatepickerComponent, never>;
|
|
1794
1900
|
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>;
|
|
1795
1901
|
}
|
|
@@ -1826,16 +1932,26 @@ declare class MaterialDateRangeComponent extends SimpleBaseInputComponent implem
|
|
|
1826
1932
|
readonly maxDate: _angular_core.Signal<any>;
|
|
1827
1933
|
readonly startAt: _angular_core.Signal<any>;
|
|
1828
1934
|
overlayOpen: boolean;
|
|
1935
|
+
readonly shortcutOverlayViewportMargin = 12;
|
|
1936
|
+
private pickerOpen;
|
|
1829
1937
|
private readonly dateAdapter;
|
|
1830
1938
|
picker: MatDateRangePicker<Date>;
|
|
1939
|
+
private endDateInput?;
|
|
1831
1940
|
readonly shouldShowShortcuts: () => boolean;
|
|
1832
1941
|
readonly overlayPositions: () => ConnectedPosition[];
|
|
1942
|
+
private shortcutOverlayBelowPositions;
|
|
1943
|
+
private shortcutOverlayLeftPositions;
|
|
1944
|
+
private shortcutOverlayRightPositions;
|
|
1833
1945
|
readonly resolvedPresets: _angular_core.Signal<Record<string, DateRangePreset>>;
|
|
1834
1946
|
readonly shortcutItems: _angular_core.Signal<DateRangeShortcutItem[]>;
|
|
1835
1947
|
readonly activePresetId: () => string | null;
|
|
1836
1948
|
writeValue(value: unknown): void;
|
|
1837
1949
|
ngOnInit(): void;
|
|
1838
1950
|
protected shouldPropagateRangeGroupChanges(): boolean;
|
|
1951
|
+
protected focusEndDateInput(event: Event): void;
|
|
1952
|
+
private propagateRangeValue;
|
|
1953
|
+
private isEmptyRangeValue;
|
|
1954
|
+
private areDatesEqual;
|
|
1839
1955
|
validateField(): Promise<ValidationErrors | null>;
|
|
1840
1956
|
protected getSpecificCssClasses(): string[];
|
|
1841
1957
|
/** Applies component metadata with strong typing. */
|
|
@@ -1843,7 +1959,7 @@ declare class MaterialDateRangeComponent extends SimpleBaseInputComponent implem
|
|
|
1843
1959
|
/** Standard API for manual form metadata updates */
|
|
1844
1960
|
setInputMetadata(metadata: MaterialDateRangeMetadata): void;
|
|
1845
1961
|
isReadonlyEffective(): boolean;
|
|
1846
|
-
errorStateMatcher():
|
|
1962
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
1847
1963
|
openShortcuts(): void;
|
|
1848
1964
|
closeShortcuts(): void;
|
|
1849
1965
|
onOverlayDetach(): void;
|
|
@@ -1876,7 +1992,7 @@ declare class DatetimeLocalInputComponent extends SimpleBaseInputComponent {
|
|
|
1876
1992
|
protected getSpecificCssClasses(): string[];
|
|
1877
1993
|
/** Applies component metadata with strong typing. */
|
|
1878
1994
|
setInputMetadata(metadata: MaterialDatetimeLocalInputMetadata): void;
|
|
1879
|
-
errorStateMatcher():
|
|
1995
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
1880
1996
|
/**
|
|
1881
1997
|
* Datetime-local input is officially minute-granularity only.
|
|
1882
1998
|
* Non-minute step values fallback to 60s.
|
|
@@ -1909,7 +2025,7 @@ declare class EmailInputComponent extends SimpleBaseInputComponent {
|
|
|
1909
2025
|
protected getSpecificCssClasses(): string[];
|
|
1910
2026
|
/** Applies component metadata with strong typing. */
|
|
1911
2027
|
setInputMetadata(metadata: MaterialEmailInputMetadata): void;
|
|
1912
|
-
errorStateMatcher():
|
|
2028
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
1913
2029
|
isReadonlyEffective(): boolean;
|
|
1914
2030
|
private metadataAsField;
|
|
1915
2031
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EmailInputComponent, never>;
|
|
@@ -1989,7 +2105,7 @@ declare class NumberInputComponent extends SimpleBaseInputComponent {
|
|
|
1989
2105
|
ngOnInit(): void;
|
|
1990
2106
|
validateField(): Promise<ValidationErrors | null>;
|
|
1991
2107
|
protected getSpecificCssClasses(): string[];
|
|
1992
|
-
errorStateMatcher():
|
|
2108
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
1993
2109
|
/** Applies component metadata with strong typing. */
|
|
1994
2110
|
setInputMetadata(metadata: MaterialNumericMetadata): void;
|
|
1995
2111
|
private applyNumericValidators;
|
|
@@ -2045,7 +2161,7 @@ declare class MaterialCurrencyComponent extends SimpleBaseInputComponent {
|
|
|
2045
2161
|
protected currencySymbol(): string;
|
|
2046
2162
|
protected getSpecificCssClasses(): string[];
|
|
2047
2163
|
onClearClick(): void;
|
|
2048
|
-
errorStateMatcher():
|
|
2164
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2049
2165
|
private minValidator?;
|
|
2050
2166
|
private maxValidator?;
|
|
2051
2167
|
private syncCurrencyValidators;
|
|
@@ -2055,6 +2171,7 @@ declare class MaterialCurrencyComponent extends SimpleBaseInputComponent {
|
|
|
2055
2171
|
/** Formats the input value without touching or changing focus state. */
|
|
2056
2172
|
formatDisplayValue(): void;
|
|
2057
2173
|
writeValue(value: unknown): void;
|
|
2174
|
+
protected applyNativeDisplayMask(): void;
|
|
2058
2175
|
validateField(): Promise<ValidationErrors | null>;
|
|
2059
2176
|
readonlyMode: boolean;
|
|
2060
2177
|
set disabledMode(value: boolean);
|
|
@@ -2085,7 +2202,7 @@ declare class MaterialCpfCnpjInputComponent extends SimpleBaseInputComponent {
|
|
|
2085
2202
|
cpfCnpjMetadata: _angular_core.Signal<MaterialCpfCnpjMetadata | null>;
|
|
2086
2203
|
getSpecificCssClasses(): string[];
|
|
2087
2204
|
setInputMetadata(metadata: MaterialCpfCnpjMetadata): void;
|
|
2088
|
-
errorStateMatcher():
|
|
2205
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2089
2206
|
onComponentInit(): void;
|
|
2090
2207
|
private setupDynamicValidator;
|
|
2091
2208
|
isReadonlyEffective(): boolean;
|
|
@@ -2174,7 +2291,7 @@ declare class MonthInputComponent extends SimpleBaseInputComponent {
|
|
|
2174
2291
|
protected getSpecificCssClasses(): string[];
|
|
2175
2292
|
/** Applies component metadata with strong typing. */
|
|
2176
2293
|
setInputMetadata(metadata: MaterialMonthInputMetadata): void;
|
|
2177
|
-
errorStateMatcher():
|
|
2294
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2178
2295
|
isReadonlyEffective(): boolean;
|
|
2179
2296
|
private metadataAsField;
|
|
2180
2297
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MonthInputComponent, never>;
|
|
@@ -2211,7 +2328,7 @@ declare class PasswordInputComponent extends SimpleBaseInputComponent {
|
|
|
2211
2328
|
onRevealToggleClick(event: MouseEvent): void;
|
|
2212
2329
|
/** Applies typed metadata to the component. */
|
|
2213
2330
|
setInputMetadata(metadata: MaterialPasswordMetadata): void;
|
|
2214
|
-
errorStateMatcher():
|
|
2331
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2215
2332
|
isReadonlyEffective(): boolean;
|
|
2216
2333
|
private metadataAsField;
|
|
2217
2334
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PasswordInputComponent, never>;
|
|
@@ -2238,7 +2355,7 @@ declare class SearchInputComponent extends SimpleBaseInputComponent {
|
|
|
2238
2355
|
protected getSpecificCssClasses(): string[];
|
|
2239
2356
|
/** Applies component metadata with strong typing. */
|
|
2240
2357
|
setInputMetadata(metadata: MaterialSearchInputMetadata): void;
|
|
2241
|
-
errorStateMatcher():
|
|
2358
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2242
2359
|
isReadonlyEffective(): boolean;
|
|
2243
2360
|
private metadataAsField;
|
|
2244
2361
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SearchInputComponent, never>;
|
|
@@ -2253,7 +2370,7 @@ declare class MaterialSelectComponent extends SimpleBaseSelectComponent {
|
|
|
2253
2370
|
protected defaultPanelClass(): string;
|
|
2254
2371
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
2255
2372
|
ngOnInit(): void;
|
|
2256
|
-
errorStateMatcher():
|
|
2373
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2257
2374
|
private optionsFromLegacy;
|
|
2258
2375
|
private normalizeOption;
|
|
2259
2376
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialSelectComponent, never>;
|
|
@@ -2277,7 +2394,7 @@ declare class InlineSelectComponent extends SimpleBaseSelectComponent {
|
|
|
2277
2394
|
protected setMetadata(metadata: MaterialSelectMetadata): void;
|
|
2278
2395
|
onComponentInit(): void;
|
|
2279
2396
|
onViewportResize(): void;
|
|
2280
|
-
errorStateMatcher():
|
|
2397
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2281
2398
|
protected getSpecificCssClasses(): string[];
|
|
2282
2399
|
hasSelection(): boolean;
|
|
2283
2400
|
displayText(): string;
|
|
@@ -2321,13 +2438,14 @@ interface SearchableSelectMetadata {
|
|
|
2321
2438
|
selectAll?: boolean;
|
|
2322
2439
|
maxSelections?: number;
|
|
2323
2440
|
resourcePath?: string;
|
|
2441
|
+
optionSource?: OptionSourceMetadata;
|
|
2324
2442
|
filterCriteria?: Record<string, unknown>;
|
|
2325
2443
|
optionLabelKey?: string;
|
|
2326
2444
|
optionValueKey?: string;
|
|
2327
2445
|
loadOn?: LoadStrategy$1;
|
|
2328
2446
|
dependencyLoadOnChange?: DependencyLoadMode$1;
|
|
2329
2447
|
}
|
|
2330
|
-
declare class MaterialSearchableSelectComponent extends SimpleBaseSelectComponent {
|
|
2448
|
+
declare class MaterialSearchableSelectComponent extends SimpleBaseSelectComponent implements DoCheck {
|
|
2331
2449
|
readonlyMode: boolean;
|
|
2332
2450
|
disabledMode: boolean;
|
|
2333
2451
|
visible: boolean;
|
|
@@ -2336,10 +2454,18 @@ declare class MaterialSearchableSelectComponent extends SimpleBaseSelectComponen
|
|
|
2336
2454
|
private readonly store;
|
|
2337
2455
|
readonly endReached: _angular_core.WritableSignal<boolean>;
|
|
2338
2456
|
private initialLoadStrategy;
|
|
2457
|
+
private disabledModeAppliedToControl;
|
|
2458
|
+
ngDoCheck(): void;
|
|
2339
2459
|
protected defaultPanelClass(): string;
|
|
2340
2460
|
setSelectMetadata(metadata: SearchableSelectMetadata): void;
|
|
2341
2461
|
ngOnInit(): void;
|
|
2342
|
-
errorStateMatcher():
|
|
2462
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2463
|
+
searchableSelectAriaDisabled(): 'true' | null;
|
|
2464
|
+
searchableSelectAriaReadonly(): 'true' | null;
|
|
2465
|
+
isOptionDisabled(option: SelectOption<unknown>): boolean;
|
|
2466
|
+
selectOption(option: SelectOption<unknown>): void;
|
|
2467
|
+
toggleSelectAll(): void;
|
|
2468
|
+
onClearClick(): void;
|
|
2343
2469
|
searchInputAriaLabel(): string;
|
|
2344
2470
|
onSearchInputEvent(event: Event): void;
|
|
2345
2471
|
onOpened(opened: boolean): void;
|
|
@@ -2352,6 +2478,7 @@ declare class MaterialSearchableSelectComponent extends SimpleBaseSelectComponen
|
|
|
2352
2478
|
protected registerMatSelect(select: MatSelect): void;
|
|
2353
2479
|
reload(reset: boolean): void;
|
|
2354
2480
|
protected onDependenciesChanged(): void;
|
|
2481
|
+
private syncDisabledModeControlState;
|
|
2355
2482
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialSearchableSelectComponent, never>;
|
|
2356
2483
|
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>;
|
|
2357
2484
|
}
|
|
@@ -2364,10 +2491,11 @@ declare class InlineSearchableSelectComponent extends MaterialSearchableSelectCo
|
|
|
2364
2491
|
protected setMetadata(metadata: MaterialSelectMetadata): void;
|
|
2365
2492
|
onComponentInit(): void;
|
|
2366
2493
|
onViewportResize(): void;
|
|
2367
|
-
errorStateMatcher():
|
|
2494
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2368
2495
|
protected getSpecificCssClasses(): string[];
|
|
2369
2496
|
hasSelection(): boolean;
|
|
2370
2497
|
selectedCount(): number;
|
|
2498
|
+
additionalSelectedCount(): number;
|
|
2371
2499
|
displayText(): string;
|
|
2372
2500
|
showQuickClear(): boolean;
|
|
2373
2501
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
@@ -2393,6 +2521,13 @@ declare class InlineSearchableSelectComponent extends MaterialSearchableSelectCo
|
|
|
2393
2521
|
|
|
2394
2522
|
type LoadStrategy = 'open' | 'init' | 'none';
|
|
2395
2523
|
type DependencyLoadMode = 'respectLoadOn' | 'immediate' | 'manual';
|
|
2524
|
+
type OptionId = string | number;
|
|
2525
|
+
type AsyncOption = OptionDTO<OptionId>;
|
|
2526
|
+
type AsyncRenderedOption = {
|
|
2527
|
+
label: string;
|
|
2528
|
+
value: unknown;
|
|
2529
|
+
disabled?: boolean;
|
|
2530
|
+
};
|
|
2396
2531
|
interface AsyncSelectMetadata {
|
|
2397
2532
|
selectOptions?: Array<{
|
|
2398
2533
|
label?: string;
|
|
@@ -2430,6 +2565,9 @@ declare class MaterialAsyncSelectComponent extends SimpleBaseSelectComponent {
|
|
|
2430
2565
|
presentationMode: boolean;
|
|
2431
2566
|
private searchInput?;
|
|
2432
2567
|
readonly termControl: FormControl<string | null>;
|
|
2568
|
+
readonly activeLookupFilters: _angular_core.WritableSignal<LookupFilterRequest[]>;
|
|
2569
|
+
readonly selectedLookupSortKey: _angular_core.WritableSignal<string | null>;
|
|
2570
|
+
protected readonly remoteTotalElements: _angular_core.WritableSignal<number | null>;
|
|
2433
2571
|
private readonly store;
|
|
2434
2572
|
readonly endReached: _angular_core.WritableSignal<boolean>;
|
|
2435
2573
|
private cursorAfter;
|
|
@@ -2439,22 +2577,44 @@ declare class MaterialAsyncSelectComponent extends SimpleBaseSelectComponent {
|
|
|
2439
2577
|
protected defaultPanelClass(): string;
|
|
2440
2578
|
private isCategoricalBucketOptionSource;
|
|
2441
2579
|
setSelectMetadata(metadata: AsyncSelectMetadata): void;
|
|
2442
|
-
errorStateMatcher():
|
|
2580
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2443
2581
|
searchInputAriaLabel(): string;
|
|
2444
2582
|
ngOnInit(): void;
|
|
2445
2583
|
onOpened(opened: boolean): void;
|
|
2446
2584
|
private getSelectedIds;
|
|
2447
2585
|
private preloadSelected;
|
|
2448
2586
|
private refreshOptions;
|
|
2587
|
+
protected currentLookupFiltering(): LookupFilteringMetadata | null;
|
|
2588
|
+
lookupSortOptions(): LookupSortOptionMetadata[];
|
|
2589
|
+
lookupFilterDefinitions(): LookupFilterDefinitionMetadata[];
|
|
2590
|
+
protected initializeLookupFilteringState(): void;
|
|
2591
|
+
protected buildDefaultLookupFilters(filtering: LookupFilteringMetadata): LookupFilterRequest[];
|
|
2592
|
+
protected normalizeLookupFilterValue(operator: LookupFilterRequest['operator'], values: unknown[]): unknown;
|
|
2593
|
+
hasLookupFiltering(): boolean;
|
|
2594
|
+
hasLookupSortOptions(): boolean;
|
|
2595
|
+
hasMultipleLookupSortOptions(): boolean;
|
|
2596
|
+
hasActiveLookupFilters(): boolean;
|
|
2597
|
+
lookupFilterForField(field: string): LookupFilterRequest | undefined;
|
|
2598
|
+
setLookupSortKey(sortKey: string | null): void;
|
|
2599
|
+
clearLookupFilters(field?: string): void;
|
|
2600
|
+
replaceLookupFilters(filters: LookupFilterRequest[]): void;
|
|
2601
|
+
protected refreshLookupQueryState(): void;
|
|
2449
2602
|
private runQuery;
|
|
2450
2603
|
loadMore(): void;
|
|
2451
2604
|
retry(): void;
|
|
2452
2605
|
handleKey(event: KeyboardEvent): void;
|
|
2453
2606
|
protected registerMatSelect(select: MatSelect): void;
|
|
2454
2607
|
reload(reset: boolean): void;
|
|
2608
|
+
protected setupRemoteSelectionHydration(): void;
|
|
2455
2609
|
protected onDependenciesChanged(): void;
|
|
2610
|
+
private ensureCurrentValueLoadedByIds;
|
|
2456
2611
|
private missingOptionLabel;
|
|
2457
2612
|
private loadOptionsErrorLabel;
|
|
2613
|
+
protected mapRemoteOption(option: AsyncOption): AsyncRenderedOption;
|
|
2614
|
+
protected resolveRemoteOptionValue(option: AsyncOption): unknown;
|
|
2615
|
+
protected resolveRemoteOptionDisabled(option: AsyncOption): boolean;
|
|
2616
|
+
protected areOptionValuesEqual(left: unknown, right: unknown): boolean;
|
|
2617
|
+
private normalizeRemoteOptionValue;
|
|
2458
2618
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialAsyncSelectComponent, never>;
|
|
2459
2619
|
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>;
|
|
2460
2620
|
}
|
|
@@ -2490,10 +2650,11 @@ declare class InlineAsyncSelectComponent extends MaterialAsyncSelectComponent {
|
|
|
2490
2650
|
protected setMetadata(metadata: MaterialSelectMetadata): void;
|
|
2491
2651
|
onComponentInit(): void;
|
|
2492
2652
|
onViewportResize(): void;
|
|
2493
|
-
errorStateMatcher():
|
|
2653
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2494
2654
|
protected getSpecificCssClasses(): string[];
|
|
2495
2655
|
hasSelection(): boolean;
|
|
2496
2656
|
selectedCount(): number;
|
|
2657
|
+
additionalSelectedCount(): number;
|
|
2497
2658
|
displayText(): string;
|
|
2498
2659
|
showQuickClear(): boolean;
|
|
2499
2660
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
@@ -2526,6 +2687,30 @@ type LookupOption = {
|
|
|
2526
2687
|
value: unknown;
|
|
2527
2688
|
disabled?: boolean;
|
|
2528
2689
|
};
|
|
2690
|
+
interface EntityLookupViewModel {
|
|
2691
|
+
id: string;
|
|
2692
|
+
identity: string;
|
|
2693
|
+
code: string;
|
|
2694
|
+
label: string;
|
|
2695
|
+
description: string;
|
|
2696
|
+
status: string;
|
|
2697
|
+
statusTone: LookupStatusTone;
|
|
2698
|
+
selectable: boolean;
|
|
2699
|
+
selectionState: EntityLookupResultState;
|
|
2700
|
+
disabledReason: string;
|
|
2701
|
+
detailHref: string;
|
|
2702
|
+
detailRoute: string;
|
|
2703
|
+
badges: string[];
|
|
2704
|
+
richFields: EntityLookupRichFieldViewModel[];
|
|
2705
|
+
}
|
|
2706
|
+
interface EntityLookupRichFieldViewModel {
|
|
2707
|
+
key: string;
|
|
2708
|
+
label: string;
|
|
2709
|
+
value: string;
|
|
2710
|
+
icon: string;
|
|
2711
|
+
presentation: string;
|
|
2712
|
+
tone: LookupStatusTone | 'info';
|
|
2713
|
+
}
|
|
2529
2714
|
interface LookupClearButtonConfig {
|
|
2530
2715
|
enabled?: boolean;
|
|
2531
2716
|
ariaLabel?: string;
|
|
@@ -2539,14 +2724,22 @@ interface LookupAutoSizeConfig {
|
|
|
2539
2724
|
interface LookupMaterialDesignConfig {
|
|
2540
2725
|
density?: string;
|
|
2541
2726
|
}
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2727
|
+
interface LookupFilterChipViewModel {
|
|
2728
|
+
field: string;
|
|
2729
|
+
label: string;
|
|
2730
|
+
valueText: string;
|
|
2731
|
+
}
|
|
2732
|
+
interface SelectedLookupTokenViewModel {
|
|
2733
|
+
identity: string;
|
|
2734
|
+
text: string;
|
|
2735
|
+
title: string;
|
|
2736
|
+
}
|
|
2737
|
+
interface EntityLookupDialogData {
|
|
2738
|
+
metadata: MaterialEntityLookupMetadata;
|
|
2739
|
+
value: unknown;
|
|
2740
|
+
title?: string;
|
|
2741
|
+
}
|
|
2742
|
+
type EntityLookupMetadata = MaterialEntityLookupMetadata & {
|
|
2550
2743
|
optionLabelKey?: string;
|
|
2551
2744
|
optionValueKey?: string;
|
|
2552
2745
|
clearButton?: LookupClearButtonConfig | false | null;
|
|
@@ -2555,22 +2748,92 @@ type EntityLookupMetadata = MaterialSelectMetadata & {
|
|
|
2555
2748
|
density?: string;
|
|
2556
2749
|
};
|
|
2557
2750
|
declare class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
2751
|
+
private readonly dialog;
|
|
2752
|
+
private readonly globalActions;
|
|
2753
|
+
private readonly resourceDiscovery;
|
|
2754
|
+
private readonly surfaceOpenAdapter;
|
|
2558
2755
|
inlineMinWidthPx: number;
|
|
2559
2756
|
inlineMaxWidthPx: number;
|
|
2560
2757
|
private fieldLabelText;
|
|
2561
2758
|
private staticOptions;
|
|
2759
|
+
set initialMetadata(metadata: MaterialEntityLookupMetadata | null | undefined);
|
|
2562
2760
|
private currentMetadata;
|
|
2563
2761
|
setSelectMetadata(metadata: EntityLookupMetadata): void;
|
|
2564
2762
|
protected setMetadata(metadata: MaterialSelectMetadata): void;
|
|
2565
2763
|
onComponentInit(): void;
|
|
2566
2764
|
onViewportResize(): void;
|
|
2567
|
-
errorStateMatcher():
|
|
2765
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2568
2766
|
protected getSpecificCssClasses(): string[];
|
|
2767
|
+
selectPanelClasses(): string[];
|
|
2569
2768
|
hasSelection(): boolean;
|
|
2570
2769
|
selectedCount(): number;
|
|
2571
2770
|
displayText(): string;
|
|
2771
|
+
richLayoutEnabled(): boolean;
|
|
2772
|
+
selectedCardLayout(): boolean;
|
|
2773
|
+
selectedCompactLayout(): boolean;
|
|
2774
|
+
fullFieldLayout(): boolean;
|
|
2775
|
+
showFieldDependencyHint(): boolean;
|
|
2776
|
+
showFieldSearchHint(): boolean;
|
|
2777
|
+
emptyTriggerIconName(): string;
|
|
2778
|
+
emptyTriggerSupportingText(): string;
|
|
2779
|
+
emptyTriggerContextText(): string;
|
|
2780
|
+
selectedLookupView(): EntityLookupViewModel | null;
|
|
2781
|
+
selectedLookupViews(): EntityLookupViewModel[];
|
|
2782
|
+
visibleSelectedLookupTokens(): SelectedLookupTokenViewModel[];
|
|
2783
|
+
hiddenSelectedLookupTokenCount(): number;
|
|
2784
|
+
trackByOption(index: number, option: LookupOption): string;
|
|
2785
|
+
trackLookupRichField(index: number, field: EntityLookupRichFieldViewModel): string;
|
|
2786
|
+
trackLookupBadge(index: number, badge: string): string;
|
|
2787
|
+
trackSelectedLookupToken(index: number, token: SelectedLookupTokenViewModel): string;
|
|
2788
|
+
trackLookupSortOption(index: number, option: {
|
|
2789
|
+
key?: string;
|
|
2790
|
+
label?: string;
|
|
2791
|
+
}): string;
|
|
2792
|
+
trackLookupFilterChip(index: number, chip: LookupFilterChipViewModel): string;
|
|
2793
|
+
isSelected(option: LookupOption): boolean;
|
|
2794
|
+
showSelectedTokenRemove(): boolean;
|
|
2795
|
+
selectedTokenRemoveAriaLabel(text: string): string;
|
|
2796
|
+
onRemoveSelectedToken(event: MouseEvent, identity: string): void;
|
|
2797
|
+
optionLookupView(option: LookupOption): EntityLookupViewModel;
|
|
2798
|
+
showCode(): boolean;
|
|
2799
|
+
showDescription(): boolean;
|
|
2800
|
+
showStatus(): boolean;
|
|
2801
|
+
showAvatar(): boolean;
|
|
2802
|
+
showBadges(): boolean;
|
|
2803
|
+
showDisabledReason(): boolean;
|
|
2804
|
+
showResultCount(): boolean;
|
|
2805
|
+
resultCountText(): string;
|
|
2806
|
+
hasVisibleBadges(item: EntityLookupViewModel): boolean;
|
|
2807
|
+
visibleBadges(item: EntityLookupViewModel): string[];
|
|
2808
|
+
statusBadgeClass(item: EntityLookupViewModel): string;
|
|
2809
|
+
lookupInitials(item: EntityLookupViewModel): string;
|
|
2810
|
+
showDetailAction(item: EntityLookupViewModel): boolean;
|
|
2811
|
+
private hasGovernedDetailSurface;
|
|
2812
|
+
showChangeAction(): boolean;
|
|
2813
|
+
showCopyCodeAction(item: EntityLookupViewModel): boolean;
|
|
2814
|
+
showCopyIdAction(item: EntityLookupViewModel): boolean;
|
|
2815
|
+
showCreateAction(): boolean;
|
|
2816
|
+
detailActionText(): string;
|
|
2817
|
+
changeActionText(): string;
|
|
2818
|
+
copyCodeActionText(): string;
|
|
2819
|
+
copyIdActionText(): string;
|
|
2820
|
+
createActionText(): string;
|
|
2821
|
+
clearActionText(): string;
|
|
2822
|
+
selectionLimitReachedText(maxSelections: number | null | undefined): string;
|
|
2823
|
+
onDetailAction(event: MouseEvent, item: EntityLookupViewModel): void;
|
|
2824
|
+
private openDetailSurface;
|
|
2825
|
+
private tryOpenGovernedDetailSurface;
|
|
2826
|
+
private itemSurfacesHref;
|
|
2827
|
+
private selectDetailSurface;
|
|
2828
|
+
private lookupDetailPresentation;
|
|
2829
|
+
private detailSurfaceTitle;
|
|
2830
|
+
onChangeAction(event: MouseEvent): void;
|
|
2831
|
+
onCopyCodeAction(event: MouseEvent, item: EntityLookupViewModel): void;
|
|
2832
|
+
onCopyIdAction(event: MouseEvent, item: EntityLookupViewModel): void;
|
|
2833
|
+
onCreateAction(event: MouseEvent): void;
|
|
2572
2834
|
optionPrimaryText(option: LookupOption): string;
|
|
2573
2835
|
optionSecondaryText(option: LookupOption): string;
|
|
2836
|
+
protected resolveRemoteOptionValue(option: OptionDTO<string | number>): EntityLookupResult<string | number>;
|
|
2574
2837
|
resetOptionText(): string;
|
|
2575
2838
|
showQuickClear(): boolean;
|
|
2576
2839
|
onResetOptionClick(event: MouseEvent): void;
|
|
@@ -2578,39 +2841,269 @@ declare class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
2578
2841
|
onQuickClear(event: MouseEvent): void;
|
|
2579
2842
|
onOpenedChange(opened: boolean): void;
|
|
2580
2843
|
onSearchInputEvent(event: Event): void;
|
|
2844
|
+
onSearchInputKeydown(event: KeyboardEvent): void;
|
|
2581
2845
|
onSearchInput(term: string): void;
|
|
2582
2846
|
showLoadMore(): boolean;
|
|
2583
2847
|
showEndReachedMessage(): boolean;
|
|
2848
|
+
showErrorStateOption(): boolean;
|
|
2849
|
+
showDependencyStateOption(): boolean;
|
|
2850
|
+
showEmptyStateOption(): boolean;
|
|
2851
|
+
onRetryClick(event: MouseEvent): void;
|
|
2852
|
+
errorStateLabel(): string;
|
|
2853
|
+
dependencyStateLabel(): string;
|
|
2854
|
+
emptyStateLabel(): string;
|
|
2584
2855
|
onLoadMoreClick(event: MouseEvent): void;
|
|
2585
2856
|
placeholderText(): string;
|
|
2586
2857
|
searchPlaceholderText(): string;
|
|
2858
|
+
showLookupToolbar(): boolean;
|
|
2859
|
+
showLookupSortControl(): boolean;
|
|
2860
|
+
lookupSortSelectValue(): string;
|
|
2861
|
+
onLookupSortSelectionChange(event: Event): void;
|
|
2862
|
+
activeLookupFilterChips(): LookupFilterChipViewModel[];
|
|
2863
|
+
clearAllLookupFilters(event: MouseEvent): void;
|
|
2864
|
+
clearLookupFilterChip(event: MouseEvent, field: string): void;
|
|
2865
|
+
sortLabelText(): string;
|
|
2866
|
+
sortDefaultOptionText(): string;
|
|
2867
|
+
clearAllFiltersText(): string;
|
|
2868
|
+
currentDialogMetadata(): LookupDialogMetadata | null;
|
|
2869
|
+
dialogEnabled(): boolean;
|
|
2870
|
+
showDialogOption(): boolean;
|
|
2871
|
+
dialogOpenActionText(): string;
|
|
2872
|
+
dialogOpenSupportingText(): string;
|
|
2873
|
+
dialogContextSupportingText(hasActiveFilters: boolean): string;
|
|
2874
|
+
dialogApplyActionText(): string;
|
|
2875
|
+
dialogFilterPanelToggleText(open: boolean): string;
|
|
2876
|
+
dialogFilterPlaceholderText(operator: LookupFilterOperator, type: LookupFilterFieldType): string;
|
|
2877
|
+
dialogFilterOperatorHintText(operator: LookupFilterOperator): string;
|
|
2878
|
+
dialogApplyFiltersActionText(): string;
|
|
2879
|
+
dialogClearFiltersActionText(): string;
|
|
2880
|
+
dialogFilterSelectEmptyText(label: string): string;
|
|
2881
|
+
dialogFilterStartAriaLabelText(label: string): string;
|
|
2882
|
+
dialogFilterEndAriaLabelText(label: string): string;
|
|
2883
|
+
dialogPreviewSelectionStateLabelText(): string;
|
|
2884
|
+
dialogPreviewSelectionStateText(state: EntityLookupResultState): string;
|
|
2885
|
+
dialogSearchAriaLabelText(): string;
|
|
2886
|
+
dialogResultsAriaLabelText(): string;
|
|
2887
|
+
dialogFiltersAriaLabelText(): string;
|
|
2888
|
+
dialogPreviewAriaLabelText(): string;
|
|
2889
|
+
dialogResultOptionAriaLabel(item: EntityLookupViewModel): string;
|
|
2890
|
+
dialogCancelActionText(): string;
|
|
2891
|
+
dialogTitleText(): string;
|
|
2892
|
+
onOpenDialogClick(event: MouseEvent): void;
|
|
2587
2893
|
panelSearchIconName(fallback?: string): string;
|
|
2588
2894
|
panelSearchIconColor(): string | undefined;
|
|
2589
2895
|
panelResetIconName(fallback?: string): string;
|
|
2590
2896
|
panelResetIconColor(): string | undefined;
|
|
2591
2897
|
ariaLabel(): string;
|
|
2898
|
+
interactionDisabled(): boolean;
|
|
2899
|
+
readonlySummaryText(): string;
|
|
2900
|
+
private lookupDialogMetadata;
|
|
2901
|
+
private resolveDialogWidth;
|
|
2902
|
+
private humanizeLookupField;
|
|
2903
|
+
private interpolateLookupText;
|
|
2904
|
+
private lookupDependencyLabels;
|
|
2905
|
+
private missingDependencyLabels;
|
|
2906
|
+
private hasDependencyValue;
|
|
2907
|
+
private humanizeLookupDependencyField;
|
|
2908
|
+
private lookupFilterValueText;
|
|
2909
|
+
inlineTooltipText(): string;
|
|
2592
2910
|
private resolveLookupText;
|
|
2911
|
+
private lookupViewFromValue;
|
|
2593
2912
|
private resolveLookupData;
|
|
2594
2913
|
private buildLookupPrimaryText;
|
|
2595
2914
|
private fallbackLookupText;
|
|
2596
2915
|
private lookupIdKey;
|
|
2916
|
+
private lookupIdKeys;
|
|
2597
2917
|
private lookupLabelKey;
|
|
2918
|
+
private lookupCodeKeys;
|
|
2919
|
+
private lookupLabelKeys;
|
|
2598
2920
|
private lookupSubtitleKey;
|
|
2921
|
+
private lookupSubtitleKeys;
|
|
2922
|
+
private lookupStatusKeys;
|
|
2923
|
+
private resolveLookupSelectable;
|
|
2924
|
+
private lookupBadges;
|
|
2925
|
+
richFieldToneClass(field: EntityLookupRichFieldViewModel): string;
|
|
2926
|
+
private lookupRichFields;
|
|
2927
|
+
private lookupRichFieldFromDescriptor;
|
|
2928
|
+
private asRichFieldArray;
|
|
2929
|
+
private formatLookupRichFieldValue;
|
|
2930
|
+
private normalizeLookupTone;
|
|
2931
|
+
private classifyLookupSelectionState;
|
|
2932
|
+
private resolveStatusTone;
|
|
2599
2933
|
private lookupSeparator;
|
|
2600
2934
|
private normalizeLookupText;
|
|
2935
|
+
private normalizeLookupOptionalText;
|
|
2936
|
+
private parseLookupSelectableValue;
|
|
2601
2937
|
private firstDefined;
|
|
2938
|
+
private lookupSubtitleText;
|
|
2939
|
+
private uniqueLookupKeys;
|
|
2602
2940
|
private equalsOptionValue;
|
|
2941
|
+
private resolveLookupIdentity;
|
|
2942
|
+
displayPreset(): string;
|
|
2943
|
+
private displayDensity;
|
|
2944
|
+
private lookupDisplayConfig;
|
|
2945
|
+
private lookupDisplayBoolean;
|
|
2946
|
+
private readLookupPath;
|
|
2947
|
+
private isPrimitiveLookupValue;
|
|
2603
2948
|
private asRecord;
|
|
2949
|
+
private lookupOptionSource;
|
|
2950
|
+
private resolveDetailHref;
|
|
2951
|
+
private resolveDetailRoute;
|
|
2952
|
+
private applyLookupTemplate;
|
|
2604
2953
|
private resolveFieldLabelFromMetadata;
|
|
2605
2954
|
private currentSearchTerm;
|
|
2955
|
+
private hasUnmetDependencies;
|
|
2956
|
+
private resolveDependencyValuePathFor;
|
|
2957
|
+
private hasMeaningfulDependencyValue;
|
|
2606
2958
|
private applyStaticOptionsFilter;
|
|
2607
2959
|
private humanizeFieldName;
|
|
2960
|
+
private maxVisibleSelectedTokens;
|
|
2961
|
+
private removeSelectionByIdentity;
|
|
2962
|
+
private lookupOptionTrackIdentity;
|
|
2608
2963
|
private recalculateInlineSizeBounds;
|
|
2609
2964
|
private resolveWidthBounds;
|
|
2610
2965
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InlineEntityLookupComponent, never>;
|
|
2611
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InlineEntityLookupComponent, "pdx-inline-entity-lookup", never, {}, {}, never, never, true, never>;
|
|
2966
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InlineEntityLookupComponent, "pdx-inline-entity-lookup", never, { "initialMetadata": { "alias": "initialMetadata"; "required": false; }; }, {}, never, never, true, never>;
|
|
2967
|
+
}
|
|
2968
|
+
declare class EntityLookupDialogComponent implements AfterViewInit {
|
|
2969
|
+
readonly data: EntityLookupDialogData;
|
|
2970
|
+
private readonly destroyRef;
|
|
2971
|
+
private readonly hostRef;
|
|
2972
|
+
private readonly dialogRef;
|
|
2973
|
+
readonly lookup: _angular_core.Signal<InlineEntityLookupComponent>;
|
|
2974
|
+
readonly selectionControl: FormControl<unknown>;
|
|
2975
|
+
readonly dialogSearchControl: FormControl<string | null>;
|
|
2976
|
+
readonly filterPanelOpen: FormControl<boolean>;
|
|
2977
|
+
private readonly dialogFilterControls;
|
|
2978
|
+
private readonly dialogFilterSecondaryControls;
|
|
2979
|
+
private previewIdentity;
|
|
2980
|
+
private activeResultIndex;
|
|
2981
|
+
ngAfterViewInit(): void;
|
|
2982
|
+
apply(): void;
|
|
2983
|
+
cancel(): void;
|
|
2984
|
+
applyText(): string;
|
|
2985
|
+
cancelText(): string;
|
|
2986
|
+
searchPlaceholder(): string;
|
|
2987
|
+
dialogSearchAriaLabel(): string;
|
|
2988
|
+
dialogResultsAriaLabel(): string;
|
|
2989
|
+
dialogFiltersAriaLabel(): string;
|
|
2990
|
+
dialogPreviewAriaLabel(): string;
|
|
2991
|
+
showSortControl(): boolean;
|
|
2992
|
+
sortOptions(): _praxisui_core.LookupSortOptionMetadata[];
|
|
2993
|
+
trackLookupSortOption(index: number, option: {
|
|
2994
|
+
key?: string;
|
|
2995
|
+
label?: string;
|
|
2996
|
+
}): string;
|
|
2997
|
+
trackDialogFilterDefinition(index: number, definition: LookupFilterDefinitionMetadata): string;
|
|
2998
|
+
trackDialogEnumOption(index: number, option: {
|
|
2999
|
+
value?: string;
|
|
3000
|
+
label?: string;
|
|
3001
|
+
}): string;
|
|
3002
|
+
trackDialogColumn(index: number, column: LookupResultColumnMetadata): string;
|
|
3003
|
+
trackResultOption(index: number, option: LookupOption): string;
|
|
3004
|
+
sortValue(): string;
|
|
3005
|
+
onSortChange(event: Event): void;
|
|
3006
|
+
sortLabel(): string;
|
|
3007
|
+
sortDefaultLabel(): string;
|
|
3008
|
+
dialogIntroText(): string;
|
|
3009
|
+
dialogContextText(): string;
|
|
3010
|
+
hasStructuredDialogFilters(): boolean;
|
|
3011
|
+
showFilterPanel(): boolean;
|
|
3012
|
+
toggleFilterPanel(): void;
|
|
3013
|
+
dialogFilterDefinitions(): LookupFilterDefinitionMetadata[];
|
|
3014
|
+
filterPanelToggleText(): string;
|
|
3015
|
+
filterControl(field: string): FormControl<unknown>;
|
|
3016
|
+
filterSecondaryControl(field: string): FormControl<unknown>;
|
|
3017
|
+
dialogFilterLabel(definition: LookupFilterDefinitionMetadata): string;
|
|
3018
|
+
dialogFilterPlaceholder(definition: LookupFilterDefinitionMetadata): string;
|
|
3019
|
+
dialogFilterRangeEndPlaceholder(definition: LookupFilterDefinitionMetadata): string;
|
|
3020
|
+
dialogFilterStartAriaLabel(definition: LookupFilterDefinitionMetadata): string;
|
|
3021
|
+
dialogFilterEndAriaLabel(definition: LookupFilterDefinitionMetadata): string;
|
|
3022
|
+
dialogFilterInputType(definition: LookupFilterDefinitionMetadata): 'text' | 'date' | 'number';
|
|
3023
|
+
useDialogEnumSelect(definition: LookupFilterDefinitionMetadata): boolean;
|
|
3024
|
+
useDialogMultiSelect(definition: LookupFilterDefinitionMetadata): boolean;
|
|
3025
|
+
useDialogRangeInputs(definition: LookupFilterDefinitionMetadata): boolean;
|
|
3026
|
+
dialogFilterSelectEmptyText(definition: LookupFilterDefinitionMetadata): string;
|
|
3027
|
+
dialogEnumOptions(definition: LookupFilterDefinitionMetadata): Array<{
|
|
3028
|
+
value: string;
|
|
3029
|
+
label: string;
|
|
3030
|
+
}>;
|
|
3031
|
+
dialogOperatorHint(definition: LookupFilterDefinitionMetadata): string;
|
|
3032
|
+
applyDialogFiltersText(): string;
|
|
3033
|
+
clearDialogFiltersText(): string;
|
|
3034
|
+
applyDialogFilters(): void;
|
|
3035
|
+
resetDialogFilters(): void;
|
|
3036
|
+
dialogColumns(): LookupResultColumnMetadata[];
|
|
3037
|
+
showResultTable(): boolean;
|
|
3038
|
+
showCardResultLayout(): boolean;
|
|
3039
|
+
showCompactResultLayout(): boolean;
|
|
3040
|
+
dialogColumnLabel(column: LookupResultColumnMetadata): string;
|
|
3041
|
+
columnFlex(column: LookupResultColumnMetadata): string;
|
|
3042
|
+
dialogCellText(option: LookupOption, column: LookupResultColumnMetadata): string;
|
|
3043
|
+
resultOptions(): _praxisui_dynamic_fields.SelectOption<any>[];
|
|
3044
|
+
hasResultRows(): boolean;
|
|
3045
|
+
hasSelection(): boolean;
|
|
3046
|
+
canApply(): boolean;
|
|
3047
|
+
selectedSummaryText(): string;
|
|
3048
|
+
selectedDisabledReason(): string;
|
|
3049
|
+
selectResult(option: LookupOption): void;
|
|
3050
|
+
isSelected(option: LookupOption): boolean;
|
|
3051
|
+
resultOptionDisabled(option: LookupOption): boolean;
|
|
3052
|
+
loadMore(): void;
|
|
3053
|
+
resultState(option: LookupOption): EntityLookupResultState;
|
|
3054
|
+
resultRowTitle(option: LookupOption): string | null;
|
|
3055
|
+
resultRowId(index: number): string;
|
|
3056
|
+
resultRowTabIndex(index: number): number;
|
|
3057
|
+
resultRowAriaLabel(option: LookupOption): string;
|
|
3058
|
+
setActiveResult(index: number, option: LookupOption): void;
|
|
3059
|
+
onResultRowKeydown(event: KeyboardEvent, index: number, option: LookupOption): void;
|
|
3060
|
+
showPreviewDetailAction(item: EntityLookupViewModel): boolean;
|
|
3061
|
+
showPreviewCopyCodeAction(item: EntityLookupViewModel): boolean;
|
|
3062
|
+
showPreviewCopyIdAction(item: EntityLookupViewModel): boolean;
|
|
3063
|
+
showPreviewCreateAction(): boolean;
|
|
3064
|
+
showPreviewClearAction(): boolean;
|
|
3065
|
+
onPreviewDetailAction(event: MouseEvent, item: EntityLookupViewModel): void;
|
|
3066
|
+
onPreviewCopyCodeAction(event: MouseEvent, item: EntityLookupViewModel): void;
|
|
3067
|
+
onPreviewCopyIdAction(event: MouseEvent, item: EntityLookupViewModel): void;
|
|
3068
|
+
onPreviewCreateAction(event: MouseEvent): void;
|
|
3069
|
+
onPreviewClearAction(event: MouseEvent): void;
|
|
3070
|
+
showPreviewPanel(): boolean;
|
|
3071
|
+
previewItem(): EntityLookupViewModel | null;
|
|
3072
|
+
setPreviewFromOption(option: LookupOption): void;
|
|
3073
|
+
previewSelectionStateLabel(): string;
|
|
3074
|
+
previewSelectionStateText(item: EntityLookupViewModel): string;
|
|
3075
|
+
private initializeDialogFilters;
|
|
3076
|
+
private dialogFilterEmptyValue;
|
|
3077
|
+
private serializeDialogFilterSingleValue;
|
|
3078
|
+
private serializeDialogFilterScalarValue;
|
|
3079
|
+
private buildDialogFilterRequest;
|
|
3080
|
+
private normalizeDialogFilterControlValue;
|
|
3081
|
+
private normalizeDialogFilterScalarValue;
|
|
3082
|
+
private resolveDialogFilterFieldValue;
|
|
3083
|
+
private pushDialogEnumOption;
|
|
3084
|
+
private syncPreviewIdentity;
|
|
3085
|
+
private focusResultRow;
|
|
3086
|
+
private normalizeOptionValue;
|
|
3087
|
+
private normalizeInitialDialogValue;
|
|
3088
|
+
private initialSelectionSnapshot;
|
|
3089
|
+
private selectionSnapshot;
|
|
3090
|
+
private selectedValueCount;
|
|
3091
|
+
private toggleMultipleSelection;
|
|
3092
|
+
private dialogCustomCellText;
|
|
3093
|
+
private humanizeColumnField;
|
|
3094
|
+
private optionIdentity;
|
|
3095
|
+
private dialogHasConfiguredColumns;
|
|
3096
|
+
private dialogResultLayout;
|
|
3097
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityLookupDialogComponent, never>;
|
|
3098
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityLookupDialogComponent, "pdx-entity-lookup-dialog", never, {}, {}, never, never, true, never>;
|
|
3099
|
+
}
|
|
3100
|
+
|
|
3101
|
+
interface InlineMultiSelectTokenViewModel {
|
|
3102
|
+
value: unknown;
|
|
3103
|
+
text: string;
|
|
3104
|
+
title: string;
|
|
3105
|
+
trackKey: string;
|
|
2612
3106
|
}
|
|
2613
|
-
|
|
2614
3107
|
declare class InlineMultiSelectComponent extends SimpleBaseSelectComponent {
|
|
2615
3108
|
readonlyMode: boolean;
|
|
2616
3109
|
disabledMode: boolean;
|
|
@@ -2625,14 +3118,23 @@ declare class InlineMultiSelectComponent extends SimpleBaseSelectComponent {
|
|
|
2625
3118
|
protected setMetadata(metadata: MaterialSelectMetadata): void;
|
|
2626
3119
|
onComponentInit(): void;
|
|
2627
3120
|
onViewportResize(): void;
|
|
2628
|
-
errorStateMatcher():
|
|
3121
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2629
3122
|
protected getSpecificCssClasses(): string[];
|
|
2630
3123
|
hasSelection(): boolean;
|
|
2631
3124
|
selectedCount(): number;
|
|
2632
3125
|
displayText(): string;
|
|
3126
|
+
selectedTokens(): InlineMultiSelectTokenViewModel[];
|
|
3127
|
+
visibleSelectedTokens(): InlineMultiSelectTokenViewModel[];
|
|
3128
|
+
hiddenSelectedTokenCount(): number;
|
|
3129
|
+
hiddenSelectedTokenTitle(): string;
|
|
3130
|
+
selectedTokensAriaLabel(): string;
|
|
3131
|
+
selectedTokenRemoveAriaLabel(text: string): string;
|
|
3132
|
+
selectedPanelTitle(): string;
|
|
3133
|
+
selectedPanelRemoveHint(): string;
|
|
2633
3134
|
showQuickClear(): boolean;
|
|
2634
3135
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
2635
3136
|
onQuickClear(event: MouseEvent): void;
|
|
3137
|
+
onRemoveSelectedToken(event: MouseEvent, value: unknown): void;
|
|
2636
3138
|
onOpenedChange(opened: boolean): void;
|
|
2637
3139
|
onSearchInput(term: string): void;
|
|
2638
3140
|
onSearchInputEvent(event: Event): void;
|
|
@@ -2644,6 +3146,8 @@ declare class InlineMultiSelectComponent extends SimpleBaseSelectComponent {
|
|
|
2644
3146
|
private currentValues;
|
|
2645
3147
|
private resolveOptionLabel;
|
|
2646
3148
|
private equalsOptionValue;
|
|
3149
|
+
private maxVisibleSelectedTokens;
|
|
3150
|
+
private stringifyTokenValue;
|
|
2647
3151
|
private resolveFieldLabelFromMetadata;
|
|
2648
3152
|
private humanizeFieldName;
|
|
2649
3153
|
private recalculateInlineSizeBounds;
|
|
@@ -2663,6 +3167,7 @@ declare class InlineInputComponent extends SimpleBaseInputComponent {
|
|
|
2663
3167
|
inlineWidthPx: number;
|
|
2664
3168
|
inlineMaxWidthPx: number;
|
|
2665
3169
|
private resizeRafId;
|
|
3170
|
+
private maskSyncRafId;
|
|
2666
3171
|
private currentMetadata;
|
|
2667
3172
|
private metadataRecord;
|
|
2668
3173
|
private asRecord;
|
|
@@ -2672,21 +3177,30 @@ declare class InlineInputComponent extends SimpleBaseInputComponent {
|
|
|
2672
3177
|
onComponentDestroy(): void;
|
|
2673
3178
|
onViewportResize(): void;
|
|
2674
3179
|
protected getSpecificCssClasses(): string[];
|
|
3180
|
+
inlineNativeInputType(): string;
|
|
3181
|
+
inputMode(): string | null;
|
|
3182
|
+
inlineFieldType(): string;
|
|
2675
3183
|
isReadonlyEffective(): boolean;
|
|
2676
3184
|
showQuickClear(): boolean;
|
|
3185
|
+
hasInlineValue(): boolean;
|
|
2677
3186
|
showInlinePlaceholder(): boolean;
|
|
2678
3187
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
2679
3188
|
onQuickClear(event: MouseEvent): void;
|
|
2680
|
-
onInlineInput(): void;
|
|
3189
|
+
onInlineInput(event?: Event): void;
|
|
2681
3190
|
widthProbeText(): string;
|
|
2682
3191
|
placeholderText(): string;
|
|
2683
3192
|
ariaLabel(): string;
|
|
2684
|
-
errorStateMatcher():
|
|
3193
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2685
3194
|
private scheduleInlineResize;
|
|
3195
|
+
private scheduleMaskedDisplaySync;
|
|
2686
3196
|
private recalculateInlineWidth;
|
|
2687
3197
|
private resolveWidthBounds;
|
|
2688
3198
|
private resolveChromeWidth;
|
|
2689
3199
|
private parsePx;
|
|
3200
|
+
private syncMaskedDisplayValue;
|
|
3201
|
+
private formatInlineDisplayValue;
|
|
3202
|
+
private resolveDisplayMask;
|
|
3203
|
+
private isInlinePhone;
|
|
2690
3204
|
private resolveFieldLabelFromMetadata;
|
|
2691
3205
|
private humanizeFieldName;
|
|
2692
3206
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InlineInputComponent, never>;
|
|
@@ -2705,7 +3219,7 @@ declare class MaterialAutocompleteComponent extends SimpleBaseSelectComponent<Au
|
|
|
2705
3219
|
private initialLoadStrategy;
|
|
2706
3220
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
2707
3221
|
ngOnInit(): void;
|
|
2708
|
-
errorStateMatcher():
|
|
3222
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2709
3223
|
autocompleteInputAriaLabel(): string;
|
|
2710
3224
|
noResultsLabel(): string;
|
|
2711
3225
|
onSearchInputEvent(event: Event): void;
|
|
@@ -2738,6 +3252,7 @@ declare class InlineAutocompleteComponent extends MaterialAutocompleteComponent
|
|
|
2738
3252
|
private resizeRafId;
|
|
2739
3253
|
private fieldLabelText;
|
|
2740
3254
|
private staticOptions;
|
|
3255
|
+
displayWith: (value: unknown) => string;
|
|
2741
3256
|
private currentMetadata;
|
|
2742
3257
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
2743
3258
|
protected setMetadata(metadata: MaterialAutocompleteMetadata): void;
|
|
@@ -2748,6 +3263,7 @@ declare class InlineAutocompleteComponent extends MaterialAutocompleteComponent
|
|
|
2748
3263
|
protected getSpecificCssClasses(): string[];
|
|
2749
3264
|
isReadonlyEffective(): boolean;
|
|
2750
3265
|
showQuickClear(): boolean;
|
|
3266
|
+
hasInlineValue(): boolean;
|
|
2751
3267
|
showInlinePlaceholder(): boolean;
|
|
2752
3268
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
2753
3269
|
onQuickClear(event: MouseEvent): void;
|
|
@@ -2759,7 +3275,7 @@ declare class InlineAutocompleteComponent extends MaterialAutocompleteComponent
|
|
|
2759
3275
|
widthProbeText(): string;
|
|
2760
3276
|
placeholderText(): string;
|
|
2761
3277
|
ariaLabel(): string;
|
|
2762
|
-
errorStateMatcher():
|
|
3278
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2763
3279
|
private currentSearchTerm;
|
|
2764
3280
|
private applyStaticOptionsFilter;
|
|
2765
3281
|
private resolveValueLabel;
|
|
@@ -2812,6 +3328,7 @@ declare class InlineNumberComponent extends SimpleBaseInputComponent {
|
|
|
2812
3328
|
showPercentSuffix(): boolean;
|
|
2813
3329
|
percentDisplayText(): string;
|
|
2814
3330
|
percentRangeText(): string;
|
|
3331
|
+
percentInputCh(): string | null;
|
|
2815
3332
|
percentAngle(): number;
|
|
2816
3333
|
percentFillWidth(): number;
|
|
2817
3334
|
effectiveMinValue(): number | null;
|
|
@@ -2826,7 +3343,7 @@ declare class InlineNumberComponent extends SimpleBaseInputComponent {
|
|
|
2826
3343
|
widthProbeText(): string;
|
|
2827
3344
|
placeholderText(): string;
|
|
2828
3345
|
ariaLabel(): string;
|
|
2829
|
-
errorStateMatcher():
|
|
3346
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2830
3347
|
private hasValue;
|
|
2831
3348
|
private syncNumericValidators;
|
|
2832
3349
|
private scheduleInlineResize;
|
|
@@ -2843,9 +3360,9 @@ declare class InlineNumberComponent extends SimpleBaseInputComponent {
|
|
|
2843
3360
|
private currentNumericValue;
|
|
2844
3361
|
private percentRatio;
|
|
2845
3362
|
private formatCompactNumber;
|
|
3363
|
+
private decimalPlacesFromStep;
|
|
2846
3364
|
private longestMeasureCandidate;
|
|
2847
3365
|
private isPercentFormat;
|
|
2848
|
-
private resolveNonEmptyString;
|
|
2849
3366
|
private resolveFieldLabelFromMetadata;
|
|
2850
3367
|
private humanizeFieldName;
|
|
2851
3368
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InlineNumberComponent, never>;
|
|
@@ -2890,6 +3407,7 @@ declare class InlineCurrencyComponent extends SimpleBaseInputComponent {
|
|
|
2890
3407
|
protected resolveInlineContextTooltipValue(): string;
|
|
2891
3408
|
isReadonlyEffective(): boolean;
|
|
2892
3409
|
showQuickClear(): boolean;
|
|
3410
|
+
hasInlineValue(): boolean;
|
|
2893
3411
|
showInlinePlaceholder(): boolean;
|
|
2894
3412
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
2895
3413
|
onQuickClear(event: MouseEvent): void;
|
|
@@ -2903,7 +3421,7 @@ declare class InlineCurrencyComponent extends SimpleBaseInputComponent {
|
|
|
2903
3421
|
placeholderText(): string;
|
|
2904
3422
|
ariaLabel(): string;
|
|
2905
3423
|
currencySymbol(): string;
|
|
2906
|
-
errorStateMatcher():
|
|
3424
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2907
3425
|
private hasValue;
|
|
2908
3426
|
private scheduleInlineResize;
|
|
2909
3427
|
private recalculateInlineWidth;
|
|
@@ -2989,6 +3507,12 @@ declare class InlineCurrencyRangeComponent extends SimpleBaseInputComponent {
|
|
|
2989
3507
|
currentSelectionText(): string;
|
|
2990
3508
|
currentStartLabel(): string;
|
|
2991
3509
|
currentEndLabel(): string;
|
|
3510
|
+
sliderStartThumbValue(): number;
|
|
3511
|
+
sliderEndThumbValue(): number;
|
|
3512
|
+
currentStartPosition(): string;
|
|
3513
|
+
currentEndPosition(): string;
|
|
3514
|
+
currentStartPositionPercent(): number;
|
|
3515
|
+
currentEndPositionPercent(): number;
|
|
2992
3516
|
placeholderText(): string;
|
|
2993
3517
|
panelTitle(): string;
|
|
2994
3518
|
ariaLabel(): string;
|
|
@@ -2997,6 +3521,8 @@ declare class InlineCurrencyRangeComponent extends SimpleBaseInputComponent {
|
|
|
2997
3521
|
onQuickClear(event: MouseEvent): void;
|
|
2998
3522
|
onTriggerClick(event: MouseEvent): void;
|
|
2999
3523
|
onTriggerKeydown(event: Event): void;
|
|
3524
|
+
onSliderStartInput(event: Event): void;
|
|
3525
|
+
onSliderEndInput(event: Event): void;
|
|
3000
3526
|
closePanel(): void;
|
|
3001
3527
|
onOverlayDetach(): void;
|
|
3002
3528
|
panelId(): string;
|
|
@@ -3005,6 +3531,7 @@ declare class InlineCurrencyRangeComponent extends SimpleBaseInputComponent {
|
|
|
3005
3531
|
private rebuildValidators;
|
|
3006
3532
|
private buildRangeValidator;
|
|
3007
3533
|
private syncRangeGroupFromControl;
|
|
3534
|
+
private updateRangeFromSlider;
|
|
3008
3535
|
private currentRangeValue;
|
|
3009
3536
|
private distributionVisual;
|
|
3010
3537
|
private resolveDistributionVisual;
|
|
@@ -3013,6 +3540,7 @@ declare class InlineCurrencyRangeComponent extends SimpleBaseInputComponent {
|
|
|
3013
3540
|
private normalizeRangeValue;
|
|
3014
3541
|
private areRangeValuesEqual;
|
|
3015
3542
|
private toFiniteNumberOrNull;
|
|
3543
|
+
private valuePositionPercent;
|
|
3016
3544
|
private toNonEmptyText;
|
|
3017
3545
|
private parseJsonValue;
|
|
3018
3546
|
private normalizePositivePx;
|
|
@@ -3112,17 +3640,26 @@ declare class InlineRangeSliderComponent extends SimpleBaseInputComponent {
|
|
|
3112
3640
|
private quickPresetsCache;
|
|
3113
3641
|
private distributionCacheKey;
|
|
3114
3642
|
private distributionCache;
|
|
3643
|
+
private activeSliderThumb;
|
|
3644
|
+
private sliderPointerInteractionActive;
|
|
3645
|
+
private sliderOutsideCloseSuppressedUntil;
|
|
3646
|
+
private sliderPointerLastClientX;
|
|
3647
|
+
private sliderPointerDirection;
|
|
3115
3648
|
private lastTriggerElement;
|
|
3116
3649
|
setInputMetadata(metadata: MaterialRangeSliderMetadata): void;
|
|
3117
3650
|
protected setMetadata(metadata: MaterialRangeSliderMetadata): void;
|
|
3118
3651
|
onComponentInit(): void;
|
|
3119
3652
|
onViewportResize(): void;
|
|
3120
3653
|
onDocumentEscape(): void;
|
|
3654
|
+
onDocumentPointerUp(): void;
|
|
3655
|
+
onDocumentPointerCancel(): void;
|
|
3656
|
+
onDocumentPointerMove(event: PointerEvent): void;
|
|
3121
3657
|
protected getSpecificCssClasses(): string[];
|
|
3122
3658
|
minValue(): number;
|
|
3123
3659
|
maxValue(): number;
|
|
3124
3660
|
stepValue(): number;
|
|
3125
3661
|
showTickMarks(): boolean;
|
|
3662
|
+
valueLabelEnabled(): boolean;
|
|
3126
3663
|
isRangeMode(): boolean;
|
|
3127
3664
|
isInteractionBlocked(): boolean;
|
|
3128
3665
|
hasSelection(): boolean;
|
|
@@ -3138,6 +3675,8 @@ declare class InlineRangeSliderComponent extends SimpleBaseInputComponent {
|
|
|
3138
3675
|
inputMaxLabel(): string;
|
|
3139
3676
|
inputValueLabel(): string;
|
|
3140
3677
|
quickPresetsGroupLabel(): string;
|
|
3678
|
+
clearPanelActionLabel(): string;
|
|
3679
|
+
donePanelActionLabel(): string;
|
|
3141
3680
|
quickPresets(): InlineRangeQuickPreset[];
|
|
3142
3681
|
hasQuickPresets(): boolean;
|
|
3143
3682
|
presetAriaLabel(preset: InlineRangeQuickPreset): string;
|
|
@@ -3147,6 +3686,13 @@ declare class InlineRangeSliderComponent extends SimpleBaseInputComponent {
|
|
|
3147
3686
|
onRangeInputBlur(_edge: 'start' | 'end'): void;
|
|
3148
3687
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
3149
3688
|
onQuickClear(event: MouseEvent): void;
|
|
3689
|
+
onPanelClear(event: MouseEvent): void;
|
|
3690
|
+
onPanelDone(event: MouseEvent): void;
|
|
3691
|
+
onThumbDragStart(thumb: 'start' | 'end'): void;
|
|
3692
|
+
onThumbDragEnd(): void;
|
|
3693
|
+
onSliderPointerDown(event: PointerEvent): void;
|
|
3694
|
+
onOverlayOutsideClick(event: MouseEvent): void;
|
|
3695
|
+
private finishSliderPointerInteraction;
|
|
3150
3696
|
onTriggerClick(event: MouseEvent): void;
|
|
3151
3697
|
onTriggerKeydown(event: Event): void;
|
|
3152
3698
|
closePanel(): void;
|
|
@@ -3173,6 +3719,7 @@ declare class InlineRangeSliderComponent extends SimpleBaseInputComponent {
|
|
|
3173
3719
|
private parseDistributionBins;
|
|
3174
3720
|
private compactDistributionBins;
|
|
3175
3721
|
private normalizeRangeValue;
|
|
3722
|
+
private normalizeInteractiveRangeValue;
|
|
3176
3723
|
private inlineTexts;
|
|
3177
3724
|
private buildAutoQuickPresets;
|
|
3178
3725
|
private parseAutoPresetLabels;
|
|
@@ -3199,7 +3746,6 @@ declare class InlineRangeSliderComponent extends SimpleBaseInputComponent {
|
|
|
3199
3746
|
private numberFormatter;
|
|
3200
3747
|
private usesCurrencyFormatting;
|
|
3201
3748
|
private usesPercentFormatting;
|
|
3202
|
-
private resolveNonEmptyString;
|
|
3203
3749
|
private resetFormatterCache;
|
|
3204
3750
|
private resetQuickPresetsCache;
|
|
3205
3751
|
private resetDistributionCache;
|
|
@@ -3328,8 +3874,9 @@ declare class InlineDateComponent extends MaterialDatepickerComponent {
|
|
|
3328
3874
|
onViewportResize(): void;
|
|
3329
3875
|
protected getSpecificCssClasses(): string[];
|
|
3330
3876
|
isReadonlyEffective(): boolean;
|
|
3331
|
-
errorStateMatcher():
|
|
3877
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
3332
3878
|
showQuickClear(): boolean;
|
|
3879
|
+
hasInlineValue(): boolean;
|
|
3333
3880
|
showInlinePlaceholder(): boolean;
|
|
3334
3881
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
3335
3882
|
onQuickClear(event: MouseEvent): void;
|
|
@@ -3389,7 +3936,7 @@ declare class InlineDateRangeComponent extends MaterialDateRangeComponent {
|
|
|
3389
3936
|
protected getSpecificCssClasses(): string[];
|
|
3390
3937
|
protected resolveInlineContextTooltipValue(): string;
|
|
3391
3938
|
panelClasses(): string[];
|
|
3392
|
-
errorStateMatcher():
|
|
3939
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
3393
3940
|
protected shouldPropagateRangeGroupChanges(): boolean;
|
|
3394
3941
|
showInlineQuickPresets(): boolean;
|
|
3395
3942
|
inlineQuickPresets(): InlineDateQuickPreset[];
|
|
@@ -3409,11 +3956,14 @@ declare class InlineDateRangeComponent extends MaterialDateRangeComponent {
|
|
|
3409
3956
|
isInteractionBlocked(): boolean;
|
|
3410
3957
|
showQuickClear(): boolean;
|
|
3411
3958
|
showInlinePlaceholder(): boolean;
|
|
3959
|
+
showInlineDisplayText(): boolean;
|
|
3960
|
+
usesInlineDisplayText(): boolean;
|
|
3412
3961
|
quickClearAriaLabel(): string;
|
|
3413
3962
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
3414
3963
|
onQuickClear(event: MouseEvent): void;
|
|
3415
3964
|
onInlineInput(): void;
|
|
3416
3965
|
onInputKeydown(event: Event, picker: MatDateRangePicker<Date>): void;
|
|
3966
|
+
onInputClick(event: Event): void;
|
|
3417
3967
|
onFieldContainerClick(picker: MatDateRangePicker<Date>, event: MouseEvent): void;
|
|
3418
3968
|
openPicker(picker: MatDateRangePicker<Date>, event: Event): void;
|
|
3419
3969
|
onOverlayOpened(): void;
|
|
@@ -3427,6 +3977,7 @@ declare class InlineDateRangeComponent extends MaterialDateRangeComponent {
|
|
|
3427
3977
|
endAriaLabel(): string;
|
|
3428
3978
|
widthProbeText(): string;
|
|
3429
3979
|
inlineExpandedLabel(): string;
|
|
3980
|
+
displayText(): string;
|
|
3430
3981
|
shouldShowInlineExpandedLabel(): boolean;
|
|
3431
3982
|
private commitDateRangeValue;
|
|
3432
3983
|
private currentRangeGroupValue;
|
|
@@ -3486,7 +4037,7 @@ declare class MaterialTimepickerComponent extends SimpleBaseInputComponent {
|
|
|
3486
4037
|
isReadonlyEffective(): boolean;
|
|
3487
4038
|
/** Calculates step attribute (seconds) based on metadata. */
|
|
3488
4039
|
stepAttribute(): number | null;
|
|
3489
|
-
errorStateMatcher():
|
|
4040
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
3490
4041
|
private parseTimeToSeconds;
|
|
3491
4042
|
private metadataAsField;
|
|
3492
4043
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialTimepickerComponent, never>;
|
|
@@ -3523,9 +4074,10 @@ declare class InlineTimeComponent extends MaterialTimepickerComponent {
|
|
|
3523
4074
|
onViewportResize(): void;
|
|
3524
4075
|
protected getSpecificCssClasses(): string[];
|
|
3525
4076
|
isReadonlyEffective(): boolean;
|
|
3526
|
-
errorStateMatcher():
|
|
4077
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
3527
4078
|
isInteractionBlocked(): boolean;
|
|
3528
4079
|
showQuickClear(): boolean;
|
|
4080
|
+
hasInlineValue(): boolean;
|
|
3529
4081
|
showInlinePlaceholder(): boolean;
|
|
3530
4082
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
3531
4083
|
onQuickClear(event: MouseEvent): void;
|
|
@@ -4038,6 +4590,7 @@ declare class InlinePipelineStatusComponent extends SimpleBaseSelectComponent<un
|
|
|
4038
4590
|
protected resolveInlineContextTooltipValue(): string;
|
|
4039
4591
|
hasSelection(): boolean;
|
|
4040
4592
|
displayText(): string;
|
|
4593
|
+
selectedChipValueText(): string;
|
|
4041
4594
|
showQuickClear(): boolean;
|
|
4042
4595
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
4043
4596
|
onQuickClear(event: MouseEvent): void;
|
|
@@ -4427,6 +4980,7 @@ declare class InlineColorLabelComponent extends SimpleBaseSelectComponent<unknow
|
|
|
4427
4980
|
protected resolveInlineContextTooltipValue(): string;
|
|
4428
4981
|
hasSelection(): boolean;
|
|
4429
4982
|
displayText(): string;
|
|
4983
|
+
selectedChipValueText(): string;
|
|
4430
4984
|
showQuickClear(): boolean;
|
|
4431
4985
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
4432
4986
|
onQuickClear(event: MouseEvent): void;
|
|
@@ -4484,20 +5038,28 @@ declare class InlineColorLabelComponent extends SimpleBaseSelectComponent<unknow
|
|
|
4484
5038
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InlineColorLabelComponent, "pdx-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>;
|
|
4485
5039
|
}
|
|
4486
5040
|
|
|
4487
|
-
declare class MaterialMultiSelectComponent extends SimpleBaseSelectComponent {
|
|
5041
|
+
declare class MaterialMultiSelectComponent extends SimpleBaseSelectComponent implements DoCheck {
|
|
4488
5042
|
readonlyMode: boolean;
|
|
4489
5043
|
disabledMode: boolean;
|
|
4490
5044
|
visible: boolean;
|
|
4491
5045
|
presentationMode: boolean;
|
|
5046
|
+
private disabledModeAppliedToControl;
|
|
5047
|
+
ngDoCheck(): void;
|
|
4492
5048
|
protected defaultPanelClass(): string;
|
|
4493
5049
|
selectAllLabel(): string;
|
|
5050
|
+
multiSelectAriaDisabled(): 'true' | null;
|
|
5051
|
+
multiSelectAriaReadonly(): 'true' | null;
|
|
5052
|
+
selectOption(option: SelectOption<unknown>): void;
|
|
5053
|
+
toggleSelectAll(): void;
|
|
5054
|
+
onClearClick(): void;
|
|
4494
5055
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
4495
5056
|
/** Disables options when maxSelections reached */
|
|
4496
5057
|
isOptionDisabled(option: SelectOption<unknown>): boolean;
|
|
4497
5058
|
/** Emits optionSelected when a user picks an option */
|
|
4498
5059
|
onOptionSelectionChange(option: SelectOption<unknown>, event: MatOptionSelectionChange): void;
|
|
4499
|
-
errorStateMatcher():
|
|
5060
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
4500
5061
|
private optionsFromLegacy;
|
|
5062
|
+
private syncDisabledModeControlState;
|
|
4501
5063
|
private normalizeOption;
|
|
4502
5064
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialMultiSelectComponent, never>;
|
|
4503
5065
|
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>;
|
|
@@ -4631,24 +5193,39 @@ declare class MaterialChipsComponent extends SimpleBaseSelectComponent {
|
|
|
4631
5193
|
private mapRawOption;
|
|
4632
5194
|
displayOption: (value: unknown) => string;
|
|
4633
5195
|
selectedOptions(): SelectOption[];
|
|
5196
|
+
isChipsInteractionDisabled(): boolean;
|
|
5197
|
+
canRemoveChips(): boolean;
|
|
5198
|
+
removeChipAriaLabel(option: SelectOption): string;
|
|
5199
|
+
selectOption(option: SelectOption): void;
|
|
4634
5200
|
removeChip(option: SelectOption): void;
|
|
4635
5201
|
onInputTokenEnd(event: MatChipInputEvent): void;
|
|
4636
5202
|
onSearchInputEvent(event: Event): void;
|
|
4637
5203
|
setInputMetadata(metadata: MaterialChipsMetadata): void;
|
|
4638
5204
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
4639
|
-
errorStateMatcher():
|
|
5205
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
4640
5206
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialChipsComponent, never>;
|
|
4641
5207
|
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>;
|
|
4642
5208
|
}
|
|
4643
5209
|
|
|
4644
5210
|
declare class MaterialButtonToggleComponent extends SimpleBaseSelectComponent {
|
|
5211
|
+
readonlyMode: boolean;
|
|
5212
|
+
disabledMode: boolean;
|
|
5213
|
+
visible: boolean;
|
|
5214
|
+
presentationMode: boolean;
|
|
4645
5215
|
private asRecord;
|
|
4646
5216
|
private mapRawOption;
|
|
5217
|
+
labelId(): string;
|
|
5218
|
+
groupAriaLabel(): string | null;
|
|
5219
|
+
groupAriaLabelledby(): string | null;
|
|
5220
|
+
toggleInteractionDisabled(): boolean;
|
|
5221
|
+
toggleAriaDisabled(): 'true' | null;
|
|
5222
|
+
toggleAriaReadonly(): 'true' | null;
|
|
5223
|
+
readonlyEffective(): boolean;
|
|
4647
5224
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
4648
5225
|
protected getSpecificCssClasses(): string[];
|
|
4649
5226
|
onGroupChange(event: MatButtonToggleChange): void;
|
|
4650
5227
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialButtonToggleComponent, never>;
|
|
4651
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialButtonToggleComponent, "pdx-material-button-toggle", never, {}, {}, never, never, true, never>;
|
|
5228
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialButtonToggleComponent, "pdx-material-button-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>;
|
|
4652
5229
|
}
|
|
4653
5230
|
|
|
4654
5231
|
declare class MaterialSlideToggleComponent extends SimpleBaseInputComponent {
|
|
@@ -4656,6 +5233,11 @@ declare class MaterialSlideToggleComponent extends SimpleBaseInputComponent {
|
|
|
4656
5233
|
disabledMode: boolean;
|
|
4657
5234
|
visible: boolean;
|
|
4658
5235
|
presentationMode: boolean;
|
|
5236
|
+
requiredEffective(): boolean;
|
|
5237
|
+
toggleInteractionDisabled(): boolean;
|
|
5238
|
+
toggleAriaDisabled(): 'true' | null;
|
|
5239
|
+
toggleAriaReadonly(): 'true' | null;
|
|
5240
|
+
readonlyEffective(): boolean;
|
|
4659
5241
|
/** Applies component metadata with strong typing. */
|
|
4660
5242
|
setInputMetadata(metadata: MaterialToggleMetadata): void;
|
|
4661
5243
|
protected getSpecificCssClasses(): string[];
|
|
@@ -4663,16 +5245,60 @@ declare class MaterialSlideToggleComponent extends SimpleBaseInputComponent {
|
|
|
4663
5245
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialSlideToggleComponent, "pdx-material-slide-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>;
|
|
4664
5246
|
}
|
|
4665
5247
|
|
|
5248
|
+
interface SliderDistributionBar$1 {
|
|
5249
|
+
id: string;
|
|
5250
|
+
ratio: number;
|
|
5251
|
+
selected: boolean;
|
|
5252
|
+
background?: string;
|
|
5253
|
+
color?: string;
|
|
5254
|
+
label?: string;
|
|
5255
|
+
}
|
|
5256
|
+
interface SliderSemanticBandView$1 {
|
|
5257
|
+
id: string;
|
|
5258
|
+
startPercent: number;
|
|
5259
|
+
widthPercent: number;
|
|
5260
|
+
tone: RangeSliderSemanticBand['tone'];
|
|
5261
|
+
color?: string;
|
|
5262
|
+
label?: string;
|
|
5263
|
+
}
|
|
4666
5264
|
declare class MaterialSliderComponent extends SimpleBaseInputComponent {
|
|
4667
5265
|
readonlyMode: boolean;
|
|
4668
5266
|
disabledMode: boolean;
|
|
4669
5267
|
visible: boolean;
|
|
4670
5268
|
presentationMode: boolean;
|
|
4671
5269
|
/** Display function for slider values */
|
|
4672
|
-
displayWithFn: (value: number) =>
|
|
5270
|
+
displayWithFn: (value: number) => string;
|
|
5271
|
+
sliderStep(): number;
|
|
5272
|
+
valueLabelEnabled(): boolean;
|
|
5273
|
+
showTickMarks(): boolean;
|
|
5274
|
+
trackMode(): 'normal' | 'inverted' | 'none';
|
|
5275
|
+
sliderSize(): 'small' | 'medium' | 'large';
|
|
5276
|
+
markLabels(): RangeSliderMark[];
|
|
5277
|
+
semanticBandViews(): SliderSemanticBandView$1[];
|
|
5278
|
+
distributionBars(): SliderDistributionBar$1[];
|
|
5279
|
+
sliderInteractionDisabled(): boolean;
|
|
5280
|
+
sliderAriaDisabled(): 'true' | null;
|
|
5281
|
+
sliderAriaReadonly(): 'true' | null;
|
|
5282
|
+
readonlyEffective(): boolean;
|
|
5283
|
+
markPosition(value: number): number;
|
|
4673
5284
|
/** Applies component metadata with strong typing. */
|
|
4674
5285
|
setInputMetadata(metadata: MaterialSliderMetadata): void;
|
|
4675
5286
|
protected getSpecificCssClasses(): string[];
|
|
5287
|
+
private currentMetadata;
|
|
5288
|
+
private resolveMarks;
|
|
5289
|
+
private parseJsonArray;
|
|
5290
|
+
private parseJsonObject;
|
|
5291
|
+
private normalizeTone;
|
|
5292
|
+
private resolveSemanticBands;
|
|
5293
|
+
private resolveDistributionBars;
|
|
5294
|
+
private normalizeDistributionColorMode;
|
|
5295
|
+
private isDistributionBarSelected;
|
|
5296
|
+
private resolveDistributionBarBackground;
|
|
5297
|
+
private stringConfig;
|
|
5298
|
+
formatSliderValue(value: unknown): string;
|
|
5299
|
+
private scaleValue;
|
|
5300
|
+
private formatStorageValue;
|
|
5301
|
+
private formatCurrencyValue;
|
|
4676
5302
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialSliderComponent, never>;
|
|
4677
5303
|
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>;
|
|
4678
5304
|
}
|
|
@@ -4681,11 +5307,45 @@ type ThemeColor = 'primary' | 'secondary' | 'tertiary' | 'base' | 'info' | 'succ
|
|
|
4681
5307
|
type Rounded = 'full' | 'large' | 'medium' | 'small' | 'none';
|
|
4682
5308
|
type AvatarSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge' | 'none';
|
|
4683
5309
|
type FillMode = 'solid' | 'outline' | 'none';
|
|
5310
|
+
type AvatarStatus = 'online' | 'offline' | 'busy' | 'away' | 'verified' | 'none';
|
|
5311
|
+
type AvatarEmphasis = 'none' | 'ring' | 'halo';
|
|
4684
5312
|
type IconInput = string | SafeHtml | {
|
|
4685
5313
|
name?: string;
|
|
4686
5314
|
svg?: string;
|
|
4687
5315
|
fontClass?: string;
|
|
4688
5316
|
};
|
|
5317
|
+
interface AvatarGroupItem {
|
|
5318
|
+
imageSrc?: string;
|
|
5319
|
+
imageAlt?: string;
|
|
5320
|
+
initials?: string;
|
|
5321
|
+
name?: string;
|
|
5322
|
+
icon?: IconInput;
|
|
5323
|
+
defaultIcon?: IconInput;
|
|
5324
|
+
themeColor?: ThemeColor;
|
|
5325
|
+
rounded?: Rounded;
|
|
5326
|
+
fillMode?: FillMode;
|
|
5327
|
+
status?: AvatarStatus;
|
|
5328
|
+
statusLabel?: string;
|
|
5329
|
+
emphasis?: AvatarEmphasis;
|
|
5330
|
+
emphasisColor?: ThemeColor;
|
|
5331
|
+
emphasisLabel?: string;
|
|
5332
|
+
tooltip?: string;
|
|
5333
|
+
ariaLabel?: string;
|
|
5334
|
+
}
|
|
5335
|
+
interface NormalizedAvatarGroupItem extends AvatarGroupItem {
|
|
5336
|
+
key: string;
|
|
5337
|
+
index: number;
|
|
5338
|
+
initialsText: string;
|
|
5339
|
+
imageUrl: string;
|
|
5340
|
+
label: string;
|
|
5341
|
+
tooltip: string;
|
|
5342
|
+
themeColor: ThemeColor;
|
|
5343
|
+
rounded: Rounded;
|
|
5344
|
+
fillMode: FillMode;
|
|
5345
|
+
status: AvatarStatus;
|
|
5346
|
+
emphasis: AvatarEmphasis;
|
|
5347
|
+
emphasisColor: ThemeColor;
|
|
5348
|
+
}
|
|
4689
5349
|
declare class MaterialAvatarComponent implements OnChanges {
|
|
4690
5350
|
private readonly sanitizer;
|
|
4691
5351
|
private readonly elementRef;
|
|
@@ -4709,6 +5369,12 @@ declare class MaterialAvatarComponent implements OnChanges {
|
|
|
4709
5369
|
private _border;
|
|
4710
5370
|
private _sizePx?;
|
|
4711
5371
|
private _sizeCss?;
|
|
5372
|
+
private _initialsMaxLength;
|
|
5373
|
+
private _groupItems;
|
|
5374
|
+
private _groupMaxVisible;
|
|
5375
|
+
private _groupOverlap;
|
|
5376
|
+
private _emphasis;
|
|
5377
|
+
private _emphasisColor;
|
|
4712
5378
|
set themeColor(value: ThemeColor);
|
|
4713
5379
|
get themeColor(): ThemeColor;
|
|
4714
5380
|
set rounded(value: Rounded);
|
|
@@ -4725,6 +5391,25 @@ declare class MaterialAvatarComponent implements OnChanges {
|
|
|
4725
5391
|
get sizeCss(): string | undefined;
|
|
4726
5392
|
tooltip?: string;
|
|
4727
5393
|
ariaLabel?: string;
|
|
5394
|
+
status?: AvatarStatus;
|
|
5395
|
+
statusLabel?: string;
|
|
5396
|
+
badge?: string | number;
|
|
5397
|
+
badgeLabel?: string;
|
|
5398
|
+
emphasisLabel?: string;
|
|
5399
|
+
set emphasis(value: AvatarEmphasis | undefined);
|
|
5400
|
+
get emphasis(): AvatarEmphasis;
|
|
5401
|
+
set emphasisColor(value: ThemeColor | undefined);
|
|
5402
|
+
get emphasisColor(): ThemeColor;
|
|
5403
|
+
set initialsMaxLength(value: number | string | undefined);
|
|
5404
|
+
get initialsMaxLength(): number;
|
|
5405
|
+
set groupItems(value: AvatarGroupItem[] | undefined);
|
|
5406
|
+
get groupItems(): AvatarGroupItem[];
|
|
5407
|
+
set groupMaxVisible(value: number | string | undefined);
|
|
5408
|
+
get groupMaxVisible(): number;
|
|
5409
|
+
set groupOverlap(value: number | string | undefined);
|
|
5410
|
+
get groupOverlap(): number;
|
|
5411
|
+
groupOverflowLabel?: string;
|
|
5412
|
+
groupLabel?: string;
|
|
4728
5413
|
readonlyMode?: boolean;
|
|
4729
5414
|
disabledMode?: boolean;
|
|
4730
5415
|
visible?: boolean;
|
|
@@ -4737,6 +5422,7 @@ declare class MaterialAvatarComponent implements OnChanges {
|
|
|
4737
5422
|
get style(): NgStyle | undefined;
|
|
4738
5423
|
imageError: EventEmitter<void>;
|
|
4739
5424
|
private readonly _imgFailed;
|
|
5425
|
+
private readonly groupImageFailures;
|
|
4740
5426
|
private readonly controlValue;
|
|
4741
5427
|
private readonly _syncControlValue;
|
|
4742
5428
|
readonly resolvedImageSrc: _angular_core.Signal<string>;
|
|
@@ -4744,20 +5430,53 @@ declare class MaterialAvatarComponent implements OnChanges {
|
|
|
4744
5430
|
readonly hasImage: _angular_core.Signal<boolean>;
|
|
4745
5431
|
readonly hasInitials: _angular_core.Signal<boolean>;
|
|
4746
5432
|
readonly componentCssClasses: _angular_core.Signal<string>;
|
|
5433
|
+
readonly computedHostRole: _angular_core.Signal<"group" | "img">;
|
|
4747
5434
|
readonly resolvedStyle: _angular_core.Signal<{
|
|
4748
5435
|
[x: string]: unknown;
|
|
4749
5436
|
} | null>;
|
|
4750
5437
|
readonly computedAriaLabel: _angular_core.Signal<string>;
|
|
4751
5438
|
readonly resolvedHint: _angular_core.Signal<string>;
|
|
5439
|
+
readonly resolvedLabel: _angular_core.Signal<string>;
|
|
4752
5440
|
readonly hintId: _angular_core.Signal<string | null>;
|
|
4753
5441
|
private resolveIconKind;
|
|
4754
5442
|
private pickImageSrcFromValue;
|
|
4755
5443
|
private normalizeImageUrl;
|
|
4756
5444
|
private normalizeCssSize;
|
|
5445
|
+
private normalizeThemeColor;
|
|
5446
|
+
private normalizeRounded;
|
|
5447
|
+
private normalizeFillMode;
|
|
5448
|
+
private normalizeStatus;
|
|
5449
|
+
private normalizeEmphasis;
|
|
5450
|
+
private initialsFrom;
|
|
5451
|
+
private groupItemLabel;
|
|
5452
|
+
private defaultStatusLabel;
|
|
5453
|
+
private iconNameFrom;
|
|
5454
|
+
private themeStyle;
|
|
5455
|
+
private radiusToken;
|
|
5456
|
+
readonly resolvedStatus: _angular_core.Signal<AvatarStatus>;
|
|
5457
|
+
readonly resolvedStatusLabel: _angular_core.Signal<string>;
|
|
5458
|
+
normalizedBadge(): string;
|
|
5459
|
+
readonly resolvedBadgeLabel: _angular_core.Signal<string>;
|
|
5460
|
+
readonly resolvedEmphasisLabel: _angular_core.Signal<string>;
|
|
4757
5461
|
shouldShowImage(): boolean;
|
|
4758
5462
|
shouldShowIcon(): boolean;
|
|
4759
5463
|
shouldShowInitials(): boolean;
|
|
4760
5464
|
shouldShowDefaultIcon(): boolean;
|
|
5465
|
+
shouldShowStatus(): boolean;
|
|
5466
|
+
shouldShowBadge(): boolean;
|
|
5467
|
+
shouldRenderGroup(): boolean;
|
|
5468
|
+
readonly normalizedGroupItems: _angular_core.Signal<NormalizedAvatarGroupItem[]>;
|
|
5469
|
+
readonly visibleGroupItems: _angular_core.Signal<NormalizedAvatarGroupItem[]>;
|
|
5470
|
+
readonly groupOverflowCount: _angular_core.Signal<number>;
|
|
5471
|
+
groupItemClasses(item: NormalizedAvatarGroupItem): string;
|
|
5472
|
+
groupItemStyle(item: NormalizedAvatarGroupItem): Record<string, string>;
|
|
5473
|
+
groupOverflowStyle(): Record<string, string>;
|
|
5474
|
+
groupOverlapCss(): string;
|
|
5475
|
+
groupImageFailed(index: number): boolean;
|
|
5476
|
+
onGroupImgError(index: number): void;
|
|
5477
|
+
groupIconName(item: AvatarGroupItem): string | null;
|
|
5478
|
+
groupDefaultIconName(item: AvatarGroupItem): string | null;
|
|
5479
|
+
resolvedGroupOverflowLabel(): string;
|
|
4761
5480
|
readonly hasExplicitIcon: _angular_core.Signal<boolean>;
|
|
4762
5481
|
readonly hasDefaultIcon: _angular_core.Signal<boolean>;
|
|
4763
5482
|
normalizedInitials(): string;
|
|
@@ -4770,14 +5489,32 @@ declare class MaterialAvatarComponent implements OnChanges {
|
|
|
4770
5489
|
ngOnChanges(_changes: SimpleChanges): void;
|
|
4771
5490
|
setInputMetadata(meta: ComponentMetadata): void;
|
|
4772
5491
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialAvatarComponent, never>;
|
|
4773
|
-
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>;
|
|
5492
|
+
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; }; "status": { "alias": "status"; "required": false; }; "statusLabel": { "alias": "statusLabel"; "required": false; }; "badge": { "alias": "badge"; "required": false; }; "badgeLabel": { "alias": "badgeLabel"; "required": false; }; "emphasisLabel": { "alias": "emphasisLabel"; "required": false; }; "emphasis": { "alias": "emphasis"; "required": false; }; "emphasisColor": { "alias": "emphasisColor"; "required": false; }; "initialsMaxLength": { "alias": "initialsMaxLength"; "required": false; }; "groupItems": { "alias": "groupItems"; "required": false; }; "groupMaxVisible": { "alias": "groupMaxVisible"; "required": false; }; "groupOverlap": { "alias": "groupOverlap"; "required": false; }; "groupOverflowLabel": { "alias": "groupOverflowLabel"; "required": false; }; "groupLabel": { "alias": "groupLabel"; "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>;
|
|
4774
5493
|
}
|
|
4775
5494
|
|
|
4776
|
-
declare class MaterialRadioGroupComponent extends SimpleBaseSelectComponent {
|
|
5495
|
+
declare class MaterialRadioGroupComponent extends SimpleBaseSelectComponent implements DoCheck {
|
|
4777
5496
|
readonlyMode: boolean;
|
|
4778
5497
|
disabledMode: boolean;
|
|
4779
5498
|
visible: boolean;
|
|
4780
5499
|
presentationMode: boolean;
|
|
5500
|
+
private disabledModeAppliedToControl;
|
|
5501
|
+
ngDoCheck(): void;
|
|
5502
|
+
radioInteractionDisabled(): boolean;
|
|
5503
|
+
radioAriaDisabled(): 'true' | null;
|
|
5504
|
+
radioAriaReadonly(): 'true' | null;
|
|
5505
|
+
readonlyEffective(): boolean;
|
|
5506
|
+
radioOptionDisabled(option: SelectOption<unknown>): boolean;
|
|
5507
|
+
radioOptionAriaDisabled(option: SelectOption<unknown>): 'true' | null;
|
|
5508
|
+
onRadioButtonClick(event: MouseEvent): void;
|
|
5509
|
+
onRadioButtonKeydown(event: KeyboardEvent): void;
|
|
5510
|
+
selectOption(option: SelectOption<unknown>): void;
|
|
5511
|
+
radioLabelId(): string;
|
|
5512
|
+
radioHintId(): string;
|
|
5513
|
+
radioErrorId(): string;
|
|
5514
|
+
radioLabelledBy(): string | null;
|
|
5515
|
+
radioDescribedBy(): string | null;
|
|
5516
|
+
isRequiredRadio(): boolean;
|
|
5517
|
+
private syncDisabledModeControlState;
|
|
4781
5518
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
4782
5519
|
protected getSpecificCssClasses(): string[];
|
|
4783
5520
|
private optionsFromLegacy;
|
|
@@ -4786,11 +5523,20 @@ declare class MaterialRadioGroupComponent extends SimpleBaseSelectComponent {
|
|
|
4786
5523
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialRadioGroupComponent, "pdx-material-radio-group", 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>;
|
|
4787
5524
|
}
|
|
4788
5525
|
|
|
4789
|
-
declare class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent {
|
|
5526
|
+
declare class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent implements DoCheck {
|
|
4790
5527
|
readonlyMode: boolean;
|
|
4791
5528
|
disabledMode: boolean;
|
|
4792
5529
|
visible: boolean;
|
|
4793
5530
|
presentationMode: boolean;
|
|
5531
|
+
private disabledModeAppliedToControl;
|
|
5532
|
+
ngDoCheck(): void;
|
|
5533
|
+
checkboxInteractionDisabled(): boolean;
|
|
5534
|
+
checkboxAriaDisabled(): 'true' | null;
|
|
5535
|
+
checkboxAriaReadonly(): 'true' | null;
|
|
5536
|
+
readonlyEffective(): boolean;
|
|
5537
|
+
onCheckboxControlClick(event: MouseEvent, stopShellPropagation?: boolean): void;
|
|
5538
|
+
onCheckboxControlKeydown(event: KeyboardEvent): void;
|
|
5539
|
+
private syncDisabledModeControlState;
|
|
4794
5540
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
4795
5541
|
/** Disables options when maxSelections reached */
|
|
4796
5542
|
isOptionDisabled(option: SelectOption<unknown>): boolean;
|
|
@@ -4807,7 +5553,7 @@ declare class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent {
|
|
|
4807
5553
|
booleanErrorId(): string;
|
|
4808
5554
|
groupHintId(): string;
|
|
4809
5555
|
groupErrorId(): string;
|
|
4810
|
-
booleanAriaLabel(): string
|
|
5556
|
+
booleanAriaLabel(): string;
|
|
4811
5557
|
booleanLabelledBy(): string | null;
|
|
4812
5558
|
booleanDescribedBy(): string | null;
|
|
4813
5559
|
groupDescribedBy(): string | null;
|
|
@@ -4822,6 +5568,8 @@ declare class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent {
|
|
|
4822
5568
|
onBooleanCheckboxChange(): void;
|
|
4823
5569
|
onMultipleOptionContentClick(option: SelectOption<unknown>, event: MouseEvent): void;
|
|
4824
5570
|
onSelectAllContentClick(event: MouseEvent): void;
|
|
5571
|
+
selectOption(option: SelectOption<unknown>): void;
|
|
5572
|
+
toggleSelectAll(): void;
|
|
4825
5573
|
private shouldToggleFromBooleanContent;
|
|
4826
5574
|
private shouldToggleFromMultipleContent;
|
|
4827
5575
|
private toggleBooleanCheckbox;
|
|
@@ -4829,10 +5577,10 @@ declare class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent {
|
|
|
4829
5577
|
private humanizeName;
|
|
4830
5578
|
optionLabelId(option: SelectOption<unknown>): string;
|
|
4831
5579
|
optionDescriptionId(option: SelectOption<unknown>): string | null;
|
|
4832
|
-
optionAriaLabel(option: SelectOption<unknown>): string
|
|
5580
|
+
optionAriaLabel(option: SelectOption<unknown>): string;
|
|
4833
5581
|
optionSupportingText(option: SelectOption<unknown>): string | null;
|
|
4834
5582
|
selectAllLabelId(): string;
|
|
4835
|
-
selectAllAriaLabel(): string
|
|
5583
|
+
selectAllAriaLabel(): string;
|
|
4836
5584
|
selectAllLabelText(): string;
|
|
4837
5585
|
private optionDomToken;
|
|
4838
5586
|
private optionsFromLegacy;
|
|
@@ -4841,11 +5589,30 @@ declare class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent {
|
|
|
4841
5589
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialCheckboxGroupComponent, "pdx-material-checkbox-group", 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>;
|
|
4842
5590
|
}
|
|
4843
5591
|
|
|
4844
|
-
declare class MaterialSelectionListComponent extends SimpleBaseSelectComponent {
|
|
5592
|
+
declare class MaterialSelectionListComponent extends SimpleBaseSelectComponent implements DoCheck {
|
|
4845
5593
|
readonlyMode: boolean;
|
|
4846
5594
|
disabledMode: boolean;
|
|
4847
5595
|
visible: boolean;
|
|
4848
5596
|
presentationMode: boolean;
|
|
5597
|
+
private disabledModeAppliedToControl;
|
|
5598
|
+
ngDoCheck(): void;
|
|
5599
|
+
selectionListInteractionDisabled(): boolean;
|
|
5600
|
+
selectionListAriaDisabled(): 'true' | null;
|
|
5601
|
+
selectionListAriaReadonly(): 'true' | null;
|
|
5602
|
+
selectionOptionDisabled(option: SelectOption<unknown>): boolean;
|
|
5603
|
+
selectionOptionAriaDisabled(option: SelectOption<unknown>): 'true' | null;
|
|
5604
|
+
selectionListLabelId(): string;
|
|
5605
|
+
selectionListHintId(): string;
|
|
5606
|
+
selectionListErrorId(): string;
|
|
5607
|
+
selectionListCounterId(): string;
|
|
5608
|
+
selectionListLabelledBy(): string | null;
|
|
5609
|
+
selectionListDescribedBy(): string | null;
|
|
5610
|
+
isRequiredSelectionList(): boolean;
|
|
5611
|
+
onSelectionOptionClick(event: MouseEvent): void;
|
|
5612
|
+
onSelectionOptionKeydown(event: KeyboardEvent): void;
|
|
5613
|
+
selectOption(option: SelectOption<unknown>): void;
|
|
5614
|
+
toggleSelectAll(): void;
|
|
5615
|
+
private syncDisabledModeControlState;
|
|
4849
5616
|
private asRecord;
|
|
4850
5617
|
private mapRawOption;
|
|
4851
5618
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
@@ -5017,19 +5784,21 @@ declare class PhoneInputComponent extends SimpleBaseInputComponent {
|
|
|
5017
5784
|
ngOnInit(): void;
|
|
5018
5785
|
writeValue(value: unknown): void;
|
|
5019
5786
|
protected registerInputElement(el: HTMLElement): void;
|
|
5787
|
+
protected applyNativeDisplayMask(): void;
|
|
5020
5788
|
handleInput(event: Event): void;
|
|
5021
5789
|
handleBlur(): void;
|
|
5022
5790
|
validateField(): Promise<ValidationErrors | null>;
|
|
5023
5791
|
protected getSpecificCssClasses(): string[];
|
|
5024
5792
|
/** Applies strongly typed metadata to the component. */
|
|
5025
5793
|
setInputMetadata(metadata: MaterialPhoneMetadata): void;
|
|
5026
|
-
errorStateMatcher():
|
|
5794
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
5027
5795
|
isReadonlyEffective(): boolean;
|
|
5028
5796
|
private metadataAsField;
|
|
5029
5797
|
private phoneMetadata;
|
|
5030
5798
|
private syncPhoneValidators;
|
|
5031
5799
|
private validatePhoneControl;
|
|
5032
5800
|
private isPhoneRuntimeEnabled;
|
|
5801
|
+
private metadataFlag;
|
|
5033
5802
|
private resolveDefaultCountry;
|
|
5034
5803
|
private resolveAllowedCountries;
|
|
5035
5804
|
private resolvePhoneFormat;
|
|
@@ -5061,7 +5830,7 @@ declare class TimeInputComponent extends SimpleBaseInputComponent {
|
|
|
5061
5830
|
protected getSpecificCssClasses(): string[];
|
|
5062
5831
|
/** Applies component metadata with strong typing. */
|
|
5063
5832
|
setInputMetadata(metadata: MaterialTimeInputMetadata): void;
|
|
5064
|
-
errorStateMatcher():
|
|
5833
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
5065
5834
|
/**
|
|
5066
5835
|
* Time input is officially minute-granularity only.
|
|
5067
5836
|
* Non-minute step values fallback to 60s.
|
|
@@ -5094,7 +5863,7 @@ declare class UrlInputComponent extends SimpleBaseInputComponent {
|
|
|
5094
5863
|
protected getSpecificCssClasses(): string[];
|
|
5095
5864
|
/** Applies component metadata with strong typing. */
|
|
5096
5865
|
setInputMetadata(metadata: MaterialUrlInputMetadata): void;
|
|
5097
|
-
errorStateMatcher():
|
|
5866
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
5098
5867
|
isReadonlyEffective(): boolean;
|
|
5099
5868
|
private metadataAsField;
|
|
5100
5869
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UrlInputComponent, never>;
|
|
@@ -5121,7 +5890,7 @@ declare class WeekInputComponent extends SimpleBaseInputComponent {
|
|
|
5121
5890
|
protected getSpecificCssClasses(): string[];
|
|
5122
5891
|
/** Applies component metadata with strong typing. */
|
|
5123
5892
|
setInputMetadata(metadata: MaterialWeekInputMetadata): void;
|
|
5124
|
-
errorStateMatcher():
|
|
5893
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
5125
5894
|
isReadonlyEffective(): boolean;
|
|
5126
5895
|
private metadataAsField;
|
|
5127
5896
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WeekInputComponent, never>;
|
|
@@ -5148,7 +5917,8 @@ declare class MaterialColorPickerComponent extends SimpleBaseInputComponent {
|
|
|
5148
5917
|
/** Handles color selection from the native input. */
|
|
5149
5918
|
onNativeColorChange(event: Event): void;
|
|
5150
5919
|
protected getSpecificCssClasses(): string[];
|
|
5151
|
-
|
|
5920
|
+
effectiveFloatLabelBehavior(): 'always';
|
|
5921
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
5152
5922
|
isReadonlyEffective(): boolean;
|
|
5153
5923
|
previewColor(): string;
|
|
5154
5924
|
colorPaletteAriaLabel(): string;
|
|
@@ -5183,6 +5953,7 @@ declare class MaterialRatingComponent extends SimpleBaseInputComponent implement
|
|
|
5183
5953
|
svgIconOutline?: string;
|
|
5184
5954
|
outlineIcon?: string;
|
|
5185
5955
|
disabled: boolean;
|
|
5956
|
+
disabledMode: boolean;
|
|
5186
5957
|
readonlyMode: boolean;
|
|
5187
5958
|
presentationMode: boolean;
|
|
5188
5959
|
tabindex: number;
|
|
@@ -5212,15 +5983,20 @@ declare class MaterialRatingComponent extends SimpleBaseInputComponent implement
|
|
|
5212
5983
|
private getVisualValue;
|
|
5213
5984
|
private getActiveIndexAndHalf;
|
|
5214
5985
|
private applyValue;
|
|
5986
|
+
ratingValueText(): string;
|
|
5987
|
+
effectiveTabIndex(): number;
|
|
5988
|
+
disabledEffective(): boolean;
|
|
5215
5989
|
readonlyEffective(): boolean;
|
|
5216
|
-
|
|
5990
|
+
ratingAriaLabel(): string;
|
|
5991
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
5217
5992
|
setInputMetadata(meta: unknown): void;
|
|
5218
5993
|
private parseSize;
|
|
5219
5994
|
private parseSelectionMode;
|
|
5995
|
+
private interactionBlocked;
|
|
5220
5996
|
private asRecord;
|
|
5221
5997
|
private metadataAsField;
|
|
5222
5998
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialRatingComponent, never>;
|
|
5223
|
-
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>;
|
|
5999
|
+
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; }; "disabledMode": { "alias": "disabledMode"; "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>;
|
|
5224
6000
|
}
|
|
5225
6001
|
|
|
5226
6002
|
type PickerView = 'gradient' | 'palette';
|
|
@@ -5337,10 +6113,12 @@ declare class PdxColorPickerComponent extends SimpleBaseInputComponent implement
|
|
|
5337
6113
|
onCancel(): void;
|
|
5338
6114
|
onApply(): void;
|
|
5339
6115
|
readonlyEffective(): boolean;
|
|
5340
|
-
errorStateMatcher():
|
|
6116
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
5341
6117
|
protected getSpecificCssClasses(): string[];
|
|
6118
|
+
effectiveFloatLabelBehavior(): 'always';
|
|
5342
6119
|
setInputMetadata(meta: ComponentMetadata | null): void;
|
|
5343
6120
|
private currentMetadataRecord;
|
|
6121
|
+
private asRecord;
|
|
5344
6122
|
private toFormat;
|
|
5345
6123
|
private toHex;
|
|
5346
6124
|
private toRgb;
|
|
@@ -5363,30 +6141,95 @@ declare class PdxColorPickerComponent extends SimpleBaseInputComponent implement
|
|
|
5363
6141
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PdxColorPickerComponent, "pdx-color-picker", never, { "actionsLayout": { "alias": "actionsLayout"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; "adaptiveMode": { "alias": "adaptiveMode"; "required": false; }; "adaptiveTitle": { "alias": "adaptiveTitle"; "required": false; }; "adaptiveSubtitle": { "alias": "adaptiveSubtitle"; "required": false; }; "clearButton": { "alias": "clearButton"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; "fillMode": { "alias": "fillMode"; "required": false; }; "format": { "alias": "format"; "required": false; }; "gradientSettings": { "alias": "gradientSettings"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "svgIcon": { "alias": "svgIcon"; "required": false; }; "paletteSettings": { "alias": "paletteSettings"; "required": false; }; "popupSettings": { "alias": "popupSettings"; "required": false; }; "preview": { "alias": "preview"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "size": { "alias": "size"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "views": { "alias": "views"; "required": false; }; "maxRecent": { "alias": "maxRecent"; "required": false; }; "showRecent": { "alias": "showRecent"; "required": false; }; }, { "valueChange": "valueChange"; "open": "open"; "close": "close"; "cancel": "cancel"; "activeViewChange": "activeViewChange"; "activeColorClick": "activeColorClick"; "focusEvent": "focusEvent"; "blurEvent": "blurEvent"; }, never, never, true, never>;
|
|
5364
6142
|
}
|
|
5365
6143
|
|
|
5366
|
-
|
|
6144
|
+
interface SliderDistributionBar {
|
|
6145
|
+
id: string;
|
|
6146
|
+
ratio: number;
|
|
6147
|
+
selected: boolean;
|
|
6148
|
+
background?: string;
|
|
6149
|
+
color?: string;
|
|
6150
|
+
label?: string;
|
|
6151
|
+
}
|
|
6152
|
+
interface SliderSemanticBandView {
|
|
6153
|
+
id: string;
|
|
6154
|
+
startPercent: number;
|
|
6155
|
+
widthPercent: number;
|
|
6156
|
+
tone: RangeSliderSemanticBand['tone'];
|
|
6157
|
+
color?: string;
|
|
6158
|
+
label?: string;
|
|
6159
|
+
}
|
|
6160
|
+
declare class PdxMaterialRangeSliderComponent extends SimpleBaseInputComponent implements OnInit, AfterViewChecked {
|
|
5367
6161
|
readonlyMode: boolean;
|
|
5368
6162
|
disabledMode: boolean;
|
|
5369
6163
|
visible: boolean;
|
|
5370
6164
|
presentationMode: boolean;
|
|
5371
6165
|
metadata: _angular_core.WritableSignal<MaterialRangeSliderMetadata | null>;
|
|
6166
|
+
private activeRangeThumb;
|
|
5372
6167
|
readonly rangeGroup: FormGroup<{
|
|
5373
6168
|
start: FormControl<number | null>;
|
|
5374
6169
|
end: FormControl<number | null>;
|
|
5375
6170
|
}>;
|
|
5376
6171
|
readonly isRangeMode: _angular_core.Signal<boolean>;
|
|
5377
6172
|
readonly displayWithFn: _angular_core.Signal<(value: number) => string>;
|
|
6173
|
+
readonly sliderStep: _angular_core.Signal<number>;
|
|
6174
|
+
readonly valueLabelEnabled: _angular_core.Signal<boolean>;
|
|
6175
|
+
readonly showTickMarks: _angular_core.Signal<boolean>;
|
|
6176
|
+
readonly trackMode: _angular_core.Signal<_praxisui_core.RangeSliderTrackMode>;
|
|
6177
|
+
readonly sliderSize: _angular_core.Signal<"small" | "large" | "medium">;
|
|
6178
|
+
readonly markLabels: _angular_core.Signal<RangeSliderMark[]>;
|
|
6179
|
+
readonly semanticBandViews: _angular_core.Signal<SliderSemanticBandView[]>;
|
|
6180
|
+
distributionBars(): SliderDistributionBar[];
|
|
6181
|
+
disabledEffective(): boolean;
|
|
6182
|
+
readonlyEffective(): boolean;
|
|
6183
|
+
sliderInteractionDisabled(): boolean;
|
|
6184
|
+
sliderAriaDisabled(): 'true' | null;
|
|
6185
|
+
sliderAriaReadonly(): 'true' | null;
|
|
6186
|
+
rangeAriaInvalidAttribute(): 'true' | null;
|
|
6187
|
+
rangeThumbAriaLabel(thumb: 'start' | 'end'): string;
|
|
6188
|
+
rangeThumbLabelId(thumb: 'start' | 'end'): string;
|
|
5378
6189
|
readonly errorMessage: _angular_core.Signal<string>;
|
|
5379
6190
|
ngOnInit(): void;
|
|
6191
|
+
ngAfterViewChecked(): void;
|
|
5380
6192
|
/**
|
|
5381
6193
|
* Overrides writeValue to handle both single and range modes.
|
|
5382
6194
|
*/
|
|
5383
6195
|
writeValue(value: unknown): void;
|
|
6196
|
+
setExternalControl(control: AbstractControl): void;
|
|
6197
|
+
setInputMetadata(metadata: MaterialRangeSliderMetadata): void;
|
|
5384
6198
|
/**
|
|
5385
6199
|
* Sets the component metadata and re-initializes validators.
|
|
5386
6200
|
* @param metadata The metadata for the component.
|
|
5387
6201
|
*/
|
|
5388
6202
|
setSliderMetadata(metadata: MaterialRangeSliderMetadata): void;
|
|
6203
|
+
protected setMetadata(metadata: MaterialRangeSliderMetadata): void;
|
|
5389
6204
|
protected getSpecificCssClasses(): string[];
|
|
6205
|
+
markPosition(value: number): number;
|
|
6206
|
+
formatSliderValue(value: unknown): string;
|
|
6207
|
+
onRangePointerDown(event: PointerEvent): void;
|
|
6208
|
+
private isPointerInteractionBlocked;
|
|
6209
|
+
private syncNativeThumbAria;
|
|
6210
|
+
private applyNativeThumbAria;
|
|
6211
|
+
private setOrRemoveAttribute;
|
|
6212
|
+
private closestRangeThumb;
|
|
6213
|
+
private updateActiveRangeThumbFromPointer;
|
|
6214
|
+
private clientXToSliderValue;
|
|
6215
|
+
private valueToTrackClientX;
|
|
6216
|
+
private snapSliderValue;
|
|
6217
|
+
private trackElement;
|
|
6218
|
+
private syncRangeGroupFromControlValue;
|
|
6219
|
+
private isRangeSliderValue;
|
|
6220
|
+
private resolveMarks;
|
|
6221
|
+
private parseJsonArray;
|
|
6222
|
+
private parseJsonObject;
|
|
6223
|
+
private normalizeTone;
|
|
6224
|
+
private resolveSemanticBands;
|
|
6225
|
+
private resolveDistributionBars;
|
|
6226
|
+
private normalizeDistributionColorMode;
|
|
6227
|
+
private isDistributionBarSelected;
|
|
6228
|
+
private resolveDistributionBarBackground;
|
|
6229
|
+
private stringConfig;
|
|
6230
|
+
private scaleValue;
|
|
6231
|
+
private formatStorageValue;
|
|
6232
|
+
private formatCurrencyValue;
|
|
5390
6233
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PdxMaterialRangeSliderComponent, never>;
|
|
5391
6234
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PdxMaterialRangeSliderComponent, "pdx-material-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>;
|
|
5392
6235
|
}
|
|
@@ -5402,6 +6245,9 @@ interface TransferListMetadata extends SimpleSelectMetadata<unknown> {
|
|
|
5402
6245
|
rightLabel?: string;
|
|
5403
6246
|
leftPlaceholder?: string;
|
|
5404
6247
|
rightPlaceholder?: string;
|
|
6248
|
+
leftEmptyText?: string;
|
|
6249
|
+
rightEmptyText?: string;
|
|
6250
|
+
noResultsText?: string;
|
|
5405
6251
|
}
|
|
5406
6252
|
declare class MaterialTransferListComponent extends SimpleBaseSelectComponent {
|
|
5407
6253
|
readonlyMode: boolean;
|
|
@@ -5412,6 +6258,9 @@ declare class MaterialTransferListComponent extends SimpleBaseSelectComponent {
|
|
|
5412
6258
|
rightLabel: string;
|
|
5413
6259
|
leftPlaceholder: string;
|
|
5414
6260
|
rightPlaceholder: string;
|
|
6261
|
+
leftEmptyText: string;
|
|
6262
|
+
rightEmptyText: string;
|
|
6263
|
+
noResultsText: string;
|
|
5415
6264
|
readonly leftOptions: _angular_core.WritableSignal<SelectOption<unknown>[]>;
|
|
5416
6265
|
readonly rightOptions: _angular_core.WritableSignal<SelectOption<unknown>[]>;
|
|
5417
6266
|
readonly leftFilter: _angular_core.WritableSignal<string>;
|
|
@@ -5425,6 +6274,12 @@ declare class MaterialTransferListComponent extends SimpleBaseSelectComponent {
|
|
|
5425
6274
|
moveAllToRightAriaLabel(): string;
|
|
5426
6275
|
moveSelectedToLeftAriaLabel(): string;
|
|
5427
6276
|
moveAllToLeftAriaLabel(): string;
|
|
6277
|
+
leftListAriaLabel(): string;
|
|
6278
|
+
rightListAriaLabel(): string;
|
|
6279
|
+
leftEmptyMessage(): string;
|
|
6280
|
+
rightEmptyMessage(): string;
|
|
6281
|
+
isMaxSelectionReached(): boolean;
|
|
6282
|
+
isInteractionDisabled(): boolean;
|
|
5428
6283
|
ngOnInit(): void;
|
|
5429
6284
|
private updateListsFromValue;
|
|
5430
6285
|
getSelectedOptions(list: MatSelectionList): SelectOption[];
|
|
@@ -5455,7 +6310,7 @@ declare class PdxYearInputComponent extends SimpleBaseInputComponent {
|
|
|
5455
6310
|
ngOnInit(): void;
|
|
5456
6311
|
setInputMetadata(metadata: MaterialYearInputMetadata): void;
|
|
5457
6312
|
private applySpecificValidators;
|
|
5458
|
-
errorStateMatcher():
|
|
6313
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
5459
6314
|
onYearInput(event: Event): void;
|
|
5460
6315
|
protected getSpecificCssClasses(): string[];
|
|
5461
6316
|
private metadataAsField;
|
|
@@ -5466,6 +6321,8 @@ declare class PdxYearInputComponent extends SimpleBaseInputComponent {
|
|
|
5466
6321
|
/** Metadata for TextInputComponent */
|
|
5467
6322
|
declare const PDX_TEXT_INPUT_COMPONENT_METADATA: ComponentDocMeta;
|
|
5468
6323
|
|
|
6324
|
+
declare const PDX_EDITABLE_COLLECTION_COMPONENT_METADATA: ComponentDocMeta;
|
|
6325
|
+
|
|
5469
6326
|
/** Metadata for NumberInputComponent */
|
|
5470
6327
|
declare const PDX_NUMBER_INPUT_COMPONENT_METADATA: ComponentDocMeta;
|
|
5471
6328
|
|
|
@@ -5484,6 +6341,7 @@ declare const PDX_INLINE_SEARCHABLE_SELECT_COMPONENT_METADATA: ComponentDocMeta;
|
|
|
5484
6341
|
|
|
5485
6342
|
declare const PDX_INLINE_ASYNC_SELECT_COMPONENT_METADATA: ComponentDocMeta;
|
|
5486
6343
|
|
|
6344
|
+
declare const PDX_ENTITY_LOOKUP_COMPONENT_METADATA: ComponentDocMeta;
|
|
5487
6345
|
declare const PDX_INLINE_ENTITY_LOOKUP_COMPONENT_METADATA: ComponentDocMeta;
|
|
5488
6346
|
|
|
5489
6347
|
declare const PDX_INLINE_MULTI_SELECT_COMPONENT_METADATA: ComponentDocMeta;
|
|
@@ -5599,6 +6457,7 @@ declare const PDX_PRELOAD_STATUS_COMPONENT_METADATA: ComponentDocMeta;
|
|
|
5599
6457
|
declare const PDX_SEARCH_INPUT_COMPONENT_METADATA: ComponentDocMeta;
|
|
5600
6458
|
|
|
5601
6459
|
declare const PDX_INLINE_INPUT_COMPONENT_METADATA: ComponentDocMeta;
|
|
6460
|
+
declare const PDX_INLINE_PHONE_COMPONENT_METADATA: ComponentDocMeta;
|
|
5602
6461
|
|
|
5603
6462
|
declare const PDX_INLINE_AUTOCOMPLETE_COMPONENT_METADATA: ComponentDocMeta;
|
|
5604
6463
|
|
|
@@ -5614,367 +6473,6 @@ declare const PDX_YEAR_INPUT_COMPONENT_METADATA: ComponentDocMeta;
|
|
|
5614
6473
|
|
|
5615
6474
|
declare const PDX_FIELD_SHELL_COMPONENT_METADATA: ComponentDocMeta;
|
|
5616
6475
|
|
|
5617
|
-
/**
|
|
5618
|
-
* Context object passed to action handlers containing all relevant data
|
|
5619
|
-
* about the component state and form context when an action is executed.
|
|
5620
|
-
*
|
|
5621
|
-
* This interface provides maximum flexibility for action handlers to access
|
|
5622
|
-
* both component-specific data and broader form/application context.
|
|
5623
|
-
*
|
|
5624
|
-
* @example Basic usage in action handler
|
|
5625
|
-
* ```typescript
|
|
5626
|
-
* this.registerAction('customAction', async (context: ActionContext) => {
|
|
5627
|
-
* console.log('Field:', context.fieldName);
|
|
5628
|
-
* console.log('Value:', context.fieldValue);
|
|
5629
|
-
* console.log('Metadata:', context.metadata);
|
|
5630
|
-
* return { success: true, data: 'Action completed' };
|
|
5631
|
-
* });
|
|
5632
|
-
* ```
|
|
5633
|
-
*
|
|
5634
|
-
* @example Using actionParam for parameterized actions
|
|
5635
|
-
* ```typescript
|
|
5636
|
-
* // Metadata configuration: action: "navigate:/dashboard"
|
|
5637
|
-
* this.registerAction('navigate', async (context: ActionContext) => {
|
|
5638
|
-
* const url = context.actionParam; // "/dashboard"
|
|
5639
|
-
* await this.router.navigate([url]);
|
|
5640
|
-
* return { success: true };
|
|
5641
|
-
* });
|
|
5642
|
-
* ```
|
|
5643
|
-
*/
|
|
5644
|
-
interface ActionContext {
|
|
5645
|
-
/**
|
|
5646
|
-
* Name/identifier of the field that triggered the action.
|
|
5647
|
-
*
|
|
5648
|
-
* Useful for:
|
|
5649
|
-
* - Logging and debugging
|
|
5650
|
-
* - Field-specific business logic
|
|
5651
|
-
* - Form validation context
|
|
5652
|
-
*
|
|
5653
|
-
* @example "email", "firstName", "submitButton"
|
|
5654
|
-
*/
|
|
5655
|
-
fieldName?: string;
|
|
5656
|
-
/**
|
|
5657
|
-
* Current value of the field that triggered the action.
|
|
5658
|
-
*
|
|
5659
|
-
* For different field types:
|
|
5660
|
-
* - Input fields: string value
|
|
5661
|
-
* - Checkboxes: boolean
|
|
5662
|
-
* - Select: selected option value
|
|
5663
|
-
* - Buttons: typically undefined
|
|
5664
|
-
*
|
|
5665
|
-
* @example "john@example.com", true, ["option1", "option2"]
|
|
5666
|
-
*/
|
|
5667
|
-
fieldValue?: any;
|
|
5668
|
-
/**
|
|
5669
|
-
* Complete metadata configuration object for the field.
|
|
5670
|
-
*
|
|
5671
|
-
* Contains all field configuration including:
|
|
5672
|
-
* - Label, placeholder, validation rules
|
|
5673
|
-
* - UI configuration (appearance, icons, etc.)
|
|
5674
|
-
* - Custom properties specific to the field
|
|
5675
|
-
*
|
|
5676
|
-
* @example MaterialButtonMetadata, MaterialInputMetadata, etc.
|
|
5677
|
-
*/
|
|
5678
|
-
metadata?: any;
|
|
5679
|
-
/**
|
|
5680
|
-
* Complete form data object containing all field values.
|
|
5681
|
-
*
|
|
5682
|
-
* Useful for:
|
|
5683
|
-
* - Cross-field validation
|
|
5684
|
-
* - Conditional logic based on other fields
|
|
5685
|
-
* - Form-wide operations
|
|
5686
|
-
*
|
|
5687
|
-
* @example { email: "user@example.com", name: "John", age: 30 }
|
|
5688
|
-
*/
|
|
5689
|
-
formData?: any;
|
|
5690
|
-
/**
|
|
5691
|
-
* Reference to the Angular component instance that triggered the action.
|
|
5692
|
-
*
|
|
5693
|
-
* Provides access to:
|
|
5694
|
-
* - Component methods and properties
|
|
5695
|
-
* - ElementRef for DOM manipulation
|
|
5696
|
-
* - Angular lifecycle and services
|
|
5697
|
-
*
|
|
5698
|
-
* @example MaterialButtonComponent, MaterialInputComponent instances
|
|
5699
|
-
*/
|
|
5700
|
-
componentInstance?: any;
|
|
5701
|
-
/**
|
|
5702
|
-
* Parameter extracted from action reference after colon separator.
|
|
5703
|
-
*
|
|
5704
|
-
* When action is defined as "actionName:parameter", this contains the parameter part.
|
|
5705
|
-
* Enables parameterized actions without separate configuration.
|
|
5706
|
-
*
|
|
5707
|
-
* @example
|
|
5708
|
-
* - Action: "navigate:/dashboard" → actionParam: "/dashboard"
|
|
5709
|
-
* - Action: "showAlert:Data saved successfully" → actionParam: "Data saved successfully"
|
|
5710
|
-
* - Action: "download:https://example.com/file.pdf" → actionParam: "https://example.com/file.pdf"
|
|
5711
|
-
*/
|
|
5712
|
-
actionParam?: string;
|
|
5713
|
-
}
|
|
5714
|
-
/**
|
|
5715
|
-
* Result object returned by action handlers indicating success/failure
|
|
5716
|
-
* and any associated data or error information.
|
|
5717
|
-
*
|
|
5718
|
-
* Provides a standardized way for action handlers to communicate results
|
|
5719
|
-
* back to the calling component for appropriate user feedback.
|
|
5720
|
-
*
|
|
5721
|
-
* @example Successful action result
|
|
5722
|
-
* ```typescript
|
|
5723
|
-
* return {
|
|
5724
|
-
* success: true,
|
|
5725
|
-
* data: 'Form submitted successfully',
|
|
5726
|
-
* redirect: '/dashboard'
|
|
5727
|
-
* };
|
|
5728
|
-
* ```
|
|
5729
|
-
*
|
|
5730
|
-
* @example Failed action result
|
|
5731
|
-
* ```typescript
|
|
5732
|
-
* return {
|
|
5733
|
-
* success: false,
|
|
5734
|
-
* error: 'Validation failed: Email is required'
|
|
5735
|
-
* };
|
|
5736
|
-
* ```
|
|
5737
|
-
*/
|
|
5738
|
-
interface ActionResult {
|
|
5739
|
-
/**
|
|
5740
|
-
* Indicates whether the action completed successfully.
|
|
5741
|
-
*
|
|
5742
|
-
* - true: Action completed without errors
|
|
5743
|
-
* - false: Action failed or encountered an error
|
|
5744
|
-
*
|
|
5745
|
-
* Used by components to determine appropriate user feedback
|
|
5746
|
-
* (success message, error display, etc.)
|
|
5747
|
-
*/
|
|
5748
|
-
success: boolean;
|
|
5749
|
-
/**
|
|
5750
|
-
* Optional data returned by successful actions.
|
|
5751
|
-
*
|
|
5752
|
-
* Can contain:
|
|
5753
|
-
* - Success messages for user display
|
|
5754
|
-
* - Result data from API calls
|
|
5755
|
-
* - State information for further processing
|
|
5756
|
-
* - Any serializable data relevant to the action
|
|
5757
|
-
*
|
|
5758
|
-
* @example "Form submitted", { userId: 123 }, ["item1", "item2"]
|
|
5759
|
-
*/
|
|
5760
|
-
data?: any;
|
|
5761
|
-
/**
|
|
5762
|
-
* Error message when action fails (success = false).
|
|
5763
|
-
*
|
|
5764
|
-
* Should contain:
|
|
5765
|
-
* - User-friendly error descriptions
|
|
5766
|
-
* - Validation error messages
|
|
5767
|
-
* - Technical error details (for logging)
|
|
5768
|
-
*
|
|
5769
|
-
* Displayed to users or logged for debugging purposes.
|
|
5770
|
-
*
|
|
5771
|
-
* @example "Network error occurred", "Invalid email format", "Access denied"
|
|
5772
|
-
*/
|
|
5773
|
-
error?: string;
|
|
5774
|
-
/**
|
|
5775
|
-
* Optional URL for automatic navigation after action completion.
|
|
5776
|
-
*
|
|
5777
|
-
* When provided, the calling component may automatically redirect
|
|
5778
|
-
* the user to this URL after the action succeeds.
|
|
5779
|
-
*
|
|
5780
|
-
* Useful for:
|
|
5781
|
-
* - Post-submit redirects
|
|
5782
|
-
* - Workflow navigation
|
|
5783
|
-
* - Success page redirection
|
|
5784
|
-
*
|
|
5785
|
-
* @example "/dashboard", "/success", "https://external-site.com"
|
|
5786
|
-
*/
|
|
5787
|
-
redirect?: string;
|
|
5788
|
-
}
|
|
5789
|
-
/**
|
|
5790
|
-
* Function signature for action handlers that can be registered with the ActionResolverService.
|
|
5791
|
-
*
|
|
5792
|
-
* Action handlers receive an ActionContext with all relevant component and form data,
|
|
5793
|
-
* and must return an ActionResult indicating success/failure.
|
|
5794
|
-
*
|
|
5795
|
-
* Handlers can be either synchronous or asynchronous to support both immediate
|
|
5796
|
-
* operations and API calls/complex processing.
|
|
5797
|
-
*
|
|
5798
|
-
* @example Synchronous action handler
|
|
5799
|
-
* ```typescript
|
|
5800
|
-
* const logHandler: ActionHandler = (context) => {
|
|
5801
|
-
* console.log('Field value:', context.fieldValue);
|
|
5802
|
-
* return { success: true, data: 'Logged successfully' };
|
|
5803
|
-
* };
|
|
5804
|
-
* ```
|
|
5805
|
-
*
|
|
5806
|
-
* @example Asynchronous action handler
|
|
5807
|
-
* ```typescript
|
|
5808
|
-
* const saveHandler: ActionHandler = async (context) => {
|
|
5809
|
-
* try {
|
|
5810
|
-
* await apiService.saveData(context.formData);
|
|
5811
|
-
* return { success: true, data: 'Data saved' };
|
|
5812
|
-
* } catch (error) {
|
|
5813
|
-
* return { success: false, error: 'Save failed' };
|
|
5814
|
-
* }
|
|
5815
|
-
* };
|
|
5816
|
-
* ```
|
|
5817
|
-
*
|
|
5818
|
-
* @param context - Complete action execution context
|
|
5819
|
-
* @returns Promise<ActionResult> or ActionResult indicating success/failure
|
|
5820
|
-
*/
|
|
5821
|
-
type ActionHandler = (context: ActionContext) => Promise<ActionResult> | ActionResult;
|
|
5822
|
-
declare class ActionResolverService {
|
|
5823
|
-
private readonly router;
|
|
5824
|
-
private readonly http;
|
|
5825
|
-
private readonly dialog;
|
|
5826
|
-
private readonly actionRegistry;
|
|
5827
|
-
private parseActionPayload;
|
|
5828
|
-
private getJsonValue;
|
|
5829
|
-
private resolveDialogPayload;
|
|
5830
|
-
private splitActionRef;
|
|
5831
|
-
constructor();
|
|
5832
|
-
/**
|
|
5833
|
-
* Registra ações relacionadas a diálogos (unificado PraxisDialog)
|
|
5834
|
-
*/
|
|
5835
|
-
private registerDialogActions;
|
|
5836
|
-
/**
|
|
5837
|
-
* Registra uma nova ação
|
|
5838
|
-
*/
|
|
5839
|
-
registerAction(actionName: string, handler: ActionHandler): void;
|
|
5840
|
-
/**
|
|
5841
|
-
* Remove uma ação registrada
|
|
5842
|
-
*/
|
|
5843
|
-
unregisterAction(actionName: string): void;
|
|
5844
|
-
/**
|
|
5845
|
-
* Executa uma ação por nome
|
|
5846
|
-
*/
|
|
5847
|
-
executeAction(actionRef: string, context?: ActionContext): Promise<ActionResult>;
|
|
5848
|
-
/**
|
|
5849
|
-
* Lista todas as ações registradas
|
|
5850
|
-
*/
|
|
5851
|
-
getRegisteredActions(): string[];
|
|
5852
|
-
/**
|
|
5853
|
-
* Verifica se uma ação existe
|
|
5854
|
-
*/
|
|
5855
|
-
hasAction(actionName: string): boolean;
|
|
5856
|
-
/**
|
|
5857
|
-
* Registra ações built-in (pré-definidas) do sistema ActionResolverService.
|
|
5858
|
-
*
|
|
5859
|
-
* Este método é chamado automaticamente no constructor e registra um conjunto
|
|
5860
|
-
* de ações comuns úteis para aplicações corporativas, eliminando a necessidade
|
|
5861
|
-
* de implementar essas funcionalidades básicas repetidamente.
|
|
5862
|
-
*
|
|
5863
|
-
* Todas as ações built-in seguem padrões corporativos de:
|
|
5864
|
-
* - ✅ Tratamento de erros robusto
|
|
5865
|
-
* - ✅ Logging consistente para auditoria
|
|
5866
|
-
* - ✅ Mensagens user-friendly
|
|
5867
|
-
* - ✅ Segurança (noopener, noreferrer)
|
|
5868
|
-
* - ✅ Compatibilidade cross-browser
|
|
5869
|
-
*
|
|
5870
|
-
* ## 📋 Ações Disponíveis
|
|
5871
|
-
*
|
|
5872
|
-
* ### 📝 Formulários
|
|
5873
|
-
* - **submitForm**: Submete o formulário pai do componente
|
|
5874
|
-
* - **resetForm**: Reseta todos os campos do formulário pai
|
|
5875
|
-
*
|
|
5876
|
-
* ### 🧭 Navegação
|
|
5877
|
-
* - **navigate**: Navegação interna via Angular Router ou externa via window.location
|
|
5878
|
-
* - **openUrl**: Abre URL em nova aba com segurança (noopener, noreferrer)
|
|
5879
|
-
*
|
|
5880
|
-
* ### 📥 Downloads e Dados
|
|
5881
|
-
* - **download**: Inicia download de arquivo via URL
|
|
5882
|
-
* - **copyToClipboard**: Copia texto para área de transferência
|
|
5883
|
-
*
|
|
5884
|
-
* ### 🔔 Interface e Feedback
|
|
5885
|
-
* - **showAlert**: Exibe alerta nativo do navegador
|
|
5886
|
-
* - **log**: Registra mensagem no console para debugging
|
|
5887
|
-
*
|
|
5888
|
-
* ## 🎯 Uso no Metadata
|
|
5889
|
-
*
|
|
5890
|
-
* ```typescript
|
|
5891
|
-
* // Ação simples
|
|
5892
|
-
* const submitButton: MaterialButtonMetadata = {
|
|
5893
|
-
* name: 'submit',
|
|
5894
|
-
* label: 'Enviar',
|
|
5895
|
-
* controlType: 'button',
|
|
5896
|
-
* action: 'submitForm' // ← Ação built-in
|
|
5897
|
-
* };
|
|
5898
|
-
*
|
|
5899
|
-
* // Ação com parâmetro
|
|
5900
|
-
* const linkButton: MaterialButtonMetadata = {
|
|
5901
|
-
* name: 'dashboard',
|
|
5902
|
-
* label: 'Dashboard',
|
|
5903
|
-
* controlType: 'button',
|
|
5904
|
-
* action: 'navigate:/dashboard' // ← Parâmetro após ':'
|
|
5905
|
-
* };
|
|
5906
|
-
*
|
|
5907
|
-
* // Ação de download
|
|
5908
|
-
* const downloadButton: MaterialButtonMetadata = {
|
|
5909
|
-
* name: 'download',
|
|
5910
|
-
* label: 'Download PDF',
|
|
5911
|
-
* controlType: 'button',
|
|
5912
|
-
* action: 'download:https://example.com/report.pdf'
|
|
5913
|
-
* };
|
|
5914
|
-
* ```
|
|
5915
|
-
*
|
|
5916
|
-
* ## ⚠️ Notas Importantes
|
|
5917
|
-
*
|
|
5918
|
-
* - Ações são **case-sensitive**: use exatamente como documentado
|
|
5919
|
-
* - Parâmetros são opcionais: ações funcionam com/sem parâmetros
|
|
5920
|
-
* - Tratamento de erro: todas as ações retornam ActionResult padronizado
|
|
5921
|
-
* - Logging: ações importantes são logadas automaticamente para auditoria
|
|
5922
|
-
* - Segurança: URLs externas usam 'noopener,noreferrer' por padrão
|
|
5923
|
-
*
|
|
5924
|
-
* @private
|
|
5925
|
-
* @see ActionContext - Interface de contexto passada para todas as ações
|
|
5926
|
-
* @see ActionResult - Interface de resultado retornada por todas as ações
|
|
5927
|
-
* @see ActionHandler - Tipo de função para implementar ações customizadas
|
|
5928
|
-
*/
|
|
5929
|
-
private registerBuiltInActions;
|
|
5930
|
-
/**
|
|
5931
|
-
* Encontra o elemento <form> pai de um componente Angular.
|
|
5932
|
-
*
|
|
5933
|
-
* Percorre a árvore DOM a partir do elemento do componente até encontrar
|
|
5934
|
-
* um elemento <form> pai ou chegar ao document.body.
|
|
5935
|
-
*
|
|
5936
|
-
* Usado pelas ações submitForm e resetForm para localizar o formulário
|
|
5937
|
-
* que contém o componente que disparou a ação.
|
|
5938
|
-
*
|
|
5939
|
-
* @param componentInstance - Instância do componente Angular
|
|
5940
|
-
* @returns HTMLFormElement se encontrado, null caso contrário
|
|
5941
|
-
*
|
|
5942
|
-
* @example Estrutura HTML típica
|
|
5943
|
-
* ```html
|
|
5944
|
-
* <form>
|
|
5945
|
-
* <mat-form-field>
|
|
5946
|
-
* <input matInput>
|
|
5947
|
-
* </mat-form-field>
|
|
5948
|
-
* <pdx-material-button action="submitForm">Submit</pdx-material-button>
|
|
5949
|
-
* </form>
|
|
5950
|
-
* ```
|
|
5951
|
-
*
|
|
5952
|
-
* @private
|
|
5953
|
-
*/
|
|
5954
|
-
private findParentForm;
|
|
5955
|
-
/**
|
|
5956
|
-
* Registra ações de estado e validação de formulários.
|
|
5957
|
-
* Chamado durante a inicialização do serviço.
|
|
5958
|
-
*/
|
|
5959
|
-
private registerStateValidationActions;
|
|
5960
|
-
/**
|
|
5961
|
-
* Registra ações de API e manipulação de dados.
|
|
5962
|
-
* Chamado durante a inicialização do serviço.
|
|
5963
|
-
*/
|
|
5964
|
-
private registerApiDataActions;
|
|
5965
|
-
/**
|
|
5966
|
-
* Limpa drafts antigos do localStorage para evitar quota exceeded.
|
|
5967
|
-
*
|
|
5968
|
-
* Remove drafts com mais de 7 dias ou que estejam malformados.
|
|
5969
|
-
* Chamado automaticamente antes de salvar novos drafts.
|
|
5970
|
-
*
|
|
5971
|
-
* @private
|
|
5972
|
-
*/
|
|
5973
|
-
private cleanupOldDrafts;
|
|
5974
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ActionResolverService, never>;
|
|
5975
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ActionResolverService>;
|
|
5976
|
-
}
|
|
5977
|
-
|
|
5978
6476
|
declare class DateUtilsService {
|
|
5979
6477
|
/**
|
|
5980
6478
|
* Parses different date representations into a `Date` object.
|
|
@@ -6301,7 +6799,18 @@ interface DynamicFieldPreviewPreset {
|
|
|
6301
6799
|
label: string;
|
|
6302
6800
|
description: string;
|
|
6303
6801
|
metadataPatch?: Record<string, unknown>;
|
|
6802
|
+
/**
|
|
6803
|
+
* Default value for this preset after the active state metadata is applied.
|
|
6804
|
+
* State recipes still win when they define their own `initialValue`, except
|
|
6805
|
+
* for explicit entries in `stateInitialValues`.
|
|
6806
|
+
*/
|
|
6304
6807
|
initialValue?: unknown;
|
|
6808
|
+
/**
|
|
6809
|
+
* Per-state value overrides for this preset. Precedence:
|
|
6810
|
+
* `stateInitialValues[state]` -> state recipe `initialValue` -> preset
|
|
6811
|
+
* `initialValue` -> default state seed -> generated fallback value.
|
|
6812
|
+
*/
|
|
6813
|
+
stateInitialValues?: Partial<Record<DynamicFieldStateKey, unknown>>;
|
|
6305
6814
|
}
|
|
6306
6815
|
interface DynamicFieldCatalogEntry {
|
|
6307
6816
|
id: string;
|
|
@@ -6312,7 +6821,7 @@ interface DynamicFieldCatalogEntry {
|
|
|
6312
6821
|
friendlyName: string;
|
|
6313
6822
|
description: string;
|
|
6314
6823
|
tags: string[];
|
|
6315
|
-
|
|
6824
|
+
intentExamples: string[];
|
|
6316
6825
|
valueShape: string;
|
|
6317
6826
|
recommendedWhen: string[];
|
|
6318
6827
|
avoidWhen: string[];
|
|
@@ -6385,6 +6894,10 @@ declare const DISPLAY_ACTION_AI_CAPABILITIES: CapabilityCatalog;
|
|
|
6385
6894
|
|
|
6386
6895
|
declare const YEAR_INPUT_AI_CAPABILITIES: CapabilityCatalog;
|
|
6387
6896
|
|
|
6897
|
+
declare const PRAXIS_DYNAMIC_FIELDS_AUTHORING_MANIFEST: ComponentAuthoringManifest;
|
|
6898
|
+
|
|
6899
|
+
declare const PRAXIS_DYNAMIC_FIELDS_AUTHORING_PROFILES: ManifestControlProfile[];
|
|
6900
|
+
|
|
6388
6901
|
/**
|
|
6389
6902
|
* @fileoverview Custom Error State Matcher for Praxis Dynamic Fields
|
|
6390
6903
|
*
|
|
@@ -6411,9 +6924,6 @@ declare class PraxisErrorStateMatcher implements ErrorStateMatcher {
|
|
|
6411
6924
|
*/
|
|
6412
6925
|
isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean;
|
|
6413
6926
|
}
|
|
6414
|
-
/**
|
|
6415
|
-
* Factory function to create ErrorStateMatcher instances based on strategy
|
|
6416
|
-
*/
|
|
6417
6927
|
declare function createErrorStateMatcher(strategy?: ErrorStateStrategy): ErrorStateMatcher;
|
|
6418
6928
|
/**
|
|
6419
6929
|
* Determines the appropriate error state strategy based on component context
|
|
@@ -6644,5 +7154,5 @@ declare function normalizeFormMetadata(input: FieldMetadata[] | JsonSchema): Fie
|
|
|
6644
7154
|
declare const CLEAR_BUTTON_CONTROL_TYPES: Set<string>;
|
|
6645
7155
|
declare function supportsClearButtonControlType(controlType?: string | null): boolean;
|
|
6646
7156
|
|
|
6647
|
-
export {
|
|
6648
|
-
export type {
|
|
7157
|
+
export { 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, DYNAMIC_FIELDS_PLAYGROUND_CATALOG, DYNAMIC_FIELD_BASE_STATE_RECIPES, DYNAMIC_FIELD_DEFAULT_STATE_RECIPE, DYNAMIC_FIELD_DISABLED_STATE_RECIPE, DYNAMIC_FIELD_ERROR_STATE_RECIPE, DYNAMIC_FIELD_FILLED_STATE_RECIPE, DYNAMIC_FIELD_PRESENTATION_STATE_RECIPE, DYNAMIC_FIELD_READONLY_STATE_RECIPE, DateInputComponent, DateUtilsService, DatetimeLocalInputComponent, DynamicFieldLoaderDirective, EditableCollectionComponent, EmailInputComponent, EntityLookupDialogComponent, FILE_UPLOAD_AI_CAPABILITIES, InlineAsyncSelectComponent, InlineAutocompleteComponent, InlineColorLabelComponent, InlineCurrencyComponent, InlineCurrencyRangeComponent, InlineDateComponent, InlineDateRangeComponent, InlineDistanceRadiusComponent, InlineEntityLookupComponent, InlineInputComponent, InlineMonthRangeComponent, InlineMultiSelectComponent, InlineNumberComponent, InlinePeriodRangeComponent, InlinePipelineStatusComponent, InlineRangeSliderComponent, InlineRatingComponent, InlineRelativePeriodComponent, InlineScorePriorityComponent, InlineSearchableSelectComponent, InlineSelectComponent, InlineSentimentComponent, InlineTimeComponent, InlineTimeRangeComponent, InlineToggleComponent, InlineTreeSelectComponent, InlineYearRangeComponent, 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_EDITABLE_COLLECTION_COMPONENT_METADATA, PDX_EMAIL_INPUT_COMPONENT_METADATA, PDX_ENTITY_LOOKUP_COMPONENT_METADATA, PDX_FIELD_SHELL_COMPONENT_METADATA, PDX_INLINE_ASYNC_SELECT_COMPONENT_METADATA, PDX_INLINE_AUTOCOMPLETE_COMPONENT_METADATA, PDX_INLINE_COLOR_LABEL_COMPONENT_METADATA, PDX_INLINE_CURRENCY_COMPONENT_METADATA, PDX_INLINE_CURRENCY_RANGE_COMPONENT_METADATA, PDX_INLINE_DATE_COMPONENT_METADATA, PDX_INLINE_DATE_RANGE_COMPONENT_METADATA, PDX_INLINE_DISTANCE_RADIUS_COMPONENT_METADATA, PDX_INLINE_ENTITY_LOOKUP_COMPONENT_METADATA, PDX_INLINE_INPUT_COMPONENT_METADATA, PDX_INLINE_MONTH_RANGE_COMPONENT_METADATA, PDX_INLINE_MULTI_SELECT_COMPONENT_METADATA, PDX_INLINE_NUMBER_COMPONENT_METADATA, PDX_INLINE_PERIOD_RANGE_COMPONENT_METADATA, PDX_INLINE_PHONE_COMPONENT_METADATA, PDX_INLINE_PIPELINE_STATUS_COMPONENT_METADATA, PDX_INLINE_RANGE_SLIDER_COMPONENT_METADATA, PDX_INLINE_RATING_COMPONENT_METADATA, PDX_INLINE_RELATIVE_PERIOD_COMPONENT_METADATA, PDX_INLINE_SCORE_PRIORITY_COMPONENT_METADATA, PDX_INLINE_SEARCHABLE_SELECT_COMPONENT_METADATA, PDX_INLINE_SELECT_COMPONENT_METADATA, PDX_INLINE_SENTIMENT_COMPONENT_METADATA, PDX_INLINE_TIME_COMPONENT_METADATA, PDX_INLINE_TIME_RANGE_COMPONENT_METADATA, PDX_INLINE_TOGGLE_COMPONENT_METADATA, PDX_INLINE_TREE_SELECT_COMPONENT_METADATA, PDX_INLINE_YEAR_RANGE_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_AUTHORING_MANIFEST, PRAXIS_DYNAMIC_FIELDS_AUTHORING_PROFILES, PRAXIS_DYNAMIC_FIELDS_EDITORIAL_WAVE_1, PRAXIS_DYNAMIC_FIELDS_EN_US, PRAXIS_DYNAMIC_FIELDS_I18N, PRAXIS_DYNAMIC_FIELDS_LOGGER_BACKEND, PRAXIS_DYNAMIC_FIELDS_PT_BR, PRAXIS_DYNAMIC_FIELDS_WAVE_1_COMPONENT_METADATA, 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, createDynamicFieldPreviewRecipe, createErrorStateMatcher, createPraxisDynamicFieldsI18nConfig, emitToDynamicFieldsLoggerBackend, enableDebugForComponent, getControlTypeCatalog, getErrorStateMatcherForField, inferErrorStateStrategy, initializeComponentSystem, initializeComponentSystemSync, isBaseDynamicFieldComponent, isLoadingCapableComponent, isValidJsonSchema, isValueBasedComponent, logger, mapJsonSchemaToFields, mapPropertyToFieldMetadata, normalizeFormMetadata, provideMaterialAvatarMetadata, providePraxisDynamicFields, providePraxisDynamicFieldsCore, providePraxisDynamicFieldsCoreNoDefaults, providePraxisDynamicFieldsI18n, providePraxisDynamicFieldsNoDefaults, providePraxisDynamicFieldsWave1EditorialRegistry, registerPraxisDynamicFieldsWave1EditorialDescriptors, resolvePraxisDynamicFieldsText, setDynamicFieldsLoggerBackend, silenceComponent, supportsClearButtonControlType };
|
|
7158
|
+
export type { BaseDynamicFieldComponent, BaseValidationConfig, ComponentLifecycleEvent, ComponentLoadResult, ComponentRegistration, ConfirmDialogData, DynamicFieldCatalogEntry, DynamicFieldCatalogFamily, DynamicFieldCatalogIconKey, DynamicFieldCatalogIconSemantic, DynamicFieldCatalogIconTone, DynamicFieldCatalogStatus, DynamicFieldCatalogTrack, DynamicFieldDataSourceKind, DynamicFieldDocLinks, DynamicFieldInteractionPattern, DynamicFieldLoaderRenderErrorEvent, DynamicFieldPreviewPreset, DynamicFieldPreviewRecipe, DynamicFieldPreviewStateRecipe, DynamicFieldSnippetRecipe, DynamicFieldStateKey, DynamicFieldsCoreLogOptions, DynamicFieldsCoreLoggerBackend, DynamicFieldsLoggerContext, DynamicFieldsLoggerLevel, ErrorStateStrategy, GradientSettings, IComponentRegistry, JsonSchema, JsonSchemaProperty, LoggerConfig, LoggerLevel, OptionSource, PaletteSettings, PopupSettings, PraxisDynamicFieldText, PraxisDynamicFieldsI18nOptions, PraxisDynamicFieldsI18nOverrides, PreloadStatus, RatingIconState, RegistryStats, SelectOption, ShortcutHandler, ShortcutInfo, SimpleSelectMetadata, TimeRangeValue, ValueChangeOptions };
|