@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 */ info_line)
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/info-line.tsx
174
+
175
+
176
+ function info_line_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 info_line_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? info_line_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : info_line_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","class":"bk-icon","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;","overflow":"hidden","viewBox":"0 0 1024 1024"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 64C264 64 64 264 64 512s200 448 448 448 448-200 448-448S760 64 512 64zM512 896C299.2 896 128 724.8 128 512S299.2 128 512 128s384 171.2 384 384S724.8 896 512 896z"}},{"type":"element","name":"path","attributes":{"d":"M494.4 403.2c-28.8 6.4-56 20.8-76.8 41.6-24 22.4 1.6 44.8 16 27.2 9.6-12.8 24-22.4 40-28.8 11.2-1.6 17.6 1.6 19.2 9.6 1.6 14.4 0 27.2-4.8 41.6-4.8 19.2-14.4 51.2-25.6 94.4-22.4 76.8-33.6 124.8-30.4 140.8 3.2 17.6 12.8 32 28.8 41.6 17.6 8 38.4 9.6 57.6 4.8 30.4-6.4 57.6-22.4 80-44.8 25.6-25.6-3.2-43.2-17.6-28.8-9.6 12.8-24 22.4-40 25.6-14.4 3.2-22.4-3.2-25.6-16-1.6-14.4 1.6-28.8 6.4-41.6 40-136 57.6-212.8 52.8-232-3.2-14.4-12.8-27.2-25.6-33.6C532.8 398.4 512 398.4 494.4 403.2z"}},{"type":"element","name":"path","attributes":{"d":"M608 304A48 48 0 0 1 560 352 48 48 0 0 1 512 304 48 48 0 0 1 608 304z"}}]}');
180
+ var infoLine = function infoLine(props, context) {
181
+ var p = info_line_objectSpread(info_line_objectSpread({}, props), context.attrs);
182
+ return (0,external_vue_namespaceObject.createVNode)(icon, (0,external_vue_namespaceObject.mergeProps)(p, {
183
+ "data": data,
184
+ "name": "infoLine"
185
+ }), null);
186
+ };
187
+ infoLine.displayName = 'infoLine';
188
+ infoLine.inheritAttrs = false;
189
+ /* harmony default export */ const info_line = (infoLine);
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 */ icons_info)
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/info.tsx
174
+
175
+
176
+ function info_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 info_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? info_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : info_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","class":"bk-icon","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;","overflow":"hidden","viewBox":"0 0 1024 1024"},"elements":[{"type":"element","name":"path","attributes":{"d":"M512 64A448 448 0 1 1 64 512 448 448 0 0 1 512 64ZM493.92 402.56a156 156 0 0 0-77.12 42.24c-24.32 22.88 1.44 44 16 27.52a82.56 82.56 0 0 1 40.48-28.16c11.04-2.24 17.6 1.28 19.36 10.4A118.88 118.88 0 0 1 488.16 496q-7.2 29.76-26.4 93.92-34.72 116.32-30.08 140.8a54.72 54.72 0 0 0 28.8 40.96 88 88 0 0 0 58.4 5.12 161.76 161.76 0 0 0 80-45.44c25.76-24.96-3.52-43.04-17.28-28a76.32 76.32 0 0 1-39.36 26.08c-14.24 2.88-22.72-2.4-25.28-16A104.96 104.96 0 0 1 522.88 672Q582.24 469.12 576 439.84a46.24 46.24 0 0 0-25.6-33.6A89.6 89.6 0 0 0 493.92 402.56Zm67.84-39.84A49.92 49.92 0 1 0 512 312.96 49.76 49.76 0 0 0 561.76 362.72Z"}}]}');
180
+ var info = function info(props, context) {
181
+ var p = info_objectSpread(info_objectSpread({}, props), context.attrs);
182
+ return (0,external_vue_namespaceObject.createVNode)(icon, (0,external_vue_namespaceObject.mergeProps)(p, {
183
+ "data": data,
184
+ "name": "info"
185
+ }), null);
186
+ };
187
+ info.displayName = 'info';
188
+ info.inheritAttrs = false;
189
+ /* harmony default export */ const icons_info = (info);
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 */ left_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/left-shape.tsx
174
+
175
+
176
+ function left_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 left_shape_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? left_shape_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : left_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":{"d":"M680.96 129.92c-14.08-3.84-30.08-1.2799999999999998-40.31999999999999 7.04l-439.03999999999996 356.48c-12.799999999999999 10.239999999999998-12.799999999999999 26.88 0 37.12l439.03999999999996 356.48c7.04 5.76 16.64 8.959999999999999 26.88 8.959999999999999 4.4799999999999995 0 8.959999999999999-0.6399999999999999 13.44-1.92 14.08-3.84 23.04-14.08 23.04-25.599999999999998v-712.96c0-11.52-8.959999999999999-21.759999999999998-23.04-25.599999999999998z"}}]}');
180
+ var leftShape = function leftShape(props, context) {
181
+ var p = left_shape_objectSpread(left_shape_objectSpread({}, props), context.attrs);
182
+ return (0,external_vue_namespaceObject.createVNode)(icon, (0,external_vue_namespaceObject.mergeProps)(p, {
183
+ "data": data,
184
+ "name": "leftShape"
185
+ }), null);
186
+ };
187
+ leftShape.displayName = 'leftShape';
188
+ leftShape.inheritAttrs = false;
189
+ /* harmony default export */ const left_shape = (leftShape);
190
+ var __webpack_exports__default = __webpack_exports__["default"];
191
+ export { __webpack_exports__default as default };