@das-fed/ui 6.4.0-hot.9.1 → 6.4.0-test.2

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.
Files changed (23) hide show
  1. package/package.json +5 -5
  2. package/packages/business-components/device-panel/index.js +4580 -4484
  3. package/packages/business-components/device-panel/index.js.gz +0 -0
  4. package/packages/business-components/device-panel/style.css +1 -1
  5. package/packages/business-components/device-panel/style.css.gz +0 -0
  6. package/packages/business-components/process-form/App.vue.d.ts +1 -0
  7. package/packages/business-components/process-form/index.d.ts +1 -0
  8. package/packages/business-components/process-form/index.js +926 -912
  9. package/packages/business-components/process-form/index.js.gz +0 -0
  10. package/packages/business-components/process-form/src/widgets/store.d.ts +1 -0
  11. package/packages/business-components/process-form/style.css +1 -1
  12. package/packages/business-components/process-form/type.d.ts +2 -0
  13. package/packages/business-components/process-search-form/hooks/useSearchOptions.d.ts +1 -0
  14. package/packages/business-components/process-search-form/index.js +394 -379
  15. package/packages/business-components/process-search-form/index.js.gz +0 -0
  16. package/packages/business-components/process-table/index.d.ts +11 -2
  17. package/packages/business-components/process-table/index.js +132 -128
  18. package/packages/business-components/process-table/index.js.gz +0 -0
  19. package/packages/business-components/process-table/src/App.vue.d.ts +1 -0
  20. package/packages/business-components/process-table/src/type.d.ts +2 -0
  21. package/packages/business-components/process-table/style.css +1 -1
  22. package/packages/business-components/video-dialog/index.js +202 -202
  23. package/packages/business-components/video-dialog/index.js.gz +0 -0
@@ -1,6 +1,6 @@
1
1
  import '@das-fed/ui/packages/business-components/process-table/style.css';
2
2
  import { withInstall as kt } from "@das-fed/utils/with-install/index";
3
- import { ref as _, useSlots as wt, watch as he, defineComponent as Wt, mergeModels as Ke, useModel as Yt, onMounted as Xt, openBlock as te, createElementBlock as je, normalizeClass as Zt, unref as s, createVNode as I, mergeProps as er, isRef as we, withCtx as F, createCommentVNode as Oe, renderSlot as qe, Fragment as tr, renderList as rr, createBlock as Je, createTextVNode as $e, toDisplayString as Qe, createElementVNode as k } from "vue";
3
+ import { ref as _, useSlots as wt, watch as he, defineComponent as Wt, mergeModels as Ke, useModel as Yt, onMounted as Xt, openBlock as te, createElementBlock as je, normalizeClass as Zt, unref as s, createVNode as F, mergeProps as er, isRef as we, withCtx as M, createCommentVNode as Oe, renderSlot as qe, Fragment as tr, renderList as rr, createBlock as Je, createTextVNode as $e, toDisplayString as Qe, createElementVNode as k } from "vue";
4
4
  import { DasTable as ke, DasTableColumn as ge } from "@das-fed/ui/packages/components/table/index";
5
5
  import { DasDialog as nr } from "@das-fed/ui/packages/components/dialog/index";
6
6
  import { DasButton as We } from "@das-fed/ui/packages/components/button/index";
@@ -56,7 +56,7 @@ function jr(e) {
56
56
  return !!et && et in e;
57
57
  }
58
58
  var wr = Function.prototype, Or = wr.toString;
59
- function V(e) {
59
+ function G(e) {
60
60
  if (e != null) {
61
61
  try {
62
62
  return Or.call(e);
@@ -76,16 +76,16 @@ function Nr(e) {
76
76
  if (!ce(e) || jr(e))
77
77
  return !1;
78
78
  var t = At(e) ? Er : Ar;
79
- return t.test(V(e));
79
+ return t.test(G(e));
80
80
  }
81
81
  function Ir(e, t) {
82
82
  return e == null ? void 0 : e[t];
83
83
  }
84
- function G(e, t) {
84
+ function K(e, t) {
85
85
  var r = Ir(e, t);
86
86
  return Nr(r) ? r : void 0;
87
87
  }
88
- var xe = G(x, "WeakMap"), tt = Object.create, Fr = /* @__PURE__ */ function() {
88
+ var xe = K(x, "WeakMap"), tt = Object.create, Fr = /* @__PURE__ */ function() {
89
89
  function e() {
90
90
  }
91
91
  return function(t) {
@@ -106,7 +106,7 @@ function Mr(e, t) {
106
106
  }
107
107
  var rt = function() {
108
108
  try {
109
- var e = G(Object, "defineProperty");
109
+ var e = K(Object, "defineProperty");
110
110
  return e({}, "", {}), e;
111
111
  } catch {
112
112
  }
@@ -239,7 +239,7 @@ function Mn(e) {
239
239
  function Le(e) {
240
240
  return Et(e) ? Bt(e, !0) : Mn(e);
241
241
  }
242
- var ae = G(Object, "create");
242
+ var ae = K(Object, "create");
243
243
  function Bn() {
244
244
  this.__data__ = ae ? ae(null) : {}, this.size = 0;
245
245
  }
@@ -266,18 +266,18 @@ function Jn(e, t) {
266
266
  var r = this.__data__;
267
267
  return this.size += this.has(e) ? 0 : 1, r[e] = ae && t === void 0 ? qn : t, this;
268
268
  }
269
- function H(e) {
269
+ function V(e) {
270
270
  var t = -1, r = e == null ? 0 : e.length;
271
271
  for (this.clear(); ++t < r; ) {
272
272
  var n = e[t];
273
273
  this.set(n[0], n[1]);
274
274
  }
275
275
  }
276
- H.prototype.clear = Bn;
277
- H.prototype.delete = Ln;
278
- H.prototype.get = Hn;
279
- H.prototype.has = Kn;
280
- H.prototype.set = Jn;
276
+ V.prototype.clear = Bn;
277
+ V.prototype.delete = Ln;
278
+ V.prototype.get = Hn;
279
+ V.prototype.has = Kn;
280
+ V.prototype.set = Jn;
281
281
  function Qn() {
282
282
  this.__data__ = [], this.size = 0;
283
283
  }
@@ -306,24 +306,24 @@ function ea(e, t) {
306
306
  var r = this.__data__, n = Te(r, e);
307
307
  return n < 0 ? (++this.size, r.push([e, t])) : r[n][1] = t, this;
308
308
  }
309
- function B(e) {
309
+ function L(e) {
310
310
  var t = -1, r = e == null ? 0 : e.length;
311
311
  for (this.clear(); ++t < r; ) {
312
312
  var n = e[t];
313
313
  this.set(n[0], n[1]);
314
314
  }
315
315
  }
316
- B.prototype.clear = Qn;
317
- B.prototype.delete = Yn;
318
- B.prototype.get = Xn;
319
- B.prototype.has = Zn;
320
- B.prototype.set = ea;
321
- var oe = G(x, "Map");
316
+ L.prototype.clear = Qn;
317
+ L.prototype.delete = Yn;
318
+ L.prototype.get = Xn;
319
+ L.prototype.has = Zn;
320
+ L.prototype.set = ea;
321
+ var oe = K(x, "Map");
322
322
  function ta() {
323
323
  this.size = 0, this.__data__ = {
324
- hash: new H(),
325
- map: new (oe || B)(),
326
- string: new H()
324
+ hash: new V(),
325
+ map: new (oe || L)(),
326
+ string: new V()
327
327
  };
328
328
  }
329
329
  function ra(e) {
@@ -367,7 +367,7 @@ function zt(e, t) {
367
367
  }
368
368
  var Ut = Lt(Object.getPrototypeOf, Object);
369
369
  function ia() {
370
- this.__data__ = new B(), this.size = 0;
370
+ this.__data__ = new L(), this.size = 0;
371
371
  }
372
372
  function ca(e) {
373
373
  var t = this.__data__, r = t.delete(e);
@@ -382,7 +382,7 @@ function ua(e) {
382
382
  var pa = 200;
383
383
  function fa(e, t) {
384
384
  var r = this.__data__;
385
- if (r instanceof B) {
385
+ if (r instanceof L) {
386
386
  var n = r.__data__;
387
387
  if (!oe || n.length < pa - 1)
388
388
  return n.push([e, t]), this.size = ++r.size, this;
@@ -391,7 +391,7 @@ function fa(e, t) {
391
391
  return r.set(e, t), this.size = r.size, this;
392
392
  }
393
393
  function Z(e) {
394
- var t = this.__data__ = new B(e);
394
+ var t = this.__data__ = new L(e);
395
395
  this.size = t.size;
396
396
  }
397
397
  Z.prototype.clear = ia;
@@ -448,9 +448,9 @@ function ja(e) {
448
448
  function wa(e) {
449
449
  return Gt(e, Le, Vt);
450
450
  }
451
- var Pe = G(x, "DataView"), De = G(x, "Promise"), Ee = G(x, "Set"), pt = "[object Map]", Oa = "[object Object]", ft = "[object Promise]", dt = "[object Set]", gt = "[object WeakMap]", ht = "[object DataView]", $a = V(Pe), Aa = V(oe), Ca = V(De), xa = V(Ee), Pa = V(xe), M = se;
452
- (Pe && M(new Pe(new ArrayBuffer(1))) != ht || oe && M(new oe()) != pt || De && M(De.resolve()) != ft || Ee && M(new Ee()) != dt || xe && M(new xe()) != gt) && (M = function(e) {
453
- var t = se(e), r = t == Oa ? e.constructor : void 0, n = r ? V(r) : "";
451
+ var Pe = K(x, "DataView"), De = K(x, "Promise"), Ee = K(x, "Set"), pt = "[object Map]", Oa = "[object Object]", ft = "[object Promise]", dt = "[object Set]", gt = "[object WeakMap]", ht = "[object DataView]", $a = G(Pe), Aa = G(oe), Ca = G(De), xa = G(Ee), Pa = G(xe), B = se;
452
+ (Pe && B(new Pe(new ArrayBuffer(1))) != ht || oe && B(new oe()) != pt || De && B(De.resolve()) != ft || Ee && B(new Ee()) != dt || xe && B(new xe()) != gt) && (B = function(e) {
453
+ var t = se(e), r = t == Oa ? e.constructor : void 0, n = r ? G(r) : "";
454
454
  if (n)
455
455
  switch (n) {
456
456
  case $a:
@@ -532,11 +532,11 @@ function oo(e) {
532
532
  }
533
533
  var so = "[object Map]";
534
534
  function io(e) {
535
- return ie(e) && M(e) == so;
535
+ return ie(e) && B(e) == so;
536
536
  }
537
537
  var mt = Y && Y.isMap, co = mt ? Me(mt) : io, lo = "[object Set]";
538
538
  function uo(e) {
539
- return ie(e) && M(e) == lo;
539
+ return ie(e) && B(e) == lo;
540
540
  }
541
541
  var Tt = Y && Y.isSet, po = Tt ? Me(Tt) : uo, fo = 1, go = 2, ho = 4, Kt = "[object Arguments]", bo = "[object Array]", yo = "[object Boolean]", vo = "[object Date]", mo = "[object Error]", qt = "[object Function]", To = "[object GeneratorFunction]", _o = "[object Map]", So = "[object Number]", Jt = "[object Object]", jo = "[object RegExp]", wo = "[object Set]", Oo = "[object String]", $o = "[object Symbol]", Ao = "[object WeakMap]", Co = "[object ArrayBuffer]", xo = "[object DataView]", Po = "[object Float32Array]", Do = "[object Float64Array]", Eo = "[object Int8Array]", No = "[object Int16Array]", Io = "[object Int32Array]", Fo = "[object Uint8Array]", Mo = "[object Uint8ClampedArray]", Bo = "[object Uint16Array]", Lo = "[object Uint32Array]", p = {};
542
542
  p[Kt] = p[bo] = p[Co] = p[xo] = p[yo] = p[vo] = p[Po] = p[Do] = p[Eo] = p[No] = p[Io] = p[_o] = p[So] = p[Jt] = p[jo] = p[wo] = p[Oo] = p[$o] = p[Fo] = p[Mo] = p[Bo] = p[Lo] = !0;
@@ -552,7 +552,7 @@ function be(e, t, r, n, i, l) {
552
552
  if (o = Na(e), !d)
553
553
  return Mr(e, o);
554
554
  } else {
555
- var w = M(e), O = w == qt || w == To;
555
+ var w = B(e), O = w == qt || w == To;
556
556
  if (Ft(e))
557
557
  return ba(e, d);
558
558
  if (w == Jt || w == Kt || O && !i) {
@@ -573,7 +573,7 @@ function be(e, t, r, n, i, l) {
573
573
  }) : co(e) && e.forEach(function(b, m) {
574
574
  o.set(m, be(b, t, r, m, e, l));
575
575
  });
576
- var L = g ? u ? wa : ja : u ? Le : Be, D = h ? void 0 : L(e);
576
+ var z = g ? u ? wa : ja : u ? Le : Be, D = h ? void 0 : z(e);
577
577
  return Br(D || e, function(b, m) {
578
578
  D && (m = b, b = e[m]), Pt(o, m, be(b, t, r, m, e, l));
579
579
  }), o;
@@ -583,8 +583,8 @@ function ye(e) {
583
583
  return be(e, zo | Uo);
584
584
  }
585
585
  const Ro = (e, t, r) => {
586
- var ue, pe, J, y;
587
- const n = (ue = Ye()) != null && ue.id ? (pe = Ye()) == null ? void 0 : pe.id : "371344636432453", i = _([]), l = _([]), o = _([]), d = _(), u = wt(), g = ((J = u.prepend) == null ? void 0 : J.call(u)) ?? [], h = ((y = u.append) == null ? void 0 : y.call(u)) ?? [], { reportTableList: w } = lr(e.apiUrl, e.reqMethod), O = _([]), P = _([]), L = _([]), D = _(0), b = _(20), m = _(1), c = _({
586
+ var ue, pe, Q, y;
587
+ const n = (ue = Ye()) != null && ue.id ? (pe = Ye()) == null ? void 0 : pe.id : "371344636432453", i = _([]), l = _([]), o = _([]), d = _(), u = wt(), g = ((Q = u.prepend) == null ? void 0 : Q.call(u)) ?? [], h = ((y = u.append) == null ? void 0 : y.call(u)) ?? [], { reportTableList: w } = lr(e.apiUrl, e.reqMethod), O = _([]), P = _([]), z = _([]), D = _(0), b = _(20), m = _(1), c = _({
588
588
  flowKey: e.flowKey,
589
589
  clientType: e.clientType,
590
590
  permissionFilterTypes: e.permissionQuery,
@@ -622,42 +622,45 @@ const Ro = (e, t, r) => {
622
622
  );
623
623
  const S = async () => {
624
624
  r.value = !0;
625
- const [a, $] = await w(c.value, { params: { project: n } }).run();
626
- r.value = !1, !a && (L.value = $.data, D.value = $.totalCount);
627
- }, A = async () => {
628
- var R;
625
+ const a = {
626
+ ...c.value,
627
+ ...e.extraParams
628
+ }, [A, E] = await w(a, { params: { project: n } }).run();
629
+ r.value = !1, !A && (z.value = E.data, D.value = E.totalCount);
630
+ }, $ = async () => {
631
+ var H;
629
632
  const a = {
630
633
  flowKey: e.flowKey,
631
634
  needDisplayFileds: e.needDisplayFileds,
632
635
  project: n
633
- }, [$, Q] = await cr(a).run();
634
- if ($) return;
635
- const j = Q.value;
636
+ }, [A, E] = await cr(a).run();
637
+ if (A) return;
638
+ const j = E.value;
636
639
  if (!j) return;
637
- let U = [];
638
- if (j.sortField && (O.value = JSON.parse(j.sortField).map((E) => ({
639
- property: E.name,
640
- direction: E.sort
641
- })), P.value = JSON.parse(j.sortField).map((E) => {
642
- const fe = E.sort === "ASC" ? "ascending" : "descending";
640
+ let R = [];
641
+ if (j.sortField && (O.value = JSON.parse(j.sortField).map((N) => ({
642
+ property: N.name,
643
+ direction: N.sort
644
+ })), P.value = JSON.parse(j.sortField).map((N) => {
645
+ const fe = N.sort === "ASC" ? "ascending" : "descending";
643
646
  return {
644
- prop: E.name,
647
+ prop: N.name,
645
648
  order: fe
646
649
  };
647
- }), ((R = O.value) == null ? void 0 : R.length) > 0 ? c.value.sorter = [O.value[0]] : c.value.sorter = [], t("getSearchQuery", c.value), U = O.value.map((E) => E.property)), j.displayField) {
648
- const E = JSON.parse(j.displayField), fe = {}, Se = /* @__PURE__ */ new Map(), Re = [], He = [];
650
+ }), ((H = O.value) == null ? void 0 : H.length) > 0 ? c.value.sorter = [O.value[0]] : c.value.sorter = [], t("getSearchQuery", c.value), R = O.value.map((N) => N.property)), j.displayField) {
651
+ const N = JSON.parse(j.displayField), fe = {}, Se = /* @__PURE__ */ new Map(), Re = [], He = [];
649
652
  j.boDef.boEnt.attributeList.forEach((v) => {
650
653
  fe[v.name] = v;
651
654
  }), h.forEach((v) => {
652
- const T = v.props, N = { desc: T.label, name: T.label };
653
- Se.set(T.prop, N), Re.push({ name: T.prop, desc: T.label, switch: !0 });
655
+ const T = v.props, I = { desc: T.label, name: T.label };
656
+ Se.set(T.prop, I), Re.push({ name: T.prop, desc: T.label, switch: !0 });
654
657
  }), g.forEach((v) => {
655
- const T = v.props, N = { desc: T.label, name: T.label };
656
- Se.set(T.prop, N), He.push({ name: T.prop, desc: T.label, switch: !0 });
657
- }), i.value = [], E.forEach((v) => {
658
+ const T = v.props, I = { desc: T.label, name: T.label };
659
+ Se.set(T.prop, I), He.push({ name: T.prop, desc: T.label, switch: !0 });
660
+ }), i.value = [], N.forEach((v) => {
658
661
  if (Se.has(v.name)) return;
659
662
  const T = fe[v.name];
660
- v.encryption = (T == null ? void 0 : T.encryption) ?? "", U.includes(v.name) ? v.sort = "custom" : v.sort = !1, i.value.push(v);
663
+ v.encryption = (T == null ? void 0 : T.encryption) ?? "", R.includes(v.name) ? v.sort = "custom" : v.sort = !1, i.value.push(v);
661
664
  });
662
665
  const Qt = i.value.map((v) => ({
663
666
  name: v.name,
@@ -667,11 +670,11 @@ const Ro = (e, t, r) => {
667
670
  o.value = [...He, ...Qt, ...Re];
668
671
  const de = window.localStorage.getItem(e.columnSettingName);
669
672
  if (de && de !== "undefined") {
670
- const v = o.value.map((N) => N.name).join(","), T = JSON.parse(de).map((N) => N.name).join(",");
671
- v === T ? d.value = JSON.parse(de) : (d.value = ye(o.value), window.localStorage.setItem(e.columnSettingName, JSON.stringify(o.value))), l.value = i.value.filter((N) => {
673
+ const v = o.value.map((I) => I.name).join(","), T = JSON.parse(de).map((I) => I.name).join(",");
674
+ v === T ? d.value = JSON.parse(de) : (d.value = ye(o.value), window.localStorage.setItem(e.columnSettingName, JSON.stringify(o.value))), l.value = i.value.filter((I) => {
672
675
  let Ve = !1;
673
676
  return d.value.map((Ge) => {
674
- Ge.name === N.name && Ge.switch && (Ve = !0);
677
+ Ge.name === I.name && Ge.switch && (Ve = !0);
675
678
  }), Ve;
676
679
  });
677
680
  } else
@@ -679,29 +682,29 @@ const Ro = (e, t, r) => {
679
682
  }
680
683
  }, C = (a) => {
681
684
  m.value = a, c.value.pageBean.page = a, S();
682
- }, z = (a) => {
685
+ }, U = (a) => {
683
686
  b.value = a, c.value.pageBean.pageSize = a, S();
684
687
  }, ee = (a) => {
685
- const $ = a.order === "ascending" ? "ASC" : "DESC", Q = O.value.find((j) => {
688
+ const A = a.order === "ascending" ? "ASC" : "DESC", E = O.value.find((j) => {
686
689
  if (j.property === a.prop)
687
- return j.direction = $, j;
690
+ return j.direction = A, j;
688
691
  });
689
- c.value.sorter = [Q], t("getSearchQuery", c.value), S();
690
- }, K = _(!0), le = (a, $, Q) => {
691
- const j = a.button_list ? JSON.parse(a.button_list) : [], U = _([]);
692
- if (j && j.length > 0 ? U.value = j.map((R) => ({
693
- label: R.name,
694
- value: R.alias
695
- })) : U.value = [], e.customOperation) {
696
- const R = typeof e.customOperation == "function" ? e.customOperation(a, $, Q) || [] : e.customOperation || [];
697
- U.value.unshift(...R);
692
+ c.value.sorter = [E], t("getSearchQuery", c.value), S();
693
+ }, q = _(!0), le = (a, A, E) => {
694
+ const j = a.button_list ? JSON.parse(a.button_list) : [], R = _([]);
695
+ if (j && j.length > 0 ? R.value = j.map((H) => ({
696
+ label: H.name,
697
+ value: H.alias
698
+ })) : R.value = [], e.customOperation) {
699
+ const H = typeof e.customOperation == "function" ? e.customOperation(a, A, E) || [] : e.customOperation || [];
700
+ R.value.unshift(...H);
698
701
  }
699
- return U.value;
700
- }, q = _(!0);
702
+ return R.value;
703
+ }, J = _(!0);
701
704
  return he(
702
705
  () => l.value,
703
706
  (a) => {
704
- a.length > 0 ? (K.value = !0, q.value = e.selection) : (K.value = !1, q.value = !1);
707
+ a.length > 0 ? (q.value = !0, J.value = e.selection) : (q.value = !1, J.value = !1);
705
708
  },
706
709
  {
707
710
  immediate: !0,
@@ -714,18 +717,18 @@ const Ro = (e, t, r) => {
714
717
  copyDialogHeaderData: d,
715
718
  operation: le,
716
719
  reqTableList: S,
717
- tableData: L,
718
- reqSearchSetting: A,
720
+ tableData: z,
721
+ reqSearchSetting: $,
719
722
  settingHeaderData: i,
720
723
  dialogHeaderData: o,
721
724
  total: D,
722
725
  pageIndex: m,
723
726
  pageSize: b,
724
727
  handleCurrentPageChange: C,
725
- handlePageSizeChange: z,
728
+ handlePageSizeChange: U,
726
729
  sortChange: ee,
727
- customSelectionOptions: q,
728
- showOperationColumn: K
730
+ customSelectionOptions: J,
731
+ showOperationColumn: q
729
732
  };
730
733
  }, Ho = (e, t, r, n, i, l) => {
731
734
  var b, m;
@@ -739,31 +742,31 @@ const Ro = (e, t, r) => {
739
742
  }, P = () => {
740
743
  var c;
741
744
  (c = i.value) == null || c.forEach((S) => S.switch = !1);
742
- }, L = () => {
745
+ }, z = () => {
743
746
  h.value = !0;
744
747
  }, D = () => {
745
748
  g.value = ye(i.value), window.localStorage.setItem(e.columnSettingName, JSON.stringify(g.value));
746
749
  const c = /* @__PURE__ */ new Map();
747
- g.value.forEach((A) => {
748
- c.set(A.name, A);
750
+ g.value.forEach(($) => {
751
+ c.set($.name, $);
749
752
  });
750
753
  const S = [];
751
- u.forEach((A) => {
752
- const C = A.props.prop, z = c.get(C);
753
- S.push(z);
754
- }), d.forEach((A) => {
755
- const C = A.props.prop, z = c.get(C);
756
- S.push(z);
754
+ u.forEach(($) => {
755
+ const C = $.props.prop, U = c.get(C);
756
+ S.push(U);
757
+ }), d.forEach(($) => {
758
+ const C = $.props.prop, U = c.get(C);
759
+ S.push(U);
757
760
  }), t("changeSlotShow", S), h.value = !1;
758
761
  };
759
762
  return he(
760
763
  () => g.value,
761
764
  (c) => {
762
765
  l.value = n.value.filter((S) => {
763
- let A = !1;
766
+ let $ = !1;
764
767
  return c.map((C) => {
765
- C.name === S.name && C.switch && (A = !0);
766
- }), A;
768
+ C.name === S.name && C.switch && ($ = !0);
769
+ }), $;
767
770
  });
768
771
  }
769
772
  ), {
@@ -773,7 +776,7 @@ const Ro = (e, t, r) => {
773
776
  resetDefault: O,
774
777
  showAll: P,
775
778
  setTable: D,
776
- tableSetting: L
779
+ tableSetting: z
777
780
  };
778
781
  }, Vo = (e) => {
779
782
  const r = "****", n = String(e), i = n.slice(0, 15), l = n.slice(15);
@@ -847,6 +850,7 @@ const qo = (e, t) => {
847
850
  needDisplayFileds: { type: Boolean, default: !1 },
848
851
  customOperation: {},
849
852
  searchQuerys: { default: () => [] },
853
+ extraParams: { default: () => ({}) },
850
854
  permissionQuery: { default: () => [1] },
851
855
  apiUrl: { default: "/api/admin/hotent/v1/table/value/report/page" },
852
856
  reqMethod: { default: "post" },
@@ -867,20 +871,20 @@ const qo = (e, t) => {
867
871
  dialogHeaderData: w,
868
872
  tableData: O,
869
873
  reqSearchSetting: P,
870
- settingHeaderData: L,
874
+ settingHeaderData: z,
871
875
  total: D,
872
876
  pageIndex: b,
873
877
  pageSize: m,
874
878
  handleCurrentPageChange: c,
875
879
  handlePageSizeChange: S,
876
- sortChange: A,
880
+ sortChange: $,
877
881
  customSelectionOptions: C,
878
- showOperationColumn: z
879
- } = Ro(n, l, i), { showSettingDialog: ee, cancelTabel: K, resetDefault: le, showAll: q, setTable: ue, tableSetting: pe } = Ho(
882
+ showOperationColumn: U
883
+ } = Ro(n, l, i), { showSettingDialog: ee, cancelTabel: q, resetDefault: le, showAll: J, setTable: ue, tableSetting: pe } = Ho(
880
884
  n,
881
885
  l,
882
886
  w,
883
- L,
887
+ z,
884
888
  d,
885
889
  o
886
890
  );
@@ -889,18 +893,18 @@ const qo = (e, t) => {
889
893
  }), t({
890
894
  reqTableList: h,
891
895
  handleCurrentPageChange: c
892
- }), (J, y) => (te(), je(
896
+ }), (Q, y) => (te(), je(
893
897
  "div",
894
898
  {
895
899
  class: Zt(["das-process-table", { "no-header-column": s(o).length === 0 }])
896
900
  },
897
901
  [
898
- I(s(ke), er({ data: s(O) }, J.$attrs, {
902
+ F(s(ke), er({ data: s(O) }, Q.$attrs, {
899
903
  operation: s(g),
900
904
  total: s(D),
901
905
  selection: s(C),
902
906
  "default-sort": s(u)[0],
903
- showOperationColumn: s(z),
907
+ showOperationColumn: s(U),
904
908
  "current-page": s(b),
905
909
  "onUpdate:currentPage": y[0] || (y[0] = (a) => we(b) ? b.value = a : null),
906
910
  "page-size": s(m),
@@ -908,11 +912,11 @@ const qo = (e, t) => {
908
912
  onCurrentPageChange: s(c),
909
913
  onSizeChange: s(S),
910
914
  onTableSetting: s(pe),
911
- onSortChange: s(A)
915
+ onSortChange: s($)
912
916
  }), {
913
- default: F(() => [
917
+ default: M(() => [
914
918
  Oe(" 此处用来处理业务固定联动字段,前置插槽,插入DasTableColumn"),
915
- qe(J.$slots, "prepend", {}, void 0, !0),
919
+ qe(Q.$slots, "prepend", {}, void 0, !0),
916
920
  (te(!0), je(
917
921
  tr,
918
922
  null,
@@ -923,15 +927,15 @@ const qo = (e, t) => {
923
927
  prop: a.name,
924
928
  "show-overflow-tooltip": !a.encryption
925
929
  }, {
926
- default: F(({ row: $, column: Q, $index: j }) => [
930
+ default: M(({ row: A, column: E, $index: j }) => [
927
931
  a.encryption ? (te(), Je(s(or), {
928
932
  key: 0,
929
933
  placement: "top",
930
- content: $[a.name]
934
+ content: A[a.name]
931
935
  }, {
932
- default: F(() => [
936
+ default: M(() => [
933
937
  $e(
934
- Qe(s(St)($, a)),
938
+ Qe(s(St)(A, a)),
935
939
  1
936
940
  /* TEXT */
937
941
  )
@@ -941,7 +945,7 @@ const qo = (e, t) => {
941
945
  }, 1032, ["content"])) : (te(), je(
942
946
  "span",
943
947
  ko,
944
- Qe(s(St)($, a)),
948
+ Qe(s(St)(A, a)),
945
949
  1
946
950
  /* TEXT */
947
951
  ))
@@ -953,36 +957,36 @@ const qo = (e, t) => {
953
957
  /* KEYED_FRAGMENT */
954
958
  )),
955
959
  Oe(" 此处用来处理业务固定联动字段,后置插槽,插入DasTableColumn"),
956
- qe(J.$slots, "append", {}, void 0, !0)
960
+ qe(Q.$slots, "append", {}, void 0, !0)
957
961
  ]),
958
962
  _: 3
959
963
  /* FORWARDED */
960
964
  }, 16, ["data", "operation", "total", "selection", "default-sort", "showOperationColumn", "current-page", "page-size", "onCurrentPageChange", "onSizeChange", "onTableSetting", "onSortChange"]),
961
965
  Oe(" 配置table显示列 "),
962
- I(s(nr), {
966
+ F(s(nr), {
963
967
  modelValue: s(ee),
964
968
  "onUpdate:modelValue": y[4] || (y[4] = (a) => we(ee) ? ee.value = a : null),
965
969
  width: "960px",
966
970
  title: "列表控制",
967
971
  height: "580px",
968
- onClose: s(K),
972
+ onClose: s(q),
969
973
  "body-style": { padding: "10px 20px 20px" }
970
974
  }, {
971
- footer: F(() => [
975
+ footer: M(() => [
972
976
  k("div", null, [
973
- I(s(We), { onClick: s(K) }, {
974
- default: F(() => y[5] || (y[5] = [
977
+ F(s(We), { onClick: s(q) }, {
978
+ default: M(() => y[5] || (y[5] = [
975
979
  $e("取消")
976
980
  ])),
977
981
  _: 1
978
982
  /* STABLE */
979
983
  }, 8, ["onClick"]),
980
- I(s(We), {
984
+ F(s(We), {
981
985
  btnType: "primary",
982
986
  style: { "margin-left": "12px" },
983
987
  onClick: s(ue)
984
988
  }, {
985
- default: F(() => y[6] || (y[6] = [
989
+ default: M(() => y[6] || (y[6] = [
986
990
  $e("确定")
987
991
  ])),
988
992
  _: 1
@@ -990,7 +994,7 @@ const qo = (e, t) => {
990
994
  }, 8, ["onClick"])
991
995
  ])
992
996
  ]),
993
- default: F(() => [
997
+ default: M(() => [
994
998
  y[7] || (y[7] = k(
995
999
  "div",
996
1000
  { class: "setting-top" },
@@ -1009,33 +1013,33 @@ const qo = (e, t) => {
1009
1013
  k("div", {
1010
1014
  class: "text-btn",
1011
1015
  onClick: y[3] || (y[3] = //@ts-ignore
1012
- (...a) => s(q) && s(q)(...a)),
1016
+ (...a) => s(J) && s(J)(...a)),
1013
1017
  style: { "padding-left": "20px" }
1014
1018
  }, "全部隐藏")
1015
1019
  ]),
1016
- I(s(ke), {
1020
+ F(s(ke), {
1017
1021
  data: s(d),
1018
1022
  "outer-border": "",
1019
1023
  ref: "setTableRef",
1020
1024
  "max-height": "377px"
1021
1025
  }, {
1022
- default: F(() => [
1023
- I(s(ge), {
1026
+ default: M(() => [
1027
+ F(s(ge), {
1024
1028
  type: "index",
1025
1029
  width: "56"
1026
1030
  }),
1027
- I(s(ge), {
1031
+ F(s(ge), {
1028
1032
  label: "列名",
1029
1033
  prop: "desc"
1030
1034
  }),
1031
- I(s(ge), {
1035
+ F(s(ge), {
1032
1036
  label: "显示列",
1033
1037
  prop: "switch"
1034
1038
  }, {
1035
- default: F(({ row: a }) => [
1036
- I(s(ar), {
1039
+ default: M(({ row: a }) => [
1040
+ F(s(ar), {
1037
1041
  modelValue: a.switch,
1038
- "onUpdate:modelValue": ($) => a.switch = $
1042
+ "onUpdate:modelValue": (A) => a.switch = A
1039
1043
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
1040
1044
  ]),
1041
1045
  _: 1
@@ -1059,7 +1063,7 @@ const qo = (e, t) => {
1059
1063
  for (const [n, i] of t)
1060
1064
  r[n] = i;
1061
1065
  return r;
1062
- }, Zo = /* @__PURE__ */ Xo(Yo, [["__scopeId", "data-v-c8d47160"]]), us = kt(Zo), ps = () => _(null);
1066
+ }, Zo = /* @__PURE__ */ Xo(Yo, [["__scopeId", "data-v-d10f5660"]]), us = kt(Zo), ps = () => _(null);
1063
1067
  export {
1064
1068
  us as DasProcessTable,
1065
1069
  ps as DasProcessTableRef,
@@ -2432,6 +2432,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
2432
2432
  needDisplayFileds: boolean;
2433
2433
  clientType: "pc" | "mobile";
2434
2434
  searchQuerys: import("./type").SearchQuerys[] | [];
2435
+ extraParams: Record<string, any>;
2435
2436
  permissionQuery: number[];
2436
2437
  apiUrl: string;
2437
2438
  reqMethod: string;
@@ -96,6 +96,8 @@ export interface Props {
96
96
 
97
97
  searchQuerys?: SearchQuerys[] | []
98
98
 
99
+ extraParams?: Record<string, any>
100
+
99
101
  permissionQuery: number[]
100
102
 
101
103
  apiUrl?: string | undefined
@@ -1 +1 @@
1
- .das-process-table[data-v-c8d47160]{width:100%;height:100%}.das-process-table .setting-top[data-v-c8d47160]{border-bottom:1px solid #e5e5e5}.das-process-table .setting-top .setting-top-content[data-v-c8d47160]{width:88px;height:32px;line-height:32px;text-align:center;background:#fff;font-size:12px;color:#5582f3;letter-spacing:0;font-weight:400;border-bottom:2px solid #5582f3}.das-process-table .operate[data-v-c8d47160]{display:flex;justify-content:flex-end;align-items:center;height:40px}.das-process-table .operate .text-btn[data-v-c8d47160]{font-size:14px;color:#5582f3;letter-spacing:0;line-height:21px;font-weight:400;cursor:pointer}.das-process-table[data-v-c8d47160] .das-ui-switch{display:block}.no-header-column[data-v-c8d47160] .el-table td.el-table__cell,.no-header-column[data-v-c8d47160] .el-table th.el-table__cell.is-leaf{border-bottom:none}
1
+ .das-process-table[data-v-d10f5660]{width:100%;height:100%}.das-process-table .setting-top[data-v-d10f5660]{border-bottom:1px solid #e5e5e5}.das-process-table .setting-top .setting-top-content[data-v-d10f5660]{width:88px;height:32px;line-height:32px;text-align:center;background:#fff;font-size:12px;color:#5582f3;letter-spacing:0;font-weight:400;border-bottom:2px solid #5582f3}.das-process-table .operate[data-v-d10f5660]{display:flex;justify-content:flex-end;align-items:center;height:40px}.das-process-table .operate .text-btn[data-v-d10f5660]{font-size:14px;color:#5582f3;letter-spacing:0;line-height:21px;font-weight:400;cursor:pointer}.das-process-table[data-v-d10f5660] .das-ui-switch{display:block}.no-header-column[data-v-d10f5660] .el-table td.el-table__cell,.no-header-column[data-v-d10f5660] .el-table th.el-table__cell.is-leaf{border-bottom:none}