@praxisui/dynamic-form 9.0.0-beta.11 → 9.0.0-beta.14
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 +33 -1
- package/ai/component-registry.json +13311 -0
- package/fesm2022/praxisui-dynamic-form.mjs +24 -12
- package/package.json +12 -9
|
@@ -6066,20 +6066,28 @@ const PRAXIS_DYNAMIC_FORM_AUTHORING_MANIFEST = {
|
|
|
6066
6066
|
properties: {
|
|
6067
6067
|
optionSource: {
|
|
6068
6068
|
type: 'object',
|
|
6069
|
-
required: ['type'],
|
|
6069
|
+
required: ['key', 'type', 'resourcePath'],
|
|
6070
6070
|
properties: {
|
|
6071
|
-
|
|
6072
|
-
|
|
6073
|
-
resourcePath: { type: 'string'
|
|
6074
|
-
|
|
6071
|
+
key: { type: 'string' },
|
|
6072
|
+
type: { enum: ['RESOURCE_ENTITY', 'DISTINCT_DIMENSION', 'CATEGORICAL_BUCKET', 'LIGHT_LOOKUP', 'STATIC_CANONICAL'] },
|
|
6073
|
+
resourcePath: { type: 'string' },
|
|
6074
|
+
valuePropertyPath: { type: 'string' },
|
|
6075
|
+
labelPropertyPath: { type: 'string' },
|
|
6076
|
+
dependsOn: { type: 'array', items: { type: 'string' } },
|
|
6077
|
+
dependencyFilterMap: { type: 'object', additionalProperties: { type: 'string' } },
|
|
6078
|
+
includeIds: { type: 'boolean' },
|
|
6079
|
+
capabilities: {
|
|
6080
|
+
type: 'object',
|
|
6081
|
+
properties: {
|
|
6082
|
+
filter: { type: 'boolean' },
|
|
6083
|
+
byIds: { type: 'boolean' },
|
|
6084
|
+
detail: { type: 'boolean' },
|
|
6085
|
+
create: { type: 'boolean' }
|
|
6086
|
+
}
|
|
6087
|
+
},
|
|
6088
|
+
display: { type: 'object' },
|
|
6089
|
+
selectionPolicy: { type: 'object' }
|
|
6075
6090
|
},
|
|
6076
|
-
if: { properties: { type: { const: 'static' } } },
|
|
6077
|
-
then: { required: ['items'] },
|
|
6078
|
-
else: {
|
|
6079
|
-
if: { properties: { type: { const: 'remote' } } },
|
|
6080
|
-
then: { required: ['resourcePath'] },
|
|
6081
|
-
else: { required: ['contextKey'] }
|
|
6082
|
-
}
|
|
6083
6091
|
}
|
|
6084
6092
|
}
|
|
6085
6093
|
},
|
|
@@ -15259,6 +15267,10 @@ class PraxisDynamicForm {
|
|
|
15259
15267
|
mask: fieldMeta.mask,
|
|
15260
15268
|
// Common behavior & MD config to reflect current state in editor
|
|
15261
15269
|
prefixIcon: fieldMeta.prefixIcon,
|
|
15270
|
+
iconColor: fieldMeta.iconColor,
|
|
15271
|
+
iconClass: fieldMeta.iconClass,
|
|
15272
|
+
iconStyle: fieldMeta.iconStyle,
|
|
15273
|
+
iconFontSize: fieldMeta.iconFontSize,
|
|
15262
15274
|
prefixIconColor: fieldMeta.prefixIconColor,
|
|
15263
15275
|
suffixIcon: fieldMeta.suffixIcon,
|
|
15264
15276
|
suffixIconColor: fieldMeta.suffixIconColor,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/dynamic-form",
|
|
3
|
-
"version": "9.0.0-beta.
|
|
3
|
+
"version": "9.0.0-beta.14",
|
|
4
4
|
"description": "Angular dynamic form engine for Praxis UI: metadata-driven forms, hooks, and services integrating @praxisui/* packages.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0",
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
"@angular/forms": "^21.0.0",
|
|
10
10
|
"@angular/material": "^21.0.0",
|
|
11
11
|
"@angular/router": "^21.0.0",
|
|
12
|
-
"@praxisui/ai": "^9.0.0-beta.
|
|
13
|
-
"@praxisui/dynamic-fields": "^9.0.0-beta.
|
|
14
|
-
"@praxisui/metadata-editor": "^9.0.0-beta.
|
|
15
|
-
"@praxisui/rich-content": "^9.0.0-beta.
|
|
16
|
-
"@praxisui/settings-panel": "^9.0.0-beta.
|
|
17
|
-
"@praxisui/visual-builder": "^9.0.0-beta.
|
|
18
|
-
"@praxisui/core": "^9.0.0-beta.
|
|
12
|
+
"@praxisui/ai": "^9.0.0-beta.14",
|
|
13
|
+
"@praxisui/dynamic-fields": "^9.0.0-beta.14",
|
|
14
|
+
"@praxisui/metadata-editor": "^9.0.0-beta.14",
|
|
15
|
+
"@praxisui/rich-content": "^9.0.0-beta.14",
|
|
16
|
+
"@praxisui/settings-panel": "^9.0.0-beta.14",
|
|
17
|
+
"@praxisui/visual-builder": "^9.0.0-beta.14",
|
|
18
|
+
"@praxisui/core": "^9.0.0-beta.14",
|
|
19
19
|
"rxjs": "^7.8.0"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
@@ -46,7 +46,10 @@
|
|
|
46
46
|
".": {
|
|
47
47
|
"types": "./types/praxisui-dynamic-form.d.ts",
|
|
48
48
|
"default": "./fesm2022/praxisui-dynamic-form.mjs"
|
|
49
|
+
},
|
|
50
|
+
"./ai/component-registry.json": {
|
|
51
|
+
"default": "./ai/component-registry.json"
|
|
49
52
|
}
|
|
50
53
|
},
|
|
51
54
|
"type": "module"
|
|
52
|
-
}
|
|
55
|
+
}
|