@praxisui/dynamic-fields 8.0.0-beta.2 → 8.0.0-beta.20
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 +13 -0
- package/docs/dynamic-fields-field-catalog.md +217 -0
- package/docs/dynamic-fields-field-selection-guide.md +181 -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 +580 -0
- package/docs/dynamic-fields-inline-filter-catalog.md +497 -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 +367 -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 +15146 -8952
- package/index.d.ts +691 -393
- package/package.json +4 -4
- package/src/lib/base/pdx-base-input-runtime-contract.json-api.md +497 -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 +522 -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 +617 -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 +623 -0
- package/src/lib/components/material-datepicker/pdx-material-datepicker.json-api.md +537 -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 +616 -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';
|
|
@@ -406,6 +408,9 @@ interface PraxisDynamicFieldsI18nOverrides {
|
|
|
406
408
|
moveAllToRightAriaLabel?: PraxisDynamicFieldText;
|
|
407
409
|
moveSelectedToLeftAriaLabel?: PraxisDynamicFieldText;
|
|
408
410
|
moveAllToLeftAriaLabel?: PraxisDynamicFieldText;
|
|
411
|
+
availableEmptyText?: PraxisDynamicFieldText;
|
|
412
|
+
selectedEmptyText?: PraxisDynamicFieldText;
|
|
413
|
+
noResultsText?: PraxisDynamicFieldText;
|
|
409
414
|
};
|
|
410
415
|
checkboxGroup?: {
|
|
411
416
|
optionUnavailableDescription?: PraxisDynamicFieldText;
|
|
@@ -541,8 +546,11 @@ declare abstract class SimpleBaseInputComponent implements ControlValueAccessor,
|
|
|
541
546
|
readonly includeReadonly?: boolean;
|
|
542
547
|
readonly includePresentation?: boolean;
|
|
543
548
|
}): boolean;
|
|
549
|
+
protected isValidationVisualSuppressedByState(): boolean;
|
|
544
550
|
protected resolveInlineContextTooltipLabel(): string;
|
|
551
|
+
inputAriaLabel(): string | null;
|
|
545
552
|
protected stringifyInlineContextValue(value: unknown): string;
|
|
553
|
+
protected composeInlineChipDisplayText(label: string, value: string): string;
|
|
546
554
|
private truncateInlineTooltipText;
|
|
547
555
|
private humanizeInlineFieldName;
|
|
548
556
|
/** Gate to control when inline errors may display (debounced for 'change') */
|
|
@@ -739,8 +747,9 @@ interface BasicButtonState {
|
|
|
739
747
|
error: Error | null;
|
|
740
748
|
}
|
|
741
749
|
interface ButtonAction {
|
|
742
|
-
type: 'navigation' | 'external-link' | 'custom' | 'form-action';
|
|
750
|
+
type: 'navigation' | 'external-link' | 'global' | 'custom' | 'form-action';
|
|
743
751
|
target?: string;
|
|
752
|
+
globalAction?: GlobalActionRef;
|
|
744
753
|
payload?: any;
|
|
745
754
|
confirmation?: {
|
|
746
755
|
title: string;
|
|
@@ -756,6 +765,7 @@ declare abstract class SimpleBaseButtonComponent implements OnInit, OnDestroy, B
|
|
|
756
765
|
protected readonly cdr: ChangeDetectorRef;
|
|
757
766
|
protected readonly router: Router;
|
|
758
767
|
protected readonly dialog: MatDialog;
|
|
768
|
+
protected readonly globalActions: GlobalActionService | null;
|
|
759
769
|
protected readonly i18n: PraxisI18nService;
|
|
760
770
|
protected readonly dynamicFieldsI18n: PraxisDynamicFieldsI18nOverrides | null;
|
|
761
771
|
/** Subject para eventos de lifecycle */
|
|
@@ -981,7 +991,7 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
|
|
|
981
991
|
private remoteOptionsLoadDestroyHookRegistered;
|
|
982
992
|
protected readonly global: GlobalConfigService;
|
|
983
993
|
private dependencySub;
|
|
984
|
-
|
|
994
|
+
protected remoteSelectionHydrationSub: Subscription | null;
|
|
985
995
|
private hasLoadedOnce;
|
|
986
996
|
/** Options filtered according to the current `searchTerm` */
|
|
987
997
|
readonly filteredOptions: _angular_core.Signal<SelectOption<T>[]>;
|
|
@@ -1136,6 +1146,12 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
|
|
|
1136
1146
|
protected extractDependencyValue(raw: any, path?: string): any;
|
|
1137
1147
|
protected applyDependencyCriteria(fragment: Record<string, any>, strategy?: 'merge' | 'replace'): void;
|
|
1138
1148
|
protected onDependenciesChanged(): void;
|
|
1149
|
+
protected resolveDependencyFields(meta: SimpleSelectMetadata<T> & Record<string, any>): string[] | undefined;
|
|
1150
|
+
protected resolveDependencyFilterMap(meta: SimpleSelectMetadata<T> & Record<string, any>): Record<string, string | {
|
|
1151
|
+
key: string;
|
|
1152
|
+
valuePath?: string;
|
|
1153
|
+
}> | undefined;
|
|
1154
|
+
protected resolveDependencyValuePathConfig(meta: SimpleSelectMetadata<T> & Record<string, any>): string | Record<string, string> | undefined;
|
|
1139
1155
|
private getByPath;
|
|
1140
1156
|
private setByPath;
|
|
1141
1157
|
private unsetByPath;
|
|
@@ -1561,7 +1577,6 @@ declare class DynamicFieldLoaderDirective implements OnInit, OnDestroy, OnChange
|
|
|
1561
1577
|
}
|
|
1562
1578
|
|
|
1563
1579
|
declare class MaterialButtonComponent extends SimpleBaseButtonComponent implements OnDestroy {
|
|
1564
|
-
private readonly actionResolver;
|
|
1565
1580
|
private readonly keyboardService;
|
|
1566
1581
|
private unregisterShortcut?;
|
|
1567
1582
|
/** Estado adicional específico do Material Button */
|
|
@@ -1635,6 +1650,50 @@ declare class ConfirmDialogComponent {
|
|
|
1635
1650
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ConfirmDialogComponent, "pdx-confirm-dialog", never, {}, {}, never, never, true, never>;
|
|
1636
1651
|
}
|
|
1637
1652
|
|
|
1653
|
+
declare class EditableCollectionComponent implements BaseDynamicFieldComponent {
|
|
1654
|
+
private readonly dynamicForm;
|
|
1655
|
+
private readonly i18n;
|
|
1656
|
+
private readonly collectionRoot?;
|
|
1657
|
+
private readonly addButton?;
|
|
1658
|
+
readonly metadata: _angular_core.WritableSignal<ComponentMetadata | null>;
|
|
1659
|
+
readonly componentId: _angular_core.WritableSignal<string>;
|
|
1660
|
+
readonly formControl: _angular_core.WritableSignal<AbstractControl<any, any, any> | null>;
|
|
1661
|
+
readonlyMode: boolean;
|
|
1662
|
+
disabledMode: boolean;
|
|
1663
|
+
visible: boolean;
|
|
1664
|
+
presentationMode: boolean;
|
|
1665
|
+
label: string;
|
|
1666
|
+
readonly arrayControl: _angular_core.Signal<FormArray<any> | null>;
|
|
1667
|
+
readonly itemFields: _angular_core.Signal<FieldMetadata[]>;
|
|
1668
|
+
itemGroups(): FormGroup[];
|
|
1669
|
+
readonly arrayConfig: _angular_core.Signal<FieldArrayConfig>;
|
|
1670
|
+
readonly headingId: _angular_core.Signal<string>;
|
|
1671
|
+
readonly errorId: _angular_core.Signal<string>;
|
|
1672
|
+
setInputMetadata(metadata: ComponentMetadata): void;
|
|
1673
|
+
setExternalControl(control: AbstractControl): void;
|
|
1674
|
+
focus(): void;
|
|
1675
|
+
blur(): void;
|
|
1676
|
+
addItem(): void;
|
|
1677
|
+
removeItem(index: number): void;
|
|
1678
|
+
canAdd(): boolean;
|
|
1679
|
+
canShowAdd(): boolean;
|
|
1680
|
+
canRemove(_index: number): boolean;
|
|
1681
|
+
canShowRemove(_index: number): boolean;
|
|
1682
|
+
isInteractionDisabled(): boolean;
|
|
1683
|
+
isItemEditReadonly(): boolean;
|
|
1684
|
+
addLabel(): string;
|
|
1685
|
+
removeLabel(): string;
|
|
1686
|
+
emptyState(): string;
|
|
1687
|
+
hasVisibleErrors(): boolean;
|
|
1688
|
+
itemTitle(group: FormGroup, index: number): string;
|
|
1689
|
+
errorMessages(): string[];
|
|
1690
|
+
trackItem(index: number, group: FormGroup): unknown;
|
|
1691
|
+
private readPath;
|
|
1692
|
+
private t;
|
|
1693
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EditableCollectionComponent, never>;
|
|
1694
|
+
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>;
|
|
1695
|
+
}
|
|
1696
|
+
|
|
1638
1697
|
declare class TextInputComponent extends SimpleBaseInputComponent {
|
|
1639
1698
|
readonly validationChange: _angular_core.OutputEmitterRef<ValidationErrors | null>;
|
|
1640
1699
|
readonlyMode: boolean;
|
|
@@ -2331,13 +2390,14 @@ interface SearchableSelectMetadata {
|
|
|
2331
2390
|
selectAll?: boolean;
|
|
2332
2391
|
maxSelections?: number;
|
|
2333
2392
|
resourcePath?: string;
|
|
2393
|
+
optionSource?: OptionSourceMetadata;
|
|
2334
2394
|
filterCriteria?: Record<string, unknown>;
|
|
2335
2395
|
optionLabelKey?: string;
|
|
2336
2396
|
optionValueKey?: string;
|
|
2337
2397
|
loadOn?: LoadStrategy$1;
|
|
2338
2398
|
dependencyLoadOnChange?: DependencyLoadMode$1;
|
|
2339
2399
|
}
|
|
2340
|
-
declare class MaterialSearchableSelectComponent extends SimpleBaseSelectComponent {
|
|
2400
|
+
declare class MaterialSearchableSelectComponent extends SimpleBaseSelectComponent implements DoCheck {
|
|
2341
2401
|
readonlyMode: boolean;
|
|
2342
2402
|
disabledMode: boolean;
|
|
2343
2403
|
visible: boolean;
|
|
@@ -2346,10 +2406,18 @@ declare class MaterialSearchableSelectComponent extends SimpleBaseSelectComponen
|
|
|
2346
2406
|
private readonly store;
|
|
2347
2407
|
readonly endReached: _angular_core.WritableSignal<boolean>;
|
|
2348
2408
|
private initialLoadStrategy;
|
|
2409
|
+
private disabledModeAppliedToControl;
|
|
2410
|
+
ngDoCheck(): void;
|
|
2349
2411
|
protected defaultPanelClass(): string;
|
|
2350
2412
|
setSelectMetadata(metadata: SearchableSelectMetadata): void;
|
|
2351
2413
|
ngOnInit(): void;
|
|
2352
2414
|
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
2415
|
+
searchableSelectAriaDisabled(): 'true' | null;
|
|
2416
|
+
searchableSelectAriaReadonly(): 'true' | null;
|
|
2417
|
+
isOptionDisabled(option: SelectOption<unknown>): boolean;
|
|
2418
|
+
selectOption(option: SelectOption<unknown>): void;
|
|
2419
|
+
toggleSelectAll(): void;
|
|
2420
|
+
onClearClick(): void;
|
|
2353
2421
|
searchInputAriaLabel(): string;
|
|
2354
2422
|
onSearchInputEvent(event: Event): void;
|
|
2355
2423
|
onOpened(opened: boolean): void;
|
|
@@ -2362,6 +2430,7 @@ declare class MaterialSearchableSelectComponent extends SimpleBaseSelectComponen
|
|
|
2362
2430
|
protected registerMatSelect(select: MatSelect): void;
|
|
2363
2431
|
reload(reset: boolean): void;
|
|
2364
2432
|
protected onDependenciesChanged(): void;
|
|
2433
|
+
private syncDisabledModeControlState;
|
|
2365
2434
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialSearchableSelectComponent, never>;
|
|
2366
2435
|
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
2436
|
}
|
|
@@ -2403,6 +2472,13 @@ declare class InlineSearchableSelectComponent extends MaterialSearchableSelectCo
|
|
|
2403
2472
|
|
|
2404
2473
|
type LoadStrategy = 'open' | 'init' | 'none';
|
|
2405
2474
|
type DependencyLoadMode = 'respectLoadOn' | 'immediate' | 'manual';
|
|
2475
|
+
type OptionId = string | number;
|
|
2476
|
+
type AsyncOption = OptionDTO<OptionId>;
|
|
2477
|
+
type AsyncRenderedOption = {
|
|
2478
|
+
label: string;
|
|
2479
|
+
value: unknown;
|
|
2480
|
+
disabled?: boolean;
|
|
2481
|
+
};
|
|
2406
2482
|
interface AsyncSelectMetadata {
|
|
2407
2483
|
selectOptions?: Array<{
|
|
2408
2484
|
label?: string;
|
|
@@ -2440,6 +2516,8 @@ declare class MaterialAsyncSelectComponent extends SimpleBaseSelectComponent {
|
|
|
2440
2516
|
presentationMode: boolean;
|
|
2441
2517
|
private searchInput?;
|
|
2442
2518
|
readonly termControl: FormControl<string | null>;
|
|
2519
|
+
readonly activeLookupFilters: _angular_core.WritableSignal<LookupFilterRequest[]>;
|
|
2520
|
+
readonly selectedLookupSortKey: _angular_core.WritableSignal<string | null>;
|
|
2443
2521
|
private readonly store;
|
|
2444
2522
|
readonly endReached: _angular_core.WritableSignal<boolean>;
|
|
2445
2523
|
private cursorAfter;
|
|
@@ -2456,16 +2534,35 @@ declare class MaterialAsyncSelectComponent extends SimpleBaseSelectComponent {
|
|
|
2456
2534
|
private getSelectedIds;
|
|
2457
2535
|
private preloadSelected;
|
|
2458
2536
|
private refreshOptions;
|
|
2537
|
+
protected currentLookupFiltering(): LookupFilteringMetadata | null;
|
|
2538
|
+
lookupSortOptions(): LookupSortOptionMetadata[];
|
|
2539
|
+
lookupFilterDefinitions(): LookupFilterDefinitionMetadata[];
|
|
2540
|
+
protected initializeLookupFilteringState(): void;
|
|
2541
|
+
protected buildDefaultLookupFilters(filtering: LookupFilteringMetadata): LookupFilterRequest[];
|
|
2542
|
+
protected normalizeLookupFilterValue(operator: LookupFilterRequest['operator'], values: unknown[]): unknown;
|
|
2543
|
+
hasLookupFiltering(): boolean;
|
|
2544
|
+
hasLookupSortOptions(): boolean;
|
|
2545
|
+
hasMultipleLookupSortOptions(): boolean;
|
|
2546
|
+
hasActiveLookupFilters(): boolean;
|
|
2547
|
+
lookupFilterForField(field: string): LookupFilterRequest | undefined;
|
|
2548
|
+
setLookupSortKey(sortKey: string | null): void;
|
|
2549
|
+
clearLookupFilters(field?: string): void;
|
|
2550
|
+
replaceLookupFilters(filters: LookupFilterRequest[]): void;
|
|
2551
|
+
protected refreshLookupQueryState(): void;
|
|
2459
2552
|
private runQuery;
|
|
2460
2553
|
loadMore(): void;
|
|
2461
2554
|
retry(): void;
|
|
2462
2555
|
handleKey(event: KeyboardEvent): void;
|
|
2463
2556
|
protected registerMatSelect(select: MatSelect): void;
|
|
2464
2557
|
reload(reset: boolean): void;
|
|
2558
|
+
protected setupRemoteSelectionHydration(): void;
|
|
2465
2559
|
protected onDependenciesChanged(): void;
|
|
2560
|
+
private ensureCurrentValueLoadedByIds;
|
|
2466
2561
|
private missingOptionLabel;
|
|
2467
2562
|
private loadOptionsErrorLabel;
|
|
2468
|
-
|
|
2563
|
+
protected mapRemoteOption(option: AsyncOption): AsyncRenderedOption;
|
|
2564
|
+
protected resolveRemoteOptionValue(option: AsyncOption): unknown;
|
|
2565
|
+
protected resolveRemoteOptionDisabled(option: AsyncOption): boolean;
|
|
2469
2566
|
private areRemoteOptionValuesEqual;
|
|
2470
2567
|
private normalizeRemoteOptionValue;
|
|
2471
2568
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialAsyncSelectComponent, never>;
|
|
@@ -2539,6 +2636,21 @@ type LookupOption = {
|
|
|
2539
2636
|
value: unknown;
|
|
2540
2637
|
disabled?: boolean;
|
|
2541
2638
|
};
|
|
2639
|
+
interface EntityLookupViewModel {
|
|
2640
|
+
id: string;
|
|
2641
|
+
identity: string;
|
|
2642
|
+
code: string;
|
|
2643
|
+
label: string;
|
|
2644
|
+
description: string;
|
|
2645
|
+
status: string;
|
|
2646
|
+
statusTone: LookupStatusTone;
|
|
2647
|
+
selectable: boolean;
|
|
2648
|
+
selectionState: EntityLookupResultState;
|
|
2649
|
+
disabledReason: string;
|
|
2650
|
+
detailHref: string;
|
|
2651
|
+
detailRoute: string;
|
|
2652
|
+
badges: string[];
|
|
2653
|
+
}
|
|
2542
2654
|
interface LookupClearButtonConfig {
|
|
2543
2655
|
enabled?: boolean;
|
|
2544
2656
|
ariaLabel?: string;
|
|
@@ -2552,14 +2664,22 @@ interface LookupAutoSizeConfig {
|
|
|
2552
2664
|
interface LookupMaterialDesignConfig {
|
|
2553
2665
|
density?: string;
|
|
2554
2666
|
}
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2667
|
+
interface LookupFilterChipViewModel {
|
|
2668
|
+
field: string;
|
|
2669
|
+
label: string;
|
|
2670
|
+
valueText: string;
|
|
2671
|
+
}
|
|
2672
|
+
interface SelectedLookupTokenViewModel {
|
|
2673
|
+
identity: string;
|
|
2674
|
+
text: string;
|
|
2675
|
+
title: string;
|
|
2676
|
+
}
|
|
2677
|
+
interface EntityLookupDialogData {
|
|
2678
|
+
metadata: MaterialEntityLookupMetadata;
|
|
2679
|
+
value: unknown;
|
|
2680
|
+
title?: string;
|
|
2681
|
+
}
|
|
2682
|
+
type EntityLookupMetadata = MaterialEntityLookupMetadata & {
|
|
2563
2683
|
optionLabelKey?: string;
|
|
2564
2684
|
optionValueKey?: string;
|
|
2565
2685
|
clearButton?: LookupClearButtonConfig | false | null;
|
|
@@ -2568,10 +2688,12 @@ type EntityLookupMetadata = MaterialSelectMetadata & {
|
|
|
2568
2688
|
density?: string;
|
|
2569
2689
|
};
|
|
2570
2690
|
declare class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
2691
|
+
private readonly dialog;
|
|
2571
2692
|
inlineMinWidthPx: number;
|
|
2572
2693
|
inlineMaxWidthPx: number;
|
|
2573
2694
|
private fieldLabelText;
|
|
2574
2695
|
private staticOptions;
|
|
2696
|
+
set initialMetadata(metadata: MaterialEntityLookupMetadata | null | undefined);
|
|
2575
2697
|
private currentMetadata;
|
|
2576
2698
|
setSelectMetadata(metadata: EntityLookupMetadata): void;
|
|
2577
2699
|
protected setMetadata(metadata: MaterialSelectMetadata): void;
|
|
@@ -2582,8 +2704,54 @@ declare class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
2582
2704
|
hasSelection(): boolean;
|
|
2583
2705
|
selectedCount(): number;
|
|
2584
2706
|
displayText(): string;
|
|
2707
|
+
richLayoutEnabled(): boolean;
|
|
2708
|
+
selectedCardLayout(): boolean;
|
|
2709
|
+
fullFieldLayout(): boolean;
|
|
2710
|
+
showFieldDependencyHint(): boolean;
|
|
2711
|
+
showFieldSearchHint(): boolean;
|
|
2712
|
+
emptyTriggerIconName(): string;
|
|
2713
|
+
emptyTriggerSupportingText(): string;
|
|
2714
|
+
emptyTriggerContextText(): string;
|
|
2715
|
+
selectedLookupView(): EntityLookupViewModel | null;
|
|
2716
|
+
selectedLookupViews(): EntityLookupViewModel[];
|
|
2717
|
+
visibleSelectedLookupTokens(): SelectedLookupTokenViewModel[];
|
|
2718
|
+
hiddenSelectedLookupTokenCount(): number;
|
|
2719
|
+
showSelectedTokenRemove(): boolean;
|
|
2720
|
+
selectedTokenRemoveAriaLabel(text: string): string;
|
|
2721
|
+
onRemoveSelectedToken(event: MouseEvent, identity: string): void;
|
|
2722
|
+
optionLookupView(option: LookupOption): EntityLookupViewModel;
|
|
2723
|
+
showCode(): boolean;
|
|
2724
|
+
showDescription(): boolean;
|
|
2725
|
+
showStatus(): boolean;
|
|
2726
|
+
showAvatar(): boolean;
|
|
2727
|
+
showBadges(): boolean;
|
|
2728
|
+
showDisabledReason(): boolean;
|
|
2729
|
+
showResultCount(): boolean;
|
|
2730
|
+
resultCountText(): string;
|
|
2731
|
+
hasVisibleBadges(item: EntityLookupViewModel): boolean;
|
|
2732
|
+
visibleBadges(item: EntityLookupViewModel): string[];
|
|
2733
|
+
statusBadgeClass(item: EntityLookupViewModel): string;
|
|
2734
|
+
lookupInitials(item: EntityLookupViewModel): string;
|
|
2735
|
+
showDetailAction(item: EntityLookupViewModel): boolean;
|
|
2736
|
+
showChangeAction(): boolean;
|
|
2737
|
+
showCopyCodeAction(item: EntityLookupViewModel): boolean;
|
|
2738
|
+
showCopyIdAction(item: EntityLookupViewModel): boolean;
|
|
2739
|
+
showCreateAction(): boolean;
|
|
2740
|
+
detailActionText(): string;
|
|
2741
|
+
changeActionText(): string;
|
|
2742
|
+
copyCodeActionText(): string;
|
|
2743
|
+
copyIdActionText(): string;
|
|
2744
|
+
createActionText(): string;
|
|
2745
|
+
clearActionText(): string;
|
|
2746
|
+
selectionLimitReachedText(maxSelections: number | null | undefined): string;
|
|
2747
|
+
onDetailAction(event: MouseEvent, item: EntityLookupViewModel): void;
|
|
2748
|
+
onChangeAction(event: MouseEvent): void;
|
|
2749
|
+
onCopyCodeAction(event: MouseEvent, item: EntityLookupViewModel): void;
|
|
2750
|
+
onCopyIdAction(event: MouseEvent, item: EntityLookupViewModel): void;
|
|
2751
|
+
onCreateAction(event: MouseEvent): void;
|
|
2585
2752
|
optionPrimaryText(option: LookupOption): string;
|
|
2586
2753
|
optionSecondaryText(option: LookupOption): string;
|
|
2754
|
+
protected resolveRemoteOptionValue(option: OptionDTO<string | number>): EntityLookupResult<string | number>;
|
|
2587
2755
|
resetOptionText(): string;
|
|
2588
2756
|
showQuickClear(): boolean;
|
|
2589
2757
|
onResetOptionClick(event: MouseEvent): void;
|
|
@@ -2594,34 +2762,213 @@ declare class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
2594
2762
|
onSearchInput(term: string): void;
|
|
2595
2763
|
showLoadMore(): boolean;
|
|
2596
2764
|
showEndReachedMessage(): boolean;
|
|
2765
|
+
showErrorStateOption(): boolean;
|
|
2766
|
+
showDependencyStateOption(): boolean;
|
|
2767
|
+
showEmptyStateOption(): boolean;
|
|
2768
|
+
onRetryClick(event: MouseEvent): void;
|
|
2769
|
+
errorStateLabel(): string;
|
|
2770
|
+
dependencyStateLabel(): string;
|
|
2771
|
+
emptyStateLabel(): string;
|
|
2597
2772
|
onLoadMoreClick(event: MouseEvent): void;
|
|
2598
2773
|
placeholderText(): string;
|
|
2599
2774
|
searchPlaceholderText(): string;
|
|
2775
|
+
showLookupToolbar(): boolean;
|
|
2776
|
+
showLookupSortControl(): boolean;
|
|
2777
|
+
lookupSortSelectValue(): string;
|
|
2778
|
+
onLookupSortSelectionChange(event: Event): void;
|
|
2779
|
+
activeLookupFilterChips(): LookupFilterChipViewModel[];
|
|
2780
|
+
clearAllLookupFilters(event: MouseEvent): void;
|
|
2781
|
+
clearLookupFilterChip(event: MouseEvent, field: string): void;
|
|
2782
|
+
sortLabelText(): string;
|
|
2783
|
+
sortDefaultOptionText(): string;
|
|
2784
|
+
clearAllFiltersText(): string;
|
|
2785
|
+
currentDialogMetadata(): LookupDialogMetadata | null;
|
|
2786
|
+
dialogEnabled(): boolean;
|
|
2787
|
+
showDialogOption(): boolean;
|
|
2788
|
+
dialogOpenActionText(): string;
|
|
2789
|
+
dialogOpenSupportingText(): string;
|
|
2790
|
+
dialogContextSupportingText(hasActiveFilters: boolean): string;
|
|
2791
|
+
dialogApplyActionText(): string;
|
|
2792
|
+
dialogFilterPanelToggleText(open: boolean): string;
|
|
2793
|
+
dialogFilterPlaceholderText(operator: LookupFilterOperator, type: LookupFilterFieldType): string;
|
|
2794
|
+
dialogFilterOperatorHintText(operator: LookupFilterOperator): string;
|
|
2795
|
+
dialogApplyFiltersActionText(): string;
|
|
2796
|
+
dialogClearFiltersActionText(): string;
|
|
2797
|
+
dialogPreviewSelectionStateLabelText(): string;
|
|
2798
|
+
dialogPreviewSelectionStateText(state: EntityLookupResultState): string;
|
|
2799
|
+
dialogSearchAriaLabelText(): string;
|
|
2800
|
+
dialogResultsAriaLabelText(): string;
|
|
2801
|
+
dialogFiltersAriaLabelText(): string;
|
|
2802
|
+
dialogPreviewAriaLabelText(): string;
|
|
2803
|
+
dialogResultOptionAriaLabel(item: EntityLookupViewModel): string;
|
|
2804
|
+
dialogCancelActionText(): string;
|
|
2805
|
+
dialogTitleText(): string;
|
|
2806
|
+
onOpenDialogClick(event: MouseEvent): void;
|
|
2600
2807
|
panelSearchIconName(fallback?: string): string;
|
|
2601
2808
|
panelSearchIconColor(): string | undefined;
|
|
2602
2809
|
panelResetIconName(fallback?: string): string;
|
|
2603
2810
|
panelResetIconColor(): string | undefined;
|
|
2604
2811
|
ariaLabel(): string;
|
|
2812
|
+
interactionDisabled(): boolean;
|
|
2813
|
+
readonlySummaryText(): string;
|
|
2814
|
+
private lookupDialogMetadata;
|
|
2815
|
+
private resolveDialogWidth;
|
|
2816
|
+
private humanizeLookupField;
|
|
2817
|
+
private interpolateLookupText;
|
|
2818
|
+
private lookupDependencyLabels;
|
|
2819
|
+
private missingDependencyLabels;
|
|
2820
|
+
private hasDependencyValue;
|
|
2821
|
+
private humanizeLookupDependencyField;
|
|
2822
|
+
private lookupFilterValueText;
|
|
2823
|
+
inlineTooltipText(): string;
|
|
2605
2824
|
private resolveLookupText;
|
|
2825
|
+
private lookupViewFromValue;
|
|
2606
2826
|
private resolveLookupData;
|
|
2607
2827
|
private buildLookupPrimaryText;
|
|
2608
2828
|
private fallbackLookupText;
|
|
2609
2829
|
private lookupIdKey;
|
|
2830
|
+
private lookupIdKeys;
|
|
2610
2831
|
private lookupLabelKey;
|
|
2832
|
+
private lookupCodeKeys;
|
|
2833
|
+
private lookupLabelKeys;
|
|
2611
2834
|
private lookupSubtitleKey;
|
|
2835
|
+
private lookupSubtitleKeys;
|
|
2836
|
+
private lookupStatusKeys;
|
|
2837
|
+
private resolveLookupSelectable;
|
|
2838
|
+
private lookupBadges;
|
|
2839
|
+
private classifyLookupSelectionState;
|
|
2840
|
+
private resolveStatusTone;
|
|
2612
2841
|
private lookupSeparator;
|
|
2613
2842
|
private normalizeLookupText;
|
|
2843
|
+
private normalizeLookupOptionalText;
|
|
2844
|
+
private parseLookupSelectableValue;
|
|
2614
2845
|
private firstDefined;
|
|
2846
|
+
private lookupSubtitleText;
|
|
2847
|
+
private uniqueLookupKeys;
|
|
2615
2848
|
private equalsOptionValue;
|
|
2849
|
+
private resolveLookupIdentity;
|
|
2850
|
+
private isPrimitiveLookupValue;
|
|
2616
2851
|
private asRecord;
|
|
2852
|
+
private lookupOptionSource;
|
|
2853
|
+
private resolveDetailHref;
|
|
2854
|
+
private resolveDetailRoute;
|
|
2855
|
+
private applyLookupTemplate;
|
|
2617
2856
|
private resolveFieldLabelFromMetadata;
|
|
2618
2857
|
private currentSearchTerm;
|
|
2858
|
+
private hasUnmetDependencies;
|
|
2859
|
+
private resolveDependencyValuePathFor;
|
|
2860
|
+
private hasMeaningfulDependencyValue;
|
|
2619
2861
|
private applyStaticOptionsFilter;
|
|
2620
2862
|
private humanizeFieldName;
|
|
2863
|
+
private maxVisibleSelectedTokens;
|
|
2864
|
+
private removeSelectionByIdentity;
|
|
2621
2865
|
private recalculateInlineSizeBounds;
|
|
2622
2866
|
private resolveWidthBounds;
|
|
2623
2867
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InlineEntityLookupComponent, never>;
|
|
2624
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InlineEntityLookupComponent, "pdx-inline-entity-lookup", never, {}, {}, never, never, true, never>;
|
|
2868
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InlineEntityLookupComponent, "pdx-inline-entity-lookup", never, { "initialMetadata": { "alias": "initialMetadata"; "required": false; }; }, {}, never, never, true, never>;
|
|
2869
|
+
}
|
|
2870
|
+
declare class EntityLookupDialogComponent implements AfterViewInit {
|
|
2871
|
+
readonly data: EntityLookupDialogData;
|
|
2872
|
+
private readonly destroyRef;
|
|
2873
|
+
private readonly hostRef;
|
|
2874
|
+
private readonly dialogRef;
|
|
2875
|
+
readonly lookup: _angular_core.Signal<InlineEntityLookupComponent>;
|
|
2876
|
+
readonly selectionControl: FormControl<unknown>;
|
|
2877
|
+
readonly dialogSearchControl: FormControl<string | null>;
|
|
2878
|
+
readonly filterPanelOpen: FormControl<boolean>;
|
|
2879
|
+
private readonly dialogFilterControls;
|
|
2880
|
+
private previewIdentity;
|
|
2881
|
+
private activeResultIndex;
|
|
2882
|
+
ngAfterViewInit(): void;
|
|
2883
|
+
apply(): void;
|
|
2884
|
+
cancel(): void;
|
|
2885
|
+
applyText(): string;
|
|
2886
|
+
cancelText(): string;
|
|
2887
|
+
searchPlaceholder(): string;
|
|
2888
|
+
dialogSearchAriaLabel(): string;
|
|
2889
|
+
dialogResultsAriaLabel(): string;
|
|
2890
|
+
dialogFiltersAriaLabel(): string;
|
|
2891
|
+
dialogPreviewAriaLabel(): string;
|
|
2892
|
+
showSortControl(): boolean;
|
|
2893
|
+
sortOptions(): _praxisui_core.LookupSortOptionMetadata[];
|
|
2894
|
+
sortValue(): string;
|
|
2895
|
+
onSortChange(event: Event): void;
|
|
2896
|
+
sortLabel(): string;
|
|
2897
|
+
sortDefaultLabel(): string;
|
|
2898
|
+
dialogIntroText(): string;
|
|
2899
|
+
dialogContextText(): string;
|
|
2900
|
+
hasStructuredDialogFilters(): boolean;
|
|
2901
|
+
showFilterPanel(): boolean;
|
|
2902
|
+
toggleFilterPanel(): void;
|
|
2903
|
+
dialogFilterDefinitions(): LookupFilterDefinitionMetadata[];
|
|
2904
|
+
filterPanelToggleText(): string;
|
|
2905
|
+
filterControl(field: string): FormControl<string>;
|
|
2906
|
+
dialogFilterLabel(definition: LookupFilterDefinitionMetadata): string;
|
|
2907
|
+
dialogFilterPlaceholder(definition: LookupFilterDefinitionMetadata): string;
|
|
2908
|
+
dialogOperatorHint(definition: LookupFilterDefinitionMetadata): string;
|
|
2909
|
+
applyDialogFiltersText(): string;
|
|
2910
|
+
clearDialogFiltersText(): string;
|
|
2911
|
+
applyDialogFilters(): void;
|
|
2912
|
+
resetDialogFilters(): void;
|
|
2913
|
+
dialogColumns(): LookupResultColumnMetadata[];
|
|
2914
|
+
showResultTable(): boolean;
|
|
2915
|
+
showCardResultLayout(): boolean;
|
|
2916
|
+
showCompactResultLayout(): boolean;
|
|
2917
|
+
dialogColumnLabel(column: LookupResultColumnMetadata): string;
|
|
2918
|
+
columnFlex(column: LookupResultColumnMetadata): string;
|
|
2919
|
+
dialogCellText(option: LookupOption, column: LookupResultColumnMetadata): string;
|
|
2920
|
+
resultOptions(): _praxisui_dynamic_fields.SelectOption<any>[];
|
|
2921
|
+
hasResultRows(): boolean;
|
|
2922
|
+
hasSelection(): boolean;
|
|
2923
|
+
canApply(): boolean;
|
|
2924
|
+
selectedSummaryText(): string;
|
|
2925
|
+
selectedDisabledReason(): string;
|
|
2926
|
+
selectResult(option: LookupOption): void;
|
|
2927
|
+
isSelected(option: LookupOption): boolean;
|
|
2928
|
+
resultOptionDisabled(option: LookupOption): boolean;
|
|
2929
|
+
loadMore(): void;
|
|
2930
|
+
resultState(option: LookupOption): EntityLookupResultState;
|
|
2931
|
+
resultRowTitle(option: LookupOption): string | null;
|
|
2932
|
+
resultRowId(index: number): string;
|
|
2933
|
+
resultRowTabIndex(index: number): number;
|
|
2934
|
+
resultRowAriaLabel(option: LookupOption): string;
|
|
2935
|
+
setActiveResult(index: number, option: LookupOption): void;
|
|
2936
|
+
onResultRowKeydown(event: KeyboardEvent, index: number, option: LookupOption): void;
|
|
2937
|
+
showPreviewDetailAction(item: EntityLookupViewModel): boolean;
|
|
2938
|
+
showPreviewCopyCodeAction(item: EntityLookupViewModel): boolean;
|
|
2939
|
+
showPreviewCopyIdAction(item: EntityLookupViewModel): boolean;
|
|
2940
|
+
showPreviewCreateAction(): boolean;
|
|
2941
|
+
showPreviewClearAction(): boolean;
|
|
2942
|
+
onPreviewDetailAction(event: MouseEvent, item: EntityLookupViewModel): void;
|
|
2943
|
+
onPreviewCopyCodeAction(event: MouseEvent, item: EntityLookupViewModel): void;
|
|
2944
|
+
onPreviewCopyIdAction(event: MouseEvent, item: EntityLookupViewModel): void;
|
|
2945
|
+
onPreviewCreateAction(event: MouseEvent): void;
|
|
2946
|
+
onPreviewClearAction(event: MouseEvent): void;
|
|
2947
|
+
showPreviewPanel(): boolean;
|
|
2948
|
+
previewItem(): EntityLookupViewModel | null;
|
|
2949
|
+
setPreviewFromOption(option: LookupOption): void;
|
|
2950
|
+
previewSelectionStateLabel(): string;
|
|
2951
|
+
previewSelectionStateText(item: EntityLookupViewModel): string;
|
|
2952
|
+
private initializeDialogFilters;
|
|
2953
|
+
private serializeDialogFilterValue;
|
|
2954
|
+
private buildDialogFilterRequest;
|
|
2955
|
+
private parseDialogFilterValue;
|
|
2956
|
+
private parseDialogFilterPrimitive;
|
|
2957
|
+
private syncPreviewIdentity;
|
|
2958
|
+
private focusResultRow;
|
|
2959
|
+
private normalizeOptionValue;
|
|
2960
|
+
private normalizeInitialDialogValue;
|
|
2961
|
+
private initialSelectionSnapshot;
|
|
2962
|
+
private selectionSnapshot;
|
|
2963
|
+
private selectedValueCount;
|
|
2964
|
+
private toggleMultipleSelection;
|
|
2965
|
+
private dialogCustomCellText;
|
|
2966
|
+
private humanizeColumnField;
|
|
2967
|
+
private optionIdentity;
|
|
2968
|
+
private dialogHasConfiguredColumns;
|
|
2969
|
+
private dialogResultLayout;
|
|
2970
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityLookupDialogComponent, never>;
|
|
2971
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityLookupDialogComponent, "pdx-entity-lookup-dialog", never, {}, {}, never, never, true, never>;
|
|
2625
2972
|
}
|
|
2626
2973
|
|
|
2627
2974
|
declare class InlineMultiSelectComponent extends SimpleBaseSelectComponent {
|
|
@@ -3136,6 +3483,7 @@ declare class InlineRangeSliderComponent extends SimpleBaseInputComponent {
|
|
|
3136
3483
|
maxValue(): number;
|
|
3137
3484
|
stepValue(): number;
|
|
3138
3485
|
showTickMarks(): boolean;
|
|
3486
|
+
valueLabelEnabled(): boolean;
|
|
3139
3487
|
isRangeMode(): boolean;
|
|
3140
3488
|
isInteractionBlocked(): boolean;
|
|
3141
3489
|
hasSelection(): boolean;
|
|
@@ -4051,6 +4399,7 @@ declare class InlinePipelineStatusComponent extends SimpleBaseSelectComponent<un
|
|
|
4051
4399
|
protected resolveInlineContextTooltipValue(): string;
|
|
4052
4400
|
hasSelection(): boolean;
|
|
4053
4401
|
displayText(): string;
|
|
4402
|
+
selectedChipValueText(): string;
|
|
4054
4403
|
showQuickClear(): boolean;
|
|
4055
4404
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
4056
4405
|
onQuickClear(event: MouseEvent): void;
|
|
@@ -4440,6 +4789,7 @@ declare class InlineColorLabelComponent extends SimpleBaseSelectComponent<unknow
|
|
|
4440
4789
|
protected resolveInlineContextTooltipValue(): string;
|
|
4441
4790
|
hasSelection(): boolean;
|
|
4442
4791
|
displayText(): string;
|
|
4792
|
+
selectedChipValueText(): string;
|
|
4443
4793
|
showQuickClear(): boolean;
|
|
4444
4794
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
4445
4795
|
onQuickClear(event: MouseEvent): void;
|
|
@@ -4497,13 +4847,20 @@ declare class InlineColorLabelComponent extends SimpleBaseSelectComponent<unknow
|
|
|
4497
4847
|
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
4848
|
}
|
|
4499
4849
|
|
|
4500
|
-
declare class MaterialMultiSelectComponent extends SimpleBaseSelectComponent {
|
|
4850
|
+
declare class MaterialMultiSelectComponent extends SimpleBaseSelectComponent implements DoCheck {
|
|
4501
4851
|
readonlyMode: boolean;
|
|
4502
4852
|
disabledMode: boolean;
|
|
4503
4853
|
visible: boolean;
|
|
4504
4854
|
presentationMode: boolean;
|
|
4855
|
+
private disabledModeAppliedToControl;
|
|
4856
|
+
ngDoCheck(): void;
|
|
4505
4857
|
protected defaultPanelClass(): string;
|
|
4506
4858
|
selectAllLabel(): string;
|
|
4859
|
+
multiSelectAriaDisabled(): 'true' | null;
|
|
4860
|
+
multiSelectAriaReadonly(): 'true' | null;
|
|
4861
|
+
selectOption(option: SelectOption<unknown>): void;
|
|
4862
|
+
toggleSelectAll(): void;
|
|
4863
|
+
onClearClick(): void;
|
|
4507
4864
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
4508
4865
|
/** Disables options when maxSelections reached */
|
|
4509
4866
|
isOptionDisabled(option: SelectOption<unknown>): boolean;
|
|
@@ -4511,6 +4868,7 @@ declare class MaterialMultiSelectComponent extends SimpleBaseSelectComponent {
|
|
|
4511
4868
|
onOptionSelectionChange(option: SelectOption<unknown>, event: MatOptionSelectionChange): void;
|
|
4512
4869
|
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
4513
4870
|
private optionsFromLegacy;
|
|
4871
|
+
private syncDisabledModeControlState;
|
|
4514
4872
|
private normalizeOption;
|
|
4515
4873
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialMultiSelectComponent, never>;
|
|
4516
4874
|
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 +5002,10 @@ declare class MaterialChipsComponent extends SimpleBaseSelectComponent {
|
|
|
4644
5002
|
private mapRawOption;
|
|
4645
5003
|
displayOption: (value: unknown) => string;
|
|
4646
5004
|
selectedOptions(): SelectOption[];
|
|
5005
|
+
isChipsInteractionDisabled(): boolean;
|
|
5006
|
+
canRemoveChips(): boolean;
|
|
5007
|
+
removeChipAriaLabel(option: SelectOption): string;
|
|
5008
|
+
selectOption(option: SelectOption): void;
|
|
4647
5009
|
removeChip(option: SelectOption): void;
|
|
4648
5010
|
onInputTokenEnd(event: MatChipInputEvent): void;
|
|
4649
5011
|
onSearchInputEvent(event: Event): void;
|
|
@@ -4655,13 +5017,24 @@ declare class MaterialChipsComponent extends SimpleBaseSelectComponent {
|
|
|
4655
5017
|
}
|
|
4656
5018
|
|
|
4657
5019
|
declare class MaterialButtonToggleComponent extends SimpleBaseSelectComponent {
|
|
5020
|
+
readonlyMode: boolean;
|
|
5021
|
+
disabledMode: boolean;
|
|
5022
|
+
visible: boolean;
|
|
5023
|
+
presentationMode: boolean;
|
|
4658
5024
|
private asRecord;
|
|
4659
5025
|
private mapRawOption;
|
|
5026
|
+
labelId(): string;
|
|
5027
|
+
groupAriaLabel(): string | null;
|
|
5028
|
+
groupAriaLabelledby(): string | null;
|
|
5029
|
+
toggleInteractionDisabled(): boolean;
|
|
5030
|
+
toggleAriaDisabled(): 'true' | null;
|
|
5031
|
+
toggleAriaReadonly(): 'true' | null;
|
|
5032
|
+
readonlyEffective(): boolean;
|
|
4660
5033
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
4661
5034
|
protected getSpecificCssClasses(): string[];
|
|
4662
5035
|
onGroupChange(event: MatButtonToggleChange): void;
|
|
4663
5036
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialButtonToggleComponent, never>;
|
|
4664
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialButtonToggleComponent, "pdx-material-button-toggle", never, {}, {}, never, never, true, never>;
|
|
5037
|
+
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
5038
|
}
|
|
4666
5039
|
|
|
4667
5040
|
declare class MaterialSlideToggleComponent extends SimpleBaseInputComponent {
|
|
@@ -4669,6 +5042,11 @@ declare class MaterialSlideToggleComponent extends SimpleBaseInputComponent {
|
|
|
4669
5042
|
disabledMode: boolean;
|
|
4670
5043
|
visible: boolean;
|
|
4671
5044
|
presentationMode: boolean;
|
|
5045
|
+
requiredEffective(): boolean;
|
|
5046
|
+
toggleInteractionDisabled(): boolean;
|
|
5047
|
+
toggleAriaDisabled(): 'true' | null;
|
|
5048
|
+
toggleAriaReadonly(): 'true' | null;
|
|
5049
|
+
readonlyEffective(): boolean;
|
|
4672
5050
|
/** Applies component metadata with strong typing. */
|
|
4673
5051
|
setInputMetadata(metadata: MaterialToggleMetadata): void;
|
|
4674
5052
|
protected getSpecificCssClasses(): string[];
|
|
@@ -4676,16 +5054,60 @@ declare class MaterialSlideToggleComponent extends SimpleBaseInputComponent {
|
|
|
4676
5054
|
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
5055
|
}
|
|
4678
5056
|
|
|
5057
|
+
interface SliderDistributionBar$1 {
|
|
5058
|
+
id: string;
|
|
5059
|
+
ratio: number;
|
|
5060
|
+
selected: boolean;
|
|
5061
|
+
background?: string;
|
|
5062
|
+
color?: string;
|
|
5063
|
+
label?: string;
|
|
5064
|
+
}
|
|
5065
|
+
interface SliderSemanticBandView$1 {
|
|
5066
|
+
id: string;
|
|
5067
|
+
startPercent: number;
|
|
5068
|
+
widthPercent: number;
|
|
5069
|
+
tone: RangeSliderSemanticBand['tone'];
|
|
5070
|
+
color?: string;
|
|
5071
|
+
label?: string;
|
|
5072
|
+
}
|
|
4679
5073
|
declare class MaterialSliderComponent extends SimpleBaseInputComponent {
|
|
4680
5074
|
readonlyMode: boolean;
|
|
4681
5075
|
disabledMode: boolean;
|
|
4682
5076
|
visible: boolean;
|
|
4683
5077
|
presentationMode: boolean;
|
|
4684
5078
|
/** Display function for slider values */
|
|
4685
|
-
displayWithFn: (value: number) =>
|
|
5079
|
+
displayWithFn: (value: number) => string;
|
|
5080
|
+
sliderStep(): number;
|
|
5081
|
+
valueLabelEnabled(): boolean;
|
|
5082
|
+
showTickMarks(): boolean;
|
|
5083
|
+
trackMode(): 'normal' | 'inverted' | 'none';
|
|
5084
|
+
sliderSize(): 'small' | 'medium' | 'large';
|
|
5085
|
+
markLabels(): RangeSliderMark[];
|
|
5086
|
+
semanticBandViews(): SliderSemanticBandView$1[];
|
|
5087
|
+
distributionBars(): SliderDistributionBar$1[];
|
|
5088
|
+
sliderInteractionDisabled(): boolean;
|
|
5089
|
+
sliderAriaDisabled(): 'true' | null;
|
|
5090
|
+
sliderAriaReadonly(): 'true' | null;
|
|
5091
|
+
readonlyEffective(): boolean;
|
|
5092
|
+
markPosition(value: number): number;
|
|
4686
5093
|
/** Applies component metadata with strong typing. */
|
|
4687
5094
|
setInputMetadata(metadata: MaterialSliderMetadata): void;
|
|
4688
5095
|
protected getSpecificCssClasses(): string[];
|
|
5096
|
+
private currentMetadata;
|
|
5097
|
+
private resolveMarks;
|
|
5098
|
+
private parseJsonArray;
|
|
5099
|
+
private parseJsonObject;
|
|
5100
|
+
private normalizeTone;
|
|
5101
|
+
private resolveSemanticBands;
|
|
5102
|
+
private resolveDistributionBars;
|
|
5103
|
+
private normalizeDistributionColorMode;
|
|
5104
|
+
private isDistributionBarSelected;
|
|
5105
|
+
private resolveDistributionBarBackground;
|
|
5106
|
+
private stringConfig;
|
|
5107
|
+
formatSliderValue(value: unknown): string;
|
|
5108
|
+
private scaleValue;
|
|
5109
|
+
private formatStorageValue;
|
|
5110
|
+
private formatCurrencyValue;
|
|
4689
5111
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialSliderComponent, never>;
|
|
4690
5112
|
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
5113
|
}
|
|
@@ -4694,11 +5116,45 @@ type ThemeColor = 'primary' | 'secondary' | 'tertiary' | 'base' | 'info' | 'succ
|
|
|
4694
5116
|
type Rounded = 'full' | 'large' | 'medium' | 'small' | 'none';
|
|
4695
5117
|
type AvatarSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge' | 'none';
|
|
4696
5118
|
type FillMode = 'solid' | 'outline' | 'none';
|
|
5119
|
+
type AvatarStatus = 'online' | 'offline' | 'busy' | 'away' | 'verified' | 'none';
|
|
5120
|
+
type AvatarEmphasis = 'none' | 'ring' | 'halo';
|
|
4697
5121
|
type IconInput = string | SafeHtml | {
|
|
4698
5122
|
name?: string;
|
|
4699
5123
|
svg?: string;
|
|
4700
5124
|
fontClass?: string;
|
|
4701
5125
|
};
|
|
5126
|
+
interface AvatarGroupItem {
|
|
5127
|
+
imageSrc?: string;
|
|
5128
|
+
imageAlt?: string;
|
|
5129
|
+
initials?: string;
|
|
5130
|
+
name?: string;
|
|
5131
|
+
icon?: IconInput;
|
|
5132
|
+
defaultIcon?: IconInput;
|
|
5133
|
+
themeColor?: ThemeColor;
|
|
5134
|
+
rounded?: Rounded;
|
|
5135
|
+
fillMode?: FillMode;
|
|
5136
|
+
status?: AvatarStatus;
|
|
5137
|
+
statusLabel?: string;
|
|
5138
|
+
emphasis?: AvatarEmphasis;
|
|
5139
|
+
emphasisColor?: ThemeColor;
|
|
5140
|
+
emphasisLabel?: string;
|
|
5141
|
+
tooltip?: string;
|
|
5142
|
+
ariaLabel?: string;
|
|
5143
|
+
}
|
|
5144
|
+
interface NormalizedAvatarGroupItem extends AvatarGroupItem {
|
|
5145
|
+
key: string;
|
|
5146
|
+
index: number;
|
|
5147
|
+
initialsText: string;
|
|
5148
|
+
imageUrl: string;
|
|
5149
|
+
label: string;
|
|
5150
|
+
tooltip: string;
|
|
5151
|
+
themeColor: ThemeColor;
|
|
5152
|
+
rounded: Rounded;
|
|
5153
|
+
fillMode: FillMode;
|
|
5154
|
+
status: AvatarStatus;
|
|
5155
|
+
emphasis: AvatarEmphasis;
|
|
5156
|
+
emphasisColor: ThemeColor;
|
|
5157
|
+
}
|
|
4702
5158
|
declare class MaterialAvatarComponent implements OnChanges {
|
|
4703
5159
|
private readonly sanitizer;
|
|
4704
5160
|
private readonly elementRef;
|
|
@@ -4722,6 +5178,12 @@ declare class MaterialAvatarComponent implements OnChanges {
|
|
|
4722
5178
|
private _border;
|
|
4723
5179
|
private _sizePx?;
|
|
4724
5180
|
private _sizeCss?;
|
|
5181
|
+
private _initialsMaxLength;
|
|
5182
|
+
private _groupItems;
|
|
5183
|
+
private _groupMaxVisible;
|
|
5184
|
+
private _groupOverlap;
|
|
5185
|
+
private _emphasis;
|
|
5186
|
+
private _emphasisColor;
|
|
4725
5187
|
set themeColor(value: ThemeColor);
|
|
4726
5188
|
get themeColor(): ThemeColor;
|
|
4727
5189
|
set rounded(value: Rounded);
|
|
@@ -4738,6 +5200,25 @@ declare class MaterialAvatarComponent implements OnChanges {
|
|
|
4738
5200
|
get sizeCss(): string | undefined;
|
|
4739
5201
|
tooltip?: string;
|
|
4740
5202
|
ariaLabel?: string;
|
|
5203
|
+
status?: AvatarStatus;
|
|
5204
|
+
statusLabel?: string;
|
|
5205
|
+
badge?: string | number;
|
|
5206
|
+
badgeLabel?: string;
|
|
5207
|
+
emphasisLabel?: string;
|
|
5208
|
+
set emphasis(value: AvatarEmphasis | undefined);
|
|
5209
|
+
get emphasis(): AvatarEmphasis;
|
|
5210
|
+
set emphasisColor(value: ThemeColor | undefined);
|
|
5211
|
+
get emphasisColor(): ThemeColor;
|
|
5212
|
+
set initialsMaxLength(value: number | string | undefined);
|
|
5213
|
+
get initialsMaxLength(): number;
|
|
5214
|
+
set groupItems(value: AvatarGroupItem[] | undefined);
|
|
5215
|
+
get groupItems(): AvatarGroupItem[];
|
|
5216
|
+
set groupMaxVisible(value: number | string | undefined);
|
|
5217
|
+
get groupMaxVisible(): number;
|
|
5218
|
+
set groupOverlap(value: number | string | undefined);
|
|
5219
|
+
get groupOverlap(): number;
|
|
5220
|
+
groupOverflowLabel?: string;
|
|
5221
|
+
groupLabel?: string;
|
|
4741
5222
|
readonlyMode?: boolean;
|
|
4742
5223
|
disabledMode?: boolean;
|
|
4743
5224
|
visible?: boolean;
|
|
@@ -4750,6 +5231,7 @@ declare class MaterialAvatarComponent implements OnChanges {
|
|
|
4750
5231
|
get style(): NgStyle | undefined;
|
|
4751
5232
|
imageError: EventEmitter<void>;
|
|
4752
5233
|
private readonly _imgFailed;
|
|
5234
|
+
private readonly groupImageFailures;
|
|
4753
5235
|
private readonly controlValue;
|
|
4754
5236
|
private readonly _syncControlValue;
|
|
4755
5237
|
readonly resolvedImageSrc: _angular_core.Signal<string>;
|
|
@@ -4757,6 +5239,7 @@ declare class MaterialAvatarComponent implements OnChanges {
|
|
|
4757
5239
|
readonly hasImage: _angular_core.Signal<boolean>;
|
|
4758
5240
|
readonly hasInitials: _angular_core.Signal<boolean>;
|
|
4759
5241
|
readonly componentCssClasses: _angular_core.Signal<string>;
|
|
5242
|
+
readonly computedHostRole: _angular_core.Signal<"group" | "img">;
|
|
4760
5243
|
readonly resolvedStyle: _angular_core.Signal<{
|
|
4761
5244
|
[x: string]: unknown;
|
|
4762
5245
|
} | null>;
|
|
@@ -4767,10 +5250,41 @@ declare class MaterialAvatarComponent implements OnChanges {
|
|
|
4767
5250
|
private pickImageSrcFromValue;
|
|
4768
5251
|
private normalizeImageUrl;
|
|
4769
5252
|
private normalizeCssSize;
|
|
5253
|
+
private normalizeThemeColor;
|
|
5254
|
+
private normalizeRounded;
|
|
5255
|
+
private normalizeFillMode;
|
|
5256
|
+
private normalizeStatus;
|
|
5257
|
+
private normalizeEmphasis;
|
|
5258
|
+
private initialsFrom;
|
|
5259
|
+
private groupItemLabel;
|
|
5260
|
+
private defaultStatusLabel;
|
|
5261
|
+
private iconNameFrom;
|
|
5262
|
+
private themeStyle;
|
|
5263
|
+
private radiusToken;
|
|
5264
|
+
readonly resolvedStatus: _angular_core.Signal<AvatarStatus>;
|
|
5265
|
+
readonly resolvedStatusLabel: _angular_core.Signal<string>;
|
|
5266
|
+
normalizedBadge(): string;
|
|
5267
|
+
readonly resolvedBadgeLabel: _angular_core.Signal<string>;
|
|
5268
|
+
readonly resolvedEmphasisLabel: _angular_core.Signal<string>;
|
|
4770
5269
|
shouldShowImage(): boolean;
|
|
4771
5270
|
shouldShowIcon(): boolean;
|
|
4772
5271
|
shouldShowInitials(): boolean;
|
|
4773
5272
|
shouldShowDefaultIcon(): boolean;
|
|
5273
|
+
shouldShowStatus(): boolean;
|
|
5274
|
+
shouldShowBadge(): boolean;
|
|
5275
|
+
shouldRenderGroup(): boolean;
|
|
5276
|
+
readonly normalizedGroupItems: _angular_core.Signal<NormalizedAvatarGroupItem[]>;
|
|
5277
|
+
readonly visibleGroupItems: _angular_core.Signal<NormalizedAvatarGroupItem[]>;
|
|
5278
|
+
readonly groupOverflowCount: _angular_core.Signal<number>;
|
|
5279
|
+
groupItemClasses(item: NormalizedAvatarGroupItem): string;
|
|
5280
|
+
groupItemStyle(item: NormalizedAvatarGroupItem): Record<string, string>;
|
|
5281
|
+
groupOverflowStyle(): Record<string, string>;
|
|
5282
|
+
groupOverlapCss(): string;
|
|
5283
|
+
groupImageFailed(index: number): boolean;
|
|
5284
|
+
onGroupImgError(index: number): void;
|
|
5285
|
+
groupIconName(item: AvatarGroupItem): string | null;
|
|
5286
|
+
groupDefaultIconName(item: AvatarGroupItem): string | null;
|
|
5287
|
+
resolvedGroupOverflowLabel(): string;
|
|
4774
5288
|
readonly hasExplicitIcon: _angular_core.Signal<boolean>;
|
|
4775
5289
|
readonly hasDefaultIcon: _angular_core.Signal<boolean>;
|
|
4776
5290
|
normalizedInitials(): string;
|
|
@@ -4783,14 +5297,32 @@ declare class MaterialAvatarComponent implements OnChanges {
|
|
|
4783
5297
|
ngOnChanges(_changes: SimpleChanges): void;
|
|
4784
5298
|
setInputMetadata(meta: ComponentMetadata): void;
|
|
4785
5299
|
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>;
|
|
5300
|
+
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
5301
|
}
|
|
4788
5302
|
|
|
4789
|
-
declare class MaterialRadioGroupComponent extends SimpleBaseSelectComponent {
|
|
5303
|
+
declare class MaterialRadioGroupComponent extends SimpleBaseSelectComponent implements DoCheck {
|
|
4790
5304
|
readonlyMode: boolean;
|
|
4791
5305
|
disabledMode: boolean;
|
|
4792
5306
|
visible: boolean;
|
|
4793
5307
|
presentationMode: boolean;
|
|
5308
|
+
private disabledModeAppliedToControl;
|
|
5309
|
+
ngDoCheck(): void;
|
|
5310
|
+
radioInteractionDisabled(): boolean;
|
|
5311
|
+
radioAriaDisabled(): 'true' | null;
|
|
5312
|
+
radioAriaReadonly(): 'true' | null;
|
|
5313
|
+
readonlyEffective(): boolean;
|
|
5314
|
+
radioOptionDisabled(option: SelectOption<unknown>): boolean;
|
|
5315
|
+
radioOptionAriaDisabled(option: SelectOption<unknown>): 'true' | null;
|
|
5316
|
+
onRadioButtonClick(event: MouseEvent): void;
|
|
5317
|
+
onRadioButtonKeydown(event: KeyboardEvent): void;
|
|
5318
|
+
selectOption(option: SelectOption<unknown>): void;
|
|
5319
|
+
radioLabelId(): string;
|
|
5320
|
+
radioHintId(): string;
|
|
5321
|
+
radioErrorId(): string;
|
|
5322
|
+
radioLabelledBy(): string | null;
|
|
5323
|
+
radioDescribedBy(): string | null;
|
|
5324
|
+
isRequiredRadio(): boolean;
|
|
5325
|
+
private syncDisabledModeControlState;
|
|
4794
5326
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
4795
5327
|
protected getSpecificCssClasses(): string[];
|
|
4796
5328
|
private optionsFromLegacy;
|
|
@@ -4799,11 +5331,20 @@ declare class MaterialRadioGroupComponent extends SimpleBaseSelectComponent {
|
|
|
4799
5331
|
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
5332
|
}
|
|
4801
5333
|
|
|
4802
|
-
declare class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent {
|
|
5334
|
+
declare class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent implements DoCheck {
|
|
4803
5335
|
readonlyMode: boolean;
|
|
4804
5336
|
disabledMode: boolean;
|
|
4805
5337
|
visible: boolean;
|
|
4806
5338
|
presentationMode: boolean;
|
|
5339
|
+
private disabledModeAppliedToControl;
|
|
5340
|
+
ngDoCheck(): void;
|
|
5341
|
+
checkboxInteractionDisabled(): boolean;
|
|
5342
|
+
checkboxAriaDisabled(): 'true' | null;
|
|
5343
|
+
checkboxAriaReadonly(): 'true' | null;
|
|
5344
|
+
readonlyEffective(): boolean;
|
|
5345
|
+
onCheckboxControlClick(event: MouseEvent, stopShellPropagation?: boolean): void;
|
|
5346
|
+
onCheckboxControlKeydown(event: KeyboardEvent): void;
|
|
5347
|
+
private syncDisabledModeControlState;
|
|
4807
5348
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
4808
5349
|
/** Disables options when maxSelections reached */
|
|
4809
5350
|
isOptionDisabled(option: SelectOption<unknown>): boolean;
|
|
@@ -4820,7 +5361,7 @@ declare class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent {
|
|
|
4820
5361
|
booleanErrorId(): string;
|
|
4821
5362
|
groupHintId(): string;
|
|
4822
5363
|
groupErrorId(): string;
|
|
4823
|
-
booleanAriaLabel(): string
|
|
5364
|
+
booleanAriaLabel(): string;
|
|
4824
5365
|
booleanLabelledBy(): string | null;
|
|
4825
5366
|
booleanDescribedBy(): string | null;
|
|
4826
5367
|
groupDescribedBy(): string | null;
|
|
@@ -4835,6 +5376,8 @@ declare class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent {
|
|
|
4835
5376
|
onBooleanCheckboxChange(): void;
|
|
4836
5377
|
onMultipleOptionContentClick(option: SelectOption<unknown>, event: MouseEvent): void;
|
|
4837
5378
|
onSelectAllContentClick(event: MouseEvent): void;
|
|
5379
|
+
selectOption(option: SelectOption<unknown>): void;
|
|
5380
|
+
toggleSelectAll(): void;
|
|
4838
5381
|
private shouldToggleFromBooleanContent;
|
|
4839
5382
|
private shouldToggleFromMultipleContent;
|
|
4840
5383
|
private toggleBooleanCheckbox;
|
|
@@ -4842,10 +5385,10 @@ declare class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent {
|
|
|
4842
5385
|
private humanizeName;
|
|
4843
5386
|
optionLabelId(option: SelectOption<unknown>): string;
|
|
4844
5387
|
optionDescriptionId(option: SelectOption<unknown>): string | null;
|
|
4845
|
-
optionAriaLabel(option: SelectOption<unknown>): string
|
|
5388
|
+
optionAriaLabel(option: SelectOption<unknown>): string;
|
|
4846
5389
|
optionSupportingText(option: SelectOption<unknown>): string | null;
|
|
4847
5390
|
selectAllLabelId(): string;
|
|
4848
|
-
selectAllAriaLabel(): string
|
|
5391
|
+
selectAllAriaLabel(): string;
|
|
4849
5392
|
selectAllLabelText(): string;
|
|
4850
5393
|
private optionDomToken;
|
|
4851
5394
|
private optionsFromLegacy;
|
|
@@ -4854,11 +5397,30 @@ declare class MaterialCheckboxGroupComponent extends SimpleBaseSelectComponent {
|
|
|
4854
5397
|
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
5398
|
}
|
|
4856
5399
|
|
|
4857
|
-
declare class MaterialSelectionListComponent extends SimpleBaseSelectComponent {
|
|
5400
|
+
declare class MaterialSelectionListComponent extends SimpleBaseSelectComponent implements DoCheck {
|
|
4858
5401
|
readonlyMode: boolean;
|
|
4859
5402
|
disabledMode: boolean;
|
|
4860
5403
|
visible: boolean;
|
|
4861
5404
|
presentationMode: boolean;
|
|
5405
|
+
private disabledModeAppliedToControl;
|
|
5406
|
+
ngDoCheck(): void;
|
|
5407
|
+
selectionListInteractionDisabled(): boolean;
|
|
5408
|
+
selectionListAriaDisabled(): 'true' | null;
|
|
5409
|
+
selectionListAriaReadonly(): 'true' | null;
|
|
5410
|
+
selectionOptionDisabled(option: SelectOption<unknown>): boolean;
|
|
5411
|
+
selectionOptionAriaDisabled(option: SelectOption<unknown>): 'true' | null;
|
|
5412
|
+
selectionListLabelId(): string;
|
|
5413
|
+
selectionListHintId(): string;
|
|
5414
|
+
selectionListErrorId(): string;
|
|
5415
|
+
selectionListCounterId(): string;
|
|
5416
|
+
selectionListLabelledBy(): string | null;
|
|
5417
|
+
selectionListDescribedBy(): string | null;
|
|
5418
|
+
isRequiredSelectionList(): boolean;
|
|
5419
|
+
onSelectionOptionClick(event: MouseEvent): void;
|
|
5420
|
+
onSelectionOptionKeydown(event: KeyboardEvent): void;
|
|
5421
|
+
selectOption(option: SelectOption<unknown>): void;
|
|
5422
|
+
toggleSelectAll(): void;
|
|
5423
|
+
private syncDisabledModeControlState;
|
|
4862
5424
|
private asRecord;
|
|
4863
5425
|
private mapRawOption;
|
|
4864
5426
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
@@ -5196,6 +5758,7 @@ declare class MaterialRatingComponent extends SimpleBaseInputComponent implement
|
|
|
5196
5758
|
svgIconOutline?: string;
|
|
5197
5759
|
outlineIcon?: string;
|
|
5198
5760
|
disabled: boolean;
|
|
5761
|
+
disabledMode: boolean;
|
|
5199
5762
|
readonlyMode: boolean;
|
|
5200
5763
|
presentationMode: boolean;
|
|
5201
5764
|
tabindex: number;
|
|
@@ -5225,15 +5788,20 @@ declare class MaterialRatingComponent extends SimpleBaseInputComponent implement
|
|
|
5225
5788
|
private getVisualValue;
|
|
5226
5789
|
private getActiveIndexAndHalf;
|
|
5227
5790
|
private applyValue;
|
|
5791
|
+
ratingValueText(): string;
|
|
5792
|
+
effectiveTabIndex(): number;
|
|
5793
|
+
disabledEffective(): boolean;
|
|
5228
5794
|
readonlyEffective(): boolean;
|
|
5795
|
+
ratingAriaLabel(): string;
|
|
5229
5796
|
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
5230
5797
|
setInputMetadata(meta: unknown): void;
|
|
5231
5798
|
private parseSize;
|
|
5232
5799
|
private parseSelectionMode;
|
|
5800
|
+
private interactionBlocked;
|
|
5233
5801
|
private asRecord;
|
|
5234
5802
|
private metadataAsField;
|
|
5235
5803
|
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>;
|
|
5804
|
+
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
5805
|
}
|
|
5238
5806
|
|
|
5239
5807
|
type PickerView = 'gradient' | 'palette';
|
|
@@ -5354,6 +5922,7 @@ declare class PdxColorPickerComponent extends SimpleBaseInputComponent implement
|
|
|
5354
5922
|
protected getSpecificCssClasses(): string[];
|
|
5355
5923
|
setInputMetadata(meta: ComponentMetadata | null): void;
|
|
5356
5924
|
private currentMetadataRecord;
|
|
5925
|
+
private asRecord;
|
|
5357
5926
|
private toFormat;
|
|
5358
5927
|
private toHex;
|
|
5359
5928
|
private toRgb;
|
|
@@ -5376,20 +5945,54 @@ declare class PdxColorPickerComponent extends SimpleBaseInputComponent implement
|
|
|
5376
5945
|
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
5946
|
}
|
|
5378
5947
|
|
|
5379
|
-
|
|
5948
|
+
interface SliderDistributionBar {
|
|
5949
|
+
id: string;
|
|
5950
|
+
ratio: number;
|
|
5951
|
+
selected: boolean;
|
|
5952
|
+
background?: string;
|
|
5953
|
+
color?: string;
|
|
5954
|
+
label?: string;
|
|
5955
|
+
}
|
|
5956
|
+
interface SliderSemanticBandView {
|
|
5957
|
+
id: string;
|
|
5958
|
+
startPercent: number;
|
|
5959
|
+
widthPercent: number;
|
|
5960
|
+
tone: RangeSliderSemanticBand['tone'];
|
|
5961
|
+
color?: string;
|
|
5962
|
+
label?: string;
|
|
5963
|
+
}
|
|
5964
|
+
declare class PdxMaterialRangeSliderComponent extends SimpleBaseInputComponent implements OnInit, AfterViewChecked {
|
|
5380
5965
|
readonlyMode: boolean;
|
|
5381
5966
|
disabledMode: boolean;
|
|
5382
5967
|
visible: boolean;
|
|
5383
5968
|
presentationMode: boolean;
|
|
5384
5969
|
metadata: _angular_core.WritableSignal<MaterialRangeSliderMetadata | null>;
|
|
5970
|
+
private activeRangeThumb;
|
|
5385
5971
|
readonly rangeGroup: FormGroup<{
|
|
5386
5972
|
start: FormControl<number | null>;
|
|
5387
5973
|
end: FormControl<number | null>;
|
|
5388
5974
|
}>;
|
|
5389
5975
|
readonly isRangeMode: _angular_core.Signal<boolean>;
|
|
5390
5976
|
readonly displayWithFn: _angular_core.Signal<(value: number) => string>;
|
|
5977
|
+
readonly sliderStep: _angular_core.Signal<number>;
|
|
5978
|
+
readonly valueLabelEnabled: _angular_core.Signal<boolean>;
|
|
5979
|
+
readonly showTickMarks: _angular_core.Signal<boolean>;
|
|
5980
|
+
readonly trackMode: _angular_core.Signal<_praxisui_core.RangeSliderTrackMode>;
|
|
5981
|
+
readonly sliderSize: _angular_core.Signal<"small" | "large" | "medium">;
|
|
5982
|
+
readonly markLabels: _angular_core.Signal<RangeSliderMark[]>;
|
|
5983
|
+
readonly semanticBandViews: _angular_core.Signal<SliderSemanticBandView[]>;
|
|
5984
|
+
distributionBars(): SliderDistributionBar[];
|
|
5985
|
+
disabledEffective(): boolean;
|
|
5986
|
+
readonlyEffective(): boolean;
|
|
5987
|
+
sliderInteractionDisabled(): boolean;
|
|
5988
|
+
sliderAriaDisabled(): 'true' | null;
|
|
5989
|
+
sliderAriaReadonly(): 'true' | null;
|
|
5990
|
+
rangeAriaInvalidAttribute(): 'true' | null;
|
|
5991
|
+
rangeThumbAriaLabel(thumb: 'start' | 'end'): string;
|
|
5992
|
+
rangeThumbLabelId(thumb: 'start' | 'end'): string;
|
|
5391
5993
|
readonly errorMessage: _angular_core.Signal<string>;
|
|
5392
5994
|
ngOnInit(): void;
|
|
5995
|
+
ngAfterViewChecked(): void;
|
|
5393
5996
|
/**
|
|
5394
5997
|
* Overrides writeValue to handle both single and range modes.
|
|
5395
5998
|
*/
|
|
@@ -5403,8 +6006,34 @@ declare class PdxMaterialRangeSliderComponent extends SimpleBaseInputComponent i
|
|
|
5403
6006
|
setSliderMetadata(metadata: MaterialRangeSliderMetadata): void;
|
|
5404
6007
|
protected setMetadata(metadata: MaterialRangeSliderMetadata): void;
|
|
5405
6008
|
protected getSpecificCssClasses(): string[];
|
|
6009
|
+
markPosition(value: number): number;
|
|
6010
|
+
formatSliderValue(value: unknown): string;
|
|
6011
|
+
onRangePointerDown(event: PointerEvent): void;
|
|
6012
|
+
private isPointerInteractionBlocked;
|
|
6013
|
+
private syncNativeThumbAria;
|
|
6014
|
+
private applyNativeThumbAria;
|
|
6015
|
+
private setOrRemoveAttribute;
|
|
6016
|
+
private closestRangeThumb;
|
|
6017
|
+
private updateActiveRangeThumbFromPointer;
|
|
6018
|
+
private clientXToSliderValue;
|
|
6019
|
+
private valueToTrackClientX;
|
|
6020
|
+
private snapSliderValue;
|
|
6021
|
+
private trackElement;
|
|
5406
6022
|
private syncRangeGroupFromControlValue;
|
|
5407
6023
|
private isRangeSliderValue;
|
|
6024
|
+
private resolveMarks;
|
|
6025
|
+
private parseJsonArray;
|
|
6026
|
+
private parseJsonObject;
|
|
6027
|
+
private normalizeTone;
|
|
6028
|
+
private resolveSemanticBands;
|
|
6029
|
+
private resolveDistributionBars;
|
|
6030
|
+
private normalizeDistributionColorMode;
|
|
6031
|
+
private isDistributionBarSelected;
|
|
6032
|
+
private resolveDistributionBarBackground;
|
|
6033
|
+
private stringConfig;
|
|
6034
|
+
private scaleValue;
|
|
6035
|
+
private formatStorageValue;
|
|
6036
|
+
private formatCurrencyValue;
|
|
5408
6037
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PdxMaterialRangeSliderComponent, never>;
|
|
5409
6038
|
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
6039
|
}
|
|
@@ -5420,6 +6049,9 @@ interface TransferListMetadata extends SimpleSelectMetadata<unknown> {
|
|
|
5420
6049
|
rightLabel?: string;
|
|
5421
6050
|
leftPlaceholder?: string;
|
|
5422
6051
|
rightPlaceholder?: string;
|
|
6052
|
+
leftEmptyText?: string;
|
|
6053
|
+
rightEmptyText?: string;
|
|
6054
|
+
noResultsText?: string;
|
|
5423
6055
|
}
|
|
5424
6056
|
declare class MaterialTransferListComponent extends SimpleBaseSelectComponent {
|
|
5425
6057
|
readonlyMode: boolean;
|
|
@@ -5430,6 +6062,9 @@ declare class MaterialTransferListComponent extends SimpleBaseSelectComponent {
|
|
|
5430
6062
|
rightLabel: string;
|
|
5431
6063
|
leftPlaceholder: string;
|
|
5432
6064
|
rightPlaceholder: string;
|
|
6065
|
+
leftEmptyText: string;
|
|
6066
|
+
rightEmptyText: string;
|
|
6067
|
+
noResultsText: string;
|
|
5433
6068
|
readonly leftOptions: _angular_core.WritableSignal<SelectOption<unknown>[]>;
|
|
5434
6069
|
readonly rightOptions: _angular_core.WritableSignal<SelectOption<unknown>[]>;
|
|
5435
6070
|
readonly leftFilter: _angular_core.WritableSignal<string>;
|
|
@@ -5443,6 +6078,12 @@ declare class MaterialTransferListComponent extends SimpleBaseSelectComponent {
|
|
|
5443
6078
|
moveAllToRightAriaLabel(): string;
|
|
5444
6079
|
moveSelectedToLeftAriaLabel(): string;
|
|
5445
6080
|
moveAllToLeftAriaLabel(): string;
|
|
6081
|
+
leftListAriaLabel(): string;
|
|
6082
|
+
rightListAriaLabel(): string;
|
|
6083
|
+
leftEmptyMessage(): string;
|
|
6084
|
+
rightEmptyMessage(): string;
|
|
6085
|
+
isMaxSelectionReached(): boolean;
|
|
6086
|
+
isInteractionDisabled(): boolean;
|
|
5446
6087
|
ngOnInit(): void;
|
|
5447
6088
|
private updateListsFromValue;
|
|
5448
6089
|
getSelectedOptions(list: MatSelectionList): SelectOption[];
|
|
@@ -5484,6 +6125,8 @@ declare class PdxYearInputComponent extends SimpleBaseInputComponent {
|
|
|
5484
6125
|
/** Metadata for TextInputComponent */
|
|
5485
6126
|
declare const PDX_TEXT_INPUT_COMPONENT_METADATA: ComponentDocMeta;
|
|
5486
6127
|
|
|
6128
|
+
declare const PDX_EDITABLE_COLLECTION_COMPONENT_METADATA: ComponentDocMeta;
|
|
6129
|
+
|
|
5487
6130
|
/** Metadata for NumberInputComponent */
|
|
5488
6131
|
declare const PDX_NUMBER_INPUT_COMPONENT_METADATA: ComponentDocMeta;
|
|
5489
6132
|
|
|
@@ -5502,6 +6145,7 @@ declare const PDX_INLINE_SEARCHABLE_SELECT_COMPONENT_METADATA: ComponentDocMeta;
|
|
|
5502
6145
|
|
|
5503
6146
|
declare const PDX_INLINE_ASYNC_SELECT_COMPONENT_METADATA: ComponentDocMeta;
|
|
5504
6147
|
|
|
6148
|
+
declare const PDX_ENTITY_LOOKUP_COMPONENT_METADATA: ComponentDocMeta;
|
|
5505
6149
|
declare const PDX_INLINE_ENTITY_LOOKUP_COMPONENT_METADATA: ComponentDocMeta;
|
|
5506
6150
|
|
|
5507
6151
|
declare const PDX_INLINE_MULTI_SELECT_COMPONENT_METADATA: ComponentDocMeta;
|
|
@@ -5632,367 +6276,6 @@ declare const PDX_YEAR_INPUT_COMPONENT_METADATA: ComponentDocMeta;
|
|
|
5632
6276
|
|
|
5633
6277
|
declare const PDX_FIELD_SHELL_COMPONENT_METADATA: ComponentDocMeta;
|
|
5634
6278
|
|
|
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
6279
|
declare class DateUtilsService {
|
|
5997
6280
|
/**
|
|
5998
6281
|
* Parses different date representations into a `Date` object.
|
|
@@ -6319,7 +6602,18 @@ interface DynamicFieldPreviewPreset {
|
|
|
6319
6602
|
label: string;
|
|
6320
6603
|
description: string;
|
|
6321
6604
|
metadataPatch?: Record<string, unknown>;
|
|
6605
|
+
/**
|
|
6606
|
+
* Default value for this preset after the active state metadata is applied.
|
|
6607
|
+
* State recipes still win when they define their own `initialValue`, except
|
|
6608
|
+
* for explicit entries in `stateInitialValues`.
|
|
6609
|
+
*/
|
|
6322
6610
|
initialValue?: unknown;
|
|
6611
|
+
/**
|
|
6612
|
+
* Per-state value overrides for this preset. Precedence:
|
|
6613
|
+
* `stateInitialValues[state]` -> state recipe `initialValue` -> preset
|
|
6614
|
+
* `initialValue` -> default state seed -> generated fallback value.
|
|
6615
|
+
*/
|
|
6616
|
+
stateInitialValues?: Partial<Record<DynamicFieldStateKey, unknown>>;
|
|
6323
6617
|
}
|
|
6324
6618
|
interface DynamicFieldCatalogEntry {
|
|
6325
6619
|
id: string;
|
|
@@ -6403,6 +6697,10 @@ declare const DISPLAY_ACTION_AI_CAPABILITIES: CapabilityCatalog;
|
|
|
6403
6697
|
|
|
6404
6698
|
declare const YEAR_INPUT_AI_CAPABILITIES: CapabilityCatalog;
|
|
6405
6699
|
|
|
6700
|
+
declare const PRAXIS_DYNAMIC_FIELDS_AUTHORING_MANIFEST: ComponentAuthoringManifest;
|
|
6701
|
+
|
|
6702
|
+
declare const PRAXIS_DYNAMIC_FIELDS_AUTHORING_PROFILES: ManifestControlProfile[];
|
|
6703
|
+
|
|
6406
6704
|
/**
|
|
6407
6705
|
* @fileoverview Custom Error State Matcher for Praxis Dynamic Fields
|
|
6408
6706
|
*
|
|
@@ -6659,5 +6957,5 @@ declare function normalizeFormMetadata(input: FieldMetadata[] | JsonSchema): Fie
|
|
|
6659
6957
|
declare const CLEAR_BUTTON_CONTROL_TYPES: Set<string>;
|
|
6660
6958
|
declare function supportsClearButtonControlType(controlType?: string | null): boolean;
|
|
6661
6959
|
|
|
6662
|
-
export {
|
|
6663
|
-
export type {
|
|
6960
|
+
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 };
|
|
6961
|
+
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 };
|