@das-fed/upf-ui 6.4.0-dev.214 → 6.4.0-dev.216
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/front-end/i18n/front-end-page/dasui_en-US.js +4 -4
- package/front-end/i18n/front-end-page/dasui_zh-CN.js +4 -4
- package/front-end/i18n/front-end-page/dasui_zh-MO.js +4 -4
- package/package.json +5 -5
- package/packages/business-components/ai-panel/index-B4pMosXu.js +143 -0
- package/packages/business-components/ai-panel/index-B4pMosXu.js.gz +0 -0
- package/packages/business-components/ai-panel/{index-BybM3Q9u.js → index-BgyMyjJo.js} +711 -700
- package/packages/business-components/ai-panel/index-BgyMyjJo.js.gz +0 -0
- package/packages/business-components/ai-panel/{index-CwdJKHy0.js → index-Bw7rNZmA.js} +9 -9
- package/packages/business-components/ai-panel/index-Bw7rNZmA.js.gz +0 -0
- package/packages/business-components/ai-panel/index.js +1 -1
- package/packages/business-components/change-enterprises/index.d.ts +5 -5
- package/packages/business-components/change-enterprises/src/index.vue.d.ts +1 -1
- package/packages/business-components/device-panel/index.js +8873 -8773
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/echarts/index.js +2056 -2049
- 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 +130 -128
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/index.js +904 -896
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/user-org-dialog/index.js +249 -246
- package/packages/business-components/user-org-dialog/index.js.gz +0 -0
- package/packages/business-components/video-dialog/index.js +1 -0
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/components/autocomplete/index.js +12 -6
- 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 +63 -61
- package/packages/components/dimple-layout/index.js.gz +0 -0
- package/packages/components/dropdown/index.js +23 -22
- package/packages/components/dropdown/index.js.gz +0 -0
- package/packages/components/edit-table/index.js +224 -223
- package/packages/components/edit-table/index.js.gz +0 -0
- package/packages/components/error-overlay-model/index.js +44 -42
- package/packages/components/error-overlay-model/index.js.gz +0 -0
- package/packages/components/form-item/index.js +67 -63
- 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.js +51 -51
- package/packages/components/input/index.js.gz +0 -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 +834 -832
- package/packages/components/live-player/index.js.gz +0 -0
- package/packages/components/map/index.js +437 -431
- 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 +4586 -4556
- 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 +10 -6
- package/packages/components/select-list/index.js.gz +0 -0
- package/packages/components/special-range-picker-month/index.js +16 -14
- package/packages/components/special-range-picker-month/index.js.gz +0 -0
- package/packages/components/special-range-picker-year/index.js +53 -51
- 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 +102 -101
- package/packages/components/split-panel/index.js.gz +0 -0
- package/packages/components/table/index.js +604 -599
- 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 +182 -173
- 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 +1240 -1208
- package/packages/components/tree-v2/index.js.gz +0 -0
- package/packages/business-components/ai-panel/index-BybM3Q9u.js.gz +0 -0
- package/packages/business-components/ai-panel/index-CgWRv2Ge.js +0 -142
- package/packages/business-components/ai-panel/index-CgWRv2Ge.js.gz +0 -0
- package/packages/business-components/ai-panel/index-CwdJKHy0.js.gz +0 -0
- package/packages/components/input/index.d.ts +0 -4264
- package/packages/components/input/src/index.vue.d.ts +0 -1432
- package/packages/components/virtual-tree/src/App.vue.d.ts +0 -3974
- package/packages/components/virtual-tree/src/type.d.ts +0 -43
|
@@ -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 S, 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 h = t[i], l = void 0;
|
|
146
|
+
l === void 0 && (l = e[h]), s ? Pt(r, h, l) : Et(r, h, 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]", g = {};
|
|
180
|
+
g[vn] = g[mn] = g[_n] = g[Tn] = g[Sn] = g[wn] = g[jn] = g[On] = g[$n] = !0;
|
|
181
|
+
g[rn] = g[nn] = g[bn] = g[an] = g[yn] = g[on] = g[sn] = g[ln] = g[cn] = g[un] = g[pn] = g[fn] = g[dn] = g[gn] = g[hn] = !1;
|
|
182
182
|
function Cn(e) {
|
|
183
|
-
return fe(e) && Nt(e.length) && !!
|
|
183
|
+
return fe(e) && Nt(e.length) && !!g[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, h = o ? Qr(e.length, String) : [], l = h.length;
|
|
199
|
+
for (var d in e)
|
|
200
|
+
(t || Dn.call(e, d)) && !(o && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
201
|
+
(d == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
202
|
+
s && (d == "offset" || d == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
203
|
+
i && (d == "buffer" || d == "byteLength" || d == "byteOffset") || // Skip index properties.
|
|
204
|
+
Gr(d, l))) && h.push(d);
|
|
205
|
+
return h;
|
|
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]", f = {};
|
|
543
|
+
f[qt] = f[mo] = f[Do] = f[Eo] = f[_o] = f[To] = f[No] = f[Mo] = f[Fo] = f[Io] = f[zo] = f[jo] = f[Oo] = f[Jt] = f[$o] = f[Co] = f[Ao] = f[xo] = f[Bo] = f[Lo] = f[Uo] = f[Ro] = !0;
|
|
544
|
+
f[So] = f[Qt] = f[Po] = !1;
|
|
545
545
|
function me(e, t, r, n, s, i) {
|
|
546
|
-
var o,
|
|
546
|
+
var o, h = t & bo, l = t & yo, d = 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), !h)
|
|
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, h);
|
|
559
559
|
if (w == Jt || w == qt || E && !s) {
|
|
560
|
-
if (o = l || E ? {} : lo(e), !
|
|
560
|
+
if (o = l || E ? {} : lo(e), !h)
|
|
561
561
|
return l ? Oa(e, ya(o, e)) : wa(e, ba(o, e));
|
|
562
562
|
} else {
|
|
563
|
-
if (!
|
|
563
|
+
if (!f[w])
|
|
564
564
|
return s ? e : {};
|
|
565
|
-
o = io(e, w,
|
|
565
|
+
o = io(e, w, h);
|
|
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 = d ? 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, p, M;
|
|
588
|
+
const n = (Z = et()) != null && Z.id ? (A = et()) == null ? void 0 : A.id : "371344636432453", s = S([]), i = S([]), o = S([]), h = S(), l = $t(), d = ((p = l.prepend) == null ? void 0 : p.call(l)) ?? [], b = ((M = l.append) == null ? void 0 : M.call(l)) ?? [], w = S(!1), { reportTableList: E } = fr(e.apiUrl, e.reqMethod), O = S([]), R = S([]), N = S([]), m = S(0), _ = S(20), y = S(1), u = S({
|
|
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
|
+
u.value.querys = c, t("getSearchQuery", u.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
|
+
u.value.permissionFilterTypes = c, t("getSearchQuery", u.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, console.log(e.extraParams, "==props.extraParams");
|
|
637
637
|
const c = {
|
|
638
|
-
...
|
|
638
|
+
...u.value,
|
|
639
639
|
...e.extraParams,
|
|
640
|
-
sorter:
|
|
640
|
+
sorter: u.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 ? u.value.sorter = [O.value[0]] : u.value.sorter = [], t("getSearchQuery", u.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 T = v.props, I = { desc: T.label, name: T.label };
|
|
669
|
+
$e.set(T.prop, I), Ve.push({ name: T.prop, desc: T.label, switch: !0 });
|
|
670
|
+
}), d.forEach((v) => {
|
|
671
|
+
const T = v.props, I = { desc: T.label, name: T.label };
|
|
672
|
+
$e.set(T.prop, I), ke.push({ name: T.prop, desc: T.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 T = be[v.name];
|
|
676
|
+
v.encryption = (T == null ? void 0 : T.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], console.log("显示列", s.value);
|
|
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
|
-
v ===
|
|
688
|
-
let
|
|
689
|
-
return
|
|
690
|
-
qe.name === I.name && qe.switch && (
|
|
691
|
-
}),
|
|
686
|
+
const v = o.value.map((I) => I.name).join(","), T = JSON.parse(ye).map((I) => I.name).join(",");
|
|
687
|
+
console.log("reqName===storeName", v === T), v === T ? h.value = JSON.parse(ye) : (h.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 h.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), h.value = _e(o.value);
|
|
695
695
|
}
|
|
696
696
|
w.value = !0;
|
|
697
697
|
}, ae = (c) => {
|
|
698
|
-
y.value = c,
|
|
698
|
+
y.value = c, u.value.pageBean.page = c, C();
|
|
699
699
|
}, ge = (c) => {
|
|
700
|
-
_.value = c,
|
|
700
|
+
_.value = c, u.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
|
+
u.value.sorter = [P], console.log("reqData.value.sorter: ", u.value.sorter), t("getSearchQuery", u.value), C();
|
|
707
|
+
}, V = S(!0), Oe = (c, x, P) => {
|
|
708
|
+
const j = c.button_list ? JSON.parse(c.button_list) : [], K = S([]);
|
|
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 = S(!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: h,
|
|
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(), h = ((m = o.append) == null ? void 0 : m.call(o)) ?? [], l = ((_ = o.prepend) == null ? void 0 : _.call(o)) ?? [], d = S([]), b = S(!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((u) => u.switch = !0);
|
|
756
756
|
}, O = () => {
|
|
757
757
|
var y;
|
|
758
|
-
(y = s.value) == null || y.forEach((
|
|
758
|
+
(y = s.value) == null || y.forEach((u) => u.switch = !1);
|
|
759
759
|
}, R = () => {
|
|
760
760
|
b.value = !0;
|
|
761
761
|
}, N = () => {
|
|
762
|
-
|
|
762
|
+
d.value = _e(s.value), window.localStorage.setItem(e.columnSettingName, JSON.stringify(d.value)), console.log("headerBackData.value: ", d.value);
|
|
763
763
|
const y = /* @__PURE__ */ new Map();
|
|
764
|
-
|
|
764
|
+
d.value.forEach(($) => {
|
|
765
765
|
y.set($.name, $);
|
|
766
766
|
});
|
|
767
|
-
const
|
|
767
|
+
const u = [];
|
|
768
768
|
l.forEach(($) => {
|
|
769
769
|
const C = $.props.prop, G = y.get(C);
|
|
770
|
-
|
|
771
|
-
}),
|
|
770
|
+
u.push(G);
|
|
771
|
+
}), h.forEach(($) => {
|
|
772
772
|
const C = $.props.prop, G = y.get(C);
|
|
773
|
-
|
|
774
|
-
}), t("changeSlotShow",
|
|
773
|
+
u.push(G);
|
|
774
|
+
}), t("changeSlotShow", u), b.value = !1;
|
|
775
775
|
};
|
|
776
776
|
return ie(
|
|
777
|
-
() =>
|
|
777
|
+
() => d.value,
|
|
778
778
|
(y) => {
|
|
779
|
-
i.value = n.value.filter((
|
|
779
|
+
console.log("copySettingHeaderData: ", i.value), i.value = n.value.filter((u) => {
|
|
780
780
|
let $ = !1;
|
|
781
781
|
return y.map((C) => {
|
|
782
|
-
C.name ===
|
|
782
|
+
C.name === u.name && C.switch && ($ = !0);
|
|
783
783
|
}), $;
|
|
784
784
|
});
|
|
785
785
|
}
|
|
786
786
|
), {
|
|
787
|
-
headerBackData:
|
|
787
|
+
headerBackData: d,
|
|
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 d = l.length;
|
|
799
|
+
if (d < 6) return l;
|
|
800
800
|
let b = 0;
|
|
801
|
-
switch (
|
|
801
|
+
switch (d) {
|
|
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,11 +879,13 @@ 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
|
|
882
|
+
const n = e;
|
|
883
|
+
console.log("props", n);
|
|
884
|
+
const s = Zt(e, "loading"), i = r, {
|
|
883
885
|
copySettingHeaderData: o,
|
|
884
|
-
copyDialogHeaderData:
|
|
886
|
+
copyDialogHeaderData: h,
|
|
885
887
|
defaultFilterSetting: l,
|
|
886
|
-
operation:
|
|
888
|
+
operation: d,
|
|
887
889
|
reqTableList: b,
|
|
888
890
|
dialogHeaderData: w,
|
|
889
891
|
tableData: E,
|
|
@@ -893,16 +895,16 @@ const Jo = (e, t) => {
|
|
|
893
895
|
pageIndex: m,
|
|
894
896
|
pageSize: _,
|
|
895
897
|
handleCurrentPageChange: y,
|
|
896
|
-
handlePageSizeChange:
|
|
898
|
+
handlePageSizeChange: u,
|
|
897
899
|
sortChange: $,
|
|
898
900
|
customSelectionOptions: C,
|
|
899
901
|
showOperationColumn: G
|
|
900
|
-
} = Vo(n, i, s), { showSettingDialog: ae, cancelTabel: ge, resetDefault: he, showAll: V, setTable: Oe, tableSetting:
|
|
902
|
+
} = Vo(n, i, s), { showSettingDialog: ae, cancelTabel: ge, resetDefault: he, showAll: V, setTable: Oe, tableSetting: k } = ko(
|
|
901
903
|
n,
|
|
902
904
|
i,
|
|
903
905
|
w,
|
|
904
906
|
R,
|
|
905
|
-
|
|
907
|
+
h,
|
|
906
908
|
o
|
|
907
909
|
);
|
|
908
910
|
return er(async () => {
|
|
@@ -914,41 +916,41 @@ const Jo = (e, t) => {
|
|
|
914
916
|
class: tr(["das-process-table", { "no-header-column": a(o).length === 0 }])
|
|
915
917
|
}, [
|
|
916
918
|
z(a(Xe), rr({ data: a(E) }, Z.$attrs, {
|
|
917
|
-
operation: a(
|
|
919
|
+
operation: a(d),
|
|
918
920
|
total: a(N),
|
|
919
921
|
selection: a(C),
|
|
920
922
|
"default-sort": a(l)[0],
|
|
921
923
|
showOperationColumn: a(G),
|
|
922
924
|
"current-page": a(m),
|
|
923
|
-
"onUpdate:currentPage": A[0] || (A[0] = (
|
|
925
|
+
"onUpdate:currentPage": A[0] || (A[0] = (p) => Ae(m) ? m.value = p : null),
|
|
924
926
|
"page-size": a(_),
|
|
925
|
-
"onUpdate:pageSize": A[1] || (A[1] = (
|
|
927
|
+
"onUpdate:pageSize": A[1] || (A[1] = (p) => Ae(_) ? _.value = p : null),
|
|
926
928
|
onCurrentPageChange: a(y),
|
|
927
|
-
onSizeChange: a(
|
|
928
|
-
onTableSetting: a(
|
|
929
|
+
onSizeChange: a(u),
|
|
930
|
+
onTableSetting: a(k),
|
|
929
931
|
onSortChange: a($)
|
|
930
932
|
}), {
|
|
931
933
|
default: B(() => [
|
|
932
934
|
Je(Z.$slots, "prepend", {}, void 0, !0),
|
|
933
|
-
(oe(!0), Ce(nr, null, ar(a(o), (
|
|
934
|
-
sortable:
|
|
935
|
-
key:
|
|
936
|
-
label:
|
|
937
|
-
prop:
|
|
938
|
-
"show-overflow-tooltip": !
|
|
935
|
+
(oe(!0), Ce(nr, null, ar(a(o), (p) => (oe(), We(a(ve), {
|
|
936
|
+
sortable: p.sort,
|
|
937
|
+
key: p.name,
|
|
938
|
+
label: p.desc,
|
|
939
|
+
prop: p.name,
|
|
940
|
+
"show-overflow-tooltip": !p.encryption
|
|
939
941
|
}, {
|
|
940
942
|
default: B(({ row: M, column: c, $index: x }) => [
|
|
941
|
-
|
|
943
|
+
p.encryption ? (oe(), We(a(lr), {
|
|
942
944
|
key: 0,
|
|
943
945
|
placement: "top",
|
|
944
|
-
disabled: a(De)(M,
|
|
945
|
-
content: M[
|
|
946
|
+
disabled: a(De)(M, p) === "-",
|
|
947
|
+
content: M[p.name]
|
|
946
948
|
}, {
|
|
947
949
|
default: B(() => [
|
|
948
|
-
Q("div", Xo, J(a(De)(M,
|
|
950
|
+
Q("div", Xo, J(a(De)(M, p)), 1)
|
|
949
951
|
]),
|
|
950
952
|
_: 2
|
|
951
|
-
}, 1032, ["disabled", "content"])) : (oe(), Ce("span", Zo, J(a(De)(M,
|
|
953
|
+
}, 1032, ["disabled", "content"])) : (oe(), Ce("span", Zo, J(a(De)(M, p)), 1))
|
|
952
954
|
]),
|
|
953
955
|
_: 2
|
|
954
956
|
}, 1032, ["sortable", "label", "prop", "show-overflow-tooltip"]))), 128)),
|
|
@@ -958,7 +960,7 @@ const Jo = (e, t) => {
|
|
|
958
960
|
}, 16, ["data", "operation", "total", "selection", "default-sort", "showOperationColumn", "current-page", "page-size", "onCurrentPageChange", "onSizeChange", "onTableSetting", "onSortChange"]),
|
|
959
961
|
z(a(sr), {
|
|
960
962
|
modelValue: a(ae),
|
|
961
|
-
"onUpdate:modelValue": A[4] || (A[4] = (
|
|
963
|
+
"onUpdate:modelValue": A[4] || (A[4] = (p) => Ae(ae) ? ae.value = p : null),
|
|
962
964
|
width: "960px",
|
|
963
965
|
title: a(H)("列表控制"),
|
|
964
966
|
height: "580px",
|
|
@@ -993,17 +995,17 @@ const Jo = (e, t) => {
|
|
|
993
995
|
Q("div", {
|
|
994
996
|
class: "text-btn",
|
|
995
997
|
onClick: A[2] || (A[2] = //@ts-ignore
|
|
996
|
-
(...
|
|
998
|
+
(...p) => a(he) && a(he)(...p))
|
|
997
999
|
}, J(a(H)("恢复默认")), 1),
|
|
998
1000
|
Q("div", {
|
|
999
1001
|
class: "text-btn",
|
|
1000
1002
|
onClick: A[3] || (A[3] = //@ts-ignore
|
|
1001
|
-
(...
|
|
1003
|
+
(...p) => a(V) && a(V)(...p)),
|
|
1002
1004
|
style: { "padding-left": "20px" }
|
|
1003
1005
|
}, J(a(H)("全部隐藏")), 1)
|
|
1004
1006
|
]),
|
|
1005
1007
|
z(a(Xe), {
|
|
1006
|
-
data: a(
|
|
1008
|
+
data: a(h),
|
|
1007
1009
|
"outer-border": "",
|
|
1008
1010
|
ref: "setTableRef",
|
|
1009
1011
|
"max-height": "377px"
|
|
@@ -1021,10 +1023,10 @@ const Jo = (e, t) => {
|
|
|
1021
1023
|
label: a(H)("显示列"),
|
|
1022
1024
|
prop: "switch"
|
|
1023
1025
|
}, {
|
|
1024
|
-
default: B(({ row:
|
|
1026
|
+
default: B(({ row: p }) => [
|
|
1025
1027
|
z(a(ir), {
|
|
1026
|
-
modelValue:
|
|
1027
|
-
"onUpdate:modelValue": (M) =>
|
|
1028
|
+
modelValue: p.switch,
|
|
1029
|
+
"onUpdate:modelValue": (M) => p.switch = M
|
|
1028
1030
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
1029
1031
|
]),
|
|
1030
1032
|
_: 1
|
|
@@ -1053,7 +1055,7 @@ const Jo = (e, t) => {
|
|
|
1053
1055
|
确定: { "zh-CN": "确定", en: "OK", "zh-MO": "確定", _appCode: "framework" }
|
|
1054
1056
|
};
|
|
1055
1057
|
or(ss);
|
|
1056
|
-
const vs = Yt(os), ms = () =>
|
|
1058
|
+
const vs = Yt(os), ms = () => S(null);
|
|
1057
1059
|
export {
|
|
1058
1060
|
vs as DasProcessTable,
|
|
1059
1061
|
ms as DasProcessTableRef,
|
|
Binary file
|