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