@praxisui/dynamic-form 9.0.0-beta.11 → 9.0.0-beta.13

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.
@@ -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
- type: { enum: ['static', 'remote', 'context'] },
6072
- items: { type: 'array', description: 'Opções estáticas (type: static)' },
6073
- resourcePath: { type: 'string', description: 'URL da API (type: remote)' },
6074
- contextKey: { type: 'string', description: 'Chave de contexto (type: context)' }
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
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@praxisui/dynamic-form",
3
- "version": "9.0.0-beta.11",
3
+ "version": "9.0.0-beta.13",
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.11",
13
- "@praxisui/dynamic-fields": "^9.0.0-beta.11",
14
- "@praxisui/metadata-editor": "^9.0.0-beta.11",
15
- "@praxisui/rich-content": "^9.0.0-beta.11",
16
- "@praxisui/settings-panel": "^9.0.0-beta.11",
17
- "@praxisui/visual-builder": "^9.0.0-beta.11",
18
- "@praxisui/core": "^9.0.0-beta.11",
12
+ "@praxisui/ai": "^9.0.0-beta.13",
13
+ "@praxisui/dynamic-fields": "^9.0.0-beta.13",
14
+ "@praxisui/metadata-editor": "^9.0.0-beta.13",
15
+ "@praxisui/rich-content": "^9.0.0-beta.13",
16
+ "@praxisui/settings-panel": "^9.0.0-beta.13",
17
+ "@praxisui/visual-builder": "^9.0.0-beta.13",
18
+ "@praxisui/core": "^9.0.0-beta.13",
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
+ }