@praxisui/dynamic-fields 8.0.0-beta.1 → 8.0.0-beta.11
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 +12 -0
- package/fesm2022/praxisui-dynamic-fields-index-CBogy3si.mjs +1 -0
- package/fesm2022/praxisui-dynamic-fields.mjs +11380 -10885
- package/index.d.ts +145 -376
- package/package.json +4 -4
package/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
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';
|
|
3
|
+
import { AbstractControl, ControlValueAccessor, NgControl, ValidationErrors, FormControl, FormGroup, FormArray, FormGroupDirective, NgForm } from '@angular/forms';
|
|
4
4
|
import { Observable, BehaviorSubject } from 'rxjs';
|
|
5
|
-
import { ComponentMetadata, PraxisTextValue, PraxisI18nDictionary, PraxisI18nConfig, PraxisI18nMessageDescriptor, PraxisI18nService, OptionSourceMetadata, GenericCrudService, GlobalConfigService, OptionDTO, ComponentDocMeta, ComponentMetadataEditorialDescriptor, ComponentMetadataRegistry, FieldMetadata, MaterialButtonMetadata, MaterialInputMetadata, MaterialColorInputMetadata, MaterialDateInputMetadata, MaterialDatepickerMetadata, MaterialDateRangeMetadata, DateRangePreset, DateRangeValue, MaterialDatetimeLocalInputMetadata, MaterialEmailInputMetadata, MaterialTextareaMetadata, MaterialNumericMetadata, MaterialCurrencyMetadata, MaterialCpfCnpjMetadata, MaterialPriceRangeMetadata, MaterialMonthInputMetadata, MaterialPasswordMetadata, MaterialSearchInputMetadata, MaterialSelectMetadata, MaterialAutocompleteMetadata, MaterialToggleMetadata, MaterialRangeSliderMetadata, RangeSliderValue, InlinePeriodRangeMetadata, FieldControlType, MaterialTimepickerMetadata, MaterialTimeRangeMetadata, MaterialTreeNode, MaterialTreeSelectMetadata, MaterialMultiSelectTreeMetadata, MaterialChipsMetadata, MaterialSliderMetadata, MaterialPhoneMetadata, MaterialTimeInputMetadata, MaterialUrlInputMetadata, MaterialWeekInputMetadata, MaterialColorPickerMetadata, MaterialYearInputMetadata, CapabilityCatalog } from '@praxisui/core';
|
|
5
|
+
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, MaterialEntityLookupMetadata, MaterialAutocompleteMetadata, MaterialToggleMetadata, MaterialRangeSliderMetadata, RangeSliderValue, InlinePeriodRangeMetadata, FieldControlType, MaterialTimepickerMetadata, MaterialTimeRangeMetadata, MaterialTreeNode, MaterialTreeSelectMetadata, MaterialMultiSelectTreeMetadata, MaterialChipsMetadata, MaterialSliderMetadata, MaterialPhoneMetadata, MaterialTimeInputMetadata, MaterialUrlInputMetadata, MaterialWeekInputMetadata, MaterialColorPickerMetadata, MaterialYearInputMetadata, CapabilityCatalog, ComponentAuthoringManifest, ManifestControlProfile } from '@praxisui/core';
|
|
6
6
|
import { Router } from '@angular/router';
|
|
7
7
|
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
8
8
|
import { MatSelect } from '@angular/material/select';
|
|
@@ -739,8 +739,9 @@ interface BasicButtonState {
|
|
|
739
739
|
error: Error | null;
|
|
740
740
|
}
|
|
741
741
|
interface ButtonAction {
|
|
742
|
-
type: 'navigation' | 'external-link' | 'custom' | 'form-action';
|
|
742
|
+
type: 'navigation' | 'external-link' | 'global' | 'custom' | 'form-action';
|
|
743
743
|
target?: string;
|
|
744
|
+
globalAction?: GlobalActionRef;
|
|
744
745
|
payload?: any;
|
|
745
746
|
confirmation?: {
|
|
746
747
|
title: string;
|
|
@@ -756,6 +757,7 @@ declare abstract class SimpleBaseButtonComponent implements OnInit, OnDestroy, B
|
|
|
756
757
|
protected readonly cdr: ChangeDetectorRef;
|
|
757
758
|
protected readonly router: Router;
|
|
758
759
|
protected readonly dialog: MatDialog;
|
|
760
|
+
protected readonly globalActions: GlobalActionService | null;
|
|
759
761
|
protected readonly i18n: PraxisI18nService;
|
|
760
762
|
protected readonly dynamicFieldsI18n: PraxisDynamicFieldsI18nOverrides | null;
|
|
761
763
|
/** Subject para eventos de lifecycle */
|
|
@@ -1561,7 +1563,6 @@ declare class DynamicFieldLoaderDirective implements OnInit, OnDestroy, OnChange
|
|
|
1561
1563
|
}
|
|
1562
1564
|
|
|
1563
1565
|
declare class MaterialButtonComponent extends SimpleBaseButtonComponent implements OnDestroy {
|
|
1564
|
-
private readonly actionResolver;
|
|
1565
1566
|
private readonly keyboardService;
|
|
1566
1567
|
private unregisterShortcut?;
|
|
1567
1568
|
/** Estado adicional específico do Material Button */
|
|
@@ -1635,6 +1636,50 @@ declare class ConfirmDialogComponent {
|
|
|
1635
1636
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ConfirmDialogComponent, "pdx-confirm-dialog", never, {}, {}, never, never, true, never>;
|
|
1636
1637
|
}
|
|
1637
1638
|
|
|
1639
|
+
declare class EditableCollectionComponent implements BaseDynamicFieldComponent {
|
|
1640
|
+
private readonly dynamicForm;
|
|
1641
|
+
private readonly i18n;
|
|
1642
|
+
private readonly collectionRoot?;
|
|
1643
|
+
private readonly addButton?;
|
|
1644
|
+
readonly metadata: _angular_core.WritableSignal<ComponentMetadata | null>;
|
|
1645
|
+
readonly componentId: _angular_core.WritableSignal<string>;
|
|
1646
|
+
readonly formControl: _angular_core.WritableSignal<AbstractControl<any, any, any> | null>;
|
|
1647
|
+
readonlyMode: boolean;
|
|
1648
|
+
disabledMode: boolean;
|
|
1649
|
+
visible: boolean;
|
|
1650
|
+
presentationMode: boolean;
|
|
1651
|
+
label: string;
|
|
1652
|
+
readonly arrayControl: _angular_core.Signal<FormArray<any> | null>;
|
|
1653
|
+
readonly itemFields: _angular_core.Signal<FieldMetadata[]>;
|
|
1654
|
+
itemGroups(): FormGroup[];
|
|
1655
|
+
readonly arrayConfig: _angular_core.Signal<FieldArrayConfig>;
|
|
1656
|
+
readonly headingId: _angular_core.Signal<string>;
|
|
1657
|
+
readonly errorId: _angular_core.Signal<string>;
|
|
1658
|
+
setInputMetadata(metadata: ComponentMetadata): void;
|
|
1659
|
+
setExternalControl(control: AbstractControl): void;
|
|
1660
|
+
focus(): void;
|
|
1661
|
+
blur(): void;
|
|
1662
|
+
addItem(): void;
|
|
1663
|
+
removeItem(index: number): void;
|
|
1664
|
+
canAdd(): boolean;
|
|
1665
|
+
canShowAdd(): boolean;
|
|
1666
|
+
canRemove(_index: number): boolean;
|
|
1667
|
+
canShowRemove(_index: number): boolean;
|
|
1668
|
+
isInteractionDisabled(): boolean;
|
|
1669
|
+
isItemEditReadonly(): boolean;
|
|
1670
|
+
addLabel(): string;
|
|
1671
|
+
removeLabel(): string;
|
|
1672
|
+
emptyState(): string;
|
|
1673
|
+
hasVisibleErrors(): boolean;
|
|
1674
|
+
itemTitle(group: FormGroup, index: number): string;
|
|
1675
|
+
errorMessages(): string[];
|
|
1676
|
+
trackItem(index: number, group: FormGroup): unknown;
|
|
1677
|
+
private readPath;
|
|
1678
|
+
private t;
|
|
1679
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EditableCollectionComponent, never>;
|
|
1680
|
+
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>;
|
|
1681
|
+
}
|
|
1682
|
+
|
|
1638
1683
|
declare class TextInputComponent extends SimpleBaseInputComponent {
|
|
1639
1684
|
readonly validationChange: _angular_core.OutputEmitterRef<ValidationErrors | null>;
|
|
1640
1685
|
readonlyMode: boolean;
|
|
@@ -2331,6 +2376,7 @@ interface SearchableSelectMetadata {
|
|
|
2331
2376
|
selectAll?: boolean;
|
|
2332
2377
|
maxSelections?: number;
|
|
2333
2378
|
resourcePath?: string;
|
|
2379
|
+
optionSource?: OptionSourceMetadata;
|
|
2334
2380
|
filterCriteria?: Record<string, unknown>;
|
|
2335
2381
|
optionLabelKey?: string;
|
|
2336
2382
|
optionValueKey?: string;
|
|
@@ -2403,6 +2449,13 @@ declare class InlineSearchableSelectComponent extends MaterialSearchableSelectCo
|
|
|
2403
2449
|
|
|
2404
2450
|
type LoadStrategy = 'open' | 'init' | 'none';
|
|
2405
2451
|
type DependencyLoadMode = 'respectLoadOn' | 'immediate' | 'manual';
|
|
2452
|
+
type OptionId = string | number;
|
|
2453
|
+
type AsyncOption = OptionDTO<OptionId>;
|
|
2454
|
+
type AsyncRenderedOption = {
|
|
2455
|
+
label: string;
|
|
2456
|
+
value: unknown;
|
|
2457
|
+
disabled?: boolean;
|
|
2458
|
+
};
|
|
2406
2459
|
interface AsyncSelectMetadata {
|
|
2407
2460
|
selectOptions?: Array<{
|
|
2408
2461
|
label?: string;
|
|
@@ -2465,7 +2518,9 @@ declare class MaterialAsyncSelectComponent extends SimpleBaseSelectComponent {
|
|
|
2465
2518
|
protected onDependenciesChanged(): void;
|
|
2466
2519
|
private missingOptionLabel;
|
|
2467
2520
|
private loadOptionsErrorLabel;
|
|
2468
|
-
|
|
2521
|
+
protected mapRemoteOption(option: AsyncOption): AsyncRenderedOption;
|
|
2522
|
+
protected resolveRemoteOptionValue(option: AsyncOption): unknown;
|
|
2523
|
+
protected resolveRemoteOptionDisabled(option: AsyncOption): boolean;
|
|
2469
2524
|
private areRemoteOptionValuesEqual;
|
|
2470
2525
|
private normalizeRemoteOptionValue;
|
|
2471
2526
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialAsyncSelectComponent, never>;
|
|
@@ -2539,6 +2594,38 @@ type LookupOption = {
|
|
|
2539
2594
|
value: unknown;
|
|
2540
2595
|
disabled?: boolean;
|
|
2541
2596
|
};
|
|
2597
|
+
type EntityLookupRemoteValue = {
|
|
2598
|
+
id: unknown;
|
|
2599
|
+
label: string;
|
|
2600
|
+
code?: unknown;
|
|
2601
|
+
description?: unknown;
|
|
2602
|
+
status?: unknown;
|
|
2603
|
+
statusLabel?: unknown;
|
|
2604
|
+
selectable?: unknown;
|
|
2605
|
+
disabledReason?: unknown;
|
|
2606
|
+
detailHref?: unknown;
|
|
2607
|
+
detailRoute?: unknown;
|
|
2608
|
+
resourcePath?: unknown;
|
|
2609
|
+
entityKey?: unknown;
|
|
2610
|
+
badges?: unknown;
|
|
2611
|
+
tags?: unknown;
|
|
2612
|
+
riskLevel?: unknown;
|
|
2613
|
+
extra?: Record<string, unknown>;
|
|
2614
|
+
};
|
|
2615
|
+
interface EntityLookupViewModel {
|
|
2616
|
+
id: string;
|
|
2617
|
+
identity: string;
|
|
2618
|
+
code: string;
|
|
2619
|
+
label: string;
|
|
2620
|
+
description: string;
|
|
2621
|
+
status: string;
|
|
2622
|
+
statusTone: 'success' | 'warning' | 'danger' | 'neutral';
|
|
2623
|
+
selectable: boolean;
|
|
2624
|
+
disabledReason: string;
|
|
2625
|
+
detailHref: string;
|
|
2626
|
+
detailRoute: string;
|
|
2627
|
+
badges: string[];
|
|
2628
|
+
}
|
|
2542
2629
|
interface LookupClearButtonConfig {
|
|
2543
2630
|
enabled?: boolean;
|
|
2544
2631
|
ariaLabel?: string;
|
|
@@ -2552,14 +2639,7 @@ interface LookupAutoSizeConfig {
|
|
|
2552
2639
|
interface LookupMaterialDesignConfig {
|
|
2553
2640
|
density?: string;
|
|
2554
2641
|
}
|
|
2555
|
-
type EntityLookupMetadata =
|
|
2556
|
-
lookupIdKey?: string;
|
|
2557
|
-
lookupLabelKey?: string;
|
|
2558
|
-
lookupSubtitleKey?: string;
|
|
2559
|
-
lookupSeparator?: string;
|
|
2560
|
-
searchPlaceholder?: string;
|
|
2561
|
-
resetLabel?: string;
|
|
2562
|
-
ariaLabel?: string;
|
|
2642
|
+
type EntityLookupMetadata = MaterialEntityLookupMetadata & {
|
|
2563
2643
|
optionLabelKey?: string;
|
|
2564
2644
|
optionValueKey?: string;
|
|
2565
2645
|
clearButton?: LookupClearButtonConfig | false | null;
|
|
@@ -2582,8 +2662,35 @@ declare class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
2582
2662
|
hasSelection(): boolean;
|
|
2583
2663
|
selectedCount(): number;
|
|
2584
2664
|
displayText(): string;
|
|
2665
|
+
richLayoutEnabled(): boolean;
|
|
2666
|
+
selectedCardLayout(): boolean;
|
|
2667
|
+
selectedLookupView(): EntityLookupViewModel | null;
|
|
2668
|
+
optionLookupView(option: LookupOption): EntityLookupViewModel;
|
|
2669
|
+
showCode(): boolean;
|
|
2670
|
+
showDescription(): boolean;
|
|
2671
|
+
showStatus(): boolean;
|
|
2672
|
+
showAvatar(): boolean;
|
|
2673
|
+
showBadges(): boolean;
|
|
2674
|
+
showDisabledReason(): boolean;
|
|
2675
|
+
showResultCount(): boolean;
|
|
2676
|
+
resultCountText(): string;
|
|
2677
|
+
hasVisibleBadges(item: EntityLookupViewModel): boolean;
|
|
2678
|
+
visibleBadges(item: EntityLookupViewModel): string[];
|
|
2679
|
+
statusBadgeClass(item: EntityLookupViewModel): string;
|
|
2680
|
+
lookupInitials(item: EntityLookupViewModel): string;
|
|
2681
|
+
showDetailAction(item: EntityLookupViewModel): boolean;
|
|
2682
|
+
showChangeAction(): boolean;
|
|
2683
|
+
showCopyCodeAction(item: EntityLookupViewModel): boolean;
|
|
2684
|
+
detailActionText(): string;
|
|
2685
|
+
changeActionText(): string;
|
|
2686
|
+
copyCodeActionText(): string;
|
|
2687
|
+
clearActionText(): string;
|
|
2688
|
+
onDetailAction(event: MouseEvent, item: EntityLookupViewModel): void;
|
|
2689
|
+
onChangeAction(event: MouseEvent): void;
|
|
2690
|
+
onCopyCodeAction(event: MouseEvent, item: EntityLookupViewModel): void;
|
|
2585
2691
|
optionPrimaryText(option: LookupOption): string;
|
|
2586
2692
|
optionSecondaryText(option: LookupOption): string;
|
|
2693
|
+
protected resolveRemoteOptionValue(option: OptionDTO<string | number>): EntityLookupRemoteValue;
|
|
2587
2694
|
resetOptionText(): string;
|
|
2588
2695
|
showQuickClear(): boolean;
|
|
2589
2696
|
onResetOptionClick(event: MouseEvent): void;
|
|
@@ -2603,17 +2710,34 @@ declare class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
|
|
|
2603
2710
|
panelResetIconColor(): string | undefined;
|
|
2604
2711
|
ariaLabel(): string;
|
|
2605
2712
|
private resolveLookupText;
|
|
2713
|
+
private lookupViewFromValue;
|
|
2606
2714
|
private resolveLookupData;
|
|
2607
2715
|
private buildLookupPrimaryText;
|
|
2608
2716
|
private fallbackLookupText;
|
|
2609
2717
|
private lookupIdKey;
|
|
2718
|
+
private lookupIdKeys;
|
|
2610
2719
|
private lookupLabelKey;
|
|
2720
|
+
private lookupCodeKeys;
|
|
2721
|
+
private lookupLabelKeys;
|
|
2611
2722
|
private lookupSubtitleKey;
|
|
2723
|
+
private lookupSubtitleKeys;
|
|
2724
|
+
private lookupStatusKeys;
|
|
2725
|
+
private resolveLookupSelectable;
|
|
2726
|
+
private lookupBadges;
|
|
2727
|
+
private resolveStatusTone;
|
|
2612
2728
|
private lookupSeparator;
|
|
2613
2729
|
private normalizeLookupText;
|
|
2614
2730
|
private firstDefined;
|
|
2731
|
+
private lookupSubtitleText;
|
|
2732
|
+
private uniqueLookupKeys;
|
|
2615
2733
|
private equalsOptionValue;
|
|
2734
|
+
private resolveLookupIdentity;
|
|
2735
|
+
private isPrimitiveLookupValue;
|
|
2616
2736
|
private asRecord;
|
|
2737
|
+
private lookupOptionSource;
|
|
2738
|
+
private resolveDetailHref;
|
|
2739
|
+
private resolveDetailRoute;
|
|
2740
|
+
private applyLookupTemplate;
|
|
2617
2741
|
private resolveFieldLabelFromMetadata;
|
|
2618
2742
|
private currentSearchTerm;
|
|
2619
2743
|
private applyStaticOptionsFilter;
|
|
@@ -5484,6 +5608,8 @@ declare class PdxYearInputComponent extends SimpleBaseInputComponent {
|
|
|
5484
5608
|
/** Metadata for TextInputComponent */
|
|
5485
5609
|
declare const PDX_TEXT_INPUT_COMPONENT_METADATA: ComponentDocMeta;
|
|
5486
5610
|
|
|
5611
|
+
declare const PDX_EDITABLE_COLLECTION_COMPONENT_METADATA: ComponentDocMeta;
|
|
5612
|
+
|
|
5487
5613
|
/** Metadata for NumberInputComponent */
|
|
5488
5614
|
declare const PDX_NUMBER_INPUT_COMPONENT_METADATA: ComponentDocMeta;
|
|
5489
5615
|
|
|
@@ -5632,367 +5758,6 @@ declare const PDX_YEAR_INPUT_COMPONENT_METADATA: ComponentDocMeta;
|
|
|
5632
5758
|
|
|
5633
5759
|
declare const PDX_FIELD_SHELL_COMPONENT_METADATA: ComponentDocMeta;
|
|
5634
5760
|
|
|
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
5761
|
declare class DateUtilsService {
|
|
5997
5762
|
/**
|
|
5998
5763
|
* Parses different date representations into a `Date` object.
|
|
@@ -6403,6 +6168,10 @@ declare const DISPLAY_ACTION_AI_CAPABILITIES: CapabilityCatalog;
|
|
|
6403
6168
|
|
|
6404
6169
|
declare const YEAR_INPUT_AI_CAPABILITIES: CapabilityCatalog;
|
|
6405
6170
|
|
|
6171
|
+
declare const PRAXIS_DYNAMIC_FIELDS_AUTHORING_MANIFEST: ComponentAuthoringManifest;
|
|
6172
|
+
|
|
6173
|
+
declare const PRAXIS_DYNAMIC_FIELDS_AUTHORING_PROFILES: ManifestControlProfile[];
|
|
6174
|
+
|
|
6406
6175
|
/**
|
|
6407
6176
|
* @fileoverview Custom Error State Matcher for Praxis Dynamic Fields
|
|
6408
6177
|
*
|
|
@@ -6659,5 +6428,5 @@ declare function normalizeFormMetadata(input: FieldMetadata[] | JsonSchema): Fie
|
|
|
6659
6428
|
declare const CLEAR_BUTTON_CONTROL_TYPES: Set<string>;
|
|
6660
6429
|
declare function supportsClearButtonControlType(controlType?: string | null): boolean;
|
|
6661
6430
|
|
|
6662
|
-
export {
|
|
6663
|
-
export type {
|
|
6431
|
+
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, 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_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 };
|
|
6432
|
+
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 };
|