@praxisui/dynamic-fields 8.0.0-beta.0 → 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/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';
@@ -249,6 +249,7 @@ interface PraxisDynamicFieldsI18nOverrides {
249
249
  loading?: PraxisDynamicFieldText;
250
250
  loadMore?: PraxisDynamicFieldText;
251
251
  endOfList?: PraxisDynamicFieldText;
252
+ noOptionsAvailable?: PraxisDynamicFieldText;
252
253
  loadingOptionsAriaLabel?: PraxisDynamicFieldText;
253
254
  };
254
255
  tree?: {
@@ -738,8 +739,9 @@ interface BasicButtonState {
738
739
  error: Error | null;
739
740
  }
740
741
  interface ButtonAction {
741
- type: 'navigation' | 'external-link' | 'custom' | 'form-action';
742
+ type: 'navigation' | 'external-link' | 'global' | 'custom' | 'form-action';
742
743
  target?: string;
744
+ globalAction?: GlobalActionRef;
743
745
  payload?: any;
744
746
  confirmation?: {
745
747
  title: string;
@@ -755,6 +757,7 @@ declare abstract class SimpleBaseButtonComponent implements OnInit, OnDestroy, B
755
757
  protected readonly cdr: ChangeDetectorRef;
756
758
  protected readonly router: Router;
757
759
  protected readonly dialog: MatDialog;
760
+ protected readonly globalActions: GlobalActionService | null;
758
761
  protected readonly i18n: PraxisI18nService;
759
762
  protected readonly dynamicFieldsI18n: PraxisDynamicFieldsI18nOverrides | null;
760
763
  /** Subject para eventos de lifecycle */
@@ -945,6 +948,7 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
945
948
  readonly resourcePath: _angular_core.WritableSignal<string | null>;
946
949
  /** Canonical source for derived options */
947
950
  readonly optionSource: _angular_core.WritableSignal<OptionSourceMetadata | null>;
951
+ readonly useOptionsFilterEndpoint: _angular_core.WritableSignal<boolean>;
948
952
  /** Criteria applied to backend filtering */
949
953
  readonly filterCriteria: _angular_core.WritableSignal<Record<string, any>>;
950
954
  /** Field used for option labels when loading from backend */
@@ -972,6 +976,11 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
972
976
  readonly optionsLoaded: _angular_core.OutputEmitterRef<SelectOption<T>[]>;
973
977
  readonly openedChange: _angular_core.OutputEmitterRef<boolean>;
974
978
  protected matSelect: MatSelect | null;
979
+ private panelClassCacheSignature;
980
+ private panelClassCache;
981
+ private remoteOptionsLoadTimer;
982
+ private remoteOptionsLoadSignature;
983
+ private remoteOptionsLoadDestroyHookRegistered;
975
984
  protected readonly global: GlobalConfigService;
976
985
  private dependencySub;
977
986
  private remoteSelectionHydrationSub;
@@ -986,6 +995,7 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
986
995
  * Applies typed metadata to the select component.
987
996
  */
988
997
  setSelectMetadata(metadata: SimpleSelectMetadata<T>): void;
998
+ private scheduleRemoteOptionsLoad;
989
999
  protected setMetadata(metadata: ComponentMetadata): void;
990
1000
  protected registerMatSelect(select: MatSelect): void;
991
1001
  protected applySelectAttributes(): void;
@@ -1034,6 +1044,7 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
1034
1044
  loadingOptionsLabel(): string;
1035
1045
  loadMoreOptionsLabel(): string;
1036
1046
  endOfOptionsLabel(): string;
1047
+ noOptionsAvailableLabel(): string;
1037
1048
  loadingOptionsAriaLabel(): string;
1038
1049
  /**
1039
1050
  * Ícone para estado "selecionado" em opções do painel.
@@ -1098,6 +1109,7 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
1098
1109
  protected resolveInlineContextTooltipValue(): string;
1099
1110
  /** Configures the CRUD service with the given resource path */
1100
1111
  protected configureCrudService(path: string): void;
1112
+ private isOptionsFilterEndpoint;
1101
1113
  private resolveSelectedOptionLabel;
1102
1114
  private areSelectValuesEqual;
1103
1115
  /**
@@ -1551,7 +1563,6 @@ declare class DynamicFieldLoaderDirective implements OnInit, OnDestroy, OnChange
1551
1563
  }
1552
1564
 
1553
1565
  declare class MaterialButtonComponent extends SimpleBaseButtonComponent implements OnDestroy {
1554
- private readonly actionResolver;
1555
1566
  private readonly keyboardService;
1556
1567
  private unregisterShortcut?;
1557
1568
  /** Estado adicional específico do Material Button */
@@ -1625,6 +1636,50 @@ declare class ConfirmDialogComponent {
1625
1636
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ConfirmDialogComponent, "pdx-confirm-dialog", never, {}, {}, never, never, true, never>;
1626
1637
  }
1627
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
+
1628
1683
  declare class TextInputComponent extends SimpleBaseInputComponent {
1629
1684
  readonly validationChange: _angular_core.OutputEmitterRef<ValidationErrors | null>;
1630
1685
  readonlyMode: boolean;
@@ -2321,6 +2376,7 @@ interface SearchableSelectMetadata {
2321
2376
  selectAll?: boolean;
2322
2377
  maxSelections?: number;
2323
2378
  resourcePath?: string;
2379
+ optionSource?: OptionSourceMetadata;
2324
2380
  filterCriteria?: Record<string, unknown>;
2325
2381
  optionLabelKey?: string;
2326
2382
  optionValueKey?: string;
@@ -2393,6 +2449,13 @@ declare class InlineSearchableSelectComponent extends MaterialSearchableSelectCo
2393
2449
 
2394
2450
  type LoadStrategy = 'open' | 'init' | 'none';
2395
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
+ };
2396
2459
  interface AsyncSelectMetadata {
2397
2460
  selectOptions?: Array<{
2398
2461
  label?: string;
@@ -2455,6 +2518,11 @@ declare class MaterialAsyncSelectComponent extends SimpleBaseSelectComponent {
2455
2518
  protected onDependenciesChanged(): void;
2456
2519
  private missingOptionLabel;
2457
2520
  private loadOptionsErrorLabel;
2521
+ protected mapRemoteOption(option: AsyncOption): AsyncRenderedOption;
2522
+ protected resolveRemoteOptionValue(option: AsyncOption): unknown;
2523
+ protected resolveRemoteOptionDisabled(option: AsyncOption): boolean;
2524
+ private areRemoteOptionValuesEqual;
2525
+ private normalizeRemoteOptionValue;
2458
2526
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialAsyncSelectComponent, never>;
2459
2527
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialAsyncSelectComponent, "pdx-material-async-select", never, { "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; }, {}, never, never, true, never>;
2460
2528
  }
@@ -2526,6 +2594,38 @@ type LookupOption = {
2526
2594
  value: unknown;
2527
2595
  disabled?: boolean;
2528
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
+ }
2529
2629
  interface LookupClearButtonConfig {
2530
2630
  enabled?: boolean;
2531
2631
  ariaLabel?: string;
@@ -2539,14 +2639,7 @@ interface LookupAutoSizeConfig {
2539
2639
  interface LookupMaterialDesignConfig {
2540
2640
  density?: string;
2541
2641
  }
2542
- type EntityLookupMetadata = MaterialSelectMetadata & {
2543
- lookupIdKey?: string;
2544
- lookupLabelKey?: string;
2545
- lookupSubtitleKey?: string;
2546
- lookupSeparator?: string;
2547
- searchPlaceholder?: string;
2548
- resetLabel?: string;
2549
- ariaLabel?: string;
2642
+ type EntityLookupMetadata = MaterialEntityLookupMetadata & {
2550
2643
  optionLabelKey?: string;
2551
2644
  optionValueKey?: string;
2552
2645
  clearButton?: LookupClearButtonConfig | false | null;
@@ -2569,8 +2662,35 @@ declare class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
2569
2662
  hasSelection(): boolean;
2570
2663
  selectedCount(): number;
2571
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;
2572
2691
  optionPrimaryText(option: LookupOption): string;
2573
2692
  optionSecondaryText(option: LookupOption): string;
2693
+ protected resolveRemoteOptionValue(option: OptionDTO<string | number>): EntityLookupRemoteValue;
2574
2694
  resetOptionText(): string;
2575
2695
  showQuickClear(): boolean;
2576
2696
  onResetOptionClick(event: MouseEvent): void;
@@ -2590,17 +2710,34 @@ declare class InlineEntityLookupComponent extends MaterialAsyncSelectComponent {
2590
2710
  panelResetIconColor(): string | undefined;
2591
2711
  ariaLabel(): string;
2592
2712
  private resolveLookupText;
2713
+ private lookupViewFromValue;
2593
2714
  private resolveLookupData;
2594
2715
  private buildLookupPrimaryText;
2595
2716
  private fallbackLookupText;
2596
2717
  private lookupIdKey;
2718
+ private lookupIdKeys;
2597
2719
  private lookupLabelKey;
2720
+ private lookupCodeKeys;
2721
+ private lookupLabelKeys;
2598
2722
  private lookupSubtitleKey;
2723
+ private lookupSubtitleKeys;
2724
+ private lookupStatusKeys;
2725
+ private resolveLookupSelectable;
2726
+ private lookupBadges;
2727
+ private resolveStatusTone;
2599
2728
  private lookupSeparator;
2600
2729
  private normalizeLookupText;
2601
2730
  private firstDefined;
2731
+ private lookupSubtitleText;
2732
+ private uniqueLookupKeys;
2602
2733
  private equalsOptionValue;
2734
+ private resolveLookupIdentity;
2735
+ private isPrimitiveLookupValue;
2603
2736
  private asRecord;
2737
+ private lookupOptionSource;
2738
+ private resolveDetailHref;
2739
+ private resolveDetailRoute;
2740
+ private applyLookupTemplate;
2604
2741
  private resolveFieldLabelFromMetadata;
2605
2742
  private currentSearchTerm;
2606
2743
  private applyStaticOptionsFilter;
@@ -5381,12 +5518,17 @@ declare class PdxMaterialRangeSliderComponent extends SimpleBaseInputComponent i
5381
5518
  * Overrides writeValue to handle both single and range modes.
5382
5519
  */
5383
5520
  writeValue(value: unknown): void;
5521
+ setExternalControl(control: AbstractControl): void;
5522
+ setInputMetadata(metadata: MaterialRangeSliderMetadata): void;
5384
5523
  /**
5385
5524
  * Sets the component metadata and re-initializes validators.
5386
5525
  * @param metadata The metadata for the component.
5387
5526
  */
5388
5527
  setSliderMetadata(metadata: MaterialRangeSliderMetadata): void;
5528
+ protected setMetadata(metadata: MaterialRangeSliderMetadata): void;
5389
5529
  protected getSpecificCssClasses(): string[];
5530
+ private syncRangeGroupFromControlValue;
5531
+ private isRangeSliderValue;
5390
5532
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<PdxMaterialRangeSliderComponent, never>;
5391
5533
  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>;
5392
5534
  }
@@ -5466,6 +5608,8 @@ declare class PdxYearInputComponent extends SimpleBaseInputComponent {
5466
5608
  /** Metadata for TextInputComponent */
5467
5609
  declare const PDX_TEXT_INPUT_COMPONENT_METADATA: ComponentDocMeta;
5468
5610
 
5611
+ declare const PDX_EDITABLE_COLLECTION_COMPONENT_METADATA: ComponentDocMeta;
5612
+
5469
5613
  /** Metadata for NumberInputComponent */
5470
5614
  declare const PDX_NUMBER_INPUT_COMPONENT_METADATA: ComponentDocMeta;
5471
5615
 
@@ -5614,367 +5758,6 @@ declare const PDX_YEAR_INPUT_COMPONENT_METADATA: ComponentDocMeta;
5614
5758
 
5615
5759
  declare const PDX_FIELD_SHELL_COMPONENT_METADATA: ComponentDocMeta;
5616
5760
 
5617
- /**
5618
- * Context object passed to action handlers containing all relevant data
5619
- * about the component state and form context when an action is executed.
5620
- *
5621
- * This interface provides maximum flexibility for action handlers to access
5622
- * both component-specific data and broader form/application context.
5623
- *
5624
- * @example Basic usage in action handler
5625
- * ```typescript
5626
- * this.registerAction('customAction', async (context: ActionContext) => {
5627
- * console.log('Field:', context.fieldName);
5628
- * console.log('Value:', context.fieldValue);
5629
- * console.log('Metadata:', context.metadata);
5630
- * return { success: true, data: 'Action completed' };
5631
- * });
5632
- * ```
5633
- *
5634
- * @example Using actionParam for parameterized actions
5635
- * ```typescript
5636
- * // Metadata configuration: action: "navigate:/dashboard"
5637
- * this.registerAction('navigate', async (context: ActionContext) => {
5638
- * const url = context.actionParam; // "/dashboard"
5639
- * await this.router.navigate([url]);
5640
- * return { success: true };
5641
- * });
5642
- * ```
5643
- */
5644
- interface ActionContext {
5645
- /**
5646
- * Name/identifier of the field that triggered the action.
5647
- *
5648
- * Useful for:
5649
- * - Logging and debugging
5650
- * - Field-specific business logic
5651
- * - Form validation context
5652
- *
5653
- * @example "email", "firstName", "submitButton"
5654
- */
5655
- fieldName?: string;
5656
- /**
5657
- * Current value of the field that triggered the action.
5658
- *
5659
- * For different field types:
5660
- * - Input fields: string value
5661
- * - Checkboxes: boolean
5662
- * - Select: selected option value
5663
- * - Buttons: typically undefined
5664
- *
5665
- * @example "john@example.com", true, ["option1", "option2"]
5666
- */
5667
- fieldValue?: any;
5668
- /**
5669
- * Complete metadata configuration object for the field.
5670
- *
5671
- * Contains all field configuration including:
5672
- * - Label, placeholder, validation rules
5673
- * - UI configuration (appearance, icons, etc.)
5674
- * - Custom properties specific to the field
5675
- *
5676
- * @example MaterialButtonMetadata, MaterialInputMetadata, etc.
5677
- */
5678
- metadata?: any;
5679
- /**
5680
- * Complete form data object containing all field values.
5681
- *
5682
- * Useful for:
5683
- * - Cross-field validation
5684
- * - Conditional logic based on other fields
5685
- * - Form-wide operations
5686
- *
5687
- * @example { email: "user@example.com", name: "John", age: 30 }
5688
- */
5689
- formData?: any;
5690
- /**
5691
- * Reference to the Angular component instance that triggered the action.
5692
- *
5693
- * Provides access to:
5694
- * - Component methods and properties
5695
- * - ElementRef for DOM manipulation
5696
- * - Angular lifecycle and services
5697
- *
5698
- * @example MaterialButtonComponent, MaterialInputComponent instances
5699
- */
5700
- componentInstance?: any;
5701
- /**
5702
- * Parameter extracted from action reference after colon separator.
5703
- *
5704
- * When action is defined as "actionName:parameter", this contains the parameter part.
5705
- * Enables parameterized actions without separate configuration.
5706
- *
5707
- * @example
5708
- * - Action: "navigate:/dashboard" → actionParam: "/dashboard"
5709
- * - Action: "showAlert:Data saved successfully" → actionParam: "Data saved successfully"
5710
- * - Action: "download:https://example.com/file.pdf" → actionParam: "https://example.com/file.pdf"
5711
- */
5712
- actionParam?: string;
5713
- }
5714
- /**
5715
- * Result object returned by action handlers indicating success/failure
5716
- * and any associated data or error information.
5717
- *
5718
- * Provides a standardized way for action handlers to communicate results
5719
- * back to the calling component for appropriate user feedback.
5720
- *
5721
- * @example Successful action result
5722
- * ```typescript
5723
- * return {
5724
- * success: true,
5725
- * data: 'Form submitted successfully',
5726
- * redirect: '/dashboard'
5727
- * };
5728
- * ```
5729
- *
5730
- * @example Failed action result
5731
- * ```typescript
5732
- * return {
5733
- * success: false,
5734
- * error: 'Validation failed: Email is required'
5735
- * };
5736
- * ```
5737
- */
5738
- interface ActionResult {
5739
- /**
5740
- * Indicates whether the action completed successfully.
5741
- *
5742
- * - true: Action completed without errors
5743
- * - false: Action failed or encountered an error
5744
- *
5745
- * Used by components to determine appropriate user feedback
5746
- * (success message, error display, etc.)
5747
- */
5748
- success: boolean;
5749
- /**
5750
- * Optional data returned by successful actions.
5751
- *
5752
- * Can contain:
5753
- * - Success messages for user display
5754
- * - Result data from API calls
5755
- * - State information for further processing
5756
- * - Any serializable data relevant to the action
5757
- *
5758
- * @example "Form submitted", { userId: 123 }, ["item1", "item2"]
5759
- */
5760
- data?: any;
5761
- /**
5762
- * Error message when action fails (success = false).
5763
- *
5764
- * Should contain:
5765
- * - User-friendly error descriptions
5766
- * - Validation error messages
5767
- * - Technical error details (for logging)
5768
- *
5769
- * Displayed to users or logged for debugging purposes.
5770
- *
5771
- * @example "Network error occurred", "Invalid email format", "Access denied"
5772
- */
5773
- error?: string;
5774
- /**
5775
- * Optional URL for automatic navigation after action completion.
5776
- *
5777
- * When provided, the calling component may automatically redirect
5778
- * the user to this URL after the action succeeds.
5779
- *
5780
- * Useful for:
5781
- * - Post-submit redirects
5782
- * - Workflow navigation
5783
- * - Success page redirection
5784
- *
5785
- * @example "/dashboard", "/success", "https://external-site.com"
5786
- */
5787
- redirect?: string;
5788
- }
5789
- /**
5790
- * Function signature for action handlers that can be registered with the ActionResolverService.
5791
- *
5792
- * Action handlers receive an ActionContext with all relevant component and form data,
5793
- * and must return an ActionResult indicating success/failure.
5794
- *
5795
- * Handlers can be either synchronous or asynchronous to support both immediate
5796
- * operations and API calls/complex processing.
5797
- *
5798
- * @example Synchronous action handler
5799
- * ```typescript
5800
- * const logHandler: ActionHandler = (context) => {
5801
- * console.log('Field value:', context.fieldValue);
5802
- * return { success: true, data: 'Logged successfully' };
5803
- * };
5804
- * ```
5805
- *
5806
- * @example Asynchronous action handler
5807
- * ```typescript
5808
- * const saveHandler: ActionHandler = async (context) => {
5809
- * try {
5810
- * await apiService.saveData(context.formData);
5811
- * return { success: true, data: 'Data saved' };
5812
- * } catch (error) {
5813
- * return { success: false, error: 'Save failed' };
5814
- * }
5815
- * };
5816
- * ```
5817
- *
5818
- * @param context - Complete action execution context
5819
- * @returns Promise<ActionResult> or ActionResult indicating success/failure
5820
- */
5821
- type ActionHandler = (context: ActionContext) => Promise<ActionResult> | ActionResult;
5822
- declare class ActionResolverService {
5823
- private readonly router;
5824
- private readonly http;
5825
- private readonly dialog;
5826
- private readonly actionRegistry;
5827
- private parseActionPayload;
5828
- private getJsonValue;
5829
- private resolveDialogPayload;
5830
- private splitActionRef;
5831
- constructor();
5832
- /**
5833
- * Registra ações relacionadas a diálogos (unificado PraxisDialog)
5834
- */
5835
- private registerDialogActions;
5836
- /**
5837
- * Registra uma nova ação
5838
- */
5839
- registerAction(actionName: string, handler: ActionHandler): void;
5840
- /**
5841
- * Remove uma ação registrada
5842
- */
5843
- unregisterAction(actionName: string): void;
5844
- /**
5845
- * Executa uma ação por nome
5846
- */
5847
- executeAction(actionRef: string, context?: ActionContext): Promise<ActionResult>;
5848
- /**
5849
- * Lista todas as ações registradas
5850
- */
5851
- getRegisteredActions(): string[];
5852
- /**
5853
- * Verifica se uma ação existe
5854
- */
5855
- hasAction(actionName: string): boolean;
5856
- /**
5857
- * Registra ações built-in (pré-definidas) do sistema ActionResolverService.
5858
- *
5859
- * Este método é chamado automaticamente no constructor e registra um conjunto
5860
- * de ações comuns úteis para aplicações corporativas, eliminando a necessidade
5861
- * de implementar essas funcionalidades básicas repetidamente.
5862
- *
5863
- * Todas as ações built-in seguem padrões corporativos de:
5864
- * - ✅ Tratamento de erros robusto
5865
- * - ✅ Logging consistente para auditoria
5866
- * - ✅ Mensagens user-friendly
5867
- * - ✅ Segurança (noopener, noreferrer)
5868
- * - ✅ Compatibilidade cross-browser
5869
- *
5870
- * ## 📋 Ações Disponíveis
5871
- *
5872
- * ### 📝 Formulários
5873
- * - **submitForm**: Submete o formulário pai do componente
5874
- * - **resetForm**: Reseta todos os campos do formulário pai
5875
- *
5876
- * ### 🧭 Navegação
5877
- * - **navigate**: Navegação interna via Angular Router ou externa via window.location
5878
- * - **openUrl**: Abre URL em nova aba com segurança (noopener, noreferrer)
5879
- *
5880
- * ### 📥 Downloads e Dados
5881
- * - **download**: Inicia download de arquivo via URL
5882
- * - **copyToClipboard**: Copia texto para área de transferência
5883
- *
5884
- * ### 🔔 Interface e Feedback
5885
- * - **showAlert**: Exibe alerta nativo do navegador
5886
- * - **log**: Registra mensagem no console para debugging
5887
- *
5888
- * ## 🎯 Uso no Metadata
5889
- *
5890
- * ```typescript
5891
- * // Ação simples
5892
- * const submitButton: MaterialButtonMetadata = {
5893
- * name: 'submit',
5894
- * label: 'Enviar',
5895
- * controlType: 'button',
5896
- * action: 'submitForm' // ← Ação built-in
5897
- * };
5898
- *
5899
- * // Ação com parâmetro
5900
- * const linkButton: MaterialButtonMetadata = {
5901
- * name: 'dashboard',
5902
- * label: 'Dashboard',
5903
- * controlType: 'button',
5904
- * action: 'navigate:/dashboard' // ← Parâmetro após ':'
5905
- * };
5906
- *
5907
- * // Ação de download
5908
- * const downloadButton: MaterialButtonMetadata = {
5909
- * name: 'download',
5910
- * label: 'Download PDF',
5911
- * controlType: 'button',
5912
- * action: 'download:https://example.com/report.pdf'
5913
- * };
5914
- * ```
5915
- *
5916
- * ## ⚠️ Notas Importantes
5917
- *
5918
- * - Ações são **case-sensitive**: use exatamente como documentado
5919
- * - Parâmetros são opcionais: ações funcionam com/sem parâmetros
5920
- * - Tratamento de erro: todas as ações retornam ActionResult padronizado
5921
- * - Logging: ações importantes são logadas automaticamente para auditoria
5922
- * - Segurança: URLs externas usam 'noopener,noreferrer' por padrão
5923
- *
5924
- * @private
5925
- * @see ActionContext - Interface de contexto passada para todas as ações
5926
- * @see ActionResult - Interface de resultado retornada por todas as ações
5927
- * @see ActionHandler - Tipo de função para implementar ações customizadas
5928
- */
5929
- private registerBuiltInActions;
5930
- /**
5931
- * Encontra o elemento <form> pai de um componente Angular.
5932
- *
5933
- * Percorre a árvore DOM a partir do elemento do componente até encontrar
5934
- * um elemento <form> pai ou chegar ao document.body.
5935
- *
5936
- * Usado pelas ações submitForm e resetForm para localizar o formulário
5937
- * que contém o componente que disparou a ação.
5938
- *
5939
- * @param componentInstance - Instância do componente Angular
5940
- * @returns HTMLFormElement se encontrado, null caso contrário
5941
- *
5942
- * @example Estrutura HTML típica
5943
- * ```html
5944
- * <form>
5945
- * <mat-form-field>
5946
- * <input matInput>
5947
- * </mat-form-field>
5948
- * <pdx-material-button action="submitForm">Submit</pdx-material-button>
5949
- * </form>
5950
- * ```
5951
- *
5952
- * @private
5953
- */
5954
- private findParentForm;
5955
- /**
5956
- * Registra ações de estado e validação de formulários.
5957
- * Chamado durante a inicialização do serviço.
5958
- */
5959
- private registerStateValidationActions;
5960
- /**
5961
- * Registra ações de API e manipulação de dados.
5962
- * Chamado durante a inicialização do serviço.
5963
- */
5964
- private registerApiDataActions;
5965
- /**
5966
- * Limpa drafts antigos do localStorage para evitar quota exceeded.
5967
- *
5968
- * Remove drafts com mais de 7 dias ou que estejam malformados.
5969
- * Chamado automaticamente antes de salvar novos drafts.
5970
- *
5971
- * @private
5972
- */
5973
- private cleanupOldDrafts;
5974
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<ActionResolverService, never>;
5975
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<ActionResolverService>;
5976
- }
5977
-
5978
5761
  declare class DateUtilsService {
5979
5762
  /**
5980
5763
  * Parses different date representations into a `Date` object.
@@ -6385,6 +6168,10 @@ declare const DISPLAY_ACTION_AI_CAPABILITIES: CapabilityCatalog;
6385
6168
 
6386
6169
  declare const YEAR_INPUT_AI_CAPABILITIES: CapabilityCatalog;
6387
6170
 
6171
+ declare const PRAXIS_DYNAMIC_FIELDS_AUTHORING_MANIFEST: ComponentAuthoringManifest;
6172
+
6173
+ declare const PRAXIS_DYNAMIC_FIELDS_AUTHORING_PROFILES: ManifestControlProfile[];
6174
+
6388
6175
  /**
6389
6176
  * @fileoverview Custom Error State Matcher for Praxis Dynamic Fields
6390
6177
  *
@@ -6411,9 +6198,6 @@ declare class PraxisErrorStateMatcher implements ErrorStateMatcher {
6411
6198
  */
6412
6199
  isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean;
6413
6200
  }
6414
- /**
6415
- * Factory function to create ErrorStateMatcher instances based on strategy
6416
- */
6417
6201
  declare function createErrorStateMatcher(strategy?: ErrorStateStrategy): ErrorStateMatcher;
6418
6202
  /**
6419
6203
  * Determines the appropriate error state strategy based on component context
@@ -6644,5 +6428,5 @@ declare function normalizeFormMetadata(input: FieldMetadata[] | JsonSchema): Fie
6644
6428
  declare const CLEAR_BUTTON_CONTROL_TYPES: Set<string>;
6645
6429
  declare function supportsClearButtonControlType(controlType?: string | null): boolean;
6646
6430
 
6647
- export { ActionResolverService, 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, 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_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_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 };
6648
- export type { ActionContext, ActionHandler, ActionResult, 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 };
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 };