@vef-framework-react/form-editor 2.19.0 → 2.21.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.
Files changed (244) hide show
  1. package/dist/cjs/components/checkbox-group-field/index.cjs +1 -1
  2. package/dist/cjs/components/code-editor/index.cjs +1 -1
  3. package/dist/cjs/components/mobile/checkbox-group.cjs +1 -1
  4. package/dist/cjs/components/mobile/date-adapters.cjs +1 -1
  5. package/dist/cjs/components/mobile/date.cjs +1 -1
  6. package/dist/cjs/components/mobile/datetime.cjs +1 -1
  7. package/dist/cjs/components/mobile/radio.cjs +1 -1
  8. package/dist/cjs/components/mobile/select.cjs +1 -1
  9. package/dist/cjs/components/mobile/switch.cjs +1 -1
  10. package/dist/cjs/components/radio-field/index.cjs +1 -1
  11. package/dist/cjs/components/select-field/index.cjs +1 -1
  12. package/dist/cjs/components/upload-field/index.cjs +1 -1
  13. package/dist/cjs/editor/palette/palette-item.cjs +1 -1
  14. package/dist/cjs/editor/properties/container-properties.cjs +1 -1
  15. package/dist/cjs/editor/properties/entries/linkage/condition-editor.cjs +1 -1
  16. package/dist/cjs/editor/properties/entries/linkage/linkage-rules-entry.cjs +1 -1
  17. package/dist/cjs/editor/properties/entries/linkage/options.cjs +1 -1
  18. package/dist/cjs/editor/properties/entries/linkage/trigger-editor.cjs +1 -1
  19. package/dist/cjs/editor/properties/form-variables-panel.cjs +1 -1
  20. package/dist/cjs/editor/properties/option-editors.cjs +1 -1
  21. package/dist/cjs/editor/remove-node-confirm.cjs +2 -2
  22. package/dist/cjs/editor/toolbar/toolbar.cjs +2 -2
  23. package/dist/cjs/engine/data-source-params.cjs +1 -1
  24. package/dist/cjs/engine/keys.cjs +1 -1
  25. package/dist/cjs/engine/linkage/effects.cjs +1 -1
  26. package/dist/cjs/engine/linkage/evaluator.cjs +1 -1
  27. package/dist/cjs/engine/linkage/operators.cjs +1 -1
  28. package/dist/cjs/engine/linkage/shape.cjs +1 -0
  29. package/dist/cjs/engine/linkage/source-tracking.cjs +1 -1
  30. package/dist/cjs/engine/linkage/validator.cjs +1 -1
  31. package/dist/cjs/engine/schema/column-type.cjs +1 -1
  32. package/dist/cjs/engine/schema/permission-bridge.cjs +1 -1
  33. package/dist/cjs/engine/schema/removal-impact.cjs +1 -1
  34. package/dist/cjs/index.cjs +1 -1
  35. package/dist/cjs/render/chrome/mobile-chrome.cjs +1 -1
  36. package/dist/cjs/render/chrome/pc-chrome.cjs +1 -1
  37. package/dist/cjs/render/data-source-context.cjs +0 -0
  38. package/dist/cjs/render/data-source-param-scope.cjs +1 -1
  39. package/dist/cjs/render/form-renderer.cjs +1 -1
  40. package/dist/cjs/render/parts/field-shell.cjs +1 -1
  41. package/dist/cjs/render/parts/label.cjs +1 -1
  42. package/dist/cjs/render/parts/option-order.cjs +1 -0
  43. package/dist/cjs/render/subform-columns.cjs +1 -1
  44. package/dist/cjs/render/submit.cjs +1 -1
  45. package/dist/cjs/runtime/effects.cjs +1 -1
  46. package/dist/cjs/runtime/field-write.cjs +1 -1
  47. package/dist/cjs/runtime/runtime-state-controller.cjs +1 -1
  48. package/dist/cjs/store/form-store.cjs +1 -1
  49. package/dist/es/components/button/index.js +1 -1
  50. package/dist/es/components/checkbox-group-field/index.js +24 -22
  51. package/dist/es/components/code-editor/code-editor-input.js +1 -1
  52. package/dist/es/components/code-editor/index.js +3 -2
  53. package/dist/es/components/containers/index.js +1 -1
  54. package/dist/es/components/date-field/index.js +1 -1
  55. package/dist/es/components/display/index.js +1 -1
  56. package/dist/es/components/field-entries.js +1 -1
  57. package/dist/es/components/mobile/alert-block.js +1 -1
  58. package/dist/es/components/mobile/button.js +1 -1
  59. package/dist/es/components/mobile/checkbox-group.js +26 -24
  60. package/dist/es/components/mobile/date-adapters.js +3 -2
  61. package/dist/es/components/mobile/date.js +36 -34
  62. package/dist/es/components/mobile/daterange.js +1 -1
  63. package/dist/es/components/mobile/datetime.js +36 -34
  64. package/dist/es/components/mobile/definitions.js +1 -1
  65. package/dist/es/components/mobile/divider.js +1 -1
  66. package/dist/es/components/mobile/input-cell.js +1 -1
  67. package/dist/es/components/mobile/number.js +1 -1
  68. package/dist/es/components/mobile/option-group.js +1 -1
  69. package/dist/es/components/mobile/paragraph.js +1 -1
  70. package/dist/es/components/mobile/picker-trigger.js +1 -1
  71. package/dist/es/components/mobile/radio.js +2 -1
  72. package/dist/es/components/mobile/scope.js +1 -1
  73. package/dist/es/components/mobile/select.js +2 -2
  74. package/dist/es/components/mobile/switch.js +17 -11
  75. package/dist/es/components/mobile/textarea.js +1 -1
  76. package/dist/es/components/mobile/textfield.js +1 -1
  77. package/dist/es/components/mobile/theme.js +1 -1
  78. package/dist/es/components/number-field/index.js +1 -1
  79. package/dist/es/components/radio-field/index.js +3 -2
  80. package/dist/es/components/select-field/index.js +14 -13
  81. package/dist/es/components/switch-field/index.js +1 -1
  82. package/dist/es/components/textarea-field/index.js +1 -1
  83. package/dist/es/components/textfield/index.js +1 -1
  84. package/dist/es/components/upload-field/index.js +2 -1
  85. package/dist/es/editor/canvas/canvas-field.js +1 -1
  86. package/dist/es/editor/canvas/canvas.js +1 -1
  87. package/dist/es/editor/canvas/container-drag-chip.js +1 -1
  88. package/dist/es/editor/canvas/drop-indicator.js +1 -1
  89. package/dist/es/editor/canvas/drop-zones.js +1 -1
  90. package/dist/es/editor/canvas/json-split-view.js +1 -1
  91. package/dist/es/editor/canvas/mobile-seed-state.js +1 -1
  92. package/dist/es/editor/canvas/phone-frame.js +1 -1
  93. package/dist/es/editor/canvas/subform-column-eligibility.js +1 -1
  94. package/dist/es/editor/canvas/subform-table-cell.js +1 -1
  95. package/dist/es/editor/canvas/use-scroll-selection-into-view.js +1 -1
  96. package/dist/es/editor/context-sources.js +1 -1
  97. package/dist/es/editor/dnd.js +1 -1
  98. package/dist/es/editor/editor-layout-context.js +1 -1
  99. package/dist/es/editor/footer/footer.js +1 -1
  100. package/dist/es/editor/form-config/form-basics-tab.js +1 -1
  101. package/dist/es/editor/form-config/form-config-drawer.js +1 -1
  102. package/dist/es/editor/form-config/linkage-overview.js +1 -1
  103. package/dist/es/editor/form-config/outline-tab.js +1 -1
  104. package/dist/es/editor/form-editor.js +1 -1
  105. package/dist/es/editor/palette/field-groups.js +1 -1
  106. package/dist/es/editor/palette/palette-group.js +1 -1
  107. package/dist/es/editor/palette/palette-item.js +71 -70
  108. package/dist/es/editor/palette/palette-panel.js +1 -1
  109. package/dist/es/editor/preview-effects.js +1 -1
  110. package/dist/es/editor/preview-runtime-context.js +1 -1
  111. package/dist/es/editor/properties/block-layout-section.js +1 -1
  112. package/dist/es/editor/properties/container-properties.js +198 -200
  113. package/dist/es/editor/properties/dynamic-value-editor.js +1 -1
  114. package/dist/es/editor/properties/entries/built-ins.js +1 -1
  115. package/dist/es/editor/properties/entries/checkbox-entry.js +1 -1
  116. package/dist/es/editor/properties/entries/coerce.js +1 -1
  117. package/dist/es/editor/properties/entries/entry-field.js +1 -1
  118. package/dist/es/editor/properties/entries/icon-entry.js +1 -1
  119. package/dist/es/editor/properties/entries/index.js +1 -1
  120. package/dist/es/editor/properties/entries/key-entry.js +1 -1
  121. package/dist/es/editor/properties/entries/linkage/action-editor.js +1 -1
  122. package/dist/es/editor/properties/entries/linkage/actions-editor.js +1 -1
  123. package/dist/es/editor/properties/entries/linkage/condition-editor.js +55 -55
  124. package/dist/es/editor/properties/entries/linkage/container-linkage-section.js +1 -1
  125. package/dist/es/editor/properties/entries/linkage/expression-input.js +1 -1
  126. package/dist/es/editor/properties/entries/linkage/index.js +1 -1
  127. package/dist/es/editor/properties/entries/linkage/linkage-rules-entry.js +43 -42
  128. package/dist/es/editor/properties/entries/linkage/mutators.js +1 -1
  129. package/dist/es/editor/properties/entries/linkage/options.js +5 -2
  130. package/dist/es/editor/properties/entries/linkage/rule-diagnostics.js +1 -1
  131. package/dist/es/editor/properties/entries/linkage/rule-list-editor.js +1 -1
  132. package/dist/es/editor/properties/entries/linkage/styles.js +1 -1
  133. package/dist/es/editor/properties/entries/linkage/trigger-editor.js +29 -29
  134. package/dist/es/editor/properties/entries/linkage/use-linkage-editor-model.js +1 -1
  135. package/dist/es/editor/properties/entries/linkage/use-stable-options.js +1 -1
  136. package/dist/es/editor/properties/entries/number-entry.js +1 -1
  137. package/dist/es/editor/properties/entries/options-source/index.js +1 -1
  138. package/dist/es/editor/properties/entries/options-source/source-mutators.js +1 -1
  139. package/dist/es/editor/properties/entries/select-entry.js +1 -1
  140. package/dist/es/editor/properties/entries/text-entry.js +1 -1
  141. package/dist/es/editor/properties/form-data-sources-panel.js +1 -1
  142. package/dist/es/editor/properties/form-linkage-panel.js +1 -1
  143. package/dist/es/editor/properties/form-variables-panel.js +68 -67
  144. package/dist/es/editor/properties/option-editors.js +102 -85
  145. package/dist/es/editor/properties/panel-header.js +1 -1
  146. package/dist/es/editor/properties/properties-empty.js +1 -1
  147. package/dist/es/editor/properties/properties-header.js +1 -1
  148. package/dist/es/editor/properties/properties-panel.js +1 -1
  149. package/dist/es/editor/properties/properties-provider.js +1 -1
  150. package/dist/es/editor/properties/properties-tabs.js +1 -1
  151. package/dist/es/editor/properties/use-confirmable-kind-switch.js +1 -1
  152. package/dist/es/editor/remove-node-confirm.js +36 -29
  153. package/dist/es/editor/schema-apply.js +1 -1
  154. package/dist/es/editor/styles.js +1 -1
  155. package/dist/es/editor/toolbar/notify.js +1 -1
  156. package/dist/es/editor/toolbar/schema-io.js +1 -1
  157. package/dist/es/editor/toolbar/toolbar.js +169 -168
  158. package/dist/es/editor/use-editor-shortcuts.js +1 -1
  159. package/dist/es/editor/validation-summary.js +1 -1
  160. package/dist/es/engine/assert-never.js +1 -1
  161. package/dist/es/engine/conversion/index.js +1 -1
  162. package/dist/es/engine/data-source-params.js +17 -17
  163. package/dist/es/engine/ids.js +1 -1
  164. package/dist/es/engine/keys.js +6 -3
  165. package/dist/es/engine/linkage/cycle.js +1 -1
  166. package/dist/es/engine/linkage/default-evaluator.js +1 -1
  167. package/dist/es/engine/linkage/effects.js +38 -32
  168. package/dist/es/engine/linkage/evaluator.js +67 -57
  169. package/dist/es/engine/linkage/index.js +1 -1
  170. package/dist/es/engine/linkage/operators.js +2 -2
  171. package/dist/es/engine/linkage/shape.js +21 -0
  172. package/dist/es/engine/linkage/source-tracking.js +20 -11
  173. package/dist/es/engine/linkage/taxonomy.js +1 -1
  174. package/dist/es/engine/linkage/validator.js +175 -174
  175. package/dist/es/engine/registry/defaults-mobile.js +1 -1
  176. package/dist/es/engine/registry/defaults.js +1 -1
  177. package/dist/es/engine/registry/form-field-registry.js +1 -1
  178. package/dist/es/engine/schema/column-type.js +6 -2
  179. package/dist/es/engine/schema/edit-ops.js +1 -1
  180. package/dist/es/engine/schema/mutate.js +1 -1
  181. package/dist/es/engine/schema/nodes.js +1 -1
  182. package/dist/es/engine/schema/permission-bridge.js +4 -3
  183. package/dist/es/engine/schema/presentation.js +1 -1
  184. package/dist/es/engine/schema/reconcile.js +1 -1
  185. package/dist/es/engine/schema/removal-impact.js +60 -39
  186. package/dist/es/engine/schema/rewrite.js +1 -1
  187. package/dist/es/engine/schema/validate.js +1 -1
  188. package/dist/es/engine/schema/walk.js +1 -1
  189. package/dist/es/engine/validation.js +1 -1
  190. package/dist/es/icons.js +1 -1
  191. package/dist/es/index.js +6 -6
  192. package/dist/es/render/chrome/mobile-chrome.js +67 -66
  193. package/dist/es/render/chrome/pc-chrome.js +38 -37
  194. package/dist/es/render/chrome/subform-shell.js +1 -1
  195. package/dist/es/render/data-source-context.js +0 -0
  196. package/dist/es/render/data-source-param-scope.js +19 -20
  197. package/dist/es/render/flex-style.js +1 -1
  198. package/dist/es/render/form-field.js +1 -1
  199. package/dist/es/render/form-renderer.js +261 -256
  200. package/dist/es/render/grid-style.js +1 -1
  201. package/dist/es/render/parts/field-shell.js +29 -22
  202. package/dist/es/render/parts/label.js +12 -10
  203. package/dist/es/render/parts/option-order.js +8 -0
  204. package/dist/es/render/parts/options-status.js +1 -1
  205. package/dist/es/render/stack-style.js +1 -1
  206. package/dist/es/render/subform-columns.js +49 -48
  207. package/dist/es/render/submit.js +73 -53
  208. package/dist/es/runtime/effects.js +68 -53
  209. package/dist/es/runtime/field-write.js +15 -5
  210. package/dist/es/runtime/resolve-scope-values.js +1 -1
  211. package/dist/es/runtime/runtime-context.js +1 -1
  212. package/dist/es/runtime/runtime-state-controller.js +91 -78
  213. package/dist/es/runtime/stabilize-state-map.js +1 -1
  214. package/dist/es/store/engine-provider.js +1 -1
  215. package/dist/es/store/form-store.js +147 -111
  216. package/dist/es/types/chrome.js +1 -1
  217. package/dist/es/types/component.js +1 -1
  218. package/dist/es/types/data-source.js +1 -1
  219. package/dist/es/types/dynamic-value.js +1 -1
  220. package/dist/es/types/index.js +1 -1
  221. package/dist/es/types/linkage.js +1 -1
  222. package/dist/es/types/properties.js +1 -1
  223. package/dist/es/types/schema.js +1 -1
  224. package/dist/types/components/mobile/date-adapters.d.ts +21 -0
  225. package/dist/types/components/mobile/switch.d.ts +5 -3
  226. package/dist/types/editor/properties/entries/linkage/options.d.ts +16 -0
  227. package/dist/types/editor/remove-node-confirm.d.ts +6 -0
  228. package/dist/types/engine/keys.d.ts +5 -0
  229. package/dist/types/engine/linkage/effects.d.ts +13 -3
  230. package/dist/types/engine/linkage/shape.d.ts +54 -0
  231. package/dist/types/engine/linkage/source-tracking.d.ts +20 -1
  232. package/dist/types/engine/schema/removal-impact.d.ts +23 -0
  233. package/dist/types/render/data-source-param-scope.d.ts +18 -8
  234. package/dist/types/render/parts/field-shell.d.ts +16 -1
  235. package/dist/types/render/parts/label.d.ts +14 -1
  236. package/dist/types/render/parts/option-order.d.ts +20 -0
  237. package/dist/types/render/submit.d.ts +7 -4
  238. package/dist/types/runtime/effects.d.ts +1 -0
  239. package/dist/types/runtime/field-write.d.ts +7 -1
  240. package/dist/types/runtime/runtime-state-controller.d.ts +4 -2
  241. package/dist/types/store/form-store.d.ts +15 -3
  242. package/dist/types/types/chrome.d.ts +7 -0
  243. package/dist/types/types/schema.d.ts +19 -5
  244. package/package.json +5 -5
@@ -1,20 +1,21 @@
1
- /*! @vef-framework-react/form-editor v2.19.0 made by Venus | 2026-09-01T08:49:01.461Z */
2
- import { isLeafField as e, walkNodes as t } from "../schema/walk.js";
3
- import { createIssue as n, isRecord as r, validateRemoteRequest as i } from "../validation.js";
1
+ /*! @vef-framework-react/form-editor v2.21.0 made by Venus | 2026-09-14T13:39:26.088Z */
2
+ import { createIssue as e, isRecord as t, validateRemoteRequest as n } from "../validation.js";
3
+ import { hasConditionTriggeredShow as r } from "./shape.js";
4
+ import { isLeafField as i, walkNodes as a } from "../schema/walk.js";
4
5
  import "../assert-never.js";
5
- import { isKeyedNode as a } from "../keys.js";
6
- import { LINKAGE_OPERATORS as o } from "./operators.js";
7
- import { ALERT_LEVELS as s, FIELD_TRIGGER_KINDS as c, FORM_TRIGGER_KINDS as l, KEYED_ONLY_ACTIONS as u, LINKAGE_ACTION_TYPES as d, isStateAction as f } from "./taxonomy.js";
8
- import { collectConditionSourceKeys as p } from "./source-tracking.js";
9
- import { findLinkageCycles as m } from "./cycle.js";
6
+ import { isKeyedNode as o } from "../keys.js";
7
+ import { LINKAGE_OPERATORS as s } from "./operators.js";
8
+ import { ALERT_LEVELS as c, FIELD_TRIGGER_KINDS as l, FORM_TRIGGER_KINDS as u, KEYED_ONLY_ACTIONS as d, LINKAGE_ACTION_TYPES as f, isStateAction as p } from "./taxonomy.js";
9
+ import { collectConditionSourceKeys as m } from "./source-tracking.js";
10
+ import { findLinkageCycles as h } from "./cycle.js";
10
11
  //#region src/engine/linkage/validator.ts
11
- var h = {
12
- triggerKinds: c,
13
- allowStateActions: !0
14
- }, g = {
12
+ var g = {
15
13
  triggerKinds: l,
14
+ allowStateActions: !0
15
+ }, _ = {
16
+ triggerKinds: u,
16
17
  allowStateActions: !1
17
- }, _ = new Set(d), v = new Set(o), y = new Set(s), b = {
18
+ }, v = new Set(f), y = new Set(s), b = new Set(c), x = {
18
19
  show: !1,
19
20
  hide: !1,
20
21
  enable: !1,
@@ -23,152 +24,152 @@ var h = {
23
24
  optional: !1,
24
25
  assign: !0,
25
26
  script: !0
26
- }, x = new Set(Object.keys(b).filter((e) => b[e]));
27
- function S(e) {
27
+ }, S = new Set(Object.keys(x).filter((e) => x[e]));
28
+ function C(e) {
28
29
  return e.join("/");
29
30
  }
30
- function C(e, i) {
31
- let o = [], s = /* @__PURE__ */ new Map();
32
- t(e, (e, t) => {
33
- if (!a(e)) return;
34
- let n = S(t), r = s.get(n) ?? /* @__PURE__ */ new Map();
31
+ function w(n, r) {
32
+ let i = [], s = /* @__PURE__ */ new Map();
33
+ a(n, (e, t) => {
34
+ if (!o(e)) return;
35
+ let n = C(t), r = s.get(n) ?? /* @__PURE__ */ new Map();
35
36
  r.set(e.key, e), s.set(n, r);
36
37
  });
37
38
  let c = /* @__PURE__ */ new Map();
38
- t(e, (e, t) => {
39
- let { linkage: i } = e;
40
- if (i === void 0) return;
41
- let a = `node[${e.id}].linkage`;
42
- if (!r(i)) {
43
- o.push(n(a, "linkage_malformed"));
39
+ a(n, (n, r) => {
40
+ let { linkage: a } = n;
41
+ if (a === void 0) return;
42
+ let o = `node[${n.id}].linkage`;
43
+ if (!t(a)) {
44
+ i.push(e(o, "linkage_malformed"));
44
45
  return;
45
46
  }
46
- let l = S(t), u = s.get(l) ?? /* @__PURE__ */ new Map();
47
- T({
48
- block: e,
49
- defaults: i.defaults,
50
- issues: o,
51
- where: a
52
- }), D({
53
- block: e,
47
+ let l = C(r), u = s.get(l) ?? /* @__PURE__ */ new Map();
48
+ E({
49
+ block: n,
50
+ defaults: a.defaults,
51
+ issues: i,
52
+ where: o
53
+ }), O({
54
+ block: n,
54
55
  edges: c,
55
- issues: o,
56
+ issues: i,
56
57
  keyedNodes: u,
57
- policy: h,
58
- rules: i.rules,
58
+ policy: g,
59
+ rules: a.rules,
59
60
  scopeKey: l,
60
- where: a
61
- }), E({
62
- defaults: i.defaults,
63
- issues: o,
64
- rules: i.rules,
65
- where: a
61
+ where: o
62
+ }), D({
63
+ defaults: a.defaults,
64
+ issues: i,
65
+ rules: a.rules,
66
+ where: o
66
67
  });
67
- }), i !== void 0 && (r(i) ? (i.defaults !== void 0 && o.push(n("schema.linkage.defaults", "defaults_on_form_scope")), D({
68
+ }), r !== void 0 && (t(r) ? (r.defaults !== void 0 && i.push(e("schema.linkage.defaults", "defaults_on_form_scope")), O({
68
69
  block: null,
69
70
  edges: c,
70
- issues: o,
71
- keyedNodes: s.get(S([])) ?? /* @__PURE__ */ new Map(),
72
- policy: g,
73
- rules: i.rules,
74
- scopeKey: S([]),
71
+ issues: i,
72
+ keyedNodes: s.get(C([])) ?? /* @__PURE__ */ new Map(),
73
+ policy: _,
74
+ rules: r.rules,
75
+ scopeKey: C([]),
75
76
  where: "schema.linkage"
76
- })) : o.push(n("schema.linkage", "linkage_malformed")));
77
- for (let e of m(c)) o.push(n("linkage", "cycle_detected", { cycle: e }));
78
- return { issues: o };
79
- }
80
- function w(t) {
81
- return e(t) && a(t);
77
+ })) : i.push(e("schema.linkage", "linkage_malformed")));
78
+ for (let t of h(c)) i.push(e("linkage", "cycle_detected", { cycle: t }));
79
+ return { issues: i };
82
80
  }
83
81
  function T(e) {
84
- let { block: t, defaults: i, issues: a, where: o } = e;
82
+ return i(e) && o(e);
83
+ }
84
+ function E(n) {
85
+ let { block: r, defaults: i, issues: a, where: o } = n;
85
86
  if (i !== void 0) {
86
- if (!r(i)) {
87
- a.push(n(`${o}.defaults`, "linkage_malformed"));
87
+ if (!t(i)) {
88
+ a.push(e(`${o}.defaults`, "linkage_malformed"));
88
89
  return;
89
90
  }
90
- i.required === !0 && !w(t) && a.push(n(`${o}.defaults.required`, "defaults_requires_keyed_leaf"));
91
+ i.required === !0 && !T(r) && a.push(e(`${o}.defaults.required`, "defaults_requires_keyed_leaf"));
91
92
  }
92
93
  }
93
- function E(e) {
94
- let { defaults: t, issues: i, rules: a, where: o } = e;
95
- !r(t) || t.hidden !== !0 || Array.isArray(a) && a.some((e) => r(e) && r(e.trigger) && e.trigger.kind === "condition" && Array.isArray(e.actions) && e.actions.some((e) => r(e) && e.type === "show")) || i.push(n(`${o}.defaults.hidden`, "default_hidden_unreachable"));
94
+ function D(n) {
95
+ let { defaults: i, issues: a, rules: o, where: s } = n;
96
+ !t(i) || i.hidden !== !0 || r(o) || a.push(e(`${s}.defaults.hidden`, "default_hidden_unreachable"));
96
97
  }
97
- function D(e) {
98
- let { block: t, edges: r, issues: i, keyedNodes: a, policy: o, rules: s, scopeKey: c, where: l } = e;
98
+ function O(t) {
99
+ let { block: n, edges: r, issues: i, keyedNodes: a, policy: o, rules: s, scopeKey: c, where: l } = t;
99
100
  if (s === void 0) return;
100
101
  if (!Array.isArray(s)) {
101
- i.push(n(`${l}.rules`, "rules_not_array"));
102
+ i.push(e(`${l}.rules`, "rules_not_array"));
102
103
  return;
103
104
  }
104
105
  let u = s;
105
- for (let [e, n] of u.entries()) O({
106
- block: t,
106
+ for (let [e, t] of u.entries()) k({
107
+ block: n,
107
108
  edges: r,
108
109
  issues: i,
109
110
  keyedNodes: a,
110
111
  policy: o,
111
- rule: n,
112
+ rule: t,
112
113
  scopeKey: c,
113
114
  where: `${l}.rules[${e}]`
114
115
  });
115
116
  }
116
- function O(e) {
117
- let { block: t, edges: i, issues: o, keyedNodes: s, policy: c, rule: l, scopeKey: u, where: d } = e;
118
- if (!r(l)) {
119
- o.push(n(d, "rule_malformed"));
117
+ function k(n) {
118
+ let { block: r, edges: i, issues: a, keyedNodes: s, policy: c, rule: l, scopeKey: u, where: d } = n;
119
+ if (!t(l)) {
120
+ a.push(e(d, "rule_malformed"));
120
121
  return;
121
122
  }
122
- let p = typeof l.id == "string" && l.id.length > 0 ? l.id : void 0;
123
- p === void 0 && o.push(n(`${d}.id`, "id_required"));
124
- let m = k({
125
- block: t,
126
- issues: o,
123
+ let f = typeof l.id == "string" && l.id.length > 0 ? l.id : void 0;
124
+ f === void 0 && a.push(e(`${d}.id`, "id_required"));
125
+ let m = A({
126
+ block: r,
127
+ issues: a,
127
128
  keyedNodes: s,
128
129
  policy: c,
129
- ruleId: p,
130
+ ruleId: f,
130
131
  trigger: l.trigger,
131
132
  where: `${d}.trigger`
132
- }), h = m !== void 0 && m.kind !== "condition", g = A({
133
+ }), h = m !== void 0 && m.kind !== "condition", g = j({
133
134
  actions: l.actions,
134
- block: t,
135
+ block: r,
135
136
  isEdge: h,
136
- issues: o,
137
+ issues: a,
137
138
  keyedNodes: s,
138
139
  policy: c,
139
- ruleId: p,
140
+ ruleId: f,
140
141
  where: `${d}.actions`
141
- }), _ = g.some((e) => f(e) && x.has(e.type));
142
+ }), _ = g.some((e) => p(e) && S.has(e.type));
142
143
  if (m?.kind === "condition") {
143
144
  let e = [];
144
- c.allowStateActions && _ && t && a(t) && e.push(t.key);
145
+ c.allowStateActions && _ && r && o(r) && e.push(r.key);
145
146
  for (let t of g) t.type === "set_field" && t.retrigger === "always" && t.targetKey !== "" && e.push(t.targetKey);
146
- for (let t of e) R({
147
+ for (let t of e) z({
147
148
  condition: m.condition,
148
149
  edges: i,
149
- issues: o,
150
- ruleId: p,
150
+ issues: a,
151
+ ruleId: f,
151
152
  scopeKey: u,
152
153
  targetKey: t,
153
154
  where: `${d}.trigger.condition`
154
155
  });
155
156
  }
156
157
  }
157
- function k(e) {
158
- let { block: t, issues: i, keyedNodes: a, policy: o, ruleId: s, trigger: c, where: l } = e;
159
- if (!r(c) || typeof c.kind != "string") {
160
- i.push(n(l, "trigger_malformed", void 0, s));
158
+ function A(n) {
159
+ let { block: r, issues: i, keyedNodes: a, policy: o, ruleId: s, trigger: c, where: l } = n;
160
+ if (!t(c) || typeof c.kind != "string") {
161
+ i.push(e(l, "trigger_malformed", void 0, s));
161
162
  return;
162
163
  }
163
164
  if (!o.triggerKinds.includes(c.kind)) {
164
- i.push(n(`${l}.kind`, "trigger_kind_invalid", { kind: c.kind }, s));
165
+ i.push(e(`${l}.kind`, "trigger_kind_invalid", { kind: c.kind }, s));
165
166
  return;
166
167
  }
167
- if (c.kind === "change" && t !== null && !w(t)) {
168
- i.push(n(`${l}.kind`, "trigger_requires_keyed_leaf", void 0, s));
168
+ if (c.kind === "change" && r !== null && !T(r)) {
169
+ i.push(e(`${l}.kind`, "trigger_requires_keyed_leaf", void 0, s));
169
170
  return;
170
171
  }
171
- if (!(c.kind === "condition" && !P({
172
+ if (!(c.kind === "condition" && !F({
172
173
  condition: c.condition,
173
174
  issues: i,
174
175
  keyedNodes: a,
@@ -176,13 +177,13 @@ function k(e) {
176
177
  where: `${l}.condition`
177
178
  }))) return c;
178
179
  }
179
- function A(e) {
180
- let { actions: t, block: r, isEdge: i, issues: a, keyedNodes: o, policy: s, ruleId: c, where: l } = e;
181
- if (!Array.isArray(t)) return a.push(n(l, "actions_not_array", void 0, c)), [];
182
- if (t.length === 0) return a.push(n(l, "actions_empty", void 0, c)), [];
183
- let u = t, d = [];
180
+ function j(t) {
181
+ let { actions: n, block: r, isEdge: i, issues: a, keyedNodes: o, policy: s, ruleId: c, where: l } = t;
182
+ if (!Array.isArray(n)) return a.push(e(l, "actions_not_array", void 0, c)), [];
183
+ if (n.length === 0) return a.push(e(l, "actions_empty", void 0, c)), [];
184
+ let u = n, d = [];
184
185
  for (let [e, t] of u.entries()) {
185
- let n = j({
186
+ let n = M({
186
187
  action: t,
187
188
  block: r,
188
189
  isEdge: i,
@@ -196,27 +197,27 @@ function A(e) {
196
197
  }
197
198
  return d;
198
199
  }
199
- function j(e) {
200
- let { action: t, block: i, isEdge: a, issues: o, keyedNodes: s, policy: c, ruleId: l, where: u } = e;
201
- if (!r(t)) {
202
- o.push(n(u, "action_malformed", void 0, l));
200
+ function M(n) {
201
+ let { action: r, block: i, isEdge: a, issues: o, keyedNodes: s, policy: c, ruleId: l, where: u } = n;
202
+ if (!t(r)) {
203
+ o.push(e(u, "action_malformed", void 0, l));
203
204
  return;
204
205
  }
205
- if (typeof t.type != "string" || !_.has(t.type)) {
206
- o.push(n(`${u}.type`, "action_unknown_type", { type: String(t.type) }, l));
206
+ if (typeof r.type != "string" || !v.has(r.type)) {
207
+ o.push(e(`${u}.type`, "action_unknown_type", { type: String(r.type) }, l));
207
208
  return;
208
209
  }
209
- let d = t;
210
- if (f(d)) {
210
+ let d = r;
211
+ if (p(d)) {
211
212
  if (a) {
212
- o.push(n(`${u}.type`, "state_action_on_edge_trigger", { type: d.type }, l));
213
+ o.push(e(`${u}.type`, "state_action_on_edge_trigger", { type: d.type }, l));
213
214
  return;
214
215
  }
215
216
  if (!c.allowStateActions) {
216
- o.push(n(`${u}.type`, "state_action_on_form_scope", { type: d.type }, l));
217
+ o.push(e(`${u}.type`, "state_action_on_form_scope", { type: d.type }, l));
217
218
  return;
218
219
  }
219
- return M({
220
+ return N({
220
221
  action: d,
221
222
  block: i,
222
223
  issues: o,
@@ -224,8 +225,8 @@ function j(e) {
224
225
  where: u
225
226
  }), d;
226
227
  }
227
- let { retrigger: p } = t;
228
- return p !== void 0 && (p !== "edge" && p !== "always" ? o.push(n(`${u}.retrigger`, "retrigger_invalid", void 0, l)) : a && o.push(n(`${u}.retrigger`, "retrigger_ignored", void 0, l))), N({
228
+ let { retrigger: f } = r;
229
+ return f !== void 0 && (f !== "edge" && f !== "always" ? o.push(e(`${u}.retrigger`, "retrigger_invalid", void 0, l)) : a && o.push(e(`${u}.retrigger`, "retrigger_ignored", void 0, l))), P({
229
230
  action: d,
230
231
  issues: o,
231
232
  keyedNodes: s,
@@ -233,102 +234,102 @@ function j(e) {
233
234
  where: u
234
235
  }), d;
235
236
  }
236
- function M(e) {
237
- let { action: t, block: r, issues: i, ruleId: a, where: o } = e;
238
- u.has(t.type) && (!r || !w(r)) && i.push(n(`${o}.type`, "action_requires_keyed_leaf", { type: t.type }, a)), t.type === "assign" ? L({
237
+ function N(t) {
238
+ let { action: n, block: r, issues: i, ruleId: a, where: o } = t;
239
+ d.has(n.type) && (!r || !T(r)) && i.push(e(`${o}.type`, "action_requires_keyed_leaf", { type: n.type }, a)), n.type === "assign" ? R({
239
240
  issues: i,
240
241
  ruleId: a,
241
- value: t.value,
242
+ value: n.value,
242
243
  where: `${o}.value`
243
- }) : t.type === "script" && (typeof t.source == "string" ? t.source.length === 0 && i.push(n(`${o}.source`, "source_empty", void 0, a)) : i.push(n(`${o}.source`, "action_malformed", void 0, a)));
244
+ }) : n.type === "script" && (typeof n.source == "string" ? n.source.length === 0 && i.push(e(`${o}.source`, "source_empty", void 0, a)) : i.push(e(`${o}.source`, "action_malformed", void 0, a)));
244
245
  }
245
- function N(e) {
246
- let { action: t, issues: r, keyedNodes: a, ruleId: o, where: s } = e;
247
- switch (t.type) {
246
+ function P(t) {
247
+ let { action: r, issues: i, keyedNodes: a, ruleId: o, where: s } = t;
248
+ switch (r.type) {
248
249
  case "set_field": {
249
- let { targetKey: e } = t;
250
- typeof e == "string" ? e.length === 0 ? r.push(n(`${s}.targetKey`, "target_key_empty", void 0, o)) : a.has(e) || r.push(n(`${s}.targetKey`, "target_key_unresolved", { key: e }, o)) : r.push(n(`${s}.targetKey`, "action_malformed", void 0, o)), L({
251
- issues: r,
250
+ let { targetKey: t } = r;
251
+ typeof t == "string" ? t.length === 0 ? i.push(e(`${s}.targetKey`, "target_key_empty", void 0, o)) : a.has(t) || i.push(e(`${s}.targetKey`, "target_key_unresolved", { key: t }, o)) : i.push(e(`${s}.targetKey`, "action_malformed", void 0, o)), R({
252
+ issues: i,
252
253
  ruleId: o,
253
- value: t.value,
254
+ value: r.value,
254
255
  where: `${s}.value`
255
256
  });
256
257
  return;
257
258
  }
258
259
  case "set_variable": {
259
- let { variable: e } = t;
260
- typeof e == "string" ? e.length === 0 && r.push(n(`${s}.variable`, "variable_empty", void 0, o)) : r.push(n(`${s}.variable`, "action_malformed", void 0, o)), L({
261
- issues: r,
260
+ let { variable: t } = r;
261
+ typeof t == "string" ? t.length === 0 && i.push(e(`${s}.variable`, "variable_empty", void 0, o)) : i.push(e(`${s}.variable`, "action_malformed", void 0, o)), R({
262
+ issues: i,
262
263
  ruleId: o,
263
- value: t.value,
264
+ value: r.value,
264
265
  where: `${s}.value`
265
266
  });
266
267
  return;
267
268
  }
268
269
  case "refresh_data_source": {
269
- let { dataSourceId: e } = t;
270
- typeof e == "string" ? e.length === 0 && r.push(n(`${s}.dataSourceId`, "data_source_id_empty", void 0, o)) : r.push(n(`${s}.dataSourceId`, "action_malformed", void 0, o));
270
+ let { dataSourceId: t } = r;
271
+ typeof t == "string" ? t.length === 0 && i.push(e(`${s}.dataSourceId`, "data_source_id_empty", void 0, o)) : i.push(e(`${s}.dataSourceId`, "action_malformed", void 0, o));
271
272
  return;
272
273
  }
273
274
  case "alert": {
274
- let { level: e } = t;
275
- e !== void 0 && !y.has(e) && r.push(n(`${s}.level`, "alert_level_invalid", void 0, o)), L({
276
- issues: r,
275
+ let { level: t } = r;
276
+ t !== void 0 && !b.has(t) && i.push(e(`${s}.level`, "alert_level_invalid", void 0, o)), R({
277
+ issues: i,
277
278
  ruleId: o,
278
- value: t.message,
279
+ value: r.message,
279
280
  where: `${s}.message`
280
281
  });
281
282
  return;
282
283
  }
283
284
  case "navigate":
284
- L({
285
- issues: r,
285
+ R({
286
+ issues: i,
286
287
  ruleId: o,
287
- value: t.to,
288
+ value: r.to,
288
289
  where: `${s}.to`
289
290
  });
290
291
  return;
291
292
  case "api_call":
292
- r.push(...i(t.request, `${s}.request`, o));
293
+ i.push(...n(r.request, `${s}.request`, o));
293
294
  return;
294
295
  case "submit": return;
295
296
  case "reset": return;
296
297
  default:
297
298
  }
298
299
  }
299
- function P(e) {
300
- let { condition: t, issues: i, keyedNodes: a, ruleId: o, where: s } = e;
301
- if (!r(t)) return i.push(n(s, "condition_malformed", void 0, o)), !1;
302
- switch (t.kind) {
303
- case "leaf": return F({
304
- condition: t,
300
+ function F(n) {
301
+ let { condition: r, issues: i, keyedNodes: a, ruleId: o, where: s } = n;
302
+ if (!t(r)) return i.push(e(s, "condition_malformed", void 0, o)), !1;
303
+ switch (r.kind) {
304
+ case "leaf": return I({
305
+ condition: r,
305
306
  issues: i,
306
307
  keyedNodes: a,
307
308
  ruleId: o,
308
309
  where: s
309
310
  });
310
- case "group": return I({
311
- condition: t,
311
+ case "group": return L({
312
+ condition: r,
312
313
  issues: i,
313
314
  keyedNodes: a,
314
315
  ruleId: o,
315
316
  where: s
316
317
  });
317
- case "expression": return typeof t.source == "string" ? (t.source.length === 0 && i.push(n(`${s}.source`, "source_empty", void 0, o)), !0) : (i.push(n(`${s}.source`, "condition_malformed", void 0, o)), !1);
318
- default: return i.push(n(`${s}.kind`, "condition_kind_invalid", void 0, o)), !1;
318
+ case "expression": return typeof r.source == "string" ? (r.source.length === 0 && i.push(e(`${s}.source`, "source_empty", void 0, o)), !0) : (i.push(e(`${s}.source`, "condition_malformed", void 0, o)), !1);
319
+ default: return i.push(e(`${s}.kind`, "condition_kind_invalid", void 0, o)), !1;
319
320
  }
320
321
  }
321
- function F(e) {
322
- let { condition: t, issues: r, keyedNodes: i, ruleId: a, where: o } = e, s = !0, { operator: c, sourceKey: l } = t;
323
- return typeof l == "string" ? l.length === 0 ? r.push(n(`${o}.sourceKey`, "source_key_empty", void 0, a)) : !l.startsWith("$") && !i.has(l) && r.push(n(`${o}.sourceKey`, "source_key_unresolved", { key: l }, a)) : (r.push(n(`${o}.sourceKey`, "condition_malformed", void 0, a)), s = !1), (typeof c != "string" || !v.has(c)) && (r.push(n(`${o}.operator`, "operator_invalid", void 0, a)), s = !1), s;
322
+ function I(t) {
323
+ let { condition: n, issues: r, keyedNodes: i, ruleId: a, where: o } = t, s = !0, { operator: c, sourceKey: l } = n;
324
+ return typeof l == "string" ? l.length === 0 ? r.push(e(`${o}.sourceKey`, "source_key_empty", void 0, a)) : !l.startsWith("$") && !i.has(l) && r.push(e(`${o}.sourceKey`, "source_key_unresolved", { key: l }, a)) : (r.push(e(`${o}.sourceKey`, "condition_malformed", void 0, a)), s = !1), (typeof c != "string" || !y.has(c)) && (r.push(e(`${o}.operator`, "operator_invalid", void 0, a)), s = !1), s;
324
325
  }
325
- function I(e) {
326
- let { condition: t, issues: r, keyedNodes: i, ruleId: a, where: o } = e, s = !0;
327
- if (t.logic !== "all" && t.logic !== "any" && (r.push(n(`${o}.logic`, "logic_invalid", void 0, a)), s = !1), !Array.isArray(t.children)) return r.push(n(`${o}.children`, "children_not_array", void 0, a)), !1;
328
- let { children: c } = t;
329
- c.length === 0 && r.push(n(`${o}.children`, "condition_group_empty", void 0, a));
326
+ function L(t) {
327
+ let { condition: n, issues: r, keyedNodes: i, ruleId: a, where: o } = t, s = !0;
328
+ if (n.logic !== "all" && n.logic !== "any" && (r.push(e(`${o}.logic`, "logic_invalid", void 0, a)), s = !1), !Array.isArray(n.children)) return r.push(e(`${o}.children`, "children_not_array", void 0, a)), !1;
329
+ let { children: c } = n;
330
+ c.length === 0 && r.push(e(`${o}.children`, "condition_group_empty", void 0, a));
330
331
  for (let [e, t] of c.entries()) {
331
- let n = P({
332
+ let n = F({
332
333
  condition: t,
333
334
  issues: r,
334
335
  keyedNodes: i,
@@ -339,31 +340,31 @@ function I(e) {
339
340
  }
340
341
  return s;
341
342
  }
342
- function L(e) {
343
- let { issues: t, ruleId: i, value: a, where: o } = e;
344
- if (!r(a)) {
345
- t.push(n(o, "value_malformed", void 0, i));
343
+ function R(n) {
344
+ let { issues: r, ruleId: i, value: a, where: o } = n;
345
+ if (!t(a)) {
346
+ r.push(e(o, "value_malformed", void 0, i));
346
347
  return;
347
348
  }
348
349
  if (a.kind !== "literal") {
349
350
  if (a.kind === "expression") {
350
- typeof a.source == "string" ? a.source.length === 0 && t.push(n(`${o}.source`, "source_empty", void 0, i)) : t.push(n(`${o}.source`, "value_malformed", void 0, i));
351
+ typeof a.source == "string" ? a.source.length === 0 && r.push(e(`${o}.source`, "source_empty", void 0, i)) : r.push(e(`${o}.source`, "value_malformed", void 0, i));
351
352
  return;
352
353
  }
353
- t.push(n(`${o}.kind`, "value_malformed", void 0, i));
354
+ r.push(e(`${o}.kind`, "value_malformed", void 0, i));
354
355
  }
355
356
  }
356
- function R(e) {
357
- let { condition: t, edges: r, issues: i, ruleId: a, scopeKey: o, targetKey: s, where: c } = e, l = /* @__PURE__ */ new Set();
358
- p(t, l);
359
- for (let e of l) {
360
- if (e === s) {
361
- i.push(n(c, "self_reference", void 0, a));
357
+ function z(t) {
358
+ let { condition: n, edges: r, issues: i, ruleId: a, scopeKey: o, targetKey: s, where: c } = t, l = /* @__PURE__ */ new Set();
359
+ m(n, l);
360
+ for (let t of l) {
361
+ if (t === s) {
362
+ i.push(e(c, "self_reference", void 0, a));
362
363
  continue;
363
364
  }
364
- let t = `${o}::${e}`, l = `${o}::${s}`, u = r.get(t) ?? /* @__PURE__ */ new Set();
365
- u.add(l), r.set(t, u);
365
+ let n = `${o}::${t}`, l = `${o}::${s}`, u = r.get(n) ?? /* @__PURE__ */ new Set();
366
+ u.add(l), r.set(n, u);
366
367
  }
367
368
  }
368
369
  //#endregion
369
- export { C as validateLinkageSchema };
370
+ export { w as validateLinkageSchema };
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/form-editor v2.19.0 made by Venus | 2026-09-01T08:49:01.461Z */
1
+ /*! @vef-framework-react/form-editor v2.21.0 made by Venus | 2026-09-14T13:39:26.088Z */
2
2
  import { mobileFieldDefinitions as e } from "../../components/mobile/definitions.js";
3
3
  import { FormFieldRegistry as t } from "./form-field-registry.js";
4
4
  import { mobileContainerChrome as n } from "../../render/chrome/mobile-chrome.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/form-editor v2.19.0 made by Venus | 2026-09-01T08:49:01.461Z */
1
+ /*! @vef-framework-react/form-editor v2.21.0 made by Venus | 2026-09-14T13:39:26.088Z */
2
2
  import { buttonDefinition as e } from "../../components/button/index.js";
3
3
  import { checkboxGroupFieldDefinition as t } from "../../components/checkbox-group-field/index.js";
4
4
  import { codeEditorDefinition as n } from "../../components/code-editor/index.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/form-editor v2.19.0 made by Venus | 2026-09-01T08:49:01.461Z */
1
+ /*! @vef-framework-react/form-editor v2.21.0 made by Venus | 2026-09-14T13:39:26.088Z */
2
2
  //#region src/engine/registry/form-field-registry.ts
3
3
  var e = class {
4
4
  fields = /* @__PURE__ */ new Map();
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/form-editor v2.19.0 made by Venus | 2026-09-01T08:49:01.461Z */
1
+ /*! @vef-framework-react/form-editor v2.21.0 made by Venus | 2026-09-14T13:39:26.088Z */
2
2
  import { walkUniqueRootKeyedFields as e } from "../keys.js";
3
3
  //#region src/engine/schema/column-type.ts
4
4
  var t = {
@@ -17,7 +17,11 @@ function n(e) {
17
17
  let { precision: t } = e;
18
18
  return t !== void 0 && t > 0 ? "decimal" : "integer";
19
19
  }
20
- let r = t[e.type];
20
+ if (e.type === "upload") {
21
+ let { maxCount: t } = e;
22
+ return t !== void 0 && t > 1 ? "json" : "text";
23
+ }
24
+ let r = Object.hasOwn(t, e.type) ? t[e.type] : void 0;
21
25
  if (r !== void 0) return r;
22
26
  let i = e.validate?.maxLength;
23
27
  return i !== void 0 && i > 0 ? "string" : "text";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/form-editor v2.19.0 made by Venus | 2026-09-01T08:49:01.461Z */
1
+ /*! @vef-framework-react/form-editor v2.21.0 made by Venus | 2026-09-14T13:39:26.088Z */
2
2
  import "../../types/schema.js";
3
3
  import { createId as e, idPrefixForType as t } from "../ids.js";
4
4
  import { containerBodies as n, mapPreservingIdentity as r, withContainerBodies as i } from "./nodes.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/form-editor v2.19.0 made by Venus | 2026-09-01T08:49:01.461Z */
1
+ /*! @vef-framework-react/form-editor v2.21.0 made by Venus | 2026-09-14T13:39:26.088Z */
2
2
  import { mapPreservingIdentity as e } from "./nodes.js";
3
3
  import { isLeafField as t } from "./walk.js";
4
4
  import { rewriteContainerBodies as n } from "./rewrite.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/form-editor v2.19.0 made by Venus | 2026-09-01T08:49:01.461Z */
1
+ /*! @vef-framework-react/form-editor v2.21.0 made by Venus | 2026-09-14T13:39:26.088Z */
2
2
  import { createId as e } from "../ids.js";
3
3
  //#region src/engine/schema/nodes.ts
4
4
  function t(e, t) {
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/form-editor v2.19.0 made by Venus | 2026-09-01T08:49:01.461Z */
1
+ /*! @vef-framework-react/form-editor v2.21.0 made by Venus | 2026-09-14T13:39:26.088Z */
2
2
  import { walkUniqueRootKeyedFields as e } from "../keys.js";
3
3
  //#region src/engine/schema/permission-bridge.ts
4
4
  var t = {
@@ -12,10 +12,11 @@ var t = {
12
12
  "checkbox-group": "select",
13
13
  date: "date",
14
14
  datetime: "date",
15
- daterange: "date"
15
+ daterange: "date",
16
+ upload: "upload"
16
17
  };
17
18
  function n(e) {
18
- return t[e] ?? "input";
19
+ return (Object.hasOwn(t, e) ? t[e] : void 0) ?? "input";
19
20
  }
20
21
  function r(e, t) {
21
22
  let n = "dataSource" in e ? e.dataSource : void 0;
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/form-editor v2.19.0 made by Venus | 2026-09-01T08:49:01.461Z */
1
+ /*! @vef-framework-react/form-editor v2.21.0 made by Venus | 2026-09-14T13:39:26.088Z */
2
2
  //#region src/engine/schema/presentation.ts
3
3
  var e = Object.freeze({ children: Object.freeze([]) });
4
4
  function t() {
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/form-editor v2.19.0 made by Venus | 2026-09-01T08:49:01.461Z */
1
+ /*! @vef-framework-react/form-editor v2.21.0 made by Venus | 2026-09-14T13:39:26.088Z */
2
2
  import { bodyScopeKey as e, mapPreservingIdentity as t } from "./nodes.js";
3
3
  import { isContainerNode as n, isLeafField as r, isRootScope as i, scopeEquals as a } from "./walk.js";
4
4
  import { assertNever as o } from "../assert-never.js";