@qxs-bns/components 0.0.89 → 0.0.91
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/README.md +11 -15
- package/es/base/define.mjs +2 -0
- package/es/base/define.mjs.map +1 -0
- package/es/base/uid.mjs +2 -0
- package/es/base/uid.mjs.map +1 -0
- package/es/data-chart.mjs +142 -0
- package/es/data-chart.mjs.map +1 -0
- package/es/editor/blocksuite-editor.mjs +1115 -0
- package/es/editor/blocksuite-editor.mjs.map +1 -0
- package/es/editor/content-format.mjs +2 -0
- package/es/editor/content-format.mjs.map +1 -0
- package/es/editor/index.mjs +2 -0
- package/es/editor/index.mjs.map +1 -0
- package/es/editor/toolbar.mjs +2 -0
- package/es/editor/toolbar.mjs.map +1 -0
- package/es/entry-data-chart.mjs +2 -0
- package/es/entry-data-chart.mjs.map +1 -0
- package/es/entry-editor.mjs +2 -0
- package/es/entry-editor.mjs.map +1 -0
- package/es/entry-file-upload.mjs +2 -0
- package/es/entry-file-upload.mjs.map +1 -0
- package/es/entry-fixed-action-bar.mjs +2 -0
- package/es/entry-fixed-action-bar.mjs.map +1 -0
- package/es/entry-icon.mjs +2 -0
- package/es/entry-icon.mjs.map +1 -0
- package/es/entry-image-upload.mjs +2 -0
- package/es/entry-image-upload.mjs.map +1 -0
- package/es/entry-photo-crop-tool.mjs +2 -0
- package/es/entry-photo-crop-tool.mjs.map +1 -0
- package/es/entry-subject.mjs +2 -0
- package/es/entry-subject.mjs.map +1 -0
- package/es/file-upload.mjs +157 -0
- package/es/file-upload.mjs.map +1 -0
- package/es/fixed-action-bar.mjs +39 -0
- package/es/fixed-action-bar.mjs.map +1 -0
- package/es/icon.mjs +20 -0
- package/es/icon.mjs.map +1 -0
- package/es/image-upload.mjs +333 -0
- package/es/image-upload.mjs.map +1 -0
- package/es/index.mjs +1 -1
- package/es/index.mjs.map +1 -1
- package/es/node_modules/.pnpm/@iconify_vue@5.0.0_vue@3.5.18_typescript@5.9.2_/node_modules/@iconify/vue/dist/iconify.mjs +1 -1
- package/es/node_modules/.pnpm/@iconify_vue@5.0.0_vue@3.5.18_typescript@5.9.2_/node_modules/@iconify/vue/dist/iconify.mjs.map +1 -1
- package/es/node_modules/.pnpm/marked@17.0.6/node_modules/marked/lib/marked.esm.mjs +2 -0
- package/es/node_modules/.pnpm/marked@17.0.6/node_modules/marked/lib/marked.esm.mjs.map +1 -0
- package/es/node_modules/.pnpm/turndown-plugin-gfm@1.0.2/node_modules/turndown-plugin-gfm/lib/turndown-plugin-gfm.es.mjs +2 -0
- package/es/node_modules/.pnpm/turndown-plugin-gfm@1.0.2/node_modules/turndown-plugin-gfm/lib/turndown-plugin-gfm.es.mjs.map +1 -0
- package/es/node_modules/.pnpm/turndown@7.2.4/node_modules/turndown/lib/turndown.es.mjs +2 -0
- package/es/node_modules/.pnpm/turndown@7.2.4/node_modules/turndown/lib/turndown.es.mjs.map +1 -0
- package/es/package.json.mjs +1 -1
- package/es/photo-crop-tool.mjs +147 -0
- package/es/photo-crop-tool.mjs.map +1 -0
- package/es/src/alert/index.mjs +2 -0
- package/es/src/alert/index.mjs.map +1 -0
- package/es/src/alert/src/alert.mjs +2 -0
- package/es/src/alert/src/alert.mjs.map +1 -0
- package/es/src/components.mjs +1 -1
- package/es/src/data-chart/index.mjs +1 -1
- package/es/src/data-chart/index.mjs.map +1 -1
- package/es/src/dialog/src/dialog.mjs +2 -0
- package/es/src/dialog/src/dialog.mjs.map +1 -0
- package/es/src/feedback-plugin/index.mjs +2 -0
- package/es/src/feedback-plugin/index.mjs.map +1 -0
- package/es/src/file-upload/index.mjs +1 -1
- package/es/src/file-upload/index.mjs.map +1 -1
- package/es/src/image-upload/index.mjs +1 -1
- package/es/src/image-upload/index.mjs.map +1 -1
- package/es/src/make-installer.mjs +1 -1
- package/es/src/make-installer.mjs.map +1 -1
- package/es/src/message/src/message.mjs +2 -0
- package/es/src/message/src/message.mjs.map +1 -0
- package/es/src/photo-crop-tool/index.mjs +1 -1
- package/es/src/photo-crop-tool/index.mjs.map +1 -1
- package/es/src/tiny-mce-editor/src/tiny-mce-editor.vue.mjs +1 -1
- package/es/src/tiny-mce-editor/src/tiny-mce-editor.vue.mjs.map +1 -1
- package/es/src/ui/button/index.mjs +2 -0
- package/es/src/ui/button/index.mjs.map +1 -0
- package/es/src/ui/checkbox/index.mjs +2 -0
- package/es/src/ui/checkbox/index.mjs.map +1 -0
- package/es/src/ui/dialog/index.mjs +2 -0
- package/es/src/ui/dialog/index.mjs.map +1 -0
- package/es/src/ui/input/index.mjs +2 -0
- package/es/src/ui/input/index.mjs.map +1 -0
- package/es/src/ui/input-number/index.mjs +2 -0
- package/es/src/ui/input-number/index.mjs.map +1 -0
- package/es/src/ui/layout/index.mjs +2 -0
- package/es/src/ui/layout/index.mjs.map +1 -0
- package/es/src/ui/link/index.mjs +2 -0
- package/es/src/ui/link/index.mjs.map +1 -0
- package/es/src/ui/popover/index.mjs +2 -0
- package/es/src/ui/popover/index.mjs.map +1 -0
- package/es/src/ui/radio/index.mjs +2 -0
- package/es/src/ui/radio/index.mjs.map +1 -0
- package/es/src/ui/scrollbar/index.mjs +2 -0
- package/es/src/ui/scrollbar/index.mjs.map +1 -0
- package/es/src/ui/select/index.mjs +2 -0
- package/es/src/ui/select/index.mjs.map +1 -0
- package/es/src/ui/table/index.mjs +2 -0
- package/es/src/ui/table/index.mjs.map +1 -0
- package/es/src/ui/tag/index.mjs +2 -0
- package/es/src/ui/tag/index.mjs.map +1 -0
- package/es/src/wc-bridge.mjs +2 -0
- package/es/src/wc-bridge.mjs.map +1 -0
- package/es/subject/action.mjs +171 -0
- package/es/subject/action.mjs.map +1 -0
- package/es/subject/blank-fill.mjs +385 -0
- package/es/subject/blank-fill.mjs.map +1 -0
- package/es/subject/draft.mjs +2 -0
- package/es/subject/draft.mjs.map +1 -0
- package/es/subject/layout.mjs +21 -0
- package/es/subject/layout.mjs.map +1 -0
- package/es/subject/page-end.mjs +28 -0
- package/es/subject/page-end.mjs.map +1 -0
- package/es/subject/pagination.mjs +2 -0
- package/es/subject/pagination.mjs.map +1 -0
- package/es/subject/runtime.mjs +2 -0
- package/es/subject/runtime.mjs.map +1 -0
- package/es/subject/scale.mjs +267 -0
- package/es/subject/scale.mjs.map +1 -0
- package/es/subject/shared-methods.mjs +2 -0
- package/es/subject/shared-methods.mjs.map +1 -0
- package/es/subject/shared-styles.mjs +75 -0
- package/es/subject/shared-styles.mjs.map +1 -0
- package/es/subject/single.mjs +600 -0
- package/es/subject/single.mjs.map +1 -0
- package/es/subject/sort-controller.mjs +2 -0
- package/es/subject/sort-controller.mjs.map +1 -0
- package/es/subject/sortable.mjs +30 -0
- package/es/subject/sortable.mjs.map +1 -0
- package/es/subject/sorting-card.mjs +52 -0
- package/es/subject/sorting-card.mjs.map +1 -0
- package/es/subject/text-fill.mjs +395 -0
- package/es/subject/text-fill.mjs.map +1 -0
- package/es/subject/title-prefix.mjs +2 -0
- package/es/subject/title-prefix.mjs.map +1 -0
- package/es/subject/types.mjs +2 -0
- package/es/subject/types.mjs.map +1 -0
- package/lib/base/define.cjs +2 -0
- package/lib/base/define.cjs.map +1 -0
- package/lib/base/uid.cjs +2 -0
- package/lib/base/uid.cjs.map +1 -0
- package/lib/data-chart.cjs +142 -0
- package/lib/data-chart.cjs.map +1 -0
- package/lib/editor/blocksuite-editor.cjs +1115 -0
- package/lib/editor/blocksuite-editor.cjs.map +1 -0
- package/lib/editor/content-format.cjs +2 -0
- package/lib/editor/content-format.cjs.map +1 -0
- package/lib/editor/index.cjs +2 -0
- package/lib/editor/index.cjs.map +1 -0
- package/lib/editor/toolbar.cjs +2 -0
- package/lib/editor/toolbar.cjs.map +1 -0
- package/lib/entry-data-chart.cjs +2 -0
- package/lib/entry-data-chart.cjs.map +1 -0
- package/lib/entry-editor.cjs +2 -0
- package/lib/entry-editor.cjs.map +1 -0
- package/lib/entry-file-upload.cjs +2 -0
- package/lib/entry-file-upload.cjs.map +1 -0
- package/lib/entry-fixed-action-bar.cjs +2 -0
- package/lib/entry-fixed-action-bar.cjs.map +1 -0
- package/lib/entry-icon.cjs +2 -0
- package/lib/entry-icon.cjs.map +1 -0
- package/lib/entry-image-upload.cjs +2 -0
- package/lib/entry-image-upload.cjs.map +1 -0
- package/lib/entry-photo-crop-tool.cjs +2 -0
- package/lib/entry-photo-crop-tool.cjs.map +1 -0
- package/lib/entry-subject.cjs +2 -0
- package/lib/entry-subject.cjs.map +1 -0
- package/lib/file-upload.cjs +157 -0
- package/lib/file-upload.cjs.map +1 -0
- package/lib/fixed-action-bar.cjs +39 -0
- package/lib/fixed-action-bar.cjs.map +1 -0
- package/lib/icon.cjs +20 -0
- package/lib/icon.cjs.map +1 -0
- package/lib/image-upload.cjs +333 -0
- package/lib/image-upload.cjs.map +1 -0
- package/lib/index.cjs +1 -1
- package/lib/index.cjs.map +1 -1
- package/lib/node_modules/.pnpm/@iconify_vue@5.0.0_vue@3.5.18_typescript@5.9.2_/node_modules/@iconify/vue/dist/iconify.cjs +1 -1
- package/lib/node_modules/.pnpm/@iconify_vue@5.0.0_vue@3.5.18_typescript@5.9.2_/node_modules/@iconify/vue/dist/iconify.cjs.map +1 -1
- package/lib/node_modules/.pnpm/marked@17.0.6/node_modules/marked/lib/marked.esm.cjs +2 -0
- package/lib/node_modules/.pnpm/marked@17.0.6/node_modules/marked/lib/marked.esm.cjs.map +1 -0
- package/lib/node_modules/.pnpm/turndown-plugin-gfm@1.0.2/node_modules/turndown-plugin-gfm/lib/turndown-plugin-gfm.es.cjs +2 -0
- package/lib/node_modules/.pnpm/turndown-plugin-gfm@1.0.2/node_modules/turndown-plugin-gfm/lib/turndown-plugin-gfm.es.cjs.map +1 -0
- package/lib/node_modules/.pnpm/turndown@7.2.4/node_modules/turndown/lib/turndown.es.cjs +2 -0
- package/lib/node_modules/.pnpm/turndown@7.2.4/node_modules/turndown/lib/turndown.es.cjs.map +1 -0
- package/lib/package.json.cjs +1 -1
- package/lib/photo-crop-tool.cjs +147 -0
- package/lib/photo-crop-tool.cjs.map +1 -0
- package/lib/src/alert/index.cjs +2 -0
- package/lib/src/alert/index.cjs.map +1 -0
- package/lib/src/alert/src/alert.cjs +2 -0
- package/lib/src/alert/src/alert.cjs.map +1 -0
- package/lib/src/components.cjs +1 -1
- package/lib/src/data-chart/index.cjs +1 -1
- package/lib/src/data-chart/index.cjs.map +1 -1
- package/lib/src/dialog/src/dialog.cjs +2 -0
- package/lib/src/dialog/src/dialog.cjs.map +1 -0
- package/lib/src/feedback-plugin/index.cjs +2 -0
- package/lib/src/feedback-plugin/index.cjs.map +1 -0
- package/lib/src/file-upload/index.cjs +1 -1
- package/lib/src/file-upload/index.cjs.map +1 -1
- package/lib/src/image-upload/index.cjs +1 -1
- package/lib/src/image-upload/index.cjs.map +1 -1
- package/lib/src/make-installer.cjs +1 -1
- package/lib/src/make-installer.cjs.map +1 -1
- package/lib/src/message/src/message.cjs +2 -0
- package/lib/src/message/src/message.cjs.map +1 -0
- package/lib/src/photo-crop-tool/index.cjs +1 -1
- package/lib/src/photo-crop-tool/index.cjs.map +1 -1
- package/lib/src/tiny-mce-editor/src/tiny-mce-editor.vue.cjs +1 -1
- package/lib/src/tiny-mce-editor/src/tiny-mce-editor.vue.cjs.map +1 -1
- package/lib/src/ui/button/index.cjs +2 -0
- package/lib/src/ui/button/index.cjs.map +1 -0
- package/lib/src/ui/checkbox/index.cjs +2 -0
- package/lib/src/ui/checkbox/index.cjs.map +1 -0
- package/lib/src/ui/dialog/index.cjs +2 -0
- package/lib/src/ui/dialog/index.cjs.map +1 -0
- package/lib/src/ui/input/index.cjs +2 -0
- package/lib/src/ui/input/index.cjs.map +1 -0
- package/lib/src/ui/input-number/index.cjs +2 -0
- package/lib/src/ui/input-number/index.cjs.map +1 -0
- package/lib/src/ui/layout/index.cjs +2 -0
- package/lib/src/ui/layout/index.cjs.map +1 -0
- package/lib/src/ui/link/index.cjs +2 -0
- package/lib/src/ui/link/index.cjs.map +1 -0
- package/lib/src/ui/popover/index.cjs +2 -0
- package/lib/src/ui/popover/index.cjs.map +1 -0
- package/lib/src/ui/radio/index.cjs +2 -0
- package/lib/src/ui/radio/index.cjs.map +1 -0
- package/lib/src/ui/scrollbar/index.cjs +2 -0
- package/lib/src/ui/scrollbar/index.cjs.map +1 -0
- package/lib/src/ui/select/index.cjs +2 -0
- package/lib/src/ui/select/index.cjs.map +1 -0
- package/lib/src/ui/table/index.cjs +2 -0
- package/lib/src/ui/table/index.cjs.map +1 -0
- package/lib/src/ui/tag/index.cjs +2 -0
- package/lib/src/ui/tag/index.cjs.map +1 -0
- package/lib/src/wc-bridge.cjs +2 -0
- package/lib/src/wc-bridge.cjs.map +1 -0
- package/lib/subject/action.cjs +171 -0
- package/lib/subject/action.cjs.map +1 -0
- package/lib/subject/blank-fill.cjs +385 -0
- package/lib/subject/blank-fill.cjs.map +1 -0
- package/lib/subject/draft.cjs +2 -0
- package/lib/subject/draft.cjs.map +1 -0
- package/lib/subject/layout.cjs +21 -0
- package/lib/subject/layout.cjs.map +1 -0
- package/lib/subject/page-end.cjs +28 -0
- package/lib/subject/page-end.cjs.map +1 -0
- package/lib/subject/pagination.cjs +2 -0
- package/lib/subject/pagination.cjs.map +1 -0
- package/lib/subject/runtime.cjs +2 -0
- package/lib/subject/runtime.cjs.map +1 -0
- package/lib/subject/scale.cjs +267 -0
- package/lib/subject/scale.cjs.map +1 -0
- package/lib/subject/shared-methods.cjs +2 -0
- package/lib/subject/shared-methods.cjs.map +1 -0
- package/lib/subject/shared-styles.cjs +75 -0
- package/lib/subject/shared-styles.cjs.map +1 -0
- package/lib/subject/single.cjs +600 -0
- package/lib/subject/single.cjs.map +1 -0
- package/lib/subject/sort-controller.cjs +2 -0
- package/lib/subject/sort-controller.cjs.map +1 -0
- package/lib/subject/sortable.cjs +30 -0
- package/lib/subject/sortable.cjs.map +1 -0
- package/lib/subject/sorting-card.cjs +52 -0
- package/lib/subject/sorting-card.cjs.map +1 -0
- package/lib/subject/text-fill.cjs +395 -0
- package/lib/subject/text-fill.cjs.map +1 -0
- package/lib/subject/title-prefix.cjs +2 -0
- package/lib/subject/title-prefix.cjs.map +1 -0
- package/lib/subject/types.cjs +2 -0
- package/lib/subject/types.cjs.map +1 -0
- package/package.json +94 -41
- package/types/base/define.d.ts +1 -0
- package/types/base/uid.d.ts +1 -0
- package/types/data-chart.d.ts +65 -0
- package/types/editor/blocksuite-editor.d.ts +191 -0
- package/types/editor/content-format.d.ts +4 -0
- package/types/editor/index.d.ts +4 -0
- package/types/editor/toolbar.d.ts +6 -0
- package/types/editor/types.d.ts +42 -0
- package/types/entry-data-chart.d.ts +1 -0
- package/types/entry-editor.d.ts +2 -0
- package/types/entry-file-upload.d.ts +1 -0
- package/types/entry-fixed-action-bar.d.ts +1 -0
- package/types/entry-icon.d.ts +2 -0
- package/types/entry-image-upload.d.ts +1 -0
- package/types/entry-photo-crop-tool.d.ts +1 -0
- package/types/entry-subject.d.ts +2 -0
- package/types/file-upload.d.ts +48 -0
- package/types/fixed-action-bar.d.ts +25 -0
- package/types/icon.d.ts +30 -0
- package/types/image-upload.d.ts +68 -0
- package/types/index.d.ts +21 -6
- package/types/photo-crop-tool.d.ts +43 -0
- package/types/src/alert/index.d.ts +66 -0
- package/types/src/alert/index.d.ts.map +1 -0
- package/types/src/alert/src/alert.d.ts +73 -0
- package/types/src/alert/src/alert.d.ts.map +1 -0
- package/types/src/components.d.ts +4 -6
- package/types/src/components.d.ts.map +1 -1
- package/types/src/data-chart/index.d.ts +11 -27
- package/types/src/data-chart/index.d.ts.map +1 -1
- package/types/src/dialog/index.d.ts +3 -0
- package/types/src/dialog/index.d.ts.map +1 -0
- package/types/src/dialog/src/dialog.d.ts +25 -0
- package/types/src/dialog/src/dialog.d.ts.map +1 -0
- package/types/src/feedback-plugin/index.d.ts +9 -0
- package/types/src/feedback-plugin/index.d.ts.map +1 -0
- package/types/src/file-upload/index.d.ts +10 -28
- package/types/src/file-upload/index.d.ts.map +1 -1
- package/types/src/icon/index.d.ts +3 -3
- package/types/src/icon/src/icon.d.ts +3 -3
- package/types/src/image-upload/index.d.ts +10 -46
- package/types/src/image-upload/index.d.ts.map +1 -1
- package/types/src/make-installer.d.ts +1 -4
- package/types/src/make-installer.d.ts.map +1 -1
- package/types/src/message/index.d.ts +3 -0
- package/types/src/message/index.d.ts.map +1 -0
- package/types/src/message/src/message.d.ts +21 -0
- package/types/src/message/src/message.d.ts.map +1 -0
- package/types/src/message/src/toaster.vue.d.ts +3 -0
- package/types/src/message/src/toaster.vue.d.ts.map +1 -0
- package/types/src/photo-crop-tool/index.d.ts +9 -52
- package/types/src/photo-crop-tool/index.d.ts.map +1 -1
- package/types/src/subject-action/src/subject-action.vue.d.ts.map +1 -1
- package/types/src/subject-layout/index.d.ts +2 -2
- package/types/src/subject-layout/src/subject-layout.vue.d.ts +2 -2
- package/types/src/subject-layout/src/subject-layout.vue.d.ts.map +1 -1
- package/types/src/subject-list/src/components/subject-blank-fill.vue.d.ts.map +1 -1
- package/types/src/subject-list/src/components/subject-scale.vue.d.ts.map +1 -1
- package/types/src/subject-list/src/components/subject-single.vue.d.ts.map +1 -1
- package/types/src/subject-list/src/components/subject-text-fill.vue.d.ts.map +1 -1
- package/types/src/subject-list/src/subject-list.vue.d.ts.map +1 -1
- package/types/src/subject-type/src/subject-type.vue.d.ts.map +1 -1
- package/types/src/ui/button/index.d.ts +96 -0
- package/types/src/ui/button/index.d.ts.map +1 -0
- package/types/src/ui/checkbox/index.d.ts +111 -0
- package/types/src/ui/checkbox/index.d.ts.map +1 -0
- package/types/src/ui/dialog/index.d.ts +134 -0
- package/types/src/ui/dialog/index.d.ts.map +1 -0
- package/types/src/ui/index.d.ts +16 -0
- package/types/src/ui/index.d.ts.map +1 -0
- package/types/src/ui/input/index.d.ts +132 -0
- package/types/src/ui/input/index.d.ts.map +1 -0
- package/types/src/ui/input-number/index.d.ts +106 -0
- package/types/src/ui/input-number/index.d.ts.map +1 -0
- package/types/src/ui/layout/index.d.ts +373 -0
- package/types/src/ui/layout/index.d.ts.map +1 -0
- package/types/src/ui/link/index.d.ts +57 -0
- package/types/src/ui/link/index.d.ts.map +1 -0
- package/types/src/ui/popover/index.d.ts +89 -0
- package/types/src/ui/popover/index.d.ts.map +1 -0
- package/types/src/ui/radio/index.d.ts +84 -0
- package/types/src/ui/radio/index.d.ts.map +1 -0
- package/types/src/ui/scrollbar/index.d.ts +35 -0
- package/types/src/ui/scrollbar/index.d.ts.map +1 -0
- package/types/src/ui/select/index.d.ts +113 -0
- package/types/src/ui/select/index.d.ts.map +1 -0
- package/types/src/ui/table/index.d.ts +152 -0
- package/types/src/ui/table/index.d.ts.map +1 -0
- package/types/src/ui/tag/index.d.ts +69 -0
- package/types/src/ui/tag/index.d.ts.map +1 -0
- package/types/src/wc-bridge.d.ts +23 -0
- package/types/src/wc-bridge.d.ts.map +1 -0
- package/types/subject/action.d.ts +37 -0
- package/types/subject/blank-fill.d.ts +79 -0
- package/types/subject/draft.d.ts +63 -0
- package/types/subject/index.d.ts +13 -0
- package/types/subject/layout.d.ts +7 -0
- package/types/subject/page-end.d.ts +16 -0
- package/types/subject/pagination.d.ts +23 -0
- package/types/subject/runtime.d.ts +12 -0
- package/types/subject/scale.d.ts +55 -0
- package/types/subject/shared-methods.d.ts +8 -0
- package/types/subject/shared-styles.d.ts +5 -0
- package/types/subject/single.d.ts +288 -0
- package/types/subject/sort-controller.d.ts +3 -0
- package/types/subject/sortable.d.ts +19 -0
- package/types/subject/sorting-card.d.ts +2 -0
- package/types/subject/text-fill.d.ts +88 -0
- package/types/subject/title-prefix.d.ts +2 -0
- package/types/subject/types.d.ts +12 -0
- package/types/tsconfig.tsbuildinfo +1 -1
- package/es/_virtual/_plugin-vue_export-helper.mjs +0 -2
- package/es/_virtual/_plugin-vue_export-helper.mjs.map +0 -1
- package/es/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.mjs +0 -2
- package/es/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.mjs.map +0 -1
- package/es/src/data-chart/src/analyze.mjs +0 -2
- package/es/src/data-chart/src/analyze.mjs.map +0 -1
- package/es/src/data-chart/src/components/area.vue.mjs +0 -2
- package/es/src/data-chart/src/components/area.vue.mjs.map +0 -1
- package/es/src/data-chart/src/components/area.vue2.mjs +0 -2
- package/es/src/data-chart/src/components/area.vue2.mjs.map +0 -1
- package/es/src/data-chart/src/components/area.vue3.mjs +0 -2
- package/es/src/data-chart/src/components/area.vue3.mjs.map +0 -1
- package/es/src/data-chart/src/components/bar.vue.mjs +0 -2
- package/es/src/data-chart/src/components/bar.vue.mjs.map +0 -1
- package/es/src/data-chart/src/components/bar.vue2.mjs +0 -2
- package/es/src/data-chart/src/components/bar.vue2.mjs.map +0 -1
- package/es/src/data-chart/src/components/bar.vue3.mjs +0 -2
- package/es/src/data-chart/src/components/bar.vue3.mjs.map +0 -1
- package/es/src/data-chart/src/components/card.vue.mjs +0 -2
- package/es/src/data-chart/src/components/card.vue.mjs.map +0 -1
- package/es/src/data-chart/src/components/card.vue2.mjs +0 -2
- package/es/src/data-chart/src/components/card.vue2.mjs.map +0 -1
- package/es/src/data-chart/src/components/card.vue3.mjs +0 -2
- package/es/src/data-chart/src/components/card.vue3.mjs.map +0 -1
- package/es/src/data-chart/src/components/data-chart-card-bg-left.svg.mjs +0 -2
- package/es/src/data-chart/src/components/data-chart-card-bg-left.svg.mjs.map +0 -1
- package/es/src/data-chart/src/components/data-chart-card-bg-right.svg.mjs +0 -2
- package/es/src/data-chart/src/components/data-chart-card-bg-right.svg.mjs.map +0 -1
- package/es/src/data-chart/src/components/empty.svg.mjs +0 -2
- package/es/src/data-chart/src/components/empty.svg.mjs.map +0 -1
- package/es/src/data-chart/src/components/empty.vue.mjs +0 -2
- package/es/src/data-chart/src/components/empty.vue.mjs.map +0 -1
- package/es/src/data-chart/src/components/empty.vue2.mjs +0 -2
- package/es/src/data-chart/src/components/empty.vue2.mjs.map +0 -1
- package/es/src/data-chart/src/components/funnel.vue.mjs +0 -2
- package/es/src/data-chart/src/components/funnel.vue.mjs.map +0 -1
- package/es/src/data-chart/src/components/funnel.vue2.mjs +0 -2
- package/es/src/data-chart/src/components/funnel.vue2.mjs.map +0 -1
- package/es/src/data-chart/src/components/funnel.vue3.mjs +0 -2
- package/es/src/data-chart/src/components/funnel.vue3.mjs.map +0 -1
- package/es/src/data-chart/src/components/line.vue.mjs +0 -2
- package/es/src/data-chart/src/components/line.vue.mjs.map +0 -1
- package/es/src/data-chart/src/components/line.vue2.mjs +0 -2
- package/es/src/data-chart/src/components/line.vue2.mjs.map +0 -1
- package/es/src/data-chart/src/components/line.vue3.mjs +0 -2
- package/es/src/data-chart/src/components/line.vue3.mjs.map +0 -1
- package/es/src/data-chart/src/components/pie.vue.mjs +0 -2
- package/es/src/data-chart/src/components/pie.vue.mjs.map +0 -1
- package/es/src/data-chart/src/components/pie.vue2.mjs +0 -2
- package/es/src/data-chart/src/components/pie.vue2.mjs.map +0 -1
- package/es/src/data-chart/src/components/pie.vue3.mjs +0 -2
- package/es/src/data-chart/src/components/pie.vue3.mjs.map +0 -1
- package/es/src/data-chart/src/components/radar.vue.mjs +0 -2
- package/es/src/data-chart/src/components/radar.vue.mjs.map +0 -1
- package/es/src/data-chart/src/components/radar.vue2.mjs +0 -2
- package/es/src/data-chart/src/components/radar.vue2.mjs.map +0 -1
- package/es/src/data-chart/src/components/radar.vue3.mjs +0 -2
- package/es/src/data-chart/src/components/radar.vue3.mjs.map +0 -1
- package/es/src/data-chart/src/components/scatter-simple.vue.mjs +0 -2
- package/es/src/data-chart/src/components/scatter-simple.vue.mjs.map +0 -1
- package/es/src/data-chart/src/components/scatter-simple.vue2.mjs +0 -2
- package/es/src/data-chart/src/components/scatter-simple.vue2.mjs.map +0 -1
- package/es/src/data-chart/src/components/scatter-simple.vue3.mjs +0 -2
- package/es/src/data-chart/src/components/scatter-simple.vue3.mjs.map +0 -1
- package/es/src/data-chart/src/components/scatter.vue.mjs +0 -2
- package/es/src/data-chart/src/components/scatter.vue.mjs.map +0 -1
- package/es/src/data-chart/src/components/scatter.vue2.mjs +0 -2
- package/es/src/data-chart/src/components/scatter.vue2.mjs.map +0 -1
- package/es/src/data-chart/src/components/scatter.vue3.mjs +0 -2
- package/es/src/data-chart/src/components/scatter.vue3.mjs.map +0 -1
- package/es/src/data-chart/src/components/table.vue.mjs +0 -2
- package/es/src/data-chart/src/components/table.vue.mjs.map +0 -1
- package/es/src/data-chart/src/components/table.vue2.mjs +0 -2
- package/es/src/data-chart/src/components/table.vue2.mjs.map +0 -1
- package/es/src/data-chart/src/data-chart.vue.mjs +0 -2
- package/es/src/data-chart/src/data-chart.vue.mjs.map +0 -1
- package/es/src/data-chart/src/data-chart.vue2.mjs +0 -2
- package/es/src/data-chart/src/data-chart.vue2.mjs.map +0 -1
- package/es/src/data-chart/src/utils/config.mjs +0 -2
- package/es/src/data-chart/src/utils/config.mjs.map +0 -1
- package/es/src/data-chart/src/utils/injectionKeys.mjs +0 -2
- package/es/src/data-chart/src/utils/injectionKeys.mjs.map +0 -1
- package/es/src/data-chart/src/utils/mapData.mjs +0 -2
- package/es/src/data-chart/src/utils/mapData.mjs.map +0 -1
- package/es/src/data-chart/src/utils/safe-eval.mjs +0 -2
- package/es/src/data-chart/src/utils/safe-eval.mjs.map +0 -1
- package/es/src/data-chart/src/utils/types.mjs +0 -2
- package/es/src/data-chart/src/utils/types.mjs.map +0 -1
- package/es/src/data-chart/src/utils/useCharts.mjs +0 -2
- package/es/src/data-chart/src/utils/useCharts.mjs.map +0 -1
- package/es/src/file-upload/src/file-upload.vue.mjs +0 -2
- package/es/src/file-upload/src/file-upload.vue.mjs.map +0 -1
- package/es/src/file-upload/src/file-upload.vue2.mjs +0 -2
- package/es/src/file-upload/src/file-upload.vue2.mjs.map +0 -1
- package/es/src/fixed-action-bar/index.mjs +0 -2
- package/es/src/fixed-action-bar/index.mjs.map +0 -1
- package/es/src/fixed-action-bar/src/fixed-action-bar.vue.mjs +0 -2
- package/es/src/fixed-action-bar/src/fixed-action-bar.vue.mjs.map +0 -1
- package/es/src/fixed-action-bar/src/fixed-action-bar.vue2.mjs +0 -2
- package/es/src/fixed-action-bar/src/fixed-action-bar.vue2.mjs.map +0 -1
- package/es/src/image-upload/src/image-upload.vue.mjs +0 -2
- package/es/src/image-upload/src/image-upload.vue.mjs.map +0 -1
- package/es/src/image-upload/src/image-upload.vue2.mjs +0 -2
- package/es/src/image-upload/src/image-upload.vue2.mjs.map +0 -1
- package/es/src/photo-crop-tool/src/composables.mjs +0 -2
- package/es/src/photo-crop-tool/src/composables.mjs.map +0 -1
- package/es/src/photo-crop-tool/src/photo-crop-tool.vue.mjs +0 -2
- package/es/src/photo-crop-tool/src/photo-crop-tool.vue.mjs.map +0 -1
- package/es/src/photo-crop-tool/src/photo-crop-tool.vue2.mjs +0 -2
- package/es/src/photo-crop-tool/src/photo-crop-tool.vue2.mjs.map +0 -1
- package/es/src/subject-action/index.mjs +0 -2
- package/es/src/subject-action/index.mjs.map +0 -1
- package/es/src/subject-action/src/subject-action.vue.mjs +0 -2
- package/es/src/subject-action/src/subject-action.vue.mjs.map +0 -1
- package/es/src/subject-action/src/subject-action.vue2.mjs +0 -2
- package/es/src/subject-action/src/subject-action.vue2.mjs.map +0 -1
- package/es/src/subject-layout/index.mjs +0 -2
- package/es/src/subject-layout/index.mjs.map +0 -1
- package/es/src/subject-layout/src/subject-layout.vue.mjs +0 -2
- package/es/src/subject-layout/src/subject-layout.vue.mjs.map +0 -1
- package/es/src/subject-layout/src/subject-layout.vue2.mjs +0 -2
- package/es/src/subject-layout/src/subject-layout.vue2.mjs.map +0 -1
- package/es/src/subject-list/index.mjs +0 -2
- package/es/src/subject-list/index.mjs.map +0 -1
- package/es/src/subject-list/src/components/SubjectPageEnd.vue.mjs +0 -2
- package/es/src/subject-list/src/components/SubjectPageEnd.vue.mjs.map +0 -1
- package/es/src/subject-list/src/components/SubjectPageEnd.vue2.mjs +0 -2
- package/es/src/subject-list/src/components/SubjectPageEnd.vue2.mjs.map +0 -1
- package/es/src/subject-list/src/components/SubjectRichText.vue.mjs +0 -2
- package/es/src/subject-list/src/components/SubjectRichText.vue.mjs.map +0 -1
- package/es/src/subject-list/src/components/SubjectRichText.vue2.mjs +0 -2
- package/es/src/subject-list/src/components/SubjectRichText.vue2.mjs.map +0 -1
- package/es/src/subject-list/src/components/subject-blank-fill.vue.mjs +0 -2
- package/es/src/subject-list/src/components/subject-blank-fill.vue.mjs.map +0 -1
- package/es/src/subject-list/src/components/subject-blank-fill.vue2.mjs +0 -2
- package/es/src/subject-list/src/components/subject-blank-fill.vue2.mjs.map +0 -1
- package/es/src/subject-list/src/components/subject-scale.vue.mjs +0 -2
- package/es/src/subject-list/src/components/subject-scale.vue.mjs.map +0 -1
- package/es/src/subject-list/src/components/subject-scale.vue2.mjs +0 -2
- package/es/src/subject-list/src/components/subject-scale.vue2.mjs.map +0 -1
- package/es/src/subject-list/src/components/subject-single.vue.mjs +0 -2
- package/es/src/subject-list/src/components/subject-single.vue.mjs.map +0 -1
- package/es/src/subject-list/src/components/subject-single.vue2.mjs +0 -2
- package/es/src/subject-list/src/components/subject-single.vue2.mjs.map +0 -1
- package/es/src/subject-list/src/components/subject-text-fill.vue.mjs +0 -2
- package/es/src/subject-list/src/components/subject-text-fill.vue.mjs.map +0 -1
- package/es/src/subject-list/src/components/subject-text-fill.vue2.mjs +0 -2
- package/es/src/subject-list/src/components/subject-text-fill.vue2.mjs.map +0 -1
- package/es/src/subject-list/src/subject-list.vue.mjs +0 -2
- package/es/src/subject-list/src/subject-list.vue.mjs.map +0 -1
- package/es/src/subject-list/src/subject-list.vue2.mjs +0 -2
- package/es/src/subject-list/src/subject-list.vue2.mjs.map +0 -1
- package/es/src/subject-type/index.mjs +0 -2
- package/es/src/subject-type/index.mjs.map +0 -1
- package/es/src/subject-type/src/subject-type.vue.mjs +0 -2
- package/es/src/subject-type/src/subject-type.vue.mjs.map +0 -1
- package/es/src/subject-type/src/subject-type.vue2.mjs +0 -2
- package/es/src/subject-type/src/subject-type.vue2.mjs.map +0 -1
- package/lib/_virtual/_plugin-vue_export-helper.cjs +0 -2
- package/lib/_virtual/_plugin-vue_export-helper.cjs.map +0 -1
- package/lib/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.cjs +0 -2
- package/lib/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.cjs.map +0 -1
- package/lib/src/data-chart/src/analyze.cjs +0 -2
- package/lib/src/data-chart/src/analyze.cjs.map +0 -1
- package/lib/src/data-chart/src/components/area.vue.cjs +0 -2
- package/lib/src/data-chart/src/components/area.vue.cjs.map +0 -1
- package/lib/src/data-chart/src/components/area.vue2.cjs +0 -2
- package/lib/src/data-chart/src/components/area.vue2.cjs.map +0 -1
- package/lib/src/data-chart/src/components/area.vue3.cjs +0 -2
- package/lib/src/data-chart/src/components/area.vue3.cjs.map +0 -1
- package/lib/src/data-chart/src/components/bar.vue.cjs +0 -2
- package/lib/src/data-chart/src/components/bar.vue.cjs.map +0 -1
- package/lib/src/data-chart/src/components/bar.vue2.cjs +0 -2
- package/lib/src/data-chart/src/components/bar.vue2.cjs.map +0 -1
- package/lib/src/data-chart/src/components/bar.vue3.cjs +0 -2
- package/lib/src/data-chart/src/components/bar.vue3.cjs.map +0 -1
- package/lib/src/data-chart/src/components/card.vue.cjs +0 -2
- package/lib/src/data-chart/src/components/card.vue.cjs.map +0 -1
- package/lib/src/data-chart/src/components/card.vue2.cjs +0 -2
- package/lib/src/data-chart/src/components/card.vue2.cjs.map +0 -1
- package/lib/src/data-chart/src/components/card.vue3.cjs +0 -2
- package/lib/src/data-chart/src/components/card.vue3.cjs.map +0 -1
- package/lib/src/data-chart/src/components/data-chart-card-bg-left.svg.cjs +0 -2
- package/lib/src/data-chart/src/components/data-chart-card-bg-left.svg.cjs.map +0 -1
- package/lib/src/data-chart/src/components/data-chart-card-bg-right.svg.cjs +0 -2
- package/lib/src/data-chart/src/components/data-chart-card-bg-right.svg.cjs.map +0 -1
- package/lib/src/data-chart/src/components/empty.svg.cjs +0 -2
- package/lib/src/data-chart/src/components/empty.svg.cjs.map +0 -1
- package/lib/src/data-chart/src/components/empty.vue.cjs +0 -2
- package/lib/src/data-chart/src/components/empty.vue.cjs.map +0 -1
- package/lib/src/data-chart/src/components/empty.vue2.cjs +0 -2
- package/lib/src/data-chart/src/components/empty.vue2.cjs.map +0 -1
- package/lib/src/data-chart/src/components/funnel.vue.cjs +0 -2
- package/lib/src/data-chart/src/components/funnel.vue.cjs.map +0 -1
- package/lib/src/data-chart/src/components/funnel.vue2.cjs +0 -2
- package/lib/src/data-chart/src/components/funnel.vue2.cjs.map +0 -1
- package/lib/src/data-chart/src/components/funnel.vue3.cjs +0 -2
- package/lib/src/data-chart/src/components/funnel.vue3.cjs.map +0 -1
- package/lib/src/data-chart/src/components/line.vue.cjs +0 -2
- package/lib/src/data-chart/src/components/line.vue.cjs.map +0 -1
- package/lib/src/data-chart/src/components/line.vue2.cjs +0 -2
- package/lib/src/data-chart/src/components/line.vue2.cjs.map +0 -1
- package/lib/src/data-chart/src/components/line.vue3.cjs +0 -2
- package/lib/src/data-chart/src/components/line.vue3.cjs.map +0 -1
- package/lib/src/data-chart/src/components/pie.vue.cjs +0 -2
- package/lib/src/data-chart/src/components/pie.vue.cjs.map +0 -1
- package/lib/src/data-chart/src/components/pie.vue2.cjs +0 -2
- package/lib/src/data-chart/src/components/pie.vue2.cjs.map +0 -1
- package/lib/src/data-chart/src/components/pie.vue3.cjs +0 -2
- package/lib/src/data-chart/src/components/pie.vue3.cjs.map +0 -1
- package/lib/src/data-chart/src/components/radar.vue.cjs +0 -2
- package/lib/src/data-chart/src/components/radar.vue.cjs.map +0 -1
- package/lib/src/data-chart/src/components/radar.vue2.cjs +0 -2
- package/lib/src/data-chart/src/components/radar.vue2.cjs.map +0 -1
- package/lib/src/data-chart/src/components/radar.vue3.cjs +0 -2
- package/lib/src/data-chart/src/components/radar.vue3.cjs.map +0 -1
- package/lib/src/data-chart/src/components/scatter-simple.vue.cjs +0 -2
- package/lib/src/data-chart/src/components/scatter-simple.vue.cjs.map +0 -1
- package/lib/src/data-chart/src/components/scatter-simple.vue2.cjs +0 -2
- package/lib/src/data-chart/src/components/scatter-simple.vue2.cjs.map +0 -1
- package/lib/src/data-chart/src/components/scatter-simple.vue3.cjs +0 -2
- package/lib/src/data-chart/src/components/scatter-simple.vue3.cjs.map +0 -1
- package/lib/src/data-chart/src/components/scatter.vue.cjs +0 -2
- package/lib/src/data-chart/src/components/scatter.vue.cjs.map +0 -1
- package/lib/src/data-chart/src/components/scatter.vue2.cjs +0 -2
- package/lib/src/data-chart/src/components/scatter.vue2.cjs.map +0 -1
- package/lib/src/data-chart/src/components/scatter.vue3.cjs +0 -2
- package/lib/src/data-chart/src/components/scatter.vue3.cjs.map +0 -1
- package/lib/src/data-chart/src/components/table.vue.cjs +0 -2
- package/lib/src/data-chart/src/components/table.vue.cjs.map +0 -1
- package/lib/src/data-chart/src/components/table.vue2.cjs +0 -2
- package/lib/src/data-chart/src/components/table.vue2.cjs.map +0 -1
- package/lib/src/data-chart/src/data-chart.vue.cjs +0 -2
- package/lib/src/data-chart/src/data-chart.vue.cjs.map +0 -1
- package/lib/src/data-chart/src/data-chart.vue2.cjs +0 -2
- package/lib/src/data-chart/src/data-chart.vue2.cjs.map +0 -1
- package/lib/src/data-chart/src/utils/config.cjs +0 -2
- package/lib/src/data-chart/src/utils/config.cjs.map +0 -1
- package/lib/src/data-chart/src/utils/injectionKeys.cjs +0 -2
- package/lib/src/data-chart/src/utils/injectionKeys.cjs.map +0 -1
- package/lib/src/data-chart/src/utils/mapData.cjs +0 -2
- package/lib/src/data-chart/src/utils/mapData.cjs.map +0 -1
- package/lib/src/data-chart/src/utils/safe-eval.cjs +0 -2
- package/lib/src/data-chart/src/utils/safe-eval.cjs.map +0 -1
- package/lib/src/data-chart/src/utils/types.cjs +0 -2
- package/lib/src/data-chart/src/utils/types.cjs.map +0 -1
- package/lib/src/data-chart/src/utils/useCharts.cjs +0 -2
- package/lib/src/data-chart/src/utils/useCharts.cjs.map +0 -1
- package/lib/src/file-upload/src/file-upload.vue.cjs +0 -2
- package/lib/src/file-upload/src/file-upload.vue.cjs.map +0 -1
- package/lib/src/file-upload/src/file-upload.vue2.cjs +0 -2
- package/lib/src/file-upload/src/file-upload.vue2.cjs.map +0 -1
- package/lib/src/fixed-action-bar/index.cjs +0 -2
- package/lib/src/fixed-action-bar/index.cjs.map +0 -1
- package/lib/src/fixed-action-bar/src/fixed-action-bar.vue.cjs +0 -2
- package/lib/src/fixed-action-bar/src/fixed-action-bar.vue.cjs.map +0 -1
- package/lib/src/fixed-action-bar/src/fixed-action-bar.vue2.cjs +0 -2
- package/lib/src/fixed-action-bar/src/fixed-action-bar.vue2.cjs.map +0 -1
- package/lib/src/image-upload/src/image-upload.vue.cjs +0 -2
- package/lib/src/image-upload/src/image-upload.vue.cjs.map +0 -1
- package/lib/src/image-upload/src/image-upload.vue2.cjs +0 -2
- package/lib/src/image-upload/src/image-upload.vue2.cjs.map +0 -1
- package/lib/src/photo-crop-tool/src/composables.cjs +0 -2
- package/lib/src/photo-crop-tool/src/composables.cjs.map +0 -1
- package/lib/src/photo-crop-tool/src/photo-crop-tool.vue.cjs +0 -2
- package/lib/src/photo-crop-tool/src/photo-crop-tool.vue.cjs.map +0 -1
- package/lib/src/photo-crop-tool/src/photo-crop-tool.vue2.cjs +0 -2
- package/lib/src/photo-crop-tool/src/photo-crop-tool.vue2.cjs.map +0 -1
- package/lib/src/subject-action/index.cjs +0 -2
- package/lib/src/subject-action/index.cjs.map +0 -1
- package/lib/src/subject-action/src/subject-action.vue.cjs +0 -2
- package/lib/src/subject-action/src/subject-action.vue.cjs.map +0 -1
- package/lib/src/subject-action/src/subject-action.vue2.cjs +0 -2
- package/lib/src/subject-action/src/subject-action.vue2.cjs.map +0 -1
- package/lib/src/subject-layout/index.cjs +0 -2
- package/lib/src/subject-layout/index.cjs.map +0 -1
- package/lib/src/subject-layout/src/subject-layout.vue.cjs +0 -2
- package/lib/src/subject-layout/src/subject-layout.vue.cjs.map +0 -1
- package/lib/src/subject-layout/src/subject-layout.vue2.cjs +0 -2
- package/lib/src/subject-layout/src/subject-layout.vue2.cjs.map +0 -1
- package/lib/src/subject-list/index.cjs +0 -2
- package/lib/src/subject-list/index.cjs.map +0 -1
- package/lib/src/subject-list/src/components/SubjectPageEnd.vue.cjs +0 -2
- package/lib/src/subject-list/src/components/SubjectPageEnd.vue.cjs.map +0 -1
- package/lib/src/subject-list/src/components/SubjectPageEnd.vue2.cjs +0 -2
- package/lib/src/subject-list/src/components/SubjectPageEnd.vue2.cjs.map +0 -1
- package/lib/src/subject-list/src/components/SubjectRichText.vue.cjs +0 -2
- package/lib/src/subject-list/src/components/SubjectRichText.vue.cjs.map +0 -1
- package/lib/src/subject-list/src/components/SubjectRichText.vue2.cjs +0 -2
- package/lib/src/subject-list/src/components/SubjectRichText.vue2.cjs.map +0 -1
- package/lib/src/subject-list/src/components/subject-blank-fill.vue.cjs +0 -2
- package/lib/src/subject-list/src/components/subject-blank-fill.vue.cjs.map +0 -1
- package/lib/src/subject-list/src/components/subject-blank-fill.vue2.cjs +0 -2
- package/lib/src/subject-list/src/components/subject-blank-fill.vue2.cjs.map +0 -1
- package/lib/src/subject-list/src/components/subject-scale.vue.cjs +0 -2
- package/lib/src/subject-list/src/components/subject-scale.vue.cjs.map +0 -1
- package/lib/src/subject-list/src/components/subject-scale.vue2.cjs +0 -2
- package/lib/src/subject-list/src/components/subject-scale.vue2.cjs.map +0 -1
- package/lib/src/subject-list/src/components/subject-single.vue.cjs +0 -2
- package/lib/src/subject-list/src/components/subject-single.vue.cjs.map +0 -1
- package/lib/src/subject-list/src/components/subject-single.vue2.cjs +0 -2
- package/lib/src/subject-list/src/components/subject-single.vue2.cjs.map +0 -1
- package/lib/src/subject-list/src/components/subject-text-fill.vue.cjs +0 -2
- package/lib/src/subject-list/src/components/subject-text-fill.vue.cjs.map +0 -1
- package/lib/src/subject-list/src/components/subject-text-fill.vue2.cjs +0 -2
- package/lib/src/subject-list/src/components/subject-text-fill.vue2.cjs.map +0 -1
- package/lib/src/subject-list/src/subject-list.vue.cjs +0 -2
- package/lib/src/subject-list/src/subject-list.vue.cjs.map +0 -1
- package/lib/src/subject-list/src/subject-list.vue2.cjs +0 -2
- package/lib/src/subject-list/src/subject-list.vue2.cjs.map +0 -1
- package/lib/src/subject-type/index.cjs +0 -2
- package/lib/src/subject-type/index.cjs.map +0 -1
- package/lib/src/subject-type/src/subject-type.vue.cjs +0 -2
- package/lib/src/subject-type/src/subject-type.vue.cjs.map +0 -1
- package/lib/src/subject-type/src/subject-type.vue2.cjs +0 -2
- package/lib/src/subject-type/src/subject-type.vue2.cjs.map +0 -1
- package/theme-chalk/index.css +0 -1
- package/theme-chalk/index.scss +0 -17
- package/theme-chalk/src/base.css +0 -1
- package/theme-chalk/src/base.scss +0 -16
- package/theme-chalk/src/common/element-plus-deps.css +0 -1
- package/theme-chalk/src/common/element-plus-deps.scss +0 -40
- package/theme-chalk/src/common/element-plus.css +0 -1
- package/theme-chalk/src/common/element-plus.scss +0 -606
- package/theme-chalk/src/data-chart/empty.css +0 -1
- package/theme-chalk/src/data-chart/empty.scss +0 -24
- package/theme-chalk/src/data-chart/index.css +0 -1
- package/theme-chalk/src/data-chart/index.scss +0 -11
- package/theme-chalk/src/data-chart/table.css +0 -1
- package/theme-chalk/src/data-chart/table.scss +0 -43
- package/theme-chalk/src/file-upload.css +0 -1
- package/theme-chalk/src/file-upload.scss +0 -34
- package/theme-chalk/src/fixed-action-bar.css +0 -1
- package/theme-chalk/src/fixed-action-bar.scss +0 -18
- package/theme-chalk/src/icon.css +0 -1
- package/theme-chalk/src/icon.scss +0 -35
- package/theme-chalk/src/image-upload.css +0 -1
- package/theme-chalk/src/image-upload.scss +0 -157
- package/theme-chalk/src/mixins/_var.css +0 -0
- package/theme-chalk/src/mixins/_var.scss +0 -24
- package/theme-chalk/src/mixins/config.css +0 -0
- package/theme-chalk/src/mixins/config.scss +0 -12
- package/theme-chalk/src/mixins/function.css +0 -0
- package/theme-chalk/src/mixins/function.scss +0 -95
- package/theme-chalk/src/mixins/mixins.css +0 -0
- package/theme-chalk/src/mixins/mixins.scss +0 -102
- package/theme-chalk/src/normalize.css +0 -1
- package/theme-chalk/src/normalize.scss +0 -11
- package/theme-chalk/src/photo-crop-tool.css +0 -1
- package/theme-chalk/src/photo-crop-tool.scss +0 -98
- package/theme-chalk/src/subject-action.css +0 -1
- package/theme-chalk/src/subject-action.scss +0 -37
- package/theme-chalk/src/subject-layout.css +0 -1
- package/theme-chalk/src/subject-layout.scss +0 -28
- package/theme-chalk/src/subject-list.css +0 -1
- package/theme-chalk/src/subject-list.scss +0 -290
- package/theme-chalk/src/subject-template.css +0 -1
- package/theme-chalk/src/subject-template.scss +0 -5
- package/theme-chalk/src/subject-type.css +0 -1
- package/theme-chalk/src/subject-type.scss +0 -32
- package/theme-chalk/src/tiny-mce-editor.css +0 -1
- package/theme-chalk/src/tiny-mce-editor.scss +0 -29
- package/types/src/data-chart/src/analyze.d.ts +0 -23
- package/types/src/data-chart/src/analyze.d.ts.map +0 -1
- package/types/src/data-chart/src/components/area.vue.d.ts +0 -12
- package/types/src/data-chart/src/components/area.vue.d.ts.map +0 -1
- package/types/src/data-chart/src/components/bar.vue.d.ts +0 -12
- package/types/src/data-chart/src/components/bar.vue.d.ts.map +0 -1
- package/types/src/data-chart/src/components/card.vue.d.ts +0 -27
- package/types/src/data-chart/src/components/card.vue.d.ts.map +0 -1
- package/types/src/data-chart/src/components/empty.vue.d.ts +0 -11
- package/types/src/data-chart/src/components/empty.vue.d.ts.map +0 -1
- package/types/src/data-chart/src/components/funnel.vue.d.ts +0 -11
- package/types/src/data-chart/src/components/funnel.vue.d.ts.map +0 -1
- package/types/src/data-chart/src/components/line.vue.d.ts +0 -12
- package/types/src/data-chart/src/components/line.vue.d.ts.map +0 -1
- package/types/src/data-chart/src/components/pie.vue.d.ts +0 -12
- package/types/src/data-chart/src/components/pie.vue.d.ts.map +0 -1
- package/types/src/data-chart/src/components/radar.vue.d.ts +0 -11
- package/types/src/data-chart/src/components/radar.vue.d.ts.map +0 -1
- package/types/src/data-chart/src/components/scatter-simple.vue.d.ts +0 -11
- package/types/src/data-chart/src/components/scatter-simple.vue.d.ts.map +0 -1
- package/types/src/data-chart/src/components/scatter.vue.d.ts +0 -11
- package/types/src/data-chart/src/components/scatter.vue.d.ts.map +0 -1
- package/types/src/data-chart/src/components/table.vue.d.ts +0 -27
- package/types/src/data-chart/src/components/table.vue.d.ts.map +0 -1
- package/types/src/data-chart/src/data-chart.vue.d.ts +0 -28
- package/types/src/data-chart/src/data-chart.vue.d.ts.map +0 -1
- package/types/src/data-chart/src/utils/config.d.ts +0 -41
- package/types/src/data-chart/src/utils/config.d.ts.map +0 -1
- package/types/src/data-chart/src/utils/injectionKeys.d.ts +0 -3
- package/types/src/data-chart/src/utils/injectionKeys.d.ts.map +0 -1
- package/types/src/data-chart/src/utils/mapData.d.ts +0 -64
- package/types/src/data-chart/src/utils/mapData.d.ts.map +0 -1
- package/types/src/data-chart/src/utils/safe-eval.d.ts +0 -9
- package/types/src/data-chart/src/utils/safe-eval.d.ts.map +0 -1
- package/types/src/data-chart/src/utils/types.d.ts +0 -72
- package/types/src/data-chart/src/utils/types.d.ts.map +0 -1
- package/types/src/data-chart/src/utils/useCharts.d.ts +0 -16
- package/types/src/data-chart/src/utils/useCharts.d.ts.map +0 -1
- package/types/src/file-upload/src/file-upload.vue.d.ts +0 -20
- package/types/src/file-upload/src/file-upload.vue.d.ts.map +0 -1
- package/types/src/fixed-action-bar/index.d.ts +0 -56
- package/types/src/fixed-action-bar/index.d.ts.map +0 -1
- package/types/src/fixed-action-bar/src/fixed-action-bar.vue.d.ts +0 -31
- package/types/src/fixed-action-bar/src/fixed-action-bar.vue.d.ts.map +0 -1
- package/types/src/image-upload/src/image-upload.vue.d.ts +0 -59
- package/types/src/image-upload/src/image-upload.vue.d.ts.map +0 -1
- package/types/src/photo-crop-tool/src/composables.d.ts +0 -7
- package/types/src/photo-crop-tool/src/composables.d.ts.map +0 -1
- package/types/src/photo-crop-tool/src/photo-crop-tool.vue.d.ts +0 -65
- package/types/src/photo-crop-tool/src/photo-crop-tool.vue.d.ts.map +0 -1
- package/types/src/subject-list/src/components/SubjectRichText.vue.d.ts +0 -25
- package/types/src/subject-list/src/components/SubjectRichText.vue.d.ts.map +0 -1
|
@@ -0,0 +1,600 @@
|
|
|
1
|
+
"use strict";var e=require("lit"),t=require("lit/decorators.js"),s=require("../base/define.cjs"),i=require("../base/uid.cjs"),r=require("../editor/toolbar.cjs"),o=require("./shared-methods.cjs"),a=require("./shared-styles.cjs"),n=require("./sorting-card.cjs"),l=require("./types.cjs"),c=Object.defineProperty,h=Object.getOwnPropertyDescriptor,p=(e,t,s,i)=>{for(var r,o=i>1?void 0:i?h(t,s):t,a=e.length-1;a>=0;a--)(r=e[a])&&(o=(i?r(t,s,o):r(o))||o);return i&&o&&c(t,s,o),o};class d extends Error{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"VALIDATION_ERROR",s=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;super(e),this.code=t,this.field=s,this.row=i,this.name="SubjectError"}static from(e){return new d(e.message,e.code,e.field,e.row)}}const u=e.html`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="12" y1="5" x2="12" y2="19"/><line x1="5" y1="12" x2="19" y2="12"/></svg>`,x=e.html`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="5" y1="12" x2="19" y2="12"/></svg>`,g=e.html`<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="6 9 12 15 18 9"/></svg>`;function w(e){return e.replace(/^\d+\.\s*/,"").replace(/[\s,,。.!!??;;::、'"“”‘’()()[\]【】\-_/\\]+/g,"").toLowerCase()}function m(e){return String(e??"").trim()}exports.QxsSubjectSingle=class extends e.LitElement{constructor(){super(...arguments),this["order-index"]=0,this["is-edit"]=!1,this["is-save"]=!1,this["is-set"]=!1,this["is-set-correct-answer"]=!1,this.lockAnswerKey=!1,this["is-key"]=!1,this["show-action"]=!0,this["show-add"]=!0,this["hide-add-rich-text"]=!1,this["show-rich-text"]=!1,this["show-delete-action"]=!0,this["show-save-action"]=!0,this.sorting=!1,this["show-answer-setting"]=!1,this["show-key"]=!1,this["show-analysis"]=!1,this.type="single",this["answer-check-type"]=1,this["exam-answer-relation-type"]=0,this["rich-text-content"]="",this.analysis="",this["least-answer-count"]=null,this["exam-expand"]="",this["custom-id"]="",this["exam-id"]=0,this["category-id"]="",this["upload-image"]=async e=>new Promise((t,s)=>{const i=new FileReader;i.onload=e=>t(e.target?.result),i.onerror=s,i.readAsDataURL(e)}),this["tag-list"]=[],this["category-list"]=[],this["ai-answer"]="",this["resource-list"]=[],this["show-tag"]=!1,this["show-category"]=!1,this["show-ai"]=!1,this["show-resource"]=!1,this["show-jump"]=!1,this["has-jump"]=!1,this["search-api"]="",this["model-value"]="",this["use-model"]=!1,this._answers=[{title:"",isCorrect:!1},{title:"",isCorrect:!1},{title:"",isCorrect:!1},{title:"",isCorrect:!1}],this.title="",this._title="",this._analysis="",this._richText="",this._showRichText=!1,this._leastAnswerCount=null,this._answerCheckType=1,this._isKey=!1,this._orderList=[],this._selectedTagList=[],this._categoryId="",this._searchResults=[],this._searchOpen=!1,this._searchLoading=!1,this._sortDropdownOpen=!1,this._imageViewerOpen=!1,this._imageViewerIndex=0,this._videoViewerOpen=!1,this._correctHintDialogOpen=!1,this._hasShownCorrectHint=!1,this._changeTypeDialogOpen=!1,this._searchTimer=null,this._searchToken=0,this.TITLE_MAX=200,this.ANSWER_MAX=100,this._handleDocumentClick=e=>{const t=e.composedPath(),s=this.shadowRoot?.querySelector(".multi-select-wrapper"),i=this.shadowRoot?.querySelector(".search-wrap");s&&!t.includes(s)&&(this._sortDropdownOpen=!1),i&&!t.includes(i)&&(this._searchOpen=!1),this.requestUpdate()}}get"answer-list"(){return this._answers}set"answer-list"(e){if(this["is-edit"])return;const t=Array.isArray(e)?e:[];this._answers=t.length?t.map(e=>this._normalizeAnswerItem(e)):[{title:"",isCorrect:!1},{title:"",isCorrect:!1},{title:"",isCorrect:!1},{title:"",isCorrect:!1}],this.requestUpdate("answer-list")}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this._handleDocumentClick),this._syncExternalProps()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this._handleDocumentClick),this._searchTimer&&(window.clearTimeout(this._searchTimer),this._searchTimer=null)}willUpdate(e){e.has("is-edit")&&this["is-edit"]&&this._syncProps(),!this["is-edit"]&&(e.has("title")||e.has("answer-list")||e.has("analysis")||e.has("least-answer-count")||e.has("answer-check-type")||e.has("tag-list")||e.has("category-id")||e.has("rich-text-content"))&&this._syncExternalProps(),e.has("is-key")&&(this._isKey=this["is-key"]),e.has("tag-list")&&(this._selectedTagList=Array.isArray(this["tag-list"])?this["tag-list"].map(e=>({...e})):[]),e.has("category-id")&&(this._categoryId=this["category-id"]?String(this["category-id"]):""),(e.has("exam-expand")||e.has("answer-list"))&&this._syncExamExpand(),e.has("model-value")&&this["use-model"]&&(this._title=this["model-value"])}_supportsLeastAnswerCount(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.type;return"multiple"===e||"sort"===e}_normalizeLeastAnswerCount(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.type;if(!this._supportsLeastAnswerCount(t)||""===e||null==e)return null;const s=Number(e);return Number.isFinite(s)&&s>0?s:null}_leastAnswerCountSuffix(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.type;return this._supportsLeastAnswerCount(t)&&null!==e?`,至少选${e}项${"sort"===t?"并排序":""}`:""}_normalizeAnswerItem(e){const t={...e,title:m(e?.title??e?.answer??""),isCorrect:!!e?.isCorrect},s=e?.answerId??e?.examAnswerId;return void 0!==s&&(t.answerId=s),t}_syncExternalProps(){this._title=this.title||"",this._analysis=this.analysis||"",this._leastAnswerCount=this._normalizeLeastAnswerCount(this["least-answer-count"]),this._answerCheckType=this["answer-check-type"]||1,this._isKey=this["is-key"],this._selectedTagList=Array.isArray(this["tag-list"])?this["tag-list"].map(e=>({...e})):[],this._categoryId=this["category-id"]?String(this["category-id"]):"",this._richText=this["rich-text-content"]||"",this._showRichText=!!this["rich-text-content"],this["answer-list"]?.length&&(this._answers=this["answer-list"].map(e=>this._normalizeAnswerItem(e)))}_syncProps(){this._title=this.title||"",this._analysis=this.analysis||"",this._leastAnswerCount=this._normalizeLeastAnswerCount(this["least-answer-count"]),this._answerCheckType=this["answer-check-type"]||1,this._isKey=this["is-key"],this._selectedTagList=Array.isArray(this["tag-list"])?this["tag-list"].map(e=>({...e})):[],this._categoryId=this["category-id"]?String(this["category-id"]):"",this._richText=this["rich-text-content"]||"",this._showRichText=!!this["rich-text-content"],this["answer-list"]?.length&&(this._answers=this["answer-list"].map(e=>this._normalizeAnswerItem(e))),this._syncExamExpand()}_syncExamExpand(){if(!this["exam-expand"]||!this["answer-list"]?.length)return;const e=this["exam-expand"].split(","),t=this["answer-list"];this._orderList=e.map(e=>{const s=t.findIndex((t,s)=>String(t.answerId??t.orderIndex??s+1)===String(e));return s>=0?this._label(s):""}).filter(Boolean)}_emit(e,t){o.emitSubjectEvent(this,e,t)}_searchAnswerType(){return"single"===this.type?0:"multiple"===this.type?1:5}_queueSearch(e){this._searchTimer&&(window.clearTimeout(this._searchTimer),this._searchTimer=null);const t=e.trim();if(!t||!this["search-api"]&&"function"!=typeof this["search-handler"])return this._searchResults=[],this._searchOpen=!1,void(this._searchLoading=!1);this._searchTimer=window.setTimeout(()=>{this._runSearch(t)},300)}async _runSearch(e){const t=++this._searchToken;this._searchLoading=!0,this._searchOpen=!0,this.requestUpdate();try{let s=[];if("function"==typeof this["search-handler"])s=await this["search-handler"](e,this._searchAnswerType());else if(this["search-api"]){const t=new URLSearchParams({searchKey:e,answerType:String(this._searchAnswerType())}),i=await fetch(`${this["search-api"]}${this["search-api"].includes("?")?"&":"?"}${t.toString()}`);if(!i.ok)throw new Error(`HTTP ${i.status}`);const r=await i.json();s=(Array.isArray(r)?r:Array.isArray(r?.data)?r.data:[]).map(e=>({...e,value:e?.value||e?.title||""}))}if(t!==this._searchToken)return;this._searchResults=Array.isArray(s)?s:[]}catch(e){if(t!==this._searchToken)return;this._searchResults=[],o.showSubjectToast(e?.message||"题库搜索失败")}finally{t===this._searchToken&&(this._searchLoading=!1,this.requestUpdate())}}_selectSearchResult(e){const t=e.value||e.title||"";this._title=t,this._searchResults=[],this._searchOpen=!1,this["use-model"]&&o.emitSubjectModelValue(this,this._title),this._emit("title-select",{...e,id:e.id??e.examId??e.questionId,title:e.title||t,value:t,customId:this["custom-id"]||""})}_applyAiAnswer(){if(!this["ai-answer"]?.trim())return void o.showSubjectToast("暂无 AI 推荐答案");const e=this["ai-answer"].split(/\r?\n/).map(e=>w(e)).filter(Boolean);let t=0;if("single"===this.type){let s=!1;this._answers=this._answers.map(i=>{const r=!s&&e.includes(w(i.title||""));return r&&(s=!0,t++),{...i,isCorrect:r}})}else this._answers=this._answers.map(s=>{const i=e.includes(w(s.title||""));return i&&t++,{...s,isCorrect:i}});t?this.requestUpdate():o.showSubjectToast("未找到匹配的选项,请检查选项内容是否一致")}_onCategoryChange(e){this._categoryId=e,this._emit("category-change",{value:e,customId:this["custom-id"]||"",examId:this["exam-id"]||0})}_setRelation(e,t){const s=e.customAnswerId?{...e}:{...e,customAnswerId:e.answerId||i.uid()};this._answers=this._answers.map((e,i)=>i===t?s:e),this.requestUpdate(),this._emit("set-relation",{customId:this["custom-id"]||"",examId:this["exam-id"]||0,answerIndex:t,answer:s})}_relationLength(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce((e,t)=>e+(Array.isArray(t?.relationAnswers)?t.relationAnswers.length:0),0)}_emitEditResultItem(e,t){this._emit("edit-result-item",{customId:this["custom-id"]||"",examId:this["exam-id"]||0,answerIndex:t,answer:{...e},resultItem:e.resultItem||""})}_resultSlotName(e){return`business-result-item-${e}`}_imageResources(){return o.getSubjectImageResources(this["resource-list"]||[])}_videoResource(){return o.getSubjectVideoResource(this["resource-list"]||[])}_openImageViewer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this._imageResources().length&&(this._imageViewerIndex=e,this._imageViewerOpen=!0)}_closeImageViewer(){this._imageViewerOpen=!1}_moveImage(e){const t=this._imageResources();t.length&&(this._imageViewerIndex=(this._imageViewerIndex+e+t.length)%t.length)}_openVideoViewer(){this._videoResource()?.url&&(this._videoViewerOpen=!0)}_closeVideoViewer(){this._videoViewerOpen=!1}_label(e){return String.fromCharCode(65+e)}get _titlePlaceholder(){return"single"===this.type?"单选题":"multiple"===this.type?"多选题":"排序题"}_setCorrect(e,t){this.lockAnswerKey||("single"===this.type?this._answers=this._answers.map(s=>({...s,isCorrect:s===e?t:!t&&!!s.isCorrect})):this._answers=this._answers.map(s=>s===e?{...s,isCorrect:t}:s),this.requestUpdate())}_onTitleInput(e){const t=e.target;t.value.length>this.TITLE_MAX&&(t.value=t.value.slice(0,this.TITLE_MAX)),this._title=t.value,this._queueSearch(this._title),this["use-model"]&&o.emitSubjectModelValue(this,this._title)}_onAnswerInput(e,t){const s=e.target;s.value.length>this.ANSWER_MAX&&(s.value=s.value.slice(0,this.ANSWER_MAX)),this._answers[t].title=s.value,this.requestUpdate()}_addAnswer(e){const t=[...this._answers];t.splice(e+1,0,{title:"",isCorrect:!1,customAnswerId:i.uid()}),this._answers=t}_deleteAnswer(e){this._answers.length<3||(this._answers=this._answers.filter((t,s)=>s!==e))}_toggleSortItem(e){const t=this._orderList.indexOf(e);this._orderList=t>=0?this._orderList.filter(t=>t!==e):[...this._orderList,e],this.requestUpdate()}_removeSortItem(e){this._orderList=this._orderList.filter(t=>t!==e),this.requestUpdate()}_getSortOrder(e){const t=this._orderList.indexOf(this._label(e));return t>=0?t+1:null}_sortAnswerValue(e){const t=e.charCodeAt(0)-65,s=this._answers[t];return s?.answerId??t+1}_rowMeta(){return{customId:this["custom-id"]||void 0,answerType:this.type,orderIndex:this["order-index"]}}_collectSnapshot(){const e=(this["is-edit"]?this._answers:this["answer-list"]||[]).map(e=>({...e,title:m(e?.title??e?.answer??""),isCorrect:!!e?.isCorrect,resultItem:m(e?.resultItem??"")})),t=this["is-edit"]?[...this._orderList]:(()=>{const e=this["exam-expand"];return e?e.split(",").map(e=>{const t=this["answer-list"]?.findIndex((t,s)=>String(t.answerId??t.orderIndex??s+1)===String(e));return t>=0?this._label(t):""}).filter(Boolean):[]})();return{title:m(this["is-edit"]?this._title:this.title||""),answers:e,analysis:m(this["is-edit"]?this._analysis:this.analysis||""),leastAnswerCount:this["is-edit"]?this._leastAnswerCount:this._normalizeLeastAnswerCount(this["least-answer-count"]),selectedTagList:Array.isArray(this._selectedTagList)?[...this._selectedTagList]:[],examExpand:this["is-edit"]?t.map(e=>this._sortAnswerValue(e)).join(","):this["exam-expand"]||"",showRichText:this["is-edit"]?this._showRichText:!!this["rich-text-content"],richText:this["is-edit"]?this._richText:this["rich-text-content"]||"",orderList:t}}_validateSnapshot(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.type;const s=this._rowMeta(),i=[];e.title||i.push(new d("题目标题不能为空!","EMPTY_TITLE","title",s));let r=!1,o=0;e.answers.forEach((e,a)=>{e.title?.trim()||i.push(new d(`选项${String.fromCharCode(65+a)}未填写`,"ANSWER_EMPTY","answers",s)),"sort"!==t&&e.isCorrect&&(r=!0,o++)});return new Set(e.answers.map(e=>e.title)).size!==e.answers.length&&e.answers.length>0&&i.push(new d("选项不能重复","DUPLICATE_ANSWERS","answers",s)),"single"===t&&o>1&&i.push(new d("此题为单选题,设置了多个推荐/正确选项,请保存时确认是否切换为多选题","SINGLE_MULTI_CORRECT","answers",s)),"multiple"===t&&(1===o&&i.push(new d("请设置至少两个推荐/正确选项","CORRECT_COUNT_INVALID","answers",s)),o>0&&(r=!0),r&&null!==e.leastAnswerCount&&o<e.leastAnswerCount&&i.push(new d("至少选几项与推荐/正确选项数不符","LEAST_ANSWER_COUNT_INVALID","answers",s))),"sort"===t&&(r=e.orderList.length>0,null!==e.leastAnswerCount&&e.orderList.length<e.leastAnswerCount&&i.push(new d("至少选几项与推荐/正确选项数不符","LEAST_ANSWER_COUNT_INVALID","orderList",s))),{errors:i,isSetCorrectAnswer:r,correctAnswerCount:o}}_serialize(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.type;const t=this._collectSnapshot(),{errors:s,isSetCorrectAnswer:i}=this._validateSnapshot(t,e);if(s.length)throw s[0];const r={answerType:String(e),examTypeEnum:String(e),title:t.title,answers:t.answers.map((e,t)=>{const s=e.resultItem?1:Array.isArray(e.answerRelations)&&e.answerRelations.length?2:null,i={...e,orderIndex:t+1,answer:e.title,relationType:s};return void 0!==e.answerId&&(i.examAnswerId=e.answerId),null===s&&delete i.relationType,i}),examExpand:t.examExpand,analysis:t.analysis,isSetCorrectAnswer:i,examRichTextContent:t.showRichText?t.richText:""};return this["exam-answer-relation-type"]&&(r.examAnswerRelationType=this["exam-answer-relation-type"]),this._supportsLeastAnswerCount(e)&&(r.leastAnswerCount=t.leastAnswerCount),this["custom-id"]&&(r.customId=this["custom-id"]),r}_shouldShowCorrectHint(){return"sort"===this.type?!this._orderList.length:!this._answers.some(e=>!!e.isCorrect)}async _finalizeSave(){try{const e=await this.toJSON();this._emit("save",e)}catch(e){o.showSubjectToast(e.message)}}async toJSON(){return Promise.resolve(this._serialize())}validate(){return this._validateSnapshot(this._collectSnapshot()).errors}setResultItem(e,t){e<0||e>=this._answers.length||(this._answers=this._answers.map((s,i)=>i===e?{...s,resultItem:t||""}:s),this.requestUpdate())}setAnswerRelation(e,t){e&&(this._answers=this._answers.map(s=>String(s.customAnswerId??s.answerId??"")===String(e)?{...s,answerRelations:t}:s),this.requestUpdate())}_renderCorrectHintDialog(){return this._correctHintDialogOpen?e.html`
|
|
2
|
+
<div class="modal-backdrop" @click=${()=>{this._correctHintDialogOpen=!1}}>
|
|
3
|
+
<div class="modal correct-hint-dialog" @click=${e=>e.stopPropagation()}>
|
|
4
|
+
<div class="modal-header">
|
|
5
|
+
<span class="modal-title">温馨提示</span>
|
|
6
|
+
</div>
|
|
7
|
+
<div class="modal-body">
|
|
8
|
+
<div class="correct-hint-copy">
|
|
9
|
+
为了收集更全面、有价值的数据,建议您为问卷每题设定<span class="correct-hint-highlight">推荐/正确选项</span>。这将助力深入分析,让调研结果更精准、有意义。
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
<div class="modal-footer">
|
|
13
|
+
<button @click=${async()=>{this._hasShownCorrectHint=!0,this._correctHintDialogOpen=!1,await this._finalizeSave()}}>完成编辑</button>
|
|
14
|
+
<button class="primary" @click=${()=>{this._correctHintDialogOpen=!1}}>去设置</button>
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
18
|
+
`:""}_renderChangeTypeDialog(){return this._changeTypeDialogOpen?e.html`
|
|
19
|
+
<div class="modal-backdrop" @click=${()=>{this._changeTypeDialogOpen=!1}}>
|
|
20
|
+
<div class="modal" @click=${e=>e.stopPropagation()}>
|
|
21
|
+
<div class="modal-header">
|
|
22
|
+
<span class="modal-title">提示</span>
|
|
23
|
+
<button class="modal-close" @click=${()=>{this._changeTypeDialogOpen=!1}}>✕</button>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="modal-body">
|
|
26
|
+
<div class="value-text">此题为单选题,设置了多个推荐/正确选项,是否切换成多选题?</div>
|
|
27
|
+
</div>
|
|
28
|
+
<div class="modal-footer">
|
|
29
|
+
<button @click=${()=>{this._changeTypeDialogOpen=!1}}>取消</button>
|
|
30
|
+
<button class="primary" @click=${()=>{try{const e=this._serialize("multiple");this._changeTypeDialogOpen=!1,this._emit("save",e)}catch(e){o.showSubjectToast(e?.message||"保存失败")}}}>切换</button>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
`:""}_renderSearchDropdown(){return this["is-edit"]&&(this._searchOpen||this._searchLoading)?e.html`
|
|
35
|
+
<div class="search-dropdown">
|
|
36
|
+
${this._searchLoading?e.html`<div class="search-empty">搜索中...</div>`:this._searchResults.length?this._searchResults.map(t=>e.html`
|
|
37
|
+
<div class="search-item" @click=${()=>this._selectSearchResult(t)}>${t.value||t.title}</div>
|
|
38
|
+
`):e.html`<div class="search-empty">暂无匹配题目</div>`}
|
|
39
|
+
</div>
|
|
40
|
+
`:""}_renderCategorySection(){return this["show-category"]?e.html`
|
|
41
|
+
<div class="flex-items-start section-row">
|
|
42
|
+
<div class="label"><span>分类:</span></div>
|
|
43
|
+
<div style="flex:1">
|
|
44
|
+
${this["is-edit"]?e.html`
|
|
45
|
+
<select class="el-select" .value=${String(this._categoryId)}
|
|
46
|
+
@change=${e=>this._onCategoryChange(e.target.value)}>
|
|
47
|
+
<option value="">选择分类</option>
|
|
48
|
+
${this["category-list"].map(t=>e.html`
|
|
49
|
+
<option value=${String(t.categoryId)} ?selected=${String(t.categoryId)===String(this._categoryId)}>${t.title}</option>
|
|
50
|
+
`)}
|
|
51
|
+
</select>
|
|
52
|
+
`:e.html`<span class="value-text">${o.resolveSubjectCategoryLabel(this["category-list"],this._categoryId)}</span>`}
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
`:""}_renderAiSection(){return this["show-ai"]&&["single","multiple"].includes(this.type)?e.html`
|
|
56
|
+
<div class="flex-items-start section-row">
|
|
57
|
+
<div class="label"><span>AI推荐:</span></div>
|
|
58
|
+
<div style="flex:1">
|
|
59
|
+
<span class="value-text">${this["ai-answer"]||"暂无"}</span>
|
|
60
|
+
${this["is-edit"]?e.html`<div style="margin-top:8px"><span class="el-link" @click=${()=>this._applyAiAnswer()}>一键勾选</span></div>`:""}
|
|
61
|
+
</div>
|
|
62
|
+
</div>
|
|
63
|
+
`:""}_renderResourceSection(){if(!this["show-resource"])return"";const t=this._imageResources(),s=this._videoResource();return e.html`
|
|
64
|
+
<div class="flex-items-start section-row">
|
|
65
|
+
<div class="label"><span>资源:</span></div>
|
|
66
|
+
<div style="flex:1">
|
|
67
|
+
<div class="resource-summary">
|
|
68
|
+
图片 ${t.length} 张${s?",含视频资源":""}
|
|
69
|
+
</div>
|
|
70
|
+
<div class="resource-actions">
|
|
71
|
+
${t.length?e.html`<span class="el-link" @click=${()=>this._openImageViewer(0)}>查看图片</span>`:""}
|
|
72
|
+
${s?.url?e.html`<span class="el-link" @click=${()=>this._openVideoViewer()}>查看视频</span>`:""}
|
|
73
|
+
${t.length||s?.url?"":e.html`<span class="muted-text">暂无资源</span>`}
|
|
74
|
+
</div>
|
|
75
|
+
${t.length?e.html`
|
|
76
|
+
<div class="resource-thumbs">
|
|
77
|
+
${t.slice(0,4).map((t,s)=>e.html`
|
|
78
|
+
<img class="resource-thumb" src=${t} alt="resource" @click=${()=>this._openImageViewer(s)} />
|
|
79
|
+
`)}
|
|
80
|
+
</div>
|
|
81
|
+
`:""}
|
|
82
|
+
</div>
|
|
83
|
+
</div>
|
|
84
|
+
`}_renderImageViewer(){if(!this._imageViewerOpen)return"";const t=this._imageResources(),s=t[this._imageViewerIndex];return s?e.html`
|
|
85
|
+
<div class="modal-backdrop" @click=${()=>this._closeImageViewer()}>
|
|
86
|
+
<div class="modal" @click=${e=>e.stopPropagation()}>
|
|
87
|
+
<div class="modal-header">
|
|
88
|
+
<span class="modal-title">图片预览</span>
|
|
89
|
+
<button class="modal-close" @click=${()=>this._closeImageViewer()}>✕</button>
|
|
90
|
+
</div>
|
|
91
|
+
<div class="modal-body">
|
|
92
|
+
<div class="media-stage"><img src=${s} alt="resource-preview" /></div>
|
|
93
|
+
</div>
|
|
94
|
+
<div class="modal-footer">
|
|
95
|
+
<div class="media-footer">
|
|
96
|
+
<span class="muted-text">${this._imageViewerIndex+1} / ${t.length}</span>
|
|
97
|
+
<div class="group">
|
|
98
|
+
${t.length>1?e.html`<button @click=${()=>this._moveImage(-1)}>上一张</button>`:""}
|
|
99
|
+
${t.length>1?e.html`<button @click=${()=>this._moveImage(1)}>下一张</button>`:""}
|
|
100
|
+
<button class="primary" @click=${()=>this._closeImageViewer()}>关闭</button>
|
|
101
|
+
</div>
|
|
102
|
+
</div>
|
|
103
|
+
</div>
|
|
104
|
+
</div>
|
|
105
|
+
</div>
|
|
106
|
+
`:""}_renderVideoViewer(){const t=this._videoResource();return this._videoViewerOpen&&t?.url?e.html`
|
|
107
|
+
<div class="modal-backdrop" @click=${()=>this._closeVideoViewer()}>
|
|
108
|
+
<div class="modal" @click=${e=>e.stopPropagation()}>
|
|
109
|
+
<div class="modal-header">
|
|
110
|
+
<span class="modal-title">视频预览</span>
|
|
111
|
+
<button class="modal-close" @click=${()=>this._closeVideoViewer()}>✕</button>
|
|
112
|
+
</div>
|
|
113
|
+
<div class="modal-body">
|
|
114
|
+
<div class="media-stage">
|
|
115
|
+
<video src=${t.url} controls playsinline></video>
|
|
116
|
+
</div>
|
|
117
|
+
</div>
|
|
118
|
+
<div class="modal-footer">
|
|
119
|
+
<button class="primary" @click=${()=>this._closeVideoViewer()}>关闭</button>
|
|
120
|
+
</div>
|
|
121
|
+
</div>
|
|
122
|
+
</div>
|
|
123
|
+
`:""}async _save(e){e?.stopImmediatePropagation();const t=this.validate(),s=t.find(e=>"SINGLE_MULTI_CORRECT"===e.code),i=t.filter(e=>"SINGLE_MULTI_CORRECT"!==e.code);i.length?o.showSubjectToast(i[0].message):s?this._changeTypeDialogOpen=!0:this._hasShownCorrectHint||!this._shouldShowCorrectHint()?await this._finalizeSave():this._correctHintDialogOpen=!0}_renderPreview(){const t="single"===this.type?"(单选题)":`(${this._titlePlaceholder}${this._leastAnswerCountSuffix(this._normalizeLeastAnswerCount(this["least-answer-count"]))})`,s=this["answer-list"],i=o.buildSubjectPreviewTitle(this["subject-prefix"],this["order-index"],this.title||"");return e.html`
|
|
124
|
+
<div class="preview">
|
|
125
|
+
<div class="preview-header">
|
|
126
|
+
<div class="preview-title-row">
|
|
127
|
+
<span class="title">${i}</span>
|
|
128
|
+
<span class="preview-type">${t.replace(/[()]/g,"")}</span>
|
|
129
|
+
</div>
|
|
130
|
+
${this["show-rich-text"]&&this["rich-text-content"]?e.html`<div class="rich-text" .innerHTML=${this["rich-text-content"]}></div>`:""}
|
|
131
|
+
</div>
|
|
132
|
+
<div class="preview-answer">
|
|
133
|
+
${s.map((t,s)=>e.html`
|
|
134
|
+
<div class="radio">
|
|
135
|
+
<input type="${"sort"===this.type?"checkbox":"radio"}" .checked=${!!t.isCorrect} disabled />
|
|
136
|
+
<span class="order">${this._label(s)}.</span>
|
|
137
|
+
<div class="answer-main">
|
|
138
|
+
<span class="answer-text">${t.title}</span>
|
|
139
|
+
${"sort"!==this.type&&t.isCorrect?e.html`<span class="correct">推荐 / 正确选项</span>`:""}
|
|
140
|
+
</div>
|
|
141
|
+
${"sort"===this.type||1!==this["exam-answer-relation-type"]&&2!==this["exam-answer-relation-type"]?"":e.html`
|
|
142
|
+
<div class="answer-meta">
|
|
143
|
+
${1===this["exam-answer-relation-type"]?e.html`<span class="result-info">${t.resultItem?"已设置结果项":"未设置结果项"}</span>`:""}
|
|
144
|
+
${2===this["exam-answer-relation-type"]?e.html`<span class="result-info">${Array.isArray(t.answerRelations)&&t.answerRelations.length?`关联了${this._relationLength(t.answerRelations)}项`:"未设置关联"}</span>`:""}
|
|
145
|
+
</div>
|
|
146
|
+
`}
|
|
147
|
+
</div>
|
|
148
|
+
`)}
|
|
149
|
+
</div>
|
|
150
|
+
${this["show-category"]&&this._categoryId?e.html`<div class="section-row"><span class="value-text">分类:${o.resolveSubjectCategoryLabel(this["category-list"],this._categoryId)}</span></div>`:""}
|
|
151
|
+
${this["show-resource"]?this._renderResourceSection():""}
|
|
152
|
+
</div>
|
|
153
|
+
`}_renderSorting(){const e=m(this["is-edit"]?this._title:this.title||"")||"未命名题目",t=o.buildSubjectSortingTitle(this["subject-prefix"],this["order-index"],e);return n.renderSortingCard(t,l.SubjectTypeLabel[this.type]||this.type)}_renderEdit(){return e.html`
|
|
154
|
+
<div class="edit-form">
|
|
155
|
+
<div class="edit-row">
|
|
156
|
+
<div class="label"><span>题目:</span></div>
|
|
157
|
+
<div class="row-body">
|
|
158
|
+
<div class="el-input search-wrap">
|
|
159
|
+
<textarea rows="2" .value=${this._title}
|
|
160
|
+
maxlength=${this.TITLE_MAX}
|
|
161
|
+
@input=${e=>this._onTitleInput(e)}
|
|
162
|
+
placeholder="【${this._titlePlaceholder}】请输入问题"></textarea>
|
|
163
|
+
<span class="char-counter">${this._title.length}/${this.TITLE_MAX}</span>
|
|
164
|
+
${this._renderSearchDropdown()}
|
|
165
|
+
</div>
|
|
166
|
+
</div>
|
|
167
|
+
</div>
|
|
168
|
+
|
|
169
|
+
${["multiple","sort"].includes(this.type)?e.html`
|
|
170
|
+
<div class="edit-row section-row">
|
|
171
|
+
<div class="label"><span>设置:</span></div>
|
|
172
|
+
<div class="row-body">
|
|
173
|
+
<select class="el-select" .value=${null===this._leastAnswerCount?"":String(this._leastAnswerCount)} ?disabled=${this.lockAnswerKey}
|
|
174
|
+
@change=${e=>{const t=e.target.value;this._leastAnswerCount=this._normalizeLeastAnswerCount(t)}}>
|
|
175
|
+
<option value="">至少选择几项</option>
|
|
176
|
+
${Array.from({length:Math.max(0,this._answers.length-1)},(e,t)=>t+2).map(t=>e.html`
|
|
177
|
+
<option value=${t} ?selected=${this._leastAnswerCount===t}>至少选择${t}项</option>
|
|
178
|
+
`)}
|
|
179
|
+
</select>
|
|
180
|
+
</div>
|
|
181
|
+
</div>
|
|
182
|
+
`:""}
|
|
183
|
+
|
|
184
|
+
<div class="edit-row section-row edit-row--compact">
|
|
185
|
+
<div class="label"><span>${"sort"===this.type?"排序项:":"选项:"}</span></div>
|
|
186
|
+
<div class="row-body">
|
|
187
|
+
<div class="answer-list">
|
|
188
|
+
${this._answers.map((t,s)=>e.html`
|
|
189
|
+
<div class="answer-item">
|
|
190
|
+
<span class="label">${this._label(s)}.</span>
|
|
191
|
+
<div class="input">
|
|
192
|
+
<input type="text" .value=${t.title}
|
|
193
|
+
maxlength=${this.ANSWER_MAX}
|
|
194
|
+
@input=${e=>this._onAnswerInput(e,s)}
|
|
195
|
+
placeholder="选项${this._label(s)}" />
|
|
196
|
+
<span class="char-counter">${t.title.length}/${this.ANSWER_MAX}</span>
|
|
197
|
+
</div>
|
|
198
|
+
|
|
199
|
+
${"sort"===this.type&&null!==this._getSortOrder(s)?e.html`<span class="sort-badge">第${this._getSortOrder(s)}位</span>`:""}
|
|
200
|
+
|
|
201
|
+
${["single","multiple"].includes(this.type)?e.html`
|
|
202
|
+
<label class="correct ${t.isCorrect?"is-correct":""}">
|
|
203
|
+
<input type="checkbox" .checked=${t.isCorrect} ?disabled=${this.lockAnswerKey}
|
|
204
|
+
@change=${e=>this._setCorrect(t,e.target.checked)} />
|
|
205
|
+
<span class="correct-text">推荐/正确选项</span>
|
|
206
|
+
</label>
|
|
207
|
+
`:""}
|
|
208
|
+
|
|
209
|
+
<span class="icon"
|
|
210
|
+
@click=${()=>this._addAnswer(s)}>
|
|
211
|
+
${u}
|
|
212
|
+
</span>
|
|
213
|
+
<span class="icon ${this._answers.length<3?"disabled":""}"
|
|
214
|
+
@click=${()=>this._deleteAnswer(s)}>
|
|
215
|
+
${x}
|
|
216
|
+
</span>
|
|
217
|
+
|
|
218
|
+
${1===this["exam-answer-relation-type"]&&"sort"!==this.type?e.html`
|
|
219
|
+
<slot name=${this._resultSlotName(s)}>
|
|
220
|
+
<button class="el-link" @click=${()=>this._emitEditResultItem(t,s)}>
|
|
221
|
+
${t.resultItem?"编辑结果":"添加结果"}
|
|
222
|
+
</button>
|
|
223
|
+
</slot>
|
|
224
|
+
`:""}
|
|
225
|
+
|
|
226
|
+
${2===this["exam-answer-relation-type"]&&"sort"!==this.type?e.html`
|
|
227
|
+
<button class="el-link" @click=${()=>this._setRelation(t,s)}>
|
|
228
|
+
${Array.isArray(t.answerRelations)&&t.answerRelations.length?`关联了${this._relationLength(t.answerRelations)}项`:"关联检查"}
|
|
229
|
+
</button>
|
|
230
|
+
`:""}
|
|
231
|
+
|
|
232
|
+
</div>
|
|
233
|
+
`)}
|
|
234
|
+
</div>
|
|
235
|
+
</div>
|
|
236
|
+
</div>
|
|
237
|
+
|
|
238
|
+
${"sort"===this.type?e.html`
|
|
239
|
+
<div class="edit-row section-row">
|
|
240
|
+
<div class="label"><span>排序答案:</span></div>
|
|
241
|
+
<div class="row-body">
|
|
242
|
+
<div class="multi-select-wrapper">
|
|
243
|
+
<div class="multi-select ${this._sortDropdownOpen?"focused":""} ${this.lockAnswerKey?"disabled":""}"
|
|
244
|
+
@click=${()=>{this.lockAnswerKey||(this._sortDropdownOpen=!this._sortDropdownOpen,this.requestUpdate())}}>
|
|
245
|
+
${this._orderList.length>0?this._orderList.map(t=>e.html`
|
|
246
|
+
<span class="tag">
|
|
247
|
+
${t}
|
|
248
|
+
<span class="tag-close" @click=${e=>{this.lockAnswerKey||(e.stopPropagation(),this._removeSortItem(t))}}>✕</span>
|
|
249
|
+
</span>
|
|
250
|
+
`):e.html`<span class="placeholder">请按顺序选择排序答案</span>`}
|
|
251
|
+
<span class="arrow">${g}</span>
|
|
252
|
+
</div>
|
|
253
|
+
${this._sortDropdownOpen?e.html`
|
|
254
|
+
<div class="multi-select-dropdown">
|
|
255
|
+
${this._answers.map((t,s)=>e.html`
|
|
256
|
+
<div class="multi-select-option ${this._orderList.includes(this._label(s))?"selected":""}"
|
|
257
|
+
@click=${()=>{this.lockAnswerKey||(this._toggleSortItem(this._label(s)),this.requestUpdate())}}>
|
|
258
|
+
${this._label(s)}
|
|
259
|
+
</div>
|
|
260
|
+
`)}
|
|
261
|
+
</div>
|
|
262
|
+
`:""}
|
|
263
|
+
</div>
|
|
264
|
+
</div>
|
|
265
|
+
</div>
|
|
266
|
+
`:""}
|
|
267
|
+
|
|
268
|
+
<slot name="business-tag"></slot>
|
|
269
|
+
|
|
270
|
+
${this._renderCategorySection()}
|
|
271
|
+
|
|
272
|
+
${this._renderAiSection()}
|
|
273
|
+
|
|
274
|
+
${this._renderResourceSection()}
|
|
275
|
+
|
|
276
|
+
${this["show-rich-text"]&&this._showRichText?e.html`
|
|
277
|
+
<div class="edit-row section-row">
|
|
278
|
+
<div class="label"><span>副文本:</span></div>
|
|
279
|
+
<div class="row-body">
|
|
280
|
+
<slot name="sub-text">
|
|
281
|
+
<qxs-blocksuite-editor
|
|
282
|
+
.content=${this._richText}
|
|
283
|
+
.toolbar=${r.SUB_TEXT_EDITOR_TOOLBAR}
|
|
284
|
+
.upload-image=${this["upload-image"]}
|
|
285
|
+
?is-edit=${!0}
|
|
286
|
+
@input=${e=>{this._richText=e.target.getContent()}}
|
|
287
|
+
></qxs-blocksuite-editor>
|
|
288
|
+
</slot>
|
|
289
|
+
${this["show-action"]?"":e.html`<div class="flex-justify-end" style="margin-top:8px"><span class="el-link danger" @click=${()=>{this._showRichText=!1,this._richText=""}}>删除富文本</span></div>`}
|
|
290
|
+
</div>
|
|
291
|
+
</div>
|
|
292
|
+
`:""}
|
|
293
|
+
|
|
294
|
+
${this["show-analysis"]?e.html`
|
|
295
|
+
<div class="edit-row section-row">
|
|
296
|
+
<div class="label"><span>解析:</span></div>
|
|
297
|
+
<div class="row-body">
|
|
298
|
+
<textarea rows="2" .value=${this._analysis}
|
|
299
|
+
@input=${e=>{this._analysis=e.target.value}}
|
|
300
|
+
placeholder="请输入题目解析"></textarea>
|
|
301
|
+
</div>
|
|
302
|
+
</div>
|
|
303
|
+
`:""}
|
|
304
|
+
</div>
|
|
305
|
+
`}render(){if(this.sorting)return this._renderSorting();const t=this["is-edit"]?e.html`<div slot="edit">${this._renderEdit()}</div>`:e.html`<div slot="preview">${this._renderPreview()}</div>`;return e.html`
|
|
306
|
+
<qxs-subject-layout .show-edit=${this["is-edit"]}>
|
|
307
|
+
${t}
|
|
308
|
+
${this["show-action"]?e.html`
|
|
309
|
+
<qxs-subject-action
|
|
310
|
+
.is-edit=${this["is-edit"]}
|
|
311
|
+
.is-set=${this["is-set"]}
|
|
312
|
+
.show-add=${this["show-add"]}
|
|
313
|
+
.show-rich-text=${this["show-rich-text"]&&this._showRichText}
|
|
314
|
+
.hide-add-rich-text=${!this["show-rich-text"]||this["hide-add-rich-text"]}
|
|
315
|
+
.show-delete-action=${this["show-delete-action"]}
|
|
316
|
+
.show-save-action=${this["show-save-action"]}
|
|
317
|
+
.show-jump=${this["show-jump"]}
|
|
318
|
+
@delete=${()=>this._emit("delete")}
|
|
319
|
+
@save=${this._save}
|
|
320
|
+
@edit=${()=>this._emit("edit")}
|
|
321
|
+
@move=${e=>this._emit("move",e.detail)}
|
|
322
|
+
@jump=${()=>this._emit("jump",{customId:this["custom-id"]||"",examId:this["exam-id"]||0,answerType:this.type})}
|
|
323
|
+
@add=${e=>this._emit("add",e.detail)}
|
|
324
|
+
@on-show-rich-text=${()=>{this._showRichText=!this._showRichText,this._showRichText||(this._richText="")}}
|
|
325
|
+
></qxs-subject-action>
|
|
326
|
+
`:""}
|
|
327
|
+
<slot name="action"></slot>
|
|
328
|
+
</qxs-subject-layout>
|
|
329
|
+
${this._renderCorrectHintDialog()}
|
|
330
|
+
${this._renderChangeTypeDialog()}
|
|
331
|
+
${this._renderImageViewer()}
|
|
332
|
+
${this._renderVideoViewer()}
|
|
333
|
+
`}},exports.QxsSubjectSingle.styles=[n.sortingCardStyles,a.subjectHostStyles,a.subjectControlResetStyles,a.subjectPreviewBaseStyles,a.subjectFormBaseStyles,a.subjectTextareaStyles,e.css`
|
|
334
|
+
.preview-answer { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
|
|
335
|
+
.preview-answer .radio { display: grid; grid-template-columns: auto auto minmax(0, 1fr); column-gap: 10px; row-gap: 3px; align-items: center; }
|
|
336
|
+
.preview-answer .order { color: #6b7280; font-size: 13px; font-weight: 600; }
|
|
337
|
+
.preview-answer .answer-main { min-width: 0; display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
|
|
338
|
+
.preview-answer .answer-text { min-width: 0; font-size: 14px; line-height: 1.7; font-weight: 500; color: #303133; }
|
|
339
|
+
.preview-answer .answer-meta { grid-column: 3; display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; line-height: 1.6; color: #8b95a7; }
|
|
340
|
+
.preview-answer .correct { color: #3D61E3; font-weight: 600; }
|
|
341
|
+
.preview-answer .result-info { color: #8b95a7; }
|
|
342
|
+
|
|
343
|
+
.flex { display: flex; }
|
|
344
|
+
.flex-items-center { display: flex; align-items: center; }
|
|
345
|
+
.flex-items-start { display: flex; align-items: flex-start; }
|
|
346
|
+
.flex-justify-end { display: flex; justify-content: flex-end; }
|
|
347
|
+
.edit-actions {
|
|
348
|
+
display: flex;
|
|
349
|
+
justify-content: flex-end;
|
|
350
|
+
padding-left: 88px;
|
|
351
|
+
}
|
|
352
|
+
.edit-inline {
|
|
353
|
+
display: flex;
|
|
354
|
+
align-items: center;
|
|
355
|
+
flex-wrap: wrap;
|
|
356
|
+
gap: 8px 14px;
|
|
357
|
+
min-height: 32px;
|
|
358
|
+
}
|
|
359
|
+
.edit-note {
|
|
360
|
+
margin-top: 6px;
|
|
361
|
+
font-size: 12px;
|
|
362
|
+
line-height: 1.6;
|
|
363
|
+
color: #909399;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
.answer-list { display: flex; flex-direction: column; gap: 10px; }
|
|
367
|
+
.answer-item {
|
|
368
|
+
display: flex;
|
|
369
|
+
align-items: center;
|
|
370
|
+
flex-wrap: wrap;
|
|
371
|
+
gap: 8px;
|
|
372
|
+
border-radius: 4px;
|
|
373
|
+
}
|
|
374
|
+
.answer-item .label {
|
|
375
|
+
min-width: 28px;
|
|
376
|
+
font-size: 13px;
|
|
377
|
+
font-weight: 600;
|
|
378
|
+
color: #6b7280;
|
|
379
|
+
letter-spacing: 0;
|
|
380
|
+
}
|
|
381
|
+
.answer-item .input { flex: 1; min-width: 240px; max-width: 380px; position: relative; display: block; }
|
|
382
|
+
.answer-item .input input {
|
|
383
|
+
height: 36px; padding: 0 56px 0 10px;
|
|
384
|
+
font-size: 13px; line-height: 32px;
|
|
385
|
+
border: 1px solid #dcdfe6; border-radius: 6px; width: 100%;
|
|
386
|
+
transition: border-color .2s; box-sizing: border-box;
|
|
387
|
+
}
|
|
388
|
+
.answer-item .input input:focus { border-color: #3D61E3; outline: none; }
|
|
389
|
+
.answer-item .input input:disabled { background: #f5f7fa; color: #c0c4cc; cursor: not-allowed; }
|
|
390
|
+
.answer-item .input .char-counter {
|
|
391
|
+
position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
|
|
392
|
+
font-size: 12px; color: #909399; line-height: 1; pointer-events: none;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
.answer-item .correct {
|
|
396
|
+
color: #909399;
|
|
397
|
+
cursor: pointer;
|
|
398
|
+
display: inline-flex;
|
|
399
|
+
align-items: center;
|
|
400
|
+
gap: 6px;
|
|
401
|
+
min-height: 20px;
|
|
402
|
+
white-space: nowrap;
|
|
403
|
+
}
|
|
404
|
+
.answer-item .correct:hover { color: #3D61E3; }
|
|
405
|
+
.answer-item .correct.is-correct { color: #67c23a; }
|
|
406
|
+
.answer-item .correct input {
|
|
407
|
+
width: 14px;
|
|
408
|
+
height: 14px;
|
|
409
|
+
margin: 0;
|
|
410
|
+
flex: 0 0 auto;
|
|
411
|
+
cursor: pointer;
|
|
412
|
+
accent-color: #3D61E3;
|
|
413
|
+
}
|
|
414
|
+
.answer-item .correct .correct-text {
|
|
415
|
+
display: inline-flex;
|
|
416
|
+
align-items: center;
|
|
417
|
+
line-height: 1.2;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.answer-item .icon {
|
|
421
|
+
margin-left: 6px; cursor: pointer; display: inline-flex;
|
|
422
|
+
align-items: center; justify-content: center;
|
|
423
|
+
width: 24px; height: 24px; border-radius: 4px;
|
|
424
|
+
border: 1px solid #dcdfe6; background: #fff; color: #909399;
|
|
425
|
+
transition: all 0.2s;
|
|
426
|
+
}
|
|
427
|
+
.answer-item .icon:hover { color: #3D61E3; border-color: #3D61E3; background: #ecf5ff; }
|
|
428
|
+
.answer-item .icon.disabled { color: #e4e7ed; border-color: #e4e7ed; cursor: not-allowed; }
|
|
429
|
+
|
|
430
|
+
.answer-item .link {
|
|
431
|
+
color: #3D61E3;
|
|
432
|
+
cursor: pointer;
|
|
433
|
+
font-size: 12px;
|
|
434
|
+
white-space: nowrap;
|
|
435
|
+
}
|
|
436
|
+
.answer-item .link:hover { color: #2D4CB8; }
|
|
437
|
+
|
|
438
|
+
.el-select {
|
|
439
|
+
width: 150px; height: 34px; border: 1px solid #dcdfe6; border-radius: 6px;
|
|
440
|
+
padding: 0 8px; font-size: 13px; background: #fff; appearance: none;
|
|
441
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c0c4cc' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
|
|
442
|
+
background-repeat: no-repeat; background-position: right 8px center;
|
|
443
|
+
}
|
|
444
|
+
.el-select:focus { border-color: #3D61E3; outline: none; }
|
|
445
|
+
.el-select:disabled { background: #f5f7fa; color: #c0c4cc; cursor: not-allowed; }
|
|
446
|
+
|
|
447
|
+
.sort-badge { font-weight: bold; color: #3D61E3; margin-left: 10px; }
|
|
448
|
+
|
|
449
|
+
.el-link { color: #3D61E3; cursor: pointer; font-size: 12px; background: none; border: none; padding: 0; margin: 0; font-family: inherit; }
|
|
450
|
+
.el-link:hover { color: #2D4CB8; }
|
|
451
|
+
.el-link.danger { color: #f56c6c; }
|
|
452
|
+
|
|
453
|
+
.value-text { font-size: 13px; color: #606266; white-space: pre-wrap; }
|
|
454
|
+
.muted-text { font-size: 12px; color: #909399; }
|
|
455
|
+
|
|
456
|
+
.search-wrap { position: relative; }
|
|
457
|
+
.search-dropdown {
|
|
458
|
+
position: absolute; z-index: 120; left: 0; right: 0; top: calc(100% + 4px);
|
|
459
|
+
background: #fff; border: 1px solid #e4e7ed; border-radius: 6px;
|
|
460
|
+
box-shadow: 0 8px 20px rgba(0,0,0,.12); overflow: hidden;
|
|
461
|
+
}
|
|
462
|
+
.search-item {
|
|
463
|
+
padding: 10px 12px; cursor: pointer; transition: background .2s;
|
|
464
|
+
font-size: 13px; color: #606266; line-height: 1.4;
|
|
465
|
+
}
|
|
466
|
+
.search-item:hover { background: #f5f7fa; color: #3D61E3; }
|
|
467
|
+
.search-empty { padding: 10px 12px; font-size: 12px; color: #909399; }
|
|
468
|
+
|
|
469
|
+
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-height: 32px; }
|
|
470
|
+
.tag-item {
|
|
471
|
+
display: inline-flex; align-items: center; gap: 4px;
|
|
472
|
+
padding: 4px 8px; font-size: 12px; line-height: 1;
|
|
473
|
+
color: #3D61E3; background: #ecf5ff; border: 1px solid #d9ecff; border-radius: 4px;
|
|
474
|
+
}
|
|
475
|
+
.tag-item .close { cursor: pointer; color: #909399; }
|
|
476
|
+
.tag-item .close:hover { color: #f56c6c; }
|
|
477
|
+
.tag-hint { font-size: 12px; color: #909399; }
|
|
478
|
+
|
|
479
|
+
.resource-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
|
|
480
|
+
.resource-summary { font-size: 12px; color: #606266; }
|
|
481
|
+
.resource-thumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
|
|
482
|
+
.resource-thumb {
|
|
483
|
+
width: 72px; height: 72px; object-fit: cover; border-radius: 6px;
|
|
484
|
+
border: 1px solid #e4e7ed; cursor: pointer; background: #f5f7fa;
|
|
485
|
+
}
|
|
486
|
+
.resource-video {
|
|
487
|
+
display: inline-flex; align-items: center; justify-content: center;
|
|
488
|
+
min-width: 88px; height: 30px; padding: 0 10px; border: 1px solid #dcdfe6; border-radius: 4px;
|
|
489
|
+
color: #606266; background: #fff; cursor: pointer; font-size: 12px; transition: all .2s;
|
|
490
|
+
}
|
|
491
|
+
.resource-video:hover { color: #3D61E3; border-color: #3D61E3; background: #ecf5ff; }
|
|
492
|
+
.media-stage { display: flex; align-items: center; justify-content: center; min-height: 240px; }
|
|
493
|
+
.media-stage img, .media-stage video { max-width: 100%; max-height: 60vh; border-radius: 6px; }
|
|
494
|
+
.media-footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; }
|
|
495
|
+
.media-footer .group { display: flex; gap: 8px; }
|
|
496
|
+
|
|
497
|
+
/* Multi-select with tags (Element Plus style) */
|
|
498
|
+
.multi-select-wrapper { position: relative; }
|
|
499
|
+
.multi-select {
|
|
500
|
+
width: 240px; min-height: 36px; border: 1px solid #dcdfe6; border-radius: 6px;
|
|
501
|
+
padding: 0 30px 0 8px; font-size: 13px; background: #fff; cursor: pointer;
|
|
502
|
+
display: flex; flex-wrap: nowrap; align-items: center; gap: 4px;
|
|
503
|
+
transition: border-color .2s; position: relative; overflow: hidden;
|
|
504
|
+
}
|
|
505
|
+
.multi-select:hover { border-color: #c0c4cc; }
|
|
506
|
+
.multi-select.focused { border-color: #3D61E3; }
|
|
507
|
+
.multi-select.disabled { background: #f5f7fa; cursor: not-allowed; }
|
|
508
|
+
.multi-select .placeholder { color: #c0c4cc; font-size: 13px; padding: 4px 0; }
|
|
509
|
+
.multi-select .arrow {
|
|
510
|
+
position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
|
|
511
|
+
color: #c0c4cc; display: inline-flex; transition: transform .2s;
|
|
512
|
+
}
|
|
513
|
+
.multi-select.focused .arrow { transform: translateY(-50%) rotate(180deg); color: #3D61E3; }
|
|
514
|
+
.multi-select .tag {
|
|
515
|
+
display: inline-flex; align-items: center; gap: 2px;
|
|
516
|
+
background: #f0f2f5; border-radius: 3px; padding: 0 6px; height: 20px;
|
|
517
|
+
font-size: 12px; color: #606266; line-height: 20px;
|
|
518
|
+
}
|
|
519
|
+
.multi-select .tag .tag-close {
|
|
520
|
+
display: inline-flex; cursor: pointer; color: #909399; margin-left: 2px; line-height: 1;
|
|
521
|
+
}
|
|
522
|
+
.multi-select .tag .tag-close:hover { color: #3D61E3; }
|
|
523
|
+
.multi-select-dropdown {
|
|
524
|
+
position: absolute; z-index: 100; background: #fff; left: 0; top: 100%; margin-top: 4px;
|
|
525
|
+
border: 1px solid #e4e7ed; border-radius: 3px;
|
|
526
|
+
box-shadow: 0 4px 12px rgba(0,0,0,.12); min-width: 240px; max-height: 140px; overflow-y: auto;
|
|
527
|
+
}
|
|
528
|
+
.multi-select-option {
|
|
529
|
+
padding: 4px 12px; font-size: 13px; color: #606266; cursor: pointer;
|
|
530
|
+
transition: background .2s;
|
|
531
|
+
}
|
|
532
|
+
.multi-select-option:hover { background: #f5f7fa; }
|
|
533
|
+
.multi-select-option.selected { color: #3D61E3; font-weight: 500; }
|
|
534
|
+
|
|
535
|
+
@media (max-width: 720px) {
|
|
536
|
+
.edit-row,
|
|
537
|
+
.section-row {
|
|
538
|
+
flex-direction: column;
|
|
539
|
+
gap: 8px;
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
.edit-row > .label,
|
|
543
|
+
.section-row > .label {
|
|
544
|
+
min-width: 0;
|
|
545
|
+
padding-top: 0;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
.edit-actions {
|
|
549
|
+
padding-left: 0;
|
|
550
|
+
justify-content: flex-start;
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
.answer-item .input {
|
|
554
|
+
min-width: 0;
|
|
555
|
+
max-width: none;
|
|
556
|
+
width: 100%;
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 9000; display: flex; align-items: center; justify-content: center; }
|
|
561
|
+
.modal { background: #fff; border-radius: 6px; width: 520px; max-width: 90vw; box-shadow: 0 12px 32px rgba(0,0,0,.12); display: flex; flex-direction: column; }
|
|
562
|
+
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px 12px; border-bottom: 1px solid #e4e7ed; }
|
|
563
|
+
.modal-title { font-size: 14px; font-weight: 600; color: #303133; }
|
|
564
|
+
.modal-close { background: none; border: none; font-size: 18px; cursor: pointer; color: #909399; padding: 0; line-height: 1; }
|
|
565
|
+
.modal-close:hover { color: #3D61E3; }
|
|
566
|
+
.modal-body { padding: 20px; }
|
|
567
|
+
.modal-body textarea { min-height: 120px; }
|
|
568
|
+
.modal-footer { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 20px; border-top: 1px solid #e4e7ed; }
|
|
569
|
+
.modal-footer button { padding: 6px 16px; font-size: 12px; border-radius: 3px; cursor: pointer; border: 1px solid #dcdfe6; background: #fff; color: #606266; }
|
|
570
|
+
.modal-footer button:hover { color: #3D61E3; border-color: #a0cfff; }
|
|
571
|
+
.modal-footer button.primary { background: #3D61E3; border-color: #3D61E3; color: #fff; }
|
|
572
|
+
.modal-footer button.primary:hover { background: #2D4CB8; border-color: #2D4CB8; }
|
|
573
|
+
.correct-hint-dialog { width: 520px; max-width: min(90vw, 520px); }
|
|
574
|
+
.correct-hint-dialog .modal-header { padding: 18px 20px 14px; }
|
|
575
|
+
.correct-hint-dialog .modal-title { font-size: 16px; font-weight: 700; color: #303133; }
|
|
576
|
+
.correct-hint-dialog .modal-close { display: none; }
|
|
577
|
+
.correct-hint-dialog .modal-body {
|
|
578
|
+
padding: 32px 28px 20px;
|
|
579
|
+
font-size: 14px;
|
|
580
|
+
line-height: 1.8;
|
|
581
|
+
color: #303133;
|
|
582
|
+
text-align: center;
|
|
583
|
+
}
|
|
584
|
+
.correct-hint-copy { max-width: 420px; margin: 0 auto; }
|
|
585
|
+
.correct-hint-highlight { color: #4c6fff; }
|
|
586
|
+
.correct-hint-dialog .modal-footer {
|
|
587
|
+
justify-content: center;
|
|
588
|
+
gap: 12px;
|
|
589
|
+
padding: 0 28px 28px;
|
|
590
|
+
border-top: none;
|
|
591
|
+
}
|
|
592
|
+
.correct-hint-dialog .modal-footer button {
|
|
593
|
+
min-width: 120px;
|
|
594
|
+
height: 36px;
|
|
595
|
+
padding: 0 18px;
|
|
596
|
+
font-size: 14px;
|
|
597
|
+
border-radius: 4px;
|
|
598
|
+
}
|
|
599
|
+
`],p([t.property({type:Number,attribute:"order-index"})],exports.QxsSubjectSingle.prototype,"order-index",2),p([t.property({type:String,attribute:"subject-prefix"})],exports.QxsSubjectSingle.prototype,"subject-prefix",2),p([t.property({type:Boolean,attribute:"is-edit"})],exports.QxsSubjectSingle.prototype,"is-edit",2),p([t.property({type:Boolean,attribute:"is-save"})],exports.QxsSubjectSingle.prototype,"is-save",2),p([t.property({type:Boolean,attribute:"is-set"})],exports.QxsSubjectSingle.prototype,"is-set",2),p([t.property({type:Boolean,attribute:"is-set-correct-answer"})],exports.QxsSubjectSingle.prototype,"is-set-correct-answer",2),p([t.property({type:Boolean,attribute:"lock-answer-key"})],exports.QxsSubjectSingle.prototype,"lockAnswerKey",2),p([t.property({type:Boolean,attribute:"is-key"})],exports.QxsSubjectSingle.prototype,"is-key",2),p([t.property({type:Boolean,attribute:"show-action"})],exports.QxsSubjectSingle.prototype,"show-action",2),p([t.property({type:Boolean,attribute:"show-add"})],exports.QxsSubjectSingle.prototype,"show-add",2),p([t.property({type:Boolean,attribute:"hide-add-rich-text"})],exports.QxsSubjectSingle.prototype,"hide-add-rich-text",2),p([t.property({type:Boolean,attribute:"show-rich-text"})],exports.QxsSubjectSingle.prototype,"show-rich-text",2),p([t.property({type:Boolean,attribute:"show-delete-action"})],exports.QxsSubjectSingle.prototype,"show-delete-action",2),p([t.property({type:Boolean,attribute:"show-save-action"})],exports.QxsSubjectSingle.prototype,"show-save-action",2),p([t.property({type:Boolean,reflect:!0})],exports.QxsSubjectSingle.prototype,"sorting",2),p([t.property({type:Boolean,attribute:"show-answer-setting"})],exports.QxsSubjectSingle.prototype,"show-answer-setting",2),p([t.property({type:Boolean,attribute:"show-key"})],exports.QxsSubjectSingle.prototype,"show-key",2),p([t.property({type:Boolean,attribute:"show-analysis"})],exports.QxsSubjectSingle.prototype,"show-analysis",2),p([t.property({attribute:"question-type",reflect:!0})],exports.QxsSubjectSingle.prototype,"type",2),p([t.property({type:Number,attribute:"answer-check-type"})],exports.QxsSubjectSingle.prototype,"answer-check-type",2),p([t.property({type:Number,attribute:"exam-answer-relation-type"})],exports.QxsSubjectSingle.prototype,"exam-answer-relation-type",2),p([t.property({type:String,attribute:"rich-text-content"})],exports.QxsSubjectSingle.prototype,"rich-text-content",2),p([t.property({type:String})],exports.QxsSubjectSingle.prototype,"analysis",2),p([t.property({type:Number,attribute:"least-answer-count"})],exports.QxsSubjectSingle.prototype,"least-answer-count",2),p([t.property({type:String,attribute:"exam-expand"})],exports.QxsSubjectSingle.prototype,"exam-expand",2),p([t.property({type:String,attribute:"custom-id"})],exports.QxsSubjectSingle.prototype,"custom-id",2),p([t.property({type:Number,attribute:"exam-id"})],exports.QxsSubjectSingle.prototype,"exam-id",2),p([t.property({type:String,attribute:"category-id"})],exports.QxsSubjectSingle.prototype,"category-id",2),p([t.property({type:Object,attribute:"upload-image"})],exports.QxsSubjectSingle.prototype,"upload-image",2),p([t.property({type:Array,attribute:"answer-list"})],exports.QxsSubjectSingle.prototype,"answer-list",1),p([t.property({type:Array,attribute:"tag-list"})],exports.QxsSubjectSingle.prototype,"tag-list",2),p([t.property({type:Array,attribute:"category-list"})],exports.QxsSubjectSingle.prototype,"category-list",2),p([t.property({type:String,attribute:"ai-answer"})],exports.QxsSubjectSingle.prototype,"ai-answer",2),p([t.property({type:Array,attribute:"resource-list"})],exports.QxsSubjectSingle.prototype,"resource-list",2),p([t.property({type:Boolean,attribute:"show-tag"})],exports.QxsSubjectSingle.prototype,"show-tag",2),p([t.property({type:Boolean,attribute:"show-category"})],exports.QxsSubjectSingle.prototype,"show-category",2),p([t.property({type:Boolean,attribute:"show-ai"})],exports.QxsSubjectSingle.prototype,"show-ai",2),p([t.property({type:Boolean,attribute:"show-resource"})],exports.QxsSubjectSingle.prototype,"show-resource",2),p([t.property({type:Boolean,attribute:"show-jump"})],exports.QxsSubjectSingle.prototype,"show-jump",2),p([t.property({type:Boolean,attribute:"has-jump"})],exports.QxsSubjectSingle.prototype,"has-jump",2),p([t.property({type:String,attribute:"search-api"})],exports.QxsSubjectSingle.prototype,"search-api",2),p([t.property({type:Object,attribute:"search-handler"})],exports.QxsSubjectSingle.prototype,"search-handler",2),p([t.property({type:String,attribute:"model-value"})],exports.QxsSubjectSingle.prototype,"model-value",2),p([t.property({type:Boolean,attribute:"use-model"})],exports.QxsSubjectSingle.prototype,"use-model",2),p([t.state()],exports.QxsSubjectSingle.prototype,"_answers",2),p([t.property({type:String})],exports.QxsSubjectSingle.prototype,"title",2),p([t.state()],exports.QxsSubjectSingle.prototype,"_title",2),p([t.state()],exports.QxsSubjectSingle.prototype,"_analysis",2),p([t.state()],exports.QxsSubjectSingle.prototype,"_richText",2),p([t.state()],exports.QxsSubjectSingle.prototype,"_showRichText",2),p([t.state()],exports.QxsSubjectSingle.prototype,"_leastAnswerCount",2),p([t.state()],exports.QxsSubjectSingle.prototype,"_answerCheckType",2),p([t.state()],exports.QxsSubjectSingle.prototype,"_isKey",2),p([t.state()],exports.QxsSubjectSingle.prototype,"_orderList",2),p([t.state()],exports.QxsSubjectSingle.prototype,"_selectedTagList",2),p([t.state()],exports.QxsSubjectSingle.prototype,"_categoryId",2),p([t.state()],exports.QxsSubjectSingle.prototype,"_searchResults",2),p([t.state()],exports.QxsSubjectSingle.prototype,"_searchOpen",2),p([t.state()],exports.QxsSubjectSingle.prototype,"_searchLoading",2),p([t.state()],exports.QxsSubjectSingle.prototype,"_sortDropdownOpen",2),p([t.state()],exports.QxsSubjectSingle.prototype,"_imageViewerOpen",2),p([t.state()],exports.QxsSubjectSingle.prototype,"_imageViewerIndex",2),p([t.state()],exports.QxsSubjectSingle.prototype,"_videoViewerOpen",2),p([t.state()],exports.QxsSubjectSingle.prototype,"_correctHintDialogOpen",2),p([t.state()],exports.QxsSubjectSingle.prototype,"_hasShownCorrectHint",2),p([t.state()],exports.QxsSubjectSingle.prototype,"_changeTypeDialogOpen",2),exports.QxsSubjectSingle=p([s.safeCustomElement("qxs-subject-single")],exports.QxsSubjectSingle),exports.SubjectError=d,exports.trimCommaSeparatedText=function(e){return String(e??"").split(",").map(e=>e.trim()).filter(Boolean).join(",")},exports.trimText=m;
|
|
600
|
+
//# sourceMappingURL=single.cjs.map
|