@qxs-bns/components 0.0.90 → 0.0.92
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 +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 +143 -0
- package/es/data-chart.mjs.map +1 -0
- package/es/editor/blocksuite-editor.mjs +1126 -0
- package/es/editor/blocksuite-editor.mjs.map +1 -0
- package/es/editor/content-format.mjs +9 -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 +164 -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/marked@17.0.6/node_modules/marked/lib/marked.esm.mjs +60 -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 +17 -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.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 +147 -0
- package/es/photo-crop-tool.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 +270 -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 +113 -0
- package/es/subject/shared-styles.mjs.map +1 -0
- 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 +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/subject-shared.mjs +2 -0
- package/es/subject/subject-shared.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 +143 -0
- package/lib/data-chart.cjs.map +1 -0
- package/lib/editor/blocksuite-editor.cjs +1126 -0
- package/lib/editor/blocksuite-editor.cjs.map +1 -0
- package/lib/editor/content-format.cjs +9 -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 +164 -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/marked@17.0.6/node_modules/marked/lib/marked.esm.cjs +60 -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 +17 -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.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 +147 -0
- package/lib/photo-crop-tool.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 +270 -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 +113 -0
- package/lib/subject/shared-styles.cjs.map +1 -0
- 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 +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/subject-shared.cjs +2 -0
- package/lib/subject/subject-shared.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 +98 -36
- 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 +193 -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 +50 -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/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-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 +210 -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/subject-shared.d.ts +43 -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/README.md +0 -566
- package/es/_virtual/_commonjsHelpers.mjs +0 -2
- package/es/_virtual/_commonjsHelpers.mjs.map +0 -1
- package/es/_virtual/_plugin-vue_export-helper.mjs +0 -2
- package/es/_virtual/_plugin-vue_export-helper.mjs.map +0 -1
- package/es/_virtual/sortable.esm.mjs +0 -2
- package/es/_virtual/sortable.esm.mjs.map +0 -1
- package/es/_virtual/vuedraggable.umd.mjs +0 -2
- package/es/_virtual/vuedraggable.umd.mjs.map +0 -1
- package/es/_virtual/vuedraggable.umd2.mjs +0 -2
- package/es/_virtual/vuedraggable.umd2.mjs.map +0 -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 +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/sortablejs@1.14.0/node_modules/sortablejs/modular/sortable.esm.mjs +0 -8
- package/es/node_modules/.pnpm/sortablejs@1.14.0/node_modules/sortablejs/modular/sortable.esm.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/node_modules/.pnpm/vuedraggable@4.1.0_vue@3.5.18_typescript@5.9.2_/node_modules/vuedraggable/dist/vuedraggable.umd.mjs +0 -2
- package/es/node_modules/.pnpm/vuedraggable@4.1.0_vue@3.5.18_typescript@5.9.2_/node_modules/vuedraggable/dist/vuedraggable.umd.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/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/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/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/file-upload/src/file-upload.vue3.mjs +0 -2
- package/es/src/file-upload/src/file-upload.vue3.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/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/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/image-upload/src/image-upload.vue3.mjs +0 -2
- package/es/src/image-upload/src/image-upload.vue3.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/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/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/withInstall.mjs +0 -2
- package/es/src/withInstall.mjs.map +0 -1
- package/lib/_virtual/_commonjsHelpers.cjs +0 -2
- package/lib/_virtual/_commonjsHelpers.cjs.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/_virtual/sortable.esm.cjs +0 -2
- package/lib/_virtual/sortable.esm.cjs.map +0 -1
- package/lib/_virtual/vuedraggable.umd.cjs +0 -2
- package/lib/_virtual/vuedraggable.umd.cjs.map +0 -1
- package/lib/_virtual/vuedraggable.umd2.cjs +0 -2
- package/lib/_virtual/vuedraggable.umd2.cjs.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/sortablejs@1.14.0/node_modules/sortablejs/modular/sortable.esm.cjs +0 -9
- package/lib/node_modules/.pnpm/sortablejs@1.14.0/node_modules/sortablejs/modular/sortable.esm.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/node_modules/.pnpm/vuedraggable@4.1.0_vue@3.5.18_typescript@5.9.2_/node_modules/vuedraggable/dist/vuedraggable.umd.cjs +0 -2
- package/lib/node_modules/.pnpm/vuedraggable@4.1.0_vue@3.5.18_typescript@5.9.2_/node_modules/vuedraggable/dist/vuedraggable.umd.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/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/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/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/file-upload/src/file-upload.vue3.cjs +0 -2
- package/lib/src/file-upload/src/file-upload.vue3.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/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/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/image-upload/src/image-upload.vue3.cjs +0 -2
- package/lib/src/image-upload/src/image-upload.vue3.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/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/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/withInstall.cjs +0 -2
- package/lib/src/withInstall.cjs.map +0 -1
- package/theme-chalk/index.css +0 -1
- package/theme-chalk/index.scss +0 -21
- package/theme-chalk/src/base.css +0 -1
- package/theme-chalk/src/base.scss +0 -16
- package/theme-chalk/src/common/qxs-components.css +0 -1
- package/theme-chalk/src/common/qxs-components.scss +0 -4
- package/theme-chalk/src/common/qxs-variables.css +0 -1
- package/theme-chalk/src/common/qxs-variables.scss +0 -81
- 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/dialog.css +0 -1
- package/theme-chalk/src/dialog.scss +0 -122
- package/theme-chalk/src/file-upload.css +0 -0
- package/theme-chalk/src/file-upload.scss +0 -7
- 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 -149
- 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 -78
- 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 -568
- 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 -42
- package/theme-chalk/src/tiny-mce-editor.css +0 -1
- package/theme-chalk/src/tiny-mce-editor.scss +0 -29
- package/theme-chalk/src/ui/button.css +0 -1
- package/theme-chalk/src/ui/button.scss +0 -173
- package/theme-chalk/src/ui/input.css +0 -1
- package/theme-chalk/src/ui/input.scss +0 -128
- package/theme-chalk/src/ui/table.css +0 -1
- package/theme-chalk/src/ui/table.scss +0 -166
- 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 -15
- package/types/src/components.d.ts.map +0 -1
- package/types/src/data-chart/index.d.ts +0 -29
- package/types/src/data-chart/index.d.ts.map +0 -1
- 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/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 -19
- package/types/src/file-upload/index.d.ts.map +0 -1
- package/types/src/file-upload/src/file-upload.vue.d.ts +0 -34
- 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/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 -27
- package/types/src/image-upload/index.d.ts.map +0 -1
- package/types/src/image-upload/src/image-upload.vue.d.ts +0 -49
- package/types/src/image-upload/src/image-upload.vue.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 -55
- package/types/src/photo-crop-tool/index.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-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/SubjectRichText.vue.d.ts +0 -25
- package/types/src/subject-list/src/components/SubjectRichText.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/withInstall.d.ts +0 -4
- package/types/src/withInstall.d.ts.map +0 -1
- package/types/tsconfig.tsbuildinfo +0 -1
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export type ImageUploadFile = {
|
|
3
|
+
uid?: string | number;
|
|
4
|
+
name: string;
|
|
5
|
+
url?: string;
|
|
6
|
+
size?: number;
|
|
7
|
+
status?: 'ready' | 'uploading' | 'success' | 'fail';
|
|
8
|
+
progress?: number;
|
|
9
|
+
file?: File;
|
|
10
|
+
};
|
|
11
|
+
export declare class QxsImageUpload extends LitElement {
|
|
12
|
+
private static _scrollLockCount;
|
|
13
|
+
private static _previousHtmlOverflow;
|
|
14
|
+
private static _previousBodyOverflow;
|
|
15
|
+
static styles: import("lit").CSSResult;
|
|
16
|
+
action: string;
|
|
17
|
+
headers?: Record<string, string>;
|
|
18
|
+
data?: Record<string, string | Blob>;
|
|
19
|
+
name: string;
|
|
20
|
+
size: number;
|
|
21
|
+
width: number;
|
|
22
|
+
height: number;
|
|
23
|
+
accept: string;
|
|
24
|
+
placeholder: string;
|
|
25
|
+
notip: boolean;
|
|
26
|
+
tipText: string;
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
limit: number;
|
|
29
|
+
fileList: ImageUploadFile[];
|
|
30
|
+
private _internalFiles;
|
|
31
|
+
private _viewerVisible;
|
|
32
|
+
private _viewerIndex;
|
|
33
|
+
private _message;
|
|
34
|
+
private _messageType;
|
|
35
|
+
private _input?;
|
|
36
|
+
private _hasScrollLock;
|
|
37
|
+
private _pendingRequests;
|
|
38
|
+
connectedCallback(): void;
|
|
39
|
+
disconnectedCallback(): void;
|
|
40
|
+
updated(changed: Map<string, unknown>): void;
|
|
41
|
+
private get _exts();
|
|
42
|
+
private get _tipMessage();
|
|
43
|
+
private _syncFileList;
|
|
44
|
+
private _setMessage;
|
|
45
|
+
private _clearMessage;
|
|
46
|
+
private _revokeFileUrl;
|
|
47
|
+
private _emitFileListChange;
|
|
48
|
+
private _emitSuccess;
|
|
49
|
+
private _getFileKey;
|
|
50
|
+
private _updateFileByKey;
|
|
51
|
+
private _emitRemove;
|
|
52
|
+
private _validateFile;
|
|
53
|
+
private _handleSelectedFiles;
|
|
54
|
+
private _handleInputChange;
|
|
55
|
+
private _uploadFile;
|
|
56
|
+
private _handlePreview;
|
|
57
|
+
private _closeViewer;
|
|
58
|
+
private _prevImage;
|
|
59
|
+
private _nextImage;
|
|
60
|
+
private _handleRemove;
|
|
61
|
+
private _syncScrollLock;
|
|
62
|
+
render(): import("lit").TemplateResult<1>;
|
|
63
|
+
}
|
|
64
|
+
declare global {
|
|
65
|
+
interface HTMLElementTagNameMap {
|
|
66
|
+
'qxs-image-upload': QxsImageUpload;
|
|
67
|
+
}
|
|
68
|
+
}
|
package/types/index.d.ts
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import './entry-subject';
|
|
2
|
+
import './entry-editor';
|
|
3
|
+
import './entry-icon';
|
|
4
|
+
import './entry-fixed-action-bar';
|
|
5
|
+
import './entry-photo-crop-tool';
|
|
6
|
+
import './entry-file-upload';
|
|
7
|
+
import './entry-image-upload';
|
|
8
|
+
import './entry-data-chart';
|
|
9
|
+
export * from './entry-editor';
|
|
10
|
+
export * from './entry-subject';
|
|
11
|
+
export * from './entry-fixed-action-bar';
|
|
12
|
+
export * from './entry-photo-crop-tool';
|
|
13
|
+
export * from './entry-file-upload';
|
|
14
|
+
export * from './entry-image-upload';
|
|
15
|
+
export * from './entry-data-chart';
|
|
16
|
+
export { QxsIcon } from './icon';
|
|
17
|
+
export { QxsFixedActionBar } from './fixed-action-bar';
|
|
18
|
+
export { QxsPhotoCropTool } from './photo-crop-tool';
|
|
19
|
+
export { QxsFileUpload } from './file-upload';
|
|
20
|
+
export { QxsImageUpload } from './image-upload';
|
|
21
|
+
export { QxsDataChart } from './data-chart';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
type ZoomType = 'fixed' | 'free';
|
|
3
|
+
export declare class QxsPhotoCropTool extends LitElement {
|
|
4
|
+
static styles: import("lit").CSSResult;
|
|
5
|
+
imgFile: File | null;
|
|
6
|
+
aspectRatio: string;
|
|
7
|
+
defaultWidth: number;
|
|
8
|
+
defaultHeight: number;
|
|
9
|
+
zoomType: ZoomType;
|
|
10
|
+
private _errorMessage;
|
|
11
|
+
private _imageUrl;
|
|
12
|
+
private _cropRect;
|
|
13
|
+
private _imageRect;
|
|
14
|
+
private _container?;
|
|
15
|
+
private _image?;
|
|
16
|
+
private _resizeObserver;
|
|
17
|
+
private _dragType;
|
|
18
|
+
private _dragOrigin;
|
|
19
|
+
private _dragStartRect;
|
|
20
|
+
private _pendingReset;
|
|
21
|
+
private _rafId;
|
|
22
|
+
connectedCallback(): void;
|
|
23
|
+
firstUpdated(): void;
|
|
24
|
+
disconnectedCallback(): void;
|
|
25
|
+
updated(changed: Map<string, unknown>): void;
|
|
26
|
+
crop(): Promise<File | null>;
|
|
27
|
+
resize(): void;
|
|
28
|
+
private _applyImageFile;
|
|
29
|
+
private _revokeImageUrl;
|
|
30
|
+
private _scheduleLayoutSync;
|
|
31
|
+
private _syncImageRect;
|
|
32
|
+
private _resetCropRect;
|
|
33
|
+
private _handleImageLoad;
|
|
34
|
+
private _handlePointerDown;
|
|
35
|
+
private _handlePointerMove;
|
|
36
|
+
private _handlePointerUp;
|
|
37
|
+
private _clampMoveRect;
|
|
38
|
+
private _resizeByHandle;
|
|
39
|
+
private _resizeFree;
|
|
40
|
+
private _resizeFixed;
|
|
41
|
+
render(): import("lit").TemplateResult<1>;
|
|
42
|
+
}
|
|
43
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class QxsSubjectAction extends LitElement {
|
|
3
|
+
static styles: import("lit").CSSResult[];
|
|
4
|
+
'is-edit': boolean;
|
|
5
|
+
'is-set': boolean;
|
|
6
|
+
'is-key': boolean;
|
|
7
|
+
'answer-check-type': number;
|
|
8
|
+
'show-other-option': boolean;
|
|
9
|
+
'show-answer-setting': boolean;
|
|
10
|
+
'show-key': boolean;
|
|
11
|
+
'show-rich-text': boolean;
|
|
12
|
+
'hide-add-rich-text': boolean;
|
|
13
|
+
'show-delete-action': boolean;
|
|
14
|
+
'show-save-action': boolean;
|
|
15
|
+
'page-end': boolean;
|
|
16
|
+
'show-move': boolean;
|
|
17
|
+
'show-add': boolean;
|
|
18
|
+
'show-jump': boolean;
|
|
19
|
+
'exam-answer-relation-type': number;
|
|
20
|
+
private _modalOpen;
|
|
21
|
+
private _currentCheckType;
|
|
22
|
+
private _addMenuOpen;
|
|
23
|
+
connectedCallback(): void;
|
|
24
|
+
disconnectedCallback(): void;
|
|
25
|
+
updated(changed: Map<string, unknown>): void;
|
|
26
|
+
private _handleDocumentClick;
|
|
27
|
+
private _emit;
|
|
28
|
+
private get _answerText();
|
|
29
|
+
private get _showAnswerSetting();
|
|
30
|
+
private get _showKey();
|
|
31
|
+
private _renderEditMode;
|
|
32
|
+
private _renderViewMode;
|
|
33
|
+
private _renderModal;
|
|
34
|
+
private _renderAddMenu;
|
|
35
|
+
render(): import("lit").TemplateResult<1>;
|
|
36
|
+
}
|
|
37
|
+
export declare function register(): void;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { type Category, type Resource, SubjectError, type TagItem } from './subject-shared';
|
|
3
|
+
export declare class QxsBlankFill extends LitElement {
|
|
4
|
+
static styles: import("lit").CSSResult[];
|
|
5
|
+
'order-index': number;
|
|
6
|
+
'subject-prefix'?: string;
|
|
7
|
+
title: string;
|
|
8
|
+
'custom-id': string;
|
|
9
|
+
'is-edit': boolean;
|
|
10
|
+
'is-save': boolean;
|
|
11
|
+
'is-set': boolean;
|
|
12
|
+
'is-key': boolean;
|
|
13
|
+
'show-action': boolean;
|
|
14
|
+
'show-add': boolean;
|
|
15
|
+
'hide-add-rich-text': boolean;
|
|
16
|
+
'show-rich-text': boolean;
|
|
17
|
+
'show-delete-action': boolean;
|
|
18
|
+
'show-save-action': boolean;
|
|
19
|
+
sorting: boolean;
|
|
20
|
+
'show-answer-setting': boolean;
|
|
21
|
+
'show-analysis': boolean;
|
|
22
|
+
'rich-text-content': string;
|
|
23
|
+
analysis: string;
|
|
24
|
+
'exam-answer-relation-type': number;
|
|
25
|
+
'exam-expand': string;
|
|
26
|
+
'exam-id': number;
|
|
27
|
+
'category-id': string;
|
|
28
|
+
'exam-answer-setting': {
|
|
29
|
+
isInOrder: boolean;
|
|
30
|
+
isIgnoreCase: boolean;
|
|
31
|
+
};
|
|
32
|
+
'upload-image': (file: File) => Promise<string>;
|
|
33
|
+
'answer-list': any[];
|
|
34
|
+
'tag-list': TagItem[];
|
|
35
|
+
'category-list': Category[];
|
|
36
|
+
'resource-list': Resource[];
|
|
37
|
+
'show-tag': boolean;
|
|
38
|
+
'show-category': boolean;
|
|
39
|
+
'show-resource': boolean;
|
|
40
|
+
'model-value': string;
|
|
41
|
+
'use-model': boolean;
|
|
42
|
+
private _title;
|
|
43
|
+
private _analysis;
|
|
44
|
+
private _answers;
|
|
45
|
+
private _isInOrder;
|
|
46
|
+
private _isIgnoreCase;
|
|
47
|
+
private _showRichText;
|
|
48
|
+
private _richText;
|
|
49
|
+
private _selectedTagList;
|
|
50
|
+
private _categoryId;
|
|
51
|
+
private readonly TITLE_MAX;
|
|
52
|
+
willUpdate(changed: Map<string, unknown>): void;
|
|
53
|
+
private _normalizeAnswerTitle;
|
|
54
|
+
private _blankCount;
|
|
55
|
+
private _syncAnswersToBlankCount;
|
|
56
|
+
private _syncProps;
|
|
57
|
+
private _emit;
|
|
58
|
+
private _addBlank;
|
|
59
|
+
private _onTitleInput;
|
|
60
|
+
private _emitModelUpdate;
|
|
61
|
+
private _handleAddTag;
|
|
62
|
+
private _closeTag;
|
|
63
|
+
private _onCategoryChange;
|
|
64
|
+
private _imageResources;
|
|
65
|
+
private _videoResource;
|
|
66
|
+
private _categoryLabel;
|
|
67
|
+
private _previewAnswerText;
|
|
68
|
+
private _renderInlineBlankTitle;
|
|
69
|
+
toJSON(): Promise<any>;
|
|
70
|
+
private _save;
|
|
71
|
+
validate(): SubjectError[];
|
|
72
|
+
private _renderPreview;
|
|
73
|
+
private _renderCategorySection;
|
|
74
|
+
private _renderResourceSection;
|
|
75
|
+
private _renderSorting;
|
|
76
|
+
private _renderEdit;
|
|
77
|
+
render(): import("lit").TemplateResult<1>;
|
|
78
|
+
}
|
|
79
|
+
export declare function register(): void;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { type AnswerType, type SubjectItemType, SubjectType } from './types';
|
|
2
|
+
export interface CreateSubjectDraftOptions {
|
|
3
|
+
examAnswerRelationType?: number | null;
|
|
4
|
+
}
|
|
5
|
+
export declare function createSubjectDraft(type: SubjectItemType, options?: CreateSubjectDraftOptions): {
|
|
6
|
+
customId: string;
|
|
7
|
+
answerType: SubjectType;
|
|
8
|
+
} | {
|
|
9
|
+
examAnswerRelationType?: number | undefined;
|
|
10
|
+
leastAnswerCount?: null | undefined;
|
|
11
|
+
examExpand?: string | undefined;
|
|
12
|
+
answers: {
|
|
13
|
+
title: string;
|
|
14
|
+
isCorrect: boolean;
|
|
15
|
+
}[];
|
|
16
|
+
customId: string;
|
|
17
|
+
answerType: AnswerType;
|
|
18
|
+
title: string;
|
|
19
|
+
analysis: string;
|
|
20
|
+
isEdit: boolean;
|
|
21
|
+
examRichTextContent: string;
|
|
22
|
+
} | {
|
|
23
|
+
answers: never[];
|
|
24
|
+
examAnswerSettingBO: {
|
|
25
|
+
isInOrder: boolean;
|
|
26
|
+
isIgnoreCase: boolean;
|
|
27
|
+
};
|
|
28
|
+
customId: string;
|
|
29
|
+
answerType: AnswerType;
|
|
30
|
+
title: string;
|
|
31
|
+
analysis: string;
|
|
32
|
+
isEdit: boolean;
|
|
33
|
+
examRichTextContent: string;
|
|
34
|
+
} | {
|
|
35
|
+
answers: {
|
|
36
|
+
title: string;
|
|
37
|
+
tag: string;
|
|
38
|
+
showInput: boolean;
|
|
39
|
+
}[];
|
|
40
|
+
examAnswerSettingBO: {
|
|
41
|
+
isInOrder: boolean;
|
|
42
|
+
isIgnoreCase: boolean;
|
|
43
|
+
};
|
|
44
|
+
examExpand: string;
|
|
45
|
+
customId: string;
|
|
46
|
+
answerType: AnswerType;
|
|
47
|
+
title: string;
|
|
48
|
+
analysis: string;
|
|
49
|
+
isEdit: boolean;
|
|
50
|
+
examRichTextContent: string;
|
|
51
|
+
} | {
|
|
52
|
+
answers: {
|
|
53
|
+
title: string;
|
|
54
|
+
orderIndex: number;
|
|
55
|
+
}[];
|
|
56
|
+
scaleQuestionList: never[];
|
|
57
|
+
customId: string;
|
|
58
|
+
answerType: AnswerType;
|
|
59
|
+
title: string;
|
|
60
|
+
analysis: string;
|
|
61
|
+
isEdit: boolean;
|
|
62
|
+
examRichTextContent: string;
|
|
63
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { QxsSubjectAction } from './action';
|
|
2
|
+
import { QxsBlankFill } from './blank-fill';
|
|
3
|
+
import { createSubjectDraft } from './draft';
|
|
4
|
+
import { QxsSubjectLayout } from './layout';
|
|
5
|
+
import { QxsPageEnd } from './page-end';
|
|
6
|
+
import { getPaginationMeta, insertPageBreak, rebuildPageBreaksFromPageIndex, removePageBreak, serializeSubjectsWithPageIndex } from './pagination';
|
|
7
|
+
import { collectSubjectElements, serializeSubjectElements, validateSubjectElements } from './runtime';
|
|
8
|
+
import { QxsScale } from './scale';
|
|
9
|
+
import { QxsSubjectSingle } from './single';
|
|
10
|
+
import { moveSubjectItem, reorderSubjects } from './sort-controller';
|
|
11
|
+
import { QxsSubjectSortable } from './sortable';
|
|
12
|
+
import { QxsTextFill } from './text-fill';
|
|
13
|
+
export { collectSubjectElements, createSubjectDraft, getPaginationMeta, insertPageBreak, moveSubjectItem, QxsBlankFill, QxsPageEnd, QxsScale, QxsSubjectAction, QxsSubjectLayout, QxsSubjectSingle, QxsSubjectSortable, QxsTextFill, rebuildPageBreaksFromPageIndex, removePageBreak, reorderSubjects, serializeSubjectElements, serializeSubjectsWithPageIndex, validateSubjectElements, };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class QxsPageEnd extends LitElement {
|
|
3
|
+
static styles: import("lit").CSSResult[];
|
|
4
|
+
'current-page-index': number;
|
|
5
|
+
'total-page': number;
|
|
6
|
+
'show-action': boolean;
|
|
7
|
+
'show-add': boolean;
|
|
8
|
+
'show-delete-action': boolean;
|
|
9
|
+
'custom-id': string;
|
|
10
|
+
sorting: boolean;
|
|
11
|
+
private _emit;
|
|
12
|
+
toJSON(): Promise<any>;
|
|
13
|
+
validate(): never[];
|
|
14
|
+
render(): import("lit").TemplateResult<1>;
|
|
15
|
+
}
|
|
16
|
+
export declare function register(): void;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface SubjectLikeItem {
|
|
2
|
+
answerType: string;
|
|
3
|
+
customId?: string;
|
|
4
|
+
pageIndex?: number;
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
}
|
|
7
|
+
export interface PageBreakItem extends SubjectLikeItem {
|
|
8
|
+
answerType: 'page_end';
|
|
9
|
+
customId: string;
|
|
10
|
+
}
|
|
11
|
+
export interface PaginationMetaItem {
|
|
12
|
+
customId: string;
|
|
13
|
+
currentPageIndex: number;
|
|
14
|
+
totalPage: number;
|
|
15
|
+
itemIndex: number;
|
|
16
|
+
}
|
|
17
|
+
export declare function isPageBreakItem(item: SubjectLikeItem | null | undefined): item is PageBreakItem;
|
|
18
|
+
export declare function normalizePageBreaks(items: SubjectLikeItem[]): SubjectLikeItem[];
|
|
19
|
+
export declare function rebuildPageBreaksFromPageIndex(items: SubjectLikeItem[]): SubjectLikeItem[];
|
|
20
|
+
export declare function serializeSubjectsWithPageIndex(items: SubjectLikeItem[]): SubjectLikeItem[];
|
|
21
|
+
export declare function insertPageBreak(items: SubjectLikeItem[], index?: number): SubjectLikeItem[];
|
|
22
|
+
export declare function removePageBreak(items: SubjectLikeItem[], customId: string): SubjectLikeItem[];
|
|
23
|
+
export declare function getPaginationMeta(items: SubjectLikeItem[]): PaginationMetaItem[];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SubjectError } from './subject-shared';
|
|
2
|
+
export declare const SUBJECT_ELEMENT_SELECTOR: string;
|
|
3
|
+
export type SubjectElement = HTMLElement & {
|
|
4
|
+
toJSON?: () => Promise<any>;
|
|
5
|
+
validate?: () => SubjectError[];
|
|
6
|
+
};
|
|
7
|
+
export declare function collectSubjectElements(root: ParentNode): SubjectElement[];
|
|
8
|
+
export declare function validateSubjectElements(elements: Iterable<SubjectElement>): {
|
|
9
|
+
valid: boolean;
|
|
10
|
+
errors: SubjectError[];
|
|
11
|
+
};
|
|
12
|
+
export declare function serializeSubjectElements(elements: Iterable<SubjectElement>): Promise<any[]>;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { SubjectError } from './subject-shared';
|
|
3
|
+
export declare class QxsScale extends LitElement {
|
|
4
|
+
static styles: import("lit").CSSResult[];
|
|
5
|
+
'order-index': number;
|
|
6
|
+
'subject-prefix'?: string;
|
|
7
|
+
title: string;
|
|
8
|
+
'custom-id': string;
|
|
9
|
+
'is-edit': boolean;
|
|
10
|
+
'is-save': boolean;
|
|
11
|
+
'is-set': boolean;
|
|
12
|
+
'show-action': boolean;
|
|
13
|
+
'show-add': boolean;
|
|
14
|
+
'hide-add-rich-text': boolean;
|
|
15
|
+
'show-rich-text': boolean;
|
|
16
|
+
'show-delete-action': boolean;
|
|
17
|
+
'show-save-action': boolean;
|
|
18
|
+
sorting: boolean;
|
|
19
|
+
'show-analysis': boolean;
|
|
20
|
+
analysis: string;
|
|
21
|
+
'rich-text-content': string;
|
|
22
|
+
'exam-answer-relation-type': number;
|
|
23
|
+
'upload-image': (file: File) => Promise<string>;
|
|
24
|
+
get 'answer-list'(): any;
|
|
25
|
+
set 'answer-list'(value: any);
|
|
26
|
+
get 'scale-question-list'(): any;
|
|
27
|
+
set 'scale-question-list'(value: any);
|
|
28
|
+
get 'scale-questions'(): any;
|
|
29
|
+
set 'scale-questions'(value: any);
|
|
30
|
+
private _answers;
|
|
31
|
+
private _scaleQuestions;
|
|
32
|
+
private _rowTitle;
|
|
33
|
+
private _title;
|
|
34
|
+
private _analysis;
|
|
35
|
+
private _showRichText;
|
|
36
|
+
private _richText;
|
|
37
|
+
'model-value': string;
|
|
38
|
+
'use-model': boolean;
|
|
39
|
+
private readonly TITLE_MAX;
|
|
40
|
+
willUpdate(changed: Map<string, unknown>): void;
|
|
41
|
+
private _syncProps;
|
|
42
|
+
private _emit;
|
|
43
|
+
private _onTitleInput;
|
|
44
|
+
private _resolvedQuestions;
|
|
45
|
+
private _resolvedAnswers;
|
|
46
|
+
private _createAnswerCountError;
|
|
47
|
+
toJSON(): Promise<any>;
|
|
48
|
+
private _save;
|
|
49
|
+
validate(): SubjectError[];
|
|
50
|
+
private _renderPreview;
|
|
51
|
+
private _renderEdit;
|
|
52
|
+
private _renderSorting;
|
|
53
|
+
render(): import("lit").TemplateResult<1>;
|
|
54
|
+
}
|
|
55
|
+
export declare function register(): void;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare function emitSubjectEvent(host: EventTarget, name: string, detail?: unknown): void;
|
|
2
|
+
export declare function emitSubjectModelValue(host: EventTarget, value: string): void;
|
|
3
|
+
export declare function showSubjectToast(msg: string): void;
|
|
4
|
+
export declare function getSubjectImageResources(resourceList?: any[]): string[];
|
|
5
|
+
export declare function getSubjectVideoResource(resourceList?: any[]): any;
|
|
6
|
+
export declare function resolveSubjectCategoryLabel(categoryList?: any[], categoryId?: string | number): any;
|
|
7
|
+
export declare function buildSubjectPreviewTitle(subjectPrefix: unknown, orderIndex: number, title: string): string;
|
|
8
|
+
export declare function buildSubjectSortingTitle(subjectPrefix: unknown, orderIndex: number, title: string): string;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const subjectControlResetStyles: import("lit").CSSResult;
|
|
2
|
+
export declare const subjectHostStyles: import("lit").CSSResult;
|
|
3
|
+
export declare const subjectPreviewBaseStyles: import("lit").CSSResult;
|
|
4
|
+
export declare const subjectFormBaseStyles: import("lit").CSSResult;
|
|
5
|
+
export declare const subjectTextareaStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { AnswerType } from './types';
|
|
2
|
+
import { type SearchResult, SubjectError } from './subject-shared';
|
|
3
|
+
export interface SingleSearchDependencies {
|
|
4
|
+
answerType: AnswerType;
|
|
5
|
+
query: string;
|
|
6
|
+
searchApi?: string;
|
|
7
|
+
searchHandler?: (query: string, answerType: number) => Promise<SearchResult[]>;
|
|
8
|
+
fetcher?: typeof fetch;
|
|
9
|
+
}
|
|
10
|
+
export interface SingleSearchSelection {
|
|
11
|
+
selectedTitle: string;
|
|
12
|
+
detail: SearchResult & {
|
|
13
|
+
id: string | number;
|
|
14
|
+
customId: string;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export interface SingleDialogState {
|
|
18
|
+
correctHintDialogOpen: boolean;
|
|
19
|
+
changeTypeDialogOpen: boolean;
|
|
20
|
+
hasShownCorrectHint: boolean;
|
|
21
|
+
}
|
|
22
|
+
export type SingleSaveDecision = {
|
|
23
|
+
kind: 'error';
|
|
24
|
+
error: SubjectError;
|
|
25
|
+
} | {
|
|
26
|
+
kind: 'confirm-change-type';
|
|
27
|
+
} | {
|
|
28
|
+
kind: 'confirm-correct-hint';
|
|
29
|
+
} | {
|
|
30
|
+
kind: 'save';
|
|
31
|
+
};
|
|
32
|
+
export declare function resolveSingleSearchAnswerType(type: AnswerType): 0 | 1 | 5;
|
|
33
|
+
export declare function hasSingleSearchSource(searchApi?: string, searchHandler?: SingleSearchDependencies['searchHandler']): boolean;
|
|
34
|
+
export declare function normalizeSingleSearchResults(payload: any): SearchResult[];
|
|
35
|
+
export declare function buildSingleSearchUrl(searchApi: string, query: string, answerType: number): string;
|
|
36
|
+
export declare function searchSingleSubjects({ answerType, query, searchApi, searchHandler, fetcher, }: SingleSearchDependencies): Promise<SearchResult[]>;
|
|
37
|
+
export declare function buildSingleSearchSelection(item: SearchResult, customId?: string): SingleSearchSelection;
|
|
38
|
+
export declare function resolveSingleSaveDecision({ errors, hasShownCorrectHint, shouldShowCorrectHint, }: {
|
|
39
|
+
errors: SubjectError[];
|
|
40
|
+
hasShownCorrectHint: boolean;
|
|
41
|
+
shouldShowCorrectHint: boolean;
|
|
42
|
+
}): SingleSaveDecision;
|
|
43
|
+
export declare function applySingleSaveDecisionToDialogs(state: SingleDialogState, decision: SingleSaveDecision): SingleDialogState;
|
|
44
|
+
export declare function dismissSingleCorrectHintDialog(state: SingleDialogState): SingleDialogState;
|
|
45
|
+
export declare function acknowledgeSingleCorrectHint(state: SingleDialogState): SingleDialogState;
|
|
46
|
+
export declare function dismissSingleChangeTypeDialog(state: SingleDialogState): SingleDialogState;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import type { AnswerType } from './types';
|
|
2
|
+
import { SubjectError, type TagItem } from './subject-shared';
|
|
3
|
+
export interface SingleAnswer {
|
|
4
|
+
title: string;
|
|
5
|
+
isCorrect: boolean;
|
|
6
|
+
customAnswerId?: string | number;
|
|
7
|
+
answerId?: string | number;
|
|
8
|
+
resultItem?: string;
|
|
9
|
+
orderIndex?: number;
|
|
10
|
+
answerRelations?: any[];
|
|
11
|
+
relationType?: number | null;
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
}
|
|
14
|
+
export interface SingleSnapshot {
|
|
15
|
+
title: string;
|
|
16
|
+
answers: SingleAnswer[];
|
|
17
|
+
analysis: string;
|
|
18
|
+
leastAnswerCount: number | null;
|
|
19
|
+
selectedTagList: TagItem[];
|
|
20
|
+
examExpand: string;
|
|
21
|
+
showRichText: boolean;
|
|
22
|
+
richText: string;
|
|
23
|
+
orderList: string[];
|
|
24
|
+
}
|
|
25
|
+
export interface SingleEditorState {
|
|
26
|
+
title: string;
|
|
27
|
+
analysis: string;
|
|
28
|
+
leastAnswerCount: number | null;
|
|
29
|
+
answerCheckType: number;
|
|
30
|
+
isKey: boolean;
|
|
31
|
+
selectedTagList: TagItem[];
|
|
32
|
+
categoryId: string;
|
|
33
|
+
richText: string;
|
|
34
|
+
showRichText: boolean;
|
|
35
|
+
answers?: SingleAnswer[];
|
|
36
|
+
orderList?: string[];
|
|
37
|
+
}
|
|
38
|
+
export interface SingleValidationResult {
|
|
39
|
+
errors: SubjectError[];
|
|
40
|
+
isSetCorrectAnswer: boolean;
|
|
41
|
+
correctAnswerCount: number;
|
|
42
|
+
}
|
|
43
|
+
export declare function createDefaultSingleAnswers(): SingleAnswer[];
|
|
44
|
+
export declare function supportsLeastAnswerCount(answerType: AnswerType): answerType is "sort" | "multiple";
|
|
45
|
+
export declare function normalizeLeastAnswerCount(value: unknown, answerType: AnswerType): number | null;
|
|
46
|
+
export declare function leastAnswerCountSuffix(value: number | null, answerType: AnswerType): string;
|
|
47
|
+
export declare function normalizeSingleAnswerItem(answer: any): SingleAnswer;
|
|
48
|
+
export declare function normalizeSingleAnswerList(value: unknown): SingleAnswer[];
|
|
49
|
+
export declare function resolveSingleOrderList({ examExpand, answers, labelForIndex, }: {
|
|
50
|
+
examExpand?: string;
|
|
51
|
+
answers?: any[];
|
|
52
|
+
labelForIndex: (index: number) => string;
|
|
53
|
+
}): string[];
|
|
54
|
+
export declare function buildSingleEditorState({ answerType, title, analysis, leastAnswerCount, answerCheckType, isKey, tagList, categoryId, richTextContent, answerList, examExpand, labelForIndex, includeOrderList, }: {
|
|
55
|
+
answerType: AnswerType;
|
|
56
|
+
title?: string;
|
|
57
|
+
analysis?: string;
|
|
58
|
+
leastAnswerCount?: unknown;
|
|
59
|
+
answerCheckType?: number;
|
|
60
|
+
isKey?: boolean;
|
|
61
|
+
tagList?: unknown;
|
|
62
|
+
categoryId?: unknown;
|
|
63
|
+
richTextContent?: string;
|
|
64
|
+
answerList?: unknown;
|
|
65
|
+
examExpand?: string;
|
|
66
|
+
labelForIndex: (index: number) => string;
|
|
67
|
+
includeOrderList?: boolean;
|
|
68
|
+
}): SingleEditorState;
|
|
69
|
+
export declare function buildSingleSnapshot({ answerType, title, answers, analysis, leastAnswerCount, selectedTagList, examExpand, showRichText, richText, orderList, sortAnswerValue, }: {
|
|
70
|
+
answerType: AnswerType;
|
|
71
|
+
title?: string;
|
|
72
|
+
answers?: any[];
|
|
73
|
+
analysis?: string;
|
|
74
|
+
leastAnswerCount?: unknown;
|
|
75
|
+
selectedTagList?: TagItem[];
|
|
76
|
+
examExpand?: string;
|
|
77
|
+
showRichText?: boolean;
|
|
78
|
+
richText?: string;
|
|
79
|
+
orderList?: string[];
|
|
80
|
+
sortAnswerValue?: (letter: string) => string | number;
|
|
81
|
+
}): SingleSnapshot;
|
|
82
|
+
export declare function validateSingleSnapshot(snapshot: SingleSnapshot, answerType: AnswerType, row?: any): SingleValidationResult;
|
|
83
|
+
export declare function serializeSingleSnapshot(snapshot: SingleSnapshot, { answerType, isSetCorrectAnswer, examAnswerRelationType, customId, }: {
|
|
84
|
+
answerType: AnswerType;
|
|
85
|
+
isSetCorrectAnswer: boolean;
|
|
86
|
+
examAnswerRelationType?: number;
|
|
87
|
+
customId?: string;
|
|
88
|
+
}): any;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { AnswerType } from './types';
|
|
2
|
+
import type { SingleAnswer } from './single-model';
|
|
3
|
+
export declare function applySingleAiAnswer({ answers, aiAnswer, answerType, }: {
|
|
4
|
+
answers: SingleAnswer[];
|
|
5
|
+
aiAnswer: string;
|
|
6
|
+
answerType: AnswerType;
|
|
7
|
+
}): {
|
|
8
|
+
answers: {
|
|
9
|
+
isCorrect: boolean;
|
|
10
|
+
title: string;
|
|
11
|
+
customAnswerId?: string | number;
|
|
12
|
+
answerId?: string | number;
|
|
13
|
+
resultItem?: string;
|
|
14
|
+
orderIndex?: number;
|
|
15
|
+
answerRelations?: any[];
|
|
16
|
+
relationType?: number | null;
|
|
17
|
+
}[];
|
|
18
|
+
matchedCount: number;
|
|
19
|
+
};
|
|
20
|
+
export declare function updateSingleAnswerTitle(answers: SingleAnswer[], answerIndex: number, value: string, maxLength: number): SingleAnswer[];
|
|
21
|
+
export declare function insertSingleAnswerAfter(answers: SingleAnswer[], answerIndex: number, createId: () => string | number): SingleAnswer[];
|
|
22
|
+
export declare function deleteSingleAnswerAt(answers: SingleAnswer[], answerIndex: number, minimumLength?: number): SingleAnswer[];
|
|
23
|
+
export declare function setSingleCorrectState(answers: SingleAnswer[], answerType: AnswerType, answerIndex: number, value: boolean): {
|
|
24
|
+
isCorrect: boolean;
|
|
25
|
+
title: string;
|
|
26
|
+
customAnswerId?: string | number;
|
|
27
|
+
answerId?: string | number;
|
|
28
|
+
resultItem?: string;
|
|
29
|
+
orderIndex?: number;
|
|
30
|
+
answerRelations?: any[];
|
|
31
|
+
relationType?: number | null;
|
|
32
|
+
}[];
|
|
33
|
+
export declare function toggleSingleSortLetter(orderList: string[], letter: string): string[];
|
|
34
|
+
export declare function removeSingleSortLetter(orderList: string[], letter: string): string[];
|
|
35
|
+
export declare function getSingleSortOrder(orderList: string[], letter: string): number | null;
|
|
36
|
+
export declare function resolveSingleSortAnswerValue(letter: string, answers: SingleAnswer[]): any;
|
|
37
|
+
export declare function countSingleRelationAnswers(relations?: any[]): any;
|
|
38
|
+
export declare function shouldShowSingleCorrectHint({ answerType, answers, orderList, }: {
|
|
39
|
+
answerType: AnswerType;
|
|
40
|
+
answers: SingleAnswer[];
|
|
41
|
+
orderList: string[];
|
|
42
|
+
}): boolean;
|