@praxisui/dynamic-fields 3.0.0-beta.9 → 5.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 +416 -73
- package/index.d.ts +16 -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,7 @@ 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 isInteractionDisabled(): boolean;
|
|
988
993
|
/** Whether to show the clear button (if enabled in metadata) */
|
|
989
994
|
showClear(): boolean;
|
|
990
995
|
/** Clears the selection according to single/multiple mode */
|
|
@@ -1528,6 +1533,7 @@ declare class DynamicFieldLoaderDirective implements OnInit, OnDestroy, OnChange
|
|
|
1528
1533
|
* Aplica os estados globais aos shells já criados, sem re-render completo.
|
|
1529
1534
|
*/
|
|
1530
1535
|
private applyGlobalStates;
|
|
1536
|
+
private applyShellEffectiveStatesToComponent;
|
|
1531
1537
|
/**
|
|
1532
1538
|
* Tenta inferir o controlType a partir do próprio field.
|
|
1533
1539
|
* Retorna null quando não é possível inferir, mantendo a validação original.
|
|
@@ -3041,6 +3047,7 @@ declare class InlineToggleComponent extends SimpleBaseInputComponent {
|
|
|
3041
3047
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
3042
3048
|
onQuickClear(event: MouseEvent): void;
|
|
3043
3049
|
placeholderText(): string;
|
|
3050
|
+
toggleLabelText(): string;
|
|
3044
3051
|
ariaLabel(): string;
|
|
3045
3052
|
isReadonlyEffective(): boolean;
|
|
3046
3053
|
showTextLabel(): boolean;
|
|
@@ -3765,7 +3772,8 @@ declare class InlineTreeSelectComponent extends SimpleBaseSelectComponent {
|
|
|
3765
3772
|
private asRecord;
|
|
3766
3773
|
hasChild: (_: number, node: MaterialTreeNode) => boolean;
|
|
3767
3774
|
onComponentInit(): void;
|
|
3768
|
-
|
|
3775
|
+
writeValue(value: unknown): void;
|
|
3776
|
+
setInputMetadata(metadata: ComponentMetadata): void;
|
|
3769
3777
|
setTreeMetadata(metadata: MaterialTreeSelectMetadata): void;
|
|
3770
3778
|
onViewportResize(): void;
|
|
3771
3779
|
protected getSpecificCssClasses(): string[];
|
|
@@ -3799,6 +3807,7 @@ declare class InlineTreeSelectComponent extends SimpleBaseSelectComponent {
|
|
|
3799
3807
|
private filterNodes;
|
|
3800
3808
|
private countNodes;
|
|
3801
3809
|
private syncSelectedState;
|
|
3810
|
+
private currentSelectionLookup;
|
|
3802
3811
|
private findNodeByCurrentValue;
|
|
3803
3812
|
private matchesCurrentValue;
|
|
3804
3813
|
private normalizeNodes;
|
|
@@ -3892,6 +3901,8 @@ declare class InlineDistanceRadiusComponent extends InlineRangeSliderComponent {
|
|
|
3892
3901
|
chipLeadingIcon(): string;
|
|
3893
3902
|
placeholderText(): string;
|
|
3894
3903
|
currentSelectionText(): string;
|
|
3904
|
+
displayText(): string;
|
|
3905
|
+
hasSelection(): boolean;
|
|
3895
3906
|
ariaLabel(): string;
|
|
3896
3907
|
protected getSpecificCssClasses(): string[];
|
|
3897
3908
|
protected resolveInlineContextTooltipValue(): string;
|
|
@@ -3939,6 +3950,7 @@ declare class InlineDistanceRadiusComponent extends InlineRangeSliderComponent {
|
|
|
3939
3950
|
private distanceRangeBandOpacityOverride;
|
|
3940
3951
|
private currentBaseValue;
|
|
3941
3952
|
private currentRangeBaseValue;
|
|
3953
|
+
private currentRawDistanceValue;
|
|
3942
3954
|
private currentRadialBaseValue;
|
|
3943
3955
|
private currentNormalizedRangeRatios;
|
|
3944
3956
|
private clampBaseValue;
|
|
@@ -4347,6 +4359,9 @@ declare class InlineSentimentComponent extends SimpleBaseSelectComponent {
|
|
|
4347
4359
|
private sentimentGradientColorByRatio;
|
|
4348
4360
|
private parseColorList;
|
|
4349
4361
|
private selectedValues;
|
|
4362
|
+
private currentRawSelectionValue;
|
|
4363
|
+
private currentSelectionVisuals;
|
|
4364
|
+
private fallbackVisualFromValue;
|
|
4350
4365
|
private resolveCloseOnSelect;
|
|
4351
4366
|
private resolveMultipleMode;
|
|
4352
4367
|
private equalsOptionValue;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/dynamic-fields",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.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": "^3.0.0-beta.9"
|
|
13
|
+
"@praxisui/core": "^5.0.0-beta.0",
|
|
14
|
+
"@praxisui/cron-builder": "^5.0.0-beta.0",
|
|
15
|
+
"@praxisui/dialog": "^5.0.0-beta.0"
|
|
17
16
|
},
|
|
18
17
|
"dependencies": {
|
|
19
18
|
"tslib": "^2.3.0"
|