@das-fed/upf-ui 6.4.0-dev.216 → 6.4.0-dev.217
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/ai-panel/{index-BgyMyjJo.js → index-BybM3Q9u.js} +700 -711
- package/packages/business-components/ai-panel/index-BybM3Q9u.js.gz +0 -0
- package/packages/business-components/ai-panel/index-CgWRv2Ge.js +142 -0
- package/packages/business-components/ai-panel/index-CgWRv2Ge.js.gz +0 -0
- package/packages/business-components/ai-panel/{index-Bw7rNZmA.js → index-CwdJKHy0.js} +9 -9
- package/packages/business-components/ai-panel/index-CwdJKHy0.js.gz +0 -0
- package/packages/business-components/ai-panel/index.js +1 -1
- package/packages/business-components/device-panel/index.js +8773 -8873
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/echarts/index.js +2049 -2056
- package/packages/business-components/echarts/index.js.gz +0 -0
- package/packages/business-components/process-configuration/index.js +50 -50
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-form/index.js +149 -149
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-search-form/index.js +60 -60
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/process-table/index.js +128 -130
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/index.js +896 -904
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/user-org-dialog/index.js +246 -249
- package/packages/business-components/user-org-dialog/index.js.gz +0 -0
- package/packages/business-components/video-dialog/index.js +0 -1
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/components/autocomplete/index.js +6 -12
- package/packages/components/autocomplete/index.js.gz +0 -0
- package/packages/components/calendar/index.js +104 -104
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/cascader/index.js +27 -27
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/checkbox/index.js +54 -54
- package/packages/components/checkbox/index.js.gz +0 -0
- package/packages/components/date-picker/index.js +459 -459
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/dimple-layout/index.js +61 -63
- package/packages/components/dimple-layout/index.js.gz +0 -0
- package/packages/components/dropdown/index.js +22 -23
- package/packages/components/dropdown/index.js.gz +0 -0
- package/packages/components/edit-table/index.js +223 -224
- package/packages/components/edit-table/index.js.gz +0 -0
- package/packages/components/error-overlay-model/index.js +42 -44
- package/packages/components/error-overlay-model/index.js.gz +0 -0
- package/packages/components/form-item/index.js +63 -67
- package/packages/components/form-item/index.js.gz +0 -0
- package/packages/components/image-viewer/index.js +32 -32
- package/packages/components/image-viewer/index.js.gz +0 -0
- package/packages/components/input/index.d.ts +4264 -0
- package/packages/components/input/index.js +51 -51
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input/src/index.vue.d.ts +1432 -0
- package/packages/components/input-number/index.js +44 -44
- package/packages/components/input-number/index.js.gz +0 -0
- package/packages/components/live-player/index.js +832 -834
- package/packages/components/live-player/index.js.gz +0 -0
- package/packages/components/map/index.js +431 -437
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/menu-aside/index.js +1 -1
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/message/index.js +6 -6
- package/packages/components/message/index.js.gz +0 -0
- package/packages/components/radio-tabs/index.js +33 -33
- package/packages/components/radio-tabs/index.js.gz +0 -0
- package/packages/components/rich-editor/index.js +4556 -4586
- package/packages/components/rich-editor/index.js.gz +0 -0
- package/packages/components/scrollbar/index.js +135 -135
- package/packages/components/scrollbar/index.js.gz +0 -0
- package/packages/components/search/index.js +2 -2
- package/packages/components/search/index.js.gz +0 -0
- package/packages/components/select/index.js +92 -92
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select-list/index.js +6 -10
- package/packages/components/select-list/index.js.gz +0 -0
- package/packages/components/special-range-picker-month/index.js +14 -16
- package/packages/components/special-range-picker-month/index.js.gz +0 -0
- package/packages/components/special-range-picker-year/index.js +51 -53
- package/packages/components/special-range-picker-year/index.js.gz +0 -0
- package/packages/components/spin/index.js +35 -35
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/split-panel/index.js +101 -102
- package/packages/components/split-panel/index.js.gz +0 -0
- package/packages/components/table/index.js +599 -604
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/time-line/index.js +1 -1
- package/packages/components/time-line/index.js.gz +0 -0
- package/packages/components/tree/index.js +173 -182
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree-select/index.js +81 -81
- package/packages/components/tree-select/index.js.gz +0 -0
- package/packages/components/tree-table/index.js +2 -2
- package/packages/components/tree-table/index.js.gz +0 -0
- package/packages/components/tree-v2/index.js +1208 -1240
- package/packages/components/tree-v2/index.js.gz +0 -0
- package/packages/components/virtual-tree/src/App.vue.d.ts +3974 -0
- package/packages/components/virtual-tree/src/type.d.ts +43 -0
- package/packages/business-components/ai-panel/index-B4pMosXu.js +0 -143
- package/packages/business-components/ai-panel/index-B4pMosXu.js.gz +0 -0
- package/packages/business-components/ai-panel/index-BgyMyjJo.js.gz +0 -0
- package/packages/business-components/ai-panel/index-Bw7rNZmA.js.gz +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@das-fed/upf-ui/packages/business-components/process-table/style.css';
|
|
2
2
|
import { withInstall as Yt } from "@das-fed/upf-utils/with-install/index";
|
|
3
|
-
import { ref as
|
|
3
|
+
import { ref as T, useSlots as $t, watch as ie, defineComponent as Xt, mergeModels as Qe, useModel as Zt, onMounted as er, openBlock as oe, createElementBlock as Ce, normalizeClass as tr, unref as a, createVNode as z, mergeProps as rr, isRef as Ae, withCtx as B, renderSlot as Je, Fragment as nr, renderList as ar, createBlock as We, createElementVNode as Q, toDisplayString as J, createTextVNode as Ye } from "vue";
|
|
4
4
|
import { t as H, setI18nRule as or } from "@das-fed/upf-web/packages/i18n/index";
|
|
5
5
|
import { DasTable as Xe, DasTableColumn as ve } from "@das-fed/upf-ui/packages/components/table/index";
|
|
6
6
|
import { DasDialog as sr } from "@das-fed/upf-ui/packages/components/dialog/index";
|
|
@@ -133,23 +133,23 @@ function Pt(e, t, r) {
|
|
|
133
133
|
function Dt(e, t) {
|
|
134
134
|
return e === t || e !== e && t !== t;
|
|
135
135
|
}
|
|
136
|
-
var Vr = Object.prototype,
|
|
136
|
+
var Vr = Object.prototype, Kr = Vr.hasOwnProperty;
|
|
137
137
|
function Et(e, t, r) {
|
|
138
138
|
var n = e[t];
|
|
139
|
-
(!(
|
|
139
|
+
(!(Kr.call(e, t) && Dt(n, r)) || r === void 0 && !(t in e)) && Pt(e, t, r);
|
|
140
140
|
}
|
|
141
141
|
function Se(e, t, r, n) {
|
|
142
142
|
var s = !r;
|
|
143
143
|
r || (r = {});
|
|
144
144
|
for (var i = -1, o = t.length; ++i < o; ) {
|
|
145
|
-
var
|
|
146
|
-
l === void 0 && (l = e[
|
|
145
|
+
var g = t[i], l = void 0;
|
|
146
|
+
l === void 0 && (l = e[g]), s ? Pt(r, g, l) : Et(r, g, l);
|
|
147
147
|
}
|
|
148
148
|
return r;
|
|
149
149
|
}
|
|
150
|
-
var
|
|
150
|
+
var kr = 9007199254740991;
|
|
151
151
|
function Nt(e) {
|
|
152
|
-
return typeof e == "number" && e > -1 && e % 1 == 0 && e <=
|
|
152
|
+
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= kr;
|
|
153
153
|
}
|
|
154
154
|
function Mt(e) {
|
|
155
155
|
return e != null && Nt(e.length) && !xt(e);
|
|
@@ -176,11 +176,11 @@ var Ft = Object.prototype, Wr = Ft.hasOwnProperty, Yr = Ft.propertyIsEnumerable,
|
|
|
176
176
|
function Zr() {
|
|
177
177
|
return !1;
|
|
178
178
|
}
|
|
179
|
-
var It = typeof exports == "object" && exports && !exports.nodeType && exports, it = It && typeof module == "object" && module && !module.nodeType && module, en = it && it.exports === It, lt = en ? D.Buffer : void 0, tn = lt ? lt.isBuffer : void 0, zt = tn || Zr, rn = "[object Arguments]", nn = "[object Array]", an = "[object Boolean]", on = "[object Date]", sn = "[object Error]", ln = "[object Function]", cn = "[object Map]", un = "[object Number]", pn = "[object Object]", fn = "[object RegExp]", dn = "[object Set]", gn = "[object String]", hn = "[object WeakMap]", bn = "[object ArrayBuffer]", yn = "[object DataView]", vn = "[object Float32Array]", mn = "[object Float64Array]", _n = "[object Int8Array]", Tn = "[object Int16Array]", Sn = "[object Int32Array]", wn = "[object Uint8Array]", jn = "[object Uint8ClampedArray]", On = "[object Uint16Array]", $n = "[object Uint32Array]",
|
|
180
|
-
|
|
181
|
-
|
|
179
|
+
var It = typeof exports == "object" && exports && !exports.nodeType && exports, it = It && typeof module == "object" && module && !module.nodeType && module, en = it && it.exports === It, lt = en ? D.Buffer : void 0, tn = lt ? lt.isBuffer : void 0, zt = tn || Zr, rn = "[object Arguments]", nn = "[object Array]", an = "[object Boolean]", on = "[object Date]", sn = "[object Error]", ln = "[object Function]", cn = "[object Map]", un = "[object Number]", pn = "[object Object]", fn = "[object RegExp]", dn = "[object Set]", gn = "[object String]", hn = "[object WeakMap]", bn = "[object ArrayBuffer]", yn = "[object DataView]", vn = "[object Float32Array]", mn = "[object Float64Array]", _n = "[object Int8Array]", Tn = "[object Int16Array]", Sn = "[object Int32Array]", wn = "[object Uint8Array]", jn = "[object Uint8ClampedArray]", On = "[object Uint16Array]", $n = "[object Uint32Array]", d = {};
|
|
180
|
+
d[vn] = d[mn] = d[_n] = d[Tn] = d[Sn] = d[wn] = d[jn] = d[On] = d[$n] = !0;
|
|
181
|
+
d[rn] = d[nn] = d[bn] = d[an] = d[yn] = d[on] = d[sn] = d[ln] = d[cn] = d[un] = d[pn] = d[fn] = d[dn] = d[gn] = d[hn] = !1;
|
|
182
182
|
function Cn(e) {
|
|
183
|
-
return fe(e) && Nt(e.length) && !!
|
|
183
|
+
return fe(e) && Nt(e.length) && !!d[pe(e)];
|
|
184
184
|
}
|
|
185
185
|
function Le(e) {
|
|
186
186
|
return function(t) {
|
|
@@ -195,14 +195,14 @@ var Bt = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
|
195
195
|
}
|
|
196
196
|
}(), ct = te && te.isTypedArray, xn = ct ? Le(ct) : Cn, Pn = Object.prototype, Dn = Pn.hasOwnProperty;
|
|
197
197
|
function Lt(e, t) {
|
|
198
|
-
var r = ze(e), n = !r && Xr(e), s = !r && !n && zt(e), i = !r && !n && !s && xn(e), o = r || n || s || i,
|
|
199
|
-
for (var
|
|
200
|
-
(t || Dn.call(e,
|
|
201
|
-
(
|
|
202
|
-
s && (
|
|
203
|
-
i && (
|
|
204
|
-
Gr(
|
|
205
|
-
return
|
|
198
|
+
var r = ze(e), n = !r && Xr(e), s = !r && !n && zt(e), i = !r && !n && !s && xn(e), o = r || n || s || i, g = o ? Qr(e.length, String) : [], l = g.length;
|
|
199
|
+
for (var h in e)
|
|
200
|
+
(t || Dn.call(e, h)) && !(o && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
201
|
+
(h == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
202
|
+
s && (h == "offset" || h == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
203
|
+
i && (h == "buffer" || h == "byteLength" || h == "byteOffset") || // Skip index properties.
|
|
204
|
+
Gr(h, l))) && g.push(h);
|
|
205
|
+
return g;
|
|
206
206
|
}
|
|
207
207
|
function Ut(e, t) {
|
|
208
208
|
return function(r) {
|
|
@@ -249,7 +249,7 @@ function Rn(e) {
|
|
|
249
249
|
return this.size -= t ? 1 : 0, t;
|
|
250
250
|
}
|
|
251
251
|
var Hn = "__lodash_hash_undefined__", Gn = Object.prototype, Vn = Gn.hasOwnProperty;
|
|
252
|
-
function
|
|
252
|
+
function Kn(e) {
|
|
253
253
|
var t = this.__data__;
|
|
254
254
|
if (ce) {
|
|
255
255
|
var r = t[e];
|
|
@@ -257,7 +257,7 @@ function kn(e) {
|
|
|
257
257
|
}
|
|
258
258
|
return Vn.call(t, e) ? t[e] : void 0;
|
|
259
259
|
}
|
|
260
|
-
var
|
|
260
|
+
var kn = Object.prototype, qn = kn.hasOwnProperty;
|
|
261
261
|
function Qn(e) {
|
|
262
262
|
var t = this.__data__;
|
|
263
263
|
return ce ? t[e] !== void 0 : qn.call(t, e);
|
|
@@ -276,7 +276,7 @@ function W(e) {
|
|
|
276
276
|
}
|
|
277
277
|
W.prototype.clear = Un;
|
|
278
278
|
W.prototype.delete = Rn;
|
|
279
|
-
W.prototype.get =
|
|
279
|
+
W.prototype.get = Kn;
|
|
280
280
|
W.prototype.has = Qn;
|
|
281
281
|
W.prototype.set = Wn;
|
|
282
282
|
function Yn() {
|
|
@@ -431,23 +431,23 @@ var Ta = Object.prototype, Sa = Ta.propertyIsEnumerable, dt = Object.getOwnPrope
|
|
|
431
431
|
function wa(e, t) {
|
|
432
432
|
return Se(e, He(e), t);
|
|
433
433
|
}
|
|
434
|
-
var ja = Object.getOwnPropertySymbols,
|
|
434
|
+
var ja = Object.getOwnPropertySymbols, Kt = ja ? function(e) {
|
|
435
435
|
for (var t = []; e; )
|
|
436
436
|
Rt(t, He(e)), e = Ht(e);
|
|
437
437
|
return t;
|
|
438
438
|
} : Vt;
|
|
439
439
|
function Oa(e, t) {
|
|
440
|
-
return Se(e,
|
|
440
|
+
return Se(e, Kt(e), t);
|
|
441
441
|
}
|
|
442
|
-
function
|
|
442
|
+
function kt(e, t, r) {
|
|
443
443
|
var n = t(e);
|
|
444
444
|
return ze(e) ? n : Rt(n, r(e));
|
|
445
445
|
}
|
|
446
446
|
function $a(e) {
|
|
447
|
-
return
|
|
447
|
+
return kt(e, Ue, He);
|
|
448
448
|
}
|
|
449
449
|
function Ca(e) {
|
|
450
|
-
return
|
|
450
|
+
return kt(e, Re, Kt);
|
|
451
451
|
}
|
|
452
452
|
var Ne = X(D, "DataView"), Me = X(D, "Promise"), Fe = X(D, "Set"), gt = "[object Map]", Aa = "[object Object]", ht = "[object Promise]", bt = "[object Set]", yt = "[object WeakMap]", vt = "[object DataView]", xa = Y(Ne), Pa = Y(ue), Da = Y(Me), Ea = Y(Fe), Na = Y(Ee), L = pe;
|
|
453
453
|
(Ne && L(new Ne(new ArrayBuffer(1))) != vt || ue && L(new ue()) != gt || Me && L(Me.resolve()) != ht || Fe && L(new Fe()) != bt || Ee && L(new Ee()) != yt) && (L = function(e) {
|
|
@@ -494,7 +494,7 @@ function Ra(e, t) {
|
|
|
494
494
|
var r = t ? Ge(e.buffer) : e.buffer;
|
|
495
495
|
return new e.constructor(r, e.byteOffset, e.length);
|
|
496
496
|
}
|
|
497
|
-
var Ha = "[object Boolean]", Ga = "[object Date]", Va = "[object Map]",
|
|
497
|
+
var Ha = "[object Boolean]", Ga = "[object Date]", Va = "[object Map]", Ka = "[object Number]", ka = "[object RegExp]", qa = "[object Set]", Qa = "[object String]", Ja = "[object Symbol]", Wa = "[object ArrayBuffer]", Ya = "[object DataView]", Xa = "[object Float32Array]", Za = "[object Float64Array]", eo = "[object Int8Array]", to = "[object Int16Array]", ro = "[object Int32Array]", no = "[object Uint8Array]", ao = "[object Uint8ClampedArray]", oo = "[object Uint16Array]", so = "[object Uint32Array]";
|
|
498
498
|
function io(e, t, r) {
|
|
499
499
|
var n = e.constructor;
|
|
500
500
|
switch (t) {
|
|
@@ -517,10 +517,10 @@ function io(e, t, r) {
|
|
|
517
517
|
return Ra(e, r);
|
|
518
518
|
case Va:
|
|
519
519
|
return new n();
|
|
520
|
-
case
|
|
520
|
+
case Ka:
|
|
521
521
|
case Qa:
|
|
522
522
|
return new n(e);
|
|
523
|
-
case
|
|
523
|
+
case ka:
|
|
524
524
|
return La(e);
|
|
525
525
|
case qa:
|
|
526
526
|
return new n();
|
|
@@ -539,30 +539,30 @@ var St = te && te.isMap, po = St ? Le(St) : uo, fo = "[object Set]";
|
|
|
539
539
|
function go(e) {
|
|
540
540
|
return fe(e) && L(e) == fo;
|
|
541
541
|
}
|
|
542
|
-
var wt = te && te.isSet, ho = wt ? Le(wt) : go, bo = 1, yo = 2, vo = 4, qt = "[object Arguments]", mo = "[object Array]", _o = "[object Boolean]", To = "[object Date]", So = "[object Error]", Qt = "[object Function]", wo = "[object GeneratorFunction]", jo = "[object Map]", Oo = "[object Number]", Jt = "[object Object]", $o = "[object RegExp]", Co = "[object Set]", Ao = "[object String]", xo = "[object Symbol]", Po = "[object WeakMap]", Do = "[object ArrayBuffer]", Eo = "[object DataView]", No = "[object Float32Array]", Mo = "[object Float64Array]", Fo = "[object Int8Array]", Io = "[object Int16Array]", zo = "[object Int32Array]", Bo = "[object Uint8Array]", Lo = "[object Uint8ClampedArray]", Uo = "[object Uint16Array]", Ro = "[object Uint32Array]",
|
|
543
|
-
|
|
544
|
-
|
|
542
|
+
var wt = te && te.isSet, ho = wt ? Le(wt) : go, bo = 1, yo = 2, vo = 4, qt = "[object Arguments]", mo = "[object Array]", _o = "[object Boolean]", To = "[object Date]", So = "[object Error]", Qt = "[object Function]", wo = "[object GeneratorFunction]", jo = "[object Map]", Oo = "[object Number]", Jt = "[object Object]", $o = "[object RegExp]", Co = "[object Set]", Ao = "[object String]", xo = "[object Symbol]", Po = "[object WeakMap]", Do = "[object ArrayBuffer]", Eo = "[object DataView]", No = "[object Float32Array]", Mo = "[object Float64Array]", Fo = "[object Int8Array]", Io = "[object Int16Array]", zo = "[object Int32Array]", Bo = "[object Uint8Array]", Lo = "[object Uint8ClampedArray]", Uo = "[object Uint16Array]", Ro = "[object Uint32Array]", p = {};
|
|
543
|
+
p[qt] = p[mo] = p[Do] = p[Eo] = p[_o] = p[To] = p[No] = p[Mo] = p[Fo] = p[Io] = p[zo] = p[jo] = p[Oo] = p[Jt] = p[$o] = p[Co] = p[Ao] = p[xo] = p[Bo] = p[Lo] = p[Uo] = p[Ro] = !0;
|
|
544
|
+
p[So] = p[Qt] = p[Po] = !1;
|
|
545
545
|
function me(e, t, r, n, s, i) {
|
|
546
|
-
var o,
|
|
546
|
+
var o, g = t & bo, l = t & yo, h = t & vo;
|
|
547
547
|
if (o !== void 0)
|
|
548
548
|
return o;
|
|
549
549
|
if (!de(e))
|
|
550
550
|
return e;
|
|
551
551
|
var b = ze(e);
|
|
552
552
|
if (b) {
|
|
553
|
-
if (o = Ia(e), !
|
|
553
|
+
if (o = Ia(e), !g)
|
|
554
554
|
return Lr(e, o);
|
|
555
555
|
} else {
|
|
556
556
|
var w = L(e), E = w == Qt || w == wo;
|
|
557
557
|
if (zt(e))
|
|
558
|
-
return ma(e,
|
|
558
|
+
return ma(e, g);
|
|
559
559
|
if (w == Jt || w == qt || E && !s) {
|
|
560
|
-
if (o = l || E ? {} : lo(e), !
|
|
560
|
+
if (o = l || E ? {} : lo(e), !g)
|
|
561
561
|
return l ? Oa(e, ya(o, e)) : wa(e, ba(o, e));
|
|
562
562
|
} else {
|
|
563
|
-
if (!
|
|
563
|
+
if (!p[w])
|
|
564
564
|
return s ? e : {};
|
|
565
|
-
o = io(e, w,
|
|
565
|
+
o = io(e, w, g);
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
568
|
i || (i = new ne());
|
|
@@ -574,7 +574,7 @@ function me(e, t, r, n, s, i) {
|
|
|
574
574
|
}) : po(e) && e.forEach(function(m, _) {
|
|
575
575
|
o.set(_, me(m, t, r, _, e, i));
|
|
576
576
|
});
|
|
577
|
-
var R =
|
|
577
|
+
var R = h ? l ? Ca : $a : l ? Re : Ue, N = b ? void 0 : R(e);
|
|
578
578
|
return Ur(N || e, function(m, _) {
|
|
579
579
|
N && (_ = m, m = e[_]), Et(o, _, me(m, t, r, _, e, i));
|
|
580
580
|
}), o;
|
|
@@ -584,8 +584,8 @@ function _e(e) {
|
|
|
584
584
|
return me(e, Ho | Go);
|
|
585
585
|
}
|
|
586
586
|
const Vo = (e, t, r) => {
|
|
587
|
-
var Z, A,
|
|
588
|
-
const n = (Z = et()) != null && Z.id ? (A = et()) == null ? void 0 : A.id : "371344636432453", s =
|
|
587
|
+
var Z, A, u, M;
|
|
588
|
+
const n = (Z = et()) != null && Z.id ? (A = et()) == null ? void 0 : A.id : "371344636432453", s = T([]), i = T([]), o = T([]), g = T(), l = $t(), h = ((u = l.prepend) == null ? void 0 : u.call(l)) ?? [], b = ((M = l.append) == null ? void 0 : M.call(l)) ?? [], w = T(!1), { reportTableList: E } = fr(e.apiUrl, e.reqMethod), O = T([]), R = T([]), N = T([]), m = T(0), _ = T(20), y = T(1), f = T({
|
|
589
589
|
flowKey: e.flowKey,
|
|
590
590
|
clientType: e.clientType,
|
|
591
591
|
permissionFilterTypes: e.permissionQuery,
|
|
@@ -605,7 +605,7 @@ const Vo = (e, t, r) => {
|
|
|
605
605
|
ie(
|
|
606
606
|
() => e.searchQuerys,
|
|
607
607
|
(c) => {
|
|
608
|
-
|
|
608
|
+
f.value.querys = c, t("getSearchQuery", f.value);
|
|
609
609
|
},
|
|
610
610
|
{
|
|
611
611
|
deep: !0,
|
|
@@ -614,7 +614,7 @@ const Vo = (e, t, r) => {
|
|
|
614
614
|
), ie(
|
|
615
615
|
() => e.permissionQuery,
|
|
616
616
|
(c) => {
|
|
617
|
-
|
|
617
|
+
f.value.permissionFilterTypes = c, t("getSearchQuery", f.value);
|
|
618
618
|
},
|
|
619
619
|
{
|
|
620
620
|
deep: !0,
|
|
@@ -633,11 +633,11 @@ const Vo = (e, t, r) => {
|
|
|
633
633
|
);
|
|
634
634
|
}
|
|
635
635
|
}), C = async () => {
|
|
636
|
-
await $(), r.value = !0
|
|
636
|
+
await $(), r.value = !0;
|
|
637
637
|
const c = {
|
|
638
|
-
...
|
|
638
|
+
...f.value,
|
|
639
639
|
...e.extraParams,
|
|
640
|
-
sorter:
|
|
640
|
+
sorter: f.value.sorter || []
|
|
641
641
|
}, [x, P] = await E(c, { params: { project: n } }).run();
|
|
642
642
|
r.value = !1, !x && (N.value = P.data, m.value = P.totalCount);
|
|
643
643
|
}, G = async () => {
|
|
@@ -650,7 +650,7 @@ const Vo = (e, t, r) => {
|
|
|
650
650
|
if (x) return;
|
|
651
651
|
const j = P.value;
|
|
652
652
|
if (!j) return;
|
|
653
|
-
let
|
|
653
|
+
let k = [];
|
|
654
654
|
if (j.sortField && (O.value = JSON.parse(j.sortField).map((F) => ({
|
|
655
655
|
property: F.name,
|
|
656
656
|
direction: F.sort
|
|
@@ -660,65 +660,65 @@ const Vo = (e, t, r) => {
|
|
|
660
660
|
prop: F.name,
|
|
661
661
|
order: be
|
|
662
662
|
};
|
|
663
|
-
}), ((q = O.value) == null ? void 0 : q.length) > 0 ?
|
|
664
|
-
const F = JSON.parse(j.displayField), be = {}, $e = /* @__PURE__ */ new Map(), Ve = [],
|
|
663
|
+
}), ((q = O.value) == null ? void 0 : q.length) > 0 ? f.value.sorter = [O.value[0]] : f.value.sorter = [], t("getSearchQuery", f.value), k = O.value.map((F) => F.property)), j.displayField) {
|
|
664
|
+
const F = JSON.parse(j.displayField), be = {}, $e = /* @__PURE__ */ new Map(), Ve = [], Ke = [];
|
|
665
665
|
j.boDef.boEnt.attributeList.forEach((v) => {
|
|
666
666
|
be[v.name] = v;
|
|
667
667
|
}), b.forEach((v) => {
|
|
668
|
-
const
|
|
669
|
-
$e.set(
|
|
670
|
-
}),
|
|
671
|
-
const
|
|
672
|
-
$e.set(
|
|
668
|
+
const S = v.props, I = { desc: S.label, name: S.label };
|
|
669
|
+
$e.set(S.prop, I), Ve.push({ name: S.prop, desc: S.label, switch: !0 });
|
|
670
|
+
}), h.forEach((v) => {
|
|
671
|
+
const S = v.props, I = { desc: S.label, name: S.label };
|
|
672
|
+
$e.set(S.prop, I), Ke.push({ name: S.prop, desc: S.label, switch: !0 });
|
|
673
673
|
}), s.value = [], F.forEach((v) => {
|
|
674
674
|
if ($e.has(v.name)) return;
|
|
675
|
-
const
|
|
676
|
-
v.encryption = (
|
|
675
|
+
const S = be[v.name];
|
|
676
|
+
v.encryption = (S == null ? void 0 : S.encryption) ?? "", k.includes(v.name) ? v.sort = "custom" : v.sort = !1, s.value.push(v);
|
|
677
677
|
});
|
|
678
678
|
const Wt = s.value.map((v) => ({
|
|
679
679
|
name: v.name,
|
|
680
680
|
desc: v.desc,
|
|
681
681
|
switch: !0
|
|
682
682
|
}));
|
|
683
|
-
o.value = [...
|
|
683
|
+
o.value = [...Ke, ...Wt, ...Ve];
|
|
684
684
|
const ye = window.localStorage.getItem(e.columnSettingName);
|
|
685
685
|
if (ye && ye !== "undefined") {
|
|
686
|
-
const v = o.value.map((I) => I.name).join(","),
|
|
687
|
-
|
|
688
|
-
let
|
|
689
|
-
return
|
|
690
|
-
qe.name === I.name && qe.switch && (
|
|
691
|
-
}),
|
|
686
|
+
const v = o.value.map((I) => I.name).join(","), S = JSON.parse(ye).map((I) => I.name).join(",");
|
|
687
|
+
v === S ? g.value = JSON.parse(ye) : (g.value = _e(o.value), window.localStorage.setItem(e.columnSettingName, JSON.stringify(o.value))), i.value = s.value.filter((I) => {
|
|
688
|
+
let ke = !1;
|
|
689
|
+
return g.value.map((qe) => {
|
|
690
|
+
qe.name === I.name && qe.switch && (ke = !0);
|
|
691
|
+
}), ke;
|
|
692
692
|
});
|
|
693
693
|
} else
|
|
694
|
-
i.value = _e(s.value),
|
|
694
|
+
i.value = _e(s.value), g.value = _e(o.value);
|
|
695
695
|
}
|
|
696
696
|
w.value = !0;
|
|
697
697
|
}, ae = (c) => {
|
|
698
|
-
y.value = c,
|
|
698
|
+
y.value = c, f.value.pageBean.page = c, C();
|
|
699
699
|
}, ge = (c) => {
|
|
700
|
-
_.value = c,
|
|
700
|
+
_.value = c, f.value.pageBean.pageSize = c, C();
|
|
701
701
|
}, he = (c) => {
|
|
702
702
|
const x = c.order === "ascending" ? "ASC" : "DESC", P = O.value.find((j) => {
|
|
703
703
|
if (j.property === c.prop)
|
|
704
704
|
return j.direction = x, j;
|
|
705
705
|
});
|
|
706
|
-
|
|
707
|
-
}, V =
|
|
708
|
-
const j = c.button_list ? JSON.parse(c.button_list) : [],
|
|
709
|
-
if (j && j.length > 0 ?
|
|
706
|
+
f.value.sorter = [P], t("getSearchQuery", f.value), C();
|
|
707
|
+
}, V = T(!0), Oe = (c, x, P) => {
|
|
708
|
+
const j = c.button_list ? JSON.parse(c.button_list) : [], k = T([]);
|
|
709
|
+
if (j && j.length > 0 ? k.value = j.map((q) => ({
|
|
710
710
|
label: q.name,
|
|
711
711
|
value: q.alias
|
|
712
|
-
})) :
|
|
712
|
+
})) : k.value = [], e.customOperation) {
|
|
713
713
|
const q = typeof e.customOperation == "function" ? e.customOperation(c, x, P) || [] : e.customOperation || [];
|
|
714
|
-
|
|
714
|
+
k.value.unshift(...q);
|
|
715
715
|
}
|
|
716
|
-
return
|
|
717
|
-
},
|
|
716
|
+
return k.value;
|
|
717
|
+
}, K = T(!0);
|
|
718
718
|
return ie(
|
|
719
719
|
() => i.value,
|
|
720
720
|
(c) => {
|
|
721
|
-
e.showOperationColumn ? c.length > 0 ? (V.value = !0,
|
|
721
|
+
e.showOperationColumn ? c.length > 0 ? (V.value = !0, K.value = e.selection) : (V.value = !1, K.value = !1) : (V.value = !1, c.length > 0 ? K.value = e.selection : K.value = !1);
|
|
722
722
|
},
|
|
723
723
|
{
|
|
724
724
|
immediate: !0,
|
|
@@ -728,7 +728,7 @@ const Vo = (e, t, r) => {
|
|
|
728
728
|
filterSetting: O,
|
|
729
729
|
defaultFilterSetting: R,
|
|
730
730
|
copySettingHeaderData: i,
|
|
731
|
-
copyDialogHeaderData:
|
|
731
|
+
copyDialogHeaderData: g,
|
|
732
732
|
operation: Oe,
|
|
733
733
|
reqTableList: C,
|
|
734
734
|
tableData: N,
|
|
@@ -741,50 +741,50 @@ const Vo = (e, t, r) => {
|
|
|
741
741
|
handleCurrentPageChange: ae,
|
|
742
742
|
handlePageSizeChange: ge,
|
|
743
743
|
sortChange: he,
|
|
744
|
-
customSelectionOptions:
|
|
744
|
+
customSelectionOptions: K,
|
|
745
745
|
showOperationColumn: V
|
|
746
746
|
};
|
|
747
|
-
},
|
|
747
|
+
}, Ko = (e, t, r, n, s, i) => {
|
|
748
748
|
var m, _;
|
|
749
|
-
const o = $t(),
|
|
749
|
+
const o = $t(), g = ((m = o.append) == null ? void 0 : m.call(o)) ?? [], l = ((_ = o.prepend) == null ? void 0 : _.call(o)) ?? [], h = T([]), b = T(!1), w = () => {
|
|
750
750
|
b.value = !1;
|
|
751
751
|
const y = window.localStorage.getItem(e.columnSettingName);
|
|
752
752
|
y ? s.value = JSON.parse(y) : s.value = r.value;
|
|
753
753
|
}, E = () => {
|
|
754
754
|
var y;
|
|
755
|
-
(y = s.value) == null || y.forEach((
|
|
755
|
+
(y = s.value) == null || y.forEach((f) => f.switch = !0);
|
|
756
756
|
}, O = () => {
|
|
757
757
|
var y;
|
|
758
|
-
(y = s.value) == null || y.forEach((
|
|
758
|
+
(y = s.value) == null || y.forEach((f) => f.switch = !1);
|
|
759
759
|
}, R = () => {
|
|
760
760
|
b.value = !0;
|
|
761
761
|
}, N = () => {
|
|
762
|
-
|
|
762
|
+
h.value = _e(s.value), window.localStorage.setItem(e.columnSettingName, JSON.stringify(h.value));
|
|
763
763
|
const y = /* @__PURE__ */ new Map();
|
|
764
|
-
|
|
764
|
+
h.value.forEach(($) => {
|
|
765
765
|
y.set($.name, $);
|
|
766
766
|
});
|
|
767
|
-
const
|
|
767
|
+
const f = [];
|
|
768
768
|
l.forEach(($) => {
|
|
769
769
|
const C = $.props.prop, G = y.get(C);
|
|
770
|
-
|
|
771
|
-
}),
|
|
770
|
+
f.push(G);
|
|
771
|
+
}), g.forEach(($) => {
|
|
772
772
|
const C = $.props.prop, G = y.get(C);
|
|
773
|
-
|
|
774
|
-
}), t("changeSlotShow",
|
|
773
|
+
f.push(G);
|
|
774
|
+
}), t("changeSlotShow", f), b.value = !1;
|
|
775
775
|
};
|
|
776
776
|
return ie(
|
|
777
|
-
() =>
|
|
777
|
+
() => h.value,
|
|
778
778
|
(y) => {
|
|
779
|
-
|
|
779
|
+
i.value = n.value.filter((f) => {
|
|
780
780
|
let $ = !1;
|
|
781
781
|
return y.map((C) => {
|
|
782
|
-
C.name ===
|
|
782
|
+
C.name === f.name && C.switch && ($ = !0);
|
|
783
783
|
}), $;
|
|
784
784
|
});
|
|
785
785
|
}
|
|
786
786
|
), {
|
|
787
|
-
headerBackData:
|
|
787
|
+
headerBackData: h,
|
|
788
788
|
showSettingDialog: b,
|
|
789
789
|
cancelTabel: w,
|
|
790
790
|
resetDefault: E,
|
|
@@ -792,13 +792,13 @@ const Vo = (e, t, r) => {
|
|
|
792
792
|
setTable: N,
|
|
793
793
|
tableSetting: R
|
|
794
794
|
};
|
|
795
|
-
},
|
|
795
|
+
}, ko = (e) => {
|
|
796
796
|
const r = "****", n = String(e), s = n.slice(0, 15), i = n.slice(15);
|
|
797
797
|
return ((l) => {
|
|
798
|
-
const
|
|
799
|
-
if (
|
|
798
|
+
const h = l.length;
|
|
799
|
+
if (h < 6) return l;
|
|
800
800
|
let b = 0;
|
|
801
|
-
switch (
|
|
801
|
+
switch (h) {
|
|
802
802
|
case 6:
|
|
803
803
|
case 7:
|
|
804
804
|
b = 1;
|
|
@@ -829,7 +829,7 @@ const Vo = (e, t, r) => {
|
|
|
829
829
|
})(s) + i;
|
|
830
830
|
}, qo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
831
831
|
__proto__: null,
|
|
832
|
-
default:
|
|
832
|
+
default: ko
|
|
833
833
|
}, Symbol.toStringTag, { value: "Module" })), Te = {}, Qo = /^\.\/(.+)\/index\.ts$/, jt = /* @__PURE__ */ Object.assign({ "./phone/index.ts": qo });
|
|
834
834
|
var Ot;
|
|
835
835
|
for (const e in jt) {
|
|
@@ -879,13 +879,11 @@ const Jo = (e, t) => {
|
|
|
879
879
|
}),
|
|
880
880
|
emits: /* @__PURE__ */ Qe(["getSearchQuery", "changeSlotShow"], ["update:loading"]),
|
|
881
881
|
setup(e, { expose: t, emit: r }) {
|
|
882
|
-
const n = e
|
|
883
|
-
console.log("props", n);
|
|
884
|
-
const s = Zt(e, "loading"), i = r, {
|
|
882
|
+
const n = e, s = Zt(e, "loading"), i = r, {
|
|
885
883
|
copySettingHeaderData: o,
|
|
886
|
-
copyDialogHeaderData:
|
|
884
|
+
copyDialogHeaderData: g,
|
|
887
885
|
defaultFilterSetting: l,
|
|
888
|
-
operation:
|
|
886
|
+
operation: h,
|
|
889
887
|
reqTableList: b,
|
|
890
888
|
dialogHeaderData: w,
|
|
891
889
|
tableData: E,
|
|
@@ -895,16 +893,16 @@ const Jo = (e, t) => {
|
|
|
895
893
|
pageIndex: m,
|
|
896
894
|
pageSize: _,
|
|
897
895
|
handleCurrentPageChange: y,
|
|
898
|
-
handlePageSizeChange:
|
|
896
|
+
handlePageSizeChange: f,
|
|
899
897
|
sortChange: $,
|
|
900
898
|
customSelectionOptions: C,
|
|
901
899
|
showOperationColumn: G
|
|
902
|
-
} = Vo(n, i, s), { showSettingDialog: ae, cancelTabel: ge, resetDefault: he, showAll: V, setTable: Oe, tableSetting:
|
|
900
|
+
} = Vo(n, i, s), { showSettingDialog: ae, cancelTabel: ge, resetDefault: he, showAll: V, setTable: Oe, tableSetting: K } = Ko(
|
|
903
901
|
n,
|
|
904
902
|
i,
|
|
905
903
|
w,
|
|
906
904
|
R,
|
|
907
|
-
|
|
905
|
+
g,
|
|
908
906
|
o
|
|
909
907
|
);
|
|
910
908
|
return er(async () => {
|
|
@@ -916,41 +914,41 @@ const Jo = (e, t) => {
|
|
|
916
914
|
class: tr(["das-process-table", { "no-header-column": a(o).length === 0 }])
|
|
917
915
|
}, [
|
|
918
916
|
z(a(Xe), rr({ data: a(E) }, Z.$attrs, {
|
|
919
|
-
operation: a(
|
|
917
|
+
operation: a(h),
|
|
920
918
|
total: a(N),
|
|
921
919
|
selection: a(C),
|
|
922
920
|
"default-sort": a(l)[0],
|
|
923
921
|
showOperationColumn: a(G),
|
|
924
922
|
"current-page": a(m),
|
|
925
|
-
"onUpdate:currentPage": A[0] || (A[0] = (
|
|
923
|
+
"onUpdate:currentPage": A[0] || (A[0] = (u) => Ae(m) ? m.value = u : null),
|
|
926
924
|
"page-size": a(_),
|
|
927
|
-
"onUpdate:pageSize": A[1] || (A[1] = (
|
|
925
|
+
"onUpdate:pageSize": A[1] || (A[1] = (u) => Ae(_) ? _.value = u : null),
|
|
928
926
|
onCurrentPageChange: a(y),
|
|
929
|
-
onSizeChange: a(
|
|
930
|
-
onTableSetting: a(
|
|
927
|
+
onSizeChange: a(f),
|
|
928
|
+
onTableSetting: a(K),
|
|
931
929
|
onSortChange: a($)
|
|
932
930
|
}), {
|
|
933
931
|
default: B(() => [
|
|
934
932
|
Je(Z.$slots, "prepend", {}, void 0, !0),
|
|
935
|
-
(oe(!0), Ce(nr, null, ar(a(o), (
|
|
936
|
-
sortable:
|
|
937
|
-
key:
|
|
938
|
-
label:
|
|
939
|
-
prop:
|
|
940
|
-
"show-overflow-tooltip": !
|
|
933
|
+
(oe(!0), Ce(nr, null, ar(a(o), (u) => (oe(), We(a(ve), {
|
|
934
|
+
sortable: u.sort,
|
|
935
|
+
key: u.name,
|
|
936
|
+
label: u.desc,
|
|
937
|
+
prop: u.name,
|
|
938
|
+
"show-overflow-tooltip": !u.encryption
|
|
941
939
|
}, {
|
|
942
940
|
default: B(({ row: M, column: c, $index: x }) => [
|
|
943
|
-
|
|
941
|
+
u.encryption ? (oe(), We(a(lr), {
|
|
944
942
|
key: 0,
|
|
945
943
|
placement: "top",
|
|
946
|
-
disabled: a(De)(M,
|
|
947
|
-
content: M[
|
|
944
|
+
disabled: a(De)(M, u) === "-",
|
|
945
|
+
content: M[u.name]
|
|
948
946
|
}, {
|
|
949
947
|
default: B(() => [
|
|
950
|
-
Q("div", Xo, J(a(De)(M,
|
|
948
|
+
Q("div", Xo, J(a(De)(M, u)), 1)
|
|
951
949
|
]),
|
|
952
950
|
_: 2
|
|
953
|
-
}, 1032, ["disabled", "content"])) : (oe(), Ce("span", Zo, J(a(De)(M,
|
|
951
|
+
}, 1032, ["disabled", "content"])) : (oe(), Ce("span", Zo, J(a(De)(M, u)), 1))
|
|
954
952
|
]),
|
|
955
953
|
_: 2
|
|
956
954
|
}, 1032, ["sortable", "label", "prop", "show-overflow-tooltip"]))), 128)),
|
|
@@ -960,7 +958,7 @@ const Jo = (e, t) => {
|
|
|
960
958
|
}, 16, ["data", "operation", "total", "selection", "default-sort", "showOperationColumn", "current-page", "page-size", "onCurrentPageChange", "onSizeChange", "onTableSetting", "onSortChange"]),
|
|
961
959
|
z(a(sr), {
|
|
962
960
|
modelValue: a(ae),
|
|
963
|
-
"onUpdate:modelValue": A[4] || (A[4] = (
|
|
961
|
+
"onUpdate:modelValue": A[4] || (A[4] = (u) => Ae(ae) ? ae.value = u : null),
|
|
964
962
|
width: "960px",
|
|
965
963
|
title: a(H)("列表控制"),
|
|
966
964
|
height: "580px",
|
|
@@ -995,17 +993,17 @@ const Jo = (e, t) => {
|
|
|
995
993
|
Q("div", {
|
|
996
994
|
class: "text-btn",
|
|
997
995
|
onClick: A[2] || (A[2] = //@ts-ignore
|
|
998
|
-
(...
|
|
996
|
+
(...u) => a(he) && a(he)(...u))
|
|
999
997
|
}, J(a(H)("恢复默认")), 1),
|
|
1000
998
|
Q("div", {
|
|
1001
999
|
class: "text-btn",
|
|
1002
1000
|
onClick: A[3] || (A[3] = //@ts-ignore
|
|
1003
|
-
(...
|
|
1001
|
+
(...u) => a(V) && a(V)(...u)),
|
|
1004
1002
|
style: { "padding-left": "20px" }
|
|
1005
1003
|
}, J(a(H)("全部隐藏")), 1)
|
|
1006
1004
|
]),
|
|
1007
1005
|
z(a(Xe), {
|
|
1008
|
-
data: a(
|
|
1006
|
+
data: a(g),
|
|
1009
1007
|
"outer-border": "",
|
|
1010
1008
|
ref: "setTableRef",
|
|
1011
1009
|
"max-height": "377px"
|
|
@@ -1023,10 +1021,10 @@ const Jo = (e, t) => {
|
|
|
1023
1021
|
label: a(H)("显示列"),
|
|
1024
1022
|
prop: "switch"
|
|
1025
1023
|
}, {
|
|
1026
|
-
default: B(({ row:
|
|
1024
|
+
default: B(({ row: u }) => [
|
|
1027
1025
|
z(a(ir), {
|
|
1028
|
-
modelValue:
|
|
1029
|
-
"onUpdate:modelValue": (M) =>
|
|
1026
|
+
modelValue: u.switch,
|
|
1027
|
+
"onUpdate:modelValue": (M) => u.switch = M
|
|
1030
1028
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
1031
1029
|
]),
|
|
1032
1030
|
_: 1
|
|
@@ -1055,7 +1053,7 @@ const Jo = (e, t) => {
|
|
|
1055
1053
|
确定: { "zh-CN": "确定", en: "OK", "zh-MO": "確定", _appCode: "framework" }
|
|
1056
1054
|
};
|
|
1057
1055
|
or(ss);
|
|
1058
|
-
const vs = Yt(os), ms = () =>
|
|
1056
|
+
const vs = Yt(os), ms = () => T(null);
|
|
1059
1057
|
export {
|
|
1060
1058
|
vs as DasProcessTable,
|
|
1061
1059
|
ms as DasProcessTableRef,
|
|
Binary file
|