@praxisui/dynamic-fields 3.0.0-beta.3 → 3.0.0-beta.5
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, 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';
|
|
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, MaterialChipsMetadata, 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';
|
|
@@ -528,12 +528,18 @@ declare abstract class SimpleBaseInputComponent implements ControlValueAccessor,
|
|
|
528
528
|
/**
|
|
529
529
|
* Tooltip usado pelos campos inline:
|
|
530
530
|
* 1) prioriza erro quando validators.errorPosition = tooltip
|
|
531
|
-
* 2)
|
|
531
|
+
* 2) materializa help text explícito do metadata (tooltip/hint)
|
|
532
|
+
* 3) fallback para contexto "Campo: valor" quando houver valor preenchido
|
|
532
533
|
*/
|
|
533
534
|
inlineTooltipText(): string;
|
|
534
535
|
inlineTooltipDisabled(): boolean;
|
|
535
536
|
protected isInlineContextTooltipEnabled(): boolean;
|
|
536
537
|
protected resolveInlineContextTooltipValue(): string;
|
|
538
|
+
protected resolveInlineHelpTooltipText(): string;
|
|
539
|
+
protected isInteractionBlockedByState(options?: {
|
|
540
|
+
readonly includeReadonly?: boolean;
|
|
541
|
+
readonly includePresentation?: boolean;
|
|
542
|
+
}): boolean;
|
|
537
543
|
protected resolveInlineContextTooltipLabel(): string;
|
|
538
544
|
protected stringifyInlineContextValue(value: unknown): string;
|
|
539
545
|
private truncateInlineTooltipText;
|
|
@@ -1500,8 +1506,9 @@ declare class DynamicFieldLoaderDirective implements OnInit, OnDestroy, OnChange
|
|
|
1500
1506
|
* @private
|
|
1501
1507
|
*/
|
|
1502
1508
|
private executeRendering;
|
|
1503
|
-
/** Builds a
|
|
1509
|
+
/** Builds a semantic snapshot capturing metadata changes that affect runtime rendering. */
|
|
1504
1510
|
private buildFieldSnapshot;
|
|
1511
|
+
private buildFieldSemanticSignature;
|
|
1505
1512
|
/**
|
|
1506
1513
|
* Reatribui apenas os FormControls existentes aos componentes/shells sem refazer a renderização.
|
|
1507
1514
|
*/
|
|
@@ -1548,6 +1555,7 @@ declare class MaterialButtonComponent extends SimpleBaseButtonComponent implemen
|
|
|
1548
1555
|
readonly tooltipText: _angular_core.Signal<string>;
|
|
1549
1556
|
readonly validationLoadingAriaLabel: _angular_core.Signal<string>;
|
|
1550
1557
|
readonly validationLoadingSrOnly: _angular_core.Signal<string>;
|
|
1558
|
+
private readonly syncKeyboardShortcutEffect;
|
|
1551
1559
|
ngOnInit(): void;
|
|
1552
1560
|
ngOnDestroy(): void;
|
|
1553
1561
|
/**
|
|
@@ -1578,7 +1586,6 @@ declare class MaterialButtonComponent extends SimpleBaseButtonComponent implemen
|
|
|
1578
1586
|
isDisabled: boolean;
|
|
1579
1587
|
isIconOnly: boolean;
|
|
1580
1588
|
};
|
|
1581
|
-
private setupKeyboardShortcuts;
|
|
1582
1589
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialButtonComponent, never>;
|
|
1583
1590
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialButtonComponent, "pdx-material-button", never, {}, {}, never, never, true, never>;
|
|
1584
1591
|
}
|
|
@@ -2267,6 +2274,7 @@ declare class InlineSelectComponent extends SimpleBaseSelectComponent {
|
|
|
2267
2274
|
searchPlaceholderText(): string;
|
|
2268
2275
|
searchInputAriaLabel(): string;
|
|
2269
2276
|
private resolveFieldLabelFromMetadata;
|
|
2277
|
+
private resolveHumanizedFieldName;
|
|
2270
2278
|
ariaLabel(): string;
|
|
2271
2279
|
private recalculateInlineSizeBounds;
|
|
2272
2280
|
private resolveWidthBounds;
|
|
@@ -2477,6 +2485,7 @@ declare class InlineAsyncSelectComponent extends MaterialAsyncSelectComponent {
|
|
|
2477
2485
|
placeholderText(): string;
|
|
2478
2486
|
searchPlaceholderText(): string;
|
|
2479
2487
|
ariaLabel(): string;
|
|
2488
|
+
private resolveHumanizedFieldName;
|
|
2480
2489
|
private resolveOptionLabel;
|
|
2481
2490
|
private equalsOptionValue;
|
|
2482
2491
|
private asRecord;
|
|
@@ -4584,6 +4593,7 @@ declare class MaterialChipsComponent extends SimpleBaseSelectComponent {
|
|
|
4584
4593
|
presentationMode: boolean;
|
|
4585
4594
|
readonly removable: _angular_core.WritableSignal<boolean>;
|
|
4586
4595
|
readonly addOnBlur: _angular_core.WritableSignal<boolean>;
|
|
4596
|
+
readonly chipPlaceholder: _angular_core.WritableSignal<string | null>;
|
|
4587
4597
|
readonly separatorKeys: number[];
|
|
4588
4598
|
private asRecord;
|
|
4589
4599
|
private mapRawOption;
|
|
@@ -4592,6 +4602,7 @@ declare class MaterialChipsComponent extends SimpleBaseSelectComponent {
|
|
|
4592
4602
|
removeChip(option: SelectOption): void;
|
|
4593
4603
|
onInputTokenEnd(event: MatChipInputEvent): void;
|
|
4594
4604
|
onSearchInputEvent(event: Event): void;
|
|
4605
|
+
setInputMetadata(metadata: MaterialChipsMetadata): void;
|
|
4595
4606
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
4596
4607
|
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
4597
4608
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialChipsComponent, never>;
|
|
@@ -4643,7 +4654,7 @@ type IconInput = string | SafeHtml | {
|
|
|
4643
4654
|
svg?: string;
|
|
4644
4655
|
fontClass?: string;
|
|
4645
4656
|
};
|
|
4646
|
-
declare class MaterialAvatarComponent {
|
|
4657
|
+
declare class MaterialAvatarComponent implements OnChanges {
|
|
4647
4658
|
private readonly sanitizer;
|
|
4648
4659
|
private readonly elementRef;
|
|
4649
4660
|
readonly metadata: _angular_core.WritableSignal<ComponentMetadata | null>;
|
|
@@ -4658,6 +4669,7 @@ declare class MaterialAvatarComponent {
|
|
|
4658
4669
|
/** Fallback icon used when no image/icon/initials provided via inputs */
|
|
4659
4670
|
defaultIcon?: IconInput;
|
|
4660
4671
|
private readonly appearanceTick;
|
|
4672
|
+
private readonly contentTick;
|
|
4661
4673
|
private _themeColor;
|
|
4662
4674
|
private _rounded;
|
|
4663
4675
|
private _size;
|
|
@@ -4704,6 +4716,8 @@ declare class MaterialAvatarComponent {
|
|
|
4704
4716
|
[x: string]: unknown;
|
|
4705
4717
|
} | null>;
|
|
4706
4718
|
readonly computedAriaLabel: _angular_core.Signal<string>;
|
|
4719
|
+
readonly resolvedHint: _angular_core.Signal<string>;
|
|
4720
|
+
readonly hintId: _angular_core.Signal<string | null>;
|
|
4707
4721
|
private resolveIconKind;
|
|
4708
4722
|
private pickImageSrcFromValue;
|
|
4709
4723
|
private normalizeImageUrl;
|
|
@@ -4721,6 +4735,7 @@ declare class MaterialAvatarComponent {
|
|
|
4721
4735
|
iconName(): string | null;
|
|
4722
4736
|
iconSvgSafe(): SafeHtml | null;
|
|
4723
4737
|
iconFontClass(): string | null;
|
|
4738
|
+
ngOnChanges(_changes: SimpleChanges): void;
|
|
4724
4739
|
setInputMetadata(meta: ComponentMetadata): void;
|
|
4725
4740
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialAvatarComponent, never>;
|
|
4726
4741
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialAvatarComponent, "pdx-material-avatar", never, { "imageSrc": { "alias": "imageSrc"; "required": false; }; "imageAlt": { "alias": "imageAlt"; "required": false; }; "initials": { "alias": "initials"; "required": false; }; "name": { "alias": "name"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "defaultIcon": { "alias": "defaultIcon"; "required": false; }; "themeColor": { "alias": "themeColor"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "size": { "alias": "size"; "required": false; }; "fillMode": { "alias": "fillMode"; "required": false; }; "border": { "alias": "border"; "required": false; }; "sizePx": { "alias": "sizePx"; "required": false; }; "sizeCss": { "alias": "sizeCss"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "readonlyMode": { "alias": "readonlyMode"; "required": false; }; "disabledMode": { "alias": "disabledMode"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "presentationMode": { "alias": "presentationMode"; "required": false; }; "class": { "alias": "class"; "required": false; }; "style": { "alias": "style"; "required": false; }; }, { "imageError": "imageError"; }, never, ["*"], true, never>;
|
|
@@ -4829,10 +4844,14 @@ declare class MaterialFileUploadComponent extends SimpleBaseInputComponent {
|
|
|
4829
4844
|
* Exposes metadata setter for integration with dynamic form loader.
|
|
4830
4845
|
*/
|
|
4831
4846
|
setFileUploadMetadata(metadata: ComponentMetadata): void;
|
|
4847
|
+
fileAccept(): string | null;
|
|
4848
|
+
allowsMultiple(): boolean;
|
|
4849
|
+
isInteractionDisabled(): boolean;
|
|
4832
4850
|
/**
|
|
4833
4851
|
* CSS classes specific to the file upload wrapper.
|
|
4834
4852
|
*/
|
|
4835
4853
|
protected getSpecificCssClasses(): string[];
|
|
4854
|
+
private metadataRecord;
|
|
4836
4855
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaterialFileUploadComponent, never>;
|
|
4837
4856
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MaterialFileUploadComponent, "pdx-material-file-upload", 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>;
|
|
4838
4857
|
}
|
|
@@ -5171,7 +5190,7 @@ interface PopupSettings {
|
|
|
5171
5190
|
anchor?: Element;
|
|
5172
5191
|
appendTo?: Element | unknown;
|
|
5173
5192
|
}
|
|
5174
|
-
declare class PdxColorPickerComponent extends SimpleBaseInputComponent implements ControlValueAccessor {
|
|
5193
|
+
declare class PdxColorPickerComponent extends SimpleBaseInputComponent implements ControlValueAccessor, OnChanges {
|
|
5175
5194
|
private readonly bottomSheet;
|
|
5176
5195
|
actionsLayout: 'start' | 'end';
|
|
5177
5196
|
activeView: PickerView;
|
|
@@ -5219,8 +5238,10 @@ declare class PdxColorPickerComponent extends SimpleBaseInputComponent implement
|
|
|
5219
5238
|
private readonly current;
|
|
5220
5239
|
private readonly draft;
|
|
5221
5240
|
private readonly draftAlpha;
|
|
5241
|
+
private readonly configTick;
|
|
5222
5242
|
panelWidthPx: number;
|
|
5223
5243
|
constructor(bottomSheet: MatBottomSheet);
|
|
5244
|
+
ngOnChanges(_changes: SimpleChanges): void;
|
|
5224
5245
|
private resolveClearButtonConfig;
|
|
5225
5246
|
showClearAction(): boolean;
|
|
5226
5247
|
clearActionTooltip(): string | null;
|
|
@@ -5349,6 +5370,7 @@ declare class MaterialTransferListComponent extends SimpleBaseSelectComponent {
|
|
|
5349
5370
|
readonly filteredLeft: _angular_core.Signal<SelectOption<unknown>[]>;
|
|
5350
5371
|
readonly filteredRight: _angular_core.Signal<SelectOption<unknown>[]>;
|
|
5351
5372
|
constructor();
|
|
5373
|
+
setInputMetadata(metadata: TransferListMetadata): void;
|
|
5352
5374
|
setSelectMetadata(metadata: TransferListMetadata): void;
|
|
5353
5375
|
moveSelectedToRightAriaLabel(): string;
|
|
5354
5376
|
moveAllToRightAriaLabel(): string;
|
|
@@ -5991,6 +6013,8 @@ declare class KeyboardShortcutService {
|
|
|
5991
6013
|
interface ComponentRegistration<T = any> {
|
|
5992
6014
|
/** Factory para carregamento lazy */
|
|
5993
6015
|
factory: () => Promise<Type<T>>;
|
|
6016
|
+
/** Promise compartilhada de carregamento em voo para evitar duplicidade concorrente */
|
|
6017
|
+
loadingPromise?: Promise<Type<T> | null>;
|
|
5994
6018
|
/** Componente em cache após carregamento */
|
|
5995
6019
|
cached?: Type<T>;
|
|
5996
6020
|
/** Timestamp do cache para validação TTL */
|
|
@@ -6113,6 +6137,7 @@ declare class ComponentRegistryService implements IComponentRegistry {
|
|
|
6113
6137
|
* Carrega componente com lógica de retry
|
|
6114
6138
|
*/
|
|
6115
6139
|
private loadComponentWithRetry;
|
|
6140
|
+
private performLoadWithRetry;
|
|
6116
6141
|
/**
|
|
6117
6142
|
* Verifica se está em ambiente de produção
|
|
6118
6143
|
*/
|
|
@@ -6178,7 +6203,7 @@ type DynamicFieldCatalogTrack = 'primary-form' | 'inline-filter';
|
|
|
6178
6203
|
type DynamicFieldCatalogFamily = 'text' | 'numbers-range' | 'date-time' | 'selection' | 'trees-lists' | 'toggle-choice' | 'upload-color-visual';
|
|
6179
6204
|
type DynamicFieldCatalogStatus = 'stable' | 'preview' | 'experimental' | 'partial-docs';
|
|
6180
6205
|
type DynamicFieldDataSourceKind = 'local' | 'remote' | 'mixed' | 'specialized';
|
|
6181
|
-
type DynamicFieldStateKey = 'default' | 'filled' | 'disabled' | 'readonly' | 'error';
|
|
6206
|
+
type DynamicFieldStateKey = 'default' | 'filled' | 'disabled' | 'readonly' | 'presentation' | 'error';
|
|
6182
6207
|
interface DynamicFieldDocLinks {
|
|
6183
6208
|
catalogSlug: string;
|
|
6184
6209
|
detailFragment: string;
|
|
@@ -6234,6 +6259,7 @@ declare const DYNAMIC_FIELD_DEFAULT_STATE_RECIPE: DynamicFieldPreviewStateRecipe
|
|
|
6234
6259
|
declare const DYNAMIC_FIELD_FILLED_STATE_RECIPE: DynamicFieldPreviewStateRecipe;
|
|
6235
6260
|
declare const DYNAMIC_FIELD_DISABLED_STATE_RECIPE: DynamicFieldPreviewStateRecipe;
|
|
6236
6261
|
declare const DYNAMIC_FIELD_READONLY_STATE_RECIPE: DynamicFieldPreviewStateRecipe;
|
|
6262
|
+
declare const DYNAMIC_FIELD_PRESENTATION_STATE_RECIPE: DynamicFieldPreviewStateRecipe;
|
|
6237
6263
|
declare const DYNAMIC_FIELD_ERROR_STATE_RECIPE: DynamicFieldPreviewStateRecipe;
|
|
6238
6264
|
declare const DYNAMIC_FIELD_BASE_STATE_RECIPES: DynamicFieldPreviewStateRecipe[];
|
|
6239
6265
|
declare function createDynamicFieldPreviewRecipe(input: {
|
|
@@ -6244,6 +6270,7 @@ declare function createDynamicFieldPreviewRecipe(input: {
|
|
|
6244
6270
|
description?: string;
|
|
6245
6271
|
metadata?: Record<string, unknown>;
|
|
6246
6272
|
states?: DynamicFieldPreviewStateRecipe[];
|
|
6273
|
+
supportedStates?: DynamicFieldStateKey[];
|
|
6247
6274
|
}): DynamicFieldPreviewRecipe;
|
|
6248
6275
|
|
|
6249
6276
|
declare const DYNAMIC_FIELDS_PLAYGROUND_CATALOG: DynamicFieldCatalogEntry[];
|
|
@@ -6545,5 +6572,5 @@ declare function normalizeFormMetadata(input: FieldMetadata[] | JsonSchema): Fie
|
|
|
6545
6572
|
declare const CLEAR_BUTTON_CONTROL_TYPES: Set<string>;
|
|
6546
6573
|
declare function supportsClearButtonControlType(controlType?: string | null): boolean;
|
|
6547
6574
|
|
|
6548
|
-
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 };
|
|
6575
|
+
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_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 };
|
|
6549
6576
|
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.
|
|
3
|
+
"version": "3.0.0-beta.5",
|
|
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.
|
|
14
|
-
"@praxisui/core": "^3.0.0-beta.
|
|
15
|
-
"@praxisui/cron-builder": "^3.0.0-beta.
|
|
16
|
-
"@praxisui/dialog": "^3.0.0-beta.
|
|
13
|
+
"@praxisui/specification-core": "^3.0.0-beta.5",
|
|
14
|
+
"@praxisui/core": "^3.0.0-beta.5",
|
|
15
|
+
"@praxisui/cron-builder": "^3.0.0-beta.5",
|
|
16
|
+
"@praxisui/dialog": "^3.0.0-beta.5"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"tslib": "^2.3.0"
|