@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.
- package/global/icons/index.local.js +1 -1
- package/global/style/index.css +1 -1
- package/global/style/scrollbar.css +22 -22
- package/global/theme/index.js +12 -12
- package/global/theme/module/color.js +31 -31
- package/global/theme/module/fontSize.js +5 -5
- package/global/theme/module/scrollbar.js +6 -6
- package/package.json +15 -9
- package/packages/business-components/app-container/index.js +154 -147
- package/packages/business-components/change-enterprises/index.css +1 -0
- package/packages/business-components/change-enterprises/index.js +241 -0
- package/packages/business-components/change-pwd/index.css +1 -0
- package/packages/business-components/change-pwd/index.js +330 -0
- package/packages/business-components/currency-page/index.css +1 -0
- package/packages/business-components/currency-page/index.js +99 -0
- package/packages/business-components/device-panel/index.css +1 -0
- package/packages/business-components/device-panel/index.js +115939 -0
- package/packages/business-components/echarts/index.js +93 -122
- package/packages/business-components/export-button/index.js +73 -66
- package/packages/business-components/import-button/index.js +213 -170
- package/packages/business-components/index.js +8 -1
- package/packages/business-components/layout-breadcrumb/index.js +82 -66
- package/packages/business-components/model-table-dialog/index.js +299 -289
- package/packages/business-components/process-configuration/index.css +1 -0
- package/packages/business-components/process-configuration/index.js +612 -0
- package/packages/business-components/process-form/index.css +1 -0
- package/packages/business-components/process-form/index.js +524 -0
- package/packages/business-components/process-search-form/index.js +73 -315
- package/packages/business-components/process-table/index.css +1 -1
- package/packages/business-components/process-table/index.js +186 -152
- package/packages/business-components/urgent-panel/index.css +1 -0
- package/packages/business-components/urgent-panel/index.js +3914 -0
- package/packages/business-components/user-org-dialog/index.js +466 -375
- package/packages/business-components/video-dialog/index.css +1 -0
- package/packages/business-components/video-dialog/index.js +1041 -0
- package/packages/business.js +1 -2
- package/packages/components/alert/index.js +449 -633
- package/packages/components/audio-video/index.css +1 -1
- package/packages/components/audio-video/index.js +312 -126
- package/packages/components/autocomplete/index.css +1 -1
- package/packages/components/autocomplete/index.js +312 -2923
- package/packages/components/breadcrumb/index.js +97 -82
- package/packages/components/button/index.css +1 -1
- package/packages/components/button/index.js +646 -787
- package/packages/components/calendar/index.css +1 -1
- package/packages/components/calendar/index.js +655 -3879
- package/packages/components/cascader/index.js +209 -203
- package/packages/components/checkbox/index.css +1 -1
- package/packages/components/checkbox/index.js +710 -872
- package/packages/components/collapse-panel/index.css +1 -1
- package/packages/components/collapse-panel/index.js +419 -601
- package/packages/components/collapse-transition/index.js +23 -21
- package/packages/components/collaspe/index.css +1 -1
- package/packages/components/collaspe/index.js +413 -595
- package/packages/components/color-picker/index.css +1 -1
- package/packages/components/color-picker/index.js +176 -133
- package/packages/components/custom-search-item/index.js +43 -37
- package/packages/components/date-picker/index.js +1338 -1459
- package/packages/components/dialog/index.js +429 -215
- package/packages/components/dimple-layout/index.css +1 -1
- package/packages/components/dimple-layout/index.js +1298 -1794
- package/packages/components/drawer/index.js +105 -77
- package/packages/components/dropdown/index.js +129 -109
- package/packages/components/edit-table/index.css +1 -1
- package/packages/components/edit-table/index.js +868 -752
- package/packages/components/empty/index.js +83 -78
- package/packages/components/form/index.js +22 -15
- package/packages/components/form-item/index.css +1 -1
- package/packages/components/form-item/index.js +601 -440
- package/packages/components/icon/index.css +1 -1
- package/packages/components/icon/index.js +38 -22
- package/packages/components/image-preview/index.css +1 -0
- package/packages/components/image-preview/index.js +2714 -0
- package/packages/components/image-upload/index.js +601 -765
- package/packages/components/image-viewer/index.css +1 -1
- package/packages/components/image-viewer/index.js +909 -990
- package/packages/components/index.js +2 -2
- package/packages/components/input/index.css +1 -1
- package/packages/components/input/index.js +284 -256
- package/packages/components/input-dialog-select/index.css +1 -1
- package/packages/components/input-dialog-select/index.js +179 -156
- package/packages/components/input-number/index.css +1 -1
- package/packages/components/input-number/index.js +157 -170
- package/packages/components/live-player/index.css +1 -0
- package/packages/components/live-player/index.js +170 -0
- package/packages/components/loading/index.js +17 -26
- package/packages/components/map/index.css +1 -1
- package/packages/components/map/index.js +18913 -461
- package/packages/components/menu-aside/index.css +1 -1
- package/packages/components/menu-aside/index.js +648 -713
- package/packages/components/menu-header/index.js +446 -629
- package/packages/components/message/index.js +25 -16
- package/packages/components/notification/index.js +386 -575
- package/packages/components/overlay/index.js +112 -103
- package/packages/components/pagination/index.js +260 -330
- package/packages/components/popover/index.js +104 -93
- package/packages/components/popup-mask/index.css +1 -1
- package/packages/components/popup-mask/index.js +77 -72
- package/packages/components/preview/index.js +33 -28
- package/packages/components/progress/index.js +214 -221
- package/packages/components/radio/index.css +1 -1
- package/packages/components/radio/index.js +699 -862
- package/packages/components/radio-tabs/index.js +144 -107
- package/packages/components/rich-editor/index.css +1 -1
- package/packages/components/rich-editor/index.js +105 -106
- package/packages/components/scrollbar/index.css +3 -2
- package/packages/components/scrollbar/index.js +2262 -1201
- package/packages/components/search/index.js +500 -664
- package/packages/components/search-form/index.css +1 -1
- package/packages/components/search-form/index.js +724 -626
- package/packages/components/select/index.css +1 -1
- package/packages/components/select/index.js +1052 -950
- package/packages/components/select-input/index.js +63 -53
- package/packages/components/select-list/index.css +1 -1
- package/packages/components/select-list/index.js +258 -235
- package/packages/components/special-range-picker-month/index.css +1 -1
- package/packages/components/special-range-picker-month/index.js +3068 -72555
- package/packages/components/special-range-picker-year/index.css +1 -1
- package/packages/components/special-range-picker-year/index.js +345 -339
- package/packages/components/spin/index.js +415 -594
- package/packages/components/split-panel/index.css +1 -1
- package/packages/components/split-panel/index.js +146 -127
- package/packages/components/step/index.js +414 -597
- package/packages/components/steps/index.js +407 -590
- package/packages/components/switch/index.js +23 -23
- package/packages/components/table/index.css +1 -1
- package/packages/components/table/index.js +80813 -27734
- package/packages/components/tabs/index.css +1 -1
- package/packages/components/tabs/index.js +620 -813
- package/packages/components/tag/index.js +63 -63
- package/packages/components/text-tooltip/index.css +9 -0
- package/packages/components/text-tooltip/index.js +2739 -33
- package/packages/components/time-line/index.js +464 -643
- package/packages/components/tooltip/index.css +1 -1
- package/packages/components/tooltip/index.js +108 -79
- package/packages/components/tree/index.css +1 -1
- package/packages/components/tree/index.js +840 -809
- package/packages/components/tree-select/index.js +271 -303
- package/packages/components/tree-table/index.js +461 -352
- package/packages/components/upload/index.js +682 -858
- package/packages/components/virtual-tree/index.css +1 -1
- package/packages/components/virtual-tree/index.js +144 -126
- package/packages/index.d.ts +1 -0
- package/packages/index.js +2 -2
- package/style/business.css +11 -4
- package/style/index.css +52 -42
- package/packages/business-components/low-code/index.css +0 -1
- package/packages/business-components/low-code/index.js +0 -60
- package/packages/components/audio-video-player/index.css +0 -1
- package/packages/components/audio-video-player/index.js +0 -83
- package/packages/components/table-column/index.css +0 -1
- 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,
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
168
|
-
if (pstatus.value === "
|
|
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
|
-
|
|
177
|
-
if (
|
|
178
|
-
|
|
179
|
-
if (
|
|
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
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
return
|
|
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: "
|
|
205
|
-
style: normalizeStyle({
|
|
216
|
+
class: "percentage-graph",
|
|
217
|
+
style: normalizeStyle({ width: $props.type == "circle" ? $props.width + "px" : "100%" })
|
|
206
218
|
},
|
|
207
219
|
[
|
|
208
|
-
|
|
209
|
-
"
|
|
210
|
-
{
|
|
211
|
-
|
|
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
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
])) : createCommentVNode("v-if", true)
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
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(["
|
|
289
|
+
class: normalizeClass(["line-icon", $setup.pstatus])
|
|
327
290
|
},
|
|
328
291
|
[
|
|
329
|
-
|
|
330
|
-
"
|
|
331
|
-
|
|
332
|
-
toDisplayString(
|
|
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
|
-
|
|
337
|
-
"
|
|
338
|
-
|
|
339
|
-
toDisplayString(innerVal
|
|
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
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
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.
|
|
347
|
+
$props.tipType === "score" && $setup.processTipVisible ? (openBlock(), createElementBlock(
|
|
355
348
|
"div",
|
|
356
|
-
|
|
357
|
-
toDisplayString(
|
|
349
|
+
_hoisted_12,
|
|
350
|
+
toDisplayString($setup.innerVal + "/" + $setup.fullValue),
|
|
358
351
|
1
|
|
359
352
|
/* TEXT */
|
|
360
353
|
)) : createCommentVNode("v-if", true)
|
|
361
354
|
],
|
|
362
|
-
|
|
363
|
-
/*
|
|
364
|
-
)
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
var dasProgress = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ee19ea09"], ["__file", "
|
|
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",
|