vue-devui 1.5.5 → 1.5.7-hotfix.1

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 +30 -16
  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 +800 -73
  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
  }
@@ -13689,11 +13807,10 @@ function useCodeEditor(props, ctx2) {
13689
13807
  }
13690
13808
  }
13691
13809
  function setEditorValue() {
13692
- var _a;
13693
13810
  if (!editor || !editor.getModel()) {
13694
13811
  return;
13695
13812
  }
13696
- (_a = editor.getModel().modified) == null ? void 0 : _a.setValue(modelValue.value);
13813
+ editor.getModel().setValue(modelValue.value);
13697
13814
  }
13698
13815
  function setDiffEditorValue() {
13699
13816
  var _a;
@@ -13712,7 +13829,7 @@ function useCodeEditor(props, ctx2) {
13712
13829
  currentTheme = themeService && themeService.currentTheme.isDark ? "vs" : "vs-dark";
13713
13830
  }
13714
13831
  if (editor) {
13715
- monaco.editor.setTheme(currentTheme);
13832
+ monaco2.editor.setTheme(currentTheme);
13716
13833
  }
13717
13834
  }
13718
13835
  function handleAutoHeight() {
@@ -13746,8 +13863,8 @@ function useCodeEditor(props, ctx2) {
13746
13863
  if (editor) {
13747
13864
  if (mode.value === "normal" || mode.value === "review") {
13748
13865
  const model = diffEditor.getModel();
13749
- monaco.editor.setModelLanguage(model.modified, language);
13750
- monaco.editor.setModelLanguage(model.original, language);
13866
+ monaco2.editor.setModelLanguage(model.modified, language);
13867
+ monaco2.editor.setModelLanguage(model.original, language);
13751
13868
  }
13752
13869
  }
13753
13870
  }
@@ -13761,7 +13878,7 @@ function useCodeEditor(props, ctx2) {
13761
13878
  }
13762
13879
  function updateEditorHeightAuto() {
13763
13880
  var _a;
13764
- const lineHeight = editor.getOption(monaco.editor.EditorOption.lineHeight);
13881
+ const lineHeight = editor.getOption(monaco2.editor.EditorOption.lineHeight);
13765
13882
  const lineCount = ((_a = editor.getModel()) == null ? void 0 : _a.getLineCount()) || 1;
13766
13883
  const height = editor.getTopForLineNumber(lineCount + 1) + lineHeight;
13767
13884
  if (editorEl.value) {
@@ -13775,7 +13892,7 @@ function useCodeEditor(props, ctx2) {
13775
13892
  if (!isDecorationExisted(currentLineNumber)) {
13776
13893
  const lineDecoration = [
13777
13894
  {
13778
- range: new monaco.Range(currentLineNumber, 0, currentLineNumber, 0),
13895
+ range: new monaco2.Range(currentLineNumber, 0, currentLineNumber, 0),
13779
13896
  option: {
13780
13897
  isWholeLine: true,
13781
13898
  glyphMarginClassName: `icon-pointer ${addCommentIcon.value}`
@@ -13807,7 +13924,7 @@ function useCodeEditor(props, ctx2) {
13807
13924
  }
13808
13925
  function setDecorations(decoration) {
13809
13926
  return {
13810
- range: new monaco.Range(decoration.lineNumber, 1, decoration.lineNumber, 1),
13927
+ range: new monaco2.Range(decoration.lineNumber, 1, decoration.lineNumber, 1),
13811
13928
  options: {
13812
13929
  isWholeLine: true,
13813
13930
  className: decoration.customClasses || "",
@@ -13961,51 +14078,204 @@ var CodeEditor = defineComponent({
13961
14078
  }, null);
13962
14079
  }
13963
14080
  });
14081
+ let monaco;
14082
+ const CodeHighlightDirective = {
14083
+ async mounted(el) {
14084
+ if (inBrowser) {
14085
+ monaco = await import("monaco-editor");
14086
+ monaco.editor.colorizeElement(el);
14087
+ }
14088
+ },
14089
+ updated(el) {
14090
+ if (inBrowser) {
14091
+ monaco.editor.colorizeElement(el);
14092
+ }
14093
+ }
14094
+ };
13964
14095
  var CodeEditorInstall = {
13965
14096
  title: "Code Editor \u4EE3\u7801\u7F16\u8F91\u5668",
13966
14097
  category: "\u6F14\u8FDB\u4E2D",
13967
14098
  status: "100%",
13968
14099
  install(app) {
14100
+ app.directive("d-code-highlight", CodeHighlightDirective);
13969
14101
  app.component(CodeEditor.name, CodeEditor);
13970
14102
  }
13971
14103
  };
14104
+ function FoldIcon() {
14105
+ return createVNode("svg", {
14106
+ "width": "16px",
14107
+ "height": "16px",
14108
+ "viewBox": "0 0 16 16",
14109
+ "xmlns": "http://www.w3.org/2000/svg"
14110
+ }, [createVNode("g", {
14111
+ "stroke": "none",
14112
+ "stroke-width": "1",
14113
+ "fill-rule": "evenodd"
14114
+ }, [createVNode("polygon", {
14115
+ "points": "4.5 5 8 8.76923077 11.5 5 13 6.61538462 8 12 3 6.61538462"
14116
+ }, null)])]);
14117
+ }
14118
+ function CopyIcon() {
14119
+ return createVNode("svg", {
14120
+ "width": "16px",
14121
+ "height": "16px",
14122
+ "viewBox": "0 0 16 16",
14123
+ "version": "1.1",
14124
+ "xmlns": "http://www.w3.org/2000/svg"
14125
+ }, [createVNode("g", {
14126
+ "stroke": "none",
14127
+ "stroke-width": "1",
14128
+ "fill": "none",
14129
+ "fill-rule": "evenodd"
14130
+ }, [createVNode("path", {
14131
+ "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
14132
+ 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
14133
+ 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
14134
+ 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`,
14135
+ "fill": "#babbc0",
14136
+ "fill-rule": "nonzero"
14137
+ }, null)])]);
14138
+ }
13972
14139
  const codeReviewProps = {
13973
14140
  diff: {
13974
14141
  type: String,
13975
14142
  required: true,
13976
14143
  default: ""
13977
14144
  },
14145
+ fold: {
14146
+ type: Boolean,
14147
+ default: false
14148
+ },
13978
14149
  outputFormat: {
13979
14150
  type: String,
13980
14151
  default: "line-by-line"
13981
14152
  }
13982
14153
  };
13983
- function useCodeReview(props) {
13984
- const { diff, outputFormat } = toRefs(props);
14154
+ const CodeReviewInjectionKey = Symbol("d-code-review");
14155
+ function useCodeReviewCopy(diffInfo) {
14156
+ const copyTipsText = ref("\u590D\u5236\u6587\u4EF6\u8DEF\u5F84");
14157
+ const tipsPopType = ref("default");
14158
+ const onCopy = () => {
14159
+ toClipboard(diffInfo.newName).then(() => {
14160
+ });
14161
+ };
14162
+ return { copyTipsText, tipsPopType, onCopy };
14163
+ }
14164
+ var CodeReviewHeader = defineComponent({
14165
+ name: "DCodeReviewHeader",
14166
+ emits: ["click"],
14167
+ setup(_, ctx2) {
14168
+ const ns2 = useNamespace("code-review");
14169
+ const {
14170
+ diffInfo,
14171
+ isFold,
14172
+ rootCtx
14173
+ } = inject(CodeReviewInjectionKey);
14174
+ const {
14175
+ copyTipsText,
14176
+ tipsPopType,
14177
+ onCopy
14178
+ } = useCodeReviewCopy(diffInfo);
14179
+ const onClick = (e) => {
14180
+ const composedPath = e.composedPath();
14181
+ const isPreventEvent = composedPath.some((item) => {
14182
+ var _a, _b;
14183
+ return ((_a = item.classList) == null ? void 0 : _a.contains("operate-area")) || ((_b = item.classList) == null ? void 0 : _b.contains("icon-copy"));
14184
+ });
14185
+ if (!isPreventEvent) {
14186
+ ctx2.emit("click");
14187
+ }
14188
+ };
14189
+ return () => createVNode("div", {
14190
+ "class": [ns2.e("header"), {
14191
+ [ns2.em("header", "unfold")]: !isFold.value
14192
+ }],
14193
+ "onClick": onClick
14194
+ }, [createVNode("div", {
14195
+ "class": "file-info"
14196
+ }, [createVNode(FoldIcon, {
14197
+ "class": {
14198
+ invert: !isFold.value
14199
+ }
14200
+ }, null), createVNode("span", {
14201
+ "class": "file-name"
14202
+ }, [diffInfo.newName]), createVNode("span", {
14203
+ "class": "diff-lines add-lines"
14204
+ }, [createTextVNode("+"), diffInfo.addedLines]), createVNode("span", {
14205
+ "class": "diff-lines delete-lines"
14206
+ }, [createTextVNode("-"), diffInfo.deletedLines]), createVNode(Popover, {
14207
+ "content": copyTipsText.value,
14208
+ "pop-type": tipsPopType.value,
14209
+ "trigger": "hover",
14210
+ "position": ["right"]
14211
+ }, {
14212
+ default: () => [createVNode(CopyIcon, {
14213
+ "class": "icon-copy",
14214
+ "onClick": onCopy
14215
+ }, null)]
14216
+ })]), rootCtx.slots.headOperate && createVNode("div", {
14217
+ "class": "operate-area"
14218
+ }, [rootCtx.slots.headOperate()])]);
14219
+ }
14220
+ });
14221
+ function useCodeReview(props, ctx2) {
14222
+ const { diff, fold, outputFormat } = toRefs(props);
13985
14223
  const renderHtml = ref("");
13986
- onMounted(() => {
13987
- renderHtml.value = Diff2Html.html(diff.value, {
13988
- drawFileList: true,
14224
+ const isFold = ref(fold.value);
14225
+ const diffFile = Diff2Html.parse(diff.value);
14226
+ const initDiffContent = () => {
14227
+ renderHtml.value = Diff2Html.html(diffFile, {
14228
+ drawFileList: false,
13989
14229
  matching: "lines",
13990
14230
  outputFormat: outputFormat.value
13991
14231
  });
14232
+ };
14233
+ const toggleFold = (status2) => {
14234
+ if (status2 !== void 0) {
14235
+ isFold.value = status2;
14236
+ } else {
14237
+ isFold.value = !isFold.value;
14238
+ }
14239
+ };
14240
+ watch(fold, (val) => {
14241
+ isFold.value = val;
13992
14242
  });
13993
- return { renderHtml };
14243
+ watch(isFold, () => {
14244
+ if (!isFold.value && renderHtml.value === "") {
14245
+ initDiffContent();
14246
+ }
14247
+ ctx2.emit("foldChange", isFold.value);
14248
+ });
14249
+ onBeforeMount(() => {
14250
+ if (!isFold.value) {
14251
+ initDiffContent();
14252
+ }
14253
+ });
14254
+ provide(CodeReviewInjectionKey, { diffInfo: diffFile[0], isFold, rootCtx: ctx2 });
14255
+ ctx2.expose({ toggleFold });
14256
+ return { renderHtml, isFold };
13994
14257
  }
13995
- var diff2html_min = "";
13996
14258
  var codeReview = "";
13997
14259
  var CodeReview = defineComponent({
13998
14260
  name: "DCodeReview",
13999
14261
  props: codeReviewProps,
14000
- setup(props) {
14262
+ emits: ["foldChange"],
14263
+ setup(props, ctx2) {
14001
14264
  const ns2 = useNamespace("code-review");
14002
14265
  const {
14003
- renderHtml
14004
- } = useCodeReview(props);
14266
+ renderHtml,
14267
+ isFold
14268
+ } = useCodeReview(props, ctx2);
14005
14269
  return () => createVNode("div", {
14006
- "class": ns2.b(),
14270
+ "class": ns2.b()
14271
+ }, [createVNode(CodeReviewHeader, {
14272
+ "onClick": () => isFold.value = !isFold.value
14273
+ }, null), createVNode("div", {
14274
+ "class": [ns2.e("content"), {
14275
+ "hide-content": isFold.value
14276
+ }],
14007
14277
  "innerHTML": renderHtml.value
14008
- }, null);
14278
+ }, null)]);
14009
14279
  }
14010
14280
  });
14011
14281
  var CodeReviewInstall = {
@@ -20402,7 +20672,17 @@ const IconCalendar = () => createVNode("svg", {
20402
20672
  "fill": "none",
20403
20673
  "fill-rule": "evenodd"
20404
20674
  }, [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",
20675
+ "d": `M5,0 L5,1 L11,1 L11,0 L12,0 L12,1 L14,1 C15.1045695,
20676
+ 1 16,1.8954305 16,3 L16,14 C16,15.1045695 15.1045695,16 14,
20677
+ 16 L2,16 C0.8954305,16 0,15.1045695 0,14 L0,3 C0,
20678
+ 1.8954305 0.8954305,1 2,1 L4,1 L4,0 L5,0 Z M15,5 L1,
20679
+ 5 L1,14 C1,14.5522847 1.44771525,15 2,15 L14,15 C14.5522847,
20680
+ 15 15,14.5522847 15,14 L15,5 Z M6,7 C6.55228475,7 7,7.44771525 7,
20681
+ 8 L7,10 C7,10.5522847 6.55228475,11 6,11 L4,11 C3.44771525,11 3,
20682
+ 10.5522847 3,10 L3,8 C3,7.44771525 3.44771525,7 4,7 L6,7 Z M6,
20683
+ 8 L4,8 L4,10 L6,10 L6,8 Z M4,2 L2,2 C1.44771525,2 1,2.44771525 1,
20684
+ 3 L1,4 L15,4 L15,3 C15,2.44771525 14.5522847,2 14,2 L12,2 L12,
20685
+ 3 L11,3 L11,2 L5,2 L5,3 L4,3 L4,2 Z`,
20406
20686
  "fill": "#BABBC0"
20407
20687
  }, null)])]);
20408
20688
  const IconClose$2 = () => createVNode("svg", {
@@ -20417,7 +20697,22 @@ const IconClose$2 = () => createVNode("svg", {
20417
20697
  "fill": "none",
20418
20698
  "fill-rule": "evenodd"
20419
20699
  }, [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",
20700
+ "d": `M8,1 C11.8659932,1 15,4.13400675 15,8 C15,
20701
+ 11.8659932 11.8659932,15 8,15 C4.13400675,15 1,
20702
+ 11.8659932 1,8 C1,4.13400675 4.13400675,1 8,
20703
+ 1 Z M5.87867966,5.17157288 C5.68341751,4.97631073 5.36683502,
20704
+ 4.97631073 5.17157288,5.17157288 C4.99800652,5.34513923 4.97872137,
20705
+ 5.61456363 5.11371742,5.80943177 L5.17157288,5.87867966 L7.29218611,
20706
+ 7.99929289 L5.17157288,10.1213203 C4.97631073,10.3165825 4.97631073,
20707
+ 10.633165 5.17157288,10.8284271 C5.34513923,11.0019935 5.61456363,
20708
+ 11.0212786 5.80943177,10.8862826 L5.87867966,10.8284271 L7.99929289,
20709
+ 8.70639967 L10.1213203,10.8284271 C10.3165825,11.0236893 10.633165,
20710
+ 11.0236893 10.8284271,10.8284271 C11.0019935,10.6548608 11.0212786,
20711
+ 10.3854364 10.8862826,10.1905682 L10.8284271,10.1213203 L8.70710678,
20712
+ 8 L10.8284271,5.87867966 C11.0236893,5.68341751 11.0236893,
20713
+ 5.36683502 10.8284271,5.17157288 C10.6548608,4.99800652 10.3854364,
20714
+ 4.97872137 10.1905682,5.11371742 L10.1213203,5.17157288 L8,
20715
+ 7.29289322 L5.87867966,5.17157288 Z`,
20421
20716
  "fill-rule": "nonzero"
20422
20717
  }, null)])]);
20423
20718
  var datePickerPro = "";
@@ -21295,6 +21590,378 @@ var DropdownInstall = {
21295
21590
  app.component(DropdownMenu.name, DropdownMenu);
21296
21591
  }
21297
21592
  };
21593
+ const devuiChartProps = {
21594
+ option: {
21595
+ type: Object,
21596
+ default: {}
21597
+ }
21598
+ };
21599
+ const DARK_LINE_COLOR = "#4E5057";
21600
+ const DARK_TITLE_COLOR = "#CED1DB";
21601
+ const DARK_TEXT_COLOR = "#696C75";
21602
+ const DARK_LEGEND_COLOR = "#868A99";
21603
+ const DARK_AXIS_COLOR = "#4E5057";
21604
+ const LIGHT_LINE_COLOR = "#D7D8DA";
21605
+ const LIGHT_TITLE_COLOR = "#252B3A";
21606
+ const LIGHT_TEXT_COLOR = "#9B9FA8";
21607
+ const LIGHT_LEGEND_COLOR = "#71757F";
21608
+ const LIGHT_AXIS_COLOR = "#D7D8DA";
21609
+ const DEFAULT_BASIC_COLOR_PALETTE = [
21610
+ "#5C8DFF",
21611
+ "#BC94FF",
21612
+ "#54D2EB",
21613
+ "#A6DD82",
21614
+ "#FCDA6B",
21615
+ "#CA7ED6",
21616
+ "#7298F1",
21617
+ "#73CEA6",
21618
+ "#EDD249",
21619
+ "#CAABFF",
21620
+ "#85CAFF",
21621
+ "#93D99A",
21622
+ "#96ADFA",
21623
+ "#F4AF8F",
21624
+ "#A282E9",
21625
+ "#FFBB6B",
21626
+ "#69DBB9",
21627
+ "#76DBEF",
21628
+ "#B1CE4F",
21629
+ "#5DA4DC"
21630
+ ];
21631
+ function axisCommon(type4) {
21632
+ if (type4 === "dark") {
21633
+ return {
21634
+ axisLine: {
21635
+ lineStyle: {
21636
+ color: DARK_AXIS_COLOR
21637
+ }
21638
+ },
21639
+ axisTick: {
21640
+ lineStyle: {
21641
+ color: DARK_AXIS_COLOR
21642
+ }
21643
+ },
21644
+ axisLabel: {
21645
+ textStyle: {
21646
+ color: DARK_TEXT_COLOR
21647
+ }
21648
+ },
21649
+ splitLine: {
21650
+ lineStyle: {
21651
+ type: [3, 3],
21652
+ color: DARK_LINE_COLOR
21653
+ }
21654
+ }
21655
+ };
21656
+ } else {
21657
+ return {
21658
+ axisLine: {
21659
+ lineStyle: {
21660
+ color: LIGHT_AXIS_COLOR
21661
+ }
21662
+ },
21663
+ axisTick: {
21664
+ lineStyle: {
21665
+ color: LIGHT_AXIS_COLOR
21666
+ }
21667
+ },
21668
+ axisLabel: {
21669
+ textStyle: {
21670
+ color: LIGHT_TEXT_COLOR
21671
+ }
21672
+ },
21673
+ splitLine: {
21674
+ lineStyle: {
21675
+ type: [3, 3],
21676
+ color: LIGHT_LINE_COLOR
21677
+ }
21678
+ }
21679
+ };
21680
+ }
21681
+ }
21682
+ const DEVUI_ECHART_THEME = {
21683
+ defaultColorPalette: DEFAULT_BASIC_COLOR_PALETTE,
21684
+ defaultDarkTheme: {
21685
+ color: DEFAULT_BASIC_COLOR_PALETTE,
21686
+ tooltip: {
21687
+ axisPointer: {
21688
+ label: {
21689
+ show: false
21690
+ },
21691
+ lineStyle: {
21692
+ color: DARK_LINE_COLOR,
21693
+ width: 2,
21694
+ type: [2, 3]
21695
+ },
21696
+ crossStyle: {
21697
+ color: DARK_LINE_COLOR,
21698
+ width: 2,
21699
+ type: [2, 3]
21700
+ }
21701
+ },
21702
+ backgroundColor: "rgba(36,37,38,0.96)",
21703
+ extraCssText: "border-radius: 8px;box-shadow: 0 1px 4px 0 rgba(37,43,58,0.1)",
21704
+ borderWidth: 0,
21705
+ padding: [8, 8],
21706
+ textStyle: {
21707
+ color: DARK_LEGEND_COLOR,
21708
+ fontSize: 12
21709
+ }
21710
+ },
21711
+ virtualMap: {
21712
+ textStyle: {
21713
+ color: DARK_TEXT_COLOR
21714
+ }
21715
+ },
21716
+ legend: {
21717
+ height: "80%",
21718
+ width: "80%",
21719
+ textStyle: {
21720
+ color: DARK_LEGEND_COLOR
21721
+ }
21722
+ },
21723
+ textStyle: {
21724
+ color: DARK_TEXT_COLOR
21725
+ },
21726
+ title: {
21727
+ textStyle: {
21728
+ color: DARK_TITLE_COLOR
21729
+ }
21730
+ },
21731
+ toolbox: {
21732
+ iconStyle: {
21733
+ borderColor: DARK_LINE_COLOR
21734
+ }
21735
+ },
21736
+ dataZoom: {
21737
+ textStyle: {
21738
+ color: DARK_TEXT_COLOR
21739
+ }
21740
+ },
21741
+ timeline: {
21742
+ lineStyle: {
21743
+ color: DARK_LINE_COLOR
21744
+ },
21745
+ label: {
21746
+ textStyle: {
21747
+ color: DARK_TEXT_COLOR
21748
+ }
21749
+ }
21750
+ },
21751
+ timeAxis: axisCommon("dark"),
21752
+ logAxis: axisCommon("dark"),
21753
+ valueAxis: __spreadProps(__spreadValues({}, axisCommon("dark")), {
21754
+ axisLine: {
21755
+ show: false,
21756
+ lineStyle: {
21757
+ color: DARK_AXIS_COLOR
21758
+ }
21759
+ },
21760
+ axisTick: {
21761
+ show: false
21762
+ }
21763
+ }),
21764
+ categoryAxis: __spreadProps(__spreadValues({}, axisCommon("dark")), {
21765
+ axisLine: {
21766
+ show: true,
21767
+ lineStyle: {
21768
+ color: DARK_AXIS_COLOR
21769
+ }
21770
+ },
21771
+ axisTick: {
21772
+ show: false
21773
+ }
21774
+ }),
21775
+ line: {
21776
+ symbol: "circle"
21777
+ },
21778
+ graph: {
21779
+ color: DEFAULT_BASIC_COLOR_PALETTE
21780
+ },
21781
+ geo: {
21782
+ itemStyle: {
21783
+ borderColor: "#fff",
21784
+ areaColor: "#37383A"
21785
+ }
21786
+ }
21787
+ },
21788
+ defaultLightTheme: {
21789
+ color: DEFAULT_BASIC_COLOR_PALETTE,
21790
+ tooltip: {
21791
+ axisPointer: {
21792
+ label: {
21793
+ show: false
21794
+ },
21795
+ lineStyle: {
21796
+ color: LIGHT_LINE_COLOR,
21797
+ width: 2,
21798
+ type: [2, 3]
21799
+ },
21800
+ crossStyle: {
21801
+ color: LIGHT_LINE_COLOR,
21802
+ width: 2,
21803
+ type: [2, 3]
21804
+ }
21805
+ },
21806
+ backgroundColor: "rgba(255,255,255,0.96)",
21807
+ extraCssText: "border-radius: 8px;box-shadow: 0 1px 4px 0 rgba(37,43,58,0.1)",
21808
+ borderWidth: 0,
21809
+ padding: [8, 8],
21810
+ textStyle: {
21811
+ color: LIGHT_LEGEND_COLOR,
21812
+ fontSize: 12
21813
+ }
21814
+ },
21815
+ virtualMap: {
21816
+ textStyle: {
21817
+ color: LIGHT_TEXT_COLOR
21818
+ }
21819
+ },
21820
+ legend: {
21821
+ height: "80%",
21822
+ width: "80%",
21823
+ align: "left",
21824
+ textStyle: {
21825
+ color: LIGHT_LEGEND_COLOR
21826
+ }
21827
+ },
21828
+ textStyle: {
21829
+ color: LIGHT_TEXT_COLOR
21830
+ },
21831
+ title: {
21832
+ textStyle: {
21833
+ color: LIGHT_TITLE_COLOR
21834
+ }
21835
+ },
21836
+ toolbox: {
21837
+ iconStyle: {
21838
+ borderColor: LIGHT_LINE_COLOR
21839
+ }
21840
+ },
21841
+ dataZoom: {
21842
+ textStyle: {
21843
+ color: LIGHT_TEXT_COLOR
21844
+ }
21845
+ },
21846
+ timeline: {
21847
+ lineStyle: {
21848
+ color: LIGHT_LINE_COLOR
21849
+ },
21850
+ label: {
21851
+ textStyle: {
21852
+ color: LIGHT_TEXT_COLOR
21853
+ }
21854
+ }
21855
+ },
21856
+ timeAxis: axisCommon("light"),
21857
+ logAxis: axisCommon("light"),
21858
+ valueAxis: __spreadProps(__spreadValues({}, axisCommon("light")), {
21859
+ axisLine: {
21860
+ show: false,
21861
+ lineStyle: {
21862
+ color: LIGHT_AXIS_COLOR
21863
+ }
21864
+ },
21865
+ axisTick: {
21866
+ show: false
21867
+ }
21868
+ }),
21869
+ categoryAxis: __spreadProps(__spreadValues({}, axisCommon("light")), {
21870
+ axisLine: {
21871
+ show: true,
21872
+ lineStyle: {
21873
+ color: LIGHT_AXIS_COLOR
21874
+ }
21875
+ },
21876
+ axisTick: {
21877
+ show: false
21878
+ }
21879
+ }),
21880
+ line: {
21881
+ symbol: "emptyCircle",
21882
+ markPoint: {
21883
+ label: {
21884
+ show: true,
21885
+ color: LIGHT_TEXT_COLOR
21886
+ }
21887
+ }
21888
+ },
21889
+ graph: {
21890
+ color: DEFAULT_BASIC_COLOR_PALETTE
21891
+ },
21892
+ geo: {
21893
+ itemStyle: {
21894
+ borderColor: "#fff",
21895
+ areaColor: "#eaebed"
21896
+ }
21897
+ }
21898
+ }
21899
+ };
21900
+ var DChart = defineComponent({
21901
+ name: "DChart",
21902
+ props: devuiChartProps,
21903
+ emits: ["chartReady"],
21904
+ setup(props, {
21905
+ emit
21906
+ }) {
21907
+ const {
21908
+ option: option2
21909
+ } = toRefs$1(props);
21910
+ let theme;
21911
+ let themeService;
21912
+ let isDark = false;
21913
+ let echartInstacne;
21914
+ let timer;
21915
+ const chartRef = ref();
21916
+ const themeChange = () => {
21917
+ var _a;
21918
+ isDark = !!((_a = themeService == null ? void 0 : themeService.currentTheme) == null ? void 0 : _a.isDark);
21919
+ theme = isDark ? DEVUI_ECHART_THEME.defaultDarkTheme : DEVUI_ECHART_THEME.defaultLightTheme;
21920
+ echartInstacne.dispose();
21921
+ echartInstacne = echarts.init(chartRef.value, theme);
21922
+ echartInstacne.setOption(option2.value, true);
21923
+ console.log(option2.value);
21924
+ emit("chartReady", echartInstacne);
21925
+ };
21926
+ const onresize = () => {
21927
+ clearTimeout(timer);
21928
+ timer = setTimeout(() => {
21929
+ echartInstacne.resize();
21930
+ }, 100);
21931
+ };
21932
+ onMounted(() => {
21933
+ var _a;
21934
+ themeService = window["devuiThemeService"];
21935
+ isDark = !!((_a = themeService == null ? void 0 : themeService.currentTheme) == null ? void 0 : _a.isDark);
21936
+ theme = isDark ? DEVUI_ECHART_THEME.defaultDarkTheme : DEVUI_ECHART_THEME.defaultLightTheme;
21937
+ echartInstacne = echarts.init(chartRef.value, theme);
21938
+ if (themeService) {
21939
+ themeService.eventBus.add("themeChanged", themeChange);
21940
+ }
21941
+ echartInstacne.setOption(option2.value, true);
21942
+ emit("chartReady", echartInstacne);
21943
+ window.addEventListener("resize", onresize);
21944
+ });
21945
+ onUnmounted(() => {
21946
+ echartInstacne == null ? void 0 : echartInstacne.dispatchAction({
21947
+ type: "hideTip"
21948
+ });
21949
+ themeService.eventBus.remove("themeChanged", themeChange);
21950
+ });
21951
+ return () => createVNode("div", {
21952
+ "ref": chartRef,
21953
+ "class": "devui-charts"
21954
+ }, null);
21955
+ }
21956
+ });
21957
+ var EchartsInstall = {
21958
+ title: "Echarts \u56FE\u8868",
21959
+ category: "\u6F14\u8FDB\u4E2D",
21960
+ status: "100%",
21961
+ install(app) {
21962
+ app.component(DChart.name, DChart);
21963
+ }
21964
+ };
21298
21965
  const editableSelectProps = {
21299
21966
  modelValue: {
21300
21967
  type: [String, Number]
@@ -24714,7 +25381,7 @@ function useEditorMdRender(props, ctx2) {
24714
25381
  clearTimeout(timer);
24715
25382
  }
24716
25383
  timer = setTimeout(() => {
24717
- if (!content2.value) {
25384
+ if (content2.value === void 0) {
24718
25385
  return;
24719
25386
  }
24720
25387
  let html = renderService.generateHTML(content2.value);
@@ -25962,7 +26629,7 @@ var imagePreview = defineComponent({
25962
26629
  }, [createVNode("polygon", {
25963
26630
  "fill": "#293040",
25964
26631
  "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"
26632
+ "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
26633
  }, null)])])]), createVNode("button", {
25967
26634
  "class": ns2.e("arrow-left"),
25968
26635
  "onClick": onPrev
@@ -25979,7 +26646,7 @@ var imagePreview = defineComponent({
25979
26646
  }, [createVNode("polygon", {
25980
26647
  "fill": "#293040",
25981
26648
  "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"
26649
+ "points": "10.7071068 12.2928932 9.29289322 13.7071068 3.58578644 8 9.29289322 2.29289322 10.7071068 3.70710678 6.41421356 8"
25983
26650
  }, null)])])]), createVNode("button", {
25984
26651
  "class": ns2.e("arrow-right"),
25985
26652
  "onClick": onNext
@@ -25997,7 +26664,7 @@ var imagePreview = defineComponent({
25997
26664
  "fill": "#293040",
25998
26665
  "fill-rule": "nonzero",
25999
26666
  "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"
26667
+ "points": "11.7071068 12.2928932 10.2928932 13.7071068 4.58578644 8 10.2928932 2.29289322 11.7071068 3.70710678 7.41421356 8"
26001
26668
  }, null)])])]), createVNode("div", {
26002
26669
  "class": ns2.e("toolbar")
26003
26670
  }, [createVNode("button", {
@@ -26015,7 +26682,13 @@ var imagePreview = defineComponent({
26015
26682
  "fill": "#293040",
26016
26683
  "fill-rule": "nonzero"
26017
26684
  }, [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"
26685
+ "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
26686
+ M12.6063847,11.1921711 L15.6568542,14.2426407 L14.2426407,15.6568542 L11.1921711,12.6063847
26687
+ C10.0235906,13.4815965 8.5723351,14 7,14 C3.13400675,14 0,10.8659932 0,7 C0,3.13400675
26688
+ 3.13400675,0 7,0 C10.8659932,0 14,3.13400675 14,7 C14,8.5723351 13.4815965,10.0235906
26689
+ 12.6063847,11.1921711 L12.6063847,11.1921711 Z M7,12 C9.76142375,12 12,9.76142375
26690
+ 12,7 C12,4.23857625 9.76142375,2 7,2 C4.23857625,2 2,4.23857625 2,7 C2,9.76142375
26691
+ 4.23857625,12 7,12 Z`
26019
26692
  }, null)])])])]), createVNode("button", {
26020
26693
  "onClick": onZoomOut
26021
26694
  }, [createVNode("svg", {
@@ -26031,7 +26704,12 @@ var imagePreview = defineComponent({
26031
26704
  "fill": "#293040",
26032
26705
  "fill-rule": "nonzero"
26033
26706
  }, [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"
26707
+ "d": `M12.6063847,11.1921711 L15.6568542,14.2426407 L14.2426407,15.6568542
26708
+ L11.1921711,12.6063847 C10.0235906,13.4815965 8.5723351,14 7,14 C3.13400675,14 0,10.8659932
26709
+ 0,7 C0,3.13400675 3.13400675,0 7,0 C10.8659932,0 14,3.13400675 14,7 C14,8.5723351
26710
+ 13.4815965,10.0235906 12.6063847,11.1921711 L12.6063847,11.1921711 Z M7,12 C9.76142375,12
26711
+ 12,9.76142375 12,7 C12,4.23857625 9.76142375,2 7,2 C4.23857625,2 2,4.23857625 2,7 C2,9.76142375
26712
+ 4.23857625,12 7,12 Z M4,6 L10,6 L10,8 L4,8 L4,6 Z`
26035
26713
  }, null)])])])]), createVNode("button", {
26036
26714
  "onClick": onRotate
26037
26715
  }, [createVNode("svg", {
@@ -26045,7 +26723,16 @@ var imagePreview = defineComponent({
26045
26723
  "fill": "none",
26046
26724
  "fill-rule": "evenodd"
26047
26725
  }, [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",
26726
+ "d": `M7.5,3.02242151 L7.5,4 L4.5,2 L7.5,0 L7.5,1.01640228 C7.66526181,1.00552468
26727
+ 7.83198572,1 8,1 C12.1421356,1 15.5,4.35786438 15.5,8.5 C15.5,12.6421356
26728
+ 12.1421356,16 8,16 C3.85786438,16 0.5,12.6421356 0.5,8.5 C0.5,6.9828355
26729
+ 0.950484514,5.5708873 1.72499011,4.39061882 L3.42173231,5.4510827 C2.83944149,6.32371289
26730
+ 2.5,7.37221604 2.5,8.5 C2.5,11.5375661 4.96243388,14 8,14 C11.0375661,14 13.5,11.5375661
26731
+ 13.5,8.5 C13.5,5.46243388 11.0375661,3 8,3 C7.83145515,3 7.66468102,3.00758131 7.5,3.02242151
26732
+ 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
26733
+ 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
26734
+ 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
26735
+ 7.17157288,10 8,10 Z`,
26049
26736
  "fill": "#293040"
26050
26737
  }, null)])])]), createVNode("button", {
26051
26738
  "onClick": onPrev
@@ -26062,7 +26749,7 @@ var imagePreview = defineComponent({
26062
26749
  }, [createVNode("polygon", {
26063
26750
  "fill": "#293040",
26064
26751
  "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"
26752
+ "points": "10.7071068 12.2928932 9.29289322 13.7071068 3.58578644 8 9.29289322 2.29289322 10.7071068 3.70710678 6.41421356 8"
26066
26753
  }, null)])])]), createVNode("span", {
26067
26754
  "class": ns2.e("index")
26068
26755
  }, [index2.value + 1, createTextVNode(":"), props.previewUrlList.length]), createVNode("button", {
@@ -26081,7 +26768,7 @@ var imagePreview = defineComponent({
26081
26768
  "fill": "#293040",
26082
26769
  "fill-rule": "nonzero",
26083
26770
  "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"
26771
+ "points": "11.7071068 12.2928932 10.2928932 13.7071068 4.58578644 8 10.2928932 2.29289322 11.7071068 3.70710678 7.41421356 8"
26085
26772
  }, null)])])]), createVNode("button", {
26086
26773
  "onClick": onZoomBest
26087
26774
  }, [createVNode("svg", {
@@ -26094,7 +26781,12 @@ var imagePreview = defineComponent({
26094
26781
  "fill": "none",
26095
26782
  "fill-rule": "evenodd"
26096
26783
  }, [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",
26784
+ "d": `M16,16 L11.429,16 L11.429,15 L14.456,15 L11.006,11.226 L11.652,10.519 L15.086,14.275
26785
+ L15.086,11 L16,11 L16,16 Z M15.164,1.544 L12.009,4.994 L11.418,4.348 L14.558,0.914
26786
+ 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
26787
+ 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
26788
+ L0.914,1.544 L0.914,4.571 L3.41060513e-13,4.571 L3.41060513e-13,0 L4.571,0 L4.571,0.914
26789
+ L1.578,0.914 L5.011,4.348 L4.365,4.994 Z`,
26098
26790
  "fill": "#293040",
26099
26791
  "fill-rule": "nonzero"
26100
26792
  }, null)])])]), createVNode("button", {
@@ -26346,7 +27038,10 @@ function IncIcon() {
26346
27038
  "fill": "none",
26347
27039
  "fill-rule": "evenodd"
26348
27040
  }, [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",
27041
+ "d": `M12.1464466,6.85355339 L8.35355339,10.6464466 C8.15829124,10.8417088 7.84170876,10.8417088 7.64644661,10.6464466
27042
+ L3.85355339,6.85355339 C3.65829124,6.65829124 3.65829124,6.34170876 3.85355339,6.14644661 C3.94732158,6.05267842
27043
+ 4.07449854,6 4.20710678,6 L11.7928932,6 C12.0690356,6 12.2928932,6.22385763 12.2928932,6.5 C12.2928932,6.63260824
27044
+ 12.2402148,6.7597852 12.1464466,6.85355339 Z`,
26350
27045
  "fill-rule": "nonzero"
26351
27046
  }, null)])]);
26352
27047
  }
@@ -26364,7 +27059,10 @@ function DecIcon() {
26364
27059
  "fill": "none",
26365
27060
  "fill-rule": "evenodd"
26366
27061
  }, [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",
27062
+ "d": `M12.1464466,6.85355339 L8.35355339,10.6464466 C8.15829124,10.8417088 7.84170876,10.8417088 7.64644661,10.6464466
27063
+ L3.85355339,6.85355339 C3.65829124,6.65829124 3.65829124,6.34170876 3.85355339,6.14644661 C3.94732158,6.05267842
27064
+ 4.07449854,6 4.20710678,6 L11.7928932,6 C12.0690356,6 12.2928932,6.22385763 12.2928932,6.5 C12.2928932,6.63260824
27065
+ 12.2402148,6.7597852 12.1464466,6.85355339 Z`,
26368
27066
  "fill-rule": "nonzero"
26369
27067
  }, null)])]);
26370
27068
  }
@@ -28947,7 +29645,7 @@ function SuccessIcon() {
28947
29645
  "xmlns": "http://www.w3.org/2000/svg"
28948
29646
  }, XLINK), [createVNode("defs", null, [createVNode("polygon", {
28949
29647
  "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"
29648
+ "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
29649
  }, null)]), createVNode("g", {
28952
29650
  "id": "correct",
28953
29651
  "stroke": "none",
@@ -28976,12 +29674,17 @@ function WarningIcon() {
28976
29674
  "fill-rule": "evenodd"
28977
29675
  }, [createVNode("path", {
28978
29676
  "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"
29677
+ "d": `M8.96244623,0.57254229 L15.8714442,13.4101975 C16.1549662,13.9370117
29678
+ 15.9538562,14.5918482 15.4222523,14.8728158 C15.2642579,14.9563203 15.0879506,
29679
+ 15 14.9088903,15 L1.09089441,15 C0.488410063,15 0,14.5159904 0,13.9189343 C0,13.7414873
29680
+ 0.0440768395,13.5667684 0.128340519,13.4101975 L7.03733844,0.57254229 C7.32086049,
29681
+ 0.0457280838 7.98165058,-0.153569987 8.51325441,0.127397589 C8.70423071,
29682
+ 0.228333932 8.8605922,0.383286648 8.96244623,0.57254229 Z`
28980
29683
  }, null), createVNode("path", {
28981
29684
  "class": ns$4.e("warning-inner"),
28982
29685
  "stroke-width": "0.3",
28983
29686
  "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"
29687
+ "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
29688
  }, null)])]);
28986
29689
  }
28987
29690
  function InfoIcon() {
@@ -29012,7 +29715,9 @@ function ErrorIcon() {
29012
29715
  "xmlns": "http://www.w3.org/2000/svg"
29013
29716
  }, XLINK), [createVNode("defs", null, [createVNode("polygon", {
29014
29717
  "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"
29718
+ "points": `8.07106781 6.65685425 10.8994949 3.82842712 12.3137085 5.24264069 9.48528137 8.07106781 12.3137085
29719
+ 10.8994949 10.8994949 12.3137085 8.07106781 9.48528137 5.24264069 12.3137085 3.82842712 10.8994949 6.65685425
29720
+ 8.07106781 3.82842712 5.24264069 5.24264069 3.82842712`
29016
29721
  }, null)]), createVNode("g", {
29017
29722
  "id": "error",
29018
29723
  "stroke": "none",
@@ -29735,7 +30440,10 @@ const SelectArrowIcon = () => createVNode("svg", {
29735
30440
  "fill": "none",
29736
30441
  "fill-rule": "evenodd"
29737
30442
  }, [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",
30443
+ "d": `M12.1464466,6.85355339 L8.35355339,10.6464466 C8.15829124,10.8417088 7.84170876,10.8417088
30444
+ 7.64644661,10.6464466 L3.85355339,6.85355339 C3.65829124,6.65829124 3.65829124,6.34170876
30445
+ 3.85355339,6.14644661 C3.94732158,6.05267842 4.07449854,6 4.20710678,6 L11.7928932,6 C12.0690356,6
30446
+ 12.2928932,6.22385763 12.2928932,6.5 C12.2928932,6.63260824 12.2402148,6.7597852 12.1464466,6.85355339 Z`,
29739
30447
  "fill-rule": "nonzero"
29740
30448
  }, null)])]);
29741
30449
  const tagProps = {
@@ -30559,7 +31267,7 @@ function PreLinkIcon() {
30559
31267
  }, [createVNode("polygon", {
30560
31268
  "fill": "#293040",
30561
31269
  "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"
31270
+ "points": "10.7071068 12.2928932 9.29289322 13.7071068 3.58578644 8 9.29289322 2.29289322 10.7071068 3.70710678 6.41421356 8"
30563
31271
  }, null)])]);
30564
31272
  }
30565
31273
  function NextLinkIcon() {
@@ -30578,7 +31286,7 @@ function NextLinkIcon() {
30578
31286
  "fill": "#293040",
30579
31287
  "fill-rule": "nonzero",
30580
31288
  "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"
31289
+ "points": "11.7071068 12.2928932 10.2928932 13.7071068 4.58578644 8 10.2928932 2.29289322 11.7071068 3.70710678 7.41421356 8"
30582
31290
  }, null)])]);
30583
31291
  }
30584
31292
  const pageNumBtnProps = {
@@ -32111,7 +32819,7 @@ var Rate = defineComponent({
32111
32819
  "fill": "#E3E5E9",
32112
32820
  "id": "Mask"
32113
32821
  }, [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"
32822
+ "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
32823
  }, null)])])])]), icon2 && !character && createVNode("span", {
32116
32824
  "class": [ns2.e("color-active"), ns2.e("active-star"), ns2.em("color", type4)],
32117
32825
  "style": {
@@ -32146,7 +32854,7 @@ var Rate = defineComponent({
32146
32854
  }, [createVNode("g", {
32147
32855
  "id": "Mask"
32148
32856
  }, [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"
32857
+ "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
32858
  }, null)])])])])]))]);
32151
32859
  }
32152
32860
  });
@@ -32743,7 +33451,9 @@ const SearchCloseIcon = () => createVNode("svg", {
32743
33451
  "width": "12px",
32744
33452
  "height": "12px"
32745
33453
  }, [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",
33454
+ "d": `M940.8 207.530667L818.602667 85.333333l-305.493334 305.493334L207.616 85.333333
33455
+ 85.333333 207.530667l305.493334 305.493333L85.333333 818.517333l122.282667 122.282667
33456
+ 305.493333-305.493333 305.493334 305.493333 122.197333-122.282667-305.493333-305.493333z`,
32747
33457
  "p-id": "30810"
32748
33458
  }, null)]);
32749
33459
  const SearchIcon = () => createVNode("svg", {
@@ -32752,7 +33462,7 @@ const SearchIcon = () => createVNode("svg", {
32752
33462
  "width": "12px",
32753
33463
  "height": "12px"
32754
33464
  }, [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",
33465
+ "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
33466
  "fill": "#262626",
32757
33467
  "p-id": "32547"
32758
33468
  }, null)]);
@@ -32892,7 +33602,23 @@ function ImageIcon() {
32892
33602
  "width": "24",
32893
33603
  "height": "24"
32894
33604
  }, 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",
33605
+ "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
33606
+ L20.9783775,15.4946187 C20.9778434,15.509964 20.9768409,15.525296 20.9753698,15.5405914 L20.9783341,15.4777069
33607
+ C20.9783341,15.8919205 20.6425477,16.2277069 20.2283341,16.2277069 C19.9841207,16.2277069 19.7671693,16.1109847
33608
+ 19.630224,15.9302845 L16.3835041,12.6846982 C15.9279377,12.2291319 15.2084078,12.1987608 14.7176463,12.593585
33609
+ L14.6161642,12.6846982 L9.05907272,18.2417898 C8.76083183,18.5400306 8.28304152,18.5577535 7.96352506,18.2824274
33610
+ C7.67269311,18.0318186 7.64008582,17.5928941 7.89069464,17.3020621 L7.9253008,17.2647549 L7.9253008,17.2647549
33611
+ L13.5555041,11.6240381 C14.5846517,10.5948904 16.2263561,10.5520093 17.3065502,11.4953946 L17.4441642,11.6240381
33612
+ L19.4783341,13.658 L19.4783341,6.022 C19.4783341,5.24761276 18.8784495,4.6021759 18.1219124,4.52892169 L17.9783341,4.522
33613
+ L6.02133414,4.522 C5.24694691,4.522 4.60151004,5.12188468 4.52825583,5.87842174 L4.52133414,6.022 L4.52133414,17.978
33614
+ C4.52133414,18.7529555 5.12086774,19.397891 5.87769393,19.4710842 L6.02133414,19.478 L17.9783341,19.478 C18.7530944,19.478
33615
+ 19.3982021,18.8786501 19.4714163,18.1216726 L19.4783341,17.978 C19.4783341,17.5637864 19.8141206,17.208 20.2283341,17.228
33616
+ C20.6425477,17.228 20.9783341,17.5637864 20.9783341,17.978 C20.9783341,19.5709231 19.724442,20.881321 18.1540742,20.9728891
33617
+ L17.9783341,20.978 L6.02133414,20.978 C4.42880954,20.978 3.11804157,19.7244922 3.02644657,18.1537812 L3.02133414,17.978
33618
+ 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
33619
+ M8.99983414,7.7505 C9.6900477,7.7505 10.2498341,8.31028644 10.2498341,9.0005 C10.2498341,9.69071356 9.6900477,10.2505
33620
+ 8.99983414,10.3505 C8.30962058,10.2505 7.74983414,9.69071356 7.74983414,9.0005 C7.74983414,8.31028644 8.30962058,7.7505
33621
+ 8.99983414,7.7505 Z`,
32896
33622
  "fill": "#bfbfbf"
32897
33623
  }, null)])])]);
32898
33624
  }
@@ -41416,6 +42142,7 @@ const installs = [
41416
42142
  DragdropInstall,
41417
42143
  DrawerInstall,
41418
42144
  DropdownInstall,
42145
+ EchartsInstall,
41419
42146
  EditableSelectInstall,
41420
42147
  EditorMdInstall,
41421
42148
  FormInstall,
@@ -41475,9 +42202,9 @@ const installs = [
41475
42202
  VirtualListInstall
41476
42203
  ];
41477
42204
  var vueDevui = {
41478
- version: "1.5.5",
42205
+ version: "1.5.7-hotfix.1",
41479
42206
  install(app) {
41480
42207
  installs.forEach((p) => app.use(p));
41481
42208
  }
41482
42209
  };
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 };
42210
+ 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 };