@praxisui/dynamic-fields 8.0.0-beta.3 → 8.0.0-beta.30
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-CrHhyUMO.mjs +1 -0
- package/fesm2022/praxisui-dynamic-fields.mjs +17864 -9353
- package/index.d.ts +822 -397
- package/package.json +4 -4
- 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 +589 -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 +666 -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/fesm2022/praxisui-dynamic-fields-index-XvVS6lAQ.mjs +0 -1
package/index.d.ts
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
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, ComponentDocMeta, ComponentMetadataEditorialDescriptor, 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
10
|
import * as _angular_material_error_options_d_CGdTZUYk from '@angular/material/error-options.d-CGdTZUYk';
|
|
10
11
|
import { MatDatepickerInputEvent, MatDateRangePicker, MatDatepicker } from '@angular/material/datepicker';
|
|
11
12
|
import { ConnectedPosition } from '@angular/cdk/overlay';
|
|
13
|
+
import * as _praxisui_dynamic_fields from '@praxisui/dynamic-fields';
|
|
12
14
|
import { MatAutocompleteTrigger } from '@angular/material/autocomplete';
|
|
13
15
|
import { MatMenuTrigger } from '@angular/material/menu';
|
|
14
16
|
import { NestedTreeControl } from '@angular/cdk/tree';
|
|
@@ -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;
|
|
@@ -1702,6 +1781,7 @@ 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. */
|
|
@@ -1793,6 +1873,7 @@ declare class MaterialDatepickerComponent extends SimpleBaseInputComponent {
|
|
|
1793
1873
|
/** Applies component metadata with strong typing. */
|
|
1794
1874
|
setDatepickerMetadata(metadata: MaterialDatepickerMetadata): void;
|
|
1795
1875
|
isReadonlyEffective(): boolean;
|
|
1876
|
+
isInputReadonly(): boolean;
|
|
1796
1877
|
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
1797
1878
|
showClear(): boolean;
|
|
1798
1879
|
onClearClick(): void;
|
|
@@ -1836,16 +1917,26 @@ declare class MaterialDateRangeComponent extends SimpleBaseInputComponent implem
|
|
|
1836
1917
|
readonly maxDate: _angular_core.Signal<any>;
|
|
1837
1918
|
readonly startAt: _angular_core.Signal<any>;
|
|
1838
1919
|
overlayOpen: boolean;
|
|
1920
|
+
readonly shortcutOverlayViewportMargin = 12;
|
|
1921
|
+
private pickerOpen;
|
|
1839
1922
|
private readonly dateAdapter;
|
|
1840
1923
|
picker: MatDateRangePicker<Date>;
|
|
1924
|
+
private endDateInput?;
|
|
1841
1925
|
readonly shouldShowShortcuts: () => boolean;
|
|
1842
1926
|
readonly overlayPositions: () => ConnectedPosition[];
|
|
1927
|
+
private shortcutOverlayBelowPositions;
|
|
1928
|
+
private shortcutOverlayLeftPositions;
|
|
1929
|
+
private shortcutOverlayRightPositions;
|
|
1843
1930
|
readonly resolvedPresets: _angular_core.Signal<Record<string, DateRangePreset>>;
|
|
1844
1931
|
readonly shortcutItems: _angular_core.Signal<DateRangeShortcutItem[]>;
|
|
1845
1932
|
readonly activePresetId: () => string | null;
|
|
1846
1933
|
writeValue(value: unknown): void;
|
|
1847
1934
|
ngOnInit(): void;
|
|
1848
1935
|
protected shouldPropagateRangeGroupChanges(): boolean;
|
|
1936
|
+
protected focusEndDateInput(event: Event): void;
|
|
1937
|
+
private propagateRangeValue;
|
|
1938
|
+
private isEmptyRangeValue;
|
|
1939
|
+
private areDatesEqual;
|
|
1849
1940
|
validateField(): Promise<ValidationErrors | null>;
|
|
1850
1941
|
protected getSpecificCssClasses(): string[];
|
|
1851
1942
|
/** Applies component metadata with strong typing. */
|
|
@@ -2065,6 +2156,7 @@ declare class MaterialCurrencyComponent extends SimpleBaseInputComponent {
|
|
|
2065
2156
|
/** Formats the input value without touching or changing focus state. */
|
|
2066
2157
|
formatDisplayValue(): void;
|
|
2067
2158
|
writeValue(value: unknown): void;
|
|
2159
|
+
protected applyNativeDisplayMask(): void;
|
|
2068
2160
|
validateField(): Promise<ValidationErrors | null>;
|
|
2069
2161
|
readonlyMode: boolean;
|
|
2070
2162
|
set disabledMode(value: boolean);
|
|
@@ -2331,13 +2423,14 @@ interface SearchableSelectMetadata {
|
|
|
2331
2423
|
selectAll?: boolean;
|
|
2332
2424
|
maxSelections?: number;
|
|
2333
2425
|
resourcePath?: string;
|
|
2426
|
+
optionSource?: OptionSourceMetadata;
|
|
2334
2427
|
filterCriteria?: Record<string, unknown>;
|
|
2335
2428
|
optionLabelKey?: string;
|
|
2336
2429
|
optionValueKey?: string;
|
|
2337
2430
|
loadOn?: LoadStrategy$1;
|
|
2338
2431
|
dependencyLoadOnChange?: DependencyLoadMode$1;
|
|
2339
2432
|
}
|
|
2340
|
-
declare class MaterialSearchableSelectComponent extends SimpleBaseSelectComponent {
|
|
2433
|
+
declare class MaterialSearchableSelectComponent extends SimpleBaseSelectComponent implements DoCheck {
|
|
2341
2434
|
readonlyMode: boolean;
|
|
2342
2435
|
disabledMode: boolean;
|
|
2343
2436
|
visible: boolean;
|
|
@@ -2346,10 +2439,18 @@ declare class MaterialSearchableSelectComponent extends SimpleBaseSelectComponen
|
|
|
2346
2439
|
private readonly store;
|
|
2347
2440
|
readonly endReached: _angular_core.WritableSignal<boolean>;
|
|
2348
2441
|
private initialLoadStrategy;
|
|
2442
|
+
private disabledModeAppliedToControl;
|
|
2443
|
+
ngDoCheck(): void;
|
|
2349
2444
|
protected defaultPanelClass(): string;
|
|
2350
2445
|
setSelectMetadata(metadata: SearchableSelectMetadata): void;
|
|
2351
2446
|
ngOnInit(): void;
|
|
2352
2447
|
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
2448
|
+
searchableSelectAriaDisabled(): 'true' | null;
|
|
2449
|
+
searchableSelectAriaReadonly(): 'true' | null;
|
|
2450
|
+
isOptionDisabled(option: SelectOption<unknown>): boolean;
|
|
2451
|
+
selectOption(option: SelectOption<unknown>): void;
|
|
2452
|
+
toggleSelectAll(): void;
|
|
2453
|
+
onClearClick(): void;
|
|
2353
2454
|
searchInputAriaLabel(): string;
|
|
2354
2455
|
onSearchInputEvent(event: Event): void;
|
|
2355
2456
|
onOpened(opened: boolean): void;
|
|
@@ -2362,6 +2463,7 @@ declare class MaterialSearchableSelectComponent extends SimpleBaseSelectComponen
|
|
|
2362
2463
|
protected registerMatSelect(select: MatSelect): void;
|
|
2363
2464
|
reload(reset: boolean): void;
|
|
2364
2465
|
protected onDependenciesChanged(): void;
|
|
2466
|
+
private syncDisabledModeControlState;
|
|
2365
2467
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialSearchableSelectComponent, never>;
|
|
2366
2468
|
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
2469
|
}
|
|
@@ -2378,6 +2480,7 @@ declare class InlineSearchableSelectComponent extends MaterialSearchableSelectCo
|
|
|
2378
2480
|
protected getSpecificCssClasses(): string[];
|
|
2379
2481
|
hasSelection(): boolean;
|
|
2380
2482
|
selectedCount(): number;
|
|
2483
|
+
additionalSelectedCount(): number;
|
|
2381
2484
|
displayText(): string;
|
|
2382
2485
|
showQuickClear(): boolean;
|
|
2383
2486
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
@@ -2403,6 +2506,13 @@ declare class InlineSearchableSelectComponent extends MaterialSearchableSelectCo
|
|
|
2403
2506
|
|
|
2404
2507
|
type LoadStrategy = 'open' | 'init' | 'none';
|
|
2405
2508
|
type DependencyLoadMode = 'respectLoadOn' | 'immediate' | 'manual';
|
|
2509
|
+
type OptionId = string | number;
|
|
2510
|
+
type AsyncOption = OptionDTO<OptionId>;
|
|
2511
|
+
type AsyncRenderedOption = {
|
|
2512
|
+
label: string;
|
|
2513
|
+
value: unknown;
|
|
2514
|
+
disabled?: boolean;
|
|
2515
|
+
};
|
|
2406
2516
|
interface AsyncSelectMetadata {
|
|
2407
2517
|
selectOptions?: Array<{
|
|
2408
2518
|
label?: string;
|
|
@@ -2440,6 +2550,9 @@ declare class MaterialAsyncSelectComponent extends SimpleBaseSelectComponent {
|
|
|
2440
2550
|
presentationMode: boolean;
|
|
2441
2551
|
private searchInput?;
|
|
2442
2552
|
readonly termControl: FormControl<string | null>;
|
|
2553
|
+
readonly activeLookupFilters: _angular_core.WritableSignal<LookupFilterRequest[]>;
|
|
2554
|
+
readonly selectedLookupSortKey: _angular_core.WritableSignal<string | null>;
|
|
2555
|
+
protected readonly remoteTotalElements: _angular_core.WritableSignal<number | null>;
|
|
2443
2556
|
private readonly store;
|
|
2444
2557
|
readonly endReached: _angular_core.WritableSignal<boolean>;
|
|
2445
2558
|
private cursorAfter;
|
|
@@ -2456,17 +2569,36 @@ declare class MaterialAsyncSelectComponent extends SimpleBaseSelectComponent {
|
|
|
2456
2569
|
private getSelectedIds;
|
|
2457
2570
|
private preloadSelected;
|
|
2458
2571
|
private refreshOptions;
|
|
2572
|
+
protected currentLookupFiltering(): LookupFilteringMetadata | null;
|
|
2573
|
+
lookupSortOptions(): LookupSortOptionMetadata[];
|
|
2574
|
+
lookupFilterDefinitions(): LookupFilterDefinitionMetadata[];
|
|
2575
|
+
protected initializeLookupFilteringState(): void;
|
|
2576
|
+
protected buildDefaultLookupFilters(filtering: LookupFilteringMetadata): LookupFilterRequest[];
|
|
2577
|
+
protected normalizeLookupFilterValue(operator: LookupFilterRequest['operator'], values: unknown[]): unknown;
|
|
2578
|
+
hasLookupFiltering(): boolean;
|
|
2579
|
+
hasLookupSortOptions(): boolean;
|
|
2580
|
+
hasMultipleLookupSortOptions(): boolean;
|
|
2581
|
+
hasActiveLookupFilters(): boolean;
|
|
2582
|
+
lookupFilterForField(field: string): LookupFilterRequest | undefined;
|
|
2583
|
+
setLookupSortKey(sortKey: string | null): void;
|
|
2584
|
+
clearLookupFilters(field?: string): void;
|
|
2585
|
+
replaceLookupFilters(filters: LookupFilterRequest[]): void;
|
|
2586
|
+
protected refreshLookupQueryState(): void;
|
|
2459
2587
|
private runQuery;
|
|
2460
2588
|
loadMore(): void;
|
|
2461
2589
|
retry(): void;
|
|
2462
2590
|
handleKey(event: KeyboardEvent): void;
|
|
2463
2591
|
protected registerMatSelect(select: MatSelect): void;
|
|
2464
2592
|
reload(reset: boolean): void;
|
|
2593
|
+
protected setupRemoteSelectionHydration(): void;
|
|
2465
2594
|
protected onDependenciesChanged(): void;
|
|
2595
|
+
private ensureCurrentValueLoadedByIds;
|
|
2466
2596
|
private missingOptionLabel;
|
|
2467
2597
|
private loadOptionsErrorLabel;
|
|
2468
|
-
|
|
2469
|
-
|
|
2598
|
+
protected mapRemoteOption(option: AsyncOption): AsyncRenderedOption;
|
|
2599
|
+
protected resolveRemoteOptionValue(option: AsyncOption): unknown;
|
|
2600
|
+
protected resolveRemoteOptionDisabled(option: AsyncOption): boolean;
|
|
2601
|
+
protected areOptionValuesEqual(left: unknown, right: unknown): boolean;
|
|
2470
2602
|
private normalizeRemoteOptionValue;
|
|
2471
2603
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialAsyncSelectComponent, never>;
|
|
2472
2604
|
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>;
|
|
@@ -2507,6 +2639,7 @@ declare class InlineAsyncSelectComponent extends MaterialAsyncSelectComponent {
|
|
|
2507
2639
|
protected getSpecificCssClasses(): string[];
|
|
2508
2640
|
hasSelection(): boolean;
|
|
2509
2641
|
selectedCount(): number;
|
|
2642
|
+
additionalSelectedCount(): number;
|
|
2510
2643
|
displayText(): string;
|
|
2511
2644
|
showQuickClear(): boolean;
|
|
2512
2645
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
@@ -2539,6 +2672,30 @@ type LookupOption = {
|
|
|
2539
2672
|
value: unknown;
|
|
2540
2673
|
disabled?: boolean;
|
|
2541
2674
|
};
|
|
2675
|
+
interface EntityLookupViewModel {
|
|
2676
|
+
id: string;
|
|
2677
|
+
identity: string;
|
|
2678
|
+
code: string;
|
|
2679
|
+
label: string;
|
|
2680
|
+
description: string;
|
|
2681
|
+
status: string;
|
|
2682
|
+
statusTone: LookupStatusTone;
|
|
2683
|
+
selectable: boolean;
|
|
2684
|
+
selectionState: EntityLookupResultState;
|
|
2685
|
+
disabledReason: string;
|
|
2686
|
+
detailHref: string;
|
|
2687
|
+
detailRoute: string;
|
|
2688
|
+
badges: string[];
|
|
2689
|
+
richFields: EntityLookupRichFieldViewModel[];
|
|
2690
|
+
}
|
|
2691
|
+
interface EntityLookupRichFieldViewModel {
|
|
2692
|
+
key: string;
|
|
2693
|
+
label: string;
|
|
2694
|
+
value: string;
|
|
2695
|
+
icon: string;
|
|
2696
|
+
presentation: string;
|
|
2697
|
+
tone: LookupStatusTone | 'info';
|
|
2698
|
+
}
|
|
2542
2699
|
interface LookupClearButtonConfig {
|
|
2543
2700
|
enabled?: boolean;
|
|
2544
2701
|
ariaLabel?: string;
|
|
@@ -2552,14 +2709,22 @@ interface LookupAutoSizeConfig {
|
|
|
2552
2709
|
interface LookupMaterialDesignConfig {
|
|
2553
2710
|
density?: string;
|
|
2554
2711
|
}
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2712
|
+
interface LookupFilterChipViewModel {
|
|
2713
|
+
field: string;
|
|
2714
|
+
label: string;
|
|
2715
|
+
valueText: string;
|
|
2716
|
+
}
|
|
2717
|
+
interface SelectedLookupTokenViewModel {
|
|
2718
|
+
identity: string;
|
|
2719
|
+
text: string;
|
|
2720
|
+
title: string;
|
|
2721
|
+
}
|
|
2722
|
+
interface EntityLookupDialogData {
|
|
2723
|
+
metadata: MaterialEntityLookupMetadata;
|
|
2724
|
+
value: unknown;
|
|
2725
|
+
title?: string;
|
|
2726
|
+
}
|
|
2727
|
+
type EntityLookupMetadata = MaterialEntityLookupMetadata & {
|
|
2563
2728
|
optionLabelKey?: string;
|
|
2564
2729
|
optionValueKey?: string;
|
|
2565
2730
|
clearButton?: LookupClearButtonConfig | false | null;
|
|
@@ -2568,10 +2733,15 @@ type EntityLookupMetadata = MaterialSelectMetadata & {
|
|
|
2568
2733
|
density?: string;
|
|
2569
2734
|
};
|
|
2570
2735
|
declare class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
2736
|
+
private readonly dialog;
|
|
2737
|
+
private readonly globalActions;
|
|
2738
|
+
private readonly resourceDiscovery;
|
|
2739
|
+
private readonly surfaceOpenAdapter;
|
|
2571
2740
|
inlineMinWidthPx: number;
|
|
2572
2741
|
inlineMaxWidthPx: number;
|
|
2573
2742
|
private fieldLabelText;
|
|
2574
2743
|
private staticOptions;
|
|
2744
|
+
set initialMetadata(metadata: MaterialEntityLookupMetadata | null | undefined);
|
|
2575
2745
|
private currentMetadata;
|
|
2576
2746
|
setSelectMetadata(metadata: EntityLookupMetadata): void;
|
|
2577
2747
|
protected setMetadata(metadata: MaterialSelectMetadata): void;
|
|
@@ -2579,11 +2749,67 @@ declare class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
2579
2749
|
onViewportResize(): void;
|
|
2580
2750
|
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
2581
2751
|
protected getSpecificCssClasses(): string[];
|
|
2752
|
+
selectPanelClasses(): string[];
|
|
2582
2753
|
hasSelection(): boolean;
|
|
2583
2754
|
selectedCount(): number;
|
|
2584
2755
|
displayText(): string;
|
|
2756
|
+
richLayoutEnabled(): boolean;
|
|
2757
|
+
selectedCardLayout(): boolean;
|
|
2758
|
+
selectedCompactLayout(): boolean;
|
|
2759
|
+
fullFieldLayout(): boolean;
|
|
2760
|
+
showFieldDependencyHint(): boolean;
|
|
2761
|
+
showFieldSearchHint(): boolean;
|
|
2762
|
+
emptyTriggerIconName(): string;
|
|
2763
|
+
emptyTriggerSupportingText(): string;
|
|
2764
|
+
emptyTriggerContextText(): string;
|
|
2765
|
+
selectedLookupView(): EntityLookupViewModel | null;
|
|
2766
|
+
selectedLookupViews(): EntityLookupViewModel[];
|
|
2767
|
+
visibleSelectedLookupTokens(): SelectedLookupTokenViewModel[];
|
|
2768
|
+
hiddenSelectedLookupTokenCount(): number;
|
|
2769
|
+
isSelected(option: LookupOption): boolean;
|
|
2770
|
+
showSelectedTokenRemove(): boolean;
|
|
2771
|
+
selectedTokenRemoveAriaLabel(text: string): string;
|
|
2772
|
+
onRemoveSelectedToken(event: MouseEvent, identity: string): void;
|
|
2773
|
+
optionLookupView(option: LookupOption): EntityLookupViewModel;
|
|
2774
|
+
showCode(): boolean;
|
|
2775
|
+
showDescription(): boolean;
|
|
2776
|
+
showStatus(): boolean;
|
|
2777
|
+
showAvatar(): boolean;
|
|
2778
|
+
showBadges(): boolean;
|
|
2779
|
+
showDisabledReason(): boolean;
|
|
2780
|
+
showResultCount(): boolean;
|
|
2781
|
+
resultCountText(): string;
|
|
2782
|
+
hasVisibleBadges(item: EntityLookupViewModel): boolean;
|
|
2783
|
+
visibleBadges(item: EntityLookupViewModel): string[];
|
|
2784
|
+
statusBadgeClass(item: EntityLookupViewModel): string;
|
|
2785
|
+
lookupInitials(item: EntityLookupViewModel): string;
|
|
2786
|
+
showDetailAction(item: EntityLookupViewModel): boolean;
|
|
2787
|
+
private hasGovernedDetailSurface;
|
|
2788
|
+
showChangeAction(): boolean;
|
|
2789
|
+
showCopyCodeAction(item: EntityLookupViewModel): boolean;
|
|
2790
|
+
showCopyIdAction(item: EntityLookupViewModel): boolean;
|
|
2791
|
+
showCreateAction(): boolean;
|
|
2792
|
+
detailActionText(): string;
|
|
2793
|
+
changeActionText(): string;
|
|
2794
|
+
copyCodeActionText(): string;
|
|
2795
|
+
copyIdActionText(): string;
|
|
2796
|
+
createActionText(): string;
|
|
2797
|
+
clearActionText(): string;
|
|
2798
|
+
selectionLimitReachedText(maxSelections: number | null | undefined): string;
|
|
2799
|
+
onDetailAction(event: MouseEvent, item: EntityLookupViewModel): void;
|
|
2800
|
+
private openDetailSurface;
|
|
2801
|
+
private tryOpenGovernedDetailSurface;
|
|
2802
|
+
private itemSurfacesHref;
|
|
2803
|
+
private selectDetailSurface;
|
|
2804
|
+
private lookupDetailPresentation;
|
|
2805
|
+
private detailSurfaceTitle;
|
|
2806
|
+
onChangeAction(event: MouseEvent): void;
|
|
2807
|
+
onCopyCodeAction(event: MouseEvent, item: EntityLookupViewModel): void;
|
|
2808
|
+
onCopyIdAction(event: MouseEvent, item: EntityLookupViewModel): void;
|
|
2809
|
+
onCreateAction(event: MouseEvent): void;
|
|
2585
2810
|
optionPrimaryText(option: LookupOption): string;
|
|
2586
2811
|
optionSecondaryText(option: LookupOption): string;
|
|
2812
|
+
protected resolveRemoteOptionValue(option: OptionDTO<string | number>): EntityLookupResult<string | number>;
|
|
2587
2813
|
resetOptionText(): string;
|
|
2588
2814
|
showQuickClear(): boolean;
|
|
2589
2815
|
onResetOptionClick(event: MouseEvent): void;
|
|
@@ -2594,36 +2820,253 @@ declare class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
2594
2820
|
onSearchInput(term: string): void;
|
|
2595
2821
|
showLoadMore(): boolean;
|
|
2596
2822
|
showEndReachedMessage(): boolean;
|
|
2823
|
+
showErrorStateOption(): boolean;
|
|
2824
|
+
showDependencyStateOption(): boolean;
|
|
2825
|
+
showEmptyStateOption(): boolean;
|
|
2826
|
+
onRetryClick(event: MouseEvent): void;
|
|
2827
|
+
errorStateLabel(): string;
|
|
2828
|
+
dependencyStateLabel(): string;
|
|
2829
|
+
emptyStateLabel(): string;
|
|
2597
2830
|
onLoadMoreClick(event: MouseEvent): void;
|
|
2598
2831
|
placeholderText(): string;
|
|
2599
2832
|
searchPlaceholderText(): string;
|
|
2833
|
+
showLookupToolbar(): boolean;
|
|
2834
|
+
showLookupSortControl(): boolean;
|
|
2835
|
+
lookupSortSelectValue(): string;
|
|
2836
|
+
onLookupSortSelectionChange(event: Event): void;
|
|
2837
|
+
activeLookupFilterChips(): LookupFilterChipViewModel[];
|
|
2838
|
+
clearAllLookupFilters(event: MouseEvent): void;
|
|
2839
|
+
clearLookupFilterChip(event: MouseEvent, field: string): void;
|
|
2840
|
+
sortLabelText(): string;
|
|
2841
|
+
sortDefaultOptionText(): string;
|
|
2842
|
+
clearAllFiltersText(): string;
|
|
2843
|
+
currentDialogMetadata(): LookupDialogMetadata | null;
|
|
2844
|
+
dialogEnabled(): boolean;
|
|
2845
|
+
showDialogOption(): boolean;
|
|
2846
|
+
dialogOpenActionText(): string;
|
|
2847
|
+
dialogOpenSupportingText(): string;
|
|
2848
|
+
dialogContextSupportingText(hasActiveFilters: boolean): string;
|
|
2849
|
+
dialogApplyActionText(): string;
|
|
2850
|
+
dialogFilterPanelToggleText(open: boolean): string;
|
|
2851
|
+
dialogFilterPlaceholderText(operator: LookupFilterOperator, type: LookupFilterFieldType): string;
|
|
2852
|
+
dialogFilterOperatorHintText(operator: LookupFilterOperator): string;
|
|
2853
|
+
dialogApplyFiltersActionText(): string;
|
|
2854
|
+
dialogClearFiltersActionText(): string;
|
|
2855
|
+
dialogFilterSelectEmptyText(label: string): string;
|
|
2856
|
+
dialogFilterStartAriaLabelText(label: string): string;
|
|
2857
|
+
dialogFilterEndAriaLabelText(label: string): string;
|
|
2858
|
+
dialogPreviewSelectionStateLabelText(): string;
|
|
2859
|
+
dialogPreviewSelectionStateText(state: EntityLookupResultState): string;
|
|
2860
|
+
dialogSearchAriaLabelText(): string;
|
|
2861
|
+
dialogResultsAriaLabelText(): string;
|
|
2862
|
+
dialogFiltersAriaLabelText(): string;
|
|
2863
|
+
dialogPreviewAriaLabelText(): string;
|
|
2864
|
+
dialogResultOptionAriaLabel(item: EntityLookupViewModel): string;
|
|
2865
|
+
dialogCancelActionText(): string;
|
|
2866
|
+
dialogTitleText(): string;
|
|
2867
|
+
onOpenDialogClick(event: MouseEvent): void;
|
|
2600
2868
|
panelSearchIconName(fallback?: string): string;
|
|
2601
2869
|
panelSearchIconColor(): string | undefined;
|
|
2602
2870
|
panelResetIconName(fallback?: string): string;
|
|
2603
2871
|
panelResetIconColor(): string | undefined;
|
|
2604
2872
|
ariaLabel(): string;
|
|
2873
|
+
interactionDisabled(): boolean;
|
|
2874
|
+
readonlySummaryText(): string;
|
|
2875
|
+
private lookupDialogMetadata;
|
|
2876
|
+
private resolveDialogWidth;
|
|
2877
|
+
private humanizeLookupField;
|
|
2878
|
+
private interpolateLookupText;
|
|
2879
|
+
private lookupDependencyLabels;
|
|
2880
|
+
private missingDependencyLabels;
|
|
2881
|
+
private hasDependencyValue;
|
|
2882
|
+
private humanizeLookupDependencyField;
|
|
2883
|
+
private lookupFilterValueText;
|
|
2884
|
+
inlineTooltipText(): string;
|
|
2605
2885
|
private resolveLookupText;
|
|
2886
|
+
private lookupViewFromValue;
|
|
2606
2887
|
private resolveLookupData;
|
|
2607
2888
|
private buildLookupPrimaryText;
|
|
2608
2889
|
private fallbackLookupText;
|
|
2609
2890
|
private lookupIdKey;
|
|
2891
|
+
private lookupIdKeys;
|
|
2610
2892
|
private lookupLabelKey;
|
|
2893
|
+
private lookupCodeKeys;
|
|
2894
|
+
private lookupLabelKeys;
|
|
2611
2895
|
private lookupSubtitleKey;
|
|
2896
|
+
private lookupSubtitleKeys;
|
|
2897
|
+
private lookupStatusKeys;
|
|
2898
|
+
private resolveLookupSelectable;
|
|
2899
|
+
private lookupBadges;
|
|
2900
|
+
richFieldToneClass(field: EntityLookupRichFieldViewModel): string;
|
|
2901
|
+
private lookupRichFields;
|
|
2902
|
+
private lookupRichFieldFromDescriptor;
|
|
2903
|
+
private asRichFieldArray;
|
|
2904
|
+
private formatLookupRichFieldValue;
|
|
2905
|
+
private normalizeLookupTone;
|
|
2906
|
+
private classifyLookupSelectionState;
|
|
2907
|
+
private resolveStatusTone;
|
|
2612
2908
|
private lookupSeparator;
|
|
2613
2909
|
private normalizeLookupText;
|
|
2910
|
+
private normalizeLookupOptionalText;
|
|
2911
|
+
private parseLookupSelectableValue;
|
|
2614
2912
|
private firstDefined;
|
|
2913
|
+
private lookupSubtitleText;
|
|
2914
|
+
private uniqueLookupKeys;
|
|
2615
2915
|
private equalsOptionValue;
|
|
2916
|
+
private resolveLookupIdentity;
|
|
2917
|
+
displayPreset(): string;
|
|
2918
|
+
private displayDensity;
|
|
2919
|
+
private lookupDisplayConfig;
|
|
2920
|
+
private lookupDisplayBoolean;
|
|
2921
|
+
private readLookupPath;
|
|
2922
|
+
private isPrimitiveLookupValue;
|
|
2616
2923
|
private asRecord;
|
|
2924
|
+
private lookupOptionSource;
|
|
2925
|
+
private resolveDetailHref;
|
|
2926
|
+
private resolveDetailRoute;
|
|
2927
|
+
private applyLookupTemplate;
|
|
2617
2928
|
private resolveFieldLabelFromMetadata;
|
|
2618
2929
|
private currentSearchTerm;
|
|
2930
|
+
private hasUnmetDependencies;
|
|
2931
|
+
private resolveDependencyValuePathFor;
|
|
2932
|
+
private hasMeaningfulDependencyValue;
|
|
2619
2933
|
private applyStaticOptionsFilter;
|
|
2620
2934
|
private humanizeFieldName;
|
|
2935
|
+
private maxVisibleSelectedTokens;
|
|
2936
|
+
private removeSelectionByIdentity;
|
|
2621
2937
|
private recalculateInlineSizeBounds;
|
|
2622
2938
|
private resolveWidthBounds;
|
|
2623
2939
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InlineEntityLookupComponent, never>;
|
|
2624
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InlineEntityLookupComponent, "pdx-inline-entity-lookup", never, {}, {}, never, never, true, never>;
|
|
2940
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InlineEntityLookupComponent, "pdx-inline-entity-lookup", never, { "initialMetadata": { "alias": "initialMetadata"; "required": false; }; }, {}, never, never, true, never>;
|
|
2941
|
+
}
|
|
2942
|
+
declare class EntityLookupDialogComponent implements AfterViewInit {
|
|
2943
|
+
readonly data: EntityLookupDialogData;
|
|
2944
|
+
private readonly destroyRef;
|
|
2945
|
+
private readonly hostRef;
|
|
2946
|
+
private readonly dialogRef;
|
|
2947
|
+
readonly lookup: _angular_core.Signal<InlineEntityLookupComponent>;
|
|
2948
|
+
readonly selectionControl: FormControl<unknown>;
|
|
2949
|
+
readonly dialogSearchControl: FormControl<string | null>;
|
|
2950
|
+
readonly filterPanelOpen: FormControl<boolean>;
|
|
2951
|
+
private readonly dialogFilterControls;
|
|
2952
|
+
private readonly dialogFilterSecondaryControls;
|
|
2953
|
+
private previewIdentity;
|
|
2954
|
+
private activeResultIndex;
|
|
2955
|
+
ngAfterViewInit(): void;
|
|
2956
|
+
apply(): void;
|
|
2957
|
+
cancel(): void;
|
|
2958
|
+
applyText(): string;
|
|
2959
|
+
cancelText(): string;
|
|
2960
|
+
searchPlaceholder(): string;
|
|
2961
|
+
dialogSearchAriaLabel(): string;
|
|
2962
|
+
dialogResultsAriaLabel(): string;
|
|
2963
|
+
dialogFiltersAriaLabel(): string;
|
|
2964
|
+
dialogPreviewAriaLabel(): string;
|
|
2965
|
+
showSortControl(): boolean;
|
|
2966
|
+
sortOptions(): _praxisui_core.LookupSortOptionMetadata[];
|
|
2967
|
+
sortValue(): string;
|
|
2968
|
+
onSortChange(event: Event): void;
|
|
2969
|
+
sortLabel(): string;
|
|
2970
|
+
sortDefaultLabel(): string;
|
|
2971
|
+
dialogIntroText(): string;
|
|
2972
|
+
dialogContextText(): string;
|
|
2973
|
+
hasStructuredDialogFilters(): boolean;
|
|
2974
|
+
showFilterPanel(): boolean;
|
|
2975
|
+
toggleFilterPanel(): void;
|
|
2976
|
+
dialogFilterDefinitions(): LookupFilterDefinitionMetadata[];
|
|
2977
|
+
filterPanelToggleText(): string;
|
|
2978
|
+
filterControl(field: string): FormControl<unknown>;
|
|
2979
|
+
filterSecondaryControl(field: string): FormControl<unknown>;
|
|
2980
|
+
dialogFilterLabel(definition: LookupFilterDefinitionMetadata): string;
|
|
2981
|
+
dialogFilterPlaceholder(definition: LookupFilterDefinitionMetadata): string;
|
|
2982
|
+
dialogFilterRangeEndPlaceholder(definition: LookupFilterDefinitionMetadata): string;
|
|
2983
|
+
dialogFilterStartAriaLabel(definition: LookupFilterDefinitionMetadata): string;
|
|
2984
|
+
dialogFilterEndAriaLabel(definition: LookupFilterDefinitionMetadata): string;
|
|
2985
|
+
dialogFilterInputType(definition: LookupFilterDefinitionMetadata): 'text' | 'date' | 'number';
|
|
2986
|
+
useDialogEnumSelect(definition: LookupFilterDefinitionMetadata): boolean;
|
|
2987
|
+
useDialogMultiSelect(definition: LookupFilterDefinitionMetadata): boolean;
|
|
2988
|
+
useDialogRangeInputs(definition: LookupFilterDefinitionMetadata): boolean;
|
|
2989
|
+
dialogFilterSelectEmptyText(definition: LookupFilterDefinitionMetadata): string;
|
|
2990
|
+
dialogEnumOptions(definition: LookupFilterDefinitionMetadata): Array<{
|
|
2991
|
+
value: string;
|
|
2992
|
+
label: string;
|
|
2993
|
+
}>;
|
|
2994
|
+
dialogOperatorHint(definition: LookupFilterDefinitionMetadata): string;
|
|
2995
|
+
applyDialogFiltersText(): string;
|
|
2996
|
+
clearDialogFiltersText(): string;
|
|
2997
|
+
applyDialogFilters(): void;
|
|
2998
|
+
resetDialogFilters(): void;
|
|
2999
|
+
dialogColumns(): LookupResultColumnMetadata[];
|
|
3000
|
+
showResultTable(): boolean;
|
|
3001
|
+
showCardResultLayout(): boolean;
|
|
3002
|
+
showCompactResultLayout(): boolean;
|
|
3003
|
+
dialogColumnLabel(column: LookupResultColumnMetadata): string;
|
|
3004
|
+
columnFlex(column: LookupResultColumnMetadata): string;
|
|
3005
|
+
dialogCellText(option: LookupOption, column: LookupResultColumnMetadata): string;
|
|
3006
|
+
resultOptions(): _praxisui_dynamic_fields.SelectOption<any>[];
|
|
3007
|
+
hasResultRows(): boolean;
|
|
3008
|
+
hasSelection(): boolean;
|
|
3009
|
+
canApply(): boolean;
|
|
3010
|
+
selectedSummaryText(): string;
|
|
3011
|
+
selectedDisabledReason(): string;
|
|
3012
|
+
selectResult(option: LookupOption): void;
|
|
3013
|
+
isSelected(option: LookupOption): boolean;
|
|
3014
|
+
resultOptionDisabled(option: LookupOption): boolean;
|
|
3015
|
+
loadMore(): void;
|
|
3016
|
+
resultState(option: LookupOption): EntityLookupResultState;
|
|
3017
|
+
resultRowTitle(option: LookupOption): string | null;
|
|
3018
|
+
resultRowId(index: number): string;
|
|
3019
|
+
resultRowTabIndex(index: number): number;
|
|
3020
|
+
resultRowAriaLabel(option: LookupOption): string;
|
|
3021
|
+
setActiveResult(index: number, option: LookupOption): void;
|
|
3022
|
+
onResultRowKeydown(event: KeyboardEvent, index: number, option: LookupOption): void;
|
|
3023
|
+
showPreviewDetailAction(item: EntityLookupViewModel): boolean;
|
|
3024
|
+
showPreviewCopyCodeAction(item: EntityLookupViewModel): boolean;
|
|
3025
|
+
showPreviewCopyIdAction(item: EntityLookupViewModel): boolean;
|
|
3026
|
+
showPreviewCreateAction(): boolean;
|
|
3027
|
+
showPreviewClearAction(): boolean;
|
|
3028
|
+
onPreviewDetailAction(event: MouseEvent, item: EntityLookupViewModel): void;
|
|
3029
|
+
onPreviewCopyCodeAction(event: MouseEvent, item: EntityLookupViewModel): void;
|
|
3030
|
+
onPreviewCopyIdAction(event: MouseEvent, item: EntityLookupViewModel): void;
|
|
3031
|
+
onPreviewCreateAction(event: MouseEvent): void;
|
|
3032
|
+
onPreviewClearAction(event: MouseEvent): void;
|
|
3033
|
+
showPreviewPanel(): boolean;
|
|
3034
|
+
previewItem(): EntityLookupViewModel | null;
|
|
3035
|
+
setPreviewFromOption(option: LookupOption): void;
|
|
3036
|
+
previewSelectionStateLabel(): string;
|
|
3037
|
+
previewSelectionStateText(item: EntityLookupViewModel): string;
|
|
3038
|
+
private initializeDialogFilters;
|
|
3039
|
+
private dialogFilterEmptyValue;
|
|
3040
|
+
private serializeDialogFilterSingleValue;
|
|
3041
|
+
private serializeDialogFilterScalarValue;
|
|
3042
|
+
private buildDialogFilterRequest;
|
|
3043
|
+
private normalizeDialogFilterControlValue;
|
|
3044
|
+
private normalizeDialogFilterScalarValue;
|
|
3045
|
+
private resolveDialogFilterFieldValue;
|
|
3046
|
+
private pushDialogEnumOption;
|
|
3047
|
+
private syncPreviewIdentity;
|
|
3048
|
+
private focusResultRow;
|
|
3049
|
+
private normalizeOptionValue;
|
|
3050
|
+
private normalizeInitialDialogValue;
|
|
3051
|
+
private initialSelectionSnapshot;
|
|
3052
|
+
private selectionSnapshot;
|
|
3053
|
+
private selectedValueCount;
|
|
3054
|
+
private toggleMultipleSelection;
|
|
3055
|
+
private dialogCustomCellText;
|
|
3056
|
+
private humanizeColumnField;
|
|
3057
|
+
private optionIdentity;
|
|
3058
|
+
private dialogHasConfiguredColumns;
|
|
3059
|
+
private dialogResultLayout;
|
|
3060
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityLookupDialogComponent, never>;
|
|
3061
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityLookupDialogComponent, "pdx-entity-lookup-dialog", never, {}, {}, never, never, true, never>;
|
|
3062
|
+
}
|
|
3063
|
+
|
|
3064
|
+
interface InlineMultiSelectTokenViewModel {
|
|
3065
|
+
value: unknown;
|
|
3066
|
+
text: string;
|
|
3067
|
+
title: string;
|
|
3068
|
+
trackKey: string;
|
|
2625
3069
|
}
|
|
2626
|
-
|
|
2627
3070
|
declare class InlineMultiSelectComponent extends SimpleBaseSelectComponent {
|
|
2628
3071
|
readonlyMode: boolean;
|
|
2629
3072
|
disabledMode: boolean;
|
|
@@ -2643,9 +3086,18 @@ declare class InlineMultiSelectComponent extends SimpleBaseSelectComponent {
|
|
|
2643
3086
|
hasSelection(): boolean;
|
|
2644
3087
|
selectedCount(): number;
|
|
2645
3088
|
displayText(): string;
|
|
3089
|
+
selectedTokens(): InlineMultiSelectTokenViewModel[];
|
|
3090
|
+
visibleSelectedTokens(): InlineMultiSelectTokenViewModel[];
|
|
3091
|
+
hiddenSelectedTokenCount(): number;
|
|
3092
|
+
hiddenSelectedTokenTitle(): string;
|
|
3093
|
+
selectedTokensAriaLabel(): string;
|
|
3094
|
+
selectedTokenRemoveAriaLabel(text: string): string;
|
|
3095
|
+
selectedPanelTitle(): string;
|
|
3096
|
+
selectedPanelRemoveHint(): string;
|
|
2646
3097
|
showQuickClear(): boolean;
|
|
2647
3098
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
2648
3099
|
onQuickClear(event: MouseEvent): void;
|
|
3100
|
+
onRemoveSelectedToken(event: MouseEvent, value: unknown): void;
|
|
2649
3101
|
onOpenedChange(opened: boolean): void;
|
|
2650
3102
|
onSearchInput(term: string): void;
|
|
2651
3103
|
onSearchInputEvent(event: Event): void;
|
|
@@ -2657,6 +3109,8 @@ declare class InlineMultiSelectComponent extends SimpleBaseSelectComponent {
|
|
|
2657
3109
|
private currentValues;
|
|
2658
3110
|
private resolveOptionLabel;
|
|
2659
3111
|
private equalsOptionValue;
|
|
3112
|
+
private maxVisibleSelectedTokens;
|
|
3113
|
+
private stringifyTokenValue;
|
|
2660
3114
|
private resolveFieldLabelFromMetadata;
|
|
2661
3115
|
private humanizeFieldName;
|
|
2662
3116
|
private recalculateInlineSizeBounds;
|
|
@@ -2676,6 +3130,7 @@ declare class InlineInputComponent extends SimpleBaseInputComponent {
|
|
|
2676
3130
|
inlineWidthPx: number;
|
|
2677
3131
|
inlineMaxWidthPx: number;
|
|
2678
3132
|
private resizeRafId;
|
|
3133
|
+
private maskSyncRafId;
|
|
2679
3134
|
private currentMetadata;
|
|
2680
3135
|
private metadataRecord;
|
|
2681
3136
|
private asRecord;
|
|
@@ -2687,19 +3142,24 @@ declare class InlineInputComponent extends SimpleBaseInputComponent {
|
|
|
2687
3142
|
protected getSpecificCssClasses(): string[];
|
|
2688
3143
|
isReadonlyEffective(): boolean;
|
|
2689
3144
|
showQuickClear(): boolean;
|
|
3145
|
+
hasInlineValue(): boolean;
|
|
2690
3146
|
showInlinePlaceholder(): boolean;
|
|
2691
3147
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
2692
3148
|
onQuickClear(event: MouseEvent): void;
|
|
2693
|
-
onInlineInput(): void;
|
|
3149
|
+
onInlineInput(event?: Event): void;
|
|
2694
3150
|
widthProbeText(): string;
|
|
2695
3151
|
placeholderText(): string;
|
|
2696
3152
|
ariaLabel(): string;
|
|
2697
3153
|
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
2698
3154
|
private scheduleInlineResize;
|
|
3155
|
+
private scheduleMaskedDisplaySync;
|
|
2699
3156
|
private recalculateInlineWidth;
|
|
2700
3157
|
private resolveWidthBounds;
|
|
2701
3158
|
private resolveChromeWidth;
|
|
2702
3159
|
private parsePx;
|
|
3160
|
+
private syncMaskedDisplayValue;
|
|
3161
|
+
private formatInlineDisplayValue;
|
|
3162
|
+
private resolveDisplayMask;
|
|
2703
3163
|
private resolveFieldLabelFromMetadata;
|
|
2704
3164
|
private humanizeFieldName;
|
|
2705
3165
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InlineInputComponent, never>;
|
|
@@ -3002,6 +3462,12 @@ declare class InlineCurrencyRangeComponent extends SimpleBaseInputComponent {
|
|
|
3002
3462
|
currentSelectionText(): string;
|
|
3003
3463
|
currentStartLabel(): string;
|
|
3004
3464
|
currentEndLabel(): string;
|
|
3465
|
+
sliderStartThumbValue(): number;
|
|
3466
|
+
sliderEndThumbValue(): number;
|
|
3467
|
+
currentStartPosition(): string;
|
|
3468
|
+
currentEndPosition(): string;
|
|
3469
|
+
currentStartPositionPercent(): number;
|
|
3470
|
+
currentEndPositionPercent(): number;
|
|
3005
3471
|
placeholderText(): string;
|
|
3006
3472
|
panelTitle(): string;
|
|
3007
3473
|
ariaLabel(): string;
|
|
@@ -3010,6 +3476,8 @@ declare class InlineCurrencyRangeComponent extends SimpleBaseInputComponent {
|
|
|
3010
3476
|
onQuickClear(event: MouseEvent): void;
|
|
3011
3477
|
onTriggerClick(event: MouseEvent): void;
|
|
3012
3478
|
onTriggerKeydown(event: Event): void;
|
|
3479
|
+
onSliderStartInput(event: Event): void;
|
|
3480
|
+
onSliderEndInput(event: Event): void;
|
|
3013
3481
|
closePanel(): void;
|
|
3014
3482
|
onOverlayDetach(): void;
|
|
3015
3483
|
panelId(): string;
|
|
@@ -3018,6 +3486,7 @@ declare class InlineCurrencyRangeComponent extends SimpleBaseInputComponent {
|
|
|
3018
3486
|
private rebuildValidators;
|
|
3019
3487
|
private buildRangeValidator;
|
|
3020
3488
|
private syncRangeGroupFromControl;
|
|
3489
|
+
private updateRangeFromSlider;
|
|
3021
3490
|
private currentRangeValue;
|
|
3022
3491
|
private distributionVisual;
|
|
3023
3492
|
private resolveDistributionVisual;
|
|
@@ -3026,6 +3495,7 @@ declare class InlineCurrencyRangeComponent extends SimpleBaseInputComponent {
|
|
|
3026
3495
|
private normalizeRangeValue;
|
|
3027
3496
|
private areRangeValuesEqual;
|
|
3028
3497
|
private toFiniteNumberOrNull;
|
|
3498
|
+
private valuePositionPercent;
|
|
3029
3499
|
private toNonEmptyText;
|
|
3030
3500
|
private parseJsonValue;
|
|
3031
3501
|
private normalizePositivePx;
|
|
@@ -3136,6 +3606,7 @@ declare class InlineRangeSliderComponent extends SimpleBaseInputComponent {
|
|
|
3136
3606
|
maxValue(): number;
|
|
3137
3607
|
stepValue(): number;
|
|
3138
3608
|
showTickMarks(): boolean;
|
|
3609
|
+
valueLabelEnabled(): boolean;
|
|
3139
3610
|
isRangeMode(): boolean;
|
|
3140
3611
|
isInteractionBlocked(): boolean;
|
|
3141
3612
|
hasSelection(): boolean;
|
|
@@ -3427,6 +3898,7 @@ declare class InlineDateRangeComponent extends MaterialDateRangeComponent {
|
|
|
3427
3898
|
onQuickClear(event: MouseEvent): void;
|
|
3428
3899
|
onInlineInput(): void;
|
|
3429
3900
|
onInputKeydown(event: Event, picker: MatDateRangePicker<Date>): void;
|
|
3901
|
+
onInputClick(event: Event): void;
|
|
3430
3902
|
onFieldContainerClick(picker: MatDateRangePicker<Date>, event: MouseEvent): void;
|
|
3431
3903
|
openPicker(picker: MatDateRangePicker<Date>, event: Event): void;
|
|
3432
3904
|
onOverlayOpened(): void;
|
|
@@ -4051,6 +4523,7 @@ declare class InlinePipelineStatusComponent extends SimpleBaseSelectComponent<un
|
|
|
4051
4523
|
protected resolveInlineContextTooltipValue(): string;
|
|
4052
4524
|
hasSelection(): boolean;
|
|
4053
4525
|
displayText(): string;
|
|
4526
|
+
selectedChipValueText(): string;
|
|
4054
4527
|
showQuickClear(): boolean;
|
|
4055
4528
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
4056
4529
|
onQuickClear(event: MouseEvent): void;
|
|
@@ -4440,6 +4913,7 @@ declare class InlineColorLabelComponent extends SimpleBaseSelectComponent<unknow
|
|
|
4440
4913
|
protected resolveInlineContextTooltipValue(): string;
|
|
4441
4914
|
hasSelection(): boolean;
|
|
4442
4915
|
displayText(): string;
|
|
4916
|
+
selectedChipValueText(): string;
|
|
4443
4917
|
showQuickClear(): boolean;
|
|
4444
4918
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
4445
4919
|
onQuickClear(event: MouseEvent): void;
|
|
@@ -4497,13 +4971,20 @@ declare class InlineColorLabelComponent extends SimpleBaseSelectComponent<unknow
|
|
|
4497
4971
|
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
4972
|
}
|
|
4499
4973
|
|
|
4500
|
-
declare class MaterialMultiSelectComponent extends SimpleBaseSelectComponent {
|
|
4974
|
+
declare class MaterialMultiSelectComponent extends SimpleBaseSelectComponent implements DoCheck {
|
|
4501
4975
|
readonlyMode: boolean;
|
|
4502
4976
|
disabledMode: boolean;
|
|
4503
4977
|
visible: boolean;
|
|
4504
4978
|
presentationMode: boolean;
|
|
4979
|
+
private disabledModeAppliedToControl;
|
|
4980
|
+
ngDoCheck(): void;
|
|
4505
4981
|
protected defaultPanelClass(): string;
|
|
4506
4982
|
selectAllLabel(): string;
|
|
4983
|
+
multiSelectAriaDisabled(): 'true' | null;
|
|
4984
|
+
multiSelectAriaReadonly(): 'true' | null;
|
|
4985
|
+
selectOption(option: SelectOption<unknown>): void;
|
|
4986
|
+
toggleSelectAll(): void;
|
|
4987
|
+
onClearClick(): void;
|
|
4507
4988
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
4508
4989
|
/** Disables options when maxSelections reached */
|
|
4509
4990
|
isOptionDisabled(option: SelectOption<unknown>): boolean;
|
|
@@ -4511,6 +4992,7 @@ declare class MaterialMultiSelectComponent extends SimpleBaseSelectComponent {
|
|
|
4511
4992
|
onOptionSelectionChange(option: SelectOption<unknown>, event: MatOptionSelectionChange): void;
|
|
4512
4993
|
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
4513
4994
|
private optionsFromLegacy;
|
|
4995
|
+
private syncDisabledModeControlState;
|
|
4514
4996
|
private normalizeOption;
|
|
4515
4997
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialMultiSelectComponent, never>;
|
|
4516
4998
|
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,6 +5126,10 @@ declare class MaterialChipsComponent extends SimpleBaseSelectComponent {
|
|
|
4644
5126
|
private mapRawOption;
|
|
4645
5127
|
displayOption: (value: unknown) => string;
|
|
4646
5128
|
selectedOptions(): SelectOption[];
|
|
5129
|
+
isChipsInteractionDisabled(): boolean;
|
|
5130
|
+
canRemoveChips(): boolean;
|
|
5131
|
+
removeChipAriaLabel(option: SelectOption): string;
|
|
5132
|
+
selectOption(option: SelectOption): void;
|
|
4647
5133
|
removeChip(option: SelectOption): void;
|
|
4648
5134
|
onInputTokenEnd(event: MatChipInputEvent): void;
|
|
4649
5135
|
onSearchInputEvent(event: Event): void;
|
|
@@ -4655,13 +5141,24 @@ declare class MaterialChipsComponent extends SimpleBaseSelectComponent {
|
|
|
4655
5141
|
}
|
|
4656
5142
|
|
|
4657
5143
|
declare class MaterialButtonToggleComponent extends SimpleBaseSelectComponent {
|
|
5144
|
+
readonlyMode: boolean;
|
|
5145
|
+
disabledMode: boolean;
|
|
5146
|
+
visible: boolean;
|
|
5147
|
+
presentationMode: boolean;
|
|
4658
5148
|
private asRecord;
|
|
4659
5149
|
private mapRawOption;
|
|
5150
|
+
labelId(): string;
|
|
5151
|
+
groupAriaLabel(): string | null;
|
|
5152
|
+
groupAriaLabelledby(): string | null;
|
|
5153
|
+
toggleInteractionDisabled(): boolean;
|
|
5154
|
+
toggleAriaDisabled(): 'true' | null;
|
|
5155
|
+
toggleAriaReadonly(): 'true' | null;
|
|
5156
|
+
readonlyEffective(): boolean;
|
|
4660
5157
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
4661
5158
|
protected getSpecificCssClasses(): string[];
|
|
4662
5159
|
onGroupChange(event: MatButtonToggleChange): void;
|
|
4663
5160
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialButtonToggleComponent, never>;
|
|
4664
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialButtonToggleComponent, "pdx-material-button-toggle", never, {}, {}, never, never, true, never>;
|
|
5161
|
+
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
5162
|
}
|
|
4666
5163
|
|
|
4667
5164
|
declare class MaterialSlideToggleComponent extends SimpleBaseInputComponent {
|
|
@@ -4669,6 +5166,11 @@ declare class MaterialSlideToggleComponent extends SimpleBaseInputComponent {
|
|
|
4669
5166
|
disabledMode: boolean;
|
|
4670
5167
|
visible: boolean;
|
|
4671
5168
|
presentationMode: boolean;
|
|
5169
|
+
requiredEffective(): boolean;
|
|
5170
|
+
toggleInteractionDisabled(): boolean;
|
|
5171
|
+
toggleAriaDisabled(): 'true' | null;
|
|
5172
|
+
toggleAriaReadonly(): 'true' | null;
|
|
5173
|
+
readonlyEffective(): boolean;
|
|
4672
5174
|
/** Applies component metadata with strong typing. */
|
|
4673
5175
|
setInputMetadata(metadata: MaterialToggleMetadata): void;
|
|
4674
5176
|
protected getSpecificCssClasses(): string[];
|
|
@@ -4676,16 +5178,60 @@ declare class MaterialSlideToggleComponent extends SimpleBaseInputComponent {
|
|
|
4676
5178
|
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
5179
|
}
|
|
4678
5180
|
|
|
5181
|
+
interface SliderDistributionBar$1 {
|
|
5182
|
+
id: string;
|
|
5183
|
+
ratio: number;
|
|
5184
|
+
selected: boolean;
|
|
5185
|
+
background?: string;
|
|
5186
|
+
color?: string;
|
|
5187
|
+
label?: string;
|
|
5188
|
+
}
|
|
5189
|
+
interface SliderSemanticBandView$1 {
|
|
5190
|
+
id: string;
|
|
5191
|
+
startPercent: number;
|
|
5192
|
+
widthPercent: number;
|
|
5193
|
+
tone: RangeSliderSemanticBand['tone'];
|
|
5194
|
+
color?: string;
|
|
5195
|
+
label?: string;
|
|
5196
|
+
}
|
|
4679
5197
|
declare class MaterialSliderComponent extends SimpleBaseInputComponent {
|
|
4680
5198
|
readonlyMode: boolean;
|
|
4681
5199
|
disabledMode: boolean;
|
|
4682
5200
|
visible: boolean;
|
|
4683
5201
|
presentationMode: boolean;
|
|
4684
5202
|
/** Display function for slider values */
|
|
4685
|
-
displayWithFn: (value: number) =>
|
|
5203
|
+
displayWithFn: (value: number) => string;
|
|
5204
|
+
sliderStep(): number;
|
|
5205
|
+
valueLabelEnabled(): boolean;
|
|
5206
|
+
showTickMarks(): boolean;
|
|
5207
|
+
trackMode(): 'normal' | 'inverted' | 'none';
|
|
5208
|
+
sliderSize(): 'small' | 'medium' | 'large';
|
|
5209
|
+
markLabels(): RangeSliderMark[];
|
|
5210
|
+
semanticBandViews(): SliderSemanticBandView$1[];
|
|
5211
|
+
distributionBars(): SliderDistributionBar$1[];
|
|
5212
|
+
sliderInteractionDisabled(): boolean;
|
|
5213
|
+
sliderAriaDisabled(): 'true' | null;
|
|
5214
|
+
sliderAriaReadonly(): 'true' | null;
|
|
5215
|
+
readonlyEffective(): boolean;
|
|
5216
|
+
markPosition(value: number): number;
|
|
4686
5217
|
/** Applies component metadata with strong typing. */
|
|
4687
5218
|
setInputMetadata(metadata: MaterialSliderMetadata): void;
|
|
4688
5219
|
protected getSpecificCssClasses(): string[];
|
|
5220
|
+
private currentMetadata;
|
|
5221
|
+
private resolveMarks;
|
|
5222
|
+
private parseJsonArray;
|
|
5223
|
+
private parseJsonObject;
|
|
5224
|
+
private normalizeTone;
|
|
5225
|
+
private resolveSemanticBands;
|
|
5226
|
+
private resolveDistributionBars;
|
|
5227
|
+
private normalizeDistributionColorMode;
|
|
5228
|
+
private isDistributionBarSelected;
|
|
5229
|
+
private resolveDistributionBarBackground;
|
|
5230
|
+
private stringConfig;
|
|
5231
|
+
formatSliderValue(value: unknown): string;
|
|
5232
|
+
private scaleValue;
|
|
5233
|
+
private formatStorageValue;
|
|
5234
|
+
private formatCurrencyValue;
|
|
4689
5235
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialSliderComponent, never>;
|
|
4690
5236
|
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
5237
|
}
|
|
@@ -4694,11 +5240,45 @@ type ThemeColor = 'primary' | 'secondary' | 'tertiary' | 'base' | 'info' | 'succ
|
|
|
4694
5240
|
type Rounded = 'full' | 'large' | 'medium' | 'small' | 'none';
|
|
4695
5241
|
type AvatarSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge' | 'none';
|
|
4696
5242
|
type FillMode = 'solid' | 'outline' | 'none';
|
|
5243
|
+
type AvatarStatus = 'online' | 'offline' | 'busy' | 'away' | 'verified' | 'none';
|
|
5244
|
+
type AvatarEmphasis = 'none' | 'ring' | 'halo';
|
|
4697
5245
|
type IconInput = string | SafeHtml | {
|
|
4698
5246
|
name?: string;
|
|
4699
5247
|
svg?: string;
|
|
4700
5248
|
fontClass?: string;
|
|
4701
5249
|
};
|
|
5250
|
+
interface AvatarGroupItem {
|
|
5251
|
+
imageSrc?: string;
|
|
5252
|
+
imageAlt?: string;
|
|
5253
|
+
initials?: string;
|
|
5254
|
+
name?: string;
|
|
5255
|
+
icon?: IconInput;
|
|
5256
|
+
defaultIcon?: IconInput;
|
|
5257
|
+
themeColor?: ThemeColor;
|
|
5258
|
+
rounded?: Rounded;
|
|
5259
|
+
fillMode?: FillMode;
|
|
5260
|
+
status?: AvatarStatus;
|
|
5261
|
+
statusLabel?: string;
|
|
5262
|
+
emphasis?: AvatarEmphasis;
|
|
5263
|
+
emphasisColor?: ThemeColor;
|
|
5264
|
+
emphasisLabel?: string;
|
|
5265
|
+
tooltip?: string;
|
|
5266
|
+
ariaLabel?: string;
|
|
5267
|
+
}
|
|
5268
|
+
interface NormalizedAvatarGroupItem extends AvatarGroupItem {
|
|
5269
|
+
key: string;
|
|
5270
|
+
index: number;
|
|
5271
|
+
initialsText: string;
|
|
5272
|
+
imageUrl: string;
|
|
5273
|
+
label: string;
|
|
5274
|
+
tooltip: string;
|
|
5275
|
+
themeColor: ThemeColor;
|
|
5276
|
+
rounded: Rounded;
|
|
5277
|
+
fillMode: FillMode;
|
|
5278
|
+
status: AvatarStatus;
|
|
5279
|
+
emphasis: AvatarEmphasis;
|
|
5280
|
+
emphasisColor: ThemeColor;
|
|
5281
|
+
}
|
|
4702
5282
|
declare class MaterialAvatarComponent implements OnChanges {
|
|
4703
5283
|
private readonly sanitizer;
|
|
4704
5284
|
private readonly elementRef;
|
|
@@ -4722,6 +5302,12 @@ declare class MaterialAvatarComponent implements OnChanges {
|
|
|
4722
5302
|
private _border;
|
|
4723
5303
|
private _sizePx?;
|
|
4724
5304
|
private _sizeCss?;
|
|
5305
|
+
private _initialsMaxLength;
|
|
5306
|
+
private _groupItems;
|
|
5307
|
+
private _groupMaxVisible;
|
|
5308
|
+
private _groupOverlap;
|
|
5309
|
+
private _emphasis;
|
|
5310
|
+
private _emphasisColor;
|
|
4725
5311
|
set themeColor(value: ThemeColor);
|
|
4726
5312
|
get themeColor(): ThemeColor;
|
|
4727
5313
|
set rounded(value: Rounded);
|
|
@@ -4738,6 +5324,25 @@ declare class MaterialAvatarComponent implements OnChanges {
|
|
|
4738
5324
|
get sizeCss(): string | undefined;
|
|
4739
5325
|
tooltip?: string;
|
|
4740
5326
|
ariaLabel?: string;
|
|
5327
|
+
status?: AvatarStatus;
|
|
5328
|
+
statusLabel?: string;
|
|
5329
|
+
badge?: string | number;
|
|
5330
|
+
badgeLabel?: string;
|
|
5331
|
+
emphasisLabel?: string;
|
|
5332
|
+
set emphasis(value: AvatarEmphasis | undefined);
|
|
5333
|
+
get emphasis(): AvatarEmphasis;
|
|
5334
|
+
set emphasisColor(value: ThemeColor | undefined);
|
|
5335
|
+
get emphasisColor(): ThemeColor;
|
|
5336
|
+
set initialsMaxLength(value: number | string | undefined);
|
|
5337
|
+
get initialsMaxLength(): number;
|
|
5338
|
+
set groupItems(value: AvatarGroupItem[] | undefined);
|
|
5339
|
+
get groupItems(): AvatarGroupItem[];
|
|
5340
|
+
set groupMaxVisible(value: number | string | undefined);
|
|
5341
|
+
get groupMaxVisible(): number;
|
|
5342
|
+
set groupOverlap(value: number | string | undefined);
|
|
5343
|
+
get groupOverlap(): number;
|
|
5344
|
+
groupOverflowLabel?: string;
|
|
5345
|
+
groupLabel?: string;
|
|
4741
5346
|
readonlyMode?: boolean;
|
|
4742
5347
|
disabledMode?: boolean;
|
|
4743
5348
|
visible?: boolean;
|
|
@@ -4750,6 +5355,7 @@ declare class MaterialAvatarComponent implements OnChanges {
|
|
|
4750
5355
|
get style(): NgStyle | undefined;
|
|
4751
5356
|
imageError: EventEmitter<void>;
|
|
4752
5357
|
private readonly _imgFailed;
|
|
5358
|
+
private readonly groupImageFailures;
|
|
4753
5359
|
private readonly controlValue;
|
|
4754
5360
|
private readonly _syncControlValue;
|
|
4755
5361
|
readonly resolvedImageSrc: _angular_core.Signal<string>;
|
|
@@ -4757,6 +5363,7 @@ declare class MaterialAvatarComponent implements OnChanges {
|
|
|
4757
5363
|
readonly hasImage: _angular_core.Signal<boolean>;
|
|
4758
5364
|
readonly hasInitials: _angular_core.Signal<boolean>;
|
|
4759
5365
|
readonly componentCssClasses: _angular_core.Signal<string>;
|
|
5366
|
+
readonly computedHostRole: _angular_core.Signal<"group" | "img">;
|
|
4760
5367
|
readonly resolvedStyle: _angular_core.Signal<{
|
|
4761
5368
|
[x: string]: unknown;
|
|
4762
5369
|
} | null>;
|
|
@@ -4767,10 +5374,41 @@ declare class MaterialAvatarComponent implements OnChanges {
|
|
|
4767
5374
|
private pickImageSrcFromValue;
|
|
4768
5375
|
private normalizeImageUrl;
|
|
4769
5376
|
private normalizeCssSize;
|
|
5377
|
+
private normalizeThemeColor;
|
|
5378
|
+
private normalizeRounded;
|
|
5379
|
+
private normalizeFillMode;
|
|
5380
|
+
private normalizeStatus;
|
|
5381
|
+
private normalizeEmphasis;
|
|
5382
|
+
private initialsFrom;
|
|
5383
|
+
private groupItemLabel;
|
|
5384
|
+
private defaultStatusLabel;
|
|
5385
|
+
private iconNameFrom;
|
|
5386
|
+
private themeStyle;
|
|
5387
|
+
private radiusToken;
|
|
5388
|
+
readonly resolvedStatus: _angular_core.Signal<AvatarStatus>;
|
|
5389
|
+
readonly resolvedStatusLabel: _angular_core.Signal<string>;
|
|
5390
|
+
normalizedBadge(): string;
|
|
5391
|
+
readonly resolvedBadgeLabel: _angular_core.Signal<string>;
|
|
5392
|
+
readonly resolvedEmphasisLabel: _angular_core.Signal<string>;
|
|
4770
5393
|
shouldShowImage(): boolean;
|
|
4771
5394
|
shouldShowIcon(): boolean;
|
|
4772
5395
|
shouldShowInitials(): boolean;
|
|
4773
5396
|
shouldShowDefaultIcon(): boolean;
|
|
5397
|
+
shouldShowStatus(): boolean;
|
|
5398
|
+
shouldShowBadge(): boolean;
|
|
5399
|
+
shouldRenderGroup(): boolean;
|
|
5400
|
+
readonly normalizedGroupItems: _angular_core.Signal<NormalizedAvatarGroupItem[]>;
|
|
5401
|
+
readonly visibleGroupItems: _angular_core.Signal<NormalizedAvatarGroupItem[]>;
|
|
5402
|
+
readonly groupOverflowCount: _angular_core.Signal<number>;
|
|
5403
|
+
groupItemClasses(item: NormalizedAvatarGroupItem): string;
|
|
5404
|
+
groupItemStyle(item: NormalizedAvatarGroupItem): Record<string, string>;
|
|
5405
|
+
groupOverflowStyle(): Record<string, string>;
|
|
5406
|
+
groupOverlapCss(): string;
|
|
5407
|
+
groupImageFailed(index: number): boolean;
|
|
5408
|
+
onGroupImgError(index: number): void;
|
|
5409
|
+
groupIconName(item: AvatarGroupItem): string | null;
|
|
5410
|
+
groupDefaultIconName(item: AvatarGroupItem): string | null;
|
|
5411
|
+
resolvedGroupOverflowLabel(): string;
|
|
4774
5412
|
readonly hasExplicitIcon: _angular_core.Signal<boolean>;
|
|
4775
5413
|
readonly hasDefaultIcon: _angular_core.Signal<boolean>;
|
|
4776
5414
|
normalizedInitials(): string;
|
|
@@ -4783,14 +5421,32 @@ declare class MaterialAvatarComponent implements OnChanges {
|
|
|
4783
5421
|
ngOnChanges(_changes: SimpleChanges): void;
|
|
4784
5422
|
setInputMetadata(meta: ComponentMetadata): void;
|
|
4785
5423
|
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>;
|
|
5424
|
+
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
5425
|
}
|
|
4788
5426
|
|
|
4789
|
-
declare class MaterialRadioGroupComponent extends SimpleBaseSelectComponent {
|
|
5427
|
+
declare class MaterialRadioGroupComponent extends SimpleBaseSelectComponent implements DoCheck {
|
|
4790
5428
|
readonlyMode: boolean;
|
|
4791
5429
|
disabledMode: boolean;
|
|
4792
5430
|
visible: boolean;
|
|
4793
5431
|
presentationMode: boolean;
|
|
5432
|
+
private disabledModeAppliedToControl;
|
|
5433
|
+
ngDoCheck(): void;
|
|
5434
|
+
radioInteractionDisabled(): boolean;
|
|
5435
|
+
radioAriaDisabled(): 'true' | null;
|
|
5436
|
+
radioAriaReadonly(): 'true' | null;
|
|
5437
|
+
readonlyEffective(): boolean;
|
|
5438
|
+
radioOptionDisabled(option: SelectOption<unknown>): boolean;
|
|
5439
|
+
radioOptionAriaDisabled(option: SelectOption<unknown>): 'true' | null;
|
|
5440
|
+
onRadioButtonClick(event: MouseEvent): void;
|
|
5441
|
+
onRadioButtonKeydown(event: KeyboardEvent): void;
|
|
5442
|
+
selectOption(option: SelectOption<unknown>): void;
|
|
5443
|
+
radioLabelId(): string;
|
|
5444
|
+
radioHintId(): string;
|
|
5445
|
+
radioErrorId(): string;
|
|
5446
|
+
radioLabelledBy(): string | null;
|
|
5447
|
+
radioDescribedBy(): string | null;
|
|
5448
|
+
isRequiredRadio(): boolean;
|
|
5449
|
+
private syncDisabledModeControlState;
|
|
4794
5450
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
4795
5451
|
protected getSpecificCssClasses(): string[];
|
|
4796
5452
|
private optionsFromLegacy;
|
|
@@ -4799,11 +5455,20 @@ declare class MaterialRadioGroupComponent extends SimpleBaseSelectComponent {
|
|
|
4799
5455
|
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
5456
|
}
|
|
4801
5457
|
|
|
4802
|
-
declare class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent {
|
|
5458
|
+
declare class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent implements DoCheck {
|
|
4803
5459
|
readonlyMode: boolean;
|
|
4804
5460
|
disabledMode: boolean;
|
|
4805
5461
|
visible: boolean;
|
|
4806
5462
|
presentationMode: boolean;
|
|
5463
|
+
private disabledModeAppliedToControl;
|
|
5464
|
+
ngDoCheck(): void;
|
|
5465
|
+
checkboxInteractionDisabled(): boolean;
|
|
5466
|
+
checkboxAriaDisabled(): 'true' | null;
|
|
5467
|
+
checkboxAriaReadonly(): 'true' | null;
|
|
5468
|
+
readonlyEffective(): boolean;
|
|
5469
|
+
onCheckboxControlClick(event: MouseEvent, stopShellPropagation?: boolean): void;
|
|
5470
|
+
onCheckboxControlKeydown(event: KeyboardEvent): void;
|
|
5471
|
+
private syncDisabledModeControlState;
|
|
4807
5472
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
4808
5473
|
/** Disables options when maxSelections reached */
|
|
4809
5474
|
isOptionDisabled(option: SelectOption<unknown>): boolean;
|
|
@@ -4820,7 +5485,7 @@ declare class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent {
|
|
|
4820
5485
|
booleanErrorId(): string;
|
|
4821
5486
|
groupHintId(): string;
|
|
4822
5487
|
groupErrorId(): string;
|
|
4823
|
-
booleanAriaLabel(): string
|
|
5488
|
+
booleanAriaLabel(): string;
|
|
4824
5489
|
booleanLabelledBy(): string | null;
|
|
4825
5490
|
booleanDescribedBy(): string | null;
|
|
4826
5491
|
groupDescribedBy(): string | null;
|
|
@@ -4835,6 +5500,8 @@ declare class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent {
|
|
|
4835
5500
|
onBooleanCheckboxChange(): void;
|
|
4836
5501
|
onMultipleOptionContentClick(option: SelectOption<unknown>, event: MouseEvent): void;
|
|
4837
5502
|
onSelectAllContentClick(event: MouseEvent): void;
|
|
5503
|
+
selectOption(option: SelectOption<unknown>): void;
|
|
5504
|
+
toggleSelectAll(): void;
|
|
4838
5505
|
private shouldToggleFromBooleanContent;
|
|
4839
5506
|
private shouldToggleFromMultipleContent;
|
|
4840
5507
|
private toggleBooleanCheckbox;
|
|
@@ -4842,10 +5509,10 @@ declare class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent {
|
|
|
4842
5509
|
private humanizeName;
|
|
4843
5510
|
optionLabelId(option: SelectOption<unknown>): string;
|
|
4844
5511
|
optionDescriptionId(option: SelectOption<unknown>): string | null;
|
|
4845
|
-
optionAriaLabel(option: SelectOption<unknown>): string
|
|
5512
|
+
optionAriaLabel(option: SelectOption<unknown>): string;
|
|
4846
5513
|
optionSupportingText(option: SelectOption<unknown>): string | null;
|
|
4847
5514
|
selectAllLabelId(): string;
|
|
4848
|
-
selectAllAriaLabel(): string
|
|
5515
|
+
selectAllAriaLabel(): string;
|
|
4849
5516
|
selectAllLabelText(): string;
|
|
4850
5517
|
private optionDomToken;
|
|
4851
5518
|
private optionsFromLegacy;
|
|
@@ -4854,11 +5521,30 @@ declare class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent {
|
|
|
4854
5521
|
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
5522
|
}
|
|
4856
5523
|
|
|
4857
|
-
declare class MaterialSelectionListComponent extends SimpleBaseSelectComponent {
|
|
5524
|
+
declare class MaterialSelectionListComponent extends SimpleBaseSelectComponent implements DoCheck {
|
|
4858
5525
|
readonlyMode: boolean;
|
|
4859
5526
|
disabledMode: boolean;
|
|
4860
5527
|
visible: boolean;
|
|
4861
5528
|
presentationMode: boolean;
|
|
5529
|
+
private disabledModeAppliedToControl;
|
|
5530
|
+
ngDoCheck(): void;
|
|
5531
|
+
selectionListInteractionDisabled(): boolean;
|
|
5532
|
+
selectionListAriaDisabled(): 'true' | null;
|
|
5533
|
+
selectionListAriaReadonly(): 'true' | null;
|
|
5534
|
+
selectionOptionDisabled(option: SelectOption<unknown>): boolean;
|
|
5535
|
+
selectionOptionAriaDisabled(option: SelectOption<unknown>): 'true' | null;
|
|
5536
|
+
selectionListLabelId(): string;
|
|
5537
|
+
selectionListHintId(): string;
|
|
5538
|
+
selectionListErrorId(): string;
|
|
5539
|
+
selectionListCounterId(): string;
|
|
5540
|
+
selectionListLabelledBy(): string | null;
|
|
5541
|
+
selectionListDescribedBy(): string | null;
|
|
5542
|
+
isRequiredSelectionList(): boolean;
|
|
5543
|
+
onSelectionOptionClick(event: MouseEvent): void;
|
|
5544
|
+
onSelectionOptionKeydown(event: KeyboardEvent): void;
|
|
5545
|
+
selectOption(option: SelectOption<unknown>): void;
|
|
5546
|
+
toggleSelectAll(): void;
|
|
5547
|
+
private syncDisabledModeControlState;
|
|
4862
5548
|
private asRecord;
|
|
4863
5549
|
private mapRawOption;
|
|
4864
5550
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
@@ -5030,6 +5716,7 @@ declare class PhoneInputComponent extends SimpleBaseInputComponent {
|
|
|
5030
5716
|
ngOnInit(): void;
|
|
5031
5717
|
writeValue(value: unknown): void;
|
|
5032
5718
|
protected registerInputElement(el: HTMLElement): void;
|
|
5719
|
+
protected applyNativeDisplayMask(): void;
|
|
5033
5720
|
handleInput(event: Event): void;
|
|
5034
5721
|
handleBlur(): void;
|
|
5035
5722
|
validateField(): Promise<ValidationErrors | null>;
|
|
@@ -5161,6 +5848,7 @@ declare class MaterialColorPickerComponent extends SimpleBaseInputComponent {
|
|
|
5161
5848
|
/** Handles color selection from the native input. */
|
|
5162
5849
|
onNativeColorChange(event: Event): void;
|
|
5163
5850
|
protected getSpecificCssClasses(): string[];
|
|
5851
|
+
effectiveFloatLabelBehavior(): 'always';
|
|
5164
5852
|
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
5165
5853
|
isReadonlyEffective(): boolean;
|
|
5166
5854
|
previewColor(): string;
|
|
@@ -5196,6 +5884,7 @@ declare class MaterialRatingComponent extends SimpleBaseInputComponent implement
|
|
|
5196
5884
|
svgIconOutline?: string;
|
|
5197
5885
|
outlineIcon?: string;
|
|
5198
5886
|
disabled: boolean;
|
|
5887
|
+
disabledMode: boolean;
|
|
5199
5888
|
readonlyMode: boolean;
|
|
5200
5889
|
presentationMode: boolean;
|
|
5201
5890
|
tabindex: number;
|
|
@@ -5225,15 +5914,20 @@ declare class MaterialRatingComponent extends SimpleBaseInputComponent implement
|
|
|
5225
5914
|
private getVisualValue;
|
|
5226
5915
|
private getActiveIndexAndHalf;
|
|
5227
5916
|
private applyValue;
|
|
5917
|
+
ratingValueText(): string;
|
|
5918
|
+
effectiveTabIndex(): number;
|
|
5919
|
+
disabledEffective(): boolean;
|
|
5228
5920
|
readonlyEffective(): boolean;
|
|
5921
|
+
ratingAriaLabel(): string;
|
|
5229
5922
|
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
5230
5923
|
setInputMetadata(meta: unknown): void;
|
|
5231
5924
|
private parseSize;
|
|
5232
5925
|
private parseSelectionMode;
|
|
5926
|
+
private interactionBlocked;
|
|
5233
5927
|
private asRecord;
|
|
5234
5928
|
private metadataAsField;
|
|
5235
5929
|
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>;
|
|
5930
|
+
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
5931
|
}
|
|
5238
5932
|
|
|
5239
5933
|
type PickerView = 'gradient' | 'palette';
|
|
@@ -5352,8 +6046,10 @@ declare class PdxColorPickerComponent extends SimpleBaseInputComponent implement
|
|
|
5352
6046
|
readonlyEffective(): boolean;
|
|
5353
6047
|
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
5354
6048
|
protected getSpecificCssClasses(): string[];
|
|
6049
|
+
effectiveFloatLabelBehavior(): 'always';
|
|
5355
6050
|
setInputMetadata(meta: ComponentMetadata | null): void;
|
|
5356
6051
|
private currentMetadataRecord;
|
|
6052
|
+
private asRecord;
|
|
5357
6053
|
private toFormat;
|
|
5358
6054
|
private toHex;
|
|
5359
6055
|
private toRgb;
|
|
@@ -5376,20 +6072,54 @@ declare class PdxColorPickerComponent extends SimpleBaseInputComponent implement
|
|
|
5376
6072
|
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
6073
|
}
|
|
5378
6074
|
|
|
5379
|
-
|
|
6075
|
+
interface SliderDistributionBar {
|
|
6076
|
+
id: string;
|
|
6077
|
+
ratio: number;
|
|
6078
|
+
selected: boolean;
|
|
6079
|
+
background?: string;
|
|
6080
|
+
color?: string;
|
|
6081
|
+
label?: string;
|
|
6082
|
+
}
|
|
6083
|
+
interface SliderSemanticBandView {
|
|
6084
|
+
id: string;
|
|
6085
|
+
startPercent: number;
|
|
6086
|
+
widthPercent: number;
|
|
6087
|
+
tone: RangeSliderSemanticBand['tone'];
|
|
6088
|
+
color?: string;
|
|
6089
|
+
label?: string;
|
|
6090
|
+
}
|
|
6091
|
+
declare class PdxMaterialRangeSliderComponent extends SimpleBaseInputComponent implements OnInit, AfterViewChecked {
|
|
5380
6092
|
readonlyMode: boolean;
|
|
5381
6093
|
disabledMode: boolean;
|
|
5382
6094
|
visible: boolean;
|
|
5383
6095
|
presentationMode: boolean;
|
|
5384
6096
|
metadata: _angular_core.WritableSignal<MaterialRangeSliderMetadata | null>;
|
|
6097
|
+
private activeRangeThumb;
|
|
5385
6098
|
readonly rangeGroup: FormGroup<{
|
|
5386
6099
|
start: FormControl<number | null>;
|
|
5387
6100
|
end: FormControl<number | null>;
|
|
5388
6101
|
}>;
|
|
5389
6102
|
readonly isRangeMode: _angular_core.Signal<boolean>;
|
|
5390
6103
|
readonly displayWithFn: _angular_core.Signal<(value: number) => string>;
|
|
6104
|
+
readonly sliderStep: _angular_core.Signal<number>;
|
|
6105
|
+
readonly valueLabelEnabled: _angular_core.Signal<boolean>;
|
|
6106
|
+
readonly showTickMarks: _angular_core.Signal<boolean>;
|
|
6107
|
+
readonly trackMode: _angular_core.Signal<_praxisui_core.RangeSliderTrackMode>;
|
|
6108
|
+
readonly sliderSize: _angular_core.Signal<"small" | "large" | "medium">;
|
|
6109
|
+
readonly markLabels: _angular_core.Signal<RangeSliderMark[]>;
|
|
6110
|
+
readonly semanticBandViews: _angular_core.Signal<SliderSemanticBandView[]>;
|
|
6111
|
+
distributionBars(): SliderDistributionBar[];
|
|
6112
|
+
disabledEffective(): boolean;
|
|
6113
|
+
readonlyEffective(): boolean;
|
|
6114
|
+
sliderInteractionDisabled(): boolean;
|
|
6115
|
+
sliderAriaDisabled(): 'true' | null;
|
|
6116
|
+
sliderAriaReadonly(): 'true' | null;
|
|
6117
|
+
rangeAriaInvalidAttribute(): 'true' | null;
|
|
6118
|
+
rangeThumbAriaLabel(thumb: 'start' | 'end'): string;
|
|
6119
|
+
rangeThumbLabelId(thumb: 'start' | 'end'): string;
|
|
5391
6120
|
readonly errorMessage: _angular_core.Signal<string>;
|
|
5392
6121
|
ngOnInit(): void;
|
|
6122
|
+
ngAfterViewChecked(): void;
|
|
5393
6123
|
/**
|
|
5394
6124
|
* Overrides writeValue to handle both single and range modes.
|
|
5395
6125
|
*/
|
|
@@ -5403,8 +6133,34 @@ declare class PdxMaterialRangeSliderComponent extends SimpleBaseInputComponent i
|
|
|
5403
6133
|
setSliderMetadata(metadata: MaterialRangeSliderMetadata): void;
|
|
5404
6134
|
protected setMetadata(metadata: MaterialRangeSliderMetadata): void;
|
|
5405
6135
|
protected getSpecificCssClasses(): string[];
|
|
6136
|
+
markPosition(value: number): number;
|
|
6137
|
+
formatSliderValue(value: unknown): string;
|
|
6138
|
+
onRangePointerDown(event: PointerEvent): void;
|
|
6139
|
+
private isPointerInteractionBlocked;
|
|
6140
|
+
private syncNativeThumbAria;
|
|
6141
|
+
private applyNativeThumbAria;
|
|
6142
|
+
private setOrRemoveAttribute;
|
|
6143
|
+
private closestRangeThumb;
|
|
6144
|
+
private updateActiveRangeThumbFromPointer;
|
|
6145
|
+
private clientXToSliderValue;
|
|
6146
|
+
private valueToTrackClientX;
|
|
6147
|
+
private snapSliderValue;
|
|
6148
|
+
private trackElement;
|
|
5406
6149
|
private syncRangeGroupFromControlValue;
|
|
5407
6150
|
private isRangeSliderValue;
|
|
6151
|
+
private resolveMarks;
|
|
6152
|
+
private parseJsonArray;
|
|
6153
|
+
private parseJsonObject;
|
|
6154
|
+
private normalizeTone;
|
|
6155
|
+
private resolveSemanticBands;
|
|
6156
|
+
private resolveDistributionBars;
|
|
6157
|
+
private normalizeDistributionColorMode;
|
|
6158
|
+
private isDistributionBarSelected;
|
|
6159
|
+
private resolveDistributionBarBackground;
|
|
6160
|
+
private stringConfig;
|
|
6161
|
+
private scaleValue;
|
|
6162
|
+
private formatStorageValue;
|
|
6163
|
+
private formatCurrencyValue;
|
|
5408
6164
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PdxMaterialRangeSliderComponent, never>;
|
|
5409
6165
|
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
6166
|
}
|
|
@@ -5420,6 +6176,9 @@ interface TransferListMetadata extends SimpleSelectMetadata<unknown> {
|
|
|
5420
6176
|
rightLabel?: string;
|
|
5421
6177
|
leftPlaceholder?: string;
|
|
5422
6178
|
rightPlaceholder?: string;
|
|
6179
|
+
leftEmptyText?: string;
|
|
6180
|
+
rightEmptyText?: string;
|
|
6181
|
+
noResultsText?: string;
|
|
5423
6182
|
}
|
|
5424
6183
|
declare class MaterialTransferListComponent extends SimpleBaseSelectComponent {
|
|
5425
6184
|
readonlyMode: boolean;
|
|
@@ -5430,6 +6189,9 @@ declare class MaterialTransferListComponent extends SimpleBaseSelectComponent {
|
|
|
5430
6189
|
rightLabel: string;
|
|
5431
6190
|
leftPlaceholder: string;
|
|
5432
6191
|
rightPlaceholder: string;
|
|
6192
|
+
leftEmptyText: string;
|
|
6193
|
+
rightEmptyText: string;
|
|
6194
|
+
noResultsText: string;
|
|
5433
6195
|
readonly leftOptions: _angular_core.WritableSignal<SelectOption<unknown>[]>;
|
|
5434
6196
|
readonly rightOptions: _angular_core.WritableSignal<SelectOption<unknown>[]>;
|
|
5435
6197
|
readonly leftFilter: _angular_core.WritableSignal<string>;
|
|
@@ -5443,6 +6205,12 @@ declare class MaterialTransferListComponent extends SimpleBaseSelectComponent {
|
|
|
5443
6205
|
moveAllToRightAriaLabel(): string;
|
|
5444
6206
|
moveSelectedToLeftAriaLabel(): string;
|
|
5445
6207
|
moveAllToLeftAriaLabel(): string;
|
|
6208
|
+
leftListAriaLabel(): string;
|
|
6209
|
+
rightListAriaLabel(): string;
|
|
6210
|
+
leftEmptyMessage(): string;
|
|
6211
|
+
rightEmptyMessage(): string;
|
|
6212
|
+
isMaxSelectionReached(): boolean;
|
|
6213
|
+
isInteractionDisabled(): boolean;
|
|
5446
6214
|
ngOnInit(): void;
|
|
5447
6215
|
private updateListsFromValue;
|
|
5448
6216
|
getSelectedOptions(list: MatSelectionList): SelectOption[];
|
|
@@ -5484,6 +6252,8 @@ declare class PdxYearInputComponent extends SimpleBaseInputComponent {
|
|
|
5484
6252
|
/** Metadata for TextInputComponent */
|
|
5485
6253
|
declare const PDX_TEXT_INPUT_COMPONENT_METADATA: ComponentDocMeta;
|
|
5486
6254
|
|
|
6255
|
+
declare const PDX_EDITABLE_COLLECTION_COMPONENT_METADATA: ComponentDocMeta;
|
|
6256
|
+
|
|
5487
6257
|
/** Metadata for NumberInputComponent */
|
|
5488
6258
|
declare const PDX_NUMBER_INPUT_COMPONENT_METADATA: ComponentDocMeta;
|
|
5489
6259
|
|
|
@@ -5502,6 +6272,7 @@ declare const PDX_INLINE_SEARCHABLE_SELECT_COMPONENT_METADATA: ComponentDocMeta;
|
|
|
5502
6272
|
|
|
5503
6273
|
declare const PDX_INLINE_ASYNC_SELECT_COMPONENT_METADATA: ComponentDocMeta;
|
|
5504
6274
|
|
|
6275
|
+
declare const PDX_ENTITY_LOOKUP_COMPONENT_METADATA: ComponentDocMeta;
|
|
5505
6276
|
declare const PDX_INLINE_ENTITY_LOOKUP_COMPONENT_METADATA: ComponentDocMeta;
|
|
5506
6277
|
|
|
5507
6278
|
declare const PDX_INLINE_MULTI_SELECT_COMPONENT_METADATA: ComponentDocMeta;
|
|
@@ -5632,367 +6403,6 @@ declare const PDX_YEAR_INPUT_COMPONENT_METADATA: ComponentDocMeta;
|
|
|
5632
6403
|
|
|
5633
6404
|
declare const PDX_FIELD_SHELL_COMPONENT_METADATA: ComponentDocMeta;
|
|
5634
6405
|
|
|
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
6406
|
declare class DateUtilsService {
|
|
5997
6407
|
/**
|
|
5998
6408
|
* Parses different date representations into a `Date` object.
|
|
@@ -6319,7 +6729,18 @@ interface DynamicFieldPreviewPreset {
|
|
|
6319
6729
|
label: string;
|
|
6320
6730
|
description: string;
|
|
6321
6731
|
metadataPatch?: Record<string, unknown>;
|
|
6732
|
+
/**
|
|
6733
|
+
* Default value for this preset after the active state metadata is applied.
|
|
6734
|
+
* State recipes still win when they define their own `initialValue`, except
|
|
6735
|
+
* for explicit entries in `stateInitialValues`.
|
|
6736
|
+
*/
|
|
6322
6737
|
initialValue?: unknown;
|
|
6738
|
+
/**
|
|
6739
|
+
* Per-state value overrides for this preset. Precedence:
|
|
6740
|
+
* `stateInitialValues[state]` -> state recipe `initialValue` -> preset
|
|
6741
|
+
* `initialValue` -> default state seed -> generated fallback value.
|
|
6742
|
+
*/
|
|
6743
|
+
stateInitialValues?: Partial<Record<DynamicFieldStateKey, unknown>>;
|
|
6323
6744
|
}
|
|
6324
6745
|
interface DynamicFieldCatalogEntry {
|
|
6325
6746
|
id: string;
|
|
@@ -6403,6 +6824,10 @@ declare const DISPLAY_ACTION_AI_CAPABILITIES: CapabilityCatalog;
|
|
|
6403
6824
|
|
|
6404
6825
|
declare const YEAR_INPUT_AI_CAPABILITIES: CapabilityCatalog;
|
|
6405
6826
|
|
|
6827
|
+
declare const PRAXIS_DYNAMIC_FIELDS_AUTHORING_MANIFEST: ComponentAuthoringManifest;
|
|
6828
|
+
|
|
6829
|
+
declare const PRAXIS_DYNAMIC_FIELDS_AUTHORING_PROFILES: ManifestControlProfile[];
|
|
6830
|
+
|
|
6406
6831
|
/**
|
|
6407
6832
|
* @fileoverview Custom Error State Matcher for Praxis Dynamic Fields
|
|
6408
6833
|
*
|
|
@@ -6659,5 +7084,5 @@ declare function normalizeFormMetadata(input: FieldMetadata[] | JsonSchema): Fie
|
|
|
6659
7084
|
declare const CLEAR_BUTTON_CONTROL_TYPES: Set<string>;
|
|
6660
7085
|
declare function supportsClearButtonControlType(controlType?: string | null): boolean;
|
|
6661
7086
|
|
|
6662
|
-
export {
|
|
6663
|
-
export type {
|
|
7087
|
+
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 };
|
|
7088
|
+
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 };
|