@opentiny/tiny-robot 0.2.0-alpha.1 → 0.2.0-alpha.3
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/_plugin-vue_export-helper.js +9 -0
- package/dist/action-group/index.js +142 -0
- package/dist/bubble/index.js +3211 -0
- package/dist/{node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/close.js → close.js} +9 -9
- package/dist/container/index.js +60 -0
- package/dist/conversations/index.js +14 -0
- package/dist/feedback/index.js +192 -0
- package/dist/history/index.js +228 -0
- package/dist/icon-button/index.js +31 -0
- package/dist/index.d.ts +2190 -26
- package/dist/index.js +35 -43
- package/dist/index2.js +376 -0
- package/dist/index3.js +3895 -0
- package/dist/index4.js +637 -0
- package/dist/index5.js +3237 -0
- package/dist/index6.js +4623 -0
- package/dist/prompts/index.js +83 -0
- package/dist/question/index.js +375 -0
- package/dist/sender/index.js +683 -0
- package/dist/style.css +1 -1
- package/dist/suggestion/index.js +497 -0
- package/dist/{packages/svgs/dist/tiny-robot-svgs.js → tiny-robot-svgs.js} +100 -100
- package/dist/welcome/index.js +38 -0
- package/package.json +7 -3
- package/dist/_virtual/_plugin-vue_export-helper.js +0 -9
- package/dist/action-group/ActionGroup.vue.d.ts +0 -26
- package/dist/action-group/ActionGroupItem.vue.d.ts +0 -18
- package/dist/action-group/index.d.ts +0 -12
- package/dist/action-group/index.type.d.ts +0 -16
- package/dist/bubble/bubble-list.vue.d.ts +0 -5
- package/dist/bubble/components/actions/copy.vue.d.ts +0 -10
- package/dist/bubble/components/actions/index.d.ts +0 -2
- package/dist/bubble/components/actions/refresh.vue.d.ts +0 -2
- package/dist/bubble/index.d.ts +0 -12
- package/dist/bubble/index.type.d.ts +0 -53
- package/dist/bubble/useScroll.d.ts +0 -4
- package/dist/container/index.d.ts +0 -7
- package/dist/container/index.type.d.ts +0 -16
- package/dist/container/index.vue.d.ts +0 -26
- package/dist/conversations/index.d.ts +0 -7
- package/dist/conversations/index.vue.d.ts +0 -2
- package/dist/feedback/components/SourceList.vue.d.ts +0 -11
- package/dist/feedback/components/index.d.ts +0 -1
- package/dist/feedback/index.d.ts +0 -7
- package/dist/feedback/index.type.d.ts +0 -25
- package/dist/feedback/index.vue.d.ts +0 -13
- package/dist/history/components/index.d.ts +0 -2
- package/dist/history/components/item-tag.vue.d.ts +0 -5
- package/dist/history/components/search-empty.vue.d.ts +0 -7
- package/dist/history/composables/index.d.ts +0 -1
- package/dist/history/composables/useEditItemTitle.d.ts +0 -12
- package/dist/history/index.d.ts +0 -6
- package/dist/history/index.type.d.ts +0 -43
- package/dist/history/index.vue.d.ts +0 -2
- package/dist/icon-button/index.d.ts +0 -7
- package/dist/icon-button/index.type.d.ts +0 -7
- package/dist/icon-button/index.vue.d.ts +0 -6
- package/dist/node_modules/.pnpm/@opentiny_utils@1.0.0/node_modules/@opentiny/utils/dist/opentiny-utils.es.js +0 -832
- package/dist/node_modules/.pnpm/@opentiny_utils@3.22.0/node_modules/@opentiny/utils/dist/index.es.js +0 -2116
- package/dist/node_modules/.pnpm/@opentiny_vue-button@3.21.0/node_modules/@opentiny/vue-button/lib/index.js +0 -113
- package/dist/node_modules/.pnpm/@opentiny_vue-button@3.21.0/node_modules/@opentiny/vue-button/lib/pc.js +0 -93
- package/dist/node_modules/.pnpm/@opentiny_vue-common@3.21.0/node_modules/@opentiny/vue-common/lib/index.js +0 -727
- package/dist/node_modules/.pnpm/@opentiny_vue-common@3.22.0/node_modules/@opentiny/vue-common/lib/index.js +0 -710
- package/dist/node_modules/.pnpm/@opentiny_vue-dialog-box@3.21.0/node_modules/@opentiny/vue-dialog-box/lib/index.js +0 -198
- package/dist/node_modules/.pnpm/@opentiny_vue-dialog-box@3.21.0/node_modules/@opentiny/vue-dialog-box/lib/pc.js +0 -204
- package/dist/node_modules/.pnpm/@opentiny_vue-hooks@3.22.0/node_modules/@opentiny/vue-hooks/dist/src/useEventListener.js +0 -10
- package/dist/node_modules/.pnpm/@opentiny_vue-hooks@3.22.0/node_modules/@opentiny/vue-hooks/dist/src/useInstanceSlots.js +0 -14
- package/dist/node_modules/.pnpm/@opentiny_vue-hooks@3.22.0/node_modules/@opentiny/vue-hooks/dist/src/useRelation.js +0 -54
- package/dist/node_modules/.pnpm/@opentiny_vue-hooks@3.22.0/node_modules/@opentiny/vue-hooks/dist/src/vue-popper.js +0 -85
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/close.js +0 -29
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/eyeclose.js +0 -42
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/eyeopen.js +0 -43
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/finish.js +0 -34
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/fullscreen.js +0 -30
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/loading-shadow.js +0 -77
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/minscreen.js +0 -30
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-add-column-after.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-add-column-before.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-add-row-after.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-add-row-before.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-align-center.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-align-left.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-align-right.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-bold.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-code-block.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-code-view.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-color.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-delete-column.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-delete-row.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-delete-table.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-font-size.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-format-clear.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-h1.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-h2.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-h3.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-h4.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-h5.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-h6.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-heading.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-high-light.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-image.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-italic.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-line-height.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-link-unlink.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-link.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-list-ordered.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-list-unordered.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-merge-cells-vertical.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-merge-cells.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-node-delete.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-paragraph.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-quote-text.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-redo.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-split-cells-horizontal.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-split-cells-vertical.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-strike-through.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-subscript.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-superscript.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-table.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-task-list.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-underline.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-undo.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/sub-script.js +0 -29
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/warn.js +0 -26
- package/dist/node_modules/.pnpm/@opentiny_vue-input@3.21.0/node_modules/@opentiny/vue-input/lib/index.js +0 -196
- package/dist/node_modules/.pnpm/@opentiny_vue-input@3.21.0/node_modules/@opentiny/vue-input/lib/pc.js +0 -568
- package/dist/node_modules/.pnpm/@opentiny_vue-locale@3.21.0/node_modules/@opentiny/vue-locale/lib/index.js +0 -1783
- package/dist/node_modules/.pnpm/@opentiny_vue-locale@3.22.0/node_modules/@opentiny/vue-locale/lib/index.js +0 -1783
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/button/index.js +0 -13
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/button/vue.js +0 -34
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/chunk-G2ADBYYC.js +0 -12
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/browser.js +0 -36
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/clickoutside.js +0 -47
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/debounce.js +0 -7
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/dom.js +0 -45
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/popper.js +0 -320
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/popup-manager.js +0 -118
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/throttle.js +0 -23
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/useEventListener.js +0 -9
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/useInstanceSlots.js +0 -14
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/useRelation.js +0 -54
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/vue-popper.js +0 -84
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/vue-popup.js +0 -73
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/event.js +0 -13
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/function.js +0 -5
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/index.js +0 -11
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/object.js +0 -84
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/string.js +0 -28
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/type.js +0 -28
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/dialog-box/index.js +0 -136
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/dialog-box/vue.js +0 -148
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/input/index.js +0 -228
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/input/vue.js +0 -263
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/tall-storage/index.js +0 -63
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/tall-storage/vue-storage-box.js +0 -16
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/tall-storage/vue.js +0 -23
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/tooltip/index.js +0 -78
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/tooltip/vue.js +0 -90
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/tooltip/index.js +0 -77
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/tooltip/vue.js +0 -90
- package/dist/node_modules/.pnpm/@opentiny_vue-tooltip@3.21.0/node_modules/@opentiny/vue-tooltip/lib/index.js +0 -173
- package/dist/node_modules/.pnpm/@opentiny_vue-tooltip@3.21.0/node_modules/@opentiny/vue-tooltip/lib/pc.js +0 -248
- package/dist/node_modules/.pnpm/@opentiny_vue-tooltip@3.22.0/node_modules/@opentiny/vue-tooltip/lib/index.js +0 -176
- package/dist/node_modules/.pnpm/@opentiny_vue-tooltip@3.22.0/node_modules/@opentiny/vue-tooltip/lib/pc.js +0 -248
- package/dist/node_modules/.pnpm/@vueuse_core@13.1.0_vue@3.5.13/node_modules/@vueuse/core/index.js +0 -190
- package/dist/node_modules/.pnpm/@vueuse_shared@13.1.0_vue@3.5.13/node_modules/@vueuse/shared/index.js +0 -53
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.js +0 -277
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.js +0 -46
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.js +0 -7
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.js +0 -7
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.js +0 -187
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.js +0 -19
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_blocks.js +0 -67
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_re.js +0 -5
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/utils.js +0 -164
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/index.js +0 -8
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_destination.js +0 -44
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_label.js +0 -21
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_title.js +0 -37
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/index.js +0 -112
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_block.js +0 -63
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_core.js +0 -34
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_inline.js +0 -96
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/commonmark.js +0 -78
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/default.js +0 -40
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/zero.js +0 -59
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/renderer.js +0 -127
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/ruler.js +0 -95
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/blockquote.js +0 -59
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/code.js +0 -23
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/fence.js +0 -30
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/heading.js +0 -28
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/hr.js +0 -27
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/html_block.js +0 -37
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/lheading.js +0 -43
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/list.js +0 -110
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/paragraph.js +0 -25
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/reference.js +0 -95
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/state_block.js +0 -84
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/table.js +0 -99
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/block.js +0 -7
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/inline.js +0 -10
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/linkify.js +0 -57
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/normalize.js +0 -9
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/replacements.js +0 -31
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/smartquotes.js +0 -80
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/state_core.js +0 -8
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/text_join.js +0 -16
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/autolink.js +0 -46
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/backticks.js +0 -31
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/balance_pairs.js +0 -34
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/emphasis.js +0 -57
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/entity.js +0 -33
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/escape.js +0 -32
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/fragments_join.js +0 -10
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/html_inline.js +0 -32
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/image.js +0 -48
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/link.js +0 -40
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/linkify.js +0 -28
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/newline.js +0 -23
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/state_inline.js +0 -27
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/strikethrough.js +0 -54
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/text.js +0 -39
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/token.js +0 -31
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.js +0 -10
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.js +0 -61
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.js +0 -48
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.js +0 -7
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.js +0 -74
- package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.es6.js +0 -139
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.js +0 -4
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.js +0 -4
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.js +0 -4
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.js +0 -4
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.js +0 -4
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.js +0 -14
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.js +0 -4
- package/dist/packages/components/src/action-group/ActionGroup.vue.js +0 -7
- package/dist/packages/components/src/action-group/ActionGroup.vue2.js +0 -97
- package/dist/packages/components/src/action-group/ActionGroupItem.vue.js +0 -14
- package/dist/packages/components/src/action-group/ActionGroupItem.vue2.js +0 -4
- package/dist/packages/components/src/action-group/index.js +0 -17
- package/dist/packages/components/src/assets/icons/accessory.svg.js +0 -4
- package/dist/packages/components/src/assets/icons/loading-speech.svg.js +0 -4
- package/dist/packages/components/src/assets/icons/loading.svg.js +0 -4
- package/dist/packages/components/src/assets/icons/send.svg.js +0 -4
- package/dist/packages/components/src/assets/icons/voice.svg.js +0 -4
- package/dist/packages/components/src/bubble/bubble-list.vue.js +0 -7
- package/dist/packages/components/src/bubble/bubble-list.vue2.js +0 -37
- package/dist/packages/components/src/bubble/bubble.vue.js +0 -7
- package/dist/packages/components/src/bubble/bubble.vue2.js +0 -118
- package/dist/packages/components/src/bubble/components/actions/copy.vue.js +0 -7
- package/dist/packages/components/src/bubble/components/actions/copy.vue2.js +0 -35
- package/dist/packages/components/src/bubble/components/actions/refresh.vue.js +0 -7
- package/dist/packages/components/src/bubble/components/actions/refresh.vue2.js +0 -16
- package/dist/packages/components/src/bubble/index.js +0 -18
- package/dist/packages/components/src/bubble/useScroll.js +0 -13
- package/dist/packages/components/src/container/index.js +0 -9
- package/dist/packages/components/src/container/index.vue.js +0 -7
- package/dist/packages/components/src/container/index.vue2.js +0 -55
- package/dist/packages/components/src/conversations/index.js +0 -9
- package/dist/packages/components/src/conversations/index.vue.js +0 -9
- package/dist/packages/components/src/feedback/components/SourceList.vue.js +0 -7
- package/dist/packages/components/src/feedback/components/SourceList.vue2.js +0 -52
- package/dist/packages/components/src/feedback/index.js +0 -9
- package/dist/packages/components/src/feedback/index.vue.js +0 -7
- package/dist/packages/components/src/feedback/index.vue2.js +0 -142
- package/dist/packages/components/src/history/components/item-tag.vue.js +0 -7
- package/dist/packages/components/src/history/components/item-tag.vue2.js +0 -21
- package/dist/packages/components/src/history/components/search-empty.vue.js +0 -7
- package/dist/packages/components/src/history/components/search-empty.vue2.js +0 -20
- package/dist/packages/components/src/history/composables/useEditItemTitle.js +0 -43
- package/dist/packages/components/src/history/index.js +0 -11
- package/dist/packages/components/src/history/index.vue.js +0 -7
- package/dist/packages/components/src/history/index.vue2.js +0 -130
- package/dist/packages/components/src/icon-button/index.js +0 -9
- package/dist/packages/components/src/icon-button/index.vue.js +0 -7
- package/dist/packages/components/src/icon-button/index.vue2.js +0 -40
- package/dist/packages/components/src/prompts/index.js +0 -18
- package/dist/packages/components/src/prompts/prompt.vue.js +0 -7
- package/dist/packages/components/src/prompts/prompt.vue2.js +0 -39
- package/dist/packages/components/src/prompts/prompts.vue.js +0 -7
- package/dist/packages/components/src/prompts/prompts.vue2.js +0 -36
- package/dist/packages/components/src/question/components/CommonQuestions.vue.js +0 -89
- package/dist/packages/components/src/question/components/CommonQuestions.vue2.js +0 -4
- package/dist/packages/components/src/question/components/HotQuestions.vue.js +0 -140
- package/dist/packages/components/src/question/components/HotQuestions.vue2.js +0 -4
- package/dist/packages/components/src/question/composables/useQuestions.js +0 -48
- package/dist/packages/components/src/question/index.js +0 -9
- package/dist/packages/components/src/question/index.vue.js +0 -113
- package/dist/packages/components/src/question/index.vue2.js +0 -4
- package/dist/packages/components/src/sender/components/ActionButtons.vue.js +0 -143
- package/dist/packages/components/src/sender/components/ActionButtons.vue2.js +0 -4
- package/dist/packages/components/src/sender/components/TemplateEditor.vue.js +0 -7
- package/dist/packages/components/src/sender/components/TemplateEditor.vue2.js +0 -121
- package/dist/packages/components/src/sender/composables/useInputHandler.js +0 -38
- package/dist/packages/components/src/sender/composables/useKeyboardHandler.js +0 -31
- package/dist/packages/components/src/sender/composables/useSpeechHandler.js +0 -67
- package/dist/packages/components/src/sender/index.js +0 -9
- package/dist/packages/components/src/sender/index.vue.js +0 -255
- package/dist/packages/components/src/sender/index.vue2.js +0 -4
- package/dist/packages/components/src/suggestion/components/CategoryNav.vue.js +0 -38
- package/dist/packages/components/src/suggestion/components/CategoryNav.vue2.js +0 -4
- package/dist/packages/components/src/suggestion/components/SuggestionCapsule.vue.js +0 -107
- package/dist/packages/components/src/suggestion/components/SuggestionCapsule.vue2.js +0 -4
- package/dist/packages/components/src/suggestion/components/SuggestionPanel.vue.js +0 -123
- package/dist/packages/components/src/suggestion/components/SuggestionPanel.vue2.js +0 -4
- package/dist/packages/components/src/suggestion/composables/useKeyboardNavigation.js +0 -45
- package/dist/packages/components/src/suggestion/composables/useTriggerDetection.js +0 -17
- package/dist/packages/components/src/suggestion/index.js +0 -9
- package/dist/packages/components/src/suggestion/index.vue.js +0 -179
- package/dist/packages/components/src/suggestion/index.vue2.js +0 -4
- package/dist/packages/components/src/suggestion/utils/dom.js +0 -18
- package/dist/packages/components/src/welcome/index.js +0 -9
- package/dist/packages/components/src/welcome/index.vue.js +0 -7
- package/dist/packages/components/src/welcome/index.vue2.js +0 -32
- package/dist/prompts/index.d.ts +0 -12
- package/dist/prompts/index.type.d.ts +0 -55
- package/dist/prompts/prompt.vue.d.ts +0 -3
- package/dist/prompts/prompts.vue.d.ts +0 -20
- package/dist/question/components/CommonQuestions.vue.d.ts +0 -32
- package/dist/question/components/HotQuestions.vue.d.ts +0 -89
- package/dist/question/composables/useQuestions.d.ts +0 -17
- package/dist/question/index.d.ts +0 -7
- package/dist/question/index.type.d.ts +0 -74
- package/dist/question/index.vue.d.ts +0 -46
- package/dist/sender/components/ActionButtons.vue.d.ts +0 -25
- package/dist/sender/components/TemplateEditor.vue.d.ts +0 -18
- package/dist/sender/composables/useInputHandler.d.ts +0 -17
- package/dist/sender/composables/useKeyboardHandler.d.ts +0 -18
- package/dist/sender/composables/useSpeechHandler.d.ts +0 -8
- package/dist/sender/index.d.ts +0 -7
- package/dist/sender/index.type.d.ts +0 -137
- package/dist/sender/index.vue.d.ts +0 -1012
- package/dist/suggestion/components/CategoryNav.vue.d.ts +0 -45
- package/dist/suggestion/components/SuggestionCapsule.vue.d.ts +0 -32
- package/dist/suggestion/components/SuggestionPanel.vue.d.ts +0 -84
- package/dist/suggestion/composables/useKeyboardNavigation.d.ts +0 -18
- package/dist/suggestion/composables/useSuggestionFilter.d.ts +0 -10
- package/dist/suggestion/composables/useTriggerDetection.d.ts +0 -11
- package/dist/suggestion/index.d.ts +0 -7
- package/dist/suggestion/index.type.d.ts +0 -94
- package/dist/suggestion/index.vue.d.ts +0 -343
- package/dist/suggestion/utils/dom.d.ts +0 -20
- package/dist/welcome/index.d.ts +0 -7
- package/dist/welcome/index.type.d.ts +0 -10
- package/dist/welcome/index.vue.d.ts +0 -18
- package/src/action-group/ActionGroup.vue +0 -232
- package/src/action-group/ActionGroupItem.vue +0 -9
- package/src/action-group/index.ts +0 -25
- package/src/action-group/index.type.ts +0 -20
- package/src/assets/icons/accessory.svg +0 -12
- package/src/assets/icons/loading-speech.svg +0 -16
- package/src/assets/icons/loading.svg +0 -17
- package/src/assets/icons/send.svg +0 -21
- package/src/assets/icons/voice.svg +0 -22
- package/src/bubble/bubble-list.vue +0 -42
- package/src/bubble/bubble.vue +0 -237
- package/src/bubble/components/actions/copy.vue +0 -54
- package/src/bubble/components/actions/index.ts +0 -2
- package/src/bubble/components/actions/refresh.vue +0 -31
- package/src/bubble/index.ts +0 -23
- package/src/bubble/index.type.ts +0 -63
- package/src/bubble/useScroll.ts +0 -14
- package/src/container/index.ts +0 -12
- package/src/container/index.type.ts +0 -17
- package/src/container/index.vue +0 -134
- package/src/conversations/index.ts +0 -12
- package/src/conversations/index.vue +0 -3
- package/src/feedback/components/SourceList.vue +0 -112
- package/src/feedback/components/index.ts +0 -1
- package/src/feedback/index.ts +0 -12
- package/src/feedback/index.type.ts +0 -27
- package/src/feedback/index.vue +0 -166
- package/src/history/components/index.ts +0 -2
- package/src/history/components/item-tag.vue +0 -49
- package/src/history/components/search-empty.vue +0 -38
- package/src/history/composables/index.ts +0 -1
- package/src/history/composables/useEditItemTitle.ts +0 -75
- package/src/history/index.ts +0 -12
- package/src/history/index.type.ts +0 -50
- package/src/history/index.vue +0 -292
- package/src/icon-button/index.ts +0 -12
- package/src/icon-button/index.type.ts +0 -8
- package/src/icon-button/index.vue +0 -52
- package/src/index.ts +0 -76
- package/src/prompts/index.ts +0 -25
- package/src/prompts/index.type.ts +0 -59
- package/src/prompts/prompt.vue +0 -101
- package/src/prompts/prompts.vue +0 -50
- package/src/question/components/CommonQuestions.vue +0 -146
- package/src/question/components/HotQuestions.vue +0 -148
- package/src/question/composables/useQuestions.ts +0 -106
- package/src/question/index.less +0 -447
- package/src/question/index.ts +0 -12
- package/src/question/index.type.ts +0 -86
- package/src/question/index.vue +0 -140
- package/src/question/vars.less +0 -135
- package/src/sender/components/ActionButtons.vue +0 -168
- package/src/sender/components/TemplateEditor.vue +0 -274
- package/src/sender/composables/useInputHandler.ts +0 -74
- package/src/sender/composables/useKeyboardHandler.ts +0 -101
- package/src/sender/composables/useSpeechHandler.ts +0 -122
- package/src/sender/index.less +0 -352
- package/src/sender/index.ts +0 -12
- package/src/sender/index.type.ts +0 -162
- package/src/sender/index.vue +0 -338
- package/src/sender/vars.less +0 -84
- package/src/suggestion/components/CategoryNav.vue +0 -38
- package/src/suggestion/components/SuggestionCapsule.vue +0 -183
- package/src/suggestion/components/SuggestionPanel.vue +0 -147
- package/src/suggestion/composables/useKeyboardNavigation.ts +0 -101
- package/src/suggestion/composables/useSuggestionFilter.ts +0 -34
- package/src/suggestion/composables/useTriggerDetection.ts +0 -46
- package/src/suggestion/index.less +0 -497
- package/src/suggestion/index.ts +0 -12
- package/src/suggestion/index.type.ts +0 -101
- package/src/suggestion/index.vue +0 -338
- package/src/suggestion/utils/dom.ts +0 -66
- package/src/suggestion/vars.less +0 -141
- package/src/vite-env.d.ts +0 -1
- package/src/welcome/index.ts +0 -12
- package/src/welcome/index.type.ts +0 -12
- package/src/welcome/index.vue +0 -69
- package/tsconfig.json +0 -37
- package/tsconfig.node.json +0 -10
- package/vite.config.ts +0 -53
package/dist/index.d.ts
CHANGED
|
@@ -1,26 +1,2190 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
|
|
1
|
+
import { AllowedComponentProps } from 'vue';
|
|
2
|
+
import { App } from 'vue';
|
|
3
|
+
import { AutoSize as AutoSize_2 } from './index.type';
|
|
4
|
+
import { Component } from 'vue';
|
|
5
|
+
import { ComponentCustomProperties } from 'vue';
|
|
6
|
+
import { ComponentCustomProps } from 'vue';
|
|
7
|
+
import { ComponentInternalInstance } from 'vue';
|
|
8
|
+
import { ComponentOptionsBase } from 'vue';
|
|
9
|
+
import { ComponentOptionsMixin } from 'vue';
|
|
10
|
+
import { ComponentProvideOptions } from 'vue';
|
|
11
|
+
import { ComponentPublicInstance } from 'vue';
|
|
12
|
+
import { CreateComponentPublicInstanceWithMixins } from 'vue';
|
|
13
|
+
import { CSSProperties } from 'vue';
|
|
14
|
+
import { DebuggerEvent } from 'vue';
|
|
15
|
+
import { default as default_2 } from './Bubble.vue';
|
|
16
|
+
import { DefineComponent } from 'vue';
|
|
17
|
+
import { ExtractPropTypes } from 'vue';
|
|
18
|
+
import { GlobalComponents } from 'vue';
|
|
19
|
+
import { GlobalDirectives } from 'vue';
|
|
20
|
+
import { InputMode as InputMode_2 } from './index.type';
|
|
21
|
+
import { nextTick } from 'vue';
|
|
22
|
+
import { OnCleanup } from '@vue/reactivity';
|
|
23
|
+
import { Options } from 'markdown-it';
|
|
24
|
+
import { PropType } from 'vue';
|
|
25
|
+
import { PublicProps } from 'vue';
|
|
26
|
+
import { Ref } from 'vue';
|
|
27
|
+
import { RendererElement } from 'vue';
|
|
28
|
+
import { RendererNode } from 'vue';
|
|
29
|
+
import { ShallowUnwrapRef } from 'vue';
|
|
30
|
+
import { Slot } from 'vue';
|
|
31
|
+
import { SubmitTrigger as SubmitTrigger_2 } from './index.type';
|
|
32
|
+
import { TemplateEditorProps as TemplateEditorProps_2 } from './index.type';
|
|
33
|
+
import { ThemeType as ThemeType_2 } from './index.type';
|
|
34
|
+
import { VNode } from 'vue';
|
|
35
|
+
import { VNodeProps } from 'vue';
|
|
36
|
+
import { WatchOptions } from 'vue';
|
|
37
|
+
import { WatchStopHandle } from 'vue';
|
|
38
|
+
|
|
39
|
+
declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
40
|
+
"update:show": (value: boolean) => any;
|
|
41
|
+
"update:fullscreen": (value: boolean | undefined) => any;
|
|
42
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
43
|
+
"onUpdate:show"?: ((value: boolean) => any) | undefined;
|
|
44
|
+
"onUpdate:fullscreen"?: ((value: boolean | undefined) => any) | undefined;
|
|
45
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
46
|
+
|
|
47
|
+
declare const __VLS_component_2: DefineComponent<PromptsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
48
|
+
"item-click": (ev: MouseEvent, item: PromptProps) => any;
|
|
49
|
+
}, string, PublicProps, Readonly<PromptsProps> & Readonly<{
|
|
50
|
+
"onItem-click"?: ((ev: MouseEvent, item: PromptProps) => any) | undefined;
|
|
51
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
52
|
+
|
|
53
|
+
declare const __VLS_component_3: DefineComponent<SenderProps, {
|
|
54
|
+
focus: () => void;
|
|
55
|
+
blur: () => void;
|
|
56
|
+
clear: () => void;
|
|
57
|
+
submit: () => void;
|
|
58
|
+
startSpeech: () => void;
|
|
59
|
+
stopSpeech: () => void;
|
|
60
|
+
activateTemplateFirstField: () => void;
|
|
61
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
62
|
+
[x: string]: any;
|
|
63
|
+
} & {
|
|
64
|
+
[x: string]: any;
|
|
65
|
+
}, string, PublicProps, Readonly<SenderProps> & Readonly<{
|
|
66
|
+
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
|
67
|
+
}>, {
|
|
68
|
+
loading: boolean;
|
|
69
|
+
template: string;
|
|
70
|
+
disabled: boolean;
|
|
71
|
+
modelValue: string;
|
|
72
|
+
mode: InputMode_2;
|
|
73
|
+
autofocus: boolean;
|
|
74
|
+
clearable: boolean;
|
|
75
|
+
showWordLimit: boolean;
|
|
76
|
+
theme: ThemeType_2;
|
|
77
|
+
hasContent: boolean;
|
|
78
|
+
allowSpeech: boolean;
|
|
79
|
+
allowFiles: boolean;
|
|
80
|
+
submitType: SubmitTrigger_2;
|
|
81
|
+
placeholder: string;
|
|
82
|
+
autoSize: AutoSize_2;
|
|
83
|
+
maxLength: number;
|
|
84
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
85
|
+
templateEditorRef: CreateComponentPublicInstanceWithMixins<Readonly<TemplateEditorProps_2> & Readonly<{
|
|
86
|
+
onInput?: ((value: string) => any) | undefined;
|
|
87
|
+
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
88
|
+
"onContent-status"?: ((hasContent: boolean) => any) | undefined;
|
|
89
|
+
"onField-active"?: ((isActive: boolean, index: number) => any) | undefined;
|
|
90
|
+
}>, {
|
|
91
|
+
activateFirstField: () => void;
|
|
92
|
+
resetFields: () => void;
|
|
93
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
94
|
+
input: (value: string) => any;
|
|
95
|
+
"update:value": (value: string) => any;
|
|
96
|
+
"content-status": (hasContent: boolean) => any;
|
|
97
|
+
"field-active": (isActive: boolean, index: number) => any;
|
|
98
|
+
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
99
|
+
editorRef: HTMLDivElement;
|
|
100
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
101
|
+
P: {};
|
|
102
|
+
B: {};
|
|
103
|
+
D: {};
|
|
104
|
+
C: {};
|
|
105
|
+
M: {};
|
|
106
|
+
Defaults: {};
|
|
107
|
+
}, Readonly<TemplateEditorProps_2> & Readonly<{
|
|
108
|
+
onInput?: ((value: string) => any) | undefined;
|
|
109
|
+
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
110
|
+
"onContent-status"?: ((hasContent: boolean) => any) | undefined;
|
|
111
|
+
"onField-active"?: ((isActive: boolean, index: number) => any) | undefined;
|
|
112
|
+
}>, {
|
|
113
|
+
activateFirstField: () => void;
|
|
114
|
+
resetFields: () => void;
|
|
115
|
+
}, {}, {}, {}, {}> | null;
|
|
116
|
+
inputRef: CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
|
|
117
|
+
_constants: {
|
|
118
|
+
type: ObjectConstructor;
|
|
119
|
+
default: () => {
|
|
120
|
+
INPUT_PC: string;
|
|
121
|
+
INPUTGROUP_PC: string;
|
|
122
|
+
INPUT_MOBILE: string;
|
|
123
|
+
INPUTGROUP_MOBILE: string;
|
|
124
|
+
Mode: string;
|
|
125
|
+
inputMode(mode: any): string;
|
|
126
|
+
inputGroupMode(mode: any): string;
|
|
127
|
+
VALIDATE_ICON: {
|
|
128
|
+
Validating: string;
|
|
129
|
+
Success: string;
|
|
130
|
+
Error: string;
|
|
131
|
+
};
|
|
132
|
+
COMPONENT_NAME: {
|
|
133
|
+
FormItem: string;
|
|
134
|
+
};
|
|
135
|
+
MASKSYMBOL: string;
|
|
136
|
+
TEXTAREA_HEIGHT_MOBILE: number;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
name: StringConstructor;
|
|
140
|
+
size: StringConstructor;
|
|
141
|
+
form: StringConstructor;
|
|
142
|
+
label: StringConstructor;
|
|
143
|
+
height: NumberConstructor;
|
|
144
|
+
resize: StringConstructor;
|
|
145
|
+
tabindex: {
|
|
146
|
+
type: StringConstructor;
|
|
147
|
+
default: string;
|
|
148
|
+
};
|
|
149
|
+
disabled: BooleanConstructor;
|
|
150
|
+
readonly: BooleanConstructor;
|
|
151
|
+
hoverExpand: BooleanConstructor;
|
|
152
|
+
mask: BooleanConstructor;
|
|
153
|
+
suffixIcon: (StringConstructor | ObjectConstructor)[];
|
|
154
|
+
prefixIcon: (StringConstructor | ObjectConstructor)[];
|
|
155
|
+
modelValue: PropType<string | number | null>;
|
|
156
|
+
type: {
|
|
157
|
+
type: StringConstructor;
|
|
158
|
+
default: string;
|
|
159
|
+
};
|
|
160
|
+
memorySpace: {
|
|
161
|
+
type: NumberConstructor;
|
|
162
|
+
default: number;
|
|
163
|
+
};
|
|
164
|
+
vertical: {
|
|
165
|
+
type: BooleanConstructor;
|
|
166
|
+
default: boolean;
|
|
167
|
+
};
|
|
168
|
+
selectMenu: {
|
|
169
|
+
type: {
|
|
170
|
+
(arrayLength: number): {
|
|
171
|
+
id: string;
|
|
172
|
+
label: string;
|
|
173
|
+
}[];
|
|
174
|
+
(...items: {
|
|
175
|
+
id: string;
|
|
176
|
+
label: string;
|
|
177
|
+
}[]): {
|
|
178
|
+
id: string;
|
|
179
|
+
label: string;
|
|
180
|
+
}[];
|
|
181
|
+
new (arrayLength: number): {
|
|
182
|
+
id: string;
|
|
183
|
+
label: string;
|
|
184
|
+
}[];
|
|
185
|
+
new (...items: {
|
|
186
|
+
id: string;
|
|
187
|
+
label: string;
|
|
188
|
+
}[]): {
|
|
189
|
+
id: string;
|
|
190
|
+
label: string;
|
|
191
|
+
}[];
|
|
192
|
+
isArray(arg: any): arg is any[];
|
|
193
|
+
readonly prototype: any[];
|
|
194
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
195
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
196
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
197
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
198
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
199
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
200
|
+
};
|
|
201
|
+
default: () => never[];
|
|
202
|
+
};
|
|
203
|
+
ellipsis: {
|
|
204
|
+
type: BooleanConstructor;
|
|
205
|
+
default: boolean;
|
|
206
|
+
};
|
|
207
|
+
contentStyle: {
|
|
208
|
+
type: ObjectConstructor;
|
|
209
|
+
default: () => {};
|
|
210
|
+
};
|
|
211
|
+
isSelect: {
|
|
212
|
+
type: BooleanConstructor;
|
|
213
|
+
default: boolean;
|
|
214
|
+
};
|
|
215
|
+
tips: StringConstructor;
|
|
216
|
+
counter: {
|
|
217
|
+
type: BooleanConstructor;
|
|
218
|
+
default: boolean;
|
|
219
|
+
};
|
|
220
|
+
autosize: {
|
|
221
|
+
type: (BooleanConstructor | ObjectConstructor)[];
|
|
222
|
+
default: boolean;
|
|
223
|
+
};
|
|
224
|
+
clearable: {
|
|
225
|
+
type: BooleanConstructor;
|
|
226
|
+
default: boolean;
|
|
227
|
+
};
|
|
228
|
+
autocomplete: {
|
|
229
|
+
type: StringConstructor;
|
|
230
|
+
default: string;
|
|
231
|
+
};
|
|
232
|
+
showPassword: {
|
|
233
|
+
type: BooleanConstructor;
|
|
234
|
+
default: boolean;
|
|
235
|
+
};
|
|
236
|
+
showWordLimit: {
|
|
237
|
+
type: BooleanConstructor;
|
|
238
|
+
default: boolean;
|
|
239
|
+
};
|
|
240
|
+
showTitle: {
|
|
241
|
+
type: BooleanConstructor;
|
|
242
|
+
default: boolean;
|
|
243
|
+
};
|
|
244
|
+
validateEvent: {
|
|
245
|
+
type: BooleanConstructor;
|
|
246
|
+
default: boolean;
|
|
247
|
+
};
|
|
248
|
+
popupMore: {
|
|
249
|
+
type: BooleanConstructor;
|
|
250
|
+
default: boolean;
|
|
251
|
+
};
|
|
252
|
+
textareaTitle: {
|
|
253
|
+
type: StringConstructor;
|
|
254
|
+
default: string;
|
|
255
|
+
};
|
|
256
|
+
displayOnly: {
|
|
257
|
+
type: BooleanConstructor;
|
|
258
|
+
default: boolean;
|
|
259
|
+
};
|
|
260
|
+
displayOnlyContent: {
|
|
261
|
+
type: StringConstructor;
|
|
262
|
+
default: string;
|
|
263
|
+
};
|
|
264
|
+
customClass: {
|
|
265
|
+
type: StringConstructor;
|
|
266
|
+
default: string;
|
|
267
|
+
};
|
|
268
|
+
frontClearIcon: {
|
|
269
|
+
type: BooleanConstructor;
|
|
270
|
+
default: boolean;
|
|
271
|
+
};
|
|
272
|
+
showEmptyValue: {
|
|
273
|
+
type: BooleanConstructor;
|
|
274
|
+
default: undefined;
|
|
275
|
+
};
|
|
276
|
+
textAlign: {
|
|
277
|
+
type: StringConstructor;
|
|
278
|
+
default: string;
|
|
279
|
+
};
|
|
280
|
+
width: {
|
|
281
|
+
type: PropType<string | number | null>;
|
|
282
|
+
};
|
|
283
|
+
showTooltip: {
|
|
284
|
+
type: BooleanConstructor;
|
|
285
|
+
default: boolean;
|
|
286
|
+
};
|
|
287
|
+
inputBoxType: {
|
|
288
|
+
type: StringConstructor;
|
|
289
|
+
default: string;
|
|
290
|
+
validator: (value: string) => boolean;
|
|
291
|
+
};
|
|
292
|
+
tiny_mode: StringConstructor;
|
|
293
|
+
tiny_mode_root: BooleanConstructor;
|
|
294
|
+
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
295
|
+
tiny_renderless: FunctionConstructor;
|
|
296
|
+
tiny_theme: StringConstructor;
|
|
297
|
+
tiny_chart_theme: ObjectConstructor;
|
|
298
|
+
}>>, () => VNode<RendererNode, RendererElement, {
|
|
299
|
+
[key: string]: any;
|
|
300
|
+
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
301
|
+
disabled: boolean;
|
|
302
|
+
type: string;
|
|
303
|
+
ellipsis: boolean;
|
|
304
|
+
mask: boolean;
|
|
305
|
+
tiny_mode_root: boolean;
|
|
306
|
+
_constants: Record<string, any>;
|
|
307
|
+
tabindex: string;
|
|
308
|
+
contentStyle: Record<string, any>;
|
|
309
|
+
customClass: string;
|
|
310
|
+
showTitle: boolean;
|
|
311
|
+
readonly: boolean;
|
|
312
|
+
hoverExpand: boolean;
|
|
313
|
+
memorySpace: number;
|
|
314
|
+
vertical: boolean;
|
|
315
|
+
selectMenu: {
|
|
316
|
+
id: string;
|
|
317
|
+
label: string;
|
|
318
|
+
}[];
|
|
319
|
+
isSelect: boolean;
|
|
320
|
+
counter: boolean;
|
|
321
|
+
autosize: boolean | Record<string, any>;
|
|
322
|
+
clearable: boolean;
|
|
323
|
+
autocomplete: string;
|
|
324
|
+
showPassword: boolean;
|
|
325
|
+
showWordLimit: boolean;
|
|
326
|
+
validateEvent: boolean;
|
|
327
|
+
popupMore: boolean;
|
|
328
|
+
textareaTitle: string;
|
|
329
|
+
displayOnly: boolean;
|
|
330
|
+
displayOnlyContent: string;
|
|
331
|
+
frontClearIcon: boolean;
|
|
332
|
+
showEmptyValue: boolean;
|
|
333
|
+
textAlign: string;
|
|
334
|
+
showTooltip: boolean;
|
|
335
|
+
inputBoxType: string;
|
|
336
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
337
|
+
P: {};
|
|
338
|
+
B: {};
|
|
339
|
+
D: {};
|
|
340
|
+
C: {};
|
|
341
|
+
M: {};
|
|
342
|
+
Defaults: {};
|
|
343
|
+
}, Readonly<ExtractPropTypes< {
|
|
344
|
+
_constants: {
|
|
345
|
+
type: ObjectConstructor;
|
|
346
|
+
default: () => {
|
|
347
|
+
INPUT_PC: string;
|
|
348
|
+
INPUTGROUP_PC: string;
|
|
349
|
+
INPUT_MOBILE: string;
|
|
350
|
+
INPUTGROUP_MOBILE: string;
|
|
351
|
+
Mode: string;
|
|
352
|
+
inputMode(mode: any): string;
|
|
353
|
+
inputGroupMode(mode: any): string;
|
|
354
|
+
VALIDATE_ICON: {
|
|
355
|
+
Validating: string;
|
|
356
|
+
Success: string;
|
|
357
|
+
Error: string;
|
|
358
|
+
};
|
|
359
|
+
COMPONENT_NAME: {
|
|
360
|
+
FormItem: string;
|
|
361
|
+
};
|
|
362
|
+
MASKSYMBOL: string;
|
|
363
|
+
TEXTAREA_HEIGHT_MOBILE: number;
|
|
364
|
+
};
|
|
365
|
+
};
|
|
366
|
+
name: StringConstructor;
|
|
367
|
+
size: StringConstructor;
|
|
368
|
+
form: StringConstructor;
|
|
369
|
+
label: StringConstructor;
|
|
370
|
+
height: NumberConstructor;
|
|
371
|
+
resize: StringConstructor;
|
|
372
|
+
tabindex: {
|
|
373
|
+
type: StringConstructor;
|
|
374
|
+
default: string;
|
|
375
|
+
};
|
|
376
|
+
disabled: BooleanConstructor;
|
|
377
|
+
readonly: BooleanConstructor;
|
|
378
|
+
hoverExpand: BooleanConstructor;
|
|
379
|
+
mask: BooleanConstructor;
|
|
380
|
+
suffixIcon: (StringConstructor | ObjectConstructor)[];
|
|
381
|
+
prefixIcon: (StringConstructor | ObjectConstructor)[];
|
|
382
|
+
modelValue: PropType<string | number | null>;
|
|
383
|
+
type: {
|
|
384
|
+
type: StringConstructor;
|
|
385
|
+
default: string;
|
|
386
|
+
};
|
|
387
|
+
memorySpace: {
|
|
388
|
+
type: NumberConstructor;
|
|
389
|
+
default: number;
|
|
390
|
+
};
|
|
391
|
+
vertical: {
|
|
392
|
+
type: BooleanConstructor;
|
|
393
|
+
default: boolean;
|
|
394
|
+
};
|
|
395
|
+
selectMenu: {
|
|
396
|
+
type: {
|
|
397
|
+
(arrayLength: number): {
|
|
398
|
+
id: string;
|
|
399
|
+
label: string;
|
|
400
|
+
}[];
|
|
401
|
+
(...items: {
|
|
402
|
+
id: string;
|
|
403
|
+
label: string;
|
|
404
|
+
}[]): {
|
|
405
|
+
id: string;
|
|
406
|
+
label: string;
|
|
407
|
+
}[];
|
|
408
|
+
new (arrayLength: number): {
|
|
409
|
+
id: string;
|
|
410
|
+
label: string;
|
|
411
|
+
}[];
|
|
412
|
+
new (...items: {
|
|
413
|
+
id: string;
|
|
414
|
+
label: string;
|
|
415
|
+
}[]): {
|
|
416
|
+
id: string;
|
|
417
|
+
label: string;
|
|
418
|
+
}[];
|
|
419
|
+
isArray(arg: any): arg is any[];
|
|
420
|
+
readonly prototype: any[];
|
|
421
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
422
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
423
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
424
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
425
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
426
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
427
|
+
};
|
|
428
|
+
default: () => never[];
|
|
429
|
+
};
|
|
430
|
+
ellipsis: {
|
|
431
|
+
type: BooleanConstructor;
|
|
432
|
+
default: boolean;
|
|
433
|
+
};
|
|
434
|
+
contentStyle: {
|
|
435
|
+
type: ObjectConstructor;
|
|
436
|
+
default: () => {};
|
|
437
|
+
};
|
|
438
|
+
isSelect: {
|
|
439
|
+
type: BooleanConstructor;
|
|
440
|
+
default: boolean;
|
|
441
|
+
};
|
|
442
|
+
tips: StringConstructor;
|
|
443
|
+
counter: {
|
|
444
|
+
type: BooleanConstructor;
|
|
445
|
+
default: boolean;
|
|
446
|
+
};
|
|
447
|
+
autosize: {
|
|
448
|
+
type: (BooleanConstructor | ObjectConstructor)[];
|
|
449
|
+
default: boolean;
|
|
450
|
+
};
|
|
451
|
+
clearable: {
|
|
452
|
+
type: BooleanConstructor;
|
|
453
|
+
default: boolean;
|
|
454
|
+
};
|
|
455
|
+
autocomplete: {
|
|
456
|
+
type: StringConstructor;
|
|
457
|
+
default: string;
|
|
458
|
+
};
|
|
459
|
+
showPassword: {
|
|
460
|
+
type: BooleanConstructor;
|
|
461
|
+
default: boolean;
|
|
462
|
+
};
|
|
463
|
+
showWordLimit: {
|
|
464
|
+
type: BooleanConstructor;
|
|
465
|
+
default: boolean;
|
|
466
|
+
};
|
|
467
|
+
showTitle: {
|
|
468
|
+
type: BooleanConstructor;
|
|
469
|
+
default: boolean;
|
|
470
|
+
};
|
|
471
|
+
validateEvent: {
|
|
472
|
+
type: BooleanConstructor;
|
|
473
|
+
default: boolean;
|
|
474
|
+
};
|
|
475
|
+
popupMore: {
|
|
476
|
+
type: BooleanConstructor;
|
|
477
|
+
default: boolean;
|
|
478
|
+
};
|
|
479
|
+
textareaTitle: {
|
|
480
|
+
type: StringConstructor;
|
|
481
|
+
default: string;
|
|
482
|
+
};
|
|
483
|
+
displayOnly: {
|
|
484
|
+
type: BooleanConstructor;
|
|
485
|
+
default: boolean;
|
|
486
|
+
};
|
|
487
|
+
displayOnlyContent: {
|
|
488
|
+
type: StringConstructor;
|
|
489
|
+
default: string;
|
|
490
|
+
};
|
|
491
|
+
customClass: {
|
|
492
|
+
type: StringConstructor;
|
|
493
|
+
default: string;
|
|
494
|
+
};
|
|
495
|
+
frontClearIcon: {
|
|
496
|
+
type: BooleanConstructor;
|
|
497
|
+
default: boolean;
|
|
498
|
+
};
|
|
499
|
+
showEmptyValue: {
|
|
500
|
+
type: BooleanConstructor;
|
|
501
|
+
default: undefined;
|
|
502
|
+
};
|
|
503
|
+
textAlign: {
|
|
504
|
+
type: StringConstructor;
|
|
505
|
+
default: string;
|
|
506
|
+
};
|
|
507
|
+
width: {
|
|
508
|
+
type: PropType<string | number | null>;
|
|
509
|
+
};
|
|
510
|
+
showTooltip: {
|
|
511
|
+
type: BooleanConstructor;
|
|
512
|
+
default: boolean;
|
|
513
|
+
};
|
|
514
|
+
inputBoxType: {
|
|
515
|
+
type: StringConstructor;
|
|
516
|
+
default: string;
|
|
517
|
+
validator: (value: string) => boolean;
|
|
518
|
+
};
|
|
519
|
+
tiny_mode: StringConstructor;
|
|
520
|
+
tiny_mode_root: BooleanConstructor;
|
|
521
|
+
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
522
|
+
tiny_renderless: FunctionConstructor;
|
|
523
|
+
tiny_theme: StringConstructor;
|
|
524
|
+
tiny_chart_theme: ObjectConstructor;
|
|
525
|
+
}>>, () => VNode<RendererNode, RendererElement, {
|
|
526
|
+
[key: string]: any;
|
|
527
|
+
}>, {}, {}, {}, {
|
|
528
|
+
disabled: boolean;
|
|
529
|
+
type: string;
|
|
530
|
+
ellipsis: boolean;
|
|
531
|
+
mask: boolean;
|
|
532
|
+
tiny_mode_root: boolean;
|
|
533
|
+
_constants: Record<string, any>;
|
|
534
|
+
tabindex: string;
|
|
535
|
+
contentStyle: Record<string, any>;
|
|
536
|
+
customClass: string;
|
|
537
|
+
showTitle: boolean;
|
|
538
|
+
readonly: boolean;
|
|
539
|
+
hoverExpand: boolean;
|
|
540
|
+
memorySpace: number;
|
|
541
|
+
vertical: boolean;
|
|
542
|
+
selectMenu: {
|
|
543
|
+
id: string;
|
|
544
|
+
label: string;
|
|
545
|
+
}[];
|
|
546
|
+
isSelect: boolean;
|
|
547
|
+
counter: boolean;
|
|
548
|
+
autosize: boolean | Record<string, any>;
|
|
549
|
+
clearable: boolean;
|
|
550
|
+
autocomplete: string;
|
|
551
|
+
showPassword: boolean;
|
|
552
|
+
showWordLimit: boolean;
|
|
553
|
+
validateEvent: boolean;
|
|
554
|
+
popupMore: boolean;
|
|
555
|
+
textareaTitle: string;
|
|
556
|
+
displayOnly: boolean;
|
|
557
|
+
displayOnlyContent: string;
|
|
558
|
+
frontClearIcon: boolean;
|
|
559
|
+
showEmptyValue: boolean;
|
|
560
|
+
textAlign: string;
|
|
561
|
+
showTooltip: boolean;
|
|
562
|
+
inputBoxType: string;
|
|
563
|
+
}> | null;
|
|
564
|
+
}, HTMLDivElement>;
|
|
565
|
+
|
|
566
|
+
declare const __VLS_component_4: DefineComponent<WelcomeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<WelcomeProps> & Readonly<{}>, {
|
|
567
|
+
align: "left" | "center" | "right" | string;
|
|
568
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
569
|
+
|
|
570
|
+
declare const __VLS_component_5: DefineComponent<SuggestionProps, {
|
|
571
|
+
trigger: TriggerHandler;
|
|
572
|
+
keyDown: (e: KeyboardEvent) => void;
|
|
573
|
+
input: (event: Event, text: string) => boolean;
|
|
574
|
+
toggleExpand: () => void;
|
|
575
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
576
|
+
select: (value: string, context?: TriggerContext | undefined) => any;
|
|
577
|
+
close: () => any;
|
|
578
|
+
"suggestion-select": (item: SuggestionItem) => any;
|
|
579
|
+
"update:open": (value: boolean) => any;
|
|
580
|
+
trigger: (handler: TriggerHandler) => any;
|
|
581
|
+
"category-select": (category: Category) => any;
|
|
582
|
+
"update:expanded": (expanded: boolean) => any;
|
|
583
|
+
"fill-template": (template: string) => any;
|
|
584
|
+
}, string, PublicProps, Readonly<SuggestionProps> & Readonly<{
|
|
585
|
+
onSelect?: ((value: string, context?: TriggerContext | undefined) => any) | undefined;
|
|
586
|
+
onClose?: (() => any) | undefined;
|
|
587
|
+
"onSuggestion-select"?: ((item: SuggestionItem) => any) | undefined;
|
|
588
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
589
|
+
onTrigger?: ((handler: TriggerHandler) => any) | undefined;
|
|
590
|
+
"onCategory-select"?: ((category: Category) => any) | undefined;
|
|
591
|
+
"onUpdate:expanded"?: ((expanded: boolean) => any) | undefined;
|
|
592
|
+
"onFill-template"?: ((template: string) => any) | undefined;
|
|
593
|
+
}>, {
|
|
594
|
+
loading: boolean;
|
|
595
|
+
title: string;
|
|
596
|
+
items: SuggestionItem[];
|
|
597
|
+
categories: Category[];
|
|
598
|
+
theme: "light" | "dark";
|
|
599
|
+
maxVisibleItems: number;
|
|
600
|
+
triggerKeys: string[];
|
|
601
|
+
open: boolean;
|
|
602
|
+
closeOnOutsideClick: boolean;
|
|
603
|
+
defaultExpanded: boolean;
|
|
604
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
605
|
+
rootRef: HTMLDivElement;
|
|
606
|
+
panelRef: ({
|
|
607
|
+
$: ComponentInternalInstance;
|
|
608
|
+
$data: {};
|
|
609
|
+
$props: Partial<{
|
|
610
|
+
loading: boolean;
|
|
611
|
+
title: string;
|
|
612
|
+
categories: Category[];
|
|
613
|
+
maxVisibleItems: number;
|
|
614
|
+
}> & Omit<{
|
|
615
|
+
readonly loading: boolean;
|
|
616
|
+
readonly title: string;
|
|
617
|
+
readonly items: SuggestionItem[];
|
|
618
|
+
readonly categories: Category[];
|
|
619
|
+
readonly maxVisibleItems: number;
|
|
620
|
+
readonly onSelect?: ((...args: any[]) => any) | undefined;
|
|
621
|
+
readonly onClose?: ((...args: any[]) => any) | undefined;
|
|
622
|
+
readonly "onCategory-select"?: ((...args: any[]) => any) | undefined;
|
|
623
|
+
readonly "onItem-hover"?: ((...args: any[]) => any) | undefined;
|
|
624
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "loading" | "title" | "categories" | "maxVisibleItems">;
|
|
625
|
+
$attrs: {
|
|
626
|
+
[x: string]: unknown;
|
|
627
|
+
};
|
|
628
|
+
$refs: {
|
|
629
|
+
[x: string]: unknown;
|
|
630
|
+
};
|
|
631
|
+
$slots: Readonly<{
|
|
632
|
+
[name: string]: Slot<any> | undefined;
|
|
633
|
+
}>;
|
|
634
|
+
$root: ComponentPublicInstance | null;
|
|
635
|
+
$parent: ComponentPublicInstance | null;
|
|
636
|
+
$host: Element | null;
|
|
637
|
+
$emit: ((event: "select", ...args: any[]) => void) & ((event: "close", ...args: any[]) => void) & ((event: "category-select", ...args: any[]) => void) & ((event: "item-hover", ...args: any[]) => void);
|
|
638
|
+
$el: HTMLDivElement;
|
|
639
|
+
$options: ComponentOptionsBase<Readonly<ExtractPropTypes< {
|
|
640
|
+
items: {
|
|
641
|
+
type: PropType<SuggestionItem[]>;
|
|
642
|
+
required: true;
|
|
643
|
+
};
|
|
644
|
+
categories: {
|
|
645
|
+
type: PropType<Category[]>;
|
|
646
|
+
default: () => never[];
|
|
647
|
+
};
|
|
648
|
+
loading: {
|
|
649
|
+
type: BooleanConstructor;
|
|
650
|
+
default: boolean;
|
|
651
|
+
};
|
|
652
|
+
title: {
|
|
653
|
+
type: StringConstructor;
|
|
654
|
+
default: string;
|
|
655
|
+
};
|
|
656
|
+
maxVisibleItems: {
|
|
657
|
+
type: NumberConstructor;
|
|
658
|
+
default: number;
|
|
659
|
+
};
|
|
660
|
+
}>> & Readonly<{
|
|
661
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
662
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
663
|
+
"onCategory-select"?: ((...args: any[]) => any) | undefined;
|
|
664
|
+
"onItem-hover"?: ((...args: any[]) => any) | undefined;
|
|
665
|
+
}>, {
|
|
666
|
+
handleKeyDown: (e: KeyboardEvent) => void;
|
|
667
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
668
|
+
select: (...args: any[]) => void;
|
|
669
|
+
close: (...args: any[]) => void;
|
|
670
|
+
"category-select": (...args: any[]) => void;
|
|
671
|
+
"item-hover": (...args: any[]) => void;
|
|
672
|
+
}, string, {
|
|
673
|
+
loading: boolean;
|
|
674
|
+
title: string;
|
|
675
|
+
categories: Category[];
|
|
676
|
+
maxVisibleItems: number;
|
|
677
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
678
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
679
|
+
created?: (() => void) | (() => void)[];
|
|
680
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
681
|
+
mounted?: (() => void) | (() => void)[];
|
|
682
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
683
|
+
updated?: (() => void) | (() => void)[];
|
|
684
|
+
activated?: (() => void) | (() => void)[];
|
|
685
|
+
deactivated?: (() => void) | (() => void)[];
|
|
686
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
687
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
688
|
+
destroyed?: (() => void) | (() => void)[];
|
|
689
|
+
unmounted?: (() => void) | (() => void)[];
|
|
690
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
691
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
692
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
693
|
+
};
|
|
694
|
+
$forceUpdate: () => void;
|
|
695
|
+
$nextTick: nextTick;
|
|
696
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
697
|
+
} & Readonly<{
|
|
698
|
+
loading: boolean;
|
|
699
|
+
title: string;
|
|
700
|
+
categories: Category[];
|
|
701
|
+
maxVisibleItems: number;
|
|
702
|
+
}> & Omit<Readonly<ExtractPropTypes< {
|
|
703
|
+
items: {
|
|
704
|
+
type: PropType<SuggestionItem[]>;
|
|
705
|
+
required: true;
|
|
706
|
+
};
|
|
707
|
+
categories: {
|
|
708
|
+
type: PropType<Category[]>;
|
|
709
|
+
default: () => never[];
|
|
710
|
+
};
|
|
711
|
+
loading: {
|
|
712
|
+
type: BooleanConstructor;
|
|
713
|
+
default: boolean;
|
|
714
|
+
};
|
|
715
|
+
title: {
|
|
716
|
+
type: StringConstructor;
|
|
717
|
+
default: string;
|
|
718
|
+
};
|
|
719
|
+
maxVisibleItems: {
|
|
720
|
+
type: NumberConstructor;
|
|
721
|
+
default: number;
|
|
722
|
+
};
|
|
723
|
+
}>> & Readonly<{
|
|
724
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
725
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
726
|
+
"onCategory-select"?: ((...args: any[]) => any) | undefined;
|
|
727
|
+
"onItem-hover"?: ((...args: any[]) => any) | undefined;
|
|
728
|
+
}>, "handleKeyDown" | ("loading" | "title" | "categories" | "maxVisibleItems")> & ShallowUnwrapRef< {
|
|
729
|
+
handleKeyDown: (e: KeyboardEvent) => void;
|
|
730
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
731
|
+
$slots: {
|
|
732
|
+
'title-icon'?(_: {}): any;
|
|
733
|
+
'loading-indicator'?(_: {}): any;
|
|
734
|
+
item?(_: {
|
|
735
|
+
item: SuggestionItem;
|
|
736
|
+
active: boolean;
|
|
737
|
+
}): any;
|
|
738
|
+
empty?(_: {}): any;
|
|
739
|
+
};
|
|
740
|
+
}) | null;
|
|
741
|
+
}, HTMLDivElement>;
|
|
742
|
+
|
|
743
|
+
declare const __VLS_component_6: DefineComponent<QuestionProps, {
|
|
744
|
+
openModal: () => void;
|
|
745
|
+
closeModal: () => void;
|
|
746
|
+
toggleFloating: () => void;
|
|
747
|
+
setActiveCategory: (categoryId: string) => void;
|
|
748
|
+
refreshData: () => Promise<void>;
|
|
749
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
750
|
+
"question-click": (question: Question_2) => any;
|
|
751
|
+
"select-category": (category: Category_2) => any;
|
|
752
|
+
}, string, PublicProps, Readonly<QuestionProps> & Readonly<{
|
|
753
|
+
"onQuestion-click"?: ((question: Question_2) => any) | undefined;
|
|
754
|
+
"onSelect-category"?: ((category: Category_2) => any) | undefined;
|
|
755
|
+
}>, {
|
|
756
|
+
loading: boolean;
|
|
757
|
+
categories: Category_2[];
|
|
758
|
+
modalWidth: string;
|
|
759
|
+
closeOnClickOutside: boolean;
|
|
760
|
+
commonQuestions: Question_2[];
|
|
761
|
+
initialExpanded: boolean;
|
|
762
|
+
theme: ThemeType_2;
|
|
763
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
764
|
+
|
|
765
|
+
declare type __VLS_PublicProps = {
|
|
766
|
+
'show': ContainerProps['show'];
|
|
767
|
+
'fullscreen'?: ContainerProps['fullscreen'];
|
|
768
|
+
};
|
|
769
|
+
|
|
770
|
+
declare function __VLS_template(): {
|
|
771
|
+
attrs: Partial<{}>;
|
|
772
|
+
slots: Readonly<ContainerSlots> & ContainerSlots;
|
|
773
|
+
refs: {};
|
|
774
|
+
rootEl: HTMLDivElement;
|
|
775
|
+
};
|
|
776
|
+
|
|
777
|
+
declare function __VLS_template_2(): {
|
|
778
|
+
attrs: Partial<{}>;
|
|
779
|
+
slots: Readonly<PromptsSlots> & PromptsSlots;
|
|
780
|
+
refs: {};
|
|
781
|
+
rootEl: HTMLDivElement;
|
|
782
|
+
};
|
|
783
|
+
|
|
784
|
+
declare function __VLS_template_3(): {
|
|
785
|
+
attrs: Partial<{}>;
|
|
786
|
+
slots: {
|
|
787
|
+
header?(_: {}): any;
|
|
788
|
+
prefix?(_: {}): any;
|
|
789
|
+
actions?(_: {}): any;
|
|
790
|
+
footer?(_: {}): any;
|
|
791
|
+
};
|
|
792
|
+
refs: {
|
|
793
|
+
templateEditorRef: CreateComponentPublicInstanceWithMixins<Readonly<TemplateEditorProps_2> & Readonly<{
|
|
794
|
+
onInput?: ((value: string) => any) | undefined;
|
|
795
|
+
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
796
|
+
"onContent-status"?: ((hasContent: boolean) => any) | undefined;
|
|
797
|
+
"onField-active"?: ((isActive: boolean, index: number) => any) | undefined;
|
|
798
|
+
}>, {
|
|
799
|
+
activateFirstField: () => void;
|
|
800
|
+
resetFields: () => void;
|
|
801
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
802
|
+
input: (value: string) => any;
|
|
803
|
+
"update:value": (value: string) => any;
|
|
804
|
+
"content-status": (hasContent: boolean) => any;
|
|
805
|
+
"field-active": (isActive: boolean, index: number) => any;
|
|
806
|
+
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
807
|
+
editorRef: HTMLDivElement;
|
|
808
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
809
|
+
P: {};
|
|
810
|
+
B: {};
|
|
811
|
+
D: {};
|
|
812
|
+
C: {};
|
|
813
|
+
M: {};
|
|
814
|
+
Defaults: {};
|
|
815
|
+
}, Readonly<TemplateEditorProps_2> & Readonly<{
|
|
816
|
+
onInput?: ((value: string) => any) | undefined;
|
|
817
|
+
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
818
|
+
"onContent-status"?: ((hasContent: boolean) => any) | undefined;
|
|
819
|
+
"onField-active"?: ((isActive: boolean, index: number) => any) | undefined;
|
|
820
|
+
}>, {
|
|
821
|
+
activateFirstField: () => void;
|
|
822
|
+
resetFields: () => void;
|
|
823
|
+
}, {}, {}, {}, {}> | null;
|
|
824
|
+
inputRef: CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
|
|
825
|
+
_constants: {
|
|
826
|
+
type: ObjectConstructor;
|
|
827
|
+
default: () => {
|
|
828
|
+
INPUT_PC: string;
|
|
829
|
+
INPUTGROUP_PC: string;
|
|
830
|
+
INPUT_MOBILE: string;
|
|
831
|
+
INPUTGROUP_MOBILE: string;
|
|
832
|
+
Mode: string;
|
|
833
|
+
inputMode(mode: any): string;
|
|
834
|
+
inputGroupMode(mode: any): string;
|
|
835
|
+
VALIDATE_ICON: {
|
|
836
|
+
Validating: string;
|
|
837
|
+
Success: string;
|
|
838
|
+
Error: string;
|
|
839
|
+
};
|
|
840
|
+
COMPONENT_NAME: {
|
|
841
|
+
FormItem: string;
|
|
842
|
+
};
|
|
843
|
+
MASKSYMBOL: string;
|
|
844
|
+
TEXTAREA_HEIGHT_MOBILE: number;
|
|
845
|
+
};
|
|
846
|
+
};
|
|
847
|
+
name: StringConstructor;
|
|
848
|
+
size: StringConstructor;
|
|
849
|
+
form: StringConstructor;
|
|
850
|
+
label: StringConstructor;
|
|
851
|
+
height: NumberConstructor;
|
|
852
|
+
resize: StringConstructor;
|
|
853
|
+
tabindex: {
|
|
854
|
+
type: StringConstructor;
|
|
855
|
+
default: string;
|
|
856
|
+
};
|
|
857
|
+
disabled: BooleanConstructor;
|
|
858
|
+
readonly: BooleanConstructor;
|
|
859
|
+
hoverExpand: BooleanConstructor;
|
|
860
|
+
mask: BooleanConstructor;
|
|
861
|
+
suffixIcon: (StringConstructor | ObjectConstructor)[];
|
|
862
|
+
prefixIcon: (StringConstructor | ObjectConstructor)[];
|
|
863
|
+
modelValue: PropType<string | number | null>;
|
|
864
|
+
type: {
|
|
865
|
+
type: StringConstructor;
|
|
866
|
+
default: string;
|
|
867
|
+
};
|
|
868
|
+
memorySpace: {
|
|
869
|
+
type: NumberConstructor;
|
|
870
|
+
default: number;
|
|
871
|
+
};
|
|
872
|
+
vertical: {
|
|
873
|
+
type: BooleanConstructor;
|
|
874
|
+
default: boolean;
|
|
875
|
+
};
|
|
876
|
+
selectMenu: {
|
|
877
|
+
type: {
|
|
878
|
+
(arrayLength: number): {
|
|
879
|
+
id: string;
|
|
880
|
+
label: string;
|
|
881
|
+
}[];
|
|
882
|
+
(...items: {
|
|
883
|
+
id: string;
|
|
884
|
+
label: string;
|
|
885
|
+
}[]): {
|
|
886
|
+
id: string;
|
|
887
|
+
label: string;
|
|
888
|
+
}[];
|
|
889
|
+
new (arrayLength: number): {
|
|
890
|
+
id: string;
|
|
891
|
+
label: string;
|
|
892
|
+
}[];
|
|
893
|
+
new (...items: {
|
|
894
|
+
id: string;
|
|
895
|
+
label: string;
|
|
896
|
+
}[]): {
|
|
897
|
+
id: string;
|
|
898
|
+
label: string;
|
|
899
|
+
}[];
|
|
900
|
+
isArray(arg: any): arg is any[];
|
|
901
|
+
readonly prototype: any[];
|
|
902
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
903
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
904
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
905
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
906
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
907
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
908
|
+
};
|
|
909
|
+
default: () => never[];
|
|
910
|
+
};
|
|
911
|
+
ellipsis: {
|
|
912
|
+
type: BooleanConstructor;
|
|
913
|
+
default: boolean;
|
|
914
|
+
};
|
|
915
|
+
contentStyle: {
|
|
916
|
+
type: ObjectConstructor;
|
|
917
|
+
default: () => {};
|
|
918
|
+
};
|
|
919
|
+
isSelect: {
|
|
920
|
+
type: BooleanConstructor;
|
|
921
|
+
default: boolean;
|
|
922
|
+
};
|
|
923
|
+
tips: StringConstructor;
|
|
924
|
+
counter: {
|
|
925
|
+
type: BooleanConstructor;
|
|
926
|
+
default: boolean;
|
|
927
|
+
};
|
|
928
|
+
autosize: {
|
|
929
|
+
type: (BooleanConstructor | ObjectConstructor)[];
|
|
930
|
+
default: boolean;
|
|
931
|
+
};
|
|
932
|
+
clearable: {
|
|
933
|
+
type: BooleanConstructor;
|
|
934
|
+
default: boolean;
|
|
935
|
+
};
|
|
936
|
+
autocomplete: {
|
|
937
|
+
type: StringConstructor;
|
|
938
|
+
default: string;
|
|
939
|
+
};
|
|
940
|
+
showPassword: {
|
|
941
|
+
type: BooleanConstructor;
|
|
942
|
+
default: boolean;
|
|
943
|
+
};
|
|
944
|
+
showWordLimit: {
|
|
945
|
+
type: BooleanConstructor;
|
|
946
|
+
default: boolean;
|
|
947
|
+
};
|
|
948
|
+
showTitle: {
|
|
949
|
+
type: BooleanConstructor;
|
|
950
|
+
default: boolean;
|
|
951
|
+
};
|
|
952
|
+
validateEvent: {
|
|
953
|
+
type: BooleanConstructor;
|
|
954
|
+
default: boolean;
|
|
955
|
+
};
|
|
956
|
+
popupMore: {
|
|
957
|
+
type: BooleanConstructor;
|
|
958
|
+
default: boolean;
|
|
959
|
+
};
|
|
960
|
+
textareaTitle: {
|
|
961
|
+
type: StringConstructor;
|
|
962
|
+
default: string;
|
|
963
|
+
};
|
|
964
|
+
displayOnly: {
|
|
965
|
+
type: BooleanConstructor;
|
|
966
|
+
default: boolean;
|
|
967
|
+
};
|
|
968
|
+
displayOnlyContent: {
|
|
969
|
+
type: StringConstructor;
|
|
970
|
+
default: string;
|
|
971
|
+
};
|
|
972
|
+
customClass: {
|
|
973
|
+
type: StringConstructor;
|
|
974
|
+
default: string;
|
|
975
|
+
};
|
|
976
|
+
frontClearIcon: {
|
|
977
|
+
type: BooleanConstructor;
|
|
978
|
+
default: boolean;
|
|
979
|
+
};
|
|
980
|
+
showEmptyValue: {
|
|
981
|
+
type: BooleanConstructor;
|
|
982
|
+
default: undefined;
|
|
983
|
+
};
|
|
984
|
+
textAlign: {
|
|
985
|
+
type: StringConstructor;
|
|
986
|
+
default: string;
|
|
987
|
+
};
|
|
988
|
+
width: {
|
|
989
|
+
type: PropType<string | number | null>;
|
|
990
|
+
};
|
|
991
|
+
showTooltip: {
|
|
992
|
+
type: BooleanConstructor;
|
|
993
|
+
default: boolean;
|
|
994
|
+
};
|
|
995
|
+
inputBoxType: {
|
|
996
|
+
type: StringConstructor;
|
|
997
|
+
default: string;
|
|
998
|
+
validator: (value: string) => boolean;
|
|
999
|
+
};
|
|
1000
|
+
tiny_mode: StringConstructor;
|
|
1001
|
+
tiny_mode_root: BooleanConstructor;
|
|
1002
|
+
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
1003
|
+
tiny_renderless: FunctionConstructor;
|
|
1004
|
+
tiny_theme: StringConstructor;
|
|
1005
|
+
tiny_chart_theme: ObjectConstructor;
|
|
1006
|
+
}>>, () => VNode<RendererNode, RendererElement, {
|
|
1007
|
+
[key: string]: any;
|
|
1008
|
+
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
1009
|
+
disabled: boolean;
|
|
1010
|
+
type: string;
|
|
1011
|
+
ellipsis: boolean;
|
|
1012
|
+
mask: boolean;
|
|
1013
|
+
tiny_mode_root: boolean;
|
|
1014
|
+
_constants: Record<string, any>;
|
|
1015
|
+
tabindex: string;
|
|
1016
|
+
contentStyle: Record<string, any>;
|
|
1017
|
+
customClass: string;
|
|
1018
|
+
showTitle: boolean;
|
|
1019
|
+
readonly: boolean;
|
|
1020
|
+
hoverExpand: boolean;
|
|
1021
|
+
memorySpace: number;
|
|
1022
|
+
vertical: boolean;
|
|
1023
|
+
selectMenu: {
|
|
1024
|
+
id: string;
|
|
1025
|
+
label: string;
|
|
1026
|
+
}[];
|
|
1027
|
+
isSelect: boolean;
|
|
1028
|
+
counter: boolean;
|
|
1029
|
+
autosize: boolean | Record<string, any>;
|
|
1030
|
+
clearable: boolean;
|
|
1031
|
+
autocomplete: string;
|
|
1032
|
+
showPassword: boolean;
|
|
1033
|
+
showWordLimit: boolean;
|
|
1034
|
+
validateEvent: boolean;
|
|
1035
|
+
popupMore: boolean;
|
|
1036
|
+
textareaTitle: string;
|
|
1037
|
+
displayOnly: boolean;
|
|
1038
|
+
displayOnlyContent: string;
|
|
1039
|
+
frontClearIcon: boolean;
|
|
1040
|
+
showEmptyValue: boolean;
|
|
1041
|
+
textAlign: string;
|
|
1042
|
+
showTooltip: boolean;
|
|
1043
|
+
inputBoxType: string;
|
|
1044
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
1045
|
+
P: {};
|
|
1046
|
+
B: {};
|
|
1047
|
+
D: {};
|
|
1048
|
+
C: {};
|
|
1049
|
+
M: {};
|
|
1050
|
+
Defaults: {};
|
|
1051
|
+
}, Readonly<ExtractPropTypes< {
|
|
1052
|
+
_constants: {
|
|
1053
|
+
type: ObjectConstructor;
|
|
1054
|
+
default: () => {
|
|
1055
|
+
INPUT_PC: string;
|
|
1056
|
+
INPUTGROUP_PC: string;
|
|
1057
|
+
INPUT_MOBILE: string;
|
|
1058
|
+
INPUTGROUP_MOBILE: string;
|
|
1059
|
+
Mode: string;
|
|
1060
|
+
inputMode(mode: any): string;
|
|
1061
|
+
inputGroupMode(mode: any): string;
|
|
1062
|
+
VALIDATE_ICON: {
|
|
1063
|
+
Validating: string;
|
|
1064
|
+
Success: string;
|
|
1065
|
+
Error: string;
|
|
1066
|
+
};
|
|
1067
|
+
COMPONENT_NAME: {
|
|
1068
|
+
FormItem: string;
|
|
1069
|
+
};
|
|
1070
|
+
MASKSYMBOL: string;
|
|
1071
|
+
TEXTAREA_HEIGHT_MOBILE: number;
|
|
1072
|
+
};
|
|
1073
|
+
};
|
|
1074
|
+
name: StringConstructor;
|
|
1075
|
+
size: StringConstructor;
|
|
1076
|
+
form: StringConstructor;
|
|
1077
|
+
label: StringConstructor;
|
|
1078
|
+
height: NumberConstructor;
|
|
1079
|
+
resize: StringConstructor;
|
|
1080
|
+
tabindex: {
|
|
1081
|
+
type: StringConstructor;
|
|
1082
|
+
default: string;
|
|
1083
|
+
};
|
|
1084
|
+
disabled: BooleanConstructor;
|
|
1085
|
+
readonly: BooleanConstructor;
|
|
1086
|
+
hoverExpand: BooleanConstructor;
|
|
1087
|
+
mask: BooleanConstructor;
|
|
1088
|
+
suffixIcon: (StringConstructor | ObjectConstructor)[];
|
|
1089
|
+
prefixIcon: (StringConstructor | ObjectConstructor)[];
|
|
1090
|
+
modelValue: PropType<string | number | null>;
|
|
1091
|
+
type: {
|
|
1092
|
+
type: StringConstructor;
|
|
1093
|
+
default: string;
|
|
1094
|
+
};
|
|
1095
|
+
memorySpace: {
|
|
1096
|
+
type: NumberConstructor;
|
|
1097
|
+
default: number;
|
|
1098
|
+
};
|
|
1099
|
+
vertical: {
|
|
1100
|
+
type: BooleanConstructor;
|
|
1101
|
+
default: boolean;
|
|
1102
|
+
};
|
|
1103
|
+
selectMenu: {
|
|
1104
|
+
type: {
|
|
1105
|
+
(arrayLength: number): {
|
|
1106
|
+
id: string;
|
|
1107
|
+
label: string;
|
|
1108
|
+
}[];
|
|
1109
|
+
(...items: {
|
|
1110
|
+
id: string;
|
|
1111
|
+
label: string;
|
|
1112
|
+
}[]): {
|
|
1113
|
+
id: string;
|
|
1114
|
+
label: string;
|
|
1115
|
+
}[];
|
|
1116
|
+
new (arrayLength: number): {
|
|
1117
|
+
id: string;
|
|
1118
|
+
label: string;
|
|
1119
|
+
}[];
|
|
1120
|
+
new (...items: {
|
|
1121
|
+
id: string;
|
|
1122
|
+
label: string;
|
|
1123
|
+
}[]): {
|
|
1124
|
+
id: string;
|
|
1125
|
+
label: string;
|
|
1126
|
+
}[];
|
|
1127
|
+
isArray(arg: any): arg is any[];
|
|
1128
|
+
readonly prototype: any[];
|
|
1129
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
1130
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
1131
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
1132
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
1133
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
1134
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
1135
|
+
};
|
|
1136
|
+
default: () => never[];
|
|
1137
|
+
};
|
|
1138
|
+
ellipsis: {
|
|
1139
|
+
type: BooleanConstructor;
|
|
1140
|
+
default: boolean;
|
|
1141
|
+
};
|
|
1142
|
+
contentStyle: {
|
|
1143
|
+
type: ObjectConstructor;
|
|
1144
|
+
default: () => {};
|
|
1145
|
+
};
|
|
1146
|
+
isSelect: {
|
|
1147
|
+
type: BooleanConstructor;
|
|
1148
|
+
default: boolean;
|
|
1149
|
+
};
|
|
1150
|
+
tips: StringConstructor;
|
|
1151
|
+
counter: {
|
|
1152
|
+
type: BooleanConstructor;
|
|
1153
|
+
default: boolean;
|
|
1154
|
+
};
|
|
1155
|
+
autosize: {
|
|
1156
|
+
type: (BooleanConstructor | ObjectConstructor)[];
|
|
1157
|
+
default: boolean;
|
|
1158
|
+
};
|
|
1159
|
+
clearable: {
|
|
1160
|
+
type: BooleanConstructor;
|
|
1161
|
+
default: boolean;
|
|
1162
|
+
};
|
|
1163
|
+
autocomplete: {
|
|
1164
|
+
type: StringConstructor;
|
|
1165
|
+
default: string;
|
|
1166
|
+
};
|
|
1167
|
+
showPassword: {
|
|
1168
|
+
type: BooleanConstructor;
|
|
1169
|
+
default: boolean;
|
|
1170
|
+
};
|
|
1171
|
+
showWordLimit: {
|
|
1172
|
+
type: BooleanConstructor;
|
|
1173
|
+
default: boolean;
|
|
1174
|
+
};
|
|
1175
|
+
showTitle: {
|
|
1176
|
+
type: BooleanConstructor;
|
|
1177
|
+
default: boolean;
|
|
1178
|
+
};
|
|
1179
|
+
validateEvent: {
|
|
1180
|
+
type: BooleanConstructor;
|
|
1181
|
+
default: boolean;
|
|
1182
|
+
};
|
|
1183
|
+
popupMore: {
|
|
1184
|
+
type: BooleanConstructor;
|
|
1185
|
+
default: boolean;
|
|
1186
|
+
};
|
|
1187
|
+
textareaTitle: {
|
|
1188
|
+
type: StringConstructor;
|
|
1189
|
+
default: string;
|
|
1190
|
+
};
|
|
1191
|
+
displayOnly: {
|
|
1192
|
+
type: BooleanConstructor;
|
|
1193
|
+
default: boolean;
|
|
1194
|
+
};
|
|
1195
|
+
displayOnlyContent: {
|
|
1196
|
+
type: StringConstructor;
|
|
1197
|
+
default: string;
|
|
1198
|
+
};
|
|
1199
|
+
customClass: {
|
|
1200
|
+
type: StringConstructor;
|
|
1201
|
+
default: string;
|
|
1202
|
+
};
|
|
1203
|
+
frontClearIcon: {
|
|
1204
|
+
type: BooleanConstructor;
|
|
1205
|
+
default: boolean;
|
|
1206
|
+
};
|
|
1207
|
+
showEmptyValue: {
|
|
1208
|
+
type: BooleanConstructor;
|
|
1209
|
+
default: undefined;
|
|
1210
|
+
};
|
|
1211
|
+
textAlign: {
|
|
1212
|
+
type: StringConstructor;
|
|
1213
|
+
default: string;
|
|
1214
|
+
};
|
|
1215
|
+
width: {
|
|
1216
|
+
type: PropType<string | number | null>;
|
|
1217
|
+
};
|
|
1218
|
+
showTooltip: {
|
|
1219
|
+
type: BooleanConstructor;
|
|
1220
|
+
default: boolean;
|
|
1221
|
+
};
|
|
1222
|
+
inputBoxType: {
|
|
1223
|
+
type: StringConstructor;
|
|
1224
|
+
default: string;
|
|
1225
|
+
validator: (value: string) => boolean;
|
|
1226
|
+
};
|
|
1227
|
+
tiny_mode: StringConstructor;
|
|
1228
|
+
tiny_mode_root: BooleanConstructor;
|
|
1229
|
+
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
1230
|
+
tiny_renderless: FunctionConstructor;
|
|
1231
|
+
tiny_theme: StringConstructor;
|
|
1232
|
+
tiny_chart_theme: ObjectConstructor;
|
|
1233
|
+
}>>, () => VNode<RendererNode, RendererElement, {
|
|
1234
|
+
[key: string]: any;
|
|
1235
|
+
}>, {}, {}, {}, {
|
|
1236
|
+
disabled: boolean;
|
|
1237
|
+
type: string;
|
|
1238
|
+
ellipsis: boolean;
|
|
1239
|
+
mask: boolean;
|
|
1240
|
+
tiny_mode_root: boolean;
|
|
1241
|
+
_constants: Record<string, any>;
|
|
1242
|
+
tabindex: string;
|
|
1243
|
+
contentStyle: Record<string, any>;
|
|
1244
|
+
customClass: string;
|
|
1245
|
+
showTitle: boolean;
|
|
1246
|
+
readonly: boolean;
|
|
1247
|
+
hoverExpand: boolean;
|
|
1248
|
+
memorySpace: number;
|
|
1249
|
+
vertical: boolean;
|
|
1250
|
+
selectMenu: {
|
|
1251
|
+
id: string;
|
|
1252
|
+
label: string;
|
|
1253
|
+
}[];
|
|
1254
|
+
isSelect: boolean;
|
|
1255
|
+
counter: boolean;
|
|
1256
|
+
autosize: boolean | Record<string, any>;
|
|
1257
|
+
clearable: boolean;
|
|
1258
|
+
autocomplete: string;
|
|
1259
|
+
showPassword: boolean;
|
|
1260
|
+
showWordLimit: boolean;
|
|
1261
|
+
validateEvent: boolean;
|
|
1262
|
+
popupMore: boolean;
|
|
1263
|
+
textareaTitle: string;
|
|
1264
|
+
displayOnly: boolean;
|
|
1265
|
+
displayOnlyContent: string;
|
|
1266
|
+
frontClearIcon: boolean;
|
|
1267
|
+
showEmptyValue: boolean;
|
|
1268
|
+
textAlign: string;
|
|
1269
|
+
showTooltip: boolean;
|
|
1270
|
+
inputBoxType: string;
|
|
1271
|
+
}> | null;
|
|
1272
|
+
};
|
|
1273
|
+
rootEl: HTMLDivElement;
|
|
1274
|
+
};
|
|
1275
|
+
|
|
1276
|
+
declare function __VLS_template_4(): {
|
|
1277
|
+
attrs: Partial<{}>;
|
|
1278
|
+
slots: Readonly<WelcomeSlots> & WelcomeSlots;
|
|
1279
|
+
refs: {};
|
|
1280
|
+
rootEl: HTMLDivElement;
|
|
1281
|
+
};
|
|
1282
|
+
|
|
1283
|
+
declare function __VLS_template_5(): {
|
|
1284
|
+
attrs: Partial<{}>;
|
|
1285
|
+
slots: {
|
|
1286
|
+
'capsule-icon'?(_: {
|
|
1287
|
+
suggestion: any;
|
|
1288
|
+
}): any;
|
|
1289
|
+
trigger?(_: {
|
|
1290
|
+
onTrigger: TriggerHandler;
|
|
1291
|
+
onKeyDown: (e: KeyboardEvent) => void;
|
|
1292
|
+
onInput: (event: Event, text: string) => boolean;
|
|
1293
|
+
}): any;
|
|
1294
|
+
'title-icon'?(_: {}): any;
|
|
1295
|
+
'category-label'?(_: {
|
|
1296
|
+
category: any;
|
|
1297
|
+
}): any;
|
|
1298
|
+
item?(_: {
|
|
1299
|
+
item: SuggestionItem;
|
|
1300
|
+
active: boolean;
|
|
1301
|
+
}): any;
|
|
1302
|
+
'loading-indicator'?(_: {}): any;
|
|
1303
|
+
empty?(_: {}): any;
|
|
1304
|
+
};
|
|
1305
|
+
refs: {
|
|
1306
|
+
rootRef: HTMLDivElement;
|
|
1307
|
+
panelRef: ({
|
|
1308
|
+
$: ComponentInternalInstance;
|
|
1309
|
+
$data: {};
|
|
1310
|
+
$props: Partial<{
|
|
1311
|
+
loading: boolean;
|
|
1312
|
+
title: string;
|
|
1313
|
+
categories: Category[];
|
|
1314
|
+
maxVisibleItems: number;
|
|
1315
|
+
}> & Omit<{
|
|
1316
|
+
readonly loading: boolean;
|
|
1317
|
+
readonly title: string;
|
|
1318
|
+
readonly items: SuggestionItem[];
|
|
1319
|
+
readonly categories: Category[];
|
|
1320
|
+
readonly maxVisibleItems: number;
|
|
1321
|
+
readonly onSelect?: ((...args: any[]) => any) | undefined;
|
|
1322
|
+
readonly onClose?: ((...args: any[]) => any) | undefined;
|
|
1323
|
+
readonly "onCategory-select"?: ((...args: any[]) => any) | undefined;
|
|
1324
|
+
readonly "onItem-hover"?: ((...args: any[]) => any) | undefined;
|
|
1325
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "loading" | "title" | "categories" | "maxVisibleItems">;
|
|
1326
|
+
$attrs: {
|
|
1327
|
+
[x: string]: unknown;
|
|
1328
|
+
};
|
|
1329
|
+
$refs: {
|
|
1330
|
+
[x: string]: unknown;
|
|
1331
|
+
};
|
|
1332
|
+
$slots: Readonly<{
|
|
1333
|
+
[name: string]: Slot<any> | undefined;
|
|
1334
|
+
}>;
|
|
1335
|
+
$root: ComponentPublicInstance | null;
|
|
1336
|
+
$parent: ComponentPublicInstance | null;
|
|
1337
|
+
$host: Element | null;
|
|
1338
|
+
$emit: ((event: "select", ...args: any[]) => void) & ((event: "close", ...args: any[]) => void) & ((event: "category-select", ...args: any[]) => void) & ((event: "item-hover", ...args: any[]) => void);
|
|
1339
|
+
$el: HTMLDivElement;
|
|
1340
|
+
$options: ComponentOptionsBase<Readonly<ExtractPropTypes< {
|
|
1341
|
+
items: {
|
|
1342
|
+
type: PropType<SuggestionItem[]>;
|
|
1343
|
+
required: true;
|
|
1344
|
+
};
|
|
1345
|
+
categories: {
|
|
1346
|
+
type: PropType<Category[]>;
|
|
1347
|
+
default: () => never[];
|
|
1348
|
+
};
|
|
1349
|
+
loading: {
|
|
1350
|
+
type: BooleanConstructor;
|
|
1351
|
+
default: boolean;
|
|
1352
|
+
};
|
|
1353
|
+
title: {
|
|
1354
|
+
type: StringConstructor;
|
|
1355
|
+
default: string;
|
|
1356
|
+
};
|
|
1357
|
+
maxVisibleItems: {
|
|
1358
|
+
type: NumberConstructor;
|
|
1359
|
+
default: number;
|
|
1360
|
+
};
|
|
1361
|
+
}>> & Readonly<{
|
|
1362
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
1363
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
1364
|
+
"onCategory-select"?: ((...args: any[]) => any) | undefined;
|
|
1365
|
+
"onItem-hover"?: ((...args: any[]) => any) | undefined;
|
|
1366
|
+
}>, {
|
|
1367
|
+
handleKeyDown: (e: KeyboardEvent) => void;
|
|
1368
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1369
|
+
select: (...args: any[]) => void;
|
|
1370
|
+
close: (...args: any[]) => void;
|
|
1371
|
+
"category-select": (...args: any[]) => void;
|
|
1372
|
+
"item-hover": (...args: any[]) => void;
|
|
1373
|
+
}, string, {
|
|
1374
|
+
loading: boolean;
|
|
1375
|
+
title: string;
|
|
1376
|
+
categories: Category[];
|
|
1377
|
+
maxVisibleItems: number;
|
|
1378
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1379
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
1380
|
+
created?: (() => void) | (() => void)[];
|
|
1381
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
1382
|
+
mounted?: (() => void) | (() => void)[];
|
|
1383
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
1384
|
+
updated?: (() => void) | (() => void)[];
|
|
1385
|
+
activated?: (() => void) | (() => void)[];
|
|
1386
|
+
deactivated?: (() => void) | (() => void)[];
|
|
1387
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
1388
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
1389
|
+
destroyed?: (() => void) | (() => void)[];
|
|
1390
|
+
unmounted?: (() => void) | (() => void)[];
|
|
1391
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1392
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1393
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1394
|
+
};
|
|
1395
|
+
$forceUpdate: () => void;
|
|
1396
|
+
$nextTick: nextTick;
|
|
1397
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
1398
|
+
} & Readonly<{
|
|
1399
|
+
loading: boolean;
|
|
1400
|
+
title: string;
|
|
1401
|
+
categories: Category[];
|
|
1402
|
+
maxVisibleItems: number;
|
|
1403
|
+
}> & Omit<Readonly<ExtractPropTypes< {
|
|
1404
|
+
items: {
|
|
1405
|
+
type: PropType<SuggestionItem[]>;
|
|
1406
|
+
required: true;
|
|
1407
|
+
};
|
|
1408
|
+
categories: {
|
|
1409
|
+
type: PropType<Category[]>;
|
|
1410
|
+
default: () => never[];
|
|
1411
|
+
};
|
|
1412
|
+
loading: {
|
|
1413
|
+
type: BooleanConstructor;
|
|
1414
|
+
default: boolean;
|
|
1415
|
+
};
|
|
1416
|
+
title: {
|
|
1417
|
+
type: StringConstructor;
|
|
1418
|
+
default: string;
|
|
1419
|
+
};
|
|
1420
|
+
maxVisibleItems: {
|
|
1421
|
+
type: NumberConstructor;
|
|
1422
|
+
default: number;
|
|
1423
|
+
};
|
|
1424
|
+
}>> & Readonly<{
|
|
1425
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
1426
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
1427
|
+
"onCategory-select"?: ((...args: any[]) => any) | undefined;
|
|
1428
|
+
"onItem-hover"?: ((...args: any[]) => any) | undefined;
|
|
1429
|
+
}>, "handleKeyDown" | ("loading" | "title" | "categories" | "maxVisibleItems")> & ShallowUnwrapRef< {
|
|
1430
|
+
handleKeyDown: (e: KeyboardEvent) => void;
|
|
1431
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
1432
|
+
$slots: {
|
|
1433
|
+
'title-icon'?(_: {}): any;
|
|
1434
|
+
'loading-indicator'?(_: {}): any;
|
|
1435
|
+
item?(_: {
|
|
1436
|
+
item: SuggestionItem;
|
|
1437
|
+
active: boolean;
|
|
1438
|
+
}): any;
|
|
1439
|
+
empty?(_: {}): any;
|
|
1440
|
+
};
|
|
1441
|
+
}) | null;
|
|
1442
|
+
};
|
|
1443
|
+
rootEl: HTMLDivElement;
|
|
1444
|
+
};
|
|
1445
|
+
|
|
1446
|
+
declare function __VLS_template_6(): {
|
|
1447
|
+
attrs: Partial<{}>;
|
|
1448
|
+
slots: {
|
|
1449
|
+
'category-label'?(_: {
|
|
1450
|
+
category: Category_2;
|
|
1451
|
+
}): any;
|
|
1452
|
+
'question-item'?(_: {
|
|
1453
|
+
question: Question_2;
|
|
1454
|
+
index: number;
|
|
1455
|
+
}): any;
|
|
1456
|
+
'loading-indicator'?(_: {}): any;
|
|
1457
|
+
'empty-state'?(_: {}): any;
|
|
1458
|
+
};
|
|
1459
|
+
refs: {};
|
|
1460
|
+
rootEl: HTMLDivElement;
|
|
1461
|
+
};
|
|
1462
|
+
|
|
1463
|
+
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
1464
|
+
|
|
1465
|
+
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
1466
|
+
|
|
1467
|
+
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
1468
|
+
|
|
1469
|
+
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
1470
|
+
|
|
1471
|
+
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
1472
|
+
|
|
1473
|
+
declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
|
|
1474
|
+
|
|
1475
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
1476
|
+
new (): {
|
|
1477
|
+
$slots: S;
|
|
1478
|
+
};
|
|
1479
|
+
};
|
|
1480
|
+
|
|
1481
|
+
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
1482
|
+
new (): {
|
|
1483
|
+
$slots: S;
|
|
1484
|
+
};
|
|
1485
|
+
};
|
|
1486
|
+
|
|
1487
|
+
declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
1488
|
+
new (): {
|
|
1489
|
+
$slots: S;
|
|
1490
|
+
};
|
|
1491
|
+
};
|
|
1492
|
+
|
|
1493
|
+
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
1494
|
+
new (): {
|
|
1495
|
+
$slots: S;
|
|
1496
|
+
};
|
|
1497
|
+
};
|
|
1498
|
+
|
|
1499
|
+
declare type __VLS_WithTemplateSlots_5<T, S> = T & {
|
|
1500
|
+
new (): {
|
|
1501
|
+
$slots: S;
|
|
1502
|
+
};
|
|
1503
|
+
};
|
|
1504
|
+
|
|
1505
|
+
declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
1506
|
+
new (): {
|
|
1507
|
+
$slots: S;
|
|
1508
|
+
};
|
|
1509
|
+
};
|
|
1510
|
+
|
|
1511
|
+
export declare interface ActionButtonsProps {
|
|
1512
|
+
loading?: boolean;
|
|
1513
|
+
disabled?: boolean;
|
|
1514
|
+
showClear?: boolean;
|
|
1515
|
+
hasContent?: boolean;
|
|
1516
|
+
allowSpeech?: boolean;
|
|
1517
|
+
speechStatus?: {
|
|
1518
|
+
isRecording: boolean;
|
|
1519
|
+
isSupported: boolean;
|
|
1520
|
+
};
|
|
1521
|
+
allowFiles?: boolean;
|
|
1522
|
+
submitType?: SubmitTrigger;
|
|
1523
|
+
showShortcuts?: boolean;
|
|
1524
|
+
}
|
|
1525
|
+
|
|
1526
|
+
export declare type AutoSize = boolean | {
|
|
1527
|
+
minRows: number;
|
|
1528
|
+
maxRows: number;
|
|
1529
|
+
};
|
|
1530
|
+
|
|
1531
|
+
declare interface BaseHistoryProps {
|
|
1532
|
+
activeTab?: string;
|
|
1533
|
+
searchBar?: boolean;
|
|
1534
|
+
searchQuery?: string;
|
|
1535
|
+
searchPlaceholder?: string;
|
|
1536
|
+
searchFn?: (query: string, item: HistoryItem) => boolean;
|
|
1537
|
+
selected?: string;
|
|
1538
|
+
}
|
|
1539
|
+
|
|
1540
|
+
declare const Bubble: typeof default_2 & {
|
|
1541
|
+
install: typeof bubbleInstall;
|
|
1542
|
+
};
|
|
1543
|
+
export { Bubble }
|
|
1544
|
+
export { Bubble as TrBubble }
|
|
1545
|
+
|
|
1546
|
+
declare const bubbleInstall: (app: App) => void;
|
|
1547
|
+
|
|
1548
|
+
declare const BubbleList: typeof _default_11 & {
|
|
1549
|
+
install: typeof bubbleListInstall;
|
|
1550
|
+
};
|
|
1551
|
+
export { BubbleList }
|
|
1552
|
+
export { BubbleList as TrBubbleList }
|
|
1553
|
+
|
|
1554
|
+
declare const bubbleListInstall: (app: App) => void;
|
|
1555
|
+
|
|
1556
|
+
export declare interface BubbleListProps {
|
|
1557
|
+
items: (BubbleProps & {
|
|
1558
|
+
slots?: BubbleSlots;
|
|
1559
|
+
})[];
|
|
1560
|
+
/**
|
|
1561
|
+
* 每个角色的默认配置项
|
|
1562
|
+
*/
|
|
1563
|
+
roles?: Record<string, BubbleRoleConfig>;
|
|
1564
|
+
autoScroll?: boolean;
|
|
1565
|
+
}
|
|
1566
|
+
|
|
1567
|
+
export declare type BubblePalcement = 'start' | 'end';
|
|
1568
|
+
|
|
1569
|
+
export declare interface BubbleProps {
|
|
1570
|
+
/**
|
|
1571
|
+
* 气泡内容
|
|
1572
|
+
*/
|
|
1573
|
+
content?: string;
|
|
1574
|
+
id?: string | number | symbol;
|
|
1575
|
+
/**
|
|
1576
|
+
* 气泡位置
|
|
1577
|
+
*/
|
|
1578
|
+
placement?: BubblePalcement;
|
|
1579
|
+
avatar?: VNode;
|
|
1580
|
+
role?: string;
|
|
1581
|
+
/**
|
|
1582
|
+
* 内容类型
|
|
1583
|
+
*/
|
|
1584
|
+
type?: 'text' | 'markdown';
|
|
1585
|
+
loading?: boolean;
|
|
1586
|
+
aborted?: boolean;
|
|
1587
|
+
/**
|
|
1588
|
+
* type 为 'markdown' 时,markdown 的配置项
|
|
1589
|
+
*/
|
|
1590
|
+
mdConfig?: Options;
|
|
1591
|
+
maxWidth?: CSSProperties['maxWidth'];
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1594
|
+
export declare type BubbleRoleConfig = Pick<BubbleProps, 'placement' | 'avatar' | 'type' | 'mdConfig' | 'maxWidth'> & {
|
|
1595
|
+
slots?: BubbleSlots;
|
|
1596
|
+
};
|
|
1597
|
+
|
|
1598
|
+
export declare interface BubbleSlots {
|
|
1599
|
+
default?: (slotProps: {
|
|
1600
|
+
bubbleProps: BubbleProps;
|
|
1601
|
+
}) => unknown;
|
|
1602
|
+
footer?: (slotProps: {
|
|
1603
|
+
bubbleProps: BubbleProps;
|
|
1604
|
+
}) => unknown;
|
|
1605
|
+
loading?: (slotProps: {
|
|
1606
|
+
bubbleProps: BubbleProps;
|
|
1607
|
+
}) => unknown;
|
|
1608
|
+
}
|
|
1609
|
+
|
|
1610
|
+
/**
|
|
1611
|
+
* 分类定义
|
|
1612
|
+
*/
|
|
1613
|
+
export declare interface Category {
|
|
1614
|
+
/** 唯一标识 */
|
|
1615
|
+
id: string;
|
|
1616
|
+
/** 显示名称 */
|
|
1617
|
+
label: string;
|
|
1618
|
+
/** 可选图标 */
|
|
1619
|
+
icon?: VNode;
|
|
1620
|
+
/** 该分类下的指令项 */
|
|
1621
|
+
items: SuggestionItem[];
|
|
1622
|
+
}
|
|
1623
|
+
|
|
1624
|
+
declare interface Category_2 {
|
|
1625
|
+
id: string;
|
|
1626
|
+
label: string;
|
|
1627
|
+
icon?: string;
|
|
1628
|
+
questions: Question_2[];
|
|
1629
|
+
}
|
|
1630
|
+
|
|
1631
|
+
export declare interface ContainerProps {
|
|
1632
|
+
/**
|
|
1633
|
+
* model:show
|
|
1634
|
+
*/
|
|
1635
|
+
show: boolean;
|
|
1636
|
+
/**
|
|
1637
|
+
* model:fullscreen
|
|
1638
|
+
*/
|
|
1639
|
+
fullscreen?: boolean;
|
|
1640
|
+
}
|
|
1641
|
+
|
|
1642
|
+
export declare interface ContainerSlots {
|
|
1643
|
+
default: () => unknown;
|
|
1644
|
+
title: () => unknown;
|
|
1645
|
+
operations: () => unknown;
|
|
1646
|
+
footer: () => unknown;
|
|
1647
|
+
}
|
|
1648
|
+
|
|
1649
|
+
declare const _default: {
|
|
1650
|
+
install<T>(app: App<T>): void;
|
|
1651
|
+
};
|
|
1652
|
+
export default _default;
|
|
1653
|
+
|
|
1654
|
+
declare const _default_10: typeof _default_21 & {
|
|
1655
|
+
install: typeof install_8;
|
|
1656
|
+
};
|
|
1657
|
+
export { _default_10 as Question }
|
|
1658
|
+
export { _default_10 as TrQuestion }
|
|
1659
|
+
|
|
1660
|
+
declare const _default_11: DefineComponent<BubbleListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BubbleListProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1661
|
+
scrollContainer: HTMLDivElement;
|
|
1662
|
+
}, HTMLDivElement>;
|
|
1663
|
+
|
|
1664
|
+
declare const _default_12: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
1665
|
+
|
|
1666
|
+
declare const _default_13: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1667
|
+
|
|
1668
|
+
declare const _default_14: DefineComponent<FeedbackProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1669
|
+
operation: (name: string) => any;
|
|
1670
|
+
action: (name: string) => any;
|
|
1671
|
+
}, string, PublicProps, Readonly<FeedbackProps> & Readonly<{
|
|
1672
|
+
onOperation?: ((name: string) => any) | undefined;
|
|
1673
|
+
onAction?: ((name: string) => any) | undefined;
|
|
1674
|
+
}>, {
|
|
1675
|
+
operationsLimit: number;
|
|
1676
|
+
actionsLimit: number;
|
|
1677
|
+
sourcesLinesLimit: number;
|
|
1678
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1679
|
+
|
|
1680
|
+
declare const _default_15: DefineComponent<IconButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconButtonProps> & Readonly<{}>, {
|
|
1681
|
+
size: string | number;
|
|
1682
|
+
svgSize: string | number;
|
|
1683
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
1684
|
+
|
|
1685
|
+
declare const _default_16: DefineComponent<PromptProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1686
|
+
|
|
1687
|
+
declare const _default_17: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
1688
|
+
|
|
1689
|
+
declare const _default_18: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
1690
|
+
|
|
1691
|
+
declare const _default_19: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
1692
|
+
|
|
1693
|
+
declare const _default_2: typeof _default_12 & {
|
|
1694
|
+
install: typeof install;
|
|
1695
|
+
};
|
|
1696
|
+
export { _default_2 as Container }
|
|
1697
|
+
export { _default_2 as TrContainer }
|
|
1698
|
+
|
|
1699
|
+
declare const _default_20: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
1700
|
+
|
|
1701
|
+
declare const _default_21: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
1702
|
+
|
|
1703
|
+
declare const _default_3: typeof _default_13 & {
|
|
1704
|
+
install: typeof install_2;
|
|
1705
|
+
};
|
|
1706
|
+
export { _default_3 as Conversations }
|
|
1707
|
+
export { _default_3 as TrConversations }
|
|
1708
|
+
|
|
1709
|
+
declare const _default_4: typeof _default_14 & {
|
|
1710
|
+
install: typeof install_3;
|
|
1711
|
+
};
|
|
1712
|
+
export { _default_4 as Feedback }
|
|
1713
|
+
export { _default_4 as TrFeedback }
|
|
1714
|
+
|
|
1715
|
+
declare const _default_5: {
|
|
1716
|
+
install: <T>(app: App<T>) => void;
|
|
1717
|
+
name: string;
|
|
1718
|
+
};
|
|
1719
|
+
export { _default_5 as History }
|
|
1720
|
+
export { _default_5 as TrHistory }
|
|
1721
|
+
|
|
1722
|
+
declare const _default_6: typeof _default_15 & {
|
|
1723
|
+
install: typeof install_4;
|
|
1724
|
+
};
|
|
1725
|
+
export { _default_6 as IconButton }
|
|
1726
|
+
export { _default_6 as TrIconButton }
|
|
1727
|
+
|
|
1728
|
+
declare const _default_7: typeof _default_18 & {
|
|
1729
|
+
install: typeof install_5;
|
|
1730
|
+
};
|
|
1731
|
+
export { _default_7 as Sender }
|
|
1732
|
+
export { _default_7 as TrSender }
|
|
1733
|
+
|
|
1734
|
+
declare const _default_8: typeof _default_19 & {
|
|
1735
|
+
install: typeof install_6;
|
|
1736
|
+
};
|
|
1737
|
+
export { _default_8 as TrWelcome }
|
|
1738
|
+
export { _default_8 as Welcome }
|
|
1739
|
+
|
|
1740
|
+
declare const _default_9: typeof _default_20 & {
|
|
1741
|
+
install: typeof install_7;
|
|
1742
|
+
};
|
|
1743
|
+
export { _default_9 as Suggestion }
|
|
1744
|
+
export { _default_9 as TrSuggestion }
|
|
1745
|
+
|
|
1746
|
+
export declare interface FeedbackEvents {
|
|
1747
|
+
(e: 'operation', name: string): void;
|
|
1748
|
+
(e: 'action', name: string): void;
|
|
1749
|
+
}
|
|
1750
|
+
|
|
1751
|
+
export declare interface FeedbackProps {
|
|
1752
|
+
operations?: {
|
|
1753
|
+
name: string;
|
|
1754
|
+
label: string;
|
|
1755
|
+
onClick?: () => void;
|
|
1756
|
+
}[];
|
|
1757
|
+
operationsLimit?: number;
|
|
1758
|
+
actions?: {
|
|
1759
|
+
name: string;
|
|
1760
|
+
label: string;
|
|
1761
|
+
icon?: 'copy' | 'refresh' | 'like' | 'dislike' | VNode | Component;
|
|
1762
|
+
onClick?: () => void;
|
|
1763
|
+
}[];
|
|
1764
|
+
actionsLimit?: number;
|
|
1765
|
+
sources?: {
|
|
1766
|
+
label: string;
|
|
1767
|
+
link: string;
|
|
1768
|
+
}[];
|
|
1769
|
+
sourcesLinesLimit?: number;
|
|
1770
|
+
}
|
|
1771
|
+
|
|
1772
|
+
export declare type HistoryData = HistoryItem[] | HistoryGroup[];
|
|
1773
|
+
|
|
1774
|
+
export declare interface HistoryEvents {
|
|
1775
|
+
(e: 'close'): void;
|
|
1776
|
+
(e: 'item-click', item: HistoryItem): void;
|
|
1777
|
+
(e: 'item-title-change', newTitle: string, rawData: HistoryItem): void;
|
|
1778
|
+
(e: 'item-delete', item: HistoryItem): void;
|
|
1779
|
+
}
|
|
1780
|
+
|
|
1781
|
+
export declare interface HistoryGroup<T = Record<string, unknown>> {
|
|
1782
|
+
group: string | symbol;
|
|
1783
|
+
items: HistoryItem<T>[];
|
|
1784
|
+
}
|
|
1785
|
+
|
|
1786
|
+
export declare interface HistoryItem<T = Record<string, unknown>> {
|
|
1787
|
+
id: string;
|
|
1788
|
+
title: string;
|
|
1789
|
+
tag?: HistoryItemTagProps;
|
|
1790
|
+
data?: T;
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1793
|
+
export declare interface HistoryItemTagProps {
|
|
1794
|
+
text: string;
|
|
1795
|
+
type?: 'success' | 'warning' | 'error' | 'info' | 'default';
|
|
1796
|
+
style?: CSSProperties;
|
|
1797
|
+
}
|
|
1798
|
+
|
|
1799
|
+
export declare type HistoryProps = SingleTabHistoryProps | MultiTabHistoryProps;
|
|
1800
|
+
|
|
1801
|
+
export declare interface IconButtonProps {
|
|
1802
|
+
icon: VNode | Component;
|
|
1803
|
+
size?: string | number;
|
|
1804
|
+
svgSize?: string | number;
|
|
1805
|
+
rounded?: boolean;
|
|
1806
|
+
}
|
|
1807
|
+
|
|
1808
|
+
export declare interface InputHandler {
|
|
1809
|
+
inputValue: Ref<string>;
|
|
1810
|
+
isComposing: Ref<boolean>;
|
|
1811
|
+
clearInput: () => void;
|
|
1812
|
+
}
|
|
1813
|
+
|
|
1814
|
+
export declare type InputMode = 'single' | 'multiple';
|
|
1815
|
+
|
|
1816
|
+
declare const install: <T>(app: App<T>) => void;
|
|
1817
|
+
|
|
1818
|
+
declare const install_2: <T>(app: App<T>) => void;
|
|
1819
|
+
|
|
1820
|
+
declare const install_3: <T>(app: App<T>) => void;
|
|
1821
|
+
|
|
1822
|
+
declare const install_4: <T>(app: App<T>) => void;
|
|
1823
|
+
|
|
1824
|
+
declare const install_5: <T>(app: App<T>) => void;
|
|
1825
|
+
|
|
1826
|
+
declare const install_6: <T>(app: App<T>) => void;
|
|
1827
|
+
|
|
1828
|
+
declare const install_7: <T>(app: App<T>) => void;
|
|
1829
|
+
|
|
1830
|
+
declare const install_8: <T>(app: App<T>) => void;
|
|
1831
|
+
|
|
1832
|
+
declare const installPrompt: <T>(app: App<T>) => void;
|
|
1833
|
+
|
|
1834
|
+
declare const installPrompts: <T>(app: App<T>) => void;
|
|
1835
|
+
|
|
1836
|
+
export declare interface KeyboardHandler {
|
|
1837
|
+
handleKeyPress: (e: KeyboardEvent) => void;
|
|
1838
|
+
triggerSubmit: () => void;
|
|
1839
|
+
}
|
|
1840
|
+
|
|
1841
|
+
export declare type MultiTabHistoryProps = {
|
|
1842
|
+
tabs: {
|
|
1843
|
+
title: string;
|
|
1844
|
+
id: string;
|
|
1845
|
+
}[];
|
|
1846
|
+
data: Record<string, HistoryData>;
|
|
1847
|
+
} & BaseHistoryProps;
|
|
1848
|
+
|
|
1849
|
+
declare const Prompt: typeof _default_16 & {
|
|
1850
|
+
install: typeof installPrompt;
|
|
1851
|
+
};
|
|
1852
|
+
export { Prompt }
|
|
1853
|
+
export { Prompt as TrPrompt }
|
|
1854
|
+
|
|
1855
|
+
export declare interface PromptProps {
|
|
1856
|
+
/**
|
|
1857
|
+
* 提示标签,显示提示的主要内容
|
|
1858
|
+
*/
|
|
1859
|
+
label: string;
|
|
1860
|
+
/**
|
|
1861
|
+
* 唯一标识用于区分每个提示项,用于 Prompts 列表。如果不传此参数,则使用 index 作为 key
|
|
1862
|
+
*/
|
|
1863
|
+
id?: string;
|
|
1864
|
+
/**
|
|
1865
|
+
* 提示描述,提供额外的信息
|
|
1866
|
+
*/
|
|
1867
|
+
description?: string;
|
|
1868
|
+
/**
|
|
1869
|
+
* 提示图标,显示在提示项的左侧
|
|
1870
|
+
*/
|
|
1871
|
+
icon?: VNode;
|
|
1872
|
+
/**
|
|
1873
|
+
* 是否禁用。默认 false
|
|
1874
|
+
*/
|
|
1875
|
+
disabled?: boolean;
|
|
1876
|
+
/**
|
|
1877
|
+
* 提示徽章,显示在提示项的右上角
|
|
1878
|
+
*/
|
|
1879
|
+
badge?: string | VNode;
|
|
1880
|
+
}
|
|
1881
|
+
|
|
1882
|
+
declare const Prompts: typeof _default_17 & {
|
|
1883
|
+
install: typeof installPrompts;
|
|
1884
|
+
};
|
|
1885
|
+
export { Prompts }
|
|
1886
|
+
export { Prompts as TrPrompts }
|
|
1887
|
+
|
|
1888
|
+
export declare interface PromptsEvents {
|
|
1889
|
+
(e: 'item-click', ev: MouseEvent, item: PromptProps): void;
|
|
1890
|
+
}
|
|
1891
|
+
|
|
1892
|
+
export declare interface PromptsProps {
|
|
1893
|
+
/**
|
|
1894
|
+
* 包含多个提示项的列表
|
|
1895
|
+
*/
|
|
1896
|
+
items: PromptProps[];
|
|
1897
|
+
/**
|
|
1898
|
+
* 自定义样式,用于各个提示项的不同部分
|
|
1899
|
+
*/
|
|
1900
|
+
itemStyle?: string | CSSProperties;
|
|
1901
|
+
/**
|
|
1902
|
+
* 自定义类名,用于各个提示项的不同部分
|
|
1903
|
+
*/
|
|
1904
|
+
itemClass?: string | string[];
|
|
1905
|
+
/**
|
|
1906
|
+
* 提示列表是否垂直排列。默认 false
|
|
1907
|
+
*/
|
|
1908
|
+
vertical?: boolean;
|
|
1909
|
+
/**
|
|
1910
|
+
* 提示列表是否折行。默认 false
|
|
1911
|
+
*/
|
|
1912
|
+
wrap?: boolean;
|
|
1913
|
+
}
|
|
1914
|
+
|
|
1915
|
+
export declare interface PromptsSlots {
|
|
1916
|
+
footer?: () => unknown;
|
|
1917
|
+
}
|
|
1918
|
+
|
|
1919
|
+
declare interface Question_2 {
|
|
1920
|
+
id: string;
|
|
1921
|
+
text: string;
|
|
1922
|
+
keywords?: string[];
|
|
1923
|
+
}
|
|
1924
|
+
|
|
1925
|
+
/**
|
|
1926
|
+
* Question组件属性定义
|
|
1927
|
+
*/
|
|
1928
|
+
declare interface QuestionProps {
|
|
1929
|
+
/**
|
|
1930
|
+
* 问题分类列表
|
|
1931
|
+
* 包含多个分类,每个分类下有多个问题
|
|
1932
|
+
*/
|
|
1933
|
+
categories: Category_2[];
|
|
1934
|
+
/**
|
|
1935
|
+
* 浮动显示的问题列表
|
|
1936
|
+
* 显示在组件底部的常见问题胶囊
|
|
1937
|
+
*/
|
|
1938
|
+
commonQuestions: Question_2[];
|
|
1939
|
+
/**
|
|
1940
|
+
* 是否初始展开常见问题
|
|
1941
|
+
* @default false
|
|
1942
|
+
*/
|
|
1943
|
+
initialExpanded?: boolean;
|
|
1944
|
+
/**
|
|
1945
|
+
* 弹窗宽度
|
|
1946
|
+
* @default '640px'
|
|
1947
|
+
*/
|
|
1948
|
+
modalWidth?: string;
|
|
1949
|
+
/**
|
|
1950
|
+
* 主题类型
|
|
1951
|
+
* @default 'light'
|
|
1952
|
+
*/
|
|
1953
|
+
theme?: ThemeType_3;
|
|
1954
|
+
/**
|
|
1955
|
+
* 是否点击外部关闭弹窗
|
|
1956
|
+
* @default true
|
|
1957
|
+
*/
|
|
1958
|
+
closeOnClickOutside?: boolean;
|
|
1959
|
+
/**
|
|
1960
|
+
* 是否显示加载中状态
|
|
1961
|
+
* @default false
|
|
1962
|
+
*/
|
|
1963
|
+
loading?: boolean;
|
|
1964
|
+
}
|
|
1965
|
+
|
|
1966
|
+
export declare type SenderEmits = {
|
|
1967
|
+
(e: 'update:modelValue', value: string): void;
|
|
1968
|
+
(e: 'submit', value: string): void;
|
|
1969
|
+
(e: 'clear'): void;
|
|
1970
|
+
(e: 'speech-start'): void;
|
|
1971
|
+
(e: 'speech-end', transcript?: string): void;
|
|
1972
|
+
(e: 'speech-interim', transcript: string): void;
|
|
1973
|
+
(e: 'speech-error', error: Error): void;
|
|
1974
|
+
(e: 'suggestion-select', value: string): void;
|
|
1975
|
+
(e: 'focus', event: FocusEvent): void;
|
|
1976
|
+
(e: 'blur', event: FocusEvent): void;
|
|
1977
|
+
(e: 'escape-press'): void;
|
|
1978
|
+
(e: 'cancel'): void;
|
|
1979
|
+
(e: 'reset-template'): void;
|
|
1980
|
+
};
|
|
1981
|
+
|
|
1982
|
+
export declare interface SenderProps {
|
|
1983
|
+
autofocus?: boolean;
|
|
1984
|
+
autoSize?: AutoSize;
|
|
1985
|
+
allowSpeech?: boolean;
|
|
1986
|
+
allowFiles?: boolean;
|
|
1987
|
+
clearable?: boolean;
|
|
1988
|
+
disabled?: boolean;
|
|
1989
|
+
defaultValue?: string | null;
|
|
1990
|
+
loading?: boolean;
|
|
1991
|
+
modelValue?: string;
|
|
1992
|
+
mode?: InputMode;
|
|
1993
|
+
maxLength?: number;
|
|
1994
|
+
submitType?: SubmitTrigger;
|
|
1995
|
+
speech?: boolean | SpeechConfig;
|
|
1996
|
+
placeholder?: string;
|
|
1997
|
+
showWordLimit?: boolean;
|
|
1998
|
+
suggestions?: string[];
|
|
1999
|
+
theme?: ThemeType;
|
|
2000
|
+
template?: string;
|
|
2001
|
+
hasContent?: boolean;
|
|
2002
|
+
}
|
|
2003
|
+
|
|
2004
|
+
export declare type SingleTabHistoryProps = {
|
|
2005
|
+
tabTitle: string;
|
|
2006
|
+
data: HistoryData;
|
|
2007
|
+
} & BaseHistoryProps;
|
|
2008
|
+
|
|
2009
|
+
export declare interface SpeechConfig {
|
|
2010
|
+
lang?: string;
|
|
2011
|
+
continuous?: boolean;
|
|
2012
|
+
interimResults?: boolean;
|
|
2013
|
+
autoReplace?: boolean;
|
|
2014
|
+
}
|
|
2015
|
+
|
|
2016
|
+
export declare interface SpeechHandler {
|
|
2017
|
+
speechState: SpeechState;
|
|
2018
|
+
start: () => void;
|
|
2019
|
+
stop: () => void;
|
|
2020
|
+
}
|
|
2021
|
+
|
|
2022
|
+
export declare interface SpeechHookOptions extends SpeechConfig {
|
|
2023
|
+
onStart?: () => void;
|
|
2024
|
+
onEnd?: (transcript?: string) => void;
|
|
2025
|
+
onInterim?: (transcript: string) => void;
|
|
2026
|
+
onFinal?: (transcript: string) => void;
|
|
2027
|
+
onError?: (error: Error) => void;
|
|
2028
|
+
}
|
|
2029
|
+
|
|
2030
|
+
export declare interface SpeechState {
|
|
2031
|
+
isRecording: boolean;
|
|
2032
|
+
isSupported: boolean;
|
|
2033
|
+
error?: Error;
|
|
2034
|
+
}
|
|
2035
|
+
|
|
2036
|
+
export declare type SubmitTrigger = 'enter' | 'ctrlEnter' | 'shiftEnter';
|
|
2037
|
+
|
|
2038
|
+
/**
|
|
2039
|
+
* 组件事件
|
|
2040
|
+
*/
|
|
2041
|
+
export declare interface SuggestionEmits {
|
|
2042
|
+
/** 双向绑定打开状态 (v-model) */
|
|
2043
|
+
(e: 'update:open', value: boolean): void;
|
|
2044
|
+
/** 选中指令项 */
|
|
2045
|
+
(e: 'select', value: string, context?: TriggerContext): void;
|
|
2046
|
+
/** 关闭面板 */
|
|
2047
|
+
(e: 'close'): void;
|
|
2048
|
+
/** 触发回调 */
|
|
2049
|
+
(e: 'trigger', handler: TriggerHandler): void;
|
|
2050
|
+
/** 选择分类 */
|
|
2051
|
+
(e: 'category-select', category: Category): void;
|
|
2052
|
+
/** 点击胶囊指令 */
|
|
2053
|
+
(e: 'suggestion-select', item: SuggestionItem): void;
|
|
2054
|
+
/** 展开/收起状态变化 */
|
|
2055
|
+
(e: 'update:expanded', expanded: boolean): void;
|
|
2056
|
+
/** 填充模板到输入框 */
|
|
2057
|
+
(e: 'fill-template', template: string): void;
|
|
2058
|
+
}
|
|
2059
|
+
|
|
2060
|
+
/**
|
|
2061
|
+
* 指令项定义
|
|
2062
|
+
*/
|
|
2063
|
+
export declare interface SuggestionItem {
|
|
2064
|
+
/** 唯一标识 */
|
|
2065
|
+
id: string;
|
|
2066
|
+
/** 显示文本 */
|
|
2067
|
+
text: string;
|
|
2068
|
+
/** 指令值 */
|
|
2069
|
+
value: string;
|
|
2070
|
+
/** 图标 */
|
|
2071
|
+
icon?: VNode;
|
|
2072
|
+
/** 关键词,用于搜索和过滤 */
|
|
2073
|
+
keywords?: string[];
|
|
2074
|
+
/** 描述文本 */
|
|
2075
|
+
description?: string;
|
|
2076
|
+
/** 指令模板,用于在输入框中显示可编辑的模板 */
|
|
2077
|
+
template?: string;
|
|
2078
|
+
}
|
|
2079
|
+
|
|
2080
|
+
/**
|
|
2081
|
+
* 组件属性
|
|
2082
|
+
*/
|
|
2083
|
+
export declare interface SuggestionProps {
|
|
2084
|
+
/** 触发快捷键列表 */
|
|
2085
|
+
triggerKeys?: string[];
|
|
2086
|
+
/** 指令项列表 */
|
|
2087
|
+
items: SuggestionItem[];
|
|
2088
|
+
/** 分类列表 */
|
|
2089
|
+
categories?: Category[];
|
|
2090
|
+
/** 是否显示面板 (支持v-model) */
|
|
2091
|
+
open?: boolean;
|
|
2092
|
+
/** 自定义类名 */
|
|
2093
|
+
className?: string;
|
|
2094
|
+
/** 主题,light或dark */
|
|
2095
|
+
theme?: 'light' | 'dark';
|
|
2096
|
+
/** 是否显示加载状态 */
|
|
2097
|
+
loading?: boolean;
|
|
2098
|
+
/** 是否点击外部关闭面板 */
|
|
2099
|
+
closeOnOutsideClick?: boolean;
|
|
2100
|
+
/** 面板标题 */
|
|
2101
|
+
title?: string;
|
|
2102
|
+
/** 最大显示条目数 */
|
|
2103
|
+
maxVisibleItems?: number;
|
|
2104
|
+
/** 默认是否展开完整指令列表 */
|
|
2105
|
+
defaultExpanded?: boolean;
|
|
2106
|
+
}
|
|
2107
|
+
|
|
2108
|
+
/**
|
|
2109
|
+
* 模板编辑器事件
|
|
2110
|
+
*/
|
|
2111
|
+
export declare interface TemplateEditorEmits {
|
|
2112
|
+
/** 更新值 */
|
|
2113
|
+
(e: 'update:value', value: string): void;
|
|
2114
|
+
/** 输入事件 */
|
|
2115
|
+
(e: 'input', value: string): void;
|
|
2116
|
+
/** 内容变更状态 - 通知父组件是否有内容 */
|
|
2117
|
+
(e: 'content-status', hasContent: boolean): void;
|
|
2118
|
+
/** 字段激活状态变更 */
|
|
2119
|
+
(e: 'field-active', isActive: boolean, index: number): void;
|
|
2120
|
+
}
|
|
2121
|
+
|
|
2122
|
+
/**
|
|
2123
|
+
* 模板编辑器暴露的方法
|
|
2124
|
+
*/
|
|
2125
|
+
export declare interface TemplateEditorExpose {
|
|
2126
|
+
/** 激活第一个可编辑字段 */
|
|
2127
|
+
activateFirstField: () => void;
|
|
2128
|
+
/** 重置所有字段 */
|
|
2129
|
+
resetFields: () => void;
|
|
2130
|
+
}
|
|
2131
|
+
|
|
2132
|
+
/**
|
|
2133
|
+
* 模板编辑器属性
|
|
2134
|
+
*/
|
|
2135
|
+
export declare interface TemplateEditorProps {
|
|
2136
|
+
/** 模板字符串,格式为普通文本与 [占位符] 的组合 */
|
|
2137
|
+
template: string;
|
|
2138
|
+
/** 当前值 */
|
|
2139
|
+
value?: string;
|
|
2140
|
+
}
|
|
2141
|
+
|
|
2142
|
+
/**
|
|
2143
|
+
* 模板部分定义
|
|
2144
|
+
*/
|
|
2145
|
+
export declare interface TemplatePart {
|
|
2146
|
+
/** 内容文本 */
|
|
2147
|
+
content: string;
|
|
2148
|
+
/** 是否为可编辑字段 */
|
|
2149
|
+
isField: boolean;
|
|
2150
|
+
/** 占位符文本 (当字段为空时显示) */
|
|
2151
|
+
placeholder?: string;
|
|
2152
|
+
/** 字段索引 (用于标识可编辑字段) */
|
|
2153
|
+
fieldIndex?: number;
|
|
2154
|
+
}
|
|
2155
|
+
|
|
2156
|
+
/**
|
|
2157
|
+
* 组件核心类型定义
|
|
2158
|
+
*/
|
|
2159
|
+
export declare type ThemeType = 'light' | 'dark';
|
|
2160
|
+
|
|
2161
|
+
declare type ThemeType_3 = 'light' | 'dark';
|
|
2162
|
+
|
|
2163
|
+
/**
|
|
2164
|
+
* 触发位置信息
|
|
2165
|
+
*/
|
|
2166
|
+
export declare interface TriggerContext {
|
|
2167
|
+
/** 触发的文本 */
|
|
2168
|
+
text: string;
|
|
2169
|
+
/** 触发的位置 */
|
|
2170
|
+
position: number;
|
|
2171
|
+
}
|
|
2172
|
+
|
|
2173
|
+
/** 触发处理函数类型 */
|
|
2174
|
+
export declare type TriggerHandler = (info: TriggerInfo) => void;
|
|
2175
|
+
|
|
2176
|
+
/** 触发信息类型 */
|
|
2177
|
+
export declare type TriggerInfo = TriggerContext | false;
|
|
2178
|
+
|
|
2179
|
+
export declare interface WelcomeProps {
|
|
2180
|
+
title: string;
|
|
2181
|
+
description: string;
|
|
2182
|
+
align?: 'left' | 'center' | 'right' | string;
|
|
2183
|
+
icon?: VNode;
|
|
2184
|
+
}
|
|
2185
|
+
|
|
2186
|
+
export declare interface WelcomeSlots {
|
|
2187
|
+
footer: () => unknown;
|
|
2188
|
+
}
|
|
2189
|
+
|
|
2190
|
+
export { }
|