@vef-framework-react/form-editor 2.17.2 → 2.19.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/dist/cjs/components/mobile/definitions.cjs +1 -1
- package/dist/cjs/components/upload-field/index.cjs +1 -0
- package/dist/cjs/editor/canvas/canvas.cjs +1 -1
- package/dist/cjs/editor/canvas/container-drag-chip.cjs +1 -1
- package/dist/cjs/editor/dnd.cjs +1 -1
- package/dist/cjs/editor/form-config/linkage-overview.cjs +1 -1
- package/dist/cjs/editor/form-config/outline-tab.cjs +1 -1
- package/dist/cjs/editor/properties/dynamic-value-editor.cjs +1 -0
- package/dist/cjs/editor/properties/entries/linkage/action-editor.cjs +2 -2
- package/dist/cjs/editor/properties/entries/linkage/actions-editor.cjs +1 -1
- package/dist/cjs/editor/properties/entries/linkage/condition-editor.cjs +1 -1
- package/dist/cjs/editor/properties/entries/linkage/container-linkage-section.cjs +1 -1
- package/dist/cjs/editor/properties/entries/linkage/linkage-rules-entry.cjs +1 -1
- package/dist/cjs/editor/properties/entries/linkage/mutators.cjs +1 -1
- package/dist/cjs/editor/properties/entries/linkage/rule-list-editor.cjs +1 -1
- package/dist/cjs/editor/properties/entries/linkage/trigger-editor.cjs +1 -1
- package/dist/cjs/editor/properties/form-data-sources-panel.cjs +1 -1
- package/dist/cjs/editor/properties/option-editors.cjs +1 -1
- package/dist/cjs/editor/properties/properties-panel.cjs +1 -1
- package/dist/cjs/editor/toolbar/toolbar.cjs +1 -1
- package/dist/cjs/engine/data-source-params.cjs +1 -0
- package/dist/cjs/engine/linkage/evaluator.cjs +1 -1
- package/dist/cjs/engine/linkage/operators.cjs +1 -1
- package/dist/cjs/engine/linkage/validator.cjs +1 -1
- package/dist/cjs/engine/registry/defaults.cjs +1 -1
- package/dist/cjs/engine/schema/edit-ops.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/render/data-source-context.cjs +0 -0
- package/dist/cjs/render/data-source-param-scope.cjs +1 -0
- package/dist/cjs/render/form-field.cjs +1 -1
- package/dist/cjs/render/form-renderer.cjs +1 -1
- package/dist/cjs/runtime/effects.cjs +1 -1
- package/dist/cjs/types/dynamic-value.cjs +1 -0
- package/dist/cjs/types/index.cjs +1 -1
- package/dist/es/components/button/index.js +1 -1
- package/dist/es/components/checkbox-group-field/index.js +1 -1
- package/dist/es/components/code-editor/code-editor-input.js +1 -1
- package/dist/es/components/code-editor/index.js +1 -1
- package/dist/es/components/containers/index.js +1 -1
- package/dist/es/components/date-field/index.js +1 -1
- package/dist/es/components/display/index.js +1 -1
- package/dist/es/components/field-entries.js +1 -1
- package/dist/es/components/mobile/alert-block.js +1 -1
- package/dist/es/components/mobile/button.js +1 -1
- package/dist/es/components/mobile/checkbox-group.js +1 -1
- package/dist/es/components/mobile/date-adapters.js +1 -1
- package/dist/es/components/mobile/date.js +1 -1
- package/dist/es/components/mobile/daterange.js +1 -1
- package/dist/es/components/mobile/datetime.js +1 -1
- package/dist/es/components/mobile/definitions.js +34 -32
- package/dist/es/components/mobile/divider.js +1 -1
- package/dist/es/components/mobile/input-cell.js +1 -1
- package/dist/es/components/mobile/number.js +1 -1
- package/dist/es/components/mobile/option-group.js +1 -1
- package/dist/es/components/mobile/paragraph.js +1 -1
- package/dist/es/components/mobile/picker-trigger.js +1 -1
- package/dist/es/components/mobile/radio.js +1 -1
- package/dist/es/components/mobile/scope.js +1 -1
- package/dist/es/components/mobile/select.js +1 -1
- package/dist/es/components/mobile/switch.js +1 -1
- package/dist/es/components/mobile/textarea.js +1 -1
- package/dist/es/components/mobile/textfield.js +1 -1
- package/dist/es/components/mobile/theme.js +1 -1
- package/dist/es/components/number-field/index.js +1 -1
- package/dist/es/components/radio-field/index.js +1 -1
- package/dist/es/components/select-field/index.js +1 -1
- package/dist/es/components/switch-field/index.js +1 -1
- package/dist/es/components/textarea-field/index.js +1 -1
- package/dist/es/components/textfield/index.js +1 -1
- package/dist/es/components/upload-field/index.js +104 -0
- package/dist/es/editor/canvas/canvas-field.js +1 -1
- package/dist/es/editor/canvas/canvas.js +103 -103
- package/dist/es/editor/canvas/container-drag-chip.js +8 -8
- package/dist/es/editor/canvas/drop-indicator.js +1 -1
- package/dist/es/editor/canvas/drop-zones.js +1 -1
- package/dist/es/editor/canvas/json-split-view.js +1 -1
- package/dist/es/editor/canvas/mobile-seed-state.js +1 -1
- package/dist/es/editor/canvas/phone-frame.js +1 -1
- package/dist/es/editor/canvas/subform-column-eligibility.js +1 -1
- package/dist/es/editor/canvas/subform-table-cell.js +1 -1
- package/dist/es/editor/canvas/use-scroll-selection-into-view.js +1 -1
- package/dist/es/editor/context-sources.js +1 -1
- package/dist/es/editor/dnd.js +18 -18
- package/dist/es/editor/editor-layout-context.js +1 -1
- package/dist/es/editor/footer/footer.js +1 -1
- package/dist/es/editor/form-config/form-basics-tab.js +1 -1
- package/dist/es/editor/form-config/form-config-drawer.js +1 -1
- package/dist/es/editor/form-config/linkage-overview.js +9 -9
- package/dist/es/editor/form-config/outline-tab.js +6 -6
- package/dist/es/editor/form-editor.js +1 -1
- package/dist/es/editor/palette/field-groups.js +1 -1
- package/dist/es/editor/palette/palette-group.js +1 -1
- package/dist/es/editor/palette/palette-item.js +1 -1
- package/dist/es/editor/palette/palette-panel.js +1 -1
- package/dist/es/editor/preview-effects.js +1 -1
- package/dist/es/editor/preview-runtime-context.js +1 -1
- package/dist/es/editor/properties/block-layout-section.js +1 -1
- package/dist/es/editor/properties/container-properties.js +1 -1
- package/dist/es/editor/properties/dynamic-value-editor.js +57 -0
- package/dist/es/editor/properties/entries/built-ins.js +1 -1
- package/dist/es/editor/properties/entries/checkbox-entry.js +1 -1
- package/dist/es/editor/properties/entries/coerce.js +1 -1
- package/dist/es/editor/properties/entries/entry-field.js +1 -1
- package/dist/es/editor/properties/entries/icon-entry.js +1 -1
- package/dist/es/editor/properties/entries/index.js +1 -1
- package/dist/es/editor/properties/entries/key-entry.js +1 -1
- package/dist/es/editor/properties/entries/linkage/action-editor.js +75 -110
- package/dist/es/editor/properties/entries/linkage/actions-editor.js +10 -10
- package/dist/es/editor/properties/entries/linkage/condition-editor.js +87 -87
- package/dist/es/editor/properties/entries/linkage/container-linkage-section.js +7 -7
- package/dist/es/editor/properties/entries/linkage/expression-input.js +1 -1
- package/dist/es/editor/properties/entries/linkage/index.js +1 -1
- package/dist/es/editor/properties/entries/linkage/linkage-rules-entry.js +24 -24
- package/dist/es/editor/properties/entries/linkage/mutators.js +2 -11
- package/dist/es/editor/properties/entries/linkage/options.js +1 -1
- package/dist/es/editor/properties/entries/linkage/rule-diagnostics.js +1 -1
- package/dist/es/editor/properties/entries/linkage/rule-list-editor.js +29 -29
- package/dist/es/editor/properties/entries/linkage/styles.js +1 -1
- package/dist/es/editor/properties/entries/linkage/trigger-editor.js +13 -13
- package/dist/es/editor/properties/entries/linkage/use-linkage-editor-model.js +1 -1
- package/dist/es/editor/properties/entries/linkage/use-stable-options.js +1 -1
- package/dist/es/editor/properties/entries/number-entry.js +1 -1
- package/dist/es/editor/properties/entries/options-source/index.js +1 -1
- package/dist/es/editor/properties/entries/options-source/source-mutators.js +1 -1
- package/dist/es/editor/properties/entries/select-entry.js +1 -1
- package/dist/es/editor/properties/entries/text-entry.js +1 -1
- package/dist/es/editor/properties/form-data-sources-panel.js +7 -7
- package/dist/es/editor/properties/form-linkage-panel.js +1 -1
- package/dist/es/editor/properties/form-variables-panel.js +1 -1
- package/dist/es/editor/properties/option-editors.js +225 -121
- package/dist/es/editor/properties/panel-header.js +1 -1
- package/dist/es/editor/properties/properties-empty.js +1 -1
- package/dist/es/editor/properties/properties-header.js +1 -1
- package/dist/es/editor/properties/properties-panel.js +17 -17
- package/dist/es/editor/properties/properties-provider.js +1 -1
- package/dist/es/editor/properties/properties-tabs.js +1 -1
- package/dist/es/editor/properties/use-confirmable-kind-switch.js +1 -1
- package/dist/es/editor/remove-node-confirm.js +1 -1
- package/dist/es/editor/schema-apply.js +1 -1
- package/dist/es/editor/styles.js +1 -1
- package/dist/es/editor/toolbar/notify.js +1 -1
- package/dist/es/editor/toolbar/schema-io.js +1 -1
- package/dist/es/editor/toolbar/toolbar.js +7 -7
- package/dist/es/editor/use-editor-shortcuts.js +1 -1
- package/dist/es/editor/validation-summary.js +1 -1
- package/dist/es/engine/assert-never.js +1 -1
- package/dist/es/engine/conversion/index.js +1 -1
- package/dist/es/engine/data-source-params.js +38 -0
- package/dist/es/engine/ids.js +1 -1
- package/dist/es/engine/keys.js +1 -1
- package/dist/es/engine/linkage/cycle.js +1 -1
- package/dist/es/engine/linkage/default-evaluator.js +1 -1
- package/dist/es/engine/linkage/effects.js +1 -1
- package/dist/es/engine/linkage/evaluator.js +22 -22
- package/dist/es/engine/linkage/index.js +1 -1
- package/dist/es/engine/linkage/operators.js +2 -2
- package/dist/es/engine/linkage/source-tracking.js +1 -1
- package/dist/es/engine/linkage/taxonomy.js +1 -1
- package/dist/es/engine/linkage/validator.js +94 -94
- package/dist/es/engine/registry/defaults-mobile.js +1 -1
- package/dist/es/engine/registry/defaults.js +10 -9
- package/dist/es/engine/registry/form-field-registry.js +1 -1
- package/dist/es/engine/schema/column-type.js +1 -1
- package/dist/es/engine/schema/edit-ops.js +9 -9
- package/dist/es/engine/schema/mutate.js +1 -1
- package/dist/es/engine/schema/nodes.js +1 -1
- package/dist/es/engine/schema/permission-bridge.js +1 -1
- package/dist/es/engine/schema/presentation.js +1 -1
- package/dist/es/engine/schema/reconcile.js +1 -1
- package/dist/es/engine/schema/removal-impact.js +1 -1
- package/dist/es/engine/schema/rewrite.js +1 -1
- package/dist/es/engine/schema/validate.js +1 -1
- package/dist/es/engine/schema/walk.js +1 -1
- package/dist/es/engine/validation.js +1 -1
- package/dist/es/icons.js +1 -1
- package/dist/es/index.js +55 -54
- package/dist/es/render/chrome/mobile-chrome.js +1 -1
- package/dist/es/render/chrome/pc-chrome.js +1 -1
- package/dist/es/render/chrome/subform-shell.js +1 -1
- package/dist/es/render/data-source-context.js +0 -0
- package/dist/es/render/data-source-param-scope.js +34 -0
- package/dist/es/render/flex-style.js +1 -1
- package/dist/es/render/form-field.js +5 -5
- package/dist/es/render/form-renderer.js +308 -300
- package/dist/es/render/grid-style.js +1 -1
- package/dist/es/render/parts/field-shell.js +1 -1
- package/dist/es/render/parts/label.js +1 -1
- package/dist/es/render/parts/options-status.js +1 -1
- package/dist/es/render/stack-style.js +1 -1
- package/dist/es/render/subform-columns.js +1 -1
- package/dist/es/render/submit.js +1 -1
- package/dist/es/runtime/effects.js +49 -47
- package/dist/es/runtime/field-write.js +1 -1
- package/dist/es/runtime/resolve-scope-values.js +1 -1
- package/dist/es/runtime/runtime-context.js +1 -1
- package/dist/es/runtime/runtime-state-controller.js +1 -1
- package/dist/es/runtime/stabilize-state-map.js +1 -1
- package/dist/es/store/engine-provider.js +1 -1
- package/dist/es/store/form-store.js +1 -1
- package/dist/es/types/chrome.js +1 -1
- package/dist/es/types/component.js +1 -1
- package/dist/es/types/data-source.js +1 -1
- package/dist/es/types/dynamic-value.js +9 -0
- package/dist/es/types/index.js +5 -4
- package/dist/es/types/linkage.js +1 -1
- package/dist/es/types/properties.js +1 -1
- package/dist/es/types/schema.js +1 -1
- package/dist/types/components/upload-field/index.d.ts +2 -0
- package/dist/types/editor/properties/dynamic-value-editor.d.ts +23 -0
- package/dist/types/editor/properties/entries/linkage/mutators.d.ts +1 -8
- package/dist/types/engine/data-source-params.d.ts +33 -0
- package/dist/types/render/data-source-param-scope.d.ts +48 -0
- package/dist/types/types/data-source.d.ts +26 -1
- package/dist/types/types/dynamic-value.d.ts +21 -0
- package/dist/types/types/index.d.ts +1 -0
- package/dist/types/types/linkage.d.ts +9 -8
- package/dist/types/types/schema.d.ts +29 -0
- package/package.json +5 -5
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.19.0 made by Venus | 2026-09-01T08:49:01.461Z */
|
|
2
2
|
import { isLeafField as e, walkNodes as t } from "../schema/walk.js";
|
|
3
|
-
import {
|
|
3
|
+
import { createIssue as n, isRecord as r, validateRemoteRequest as i } from "../validation.js";
|
|
4
4
|
import "../assert-never.js";
|
|
5
|
-
import {
|
|
5
|
+
import { isKeyedNode as a } from "../keys.js";
|
|
6
6
|
import { LINKAGE_OPERATORS as o } from "./operators.js";
|
|
7
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
8
|
import { collectConditionSourceKeys as p } from "./source-tracking.js";
|
|
@@ -27,26 +27,26 @@ var h = {
|
|
|
27
27
|
function S(e) {
|
|
28
28
|
return e.join("/");
|
|
29
29
|
}
|
|
30
|
-
function C(e,
|
|
30
|
+
function C(e, i) {
|
|
31
31
|
let o = [], s = /* @__PURE__ */ new Map();
|
|
32
32
|
t(e, (e, t) => {
|
|
33
|
-
if (!
|
|
34
|
-
let
|
|
35
|
-
|
|
33
|
+
if (!a(e)) return;
|
|
34
|
+
let n = S(t), r = s.get(n) ?? /* @__PURE__ */ new Map();
|
|
35
|
+
r.set(e.key, e), s.set(n, r);
|
|
36
36
|
});
|
|
37
37
|
let c = /* @__PURE__ */ new Map();
|
|
38
38
|
t(e, (e, t) => {
|
|
39
|
-
let { linkage:
|
|
40
|
-
if (
|
|
39
|
+
let { linkage: i } = e;
|
|
40
|
+
if (i === void 0) return;
|
|
41
41
|
let a = `node[${e.id}].linkage`;
|
|
42
|
-
if (!i
|
|
43
|
-
o.push(
|
|
42
|
+
if (!r(i)) {
|
|
43
|
+
o.push(n(a, "linkage_malformed"));
|
|
44
44
|
return;
|
|
45
45
|
}
|
|
46
46
|
let l = S(t), u = s.get(l) ?? /* @__PURE__ */ new Map();
|
|
47
47
|
T({
|
|
48
48
|
block: e,
|
|
49
|
-
defaults:
|
|
49
|
+
defaults: i.defaults,
|
|
50
50
|
issues: o,
|
|
51
51
|
where: a
|
|
52
52
|
}), D({
|
|
@@ -55,72 +55,72 @@ function C(e, a) {
|
|
|
55
55
|
issues: o,
|
|
56
56
|
keyedNodes: u,
|
|
57
57
|
policy: h,
|
|
58
|
-
rules:
|
|
58
|
+
rules: i.rules,
|
|
59
59
|
scopeKey: l,
|
|
60
60
|
where: a
|
|
61
61
|
}), E({
|
|
62
|
-
defaults:
|
|
62
|
+
defaults: i.defaults,
|
|
63
63
|
issues: o,
|
|
64
|
-
rules:
|
|
64
|
+
rules: i.rules,
|
|
65
65
|
where: a
|
|
66
66
|
});
|
|
67
|
-
}),
|
|
67
|
+
}), i !== void 0 && (r(i) ? (i.defaults !== void 0 && o.push(n("schema.linkage.defaults", "defaults_on_form_scope")), D({
|
|
68
68
|
block: null,
|
|
69
69
|
edges: c,
|
|
70
70
|
issues: o,
|
|
71
71
|
keyedNodes: s.get(S([])) ?? /* @__PURE__ */ new Map(),
|
|
72
72
|
policy: g,
|
|
73
|
-
rules:
|
|
73
|
+
rules: i.rules,
|
|
74
74
|
scopeKey: S([]),
|
|
75
75
|
where: "schema.linkage"
|
|
76
|
-
})) : o.push(
|
|
77
|
-
for (let e of m(c)) o.push(
|
|
76
|
+
})) : o.push(n("schema.linkage", "linkage_malformed")));
|
|
77
|
+
for (let e of m(c)) o.push(n("linkage", "cycle_detected", { cycle: e }));
|
|
78
78
|
return { issues: o };
|
|
79
79
|
}
|
|
80
80
|
function w(t) {
|
|
81
|
-
return e(t) &&
|
|
81
|
+
return e(t) && a(t);
|
|
82
82
|
}
|
|
83
83
|
function T(e) {
|
|
84
|
-
let { block: t, defaults:
|
|
85
|
-
if (
|
|
86
|
-
if (!i
|
|
87
|
-
a.push(
|
|
84
|
+
let { block: t, defaults: i, issues: a, where: o } = e;
|
|
85
|
+
if (i !== void 0) {
|
|
86
|
+
if (!r(i)) {
|
|
87
|
+
a.push(n(`${o}.defaults`, "linkage_malformed"));
|
|
88
88
|
return;
|
|
89
89
|
}
|
|
90
|
-
|
|
90
|
+
i.required === !0 && !w(t) && a.push(n(`${o}.defaults.required`, "defaults_requires_keyed_leaf"));
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
function E(e) {
|
|
94
|
-
let { defaults: t, issues:
|
|
95
|
-
!
|
|
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"));
|
|
96
96
|
}
|
|
97
97
|
function D(e) {
|
|
98
|
-
let { block: t, edges:
|
|
98
|
+
let { block: t, edges: r, issues: i, keyedNodes: a, policy: o, rules: s, scopeKey: c, where: l } = e;
|
|
99
99
|
if (s === void 0) return;
|
|
100
100
|
if (!Array.isArray(s)) {
|
|
101
|
-
i.push(
|
|
101
|
+
i.push(n(`${l}.rules`, "rules_not_array"));
|
|
102
102
|
return;
|
|
103
103
|
}
|
|
104
104
|
let u = s;
|
|
105
|
-
for (let [e,
|
|
105
|
+
for (let [e, n] of u.entries()) O({
|
|
106
106
|
block: t,
|
|
107
|
-
edges:
|
|
107
|
+
edges: r,
|
|
108
108
|
issues: i,
|
|
109
109
|
keyedNodes: a,
|
|
110
110
|
policy: o,
|
|
111
|
-
rule:
|
|
111
|
+
rule: n,
|
|
112
112
|
scopeKey: c,
|
|
113
113
|
where: `${l}.rules[${e}]`
|
|
114
114
|
});
|
|
115
115
|
}
|
|
116
116
|
function O(e) {
|
|
117
|
-
let { block: t, edges:
|
|
118
|
-
if (!
|
|
119
|
-
o.push(
|
|
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"));
|
|
120
120
|
return;
|
|
121
121
|
}
|
|
122
122
|
let p = typeof l.id == "string" && l.id.length > 0 ? l.id : void 0;
|
|
123
|
-
p === void 0 && o.push(
|
|
123
|
+
p === void 0 && o.push(n(`${d}.id`, "id_required"));
|
|
124
124
|
let m = k({
|
|
125
125
|
block: t,
|
|
126
126
|
issues: o,
|
|
@@ -141,11 +141,11 @@ function O(e) {
|
|
|
141
141
|
}), _ = g.some((e) => f(e) && x.has(e.type));
|
|
142
142
|
if (m?.kind === "condition") {
|
|
143
143
|
let e = [];
|
|
144
|
-
c.allowStateActions && _ && t &&
|
|
144
|
+
c.allowStateActions && _ && t && a(t) && e.push(t.key);
|
|
145
145
|
for (let t of g) t.type === "set_field" && t.retrigger === "always" && t.targetKey !== "" && e.push(t.targetKey);
|
|
146
146
|
for (let t of e) R({
|
|
147
147
|
condition: m.condition,
|
|
148
|
-
edges:
|
|
148
|
+
edges: i,
|
|
149
149
|
issues: o,
|
|
150
150
|
ruleId: p,
|
|
151
151
|
scopeKey: u,
|
|
@@ -155,36 +155,36 @@ function O(e) {
|
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
157
|
function k(e) {
|
|
158
|
-
let { block: t, issues:
|
|
159
|
-
if (!
|
|
160
|
-
|
|
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));
|
|
161
161
|
return;
|
|
162
162
|
}
|
|
163
163
|
if (!o.triggerKinds.includes(c.kind)) {
|
|
164
|
-
|
|
164
|
+
i.push(n(`${l}.kind`, "trigger_kind_invalid", { kind: c.kind }, s));
|
|
165
165
|
return;
|
|
166
166
|
}
|
|
167
167
|
if (c.kind === "change" && t !== null && !w(t)) {
|
|
168
|
-
|
|
168
|
+
i.push(n(`${l}.kind`, "trigger_requires_keyed_leaf", void 0, s));
|
|
169
169
|
return;
|
|
170
170
|
}
|
|
171
171
|
if (!(c.kind === "condition" && !P({
|
|
172
172
|
condition: c.condition,
|
|
173
|
-
issues:
|
|
173
|
+
issues: i,
|
|
174
174
|
keyedNodes: a,
|
|
175
175
|
ruleId: s,
|
|
176
176
|
where: `${l}.condition`
|
|
177
177
|
}))) return c;
|
|
178
178
|
}
|
|
179
179
|
function A(e) {
|
|
180
|
-
let { actions: t, block:
|
|
181
|
-
if (!Array.isArray(t)) return a.push(
|
|
182
|
-
if (t.length === 0) return a.push(
|
|
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
183
|
let u = t, d = [];
|
|
184
184
|
for (let [e, t] of u.entries()) {
|
|
185
|
-
let
|
|
185
|
+
let n = j({
|
|
186
186
|
action: t,
|
|
187
|
-
block:
|
|
187
|
+
block: r,
|
|
188
188
|
isEdge: i,
|
|
189
189
|
issues: a,
|
|
190
190
|
keyedNodes: o,
|
|
@@ -192,40 +192,40 @@ function A(e) {
|
|
|
192
192
|
ruleId: c,
|
|
193
193
|
where: `${l}[${e}]`
|
|
194
194
|
});
|
|
195
|
-
|
|
195
|
+
n !== void 0 && d.push(n);
|
|
196
196
|
}
|
|
197
197
|
return d;
|
|
198
198
|
}
|
|
199
199
|
function j(e) {
|
|
200
|
-
let { action: t, block:
|
|
201
|
-
if (!
|
|
202
|
-
o.push(
|
|
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));
|
|
203
203
|
return;
|
|
204
204
|
}
|
|
205
205
|
if (typeof t.type != "string" || !_.has(t.type)) {
|
|
206
|
-
o.push(
|
|
206
|
+
o.push(n(`${u}.type`, "action_unknown_type", { type: String(t.type) }, l));
|
|
207
207
|
return;
|
|
208
208
|
}
|
|
209
209
|
let d = t;
|
|
210
210
|
if (f(d)) {
|
|
211
211
|
if (a) {
|
|
212
|
-
o.push(
|
|
212
|
+
o.push(n(`${u}.type`, "state_action_on_edge_trigger", { type: d.type }, l));
|
|
213
213
|
return;
|
|
214
214
|
}
|
|
215
215
|
if (!c.allowStateActions) {
|
|
216
|
-
o.push(
|
|
216
|
+
o.push(n(`${u}.type`, "state_action_on_form_scope", { type: d.type }, l));
|
|
217
217
|
return;
|
|
218
218
|
}
|
|
219
219
|
return M({
|
|
220
220
|
action: d,
|
|
221
|
-
block:
|
|
221
|
+
block: i,
|
|
222
222
|
issues: o,
|
|
223
223
|
ruleId: l,
|
|
224
224
|
where: u
|
|
225
225
|
}), d;
|
|
226
226
|
}
|
|
227
227
|
let { retrigger: p } = t;
|
|
228
|
-
return p !== void 0 && (p !== "edge" && p !== "always" ? o.push(
|
|
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({
|
|
229
229
|
action: d,
|
|
230
230
|
issues: o,
|
|
231
231
|
keyedNodes: s,
|
|
@@ -234,21 +234,21 @@ function j(e) {
|
|
|
234
234
|
}), d;
|
|
235
235
|
}
|
|
236
236
|
function M(e) {
|
|
237
|
-
let { action: t, block:
|
|
238
|
-
u.has(t.type) && (!
|
|
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({
|
|
239
239
|
issues: i,
|
|
240
240
|
ruleId: a,
|
|
241
241
|
value: t.value,
|
|
242
242
|
where: `${o}.value`
|
|
243
|
-
}) : t.type === "script" && (typeof t.source == "string" ? t.source.length === 0 && i.push(
|
|
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
244
|
}
|
|
245
245
|
function N(e) {
|
|
246
|
-
let { action: t, issues:
|
|
246
|
+
let { action: t, issues: r, keyedNodes: a, ruleId: o, where: s } = e;
|
|
247
247
|
switch (t.type) {
|
|
248
248
|
case "set_field": {
|
|
249
249
|
let { targetKey: e } = t;
|
|
250
|
-
typeof e == "string" ? e.length === 0 ?
|
|
251
|
-
issues:
|
|
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,
|
|
252
252
|
ruleId: o,
|
|
253
253
|
value: t.value,
|
|
254
254
|
where: `${s}.value`
|
|
@@ -257,8 +257,8 @@ function N(e) {
|
|
|
257
257
|
}
|
|
258
258
|
case "set_variable": {
|
|
259
259
|
let { variable: e } = t;
|
|
260
|
-
typeof e == "string" ? e.length === 0 &&
|
|
261
|
-
issues:
|
|
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,
|
|
262
262
|
ruleId: o,
|
|
263
263
|
value: t.value,
|
|
264
264
|
where: `${s}.value`
|
|
@@ -267,13 +267,13 @@ function N(e) {
|
|
|
267
267
|
}
|
|
268
268
|
case "refresh_data_source": {
|
|
269
269
|
let { dataSourceId: e } = t;
|
|
270
|
-
typeof e == "string" ? e.length === 0 &&
|
|
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));
|
|
271
271
|
return;
|
|
272
272
|
}
|
|
273
273
|
case "alert": {
|
|
274
274
|
let { level: e } = t;
|
|
275
|
-
e !== void 0 && !y.has(e) &&
|
|
276
|
-
issues:
|
|
275
|
+
e !== void 0 && !y.has(e) && r.push(n(`${s}.level`, "alert_level_invalid", void 0, o)), L({
|
|
276
|
+
issues: r,
|
|
277
277
|
ruleId: o,
|
|
278
278
|
value: t.message,
|
|
279
279
|
where: `${s}.message`
|
|
@@ -282,14 +282,14 @@ function N(e) {
|
|
|
282
282
|
}
|
|
283
283
|
case "navigate":
|
|
284
284
|
L({
|
|
285
|
-
issues:
|
|
285
|
+
issues: r,
|
|
286
286
|
ruleId: o,
|
|
287
287
|
value: t.to,
|
|
288
288
|
where: `${s}.to`
|
|
289
289
|
});
|
|
290
290
|
return;
|
|
291
291
|
case "api_call":
|
|
292
|
-
|
|
292
|
+
r.push(...i(t.request, `${s}.request`, o));
|
|
293
293
|
return;
|
|
294
294
|
case "submit": return;
|
|
295
295
|
case "reset": return;
|
|
@@ -297,72 +297,72 @@ function N(e) {
|
|
|
297
297
|
}
|
|
298
298
|
}
|
|
299
299
|
function P(e) {
|
|
300
|
-
let { condition: t, issues:
|
|
301
|
-
if (!
|
|
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
302
|
switch (t.kind) {
|
|
303
303
|
case "leaf": return F({
|
|
304
304
|
condition: t,
|
|
305
|
-
issues:
|
|
305
|
+
issues: i,
|
|
306
306
|
keyedNodes: a,
|
|
307
307
|
ruleId: o,
|
|
308
308
|
where: s
|
|
309
309
|
});
|
|
310
310
|
case "group": return I({
|
|
311
311
|
condition: t,
|
|
312
|
-
issues:
|
|
312
|
+
issues: i,
|
|
313
313
|
keyedNodes: a,
|
|
314
314
|
ruleId: o,
|
|
315
315
|
where: s
|
|
316
316
|
});
|
|
317
|
-
case "expression": return typeof t.source == "string" ? (t.source.length === 0 &&
|
|
318
|
-
default: return
|
|
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;
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
function F(e) {
|
|
322
|
-
let { condition: t, issues:
|
|
323
|
-
return typeof l == "string" ? l.length === 0 ?
|
|
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;
|
|
324
324
|
}
|
|
325
325
|
function I(e) {
|
|
326
|
-
let { condition: t, issues:
|
|
327
|
-
if (t.logic !== "all" && t.logic !== "any" && (
|
|
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
328
|
let { children: c } = t;
|
|
329
|
-
c.length === 0 &&
|
|
329
|
+
c.length === 0 && r.push(n(`${o}.children`, "condition_group_empty", void 0, a));
|
|
330
330
|
for (let [e, t] of c.entries()) {
|
|
331
|
-
let
|
|
331
|
+
let n = P({
|
|
332
332
|
condition: t,
|
|
333
|
-
issues:
|
|
333
|
+
issues: r,
|
|
334
334
|
keyedNodes: i,
|
|
335
335
|
ruleId: a,
|
|
336
336
|
where: `${o}.children[${e}]`
|
|
337
337
|
});
|
|
338
|
-
s &&=
|
|
338
|
+
s &&= n;
|
|
339
339
|
}
|
|
340
340
|
return s;
|
|
341
341
|
}
|
|
342
342
|
function L(e) {
|
|
343
|
-
let { issues: t, ruleId:
|
|
344
|
-
if (!
|
|
345
|
-
t.push(
|
|
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));
|
|
346
346
|
return;
|
|
347
347
|
}
|
|
348
348
|
if (a.kind !== "literal") {
|
|
349
349
|
if (a.kind === "expression") {
|
|
350
|
-
typeof a.source == "string" ? a.source.length === 0 && t.push(
|
|
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
351
|
return;
|
|
352
352
|
}
|
|
353
|
-
t.push(
|
|
353
|
+
t.push(n(`${o}.kind`, "value_malformed", void 0, i));
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
function R(e) {
|
|
357
|
-
let { condition: t, edges:
|
|
357
|
+
let { condition: t, edges: r, issues: i, ruleId: a, scopeKey: o, targetKey: s, where: c } = e, l = /* @__PURE__ */ new Set();
|
|
358
358
|
p(t, l);
|
|
359
359
|
for (let e of l) {
|
|
360
360
|
if (e === s) {
|
|
361
|
-
i.push(
|
|
361
|
+
i.push(n(c, "self_reference", void 0, a));
|
|
362
362
|
continue;
|
|
363
363
|
}
|
|
364
|
-
let t = `${o}::${e}`, l = `${o}::${s}`, u =
|
|
365
|
-
u.add(l),
|
|
364
|
+
let t = `${o}::${e}`, l = `${o}::${s}`, u = r.get(t) ?? /* @__PURE__ */ new Set();
|
|
365
|
+
u.add(l), r.set(t, u);
|
|
366
366
|
}
|
|
367
367
|
}
|
|
368
368
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.19.0 made by Venus | 2026-09-01T08:49:01.461Z */
|
|
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.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.19.0 made by Venus | 2026-09-01T08:49:01.461Z */
|
|
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";
|
|
@@ -11,15 +11,16 @@ import { selectFieldDefinition as g } from "../../components/select-field/index.
|
|
|
11
11
|
import { switchFieldDefinition as _ } from "../../components/switch-field/index.js";
|
|
12
12
|
import { textareaFieldDefinition as v } from "../../components/textarea-field/index.js";
|
|
13
13
|
import { textfieldDefinition as y } from "../../components/textfield/index.js";
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
14
|
+
import { uploadFieldDefinition as b } from "../../components/upload-field/index.js";
|
|
15
|
+
import { pcContainerChrome as x } from "../../render/chrome/pc-chrome.js";
|
|
16
|
+
import { FormFieldRegistry as S } from "./form-field-registry.js";
|
|
16
17
|
//#region src/engine/registry/defaults.ts
|
|
17
|
-
function S
|
|
18
|
-
|
|
18
|
+
function C(S) {
|
|
19
|
+
S.register(y), S.register(n), S.register(m), S.register(_), S.register(g), S.register(h), S.register(t), S.register(v), S.register(c), S.register(u), S.register(l), S.register(b), S.register(e), S.register(a), S.register(s), S.register(o), S.register(r), S.register(i), S.register(f), S.register(d), S.register(p), S.setContainerChrome(x);
|
|
19
20
|
}
|
|
20
|
-
function
|
|
21
|
-
let e = new
|
|
22
|
-
return
|
|
21
|
+
function w() {
|
|
22
|
+
let e = new S();
|
|
23
|
+
return C(e), e;
|
|
23
24
|
}
|
|
24
25
|
//#endregion
|
|
25
|
-
export {
|
|
26
|
+
export { w as createDefaultRegistry, C as registerDefaults };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.19.0 made by Venus | 2026-09-01T08:49:01.461Z */
|
|
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.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.19.0 made by Venus | 2026-09-01T08:49:01.461Z */
|
|
2
2
|
import { walkUniqueRootKeyedFields as e } from "../keys.js";
|
|
3
3
|
//#region src/engine/schema/column-type.ts
|
|
4
4
|
var t = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.19.0 made by Venus | 2026-09-01T08:49:01.461Z */
|
|
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";
|
|
5
5
|
import { containsNode as a, findNode as o, findScope as s, isContainerNode as c, scopeEquals as l } from "./walk.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { assertNever as u } from "../assert-never.js";
|
|
7
|
+
import { collectScopeKeys as d, isKeyedNode as f, nextUniqueKey as p } from "../keys.js";
|
|
8
8
|
import { rewriteContainerBodies as m } from "./rewrite.js";
|
|
9
9
|
import { removeBlock as h, updateNode as g } from "./mutate.js";
|
|
10
10
|
import { cloneDeep as _, isShallowEqual as v } from "@vef-framework-react/shared";
|
|
@@ -32,7 +32,7 @@ function S(e, t, n) {
|
|
|
32
32
|
if (!r) return e;
|
|
33
33
|
let i = y(n);
|
|
34
34
|
if (i !== void 0 && a(r, i)) return e;
|
|
35
|
-
let c = h(e, t),
|
|
35
|
+
let c = h(e, t), u = s(e, t) ?? [], f = b(e, n), p = F(c, l(u, f) ? r : H(r, d(c, f)), n);
|
|
36
36
|
return o(p, t) ? p : e;
|
|
37
37
|
}
|
|
38
38
|
function C(e, t, n) {
|
|
@@ -131,7 +131,7 @@ function V(e, t) {
|
|
|
131
131
|
return U(_(e), t, z);
|
|
132
132
|
}
|
|
133
133
|
function H(e, t) {
|
|
134
|
-
return U(e, (e) =>
|
|
134
|
+
return U(e, (e) => p(t, e), B);
|
|
135
135
|
}
|
|
136
136
|
function U(e, t, n) {
|
|
137
137
|
if (t === null) return W(e, null, n);
|
|
@@ -143,7 +143,7 @@ function U(e, t, n) {
|
|
|
143
143
|
}
|
|
144
144
|
function W(e, n, r) {
|
|
145
145
|
let i = r(t(e.type), e.id), a = Q(e.linkage, r);
|
|
146
|
-
if (!c(e)) return
|
|
146
|
+
if (!c(e)) return f(e) ? {
|
|
147
147
|
...e,
|
|
148
148
|
id: i,
|
|
149
149
|
key: n ? n(e.key) : e.key,
|
|
@@ -189,7 +189,7 @@ function W(e, n, r) {
|
|
|
189
189
|
linkage: a,
|
|
190
190
|
children: G(e.children, n, r)
|
|
191
191
|
};
|
|
192
|
-
default: return
|
|
192
|
+
default: return u(e);
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
195
|
function G(e, t, n) {
|
|
@@ -229,7 +229,7 @@ function K(e, t) {
|
|
|
229
229
|
linkage: n,
|
|
230
230
|
children: q(e.children, t)
|
|
231
231
|
};
|
|
232
|
-
default: return
|
|
232
|
+
default: return u(e);
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
235
|
function q(e, t) {
|
|
@@ -273,7 +273,7 @@ function Z(e, t) {
|
|
|
273
273
|
};
|
|
274
274
|
}
|
|
275
275
|
case "expression": return e;
|
|
276
|
-
default: return
|
|
276
|
+
default: return u(e);
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
279
|
function Q(e, t) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.19.0 made by Venus | 2026-09-01T08:49:01.461Z */
|
|
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.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.19.0 made by Venus | 2026-09-01T08:49:01.461Z */
|
|
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.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.19.0 made by Venus | 2026-09-01T08:49:01.461Z */
|
|
2
2
|
import { walkUniqueRootKeyedFields as e } from "../keys.js";
|
|
3
3
|
//#region src/engine/schema/permission-bridge.ts
|
|
4
4
|
var t = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.19.0 made by Venus | 2026-09-01T08:49:01.461Z */
|
|
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.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.19.0 made by Venus | 2026-09-01T08:49:01.461Z */
|
|
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";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.19.0 made by Venus | 2026-09-01T08:49:01.461Z */
|
|
2
2
|
import { findNode as e, findScope as t, nodeLabel as n, walkNodes as r } from "./walk.js";
|
|
3
3
|
import { collectSubtreeKeysByScope as i } from "../keys.js";
|
|
4
4
|
import { removeBlock as a } from "./mutate.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.19.0 made by Venus | 2026-09-01T08:49:01.461Z */
|
|
2
2
|
import { containerBodies as e, mapPreservingIdentity as t, withContainerBodies as n } from "./nodes.js";
|
|
3
3
|
import { isContainerNode as r } from "./walk.js";
|
|
4
4
|
//#region src/engine/schema/rewrite.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.19.0 made by Venus | 2026-09-01T08:49:01.461Z */
|
|
2
2
|
import { CONTAINER_TYPES as e, GAP_SCALES as t } from "../../types/schema.js";
|
|
3
3
|
import { createIssue as n, hasErrorIssues as r, isRecord as i, validateRemoteRequest as a } from "../validation.js";
|
|
4
4
|
import { validateLinkageSchema as o } from "../linkage/validator.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.19.0 made by Venus | 2026-09-01T08:49:01.461Z */
|
|
2
2
|
import { CONTAINER_TYPES as e } from "../../types/schema.js";
|
|
3
3
|
import { bodyScopeKey as t, containerBodies as n } from "./nodes.js";
|
|
4
4
|
import { isShallowEqual as r } from "@vef-framework-react/shared";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.19.0 made by Venus | 2026-09-01T08:49:01.461Z */
|
|
2
2
|
import { isPlainObject as e } from "@vef-framework-react/shared";
|
|
3
3
|
//#region src/engine/validation.ts
|
|
4
4
|
var t = /* @__PURE__ */ new Set([
|
package/dist/es/icons.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.19.0 made by Venus | 2026-09-01T08:49:01.461Z */
|
|
2
2
|
import { jsx as e } from "@emotion/react/jsx-runtime";
|
|
3
3
|
import { DynamicIcon as t, Icon as n } from "@vef-framework-react/components";
|
|
4
4
|
import { BracesIcon as r, CalendarIcon as i, CalendarRangeIcon as a, ChevronDownIcon as o, ChevronRightIcon as s, ChevronUpIcon as c, CircleDotIcon as l, CircleHelpIcon as u, CircleXIcon as d, ClipboardListIcon as f, ClockIcon as p, Code2Icon as m, CodeIcon as h, CopyIcon as g, DatabaseIcon as _, DownloadIcon as v, EllipsisIcon as y, EyeIcon as b, FolderPlusIcon as x, GitBranchIcon as S, GripVerticalIcon as C, HashIcon as w, InfoIcon as T, LayoutGridIcon as E, LayoutListIcon as D, LayoutPanelTopIcon as O, Link2Icon as ee, ListChecksIcon as k, ListTreeIcon as A, MinusIcon as j, MonitorIcon as M, MousePointer2Icon as N, MousePointerClickIcon as P, PaletteIcon as F, PilcrowIcon as I, PlusIcon as L, Redo2Icon as R, RocketIcon as z, SearchIcon as B, Settings2Icon as V, ShieldCheckIcon as H, SlidersHorizontalIcon as U, SmartphoneIcon as W, SquareIcon as G, SquarePenIcon as K, StretchHorizontalIcon as q, TableIcon as J, TextIcon as Y, ToggleLeftIcon as X, Trash2Icon as Z, TriangleAlertIcon as Q, TypeIcon as $, Undo2Icon as te, UploadIcon as ne, XIcon as re } from "lucide-react";
|