@blueking/ai-ui-sdk 0.0.15-beta.8 → 0.1.0-beta.1
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/dist/common/{chart-helper.js → chart-helper.ts.js} +1 -1
- package/dist/common/util.d.ts +26 -12
- package/dist/common/{util.js → util.ts.js} +67 -34
- package/dist/component.d.ts +6 -0
- package/dist/component.ts.js +7 -0
- package/dist/components/render-aside/index.script.vue.js +69 -0
- package/dist/components/render-aside/index.vue.css +49 -0
- package/dist/components/render-aside/index.vue.d.ts +26 -0
- package/dist/components/render-aside/index.vue.js +5 -0
- package/dist/components/render-auto-height-textarea/index.script.vue.js.js +82 -0
- package/dist/components/render-auto-height-textarea/index.vue.css +48 -0
- package/dist/components/render-auto-height-textarea/index.vue.d.ts +19 -0
- package/dist/components/render-auto-height-textarea/index.vue.js +5 -0
- package/dist/components/render-collapse/index.script.vue.js.js +52 -0
- package/dist/components/render-collapse/index.vue.css +10 -0
- package/dist/components/render-collapse/index.vue.d.ts +18 -0
- package/dist/components/render-collapse/index.vue.js +5 -0
- package/dist/components/render-dataset/components/plus-dataset/dataset-footer.script.vue.js.js +108 -0
- package/dist/components/render-dataset/components/plus-dataset/dataset-footer.vue.d.ts +14 -0
- package/dist/components/render-dataset/components/plus-dataset/dataset-footer.vue.js +3 -0
- package/dist/components/render-dataset/components/plus-dataset/dataset-form.script.vue.js.js +305 -0
- package/dist/components/render-dataset/components/plus-dataset/dataset-form.vue.css +15 -0
- package/dist/components/render-dataset/components/plus-dataset/dataset-form.vue.d.ts +13 -0
- package/dist/components/render-dataset/components/plus-dataset/dataset-form.vue.js +5 -0
- package/dist/components/render-dataset/components/plus-dataset/index.script.vue.js.js +108 -0
- package/dist/components/render-dataset/components/plus-dataset/index.vue.css +5 -0
- package/dist/components/render-dataset/components/plus-dataset/index.vue.d.ts +9 -0
- package/dist/components/render-dataset/components/plus-dataset/index.vue.js +5 -0
- package/dist/components/render-dataset/components/plus-dataset-data/form/category.script.vue.js.js +134 -0
- package/dist/components/render-dataset/components/plus-dataset-data/form/category.vue.d.ts +10 -0
- package/dist/components/render-dataset/components/plus-dataset-data/form/category.vue.js +3 -0
- package/dist/components/render-dataset/components/plus-dataset-data/form/dataset.script.vue.js.js +130 -0
- package/dist/components/render-dataset/components/plus-dataset-data/form/dataset.vue.d.ts +12 -0
- package/dist/components/render-dataset/components/plus-dataset-data/form/dataset.vue.js +3 -0
- package/dist/components/render-dataset/components/plus-dataset-data/form/file.script.vue.js.js +194 -0
- package/dist/components/render-dataset/components/plus-dataset-data/form/file.vue.d.ts +12 -0
- package/dist/components/render-dataset/components/plus-dataset-data/form/file.vue.js +3 -0
- package/dist/components/render-dataset/components/plus-dataset-data/form/footer.script.vue.js.js +119 -0
- package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.css +5 -0
- package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.d.ts +13 -0
- package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.js +5 -0
- package/dist/components/render-dataset/components/plus-dataset-data/form/index.script.vue.js.js +111 -0
- package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.d.ts +11 -0
- package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.js +3 -0
- package/dist/components/render-dataset/components/plus-dataset-data/form/manual.script.vue.js.js +163 -0
- package/dist/components/render-dataset/components/plus-dataset-data/form/manual.vue.d.ts +12 -0
- package/dist/components/render-dataset/components/plus-dataset-data/form/manual.vue.js +3 -0
- package/dist/components/render-dataset/components/plus-dataset-data/index.script.vue.js.js +43 -0
- package/dist/components/render-dataset/components/plus-dataset-data/index.vue.d.ts +6 -0
- package/dist/components/render-dataset/components/plus-dataset-data/index.vue.js +3 -0
- package/dist/components/render-dataset/components/search-dataset/index.script.vue.js +7 -0
- package/dist/components/render-dataset/components/search-dataset/index.vue.d.ts +2 -0
- package/dist/components/render-dataset/components/search-dataset/index.vue.js +4 -0
- package/dist/components/render-dataset/components/source-type-icon/index.script.vue.js.js +29 -0
- package/dist/components/render-dataset/components/source-type-icon/index.vue.css +10 -0
- package/dist/components/render-dataset/components/source-type-icon/index.vue.d.ts +6 -0
- package/dist/components/render-dataset/components/source-type-icon/index.vue.js +5 -0
- package/dist/components/render-dataset/index.script.vue.js.js +86 -0
- package/dist/components/render-dataset/index.vue.css +6 -0
- package/dist/components/render-dataset/index.vue.d.ts +5 -0
- package/dist/components/render-dataset/index.vue.js +5 -0
- package/dist/components/render-dataset-detail/components/header.script.vue.js.js +35 -0
- package/dist/components/render-dataset-detail/components/header.vue.d.ts +2 -0
- package/dist/components/render-dataset-detail/components/header.vue.js +3 -0
- package/dist/components/render-dataset-detail/components/tab.script.vue.js.js +18 -0
- package/dist/components/render-dataset-detail/components/tab.vue.d.ts +2 -0
- package/dist/components/render-dataset-detail/components/tab.vue.js +3 -0
- package/dist/components/render-dataset-detail/index.script.vue.js.js +16 -0
- package/dist/components/render-dataset-detail/index.vue.d.ts +2 -0
- package/dist/components/render-dataset-detail/index.vue.js +3 -0
- package/dist/components/render-dataset-detail-origin-data/components/batch-operation/index.script.vue.js.js +22 -0
- package/dist/components/render-dataset-detail-origin-data/components/batch-operation/index.vue.js +3 -0
- package/dist/components/render-dataset-detail-origin-data/components/edit-data/index.script.vue.js.js +268 -0
- package/dist/components/render-dataset-detail-origin-data/components/edit-data/index.vue.css +38 -0
- package/dist/{component/render-input/render-drag.vue.d.ts → components/render-dataset-detail-origin-data/components/edit-data/index.vue.d.ts} +6 -7
- package/dist/components/render-dataset-detail-origin-data/components/edit-data/index.vue.js +5 -0
- package/dist/components/render-dataset-detail-origin-data/components/operation-record/index.script.vue.js.js +89 -0
- package/dist/components/render-dataset-detail-origin-data/components/operation-record/index.vue.css +18 -0
- package/dist/{component/render-message/token-expired-message.vue.d.ts → components/render-dataset-detail-origin-data/components/operation-record/index.vue.d.ts} +5 -9
- package/dist/components/render-dataset-detail-origin-data/components/operation-record/index.vue.js +5 -0
- package/dist/components/render-dataset-detail-origin-data/components/operation-record/table/index.script.vue.js.js +188 -0
- package/dist/components/render-dataset-detail-origin-data/components/operation-record/table/index.vue.css +10 -0
- package/dist/{component/render-message/time-message.vue.d.ts → components/render-dataset-detail-origin-data/components/operation-record/table/index.vue.d.ts} +3 -2
- package/dist/components/render-dataset-detail-origin-data/components/operation-record/table/index.vue.js +5 -0
- package/dist/components/render-dataset-detail-origin-data/components/operation-record/view-op-result/index.script.vue.js.js +74 -0
- package/dist/components/render-dataset-detail-origin-data/components/operation-record/view-op-result/index.vue.css +6 -0
- package/dist/components/render-dataset-detail-origin-data/components/operation-record/view-op-result/index.vue.d.ts +10 -0
- package/dist/components/render-dataset-detail-origin-data/components/operation-record/view-op-result/index.vue.js +5 -0
- package/dist/components/render-dataset-detail-origin-data/components/search/index.script.vue.js +7 -0
- package/dist/components/render-dataset-detail-origin-data/components/search/index.vue.d.ts +2 -0
- package/dist/components/render-dataset-detail-origin-data/components/search/index.vue.js +4 -0
- package/dist/components/render-dataset-detail-origin-data/components/table/index.script.vue.js.js +216 -0
- package/dist/components/render-dataset-detail-origin-data/components/table/index.vue.css +10 -0
- package/dist/{component/render-image → components/render-dataset-detail-origin-data/components/table}/index.vue.d.ts +1 -2
- package/dist/components/render-dataset-detail-origin-data/components/table/index.vue.js +5 -0
- package/dist/components/render-dataset-detail-origin-data/index.script.vue.js.js +50 -0
- package/dist/components/render-dataset-detail-origin-data/index.vue.css +15 -0
- package/dist/{component/render-message/system-message.vue.d.ts → components/render-dataset-detail-origin-data/index.vue.d.ts} +1 -2
- package/dist/components/render-dataset-detail-origin-data/index.vue.js +5 -0
- package/dist/components/render-dataset-list/components/header.script.vue.js.js +23 -0
- package/dist/components/render-dataset-list/components/header.vue.d.ts +2 -0
- package/dist/components/render-dataset-list/components/header.vue.js +3 -0
- package/dist/components/render-dataset-list/components/main.script.vue.js.js +51 -0
- package/dist/components/render-dataset-list/components/main.vue.css +15 -0
- package/dist/components/render-dataset-list/components/main.vue.d.ts +5 -0
- package/dist/components/render-dataset-list/components/main.vue.js +5 -0
- package/dist/components/render-dataset-list/components/table.script.vue.js.js +183 -0
- package/dist/components/render-dataset-list/components/table.vue.d.ts +5 -0
- package/dist/components/render-dataset-list/components/table.vue.js +3 -0
- package/dist/components/render-dataset-list/index.script.vue.js.js +21 -0
- package/dist/{component/render-message → components/render-dataset-list}/index.vue.d.ts +1 -9
- package/dist/components/render-dataset-list/index.vue.js +3 -0
- package/dist/components/render-expand-collapse/index.script.vue.js.js +33 -0
- package/dist/components/render-expand-collapse/index.vue.css +23 -0
- package/dist/components/render-expand-collapse/index.vue.d.ts +12 -0
- package/dist/components/render-expand-collapse/index.vue.js +5 -0
- package/dist/components/render-file-card/index.script.vue.js.js +89 -0
- package/dist/components/render-file-card/index.vue.css +50 -0
- package/dist/components/render-file-card/index.vue.d.ts +20 -0
- package/dist/components/render-file-card/index.vue.js +5 -0
- package/dist/components/render-file-type-icon/index.script.vue.js.js +24 -0
- package/dist/components/render-file-type-icon/index.vue.css +16 -0
- package/dist/components/render-file-type-icon/index.vue.d.ts +5 -0
- package/dist/components/render-file-type-icon/index.vue.js +5 -0
- package/dist/components/render-header/index.script.vue.js.js +96 -0
- package/dist/components/render-header/index.vue.css +34 -0
- package/dist/components/render-header/index.vue.d.ts +53 -0
- package/dist/components/render-header/index.vue.js +5 -0
- package/dist/components/render-router-tab/index.script.vue.js.js +34 -0
- package/dist/components/render-router-tab/index.vue.css +21 -0
- package/dist/components/render-router-tab/index.vue.d.ts +8 -0
- package/dist/components/render-router-tab/index.vue.js +5 -0
- package/dist/css/fonts/iconcool.eot +0 -0
- package/dist/css/fonts/iconcool.svg +30 -0
- package/dist/css/fonts/iconcool.ttf +0 -0
- package/dist/css/fonts/iconcool.woff +0 -0
- package/dist/css/iconcool.js +1 -1
- package/dist/css/style.css +34 -4
- package/dist/event/{index.js → index.ts.js} +1 -1
- package/dist/hooks/use-chat.d.ts +462 -462
- package/dist/hooks/{use-chat.js → use-chat.ts.js} +97 -60
- package/dist/hooks/{use-click-proxy.js → use-click-proxy.ts.js} +2 -2
- package/dist/hooks/use-dataset-http.d.ts +24 -0
- package/dist/hooks/use-dataset-http.ts.js +83 -0
- package/dist/hooks/use-form-leave-confirm.d.ts +4 -0
- package/dist/hooks/use-form-leave-confirm.ts.js +23 -0
- package/dist/hooks/{use-reference-doc.js → use-reference-doc.ts.js} +4 -4
- package/dist/hooks/{use-http.d.ts → use-session-http.d.ts} +2 -1
- package/dist/hooks/{use-http.js → use-session-http.ts.js} +8 -3
- package/dist/hooks/{use-style.js → use-style.ts.js} +2 -2
- package/dist/hooks/{use-summary.js → use-summary.ts.js} +4 -4
- package/dist/hooks/use-table.d.ts +27 -0
- package/dist/hooks/use-table.ts.js +72 -0
- package/dist/hooks/use-think.d.ts +1 -1
- package/dist/hooks/{use-think.js → use-think.ts.js} +1 -1
- package/dist/http/fetch/{error-interceptor.js → error-interceptor.ts.js} +2 -2
- package/dist/http/fetch/index.d.ts +1 -1
- package/dist/http/fetch/{index.js → index.ts.js} +9 -10
- package/dist/http/fetch/{success-interceptor.js → success-interceptor.ts.js} +1 -1
- package/dist/http/helper/agent.d.ts +7 -0
- package/dist/http/helper/agent.ts.js +13 -0
- package/dist/http/helper/dataset.d.ts +92 -0
- package/dist/http/helper/dataset.ts.js +233 -0
- package/dist/http/helper/{knowledge.js → knowledge.ts.js} +2 -2
- package/dist/http/helper/{session.js → session.ts.js} +4 -4
- package/dist/http/helper/{tool.js → tool.ts.js} +1 -1
- package/dist/main.d.ts +6 -6
- package/dist/main.ts.js +28 -0
- package/dist/types/agent.d.ts +12 -0
- package/dist/types/common.d.ts +10 -0
- package/dist/types/dataset.d.ts +203 -0
- package/dist/types/enum.d.ts +32 -0
- package/dist/types/{enum.js → enum.ts.js} +36 -0
- package/dist/types/file.d.ts +10 -0
- package/dist/types/session.d.ts +4 -2
- package/dist/types/tag.d.ts +7 -0
- package/dist/types/tool.ts.js +1 -0
- package/package.json +24 -9
- package/dist/assets/images/ai.png +0 -0
- package/dist/assets/images/user.png +0 -0
- package/dist/assets/svg/picture-fail.svg +0 -1
- package/dist/component/render-image/index.script.vue.js +0 -37
- package/dist/component/render-image/index.vue.js +0 -3
- package/dist/component/render-input/index.script.vue.js +0 -205
- package/dist/component/render-input/index.vue.css +0 -134
- package/dist/component/render-input/index.vue.d.ts +0 -18
- package/dist/component/render-input/index.vue.js +0 -5
- package/dist/component/render-input/render-drag.script.vue.js +0 -61
- package/dist/component/render-input/render-drag.vue.css +0 -32
- package/dist/component/render-input/render-drag.vue.js +0 -5
- package/dist/component/render-input/render-quill.script.vue.js +0 -197
- package/dist/component/render-input/render-quill.vue.css +0 -27
- package/dist/component/render-input/render-quill.vue.d.ts +0 -24
- package/dist/component/render-input/render-quill.vue.js +0 -4
- package/dist/component/render-knowledge-icon/index.script.vue.js +0 -40
- package/dist/component/render-knowledge-icon/index.vue.css +0 -4
- package/dist/component/render-knowledge-icon/index.vue.d.ts +0 -14
- package/dist/component/render-knowledge-icon/index.vue.js +0 -5
- package/dist/component/render-markdown/mark-down-code.d.ts +0 -2
- package/dist/component/render-markdown/mark-down-code.js +0 -171
- package/dist/component/render-markdown/mark-down-emoji.d.ts +0 -2
- package/dist/component/render-markdown/mark-down-emoji.js +0 -4
- package/dist/component/render-markdown/mark-down.d.ts +0 -74
- package/dist/component/render-markdown/mark-down.js +0 -147
- package/dist/component/render-markdown/mark-down.postcss.css +0 -131
- package/dist/component/render-message/image-not-supported-message.script.vue.js +0 -99
- package/dist/component/render-message/image-not-supported-message.vue.css +0 -66
- package/dist/component/render-message/image-not-supported-message.vue.d.ts +0 -21
- package/dist/component/render-message/image-not-supported-message.vue.js +0 -5
- package/dist/component/render-message/index.script.vue.js +0 -104
- package/dist/component/render-message/index.vue.js +0 -3
- package/dist/component/render-message/openai-message.script.vue.js +0 -215
- package/dist/component/render-message/openai-message.vue.css +0 -98
- package/dist/component/render-message/openai-message.vue.d.ts +0 -15
- package/dist/component/render-message/openai-message.vue.js +0 -5
- package/dist/component/render-message/skeleton-message.script.vue.js +0 -7
- package/dist/component/render-message/skeleton-message.vue.css +0 -7
- package/dist/component/render-message/skeleton-message.vue.js +0 -6
- package/dist/component/render-message/system-message.script.vue.js +0 -17
- package/dist/component/render-message/system-message.vue.css +0 -20
- package/dist/component/render-message/system-message.vue.js +0 -5
- package/dist/component/render-message/time-message.script.vue.js +0 -41
- package/dist/component/render-message/time-message.vue.css +0 -14
- package/dist/component/render-message/time-message.vue.js +0 -5
- package/dist/component/render-message/token-expired-message.script.vue.js +0 -78
- package/dist/component/render-message/token-expired-message.vue.css +0 -60
- package/dist/component/render-message/token-expired-message.vue.js +0 -5
- package/dist/component/render-message/user-message.script.vue.js +0 -241
- package/dist/component/render-message/user-message.vue.css +0 -100
- package/dist/component/render-message/user-message.vue.d.ts +0 -21
- package/dist/component/render-message/user-message.vue.js +0 -5
- package/dist/hooks/use-mouse-drag.js +0 -59
- package/dist/main.js +0 -29
- package/dist/node_modules/bkui-vue/lib/icon/angle-double-down-line.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/angle-double-left-line.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/angle-double-left.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/angle-double-right-line.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/angle-double-right.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/angle-double-up-line.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/angle-down-fill.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/angle-down-line.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/angle-down.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/angle-left.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/angle-right.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/angle-up-fill.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/angle-up.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/archive-fill.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/arrows-left.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/arrows-right.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/assistant.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/audio-fill.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/bk.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/circle.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/close-line.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/close.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/code.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/cog-shape.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/collapse-left.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/copy-shape.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/copy.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/data-shape.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/del.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/doc-fill.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/done.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/down-shape.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/down-small.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/edit-line.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/ellipsis.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/enlarge-line.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/error.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/excel-fill.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/exclamation-circle-shape.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/eye.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/filliscreen-line.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/fix-line.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/fix-shape.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/folder-open.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/folder-shape-open.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/folder-shape.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/folder.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/funnel.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/grag-fill.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/help-document-fill.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/help-fill.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/help.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/image-fill.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/img-error.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/img-placehoulder.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/index.js +0 -113
- package/dist/node_modules/bkui-vue/lib/icon/info-line.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/info.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/left-shape.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/left-turn-line.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/loading.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/narrow-line.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/original.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/pdf-fill.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/play-shape.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/plus.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/ppt-fill.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/qq.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/right-shape.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/right-turn-line.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/search.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/share.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/spinner.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/success.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/switcher-loading.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/text-all.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/text-file.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/text-fill.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/transfer.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/tree-application-shape.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/unfull-screen.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/unvisible.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/up-shape.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/upload.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/video-fill.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/warn.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/weixin-pro.js +0 -191
- package/dist/node_modules/bkui-vue/lib/icon/weixin.js +0 -191
- package/dist/node_modules/bkui-vue/lib/styles/reset.css +0 -439
- package/dist/node_modules/call-bind/index.js +0 -24
- package/dist/node_modules/call-bind-apply-helpers/actualApply.js +0 -10
- package/dist/node_modules/call-bind-apply-helpers/applyBind.js +0 -10
- package/dist/node_modules/call-bind-apply-helpers/functionApply.js +0 -4
- package/dist/node_modules/call-bind-apply-helpers/functionCall.js +0 -4
- package/dist/node_modules/call-bind-apply-helpers/index.js +0 -15
- package/dist/node_modules/call-bind-apply-helpers/reflectApply.js +0 -4
- package/dist/node_modules/call-bound/index.js +0 -19
- package/dist/node_modules/deep-equal/index.js +0 -112
- package/dist/node_modules/define-data-property/index.js +0 -56
- package/dist/node_modules/define-properties/index.js +0 -47
- package/dist/node_modules/dunder-proto/get.js +0 -30
- package/dist/node_modules/es-define-property/index.js +0 -14
- package/dist/node_modules/es-errors/eval.js +0 -4
- package/dist/node_modules/es-errors/index.js +0 -4
- package/dist/node_modules/es-errors/range.js +0 -4
- package/dist/node_modules/es-errors/ref.js +0 -4
- package/dist/node_modules/es-errors/syntax.js +0 -4
- package/dist/node_modules/es-errors/type.js +0 -4
- package/dist/node_modules/es-errors/uri.js +0 -4
- package/dist/node_modules/es-object-atoms/index.js +0 -4
- package/dist/node_modules/extend/index.js +0 -117
- package/dist/node_modules/fast-diff/diff.js +0 -738
- package/dist/node_modules/function-bind/implementation.js +0 -84
- package/dist/node_modules/function-bind/index.js +0 -5
- package/dist/node_modules/functions-have-names/index.js +0 -31
- package/dist/node_modules/get-intrinsic/index.js +0 -378
- package/dist/node_modules/get-proto/Object.getPrototypeOf.js +0 -6
- package/dist/node_modules/get-proto/Reflect.getPrototypeOf.js +0 -4
- package/dist/node_modules/get-proto/index.js +0 -27
- package/dist/node_modules/gopd/gOPD.js +0 -4
- package/dist/node_modules/gopd/index.js +0 -15
- package/dist/node_modules/has-property-descriptors/index.js +0 -22
- package/dist/node_modules/has-symbols/index.js +0 -14
- package/dist/node_modules/has-symbols/shams.js +0 -45
- package/dist/node_modules/has-tostringtag/shams.js +0 -8
- package/dist/node_modules/hasown/index.js +0 -8
- package/dist/node_modules/is-arguments/index.js +0 -44
- package/dist/node_modules/is-date-object/index.js +0 -27
- package/dist/node_modules/is-regex/index.js +0 -69
- package/dist/node_modules/math-intrinsics/abs.js +0 -4
- package/dist/node_modules/math-intrinsics/floor.js +0 -4
- package/dist/node_modules/math-intrinsics/isNaN.js +0 -6
- package/dist/node_modules/math-intrinsics/max.js +0 -4
- package/dist/node_modules/math-intrinsics/min.js +0 -4
- package/dist/node_modules/math-intrinsics/pow.js +0 -4
- package/dist/node_modules/math-intrinsics/round.js +0 -4
- package/dist/node_modules/math-intrinsics/sign.js +0 -11
- package/dist/node_modules/object-is/implementation.js +0 -19
- package/dist/node_modules/object-is/index.js +0 -18
- package/dist/node_modules/object-is/polyfill.js +0 -7
- package/dist/node_modules/object-is/shim.js +0 -14
- package/dist/node_modules/object-keys/implementation.js +0 -122
- package/dist/node_modules/object-keys/index.js +0 -32
- package/dist/node_modules/object-keys/isArguments.js +0 -17
- package/dist/node_modules/quill/dist/quill.js +0 -11562
- package/dist/node_modules/quill/dist/quill.snow.css +0 -945
- package/dist/node_modules/quill-delta/lib/delta.js +0 -344
- package/dist/node_modules/quill-delta/lib/op.js +0 -155
- package/dist/node_modules/regexp.prototype.flags/implementation.js +0 -39
- package/dist/node_modules/regexp.prototype.flags/index.js +0 -18
- package/dist/node_modules/regexp.prototype.flags/polyfill.js +0 -39
- package/dist/node_modules/regexp.prototype.flags/shim.js +0 -26
- package/dist/node_modules/set-function-length/index.js +0 -42
- package/dist/node_modules/set-function-name/index.js +0 -23
- package/dist/node_modules/x-mavon-editor/dist/css/index.css +0 -1
- package/dist/node_modules/x-mavon-editor/dist/font/fontello.eot +0 -0
- package/dist/node_modules/x-mavon-editor/dist/font/fontello.svg +0 -72
- package/dist/node_modules/x-mavon-editor/dist/font/fontello.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/font/fontello.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/font/fontello.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/highlightjs/highlight.min.js +0 -1150
- package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/bash.min.js +0 -20
- package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/css.min.js +0 -31
- package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/go.min.js +0 -14
- package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/java.min.js +0 -37
- package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/javascript.min.js +0 -76
- package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/json.min.js +0 -7
- package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/markdown.min.js +0 -31
- package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/perl.min.js +0 -36
- package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/php.min.js +0 -37
- package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/python.min.js +0 -42
- package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/ruby.min.js +0 -48
- package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/sql.min.js +0 -17
- package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/swift.min.js +0 -60
- package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/typescript.min.js +0 -92
- package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/xml.min.js +0 -28
- package/dist/node_modules/x-mavon-editor/dist/highlightjs/styles/atom-one-dark.min.css +0 -1
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_AMS-Regular.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_AMS-Regular.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_AMS-Regular.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Fraktur-Bold.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Fraktur-Regular.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-Bold.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-Bold.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-Bold.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-BoldItalic.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-Italic.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-Italic.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-Italic.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-Regular.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-Regular.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-Regular.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Math-BoldItalic.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Math-Italic.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Math-Italic.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Math-Italic.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_SansSerif-Bold.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_SansSerif-Italic.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_SansSerif-Regular.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Script-Regular.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Script-Regular.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Script-Regular.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size1-Regular.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size1-Regular.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size1-Regular.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size2-Regular.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size2-Regular.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size2-Regular.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size3-Regular.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size3-Regular.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size3-Regular.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size4-Regular.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size4-Regular.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size4-Regular.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Typewriter-Regular.woff +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
- package/dist/node_modules/x-mavon-editor/dist/katex/katex.min.css +0 -1
- package/dist/node_modules/x-mavon-editor/dist/katex/katex.min.js +0 -1
- package/dist/node_modules/x-mavon-editor/dist/markdown/github-markdown.min.css +0 -2
- package/dist/node_modules/x-mavon-editor/dist/mavon-editor.js +0 -31
- /package/dist/{component/render-message/skeleton-message.vue.d.ts → components/render-dataset-detail-origin-data/components/batch-operation/index.vue.d.ts} +0 -0
- /package/dist/http/fetch/{request-error.js → request-error.ts.js} +0 -0
- /package/dist/http/helper/{permission.js → permission.ts.js} +0 -0
- /package/dist/types/{file.js → dataset.ts.js} +0 -0
- /package/dist/types/{knowledge.js → file.ts.js} +0 -0
- /package/dist/types/{permission.js → knowledge.ts.js} +0 -0
- /package/dist/types/{session.js → permission.ts.js} +0 -0
- /package/dist/types/{tool.js → session.ts.js} +0 -0
@@ -0,0 +1,203 @@
|
|
1
|
+
import type { IPage } from './common';
|
2
|
+
import type { DatasetDataOperatRecordType, DatasetDataSourceType, DatasetType, UserInfoStatus } from './enum';
|
3
|
+
import type { IFileInfo, IFileInfoApi } from './file';
|
4
|
+
export interface IDatasetInfo {
|
5
|
+
all: number;
|
6
|
+
}
|
7
|
+
export interface ISourceTeamParam extends IPage {
|
8
|
+
companyName?: string;
|
9
|
+
ordering?: string;
|
10
|
+
}
|
11
|
+
export interface ISourceTeamParamApi extends IPage {
|
12
|
+
ordering: string;
|
13
|
+
company_name: string;
|
14
|
+
}
|
15
|
+
export interface ISourceTeamApi {
|
16
|
+
updated_at: string;
|
17
|
+
children: ISourceTeamApi[];
|
18
|
+
updated_by: string;
|
19
|
+
name: string;
|
20
|
+
created_at: string;
|
21
|
+
id: number;
|
22
|
+
created_by: string;
|
23
|
+
}
|
24
|
+
export interface ISourceTeam {
|
25
|
+
updatedAt: string;
|
26
|
+
children: ISourceTeam[];
|
27
|
+
updatedBy: string;
|
28
|
+
name: string;
|
29
|
+
createdAt: string;
|
30
|
+
id: number;
|
31
|
+
createdBy: string;
|
32
|
+
}
|
33
|
+
export interface IDatasetFormApi {
|
34
|
+
component_id: number;
|
35
|
+
source_team: string;
|
36
|
+
dataset_name: string;
|
37
|
+
type: DatasetType;
|
38
|
+
}
|
39
|
+
export interface IDatasetForm {
|
40
|
+
componentId: number;
|
41
|
+
sourceTeam: string;
|
42
|
+
datasetName: string;
|
43
|
+
type: DatasetType;
|
44
|
+
}
|
45
|
+
export interface IDatasetApi extends IDatasetFormApi {
|
46
|
+
updated_at: string;
|
47
|
+
updated_by: string;
|
48
|
+
created_at: string;
|
49
|
+
created_by: string;
|
50
|
+
id: number;
|
51
|
+
}
|
52
|
+
export interface IDataset extends IDatasetForm {
|
53
|
+
updatedAt: string;
|
54
|
+
updatedBy: string;
|
55
|
+
createdAt: string;
|
56
|
+
createdBy: string;
|
57
|
+
id: number;
|
58
|
+
}
|
59
|
+
export interface IDatasetListParam extends IPage {
|
60
|
+
componentName?: string;
|
61
|
+
createdBy?: string;
|
62
|
+
datasetName?: string;
|
63
|
+
fuzzy?: string;
|
64
|
+
ordering?: string;
|
65
|
+
sourceTeam?: string;
|
66
|
+
type?: DatasetType;
|
67
|
+
}
|
68
|
+
export interface IDatasetListParamApi extends IPage {
|
69
|
+
component_name?: string;
|
70
|
+
created_by?: string;
|
71
|
+
dataset_name?: string;
|
72
|
+
fuzzy?: string;
|
73
|
+
ordering?: string;
|
74
|
+
source_team?: string;
|
75
|
+
type?: DatasetType;
|
76
|
+
}
|
77
|
+
export interface IDatasetDataFileApi extends IFileInfoApi {
|
78
|
+
id: string;
|
79
|
+
}
|
80
|
+
export interface IDatasetDataFile extends IFileInfo {
|
81
|
+
id: string;
|
82
|
+
}
|
83
|
+
export interface IDatasetDataForm {
|
84
|
+
data?: Record<string, string>;
|
85
|
+
files?: IDatasetDataFile[];
|
86
|
+
datasetId: number;
|
87
|
+
sourceType: DatasetDataSourceType;
|
88
|
+
}
|
89
|
+
export interface IDatasetDataFormApi {
|
90
|
+
data?: Record<string, string>;
|
91
|
+
files?: IDatasetDataFileApi[];
|
92
|
+
dataset_id: number;
|
93
|
+
source_type: DatasetDataSourceType;
|
94
|
+
}
|
95
|
+
export interface IDatasetDataApi extends IDatasetDataFormApi {
|
96
|
+
updated_at: string;
|
97
|
+
updated_by: string;
|
98
|
+
created_at: string;
|
99
|
+
created_by: string;
|
100
|
+
id: number;
|
101
|
+
}
|
102
|
+
export interface IDatasetData extends IDatasetDataForm {
|
103
|
+
updatedAt: string;
|
104
|
+
updatedBy: string;
|
105
|
+
createdAt: string;
|
106
|
+
createdBy: string;
|
107
|
+
id: number;
|
108
|
+
}
|
109
|
+
export interface IDatasetDataParam extends IPage {
|
110
|
+
createdBy?: string;
|
111
|
+
modelType?: string;
|
112
|
+
ordering?: string;
|
113
|
+
sourceType?: DatasetDataSourceType;
|
114
|
+
}
|
115
|
+
export interface IDatasetDataParamApi extends IPage {
|
116
|
+
created_by?: string;
|
117
|
+
model_type?: string;
|
118
|
+
ordering?: string;
|
119
|
+
source_type?: DatasetDataSourceType;
|
120
|
+
}
|
121
|
+
export interface IUserInfo {
|
122
|
+
updatedAt: string;
|
123
|
+
createdAt: string;
|
124
|
+
company: number;
|
125
|
+
telephone: string;
|
126
|
+
id: number;
|
127
|
+
email: string;
|
128
|
+
username: string;
|
129
|
+
status: UserInfoStatus;
|
130
|
+
}
|
131
|
+
export interface IUserInfoApi {
|
132
|
+
updated_at: string;
|
133
|
+
created_at: string;
|
134
|
+
company: number;
|
135
|
+
telephone: string;
|
136
|
+
id: number;
|
137
|
+
email: string;
|
138
|
+
username: string;
|
139
|
+
status: UserInfoStatus;
|
140
|
+
}
|
141
|
+
export interface ISchema {
|
142
|
+
id: string;
|
143
|
+
name: string;
|
144
|
+
schema: Record<string, string>;
|
145
|
+
}
|
146
|
+
export interface IOperatRecordParam {
|
147
|
+
id: number;
|
148
|
+
creator?: string;
|
149
|
+
fuzzy?: string;
|
150
|
+
date?: {
|
151
|
+
start: string;
|
152
|
+
end: string;
|
153
|
+
};
|
154
|
+
status?: string;
|
155
|
+
type?: DatasetDataOperatRecordType;
|
156
|
+
}
|
157
|
+
export interface IOperatRecordApi {
|
158
|
+
id: number;
|
159
|
+
type: DatasetDataOperatRecordType;
|
160
|
+
status: string;
|
161
|
+
data: string;
|
162
|
+
creator: string;
|
163
|
+
created_at: string;
|
164
|
+
}
|
165
|
+
export interface IOperatRecord {
|
166
|
+
id: number;
|
167
|
+
type: DatasetDataOperatRecordType;
|
168
|
+
status: string;
|
169
|
+
data: string;
|
170
|
+
creator: string;
|
171
|
+
createdAt: string;
|
172
|
+
}
|
173
|
+
export interface ICompanyParticipantApi {
|
174
|
+
category: string;
|
175
|
+
component_name: string;
|
176
|
+
description: string;
|
177
|
+
participants: IParticipantApi[];
|
178
|
+
}
|
179
|
+
export interface IParticipantApi {
|
180
|
+
id: number;
|
181
|
+
children: string[];
|
182
|
+
created_at: string;
|
183
|
+
created_by: string;
|
184
|
+
updated_at: string;
|
185
|
+
updated_by: string;
|
186
|
+
company_name: string;
|
187
|
+
}
|
188
|
+
export interface ICompanyParticipant {
|
189
|
+
category: string;
|
190
|
+
componentName: string;
|
191
|
+
description: string;
|
192
|
+
participants: IParticipant[];
|
193
|
+
rowspan: number;
|
194
|
+
}
|
195
|
+
export interface IParticipant {
|
196
|
+
id: number;
|
197
|
+
children: string[];
|
198
|
+
createdAt: string;
|
199
|
+
createdBy: string;
|
200
|
+
updatedAt: string;
|
201
|
+
updatedBy: string;
|
202
|
+
companyName: string;
|
203
|
+
}
|
package/dist/types/enum.d.ts
CHANGED
@@ -96,3 +96,35 @@ export declare enum LLMSupport {
|
|
96
96
|
Summary = "summary",
|
97
97
|
ChatCompletion = "chat.completion"
|
98
98
|
}
|
99
|
+
export declare enum DatasetType {
|
100
|
+
PretrainedText = "pretrained_text",
|
101
|
+
SingleTurnChat = "single_turn_chat",
|
102
|
+
SingleTurnChatWithReasoning = "single_turn_chat_with_reasoning",
|
103
|
+
MultiTurnChat = "multi_turn_chat",
|
104
|
+
MultiTurnChatWithReasoning = "multi_turn_chat_with_reasoning",
|
105
|
+
SingleChoice = "single_choice"
|
106
|
+
}
|
107
|
+
export declare enum DatasetDataSourceType {
|
108
|
+
UploadFile = "upload_file",
|
109
|
+
ApiReport = "api_report",
|
110
|
+
KnowledgebaseImport = "knowledgebase_import",
|
111
|
+
ManualImport = "manual_import"
|
112
|
+
}
|
113
|
+
export declare enum UserInfoStatus {
|
114
|
+
Unsubmitted = "unsubmitted",
|
115
|
+
Reviewing = "reviewing",
|
116
|
+
Rejected = "rejected",
|
117
|
+
Approved = "approved"
|
118
|
+
}
|
119
|
+
export declare enum DatasetDataOperatRecordType {
|
120
|
+
Add = "add",
|
121
|
+
Delete = "delete",
|
122
|
+
Export = "export",
|
123
|
+
EditData = "edit_data",
|
124
|
+
EditCleanedData = "edit_cleaned_data",
|
125
|
+
ManualPass = "manual_pass",
|
126
|
+
ManualReject = "manual_reject",
|
127
|
+
AutoPass = "auto_pass",
|
128
|
+
AutoReject = "auto_reject",
|
129
|
+
DataCleaning = "data_cleaning"
|
130
|
+
}
|
@@ -109,3 +109,39 @@ export var LLMSupport;
|
|
109
109
|
LLMSupport["Summary"] = "summary";
|
110
110
|
LLMSupport["ChatCompletion"] = "chat.completion";
|
111
111
|
})(LLMSupport || (LLMSupport = {}));
|
112
|
+
export var DatasetType;
|
113
|
+
(function(DatasetType) {
|
114
|
+
DatasetType["PretrainedText"] = "pretrained_text";
|
115
|
+
DatasetType["SingleTurnChat"] = "single_turn_chat";
|
116
|
+
DatasetType["SingleTurnChatWithReasoning"] = "single_turn_chat_with_reasoning";
|
117
|
+
DatasetType["MultiTurnChat"] = "multi_turn_chat";
|
118
|
+
DatasetType["MultiTurnChatWithReasoning"] = "multi_turn_chat_with_reasoning";
|
119
|
+
DatasetType["SingleChoice"] = "single_choice";
|
120
|
+
})(DatasetType || (DatasetType = {}));
|
121
|
+
export var DatasetDataSourceType;
|
122
|
+
(function(DatasetDataSourceType) {
|
123
|
+
DatasetDataSourceType["UploadFile"] = "upload_file";
|
124
|
+
DatasetDataSourceType["ApiReport"] = "api_report";
|
125
|
+
DatasetDataSourceType["KnowledgebaseImport"] = "knowledgebase_import";
|
126
|
+
DatasetDataSourceType["ManualImport"] = "manual_import";
|
127
|
+
})(DatasetDataSourceType || (DatasetDataSourceType = {}));
|
128
|
+
export var UserInfoStatus;
|
129
|
+
(function(UserInfoStatus) {
|
130
|
+
UserInfoStatus["Unsubmitted"] = "unsubmitted";
|
131
|
+
UserInfoStatus["Reviewing"] = "reviewing";
|
132
|
+
UserInfoStatus["Rejected"] = "rejected";
|
133
|
+
UserInfoStatus["Approved"] = "approved";
|
134
|
+
})(UserInfoStatus || (UserInfoStatus = {}));
|
135
|
+
export var DatasetDataOperatRecordType;
|
136
|
+
(function(DatasetDataOperatRecordType) {
|
137
|
+
DatasetDataOperatRecordType["Add"] = "add";
|
138
|
+
DatasetDataOperatRecordType["Delete"] = "delete";
|
139
|
+
DatasetDataOperatRecordType["Export"] = "export";
|
140
|
+
DatasetDataOperatRecordType["EditData"] = "edit_data";
|
141
|
+
DatasetDataOperatRecordType["EditCleanedData"] = "edit_cleaned_data";
|
142
|
+
DatasetDataOperatRecordType["ManualPass"] = "manual_pass";
|
143
|
+
DatasetDataOperatRecordType["ManualReject"] = "manual_reject";
|
144
|
+
DatasetDataOperatRecordType["AutoPass"] = "auto_pass";
|
145
|
+
DatasetDataOperatRecordType["AutoReject"] = "auto_reject";
|
146
|
+
DatasetDataOperatRecordType["DataCleaning"] = "data_cleaning";
|
147
|
+
})(DatasetDataOperatRecordType || (DatasetDataOperatRecordType = {}));
|
package/dist/types/file.d.ts
CHANGED
@@ -11,3 +11,13 @@ export interface ILinkFile {
|
|
11
11
|
loadingPercentage?: number;
|
12
12
|
headers?: Record<string, string>;
|
13
13
|
}
|
14
|
+
export interface IFileInfoApi {
|
15
|
+
file_name: string;
|
16
|
+
file_size: number;
|
17
|
+
file_type: string;
|
18
|
+
}
|
19
|
+
export interface IFileInfo {
|
20
|
+
fileName: string;
|
21
|
+
fileSize: number;
|
22
|
+
fileType: string;
|
23
|
+
}
|
package/dist/types/session.d.ts
CHANGED
@@ -27,6 +27,7 @@ export interface ISessionContentApi {
|
|
27
27
|
knowledgebases?: IKnowledgebaseApi[];
|
28
28
|
knowledge_folders?: IKnowledgeApi[];
|
29
29
|
};
|
30
|
+
[key: string]: any;
|
30
31
|
};
|
31
32
|
};
|
32
33
|
}
|
@@ -49,6 +50,7 @@ export interface ISessionContent {
|
|
49
50
|
extra?: {
|
50
51
|
tools?: ITool[];
|
51
52
|
anchorPathResources?: IAnchorPathResources;
|
53
|
+
[key: string]: any;
|
52
54
|
};
|
53
55
|
};
|
54
56
|
}
|
@@ -59,7 +61,7 @@ export interface ISessionPrompt {
|
|
59
61
|
export interface ISessionApi {
|
60
62
|
session_code: string;
|
61
63
|
session_name: string;
|
62
|
-
model
|
64
|
+
model?: string;
|
63
65
|
role_info?: {
|
64
66
|
collection_id: number;
|
65
67
|
collection_name: string;
|
@@ -83,7 +85,7 @@ export interface ISessionApi {
|
|
83
85
|
export interface ISession {
|
84
86
|
sessionCode: string;
|
85
87
|
sessionName: string;
|
86
|
-
model
|
88
|
+
model?: string;
|
87
89
|
roleInfo?: {
|
88
90
|
collectionId: number;
|
89
91
|
collectionName: string;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { };
|
package/package.json
CHANGED
@@ -1,30 +1,45 @@
|
|
1
1
|
{
|
2
2
|
"name": "@blueking/ai-ui-sdk",
|
3
|
-
"version": "0.0
|
3
|
+
"version": "0.1.0-beta.1",
|
4
4
|
"description": "蓝鲸AI UI SDK",
|
5
5
|
"main": "dist/main.js",
|
6
6
|
"types": "dist/main.d.ts",
|
7
7
|
"scripts": {
|
8
|
-
"build": "bk-cli-service build && vue-tsc --emitDeclarationOnly"
|
8
|
+
"build": "bk-cli-service build && rm -rf /data/home/home/aidev-dataset/src/frontend/node_modules/@blueking/ai-ui-sdk/dist && cp -r ./dist /data/home/home/aidev-dataset/src/frontend/node_modules/@blueking/ai-ui-sdk/dist && vue-tsc --emitDeclarationOnly"
|
9
9
|
},
|
10
10
|
"files": [
|
11
11
|
"dist"
|
12
12
|
],
|
13
|
+
"exports": {
|
14
|
+
".": {
|
15
|
+
"import": "./dist/main.ts.js",
|
16
|
+
"types": "./dist/main.d.ts"
|
17
|
+
},
|
18
|
+
"./component": {
|
19
|
+
"import": "./dist/component.ts.js",
|
20
|
+
"types": "./dist/component.d.ts"
|
21
|
+
}
|
22
|
+
},
|
13
23
|
"keywords": [],
|
14
24
|
"author": "",
|
15
25
|
"license": "ISC",
|
16
26
|
"dependencies": {
|
17
|
-
"
|
18
|
-
"
|
27
|
+
"postcss-nested": "^7.0.2",
|
28
|
+
"postcss-nested-ancestors": "^3.0.0"
|
29
|
+
},
|
30
|
+
"peerDependencies": {
|
19
31
|
"bkui-vue": "^2.0.1-beta.100",
|
20
32
|
"dayjs": "^1.11.13",
|
21
|
-
"quill": "^1.3.7",
|
22
33
|
"vue": "^3.5.13",
|
23
|
-
"vue-
|
24
|
-
"x-mavon-editor": "^0.0.15"
|
34
|
+
"vue-router": "^4.5.1"
|
25
35
|
},
|
26
36
|
"devDependencies": {
|
27
|
-
"@
|
28
|
-
"
|
37
|
+
"@blueking/babel-preset-bk": "2.1.0",
|
38
|
+
"@blueking/cli-service": "0.1.0-beta.21",
|
39
|
+
"@blueking/eslint-config-bk": "2.1.0",
|
40
|
+
"@blueking/stylelint-config-bk": "2.1.0-beta.10",
|
41
|
+
"eslint-plugin-simple-import-sort": "^10.0.0",
|
42
|
+
"typescript": "^5.5.4",
|
43
|
+
"vue-tsc": "^2.2.10"
|
29
44
|
}
|
30
45
|
}
|
Binary file
|
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><g ><path fill="#979BA5" d="M208 198.88l168 0-7.84 86.08 51.68 87.36L382.4 486.72l114.88-98.4 7.84-112 41.76-78.08H824.64a56 56 0 0 1 51.68 52.8V721.6L747.04 555.36a40.96 40.96 0 0 0-67.36-5.12l-145.76 146.88L384 502.56c-16-20.96-41.76-20.96-62.56 0L150.56 712.96 152 252.48A54.4 54.4 0 0 1 208 198.88M823.84 145.44l-315.04 0-48 134.4 10.08 96.8L416 432l32.96-64-37.28-96 33.76-128-242.56 1.44A106.24 106.24 0 0 0 96 248.16l2.08 524.8A104.64 104.64 0 0 0 200.16 880h624A104.64 104.64 0 0 0 928 775.2V250.24a104.96 104.96 0 0 0-104.16-104.8"/><path fill="#979BA5" d="M569.28 405.44a88.32 88.32 0 0 0 43.04 75.52 84.64 84.64 0 0 0 86.88 0 86.72 86.72 0 0 0 43.04-75.52 88.64 88.64 0 0 0-43.04-75.52 85.44 85.44 0 0 0-86.88 0 88.64 88.64 0 0 0-43.04 75.52"/></g></svg>
|
@@ -1,37 +0,0 @@
|
|
1
|
-
import { defineComponent as _defineComponent } from 'vue';
|
2
|
-
import { mergeProps as _mergeProps, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
|
3
|
-
const _hoisted_1 = [
|
4
|
-
"src"
|
5
|
-
];
|
6
|
-
import fallbackPng from '../../assets/svg/picture-fail.svg';
|
7
|
-
export default /*@__PURE__*/ _defineComponent({
|
8
|
-
props: {
|
9
|
-
url: {},
|
10
|
-
size: {}
|
11
|
-
},
|
12
|
-
setup (__props) {
|
13
|
-
const handleImageError = (e)=>{
|
14
|
-
const target = e.target;
|
15
|
-
target.src = fallbackPng;
|
16
|
-
};
|
17
|
-
return (_ctx, _cache)=>{
|
18
|
-
return /http(s)?:\/\//.test(_ctx.url) ? (_openBlock(), _createElementBlock("img", _mergeProps({
|
19
|
-
key: 0
|
20
|
-
}, _ctx.$attrs, {
|
21
|
-
src: _ctx.url,
|
22
|
-
style: {
|
23
|
-
width: `${_ctx.size}px`,
|
24
|
-
height: `${_ctx.size}px`
|
25
|
-
},
|
26
|
-
onError: handleImageError
|
27
|
-
}), null, 16 /* FULL_PROPS */ , _hoisted_1)) : (_openBlock(), _createElementBlock("i", _mergeProps({
|
28
|
-
key: 1
|
29
|
-
}, _ctx.$attrs, {
|
30
|
-
class: `bkaidev-icon bkaidev-${_ctx.url}`,
|
31
|
-
style: {
|
32
|
-
fontSize: `${_ctx.size}px`
|
33
|
-
}
|
34
|
-
}), null, 16 /* FULL_PROPS */ ));
|
35
|
-
};
|
36
|
-
}
|
37
|
-
});
|
@@ -1,205 +0,0 @@
|
|
1
|
-
import { defineComponent as _defineComponent } from 'vue';
|
2
|
-
import { normalizeClass as _normalizeClass, createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, normalizeStyle as _normalizeStyle, createElementBlock as _createElementBlock } from "vue";
|
3
|
-
const _hoisted_1 = {
|
4
|
-
class: "quill-container"
|
5
|
-
};
|
6
|
-
import { bkTooltips as vBkTooltips } from 'bkui-vue';
|
7
|
-
import { Close } from '../../../dist/node_modules/bkui-vue/lib/icon/index.js';
|
8
|
-
import { computed, getCurrentInstance, nextTick, onMounted, ref, watch } from 'vue';
|
9
|
-
import RenderDrag from './render-drag.vue.js';
|
10
|
-
import RenderQuill from './render-quill.vue.js';
|
11
|
-
import { SessionContentRole } from '../../types/enum.js';
|
12
|
-
export default /*@__PURE__*/ _defineComponent({
|
13
|
-
props: {
|
14
|
-
isChatting: {
|
15
|
-
type: Boolean
|
16
|
-
},
|
17
|
-
width: {},
|
18
|
-
dragPosition: {},
|
19
|
-
id: {},
|
20
|
-
supportTools: {
|
21
|
-
type: Boolean
|
22
|
-
},
|
23
|
-
supportImage: {
|
24
|
-
type: Boolean
|
25
|
-
},
|
26
|
-
sessionId: {},
|
27
|
-
placeholder: {},
|
28
|
-
sessionContents: {}
|
29
|
-
},
|
30
|
-
emits: [
|
31
|
-
"send"
|
32
|
-
],
|
33
|
-
setup (__props, { emit: __emit }) {
|
34
|
-
const props = __props;
|
35
|
-
const emit = __emit;
|
36
|
-
const vm = getCurrentInstance();
|
37
|
-
const quillRef = ref();
|
38
|
-
const textHeight = ref(120);
|
39
|
-
const defaultHeight = ref(120);
|
40
|
-
const prompt = ref('');
|
41
|
-
const isUploadingImage = ref(false);
|
42
|
-
const disableTips = computed(()=>{
|
43
|
-
if (!prompt.value) {
|
44
|
-
return '请输入 Prompt 后再发送';
|
45
|
-
}
|
46
|
-
if (!prompt.value.trim()) {
|
47
|
-
return '输入的 Prompt 不能只包含空格';
|
48
|
-
}
|
49
|
-
if (props.isChatting) {
|
50
|
-
return '当前会话进行中,请等待会话结束后再发送';
|
51
|
-
}
|
52
|
-
if (isUploadingImage.value) {
|
53
|
-
return '正在上传图片,请等待图片上传完成后再发送';
|
54
|
-
}
|
55
|
-
return '';
|
56
|
-
});
|
57
|
-
const placeholder = computed(()=>{
|
58
|
-
let placeholder = '请输入 Prompt';
|
59
|
-
if (props.supportImage) {
|
60
|
-
placeholder += '\n您可以粘贴并发送图片,以查询图片相关问题';
|
61
|
-
}
|
62
|
-
if (props.supportTools) {
|
63
|
-
placeholder += '\n您可以键入“@”来快速获取该会话绑定的“知识和工具”名称来进行问答';
|
64
|
-
}
|
65
|
-
if (props.placeholder) {
|
66
|
-
placeholder = props.placeholder;
|
67
|
-
}
|
68
|
-
return placeholder;
|
69
|
-
});
|
70
|
-
const autoFocus = ()=>{
|
71
|
-
nextTick(()=>{
|
72
|
-
var _quillRef_value;
|
73
|
-
(_quillRef_value = quillRef.value) === null || _quillRef_value === void 0 ? void 0 : _quillRef_value.focus();
|
74
|
-
});
|
75
|
-
};
|
76
|
-
const handleChangeTextHeight = ()=>{
|
77
|
-
nextTick(()=>{
|
78
|
-
var _vm_proxy;
|
79
|
-
const elm = vm === null || vm === void 0 ? void 0 : (_vm_proxy = vm.proxy) === null || _vm_proxy === void 0 ? void 0 : _vm_proxy.$el.nextElementSibling.querySelector('.send-prompt-container .ql-editor');
|
80
|
-
if ((elm === null || elm === void 0 ? void 0 : elm.scrollHeight) > defaultHeight.value && prompt.value) {
|
81
|
-
textHeight.value = elm.scrollHeight <= 400 ? elm.scrollHeight : 400;
|
82
|
-
} else {
|
83
|
-
textHeight.value = defaultHeight.value;
|
84
|
-
}
|
85
|
-
});
|
86
|
-
};
|
87
|
-
// 从历史里面选择文本
|
88
|
-
const handleChooseHistory = ()=>{
|
89
|
-
var _props_sessionContents;
|
90
|
-
const userSessionContents = ((_props_sessionContents = props.sessionContents) === null || _props_sessionContents === void 0 ? void 0 : _props_sessionContents.filter((sessionContent)=>[
|
91
|
-
SessionContentRole.User,
|
92
|
-
SessionContentRole.Role,
|
93
|
-
SessionContentRole.UserImage
|
94
|
-
].includes(sessionContent.role))) || [];
|
95
|
-
const { content } = userSessionContents[userSessionContents.length - 1];
|
96
|
-
if (content !== prompt.value) {
|
97
|
-
var _quillRef_value;
|
98
|
-
(_quillRef_value = quillRef.value) === null || _quillRef_value === void 0 ? void 0 : _quillRef_value.setText(content);
|
99
|
-
}
|
100
|
-
};
|
101
|
-
const handleKeyDown = (event)=>{
|
102
|
-
var _props_sessionContents;
|
103
|
-
// 数据
|
104
|
-
const isEmpty = prompt.value === '' || prompt.value === undefined;
|
105
|
-
// 状态
|
106
|
-
const isSpecialEnter = event.key === 'Enter' && !event.shiftKey && !event.ctrlKey && !event.metaKey && !event.isComposing;
|
107
|
-
const isShowUpHistory = event.key === 'ArrowUp' && ((_props_sessionContents = props.sessionContents) === null || _props_sessionContents === void 0 ? void 0 : _props_sessionContents.length) && isEmpty;
|
108
|
-
if (isSpecialEnter) {
|
109
|
-
event.preventDefault();
|
110
|
-
handleSendPrompt();
|
111
|
-
}
|
112
|
-
if (isShowUpHistory) {
|
113
|
-
handleChooseHistory();
|
114
|
-
}
|
115
|
-
};
|
116
|
-
const handleChangeInput = (val)=>{
|
117
|
-
prompt.value = val;
|
118
|
-
};
|
119
|
-
const handleClearUserPrompt = ()=>{
|
120
|
-
var _quillRef_value;
|
121
|
-
(_quillRef_value = quillRef.value) === null || _quillRef_value === void 0 ? void 0 : _quillRef_value.setText('');
|
122
|
-
};
|
123
|
-
const handleSendPrompt = ()=>{
|
124
|
-
var // 清空
|
125
|
-
_quillRef_value;
|
126
|
-
// 没内容或执行中不做操作
|
127
|
-
if (disableTips.value) return;
|
128
|
-
// 发送
|
129
|
-
emit('send', prompt.value);
|
130
|
-
(_quillRef_value = quillRef.value) === null || _quillRef_value === void 0 ? void 0 : _quillRef_value.setText('');
|
131
|
-
};
|
132
|
-
watch(()=>prompt.value, (val)=>{
|
133
|
-
handleChangeTextHeight();
|
134
|
-
});
|
135
|
-
onMounted(autoFocus);
|
136
|
-
return (_ctx, _cache)=>{
|
137
|
-
return _openBlock(), _createElementBlock("section", {
|
138
|
-
class: _normalizeClass([
|
139
|
-
'send-prompt-container',
|
140
|
-
_ctx.$attrs.class
|
141
|
-
]),
|
142
|
-
style: _normalizeStyle({
|
143
|
-
'--text-height': textHeight.value + 'px',
|
144
|
-
'--default-height': defaultHeight.value + 'px',
|
145
|
-
'--textarea-bottom': -textHeight.value + 'px'
|
146
|
-
})
|
147
|
-
}, [
|
148
|
-
_createElementVNode("section", _hoisted_1, [
|
149
|
-
_createVNode(RenderQuill, {
|
150
|
-
"is-uploading-image": isUploadingImage.value,
|
151
|
-
"onUpdate:isUploadingImage": _cache[0] || (_cache[0] = ($event)=>isUploadingImage.value = $event),
|
152
|
-
value: prompt.value,
|
153
|
-
placeholder: placeholder.value,
|
154
|
-
"session-id": _ctx.sessionId,
|
155
|
-
"support-image": _ctx.supportImage,
|
156
|
-
class: _normalizeClass({
|
157
|
-
'send-prompt': true
|
158
|
-
}),
|
159
|
-
ref_key: "quillRef",
|
160
|
-
ref: quillRef,
|
161
|
-
onKeydown: handleKeyDown,
|
162
|
-
onChange: handleChangeInput
|
163
|
-
}, null, 8 /* PROPS */ , [
|
164
|
-
"is-uploading-image",
|
165
|
-
"value",
|
166
|
-
"placeholder",
|
167
|
-
"session-id",
|
168
|
-
"support-image"
|
169
|
-
])
|
170
|
-
]),
|
171
|
-
_withDirectives(_createElementVNode("i", {
|
172
|
-
class: _normalizeClass({
|
173
|
-
'bkaidev-icon bkaidev-fasong': true,
|
174
|
-
'disable': disableTips.value
|
175
|
-
}),
|
176
|
-
onMousedown: handleSendPrompt
|
177
|
-
}, null, 34 /* CLASS, NEED_HYDRATION */ ), [
|
178
|
-
[
|
179
|
-
_unref(vBkTooltips),
|
180
|
-
{
|
181
|
-
content: disableTips.value,
|
182
|
-
disabled: !disableTips.value
|
183
|
-
}
|
184
|
-
]
|
185
|
-
]),
|
186
|
-
prompt.value ? (_openBlock(), _createBlock(_unref(Close), {
|
187
|
-
key: 0,
|
188
|
-
class: "show-clear-only-hover bk-input--clear-icon bk-input--suffix-icon clear-icon",
|
189
|
-
onClick: handleClearUserPrompt
|
190
|
-
})) : _createCommentVNode("v-if", true),
|
191
|
-
_createVNode(RenderDrag, {
|
192
|
-
"default-height": defaultHeight.value,
|
193
|
-
"onUpdate:defaultHeight": _cache[1] || (_cache[1] = ($event)=>defaultHeight.value = $event),
|
194
|
-
"text-height": textHeight.value,
|
195
|
-
"onUpdate:textHeight": _cache[2] || (_cache[2] = ($event)=>textHeight.value = $event),
|
196
|
-
position: _ctx.dragPosition
|
197
|
-
}, null, 8 /* PROPS */ , [
|
198
|
-
"default-height",
|
199
|
-
"text-height",
|
200
|
-
"position"
|
201
|
-
])
|
202
|
-
], 6 /* CLASS, STYLE */ );
|
203
|
-
};
|
204
|
-
}
|
205
|
-
});
|