@das-fed/ui 1.1.4 → 6.3.0-beta.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 (152) hide show
  1. package/global/icons/index.local.js +1 -1
  2. package/global/style/index.css +1 -1
  3. package/global/style/scrollbar.css +22 -22
  4. package/global/theme/index.js +12 -12
  5. package/global/theme/module/color.js +31 -31
  6. package/global/theme/module/fontSize.js +5 -5
  7. package/global/theme/module/scrollbar.js +6 -6
  8. package/package.json +15 -9
  9. package/packages/business-components/app-container/index.js +154 -147
  10. package/packages/business-components/change-enterprises/index.css +1 -0
  11. package/packages/business-components/change-enterprises/index.js +241 -0
  12. package/packages/business-components/change-pwd/index.css +1 -0
  13. package/packages/business-components/change-pwd/index.js +330 -0
  14. package/packages/business-components/currency-page/index.css +1 -0
  15. package/packages/business-components/currency-page/index.js +99 -0
  16. package/packages/business-components/device-panel/index.css +1 -0
  17. package/packages/business-components/device-panel/index.js +115939 -0
  18. package/packages/business-components/echarts/index.js +93 -122
  19. package/packages/business-components/export-button/index.js +73 -66
  20. package/packages/business-components/import-button/index.js +213 -170
  21. package/packages/business-components/index.js +8 -1
  22. package/packages/business-components/layout-breadcrumb/index.js +82 -66
  23. package/packages/business-components/model-table-dialog/index.js +299 -289
  24. package/packages/business-components/process-configuration/index.css +1 -0
  25. package/packages/business-components/process-configuration/index.js +612 -0
  26. package/packages/business-components/process-form/index.css +1 -0
  27. package/packages/business-components/process-form/index.js +524 -0
  28. package/packages/business-components/process-search-form/index.js +73 -315
  29. package/packages/business-components/process-table/index.css +1 -1
  30. package/packages/business-components/process-table/index.js +186 -152
  31. package/packages/business-components/urgent-panel/index.css +1 -0
  32. package/packages/business-components/urgent-panel/index.js +3914 -0
  33. package/packages/business-components/user-org-dialog/index.js +466 -375
  34. package/packages/business-components/video-dialog/index.css +1 -0
  35. package/packages/business-components/video-dialog/index.js +1041 -0
  36. package/packages/business.js +1 -2
  37. package/packages/components/alert/index.js +449 -633
  38. package/packages/components/audio-video/index.css +1 -1
  39. package/packages/components/audio-video/index.js +312 -126
  40. package/packages/components/autocomplete/index.css +1 -1
  41. package/packages/components/autocomplete/index.js +312 -2923
  42. package/packages/components/breadcrumb/index.js +97 -82
  43. package/packages/components/button/index.css +1 -1
  44. package/packages/components/button/index.js +646 -787
  45. package/packages/components/calendar/index.css +1 -1
  46. package/packages/components/calendar/index.js +655 -3879
  47. package/packages/components/cascader/index.js +209 -203
  48. package/packages/components/checkbox/index.css +1 -1
  49. package/packages/components/checkbox/index.js +710 -872
  50. package/packages/components/collapse-panel/index.css +1 -1
  51. package/packages/components/collapse-panel/index.js +419 -601
  52. package/packages/components/collapse-transition/index.js +23 -21
  53. package/packages/components/collaspe/index.css +1 -1
  54. package/packages/components/collaspe/index.js +413 -595
  55. package/packages/components/color-picker/index.css +1 -1
  56. package/packages/components/color-picker/index.js +176 -133
  57. package/packages/components/custom-search-item/index.js +43 -37
  58. package/packages/components/date-picker/index.js +1338 -1459
  59. package/packages/components/dialog/index.js +429 -215
  60. package/packages/components/dimple-layout/index.css +1 -1
  61. package/packages/components/dimple-layout/index.js +1298 -1794
  62. package/packages/components/drawer/index.js +105 -77
  63. package/packages/components/dropdown/index.js +129 -109
  64. package/packages/components/edit-table/index.css +1 -1
  65. package/packages/components/edit-table/index.js +868 -752
  66. package/packages/components/empty/index.js +83 -78
  67. package/packages/components/form/index.js +22 -15
  68. package/packages/components/form-item/index.css +1 -1
  69. package/packages/components/form-item/index.js +601 -440
  70. package/packages/components/icon/index.css +1 -1
  71. package/packages/components/icon/index.js +38 -22
  72. package/packages/components/image-preview/index.css +1 -0
  73. package/packages/components/image-preview/index.js +2714 -0
  74. package/packages/components/image-upload/index.js +601 -765
  75. package/packages/components/image-viewer/index.css +1 -1
  76. package/packages/components/image-viewer/index.js +909 -990
  77. package/packages/components/index.js +2 -2
  78. package/packages/components/input/index.css +1 -1
  79. package/packages/components/input/index.js +284 -256
  80. package/packages/components/input-dialog-select/index.css +1 -1
  81. package/packages/components/input-dialog-select/index.js +179 -156
  82. package/packages/components/input-number/index.css +1 -1
  83. package/packages/components/input-number/index.js +157 -170
  84. package/packages/components/live-player/index.css +1 -0
  85. package/packages/components/live-player/index.js +170 -0
  86. package/packages/components/loading/index.js +17 -26
  87. package/packages/components/map/index.css +1 -1
  88. package/packages/components/map/index.js +18913 -461
  89. package/packages/components/menu-aside/index.css +1 -1
  90. package/packages/components/menu-aside/index.js +648 -713
  91. package/packages/components/menu-header/index.js +446 -629
  92. package/packages/components/message/index.js +25 -16
  93. package/packages/components/notification/index.js +386 -575
  94. package/packages/components/overlay/index.js +112 -103
  95. package/packages/components/pagination/index.js +260 -330
  96. package/packages/components/popover/index.js +104 -93
  97. package/packages/components/popup-mask/index.css +1 -1
  98. package/packages/components/popup-mask/index.js +77 -72
  99. package/packages/components/preview/index.js +33 -28
  100. package/packages/components/progress/index.js +214 -221
  101. package/packages/components/radio/index.css +1 -1
  102. package/packages/components/radio/index.js +699 -862
  103. package/packages/components/radio-tabs/index.js +144 -107
  104. package/packages/components/rich-editor/index.css +1 -1
  105. package/packages/components/rich-editor/index.js +105 -106
  106. package/packages/components/scrollbar/index.css +3 -2
  107. package/packages/components/scrollbar/index.js +2262 -1201
  108. package/packages/components/search/index.js +500 -664
  109. package/packages/components/search-form/index.css +1 -1
  110. package/packages/components/search-form/index.js +724 -626
  111. package/packages/components/select/index.css +1 -1
  112. package/packages/components/select/index.js +1052 -950
  113. package/packages/components/select-input/index.js +63 -53
  114. package/packages/components/select-list/index.css +1 -1
  115. package/packages/components/select-list/index.js +258 -235
  116. package/packages/components/special-range-picker-month/index.css +1 -1
  117. package/packages/components/special-range-picker-month/index.js +3068 -72555
  118. package/packages/components/special-range-picker-year/index.css +1 -1
  119. package/packages/components/special-range-picker-year/index.js +345 -339
  120. package/packages/components/spin/index.js +415 -594
  121. package/packages/components/split-panel/index.css +1 -1
  122. package/packages/components/split-panel/index.js +146 -127
  123. package/packages/components/step/index.js +414 -597
  124. package/packages/components/steps/index.js +407 -590
  125. package/packages/components/switch/index.js +23 -23
  126. package/packages/components/table/index.css +1 -1
  127. package/packages/components/table/index.js +80813 -27734
  128. package/packages/components/tabs/index.css +1 -1
  129. package/packages/components/tabs/index.js +620 -813
  130. package/packages/components/tag/index.js +63 -63
  131. package/packages/components/text-tooltip/index.css +9 -0
  132. package/packages/components/text-tooltip/index.js +2739 -33
  133. package/packages/components/time-line/index.js +464 -643
  134. package/packages/components/tooltip/index.css +1 -1
  135. package/packages/components/tooltip/index.js +108 -79
  136. package/packages/components/tree/index.css +1 -1
  137. package/packages/components/tree/index.js +840 -809
  138. package/packages/components/tree-select/index.js +271 -303
  139. package/packages/components/tree-table/index.js +461 -352
  140. package/packages/components/upload/index.js +682 -858
  141. package/packages/components/virtual-tree/index.css +1 -1
  142. package/packages/components/virtual-tree/index.js +144 -126
  143. package/packages/index.d.ts +1 -0
  144. package/packages/index.js +2 -2
  145. package/style/business.css +11 -4
  146. package/style/index.css +52 -42
  147. package/packages/business-components/low-code/index.css +0 -1
  148. package/packages/business-components/low-code/index.js +0 -60
  149. package/packages/components/audio-video-player/index.css +0 -1
  150. package/packages/components/audio-video-player/index.js +0 -83
  151. package/packages/components/table-column/index.css +0 -1
  152. package/packages/components/table-column/index.js +0 -82021
@@ -1,5 +1,5 @@
1
1
  import { withInstall } from '@das-fed/utils';
2
- import { defineComponent, openBlock, createElementBlock, createElementVNode, useCssVars, computed, ref, resolveComponent, normalizeStyle, createVNode, mergeProps, withCtx, createCommentVNode, renderSlot, Fragment, toDisplayString, createBlock, unref, normalizeClass, pushScopeId, popScopeId } from 'vue';
2
+ import { defineComponent, openBlock, createElementBlock, createElementVNode, useCssVars, computed, ref, resolveComponent, normalizeStyle, createVNode, mergeProps, withCtx, createCommentVNode, renderSlot, Fragment, toDisplayString, createBlock, normalizeClass, pushScopeId, popScopeId } from 'vue';
3
3
  import { DasIcon } from '@das-fed/ui';
4
4
  import { getVarValue, getVar, setThemeRule } from '@das-fed/web';
5
5
 
@@ -42,41 +42,6 @@ var select_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineC
42
42
  // src/components/select.vue
43
43
  var select_default = select_vue_vue_type_script_setup_true_lang_default;
44
44
 
45
- const _withScopeId = (n) => (pushScopeId("data-v-ee19ea09"), n = n(), popScopeId(), n);
46
- const _hoisted_1 = {
47
- key: 0,
48
- class: "percentage-color"
49
- };
50
- const _hoisted_2 = { key: 0 };
51
- const _hoisted_3 = { class: "percentage-value" };
52
- const _hoisted_4 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
53
- "span",
54
- null,
55
- "%",
56
- -1
57
- /* HOISTED */
58
- ));
59
- const _hoisted_5 = { key: 1 };
60
- const _hoisted_6 = { class: "percentage-value" };
61
- const _hoisted_7 = { key: 1 };
62
- const _hoisted_8 = {
63
- key: 0,
64
- class: "end-text"
65
- };
66
- const _hoisted_9 = {
67
- key: 1,
68
- class: "end-text"
69
- };
70
- const _hoisted_10 = {
71
- key: 0,
72
- class: "line-left"
73
- };
74
- const _hoisted_11 = { key: 1 };
75
- const _hoisted_12 = { key: 2 };
76
- const _hoisted_13 = {
77
- key: 1,
78
- class: "tip-circle"
79
- };
80
45
  var _sfc_main = /* @__PURE__ */ defineComponent({
81
46
  __name: "Index",
82
47
  props: {
@@ -105,10 +70,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
105
70
  });
106
71
  const innerVal = computed(() => {
107
72
  let result = props.modelValue;
108
- if (result < 0)
109
- result = 0;
110
- if (result > fullValue.value)
111
- result = fullValue.value;
73
+ if (result < 0) result = 0;
74
+ if (result > fullValue.value) result = fullValue.value;
112
75
  return result;
113
76
  });
114
77
  const percentage = computed(() => {
@@ -131,20 +94,16 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
131
94
  });
132
95
  const pstrokeWidth = computed(() => {
133
96
  if (!props.strokeWidth) {
134
- if (props.type === "line")
135
- return 8;
136
- if (props.type === "circle")
137
- return 4;
97
+ if (props.type === "line") return 8;
98
+ if (props.type === "circle") return 4;
138
99
  } else {
139
100
  return props.strokeWidth;
140
101
  }
141
102
  });
142
103
  const pshowText = computed(() => {
143
104
  if (!props.showText) {
144
- if (props.type === "line")
145
- return false;
146
- if (props.type === "circle")
147
- return true;
105
+ if (props.type === "line") return false;
106
+ if (props.type === "circle") return true;
148
107
  } else {
149
108
  return props.showText;
150
109
  }
@@ -163,29 +122,20 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
163
122
  });
164
123
  const tipText = computed(() => {
165
124
  let type = 1;
166
- if (pstatus.value === "normal")
167
- type = 0;
168
- if (pstatus.value === "exception")
169
- type = 1;
170
- if (pstatus.value === "success")
171
- type = 2;
125
+ if (pstatus.value === "normal") type = 0;
126
+ if (pstatus.value === "exception") type = 1;
127
+ if (pstatus.value === "success") type = 2;
172
128
  return props.textMap[type];
173
129
  });
174
130
  const tipPosition = computed(() => {
175
- if (["success", "exception"].includes(pstatus.value))
176
- return "center";
177
- if (textTipVisible.value && processTipVisible.value)
178
- return "";
179
- if (props.singleTipPosition)
180
- return props.singleTipPosition;
181
- if (!textTipVisible.value && processTipVisible.value)
182
- return "right";
183
- if (textTipVisible.value && !processTipVisible.value)
184
- return "left";
131
+ if (["success", "exception"].includes(pstatus.value)) return "center";
132
+ if (textTipVisible.value && processTipVisible.value) return "";
133
+ if (props.singleTipPosition) return props.singleTipPosition;
134
+ if (!textTipVisible.value && processTipVisible.value) return "right";
135
+ if (textTipVisible.value && !processTipVisible.value) return "left";
185
136
  });
186
137
  const processTipVisible = computed(() => {
187
- if (["success", "exception"].includes(pstatus.value))
188
- return false;
138
+ if (["success", "exception"].includes(pstatus.value)) return false;
189
139
  return props.showProcessTip;
190
140
  });
191
141
  const textTipVisible = computed(() => {
@@ -195,186 +145,229 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
195
145
  __expose({
196
146
  $progress
197
147
  });
198
- return (_ctx, _cache) => {
199
- const _component_el_icon = resolveComponent("el-icon");
200
- const _component_el_progress = resolveComponent("el-progress");
201
- return openBlock(), createElementBlock(
148
+ const __returned__ = { props, fullValue, innerVal, percentage, pstatus, pstrokeWidth, pshowText, color, tipColor, tipText, tipPosition, processTipVisible, textTipVisible, $progress, get DasIcon() {
149
+ return DasIcon;
150
+ }, get Select() {
151
+ return select_default;
152
+ }, get CloseBold() {
153
+ return close_bold_default;
154
+ } };
155
+ Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
156
+ return __returned__;
157
+ }
158
+ });
159
+
160
+ var _export_sfc = (sfc, props) => {
161
+ const target = sfc.__vccOpts || sfc;
162
+ for (const [key, val] of props) {
163
+ target[key] = val;
164
+ }
165
+ return target;
166
+ };
167
+
168
+ const _withScopeId = (n) => (pushScopeId("data-v-ee19ea09"), n = n(), popScopeId(), n);
169
+ const _hoisted_1 = {
170
+ key: 0,
171
+ class: "percentage-color"
172
+ };
173
+ const _hoisted_2 = { key: 0 };
174
+ const _hoisted_3 = { class: "percentage-value" };
175
+ const _hoisted_4 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
176
+ "span",
177
+ null,
178
+ "%",
179
+ -1
180
+ /* HOISTED */
181
+ ));
182
+ const _hoisted_5 = { key: 1 };
183
+ const _hoisted_6 = { class: "percentage-value" };
184
+ const _hoisted_7 = { key: 1 };
185
+ const _hoisted_8 = {
186
+ key: 0,
187
+ class: "end-text"
188
+ };
189
+ const _hoisted_9 = {
190
+ key: 1,
191
+ class: "end-text"
192
+ };
193
+ const _hoisted_10 = {
194
+ key: 0,
195
+ class: "line-left"
196
+ };
197
+ const _hoisted_11 = { key: 1 };
198
+ const _hoisted_12 = { key: 2 };
199
+ const _hoisted_13 = {
200
+ key: 1,
201
+ class: "tip-circle"
202
+ };
203
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
204
+ const _component_el_icon = resolveComponent("el-icon");
205
+ const _component_el_progress = resolveComponent("el-progress");
206
+ return openBlock(), createElementBlock(
207
+ "div",
208
+ {
209
+ class: "das-ui-progress",
210
+ style: normalizeStyle({ display: $props.type == "circle" ? "inline-block" : "block" })
211
+ },
212
+ [
213
+ createElementVNode(
202
214
  "div",
203
215
  {
204
- class: "das-ui-progress",
205
- style: normalizeStyle({ display: _ctx.type == "circle" ? "inline-block" : "block" })
216
+ class: "percentage-graph",
217
+ style: normalizeStyle({ width: $props.type == "circle" ? $props.width + "px" : "100%" })
206
218
  },
207
219
  [
208
- createElementVNode(
209
- "div",
210
- {
211
- class: "percentage-graph",
212
- style: normalizeStyle({ width: _ctx.type == "circle" ? _ctx.width + "px" : "100%" })
220
+ createVNode(_component_el_progress, mergeProps({
221
+ ref: "$progress",
222
+ class: {
223
+ showLoading: $setup.props.showAnimation && $setup.props.type === "line" && $setup.pstatus === "normal" && !_ctx.$attrs.indeterminate
213
224
  },
214
- [
215
- createVNode(_component_el_progress, mergeProps({
216
- ref_key: "$progress",
217
- ref: $progress,
218
- class: {
219
- showLoading: props.showAnimation && props.type === "line" && pstatus.value === "normal" && !_ctx.$attrs.indeterminate
220
- },
221
- type: _ctx.type
222
- }, _ctx.$attrs, {
223
- color: color.value,
224
- percentage: percentage.value,
225
- width: _ctx.width,
226
- "stroke-width": pstrokeWidth.value,
227
- "show-text": pshowText.value
228
- }), {
229
- default: withCtx(({ percentage: percentage2 }) => [
230
- createCommentVNode(" @slot \u9ED8\u8BA4\u63D2\u69FD "),
231
- renderSlot(_ctx.$slots, "default", { percentage: percentage2 }, () => [
232
- props.type === "circle" ? (openBlock(), createElementBlock(
233
- Fragment,
234
- { key: 0 },
235
- [
236
- pstatus.value === "normal" ? (openBlock(), createElementBlock("div", _hoisted_1, [
237
- _ctx.tipType === "percentage" ? (openBlock(), createElementBlock("div", _hoisted_2, [
238
- createElementVNode(
239
- "span",
240
- _hoisted_3,
241
- toDisplayString(percentage2),
242
- 1
243
- /* TEXT */
244
- ),
245
- _hoisted_4
246
- ])) : createCommentVNode("v-if", true),
247
- _ctx.tipType === "score" ? (openBlock(), createElementBlock("div", _hoisted_5, [
248
- createElementVNode(
249
- "span",
250
- _hoisted_6,
251
- toDisplayString(innerVal.value + "/" + fullValue.value),
252
- 1
253
- /* TEXT */
254
- )
255
- ])) : createCommentVNode("v-if", true)
256
- ])) : (openBlock(), createElementBlock("div", _hoisted_7, [
257
- createVNode(_component_el_icon, { size: 40 }, {
258
- default: withCtx(() => [
259
- pstatus.value === "success" ? (openBlock(), createBlock(unref(select_default), {
260
- key: 0,
261
- color: color.value
262
- }, null, 8, ["color"])) : createCommentVNode("v-if", true),
263
- pstatus.value === "exception" ? (openBlock(), createBlock(unref(close_bold_default), {
264
- key: 1,
265
- color: color.value
266
- }, null, 8, ["color"])) : createCommentVNode("v-if", true)
267
- ]),
268
- _: 1
269
- /* STABLE */
270
- })
271
- ]))
272
- ],
273
- 64
274
- /* STABLE_FRAGMENT */
275
- )) : createCommentVNode("v-if", true)
276
- ], true)
277
- ]),
278
- _: 3
279
- /* FORWARDED */
280
- }, 16, ["class", "type", "color", "percentage", "width", "stroke-width", "show-text"]),
281
- props.type === "line" ? (openBlock(), createElementBlock(
282
- "div",
283
- {
284
- key: 0,
285
- class: normalizeClass(["line-icon", pstatus.value])
286
- },
287
- [
288
- _ctx.tipType === "percentage" && _ctx.showEndText && pstatus.value === "normal" ? (openBlock(), createElementBlock(
289
- "span",
290
- _hoisted_8,
291
- toDisplayString(innerVal.value) + "%",
292
- 1
293
- /* TEXT */
294
- )) : createCommentVNode("v-if", true),
295
- _ctx.tipType === "score" && _ctx.showEndText && pstatus.value === "normal" ? (openBlock(), createElementBlock(
296
- "span",
297
- _hoisted_9,
298
- toDisplayString(innerVal.value + "/" + fullValue.value),
299
- 1
300
- /* TEXT */
301
- )) : createCommentVNode("v-if", true),
302
- pstatus.value === "success" ? (openBlock(), createBlock(unref(DasIcon), {
303
- key: 2,
304
- icon: "success",
305
- "icon-color": "#12AA53",
306
- "custom-size": "14px"
307
- })) : createCommentVNode("v-if", true),
308
- pstatus.value === "exception" ? (openBlock(), createBlock(unref(DasIcon), {
309
- key: 3,
310
- icon: "reload",
311
- "icon-color": "red",
312
- "custom-size": "16px"
313
- })) : createCommentVNode("v-if", true)
314
- ],
315
- 2
316
- /* CLASS */
317
- )) : createCommentVNode("v-if", true)
318
- ],
319
- 4
320
- /* STYLE */
321
- ),
322
- props.type === "line" && (textTipVisible.value || processTipVisible.value) ? (openBlock(), createElementBlock(
225
+ type: $props.type
226
+ }, _ctx.$attrs, {
227
+ color: $setup.color,
228
+ percentage: $setup.percentage,
229
+ width: $props.width,
230
+ "stroke-width": $setup.pstrokeWidth,
231
+ "show-text": $setup.pshowText
232
+ }), {
233
+ default: withCtx(({ percentage }) => [
234
+ createCommentVNode(" @slot \u9ED8\u8BA4\u63D2\u69FD "),
235
+ renderSlot(_ctx.$slots, "default", { percentage }, () => [
236
+ $setup.props.type === "circle" ? (openBlock(), createElementBlock(
237
+ Fragment,
238
+ { key: 0 },
239
+ [
240
+ $setup.pstatus === "normal" ? (openBlock(), createElementBlock("div", _hoisted_1, [
241
+ $props.tipType === "percentage" ? (openBlock(), createElementBlock("div", _hoisted_2, [
242
+ createElementVNode(
243
+ "span",
244
+ _hoisted_3,
245
+ toDisplayString(percentage),
246
+ 1
247
+ /* TEXT */
248
+ ),
249
+ _hoisted_4
250
+ ])) : createCommentVNode("v-if", true),
251
+ $props.tipType === "score" ? (openBlock(), createElementBlock("div", _hoisted_5, [
252
+ createElementVNode(
253
+ "span",
254
+ _hoisted_6,
255
+ toDisplayString($setup.innerVal + "/" + $setup.fullValue),
256
+ 1
257
+ /* TEXT */
258
+ )
259
+ ])) : createCommentVNode("v-if", true)
260
+ ])) : (openBlock(), createElementBlock("div", _hoisted_7, [
261
+ createVNode(_component_el_icon, { size: 40 }, {
262
+ default: withCtx(() => [
263
+ $setup.pstatus === "success" ? (openBlock(), createBlock($setup["Select"], {
264
+ key: 0,
265
+ color: $setup.color
266
+ }, null, 8, ["color"])) : createCommentVNode("v-if", true),
267
+ $setup.pstatus === "exception" ? (openBlock(), createBlock($setup["CloseBold"], {
268
+ key: 1,
269
+ color: $setup.color
270
+ }, null, 8, ["color"])) : createCommentVNode("v-if", true)
271
+ ]),
272
+ _: 1
273
+ /* STABLE */
274
+ })
275
+ ]))
276
+ ],
277
+ 64
278
+ /* STABLE_FRAGMENT */
279
+ )) : createCommentVNode("v-if", true)
280
+ ], true)
281
+ ]),
282
+ _: 3
283
+ /* FORWARDED */
284
+ }, 16, ["class", "type", "color", "percentage", "width", "stroke-width", "show-text"]),
285
+ $setup.props.type === "line" ? (openBlock(), createElementBlock(
323
286
  "div",
324
287
  {
325
288
  key: 0,
326
- class: normalizeClass(["tip-line", tipPosition.value])
289
+ class: normalizeClass(["line-icon", $setup.pstatus])
327
290
  },
328
291
  [
329
- textTipVisible.value ? (openBlock(), createElementBlock(
330
- "div",
331
- _hoisted_10,
332
- toDisplayString(tipText.value),
292
+ $props.tipType === "percentage" && $props.showEndText && $setup.pstatus === "normal" ? (openBlock(), createElementBlock(
293
+ "span",
294
+ _hoisted_8,
295
+ toDisplayString($setup.innerVal) + "%",
333
296
  1
334
297
  /* TEXT */
335
298
  )) : createCommentVNode("v-if", true),
336
- _ctx.tipType === "percentage" && processTipVisible.value ? (openBlock(), createElementBlock(
337
- "div",
338
- _hoisted_11,
339
- toDisplayString(innerVal.value) + "%",
299
+ $props.tipType === "score" && $props.showEndText && $setup.pstatus === "normal" ? (openBlock(), createElementBlock(
300
+ "span",
301
+ _hoisted_9,
302
+ toDisplayString($setup.innerVal + "/" + $setup.fullValue),
340
303
  1
341
304
  /* TEXT */
342
305
  )) : createCommentVNode("v-if", true),
343
- _ctx.tipType === "score" && processTipVisible.value ? (openBlock(), createElementBlock(
344
- "div",
345
- _hoisted_12,
346
- toDisplayString(innerVal.value + "/" + fullValue.value),
347
- 1
348
- /* TEXT */
349
- )) : createCommentVNode("v-if", true)
306
+ $setup.pstatus === "success" ? (openBlock(), createBlock($setup["DasIcon"], {
307
+ key: 2,
308
+ icon: "success",
309
+ "icon-color": "#12AA53",
310
+ "custom-size": "14px"
311
+ })) : createCommentVNode("v-if", true),
312
+ $setup.pstatus === "exception" ? (openBlock(), createBlock($setup["DasIcon"], {
313
+ key: 3,
314
+ icon: "reload",
315
+ "icon-color": "red",
316
+ "custom-size": "16px"
317
+ })) : createCommentVNode("v-if", true)
350
318
  ],
351
319
  2
352
320
  /* CLASS */
321
+ )) : createCommentVNode("v-if", true)
322
+ ],
323
+ 4
324
+ /* STYLE */
325
+ ),
326
+ $setup.props.type === "line" && ($setup.textTipVisible || $setup.processTipVisible) ? (openBlock(), createElementBlock(
327
+ "div",
328
+ {
329
+ key: 0,
330
+ class: normalizeClass(["tip-line", $setup.tipPosition])
331
+ },
332
+ [
333
+ $setup.textTipVisible ? (openBlock(), createElementBlock(
334
+ "div",
335
+ _hoisted_10,
336
+ toDisplayString($setup.tipText),
337
+ 1
338
+ /* TEXT */
339
+ )) : createCommentVNode("v-if", true),
340
+ $props.tipType === "percentage" && $setup.processTipVisible ? (openBlock(), createElementBlock(
341
+ "div",
342
+ _hoisted_11,
343
+ toDisplayString($setup.innerVal) + "%",
344
+ 1
345
+ /* TEXT */
353
346
  )) : createCommentVNode("v-if", true),
354
- props.type === "circle" ? (openBlock(), createElementBlock(
347
+ $props.tipType === "score" && $setup.processTipVisible ? (openBlock(), createElementBlock(
355
348
  "div",
356
- _hoisted_13,
357
- toDisplayString(tipText.value),
349
+ _hoisted_12,
350
+ toDisplayString($setup.innerVal + "/" + $setup.fullValue),
358
351
  1
359
352
  /* TEXT */
360
353
  )) : createCommentVNode("v-if", true)
361
354
  ],
362
- 4
363
- /* STYLE */
364
- );
365
- };
366
- }
367
- });
368
-
369
- var _export_sfc = (sfc, props) => {
370
- const target = sfc.__vccOpts || sfc;
371
- for (const [key, val] of props) {
372
- target[key] = val;
373
- }
374
- return target;
375
- };
376
-
377
- var dasProgress = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ee19ea09"], ["__file", "E:\\company-code\\v6r3\\framework-3\\packages\\das-ui\\packages\\components\\progress\\src\\Index.vue"]]);
355
+ 2
356
+ /* CLASS */
357
+ )) : createCommentVNode("v-if", true),
358
+ $setup.props.type === "circle" ? (openBlock(), createElementBlock(
359
+ "div",
360
+ _hoisted_13,
361
+ toDisplayString($setup.tipText),
362
+ 1
363
+ /* TEXT */
364
+ )) : createCommentVNode("v-if", true)
365
+ ],
366
+ 4
367
+ /* STYLE */
368
+ );
369
+ }
370
+ var dasProgress = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-ee19ea09"], ["__file", "/Users/xiecp/das/das-fe/framework/packages/das-ui/packages/components/progress/src/Index.vue"]]);
378
371
 
379
372
  var theme = {
380
373
  "--das-ui-progress-normal": "#5582F3",