@das-fed/ui 6.4.0-test.7.1 → 6.4.0-test.8.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/esm-map.json +7 -1
- package/package.json +6 -7
- package/packages/business-components/area-phone-select/i18n/index.d.ts +7 -0
- package/packages/business-components/area-phone-select/index.d.ts +1368 -0
- package/packages/business-components/area-phone-select/index.js +265 -0
- package/packages/business-components/area-phone-select/index.js.gz +0 -0
- package/packages/business-components/area-phone-select/src/Index.vue.d.ts +15 -0
- package/packages/business-components/area-phone-select/src/apis.d.ts +2 -0
- package/packages/business-components/area-phone-select/src/area-popover/index.vue.d.ts +179 -0
- package/packages/business-components/area-phone-select/src/area-popover/type.d.ts +37 -0
- package/packages/business-components/area-phone-select/src/type.d.ts +26 -0
- package/packages/business-components/area-phone-select/src/utils.d.ts +12 -0
- package/packages/business-components/area-phone-select/style.css +1 -0
- package/packages/business-components/area-phone-select/style.css.gz +0 -0
- package/packages/business-components/change-pwd/index.js +12 -8
- package/packages/business-components/change-pwd/index.js.gz +0 -0
- package/packages/business-components/currency-page/index.js +1 -1
- package/packages/business-components/currency-page/index.js.gz +0 -0
- package/packages/business-components/device-panel/i18n/index.d.ts +24 -0
- package/packages/business-components/device-panel/index.js +16507 -15027
- 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/echarts/index.js +2 -2
- package/packages/business-components/echarts/index.js.gz +0 -0
- package/packages/business-components/echarts/style.css +1 -1
- package/packages/business-components/export-button/index.js +30 -30
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/i18n/index.d.ts +5 -5
- package/packages/business-components/import-button/index.js +59 -59
- 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/index.d.ts +1 -0
- package/packages/business-components/index.js +1 -0
- package/packages/business-components/model-table-dialog/index.js +100 -100
- package/packages/business-components/model-table-dialog/index.js.gz +0 -0
- 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 +187 -1635
- 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 +3 -2
- package/packages/business-components/process-configuration/i18n/index.d.ts +0 -10
- package/packages/business-components/process-configuration/index.d.ts +2 -0
- package/packages/business-components/process-configuration/index.js +55 -60
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-configuration/src/index.vue.d.ts +2 -0
- package/packages/business-components/process-configuration/src/type.d.ts +3 -0
- package/packages/business-components/process-configuration/style.css +1 -1
- package/packages/business-components/process-configuration/style.css.gz +0 -0
- package/packages/business-components/process-form/index.js +1 -1
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-search-form/index.js +2 -2
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/index.js +98 -98
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/components/autocomplete/index.js +23 -24
- package/packages/components/autocomplete/index.js.gz +0 -0
- package/packages/components/autocomplete/src/index.vue.d.ts +12 -7
- package/packages/components/autocomplete/style.css +1 -1
- package/packages/components/autocomplete/style.css.gz +0 -0
- package/packages/components/checkbox/index.js +149 -137
- 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/image-upload/index.js +1 -1
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/image-viewer/index.js +77 -78
- package/packages/components/image-viewer/index.js.gz +0 -0
- package/packages/components/live-player/index.js +142 -142
- package/packages/components/live-player/index.js.gz +0 -0
- package/packages/components/map/index.js +34 -34
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/popover/index.d.ts +160 -2
- package/packages/components/popover/index.js +29 -27
- package/packages/components/popover/index.js.gz +0 -0
- package/packages/components/search/index.js +1 -1
- package/packages/components/search/index.js.gz +0 -0
- package/packages/components/search/style.css +1 -1
- package/packages/components/search/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/table/index.js +942 -948
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/table/style.css +1 -1
- package/packages/components/table/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/index.js +81 -81
- package/packages/components/tree-select/index.js.gz +0 -0
- 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-select/src/type.d.ts +0 -2
- 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
- package/packages/components/image-viewer/i18n/index.d.ts +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/business-components/model-table-dialog/style.css';
|
|
2
|
-
import { defineComponent as Dt, computed as I, watch as X, ref as P, openBlock as z, createElementBlock as G, createVNode as M, unref as y, mergeProps as H, isRef as ze, withCtx as R, createTextVNode as ft, toDisplayString as dt, createBlock as Re, createSlots as It, renderList as Et, renderSlot as
|
|
2
|
+
import { defineComponent as Dt, computed as I, watch as X, ref as P, openBlock as z, createElementBlock as G, createVNode as M, unref as y, mergeProps as H, isRef as ze, withCtx as R, createTextVNode as ft, toDisplayString as dt, createBlock as Re, createSlots as It, renderList as Et, renderSlot as ie, createCommentVNode as J, onMounted as fr, createElementVNode as dr, normalizeProps as pr, guardReactiveProps as vr, Fragment as hr, normalizeStyle as pt, nextTick as gr } from "vue";
|
|
3
3
|
import { withInstall as Kt } from "@das-fed/utils/with-install/index";
|
|
4
4
|
import { i18n as br, setI18nRule as mr } from "@das-fed/web/packages/i18n/index";
|
|
5
5
|
import { DasDialog as yr } from "@das-fed/ui/packages/components/dialog/index";
|
|
@@ -34,29 +34,29 @@ const zt = () => (e) => br(e).value, Rt = () => ({
|
|
|
34
34
|
emits: ["confirm", "close", "open", "update:modelValue", "treeChange", "tableChange", "update:resultTree", "update:resultTable"],
|
|
35
35
|
setup(e, { expose: t, emit: r }) {
|
|
36
36
|
var A;
|
|
37
|
-
const a = zt(),
|
|
37
|
+
const a = zt(), s = e, d = r, g = I(() => s.title || a("标题")), { getServiceApi: f, isEmpty: p } = Rt(), S = me(s, "options"), _ = me(s, "modelValue"), x = (v) => {
|
|
38
38
|
_.value = v;
|
|
39
39
|
};
|
|
40
40
|
X(_, (v) => {
|
|
41
41
|
d("update:modelValue", v), d(v ? "open" : "close");
|
|
42
42
|
});
|
|
43
43
|
const L = () => {
|
|
44
|
-
const { left: v, content: w } = S.value, C = v == null ? void 0 : v.selectListProps, D = w == null ? void 0 : w.selectListProps, T = typeof C == "boolean" ? C : p(C || {}), ne = typeof D == "boolean" ? D : p(D || {}), V = T && ne ? { treeSelectList: $.value, tableSelectList: q.value } : T ? $.value : q.value, k =
|
|
44
|
+
const { left: v, content: w } = S.value, C = v == null ? void 0 : v.selectListProps, D = w == null ? void 0 : w.selectListProps, T = typeof C == "boolean" ? C : p(C || {}), ne = typeof D == "boolean" ? D : p(D || {}), V = T && ne ? { treeSelectList: $.value, tableSelectList: q.value } : T ? $.value : q.value, k = s == null ? void 0 : s.beforeConfirm;
|
|
45
45
|
k && typeof k == "function" && !k(V) || te(V);
|
|
46
46
|
}, $ = P([]), N = (v) => {
|
|
47
47
|
$.value = v || {};
|
|
48
48
|
}, q = P([]), Oe = (v) => {
|
|
49
49
|
q.value = v || {};
|
|
50
|
-
}, { run: Q, loading: ee, data: Pe, error: je } = f((A =
|
|
50
|
+
}, { run: Q, loading: ee, data: Pe, error: je } = f((A = s.submitOptions) == null ? void 0 : A.api), te = async (v) => {
|
|
51
51
|
var V;
|
|
52
52
|
if (!Q) return d("confirm", v), x(!1);
|
|
53
|
-
const { params: w = {}, query: C = {}, searchKey: D = "" } =
|
|
53
|
+
const { params: w = {}, query: C = {}, searchKey: D = "" } = s.submitOptions, T = { ...w, ...C };
|
|
54
54
|
if (D && (T[D] = v), await Q(T), je.value) return;
|
|
55
55
|
const ne = Pe.value;
|
|
56
|
-
_r.success(((V =
|
|
56
|
+
_r.success(((V = s.submitOptions) == null ? void 0 : V.successText) || a("提交成功")), d("confirm", ne || v), x(!1);
|
|
57
57
|
}, re = Tr(), he = () => re.value;
|
|
58
58
|
return X(
|
|
59
|
-
() =>
|
|
59
|
+
() => s.modelValue,
|
|
60
60
|
(v) => x(v)
|
|
61
61
|
), t({ getModelTableRef: he }), (v, w) => (z(), G("div", jr, [
|
|
62
62
|
M(y(yr), H({
|
|
@@ -119,7 +119,7 @@ const zt = () => (e) => br(e).value, Rt = () => ({
|
|
|
119
119
|
Et(v.$slots, (C, D, T) => ({
|
|
120
120
|
name: D,
|
|
121
121
|
fn: R(() => [
|
|
122
|
-
|
|
122
|
+
ie(v.$slots, D, {}, void 0, !0)
|
|
123
123
|
])
|
|
124
124
|
}))
|
|
125
125
|
]),
|
|
@@ -135,14 +135,14 @@ const zt = () => (e) => br(e).value, Rt = () => ({
|
|
|
135
135
|
class: "button-slot-box",
|
|
136
136
|
onClick: w[2] || (w[2] = (C) => x(!0))
|
|
137
137
|
}, [
|
|
138
|
-
|
|
138
|
+
ie(v.$slots, "default", {}, void 0, !0)
|
|
139
139
|
])) : J("v-if", !0)
|
|
140
140
|
]));
|
|
141
141
|
}
|
|
142
142
|
}), Lt = (e, t) => {
|
|
143
143
|
const r = e.__vccOpts || e;
|
|
144
|
-
for (const [a,
|
|
145
|
-
r[a] =
|
|
144
|
+
for (const [a, s] of t)
|
|
145
|
+
r[a] = s;
|
|
146
146
|
return r;
|
|
147
147
|
}, $r = /* @__PURE__ */ Lt(xr, [["__scopeId", "data-v-18c2562f"]]);
|
|
148
148
|
function Ar() {
|
|
@@ -201,7 +201,7 @@ function Nr(e) {
|
|
|
201
201
|
function Fr(e) {
|
|
202
202
|
return this.__data__.has(e);
|
|
203
203
|
}
|
|
204
|
-
var Mt = typeof global == "object" && global && global.Object === Object && global, Vr = typeof self == "object" && self && self.Object === Object && self,
|
|
204
|
+
var Mt = typeof global == "object" && global && global.Object === Object && global, Vr = typeof self == "object" && self && self.Object === Object && self, se = Mt || Vr || Function("return this")(), ye = se.Symbol, Nt = Object.prototype, Ur = Nt.hasOwnProperty, Br = Nt.toString, fe = ye ? ye.toStringTag : void 0;
|
|
205
205
|
function Gr(e) {
|
|
206
206
|
var t = Ur.call(e, fe), r = e[fe];
|
|
207
207
|
try {
|
|
@@ -209,8 +209,8 @@ function Gr(e) {
|
|
|
209
209
|
var a = !0;
|
|
210
210
|
} catch {
|
|
211
211
|
}
|
|
212
|
-
var
|
|
213
|
-
return a && (t ? e[fe] = r : delete e[fe]),
|
|
212
|
+
var s = Br.call(e);
|
|
213
|
+
return a && (t ? e[fe] = r : delete e[fe]), s;
|
|
214
214
|
}
|
|
215
215
|
var Hr = Object.prototype, qr = Hr.toString;
|
|
216
216
|
function kr(e) {
|
|
@@ -231,7 +231,7 @@ function Ve(e) {
|
|
|
231
231
|
var t = Se(e);
|
|
232
232
|
return t == Yr || t == Zr || t == Jr || t == Qr;
|
|
233
233
|
}
|
|
234
|
-
var Ie =
|
|
234
|
+
var Ie = se["__core-js_shared__"], yt = function() {
|
|
235
235
|
var e = /[^.]+$/.exec(Ie && Ie.keys && Ie.keys.IE_PROTO || "");
|
|
236
236
|
return e ? "Symbol(src)_1." + e : "";
|
|
237
237
|
}();
|
|
@@ -268,7 +268,7 @@ function Ue(e, t) {
|
|
|
268
268
|
var r = pn(e, t);
|
|
269
269
|
return dn(r) ? r : void 0;
|
|
270
270
|
}
|
|
271
|
-
var Ft = Ue(
|
|
271
|
+
var Ft = Ue(se, "Map"), pe = Ue(Object, "create");
|
|
272
272
|
function vn() {
|
|
273
273
|
this.__data__ = pe ? pe(null) : {}, this.size = 0;
|
|
274
274
|
}
|
|
@@ -388,20 +388,20 @@ function Le(e, t, r) {
|
|
|
388
388
|
}
|
|
389
389
|
function En(e) {
|
|
390
390
|
return function(t, r, a) {
|
|
391
|
-
for (var
|
|
392
|
-
var p = g[++
|
|
391
|
+
for (var s = -1, d = Object(t), g = a(t), f = g.length; f--; ) {
|
|
392
|
+
var p = g[++s];
|
|
393
393
|
if (r(d[p], p, d) === !1)
|
|
394
394
|
break;
|
|
395
395
|
}
|
|
396
396
|
return t;
|
|
397
397
|
};
|
|
398
398
|
}
|
|
399
|
-
var Kn = En(), Vt = typeof exports == "object" && exports && !exports.nodeType && exports, _t = Vt && typeof module == "object" && module && !module.nodeType && module, zn = _t && _t.exports === Vt, Tt = zn ?
|
|
399
|
+
var Kn = En(), Vt = typeof exports == "object" && exports && !exports.nodeType && exports, _t = Vt && typeof module == "object" && module && !module.nodeType && module, zn = _t && _t.exports === Vt, Tt = zn ? se.Buffer : void 0;
|
|
400
400
|
Tt && Tt.allocUnsafe;
|
|
401
401
|
function Rn(e, t) {
|
|
402
402
|
return e.slice();
|
|
403
403
|
}
|
|
404
|
-
var wt =
|
|
404
|
+
var wt = se.Uint8Array;
|
|
405
405
|
function Ln(e) {
|
|
406
406
|
var t = new e.constructor(e.byteLength);
|
|
407
407
|
return new wt(t).set(new wt(e)), t;
|
|
@@ -466,7 +466,7 @@ function Wn(e) {
|
|
|
466
466
|
function Xn() {
|
|
467
467
|
return !1;
|
|
468
468
|
}
|
|
469
|
-
var qt = typeof exports == "object" && exports && !exports.nodeType && exports, Ot = qt && typeof module == "object" && module && !module.nodeType && module, Jn = Ot && Ot.exports === qt, Pt = Jn ?
|
|
469
|
+
var qt = typeof exports == "object" && exports && !exports.nodeType && exports, Ot = qt && typeof module == "object" && module && !module.nodeType && module, Jn = Ot && Ot.exports === qt, Pt = Jn ? se.Buffer : void 0, Yn = Pt ? Pt.isBuffer : void 0, kt = Yn || Xn, Zn = "[object Object]", Qn = Function.prototype, ea = Object.prototype, Wt = Qn.toString, ta = ea.hasOwnProperty, ra = Wt.call(Object);
|
|
470
470
|
function na(e) {
|
|
471
471
|
if (!ve(e) || Se(e) != Zn)
|
|
472
472
|
return !1;
|
|
@@ -476,9 +476,9 @@ function na(e) {
|
|
|
476
476
|
var r = ta.call(t, "constructor") && t.constructor;
|
|
477
477
|
return typeof r == "function" && r instanceof r && Wt.call(r) == ra;
|
|
478
478
|
}
|
|
479
|
-
var aa = "[object Arguments]", oa = "[object Array]", la = "[object Boolean]",
|
|
479
|
+
var aa = "[object Arguments]", oa = "[object Array]", la = "[object Boolean]", ia = "[object Date]", sa = "[object Error]", ua = "[object Function]", ca = "[object Map]", fa = "[object Number]", da = "[object Object]", pa = "[object RegExp]", va = "[object Set]", ha = "[object String]", ga = "[object WeakMap]", ba = "[object ArrayBuffer]", ma = "[object DataView]", ya = "[object Float32Array]", _a = "[object Float64Array]", Ta = "[object Int8Array]", wa = "[object Int16Array]", Sa = "[object Int32Array]", Ca = "[object Uint8Array]", Oa = "[object Uint8ClampedArray]", Pa = "[object Uint16Array]", ja = "[object Uint32Array]", m = {};
|
|
480
480
|
m[ya] = m[_a] = m[Ta] = m[wa] = m[Sa] = m[Ca] = m[Oa] = m[Pa] = m[ja] = !0;
|
|
481
|
-
m[aa] = m[oa] = m[ba] = m[la] = m[ma] = m[
|
|
481
|
+
m[aa] = m[oa] = m[ba] = m[la] = m[ma] = m[ia] = m[sa] = m[ua] = m[ca] = m[fa] = m[da] = m[pa] = m[va] = m[ha] = m[ga] = !1;
|
|
482
482
|
function xa(e) {
|
|
483
483
|
return ve(e) && Ht(e.length) && !!m[Se(e)];
|
|
484
484
|
}
|
|
@@ -504,11 +504,11 @@ function Ea(e, t, r) {
|
|
|
504
504
|
(!(Ia.call(e, t) && Te(a, r)) || r === void 0 && !(t in e)) && Be(e, t, r);
|
|
505
505
|
}
|
|
506
506
|
function Ka(e, t, r, a) {
|
|
507
|
-
var
|
|
507
|
+
var s = !r;
|
|
508
508
|
r || (r = {});
|
|
509
509
|
for (var d = -1, g = t.length; ++d < g; ) {
|
|
510
510
|
var f = t[d], p = void 0;
|
|
511
|
-
p === void 0 && (p = e[f]),
|
|
511
|
+
p === void 0 && (p = e[f]), s ? Be(r, f, p) : Ea(r, f, p);
|
|
512
512
|
}
|
|
513
513
|
return r;
|
|
514
514
|
}
|
|
@@ -523,11 +523,11 @@ function Yt(e, t) {
|
|
|
523
523
|
return t = t ?? Ra, !!t && (r == "number" || r != "symbol" && La.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
524
524
|
}
|
|
525
525
|
function Ma(e, t) {
|
|
526
|
-
var r = Ne(e), a = !r && Me(e),
|
|
526
|
+
var r = Ne(e), a = !r && Me(e), s = !r && !a && kt(e), d = !r && !a && !s && Jt(e), g = r || a || s || d, f = g ? za(e.length, String) : [], p = f.length;
|
|
527
527
|
for (var S in e)
|
|
528
528
|
g && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
529
529
|
(S == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
530
|
-
|
|
530
|
+
s && (S == "offset" || S == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
531
531
|
d && (S == "buffer" || S == "byteLength" || S == "byteOffset") || // Skip index properties.
|
|
532
532
|
Yt(S, p)) || f.push(S);
|
|
533
533
|
return f;
|
|
@@ -554,7 +554,7 @@ function Zt(e) {
|
|
|
554
554
|
function Ba(e) {
|
|
555
555
|
return Ka(e, Zt(e));
|
|
556
556
|
}
|
|
557
|
-
function Ga(e, t, r, a,
|
|
557
|
+
function Ga(e, t, r, a, s, d, g) {
|
|
558
558
|
var f = Fe(e, r), p = Fe(t, r), S = g.get(p);
|
|
559
559
|
if (S) {
|
|
560
560
|
Le(e, r, S);
|
|
@@ -565,14 +565,14 @@ function Ga(e, t, r, a, i, d, g) {
|
|
|
565
565
|
var L = Ne(p), $ = !L && kt(p), N = !L && !$ && Jt(p);
|
|
566
566
|
_ = p, L || $ || N ? Ne(f) ? _ = f : Wn(f) ? _ = Nn(f) : $ ? (x = !1, _ = Rn(p)) : N ? (x = !1, _ = Mn(p)) : _ = [] : na(p) || Me(p) ? (_ = f, Me(f) ? _ = Ba(f) : (!Z(f) || Ve(f)) && (_ = Bn(p))) : x = !1;
|
|
567
567
|
}
|
|
568
|
-
x && (g.set(p, _),
|
|
568
|
+
x && (g.set(p, _), s(_, p, a, d, g), g.delete(p)), Le(e, r, _);
|
|
569
569
|
}
|
|
570
|
-
function Qt(e, t, r, a,
|
|
570
|
+
function Qt(e, t, r, a, s) {
|
|
571
571
|
e !== t && Kn(t, function(d, g) {
|
|
572
|
-
if (
|
|
573
|
-
Ga(e, t, g, r, Qt, a,
|
|
572
|
+
if (s || (s = new ce()), Z(d))
|
|
573
|
+
Ga(e, t, g, r, Qt, a, s);
|
|
574
574
|
else {
|
|
575
|
-
var f = a ? a(Fe(e, g), d, g + "", e, t,
|
|
575
|
+
var f = a ? a(Fe(e, g), d, g + "", e, t, s) : void 0;
|
|
576
576
|
f === void 0 && (f = d), Le(e, g, f);
|
|
577
577
|
}
|
|
578
578
|
}, Zt);
|
|
@@ -596,11 +596,11 @@ function Ha(e, t, r) {
|
|
|
596
596
|
var $t = Math.max;
|
|
597
597
|
function qa(e, t, r) {
|
|
598
598
|
return t = $t(t === void 0 ? e.length - 1 : t, 0), function() {
|
|
599
|
-
for (var a = arguments,
|
|
600
|
-
g[
|
|
601
|
-
|
|
602
|
-
for (var f = Array(t + 1); ++
|
|
603
|
-
f[
|
|
599
|
+
for (var a = arguments, s = -1, d = $t(a.length - t, 0), g = Array(d); ++s < d; )
|
|
600
|
+
g[s] = a[t + s];
|
|
601
|
+
s = -1;
|
|
602
|
+
for (var f = Array(t + 1); ++s < t; )
|
|
603
|
+
f[s] = a[s];
|
|
604
604
|
return f[t] = r(g), Ha(e, this, f);
|
|
605
605
|
};
|
|
606
606
|
}
|
|
@@ -620,8 +620,8 @@ var Wa = _e ? function(e, t) {
|
|
|
620
620
|
function Za(e) {
|
|
621
621
|
var t = 0, r = 0;
|
|
622
622
|
return function() {
|
|
623
|
-
var a = Ya(),
|
|
624
|
-
if (r = a,
|
|
623
|
+
var a = Ya(), s = Ja - (a - r);
|
|
624
|
+
if (r = a, s > 0) {
|
|
625
625
|
if (++t >= Xa)
|
|
626
626
|
return arguments[0];
|
|
627
627
|
} else
|
|
@@ -641,8 +641,8 @@ function to(e, t, r) {
|
|
|
641
641
|
}
|
|
642
642
|
function ro(e) {
|
|
643
643
|
return eo(function(t, r) {
|
|
644
|
-
var a = -1,
|
|
645
|
-
for (d = e.length > 3 && typeof d == "function" ? (
|
|
644
|
+
var a = -1, s = r.length, d = s > 1 ? r[s - 1] : void 0, g = s > 2 ? r[2] : void 0;
|
|
645
|
+
for (d = e.length > 3 && typeof d == "function" ? (s--, d) : void 0, g && to(r[0], r[1], g) && (d = s < 3 ? void 0 : d, s = 1), t = Object(t); ++a < s; ) {
|
|
646
646
|
var f = r[a];
|
|
647
647
|
f && e(t, f, a, d);
|
|
648
648
|
}
|
|
@@ -658,7 +658,7 @@ const no = { class: "business-dialog-content" }, ao = { class: "table-list-box"
|
|
|
658
658
|
}, lo = {
|
|
659
659
|
key: 2,
|
|
660
660
|
class: "table-select"
|
|
661
|
-
}, Ke = "-1",
|
|
661
|
+
}, Ke = "-1", io = /* @__PURE__ */ Dt({
|
|
662
662
|
__name: "ModelTable",
|
|
663
663
|
props: {
|
|
664
664
|
left: { default: () => ({}) },
|
|
@@ -671,25 +671,25 @@ const no = { class: "business-dialog-content" }, ao = { class: "table-list-box"
|
|
|
671
671
|
emits: ["treeChange", "tableChange", "update:resultTree", "update:resultTable"],
|
|
672
672
|
setup(e, { expose: t, emit: r }) {
|
|
673
673
|
var at, ot, lt;
|
|
674
|
-
const a = e,
|
|
674
|
+
const a = e, s = r, d = zt(), { getServiceApi: g, isEmpty: f } = Rt(), p = "id" + (/* @__PURE__ */ new Date()).getTime(), S = ((at = a.left) == null ? void 0 : at.vNodeName) || d("全部"), _ = async (n) => {
|
|
675
675
|
var j, E, U, B;
|
|
676
|
-
const { query: o = {}, params: l = {}, api:
|
|
677
|
-
if (!
|
|
676
|
+
const { query: o = {}, params: l = {}, api: i, searchKey: c = "id" } = ((j = a.left) == null ? void 0 : j.grandChildren) || {};
|
|
677
|
+
if (!i) return [];
|
|
678
678
|
const u = { ...o, ...l }, h = ((U = (E = a.left) == null ? void 0 : E.props) == null ? void 0 : U.nodeKey) || "id";
|
|
679
679
|
n != null && n[h] && (u[c] = n[h]);
|
|
680
|
-
const [O, b] = await ((B =
|
|
680
|
+
const [O, b] = await ((B = i(u)) == null ? void 0 : B.run());
|
|
681
681
|
return O ? {} : (rt(b.data || b), qe(b.data || b), b.data || b);
|
|
682
682
|
}, x = async (n) => {
|
|
683
683
|
var j, E, U, B;
|
|
684
|
-
const { query: o = {}, params: l = {}, api:
|
|
685
|
-
if (!
|
|
684
|
+
const { query: o = {}, params: l = {}, api: i, searchKey: c = "id" } = a.left;
|
|
685
|
+
if (!i) return [];
|
|
686
686
|
let u = { ...l, ...o };
|
|
687
687
|
const h = ((E = (j = a.left) == null ? void 0 : j.props) == null ? void 0 : E.nodeKey) || "id";
|
|
688
688
|
u[c] = n[h] || "";
|
|
689
|
-
const [O, b] = await ((U =
|
|
689
|
+
const [O, b] = await ((U = i(u)) == null ? void 0 : U.run());
|
|
690
690
|
return O ? {} : ((B = a.left) != null && B.multiple || rt(), qe(b.data || b), b);
|
|
691
691
|
}, L = I(() => {
|
|
692
|
-
var o, l,
|
|
692
|
+
var o, l, i, c, u, h;
|
|
693
693
|
const n = {
|
|
694
694
|
nodeKey: "id",
|
|
695
695
|
isFilter: !0,
|
|
@@ -703,7 +703,7 @@ const no = { class: "business-dialog-content" }, ao = { class: "table-list-box"
|
|
|
703
703
|
placeholder: d("请输入关键词")
|
|
704
704
|
}
|
|
705
705
|
};
|
|
706
|
-
return (
|
|
706
|
+
return (i = a.left) != null && i.multiple && Object.assign(n, {
|
|
707
707
|
showCheckbox: !0,
|
|
708
708
|
parentLinkChildrenStrictly: !0,
|
|
709
709
|
defaultExpandedKeys: [p]
|
|
@@ -713,19 +713,19 @@ const no = { class: "business-dialog-content" }, ao = { class: "table-list-box"
|
|
|
713
713
|
defaultExpandedKeys: [Ke]
|
|
714
714
|
}), At(n, ((h = a.left) == null ? void 0 : h.props) || {});
|
|
715
715
|
}), $ = I(() => {
|
|
716
|
-
var o, l,
|
|
716
|
+
var o, l, i, c, u;
|
|
717
717
|
const n = {
|
|
718
718
|
data: [],
|
|
719
719
|
valueKey: ((l = (o = a.left) == null ? void 0 : o.props) == null ? void 0 : l.nodeKey) || "id",
|
|
720
|
-
labelKey: ((c = (
|
|
720
|
+
labelKey: ((c = (i = a.left) == null ? void 0 : i.props) == null ? void 0 : c.nodeName) || "name"
|
|
721
721
|
};
|
|
722
722
|
return Object.assign(n, ((u = a.left) == null ? void 0 : u.selectListProps) || {}), n;
|
|
723
723
|
}), N = I(() => {
|
|
724
|
-
var o, l,
|
|
724
|
+
var o, l, i, c, u;
|
|
725
725
|
const n = {
|
|
726
726
|
data: [],
|
|
727
727
|
valueKey: ((l = (o = a.content) == null ? void 0 : o.props) == null ? void 0 : l.rowKey) || "id",
|
|
728
|
-
labelKey: ((c = (
|
|
728
|
+
labelKey: ((c = (i = a.content) == null ? void 0 : i.props) == null ? void 0 : c.rowName) || "name"
|
|
729
729
|
};
|
|
730
730
|
return Object.assign(n, ((u = a.content) == null ? void 0 : u.selectListProps) || {}), n;
|
|
731
731
|
}), q = I(() => he(a.content)), Oe = I(() => {
|
|
@@ -741,8 +741,8 @@ const no = { class: "business-dialog-content" }, ao = { class: "table-list-box"
|
|
|
741
741
|
const n = (o = a.content) == null ? void 0 : o.selectListProps;
|
|
742
742
|
return typeof n > "u" ? !0 : typeof n == "boolean" ? n : f(n || {});
|
|
743
743
|
}), Pe = I(() => {
|
|
744
|
-
var n, o, l,
|
|
745
|
-
return (o = (n = a.left) == null ? void 0 : n.props) != null && o.width || (
|
|
744
|
+
var n, o, l, i;
|
|
745
|
+
return (o = (n = a.left) == null ? void 0 : n.props) != null && o.width || (i = (l = a.content) == null ? void 0 : l.props) != null && i.width ? "width:auto" : "width:250px";
|
|
746
746
|
}), je = I(() => {
|
|
747
747
|
var n;
|
|
748
748
|
return (n = a.content) != null && n.searchKey && k.value || Ae.value;
|
|
@@ -775,12 +775,12 @@ const no = { class: "business-dialog-content" }, ao = { class: "table-list-box"
|
|
|
775
775
|
if (!V) return;
|
|
776
776
|
const o = ((c = a.left) == null ? void 0 : c.params) || {};
|
|
777
777
|
if (n && Object.assign(o, n), await V(o), tr.value) return;
|
|
778
|
-
const l = (u = a.left) == null ? void 0 : u.handleData,
|
|
779
|
-
|
|
778
|
+
const l = (u = a.left) == null ? void 0 : u.handleData, i = l ? l(He.value) : He.value || [];
|
|
779
|
+
s("update:resultTree", i), sr((i == null ? void 0 : i.data) || i || []);
|
|
780
780
|
}, qe = (n) => {
|
|
781
|
-
var
|
|
782
|
-
const o = [], l = ((c = (
|
|
783
|
-
C.value.forEach((u) => o.push(u[l])), n.forEach((u) => !o.includes(u[l]) && C.value.push(u)),
|
|
781
|
+
var i, c;
|
|
782
|
+
const o = [], l = ((c = (i = a.left) == null ? void 0 : i.props) == null ? void 0 : c.nodeKey) || "id";
|
|
783
|
+
C.value.forEach((u) => o.push(u[l])), n.forEach((u) => !o.includes(u[l]) && C.value.push(u)), s("update:resultTree", C.value);
|
|
784
784
|
}, ke = P([]), We = P([]), ae = P(te.value.pageIndex), ge = P(te.value.pageSize), Xe = P(0), oe = P([]), le = P(""), {
|
|
785
785
|
run: $e,
|
|
786
786
|
loading: Ae,
|
|
@@ -789,9 +789,9 @@ const no = { class: "business-dialog-content" }, ao = { class: "table-list-box"
|
|
|
789
789
|
} = g((lt = a.content) == null ? void 0 : lt.api), W = async (n) => {
|
|
790
790
|
var O;
|
|
791
791
|
if (!$e) return;
|
|
792
|
-
const { params: o = {}, searchKey: l = "", query:
|
|
792
|
+
const { params: o = {}, searchKey: l = "", query: i = {} } = a.content, c = {
|
|
793
793
|
...o,
|
|
794
|
-
...
|
|
794
|
+
...i,
|
|
795
795
|
pageIndex: ae.value,
|
|
796
796
|
pageSize: ge.value
|
|
797
797
|
};
|
|
@@ -799,17 +799,17 @@ const no = { class: "business-dialog-content" }, ao = { class: "table-list-box"
|
|
|
799
799
|
const u = (O = a.left) == null ? void 0 : O.handleParams;
|
|
800
800
|
if (await $e(u ? u(c) : c), nr.value) return;
|
|
801
801
|
const h = rr.value || [];
|
|
802
|
-
Xe.value = +(h.totalCount || (h == null ? void 0 : h.length) || 0), ke.value = (h == null ? void 0 : h.data) || h || [],
|
|
802
|
+
Xe.value = +(h.totalCount || (h == null ? void 0 : h.length) || 0), ke.value = (h == null ? void 0 : h.data) || h || [], s("update:resultTable", h), ir();
|
|
803
803
|
}, be = async (n) => {
|
|
804
804
|
var b, j;
|
|
805
805
|
if (!$e || !q.value) return;
|
|
806
|
-
const { searchKey: o = "", params: l = {} } = a.content,
|
|
806
|
+
const { searchKey: o = "", params: l = {} } = a.content, i = {
|
|
807
807
|
pageIndex: 1,
|
|
808
808
|
pageSize: -1,
|
|
809
809
|
...l
|
|
810
810
|
};
|
|
811
|
-
o && (
|
|
812
|
-
const c = (b = a.left) == null ? void 0 : b.handleParams, [u, h] = await g((j = a.content) == null ? void 0 : j.api).run(c ? c(
|
|
811
|
+
o && (i[o] = Je()), n && Object.assign(i, n);
|
|
812
|
+
const c = (b = a.left) == null ? void 0 : b.handleParams, [u, h] = await g((j = a.content) == null ? void 0 : j.api).run(c ? c(i) : i);
|
|
813
813
|
if (u) return;
|
|
814
814
|
const O = h.data || h;
|
|
815
815
|
We.value = O;
|
|
@@ -817,8 +817,8 @@ const no = { class: "business-dialog-content" }, ao = { class: "table-list-box"
|
|
|
817
817
|
var l;
|
|
818
818
|
const { searchKeyDataFormat: n = "string" } = a.content, o = n.toLocaleLowerCase() === "array";
|
|
819
819
|
if ((l = L.value) != null && l.showCheckbox) {
|
|
820
|
-
const
|
|
821
|
-
return o ?
|
|
820
|
+
const i = (T.value || []).filter((c) => c !== p);
|
|
821
|
+
return o ? i : i.join(",");
|
|
822
822
|
}
|
|
823
823
|
return o ? [T.value] : T.value;
|
|
824
824
|
}, ar = (n, o) => {
|
|
@@ -828,41 +828,41 @@ const no = { class: "business-dialog-content" }, ao = { class: "table-list-box"
|
|
|
828
828
|
}, Ye = (n) => {
|
|
829
829
|
var o;
|
|
830
830
|
(o = a.left) != null && o.multiple && gr(() => {
|
|
831
|
-
var
|
|
831
|
+
var i;
|
|
832
832
|
const { valueKey: l = "id" } = $.value;
|
|
833
|
-
(
|
|
833
|
+
(i = ne.value) == null || i.treeRef.setChecked(n[l], !1, !0);
|
|
834
834
|
});
|
|
835
835
|
}, Ze = () => {
|
|
836
836
|
var n, o;
|
|
837
837
|
(n = T.value) != null && n.length && (T.value = (o = a.left) != null && o.multiple ? [] : "");
|
|
838
838
|
}, Qe = (n) => {
|
|
839
839
|
var c;
|
|
840
|
-
const { valueKey: o = "id" } = N.value, { rowKey: l = "id" } = te.value,
|
|
840
|
+
const { valueKey: o = "id" } = N.value, { rowKey: l = "id" } = te.value, i = n[o];
|
|
841
841
|
if ((c = a.content) != null && c.multiple) {
|
|
842
|
-
const u = oe.value.findIndex((h) => h[l] ===
|
|
842
|
+
const u = oe.value.findIndex((h) => h[l] === i);
|
|
843
843
|
u !== -1 && oe.value.splice(u, 1);
|
|
844
844
|
return;
|
|
845
845
|
}
|
|
846
|
-
le.value ===
|
|
846
|
+
le.value === i && (le.value = "");
|
|
847
847
|
}, De = () => {
|
|
848
848
|
oe.value = [], le.value = "";
|
|
849
849
|
}, lr = (n) => {
|
|
850
|
-
var U, B,
|
|
851
|
-
const { showCheckbox: o, nodeKey: l, props:
|
|
852
|
-
j && o && (h.push(...new Array(u.length).fill({})), (
|
|
850
|
+
var U, B, it, st;
|
|
851
|
+
const { showCheckbox: o, nodeKey: l, props: i } = L.value, { valueKey: c } = $.value, u = (o ? n.value : [n.value]).filter((K) => K !== p), h = [], O = Array.from((B = (U = a.left) == null ? void 0 : U.grandChildren) != null && B.api ? C.value : w.value), b = [], j = !((it = a.left) != null && it.disabledSort);
|
|
852
|
+
j && o && (h.push(...new Array(u.length).fill({})), (st = v.value) == null || st.forEach(
|
|
853
853
|
(K) => u.includes(K[c || l]) && b.push(K[l])
|
|
854
854
|
));
|
|
855
855
|
const E = [...new Set(b.concat(u))];
|
|
856
856
|
for (; O.length; ) {
|
|
857
857
|
const K = O.shift(), ut = E.findIndex((cr) => K[l] === cr);
|
|
858
858
|
ut !== -1 && (j ? h.splice(ut, 1, K) : h.push(K));
|
|
859
|
-
const ct = (K == null ? void 0 : K[(
|
|
859
|
+
const ct = (K == null ? void 0 : K[(i == null ? void 0 : i.children) || "children"]) || [];
|
|
860
860
|
ct.length && O.unshift(...ct);
|
|
861
861
|
}
|
|
862
862
|
return h;
|
|
863
863
|
};
|
|
864
864
|
let et = !0;
|
|
865
|
-
const
|
|
865
|
+
const ir = () => {
|
|
866
866
|
var n;
|
|
867
867
|
if (et) {
|
|
868
868
|
if ((n = a.content) != null && n.multiple)
|
|
@@ -879,21 +879,21 @@ const no = { class: "business-dialog-content" }, ao = { class: "table-list-box"
|
|
|
879
879
|
var o, l;
|
|
880
880
|
if (tt) {
|
|
881
881
|
if (n) {
|
|
882
|
-
const
|
|
883
|
-
n.forEach((u) => c.push(u[
|
|
882
|
+
const i = ((l = (o = a.left) == null ? void 0 : o.props) == null ? void 0 : l.nodeKey) || "id", c = [Ke];
|
|
883
|
+
n.forEach((u) => c.push(u[i])), T.value = [...new Set(c)];
|
|
884
884
|
} else
|
|
885
885
|
T.value = Ke;
|
|
886
886
|
tt = !1;
|
|
887
887
|
}
|
|
888
888
|
};
|
|
889
889
|
let nt = !0;
|
|
890
|
-
const
|
|
890
|
+
const sr = (n) => {
|
|
891
891
|
var O;
|
|
892
|
-
const { showCheckbox: o, nodeKey: l, props:
|
|
892
|
+
const { showCheckbox: o, nodeKey: l, props: i } = L.value;
|
|
893
893
|
w.value = [], o && (n == null ? void 0 : n.length) > 1 ? w.value.push({
|
|
894
894
|
[l]: p,
|
|
895
|
-
[
|
|
896
|
-
[
|
|
895
|
+
[i.label || "label"]: d(S),
|
|
896
|
+
[i.children || "children"]: n
|
|
897
897
|
}) : w.value.push(...n);
|
|
898
898
|
const { valueKey: c } = $.value;
|
|
899
899
|
if (nt) {
|
|
@@ -904,8 +904,8 @@ const no = { class: "business-dialog-content" }, ao = { class: "table-list-box"
|
|
|
904
904
|
const u = [], h = Array.from(n);
|
|
905
905
|
for (; h.length; ) {
|
|
906
906
|
const b = h.shift();
|
|
907
|
-
!(typeof
|
|
908
|
-
const E = b[
|
|
907
|
+
!(typeof i.disabled == "string" ? b[i.disabled] : i.disabled(b)) && !u.includes(b[l]) && u.push(b[l]);
|
|
908
|
+
const E = b[i.children || "children"] || [];
|
|
909
909
|
E.length && (o ? h.unshift(...E) : h.push(...E));
|
|
910
910
|
}
|
|
911
911
|
o || (T.value = u[0] || ""), o && !Q.value && (T.value = (n == null ? void 0 : n.length) > 1 ? [p] : [], T.value.push(...u));
|
|
@@ -915,7 +915,7 @@ const no = { class: "business-dialog-content" }, ao = { class: "table-list-box"
|
|
|
915
915
|
return X(
|
|
916
916
|
() => A,
|
|
917
917
|
(n) => {
|
|
918
|
-
|
|
918
|
+
s("tableChange", n.value);
|
|
919
919
|
},
|
|
920
920
|
{ deep: !0, immediate: !0 }
|
|
921
921
|
), X(
|
|
@@ -923,7 +923,7 @@ const no = { class: "business-dialog-content" }, ao = { class: "table-list-box"
|
|
|
923
923
|
(n) => {
|
|
924
924
|
var l;
|
|
925
925
|
const o = lr(n);
|
|
926
|
-
v.value = o,
|
|
926
|
+
v.value = o, s("treeChange", o), (l = a.content) != null && l.searchKey && (W(), be());
|
|
927
927
|
},
|
|
928
928
|
{ deep: !0 }
|
|
929
929
|
), X(
|
|
@@ -971,7 +971,7 @@ const no = { class: "business-dialog-content" }, ao = { class: "table-list-box"
|
|
|
971
971
|
canFold: re.value
|
|
972
972
|
}, re.value ? n.splitPanelProps : { defaultSplit: { first: 0 } }), It({
|
|
973
973
|
secondSlot: R(() => [
|
|
974
|
-
|
|
974
|
+
ie(n.$slots, "table-header-search", {}, void 0, !0),
|
|
975
975
|
dr("div", ao, [
|
|
976
976
|
M(y(bt), { spinning: je.value }, {
|
|
977
977
|
default: R(() => [
|
|
@@ -997,13 +997,13 @@ const no = { class: "business-dialog-content" }, ao = { class: "table-list-box"
|
|
|
997
997
|
"max-height": "100%"
|
|
998
998
|
}), {
|
|
999
999
|
"pagination-left": R(() => [
|
|
1000
|
-
|
|
1000
|
+
ie(n.$slots, "pagination-left", {}, void 0, !0)
|
|
1001
1001
|
]),
|
|
1002
1002
|
default: R((l) => {
|
|
1003
|
-
var
|
|
1003
|
+
var i, c;
|
|
1004
1004
|
return [
|
|
1005
|
-
|
|
1006
|
-
(
|
|
1005
|
+
ie(n.$slots, "table-column", pr(vr(l)), void 0, !0),
|
|
1006
|
+
(i = n.content) != null && i.multiple && ee.value && !q.value ? (z(), Re(y(gt), {
|
|
1007
1007
|
key: 0,
|
|
1008
1008
|
type: "selection",
|
|
1009
1009
|
width: "50"
|
|
@@ -1041,7 +1041,7 @@ const no = { class: "business-dialog-content" }, ao = { class: "table-list-box"
|
|
|
1041
1041
|
re.value ? {
|
|
1042
1042
|
name: "firstSlot",
|
|
1043
1043
|
fn: R(() => [
|
|
1044
|
-
|
|
1044
|
+
ie(n.$slots, "tree-header-search", {}, void 0, !0),
|
|
1045
1045
|
M(y(bt), { spinning: y(k) }, {
|
|
1046
1046
|
default: R(() => [
|
|
1047
1047
|
M(y(Or), H({
|
|
@@ -1106,16 +1106,16 @@ const no = { class: "business-dialog-content" }, ao = { class: "table-list-box"
|
|
|
1106
1106
|
)) : J("v-if", !0)
|
|
1107
1107
|
]));
|
|
1108
1108
|
}
|
|
1109
|
-
}),
|
|
1109
|
+
}), so = /* @__PURE__ */ Lt(io, [["__scopeId", "data-v-059f72e7"]]), uo = {
|
|
1110
1110
|
全部: { "zh-CN": "全部", en: "All", _appCode: "framework" },
|
|
1111
1111
|
请输入关键词: { "zh-CN": "请输入关键词", en: "Please enter keywords", _appCode: "framework" },
|
|
1112
1112
|
取消: { "zh-CN": "取消", en: "Cancel", _appCode: "framework" },
|
|
1113
1113
|
确定: { "zh-CN": "确定", en: "OK", _appCode: "framework" },
|
|
1114
1114
|
标题: { "zh-CN": "标题", en: "Title", _appCode: "framework" },
|
|
1115
|
-
提交成功: { "zh-CN": "提交成功", en: "
|
|
1115
|
+
提交成功: { "zh-CN": "提交成功", en: "Submitted Successfully", _appCode: "framework" }
|
|
1116
1116
|
};
|
|
1117
1117
|
mr(uo);
|
|
1118
|
-
const Oo = () => P(null), Po = () => P(null), jo = Kt($r), xo = Kt(
|
|
1118
|
+
const Oo = () => P(null), Po = () => P(null), jo = Kt($r), xo = Kt(so), $o = { name: "modelTable 表格弹窗" };
|
|
1119
1119
|
export {
|
|
1120
1120
|
xo as DasModelTable,
|
|
1121
1121
|
jo as DasModelTableDialog,
|
|
Binary file
|
|
@@ -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
|
};
|