@praxisui/dynamic-fields 4.0.0-beta.0 → 6.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/fesm2022/praxisui-dynamic-fields.mjs +496 -107
- package/index.d.ts +22 -1
- package/package.json +4 -5
package/index.d.ts
CHANGED
|
@@ -977,6 +977,10 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
|
|
|
977
977
|
private hasLoadedOnce;
|
|
978
978
|
/** Options filtered according to the current `searchTerm` */
|
|
979
979
|
readonly filteredOptions: _angular_core.Signal<SelectOption<T>[]>;
|
|
980
|
+
/**
|
|
981
|
+
* Applies typed metadata to the select component.
|
|
982
|
+
*/
|
|
983
|
+
setInputMetadata(metadata: ComponentMetadata): void;
|
|
980
984
|
/**
|
|
981
985
|
* Applies typed metadata to the select component.
|
|
982
986
|
*/
|
|
@@ -985,6 +989,9 @@ declare abstract class SimpleBaseSelectComponent<T = any> extends SimpleBaseInpu
|
|
|
985
989
|
protected registerMatSelect(select: MatSelect): void;
|
|
986
990
|
protected applySelectAttributes(): void;
|
|
987
991
|
protected isReadonlyEffective(): boolean;
|
|
992
|
+
protected defaultPanelClass(): string | string[] | undefined;
|
|
993
|
+
selectPanelClass(): string[];
|
|
994
|
+
protected isInteractionDisabled(): boolean;
|
|
988
995
|
/** Whether to show the clear button (if enabled in metadata) */
|
|
989
996
|
showClear(): boolean;
|
|
990
997
|
/** Clears the selection according to single/multiple mode */
|
|
@@ -1528,6 +1535,7 @@ declare class DynamicFieldLoaderDirective implements OnInit, OnDestroy, OnChange
|
|
|
1528
1535
|
* Aplica os estados globais aos shells já criados, sem re-render completo.
|
|
1529
1536
|
*/
|
|
1530
1537
|
private applyGlobalStates;
|
|
1538
|
+
private applyShellEffectiveStatesToComponent;
|
|
1531
1539
|
/**
|
|
1532
1540
|
* Tenta inferir o controlType a partir do próprio field.
|
|
1533
1541
|
* Retorna null quando não é possível inferir, mantendo a validação original.
|
|
@@ -2237,6 +2245,7 @@ declare class MaterialSelectComponent extends SimpleBaseSelectComponent {
|
|
|
2237
2245
|
disabledMode: boolean;
|
|
2238
2246
|
visible: boolean;
|
|
2239
2247
|
presentationMode: boolean;
|
|
2248
|
+
protected defaultPanelClass(): string;
|
|
2240
2249
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
2241
2250
|
ngOnInit(): void;
|
|
2242
2251
|
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
@@ -2322,6 +2331,7 @@ declare class MaterialSearchableSelectComponent extends SimpleBaseSelectComponen
|
|
|
2322
2331
|
private readonly store;
|
|
2323
2332
|
readonly endReached: _angular_core.WritableSignal<boolean>;
|
|
2324
2333
|
private initialLoadStrategy;
|
|
2334
|
+
protected defaultPanelClass(): string;
|
|
2325
2335
|
setSelectMetadata(metadata: SearchableSelectMetadata): void;
|
|
2326
2336
|
ngOnInit(): void;
|
|
2327
2337
|
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
@@ -2421,6 +2431,7 @@ declare class MaterialAsyncSelectComponent extends SimpleBaseSelectComponent {
|
|
|
2421
2431
|
private cursorPageIndex;
|
|
2422
2432
|
private dataVersion?;
|
|
2423
2433
|
private useCursor;
|
|
2434
|
+
protected defaultPanelClass(): string;
|
|
2424
2435
|
private isCategoricalBucketOptionSource;
|
|
2425
2436
|
setSelectMetadata(metadata: AsyncSelectMetadata): void;
|
|
2426
2437
|
errorStateMatcher(): _angular_material_error_options_d_CGdTZUYk.E;
|
|
@@ -3041,6 +3052,7 @@ declare class InlineToggleComponent extends SimpleBaseInputComponent {
|
|
|
3041
3052
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
3042
3053
|
onQuickClear(event: MouseEvent): void;
|
|
3043
3054
|
placeholderText(): string;
|
|
3055
|
+
toggleLabelText(): string;
|
|
3044
3056
|
ariaLabel(): string;
|
|
3045
3057
|
isReadonlyEffective(): boolean;
|
|
3046
3058
|
showTextLabel(): boolean;
|
|
@@ -3765,7 +3777,8 @@ declare class InlineTreeSelectComponent extends SimpleBaseSelectComponent {
|
|
|
3765
3777
|
private asRecord;
|
|
3766
3778
|
hasChild: (_: number, node: MaterialTreeNode) => boolean;
|
|
3767
3779
|
onComponentInit(): void;
|
|
3768
|
-
|
|
3780
|
+
writeValue(value: unknown): void;
|
|
3781
|
+
setInputMetadata(metadata: ComponentMetadata): void;
|
|
3769
3782
|
setTreeMetadata(metadata: MaterialTreeSelectMetadata): void;
|
|
3770
3783
|
onViewportResize(): void;
|
|
3771
3784
|
protected getSpecificCssClasses(): string[];
|
|
@@ -3799,6 +3812,7 @@ declare class InlineTreeSelectComponent extends SimpleBaseSelectComponent {
|
|
|
3799
3812
|
private filterNodes;
|
|
3800
3813
|
private countNodes;
|
|
3801
3814
|
private syncSelectedState;
|
|
3815
|
+
private currentSelectionLookup;
|
|
3802
3816
|
private findNodeByCurrentValue;
|
|
3803
3817
|
private matchesCurrentValue;
|
|
3804
3818
|
private normalizeNodes;
|
|
@@ -3892,6 +3906,8 @@ declare class InlineDistanceRadiusComponent extends InlineRangeSliderComponent {
|
|
|
3892
3906
|
chipLeadingIcon(): string;
|
|
3893
3907
|
placeholderText(): string;
|
|
3894
3908
|
currentSelectionText(): string;
|
|
3909
|
+
displayText(): string;
|
|
3910
|
+
hasSelection(): boolean;
|
|
3895
3911
|
ariaLabel(): string;
|
|
3896
3912
|
protected getSpecificCssClasses(): string[];
|
|
3897
3913
|
protected resolveInlineContextTooltipValue(): string;
|
|
@@ -3939,6 +3955,7 @@ declare class InlineDistanceRadiusComponent extends InlineRangeSliderComponent {
|
|
|
3939
3955
|
private distanceRangeBandOpacityOverride;
|
|
3940
3956
|
private currentBaseValue;
|
|
3941
3957
|
private currentRangeBaseValue;
|
|
3958
|
+
private currentRawDistanceValue;
|
|
3942
3959
|
private currentRadialBaseValue;
|
|
3943
3960
|
private currentNormalizedRangeRatios;
|
|
3944
3961
|
private clampBaseValue;
|
|
@@ -4347,6 +4364,9 @@ declare class InlineSentimentComponent extends SimpleBaseSelectComponent {
|
|
|
4347
4364
|
private sentimentGradientColorByRatio;
|
|
4348
4365
|
private parseColorList;
|
|
4349
4366
|
private selectedValues;
|
|
4367
|
+
private currentRawSelectionValue;
|
|
4368
|
+
private currentSelectionVisuals;
|
|
4369
|
+
private fallbackVisualFromValue;
|
|
4350
4370
|
private resolveCloseOnSelect;
|
|
4351
4371
|
private resolveMultipleMode;
|
|
4352
4372
|
private equalsOptionValue;
|
|
@@ -4464,6 +4484,7 @@ declare class MaterialMultiSelectComponent extends SimpleBaseSelectComponent {
|
|
|
4464
4484
|
disabledMode: boolean;
|
|
4465
4485
|
visible: boolean;
|
|
4466
4486
|
presentationMode: boolean;
|
|
4487
|
+
protected defaultPanelClass(): string;
|
|
4467
4488
|
selectAllLabel(): string;
|
|
4468
4489
|
setSelectMetadata(metadata: SimpleSelectMetadata<unknown>): void;
|
|
4469
4490
|
/** Disables options when maxSelections reached */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/dynamic-fields",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0-beta.0",
|
|
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,9 @@
|
|
|
10
10
|
"@angular/cdk": "^20.1.0",
|
|
11
11
|
"@angular/router": "^20.1.0",
|
|
12
12
|
"rxjs": "^7.8.0",
|
|
13
|
-
"@praxisui/
|
|
14
|
-
"@praxisui/
|
|
15
|
-
"@praxisui/
|
|
16
|
-
"@praxisui/dialog": "^4.0.0-beta.0"
|
|
13
|
+
"@praxisui/core": "^6.0.0-beta.0",
|
|
14
|
+
"@praxisui/cron-builder": "^6.0.0-beta.0",
|
|
15
|
+
"@praxisui/dialog": "^6.0.0-beta.0"
|
|
17
16
|
},
|
|
18
17
|
"dependencies": {
|
|
19
18
|
"tslib": "^2.3.0"
|