@praxisui/dynamic-fields 8.0.0-beta.7 → 8.0.0-beta.70
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 +204 -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 +502 -0
- package/docs/dynamic-fields-inline-filter-custom-component-guide.md +241 -0
- package/docs/dynamic-fields-inline-filter-inventory.md +247 -0
- package/docs/dynamic-fields-inline-filter-runtime-contract.md +391 -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 +206 -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-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 +19551 -10669
- 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 +551 -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} +874 -440
- 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
|
@@ -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;
|
|
@@ -541,8 +550,11 @@ declare abstract class SimpleBaseInputComponent implements ControlValueAccessor,
|
|
|
541
550
|
readonly includeReadonly?: boolean;
|
|
542
551
|
readonly includePresentation?: boolean;
|
|
543
552
|
}): boolean;
|
|
553
|
+
protected isValidationVisualSuppressedByState(): boolean;
|
|
544
554
|
protected resolveInlineContextTooltipLabel(): string;
|
|
555
|
+
inputAriaLabel(): string | null;
|
|
545
556
|
protected stringifyInlineContextValue(value: unknown): string;
|
|
557
|
+
protected composeInlineChipDisplayText(label: string, value: string): string;
|
|
546
558
|
private truncateInlineTooltipText;
|
|
547
559
|
private humanizeInlineFieldName;
|
|
548
560
|
/** Gate to control when inline errors may display (debounced for 'change') */
|
|
@@ -697,6 +709,9 @@ declare abstract class SimpleBaseInputComponent implements ControlValueAccessor,
|
|
|
697
709
|
protected getSpecificCssClasses(): string[];
|
|
698
710
|
private setupFormControlIntegration;
|
|
699
711
|
private syncComponentStateFromControl;
|
|
712
|
+
private handleMaskedNativeInput;
|
|
713
|
+
protected applyNativeDisplayMask(value?: unknown): void;
|
|
714
|
+
private resolveNativeDisplayMask;
|
|
700
715
|
private refreshErrorTooltip;
|
|
701
716
|
protected ariaInvalidAttribute(): 'true' | null;
|
|
702
717
|
protected tDynamicFields(keySuffix: string, fallback: string, params?: Record<string, string | number | boolean | null | undefined>): string;
|
|
@@ -739,8 +754,9 @@ interface BasicButtonState {
|
|
|
739
754
|
error: Error | null;
|
|
740
755
|
}
|
|
741
756
|
interface ButtonAction {
|
|
742
|
-
type: 'navigation' | 'external-link' | 'custom' | 'form-action';
|
|
757
|
+
type: 'navigation' | 'external-link' | 'global' | 'custom' | 'form-action';
|
|
743
758
|
target?: string;
|
|
759
|
+
globalAction?: GlobalActionRef;
|
|
744
760
|
payload?: any;
|
|
745
761
|
confirmation?: {
|
|
746
762
|
title: string;
|
|
@@ -756,6 +772,7 @@ declare abstract class SimpleBaseButtonComponent implements OnInit, OnDestroy, B
|
|
|
756
772
|
protected readonly cdr: ChangeDetectorRef;
|
|
757
773
|
protected readonly router: Router;
|
|
758
774
|
protected readonly dialog: MatDialog;
|
|
775
|
+
protected readonly globalActions: GlobalActionService | null;
|
|
759
776
|
protected readonly i18n: PraxisI18nService;
|
|
760
777
|
protected readonly dynamicFieldsI18n: PraxisDynamicFieldsI18nOverrides | null;
|
|
761
778
|
/** Subject para eventos de lifecycle */
|
|
@@ -964,6 +981,7 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
|
|
|
964
981
|
/** Holds error message when option loading fails */
|
|
965
982
|
readonly error: _angular_core.WritableSignal<string | null>;
|
|
966
983
|
private readonly matSelectInitEffect;
|
|
984
|
+
private readonly multipleControlNormalizationEffect;
|
|
967
985
|
/** CRUD service for remote option loading (optional) */
|
|
968
986
|
protected readonly crudService: GenericCrudService<any> | null;
|
|
969
987
|
/** Emits whenever the selected value(s) change */
|
|
@@ -981,7 +999,7 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
|
|
|
981
999
|
private remoteOptionsLoadDestroyHookRegistered;
|
|
982
1000
|
protected readonly global: GlobalConfigService;
|
|
983
1001
|
private dependencySub;
|
|
984
|
-
|
|
1002
|
+
protected remoteSelectionHydrationSub: Subscription | null;
|
|
985
1003
|
private hasLoadedOnce;
|
|
986
1004
|
/** Options filtered according to the current `searchTerm` */
|
|
987
1005
|
readonly filteredOptions: _angular_core.Signal<SelectOption<T>[]>;
|
|
@@ -1001,6 +1019,8 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
|
|
|
1001
1019
|
protected defaultPanelClass(): string | string[] | undefined;
|
|
1002
1020
|
selectPanelClass(): string[];
|
|
1003
1021
|
protected isInteractionDisabled(): boolean;
|
|
1022
|
+
protected normalizeMultipleControlValue(): void;
|
|
1023
|
+
setExternalControl(control: AbstractControl): void;
|
|
1004
1024
|
/** Whether to show the clear button (if enabled in metadata) */
|
|
1005
1025
|
showClear(): boolean;
|
|
1006
1026
|
/** Clears the selection according to single/multiple mode */
|
|
@@ -1093,6 +1113,9 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
|
|
|
1093
1113
|
selectOption(option: SelectOption<T>): void;
|
|
1094
1114
|
/** Checks if the provided value is currently selected */
|
|
1095
1115
|
isSelected(value: T): boolean;
|
|
1116
|
+
isOptionDisabled(option: SelectOption<T>): boolean;
|
|
1117
|
+
protected areOptionValuesEqual(left: unknown, right: unknown): boolean;
|
|
1118
|
+
protected normalizeComparableOptionValue(value: unknown): unknown;
|
|
1096
1119
|
/**
|
|
1097
1120
|
* Toggles selection of all options when `selectAll` is enabled in multiple
|
|
1098
1121
|
* selection mode.
|
|
@@ -1136,6 +1159,12 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
|
|
|
1136
1159
|
protected extractDependencyValue(raw: any, path?: string): any;
|
|
1137
1160
|
protected applyDependencyCriteria(fragment: Record<string, any>, strategy?: 'merge' | 'replace'): void;
|
|
1138
1161
|
protected onDependenciesChanged(): void;
|
|
1162
|
+
protected resolveDependencyFields(meta: SimpleSelectMetadata<T> & Record<string, any>): string[] | undefined;
|
|
1163
|
+
protected resolveDependencyFilterMap(meta: SimpleSelectMetadata<T> & Record<string, any>): Record<string, string | {
|
|
1164
|
+
key: string;
|
|
1165
|
+
valuePath?: string;
|
|
1166
|
+
}> | undefined;
|
|
1167
|
+
protected resolveDependencyValuePathConfig(meta: SimpleSelectMetadata<T> & Record<string, any>): string | Record<string, string> | undefined;
|
|
1139
1168
|
private getByPath;
|
|
1140
1169
|
private setByPath;
|
|
1141
1170
|
private unsetByPath;
|
|
@@ -1429,6 +1458,11 @@ declare class DynamicFieldLoaderDirective implements OnInit, OnDestroy, OnChange
|
|
|
1429
1458
|
field: FieldMetadata;
|
|
1430
1459
|
element: HTMLElement;
|
|
1431
1460
|
}>;
|
|
1461
|
+
/** @internal Emits when a field receives focus in canvas mode */
|
|
1462
|
+
canvasFocus: EventEmitter<{
|
|
1463
|
+
field: FieldMetadata;
|
|
1464
|
+
element: HTMLElement;
|
|
1465
|
+
}>;
|
|
1432
1466
|
/** Mapa interno de componentes criados */
|
|
1433
1467
|
private componentRefs;
|
|
1434
1468
|
/** Mapa de shells criados */
|
|
@@ -1539,6 +1573,8 @@ declare class DynamicFieldLoaderDirective implements OnInit, OnDestroy, OnChange
|
|
|
1539
1573
|
/**
|
|
1540
1574
|
* Reatribui apenas os FormControls existentes aos componentes/shells sem refazer a renderização.
|
|
1541
1575
|
*/
|
|
1576
|
+
private hasSameRenderShape;
|
|
1577
|
+
private updateExistingFieldMetadata;
|
|
1542
1578
|
private rebindControlsOnly;
|
|
1543
1579
|
/** Destroi todos os componentes e limpa o container */
|
|
1544
1580
|
private destroyComponents;
|
|
@@ -1557,11 +1593,10 @@ declare class DynamicFieldLoaderDirective implements OnInit, OnDestroy, OnChange
|
|
|
1557
1593
|
*/
|
|
1558
1594
|
private inferControlTypeFromField;
|
|
1559
1595
|
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>;
|
|
1596
|
+
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
1597
|
}
|
|
1562
1598
|
|
|
1563
1599
|
declare class MaterialButtonComponent extends SimpleBaseButtonComponent implements OnDestroy {
|
|
1564
|
-
private readonly actionResolver;
|
|
1565
1600
|
private readonly keyboardService;
|
|
1566
1601
|
private unregisterShortcut?;
|
|
1567
1602
|
/** Estado adicional específico do Material Button */
|
|
@@ -1635,6 +1670,50 @@ declare class ConfirmDialogComponent {
|
|
|
1635
1670
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ConfirmDialogComponent, "pdx-confirm-dialog", never, {}, {}, never, never, true, never>;
|
|
1636
1671
|
}
|
|
1637
1672
|
|
|
1673
|
+
declare class EditableCollectionComponent implements BaseDynamicFieldComponent {
|
|
1674
|
+
private readonly dynamicForm;
|
|
1675
|
+
private readonly i18n;
|
|
1676
|
+
private readonly collectionRoot?;
|
|
1677
|
+
private readonly addButton?;
|
|
1678
|
+
readonly metadata: _angular_core.WritableSignal<ComponentMetadata | null>;
|
|
1679
|
+
readonly componentId: _angular_core.WritableSignal<string>;
|
|
1680
|
+
readonly formControl: _angular_core.WritableSignal<AbstractControl<any, any, any> | null>;
|
|
1681
|
+
readonlyMode: boolean;
|
|
1682
|
+
disabledMode: boolean;
|
|
1683
|
+
visible: boolean;
|
|
1684
|
+
presentationMode: boolean;
|
|
1685
|
+
label: string;
|
|
1686
|
+
readonly arrayControl: _angular_core.Signal<FormArray<any> | null>;
|
|
1687
|
+
readonly itemFields: _angular_core.Signal<FieldMetadata[]>;
|
|
1688
|
+
itemGroups(): FormGroup[];
|
|
1689
|
+
readonly arrayConfig: _angular_core.Signal<FieldArrayConfig>;
|
|
1690
|
+
readonly headingId: _angular_core.Signal<string>;
|
|
1691
|
+
readonly errorId: _angular_core.Signal<string>;
|
|
1692
|
+
setInputMetadata(metadata: ComponentMetadata): void;
|
|
1693
|
+
setExternalControl(control: AbstractControl): void;
|
|
1694
|
+
focus(): void;
|
|
1695
|
+
blur(): void;
|
|
1696
|
+
addItem(): void;
|
|
1697
|
+
removeItem(index: number): void;
|
|
1698
|
+
canAdd(): boolean;
|
|
1699
|
+
canShowAdd(): boolean;
|
|
1700
|
+
canRemove(_index: number): boolean;
|
|
1701
|
+
canShowRemove(_index: number): boolean;
|
|
1702
|
+
isInteractionDisabled(): boolean;
|
|
1703
|
+
isItemEditReadonly(): boolean;
|
|
1704
|
+
addLabel(): string;
|
|
1705
|
+
removeLabel(): string;
|
|
1706
|
+
emptyState(): string;
|
|
1707
|
+
hasVisibleErrors(): boolean;
|
|
1708
|
+
itemTitle(group: FormGroup, index: number): string;
|
|
1709
|
+
errorMessages(): string[];
|
|
1710
|
+
trackItem(index: number, group: FormGroup): unknown;
|
|
1711
|
+
private readPath;
|
|
1712
|
+
private t;
|
|
1713
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EditableCollectionComponent, never>;
|
|
1714
|
+
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>;
|
|
1715
|
+
}
|
|
1716
|
+
|
|
1638
1717
|
declare class TextInputComponent extends SimpleBaseInputComponent {
|
|
1639
1718
|
readonly validationChange: _angular_core.OutputEmitterRef<ValidationErrors | null>;
|
|
1640
1719
|
readonlyMode: boolean;
|
|
@@ -1662,7 +1741,7 @@ declare class TextInputComponent extends SimpleBaseInputComponent {
|
|
|
1662
1741
|
setInputMetadata(metadata: MaterialInputMetadata): void;
|
|
1663
1742
|
showClear(): boolean;
|
|
1664
1743
|
onClearClick(): void;
|
|
1665
|
-
errorStateMatcher():
|
|
1744
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
1666
1745
|
private clearButtonConfig;
|
|
1667
1746
|
private metadataRecord;
|
|
1668
1747
|
private metadataAsField;
|
|
@@ -1702,13 +1781,14 @@ declare class ColorInputComponent extends SimpleBaseInputComponent {
|
|
|
1702
1781
|
ngOnInit(): void;
|
|
1703
1782
|
validateField(): Promise<ValidationErrors | null>;
|
|
1704
1783
|
protected getSpecificCssClasses(): string[];
|
|
1784
|
+
effectiveFloatLabelBehavior(): 'always';
|
|
1705
1785
|
/** Applies component metadata with strong typing. */
|
|
1706
1786
|
setInputMetadata(metadata: MaterialColorInputMetadata): void;
|
|
1707
1787
|
/** Programmatically opens the native color picker if supported. */
|
|
1708
1788
|
openNativePicker(): void;
|
|
1709
1789
|
onNativeColorChange(event: Event): void;
|
|
1710
1790
|
previewColor(): string;
|
|
1711
|
-
errorStateMatcher():
|
|
1791
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
1712
1792
|
isReadonlyEffective(): boolean;
|
|
1713
1793
|
openMenu(): void;
|
|
1714
1794
|
onSwatchClick(c: string): void;
|
|
@@ -1764,7 +1844,7 @@ declare class DateInputComponent extends SimpleBaseInputComponent {
|
|
|
1764
1844
|
protected getSpecificCssClasses(): string[];
|
|
1765
1845
|
/** Applies component metadata with strong typing. */
|
|
1766
1846
|
setInputMetadata(metadata: MaterialDateInputMetadata): void;
|
|
1767
|
-
errorStateMatcher():
|
|
1847
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
1768
1848
|
private metadataAsField;
|
|
1769
1849
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DateInputComponent, never>;
|
|
1770
1850
|
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>;
|
|
@@ -1787,19 +1867,25 @@ declare class MaterialDatepickerComponent extends SimpleBaseInputComponent {
|
|
|
1787
1867
|
readonly minDate: _angular_core.Signal<any>;
|
|
1788
1868
|
readonly maxDate: _angular_core.Signal<any>;
|
|
1789
1869
|
readonly startAt: _angular_core.Signal<any>;
|
|
1870
|
+
setExternalControl(control: AbstractControl): void;
|
|
1871
|
+
writeValue(value: unknown): void;
|
|
1872
|
+
setValue(value: unknown, options?: Parameters<SimpleBaseInputComponent['setValue']>[1]): void;
|
|
1790
1873
|
onDateChange(event: MatDatepickerInputEvent<Date | null>): void;
|
|
1791
1874
|
validateField(): Promise<ValidationErrors | null>;
|
|
1792
1875
|
protected getSpecificCssClasses(): string[];
|
|
1793
1876
|
/** Applies component metadata with strong typing. */
|
|
1794
1877
|
setDatepickerMetadata(metadata: MaterialDatepickerMetadata): void;
|
|
1795
1878
|
isReadonlyEffective(): boolean;
|
|
1796
|
-
|
|
1879
|
+
isInputReadonly(): boolean;
|
|
1880
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
1797
1881
|
showClear(): boolean;
|
|
1798
1882
|
onClearClick(): void;
|
|
1799
1883
|
private clearButtonConfig;
|
|
1800
1884
|
private metadataRecordForClear;
|
|
1801
1885
|
private metadataAsField;
|
|
1802
1886
|
private parseDateOnlyString;
|
|
1887
|
+
private coerceCurrentControlValue;
|
|
1888
|
+
private coerceDateValue;
|
|
1803
1889
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialDatepickerComponent, never>;
|
|
1804
1890
|
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
1891
|
}
|
|
@@ -1836,16 +1922,26 @@ declare class MaterialDateRangeComponent extends SimpleBaseInputComponent implem
|
|
|
1836
1922
|
readonly maxDate: _angular_core.Signal<any>;
|
|
1837
1923
|
readonly startAt: _angular_core.Signal<any>;
|
|
1838
1924
|
overlayOpen: boolean;
|
|
1925
|
+
readonly shortcutOverlayViewportMargin = 12;
|
|
1926
|
+
private pickerOpen;
|
|
1839
1927
|
private readonly dateAdapter;
|
|
1840
1928
|
picker: MatDateRangePicker<Date>;
|
|
1929
|
+
private endDateInput?;
|
|
1841
1930
|
readonly shouldShowShortcuts: () => boolean;
|
|
1842
1931
|
readonly overlayPositions: () => ConnectedPosition[];
|
|
1932
|
+
private shortcutOverlayBelowPositions;
|
|
1933
|
+
private shortcutOverlayLeftPositions;
|
|
1934
|
+
private shortcutOverlayRightPositions;
|
|
1843
1935
|
readonly resolvedPresets: _angular_core.Signal<Record<string, DateRangePreset>>;
|
|
1844
1936
|
readonly shortcutItems: _angular_core.Signal<DateRangeShortcutItem[]>;
|
|
1845
1937
|
readonly activePresetId: () => string | null;
|
|
1846
1938
|
writeValue(value: unknown): void;
|
|
1847
1939
|
ngOnInit(): void;
|
|
1848
1940
|
protected shouldPropagateRangeGroupChanges(): boolean;
|
|
1941
|
+
protected focusEndDateInput(event: Event): void;
|
|
1942
|
+
private propagateRangeValue;
|
|
1943
|
+
private isEmptyRangeValue;
|
|
1944
|
+
private areDatesEqual;
|
|
1849
1945
|
validateField(): Promise<ValidationErrors | null>;
|
|
1850
1946
|
protected getSpecificCssClasses(): string[];
|
|
1851
1947
|
/** Applies component metadata with strong typing. */
|
|
@@ -1853,7 +1949,7 @@ declare class MaterialDateRangeComponent extends SimpleBaseInputComponent implem
|
|
|
1853
1949
|
/** Standard API for manual form metadata updates */
|
|
1854
1950
|
setInputMetadata(metadata: MaterialDateRangeMetadata): void;
|
|
1855
1951
|
isReadonlyEffective(): boolean;
|
|
1856
|
-
errorStateMatcher():
|
|
1952
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
1857
1953
|
openShortcuts(): void;
|
|
1858
1954
|
closeShortcuts(): void;
|
|
1859
1955
|
onOverlayDetach(): void;
|
|
@@ -1886,7 +1982,7 @@ declare class DatetimeLocalInputComponent extends SimpleBaseInputComponent {
|
|
|
1886
1982
|
protected getSpecificCssClasses(): string[];
|
|
1887
1983
|
/** Applies component metadata with strong typing. */
|
|
1888
1984
|
setInputMetadata(metadata: MaterialDatetimeLocalInputMetadata): void;
|
|
1889
|
-
errorStateMatcher():
|
|
1985
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
1890
1986
|
/**
|
|
1891
1987
|
* Datetime-local input is officially minute-granularity only.
|
|
1892
1988
|
* Non-minute step values fallback to 60s.
|
|
@@ -1919,7 +2015,7 @@ declare class EmailInputComponent extends SimpleBaseInputComponent {
|
|
|
1919
2015
|
protected getSpecificCssClasses(): string[];
|
|
1920
2016
|
/** Applies component metadata with strong typing. */
|
|
1921
2017
|
setInputMetadata(metadata: MaterialEmailInputMetadata): void;
|
|
1922
|
-
errorStateMatcher():
|
|
2018
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
1923
2019
|
isReadonlyEffective(): boolean;
|
|
1924
2020
|
private metadataAsField;
|
|
1925
2021
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EmailInputComponent, never>;
|
|
@@ -1999,7 +2095,7 @@ declare class NumberInputComponent extends SimpleBaseInputComponent {
|
|
|
1999
2095
|
ngOnInit(): void;
|
|
2000
2096
|
validateField(): Promise<ValidationErrors | null>;
|
|
2001
2097
|
protected getSpecificCssClasses(): string[];
|
|
2002
|
-
errorStateMatcher():
|
|
2098
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2003
2099
|
/** Applies component metadata with strong typing. */
|
|
2004
2100
|
setInputMetadata(metadata: MaterialNumericMetadata): void;
|
|
2005
2101
|
private applyNumericValidators;
|
|
@@ -2055,7 +2151,7 @@ declare class MaterialCurrencyComponent extends SimpleBaseInputComponent {
|
|
|
2055
2151
|
protected currencySymbol(): string;
|
|
2056
2152
|
protected getSpecificCssClasses(): string[];
|
|
2057
2153
|
onClearClick(): void;
|
|
2058
|
-
errorStateMatcher():
|
|
2154
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2059
2155
|
private minValidator?;
|
|
2060
2156
|
private maxValidator?;
|
|
2061
2157
|
private syncCurrencyValidators;
|
|
@@ -2065,6 +2161,7 @@ declare class MaterialCurrencyComponent extends SimpleBaseInputComponent {
|
|
|
2065
2161
|
/** Formats the input value without touching or changing focus state. */
|
|
2066
2162
|
formatDisplayValue(): void;
|
|
2067
2163
|
writeValue(value: unknown): void;
|
|
2164
|
+
protected applyNativeDisplayMask(): void;
|
|
2068
2165
|
validateField(): Promise<ValidationErrors | null>;
|
|
2069
2166
|
readonlyMode: boolean;
|
|
2070
2167
|
set disabledMode(value: boolean);
|
|
@@ -2095,7 +2192,7 @@ declare class MaterialCpfCnpjInputComponent extends SimpleBaseInputComponent {
|
|
|
2095
2192
|
cpfCnpjMetadata: _angular_core.Signal<MaterialCpfCnpjMetadata | null>;
|
|
2096
2193
|
getSpecificCssClasses(): string[];
|
|
2097
2194
|
setInputMetadata(metadata: MaterialCpfCnpjMetadata): void;
|
|
2098
|
-
errorStateMatcher():
|
|
2195
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2099
2196
|
onComponentInit(): void;
|
|
2100
2197
|
private setupDynamicValidator;
|
|
2101
2198
|
isReadonlyEffective(): boolean;
|
|
@@ -2184,7 +2281,7 @@ declare class MonthInputComponent extends SimpleBaseInputComponent {
|
|
|
2184
2281
|
protected getSpecificCssClasses(): string[];
|
|
2185
2282
|
/** Applies component metadata with strong typing. */
|
|
2186
2283
|
setInputMetadata(metadata: MaterialMonthInputMetadata): void;
|
|
2187
|
-
errorStateMatcher():
|
|
2284
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2188
2285
|
isReadonlyEffective(): boolean;
|
|
2189
2286
|
private metadataAsField;
|
|
2190
2287
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MonthInputComponent, never>;
|
|
@@ -2221,7 +2318,7 @@ declare class PasswordInputComponent extends SimpleBaseInputComponent {
|
|
|
2221
2318
|
onRevealToggleClick(event: MouseEvent): void;
|
|
2222
2319
|
/** Applies typed metadata to the component. */
|
|
2223
2320
|
setInputMetadata(metadata: MaterialPasswordMetadata): void;
|
|
2224
|
-
errorStateMatcher():
|
|
2321
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2225
2322
|
isReadonlyEffective(): boolean;
|
|
2226
2323
|
private metadataAsField;
|
|
2227
2324
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PasswordInputComponent, never>;
|
|
@@ -2248,7 +2345,7 @@ declare class SearchInputComponent extends SimpleBaseInputComponent {
|
|
|
2248
2345
|
protected getSpecificCssClasses(): string[];
|
|
2249
2346
|
/** Applies component metadata with strong typing. */
|
|
2250
2347
|
setInputMetadata(metadata: MaterialSearchInputMetadata): void;
|
|
2251
|
-
errorStateMatcher():
|
|
2348
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2252
2349
|
isReadonlyEffective(): boolean;
|
|
2253
2350
|
private metadataAsField;
|
|
2254
2351
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SearchInputComponent, never>;
|
|
@@ -2263,7 +2360,7 @@ declare class MaterialSelectComponent extends SimpleBaseSelectComponent {
|
|
|
2263
2360
|
protected defaultPanelClass(): string;
|
|
2264
2361
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
2265
2362
|
ngOnInit(): void;
|
|
2266
|
-
errorStateMatcher():
|
|
2363
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2267
2364
|
private optionsFromLegacy;
|
|
2268
2365
|
private normalizeOption;
|
|
2269
2366
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialSelectComponent, never>;
|
|
@@ -2287,7 +2384,7 @@ declare class InlineSelectComponent extends SimpleBaseSelectComponent {
|
|
|
2287
2384
|
protected setMetadata(metadata: MaterialSelectMetadata): void;
|
|
2288
2385
|
onComponentInit(): void;
|
|
2289
2386
|
onViewportResize(): void;
|
|
2290
|
-
errorStateMatcher():
|
|
2387
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2291
2388
|
protected getSpecificCssClasses(): string[];
|
|
2292
2389
|
hasSelection(): boolean;
|
|
2293
2390
|
displayText(): string;
|
|
@@ -2331,13 +2428,14 @@ interface SearchableSelectMetadata {
|
|
|
2331
2428
|
selectAll?: boolean;
|
|
2332
2429
|
maxSelections?: number;
|
|
2333
2430
|
resourcePath?: string;
|
|
2431
|
+
optionSource?: OptionSourceMetadata;
|
|
2334
2432
|
filterCriteria?: Record<string, unknown>;
|
|
2335
2433
|
optionLabelKey?: string;
|
|
2336
2434
|
optionValueKey?: string;
|
|
2337
2435
|
loadOn?: LoadStrategy$1;
|
|
2338
2436
|
dependencyLoadOnChange?: DependencyLoadMode$1;
|
|
2339
2437
|
}
|
|
2340
|
-
declare class MaterialSearchableSelectComponent extends SimpleBaseSelectComponent {
|
|
2438
|
+
declare class MaterialSearchableSelectComponent extends SimpleBaseSelectComponent implements DoCheck {
|
|
2341
2439
|
readonlyMode: boolean;
|
|
2342
2440
|
disabledMode: boolean;
|
|
2343
2441
|
visible: boolean;
|
|
@@ -2346,10 +2444,18 @@ declare class MaterialSearchableSelectComponent extends SimpleBaseSelectComponen
|
|
|
2346
2444
|
private readonly store;
|
|
2347
2445
|
readonly endReached: _angular_core.WritableSignal<boolean>;
|
|
2348
2446
|
private initialLoadStrategy;
|
|
2447
|
+
private disabledModeAppliedToControl;
|
|
2448
|
+
ngDoCheck(): void;
|
|
2349
2449
|
protected defaultPanelClass(): string;
|
|
2350
2450
|
setSelectMetadata(metadata: SearchableSelectMetadata): void;
|
|
2351
2451
|
ngOnInit(): void;
|
|
2352
|
-
errorStateMatcher():
|
|
2452
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2453
|
+
searchableSelectAriaDisabled(): 'true' | null;
|
|
2454
|
+
searchableSelectAriaReadonly(): 'true' | null;
|
|
2455
|
+
isOptionDisabled(option: SelectOption<unknown>): boolean;
|
|
2456
|
+
selectOption(option: SelectOption<unknown>): void;
|
|
2457
|
+
toggleSelectAll(): void;
|
|
2458
|
+
onClearClick(): void;
|
|
2353
2459
|
searchInputAriaLabel(): string;
|
|
2354
2460
|
onSearchInputEvent(event: Event): void;
|
|
2355
2461
|
onOpened(opened: boolean): void;
|
|
@@ -2362,6 +2468,7 @@ declare class MaterialSearchableSelectComponent extends SimpleBaseSelectComponen
|
|
|
2362
2468
|
protected registerMatSelect(select: MatSelect): void;
|
|
2363
2469
|
reload(reset: boolean): void;
|
|
2364
2470
|
protected onDependenciesChanged(): void;
|
|
2471
|
+
private syncDisabledModeControlState;
|
|
2365
2472
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialSearchableSelectComponent, never>;
|
|
2366
2473
|
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
2474
|
}
|
|
@@ -2374,10 +2481,11 @@ declare class InlineSearchableSelectComponent extends MaterialSearchableSelectCo
|
|
|
2374
2481
|
protected setMetadata(metadata: MaterialSelectMetadata): void;
|
|
2375
2482
|
onComponentInit(): void;
|
|
2376
2483
|
onViewportResize(): void;
|
|
2377
|
-
errorStateMatcher():
|
|
2484
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2378
2485
|
protected getSpecificCssClasses(): string[];
|
|
2379
2486
|
hasSelection(): boolean;
|
|
2380
2487
|
selectedCount(): number;
|
|
2488
|
+
additionalSelectedCount(): number;
|
|
2381
2489
|
displayText(): string;
|
|
2382
2490
|
showQuickClear(): boolean;
|
|
2383
2491
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
@@ -2403,6 +2511,13 @@ declare class InlineSearchableSelectComponent extends MaterialSearchableSelectCo
|
|
|
2403
2511
|
|
|
2404
2512
|
type LoadStrategy = 'open' | 'init' | 'none';
|
|
2405
2513
|
type DependencyLoadMode = 'respectLoadOn' | 'immediate' | 'manual';
|
|
2514
|
+
type OptionId = string | number;
|
|
2515
|
+
type AsyncOption = OptionDTO<OptionId>;
|
|
2516
|
+
type AsyncRenderedOption = {
|
|
2517
|
+
label: string;
|
|
2518
|
+
value: unknown;
|
|
2519
|
+
disabled?: boolean;
|
|
2520
|
+
};
|
|
2406
2521
|
interface AsyncSelectMetadata {
|
|
2407
2522
|
selectOptions?: Array<{
|
|
2408
2523
|
label?: string;
|
|
@@ -2440,6 +2555,9 @@ declare class MaterialAsyncSelectComponent extends SimpleBaseSelectComponent {
|
|
|
2440
2555
|
presentationMode: boolean;
|
|
2441
2556
|
private searchInput?;
|
|
2442
2557
|
readonly termControl: FormControl<string | null>;
|
|
2558
|
+
readonly activeLookupFilters: _angular_core.WritableSignal<LookupFilterRequest[]>;
|
|
2559
|
+
readonly selectedLookupSortKey: _angular_core.WritableSignal<string | null>;
|
|
2560
|
+
protected readonly remoteTotalElements: _angular_core.WritableSignal<number | null>;
|
|
2443
2561
|
private readonly store;
|
|
2444
2562
|
readonly endReached: _angular_core.WritableSignal<boolean>;
|
|
2445
2563
|
private cursorAfter;
|
|
@@ -2449,24 +2567,43 @@ declare class MaterialAsyncSelectComponent extends SimpleBaseSelectComponent {
|
|
|
2449
2567
|
protected defaultPanelClass(): string;
|
|
2450
2568
|
private isCategoricalBucketOptionSource;
|
|
2451
2569
|
setSelectMetadata(metadata: AsyncSelectMetadata): void;
|
|
2452
|
-
errorStateMatcher():
|
|
2570
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2453
2571
|
searchInputAriaLabel(): string;
|
|
2454
2572
|
ngOnInit(): void;
|
|
2455
2573
|
onOpened(opened: boolean): void;
|
|
2456
2574
|
private getSelectedIds;
|
|
2457
2575
|
private preloadSelected;
|
|
2458
2576
|
private refreshOptions;
|
|
2577
|
+
protected currentLookupFiltering(): LookupFilteringMetadata | null;
|
|
2578
|
+
lookupSortOptions(): LookupSortOptionMetadata[];
|
|
2579
|
+
lookupFilterDefinitions(): LookupFilterDefinitionMetadata[];
|
|
2580
|
+
protected initializeLookupFilteringState(): void;
|
|
2581
|
+
protected buildDefaultLookupFilters(filtering: LookupFilteringMetadata): LookupFilterRequest[];
|
|
2582
|
+
protected normalizeLookupFilterValue(operator: LookupFilterRequest['operator'], values: unknown[]): unknown;
|
|
2583
|
+
hasLookupFiltering(): boolean;
|
|
2584
|
+
hasLookupSortOptions(): boolean;
|
|
2585
|
+
hasMultipleLookupSortOptions(): boolean;
|
|
2586
|
+
hasActiveLookupFilters(): boolean;
|
|
2587
|
+
lookupFilterForField(field: string): LookupFilterRequest | undefined;
|
|
2588
|
+
setLookupSortKey(sortKey: string | null): void;
|
|
2589
|
+
clearLookupFilters(field?: string): void;
|
|
2590
|
+
replaceLookupFilters(filters: LookupFilterRequest[]): void;
|
|
2591
|
+
protected refreshLookupQueryState(): void;
|
|
2459
2592
|
private runQuery;
|
|
2460
2593
|
loadMore(): void;
|
|
2461
2594
|
retry(): void;
|
|
2462
2595
|
handleKey(event: KeyboardEvent): void;
|
|
2463
2596
|
protected registerMatSelect(select: MatSelect): void;
|
|
2464
2597
|
reload(reset: boolean): void;
|
|
2598
|
+
protected setupRemoteSelectionHydration(): void;
|
|
2465
2599
|
protected onDependenciesChanged(): void;
|
|
2600
|
+
private ensureCurrentValueLoadedByIds;
|
|
2466
2601
|
private missingOptionLabel;
|
|
2467
2602
|
private loadOptionsErrorLabel;
|
|
2468
|
-
|
|
2469
|
-
|
|
2603
|
+
protected mapRemoteOption(option: AsyncOption): AsyncRenderedOption;
|
|
2604
|
+
protected resolveRemoteOptionValue(option: AsyncOption): unknown;
|
|
2605
|
+
protected resolveRemoteOptionDisabled(option: AsyncOption): boolean;
|
|
2606
|
+
protected areOptionValuesEqual(left: unknown, right: unknown): boolean;
|
|
2470
2607
|
private normalizeRemoteOptionValue;
|
|
2471
2608
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialAsyncSelectComponent, never>;
|
|
2472
2609
|
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 +2640,11 @@ declare class InlineAsyncSelectComponent extends MaterialAsyncSelectComponent {
|
|
|
2503
2640
|
protected setMetadata(metadata: MaterialSelectMetadata): void;
|
|
2504
2641
|
onComponentInit(): void;
|
|
2505
2642
|
onViewportResize(): void;
|
|
2506
|
-
errorStateMatcher():
|
|
2643
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2507
2644
|
protected getSpecificCssClasses(): string[];
|
|
2508
2645
|
hasSelection(): boolean;
|
|
2509
2646
|
selectedCount(): number;
|
|
2647
|
+
additionalSelectedCount(): number;
|
|
2510
2648
|
displayText(): string;
|
|
2511
2649
|
showQuickClear(): boolean;
|
|
2512
2650
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
@@ -2539,6 +2677,30 @@ type LookupOption = {
|
|
|
2539
2677
|
value: unknown;
|
|
2540
2678
|
disabled?: boolean;
|
|
2541
2679
|
};
|
|
2680
|
+
interface EntityLookupViewModel {
|
|
2681
|
+
id: string;
|
|
2682
|
+
identity: string;
|
|
2683
|
+
code: string;
|
|
2684
|
+
label: string;
|
|
2685
|
+
description: string;
|
|
2686
|
+
status: string;
|
|
2687
|
+
statusTone: LookupStatusTone;
|
|
2688
|
+
selectable: boolean;
|
|
2689
|
+
selectionState: EntityLookupResultState;
|
|
2690
|
+
disabledReason: string;
|
|
2691
|
+
detailHref: string;
|
|
2692
|
+
detailRoute: string;
|
|
2693
|
+
badges: string[];
|
|
2694
|
+
richFields: EntityLookupRichFieldViewModel[];
|
|
2695
|
+
}
|
|
2696
|
+
interface EntityLookupRichFieldViewModel {
|
|
2697
|
+
key: string;
|
|
2698
|
+
label: string;
|
|
2699
|
+
value: string;
|
|
2700
|
+
icon: string;
|
|
2701
|
+
presentation: string;
|
|
2702
|
+
tone: LookupStatusTone | 'info';
|
|
2703
|
+
}
|
|
2542
2704
|
interface LookupClearButtonConfig {
|
|
2543
2705
|
enabled?: boolean;
|
|
2544
2706
|
ariaLabel?: string;
|
|
@@ -2552,14 +2714,22 @@ interface LookupAutoSizeConfig {
|
|
|
2552
2714
|
interface LookupMaterialDesignConfig {
|
|
2553
2715
|
density?: string;
|
|
2554
2716
|
}
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2717
|
+
interface LookupFilterChipViewModel {
|
|
2718
|
+
field: string;
|
|
2719
|
+
label: string;
|
|
2720
|
+
valueText: string;
|
|
2721
|
+
}
|
|
2722
|
+
interface SelectedLookupTokenViewModel {
|
|
2723
|
+
identity: string;
|
|
2724
|
+
text: string;
|
|
2725
|
+
title: string;
|
|
2726
|
+
}
|
|
2727
|
+
interface EntityLookupDialogData {
|
|
2728
|
+
metadata: MaterialEntityLookupMetadata;
|
|
2729
|
+
value: unknown;
|
|
2730
|
+
title?: string;
|
|
2731
|
+
}
|
|
2732
|
+
type EntityLookupMetadata = MaterialEntityLookupMetadata & {
|
|
2563
2733
|
optionLabelKey?: string;
|
|
2564
2734
|
optionValueKey?: string;
|
|
2565
2735
|
clearButton?: LookupClearButtonConfig | false | null;
|
|
@@ -2568,22 +2738,83 @@ type EntityLookupMetadata = MaterialSelectMetadata & {
|
|
|
2568
2738
|
density?: string;
|
|
2569
2739
|
};
|
|
2570
2740
|
declare class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
2741
|
+
private readonly dialog;
|
|
2742
|
+
private readonly globalActions;
|
|
2743
|
+
private readonly resourceDiscovery;
|
|
2744
|
+
private readonly surfaceOpenAdapter;
|
|
2571
2745
|
inlineMinWidthPx: number;
|
|
2572
2746
|
inlineMaxWidthPx: number;
|
|
2573
2747
|
private fieldLabelText;
|
|
2574
2748
|
private staticOptions;
|
|
2749
|
+
set initialMetadata(metadata: MaterialEntityLookupMetadata | null | undefined);
|
|
2575
2750
|
private currentMetadata;
|
|
2576
2751
|
setSelectMetadata(metadata: EntityLookupMetadata): void;
|
|
2577
2752
|
protected setMetadata(metadata: MaterialSelectMetadata): void;
|
|
2578
2753
|
onComponentInit(): void;
|
|
2579
2754
|
onViewportResize(): void;
|
|
2580
|
-
errorStateMatcher():
|
|
2755
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2581
2756
|
protected getSpecificCssClasses(): string[];
|
|
2757
|
+
selectPanelClasses(): string[];
|
|
2582
2758
|
hasSelection(): boolean;
|
|
2583
2759
|
selectedCount(): number;
|
|
2584
2760
|
displayText(): string;
|
|
2761
|
+
richLayoutEnabled(): boolean;
|
|
2762
|
+
selectedCardLayout(): boolean;
|
|
2763
|
+
selectedCompactLayout(): boolean;
|
|
2764
|
+
fullFieldLayout(): boolean;
|
|
2765
|
+
showFieldDependencyHint(): boolean;
|
|
2766
|
+
showFieldSearchHint(): boolean;
|
|
2767
|
+
emptyTriggerIconName(): string;
|
|
2768
|
+
emptyTriggerSupportingText(): string;
|
|
2769
|
+
emptyTriggerContextText(): string;
|
|
2770
|
+
selectedLookupView(): EntityLookupViewModel | null;
|
|
2771
|
+
selectedLookupViews(): EntityLookupViewModel[];
|
|
2772
|
+
visibleSelectedLookupTokens(): SelectedLookupTokenViewModel[];
|
|
2773
|
+
hiddenSelectedLookupTokenCount(): number;
|
|
2774
|
+
isSelected(option: LookupOption): boolean;
|
|
2775
|
+
showSelectedTokenRemove(): boolean;
|
|
2776
|
+
selectedTokenRemoveAriaLabel(text: string): string;
|
|
2777
|
+
onRemoveSelectedToken(event: MouseEvent, identity: string): void;
|
|
2778
|
+
optionLookupView(option: LookupOption): EntityLookupViewModel;
|
|
2779
|
+
showCode(): boolean;
|
|
2780
|
+
showDescription(): boolean;
|
|
2781
|
+
showStatus(): boolean;
|
|
2782
|
+
showAvatar(): boolean;
|
|
2783
|
+
showBadges(): boolean;
|
|
2784
|
+
showDisabledReason(): boolean;
|
|
2785
|
+
showResultCount(): boolean;
|
|
2786
|
+
resultCountText(): string;
|
|
2787
|
+
hasVisibleBadges(item: EntityLookupViewModel): boolean;
|
|
2788
|
+
visibleBadges(item: EntityLookupViewModel): string[];
|
|
2789
|
+
statusBadgeClass(item: EntityLookupViewModel): string;
|
|
2790
|
+
lookupInitials(item: EntityLookupViewModel): string;
|
|
2791
|
+
showDetailAction(item: EntityLookupViewModel): boolean;
|
|
2792
|
+
private hasGovernedDetailSurface;
|
|
2793
|
+
showChangeAction(): boolean;
|
|
2794
|
+
showCopyCodeAction(item: EntityLookupViewModel): boolean;
|
|
2795
|
+
showCopyIdAction(item: EntityLookupViewModel): boolean;
|
|
2796
|
+
showCreateAction(): boolean;
|
|
2797
|
+
detailActionText(): string;
|
|
2798
|
+
changeActionText(): string;
|
|
2799
|
+
copyCodeActionText(): string;
|
|
2800
|
+
copyIdActionText(): string;
|
|
2801
|
+
createActionText(): string;
|
|
2802
|
+
clearActionText(): string;
|
|
2803
|
+
selectionLimitReachedText(maxSelections: number | null | undefined): string;
|
|
2804
|
+
onDetailAction(event: MouseEvent, item: EntityLookupViewModel): void;
|
|
2805
|
+
private openDetailSurface;
|
|
2806
|
+
private tryOpenGovernedDetailSurface;
|
|
2807
|
+
private itemSurfacesHref;
|
|
2808
|
+
private selectDetailSurface;
|
|
2809
|
+
private lookupDetailPresentation;
|
|
2810
|
+
private detailSurfaceTitle;
|
|
2811
|
+
onChangeAction(event: MouseEvent): void;
|
|
2812
|
+
onCopyCodeAction(event: MouseEvent, item: EntityLookupViewModel): void;
|
|
2813
|
+
onCopyIdAction(event: MouseEvent, item: EntityLookupViewModel): void;
|
|
2814
|
+
onCreateAction(event: MouseEvent): void;
|
|
2585
2815
|
optionPrimaryText(option: LookupOption): string;
|
|
2586
2816
|
optionSecondaryText(option: LookupOption): string;
|
|
2817
|
+
protected resolveRemoteOptionValue(option: OptionDTO<string | number>): EntityLookupResult<string | number>;
|
|
2587
2818
|
resetOptionText(): string;
|
|
2588
2819
|
showQuickClear(): boolean;
|
|
2589
2820
|
onResetOptionClick(event: MouseEvent): void;
|
|
@@ -2594,36 +2825,253 @@ declare class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
2594
2825
|
onSearchInput(term: string): void;
|
|
2595
2826
|
showLoadMore(): boolean;
|
|
2596
2827
|
showEndReachedMessage(): boolean;
|
|
2828
|
+
showErrorStateOption(): boolean;
|
|
2829
|
+
showDependencyStateOption(): boolean;
|
|
2830
|
+
showEmptyStateOption(): boolean;
|
|
2831
|
+
onRetryClick(event: MouseEvent): void;
|
|
2832
|
+
errorStateLabel(): string;
|
|
2833
|
+
dependencyStateLabel(): string;
|
|
2834
|
+
emptyStateLabel(): string;
|
|
2597
2835
|
onLoadMoreClick(event: MouseEvent): void;
|
|
2598
2836
|
placeholderText(): string;
|
|
2599
2837
|
searchPlaceholderText(): string;
|
|
2838
|
+
showLookupToolbar(): boolean;
|
|
2839
|
+
showLookupSortControl(): boolean;
|
|
2840
|
+
lookupSortSelectValue(): string;
|
|
2841
|
+
onLookupSortSelectionChange(event: Event): void;
|
|
2842
|
+
activeLookupFilterChips(): LookupFilterChipViewModel[];
|
|
2843
|
+
clearAllLookupFilters(event: MouseEvent): void;
|
|
2844
|
+
clearLookupFilterChip(event: MouseEvent, field: string): void;
|
|
2845
|
+
sortLabelText(): string;
|
|
2846
|
+
sortDefaultOptionText(): string;
|
|
2847
|
+
clearAllFiltersText(): string;
|
|
2848
|
+
currentDialogMetadata(): LookupDialogMetadata | null;
|
|
2849
|
+
dialogEnabled(): boolean;
|
|
2850
|
+
showDialogOption(): boolean;
|
|
2851
|
+
dialogOpenActionText(): string;
|
|
2852
|
+
dialogOpenSupportingText(): string;
|
|
2853
|
+
dialogContextSupportingText(hasActiveFilters: boolean): string;
|
|
2854
|
+
dialogApplyActionText(): string;
|
|
2855
|
+
dialogFilterPanelToggleText(open: boolean): string;
|
|
2856
|
+
dialogFilterPlaceholderText(operator: LookupFilterOperator, type: LookupFilterFieldType): string;
|
|
2857
|
+
dialogFilterOperatorHintText(operator: LookupFilterOperator): string;
|
|
2858
|
+
dialogApplyFiltersActionText(): string;
|
|
2859
|
+
dialogClearFiltersActionText(): string;
|
|
2860
|
+
dialogFilterSelectEmptyText(label: string): string;
|
|
2861
|
+
dialogFilterStartAriaLabelText(label: string): string;
|
|
2862
|
+
dialogFilterEndAriaLabelText(label: string): string;
|
|
2863
|
+
dialogPreviewSelectionStateLabelText(): string;
|
|
2864
|
+
dialogPreviewSelectionStateText(state: EntityLookupResultState): string;
|
|
2865
|
+
dialogSearchAriaLabelText(): string;
|
|
2866
|
+
dialogResultsAriaLabelText(): string;
|
|
2867
|
+
dialogFiltersAriaLabelText(): string;
|
|
2868
|
+
dialogPreviewAriaLabelText(): string;
|
|
2869
|
+
dialogResultOptionAriaLabel(item: EntityLookupViewModel): string;
|
|
2870
|
+
dialogCancelActionText(): string;
|
|
2871
|
+
dialogTitleText(): string;
|
|
2872
|
+
onOpenDialogClick(event: MouseEvent): void;
|
|
2600
2873
|
panelSearchIconName(fallback?: string): string;
|
|
2601
2874
|
panelSearchIconColor(): string | undefined;
|
|
2602
2875
|
panelResetIconName(fallback?: string): string;
|
|
2603
2876
|
panelResetIconColor(): string | undefined;
|
|
2604
2877
|
ariaLabel(): string;
|
|
2878
|
+
interactionDisabled(): boolean;
|
|
2879
|
+
readonlySummaryText(): string;
|
|
2880
|
+
private lookupDialogMetadata;
|
|
2881
|
+
private resolveDialogWidth;
|
|
2882
|
+
private humanizeLookupField;
|
|
2883
|
+
private interpolateLookupText;
|
|
2884
|
+
private lookupDependencyLabels;
|
|
2885
|
+
private missingDependencyLabels;
|
|
2886
|
+
private hasDependencyValue;
|
|
2887
|
+
private humanizeLookupDependencyField;
|
|
2888
|
+
private lookupFilterValueText;
|
|
2889
|
+
inlineTooltipText(): string;
|
|
2605
2890
|
private resolveLookupText;
|
|
2891
|
+
private lookupViewFromValue;
|
|
2606
2892
|
private resolveLookupData;
|
|
2607
2893
|
private buildLookupPrimaryText;
|
|
2608
2894
|
private fallbackLookupText;
|
|
2609
2895
|
private lookupIdKey;
|
|
2896
|
+
private lookupIdKeys;
|
|
2610
2897
|
private lookupLabelKey;
|
|
2898
|
+
private lookupCodeKeys;
|
|
2899
|
+
private lookupLabelKeys;
|
|
2611
2900
|
private lookupSubtitleKey;
|
|
2901
|
+
private lookupSubtitleKeys;
|
|
2902
|
+
private lookupStatusKeys;
|
|
2903
|
+
private resolveLookupSelectable;
|
|
2904
|
+
private lookupBadges;
|
|
2905
|
+
richFieldToneClass(field: EntityLookupRichFieldViewModel): string;
|
|
2906
|
+
private lookupRichFields;
|
|
2907
|
+
private lookupRichFieldFromDescriptor;
|
|
2908
|
+
private asRichFieldArray;
|
|
2909
|
+
private formatLookupRichFieldValue;
|
|
2910
|
+
private normalizeLookupTone;
|
|
2911
|
+
private classifyLookupSelectionState;
|
|
2912
|
+
private resolveStatusTone;
|
|
2612
2913
|
private lookupSeparator;
|
|
2613
2914
|
private normalizeLookupText;
|
|
2915
|
+
private normalizeLookupOptionalText;
|
|
2916
|
+
private parseLookupSelectableValue;
|
|
2614
2917
|
private firstDefined;
|
|
2918
|
+
private lookupSubtitleText;
|
|
2919
|
+
private uniqueLookupKeys;
|
|
2615
2920
|
private equalsOptionValue;
|
|
2921
|
+
private resolveLookupIdentity;
|
|
2922
|
+
displayPreset(): string;
|
|
2923
|
+
private displayDensity;
|
|
2924
|
+
private lookupDisplayConfig;
|
|
2925
|
+
private lookupDisplayBoolean;
|
|
2926
|
+
private readLookupPath;
|
|
2927
|
+
private isPrimitiveLookupValue;
|
|
2616
2928
|
private asRecord;
|
|
2929
|
+
private lookupOptionSource;
|
|
2930
|
+
private resolveDetailHref;
|
|
2931
|
+
private resolveDetailRoute;
|
|
2932
|
+
private applyLookupTemplate;
|
|
2617
2933
|
private resolveFieldLabelFromMetadata;
|
|
2618
2934
|
private currentSearchTerm;
|
|
2935
|
+
private hasUnmetDependencies;
|
|
2936
|
+
private resolveDependencyValuePathFor;
|
|
2937
|
+
private hasMeaningfulDependencyValue;
|
|
2619
2938
|
private applyStaticOptionsFilter;
|
|
2620
2939
|
private humanizeFieldName;
|
|
2940
|
+
private maxVisibleSelectedTokens;
|
|
2941
|
+
private removeSelectionByIdentity;
|
|
2621
2942
|
private recalculateInlineSizeBounds;
|
|
2622
2943
|
private resolveWidthBounds;
|
|
2623
2944
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InlineEntityLookupComponent, never>;
|
|
2624
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InlineEntityLookupComponent, "pdx-inline-entity-lookup", never, {}, {}, never, never, true, never>;
|
|
2945
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InlineEntityLookupComponent, "pdx-inline-entity-lookup", never, { "initialMetadata": { "alias": "initialMetadata"; "required": false; }; }, {}, never, never, true, never>;
|
|
2946
|
+
}
|
|
2947
|
+
declare class EntityLookupDialogComponent implements AfterViewInit {
|
|
2948
|
+
readonly data: EntityLookupDialogData;
|
|
2949
|
+
private readonly destroyRef;
|
|
2950
|
+
private readonly hostRef;
|
|
2951
|
+
private readonly dialogRef;
|
|
2952
|
+
readonly lookup: _angular_core.Signal<InlineEntityLookupComponent>;
|
|
2953
|
+
readonly selectionControl: FormControl<unknown>;
|
|
2954
|
+
readonly dialogSearchControl: FormControl<string | null>;
|
|
2955
|
+
readonly filterPanelOpen: FormControl<boolean>;
|
|
2956
|
+
private readonly dialogFilterControls;
|
|
2957
|
+
private readonly dialogFilterSecondaryControls;
|
|
2958
|
+
private previewIdentity;
|
|
2959
|
+
private activeResultIndex;
|
|
2960
|
+
ngAfterViewInit(): void;
|
|
2961
|
+
apply(): void;
|
|
2962
|
+
cancel(): void;
|
|
2963
|
+
applyText(): string;
|
|
2964
|
+
cancelText(): string;
|
|
2965
|
+
searchPlaceholder(): string;
|
|
2966
|
+
dialogSearchAriaLabel(): string;
|
|
2967
|
+
dialogResultsAriaLabel(): string;
|
|
2968
|
+
dialogFiltersAriaLabel(): string;
|
|
2969
|
+
dialogPreviewAriaLabel(): string;
|
|
2970
|
+
showSortControl(): boolean;
|
|
2971
|
+
sortOptions(): _praxisui_core.LookupSortOptionMetadata[];
|
|
2972
|
+
sortValue(): string;
|
|
2973
|
+
onSortChange(event: Event): void;
|
|
2974
|
+
sortLabel(): string;
|
|
2975
|
+
sortDefaultLabel(): string;
|
|
2976
|
+
dialogIntroText(): string;
|
|
2977
|
+
dialogContextText(): string;
|
|
2978
|
+
hasStructuredDialogFilters(): boolean;
|
|
2979
|
+
showFilterPanel(): boolean;
|
|
2980
|
+
toggleFilterPanel(): void;
|
|
2981
|
+
dialogFilterDefinitions(): LookupFilterDefinitionMetadata[];
|
|
2982
|
+
filterPanelToggleText(): string;
|
|
2983
|
+
filterControl(field: string): FormControl<unknown>;
|
|
2984
|
+
filterSecondaryControl(field: string): FormControl<unknown>;
|
|
2985
|
+
dialogFilterLabel(definition: LookupFilterDefinitionMetadata): string;
|
|
2986
|
+
dialogFilterPlaceholder(definition: LookupFilterDefinitionMetadata): string;
|
|
2987
|
+
dialogFilterRangeEndPlaceholder(definition: LookupFilterDefinitionMetadata): string;
|
|
2988
|
+
dialogFilterStartAriaLabel(definition: LookupFilterDefinitionMetadata): string;
|
|
2989
|
+
dialogFilterEndAriaLabel(definition: LookupFilterDefinitionMetadata): string;
|
|
2990
|
+
dialogFilterInputType(definition: LookupFilterDefinitionMetadata): 'text' | 'date' | 'number';
|
|
2991
|
+
useDialogEnumSelect(definition: LookupFilterDefinitionMetadata): boolean;
|
|
2992
|
+
useDialogMultiSelect(definition: LookupFilterDefinitionMetadata): boolean;
|
|
2993
|
+
useDialogRangeInputs(definition: LookupFilterDefinitionMetadata): boolean;
|
|
2994
|
+
dialogFilterSelectEmptyText(definition: LookupFilterDefinitionMetadata): string;
|
|
2995
|
+
dialogEnumOptions(definition: LookupFilterDefinitionMetadata): Array<{
|
|
2996
|
+
value: string;
|
|
2997
|
+
label: string;
|
|
2998
|
+
}>;
|
|
2999
|
+
dialogOperatorHint(definition: LookupFilterDefinitionMetadata): string;
|
|
3000
|
+
applyDialogFiltersText(): string;
|
|
3001
|
+
clearDialogFiltersText(): string;
|
|
3002
|
+
applyDialogFilters(): void;
|
|
3003
|
+
resetDialogFilters(): void;
|
|
3004
|
+
dialogColumns(): LookupResultColumnMetadata[];
|
|
3005
|
+
showResultTable(): boolean;
|
|
3006
|
+
showCardResultLayout(): boolean;
|
|
3007
|
+
showCompactResultLayout(): boolean;
|
|
3008
|
+
dialogColumnLabel(column: LookupResultColumnMetadata): string;
|
|
3009
|
+
columnFlex(column: LookupResultColumnMetadata): string;
|
|
3010
|
+
dialogCellText(option: LookupOption, column: LookupResultColumnMetadata): string;
|
|
3011
|
+
resultOptions(): _praxisui_dynamic_fields.SelectOption<any>[];
|
|
3012
|
+
hasResultRows(): boolean;
|
|
3013
|
+
hasSelection(): boolean;
|
|
3014
|
+
canApply(): boolean;
|
|
3015
|
+
selectedSummaryText(): string;
|
|
3016
|
+
selectedDisabledReason(): string;
|
|
3017
|
+
selectResult(option: LookupOption): void;
|
|
3018
|
+
isSelected(option: LookupOption): boolean;
|
|
3019
|
+
resultOptionDisabled(option: LookupOption): boolean;
|
|
3020
|
+
loadMore(): void;
|
|
3021
|
+
resultState(option: LookupOption): EntityLookupResultState;
|
|
3022
|
+
resultRowTitle(option: LookupOption): string | null;
|
|
3023
|
+
resultRowId(index: number): string;
|
|
3024
|
+
resultRowTabIndex(index: number): number;
|
|
3025
|
+
resultRowAriaLabel(option: LookupOption): string;
|
|
3026
|
+
setActiveResult(index: number, option: LookupOption): void;
|
|
3027
|
+
onResultRowKeydown(event: KeyboardEvent, index: number, option: LookupOption): void;
|
|
3028
|
+
showPreviewDetailAction(item: EntityLookupViewModel): boolean;
|
|
3029
|
+
showPreviewCopyCodeAction(item: EntityLookupViewModel): boolean;
|
|
3030
|
+
showPreviewCopyIdAction(item: EntityLookupViewModel): boolean;
|
|
3031
|
+
showPreviewCreateAction(): boolean;
|
|
3032
|
+
showPreviewClearAction(): boolean;
|
|
3033
|
+
onPreviewDetailAction(event: MouseEvent, item: EntityLookupViewModel): void;
|
|
3034
|
+
onPreviewCopyCodeAction(event: MouseEvent, item: EntityLookupViewModel): void;
|
|
3035
|
+
onPreviewCopyIdAction(event: MouseEvent, item: EntityLookupViewModel): void;
|
|
3036
|
+
onPreviewCreateAction(event: MouseEvent): void;
|
|
3037
|
+
onPreviewClearAction(event: MouseEvent): void;
|
|
3038
|
+
showPreviewPanel(): boolean;
|
|
3039
|
+
previewItem(): EntityLookupViewModel | null;
|
|
3040
|
+
setPreviewFromOption(option: LookupOption): void;
|
|
3041
|
+
previewSelectionStateLabel(): string;
|
|
3042
|
+
previewSelectionStateText(item: EntityLookupViewModel): string;
|
|
3043
|
+
private initializeDialogFilters;
|
|
3044
|
+
private dialogFilterEmptyValue;
|
|
3045
|
+
private serializeDialogFilterSingleValue;
|
|
3046
|
+
private serializeDialogFilterScalarValue;
|
|
3047
|
+
private buildDialogFilterRequest;
|
|
3048
|
+
private normalizeDialogFilterControlValue;
|
|
3049
|
+
private normalizeDialogFilterScalarValue;
|
|
3050
|
+
private resolveDialogFilterFieldValue;
|
|
3051
|
+
private pushDialogEnumOption;
|
|
3052
|
+
private syncPreviewIdentity;
|
|
3053
|
+
private focusResultRow;
|
|
3054
|
+
private normalizeOptionValue;
|
|
3055
|
+
private normalizeInitialDialogValue;
|
|
3056
|
+
private initialSelectionSnapshot;
|
|
3057
|
+
private selectionSnapshot;
|
|
3058
|
+
private selectedValueCount;
|
|
3059
|
+
private toggleMultipleSelection;
|
|
3060
|
+
private dialogCustomCellText;
|
|
3061
|
+
private humanizeColumnField;
|
|
3062
|
+
private optionIdentity;
|
|
3063
|
+
private dialogHasConfiguredColumns;
|
|
3064
|
+
private dialogResultLayout;
|
|
3065
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityLookupDialogComponent, never>;
|
|
3066
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityLookupDialogComponent, "pdx-entity-lookup-dialog", never, {}, {}, never, never, true, never>;
|
|
3067
|
+
}
|
|
3068
|
+
|
|
3069
|
+
interface InlineMultiSelectTokenViewModel {
|
|
3070
|
+
value: unknown;
|
|
3071
|
+
text: string;
|
|
3072
|
+
title: string;
|
|
3073
|
+
trackKey: string;
|
|
2625
3074
|
}
|
|
2626
|
-
|
|
2627
3075
|
declare class InlineMultiSelectComponent extends SimpleBaseSelectComponent {
|
|
2628
3076
|
readonlyMode: boolean;
|
|
2629
3077
|
disabledMode: boolean;
|
|
@@ -2638,14 +3086,23 @@ declare class InlineMultiSelectComponent extends SimpleBaseSelectComponent {
|
|
|
2638
3086
|
protected setMetadata(metadata: MaterialSelectMetadata): void;
|
|
2639
3087
|
onComponentInit(): void;
|
|
2640
3088
|
onViewportResize(): void;
|
|
2641
|
-
errorStateMatcher():
|
|
3089
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2642
3090
|
protected getSpecificCssClasses(): string[];
|
|
2643
3091
|
hasSelection(): boolean;
|
|
2644
3092
|
selectedCount(): number;
|
|
2645
3093
|
displayText(): string;
|
|
3094
|
+
selectedTokens(): InlineMultiSelectTokenViewModel[];
|
|
3095
|
+
visibleSelectedTokens(): InlineMultiSelectTokenViewModel[];
|
|
3096
|
+
hiddenSelectedTokenCount(): number;
|
|
3097
|
+
hiddenSelectedTokenTitle(): string;
|
|
3098
|
+
selectedTokensAriaLabel(): string;
|
|
3099
|
+
selectedTokenRemoveAriaLabel(text: string): string;
|
|
3100
|
+
selectedPanelTitle(): string;
|
|
3101
|
+
selectedPanelRemoveHint(): string;
|
|
2646
3102
|
showQuickClear(): boolean;
|
|
2647
3103
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
2648
3104
|
onQuickClear(event: MouseEvent): void;
|
|
3105
|
+
onRemoveSelectedToken(event: MouseEvent, value: unknown): void;
|
|
2649
3106
|
onOpenedChange(opened: boolean): void;
|
|
2650
3107
|
onSearchInput(term: string): void;
|
|
2651
3108
|
onSearchInputEvent(event: Event): void;
|
|
@@ -2657,6 +3114,8 @@ declare class InlineMultiSelectComponent extends SimpleBaseSelectComponent {
|
|
|
2657
3114
|
private currentValues;
|
|
2658
3115
|
private resolveOptionLabel;
|
|
2659
3116
|
private equalsOptionValue;
|
|
3117
|
+
private maxVisibleSelectedTokens;
|
|
3118
|
+
private stringifyTokenValue;
|
|
2660
3119
|
private resolveFieldLabelFromMetadata;
|
|
2661
3120
|
private humanizeFieldName;
|
|
2662
3121
|
private recalculateInlineSizeBounds;
|
|
@@ -2676,6 +3135,7 @@ declare class InlineInputComponent extends SimpleBaseInputComponent {
|
|
|
2676
3135
|
inlineWidthPx: number;
|
|
2677
3136
|
inlineMaxWidthPx: number;
|
|
2678
3137
|
private resizeRafId;
|
|
3138
|
+
private maskSyncRafId;
|
|
2679
3139
|
private currentMetadata;
|
|
2680
3140
|
private metadataRecord;
|
|
2681
3141
|
private asRecord;
|
|
@@ -2687,19 +3147,24 @@ declare class InlineInputComponent extends SimpleBaseInputComponent {
|
|
|
2687
3147
|
protected getSpecificCssClasses(): string[];
|
|
2688
3148
|
isReadonlyEffective(): boolean;
|
|
2689
3149
|
showQuickClear(): boolean;
|
|
3150
|
+
hasInlineValue(): boolean;
|
|
2690
3151
|
showInlinePlaceholder(): boolean;
|
|
2691
3152
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
2692
3153
|
onQuickClear(event: MouseEvent): void;
|
|
2693
|
-
onInlineInput(): void;
|
|
3154
|
+
onInlineInput(event?: Event): void;
|
|
2694
3155
|
widthProbeText(): string;
|
|
2695
3156
|
placeholderText(): string;
|
|
2696
3157
|
ariaLabel(): string;
|
|
2697
|
-
errorStateMatcher():
|
|
3158
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2698
3159
|
private scheduleInlineResize;
|
|
3160
|
+
private scheduleMaskedDisplaySync;
|
|
2699
3161
|
private recalculateInlineWidth;
|
|
2700
3162
|
private resolveWidthBounds;
|
|
2701
3163
|
private resolveChromeWidth;
|
|
2702
3164
|
private parsePx;
|
|
3165
|
+
private syncMaskedDisplayValue;
|
|
3166
|
+
private formatInlineDisplayValue;
|
|
3167
|
+
private resolveDisplayMask;
|
|
2703
3168
|
private resolveFieldLabelFromMetadata;
|
|
2704
3169
|
private humanizeFieldName;
|
|
2705
3170
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InlineInputComponent, never>;
|
|
@@ -2718,7 +3183,7 @@ declare class MaterialAutocompleteComponent extends SimpleBaseSelectComponent<Au
|
|
|
2718
3183
|
private initialLoadStrategy;
|
|
2719
3184
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
2720
3185
|
ngOnInit(): void;
|
|
2721
|
-
errorStateMatcher():
|
|
3186
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2722
3187
|
autocompleteInputAriaLabel(): string;
|
|
2723
3188
|
noResultsLabel(): string;
|
|
2724
3189
|
onSearchInputEvent(event: Event): void;
|
|
@@ -2772,7 +3237,7 @@ declare class InlineAutocompleteComponent extends MaterialAutocompleteComponent
|
|
|
2772
3237
|
widthProbeText(): string;
|
|
2773
3238
|
placeholderText(): string;
|
|
2774
3239
|
ariaLabel(): string;
|
|
2775
|
-
errorStateMatcher():
|
|
3240
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2776
3241
|
private currentSearchTerm;
|
|
2777
3242
|
private applyStaticOptionsFilter;
|
|
2778
3243
|
private resolveValueLabel;
|
|
@@ -2839,7 +3304,7 @@ declare class InlineNumberComponent extends SimpleBaseInputComponent {
|
|
|
2839
3304
|
widthProbeText(): string;
|
|
2840
3305
|
placeholderText(): string;
|
|
2841
3306
|
ariaLabel(): string;
|
|
2842
|
-
errorStateMatcher():
|
|
3307
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2843
3308
|
private hasValue;
|
|
2844
3309
|
private syncNumericValidators;
|
|
2845
3310
|
private scheduleInlineResize;
|
|
@@ -2916,7 +3381,7 @@ declare class InlineCurrencyComponent extends SimpleBaseInputComponent {
|
|
|
2916
3381
|
placeholderText(): string;
|
|
2917
3382
|
ariaLabel(): string;
|
|
2918
3383
|
currencySymbol(): string;
|
|
2919
|
-
errorStateMatcher():
|
|
3384
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
2920
3385
|
private hasValue;
|
|
2921
3386
|
private scheduleInlineResize;
|
|
2922
3387
|
private recalculateInlineWidth;
|
|
@@ -3002,6 +3467,12 @@ declare class InlineCurrencyRangeComponent extends SimpleBaseInputComponent {
|
|
|
3002
3467
|
currentSelectionText(): string;
|
|
3003
3468
|
currentStartLabel(): string;
|
|
3004
3469
|
currentEndLabel(): string;
|
|
3470
|
+
sliderStartThumbValue(): number;
|
|
3471
|
+
sliderEndThumbValue(): number;
|
|
3472
|
+
currentStartPosition(): string;
|
|
3473
|
+
currentEndPosition(): string;
|
|
3474
|
+
currentStartPositionPercent(): number;
|
|
3475
|
+
currentEndPositionPercent(): number;
|
|
3005
3476
|
placeholderText(): string;
|
|
3006
3477
|
panelTitle(): string;
|
|
3007
3478
|
ariaLabel(): string;
|
|
@@ -3010,6 +3481,8 @@ declare class InlineCurrencyRangeComponent extends SimpleBaseInputComponent {
|
|
|
3010
3481
|
onQuickClear(event: MouseEvent): void;
|
|
3011
3482
|
onTriggerClick(event: MouseEvent): void;
|
|
3012
3483
|
onTriggerKeydown(event: Event): void;
|
|
3484
|
+
onSliderStartInput(event: Event): void;
|
|
3485
|
+
onSliderEndInput(event: Event): void;
|
|
3013
3486
|
closePanel(): void;
|
|
3014
3487
|
onOverlayDetach(): void;
|
|
3015
3488
|
panelId(): string;
|
|
@@ -3018,6 +3491,7 @@ declare class InlineCurrencyRangeComponent extends SimpleBaseInputComponent {
|
|
|
3018
3491
|
private rebuildValidators;
|
|
3019
3492
|
private buildRangeValidator;
|
|
3020
3493
|
private syncRangeGroupFromControl;
|
|
3494
|
+
private updateRangeFromSlider;
|
|
3021
3495
|
private currentRangeValue;
|
|
3022
3496
|
private distributionVisual;
|
|
3023
3497
|
private resolveDistributionVisual;
|
|
@@ -3026,6 +3500,7 @@ declare class InlineCurrencyRangeComponent extends SimpleBaseInputComponent {
|
|
|
3026
3500
|
private normalizeRangeValue;
|
|
3027
3501
|
private areRangeValuesEqual;
|
|
3028
3502
|
private toFiniteNumberOrNull;
|
|
3503
|
+
private valuePositionPercent;
|
|
3029
3504
|
private toNonEmptyText;
|
|
3030
3505
|
private parseJsonValue;
|
|
3031
3506
|
private normalizePositivePx;
|
|
@@ -3136,6 +3611,7 @@ declare class InlineRangeSliderComponent extends SimpleBaseInputComponent {
|
|
|
3136
3611
|
maxValue(): number;
|
|
3137
3612
|
stepValue(): number;
|
|
3138
3613
|
showTickMarks(): boolean;
|
|
3614
|
+
valueLabelEnabled(): boolean;
|
|
3139
3615
|
isRangeMode(): boolean;
|
|
3140
3616
|
isInteractionBlocked(): boolean;
|
|
3141
3617
|
hasSelection(): boolean;
|
|
@@ -3341,7 +3817,7 @@ declare class InlineDateComponent extends MaterialDatepickerComponent {
|
|
|
3341
3817
|
onViewportResize(): void;
|
|
3342
3818
|
protected getSpecificCssClasses(): string[];
|
|
3343
3819
|
isReadonlyEffective(): boolean;
|
|
3344
|
-
errorStateMatcher():
|
|
3820
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
3345
3821
|
showQuickClear(): boolean;
|
|
3346
3822
|
showInlinePlaceholder(): boolean;
|
|
3347
3823
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
@@ -3402,7 +3878,7 @@ declare class InlineDateRangeComponent extends MaterialDateRangeComponent {
|
|
|
3402
3878
|
protected getSpecificCssClasses(): string[];
|
|
3403
3879
|
protected resolveInlineContextTooltipValue(): string;
|
|
3404
3880
|
panelClasses(): string[];
|
|
3405
|
-
errorStateMatcher():
|
|
3881
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
3406
3882
|
protected shouldPropagateRangeGroupChanges(): boolean;
|
|
3407
3883
|
showInlineQuickPresets(): boolean;
|
|
3408
3884
|
inlineQuickPresets(): InlineDateQuickPreset[];
|
|
@@ -3422,11 +3898,14 @@ declare class InlineDateRangeComponent extends MaterialDateRangeComponent {
|
|
|
3422
3898
|
isInteractionBlocked(): boolean;
|
|
3423
3899
|
showQuickClear(): boolean;
|
|
3424
3900
|
showInlinePlaceholder(): boolean;
|
|
3901
|
+
showInlineDisplayText(): boolean;
|
|
3902
|
+
usesInlineDisplayText(): boolean;
|
|
3425
3903
|
quickClearAriaLabel(): string;
|
|
3426
3904
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
3427
3905
|
onQuickClear(event: MouseEvent): void;
|
|
3428
3906
|
onInlineInput(): void;
|
|
3429
3907
|
onInputKeydown(event: Event, picker: MatDateRangePicker<Date>): void;
|
|
3908
|
+
onInputClick(event: Event): void;
|
|
3430
3909
|
onFieldContainerClick(picker: MatDateRangePicker<Date>, event: MouseEvent): void;
|
|
3431
3910
|
openPicker(picker: MatDateRangePicker<Date>, event: Event): void;
|
|
3432
3911
|
onOverlayOpened(): void;
|
|
@@ -3440,6 +3919,7 @@ declare class InlineDateRangeComponent extends MaterialDateRangeComponent {
|
|
|
3440
3919
|
endAriaLabel(): string;
|
|
3441
3920
|
widthProbeText(): string;
|
|
3442
3921
|
inlineExpandedLabel(): string;
|
|
3922
|
+
displayText(): string;
|
|
3443
3923
|
shouldShowInlineExpandedLabel(): boolean;
|
|
3444
3924
|
private commitDateRangeValue;
|
|
3445
3925
|
private currentRangeGroupValue;
|
|
@@ -3499,7 +3979,7 @@ declare class MaterialTimepickerComponent extends SimpleBaseInputComponent {
|
|
|
3499
3979
|
isReadonlyEffective(): boolean;
|
|
3500
3980
|
/** Calculates step attribute (seconds) based on metadata. */
|
|
3501
3981
|
stepAttribute(): number | null;
|
|
3502
|
-
errorStateMatcher():
|
|
3982
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
3503
3983
|
private parseTimeToSeconds;
|
|
3504
3984
|
private metadataAsField;
|
|
3505
3985
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialTimepickerComponent, never>;
|
|
@@ -3536,7 +4016,7 @@ declare class InlineTimeComponent extends MaterialTimepickerComponent {
|
|
|
3536
4016
|
onViewportResize(): void;
|
|
3537
4017
|
protected getSpecificCssClasses(): string[];
|
|
3538
4018
|
isReadonlyEffective(): boolean;
|
|
3539
|
-
errorStateMatcher():
|
|
4019
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
3540
4020
|
isInteractionBlocked(): boolean;
|
|
3541
4021
|
showQuickClear(): boolean;
|
|
3542
4022
|
showInlinePlaceholder(): boolean;
|
|
@@ -4051,6 +4531,7 @@ declare class InlinePipelineStatusComponent extends SimpleBaseSelectComponent<un
|
|
|
4051
4531
|
protected resolveInlineContextTooltipValue(): string;
|
|
4052
4532
|
hasSelection(): boolean;
|
|
4053
4533
|
displayText(): string;
|
|
4534
|
+
selectedChipValueText(): string;
|
|
4054
4535
|
showQuickClear(): boolean;
|
|
4055
4536
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
4056
4537
|
onQuickClear(event: MouseEvent): void;
|
|
@@ -4440,6 +4921,7 @@ declare class InlineColorLabelComponent extends SimpleBaseSelectComponent<unknow
|
|
|
4440
4921
|
protected resolveInlineContextTooltipValue(): string;
|
|
4441
4922
|
hasSelection(): boolean;
|
|
4442
4923
|
displayText(): string;
|
|
4924
|
+
selectedChipValueText(): string;
|
|
4443
4925
|
showQuickClear(): boolean;
|
|
4444
4926
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
4445
4927
|
onQuickClear(event: MouseEvent): void;
|
|
@@ -4497,20 +4979,28 @@ declare class InlineColorLabelComponent extends SimpleBaseSelectComponent<unknow
|
|
|
4497
4979
|
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
4980
|
}
|
|
4499
4981
|
|
|
4500
|
-
declare class MaterialMultiSelectComponent extends SimpleBaseSelectComponent {
|
|
4982
|
+
declare class MaterialMultiSelectComponent extends SimpleBaseSelectComponent implements DoCheck {
|
|
4501
4983
|
readonlyMode: boolean;
|
|
4502
4984
|
disabledMode: boolean;
|
|
4503
4985
|
visible: boolean;
|
|
4504
4986
|
presentationMode: boolean;
|
|
4987
|
+
private disabledModeAppliedToControl;
|
|
4988
|
+
ngDoCheck(): void;
|
|
4505
4989
|
protected defaultPanelClass(): string;
|
|
4506
4990
|
selectAllLabel(): string;
|
|
4991
|
+
multiSelectAriaDisabled(): 'true' | null;
|
|
4992
|
+
multiSelectAriaReadonly(): 'true' | null;
|
|
4993
|
+
selectOption(option: SelectOption<unknown>): void;
|
|
4994
|
+
toggleSelectAll(): void;
|
|
4995
|
+
onClearClick(): void;
|
|
4507
4996
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
4508
4997
|
/** Disables options when maxSelections reached */
|
|
4509
4998
|
isOptionDisabled(option: SelectOption<unknown>): boolean;
|
|
4510
4999
|
/** Emits optionSelected when a user picks an option */
|
|
4511
5000
|
onOptionSelectionChange(option: SelectOption<unknown>, event: MatOptionSelectionChange): void;
|
|
4512
|
-
errorStateMatcher():
|
|
5001
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
4513
5002
|
private optionsFromLegacy;
|
|
5003
|
+
private syncDisabledModeControlState;
|
|
4514
5004
|
private normalizeOption;
|
|
4515
5005
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialMultiSelectComponent, never>;
|
|
4516
5006
|
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 +5134,39 @@ declare class MaterialChipsComponent extends SimpleBaseSelectComponent {
|
|
|
4644
5134
|
private mapRawOption;
|
|
4645
5135
|
displayOption: (value: unknown) => string;
|
|
4646
5136
|
selectedOptions(): SelectOption[];
|
|
5137
|
+
isChipsInteractionDisabled(): boolean;
|
|
5138
|
+
canRemoveChips(): boolean;
|
|
5139
|
+
removeChipAriaLabel(option: SelectOption): string;
|
|
5140
|
+
selectOption(option: SelectOption): void;
|
|
4647
5141
|
removeChip(option: SelectOption): void;
|
|
4648
5142
|
onInputTokenEnd(event: MatChipInputEvent): void;
|
|
4649
5143
|
onSearchInputEvent(event: Event): void;
|
|
4650
5144
|
setInputMetadata(metadata: MaterialChipsMetadata): void;
|
|
4651
5145
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
4652
|
-
errorStateMatcher():
|
|
5146
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
4653
5147
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialChipsComponent, never>;
|
|
4654
5148
|
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
5149
|
}
|
|
4656
5150
|
|
|
4657
5151
|
declare class MaterialButtonToggleComponent extends SimpleBaseSelectComponent {
|
|
5152
|
+
readonlyMode: boolean;
|
|
5153
|
+
disabledMode: boolean;
|
|
5154
|
+
visible: boolean;
|
|
5155
|
+
presentationMode: boolean;
|
|
4658
5156
|
private asRecord;
|
|
4659
5157
|
private mapRawOption;
|
|
5158
|
+
labelId(): string;
|
|
5159
|
+
groupAriaLabel(): string | null;
|
|
5160
|
+
groupAriaLabelledby(): string | null;
|
|
5161
|
+
toggleInteractionDisabled(): boolean;
|
|
5162
|
+
toggleAriaDisabled(): 'true' | null;
|
|
5163
|
+
toggleAriaReadonly(): 'true' | null;
|
|
5164
|
+
readonlyEffective(): boolean;
|
|
4660
5165
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
4661
5166
|
protected getSpecificCssClasses(): string[];
|
|
4662
5167
|
onGroupChange(event: MatButtonToggleChange): void;
|
|
4663
5168
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialButtonToggleComponent, never>;
|
|
4664
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialButtonToggleComponent, "pdx-material-button-toggle", never, {}, {}, never, never, true, never>;
|
|
5169
|
+
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
5170
|
}
|
|
4666
5171
|
|
|
4667
5172
|
declare class MaterialSlideToggleComponent extends SimpleBaseInputComponent {
|
|
@@ -4669,6 +5174,11 @@ declare class MaterialSlideToggleComponent extends SimpleBaseInputComponent {
|
|
|
4669
5174
|
disabledMode: boolean;
|
|
4670
5175
|
visible: boolean;
|
|
4671
5176
|
presentationMode: boolean;
|
|
5177
|
+
requiredEffective(): boolean;
|
|
5178
|
+
toggleInteractionDisabled(): boolean;
|
|
5179
|
+
toggleAriaDisabled(): 'true' | null;
|
|
5180
|
+
toggleAriaReadonly(): 'true' | null;
|
|
5181
|
+
readonlyEffective(): boolean;
|
|
4672
5182
|
/** Applies component metadata with strong typing. */
|
|
4673
5183
|
setInputMetadata(metadata: MaterialToggleMetadata): void;
|
|
4674
5184
|
protected getSpecificCssClasses(): string[];
|
|
@@ -4676,16 +5186,60 @@ declare class MaterialSlideToggleComponent extends SimpleBaseInputComponent {
|
|
|
4676
5186
|
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
5187
|
}
|
|
4678
5188
|
|
|
5189
|
+
interface SliderDistributionBar$1 {
|
|
5190
|
+
id: string;
|
|
5191
|
+
ratio: number;
|
|
5192
|
+
selected: boolean;
|
|
5193
|
+
background?: string;
|
|
5194
|
+
color?: string;
|
|
5195
|
+
label?: string;
|
|
5196
|
+
}
|
|
5197
|
+
interface SliderSemanticBandView$1 {
|
|
5198
|
+
id: string;
|
|
5199
|
+
startPercent: number;
|
|
5200
|
+
widthPercent: number;
|
|
5201
|
+
tone: RangeSliderSemanticBand['tone'];
|
|
5202
|
+
color?: string;
|
|
5203
|
+
label?: string;
|
|
5204
|
+
}
|
|
4679
5205
|
declare class MaterialSliderComponent extends SimpleBaseInputComponent {
|
|
4680
5206
|
readonlyMode: boolean;
|
|
4681
5207
|
disabledMode: boolean;
|
|
4682
5208
|
visible: boolean;
|
|
4683
5209
|
presentationMode: boolean;
|
|
4684
5210
|
/** Display function for slider values */
|
|
4685
|
-
displayWithFn: (value: number) =>
|
|
5211
|
+
displayWithFn: (value: number) => string;
|
|
5212
|
+
sliderStep(): number;
|
|
5213
|
+
valueLabelEnabled(): boolean;
|
|
5214
|
+
showTickMarks(): boolean;
|
|
5215
|
+
trackMode(): 'normal' | 'inverted' | 'none';
|
|
5216
|
+
sliderSize(): 'small' | 'medium' | 'large';
|
|
5217
|
+
markLabels(): RangeSliderMark[];
|
|
5218
|
+
semanticBandViews(): SliderSemanticBandView$1[];
|
|
5219
|
+
distributionBars(): SliderDistributionBar$1[];
|
|
5220
|
+
sliderInteractionDisabled(): boolean;
|
|
5221
|
+
sliderAriaDisabled(): 'true' | null;
|
|
5222
|
+
sliderAriaReadonly(): 'true' | null;
|
|
5223
|
+
readonlyEffective(): boolean;
|
|
5224
|
+
markPosition(value: number): number;
|
|
4686
5225
|
/** Applies component metadata with strong typing. */
|
|
4687
5226
|
setInputMetadata(metadata: MaterialSliderMetadata): void;
|
|
4688
5227
|
protected getSpecificCssClasses(): string[];
|
|
5228
|
+
private currentMetadata;
|
|
5229
|
+
private resolveMarks;
|
|
5230
|
+
private parseJsonArray;
|
|
5231
|
+
private parseJsonObject;
|
|
5232
|
+
private normalizeTone;
|
|
5233
|
+
private resolveSemanticBands;
|
|
5234
|
+
private resolveDistributionBars;
|
|
5235
|
+
private normalizeDistributionColorMode;
|
|
5236
|
+
private isDistributionBarSelected;
|
|
5237
|
+
private resolveDistributionBarBackground;
|
|
5238
|
+
private stringConfig;
|
|
5239
|
+
formatSliderValue(value: unknown): string;
|
|
5240
|
+
private scaleValue;
|
|
5241
|
+
private formatStorageValue;
|
|
5242
|
+
private formatCurrencyValue;
|
|
4689
5243
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialSliderComponent, never>;
|
|
4690
5244
|
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
5245
|
}
|
|
@@ -4694,11 +5248,45 @@ type ThemeColor = 'primary' | 'secondary' | 'tertiary' | 'base' | 'info' | 'succ
|
|
|
4694
5248
|
type Rounded = 'full' | 'large' | 'medium' | 'small' | 'none';
|
|
4695
5249
|
type AvatarSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge' | 'none';
|
|
4696
5250
|
type FillMode = 'solid' | 'outline' | 'none';
|
|
5251
|
+
type AvatarStatus = 'online' | 'offline' | 'busy' | 'away' | 'verified' | 'none';
|
|
5252
|
+
type AvatarEmphasis = 'none' | 'ring' | 'halo';
|
|
4697
5253
|
type IconInput = string | SafeHtml | {
|
|
4698
5254
|
name?: string;
|
|
4699
5255
|
svg?: string;
|
|
4700
5256
|
fontClass?: string;
|
|
4701
5257
|
};
|
|
5258
|
+
interface AvatarGroupItem {
|
|
5259
|
+
imageSrc?: string;
|
|
5260
|
+
imageAlt?: string;
|
|
5261
|
+
initials?: string;
|
|
5262
|
+
name?: string;
|
|
5263
|
+
icon?: IconInput;
|
|
5264
|
+
defaultIcon?: IconInput;
|
|
5265
|
+
themeColor?: ThemeColor;
|
|
5266
|
+
rounded?: Rounded;
|
|
5267
|
+
fillMode?: FillMode;
|
|
5268
|
+
status?: AvatarStatus;
|
|
5269
|
+
statusLabel?: string;
|
|
5270
|
+
emphasis?: AvatarEmphasis;
|
|
5271
|
+
emphasisColor?: ThemeColor;
|
|
5272
|
+
emphasisLabel?: string;
|
|
5273
|
+
tooltip?: string;
|
|
5274
|
+
ariaLabel?: string;
|
|
5275
|
+
}
|
|
5276
|
+
interface NormalizedAvatarGroupItem extends AvatarGroupItem {
|
|
5277
|
+
key: string;
|
|
5278
|
+
index: number;
|
|
5279
|
+
initialsText: string;
|
|
5280
|
+
imageUrl: string;
|
|
5281
|
+
label: string;
|
|
5282
|
+
tooltip: string;
|
|
5283
|
+
themeColor: ThemeColor;
|
|
5284
|
+
rounded: Rounded;
|
|
5285
|
+
fillMode: FillMode;
|
|
5286
|
+
status: AvatarStatus;
|
|
5287
|
+
emphasis: AvatarEmphasis;
|
|
5288
|
+
emphasisColor: ThemeColor;
|
|
5289
|
+
}
|
|
4702
5290
|
declare class MaterialAvatarComponent implements OnChanges {
|
|
4703
5291
|
private readonly sanitizer;
|
|
4704
5292
|
private readonly elementRef;
|
|
@@ -4722,6 +5310,12 @@ declare class MaterialAvatarComponent implements OnChanges {
|
|
|
4722
5310
|
private _border;
|
|
4723
5311
|
private _sizePx?;
|
|
4724
5312
|
private _sizeCss?;
|
|
5313
|
+
private _initialsMaxLength;
|
|
5314
|
+
private _groupItems;
|
|
5315
|
+
private _groupMaxVisible;
|
|
5316
|
+
private _groupOverlap;
|
|
5317
|
+
private _emphasis;
|
|
5318
|
+
private _emphasisColor;
|
|
4725
5319
|
set themeColor(value: ThemeColor);
|
|
4726
5320
|
get themeColor(): ThemeColor;
|
|
4727
5321
|
set rounded(value: Rounded);
|
|
@@ -4738,6 +5332,25 @@ declare class MaterialAvatarComponent implements OnChanges {
|
|
|
4738
5332
|
get sizeCss(): string | undefined;
|
|
4739
5333
|
tooltip?: string;
|
|
4740
5334
|
ariaLabel?: string;
|
|
5335
|
+
status?: AvatarStatus;
|
|
5336
|
+
statusLabel?: string;
|
|
5337
|
+
badge?: string | number;
|
|
5338
|
+
badgeLabel?: string;
|
|
5339
|
+
emphasisLabel?: string;
|
|
5340
|
+
set emphasis(value: AvatarEmphasis | undefined);
|
|
5341
|
+
get emphasis(): AvatarEmphasis;
|
|
5342
|
+
set emphasisColor(value: ThemeColor | undefined);
|
|
5343
|
+
get emphasisColor(): ThemeColor;
|
|
5344
|
+
set initialsMaxLength(value: number | string | undefined);
|
|
5345
|
+
get initialsMaxLength(): number;
|
|
5346
|
+
set groupItems(value: AvatarGroupItem[] | undefined);
|
|
5347
|
+
get groupItems(): AvatarGroupItem[];
|
|
5348
|
+
set groupMaxVisible(value: number | string | undefined);
|
|
5349
|
+
get groupMaxVisible(): number;
|
|
5350
|
+
set groupOverlap(value: number | string | undefined);
|
|
5351
|
+
get groupOverlap(): number;
|
|
5352
|
+
groupOverflowLabel?: string;
|
|
5353
|
+
groupLabel?: string;
|
|
4741
5354
|
readonlyMode?: boolean;
|
|
4742
5355
|
disabledMode?: boolean;
|
|
4743
5356
|
visible?: boolean;
|
|
@@ -4750,6 +5363,7 @@ declare class MaterialAvatarComponent implements OnChanges {
|
|
|
4750
5363
|
get style(): NgStyle | undefined;
|
|
4751
5364
|
imageError: EventEmitter<void>;
|
|
4752
5365
|
private readonly _imgFailed;
|
|
5366
|
+
private readonly groupImageFailures;
|
|
4753
5367
|
private readonly controlValue;
|
|
4754
5368
|
private readonly _syncControlValue;
|
|
4755
5369
|
readonly resolvedImageSrc: _angular_core.Signal<string>;
|
|
@@ -4757,20 +5371,53 @@ declare class MaterialAvatarComponent implements OnChanges {
|
|
|
4757
5371
|
readonly hasImage: _angular_core.Signal<boolean>;
|
|
4758
5372
|
readonly hasInitials: _angular_core.Signal<boolean>;
|
|
4759
5373
|
readonly componentCssClasses: _angular_core.Signal<string>;
|
|
5374
|
+
readonly computedHostRole: _angular_core.Signal<"group" | "img">;
|
|
4760
5375
|
readonly resolvedStyle: _angular_core.Signal<{
|
|
4761
5376
|
[x: string]: unknown;
|
|
4762
5377
|
} | null>;
|
|
4763
5378
|
readonly computedAriaLabel: _angular_core.Signal<string>;
|
|
4764
5379
|
readonly resolvedHint: _angular_core.Signal<string>;
|
|
5380
|
+
readonly resolvedLabel: _angular_core.Signal<string>;
|
|
4765
5381
|
readonly hintId: _angular_core.Signal<string | null>;
|
|
4766
5382
|
private resolveIconKind;
|
|
4767
5383
|
private pickImageSrcFromValue;
|
|
4768
5384
|
private normalizeImageUrl;
|
|
4769
5385
|
private normalizeCssSize;
|
|
5386
|
+
private normalizeThemeColor;
|
|
5387
|
+
private normalizeRounded;
|
|
5388
|
+
private normalizeFillMode;
|
|
5389
|
+
private normalizeStatus;
|
|
5390
|
+
private normalizeEmphasis;
|
|
5391
|
+
private initialsFrom;
|
|
5392
|
+
private groupItemLabel;
|
|
5393
|
+
private defaultStatusLabel;
|
|
5394
|
+
private iconNameFrom;
|
|
5395
|
+
private themeStyle;
|
|
5396
|
+
private radiusToken;
|
|
5397
|
+
readonly resolvedStatus: _angular_core.Signal<AvatarStatus>;
|
|
5398
|
+
readonly resolvedStatusLabel: _angular_core.Signal<string>;
|
|
5399
|
+
normalizedBadge(): string;
|
|
5400
|
+
readonly resolvedBadgeLabel: _angular_core.Signal<string>;
|
|
5401
|
+
readonly resolvedEmphasisLabel: _angular_core.Signal<string>;
|
|
4770
5402
|
shouldShowImage(): boolean;
|
|
4771
5403
|
shouldShowIcon(): boolean;
|
|
4772
5404
|
shouldShowInitials(): boolean;
|
|
4773
5405
|
shouldShowDefaultIcon(): boolean;
|
|
5406
|
+
shouldShowStatus(): boolean;
|
|
5407
|
+
shouldShowBadge(): boolean;
|
|
5408
|
+
shouldRenderGroup(): boolean;
|
|
5409
|
+
readonly normalizedGroupItems: _angular_core.Signal<NormalizedAvatarGroupItem[]>;
|
|
5410
|
+
readonly visibleGroupItems: _angular_core.Signal<NormalizedAvatarGroupItem[]>;
|
|
5411
|
+
readonly groupOverflowCount: _angular_core.Signal<number>;
|
|
5412
|
+
groupItemClasses(item: NormalizedAvatarGroupItem): string;
|
|
5413
|
+
groupItemStyle(item: NormalizedAvatarGroupItem): Record<string, string>;
|
|
5414
|
+
groupOverflowStyle(): Record<string, string>;
|
|
5415
|
+
groupOverlapCss(): string;
|
|
5416
|
+
groupImageFailed(index: number): boolean;
|
|
5417
|
+
onGroupImgError(index: number): void;
|
|
5418
|
+
groupIconName(item: AvatarGroupItem): string | null;
|
|
5419
|
+
groupDefaultIconName(item: AvatarGroupItem): string | null;
|
|
5420
|
+
resolvedGroupOverflowLabel(): string;
|
|
4774
5421
|
readonly hasExplicitIcon: _angular_core.Signal<boolean>;
|
|
4775
5422
|
readonly hasDefaultIcon: _angular_core.Signal<boolean>;
|
|
4776
5423
|
normalizedInitials(): string;
|
|
@@ -4783,14 +5430,32 @@ declare class MaterialAvatarComponent implements OnChanges {
|
|
|
4783
5430
|
ngOnChanges(_changes: SimpleChanges): void;
|
|
4784
5431
|
setInputMetadata(meta: ComponentMetadata): void;
|
|
4785
5432
|
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>;
|
|
5433
|
+
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
5434
|
}
|
|
4788
5435
|
|
|
4789
|
-
declare class MaterialRadioGroupComponent extends SimpleBaseSelectComponent {
|
|
5436
|
+
declare class MaterialRadioGroupComponent extends SimpleBaseSelectComponent implements DoCheck {
|
|
4790
5437
|
readonlyMode: boolean;
|
|
4791
5438
|
disabledMode: boolean;
|
|
4792
5439
|
visible: boolean;
|
|
4793
5440
|
presentationMode: boolean;
|
|
5441
|
+
private disabledModeAppliedToControl;
|
|
5442
|
+
ngDoCheck(): void;
|
|
5443
|
+
radioInteractionDisabled(): boolean;
|
|
5444
|
+
radioAriaDisabled(): 'true' | null;
|
|
5445
|
+
radioAriaReadonly(): 'true' | null;
|
|
5446
|
+
readonlyEffective(): boolean;
|
|
5447
|
+
radioOptionDisabled(option: SelectOption<unknown>): boolean;
|
|
5448
|
+
radioOptionAriaDisabled(option: SelectOption<unknown>): 'true' | null;
|
|
5449
|
+
onRadioButtonClick(event: MouseEvent): void;
|
|
5450
|
+
onRadioButtonKeydown(event: KeyboardEvent): void;
|
|
5451
|
+
selectOption(option: SelectOption<unknown>): void;
|
|
5452
|
+
radioLabelId(): string;
|
|
5453
|
+
radioHintId(): string;
|
|
5454
|
+
radioErrorId(): string;
|
|
5455
|
+
radioLabelledBy(): string | null;
|
|
5456
|
+
radioDescribedBy(): string | null;
|
|
5457
|
+
isRequiredRadio(): boolean;
|
|
5458
|
+
private syncDisabledModeControlState;
|
|
4794
5459
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
4795
5460
|
protected getSpecificCssClasses(): string[];
|
|
4796
5461
|
private optionsFromLegacy;
|
|
@@ -4799,11 +5464,20 @@ declare class MaterialRadioGroupComponent extends SimpleBaseSelectComponent {
|
|
|
4799
5464
|
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
5465
|
}
|
|
4801
5466
|
|
|
4802
|
-
declare class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent {
|
|
5467
|
+
declare class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent implements DoCheck {
|
|
4803
5468
|
readonlyMode: boolean;
|
|
4804
5469
|
disabledMode: boolean;
|
|
4805
5470
|
visible: boolean;
|
|
4806
5471
|
presentationMode: boolean;
|
|
5472
|
+
private disabledModeAppliedToControl;
|
|
5473
|
+
ngDoCheck(): void;
|
|
5474
|
+
checkboxInteractionDisabled(): boolean;
|
|
5475
|
+
checkboxAriaDisabled(): 'true' | null;
|
|
5476
|
+
checkboxAriaReadonly(): 'true' | null;
|
|
5477
|
+
readonlyEffective(): boolean;
|
|
5478
|
+
onCheckboxControlClick(event: MouseEvent, stopShellPropagation?: boolean): void;
|
|
5479
|
+
onCheckboxControlKeydown(event: KeyboardEvent): void;
|
|
5480
|
+
private syncDisabledModeControlState;
|
|
4807
5481
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
4808
5482
|
/** Disables options when maxSelections reached */
|
|
4809
5483
|
isOptionDisabled(option: SelectOption<unknown>): boolean;
|
|
@@ -4820,7 +5494,7 @@ declare class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent {
|
|
|
4820
5494
|
booleanErrorId(): string;
|
|
4821
5495
|
groupHintId(): string;
|
|
4822
5496
|
groupErrorId(): string;
|
|
4823
|
-
booleanAriaLabel(): string
|
|
5497
|
+
booleanAriaLabel(): string;
|
|
4824
5498
|
booleanLabelledBy(): string | null;
|
|
4825
5499
|
booleanDescribedBy(): string | null;
|
|
4826
5500
|
groupDescribedBy(): string | null;
|
|
@@ -4835,6 +5509,8 @@ declare class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent {
|
|
|
4835
5509
|
onBooleanCheckboxChange(): void;
|
|
4836
5510
|
onMultipleOptionContentClick(option: SelectOption<unknown>, event: MouseEvent): void;
|
|
4837
5511
|
onSelectAllContentClick(event: MouseEvent): void;
|
|
5512
|
+
selectOption(option: SelectOption<unknown>): void;
|
|
5513
|
+
toggleSelectAll(): void;
|
|
4838
5514
|
private shouldToggleFromBooleanContent;
|
|
4839
5515
|
private shouldToggleFromMultipleContent;
|
|
4840
5516
|
private toggleBooleanCheckbox;
|
|
@@ -4842,10 +5518,10 @@ declare class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent {
|
|
|
4842
5518
|
private humanizeName;
|
|
4843
5519
|
optionLabelId(option: SelectOption<unknown>): string;
|
|
4844
5520
|
optionDescriptionId(option: SelectOption<unknown>): string | null;
|
|
4845
|
-
optionAriaLabel(option: SelectOption<unknown>): string
|
|
5521
|
+
optionAriaLabel(option: SelectOption<unknown>): string;
|
|
4846
5522
|
optionSupportingText(option: SelectOption<unknown>): string | null;
|
|
4847
5523
|
selectAllLabelId(): string;
|
|
4848
|
-
selectAllAriaLabel(): string
|
|
5524
|
+
selectAllAriaLabel(): string;
|
|
4849
5525
|
selectAllLabelText(): string;
|
|
4850
5526
|
private optionDomToken;
|
|
4851
5527
|
private optionsFromLegacy;
|
|
@@ -4854,11 +5530,30 @@ declare class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent {
|
|
|
4854
5530
|
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
5531
|
}
|
|
4856
5532
|
|
|
4857
|
-
declare class MaterialSelectionListComponent extends SimpleBaseSelectComponent {
|
|
5533
|
+
declare class MaterialSelectionListComponent extends SimpleBaseSelectComponent implements DoCheck {
|
|
4858
5534
|
readonlyMode: boolean;
|
|
4859
5535
|
disabledMode: boolean;
|
|
4860
5536
|
visible: boolean;
|
|
4861
5537
|
presentationMode: boolean;
|
|
5538
|
+
private disabledModeAppliedToControl;
|
|
5539
|
+
ngDoCheck(): void;
|
|
5540
|
+
selectionListInteractionDisabled(): boolean;
|
|
5541
|
+
selectionListAriaDisabled(): 'true' | null;
|
|
5542
|
+
selectionListAriaReadonly(): 'true' | null;
|
|
5543
|
+
selectionOptionDisabled(option: SelectOption<unknown>): boolean;
|
|
5544
|
+
selectionOptionAriaDisabled(option: SelectOption<unknown>): 'true' | null;
|
|
5545
|
+
selectionListLabelId(): string;
|
|
5546
|
+
selectionListHintId(): string;
|
|
5547
|
+
selectionListErrorId(): string;
|
|
5548
|
+
selectionListCounterId(): string;
|
|
5549
|
+
selectionListLabelledBy(): string | null;
|
|
5550
|
+
selectionListDescribedBy(): string | null;
|
|
5551
|
+
isRequiredSelectionList(): boolean;
|
|
5552
|
+
onSelectionOptionClick(event: MouseEvent): void;
|
|
5553
|
+
onSelectionOptionKeydown(event: KeyboardEvent): void;
|
|
5554
|
+
selectOption(option: SelectOption<unknown>): void;
|
|
5555
|
+
toggleSelectAll(): void;
|
|
5556
|
+
private syncDisabledModeControlState;
|
|
4862
5557
|
private asRecord;
|
|
4863
5558
|
private mapRawOption;
|
|
4864
5559
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
@@ -5030,13 +5725,14 @@ declare class PhoneInputComponent extends SimpleBaseInputComponent {
|
|
|
5030
5725
|
ngOnInit(): void;
|
|
5031
5726
|
writeValue(value: unknown): void;
|
|
5032
5727
|
protected registerInputElement(el: HTMLElement): void;
|
|
5728
|
+
protected applyNativeDisplayMask(): void;
|
|
5033
5729
|
handleInput(event: Event): void;
|
|
5034
5730
|
handleBlur(): void;
|
|
5035
5731
|
validateField(): Promise<ValidationErrors | null>;
|
|
5036
5732
|
protected getSpecificCssClasses(): string[];
|
|
5037
5733
|
/** Applies strongly typed metadata to the component. */
|
|
5038
5734
|
setInputMetadata(metadata: MaterialPhoneMetadata): void;
|
|
5039
|
-
errorStateMatcher():
|
|
5735
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
5040
5736
|
isReadonlyEffective(): boolean;
|
|
5041
5737
|
private metadataAsField;
|
|
5042
5738
|
private phoneMetadata;
|
|
@@ -5074,7 +5770,7 @@ declare class TimeInputComponent extends SimpleBaseInputComponent {
|
|
|
5074
5770
|
protected getSpecificCssClasses(): string[];
|
|
5075
5771
|
/** Applies component metadata with strong typing. */
|
|
5076
5772
|
setInputMetadata(metadata: MaterialTimeInputMetadata): void;
|
|
5077
|
-
errorStateMatcher():
|
|
5773
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
5078
5774
|
/**
|
|
5079
5775
|
* Time input is officially minute-granularity only.
|
|
5080
5776
|
* Non-minute step values fallback to 60s.
|
|
@@ -5107,7 +5803,7 @@ declare class UrlInputComponent extends SimpleBaseInputComponent {
|
|
|
5107
5803
|
protected getSpecificCssClasses(): string[];
|
|
5108
5804
|
/** Applies component metadata with strong typing. */
|
|
5109
5805
|
setInputMetadata(metadata: MaterialUrlInputMetadata): void;
|
|
5110
|
-
errorStateMatcher():
|
|
5806
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
5111
5807
|
isReadonlyEffective(): boolean;
|
|
5112
5808
|
private metadataAsField;
|
|
5113
5809
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UrlInputComponent, never>;
|
|
@@ -5134,7 +5830,7 @@ declare class WeekInputComponent extends SimpleBaseInputComponent {
|
|
|
5134
5830
|
protected getSpecificCssClasses(): string[];
|
|
5135
5831
|
/** Applies component metadata with strong typing. */
|
|
5136
5832
|
setInputMetadata(metadata: MaterialWeekInputMetadata): void;
|
|
5137
|
-
errorStateMatcher():
|
|
5833
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
5138
5834
|
isReadonlyEffective(): boolean;
|
|
5139
5835
|
private metadataAsField;
|
|
5140
5836
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WeekInputComponent, never>;
|
|
@@ -5161,7 +5857,8 @@ declare class MaterialColorPickerComponent extends SimpleBaseInputComponent {
|
|
|
5161
5857
|
/** Handles color selection from the native input. */
|
|
5162
5858
|
onNativeColorChange(event: Event): void;
|
|
5163
5859
|
protected getSpecificCssClasses(): string[];
|
|
5164
|
-
|
|
5860
|
+
effectiveFloatLabelBehavior(): 'always';
|
|
5861
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
5165
5862
|
isReadonlyEffective(): boolean;
|
|
5166
5863
|
previewColor(): string;
|
|
5167
5864
|
colorPaletteAriaLabel(): string;
|
|
@@ -5196,6 +5893,7 @@ declare class MaterialRatingComponent extends SimpleBaseInputComponent implement
|
|
|
5196
5893
|
svgIconOutline?: string;
|
|
5197
5894
|
outlineIcon?: string;
|
|
5198
5895
|
disabled: boolean;
|
|
5896
|
+
disabledMode: boolean;
|
|
5199
5897
|
readonlyMode: boolean;
|
|
5200
5898
|
presentationMode: boolean;
|
|
5201
5899
|
tabindex: number;
|
|
@@ -5225,15 +5923,20 @@ declare class MaterialRatingComponent extends SimpleBaseInputComponent implement
|
|
|
5225
5923
|
private getVisualValue;
|
|
5226
5924
|
private getActiveIndexAndHalf;
|
|
5227
5925
|
private applyValue;
|
|
5926
|
+
ratingValueText(): string;
|
|
5927
|
+
effectiveTabIndex(): number;
|
|
5928
|
+
disabledEffective(): boolean;
|
|
5228
5929
|
readonlyEffective(): boolean;
|
|
5229
|
-
|
|
5930
|
+
ratingAriaLabel(): string;
|
|
5931
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
5230
5932
|
setInputMetadata(meta: unknown): void;
|
|
5231
5933
|
private parseSize;
|
|
5232
5934
|
private parseSelectionMode;
|
|
5935
|
+
private interactionBlocked;
|
|
5233
5936
|
private asRecord;
|
|
5234
5937
|
private metadataAsField;
|
|
5235
5938
|
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>;
|
|
5939
|
+
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
5940
|
}
|
|
5238
5941
|
|
|
5239
5942
|
type PickerView = 'gradient' | 'palette';
|
|
@@ -5350,10 +6053,12 @@ declare class PdxColorPickerComponent extends SimpleBaseInputComponent implement
|
|
|
5350
6053
|
onCancel(): void;
|
|
5351
6054
|
onApply(): void;
|
|
5352
6055
|
readonlyEffective(): boolean;
|
|
5353
|
-
errorStateMatcher():
|
|
6056
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
5354
6057
|
protected getSpecificCssClasses(): string[];
|
|
6058
|
+
effectiveFloatLabelBehavior(): 'always';
|
|
5355
6059
|
setInputMetadata(meta: ComponentMetadata | null): void;
|
|
5356
6060
|
private currentMetadataRecord;
|
|
6061
|
+
private asRecord;
|
|
5357
6062
|
private toFormat;
|
|
5358
6063
|
private toHex;
|
|
5359
6064
|
private toRgb;
|
|
@@ -5376,20 +6081,54 @@ declare class PdxColorPickerComponent extends SimpleBaseInputComponent implement
|
|
|
5376
6081
|
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
6082
|
}
|
|
5378
6083
|
|
|
5379
|
-
|
|
6084
|
+
interface SliderDistributionBar {
|
|
6085
|
+
id: string;
|
|
6086
|
+
ratio: number;
|
|
6087
|
+
selected: boolean;
|
|
6088
|
+
background?: string;
|
|
6089
|
+
color?: string;
|
|
6090
|
+
label?: string;
|
|
6091
|
+
}
|
|
6092
|
+
interface SliderSemanticBandView {
|
|
6093
|
+
id: string;
|
|
6094
|
+
startPercent: number;
|
|
6095
|
+
widthPercent: number;
|
|
6096
|
+
tone: RangeSliderSemanticBand['tone'];
|
|
6097
|
+
color?: string;
|
|
6098
|
+
label?: string;
|
|
6099
|
+
}
|
|
6100
|
+
declare class PdxMaterialRangeSliderComponent extends SimpleBaseInputComponent implements OnInit, AfterViewChecked {
|
|
5380
6101
|
readonlyMode: boolean;
|
|
5381
6102
|
disabledMode: boolean;
|
|
5382
6103
|
visible: boolean;
|
|
5383
6104
|
presentationMode: boolean;
|
|
5384
6105
|
metadata: _angular_core.WritableSignal<MaterialRangeSliderMetadata | null>;
|
|
6106
|
+
private activeRangeThumb;
|
|
5385
6107
|
readonly rangeGroup: FormGroup<{
|
|
5386
6108
|
start: FormControl<number | null>;
|
|
5387
6109
|
end: FormControl<number | null>;
|
|
5388
6110
|
}>;
|
|
5389
6111
|
readonly isRangeMode: _angular_core.Signal<boolean>;
|
|
5390
6112
|
readonly displayWithFn: _angular_core.Signal<(value: number) => string>;
|
|
6113
|
+
readonly sliderStep: _angular_core.Signal<number>;
|
|
6114
|
+
readonly valueLabelEnabled: _angular_core.Signal<boolean>;
|
|
6115
|
+
readonly showTickMarks: _angular_core.Signal<boolean>;
|
|
6116
|
+
readonly trackMode: _angular_core.Signal<_praxisui_core.RangeSliderTrackMode>;
|
|
6117
|
+
readonly sliderSize: _angular_core.Signal<"small" | "large" | "medium">;
|
|
6118
|
+
readonly markLabels: _angular_core.Signal<RangeSliderMark[]>;
|
|
6119
|
+
readonly semanticBandViews: _angular_core.Signal<SliderSemanticBandView[]>;
|
|
6120
|
+
distributionBars(): SliderDistributionBar[];
|
|
6121
|
+
disabledEffective(): boolean;
|
|
6122
|
+
readonlyEffective(): boolean;
|
|
6123
|
+
sliderInteractionDisabled(): boolean;
|
|
6124
|
+
sliderAriaDisabled(): 'true' | null;
|
|
6125
|
+
sliderAriaReadonly(): 'true' | null;
|
|
6126
|
+
rangeAriaInvalidAttribute(): 'true' | null;
|
|
6127
|
+
rangeThumbAriaLabel(thumb: 'start' | 'end'): string;
|
|
6128
|
+
rangeThumbLabelId(thumb: 'start' | 'end'): string;
|
|
5391
6129
|
readonly errorMessage: _angular_core.Signal<string>;
|
|
5392
6130
|
ngOnInit(): void;
|
|
6131
|
+
ngAfterViewChecked(): void;
|
|
5393
6132
|
/**
|
|
5394
6133
|
* Overrides writeValue to handle both single and range modes.
|
|
5395
6134
|
*/
|
|
@@ -5403,8 +6142,34 @@ declare class PdxMaterialRangeSliderComponent extends SimpleBaseInputComponent i
|
|
|
5403
6142
|
setSliderMetadata(metadata: MaterialRangeSliderMetadata): void;
|
|
5404
6143
|
protected setMetadata(metadata: MaterialRangeSliderMetadata): void;
|
|
5405
6144
|
protected getSpecificCssClasses(): string[];
|
|
6145
|
+
markPosition(value: number): number;
|
|
6146
|
+
formatSliderValue(value: unknown): string;
|
|
6147
|
+
onRangePointerDown(event: PointerEvent): void;
|
|
6148
|
+
private isPointerInteractionBlocked;
|
|
6149
|
+
private syncNativeThumbAria;
|
|
6150
|
+
private applyNativeThumbAria;
|
|
6151
|
+
private setOrRemoveAttribute;
|
|
6152
|
+
private closestRangeThumb;
|
|
6153
|
+
private updateActiveRangeThumbFromPointer;
|
|
6154
|
+
private clientXToSliderValue;
|
|
6155
|
+
private valueToTrackClientX;
|
|
6156
|
+
private snapSliderValue;
|
|
6157
|
+
private trackElement;
|
|
5406
6158
|
private syncRangeGroupFromControlValue;
|
|
5407
6159
|
private isRangeSliderValue;
|
|
6160
|
+
private resolveMarks;
|
|
6161
|
+
private parseJsonArray;
|
|
6162
|
+
private parseJsonObject;
|
|
6163
|
+
private normalizeTone;
|
|
6164
|
+
private resolveSemanticBands;
|
|
6165
|
+
private resolveDistributionBars;
|
|
6166
|
+
private normalizeDistributionColorMode;
|
|
6167
|
+
private isDistributionBarSelected;
|
|
6168
|
+
private resolveDistributionBarBackground;
|
|
6169
|
+
private stringConfig;
|
|
6170
|
+
private scaleValue;
|
|
6171
|
+
private formatStorageValue;
|
|
6172
|
+
private formatCurrencyValue;
|
|
5408
6173
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PdxMaterialRangeSliderComponent, never>;
|
|
5409
6174
|
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
6175
|
}
|
|
@@ -5420,6 +6185,9 @@ interface TransferListMetadata extends SimpleSelectMetadata<unknown> {
|
|
|
5420
6185
|
rightLabel?: string;
|
|
5421
6186
|
leftPlaceholder?: string;
|
|
5422
6187
|
rightPlaceholder?: string;
|
|
6188
|
+
leftEmptyText?: string;
|
|
6189
|
+
rightEmptyText?: string;
|
|
6190
|
+
noResultsText?: string;
|
|
5423
6191
|
}
|
|
5424
6192
|
declare class MaterialTransferListComponent extends SimpleBaseSelectComponent {
|
|
5425
6193
|
readonlyMode: boolean;
|
|
@@ -5430,6 +6198,9 @@ declare class MaterialTransferListComponent extends SimpleBaseSelectComponent {
|
|
|
5430
6198
|
rightLabel: string;
|
|
5431
6199
|
leftPlaceholder: string;
|
|
5432
6200
|
rightPlaceholder: string;
|
|
6201
|
+
leftEmptyText: string;
|
|
6202
|
+
rightEmptyText: string;
|
|
6203
|
+
noResultsText: string;
|
|
5433
6204
|
readonly leftOptions: _angular_core.WritableSignal<SelectOption<unknown>[]>;
|
|
5434
6205
|
readonly rightOptions: _angular_core.WritableSignal<SelectOption<unknown>[]>;
|
|
5435
6206
|
readonly leftFilter: _angular_core.WritableSignal<string>;
|
|
@@ -5443,6 +6214,12 @@ declare class MaterialTransferListComponent extends SimpleBaseSelectComponent {
|
|
|
5443
6214
|
moveAllToRightAriaLabel(): string;
|
|
5444
6215
|
moveSelectedToLeftAriaLabel(): string;
|
|
5445
6216
|
moveAllToLeftAriaLabel(): string;
|
|
6217
|
+
leftListAriaLabel(): string;
|
|
6218
|
+
rightListAriaLabel(): string;
|
|
6219
|
+
leftEmptyMessage(): string;
|
|
6220
|
+
rightEmptyMessage(): string;
|
|
6221
|
+
isMaxSelectionReached(): boolean;
|
|
6222
|
+
isInteractionDisabled(): boolean;
|
|
5446
6223
|
ngOnInit(): void;
|
|
5447
6224
|
private updateListsFromValue;
|
|
5448
6225
|
getSelectedOptions(list: MatSelectionList): SelectOption[];
|
|
@@ -5473,7 +6250,7 @@ declare class PdxYearInputComponent extends SimpleBaseInputComponent {
|
|
|
5473
6250
|
ngOnInit(): void;
|
|
5474
6251
|
setInputMetadata(metadata: MaterialYearInputMetadata): void;
|
|
5475
6252
|
private applySpecificValidators;
|
|
5476
|
-
errorStateMatcher():
|
|
6253
|
+
errorStateMatcher(): _angular_material_core.ErrorStateMatcher;
|
|
5477
6254
|
onYearInput(event: Event): void;
|
|
5478
6255
|
protected getSpecificCssClasses(): string[];
|
|
5479
6256
|
private metadataAsField;
|
|
@@ -5484,6 +6261,8 @@ declare class PdxYearInputComponent extends SimpleBaseInputComponent {
|
|
|
5484
6261
|
/** Metadata for TextInputComponent */
|
|
5485
6262
|
declare const PDX_TEXT_INPUT_COMPONENT_METADATA: ComponentDocMeta;
|
|
5486
6263
|
|
|
6264
|
+
declare const PDX_EDITABLE_COLLECTION_COMPONENT_METADATA: ComponentDocMeta;
|
|
6265
|
+
|
|
5487
6266
|
/** Metadata for NumberInputComponent */
|
|
5488
6267
|
declare const PDX_NUMBER_INPUT_COMPONENT_METADATA: ComponentDocMeta;
|
|
5489
6268
|
|
|
@@ -5502,6 +6281,7 @@ declare const PDX_INLINE_SEARCHABLE_SELECT_COMPONENT_METADATA: ComponentDocMeta;
|
|
|
5502
6281
|
|
|
5503
6282
|
declare const PDX_INLINE_ASYNC_SELECT_COMPONENT_METADATA: ComponentDocMeta;
|
|
5504
6283
|
|
|
6284
|
+
declare const PDX_ENTITY_LOOKUP_COMPONENT_METADATA: ComponentDocMeta;
|
|
5505
6285
|
declare const PDX_INLINE_ENTITY_LOOKUP_COMPONENT_METADATA: ComponentDocMeta;
|
|
5506
6286
|
|
|
5507
6287
|
declare const PDX_INLINE_MULTI_SELECT_COMPONENT_METADATA: ComponentDocMeta;
|
|
@@ -5632,367 +6412,6 @@ declare const PDX_YEAR_INPUT_COMPONENT_METADATA: ComponentDocMeta;
|
|
|
5632
6412
|
|
|
5633
6413
|
declare const PDX_FIELD_SHELL_COMPONENT_METADATA: ComponentDocMeta;
|
|
5634
6414
|
|
|
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
6415
|
declare class DateUtilsService {
|
|
5997
6416
|
/**
|
|
5998
6417
|
* Parses different date representations into a `Date` object.
|
|
@@ -6319,7 +6738,18 @@ interface DynamicFieldPreviewPreset {
|
|
|
6319
6738
|
label: string;
|
|
6320
6739
|
description: string;
|
|
6321
6740
|
metadataPatch?: Record<string, unknown>;
|
|
6741
|
+
/**
|
|
6742
|
+
* Default value for this preset after the active state metadata is applied.
|
|
6743
|
+
* State recipes still win when they define their own `initialValue`, except
|
|
6744
|
+
* for explicit entries in `stateInitialValues`.
|
|
6745
|
+
*/
|
|
6322
6746
|
initialValue?: unknown;
|
|
6747
|
+
/**
|
|
6748
|
+
* Per-state value overrides for this preset. Precedence:
|
|
6749
|
+
* `stateInitialValues[state]` -> state recipe `initialValue` -> preset
|
|
6750
|
+
* `initialValue` -> default state seed -> generated fallback value.
|
|
6751
|
+
*/
|
|
6752
|
+
stateInitialValues?: Partial<Record<DynamicFieldStateKey, unknown>>;
|
|
6323
6753
|
}
|
|
6324
6754
|
interface DynamicFieldCatalogEntry {
|
|
6325
6755
|
id: string;
|
|
@@ -6330,7 +6760,7 @@ interface DynamicFieldCatalogEntry {
|
|
|
6330
6760
|
friendlyName: string;
|
|
6331
6761
|
description: string;
|
|
6332
6762
|
tags: string[];
|
|
6333
|
-
|
|
6763
|
+
intentExamples: string[];
|
|
6334
6764
|
valueShape: string;
|
|
6335
6765
|
recommendedWhen: string[];
|
|
6336
6766
|
avoidWhen: string[];
|
|
@@ -6403,6 +6833,10 @@ declare const DISPLAY_ACTION_AI_CAPABILITIES: CapabilityCatalog;
|
|
|
6403
6833
|
|
|
6404
6834
|
declare const YEAR_INPUT_AI_CAPABILITIES: CapabilityCatalog;
|
|
6405
6835
|
|
|
6836
|
+
declare const PRAXIS_DYNAMIC_FIELDS_AUTHORING_MANIFEST: ComponentAuthoringManifest;
|
|
6837
|
+
|
|
6838
|
+
declare const PRAXIS_DYNAMIC_FIELDS_AUTHORING_PROFILES: ManifestControlProfile[];
|
|
6839
|
+
|
|
6406
6840
|
/**
|
|
6407
6841
|
* @fileoverview Custom Error State Matcher for Praxis Dynamic Fields
|
|
6408
6842
|
*
|
|
@@ -6659,5 +7093,5 @@ declare function normalizeFormMetadata(input: FieldMetadata[] | JsonSchema): Fie
|
|
|
6659
7093
|
declare const CLEAR_BUTTON_CONTROL_TYPES: Set<string>;
|
|
6660
7094
|
declare function supportsClearButtonControlType(controlType?: string | null): boolean;
|
|
6661
7095
|
|
|
6662
|
-
export {
|
|
6663
|
-
export type {
|
|
7096
|
+
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_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 };
|
|
7097
|
+
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 };
|