Drop unused json editor form adapter

This commit is contained in:
2026-06-10 11:45:50 +08:00
parent 119486a4c9
commit 7c0c230c36
@@ -125,9 +125,6 @@ const UserSelector = defineAsyncComponent(() =>
(res) => res.default, (res) => res.default,
), ),
); );
const JsonEditor = defineAsyncComponent(() =>
import('#/components/json-editor/json-editor.vue').then((res) => res.default),
);
const ZqIconPicker = defineAsyncComponent(() => const ZqIconPicker = defineAsyncComponent(() =>
import('#/components/zq-form/zq-icon-picker/zq-icon-picker.vue').then( import('#/components/zq-form/zq-icon-picker/zq-icon-picker.vue').then(
(res) => res.default, (res) => res.default,
@@ -191,7 +188,6 @@ export type ComponentType =
| 'ImageSelector' | 'ImageSelector'
| 'Input' | 'Input'
| 'InputNumber' | 'InputNumber'
| 'JsonEditor'
| 'PostSelector' | 'PostSelector'
| 'RadioGroup' | 'RadioGroup'
| 'RoleSelector' | 'RoleSelector'
@@ -279,7 +275,6 @@ function initComponentAdapter() {
ImageSelector: withDefaultPlaceholder(ImageSelector, 'select'), ImageSelector: withDefaultPlaceholder(ImageSelector, 'select'),
Input: withDefaultPlaceholder(ElInput, 'input'), Input: withDefaultPlaceholder(ElInput, 'input'),
Textarea: withDefaultPlaceholder(ElInput, 'input', { type: 'textarea' }), Textarea: withDefaultPlaceholder(ElInput, 'input', { type: 'textarea' }),
JsonEditor,
CodeEditor, CodeEditor,
InputNumber: withDefaultPlaceholder(ElInputNumber, 'input'), InputNumber: withDefaultPlaceholder(ElInputNumber, 'input'),
RadioGroup: (props, { attrs, slots }) => { RadioGroup: (props, { attrs, slots }) => {