vue-devui 1.5.5 → 1.5.7

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 (142) hide show
  1. package/action-timeline/style.css +1 -1
  2. package/alert/index.es.js +3 -3
  3. package/alert/index.umd.js +1 -1
  4. package/alert/style.css +1 -1
  5. package/auto-complete/index.es.js +27 -9
  6. package/auto-complete/index.umd.js +19 -1
  7. package/auto-complete/style.css +1 -1
  8. package/avatar/index.es.js +77 -3
  9. package/avatar/index.umd.js +75 -1
  10. package/badge/style.css +1 -1
  11. package/breadcrumb/style.css +1 -1
  12. package/button/style.css +1 -1
  13. package/card/style.css +1 -1
  14. package/carousel/style.css +1 -1
  15. package/checkbox/index.es.js +27 -9
  16. package/checkbox/index.umd.js +19 -1
  17. package/checkbox/style.css +1 -1
  18. package/code-editor/index.es.js +29 -14
  19. package/code-editor/index.umd.js +7 -7
  20. package/code-review/index.es.js +6229 -23
  21. package/code-review/index.umd.js +38 -1
  22. package/code-review/style.css +1 -1
  23. package/collapse/index.es.js +5 -1
  24. package/collapse/index.umd.js +5 -1
  25. package/collapse/style.css +1 -1
  26. package/date-picker-pro/index.es.js +54 -11
  27. package/date-picker-pro/index.umd.js +44 -1
  28. package/date-picker-pro/style.css +1 -1
  29. package/drawer/style.css +1 -1
  30. package/dropdown/style.css +1 -1
  31. package/echarts/index.es.js +395 -0
  32. package/echarts/index.umd.js +1 -0
  33. package/echarts/package.json +8 -0
  34. package/editable-select/style.css +1 -1
  35. package/editor-md/index.es.js +2 -1
  36. package/editor-md/index.umd.js +30 -30
  37. package/editor-md/style.css +1 -1
  38. package/form/index.es.js +27 -9
  39. package/form/index.umd.js +22 -4
  40. package/form/style.css +1 -1
  41. package/global.d.ts +3 -1
  42. package/icon/style.css +1 -1
  43. package/image-preview/index.es.js +34 -9
  44. package/image-preview/index.umd.js +26 -1
  45. package/image-preview/style.css +1 -1
  46. package/input/index.es.js +27 -9
  47. package/input/index.umd.js +19 -1
  48. package/input/style.css +1 -1
  49. package/input-number/index.es.js +36 -11
  50. package/input-number/index.umd.js +33 -9
  51. package/input-number/style.css +1 -1
  52. package/mention/index.es.js +27 -9
  53. package/mention/index.umd.js +19 -1
  54. package/mention/style.css +1 -1
  55. package/menu/index.es.js +1 -0
  56. package/menu/index.umd.js +1 -1
  57. package/menu/style.css +1 -1
  58. package/message/style.css +1 -1
  59. package/modal/style.css +1 -1
  60. package/notification/index.es.js +11 -4
  61. package/notification/index.umd.js +8 -1
  62. package/notification/style.css +1 -1
  63. package/nuxt/components/CodeReviewInjectionKey.js +3 -0
  64. package/nuxt/components/DChart.js +2 -0
  65. package/nuxt/components/devuiChartProps.js +2 -0
  66. package/overlay/style.css +1 -1
  67. package/package.json +10 -8
  68. package/pagination/index.es.js +34 -13
  69. package/pagination/index.umd.js +22 -1
  70. package/pagination/style.css +1 -1
  71. package/panel/style.css +1 -1
  72. package/popover/index.es.js +12 -4
  73. package/popover/index.umd.js +9 -1
  74. package/popover/style.css +1 -1
  75. package/progress/index.es.js +1 -0
  76. package/progress/index.umd.js +2 -2
  77. package/radio/index.es.js +27 -9
  78. package/radio/index.umd.js +30 -12
  79. package/radio/style.css +1 -1
  80. package/rate/index.es.js +2 -2
  81. package/rate/index.umd.js +1 -1
  82. package/result/style.css +1 -1
  83. package/search/index.es.js +31 -11
  84. package/search/index.umd.js +21 -1
  85. package/search/style.css +1 -1
  86. package/select/index.es.js +32 -11
  87. package/select/index.umd.js +22 -1
  88. package/select/style.css +1 -1
  89. package/skeleton/index.es.js +17 -1
  90. package/skeleton/index.umd.js +17 -1
  91. package/slider/index.es.js +1 -0
  92. package/slider/index.umd.js +1 -1
  93. package/slider/style.css +1 -1
  94. package/splitter/index.es.js +1 -0
  95. package/splitter/index.umd.js +9 -9
  96. package/splitter/style.css +1 -1
  97. package/status/style.css +1 -1
  98. package/steps/style.css +1 -1
  99. package/style.css +1 -1
  100. package/switch/index.es.js +27 -9
  101. package/switch/index.umd.js +25 -7
  102. package/switch/style.css +1 -1
  103. package/table/index.es.js +28 -9
  104. package/table/index.umd.js +27 -9
  105. package/table/style.css +1 -1
  106. package/tabs/style.css +1 -1
  107. package/tag/style.css +1 -1
  108. package/textarea/index.es.js +27 -9
  109. package/textarea/index.umd.js +19 -1
  110. package/textarea/style.css +1 -1
  111. package/time-picker/index.es.js +27 -9
  112. package/time-picker/index.umd.js +19 -1
  113. package/time-picker/style.css +1 -1
  114. package/time-select/index.es.js +32 -11
  115. package/time-select/index.umd.js +27 -6
  116. package/time-select/style.css +1 -1
  117. package/timeline/style.css +1 -1
  118. package/tooltip/style.css +1 -1
  119. package/tree/index.es.js +28 -9
  120. package/tree/index.umd.js +26 -8
  121. package/tree/style.css +1 -1
  122. package/types/avatar/src/components/icon-nobody.d.ts +1 -1
  123. package/types/code-editor/src/code-highlight-directive.d.ts +5 -0
  124. package/types/code-review/src/code-review-types.d.ts +12 -1
  125. package/types/code-review/src/code-review.d.ts +10 -2
  126. package/types/code-review/src/components/code-review-header.d.ts +2 -0
  127. package/types/code-review/src/components/code-review-icons.d.ts +2 -0
  128. package/types/code-review/src/composables/use-code-review-header.d.ts +6 -0
  129. package/types/code-review/src/composables/use-code-review.d.ts +3 -1
  130. package/types/echarts/index.d.ts +11 -0
  131. package/types/echarts/src/echarts-theme.d.ts +351 -0
  132. package/types/echarts/src/echarts-types.d.ts +8 -0
  133. package/types/echarts/src/echarts.d.ts +16 -0
  134. package/types/shared/utils/index.d.ts +1 -0
  135. package/types/shared/utils/to-clipboard.d.ts +1 -0
  136. package/types/timeline/src/components/timeline-item.d.ts +1 -1
  137. package/types/vue-devui.d.ts +2 -1
  138. package/upload/index.es.js +11 -4
  139. package/upload/index.umd.js +8 -1
  140. package/upload/style.css +1 -1
  141. package/vue-devui.es.js +799 -71
  142. package/vue-devui.umd.js +220 -37
package/vue-devui.es.js CHANGED
@@ -35,9 +35,11 @@ var __publicField = (obj, key, value) => {
35
35
  };
36
36
  import { createVNode, getCurrentInstance, defineComponent, toRefs, inject, computed, Fragment, mergeProps, resolveComponent, isVNode, ref, reactive, createTextVNode, provide, onMounted, watch, Transition, withDirectives, vShow, nextTick, onUnmounted, unref, withModifiers, Comment as Comment$1, Text, h, cloneVNode, Teleport, onBeforeUnmount, render as render$1, resolveDirective, resolveDynamicComponent, toRef, shallowRef, onBeforeMount, onUpdated, readonly, toRaw, watchEffect, renderSlot, useSlots, createApp, shallowReactive, effect, TransitionGroup } from "vue";
37
37
  import { useRoute } from "vue-router";
38
+ import Clipboard from "clipboard";
38
39
  import { offset, autoPlacement, arrow, shift, computePosition, flip } from "@floating-ui/dom";
39
- import { onClickOutside, useResizeObserver } from "@vueuse/core";
40
+ import { onClickOutside, toRefs as toRefs$1, useResizeObserver } from "@vueuse/core";
40
41
  import * as Diff2Html from "diff2html";
42
+ import * as echarts from "echarts";
41
43
  import * as hljs from "highlight.js";
42
44
  import MarkdownIt from "markdown-it";
43
45
  import { getDefaultWhiteList, getDefaultCSSWhiteList, filterXSS } from "xss";
@@ -102,7 +104,11 @@ const OpenIcon = () => {
102
104
  "fill": "none",
103
105
  "fill-rule": "evenodd"
104
106
  }, [createVNode("path", {
105
- "d": "M12.1464466,6.85355339 L8.35355339,10.6464466 C8.15829124,10.8417088 7.84170876,10.8417088 7.64644661,10.6464466 L3.85355339,6.85355339 C3.65829124,6.65829124 3.65829124,6.34170876 3.85355339,6.14644661 C3.94732158,6.05267842 4.07449854,6 4.20710678,6 L11.7928932,6 C12.0690356,6 12.2928932,6.22385763 12.2928932,6.5 C12.2928932,6.63260824 12.2402148,6.7597852 12.1464466,6.85355339 Z",
107
+ "d": `M12.1464466,6.85355339 L8.35355339,10.6464466 C8.15829124,10.8417088
108
+ 7.84170876,10.8417088 7.64644661,10.6464466 L3.85355339,6.85355339 C3.65829124,6.65829124
109
+ 3.65829124,6.34170876 3.85355339,6.14644661 C3.94732158,6.05267842 4.07449854,6 4.20710678,6
110
+ L11.7928932,6 C12.0690356,6 12.2928932,6.22385763 12.2928932,6.5 C12.2928932,6.63260824
111
+ 12.2402148,6.7597852 12.1464466,6.85355339 Z`,
106
112
  "fill-rule": "nonzero"
107
113
  }, null)])]);
108
114
  };
@@ -1131,7 +1137,7 @@ const AlertCloseIcon = () => createVNode("svg", {
1131
1137
  "transform": "translate(-3.000000, -3.000000)",
1132
1138
  "fill-rule": "nonzero"
1133
1139
  }, [createVNode("path", {
1134
- "d": "M11.6426,3.19816936 C11.9239974,2.91574512 12.4131626,2.93784891 12.7352108,3.24751057 C13.0571998,3.5572302 13.0901298,4.03723416 12.8087324,4.31965839 L9.14064666,7.99900183 L12.8087324,11.6803416 C13.0645482,11.9370909 13.0605893,12.3571292 12.8158402,12.6640749 L12.7352108,12.7524894 C12.4131626,13.0621511 11.9239974,13.0842548 11.6426,12.8018306 L8,9.14489021 L4.35740003,12.8018306 C4.10158422,13.05858 3.6740594,13.0636532 3.35648225,12.8298003 L3.26478919,12.7524894 C2.94280021,12.4427698 2.90987023,11.9627658 3.19126762,11.6803416 L6.8583349,7.99900183 L3.19126762,4.31965839 C2.93545181,4.06290908 2.93941068,3.64287076 3.18415975,3.3359251 L3.26478919,3.24751057 C3.58683735,2.93784891 4.07600264,2.91574512 4.35740003,3.19816936 L8,6.85411161 L11.6426,3.19816936 Z"
1140
+ "d": "M11.6426,3.19816936 C11.9239974,2.91574512 12.4131626,2.93784891 12.7352108,3.24751057 C13.0571998,3.5572302 13.0901298,4.03723416 12.8087324,4.31965839 L9.14064666,7.99900183 L12.8087324,11.6803416 C13.0645482,11.9370909 13.0605893,12.3571292 12.8158402,12.6640749 L12.7352108,12.7524894 C12.4131626,13.0621511 11.9239974,13.0842548 11.6426,12.8018306 L8,9.14489021 L4.35740003,12.8018306 C4.10158422,13.05858 3.6740594,13.0636532 3.35648225,12.8298003 L3.26478919,12.7524894 C2.94280021,12.4427698 2.90987023,11.9627658 3.19126762,11.6803416 L6.8583349,7.99900183 L3.19126762,4.31965839 C2.93545181,4.06290908 2.93941068,3.64287076 3.18415975,3.3359251 L3.26478919,3.24751057 C3.58683735,2.93784891 4.07600264,2.91574512 4.35740003,3.19816936 L8,6.85411161 L11.6426,3.19816936 Z"
1135
1141
  }, null)])])]);
1136
1142
  const ns$k = useNamespace("alert");
1137
1143
  const AlertTypeIcon = (props) => createVNode("svg", {
@@ -1165,12 +1171,12 @@ const AlertTypeIcon = (props) => createVNode("svg", {
1165
1171
  "fill-rule": "evenodd"
1166
1172
  }, [createVNode("path", {
1167
1173
  "class": "warning-outer",
1168
- "d": "M8.96244623,0.57254229 L15.8714442,13.4101975 C16.1549662,13.9370117 15.9538562,14.5918482 15.4222523,14.8728158 C15.2642579,14.9563203 15.0879506,15 14.9088903,15 L1.09089441,15 C0.488410063,15 0,14.5159904 0,13.9189343 C0,13.7414873 0.0440768395,13.5667684 0.128340519,13.4101975 L7.03733844,0.57254229 C7.32086049,0.0457280838 7.98165058,-0.153569987 8.51325441,0.127397589 C8.70423071,0.228333932 8.8605922,0.383286648 8.96244623,0.57254229 Z"
1174
+ "d": "M8.96244623,0.57254229 L15.8714442,13.4101975 C16.1549662,13.9370117 15.9538562,14.5918482 15.4222523,14.8728158 C15.2642579,14.9563203 15.0879506,15 14.9088903,15 L1.09089441,15 C0.488410063,15 0,14.5159904 0,13.9189343 C0,13.7414873 0.0440768395,13.5667684 0.128340519,13.4101975 L7.03733844,0.57254229 C7.32086049,0.0457280838 7.98165058,-0.153569987 8.51325441,0.127397589 C8.70423071,0.228333932 8.8605922,0.383286648 8.96244623,0.57254229 Z"
1169
1175
  }, null), createVNode("path", {
1170
1176
  "class": "warning-inner",
1171
1177
  "stroke-width": "0.3",
1172
1178
  "fill-rule": "nonzero",
1173
- "d": "M8.87894737,13 L7.08947368,13 L7.08947368,11.2105263 L8.87894737,11.2105263 L8.87894737,13 Z M8.62102372,9.86842105 L7.32800539,9.86842105 L7,4.5 L8.96842105,4.5 L8.62102372,9.86842105 Z"
1179
+ "d": "M8.87894737,13 L7.08947368,13 L7.08947368,11.2105263 L8.87894737,11.2105263 L8.87894737,13 Z M8.62102372,9.86842105 L7.32800539,9.86842105 L7,4.5 L8.96842105,4.5 L8.62102372,9.86842105 Z"
1174
1180
  }, null)]);
1175
1181
  case "info":
1176
1182
  return createVNode("g", {
@@ -1541,6 +1547,26 @@ function randomId(n = 8) {
1541
1547
  }
1542
1548
  return result2;
1543
1549
  }
1550
+ function toClipboard(text) {
1551
+ return new Promise((resolve, reject) => {
1552
+ const ele = document.createElement("button");
1553
+ const clipboard = new Clipboard(ele, {
1554
+ text: () => text,
1555
+ action: () => "copy"
1556
+ });
1557
+ clipboard.on("success", (e) => {
1558
+ clipboard.destroy();
1559
+ resolve(e);
1560
+ });
1561
+ clipboard.on("error", (e) => {
1562
+ clipboard.destroy();
1563
+ reject(e);
1564
+ });
1565
+ document.body.appendChild(ele);
1566
+ ele.click();
1567
+ document.body.removeChild(ele);
1568
+ });
1569
+ }
1544
1570
  function setStyle(element, style) {
1545
1571
  const oldStyle = {};
1546
1572
  const styleKeys = Object.keys(style);
@@ -8151,9 +8177,17 @@ function WarningIcon$2() {
8151
8177
  "fill": "none",
8152
8178
  "fill-rule": "evenodd"
8153
8179
  }, [createVNode("polygon", {
8154
- "points": "7.5 1.74501946 1.39184847 13.5954649 7.08947368 14.2207621 13.9973698 13.5954649 10.9383683 5.61273879 8.40084114 1.27624313"
8180
+ "points": "7.5 1.74501946 1.39184847 13.5954649 7.08947368 14.2207621 13.9973698 13.5954649 10.9383683 5.61273879 8.40084114 1.27624313"
8155
8181
  }, null), createVNode("path", {
8156
- "d": "M8.51325441,0.127397589 C8.70423071,0.228333932 8.8605922,0.383286648 8.96244623,0.57254229 L15.8714442,13.4101975 C16.1549662,13.9370117 15.9538562,14.5918482 15.4222523,14.8728158 C15.2642579,14.9563203 15.0879506,15 14.9088903,15 L1.09089441,15 C0.488410063,15 0,14.5159904 0,13.9189343 C0,13.7414873 0.0440768395,13.5667684 0.128340519,13.4101975 L7.03733844,0.57254229 C7.32086049,0.0457280838 7.98165058,-0.153569987 8.51325441,0.127397589 Z M8.87894737,11.2105263 L7.08947368,11.2105263 L7.08947368,13 L8.87894737,13 L8.87894737,11.2105263 Z M8.96842105,4.5 L7,4.5 L7.08947368,9.86842105 L8.87894737,9.86842105 L8.96842105,4.5 Z"
8182
+ "d": `M8.51325441,0.127397589 C8.70423071,0.228333932
8183
+ 8.8605922,0.383286648 8.96244623,0.57254229 L15.8714442,13.4101975
8184
+ C16.1549662,13.9370117 15.9538562,14.5918482 15.4222523,14.8728158
8185
+ C15.2642579,14.9563203 15.0879506,15 14.9088903,15 L1.09089441,15
8186
+ C0.488410063,15 0,14.5159904 0,13.9189343 C0,13.7414873 0.0440768395,13.5667684
8187
+ 0.128340519,13.4101975 L7.03733844,0.57254229 C7.32086049,0.0457280838 7.98165058,-0.153569987
8188
+ 8.51325441,0.127397589 Z M8.87894737,11.2105263 L7.08947368,11.2105263 L7.08947368,13
8189
+ L8.87894737,13 L8.87894737,11.2105263 Z M8.96842105,4.5 L7,4.5 L7.08947368,9.86842105
8190
+ L8.87894737,9.86842105 L8.96842105,4.5 Z`
8157
8191
  }, null)])]);
8158
8192
  }
8159
8193
  function InfoIcon$2() {
@@ -8174,7 +8208,7 @@ function InfoIcon$2() {
8174
8208
  }, null), createVNode("g", {
8175
8209
  "stroke-width": "1"
8176
8210
  }, [createVNode("path", {
8177
- "d": "M8,0 C3.6,0 0,3.6 0,8 C0,12.4 3.6,16 8,16 C12.4,16 16,12.4 16,8 C16,3.6 12.4,0 8,0 Z M9,5 L7,5 L7,3 L9,3 L9,5 Z M9,12.6 L7,12.6 L7,6.6 L9,6.6 L9,12.6 Z"
8211
+ "d": "M8,0 C3.6,0 0,3.6 0,8 C0,12.4 3.6,16 8,16 C12.4,16 16,12.4 16,8 C16,3.6 12.4,0 8,0 Z M9,5 L7,5 L7,3 L9,3 L9,5 Z M9,12.6 L7,12.6 L7,6.6 L9,6.6 L9,12.6 Z"
8178
8212
  }, null)])])]);
8179
8213
  }
8180
8214
  function ErrorIcon$3() {
@@ -8195,7 +8229,7 @@ function ErrorIcon$3() {
8195
8229
  "cy": "8",
8196
8230
  "r": "7"
8197
8231
  }, null), createVNode("path", {
8198
- "d": "M8,0 C3.6,0 0,3.6 0,8 C0,12.4 3.6,16 8,16 C12.4,16 16,12.4 16,8 C16,3.6 12.4,0 8,0 Z M9,12.6 L7,12.6 L7,10.6 L9,10.6 L9,12.6 Z M9,9.1 L7,9.1 L6.9,3.1 L9.1,3.1 L9,9.1 Z",
8232
+ "d": "M8,0 C3.6,0 0,3.6 0,8 C0,12.4 3.6,16 8,16 C12.4,16 16,12.4 16,8 C16,3.6 12.4,0 8,0 Z M9,12.6 L7,12.6 L7,10.6 L9,10.6 L9,12.6 Z M9,9.1 L7,9.1 L6.9,3.1 L9.1,3.1 L9,9.1 Z",
8199
8233
  "fill-rule": "nonzero"
8200
8234
  }, null)])]);
8201
8235
  }
@@ -8304,7 +8338,14 @@ function HelpTipsIcon() {
8304
8338
  "fill": "none",
8305
8339
  "fill-rule": "evenodd"
8306
8340
  }, [createVNode("g", null, [createVNode("path", {
8307
- "d": "M8.5,8.95852078 L8.5,11 L7.5,11 L7.5,8.5 C7.5,8.22385763 7.72385763,8 8,8 C9.1045695,8 10,7.1045695 10,6 C10,4.8954305 9.1045695,4 8,4 C6.8954305,4 6,4.8954305 6,6 L5,6 C5,4.34314575 6.34314575,3 8,3 C9.65685425,3 11,4.34314575 11,6 C11,7.48649814 9.91885667,8.72048173 8.5,8.95852078 L8.5,8.95852078 Z M8,16 C3.581722,16 0,12.418278 0,8 C0,3.581722 3.581722,0 8,0 C12.418278,0 16,3.581722 16,8 C16,12.418278 12.418278,16 8,16 Z M8,15 C11.8659932,15 15,11.8659932 15,8 C15,4.13400675 11.8659932,1 8,1 C4.13400675,1 1,4.13400675 1,8 C1,11.8659932 4.13400675,15 8,15 Z M7.5,12 L8.5,12 L8.5,13 L7.5,13 L7.5,12 Z",
8341
+ "d": `M8.5,8.95852078 L8.5,11 L7.5,11 L7.5,8.5 C7.5,8.22385763
8342
+ 7.72385763,8 8,8 C9.1045695,8 10,7.1045695 10,6 C10,4.8954305
8343
+ 9.1045695,4 8,4 C6.8954305,4 6,4.8954305 6,6 L5,6 C5,4.34314575
8344
+ 6.34314575,3 8,3 C9.65685425,3 11,4.34314575 11,6 C11,7.48649814
8345
+ 9.91885667,8.72048173 8.5,8.95852078 L8.5,8.95852078 Z M8,16 C3.581722,16
8346
+ 0,12.418278 0,8 C0,3.581722 3.581722,0 8,0 C12.418278,0 16,3.581722 16,8 C16,12.418278
8347
+ 12.418278,16 8,16 Z M8,15 C11.8659932,15 15,11.8659932 15,8 C15,4.13400675 11.8659932,1 8,1
8348
+ C4.13400675,1 1,4.13400675 1,8 C1,11.8659932 4.13400675,15 8,15 Z M7.5,12 L8.5,12 L8.5,13 L7.5,13 L7.5,12 Z`,
8308
8349
  "fill": "#293040",
8309
8350
  "fill-rule": "nonzero"
8310
8351
  }, null)])])]);
@@ -8324,7 +8365,10 @@ function ErrorIcon$2() {
8324
8365
  "cy": "8",
8325
8366
  "r": "8"
8326
8367
  }, null), createVNode("polygon", {
8327
- "points": "8.07106781 6.65685425 10.8994949 3.82842712 12.3137085 5.24264069 9.48528137 8.07106781 12.3137085 10.8994949 10.8994949 12.3137085 8.07106781 9.48528137 5.24264069 12.3137085 3.82842712 10.8994949 6.65685425 8.07106781 3.82842712 5.24264069 5.24264069 3.82842712"
8368
+ "points": `8.07106781 6.65685425 10.8994949 3.82842712 12.3137085
8369
+ 5.24264069 9.48528137 8.07106781 12.3137085 10.8994949 10.8994949 12.3137085
8370
+ 8.07106781 9.48528137 5.24264069 12.3137085 3.82842712 10.8994949 6.65685425
8371
+ 8.07106781 3.82842712 5.24264069 5.24264069 3.82842712`
8328
8372
  }, null)])]);
8329
8373
  }
8330
8374
  function SuccessIcon$2() {
@@ -8342,7 +8386,7 @@ function SuccessIcon$2() {
8342
8386
  "cy": "8",
8343
8387
  "r": "8"
8344
8388
  }, null), createVNode("polygon", {
8345
- "points": "6.53553391 9.77817459 12.1923882 4.12132034 13.6066017 5.53553391 6.53553391 12.6066017 3 9.07106781 4.41421356 7.65685425 6.53553391 9.77817459"
8389
+ "points": "6.53553391 9.77817459 12.1923882 4.12132034 13.6066017 5.53553391 6.53553391 12.6066017 3 9.07106781 4.41421356 7.65685425 6.53553391 9.77817459"
8346
8390
  }, null)])]);
8347
8391
  }
8348
8392
  function PendingIcon() {
@@ -8357,7 +8401,7 @@ function PendingIcon() {
8357
8401
  "fill": "none",
8358
8402
  "fill-rule": "evenodd"
8359
8403
  }, [createVNode("path", {
8360
- "d": "M8,0 C12.4,0 16,3.6 16,8 C16,12.4 12.4,16 8,16 C3.6,16 0,12.4 0,8 C0,3.6 3.6,0 8,0 Z M8,1 C4.15,1 1,4.15 1,8 C1,11.85 4.15,15 8,15 C11.85,15 15,11.85 15,8 C15,4.15 11.85,1 8,1 Z",
8404
+ "d": "M8,0 C12.4,0 16,3.6 16,8 C16,12.4 12.4,16 8,16 C3.6,16 0,12.4 0,8 C0,3.6 3.6,0 8,0 Z M8,1 C4.15,1 1,4.15 1,8 C1,11.85 4.15,15 8,15 C11.85,15 15,11.85 15,8 C15,4.15 11.85,1 8,1 Z",
8361
8405
  "fill-rule": "nonzero"
8362
8406
  }, null), createVNode("path", {
8363
8407
  "d": "M8,0 C12.4,0 16,3.6 16,8 L15,8 C15,4.15 11.85,1 8,1 L8,0 Z",
@@ -9708,7 +9752,7 @@ var FormItem = defineComponent({
9708
9752
  }, [createVNode(FormLabel, {
9709
9753
  "help-tips": helpTips.value
9710
9754
  }, {
9711
- default: () => [label == null ? void 0 : label.value]
9755
+ default: () => [ctx2.slots.label ? ctx2.slots.label() : label == null ? void 0 : label.value]
9712
9756
  }), createVNode(FormControl, {
9713
9757
  "feedback-status": feedbackStatus == null ? void 0 : feedbackStatus.value,
9714
9758
  "extra-info": extraInfo.value
@@ -10560,7 +10604,7 @@ const IconBody = (props) => {
10560
10604
  "cy": "15",
10561
10605
  "r": "15"
10562
10606
  }, null), createVNode("path", {
10563
- "d": "M14.9997866,16 C12.5145053,16 10.4997866,13.9852814 10.4997866, 11.5 C10.4997866,9.01471863 12.5145053,7 14.9997866,7 C17.485068, 7 19.4997866,9.01471863 19.4997866,11.5 C19.4997866,13.9852814 17.485068, 16 14.9997866,16 Z M23,23 L7,22.998553 C7,19.0122153 10.8892296, 16.5 14.9997866,16.5 C19.1103437,16.5 23,20 23,23 Z",
10607
+ "d": "M14.9997866,16 C12.5145053,16 10.4997866,13.9852814 10.4997866, 11.5 C10.4997866,9.01471863 12.5145053,7 14.9997866,7 C17.485068, 7 19.4997866,9.01471863 19.4997866,11.5 C19.4997866,13.9852814 17.485068, 16 14.9997866,16 Z M23,23 L7,22.998553 C7,19.0122153 10.8892296, 16.5 14.9997866,16.5 C19.1103437,16.5 23,20 23,23 Z",
10564
10608
  "id": "\u5F62\u72B6\u7ED3\u5408",
10565
10609
  "fill": "#FFFFFF"
10566
10610
  }, null)])]);
@@ -10608,11 +10652,85 @@ const IconNobody = (props) => {
10608
10652
  "fill": "none",
10609
10653
  "fill-rule": "evenodd"
10610
10654
  }, [createVNode("path", {
10611
- "d": "M22.31,19.2474562 L22.31,21.9974562 L20.81,21.9974562 L20.81, 19.2474562 L18.06,19.2474562 L18.06,17.7474562 L20.81,17.7474562 L20.81, 14.9974562 L22.31,14.9974562 L22.31,17.7474562 L25.06,17.7474562 L25.06, 19.2474562 L22.31,19.2474562 Z M14.9297866,14.9974562 C12.4445053, 14.9974562 10.4297866,12.9827376 10.4297866,10.4974562 C10.4297866, 8.01217483 12.4445053,5.9974562 14.9297866,5.9974562 C17.415068, 5.9974562 19.4297866,8.01217483 19.4297866,10.4974562 C19.4297866, 12.9827376 17.415068,14.9974562 14.9297866,14.9974562 Z M19.6797866, 20.2474562 L19.6797866,21.9971623 L6.93,21.9960092 C6.93,18.0096715 10.8192296, 15.4974562 14.9297866,15.4974562 C16.4608397,15.4974562 17.9612467,15.983021 19.2414296, 16.7474562 L17.06,16.7474562 L17.06,20.2474562 L19.6797866,20.2474562 Z",
10655
+ "d": "M22.31,19.2474562 L22.31,21.9974562 L20.81,21.9974562 L20.81, 19.2474562 L18.06,19.2474562 L18.06,17.7474562 L20.81,17.7474562 L20.81, 14.9974562 L22.31,14.9974562 L22.31,17.7474562 L25.06,17.7474562 L25.06, 19.2474562 L22.31,19.2474562 Z M14.9297866,14.9974562 C12.4445053, 14.9974562 10.4297866,12.9827376 10.4297866,10.4974562 C10.4297866, 8.01217483 12.4445053,5.9974562 14.9297866,5.9974562 C17.415068, 5.9974562 19.4297866,8.01217483 19.4297866,10.4974562 C19.4297866, 12.9827376 17.415068,14.9974562 14.9297866,14.9974562 Z M19.6797866, 20.2474562 L19.6797866,21.9971623 L6.93,21.9960092 C6.93,18.0096715 10.8192296, 15.4974562 14.9297866,15.4974562 C16.4608397,15.4974562 17.9612467,15.983021 19.2414296, 16.7474562 L17.06,16.7474562 L17.06,20.2474562 L19.6797866,20.2474562 Z",
10612
10656
  "id": "\u5F62\u72B6\u7ED3\u5408",
10613
10657
  "fill": "#959EB2"
10614
10658
  }, null), createVNode("path", {
10615
- "d": "M0,15 L1,15 C1,15.6118966 1.03919561,16.2186526 1.11683409, 16.8178549 L0.125124012,16.9463505 C0.0425740367,16.309242 0, 15.6595925 0,15 Z M0.503241262,18.867175 L1.46961749,18.6100428 C1.62594651, 19.1975718 1.8203704,19.7729973 2.05141295,20.3332823 L1.12693074, 20.7145074 C0.880599065,20.1171459 0.67172715,19.500393 0.503241262, 18.867175 Z M1.99122134,22.4730778 L2.85786221,21.9741453 C3.16078316, 22.5003161 3.49772502,23.0063252 3.86631639,23.4889602 L3.0715754, 24.0959089 C2.6777461,23.5802273 2.31659753,23.0382531 1.99122134, 22.4730778 Z M4.38894559,25.6021078 L5.09634867,24.8952974 C5.52582519, 25.3251341 5.98272136,25.7268214 6.46397085,26.0975793 L5.85367498, 26.8897529 C5.33779918,26.4923186 4.84851395,26.0620615 4.38894559, 25.6021078 Z M7.4424647,27.9597887 L7.94703323,27.096417 C8.47111119, 27.4026968 9.0146817,27.6746032 9.57453904,27.9101878 L9.18668461, 28.8319084 C8.58423501,28.5784013 8.00181692,28.2866833 7.4424647, 27.9597887 Z M11.0671021,29.4791103 L11.3286494,28.5139196 C11.9126912, 28.6721832 12.5080563,28.7925378 13.1119738,28.8738935 L12.9784667, 29.8649413 C12.3271613,29.7772019 11.6891102,29.647662 11.0671021, 29.4791103 Z M15,30 C14.9951965,30 14.9903936,29.9999977 14.9855912, 30 L14.9865313,28.9999937 C14.9929361,28.9999987 14.9929361, 28.9999987 14.999296,29 C15.6071552,29 16.2093364,28.9614092 16.8041774, 28.8849313 L16.9316965,29.8767674 C16.2992813,29.9580762 15.6545362, 30 15,30 Z M18.8545762,29.5001051 L18.5982903,28.5335041 C19.1860387, 28.3776677 19.7617059,28.1837179 20.3222555,27.9531286 L20.7026875, 28.8779375 C20.1050484,29.123784 19.4880358,29.3321488 18.8545762, 29.5001051 Z M22.4608087,28.0158343 L21.9626951,27.1487226 C22.4893928, 26.8461604 22.9959399,26.5095265 23.479119,26.1411926 L24.0853678, 26.9364676 C23.5691101,27.3300178 23.0265585,27.6908386 22.4608087, 28.0158343 Z M25.5921583,25.6209863 L24.8860071,24.9129252 C25.3161421, 24.4839504 25.7181674,24.0275419 26.0893023,23.5467621 L26.8808873, 24.1578212 C26.4830546,24.6731862 26.0524368,25.1619493 25.5921583, 25.6209863 Z M27.9526445,22.5697466 L27.0897495,22.0643633 C27.3964738, 21.5406601 27.6688549,20.9974409 27.904942,20.4379104 L28.8262855, 20.8266601 C28.5722411,21.4287497 28.2800163,22.0107897 27.9526445, 22.5697466 Z M29.4756977,18.9454696 L28.5107363,18.6830777 C28.6695136, 18.099165 28.7903877,17.5039035 28.8722662,16.9000659 L29.8631978, 17.0344333 C29.7748946,17.6856516 29.6447979,18.3235936 29.4756977, 18.9454696 Z M30,15 C30,15.0093541 29.9999914,15.0187063 29.9999743, 15.0280564 L28.999976,15.0262257 C28.9999956,15.0134169 28.9999956, 15.0134169 29,15.0006466 C29,14.3970304 28.9619395,13.7989704 28.8865088, 13.208136 L29.8784576,13.0814959 C29.9586571,13.7096843 30,14.3500145 30, 15 Z M29.5038108,11.1594275 L28.5369608,11.4147728 C28.3816616, 10.8267413 28.1882232,10.2507676 27.9581175,9.68988857 L28.8832852, 9.31033004 C29.1286141,9.90831524 29.3364318,10.5256569 29.5038108, 11.1594275 Z M28.0228788,7.55146763 L27.1552968,8.0487618 C26.853241, 7.52179373 26.5170958,7.0149453 26.1492295,6.53143425 L26.9450761, 5.92593594 C27.3381231,6.44254364 27.6984223,6.98541919 28.0228788, 7.55146763 Z M25.6309089,4.41780044 L24.9221905,5.12329189 C24.4935639, 4.69270467 24.0374698,4.2902078 23.5569705,3.9185855 L24.1687554, 3.12756133 C24.6838129,3.52591118 25.1722392,3.95703271 25.6309089, 4.41780044 Z M22.5819506,2.05451093 L22.0757531,2.91692851 C21.5523008, 2.60968727 21.0092999,2.33677531 20.4499564,2.10014728 L20.8395722, 1.17916981 C21.4414531,1.43379309 22.0232574,1.72658499 22.5819506, 2.05451093 Z M18.9594329,0.528106464 L18.696103,1.4928123 C18.1122842, 1.33345081 17.517086,1.21199245 16.9132846,1.12953261 L17.0485964, 0.138729543 C17.6997753,0.227659622 18.3376514,0.358382523 18.9594329, 0.528106464 Z M15,-1.11022302e-16 C15.0139048,-1.11022302e-16 15.0278052, 1.892004e-05 15.0417011,5.673578e-05 L15.0389797,1.00005303 C15.0197685, 1.00000934 15.0197685,1.00000934 15.0005868,1.00000001 C14.4012162, 1 13.8072783,1.03753392 13.2204527,1.11192427 L13.0946918,0.119863691 C13.7186509, 0.0407660189 14.3545651,-1.11022302e-16 15,-1.11022302e-16 Z M11.1720354, 0.492865376 L11.4265338,1.45993857 C10.8386468,1.61464899 10.2627801, 1.80746996 9.70196444,2.03693489 L9.32327455,1.11141127 C9.92118954, 0.86676666 10.5384173,0.659610554 11.1720354,0.492865376 Z M7.56375123, 1.97008801 L8.06022548,2.83813946 C7.53298826,3.13968806 7.02583975, 3.47534367 6.54199783,3.84274131 L5.93725081,3.04632368 C6.4542073, 2.65378102 6.99740556,2.29400434 7.56375123,1.97008801 Z M4.42776842, 4.35917772 L5.13259949,5.06855291 C4.70156141,5.49682984 4.29859416, 5.95260763 3.92648544,6.43282469 L3.13602297,5.82031423 C3.53488885, 5.30556625 3.96651291,4.81747851 4.42776842,4.35917772 Z M2.0616775, 7.40585279 L2.92361696,7.91286401 C2.61586086,8.43606175 2.34241977, 8.97884042 2.10525197,9.53799293 L1.18464153,9.14751063 C1.43984243, 8.54584288 1.73319965,7.96427837 2.0616775,7.40585279 Z M0.531541456, 11.0280046 L1.49601653,11.2921785 C1.33614878,11.8758413 1.21417484, 12.4709081 1.13119244,13.074601 L0.140507978,12.9384235 C0.230001486, 12.2873626 0.361276825,11.6496255 0.531541456,11.0280046 Z",
10659
+ "d": `M0,15 L1,15 C1,15.6118966 1.03919561,16.2186526 1.11683409,
10660
+ 16.8178549 L0.125124012,16.9463505 C0.0425740367,16.309242 0,
10661
+ 15.6595925 0,15 Z M0.503241262,18.867175 L1.46961749,18.6100428 C1.62594651,
10662
+ 19.1975718 1.8203704,19.7729973 2.05141295,20.3332823 L1.12693074,
10663
+ 20.7145074 C0.880599065,20.1171459 0.67172715,19.500393 0.503241262,
10664
+ 18.867175 Z M1.99122134,22.4730778 L2.85786221,21.9741453 C3.16078316,
10665
+ 22.5003161 3.49772502,23.0063252 3.86631639,23.4889602 L3.0715754,
10666
+ 24.0959089 C2.6777461,23.5802273 2.31659753,23.0382531 1.99122134,
10667
+ 22.4730778 Z M4.38894559,25.6021078 L5.09634867,24.8952974 C5.52582519,
10668
+ 25.3251341 5.98272136,25.7268214 6.46397085,26.0975793 L5.85367498,
10669
+ 26.8897529 C5.33779918,26.4923186 4.84851395,26.0620615 4.38894559,
10670
+ 25.6021078 Z M7.4424647,27.9597887 L7.94703323,27.096417 C8.47111119,
10671
+ 27.4026968 9.0146817,27.6746032 9.57453904,27.9101878 L9.18668461,
10672
+ 28.8319084 C8.58423501,28.5784013 8.00181692,28.2866833 7.4424647,
10673
+ 27.9597887 Z M11.0671021,29.4791103 L11.3286494,28.5139196 C11.9126912,
10674
+ 28.6721832 12.5080563,28.7925378 13.1119738,28.8738935 L12.9784667,
10675
+ 29.8649413 C12.3271613,29.7772019 11.6891102,29.647662 11.0671021,
10676
+ 29.4791103 Z M15,30 C14.9951965,30 14.9903936,29.9999977 14.9855912,
10677
+ 30 L14.9865313,28.9999937 C14.9929361,28.9999987 14.9929361,
10678
+ 28.9999987 14.999296,29 C15.6071552,29 16.2093364,28.9614092 16.8041774,
10679
+ 28.8849313 L16.9316965,29.8767674 C16.2992813,29.9580762 15.6545362,
10680
+ 30 15,30 Z M18.8545762,29.5001051 L18.5982903,28.5335041 C19.1860387,
10681
+ 28.3776677 19.7617059,28.1837179 20.3222555,27.9531286 L20.7026875,
10682
+ 28.8779375 C20.1050484,29.123784 19.4880358,29.3321488 18.8545762,
10683
+ 29.5001051 Z M22.4608087,28.0158343 L21.9626951,27.1487226 C22.4893928,
10684
+ 26.8461604 22.9959399,26.5095265 23.479119,26.1411926 L24.0853678,
10685
+ 26.9364676 C23.5691101,27.3300178 23.0265585,27.6908386 22.4608087,
10686
+ 28.0158343 Z M25.5921583,25.6209863 L24.8860071,24.9129252 C25.3161421,
10687
+ 24.4839504 25.7181674,24.0275419 26.0893023,23.5467621 L26.8808873,
10688
+ 24.1578212 C26.4830546,24.6731862 26.0524368,25.1619493 25.5921583,
10689
+ 25.6209863 Z M27.9526445,22.5697466 L27.0897495,22.0643633 C27.3964738,
10690
+ 21.5406601 27.6688549,20.9974409 27.904942,20.4379104 L28.8262855,
10691
+ 20.8266601 C28.5722411,21.4287497 28.2800163,22.0107897 27.9526445,
10692
+ 22.5697466 Z M29.4756977,18.9454696 L28.5107363,18.6830777 C28.6695136,
10693
+ 18.099165 28.7903877,17.5039035 28.8722662,16.9000659 L29.8631978,
10694
+ 17.0344333 C29.7748946,17.6856516 29.6447979,18.3235936 29.4756977,
10695
+ 18.9454696 Z M30,15 C30,15.0093541 29.9999914,15.0187063 29.9999743,
10696
+ 15.0280564 L28.999976,15.0262257 C28.9999956,15.0134169 28.9999956,
10697
+ 15.0134169 29,15.0006466 C29,14.3970304 28.9619395,13.7989704 28.8865088,
10698
+ 13.208136 L29.8784576,13.0814959 C29.9586571,13.7096843 30,14.3500145 30,
10699
+ 15 Z M29.5038108,11.1594275 L28.5369608,11.4147728 C28.3816616,
10700
+ 10.8267413 28.1882232,10.2507676 27.9581175,9.68988857 L28.8832852,
10701
+ 9.31033004 C29.1286141,9.90831524 29.3364318,10.5256569 29.5038108,
10702
+ 11.1594275 Z M28.0228788,7.55146763 L27.1552968,8.0487618 C26.853241,
10703
+ 7.52179373 26.5170958,7.0149453 26.1492295,6.53143425 L26.9450761,
10704
+ 5.92593594 C27.3381231,6.44254364 27.6984223,6.98541919 28.0228788,
10705
+ 7.55146763 Z M25.6309089,4.41780044 L24.9221905,5.12329189 C24.4935639,
10706
+ 4.69270467 24.0374698,4.2902078 23.5569705,3.9185855 L24.1687554,
10707
+ 3.12756133 C24.6838129,3.52591118 25.1722392,3.95703271 25.6309089,
10708
+ 4.41780044 Z M22.5819506,2.05451093 L22.0757531,2.91692851 C21.5523008,
10709
+ 2.60968727 21.0092999,2.33677531 20.4499564,2.10014728 L20.8395722,
10710
+ 1.17916981 C21.4414531,1.43379309 22.0232574,1.72658499 22.5819506,
10711
+ 2.05451093 Z M18.9594329,0.528106464 L18.696103,1.4928123 C18.1122842,
10712
+ 1.33345081 17.517086,1.21199245 16.9132846,1.12953261 L17.0485964,
10713
+ 0.138729543 C17.6997753,0.227659622 18.3376514,0.358382523 18.9594329,
10714
+ 0.528106464 Z M15,-1.11022302e-16 C15.0139048,-1.11022302e-16 15.0278052,
10715
+ 1.892004e-05 15.0417011,5.673578e-05 L15.0389797,1.00005303 C15.0197685,
10716
+ 1.00000934 15.0197685,1.00000934 15.0005868,1.00000001 C14.4012162,
10717
+ 1 13.8072783,1.03753392 13.2204527,1.11192427 L13.0946918,0.119863691 C13.7186509,
10718
+ 0.0407660189 14.3545651,-1.11022302e-16 15,-1.11022302e-16 Z M11.1720354,
10719
+ 0.492865376 L11.4265338,1.45993857 C10.8386468,1.61464899 10.2627801,
10720
+ 1.80746996 9.70196444,2.03693489 L9.32327455,1.11141127 C9.92118954,
10721
+ 0.86676666 10.5384173,0.659610554 11.1720354,0.492865376 Z M7.56375123,
10722
+ 1.97008801 L8.06022548,2.83813946 C7.53298826,3.13968806 7.02583975,
10723
+ 3.47534367 6.54199783,3.84274131 L5.93725081,3.04632368 C6.4542073,
10724
+ 2.65378102 6.99740556,2.29400434 7.56375123,1.97008801 Z M4.42776842,
10725
+ 4.35917772 L5.13259949,5.06855291 C4.70156141,5.49682984 4.29859416,
10726
+ 5.95260763 3.92648544,6.43282469 L3.13602297,5.82031423 C3.53488885,
10727
+ 5.30556625 3.96651291,4.81747851 4.42776842,4.35917772 Z M2.0616775,
10728
+ 7.40585279 L2.92361696,7.91286401 C2.61586086,8.43606175 2.34241977,
10729
+ 8.97884042 2.10525197,9.53799293 L1.18464153,9.14751063 C1.43984243,
10730
+ 8.54584288 1.73319965,7.96427837 2.0616775,7.40585279 Z M0.531541456,
10731
+ 11.0280046 L1.49601653,11.2921785 C1.33614878,11.8758413 1.21417484,
10732
+ 12.4709081 1.13119244,13.074601 L0.140507978,12.9384235 C0.230001486,
10733
+ 12.2873626 0.361276825,11.6496255 0.531541456,11.0280046 Z`,
10616
10734
  "id": "\u8499\u7248",
10617
10735
  "fill": "#CACFD8",
10618
10736
  "fill-rule": "nonzero"
@@ -13596,7 +13714,7 @@ function useCodeEditor(props, ctx2) {
13596
13714
  addCommentIcon,
13597
13715
  expandCommentIcon
13598
13716
  } = toRefs(props);
13599
- let monaco;
13717
+ let monaco2;
13600
13718
  let editor;
13601
13719
  let diffEditor;
13602
13720
  let themeService;
@@ -13635,7 +13753,7 @@ function useCodeEditor(props, ctx2) {
13635
13753
  });
13636
13754
  onMounted(async () => {
13637
13755
  if (inBrowser) {
13638
- monaco = await import("monaco-editor");
13756
+ monaco2 = await import("monaco-editor");
13639
13757
  setCurrentTheme();
13640
13758
  init();
13641
13759
  if (mode.value === "review") {
@@ -13654,15 +13772,15 @@ function useCodeEditor(props, ctx2) {
13654
13772
  initDiffEditor();
13655
13773
  }
13656
13774
  if (!options.value["theme"]) {
13657
- monaco.editor.setTheme(currentTheme);
13775
+ monaco2.editor.setTheme(currentTheme);
13658
13776
  }
13659
13777
  handleAutoHeight();
13660
13778
  setValueEmitter();
13661
13779
  }
13662
13780
  function initNormalEditor() {
13663
13781
  if (!editor) {
13664
- editor = monaco.editor.create(editorEl.value, options.value);
13665
- editor.setModel(monaco.editor.createModel(modelValue.value, options.value["language"]));
13782
+ editor = monaco2.editor.create(editorEl.value, options.value);
13783
+ editor.setModel(monaco2.editor.createModel(modelValue.value, options.value["language"]));
13666
13784
  ctx2.emit("afterEditorInit", editor);
13667
13785
  if (mode.value === "review") {
13668
13786
  editor.onMouseMove(handleMouseMove);
@@ -13673,10 +13791,10 @@ function useCodeEditor(props, ctx2) {
13673
13791
  }
13674
13792
  function initDiffEditor() {
13675
13793
  if (!diffEditor) {
13676
- diffEditor = monaco.editor.createDiffEditor(editorEl.value, options.value);
13794
+ diffEditor = monaco2.editor.createDiffEditor(editorEl.value, options.value);
13677
13795
  diffEditor.setModel({
13678
- original: monaco.editor.createModel(originalText.value, options.value["language"]),
13679
- modified: monaco.editor.createModel(modelValue.value, options.value["language"])
13796
+ original: monaco2.editor.createModel(originalText.value, options.value["language"]),
13797
+ modified: monaco2.editor.createModel(modelValue.value, options.value["language"])
13680
13798
  });
13681
13799
  ctx2.emit("afterEditorInit", diffEditor);
13682
13800
  }
@@ -13712,7 +13830,7 @@ function useCodeEditor(props, ctx2) {
13712
13830
  currentTheme = themeService && themeService.currentTheme.isDark ? "vs" : "vs-dark";
13713
13831
  }
13714
13832
  if (editor) {
13715
- monaco.editor.setTheme(currentTheme);
13833
+ monaco2.editor.setTheme(currentTheme);
13716
13834
  }
13717
13835
  }
13718
13836
  function handleAutoHeight() {
@@ -13746,8 +13864,8 @@ function useCodeEditor(props, ctx2) {
13746
13864
  if (editor) {
13747
13865
  if (mode.value === "normal" || mode.value === "review") {
13748
13866
  const model = diffEditor.getModel();
13749
- monaco.editor.setModelLanguage(model.modified, language);
13750
- monaco.editor.setModelLanguage(model.original, language);
13867
+ monaco2.editor.setModelLanguage(model.modified, language);
13868
+ monaco2.editor.setModelLanguage(model.original, language);
13751
13869
  }
13752
13870
  }
13753
13871
  }
@@ -13761,7 +13879,7 @@ function useCodeEditor(props, ctx2) {
13761
13879
  }
13762
13880
  function updateEditorHeightAuto() {
13763
13881
  var _a;
13764
- const lineHeight = editor.getOption(monaco.editor.EditorOption.lineHeight);
13882
+ const lineHeight = editor.getOption(monaco2.editor.EditorOption.lineHeight);
13765
13883
  const lineCount = ((_a = editor.getModel()) == null ? void 0 : _a.getLineCount()) || 1;
13766
13884
  const height = editor.getTopForLineNumber(lineCount + 1) + lineHeight;
13767
13885
  if (editorEl.value) {
@@ -13775,7 +13893,7 @@ function useCodeEditor(props, ctx2) {
13775
13893
  if (!isDecorationExisted(currentLineNumber)) {
13776
13894
  const lineDecoration = [
13777
13895
  {
13778
- range: new monaco.Range(currentLineNumber, 0, currentLineNumber, 0),
13896
+ range: new monaco2.Range(currentLineNumber, 0, currentLineNumber, 0),
13779
13897
  option: {
13780
13898
  isWholeLine: true,
13781
13899
  glyphMarginClassName: `icon-pointer ${addCommentIcon.value}`
@@ -13807,7 +13925,7 @@ function useCodeEditor(props, ctx2) {
13807
13925
  }
13808
13926
  function setDecorations(decoration) {
13809
13927
  return {
13810
- range: new monaco.Range(decoration.lineNumber, 1, decoration.lineNumber, 1),
13928
+ range: new monaco2.Range(decoration.lineNumber, 1, decoration.lineNumber, 1),
13811
13929
  options: {
13812
13930
  isWholeLine: true,
13813
13931
  className: decoration.customClasses || "",
@@ -13961,51 +14079,204 @@ var CodeEditor = defineComponent({
13961
14079
  }, null);
13962
14080
  }
13963
14081
  });
14082
+ let monaco;
14083
+ const CodeHighlightDirective = {
14084
+ async mounted(el) {
14085
+ if (inBrowser) {
14086
+ monaco = await import("monaco-editor");
14087
+ monaco.editor.colorizeElement(el);
14088
+ }
14089
+ },
14090
+ updated(el) {
14091
+ if (inBrowser) {
14092
+ monaco.editor.colorizeElement(el);
14093
+ }
14094
+ }
14095
+ };
13964
14096
  var CodeEditorInstall = {
13965
14097
  title: "Code Editor \u4EE3\u7801\u7F16\u8F91\u5668",
13966
14098
  category: "\u6F14\u8FDB\u4E2D",
13967
14099
  status: "100%",
13968
14100
  install(app) {
14101
+ app.directive("d-code-highlight", CodeHighlightDirective);
13969
14102
  app.component(CodeEditor.name, CodeEditor);
13970
14103
  }
13971
14104
  };
14105
+ function FoldIcon() {
14106
+ return createVNode("svg", {
14107
+ "width": "16px",
14108
+ "height": "16px",
14109
+ "viewBox": "0 0 16 16",
14110
+ "xmlns": "http://www.w3.org/2000/svg"
14111
+ }, [createVNode("g", {
14112
+ "stroke": "none",
14113
+ "stroke-width": "1",
14114
+ "fill-rule": "evenodd"
14115
+ }, [createVNode("polygon", {
14116
+ "points": "4.5 5 8 8.76923077 11.5 5 13 6.61538462 8 12 3 6.61538462"
14117
+ }, null)])]);
14118
+ }
14119
+ function CopyIcon() {
14120
+ return createVNode("svg", {
14121
+ "width": "16px",
14122
+ "height": "16px",
14123
+ "viewBox": "0 0 16 16",
14124
+ "version": "1.1",
14125
+ "xmlns": "http://www.w3.org/2000/svg"
14126
+ }, [createVNode("g", {
14127
+ "stroke": "none",
14128
+ "stroke-width": "1",
14129
+ "fill": "none",
14130
+ "fill-rule": "evenodd"
14131
+ }, [createVNode("path", {
14132
+ "d": `M14,1 C14.5522847,1 15,1.44771525 15,2 L15,10 C15,10.5522847 14.5522847,11 14,11 L11,11 L11,14
14133
+ C11,14.5522847 10.5522847,15 10,15 L2,15 C1.44771525,15 1,14.5522847 1,14 L1,6 C1,5.44771525 1.44771525,5
14134
+ 2,5 L5,5 L5,2 C5,1.44771525 5.44771525,1 6,1 L14,1 Z M10,6 L2,6 L2,14 L10,14 L10,6 Z M9,11 L9,12 L3,12
14135
+ L3,11 L9,11 Z M14,2 L6,2 L6,5 L10,5 C10.5522847,5 11,5.44771525 11,6 L11,10 L14,10 L14,2 Z M9,8 L9,9 L3,9 L3,8 L9,8 Z`,
14136
+ "fill": "#babbc0",
14137
+ "fill-rule": "nonzero"
14138
+ }, null)])]);
14139
+ }
13972
14140
  const codeReviewProps = {
13973
14141
  diff: {
13974
14142
  type: String,
13975
14143
  required: true,
13976
14144
  default: ""
13977
14145
  },
14146
+ fold: {
14147
+ type: Boolean,
14148
+ default: false
14149
+ },
13978
14150
  outputFormat: {
13979
14151
  type: String,
13980
14152
  default: "line-by-line"
13981
14153
  }
13982
14154
  };
13983
- function useCodeReview(props) {
13984
- const { diff, outputFormat } = toRefs(props);
14155
+ const CodeReviewInjectionKey = Symbol("d-code-review");
14156
+ function useCodeReviewCopy(diffInfo) {
14157
+ const copyTipsText = ref("\u590D\u5236\u6587\u4EF6\u8DEF\u5F84");
14158
+ const tipsPopType = ref("default");
14159
+ const onCopy = () => {
14160
+ toClipboard(diffInfo.newName).then(() => {
14161
+ });
14162
+ };
14163
+ return { copyTipsText, tipsPopType, onCopy };
14164
+ }
14165
+ var CodeReviewHeader = defineComponent({
14166
+ name: "DCodeReviewHeader",
14167
+ emits: ["click"],
14168
+ setup(_, ctx2) {
14169
+ const ns2 = useNamespace("code-review");
14170
+ const {
14171
+ diffInfo,
14172
+ isFold,
14173
+ rootCtx
14174
+ } = inject(CodeReviewInjectionKey);
14175
+ const {
14176
+ copyTipsText,
14177
+ tipsPopType,
14178
+ onCopy
14179
+ } = useCodeReviewCopy(diffInfo);
14180
+ const onClick = (e) => {
14181
+ const composedPath = e.composedPath();
14182
+ const isPreventEvent = composedPath.some((item) => {
14183
+ var _a, _b;
14184
+ return ((_a = item.classList) == null ? void 0 : _a.contains("operate-area")) || ((_b = item.classList) == null ? void 0 : _b.contains("icon-copy"));
14185
+ });
14186
+ if (!isPreventEvent) {
14187
+ ctx2.emit("click");
14188
+ }
14189
+ };
14190
+ return () => createVNode("div", {
14191
+ "class": [ns2.e("header"), {
14192
+ [ns2.em("header", "unfold")]: !isFold.value
14193
+ }],
14194
+ "onClick": onClick
14195
+ }, [createVNode("div", {
14196
+ "class": "file-info"
14197
+ }, [createVNode(FoldIcon, {
14198
+ "class": {
14199
+ invert: !isFold.value
14200
+ }
14201
+ }, null), createVNode("span", {
14202
+ "class": "file-name"
14203
+ }, [diffInfo.newName]), createVNode("span", {
14204
+ "class": "diff-lines add-lines"
14205
+ }, [createTextVNode("+"), diffInfo.addedLines]), createVNode("span", {
14206
+ "class": "diff-lines delete-lines"
14207
+ }, [createTextVNode("-"), diffInfo.deletedLines]), createVNode(Popover, {
14208
+ "content": copyTipsText.value,
14209
+ "pop-type": tipsPopType.value,
14210
+ "trigger": "hover",
14211
+ "position": ["right"]
14212
+ }, {
14213
+ default: () => [createVNode(CopyIcon, {
14214
+ "class": "icon-copy",
14215
+ "onClick": onCopy
14216
+ }, null)]
14217
+ })]), rootCtx.slots.headOperate && createVNode("div", {
14218
+ "class": "operate-area"
14219
+ }, [rootCtx.slots.headOperate()])]);
14220
+ }
14221
+ });
14222
+ function useCodeReview(props, ctx2) {
14223
+ const { diff, fold, outputFormat } = toRefs(props);
13985
14224
  const renderHtml = ref("");
13986
- onMounted(() => {
13987
- renderHtml.value = Diff2Html.html(diff.value, {
13988
- drawFileList: true,
14225
+ const isFold = ref(fold.value);
14226
+ const diffFile = Diff2Html.parse(diff.value);
14227
+ const initDiffContent = () => {
14228
+ renderHtml.value = Diff2Html.html(diffFile, {
14229
+ drawFileList: false,
13989
14230
  matching: "lines",
13990
14231
  outputFormat: outputFormat.value
13991
14232
  });
14233
+ };
14234
+ const toggleFold = (status2) => {
14235
+ if (status2 !== void 0) {
14236
+ isFold.value = status2;
14237
+ } else {
14238
+ isFold.value = !isFold.value;
14239
+ }
14240
+ };
14241
+ watch(fold, (val) => {
14242
+ isFold.value = val;
13992
14243
  });
13993
- return { renderHtml };
14244
+ watch(isFold, () => {
14245
+ if (!isFold.value && renderHtml.value === "") {
14246
+ initDiffContent();
14247
+ }
14248
+ ctx2.emit("foldChange", isFold.value);
14249
+ });
14250
+ onBeforeMount(() => {
14251
+ if (!isFold.value) {
14252
+ initDiffContent();
14253
+ }
14254
+ });
14255
+ provide(CodeReviewInjectionKey, { diffInfo: diffFile[0], isFold, rootCtx: ctx2 });
14256
+ ctx2.expose({ toggleFold });
14257
+ return { renderHtml, isFold };
13994
14258
  }
13995
- var diff2html_min = "";
13996
14259
  var codeReview = "";
13997
14260
  var CodeReview = defineComponent({
13998
14261
  name: "DCodeReview",
13999
14262
  props: codeReviewProps,
14000
- setup(props) {
14263
+ emits: ["foldChange"],
14264
+ setup(props, ctx2) {
14001
14265
  const ns2 = useNamespace("code-review");
14002
14266
  const {
14003
- renderHtml
14004
- } = useCodeReview(props);
14267
+ renderHtml,
14268
+ isFold
14269
+ } = useCodeReview(props, ctx2);
14005
14270
  return () => createVNode("div", {
14006
- "class": ns2.b(),
14271
+ "class": ns2.b()
14272
+ }, [createVNode(CodeReviewHeader, {
14273
+ "onClick": () => isFold.value = !isFold.value
14274
+ }, null), createVNode("div", {
14275
+ "class": [ns2.e("content"), {
14276
+ "hide-content": isFold.value
14277
+ }],
14007
14278
  "innerHTML": renderHtml.value
14008
- }, null);
14279
+ }, null)]);
14009
14280
  }
14010
14281
  });
14011
14282
  var CodeReviewInstall = {
@@ -20402,7 +20673,17 @@ const IconCalendar = () => createVNode("svg", {
20402
20673
  "fill": "none",
20403
20674
  "fill-rule": "evenodd"
20404
20675
  }, [createVNode("path", {
20405
- "d": "M5,0 L5,1 L11,1 L11,0 L12,0 L12,1 L14,1 C15.1045695, 1 16,1.8954305 16,3 L16,14 C16,15.1045695 15.1045695,16 14, 16 L2,16 C0.8954305,16 0,15.1045695 0,14 L0,3 C0, 1.8954305 0.8954305,1 2,1 L4,1 L4,0 L5,0 Z M15,5 L1, 5 L1,14 C1,14.5522847 1.44771525,15 2,15 L14,15 C14.5522847, 15 15,14.5522847 15,14 L15,5 Z M6,7 C6.55228475,7 7,7.44771525 7, 8 L7,10 C7,10.5522847 6.55228475,11 6,11 L4,11 C3.44771525,11 3, 10.5522847 3,10 L3,8 C3,7.44771525 3.44771525,7 4,7 L6,7 Z M6, 8 L4,8 L4,10 L6,10 L6,8 Z M4,2 L2,2 C1.44771525,2 1,2.44771525 1, 3 L1,4 L15,4 L15,3 C15,2.44771525 14.5522847,2 14,2 L12,2 L12, 3 L11,3 L11,2 L5,2 L5,3 L4,3 L4,2 Z",
20676
+ "d": `M5,0 L5,1 L11,1 L11,0 L12,0 L12,1 L14,1 C15.1045695,
20677
+ 1 16,1.8954305 16,3 L16,14 C16,15.1045695 15.1045695,16 14,
20678
+ 16 L2,16 C0.8954305,16 0,15.1045695 0,14 L0,3 C0,
20679
+ 1.8954305 0.8954305,1 2,1 L4,1 L4,0 L5,0 Z M15,5 L1,
20680
+ 5 L1,14 C1,14.5522847 1.44771525,15 2,15 L14,15 C14.5522847,
20681
+ 15 15,14.5522847 15,14 L15,5 Z M6,7 C6.55228475,7 7,7.44771525 7,
20682
+ 8 L7,10 C7,10.5522847 6.55228475,11 6,11 L4,11 C3.44771525,11 3,
20683
+ 10.5522847 3,10 L3,8 C3,7.44771525 3.44771525,7 4,7 L6,7 Z M6,
20684
+ 8 L4,8 L4,10 L6,10 L6,8 Z M4,2 L2,2 C1.44771525,2 1,2.44771525 1,
20685
+ 3 L1,4 L15,4 L15,3 C15,2.44771525 14.5522847,2 14,2 L12,2 L12,
20686
+ 3 L11,3 L11,2 L5,2 L5,3 L4,3 L4,2 Z`,
20406
20687
  "fill": "#BABBC0"
20407
20688
  }, null)])]);
20408
20689
  const IconClose$2 = () => createVNode("svg", {
@@ -20417,7 +20698,22 @@ const IconClose$2 = () => createVNode("svg", {
20417
20698
  "fill": "none",
20418
20699
  "fill-rule": "evenodd"
20419
20700
  }, [createVNode("path", {
20420
- "d": "M8,1 C11.8659932,1 15,4.13400675 15,8 C15, 11.8659932 11.8659932,15 8,15 C4.13400675,15 1, 11.8659932 1,8 C1,4.13400675 4.13400675,1 8, 1 Z M5.87867966,5.17157288 C5.68341751,4.97631073 5.36683502, 4.97631073 5.17157288,5.17157288 C4.99800652,5.34513923 4.97872137, 5.61456363 5.11371742,5.80943177 L5.17157288,5.87867966 L7.29218611, 7.99929289 L5.17157288,10.1213203 C4.97631073,10.3165825 4.97631073, 10.633165 5.17157288,10.8284271 C5.34513923,11.0019935 5.61456363, 11.0212786 5.80943177,10.8862826 L5.87867966,10.8284271 L7.99929289, 8.70639967 L10.1213203,10.8284271 C10.3165825,11.0236893 10.633165, 11.0236893 10.8284271,10.8284271 C11.0019935,10.6548608 11.0212786, 10.3854364 10.8862826,10.1905682 L10.8284271,10.1213203 L8.70710678, 8 L10.8284271,5.87867966 C11.0236893,5.68341751 11.0236893, 5.36683502 10.8284271,5.17157288 C10.6548608,4.99800652 10.3854364, 4.97872137 10.1905682,5.11371742 L10.1213203,5.17157288 L8, 7.29289322 L5.87867966,5.17157288 Z",
20701
+ "d": `M8,1 C11.8659932,1 15,4.13400675 15,8 C15,
20702
+ 11.8659932 11.8659932,15 8,15 C4.13400675,15 1,
20703
+ 11.8659932 1,8 C1,4.13400675 4.13400675,1 8,
20704
+ 1 Z M5.87867966,5.17157288 C5.68341751,4.97631073 5.36683502,
20705
+ 4.97631073 5.17157288,5.17157288 C4.99800652,5.34513923 4.97872137,
20706
+ 5.61456363 5.11371742,5.80943177 L5.17157288,5.87867966 L7.29218611,
20707
+ 7.99929289 L5.17157288,10.1213203 C4.97631073,10.3165825 4.97631073,
20708
+ 10.633165 5.17157288,10.8284271 C5.34513923,11.0019935 5.61456363,
20709
+ 11.0212786 5.80943177,10.8862826 L5.87867966,10.8284271 L7.99929289,
20710
+ 8.70639967 L10.1213203,10.8284271 C10.3165825,11.0236893 10.633165,
20711
+ 11.0236893 10.8284271,10.8284271 C11.0019935,10.6548608 11.0212786,
20712
+ 10.3854364 10.8862826,10.1905682 L10.8284271,10.1213203 L8.70710678,
20713
+ 8 L10.8284271,5.87867966 C11.0236893,5.68341751 11.0236893,
20714
+ 5.36683502 10.8284271,5.17157288 C10.6548608,4.99800652 10.3854364,
20715
+ 4.97872137 10.1905682,5.11371742 L10.1213203,5.17157288 L8,
20716
+ 7.29289322 L5.87867966,5.17157288 Z`,
20421
20717
  "fill-rule": "nonzero"
20422
20718
  }, null)])]);
20423
20719
  var datePickerPro = "";
@@ -21295,6 +21591,378 @@ var DropdownInstall = {
21295
21591
  app.component(DropdownMenu.name, DropdownMenu);
21296
21592
  }
21297
21593
  };
21594
+ const devuiChartProps = {
21595
+ option: {
21596
+ type: Object,
21597
+ default: {}
21598
+ }
21599
+ };
21600
+ const DARK_LINE_COLOR = "#4E5057";
21601
+ const DARK_TITLE_COLOR = "#CED1DB";
21602
+ const DARK_TEXT_COLOR = "#696C75";
21603
+ const DARK_LEGEND_COLOR = "#868A99";
21604
+ const DARK_AXIS_COLOR = "#4E5057";
21605
+ const LIGHT_LINE_COLOR = "#D7D8DA";
21606
+ const LIGHT_TITLE_COLOR = "#252B3A";
21607
+ const LIGHT_TEXT_COLOR = "#9B9FA8";
21608
+ const LIGHT_LEGEND_COLOR = "#71757F";
21609
+ const LIGHT_AXIS_COLOR = "#D7D8DA";
21610
+ const DEFAULT_BASIC_COLOR_PALETTE = [
21611
+ "#5C8DFF",
21612
+ "#BC94FF",
21613
+ "#54D2EB",
21614
+ "#A6DD82",
21615
+ "#FCDA6B",
21616
+ "#CA7ED6",
21617
+ "#7298F1",
21618
+ "#73CEA6",
21619
+ "#EDD249",
21620
+ "#CAABFF",
21621
+ "#85CAFF",
21622
+ "#93D99A",
21623
+ "#96ADFA",
21624
+ "#F4AF8F",
21625
+ "#A282E9",
21626
+ "#FFBB6B",
21627
+ "#69DBB9",
21628
+ "#76DBEF",
21629
+ "#B1CE4F",
21630
+ "#5DA4DC"
21631
+ ];
21632
+ function axisCommon(type4) {
21633
+ if (type4 === "dark") {
21634
+ return {
21635
+ axisLine: {
21636
+ lineStyle: {
21637
+ color: DARK_AXIS_COLOR
21638
+ }
21639
+ },
21640
+ axisTick: {
21641
+ lineStyle: {
21642
+ color: DARK_AXIS_COLOR
21643
+ }
21644
+ },
21645
+ axisLabel: {
21646
+ textStyle: {
21647
+ color: DARK_TEXT_COLOR
21648
+ }
21649
+ },
21650
+ splitLine: {
21651
+ lineStyle: {
21652
+ type: [3, 3],
21653
+ color: DARK_LINE_COLOR
21654
+ }
21655
+ }
21656
+ };
21657
+ } else {
21658
+ return {
21659
+ axisLine: {
21660
+ lineStyle: {
21661
+ color: LIGHT_AXIS_COLOR
21662
+ }
21663
+ },
21664
+ axisTick: {
21665
+ lineStyle: {
21666
+ color: LIGHT_AXIS_COLOR
21667
+ }
21668
+ },
21669
+ axisLabel: {
21670
+ textStyle: {
21671
+ color: LIGHT_TEXT_COLOR
21672
+ }
21673
+ },
21674
+ splitLine: {
21675
+ lineStyle: {
21676
+ type: [3, 3],
21677
+ color: LIGHT_LINE_COLOR
21678
+ }
21679
+ }
21680
+ };
21681
+ }
21682
+ }
21683
+ const DEVUI_ECHART_THEME = {
21684
+ defaultColorPalette: DEFAULT_BASIC_COLOR_PALETTE,
21685
+ defaultDarkTheme: {
21686
+ color: DEFAULT_BASIC_COLOR_PALETTE,
21687
+ tooltip: {
21688
+ axisPointer: {
21689
+ label: {
21690
+ show: false
21691
+ },
21692
+ lineStyle: {
21693
+ color: DARK_LINE_COLOR,
21694
+ width: 2,
21695
+ type: [2, 3]
21696
+ },
21697
+ crossStyle: {
21698
+ color: DARK_LINE_COLOR,
21699
+ width: 2,
21700
+ type: [2, 3]
21701
+ }
21702
+ },
21703
+ backgroundColor: "rgba(36,37,38,0.96)",
21704
+ extraCssText: "border-radius: 8px;box-shadow: 0 1px 4px 0 rgba(37,43,58,0.1)",
21705
+ borderWidth: 0,
21706
+ padding: [8, 8],
21707
+ textStyle: {
21708
+ color: DARK_LEGEND_COLOR,
21709
+ fontSize: 12
21710
+ }
21711
+ },
21712
+ virtualMap: {
21713
+ textStyle: {
21714
+ color: DARK_TEXT_COLOR
21715
+ }
21716
+ },
21717
+ legend: {
21718
+ height: "80%",
21719
+ width: "80%",
21720
+ textStyle: {
21721
+ color: DARK_LEGEND_COLOR
21722
+ }
21723
+ },
21724
+ textStyle: {
21725
+ color: DARK_TEXT_COLOR
21726
+ },
21727
+ title: {
21728
+ textStyle: {
21729
+ color: DARK_TITLE_COLOR
21730
+ }
21731
+ },
21732
+ toolbox: {
21733
+ iconStyle: {
21734
+ borderColor: DARK_LINE_COLOR
21735
+ }
21736
+ },
21737
+ dataZoom: {
21738
+ textStyle: {
21739
+ color: DARK_TEXT_COLOR
21740
+ }
21741
+ },
21742
+ timeline: {
21743
+ lineStyle: {
21744
+ color: DARK_LINE_COLOR
21745
+ },
21746
+ label: {
21747
+ textStyle: {
21748
+ color: DARK_TEXT_COLOR
21749
+ }
21750
+ }
21751
+ },
21752
+ timeAxis: axisCommon("dark"),
21753
+ logAxis: axisCommon("dark"),
21754
+ valueAxis: __spreadProps(__spreadValues({}, axisCommon("dark")), {
21755
+ axisLine: {
21756
+ show: false,
21757
+ lineStyle: {
21758
+ color: DARK_AXIS_COLOR
21759
+ }
21760
+ },
21761
+ axisTick: {
21762
+ show: false
21763
+ }
21764
+ }),
21765
+ categoryAxis: __spreadProps(__spreadValues({}, axisCommon("dark")), {
21766
+ axisLine: {
21767
+ show: true,
21768
+ lineStyle: {
21769
+ color: DARK_AXIS_COLOR
21770
+ }
21771
+ },
21772
+ axisTick: {
21773
+ show: false
21774
+ }
21775
+ }),
21776
+ line: {
21777
+ symbol: "circle"
21778
+ },
21779
+ graph: {
21780
+ color: DEFAULT_BASIC_COLOR_PALETTE
21781
+ },
21782
+ geo: {
21783
+ itemStyle: {
21784
+ borderColor: "#fff",
21785
+ areaColor: "#37383A"
21786
+ }
21787
+ }
21788
+ },
21789
+ defaultLightTheme: {
21790
+ color: DEFAULT_BASIC_COLOR_PALETTE,
21791
+ tooltip: {
21792
+ axisPointer: {
21793
+ label: {
21794
+ show: false
21795
+ },
21796
+ lineStyle: {
21797
+ color: LIGHT_LINE_COLOR,
21798
+ width: 2,
21799
+ type: [2, 3]
21800
+ },
21801
+ crossStyle: {
21802
+ color: LIGHT_LINE_COLOR,
21803
+ width: 2,
21804
+ type: [2, 3]
21805
+ }
21806
+ },
21807
+ backgroundColor: "rgba(255,255,255,0.96)",
21808
+ extraCssText: "border-radius: 8px;box-shadow: 0 1px 4px 0 rgba(37,43,58,0.1)",
21809
+ borderWidth: 0,
21810
+ padding: [8, 8],
21811
+ textStyle: {
21812
+ color: LIGHT_LEGEND_COLOR,
21813
+ fontSize: 12
21814
+ }
21815
+ },
21816
+ virtualMap: {
21817
+ textStyle: {
21818
+ color: LIGHT_TEXT_COLOR
21819
+ }
21820
+ },
21821
+ legend: {
21822
+ height: "80%",
21823
+ width: "80%",
21824
+ align: "left",
21825
+ textStyle: {
21826
+ color: LIGHT_LEGEND_COLOR
21827
+ }
21828
+ },
21829
+ textStyle: {
21830
+ color: LIGHT_TEXT_COLOR
21831
+ },
21832
+ title: {
21833
+ textStyle: {
21834
+ color: LIGHT_TITLE_COLOR
21835
+ }
21836
+ },
21837
+ toolbox: {
21838
+ iconStyle: {
21839
+ borderColor: LIGHT_LINE_COLOR
21840
+ }
21841
+ },
21842
+ dataZoom: {
21843
+ textStyle: {
21844
+ color: LIGHT_TEXT_COLOR
21845
+ }
21846
+ },
21847
+ timeline: {
21848
+ lineStyle: {
21849
+ color: LIGHT_LINE_COLOR
21850
+ },
21851
+ label: {
21852
+ textStyle: {
21853
+ color: LIGHT_TEXT_COLOR
21854
+ }
21855
+ }
21856
+ },
21857
+ timeAxis: axisCommon("light"),
21858
+ logAxis: axisCommon("light"),
21859
+ valueAxis: __spreadProps(__spreadValues({}, axisCommon("light")), {
21860
+ axisLine: {
21861
+ show: false,
21862
+ lineStyle: {
21863
+ color: LIGHT_AXIS_COLOR
21864
+ }
21865
+ },
21866
+ axisTick: {
21867
+ show: false
21868
+ }
21869
+ }),
21870
+ categoryAxis: __spreadProps(__spreadValues({}, axisCommon("light")), {
21871
+ axisLine: {
21872
+ show: true,
21873
+ lineStyle: {
21874
+ color: LIGHT_AXIS_COLOR
21875
+ }
21876
+ },
21877
+ axisTick: {
21878
+ show: false
21879
+ }
21880
+ }),
21881
+ line: {
21882
+ symbol: "emptyCircle",
21883
+ markPoint: {
21884
+ label: {
21885
+ show: true,
21886
+ color: LIGHT_TEXT_COLOR
21887
+ }
21888
+ }
21889
+ },
21890
+ graph: {
21891
+ color: DEFAULT_BASIC_COLOR_PALETTE
21892
+ },
21893
+ geo: {
21894
+ itemStyle: {
21895
+ borderColor: "#fff",
21896
+ areaColor: "#eaebed"
21897
+ }
21898
+ }
21899
+ }
21900
+ };
21901
+ var DChart = defineComponent({
21902
+ name: "DChart",
21903
+ props: devuiChartProps,
21904
+ emits: ["chartReady"],
21905
+ setup(props, {
21906
+ emit
21907
+ }) {
21908
+ const {
21909
+ option: option2
21910
+ } = toRefs$1(props);
21911
+ let theme;
21912
+ let themeService;
21913
+ let isDark = false;
21914
+ let echartInstacne;
21915
+ let timer;
21916
+ const chartRef = ref();
21917
+ const themeChange = () => {
21918
+ var _a;
21919
+ isDark = !!((_a = themeService == null ? void 0 : themeService.currentTheme) == null ? void 0 : _a.isDark);
21920
+ theme = isDark ? DEVUI_ECHART_THEME.defaultDarkTheme : DEVUI_ECHART_THEME.defaultLightTheme;
21921
+ echartInstacne.dispose();
21922
+ echartInstacne = echarts.init(chartRef.value, theme);
21923
+ echartInstacne.setOption(option2.value, true);
21924
+ console.log(option2.value);
21925
+ emit("chartReady", echartInstacne);
21926
+ };
21927
+ const onresize = () => {
21928
+ clearTimeout(timer);
21929
+ timer = setTimeout(() => {
21930
+ echartInstacne.resize();
21931
+ }, 100);
21932
+ };
21933
+ onMounted(() => {
21934
+ var _a;
21935
+ themeService = window["devuiThemeService"];
21936
+ isDark = !!((_a = themeService == null ? void 0 : themeService.currentTheme) == null ? void 0 : _a.isDark);
21937
+ theme = isDark ? DEVUI_ECHART_THEME.defaultDarkTheme : DEVUI_ECHART_THEME.defaultLightTheme;
21938
+ echartInstacne = echarts.init(chartRef.value, theme);
21939
+ if (themeService) {
21940
+ themeService.eventBus.add("themeChanged", themeChange);
21941
+ }
21942
+ echartInstacne.setOption(option2.value, true);
21943
+ emit("chartReady", echartInstacne);
21944
+ window.addEventListener("resize", onresize);
21945
+ });
21946
+ onUnmounted(() => {
21947
+ echartInstacne == null ? void 0 : echartInstacne.dispatchAction({
21948
+ type: "hideTip"
21949
+ });
21950
+ themeService.eventBus.remove("themeChanged", themeChange);
21951
+ });
21952
+ return () => createVNode("div", {
21953
+ "ref": chartRef,
21954
+ "class": "devui-charts"
21955
+ }, null);
21956
+ }
21957
+ });
21958
+ var EchartsInstall = {
21959
+ title: "Echarts \u56FE\u8868",
21960
+ category: "\u6F14\u8FDB\u4E2D",
21961
+ status: "100%",
21962
+ install(app) {
21963
+ app.component(DChart.name, DChart);
21964
+ }
21965
+ };
21298
21966
  const editableSelectProps = {
21299
21967
  modelValue: {
21300
21968
  type: [String, Number]
@@ -24714,7 +25382,7 @@ function useEditorMdRender(props, ctx2) {
24714
25382
  clearTimeout(timer);
24715
25383
  }
24716
25384
  timer = setTimeout(() => {
24717
- if (!content2.value) {
25385
+ if (content2.value === void 0) {
24718
25386
  return;
24719
25387
  }
24720
25388
  let html = renderService.generateHTML(content2.value);
@@ -25962,7 +26630,7 @@ var imagePreview = defineComponent({
25962
26630
  }, [createVNode("polygon", {
25963
26631
  "fill": "#293040",
25964
26632
  "fill-rule": "nonzero",
25965
- "points": "8 6.58578644 12.2426407 2.34314575 13.6568542 3.75735931 9.41421356 8 13.6568542 12.2426407 12.2426407 13.6568542 8 9.41421356 3.75735931 13.6568542 2.34314575 12.2426407 6.58578644 8 2.34314575 3.75735931 3.75735931 2.34314575"
26633
+ "points": "8 6.58578644 12.2426407 2.34314575 13.6568542 3.75735931 9.41421356 8 13.6568542 12.2426407 12.2426407 13.6568542 8 9.41421356 3.75735931 13.6568542 2.34314575 12.2426407 6.58578644 8 2.34314575 3.75735931 3.75735931 2.34314575"
25966
26634
  }, null)])])]), createVNode("button", {
25967
26635
  "class": ns2.e("arrow-left"),
25968
26636
  "onClick": onPrev
@@ -25979,7 +26647,7 @@ var imagePreview = defineComponent({
25979
26647
  }, [createVNode("polygon", {
25980
26648
  "fill": "#293040",
25981
26649
  "fill-rule": "nonzero",
25982
- "points": "10.7071068 12.2928932 9.29289322 13.7071068 3.58578644 8 9.29289322 2.29289322 10.7071068 3.70710678 6.41421356 8"
26650
+ "points": "10.7071068 12.2928932 9.29289322 13.7071068 3.58578644 8 9.29289322 2.29289322 10.7071068 3.70710678 6.41421356 8"
25983
26651
  }, null)])])]), createVNode("button", {
25984
26652
  "class": ns2.e("arrow-right"),
25985
26653
  "onClick": onNext
@@ -25997,7 +26665,7 @@ var imagePreview = defineComponent({
25997
26665
  "fill": "#293040",
25998
26666
  "fill-rule": "nonzero",
25999
26667
  "transform": "translate(8.146447, 8.000000) scale(-1, 1) translate(-8.146447, -8.000000) ",
26000
- "points": "11.7071068 12.2928932 10.2928932 13.7071068 4.58578644 8 10.2928932 2.29289322 11.7071068 3.70710678 7.41421356 8"
26668
+ "points": "11.7071068 12.2928932 10.2928932 13.7071068 4.58578644 8 10.2928932 2.29289322 11.7071068 3.70710678 7.41421356 8"
26001
26669
  }, null)])])]), createVNode("div", {
26002
26670
  "class": ns2.e("toolbar")
26003
26671
  }, [createVNode("button", {
@@ -26015,7 +26683,13 @@ var imagePreview = defineComponent({
26015
26683
  "fill": "#293040",
26016
26684
  "fill-rule": "nonzero"
26017
26685
  }, [createVNode("path", {
26018
- "d": "M6,6 L6,4 L8,4 L8,6 L10,6 L10,8 L8,8 L8,10 L6,10 L6,8 L4,8 L4,6 L6,6 Z M12.6063847,11.1921711 L15.6568542,14.2426407 L14.2426407,15.6568542 L11.1921711,12.6063847 C10.0235906,13.4815965 8.5723351,14 7,14 C3.13400675,14 0,10.8659932 0,7 C0,3.13400675 3.13400675,0 7,0 C10.8659932,0 14,3.13400675 14,7 C14,8.5723351 13.4815965,10.0235906 12.6063847,11.1921711 L12.6063847,11.1921711 Z M7,12 C9.76142375,12 12,9.76142375 12,7 C12,4.23857625 9.76142375,2 7,2 C4.23857625,2 2,4.23857625 2,7 C2,9.76142375 4.23857625,12 7,12 Z"
26686
+ "d": `M6,6 L6,4 L8,4 L8,6 L10,6 L10,8 L8,8 L8,10 L6,10 L6,8 L4,8 L4,6 L6,6 Z
26687
+ M12.6063847,11.1921711 L15.6568542,14.2426407 L14.2426407,15.6568542 L11.1921711,12.6063847
26688
+ C10.0235906,13.4815965 8.5723351,14 7,14 C3.13400675,14 0,10.8659932 0,7 C0,3.13400675
26689
+ 3.13400675,0 7,0 C10.8659932,0 14,3.13400675 14,7 C14,8.5723351 13.4815965,10.0235906
26690
+ 12.6063847,11.1921711 L12.6063847,11.1921711 Z M7,12 C9.76142375,12 12,9.76142375
26691
+ 12,7 C12,4.23857625 9.76142375,2 7,2 C4.23857625,2 2,4.23857625 2,7 C2,9.76142375
26692
+ 4.23857625,12 7,12 Z`
26019
26693
  }, null)])])])]), createVNode("button", {
26020
26694
  "onClick": onZoomOut
26021
26695
  }, [createVNode("svg", {
@@ -26031,7 +26705,12 @@ var imagePreview = defineComponent({
26031
26705
  "fill": "#293040",
26032
26706
  "fill-rule": "nonzero"
26033
26707
  }, [createVNode("path", {
26034
- "d": "M12.6063847,11.1921711 L15.6568542,14.2426407 L14.2426407,15.6568542 L11.1921711,12.6063847 C10.0235906,13.4815965 8.5723351,14 7,14 C3.13400675,14 0,10.8659932 0,7 C0,3.13400675 3.13400675,0 7,0 C10.8659932,0 14,3.13400675 14,7 C14,8.5723351 13.4815965,10.0235906 12.6063847,11.1921711 L12.6063847,11.1921711 Z M7,12 C9.76142375,12 12,9.76142375 12,7 C12,4.23857625 9.76142375,2 7,2 C4.23857625,2 2,4.23857625 2,7 C2,9.76142375 4.23857625,12 7,12 Z M4,6 L10,6 L10,8 L4,8 L4,6 Z"
26708
+ "d": `M12.6063847,11.1921711 L15.6568542,14.2426407 L14.2426407,15.6568542
26709
+ L11.1921711,12.6063847 C10.0235906,13.4815965 8.5723351,14 7,14 C3.13400675,14 0,10.8659932
26710
+ 0,7 C0,3.13400675 3.13400675,0 7,0 C10.8659932,0 14,3.13400675 14,7 C14,8.5723351
26711
+ 13.4815965,10.0235906 12.6063847,11.1921711 L12.6063847,11.1921711 Z M7,12 C9.76142375,12
26712
+ 12,9.76142375 12,7 C12,4.23857625 9.76142375,2 7,2 C4.23857625,2 2,4.23857625 2,7 C2,9.76142375
26713
+ 4.23857625,12 7,12 Z M4,6 L10,6 L10,8 L4,8 L4,6 Z`
26035
26714
  }, null)])])])]), createVNode("button", {
26036
26715
  "onClick": onRotate
26037
26716
  }, [createVNode("svg", {
@@ -26045,7 +26724,16 @@ var imagePreview = defineComponent({
26045
26724
  "fill": "none",
26046
26725
  "fill-rule": "evenodd"
26047
26726
  }, [createVNode("path", {
26048
- "d": "M7.5,3.02242151 L7.5,4 L4.5,2 L7.5,0 L7.5,1.01640228 C7.66526181,1.00552468 7.83198572,1 8,1 C12.1421356,1 15.5,4.35786438 15.5,8.5 C15.5,12.6421356 12.1421356,16 8,16 C3.85786438,16 0.5,12.6421356 0.5,8.5 C0.5,6.9828355 0.950484514,5.5708873 1.72499011,4.39061882 L3.42173231,5.4510827 C2.83944149,6.32371289 2.5,7.37221604 2.5,8.5 C2.5,11.5375661 4.96243388,14 8,14 C11.0375661,14 13.5,11.5375661 13.5,8.5 C13.5,5.46243388 11.0375661,3 8,3 C7.83145515,3 7.66468102,3.00758131 7.5,3.02242151 Z M8,11 C6.61928813,11 5.5,9.88071187 5.5,8.5 C5.5,7.11928813 6.61928813,6 8,6 C9.38071187,6 10.5,7.11928813 10.5,8.5 C10.5,9.88071187 9.38071187,11 8,11 Z M8,10 C8.82842712,10 9.5,9.32842712 9.5,8.5 C9.5,7.67157288 8.82842712,7 8,7 C7.17157288,7 6.5,7.67157288 6.5,8.5 C6.5,9.32842712 7.17157288,10 8,10 Z",
26727
+ "d": `M7.5,3.02242151 L7.5,4 L4.5,2 L7.5,0 L7.5,1.01640228 C7.66526181,1.00552468
26728
+ 7.83198572,1 8,1 C12.1421356,1 15.5,4.35786438 15.5,8.5 C15.5,12.6421356
26729
+ 12.1421356,16 8,16 C3.85786438,16 0.5,12.6421356 0.5,8.5 C0.5,6.9828355
26730
+ 0.950484514,5.5708873 1.72499011,4.39061882 L3.42173231,5.4510827 C2.83944149,6.32371289
26731
+ 2.5,7.37221604 2.5,8.5 C2.5,11.5375661 4.96243388,14 8,14 C11.0375661,14 13.5,11.5375661
26732
+ 13.5,8.5 C13.5,5.46243388 11.0375661,3 8,3 C7.83145515,3 7.66468102,3.00758131 7.5,3.02242151
26733
+ Z M8,11 C6.61928813,11 5.5,9.88071187 5.5,8.5 C5.5,7.11928813 6.61928813,6 8,6 C9.38071187,6
26734
+ 10.5,7.11928813 10.5,8.5 C10.5,9.88071187 9.38071187,11 8,11 Z M8,10 C8.82842712,10 9.5,9.32842712
26735
+ 9.5,8.5 C9.5,7.67157288 8.82842712,7 8,7 C7.17157288,7 6.5,7.67157288 6.5,8.5 C6.5,9.32842712
26736
+ 7.17157288,10 8,10 Z`,
26049
26737
  "fill": "#293040"
26050
26738
  }, null)])])]), createVNode("button", {
26051
26739
  "onClick": onPrev
@@ -26062,7 +26750,7 @@ var imagePreview = defineComponent({
26062
26750
  }, [createVNode("polygon", {
26063
26751
  "fill": "#293040",
26064
26752
  "fill-rule": "nonzero",
26065
- "points": "10.7071068 12.2928932 9.29289322 13.7071068 3.58578644 8 9.29289322 2.29289322 10.7071068 3.70710678 6.41421356 8"
26753
+ "points": "10.7071068 12.2928932 9.29289322 13.7071068 3.58578644 8 9.29289322 2.29289322 10.7071068 3.70710678 6.41421356 8"
26066
26754
  }, null)])])]), createVNode("span", {
26067
26755
  "class": ns2.e("index")
26068
26756
  }, [index2.value + 1, createTextVNode(":"), props.previewUrlList.length]), createVNode("button", {
@@ -26081,7 +26769,7 @@ var imagePreview = defineComponent({
26081
26769
  "fill": "#293040",
26082
26770
  "fill-rule": "nonzero",
26083
26771
  "transform": "translate(8.146447, 8.000000) scale(-1, 1) translate(-8.146447, -8.000000) ",
26084
- "points": "11.7071068 12.2928932 10.2928932 13.7071068 4.58578644 8 10.2928932 2.29289322 11.7071068 3.70710678 7.41421356 8"
26772
+ "points": "11.7071068 12.2928932 10.2928932 13.7071068 4.58578644 8 10.2928932 2.29289322 11.7071068 3.70710678 7.41421356 8"
26085
26773
  }, null)])])]), createVNode("button", {
26086
26774
  "onClick": onZoomBest
26087
26775
  }, [createVNode("svg", {
@@ -26094,7 +26782,12 @@ var imagePreview = defineComponent({
26094
26782
  "fill": "none",
26095
26783
  "fill-rule": "evenodd"
26096
26784
  }, [createVNode("path", {
26097
- "d": "M16,16 L11.429,16 L11.429,15 L14.456,15 L11.006,11.226 L11.652,10.519 L15.086,14.275 L15.086,11 L16,11 L16,16 Z M15.164,1.544 L12.009,4.994 L11.418,4.348 L14.558,0.914 L11.82,0.914 L11.82,0 L16,0 L16,4.571 L15.164,4.571 L15.164,1.544 Z M5,15 L5,16 L0,16 L0,11 L1,11 L1,14.275 L4.756,10.519 L5.463,11.226 L1.689,15 L5,15 Z M4.365,4.994 L0.914,1.544 L0.914,4.571 L3.41060513e-13,4.571 L3.41060513e-13,0 L4.571,0 L4.571,0.914 L1.578,0.914 L5.011,4.348 L4.365,4.994 Z",
26785
+ "d": `M16,16 L11.429,16 L11.429,15 L14.456,15 L11.006,11.226 L11.652,10.519 L15.086,14.275
26786
+ L15.086,11 L16,11 L16,16 Z M15.164,1.544 L12.009,4.994 L11.418,4.348 L14.558,0.914
26787
+ L11.82,0.914 L11.82,0 L16,0 L16,4.571 L15.164,4.571 L15.164,1.544 Z M5,15 L5,16
26788
+ L0,16 L0,11 L1,11 L1,14.275 L4.756,10.519 L5.463,11.226 L1.689,15 L5,15 Z M4.365,4.994
26789
+ L0.914,1.544 L0.914,4.571 L3.41060513e-13,4.571 L3.41060513e-13,0 L4.571,0 L4.571,0.914
26790
+ L1.578,0.914 L5.011,4.348 L4.365,4.994 Z`,
26098
26791
  "fill": "#293040",
26099
26792
  "fill-rule": "nonzero"
26100
26793
  }, null)])])]), createVNode("button", {
@@ -26346,7 +27039,10 @@ function IncIcon() {
26346
27039
  "fill": "none",
26347
27040
  "fill-rule": "evenodd"
26348
27041
  }, [createVNode("path", {
26349
- "d": "M12.1464466,6.85355339 L8.35355339,10.6464466 C8.15829124,10.8417088 7.84170876,10.8417088 7.64644661,10.6464466 L3.85355339,6.85355339 C3.65829124,6.65829124 3.65829124,6.34170876 3.85355339,6.14644661 C3.94732158,6.05267842 4.07449854,6 4.20710678,6 L11.7928932,6 C12.0690356,6 12.2928932,6.22385763 12.2928932,6.5 C12.2928932,6.63260824 12.2402148,6.7597852 12.1464466,6.85355339 Z",
27042
+ "d": `M12.1464466,6.85355339 L8.35355339,10.6464466 C8.15829124,10.8417088 7.84170876,10.8417088 7.64644661,10.6464466
27043
+ L3.85355339,6.85355339 C3.65829124,6.65829124 3.65829124,6.34170876 3.85355339,6.14644661 C3.94732158,6.05267842
27044
+ 4.07449854,6 4.20710678,6 L11.7928932,6 C12.0690356,6 12.2928932,6.22385763 12.2928932,6.5 C12.2928932,6.63260824
27045
+ 12.2402148,6.7597852 12.1464466,6.85355339 Z`,
26350
27046
  "fill-rule": "nonzero"
26351
27047
  }, null)])]);
26352
27048
  }
@@ -26364,7 +27060,10 @@ function DecIcon() {
26364
27060
  "fill": "none",
26365
27061
  "fill-rule": "evenodd"
26366
27062
  }, [createVNode("path", {
26367
- "d": "M12.1464466,6.85355339 L8.35355339,10.6464466 C8.15829124,10.8417088 7.84170876,10.8417088 7.64644661,10.6464466 L3.85355339,6.85355339 C3.65829124,6.65829124 3.65829124,6.34170876 3.85355339,6.14644661 C3.94732158,6.05267842 4.07449854,6 4.20710678,6 L11.7928932,6 C12.0690356,6 12.2928932,6.22385763 12.2928932,6.5 C12.2928932,6.63260824 12.2402148,6.7597852 12.1464466,6.85355339 Z",
27063
+ "d": `M12.1464466,6.85355339 L8.35355339,10.6464466 C8.15829124,10.8417088 7.84170876,10.8417088 7.64644661,10.6464466
27064
+ L3.85355339,6.85355339 C3.65829124,6.65829124 3.65829124,6.34170876 3.85355339,6.14644661 C3.94732158,6.05267842
27065
+ 4.07449854,6 4.20710678,6 L11.7928932,6 C12.0690356,6 12.2928932,6.22385763 12.2928932,6.5 C12.2928932,6.63260824
27066
+ 12.2402148,6.7597852 12.1464466,6.85355339 Z`,
26368
27067
  "fill-rule": "nonzero"
26369
27068
  }, null)])]);
26370
27069
  }
@@ -28947,7 +29646,7 @@ function SuccessIcon() {
28947
29646
  "xmlns": "http://www.w3.org/2000/svg"
28948
29647
  }, XLINK), [createVNode("defs", null, [createVNode("polygon", {
28949
29648
  "id": "path-s",
28950
- "points": "6.53553391 9.77817459 12.1923882 4.12132034 13.6066017 5.53553391 6.53553391 12.6066017 3 9.07106781 4.41421356 7.65685425 6.53553391 9.77817459"
29649
+ "points": "6.53553391 9.77817459 12.1923882 4.12132034 13.6066017 5.53553391 6.53553391 12.6066017 3 9.07106781 4.41421356 7.65685425 6.53553391 9.77817459"
28951
29650
  }, null)]), createVNode("g", {
28952
29651
  "id": "correct",
28953
29652
  "stroke": "none",
@@ -28976,12 +29675,17 @@ function WarningIcon() {
28976
29675
  "fill-rule": "evenodd"
28977
29676
  }, [createVNode("path", {
28978
29677
  "class": ns$4.e("warning-outer"),
28979
- "d": "M8.96244623,0.57254229 L15.8714442,13.4101975 C16.1549662,13.9370117 15.9538562,14.5918482 15.4222523,14.8728158 C15.2642579,14.9563203 15.0879506, 15 14.9088903,15 L1.09089441,15 C0.488410063,15 0,14.5159904 0,13.9189343 C0,13.7414873 0.0440768395,13.5667684 0.128340519,13.4101975 L7.03733844,0.57254229 C7.32086049, 0.0457280838 7.98165058,-0.153569987 8.51325441,0.127397589 C8.70423071, 0.228333932 8.8605922,0.383286648 8.96244623,0.57254229 Z"
29678
+ "d": `M8.96244623,0.57254229 L15.8714442,13.4101975 C16.1549662,13.9370117
29679
+ 15.9538562,14.5918482 15.4222523,14.8728158 C15.2642579,14.9563203 15.0879506,
29680
+ 15 14.9088903,15 L1.09089441,15 C0.488410063,15 0,14.5159904 0,13.9189343 C0,13.7414873
29681
+ 0.0440768395,13.5667684 0.128340519,13.4101975 L7.03733844,0.57254229 C7.32086049,
29682
+ 0.0457280838 7.98165058,-0.153569987 8.51325441,0.127397589 C8.70423071,
29683
+ 0.228333932 8.8605922,0.383286648 8.96244623,0.57254229 Z`
28980
29684
  }, null), createVNode("path", {
28981
29685
  "class": ns$4.e("warning-inner"),
28982
29686
  "stroke-width": "0.3",
28983
29687
  "fill-rule": "nonzero",
28984
- "d": "M8.87894737,13 L7.08947368,13 L7.08947368,11.2105263 L8.87894737,11.2105263 L8.87894737,13 Z M8.62102372,9.86842105 L7.32800539,9.86842105 L7,4.5 L8.96842105,4.5 L8.62102372,9.86842105 Z"
29688
+ "d": "M8.87894737,13 L7.08947368,13 L7.08947368,11.2105263 L8.87894737,11.2105263 L8.87894737,13 Z M8.62102372,9.86842105 L7.32800539,9.86842105 L7,4.5 L8.96842105,4.5 L8.62102372,9.86842105 Z"
28985
29689
  }, null)])]);
28986
29690
  }
28987
29691
  function InfoIcon() {
@@ -29012,7 +29716,9 @@ function ErrorIcon() {
29012
29716
  "xmlns": "http://www.w3.org/2000/svg"
29013
29717
  }, XLINK), [createVNode("defs", null, [createVNode("polygon", {
29014
29718
  "id": "path-e",
29015
- "points": "8.07106781 6.65685425 10.8994949 3.82842712 12.3137085 5.24264069 9.48528137 8.07106781 12.3137085 10.8994949 10.8994949 12.3137085 8.07106781 9.48528137 5.24264069 12.3137085 3.82842712 10.8994949 6.65685425 8.07106781 3.82842712 5.24264069 5.24264069 3.82842712"
29719
+ "points": `8.07106781 6.65685425 10.8994949 3.82842712 12.3137085 5.24264069 9.48528137 8.07106781 12.3137085
29720
+ 10.8994949 10.8994949 12.3137085 8.07106781 9.48528137 5.24264069 12.3137085 3.82842712 10.8994949 6.65685425
29721
+ 8.07106781 3.82842712 5.24264069 5.24264069 3.82842712`
29016
29722
  }, null)]), createVNode("g", {
29017
29723
  "id": "error",
29018
29724
  "stroke": "none",
@@ -29735,7 +30441,10 @@ const SelectArrowIcon = () => createVNode("svg", {
29735
30441
  "fill": "none",
29736
30442
  "fill-rule": "evenodd"
29737
30443
  }, [createVNode("path", {
29738
- "d": "M12.1464466,6.85355339 L8.35355339,10.6464466 C8.15829124,10.8417088 7.84170876,10.8417088 7.64644661,10.6464466 L3.85355339,6.85355339 C3.65829124,6.65829124 3.65829124,6.34170876 3.85355339,6.14644661 C3.94732158,6.05267842 4.07449854,6 4.20710678,6 L11.7928932,6 C12.0690356,6 12.2928932,6.22385763 12.2928932,6.5 C12.2928932,6.63260824 12.2402148,6.7597852 12.1464466,6.85355339 Z",
30444
+ "d": `M12.1464466,6.85355339 L8.35355339,10.6464466 C8.15829124,10.8417088 7.84170876,10.8417088
30445
+ 7.64644661,10.6464466 L3.85355339,6.85355339 C3.65829124,6.65829124 3.65829124,6.34170876
30446
+ 3.85355339,6.14644661 C3.94732158,6.05267842 4.07449854,6 4.20710678,6 L11.7928932,6 C12.0690356,6
30447
+ 12.2928932,6.22385763 12.2928932,6.5 C12.2928932,6.63260824 12.2402148,6.7597852 12.1464466,6.85355339 Z`,
29739
30448
  "fill-rule": "nonzero"
29740
30449
  }, null)])]);
29741
30450
  const tagProps = {
@@ -30559,7 +31268,7 @@ function PreLinkIcon() {
30559
31268
  }, [createVNode("polygon", {
30560
31269
  "fill": "#293040",
30561
31270
  "fill-rule": "nonzero",
30562
- "points": "10.7071068 12.2928932 9.29289322 13.7071068 3.58578644 8 9.29289322 2.29289322 10.7071068 3.70710678 6.41421356 8"
31271
+ "points": "10.7071068 12.2928932 9.29289322 13.7071068 3.58578644 8 9.29289322 2.29289322 10.7071068 3.70710678 6.41421356 8"
30563
31272
  }, null)])]);
30564
31273
  }
30565
31274
  function NextLinkIcon() {
@@ -30578,7 +31287,7 @@ function NextLinkIcon() {
30578
31287
  "fill": "#293040",
30579
31288
  "fill-rule": "nonzero",
30580
31289
  "transform": "translate(8.146447, 8.000000) scale(-1, 1) translate(-8.146447, -8.000000) ",
30581
- "points": "11.7071068 12.2928932 10.2928932 13.7071068 4.58578644 8 10.2928932 2.29289322 11.7071068 3.70710678 7.41421356 8"
31290
+ "points": "11.7071068 12.2928932 10.2928932 13.7071068 4.58578644 8 10.2928932 2.29289322 11.7071068 3.70710678 7.41421356 8"
30582
31291
  }, null)])]);
30583
31292
  }
30584
31293
  const pageNumBtnProps = {
@@ -32111,7 +32820,7 @@ var Rate = defineComponent({
32111
32820
  "fill": "#E3E5E9",
32112
32821
  "id": "Mask"
32113
32822
  }, [createVNode("polygon", {
32114
- "points": "8 12.7603585 3.67376208 14.3147912 3.81523437 9.71994835 1 6.0857977 5.41367261 4.80046131 8 1 10.5863274 4.80046131 15 6.0857977 12.1847656 9.71994835 12.3262379 14.3147912"
32823
+ "points": "8 12.7603585 3.67376208 14.3147912 3.81523437 9.71994835 1 6.0857977 5.41367261 4.80046131 8 1 10.5863274 4.80046131 15 6.0857977 12.1847656 9.71994835 12.3262379 14.3147912"
32115
32824
  }, null)])])])]), icon2 && !character && createVNode("span", {
32116
32825
  "class": [ns2.e("color-active"), ns2.e("active-star"), ns2.em("color", type4)],
32117
32826
  "style": {
@@ -32146,7 +32855,7 @@ var Rate = defineComponent({
32146
32855
  }, [createVNode("g", {
32147
32856
  "id": "Mask"
32148
32857
  }, [createVNode("polygon", {
32149
- "points": "8 12.7603585 3.67376208 14.3147912 3.81523437 9.71994835 1 6.0857977 5.41367261 4.80046131 8 1 10.5863274 4.80046131 15 6.0857977 12.1847656 9.71994835 12.3262379 14.3147912"
32858
+ "points": "8 12.7603585 3.67376208 14.3147912 3.81523437 9.71994835 1 6.0857977 5.41367261 4.80046131 8 1 10.5863274 4.80046131 15 6.0857977 12.1847656 9.71994835 12.3262379 14.3147912"
32150
32859
  }, null)])])])])]))]);
32151
32860
  }
32152
32861
  });
@@ -32743,7 +33452,9 @@ const SearchCloseIcon = () => createVNode("svg", {
32743
33452
  "width": "12px",
32744
33453
  "height": "12px"
32745
33454
  }, [createVNode("path", {
32746
- "d": "M940.8 207.530667L818.602667 85.333333l-305.493334 305.493334L207.616 85.333333 85.333333 207.530667l305.493334 305.493333L85.333333 818.517333l122.282667 122.282667 305.493333-305.493333 305.493334 305.493333 122.197333-122.282667-305.493333-305.493333z",
33455
+ "d": `M940.8 207.530667L818.602667 85.333333l-305.493334 305.493334L207.616 85.333333
33456
+ 85.333333 207.530667l305.493334 305.493333L85.333333 818.517333l122.282667 122.282667
33457
+ 305.493333-305.493333 305.493334 305.493333 122.197333-122.282667-305.493333-305.493333z`,
32747
33458
  "p-id": "30810"
32748
33459
  }, null)]);
32749
33460
  const SearchIcon = () => createVNode("svg", {
@@ -32752,7 +33463,7 @@ const SearchIcon = () => createVNode("svg", {
32752
33463
  "width": "12px",
32753
33464
  "height": "12px"
32754
33465
  }, [createVNode("path", {
32755
- "d": "M1005.312 914.752l-198.528-198.464A448 448 0 1 0 0 448a448 448 0 0 0 716.288 358.784l198.4 198.4a64 64 0 1 0 90.624-90.432zM448 767.936A320 320 0 1 1 448 128a320 320 0 0 1 0 640z",
33466
+ "d": "M1005.312 914.752l-198.528-198.464A448 448 0 1 0 0 448a448 448 0 0 0 716.288 358.784l198.4 198.4a64 64 0 1 0 90.624-90.432zM448 767.936A320 320 0 1 1 448 128a320 320 0 0 1 0 640z",
32756
33467
  "fill": "#262626",
32757
33468
  "p-id": "32547"
32758
33469
  }, null)]);
@@ -32892,7 +33603,23 @@ function ImageIcon() {
32892
33603
  "width": "24",
32893
33604
  "height": "24"
32894
33605
  }, null), createVNode("path", {
32895
- "d": "M17.9783341,3.022 C19.5705758,3.022 20.8816065,4.27616494 20.9732206,5.84628917 L20.9783341,6.022 L20.9783341,15.4777069 L20.9783775,15.4946187 C20.9778434,15.509964 20.9768409,15.525296 20.9753698,15.5405914 L20.9783341,15.4777069 C20.9783341,15.8919205 20.6425477,16.2277069 20.2283341,16.2277069 C19.9841207,16.2277069 19.7671693,16.1109847 19.630224,15.9302845 L16.3835041,12.6846982 C15.9279377,12.2291319 15.2084078,12.1987608 14.7176463,12.593585 L14.6161642,12.6846982 L9.05907272,18.2417898 C8.76083183,18.5400306 8.28304152,18.5577535 7.96352506,18.2824274 C7.67269311,18.0318186 7.64008582,17.5928941 7.89069464,17.3020621 L7.9253008,17.2647549 L7.9253008,17.2647549 L13.5555041,11.6240381 C14.5846517,10.5948904 16.2263561,10.5520093 17.3065502,11.4953946 L17.4441642,11.6240381 L19.4783341,13.658 L19.4783341,6.022 C19.4783341,5.24761276 18.8784495,4.6021759 18.1219124,4.52892169 L17.9783341,4.522 L6.02133414,4.522 C5.24694691,4.522 4.60151004,5.12188468 4.52825583,5.87842174 L4.52133414,6.022 L4.52133414,17.978 C4.52133414,18.7529555 5.12086774,19.397891 5.87769393,19.4710842 L6.02133414,19.478 L17.9783341,19.478 C18.7530944,19.478 19.3982021,18.8786501 19.4714163,18.1216726 L19.4783341,17.978 C19.4783341,17.5637864 19.8141206,17.208 20.2283341,17.228 C20.6425477,17.228 20.9783341,17.5637864 20.9783341,17.978 C20.9783341,19.5709231 19.724442,20.881321 18.1540742,20.9728891 L17.9783341,20.978 L6.02133414,20.978 C4.42880954,20.978 3.11804157,19.7244922 3.02644657,18.1537812 L3.02133414,17.978 L3.02133414,6.022 C3.02133414,4.42975835 4.27549908,3.11872764 5.84562331,3.02711351 L6.02133414,3.022 L17.9783341,3.022 Z M8.99983414,7.7505 C9.6900477,7.7505 10.2498341,8.31028644 10.2498341,9.0005 C10.2498341,9.69071356 9.6900477,10.2505 8.99983414,10.3505 C8.30962058,10.2505 7.74983414,9.69071356 7.74983414,9.0005 C7.74983414,8.31028644 8.30962058,7.7505 8.99983414,7.7505 Z",
33606
+ "d": `M17.9783341,3.022 C19.5705758,3.022 20.8816065,4.27616494 20.9732206,5.84628917 L20.9783341,6.022 L20.9783341,15.4777069
33607
+ L20.9783775,15.4946187 C20.9778434,15.509964 20.9768409,15.525296 20.9753698,15.5405914 L20.9783341,15.4777069
33608
+ C20.9783341,15.8919205 20.6425477,16.2277069 20.2283341,16.2277069 C19.9841207,16.2277069 19.7671693,16.1109847
33609
+ 19.630224,15.9302845 L16.3835041,12.6846982 C15.9279377,12.2291319 15.2084078,12.1987608 14.7176463,12.593585
33610
+ L14.6161642,12.6846982 L9.05907272,18.2417898 C8.76083183,18.5400306 8.28304152,18.5577535 7.96352506,18.2824274
33611
+ C7.67269311,18.0318186 7.64008582,17.5928941 7.89069464,17.3020621 L7.9253008,17.2647549 L7.9253008,17.2647549
33612
+ L13.5555041,11.6240381 C14.5846517,10.5948904 16.2263561,10.5520093 17.3065502,11.4953946 L17.4441642,11.6240381
33613
+ L19.4783341,13.658 L19.4783341,6.022 C19.4783341,5.24761276 18.8784495,4.6021759 18.1219124,4.52892169 L17.9783341,4.522
33614
+ L6.02133414,4.522 C5.24694691,4.522 4.60151004,5.12188468 4.52825583,5.87842174 L4.52133414,6.022 L4.52133414,17.978
33615
+ C4.52133414,18.7529555 5.12086774,19.397891 5.87769393,19.4710842 L6.02133414,19.478 L17.9783341,19.478 C18.7530944,19.478
33616
+ 19.3982021,18.8786501 19.4714163,18.1216726 L19.4783341,17.978 C19.4783341,17.5637864 19.8141206,17.208 20.2283341,17.228
33617
+ C20.6425477,17.228 20.9783341,17.5637864 20.9783341,17.978 C20.9783341,19.5709231 19.724442,20.881321 18.1540742,20.9728891
33618
+ L17.9783341,20.978 L6.02133414,20.978 C4.42880954,20.978 3.11804157,19.7244922 3.02644657,18.1537812 L3.02133414,17.978
33619
+ L3.02133414,6.022 C3.02133414,4.42975835 4.27549908,3.11872764 5.84562331,3.02711351 L6.02133414,3.022 L17.9783341,3.022 Z
33620
+ M8.99983414,7.7505 C9.6900477,7.7505 10.2498341,8.31028644 10.2498341,9.0005 C10.2498341,9.69071356 9.6900477,10.2505
33621
+ 8.99983414,10.3505 C8.30962058,10.2505 7.74983414,9.69071356 7.74983414,9.0005 C7.74983414,8.31028644 8.30962058,7.7505
33622
+ 8.99983414,7.7505 Z`,
32896
33623
  "fill": "#bfbfbf"
32897
33624
  }, null)])])]);
32898
33625
  }
@@ -41416,6 +42143,7 @@ const installs = [
41416
42143
  DragdropInstall,
41417
42144
  DrawerInstall,
41418
42145
  DropdownInstall,
42146
+ EchartsInstall,
41419
42147
  EditableSelectInstall,
41420
42148
  EditorMdInstall,
41421
42149
  FormInstall,
@@ -41475,9 +42203,9 @@ const installs = [
41475
42203
  VirtualListInstall
41476
42204
  ];
41477
42205
  var vueDevui = {
41478
- version: "1.5.5",
42206
+ version: "1.5.7",
41479
42207
  install(app) {
41480
42208
  installs.forEach((p) => app.use(p));
41481
42209
  }
41482
42210
  };
41483
- export { Accordion, ActionTimeline, Alert, Anchor, Aside, AutoComplete, Avatar, BackTop, Badge, Breadcrumb, BreadcrumbItem, DButton as Button, ButtonGroup, Card, Carousel, CarouselItem, Cascader, Checkbox, CheckboxButton, DCheckboxGroup as CheckboxGroup, CodeEditor, CodeReview, Col, Collapse, CollapseItem, ColorPicker, Column, Comment, Content, Countdown, DRangeDatePickerPro, DatePicker, DatePickerPro, DraggableDirective, Drawer, DrawerService, Dropdown$1 as Dropdown, DropdownMenu, DroppableDirective, EditableSelect, EditorMd, FixedOverlay, FlexibleOverlay, Footer, Form, FormItem, FormOperation, Fullscreen, Gantt, Header, DIcon as Icon, IconGroup, ImagePreviewDirective, ImagePreviewService, DInput as Input, InputIcon, InputNumber, Layout, List, ListItem, LoadingDirective, loading as LoadingService, MdRender, Mention, Menu, MenuItem, Message, Modal, ModalBody, ModalFooter, ModalHeader, MultiAutoComplete, NavSprite, Notification, NotificationService, Option, OptionGroup, Pagination, Panel, PanelBody, PanelFooter, PanelHeader, Popover, Progress, QuadrantDiagram, Radio, RadioButton, RadioGroup, Rate, ReadTip, Result, RippleDirective, Row, DSearch as Search, Select, Skeleton, SkeletonItem, Slider, SortableDirective, Splitter, SplitterPane, Statistic, Status, Step, Steps, StepsGuide, StepsGuideDirective, StickSlider, Sticky, SubMenu, Switch, Tab, Table, Tabs, Tag, TagInput, Textarea, TimePicker, TimeSelect, Timeline, TimelineItem, Tooltip, Transfer, Tree, TreeSelect, Upload, VirtualList, vueDevui as default, fileDropDirective };
42211
+ export { Accordion, ActionTimeline, Alert, Anchor, Aside, AutoComplete, Avatar, BackTop, Badge, Breadcrumb, BreadcrumbItem, DButton as Button, ButtonGroup, Card, Carousel, CarouselItem, Cascader, Checkbox, CheckboxButton, DCheckboxGroup as CheckboxGroup, CodeEditor, CodeReview, Col, Collapse, CollapseItem, ColorPicker, Column, Comment, Content, Countdown, DChart, DRangeDatePickerPro, DatePicker, DatePickerPro, DraggableDirective, Drawer, DrawerService, Dropdown$1 as Dropdown, DropdownMenu, DroppableDirective, EditableSelect, EditorMd, FixedOverlay, FlexibleOverlay, Footer, Form, FormItem, FormOperation, Fullscreen, Gantt, Header, DIcon as Icon, IconGroup, ImagePreviewDirective, ImagePreviewService, DInput as Input, InputIcon, InputNumber, Layout, List, ListItem, LoadingDirective, loading as LoadingService, MdRender, Mention, Menu, MenuItem, Message, Modal, ModalBody, ModalFooter, ModalHeader, MultiAutoComplete, NavSprite, Notification, NotificationService, Option, OptionGroup, Pagination, Panel, PanelBody, PanelFooter, PanelHeader, Popover, Progress, QuadrantDiagram, Radio, RadioButton, RadioGroup, Rate, ReadTip, Result, RippleDirective, Row, DSearch as Search, Select, Skeleton, SkeletonItem, Slider, SortableDirective, Splitter, SplitterPane, Statistic, Status, Step, Steps, StepsGuide, StepsGuideDirective, StickSlider, Sticky, SubMenu, Switch, Tab, Table, Tabs, Tag, TagInput, Textarea, TimePicker, TimeSelect, Timeline, TimelineItem, Tooltip, Transfer, Tree, TreeSelect, Upload, VirtualList, vueDevui as default, fileDropDirective };