@blueking/ai-ui-sdk 0.0.15-beta.4 → 0.0.15-beta.5

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 (318) hide show
  1. package/dist/assets/images/ai.png +0 -0
  2. package/dist/assets/images/user.png +0 -0
  3. package/dist/assets/svg/picture-fail.svg +1 -0
  4. package/dist/common/util.d.ts +10 -0
  5. package/dist/common/util.js +34 -0
  6. package/dist/component/render-image/index.script.vue.js +37 -0
  7. package/dist/component/render-image/index.vue.d.ts +6 -0
  8. package/dist/component/render-image/index.vue.js +3 -0
  9. package/dist/component/render-input/index.script.vue.js +205 -0
  10. package/dist/component/render-input/index.vue.css +134 -0
  11. package/dist/component/render-input/index.vue.d.ts +18 -0
  12. package/dist/component/render-input/index.vue.js +5 -0
  13. package/dist/component/render-input/render-drag.script.vue.js +61 -0
  14. package/dist/component/render-input/render-drag.vue.css +32 -0
  15. package/dist/component/render-input/render-drag.vue.d.ts +13 -0
  16. package/dist/component/render-input/render-drag.vue.js +5 -0
  17. package/dist/component/render-input/render-quill.script.vue.js +200 -0
  18. package/dist/component/render-input/render-quill.vue.css +27 -0
  19. package/dist/component/render-input/render-quill.vue.d.ts +25 -0
  20. package/dist/component/render-input/render-quill.vue.js +4 -0
  21. package/dist/component/render-knowledge-icon/index.script.vue.js +40 -0
  22. package/dist/component/render-knowledge-icon/index.vue.css +4 -0
  23. package/dist/component/render-knowledge-icon/index.vue.d.ts +14 -0
  24. package/dist/component/render-knowledge-icon/index.vue.js +5 -0
  25. package/dist/component/render-markdown/mark-down-code.d.ts +2 -0
  26. package/dist/component/render-markdown/mark-down-code.js +171 -0
  27. package/dist/component/render-markdown/mark-down-emoji.d.ts +2 -0
  28. package/dist/component/render-markdown/mark-down-emoji.js +4 -0
  29. package/dist/component/render-markdown/mark-down.d.ts +74 -0
  30. package/dist/component/render-markdown/mark-down.js +147 -0
  31. package/dist/component/render-markdown/mark-down.postcss.css +131 -0
  32. package/dist/component/render-message/image-not-supported-message.script.vue.js +99 -0
  33. package/dist/component/render-message/image-not-supported-message.vue.css +66 -0
  34. package/dist/component/render-message/image-not-supported-message.vue.d.ts +21 -0
  35. package/dist/component/render-message/image-not-supported-message.vue.js +5 -0
  36. package/dist/component/render-message/index.script.vue.js +104 -0
  37. package/dist/component/render-message/index.vue.d.ts +13 -0
  38. package/dist/component/render-message/index.vue.js +3 -0
  39. package/dist/component/render-message/openai-message.script.vue.js +215 -0
  40. package/dist/component/render-message/openai-message.vue.css +98 -0
  41. package/dist/component/render-message/openai-message.vue.d.ts +15 -0
  42. package/dist/component/render-message/openai-message.vue.js +5 -0
  43. package/dist/component/render-message/skeleton-message.vue.css +7 -0
  44. package/dist/component/render-message/skeleton-message.vue.d.ts +2 -0
  45. package/dist/component/render-message/skeleton-message.vue.js +4 -0
  46. package/dist/component/render-message/system-message.script.vue.js +17 -0
  47. package/dist/component/render-message/system-message.vue.css +20 -0
  48. package/dist/component/render-message/system-message.vue.d.ts +6 -0
  49. package/dist/component/render-message/system-message.vue.js +5 -0
  50. package/dist/component/render-message/time-message.script.vue.js +41 -0
  51. package/dist/component/render-message/time-message.vue.css +14 -0
  52. package/dist/component/render-message/time-message.vue.d.ts +6 -0
  53. package/dist/component/render-message/time-message.vue.js +5 -0
  54. package/dist/component/render-message/token-expired-message.script.vue.js +78 -0
  55. package/dist/component/render-message/token-expired-message.vue.css +60 -0
  56. package/dist/component/render-message/token-expired-message.vue.d.ts +15 -0
  57. package/dist/component/render-message/token-expired-message.vue.js +5 -0
  58. package/dist/component/render-message/user-message.script.vue.js +241 -0
  59. package/dist/component/render-message/user-message.vue.css +100 -0
  60. package/dist/component/render-message/user-message.vue.d.ts +21 -0
  61. package/dist/component/render-message/user-message.vue.js +5 -0
  62. package/dist/event/index.js +2 -1
  63. package/dist/hooks/use-chat.d.ts +6 -5
  64. package/dist/hooks/use-chat.js +19 -17
  65. package/dist/hooks/use-mouse-drag.d.ts +13 -0
  66. package/dist/hooks/use-mouse-drag.js +59 -0
  67. package/dist/http/fetch/error-interceptor.js +23 -2
  68. package/dist/main.d.ts +3 -0
  69. package/dist/main.js +4 -0
  70. package/dist/node_modules/bkui-vue/lib/icon/angle-double-down-line.js +191 -0
  71. package/dist/node_modules/bkui-vue/lib/icon/angle-double-left-line.js +191 -0
  72. package/dist/node_modules/bkui-vue/lib/icon/angle-double-left.js +191 -0
  73. package/dist/node_modules/bkui-vue/lib/icon/angle-double-right-line.js +191 -0
  74. package/dist/node_modules/bkui-vue/lib/icon/angle-double-right.js +191 -0
  75. package/dist/node_modules/bkui-vue/lib/icon/angle-double-up-line.js +191 -0
  76. package/dist/node_modules/bkui-vue/lib/icon/angle-down-fill.js +191 -0
  77. package/dist/node_modules/bkui-vue/lib/icon/angle-down-line.js +191 -0
  78. package/dist/node_modules/bkui-vue/lib/icon/angle-down.js +191 -0
  79. package/dist/node_modules/bkui-vue/lib/icon/angle-left.js +191 -0
  80. package/dist/node_modules/bkui-vue/lib/icon/angle-right.js +191 -0
  81. package/dist/node_modules/bkui-vue/lib/icon/angle-up-fill.js +191 -0
  82. package/dist/node_modules/bkui-vue/lib/icon/angle-up.js +191 -0
  83. package/dist/node_modules/bkui-vue/lib/icon/archive-fill.js +191 -0
  84. package/dist/node_modules/bkui-vue/lib/icon/arrows-left.js +191 -0
  85. package/dist/node_modules/bkui-vue/lib/icon/arrows-right.js +191 -0
  86. package/dist/node_modules/bkui-vue/lib/icon/assistant.js +191 -0
  87. package/dist/node_modules/bkui-vue/lib/icon/audio-fill.js +191 -0
  88. package/dist/node_modules/bkui-vue/lib/icon/bk.js +191 -0
  89. package/dist/node_modules/bkui-vue/lib/icon/circle.js +191 -0
  90. package/dist/node_modules/bkui-vue/lib/icon/close-line.js +191 -0
  91. package/dist/node_modules/bkui-vue/lib/icon/close.js +191 -0
  92. package/dist/node_modules/bkui-vue/lib/icon/code.js +191 -0
  93. package/dist/node_modules/bkui-vue/lib/icon/cog-shape.js +191 -0
  94. package/dist/node_modules/bkui-vue/lib/icon/collapse-left.js +191 -0
  95. package/dist/node_modules/bkui-vue/lib/icon/copy-shape.js +191 -0
  96. package/dist/node_modules/bkui-vue/lib/icon/copy.js +191 -0
  97. package/dist/node_modules/bkui-vue/lib/icon/data-shape.js +191 -0
  98. package/dist/node_modules/bkui-vue/lib/icon/del.js +191 -0
  99. package/dist/node_modules/bkui-vue/lib/icon/doc-fill.js +191 -0
  100. package/dist/node_modules/bkui-vue/lib/icon/done.js +191 -0
  101. package/dist/node_modules/bkui-vue/lib/icon/down-shape.js +191 -0
  102. package/dist/node_modules/bkui-vue/lib/icon/down-small.js +191 -0
  103. package/dist/node_modules/bkui-vue/lib/icon/edit-line.js +191 -0
  104. package/dist/node_modules/bkui-vue/lib/icon/ellipsis.js +191 -0
  105. package/dist/node_modules/bkui-vue/lib/icon/enlarge-line.js +191 -0
  106. package/dist/node_modules/bkui-vue/lib/icon/error.js +191 -0
  107. package/dist/node_modules/bkui-vue/lib/icon/excel-fill.js +191 -0
  108. package/dist/node_modules/bkui-vue/lib/icon/exclamation-circle-shape.js +191 -0
  109. package/dist/node_modules/bkui-vue/lib/icon/eye.js +191 -0
  110. package/dist/node_modules/bkui-vue/lib/icon/filliscreen-line.js +191 -0
  111. package/dist/node_modules/bkui-vue/lib/icon/fix-line.js +191 -0
  112. package/dist/node_modules/bkui-vue/lib/icon/fix-shape.js +191 -0
  113. package/dist/node_modules/bkui-vue/lib/icon/folder-open.js +191 -0
  114. package/dist/node_modules/bkui-vue/lib/icon/folder-shape-open.js +191 -0
  115. package/dist/node_modules/bkui-vue/lib/icon/folder-shape.js +191 -0
  116. package/dist/node_modules/bkui-vue/lib/icon/folder.js +191 -0
  117. package/dist/node_modules/bkui-vue/lib/icon/funnel.js +191 -0
  118. package/dist/node_modules/bkui-vue/lib/icon/grag-fill.js +191 -0
  119. package/dist/node_modules/bkui-vue/lib/icon/help-document-fill.js +191 -0
  120. package/dist/node_modules/bkui-vue/lib/icon/help-fill.js +191 -0
  121. package/dist/node_modules/bkui-vue/lib/icon/help.js +191 -0
  122. package/dist/node_modules/bkui-vue/lib/icon/image-fill.js +191 -0
  123. package/dist/node_modules/bkui-vue/lib/icon/img-error.js +191 -0
  124. package/dist/node_modules/bkui-vue/lib/icon/img-placehoulder.js +191 -0
  125. package/dist/node_modules/bkui-vue/lib/icon/index.js +113 -0
  126. package/dist/node_modules/bkui-vue/lib/icon/info-line.js +191 -0
  127. package/dist/node_modules/bkui-vue/lib/icon/info.js +191 -0
  128. package/dist/node_modules/bkui-vue/lib/icon/left-shape.js +191 -0
  129. package/dist/node_modules/bkui-vue/lib/icon/left-turn-line.js +191 -0
  130. package/dist/node_modules/bkui-vue/lib/icon/loading.js +191 -0
  131. package/dist/node_modules/bkui-vue/lib/icon/narrow-line.js +191 -0
  132. package/dist/node_modules/bkui-vue/lib/icon/original.js +191 -0
  133. package/dist/node_modules/bkui-vue/lib/icon/pdf-fill.js +191 -0
  134. package/dist/node_modules/bkui-vue/lib/icon/play-shape.js +191 -0
  135. package/dist/node_modules/bkui-vue/lib/icon/plus.js +191 -0
  136. package/dist/node_modules/bkui-vue/lib/icon/ppt-fill.js +191 -0
  137. package/dist/node_modules/bkui-vue/lib/icon/qq.js +191 -0
  138. package/dist/node_modules/bkui-vue/lib/icon/right-shape.js +191 -0
  139. package/dist/node_modules/bkui-vue/lib/icon/right-turn-line.js +191 -0
  140. package/dist/node_modules/bkui-vue/lib/icon/search.js +191 -0
  141. package/dist/node_modules/bkui-vue/lib/icon/share.js +191 -0
  142. package/dist/node_modules/bkui-vue/lib/icon/spinner.js +191 -0
  143. package/dist/node_modules/bkui-vue/lib/icon/success.js +191 -0
  144. package/dist/node_modules/bkui-vue/lib/icon/switcher-loading.js +191 -0
  145. package/dist/node_modules/bkui-vue/lib/icon/text-all.js +191 -0
  146. package/dist/node_modules/bkui-vue/lib/icon/text-file.js +191 -0
  147. package/dist/node_modules/bkui-vue/lib/icon/text-fill.js +191 -0
  148. package/dist/node_modules/bkui-vue/lib/icon/transfer.js +191 -0
  149. package/dist/node_modules/bkui-vue/lib/icon/tree-application-shape.js +191 -0
  150. package/dist/node_modules/bkui-vue/lib/icon/unfull-screen.js +191 -0
  151. package/dist/node_modules/bkui-vue/lib/icon/unvisible.js +191 -0
  152. package/dist/node_modules/bkui-vue/lib/icon/up-shape.js +191 -0
  153. package/dist/node_modules/bkui-vue/lib/icon/upload.js +191 -0
  154. package/dist/node_modules/bkui-vue/lib/icon/video-fill.js +191 -0
  155. package/dist/node_modules/bkui-vue/lib/icon/warn.js +191 -0
  156. package/dist/node_modules/bkui-vue/lib/icon/weixin-pro.js +191 -0
  157. package/dist/node_modules/bkui-vue/lib/icon/weixin.js +191 -0
  158. package/dist/node_modules/bkui-vue/lib/styles/reset.css +439 -0
  159. package/dist/node_modules/call-bind/index.js +24 -0
  160. package/dist/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
  161. package/dist/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
  162. package/dist/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
  163. package/dist/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
  164. package/dist/node_modules/call-bind-apply-helpers/index.js +15 -0
  165. package/dist/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
  166. package/dist/node_modules/call-bound/index.js +19 -0
  167. package/dist/node_modules/deep-equal/index.js +112 -0
  168. package/dist/node_modules/define-data-property/index.js +56 -0
  169. package/dist/node_modules/define-properties/index.js +47 -0
  170. package/dist/node_modules/dunder-proto/get.js +30 -0
  171. package/dist/node_modules/es-define-property/index.js +14 -0
  172. package/dist/node_modules/es-errors/eval.js +4 -0
  173. package/dist/node_modules/es-errors/index.js +4 -0
  174. package/dist/node_modules/es-errors/range.js +4 -0
  175. package/dist/node_modules/es-errors/ref.js +4 -0
  176. package/dist/node_modules/es-errors/syntax.js +4 -0
  177. package/dist/node_modules/es-errors/type.js +4 -0
  178. package/dist/node_modules/es-errors/uri.js +4 -0
  179. package/dist/node_modules/es-object-atoms/index.js +4 -0
  180. package/dist/node_modules/extend/index.js +117 -0
  181. package/dist/node_modules/fast-diff/diff.js +738 -0
  182. package/dist/node_modules/function-bind/implementation.js +84 -0
  183. package/dist/node_modules/function-bind/index.js +5 -0
  184. package/dist/node_modules/functions-have-names/index.js +31 -0
  185. package/dist/node_modules/get-intrinsic/index.js +378 -0
  186. package/dist/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
  187. package/dist/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
  188. package/dist/node_modules/get-proto/index.js +27 -0
  189. package/dist/node_modules/gopd/gOPD.js +4 -0
  190. package/dist/node_modules/gopd/index.js +15 -0
  191. package/dist/node_modules/has-property-descriptors/index.js +22 -0
  192. package/dist/node_modules/has-symbols/index.js +14 -0
  193. package/dist/node_modules/has-symbols/shams.js +45 -0
  194. package/dist/node_modules/has-tostringtag/shams.js +8 -0
  195. package/dist/node_modules/hasown/index.js +8 -0
  196. package/dist/node_modules/is-arguments/index.js +44 -0
  197. package/dist/node_modules/is-date-object/index.js +27 -0
  198. package/dist/node_modules/is-regex/index.js +69 -0
  199. package/dist/node_modules/math-intrinsics/abs.js +4 -0
  200. package/dist/node_modules/math-intrinsics/floor.js +4 -0
  201. package/dist/node_modules/math-intrinsics/isNaN.js +6 -0
  202. package/dist/node_modules/math-intrinsics/max.js +4 -0
  203. package/dist/node_modules/math-intrinsics/min.js +4 -0
  204. package/dist/node_modules/math-intrinsics/pow.js +4 -0
  205. package/dist/node_modules/math-intrinsics/round.js +4 -0
  206. package/dist/node_modules/math-intrinsics/sign.js +11 -0
  207. package/dist/node_modules/object-is/implementation.js +19 -0
  208. package/dist/node_modules/object-is/index.js +18 -0
  209. package/dist/node_modules/object-is/polyfill.js +7 -0
  210. package/dist/node_modules/object-is/shim.js +14 -0
  211. package/dist/node_modules/object-keys/implementation.js +122 -0
  212. package/dist/node_modules/object-keys/index.js +32 -0
  213. package/dist/node_modules/object-keys/isArguments.js +17 -0
  214. package/dist/node_modules/quill/dist/quill.js +11562 -0
  215. package/dist/node_modules/quill/dist/quill.snow.css +945 -0
  216. package/dist/node_modules/quill-delta/lib/delta.js +344 -0
  217. package/dist/node_modules/quill-delta/lib/op.js +155 -0
  218. package/dist/node_modules/quill-image-uploader/dist/blots/image.js +30 -0
  219. package/dist/node_modules/quill-image-uploader/dist/quill.imageUploader.js +198 -0
  220. package/dist/node_modules/quill-image-uploader/dist/quill.imageUploader.min.css +33 -0
  221. package/dist/node_modules/regexp.prototype.flags/implementation.js +39 -0
  222. package/dist/node_modules/regexp.prototype.flags/index.js +18 -0
  223. package/dist/node_modules/regexp.prototype.flags/polyfill.js +39 -0
  224. package/dist/node_modules/regexp.prototype.flags/shim.js +26 -0
  225. package/dist/node_modules/set-function-length/index.js +42 -0
  226. package/dist/node_modules/set-function-name/index.js +23 -0
  227. package/dist/node_modules/x-mavon-editor/dist/css/index.css +1 -0
  228. package/dist/node_modules/x-mavon-editor/dist/font/fontello.eot +0 -0
  229. package/dist/node_modules/x-mavon-editor/dist/font/fontello.svg +72 -0
  230. package/dist/node_modules/x-mavon-editor/dist/font/fontello.ttf +0 -0
  231. package/dist/node_modules/x-mavon-editor/dist/font/fontello.woff +0 -0
  232. package/dist/node_modules/x-mavon-editor/dist/font/fontello.woff2 +0 -0
  233. package/dist/node_modules/x-mavon-editor/dist/highlightjs/highlight.min.js +1149 -0
  234. package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/bash.min.js +20 -0
  235. package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/css.min.js +31 -0
  236. package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/go.min.js +14 -0
  237. package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/java.min.js +37 -0
  238. package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/javascript.min.js +76 -0
  239. package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/json.min.js +7 -0
  240. package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/markdown.min.js +31 -0
  241. package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/perl.min.js +36 -0
  242. package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/php.min.js +37 -0
  243. package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/python.min.js +42 -0
  244. package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/ruby.min.js +48 -0
  245. package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/sql.min.js +17 -0
  246. package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/swift.min.js +60 -0
  247. package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/typescript.min.js +92 -0
  248. package/dist/node_modules/x-mavon-editor/dist/highlightjs/languages/xml.min.js +28 -0
  249. package/dist/node_modules/x-mavon-editor/dist/highlightjs/styles/atom-one-dark.min.css +1 -0
  250. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_AMS-Regular.ttf +0 -0
  251. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_AMS-Regular.woff +0 -0
  252. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_AMS-Regular.woff2 +0 -0
  253. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
  254. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
  255. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
  256. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
  257. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
  258. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
  259. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
  260. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Fraktur-Bold.woff +0 -0
  261. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
  262. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
  263. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Fraktur-Regular.woff +0 -0
  264. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
  265. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-Bold.ttf +0 -0
  266. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-Bold.woff +0 -0
  267. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-Bold.woff2 +0 -0
  268. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
  269. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-BoldItalic.woff +0 -0
  270. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
  271. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-Italic.ttf +0 -0
  272. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-Italic.woff +0 -0
  273. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-Italic.woff2 +0 -0
  274. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-Regular.ttf +0 -0
  275. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-Regular.woff +0 -0
  276. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Main-Regular.woff2 +0 -0
  277. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
  278. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Math-BoldItalic.woff +0 -0
  279. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
  280. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Math-Italic.ttf +0 -0
  281. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Math-Italic.woff +0 -0
  282. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Math-Italic.woff2 +0 -0
  283. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
  284. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_SansSerif-Bold.woff +0 -0
  285. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
  286. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
  287. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_SansSerif-Italic.woff +0 -0
  288. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
  289. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
  290. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_SansSerif-Regular.woff +0 -0
  291. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
  292. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Script-Regular.ttf +0 -0
  293. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Script-Regular.woff +0 -0
  294. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Script-Regular.woff2 +0 -0
  295. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size1-Regular.ttf +0 -0
  296. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size1-Regular.woff +0 -0
  297. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size1-Regular.woff2 +0 -0
  298. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size2-Regular.ttf +0 -0
  299. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size2-Regular.woff +0 -0
  300. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size2-Regular.woff2 +0 -0
  301. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size3-Regular.ttf +0 -0
  302. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size3-Regular.woff +0 -0
  303. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size3-Regular.woff2 +0 -0
  304. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size4-Regular.ttf +0 -0
  305. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size4-Regular.woff +0 -0
  306. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Size4-Regular.woff2 +0 -0
  307. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
  308. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Typewriter-Regular.woff +0 -0
  309. package/dist/node_modules/x-mavon-editor/dist/katex/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
  310. package/dist/node_modules/x-mavon-editor/dist/katex/katex.min.css +1 -0
  311. package/dist/node_modules/x-mavon-editor/dist/katex/katex.min.js +1 -0
  312. package/dist/node_modules/x-mavon-editor/dist/markdown/github-markdown.min.css +2 -0
  313. package/dist/node_modules/x-mavon-editor/dist/mavon-editor.js +31 -0
  314. package/dist/types/enum.d.ts +6 -1
  315. package/dist/types/enum.js +7 -1
  316. package/dist/types/model.d.ts +14 -0
  317. package/dist/types/session.d.ts +0 -2
  318. package/package.json +11 -4
@@ -0,0 +1,191 @@
1
+ import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
2
+ /******/ // The require scope
3
+ /******/ var __webpack_require__ = {};
4
+ /******/
5
+ /************************************************************************/
6
+ /******/ /* webpack/runtime/define property getters */
7
+ /******/ (() => {
8
+ /******/ // define getter functions for harmony exports
9
+ /******/ __webpack_require__.d = (exports, definition) => {
10
+ /******/ for(var key in definition) {
11
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
12
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
13
+ /******/ }
14
+ /******/ }
15
+ /******/ };
16
+ /******/ })();
17
+ /******/
18
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
19
+ /******/ (() => {
20
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
21
+ /******/ })();
22
+ /******/
23
+ /************************************************************************/
24
+ var __webpack_exports__ = {};
25
+
26
+ // EXPORTS
27
+ __webpack_require__.d(__webpack_exports__, {
28
+ "default": () => (/* binding */ fix_shape)
29
+ });
30
+
31
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
32
+ function _typeof(o) {
33
+ "@babel/helpers - typeof";
34
+
35
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
36
+ return typeof o;
37
+ } : function (o) {
38
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
39
+ }, _typeof(o);
40
+ }
41
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
42
+
43
+ function toPrimitive(t, r) {
44
+ if ("object" != _typeof(t) || !t) return t;
45
+ var e = t[Symbol.toPrimitive];
46
+ if (void 0 !== e) {
47
+ var i = e.call(t, r || "default");
48
+ if ("object" != _typeof(i)) return i;
49
+ throw new TypeError("@@toPrimitive must return a primitive value.");
50
+ }
51
+ return ("string" === r ? String : Number)(t);
52
+ }
53
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
54
+
55
+
56
+ function toPropertyKey(t) {
57
+ var i = toPrimitive(t, "string");
58
+ return "symbol" == _typeof(i) ? i : String(i);
59
+ }
60
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
61
+
62
+ function _defineProperty(obj, key, value) {
63
+ key = toPropertyKey(key);
64
+ if (key in obj) {
65
+ Object.defineProperty(obj, key, {
66
+ value: value,
67
+ enumerable: true,
68
+ configurable: true,
69
+ writable: true
70
+ });
71
+ } else {
72
+ obj[key] = value;
73
+ }
74
+ return obj;
75
+ }
76
+ ;// CONCATENATED MODULE: external "vue"
77
+ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
78
+ var y = x => () => x
79
+ const external_vue_namespaceObject = x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps });
80
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
81
+ function _objectWithoutPropertiesLoose(source, excluded) {
82
+ if (source == null) return {};
83
+ var target = {};
84
+ var sourceKeys = Object.keys(source);
85
+ var key, i;
86
+ for (i = 0; i < sourceKeys.length; i++) {
87
+ key = sourceKeys[i];
88
+ if (excluded.indexOf(key) >= 0) continue;
89
+ target[key] = source[key];
90
+ }
91
+ return target;
92
+ }
93
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
94
+
95
+ function _objectWithoutProperties(source, excluded) {
96
+ if (source == null) return {};
97
+ var target = _objectWithoutPropertiesLoose(source, excluded);
98
+ var key, i;
99
+ if (Object.getOwnPropertySymbols) {
100
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
101
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
102
+ key = sourceSymbolKeys[i];
103
+ if (excluded.indexOf(key) >= 0) continue;
104
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
105
+ target[key] = source[key];
106
+ }
107
+ }
108
+ return target;
109
+ }
110
+ ;// CONCATENATED MODULE: ../../packages/icon/icons/icon.tsx
111
+
112
+
113
+ var _excluded = ["data", "name", "width", "height", "fill"];
114
+
115
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
116
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
117
+ /*
118
+ * Tencent is pleased to support the open source community by making
119
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
120
+ *
121
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
122
+ *
123
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
124
+ *
125
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
126
+ *
127
+ * ---------------------------------------------------
128
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
129
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
130
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
131
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
132
+ *
133
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
134
+ * the Software.
135
+ *
136
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
137
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
138
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
139
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
140
+ * IN THE SOFTWARE.
141
+ */
142
+
143
+ function generate(node, key, rootAttrs) {
144
+ return (0,external_vue_namespaceObject.h)(node.name, _objectSpread(_objectSpread({
145
+ key: key
146
+ }, node.attributes), {}, {
147
+ style: "".concat(node.attributes.style, " ").concat(rootAttrs || '')
148
+ }), (node.elements || []).map(function (element, index) {
149
+ return generate(element, "".concat(key, "-").concat(node.name, "-").concat(index));
150
+ }));
151
+ }
152
+ var bkIcon = function bkIcon(props, context) {
153
+ var _context$attrs$props = _objectSpread(_objectSpread({}, context.attrs), props),
154
+ data = _context$attrs$props.data,
155
+ name = _context$attrs$props.name,
156
+ width = _context$attrs$props.width,
157
+ height = _context$attrs$props.height,
158
+ fill = _context$attrs$props.fill,
159
+ restProps = _objectWithoutProperties(_context$attrs$props, _excluded);
160
+ var rootAttrs = "width: ".concat(width, "; height: ").concat(height, "; fill: ").concat(fill);
161
+ var iconBoxStyle = {
162
+ display: 'inline-flex',
163
+ 'align-items': 'center',
164
+ 'justify-content': 'center'
165
+ };
166
+ return (0,external_vue_namespaceObject.createVNode)("span", (0,external_vue_namespaceObject.mergeProps)({
167
+ "style": iconBoxStyle
168
+ }, restProps), [generate(data, name, rootAttrs)]);
169
+ };
170
+ bkIcon.inheritAttrs = false;
171
+ bkIcon.displayName = 'bkIcon';
172
+ /* harmony default export */ const icon = (bkIcon);
173
+ ;// CONCATENATED MODULE: ../../packages/icon/icons/fix-shape.tsx
174
+
175
+
176
+ function fix_shape_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
177
+ function fix_shape_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? fix_shape_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : fix_shape_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
178
+
179
+ var data = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"fill-rule":"evenodd","d":"M618.6572192 96.00014496C628.4074144 95.97271648 637.7657728 99.83601536 644.6573792 106.73362368L917.3054336 379.3935424C931.5648544 393.697616 931.5648544 416.842432 917.3054336 431.1465056L739.048352 609.411344C749.9831616 705.9435072 722.0359616 802.8572896 661.3806784 878.7430976 654.4145248 887.4442592 643.863968 892.4977216 632.7181056 892.471776 622.9679104 892.4993504 613.609552 888.6360544 606.7179456 881.7384448L405.6639264 680.6756768 167.3360768 919.0138912C164.44531456 921.9394656 160.61522176 923.751472 156.52001024 924.1309472L115.33576 927.8751328C114.7533568 928.000144 114.21255392 928.000144 113.6717504 928.000144 108.70579808 928.00928 103.965968 925.9247392 100.61644608 922.2583168 97.26692416 918.5918976 95.61805984 913.6833056 96.07484352 908.7381824L99.81886624 867.5521408C100.18706144 863.4622368 101.9839264 859.6326848 104.89409664 856.7356064L343.2635456 618.6053984 142.20952352 417.5426336C134.82836032 410.152128 130.93797408 399.9714112 131.50944128 389.54168 132.08090848 379.111952 137.06031008 369.4172704 145.20474176 362.8775232 210.03082048 310.97351104 290.62998816 282.75083392 373.6733312 282.87675616 387.280576 282.84954016 400.878272 283.59959872 414.3999776 285.12326752L592.6570624 106.73362368C599.5486656 99.83601568 608.907024 95.9727168 618.6572192 96.00014496Z"}}]}');
180
+ var fixShape = function fixShape(props, context) {
181
+ var p = fix_shape_objectSpread(fix_shape_objectSpread({}, props), context.attrs);
182
+ return (0,external_vue_namespaceObject.createVNode)(icon, (0,external_vue_namespaceObject.mergeProps)(p, {
183
+ "data": data,
184
+ "name": "fixShape"
185
+ }), null);
186
+ };
187
+ fixShape.displayName = 'fixShape';
188
+ fixShape.inheritAttrs = false;
189
+ /* harmony default export */ const fix_shape = (fixShape);
190
+ var __webpack_exports__default = __webpack_exports__["default"];
191
+ export { __webpack_exports__default as default };
@@ -0,0 +1,191 @@
1
+ import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
2
+ /******/ // The require scope
3
+ /******/ var __webpack_require__ = {};
4
+ /******/
5
+ /************************************************************************/
6
+ /******/ /* webpack/runtime/define property getters */
7
+ /******/ (() => {
8
+ /******/ // define getter functions for harmony exports
9
+ /******/ __webpack_require__.d = (exports, definition) => {
10
+ /******/ for(var key in definition) {
11
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
12
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
13
+ /******/ }
14
+ /******/ }
15
+ /******/ };
16
+ /******/ })();
17
+ /******/
18
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
19
+ /******/ (() => {
20
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
21
+ /******/ })();
22
+ /******/
23
+ /************************************************************************/
24
+ var __webpack_exports__ = {};
25
+
26
+ // EXPORTS
27
+ __webpack_require__.d(__webpack_exports__, {
28
+ "default": () => (/* binding */ folder_open)
29
+ });
30
+
31
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
32
+ function _typeof(o) {
33
+ "@babel/helpers - typeof";
34
+
35
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
36
+ return typeof o;
37
+ } : function (o) {
38
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
39
+ }, _typeof(o);
40
+ }
41
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
42
+
43
+ function toPrimitive(t, r) {
44
+ if ("object" != _typeof(t) || !t) return t;
45
+ var e = t[Symbol.toPrimitive];
46
+ if (void 0 !== e) {
47
+ var i = e.call(t, r || "default");
48
+ if ("object" != _typeof(i)) return i;
49
+ throw new TypeError("@@toPrimitive must return a primitive value.");
50
+ }
51
+ return ("string" === r ? String : Number)(t);
52
+ }
53
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
54
+
55
+
56
+ function toPropertyKey(t) {
57
+ var i = toPrimitive(t, "string");
58
+ return "symbol" == _typeof(i) ? i : String(i);
59
+ }
60
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
61
+
62
+ function _defineProperty(obj, key, value) {
63
+ key = toPropertyKey(key);
64
+ if (key in obj) {
65
+ Object.defineProperty(obj, key, {
66
+ value: value,
67
+ enumerable: true,
68
+ configurable: true,
69
+ writable: true
70
+ });
71
+ } else {
72
+ obj[key] = value;
73
+ }
74
+ return obj;
75
+ }
76
+ ;// CONCATENATED MODULE: external "vue"
77
+ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
78
+ var y = x => () => x
79
+ const external_vue_namespaceObject = x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps });
80
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
81
+ function _objectWithoutPropertiesLoose(source, excluded) {
82
+ if (source == null) return {};
83
+ var target = {};
84
+ var sourceKeys = Object.keys(source);
85
+ var key, i;
86
+ for (i = 0; i < sourceKeys.length; i++) {
87
+ key = sourceKeys[i];
88
+ if (excluded.indexOf(key) >= 0) continue;
89
+ target[key] = source[key];
90
+ }
91
+ return target;
92
+ }
93
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
94
+
95
+ function _objectWithoutProperties(source, excluded) {
96
+ if (source == null) return {};
97
+ var target = _objectWithoutPropertiesLoose(source, excluded);
98
+ var key, i;
99
+ if (Object.getOwnPropertySymbols) {
100
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
101
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
102
+ key = sourceSymbolKeys[i];
103
+ if (excluded.indexOf(key) >= 0) continue;
104
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
105
+ target[key] = source[key];
106
+ }
107
+ }
108
+ return target;
109
+ }
110
+ ;// CONCATENATED MODULE: ../../packages/icon/icons/icon.tsx
111
+
112
+
113
+ var _excluded = ["data", "name", "width", "height", "fill"];
114
+
115
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
116
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
117
+ /*
118
+ * Tencent is pleased to support the open source community by making
119
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
120
+ *
121
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
122
+ *
123
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
124
+ *
125
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
126
+ *
127
+ * ---------------------------------------------------
128
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
129
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
130
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
131
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
132
+ *
133
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
134
+ * the Software.
135
+ *
136
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
137
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
138
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
139
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
140
+ * IN THE SOFTWARE.
141
+ */
142
+
143
+ function generate(node, key, rootAttrs) {
144
+ return (0,external_vue_namespaceObject.h)(node.name, _objectSpread(_objectSpread({
145
+ key: key
146
+ }, node.attributes), {}, {
147
+ style: "".concat(node.attributes.style, " ").concat(rootAttrs || '')
148
+ }), (node.elements || []).map(function (element, index) {
149
+ return generate(element, "".concat(key, "-").concat(node.name, "-").concat(index));
150
+ }));
151
+ }
152
+ var bkIcon = function bkIcon(props, context) {
153
+ var _context$attrs$props = _objectSpread(_objectSpread({}, context.attrs), props),
154
+ data = _context$attrs$props.data,
155
+ name = _context$attrs$props.name,
156
+ width = _context$attrs$props.width,
157
+ height = _context$attrs$props.height,
158
+ fill = _context$attrs$props.fill,
159
+ restProps = _objectWithoutProperties(_context$attrs$props, _excluded);
160
+ var rootAttrs = "width: ".concat(width, "; height: ").concat(height, "; fill: ").concat(fill);
161
+ var iconBoxStyle = {
162
+ display: 'inline-flex',
163
+ 'align-items': 'center',
164
+ 'justify-content': 'center'
165
+ };
166
+ return (0,external_vue_namespaceObject.createVNode)("span", (0,external_vue_namespaceObject.mergeProps)({
167
+ "style": iconBoxStyle
168
+ }, restProps), [generate(data, name, rootAttrs)]);
169
+ };
170
+ bkIcon.inheritAttrs = false;
171
+ bkIcon.displayName = 'bkIcon';
172
+ /* harmony default export */ const icon = (bkIcon);
173
+ ;// CONCATENATED MODULE: ../../packages/icon/icons/folder-open.tsx
174
+
175
+
176
+ function folder_open_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
177
+ function folder_open_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? folder_open_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : folder_open_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
178
+
179
+ var data = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M928 320h-35.199999999999996c-15.402666666666665-73.55733333333333-79.744-128-156.75733333333332-128 0 0-0.042666666666666665 0-0.042666666666666665 0h-288v-32c0-53.034666666666666-42.96533333333333-96-96-96h-256c-53.034666666666666 0-96 42.96533333333333-96 96v640c0 88.36266666666667 71.63733333333333 160 160 160h704c0.38399999999999995 0 0.8533333333333333 0 1.3226666666666667 0 51.199999999999996 0 92.88533333333334-40.61866666666666 94.67733333333332-91.34933333333333l64-452.65066666666667c0-53.034666666666666-42.96533333333333-96-96-96zM64 800v-640c0-17.663999999999998 14.336-32 32-32h256c17.663999999999998 0 32 14.336 32 32v64c0 17.663999999999998 14.336 32 32 32h320c41.42933333333333 0.128 76.71466666666666 26.496 90.02666666666666 63.31733333333333l-538.0266666666666 0.6826666666666666c-0.38399999999999995 0-0.8533333333333333 0-1.3226666666666667 0-51.199999999999996 0-92.88533333333334 40.61866666666666-94.67733333333332 91.34933333333333l-64 452.65066666666667c0.128 9.856 1.7493333333333334 19.328 4.650666666666666 28.202666666666666-39.97866666666667-12.842666666666666-68.47999999999999-49.151999999999994-68.65066666666667-92.16zM896 864c0 17.663999999999998-14.336 32-32 32h-640c-0.08533333333333333 0-0.21333333333333332 0-0.29866666666666664 0-16.08533333333333 0-29.39733333333333-11.861333333333334-31.658666666666665-27.349333333333334l64-452.65066666666667c0-17.663999999999998 14.336-32 32-32h640c0.08533333333333333 0 0.21333333333333332 0 0.29866666666666664 0 16.08533333333333 0 29.39733333333333 11.861333333333334 31.658666666666665 27.349333333333334z"}}]}');
180
+ var folderOpen = function folderOpen(props, context) {
181
+ var p = folder_open_objectSpread(folder_open_objectSpread({}, props), context.attrs);
182
+ return (0,external_vue_namespaceObject.createVNode)(icon, (0,external_vue_namespaceObject.mergeProps)(p, {
183
+ "data": data,
184
+ "name": "folderOpen"
185
+ }), null);
186
+ };
187
+ folderOpen.displayName = 'folderOpen';
188
+ folderOpen.inheritAttrs = false;
189
+ /* harmony default export */ const folder_open = (folderOpen);
190
+ var __webpack_exports__default = __webpack_exports__["default"];
191
+ export { __webpack_exports__default as default };
@@ -0,0 +1,191 @@
1
+ import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
2
+ /******/ // The require scope
3
+ /******/ var __webpack_require__ = {};
4
+ /******/
5
+ /************************************************************************/
6
+ /******/ /* webpack/runtime/define property getters */
7
+ /******/ (() => {
8
+ /******/ // define getter functions for harmony exports
9
+ /******/ __webpack_require__.d = (exports, definition) => {
10
+ /******/ for(var key in definition) {
11
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
12
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
13
+ /******/ }
14
+ /******/ }
15
+ /******/ };
16
+ /******/ })();
17
+ /******/
18
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
19
+ /******/ (() => {
20
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
21
+ /******/ })();
22
+ /******/
23
+ /************************************************************************/
24
+ var __webpack_exports__ = {};
25
+
26
+ // EXPORTS
27
+ __webpack_require__.d(__webpack_exports__, {
28
+ "default": () => (/* binding */ folder_shape_open)
29
+ });
30
+
31
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
32
+ function _typeof(o) {
33
+ "@babel/helpers - typeof";
34
+
35
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
36
+ return typeof o;
37
+ } : function (o) {
38
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
39
+ }, _typeof(o);
40
+ }
41
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
42
+
43
+ function toPrimitive(t, r) {
44
+ if ("object" != _typeof(t) || !t) return t;
45
+ var e = t[Symbol.toPrimitive];
46
+ if (void 0 !== e) {
47
+ var i = e.call(t, r || "default");
48
+ if ("object" != _typeof(i)) return i;
49
+ throw new TypeError("@@toPrimitive must return a primitive value.");
50
+ }
51
+ return ("string" === r ? String : Number)(t);
52
+ }
53
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
54
+
55
+
56
+ function toPropertyKey(t) {
57
+ var i = toPrimitive(t, "string");
58
+ return "symbol" == _typeof(i) ? i : String(i);
59
+ }
60
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
61
+
62
+ function _defineProperty(obj, key, value) {
63
+ key = toPropertyKey(key);
64
+ if (key in obj) {
65
+ Object.defineProperty(obj, key, {
66
+ value: value,
67
+ enumerable: true,
68
+ configurable: true,
69
+ writable: true
70
+ });
71
+ } else {
72
+ obj[key] = value;
73
+ }
74
+ return obj;
75
+ }
76
+ ;// CONCATENATED MODULE: external "vue"
77
+ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
78
+ var y = x => () => x
79
+ const external_vue_namespaceObject = x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps });
80
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
81
+ function _objectWithoutPropertiesLoose(source, excluded) {
82
+ if (source == null) return {};
83
+ var target = {};
84
+ var sourceKeys = Object.keys(source);
85
+ var key, i;
86
+ for (i = 0; i < sourceKeys.length; i++) {
87
+ key = sourceKeys[i];
88
+ if (excluded.indexOf(key) >= 0) continue;
89
+ target[key] = source[key];
90
+ }
91
+ return target;
92
+ }
93
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
94
+
95
+ function _objectWithoutProperties(source, excluded) {
96
+ if (source == null) return {};
97
+ var target = _objectWithoutPropertiesLoose(source, excluded);
98
+ var key, i;
99
+ if (Object.getOwnPropertySymbols) {
100
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
101
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
102
+ key = sourceSymbolKeys[i];
103
+ if (excluded.indexOf(key) >= 0) continue;
104
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
105
+ target[key] = source[key];
106
+ }
107
+ }
108
+ return target;
109
+ }
110
+ ;// CONCATENATED MODULE: ../../packages/icon/icons/icon.tsx
111
+
112
+
113
+ var _excluded = ["data", "name", "width", "height", "fill"];
114
+
115
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
116
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
117
+ /*
118
+ * Tencent is pleased to support the open source community by making
119
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
120
+ *
121
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
122
+ *
123
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
124
+ *
125
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
126
+ *
127
+ * ---------------------------------------------------
128
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
129
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
130
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
131
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
132
+ *
133
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
134
+ * the Software.
135
+ *
136
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
137
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
138
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
139
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
140
+ * IN THE SOFTWARE.
141
+ */
142
+
143
+ function generate(node, key, rootAttrs) {
144
+ return (0,external_vue_namespaceObject.h)(node.name, _objectSpread(_objectSpread({
145
+ key: key
146
+ }, node.attributes), {}, {
147
+ style: "".concat(node.attributes.style, " ").concat(rootAttrs || '')
148
+ }), (node.elements || []).map(function (element, index) {
149
+ return generate(element, "".concat(key, "-").concat(node.name, "-").concat(index));
150
+ }));
151
+ }
152
+ var bkIcon = function bkIcon(props, context) {
153
+ var _context$attrs$props = _objectSpread(_objectSpread({}, context.attrs), props),
154
+ data = _context$attrs$props.data,
155
+ name = _context$attrs$props.name,
156
+ width = _context$attrs$props.width,
157
+ height = _context$attrs$props.height,
158
+ fill = _context$attrs$props.fill,
159
+ restProps = _objectWithoutProperties(_context$attrs$props, _excluded);
160
+ var rootAttrs = "width: ".concat(width, "; height: ").concat(height, "; fill: ").concat(fill);
161
+ var iconBoxStyle = {
162
+ display: 'inline-flex',
163
+ 'align-items': 'center',
164
+ 'justify-content': 'center'
165
+ };
166
+ return (0,external_vue_namespaceObject.createVNode)("span", (0,external_vue_namespaceObject.mergeProps)({
167
+ "style": iconBoxStyle
168
+ }, restProps), [generate(data, name, rootAttrs)]);
169
+ };
170
+ bkIcon.inheritAttrs = false;
171
+ bkIcon.displayName = 'bkIcon';
172
+ /* harmony default export */ const icon = (bkIcon);
173
+ ;// CONCATENATED MODULE: ../../packages/icon/icons/folder-shape-open.tsx
174
+
175
+
176
+ function folder_shape_open_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
177
+ function folder_shape_open_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? folder_shape_open_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : folder_shape_open_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
178
+
179
+ var data = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M202.24 421.11999999999995c1.792-56.23466666666667 47.78666666666667-101.12 104.27733333333333-101.12 0.46933333333333327 0 0.9386666666666665 0 1.408 0l568.2346666666666 0c0.17066666666666666 0 0.38399999999999995 0 0.5973333333333333 0 7.082666666666666 0 12.799999999999999-5.717333333333333 12.799999999999999-12.799999999999999 0-1.3653333333333333-0.21333333333333332-2.6879999999999997-0.6399999999999999-3.925333333333333-21.205333333333332-65.024-81.40799999999999-111.27466666666666-152.40533333333332-111.27466666666666-0.17066666666666666 0-0.38399999999999995 0-0.5546666666666666 0h-287.9573333333333v-32c0-53.034666666666666-42.96533333333333-96-96-96h-256c-53.034666666666666 0-96 42.96533333333333-96 96v640c0 0.9813333333333333-0.042666666666666665 2.0906666666666665-0.042666666666666665 3.2426666666666666 0 77.056 54.44266666666667 141.39733333333334 126.976 156.58666666666664 0.896-1.92 0.8106666666666666-4.394666666666666 0.8106666666666666-6.8693333333333335s0.08533333333333333-4.949333333333334 0.256-7.381333333333332z"}},{"type":"element","name":"path","attributes":{"d":"M960 384h-652.16c-22.954666666666668 0-41.599999999999994 18.645333333333333-41.599999999999994 41.599999999999994l-74.24 521.5999999999999c-0.42666666666666664 1.92-0.6399999999999999 4.1386666666666665-0.6399999999999999 6.3999999999999995s0.256 4.4799999999999995 0.6826666666666666 6.613333333333333l703.9573333333333-0.21333333333333332c35.327999999999996 0 64-28.672 64-64l64-448c0-35.327999999999996-28.672-64-64-64z"}}]}');
180
+ var folderShapeOpen = function folderShapeOpen(props, context) {
181
+ var p = folder_shape_open_objectSpread(folder_shape_open_objectSpread({}, props), context.attrs);
182
+ return (0,external_vue_namespaceObject.createVNode)(icon, (0,external_vue_namespaceObject.mergeProps)(p, {
183
+ "data": data,
184
+ "name": "folderShapeOpen"
185
+ }), null);
186
+ };
187
+ folderShapeOpen.displayName = 'folderShapeOpen';
188
+ folderShapeOpen.inheritAttrs = false;
189
+ /* harmony default export */ const folder_shape_open = (folderShapeOpen);
190
+ var __webpack_exports__default = __webpack_exports__["default"];
191
+ export { __webpack_exports__default as default };