Trim frontend build for lightweight AI agent admin

This commit is contained in:
Codex
2026-06-08 19:48:47 +08:00
parent e164840f43
commit 2e7099cb6d
15 changed files with 1336 additions and 270 deletions
@@ -89,11 +89,6 @@ const ZqIconPicker = defineAsyncComponent(() =>
(res) => res.default,
),
);
const CronSelector = defineAsyncComponent(() =>
import('#/components/zq-form/cron-selector/cron-selector.vue').then(
(res) => res.default,
),
);
const CodeEditor = defineAsyncComponent(() =>
import('#/components/zq-form/code-editor/code-editor.vue').then(
(res) => res.default,
@@ -214,7 +209,6 @@ export type ComponentType =
| 'Checkbox'
| 'CheckboxGroup'
| 'CodeEditor'
| 'CronSelector'
| 'DatePicker'
| 'DeptSelector'
| 'Divider'
@@ -309,7 +303,6 @@ async function initComponentAdapter() {
Textarea: withDefaultPlaceholder(ElInput, 'input', { type: 'textarea' }),
JsonEditor,
CodeEditor,
CronSelector,
InputNumber: withDefaultPlaceholder(ElInputNumber, 'input'),
RadioGroup: (props, { attrs, slots }) => {
let defaultSlot;