@opentiny/tiny-robot 0.1.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (260) hide show
  1. package/.vscode/extensions.json +3 -0
  2. package/README.md +1 -0
  3. package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
  4. package/dist/bubble-item/components/actions/copy.vue.d.ts +10 -0
  5. package/dist/bubble-item/components/actions/index.d.ts +2 -0
  6. package/dist/bubble-item/components/actions/refresh.vue.d.ts +2 -0
  7. package/dist/bubble-item/components/icons/ai.vue.d.ts +2 -0
  8. package/dist/bubble-item/components/icons/index.d.ts +2 -0
  9. package/dist/bubble-item/components/icons/user.vue.d.ts +2 -0
  10. package/dist/bubble-item/index.d.ts +7 -0
  11. package/dist/bubble-list/bubble-list.vue.d.ts +5 -0
  12. package/dist/bubble-list/index.d.ts +8 -0
  13. package/dist/bubble-list/index.type.d.ts +55 -0
  14. package/dist/conversations/index.d.ts +7 -0
  15. package/dist/conversations/index.vue.d.ts +2 -0
  16. package/dist/index.d.ts +12 -0
  17. package/dist/index.js +29 -0
  18. package/dist/node_modules/.pnpm/@opentiny_utils@3.22.0/node_modules/@opentiny/utils/dist/index.es.js +2202 -0
  19. package/dist/node_modules/.pnpm/@opentiny_vue-button@3.22.0/node_modules/@opentiny/vue-button/lib/index.js +113 -0
  20. package/dist/node_modules/.pnpm/@opentiny_vue-button@3.22.0/node_modules/@opentiny/vue-button/lib/pc.js +93 -0
  21. package/dist/node_modules/.pnpm/@opentiny_vue-common@3.22.0/node_modules/@opentiny/vue-common/lib/index.js +725 -0
  22. package/dist/node_modules/.pnpm/@opentiny_vue-dialog-box@3.22.0/node_modules/@opentiny/vue-dialog-box/lib/index.js +198 -0
  23. package/dist/node_modules/.pnpm/@opentiny_vue-dialog-box@3.22.0/node_modules/@opentiny/vue-dialog-box/lib/pc.js +204 -0
  24. package/dist/node_modules/.pnpm/@opentiny_vue-directive@3.22.0/node_modules/@opentiny/vue-directive/index.js +57 -0
  25. package/dist/node_modules/.pnpm/@opentiny_vue-hooks@3.22.0/node_modules/@opentiny/vue-hooks/dist/src/useEventListener.js +10 -0
  26. package/dist/node_modules/.pnpm/@opentiny_vue-hooks@3.22.0/node_modules/@opentiny/vue-hooks/dist/src/useInstanceSlots.js +14 -0
  27. package/dist/node_modules/.pnpm/@opentiny_vue-hooks@3.22.0/node_modules/@opentiny/vue-hooks/dist/src/useRelation.js +54 -0
  28. package/dist/node_modules/.pnpm/@opentiny_vue-hooks@3.22.0/node_modules/@opentiny/vue-hooks/dist/src/vue-popper.js +85 -0
  29. package/dist/node_modules/.pnpm/@opentiny_vue-hooks@3.22.0/node_modules/@opentiny/vue-hooks/dist/src/vue-popup.js +69 -0
  30. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/close.js +29 -0
  31. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/eyeclose.js +42 -0
  32. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/eyeopen.js +43 -0
  33. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/finish.js +34 -0
  34. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/fullscreen.js +30 -0
  35. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/loading-shadow.js +78 -0
  36. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/minscreen.js +30 -0
  37. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-add-column-after.js +24 -0
  38. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-add-column-before.js +24 -0
  39. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-add-row-after.js +24 -0
  40. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-add-row-before.js +24 -0
  41. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-align-center.js +24 -0
  42. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-align-left.js +24 -0
  43. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-align-right.js +24 -0
  44. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-bold.js +24 -0
  45. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-code-block.js +24 -0
  46. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-code-view.js +24 -0
  47. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-color.js +24 -0
  48. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-delete-column.js +24 -0
  49. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-delete-row.js +24 -0
  50. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-delete-table.js +24 -0
  51. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-font-size.js +24 -0
  52. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-format-clear.js +24 -0
  53. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-h1.js +24 -0
  54. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-h2.js +24 -0
  55. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-h3.js +24 -0
  56. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-h4.js +24 -0
  57. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-h5.js +24 -0
  58. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-h6.js +24 -0
  59. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-heading.js +24 -0
  60. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-high-light.js +24 -0
  61. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-image.js +24 -0
  62. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-italic.js +24 -0
  63. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-line-height.js +24 -0
  64. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-link-unlink.js +24 -0
  65. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-link.js +24 -0
  66. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-list-ordered.js +24 -0
  67. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-list-unordered.js +24 -0
  68. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-merge-cells-vertical.js +24 -0
  69. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-merge-cells.js +24 -0
  70. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-node-delete.js +24 -0
  71. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-paragraph.js +24 -0
  72. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-quote-text.js +24 -0
  73. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-redo.js +24 -0
  74. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-split-cells-horizontal.js +24 -0
  75. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-split-cells-vertical.js +24 -0
  76. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-strike-through.js +24 -0
  77. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-subscript.js +24 -0
  78. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-superscript.js +24 -0
  79. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-table.js +24 -0
  80. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-task-list.js +24 -0
  81. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-underline.js +24 -0
  82. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/rich-text-undo.js +24 -0
  83. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/sub-script.js +29 -0
  84. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/warn.js +26 -0
  85. package/dist/node_modules/.pnpm/@opentiny_vue-input@3.22.0/node_modules/@opentiny/vue-input/lib/index.js +196 -0
  86. package/dist/node_modules/.pnpm/@opentiny_vue-input@3.22.0/node_modules/@opentiny/vue-input/lib/pc.js +568 -0
  87. package/dist/node_modules/.pnpm/@opentiny_vue-locale@3.22.0/node_modules/@opentiny/vue-locale/lib/index.js +1783 -0
  88. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/button/index.js +13 -0
  89. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/button/vue.js +34 -0
  90. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/chunk-G2ADBYYC.js +12 -0
  91. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/dialog-box/index.js +135 -0
  92. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/dialog-box/vue.js +149 -0
  93. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/input/index.js +228 -0
  94. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/input/vue.js +263 -0
  95. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/tall-storage/index.js +63 -0
  96. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/tall-storage/vue-storage-box.js +16 -0
  97. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/tall-storage/vue.js +23 -0
  98. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/tooltip/index.js +77 -0
  99. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/tooltip/vue.js +90 -0
  100. package/dist/node_modules/.pnpm/@opentiny_vue-tooltip@3.22.0/node_modules/@opentiny/vue-tooltip/lib/index.js +176 -0
  101. package/dist/node_modules/.pnpm/@opentiny_vue-tooltip@3.22.0/node_modules/@opentiny/vue-tooltip/lib/pc.js +248 -0
  102. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.js +277 -0
  103. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.js +46 -0
  104. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.js +7 -0
  105. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.js +7 -0
  106. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.js +187 -0
  107. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.js +19 -0
  108. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.js +5 -0
  109. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.js +10 -0
  110. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTrim.js +8 -0
  111. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.js +4 -0
  112. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.js +15 -0
  113. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.js +7 -0
  114. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.js +5 -0
  115. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_trimmedEndIndex.js +9 -0
  116. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/debounce.js +54 -0
  117. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.js +7 -0
  118. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.js +6 -0
  119. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSymbol.js +9 -0
  120. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/now.js +7 -0
  121. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toNumber.js +22 -0
  122. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_blocks.js +67 -0
  123. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_re.js +5 -0
  124. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/utils.js +164 -0
  125. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/index.js +8 -0
  126. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_destination.js +44 -0
  127. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_label.js +21 -0
  128. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_title.js +37 -0
  129. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/index.js +112 -0
  130. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_block.js +63 -0
  131. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_core.js +34 -0
  132. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_inline.js +96 -0
  133. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/commonmark.js +78 -0
  134. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/default.js +40 -0
  135. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/zero.js +59 -0
  136. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/renderer.js +127 -0
  137. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/ruler.js +95 -0
  138. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/blockquote.js +59 -0
  139. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/code.js +23 -0
  140. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/fence.js +30 -0
  141. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/heading.js +28 -0
  142. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/hr.js +27 -0
  143. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/html_block.js +37 -0
  144. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/lheading.js +43 -0
  145. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/list.js +110 -0
  146. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/paragraph.js +25 -0
  147. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/reference.js +95 -0
  148. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/state_block.js +84 -0
  149. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/table.js +99 -0
  150. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/block.js +7 -0
  151. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/inline.js +10 -0
  152. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/linkify.js +57 -0
  153. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/normalize.js +9 -0
  154. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/replacements.js +31 -0
  155. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/smartquotes.js +80 -0
  156. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/state_core.js +8 -0
  157. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/text_join.js +16 -0
  158. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/autolink.js +46 -0
  159. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/backticks.js +31 -0
  160. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/balance_pairs.js +34 -0
  161. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/emphasis.js +57 -0
  162. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/entity.js +33 -0
  163. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/escape.js +32 -0
  164. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/fragments_join.js +10 -0
  165. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/html_inline.js +32 -0
  166. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/image.js +48 -0
  167. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/link.js +40 -0
  168. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/linkify.js +28 -0
  169. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/newline.js +23 -0
  170. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/state_inline.js +27 -0
  171. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/strikethrough.js +54 -0
  172. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/text.js +39 -0
  173. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/token.js +31 -0
  174. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.js +10 -0
  175. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.js +61 -0
  176. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.js +48 -0
  177. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.js +7 -0
  178. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.js +74 -0
  179. package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.es6.js +139 -0
  180. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.js +4 -0
  181. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.js +4 -0
  182. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.js +4 -0
  183. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.js +4 -0
  184. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.js +4 -0
  185. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.js +14 -0
  186. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.js +4 -0
  187. package/dist/packages/components/src/assets/icons/accessory.svg.js +4 -0
  188. package/dist/packages/components/src/assets/icons/loading-speech.svg.js +4 -0
  189. package/dist/packages/components/src/assets/icons/loading.svg.js +4 -0
  190. package/dist/packages/components/src/assets/icons/send.svg.js +4 -0
  191. package/dist/packages/components/src/assets/icons/voice.svg.js +4 -0
  192. package/dist/packages/components/src/bubble-item/bubble-item.vue.js +7 -0
  193. package/dist/packages/components/src/bubble-item/bubble-item.vue2.js +111 -0
  194. package/dist/packages/components/src/bubble-item/components/actions/copy.vue.js +46 -0
  195. package/dist/packages/components/src/bubble-item/components/actions/copy.vue2.js +4 -0
  196. package/dist/packages/components/src/bubble-item/components/actions/refresh.vue.js +12 -0
  197. package/dist/packages/components/src/bubble-item/components/icons/ai.vue.js +45 -0
  198. package/dist/packages/components/src/bubble-item/components/icons/user.vue.js +63 -0
  199. package/dist/packages/components/src/bubble-item/index.js +9 -0
  200. package/dist/packages/components/src/bubble-list/bubble-list.vue.js +7 -0
  201. package/dist/packages/components/src/bubble-list/bubble-list.vue2.js +52 -0
  202. package/dist/packages/components/src/bubble-list/index.js +9 -0
  203. package/dist/packages/components/src/conversations/index.js +9 -0
  204. package/dist/packages/components/src/conversations/index.vue.js +9 -0
  205. package/dist/packages/components/src/sender/components/ActionButtons.vue.js +161 -0
  206. package/dist/packages/components/src/sender/components/ActionButtons.vue2.js +4 -0
  207. package/dist/packages/components/src/sender/composables/useInputHandler.js +34 -0
  208. package/dist/packages/components/src/sender/composables/useKeyboardHandler.js +31 -0
  209. package/dist/packages/components/src/sender/composables/useSpeechHandler.js +67 -0
  210. package/dist/packages/components/src/sender/index.js +9 -0
  211. package/dist/packages/components/src/sender/index.vue.js +233 -0
  212. package/dist/packages/components/src/sender/index.vue2.js +4 -0
  213. package/dist/packages/components/src/welcome/index.js +9 -0
  214. package/dist/packages/components/src/welcome/index.vue.js +9 -0
  215. package/dist/sender/components/ActionButtons.vue.d.ts +23 -0
  216. package/dist/sender/composables/useInputHandler.d.ts +17 -0
  217. package/dist/sender/composables/useKeyboardHandler.d.ts +18 -0
  218. package/dist/sender/composables/useSpeechHandler.d.ts +14 -0
  219. package/dist/sender/index.d.ts +7 -0
  220. package/dist/sender/index.type.d.ts +90 -0
  221. package/dist/sender/index.vue.d.ts +948 -0
  222. package/dist/style.css +1 -0
  223. package/dist/welcome/index.d.ts +7 -0
  224. package/dist/welcome/index.vue.d.ts +2 -0
  225. package/package.json +42 -0
  226. package/src/assets/icons/accessory.svg +12 -0
  227. package/src/assets/icons/loading-speech.svg +16 -0
  228. package/src/assets/icons/loading.svg +17 -0
  229. package/src/assets/icons/send.svg +21 -0
  230. package/src/assets/icons/voice.svg +22 -0
  231. package/src/bubble-item/bubble-item.vue +264 -0
  232. package/src/bubble-item/components/actions/copy.vue +47 -0
  233. package/src/bubble-item/components/actions/index.ts +2 -0
  234. package/src/bubble-item/components/actions/refresh.vue +27 -0
  235. package/src/bubble-item/components/icons/ai.vue +30 -0
  236. package/src/bubble-item/components/icons/index.ts +2 -0
  237. package/src/bubble-item/components/icons/user.vue +78 -0
  238. package/src/bubble-item/index.ts +12 -0
  239. package/src/bubble-list/bubble-list.vue +53 -0
  240. package/src/bubble-list/index.ts +14 -0
  241. package/src/bubble-list/index.type.ts +65 -0
  242. package/src/conversations/index.ts +12 -0
  243. package/src/conversations/index.vue +3 -0
  244. package/src/index.ts +30 -0
  245. package/src/sender/components/ActionButtons.vue +165 -0
  246. package/src/sender/composables/useInputHandler.ts +69 -0
  247. package/src/sender/composables/useKeyboardHandler.ts +99 -0
  248. package/src/sender/composables/useSpeechHandler.ts +128 -0
  249. package/src/sender/global.d.ts +44 -0
  250. package/src/sender/index.less +344 -0
  251. package/src/sender/index.ts +12 -0
  252. package/src/sender/index.type.ts +111 -0
  253. package/src/sender/index.vue +289 -0
  254. package/src/sender/vars.less +84 -0
  255. package/src/vite-env.d.ts +1 -0
  256. package/src/welcome/index.ts +12 -0
  257. package/src/welcome/index.vue +3 -0
  258. package/tsconfig.json +37 -0
  259. package/tsconfig.node.json +10 -0
  260. package/vite.config.ts +53 -0
@@ -0,0 +1,568 @@
1
+ import { renderless as z, api as A } from "../../../../../@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/input/vue.js";
2
+ import { defineComponent as M, setup as O, $prefix as P, directive as W, props as F } from "../../../../../@opentiny_vue-common@3.22.0/node_modules/@opentiny/vue-common/lib/index.js";
3
+ import { Clickoutside as U } from "../../../../../@opentiny_vue-directive@3.22.0/node_modules/@opentiny/vue-directive/index.js";
4
+ import { renderless as K, api as N } from "../../../../../@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/tall-storage/vue.js";
5
+ /* empty css */
6
+ import { resolveComponent as v, resolveDirective as j, createElementBlock as a, openBlock as t, mergeProps as w, createCommentVNode as s, renderSlot as y, Fragment as h, createElementVNode as r, createBlock as p, withCtx as f, toDisplayString as l, resolveDynamicComponent as g, createVNode as V, Transition as H, withModifiers as D, normalizeClass as $, withDirectives as Z, createTextVNode as I, withKeys as q, renderList as G } from "vue";
7
+ import J from "../../../../../@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/close.js";
8
+ import Q from "../../../../../@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/eyeclose.js";
9
+ import R from "../../../../../@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/eyeopen.js";
10
+ import X from "../../../../../@opentiny_vue-tooltip@3.22.0/node_modules/@opentiny/vue-tooltip/lib/index.js";
11
+ import Y from "../../../../../@opentiny_vue-button@3.22.0/node_modules/@opentiny/vue-button/lib/index.js";
12
+ import c from "../../../../../@opentiny_vue-dialog-box@3.22.0/node_modules/@opentiny/vue-dialog-box/lib/index.js";
13
+ /* empty css */
14
+ /* empty css */
15
+ function x(e, n) {
16
+ var o = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
17
+ if (o) return (o = o.call(e)).next.bind(o);
18
+ if (Array.isArray(e) || (o = _(e)) || n) {
19
+ o && (e = o);
20
+ var u = 0;
21
+ return function() {
22
+ return u >= e.length ? { done: !0 } : { done: !1, value: e[u++] };
23
+ };
24
+ }
25
+ throw new TypeError(`Invalid attempt to iterate non-iterable instance.
26
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
27
+ }
28
+ function _(e, n) {
29
+ if (e) {
30
+ if (typeof e == "string") return T(e, n);
31
+ var o = {}.toString.call(e).slice(8, -1);
32
+ return o === "Object" && e.constructor && (o = e.constructor.name), o === "Map" || o === "Set" ? Array.from(e) : o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o) ? T(e, n) : void 0;
33
+ }
34
+ }
35
+ function T(e, n) {
36
+ (n == null || n > e.length) && (n = e.length);
37
+ for (var o = 0, u = Array(n); o < n; o++) u[o] = e[o];
38
+ return u;
39
+ }
40
+ var S = function(n, o) {
41
+ for (var u = n.__vccOpts || n, C = x(o), k; !(k = C()).done; ) {
42
+ var d = k.value, b = d[0], m = d[1];
43
+ u[b] = m;
44
+ }
45
+ return u;
46
+ }, ee = M({
47
+ name: P + "TallStorage",
48
+ inheritAttrs: !1,
49
+ props: {
50
+ isMemoryStorage: Boolean,
51
+ localstorageData: Array
52
+ },
53
+ setup: function(n, o) {
54
+ return O({
55
+ props: n,
56
+ context: o,
57
+ renderless: K,
58
+ api: N
59
+ });
60
+ }
61
+ }), ne = {
62
+ class: "tiny-storage-list-style"
63
+ }, te = ["onClick"];
64
+ function ie(e, n, o, u, C, k) {
65
+ return t(), a(
66
+ "div",
67
+ {
68
+ class: "tiny-tall-storage",
69
+ onMousedown: n[1] || (n[1] = function() {
70
+ return e.mousedown && e.mousedown.apply(e, arguments);
71
+ })
72
+ },
73
+ [r("div", ne, [r(
74
+ "ul",
75
+ {
76
+ onKeydown: n[0] || (n[0] = q(function() {
77
+ return e.keydownEvent && e.keydownEvent.apply(e, arguments);
78
+ }, ["enter"])),
79
+ class: "tiny-storage-list"
80
+ },
81
+ [(t(!0), a(
82
+ h,
83
+ null,
84
+ G(e.localstorageData, function(d) {
85
+ return t(), a("li", {
86
+ key: d,
87
+ class: $(["tiny-storage-item", [e.state.hoverValue === d ? "item-hover" : ""]]),
88
+ onClick: function(m) {
89
+ return e.selectItem(d);
90
+ }
91
+ }, l(d), 11, te);
92
+ }),
93
+ 128
94
+ /* KEYED_FRAGMENT */
95
+ ))],
96
+ 32
97
+ /* NEED_HYDRATION */
98
+ )])],
99
+ 32
100
+ /* NEED_HYDRATION */
101
+ );
102
+ }
103
+ var oe = /* @__PURE__ */ S(ee, [["render", ie]]), se = M({
104
+ inheritAttrs: !1,
105
+ // 勿删,兼容灵雀特殊场景,MR#1861
106
+ emits: ["update:modelValue", "change", "clear", "focus", "blur", "keyup", "keydown", "paste", "mouseenter", "mouseleave", "click", "input"],
107
+ directives: W({
108
+ Clickoutside: U
109
+ }),
110
+ components: {
111
+ IconClose: J(),
112
+ IconEyeopen: R(),
113
+ IconEyeclose: Q(),
114
+ TinyTallStorage: oe,
115
+ TinyTooltip: X,
116
+ TinyButton: Y,
117
+ TinyDialogBox: c
118
+ },
119
+ props: [].concat(F, ["name", "size", "form", "type", "mask", "label", "modelValue", "height", "resize", "counter", "autosize", "disabled", "readonly", "tabindex", "clearable", "suffixIcon", "prefixIcon", "autocomplete", "showPassword", "memorySpace", "validateEvent", "showWordLimit", "displayOnly", "displayOnlyContent", "frontClearIcon", "showEmptyValue", "hoverExpand", "popupMore", "showTooltip", "inputBoxType"]),
120
+ setup: function(n, o) {
121
+ return O({
122
+ props: n,
123
+ context: o,
124
+ renderless: z,
125
+ api: A
126
+ });
127
+ }
128
+ }), ae = {
129
+ key: 0,
130
+ class: "tiny-input-group__prepend",
131
+ ref: "prepend"
132
+ }, re = {
133
+ class: "tiny-input-display-only"
134
+ }, le = {
135
+ key: 0,
136
+ class: "tiny-input-display-only__content"
137
+ }, pe = {
138
+ key: 1,
139
+ class: "tiny-input-display-only__mask"
140
+ }, ue = {
141
+ class: "tiny-input-display-only__mask-text"
142
+ }, de = {
143
+ key: 2,
144
+ class: "tiny-input-display-only__content"
145
+ }, ye = ["name", "tabindex", "type", "disabled", "readonly", "unselectable", "autocomplete", "aria-label"], fe = {
146
+ key: 2,
147
+ class: "tiny-input__prefix",
148
+ ref: "prefix"
149
+ }, me = {
150
+ key: 0,
151
+ class: "tiny-input__suffix",
152
+ ref: "suffix"
153
+ }, ve = {
154
+ class: "tiny-input__suffix-inner"
155
+ }, ge = {
156
+ key: 5,
157
+ class: "tiny-input__count"
158
+ }, ke = {
159
+ class: "tiny-input__count-inner"
160
+ }, be = {
161
+ class: "tiny-input__count-text-length"
162
+ }, Ce = {
163
+ class: "tiny-input__count-upper-limit"
164
+ }, we = {
165
+ key: 3,
166
+ class: "tiny-input-group__append",
167
+ ref: "append"
168
+ }, he = {
169
+ key: 4,
170
+ class: "tiny-input-group__panel",
171
+ ref: "panel"
172
+ }, $e = {
173
+ class: "tiny-textarea-display-only__wrap"
174
+ }, Ve = {
175
+ ref: "textBox",
176
+ class: "tiny-textarea-display-only__content text-box"
177
+ }, De = ["tabindex", "disabled", "readonly", "unselectable", "autocomplete", "aria-label"], Ie = {
178
+ key: 2,
179
+ class: "tiny-input__count"
180
+ }, Te = {
181
+ class: "tiny-input__count-inner"
182
+ }, Me = {
183
+ class: "tiny-input__count-text-length"
184
+ }, Oe = {
185
+ class: "tiny-input__count-upper-limit"
186
+ };
187
+ function Se(e, n, o, u, C, k) {
188
+ var d = v("tiny-tooltip"), b = v("tiny-tall-storage"), m = v("icon-close"), B = v("tiny-button"), E = v("tiny-dialog-box"), L = j("clickoutside");
189
+ return t(), a(
190
+ "div",
191
+ w(e.a(e.$attrs, ["class"]), {
192
+ class: [e.$attrs.class, e.type === "textarea" ? "tiny-textarea" : "tiny-input", e.state.inputSize ? "tiny-input-" + e.state.inputSize : "", {
193
+ "is-disabled": e.state.inputDisabled,
194
+ "is-exceed": e.state.inputExceed,
195
+ "tiny-input-group": e.slots.prepend || e.slots.append,
196
+ "tiny-input-group-append": e.slots.append,
197
+ "tiny-input-group-prepend": e.slots.prepend,
198
+ "tiny-input-prefix": e.slots.prefix || e.prefixIcon,
199
+ "tiny-input-suffix": e.slots.suffix || e.suffixIcon || e.clearable || e.showPassword || e.mask && e.state.inputDisabled,
200
+ "tiny-input-word-limit": e.state.isWordLimitVisible,
201
+ "is-display-only": e.state.isDisplayOnly,
202
+ "tiny-input-underline": e.inputBoxType === "underline"
203
+ }],
204
+ onMouseenter: n[32] || (n[32] = function(i) {
205
+ e.state.hovering = !0, e.$emit("mouseenter", i);
206
+ }),
207
+ onMouseleave: n[33] || (n[33] = function(i) {
208
+ e.state.hovering = !1, e.$emit("mouseleave", i);
209
+ }),
210
+ onClick: n[34] || (n[34] = function(i) {
211
+ return e.$emit("click", i);
212
+ })
213
+ }),
214
+ [e.type !== "textarea" ? (t(), a(
215
+ h,
216
+ {
217
+ key: 0
218
+ },
219
+ [e.slots.prepend && !e.state.isDisplayOnly ? (t(), a(
220
+ "div",
221
+ ae,
222
+ [y(e.$slots, "prepend")],
223
+ 512
224
+ /* NEED_PATCH */
225
+ )) : s("v-if", !0), r("span", re, [e.state.isDisplayOnly ? (t(), p(d, {
226
+ key: 0,
227
+ disabled: !e.showTooltip,
228
+ effect: "light",
229
+ content: e.state.displayOnlyTooltip,
230
+ placement: "top",
231
+ "popper-class": e.state.tooltipConfig.popperClass || "",
232
+ onMouseenter: e.handleEnterDisplayOnlyContent
233
+ }, {
234
+ default: f(function() {
235
+ return [e.type === "password" ? (t(), a(
236
+ "span",
237
+ le,
238
+ l(e.state.hiddenPassword),
239
+ 1
240
+ /* TEXT */
241
+ )) : e.mask ? (t(), a("span", pe, [r(
242
+ "span",
243
+ ue,
244
+ l(e.state.displayedMaskValue),
245
+ 1
246
+ /* TEXT */
247
+ ), (t(), p(g(e.state.maskValueVisible ? "icon-eyeopen" : "icon-eyeclose"), {
248
+ onClick: n[0] || (n[0] = function(i) {
249
+ return e.state.maskValueVisible = !e.state.maskValueVisible;
250
+ })
251
+ }))])) : (t(), a(
252
+ "span",
253
+ de,
254
+ l(e.state.displayOnlyText),
255
+ 1
256
+ /* TEXT */
257
+ ))];
258
+ }),
259
+ _: 1
260
+ /* STABLE */
261
+ }, 8, ["disabled", "content", "popper-class", "onMouseenter"])) : s("v-if", !0), e.type !== "textarea" ? (t(), a("input", w({
262
+ key: 1,
263
+ ref: "input",
264
+ name: e.name,
265
+ "data-tag": "tiny-input-inner"
266
+ }, e.a(e.$attrs, ["type", "class", "style", "^on[A-Z]", "id"]), {
267
+ class: ["tiny-input__inner", e.mask && e.state.inputDisabled && !e.state.maskValueVisible && "tiny-input__mask"],
268
+ tabindex: e.tabindex,
269
+ type: e.showPassword ? e.state.passwordVisible ? "text" : "password" : e.type,
270
+ disabled: e.state.inputDisabled,
271
+ readonly: e.readonly,
272
+ unselectable: e.readonly ? "on" : "off",
273
+ autocomplete: e.autocomplete,
274
+ onCompositionend: n[1] || (n[1] = function() {
275
+ return e.handleCompositionEnd && e.handleCompositionEnd.apply(e, arguments);
276
+ }),
277
+ onCompositionupdate: n[2] || (n[2] = function() {
278
+ return e.handleCompositionUpdate && e.handleCompositionUpdate.apply(e, arguments);
279
+ }),
280
+ onCompositionstart: n[3] || (n[3] = function() {
281
+ return e.handleCompositionStart && e.handleCompositionStart.apply(e, arguments);
282
+ }),
283
+ onBlur: n[4] || (n[4] = function() {
284
+ return e.handleBlur && e.handleBlur.apply(e, arguments);
285
+ }),
286
+ onFocus: n[5] || (n[5] = function() {
287
+ return e.handleFocus && e.handleFocus.apply(e, arguments);
288
+ }),
289
+ onInput: n[6] || (n[6] = function() {
290
+ return e.handleInput && e.handleInput.apply(e, arguments);
291
+ }),
292
+ onChange: n[7] || (n[7] = function() {
293
+ return e.handleChange && e.handleChange.apply(e, arguments);
294
+ }),
295
+ "aria-label": e.label,
296
+ onKeyup: n[8] || (n[8] = function(i) {
297
+ return e.$emit("keyup", i);
298
+ }),
299
+ onKeydown: n[9] || (n[9] = function(i) {
300
+ return e.$emit("keydown", i);
301
+ }),
302
+ onPaste: n[10] || (n[10] = function(i) {
303
+ return e.$emit("paste", i);
304
+ })
305
+ }), null, 16, ye)) : s("v-if", !0)]), e.isMemoryStorage ? (t(), p(b, {
306
+ key: 1,
307
+ name: e.name,
308
+ "localstorage-data": e.storageData,
309
+ "is-memory-storage": e.isMemoryStorage,
310
+ onSelected: e.selectedMemory
311
+ }, null, 8, ["name", "localstorage-data", "is-memory-storage", "onSelected"])) : s("v-if", !0), !e.state.isDisplayOnly && (e.slots.prefix || e.prefixIcon) ? (t(), a(
312
+ "span",
313
+ fe,
314
+ [y(e.$slots, "prefix"), e.prefixIcon ? (t(), p(g(e.prefixIcon), {
315
+ key: 0,
316
+ class: "tiny-svg-size tiny-input__icon"
317
+ })) : s("v-if", !0)],
318
+ 512
319
+ /* NEED_PATCH */
320
+ )) : s("v-if", !0), r("div", null, [V(H, {
321
+ name: "tiny-transition-icon-out-in"
322
+ }, {
323
+ default: f(function() {
324
+ return [!e.state.isDisplayOnly && e.getSuffixVisible() ? (t(), a(
325
+ "span",
326
+ me,
327
+ [r("span", ve, [e.frontClearIcon && e.state.showClear ? (t(), p(m, {
328
+ key: 0,
329
+ class: "tiny-svg-size tiny-input__icon tiny-input__clear",
330
+ onMousedown: n[11] || (n[11] = D(function() {
331
+ }, ["prevent"])),
332
+ onClick: e.clear
333
+ }, null, 8, ["onClick"])) : s("v-if", !0), !e.state.showClear || !e.state.showPwdVisible || !e.state.isWordLimitVisible ? (t(), a(
334
+ h,
335
+ {
336
+ key: 1
337
+ },
338
+ [y(e.$slots, "suffix"), e.suffixIcon ? (t(), p(g(e.suffixIcon), {
339
+ key: 0,
340
+ class: "tiny-svg-size tiny-input__icon"
341
+ })) : s("v-if", !0)],
342
+ 64
343
+ /* STABLE_FRAGMENT */
344
+ )) : s("v-if", !0), !e.frontClearIcon && e.state.showClear ? (t(), p(m, {
345
+ key: 2,
346
+ class: "tiny-svg-size tiny-input__icon tiny-input__clear",
347
+ onMousedown: n[12] || (n[12] = D(function() {
348
+ }, ["prevent"])),
349
+ onClick: e.clear
350
+ }, null, 8, ["onClick"])) : s("v-if", !0), e.showPassword ? (t(), p(g(e.state.passwordVisible ? "icon-eyeopen" : "icon-eyeclose"), {
351
+ key: 3,
352
+ class: "tiny-svg-size tiny-input__icon",
353
+ onClick: e.handlePasswordVisible
354
+ }, null, 8, ["onClick"])) : s("v-if", !0), e.mask && e.state.inputDisabled ? (t(), p(g(e.state.maskValueVisible ? "icon-eyeopen" : "icon-eyeclose"), {
355
+ key: 4,
356
+ class: "tiny-svg-size tiny-input__icon",
357
+ onClick: n[13] || (n[13] = function(i) {
358
+ return e.state.maskValueVisible = !e.state.maskValueVisible;
359
+ })
360
+ })) : s("v-if", !0), e.state.isWordLimitVisible ? (t(), a("span", ge, [r("span", ke, [r(
361
+ "span",
362
+ be,
363
+ l(e.state.showWordLimit ? "" + e.state.textLength : ""),
364
+ 1
365
+ /* TEXT */
366
+ ), r(
367
+ "span",
368
+ Ce,
369
+ l(e.state.showWordLimit ? "/" + e.state.upperLimit : e.state.textLength),
370
+ 1
371
+ /* TEXT */
372
+ )])])) : s("v-if", !0)]), e.state.validateState ? (t(), a(
373
+ "i",
374
+ {
375
+ key: 0,
376
+ class: $(["tiny-input__icon", ["tiny-input__validateIcon", e.validateIcon]])
377
+ },
378
+ null,
379
+ 2
380
+ /* CLASS */
381
+ )) : s("v-if", !0)],
382
+ 512
383
+ /* NEED_PATCH */
384
+ )) : s("v-if", !0)];
385
+ }),
386
+ _: 3
387
+ /* FORWARDED */
388
+ })]), e.slots.append && !e.state.isDisplayOnly ? (t(), a(
389
+ "div",
390
+ we,
391
+ [y(e.$slots, "append")],
392
+ 512
393
+ /* NEED_PATCH */
394
+ )) : s("v-if", !0), e.slots.panel && !e.state.isDisplayOnly ? (t(), a(
395
+ "div",
396
+ he,
397
+ [y(e.$slots, "panel")],
398
+ 512
399
+ /* NEED_PATCH */
400
+ )) : s("v-if", !0)],
401
+ 64
402
+ /* STABLE_FRAGMENT */
403
+ )) : (t(), a(
404
+ "span",
405
+ {
406
+ key: 1,
407
+ class: $(["tiny-textarea-display-only", e.hoverExpand && "tiny-textarea__inner-con"])
408
+ },
409
+ [e.state.isDisplayOnly ? (t(), p(d, {
410
+ key: 0,
411
+ disabled: !e.showTooltip,
412
+ pre: "",
413
+ effect: "light",
414
+ content: e.state.displayOnlyTooltip,
415
+ placement: "top",
416
+ "popper-class": e.state.tooltipConfig.popperClass || "",
417
+ onMouseenter: n[15] || (n[15] = function(i) {
418
+ return e.handleEnterDisplayOnlyContent(i, "textarea");
419
+ })
420
+ }, {
421
+ default: f(function() {
422
+ return [r("div", $e, [r(
423
+ "span",
424
+ Ve,
425
+ [e.state.showMoreBtn ? (t(), a(
426
+ "span",
427
+ {
428
+ key: 0,
429
+ onClick: n[14] || (n[14] = function(i) {
430
+ return e.state.showDisplayOnlyBox = !0;
431
+ }),
432
+ class: "more-btn"
433
+ },
434
+ l(e.t("ui.input.more")) + ">",
435
+ 1
436
+ /* TEXT */
437
+ )) : s("v-if", !0), r(
438
+ "span",
439
+ null,
440
+ l(e.state.displayOnlyText),
441
+ 1
442
+ /* TEXT */
443
+ )],
444
+ 512
445
+ /* NEED_PATCH */
446
+ )])];
447
+ }),
448
+ _: 1
449
+ /* STABLE */
450
+ }, 8, ["disabled", "content", "popper-class"])) : s("v-if", !0), e.state.isDisplayOnly && e.popupMore ? (t(), p(E, {
451
+ key: 1,
452
+ title: e.t("ui.input.detail"),
453
+ visible: e.state.showDisplayOnlyBox,
454
+ "append-to-body": !0,
455
+ "onUpdate:visible": n[17] || (n[17] = function(i) {
456
+ return e.state.showDisplayOnlyBox = i;
457
+ })
458
+ }, {
459
+ footer: f(function() {
460
+ return [V(B, {
461
+ onClick: n[16] || (n[16] = function(i) {
462
+ return e.state.showDisplayOnlyBox = !1;
463
+ })
464
+ }, {
465
+ default: f(function() {
466
+ return [I(
467
+ l(e.t("ui.input.close")),
468
+ 1
469
+ /* TEXT */
470
+ )];
471
+ }),
472
+ _: 1
473
+ /* STABLE */
474
+ })];
475
+ }),
476
+ default: f(function() {
477
+ return [r(
478
+ "pre",
479
+ null,
480
+ l(e.state.displayOnlyText),
481
+ 1
482
+ /* TEXT */
483
+ )];
484
+ }),
485
+ _: 1
486
+ /* STABLE */
487
+ }, 8, ["title", "visible"])) : s("v-if", !0), Z((t(), a("textarea", w({
488
+ ref: "textarea"
489
+ }, e.a(e.$attrs, ["type", "class", "style", "id"]), {
490
+ tabindex: e.tabindex,
491
+ class: ["tiny-textarea__inner", e.hoverExpand && !e.state.enteredTextarea && "tiny-textarea__fix-height"],
492
+ onCompositionstart: n[18] || (n[18] = function() {
493
+ return e.handleCompositionStart && e.handleCompositionStart.apply(e, arguments);
494
+ }),
495
+ onCompositionupdate: n[19] || (n[19] = function() {
496
+ return e.handleCompositionUpdate && e.handleCompositionUpdate.apply(e, arguments);
497
+ }),
498
+ onCompositionend: n[20] || (n[20] = function() {
499
+ return e.handleCompositionEnd && e.handleCompositionEnd.apply(e, arguments);
500
+ }),
501
+ onInput: n[21] || (n[21] = function() {
502
+ return e.handleInput && e.handleInput.apply(e, arguments);
503
+ }),
504
+ disabled: e.state.inputDisabled,
505
+ readonly: e.readonly,
506
+ unselectable: e.readonly ? "on" : "off",
507
+ autocomplete: e.autocomplete,
508
+ style: e.state.textareaStyle,
509
+ onFocus: n[22] || (n[22] = function() {
510
+ return e.handleFocus && e.handleFocus.apply(e, arguments);
511
+ }),
512
+ onBlur: n[23] || (n[23] = function() {
513
+ return e.handleBlur && e.handleBlur.apply(e, arguments);
514
+ }),
515
+ onChange: n[24] || (n[24] = function() {
516
+ return e.handleChange && e.handleChange.apply(e, arguments);
517
+ }),
518
+ onMouseenter: n[25] || (n[25] = function(i) {
519
+ return e.handleEnterTextarea(i);
520
+ }),
521
+ onMouseleave: n[26] || (n[26] = function(i) {
522
+ return e.handleLeaveTextarea(i);
523
+ }),
524
+ onMousedown: n[27] || (n[27] = function(i) {
525
+ return e.handleTextareaMouseDown();
526
+ }),
527
+ onMouseup: n[28] || (n[28] = function(i) {
528
+ return e.handleTextareaMouseUp();
529
+ }),
530
+ "aria-label": e.label,
531
+ onKeyup: n[29] || (n[29] = function(i) {
532
+ return e.$emit("keyup", i);
533
+ }),
534
+ onKeydown: n[30] || (n[30] = function(i) {
535
+ return e.$emit("keydown", i);
536
+ }),
537
+ onPaste: n[31] || (n[31] = function(i) {
538
+ return e.$emit("paste", i);
539
+ })
540
+ }), [I(`
541
+ `)], 16, De)), [[L, function() {
542
+ return e.handleTextareaMouseUp(!0);
543
+ }, void 0, {
544
+ mouseup: !0
545
+ }]])],
546
+ 2
547
+ /* CLASS */
548
+ )), e.state.isWordLimitVisible && e.type === "textarea" ? (t(), a("span", Ie, [r("span", Te, [r(
549
+ "span",
550
+ Me,
551
+ l(e.state.showWordLimit ? "" + e.state.textLength : ""),
552
+ 1
553
+ /* TEXT */
554
+ ), r(
555
+ "span",
556
+ Oe,
557
+ l(e.state.showWordLimit ? "/" + e.state.upperLimit : e.state.textLength),
558
+ 1
559
+ /* TEXT */
560
+ )])])) : s("v-if", !0), y(e.$slots, "default")],
561
+ 16
562
+ /* FULL_PROPS */
563
+ );
564
+ }
565
+ var qe = /* @__PURE__ */ S(se, [["render", Se]]);
566
+ export {
567
+ qe as default
568
+ };