@das-fed/ui 6.4.0-dev.75 → 6.4.0-dev.77
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/esm-map.json +2 -1
- package/package.json +5 -5
- package/packages/business-components/device-panel/i18n/index.d.ts +24 -0
- package/packages/business-components/device-panel/index.js +16065 -14612
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/device-panel/src/apis.d.ts +2 -0
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/dataTrends/components/attribute.vue.d.ts +2 -0
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/dataTrends/components/barChart.vue.d.ts +5 -0
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/dataTrends/components/lineChart.vue.d.ts +5 -0
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/dataTrends/index.vue.d.ts +11 -0
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/hooks/use-data-Trends.d.ts +7 -0
- package/packages/business-components/device-panel/src/components/devicePanelModal/dataTrends/components/attribute.vue.d.ts +2 -0
- package/packages/business-components/device-panel/src/components/devicePanelModal/dataTrends/components/barChart.vue.d.ts +5 -0
- package/packages/business-components/device-panel/src/components/devicePanelModal/dataTrends/components/lineChart.vue.d.ts +5 -0
- package/packages/business-components/device-panel/src/components/devicePanelModal/dataTrends/index.vue.d.ts +11 -0
- package/packages/business-components/device-panel/src/components/devicePanelModal/hooks/use-data-Trends.d.ts +7 -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/import-button/index.js +74 -74
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/import-button/style.css +1 -1
- package/packages/business-components/model-table-dialog/src/ModelTable.vue.d.ts +9 -6
- package/packages/business-components/payment/index.d.ts +5 -1
- package/packages/business-components/payment/index.js +93 -90
- package/packages/business-components/payment/index.js.gz +0 -0
- package/packages/business-components/payment/style.css +1 -1
- package/packages/components/autocomplete/src/index.vue.d.ts +12 -7
- package/packages/components/checkbox/index.js +2 -2
- package/packages/components/checkbox/index.js.gz +0 -0
- package/packages/components/checkbox/style.css +1 -1
- package/packages/components/checkbox/style.css.gz +0 -0
- package/packages/components/select/index.js +257 -246
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select/style.css +1 -1
- package/packages/components/select/style.css.gz +0 -0
- package/packages/components/tree/index.js +698 -701
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree/src/App.vue.d.ts +8 -7
- package/packages/components/tree/src/hooks/use-lazy-tree.d.ts +2 -2
- package/packages/components/tree/src/type.d.ts +7 -4
- package/packages/components/tree-select/src/App.vue.d.ts +18 -12
- package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +18 -12
- package/packages/components/tree-v2/i18n/index.d.ts +5 -0
- package/packages/components/tree-v2/index.js +150 -149
- package/packages/components/tree-v2/index.js.gz +0 -0
|
Binary file
|
|
@@ -3,8 +3,8 @@ import { withInstall as fe } from "@das-fed/utils/with-install/index";
|
|
|
3
3
|
import { ref as k, defineComponent as ge, computed as ve, watch as he, openBlock as Ce, createElementBlock as we, createElementVNode as q, unref as o, renderSlot as re, createVNode as D, withCtx as L, createTextVNode as Y, toDisplayString as H, createCommentVNode as le, isRef as Q } from "vue";
|
|
4
4
|
import { t as p, currentLang as xe, i18n as j, setI18nRule as ke } from "@das-fed/web/packages/i18n/index";
|
|
5
5
|
import { DasDialog as se } from "@das-fed/ui/packages/components/dialog/index";
|
|
6
|
-
import { DasUpload as
|
|
7
|
-
import { DasProgress as
|
|
6
|
+
import { DasUpload as be } from "@das-fed/ui/packages/components/upload/index";
|
|
7
|
+
import { DasProgress as ye } from "@das-fed/ui/packages/components/progress/index";
|
|
8
8
|
import { DasButton as W } from "@das-fed/ui/packages/components/button/index";
|
|
9
9
|
import { iotMinio as ae, iotProgress as Ne } from "@das-fed/utils/api-services/modules/iot";
|
|
10
10
|
import { DasMessage as U } from "@das-fed/ui/packages/components/message/index";
|
|
@@ -22,13 +22,13 @@ let te = (e = 21) => {
|
|
|
22
22
|
return m;
|
|
23
23
|
};
|
|
24
24
|
const _e = ae.get("token"), Ie = ae.post("put-object", (e) => (e.headers || (e.headers = {}), e.headers["Content-Type"] = "multipart/form-data", e.responseType = "blob", e)), $e = ae.post("upload-objects", (e) => (e.headers || (e.headers = {}), e.headers["Content-Type"] = "multipart/form-data", e.responseType = "blob", e)), Se = Ne.get("progress"), Pe = (e) => {
|
|
25
|
-
let m = k(!1), u = k(!1), l = k(""), w = k(0), n = k("normal"), v = k(!1),
|
|
25
|
+
let m = k(!1), u = k(!1), l = k(""), w = k(0), n = k("normal"), v = k(!1), b, N = k(""), I = k(""), $ = k(""), z = k(""), S = k(!1), M = k(""), F = "", _ = k(""), P;
|
|
26
26
|
const E = () => {
|
|
27
27
|
I.value = "", $.value = "", z.value = "", S.value = !1, M.value = "";
|
|
28
|
-
},
|
|
28
|
+
}, y = async () => {
|
|
29
29
|
const [r, s] = await _e().run();
|
|
30
30
|
return r ? { stauts: !1 } : { status: !0, data: s };
|
|
31
|
-
}, B = (r) => new Promise((s,
|
|
31
|
+
}, B = (r) => new Promise((s, d) => {
|
|
32
32
|
const i = [];
|
|
33
33
|
let t = 0;
|
|
34
34
|
for (; t < r.size; ) {
|
|
@@ -37,11 +37,11 @@ const _e = ae.get("token"), Ie = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
37
37
|
}
|
|
38
38
|
const c = new Blob(i, { type: r.type });
|
|
39
39
|
s(c);
|
|
40
|
-
}), A = async (r, s,
|
|
40
|
+
}), A = async (r, s, d, a = !1, i = !0, t = "") => {
|
|
41
41
|
F = t, _.value = "import", i && (n.value = "normal", w.value = 0, l.value = p("导入进度"), u.value = !0, N.value = ""), P = s;
|
|
42
|
-
const c = await
|
|
42
|
+
const c = await y();
|
|
43
43
|
if (!c.status) return;
|
|
44
|
-
let C = c.data, x = null, { autoContentType: K, bucketName: V, importFileName: J } =
|
|
44
|
+
let C = c.data, x = null, { autoContentType: K, bucketName: V, importFileName: J } = d;
|
|
45
45
|
const pe = a ? $e : Ie;
|
|
46
46
|
if (a) {
|
|
47
47
|
let X = [];
|
|
@@ -82,28 +82,28 @@ const _e = ae.get("token"), Ie = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
82
82
|
repeatNum: 1
|
|
83
83
|
});
|
|
84
84
|
}
|
|
85
|
-
}, R = async (r, s = "",
|
|
86
|
-
n.value = "normal", w.value = 0, l.value =
|
|
85
|
+
}, R = async (r, s = "", d = "") => {
|
|
86
|
+
n.value = "normal", w.value = 0, l.value = d || p("导出进度"), u.value = !0;
|
|
87
87
|
const a = await (r == null ? void 0 : r());
|
|
88
88
|
if (!a.status) {
|
|
89
89
|
u.value = !1, n.value = "error";
|
|
90
90
|
return;
|
|
91
91
|
}
|
|
92
92
|
T(a.taskId, "action", "");
|
|
93
|
-
}, O = async (r, s = "",
|
|
93
|
+
}, O = async (r, s = "", d = "xlsx") => {
|
|
94
94
|
_.value = "export", n.value = "normal", w.value = 0, l.value = p("导出进度"), u.value = !0;
|
|
95
95
|
const a = await (r == null ? void 0 : r());
|
|
96
96
|
if (!a.status) {
|
|
97
97
|
u.value = !1, n.value = "error";
|
|
98
98
|
return;
|
|
99
99
|
}
|
|
100
|
-
ze().format("YYYYMMDDHHmmss") + "", T(a.taskId, "export", s || "",
|
|
101
|
-
}, T = async (r, s,
|
|
102
|
-
v.value = !0,
|
|
100
|
+
ze().format("YYYYMMDDHHmmss") + "", T(a.taskId, "export", s || "", d);
|
|
101
|
+
}, T = async (r, s, d, a = "") => {
|
|
102
|
+
v.value = !0, g(r, s, d, a), b = setTimeout(() => {
|
|
103
103
|
}, 50);
|
|
104
|
-
},
|
|
105
|
-
clearTimeout(
|
|
106
|
-
},
|
|
104
|
+
}, f = () => {
|
|
105
|
+
clearTimeout(b), b = null, u.value = !1;
|
|
106
|
+
}, g = async (r, s = "export", d, a = "") => {
|
|
107
107
|
var C, x;
|
|
108
108
|
const [i, t] = await Se("", {
|
|
109
109
|
url: `progress/${r}`
|
|
@@ -115,8 +115,8 @@ const _e = ae.get("token"), Ie = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
115
115
|
w.value = t.percentage;
|
|
116
116
|
const c = s == "export" ? p("导出") : p("导入");
|
|
117
117
|
if (w.value == 100)
|
|
118
|
-
if (N.value = t, v.value = !1,
|
|
119
|
-
t.status == 1 ? (n.value = "success", ue(`${ne().baseURL}/oss${t.filePath}`,
|
|
118
|
+
if (N.value = t, v.value = !1, f(), s == "export")
|
|
119
|
+
t.status == 1 ? (n.value = "success", ue(`${ne().baseURL}/oss${t.filePath}`, d, a), v.value = !1) : t.status == 2 && (z.value = t.message || `${c}${p("失败")}`, U.error({
|
|
120
120
|
message: t.message || `${c}${p("失败")}`,
|
|
121
121
|
grouping: !0,
|
|
122
122
|
repeatNum: 1
|
|
@@ -133,16 +133,16 @@ const _e = ae.get("token"), Ie = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
133
133
|
h(t.status, c, t.message), t.status == 1 && (m.value = !1), e("success");
|
|
134
134
|
} else s == "action" && (n.value = "success");
|
|
135
135
|
else
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
}, 50) : (N.value = t, v.value = !1, h(t.status, c, t.message),
|
|
139
|
-
}, h = (r, s,
|
|
136
|
+
b && t.status != 2 ? b = setTimeout(() => {
|
|
137
|
+
g(r, s, d, a);
|
|
138
|
+
}, 50) : (N.value = t, v.value = !1, h(t.status, c, t.message), f(), S.value = !0, z.value = (t == null ? void 0 : t.message) || "", e("error", t));
|
|
139
|
+
}, h = (r, s, d) => {
|
|
140
140
|
r == 1 ? (n.value = "success", U.success({
|
|
141
141
|
message: p("business-components_export-success-tip", s),
|
|
142
142
|
grouping: !0,
|
|
143
143
|
repeatNum: 1
|
|
144
144
|
}), I.value = "", $.value = "", z.value = "") : r == 2 ? (n.value = "error", U.error({
|
|
145
|
-
message: p("business-components_export-failure-tip", s),
|
|
145
|
+
message: d || p("business-components_export-failure-tip", s),
|
|
146
146
|
grouping: !0,
|
|
147
147
|
repeatNum: 1
|
|
148
148
|
})) : r == 3 && (n.value = "error", U.error({
|
|
@@ -169,13 +169,13 @@ const _e = ae.get("token"), Ie = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
169
169
|
fileExport: O,
|
|
170
170
|
fileAction: R,
|
|
171
171
|
generateUniqueName: (r) => {
|
|
172
|
-
const s = r == null ? void 0 : r.match(/(.*?)(\.[^.]*$|$)/),
|
|
173
|
-
return `${s.length ? s[1] : r}${te()}${
|
|
172
|
+
const s = r == null ? void 0 : r.match(/(.*?)(\.[^.]*$|$)/), d = s.length ? s[2] : "";
|
|
173
|
+
return `${s.length ? s[1] : r}${te()}${d}`;
|
|
174
174
|
},
|
|
175
175
|
downloadFile: ue,
|
|
176
176
|
resetStataus: E,
|
|
177
177
|
checkProgress: T,
|
|
178
|
-
clearTimer:
|
|
178
|
+
clearTimer: f
|
|
179
179
|
};
|
|
180
180
|
}, De = (e) => {
|
|
181
181
|
let m = e == null ? void 0 : e.toLocaleLowerCase();
|
|
@@ -215,8 +215,8 @@ const _e = ae.get("token"), Ie = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
215
215
|
if (window.navigator.msSaveOrOpenBlob)
|
|
216
216
|
navigator.msSaveBlob(n, m);
|
|
217
217
|
else {
|
|
218
|
-
const
|
|
219
|
-
|
|
218
|
+
const b = document.createElement("a");
|
|
219
|
+
b.href = v, b.download = m, b.click(), window.URL.revokeObjectURL(v);
|
|
220
220
|
}
|
|
221
221
|
}, l.send();
|
|
222
222
|
}, Ue = (e) => new Promise((m, u) => {
|
|
@@ -226,14 +226,14 @@ const _e = ae.get("token"), Ie = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
226
226
|
typeof l.result == "string" && (n = JSON.parse(l.result)), m(n);
|
|
227
227
|
}, l.readAsText(e);
|
|
228
228
|
}), Me = (e, m) => {
|
|
229
|
-
var
|
|
229
|
+
var d;
|
|
230
230
|
const {
|
|
231
231
|
importDialog: u,
|
|
232
232
|
showProgressDialog: l,
|
|
233
233
|
progressTitle: w,
|
|
234
234
|
percent: n,
|
|
235
235
|
progressStatus: v,
|
|
236
|
-
progressLoading:
|
|
236
|
+
progressLoading: b,
|
|
237
237
|
errorFileName: N,
|
|
238
238
|
errorFileSize: I,
|
|
239
239
|
errorMessage: $,
|
|
@@ -245,16 +245,16 @@ const _e = ae.get("token"), Ie = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
245
245
|
downloadFile: P,
|
|
246
246
|
clearTimer: E
|
|
247
247
|
} = Pe(m);
|
|
248
|
-
let
|
|
248
|
+
let y = k([]), B = (d = Fe()) == null ? void 0 : d.tenantId;
|
|
249
249
|
const A = () => {
|
|
250
|
-
|
|
250
|
+
y.value = [], z.value = !1, N.value = "", I.value = "", $.value = "", u.value = !0, S.value = "", m("open");
|
|
251
251
|
};
|
|
252
252
|
let R;
|
|
253
253
|
const O = (a) => {
|
|
254
254
|
const i = e.fileType.split(","), t = a.name.substring(a.name.lastIndexOf(".")), c = T(a.sizeText), C = T(e.fileMaxSize);
|
|
255
255
|
if (!i.includes(t)) {
|
|
256
256
|
U.warning(p("文件格式错误,请重新上传!")), setTimeout(() => {
|
|
257
|
-
|
|
257
|
+
y.value = [];
|
|
258
258
|
});
|
|
259
259
|
return;
|
|
260
260
|
}
|
|
@@ -262,7 +262,7 @@ const _e = ae.get("token"), Ie = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
262
262
|
U.warning(
|
|
263
263
|
`${p("文件大小不超过")}${xe.value === "zh-CN" ? e.fileMaxSize : " " + e.fileMaxSize}`
|
|
264
264
|
), setTimeout(() => {
|
|
265
|
-
|
|
265
|
+
y.value = [];
|
|
266
266
|
});
|
|
267
267
|
return;
|
|
268
268
|
}
|
|
@@ -270,7 +270,7 @@ const _e = ae.get("token"), Ie = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
270
270
|
}, T = (a) => {
|
|
271
271
|
let i = a.match(/\d+(\.\d+)?/)[0], t = a.match(/[a-zA-z]+/gi)[0], c = 0;
|
|
272
272
|
return i = parseFloat(i), t = t.toLowerCase(), t === "gb" || t === "g" ? c = (i * 1024 * 1024 * 1024).toFixed(2) : t === "mb" || t === "m" ? c = (i * 1024 * 1024).toFixed(2) : t === "kb" || t === "k" ? c = (i * 1024).toFixed(2) : t === "b" && (c = i), parseFloat(c);
|
|
273
|
-
},
|
|
273
|
+
}, f = async (a) => {
|
|
274
274
|
const i = a.value.split("/");
|
|
275
275
|
let t = te();
|
|
276
276
|
const c = {
|
|
@@ -280,15 +280,15 @@ const _e = ae.get("token"), Ie = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
280
280
|
...e.importParams
|
|
281
281
|
}, C = e.importParamsPosition === "params" ? e.importFun("", { params: c }) : e.importFun(c), [x, K] = await C.run();
|
|
282
282
|
return x ? { status: !1 } : { status: !0, taskId: t };
|
|
283
|
-
},
|
|
284
|
-
if (!
|
|
283
|
+
}, g = async () => {
|
|
284
|
+
if (!y.value.length) return U.warning(p("请上传文件"));
|
|
285
285
|
const a = {
|
|
286
|
-
bucketName: e.bucketName,
|
|
286
|
+
bucketName: e.bucketName ? e.bucketName : "business",
|
|
287
287
|
importFileName: `${B}/${e.ossName}/${R}`
|
|
288
288
|
};
|
|
289
|
-
e.maxCount > 1 && (a.importFileName =
|
|
290
|
-
const i = e.maxCount > 1, t = e.maxCount > 1 ?
|
|
291
|
-
await F(
|
|
289
|
+
e.maxCount > 1 && (a.importFileName = y.value.map((c) => c.name));
|
|
290
|
+
const i = e.maxCount > 1, t = e.maxCount > 1 ? y.value : y.value[0];
|
|
291
|
+
await F(f, t, a, i);
|
|
292
292
|
}, h = () => {
|
|
293
293
|
P(S.value, N.value);
|
|
294
294
|
}, oe = () => {
|
|
@@ -303,16 +303,16 @@ const _e = ae.get("token"), Ie = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
303
303
|
progressTitle: w,
|
|
304
304
|
percent: n,
|
|
305
305
|
progressStatus: v,
|
|
306
|
-
progressLoading:
|
|
306
|
+
progressLoading: b,
|
|
307
307
|
errorFileName: N,
|
|
308
308
|
errorFileSize: I,
|
|
309
309
|
errorMessage: $,
|
|
310
310
|
errorImport: z,
|
|
311
311
|
importDialog: u,
|
|
312
|
-
fileList:
|
|
312
|
+
fileList: y,
|
|
313
313
|
fileHandleType: M,
|
|
314
314
|
showImportHandle: A,
|
|
315
|
-
confirmImport:
|
|
315
|
+
confirmImport: g,
|
|
316
316
|
fileUpload: O,
|
|
317
317
|
errorFileDownload: h,
|
|
318
318
|
downTemplate: async () => {
|
|
@@ -351,7 +351,7 @@ const _e = ae.get("token"), Ie = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
351
351
|
importDialogName: { default: "导入" },
|
|
352
352
|
confirmButtonName: { default: "确定导入" },
|
|
353
353
|
openDisabled: { type: Boolean, default: !0 },
|
|
354
|
-
bucketName: { default: "
|
|
354
|
+
bucketName: { default: "business" },
|
|
355
355
|
maxCount: { default: 1 },
|
|
356
356
|
multiple: { type: Boolean, default: !1 }
|
|
357
357
|
},
|
|
@@ -359,7 +359,7 @@ const _e = ae.get("token"), Ie = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
359
359
|
setup(e, { expose: m, emit: u }) {
|
|
360
360
|
const l = e, w = u, n = ve(() => l.btnText ? l.btnText : p("导入")), {
|
|
361
361
|
showProgressDialog: v,
|
|
362
|
-
progressTitle:
|
|
362
|
+
progressTitle: b,
|
|
363
363
|
percent: N,
|
|
364
364
|
progressStatus: I,
|
|
365
365
|
errorFileName: $,
|
|
@@ -370,24 +370,24 @@ const _e = ae.get("token"), Ie = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
370
370
|
fileList: _,
|
|
371
371
|
fileHandleType: P,
|
|
372
372
|
showImportHandle: E,
|
|
373
|
-
confirmImport:
|
|
373
|
+
confirmImport: y,
|
|
374
374
|
fileUpload: B,
|
|
375
375
|
errorFileDownload: A,
|
|
376
376
|
downTemplate: R,
|
|
377
377
|
clearTimer: O
|
|
378
378
|
} = Me(l, w);
|
|
379
379
|
let T;
|
|
380
|
-
return he(P, (
|
|
381
|
-
|
|
380
|
+
return he(P, (f) => {
|
|
381
|
+
f.includes("import") ? T = [p("正在导入中..."), p("导入失败"), p("导入成功")] : T = [p("正在导出中..."), p("导出失败"), p("导出成功")];
|
|
382
382
|
}), m({
|
|
383
|
-
confirmImport:
|
|
383
|
+
confirmImport: y,
|
|
384
384
|
showImportHandle: E
|
|
385
|
-
}), (
|
|
385
|
+
}), (f, g) => (Ce(), we("div", Ee, [
|
|
386
386
|
q("div", {
|
|
387
|
-
onClick:
|
|
387
|
+
onClick: g[0] || (g[0] = //@ts-ignore
|
|
388
388
|
(...h) => o(E) && o(E)(...h))
|
|
389
389
|
}, [
|
|
390
|
-
re(
|
|
390
|
+
re(f.$slots, "default", {}, () => [
|
|
391
391
|
D(o(W), {
|
|
392
392
|
size: "middle",
|
|
393
393
|
"btn-type": "primary"
|
|
@@ -406,9 +406,9 @@ const _e = ae.get("token"), Ie = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
406
406
|
]),
|
|
407
407
|
le(" 导入弹窗 "),
|
|
408
408
|
D(o(se), {
|
|
409
|
-
title: o(j)(
|
|
409
|
+
title: o(j)(f.importDialogName).value,
|
|
410
410
|
modelValue: o(F),
|
|
411
|
-
"onUpdate:modelValue":
|
|
411
|
+
"onUpdate:modelValue": g[3] || (g[3] = (h) => Q(F) ? F.value = h : null),
|
|
412
412
|
customClass: "upload-dialog",
|
|
413
413
|
width: "610px",
|
|
414
414
|
height: "500px"
|
|
@@ -417,7 +417,7 @@ const _e = ae.get("token"), Ie = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
417
417
|
q("div", null, [
|
|
418
418
|
D(o(W), {
|
|
419
419
|
size: "middle",
|
|
420
|
-
onClick:
|
|
420
|
+
onClick: g[2] || (g[2] = (h) => F.value = !1)
|
|
421
421
|
}, {
|
|
422
422
|
default: L(() => [
|
|
423
423
|
Y(
|
|
@@ -432,13 +432,13 @@ const _e = ae.get("token"), Ie = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
432
432
|
D(o(W), {
|
|
433
433
|
size: "middle",
|
|
434
434
|
"btn-type": "primary",
|
|
435
|
-
disabled:
|
|
435
|
+
disabled: f.openDisabled && o(_).length === 0,
|
|
436
436
|
style: { "margin-left": "12px", width: "100%" },
|
|
437
|
-
onClick: o(
|
|
437
|
+
onClick: o(y)
|
|
438
438
|
}, {
|
|
439
439
|
default: L(() => [
|
|
440
440
|
Y(
|
|
441
|
-
H(o(j)(`${
|
|
441
|
+
H(o(j)(`${f.confirmButtonName}`).value),
|
|
442
442
|
1
|
|
443
443
|
/* TEXT */
|
|
444
444
|
)
|
|
@@ -449,7 +449,7 @@ const _e = ae.get("token"), Ie = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
449
449
|
])
|
|
450
450
|
]),
|
|
451
451
|
default: L(() => [
|
|
452
|
-
re(
|
|
452
|
+
re(f.$slots, "tip", {}, () => [
|
|
453
453
|
q("div", Le, [
|
|
454
454
|
q("div", je, [
|
|
455
455
|
Y(
|
|
@@ -465,7 +465,7 @@ const _e = ae.get("token"), Ie = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
465
465
|
}, {
|
|
466
466
|
default: L(() => [
|
|
467
467
|
Y(
|
|
468
|
-
H(o(j)(`${
|
|
468
|
+
H(o(j)(`${f.templateName}`).value),
|
|
469
469
|
1
|
|
470
470
|
/* TEXT */
|
|
471
471
|
)
|
|
@@ -483,16 +483,16 @@ const _e = ae.get("token"), Ie = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
483
483
|
)
|
|
484
484
|
])
|
|
485
485
|
], !0),
|
|
486
|
-
D(o(
|
|
486
|
+
D(o(be), {
|
|
487
487
|
modelValue: o(_),
|
|
488
|
-
"onUpdate:modelValue":
|
|
488
|
+
"onUpdate:modelValue": g[1] || (g[1] = (h) => Q(_) ? _.value = h : null),
|
|
489
489
|
error: o(M),
|
|
490
490
|
"error-file-name": o($),
|
|
491
491
|
"error-file-size": o(z),
|
|
492
492
|
"error-message": o(S),
|
|
493
|
-
accept:
|
|
494
|
-
maxCount:
|
|
495
|
-
multiple:
|
|
493
|
+
accept: f.fileType,
|
|
494
|
+
maxCount: f.maxCount,
|
|
495
|
+
multiple: f.multiple,
|
|
496
496
|
onErrorFileDownload: o(A),
|
|
497
497
|
onFileUpload: o(B)
|
|
498
498
|
}, null, 8, ["modelValue", "error", "error-file-name", "error-file-size", "error-message", "accept", "maxCount", "multiple", "onErrorFileDownload", "onFileUpload"])
|
|
@@ -503,17 +503,17 @@ const _e = ae.get("token"), Ie = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
503
503
|
le(" 进度弹窗 "),
|
|
504
504
|
D(o(se), {
|
|
505
505
|
size: "mini",
|
|
506
|
-
title: o(j)(o(
|
|
506
|
+
title: o(j)(o(b)).value,
|
|
507
507
|
"is-feedback-img": !1,
|
|
508
508
|
modelValue: o(v),
|
|
509
|
-
"onUpdate:modelValue":
|
|
509
|
+
"onUpdate:modelValue": g[5] || (g[5] = (h) => Q(v) ? v.value = h : null),
|
|
510
510
|
type: "feedback",
|
|
511
511
|
onClose: o(O)
|
|
512
512
|
}, {
|
|
513
513
|
default: L(() => [
|
|
514
|
-
D(o(
|
|
514
|
+
D(o(ye), {
|
|
515
515
|
modelValue: o(N),
|
|
516
|
-
"onUpdate:modelValue":
|
|
516
|
+
"onUpdate:modelValue": g[4] || (g[4] = (h) => Q(N) ? N.value = h : null),
|
|
517
517
|
style: { "margin-top": "35px" },
|
|
518
518
|
type: "circle",
|
|
519
519
|
status: o(I),
|
|
@@ -530,11 +530,11 @@ const _e = ae.get("token"), Ie = ae.post("put-object", (e) => (e.headers || (e.h
|
|
|
530
530
|
for (const [l, w] of m)
|
|
531
531
|
u[l] = w;
|
|
532
532
|
return u;
|
|
533
|
-
}, He = /* @__PURE__ */ Ve(Re, [["__scopeId", "data-v-
|
|
534
|
-
"1、点击下载 ": { "zh-CN": "1、点击下载 ", en: "1
|
|
533
|
+
}, He = /* @__PURE__ */ Ve(Re, [["__scopeId", "data-v-95260c00"]]), Ae = {
|
|
534
|
+
"1、点击下载 ": { "zh-CN": "1、点击下载 ", en: "1.Click to Download ", _appCode: "framework" },
|
|
535
535
|
"2、仅支持上传Excel文件,重复数据以最后一条为准": {
|
|
536
536
|
"zh-CN": "2、仅支持上传Excel文件,重复数据以最后一条为准",
|
|
537
|
-
en: "2
|
|
537
|
+
en: "2.Only support uploading excel files,duplicate data is subject to the last entry",
|
|
538
538
|
_appCode: "framework"
|
|
539
539
|
},
|
|
540
540
|
文件: { "zh-CN": "文件", en: "File", _appCode: "framework" },
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.das-import-button[data-v-
|
|
1
|
+
.das-import-button[data-v-95260c00]{display:inline-block}.das-import-button .upload-dialog .second-line[data-v-95260c00]{margin-bottom:20px}.das-import-button .upload-dialog .tips[data-v-95260c00]{font-size:16px}
|
|
@@ -30,7 +30,8 @@ declare function __VLS_template(): {
|
|
|
30
30
|
readonly expandOnClickNode?: boolean | undefined;
|
|
31
31
|
readonly checkStrictly?: boolean | undefined;
|
|
32
32
|
readonly parentLinkChildrenStrictly?: boolean | undefined;
|
|
33
|
-
readonly
|
|
33
|
+
readonly dataLinkView?: boolean | undefined;
|
|
34
|
+
readonly getGrandChildren?: ((data?: any) => Promise<any[]>) | undefined;
|
|
34
35
|
readonly childLinkParentStrictly?: boolean | undefined;
|
|
35
36
|
readonly props?: import("../../../components/tree/src/type").TreeOptionProps | undefined;
|
|
36
37
|
readonly showCheckbox?: boolean | undefined;
|
|
@@ -58,8 +59,8 @@ declare function __VLS_template(): {
|
|
|
58
59
|
readonly emptyText?: string | undefined;
|
|
59
60
|
readonly searchEmptyText?: string | undefined;
|
|
60
61
|
readonly rootNodeId?: string | undefined;
|
|
61
|
-
readonly load?: ((data: any, level: number) => Promise<any
|
|
62
|
-
readonly search?: ((text: string) => Promise<any>) | undefined;
|
|
62
|
+
readonly load?: ((data: any, level: number) => Promise<Record<any, any>>) | undefined;
|
|
63
|
+
readonly search?: ((text: string) => Promise<any[]>) | undefined;
|
|
63
64
|
readonly renderDom?: boolean | undefined;
|
|
64
65
|
readonly overlayZIndex?: string | undefined;
|
|
65
66
|
readonly keepSelected?: boolean | undefined;
|
|
@@ -1581,7 +1582,7 @@ declare function __VLS_template(): {
|
|
|
1581
1582
|
lazyDataNextTick: (val: string | string[]) => Promise<unknown>;
|
|
1582
1583
|
filterSeach: () => void;
|
|
1583
1584
|
handleSearch: () => Promise<void>;
|
|
1584
|
-
getGrandChildrenFn: (data: any) => Promise<any>;
|
|
1585
|
+
getGrandChildrenFn: (data: any) => Promise<any[]>;
|
|
1585
1586
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1586
1587
|
[x: string]: any;
|
|
1587
1588
|
} & {
|
|
@@ -1597,6 +1598,7 @@ declare function __VLS_template(): {
|
|
|
1597
1598
|
defaultExpandRoot: boolean;
|
|
1598
1599
|
expandOnClickNode: boolean;
|
|
1599
1600
|
checkStrictly: boolean;
|
|
1601
|
+
dataLinkView: boolean;
|
|
1600
1602
|
operationsLayout: string | ((node: any, data: any) => string);
|
|
1601
1603
|
maxNodeLevel: number | string;
|
|
1602
1604
|
showFilterInput: boolean;
|
|
@@ -1637,6 +1639,7 @@ declare function __VLS_template(): {
|
|
|
1637
1639
|
defaultExpandRoot: boolean;
|
|
1638
1640
|
expandOnClickNode: boolean;
|
|
1639
1641
|
checkStrictly: boolean;
|
|
1642
|
+
dataLinkView: boolean;
|
|
1640
1643
|
operationsLayout: string | ((node: any, data: any) => string);
|
|
1641
1644
|
maxNodeLevel: number | string;
|
|
1642
1645
|
showFilterInput: boolean;
|
|
@@ -1648,7 +1651,7 @@ declare function __VLS_template(): {
|
|
|
1648
1651
|
overlayZIndex: string;
|
|
1649
1652
|
}> & Omit<Readonly<import("../../../components/tree/src/type").Props> & Readonly<{
|
|
1650
1653
|
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
|
1651
|
-
}>, "findSelectableParentNode" | "filterSeach" | "handleSearch" | "treeRef" | "treeIsEmpty" | "childLinkParent" | "parentLinkChild" | "resetLazyLoad" | "autoExpand" | "searchClear" | "lazyData" | "lazyDataNextTick" | "getGrandChildrenFn" | ("props" | "data" | "modelValue" | "nodeKey" | "currentNodeKey" | "defaultExpandedKeys" | "defaultExpandedPaths" | "defaultExpandRoot" | "expandOnClickNode" | "checkStrictly" | "operationsLayout" | "maxNodeLevel" | "showFilterInput" | "inputOptions" | "emptyText" | "searchEmptyText" | "rootNodeId" | "renderDom" | "overlayZIndex")> & import("vue").ShallowUnwrapRef<{
|
|
1654
|
+
}>, "findSelectableParentNode" | "filterSeach" | "handleSearch" | "treeRef" | "treeIsEmpty" | "childLinkParent" | "parentLinkChild" | "resetLazyLoad" | "autoExpand" | "searchClear" | "lazyData" | "lazyDataNextTick" | "getGrandChildrenFn" | ("props" | "data" | "modelValue" | "nodeKey" | "currentNodeKey" | "defaultExpandedKeys" | "defaultExpandedPaths" | "defaultExpandRoot" | "expandOnClickNode" | "checkStrictly" | "dataLinkView" | "operationsLayout" | "maxNodeLevel" | "showFilterInput" | "inputOptions" | "emptyText" | "searchEmptyText" | "rootNodeId" | "renderDom" | "overlayZIndex")> & import("vue").ShallowUnwrapRef<{
|
|
1652
1655
|
treeRef: import("vue").Ref<import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
1653
1656
|
data: {
|
|
1654
1657
|
type: ArrayConstructor;
|
|
@@ -3147,7 +3150,7 @@ declare function __VLS_template(): {
|
|
|
3147
3150
|
lazyDataNextTick: (val: string | string[]) => Promise<unknown>;
|
|
3148
3151
|
filterSeach: () => void;
|
|
3149
3152
|
handleSearch: () => Promise<void>;
|
|
3150
|
-
getGrandChildrenFn: (data: any) => Promise<any>;
|
|
3153
|
+
getGrandChildrenFn: (data: any) => Promise<any[]>;
|
|
3151
3154
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
3152
3155
|
$slots: {
|
|
3153
3156
|
prefix?(_: {}): any;
|
|
@@ -45,7 +45,11 @@ declare enum PayStatusCode {
|
|
|
45
45
|
CLOSED = 66,
|
|
46
46
|
REFUND = 67
|
|
47
47
|
}
|
|
48
|
-
|
|
48
|
+
declare const payAppid: {
|
|
49
|
+
wechat: string;
|
|
50
|
+
alipay: string;
|
|
51
|
+
};
|
|
52
|
+
export { DasPaymentRef, DasPayment, ProviderMenu, PayStatusCode, payAppid };
|
|
49
53
|
declare const _default: {
|
|
50
54
|
name: string;
|
|
51
55
|
};
|