@qxs-bns/components 0.0.91 → 0.0.93
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/es/base/define.mjs +1 -1
- package/es/base/define.mjs.map +1 -1
- package/es/base/uid.mjs +1 -1
- package/es/base/uid.mjs.map +1 -1
- package/es/data-chart.mjs +15 -14
- package/es/data-chart.mjs.map +1 -1
- package/es/editor/blocksuite-editor.mjs +62 -51
- package/es/editor/blocksuite-editor.mjs.map +1 -1
- package/es/editor/content-format.mjs +8 -1
- package/es/editor/content-format.mjs.map +1 -1
- package/es/editor/index.mjs +1 -1
- package/es/editor/index.mjs.map +1 -1
- package/es/editor/toolbar.mjs +1 -1
- package/es/editor/toolbar.mjs.map +1 -1
- package/es/entry-data-chart.mjs +1 -1
- package/es/entry-editor.mjs +1 -1
- package/es/entry-file-upload.mjs +1 -1
- package/es/entry-fixed-action-bar.mjs +1 -1
- package/es/entry-icon.mjs +1 -1
- package/es/entry-image-upload.mjs +1 -1
- package/es/entry-photo-crop-tool.mjs +1 -1
- package/es/entry-subject.mjs +1 -1
- package/es/file-upload.mjs +25 -18
- package/es/file-upload.mjs.map +1 -1
- package/es/fixed-action-bar.mjs +5 -5
- package/es/fixed-action-bar.mjs.map +1 -1
- package/es/icon.mjs +7 -7
- package/es/icon.mjs.map +1 -1
- package/es/image-upload.mjs +26 -26
- package/es/image-upload.mjs.map +1 -1
- package/es/index.mjs +1 -1
- package/es/node_modules/.pnpm/marked@17.0.6/node_modules/marked/lib/marked.esm.mjs +59 -1
- package/es/node_modules/.pnpm/marked@17.0.6/node_modules/marked/lib/marked.esm.mjs.map +1 -1
- package/es/node_modules/.pnpm/turndown-plugin-gfm@1.0.2/node_modules/turndown-plugin-gfm/lib/turndown-plugin-gfm.es.mjs +16 -1
- package/es/node_modules/.pnpm/turndown-plugin-gfm@1.0.2/node_modules/turndown-plugin-gfm/lib/turndown-plugin-gfm.es.mjs.map +1 -1
- package/es/node_modules/.pnpm/turndown@7.2.4/node_modules/turndown/lib/turndown.browser.es.mjs +62 -0
- package/es/node_modules/.pnpm/turndown@7.2.4/node_modules/turndown/lib/turndown.browser.es.mjs.map +1 -0
- package/es/photo-crop-tool.mjs +12 -12
- package/es/photo-crop-tool.mjs.map +1 -1
- package/es/subject/action.mjs +58 -58
- package/es/subject/action.mjs.map +1 -1
- package/es/subject/blank-fill.mjs +80 -80
- package/es/subject/blank-fill.mjs.map +1 -1
- package/es/subject/draft.mjs +1 -1
- package/es/subject/draft.mjs.map +1 -1
- package/es/subject/layout.mjs +4 -4
- package/es/subject/layout.mjs.map +1 -1
- package/es/subject/page-end.mjs +5 -5
- package/es/subject/page-end.mjs.map +1 -1
- package/es/subject/pagination.mjs +1 -1
- package/es/subject/pagination.mjs.map +1 -1
- package/es/subject/runtime.mjs +1 -1
- package/es/subject/runtime.mjs.map +1 -1
- package/es/subject/scale.mjs +53 -50
- package/es/subject/scale.mjs.map +1 -1
- package/es/subject/shared-methods.mjs +1 -1
- package/es/subject/shared-methods.mjs.map +1 -1
- package/es/subject/shared-styles.mjs +53 -15
- package/es/subject/shared-styles.mjs.map +1 -1
- package/es/subject/single-interactions.mjs +2 -0
- package/es/subject/single-interactions.mjs.map +1 -0
- package/es/subject/single-model.mjs +2 -0
- package/es/subject/single-model.mjs.map +1 -0
- package/es/subject/single-state.mjs +2 -0
- package/es/subject/single-state.mjs.map +1 -0
- package/es/subject/single.mjs +177 -177
- package/es/subject/single.mjs.map +1 -1
- package/es/subject/sort-controller.mjs +1 -1
- package/es/subject/sort-controller.mjs.map +1 -1
- package/es/subject/sortable.mjs +13 -13
- package/es/subject/sortable.mjs.map +1 -1
- package/es/subject/sorting-card.mjs +12 -12
- package/es/subject/sorting-card.mjs.map +1 -1
- package/es/subject/subject-shared.mjs +2 -0
- package/es/subject/subject-shared.mjs.map +1 -0
- package/es/subject/text-fill.mjs +73 -73
- package/es/subject/text-fill.mjs.map +1 -1
- package/es/subject/title-prefix.mjs +1 -1
- package/es/subject/title-prefix.mjs.map +1 -1
- package/es/subject/types.mjs +1 -1
- package/es/subject/types.mjs.map +1 -1
- package/lib/base/define.cjs +1 -1
- package/lib/base/define.cjs.map +1 -1
- package/lib/base/uid.cjs +1 -1
- package/lib/base/uid.cjs.map +1 -1
- package/lib/data-chart.cjs +16 -15
- package/lib/data-chart.cjs.map +1 -1
- package/lib/editor/blocksuite-editor.cjs +62 -51
- package/lib/editor/blocksuite-editor.cjs.map +1 -1
- package/lib/editor/content-format.cjs +8 -1
- package/lib/editor/content-format.cjs.map +1 -1
- package/lib/editor/index.cjs +1 -1
- package/lib/editor/index.cjs.map +1 -1
- package/lib/editor/toolbar.cjs +1 -1
- package/lib/editor/toolbar.cjs.map +1 -1
- package/lib/entry-data-chart.cjs +1 -1
- package/lib/entry-editor.cjs +1 -1
- package/lib/entry-file-upload.cjs +1 -1
- package/lib/entry-fixed-action-bar.cjs +1 -1
- package/lib/entry-icon.cjs +1 -1
- package/lib/entry-image-upload.cjs +1 -1
- package/lib/entry-photo-crop-tool.cjs +1 -1
- package/lib/entry-subject.cjs +1 -1
- package/lib/file-upload.cjs +24 -17
- package/lib/file-upload.cjs.map +1 -1
- package/lib/fixed-action-bar.cjs +6 -6
- package/lib/fixed-action-bar.cjs.map +1 -1
- package/lib/icon.cjs +9 -9
- package/lib/icon.cjs.map +1 -1
- package/lib/image-upload.cjs +26 -26
- package/lib/image-upload.cjs.map +1 -1
- package/lib/index.cjs +1 -1
- package/lib/node_modules/.pnpm/marked@17.0.6/node_modules/marked/lib/marked.esm.cjs +59 -1
- package/lib/node_modules/.pnpm/marked@17.0.6/node_modules/marked/lib/marked.esm.cjs.map +1 -1
- package/lib/node_modules/.pnpm/turndown-plugin-gfm@1.0.2/node_modules/turndown-plugin-gfm/lib/turndown-plugin-gfm.es.cjs +16 -1
- package/lib/node_modules/.pnpm/turndown-plugin-gfm@1.0.2/node_modules/turndown-plugin-gfm/lib/turndown-plugin-gfm.es.cjs.map +1 -1
- package/lib/node_modules/.pnpm/turndown@7.2.4/node_modules/turndown/lib/turndown.browser.es.cjs +62 -0
- package/lib/node_modules/.pnpm/turndown@7.2.4/node_modules/turndown/lib/turndown.browser.es.cjs.map +1 -0
- package/lib/photo-crop-tool.cjs +11 -11
- package/lib/photo-crop-tool.cjs.map +1 -1
- package/lib/subject/action.cjs +42 -42
- package/lib/subject/action.cjs.map +1 -1
- package/lib/subject/blank-fill.cjs +80 -80
- package/lib/subject/blank-fill.cjs.map +1 -1
- package/lib/subject/draft.cjs +1 -1
- package/lib/subject/draft.cjs.map +1 -1
- package/lib/subject/layout.cjs +4 -4
- package/lib/subject/layout.cjs.map +1 -1
- package/lib/subject/page-end.cjs +4 -4
- package/lib/subject/page-end.cjs.map +1 -1
- package/lib/subject/pagination.cjs +1 -1
- package/lib/subject/pagination.cjs.map +1 -1
- package/lib/subject/runtime.cjs +1 -1
- package/lib/subject/runtime.cjs.map +1 -1
- package/lib/subject/scale.cjs +53 -50
- package/lib/subject/scale.cjs.map +1 -1
- package/lib/subject/shared-methods.cjs +1 -1
- package/lib/subject/shared-methods.cjs.map +1 -1
- package/lib/subject/shared-styles.cjs +54 -16
- package/lib/subject/shared-styles.cjs.map +1 -1
- package/lib/subject/single-interactions.cjs +2 -0
- package/lib/subject/single-interactions.cjs.map +1 -0
- package/lib/subject/single-model.cjs +2 -0
- package/lib/subject/single-model.cjs.map +1 -0
- package/lib/subject/single-state.cjs +2 -0
- package/lib/subject/single-state.cjs.map +1 -0
- package/lib/subject/single.cjs +177 -177
- package/lib/subject/single.cjs.map +1 -1
- package/lib/subject/sort-controller.cjs +1 -1
- package/lib/subject/sort-controller.cjs.map +1 -1
- package/lib/subject/sortable.cjs +15 -15
- package/lib/subject/sortable.cjs.map +1 -1
- package/lib/subject/sorting-card.cjs +12 -12
- package/lib/subject/sorting-card.cjs.map +1 -1
- package/lib/subject/subject-shared.cjs +2 -0
- package/lib/subject/subject-shared.cjs.map +1 -0
- package/lib/subject/text-fill.cjs +81 -81
- package/lib/subject/text-fill.cjs.map +1 -1
- package/lib/subject/title-prefix.cjs +1 -1
- package/lib/subject/title-prefix.cjs.map +1 -1
- package/lib/subject/types.cjs +1 -1
- package/lib/subject/types.cjs.map +1 -1
- package/package.json +5 -5
- package/types/editor/blocksuite-editor.d.ts +2 -0
- package/types/editor/toolbar.d.ts +1 -1
- package/types/file-upload.d.ts +2 -0
- package/types/subject/blank-fill.d.ts +1 -1
- package/types/subject/runtime.d.ts +1 -1
- package/types/subject/scale.d.ts +1 -1
- package/types/subject/single-interactions.d.ts +46 -0
- package/types/subject/single-model.d.ts +88 -0
- package/types/subject/single-state.d.ts +42 -0
- package/types/subject/single.d.ts +7 -85
- package/types/subject/sortable.d.ts +1 -1
- package/types/subject/subject-shared.d.ts +43 -0
- package/types/subject/text-fill.d.ts +1 -1
- package/README.md +0 -562
- 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 +0 -2
- 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 +0 -1
- package/es/node_modules/.pnpm/turndown@7.2.4/node_modules/turndown/lib/turndown.es.mjs +0 -2
- package/es/node_modules/.pnpm/turndown@7.2.4/node_modules/turndown/lib/turndown.es.mjs.map +0 -1
- package/es/package.json.mjs +0 -2
- package/es/package.json.mjs.map +0 -1
- package/es/src/alert/index.mjs +0 -2
- package/es/src/alert/index.mjs.map +0 -1
- package/es/src/alert/src/alert.mjs +0 -2
- package/es/src/alert/src/alert.mjs.map +0 -1
- package/es/src/components.mjs +0 -2
- package/es/src/components.mjs.map +0 -1
- package/es/src/data-chart/index.mjs +0 -2
- package/es/src/data-chart/index.mjs.map +0 -1
- package/es/src/defaults.mjs +0 -2
- package/es/src/defaults.mjs.map +0 -1
- package/es/src/dialog/src/dialog.mjs +0 -2
- package/es/src/dialog/src/dialog.mjs.map +0 -1
- package/es/src/feedback-plugin/index.mjs +0 -2
- package/es/src/feedback-plugin/index.mjs.map +0 -1
- package/es/src/file-upload/index.mjs +0 -2
- package/es/src/file-upload/index.mjs.map +0 -1
- package/es/src/icon/index.mjs +0 -2
- package/es/src/icon/index.mjs.map +0 -1
- package/es/src/icon/src/icon.mjs +0 -2
- package/es/src/icon/src/icon.mjs.map +0 -1
- package/es/src/image-upload/index.mjs +0 -2
- package/es/src/image-upload/index.mjs.map +0 -1
- package/es/src/make-installer.mjs +0 -2
- package/es/src/make-installer.mjs.map +0 -1
- package/es/src/message/src/message.mjs +0 -2
- package/es/src/message/src/message.mjs.map +0 -1
- package/es/src/photo-crop-tool/index.mjs +0 -2
- package/es/src/photo-crop-tool/index.mjs.map +0 -1
- package/es/src/tiny-mce-editor/index.mjs +0 -2
- package/es/src/tiny-mce-editor/index.mjs.map +0 -1
- package/es/src/tiny-mce-editor/src/tiny-mce-editor.vue.mjs +0 -2
- package/es/src/tiny-mce-editor/src/tiny-mce-editor.vue.mjs.map +0 -1
- package/es/src/tiny-mce-editor/src/tiny-mce-editor.vue2.mjs +0 -2
- package/es/src/tiny-mce-editor/src/tiny-mce-editor.vue2.mjs.map +0 -1
- package/es/src/ui/button/index.mjs +0 -2
- package/es/src/ui/button/index.mjs.map +0 -1
- package/es/src/ui/checkbox/index.mjs +0 -2
- package/es/src/ui/checkbox/index.mjs.map +0 -1
- package/es/src/ui/dialog/index.mjs +0 -2
- package/es/src/ui/dialog/index.mjs.map +0 -1
- package/es/src/ui/input/index.mjs +0 -2
- package/es/src/ui/input/index.mjs.map +0 -1
- package/es/src/ui/input-number/index.mjs +0 -2
- package/es/src/ui/input-number/index.mjs.map +0 -1
- package/es/src/ui/layout/index.mjs +0 -2
- package/es/src/ui/layout/index.mjs.map +0 -1
- package/es/src/ui/link/index.mjs +0 -2
- package/es/src/ui/link/index.mjs.map +0 -1
- package/es/src/ui/popover/index.mjs +0 -2
- package/es/src/ui/popover/index.mjs.map +0 -1
- package/es/src/ui/radio/index.mjs +0 -2
- package/es/src/ui/radio/index.mjs.map +0 -1
- package/es/src/ui/scrollbar/index.mjs +0 -2
- package/es/src/ui/scrollbar/index.mjs.map +0 -1
- package/es/src/ui/select/index.mjs +0 -2
- package/es/src/ui/select/index.mjs.map +0 -1
- package/es/src/ui/table/index.mjs +0 -2
- package/es/src/ui/table/index.mjs.map +0 -1
- package/es/src/ui/tag/index.mjs +0 -2
- package/es/src/ui/tag/index.mjs.map +0 -1
- package/es/src/wc-bridge.mjs +0 -2
- package/es/src/wc-bridge.mjs.map +0 -1
- package/es/src/withInstall.mjs +0 -2
- package/es/src/withInstall.mjs.map +0 -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 +0 -2
- 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 +0 -1
- package/lib/node_modules/.pnpm/turndown@7.2.4/node_modules/turndown/lib/turndown.es.cjs +0 -2
- package/lib/node_modules/.pnpm/turndown@7.2.4/node_modules/turndown/lib/turndown.es.cjs.map +0 -1
- package/lib/package.json.cjs +0 -2
- package/lib/package.json.cjs.map +0 -1
- package/lib/src/alert/index.cjs +0 -2
- package/lib/src/alert/index.cjs.map +0 -1
- package/lib/src/alert/src/alert.cjs +0 -2
- package/lib/src/alert/src/alert.cjs.map +0 -1
- package/lib/src/components.cjs +0 -2
- package/lib/src/components.cjs.map +0 -1
- package/lib/src/data-chart/index.cjs +0 -2
- package/lib/src/data-chart/index.cjs.map +0 -1
- package/lib/src/defaults.cjs +0 -2
- package/lib/src/defaults.cjs.map +0 -1
- package/lib/src/dialog/src/dialog.cjs +0 -2
- package/lib/src/dialog/src/dialog.cjs.map +0 -1
- package/lib/src/feedback-plugin/index.cjs +0 -2
- package/lib/src/feedback-plugin/index.cjs.map +0 -1
- package/lib/src/file-upload/index.cjs +0 -2
- package/lib/src/file-upload/index.cjs.map +0 -1
- package/lib/src/icon/index.cjs +0 -2
- package/lib/src/icon/index.cjs.map +0 -1
- package/lib/src/icon/src/icon.cjs +0 -2
- package/lib/src/icon/src/icon.cjs.map +0 -1
- package/lib/src/image-upload/index.cjs +0 -2
- package/lib/src/image-upload/index.cjs.map +0 -1
- package/lib/src/make-installer.cjs +0 -2
- package/lib/src/make-installer.cjs.map +0 -1
- package/lib/src/message/src/message.cjs +0 -2
- package/lib/src/message/src/message.cjs.map +0 -1
- package/lib/src/photo-crop-tool/index.cjs +0 -2
- package/lib/src/photo-crop-tool/index.cjs.map +0 -1
- package/lib/src/tiny-mce-editor/index.cjs +0 -2
- package/lib/src/tiny-mce-editor/index.cjs.map +0 -1
- package/lib/src/tiny-mce-editor/src/tiny-mce-editor.vue.cjs +0 -2
- package/lib/src/tiny-mce-editor/src/tiny-mce-editor.vue.cjs.map +0 -1
- package/lib/src/tiny-mce-editor/src/tiny-mce-editor.vue2.cjs +0 -2
- package/lib/src/tiny-mce-editor/src/tiny-mce-editor.vue2.cjs.map +0 -1
- package/lib/src/ui/button/index.cjs +0 -2
- package/lib/src/ui/button/index.cjs.map +0 -1
- package/lib/src/ui/checkbox/index.cjs +0 -2
- package/lib/src/ui/checkbox/index.cjs.map +0 -1
- package/lib/src/ui/dialog/index.cjs +0 -2
- package/lib/src/ui/dialog/index.cjs.map +0 -1
- package/lib/src/ui/input/index.cjs +0 -2
- package/lib/src/ui/input/index.cjs.map +0 -1
- package/lib/src/ui/input-number/index.cjs +0 -2
- package/lib/src/ui/input-number/index.cjs.map +0 -1
- package/lib/src/ui/layout/index.cjs +0 -2
- package/lib/src/ui/layout/index.cjs.map +0 -1
- package/lib/src/ui/link/index.cjs +0 -2
- package/lib/src/ui/link/index.cjs.map +0 -1
- package/lib/src/ui/popover/index.cjs +0 -2
- package/lib/src/ui/popover/index.cjs.map +0 -1
- package/lib/src/ui/radio/index.cjs +0 -2
- package/lib/src/ui/radio/index.cjs.map +0 -1
- package/lib/src/ui/scrollbar/index.cjs +0 -2
- package/lib/src/ui/scrollbar/index.cjs.map +0 -1
- package/lib/src/ui/select/index.cjs +0 -2
- package/lib/src/ui/select/index.cjs.map +0 -1
- package/lib/src/ui/table/index.cjs +0 -2
- package/lib/src/ui/table/index.cjs.map +0 -1
- package/lib/src/ui/tag/index.cjs +0 -2
- package/lib/src/ui/tag/index.cjs.map +0 -1
- package/lib/src/wc-bridge.cjs +0 -2
- package/lib/src/wc-bridge.cjs.map +0 -1
- package/lib/src/withInstall.cjs +0 -2
- package/lib/src/withInstall.cjs.map +0 -1
- package/types/index.d.ts.map +0 -1
- package/types/src/alert/index.d.ts +0 -66
- package/types/src/alert/index.d.ts.map +0 -1
- package/types/src/alert/src/alert.d.ts +0 -73
- package/types/src/alert/src/alert.d.ts.map +0 -1
- package/types/src/components.d.ts +0 -10
- package/types/src/components.d.ts.map +0 -1
- package/types/src/data-chart/index.d.ts +0 -13
- package/types/src/data-chart/index.d.ts.map +0 -1
- package/types/src/defaults.d.ts +0 -6
- package/types/src/defaults.d.ts.map +0 -1
- package/types/src/dialog/index.d.ts +0 -3
- package/types/src/dialog/index.d.ts.map +0 -1
- package/types/src/dialog/src/dialog.d.ts +0 -25
- package/types/src/dialog/src/dialog.d.ts.map +0 -1
- package/types/src/feedback-plugin/index.d.ts +0 -9
- package/types/src/feedback-plugin/index.d.ts.map +0 -1
- package/types/src/file-upload/index.d.ts +0 -12
- package/types/src/file-upload/index.d.ts.map +0 -1
- package/types/src/icon/index.d.ts +0 -56
- package/types/src/icon/index.d.ts.map +0 -1
- package/types/src/icon/src/icon.d.ts +0 -62
- package/types/src/icon/src/icon.d.ts.map +0 -1
- package/types/src/image-upload/index.d.ts +0 -12
- package/types/src/image-upload/index.d.ts.map +0 -1
- package/types/src/make-installer.d.ts +0 -6
- package/types/src/make-installer.d.ts.map +0 -1
- package/types/src/message/index.d.ts +0 -3
- package/types/src/message/index.d.ts.map +0 -1
- package/types/src/message/src/message.d.ts +0 -21
- package/types/src/message/src/message.d.ts.map +0 -1
- package/types/src/message/src/toaster.vue.d.ts +0 -3
- package/types/src/message/src/toaster.vue.d.ts.map +0 -1
- package/types/src/photo-crop-tool/index.d.ts +0 -12
- package/types/src/photo-crop-tool/index.d.ts.map +0 -1
- package/types/src/subject-action/index.d.ts +0 -93
- package/types/src/subject-action/index.d.ts.map +0 -1
- package/types/src/subject-action/src/subject-action.vue.d.ts +0 -92
- package/types/src/subject-action/src/subject-action.vue.d.ts.map +0 -1
- package/types/src/subject-layout/index.d.ts +0 -30
- package/types/src/subject-layout/index.d.ts.map +0 -1
- package/types/src/subject-layout/src/subject-layout.vue.d.ts +0 -20
- package/types/src/subject-layout/src/subject-layout.vue.d.ts.map +0 -1
- package/types/src/subject-list/index.d.ts +0 -20
- package/types/src/subject-list/index.d.ts.map +0 -1
- package/types/src/subject-list/src/components/SubjectPageEnd.vue.d.ts +0 -24
- package/types/src/subject-list/src/components/SubjectPageEnd.vue.d.ts.map +0 -1
- package/types/src/subject-list/src/components/subject-blank-fill.vue.d.ts +0 -32
- package/types/src/subject-list/src/components/subject-blank-fill.vue.d.ts.map +0 -1
- package/types/src/subject-list/src/components/subject-scale.vue.d.ts +0 -29
- package/types/src/subject-list/src/components/subject-scale.vue.d.ts.map +0 -1
- package/types/src/subject-list/src/components/subject-single.vue.d.ts +0 -37
- package/types/src/subject-list/src/components/subject-single.vue.d.ts.map +0 -1
- package/types/src/subject-list/src/components/subject-text-fill.vue.d.ts +0 -34
- package/types/src/subject-list/src/components/subject-text-fill.vue.d.ts.map +0 -1
- package/types/src/subject-list/src/subject-list.vue.d.ts +0 -21
- package/types/src/subject-list/src/subject-list.vue.d.ts.map +0 -1
- package/types/src/subject-type/index.d.ts +0 -8
- package/types/src/subject-type/index.d.ts.map +0 -1
- package/types/src/subject-type/src/subject-type.vue.d.ts +0 -7
- package/types/src/subject-type/src/subject-type.vue.d.ts.map +0 -1
- package/types/src/tiny-mce-editor/index.d.ts +0 -20
- package/types/src/tiny-mce-editor/index.d.ts.map +0 -1
- package/types/src/tiny-mce-editor/src/tiny-mce-editor.vue.d.ts +0 -32
- package/types/src/tiny-mce-editor/src/tiny-mce-editor.vue.d.ts.map +0 -1
- package/types/src/ui/button/index.d.ts +0 -96
- package/types/src/ui/button/index.d.ts.map +0 -1
- package/types/src/ui/checkbox/index.d.ts +0 -111
- package/types/src/ui/checkbox/index.d.ts.map +0 -1
- package/types/src/ui/dialog/index.d.ts +0 -134
- package/types/src/ui/dialog/index.d.ts.map +0 -1
- package/types/src/ui/index.d.ts +0 -16
- package/types/src/ui/index.d.ts.map +0 -1
- package/types/src/ui/input/index.d.ts +0 -132
- package/types/src/ui/input/index.d.ts.map +0 -1
- package/types/src/ui/input-number/index.d.ts +0 -106
- package/types/src/ui/input-number/index.d.ts.map +0 -1
- package/types/src/ui/layout/index.d.ts +0 -373
- package/types/src/ui/layout/index.d.ts.map +0 -1
- package/types/src/ui/link/index.d.ts +0 -57
- package/types/src/ui/link/index.d.ts.map +0 -1
- package/types/src/ui/popover/index.d.ts +0 -89
- package/types/src/ui/popover/index.d.ts.map +0 -1
- package/types/src/ui/radio/index.d.ts +0 -84
- package/types/src/ui/radio/index.d.ts.map +0 -1
- package/types/src/ui/scrollbar/index.d.ts +0 -35
- package/types/src/ui/scrollbar/index.d.ts.map +0 -1
- package/types/src/ui/select/index.d.ts +0 -113
- package/types/src/ui/select/index.d.ts.map +0 -1
- package/types/src/ui/table/index.d.ts +0 -152
- package/types/src/ui/table/index.d.ts.map +0 -1
- package/types/src/ui/tag/index.d.ts +0 -69
- package/types/src/ui/tag/index.d.ts.map +0 -1
- package/types/src/wc-bridge.d.ts +0 -23
- package/types/src/wc-bridge.d.ts.map +0 -1
- package/types/src/withInstall.d.ts +0 -4
- package/types/src/withInstall.d.ts.map +0 -1
- package/types/tsconfig.tsbuildinfo +0 -1
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
import{html as
|
|
1
|
+
import{html as o,css as T,LitElement as I}from"lit";import{property as r,state as p}from"lit/decorators.js";import{safeCustomElement as k}from"../base/define.mjs";import{SUB_TEXT_EDITOR_TOOLBAR as q}from"../editor/toolbar.mjs";import{emitSubjectEvent as A,emitSubjectModelValue as S,getSubjectImageResources as B,getSubjectVideoResource as C,resolveSubjectCategoryLabel as L,showSubjectToast as E,buildSubjectSortingTitle as R}from"./shared-methods.mjs";import{subjectHostStyles as O,subjectControlResetStyles as z,subjectPreviewBaseStyles as P,subjectFormBaseStyles as N,subjectTextareaStyles as D}from"./shared-styles.mjs";import{trimCommaSeparatedText as M,trimText as u,SubjectError as x}from"./subject-shared.mjs";import{sortingCardStyles as U,renderSortingCard as K}from"./sorting-card.mjs";import{resolveSubjectPrefix as F}from"./title-prefix.mjs";import{SubjectType as g,SubjectTypeLabel as X}from"./types.mjs";var V=Object.defineProperty,H=Object.getOwnPropertyDescriptor,i=(t,e,a,n)=>{for(var l=n>1?void 0:n?H(e,a):e,h=t.length-1,d;h>=0;h--)(d=t[h])&&(l=(n?d(e,a,l):d(l))||l);return n&&l&&V(e,a,l),l};const b=" ______",J=o`
|
|
2
2
|
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none"
|
|
3
3
|
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
4
4
|
<line x1="12" y1="5" x2="12" y2="19"/><line x1="5" y1="12" x2="19" y2="12"/>
|
|
5
|
-
</svg>`;let
|
|
5
|
+
</svg>`;let s=class extends I{constructor(){super(...arguments),this["order-index"]=0,this.title="",this["custom-id"]="",this["is-edit"]=!1,this["is-save"]=!1,this["is-set"]=!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-analysis"]=!1,this["rich-text-content"]="",this.analysis="",this["exam-answer-relation-type"]=0,this["exam-expand"]="",this["exam-id"]=0,this["category-id"]="",this["exam-answer-setting"]={isInOrder:!1,isIgnoreCase:!0},this["upload-image"]=async t=>new Promise((e,a)=>{const n=new FileReader;n.onload=l=>e(l.target?.result),n.onerror=a,n.readAsDataURL(t)}),this["answer-list"]=[],this["tag-list"]=[],this["category-list"]=[],this["resource-list"]=[],this["show-tag"]=!1,this["show-category"]=!1,this["show-resource"]=!1,this["model-value"]="",this["use-model"]=!1,this._title="",this._analysis="",this._answers=[{title:"",tag:"",showInput:!1}],this._isInOrder=!1,this._isIgnoreCase=!0,this._showRichText=!1,this._richText="",this._selectedTagList=[],this._categoryId="",this.TITLE_MAX=400}willUpdate(t){t.has("is-edit")&&this["is-edit"]&&this._syncProps(),!this["is-edit"]&&(t.has("title")||t.has("answer-list")||t.has("analysis")||t.has("exam-answer-setting")||t.has("rich-text-content")||t.has("tag-list")||t.has("category-id"))&&this._syncProps(),t.has("model-value")&&this["use-model"]&&(this._title=this["model-value"].replaceAll(/<filter><\/filter>/g," ______")),t.has("tag-list")&&(this._selectedTagList=Array.isArray(this["tag-list"])?this["tag-list"].map(e=>({...e})):[]),t.has("category-id")&&(this._categoryId=this["category-id"]?String(this["category-id"]):"")}_normalizeAnswerTitle(t){return M(t?.title??t?.answer??"")}_blankCount(t){return(t.match(/ ______/g)||[]).length}_syncAnswersToBlankCount(t){if(t!==this._answers.length){if(t>this._answers.length){this._answers=[...this._answers,...Array.from({length:t-this._answers.length},()=>({title:"",tag:"",showInput:!1}))];return}this._answers=this._answers.slice(0,t)}}_syncProps(){if(this._title=(this.title||"").replaceAll(/<filter><\/filter>/g," ______"),this._analysis=this.analysis||"",this["answer-list"]?.length)this._answers=this["answer-list"].map(t=>({title:this._normalizeAnswerTitle(t),tag:"",showInput:!1,answerId:t?.answerId??t?.examAnswerId}));else{const t=this._blankCount(this._title);this._answers=Array.from({length:t},()=>({title:"",tag:"",showInput:!1}))}this["exam-answer-setting"]&&(this._isInOrder=!!this["exam-answer-setting"].isInOrder,this._isIgnoreCase=!!this["exam-answer-setting"].isIgnoreCase),this._richText=this["rich-text-content"]||"",this._showRichText=!!this["rich-text-content"],this._selectedTagList=Array.isArray(this["tag-list"])?this["tag-list"].map(t=>({...t})):[],this._categoryId=this["category-id"]?String(this["category-id"]):""}_emit(t,e){A(this,t,e)}_addBlank(){const t=this.shadowRoot?.querySelector(".title-textarea"),e=t?.selectionStart??this._title.length,a=t?.selectionEnd??this._title.length,n=`${this._title.slice(0,e)}${b}${this._title.slice(a)}`;n.length>this.TITLE_MAX||(this._title=n,this._syncAnswersToBlankCount(this._blankCount(this._title)),this.requestUpdate(),this._emitModelUpdate(),this.updateComplete.then(()=>{const l=this.shadowRoot?.querySelector(".title-textarea");if(!l)return;const h=e+b.length;l.focus(),l.setSelectionRange(h,h)}))}_onTitleInput(t){const e=t.target;e.value.length>this.TITLE_MAX&&(e.value=e.value.slice(0,this.TITLE_MAX)),this._title=e.value,this._syncAnswersToBlankCount(this._blankCount(this._title)),this._emitModelUpdate()}_emitModelUpdate(){if(this["use-model"]){const t=this._title.replaceAll(/ ______/g,"<filter></filter>");S(this,t)}}_handleAddTag(t){t.showInput=!1,t.tag&&(t.title=t.title?[t.title,t.tag].join(","):t.tag,t.tag=""),this.requestUpdate()}_closeTag(t,e){if(!t)return;const a=e.title.split(","),n=a.findIndex(l=>l===t);n>-1&&(a.splice(n,1),e.title=a.join(",")),this.requestUpdate()}_onCategoryChange(t){this._categoryId=t,this._emit("category-change",{value:t,customId:this["custom-id"]||"",examId:this["exam-id"]||0})}_imageResources(){return B(this["resource-list"]||[])}_videoResource(){return C(this["resource-list"]||[])}_categoryLabel(){return L(this["category-list"],this._categoryId)}_previewAnswerText(t){const e=(t?.title||"").split(",").map(a=>a.trim()).filter(Boolean);return e.length?e.join(" / "):""}_renderInlineBlankTitle(t){const e=this.title.replaceAll(/<filter><\/filter>/g," ______"),a=F(this["subject-prefix"],`${this["order-index"]+1}.`),n=e.split(" ______");return o`<span class="title preview-filled-title">${a?`${a} `:""}${n[0]??""}${n.slice(1).map((l,h)=>{const d=this._previewAnswerText(t[h]);return o`<span class="inline-blank ${d?"":"empty"}">${d||"填空"}</span>${l}`})}</span>`}async toJSON(){return new Promise((t,e)=>{const a={customId:this["custom-id"]||void 0,answerType:"blank_fill",orderIndex:this["order-index"]},n=u(this["is-edit"]?this._title:this.title?.replaceAll(/<filter><\/filter>/g," ______")||""),l=this["is-edit"]?this._answers:(this["answer-list"]||[]).map(c=>({...c,title:this._normalizeAnswerTitle(c),answerId:c?.answerId??c?.examAnswerId})),h=u(this["is-edit"]?this._analysis:this.analysis||""),d=this["is-edit"]?this._isInOrder:this["exam-answer-setting"]?.isInOrder??!1,w=this["is-edit"]?this._isIgnoreCase:this["exam-answer-setting"]?.isIgnoreCase??!0,v=this["is-edit"]?this._showRichText:!!this["rich-text-content"],$=this["is-edit"]?this._richText:this["rich-text-content"]||"",f=l.filter(c=>this._normalizeAnswerTitle(c));if(!n){e(new x("题目标题不能为空!","EMPTY_TITLE","title",a));return}if(l.length<1){e(new x("至少添加一个填空符!","NO_BLANK","answers",a));return}const _={answerType:g.BLANK_FILL,examTypeEnum:g.BLANK_FILL,title:n.replaceAll(/ ______/g,"<filter></filter>"),answers:f.map((c,j)=>{const m=this._normalizeAnswerTitle(c),y={title:m,answer:m,isCorrect:!0,orderIndex:j+1};return c.answerId&&(y.answerId=c.answerId,y.examAnswerId=c.answerId),y}),analysis:h,isSetCorrectAnswer:f.length>0,isKey:this["is-key"],examAnswerSettingBO:{isIgnoreCase:w,isInOrder:d},examAnswerSettingVO:{isIgnoreCase:w,isInOrder:d},examRichTextContent:v?$:""};this["custom-id"]&&(_.customId=this["custom-id"]),t(_)})}async _save(t){t?.stopImmediatePropagation();try{const e=await this.toJSON();this._emit("save",e)}catch(e){E(e.message)}}validate(){const t=[],e={customId:this["custom-id"]||void 0,answerType:"blank_fill",orderIndex:this["order-index"]},a=u(this["is-edit"]?this._title:this.title?.replaceAll(/<filter><\/filter>/g," ______")||""),n=this["is-edit"]?this._answers:(this["answer-list"]||[]).map(l=>({...l,title:this._normalizeAnswerTitle(l)}));return a||t.push(new x("题目标题不能为空!","EMPTY_TITLE","title",e)),n.length<1&&t.push(new x("至少添加一个填空符!","NO_BLANK","answers",e)),t}_renderPreview(){const t=this["is-edit"]?this._answers:(this["answer-list"]||[]).map(e=>({...e,title:this._normalizeAnswerTitle(e)}));return o`
|
|
6
6
|
<div class="preview">
|
|
7
7
|
<div class="preview-header">
|
|
8
8
|
<div class="preview-title-row">
|
|
9
|
-
${this._renderInlineBlankTitle(
|
|
9
|
+
${this._renderInlineBlankTitle(t)}
|
|
10
10
|
<span class="preview-type">填空题</span>
|
|
11
11
|
</div>
|
|
12
|
-
${this["show-rich-text"]&&this["rich-text-content"]?
|
|
12
|
+
${this["show-rich-text"]&&this["rich-text-content"]?o`<div class="rich-text" .innerHTML=${this["rich-text-content"]}></div>`:""}
|
|
13
13
|
</div>
|
|
14
|
-
${this.analysis?
|
|
15
|
-
${this["show-category"]&&this._categoryId?
|
|
14
|
+
${this.analysis?o`<div class="preview-note">${this.analysis}</div>`:""}
|
|
15
|
+
${this["show-category"]&&this._categoryId?o`<div class="section-row"><span class="value-text">分类:${this._categoryLabel()}</span></div>`:""}
|
|
16
16
|
${this._renderResourceSection()}
|
|
17
17
|
</div>
|
|
18
|
-
`}_renderCategorySection(){return this["show-category"]?
|
|
18
|
+
`}_renderCategorySection(){return this["show-category"]?o`
|
|
19
19
|
<div class="flex flex-items-start section-row">
|
|
20
20
|
<div class="label"><span>分类:</span></div>
|
|
21
21
|
<div style="flex:1">
|
|
22
|
-
${this["is-edit"]?
|
|
22
|
+
${this["is-edit"]?o`
|
|
23
23
|
<select class="el-select" .value=${String(this._categoryId)}
|
|
24
24
|
@change=${t=>this._onCategoryChange(t.target.value)}>
|
|
25
25
|
<option value="">选择分类</option>
|
|
26
|
-
${this["category-list"].map(
|
|
27
|
-
<option value=${String(
|
|
26
|
+
${this["category-list"].map(t=>o`
|
|
27
|
+
<option value=${String(t.categoryId)} ?selected=${String(t.categoryId)===String(this._categoryId)}>${t.title||t.categoryName}</option>
|
|
28
28
|
`)}
|
|
29
29
|
</select>
|
|
30
|
-
`:
|
|
30
|
+
`:o`<span class="value-text">${this._categoryLabel()}</span>`}
|
|
31
31
|
</div>
|
|
32
32
|
</div>
|
|
33
|
-
`:""}_renderResourceSection(){if(!this["show-resource"])return"";const
|
|
33
|
+
`:""}_renderResourceSection(){if(!this["show-resource"])return"";const t=this._imageResources(),e=this._videoResource();return o`
|
|
34
34
|
<div class="flex flex-items-start section-row">
|
|
35
35
|
<div class="label"><span>资源:</span></div>
|
|
36
36
|
<div style="flex:1">
|
|
37
|
-
<div class="resource-summary">图片 ${
|
|
38
|
-
${
|
|
37
|
+
<div class="resource-summary">图片 ${t.length} 张${e?.url?",含视频资源":""}</div>
|
|
38
|
+
${t.length?o`
|
|
39
39
|
<div class="resource-thumbs">
|
|
40
|
-
${
|
|
40
|
+
${t.slice(0,4).map(a=>o`<img class="resource-thumb" src=${a} alt="resource" />`)}
|
|
41
41
|
</div>
|
|
42
42
|
`:""}
|
|
43
|
-
${
|
|
44
|
-
${
|
|
43
|
+
${e?.url?o`<div style="margin-top:8px"><a class="el-link" href=${e.url} target="_blank" rel="noreferrer">查看视频</a></div>`:""}
|
|
44
|
+
${!t.length&&!e?.url?o`<div class="tag-hint">暂无资源</div>`:""}
|
|
45
45
|
</div>
|
|
46
46
|
</div>
|
|
47
|
-
`}_renderSorting(){const t=
|
|
47
|
+
`}_renderSorting(){const t=u(this["is-edit"]?this._title:this.title||"")||"未命名题目",e=R(this["subject-prefix"],this["order-index"],t);return K(e,X[g.BLANK_FILL]||g.BLANK_FILL)}_renderEdit(){return o`
|
|
48
48
|
<div class="edit-form">
|
|
49
49
|
<div class="edit-row">
|
|
50
50
|
<div class="label"><span>题目:</span></div>
|
|
@@ -89,26 +89,26 @@ import{html as t,css as e,LitElement as i}from"lit";import{property as s,state a
|
|
|
89
89
|
<div class="row-body">
|
|
90
90
|
<div class="answer-section">
|
|
91
91
|
<div class="edit-note">每个填空支持多个同义词,录入后会按逗号序列化。</div>
|
|
92
|
-
${this._answers.map((e
|
|
92
|
+
${this._answers.map((t,e)=>o`
|
|
93
93
|
<div class="answer-item">
|
|
94
|
-
<div class="answer-item-label"><span>第${
|
|
94
|
+
<div class="answer-item-label"><span>第${e+1}空:</span></div>
|
|
95
95
|
<div class="answer-tags">
|
|
96
|
-
${
|
|
96
|
+
${t.title.split(",").filter(Boolean).map(a=>o`
|
|
97
97
|
<span class="el-tag">
|
|
98
|
-
${
|
|
99
|
-
<span class="el-tag__close" @click=${()=>this._closeTag(
|
|
98
|
+
${a}
|
|
99
|
+
<span class="el-tag__close" @click=${()=>this._closeTag(a,t)}>×</span>
|
|
100
100
|
</span>
|
|
101
101
|
`)}
|
|
102
|
-
${
|
|
103
|
-
${
|
|
102
|
+
${o`
|
|
103
|
+
${t.showInput?o`
|
|
104
104
|
<input type="text" class="el-input--small"
|
|
105
|
-
@keydown=${
|
|
106
|
-
@input=${
|
|
107
|
-
@blur=${()=>this._handleAddTag(
|
|
108
|
-
`:
|
|
109
|
-
<span class="el-button--small" @click=${()=>{
|
|
110
|
-
${
|
|
111
|
-
<span>${
|
|
105
|
+
@keydown=${a=>{a.key==="Enter"&&this._handleAddTag(t)}}
|
|
106
|
+
@input=${a=>{t.tag=a.target.value}}
|
|
107
|
+
@blur=${()=>this._handleAddTag(t)} />
|
|
108
|
+
`:o`
|
|
109
|
+
<span class="el-button--small" @click=${()=>{t.showInput=!0,this.requestUpdate(),this.updateComplete.then(()=>{this.shadowRoot?.querySelector(".el-input--small")?.focus()})}}>
|
|
110
|
+
${J}
|
|
111
|
+
<span>${t.title?"添加同义词":"添加答案"}</span>
|
|
112
112
|
</span>
|
|
113
113
|
`}
|
|
114
114
|
`}
|
|
@@ -119,29 +119,29 @@ import{html as t,css as e,LitElement as i}from"lit";import{property as s,state a
|
|
|
119
119
|
</div>
|
|
120
120
|
</div>
|
|
121
121
|
|
|
122
|
-
${this["show-rich-text"]&&this._showRichText?
|
|
122
|
+
${this["show-rich-text"]&&this._showRichText?o`
|
|
123
123
|
<div class="edit-row section-row">
|
|
124
124
|
<div class="label"><span>副文本:</span></div>
|
|
125
125
|
<div class="row-body">
|
|
126
126
|
<slot name="sub-text">
|
|
127
127
|
<qxs-blocksuite-editor
|
|
128
128
|
.content=${this._richText}
|
|
129
|
-
.toolbar=${
|
|
129
|
+
.toolbar=${q}
|
|
130
130
|
.upload-image=${this["upload-image"]}
|
|
131
131
|
?is-edit=${!0}
|
|
132
132
|
@input=${t=>{this._richText=t.target.getContent()}}
|
|
133
133
|
></qxs-blocksuite-editor>
|
|
134
134
|
</slot>
|
|
135
|
-
${this["show-action"]?"":
|
|
135
|
+
${this["show-action"]?"":o`
|
|
136
136
|
<div class="flex flex-justify-end" style="margin-top:8px">
|
|
137
|
-
<span class="el-link" style="color
|
|
137
|
+
<span class="el-link" style="color:var(--qxs-subject-color-danger, #f56c6c)" @click=${()=>{this._showRichText=!1,this._richText=""}}>删除富文本</span>
|
|
138
138
|
</div>
|
|
139
139
|
`}
|
|
140
140
|
</div>
|
|
141
141
|
</div>
|
|
142
142
|
`:""}
|
|
143
143
|
|
|
144
|
-
${this["show-analysis"]?
|
|
144
|
+
${this["show-analysis"]?o`
|
|
145
145
|
<div class="edit-row section-row">
|
|
146
146
|
<div class="label"><span>解析:</span></div>
|
|
147
147
|
<div class="row-body">
|
|
@@ -154,10 +154,10 @@ import{html as t,css as e,LitElement as i}from"lit";import{property as s,state a
|
|
|
154
154
|
</div>
|
|
155
155
|
`:""}
|
|
156
156
|
</div>
|
|
157
|
-
`}render(){if(this.sorting)return this._renderSorting();const
|
|
157
|
+
`}render(){if(this.sorting)return this._renderSorting();const t=this["is-edit"]?o`<div slot="edit">${this._renderEdit()}</div>`:o`<div slot="preview">${this._renderPreview()}</div>`;return o`
|
|
158
158
|
<qxs-subject-layout .show-edit=${this["is-edit"]}>
|
|
159
|
-
${
|
|
160
|
-
${this["show-action"]?
|
|
159
|
+
${t}
|
|
160
|
+
${this["show-action"]?o`
|
|
161
161
|
<qxs-subject-action
|
|
162
162
|
.is-edit=${this["is-edit"]}
|
|
163
163
|
.is-set=${this["is-set"]}
|
|
@@ -170,28 +170,28 @@ import{html as t,css as e,LitElement as i}from"lit";import{property as s,state a
|
|
|
170
170
|
@delete=${()=>this._emit("delete")}
|
|
171
171
|
@save=${this._save}
|
|
172
172
|
@edit=${()=>this._emit("edit")}
|
|
173
|
-
@add=${
|
|
174
|
-
@set-key=${
|
|
173
|
+
@add=${e=>this._emit("add",e.detail)}
|
|
174
|
+
@set-key=${e=>{this._emit("set-key",e.detail)}}
|
|
175
175
|
@on-show-rich-text=${()=>{this._showRichText=!this._showRichText,this._showRichText||(this._richText="")}}
|
|
176
176
|
></qxs-subject-action>
|
|
177
177
|
`:""}
|
|
178
178
|
<slot name="action"></slot>
|
|
179
179
|
</qxs-subject-layout>
|
|
180
|
-
`}};
|
|
180
|
+
`}};s.styles=[U,O,z,P,N,D,T`
|
|
181
181
|
.preview-note {
|
|
182
182
|
margin-top: 18px;
|
|
183
183
|
padding-left: 10px;
|
|
184
|
-
border-left: 2px solid #e5eaf3;
|
|
184
|
+
border-left: 2px solid var(--qxs-subject-border-lighter, #e5eaf3);
|
|
185
185
|
font-size: 13px;
|
|
186
186
|
line-height: 1.8;
|
|
187
|
-
color: #6b7280;
|
|
187
|
+
color: var(--qxs-subject-text-soft, #6b7280);
|
|
188
188
|
}
|
|
189
189
|
.preview-filled-title {
|
|
190
190
|
display: inline;
|
|
191
191
|
font-size: 16px;
|
|
192
192
|
line-height: 1.9;
|
|
193
193
|
font-weight: 600;
|
|
194
|
-
color: #303133;
|
|
194
|
+
color: var(--qxs-subject-text-primary, #303133);
|
|
195
195
|
}
|
|
196
196
|
.inline-blank {
|
|
197
197
|
display: inline-flex;
|
|
@@ -199,11 +199,11 @@ import{html as t,css as e,LitElement as i}from"lit";import{property as s,state a
|
|
|
199
199
|
min-width: 64px;
|
|
200
200
|
margin: 0 4px;
|
|
201
201
|
padding: 0 4px 1px;
|
|
202
|
-
border-bottom: 1px solid #d6deea;
|
|
202
|
+
border-bottom: 1px solid var(--qxs-subject-border-strong, #d6deea);
|
|
203
203
|
font-size: 14px;
|
|
204
204
|
line-height: 1.6;
|
|
205
205
|
font-weight: 500;
|
|
206
|
-
color: #8b95a7;
|
|
206
|
+
color: var(--qxs-subject-text-muted, #8b95a7);
|
|
207
207
|
vertical-align: baseline;
|
|
208
208
|
}
|
|
209
209
|
.inline-blank.empty {
|
|
@@ -230,32 +230,32 @@ import{html as t,css as e,LitElement as i}from"lit";import{property as s,state a
|
|
|
230
230
|
.edit-note {
|
|
231
231
|
font-size: 12px;
|
|
232
232
|
line-height: 1.6;
|
|
233
|
-
color: #909399;
|
|
233
|
+
color: var(--qxs-subject-text-secondary, #909399);
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
.el-tag {
|
|
237
237
|
display: inline-flex; align-items: center; height: 24px; padding: 0 9px;
|
|
238
|
-
font-size: 12px; line-height: 1; color: #3D61E3; background: #ecf5ff;
|
|
239
|
-
border: 1px solid #d9ecff; border-radius: 4px; white-space: nowrap;
|
|
238
|
+
font-size: 12px; line-height: 1; color: var(--qxs-subject-color-primary, #3D61E3); background: var(--qxs-subject-fill-soft-primary, #ecf5ff);
|
|
239
|
+
border: 1px solid var(--qxs-subject-fill-soft-primary-border, #d9ecff); border-radius: 4px; white-space: nowrap;
|
|
240
240
|
}
|
|
241
241
|
.el-tag .el-tag__close {
|
|
242
242
|
display: inline-flex; align-items: center; justify-content: center;
|
|
243
243
|
margin-left: 4px; width: 16px; height: 16px; border-radius: 50%;
|
|
244
|
-
font-size: 12px; color: #909399; cursor: pointer; transition: all .2s;
|
|
244
|
+
font-size: 12px; color: var(--qxs-subject-text-secondary, #909399); cursor: pointer; transition: all .2s;
|
|
245
245
|
}
|
|
246
|
-
.el-tag .el-tag__close:hover { background: #909399; color: #fff; }
|
|
246
|
+
.el-tag .el-tag__close:hover { background: var(--qxs-subject-text-secondary, #909399); color: var(--qxs-subject-fill-blank, #fff); }
|
|
247
247
|
|
|
248
248
|
.el-button--small {
|
|
249
249
|
display: inline-flex; align-items: center; gap: 4px;
|
|
250
250
|
height: 28px; padding: 0 10px; font-size: 12px; line-height: 1;
|
|
251
|
-
border: 1px solid #dcdfe6; border-radius: 6px; background: #fff; color: #606266;
|
|
251
|
+
border: 1px solid var(--qxs-subject-border, #dcdfe6); border-radius: 6px; background: var(--qxs-subject-fill-blank, #fff); color: var(--qxs-subject-text-regular, #606266);
|
|
252
252
|
cursor: pointer; transition: all .2s; white-space: nowrap;
|
|
253
253
|
}
|
|
254
|
-
.el-button--small:hover { color: #3D61E3; border-color: #c6e2ff; background-color: #ecf5ff; }
|
|
254
|
+
.el-button--small:hover { color: var(--qxs-subject-color-primary, #3D61E3); border-color: var(--qxs-subject-fill-soft-primary-border-strong, #c6e2ff); background-color: var(--qxs-subject-fill-soft-primary, #ecf5ff); }
|
|
255
255
|
|
|
256
|
-
.el-link { color: #3D61E3; cursor: pointer; font-size: 12px; text-decoration: none; }
|
|
257
|
-
.el-link:hover { color: #2D4CB8; }
|
|
258
|
-
.el-link.is-disabled { color: #c0c4cc; cursor: not-allowed; }
|
|
256
|
+
.el-link { color: var(--qxs-subject-color-primary, #3D61E3); cursor: pointer; font-size: 12px; text-decoration: none; }
|
|
257
|
+
.el-link:hover { color: var(--qxs-subject-color-primary-hover, #2D4CB8); }
|
|
258
|
+
.el-link.is-disabled { color: var(--qxs-subject-text-disabled, #c0c4cc); cursor: not-allowed; }
|
|
259
259
|
|
|
260
260
|
.el-input--small {
|
|
261
261
|
width: 80px;
|
|
@@ -263,14 +263,14 @@ import{html as t,css as e,LitElement as i}from"lit";import{property as s,state a
|
|
|
263
263
|
padding: 0 8px;
|
|
264
264
|
font-size: 12px;
|
|
265
265
|
line-height: 24px;
|
|
266
|
-
color: #606266;
|
|
267
|
-
background: #fff;
|
|
268
|
-
border: 1px solid #dcdfe6;
|
|
266
|
+
color: var(--qxs-subject-text-regular, #606266);
|
|
267
|
+
background: var(--qxs-subject-fill-blank, #fff);
|
|
268
|
+
border: 1px solid var(--qxs-subject-border, #dcdfe6);
|
|
269
269
|
border-radius: 6px;
|
|
270
270
|
box-sizing: border-box;
|
|
271
271
|
font-family: inherit;
|
|
272
272
|
}
|
|
273
|
-
.el-input--small:focus { border-color: #3D61E3; outline: none; }
|
|
273
|
+
.el-input--small:focus { border-color: var(--qxs-subject-color-primary, #3D61E3); outline: none; }
|
|
274
274
|
|
|
275
275
|
.title-input textarea {
|
|
276
276
|
padding-bottom: 38px;
|
|
@@ -285,28 +285,28 @@ import{html as t,css as e,LitElement as i}from"lit";import{property as s,state a
|
|
|
285
285
|
}
|
|
286
286
|
.title-input .char-counter {
|
|
287
287
|
position: static;
|
|
288
|
-
color: #909399;
|
|
288
|
+
color: var(--qxs-subject-text-secondary, #909399);
|
|
289
289
|
}
|
|
290
290
|
.title-input-insert {
|
|
291
291
|
border: none;
|
|
292
292
|
background: none;
|
|
293
293
|
padding: 0;
|
|
294
294
|
margin: 0;
|
|
295
|
-
color: #3D61E3;
|
|
295
|
+
color: var(--qxs-subject-color-primary, #3D61E3);
|
|
296
296
|
cursor: pointer;
|
|
297
297
|
font-size: 12px;
|
|
298
298
|
font-family: inherit;
|
|
299
299
|
line-height: 1;
|
|
300
300
|
white-space: nowrap;
|
|
301
301
|
}
|
|
302
|
-
.title-input-insert:hover { color: #2D4CB8; }
|
|
302
|
+
.title-input-insert:hover { color: var(--qxs-subject-color-primary-hover, #2D4CB8); }
|
|
303
303
|
|
|
304
304
|
.el-checkbox {
|
|
305
305
|
display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
|
|
306
|
-
font-size: 13px; color: #606266; user-select: none; margin-right: 16px;
|
|
306
|
+
font-size: 13px; color: var(--qxs-subject-text-regular, #606266); user-select: none; margin-right: 16px;
|
|
307
307
|
}
|
|
308
308
|
.el-checkbox input[type="checkbox"] {
|
|
309
|
-
width: 14px; height: 14px; cursor: pointer; accent-color: #3D61E3;
|
|
309
|
+
width: 14px; height: 14px; cursor: pointer; accent-color: var(--qxs-subject-color-primary, #3D61E3);
|
|
310
310
|
}
|
|
311
311
|
|
|
312
312
|
.answer-item {
|
|
@@ -321,38 +321,38 @@ import{html as t,css as e,LitElement as i}from"lit";import{property as s,state a
|
|
|
321
321
|
font-size: 13px;
|
|
322
322
|
line-height: 1.5;
|
|
323
323
|
font-weight: 600;
|
|
324
|
-
color: #6b7280;
|
|
324
|
+
color: var(--qxs-subject-text-soft, #6b7280);
|
|
325
325
|
letter-spacing: 0;
|
|
326
326
|
}
|
|
327
327
|
.answer-tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; flex: 1; min-height: 28px; }
|
|
328
328
|
.answer-section { display: flex; flex-direction: column; gap: 10px; }
|
|
329
329
|
.answer-section-row > .label { padding-top: 0; }
|
|
330
330
|
|
|
331
|
-
.value-text { font-size: 13px; color: #606266; white-space: pre-wrap; }
|
|
331
|
+
.value-text { font-size: 13px; color: var(--qxs-subject-text-regular, #606266); white-space: pre-wrap; }
|
|
332
332
|
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-height: 32px; }
|
|
333
333
|
.tag-item {
|
|
334
334
|
display: inline-flex; align-items: center; gap: 4px;
|
|
335
335
|
padding: 4px 8px; font-size: 12px; line-height: 1;
|
|
336
|
-
color: #3D61E3; background: #ecf5ff; border: 1px solid #d9ecff; border-radius: 4px;
|
|
336
|
+
color: var(--qxs-subject-color-primary, #3D61E3); background: var(--qxs-subject-fill-soft-primary, #ecf5ff); border: 1px solid var(--qxs-subject-fill-soft-primary-border, #d9ecff); border-radius: 4px;
|
|
337
337
|
}
|
|
338
|
-
.tag-item .close { cursor: pointer; color: #909399; }
|
|
339
|
-
.tag-item .close:hover { color: #f56c6c; }
|
|
340
|
-
.tag-hint { font-size: 12px; color: #909399; }
|
|
338
|
+
.tag-item .close { cursor: pointer; color: var(--qxs-subject-text-secondary, #909399); }
|
|
339
|
+
.tag-item .close:hover { color: var(--qxs-subject-color-danger, #f56c6c); }
|
|
340
|
+
.tag-hint { font-size: 12px; color: var(--qxs-subject-text-secondary, #909399); }
|
|
341
341
|
|
|
342
342
|
.el-select {
|
|
343
|
-
width: 150px; height: 34px; border: 1px solid #dcdfe6; border-radius: 6px;
|
|
344
|
-
padding: 0 8px; font-size: 13px; background: #fff; appearance: none;
|
|
343
|
+
width: 150px; height: 34px; border: 1px solid var(--qxs-subject-border, #dcdfe6); border-radius: 6px;
|
|
344
|
+
padding: 0 8px; font-size: 13px; background: var(--qxs-subject-fill-blank, #fff); appearance: none;
|
|
345
345
|
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");
|
|
346
346
|
background-repeat: no-repeat; background-position: right 8px center;
|
|
347
347
|
}
|
|
348
|
-
.el-select:focus { border-color: #3D61E3; outline: none; }
|
|
349
|
-
.el-select:disabled { background: #f5f7fa; color: #c0c4cc; cursor: not-allowed; }
|
|
348
|
+
.el-select:focus { border-color: var(--qxs-subject-color-primary, #3D61E3); outline: none; }
|
|
349
|
+
.el-select:disabled { background: var(--qxs-subject-fill-light, #f5f7fa); color: var(--qxs-subject-text-disabled, #c0c4cc); cursor: not-allowed; }
|
|
350
350
|
|
|
351
|
-
.resource-summary { font-size: 12px; color: #606266; }
|
|
351
|
+
.resource-summary { font-size: 12px; color: var(--qxs-subject-text-regular, #606266); }
|
|
352
352
|
.resource-thumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
|
|
353
353
|
.resource-thumb {
|
|
354
354
|
width: 72px; height: 72px; object-fit: cover; border-radius: 6px;
|
|
355
|
-
border: 1px solid #e4e7ed; background: #f5f7fa;
|
|
355
|
+
border: 1px solid var(--qxs-subject-border-light, #e4e7ed); background: var(--qxs-subject-fill-light, #f5f7fa);
|
|
356
356
|
}
|
|
357
357
|
|
|
358
358
|
@media (max-width: 720px) {
|
|
@@ -381,5 +381,5 @@ import{html as t,css as e,LitElement as i}from"lit";import{property as s,state a
|
|
|
381
381
|
min-width: 0;
|
|
382
382
|
}
|
|
383
383
|
}
|
|
384
|
-
`]
|
|
384
|
+
`];i([r({type:Number,attribute:"order-index"})],s.prototype,"order-index",2);i([r({type:String,attribute:"subject-prefix"})],s.prototype,"subject-prefix",2);i([r({type:String})],s.prototype,"title",2);i([r({type:String,attribute:"custom-id"})],s.prototype,"custom-id",2);i([r({type:Boolean,attribute:"is-edit"})],s.prototype,"is-edit",2);i([r({type:Boolean,attribute:"is-save"})],s.prototype,"is-save",2);i([r({type:Boolean,attribute:"is-set"})],s.prototype,"is-set",2);i([r({type:Boolean,attribute:"is-key"})],s.prototype,"is-key",2);i([r({type:Boolean,attribute:"show-action"})],s.prototype,"show-action",2);i([r({type:Boolean,attribute:"show-add"})],s.prototype,"show-add",2);i([r({type:Boolean,attribute:"hide-add-rich-text"})],s.prototype,"hide-add-rich-text",2);i([r({type:Boolean,attribute:"show-rich-text"})],s.prototype,"show-rich-text",2);i([r({type:Boolean,attribute:"show-delete-action"})],s.prototype,"show-delete-action",2);i([r({type:Boolean,attribute:"show-save-action"})],s.prototype,"show-save-action",2);i([r({type:Boolean,reflect:!0})],s.prototype,"sorting",2);i([r({type:Boolean,attribute:"show-answer-setting"})],s.prototype,"show-answer-setting",2);i([r({type:Boolean,attribute:"show-analysis"})],s.prototype,"show-analysis",2);i([r({type:String,attribute:"rich-text-content"})],s.prototype,"rich-text-content",2);i([r({type:String})],s.prototype,"analysis",2);i([r({type:Number,attribute:"exam-answer-relation-type"})],s.prototype,"exam-answer-relation-type",2);i([r({type:String,attribute:"exam-expand"})],s.prototype,"exam-expand",2);i([r({type:Number,attribute:"exam-id"})],s.prototype,"exam-id",2);i([r({type:String,attribute:"category-id"})],s.prototype,"category-id",2);i([r({type:Object,attribute:"exam-answer-setting"})],s.prototype,"exam-answer-setting",2);i([r({type:Object,attribute:"upload-image"})],s.prototype,"upload-image",2);i([r({type:Array,attribute:"answer-list"})],s.prototype,"answer-list",2);i([r({type:Array,attribute:"tag-list"})],s.prototype,"tag-list",2);i([r({type:Array,attribute:"category-list"})],s.prototype,"category-list",2);i([r({type:Array,attribute:"resource-list"})],s.prototype,"resource-list",2);i([r({type:Boolean,attribute:"show-tag"})],s.prototype,"show-tag",2);i([r({type:Boolean,attribute:"show-category"})],s.prototype,"show-category",2);i([r({type:Boolean,attribute:"show-resource"})],s.prototype,"show-resource",2);i([r({type:String,attribute:"model-value"})],s.prototype,"model-value",2);i([r({type:Boolean,attribute:"use-model"})],s.prototype,"use-model",2);i([p()],s.prototype,"_title",2);i([p()],s.prototype,"_analysis",2);i([p()],s.prototype,"_answers",2);i([p()],s.prototype,"_isInOrder",2);i([p()],s.prototype,"_isIgnoreCase",2);i([p()],s.prototype,"_showRichText",2);i([p()],s.prototype,"_richText",2);i([p()],s.prototype,"_selectedTagList",2);i([p()],s.prototype,"_categoryId",2);s=i([k("qxs-blank-fill")],s);export{s as QxsBlankFill};
|
|
385
385
|
//# sourceMappingURL=blank-fill.mjs.map
|