@das-fed/ui 6.4.0-dev.91 → 6.4.0-dev.92
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/package.json +5 -5
- package/packages/business-components/app-container/index.js +120 -95
- package/packages/business-components/app-container/index.js.gz +0 -0
- package/packages/business-components/app-container/style.css +1 -1
- package/packages/business-components/app-container/style.css.gz +0 -0
- package/packages/business-components/device-panel/index.js +4073 -4079
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/device-panel/style.css +1 -1
- package/packages/business-components/device-panel/style.css.gz +0 -0
- package/packages/business-components/payment/index.d.ts +15 -0
- package/packages/business-components/payment/index.js +76 -75
- package/packages/business-components/payment/index.js.gz +0 -0
- package/packages/business-components/payment/style.css +1 -1
- package/packages/business-components/payment/type.d.ts +2 -0
- package/packages/business-components/process-form/index.js +561 -552
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-form/src/hooks/useForm.d.ts +3 -1
- package/packages/business-components/process-form/style.css +1 -1
- package/packages/components/input-dialog-select/index.js +126 -108
- package/packages/components/input-dialog-select/index.js.gz +0 -0
- package/packages/components/input-dialog-select/style.css +1 -1
- package/packages/components/input-dialog-select/style.css.gz +0 -0
- package/packages/components/input-number/index.js +4 -4
- package/packages/components/input-number/index.js.gz +0 -0
- package/packages/components/input-number/style.css +1 -1
- package/packages/components/input-number/style.css.gz +0 -0
- package/packages/components/progress/index.js +49 -44
- package/packages/components/progress/index.js.gz +0 -0
- package/packages/components/progress/style.css +1 -1
- package/packages/components/progress/style.css.gz +0 -0
- package/packages/components/radio-tabs/index.js +1 -1
- package/packages/components/radio-tabs/index.js.gz +0 -0
- package/packages/components/radio-tabs/style.css +1 -1
- package/packages/components/radio-tabs/style.css.gz +0 -0
- package/packages/components/text-tooltip/index.js +704 -697
- package/packages/components/text-tooltip/index.js.gz +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/components/progress/style.css';
|
|
2
2
|
import { withInstall as M } from "@das-fed/utils/with-install/index";
|
|
3
|
-
import { ElIcon as
|
|
3
|
+
import { ElIcon as D, ElProgress as N } from "element-plus/es";
|
|
4
4
|
import "element-plus/es/components/base/style/css";
|
|
5
5
|
import "element-plus/es/components/progress/style/css";
|
|
6
6
|
import "element-plus/es/components/icon/style/css";
|
|
7
|
-
import { defineComponent as w, openBlock as s, createElementBlock as o, createElementVNode as d, useCssVars as
|
|
8
|
-
import { DasIcon as C } from "@das-fed/ui/packages/components/icon/index";
|
|
9
|
-
import { getVarValue as
|
|
7
|
+
import { defineComponent as w, openBlock as s, createElementBlock as o, createElementVNode as d, useCssVars as W, computed as a, ref as F, normalizeStyle as B, createVNode as V, mergeProps as R, withCtx as b, renderSlot as O, Fragment as j, toDisplayString as c, createCommentVNode as l, createBlock as _, unref as g, normalizeClass as P, pushScopeId as q, popScopeId as G } from "vue";
|
|
8
|
+
import { DasAutoRegisterIcon as H, DasIcon as C } from "@das-fed/ui/packages/components/icon/index";
|
|
9
|
+
import { getVarValue as J, getVar as K, setThemeRule as Q } from "@das-fed/web/packages/theme/index";
|
|
10
10
|
import { t as m } from "@das-fed/web/packages/i18n/index";
|
|
11
11
|
/*! Element Plus Icons Vue v2.3.1 */
|
|
12
|
-
var
|
|
12
|
+
var U = /* @__PURE__ */ w({
|
|
13
13
|
name: "CloseBold",
|
|
14
14
|
__name: "close-bold",
|
|
15
15
|
setup(n) {
|
|
@@ -23,7 +23,7 @@ var Q = /* @__PURE__ */ w({
|
|
|
23
23
|
})
|
|
24
24
|
]));
|
|
25
25
|
}
|
|
26
|
-
}),
|
|
26
|
+
}), X = U, Y = /* @__PURE__ */ w({
|
|
27
27
|
name: "Select",
|
|
28
28
|
__name: "select",
|
|
29
29
|
setup(n) {
|
|
@@ -37,23 +37,23 @@ var Q = /* @__PURE__ */ w({
|
|
|
37
37
|
})
|
|
38
38
|
]));
|
|
39
39
|
}
|
|
40
|
-
}),
|
|
41
|
-
const
|
|
40
|
+
}), Z = Y;
|
|
41
|
+
const ee = (n) => (q("data-v-d46e563e"), n = n(), G(), n), te = {
|
|
42
42
|
key: 0,
|
|
43
43
|
class: "percentage-color"
|
|
44
|
-
},
|
|
44
|
+
}, se = { key: 0 }, re = { class: "percentage-value" }, oe = /* @__PURE__ */ ee(() => /* @__PURE__ */ d("span", null, "%", -1)), le = { key: 1 }, ae = { class: "percentage-value" }, ne = { key: 1 }, ue = {
|
|
45
45
|
key: 0,
|
|
46
46
|
class: "end-text"
|
|
47
|
-
},
|
|
47
|
+
}, ie = {
|
|
48
48
|
key: 1,
|
|
49
49
|
class: "end-text"
|
|
50
|
-
},
|
|
50
|
+
}, ce = {
|
|
51
51
|
key: 0,
|
|
52
52
|
class: "line-left"
|
|
53
|
-
},
|
|
53
|
+
}, pe = { key: 1 }, de = { key: 2 }, ve = {
|
|
54
54
|
key: 1,
|
|
55
55
|
class: "tip-circle"
|
|
56
|
-
},
|
|
56
|
+
}, fe = /* @__PURE__ */ w({
|
|
57
57
|
__name: "Index",
|
|
58
58
|
props: {
|
|
59
59
|
modelValue: { default: 0 },
|
|
@@ -72,10 +72,15 @@ const Z = (n) => (q("data-v-06a92c45"), n = n(), G(), n), ee = {
|
|
|
72
72
|
singleTipPosition: { default: "" }
|
|
73
73
|
},
|
|
74
74
|
setup(n, { expose: v }) {
|
|
75
|
-
|
|
76
|
-
"
|
|
75
|
+
W((e) => ({
|
|
76
|
+
"3b922630": S.value
|
|
77
77
|
}));
|
|
78
|
-
const t = n
|
|
78
|
+
const t = n;
|
|
79
|
+
H({
|
|
80
|
+
success: import("@das-fed/ui/packages/icons/success"),
|
|
81
|
+
reload: import("@das-fed/ui/packages/icons/reload")
|
|
82
|
+
});
|
|
83
|
+
const y = a(() => t.textMap ?? [m("正在加载中..."), m("加载失败"), m("加载成功")]), u = a(() => t.tipType === "percentage" ? 100 : t.percentages), i = a(() => {
|
|
79
84
|
let e = t.modelValue;
|
|
80
85
|
return e < 0 && (e = 0), e > u.value && (e = u.value), e;
|
|
81
86
|
}), I = a(() => t.tipType === "percentage" ? i.value : i.value !== 0 ? Number(i.value / u.value) * 100 : 0), r = a(() => !t.status || t.status === "normal" ? u.value > 0 && i.value === u.value ? "success" : "normal" : t.status), z = a(() => {
|
|
@@ -88,9 +93,9 @@ const Z = (n) => (q("data-v-06a92c45"), n = n(), G(), n), ee = {
|
|
|
88
93
|
return t.showText;
|
|
89
94
|
if (t.type === "line") return !1;
|
|
90
95
|
if (t.type === "circle") return !0;
|
|
91
|
-
}), h = a(() =>
|
|
96
|
+
}), h = a(() => J(`--das-ui-progress-${r.value}`).value || ""), S = a(() => {
|
|
92
97
|
let e = "";
|
|
93
|
-
return r.value === "normal" ? e = "--das-ui-progress-percentage-tip" : e = `--das-ui-progress-${r.value}`,
|
|
98
|
+
return r.value === "normal" ? e = "--das-ui-progress-percentage-tip" : e = `--das-ui-progress-${r.value}`, K(e);
|
|
94
99
|
}), k = a(() => {
|
|
95
100
|
let e = 1;
|
|
96
101
|
return r.value === "normal" && (e = 0), r.value === "exception" && (e = 1), r.value === "success" && (e = 2), y.value[e];
|
|
@@ -103,8 +108,8 @@ const Z = (n) => (q("data-v-06a92c45"), n = n(), G(), n), ee = {
|
|
|
103
108
|
}), p = a(() => ["success", "exception"].includes(r.value) ? !1 : t.showProcessTip), f = a(() => t.showTextTip), T = F(null);
|
|
104
109
|
return v({
|
|
105
110
|
$progress: T
|
|
106
|
-
}), (e,
|
|
107
|
-
const
|
|
111
|
+
}), (e, he) => {
|
|
112
|
+
const A = D, L = N;
|
|
108
113
|
return s(), o("div", {
|
|
109
114
|
class: "das-ui-progress",
|
|
110
115
|
style: B({ display: e.type == "circle" ? "inline-block" : "block" })
|
|
@@ -113,7 +118,7 @@ const Z = (n) => (q("data-v-06a92c45"), n = n(), G(), n), ee = {
|
|
|
113
118
|
class: "percentage-graph",
|
|
114
119
|
style: B({ width: e.type == "circle" ? e.width + "px" : "100%" })
|
|
115
120
|
}, [
|
|
116
|
-
V(
|
|
121
|
+
V(L, R({
|
|
117
122
|
ref_key: "$progress",
|
|
118
123
|
ref: T,
|
|
119
124
|
class: {
|
|
@@ -128,24 +133,24 @@ const Z = (n) => (q("data-v-06a92c45"), n = n(), G(), n), ee = {
|
|
|
128
133
|
"show-text": E.value
|
|
129
134
|
}), {
|
|
130
135
|
default: b(({ percentage: x }) => [
|
|
131
|
-
|
|
136
|
+
O(e.$slots, "default", { percentage: x }, () => [
|
|
132
137
|
t.type === "circle" ? (s(), o(j, { key: 0 }, [
|
|
133
|
-
r.value === "normal" ? (s(), o("div",
|
|
134
|
-
e.tipType === "percentage" ? (s(), o("div",
|
|
135
|
-
d("span",
|
|
136
|
-
|
|
138
|
+
r.value === "normal" ? (s(), o("div", te, [
|
|
139
|
+
e.tipType === "percentage" ? (s(), o("div", se, [
|
|
140
|
+
d("span", re, c(x), 1),
|
|
141
|
+
oe
|
|
137
142
|
])) : l("", !0),
|
|
138
|
-
e.tipType === "score" ? (s(), o("div",
|
|
139
|
-
d("span",
|
|
143
|
+
e.tipType === "score" ? (s(), o("div", le, [
|
|
144
|
+
d("span", ae, c(i.value + "/" + u.value), 1)
|
|
140
145
|
])) : l("", !0)
|
|
141
|
-
])) : (s(), o("div",
|
|
142
|
-
V(
|
|
146
|
+
])) : (s(), o("div", ne, [
|
|
147
|
+
V(A, { size: 40 }, {
|
|
143
148
|
default: b(() => [
|
|
144
|
-
r.value === "success" ? (s(), _(g(
|
|
149
|
+
r.value === "success" ? (s(), _(g(Z), {
|
|
145
150
|
key: 0,
|
|
146
151
|
color: h.value
|
|
147
152
|
}, null, 8, ["color"])) : l("", !0),
|
|
148
|
-
r.value === "exception" ? (s(), _(g(
|
|
153
|
+
r.value === "exception" ? (s(), _(g(X), {
|
|
149
154
|
key: 1,
|
|
150
155
|
color: h.value
|
|
151
156
|
}, null, 8, ["color"])) : l("", !0)
|
|
@@ -162,8 +167,8 @@ const Z = (n) => (q("data-v-06a92c45"), n = n(), G(), n), ee = {
|
|
|
162
167
|
key: 0,
|
|
163
168
|
class: P(["line-icon", r.value])
|
|
164
169
|
}, [
|
|
165
|
-
e.tipType === "percentage" && e.showEndText && r.value === "normal" ? (s(), o("span",
|
|
166
|
-
e.tipType === "score" && e.showEndText && r.value === "normal" ? (s(), o("span",
|
|
170
|
+
e.tipType === "percentage" && e.showEndText && r.value === "normal" ? (s(), o("span", ue, c(i.value) + "%", 1)) : l("", !0),
|
|
171
|
+
e.tipType === "score" && e.showEndText && r.value === "normal" ? (s(), o("span", ie, c(i.value + "/" + u.value), 1)) : l("", !0),
|
|
167
172
|
r.value === "success" ? (s(), _(g(C), {
|
|
168
173
|
key: 2,
|
|
169
174
|
icon: "success",
|
|
@@ -182,20 +187,20 @@ const Z = (n) => (q("data-v-06a92c45"), n = n(), G(), n), ee = {
|
|
|
182
187
|
key: 0,
|
|
183
188
|
class: P(["tip-line", $.value])
|
|
184
189
|
}, [
|
|
185
|
-
f.value ? (s(), o("div",
|
|
186
|
-
e.tipType === "percentage" && p.value ? (s(), o("div",
|
|
187
|
-
e.tipType === "score" && p.value ? (s(), o("div",
|
|
190
|
+
f.value ? (s(), o("div", ce, c(k.value), 1)) : l("", !0),
|
|
191
|
+
e.tipType === "percentage" && p.value ? (s(), o("div", pe, c(i.value) + "%", 1)) : l("", !0),
|
|
192
|
+
e.tipType === "score" && p.value ? (s(), o("div", de, c(i.value + "/" + u.value), 1)) : l("", !0)
|
|
188
193
|
], 2)) : l("", !0),
|
|
189
|
-
t.type === "circle" ? (s(), o("div",
|
|
194
|
+
t.type === "circle" ? (s(), o("div", ve, c(k.value), 1)) : l("", !0)
|
|
190
195
|
], 4);
|
|
191
196
|
};
|
|
192
197
|
}
|
|
193
|
-
}),
|
|
198
|
+
}), _e = (n, v) => {
|
|
194
199
|
const t = n.__vccOpts || n;
|
|
195
200
|
for (const [y, u] of v)
|
|
196
201
|
t[y] = u;
|
|
197
202
|
return t;
|
|
198
|
-
},
|
|
203
|
+
}, ge = /* @__PURE__ */ _e(fe, [["__scopeId", "data-v-d46e563e"]]), ye = {
|
|
199
204
|
"--das-ui-progress-normal": "#5582F3",
|
|
200
205
|
"--das-ui-progress-success": "#1BA854",
|
|
201
206
|
"--das-ui-progress-exception": "#FB2323",
|
|
@@ -204,9 +209,9 @@ const Z = (n) => (q("data-v-06a92c45"), n = n(), G(), n), ee = {
|
|
|
204
209
|
"--das-ui-progress-loading-start": "#64abff",
|
|
205
210
|
"--das-ui-progress-loading-end": "#276ff5"
|
|
206
211
|
};
|
|
207
|
-
|
|
208
|
-
const
|
|
212
|
+
Q(ye);
|
|
213
|
+
const Ce = M(ge);
|
|
209
214
|
export {
|
|
210
|
-
|
|
211
|
-
|
|
215
|
+
Ce as DasProgress,
|
|
216
|
+
Ce as default
|
|
212
217
|
};
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.das-ui-progress[data-v-
|
|
1
|
+
@charset "UTF-8";.das-ui-progress[data-v-d46e563e] .el-progress-bar__outer{background-color:#e5e5e5}.das-ui-progress[data-v-d46e563e] svg path:first-child{stroke:#e5e5e5}.das-ui-progress .percentage-graph[data-v-d46e563e]{margin:0 auto;position:relative}.das-ui-progress .percentage-graph .line-icon[data-v-d46e563e]{position:absolute;top:50%;right:-9px;transform:translate(100%,-50%)}.das-ui-progress .percentage-graph .line-icon.normal[data-v-d46e563e]{display:flex;align-items:center}.das-ui-progress .percentage-graph .line-icon.normal .end-text[data-v-d46e563e]{font-family:Arial;font-size:16px;font-weight:400;line-height:1px;text-align:right;letter-spacing:0px;color:#212121}.das-ui-progress .percentage-color[data-v-d46e563e]{color:var(--das-ui-progress-percentage-text)}.das-ui-progress .percentage-value[data-v-d46e563e]{font-size:26px}.das-ui-progress .tip-line[data-v-d46e563e]{margin-top:12px;color:var(--das-ui-progress-percentage-text);display:flex;justify-content:space-between;font-family:Microsoft YaHei;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}.das-ui-progress .tip-line .line-left[data-v-d46e563e]{max-width:65%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.das-ui-progress .tip-line.center[data-v-d46e563e]{justify-content:center}.das-ui-progress .tip-line.left[data-v-d46e563e]{justify-content:flex-start}.das-ui-progress .tip-line.right[data-v-d46e563e]{justify-content:flex-end}.das-ui-progress .tip-circle[data-v-d46e563e]{font-size:16px;text-align:center;color:var(--3b922630);margin-top:2px}.das-ui-progress .showLoading[data-v-d46e563e] .el-progress-bar__inner{overflow:hidden}.das-ui-progress .showLoading[data-v-d46e563e] .el-progress-bar__inner:before{content:"";display:block;position:absolute;width:107px;height:100%;border-radius:4px;right:100%;background:linear-gradient(270deg,var(--das-ui-progress-loading-start) 34%,var(--das-ui-progress-loading-end) 100%);animation:loading-d46e563e 3s ease 0s infinite}@keyframes loading-d46e563e{0%{right:100%}80%{right:-107px}to{right:-107px}}
|
|
Binary file
|
|
@@ -129,7 +129,7 @@ const H = {
|
|
|
129
129
|
for (const [n, p] of c)
|
|
130
130
|
m[n] = p;
|
|
131
131
|
return m;
|
|
132
|
-
}, X = /* @__PURE__ */ W(V, [["__scopeId", "data-v-
|
|
132
|
+
}, X = /* @__PURE__ */ W(V, [["__scopeId", "data-v-5aa7c656"]]), le = A(X), oe = () => s(null);
|
|
133
133
|
export {
|
|
134
134
|
le as DasRadioTabs,
|
|
135
135
|
oe as DasRadioTabsRef,
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.das-ui-radio-tabs[data-v-
|
|
1
|
+
@charset "UTF-8";.das-ui-radio-tabs[data-v-5aa7c656]{position:relative}.das-ui-radio-tabs .dimension-box[data-v-5aa7c656]{display:flex;box-sizing:content-box;height:24px}.das-ui-radio-tabs .icon-left[data-v-5aa7c656]{left:-13px;height:24px;display:block;position:absolute;cursor:pointer;display:-moz-box;display:-webkit-box;-moz-box-align:center;-webkit-box-align:center;-moz-box-pack:center;-webkit-box-pack:center}.das-ui-radio-tabs .icon-right[data-v-5aa7c656]{right:-13px;height:24px;display:block;position:absolute;cursor:pointer;display:-moz-box;display:-webkit-box;-moz-box-align:center;-webkit-box-align:center;-moz-box-pack:center;-webkit-box-pack:center}.das-ui-radio-tabs .time-type-item-box[data-v-5aa7c656]{width:100%;display:flex}.das-ui-radio-tabs .time-type-item-box .time-type-item[data-v-5aa7c656]{flex:1;width:25%;font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;color:#666;border:1px solid #d9d9d9;border-left:none;text-align:center;padding:0 5px;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center}.das-ui-radio-tabs .time-type-item-box .time-type-item[data-v-5aa7c656]:hover:not(.tab_active){color:#5582f3}.das-ui-radio-tabs .time-type-item-box .time-type-item[data-v-5aa7c656]:last-child{border-radius:0 2px 2px 0}.das-ui-radio-tabs .time-type-item-box .time-type-item[data-v-5aa7c656]:first-child{border-radius:2px 0 0 2px;border-left:1px solid #d9d9d9}.das-ui-radio-tabs .time-type-item-box .time-type-item:first-child.tab_active[data-v-5aa7c656]{border-color:#5582f3}.das-ui-radio-tabs .time-type-item-box .tab_active[data-v-5aa7c656]{background-color:#5582f3;border-color:#5582f3;color:#fff}
|
|
Binary file
|