@opentiny/tiny-robot 0.1.0-alpha.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/.vscode/extensions.json +3 -0
- package/README.md +1 -0
- package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/bubble-item/components/actions/copy.vue.d.ts +10 -0
- package/dist/bubble-item/components/actions/index.d.ts +2 -0
- package/dist/bubble-item/components/actions/refresh.vue.d.ts +2 -0
- package/dist/bubble-item/components/icons/ai.vue.d.ts +2 -0
- package/dist/bubble-item/components/icons/index.d.ts +2 -0
- package/dist/bubble-item/components/icons/user.vue.d.ts +2 -0
- package/dist/bubble-item/index.d.ts +7 -0
- package/dist/bubble-list/bubble-list.vue.d.ts +5 -0
- package/dist/bubble-list/index.d.ts +8 -0
- package/dist/bubble-list/index.type.d.ts +55 -0
- package/dist/conversations/index.d.ts +7 -0
- package/dist/conversations/index.vue.d.ts +2 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +29 -0
- package/dist/node_modules/.pnpm/@opentiny_utils@3.22.0/node_modules/@opentiny/utils/dist/index.es.js +2202 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-button@3.22.0/node_modules/@opentiny/vue-button/lib/index.js +113 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-button@3.22.0/node_modules/@opentiny/vue-button/lib/pc.js +93 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-common@3.22.0/node_modules/@opentiny/vue-common/lib/index.js +725 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-dialog-box@3.22.0/node_modules/@opentiny/vue-dialog-box/lib/index.js +198 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-dialog-box@3.22.0/node_modules/@opentiny/vue-dialog-box/lib/pc.js +204 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-directive@3.22.0/node_modules/@opentiny/vue-directive/index.js +57 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-hooks@3.22.0/node_modules/@opentiny/vue-hooks/dist/src/useEventListener.js +10 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-hooks@3.22.0/node_modules/@opentiny/vue-hooks/dist/src/useInstanceSlots.js +14 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-hooks@3.22.0/node_modules/@opentiny/vue-hooks/dist/src/useRelation.js +54 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-hooks@3.22.0/node_modules/@opentiny/vue-hooks/dist/src/vue-popper.js +85 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-hooks@3.22.0/node_modules/@opentiny/vue-hooks/dist/src/vue-popup.js +69 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/close.js +29 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/eyeclose.js +42 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/eyeopen.js +43 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/finish.js +34 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/fullscreen.js +30 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/loading-shadow.js +78 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/minscreen.js +30 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-add-column-after.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-add-column-before.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-add-row-after.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-add-row-before.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-align-center.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-align-left.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-align-right.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-bold.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-code-block.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-code-view.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-color.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-delete-column.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-delete-row.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-delete-table.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-font-size.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-format-clear.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-h1.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-h2.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-h3.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-h4.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-h5.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-h6.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-heading.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-high-light.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-image.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-italic.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-line-height.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-link-unlink.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-link.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-list-ordered.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-list-unordered.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-merge-cells-vertical.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-merge-cells.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-node-delete.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-paragraph.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-quote-text.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-redo.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-split-cells-horizontal.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-split-cells-vertical.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-strike-through.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-subscript.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-superscript.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-table.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-task-list.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-underline.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-undo.js +24 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/sub-script.js +29 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/warn.js +26 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-input@3.22.0/node_modules/@opentiny/vue-input/lib/index.js +196 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-input@3.22.0/node_modules/@opentiny/vue-input/lib/pc.js +568 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-locale@3.22.0/node_modules/@opentiny/vue-locale/lib/index.js +1783 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/button/index.js +13 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/button/vue.js +34 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/chunk-G2ADBYYC.js +12 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/dialog-box/index.js +135 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/dialog-box/vue.js +149 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/input/index.js +228 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/input/vue.js +263 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/tall-storage/index.js +63 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/tall-storage/vue-storage-box.js +16 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/tall-storage/vue.js +23 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/tooltip/index.js +77 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/tooltip/vue.js +90 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-tooltip@3.22.0/node_modules/@opentiny/vue-tooltip/lib/index.js +176 -0
- package/dist/node_modules/.pnpm/@opentiny_vue-tooltip@3.22.0/node_modules/@opentiny/vue-tooltip/lib/pc.js +248 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.js +277 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.js +46 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.js +7 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.js +7 -0
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.js +187 -0
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.js +19 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.js +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.js +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTrim.js +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.js +4 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.js +15 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.js +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.js +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_trimmedEndIndex.js +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/debounce.js +54 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.js +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.js +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSymbol.js +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/now.js +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toNumber.js +22 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_blocks.js +67 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_re.js +5 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/utils.js +164 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/index.js +8 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_destination.js +44 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_label.js +21 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_title.js +37 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/index.js +112 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_block.js +63 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_core.js +34 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_inline.js +96 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/commonmark.js +78 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/default.js +40 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/zero.js +59 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/renderer.js +127 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/ruler.js +95 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/blockquote.js +59 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/code.js +23 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/fence.js +30 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/heading.js +28 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/hr.js +27 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/html_block.js +37 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/lheading.js +43 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/list.js +110 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/paragraph.js +25 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/reference.js +95 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/state_block.js +84 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/table.js +99 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/block.js +7 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/inline.js +10 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/linkify.js +57 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/normalize.js +9 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/replacements.js +31 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/smartquotes.js +80 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/state_core.js +8 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/text_join.js +16 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/autolink.js +46 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/backticks.js +31 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/balance_pairs.js +34 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/emphasis.js +57 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/entity.js +33 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/escape.js +32 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/fragments_join.js +10 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/html_inline.js +32 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/image.js +48 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/link.js +40 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/linkify.js +28 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/newline.js +23 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/state_inline.js +27 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/strikethrough.js +54 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/text.js +39 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/token.js +31 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.js +10 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.js +61 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.js +48 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.js +7 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.js +74 -0
- package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.es6.js +139 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.js +4 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.js +4 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.js +4 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.js +4 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.js +4 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.js +14 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.js +4 -0
- package/dist/packages/components/src/assets/icons/accessory.svg.js +4 -0
- package/dist/packages/components/src/assets/icons/loading-speech.svg.js +4 -0
- package/dist/packages/components/src/assets/icons/loading.svg.js +4 -0
- package/dist/packages/components/src/assets/icons/send.svg.js +4 -0
- package/dist/packages/components/src/assets/icons/voice.svg.js +4 -0
- package/dist/packages/components/src/bubble-item/bubble-item.vue.js +7 -0
- package/dist/packages/components/src/bubble-item/bubble-item.vue2.js +111 -0
- package/dist/packages/components/src/bubble-item/components/actions/copy.vue.js +46 -0
- package/dist/packages/components/src/bubble-item/components/actions/copy.vue2.js +4 -0
- package/dist/packages/components/src/bubble-item/components/actions/refresh.vue.js +12 -0
- package/dist/packages/components/src/bubble-item/components/icons/ai.vue.js +45 -0
- package/dist/packages/components/src/bubble-item/components/icons/user.vue.js +63 -0
- package/dist/packages/components/src/bubble-item/index.js +9 -0
- package/dist/packages/components/src/bubble-list/bubble-list.vue.js +7 -0
- package/dist/packages/components/src/bubble-list/bubble-list.vue2.js +52 -0
- package/dist/packages/components/src/bubble-list/index.js +9 -0
- package/dist/packages/components/src/conversations/index.js +9 -0
- package/dist/packages/components/src/conversations/index.vue.js +9 -0
- package/dist/packages/components/src/sender/components/ActionButtons.vue.js +161 -0
- package/dist/packages/components/src/sender/components/ActionButtons.vue2.js +4 -0
- package/dist/packages/components/src/sender/composables/useInputHandler.js +34 -0
- package/dist/packages/components/src/sender/composables/useKeyboardHandler.js +31 -0
- package/dist/packages/components/src/sender/composables/useSpeechHandler.js +67 -0
- package/dist/packages/components/src/sender/index.js +9 -0
- package/dist/packages/components/src/sender/index.vue.js +233 -0
- package/dist/packages/components/src/sender/index.vue2.js +4 -0
- package/dist/packages/components/src/welcome/index.js +9 -0
- package/dist/packages/components/src/welcome/index.vue.js +9 -0
- package/dist/sender/components/ActionButtons.vue.d.ts +23 -0
- package/dist/sender/composables/useInputHandler.d.ts +17 -0
- package/dist/sender/composables/useKeyboardHandler.d.ts +18 -0
- package/dist/sender/composables/useSpeechHandler.d.ts +14 -0
- package/dist/sender/index.d.ts +7 -0
- package/dist/sender/index.type.d.ts +90 -0
- package/dist/sender/index.vue.d.ts +948 -0
- package/dist/style.css +1 -0
- package/dist/welcome/index.d.ts +7 -0
- package/dist/welcome/index.vue.d.ts +2 -0
- package/package.json +42 -0
- package/src/assets/icons/accessory.svg +12 -0
- package/src/assets/icons/loading-speech.svg +16 -0
- package/src/assets/icons/loading.svg +17 -0
- package/src/assets/icons/send.svg +21 -0
- package/src/assets/icons/voice.svg +22 -0
- package/src/bubble-item/bubble-item.vue +264 -0
- package/src/bubble-item/components/actions/copy.vue +47 -0
- package/src/bubble-item/components/actions/index.ts +2 -0
- package/src/bubble-item/components/actions/refresh.vue +27 -0
- package/src/bubble-item/components/icons/ai.vue +30 -0
- package/src/bubble-item/components/icons/index.ts +2 -0
- package/src/bubble-item/components/icons/user.vue +78 -0
- package/src/bubble-item/index.ts +12 -0
- package/src/bubble-list/bubble-list.vue +53 -0
- package/src/bubble-list/index.ts +14 -0
- package/src/bubble-list/index.type.ts +65 -0
- package/src/conversations/index.ts +12 -0
- package/src/conversations/index.vue +3 -0
- package/src/index.ts +30 -0
- package/src/sender/components/ActionButtons.vue +165 -0
- package/src/sender/composables/useInputHandler.ts +69 -0
- package/src/sender/composables/useKeyboardHandler.ts +99 -0
- package/src/sender/composables/useSpeechHandler.ts +128 -0
- package/src/sender/global.d.ts +44 -0
- package/src/sender/index.less +344 -0
- package/src/sender/index.ts +12 -0
- package/src/sender/index.type.ts +111 -0
- package/src/sender/index.vue +289 -0
- package/src/sender/vars.less +84 -0
- package/src/vite-env.d.ts +1 -0
- package/src/welcome/index.ts +12 -0
- package/src/welcome/index.vue +3 -0
- package/tsconfig.json +37 -0
- package/tsconfig.node.json +10 -0
- package/vite.config.ts +53 -0
|
@@ -0,0 +1,725 @@
|
|
|
1
|
+
import * as l from "vue";
|
|
2
|
+
import { capitalize as te, camelize as re, debounce as ne, hyphenate as ie, isServer as oe } from "../../../../../@opentiny_utils@3.22.0/node_modules/@opentiny/utils/dist/index.es.js";
|
|
3
|
+
import { t as K } from "../../../../../@opentiny_vue-locale@3.22.0/node_modules/@opentiny/vue-locale/lib/index.js";
|
|
4
|
+
/* empty css */
|
|
5
|
+
import { useInstanceSlots as ae } from "../../../../../@opentiny_vue-hooks@3.22.0/node_modules/@opentiny/vue-hooks/dist/src/useInstanceSlots.js";
|
|
6
|
+
import { useRelation as ue } from "../../../../../@opentiny_vue-hooks@3.22.0/node_modules/@opentiny/vue-hooks/dist/src/useRelation.js";
|
|
7
|
+
function j() {
|
|
8
|
+
return j = Object.assign ? Object.assign.bind() : function(f) {
|
|
9
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
10
|
+
var t = arguments[e];
|
|
11
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (f[r] = t[r]);
|
|
12
|
+
}
|
|
13
|
+
return f;
|
|
14
|
+
}, j.apply(null, arguments);
|
|
15
|
+
}
|
|
16
|
+
var k = function() {
|
|
17
|
+
var e = {}, t = function(n, a, o) {
|
|
18
|
+
if (o === void 0 && (o = !1), n && typeof n == "string" && typeof a == "function") {
|
|
19
|
+
var u = e[n] || [];
|
|
20
|
+
e[n] = u, u.push(a), a.once = o;
|
|
21
|
+
}
|
|
22
|
+
}, r = {
|
|
23
|
+
emit: function(n) {
|
|
24
|
+
var a = arguments, o = e[n];
|
|
25
|
+
o && (o.forEach(function(u) {
|
|
26
|
+
return u.apply(null, [].slice.call(a, 1));
|
|
27
|
+
}), e[n] = o.filter(function(u) {
|
|
28
|
+
return !u.once;
|
|
29
|
+
}));
|
|
30
|
+
},
|
|
31
|
+
on: t,
|
|
32
|
+
once: function(n, a) {
|
|
33
|
+
t(n, a, !0);
|
|
34
|
+
},
|
|
35
|
+
off: function(n, a) {
|
|
36
|
+
if (n && typeof n == "string") {
|
|
37
|
+
var o = e[n];
|
|
38
|
+
typeof a == "function" ? e[n] = o.filter(function(u) {
|
|
39
|
+
return u !== a;
|
|
40
|
+
}) : delete e[n];
|
|
41
|
+
} else
|
|
42
|
+
e = {};
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
return r;
|
|
46
|
+
}, fe = function(e, t) {
|
|
47
|
+
t === void 0 && (t = {});
|
|
48
|
+
var r = {};
|
|
49
|
+
for (var i in e)
|
|
50
|
+
i.indexOf("_") !== 0 && (r[i] = e[i]);
|
|
51
|
+
for (var n in t)
|
|
52
|
+
r[n] = t[n];
|
|
53
|
+
return r;
|
|
54
|
+
}, se = function(e, t) {
|
|
55
|
+
if (e === void 0 && (e = {}), typeof t == "object") {
|
|
56
|
+
var r = Array.isArray(t) ? t : Object.keys(t).filter(function(n) {
|
|
57
|
+
return t[n];
|
|
58
|
+
}), i = "";
|
|
59
|
+
return r.forEach(function(n) {
|
|
60
|
+
e[n] && (i += e[n] + " ");
|
|
61
|
+
}), i;
|
|
62
|
+
} else
|
|
63
|
+
return e[t] || "";
|
|
64
|
+
}, ce = l.defineAsyncComponent, le = l.markRaw, z = function(e) {
|
|
65
|
+
var t = e.view, r = t === void 0 ? void 0 : t, i = e.component, n = i === void 0 ? void 0 : i, a = e.props, o = e.context, u = o.attrs, s = o.slots, c = e.extend, v = c === void 0 ? {} : c;
|
|
66
|
+
return function() {
|
|
67
|
+
return l.h(r && r.value || n, j({
|
|
68
|
+
ref: "modeTemplate"
|
|
69
|
+
}, a, u, v), s);
|
|
70
|
+
};
|
|
71
|
+
}, F = function(e) {
|
|
72
|
+
var t = l.getCurrentInstance();
|
|
73
|
+
return e && q(t), t == null ? void 0 : t.appContext.config.globalProperties;
|
|
74
|
+
}, ve = function() {
|
|
75
|
+
var e, t = l.getCurrentInstance(), r = t == null || (e = t.type) == null ? void 0 : e.name;
|
|
76
|
+
if (!r) {
|
|
77
|
+
var i, n;
|
|
78
|
+
r = t == null || (i = t.parent) == null || (n = i.type) == null ? void 0 : n.name;
|
|
79
|
+
}
|
|
80
|
+
return r || "";
|
|
81
|
+
}, pe = function() {
|
|
82
|
+
var e;
|
|
83
|
+
return ((e = l.getCurrentInstance()) == null ? void 0 : e.appContext) || {
|
|
84
|
+
component: function() {
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
}, de = function() {
|
|
88
|
+
var e = l.getCurrentInstance();
|
|
89
|
+
return (e == null ? void 0 : e.appContext.config.globalProperties) || {};
|
|
90
|
+
}, ge = function(e) {
|
|
91
|
+
var t;
|
|
92
|
+
e === void 0 && (e = l.getCurrentInstance());
|
|
93
|
+
var r = (t = e) == null ? void 0 : t.appContext.config.globalProperties.$router, i = r && r.currentRoute.value;
|
|
94
|
+
return {
|
|
95
|
+
route: i,
|
|
96
|
+
router: r
|
|
97
|
+
};
|
|
98
|
+
}, q = function(e) {
|
|
99
|
+
var t = k();
|
|
100
|
+
typeof e.$emitter > "u" && Object.defineProperty(e, "$emitter", {
|
|
101
|
+
get: function() {
|
|
102
|
+
return t;
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
}, me = function(e) {
|
|
106
|
+
var t = function(i, n, a, o) {
|
|
107
|
+
var u = i.subTree && i.subTree.children || i.children;
|
|
108
|
+
Array.isArray(u) && u.forEach(function(s) {
|
|
109
|
+
var c = s.type && s.type.componentName, v = s.component;
|
|
110
|
+
c === n ? (v.emit(a, o), v.$emitter && v.$emitter.emit(a, o)) : t(s, n, a, o);
|
|
111
|
+
});
|
|
112
|
+
};
|
|
113
|
+
return {
|
|
114
|
+
dispatch: function(i, n, a) {
|
|
115
|
+
for (var o = e.parent || e.root, u = o.type && o.type.componentName; o && (!u || u !== i); )
|
|
116
|
+
o = o.parent, o && (u = o.type && o.type.componentName);
|
|
117
|
+
if (o) {
|
|
118
|
+
var s, c;
|
|
119
|
+
(s = o).emit.apply(s, [n].concat(a)), o.$emitter && (c = o.$emitter).emit.apply(c, [n].concat(a));
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
broadcast: function(i, n, a) {
|
|
123
|
+
t(e, i, n, a);
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
}, w = function(e) {
|
|
127
|
+
if (e && e.parent) return e.parent.type.name === "AsyncComponentWrapper" && e.parent.parent ? e.parent.parent : e.parent;
|
|
128
|
+
}, ye = function(e) {
|
|
129
|
+
return function(t) {
|
|
130
|
+
var r = w(e), i = 0, n = function(o) {
|
|
131
|
+
return {
|
|
132
|
+
level: i,
|
|
133
|
+
vm: _({}, o),
|
|
134
|
+
el: o.vnode.el,
|
|
135
|
+
options: o.type
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
if (typeof t != "function") return r ? n(r) : {};
|
|
139
|
+
for (i++; r && !t(n(r)); )
|
|
140
|
+
r = w(r), i++;
|
|
141
|
+
};
|
|
142
|
+
}, he = function(e) {
|
|
143
|
+
return function(t) {
|
|
144
|
+
if (typeof t != "function") return Q(e.subTree);
|
|
145
|
+
var r = 1, i = function(a) {
|
|
146
|
+
if (a) {
|
|
147
|
+
var o = a.children || a.dynamicChildren, u = r++;
|
|
148
|
+
if (Array.isArray(o)) {
|
|
149
|
+
if (o.some(function(s) {
|
|
150
|
+
return s.component && t({
|
|
151
|
+
level: u,
|
|
152
|
+
vm: _({}, s.component),
|
|
153
|
+
el: s.el,
|
|
154
|
+
options: s.type,
|
|
155
|
+
isLevel1: !0
|
|
156
|
+
});
|
|
157
|
+
})) return;
|
|
158
|
+
o.forEach(function(s) {
|
|
159
|
+
return i(s);
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
};
|
|
164
|
+
i(e.subTree);
|
|
165
|
+
};
|
|
166
|
+
}, be = /^on[A-Z]/, Ce = function(e) {
|
|
167
|
+
var t = {}, r = {};
|
|
168
|
+
for (var i in e) {
|
|
169
|
+
var n = e[i];
|
|
170
|
+
if (be.test(i) && typeof n == "function") {
|
|
171
|
+
r[ie(i.substr(2))] = n;
|
|
172
|
+
continue;
|
|
173
|
+
}
|
|
174
|
+
t[i] = n;
|
|
175
|
+
}
|
|
176
|
+
return {
|
|
177
|
+
$attrs: t,
|
|
178
|
+
$listeners: r
|
|
179
|
+
};
|
|
180
|
+
}, Q = function(e) {
|
|
181
|
+
var t = [];
|
|
182
|
+
if (t.refs = {}, e) {
|
|
183
|
+
var r = e.dynamicChildren || e.children;
|
|
184
|
+
Array.isArray(r) ? r.forEach(function(i) {
|
|
185
|
+
if (i.component) {
|
|
186
|
+
var n = _({}, i.component);
|
|
187
|
+
t.push(n), i.props.ref && (t.refs[i.props.ref] = n);
|
|
188
|
+
}
|
|
189
|
+
}) : e.component && t.push(_({}, e.component));
|
|
190
|
+
}
|
|
191
|
+
return t;
|
|
192
|
+
}, S = function(e, t, r, i) {
|
|
193
|
+
var n = function(u) {
|
|
194
|
+
if (typeof i == "function" && i(u)) return 1;
|
|
195
|
+
Object.defineProperty(e, u, {
|
|
196
|
+
configurable: !0,
|
|
197
|
+
enumerable: !0,
|
|
198
|
+
get: function() {
|
|
199
|
+
return t[r][u];
|
|
200
|
+
},
|
|
201
|
+
set: function(c) {
|
|
202
|
+
return t[r][u] = c;
|
|
203
|
+
}
|
|
204
|
+
});
|
|
205
|
+
};
|
|
206
|
+
for (var a in t[r])
|
|
207
|
+
n(a);
|
|
208
|
+
return e;
|
|
209
|
+
}, U = function(e) {
|
|
210
|
+
return e.indexOf("_") === 0;
|
|
211
|
+
}, W = function(e, t) {
|
|
212
|
+
return S(e, t, "setupState", null), S(e, t, "props", U), S(e, t, "ctx", U), e;
|
|
213
|
+
}, _ = function(e, t, r) {
|
|
214
|
+
r === void 0 && (r = null);
|
|
215
|
+
var i = Ce(t.attrs), n = i.$attrs, a = i.$listeners, o = t.$emitter;
|
|
216
|
+
o || (q(t), o = t.$emitter);
|
|
217
|
+
var u = function() {
|
|
218
|
+
for (var v = arguments.length, b = new Array(v), d = 0; d < v; d++)
|
|
219
|
+
b[d] = arguments[d];
|
|
220
|
+
t.emit.apply(t, b), o.emit.apply(e, b);
|
|
221
|
+
}, s = function(v, b, d) {
|
|
222
|
+
return v[b] = d;
|
|
223
|
+
};
|
|
224
|
+
return r || W(e, t), Object.defineProperties(e, {
|
|
225
|
+
$attrs: {
|
|
226
|
+
get: function() {
|
|
227
|
+
return n;
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
$children: {
|
|
231
|
+
get: function() {
|
|
232
|
+
return Q(t.subTree);
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
$constants: {
|
|
236
|
+
get: function() {
|
|
237
|
+
return t.props._constants;
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
$emit: {
|
|
241
|
+
get: function() {
|
|
242
|
+
return u;
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
$el: {
|
|
246
|
+
get: function() {
|
|
247
|
+
return t.vnode.el;
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
$listeners: {
|
|
251
|
+
get: function() {
|
|
252
|
+
return a;
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
$mode: {
|
|
256
|
+
get: function() {
|
|
257
|
+
return t._tiny_mode;
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
$nextTick: {
|
|
261
|
+
get: function() {
|
|
262
|
+
return l.nextTick;
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
$off: {
|
|
266
|
+
get: function() {
|
|
267
|
+
return o.off;
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
$on: {
|
|
271
|
+
get: function() {
|
|
272
|
+
return o.on;
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
$once: {
|
|
276
|
+
get: function() {
|
|
277
|
+
return o.once;
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
$options: {
|
|
281
|
+
get: function() {
|
|
282
|
+
return {
|
|
283
|
+
componentName: t.type.componentName
|
|
284
|
+
};
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
$parent: {
|
|
288
|
+
get: function() {
|
|
289
|
+
return t.parent && _({}, w(t));
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
$refs: {
|
|
293
|
+
get: function() {
|
|
294
|
+
return t.refs;
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
$renderless: {
|
|
298
|
+
get: function() {
|
|
299
|
+
return t.props.tiny_renderless;
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
$scopedSlots: {
|
|
303
|
+
get: function() {
|
|
304
|
+
return t.slots;
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
$set: {
|
|
308
|
+
get: function() {
|
|
309
|
+
return s;
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
$slots: {
|
|
313
|
+
get: function() {
|
|
314
|
+
return t.slots;
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
$template: {
|
|
318
|
+
get: function() {
|
|
319
|
+
return t.props.tiny_template;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
}), e;
|
|
323
|
+
}, $e = function(e, t) {
|
|
324
|
+
for (var r in e.refs)
|
|
325
|
+
Object.prototype.hasOwnProperty.call(e.refs, r) && (t[r] = e.refs[r]);
|
|
326
|
+
}, xe = function(e, t) {
|
|
327
|
+
var r, i, n = l.getCurrentInstance(), a = n == null ? void 0 : n.appContext.config.globalProperties, o = ge(n), u = o.route, s = o.router, c = n == null || (r = n.proxy) == null || (i = r.$root) == null ? void 0 : i.$i18n, v = me(n), b = v.dispatch, d = v.broadcast, I = ye(n), A = he(n), m = _({}, n, e), y = e.emit, p = {}, C = typeof n.props.tiny_template > "u" && w(n), h = C ? _({}, C) : n.parent ? _({}, n.parent) : null, g = function($) {
|
|
328
|
+
var P, O = $.name, H = $.value, ee = C ? C.ctx : n == null || (P = n.parent) == null ? void 0 : P.ctx;
|
|
329
|
+
ee[O] = H, h[O] = H;
|
|
330
|
+
}, x = function($) {
|
|
331
|
+
Object.defineProperties(m, $), Object.defineProperties(n == null ? void 0 : n.ctx, $);
|
|
332
|
+
}, M = function($) {
|
|
333
|
+
h && Object.defineProperties(h, $);
|
|
334
|
+
};
|
|
335
|
+
return l.onBeforeMount(function() {
|
|
336
|
+
return W(m, n);
|
|
337
|
+
}), l.onMounted(function() {
|
|
338
|
+
return $e(n, p);
|
|
339
|
+
}), {
|
|
340
|
+
framework: "vue3",
|
|
341
|
+
vm: m,
|
|
342
|
+
emit: y,
|
|
343
|
+
emitter: k,
|
|
344
|
+
route: u,
|
|
345
|
+
router: s,
|
|
346
|
+
dispatch: b,
|
|
347
|
+
broadcast: d,
|
|
348
|
+
parentHandler: I,
|
|
349
|
+
childrenHandler: A,
|
|
350
|
+
i18n: c,
|
|
351
|
+
refs: p,
|
|
352
|
+
slots: n == null ? void 0 : n.slots,
|
|
353
|
+
scopedSlots: n == null ? void 0 : n.slots,
|
|
354
|
+
attrs: e.attrs,
|
|
355
|
+
parent: h,
|
|
356
|
+
nextTick: l.nextTick,
|
|
357
|
+
constants: n == null ? void 0 : n.props._constants,
|
|
358
|
+
mode: t,
|
|
359
|
+
isPCMode: t === "pc",
|
|
360
|
+
isMobileMode: t === "mobile",
|
|
361
|
+
service: a == null ? void 0 : a.$service,
|
|
362
|
+
getService: function() {
|
|
363
|
+
return a == null ? void 0 : a.$getService(m);
|
|
364
|
+
},
|
|
365
|
+
setParentAttribute: g,
|
|
366
|
+
defineInstanceProperties: x,
|
|
367
|
+
defineParentInstanceProperties: M
|
|
368
|
+
};
|
|
369
|
+
}, T = function(e, t, r) {
|
|
370
|
+
if (typeof e[t] < "u") {
|
|
371
|
+
var i = e[t];
|
|
372
|
+
e[r] = function(n, a, o) {
|
|
373
|
+
o.context = a.instance, i(n, a, o);
|
|
374
|
+
}, delete e[t];
|
|
375
|
+
}
|
|
376
|
+
}, Ue = function(e) {
|
|
377
|
+
for (var t in e) {
|
|
378
|
+
var r = e[t];
|
|
379
|
+
T(r, "inserted", "mounted"), T(r, "bind", "beforeMount"), T(r, "update", "updated"), T(r, "unbind", "unmounted");
|
|
380
|
+
}
|
|
381
|
+
return e;
|
|
382
|
+
}, ke = function(e) {
|
|
383
|
+
return e;
|
|
384
|
+
}, _e = l.Text, Ae = l.Comment, ze = function(e) {
|
|
385
|
+
return !e || !e.type || [_e, Ae].includes(e.type);
|
|
386
|
+
}, Pe = function(e) {
|
|
387
|
+
var t = {};
|
|
388
|
+
for (var r in e)
|
|
389
|
+
if (r === "class" || r === "style")
|
|
390
|
+
t[r] = e[r];
|
|
391
|
+
else if (r === "on" || r === "nativeOn") {
|
|
392
|
+
var i = e[r];
|
|
393
|
+
for (var n in i) t["on" + te(re(n))] = i[n];
|
|
394
|
+
} else if (r === "attrs" || r === "props" || r === "domProps") {
|
|
395
|
+
var a = e[r];
|
|
396
|
+
for (var o in a) t[o] = a[o];
|
|
397
|
+
} else
|
|
398
|
+
t[r] = e[r];
|
|
399
|
+
return t;
|
|
400
|
+
}, Ee = function(e) {
|
|
401
|
+
var t = e, r = !1;
|
|
402
|
+
if (typeof e == "string" && typeof document < "u") {
|
|
403
|
+
var i = document.createElement(e), n = ["SVG", "CIRCLE", "PATH"];
|
|
404
|
+
i instanceof HTMLUnknownElement && !n.includes(i.nodeName) || e.includes("-") ? (e = e.toLowerCase(), r = !0, e === "transition" ? t = l.Transition : e === "transition-group" ? t = l.TransitionGroup : t = l.resolveComponent(e)) : t = e;
|
|
405
|
+
}
|
|
406
|
+
return {
|
|
407
|
+
type: t,
|
|
408
|
+
component: e,
|
|
409
|
+
customElement: r
|
|
410
|
+
};
|
|
411
|
+
}, qe = function(e, t, r) {
|
|
412
|
+
var i = {}, n = r, a = Ee(e), o = a.customElement, u = a.type;
|
|
413
|
+
return e = a.component, t && typeof t == "object" && !Array.isArray(t) ? (i = Pe(t), t.scopedSlots && (n = t.scopedSlots)) : (typeof t == "string" || Array.isArray(t)) && (r = t), (typeof r == "string" || Array.isArray(r)) && (n = typeof e != "string" || o ? function() {
|
|
414
|
+
return r;
|
|
415
|
+
} : r), l.h(u, i, n);
|
|
416
|
+
}, je = function(e) {
|
|
417
|
+
return function(t) {
|
|
418
|
+
var r, i = t.component, n = t.propsData, a = t.el, o = Object.assign(i, {
|
|
419
|
+
provide: (r = {}, r[e.configKey] = e.configInstance, r)
|
|
420
|
+
}), u = l.createVNode(o, n);
|
|
421
|
+
return l.render(u, a), _({}, u.component);
|
|
422
|
+
};
|
|
423
|
+
}, Ie = l.defineComponent, Z = !1, L = function(e) {
|
|
424
|
+
var t = [];
|
|
425
|
+
return Object.keys(e).forEach(function(r) {
|
|
426
|
+
return e[r] && t.push(r);
|
|
427
|
+
}), t.join(" ");
|
|
428
|
+
}, Oe = function(e) {
|
|
429
|
+
var t = [];
|
|
430
|
+
return e.forEach(function(r) {
|
|
431
|
+
typeof r == "string" ? t.push(r) : typeof r == "object" && t.push(L(r));
|
|
432
|
+
}), t.join(" ");
|
|
433
|
+
}, V = function(e) {
|
|
434
|
+
if (!e)
|
|
435
|
+
return "";
|
|
436
|
+
if (typeof e == "string")
|
|
437
|
+
return e;
|
|
438
|
+
if (Array.isArray(e) && e.length > 0) {
|
|
439
|
+
var t = [];
|
|
440
|
+
return e.forEach(function(r) {
|
|
441
|
+
r && (typeof r == "string" ? t.push(r) : Array.isArray(r) ? t.push(Oe(r)) : typeof r == "object" && t.push(L(r)));
|
|
442
|
+
}), t.join(" ");
|
|
443
|
+
}
|
|
444
|
+
return typeof e == "object" ? L(e) : "";
|
|
445
|
+
}, Qe = function(e) {
|
|
446
|
+
var t = V(e), r = Array.from(new Set(t.split(" "))).filter(function(i) {
|
|
447
|
+
return i;
|
|
448
|
+
});
|
|
449
|
+
return V(r);
|
|
450
|
+
}, Te = function() {
|
|
451
|
+
var e = l.ref(""), t = ["2xl", "xl", "lg", "md", "sm"], r = function(u) {
|
|
452
|
+
return oe || typeof matchMedia != "function" ? {
|
|
453
|
+
matches: !1,
|
|
454
|
+
media: u,
|
|
455
|
+
addEventListener: function() {
|
|
456
|
+
},
|
|
457
|
+
removeEventListener: function() {
|
|
458
|
+
}
|
|
459
|
+
} : window.matchMedia(u);
|
|
460
|
+
}, i = {
|
|
461
|
+
"2xl": r("(min-width:1536px)"),
|
|
462
|
+
xl: r("(min-width:1280px)"),
|
|
463
|
+
lg: r("(min-width:1024px)"),
|
|
464
|
+
md: r("(min-width:768px)"),
|
|
465
|
+
sm: r("(min-width:640px)")
|
|
466
|
+
}, n = function() {
|
|
467
|
+
for (var u = 0; u < t.length; u++) {
|
|
468
|
+
var s = t[u];
|
|
469
|
+
if (i[s].matches) {
|
|
470
|
+
e.value = s;
|
|
471
|
+
return;
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
e.value = "default";
|
|
475
|
+
}, a = ne(0, function() {
|
|
476
|
+
return n();
|
|
477
|
+
});
|
|
478
|
+
return n(), t.forEach(function(o) {
|
|
479
|
+
return i[o].addEventListener("change", a);
|
|
480
|
+
}), l.onBeforeUnmount(function() {
|
|
481
|
+
t.forEach(function(o) {
|
|
482
|
+
return i[o].removeEventListener("change", a);
|
|
483
|
+
});
|
|
484
|
+
}), {
|
|
485
|
+
current: e
|
|
486
|
+
};
|
|
487
|
+
}, we = ["IconLoadingShadow", "IconNoData"], J = 0, X = function(e, t) {
|
|
488
|
+
{
|
|
489
|
+
var r;
|
|
490
|
+
if ((r = e.props) != null && r.id) {
|
|
491
|
+
var i = "" + e.props.id + J;
|
|
492
|
+
t[e.props.id] = i, e.props.id = i;
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
Array.isArray(e == null ? void 0 : e.children) && e.children.forEach(function(n) {
|
|
496
|
+
X(n, t);
|
|
497
|
+
});
|
|
498
|
+
}, Y = function(e, t) {
|
|
499
|
+
var r = ["fill", "mask", "filter"];
|
|
500
|
+
r.forEach(function(i) {
|
|
501
|
+
{
|
|
502
|
+
var n, a;
|
|
503
|
+
if ((n = e.props) != null && (a = n[i]) != null && a.includes("url(#")) {
|
|
504
|
+
var o = e.props[i].replace("url(#", "").replace(")", ""), u = t[o];
|
|
505
|
+
u && (e.props[i] = "url(#" + u + ")");
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
}), Array.isArray(e == null ? void 0 : e.children) && e.children.forEach(function(i) {
|
|
509
|
+
Y(i, t);
|
|
510
|
+
});
|
|
511
|
+
}, Me = function(e) {
|
|
512
|
+
if (e) {
|
|
513
|
+
var t = {};
|
|
514
|
+
X(e, t), Y(e, t), J++;
|
|
515
|
+
}
|
|
516
|
+
};
|
|
517
|
+
ae(j({}, l, {
|
|
518
|
+
isVue2: Z
|
|
519
|
+
}));
|
|
520
|
+
ue(j({}, l, {
|
|
521
|
+
isVue2: Z
|
|
522
|
+
}));
|
|
523
|
+
var B = "Tiny", We = {
|
|
524
|
+
tiny_mode: String,
|
|
525
|
+
tiny_mode_root: Boolean,
|
|
526
|
+
tiny_template: [Function, Object],
|
|
527
|
+
tiny_renderless: Function,
|
|
528
|
+
tiny_theme: String,
|
|
529
|
+
tiny_chart_theme: Object
|
|
530
|
+
}, Ze = ["tiny_mode", "tiny_mode_root", "tiny_template", "tiny_renderless", "_constants", "tiny_theme", "tiny_chart_theme"], G = function(e, t) {
|
|
531
|
+
var r = function(v) {
|
|
532
|
+
return ~["pc", "mobile", "mobile-first"].indexOf(v);
|
|
533
|
+
}, i = F(t), n = typeof e.tiny_mode == "string" ? e.tiny_mode : null, a = l.inject("TinyMode", null), o;
|
|
534
|
+
typeof i.tiny_mode == "string" ? o = i.tiny_mode : i.tiny_mode && (o = i.tiny_mode.value), r(n) || (n = null), r(a) || (a = null), r(o) || (o = null);
|
|
535
|
+
var u = n || a || o || "pc";
|
|
536
|
+
e.tiny_mode_root && l.provide("TinyMode", u);
|
|
537
|
+
var s = l.getCurrentInstance();
|
|
538
|
+
return Object.defineProperty(s, "_tiny_mode", {
|
|
539
|
+
value: u
|
|
540
|
+
}), u;
|
|
541
|
+
}, Se = function(e, t) {
|
|
542
|
+
var r = function(c) {
|
|
543
|
+
return ~["tiny", "saas"].indexOf(c);
|
|
544
|
+
}, i = F(t), n = typeof e.tiny_theme == "string" ? e.tiny_theme : null, a = l.inject("TinyTheme", null), o = i.tiny_theme && i.tiny_theme.value;
|
|
545
|
+
r(n) || (n = null), r(a) || (a = null), r(o) || (o = null);
|
|
546
|
+
var u = n || a || o || "tiny";
|
|
547
|
+
return u;
|
|
548
|
+
}, Re = function(e, t) {
|
|
549
|
+
var r = F(t), i = typeof e.tiny_chart_theme == "object" ? e.tiny_chart_theme : null, n = l.inject("TinyChartTheme", null), a = r.tiny_chart_theme && r.tiny_chart_theme.value, o = i || n || a || null;
|
|
550
|
+
return o;
|
|
551
|
+
}, Je = function(e) {
|
|
552
|
+
var t = e.props, r = e.context, i = e.template, n = e.extend, a = n === void 0 ? {} : n, o = G(t, r), u = l.computed(function() {
|
|
553
|
+
if (typeof t.tiny_template < "u") return t.tiny_template;
|
|
554
|
+
var s = i(o, t);
|
|
555
|
+
return typeof s == "function" ? ce(s) : s;
|
|
556
|
+
});
|
|
557
|
+
return z({
|
|
558
|
+
view: u,
|
|
559
|
+
props: t,
|
|
560
|
+
context: r,
|
|
561
|
+
extend: a
|
|
562
|
+
});
|
|
563
|
+
}, D = {
|
|
564
|
+
configKey: Symbol("designConfigKey"),
|
|
565
|
+
configInstance: null
|
|
566
|
+
}, Xe = je(D), Le = {
|
|
567
|
+
designConfig: null,
|
|
568
|
+
twMerge: function() {
|
|
569
|
+
return "";
|
|
570
|
+
}
|
|
571
|
+
}, N = function() {
|
|
572
|
+
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
|
573
|
+
t[r] = arguments[r];
|
|
574
|
+
return Le.twMerge(V(t));
|
|
575
|
+
}, Ye = function(e) {
|
|
576
|
+
var t, r, i, n = e.props, a = e.context, o = e.renderless, u = e.api, s = e.extendOptions, c = s === void 0 ? {} : s, v = e.mono, b = v === void 0 ? !1 : v, d = e.classes, I = d === void 0 ? {} : d, A = typeof n.tiny_renderless == "function" ? n.tiny_renderless : o, m = l.inject(D.configKey, {});
|
|
577
|
+
m = ((t = m) == null ? void 0 : t.value) || m || {};
|
|
578
|
+
var y = (r = m) == null || (i = r.components) == null ? void 0 : i[ve().replace(B, "")], p = j({
|
|
579
|
+
$prefix: B,
|
|
580
|
+
t: K
|
|
581
|
+
}, xe(a, G(n, a)), {
|
|
582
|
+
designConfig: y,
|
|
583
|
+
globalDesignConfig: m,
|
|
584
|
+
useBreakpoint: Te,
|
|
585
|
+
mergeClass: N
|
|
586
|
+
});
|
|
587
|
+
p.vm.theme = Se(n, a), p.vm.chartTheme = Re(n, a);
|
|
588
|
+
var C = A(n, l, p, c);
|
|
589
|
+
typeof (y == null ? void 0 : y.renderless) == "function" && Object.assign(C, y.renderless(n, l, p, C));
|
|
590
|
+
var h = {
|
|
591
|
+
t: K,
|
|
592
|
+
vm: p.vm,
|
|
593
|
+
f: fe,
|
|
594
|
+
a: Ve,
|
|
595
|
+
d: p.defineInstanceProperties,
|
|
596
|
+
dp: p.defineParentInstanceProperties,
|
|
597
|
+
gcls: function(x) {
|
|
598
|
+
return se(I, x);
|
|
599
|
+
},
|
|
600
|
+
m: N
|
|
601
|
+
};
|
|
602
|
+
return h.d({
|
|
603
|
+
slots: {
|
|
604
|
+
get: function() {
|
|
605
|
+
return p.vm.$slots;
|
|
606
|
+
},
|
|
607
|
+
configurable: !0
|
|
608
|
+
},
|
|
609
|
+
scopedSlots: {
|
|
610
|
+
get: function() {
|
|
611
|
+
return p.vm.$scopedSlots;
|
|
612
|
+
},
|
|
613
|
+
configurable: !0
|
|
614
|
+
}
|
|
615
|
+
}), h.dp({
|
|
616
|
+
slots: {
|
|
617
|
+
get: function() {
|
|
618
|
+
return p.parent.$slots;
|
|
619
|
+
},
|
|
620
|
+
configurable: !0
|
|
621
|
+
},
|
|
622
|
+
scopedSlots: {
|
|
623
|
+
get: function() {
|
|
624
|
+
return p.parent.$scopedSlots;
|
|
625
|
+
},
|
|
626
|
+
configurable: !0
|
|
627
|
+
}
|
|
628
|
+
}), Be(), Array.isArray(u) && (Array.isArray(y == null ? void 0 : y.api) && (u = u.concat(y.api)), u.forEach(function(g) {
|
|
629
|
+
var x = C[g];
|
|
630
|
+
typeof x < "u" && (h[g] = x, b || p.setParentAttribute({
|
|
631
|
+
name: g,
|
|
632
|
+
value: x
|
|
633
|
+
}));
|
|
634
|
+
})), h;
|
|
635
|
+
};
|
|
636
|
+
function De(f) {
|
|
637
|
+
var e = f.name, t = e === void 0 ? "Icon" : e, r = f.component;
|
|
638
|
+
return function(i) {
|
|
639
|
+
return le(Ie({
|
|
640
|
+
name: B + t,
|
|
641
|
+
setup: function(a, o) {
|
|
642
|
+
var u = o.attrs || {}, s = u.fill, c = u.width, v = u.height, b = u["custom-class"], d = u["first-color"], I = u["second-color"], A = Object.assign({}, a, i || null), m = G(A, o), y = m === "mobile-first", p = {
|
|
643
|
+
"data-tag": y ? "tiny-svg" : null
|
|
644
|
+
}, C = p, h = "tiny-svg";
|
|
645
|
+
y && (h = N("h-4 w-4 inline-block", b || "", A.class || ""));
|
|
646
|
+
var g = Object.assign({
|
|
647
|
+
style: {
|
|
648
|
+
fill: s,
|
|
649
|
+
width: c,
|
|
650
|
+
height: v,
|
|
651
|
+
"--tiny-first-color": d || "",
|
|
652
|
+
"--tiny-second-color": I || ""
|
|
653
|
+
},
|
|
654
|
+
class: h,
|
|
655
|
+
isSvg: !0
|
|
656
|
+
}, C);
|
|
657
|
+
if (g.nativeOn = o.listeners, we.includes(t)) {
|
|
658
|
+
var x = r.render;
|
|
659
|
+
r.render = function() {
|
|
660
|
+
for (var M = x.bind(this), E = arguments.length, $ = new Array(E), P = 0; P < E; P++)
|
|
661
|
+
$[P] = arguments[P];
|
|
662
|
+
var O = M($);
|
|
663
|
+
return Me(O), O;
|
|
664
|
+
};
|
|
665
|
+
}
|
|
666
|
+
return z({
|
|
667
|
+
component: r,
|
|
668
|
+
props: A,
|
|
669
|
+
context: o,
|
|
670
|
+
extend: g
|
|
671
|
+
});
|
|
672
|
+
}
|
|
673
|
+
}));
|
|
674
|
+
};
|
|
675
|
+
}
|
|
676
|
+
var Ve = function(e, t, r) {
|
|
677
|
+
var i = {}, n = function(u) {
|
|
678
|
+
var s = t.some(function(c) {
|
|
679
|
+
return new RegExp(c).test(u);
|
|
680
|
+
});
|
|
681
|
+
(r && s || !r && !s) && (i[u] = e[u]);
|
|
682
|
+
};
|
|
683
|
+
for (var a in e)
|
|
684
|
+
n(a);
|
|
685
|
+
return i;
|
|
686
|
+
}, R = {}, Be = function() {
|
|
687
|
+
for (var e in R) {
|
|
688
|
+
var t = R[e];
|
|
689
|
+
typeof t.install == "function" && t.install(pe()), typeof t.init == "function" && t.init(de());
|
|
690
|
+
}
|
|
691
|
+
R = {};
|
|
692
|
+
};
|
|
693
|
+
export {
|
|
694
|
+
B as $prefix,
|
|
695
|
+
We as $props,
|
|
696
|
+
Je as $setup,
|
|
697
|
+
de as appProperties,
|
|
698
|
+
Xe as createComponent,
|
|
699
|
+
Le as customDesignConfig,
|
|
700
|
+
Qe as deduplicateCssClass,
|
|
701
|
+
ce as defineAsyncComponent,
|
|
702
|
+
Ie as defineComponent,
|
|
703
|
+
D as design,
|
|
704
|
+
Ue as directive,
|
|
705
|
+
k as emitter,
|
|
706
|
+
Ve as filterAttrs,
|
|
707
|
+
qe as h,
|
|
708
|
+
l as hooks,
|
|
709
|
+
Be as initComponent,
|
|
710
|
+
ze as isEmptyVnode,
|
|
711
|
+
Z as isVue2,
|
|
712
|
+
N as mergeClass,
|
|
713
|
+
ke as parseVnode,
|
|
714
|
+
Ze as props,
|
|
715
|
+
G as resolveMode,
|
|
716
|
+
Se as resolveTheme,
|
|
717
|
+
Ye as setup,
|
|
718
|
+
R as setupComponent,
|
|
719
|
+
V as stringifyCssClass,
|
|
720
|
+
Oe as stringifyCssClassArray,
|
|
721
|
+
L as stringifyCssClassObject,
|
|
722
|
+
De as svg,
|
|
723
|
+
Te as useBreakpoint,
|
|
724
|
+
ge as useRouter
|
|
725
|
+
};
|