@blueking/ai-ui-sdk 0.0.15-beta.1 → 0.0.15-beta.10

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 (317) 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 +197 -0
  18. package/dist/component/render-input/render-quill.vue.css +27 -0
  19. package/dist/component/render-input/render-quill.vue.d.ts +24 -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.script.vue.js +7 -0
  44. package/dist/component/render-message/skeleton-message.vue.css +7 -0
  45. package/dist/component/render-message/skeleton-message.vue.d.ts +2 -0
  46. package/dist/component/render-message/skeleton-message.vue.js +6 -0
  47. package/dist/component/render-message/system-message.script.vue.js +17 -0
  48. package/dist/component/render-message/system-message.vue.css +20 -0
  49. package/dist/component/render-message/system-message.vue.d.ts +6 -0
  50. package/dist/component/render-message/system-message.vue.js +5 -0
  51. package/dist/component/render-message/time-message.script.vue.js +41 -0
  52. package/dist/component/render-message/time-message.vue.css +14 -0
  53. package/dist/component/render-message/time-message.vue.d.ts +6 -0
  54. package/dist/component/render-message/time-message.vue.js +5 -0
  55. package/dist/component/render-message/token-expired-message.script.vue.js +78 -0
  56. package/dist/component/render-message/token-expired-message.vue.css +60 -0
  57. package/dist/component/render-message/token-expired-message.vue.d.ts +15 -0
  58. package/dist/component/render-message/token-expired-message.vue.js +5 -0
  59. package/dist/component/render-message/user-message.script.vue.js +241 -0
  60. package/dist/component/render-message/user-message.vue.css +100 -0
  61. package/dist/component/render-message/user-message.vue.d.ts +21 -0
  62. package/dist/component/render-message/user-message.vue.js +5 -0
  63. package/dist/event/index.d.ts +4 -0
  64. package/dist/event/index.js +18 -0
  65. package/dist/hooks/use-chat.d.ts +1 -2
  66. package/dist/hooks/use-chat.js +35 -3
  67. package/dist/hooks/use-mouse-drag.d.ts +13 -0
  68. package/dist/hooks/use-mouse-drag.js +59 -0
  69. package/dist/http/fetch/error-interceptor.js +23 -1
  70. package/dist/http/fetch/index.js +182 -0
  71. package/dist/main.d.ts +5 -0
  72. package/dist/main.js +7 -0
  73. package/dist/node_modules/bkui-vue/lib/icon/angle-double-down-line.js +191 -0
  74. package/dist/node_modules/bkui-vue/lib/icon/angle-double-left-line.js +191 -0
  75. package/dist/node_modules/bkui-vue/lib/icon/angle-double-left.js +191 -0
  76. package/dist/node_modules/bkui-vue/lib/icon/angle-double-right-line.js +191 -0
  77. package/dist/node_modules/bkui-vue/lib/icon/angle-double-right.js +191 -0
  78. package/dist/node_modules/bkui-vue/lib/icon/angle-double-up-line.js +191 -0
  79. package/dist/node_modules/bkui-vue/lib/icon/angle-down-fill.js +191 -0
  80. package/dist/node_modules/bkui-vue/lib/icon/angle-down-line.js +191 -0
  81. package/dist/node_modules/bkui-vue/lib/icon/angle-down.js +191 -0
  82. package/dist/node_modules/bkui-vue/lib/icon/angle-left.js +191 -0
  83. package/dist/node_modules/bkui-vue/lib/icon/angle-right.js +191 -0
  84. package/dist/node_modules/bkui-vue/lib/icon/angle-up-fill.js +191 -0
  85. package/dist/node_modules/bkui-vue/lib/icon/angle-up.js +191 -0
  86. package/dist/node_modules/bkui-vue/lib/icon/archive-fill.js +191 -0
  87. package/dist/node_modules/bkui-vue/lib/icon/arrows-left.js +191 -0
  88. package/dist/node_modules/bkui-vue/lib/icon/arrows-right.js +191 -0
  89. package/dist/node_modules/bkui-vue/lib/icon/assistant.js +191 -0
  90. package/dist/node_modules/bkui-vue/lib/icon/audio-fill.js +191 -0
  91. package/dist/node_modules/bkui-vue/lib/icon/bk.js +191 -0
  92. package/dist/node_modules/bkui-vue/lib/icon/circle.js +191 -0
  93. package/dist/node_modules/bkui-vue/lib/icon/close-line.js +191 -0
  94. package/dist/node_modules/bkui-vue/lib/icon/close.js +191 -0
  95. package/dist/node_modules/bkui-vue/lib/icon/code.js +191 -0
  96. package/dist/node_modules/bkui-vue/lib/icon/cog-shape.js +191 -0
  97. package/dist/node_modules/bkui-vue/lib/icon/collapse-left.js +191 -0
  98. package/dist/node_modules/bkui-vue/lib/icon/copy-shape.js +191 -0
  99. package/dist/node_modules/bkui-vue/lib/icon/copy.js +191 -0
  100. package/dist/node_modules/bkui-vue/lib/icon/data-shape.js +191 -0
  101. package/dist/node_modules/bkui-vue/lib/icon/del.js +191 -0
  102. package/dist/node_modules/bkui-vue/lib/icon/doc-fill.js +191 -0
  103. package/dist/node_modules/bkui-vue/lib/icon/done.js +191 -0
  104. package/dist/node_modules/bkui-vue/lib/icon/down-shape.js +191 -0
  105. package/dist/node_modules/bkui-vue/lib/icon/down-small.js +191 -0
  106. package/dist/node_modules/bkui-vue/lib/icon/edit-line.js +191 -0
  107. package/dist/node_modules/bkui-vue/lib/icon/ellipsis.js +191 -0
  108. package/dist/node_modules/bkui-vue/lib/icon/enlarge-line.js +191 -0
  109. package/dist/node_modules/bkui-vue/lib/icon/error.js +191 -0
  110. package/dist/node_modules/bkui-vue/lib/icon/excel-fill.js +191 -0
  111. package/dist/node_modules/bkui-vue/lib/icon/exclamation-circle-shape.js +191 -0
  112. package/dist/node_modules/bkui-vue/lib/icon/eye.js +191 -0
  113. package/dist/node_modules/bkui-vue/lib/icon/filliscreen-line.js +191 -0
  114. package/dist/node_modules/bkui-vue/lib/icon/fix-line.js +191 -0
  115. package/dist/node_modules/bkui-vue/lib/icon/fix-shape.js +191 -0
  116. package/dist/node_modules/bkui-vue/lib/icon/folder-open.js +191 -0
  117. package/dist/node_modules/bkui-vue/lib/icon/folder-shape-open.js +191 -0
  118. package/dist/node_modules/bkui-vue/lib/icon/folder-shape.js +191 -0
  119. package/dist/node_modules/bkui-vue/lib/icon/folder.js +191 -0
  120. package/dist/node_modules/bkui-vue/lib/icon/funnel.js +191 -0
  121. package/dist/node_modules/bkui-vue/lib/icon/grag-fill.js +191 -0
  122. package/dist/node_modules/bkui-vue/lib/icon/help-document-fill.js +191 -0
  123. package/dist/node_modules/bkui-vue/lib/icon/help-fill.js +191 -0
  124. package/dist/node_modules/bkui-vue/lib/icon/help.js +191 -0
  125. package/dist/node_modules/bkui-vue/lib/icon/image-fill.js +191 -0
  126. package/dist/node_modules/bkui-vue/lib/icon/img-error.js +191 -0
  127. package/dist/node_modules/bkui-vue/lib/icon/img-placehoulder.js +191 -0
  128. package/dist/node_modules/bkui-vue/lib/icon/index.js +113 -0
  129. package/dist/node_modules/bkui-vue/lib/icon/info-line.js +191 -0
  130. package/dist/node_modules/bkui-vue/lib/icon/info.js +191 -0
  131. package/dist/node_modules/bkui-vue/lib/icon/left-shape.js +191 -0
  132. package/dist/node_modules/bkui-vue/lib/icon/left-turn-line.js +191 -0
  133. package/dist/node_modules/bkui-vue/lib/icon/loading.js +191 -0
  134. package/dist/node_modules/bkui-vue/lib/icon/narrow-line.js +191 -0
  135. package/dist/node_modules/bkui-vue/lib/icon/original.js +191 -0
  136. package/dist/node_modules/bkui-vue/lib/icon/pdf-fill.js +191 -0
  137. package/dist/node_modules/bkui-vue/lib/icon/play-shape.js +191 -0
  138. package/dist/node_modules/bkui-vue/lib/icon/plus.js +191 -0
  139. package/dist/node_modules/bkui-vue/lib/icon/ppt-fill.js +191 -0
  140. package/dist/node_modules/bkui-vue/lib/icon/qq.js +191 -0
  141. package/dist/node_modules/bkui-vue/lib/icon/right-shape.js +191 -0
  142. package/dist/node_modules/bkui-vue/lib/icon/right-turn-line.js +191 -0
  143. package/dist/node_modules/bkui-vue/lib/icon/search.js +191 -0
  144. package/dist/node_modules/bkui-vue/lib/icon/share.js +191 -0
  145. package/dist/node_modules/bkui-vue/lib/icon/spinner.js +191 -0
  146. package/dist/node_modules/bkui-vue/lib/icon/success.js +191 -0
  147. package/dist/node_modules/bkui-vue/lib/icon/switcher-loading.js +191 -0
  148. package/dist/node_modules/bkui-vue/lib/icon/text-all.js +191 -0
  149. package/dist/node_modules/bkui-vue/lib/icon/text-file.js +191 -0
  150. package/dist/node_modules/bkui-vue/lib/icon/text-fill.js +191 -0
  151. package/dist/node_modules/bkui-vue/lib/icon/transfer.js +191 -0
  152. package/dist/node_modules/bkui-vue/lib/icon/tree-application-shape.js +191 -0
  153. package/dist/node_modules/bkui-vue/lib/icon/unfull-screen.js +191 -0
  154. package/dist/node_modules/bkui-vue/lib/icon/unvisible.js +191 -0
  155. package/dist/node_modules/bkui-vue/lib/icon/up-shape.js +191 -0
  156. package/dist/node_modules/bkui-vue/lib/icon/upload.js +191 -0
  157. package/dist/node_modules/bkui-vue/lib/icon/video-fill.js +191 -0
  158. package/dist/node_modules/bkui-vue/lib/icon/warn.js +191 -0
  159. package/dist/node_modules/bkui-vue/lib/icon/weixin-pro.js +191 -0
  160. package/dist/node_modules/bkui-vue/lib/icon/weixin.js +191 -0
  161. package/dist/node_modules/bkui-vue/lib/styles/reset.css +439 -0
  162. package/dist/node_modules/call-bind/index.js +24 -0
  163. package/dist/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
  164. package/dist/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
  165. package/dist/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
  166. package/dist/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
  167. package/dist/node_modules/call-bind-apply-helpers/index.js +15 -0
  168. package/dist/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
  169. package/dist/node_modules/call-bound/index.js +19 -0
  170. package/dist/node_modules/deep-equal/index.js +112 -0
  171. package/dist/node_modules/define-data-property/index.js +56 -0
  172. package/dist/node_modules/define-properties/index.js +47 -0
  173. package/dist/node_modules/dunder-proto/get.js +30 -0
  174. package/dist/node_modules/es-define-property/index.js +14 -0
  175. package/dist/node_modules/es-errors/eval.js +4 -0
  176. package/dist/node_modules/es-errors/index.js +4 -0
  177. package/dist/node_modules/es-errors/range.js +4 -0
  178. package/dist/node_modules/es-errors/ref.js +4 -0
  179. package/dist/node_modules/es-errors/syntax.js +4 -0
  180. package/dist/node_modules/es-errors/type.js +4 -0
  181. package/dist/node_modules/es-errors/uri.js +4 -0
  182. package/dist/node_modules/es-object-atoms/index.js +4 -0
  183. package/dist/node_modules/extend/index.js +117 -0
  184. package/dist/node_modules/fast-diff/diff.js +738 -0
  185. package/dist/node_modules/function-bind/implementation.js +84 -0
  186. package/dist/node_modules/function-bind/index.js +5 -0
  187. package/dist/node_modules/functions-have-names/index.js +31 -0
  188. package/dist/node_modules/get-intrinsic/index.js +378 -0
  189. package/dist/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
  190. package/dist/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
  191. package/dist/node_modules/get-proto/index.js +27 -0
  192. package/dist/node_modules/gopd/gOPD.js +4 -0
  193. package/dist/node_modules/gopd/index.js +15 -0
  194. package/dist/node_modules/has-property-descriptors/index.js +22 -0
  195. package/dist/node_modules/has-symbols/index.js +14 -0
  196. package/dist/node_modules/has-symbols/shams.js +45 -0
  197. package/dist/node_modules/has-tostringtag/shams.js +8 -0
  198. package/dist/node_modules/hasown/index.js +8 -0
  199. package/dist/node_modules/is-arguments/index.js +44 -0
  200. package/dist/node_modules/is-date-object/index.js +27 -0
  201. package/dist/node_modules/is-regex/index.js +69 -0
  202. package/dist/node_modules/math-intrinsics/abs.js +4 -0
  203. package/dist/node_modules/math-intrinsics/floor.js +4 -0
  204. package/dist/node_modules/math-intrinsics/isNaN.js +6 -0
  205. package/dist/node_modules/math-intrinsics/max.js +4 -0
  206. package/dist/node_modules/math-intrinsics/min.js +4 -0
  207. package/dist/node_modules/math-intrinsics/pow.js +4 -0
  208. package/dist/node_modules/math-intrinsics/round.js +4 -0
  209. package/dist/node_modules/math-intrinsics/sign.js +11 -0
  210. package/dist/node_modules/object-is/implementation.js +19 -0
  211. package/dist/node_modules/object-is/index.js +18 -0
  212. package/dist/node_modules/object-is/polyfill.js +7 -0
  213. package/dist/node_modules/object-is/shim.js +14 -0
  214. package/dist/node_modules/object-keys/implementation.js +122 -0
  215. package/dist/node_modules/object-keys/index.js +32 -0
  216. package/dist/node_modules/object-keys/isArguments.js +17 -0
  217. package/dist/node_modules/quill/dist/quill.js +11562 -0
  218. package/dist/node_modules/quill/dist/quill.snow.css +945 -0
  219. package/dist/node_modules/quill-delta/lib/delta.js +344 -0
  220. package/dist/node_modules/quill-delta/lib/op.js +155 -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 +1150 -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 +8 -0
  315. package/dist/types/enum.js +10 -0
  316. package/dist/types/model.d.ts +14 -0
  317. package/package.json +10 -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 */ img_error)
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/img-error.tsx
174
+
175
+
176
+ function img_error_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 img_error_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? img_error_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : img_error_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":"M752 512A176 176 0 1 0 928 688 176 176 0 0 0 752 512Zm0 299.2a30.88 30.88 0 1 1 30.88-30.88A30.72 30.72 0 0 1 752 811.2Zm16.96-92.32a17.12 17.12 0 0 1-33.92 0s-13.76-118.72-13.76-123.2a30.88 30.88 0 1 1 61.6 0C782.88 600.16 768.96 718.88 768.96 718.88Z"}},{"type":"element","name":"path","attributes":{"d":"M800 176H480l-44.32 89.44-23.36 89.44-70.24 85.6 30.88-85.6-46.88-89.44L336 240h0v-0.96L359.52 176H160a96 96 0 0 0-96 96V752a96 96 0 0 0 96 96H573.44A238.88 238.88 0 0 1 512 688a243.2 243.2 0 0 1 8.16-61.44L356.8 519.84a46.72 46.72 0 0 0-70.72 2.56L128 656V272a32 32 0 0 1 32-32h118.4L272 283.36l70.08 71.52L327.36 480l108.32-107.36L530.4 240H800a32 32 0 0 1 32 32V461.92A241.92 241.92 0 0 1 896 496V272A96 96 0 0 0 800 176Z"}},{"type":"element","name":"path","attributes":{"d":"M720 400A80 80 0 0 1 640 480 80 80 0 0 1 560 400 80 80 0 0 1 720 400z"}}]}');
180
+ var imgError = function imgError(props, context) {
181
+ var p = img_error_objectSpread(img_error_objectSpread({}, props), context.attrs);
182
+ return (0,external_vue_namespaceObject.createVNode)(icon, (0,external_vue_namespaceObject.mergeProps)(p, {
183
+ "data": data,
184
+ "name": "imgError"
185
+ }), null);
186
+ };
187
+ imgError.displayName = 'imgError';
188
+ imgError.inheritAttrs = false;
189
+ /* harmony default export */ const img_error = (imgError);
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 */ img_placehoulder)
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/img-placehoulder.tsx
174
+
175
+
176
+ function img_placehoulder_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 img_placehoulder_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? img_placehoulder_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : img_placehoulder_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":"M864 176H160a96 96 0 0 0-96 96V752a96 96 0 0 0 96 96H864a96 96 0 0 0 96-96V272A96 96 0 0 0 864 176ZM128 272a32 32 0 0 1 32-32H864a32 32 0 0 1 32 32V688l-144-114.72a57.76 57.76 0 0 0-56.32 0L592 672 356.8 439.84a46.72 46.72 0 0 0-70.72 2.56L128 656Z"}},{"type":"element","name":"path","attributes":{"d":"M752 400A96 96 0 0 1 656 496 96 96 0 0 1 560 400 96 96 0 0 1 752 400z"}}]}');
180
+ var imgPlacehoulder = function imgPlacehoulder(props, context) {
181
+ var p = img_placehoulder_objectSpread(img_placehoulder_objectSpread({}, props), context.attrs);
182
+ return (0,external_vue_namespaceObject.createVNode)(icon, (0,external_vue_namespaceObject.mergeProps)(p, {
183
+ "data": data,
184
+ "name": "imgPlacehoulder"
185
+ }), null);
186
+ };
187
+ imgPlacehoulder.displayName = 'imgPlacehoulder';
188
+ imgPlacehoulder.inheritAttrs = false;
189
+ /* harmony default export */ const img_placehoulder = (imgPlacehoulder);
190
+ var __webpack_exports__default = __webpack_exports__["default"];
191
+ export { __webpack_exports__default as default };
@@ -0,0 +1,113 @@
1
+ import '../styles/reset.css';
2
+ /*
3
+ * Tencent is pleased to support the open source community by making
4
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
5
+ *
6
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
7
+ *
8
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
9
+ *
10
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
11
+ *
12
+ * ---------------------------------------------------
13
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
14
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
15
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
16
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
17
+ *
18
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
19
+ * the Software.
20
+ *
21
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
22
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
24
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
25
+ * IN THE SOFTWARE.
26
+ */
27
+ export { default as AngleDoubleDownLine } from './angle-double-down-line.js';
28
+ export { default as AngleDoubleLeft } from './angle-double-left.js';
29
+ export { default as AngleDoubleLeftLine } from './angle-double-left-line.js';
30
+ export { default as AngleDoubleRight } from './angle-double-right.js';
31
+ export { default as AngleDoubleRightLine } from './angle-double-right-line.js';
32
+ export { default as AngleDoubleUpLine } from './angle-double-up-line.js';
33
+ export { default as AngleDown } from './angle-down.js';
34
+ export { default as AngleDownFill } from './angle-down-fill.js';
35
+ export { default as AngleDownLine } from './angle-down-line.js';
36
+ export { default as AngleLeft } from './angle-left.js';
37
+ export { default as AngleRight } from './angle-right.js';
38
+ export { default as AngleUp } from './angle-up.js';
39
+ export { default as AngleUpFill } from './angle-up-fill.js';
40
+ export { default as ArchiveFill } from './archive-fill.js';
41
+ export { default as ArrowsLeft } from './arrows-left.js';
42
+ export { default as ArrowsRight } from './arrows-right.js';
43
+ export { default as Assistant } from './assistant.js';
44
+ export { default as AudioFill } from './audio-fill.js';
45
+ export { default as Bk } from './bk.js';
46
+ export { default as Circle } from './circle.js';
47
+ export { default as Close } from './close.js';
48
+ export { default as CloseLine } from './close-line.js';
49
+ export { default as Code } from './code.js';
50
+ export { default as CogShape } from './cog-shape.js';
51
+ export { default as CollapseLeft } from './collapse-left.js';
52
+ export { default as Copy } from './copy.js';
53
+ export { default as CopyShape } from './copy-shape.js';
54
+ export { default as DataShape } from './data-shape.js';
55
+ export { default as Del } from './del.js';
56
+ export { default as DocFill } from './doc-fill.js';
57
+ export { default as Done } from './done.js';
58
+ export { default as DownShape } from './down-shape.js';
59
+ export { default as DownSmall } from './down-small.js';
60
+ export { default as EditLine } from './edit-line.js';
61
+ export { default as Ellipsis } from './ellipsis.js';
62
+ export { default as EnlargeLine } from './enlarge-line.js';
63
+ export { default as Error } from './error.js';
64
+ export { default as ExcelFill } from './excel-fill.js';
65
+ export { default as ExclamationCircleShape } from './exclamation-circle-shape.js';
66
+ export { default as Eye } from './eye.js';
67
+ export { default as FilliscreenLine } from './filliscreen-line.js';
68
+ export { default as FixLine } from './fix-line.js';
69
+ export { default as FixShape } from './fix-shape.js';
70
+ export { default as Folder } from './folder.js';
71
+ export { default as FolderOpen } from './folder-open.js';
72
+ export { default as FolderShape } from './folder-shape.js';
73
+ export { default as FolderShapeOpen } from './folder-shape-open.js';
74
+ export { default as Funnel } from './funnel.js';
75
+ export { default as GragFill } from './grag-fill.js';
76
+ export { default as Help } from './help.js';
77
+ export { default as HelpDocumentFill } from './help-document-fill.js';
78
+ export { default as HelpFill } from './help-fill.js';
79
+ export { default as ImageFill } from './image-fill.js';
80
+ export { default as ImgError } from './img-error.js';
81
+ export { default as ImgPlacehoulder } from './img-placehoulder.js';
82
+ export { default as Info } from './info.js';
83
+ export { default as InfoLine } from './info-line.js';
84
+ export { default as LeftShape } from './left-shape.js';
85
+ export { default as LeftTurnLine } from './left-turn-line.js';
86
+ export { default as Loading } from './loading.js';
87
+ export { default as NarrowLine } from './narrow-line.js';
88
+ export { default as Original } from './original.js';
89
+ export { default as PdfFill } from './pdf-fill.js';
90
+ export { default as PlayShape } from './play-shape.js';
91
+ export { default as Plus } from './plus.js';
92
+ export { default as PptFill } from './ppt-fill.js';
93
+ export { default as Qq } from './qq.js';
94
+ export { default as RightShape } from './right-shape.js';
95
+ export { default as RightTurnLine } from './right-turn-line.js';
96
+ export { default as Search } from './search.js';
97
+ export { default as Share } from './share.js';
98
+ export { default as Spinner } from './spinner.js';
99
+ export { default as Success } from './success.js';
100
+ export { default as SwitcherLoading } from './switcher-loading.js';
101
+ export { default as TextAll } from './text-all.js';
102
+ export { default as TextFile } from './text-file.js';
103
+ export { default as TextFill } from './text-fill.js';
104
+ export { default as Transfer } from './transfer.js';
105
+ export { default as TreeApplicationShape } from './tree-application-shape.js';
106
+ export { default as UnfullScreen } from './unfull-screen.js';
107
+ export { default as Unvisible } from './unvisible.js';
108
+ export { default as UpShape } from './up-shape.js';
109
+ export { default as Upload } from './upload.js';
110
+ export { default as VideoFill } from './video-fill.js';
111
+ export { default as Warn } from './warn.js';
112
+ export { default as Weixin } from './weixin.js';
113
+ export { default as WeixinPro } from './weixin-pro.js';