@vef-framework-react/form-editor 2.8.0 → 2.10.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/editor/canvas/canvas-field.cjs +1 -1
- package/dist/cjs/editor/canvas/canvas.cjs +1 -1
- package/dist/cjs/editor/canvas/container-drag-chip.cjs +1 -0
- package/dist/cjs/editor/canvas/use-scroll-selection-into-view.cjs +1 -0
- package/dist/cjs/editor/dnd.cjs +1 -1
- package/dist/cjs/editor/form-editor.cjs +1 -1
- package/dist/cjs/editor/properties/block-layout-section.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/engine/linkage/evaluator.cjs +1 -1
- package/dist/cjs/engine/linkage/index.cjs +1 -1
- package/dist/cjs/engine/linkage/operators.cjs +1 -1
- package/dist/cjs/engine/schema/edit-ops.cjs +1 -1
- package/dist/cjs/engine/schema/validate.cjs +1 -1
- package/dist/cjs/engine/validation.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/render/form-renderer.cjs +1 -1
- package/dist/cjs/render/stack-style.cjs +1 -1
- package/dist/cjs/render/submit.cjs +1 -1
- package/dist/cjs/runtime/effects.cjs +1 -1
- package/dist/cjs/runtime/field-write.cjs +1 -0
- package/dist/cjs/runtime/runtime-state-controller.cjs +1 -1
- package/dist/cjs/store/form-store.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 +1 -1
- 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/editor/canvas/canvas-field.js +95 -93
- package/dist/es/editor/canvas/canvas.js +242 -235
- package/dist/es/editor/canvas/container-drag-chip.js +91 -0
- 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 +15 -0
- package/dist/es/editor/context-sources.js +1 -1
- package/dist/es/editor/dnd.js +7 -4
- 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 +1 -1
- package/dist/es/editor/form-config/outline-tab.js +1 -1
- package/dist/es/editor/form-editor.js +104 -93
- 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 +156 -49
- package/dist/es/editor/properties/container-properties.js +1 -1
- 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 +1 -1
- package/dist/es/editor/properties/entries/linkage/actions-editor.js +1 -1
- package/dist/es/editor/properties/entries/linkage/condition-editor.js +1 -1
- package/dist/es/editor/properties/entries/linkage/container-linkage-section.js +1 -1
- 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 +1 -1
- package/dist/es/editor/properties/entries/linkage/mutators.js +1 -1
- 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 +1 -1
- package/dist/es/editor/properties/entries/linkage/styles.js +1 -1
- package/dist/es/editor/properties/entries/linkage/trigger-editor.js +1 -1
- 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 +1 -1
- 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 +142 -86
- 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 +18 -18
- 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 +1 -1
- 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/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 +58 -40
- package/dist/es/engine/linkage/index.js +6 -6
- 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 +1 -1
- package/dist/es/engine/registry/defaults-mobile.js +1 -1
- package/dist/es/engine/registry/defaults.js +1 -1
- 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 +79 -58
- 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 +25 -3
- package/dist/es/engine/schema/walk.js +1 -1
- package/dist/es/engine/validation.js +2 -1
- package/dist/es/icons.js +1 -1
- package/dist/es/index.js +20 -19
- 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/flex-style.js +1 -1
- package/dist/es/render/form-field.js +1 -1
- package/dist/es/render/form-renderer.js +269 -236
- 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 +18 -2
- package/dist/es/render/subform-columns.js +1 -1
- package/dist/es/render/submit.js +44 -32
- package/dist/es/runtime/effects.js +56 -50
- package/dist/es/runtime/field-write.js +17 -0
- 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 +70 -63
- 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 +68 -61
- 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/index.js +1 -1
- 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/editor/canvas/container-drag-chip.d.ts +12 -0
- package/dist/types/editor/canvas/container-drag-chip.test.d.ts +1 -0
- package/dist/types/editor/canvas/use-scroll-selection-into-view.d.ts +21 -0
- package/dist/types/editor/canvas/use-scroll-selection-into-view.test.d.ts +1 -0
- package/dist/types/editor/dnd.d.ts +21 -1
- package/dist/types/editor/properties/block-layout-section.d.ts +6 -5
- package/dist/types/editor/properties/block-layout-section.test.d.ts +1 -0
- package/dist/types/editor/properties/option-editors.d.ts +13 -0
- package/dist/types/editor/properties/properties-panel.d.ts +2 -2
- package/dist/types/engine/linkage/evaluator.d.ts +25 -1
- package/dist/types/engine/linkage/index.d.ts +1 -1
- package/dist/types/engine/linkage/operators.d.ts +13 -5
- package/dist/types/engine/schema/edit-ops.d.ts +12 -1
- package/dist/types/engine/validation.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/render/form-renderer.d.ts +27 -1
- package/dist/types/render/form-renderer.field-permissions.test.d.ts +1 -0
- package/dist/types/render/stack-style.d.ts +14 -1
- package/dist/types/render/submit.d.ts +26 -4
- package/dist/types/runtime/effects.d.ts +11 -1
- package/dist/types/runtime/field-write.d.ts +37 -0
- package/dist/types/runtime/runtime-state-controller.d.ts +3 -2
- package/dist/types/store/form-store.d.ts +9 -1
- package/dist/types/types/linkage.d.ts +16 -0
- package/dist/types/types/schema.d.ts +33 -0
- package/package.json +5 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.10.0 made by Venus | 2026-07-13T07:28:24.093Z */
|
|
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";
|
|
@@ -25,53 +25,74 @@ function b(e, t) {
|
|
|
25
25
|
return n === void 0 ? [] : s(e, n) ?? [];
|
|
26
26
|
}
|
|
27
27
|
function x(e, t, n) {
|
|
28
|
-
return
|
|
28
|
+
return F(e, t, n);
|
|
29
29
|
}
|
|
30
30
|
function S(e, t, n) {
|
|
31
31
|
let r = o(e, t);
|
|
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), d = s(e, t) ?? [], f = b(e, n), p =
|
|
35
|
+
let c = h(e, t), d = s(e, t) ?? [], f = b(e, n), p = F(c, l(d, f) ? r : H(r, u(c, f)), n);
|
|
36
36
|
return o(p, t) ? p : e;
|
|
37
37
|
}
|
|
38
38
|
function C(e, t, n) {
|
|
39
|
-
let r =
|
|
40
|
-
return g(e, t, (e) => e.span === r ? e :
|
|
39
|
+
let r = D(n);
|
|
40
|
+
return g(e, t, (e) => e.span === r ? e : $(e, { span: r }));
|
|
41
41
|
}
|
|
42
42
|
function w(e, t, n) {
|
|
43
|
-
let r =
|
|
44
|
-
return g(e, t, (e) =>
|
|
43
|
+
let r = k(n);
|
|
44
|
+
return g(e, t, (e) => A(e.flex, r) ? e : $(e, { flex: r }));
|
|
45
45
|
}
|
|
46
46
|
function T(e, t, n) {
|
|
47
|
-
let r =
|
|
48
|
-
return g(e, t, (e) => e.columnWidth === r ? e :
|
|
47
|
+
let r = O(n);
|
|
48
|
+
return g(e, t, (e) => e.columnWidth === r ? e : $(e, { columnWidth: r }));
|
|
49
49
|
}
|
|
50
|
-
function E(e) {
|
|
51
|
-
|
|
50
|
+
function E(e, t, n) {
|
|
51
|
+
let r = M(n);
|
|
52
|
+
return g(e, t, (e) => P(e.stack, r) ? e : $(e, { stack: r }));
|
|
52
53
|
}
|
|
53
54
|
function D(e) {
|
|
54
|
-
if (!(e === void 0 || !Number.isFinite(e))) return Math.max(1, Math.floor(e));
|
|
55
|
+
if (!(e === void 0 || !Number.isFinite(e))) return Math.min(24, Math.max(1, Math.floor(e)));
|
|
55
56
|
}
|
|
56
57
|
function O(e) {
|
|
58
|
+
if (!(e === void 0 || !Number.isFinite(e))) return Math.max(1, Math.floor(e));
|
|
59
|
+
}
|
|
60
|
+
function k(e) {
|
|
57
61
|
if (e === void 0) return;
|
|
58
62
|
let t = {};
|
|
59
63
|
return e.grow !== void 0 && Number.isFinite(e.grow) && (t.grow = Math.max(0, e.grow)), e.shrink !== void 0 && Number.isFinite(e.shrink) && (t.shrink = Math.max(0, e.shrink)), e.basis !== void 0 && (t.basis = e.basis), Object.keys(t).length === 0 ? void 0 : t;
|
|
60
64
|
}
|
|
61
|
-
function
|
|
65
|
+
function A(e, t) {
|
|
62
66
|
return e === void 0 || t === void 0 ? e === t : v(e, t);
|
|
63
67
|
}
|
|
64
|
-
function
|
|
68
|
+
function j(e, t) {
|
|
69
|
+
if (!(e === void 0 || !Number.isFinite(e.value) || e.unit !== "px" && e.unit !== "%")) return {
|
|
70
|
+
value: Math.max(t, e.value),
|
|
71
|
+
unit: e.unit
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
function M(e) {
|
|
75
|
+
if (e === void 0) return;
|
|
76
|
+
let t = {}, n = j(e.width, 1), r = j(e.minWidth, 0), i = j(e.maxWidth, 1);
|
|
77
|
+
return n !== void 0 && (t.width = n), r !== void 0 && (t.minWidth = r), i !== void 0 && (t.maxWidth = i), (e.align === "start" || e.align === "center" || e.align === "end") && (t.align = e.align), Object.keys(t).length === 0 ? void 0 : t;
|
|
78
|
+
}
|
|
79
|
+
function N(e, t) {
|
|
80
|
+
return e === void 0 || t === void 0 ? e === t : e.value === t.value && e.unit === t.unit;
|
|
81
|
+
}
|
|
82
|
+
function P(e, t) {
|
|
83
|
+
return e === void 0 || t === void 0 ? e === t : N(e.width, t.width) && N(e.minWidth, t.minWidth) && N(e.maxWidth, t.maxWidth) && e.align === t.align;
|
|
84
|
+
}
|
|
85
|
+
function F(e, t, n) {
|
|
65
86
|
switch (n.kind) {
|
|
66
|
-
case "beside": return
|
|
67
|
-
case "container": return
|
|
87
|
+
case "beside": return I(e, n.anchorId, n.side, t);
|
|
88
|
+
case "container": return L(e, n.containerId, t, n.tabIndex ?? 0);
|
|
68
89
|
case "append": return {
|
|
69
90
|
...e,
|
|
70
91
|
children: [...e.children, t]
|
|
71
92
|
};
|
|
72
93
|
}
|
|
73
94
|
}
|
|
74
|
-
function
|
|
95
|
+
function I(e, t, n, i) {
|
|
75
96
|
function a(e) {
|
|
76
97
|
let o = e.findIndex((e) => e.id === t);
|
|
77
98
|
if (o !== -1) {
|
|
@@ -84,9 +105,9 @@ function j(e, t, n, i) {
|
|
|
84
105
|
}
|
|
85
106
|
return r(e, (e) => m(e, a));
|
|
86
107
|
}
|
|
87
|
-
return
|
|
108
|
+
return R(e, a(e.children));
|
|
88
109
|
}
|
|
89
|
-
function
|
|
110
|
+
function L(e, t, a, o) {
|
|
90
111
|
function s(e) {
|
|
91
112
|
return r(e, (e) => l(e));
|
|
92
113
|
}
|
|
@@ -97,31 +118,31 @@ function M(e, t, a, o) {
|
|
|
97
118
|
}
|
|
98
119
|
return m(e, s);
|
|
99
120
|
}
|
|
100
|
-
return
|
|
121
|
+
return R(e, s(e.children));
|
|
101
122
|
}
|
|
102
|
-
function
|
|
123
|
+
function R(e, t) {
|
|
103
124
|
return t === e.children ? e : {
|
|
104
125
|
...e,
|
|
105
126
|
children: t
|
|
106
127
|
};
|
|
107
128
|
}
|
|
108
|
-
var
|
|
109
|
-
function
|
|
110
|
-
return
|
|
129
|
+
var z = (t) => e(t), B = (e, t) => t;
|
|
130
|
+
function V(e, t) {
|
|
131
|
+
return U(_(e), t, z);
|
|
111
132
|
}
|
|
112
|
-
function
|
|
113
|
-
return
|
|
133
|
+
function H(e, t) {
|
|
134
|
+
return U(e, (e) => f(t, e), B);
|
|
114
135
|
}
|
|
115
|
-
function
|
|
116
|
-
if (t === null) return
|
|
117
|
-
let r = /* @__PURE__ */ new Map(), i =
|
|
136
|
+
function U(e, t, n) {
|
|
137
|
+
if (t === null) return W(e, null, n);
|
|
138
|
+
let r = /* @__PURE__ */ new Map(), i = W(e, (e) => {
|
|
118
139
|
let n = t(e);
|
|
119
140
|
return r.set(e, n), n;
|
|
120
141
|
}, n);
|
|
121
|
-
return r.size === 0 ? i :
|
|
142
|
+
return r.size === 0 ? i : K(i, r);
|
|
122
143
|
}
|
|
123
|
-
function
|
|
124
|
-
let i = r(t(e.type), e.id), a =
|
|
144
|
+
function W(e, n, r) {
|
|
145
|
+
let i = r(t(e.type), e.id), a = Q(e.linkage, r);
|
|
125
146
|
if (!c(e)) return d(e) ? {
|
|
126
147
|
...e,
|
|
127
148
|
id: i,
|
|
@@ -137,7 +158,7 @@ function z(e, n, r) {
|
|
|
137
158
|
...e,
|
|
138
159
|
id: i,
|
|
139
160
|
linkage: a,
|
|
140
|
-
children:
|
|
161
|
+
children: G(e.children, n, r)
|
|
141
162
|
};
|
|
142
163
|
case "tabs": return {
|
|
143
164
|
...e,
|
|
@@ -146,7 +167,7 @@ function z(e, n, r) {
|
|
|
146
167
|
tabs: e.tabs.map((e) => ({
|
|
147
168
|
...e,
|
|
148
169
|
id: r("Tab", e.id),
|
|
149
|
-
children:
|
|
170
|
+
children: G(e.children, n, r)
|
|
150
171
|
}))
|
|
151
172
|
};
|
|
152
173
|
case "subform": return {
|
|
@@ -154,28 +175,28 @@ function z(e, n, r) {
|
|
|
154
175
|
id: i,
|
|
155
176
|
key: n ? n(e.key) : e.key,
|
|
156
177
|
linkage: a,
|
|
157
|
-
template:
|
|
178
|
+
template: G(e.template, null, r)
|
|
158
179
|
};
|
|
159
180
|
case "flex": return {
|
|
160
181
|
...e,
|
|
161
182
|
id: i,
|
|
162
183
|
linkage: a,
|
|
163
|
-
children:
|
|
184
|
+
children: G(e.children, n, r)
|
|
164
185
|
};
|
|
165
186
|
case "grid": return {
|
|
166
187
|
...e,
|
|
167
188
|
id: i,
|
|
168
189
|
linkage: a,
|
|
169
|
-
children:
|
|
190
|
+
children: G(e.children, n, r)
|
|
170
191
|
};
|
|
171
192
|
default: return p(e);
|
|
172
193
|
}
|
|
173
194
|
}
|
|
174
|
-
function
|
|
175
|
-
return e.map((e) =>
|
|
195
|
+
function G(e, t, n) {
|
|
196
|
+
return e.map((e) => W(e, t, n));
|
|
176
197
|
}
|
|
177
|
-
function
|
|
178
|
-
let n =
|
|
198
|
+
function K(e, t) {
|
|
199
|
+
let n = J(e.linkage, t);
|
|
179
200
|
if (!c(e)) return {
|
|
180
201
|
...e,
|
|
181
202
|
linkage: n
|
|
@@ -184,14 +205,14 @@ function V(e, t) {
|
|
|
184
205
|
case "section": return {
|
|
185
206
|
...e,
|
|
186
207
|
linkage: n,
|
|
187
|
-
children:
|
|
208
|
+
children: q(e.children, t)
|
|
188
209
|
};
|
|
189
210
|
case "tabs": return {
|
|
190
211
|
...e,
|
|
191
212
|
linkage: n,
|
|
192
213
|
tabs: e.tabs.map((e) => ({
|
|
193
214
|
...e,
|
|
194
|
-
children:
|
|
215
|
+
children: q(e.children, t)
|
|
195
216
|
}))
|
|
196
217
|
};
|
|
197
218
|
case "subform": return {
|
|
@@ -201,36 +222,36 @@ function V(e, t) {
|
|
|
201
222
|
case "flex": return {
|
|
202
223
|
...e,
|
|
203
224
|
linkage: n,
|
|
204
|
-
children:
|
|
225
|
+
children: q(e.children, t)
|
|
205
226
|
};
|
|
206
227
|
case "grid": return {
|
|
207
228
|
...e,
|
|
208
229
|
linkage: n,
|
|
209
|
-
children:
|
|
230
|
+
children: q(e.children, t)
|
|
210
231
|
};
|
|
211
232
|
default: return p(e);
|
|
212
233
|
}
|
|
213
234
|
}
|
|
214
|
-
function
|
|
215
|
-
return e.map((e) =>
|
|
235
|
+
function q(e, t) {
|
|
236
|
+
return e.map((e) => K(e, t));
|
|
216
237
|
}
|
|
217
|
-
function
|
|
238
|
+
function J(e, t) {
|
|
218
239
|
return e?.rules ? {
|
|
219
240
|
...e,
|
|
220
241
|
rules: e.rules.map((e) => ({
|
|
221
242
|
...e,
|
|
222
|
-
trigger:
|
|
223
|
-
actions: e.actions.map((e) =>
|
|
243
|
+
trigger: Y(e.trigger, t),
|
|
244
|
+
actions: e.actions.map((e) => X(e, t))
|
|
224
245
|
}))
|
|
225
246
|
} : e;
|
|
226
247
|
}
|
|
227
|
-
function
|
|
248
|
+
function Y(e, t) {
|
|
228
249
|
return e.kind === "condition" ? {
|
|
229
250
|
...e,
|
|
230
|
-
condition:
|
|
251
|
+
condition: Z(e.condition, t)
|
|
231
252
|
} : e;
|
|
232
253
|
}
|
|
233
|
-
function
|
|
254
|
+
function X(e, t) {
|
|
234
255
|
if (e.type !== "set_field") return e;
|
|
235
256
|
let n = t.get(e.targetKey);
|
|
236
257
|
return n === void 0 ? e : {
|
|
@@ -238,11 +259,11 @@ function G(e, t) {
|
|
|
238
259
|
targetKey: n
|
|
239
260
|
};
|
|
240
261
|
}
|
|
241
|
-
function
|
|
262
|
+
function Z(e, t) {
|
|
242
263
|
switch (e.kind) {
|
|
243
264
|
case "group": return {
|
|
244
265
|
...e,
|
|
245
|
-
children: e.children.map((e) =>
|
|
266
|
+
children: e.children.map((e) => Z(e, t))
|
|
246
267
|
};
|
|
247
268
|
case "leaf": {
|
|
248
269
|
let n = t.get(e.sourceKey);
|
|
@@ -255,7 +276,7 @@ function K(e, t) {
|
|
|
255
276
|
default: return p(e);
|
|
256
277
|
}
|
|
257
278
|
}
|
|
258
|
-
function
|
|
279
|
+
function Q(e, t) {
|
|
259
280
|
return e?.rules ? {
|
|
260
281
|
...e,
|
|
261
282
|
rules: e.rules.map((e) => ({
|
|
@@ -264,11 +285,11 @@ function q(e, t) {
|
|
|
264
285
|
}))
|
|
265
286
|
} : e;
|
|
266
287
|
}
|
|
267
|
-
function
|
|
288
|
+
function $(e, t) {
|
|
268
289
|
return {
|
|
269
290
|
...e,
|
|
270
291
|
...t
|
|
271
292
|
};
|
|
272
293
|
}
|
|
273
294
|
//#endregion
|
|
274
|
-
export {
|
|
295
|
+
export { V as cloneBlock, x as insertBlock, S as moveBlock, T as setColumnWidth, w as setFlex, C as setSpan, E as setStackSlot, b as targetScope };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.10.0 made by Venus | 2026-07-13T07:28:24.093Z */
|
|
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.10.0 made by Venus | 2026-07-13T07:28:24.093Z */
|
|
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.10.0 made by Venus | 2026-07-13T07:28:24.093Z */
|
|
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.10.0 made by Venus | 2026-07-13T07:28:24.093Z */
|
|
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.10.0 made by Venus | 2026-07-13T07:28:24.093Z */
|
|
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.10.0 made by Venus | 2026-07-13T07:28:24.093Z */
|
|
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.10.0 made by Venus | 2026-07-13T07:28:24.093Z */
|
|
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.10.0 made by Venus | 2026-07-13T07:28:24.093Z */
|
|
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";
|
|
@@ -136,7 +136,7 @@ function v(e, t, r, a) {
|
|
|
136
136
|
a.issues.push(n(t, "block_not_object"));
|
|
137
137
|
return;
|
|
138
138
|
}
|
|
139
|
-
L(e.id, t, a), z(e.span, t, a), B(e.flex, t, a),
|
|
139
|
+
L(e.id, t, a), z(e.span, t, a), B(e.flex, t, a), W(e.columnWidth, t, a), U(e.stack, t, a);
|
|
140
140
|
let { type: o } = e;
|
|
141
141
|
if (typeof o != "string" || o.length === 0) {
|
|
142
142
|
a.issues.push(n(`${t}.type`, "type_required"));
|
|
@@ -319,7 +319,29 @@ function B(e, t, r) {
|
|
|
319
319
|
e.grow !== void 0 && (typeof e.grow != "number" || e.grow < 0) && r.issues.push(n(`${t}.flex.grow`, "flex_invalid")), e.shrink !== void 0 && (typeof e.shrink != "number" || e.shrink < 0) && r.issues.push(n(`${t}.flex.shrink`, "flex_invalid")), e.basis !== void 0 && typeof e.basis != "string" && r.issues.push(n(`${t}.flex.basis`, "flex_invalid"));
|
|
320
320
|
}
|
|
321
321
|
}
|
|
322
|
-
function V(e, t
|
|
322
|
+
function V(e, t) {
|
|
323
|
+
return i(e) && typeof e.value == "number" && Number.isFinite(e.value) && e.value >= t && (e.unit === "px" || e.unit === "%");
|
|
324
|
+
}
|
|
325
|
+
var H = {
|
|
326
|
+
width: 1,
|
|
327
|
+
minWidth: 0,
|
|
328
|
+
maxWidth: 1
|
|
329
|
+
};
|
|
330
|
+
function U(e, t, r) {
|
|
331
|
+
if (e !== void 0) {
|
|
332
|
+
if (!i(e)) {
|
|
333
|
+
r.issues.push(n(`${t}.stack`, "stack_invalid"));
|
|
334
|
+
return;
|
|
335
|
+
}
|
|
336
|
+
for (let i of [
|
|
337
|
+
"width",
|
|
338
|
+
"minWidth",
|
|
339
|
+
"maxWidth"
|
|
340
|
+
]) e[i] !== void 0 && !V(e[i], H[i]) && r.issues.push(n(`${t}.stack.${i}`, "stack_invalid"));
|
|
341
|
+
e.align !== void 0 && e.align !== "start" && e.align !== "center" && e.align !== "end" && r.issues.push(n(`${t}.stack.align`, "stack_invalid"));
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
function W(e, t, r) {
|
|
323
345
|
e !== void 0 && (typeof e != "number" || !Number.isFinite(e) || e <= 0) && r.issues.push(n(`${t}.columnWidth`, "column_width_invalid"));
|
|
324
346
|
}
|
|
325
347
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.10.0 made by Venus | 2026-07-13T07:28:24.093Z */
|
|
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.10.0 made by Venus | 2026-07-13T07:28:24.093Z */
|
|
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([
|
|
@@ -30,6 +30,7 @@ var t = /* @__PURE__ */ new Set([
|
|
|
30
30
|
type_required: "type 必须为非空字符串",
|
|
31
31
|
flex_invalid: "flex 配置无效:grow / shrink 须为非负数,basis 须为字符串",
|
|
32
32
|
column_width_invalid: "columnWidth 必须为正数(表格子表单列的固定像素宽度)",
|
|
33
|
+
stack_invalid: "stack 配置无效:width / minWidth / maxWidth 须为非负数值 + px/% 单位,align 须为 start/center/end",
|
|
33
34
|
gap_invalid: "间距取值非法(需为预设档位或非负整数)",
|
|
34
35
|
variant_invalid: "variant 必须为 \"card\" 或 \"collapse\"",
|
|
35
36
|
subform_variant_invalid: "variant 必须为 \"stack\" 或 \"table\"",
|
package/dist/es/icons.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.10.0 made by Venus | 2026-07-13T07:28:24.093Z */
|
|
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";
|
package/dist/es/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.10.0 made by Venus | 2026-07-13T07:28:24.093Z */
|
|
2
2
|
import { defineContainerDefinition as e, defineFieldDefinition as t } from "./types/component.js";
|
|
3
3
|
import { noopDataSourceResolver as n } from "./types/data-source.js";
|
|
4
4
|
import { definePropertyEntry as r } from "./types/properties.js";
|
|
@@ -35,21 +35,22 @@ import { formatIssueMessage as he } from "./engine/validation.js";
|
|
|
35
35
|
import { defaultEvaluateAssignExpression as ge, defaultEvaluateExpression as _e, defaultEvaluateScriptAction as ve, resolveLinkageEvaluators as ye } from "./engine/linkage/default-evaluator.js";
|
|
36
36
|
import { LINKAGE_OPERATORS as be } from "./engine/linkage/operators.js";
|
|
37
37
|
import { ALERT_LEVELS as xe, EFFECT_ACTION_TYPES as Se, FIELD_EVENT_TRIGGER_KINDS as Ce, FIELD_TRIGGER_KINDS as we, FORM_TRIGGER_KINDS as Te, KEYED_ONLY_ACTIONS as Ee, LINKAGE_ACTION_TYPES as De, STATE_ACTION_TYPES as Oe, isEffectAction as ke, isFieldEventTriggerKind as Ae, isStateAction as je } from "./engine/linkage/taxonomy.js";
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
|
|
38
|
+
import { getFieldPermission as Me, isWritableFieldPermission as Ne } from "./engine/linkage/evaluator.js";
|
|
39
|
+
import { validateLinkageSchema as Pe } from "./engine/linkage/validator.js";
|
|
40
|
+
import { validateSchema as Fe } from "./engine/schema/validate.js";
|
|
41
|
+
import { FormEditorStoreProvider as Ie, isPaletteVisible as Le, useCurrentLayer as Re, useFormEditorStore as ze, useFormEditorStoreApi as Be } from "./store/form-store.js";
|
|
42
|
+
import { FormRenderer as Ve } from "./render/form-renderer.js";
|
|
43
|
+
import { ConversionRegistry as He, convertPresentation as Ue, createDefaultConversionRules as We } from "./engine/conversion/index.js";
|
|
44
|
+
import { LinkageRulesEntry as Ge } from "./editor/properties/entries/linkage/linkage-rules-entry.js";
|
|
45
|
+
import { CheckboxEntry as Ke } from "./editor/properties/entries/checkbox-entry.js";
|
|
46
|
+
import { IconEntry as qe } from "./editor/properties/entries/icon-entry.js";
|
|
47
|
+
import { KeyEntry as Je } from "./editor/properties/entries/key-entry.js";
|
|
48
|
+
import { NumberEntry as Ye } from "./editor/properties/entries/number-entry.js";
|
|
49
|
+
import { OptionsSourceEntry as Xe } from "./editor/properties/entries/options-source/index.js";
|
|
50
|
+
import { SelectEntry as Ze } from "./editor/properties/entries/select-entry.js";
|
|
51
|
+
import { TextEntry as Qe } from "./editor/properties/entries/text-entry.js";
|
|
52
|
+
import { Toolbar as $e } from "./editor/toolbar/toolbar.js";
|
|
53
|
+
import { FormEditor as et, FormEditorProvider as tt, FormEditorShell as nt, FormEditorStage as rt, FormEditorWorkspace as it } from "./editor/form-editor.js";
|
|
54
|
+
import { inferColumnType as at, toColumnDefinitions as ot } from "./engine/schema/column-type.js";
|
|
55
|
+
import { toFormFieldDefinitions as st } from "./engine/schema/permission-bridge.js";
|
|
56
|
+
export { xe as ALERT_LEVELS, i as CONTAINER_TYPES, Ke as CheckboxEntry, He as ConversionRegistry, a as DEFAULT_GAP_SCALE, l as DataSourceProvider, z as DeviceProvider, Se as EFFECT_ACTION_TYPES, Ce as FIELD_EVENT_TRIGGER_KINDS, we as FIELD_TRIGGER_KINDS, Te as FORM_TRIGGER_KINDS, f as FieldShell, et as FormEditor, tt as FormEditorProvider, nt as FormEditorShell, rt as FormEditorStage, Ie as FormEditorStoreProvider, $e as FormEditorToolbar, it as FormEditorWorkspace, F as FormFieldRegistry, Ve as FormRenderer, o as GAP_SCALES, qe as IconEntry, Ee as KEYED_ONLY_ACTIONS, Je as KeyEntry, De as LINKAGE_ACTION_TYPES, be as LINKAGE_OPERATORS, d as Label, Ge as LinkageRulesEntry, Ye as NumberEntry, Xe as OptionsSourceEntry, s as ROW_COLS, B as RegistryProvider, Oe as STATE_ACTION_TYPES, Ze as SelectEntry, Qe as TextEntry, w as alertBlockDefinition, c as buttonDefinition, p as checkboxGroupFieldDefinition, ae as cloneBlock, m as codeEditorDefinition, Ue as convertPresentation, We as createDefaultConversionRules, R as createDefaultMobileRegistry, I as createDefaultRegistry, U as createEmptySchema, h as createId, ue as currentLayer, x as dateFieldDefinition, S as dateRangeFieldDefinition, C as datetimeFieldDefinition, ge as defaultEvaluateAssignExpression, _e as defaultEvaluateExpression, ve as defaultEvaluateScriptAction, e as defineContainerDefinition, t as defineFieldDefinition, r as definePropertyEntry, T as dividerDefinition, ne as editField, de as emptyLayer, W as findField, G as findNode, K as findParentContainer, g as flexDefinition, he as formatIssueMessage, Z as generateUniqueKey, Me as getFieldPermission, _ as gridDefinition, at as inferColumnType, oe as insertBlock, q as isContainerNode, ke as isEffectAction, Ae as isFieldEventTriggerKind, Q as isKeyedField, $ as isKeyedNode, J as isLeafField, Le as isPaletteVisible, je as isStateAction, Ne as isWritableFieldPermission, P as mobileFieldDefinitions, se as moveBlock, ee as nextUniqueKey, n as noopDataSourceResolver, D as numberFieldDefinition, E as paragraphDefinition, O as radioFieldDefinition, L as registerDefaults, re as removeBlock, ye as resolveLinkageEvaluators, fe as resolvePresentation, te as sanitizeKey, v as sectionDefinition, k as selectFieldDefinition, ce as setFlex, le as setSpan, y as subformDefinition, A as switchFieldDefinition, b as tabsDefinition, j as textareaFieldDefinition, M as textfieldDefinition, ot as toColumnDefinitions, st as toFormFieldDefinitions, pe as toRuntimeSchema, ie as updateNode, Re as useCurrentLayer, V as useDeviceRegistries, u as useFieldOptions, H as useFieldRegistry, ze as useFormEditorStore, Be as useFormEditorStoreApi, N as useMobileScopeContainer, Pe as validateLinkageSchema, Fe as validateSchema, Y as walkFields, X as walkNodes, me as withPresentation };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.10.0 made by Venus | 2026-07-13T07:28:24.093Z */
|
|
2
2
|
import { EditorIcon as e } from "../../icons.js";
|
|
3
3
|
import { SECTION_PANEL_KEY as t, subformBodyCss as n, subformRemoveCss as r, subformRowBodyCss as i, subformRowCss as a } from "./subform-shell.js";
|
|
4
4
|
import { jsx as o, jsxs as s } from "@emotion/react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.10.0 made by Venus | 2026-07-13T07:28:24.093Z */
|
|
2
2
|
import { EditorIcon as e } from "../../icons.js";
|
|
3
3
|
import { SECTION_PANEL_KEY as t, subformBodyCss as n, subformRemoveCss as r, subformRowBodyCss as i, subformRowCss as a } from "./subform-shell.js";
|
|
4
4
|
import { jsx as o, jsxs as s } from "@emotion/react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.10.0 made by Venus | 2026-07-13T07:28:24.093Z */
|
|
2
2
|
import { css as e } from "@emotion/react";
|
|
3
3
|
import { globalCssVars as t } from "@vef-framework-react/components";
|
|
4
4
|
//#region src/render/chrome/subform-shell.ts
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.10.0 made by Venus | 2026-07-13T07:28:24.093Z */
|
|
2
2
|
import { useFieldRegistry as e } from "../store/engine-provider.js";
|
|
3
3
|
import { isKeyedField as t } from "../engine/keys.js";
|
|
4
4
|
import { jsx as n, jsxs as r } from "@emotion/react/jsx-runtime";
|