@praxisui/dynamic-fields 8.0.0-beta.1 → 8.0.0-beta.101
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 +23131 -13656
- 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} +937 -442
- 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';
|
|
@@ -398,6 +400,10 @@ interface PraxisDynamicFieldsI18nOverrides {
|
|
|
398
400
|
};
|
|
399
401
|
multiSelect?: {
|
|
400
402
|
selectAllLabel?: PraxisDynamicFieldText;
|
|
403
|
+
selectedTokensAriaLabel?: PraxisDynamicFieldText;
|
|
404
|
+
removeSelectionAriaLabel?: PraxisDynamicFieldText;
|
|
405
|
+
selectedPanelTitle?: PraxisDynamicFieldText;
|
|
406
|
+
selectedPanelRemoveHint?: PraxisDynamicFieldText;
|
|
401
407
|
};
|
|
402
408
|
transferList?: {
|
|
403
409
|
availableLabel?: PraxisDynamicFieldText;
|
|
@@ -406,6 +412,9 @@ interface PraxisDynamicFieldsI18nOverrides {
|
|
|
406
412
|
moveAllToRightAriaLabel?: PraxisDynamicFieldText;
|
|
407
413
|
moveSelectedToLeftAriaLabel?: PraxisDynamicFieldText;
|
|
408
414
|
moveAllToLeftAriaLabel?: PraxisDynamicFieldText;
|
|
415
|
+
availableEmptyText?: PraxisDynamicFieldText;
|
|
416
|
+
selectedEmptyText?: PraxisDynamicFieldText;
|
|
417
|
+
noResultsText?: PraxisDynamicFieldText;
|
|
409
418
|
};
|
|
410
419
|
checkboxGroup?: {
|
|
411
420
|
optionUnavailableDescription?: PraxisDynamicFieldText;
|
|
@@ -470,6 +479,8 @@ declare abstract class SimpleBaseInputComponent implements ControlValueAccessor,
|
|
|
470
479
|
protected readonly i18n: PraxisI18nService;
|
|
471
480
|
protected readonly dynamicFieldsI18n: PraxisDynamicFieldsI18nOverrides | null;
|
|
472
481
|
private resolvedNgControl;
|
|
482
|
+
private integratedControl;
|
|
483
|
+
private controlIntegrationSubscription;
|
|
473
484
|
/** Subject para eventos de lifecycle */
|
|
474
485
|
readonly lifecycleEvents$: BehaviorSubject<ComponentLifecycleEvent | null>;
|
|
475
486
|
/** Native element registered by subclasses */
|
|
@@ -541,8 +552,11 @@ declare abstract class SimpleBaseInputComponent implements ControlValueAccessor,
|
|
|
541
552
|
readonly includeReadonly?: boolean;
|
|
542
553
|
readonly includePresentation?: boolean;
|
|
543
554
|
}): boolean;
|
|
555
|
+
protected isValidationVisualSuppressedByState(): boolean;
|
|
544
556
|
protected resolveInlineContextTooltipLabel(): string;
|
|
557
|
+
inputAriaLabel(): string | null;
|
|
545
558
|
protected stringifyInlineContextValue(value: unknown): string;
|
|
559
|
+
protected composeInlineChipDisplayText(label: string, value: string): string;
|
|
546
560
|
private truncateInlineTooltipText;
|
|
547
561
|
private humanizeInlineFieldName;
|
|
548
562
|
/** Gate to control when inline errors may display (debounced for 'change') */
|
|
@@ -697,6 +711,9 @@ declare abstract class SimpleBaseInputComponent implements ControlValueAccessor,
|
|
|
697
711
|
protected getSpecificCssClasses(): string[];
|
|
698
712
|
private setupFormControlIntegration;
|
|
699
713
|
private syncComponentStateFromControl;
|
|
714
|
+
private handleMaskedNativeInput;
|
|
715
|
+
protected applyNativeDisplayMask(value?: unknown): void;
|
|
716
|
+
private resolveNativeDisplayMask;
|
|
700
717
|
private refreshErrorTooltip;
|
|
701
718
|
protected ariaInvalidAttribute(): 'true' | null;
|
|
702
719
|
protected tDynamicFields(keySuffix: string, fallback: string, params?: Record<string, string | number | boolean | null | undefined>): string;
|
|
@@ -739,8 +756,9 @@ interface BasicButtonState {
|
|
|
739
756
|
error: Error | null;
|
|
740
757
|
}
|
|
741
758
|
interface ButtonAction {
|
|
742
|
-
type: 'navigation' | 'external-link' | 'custom' | 'form-action';
|
|
759
|
+
type: 'navigation' | 'external-link' | 'global' | 'custom' | 'form-action';
|
|
743
760
|
target?: string;
|
|
761
|
+
globalAction?: GlobalActionRef;
|
|
744
762
|
payload?: any;
|
|
745
763
|
confirmation?: {
|
|
746
764
|
title: string;
|
|
@@ -756,6 +774,7 @@ declare abstract class SimpleBaseButtonComponent implements OnInit, OnDestroy, B
|
|
|
756
774
|
protected readonly cdr: ChangeDetectorRef;
|
|
757
775
|
protected readonly router: Router;
|
|
758
776
|
protected readonly dialog: MatDialog;
|
|
777
|
+
protected readonly globalActions: GlobalActionService | null;
|
|
759
778
|
protected readonly i18n: PraxisI18nService;
|
|
760
779
|
protected readonly dynamicFieldsI18n: PraxisDynamicFieldsI18nOverrides | null;
|
|
761
780
|
/** Subject para eventos de lifecycle */
|
|
@@ -964,6 +983,7 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
|
|
|
964
983
|
/** Holds error message when option loading fails */
|
|
965
984
|
readonly error: _angular_core.WritableSignal<string | null>;
|
|
966
985
|
private readonly matSelectInitEffect;
|
|
986
|
+
private readonly multipleControlNormalizationEffect;
|
|
967
987
|
/** CRUD service for remote option loading (optional) */
|
|
968
988
|
protected readonly crudService: GenericCrudService<any> | null;
|
|
969
989
|
/** Emits whenever the selected value(s) change */
|
|
@@ -981,7 +1001,7 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
|
|
|
981
1001
|
private remoteOptionsLoadDestroyHookRegistered;
|
|
982
1002
|
protected readonly global: GlobalConfigService;
|
|
983
1003
|
private dependencySub;
|
|
984
|
-
|
|
1004
|
+
protected remoteSelectionHydrationSub: Subscription | null;
|
|
985
1005
|
private hasLoadedOnce;
|
|
986
1006
|
/** Options filtered according to the current `searchTerm` */
|
|
987
1007
|
readonly filteredOptions: _angular_core.Signal<SelectOption<T>[]>;
|
|
@@ -1001,6 +1021,8 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
|
|
|
1001
1021
|
protected defaultPanelClass(): string | string[] | undefined;
|
|
1002
1022
|
selectPanelClass(): string[];
|
|
1003
1023
|
protected isInteractionDisabled(): boolean;
|
|
1024
|
+
protected normalizeMultipleControlValue(): void;
|
|
1025
|
+
setExternalControl(control: AbstractControl): void;
|
|
1004
1026
|
/** Whether to show the clear button (if enabled in metadata) */
|
|
1005
1027
|
showClear(): boolean;
|
|
1006
1028
|
/** Clears the selection according to single/multiple mode */
|
|
@@ -1093,6 +1115,9 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
|
|
|
1093
1115
|
selectOption(option: SelectOption<T>): void;
|
|
1094
1116
|
/** Checks if the provided value is currently selected */
|
|
1095
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;
|
|
1096
1121
|
/**
|
|
1097
1122
|
* Toggles selection of all options when `selectAll` is enabled in multiple
|
|
1098
1123
|
* selection mode.
|
|
@@ -1136,6 +1161,12 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
|
|
|
1136
1161
|
protected extractDependencyValue(raw: any, path?: string): any;
|
|
1137
1162
|
protected applyDependencyCriteria(fragment: Record<string, any>, strategy?: 'merge' | 'replace'): void;
|
|
1138
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;
|
|
1139
1170
|
private getByPath;
|
|
1140
1171
|
private setByPath;
|
|
1141
1172
|
private unsetByPath;
|
|
@@ -1429,6 +1460,11 @@ declare class DynamicFieldLoaderDirective implements OnInit, OnDestroy, OnChange
|
|
|
1429
1460
|
field: FieldMetadata;
|
|
1430
1461
|
element: HTMLElement;
|
|
1431
1462
|
}>;
|
|
1463
|
+
/** @internal Emits when a field receives focus in canvas mode */
|
|
1464
|
+
canvasFocus: EventEmitter<{
|
|
1465
|
+
field: FieldMetadata;
|
|
1466
|
+
element: HTMLElement;
|
|
1467
|
+
}>;
|
|
1432
1468
|
/** Mapa interno de componentes criados */
|
|
1433
1469
|
private componentRefs;
|
|
1434
1470
|
/** Mapa de shells criados */
|
|
@@ -1539,6 +1575,8 @@ declare class DynamicFieldLoaderDirective implements OnInit, OnDestroy, OnChange
|
|
|
1539
1575
|
/**
|
|
1540
1576
|
* Reatribui apenas os FormControls existentes aos componentes/shells sem refazer a renderização.
|
|
1541
1577
|
*/
|
|
1578
|
+
private hasSameRenderShape;
|
|
1579
|
+
private updateExistingFieldMetadata;
|
|
1542
1580
|
private rebindControlsOnly;
|
|
1543
1581
|
/** Destroi todos os componentes e limpa o container */
|
|
1544
1582
|
private destroyComponents;
|
|
@@ -1557,11 +1595,10 @@ declare class DynamicFieldLoaderDirective implements OnInit, OnDestroy, OnChange
|
|
|
1557
1595
|
*/
|
|
1558
1596
|
private inferControlTypeFromField;
|
|
1559
1597
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DynamicFieldLoaderDirective, never>;
|
|
1560
|
-
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>;
|
|
1561
1599
|
}
|
|
1562
1600
|
|
|
1563
1601
|
declare class MaterialButtonComponent extends SimpleBaseButtonComponent implements OnDestroy {
|
|
1564
|
-
private readonly actionResolver;
|
|
1565
1602
|
private readonly keyboardService;
|
|
1566
1603
|
private unregisterShortcut?;
|
|
1567
1604
|
/** Estado adicional específico do Material Button */
|
|
@@ -1635,6 +1672,50 @@ declare class ConfirmDialogComponent {
|
|
|
1635
1672
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ConfirmDialogComponent, "pdx-confirm-dialog", never, {}, {}, never, never, true, never>;
|
|
1636
1673
|
}
|
|
1637
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
|
+
|
|
1638
1719
|
declare class TextInputComponent extends SimpleBaseInputComponent {
|
|
1639
1720
|
readonly validationChange: _angular_core.OutputEmitterRef<ValidationErrors | null>;
|
|
1640
1721
|
readonlyMode: boolean;
|
|
@@ -1662,7 +1743,7 @@ declare class TextInputComponent extends SimpleBaseInputComponent {
|
|
|
1662
1743
|
setInputMetadata(metadata: MaterialInputMetadata): void;
|
|
1663
1744
|
showClear(): boolean;
|
|
1664
1745
|
onClearClick(): void;
|
|
1665
|
-
errorStateMatcher():
|
|
1746
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
1666
1747
|
private clearButtonConfig;
|
|
1667
1748
|
private metadataRecord;
|
|
1668
1749
|
private metadataAsField;
|
|
@@ -1702,13 +1783,14 @@ declare class ColorInputComponent extends SimpleBaseInputComponent {
|
|
|
1702
1783
|
ngOnInit(): void;
|
|
1703
1784
|
validateField(): Promise<ValidationErrors | null>;
|
|
1704
1785
|
protected getSpecificCssClasses(): string[];
|
|
1786
|
+
effectiveFloatLabelBehavior(): 'always';
|
|
1705
1787
|
/** Applies component metadata with strong typing. */
|
|
1706
1788
|
setInputMetadata(metadata: MaterialColorInputMetadata): void;
|
|
1707
1789
|
/** Programmatically opens the native color picker if supported. */
|
|
1708
1790
|
openNativePicker(): void;
|
|
1709
1791
|
onNativeColorChange(event: Event): void;
|
|
1710
1792
|
previewColor(): string;
|
|
1711
|
-
errorStateMatcher():
|
|
1793
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
1712
1794
|
isReadonlyEffective(): boolean;
|
|
1713
1795
|
openMenu(): void;
|
|
1714
1796
|
onSwatchClick(c: string): void;
|
|
@@ -1764,7 +1846,7 @@ declare class DateInputComponent extends SimpleBaseInputComponent {
|
|
|
1764
1846
|
protected getSpecificCssClasses(): string[];
|
|
1765
1847
|
/** Applies component metadata with strong typing. */
|
|
1766
1848
|
setInputMetadata(metadata: MaterialDateInputMetadata): void;
|
|
1767
|
-
errorStateMatcher():
|
|
1849
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
1768
1850
|
private metadataAsField;
|
|
1769
1851
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DateInputComponent, never>;
|
|
1770
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>;
|
|
@@ -1780,6 +1862,7 @@ declare class DateInputComponent extends SimpleBaseInputComponent {
|
|
|
1780
1862
|
declare class MaterialDatepickerComponent extends SimpleBaseInputComponent {
|
|
1781
1863
|
/** Emits whenever validation state changes. */
|
|
1782
1864
|
readonly validationChange: _angular_core.OutputEmitterRef<ValidationErrors | null>;
|
|
1865
|
+
private readonly dateAdapter;
|
|
1783
1866
|
readonlyMode: boolean;
|
|
1784
1867
|
disabledMode: boolean;
|
|
1785
1868
|
visible: boolean;
|
|
@@ -1787,19 +1870,32 @@ declare class MaterialDatepickerComponent extends SimpleBaseInputComponent {
|
|
|
1787
1870
|
readonly minDate: _angular_core.Signal<any>;
|
|
1788
1871
|
readonly maxDate: _angular_core.Signal<any>;
|
|
1789
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;
|
|
1790
1877
|
onDateChange(event: MatDatepickerInputEvent<Date | null>): void;
|
|
1791
1878
|
validateField(): Promise<ValidationErrors | null>;
|
|
1792
1879
|
protected getSpecificCssClasses(): string[];
|
|
1793
1880
|
/** Applies component metadata with strong typing. */
|
|
1794
1881
|
setDatepickerMetadata(metadata: MaterialDatepickerMetadata): void;
|
|
1882
|
+
setInputMetadata(metadata: MaterialDatepickerMetadata): void;
|
|
1883
|
+
protected setMetadata(metadata: MaterialDatepickerMetadata): void;
|
|
1795
1884
|
isReadonlyEffective(): boolean;
|
|
1796
|
-
|
|
1885
|
+
isInputReadonly(): boolean;
|
|
1886
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
1797
1887
|
showClear(): boolean;
|
|
1798
1888
|
onClearClick(): void;
|
|
1799
1889
|
private clearButtonConfig;
|
|
1800
1890
|
private metadataRecordForClear;
|
|
1801
1891
|
private metadataAsField;
|
|
1802
1892
|
private parseDateOnlyString;
|
|
1893
|
+
private applyDateLocale;
|
|
1894
|
+
private resolveMetadataLocale;
|
|
1895
|
+
private resolveMetadataDateOrder;
|
|
1896
|
+
private stringMetadataValue;
|
|
1897
|
+
private coerceCurrentControlValue;
|
|
1898
|
+
private coerceDateValue;
|
|
1803
1899
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialDatepickerComponent, never>;
|
|
1804
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>;
|
|
1805
1901
|
}
|
|
@@ -1836,16 +1932,26 @@ declare class MaterialDateRangeComponent extends SimpleBaseInputComponent implem
|
|
|
1836
1932
|
readonly maxDate: _angular_core.Signal<any>;
|
|
1837
1933
|
readonly startAt: _angular_core.Signal<any>;
|
|
1838
1934
|
overlayOpen: boolean;
|
|
1935
|
+
readonly shortcutOverlayViewportMargin = 12;
|
|
1936
|
+
private pickerOpen;
|
|
1839
1937
|
private readonly dateAdapter;
|
|
1840
1938
|
picker: MatDateRangePicker<Date>;
|
|
1939
|
+
private endDateInput?;
|
|
1841
1940
|
readonly shouldShowShortcuts: () => boolean;
|
|
1842
1941
|
readonly overlayPositions: () => ConnectedPosition[];
|
|
1942
|
+
private shortcutOverlayBelowPositions;
|
|
1943
|
+
private shortcutOverlayLeftPositions;
|
|
1944
|
+
private shortcutOverlayRightPositions;
|
|
1843
1945
|
readonly resolvedPresets: _angular_core.Signal<Record<string, DateRangePreset>>;
|
|
1844
1946
|
readonly shortcutItems: _angular_core.Signal<DateRangeShortcutItem[]>;
|
|
1845
1947
|
readonly activePresetId: () => string | null;
|
|
1846
1948
|
writeValue(value: unknown): void;
|
|
1847
1949
|
ngOnInit(): void;
|
|
1848
1950
|
protected shouldPropagateRangeGroupChanges(): boolean;
|
|
1951
|
+
protected focusEndDateInput(event: Event): void;
|
|
1952
|
+
private propagateRangeValue;
|
|
1953
|
+
private isEmptyRangeValue;
|
|
1954
|
+
private areDatesEqual;
|
|
1849
1955
|
validateField(): Promise<ValidationErrors | null>;
|
|
1850
1956
|
protected getSpecificCssClasses(): string[];
|
|
1851
1957
|
/** Applies component metadata with strong typing. */
|
|
@@ -1853,7 +1959,7 @@ declare class MaterialDateRangeComponent extends SimpleBaseInputComponent implem
|
|
|
1853
1959
|
/** Standard API for manual form metadata updates */
|
|
1854
1960
|
setInputMetadata(metadata: MaterialDateRangeMetadata): void;
|
|
1855
1961
|
isReadonlyEffective(): boolean;
|
|
1856
|
-
errorStateMatcher():
|
|
1962
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
1857
1963
|
openShortcuts(): void;
|
|
1858
1964
|
closeShortcuts(): void;
|
|
1859
1965
|
onOverlayDetach(): void;
|
|
@@ -1886,7 +1992,7 @@ declare class DatetimeLocalInputComponent extends SimpleBaseInputComponent {
|
|
|
1886
1992
|
protected getSpecificCssClasses(): string[];
|
|
1887
1993
|
/** Applies component metadata with strong typing. */
|
|
1888
1994
|
setInputMetadata(metadata: MaterialDatetimeLocalInputMetadata): void;
|
|
1889
|
-
errorStateMatcher():
|
|
1995
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
1890
1996
|
/**
|
|
1891
1997
|
* Datetime-local input is officially minute-granularity only.
|
|
1892
1998
|
* Non-minute step values fallback to 60s.
|
|
@@ -1919,7 +2025,7 @@ declare class EmailInputComponent extends SimpleBaseInputComponent {
|
|
|
1919
2025
|
protected getSpecificCssClasses(): string[];
|
|
1920
2026
|
/** Applies component metadata with strong typing. */
|
|
1921
2027
|
setInputMetadata(metadata: MaterialEmailInputMetadata): void;
|
|
1922
|
-
errorStateMatcher():
|
|
2028
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
1923
2029
|
isReadonlyEffective(): boolean;
|
|
1924
2030
|
private metadataAsField;
|
|
1925
2031
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EmailInputComponent, never>;
|
|
@@ -1999,7 +2105,7 @@ declare class NumberInputComponent extends SimpleBaseInputComponent {
|
|
|
1999
2105
|
ngOnInit(): void;
|
|
2000
2106
|
validateField(): Promise<ValidationErrors | null>;
|
|
2001
2107
|
protected getSpecificCssClasses(): string[];
|
|
2002
|
-
errorStateMatcher():
|
|
2108
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2003
2109
|
/** Applies component metadata with strong typing. */
|
|
2004
2110
|
setInputMetadata(metadata: MaterialNumericMetadata): void;
|
|
2005
2111
|
private applyNumericValidators;
|
|
@@ -2055,7 +2161,7 @@ declare class MaterialCurrencyComponent extends SimpleBaseInputComponent {
|
|
|
2055
2161
|
protected currencySymbol(): string;
|
|
2056
2162
|
protected getSpecificCssClasses(): string[];
|
|
2057
2163
|
onClearClick(): void;
|
|
2058
|
-
errorStateMatcher():
|
|
2164
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2059
2165
|
private minValidator?;
|
|
2060
2166
|
private maxValidator?;
|
|
2061
2167
|
private syncCurrencyValidators;
|
|
@@ -2065,6 +2171,7 @@ declare class MaterialCurrencyComponent extends SimpleBaseInputComponent {
|
|
|
2065
2171
|
/** Formats the input value without touching or changing focus state. */
|
|
2066
2172
|
formatDisplayValue(): void;
|
|
2067
2173
|
writeValue(value: unknown): void;
|
|
2174
|
+
protected applyNativeDisplayMask(): void;
|
|
2068
2175
|
validateField(): Promise<ValidationErrors | null>;
|
|
2069
2176
|
readonlyMode: boolean;
|
|
2070
2177
|
set disabledMode(value: boolean);
|
|
@@ -2095,7 +2202,7 @@ declare class MaterialCpfCnpjInputComponent extends SimpleBaseInputComponent {
|
|
|
2095
2202
|
cpfCnpjMetadata: _angular_core.Signal<MaterialCpfCnpjMetadata | null>;
|
|
2096
2203
|
getSpecificCssClasses(): string[];
|
|
2097
2204
|
setInputMetadata(metadata: MaterialCpfCnpjMetadata): void;
|
|
2098
|
-
errorStateMatcher():
|
|
2205
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2099
2206
|
onComponentInit(): void;
|
|
2100
2207
|
private setupDynamicValidator;
|
|
2101
2208
|
isReadonlyEffective(): boolean;
|
|
@@ -2184,7 +2291,7 @@ declare class MonthInputComponent extends SimpleBaseInputComponent {
|
|
|
2184
2291
|
protected getSpecificCssClasses(): string[];
|
|
2185
2292
|
/** Applies component metadata with strong typing. */
|
|
2186
2293
|
setInputMetadata(metadata: MaterialMonthInputMetadata): void;
|
|
2187
|
-
errorStateMatcher():
|
|
2294
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2188
2295
|
isReadonlyEffective(): boolean;
|
|
2189
2296
|
private metadataAsField;
|
|
2190
2297
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MonthInputComponent, never>;
|
|
@@ -2221,7 +2328,7 @@ declare class PasswordInputComponent extends SimpleBaseInputComponent {
|
|
|
2221
2328
|
onRevealToggleClick(event: MouseEvent): void;
|
|
2222
2329
|
/** Applies typed metadata to the component. */
|
|
2223
2330
|
setInputMetadata(metadata: MaterialPasswordMetadata): void;
|
|
2224
|
-
errorStateMatcher():
|
|
2331
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2225
2332
|
isReadonlyEffective(): boolean;
|
|
2226
2333
|
private metadataAsField;
|
|
2227
2334
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PasswordInputComponent, never>;
|
|
@@ -2248,7 +2355,7 @@ declare class SearchInputComponent extends SimpleBaseInputComponent {
|
|
|
2248
2355
|
protected getSpecificCssClasses(): string[];
|
|
2249
2356
|
/** Applies component metadata with strong typing. */
|
|
2250
2357
|
setInputMetadata(metadata: MaterialSearchInputMetadata): void;
|
|
2251
|
-
errorStateMatcher():
|
|
2358
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2252
2359
|
isReadonlyEffective(): boolean;
|
|
2253
2360
|
private metadataAsField;
|
|
2254
2361
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SearchInputComponent, never>;
|
|
@@ -2263,7 +2370,7 @@ declare class MaterialSelectComponent extends SimpleBaseSelectComponent {
|
|
|
2263
2370
|
protected defaultPanelClass(): string;
|
|
2264
2371
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
2265
2372
|
ngOnInit(): void;
|
|
2266
|
-
errorStateMatcher():
|
|
2373
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2267
2374
|
private optionsFromLegacy;
|
|
2268
2375
|
private normalizeOption;
|
|
2269
2376
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialSelectComponent, never>;
|
|
@@ -2287,7 +2394,7 @@ declare class InlineSelectComponent extends SimpleBaseSelectComponent {
|
|
|
2287
2394
|
protected setMetadata(metadata: MaterialSelectMetadata): void;
|
|
2288
2395
|
onComponentInit(): void;
|
|
2289
2396
|
onViewportResize(): void;
|
|
2290
|
-
errorStateMatcher():
|
|
2397
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2291
2398
|
protected getSpecificCssClasses(): string[];
|
|
2292
2399
|
hasSelection(): boolean;
|
|
2293
2400
|
displayText(): string;
|
|
@@ -2331,13 +2438,14 @@ interface SearchableSelectMetadata {
|
|
|
2331
2438
|
selectAll?: boolean;
|
|
2332
2439
|
maxSelections?: number;
|
|
2333
2440
|
resourcePath?: string;
|
|
2441
|
+
optionSource?: OptionSourceMetadata;
|
|
2334
2442
|
filterCriteria?: Record<string, unknown>;
|
|
2335
2443
|
optionLabelKey?: string;
|
|
2336
2444
|
optionValueKey?: string;
|
|
2337
2445
|
loadOn?: LoadStrategy$1;
|
|
2338
2446
|
dependencyLoadOnChange?: DependencyLoadMode$1;
|
|
2339
2447
|
}
|
|
2340
|
-
declare class MaterialSearchableSelectComponent extends SimpleBaseSelectComponent {
|
|
2448
|
+
declare class MaterialSearchableSelectComponent extends SimpleBaseSelectComponent implements DoCheck {
|
|
2341
2449
|
readonlyMode: boolean;
|
|
2342
2450
|
disabledMode: boolean;
|
|
2343
2451
|
visible: boolean;
|
|
@@ -2346,10 +2454,18 @@ declare class MaterialSearchableSelectComponent extends SimpleBaseSelectComponen
|
|
|
2346
2454
|
private readonly store;
|
|
2347
2455
|
readonly endReached: _angular_core.WritableSignal<boolean>;
|
|
2348
2456
|
private initialLoadStrategy;
|
|
2457
|
+
private disabledModeAppliedToControl;
|
|
2458
|
+
ngDoCheck(): void;
|
|
2349
2459
|
protected defaultPanelClass(): string;
|
|
2350
2460
|
setSelectMetadata(metadata: SearchableSelectMetadata): void;
|
|
2351
2461
|
ngOnInit(): void;
|
|
2352
|
-
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;
|
|
2353
2469
|
searchInputAriaLabel(): string;
|
|
2354
2470
|
onSearchInputEvent(event: Event): void;
|
|
2355
2471
|
onOpened(opened: boolean): void;
|
|
@@ -2362,6 +2478,7 @@ declare class MaterialSearchableSelectComponent extends SimpleBaseSelectComponen
|
|
|
2362
2478
|
protected registerMatSelect(select: MatSelect): void;
|
|
2363
2479
|
reload(reset: boolean): void;
|
|
2364
2480
|
protected onDependenciesChanged(): void;
|
|
2481
|
+
private syncDisabledModeControlState;
|
|
2365
2482
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialSearchableSelectComponent, never>;
|
|
2366
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>;
|
|
2367
2484
|
}
|
|
@@ -2374,10 +2491,11 @@ declare class InlineSearchableSelectComponent extends MaterialSearchableSelectCo
|
|
|
2374
2491
|
protected setMetadata(metadata: MaterialSelectMetadata): void;
|
|
2375
2492
|
onComponentInit(): void;
|
|
2376
2493
|
onViewportResize(): void;
|
|
2377
|
-
errorStateMatcher():
|
|
2494
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2378
2495
|
protected getSpecificCssClasses(): string[];
|
|
2379
2496
|
hasSelection(): boolean;
|
|
2380
2497
|
selectedCount(): number;
|
|
2498
|
+
additionalSelectedCount(): number;
|
|
2381
2499
|
displayText(): string;
|
|
2382
2500
|
showQuickClear(): boolean;
|
|
2383
2501
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
@@ -2403,6 +2521,13 @@ declare class InlineSearchableSelectComponent extends MaterialSearchableSelectCo
|
|
|
2403
2521
|
|
|
2404
2522
|
type LoadStrategy = 'open' | 'init' | 'none';
|
|
2405
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
|
+
};
|
|
2406
2531
|
interface AsyncSelectMetadata {
|
|
2407
2532
|
selectOptions?: Array<{
|
|
2408
2533
|
label?: string;
|
|
@@ -2440,6 +2565,9 @@ declare class MaterialAsyncSelectComponent extends SimpleBaseSelectComponent {
|
|
|
2440
2565
|
presentationMode: boolean;
|
|
2441
2566
|
private searchInput?;
|
|
2442
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>;
|
|
2443
2571
|
private readonly store;
|
|
2444
2572
|
readonly endReached: _angular_core.WritableSignal<boolean>;
|
|
2445
2573
|
private cursorAfter;
|
|
@@ -2449,24 +2577,43 @@ declare class MaterialAsyncSelectComponent extends SimpleBaseSelectComponent {
|
|
|
2449
2577
|
protected defaultPanelClass(): string;
|
|
2450
2578
|
private isCategoricalBucketOptionSource;
|
|
2451
2579
|
setSelectMetadata(metadata: AsyncSelectMetadata): void;
|
|
2452
|
-
errorStateMatcher():
|
|
2580
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2453
2581
|
searchInputAriaLabel(): string;
|
|
2454
2582
|
ngOnInit(): void;
|
|
2455
2583
|
onOpened(opened: boolean): void;
|
|
2456
2584
|
private getSelectedIds;
|
|
2457
2585
|
private preloadSelected;
|
|
2458
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;
|
|
2459
2602
|
private runQuery;
|
|
2460
2603
|
loadMore(): void;
|
|
2461
2604
|
retry(): void;
|
|
2462
2605
|
handleKey(event: KeyboardEvent): void;
|
|
2463
2606
|
protected registerMatSelect(select: MatSelect): void;
|
|
2464
2607
|
reload(reset: boolean): void;
|
|
2608
|
+
protected setupRemoteSelectionHydration(): void;
|
|
2465
2609
|
protected onDependenciesChanged(): void;
|
|
2610
|
+
private ensureCurrentValueLoadedByIds;
|
|
2466
2611
|
private missingOptionLabel;
|
|
2467
2612
|
private loadOptionsErrorLabel;
|
|
2468
|
-
|
|
2469
|
-
|
|
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;
|
|
2470
2617
|
private normalizeRemoteOptionValue;
|
|
2471
2618
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialAsyncSelectComponent, never>;
|
|
2472
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>;
|
|
@@ -2503,10 +2650,11 @@ declare class InlineAsyncSelectComponent extends MaterialAsyncSelectComponent {
|
|
|
2503
2650
|
protected setMetadata(metadata: MaterialSelectMetadata): void;
|
|
2504
2651
|
onComponentInit(): void;
|
|
2505
2652
|
onViewportResize(): void;
|
|
2506
|
-
errorStateMatcher():
|
|
2653
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2507
2654
|
protected getSpecificCssClasses(): string[];
|
|
2508
2655
|
hasSelection(): boolean;
|
|
2509
2656
|
selectedCount(): number;
|
|
2657
|
+
additionalSelectedCount(): number;
|
|
2510
2658
|
displayText(): string;
|
|
2511
2659
|
showQuickClear(): boolean;
|
|
2512
2660
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
@@ -2539,6 +2687,30 @@ type LookupOption = {
|
|
|
2539
2687
|
value: unknown;
|
|
2540
2688
|
disabled?: boolean;
|
|
2541
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
|
+
}
|
|
2542
2714
|
interface LookupClearButtonConfig {
|
|
2543
2715
|
enabled?: boolean;
|
|
2544
2716
|
ariaLabel?: string;
|
|
@@ -2552,14 +2724,22 @@ interface LookupAutoSizeConfig {
|
|
|
2552
2724
|
interface LookupMaterialDesignConfig {
|
|
2553
2725
|
density?: string;
|
|
2554
2726
|
}
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
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 & {
|
|
2563
2743
|
optionLabelKey?: string;
|
|
2564
2744
|
optionValueKey?: string;
|
|
2565
2745
|
clearButton?: LookupClearButtonConfig | false | null;
|
|
@@ -2568,22 +2748,92 @@ type EntityLookupMetadata = MaterialSelectMetadata & {
|
|
|
2568
2748
|
density?: string;
|
|
2569
2749
|
};
|
|
2570
2750
|
declare class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
2751
|
+
private readonly dialog;
|
|
2752
|
+
private readonly globalActions;
|
|
2753
|
+
private readonly resourceDiscovery;
|
|
2754
|
+
private readonly surfaceOpenAdapter;
|
|
2571
2755
|
inlineMinWidthPx: number;
|
|
2572
2756
|
inlineMaxWidthPx: number;
|
|
2573
2757
|
private fieldLabelText;
|
|
2574
2758
|
private staticOptions;
|
|
2759
|
+
set initialMetadata(metadata: MaterialEntityLookupMetadata | null | undefined);
|
|
2575
2760
|
private currentMetadata;
|
|
2576
2761
|
setSelectMetadata(metadata: EntityLookupMetadata): void;
|
|
2577
2762
|
protected setMetadata(metadata: MaterialSelectMetadata): void;
|
|
2578
2763
|
onComponentInit(): void;
|
|
2579
2764
|
onViewportResize(): void;
|
|
2580
|
-
errorStateMatcher():
|
|
2765
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2581
2766
|
protected getSpecificCssClasses(): string[];
|
|
2767
|
+
selectPanelClasses(): string[];
|
|
2582
2768
|
hasSelection(): boolean;
|
|
2583
2769
|
selectedCount(): number;
|
|
2584
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;
|
|
2585
2834
|
optionPrimaryText(option: LookupOption): string;
|
|
2586
2835
|
optionSecondaryText(option: LookupOption): string;
|
|
2836
|
+
protected resolveRemoteOptionValue(option: OptionDTO<string | number>): EntityLookupResult<string | number>;
|
|
2587
2837
|
resetOptionText(): string;
|
|
2588
2838
|
showQuickClear(): boolean;
|
|
2589
2839
|
onResetOptionClick(event: MouseEvent): void;
|
|
@@ -2591,39 +2841,269 @@ declare class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
2591
2841
|
onQuickClear(event: MouseEvent): void;
|
|
2592
2842
|
onOpenedChange(opened: boolean): void;
|
|
2593
2843
|
onSearchInputEvent(event: Event): void;
|
|
2844
|
+
onSearchInputKeydown(event: KeyboardEvent): void;
|
|
2594
2845
|
onSearchInput(term: string): void;
|
|
2595
2846
|
showLoadMore(): boolean;
|
|
2596
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;
|
|
2597
2855
|
onLoadMoreClick(event: MouseEvent): void;
|
|
2598
2856
|
placeholderText(): string;
|
|
2599
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;
|
|
2600
2893
|
panelSearchIconName(fallback?: string): string;
|
|
2601
2894
|
panelSearchIconColor(): string | undefined;
|
|
2602
2895
|
panelResetIconName(fallback?: string): string;
|
|
2603
2896
|
panelResetIconColor(): string | undefined;
|
|
2604
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;
|
|
2605
2910
|
private resolveLookupText;
|
|
2911
|
+
private lookupViewFromValue;
|
|
2606
2912
|
private resolveLookupData;
|
|
2607
2913
|
private buildLookupPrimaryText;
|
|
2608
2914
|
private fallbackLookupText;
|
|
2609
2915
|
private lookupIdKey;
|
|
2916
|
+
private lookupIdKeys;
|
|
2610
2917
|
private lookupLabelKey;
|
|
2918
|
+
private lookupCodeKeys;
|
|
2919
|
+
private lookupLabelKeys;
|
|
2611
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;
|
|
2612
2933
|
private lookupSeparator;
|
|
2613
2934
|
private normalizeLookupText;
|
|
2935
|
+
private normalizeLookupOptionalText;
|
|
2936
|
+
private parseLookupSelectableValue;
|
|
2614
2937
|
private firstDefined;
|
|
2938
|
+
private lookupSubtitleText;
|
|
2939
|
+
private uniqueLookupKeys;
|
|
2615
2940
|
private equalsOptionValue;
|
|
2941
|
+
private resolveLookupIdentity;
|
|
2942
|
+
displayPreset(): string;
|
|
2943
|
+
private displayDensity;
|
|
2944
|
+
private lookupDisplayConfig;
|
|
2945
|
+
private lookupDisplayBoolean;
|
|
2946
|
+
private readLookupPath;
|
|
2947
|
+
private isPrimitiveLookupValue;
|
|
2616
2948
|
private asRecord;
|
|
2949
|
+
private lookupOptionSource;
|
|
2950
|
+
private resolveDetailHref;
|
|
2951
|
+
private resolveDetailRoute;
|
|
2952
|
+
private applyLookupTemplate;
|
|
2617
2953
|
private resolveFieldLabelFromMetadata;
|
|
2618
2954
|
private currentSearchTerm;
|
|
2955
|
+
private hasUnmetDependencies;
|
|
2956
|
+
private resolveDependencyValuePathFor;
|
|
2957
|
+
private hasMeaningfulDependencyValue;
|
|
2619
2958
|
private applyStaticOptionsFilter;
|
|
2620
2959
|
private humanizeFieldName;
|
|
2960
|
+
private maxVisibleSelectedTokens;
|
|
2961
|
+
private removeSelectionByIdentity;
|
|
2962
|
+
private lookupOptionTrackIdentity;
|
|
2621
2963
|
private recalculateInlineSizeBounds;
|
|
2622
2964
|
private resolveWidthBounds;
|
|
2623
2965
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InlineEntityLookupComponent, never>;
|
|
2624
|
-
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;
|
|
2625
3106
|
}
|
|
2626
|
-
|
|
2627
3107
|
declare class InlineMultiSelectComponent extends SimpleBaseSelectComponent {
|
|
2628
3108
|
readonlyMode: boolean;
|
|
2629
3109
|
disabledMode: boolean;
|
|
@@ -2638,14 +3118,23 @@ declare class InlineMultiSelectComponent extends SimpleBaseSelectComponent {
|
|
|
2638
3118
|
protected setMetadata(metadata: MaterialSelectMetadata): void;
|
|
2639
3119
|
onComponentInit(): void;
|
|
2640
3120
|
onViewportResize(): void;
|
|
2641
|
-
errorStateMatcher():
|
|
3121
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2642
3122
|
protected getSpecificCssClasses(): string[];
|
|
2643
3123
|
hasSelection(): boolean;
|
|
2644
3124
|
selectedCount(): number;
|
|
2645
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;
|
|
2646
3134
|
showQuickClear(): boolean;
|
|
2647
3135
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
2648
3136
|
onQuickClear(event: MouseEvent): void;
|
|
3137
|
+
onRemoveSelectedToken(event: MouseEvent, value: unknown): void;
|
|
2649
3138
|
onOpenedChange(opened: boolean): void;
|
|
2650
3139
|
onSearchInput(term: string): void;
|
|
2651
3140
|
onSearchInputEvent(event: Event): void;
|
|
@@ -2657,6 +3146,8 @@ declare class InlineMultiSelectComponent extends SimpleBaseSelectComponent {
|
|
|
2657
3146
|
private currentValues;
|
|
2658
3147
|
private resolveOptionLabel;
|
|
2659
3148
|
private equalsOptionValue;
|
|
3149
|
+
private maxVisibleSelectedTokens;
|
|
3150
|
+
private stringifyTokenValue;
|
|
2660
3151
|
private resolveFieldLabelFromMetadata;
|
|
2661
3152
|
private humanizeFieldName;
|
|
2662
3153
|
private recalculateInlineSizeBounds;
|
|
@@ -2676,6 +3167,7 @@ declare class InlineInputComponent extends SimpleBaseInputComponent {
|
|
|
2676
3167
|
inlineWidthPx: number;
|
|
2677
3168
|
inlineMaxWidthPx: number;
|
|
2678
3169
|
private resizeRafId;
|
|
3170
|
+
private maskSyncRafId;
|
|
2679
3171
|
private currentMetadata;
|
|
2680
3172
|
private metadataRecord;
|
|
2681
3173
|
private asRecord;
|
|
@@ -2685,21 +3177,30 @@ declare class InlineInputComponent extends SimpleBaseInputComponent {
|
|
|
2685
3177
|
onComponentDestroy(): void;
|
|
2686
3178
|
onViewportResize(): void;
|
|
2687
3179
|
protected getSpecificCssClasses(): string[];
|
|
3180
|
+
inlineNativeInputType(): string;
|
|
3181
|
+
inputMode(): string | null;
|
|
3182
|
+
inlineFieldType(): string;
|
|
2688
3183
|
isReadonlyEffective(): boolean;
|
|
2689
3184
|
showQuickClear(): boolean;
|
|
3185
|
+
hasInlineValue(): boolean;
|
|
2690
3186
|
showInlinePlaceholder(): boolean;
|
|
2691
3187
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
2692
3188
|
onQuickClear(event: MouseEvent): void;
|
|
2693
|
-
onInlineInput(): void;
|
|
3189
|
+
onInlineInput(event?: Event): void;
|
|
2694
3190
|
widthProbeText(): string;
|
|
2695
3191
|
placeholderText(): string;
|
|
2696
3192
|
ariaLabel(): string;
|
|
2697
|
-
errorStateMatcher():
|
|
3193
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2698
3194
|
private scheduleInlineResize;
|
|
3195
|
+
private scheduleMaskedDisplaySync;
|
|
2699
3196
|
private recalculateInlineWidth;
|
|
2700
3197
|
private resolveWidthBounds;
|
|
2701
3198
|
private resolveChromeWidth;
|
|
2702
3199
|
private parsePx;
|
|
3200
|
+
private syncMaskedDisplayValue;
|
|
3201
|
+
private formatInlineDisplayValue;
|
|
3202
|
+
private resolveDisplayMask;
|
|
3203
|
+
private isInlinePhone;
|
|
2703
3204
|
private resolveFieldLabelFromMetadata;
|
|
2704
3205
|
private humanizeFieldName;
|
|
2705
3206
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InlineInputComponent, never>;
|
|
@@ -2718,7 +3219,7 @@ declare class MaterialAutocompleteComponent extends SimpleBaseSelectComponent<Au
|
|
|
2718
3219
|
private initialLoadStrategy;
|
|
2719
3220
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
2720
3221
|
ngOnInit(): void;
|
|
2721
|
-
errorStateMatcher():
|
|
3222
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2722
3223
|
autocompleteInputAriaLabel(): string;
|
|
2723
3224
|
noResultsLabel(): string;
|
|
2724
3225
|
onSearchInputEvent(event: Event): void;
|
|
@@ -2751,6 +3252,7 @@ declare class InlineAutocompleteComponent extends MaterialAutocompleteComponent
|
|
|
2751
3252
|
private resizeRafId;
|
|
2752
3253
|
private fieldLabelText;
|
|
2753
3254
|
private staticOptions;
|
|
3255
|
+
displayWith: (value: unknown) => string;
|
|
2754
3256
|
private currentMetadata;
|
|
2755
3257
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
2756
3258
|
protected setMetadata(metadata: MaterialAutocompleteMetadata): void;
|
|
@@ -2761,6 +3263,7 @@ declare class InlineAutocompleteComponent extends MaterialAutocompleteComponent
|
|
|
2761
3263
|
protected getSpecificCssClasses(): string[];
|
|
2762
3264
|
isReadonlyEffective(): boolean;
|
|
2763
3265
|
showQuickClear(): boolean;
|
|
3266
|
+
hasInlineValue(): boolean;
|
|
2764
3267
|
showInlinePlaceholder(): boolean;
|
|
2765
3268
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
2766
3269
|
onQuickClear(event: MouseEvent): void;
|
|
@@ -2772,7 +3275,7 @@ declare class InlineAutocompleteComponent extends MaterialAutocompleteComponent
|
|
|
2772
3275
|
widthProbeText(): string;
|
|
2773
3276
|
placeholderText(): string;
|
|
2774
3277
|
ariaLabel(): string;
|
|
2775
|
-
errorStateMatcher():
|
|
3278
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2776
3279
|
private currentSearchTerm;
|
|
2777
3280
|
private applyStaticOptionsFilter;
|
|
2778
3281
|
private resolveValueLabel;
|
|
@@ -2825,6 +3328,7 @@ declare class InlineNumberComponent extends SimpleBaseInputComponent {
|
|
|
2825
3328
|
showPercentSuffix(): boolean;
|
|
2826
3329
|
percentDisplayText(): string;
|
|
2827
3330
|
percentRangeText(): string;
|
|
3331
|
+
percentInputCh(): string | null;
|
|
2828
3332
|
percentAngle(): number;
|
|
2829
3333
|
percentFillWidth(): number;
|
|
2830
3334
|
effectiveMinValue(): number | null;
|
|
@@ -2839,7 +3343,7 @@ declare class InlineNumberComponent extends SimpleBaseInputComponent {
|
|
|
2839
3343
|
widthProbeText(): string;
|
|
2840
3344
|
placeholderText(): string;
|
|
2841
3345
|
ariaLabel(): string;
|
|
2842
|
-
errorStateMatcher():
|
|
3346
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2843
3347
|
private hasValue;
|
|
2844
3348
|
private syncNumericValidators;
|
|
2845
3349
|
private scheduleInlineResize;
|
|
@@ -2856,9 +3360,9 @@ declare class InlineNumberComponent extends SimpleBaseInputComponent {
|
|
|
2856
3360
|
private currentNumericValue;
|
|
2857
3361
|
private percentRatio;
|
|
2858
3362
|
private formatCompactNumber;
|
|
3363
|
+
private decimalPlacesFromStep;
|
|
2859
3364
|
private longestMeasureCandidate;
|
|
2860
3365
|
private isPercentFormat;
|
|
2861
|
-
private resolveNonEmptyString;
|
|
2862
3366
|
private resolveFieldLabelFromMetadata;
|
|
2863
3367
|
private humanizeFieldName;
|
|
2864
3368
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InlineNumberComponent, never>;
|
|
@@ -2903,6 +3407,7 @@ declare class InlineCurrencyComponent extends SimpleBaseInputComponent {
|
|
|
2903
3407
|
protected resolveInlineContextTooltipValue(): string;
|
|
2904
3408
|
isReadonlyEffective(): boolean;
|
|
2905
3409
|
showQuickClear(): boolean;
|
|
3410
|
+
hasInlineValue(): boolean;
|
|
2906
3411
|
showInlinePlaceholder(): boolean;
|
|
2907
3412
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
2908
3413
|
onQuickClear(event: MouseEvent): void;
|
|
@@ -2916,7 +3421,7 @@ declare class InlineCurrencyComponent extends SimpleBaseInputComponent {
|
|
|
2916
3421
|
placeholderText(): string;
|
|
2917
3422
|
ariaLabel(): string;
|
|
2918
3423
|
currencySymbol(): string;
|
|
2919
|
-
errorStateMatcher():
|
|
3424
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2920
3425
|
private hasValue;
|
|
2921
3426
|
private scheduleInlineResize;
|
|
2922
3427
|
private recalculateInlineWidth;
|
|
@@ -3002,6 +3507,12 @@ declare class InlineCurrencyRangeComponent extends SimpleBaseInputComponent {
|
|
|
3002
3507
|
currentSelectionText(): string;
|
|
3003
3508
|
currentStartLabel(): string;
|
|
3004
3509
|
currentEndLabel(): string;
|
|
3510
|
+
sliderStartThumbValue(): number;
|
|
3511
|
+
sliderEndThumbValue(): number;
|
|
3512
|
+
currentStartPosition(): string;
|
|
3513
|
+
currentEndPosition(): string;
|
|
3514
|
+
currentStartPositionPercent(): number;
|
|
3515
|
+
currentEndPositionPercent(): number;
|
|
3005
3516
|
placeholderText(): string;
|
|
3006
3517
|
panelTitle(): string;
|
|
3007
3518
|
ariaLabel(): string;
|
|
@@ -3010,6 +3521,8 @@ declare class InlineCurrencyRangeComponent extends SimpleBaseInputComponent {
|
|
|
3010
3521
|
onQuickClear(event: MouseEvent): void;
|
|
3011
3522
|
onTriggerClick(event: MouseEvent): void;
|
|
3012
3523
|
onTriggerKeydown(event: Event): void;
|
|
3524
|
+
onSliderStartInput(event: Event): void;
|
|
3525
|
+
onSliderEndInput(event: Event): void;
|
|
3013
3526
|
closePanel(): void;
|
|
3014
3527
|
onOverlayDetach(): void;
|
|
3015
3528
|
panelId(): string;
|
|
@@ -3018,6 +3531,7 @@ declare class InlineCurrencyRangeComponent extends SimpleBaseInputComponent {
|
|
|
3018
3531
|
private rebuildValidators;
|
|
3019
3532
|
private buildRangeValidator;
|
|
3020
3533
|
private syncRangeGroupFromControl;
|
|
3534
|
+
private updateRangeFromSlider;
|
|
3021
3535
|
private currentRangeValue;
|
|
3022
3536
|
private distributionVisual;
|
|
3023
3537
|
private resolveDistributionVisual;
|
|
@@ -3026,6 +3540,7 @@ declare class InlineCurrencyRangeComponent extends SimpleBaseInputComponent {
|
|
|
3026
3540
|
private normalizeRangeValue;
|
|
3027
3541
|
private areRangeValuesEqual;
|
|
3028
3542
|
private toFiniteNumberOrNull;
|
|
3543
|
+
private valuePositionPercent;
|
|
3029
3544
|
private toNonEmptyText;
|
|
3030
3545
|
private parseJsonValue;
|
|
3031
3546
|
private normalizePositivePx;
|
|
@@ -3125,17 +3640,26 @@ declare class InlineRangeSliderComponent extends SimpleBaseInputComponent {
|
|
|
3125
3640
|
private quickPresetsCache;
|
|
3126
3641
|
private distributionCacheKey;
|
|
3127
3642
|
private distributionCache;
|
|
3643
|
+
private activeSliderThumb;
|
|
3644
|
+
private sliderPointerInteractionActive;
|
|
3645
|
+
private sliderOutsideCloseSuppressedUntil;
|
|
3646
|
+
private sliderPointerLastClientX;
|
|
3647
|
+
private sliderPointerDirection;
|
|
3128
3648
|
private lastTriggerElement;
|
|
3129
3649
|
setInputMetadata(metadata: MaterialRangeSliderMetadata): void;
|
|
3130
3650
|
protected setMetadata(metadata: MaterialRangeSliderMetadata): void;
|
|
3131
3651
|
onComponentInit(): void;
|
|
3132
3652
|
onViewportResize(): void;
|
|
3133
3653
|
onDocumentEscape(): void;
|
|
3654
|
+
onDocumentPointerUp(): void;
|
|
3655
|
+
onDocumentPointerCancel(): void;
|
|
3656
|
+
onDocumentPointerMove(event: PointerEvent): void;
|
|
3134
3657
|
protected getSpecificCssClasses(): string[];
|
|
3135
3658
|
minValue(): number;
|
|
3136
3659
|
maxValue(): number;
|
|
3137
3660
|
stepValue(): number;
|
|
3138
3661
|
showTickMarks(): boolean;
|
|
3662
|
+
valueLabelEnabled(): boolean;
|
|
3139
3663
|
isRangeMode(): boolean;
|
|
3140
3664
|
isInteractionBlocked(): boolean;
|
|
3141
3665
|
hasSelection(): boolean;
|
|
@@ -3151,6 +3675,8 @@ declare class InlineRangeSliderComponent extends SimpleBaseInputComponent {
|
|
|
3151
3675
|
inputMaxLabel(): string;
|
|
3152
3676
|
inputValueLabel(): string;
|
|
3153
3677
|
quickPresetsGroupLabel(): string;
|
|
3678
|
+
clearPanelActionLabel(): string;
|
|
3679
|
+
donePanelActionLabel(): string;
|
|
3154
3680
|
quickPresets(): InlineRangeQuickPreset[];
|
|
3155
3681
|
hasQuickPresets(): boolean;
|
|
3156
3682
|
presetAriaLabel(preset: InlineRangeQuickPreset): string;
|
|
@@ -3160,6 +3686,13 @@ declare class InlineRangeSliderComponent extends SimpleBaseInputComponent {
|
|
|
3160
3686
|
onRangeInputBlur(_edge: 'start' | 'end'): void;
|
|
3161
3687
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
3162
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;
|
|
3163
3696
|
onTriggerClick(event: MouseEvent): void;
|
|
3164
3697
|
onTriggerKeydown(event: Event): void;
|
|
3165
3698
|
closePanel(): void;
|
|
@@ -3186,6 +3719,7 @@ declare class InlineRangeSliderComponent extends SimpleBaseInputComponent {
|
|
|
3186
3719
|
private parseDistributionBins;
|
|
3187
3720
|
private compactDistributionBins;
|
|
3188
3721
|
private normalizeRangeValue;
|
|
3722
|
+
private normalizeInteractiveRangeValue;
|
|
3189
3723
|
private inlineTexts;
|
|
3190
3724
|
private buildAutoQuickPresets;
|
|
3191
3725
|
private parseAutoPresetLabels;
|
|
@@ -3212,7 +3746,6 @@ declare class InlineRangeSliderComponent extends SimpleBaseInputComponent {
|
|
|
3212
3746
|
private numberFormatter;
|
|
3213
3747
|
private usesCurrencyFormatting;
|
|
3214
3748
|
private usesPercentFormatting;
|
|
3215
|
-
private resolveNonEmptyString;
|
|
3216
3749
|
private resetFormatterCache;
|
|
3217
3750
|
private resetQuickPresetsCache;
|
|
3218
3751
|
private resetDistributionCache;
|
|
@@ -3341,8 +3874,9 @@ declare class InlineDateComponent extends MaterialDatepickerComponent {
|
|
|
3341
3874
|
onViewportResize(): void;
|
|
3342
3875
|
protected getSpecificCssClasses(): string[];
|
|
3343
3876
|
isReadonlyEffective(): boolean;
|
|
3344
|
-
errorStateMatcher():
|
|
3877
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
3345
3878
|
showQuickClear(): boolean;
|
|
3879
|
+
hasInlineValue(): boolean;
|
|
3346
3880
|
showInlinePlaceholder(): boolean;
|
|
3347
3881
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
3348
3882
|
onQuickClear(event: MouseEvent): void;
|
|
@@ -3402,7 +3936,7 @@ declare class InlineDateRangeComponent extends MaterialDateRangeComponent {
|
|
|
3402
3936
|
protected getSpecificCssClasses(): string[];
|
|
3403
3937
|
protected resolveInlineContextTooltipValue(): string;
|
|
3404
3938
|
panelClasses(): string[];
|
|
3405
|
-
errorStateMatcher():
|
|
3939
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
3406
3940
|
protected shouldPropagateRangeGroupChanges(): boolean;
|
|
3407
3941
|
showInlineQuickPresets(): boolean;
|
|
3408
3942
|
inlineQuickPresets(): InlineDateQuickPreset[];
|
|
@@ -3422,11 +3956,14 @@ declare class InlineDateRangeComponent extends MaterialDateRangeComponent {
|
|
|
3422
3956
|
isInteractionBlocked(): boolean;
|
|
3423
3957
|
showQuickClear(): boolean;
|
|
3424
3958
|
showInlinePlaceholder(): boolean;
|
|
3959
|
+
showInlineDisplayText(): boolean;
|
|
3960
|
+
usesInlineDisplayText(): boolean;
|
|
3425
3961
|
quickClearAriaLabel(): string;
|
|
3426
3962
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
3427
3963
|
onQuickClear(event: MouseEvent): void;
|
|
3428
3964
|
onInlineInput(): void;
|
|
3429
3965
|
onInputKeydown(event: Event, picker: MatDateRangePicker<Date>): void;
|
|
3966
|
+
onInputClick(event: Event): void;
|
|
3430
3967
|
onFieldContainerClick(picker: MatDateRangePicker<Date>, event: MouseEvent): void;
|
|
3431
3968
|
openPicker(picker: MatDateRangePicker<Date>, event: Event): void;
|
|
3432
3969
|
onOverlayOpened(): void;
|
|
@@ -3440,6 +3977,7 @@ declare class InlineDateRangeComponent extends MaterialDateRangeComponent {
|
|
|
3440
3977
|
endAriaLabel(): string;
|
|
3441
3978
|
widthProbeText(): string;
|
|
3442
3979
|
inlineExpandedLabel(): string;
|
|
3980
|
+
displayText(): string;
|
|
3443
3981
|
shouldShowInlineExpandedLabel(): boolean;
|
|
3444
3982
|
private commitDateRangeValue;
|
|
3445
3983
|
private currentRangeGroupValue;
|
|
@@ -3499,7 +4037,7 @@ declare class MaterialTimepickerComponent extends SimpleBaseInputComponent {
|
|
|
3499
4037
|
isReadonlyEffective(): boolean;
|
|
3500
4038
|
/** Calculates step attribute (seconds) based on metadata. */
|
|
3501
4039
|
stepAttribute(): number | null;
|
|
3502
|
-
errorStateMatcher():
|
|
4040
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
3503
4041
|
private parseTimeToSeconds;
|
|
3504
4042
|
private metadataAsField;
|
|
3505
4043
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialTimepickerComponent, never>;
|
|
@@ -3536,9 +4074,10 @@ declare class InlineTimeComponent extends MaterialTimepickerComponent {
|
|
|
3536
4074
|
onViewportResize(): void;
|
|
3537
4075
|
protected getSpecificCssClasses(): string[];
|
|
3538
4076
|
isReadonlyEffective(): boolean;
|
|
3539
|
-
errorStateMatcher():
|
|
4077
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
3540
4078
|
isInteractionBlocked(): boolean;
|
|
3541
4079
|
showQuickClear(): boolean;
|
|
4080
|
+
hasInlineValue(): boolean;
|
|
3542
4081
|
showInlinePlaceholder(): boolean;
|
|
3543
4082
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
3544
4083
|
onQuickClear(event: MouseEvent): void;
|
|
@@ -4051,6 +4590,7 @@ declare class InlinePipelineStatusComponent extends SimpleBaseSelectComponent<un
|
|
|
4051
4590
|
protected resolveInlineContextTooltipValue(): string;
|
|
4052
4591
|
hasSelection(): boolean;
|
|
4053
4592
|
displayText(): string;
|
|
4593
|
+
selectedChipValueText(): string;
|
|
4054
4594
|
showQuickClear(): boolean;
|
|
4055
4595
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
4056
4596
|
onQuickClear(event: MouseEvent): void;
|
|
@@ -4440,6 +4980,7 @@ declare class InlineColorLabelComponent extends SimpleBaseSelectComponent<unknow
|
|
|
4440
4980
|
protected resolveInlineContextTooltipValue(): string;
|
|
4441
4981
|
hasSelection(): boolean;
|
|
4442
4982
|
displayText(): string;
|
|
4983
|
+
selectedChipValueText(): string;
|
|
4443
4984
|
showQuickClear(): boolean;
|
|
4444
4985
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
4445
4986
|
onQuickClear(event: MouseEvent): void;
|
|
@@ -4497,20 +5038,28 @@ declare class InlineColorLabelComponent extends SimpleBaseSelectComponent<unknow
|
|
|
4497
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>;
|
|
4498
5039
|
}
|
|
4499
5040
|
|
|
4500
|
-
declare class MaterialMultiSelectComponent extends SimpleBaseSelectComponent {
|
|
5041
|
+
declare class MaterialMultiSelectComponent extends SimpleBaseSelectComponent implements DoCheck {
|
|
4501
5042
|
readonlyMode: boolean;
|
|
4502
5043
|
disabledMode: boolean;
|
|
4503
5044
|
visible: boolean;
|
|
4504
5045
|
presentationMode: boolean;
|
|
5046
|
+
private disabledModeAppliedToControl;
|
|
5047
|
+
ngDoCheck(): void;
|
|
4505
5048
|
protected defaultPanelClass(): string;
|
|
4506
5049
|
selectAllLabel(): string;
|
|
5050
|
+
multiSelectAriaDisabled(): 'true' | null;
|
|
5051
|
+
multiSelectAriaReadonly(): 'true' | null;
|
|
5052
|
+
selectOption(option: SelectOption<unknown>): void;
|
|
5053
|
+
toggleSelectAll(): void;
|
|
5054
|
+
onClearClick(): void;
|
|
4507
5055
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
4508
5056
|
/** Disables options when maxSelections reached */
|
|
4509
5057
|
isOptionDisabled(option: SelectOption<unknown>): boolean;
|
|
4510
5058
|
/** Emits optionSelected when a user picks an option */
|
|
4511
5059
|
onOptionSelectionChange(option: SelectOption<unknown>, event: MatOptionSelectionChange): void;
|
|
4512
|
-
errorStateMatcher():
|
|
5060
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
4513
5061
|
private optionsFromLegacy;
|
|
5062
|
+
private syncDisabledModeControlState;
|
|
4514
5063
|
private normalizeOption;
|
|
4515
5064
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialMultiSelectComponent, never>;
|
|
4516
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>;
|
|
@@ -4644,24 +5193,39 @@ declare class MaterialChipsComponent extends SimpleBaseSelectComponent {
|
|
|
4644
5193
|
private mapRawOption;
|
|
4645
5194
|
displayOption: (value: unknown) => string;
|
|
4646
5195
|
selectedOptions(): SelectOption[];
|
|
5196
|
+
isChipsInteractionDisabled(): boolean;
|
|
5197
|
+
canRemoveChips(): boolean;
|
|
5198
|
+
removeChipAriaLabel(option: SelectOption): string;
|
|
5199
|
+
selectOption(option: SelectOption): void;
|
|
4647
5200
|
removeChip(option: SelectOption): void;
|
|
4648
5201
|
onInputTokenEnd(event: MatChipInputEvent): void;
|
|
4649
5202
|
onSearchInputEvent(event: Event): void;
|
|
4650
5203
|
setInputMetadata(metadata: MaterialChipsMetadata): void;
|
|
4651
5204
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
4652
|
-
errorStateMatcher():
|
|
5205
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
4653
5206
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialChipsComponent, never>;
|
|
4654
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>;
|
|
4655
5208
|
}
|
|
4656
5209
|
|
|
4657
5210
|
declare class MaterialButtonToggleComponent extends SimpleBaseSelectComponent {
|
|
5211
|
+
readonlyMode: boolean;
|
|
5212
|
+
disabledMode: boolean;
|
|
5213
|
+
visible: boolean;
|
|
5214
|
+
presentationMode: boolean;
|
|
4658
5215
|
private asRecord;
|
|
4659
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;
|
|
4660
5224
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
4661
5225
|
protected getSpecificCssClasses(): string[];
|
|
4662
5226
|
onGroupChange(event: MatButtonToggleChange): void;
|
|
4663
5227
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialButtonToggleComponent, never>;
|
|
4664
|
-
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>;
|
|
4665
5229
|
}
|
|
4666
5230
|
|
|
4667
5231
|
declare class MaterialSlideToggleComponent extends SimpleBaseInputComponent {
|
|
@@ -4669,6 +5233,11 @@ declare class MaterialSlideToggleComponent extends SimpleBaseInputComponent {
|
|
|
4669
5233
|
disabledMode: boolean;
|
|
4670
5234
|
visible: boolean;
|
|
4671
5235
|
presentationMode: boolean;
|
|
5236
|
+
requiredEffective(): boolean;
|
|
5237
|
+
toggleInteractionDisabled(): boolean;
|
|
5238
|
+
toggleAriaDisabled(): 'true' | null;
|
|
5239
|
+
toggleAriaReadonly(): 'true' | null;
|
|
5240
|
+
readonlyEffective(): boolean;
|
|
4672
5241
|
/** Applies component metadata with strong typing. */
|
|
4673
5242
|
setInputMetadata(metadata: MaterialToggleMetadata): void;
|
|
4674
5243
|
protected getSpecificCssClasses(): string[];
|
|
@@ -4676,16 +5245,60 @@ declare class MaterialSlideToggleComponent extends SimpleBaseInputComponent {
|
|
|
4676
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>;
|
|
4677
5246
|
}
|
|
4678
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
|
+
}
|
|
4679
5264
|
declare class MaterialSliderComponent extends SimpleBaseInputComponent {
|
|
4680
5265
|
readonlyMode: boolean;
|
|
4681
5266
|
disabledMode: boolean;
|
|
4682
5267
|
visible: boolean;
|
|
4683
5268
|
presentationMode: boolean;
|
|
4684
5269
|
/** Display function for slider values */
|
|
4685
|
-
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;
|
|
4686
5284
|
/** Applies component metadata with strong typing. */
|
|
4687
5285
|
setInputMetadata(metadata: MaterialSliderMetadata): void;
|
|
4688
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;
|
|
4689
5302
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialSliderComponent, never>;
|
|
4690
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>;
|
|
4691
5304
|
}
|
|
@@ -4694,11 +5307,45 @@ type ThemeColor = 'primary' | 'secondary' | 'tertiary' | 'base' | 'info' | 'succ
|
|
|
4694
5307
|
type Rounded = 'full' | 'large' | 'medium' | 'small' | 'none';
|
|
4695
5308
|
type AvatarSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge' | 'none';
|
|
4696
5309
|
type FillMode = 'solid' | 'outline' | 'none';
|
|
5310
|
+
type AvatarStatus = 'online' | 'offline' | 'busy' | 'away' | 'verified' | 'none';
|
|
5311
|
+
type AvatarEmphasis = 'none' | 'ring' | 'halo';
|
|
4697
5312
|
type IconInput = string | SafeHtml | {
|
|
4698
5313
|
name?: string;
|
|
4699
5314
|
svg?: string;
|
|
4700
5315
|
fontClass?: string;
|
|
4701
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
|
+
}
|
|
4702
5349
|
declare class MaterialAvatarComponent implements OnChanges {
|
|
4703
5350
|
private readonly sanitizer;
|
|
4704
5351
|
private readonly elementRef;
|
|
@@ -4722,6 +5369,12 @@ declare class MaterialAvatarComponent implements OnChanges {
|
|
|
4722
5369
|
private _border;
|
|
4723
5370
|
private _sizePx?;
|
|
4724
5371
|
private _sizeCss?;
|
|
5372
|
+
private _initialsMaxLength;
|
|
5373
|
+
private _groupItems;
|
|
5374
|
+
private _groupMaxVisible;
|
|
5375
|
+
private _groupOverlap;
|
|
5376
|
+
private _emphasis;
|
|
5377
|
+
private _emphasisColor;
|
|
4725
5378
|
set themeColor(value: ThemeColor);
|
|
4726
5379
|
get themeColor(): ThemeColor;
|
|
4727
5380
|
set rounded(value: Rounded);
|
|
@@ -4738,6 +5391,25 @@ declare class MaterialAvatarComponent implements OnChanges {
|
|
|
4738
5391
|
get sizeCss(): string | undefined;
|
|
4739
5392
|
tooltip?: string;
|
|
4740
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;
|
|
4741
5413
|
readonlyMode?: boolean;
|
|
4742
5414
|
disabledMode?: boolean;
|
|
4743
5415
|
visible?: boolean;
|
|
@@ -4750,6 +5422,7 @@ declare class MaterialAvatarComponent implements OnChanges {
|
|
|
4750
5422
|
get style(): NgStyle | undefined;
|
|
4751
5423
|
imageError: EventEmitter<void>;
|
|
4752
5424
|
private readonly _imgFailed;
|
|
5425
|
+
private readonly groupImageFailures;
|
|
4753
5426
|
private readonly controlValue;
|
|
4754
5427
|
private readonly _syncControlValue;
|
|
4755
5428
|
readonly resolvedImageSrc: _angular_core.Signal<string>;
|
|
@@ -4757,20 +5430,53 @@ declare class MaterialAvatarComponent implements OnChanges {
|
|
|
4757
5430
|
readonly hasImage: _angular_core.Signal<boolean>;
|
|
4758
5431
|
readonly hasInitials: _angular_core.Signal<boolean>;
|
|
4759
5432
|
readonly componentCssClasses: _angular_core.Signal<string>;
|
|
5433
|
+
readonly computedHostRole: _angular_core.Signal<"group" | "img">;
|
|
4760
5434
|
readonly resolvedStyle: _angular_core.Signal<{
|
|
4761
5435
|
[x: string]: unknown;
|
|
4762
5436
|
} | null>;
|
|
4763
5437
|
readonly computedAriaLabel: _angular_core.Signal<string>;
|
|
4764
5438
|
readonly resolvedHint: _angular_core.Signal<string>;
|
|
5439
|
+
readonly resolvedLabel: _angular_core.Signal<string>;
|
|
4765
5440
|
readonly hintId: _angular_core.Signal<string | null>;
|
|
4766
5441
|
private resolveIconKind;
|
|
4767
5442
|
private pickImageSrcFromValue;
|
|
4768
5443
|
private normalizeImageUrl;
|
|
4769
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>;
|
|
4770
5461
|
shouldShowImage(): boolean;
|
|
4771
5462
|
shouldShowIcon(): boolean;
|
|
4772
5463
|
shouldShowInitials(): boolean;
|
|
4773
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;
|
|
4774
5480
|
readonly hasExplicitIcon: _angular_core.Signal<boolean>;
|
|
4775
5481
|
readonly hasDefaultIcon: _angular_core.Signal<boolean>;
|
|
4776
5482
|
normalizedInitials(): string;
|
|
@@ -4783,14 +5489,32 @@ declare class MaterialAvatarComponent implements OnChanges {
|
|
|
4783
5489
|
ngOnChanges(_changes: SimpleChanges): void;
|
|
4784
5490
|
setInputMetadata(meta: ComponentMetadata): void;
|
|
4785
5491
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialAvatarComponent, never>;
|
|
4786
|
-
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>;
|
|
4787
5493
|
}
|
|
4788
5494
|
|
|
4789
|
-
declare class MaterialRadioGroupComponent extends SimpleBaseSelectComponent {
|
|
5495
|
+
declare class MaterialRadioGroupComponent extends SimpleBaseSelectComponent implements DoCheck {
|
|
4790
5496
|
readonlyMode: boolean;
|
|
4791
5497
|
disabledMode: boolean;
|
|
4792
5498
|
visible: boolean;
|
|
4793
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;
|
|
4794
5518
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
4795
5519
|
protected getSpecificCssClasses(): string[];
|
|
4796
5520
|
private optionsFromLegacy;
|
|
@@ -4799,11 +5523,20 @@ declare class MaterialRadioGroupComponent extends SimpleBaseSelectComponent {
|
|
|
4799
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>;
|
|
4800
5524
|
}
|
|
4801
5525
|
|
|
4802
|
-
declare class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent {
|
|
5526
|
+
declare class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent implements DoCheck {
|
|
4803
5527
|
readonlyMode: boolean;
|
|
4804
5528
|
disabledMode: boolean;
|
|
4805
5529
|
visible: boolean;
|
|
4806
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;
|
|
4807
5540
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
4808
5541
|
/** Disables options when maxSelections reached */
|
|
4809
5542
|
isOptionDisabled(option: SelectOption<unknown>): boolean;
|
|
@@ -4820,7 +5553,7 @@ declare class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent {
|
|
|
4820
5553
|
booleanErrorId(): string;
|
|
4821
5554
|
groupHintId(): string;
|
|
4822
5555
|
groupErrorId(): string;
|
|
4823
|
-
booleanAriaLabel(): string
|
|
5556
|
+
booleanAriaLabel(): string;
|
|
4824
5557
|
booleanLabelledBy(): string | null;
|
|
4825
5558
|
booleanDescribedBy(): string | null;
|
|
4826
5559
|
groupDescribedBy(): string | null;
|
|
@@ -4835,6 +5568,8 @@ declare class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent {
|
|
|
4835
5568
|
onBooleanCheckboxChange(): void;
|
|
4836
5569
|
onMultipleOptionContentClick(option: SelectOption<unknown>, event: MouseEvent): void;
|
|
4837
5570
|
onSelectAllContentClick(event: MouseEvent): void;
|
|
5571
|
+
selectOption(option: SelectOption<unknown>): void;
|
|
5572
|
+
toggleSelectAll(): void;
|
|
4838
5573
|
private shouldToggleFromBooleanContent;
|
|
4839
5574
|
private shouldToggleFromMultipleContent;
|
|
4840
5575
|
private toggleBooleanCheckbox;
|
|
@@ -4842,10 +5577,10 @@ declare class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent {
|
|
|
4842
5577
|
private humanizeName;
|
|
4843
5578
|
optionLabelId(option: SelectOption<unknown>): string;
|
|
4844
5579
|
optionDescriptionId(option: SelectOption<unknown>): string | null;
|
|
4845
|
-
optionAriaLabel(option: SelectOption<unknown>): string
|
|
5580
|
+
optionAriaLabel(option: SelectOption<unknown>): string;
|
|
4846
5581
|
optionSupportingText(option: SelectOption<unknown>): string | null;
|
|
4847
5582
|
selectAllLabelId(): string;
|
|
4848
|
-
selectAllAriaLabel(): string
|
|
5583
|
+
selectAllAriaLabel(): string;
|
|
4849
5584
|
selectAllLabelText(): string;
|
|
4850
5585
|
private optionDomToken;
|
|
4851
5586
|
private optionsFromLegacy;
|
|
@@ -4854,11 +5589,30 @@ declare class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent {
|
|
|
4854
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>;
|
|
4855
5590
|
}
|
|
4856
5591
|
|
|
4857
|
-
declare class MaterialSelectionListComponent extends SimpleBaseSelectComponent {
|
|
5592
|
+
declare class MaterialSelectionListComponent extends SimpleBaseSelectComponent implements DoCheck {
|
|
4858
5593
|
readonlyMode: boolean;
|
|
4859
5594
|
disabledMode: boolean;
|
|
4860
5595
|
visible: boolean;
|
|
4861
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;
|
|
4862
5616
|
private asRecord;
|
|
4863
5617
|
private mapRawOption;
|
|
4864
5618
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
@@ -5030,19 +5784,21 @@ declare class PhoneInputComponent extends SimpleBaseInputComponent {
|
|
|
5030
5784
|
ngOnInit(): void;
|
|
5031
5785
|
writeValue(value: unknown): void;
|
|
5032
5786
|
protected registerInputElement(el: HTMLElement): void;
|
|
5787
|
+
protected applyNativeDisplayMask(): void;
|
|
5033
5788
|
handleInput(event: Event): void;
|
|
5034
5789
|
handleBlur(): void;
|
|
5035
5790
|
validateField(): Promise<ValidationErrors | null>;
|
|
5036
5791
|
protected getSpecificCssClasses(): string[];
|
|
5037
5792
|
/** Applies strongly typed metadata to the component. */
|
|
5038
5793
|
setInputMetadata(metadata: MaterialPhoneMetadata): void;
|
|
5039
|
-
errorStateMatcher():
|
|
5794
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
5040
5795
|
isReadonlyEffective(): boolean;
|
|
5041
5796
|
private metadataAsField;
|
|
5042
5797
|
private phoneMetadata;
|
|
5043
5798
|
private syncPhoneValidators;
|
|
5044
5799
|
private validatePhoneControl;
|
|
5045
5800
|
private isPhoneRuntimeEnabled;
|
|
5801
|
+
private metadataFlag;
|
|
5046
5802
|
private resolveDefaultCountry;
|
|
5047
5803
|
private resolveAllowedCountries;
|
|
5048
5804
|
private resolvePhoneFormat;
|
|
@@ -5074,7 +5830,7 @@ declare class TimeInputComponent extends SimpleBaseInputComponent {
|
|
|
5074
5830
|
protected getSpecificCssClasses(): string[];
|
|
5075
5831
|
/** Applies component metadata with strong typing. */
|
|
5076
5832
|
setInputMetadata(metadata: MaterialTimeInputMetadata): void;
|
|
5077
|
-
errorStateMatcher():
|
|
5833
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
5078
5834
|
/**
|
|
5079
5835
|
* Time input is officially minute-granularity only.
|
|
5080
5836
|
* Non-minute step values fallback to 60s.
|
|
@@ -5107,7 +5863,7 @@ declare class UrlInputComponent extends SimpleBaseInputComponent {
|
|
|
5107
5863
|
protected getSpecificCssClasses(): string[];
|
|
5108
5864
|
/** Applies component metadata with strong typing. */
|
|
5109
5865
|
setInputMetadata(metadata: MaterialUrlInputMetadata): void;
|
|
5110
|
-
errorStateMatcher():
|
|
5866
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
5111
5867
|
isReadonlyEffective(): boolean;
|
|
5112
5868
|
private metadataAsField;
|
|
5113
5869
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UrlInputComponent, never>;
|
|
@@ -5134,7 +5890,7 @@ declare class WeekInputComponent extends SimpleBaseInputComponent {
|
|
|
5134
5890
|
protected getSpecificCssClasses(): string[];
|
|
5135
5891
|
/** Applies component metadata with strong typing. */
|
|
5136
5892
|
setInputMetadata(metadata: MaterialWeekInputMetadata): void;
|
|
5137
|
-
errorStateMatcher():
|
|
5893
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
5138
5894
|
isReadonlyEffective(): boolean;
|
|
5139
5895
|
private metadataAsField;
|
|
5140
5896
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WeekInputComponent, never>;
|
|
@@ -5161,7 +5917,8 @@ declare class MaterialColorPickerComponent extends SimpleBaseInputComponent {
|
|
|
5161
5917
|
/** Handles color selection from the native input. */
|
|
5162
5918
|
onNativeColorChange(event: Event): void;
|
|
5163
5919
|
protected getSpecificCssClasses(): string[];
|
|
5164
|
-
|
|
5920
|
+
effectiveFloatLabelBehavior(): 'always';
|
|
5921
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
5165
5922
|
isReadonlyEffective(): boolean;
|
|
5166
5923
|
previewColor(): string;
|
|
5167
5924
|
colorPaletteAriaLabel(): string;
|
|
@@ -5196,6 +5953,7 @@ declare class MaterialRatingComponent extends SimpleBaseInputComponent implement
|
|
|
5196
5953
|
svgIconOutline?: string;
|
|
5197
5954
|
outlineIcon?: string;
|
|
5198
5955
|
disabled: boolean;
|
|
5956
|
+
disabledMode: boolean;
|
|
5199
5957
|
readonlyMode: boolean;
|
|
5200
5958
|
presentationMode: boolean;
|
|
5201
5959
|
tabindex: number;
|
|
@@ -5225,15 +5983,20 @@ declare class MaterialRatingComponent extends SimpleBaseInputComponent implement
|
|
|
5225
5983
|
private getVisualValue;
|
|
5226
5984
|
private getActiveIndexAndHalf;
|
|
5227
5985
|
private applyValue;
|
|
5986
|
+
ratingValueText(): string;
|
|
5987
|
+
effectiveTabIndex(): number;
|
|
5988
|
+
disabledEffective(): boolean;
|
|
5228
5989
|
readonlyEffective(): boolean;
|
|
5229
|
-
|
|
5990
|
+
ratingAriaLabel(): string;
|
|
5991
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
5230
5992
|
setInputMetadata(meta: unknown): void;
|
|
5231
5993
|
private parseSize;
|
|
5232
5994
|
private parseSelectionMode;
|
|
5995
|
+
private interactionBlocked;
|
|
5233
5996
|
private asRecord;
|
|
5234
5997
|
private metadataAsField;
|
|
5235
5998
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialRatingComponent, never>;
|
|
5236
|
-
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>;
|
|
5237
6000
|
}
|
|
5238
6001
|
|
|
5239
6002
|
type PickerView = 'gradient' | 'palette';
|
|
@@ -5350,10 +6113,12 @@ declare class PdxColorPickerComponent extends SimpleBaseInputComponent implement
|
|
|
5350
6113
|
onCancel(): void;
|
|
5351
6114
|
onApply(): void;
|
|
5352
6115
|
readonlyEffective(): boolean;
|
|
5353
|
-
errorStateMatcher():
|
|
6116
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
5354
6117
|
protected getSpecificCssClasses(): string[];
|
|
6118
|
+
effectiveFloatLabelBehavior(): 'always';
|
|
5355
6119
|
setInputMetadata(meta: ComponentMetadata | null): void;
|
|
5356
6120
|
private currentMetadataRecord;
|
|
6121
|
+
private asRecord;
|
|
5357
6122
|
private toFormat;
|
|
5358
6123
|
private toHex;
|
|
5359
6124
|
private toRgb;
|
|
@@ -5376,20 +6141,54 @@ declare class PdxColorPickerComponent extends SimpleBaseInputComponent implement
|
|
|
5376
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>;
|
|
5377
6142
|
}
|
|
5378
6143
|
|
|
5379
|
-
|
|
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 {
|
|
5380
6161
|
readonlyMode: boolean;
|
|
5381
6162
|
disabledMode: boolean;
|
|
5382
6163
|
visible: boolean;
|
|
5383
6164
|
presentationMode: boolean;
|
|
5384
6165
|
metadata: _angular_core.WritableSignal<MaterialRangeSliderMetadata | null>;
|
|
6166
|
+
private activeRangeThumb;
|
|
5385
6167
|
readonly rangeGroup: FormGroup<{
|
|
5386
6168
|
start: FormControl<number | null>;
|
|
5387
6169
|
end: FormControl<number | null>;
|
|
5388
6170
|
}>;
|
|
5389
6171
|
readonly isRangeMode: _angular_core.Signal<boolean>;
|
|
5390
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;
|
|
5391
6189
|
readonly errorMessage: _angular_core.Signal<string>;
|
|
5392
6190
|
ngOnInit(): void;
|
|
6191
|
+
ngAfterViewChecked(): void;
|
|
5393
6192
|
/**
|
|
5394
6193
|
* Overrides writeValue to handle both single and range modes.
|
|
5395
6194
|
*/
|
|
@@ -5403,8 +6202,34 @@ declare class PdxMaterialRangeSliderComponent extends SimpleBaseInputComponent i
|
|
|
5403
6202
|
setSliderMetadata(metadata: MaterialRangeSliderMetadata): void;
|
|
5404
6203
|
protected setMetadata(metadata: MaterialRangeSliderMetadata): void;
|
|
5405
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;
|
|
5406
6218
|
private syncRangeGroupFromControlValue;
|
|
5407
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;
|
|
5408
6233
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PdxMaterialRangeSliderComponent, never>;
|
|
5409
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>;
|
|
5410
6235
|
}
|
|
@@ -5420,6 +6245,9 @@ interface TransferListMetadata extends SimpleSelectMetadata<unknown> {
|
|
|
5420
6245
|
rightLabel?: string;
|
|
5421
6246
|
leftPlaceholder?: string;
|
|
5422
6247
|
rightPlaceholder?: string;
|
|
6248
|
+
leftEmptyText?: string;
|
|
6249
|
+
rightEmptyText?: string;
|
|
6250
|
+
noResultsText?: string;
|
|
5423
6251
|
}
|
|
5424
6252
|
declare class MaterialTransferListComponent extends SimpleBaseSelectComponent {
|
|
5425
6253
|
readonlyMode: boolean;
|
|
@@ -5430,6 +6258,9 @@ declare class MaterialTransferListComponent extends SimpleBaseSelectComponent {
|
|
|
5430
6258
|
rightLabel: string;
|
|
5431
6259
|
leftPlaceholder: string;
|
|
5432
6260
|
rightPlaceholder: string;
|
|
6261
|
+
leftEmptyText: string;
|
|
6262
|
+
rightEmptyText: string;
|
|
6263
|
+
noResultsText: string;
|
|
5433
6264
|
readonly leftOptions: _angular_core.WritableSignal<SelectOption<unknown>[]>;
|
|
5434
6265
|
readonly rightOptions: _angular_core.WritableSignal<SelectOption<unknown>[]>;
|
|
5435
6266
|
readonly leftFilter: _angular_core.WritableSignal<string>;
|
|
@@ -5443,6 +6274,12 @@ declare class MaterialTransferListComponent extends SimpleBaseSelectComponent {
|
|
|
5443
6274
|
moveAllToRightAriaLabel(): string;
|
|
5444
6275
|
moveSelectedToLeftAriaLabel(): string;
|
|
5445
6276
|
moveAllToLeftAriaLabel(): string;
|
|
6277
|
+
leftListAriaLabel(): string;
|
|
6278
|
+
rightListAriaLabel(): string;
|
|
6279
|
+
leftEmptyMessage(): string;
|
|
6280
|
+
rightEmptyMessage(): string;
|
|
6281
|
+
isMaxSelectionReached(): boolean;
|
|
6282
|
+
isInteractionDisabled(): boolean;
|
|
5446
6283
|
ngOnInit(): void;
|
|
5447
6284
|
private updateListsFromValue;
|
|
5448
6285
|
getSelectedOptions(list: MatSelectionList): SelectOption[];
|
|
@@ -5473,7 +6310,7 @@ declare class PdxYearInputComponent extends SimpleBaseInputComponent {
|
|
|
5473
6310
|
ngOnInit(): void;
|
|
5474
6311
|
setInputMetadata(metadata: MaterialYearInputMetadata): void;
|
|
5475
6312
|
private applySpecificValidators;
|
|
5476
|
-
errorStateMatcher():
|
|
6313
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
5477
6314
|
onYearInput(event: Event): void;
|
|
5478
6315
|
protected getSpecificCssClasses(): string[];
|
|
5479
6316
|
private metadataAsField;
|
|
@@ -5484,6 +6321,8 @@ declare class PdxYearInputComponent extends SimpleBaseInputComponent {
|
|
|
5484
6321
|
/** Metadata for TextInputComponent */
|
|
5485
6322
|
declare const PDX_TEXT_INPUT_COMPONENT_METADATA: ComponentDocMeta;
|
|
5486
6323
|
|
|
6324
|
+
declare const PDX_EDITABLE_COLLECTION_COMPONENT_METADATA: ComponentDocMeta;
|
|
6325
|
+
|
|
5487
6326
|
/** Metadata for NumberInputComponent */
|
|
5488
6327
|
declare const PDX_NUMBER_INPUT_COMPONENT_METADATA: ComponentDocMeta;
|
|
5489
6328
|
|
|
@@ -5502,6 +6341,7 @@ declare const PDX_INLINE_SEARCHABLE_SELECT_COMPONENT_METADATA: ComponentDocMeta;
|
|
|
5502
6341
|
|
|
5503
6342
|
declare const PDX_INLINE_ASYNC_SELECT_COMPONENT_METADATA: ComponentDocMeta;
|
|
5504
6343
|
|
|
6344
|
+
declare const PDX_ENTITY_LOOKUP_COMPONENT_METADATA: ComponentDocMeta;
|
|
5505
6345
|
declare const PDX_INLINE_ENTITY_LOOKUP_COMPONENT_METADATA: ComponentDocMeta;
|
|
5506
6346
|
|
|
5507
6347
|
declare const PDX_INLINE_MULTI_SELECT_COMPONENT_METADATA: ComponentDocMeta;
|
|
@@ -5617,6 +6457,7 @@ declare const PDX_PRELOAD_STATUS_COMPONENT_METADATA: ComponentDocMeta;
|
|
|
5617
6457
|
declare const PDX_SEARCH_INPUT_COMPONENT_METADATA: ComponentDocMeta;
|
|
5618
6458
|
|
|
5619
6459
|
declare const PDX_INLINE_INPUT_COMPONENT_METADATA: ComponentDocMeta;
|
|
6460
|
+
declare const PDX_INLINE_PHONE_COMPONENT_METADATA: ComponentDocMeta;
|
|
5620
6461
|
|
|
5621
6462
|
declare const PDX_INLINE_AUTOCOMPLETE_COMPONENT_METADATA: ComponentDocMeta;
|
|
5622
6463
|
|
|
@@ -5632,367 +6473,6 @@ declare const PDX_YEAR_INPUT_COMPONENT_METADATA: ComponentDocMeta;
|
|
|
5632
6473
|
|
|
5633
6474
|
declare const PDX_FIELD_SHELL_COMPONENT_METADATA: ComponentDocMeta;
|
|
5634
6475
|
|
|
5635
|
-
/**
|
|
5636
|
-
* Context object passed to action handlers containing all relevant data
|
|
5637
|
-
* about the component state and form context when an action is executed.
|
|
5638
|
-
*
|
|
5639
|
-
* This interface provides maximum flexibility for action handlers to access
|
|
5640
|
-
* both component-specific data and broader form/application context.
|
|
5641
|
-
*
|
|
5642
|
-
* @example Basic usage in action handler
|
|
5643
|
-
* ```typescript
|
|
5644
|
-
* this.registerAction('customAction', async (context: ActionContext) => {
|
|
5645
|
-
* console.log('Field:', context.fieldName);
|
|
5646
|
-
* console.log('Value:', context.fieldValue);
|
|
5647
|
-
* console.log('Metadata:', context.metadata);
|
|
5648
|
-
* return { success: true, data: 'Action completed' };
|
|
5649
|
-
* });
|
|
5650
|
-
* ```
|
|
5651
|
-
*
|
|
5652
|
-
* @example Using actionParam for parameterized actions
|
|
5653
|
-
* ```typescript
|
|
5654
|
-
* // Metadata configuration: action: "navigate:/dashboard"
|
|
5655
|
-
* this.registerAction('navigate', async (context: ActionContext) => {
|
|
5656
|
-
* const url = context.actionParam; // "/dashboard"
|
|
5657
|
-
* await this.router.navigate([url]);
|
|
5658
|
-
* return { success: true };
|
|
5659
|
-
* });
|
|
5660
|
-
* ```
|
|
5661
|
-
*/
|
|
5662
|
-
interface ActionContext {
|
|
5663
|
-
/**
|
|
5664
|
-
* Name/identifier of the field that triggered the action.
|
|
5665
|
-
*
|
|
5666
|
-
* Useful for:
|
|
5667
|
-
* - Logging and debugging
|
|
5668
|
-
* - Field-specific business logic
|
|
5669
|
-
* - Form validation context
|
|
5670
|
-
*
|
|
5671
|
-
* @example "email", "firstName", "submitButton"
|
|
5672
|
-
*/
|
|
5673
|
-
fieldName?: string;
|
|
5674
|
-
/**
|
|
5675
|
-
* Current value of the field that triggered the action.
|
|
5676
|
-
*
|
|
5677
|
-
* For different field types:
|
|
5678
|
-
* - Input fields: string value
|
|
5679
|
-
* - Checkboxes: boolean
|
|
5680
|
-
* - Select: selected option value
|
|
5681
|
-
* - Buttons: typically undefined
|
|
5682
|
-
*
|
|
5683
|
-
* @example "john@example.com", true, ["option1", "option2"]
|
|
5684
|
-
*/
|
|
5685
|
-
fieldValue?: any;
|
|
5686
|
-
/**
|
|
5687
|
-
* Complete metadata configuration object for the field.
|
|
5688
|
-
*
|
|
5689
|
-
* Contains all field configuration including:
|
|
5690
|
-
* - Label, placeholder, validation rules
|
|
5691
|
-
* - UI configuration (appearance, icons, etc.)
|
|
5692
|
-
* - Custom properties specific to the field
|
|
5693
|
-
*
|
|
5694
|
-
* @example MaterialButtonMetadata, MaterialInputMetadata, etc.
|
|
5695
|
-
*/
|
|
5696
|
-
metadata?: any;
|
|
5697
|
-
/**
|
|
5698
|
-
* Complete form data object containing all field values.
|
|
5699
|
-
*
|
|
5700
|
-
* Useful for:
|
|
5701
|
-
* - Cross-field validation
|
|
5702
|
-
* - Conditional logic based on other fields
|
|
5703
|
-
* - Form-wide operations
|
|
5704
|
-
*
|
|
5705
|
-
* @example { email: "user@example.com", name: "John", age: 30 }
|
|
5706
|
-
*/
|
|
5707
|
-
formData?: any;
|
|
5708
|
-
/**
|
|
5709
|
-
* Reference to the Angular component instance that triggered the action.
|
|
5710
|
-
*
|
|
5711
|
-
* Provides access to:
|
|
5712
|
-
* - Component methods and properties
|
|
5713
|
-
* - ElementRef for DOM manipulation
|
|
5714
|
-
* - Angular lifecycle and services
|
|
5715
|
-
*
|
|
5716
|
-
* @example MaterialButtonComponent, MaterialInputComponent instances
|
|
5717
|
-
*/
|
|
5718
|
-
componentInstance?: any;
|
|
5719
|
-
/**
|
|
5720
|
-
* Parameter extracted from action reference after colon separator.
|
|
5721
|
-
*
|
|
5722
|
-
* When action is defined as "actionName:parameter", this contains the parameter part.
|
|
5723
|
-
* Enables parameterized actions without separate configuration.
|
|
5724
|
-
*
|
|
5725
|
-
* @example
|
|
5726
|
-
* - Action: "navigate:/dashboard" → actionParam: "/dashboard"
|
|
5727
|
-
* - Action: "showAlert:Data saved successfully" → actionParam: "Data saved successfully"
|
|
5728
|
-
* - Action: "download:https://example.com/file.pdf" → actionParam: "https://example.com/file.pdf"
|
|
5729
|
-
*/
|
|
5730
|
-
actionParam?: string;
|
|
5731
|
-
}
|
|
5732
|
-
/**
|
|
5733
|
-
* Result object returned by action handlers indicating success/failure
|
|
5734
|
-
* and any associated data or error information.
|
|
5735
|
-
*
|
|
5736
|
-
* Provides a standardized way for action handlers to communicate results
|
|
5737
|
-
* back to the calling component for appropriate user feedback.
|
|
5738
|
-
*
|
|
5739
|
-
* @example Successful action result
|
|
5740
|
-
* ```typescript
|
|
5741
|
-
* return {
|
|
5742
|
-
* success: true,
|
|
5743
|
-
* data: 'Form submitted successfully',
|
|
5744
|
-
* redirect: '/dashboard'
|
|
5745
|
-
* };
|
|
5746
|
-
* ```
|
|
5747
|
-
*
|
|
5748
|
-
* @example Failed action result
|
|
5749
|
-
* ```typescript
|
|
5750
|
-
* return {
|
|
5751
|
-
* success: false,
|
|
5752
|
-
* error: 'Validation failed: Email is required'
|
|
5753
|
-
* };
|
|
5754
|
-
* ```
|
|
5755
|
-
*/
|
|
5756
|
-
interface ActionResult {
|
|
5757
|
-
/**
|
|
5758
|
-
* Indicates whether the action completed successfully.
|
|
5759
|
-
*
|
|
5760
|
-
* - true: Action completed without errors
|
|
5761
|
-
* - false: Action failed or encountered an error
|
|
5762
|
-
*
|
|
5763
|
-
* Used by components to determine appropriate user feedback
|
|
5764
|
-
* (success message, error display, etc.)
|
|
5765
|
-
*/
|
|
5766
|
-
success: boolean;
|
|
5767
|
-
/**
|
|
5768
|
-
* Optional data returned by successful actions.
|
|
5769
|
-
*
|
|
5770
|
-
* Can contain:
|
|
5771
|
-
* - Success messages for user display
|
|
5772
|
-
* - Result data from API calls
|
|
5773
|
-
* - State information for further processing
|
|
5774
|
-
* - Any serializable data relevant to the action
|
|
5775
|
-
*
|
|
5776
|
-
* @example "Form submitted", { userId: 123 }, ["item1", "item2"]
|
|
5777
|
-
*/
|
|
5778
|
-
data?: any;
|
|
5779
|
-
/**
|
|
5780
|
-
* Error message when action fails (success = false).
|
|
5781
|
-
*
|
|
5782
|
-
* Should contain:
|
|
5783
|
-
* - User-friendly error descriptions
|
|
5784
|
-
* - Validation error messages
|
|
5785
|
-
* - Technical error details (for logging)
|
|
5786
|
-
*
|
|
5787
|
-
* Displayed to users or logged for debugging purposes.
|
|
5788
|
-
*
|
|
5789
|
-
* @example "Network error occurred", "Invalid email format", "Access denied"
|
|
5790
|
-
*/
|
|
5791
|
-
error?: string;
|
|
5792
|
-
/**
|
|
5793
|
-
* Optional URL for automatic navigation after action completion.
|
|
5794
|
-
*
|
|
5795
|
-
* When provided, the calling component may automatically redirect
|
|
5796
|
-
* the user to this URL after the action succeeds.
|
|
5797
|
-
*
|
|
5798
|
-
* Useful for:
|
|
5799
|
-
* - Post-submit redirects
|
|
5800
|
-
* - Workflow navigation
|
|
5801
|
-
* - Success page redirection
|
|
5802
|
-
*
|
|
5803
|
-
* @example "/dashboard", "/success", "https://external-site.com"
|
|
5804
|
-
*/
|
|
5805
|
-
redirect?: string;
|
|
5806
|
-
}
|
|
5807
|
-
/**
|
|
5808
|
-
* Function signature for action handlers that can be registered with the ActionResolverService.
|
|
5809
|
-
*
|
|
5810
|
-
* Action handlers receive an ActionContext with all relevant component and form data,
|
|
5811
|
-
* and must return an ActionResult indicating success/failure.
|
|
5812
|
-
*
|
|
5813
|
-
* Handlers can be either synchronous or asynchronous to support both immediate
|
|
5814
|
-
* operations and API calls/complex processing.
|
|
5815
|
-
*
|
|
5816
|
-
* @example Synchronous action handler
|
|
5817
|
-
* ```typescript
|
|
5818
|
-
* const logHandler: ActionHandler = (context) => {
|
|
5819
|
-
* console.log('Field value:', context.fieldValue);
|
|
5820
|
-
* return { success: true, data: 'Logged successfully' };
|
|
5821
|
-
* };
|
|
5822
|
-
* ```
|
|
5823
|
-
*
|
|
5824
|
-
* @example Asynchronous action handler
|
|
5825
|
-
* ```typescript
|
|
5826
|
-
* const saveHandler: ActionHandler = async (context) => {
|
|
5827
|
-
* try {
|
|
5828
|
-
* await apiService.saveData(context.formData);
|
|
5829
|
-
* return { success: true, data: 'Data saved' };
|
|
5830
|
-
* } catch (error) {
|
|
5831
|
-
* return { success: false, error: 'Save failed' };
|
|
5832
|
-
* }
|
|
5833
|
-
* };
|
|
5834
|
-
* ```
|
|
5835
|
-
*
|
|
5836
|
-
* @param context - Complete action execution context
|
|
5837
|
-
* @returns Promise<ActionResult> or ActionResult indicating success/failure
|
|
5838
|
-
*/
|
|
5839
|
-
type ActionHandler = (context: ActionContext) => Promise<ActionResult> | ActionResult;
|
|
5840
|
-
declare class ActionResolverService {
|
|
5841
|
-
private readonly router;
|
|
5842
|
-
private readonly http;
|
|
5843
|
-
private readonly dialog;
|
|
5844
|
-
private readonly actionRegistry;
|
|
5845
|
-
private parseActionPayload;
|
|
5846
|
-
private getJsonValue;
|
|
5847
|
-
private resolveDialogPayload;
|
|
5848
|
-
private splitActionRef;
|
|
5849
|
-
constructor();
|
|
5850
|
-
/**
|
|
5851
|
-
* Registra ações relacionadas a diálogos (unificado PraxisDialog)
|
|
5852
|
-
*/
|
|
5853
|
-
private registerDialogActions;
|
|
5854
|
-
/**
|
|
5855
|
-
* Registra uma nova ação
|
|
5856
|
-
*/
|
|
5857
|
-
registerAction(actionName: string, handler: ActionHandler): void;
|
|
5858
|
-
/**
|
|
5859
|
-
* Remove uma ação registrada
|
|
5860
|
-
*/
|
|
5861
|
-
unregisterAction(actionName: string): void;
|
|
5862
|
-
/**
|
|
5863
|
-
* Executa uma ação por nome
|
|
5864
|
-
*/
|
|
5865
|
-
executeAction(actionRef: string, context?: ActionContext): Promise<ActionResult>;
|
|
5866
|
-
/**
|
|
5867
|
-
* Lista todas as ações registradas
|
|
5868
|
-
*/
|
|
5869
|
-
getRegisteredActions(): string[];
|
|
5870
|
-
/**
|
|
5871
|
-
* Verifica se uma ação existe
|
|
5872
|
-
*/
|
|
5873
|
-
hasAction(actionName: string): boolean;
|
|
5874
|
-
/**
|
|
5875
|
-
* Registra ações built-in (pré-definidas) do sistema ActionResolverService.
|
|
5876
|
-
*
|
|
5877
|
-
* Este método é chamado automaticamente no constructor e registra um conjunto
|
|
5878
|
-
* de ações comuns úteis para aplicações corporativas, eliminando a necessidade
|
|
5879
|
-
* de implementar essas funcionalidades básicas repetidamente.
|
|
5880
|
-
*
|
|
5881
|
-
* Todas as ações built-in seguem padrões corporativos de:
|
|
5882
|
-
* - ✅ Tratamento de erros robusto
|
|
5883
|
-
* - ✅ Logging consistente para auditoria
|
|
5884
|
-
* - ✅ Mensagens user-friendly
|
|
5885
|
-
* - ✅ Segurança (noopener, noreferrer)
|
|
5886
|
-
* - ✅ Compatibilidade cross-browser
|
|
5887
|
-
*
|
|
5888
|
-
* ## 📋 Ações Disponíveis
|
|
5889
|
-
*
|
|
5890
|
-
* ### 📝 Formulários
|
|
5891
|
-
* - **submitForm**: Submete o formulário pai do componente
|
|
5892
|
-
* - **resetForm**: Reseta todos os campos do formulário pai
|
|
5893
|
-
*
|
|
5894
|
-
* ### 🧭 Navegação
|
|
5895
|
-
* - **navigate**: Navegação interna via Angular Router ou externa via window.location
|
|
5896
|
-
* - **openUrl**: Abre URL em nova aba com segurança (noopener, noreferrer)
|
|
5897
|
-
*
|
|
5898
|
-
* ### 📥 Downloads e Dados
|
|
5899
|
-
* - **download**: Inicia download de arquivo via URL
|
|
5900
|
-
* - **copyToClipboard**: Copia texto para área de transferência
|
|
5901
|
-
*
|
|
5902
|
-
* ### 🔔 Interface e Feedback
|
|
5903
|
-
* - **showAlert**: Exibe alerta nativo do navegador
|
|
5904
|
-
* - **log**: Registra mensagem no console para debugging
|
|
5905
|
-
*
|
|
5906
|
-
* ## 🎯 Uso no Metadata
|
|
5907
|
-
*
|
|
5908
|
-
* ```typescript
|
|
5909
|
-
* // Ação simples
|
|
5910
|
-
* const submitButton: MaterialButtonMetadata = {
|
|
5911
|
-
* name: 'submit',
|
|
5912
|
-
* label: 'Enviar',
|
|
5913
|
-
* controlType: 'button',
|
|
5914
|
-
* action: 'submitForm' // ← Ação built-in
|
|
5915
|
-
* };
|
|
5916
|
-
*
|
|
5917
|
-
* // Ação com parâmetro
|
|
5918
|
-
* const linkButton: MaterialButtonMetadata = {
|
|
5919
|
-
* name: 'dashboard',
|
|
5920
|
-
* label: 'Dashboard',
|
|
5921
|
-
* controlType: 'button',
|
|
5922
|
-
* action: 'navigate:/dashboard' // ← Parâmetro após ':'
|
|
5923
|
-
* };
|
|
5924
|
-
*
|
|
5925
|
-
* // Ação de download
|
|
5926
|
-
* const downloadButton: MaterialButtonMetadata = {
|
|
5927
|
-
* name: 'download',
|
|
5928
|
-
* label: 'Download PDF',
|
|
5929
|
-
* controlType: 'button',
|
|
5930
|
-
* action: 'download:https://example.com/report.pdf'
|
|
5931
|
-
* };
|
|
5932
|
-
* ```
|
|
5933
|
-
*
|
|
5934
|
-
* ## ⚠️ Notas Importantes
|
|
5935
|
-
*
|
|
5936
|
-
* - Ações são **case-sensitive**: use exatamente como documentado
|
|
5937
|
-
* - Parâmetros são opcionais: ações funcionam com/sem parâmetros
|
|
5938
|
-
* - Tratamento de erro: todas as ações retornam ActionResult padronizado
|
|
5939
|
-
* - Logging: ações importantes são logadas automaticamente para auditoria
|
|
5940
|
-
* - Segurança: URLs externas usam 'noopener,noreferrer' por padrão
|
|
5941
|
-
*
|
|
5942
|
-
* @private
|
|
5943
|
-
* @see ActionContext - Interface de contexto passada para todas as ações
|
|
5944
|
-
* @see ActionResult - Interface de resultado retornada por todas as ações
|
|
5945
|
-
* @see ActionHandler - Tipo de função para implementar ações customizadas
|
|
5946
|
-
*/
|
|
5947
|
-
private registerBuiltInActions;
|
|
5948
|
-
/**
|
|
5949
|
-
* Encontra o elemento <form> pai de um componente Angular.
|
|
5950
|
-
*
|
|
5951
|
-
* Percorre a árvore DOM a partir do elemento do componente até encontrar
|
|
5952
|
-
* um elemento <form> pai ou chegar ao document.body.
|
|
5953
|
-
*
|
|
5954
|
-
* Usado pelas ações submitForm e resetForm para localizar o formulário
|
|
5955
|
-
* que contém o componente que disparou a ação.
|
|
5956
|
-
*
|
|
5957
|
-
* @param componentInstance - Instância do componente Angular
|
|
5958
|
-
* @returns HTMLFormElement se encontrado, null caso contrário
|
|
5959
|
-
*
|
|
5960
|
-
* @example Estrutura HTML típica
|
|
5961
|
-
* ```html
|
|
5962
|
-
* <form>
|
|
5963
|
-
* <mat-form-field>
|
|
5964
|
-
* <input matInput>
|
|
5965
|
-
* </mat-form-field>
|
|
5966
|
-
* <pdx-material-button action="submitForm">Submit</pdx-material-button>
|
|
5967
|
-
* </form>
|
|
5968
|
-
* ```
|
|
5969
|
-
*
|
|
5970
|
-
* @private
|
|
5971
|
-
*/
|
|
5972
|
-
private findParentForm;
|
|
5973
|
-
/**
|
|
5974
|
-
* Registra ações de estado e validação de formulários.
|
|
5975
|
-
* Chamado durante a inicialização do serviço.
|
|
5976
|
-
*/
|
|
5977
|
-
private registerStateValidationActions;
|
|
5978
|
-
/**
|
|
5979
|
-
* Registra ações de API e manipulação de dados.
|
|
5980
|
-
* Chamado durante a inicialização do serviço.
|
|
5981
|
-
*/
|
|
5982
|
-
private registerApiDataActions;
|
|
5983
|
-
/**
|
|
5984
|
-
* Limpa drafts antigos do localStorage para evitar quota exceeded.
|
|
5985
|
-
*
|
|
5986
|
-
* Remove drafts com mais de 7 dias ou que estejam malformados.
|
|
5987
|
-
* Chamado automaticamente antes de salvar novos drafts.
|
|
5988
|
-
*
|
|
5989
|
-
* @private
|
|
5990
|
-
*/
|
|
5991
|
-
private cleanupOldDrafts;
|
|
5992
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ActionResolverService, never>;
|
|
5993
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ActionResolverService>;
|
|
5994
|
-
}
|
|
5995
|
-
|
|
5996
6476
|
declare class DateUtilsService {
|
|
5997
6477
|
/**
|
|
5998
6478
|
* Parses different date representations into a `Date` object.
|
|
@@ -6319,7 +6799,18 @@ interface DynamicFieldPreviewPreset {
|
|
|
6319
6799
|
label: string;
|
|
6320
6800
|
description: string;
|
|
6321
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
|
+
*/
|
|
6322
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>>;
|
|
6323
6814
|
}
|
|
6324
6815
|
interface DynamicFieldCatalogEntry {
|
|
6325
6816
|
id: string;
|
|
@@ -6330,7 +6821,7 @@ interface DynamicFieldCatalogEntry {
|
|
|
6330
6821
|
friendlyName: string;
|
|
6331
6822
|
description: string;
|
|
6332
6823
|
tags: string[];
|
|
6333
|
-
|
|
6824
|
+
intentExamples: string[];
|
|
6334
6825
|
valueShape: string;
|
|
6335
6826
|
recommendedWhen: string[];
|
|
6336
6827
|
avoidWhen: string[];
|
|
@@ -6403,6 +6894,10 @@ declare const DISPLAY_ACTION_AI_CAPABILITIES: CapabilityCatalog;
|
|
|
6403
6894
|
|
|
6404
6895
|
declare const YEAR_INPUT_AI_CAPABILITIES: CapabilityCatalog;
|
|
6405
6896
|
|
|
6897
|
+
declare const PRAXIS_DYNAMIC_FIELDS_AUTHORING_MANIFEST: ComponentAuthoringManifest;
|
|
6898
|
+
|
|
6899
|
+
declare const PRAXIS_DYNAMIC_FIELDS_AUTHORING_PROFILES: ManifestControlProfile[];
|
|
6900
|
+
|
|
6406
6901
|
/**
|
|
6407
6902
|
* @fileoverview Custom Error State Matcher for Praxis Dynamic Fields
|
|
6408
6903
|
*
|
|
@@ -6659,5 +7154,5 @@ declare function normalizeFormMetadata(input: FieldMetadata[] | JsonSchema): Fie
|
|
|
6659
7154
|
declare const CLEAR_BUTTON_CONTROL_TYPES: Set<string>;
|
|
6660
7155
|
declare function supportsClearButtonControlType(controlType?: string | null): boolean;
|
|
6661
7156
|
|
|
6662
|
-
export {
|
|
6663
|
-
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 };
|