@opentiny/tiny-robot 0.1.0-alpha.0 → 0.1.0
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/{bubble-item → bubble}/components/actions/copy.vue.d.ts +3 -3
- package/dist/{bubble-item → bubble}/components/actions/refresh.vue.d.ts +1 -1
- package/dist/bubble/index.d.ts +12 -0
- package/dist/bubble/index.type.d.ts +53 -0
- package/dist/bubble/useScroll.d.ts +4 -0
- package/dist/index.d.ts +9 -5
- package/dist/index.js +25 -18
- package/dist/node_modules/.pnpm/@opentiny_utils@1.0.0/node_modules/@opentiny/utils/dist/opentiny-utils.es.js +832 -0
- package/dist/node_modules/.pnpm/@opentiny_utils@3.22.0/node_modules/@opentiny/utils/dist/index.es.js +959 -1496
- package/dist/node_modules/.pnpm/{@opentiny_vue-button@3.22.0 → @opentiny_vue-button@3.21.0}/node_modules/@opentiny/vue-button/lib/index.js +21 -21
- package/dist/node_modules/.pnpm/{@opentiny_vue-button@3.22.0 → @opentiny_vue-button@3.21.0}/node_modules/@opentiny/vue-button/lib/pc.js +3 -3
- package/dist/node_modules/.pnpm/@opentiny_vue-common@3.21.0/node_modules/@opentiny/vue-common/lib/index.js +727 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-common@3.22.0/node_modules/@opentiny/vue-common/lib/index.js +144 -675
- package/dist/node_modules/.pnpm/{@opentiny_vue-dialog-box@3.22.0 → @opentiny_vue-dialog-box@3.21.0}/node_modules/@opentiny/vue-dialog-box/lib/index.js +9 -9
- package/dist/node_modules/.pnpm/{@opentiny_vue-dialog-box@3.22.0 → @opentiny_vue-dialog-box@3.21.0}/node_modules/@opentiny/vue-dialog-box/lib/pc.js +5 -5
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/close.js +29 -0
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/eyeclose.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/eyeopen.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/finish.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/fullscreen.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/loading-shadow.js +21 -22
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/minscreen.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-add-column-after.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-add-column-before.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-add-row-after.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-add-row-before.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-align-center.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-align-left.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-align-right.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-bold.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-code-block.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-code-view.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-color.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-delete-column.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-delete-row.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-delete-table.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-font-size.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-format-clear.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-h1.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-h2.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-h3.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-h4.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-h5.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-h6.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-heading.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-high-light.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-image.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-italic.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-line-height.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-link-unlink.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-link.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-list-ordered.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-list-unordered.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-merge-cells-vertical.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-merge-cells.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-node-delete.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-paragraph.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-quote-text.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-redo.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-split-cells-horizontal.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-split-cells-vertical.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-strike-through.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-subscript.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-superscript.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-table.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-task-list.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-underline.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/rich-text-undo.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/sub-script.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-icon@3.22.0 → @opentiny_vue-icon@3.21.0}/node_modules/@opentiny/vue-icon/lib/warn.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-input@3.22.0 → @opentiny_vue-input@3.21.0}/node_modules/@opentiny/vue-input/lib/index.js +3 -3
- package/dist/node_modules/.pnpm/{@opentiny_vue-input@3.22.0 → @opentiny_vue-input@3.21.0}/node_modules/@opentiny/vue-input/lib/pc.js +36 -36
- package/dist/node_modules/.pnpm/{@opentiny_vue-locale@3.22.0 → @opentiny_vue-locale@3.21.0}/node_modules/@opentiny/vue-locale/lib/index.js +63 -63
- package/dist/node_modules/.pnpm/{@opentiny_vue-renderless@3.22.0 → @opentiny_vue-renderless@3.21.2}/node_modules/@opentiny/vue-renderless/button/index.js +1 -1
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/browser.js +36 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/clickoutside.js +47 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/debounce.js +7 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/dom.js +45 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/popper.js +320 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/popup-manager.js +118 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/throttle.js +23 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/useEventListener.js +9 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/useInstanceSlots.js +14 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/useRelation.js +54 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/vue-popper.js +84 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/vue-popup.js +73 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/event.js +13 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/function.js +5 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/index.js +11 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/object.js +84 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/string.js +28 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/type.js +28 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/dialog-box/index.js +136 -0
- package/dist/node_modules/.pnpm/{@opentiny_vue-renderless@3.22.0 → @opentiny_vue-renderless@3.21.2}/node_modules/@opentiny/vue-renderless/dialog-box/vue.js +33 -34
- package/dist/node_modules/.pnpm/{@opentiny_vue-renderless@3.22.0 → @opentiny_vue-renderless@3.21.2}/node_modules/@opentiny/vue-renderless/input/index.js +22 -22
- package/dist/node_modules/.pnpm/{@opentiny_vue-renderless@3.22.0 → @opentiny_vue-renderless@3.21.2}/node_modules/@opentiny/vue-renderless/input/vue.js +9 -9
- package/dist/node_modules/.pnpm/{@opentiny_vue-renderless@3.22.0 → @opentiny_vue-renderless@3.21.2}/node_modules/@opentiny/vue-renderless/tall-storage/index.js +1 -1
- package/dist/node_modules/.pnpm/{@opentiny_vue-renderless@3.22.0 → @opentiny_vue-renderless@3.21.2}/node_modules/@opentiny/vue-renderless/tall-storage/vue.js +5 -5
- package/dist/node_modules/.pnpm/{@opentiny_vue-renderless@3.22.0 → @opentiny_vue-renderless@3.21.2}/node_modules/@opentiny/vue-renderless/tooltip/index.js +41 -40
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/tooltip/vue.js +90 -0
- package/dist/node_modules/.pnpm/{@opentiny_vue-tooltip@3.22.0 → @opentiny_vue-tooltip@3.21.0}/node_modules/@opentiny/vue-tooltip/lib/index.js +3 -6
- package/dist/node_modules/.pnpm/{@opentiny_vue-tooltip@3.22.0 → @opentiny_vue-tooltip@3.21.0}/node_modules/@opentiny/vue-tooltip/lib/pc.js +2 -2
- package/dist/packages/components/src/{bubble-list → bubble}/bubble-list.vue.js +2 -2
- package/dist/packages/components/src/bubble/bubble-list.vue2.js +38 -0
- package/dist/packages/components/src/bubble/bubble.vue.js +7 -0
- package/dist/packages/components/src/bubble/bubble.vue2.js +118 -0
- package/dist/packages/components/src/bubble/components/actions/copy.vue.js +7 -0
- package/dist/packages/components/src/bubble/components/actions/copy.vue2.js +35 -0
- package/dist/packages/components/src/bubble/components/actions/refresh.vue.js +7 -0
- package/dist/packages/components/src/bubble/components/actions/refresh.vue2.js +16 -0
- package/dist/packages/components/src/bubble/index.js +18 -0
- package/dist/packages/components/src/bubble/useScroll.js +13 -0
- package/dist/packages/components/src/conversations/index.js +1 -1
- package/dist/packages/components/src/prompts/index.js +18 -0
- package/dist/packages/components/src/prompts/prompt.vue.js +7 -0
- package/dist/packages/components/src/prompts/prompt.vue2.js +37 -0
- package/dist/packages/components/src/prompts/prompts.vue.js +7 -0
- package/dist/packages/components/src/prompts/prompts.vue2.js +36 -0
- package/dist/packages/components/src/question/components/CommonQuestions.vue.js +89 -0
- package/dist/packages/components/src/question/components/CommonQuestions.vue2.js +4 -0
- package/dist/packages/components/src/question/components/HotQuestions.vue.js +140 -0
- package/dist/packages/components/src/question/components/HotQuestions.vue2.js +4 -0
- package/dist/packages/components/src/question/composables/useQuestions.js +48 -0
- package/dist/packages/components/src/question/index.js +9 -0
- package/dist/packages/components/src/question/index.vue.js +113 -0
- package/dist/packages/components/src/question/index.vue2.js +4 -0
- package/dist/packages/components/src/sender/components/ActionButtons.vue.js +105 -123
- package/dist/packages/components/src/sender/composables/useInputHandler.js +26 -22
- package/dist/packages/components/src/sender/composables/useKeyboardHandler.js +11 -11
- package/dist/packages/components/src/sender/composables/useSpeechHandler.js +9 -9
- package/dist/packages/components/src/sender/index.vue.js +67 -66
- package/dist/packages/components/src/welcome/index.vue.js +5 -7
- package/dist/packages/components/src/welcome/index.vue2.js +32 -0
- package/dist/packages/svgs/dist/tiny-robot-svgs.js +144 -0
- package/dist/prompts/index.d.ts +12 -0
- package/dist/prompts/index.type.d.ts +55 -0
- package/dist/prompts/prompt.vue.d.ts +3 -0
- package/dist/prompts/prompts.vue.d.ts +20 -0
- package/dist/question/components/CommonQuestions.vue.d.ts +32 -0
- package/dist/question/components/HotQuestions.vue.d.ts +89 -0
- package/dist/question/composables/useQuestions.d.ts +17 -0
- package/dist/question/index.d.ts +7 -0
- package/dist/question/index.type.d.ts +74 -0
- package/dist/question/index.vue.d.ts +46 -0
- package/dist/sender/components/ActionButtons.vue.d.ts +6 -4
- package/dist/sender/composables/useSpeechHandler.d.ts +0 -6
- package/dist/sender/index.type.d.ts +1 -1
- package/dist/sender/index.vue.d.ts +1 -2
- package/dist/style.css +1 -1
- package/dist/welcome/index.type.d.ts +10 -0
- package/dist/welcome/index.vue.d.ts +17 -1
- package/package.json +5 -3
- package/src/bubble/bubble-list.vue +44 -0
- package/src/bubble/bubble.vue +247 -0
- package/src/bubble/components/actions/copy.vue +54 -0
- package/src/bubble/components/actions/refresh.vue +31 -0
- package/src/bubble/index.ts +23 -0
- package/src/bubble/index.type.ts +63 -0
- package/src/bubble/useScroll.ts +14 -0
- package/src/conversations/index.ts +1 -1
- package/src/index.ts +23 -12
- package/src/prompts/index.ts +25 -0
- package/src/prompts/index.type.ts +59 -0
- package/src/prompts/prompt.vue +115 -0
- package/src/prompts/prompts.vue +50 -0
- package/src/question/components/CommonQuestions.vue +146 -0
- package/src/question/components/HotQuestions.vue +148 -0
- package/src/question/composables/useQuestions.ts +106 -0
- package/src/question/index.less +448 -0
- package/src/question/index.ts +12 -0
- package/src/question/index.type.ts +86 -0
- package/src/question/index.vue +140 -0
- package/src/question/vars.less +135 -0
- package/src/sender/components/ActionButtons.vue +42 -39
- package/src/sender/composables/useInputHandler.ts +15 -10
- package/src/sender/composables/useKeyboardHandler.ts +6 -4
- package/src/sender/composables/useSpeechHandler.ts +5 -11
- package/src/sender/index.less +3 -5
- package/src/sender/index.type.ts +1 -1
- package/src/sender/index.vue +3 -2
- package/src/welcome/index.type.ts +12 -0
- package/src/welcome/index.vue +68 -2
- package/dist/bubble-item/components/icons/ai.vue.d.ts +0 -2
- package/dist/bubble-item/components/icons/index.d.ts +0 -2
- package/dist/bubble-item/components/icons/user.vue.d.ts +0 -2
- package/dist/bubble-item/index.d.ts +0 -7
- package/dist/bubble-list/index.d.ts +0 -8
- package/dist/bubble-list/index.type.d.ts +0 -55
- package/dist/node_modules/.pnpm/@opentiny_vue-directive@3.22.0/node_modules/@opentiny/vue-directive/index.js +0 -57
- 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-hooks@3.22.0/node_modules/@opentiny/vue-hooks/dist/src/vue-popup.js +0 -69
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/dialog-box/index.js +0 -135
- 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/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.js +0 -5
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.js +0 -10
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTrim.js +0 -8
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.js +0 -4
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.js +0 -15
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.js +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.js +0 -5
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_trimmedEndIndex.js +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/debounce.js +0 -54
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.js +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.js +0 -6
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSymbol.js +0 -9
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/now.js +0 -7
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toNumber.js +0 -22
- package/dist/packages/components/src/bubble-item/bubble-item.vue.js +0 -7
- package/dist/packages/components/src/bubble-item/bubble-item.vue2.js +0 -111
- package/dist/packages/components/src/bubble-item/components/actions/copy.vue.js +0 -46
- package/dist/packages/components/src/bubble-item/components/actions/copy.vue2.js +0 -4
- package/dist/packages/components/src/bubble-item/components/actions/refresh.vue.js +0 -12
- package/dist/packages/components/src/bubble-item/components/icons/ai.vue.js +0 -45
- package/dist/packages/components/src/bubble-item/components/icons/user.vue.js +0 -63
- package/dist/packages/components/src/bubble-item/index.js +0 -9
- package/dist/packages/components/src/bubble-list/bubble-list.vue2.js +0 -52
- package/dist/packages/components/src/bubble-list/index.js +0 -9
- package/src/bubble-item/bubble-item.vue +0 -264
- package/src/bubble-item/components/actions/copy.vue +0 -47
- package/src/bubble-item/components/actions/refresh.vue +0 -27
- package/src/bubble-item/components/icons/ai.vue +0 -30
- package/src/bubble-item/components/icons/index.ts +0 -2
- package/src/bubble-item/components/icons/user.vue +0 -78
- package/src/bubble-item/index.ts +0 -12
- package/src/bubble-list/bubble-list.vue +0 -53
- package/src/bubble-list/index.ts +0 -14
- package/src/bubble-list/index.type.ts +0 -65
- package/src/sender/global.d.ts +0 -44
- /package/dist/{bubble-list → bubble}/bubble-list.vue.d.ts +0 -0
- /package/dist/{bubble-item → bubble}/components/actions/index.d.ts +0 -0
- /package/dist/node_modules/.pnpm/{@opentiny_vue-renderless@3.22.0 → @opentiny_vue-renderless@3.21.2}/node_modules/@opentiny/vue-renderless/button/vue.js +0 -0
- /package/dist/node_modules/.pnpm/{@opentiny_vue-renderless@3.22.0 → @opentiny_vue-renderless@3.21.2}/node_modules/@opentiny/vue-renderless/chunk-G2ADBYYC.js +0 -0
- /package/dist/node_modules/.pnpm/{@opentiny_vue-renderless@3.22.0 → @opentiny_vue-renderless@3.21.2}/node_modules/@opentiny/vue-renderless/tall-storage/vue-storage-box.js +0 -0
- /package/src/{bubble-item → bubble}/components/actions/index.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as i, $setup as u, $prefix as p, $props as s } from "../../../../../@opentiny_vue-common@3.
|
|
1
|
+
import { defineComponent as i, $setup as u, $prefix as p, $props as s } from "../../../../../@opentiny_vue-common@3.21.0/node_modules/@opentiny/vue-common/lib/index.js";
|
|
2
2
|
import l from "./pc.js";
|
|
3
3
|
function r() {
|
|
4
4
|
return r = Object.assign ? Object.assign.bind() : function(t) {
|
|
@@ -11,7 +11,7 @@ function r() {
|
|
|
11
11
|
}
|
|
12
12
|
var f = function(e) {
|
|
13
13
|
var n, o = typeof process == "object" ? (n = process.env) == null ? void 0 : n.TINY_MODE : null;
|
|
14
|
-
return (o || e) === "pc" ? l : (o || e) === "mobile-first" ? l : l;
|
|
14
|
+
return (o || e) === "pc" ? l : (o || e) === "mobile" ? l : (o || e) === "mobile-first" ? l : l;
|
|
15
15
|
}, d = {
|
|
16
16
|
INPUT_PC: "tiny-input__",
|
|
17
17
|
INPUTGROUP_PC: "tiny-input-group__",
|
|
@@ -182,7 +182,7 @@ var f = function(e) {
|
|
|
182
182
|
template: f
|
|
183
183
|
});
|
|
184
184
|
}
|
|
185
|
-
}), y = "3.
|
|
185
|
+
}), y = "3.21.0";
|
|
186
186
|
a.model = {
|
|
187
187
|
prop: "modelValue",
|
|
188
188
|
event: "update:modelValue"
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { renderless as z, api as A } from "../../../../../@opentiny_vue-renderless@3.
|
|
2
|
-
import { defineComponent as M, setup as
|
|
3
|
-
import
|
|
4
|
-
import { renderless as K, api as N } from "../../../../../@opentiny_vue-renderless@3.
|
|
1
|
+
import { renderless as z, api as A } from "../../../../../@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/input/vue.js";
|
|
2
|
+
import { defineComponent as M, setup as S, $prefix as P, directive as W, props as F } from "../../../../../@opentiny_vue-common@3.21.0/node_modules/@opentiny/vue-common/lib/index.js";
|
|
3
|
+
import U from "../../../../../@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/clickoutside.js";
|
|
4
|
+
import { renderless as K, api as N } from "../../../../../@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/tall-storage/vue.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
import { resolveComponent as v, resolveDirective as j, createElementBlock as a, openBlock as t, mergeProps as w, createCommentVNode as s, renderSlot as y, Fragment as h, createElementVNode as r, createBlock as p, withCtx as f, toDisplayString as l, resolveDynamicComponent as g, createVNode as V, Transition as H, withModifiers as
|
|
7
|
-
import J from "../../../../../@opentiny_vue-icon@3.
|
|
8
|
-
import Q from "../../../../../@opentiny_vue-icon@3.
|
|
9
|
-
import R from "../../../../../@opentiny_vue-icon@3.
|
|
10
|
-
import X from "../../../../../@opentiny_vue-tooltip@3.
|
|
11
|
-
import Y from "../../../../../@opentiny_vue-button@3.
|
|
12
|
-
import c from "../../../../../@opentiny_vue-dialog-box@3.
|
|
6
|
+
import { resolveComponent as v, resolveDirective as j, createElementBlock as a, openBlock as t, mergeProps as w, createCommentVNode as s, renderSlot as y, Fragment as h, createElementVNode as r, createBlock as p, withCtx as f, toDisplayString as l, resolveDynamicComponent as g, createVNode as V, Transition as H, withModifiers as I, normalizeClass as $, withDirectives as Z, createTextVNode as T, withKeys as q, renderList as G } from "vue";
|
|
7
|
+
import J from "../../../../../@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/close.js";
|
|
8
|
+
import Q from "../../../../../@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/eyeclose.js";
|
|
9
|
+
import R from "../../../../../@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/eyeopen.js";
|
|
10
|
+
import X from "../../../../../@opentiny_vue-tooltip@3.21.0/node_modules/@opentiny/vue-tooltip/lib/index.js";
|
|
11
|
+
import Y from "../../../../../@opentiny_vue-button@3.21.0/node_modules/@opentiny/vue-button/lib/index.js";
|
|
12
|
+
import c from "../../../../../@opentiny_vue-dialog-box@3.21.0/node_modules/@opentiny/vue-dialog-box/lib/index.js";
|
|
13
13
|
/* empty css */
|
|
14
14
|
/* empty css */
|
|
15
15
|
function x(e, n) {
|
|
@@ -27,17 +27,17 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
27
27
|
}
|
|
28
28
|
function _(e, n) {
|
|
29
29
|
if (e) {
|
|
30
|
-
if (typeof e == "string") return
|
|
30
|
+
if (typeof e == "string") return D(e, n);
|
|
31
31
|
var o = {}.toString.call(e).slice(8, -1);
|
|
32
|
-
return o === "Object" && e.constructor && (o = e.constructor.name), o === "Map" || o === "Set" ? Array.from(e) : o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o) ?
|
|
32
|
+
return o === "Object" && e.constructor && (o = e.constructor.name), o === "Map" || o === "Set" ? Array.from(e) : o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o) ? D(e, n) : void 0;
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function D(e, n) {
|
|
36
36
|
(n == null || n > e.length) && (n = e.length);
|
|
37
37
|
for (var o = 0, u = Array(n); o < n; o++) u[o] = e[o];
|
|
38
38
|
return u;
|
|
39
39
|
}
|
|
40
|
-
var
|
|
40
|
+
var B = function(n, o) {
|
|
41
41
|
for (var u = n.__vccOpts || n, C = x(o), k; !(k = C()).done; ) {
|
|
42
42
|
var d = k.value, b = d[0], m = d[1];
|
|
43
43
|
u[b] = m;
|
|
@@ -51,7 +51,7 @@ var S = function(n, o) {
|
|
|
51
51
|
localstorageData: Array
|
|
52
52
|
},
|
|
53
53
|
setup: function(n, o) {
|
|
54
|
-
return
|
|
54
|
+
return S({
|
|
55
55
|
props: n,
|
|
56
56
|
context: o,
|
|
57
57
|
renderless: K,
|
|
@@ -100,7 +100,7 @@ function ie(e, n, o, u, C, k) {
|
|
|
100
100
|
/* NEED_HYDRATION */
|
|
101
101
|
);
|
|
102
102
|
}
|
|
103
|
-
var oe = /* @__PURE__ */
|
|
103
|
+
var oe = /* @__PURE__ */ B(ee, [["render", ie]]), se = M({
|
|
104
104
|
inheritAttrs: !1,
|
|
105
105
|
// 勿删,兼容灵雀特殊场景,MR#1861
|
|
106
106
|
emits: ["update:modelValue", "change", "clear", "focus", "blur", "keyup", "keydown", "paste", "mouseenter", "mouseleave", "click", "input"],
|
|
@@ -118,7 +118,7 @@ var oe = /* @__PURE__ */ S(ee, [["render", ie]]), se = M({
|
|
|
118
118
|
},
|
|
119
119
|
props: [].concat(F, ["name", "size", "form", "type", "mask", "label", "modelValue", "height", "resize", "counter", "autosize", "disabled", "readonly", "tabindex", "clearable", "suffixIcon", "prefixIcon", "autocomplete", "showPassword", "memorySpace", "validateEvent", "showWordLimit", "displayOnly", "displayOnlyContent", "frontClearIcon", "showEmptyValue", "hoverExpand", "popupMore", "showTooltip", "inputBoxType"]),
|
|
120
120
|
setup: function(n, o) {
|
|
121
|
-
return
|
|
121
|
+
return S({
|
|
122
122
|
props: n,
|
|
123
123
|
context: o,
|
|
124
124
|
renderless: z,
|
|
@@ -174,18 +174,18 @@ var oe = /* @__PURE__ */ S(ee, [["render", ie]]), se = M({
|
|
|
174
174
|
}, Ve = {
|
|
175
175
|
ref: "textBox",
|
|
176
176
|
class: "tiny-textarea-display-only__content text-box"
|
|
177
|
-
},
|
|
177
|
+
}, Ie = ["tabindex", "disabled", "readonly", "unselectable", "autocomplete", "aria-label"], Te = {
|
|
178
178
|
key: 2,
|
|
179
179
|
class: "tiny-input__count"
|
|
180
|
-
},
|
|
180
|
+
}, De = {
|
|
181
181
|
class: "tiny-input__count-inner"
|
|
182
182
|
}, Me = {
|
|
183
183
|
class: "tiny-input__count-text-length"
|
|
184
|
-
},
|
|
184
|
+
}, Se = {
|
|
185
185
|
class: "tiny-input__count-upper-limit"
|
|
186
186
|
};
|
|
187
|
-
function
|
|
188
|
-
var d = v("tiny-tooltip"), b = v("tiny-tall-storage"), m = v("icon-close"),
|
|
187
|
+
function Be(e, n, o, u, C, k) {
|
|
188
|
+
var d = v("tiny-tooltip"), b = v("tiny-tall-storage"), m = v("icon-close"), O = v("tiny-button"), E = v("tiny-dialog-box"), L = j("clickoutside");
|
|
189
189
|
return t(), a(
|
|
190
190
|
"div",
|
|
191
191
|
w(e.a(e.$attrs, ["class"]), {
|
|
@@ -216,7 +216,7 @@ function Se(e, n, o, u, C, k) {
|
|
|
216
216
|
{
|
|
217
217
|
key: 0
|
|
218
218
|
},
|
|
219
|
-
[e.slots.prepend
|
|
219
|
+
[e.slots.prepend ? (t(), a(
|
|
220
220
|
"div",
|
|
221
221
|
ae,
|
|
222
222
|
[y(e.$slots, "prepend")],
|
|
@@ -327,7 +327,7 @@ function Se(e, n, o, u, C, k) {
|
|
|
327
327
|
[r("span", ve, [e.frontClearIcon && e.state.showClear ? (t(), p(m, {
|
|
328
328
|
key: 0,
|
|
329
329
|
class: "tiny-svg-size tiny-input__icon tiny-input__clear",
|
|
330
|
-
onMousedown: n[11] || (n[11] =
|
|
330
|
+
onMousedown: n[11] || (n[11] = I(function() {
|
|
331
331
|
}, ["prevent"])),
|
|
332
332
|
onClick: e.clear
|
|
333
333
|
}, null, 8, ["onClick"])) : s("v-if", !0), !e.state.showClear || !e.state.showPwdVisible || !e.state.isWordLimitVisible ? (t(), a(
|
|
@@ -344,7 +344,7 @@ function Se(e, n, o, u, C, k) {
|
|
|
344
344
|
)) : s("v-if", !0), !e.frontClearIcon && e.state.showClear ? (t(), p(m, {
|
|
345
345
|
key: 2,
|
|
346
346
|
class: "tiny-svg-size tiny-input__icon tiny-input__clear",
|
|
347
|
-
onMousedown: n[12] || (n[12] =
|
|
347
|
+
onMousedown: n[12] || (n[12] = I(function() {
|
|
348
348
|
}, ["prevent"])),
|
|
349
349
|
onClick: e.clear
|
|
350
350
|
}, null, 8, ["onClick"])) : s("v-if", !0), e.showPassword ? (t(), p(g(e.state.passwordVisible ? "icon-eyeopen" : "icon-eyeclose"), {
|
|
@@ -385,13 +385,13 @@ function Se(e, n, o, u, C, k) {
|
|
|
385
385
|
}),
|
|
386
386
|
_: 3
|
|
387
387
|
/* FORWARDED */
|
|
388
|
-
})]), e.slots.append
|
|
388
|
+
})]), e.slots.append ? (t(), a(
|
|
389
389
|
"div",
|
|
390
390
|
we,
|
|
391
391
|
[y(e.$slots, "append")],
|
|
392
392
|
512
|
|
393
393
|
/* NEED_PATCH */
|
|
394
|
-
)) : s("v-if", !0), e.slots.panel
|
|
394
|
+
)) : s("v-if", !0), e.slots.panel ? (t(), a(
|
|
395
395
|
"div",
|
|
396
396
|
he,
|
|
397
397
|
[y(e.$slots, "panel")],
|
|
@@ -457,13 +457,13 @@ function Se(e, n, o, u, C, k) {
|
|
|
457
457
|
})
|
|
458
458
|
}, {
|
|
459
459
|
footer: f(function() {
|
|
460
|
-
return [V(
|
|
460
|
+
return [V(O, {
|
|
461
461
|
onClick: n[16] || (n[16] = function(i) {
|
|
462
462
|
return e.state.showDisplayOnlyBox = !1;
|
|
463
463
|
})
|
|
464
464
|
}, {
|
|
465
465
|
default: f(function() {
|
|
466
|
-
return [
|
|
466
|
+
return [T(
|
|
467
467
|
l(e.t("ui.input.close")),
|
|
468
468
|
1
|
|
469
469
|
/* TEXT */
|
|
@@ -475,7 +475,7 @@ function Se(e, n, o, u, C, k) {
|
|
|
475
475
|
}),
|
|
476
476
|
default: f(function() {
|
|
477
477
|
return [r(
|
|
478
|
-
"
|
|
478
|
+
"div",
|
|
479
479
|
null,
|
|
480
480
|
l(e.state.displayOnlyText),
|
|
481
481
|
1
|
|
@@ -537,15 +537,15 @@ function Se(e, n, o, u, C, k) {
|
|
|
537
537
|
onPaste: n[31] || (n[31] = function(i) {
|
|
538
538
|
return e.$emit("paste", i);
|
|
539
539
|
})
|
|
540
|
-
}), [
|
|
541
|
-
`)], 16,
|
|
540
|
+
}), [T(`
|
|
541
|
+
`)], 16, Ie)), [[L, function() {
|
|
542
542
|
return e.handleTextareaMouseUp(!0);
|
|
543
543
|
}, void 0, {
|
|
544
544
|
mouseup: !0
|
|
545
545
|
}]])],
|
|
546
546
|
2
|
|
547
547
|
/* CLASS */
|
|
548
|
-
)), e.state.isWordLimitVisible && e.type === "textarea" ? (t(), a("span",
|
|
548
|
+
)), e.state.isWordLimitVisible && e.type === "textarea" ? (t(), a("span", Te, [r("span", De, [r(
|
|
549
549
|
"span",
|
|
550
550
|
Me,
|
|
551
551
|
l(e.state.showWordLimit ? "" + e.state.textLength : ""),
|
|
@@ -553,7 +553,7 @@ function Se(e, n, o, u, C, k) {
|
|
|
553
553
|
/* TEXT */
|
|
554
554
|
), r(
|
|
555
555
|
"span",
|
|
556
|
-
|
|
556
|
+
Se,
|
|
557
557
|
l(e.state.showWordLimit ? "/" + e.state.upperLimit : e.state.textLength),
|
|
558
558
|
1
|
|
559
559
|
/* TEXT */
|
|
@@ -562,7 +562,7 @@ function Se(e, n, o, u, C, k) {
|
|
|
562
562
|
/* FULL_PROPS */
|
|
563
563
|
);
|
|
564
564
|
}
|
|
565
|
-
var qe = /* @__PURE__ */
|
|
565
|
+
var qe = /* @__PURE__ */ B(se, [["render", Be]]);
|
|
566
566
|
export {
|
|
567
567
|
qe as default
|
|
568
568
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { extend as M } from "../../../../../@
|
|
1
|
+
import { extend as M } from "../../../../../@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/object.js";
|
|
2
2
|
var h = {
|
|
3
3
|
"en-US": "英语",
|
|
4
4
|
"zh-CN": "中文",
|
|
@@ -273,9 +273,9 @@ var h = {
|
|
|
273
273
|
folder: "文件所在文件夹层数已超过 5 层,将不会上传该文件",
|
|
274
274
|
init: "服务报错,请重试",
|
|
275
275
|
token: "请先进行 EDM 鉴权,获取 token",
|
|
276
|
-
exceed: "
|
|
276
|
+
exceed: "文件大小超过限制({maxSize})",
|
|
277
277
|
largeFile: "文件大小超出限制 2G !!",
|
|
278
|
-
fileSize: "
|
|
278
|
+
fileSize: "文件大小低于限制({minSize}{sizeUnit})",
|
|
279
279
|
deleteTip: "按 delete 键可删除",
|
|
280
280
|
downloadFile: "下载文件",
|
|
281
281
|
previewFile: "预览文件",
|
|
@@ -787,33 +787,33 @@ var h = {
|
|
|
787
787
|
},
|
|
788
788
|
validation: {
|
|
789
789
|
array: {
|
|
790
|
-
len: "
|
|
791
|
-
min: "长度不能小于 %s",
|
|
792
|
-
max: "
|
|
793
|
-
range: "
|
|
790
|
+
len: "%s 的长度必须为 %s",
|
|
791
|
+
min: "%s 长度不能小于 %s",
|
|
792
|
+
max: "%s 的长度不能大于 %s",
|
|
793
|
+
range: "%s 的长度必须介于 %s 和 %s 之间"
|
|
794
794
|
},
|
|
795
795
|
date: {
|
|
796
|
-
format: "日期 %s 对于格式 %s 无效",
|
|
797
|
-
invalid: "日期 %s 无效",
|
|
796
|
+
format: "%s 日期 %s 对于格式 %s 无效",
|
|
797
|
+
invalid: "%s 日期 %s 无效",
|
|
798
798
|
parse: "无法分析 %s 日期, %s 无效"
|
|
799
799
|
},
|
|
800
800
|
default: "%s 字段校验错误",
|
|
801
|
-
enum: "必须是 %s 中的一个",
|
|
801
|
+
enum: "%s 必须是 %s 中的一个",
|
|
802
802
|
number: {
|
|
803
|
-
len: "必须等于 %s",
|
|
804
|
-
min: "不能小于 %s",
|
|
805
|
-
max: "不能大于 %s",
|
|
806
|
-
range: "必须介于 %s 和 %s 之间"
|
|
803
|
+
len: "%s 必须等于 %s",
|
|
804
|
+
min: "%s 不能小于 %s",
|
|
805
|
+
max: "%s 不能大于 %s",
|
|
806
|
+
range: "%s 必须介于 %s 和 %s 之间"
|
|
807
807
|
},
|
|
808
808
|
pattern: {
|
|
809
|
-
mismatch: "值%s 与模式 %s 不匹配"
|
|
809
|
+
mismatch: "%s 值%s 与模式 %s 不匹配"
|
|
810
810
|
},
|
|
811
811
|
required: "必填",
|
|
812
812
|
string: {
|
|
813
|
-
len: "必须是 %s 个字符",
|
|
814
|
-
min: "必须至少为 %s 个字符",
|
|
815
|
-
max: "不能大于 %s 个字符",
|
|
816
|
-
range: "必须介于 %s 和 %s 个字符之间"
|
|
813
|
+
len: "%s 必须是 %s 个字符",
|
|
814
|
+
min: "%s 必须至少为 %s 个字符",
|
|
815
|
+
max: "%s 不能大于 %s 个字符",
|
|
816
|
+
range: "%s 必须介于 %s 和 %s 个字符之间"
|
|
817
817
|
},
|
|
818
818
|
types: {
|
|
819
819
|
acceptFile: "只接受文件",
|
|
@@ -843,12 +843,12 @@ var h = {
|
|
|
843
843
|
url: "非法 URL 地址",
|
|
844
844
|
version: "非法版本格式"
|
|
845
845
|
},
|
|
846
|
-
whitespace: "不能为空"
|
|
846
|
+
whitespace: "%s 不能为空"
|
|
847
847
|
}
|
|
848
848
|
}, f = {
|
|
849
849
|
"en-US": "English",
|
|
850
850
|
"zh-CN": "Chinese",
|
|
851
|
-
"zh-TW": "
|
|
851
|
+
"zh-TW": "中国台湾",
|
|
852
852
|
hello: "Hello {name}",
|
|
853
853
|
code: "en-US",
|
|
854
854
|
yes: "Yes",
|
|
@@ -881,14 +881,14 @@ var h = {
|
|
|
881
881
|
submit: "Submit"
|
|
882
882
|
},
|
|
883
883
|
linkMenu: {
|
|
884
|
-
title: "
|
|
884
|
+
title: "",
|
|
885
885
|
placeholder: "Enter a keyword.",
|
|
886
886
|
sure: "OK",
|
|
887
887
|
cancel: "Cancel"
|
|
888
888
|
},
|
|
889
889
|
todoList: {
|
|
890
890
|
add: "Add",
|
|
891
|
-
placeholder: "
|
|
891
|
+
placeholder: "please input your todo things"
|
|
892
892
|
},
|
|
893
893
|
alert: {
|
|
894
894
|
error: "Error",
|
|
@@ -939,7 +939,7 @@ var h = {
|
|
|
939
939
|
placeholder: "--Select--"
|
|
940
940
|
},
|
|
941
941
|
cascader: {
|
|
942
|
-
noMatch: "No matches
|
|
942
|
+
noMatch: "No matches",
|
|
943
943
|
loading: "Loading",
|
|
944
944
|
placeholder: "--Select--",
|
|
945
945
|
noData: "No data available."
|
|
@@ -947,7 +947,7 @@ var h = {
|
|
|
947
947
|
chart: {
|
|
948
948
|
auxiliary: "Auxiliary",
|
|
949
949
|
emptyText: "No Data",
|
|
950
|
-
kName: "
|
|
950
|
+
kName: "Day K",
|
|
951
951
|
other: "Other",
|
|
952
952
|
summation: "Summation",
|
|
953
953
|
total: "Total",
|
|
@@ -961,15 +961,15 @@ var h = {
|
|
|
961
961
|
empty: "None"
|
|
962
962
|
},
|
|
963
963
|
crop: {
|
|
964
|
-
choose: "
|
|
965
|
-
zoomOut: "
|
|
966
|
-
zoomIn: "
|
|
964
|
+
choose: "choose image",
|
|
965
|
+
zoomOut: "zoom out 10%",
|
|
966
|
+
zoomIn: "zoom in 10%",
|
|
967
967
|
rotate_45: "rotate -45°",
|
|
968
968
|
rotate45: "rotate 45°",
|
|
969
969
|
closeCropArea: "hide selection",
|
|
970
970
|
reset: "reset",
|
|
971
|
-
|
|
972
|
-
|
|
971
|
+
cropImage: "crop image",
|
|
972
|
+
croppedImage: "Target image"
|
|
973
973
|
},
|
|
974
974
|
datepicker: {
|
|
975
975
|
clear: "Clear",
|
|
@@ -1026,10 +1026,10 @@ var h = {
|
|
|
1026
1026
|
fri: "Fri"
|
|
1027
1027
|
},
|
|
1028
1028
|
timezone: "Select a time zone.",
|
|
1029
|
-
year: "",
|
|
1030
|
-
hour: "
|
|
1031
|
-
minute: "
|
|
1032
|
-
second: "
|
|
1029
|
+
year: "Year",
|
|
1030
|
+
hour: "hour",
|
|
1031
|
+
minute: "minute",
|
|
1032
|
+
second: "second",
|
|
1033
1033
|
to: "-",
|
|
1034
1034
|
yearMonth: "{month} {year}",
|
|
1035
1035
|
yearMonthDay: "{month} {day}, {year}"
|
|
@@ -1051,7 +1051,7 @@ var h = {
|
|
|
1051
1051
|
quote: "Reference",
|
|
1052
1052
|
codeBlock: "Code Block",
|
|
1053
1053
|
formatClear: "Clear Formatting",
|
|
1054
|
-
nodeDelete: "
|
|
1054
|
+
nodeDelete: "node delete",
|
|
1055
1055
|
undo: "Undo",
|
|
1056
1056
|
redo: "Redo",
|
|
1057
1057
|
left: "Left-Aligned",
|
|
@@ -1096,7 +1096,7 @@ var h = {
|
|
|
1096
1096
|
dot: "Loading…"
|
|
1097
1097
|
},
|
|
1098
1098
|
exception: {
|
|
1099
|
-
build: "
|
|
1099
|
+
build: "Building",
|
|
1100
1100
|
busy: "The network is busy. Please wait",
|
|
1101
1101
|
noperm: "Not find the page",
|
|
1102
1102
|
weaknet: "Poor network performance",
|
|
@@ -1119,9 +1119,9 @@ var h = {
|
|
|
1119
1119
|
folder: "The file cannot be uploaded because it is more than five-folder levels deep.",
|
|
1120
1120
|
init: "Service error. Please try again.",
|
|
1121
1121
|
token: "Before starting, perform EDM authentication and obtain the token.",
|
|
1122
|
-
exceed: "
|
|
1122
|
+
exceed: "The file size exceeds the upper limit ({maxSize}).",
|
|
1123
1123
|
largeFile: "The file exceeds 2 GB.",
|
|
1124
|
-
fileSize: "
|
|
1124
|
+
fileSize: "The file is less than the minimum size ({minSize} {sizeUnit}).",
|
|
1125
1125
|
deleteTip: "Press the Delete key.",
|
|
1126
1126
|
downloadFile: "Download",
|
|
1127
1127
|
previewFile: "Preview",
|
|
@@ -1313,16 +1313,16 @@ var h = {
|
|
|
1313
1313
|
moreText: "More"
|
|
1314
1314
|
},
|
|
1315
1315
|
logout: {
|
|
1316
|
-
in: "
|
|
1317
|
-
out: "
|
|
1316
|
+
in: "Logged in",
|
|
1317
|
+
out: "Logged out"
|
|
1318
1318
|
},
|
|
1319
1319
|
page: {
|
|
1320
1320
|
goto: "Go to",
|
|
1321
1321
|
item: "items",
|
|
1322
1322
|
next: "Next",
|
|
1323
|
-
page: "
|
|
1324
|
-
pageClassifier: "
|
|
1325
|
-
pagesize: "
|
|
1323
|
+
page: "",
|
|
1324
|
+
pageClassifier: "",
|
|
1325
|
+
pagesize: "",
|
|
1326
1326
|
prev: "Previous",
|
|
1327
1327
|
total: "Total:",
|
|
1328
1328
|
totals: "Total:",
|
|
@@ -1357,16 +1357,16 @@ var h = {
|
|
|
1357
1357
|
uploadsButtonText: "Select Files",
|
|
1358
1358
|
errorTypeTips: "Invalid file format.",
|
|
1359
1359
|
errorSizeTips: "File too large.",
|
|
1360
|
-
confirmDeleteTips: "
|
|
1360
|
+
confirmDeleteTips: "Are you sure you want to delete this file?",
|
|
1361
1361
|
delete: "Delete",
|
|
1362
1362
|
waitUpload: "Waiting for upload",
|
|
1363
1363
|
operation: "Operation",
|
|
1364
1364
|
success: "Upload successful",
|
|
1365
1365
|
listTip: "There are a total of {0} pieces of data: ",
|
|
1366
1366
|
errorListTip: "There are {0} errors in them. Please modify them and try again",
|
|
1367
|
-
limitUploadFileType: "Supported file formats",
|
|
1368
|
-
limitUploadFileNumber: "Maximum files allowed",
|
|
1369
|
-
limitUploadFileSize: "Maximum file size",
|
|
1367
|
+
limitUploadFileType: "Supported file formats: ",
|
|
1368
|
+
limitUploadFileNumber: "Maximum files allowed: ",
|
|
1369
|
+
limitUploadFileSize: "Maximum file size: ",
|
|
1370
1370
|
errorNumTips: "The number of uploaded files exceeds the limit. The operation has been cancelled"
|
|
1371
1371
|
},
|
|
1372
1372
|
rate: {
|
|
@@ -1430,8 +1430,8 @@ var h = {
|
|
|
1430
1430
|
delete: "Delete",
|
|
1431
1431
|
addChild: "Add Child",
|
|
1432
1432
|
newNodeTitle: "Add Child Node",
|
|
1433
|
-
deleteTip1: "Deleted data cannot be restored.
|
|
1434
|
-
deleteTip2: "This node has child nodes.
|
|
1433
|
+
deleteTip1: "Deleted data cannot be restored. Are you sure you want to continue?",
|
|
1434
|
+
deleteTip2: "This node has child nodes. Do you want to retain the child nodes?",
|
|
1435
1435
|
deleteTip3: "Retain child nodes"
|
|
1436
1436
|
},
|
|
1437
1437
|
usercard: {
|
|
@@ -1640,7 +1640,7 @@ var h = {
|
|
|
1640
1640
|
},
|
|
1641
1641
|
date: {
|
|
1642
1642
|
format: "The date %s does not match the %s format.",
|
|
1643
|
-
invalid: "%s
|
|
1643
|
+
invalid: "%s is invalid.",
|
|
1644
1644
|
parse: "Unable to parse %s, %s is invalid"
|
|
1645
1645
|
},
|
|
1646
1646
|
default: "%s field verification error.",
|
|
@@ -1668,7 +1668,7 @@ var h = {
|
|
|
1668
1668
|
boolean: "Invalid boolean value.",
|
|
1669
1669
|
date: "Invalid date format.",
|
|
1670
1670
|
dateTime: "Invalid date and time format.",
|
|
1671
|
-
dateYM: "The date format (
|
|
1671
|
+
dateYM: "The date format (y-mm) does not comply with the rule.",
|
|
1672
1672
|
dateYMD: "The date format (y-MM-dd) does not comply with the rule.",
|
|
1673
1673
|
digits: "Invalid number only.",
|
|
1674
1674
|
email: "Invalid email address.",
|
|
@@ -1691,11 +1691,11 @@ var h = {
|
|
|
1691
1691
|
},
|
|
1692
1692
|
whitespace: "This field cannot be left blank."
|
|
1693
1693
|
}
|
|
1694
|
-
},
|
|
1694
|
+
}, N = /(%|)\{([0-9a-zA-Z_]+)\}/g;
|
|
1695
1695
|
function A(i) {
|
|
1696
1696
|
for (var t = arguments.length, e = new Array(t > 1 ? t - 1 : 0), o = 1; o < t; o++)
|
|
1697
1697
|
e[o - 1] = arguments[o];
|
|
1698
|
-
return e.length === 1 && typeof e[0] == "object" && (e = e[0]), (!e || !e.hasOwnProperty) && (e = {}), i.replace(
|
|
1698
|
+
return e.length === 1 && typeof e[0] == "object" && (e = e[0]), (!e || !e.hasOwnProperty) && (e = {}), i.replace(N, function(n, d, a, l) {
|
|
1699
1699
|
var r;
|
|
1700
1700
|
return i[l - 1] === "{" && i[l + n.length] === "}" ? a : (r = Object.prototype.hasOwnProperty.call(e, a) ? e[a] : null, r ?? "");
|
|
1701
1701
|
});
|
|
@@ -1713,13 +1713,13 @@ var u = h, m = null, p = function(t, e) {
|
|
|
1713
1713
|
return u = t || u, u;
|
|
1714
1714
|
}, F = function() {
|
|
1715
1715
|
return u.code;
|
|
1716
|
-
},
|
|
1716
|
+
}, w = function(t) {
|
|
1717
1717
|
return m = t || p, m;
|
|
1718
|
-
}, T = M,
|
|
1718
|
+
}, T = M, b = function(t) {
|
|
1719
1719
|
var e = t.app, o = t.createI18n, n = t.messages, d = n === void 0 ? {} : n, a = t.i18n, l = a === void 0 ? {} : a, r = t.merge;
|
|
1720
1720
|
typeof r != "function" && (r = function(c) {
|
|
1721
|
-
var g = c.lang, D = c.i18n,
|
|
1722
|
-
return T(!0, g, D.messages,
|
|
1721
|
+
var g = c.lang, D = c.i18n, z = c.messages;
|
|
1722
|
+
return T(!0, g, D.messages, z);
|
|
1723
1723
|
});
|
|
1724
1724
|
var y = {
|
|
1725
1725
|
zhCN: h,
|
|
@@ -1749,8 +1749,8 @@ var u = h, m = null, p = function(t, e) {
|
|
|
1749
1749
|
isVue3: x,
|
|
1750
1750
|
use: S,
|
|
1751
1751
|
t: p,
|
|
1752
|
-
i18n:
|
|
1753
|
-
initI18n:
|
|
1752
|
+
i18n: w,
|
|
1753
|
+
initI18n: b,
|
|
1754
1754
|
extend: T,
|
|
1755
1755
|
zhCN: h,
|
|
1756
1756
|
enUS: f
|
|
@@ -1759,8 +1759,8 @@ var u = h, m = null, p = function(t, e) {
|
|
|
1759
1759
|
default: L,
|
|
1760
1760
|
enUS: f,
|
|
1761
1761
|
extend: T,
|
|
1762
|
-
i18n:
|
|
1763
|
-
initI18n:
|
|
1762
|
+
i18n: w,
|
|
1763
|
+
initI18n: b,
|
|
1764
1764
|
isVue2: k,
|
|
1765
1765
|
isVue3: x,
|
|
1766
1766
|
language: F,
|
|
@@ -1771,7 +1771,7 @@ var u = h, m = null, p = function(t, e) {
|
|
|
1771
1771
|
value: "Module"
|
|
1772
1772
|
}));
|
|
1773
1773
|
s.use;
|
|
1774
|
-
var
|
|
1774
|
+
var I = s.t;
|
|
1775
1775
|
s.i18n;
|
|
1776
1776
|
s.initI18n;
|
|
1777
1777
|
s.extend;
|
|
@@ -1779,5 +1779,5 @@ s.zhCN;
|
|
|
1779
1779
|
s.enUS;
|
|
1780
1780
|
s.language;
|
|
1781
1781
|
export {
|
|
1782
|
-
|
|
1782
|
+
I as t
|
|
1783
1783
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { xss as n } from "../../../../../@opentiny_utils@
|
|
1
|
+
import { xss as n } from "../../../../../@opentiny_utils@1.0.0/node_modules/@opentiny/utils/dist/opentiny-utils.es.js";
|
|
2
2
|
const f = ({ emit: l, props: e, state: r, designConfig: t }) => (c) => {
|
|
3
3
|
var m, s;
|
|
4
4
|
const T = n.filterUrl(e.href), o = 1e3;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
const r = () => {
|
|
2
|
+
let e = 8;
|
|
3
|
+
return document.addEventListener && window.performance && (e = 9, window.atob && window.matchMedia && (e = 10, !window.attachEvent && !document.all && (e = 11))), e;
|
|
4
|
+
}, a = (e) => {
|
|
5
|
+
e.chrome && ~navigator.userAgent.indexOf("Edg") ? (e.name = "edge", e.edge = !0, delete e.chrome) : !document.documentMode && window.StyleMedia && (e.name = "edge", e.edge = !0);
|
|
6
|
+
}, d = typeof window < "u" && typeof document < "u" && window.document === document, s = d ? window : global;
|
|
7
|
+
(() => {
|
|
8
|
+
const e = {
|
|
9
|
+
name: void 0,
|
|
10
|
+
version: void 0,
|
|
11
|
+
isDoc: typeof document < "u",
|
|
12
|
+
isMobile: !1,
|
|
13
|
+
isPC: !0,
|
|
14
|
+
isNode: typeof window > "u"
|
|
15
|
+
};
|
|
16
|
+
if (d) {
|
|
17
|
+
const i = /(Android|webOS|iPhone|iPad|iPod|SymbianOS|BlackBerry|Windows Phone)/.test(navigator.userAgent);
|
|
18
|
+
e.isMobile = i, e.isPC = !i;
|
|
19
|
+
let o;
|
|
20
|
+
if (window.chrome && (window.chrome.webstore || /^Google\b/.test(window.navigator.vendor)) ? (e.name = "chrome", e.chrome = !0, o = navigator.userAgent.match(/chrome\/(\d+)/i), e.version = !!o && !!o[1] && parseInt(o[1], 10), o = void 0) : document.all || document.documentMode ? (e.name = "ie", e.version = r(), e.ie = !0) : typeof window.InstallTrigger < "u" ? (e.name = "firefox", e.firefox = !0) : Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor") > 0 ? (e.name = "safari", e.safari = !0) : (window.opr && window.opr.addons || window.opera) && (e.name = "opera", e.opera = !0), a(e), !~["ie", "chrome"].indexOf(e.name)) {
|
|
21
|
+
const n = e.name + "/(\\d+)";
|
|
22
|
+
o = navigator.userAgent.match(new RegExp(n, "i")), e.version = !!o && !!o[1] && parseInt(o[1], 10), o = void 0;
|
|
23
|
+
}
|
|
24
|
+
if (e.isDoc) {
|
|
25
|
+
const n = document.body || document.documentElement;
|
|
26
|
+
["webkit", "khtml", "moz", "ms", "o"].forEach((t) => {
|
|
27
|
+
e["-" + t] = !!n[t + "MatchesSelector"];
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
return e;
|
|
32
|
+
})();
|
|
33
|
+
export {
|
|
34
|
+
s as globalEnvironment,
|
|
35
|
+
d as isBrowser
|
|
36
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { on as m } from "./dom.js";
|
|
2
|
+
const f = typeof window > "u", s = [], t = "@@clickoutsideContext";
|
|
3
|
+
let d, p = 0;
|
|
4
|
+
f || (m(document, "mousedown", (e) => {
|
|
5
|
+
d = e, s.filter((n) => n[t].mousedownTrigger).forEach((n) => n[t].documentHandler(e, d));
|
|
6
|
+
}), m(document, "mouseup", (e) => {
|
|
7
|
+
s.filter((n) => !n[t].mousedownTrigger).forEach((n) => {
|
|
8
|
+
var o;
|
|
9
|
+
return n[t].documentHandler(e, (o = n[t]) != null && o.mouseupTrigger ? e : d);
|
|
10
|
+
}), d = null;
|
|
11
|
+
}));
|
|
12
|
+
const l = (e, n, o) => function(r = {}, i = {}) {
|
|
13
|
+
let a = o.context.popperElm || o.context.state && o.context.state.popperElm;
|
|
14
|
+
!(r != null && r.target) || !(i != null && i.target) || e.contains(r.target) || e.contains(i.target) || e === r.target || a && (a.contains(r.target) || a.contains(i.target)) || (n.expression && e[t].methodName && o.context[e[t].methodName] ? o.context[e[t].methodName]() : e[t].bindingFn && e[t].bindingFn());
|
|
15
|
+
};
|
|
16
|
+
var x = {
|
|
17
|
+
bind: (e, n, o) => {
|
|
18
|
+
s.push(e);
|
|
19
|
+
const r = p++, { modifiers: i, expression: a, value: c } = n, { mousedown: u = !1, mouseup: g = !1 } = i || {};
|
|
20
|
+
e[t] = {
|
|
21
|
+
id: r,
|
|
22
|
+
documentHandler: l(e, n, o),
|
|
23
|
+
methodName: a,
|
|
24
|
+
bindingFn: c,
|
|
25
|
+
mousedownTrigger: u,
|
|
26
|
+
mouseupTrigger: g
|
|
27
|
+
};
|
|
28
|
+
},
|
|
29
|
+
update: (e, n, o) => {
|
|
30
|
+
const { modifiers: r, expression: i, value: a } = n, { mousedown: c = !1, mouseup: u = !1 } = r || {};
|
|
31
|
+
e[t].documentHandler = l(e, n, o), e[t].methodName = i, e[t].bindingFn = a, e[t].mousedownTrigger = c, e[t].mouseupTrigger = u;
|
|
32
|
+
},
|
|
33
|
+
unbind: (e) => {
|
|
34
|
+
if (e.nodeType !== Node.ELEMENT_NODE)
|
|
35
|
+
return;
|
|
36
|
+
let n = s.length;
|
|
37
|
+
for (let o = 0; o < n; o++)
|
|
38
|
+
if (s[o][t].id === e[t].id) {
|
|
39
|
+
s.splice(o, 1);
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
s.length === 0 && d && (d = null), delete e[t];
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
export {
|
|
46
|
+
x as default
|
|
47
|
+
};
|