@vef-framework-react/form-editor 2.4.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/_internal/_rolldown/runtime.cjs +1 -0
- package/dist/cjs/components/button/index.cjs +1 -0
- package/dist/cjs/components/checkbox-group-field/index.cjs +1 -0
- package/dist/cjs/components/code-editor/code-editor-input.cjs +1 -0
- package/dist/cjs/components/code-editor/index.cjs +1 -0
- package/dist/cjs/components/containers/index.cjs +1 -0
- package/dist/cjs/components/date-field/index.cjs +1 -0
- package/dist/cjs/components/display/index.cjs +1 -0
- package/dist/cjs/components/field-entries.cjs +1 -0
- package/dist/cjs/components/mobile/alert-block.cjs +1 -0
- package/dist/cjs/components/mobile/button.cjs +1 -0
- package/dist/cjs/components/mobile/checkbox-group.cjs +1 -0
- package/dist/cjs/components/mobile/date-adapters.cjs +1 -0
- package/dist/cjs/components/mobile/date.cjs +1 -0
- package/dist/cjs/components/mobile/daterange.cjs +1 -0
- package/dist/cjs/components/mobile/datetime.cjs +1 -0
- package/dist/cjs/components/mobile/definitions.cjs +1 -0
- package/dist/cjs/components/mobile/divider.cjs +1 -0
- package/dist/cjs/components/mobile/input-cell.cjs +1 -0
- package/dist/cjs/components/mobile/number.cjs +1 -0
- package/dist/cjs/components/mobile/option-group.cjs +1 -0
- package/dist/cjs/components/mobile/paragraph.cjs +1 -0
- package/dist/cjs/components/mobile/picker-trigger.cjs +1 -0
- package/dist/cjs/components/mobile/radio.cjs +1 -0
- package/dist/cjs/components/mobile/scope.cjs +1 -0
- package/dist/cjs/components/mobile/select.cjs +1 -0
- package/dist/cjs/components/mobile/switch.cjs +1 -0
- package/dist/cjs/components/mobile/textarea.cjs +1 -0
- package/dist/cjs/components/mobile/textfield.cjs +1 -0
- package/dist/cjs/components/mobile/theme.cjs +1 -0
- package/dist/cjs/components/number-field/index.cjs +1 -0
- package/dist/cjs/components/radio-field/index.cjs +1 -0
- package/dist/cjs/components/select-field/index.cjs +1 -0
- package/dist/cjs/components/switch-field/index.cjs +1 -0
- package/dist/cjs/components/textarea-field/index.cjs +1 -0
- package/dist/cjs/components/textfield/index.cjs +1 -0
- package/dist/cjs/editor/canvas/canvas-field.cjs +1 -0
- package/dist/cjs/editor/canvas/canvas.cjs +1 -0
- package/dist/cjs/editor/canvas/drop-indicator.cjs +1 -0
- package/dist/cjs/editor/canvas/drop-zones.cjs +1 -0
- package/dist/cjs/editor/canvas/json-split-view.cjs +1 -0
- package/dist/cjs/editor/canvas/mobile-seed-state.cjs +2 -0
- package/dist/cjs/editor/canvas/phone-frame.cjs +1 -0
- package/dist/cjs/editor/dnd.cjs +1 -0
- package/dist/cjs/editor/editor-layout-context.cjs +1 -0
- package/dist/cjs/editor/footer/footer.cjs +1 -0
- package/dist/cjs/editor/form-config/form-basics-tab.cjs +1 -0
- package/dist/cjs/editor/form-config/form-config-drawer.cjs +1 -0
- package/dist/cjs/editor/form-config/outline-tab.cjs +1 -0
- package/dist/cjs/editor/form-editor.cjs +1 -0
- package/dist/cjs/editor/palette/field-groups.cjs +1 -0
- package/dist/cjs/editor/palette/palette-group.cjs +1 -0
- package/dist/cjs/editor/palette/palette-item.cjs +1 -0
- package/dist/cjs/editor/palette/palette-panel.cjs +1 -0
- package/dist/cjs/editor/preview-effects.cjs +1 -0
- package/dist/cjs/editor/preview-runtime-context.cjs +1 -0
- package/dist/cjs/editor/properties/block-layout-section.cjs +1 -0
- package/dist/cjs/editor/properties/container-properties.cjs +1 -0
- package/dist/cjs/editor/properties/entries/built-ins.cjs +1 -0
- package/dist/cjs/editor/properties/entries/checkbox-entry.cjs +1 -0
- package/dist/cjs/editor/properties/entries/coerce.cjs +1 -0
- package/dist/cjs/editor/properties/entries/entry-field.cjs +1 -0
- package/dist/cjs/editor/properties/entries/icon-entry.cjs +1 -0
- package/dist/cjs/editor/properties/entries/index.cjs +1 -0
- package/dist/cjs/editor/properties/entries/key-entry.cjs +1 -0
- package/dist/cjs/editor/properties/entries/linkage/action-editor.cjs +2 -0
- package/dist/cjs/editor/properties/entries/linkage/actions-editor.cjs +1 -0
- package/dist/cjs/editor/properties/entries/linkage/condition-editor.cjs +1 -0
- package/dist/cjs/editor/properties/entries/linkage/container-linkage-section.cjs +1 -0
- package/dist/cjs/editor/properties/entries/linkage/expression-assist.cjs +1 -0
- package/dist/cjs/editor/properties/entries/linkage/index.cjs +1 -0
- package/dist/cjs/editor/properties/entries/linkage/linkage-rules-entry.cjs +1 -0
- package/dist/cjs/editor/properties/entries/linkage/mutators.cjs +1 -0
- package/dist/cjs/editor/properties/entries/linkage/options.cjs +1 -0
- package/dist/cjs/editor/properties/entries/linkage/rule-diagnostics.cjs +1 -0
- package/dist/cjs/editor/properties/entries/linkage/rule-list-editor.cjs +1 -0
- package/dist/cjs/editor/properties/entries/linkage/styles.cjs +1 -0
- package/dist/cjs/editor/properties/entries/linkage/trigger-editor.cjs +1 -0
- package/dist/cjs/editor/properties/entries/linkage/use-linkage-editor-model.cjs +1 -0
- package/dist/cjs/editor/properties/entries/linkage/use-stable-options.cjs +1 -0
- package/dist/cjs/editor/properties/entries/number-entry.cjs +1 -0
- package/dist/cjs/editor/properties/entries/options-source/index.cjs +1 -0
- package/dist/cjs/editor/properties/entries/options-source/source-mutators.cjs +1 -0
- package/dist/cjs/editor/properties/entries/select-entry.cjs +1 -0
- package/dist/cjs/editor/properties/entries/text-entry.cjs +1 -0
- package/dist/cjs/editor/properties/form-data-sources-panel.cjs +1 -0
- package/dist/cjs/editor/properties/form-linkage-panel.cjs +1 -0
- package/dist/cjs/editor/properties/form-variables-panel.cjs +1 -0
- package/dist/cjs/editor/properties/option-editors.cjs +1 -0
- package/dist/cjs/editor/properties/panel-header.cjs +1 -0
- package/dist/cjs/editor/properties/properties-empty.cjs +1 -0
- package/dist/cjs/editor/properties/properties-header.cjs +1 -0
- package/dist/cjs/editor/properties/properties-panel.cjs +1 -0
- package/dist/cjs/editor/properties/properties-provider.cjs +1 -0
- package/dist/cjs/editor/properties/properties-tabs.cjs +1 -0
- package/dist/cjs/editor/properties/use-confirmable-kind-switch.cjs +1 -0
- package/dist/cjs/editor/remove-node-confirm.cjs +1 -0
- package/dist/cjs/editor/schema-apply.cjs +2 -0
- package/dist/cjs/editor/styles.cjs +1 -0
- package/dist/cjs/editor/toolbar/notify.cjs +1 -0
- package/dist/cjs/editor/toolbar/schema-io.cjs +1 -0
- package/dist/cjs/editor/toolbar/toolbar.cjs +1 -0
- package/dist/cjs/editor/use-editor-shortcuts.cjs +1 -0
- package/dist/cjs/editor/validation-summary.cjs +1 -0
- package/dist/cjs/engine/assert-never.cjs +1 -0
- package/dist/cjs/engine/conversion/index.cjs +1 -0
- package/dist/cjs/engine/ids.cjs +1 -0
- package/dist/cjs/engine/keys.cjs +1 -0
- package/dist/cjs/engine/linkage/cycle.cjs +1 -0
- package/dist/cjs/engine/linkage/default-evaluator.cjs +1 -0
- package/dist/cjs/engine/linkage/effects.cjs +1 -0
- package/dist/cjs/engine/linkage/evaluator.cjs +1 -0
- package/dist/cjs/engine/linkage/index.cjs +1 -0
- package/dist/cjs/engine/linkage/operators.cjs +1 -0
- package/dist/cjs/engine/linkage/source-tracking.cjs +1 -0
- package/dist/cjs/engine/linkage/taxonomy.cjs +1 -0
- package/dist/cjs/engine/linkage/validator.cjs +1 -0
- package/dist/cjs/engine/registry/defaults-mobile.cjs +1 -0
- package/dist/cjs/engine/registry/defaults.cjs +1 -0
- package/dist/cjs/engine/registry/form-field-registry.cjs +1 -0
- package/dist/cjs/engine/schema/edit-ops.cjs +1 -0
- package/dist/cjs/engine/schema/mutate.cjs +1 -0
- package/dist/cjs/engine/schema/nodes.cjs +1 -0
- package/dist/cjs/engine/schema/permission-bridge.cjs +1 -0
- package/dist/cjs/engine/schema/presentation.cjs +1 -0
- package/dist/cjs/engine/schema/reconcile.cjs +1 -0
- package/dist/cjs/engine/schema/removal-impact.cjs +1 -0
- package/dist/cjs/engine/schema/rewrite.cjs +1 -0
- package/dist/cjs/engine/schema/validate.cjs +1 -0
- package/dist/cjs/engine/schema/walk.cjs +1 -0
- package/dist/cjs/engine/validation.cjs +1 -0
- package/dist/cjs/icons.cjs +1 -0
- package/dist/cjs/index.cjs +1 -0
- package/dist/cjs/render/chrome/mobile-chrome.cjs +1 -0
- package/dist/cjs/render/chrome/pc-chrome.cjs +1 -0
- package/dist/cjs/render/chrome/subform-shell.cjs +1 -0
- package/dist/cjs/render/data-source-context.cjs +0 -0
- package/dist/cjs/render/flex-style.cjs +1 -0
- package/dist/cjs/render/form-field.cjs +1 -0
- package/dist/cjs/render/form-renderer.cjs +1 -0
- package/dist/cjs/render/grid-style.cjs +1 -0
- package/dist/cjs/render/parts/field-shell.cjs +1 -0
- package/dist/cjs/render/parts/label.cjs +1 -0
- package/dist/cjs/render/parts/options-status.cjs +1 -0
- package/dist/cjs/render/stack-style.cjs +1 -0
- package/dist/cjs/render/subform-columns.cjs +1 -0
- package/dist/cjs/render/submit.cjs +1 -0
- package/dist/cjs/runtime/effects.cjs +1 -0
- package/dist/cjs/runtime/resolve-scope-values.cjs +1 -0
- package/dist/cjs/runtime/runtime-context.cjs +1 -0
- package/dist/cjs/runtime/runtime-state-controller.cjs +1 -0
- package/dist/cjs/runtime/stabilize-state-map.cjs +1 -0
- package/dist/cjs/store/engine-provider.cjs +1 -0
- package/dist/cjs/store/form-store.cjs +1 -0
- package/dist/cjs/types/chrome.cjs +0 -0
- package/dist/cjs/types/component.cjs +1 -0
- package/dist/cjs/types/data-source.cjs +1 -0
- package/dist/cjs/types/index.cjs +1 -0
- package/dist/cjs/types/linkage.cjs +0 -0
- package/dist/cjs/types/properties.cjs +1 -0
- package/dist/cjs/types/schema.cjs +1 -0
- package/dist/es/components/button/index.js +183 -0
- package/dist/es/components/checkbox-group-field/index.js +103 -0
- package/dist/es/components/code-editor/code-editor-input.js +3 -0
- package/dist/es/components/code-editor/index.js +212 -0
- package/dist/es/components/containers/index.js +72 -0
- package/dist/es/components/date-field/index.js +197 -0
- package/dist/es/components/display/index.js +276 -0
- package/dist/es/components/field-entries.js +184 -0
- package/dist/es/components/mobile/alert-block.js +40 -0
- package/dist/es/components/mobile/button.js +41 -0
- package/dist/es/components/mobile/checkbox-group.js +35 -0
- package/dist/es/components/mobile/date-adapters.js +16 -0
- package/dist/es/components/mobile/date.js +42 -0
- package/dist/es/components/mobile/daterange.js +48 -0
- package/dist/es/components/mobile/datetime.js +42 -0
- package/dist/es/components/mobile/definitions.js +58 -0
- package/dist/es/components/mobile/divider.js +10 -0
- package/dist/es/components/mobile/input-cell.js +56 -0
- package/dist/es/components/mobile/number.js +73 -0
- package/dist/es/components/mobile/option-group.js +34 -0
- package/dist/es/components/mobile/paragraph.js +30 -0
- package/dist/es/components/mobile/picker-trigger.js +94 -0
- package/dist/es/components/mobile/radio.js +35 -0
- package/dist/es/components/mobile/scope.js +61 -0
- package/dist/es/components/mobile/select.js +45 -0
- package/dist/es/components/mobile/switch.js +22 -0
- package/dist/es/components/mobile/textarea.js +32 -0
- package/dist/es/components/mobile/textfield.js +30 -0
- package/dist/es/components/mobile/theme.js +8 -0
- package/dist/es/components/number-field/index.js +186 -0
- package/dist/es/components/radio-field/index.js +139 -0
- package/dist/es/components/select-field/index.js +128 -0
- package/dist/es/components/switch-field/index.js +133 -0
- package/dist/es/components/textarea-field/index.js +137 -0
- package/dist/es/components/textfield/index.js +138 -0
- package/dist/es/editor/canvas/canvas-field.js +202 -0
- package/dist/es/editor/canvas/canvas.js +415 -0
- package/dist/es/editor/canvas/drop-indicator.js +42 -0
- package/dist/es/editor/canvas/drop-zones.js +42 -0
- package/dist/es/editor/canvas/json-split-view.js +148 -0
- package/dist/es/editor/canvas/mobile-seed-state.js +103 -0
- package/dist/es/editor/canvas/phone-frame.js +109 -0
- package/dist/es/editor/dnd.js +75 -0
- package/dist/es/editor/editor-layout-context.js +34 -0
- package/dist/es/editor/footer/footer.js +154 -0
- package/dist/es/editor/form-config/form-basics-tab.js +184 -0
- package/dist/es/editor/form-config/form-config-drawer.js +224 -0
- package/dist/es/editor/form-config/outline-tab.js +132 -0
- package/dist/es/editor/form-editor.js +179 -0
- package/dist/es/editor/palette/field-groups.js +19 -0
- package/dist/es/editor/palette/palette-group.js +147 -0
- package/dist/es/editor/palette/palette-item.js +153 -0
- package/dist/es/editor/palette/palette-panel.js +109 -0
- package/dist/es/editor/preview-effects.js +22 -0
- package/dist/es/editor/preview-runtime-context.js +24 -0
- package/dist/es/editor/properties/block-layout-section.js +161 -0
- package/dist/es/editor/properties/container-properties.js +575 -0
- package/dist/es/editor/properties/entries/built-ins.js +21 -0
- package/dist/es/editor/properties/entries/checkbox-entry.js +31 -0
- package/dist/es/editor/properties/entries/coerce.js +8 -0
- package/dist/es/editor/properties/entries/entry-field.js +43 -0
- package/dist/es/editor/properties/entries/icon-entry.js +21 -0
- package/dist/es/editor/properties/entries/index.js +9 -0
- package/dist/es/editor/properties/entries/key-entry.js +29 -0
- package/dist/es/editor/properties/entries/linkage/action-editor.js +260 -0
- package/dist/es/editor/properties/entries/linkage/actions-editor.js +64 -0
- package/dist/es/editor/properties/entries/linkage/condition-editor.js +265 -0
- package/dist/es/editor/properties/entries/linkage/container-linkage-section.js +71 -0
- package/dist/es/editor/properties/entries/linkage/expression-assist.js +87 -0
- package/dist/es/editor/properties/entries/linkage/index.js +3 -0
- package/dist/es/editor/properties/entries/linkage/linkage-rules-entry.js +110 -0
- package/dist/es/editor/properties/entries/linkage/mutators.js +209 -0
- package/dist/es/editor/properties/entries/linkage/options.js +155 -0
- package/dist/es/editor/properties/entries/linkage/rule-diagnostics.js +58 -0
- package/dist/es/editor/properties/entries/linkage/rule-list-editor.js +126 -0
- package/dist/es/editor/properties/entries/linkage/styles.js +276 -0
- package/dist/es/editor/properties/entries/linkage/trigger-editor.js +64 -0
- package/dist/es/editor/properties/entries/linkage/use-linkage-editor-model.js +20 -0
- package/dist/es/editor/properties/entries/linkage/use-stable-options.js +12 -0
- package/dist/es/editor/properties/entries/number-entry.js +25 -0
- package/dist/es/editor/properties/entries/options-source/index.js +122 -0
- package/dist/es/editor/properties/entries/options-source/source-mutators.js +31 -0
- package/dist/es/editor/properties/entries/select-entry.js +23 -0
- package/dist/es/editor/properties/entries/text-entry.js +23 -0
- package/dist/es/editor/properties/form-data-sources-panel.js +170 -0
- package/dist/es/editor/properties/form-linkage-panel.js +36 -0
- package/dist/es/editor/properties/form-variables-panel.js +184 -0
- package/dist/es/editor/properties/option-editors.js +170 -0
- package/dist/es/editor/properties/panel-header.js +93 -0
- package/dist/es/editor/properties/properties-empty.js +62 -0
- package/dist/es/editor/properties/properties-header.js +31 -0
- package/dist/es/editor/properties/properties-panel.js +195 -0
- package/dist/es/editor/properties/properties-provider.js +95 -0
- package/dist/es/editor/properties/properties-tabs.js +91 -0
- package/dist/es/editor/properties/use-confirmable-kind-switch.js +26 -0
- package/dist/es/editor/remove-node-confirm.js +60 -0
- package/dist/es/editor/schema-apply.js +36 -0
- package/dist/es/editor/styles.js +74 -0
- package/dist/es/editor/toolbar/notify.js +59 -0
- package/dist/es/editor/toolbar/schema-io.js +107 -0
- package/dist/es/editor/toolbar/toolbar.js +394 -0
- package/dist/es/editor/use-editor-shortcuts.js +43 -0
- package/dist/es/editor/validation-summary.js +66 -0
- package/dist/es/engine/assert-never.js +8 -0
- package/dist/es/engine/conversion/index.js +127 -0
- package/dist/es/engine/ids.js +18 -0
- package/dist/es/engine/keys.js +48 -0
- package/dist/es/engine/linkage/cycle.js +25 -0
- package/dist/es/engine/linkage/default-evaluator.js +79 -0
- package/dist/es/engine/linkage/effects.js +41 -0
- package/dist/es/engine/linkage/evaluator.js +119 -0
- package/dist/es/engine/linkage/index.js +9 -0
- package/dist/es/engine/linkage/operators.js +44 -0
- package/dist/es/engine/linkage/source-tracking.js +17 -0
- package/dist/es/engine/linkage/taxonomy.js +51 -0
- package/dist/es/engine/linkage/validator.js +360 -0
- package/dist/es/engine/registry/defaults-mobile.js +12 -0
- package/dist/es/engine/registry/defaults.js +25 -0
- package/dist/es/engine/registry/form-field-registry.js +52 -0
- package/dist/es/engine/schema/edit-ops.js +264 -0
- package/dist/es/engine/schema/mutate.js +39 -0
- package/dist/es/engine/schema/nodes.js +61 -0
- package/dist/es/engine/schema/permission-bridge.js +46 -0
- package/dist/es/engine/schema/presentation.js +37 -0
- package/dist/es/engine/schema/reconcile.js +258 -0
- package/dist/es/engine/schema/removal-impact.js +59 -0
- package/dist/es/engine/schema/rewrite.js +11 -0
- package/dist/es/engine/schema/validate.js +320 -0
- package/dist/es/engine/schema/walk.js +103 -0
- package/dist/es/engine/validation.js +122 -0
- package/dist/es/icons.js +74 -0
- package/dist/es/index.js +54 -0
- package/dist/es/render/chrome/mobile-chrome.js +119 -0
- package/dist/es/render/chrome/pc-chrome.js +76 -0
- package/dist/es/render/chrome/subform-shell.js +38 -0
- package/dist/es/render/data-source-context.js +0 -0
- package/dist/es/render/flex-style.js +24 -0
- package/dist/es/render/form-field.js +37 -0
- package/dist/es/render/form-renderer.js +516 -0
- package/dist/es/render/grid-style.js +23 -0
- package/dist/es/render/parts/field-shell.js +119 -0
- package/dist/es/render/parts/label.js +44 -0
- package/dist/es/render/parts/options-status.js +19 -0
- package/dist/es/render/stack-style.js +13 -0
- package/dist/es/render/subform-columns.js +118 -0
- package/dist/es/render/submit.js +112 -0
- package/dist/es/runtime/effects.js +109 -0
- package/dist/es/runtime/resolve-scope-values.js +14 -0
- package/dist/es/runtime/runtime-context.js +10 -0
- package/dist/es/runtime/runtime-state-controller.js +99 -0
- package/dist/es/runtime/stabilize-state-map.js +14 -0
- package/dist/es/store/engine-provider.js +37 -0
- package/dist/es/store/form-store.js +306 -0
- package/dist/es/types/chrome.js +1 -0
- package/dist/es/types/component.js +13 -0
- package/dist/es/types/data-source.js +5 -0
- package/dist/es/types/index.js +5 -0
- package/dist/es/types/linkage.js +1 -0
- package/dist/es/types/properties.js +7 -0
- package/dist/es/types/schema.js +15 -0
- package/dist/types/src/components/button/index.d.ts +8 -0
- package/dist/types/src/components/checkbox-group-field/index.d.ts +2 -0
- package/dist/types/src/components/code-editor/code-editor-input.d.ts +1 -0
- package/dist/types/src/components/code-editor/index.d.ts +4 -0
- package/dist/types/src/components/containers/index.d.ts +12 -0
- package/dist/types/src/components/date-field/index.d.ts +4 -0
- package/dist/types/src/components/display/index.d.ts +4 -0
- package/dist/types/src/components/field-entries.d.ts +103 -0
- package/dist/types/src/components/mobile/alert-block.d.ts +12 -0
- package/dist/types/src/components/mobile/button.d.ts +9 -0
- package/dist/types/src/components/mobile/checkbox-group.d.ts +11 -0
- package/dist/types/src/components/mobile/date-adapters.d.ts +28 -0
- package/dist/types/src/components/mobile/date.d.ts +10 -0
- package/dist/types/src/components/mobile/daterange.d.ts +11 -0
- package/dist/types/src/components/mobile/datetime.d.ts +10 -0
- package/dist/types/src/components/mobile/definitions.d.ts +9 -0
- package/dist/types/src/components/mobile/divider.d.ts +10 -0
- package/dist/types/src/components/mobile/input-cell.d.ts +30 -0
- package/dist/types/src/components/mobile/number.d.ts +25 -0
- package/dist/types/src/components/mobile/option-group.d.ts +17 -0
- package/dist/types/src/components/mobile/paragraph.d.ts +10 -0
- package/dist/types/src/components/mobile/picker-trigger.d.ts +31 -0
- package/dist/types/src/components/mobile/radio.d.ts +12 -0
- package/dist/types/src/components/mobile/scope.d.ts +42 -0
- package/dist/types/src/components/mobile/select.d.ts +12 -0
- package/dist/types/src/components/mobile/switch.d.ts +14 -0
- package/dist/types/src/components/mobile/textarea.d.ts +3 -0
- package/dist/types/src/components/mobile/textfield.d.ts +11 -0
- package/dist/types/src/components/mobile/theme.d.ts +16 -0
- package/dist/types/src/components/number-field/index.d.ts +2 -0
- package/dist/types/src/components/radio-field/index.d.ts +2 -0
- package/dist/types/src/components/select-field/index.d.ts +2 -0
- package/dist/types/src/components/switch-field/index.d.ts +2 -0
- package/dist/types/src/components/textarea-field/index.d.ts +2 -0
- package/dist/types/src/components/textfield/index.d.ts +11 -0
- package/dist/types/src/editor/canvas/canvas-field.d.ts +24 -0
- package/dist/types/src/editor/canvas/canvas.d.ts +11 -0
- package/dist/types/src/editor/canvas/drop-indicator.d.ts +14 -0
- package/dist/types/src/editor/canvas/drop-zones.d.ts +48 -0
- package/dist/types/src/editor/canvas/json-split-view.d.ts +15 -0
- package/dist/types/src/editor/canvas/mobile-seed-state.d.ts +9 -0
- package/dist/types/src/editor/canvas/phone-frame.d.ts +15 -0
- package/dist/types/src/editor/dnd.d.ts +88 -0
- package/dist/types/src/editor/editor-layout-context.d.ts +53 -0
- package/dist/types/src/editor/footer/footer.d.ts +7 -0
- package/dist/types/src/editor/form-config/form-basics-tab.d.ts +34 -0
- package/dist/types/src/editor/form-config/form-config-drawer.d.ts +8 -0
- package/dist/types/src/editor/form-config/outline-tab.d.ts +2 -0
- package/dist/types/src/editor/form-editor.d.ts +142 -0
- package/dist/types/src/editor/palette/field-groups.d.ts +12 -0
- package/dist/types/src/editor/palette/palette-group.d.ts +31 -0
- package/dist/types/src/editor/palette/palette-item.d.ts +34 -0
- package/dist/types/src/editor/palette/palette-panel.d.ts +17 -0
- package/dist/types/src/editor/preview-effects.d.ts +14 -0
- package/dist/types/src/editor/preview-runtime-context.d.ts +23 -0
- package/dist/types/src/editor/properties/block-layout-section.d.ts +19 -0
- package/dist/types/src/editor/properties/container-properties.d.ts +19 -0
- package/dist/types/src/editor/properties/entries/built-ins.d.ts +19 -0
- package/dist/types/src/editor/properties/entries/checkbox-entry.d.ts +3 -0
- package/dist/types/src/editor/properties/entries/coerce.d.ts +6 -0
- package/dist/types/src/editor/properties/entries/entry-field.d.ts +29 -0
- package/dist/types/src/editor/properties/entries/icon-entry.d.ts +8 -0
- package/dist/types/src/editor/properties/entries/index.d.ts +8 -0
- package/dist/types/src/editor/properties/entries/key-entry.d.ts +14 -0
- package/dist/types/src/editor/properties/entries/linkage/action-editor.d.ts +42 -0
- package/dist/types/src/editor/properties/entries/linkage/actions-editor.d.ts +43 -0
- package/dist/types/src/editor/properties/entries/linkage/condition-editor.d.ts +28 -0
- package/dist/types/src/editor/properties/entries/linkage/container-linkage-section.d.ts +14 -0
- package/dist/types/src/editor/properties/entries/linkage/expression-assist.d.ts +33 -0
- package/dist/types/src/editor/properties/entries/linkage/index.d.ts +1 -0
- package/dist/types/src/editor/properties/entries/linkage/linkage-rules-entry.d.ts +17 -0
- package/dist/types/src/editor/properties/entries/linkage/mutators.d.ts +73 -0
- package/dist/types/src/editor/properties/entries/linkage/options.d.ts +72 -0
- package/dist/types/src/editor/properties/entries/linkage/rule-diagnostics.d.ts +20 -0
- package/dist/types/src/editor/properties/entries/linkage/rule-list-editor.d.ts +75 -0
- package/dist/types/src/editor/properties/entries/linkage/styles.d.ts +46 -0
- package/dist/types/src/editor/properties/entries/linkage/trigger-editor.d.ts +35 -0
- package/dist/types/src/editor/properties/entries/linkage/use-linkage-editor-model.d.ts +46 -0
- package/dist/types/src/editor/properties/entries/linkage/use-stable-options.d.ts +17 -0
- package/dist/types/src/editor/properties/entries/number-entry.d.ts +3 -0
- package/dist/types/src/editor/properties/entries/options-source/index.d.ts +9 -0
- package/dist/types/src/editor/properties/entries/options-source/source-mutators.d.ts +14 -0
- package/dist/types/src/editor/properties/entries/select-entry.d.ts +3 -0
- package/dist/types/src/editor/properties/entries/text-entry.d.ts +3 -0
- package/dist/types/src/editor/properties/form-data-sources-panel.d.ts +16 -0
- package/dist/types/src/editor/properties/form-linkage-panel.d.ts +13 -0
- package/dist/types/src/editor/properties/form-variables-panel.d.ts +17 -0
- package/dist/types/src/editor/properties/option-editors.d.ts +33 -0
- package/dist/types/src/editor/properties/panel-header.d.ts +21 -0
- package/dist/types/src/editor/properties/properties-empty.d.ts +13 -0
- package/dist/types/src/editor/properties/properties-header.d.ts +13 -0
- package/dist/types/src/editor/properties/properties-panel.d.ts +18 -0
- package/dist/types/src/editor/properties/properties-provider.d.ts +42 -0
- package/dist/types/src/editor/properties/properties-tabs.d.ts +24 -0
- package/dist/types/src/editor/properties/use-confirmable-kind-switch.d.ts +38 -0
- package/dist/types/src/editor/remove-node-confirm.d.ts +8 -0
- package/dist/types/src/editor/schema-apply.d.ts +25 -0
- package/dist/types/src/editor/styles.d.ts +37 -0
- package/dist/types/src/editor/toolbar/notify.d.ts +13 -0
- package/dist/types/src/editor/toolbar/schema-io.d.ts +12 -0
- package/dist/types/src/editor/toolbar/toolbar.d.ts +42 -0
- package/dist/types/src/editor/use-editor-shortcuts.d.ts +23 -0
- package/dist/types/src/editor/validation-summary.d.ts +19 -0
- package/dist/types/src/engine/assert-never.d.ts +18 -0
- package/dist/types/src/engine/conversion/index.d.ts +87 -0
- package/dist/types/src/engine/ids.d.ts +14 -0
- package/dist/types/src/engine/keys.d.ts +70 -0
- package/dist/types/src/engine/linkage/cycle.d.ts +28 -0
- package/dist/types/src/engine/linkage/default-evaluator.d.ts +10 -0
- package/dist/types/src/engine/linkage/effects.d.ts +76 -0
- package/dist/types/src/engine/linkage/evaluator.d.ts +72 -0
- package/dist/types/src/engine/linkage/index.d.ts +8 -0
- package/dist/types/src/engine/linkage/operators.d.ts +23 -0
- package/dist/types/src/engine/linkage/source-tracking.d.ts +25 -0
- package/dist/types/src/engine/linkage/taxonomy.d.ts +49 -0
- package/dist/types/src/engine/linkage/validator.d.ts +23 -0
- package/dist/types/src/engine/registry/defaults-mobile.d.ts +17 -0
- package/dist/types/src/engine/registry/defaults.d.ts +22 -0
- package/dist/types/src/engine/registry/form-field-registry.d.ts +79 -0
- package/dist/types/src/engine/schema/edit-ops.d.ts +101 -0
- package/dist/types/src/engine/schema/mutate.d.ts +41 -0
- package/dist/types/src/engine/schema/nodes.d.ts +34 -0
- package/dist/types/src/engine/schema/permission-bridge.d.ts +37 -0
- package/dist/types/src/engine/schema/presentation.d.ts +30 -0
- package/dist/types/src/engine/schema/reconcile.d.ts +80 -0
- package/dist/types/src/engine/schema/removal-impact.d.ts +39 -0
- package/dist/types/src/engine/schema/rewrite.d.ts +15 -0
- package/dist/types/src/engine/schema/validate.d.ts +36 -0
- package/dist/types/src/engine/schema/walk.d.ts +90 -0
- package/dist/types/src/engine/validation.d.ts +139 -0
- package/dist/types/src/icons.d.ts +8 -0
- package/dist/types/src/index.d.ts +39 -0
- package/dist/types/src/render/chrome/mobile-chrome.d.ts +9 -0
- package/dist/types/src/render/chrome/pc-chrome.d.ts +7 -0
- package/dist/types/src/render/chrome/subform-shell.d.ts +17 -0
- package/dist/types/src/render/data-source-context.d.ts +42 -0
- package/dist/types/src/render/flex-style.d.ts +26 -0
- package/dist/types/src/render/form-field.d.ts +32 -0
- package/dist/types/src/render/form-renderer.d.ts +65 -0
- package/dist/types/src/render/grid-style.d.ts +24 -0
- package/dist/types/src/render/parts/field-shell.d.ts +33 -0
- package/dist/types/src/render/parts/label.d.ts +20 -0
- package/dist/types/src/render/parts/options-status.d.ts +14 -0
- package/dist/types/src/render/stack-style.d.ts +19 -0
- package/dist/types/src/render/subform-columns.d.ts +16 -0
- package/dist/types/src/render/submit.d.ts +91 -0
- package/dist/types/src/runtime/effects.d.ts +77 -0
- package/dist/types/src/runtime/resolve-scope-values.d.ts +8 -0
- package/dist/types/src/runtime/runtime-context.d.ts +21 -0
- package/dist/types/src/runtime/runtime-state-controller.d.ts +33 -0
- package/dist/types/src/runtime/stabilize-state-map.d.ts +12 -0
- package/dist/types/src/runtime/types.d.ts +13 -0
- package/dist/types/src/store/engine-provider.d.ts +50 -0
- package/dist/types/src/store/form-store.d.ts +234 -0
- package/dist/types/src/types/chrome.d.ts +51 -0
- package/dist/types/src/types/component.d.ts +116 -0
- package/dist/types/src/types/data-source.d.ts +70 -0
- package/dist/types/src/types/index.d.ts +6 -0
- package/dist/types/src/types/linkage.d.ts +350 -0
- package/dist/types/src/types/properties.d.ts +122 -0
- package/dist/types/src/types/schema.d.ts +839 -0
- package/package.json +77 -0
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { FormField, PropertyEntry, Validatable } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Shared property-entry factories for the field library. Several leaf fields
|
|
4
|
+
* declare byte-identical validation entries whose `write` lens carries the
|
|
5
|
+
* load-bearing `validate` merge contract (`{ ...field.validate, [key]: value }`);
|
|
6
|
+
* centralising them here keeps that contract in one place instead of transcribed
|
|
7
|
+
* per field, where it can drift. The same applies to a handful of appearance /
|
|
8
|
+
* config entries that recur identically across fields (size / allowClear / input
|
|
9
|
+
* maxLength / option direction) — they live here too. Entries that vary per field
|
|
10
|
+
* (label / placeholder / helperText, whose copy differs) stay inline, where a
|
|
11
|
+
* factory would obscure more than it saves.
|
|
12
|
+
*/
|
|
13
|
+
type ValidatableField = FormField & Validatable;
|
|
14
|
+
/**
|
|
15
|
+
* Fields carrying a three-step antd control `size`. Constrains the generic so the
|
|
16
|
+
* shared {@link sizeEntry} read/write lens type-checks without enumerating every
|
|
17
|
+
* adopter.
|
|
18
|
+
*/
|
|
19
|
+
type SizedField = FormField & {
|
|
20
|
+
size?: "small" | "middle" | "large";
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Fields carrying a `allowClear` toggle (the clear affordance).
|
|
24
|
+
*/
|
|
25
|
+
type ClearableField = FormField & {
|
|
26
|
+
allowClear?: boolean;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Fields carrying a top-level `maxLength` input cap (distinct from
|
|
30
|
+
* `validate.maxLength`).
|
|
31
|
+
*/
|
|
32
|
+
type MaxLengthInputField = FormField & {
|
|
33
|
+
maxLength?: number;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Fields whose options lay out along a `direction` axis (radio / checkbox group).
|
|
37
|
+
*/
|
|
38
|
+
type DirectionalField = FormField & {
|
|
39
|
+
direction?: "horizontal" | "vertical";
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* The "必填字段" checkbox — toggles `validate.required` with a `=== true`
|
|
43
|
+
* coercion, merged into the existing `validate` object. Identical across every
|
|
44
|
+
* keyed leaf field.
|
|
45
|
+
*/
|
|
46
|
+
export declare function requiredEntry<F extends ValidatableField>(): PropertyEntry;
|
|
47
|
+
/**
|
|
48
|
+
* The "最少字符数" entry — merges `validate.minLength`. Identical across the
|
|
49
|
+
* string fields (textfield / code-editor / textarea).
|
|
50
|
+
*/
|
|
51
|
+
export declare function minLengthEntry<F extends ValidatableField>(): PropertyEntry;
|
|
52
|
+
/**
|
|
53
|
+
* The "最多字符数" entry — merges `validate.maxLength`. Identical across the
|
|
54
|
+
* string fields (textfield / code-editor / textarea).
|
|
55
|
+
*/
|
|
56
|
+
export declare function maxLengthEntry<F extends ValidatableField>(): PropertyEntry;
|
|
57
|
+
/**
|
|
58
|
+
* The "校验下限" entry — merges `validate.min`, the submit-time lower bound.
|
|
59
|
+
* Named `minValue` (not `min`) to disambiguate from NumberField's top-level
|
|
60
|
+
* `min` input-clamp prop entry, which writes a different slot.
|
|
61
|
+
*/
|
|
62
|
+
export declare function minValueEntry<F extends ValidatableField>(): PropertyEntry;
|
|
63
|
+
/**
|
|
64
|
+
* The "校验上限" entry — merges `validate.max`, the submit-time upper bound (the
|
|
65
|
+
* counterpart to {@link minValueEntry}; distinct from the top-level `max` clamp).
|
|
66
|
+
*/
|
|
67
|
+
export declare function maxValueEntry<F extends ValidatableField>(): PropertyEntry;
|
|
68
|
+
/**
|
|
69
|
+
* The "正则校验" entry — merges `validate.pattern`. The example placeholder
|
|
70
|
+
* varies per field (e.g. textfield shows a phone-number example), so it is a
|
|
71
|
+
* parameter; omit it for no placeholder.
|
|
72
|
+
*/
|
|
73
|
+
export declare function patternEntry<F extends ValidatableField>(placeholder?: string): PropertyEntry;
|
|
74
|
+
/**
|
|
75
|
+
* The "校验提示" entry — merges `validate.message`, the optional override for the
|
|
76
|
+
* default constraint-failure text. Identical across every validatable field.
|
|
77
|
+
*/
|
|
78
|
+
export declare function messageEntry<F extends ValidatableField>(): PropertyEntry;
|
|
79
|
+
/**
|
|
80
|
+
* The "尺寸" entry — the antd three-step control size (small / middle / large),
|
|
81
|
+
* shared by the text / number / select / button fields. Mobile controls have no
|
|
82
|
+
* size token, so this is a PC-only visual scale on every adopter.
|
|
83
|
+
*/
|
|
84
|
+
export declare function sizeEntry<F extends SizedField>(): PropertyEntry;
|
|
85
|
+
/**
|
|
86
|
+
* The "允许清除" entry — toggles the one-click clear affordance with a `=== true`
|
|
87
|
+
* coercion. Mirrors the inline lens SelectField already uses; shared by the text
|
|
88
|
+
* fields that newly adopt it.
|
|
89
|
+
*/
|
|
90
|
+
export declare function allowClearEntry<F extends ClearableField>(): PropertyEntry;
|
|
91
|
+
/**
|
|
92
|
+
* The "最大输入长度" entry — the top-level `maxLength` input cap. Its entry id is
|
|
93
|
+
* `inputMaxLength` (not `maxLength`) so it never collides with the validation-tab
|
|
94
|
+
* {@link maxLengthEntry} on the same field, even though both write `maxLength` /
|
|
95
|
+
* `validate.maxLength` respectively.
|
|
96
|
+
*/
|
|
97
|
+
export declare function inputMaxLengthEntry<F extends MaxLengthInputField>(): PropertyEntry;
|
|
98
|
+
/**
|
|
99
|
+
* The "排列方向" entry — lays a choice field's options horizontally or vertically.
|
|
100
|
+
* Byte-identical across the radio and checkbox-group fields.
|
|
101
|
+
*/
|
|
102
|
+
export declare function optionDirectionEntry<F extends DirectionalField>(): PropertyEntry;
|
|
103
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { AlertBlockField, FieldComponentProps } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* Mobile read-only renderer for the inline alert. Mirrors the PC alert: a
|
|
5
|
+
* non-keyed banner whose tone comes from `field.alertType` (defaulting to
|
|
6
|
+
* `"info"`). NoticeBar exposes a single `content` slot, so the message and the
|
|
7
|
+
* optional description are stacked inside it. `closeable` maps from
|
|
8
|
+
* `field.closable`; `field.showIcon === false` hides the leading icon by passing
|
|
9
|
+
* `null` (an absent value keeps NoticeBar's default icon). The PC-only `banner`
|
|
10
|
+
* mode has no NoticeBar equivalent.
|
|
11
|
+
*/
|
|
12
|
+
export declare const MobileAlertBlock: FC<FieldComponentProps<AlertBlockField, undefined>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ButtonField, FieldComponentProps } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* Mobile read-only renderer for buttons. Mirrors the PC button contract: the
|
|
5
|
+
* native `type` attribute is driven by `field.action` (defaulting to `"submit"`,
|
|
6
|
+
* matching the field factory), the visual treatment by `field.buttonType`
|
|
7
|
+
* (defaulting to `"primary"`), and the label falls back to `"按钮"`.
|
|
8
|
+
*/
|
|
9
|
+
export declare const MobileButton: FC<FieldComponentProps<ButtonField, undefined>>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { CheckboxGroupField, FieldComponentProps } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* Mobile counterpart of `checkbox-group-field`. Mirrors
|
|
5
|
+
* `FieldComponentProps<CheckboxGroupField, Array<string | number>>` — the same
|
|
6
|
+
* array value contract as the PC component — resolving options through the
|
|
7
|
+
* shared `useFieldOptions`. The control differs only in surface: an
|
|
8
|
+
* antd-mobile `Checkbox.Group`, whose `value` and `onChange(val)` already use
|
|
9
|
+
* `Array<string | number>`, so the value flows through without normalization.
|
|
10
|
+
*/
|
|
11
|
+
export declare const MobileCheckboxGroupInput: FC<FieldComponentProps<CheckboxGroupField, Array<string | number>>>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Value-format adapters shared by the mobile date / datetime / daterange fields.
|
|
3
|
+
*
|
|
4
|
+
* The per-key value is shared across the PC and mobile presentations, so these
|
|
5
|
+
* helpers MUST read and write the exact serialized string shape the PC
|
|
6
|
+
* `date-field` stores: `formatDate(parseDate(date), format)` on the way out and
|
|
7
|
+
* `tryParseDate(value)` on the way in. They never leak a raw `Date` or an ISO
|
|
8
|
+
* string into form state.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Parse a stored date string back into the `Date` an antd-mobile picker seeds
|
|
12
|
+
* from. Returns `null` for empty or unparseable input so the picker opens with
|
|
13
|
+
* no preselection (and the trigger shows its placeholder).
|
|
14
|
+
*/
|
|
15
|
+
export declare function toPickerDate(value: string): Date | null;
|
|
16
|
+
/**
|
|
17
|
+
* Serialize a picker's confirmed `Date` into the stored string, using the same
|
|
18
|
+
* `parseDate` → `formatDate` path as the PC field so the two presentations
|
|
19
|
+
* round-trip byte-identically.
|
|
20
|
+
*/
|
|
21
|
+
export declare function fromPickerDate(date: Date, format: string): string;
|
|
22
|
+
/**
|
|
23
|
+
* Display string for a trigger: the value reformatted through the shared
|
|
24
|
+
* parser, falling back to the empty string when absent or unparseable. Going
|
|
25
|
+
* through `tryParseDate` normalizes any accepted input shape to the field's
|
|
26
|
+
* canonical format for display.
|
|
27
|
+
*/
|
|
28
|
+
export declare function formatTrigger(value: string, format: string): string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { DateField, FieldComponentProps } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* Mobile renderer for the single-value date field. Mirrors the PC `date-field`
|
|
5
|
+
* contract: same `FieldComponentProps<DateField, string>`, same `YYYY-MM-DD`
|
|
6
|
+
* serialized value, same label / helper / error / required shell. Only the
|
|
7
|
+
* control differs — a tappable trigger opening an antd-mobile `DatePicker` at
|
|
8
|
+
* day precision rather than the antd desktop popover.
|
|
9
|
+
*/
|
|
10
|
+
export declare function MobileDateInput({ disabled, domId, errors, field, labelPosition, required, value, onChange }: FieldComponentProps<DateField, string>): ReactElement;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { DateRangeField, FieldComponentProps } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* Mobile renderer for the date-range field. Mirrors the PC `date-field`
|
|
5
|
+
* contract: same `FieldComponentProps<DateRangeField, string[]>`, the same
|
|
6
|
+
* `[startStr, endStr]` pair of `YYYY-MM-DD` strings (empty `[]` when unset),
|
|
7
|
+
* and the same label / helper / error / required shell. The control is an
|
|
8
|
+
* antd-mobile `CalendarPicker` in range mode rather than the antd
|
|
9
|
+
* `RangePicker`.
|
|
10
|
+
*/
|
|
11
|
+
export declare function MobileDateRangeInput({ disabled, domId, errors, field, labelPosition, required, value, onChange }: FieldComponentProps<DateRangeField, string[]>): ReactElement;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { DatetimeField, FieldComponentProps } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* Mobile renderer for the date + time field. Mirrors the PC `date-field`
|
|
5
|
+
* contract: same `FieldComponentProps<DatetimeField, string>`, same
|
|
6
|
+
* `YYYY-MM-DD HH:mm:ss` serialized value, same label / helper / error /
|
|
7
|
+
* required shell. The PC field formats with full seconds, so the picker runs at
|
|
8
|
+
* `precision="second"` to populate every part of that format.
|
|
9
|
+
*/
|
|
10
|
+
export declare function MobileDatetimeInput({ disabled, domId, errors, field, labelPosition, required, value, onChange }: FieldComponentProps<DatetimeField, string>): ReactElement;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FieldDefinition } from '../../types';
|
|
2
|
+
/**
|
|
3
|
+
* The mobile field set: antd-mobile leaf renderers reusing each PC field's
|
|
4
|
+
* config + properties, plus the structural containers reused as-is (their
|
|
5
|
+
* per-device look comes from the container chrome, not here). `code-editor` is
|
|
6
|
+
* intentionally absent — the PC→mobile converter maps it to a textarea, and a
|
|
7
|
+
* code editor is not a mobile control.
|
|
8
|
+
*/
|
|
9
|
+
export declare const mobileFieldDefinitions: FieldDefinition[];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { DividerField, FieldComponentProps } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* Mobile read-only renderer for the section divider. Mirrors the PC divider:
|
|
5
|
+
* non-keyed presentation with an optional inline title rendered as the
|
|
6
|
+
* divider's children. The title position maps to antd-mobile's
|
|
7
|
+
* `contentPosition`, defaulting to centered. The PC-only `dashed` rule has no
|
|
8
|
+
* antd-mobile equivalent, so the mobile divider always renders solid.
|
|
9
|
+
*/
|
|
10
|
+
export declare const MobileDivider: FC<FieldComponentProps<DividerField, undefined>>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import { SerializedStyles } from '@emotion/serialize';
|
|
3
|
+
/**
|
|
4
|
+
* The shared "input cell" look for mobile field controls — a full-width
|
|
5
|
+
* bordered row on the container background, the mobile counterpart of the PC
|
|
6
|
+
* bordered input. antd-mobile's bare `Input` / `TextArea` are intentionally
|
|
7
|
+
* borderless (they expect to live inside an `adm-list` row); free-standing in
|
|
8
|
+
* a form stack they read as missing controls, so every value-bearing mobile
|
|
9
|
+
* control wraps in this cell instead. Single source shared by the free-text
|
|
10
|
+
* fields (textfield / number / textarea) and {@link PickerTrigger}, so the two
|
|
11
|
+
* families cannot drift apart visually.
|
|
12
|
+
*/
|
|
13
|
+
export declare const inputCellCss: SerializedStyles;
|
|
14
|
+
export declare const inputCellErrorCss: SerializedStyles;
|
|
15
|
+
export declare const inputCellDisabledCss: SerializedStyles;
|
|
16
|
+
export interface InputCellProps {
|
|
17
|
+
children: ReactNode;
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
hasError: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Pads the cell vertically for a multi-line control (textarea) instead of
|
|
22
|
+
* relying on the single-line min-height centering.
|
|
23
|
+
*/
|
|
24
|
+
multiline?: boolean;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Bordered wrapper for a free-text mobile control. Presentational only — the
|
|
28
|
+
* field component keeps full ownership of the control inside.
|
|
29
|
+
*/
|
|
30
|
+
export declare function InputCell({ children, disabled, hasError, multiline }: InputCellProps): ReactElement;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { FieldComponentProps, NumberField } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* Mobile renderer for the number field, mirroring the PC `NumberInput` contract
|
|
5
|
+
* (`components/number-field/index.tsx`): same `FieldComponentProps<NumberField,
|
|
6
|
+
* number | undefined>` shape, same `min` / `max` / `step` / `placeholder` honored,
|
|
7
|
+
* and the same label / helperText / errors / required / labelPosition wiring
|
|
8
|
+
* through {@link FieldShell}.
|
|
9
|
+
*
|
|
10
|
+
* antd-mobile has no `InputNumber`, so the control is a `type="number"` `Input`.
|
|
11
|
+
* A local `draft` string decouples the displayed text from the committed numeric
|
|
12
|
+
* value, so intermediate states the user must type through — a trailing "."
|
|
13
|
+
* ("1."), trailing zeros ("1.50"), a lone "-" — survive instead of being
|
|
14
|
+
* collapsed by a Number()->String() round-trip on every keystroke.
|
|
15
|
+
*
|
|
16
|
+
* Range semantics vs the PC `InputNumber` (antd, `changeOnBlur` default):
|
|
17
|
+
* both guarantee an out-of-range value is never committed and that the input
|
|
18
|
+
* displays the clamped value after blur. They differ in *when* the clamped
|
|
19
|
+
* commit happens — antd withholds `onChange` while the typed text is out of
|
|
20
|
+
* range and commits the clamped value on blur; this control commits the
|
|
21
|
+
* clamped value immediately per keystroke. Immediate clamping keeps the
|
|
22
|
+
* draft ⇄ value reconcile guard below sound (the draft's commit result always
|
|
23
|
+
* equals the committed value), which deferring the commit to blur would break.
|
|
24
|
+
*/
|
|
25
|
+
export declare const MobileNumber: FC<FieldComponentProps<NumberField, number | undefined>>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
|
2
|
+
export interface MobileOptionGroupProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
direction: "horizontal" | "vertical" | undefined;
|
|
5
|
+
error: boolean;
|
|
6
|
+
isEmpty: boolean;
|
|
7
|
+
loading: boolean;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Shared option-list body for the mobile radio / checkbox fields: the flex
|
|
11
|
+
* row/column layout plus the loading / error / empty placeholder. The two fields
|
|
12
|
+
* differ only in their antd-mobile group wrapper and the per-option control they
|
|
13
|
+
* map, so everything below that wrapper lives here once. Reuses the same
|
|
14
|
+
* {@link OptionsStatus} placeholder as the PC selection fields, so an empty,
|
|
15
|
+
* loading, or failed source reads identically on both surfaces.
|
|
16
|
+
*/
|
|
17
|
+
export declare function MobileOptionGroup({ children, direction, error, isEmpty, loading }: MobileOptionGroupProps): ReactElement;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { FieldComponentProps, ParagraphField } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* Mobile read-only renderer for the static paragraph. antd-mobile ships no
|
|
5
|
+
* Typography primitive, so the text renders into a styled `<p>` themed through
|
|
6
|
+
* `globalCssVars` — matching the body color and size the PC paragraph displays.
|
|
7
|
+
* The semantic tone / bold / italic props are approximated via CSS overrides
|
|
8
|
+
* layered over the base style, mirroring the PC `Typography` knobs.
|
|
9
|
+
*/
|
|
10
|
+
export declare const MobileParagraph: FC<FieldComponentProps<ParagraphField, undefined>>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
|
2
|
+
export interface PickerTriggerProps {
|
|
3
|
+
/**
|
|
4
|
+
* Formatted value to show; falls back to {@link PickerTriggerProps.placeholder} when empty.
|
|
5
|
+
*/
|
|
6
|
+
display: string;
|
|
7
|
+
placeholder: string;
|
|
8
|
+
domId: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
hasError: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Optional element pinned to the trailing edge (e.g. a dropdown caret). Stays
|
|
13
|
+
* visible alongside the clear affordance — the clear sits beside it, never
|
|
14
|
+
* replaces it, so the caret keeps signalling that the cell opens a picker.
|
|
15
|
+
*/
|
|
16
|
+
trailing?: ReactNode;
|
|
17
|
+
onOpen: () => void;
|
|
18
|
+
/**
|
|
19
|
+
* Clear handler. When provided, a trailing clear affordance shows whenever a
|
|
20
|
+
* value is displayed (and the field is enabled), so an optional field is
|
|
21
|
+
* never permanently filled once set — mirroring the PC pickers' clear icon.
|
|
22
|
+
* The owner commits its own empty value shape (`""` / `[]`).
|
|
23
|
+
*/
|
|
24
|
+
onClear?: () => void;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* The tappable cell that opens a mobile picker. Presentational only — the owner
|
|
28
|
+
* holds the picker's `visible` state and passes {@link PickerTriggerProps.onOpen}.
|
|
29
|
+
* Shared by the date / datetime / daterange fields and the select field.
|
|
30
|
+
*/
|
|
31
|
+
export declare function PickerTrigger({ disabled, display, domId, hasError, onClear, onOpen, placeholder, trailing }: PickerTriggerProps): ReactElement;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { FieldComponentProps, RadioField } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* Mobile counterpart of `radio-field`. Mirrors `FieldComponentProps<RadioField,
|
|
5
|
+
* string | number | undefined>` — the same scalar value contract as the PC
|
|
6
|
+
* component — resolving options through the shared `useFieldOptions`. The
|
|
7
|
+
* control differs only in surface: an antd-mobile `Radio.Group`, whose
|
|
8
|
+
* `onChange(val)` already hands back the scalar option value, so no
|
|
9
|
+
* normalization is needed beyond mapping `""` to `undefined` for the empty
|
|
10
|
+
* state.
|
|
11
|
+
*/
|
|
12
|
+
export declare const MobileRadioInput: FC<FieldComponentProps<RadioField, string | number | undefined>>;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
|
2
|
+
export interface OverlayContainerProviderProps {
|
|
3
|
+
container: HTMLElement | null;
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Publishes an external overlay container (the phone shell's screen) to the
|
|
8
|
+
* mobile overlays below. The shell promotes that element to a containing block
|
|
9
|
+
* itself, so the scope must not also promote — see {@link MobileScope}.
|
|
10
|
+
*/
|
|
11
|
+
export declare function OverlayContainerProvider({ children, container }: OverlayContainerProviderProps): ReactElement;
|
|
12
|
+
export interface MobileScopeProps {
|
|
13
|
+
children: ReactNode;
|
|
14
|
+
/**
|
|
15
|
+
* Pin `getContainer`-portaled overlays (picker masks and sheets) to this
|
|
16
|
+
* scope's box instead of the browser viewport. This is a DESIGN-TIME concern:
|
|
17
|
+
* the editor renders the mobile form inside a ~414px frame on a desktop
|
|
18
|
+
* canvas (a "picture-in-picture"), so an uncontained overlay would flood the
|
|
19
|
+
* whole browser window. At real mobile runtime the viewport already IS the
|
|
20
|
+
* phone screen, so the native body-portaled / viewport-anchored behavior is
|
|
21
|
+
* correct — hence this defaults to `false` and only the editor's preview
|
|
22
|
+
* surfaces opt in. Off both relaxes the overlay container back to `document.body`
|
|
23
|
+
* AND drops the containing-block transform.
|
|
24
|
+
*/
|
|
25
|
+
containOverlays?: boolean;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Wraps the mobile field tree: marks the subtree `data-device="mobile"`, injects
|
|
29
|
+
* the antd-mobile → VEF theme bridge, applies the zh-CN locale, and (only when
|
|
30
|
+
* `containOverlays`) publishes its own DOM node so overlays stay penned to the
|
|
31
|
+
* simulated phone surface. Mounted by the editor canvas (mobile surface) and the
|
|
32
|
+
* standalone `FormRenderer` when `device === "mobile"`.
|
|
33
|
+
*/
|
|
34
|
+
export declare function MobileScope({ children, containOverlays }: MobileScopeProps): ReactElement;
|
|
35
|
+
/**
|
|
36
|
+
* A `getContainer` callback for antd-mobile overlays. Prefers an externally
|
|
37
|
+
* supplied container (the phone shell's screen — covering the whole screen),
|
|
38
|
+
* then the self-contained scope node (the JSON split preview), then
|
|
39
|
+
* `document.body` (real runtime, or before mount). The `--adm-*` theme bridge
|
|
40
|
+
* lives at `:root`, so a body-portaled overlay stays themed regardless.
|
|
41
|
+
*/
|
|
42
|
+
export declare function useMobileScopeContainer(): () => HTMLElement;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { FieldComponentProps, SelectField } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* Mobile counterpart of `select-field`. Mirrors `FieldComponentProps<SelectField,
|
|
5
|
+
* string | number | undefined>` — same value contract as the PC component
|
|
6
|
+
* (scalar option value, `""` when cleared) — and resolves options through the
|
|
7
|
+
* shared `useFieldOptions`. The control differs only in surface: a tappable
|
|
8
|
+
* trigger opening an antd-mobile `Picker`. The Picker's value is an array (one
|
|
9
|
+
* entry per column); with a single column we adapt scalar ⇄ single-element array
|
|
10
|
+
* at the boundary and commit `value[0] ?? ""` on confirm.
|
|
11
|
+
*/
|
|
12
|
+
export declare const MobileSelectInput: FC<FieldComponentProps<SelectField, string | number | undefined>>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { FieldComponentProps, SwitchField } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* Mobile renderer for the switch field. Stores the same `boolean` value the PC
|
|
5
|
+
* `SwitchInput` does (`components/switch-field/index.tsx`) and honors the same
|
|
6
|
+
* `label` / `helperText`. Unlike the PC control it routes label / helper / errors
|
|
7
|
+
* through the shared {@link FieldShell} so the mobile leaf fields stay uniform.
|
|
8
|
+
*
|
|
9
|
+
* antd-mobile's `Switch` renders a `role="switch"` element (no labelable `id`),
|
|
10
|
+
* so the FieldShell label is presentational here while the control stays
|
|
11
|
+
* accessible via its own `aria-checked`. `onChange(checked)` maps directly onto
|
|
12
|
+
* the field's boolean value.
|
|
13
|
+
*/
|
|
14
|
+
export declare const MobileSwitch: FC<FieldComponentProps<SwitchField, boolean>>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { FieldComponentProps, TextfieldField } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* Mobile renderer for the textfield, mirroring the PC `Textfield` contract
|
|
5
|
+
* (`components/textfield/textfield.tsx`): same `FieldComponentProps<TextfieldField,
|
|
6
|
+
* string>` shape, same label / helperText / errors / required / labelPosition
|
|
7
|
+
* wiring through {@link FieldShell}. Only the control differs — an antd-mobile
|
|
8
|
+
* `Input` (borderless by design, so it wears the shared {@link InputCell})
|
|
9
|
+
* whose `onChange(string)` maps directly onto the field's string value.
|
|
10
|
+
*/
|
|
11
|
+
export declare const MobileTextfield: FC<FieldComponentProps<TextfieldField, string>>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SerializedStyles } from '@emotion/serialize';
|
|
2
|
+
/**
|
|
3
|
+
* Bridge antd-mobile's themeable variables onto the VEF theme tokens so mobile
|
|
4
|
+
* controls track the PC primary color, radius, fonts, and surfaces from one
|
|
5
|
+
* source of truth.
|
|
6
|
+
*
|
|
7
|
+
* The doubled `:root:root` selector — the convention antd-mobile itself uses to
|
|
8
|
+
* raise specificity — outranks the single-`:root` defaults from
|
|
9
|
+
* `theme-default.css` regardless of stylesheet insertion order. The mapped
|
|
10
|
+
* `--vef-*` references already adapt to dark mode through antd's `cssVar`
|
|
11
|
+
* algorithm, so dark mode needs no branch here. Defined at `:root` (not a scoped
|
|
12
|
+
* node) on purpose: antd-mobile popups portal to `document.body`, so a subtree
|
|
13
|
+
* scope would not reach them, whereas `--adm-*` are inert for any non-`.adm-`
|
|
14
|
+
* element and so are safe globally.
|
|
15
|
+
*/
|
|
16
|
+
export declare const admThemeBridge: SerializedStyles;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { FieldComponentProps, FieldDefinition, TextfieldField } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* Renderer for the textfield. Reads `placeholder` and the optional
|
|
5
|
+
* `helperText` from the discriminated `TextfieldField` shape. The required
|
|
6
|
+
* marker tracks the live `required` prop (static `validate.required` merged
|
|
7
|
+
* with runtime linkage by the form renderer), falling back to the static flag
|
|
8
|
+
* at design time.
|
|
9
|
+
*/
|
|
10
|
+
export declare const Textfield: FC<FieldComponentProps<TextfieldField, string>>;
|
|
11
|
+
export declare const textfieldDefinition: FieldDefinition;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ReactElement, ReactNode, Context } from 'react';
|
|
2
|
+
import { Block } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* True when this block or an ancestor is being dragged — i.e. it lives inside the
|
|
5
|
+
* drag ghost's subtree. A container body reads this to render none of its drop
|
|
6
|
+
* zones while dragging: the whole subtree travels with the cursor, so its zones
|
|
7
|
+
* would be stray indicators, and dropping a block into its own descendants is
|
|
8
|
+
* invalid anyway (guarded in `edit-ops`). Each {@link CanvasField} ORs its own
|
|
9
|
+
* drag state into the value it provides, so the flag cascades to any depth.
|
|
10
|
+
*/
|
|
11
|
+
export declare const SubtreeDraggingContext: Context<boolean>;
|
|
12
|
+
export interface CanvasFieldProps {
|
|
13
|
+
block: Block;
|
|
14
|
+
children: ReactNode;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Selection + drag wrapper for one canvas block (field or container). Click to
|
|
18
|
+
* select; drag the grip handle in the toolbar to move the block — the card body
|
|
19
|
+
* itself is not a drag activator, so clicking/interacting with it never starts a
|
|
20
|
+
* drag. The beside / row-gap drop zones are rendered by the container body
|
|
21
|
+
* around this wrapper, not inside it, so they never travel with a dragged block.
|
|
22
|
+
* A hover/selection action toolbar holds the drag grip plus duplicate + delete.
|
|
23
|
+
*/
|
|
24
|
+
export declare function CanvasField({ block, children }: CanvasFieldProps): ReactElement;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* The design canvas. In edit mode it renders the schema tree as a vertical stack
|
|
4
|
+
* of blocks, each wrapped in a {@link CanvasField}, interleaved with drop zones
|
|
5
|
+
* (between blocks, beside blocks, and inside containers). In preview mode it
|
|
6
|
+
* renders the live {@link FormRenderer}.
|
|
7
|
+
*
|
|
8
|
+
* The `DragDropProvider` lives in the editor shell so palette items and canvas
|
|
9
|
+
* zones share one drag context.
|
|
10
|
+
*/
|
|
11
|
+
export declare function Canvas(): ReactElement;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { ZoneOrientation } from './drop-zones';
|
|
3
|
+
export interface DropIndicatorProps {
|
|
4
|
+
orientation: ZoneOrientation;
|
|
5
|
+
isActive: boolean;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The single insertion mark for every canvas drop zone — a hairline rule centred
|
|
9
|
+
* in its hit area, invisible until the zone is the active drop target, when it
|
|
10
|
+
* lights up to the accent with a soft halo. A horizontal (row gap) and a vertical
|
|
11
|
+
* (beside slot) mark are the same primitive parameterised by axis, so the
|
|
12
|
+
* indicator can never drift in weight or colour from one zone kind to another.
|
|
13
|
+
*/
|
|
14
|
+
export declare function DropIndicator({ isActive, orientation }: DropIndicatorProps): ReactElement;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { Block } from '../../types';
|
|
2
|
+
import { DropZoneData } from '../dnd';
|
|
3
|
+
import { CollisionPriority } from '@vef-framework-react/core';
|
|
4
|
+
/**
|
|
5
|
+
* Drop-zone geometry — the single axis along which a container body varies. A
|
|
6
|
+
* `"horizontal"` zone is a stack gap (a hairline rule between stacked blocks); a
|
|
7
|
+
* `"vertical"` zone is a beside slot (a hairline rule between inline slots).
|
|
8
|
+
*/
|
|
9
|
+
export type ZoneOrientation = "horizontal" | "vertical";
|
|
10
|
+
/**
|
|
11
|
+
* One precise insertion point the render path turns into a single `useDroppable`
|
|
12
|
+
* plus a single `<DropIndicator>`. `id` and `data` are minted from the same
|
|
13
|
+
* {@link dropZoneId} source the drag-end handler reads, so the rendered droppable
|
|
14
|
+
* and its resolved {@link import("../dnd").DropTarget} can never drift. `priority`
|
|
15
|
+
* is a {@link CollisionPriority} tier (beside outranks gap outranks the body
|
|
16
|
+
* fallback), so nested zones sort by tier first and geometric distance second.
|
|
17
|
+
*/
|
|
18
|
+
export interface DropZoneDescriptor {
|
|
19
|
+
id: string;
|
|
20
|
+
data: DropZoneData;
|
|
21
|
+
priority: CollisionPriority;
|
|
22
|
+
orientation: ZoneOrientation;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* One inline slot: the block to render plus the beside zones that flank it. The
|
|
26
|
+
* N+1 dedup lives here and only here — every slot owns its `"before"` (insert
|
|
27
|
+
* before) zone, and the last slot additionally owns the trailing `"after"` zone,
|
|
28
|
+
* so a row of N slots yields exactly N+1 beside zones with no interior gap
|
|
29
|
+
* double-covered (the bug the old per-slot `"leading"`/`"both"` arithmetic
|
|
30
|
+
* tried to patch at every call site).
|
|
31
|
+
*/
|
|
32
|
+
export interface InlineSlot {
|
|
33
|
+
block: Block;
|
|
34
|
+
beside: DropZoneDescriptor[];
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Describe an inline body (flex / grid) as a list of slots with their beside
|
|
38
|
+
* zones. The N+1 dedup that every inline container would otherwise re-implement
|
|
39
|
+
* is done once here, so a new inline container inherits it by passing its blocks.
|
|
40
|
+
*/
|
|
41
|
+
export declare function inlineSlots(blocks: Block[]): InlineSlot[];
|
|
42
|
+
/**
|
|
43
|
+
* Describe the gap zone that precedes a stacked block. A stack body has one such
|
|
44
|
+
* zone per block (insert before that block); appending after the last block is
|
|
45
|
+
* the body-level fallback's job, so there is exactly one zone per boundary with
|
|
46
|
+
* no doubling.
|
|
47
|
+
*/
|
|
48
|
+
export declare function stackGapDescriptor(anchorId: string): DropZoneDescriptor;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { FormSchema, PresentationDevice } from '../../types';
|
|
3
|
+
import { PreviewRuntime } from '../preview-runtime-context';
|
|
4
|
+
/**
|
|
5
|
+
* Editable schema JSON beside a live render of the same schema. The buffer is
|
|
6
|
+
* a working copy: edits mark it dirty and unlock 应用 / 还原, and applying runs
|
|
7
|
+
* the exact import pipeline (parse → validate → commit), so hand-edited JSON
|
|
8
|
+
* gets the same error reporting as a pasted import. The right pane renders the
|
|
9
|
+
* COMMITTED schema — it updates on apply, not per keystroke.
|
|
10
|
+
*/
|
|
11
|
+
export declare function JsonSplitView({ device, runtime, schema }: {
|
|
12
|
+
device: PresentationDevice;
|
|
13
|
+
runtime?: PreviewRuntime;
|
|
14
|
+
schema: FormSchema;
|
|
15
|
+
}): ReactElement;
|