@vef-framework-react/form-editor 2.21.0 → 2.22.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/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 +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/components/upload-field/index.js +1 -1
- package/dist/es/editor/canvas/canvas-field.js +1 -1
- package/dist/es/editor/canvas/canvas.js +1 -1
- package/dist/es/editor/canvas/container-drag-chip.js +1 -1
- 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 +1 -1
- 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 +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 +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 +1 -1
- 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 +1 -1
- 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/data-source-params.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 +1 -1
- package/dist/es/engine/linkage/index.js +1 -1
- package/dist/es/engine/linkage/operators.js +1 -1
- package/dist/es/engine/linkage/shape.js +1 -1
- 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 +1 -1
- 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 +28 -27
- 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 +1 -1
- package/dist/es/render/data-source-param-scope.js +1 -1
- 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 +1 -1
- 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/option-order.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 +1 -1
- 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 +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/components/mobile/input-cell.d.ts +1 -1
- package/dist/types/components/mobile/theme.d.ts +1 -1
- package/dist/types/editor/canvas/phone-frame.d.ts +1 -1
- package/dist/types/editor/properties/entries/entry-field.d.ts +1 -1
- package/dist/types/editor/properties/entries/linkage/styles.d.ts +1 -1
- package/dist/types/editor/styles.d.ts +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/render/chrome/subform-shell.d.ts +1 -1
- package/dist/types/render/parts/field-shell.d.ts +1 -1
- package/dist/types/store/form-store.d.ts +7 -3
- package/package.json +5 -5
package/dist/es/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.22.0 made by Venus | 2026-09-15T11:24:33.052Z */
|
|
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 { isDynamicValue as r } from "./types/dynamic-value.js";
|
|
@@ -29,29 +29,30 @@ import { selectFieldDefinition as le } from "./components/select-field/index.js"
|
|
|
29
29
|
import { switchFieldDefinition as ue } from "./components/switch-field/index.js";
|
|
30
30
|
import { textareaFieldDefinition as de } from "./components/textarea-field/index.js";
|
|
31
31
|
import { textfieldDefinition as fe } from "./components/textfield/index.js";
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
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
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
|
|
32
|
+
import { uploadFieldDefinition as pe } from "./components/upload-field/index.js";
|
|
33
|
+
import { useMobileScopeContainer as me } from "./components/mobile/scope.js";
|
|
34
|
+
import { mobileFieldDefinitions as he } from "./components/mobile/definitions.js";
|
|
35
|
+
import { FormFieldRegistry as ge } from "./engine/registry/form-field-registry.js";
|
|
36
|
+
import { createDefaultRegistry as _e, registerDefaults as ve } from "./engine/registry/defaults.js";
|
|
37
|
+
import { createDefaultMobileRegistry as ye } from "./engine/registry/defaults-mobile.js";
|
|
38
|
+
import { DeviceProvider as be, RegistryProvider as xe, useDeviceRegistries as Se, useFieldRegistry as Ce } from "./store/engine-provider.js";
|
|
39
|
+
import { editField as we, removeBlock as Te, updateNode as Ee } from "./engine/schema/mutate.js";
|
|
40
|
+
import { cloneBlock as De, insertBlock as Oe, moveBlock as ke, setFlex as Ae, setSpan as je } from "./engine/schema/edit-ops.js";
|
|
41
|
+
import { currentLayer as Me, emptyLayer as Ne, resolvePresentation as Pe, toRuntimeSchema as Fe, withPresentation as Ie } from "./engine/schema/presentation.js";
|
|
42
|
+
import { validateSchema as Le } from "./engine/schema/validate.js";
|
|
43
|
+
import { FormEditorStoreProvider as Re, isPaletteVisible as ze, useCurrentLayer as Be, useFormEditorStore as Ve, useFormEditorStoreApi as He } from "./store/form-store.js";
|
|
44
|
+
import { FormRenderer as Ue } from "./render/form-renderer.js";
|
|
45
|
+
import { ConversionRegistry as We, convertPresentation as Ge, createDefaultConversionRules as Ke } from "./engine/conversion/index.js";
|
|
46
|
+
import { LinkageRulesEntry as qe } from "./editor/properties/entries/linkage/linkage-rules-entry.js";
|
|
47
|
+
import { CheckboxEntry as Je } from "./editor/properties/entries/checkbox-entry.js";
|
|
48
|
+
import { IconEntry as Ye } from "./editor/properties/entries/icon-entry.js";
|
|
49
|
+
import { KeyEntry as Xe } from "./editor/properties/entries/key-entry.js";
|
|
50
|
+
import { NumberEntry as Ze } from "./editor/properties/entries/number-entry.js";
|
|
51
|
+
import { OptionsSourceEntry as Qe } from "./editor/properties/entries/options-source/index.js";
|
|
52
|
+
import { SelectEntry as $e } from "./editor/properties/entries/select-entry.js";
|
|
53
|
+
import { TextEntry as et } from "./editor/properties/entries/text-entry.js";
|
|
54
|
+
import { Toolbar as tt } from "./editor/toolbar/toolbar.js";
|
|
55
|
+
import { FormEditor as nt, FormEditorProvider as rt, FormEditorShell as it, FormEditorStage as at, FormEditorWorkspace as ot } from "./editor/form-editor.js";
|
|
56
|
+
import { inferColumnType as st, toColumnDefinitions as ct } from "./engine/schema/column-type.js";
|
|
57
|
+
import { toFormFieldDefinitions as lt } from "./engine/schema/permission-bridge.js";
|
|
58
|
+
export { A as ALERT_LEVELS, a as CONTAINER_TYPES, Je as CheckboxEntry, We as ConversionRegistry, o as DEFAULT_GAP_SCALE, W as DataSourceProvider, be as DeviceProvider, j as EFFECT_ACTION_TYPES, M as FIELD_EVENT_TRIGGER_KINDS, N as FIELD_TRIGGER_KINDS, P as FORM_TRIGGER_KINDS, q as FieldShell, nt as FormEditor, rt as FormEditorProvider, it as FormEditorShell, at as FormEditorStage, Re as FormEditorStoreProvider, tt as FormEditorToolbar, ot as FormEditorWorkspace, ge as FormFieldRegistry, Ue as FormRenderer, s as GAP_SCALES, Ye as IconEntry, F as KEYED_ONLY_ACTIONS, Xe as KeyEntry, I as LINKAGE_ACTION_TYPES, k as LINKAGE_OPERATORS, K as Label, qe as LinkageRulesEntry, Ze as NumberEntry, Qe as OptionsSourceEntry, c as ROW_COLS, xe as RegistryProvider, L as STATE_ACTION_TYPES, $e as SelectEntry, et as TextEntry, ie as alertBlockDefinition, l as buttonDefinition, J as checkboxGroupFieldDefinition, De as cloneBlock, Y as codeEditorDefinition, Ge as convertPresentation, Ke as createDefaultConversionRules, ye as createDefaultMobileRegistry, _e as createDefaultRegistry, f as createEmptySchema, d as createId, Me as currentLayer, te as dateFieldDefinition, ne as dateRangeFieldDefinition, re as datetimeFieldDefinition, b as defaultEvaluateAssignExpression, x as defaultEvaluateExpression, S as defaultEvaluateScriptAction, e as defineContainerDefinition, t as defineFieldDefinition, i as definePropertyEntry, ae as dividerDefinition, we as editField, Ne as emptyLayer, p as findField, m as findNode, h as findParentContainer, X as flexDefinition, u as formatIssueMessage, w as generateUniqueKey, V as getFieldPermission, Z as gridDefinition, st as inferColumnType, Oe as insertBlock, g as isContainerNode, r as isDynamicValue, R as isEffectAction, z as isFieldEventTriggerKind, T as isKeyedField, E as isKeyedNode, _ as isLeafField, ze as isPaletteVisible, B as isStateAction, H as isWritableFieldPermission, he as mobileFieldDefinitions, ke as moveBlock, D as nextUniqueKey, n as noopDataSourceResolver, se as numberFieldDefinition, oe as paragraphDefinition, ce as radioFieldDefinition, ve as registerDefaults, Te as removeBlock, C as resolveLinkageEvaluators, Pe as resolvePresentation, O as sanitizeKey, Q as sectionDefinition, le as selectFieldDefinition, Ae as setFlex, je as setSpan, $ as subformDefinition, ue as switchFieldDefinition, ee as tabsDefinition, de as textareaFieldDefinition, fe as textfieldDefinition, ct as toColumnDefinitions, lt as toFormFieldDefinitions, Fe as toRuntimeSchema, Ee as updateNode, pe as uploadFieldDefinition, Be as useCurrentLayer, Se as useDeviceRegistries, G as useFieldOptions, Ce as useFieldRegistry, Ve as useFormEditorStore, He as useFormEditorStoreApi, me as useMobileScopeContainer, U as validateLinkageSchema, Le as validateSchema, v as walkFields, y as walkNodes, Ie as withPresentation };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.22.0 made by Venus | 2026-09-15T11:24:33.052Z */
|
|
2
2
|
import { EditorIcon as e } from "../../icons.js";
|
|
3
3
|
import { FieldFooter as t } from "../parts/field-shell.js";
|
|
4
4
|
import { SECTION_PANEL_KEY as n, subformBodyCss as r, subformRemoveCss as i, subformRowBodyCss as a, subformRowCss as o } from "./subform-shell.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.22.0 made by Venus | 2026-09-15T11:24:33.052Z */
|
|
2
2
|
import { EditorIcon as e } from "../../icons.js";
|
|
3
3
|
import { FieldFooter as t } from "../parts/field-shell.js";
|
|
4
4
|
import { SECTION_PANEL_KEY as n, subformBodyCss as r, subformRemoveCss as i, subformRowBodyCss as a, subformRowCss as o } from "./subform-shell.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.22.0 made by Venus | 2026-09-15T11:24:33.052Z */
|
|
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
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.22.0 made by Venus | 2026-09-15T11:24:33.052Z */
|
|
2
2
|
import { noopDataSourceResolver as e } from "../types/data-source.js";
|
|
3
3
|
import { resolveRequestParams as t } from "../engine/data-source-params.js";
|
|
4
4
|
import { paramEvaluatorFor as n, useDataSourceParamScope as r } from "./data-source-param-scope.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.22.0 made by Venus | 2026-09-15T11:24:33.052Z */
|
|
2
2
|
import { resolveLinkageEvaluators as e } from "../engine/linkage/default-evaluator.js";
|
|
3
3
|
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
4
4
|
import { createContext as n, use as r, useMemo as i } from "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.22.0 made by Venus | 2026-09-15T11:24:33.052Z */
|
|
2
2
|
import { isKeyedField as e } from "../engine/keys.js";
|
|
3
3
|
import { useFieldRegistry as t } from "../store/engine-provider.js";
|
|
4
4
|
import { jsx as n, jsxs as r } from "@emotion/react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.22.0 made by Venus | 2026-09-15T11:24:33.052Z */
|
|
2
2
|
import { EditorIcon as e } from "../icons.js";
|
|
3
3
|
import { schemaHasBoundParams as t } from "../engine/data-source-params.js";
|
|
4
4
|
import { isKeyedField as n } from "../engine/keys.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.22.0 made by Venus | 2026-09-15T11:24:33.052Z */
|
|
2
2
|
import { Label as e } from "./label.js";
|
|
3
3
|
import { Fragment as t, jsx as n, jsxs as r } from "@emotion/react/jsx-runtime";
|
|
4
4
|
import { css as i } from "@emotion/react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.22.0 made by Venus | 2026-09-15T11:24:33.052Z */
|
|
2
2
|
import { jsx as e, jsxs as t } from "@emotion/react/jsx-runtime";
|
|
3
3
|
import { css as n } from "@emotion/react";
|
|
4
4
|
import { globalCssVars as r } from "@vef-framework-react/components";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.22.0 made by Venus | 2026-09-15T11:24:33.052Z */
|
|
2
2
|
//#region src/render/parts/option-order.ts
|
|
3
3
|
function e(e, t) {
|
|
4
4
|
let n = new Map(t.map((e, t) => [e.value, t]));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.22.0 made by Venus | 2026-09-15T11:24:33.052Z */
|
|
2
2
|
import { errorTextCss as e, helperTextCss as t } from "./field-shell.js";
|
|
3
3
|
import { jsx as n } from "@emotion/react/jsx-runtime";
|
|
4
4
|
//#region src/render/parts/options-status.tsx
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.22.0 made by Venus | 2026-09-15T11:24:33.052Z */
|
|
2
2
|
import { DEFAULT_GAP_SCALE as e } from "../types/schema.js";
|
|
3
3
|
//#region src/render/stack-style.ts
|
|
4
4
|
var t = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.22.0 made by Venus | 2026-09-15T11:24:33.052Z */
|
|
2
2
|
import { isContainerNode as e } from "../engine/schema/walk.js";
|
|
3
3
|
import { isKeyedField as t, isValidatableField as n } from "../engine/keys.js";
|
|
4
4
|
import { validateKeyedFieldValue as r } from "./submit.js";
|
package/dist/es/render/submit.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.22.0 made by Venus | 2026-09-15T11:24:33.052Z */
|
|
2
2
|
import { containerBodies as e } from "../engine/schema/nodes.js";
|
|
3
3
|
import { isContainerNode as t, isLeafField as n, nodeLabel as r, walkNodes as i } from "../engine/schema/walk.js";
|
|
4
4
|
import { isKeyedField as a, isKeyedNode as o, isValidatableField as s } from "../engine/keys.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.22.0 made by Venus | 2026-09-15T11:24:33.052Z */
|
|
2
2
|
import { isRootScope as e, walkFields as t } from "../engine/schema/walk.js";
|
|
3
3
|
import { resolveRequestParams as n } from "../engine/data-source-params.js";
|
|
4
4
|
import { resolveLinkageEvaluators as r } from "../engine/linkage/default-evaluator.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.22.0 made by Venus | 2026-09-15T11:24:33.052Z */
|
|
2
2
|
import { getFieldPermission as e, isWritableFieldPermission as t } from "../engine/linkage/evaluator.js";
|
|
3
3
|
import { isDeepEqual as n } from "@vef-framework-react/shared";
|
|
4
4
|
//#region src/runtime/field-write.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.22.0 made by Venus | 2026-09-15T11:24:33.052Z */
|
|
2
2
|
//#region src/runtime/resolve-scope-values.ts
|
|
3
3
|
function e(e, t) {
|
|
4
4
|
if (t === "") return e;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.22.0 made by Venus | 2026-09-15T11:24:33.052Z */
|
|
2
2
|
import { emptyRuntimeState as e } from "../engine/linkage/evaluator.js";
|
|
3
3
|
import { createContextWithSelector as t } from "@vef-framework-react/core";
|
|
4
4
|
//#region src/runtime/runtime-context.tsx
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.22.0 made by Venus | 2026-09-15T11:24:33.052Z */
|
|
2
2
|
import { isRootScope as e, walkFields as t } from "../engine/schema/walk.js";
|
|
3
3
|
import { isKeyedField as n } from "../engine/keys.js";
|
|
4
4
|
import { evaluateRuntimeStates as r } from "../engine/linkage/evaluator.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.22.0 made by Venus | 2026-09-15T11:24:33.052Z */
|
|
2
2
|
import { isDeepEqual as e } from "@vef-framework-react/shared";
|
|
3
3
|
//#region src/runtime/stabilize-state-map.ts
|
|
4
4
|
function t(t, n) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.22.0 made by Venus | 2026-09-15T11:24:33.052Z */
|
|
2
2
|
import { jsx as e } from "@emotion/react/jsx-runtime";
|
|
3
3
|
import { createContext as t, use as n, useCallback as r, useSyncExternalStore as i } from "react";
|
|
4
4
|
//#region src/store/engine-provider.tsx
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.22.0 made by Venus | 2026-09-15T11:24:33.052Z */
|
|
2
2
|
import { createId as e, idPrefixForType as t } from "../engine/ids.js";
|
|
3
3
|
import { createEmptySchema as n } from "../engine/schema/nodes.js";
|
|
4
4
|
import { countFields as r, findField as i, findNode as a, findScope as o, scopeEquals as s, walkFields as c, walkNodes as l } from "../engine/schema/walk.js";
|
package/dist/es/types/chrome.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.22.0 made by Venus | 2026-09-15T11:24:33.052Z */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.22.0 made by Venus | 2026-09-15T11:24:33.052Z */
|
|
2
2
|
//#region src/types/data-source.ts
|
|
3
3
|
var e = { resolve: () => Promise.resolve([]) };
|
|
4
4
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.22.0 made by Venus | 2026-09-15T11:24:33.052Z */
|
|
2
2
|
//#region src/types/dynamic-value.ts
|
|
3
3
|
function e(e) {
|
|
4
4
|
if (typeof e != "object" || !e) return !1;
|
package/dist/es/types/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.22.0 made by Venus | 2026-09-15T11:24:33.052Z */
|
|
2
2
|
import { defineContainerDefinition as e, defineFieldDefinition as t } from "./component.js";
|
|
3
3
|
import { noopDataSourceResolver as n } from "./data-source.js";
|
|
4
4
|
import { isDynamicValue as r } from "./dynamic-value.js";
|
package/dist/es/types/linkage.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @vef-framework-react/form-editor v2.
|
|
1
|
+
/*! @vef-framework-react/form-editor v2.22.0 made by Venus | 2026-09-15T11:24:33.052Z */
|
package/dist/es/types/schema.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactElement, ReactNode } from 'react';
|
|
2
|
-
import { SerializedStyles } from '@emotion/
|
|
2
|
+
import { SerializedStyles } from '@emotion/react';
|
|
3
3
|
/**
|
|
4
4
|
* The shared "input cell" look for mobile field controls — a full-width
|
|
5
5
|
* bordered row on the container background, the mobile counterpart of the PC
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SerializedStyles } from '@emotion/
|
|
1
|
+
import { SerializedStyles } from '@emotion/react';
|
|
2
2
|
/**
|
|
3
3
|
* Bridge antd-mobile's themeable variables onto the VEF theme tokens so mobile
|
|
4
4
|
* controls track the PC primary color, radius, fonts, and surfaces from one
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactElement, ReactNode } from 'react';
|
|
2
|
-
import { SerializedStyles } from '@emotion/
|
|
2
|
+
import { SerializedStyles } from '@emotion/react';
|
|
3
3
|
export declare const phoneViewportCss: SerializedStyles;
|
|
4
4
|
/**
|
|
5
5
|
* The simulated-iPhone shell around the mobile design / preview surface. Owns
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactElement, ReactNode } from 'react';
|
|
2
|
-
import { SerializedStyles } from '@emotion/
|
|
2
|
+
import { SerializedStyles } from '@emotion/react';
|
|
3
3
|
/**
|
|
4
4
|
* The label token for a property entry. Exported so the option-source entry —
|
|
5
5
|
* whose own `<div>`-based layout cannot use {@link EntryField} — keeps the same
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Transition } from '@vef-framework-react/core';
|
|
2
|
-
import { SerializedStyles } from '@emotion/
|
|
2
|
+
import { SerializedStyles } from '@emotion/react';
|
|
3
3
|
/**
|
|
4
4
|
* Shared styles for the editor's side surfaces. Both side panels are docked
|
|
5
5
|
* workbenches: the component palette on the left, the properties panel on the
|
package/dist/types/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export { selectFieldDefinition } from './components/select-field';
|
|
|
12
12
|
export { switchFieldDefinition } from './components/switch-field';
|
|
13
13
|
export { textareaFieldDefinition } from './components/textarea-field';
|
|
14
14
|
export { textfieldDefinition } from './components/textfield';
|
|
15
|
+
export { uploadFieldDefinition } from './components/upload-field';
|
|
15
16
|
export { FormEditor, FormEditorProvider, FormEditorShell, FormEditorStage, FormEditorWorkspace, type FormEditorApi, type FormEditorProps, type FormEditorProviderProps, type FormEditorShellProps } from './editor/form-editor';
|
|
16
17
|
export { CheckboxEntry, IconEntry, KeyEntry, LinkageRulesEntry, NumberEntry, OptionsSourceEntry, SelectEntry, TextEntry } from './editor/properties/entries';
|
|
17
18
|
export { Toolbar as FormEditorToolbar, type ToolbarBrand, type ToolbarProps } from './editor/toolbar/toolbar';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactElement, ReactNode } from 'react';
|
|
2
2
|
import { LabelPosition } from '../../types';
|
|
3
|
-
import { SerializedStyles } from '@emotion/
|
|
3
|
+
import { SerializedStyles } from '@emotion/react';
|
|
4
4
|
/**
|
|
5
5
|
* Secondary text scales, exported so switch-field (which lays its label inline
|
|
6
6
|
* and cannot use FieldShell) shares the exact token set instead of re-hardcoding
|
|
@@ -48,9 +48,13 @@ export interface HistoryEntry {
|
|
|
48
48
|
export interface EditCoalesceOptions {
|
|
49
49
|
/**
|
|
50
50
|
* Coalescing key for this edit run: consecutive edits sharing a key fold
|
|
51
|
-
* into one undo step.
|
|
52
|
-
*
|
|
53
|
-
*
|
|
51
|
+
* into one undo step. Name what is being edited, finely enough that moving
|
|
52
|
+
* to another property starts a fresh step (e.g. `field:<id>:<property>`).
|
|
53
|
+
*
|
|
54
|
+
* Omitting it means "this edit continues nothing" — the edit gets its own
|
|
55
|
+
* undo step, and so does the next one. Folding is opt-in: a default derived
|
|
56
|
+
* from the node would fold every discrete action on it into one step, which
|
|
57
|
+
* is what made three add-tab clicks a single undo.
|
|
54
58
|
*/
|
|
55
59
|
coalesceKey?: string;
|
|
56
60
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vef-framework-react/form-editor",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.22.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Form editor for VEF framework",
|
|
6
6
|
"keywords": [
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"@emotion/react": "^11.14.0",
|
|
47
47
|
"antd-mobile": "^5.42.3",
|
|
48
48
|
"lucide-react": "^1.23.0",
|
|
49
|
-
"@vef-framework-react/components": "2.
|
|
50
|
-
"@vef-framework-react/core": "2.
|
|
51
|
-
"@vef-framework-react/
|
|
52
|
-
"@vef-framework-react/
|
|
49
|
+
"@vef-framework-react/components": "2.22.0",
|
|
50
|
+
"@vef-framework-react/core": "2.22.0",
|
|
51
|
+
"@vef-framework-react/shared": "2.22.0",
|
|
52
|
+
"@vef-framework-react/hooks": "2.22.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"react": "^19.2.7"
|