@praxisui/dynamic-fields 8.0.0-beta.23 → 8.0.0-beta.25
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
|
@@ -705,6 +705,9 @@ declare abstract class SimpleBaseInputComponent implements ControlValueAccessor,
|
|
|
705
705
|
protected getSpecificCssClasses(): string[];
|
|
706
706
|
private setupFormControlIntegration;
|
|
707
707
|
private syncComponentStateFromControl;
|
|
708
|
+
private handleMaskedNativeInput;
|
|
709
|
+
protected applyNativeDisplayMask(value?: unknown): void;
|
|
710
|
+
private resolveNativeDisplayMask;
|
|
708
711
|
private refreshErrorTooltip;
|
|
709
712
|
protected ariaInvalidAttribute(): 'true' | null;
|
|
710
713
|
protected tDynamicFields(keySuffix: string, fallback: string, params?: Record<string, string | number | boolean | null | undefined>): string;
|
|
@@ -1108,6 +1111,7 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
|
|
|
1108
1111
|
isSelected(value: T): boolean;
|
|
1109
1112
|
isOptionDisabled(option: SelectOption<T>): boolean;
|
|
1110
1113
|
protected areOptionValuesEqual(left: unknown, right: unknown): boolean;
|
|
1114
|
+
protected normalizeComparableOptionValue(value: unknown): unknown;
|
|
1111
1115
|
/**
|
|
1112
1116
|
* Toggles selection of all options when `selectAll` is enabled in multiple
|
|
1113
1117
|
* selection mode.
|
|
@@ -2143,6 +2147,7 @@ declare class MaterialCurrencyComponent extends SimpleBaseInputComponent {
|
|
|
2143
2147
|
/** Formats the input value without touching or changing focus state. */
|
|
2144
2148
|
formatDisplayValue(): void;
|
|
2145
2149
|
writeValue(value: unknown): void;
|
|
2150
|
+
protected applyNativeDisplayMask(): void;
|
|
2146
2151
|
validateField(): Promise<ValidationErrors | null>;
|
|
2147
2152
|
readonlyMode: boolean;
|
|
2148
2153
|
set disabledMode(value: boolean);
|
|
@@ -2466,6 +2471,7 @@ declare class InlineSearchableSelectComponent extends MaterialSearchableSelectCo
|
|
|
2466
2471
|
protected getSpecificCssClasses(): string[];
|
|
2467
2472
|
hasSelection(): boolean;
|
|
2468
2473
|
selectedCount(): number;
|
|
2474
|
+
additionalSelectedCount(): number;
|
|
2469
2475
|
displayText(): string;
|
|
2470
2476
|
showQuickClear(): boolean;
|
|
2471
2477
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
@@ -2623,6 +2629,7 @@ declare class InlineAsyncSelectComponent extends MaterialAsyncSelectComponent {
|
|
|
2623
2629
|
protected getSpecificCssClasses(): string[];
|
|
2624
2630
|
hasSelection(): boolean;
|
|
2625
2631
|
selectedCount(): number;
|
|
2632
|
+
additionalSelectedCount(): number;
|
|
2626
2633
|
displayText(): string;
|
|
2627
2634
|
showQuickClear(): boolean;
|
|
2628
2635
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
@@ -3063,6 +3070,7 @@ declare class InlineInputComponent extends SimpleBaseInputComponent {
|
|
|
3063
3070
|
inlineWidthPx: number;
|
|
3064
3071
|
inlineMaxWidthPx: number;
|
|
3065
3072
|
private resizeRafId;
|
|
3073
|
+
private maskSyncRafId;
|
|
3066
3074
|
private currentMetadata;
|
|
3067
3075
|
private metadataRecord;
|
|
3068
3076
|
private asRecord;
|
|
@@ -3074,19 +3082,24 @@ declare class InlineInputComponent extends SimpleBaseInputComponent {
|
|
|
3074
3082
|
protected getSpecificCssClasses(): string[];
|
|
3075
3083
|
isReadonlyEffective(): boolean;
|
|
3076
3084
|
showQuickClear(): boolean;
|
|
3085
|
+
hasInlineValue(): boolean;
|
|
3077
3086
|
showInlinePlaceholder(): boolean;
|
|
3078
3087
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
3079
3088
|
onQuickClear(event: MouseEvent): void;
|
|
3080
|
-
onInlineInput(): void;
|
|
3089
|
+
onInlineInput(event?: Event): void;
|
|
3081
3090
|
widthProbeText(): string;
|
|
3082
3091
|
placeholderText(): string;
|
|
3083
3092
|
ariaLabel(): string;
|
|
3084
3093
|
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
3085
3094
|
private scheduleInlineResize;
|
|
3095
|
+
private scheduleMaskedDisplaySync;
|
|
3086
3096
|
private recalculateInlineWidth;
|
|
3087
3097
|
private resolveWidthBounds;
|
|
3088
3098
|
private resolveChromeWidth;
|
|
3089
3099
|
private parsePx;
|
|
3100
|
+
private syncMaskedDisplayValue;
|
|
3101
|
+
private formatInlineDisplayValue;
|
|
3102
|
+
private resolveDisplayMask;
|
|
3090
3103
|
private resolveFieldLabelFromMetadata;
|
|
3091
3104
|
private humanizeFieldName;
|
|
3092
3105
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InlineInputComponent, never>;
|
|
@@ -3389,6 +3402,12 @@ declare class InlineCurrencyRangeComponent extends SimpleBaseInputComponent {
|
|
|
3389
3402
|
currentSelectionText(): string;
|
|
3390
3403
|
currentStartLabel(): string;
|
|
3391
3404
|
currentEndLabel(): string;
|
|
3405
|
+
sliderStartThumbValue(): number;
|
|
3406
|
+
sliderEndThumbValue(): number;
|
|
3407
|
+
currentStartPosition(): string;
|
|
3408
|
+
currentEndPosition(): string;
|
|
3409
|
+
currentStartPositionPercent(): number;
|
|
3410
|
+
currentEndPositionPercent(): number;
|
|
3392
3411
|
placeholderText(): string;
|
|
3393
3412
|
panelTitle(): string;
|
|
3394
3413
|
ariaLabel(): string;
|
|
@@ -3397,6 +3416,8 @@ declare class InlineCurrencyRangeComponent extends SimpleBaseInputComponent {
|
|
|
3397
3416
|
onQuickClear(event: MouseEvent): void;
|
|
3398
3417
|
onTriggerClick(event: MouseEvent): void;
|
|
3399
3418
|
onTriggerKeydown(event: Event): void;
|
|
3419
|
+
onSliderStartInput(event: Event): void;
|
|
3420
|
+
onSliderEndInput(event: Event): void;
|
|
3400
3421
|
closePanel(): void;
|
|
3401
3422
|
onOverlayDetach(): void;
|
|
3402
3423
|
panelId(): string;
|
|
@@ -3405,6 +3426,7 @@ declare class InlineCurrencyRangeComponent extends SimpleBaseInputComponent {
|
|
|
3405
3426
|
private rebuildValidators;
|
|
3406
3427
|
private buildRangeValidator;
|
|
3407
3428
|
private syncRangeGroupFromControl;
|
|
3429
|
+
private updateRangeFromSlider;
|
|
3408
3430
|
private currentRangeValue;
|
|
3409
3431
|
private distributionVisual;
|
|
3410
3432
|
private resolveDistributionVisual;
|
|
@@ -3413,6 +3435,7 @@ declare class InlineCurrencyRangeComponent extends SimpleBaseInputComponent {
|
|
|
3413
3435
|
private normalizeRangeValue;
|
|
3414
3436
|
private areRangeValuesEqual;
|
|
3415
3437
|
private toFiniteNumberOrNull;
|
|
3438
|
+
private valuePositionPercent;
|
|
3416
3439
|
private toNonEmptyText;
|
|
3417
3440
|
private parseJsonValue;
|
|
3418
3441
|
private normalizePositivePx;
|
|
@@ -3815,6 +3838,7 @@ declare class InlineDateRangeComponent extends MaterialDateRangeComponent {
|
|
|
3815
3838
|
onQuickClear(event: MouseEvent): void;
|
|
3816
3839
|
onInlineInput(): void;
|
|
3817
3840
|
onInputKeydown(event: Event, picker: MatDateRangePicker<Date>): void;
|
|
3841
|
+
onInputClick(event: Event): void;
|
|
3818
3842
|
onFieldContainerClick(picker: MatDateRangePicker<Date>, event: MouseEvent): void;
|
|
3819
3843
|
openPicker(picker: MatDateRangePicker<Date>, event: Event): void;
|
|
3820
3844
|
onOverlayOpened(): void;
|
|
@@ -5632,6 +5656,7 @@ declare class PhoneInputComponent extends SimpleBaseInputComponent {
|
|
|
5632
5656
|
ngOnInit(): void;
|
|
5633
5657
|
writeValue(value: unknown): void;
|
|
5634
5658
|
protected registerInputElement(el: HTMLElement): void;
|
|
5659
|
+
protected applyNativeDisplayMask(): void;
|
|
5635
5660
|
handleInput(event: Event): void;
|
|
5636
5661
|
handleBlur(): void;
|
|
5637
5662
|
validateField(): Promise<ValidationErrors | null>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/dynamic-fields",
|
|
3
|
-
"version": "8.0.0-beta.
|
|
3
|
+
"version": "8.0.0-beta.25",
|
|
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",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"@angular/platform-browser": "^20.1.0",
|
|
12
12
|
"@angular/router": "^20.1.0",
|
|
13
13
|
"rxjs": "^7.8.0",
|
|
14
|
-
"@praxisui/core": "^8.0.0-beta.
|
|
15
|
-
"@praxisui/cron-builder": "^8.0.0-beta.
|
|
14
|
+
"@praxisui/core": "^8.0.0-beta.25",
|
|
15
|
+
"@praxisui/cron-builder": "^8.0.0-beta.25"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"libphonenumber-js": "^1.12.41",
|