@opentiny/tiny-robot 0.2.0-alpha.2 → 0.2.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_plugin-vue_export-helper.js +9 -0
- package/dist/action-group/index.js +142 -0
- package/dist/bubble/index.js +3211 -0
- package/dist/{node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/close.js → close.js} +9 -9
- package/dist/container/index.js +60 -0
- package/dist/conversations/index.js +14 -0
- package/dist/feedback/index.js +192 -0
- package/dist/history/index.js +228 -0
- package/dist/icon-button/index.js +31 -0
- package/dist/index.d.ts +2190 -26
- package/dist/index.js +35 -43
- package/dist/index2.js +376 -0
- package/dist/index3.js +3895 -0
- package/dist/index4.js +637 -0
- package/dist/index5.js +3237 -0
- package/dist/index6.js +4623 -0
- package/dist/prompts/index.js +83 -0
- package/dist/question/index.js +375 -0
- package/dist/sender/index.js +683 -0
- package/dist/style.css +1 -1
- package/dist/suggestion/index.js +497 -0
- package/dist/{packages/svgs/dist/tiny-robot-svgs.js → tiny-robot-svgs.js} +100 -100
- package/dist/welcome/index.js +38 -0
- package/package.json +7 -3
- package/dist/_virtual/_plugin-vue_export-helper.js +0 -9
- package/dist/action-group/ActionGroup.vue.d.ts +0 -26
- package/dist/action-group/ActionGroupItem.vue.d.ts +0 -18
- package/dist/action-group/index.d.ts +0 -12
- package/dist/action-group/index.type.d.ts +0 -17
- package/dist/bubble/BubbleList.vue.d.ts +0 -5
- package/dist/bubble/index.d.ts +0 -12
- package/dist/bubble/index.type.d.ts +0 -51
- package/dist/container/index.d.ts +0 -7
- package/dist/container/index.type.d.ts +0 -16
- package/dist/container/index.vue.d.ts +0 -26
- package/dist/conversations/index.d.ts +0 -7
- package/dist/conversations/index.vue.d.ts +0 -2
- package/dist/feedback/components/SourceList.vue.d.ts +0 -11
- package/dist/feedback/components/index.d.ts +0 -1
- package/dist/feedback/index.d.ts +0 -7
- package/dist/feedback/index.type.d.ts +0 -25
- package/dist/feedback/index.vue.d.ts +0 -13
- package/dist/history/components/index.d.ts +0 -2
- package/dist/history/components/item-tag.vue.d.ts +0 -5
- package/dist/history/components/search-empty.vue.d.ts +0 -7
- package/dist/history/composables/index.d.ts +0 -1
- package/dist/history/composables/useEditItemTitle.d.ts +0 -12
- package/dist/history/index.d.ts +0 -6
- package/dist/history/index.type.d.ts +0 -43
- package/dist/history/index.vue.d.ts +0 -2
- package/dist/icon-button/index.d.ts +0 -7
- package/dist/icon-button/index.type.d.ts +0 -6
- package/dist/icon-button/index.vue.d.ts +0 -6
- package/dist/node_modules/.pnpm/@opentiny_utils@1.0.0/node_modules/@opentiny/utils/dist/opentiny-utils.es.js +0 -832
- package/dist/node_modules/.pnpm/@opentiny_utils@3.22.0/node_modules/@opentiny/utils/dist/index.es.js +0 -2116
- package/dist/node_modules/.pnpm/@opentiny_vue-button@3.21.0/node_modules/@opentiny/vue-button/lib/index.js +0 -113
- package/dist/node_modules/.pnpm/@opentiny_vue-button@3.21.0/node_modules/@opentiny/vue-button/lib/pc.js +0 -93
- package/dist/node_modules/.pnpm/@opentiny_vue-common@3.21.0/node_modules/@opentiny/vue-common/lib/index.js +0 -727
- package/dist/node_modules/.pnpm/@opentiny_vue-common@3.22.0/node_modules/@opentiny/vue-common/lib/index.js +0 -710
- package/dist/node_modules/.pnpm/@opentiny_vue-dialog-box@3.21.0/node_modules/@opentiny/vue-dialog-box/lib/index.js +0 -198
- package/dist/node_modules/.pnpm/@opentiny_vue-dialog-box@3.21.0/node_modules/@opentiny/vue-dialog-box/lib/pc.js +0 -204
- package/dist/node_modules/.pnpm/@opentiny_vue-hooks@3.22.0/node_modules/@opentiny/vue-hooks/dist/src/useEventListener.js +0 -10
- package/dist/node_modules/.pnpm/@opentiny_vue-hooks@3.22.0/node_modules/@opentiny/vue-hooks/dist/src/useInstanceSlots.js +0 -14
- package/dist/node_modules/.pnpm/@opentiny_vue-hooks@3.22.0/node_modules/@opentiny/vue-hooks/dist/src/useRelation.js +0 -54
- package/dist/node_modules/.pnpm/@opentiny_vue-hooks@3.22.0/node_modules/@opentiny/vue-hooks/dist/src/vue-popper.js +0 -85
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/close.js +0 -29
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/eyeclose.js +0 -42
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/eyeopen.js +0 -43
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/finish.js +0 -34
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/fullscreen.js +0 -30
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/loading-shadow.js +0 -77
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/minscreen.js +0 -30
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-add-column-after.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-add-column-before.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-add-row-after.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-add-row-before.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-align-center.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-align-left.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-align-right.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-bold.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-code-block.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-code-view.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-color.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-delete-column.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-delete-row.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-delete-table.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-font-size.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-format-clear.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-h1.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-h2.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-h3.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-h4.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-h5.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-h6.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-heading.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-high-light.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-image.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-italic.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-line-height.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-link-unlink.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-link.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-list-ordered.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-list-unordered.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-merge-cells-vertical.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-merge-cells.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-node-delete.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-paragraph.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-quote-text.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-redo.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-split-cells-horizontal.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-split-cells-vertical.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-strike-through.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-subscript.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-superscript.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-table.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-task-list.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-underline.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-undo.js +0 -24
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/sub-script.js +0 -29
- package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/warn.js +0 -26
- package/dist/node_modules/.pnpm/@opentiny_vue-input@3.21.0/node_modules/@opentiny/vue-input/lib/index.js +0 -196
- package/dist/node_modules/.pnpm/@opentiny_vue-input@3.21.0/node_modules/@opentiny/vue-input/lib/pc.js +0 -568
- package/dist/node_modules/.pnpm/@opentiny_vue-locale@3.21.0/node_modules/@opentiny/vue-locale/lib/index.js +0 -1783
- package/dist/node_modules/.pnpm/@opentiny_vue-locale@3.22.0/node_modules/@opentiny/vue-locale/lib/index.js +0 -1783
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/button/index.js +0 -13
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/button/vue.js +0 -34
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/chunk-G2ADBYYC.js +0 -12
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/browser.js +0 -36
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/clickoutside.js +0 -47
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/debounce.js +0 -7
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/dom.js +0 -45
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/popper.js +0 -320
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/popup-manager.js +0 -118
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/throttle.js +0 -23
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/useEventListener.js +0 -9
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/useInstanceSlots.js +0 -14
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/useRelation.js +0 -54
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/vue-popper.js +0 -84
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/vue-popup.js +0 -73
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/event.js +0 -13
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/function.js +0 -5
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/index.js +0 -11
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/object.js +0 -84
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/string.js +0 -28
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/type.js +0 -28
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/dialog-box/index.js +0 -136
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/dialog-box/vue.js +0 -148
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/input/index.js +0 -228
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/input/vue.js +0 -263
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/tall-storage/index.js +0 -63
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/tall-storage/vue-storage-box.js +0 -16
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/tall-storage/vue.js +0 -23
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/tooltip/index.js +0 -78
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/tooltip/vue.js +0 -90
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/tooltip/index.js +0 -77
- package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/tooltip/vue.js +0 -90
- package/dist/node_modules/.pnpm/@opentiny_vue-tooltip@3.21.0/node_modules/@opentiny/vue-tooltip/lib/index.js +0 -173
- package/dist/node_modules/.pnpm/@opentiny_vue-tooltip@3.21.0/node_modules/@opentiny/vue-tooltip/lib/pc.js +0 -248
- package/dist/node_modules/.pnpm/@opentiny_vue-tooltip@3.22.0/node_modules/@opentiny/vue-tooltip/lib/index.js +0 -176
- package/dist/node_modules/.pnpm/@opentiny_vue-tooltip@3.22.0/node_modules/@opentiny/vue-tooltip/lib/pc.js +0 -248
- package/dist/node_modules/.pnpm/@vueuse_core@13.1.0_vue@3.5.13/node_modules/@vueuse/core/index.js +0 -310
- package/dist/node_modules/.pnpm/@vueuse_shared@13.1.0_vue@3.5.13/node_modules/@vueuse/shared/index.js +0 -110
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.js +0 -277
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.js +0 -46
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.js +0 -7
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.js +0 -7
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.js +0 -187
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.js +0 -19
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_blocks.js +0 -67
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_re.js +0 -5
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/utils.js +0 -164
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/index.js +0 -8
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_destination.js +0 -44
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_label.js +0 -21
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_title.js +0 -37
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/index.js +0 -112
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_block.js +0 -63
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_core.js +0 -34
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_inline.js +0 -96
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/commonmark.js +0 -78
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/default.js +0 -40
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/zero.js +0 -59
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/renderer.js +0 -127
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/ruler.js +0 -95
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/blockquote.js +0 -59
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/code.js +0 -23
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/fence.js +0 -30
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/heading.js +0 -28
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/hr.js +0 -27
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/html_block.js +0 -37
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/lheading.js +0 -43
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/list.js +0 -110
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/paragraph.js +0 -25
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/reference.js +0 -95
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/state_block.js +0 -84
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/table.js +0 -99
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/block.js +0 -7
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/inline.js +0 -10
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/linkify.js +0 -57
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/normalize.js +0 -9
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/replacements.js +0 -31
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/smartquotes.js +0 -80
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/state_core.js +0 -8
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/text_join.js +0 -16
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/autolink.js +0 -46
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/backticks.js +0 -31
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/balance_pairs.js +0 -34
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/emphasis.js +0 -57
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/entity.js +0 -33
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/escape.js +0 -32
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/fragments_join.js +0 -10
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/html_inline.js +0 -32
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/image.js +0 -48
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/link.js +0 -40
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/linkify.js +0 -28
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/newline.js +0 -23
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/state_inline.js +0 -27
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/strikethrough.js +0 -54
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/text.js +0 -39
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/token.js +0 -31
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.js +0 -10
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.js +0 -61
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.js +0 -48
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.js +0 -7
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.js +0 -74
- package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.es6.js +0 -139
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.js +0 -4
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.js +0 -4
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.js +0 -4
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.js +0 -4
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.js +0 -4
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.js +0 -14
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.js +0 -4
- package/dist/packages/components/src/action-group/ActionGroup.vue.js +0 -7
- package/dist/packages/components/src/action-group/ActionGroup.vue2.js +0 -121
- package/dist/packages/components/src/action-group/ActionGroupItem.vue.js +0 -14
- package/dist/packages/components/src/action-group/ActionGroupItem.vue2.js +0 -4
- package/dist/packages/components/src/action-group/index.js +0 -17
- package/dist/packages/components/src/assets/icons/accessory.svg.js +0 -4
- package/dist/packages/components/src/assets/icons/loading-speech.svg.js +0 -4
- package/dist/packages/components/src/assets/icons/loading.svg.js +0 -4
- package/dist/packages/components/src/assets/icons/send.svg.js +0 -4
- package/dist/packages/components/src/assets/icons/voice.svg.js +0 -4
- package/dist/packages/components/src/bubble/Bubble.vue.js +0 -7
- package/dist/packages/components/src/bubble/Bubble.vue2.js +0 -76
- package/dist/packages/components/src/bubble/BubbleList.vue.js +0 -7
- package/dist/packages/components/src/bubble/BubbleList.vue2.js +0 -50
- package/dist/packages/components/src/bubble/index.js +0 -18
- package/dist/packages/components/src/container/index.js +0 -9
- package/dist/packages/components/src/container/index.vue.js +0 -7
- package/dist/packages/components/src/container/index.vue2.js +0 -55
- package/dist/packages/components/src/conversations/index.js +0 -9
- package/dist/packages/components/src/conversations/index.vue.js +0 -9
- package/dist/packages/components/src/feedback/components/SourceList.vue.js +0 -7
- package/dist/packages/components/src/feedback/components/SourceList.vue2.js +0 -52
- package/dist/packages/components/src/feedback/index.js +0 -9
- package/dist/packages/components/src/feedback/index.vue.js +0 -7
- package/dist/packages/components/src/feedback/index.vue2.js +0 -143
- package/dist/packages/components/src/history/components/item-tag.vue.js +0 -7
- package/dist/packages/components/src/history/components/item-tag.vue2.js +0 -21
- package/dist/packages/components/src/history/components/search-empty.vue.js +0 -7
- package/dist/packages/components/src/history/components/search-empty.vue2.js +0 -20
- package/dist/packages/components/src/history/composables/useEditItemTitle.js +0 -43
- package/dist/packages/components/src/history/index.js +0 -11
- package/dist/packages/components/src/history/index.vue.js +0 -7
- package/dist/packages/components/src/history/index.vue2.js +0 -130
- package/dist/packages/components/src/icon-button/index.js +0 -9
- package/dist/packages/components/src/icon-button/index.vue.js +0 -7
- package/dist/packages/components/src/icon-button/index.vue2.js +0 -22
- package/dist/packages/components/src/prompts/index.js +0 -18
- package/dist/packages/components/src/prompts/prompt.vue.js +0 -7
- package/dist/packages/components/src/prompts/prompt.vue2.js +0 -39
- package/dist/packages/components/src/prompts/prompts.vue.js +0 -7
- package/dist/packages/components/src/prompts/prompts.vue2.js +0 -36
- package/dist/packages/components/src/question/components/CommonQuestions.vue.js +0 -89
- package/dist/packages/components/src/question/components/CommonQuestions.vue2.js +0 -4
- package/dist/packages/components/src/question/components/HotQuestions.vue.js +0 -140
- package/dist/packages/components/src/question/components/HotQuestions.vue2.js +0 -4
- package/dist/packages/components/src/question/composables/useQuestions.js +0 -48
- package/dist/packages/components/src/question/index.js +0 -9
- package/dist/packages/components/src/question/index.vue.js +0 -113
- package/dist/packages/components/src/question/index.vue2.js +0 -4
- package/dist/packages/components/src/sender/components/ActionButtons.vue.js +0 -143
- package/dist/packages/components/src/sender/components/ActionButtons.vue2.js +0 -4
- package/dist/packages/components/src/sender/components/TemplateEditor.vue.js +0 -7
- package/dist/packages/components/src/sender/components/TemplateEditor.vue2.js +0 -175
- package/dist/packages/components/src/sender/composables/useInputHandler.js +0 -38
- package/dist/packages/components/src/sender/composables/useKeyboardHandler.js +0 -31
- package/dist/packages/components/src/sender/composables/useSpeechHandler.js +0 -67
- package/dist/packages/components/src/sender/index.js +0 -9
- package/dist/packages/components/src/sender/index.vue.js +0 -255
- package/dist/packages/components/src/sender/index.vue2.js +0 -4
- package/dist/packages/components/src/suggestion/components/CategoryNav.vue.js +0 -38
- package/dist/packages/components/src/suggestion/components/CategoryNav.vue2.js +0 -4
- package/dist/packages/components/src/suggestion/components/SuggestionCapsule.vue.js +0 -107
- package/dist/packages/components/src/suggestion/components/SuggestionCapsule.vue2.js +0 -4
- package/dist/packages/components/src/suggestion/components/SuggestionPanel.vue.js +0 -123
- package/dist/packages/components/src/suggestion/components/SuggestionPanel.vue2.js +0 -4
- package/dist/packages/components/src/suggestion/composables/useKeyboardNavigation.js +0 -45
- package/dist/packages/components/src/suggestion/composables/useTriggerDetection.js +0 -17
- package/dist/packages/components/src/suggestion/index.js +0 -9
- package/dist/packages/components/src/suggestion/index.vue.js +0 -179
- package/dist/packages/components/src/suggestion/index.vue2.js +0 -4
- package/dist/packages/components/src/suggestion/utils/dom.js +0 -18
- package/dist/packages/components/src/welcome/index.js +0 -9
- package/dist/packages/components/src/welcome/index.vue.js +0 -7
- package/dist/packages/components/src/welcome/index.vue2.js +0 -32
- package/dist/prompts/index.d.ts +0 -12
- package/dist/prompts/index.type.d.ts +0 -55
- package/dist/prompts/prompt.vue.d.ts +0 -3
- package/dist/prompts/prompts.vue.d.ts +0 -20
- package/dist/question/components/CommonQuestions.vue.d.ts +0 -32
- package/dist/question/components/HotQuestions.vue.d.ts +0 -89
- package/dist/question/composables/useQuestions.d.ts +0 -17
- package/dist/question/index.d.ts +0 -7
- package/dist/question/index.type.d.ts +0 -74
- package/dist/question/index.vue.d.ts +0 -46
- package/dist/sender/components/ActionButtons.vue.d.ts +0 -25
- package/dist/sender/components/TemplateEditor.vue.d.ts +0 -18
- package/dist/sender/composables/useInputHandler.d.ts +0 -17
- package/dist/sender/composables/useKeyboardHandler.d.ts +0 -18
- package/dist/sender/composables/useSpeechHandler.d.ts +0 -8
- package/dist/sender/index.d.ts +0 -7
- package/dist/sender/index.type.d.ts +0 -137
- package/dist/sender/index.vue.d.ts +0 -1012
- package/dist/suggestion/components/CategoryNav.vue.d.ts +0 -45
- package/dist/suggestion/components/SuggestionCapsule.vue.d.ts +0 -32
- package/dist/suggestion/components/SuggestionPanel.vue.d.ts +0 -84
- package/dist/suggestion/composables/useKeyboardNavigation.d.ts +0 -18
- package/dist/suggestion/composables/useSuggestionFilter.d.ts +0 -10
- package/dist/suggestion/composables/useTriggerDetection.d.ts +0 -11
- package/dist/suggestion/index.d.ts +0 -7
- package/dist/suggestion/index.type.d.ts +0 -94
- package/dist/suggestion/index.vue.d.ts +0 -343
- package/dist/suggestion/utils/dom.d.ts +0 -20
- package/dist/welcome/index.d.ts +0 -7
- package/dist/welcome/index.type.d.ts +0 -10
- package/dist/welcome/index.vue.d.ts +0 -18
- package/src/action-group/ActionGroup.vue +0 -247
- package/src/action-group/ActionGroupItem.vue +0 -9
- package/src/action-group/index.ts +0 -25
- package/src/action-group/index.type.ts +0 -21
- package/src/assets/icons/accessory.svg +0 -12
- package/src/assets/icons/loading-speech.svg +0 -16
- package/src/assets/icons/loading.svg +0 -17
- package/src/assets/icons/send.svg +0 -21
- package/src/assets/icons/voice.svg +0 -22
- package/src/bubble/Bubble.vue +0 -153
- package/src/bubble/BubbleList.vue +0 -55
- package/src/bubble/index.ts +0 -23
- package/src/bubble/index.type.ts +0 -49
- package/src/container/index.ts +0 -12
- package/src/container/index.type.ts +0 -17
- package/src/container/index.vue +0 -109
- package/src/conversations/index.ts +0 -12
- package/src/conversations/index.vue +0 -3
- package/src/feedback/components/SourceList.vue +0 -112
- package/src/feedback/components/index.ts +0 -1
- package/src/feedback/index.ts +0 -12
- package/src/feedback/index.type.ts +0 -27
- package/src/feedback/index.vue +0 -166
- package/src/history/components/index.ts +0 -2
- package/src/history/components/item-tag.vue +0 -49
- package/src/history/components/search-empty.vue +0 -38
- package/src/history/composables/index.ts +0 -1
- package/src/history/composables/useEditItemTitle.ts +0 -75
- package/src/history/index.ts +0 -12
- package/src/history/index.type.ts +0 -50
- package/src/history/index.vue +0 -292
- package/src/icon-button/index.ts +0 -12
- package/src/icon-button/index.type.ts +0 -7
- package/src/icon-button/index.vue +0 -58
- package/src/index.ts +0 -76
- package/src/prompts/index.ts +0 -25
- package/src/prompts/index.type.ts +0 -59
- package/src/prompts/prompt.vue +0 -101
- package/src/prompts/prompts.vue +0 -50
- package/src/question/components/CommonQuestions.vue +0 -146
- package/src/question/components/HotQuestions.vue +0 -148
- package/src/question/composables/useQuestions.ts +0 -106
- package/src/question/index.less +0 -447
- package/src/question/index.ts +0 -12
- package/src/question/index.type.ts +0 -86
- package/src/question/index.vue +0 -140
- package/src/question/vars.less +0 -135
- package/src/sender/components/ActionButtons.vue +0 -168
- package/src/sender/components/TemplateEditor.vue +0 -465
- package/src/sender/composables/useInputHandler.ts +0 -74
- package/src/sender/composables/useKeyboardHandler.ts +0 -101
- package/src/sender/composables/useSpeechHandler.ts +0 -122
- package/src/sender/index.less +0 -352
- package/src/sender/index.ts +0 -12
- package/src/sender/index.type.ts +0 -162
- package/src/sender/index.vue +0 -338
- package/src/sender/vars.less +0 -84
- package/src/suggestion/components/CategoryNav.vue +0 -38
- package/src/suggestion/components/SuggestionCapsule.vue +0 -183
- package/src/suggestion/components/SuggestionPanel.vue +0 -147
- package/src/suggestion/composables/useKeyboardNavigation.ts +0 -101
- package/src/suggestion/composables/useSuggestionFilter.ts +0 -34
- package/src/suggestion/composables/useTriggerDetection.ts +0 -46
- package/src/suggestion/index.less +0 -497
- package/src/suggestion/index.ts +0 -12
- package/src/suggestion/index.type.ts +0 -101
- package/src/suggestion/index.vue +0 -338
- package/src/suggestion/utils/dom.ts +0 -66
- package/src/suggestion/vars.less +0 -141
- package/src/vite-env.d.ts +0 -1
- package/src/welcome/index.ts +0 -12
- package/src/welcome/index.type.ts +0 -12
- package/src/welcome/index.vue +0 -69
- package/tsconfig.json +0 -37
- package/tsconfig.node.json +0 -10
- package/vite.config.ts +0 -53
|
@@ -1,198 +0,0 @@
|
|
|
1
|
-
import { defineComponent as f, $setup as i, $prefix as a, $props as d } from "../../../../../@opentiny_vue-common@3.21.0/node_modules/@opentiny/vue-common/lib/index.js";
|
|
2
|
-
import l from "./pc.js";
|
|
3
|
-
function r() {
|
|
4
|
-
return r = Object.assign ? Object.assign.bind() : function(e) {
|
|
5
|
-
for (var t = 1; t < arguments.length; t++) {
|
|
6
|
-
var n = arguments[t];
|
|
7
|
-
for (var o in n) ({}).hasOwnProperty.call(n, o) && (e[o] = n[o]);
|
|
8
|
-
}
|
|
9
|
-
return e;
|
|
10
|
-
}, r.apply(null, arguments);
|
|
11
|
-
}
|
|
12
|
-
var s = function(t) {
|
|
13
|
-
var n, o = typeof process == "object" ? (n = process.env) == null ? void 0 : n.TINY_MODE : null;
|
|
14
|
-
return (o || t) === "pc" ? l : (o || t) === "mobile" ? l : (o || t) === "mobile-first" ? l : l;
|
|
15
|
-
}, p = {
|
|
16
|
-
DIALOG_SLIDER_RIGHT: "dialog-slideRight",
|
|
17
|
-
DIALOG_FADE: "dialog-fade",
|
|
18
|
-
SELECT_DROPDOWN: a + "SelectDropdown",
|
|
19
|
-
DROPDOWN_MENU: a + "DropdownMenu",
|
|
20
|
-
DIALOG_BOX_CLASS: "div.tiny-dialog-box",
|
|
21
|
-
PC_SCROLL_LOCK_CLASS: "dialog-box__scroll-lock",
|
|
22
|
-
MOBILE_SCROLL_LOCK_CLASS: "mobile-dialog-box__scroll-lock",
|
|
23
|
-
DIALOG_BOX_DATA_TAG: "tiny-dialog-box",
|
|
24
|
-
Mode: "pc",
|
|
25
|
-
SCROLL_LOCK_CLASS: function(t) {
|
|
26
|
-
return t === this.Mode ? this.PC_SCROLL_LOCK_CLASS : this.MOBILE_SCROLL_LOCK_CLASS;
|
|
27
|
-
}
|
|
28
|
-
}, c = r({}, d, {
|
|
29
|
-
_constants: {
|
|
30
|
-
type: Object,
|
|
31
|
-
default: function() {
|
|
32
|
-
return p;
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
appendToBody: {
|
|
36
|
-
type: Boolean,
|
|
37
|
-
default: function() {
|
|
38
|
-
return !1;
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
beforeClose: Function,
|
|
42
|
-
center: {
|
|
43
|
-
type: Boolean,
|
|
44
|
-
default: function() {
|
|
45
|
-
return !1;
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
closeOnClickModal: {
|
|
49
|
-
type: Boolean,
|
|
50
|
-
default: function() {
|
|
51
|
-
return !0;
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
closeOnPressEscape: {
|
|
55
|
-
type: Boolean,
|
|
56
|
-
default: function() {
|
|
57
|
-
return !0;
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
destroyOnClose: {
|
|
61
|
-
type: Boolean,
|
|
62
|
-
default: function() {
|
|
63
|
-
return !1;
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
dialogClass: {
|
|
67
|
-
type: String,
|
|
68
|
-
default: function() {
|
|
69
|
-
return "";
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
draggable: {
|
|
73
|
-
type: Boolean,
|
|
74
|
-
default: function() {
|
|
75
|
-
return !1;
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
dragOutsideWindow: {
|
|
79
|
-
type: Boolean,
|
|
80
|
-
default: function() {
|
|
81
|
-
return !1;
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
fullscreen: {
|
|
85
|
-
type: Boolean,
|
|
86
|
-
default: function() {
|
|
87
|
-
return !1;
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
isFormReset: {
|
|
91
|
-
type: Boolean,
|
|
92
|
-
default: function() {
|
|
93
|
-
return !0;
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
lockScroll: {
|
|
97
|
-
type: Boolean,
|
|
98
|
-
default: function() {
|
|
99
|
-
return !0;
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
modal: {
|
|
103
|
-
type: Boolean,
|
|
104
|
-
default: function() {
|
|
105
|
-
return !0;
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
modalAppendToBody: {
|
|
109
|
-
type: Boolean,
|
|
110
|
-
default: function() {
|
|
111
|
-
return !0;
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
resize: {
|
|
115
|
-
type: Boolean,
|
|
116
|
-
default: function() {
|
|
117
|
-
return !1;
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
|
-
rightSlide: {
|
|
121
|
-
type: Boolean,
|
|
122
|
-
default: function() {
|
|
123
|
-
return !1;
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
showClose: {
|
|
127
|
-
type: Boolean,
|
|
128
|
-
default: function() {
|
|
129
|
-
return !0;
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
showHeader: {
|
|
133
|
-
type: Boolean,
|
|
134
|
-
default: function() {
|
|
135
|
-
return !0;
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
|
-
title: {
|
|
139
|
-
type: String,
|
|
140
|
-
default: function() {
|
|
141
|
-
return "";
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
top: String,
|
|
145
|
-
visible: {
|
|
146
|
-
type: Boolean,
|
|
147
|
-
default: function() {
|
|
148
|
-
return !1;
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
width: {
|
|
152
|
-
type: String,
|
|
153
|
-
default: function() {
|
|
154
|
-
return "500px";
|
|
155
|
-
}
|
|
156
|
-
},
|
|
157
|
-
maxHeight: {
|
|
158
|
-
type: String,
|
|
159
|
-
default: function() {
|
|
160
|
-
return "";
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
dialogTransition: {
|
|
164
|
-
type: String,
|
|
165
|
-
default: ""
|
|
166
|
-
},
|
|
167
|
-
noAnimation: {
|
|
168
|
-
type: Boolean,
|
|
169
|
-
default: !1
|
|
170
|
-
},
|
|
171
|
-
customStyle: {
|
|
172
|
-
type: Object,
|
|
173
|
-
default: function() {
|
|
174
|
-
return {};
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
}), u = f({
|
|
178
|
-
name: a + "DialogBox",
|
|
179
|
-
model: {
|
|
180
|
-
prop: "visible",
|
|
181
|
-
event: "update:visible"
|
|
182
|
-
},
|
|
183
|
-
props: c,
|
|
184
|
-
setup: function(t, n) {
|
|
185
|
-
return i({
|
|
186
|
-
props: t,
|
|
187
|
-
context: n,
|
|
188
|
-
template: s
|
|
189
|
-
});
|
|
190
|
-
}
|
|
191
|
-
}), _ = "3.21.0";
|
|
192
|
-
u.install = function(e) {
|
|
193
|
-
e.component(u.name, u);
|
|
194
|
-
};
|
|
195
|
-
u.version = _;
|
|
196
|
-
export {
|
|
197
|
-
u as default
|
|
198
|
-
};
|
|
@@ -1,204 +0,0 @@
|
|
|
1
|
-
import { renderless as A, api as S } from "../../../../../@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/dialog-box/vue.js";
|
|
2
|
-
import { defineComponent as z, setup as $, props as E } from "../../../../../@opentiny_vue-common@3.21.0/node_modules/@opentiny/vue-common/lib/index.js";
|
|
3
|
-
import M from "../../../../../@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/close.js";
|
|
4
|
-
import F from "../../../../../@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/fullscreen.js";
|
|
5
|
-
import I from "../../../../../@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/minscreen.js";
|
|
6
|
-
/* empty css */
|
|
7
|
-
import { resolveComponent as g, createBlock as O, openBlock as t, Transition as b, withCtx as c, withDirectives as C, createElementVNode as l, withModifiers as T, normalizeClass as h, createVNode as d, createCommentVNode as i, createElementBlock as a, normalizeStyle as D, renderSlot as m, toDisplayString as B, vShow as k } from "vue";
|
|
8
|
-
function L(e, o) {
|
|
9
|
-
var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
10
|
-
if (n) return (n = n.call(e)).next.bind(n);
|
|
11
|
-
if (Array.isArray(e) || (n = H(e)) || o) {
|
|
12
|
-
n && (e = n);
|
|
13
|
-
var r = 0;
|
|
14
|
-
return function() {
|
|
15
|
-
return r >= e.length ? { done: !0 } : { done: !1, value: e[r++] };
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
19
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
20
|
-
}
|
|
21
|
-
function H(e, o) {
|
|
22
|
-
if (e) {
|
|
23
|
-
if (typeof e == "string") return w(e, o);
|
|
24
|
-
var n = {}.toString.call(e).slice(8, -1);
|
|
25
|
-
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? w(e, o) : void 0;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
function w(e, o) {
|
|
29
|
-
(o == null || o > e.length) && (o = e.length);
|
|
30
|
-
for (var n = 0, r = Array(o); n < o; n++) r[n] = e[n];
|
|
31
|
-
return r;
|
|
32
|
-
}
|
|
33
|
-
var N = function(o, n) {
|
|
34
|
-
for (var r = o.__vccOpts || o, y = L(n), u; !(u = y()).done; ) {
|
|
35
|
-
var s = u.value, p = s[0], f = s[1];
|
|
36
|
-
r[p] = f;
|
|
37
|
-
}
|
|
38
|
-
return r;
|
|
39
|
-
}, R = z({
|
|
40
|
-
components: {
|
|
41
|
-
IconClose: M(),
|
|
42
|
-
IconFullscreen: F(),
|
|
43
|
-
IconMinscreen: I()
|
|
44
|
-
},
|
|
45
|
-
emits: [
|
|
46
|
-
"update:visible",
|
|
47
|
-
"change",
|
|
48
|
-
"before-close",
|
|
49
|
-
"open",
|
|
50
|
-
"close",
|
|
51
|
-
"opened",
|
|
52
|
-
"confirm",
|
|
53
|
-
"cancel",
|
|
54
|
-
"closed",
|
|
55
|
-
"drag-start",
|
|
56
|
-
"drag-move",
|
|
57
|
-
"drag-end",
|
|
58
|
-
// tiny 新增
|
|
59
|
-
"resize"
|
|
60
|
-
],
|
|
61
|
-
props: [].concat(E, ["resize", "isFormReset", "visible", "title", "modal", "modalAppendToBody", "appendToBody", "lockScroll", "closeOnClickModal", "closeOnPressEscape", "showClose", "width", "fullscreen", "top", "center", "draggable", "dragOutsideWindow", "showHeader", "rightSlide", "destroyOnClose", "dialogClass", "beforeClose", "maxHeight", "dialogTransition", "customStyle", "noAnimation"]),
|
|
62
|
-
model: {
|
|
63
|
-
prop: "visible",
|
|
64
|
-
event: "update:visible"
|
|
65
|
-
},
|
|
66
|
-
provide: function() {
|
|
67
|
-
return {
|
|
68
|
-
dialog: this
|
|
69
|
-
};
|
|
70
|
-
},
|
|
71
|
-
setup: function(o, n) {
|
|
72
|
-
return $({
|
|
73
|
-
props: o,
|
|
74
|
-
context: n,
|
|
75
|
-
renderless: A,
|
|
76
|
-
api: S
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
}), U = ["data-dialog-box-draggable"], V = {
|
|
80
|
-
class: "tiny-dialog-box__title"
|
|
81
|
-
}, W = {
|
|
82
|
-
class: "tiny-dialog-box__btn-tools"
|
|
83
|
-
}, j = {
|
|
84
|
-
class: "tiny-dialog-box__body"
|
|
85
|
-
}, P = {
|
|
86
|
-
key: 1,
|
|
87
|
-
ref: "footer",
|
|
88
|
-
class: "tiny-dialog-box__footer"
|
|
89
|
-
};
|
|
90
|
-
function _(e, o, n, r, y, u) {
|
|
91
|
-
var s = g("icon-fullscreen"), p = g("icon-minscreen"), f = g("icon-close");
|
|
92
|
-
return t(), O(b, {
|
|
93
|
-
duration: e.noAnimation ? 0 : void 0,
|
|
94
|
-
name: e.state.animationName,
|
|
95
|
-
onAfterEnter: e.afterEnter,
|
|
96
|
-
onAfterLeave: e.afterLeave,
|
|
97
|
-
persisted: ""
|
|
98
|
-
}, {
|
|
99
|
-
default: c(function() {
|
|
100
|
-
return [C(l(
|
|
101
|
-
"div",
|
|
102
|
-
{
|
|
103
|
-
class: h(["tiny-dialog-box__wrapper", e.dialogClass]),
|
|
104
|
-
onClick: o[4] || (o[4] = T(function() {
|
|
105
|
-
return e.handleWrapperClick && e.handleWrapperClick.apply(e, arguments);
|
|
106
|
-
}, ["self"])),
|
|
107
|
-
onMouseup: o[5] || (o[5] = function() {
|
|
108
|
-
return e.useMouseEventUp && e.useMouseEventUp.apply(e, arguments);
|
|
109
|
-
}),
|
|
110
|
-
onMousedown: o[6] || (o[6] = function() {
|
|
111
|
-
return e.useMouseEventDown && e.useMouseEventDown.apply(e, arguments);
|
|
112
|
-
})
|
|
113
|
-
},
|
|
114
|
-
[d(b, {
|
|
115
|
-
name: e.dialogTransition
|
|
116
|
-
}, {
|
|
117
|
-
default: c(function() {
|
|
118
|
-
return [!e.destroyOnClose || e.visible ? C((t(), a("div", {
|
|
119
|
-
ref: "dialog",
|
|
120
|
-
class: h([[{
|
|
121
|
-
"is-fullscreen": e.state.isFull,
|
|
122
|
-
"is-center": e.center,
|
|
123
|
-
"is-right-slide": e.rightSlide
|
|
124
|
-
}], "tiny-dialog-box"]),
|
|
125
|
-
style: D(e.state.style),
|
|
126
|
-
"data-tag": "tiny-dialog-box",
|
|
127
|
-
"data-dialog-box-draggable": e.draggable,
|
|
128
|
-
key: e.state.key
|
|
129
|
-
}, [e.showHeader ? (t(), a(
|
|
130
|
-
"div",
|
|
131
|
-
{
|
|
132
|
-
key: 0,
|
|
133
|
-
ref: "header",
|
|
134
|
-
class: "tiny-dialog-box__header",
|
|
135
|
-
onMousedown: o[3] || (o[3] = function() {
|
|
136
|
-
return e.handleDrag && e.handleDrag.apply(e, arguments);
|
|
137
|
-
})
|
|
138
|
-
},
|
|
139
|
-
[m(e.$slots, "title", {}, function() {
|
|
140
|
-
return [l(
|
|
141
|
-
"span",
|
|
142
|
-
V,
|
|
143
|
-
B(e.title),
|
|
144
|
-
1
|
|
145
|
-
/* TEXT */
|
|
146
|
-
)];
|
|
147
|
-
}), l("div", W, [e.resize && !e.state.isFull ? (t(), a("button", {
|
|
148
|
-
key: 0,
|
|
149
|
-
type: "button",
|
|
150
|
-
class: "tiny-dialog-box__headerbtn",
|
|
151
|
-
"aria-label": "Resize",
|
|
152
|
-
onClick: o[0] || (o[0] = function(v) {
|
|
153
|
-
return e.toggleFullScreen(!0);
|
|
154
|
-
})
|
|
155
|
-
}, [d(s, {
|
|
156
|
-
class: "tiny-svg-size tiny-dialog-box__resize"
|
|
157
|
-
})])) : i("v-if", !0), e.resize && e.state.isFull ? (t(), a("button", {
|
|
158
|
-
key: 1,
|
|
159
|
-
type: "button",
|
|
160
|
-
class: "tiny-dialog-box__headerbtn",
|
|
161
|
-
"aria-label": "Resize",
|
|
162
|
-
onClick: o[1] || (o[1] = function(v) {
|
|
163
|
-
return e.toggleFullScreen(!1);
|
|
164
|
-
})
|
|
165
|
-
}, [d(p, {
|
|
166
|
-
class: "tiny-svg-size tiny-dialog-box__resize"
|
|
167
|
-
})])) : i("v-if", !0), e.showClose ? (t(), a("button", {
|
|
168
|
-
key: 2,
|
|
169
|
-
type: "button",
|
|
170
|
-
class: "tiny-dialog-box__headerbtn",
|
|
171
|
-
"aria-label": "Close",
|
|
172
|
-
onClick: o[2] || (o[2] = function(v) {
|
|
173
|
-
return e.handleClose("close", v);
|
|
174
|
-
})
|
|
175
|
-
}, [d(f, {
|
|
176
|
-
class: "tiny-svg-size tiny-dialog-box__close"
|
|
177
|
-
})])) : i("v-if", !0)])],
|
|
178
|
-
544
|
|
179
|
-
/* NEED_HYDRATION, NEED_PATCH */
|
|
180
|
-
)) : i("v-if", !0), l("div", j, [m(e.$slots, "default")]), e.slots.footer ? (t(), a(
|
|
181
|
-
"div",
|
|
182
|
-
P,
|
|
183
|
-
[m(e.$slots, "footer", {
|
|
184
|
-
beforeClose: e.beforeClose
|
|
185
|
-
})],
|
|
186
|
-
512
|
|
187
|
-
/* NEED_PATCH */
|
|
188
|
-
)) : i("v-if", !0)], 14, U)), [[k, e.visible]]) : i("v-if", !0)];
|
|
189
|
-
}),
|
|
190
|
-
_: 3
|
|
191
|
-
/* FORWARDED */
|
|
192
|
-
}, 8, ["name"])],
|
|
193
|
-
34
|
|
194
|
-
/* CLASS, NEED_HYDRATION */
|
|
195
|
-
), [[k, e.visible]])];
|
|
196
|
-
}),
|
|
197
|
-
_: 3
|
|
198
|
-
/* FORWARDED */
|
|
199
|
-
}, 8, ["duration", "name", "onAfterEnter", "onAfterLeave"]);
|
|
200
|
-
}
|
|
201
|
-
var Z = /* @__PURE__ */ N(R, [["render", _]]);
|
|
202
|
-
export {
|
|
203
|
-
Z as default
|
|
204
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import "../../../../../../@opentiny_utils@3.22.0/node_modules/@opentiny/utils/dist/index.es.js";
|
|
2
|
-
const i = ({ onMounted: n, onActivated: o, nextTick: c }) => (t) => {
|
|
3
|
-
let e;
|
|
4
|
-
n(() => {
|
|
5
|
-
t(), c(() => e = !0);
|
|
6
|
-
}), o(() => e && t());
|
|
7
|
-
};
|
|
8
|
-
export {
|
|
9
|
-
i as onMountedOrActivated
|
|
10
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
const c = ({ getCurrentInstance: n, isVue2: t, nextTick: o, onUnmounted: s }) => () => {
|
|
2
|
-
const e = n().proxy;
|
|
3
|
-
t || Object.defineProperty(e, "$scopedSlots", { configurable: !0, value: null }), Object.defineProperty(e, "instanceSlots", {
|
|
4
|
-
configurable: !0,
|
|
5
|
-
get: () => e.$scopedSlots || e.$slots
|
|
6
|
-
}), s(() => {
|
|
7
|
-
o(() => {
|
|
8
|
-
t || delete e.$scopedSlots, delete e.instanceSlots;
|
|
9
|
-
});
|
|
10
|
-
});
|
|
11
|
-
};
|
|
12
|
-
export {
|
|
13
|
-
c as useInstanceSlots
|
|
14
|
-
};
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { noop as A } from "../../../../../../@opentiny_utils@3.22.0/node_modules/@opentiny/utils/dist/index.es.js";
|
|
2
|
-
import { onMountedOrActivated as P } from "./useEventListener.js";
|
|
3
|
-
const D = ({
|
|
4
|
-
computed: d,
|
|
5
|
-
getCurrentInstance: i,
|
|
6
|
-
inject: r,
|
|
7
|
-
markRaw: u,
|
|
8
|
-
nextTick: h,
|
|
9
|
-
onMounted: I,
|
|
10
|
-
onActivated: w,
|
|
11
|
-
onUnmounted: y,
|
|
12
|
-
provide: C,
|
|
13
|
-
reactive: K,
|
|
14
|
-
toRef: O
|
|
15
|
-
}) => ({ relationKey: p, relationContainer: x, onChange: k, childrenKey: o, delivery: f } = {}) => {
|
|
16
|
-
if (!p)
|
|
17
|
-
throw new Error("[TINY Error]<relationKey> must exist.");
|
|
18
|
-
const a = i(), n = K({ children: [], indexInParent: -1 }), m = r(p, null);
|
|
19
|
-
let c = [];
|
|
20
|
-
if (m) {
|
|
21
|
-
const { link: t, unlink: e, callbacks: l, childrenKey: s, delivery: v } = m;
|
|
22
|
-
c = l, o = o || s || "instanceChildren", f = v, n.indexInParent = t(a), y(() => e(a));
|
|
23
|
-
} else {
|
|
24
|
-
o = o || "instanceChildren";
|
|
25
|
-
const t = P({ onMounted: I, onActivated: w, nextTick: h }), e = k ? () => h(k) : A;
|
|
26
|
-
let l;
|
|
27
|
-
h(() => {
|
|
28
|
-
const s = typeof x == "function" ? x() : x;
|
|
29
|
-
s && (l = new MutationObserver((v, M) => {
|
|
30
|
-
const b = [];
|
|
31
|
-
g(s.childNodes, b), c.forEach((j) => j(b, v, M)), e();
|
|
32
|
-
}), l.observe(s, { attributes: !0, childList: !0, subtree: !0 }));
|
|
33
|
-
}), t(() => e()), y(() => {
|
|
34
|
-
l && (l.disconnect(), l = null), c = null;
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
const N = (t) => {
|
|
38
|
-
const e = t.proxy;
|
|
39
|
-
return n.children.push(u(e)), d(() => n.children.indexOf(e));
|
|
40
|
-
}, E = (t) => {
|
|
41
|
-
const e = n.children.indexOf(t.proxy);
|
|
42
|
-
e > -1 && n.children.splice(e, 1);
|
|
43
|
-
};
|
|
44
|
-
return c.push((t) => R(n.children, t)), C(p, { link: N, unlink: E, callbacks: c, childrenKey: o, delivery: f }), Object.defineProperty(a.proxy, o, { configurable: !0, get: () => n.children }), y(() => delete a.proxy[o]), { children: O(n, "children"), index: O(n, "indexInParent"), delivery: f };
|
|
45
|
-
}, g = (d, i) => {
|
|
46
|
-
d.length && d.forEach((r) => {
|
|
47
|
-
i.push(r), r.childNodes && g(r.childNodes, i);
|
|
48
|
-
});
|
|
49
|
-
}, R = (d, i) => {
|
|
50
|
-
d.sort((r, u) => i.indexOf(r.$el) - i.indexOf(u.$el));
|
|
51
|
-
};
|
|
52
|
-
export {
|
|
53
|
-
D as useRelation
|
|
54
|
-
};
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { off as A, PopupManager as B, isDisplayNone as x, isServer as $, PopperJS as N, on as I } from "../../../../../../@opentiny_utils@3.22.0/node_modules/@opentiny/utils/dist/index.es.js";
|
|
2
|
-
const v = (n) => n.stopPropagation(), P = ({ state: n, props: a, vm: t, slots: l }) => {
|
|
3
|
-
let s = n.referenceElm || a.reference || t.$refs.reference && t.$refs.reference.$el || t.$refs.reference;
|
|
4
|
-
return !s && l.reference && l.reference()[0] && (n.referenceElm = l.reference()[0].elm || l.reference()[0].el, s = n.referenceElm), s;
|
|
5
|
-
}, O = (n) => {
|
|
6
|
-
if (!n || !n.nodeType) return;
|
|
7
|
-
let a = (s) => parseInt(window.getComputedStyle(s).zIndex, 10) || 0, t = a(n), l;
|
|
8
|
-
do {
|
|
9
|
-
if (n = n.parentNode, n && n instanceof ShadowRoot && n.host && (n = n.host), n)
|
|
10
|
-
l = a(n);
|
|
11
|
-
else
|
|
12
|
-
break;
|
|
13
|
-
t = l > t ? l : t;
|
|
14
|
-
} while (n !== document.body);
|
|
15
|
-
return t + 1 + "";
|
|
16
|
-
}, R = (n) => {
|
|
17
|
-
const {
|
|
18
|
-
parent: a,
|
|
19
|
-
emit: t,
|
|
20
|
-
nextTick: l,
|
|
21
|
-
onBeforeUnmount: s,
|
|
22
|
-
onDeactivated: J,
|
|
23
|
-
props: p,
|
|
24
|
-
watch: y,
|
|
25
|
-
reactive: h,
|
|
26
|
-
vm: m,
|
|
27
|
-
slots: E,
|
|
28
|
-
toRefs: T,
|
|
29
|
-
popperVmRef: _
|
|
30
|
-
} = n, e = h({
|
|
31
|
-
popperJS: null,
|
|
32
|
-
appended: !1,
|
|
33
|
-
// arrow 是否添加
|
|
34
|
-
popperElm: null,
|
|
35
|
-
showPopper: p.manual ? !!p.modelValue : !1,
|
|
36
|
-
referenceElm: null,
|
|
37
|
-
currentPlacement: ""
|
|
38
|
-
}), b = (r) => {
|
|
39
|
-
if (e.appended)
|
|
40
|
-
return;
|
|
41
|
-
e.appended = !0;
|
|
42
|
-
const o = document.createElement("div");
|
|
43
|
-
o.setAttribute("x-arrow", ""), o.className = "popper__arrow", r.appendChild(o);
|
|
44
|
-
}, w = (r) => {
|
|
45
|
-
const { followReferenceHide: o = !0 } = (p == null ? void 0 : p.popperOptions) || {}, { _popper: d, _reference: c } = r;
|
|
46
|
-
o && x(c) && (d.style.display = "none");
|
|
47
|
-
}, S = (r) => p.zIndex === "relative" ? O(r) : B.nextZIndex(), g = (r) => {
|
|
48
|
-
if ($ || (e.currentPlacement = e.currentPlacement || p.placement, !/^(top|bottom|left|right)(-start|-end)?$/g.test(e.currentPlacement)))
|
|
49
|
-
return;
|
|
50
|
-
const o = p.popperOptions || { gpuAcceleration: !1 };
|
|
51
|
-
e.popperElm = e.popperElm || p.popper || m.$refs.popper || _.popper || r;
|
|
52
|
-
const d = e.popperElm;
|
|
53
|
-
let c = P({ state: e, props: p, vm: m, slots: E });
|
|
54
|
-
!d || !c || c.nodeType !== Node.ELEMENT_NODE || (p.visibleArrow && b(d), p.appendToBody || p.popperAppendToBody ? document.body.appendChild(e.popperElm) : (a && a.$el && a.$el.appendChild(e.popperElm), o.forceAbsolute = !0), o.placement = e.currentPlacement, o.offset = p.offset || 0, o.arrowOffset = p.arrowOffset || 0, o.adjustArrow = p.adjustArrow || !1, o.appendToBody = p.appendToBody || p.popperAppendToBody, e.popperJS = new N(c, d, o), t("created", e), typeof o.onUpdate == "function" && e.popperJS.onUpdate(o.onUpdate), e.popperJS._popper.style.zIndex = S(e.popperJS._reference), w(e.popperJS), I(e.popperElm, "click", v));
|
|
55
|
-
}, u = (r) => {
|
|
56
|
-
r && r !== !0 && (e.popperElm = r);
|
|
57
|
-
const o = e.popperJS;
|
|
58
|
-
o ? (o._reference = P({ state: e, props: p, vm: m, slots: E }), o.update(), o._popper && r !== !0 && (o._popper.style.zIndex = S(o._reference), w(e.popperJS))) : g(r && r !== !0 ? r : void 0);
|
|
59
|
-
}, f = (r) => {
|
|
60
|
-
!e.popperJS || e.showPopper && !r || (e.popperJS.destroy(), e.popperJS = null);
|
|
61
|
-
}, i = (r) => {
|
|
62
|
-
r && e.popperElm && e.popperElm.parentNode === document.body && (A(e.popperElm, "click", v), e.popperElm.remove());
|
|
63
|
-
};
|
|
64
|
-
return y(
|
|
65
|
-
() => e.showPopper,
|
|
66
|
-
(r) => {
|
|
67
|
-
p.disabled || (r && l(u), p.trigger === "manual" && t("update:modelValue", r));
|
|
68
|
-
}
|
|
69
|
-
), y(
|
|
70
|
-
() => p.placement,
|
|
71
|
-
(r) => {
|
|
72
|
-
var o;
|
|
73
|
-
e.currentPlacement = r, (o = e.popperJS) == null || o.setOptions({ placement: r }), !p.disabled && (r && l(u), p.trigger === "manual" && t("update:modelValue", r));
|
|
74
|
-
}
|
|
75
|
-
), s(() => {
|
|
76
|
-
l(() => {
|
|
77
|
-
f(!0), (p.appendToBody || p.popperAppendToBody) && i("remove");
|
|
78
|
-
});
|
|
79
|
-
}), J(() => {
|
|
80
|
-
f(!0), (p.appendToBody || p.popperAppendToBody) && i("remove");
|
|
81
|
-
}), { updatePopper: u, destroyPopper: i, doDestroy: f, ...T(e) };
|
|
82
|
-
};
|
|
83
|
-
export {
|
|
84
|
-
R as userPopper
|
|
85
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { svg as o } from "../../../../../@opentiny_vue-common@3.21.0/node_modules/@opentiny/vue-common/lib/index.js";
|
|
2
|
-
import { createElementBlock as t, openBlock as n, createElementVNode as r } from "vue";
|
|
3
|
-
var c = {
|
|
4
|
-
viewBox: "0 0 16 16",
|
|
5
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
6
|
-
}, a = /* @__PURE__ */ r(
|
|
7
|
-
"path",
|
|
8
|
-
{
|
|
9
|
-
d: "M12.49 3.3a.5.5 0 0 1 .05.62L8.58 7.89l3.91 3.88c.21.19.23.48.05.71-.17.19-.49.24-.71.06L7.88 8.58 4 12.49c-.18.17-.5.18-.68.01a.496.496 0 0 1-.08-.67l3.93-3.94L3.29 4a.524.524 0 0 1 .04-.71c.17-.14.42-.16.58-.05l3.97 3.93 3.9-3.87c.18-.22.51-.22.71 0Z",
|
|
10
|
-
"fill-rule": "evenodd"
|
|
11
|
-
},
|
|
12
|
-
null,
|
|
13
|
-
-1
|
|
14
|
-
/* HOISTED */
|
|
15
|
-
), l = [a];
|
|
16
|
-
function d(e, s) {
|
|
17
|
-
return n(), t("svg", c, [].concat(l));
|
|
18
|
-
}
|
|
19
|
-
var i = {
|
|
20
|
-
render: d
|
|
21
|
-
}, _ = function() {
|
|
22
|
-
return o({
|
|
23
|
-
name: "IconClose",
|
|
24
|
-
component: i
|
|
25
|
-
})();
|
|
26
|
-
};
|
|
27
|
-
export {
|
|
28
|
-
_ as default
|
|
29
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { svg as l } from "../../../../../@opentiny_vue-common@3.21.0/node_modules/@opentiny/vue-common/lib/index.js";
|
|
2
|
-
import { createElementBlock as n, openBlock as o, createElementVNode as c } from "vue";
|
|
3
|
-
var t = {
|
|
4
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
-
viewBox: "0 0 16 16",
|
|
6
|
-
style: {
|
|
7
|
-
"enable-background": "new 0 0 16 16"
|
|
8
|
-
},
|
|
9
|
-
"xml:space": "preserve"
|
|
10
|
-
}, r = /* @__PURE__ */ c(
|
|
11
|
-
"rect",
|
|
12
|
-
{
|
|
13
|
-
style: {
|
|
14
|
-
fill: "none"
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
null,
|
|
18
|
-
-1
|
|
19
|
-
/* HOISTED */
|
|
20
|
-
), a = /* @__PURE__ */ c(
|
|
21
|
-
"path",
|
|
22
|
-
{
|
|
23
|
-
d: "m3.49 5.21.72.72-.23.18c-.16.13-.3.27-.46.4l-.25.23c-.39.39-.75.79-1.05 1.2L2.16 8l-.05.06-.17.24.28.38.19.24c.33.4.7.8 1.1 1.19l.18.16c1.32 1.18 2.78 1.87 4.32 1.87h.23c.61-.02 1.21-.17 1.78-.4l.76.76-.22.1c-.81.35-1.67.55-2.56.55h-.22c-1.81-.06-3.47-.92-4.95-2.29l-.27-.25c-.42-.42-.81-.86-1.15-1.3l-.04-.09-.05-.06-.17-.24-.14-.19-.1-.16-.04-.07a.5.5 0 0 1 0-.38l.04-.08.1-.16.13-.19.17-.24.1-.13.21-.27c.35-.44.76-.87 1.2-1.28.22-.19.44-.39.67-.56zm.27-2.35h.07c.1.01.19.06.28.15l1.12 1.12c.88-.42 1.8-.65 2.77-.65h.23c1.81.06 3.47.92 4.95 2.29l.27.25c.42.42.81.86 1.15 1.3l.05.07.05.06.17.24.13.19.1.16.04.07c.05.12.05.25.01.38l-.05.09-.1.16-.13.19-.17.25-.1.13-.2.27c-.35.44-.76.87-1.2 1.28l-.24.22c-.13.12-.28.24-.42.35l.79.79.05.06c.15.19.13.47-.05.65l-.06.05c-.19.15-.47.13-.65-.05l-.94-.93-.73-.73-1.33-1.33-.21-.22-6-6.01-.05-.06c-.15-.2-.14-.47.05-.66a.52.52 0 0 1 .35-.13zM5.3 7.02l.78.78-.03.12c-.03.13-.04.25-.04.38v.12c.05 1.06.92 1.88 1.99 1.88h.13c.13-.01.25-.04.39-.06l.78.78-.15.06c-.35.15-.74.23-1.14.23h-.14a2.993 2.993 0 0 1-2.86-2.99c-.02-.48.09-.91.29-1.3zM8 4.47h-.22c-.62.03-1.21.16-1.79.4l.73.73c.39-.18.82-.29 1.3-.29h.15c1.59.07 2.86 1.38 2.86 2.99v.17c-.02.4-.12.79-.29 1.13l1.09 1.09c.23-.18.46-.38.69-.59l.24-.23c.39-.39.75-.79 1.05-1.2l.05-.06.05-.06.18-.25-.28-.38-.19-.24c-.33-.4-.7-.8-1.1-1.19l-.18-.16C10.98 5.16 9.54 4.47 8 4.47zM8 6.3h-.13c-.14.02-.26.03-.38.06l2.45 2.45c.05-.17.07-.34.07-.52v-.12A2.02 2.02 0 0 0 8 6.3z"
|
|
24
|
-
},
|
|
25
|
-
null,
|
|
26
|
-
-1
|
|
27
|
-
/* HOISTED */
|
|
28
|
-
), h = [r, a];
|
|
29
|
-
function s(e, i) {
|
|
30
|
-
return o(), n("svg", t, [].concat(h));
|
|
31
|
-
}
|
|
32
|
-
var v = {
|
|
33
|
-
render: s
|
|
34
|
-
}, _ = function() {
|
|
35
|
-
return l({
|
|
36
|
-
name: "IconEyeclose",
|
|
37
|
-
component: v
|
|
38
|
-
})();
|
|
39
|
-
};
|
|
40
|
-
export {
|
|
41
|
-
_ as default
|
|
42
|
-
};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { svg as c } from "../../../../../@opentiny_vue-common@3.21.0/node_modules/@opentiny/vue-common/lib/index.js";
|
|
2
|
-
import { createElementBlock as o, openBlock as t, createElementVNode as e } from "vue";
|
|
3
|
-
var r = {
|
|
4
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
-
viewBox: "0 0 16 16",
|
|
6
|
-
style: {
|
|
7
|
-
"enable-background": "new 0 0 16 16"
|
|
8
|
-
},
|
|
9
|
-
"xml:space": "preserve"
|
|
10
|
-
}, l = /* @__PURE__ */ e(
|
|
11
|
-
"rect",
|
|
12
|
-
{
|
|
13
|
-
style: {
|
|
14
|
-
fill: "none"
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
null,
|
|
18
|
-
-1
|
|
19
|
-
/* HOISTED */
|
|
20
|
-
), a = /* @__PURE__ */ e(
|
|
21
|
-
"path",
|
|
22
|
-
{
|
|
23
|
-
class: "eyeopen_svg__st1",
|
|
24
|
-
d: "M8 3.16c1.89 0 3.63.87 5.17 2.3.53.5 1 1.02 1.41 1.55.03.05.07.09.1.14l.17.23.14.2.1.15c.1.16.1.37 0 .53l-.1.15-.14.2-.17.23-.1.14c-.41.52-.88 1.05-1.41 1.55-1.54 1.43-3.28 2.3-5.17 2.3-1.9 0-3.64-.87-5.18-2.3-.53-.5-1-1.03-1.41-1.55-.03-.05-.07-.09-.1-.14l-.17-.23-.14-.2-.1-.15c-.1-.16-.1-.37 0-.53l.1-.15.14-.2.17-.23.1-.14c.41-.53.88-1.05 1.41-1.55C4.36 4.03 6.1 3.16 8 3.16zm0 1c-1.61 0-3.12.76-4.5 2.03-.49.46-.92.95-1.3 1.43l-.09.12-.18.25.27.38c.38.48.81.97 1.3 1.42 1.38 1.28 2.89 2.04 4.5 2.04 1.6 0 3.11-.76 4.49-2.04.49-.45.92-.94 1.3-1.42l.09-.12.18-.26-.27-.37c-.38-.48-.81-.97-1.3-1.43C11.11 4.92 9.6 4.16 8 4.16zM8 5c1.65 0 3 1.34 3 3 0 1.65-1.35 3-3 3-1.66 0-3-1.35-3-3 0-1.66 1.34-3 3-3zm0 1c-1.11 0-2 .89-2 2a2 2 0 1 0 2-2z"
|
|
25
|
-
},
|
|
26
|
-
null,
|
|
27
|
-
-1
|
|
28
|
-
/* HOISTED */
|
|
29
|
-
), s = [l, a];
|
|
30
|
-
function _(n, m) {
|
|
31
|
-
return t(), o("svg", r, [].concat(s));
|
|
32
|
-
}
|
|
33
|
-
var i = {
|
|
34
|
-
render: _
|
|
35
|
-
}, d = function() {
|
|
36
|
-
return c({
|
|
37
|
-
name: "IconEyeopen",
|
|
38
|
-
component: i
|
|
39
|
-
})();
|
|
40
|
-
};
|
|
41
|
-
export {
|
|
42
|
-
d as default
|
|
43
|
-
};
|