ngx-dynamic-entity-builder 2.1.1 → 2.3.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngx-dynamic-entity-builder",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "Angular standalone visual builder for authoring dynamic-entity EntityConfig (fields, tabs, validators, RBAC).",
|
|
5
5
|
"//typings": "Local workspace resolution only: ng-packagr 21 writes types/ngx-dynamic-entity-builder.d.ts into dist/package.json. Do NOT add a 'main' field here — ng-packagr does not generate one, so it would be copied verbatim and resolve wrongly in the published package.",
|
|
6
6
|
"typings": "types/ngx-dynamic-entity-builder.d.ts",
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"@angular/core": "^17.2.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0 || ^22.0.0",
|
|
11
11
|
"@angular/forms": "^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0 || ^22.0.0",
|
|
12
12
|
"@angular/material": "^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0 || ^22.0.0",
|
|
13
|
-
"@dynamic-entity/core": "^2.
|
|
14
|
-
"ngx-dynamic-entity": "^2.
|
|
13
|
+
"@dynamic-entity/core": "^2.3.0",
|
|
14
|
+
"ngx-dynamic-entity": "^2.3.0",
|
|
15
15
|
"rxjs": "^7.0.0"
|
|
16
16
|
},
|
|
17
17
|
"keywords": [
|
|
@@ -128,6 +128,16 @@ declare class BuilderStore {
|
|
|
128
128
|
*/
|
|
129
129
|
private findFieldInTabs;
|
|
130
130
|
private findFieldBy;
|
|
131
|
+
/**
|
|
132
|
+
* Every array a field can sit in: each tab's `fields` and each `group`/`array`'s `children`.
|
|
133
|
+
*
|
|
134
|
+
* The lookup walked tab `fields` only, so a field inside a group could be drawn and clicked
|
|
135
|
+
* but never resolved: its row highlighted while the inspector stayed empty, and remove,
|
|
136
|
+
* duplicate, move and every property setter did nothing at all.
|
|
137
|
+
*/
|
|
138
|
+
private fieldLists;
|
|
139
|
+
/** The array holding this exact field object, wherever it is nested. */
|
|
140
|
+
private listContaining;
|
|
131
141
|
/**
|
|
132
142
|
* The key a caller should hand back to address this exact field. Templates use it so a
|
|
133
143
|
* click on the second of two same-named fields selects that one.
|
|
@@ -451,6 +461,8 @@ declare const DEFAULT_BUILDER_TEXT: {
|
|
|
451
461
|
hintInLanguage: string;
|
|
452
462
|
hintHint: string;
|
|
453
463
|
defaultValue: string;
|
|
464
|
+
sliderStep: string;
|
|
465
|
+
sliderStepHint: string;
|
|
454
466
|
sectionBasics: string;
|
|
455
467
|
sectionLayout: string;
|
|
456
468
|
sectionValidation: string;
|
|
@@ -903,6 +915,8 @@ declare class FieldInspectorComponent {
|
|
|
903
915
|
* put a 1 on every field in the config and tell the author nothing.
|
|
904
916
|
*/
|
|
905
917
|
protected displayFlagCount(field: NestedFieldConfig): number;
|
|
918
|
+
/** A step must be above zero; anything else clears it, and the slider uses 1. */
|
|
919
|
+
protected positiveOrUnset(value: unknown): number | undefined;
|
|
906
920
|
protected toNum(value: unknown): number | null;
|
|
907
921
|
protected labelValue(field: NestedFieldConfig): string;
|
|
908
922
|
protected placeholderValue(field: NestedFieldConfig): string;
|