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