@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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../../../../packages/components/src/ui/table/index.ts"],"sourcesContent":["import { computed, defineComponent, h, inject, type PropType, provide, reactive, ref, type Ref, type VNode } from 'vue'\n\n// Types\nexport type TableColumnAlign = 'left' | 'center' | 'right'\nexport type TableColumnFixed = 'left' | 'right' | boolean\n\nexport interface TableColumnConfig {\n prop?: string\n label?: string\n width?: string | number\n minWidth?: string | number\n align?: TableColumnAlign\n sortable?: boolean\n fixed?: TableColumnFixed\n renderHeader?: () => VNode | string\n renderCell?: (row: any, index: number) => VNode | string\n}\n\ninterface SortState {\n prop: string | null\n order: 'ascending' | 'descending' | null\n}\n\n// Provide/Inject keys\nconst TABLE_COLUMNS_KEY = Symbol('tableColumns')\nconst TABLE_REGISTER_COLUMN_KEY = Symbol('tableRegisterColumn')\n\n// QxsTableColumn Component\nexport const QxsTableColumn = defineComponent({\n name: 'QxsTableColumn',\n props: {\n prop: { type: String, default: '' },\n label: { type: String, default: '' },\n width: { type: [String, Number], default: '' },\n minWidth: { type: [String, Number], default: '' },\n align: { type: String as PropType<TableColumnAlign>, default: 'left' },\n sortable: { type: Boolean, default: false },\n fixed: { type: [String, Boolean] as PropType<TableColumnFixed>, default: false },\n showOverflowTooltip: { type: Boolean, default: false },\n },\n setup(props, { slots }) {\n const registerColumn = inject<(config: TableColumnConfig) => void>(TABLE_REGISTER_COLUMN_KEY)\n\n const columnConfig: TableColumnConfig = {\n prop: props.prop,\n label: props.label,\n width: props.width,\n minWidth: props.minWidth,\n align: props.align,\n sortable: props.sortable,\n fixed: props.fixed,\n renderHeader: () => {\n if (slots.header) {\n return h('div', {}, slots.header())\n }\n return props.label\n },\n renderCell: (row: any) => {\n if (slots.default) {\n return h('div', {}, slots.default({ row }))\n }\n return props.prop ? (row[props.prop] ?? '--') : '--'\n },\n }\n\n if (registerColumn) {\n registerColumn(columnConfig)\n }\n\n return () => null\n },\n})\n\n// QxsTable Component\nexport const QxsTable = defineComponent({\n name: 'QxsTable',\n props: {\n data: { type: Array as PropType<any[]>, default: () => [] },\n stripe: { type: Boolean, default: false },\n border: { type: Boolean, default: false },\n height: { type: [String, Number], default: '' },\n rowKey: { type: [String, Function] as PropType<string | ((row: any) => string)>, default: '' },\n emptyText: { type: String, default: '暂无数据' },\n },\n setup(props, { slots }) {\n const columns: Ref<TableColumnConfig[]> = ref([])\n const sortState = reactive<SortState>({ prop: null, order: null })\n\n // Register column\n const registerColumn = (config: TableColumnConfig) => {\n columns.value.push(config)\n }\n\n provide(TABLE_REGISTER_COLUMN_KEY, registerColumn)\n provide(TABLE_COLUMNS_KEY, columns)\n\n // Sorted data\n const sortedData = computed(() => {\n if (!sortState.prop || !sortState.order) {\n return props.data\n }\n\n const data = [...props.data]\n const { prop, order } = sortState\n\n return data.sort((a, b) => {\n const aVal = a[prop]\n const bVal = b[prop]\n\n if (aVal === bVal) { return 0 }\n\n const result = aVal > bVal ? 1 : -1\n return order === 'ascending' ? result : -result\n })\n })\n\n // Handle sort\n const handleSort = (column: TableColumnConfig) => {\n if (!column.sortable || !column.prop) { return }\n\n if (sortState.prop === column.prop) {\n if (sortState.order === 'ascending') {\n sortState.order = 'descending'\n }\n else if (sortState.order === 'descending') {\n sortState.prop = null\n sortState.order = null\n }\n else {\n sortState.order = 'ascending'\n }\n }\n else {\n sortState.prop = column.prop\n sortState.order = 'ascending'\n }\n }\n\n // Get row key\n const getRowKey = (row: any, index: number): string => {\n if (typeof props.rowKey === 'function') {\n return props.rowKey(row)\n }\n if (typeof props.rowKey === 'string' && props.rowKey) {\n return row[props.rowKey]\n }\n return String(index)\n }\n\n // Render table header\n const renderHeader = () => {\n return h('thead', { class: 'qxs-table__header' }, [\n h('tr', {}, columns.value.map((column) => {\n const thClass = [\n 'qxs-table__cell',\n `qxs-table__cell--${column.align || 'left'}`,\n {\n 'qxs-table__cell--sortable': column.sortable,\n 'is-sorting': sortState.prop === column.prop,\n },\n ]\n\n const thStyle: Record<string, string> = {}\n if (column.width) {\n thStyle.width = typeof column.width === 'number' ? `${column.width}px` : column.width\n }\n if (column.minWidth) {\n thStyle.minWidth = typeof column.minWidth === 'number' ? `${column.minWidth}px` : column.minWidth\n }\n\n const headerContent = column.renderHeader ? column.renderHeader() : column.label\n\n const sortIcon = column.sortable\n ? h('span', { class: 'qxs-table__sort-icon' }, [\n h('i', {\n class: [\n 'qxs-table__sort-caret',\n 'ascending',\n { 'is-active': sortState.prop === column.prop && sortState.order === 'ascending' },\n ],\n }),\n h('i', {\n class: [\n 'qxs-table__sort-caret',\n 'descending',\n { 'is-active': sortState.prop === column.prop && sortState.order === 'descending' },\n ],\n }),\n ])\n : null\n\n return h('th', {\n class: thClass,\n style: thStyle,\n onClick: () => handleSort(column),\n }, [\n h('div', { class: 'qxs-table__cell-content' }, [\n headerContent,\n sortIcon,\n ]),\n ])\n })),\n ])\n }\n\n // Render table body\n const renderBody = () => {\n if (!sortedData.value.length) {\n return h('tbody', { class: 'qxs-table__body' }, [\n h('tr', { class: 'qxs-table__empty-row' }, [\n h('td', {\n class: 'qxs-table__empty-cell',\n colspan: columns.value.length,\n }, [\n h('div', { class: 'qxs-table__empty-text' }, [\n slots.empty ? slots.empty() : props.emptyText,\n ]),\n ]),\n ]),\n ])\n }\n\n return h('tbody', { class: 'qxs-table__body' }, sortedData.value.map((row, rowIndex) => {\n const rowClass = [\n 'qxs-table__row',\n {\n 'qxs-table__row--striped': props.stripe && rowIndex % 2 === 1,\n },\n ]\n\n return h('tr', {\n class: rowClass,\n key: getRowKey(row, rowIndex),\n }, columns.value.map((column) => {\n const tdClass = [\n 'qxs-table__cell',\n `qxs-table__cell--${column.align || 'left'}`,\n ]\n\n const tdStyle: Record<string, string> = {}\n if (column.width) {\n tdStyle.width = typeof column.width === 'number' ? `${column.width}px` : column.width\n }\n if (column.minWidth) {\n tdStyle.minWidth = typeof column.minWidth === 'number' ? `${column.minWidth}px` : column.minWidth\n }\n\n const cellContent = column.renderCell ? column.renderCell(row, rowIndex) : '--'\n\n return h('td', {\n class: tdClass,\n style: tdStyle,\n }, [\n h('div', { class: 'qxs-table__cell-content' }, [cellContent]),\n ])\n }))\n }))\n }\n\n return () => {\n // Render default slot to collect columns\n if (slots.default) {\n slots.default()\n }\n\n const tableClass = [\n 'qxs-table',\n {\n 'qxs-table--striped': props.stripe,\n 'qxs-table--border': props.border,\n },\n ]\n\n const tableStyle: Record<string, string> = {}\n if (props.height) {\n tableStyle.height = typeof props.height === 'number' ? `${props.height}px` : props.height\n }\n\n return h('div', {\n class: 'qxs-table-wrapper',\n style: tableStyle,\n }, [\n h('table', { class: tableClass }, [\n renderHeader(),\n renderBody(),\n ]),\n ])\n }\n },\n})\n\nexport default QxsTable\n"],"names":["TABLE_COLUMNS_KEY","Symbol","TABLE_REGISTER_COLUMN_KEY","QxsTableColumn","defineComponent","name","props","prop","type","String","default","label","width","Number","minWidth","align","sortable","Boolean","fixed","showOverflowTooltip","setup","_ref","slots","registerColumn","inject","columnConfig","renderHeader","header","h","renderCell","row","QxsTable","data","Array","stripe","border","height","rowKey","Function","emptyText","_ref2","columns","ref","sortState","reactive","order","provide","config","value","push","sortedData","computed","sort","a","b","aVal","bVal","result","getRowKey","index","class","map","column","thClass","thStyle","headerContent","sortIcon","style","onClick","handleSort","tableClass","tableStyle","length","rowIndex","rowClass","key","tdClass","tdStyle","cellContent","colspan","empty"],"mappings":"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"}
|
package/lib/src/ui/tag/index.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("vue");const o=e.defineComponent({name:"QxsTag",props:{type:{type:String,default:"primary"},size:{type:String,default:"default"},effect:{type:String,default:"light"},closable:{type:Boolean,default:!1},round:{type:Boolean,default:!1},color:{type:String,default:""}},emits:["close","click"],setup(o,l){let{slots:r,emit:t}=l;const s=e=>{e.stopPropagation(),t("close",e)},a=e=>{t("click",e)};return()=>e.h("span",{class:["qxs-tag",`qxs-tag--${o.type}`,`qxs-tag--${o.size}`,`qxs-tag--${o.effect}`,{"is-round":o.round,"is-closable":o.closable}],style:{display:"inline-flex",alignItems:"center",padding:"large"===o.size?"8px 16px":"small"===o.size?"2px 8px":"4px 12px",fontSize:"large"===o.size?"14px":"small"===o.size?"12px":"13px",borderRadius:o.round?"9999px":"4px",border:"1px solid",lineHeight:"1",whiteSpace:"nowrap",...o.color?"dark"===o.effect?{backgroundColor:o.color,borderColor:o.color,color:"#fff"}:"light"===o.effect?{backgroundColor:`${o.color}1a`,borderColor:`${o.color}4d`,color:o.color}:{backgroundColor:"transparent",borderColor:o.color,color:o.color}:{}},onClick:a},[r.default?.(),o.closable&&e.h("span",{class:"qxs-tag__close",onClick:s,style:{marginLeft:"6px",cursor:"pointer",fontSize:"12px",fontWeight:"bold"}},"×")])}});exports.QxsTag=o,exports.default=o;
|
|
2
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../../../../packages/components/src/ui/tag/index.ts"],"sourcesContent":["import { defineComponent, h, type PropType } from 'vue'\n\nexport type TagType = 'primary' | 'success' | 'warning' | 'danger' | 'info'\nexport type TagSize = 'large' | 'default' | 'small'\nexport type TagEffect = 'dark' | 'light' | 'plain'\n\nexport const QxsTag = defineComponent({\n name: 'QxsTag',\n props: {\n type: { type: String as PropType<TagType>, default: 'primary' },\n size: { type: String as PropType<TagSize>, default: 'default' },\n effect: { type: String as PropType<TagEffect>, default: 'light' },\n closable: { type: Boolean, default: false },\n round: { type: Boolean, default: false },\n color: { type: String, default: '' },\n },\n emits: ['close', 'click'],\n setup(props, { slots, emit }) {\n const handleClose = (e: MouseEvent) => {\n e.stopPropagation()\n emit('close', e)\n }\n\n const handleClick = (e: MouseEvent) => {\n emit('click', e)\n }\n\n const getColorStyles = () => {\n if (!props.color) { return {} }\n\n if (props.effect === 'dark') {\n return {\n backgroundColor: props.color,\n borderColor: props.color,\n color: '#fff',\n }\n }\n else if (props.effect === 'light') {\n return {\n backgroundColor: `${props.color}1a`,\n borderColor: `${props.color}4d`,\n color: props.color,\n }\n }\n else {\n return {\n backgroundColor: 'transparent',\n borderColor: props.color,\n color: props.color,\n }\n }\n }\n\n return () => h('span', {\n class: [\n 'qxs-tag',\n `qxs-tag--${props.type}`,\n `qxs-tag--${props.size}`,\n `qxs-tag--${props.effect}`,\n {\n 'is-round': props.round,\n 'is-closable': props.closable,\n },\n ],\n style: {\n display: 'inline-flex',\n alignItems: 'center',\n padding: props.size === 'large' ? '8px 16px' : props.size === 'small' ? '2px 8px' : '4px 12px',\n fontSize: props.size === 'large' ? '14px' : props.size === 'small' ? '12px' : '13px',\n borderRadius: props.round ? '9999px' : '4px',\n border: '1px solid',\n lineHeight: '1',\n whiteSpace: 'nowrap',\n ...getColorStyles(),\n },\n onClick: handleClick,\n }, [\n slots.default?.(),\n props.closable && h('span', {\n class: 'qxs-tag__close',\n onClick: handleClose,\n style: {\n marginLeft: '6px',\n cursor: 'pointer',\n fontSize: '12px',\n fontWeight: 'bold',\n },\n }, '×'),\n ])\n },\n})\n\nexport default QxsTag\n"],"names":["QxsTag","defineComponent","name","props","type","String","default","size","effect","closable","Boolean","round","color","emits","setup","_ref","slots","emit","handleClose","e","stopPropagation","handleClick","h","class","style","display","alignItems","padding","fontSize","borderRadius","border","lineHeight","whiteSpace","backgroundColor","borderColor","onClick","marginLeft","cursor","fontWeight"],"mappings":"yFAMO,MAAMA,EAASC,EAAAA,gBAAgB,CACpCC,KAAM,SACNC,MAAO,CACLC,KAAM,CAAEA,KAAMC,OAA6BC,QAAS,WACpDC,KAAM,CAAEH,KAAMC,OAA6BC,QAAS,WACpDE,OAAQ,CAAEJ,KAAMC,OAA+BC,QAAS,SACxDG,SAAU,CAAEL,KAAMM,QAASJ,SAAS,GACpCK,MAAO,CAAEP,KAAMM,QAASJ,SAAS,GACjCM,MAAO,CAAER,KAAMC,OAAQC,QAAS,KAElCO,MAAO,CAAC,QAAS,SACjBC,KAAAA,CAAMX,EAAAY,GAAwB,IAAjBC,MAAEA,EAAAC,KAAOA,GAAKF,EACzB,MAAMG,EAAeC,IACnBA,EAAEC,kBACFH,EAAK,QAASE,IAGVE,EAAeF,IACnBF,EAAK,QAASE,IA6BhB,MAAO,IAAMG,EAAAA,EAAE,OAAQ,CACrBC,MAAO,CACL,UACA,YAAYpB,EAAMC,OAClB,YAAYD,EAAMI,OAClB,YAAYJ,EAAMK,SAClB,CACE,WAAYL,EAAMQ,MAClB,cAAeR,EAAMM,WAGzBe,MAAO,CACLC,QAAS,cACTC,WAAY,SACZC,QAAwB,UAAfxB,EAAMI,KAAmB,WAA4B,UAAfJ,EAAMI,KAAmB,UAAY,WACpFqB,SAAyB,UAAfzB,EAAMI,KAAmB,OAAwB,UAAfJ,EAAMI,KAAmB,OAAS,OAC9EsB,aAAc1B,EAAMQ,MAAQ,SAAW,MACvCmB,OAAQ,YACRC,WAAY,IACZC,WAAY,YA5CT7B,EAAMS,MAEU,SAAjBT,EAAMK,OACD,CACLyB,gBAAiB9B,EAAMS,MACvBsB,YAAa/B,EAAMS,MACnBA,MAAO,QAGe,UAAjBT,EAAMK,OACN,CACLyB,gBAAiB,GAAG9B,EAAMS,UAC1BsB,YAAa,GAAG/B,EAAMS,UACtBA,MAAOT,EAAMS,OAIR,CACLqB,gBAAiB,cACjBC,YAAa/B,EAAMS,MACnBA,MAAOT,EAAMS,OApBU,CAAA,GA+C3BuB,QAASd,GACR,CACDL,EAAMV,YACNH,EAAMM,UAAYa,EAAAA,EAAE,OAAQ,CAC1BC,MAAO,iBACPY,QAASjB,EACTM,MAAO,CACLY,WAAY,MACZC,OAAQ,UACRT,SAAU,OACVU,WAAY,SAEb,MAEP"}
|
package/lib/src/wc-bridge.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("vue");exports.createCustomElementBridge=function(t){return e.defineComponent({name:t.name,inheritAttrs:!1,props:t.props,setup(o,r){let{attrs:n,slots:s,expose:u}=r;const l=e.ref(null);return t.createExpose&&u(t.createExpose(l)),()=>{const r={...n,ref:l};for(const e of Object.keys(t.props)){const t=o[e];void 0!==t&&(r[e]=t)}return e.h(t.tag,r,function(t){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const r=[];t.default&&r.push(...t.default());for(const n of o)"default"!==n&&t[n]&&r.push(...t[n]().map(t=>e.cloneVNode(t,{slot:n})));return r}(s,t.slotNames))}}})},exports.createNullableProp=function(){return{type:null,default:void 0}};
|
|
2
|
-
//# sourceMappingURL=wc-bridge.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"wc-bridge.cjs","sources":["../../../../packages/components/src/wc-bridge.ts"],"sourcesContent":["import { cloneVNode, defineComponent, h, ref, type PropType, type SetupContext, type Slots, type VNode } from 'vue'\n\ntype ExposeFactory = (elRef: ReturnType<typeof ref<HTMLElement | null>>) => Record<string, unknown>\n\nfunction collectSlotChildren(slots: Slots, slotNames: string[] = []) {\n const children: VNode[] = []\n\n if (slots.default) {\n children.push(...slots.default())\n }\n\n for (const slotName of slotNames) {\n if (slotName === 'default' || !slots[slotName]) {\n continue\n }\n children.push(...slots[slotName]!().map(vnode => cloneVNode(vnode, { slot: slotName })))\n }\n\n return children\n}\n\nexport function createNullableProp<T>() {\n return {\n type: null as unknown as PropType<T>,\n default: undefined,\n }\n}\n\nexport function createCustomElementBridge(options: {\n name: string\n tag: string\n props: Record<string, any>\n slotNames?: string[]\n createExpose?: ExposeFactory\n}) {\n return defineComponent({\n name: options.name,\n inheritAttrs: false,\n props: options.props as any,\n setup(props: Record<string, unknown>, { attrs, slots, expose }: SetupContext) {\n const elementRef = ref<HTMLElement | null>(null)\n\n if (options.createExpose) {\n expose(options.createExpose(elementRef))\n }\n\n return () => {\n const bindings: Record<string, unknown> = {\n ...attrs,\n ref: elementRef,\n }\n\n for (const key of Object.keys(options.props)) {\n const value = (props as Record<string, unknown>)[key]\n if (value !== undefined) {\n bindings[key] = value\n }\n }\n\n return h(options.tag, bindings, collectSlotChildren(slots, options.slotNames))\n }\n },\n })\n}\n"],"names":["options","defineComponent","name","inheritAttrs","props","setup","_ref","attrs","slots","expose","elementRef","ref","createExpose","bindings","key","Object","keys","value","h","tag","slotNames","arguments","length","undefined","children","default","push","slotName","map","vnode","cloneVNode","slot","collectSlotChildren","type"],"mappings":"oEA4BO,SAAmCA,GAOxC,OAAOC,kBAAgB,CACrBC,KAAMF,EAAQE,KACdC,cAAc,EACdC,MAAOJ,EAAQI,MACfC,KAAAA,CAAMD,EAAAE,GAAwE,IAAxCC,MAAEA,EAAAC,MAAOA,EAAAC,OAAOA,GAAOH,EAC3D,MAAMI,EAAaC,EAAAA,IAAwB,MAM3C,OAJIX,EAAQY,cACVH,EAAOT,EAAQY,aAAaF,IAGvB,KACL,MAAMG,EAAoC,IACrCN,EACHI,IAAKD,GAGP,IAAA,MAAWI,KAAOC,OAAOC,KAAKhB,EAAQI,OAAQ,CAC5C,MAAMa,EAASb,EAAkCU,QACnC,IAAVG,IACFJ,EAASC,GAAOG,EAEpB,CAEA,OAAOC,EAAAA,EAAElB,EAAQmB,IAAKN,EAvD9B,SAA6BL,GAAwC,IAA1BY,EAAAC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAsB,GAC/D,MAAMG,EAAoB,GAEtBhB,EAAMiB,SACRD,EAASE,QAAQlB,EAAMiB,WAGzB,IAAA,MAAWE,KAAYP,EACJ,YAAbO,GAA2BnB,EAAMmB,IAGrCH,EAASE,QAAQlB,EAAMmB,KAAaC,IAAIC,GAASC,EAAAA,WAAWD,EAAO,CAAEE,KAAMJ,MAG7E,OAAOH,CACT,CAwCwCQ,CAAoBxB,EAAOR,EAAQoB,YAEvE,GAEJ,6BA1CO,WACL,MAAO,CACLa,KAAM,KACNR,aAAS,EAEb"}
|
package/lib/src/withInstall.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"withInstall.cjs","sources":["../../../../packages/components/src/withInstall.ts"],"sourcesContent":["import type { App, Plugin } from 'vue'\n\nexport type SFCWithInstall<T> = T & Plugin\n// type SFCwithInstall<T> = T & Plugin\n\nexport function withInstall<T, E extends Record<string, any>>(main: T,\n extra?: E) {\n ; (main as SFCWithInstall<T>).install = (app: App): void => {\n for (const comp of [main, ...Object.values(extra ?? {})]) {\n app.component(comp.name, comp)\n }\n }\n\n if (extra) {\n for (const [key, comp] of Object.entries(extra)) {\n ; (main as any)[key] = comp\n }\n }\n return main as SFCWithInstall<T> & E\n}\n"],"names":["main","extra","install","app","comp","Object","values","component","name"],"mappings":"iCAKO,SAAuDA,EAC5DC,GAYA,OAXGD,EAA2BE,QAAWC,IACvC,IAAA,MAAWC,IAAQ,CAACJ,KAASK,OAAOC,OAAgB,CAAA,IAClDH,EAAII,UAAUH,EAAKI,KAAMJ,IAStBJ,CACT"}
|
package/types/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../packages/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,gBAAgB,CAAA;AAEtC,cAAc,kBAAkB,CAAA;AAEhC,eAAO,MAAM,OAAO,oBAAoB,CAAA;AACxC,eAAO,MAAM,OAAO,QAAoB,CAAA;AACxC,eAAe,SAAS,CAAA"}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { type QxsAlertInstance } from './src/alert';
|
|
2
|
-
export declare const QxsAlert: import("../withInstall").SFCWithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
-
title: {
|
|
4
|
-
type: StringConstructor;
|
|
5
|
-
default: string;
|
|
6
|
-
};
|
|
7
|
-
description: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
type: {
|
|
12
|
-
type: () => "success" | "warning" | "info" | "error";
|
|
13
|
-
default: string;
|
|
14
|
-
};
|
|
15
|
-
closable: {
|
|
16
|
-
type: BooleanConstructor;
|
|
17
|
-
default: boolean;
|
|
18
|
-
};
|
|
19
|
-
showIcon: {
|
|
20
|
-
type: BooleanConstructor;
|
|
21
|
-
default: boolean;
|
|
22
|
-
};
|
|
23
|
-
closeText: {
|
|
24
|
-
type: StringConstructor;
|
|
25
|
-
default: string;
|
|
26
|
-
};
|
|
27
|
-
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
28
|
-
[key: string]: any;
|
|
29
|
-
}> | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
-
title: {
|
|
31
|
-
type: StringConstructor;
|
|
32
|
-
default: string;
|
|
33
|
-
};
|
|
34
|
-
description: {
|
|
35
|
-
type: StringConstructor;
|
|
36
|
-
default: string;
|
|
37
|
-
};
|
|
38
|
-
type: {
|
|
39
|
-
type: () => "success" | "warning" | "info" | "error";
|
|
40
|
-
default: string;
|
|
41
|
-
};
|
|
42
|
-
closable: {
|
|
43
|
-
type: BooleanConstructor;
|
|
44
|
-
default: boolean;
|
|
45
|
-
};
|
|
46
|
-
showIcon: {
|
|
47
|
-
type: BooleanConstructor;
|
|
48
|
-
default: boolean;
|
|
49
|
-
};
|
|
50
|
-
closeText: {
|
|
51
|
-
type: StringConstructor;
|
|
52
|
-
default: string;
|
|
53
|
-
};
|
|
54
|
-
}>> & Readonly<{
|
|
55
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
56
|
-
}>, {
|
|
57
|
-
title: string;
|
|
58
|
-
type: "success" | "warning" | "info" | "error";
|
|
59
|
-
description: string;
|
|
60
|
-
closable: boolean;
|
|
61
|
-
showIcon: boolean;
|
|
62
|
-
closeText: string;
|
|
63
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
64
|
-
export { type QxsAlertInstance };
|
|
65
|
-
export default QxsAlert;
|
|
66
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/components/src/alert/index.ts"],"names":[],"mappings":"AACA,OAAuB,EAAE,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAEnE,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mGAA8B,CAAA;AAEnD,OAAO,EAAE,KAAK,gBAAgB,EAAE,CAAA;AAChC,eAAe,QAAQ,CAAA"}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
export interface QxsAlertProps {
|
|
2
|
-
title?: string;
|
|
3
|
-
description?: string;
|
|
4
|
-
type?: 'success' | 'warning' | 'info' | 'error';
|
|
5
|
-
closable?: boolean;
|
|
6
|
-
showIcon?: boolean;
|
|
7
|
-
closeText?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const QxsAlert: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
10
|
-
title: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
|
-
description: {
|
|
15
|
-
type: StringConstructor;
|
|
16
|
-
default: string;
|
|
17
|
-
};
|
|
18
|
-
type: {
|
|
19
|
-
type: () => "success" | "warning" | "info" | "error";
|
|
20
|
-
default: string;
|
|
21
|
-
};
|
|
22
|
-
closable: {
|
|
23
|
-
type: BooleanConstructor;
|
|
24
|
-
default: boolean;
|
|
25
|
-
};
|
|
26
|
-
showIcon: {
|
|
27
|
-
type: BooleanConstructor;
|
|
28
|
-
default: boolean;
|
|
29
|
-
};
|
|
30
|
-
closeText: {
|
|
31
|
-
type: StringConstructor;
|
|
32
|
-
default: string;
|
|
33
|
-
};
|
|
34
|
-
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
35
|
-
[key: string]: any;
|
|
36
|
-
}> | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
-
title: {
|
|
38
|
-
type: StringConstructor;
|
|
39
|
-
default: string;
|
|
40
|
-
};
|
|
41
|
-
description: {
|
|
42
|
-
type: StringConstructor;
|
|
43
|
-
default: string;
|
|
44
|
-
};
|
|
45
|
-
type: {
|
|
46
|
-
type: () => "success" | "warning" | "info" | "error";
|
|
47
|
-
default: string;
|
|
48
|
-
};
|
|
49
|
-
closable: {
|
|
50
|
-
type: BooleanConstructor;
|
|
51
|
-
default: boolean;
|
|
52
|
-
};
|
|
53
|
-
showIcon: {
|
|
54
|
-
type: BooleanConstructor;
|
|
55
|
-
default: boolean;
|
|
56
|
-
};
|
|
57
|
-
closeText: {
|
|
58
|
-
type: StringConstructor;
|
|
59
|
-
default: string;
|
|
60
|
-
};
|
|
61
|
-
}>> & Readonly<{
|
|
62
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
63
|
-
}>, {
|
|
64
|
-
title: string;
|
|
65
|
-
type: "success" | "warning" | "info" | "error";
|
|
66
|
-
description: string;
|
|
67
|
-
closable: boolean;
|
|
68
|
-
showIcon: boolean;
|
|
69
|
-
closeText: string;
|
|
70
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
71
|
-
export type QxsAlertInstance = InstanceType<typeof QxsAlert>;
|
|
72
|
-
export default QxsAlert;
|
|
73
|
-
//# sourceMappingURL=alert.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/alert/src/alert.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,aAAa;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,CAAA;IAC/C,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAqDD,eAAO,MAAM,QAAQ;;;;;;;;;;cAKO,MAAM,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;cAA9C,MAAM,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO;;;;;;;;;;;;;;;;;;;;;;;;4EA8BxE,CAAA;AAEF,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,QAAQ,CAAC,CAAA;AAC5D,eAAe,QAAQ,CAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export * from './alert/index';
|
|
2
|
-
export * from './feedback-plugin/index';
|
|
3
|
-
export * from './data-chart/index';
|
|
4
|
-
export * from './file-upload/index';
|
|
5
|
-
export * from './image-upload/index';
|
|
6
|
-
export * from './icon/index';
|
|
7
|
-
export * from './photo-crop-tool/index';
|
|
8
|
-
export * from './tiny-mce-editor/index';
|
|
9
|
-
export * from './ui/index';
|
|
10
|
-
//# sourceMappingURL=components.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../../packages/components/src/components.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAM7B,cAAc,yBAAyB,CAAA;AAEvC,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,sBAAsB,CAAA;AAEpC,cAAc,cAAc,CAAA;AAM5B,cAAc,yBAAyB,CAAA;AAEvC,cAAc,yBAAyB,CAAA;AAEvC,cAAc,YAAY,CAAA"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import '@qxs-bns/components-wc';
|
|
2
|
-
export type LegacyDataChartData = Record<string, any>;
|
|
3
|
-
export declare const QxsDataChart: import("../withInstall").SFCWithInstall<import("vue").DefineComponent<{
|
|
4
|
-
[x: string]: /*elided*/ any;
|
|
5
|
-
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
6
|
-
[key: string]: any;
|
|
7
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
8
|
-
[x: string]: /*elided*/ any;
|
|
9
|
-
}> & Readonly<{}>, {} | {
|
|
10
|
-
[x: string]: any;
|
|
11
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
12
|
-
export default QxsDataChart;
|
|
13
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/components/src/data-chart/index.ts"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAI/B,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;AAsBrD,eAAO,MAAM,YAAY;;;;;;;;mGAAyB,CAAA;AAElD,eAAe,YAAY,CAAA"}
|
package/types/src/defaults.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../../packages/components/src/defaults.ts"],"names":[],"mappings":";;;;AAGA,wBAAwC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/components/src/dialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,iBAAiB,EAAE,KAAK,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAEvF,OAAO,EACL,SAAS,EACT,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,GACtB,CAAA"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export interface QxsDialogOptions {
|
|
2
|
-
title?: string;
|
|
3
|
-
content?: string;
|
|
4
|
-
width?: string;
|
|
5
|
-
showClose?: boolean;
|
|
6
|
-
closeOnClickModal?: boolean;
|
|
7
|
-
closeOnPressEscape?: boolean;
|
|
8
|
-
confirmButtonText?: string;
|
|
9
|
-
cancelButtonText?: string;
|
|
10
|
-
showConfirmButton?: boolean;
|
|
11
|
-
showCancelButton?: boolean;
|
|
12
|
-
onConfirm?: () => void | Promise<void>;
|
|
13
|
-
onCancel?: () => void;
|
|
14
|
-
onClose?: () => void;
|
|
15
|
-
}
|
|
16
|
-
interface QxsDialogInstance {
|
|
17
|
-
close: () => void;
|
|
18
|
-
}
|
|
19
|
-
interface QxsDialogFunction {
|
|
20
|
-
(options: QxsDialogOptions): QxsDialogInstance;
|
|
21
|
-
}
|
|
22
|
-
declare const QxsDialog: QxsDialogFunction;
|
|
23
|
-
export { QxsDialog, type QxsDialogFunction, type QxsDialogInstance };
|
|
24
|
-
export default QxsDialog;
|
|
25
|
-
//# sourceMappingURL=dialog.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/dialog/src/dialog.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,SAAS,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IACtC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB;AAED,UAAU,iBAAiB;IACzB,KAAK,EAAE,MAAM,IAAI,CAAA;CAClB;AA+ND,UAAU,iBAAiB;IACzB,CAAC,OAAO,EAAE,gBAAgB,GAAG,iBAAiB,CAAA;CAC/C;AAED,QAAA,MAAM,SAAS,EAAmB,iBAAiB,CAAA;AAEnD,OAAO,EAAE,SAAS,EAAE,KAAK,iBAAiB,EAAE,KAAK,iBAAiB,EAAE,CAAA;AACpE,eAAe,SAAS,CAAA"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { Plugin } from 'vue';
|
|
2
|
-
export interface QxsFeedbackPluginOptions {
|
|
3
|
-
message?: boolean;
|
|
4
|
-
dialog?: boolean;
|
|
5
|
-
}
|
|
6
|
-
declare const QxsFeedbackPlugin: Plugin;
|
|
7
|
-
export { QxsFeedbackPlugin };
|
|
8
|
-
export default QxsFeedbackPlugin;
|
|
9
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/components/src/feedback-plugin/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAO,MAAM,EAAE,MAAM,KAAK,CAAA;AAItC,MAAM,WAAW,wBAAwB;IACvC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AAED,QAAA,MAAM,iBAAiB,EAAE,MAiBxB,CAAA;AAED,OAAO,EAAE,iBAAiB,EAAE,CAAA;AAC5B,eAAe,iBAAiB,CAAA"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import '@qxs-bns/components-wc';
|
|
2
|
-
export declare const QxsFileUpload: import("../withInstall").SFCWithInstall<import("vue").DefineComponent<{
|
|
3
|
-
[x: string]: /*elided*/ any;
|
|
4
|
-
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
5
|
-
[key: string]: any;
|
|
6
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
7
|
-
[x: string]: /*elided*/ any;
|
|
8
|
-
}> & Readonly<{}>, {} | {
|
|
9
|
-
[x: string]: any;
|
|
10
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
11
|
-
export default QxsFileUpload;
|
|
12
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/components/src/file-upload/index.ts"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AA+B/B,eAAO,MAAM,aAAa;;;;;;;;mGAAyB,CAAA;AAEnD,eAAe,aAAa,CAAA"}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import type { PropsType } from './src/icon';
|
|
2
|
-
declare const QxsIcon: import("../withInstall").SFCWithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
-
icon: {
|
|
4
|
-
type: any;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
flip: {
|
|
8
|
-
type: () => "horizontal" | "vertical" | "both" | "" | undefined;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
rotate: {
|
|
12
|
-
type: NumberConstructor;
|
|
13
|
-
default: number;
|
|
14
|
-
};
|
|
15
|
-
color: StringConstructor;
|
|
16
|
-
size: (StringConstructor | NumberConstructor)[];
|
|
17
|
-
localIconPrefix: {
|
|
18
|
-
type: StringConstructor;
|
|
19
|
-
default: string;
|
|
20
|
-
};
|
|
21
|
-
fallback: StringConstructor;
|
|
22
|
-
loading: StringConstructor;
|
|
23
|
-
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
24
|
-
[key: string]: any;
|
|
25
|
-
}> | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
-
icon: {
|
|
27
|
-
type: any;
|
|
28
|
-
required: true;
|
|
29
|
-
};
|
|
30
|
-
flip: {
|
|
31
|
-
type: () => "horizontal" | "vertical" | "both" | "" | undefined;
|
|
32
|
-
default: string;
|
|
33
|
-
};
|
|
34
|
-
rotate: {
|
|
35
|
-
type: NumberConstructor;
|
|
36
|
-
default: number;
|
|
37
|
-
};
|
|
38
|
-
color: StringConstructor;
|
|
39
|
-
size: (StringConstructor | NumberConstructor)[];
|
|
40
|
-
localIconPrefix: {
|
|
41
|
-
type: StringConstructor;
|
|
42
|
-
default: string;
|
|
43
|
-
};
|
|
44
|
-
fallback: StringConstructor;
|
|
45
|
-
loading: StringConstructor;
|
|
46
|
-
}>> & Readonly<{}>, {
|
|
47
|
-
flip: "" | "horizontal" | "vertical" | "both" | undefined;
|
|
48
|
-
rotate: number;
|
|
49
|
-
localIconPrefix: string;
|
|
50
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
51
|
-
declare function createQxsIcon(opt: PropsType | string): import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
52
|
-
[key: string]: any;
|
|
53
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
54
|
-
export { createQxsIcon, QxsIcon, };
|
|
55
|
-
export default QxsIcon;
|
|
56
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/components/src/icon/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAK3C,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mGAAyB,CAAA;AAGtC,iBAAS,aAAa,CAAC,GAAG,EAAE,SAAS,GAAG,MAAM;;4OAO7C;AAED,OAAO,EACL,aAAa,EACb,OAAO,GACR,CAAA;AAED,eAAe,OAAO,CAAA"}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import type { Component } from 'vue';
|
|
2
|
-
export interface PropsType {
|
|
3
|
-
icon: string | Component;
|
|
4
|
-
flip?: 'horizontal' | 'vertical' | 'both' | '' | undefined;
|
|
5
|
-
rotate?: number;
|
|
6
|
-
color?: string;
|
|
7
|
-
size?: string | number;
|
|
8
|
-
localIconPrefix?: string;
|
|
9
|
-
fallback?: string;
|
|
10
|
-
loading?: string;
|
|
11
|
-
}
|
|
12
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
13
|
-
icon: {
|
|
14
|
-
type: any;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
flip: {
|
|
18
|
-
type: () => "horizontal" | "vertical" | "both" | "" | undefined;
|
|
19
|
-
default: string;
|
|
20
|
-
};
|
|
21
|
-
rotate: {
|
|
22
|
-
type: NumberConstructor;
|
|
23
|
-
default: number;
|
|
24
|
-
};
|
|
25
|
-
color: StringConstructor;
|
|
26
|
-
size: (StringConstructor | NumberConstructor)[];
|
|
27
|
-
localIconPrefix: {
|
|
28
|
-
type: StringConstructor;
|
|
29
|
-
default: string;
|
|
30
|
-
};
|
|
31
|
-
fallback: StringConstructor;
|
|
32
|
-
loading: StringConstructor;
|
|
33
|
-
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
34
|
-
[key: string]: any;
|
|
35
|
-
}> | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
|
-
icon: {
|
|
37
|
-
type: any;
|
|
38
|
-
required: true;
|
|
39
|
-
};
|
|
40
|
-
flip: {
|
|
41
|
-
type: () => "horizontal" | "vertical" | "both" | "" | undefined;
|
|
42
|
-
default: string;
|
|
43
|
-
};
|
|
44
|
-
rotate: {
|
|
45
|
-
type: NumberConstructor;
|
|
46
|
-
default: number;
|
|
47
|
-
};
|
|
48
|
-
color: StringConstructor;
|
|
49
|
-
size: (StringConstructor | NumberConstructor)[];
|
|
50
|
-
localIconPrefix: {
|
|
51
|
-
type: StringConstructor;
|
|
52
|
-
default: string;
|
|
53
|
-
};
|
|
54
|
-
fallback: StringConstructor;
|
|
55
|
-
loading: StringConstructor;
|
|
56
|
-
}>> & Readonly<{}>, {
|
|
57
|
-
flip: "" | "horizontal" | "vertical" | "both" | undefined;
|
|
58
|
-
rotate: number;
|
|
59
|
-
localIconPrefix: string;
|
|
60
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
61
|
-
export default _default;
|
|
62
|
-
//# sourceMappingURL=icon.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/icon/src/icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAiB,MAAM,KAAK,CAAA;AAKnD,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,GAAG,SAAS,CAAA;IACxB,IAAI,CAAC,EAAE,YAAY,GAAG,UAAU,GAAG,MAAM,GAAG,EAAE,GAAG,SAAS,CAAA;IAC1D,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,eAAe,CAAC,EAAE,MAAM,CAAA;IAExB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;;;cAOyC,GAAG;;;;cAIvB,MAAM,YAAY,GAAG,UAAU,GAAG,MAAM,GAAG,EAAE,GAAG,SAAS;;;;;;;;;;;;;;;;;;;cAJrC,GAAG;;;;cAIvB,MAAM,YAAY,GAAG,UAAU,GAAG,MAAM,GAAG,EAAE,GAAG,SAAS;;;;;;;;;;;;;;;;;;;;AAT/E,wBAkVE"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import '@qxs-bns/components-wc';
|
|
2
|
-
export declare const QxsImageUpload: import("../withInstall").SFCWithInstall<import("vue").DefineComponent<{
|
|
3
|
-
[x: string]: /*elided*/ any;
|
|
4
|
-
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
5
|
-
[key: string]: any;
|
|
6
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
7
|
-
[x: string]: /*elided*/ any;
|
|
8
|
-
}> & Readonly<{}>, {} | {
|
|
9
|
-
[x: string]: any;
|
|
10
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
11
|
-
export default QxsImageUpload;
|
|
12
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/components/src/image-upload/index.ts"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAsC/B,eAAO,MAAM,cAAc;;;;;;;;mGAAyB,CAAA;AAEpD,eAAe,cAAc,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"make-installer.d.ts","sourceRoot":"","sources":["../../../../packages/components/src/make-installer.ts"],"names":[],"mappings":"AAEA,iBAAS,aAAa,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;mBAC9B,GAAG;EAa1B;AAED,OAAO,EAAE,aAAa,EAAE,CAAA"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { QxsMessage, type QxsMessageFunction, type QxsMessageInstance, type QxsMessageOptions, type QxsMessageParams } from './src/message';
|
|
2
|
-
export { QxsMessage, type QxsMessageFunction, type QxsMessageInstance, type QxsMessageOptions, type QxsMessageParams, };
|
|
3
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/components/src/message/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,kBAAkB,EAAE,KAAK,kBAAkB,EAAE,KAAK,iBAAiB,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAE3I,OAAO,EACL,UAAU,EACV,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,GACtB,CAAA"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export interface QxsMessageOptions {
|
|
2
|
-
message: string;
|
|
3
|
-
duration?: number;
|
|
4
|
-
}
|
|
5
|
-
export type QxsMessageParams = QxsMessageOptions | string;
|
|
6
|
-
interface QxsMessageInstance {
|
|
7
|
-
close: () => void;
|
|
8
|
-
}
|
|
9
|
-
export interface QxsMessageFunction {
|
|
10
|
-
(params: QxsMessageParams): QxsMessageInstance;
|
|
11
|
-
success: (params: QxsMessageParams) => QxsMessageInstance;
|
|
12
|
-
warning: (params: QxsMessageParams) => QxsMessageInstance;
|
|
13
|
-
info: (params: QxsMessageParams) => QxsMessageInstance;
|
|
14
|
-
error: (params: QxsMessageParams) => QxsMessageInstance;
|
|
15
|
-
closeAll: () => void;
|
|
16
|
-
}
|
|
17
|
-
declare const QxsMessage: QxsMessageFunction;
|
|
18
|
-
export { QxsMessage };
|
|
19
|
-
export type { QxsMessageInstance };
|
|
20
|
-
export default QxsMessage;
|
|
21
|
-
//# sourceMappingURL=message.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/message/src/message.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,MAAM,gBAAgB,GAAG,iBAAiB,GAAG,MAAM,CAAA;AAEzD,UAAU,kBAAkB;IAC1B,KAAK,EAAE,MAAM,IAAI,CAAA;CAClB;AA6GD,MAAM,WAAW,kBAAkB;IACjC,CAAC,MAAM,EAAE,gBAAgB,GAAG,kBAAkB,CAAA;IAC9C,OAAO,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,kBAAkB,CAAA;IACzD,OAAO,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,kBAAkB,CAAA;IACzD,IAAI,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,kBAAkB,CAAA;IACtD,KAAK,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,kBAAkB,CAAA;IACvD,QAAQ,EAAE,MAAM,IAAI,CAAA;CACrB;AAED,QAAA,MAAM,UAAU,EAEX,kBAAkB,CAAA;AAUvB,OAAO,EAAE,UAAU,EAAE,CAAA;AACrB,YAAY,EAAE,kBAAkB,EAAE,CAAA;AAClC,eAAe,UAAU,CAAA"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
3
|
-
//# sourceMappingURL=toaster.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"toaster.vue.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/message/src/toaster.vue"],"names":[],"mappings":";AAuBA,wBACG"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import '@qxs-bns/components-wc';
|
|
2
|
-
export declare const QxsPhotoCropTool: import("../withInstall").SFCWithInstall<import("vue").DefineComponent<{
|
|
3
|
-
[x: string]: /*elided*/ any;
|
|
4
|
-
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
5
|
-
[key: string]: any;
|
|
6
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
7
|
-
[x: string]: /*elided*/ any;
|
|
8
|
-
}> & Readonly<{}>, {} | {
|
|
9
|
-
[x: string]: any;
|
|
10
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
11
|
-
export default QxsPhotoCropTool;
|
|
12
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/components/src/photo-crop-tool/index.ts"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA;AAqB/B,eAAO,MAAM,gBAAgB;;;;;;;;mGAAyB,CAAA;AAEtD,eAAe,gBAAgB,CAAA"}
|