@praxisui/dynamic-fields 3.0.0-beta.0 → 3.0.0-beta.2

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
@@ -2,7 +2,7 @@ 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
3
  import { AbstractControl, ControlValueAccessor, NgControl, ValidationErrors, FormControl, FormGroup, FormGroupDirective, NgForm } from '@angular/forms';
4
4
  import { Observable, BehaviorSubject } from 'rxjs';
5
- import { ComponentMetadata, PraxisTextValue, PraxisI18nDictionary, PraxisI18nConfig, PraxisI18nMessageDescriptor, PraxisI18nService, GenericCrudService, GlobalConfigService, OptionDTO, FieldMetadata, MaterialButtonMetadata, MaterialInputMetadata, MaterialColorInputMetadata, MaterialDateInputMetadata, MaterialDatepickerMetadata, MaterialDateRangeMetadata, DateRangePreset, DateRangeValue, MaterialDatetimeLocalInputMetadata, MaterialEmailInputMetadata, MaterialTextareaMetadata, MaterialNumericMetadata, MaterialCurrencyMetadata, MaterialCpfCnpjMetadata, MaterialPriceRangeMetadata, MaterialMonthInputMetadata, MaterialPasswordMetadata, MaterialSearchInputMetadata, MaterialSelectMetadata, MaterialAutocompleteMetadata, MaterialToggleMetadata, MaterialRangeSliderMetadata, MaterialTimepickerMetadata, MaterialTimeRangeMetadata, MaterialTreeNode, MaterialTreeSelectMetadata, MaterialMultiSelectTreeMetadata, MaterialSliderMetadata, MaterialPhoneMetadata, MaterialTimeInputMetadata, MaterialUrlInputMetadata, MaterialWeekInputMetadata, MaterialColorPickerMetadata, MaterialYearInputMetadata, ComponentDocMeta, FieldControlType, CapabilityCatalog } from '@praxisui/core';
5
+ import { ComponentMetadata, PraxisTextValue, PraxisI18nDictionary, PraxisI18nConfig, PraxisI18nMessageDescriptor, PraxisI18nService, OptionSourceMetadata, GenericCrudService, GlobalConfigService, OptionDTO, 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, MaterialSliderMetadata, MaterialPhoneMetadata, MaterialTimeInputMetadata, MaterialUrlInputMetadata, MaterialWeekInputMetadata, MaterialColorPickerMetadata, MaterialYearInputMetadata, ComponentDocMeta, CapabilityCatalog } 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';
@@ -896,6 +896,8 @@ interface SimpleSelectMetadata<T = any> extends ComponentMetadata {
896
896
  loadOn?: 'open' | 'init' | 'none';
897
897
  /** Backend resource for dynamic options */
898
898
  resourcePath?: string;
899
+ /** Canonical metadata-driven source for derived options */
900
+ optionSource?: OptionSourceMetadata;
899
901
  /** Additional filter criteria for backend requests */
900
902
  filterCriteria?: Record<string, any>;
901
903
  /** Key for option label when loading from backend */
@@ -933,6 +935,8 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
933
935
  readonly maxSelections: _angular_core.WritableSignal<number | null>;
934
936
  /** Backend resource path for dynamic option loading */
935
937
  readonly resourcePath: _angular_core.WritableSignal<string | null>;
938
+ /** Canonical source for derived options */
939
+ readonly optionSource: _angular_core.WritableSignal<OptionSourceMetadata | null>;
936
940
  /** Criteria applied to backend filtering */
937
941
  readonly filterCriteria: _angular_core.WritableSignal<Record<string, any>>;
938
942
  /** Field used for option labels when loading from backend */
@@ -1087,6 +1091,7 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
1087
1091
  protected loadSchema(resolveLabel: boolean, resolveValue: boolean): void;
1088
1092
  /** Loads options from backend using GenericCrudService */
1089
1093
  protected loadOptions(page?: number, searchTerm?: string, criteria?: Record<string, any>): void;
1094
+ private currentIncludeIds;
1090
1095
  /** Dev-only warning when legacy alias keys are used instead of canonical ones */
1091
1096
  protected devWarnSelectAliases(meta: any, component?: string): void;
1092
1097
  /** Public API to reload options; overridden by async/searchable variants */
@@ -2372,11 +2377,13 @@ interface AsyncSelectMetadata {
2372
2377
  }>;
2373
2378
  useCursor?: boolean;
2374
2379
  multiple?: boolean;
2380
+ searchable?: boolean;
2375
2381
  selectAll?: boolean;
2376
2382
  maxSelections?: number | null;
2377
2383
  emptyOptionText?: string | null;
2378
2384
  loadOn?: LoadStrategy;
2379
2385
  resourcePath?: string;
2386
+ optionSource?: OptionSourceMetadata;
2380
2387
  filterCriteria?: Record<string, unknown>;
2381
2388
  optionLabelKey?: string;
2382
2389
  optionValueKey?: string;
@@ -2398,6 +2405,7 @@ declare class MaterialAsyncSelectComponent extends SimpleBaseSelectComponent {
2398
2405
  private cursorPageIndex;
2399
2406
  private dataVersion?;
2400
2407
  private useCursor;
2408
+ private isCategoricalBucketOptionSource;
2401
2409
  setSelectMetadata(metadata: AsyncSelectMetadata): void;
2402
2410
  errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
2403
2411
  searchInputAriaLabel(): string;
@@ -2767,7 +2775,12 @@ declare class InlineNumberComponent extends SimpleBaseInputComponent {
2767
2775
  onViewportResize(): void;
2768
2776
  protected getSpecificCssClasses(): string[];
2769
2777
  leadingIconName(): string;
2778
+ showPercentGraphicMode(): boolean;
2770
2779
  showPercentSuffix(): boolean;
2780
+ percentDisplayText(): string;
2781
+ percentRangeText(): string;
2782
+ percentAngle(): number;
2783
+ percentFillWidth(): number;
2771
2784
  effectiveMinValue(): number | null;
2772
2785
  effectiveMaxValue(): number | null;
2773
2786
  effectiveStepValue(): number | null;
@@ -2794,6 +2807,10 @@ declare class InlineNumberComponent extends SimpleBaseInputComponent {
2794
2807
  private resolveEffectiveMax;
2795
2808
  private resolveEffectiveStep;
2796
2809
  private defaultFieldLabel;
2810
+ private currentNumericValue;
2811
+ private percentRatio;
2812
+ private formatCompactNumber;
2813
+ private longestMeasureCandidate;
2797
2814
  private isPercentFormat;
2798
2815
  private resolveNonEmptyString;
2799
2816
  private resolveFieldLabelFromMetadata;
@@ -3161,6 +3178,105 @@ declare class InlineRangeSliderComponent extends SimpleBaseInputComponent {
3161
3178
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<InlineRangeSliderComponent, "pdx-inline-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>;
3162
3179
  }
3163
3180
 
3181
+ type PeriodRangeState = {
3182
+ values: string[];
3183
+ indexByValue: Map<string, number>;
3184
+ };
3185
+ declare class InlinePeriodRangeComponent extends SimpleBaseInputComponent {
3186
+ private innerComponent?;
3187
+ readonlyMode: boolean;
3188
+ disabledMode: boolean;
3189
+ visible: boolean;
3190
+ presentationMode: boolean;
3191
+ readonly sliderControl: FormControl<RangeSliderValue | null>;
3192
+ private syncingFromOuter;
3193
+ private syncingFromInner;
3194
+ readonly periodState: _angular_core.Signal<PeriodRangeState | null>;
3195
+ readonly resolvedMetadata: _angular_core.Signal<MaterialRangeSliderMetadata | null>;
3196
+ ngOnInit(): void;
3197
+ ngAfterViewInit(): void;
3198
+ writeValue(value: any): void;
3199
+ setInputMetadata(metadata: InlinePeriodRangeMetadata): void;
3200
+ protected setMetadata(metadata: InlinePeriodRangeMetadata): void;
3201
+ protected getSpecificCssClasses(): string[];
3202
+ private syncFromOuterValue;
3203
+ private syncFromInnerValue;
3204
+ private toSliderValue;
3205
+ private toOuterValue;
3206
+ private adaptQuickPresets;
3207
+ private formatPeriodLabel;
3208
+ private formatMonthValue;
3209
+ private defaultIcon;
3210
+ private buildPeriods;
3211
+ private buildMonthPeriods;
3212
+ private buildQuarterPeriods;
3213
+ private buildYearPeriods;
3214
+ private parseYearMonth;
3215
+ private parseQuarter;
3216
+ private parseYear;
3217
+ private boundIndex;
3218
+ private syncInnerMetadata;
3219
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<InlinePeriodRangeComponent, never>;
3220
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<InlinePeriodRangeComponent, "pdx-inline-period-range", 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>;
3221
+ }
3222
+
3223
+ type YearRangeMetadata = Omit<MaterialRangeSliderMetadata, 'controlType'> & {
3224
+ controlType: typeof FieldControlType.INLINE_YEAR_RANGE;
3225
+ displayFormat?: 'year' | 'compact-year-range';
3226
+ quickPresetsLabels?: {
3227
+ full?: string;
3228
+ current?: string;
3229
+ previous?: string;
3230
+ recent?: string;
3231
+ };
3232
+ } & Record<string, unknown>;
3233
+ declare class InlineYearRangeComponent extends SimpleBaseInputComponent {
3234
+ private innerComponent?;
3235
+ readonlyMode: boolean;
3236
+ disabledMode: boolean;
3237
+ visible: boolean;
3238
+ presentationMode: boolean;
3239
+ readonly resolvedMetadata: _angular_core.Signal<MaterialRangeSliderMetadata | null>;
3240
+ protected getSpecificCssClasses(): string[];
3241
+ ngAfterViewInit(): void;
3242
+ setInputMetadata(metadata: YearRangeMetadata): void;
3243
+ protected setMetadata(metadata: YearRangeMetadata): void;
3244
+ private syncInnerMetadata;
3245
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<InlineYearRangeComponent, never>;
3246
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<InlineYearRangeComponent, "pdx-inline-year-range", 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>;
3247
+ }
3248
+
3249
+ type MonthRangeMetadata = Omit<MaterialRangeSliderMetadata, 'controlType'> & {
3250
+ controlType: typeof FieldControlType.INLINE_MONTH_RANGE;
3251
+ displayFormat?: 'month' | 'month-short-range';
3252
+ monthLabels?: string[];
3253
+ quickPresetsLabels?: {
3254
+ full?: string;
3255
+ q1?: string;
3256
+ q2?: string;
3257
+ q3?: string;
3258
+ q4?: string;
3259
+ firstHalf?: string;
3260
+ secondHalf?: string;
3261
+ };
3262
+ } & Record<string, unknown>;
3263
+ declare class InlineMonthRangeComponent extends SimpleBaseInputComponent {
3264
+ private innerComponent?;
3265
+ readonlyMode: boolean;
3266
+ disabledMode: boolean;
3267
+ visible: boolean;
3268
+ presentationMode: boolean;
3269
+ readonly resolvedMetadata: _angular_core.Signal<MaterialRangeSliderMetadata | null>;
3270
+ protected getSpecificCssClasses(): string[];
3271
+ ngAfterViewInit(): void;
3272
+ setInputMetadata(metadata: MonthRangeMetadata): void;
3273
+ protected setMetadata(metadata: MonthRangeMetadata): void;
3274
+ private resolveMonthLabels;
3275
+ private syncInnerMetadata;
3276
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<InlineMonthRangeComponent, never>;
3277
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<InlineMonthRangeComponent, "pdx-inline-month-range", 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>;
3278
+ }
3279
+
3164
3280
  declare class InlineDateComponent extends MaterialDatepickerComponent {
3165
3281
  inputEl?: ElementRef<HTMLInputElement>;
3166
3282
  measureEl?: ElementRef<HTMLElement>;
@@ -5303,6 +5419,12 @@ declare const PDX_INLINE_TOGGLE_COMPONENT_METADATA: ComponentDocMeta;
5303
5419
 
5304
5420
  declare const PDX_INLINE_RANGE_SLIDER_COMPONENT_METADATA: ComponentDocMeta;
5305
5421
 
5422
+ declare const PDX_INLINE_PERIOD_RANGE_COMPONENT_METADATA: ComponentDocMeta;
5423
+
5424
+ declare const PDX_INLINE_YEAR_RANGE_COMPONENT_METADATA: ComponentDocMeta;
5425
+
5426
+ declare const PDX_INLINE_MONTH_RANGE_COMPONENT_METADATA: ComponentDocMeta;
5427
+
5306
5428
  declare const PDX_INLINE_DATE_COMPONENT_METADATA: ComponentDocMeta;
5307
5429
 
5308
5430
  declare const PDX_INLINE_DATE_RANGE_COMPONENT_METADATA: ComponentDocMeta;
@@ -6050,6 +6172,80 @@ declare function providePraxisDynamicFieldsNoDefaults(): (Provider | Environment
6050
6172
  */
6051
6173
  declare function providePraxisDynamicFieldsCoreNoDefaults(): Provider[];
6052
6174
 
6175
+ type DynamicFieldCatalogTrack = 'primary-form' | 'inline-filter';
6176
+ type DynamicFieldCatalogFamily = 'text' | 'numbers-range' | 'date-time' | 'selection' | 'trees-lists' | 'toggle-choice' | 'upload-color-visual';
6177
+ type DynamicFieldCatalogStatus = 'stable' | 'preview' | 'experimental' | 'partial-docs';
6178
+ type DynamicFieldDataSourceKind = 'local' | 'remote' | 'mixed' | 'specialized';
6179
+ type DynamicFieldStateKey = 'default' | 'filled' | 'disabled' | 'readonly' | 'error';
6180
+ interface DynamicFieldDocLinks {
6181
+ catalogSlug: string;
6182
+ detailFragment: string;
6183
+ selectionGuideSlug: string;
6184
+ overviewSlug?: string;
6185
+ jsonApiPath?: string;
6186
+ }
6187
+ interface DynamicFieldSnippetRecipe {
6188
+ language: 'ts' | 'json';
6189
+ snippet: string;
6190
+ note?: string;
6191
+ }
6192
+ interface DynamicFieldPreviewStateRecipe {
6193
+ state: DynamicFieldStateKey;
6194
+ label: string;
6195
+ supported: boolean;
6196
+ metadataPatch?: Record<string, unknown>;
6197
+ initialValue?: unknown;
6198
+ errorMessage?: string;
6199
+ note?: string;
6200
+ }
6201
+ interface DynamicFieldPreviewRecipe {
6202
+ recipeId: string;
6203
+ fieldName: string;
6204
+ label: string;
6205
+ description?: string;
6206
+ baseMetadata: Record<string, unknown>;
6207
+ states: DynamicFieldPreviewStateRecipe[];
6208
+ }
6209
+ interface DynamicFieldCatalogEntry {
6210
+ id: string;
6211
+ controlType: FieldControlType | string;
6212
+ track: DynamicFieldCatalogTrack;
6213
+ family: DynamicFieldCatalogFamily;
6214
+ status: DynamicFieldCatalogStatus;
6215
+ friendlyName: string;
6216
+ description: string;
6217
+ tags: string[];
6218
+ keywords: string[];
6219
+ valueShape: string;
6220
+ recommendedWhen: string[];
6221
+ avoidWhen: string[];
6222
+ dataSourceKind: DynamicFieldDataSourceKind;
6223
+ supportsStates: DynamicFieldStateKey[];
6224
+ docs: DynamicFieldDocLinks;
6225
+ previewRecipe: DynamicFieldPreviewRecipe;
6226
+ snippetRecipe: DynamicFieldSnippetRecipe;
6227
+ a11yNotes?: string[];
6228
+ themingNotes?: string[];
6229
+ }
6230
+
6231
+ declare const DYNAMIC_FIELD_DEFAULT_STATE_RECIPE: DynamicFieldPreviewStateRecipe;
6232
+ declare const DYNAMIC_FIELD_FILLED_STATE_RECIPE: DynamicFieldPreviewStateRecipe;
6233
+ declare const DYNAMIC_FIELD_DISABLED_STATE_RECIPE: DynamicFieldPreviewStateRecipe;
6234
+ declare const DYNAMIC_FIELD_READONLY_STATE_RECIPE: DynamicFieldPreviewStateRecipe;
6235
+ declare const DYNAMIC_FIELD_ERROR_STATE_RECIPE: DynamicFieldPreviewStateRecipe;
6236
+ declare const DYNAMIC_FIELD_BASE_STATE_RECIPES: DynamicFieldPreviewStateRecipe[];
6237
+ declare function createDynamicFieldPreviewRecipe(input: {
6238
+ recipeId: string;
6239
+ fieldName: string;
6240
+ label: string;
6241
+ controlType: string;
6242
+ description?: string;
6243
+ metadata?: Record<string, unknown>;
6244
+ states?: DynamicFieldPreviewStateRecipe[];
6245
+ }): DynamicFieldPreviewRecipe;
6246
+
6247
+ declare const DYNAMIC_FIELDS_PLAYGROUND_CATALOG: DynamicFieldCatalogEntry[];
6248
+
6053
6249
  declare const CONTROL_TYPE_AI_CATALOGS: Partial<Record<FieldControlType, CapabilityCatalog>>;
6054
6250
  declare function getControlTypeCatalog(controlType?: FieldControlType | string | null): CapabilityCatalog;
6055
6251
 
@@ -6347,5 +6543,5 @@ declare function normalizeFormMetadata(input: FieldMetadata[] | JsonSchema): Fie
6347
6543
  declare const CLEAR_BUTTON_CONTROL_TYPES: Set<string>;
6348
6544
  declare function supportsClearButtonControlType(controlType?: string | null): boolean;
6349
6545
 
6350
- 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, DateInputComponent, DateUtilsService, DatetimeLocalInputComponent, DynamicFieldLoaderDirective, EmailInputComponent, FILE_UPLOAD_AI_CAPABILITIES, InlineAsyncSelectComponent, InlineAutocompleteComponent, InlineColorLabelComponent, InlineCurrencyComponent, InlineCurrencyRangeComponent, InlineDateComponent, InlineDateRangeComponent, InlineDistanceRadiusComponent, InlineEntityLookupComponent, InlineInputComponent, InlineMultiSelectComponent, InlineNumberComponent, InlinePipelineStatusComponent, InlineRangeSliderComponent, InlineRatingComponent, InlineRelativePeriodComponent, InlineScorePriorityComponent, InlineSearchableSelectComponent, InlineSelectComponent, InlineSentimentComponent, InlineTimeComponent, InlineTimeRangeComponent, InlineToggleComponent, InlineTreeSelectComponent, 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_MULTI_SELECT_COMPONENT_METADATA, PDX_INLINE_NUMBER_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_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_EN_US, PRAXIS_DYNAMIC_FIELDS_I18N, PRAXIS_DYNAMIC_FIELDS_LOGGER_BACKEND, PRAXIS_DYNAMIC_FIELDS_PT_BR, 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, createErrorStateMatcher, createPraxisDynamicFieldsI18nConfig, emitToDynamicFieldsLoggerBackend, enableDebugForComponent, getControlTypeCatalog, getErrorStateMatcherForField, inferErrorStateStrategy, initializeComponentSystem, initializeComponentSystemSync, isBaseDynamicFieldComponent, isLoadingCapableComponent, isValidJsonSchema, isValueBasedComponent, logger, mapJsonSchemaToFields, mapPropertyToFieldMetadata, normalizeFormMetadata, provideMaterialAvatarMetadata, providePraxisDynamicFields, providePraxisDynamicFieldsCore, providePraxisDynamicFieldsCoreNoDefaults, providePraxisDynamicFieldsI18n, providePraxisDynamicFieldsNoDefaults, resolvePraxisDynamicFieldsText, setDynamicFieldsLoggerBackend, silenceComponent, supportsClearButtonControlType };
6351
- export type { ActionContext, ActionHandler, ActionResult, BaseDynamicFieldComponent, BaseValidationConfig, ComponentLifecycleEvent, ComponentLoadResult, ComponentRegistration, ConfirmDialogData, DynamicFieldLoaderRenderErrorEvent, 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 };
6546
+ 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_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_EN_US, PRAXIS_DYNAMIC_FIELDS_I18N, PRAXIS_DYNAMIC_FIELDS_LOGGER_BACKEND, PRAXIS_DYNAMIC_FIELDS_PT_BR, 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, resolvePraxisDynamicFieldsText, setDynamicFieldsLoggerBackend, silenceComponent, supportsClearButtonControlType };
6547
+ export type { ActionContext, ActionHandler, ActionResult, BaseDynamicFieldComponent, BaseValidationConfig, ComponentLifecycleEvent, ComponentLoadResult, ComponentRegistration, ConfirmDialogData, DynamicFieldCatalogEntry, DynamicFieldCatalogFamily, DynamicFieldCatalogStatus, DynamicFieldCatalogTrack, DynamicFieldDataSourceKind, DynamicFieldDocLinks, DynamicFieldLoaderRenderErrorEvent, 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@praxisui/dynamic-fields",
3
- "version": "3.0.0-beta.0",
3
+ "version": "3.0.0-beta.2",
4
4
  "description": "Angular Material-based dynamic form fields for Praxis UI with lazy loading and metadata-driven rendering.",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^20.1.0",
@@ -10,10 +10,10 @@
10
10
  "@angular/cdk": "^20.1.0",
11
11
  "@angular/router": "^20.1.0",
12
12
  "rxjs": "^7.8.0",
13
- "@praxisui/specification-core": "^3.0.0-beta.0",
14
- "@praxisui/core": "^3.0.0-beta.0",
15
- "@praxisui/cron-builder": "^3.0.0-beta.0",
16
- "@praxisui/dialog": "^3.0.0-beta.0"
13
+ "@praxisui/specification-core": "^3.0.0-beta.2",
14
+ "@praxisui/core": "^3.0.0-beta.2",
15
+ "@praxisui/cron-builder": "^3.0.0-beta.2",
16
+ "@praxisui/dialog": "^3.0.0-beta.2"
17
17
  },
18
18
  "dependencies": {
19
19
  "tslib": "^2.3.0"