@ebiz/designer-components 0.0.53 → 0.0.55

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/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as lP from "vue";
2
- import { getCurrentInstance as gn, inject as $t, computed as I, ref as H, h as ft, defineComponent as ie, onMounted as Ue, nextTick as bt, createVNode as h, isVNode as wt, Fragment as tt, watch as se, toRefs as $e, Teleport as ci, mergeProps as xe, reactive as Ut, createApp as bv, onUnmounted as Fr, onBeforeUnmount as un, provide as Qt, Comment as Cv, onActivated as oP, onDeactivated as iP, onBeforeMount as mC, onUpdated as ho, Text as hC, withDirectives as On, vShow as Bn, Transition as Jl, onBeforeUpdate as uP, watchEffect as js, createTextVNode as He, unref as le, getCurrentScope as sP, onScopeDispose as cP, TransitionGroup as dP, readonly as vP, resolveDirective as fP, cloneVNode as Ff, shallowRef as pd, createElementBlock as ke, openBlock as oe, withCtx as ne, renderSlot as ce, toDisplayString as Le, createCommentVNode as Ye, createBlock as Ie, createSlots as Rt, normalizeStyle as Kn, normalizeClass as Tr, createElementVNode as me, useCssVars as pC, renderList as en, normalizeProps as Qn, guardReactiveProps as ea, useSlots as gP, resolveComponent as mP, withKeys as hP, withModifiers as Af, vModelText as $f } from "vue";
2
+ import { getCurrentInstance as gn, inject as $t, computed as I, ref as H, h as ft, defineComponent as ie, onMounted as Ue, nextTick as bt, createVNode as h, isVNode as wt, Fragment as tt, watch as se, toRefs as $e, Teleport as ci, mergeProps as xe, reactive as Ut, createApp as bv, onUnmounted as Fr, onBeforeUnmount as un, provide as Qt, Comment as Cv, onActivated as oP, onDeactivated as iP, onBeforeMount as mC, onUpdated as ho, Text as hC, withDirectives as On, vShow as Bn, Transition as Jl, onBeforeUpdate as uP, watchEffect as js, createTextVNode as He, unref as le, getCurrentScope as sP, onScopeDispose as cP, TransitionGroup as dP, readonly as vP, resolveDirective as fP, cloneVNode as Ff, shallowRef as pd, createElementBlock as ke, openBlock as oe, withCtx as ne, renderSlot as ce, toDisplayString as Le, createCommentVNode as We, createBlock as Ie, createSlots as Rt, normalizeStyle as Kn, normalizeClass as Tr, createElementVNode as me, useCssVars as pC, renderList as en, normalizeProps as Qn, guardReactiveProps as ea, useSlots as gP, resolveComponent as mP, withKeys as hP, withModifiers as Af, vModelText as $f } from "vue";
3
3
  /**
4
4
  * tdesign v1.12.0
5
5
  * (c) 2025 tdesign
@@ -9270,7 +9270,7 @@ function P$(t) {
9270
9270
  P[O] = be, _[O] = be - j;
9271
9271
  }
9272
9272
  if (i) {
9273
- var Pe, Fe = O === "x" ? Vn : zn, Ge = O === "x" ? ha : pa, De = P[S], Re = S === "y" ? "height" : "width", Ae = De + p[Fe], qe = De - p[Ge], We = [Vn, zn].indexOf(y) !== -1, Xe = (Pe = F == null ? void 0 : F[S]) != null ? Pe : 0, we = We ? Ae : De - w[Re] - D[Re] - Xe + k.altAxis, ue = We ? De + w[Re] + D[Re] - Xe - k.altAxis : qe, te = f && We ? qA(we, De, ue) : ei(f ? we : Ae, De, f ? ue : qe);
9273
+ var Pe, Fe = O === "x" ? Vn : zn, Ge = O === "x" ? ha : pa, De = P[S], Re = S === "y" ? "height" : "width", Ae = De + p[Fe], qe = De - p[Ge], Ye = [Vn, zn].indexOf(y) !== -1, Xe = (Pe = F == null ? void 0 : F[S]) != null ? Pe : 0, we = Ye ? Ae : De - w[Re] - D[Re] - Xe + k.altAxis, ue = Ye ? De + w[Re] + D[Re] - Xe - k.altAxis : qe, te = f && Ye ? qA(we, De, ue) : ei(f ? we : Ae, De, f ? ue : qe);
9274
9274
  P[S] = te, _[S] = te - De;
9275
9275
  }
9276
9276
  e.modifiersData[a] = _;
@@ -14698,7 +14698,7 @@ var HM = function() {
14698
14698
  }), !M.value && re(ge, Ee), bt(function() {
14699
14699
  U(), M.value = !1;
14700
14700
  });
14701
- }, We = function(ge, Ee) {
14701
+ }, Ye = function(ge, Ee) {
14702
14702
  var je, Ne;
14703
14703
  M.value = !0, (je = m.value) === null || je === void 0 || (Ne = je.onCompositionstart) === null || Ne === void 0 || Ne.call(je, ge, Ee);
14704
14704
  }, Xe = function(ge, Ee) {
@@ -14800,7 +14800,7 @@ var HM = function() {
14800
14800
  onFocus: ae,
14801
14801
  onBlur: fe,
14802
14802
  onClick: we,
14803
- onCompositionstart: We,
14803
+ onCompositionstart: Ye,
14804
14804
  onCompositionend: Xe
14805
14805
  }, m.value), {
14806
14806
  suffix: a.suffix
@@ -16763,7 +16763,7 @@ var PN = ie({
16763
16763
  };
16764
16764
  });
16765
16765
  Qt(ac, qe);
16766
- var We = function() {
16766
+ var Ye = function() {
16767
16767
  !e.multiple && Ve(w.value) && D(void 0, {
16768
16768
  selectedOptions: [],
16769
16769
  trigger: "default"
@@ -16835,7 +16835,7 @@ var PN = ie({
16835
16835
  }
16836
16836
  };
16837
16837
  se(w, function(he) {
16838
- We(), bt(function() {
16838
+ Ye(), bt(function() {
16839
16839
  ae(he);
16840
16840
  });
16841
16841
  }, {
@@ -16843,7 +16843,7 @@ var PN = ie({
16843
16843
  }), se(function() {
16844
16844
  return e.multiple;
16845
16845
  }, function() {
16846
- We();
16846
+ Ye();
16847
16847
  });
16848
16848
  var fe = function(pe) {
16849
16849
  var ge;
@@ -24831,8 +24831,8 @@ var vL = ie({
24831
24831
  CloseCircleFilledIcon: ji,
24832
24832
  ErrorCircleFilledIcon: yr
24833
24833
  }), c = u.CheckCircleFilledIcon, s = u.CloseCircleFilledIcon, d = u.ErrorCircleFilledIcon, v = $t(k1, void 0), f = de(), g = de("form-item"), m = I(function() {
24834
- var De, Re, Ae = (De = (Re = e.requiredMark) !== null && Re !== void 0 ? Re : v == null ? void 0 : v.requiredMark) !== null && De !== void 0 ? De : i.value.requiredMark, qe = q.value.filter(function(We) {
24835
- return We.required;
24834
+ var De, Re, Ae = (De = (Re = e.requiredMark) !== null && Re !== void 0 ? Re : v == null ? void 0 : v.requiredMark) !== null && De !== void 0 ? De : i.value.requiredMark, qe = q.value.filter(function(Ye) {
24835
+ return Ye.required;
24836
24836
  }).length > 0;
24837
24837
  return Ae ?? qe;
24838
24838
  }), p = I(function() {
@@ -24873,11 +24873,11 @@ var vL = ie({
24873
24873
  if (x.value === Qa.SUCCESS)
24874
24874
  return Re(c);
24875
24875
  if (Ae != null && Ae[0]) {
24876
- var qe = Ae[0].type || "error", We = {
24876
+ var qe = Ae[0].type || "error", Ye = {
24877
24877
  error: s,
24878
24878
  warning: d
24879
24879
  }[qe] || c;
24880
- return Re(We);
24880
+ return Re(Ye);
24881
24881
  }
24882
24882
  return null;
24883
24883
  }, k = function() {
@@ -24952,27 +24952,27 @@ var vL = ie({
24952
24952
  return Se(v == null ? void 0 : v.rules, e.name) || Se(v == null ? void 0 : v.rules, Ae) || [];
24953
24953
  }), Y = /* @__PURE__ */ function() {
24954
24954
  var De = an(/* @__PURE__ */ mt.mark(function Re(Ae) {
24955
- var qe, We;
24955
+ var qe, Ye;
24956
24956
  return mt.wrap(function(we) {
24957
24957
  for (; ; ) switch (we.prev = we.next) {
24958
24958
  case 0:
24959
- if (We = {
24959
+ if (Ye = {
24960
24960
  successList: [],
24961
24961
  errorList: [],
24962
24962
  rules: [],
24963
24963
  resultList: [],
24964
24964
  allowSetValue: !1
24965
- }, We.rules = Ae === "all" ? q.value : q.value.filter(function(ue) {
24965
+ }, Ye.rules = Ae === "all" ? q.value : q.value.filter(function(ue) {
24966
24966
  return (ue.trigger || "change") === Ae;
24967
- }), !(q.value.length && !((qe = We.rules) !== null && qe !== void 0 && qe.length))) {
24967
+ }), !(q.value.length && !((qe = Ye.rules) !== null && qe !== void 0 && qe.length))) {
24968
24968
  we.next = 4;
24969
24969
  break;
24970
24970
  }
24971
- return we.abrupt("return", We);
24971
+ return we.abrupt("return", Ye);
24972
24972
  case 4:
24973
- return We.allowSetValue = !0, we.next = 7, sf(W.value, We.rules);
24973
+ return Ye.allowSetValue = !0, we.next = 7, sf(W.value, Ye.rules);
24974
24974
  case 7:
24975
- return We.resultList = we.sent, We.errorList = We.resultList.filter(function(ue) {
24975
+ return Ye.resultList = we.sent, Ye.errorList = Ye.resultList.filter(function(ue) {
24976
24976
  return ue.result !== !0;
24977
24977
  }).map(function(ue) {
24978
24978
  return Object.keys(ue).forEach(function(te) {
@@ -24984,9 +24984,9 @@ var vL = ie({
24984
24984
  });
24985
24985
  }
24986
24986
  }), ue;
24987
- }), We.successList = We.resultList.filter(function(ue) {
24987
+ }), Ye.successList = Ye.resultList.filter(function(ue) {
24988
24988
  return ue.result === !0 && ue.message && ue.type === "success";
24989
- }), we.abrupt("return", We);
24989
+ }), we.abrupt("return", Ye);
24990
24990
  case 11:
24991
24991
  case "end":
24992
24992
  return we.stop();
@@ -24998,13 +24998,13 @@ var vL = ie({
24998
24998
  };
24999
24999
  }(), B = /* @__PURE__ */ function() {
25000
25000
  var De = an(/* @__PURE__ */ mt.mark(function Re(Ae, qe) {
25001
- var We, Xe, we, ue, te, Z;
25001
+ var Ye, Xe, we, ue, te, Z;
25002
25002
  return mt.wrap(function(fe) {
25003
25003
  for (; ; ) switch (fe.prev = fe.next) {
25004
25004
  case 0:
25005
25005
  return j.value = !0, Q.value = qe, fe.next = 4, Y(Ae);
25006
25006
  case 4:
25007
- return We = fe.sent, Xe = We.successList, we = We.errorList, ue = We.rules, te = We.resultList, Z = We.allowSetValue, Z && (T.value = Xe, $.value = we), ue.length && (x.value = we.length ? Qa.FAIL : Qa.SUCCESS), R.value && M(), j.value = !1, fe.abrupt("return", L({}, e.name, we.length === 0 ? !0 : te));
25007
+ return Ye = fe.sent, Xe = Ye.successList, we = Ye.errorList, ue = Ye.rules, te = Ye.resultList, Z = Ye.allowSetValue, Z && (T.value = Xe, $.value = we), ue.length && (x.value = we.length ? Qa.FAIL : Qa.SUCCESS), R.value && M(), j.value = !1, fe.abrupt("return", L({}, e.name, we.length === 0 ? !0 : te));
25008
25008
  case 15:
25009
25009
  case "end":
25010
25010
  return fe.stop();
@@ -25016,13 +25016,13 @@ var vL = ie({
25016
25016
  };
25017
25017
  }(), U = /* @__PURE__ */ function() {
25018
25018
  var De = an(/* @__PURE__ */ mt.mark(function Re(Ae) {
25019
- var qe, We, Xe;
25019
+ var qe, Ye, Xe;
25020
25020
  return mt.wrap(function(ue) {
25021
25021
  for (; ; ) switch (ue.prev = ue.next) {
25022
25022
  case 0:
25023
25023
  return ue.next = 2, Y(Ae);
25024
25024
  case 2:
25025
- return qe = ue.sent, We = qe.errorList, Xe = qe.resultList, ue.abrupt("return", L({}, e.name, We.length === 0 ? !0 : Xe));
25025
+ return qe = ue.sent, Ye = qe.errorList, Xe = qe.resultList, ue.abrupt("return", L({}, e.name, Ye.length === 0 ? !0 : Xe));
25026
25026
  case 6:
25027
25027
  case "end":
25028
25028
  return ue.stop();
@@ -25081,11 +25081,11 @@ var vL = ie({
25081
25081
  class: l.value.help
25082
25082
  }, [De]) : null;
25083
25083
  }), Pe = I(function() {
25084
- var De, Re = function(We) {
25084
+ var De, Re = function(Ye) {
25085
25085
  return h("div", {
25086
25086
  class: l.value.extra,
25087
- title: We
25088
- }, [We]);
25087
+ title: Ye
25088
+ }, [Ye]);
25089
25089
  }, Ae = $.value;
25090
25090
  return re.value && Ae !== null && Ae !== void 0 && (De = Ae[0]) !== null && De !== void 0 && De.message ? Re(Ae[0].message) : T.value.length ? Re(T.value[0].message) : null;
25091
25091
  }), Fe = I(function() {
@@ -26413,8 +26413,8 @@ var _L = ie({
26413
26413
  var qe = [Re, Ae];
26414
26414
  return y.value = qe[0], b.value = qe[1], [Re, Ae];
26415
26415
  }
26416
- var We = be;
26417
- return We < Fe && (We = Fe), We > Ge && (We = Ge), We;
26416
+ var Ye = be;
26417
+ return Ye < Fe && (Ye = Fe), Ye > Ge && (Ye = Ge), Ye;
26418
26418
  }, j = function(be) {
26419
26419
  var Pe = be;
26420
26420
  Pe === void 0 && (e.range ? Pe = [y.value, b.value] : Pe = y.value);
@@ -29119,7 +29119,7 @@ var wV = ie({
29119
29119
  case 0:
29120
29120
  return Z.next = 2, Ge();
29121
29121
  case 2:
29122
- We();
29122
+ Ye();
29123
29123
  case 3:
29124
29124
  case "end":
29125
29125
  return Z.stop();
@@ -29281,7 +29281,7 @@ var wV = ie({
29281
29281
  }
29282
29282
  }
29283
29283
  return null;
29284
- }, We = function() {
29284
+ }, Ye = function() {
29285
29285
  p.value += 1;
29286
29286
  }, Xe = function() {
29287
29287
  return On(h(al, xe({
@@ -34752,7 +34752,7 @@ var l4 = ie({
34752
34752
  return te;
34753
34753
  }
34754
34754
  }, null);
34755
- }, We = function() {
34755
+ }, Ye = function() {
34756
34756
  if (e.closeBtn !== !1)
34757
34757
  return h("div", {
34758
34758
  class: ["".concat(r.value, "__modal-icon"), "".concat(r.value, "__modal-close-bt")],
@@ -34811,7 +34811,7 @@ var l4 = ie({
34811
34811
  onClick: Pe
34812
34812
  }, null), U.value.length > 1 && h(tt, null, [Ae(), h("div", {
34813
34813
  class: "".concat(r.value, "__modal-index")
34814
- }, [e.title && l("title"), "".concat(m.value + 1, "/").concat(U.value.length)]), qe("prev"), qe("next")]), We(), h(YO, {
34814
+ }, [e.title && l("title"), "".concat(m.value + 1, "/").concat(U.value.length)]), qe("prev"), qe("next")]), Ye(), h(YO, {
34815
34815
  onZoomIn: R,
34816
34816
  onZoomOut: M,
34817
34817
  onMirror: $,
@@ -37074,7 +37074,7 @@ function H4(t, e, n, a) {
37074
37074
  var we, ue;
37075
37075
  typeof window < "u" && Ct(window, "resize", Re), (we = Ae) === null || we === void 0 || we.unobserve(b.value), (ue = Ae) === null || ue === void 0 || ue.disconnect();
37076
37076
  });
37077
- var We = function(ue) {
37077
+ var Ye = function(ue) {
37078
37078
  y.value = ue;
37079
37079
  }, Xe = function() {
37080
37080
  G(), J();
@@ -37091,7 +37091,7 @@ function H4(t, e, n, a) {
37091
37091
  rowAndColFixedPosition: D,
37092
37092
  virtualScrollHeaderPos: k,
37093
37093
  scrollbarWidth: w,
37094
- setData: We,
37094
+ setData: Ye,
37095
37095
  refreshTable: De,
37096
37096
  setTableElmWidth: ee,
37097
37097
  emitScrollEvent: Fe,
@@ -38433,7 +38433,7 @@ var lS = ie({
38433
38433
  horizontalScrollAffixRef: j,
38434
38434
  headerTopAffixRef: R,
38435
38435
  footerBottomAffixRef: M
38436
- }), z = N.scrollbarWidth, K = N.virtualScrollHeaderPos, q = N.tableWidth, Y = N.tableElmWidth, B = N.tableContentRef, U = N.isFixedHeader, V = N.isWidthOverflow, W = N.isFixedColumn, G = N.thWidthList, J = N.showColumnShadow, ee = N.rowAndColFixedPosition, X = N.setData, Q = N.refreshTable, re = N.setTableElmWidth, ve = N.emitScrollEvent, be = N.setUseFixedTableElmRef, Pe = N.updateColumnFixedShadow, Fe = N.getThWidthList, Ge = N.updateThWidthList, De = N.addTableResizeObserver, Re = N.updateTableAfterColumnResize, Ae = W4(e), qe = Ae.affixHeaderRef, We = Ae.affixFooterRef, Xe = Ae.horizontalScrollbarRef, we = Ae.paginationRef, ue = Ae.showAffixHeader, te = Ae.showAffixFooter, Z = Ae.showAffixPagination, ae = Ae.onHorizontalScroll, fe = Ae.setTableContentRef, he = Ae.updateAffixHeaderOrFooter, pe = U4(e, n), ge = pe.dataSource, Ee = pe.innerPagination, je = pe.isPaginateData, Ne = pe.renderPagination, lt = V4({
38436
+ }), z = N.scrollbarWidth, K = N.virtualScrollHeaderPos, q = N.tableWidth, Y = N.tableElmWidth, B = N.tableContentRef, U = N.isFixedHeader, V = N.isWidthOverflow, W = N.isFixedColumn, G = N.thWidthList, J = N.showColumnShadow, ee = N.rowAndColFixedPosition, X = N.setData, Q = N.refreshTable, re = N.setTableElmWidth, ve = N.emitScrollEvent, be = N.setUseFixedTableElmRef, Pe = N.updateColumnFixedShadow, Fe = N.getThWidthList, Ge = N.updateThWidthList, De = N.addTableResizeObserver, Re = N.updateTableAfterColumnResize, Ae = W4(e), qe = Ae.affixHeaderRef, Ye = Ae.affixFooterRef, Xe = Ae.horizontalScrollbarRef, we = Ae.paginationRef, ue = Ae.showAffixHeader, te = Ae.showAffixFooter, Z = Ae.showAffixPagination, ae = Ae.onHorizontalScroll, fe = Ae.setTableContentRef, he = Ae.updateAffixHeaderOrFooter, pe = U4(e, n), ge = pe.dataSource, Ee = pe.innerPagination, je = pe.isPaginateData, Ne = pe.renderPagination, lt = V4({
38437
38437
  isWidthOverflow: V,
38438
38438
  tableContentRef: B,
38439
38439
  showColumnShadow: J,
@@ -38584,7 +38584,7 @@ var lS = ie({
38584
38584
  isPaginateData: je,
38585
38585
  dataSource: ge,
38586
38586
  affixHeaderRef: qe,
38587
- affixFooterRef: We,
38587
+ affixFooterRef: Ye,
38588
38588
  bottomContentRef: c,
38589
38589
  paginationRef: we,
38590
38590
  showAffixHeader: ue,
@@ -42200,7 +42200,7 @@ var K3 = ["hideSortTips", "dragSort", "defaultExpandedRowKeys", "defaultSelected
42200
42200
  return {
42201
42201
  showElement: u.value
42202
42202
  };
42203
- }), X = L3(e, n, ee), Q = X.isRowHandlerDraggable, re = X.isRowDraggable, ve = X.isColDraggable, be = X.innerPagination, Pe = X.setDragSortPrimaryTableRef, Fe = X.setDragSortColumns, Ge = QO(e), De = Ge.renderTitleWidthIcon, Re = V3(e), Ae = Re.renderAsyncLoading, qe = H3(e), We = qe.errorListMap, Xe = qe.editableKeysMap, we = qe.validateRowData, ue = qe.validateTableData, te = qe.validateTableCellData, Z = qe.onRuleChange, ae = qe.clearValidateData, fe = qe.onUpdateEditedCell, he = qe.getEditRowData, pe = qe.onPrimaryTableCellEditChange, ge = I(function() {
42203
+ }), X = L3(e, n, ee), Q = X.isRowHandlerDraggable, re = X.isRowDraggable, ve = X.isColDraggable, be = X.innerPagination, Pe = X.setDragSortPrimaryTableRef, Fe = X.setDragSortColumns, Ge = QO(e), De = Ge.renderTitleWidthIcon, Re = V3(e), Ae = Re.renderAsyncLoading, qe = H3(e), Ye = qe.errorListMap, Xe = qe.editableKeysMap, we = qe.validateRowData, ue = qe.validateTableData, te = qe.validateTableCellData, Z = qe.onRuleChange, ae = qe.clearValidateData, fe = qe.onUpdateEditedCell, he = qe.getEditRowData, pe = qe.onPrimaryTableCellEditChange, ge = I(function() {
42204
42204
  return !!(D.value || R.value);
42205
42205
  }), Ee = I(function() {
42206
42206
  return !!(D.value || R.value);
@@ -42285,7 +42285,7 @@ var K3 = ["hideSortTips", "dragSort", "defaultExpandedRowKeys", "defaultSelected
42285
42285
  if (e.editableRowKeys) {
42286
42286
  var Yn, Ma = Se(Xt.row, e.rowKey || "id");
42287
42287
  _n.editable = Xe.value[Ma] || !1;
42288
- var Or = [Ma, Xt.col.colKey].join("__"), Sr = (Yn = We.value) === null || Yn === void 0 ? void 0 : Yn[Or];
42288
+ var Or = [Ma, Xt.col.colKey].join("__"), Sr = (Yn = Ye.value) === null || Yn === void 0 ? void 0 : Yn[Or];
42289
42289
  Sr && (_n.errors = Sr);
42290
42290
  }
42291
42291
  return e.editableCellState && (_n.readonly = !e.editableCellState(Xt)), h(z3, xe(_n, {
@@ -46270,9 +46270,9 @@ function G2(t) {
46270
46270
  (Pe = t.onValidate) === null || Pe === void 0 || Pe.call(t, Fe);
46271
46271
  }
46272
46272
  if (ee.fileValidateList instanceof Array) {
46273
- var Ge, De = W2(ee.fileValidateList, j), Re = De.sizeLimitErrors, Ae = De.beforeUploadErrorFiles, qe = De.toFiles, We = r.value ? qe : C.value.concat(qe);
46274
- if (C.value = We, (Ge = t.onWaitingUploadFilesChange) === null || Ge === void 0 || Ge.call(t, {
46275
- files: We,
46273
+ var Ge, De = W2(ee.fileValidateList, j), Re = De.sizeLimitErrors, Ae = De.beforeUploadErrorFiles, qe = De.toFiles, Ye = r.value ? qe : C.value.concat(qe);
46274
+ if (C.value = Ye, (Ge = t.onWaitingUploadFilesChange) === null || Ge === void 0 || Ge.call(t, {
46275
+ files: Ye,
46276
46276
  trigger: "validate"
46277
46277
  }), Re[0]) {
46278
46278
  var Xe;
@@ -46289,7 +46289,7 @@ function G2(t) {
46289
46289
  };
46290
46290
  (we = t.onValidate) === null || we === void 0 || we.call(t, ue);
46291
46291
  }
46292
- r.value ? q(We) : R(We);
46292
+ r.value ? q(Ye) : R(Ye);
46293
46293
  }
46294
46294
  }), e.value.value = null;
46295
46295
  }
@@ -46765,7 +46765,7 @@ const rU = /* @__PURE__ */ Qe(J2, [["render", e6]]), t6 = { class: "my-component
46765
46765
  console.log("FormContainer component has been mounted.");
46766
46766
  }), (e, n) => (oe(), ke("div", null, [
46767
46767
  ce(e.$slots, "default"),
46768
- e.$slots.content ? ce(e.$slots, "content", { key: 0 }) : Ye("", !0)
46768
+ e.$slots.content ? ce(e.$slots, "content", { key: 0 }) : We("", !0)
46769
46769
  ]));
46770
46770
  }
46771
46771
  };
@@ -50315,7 +50315,7 @@ const _t = {
50315
50315
  class: "image-viewer-trigger"
50316
50316
  }, [
50317
50317
  ce(s.$slots, "default", {}, () => [
50318
- t.triggerElement ? Ye("", !0) : (oe(), Ie(le(et), {
50318
+ t.triggerElement ? We("", !0) : (oe(), Ie(le(et), {
50319
50319
  key: 0,
50320
50320
  theme: "primary"
50321
50321
  }, {
@@ -50407,7 +50407,7 @@ const _t = {
50407
50407
  n.$slots.content ? ce(n.$slots, "content", {
50408
50408
  key: 0,
50409
50409
  row: e.value
50410
- }) : Ye("", !0)
50410
+ }) : We("", !0)
50411
50411
  ]));
50412
50412
  }
50413
50413
  }, X9 = { class: "ebiz-title" }, Z9 = { class: "title-text" }, J9 = {
@@ -50521,7 +50521,7 @@ const _t = {
50521
50521
  ce(r.$slots, "default", {}, () => [
50522
50522
  He(Le(t.text), 1)
50523
50523
  ], !0)
50524
- ], 4)) : Ye("", !0)
50524
+ ], 4)) : We("", !0)
50525
50525
  ], 4));
50526
50526
  }
50527
50527
  }, ez = /* @__PURE__ */ Qe(Q9, [["__scopeId", "data-v-bd91144e"]]), tz = { class: "card-title" }, nz = { class: "card-value" }, az = {
@@ -51600,7 +51600,7 @@ function kz(t, e, n, a, r, l) {
51600
51600
  "expand-icon": t.expandIcon
51601
51601
  }, Rt({
51602
51602
  default: ne(() => [
51603
- t.$slots.default ? ce(t.$slots, "default", { key: 0 }, void 0, !0) : Ye("", !0)
51603
+ t.$slots.default ? ce(t.$slots, "default", { key: 0 }, void 0, !0) : We("", !0)
51604
51604
  ]),
51605
51605
  _: 2
51606
51606
  }, [
@@ -53591,8 +53591,8 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
53591
53591
  ]),
53592
53592
  me("div", c8, [
53593
53593
  me("div", d8, Le(r.value.name), 1),
53594
- r.value.id ? (oe(), ke("div", v8, "ID: " + Le(r.value.id), 1)) : Ye("", !0),
53595
- r.value.department ? (oe(), ke("div", f8, Le(r.value.department), 1)) : Ye("", !0)
53594
+ r.value.id ? (oe(), ke("div", v8, "ID: " + Le(r.value.id), 1)) : We("", !0),
53595
+ r.value.department ? (oe(), ke("div", f8, Le(r.value.department), 1)) : We("", !0)
53596
53596
  ])
53597
53597
  ], 4));
53598
53598
  }
@@ -53664,7 +53664,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
53664
53664
  default: 0
53665
53665
  }
53666
53666
  },
53667
- emits: ["update:modelValue", "change"],
53667
+ emits: ["update:modelValue", "change", "update:visible"],
53668
53668
  setup(t, { emit: e }) {
53669
53669
  const n = t, a = e, r = H(!1), l = I({
53670
53670
  set(X) {
@@ -53978,7 +53978,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
53978
53978
  onClick: (be) => z(ve, re.id)
53979
53979
  }, null, 8, ["onClick"])
53980
53980
  ]))), 128))
53981
- ])) : Ye("", !0),
53981
+ ])) : We("", !0),
53982
53982
  h(le(et), {
53983
53983
  onClick: Y,
53984
53984
  variant: "text",
@@ -53989,7 +53989,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
53989
53989
  ])),
53990
53990
  _: 1
53991
53991
  })
53992
- ])) : Ye("", !0),
53992
+ ])) : We("", !0),
53993
53993
  h(le(sr), {
53994
53994
  visible: l.value,
53995
53995
  "onUpdate:visible": Q[4] || (Q[4] = (re) => l.value = re),
@@ -54033,7 +54033,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
54033
54033
  onClick: (be) => K(re)
54034
54034
  }, null, 8, ["onClick"])
54035
54035
  ]))), 128))
54036
- ])) : Ye("", !0)
54036
+ ])) : We("", !0)
54037
54037
  ]),
54038
54038
  me("div", J8, [
54039
54039
  h(le(et), {
@@ -54083,7 +54083,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
54083
54083
  me("div", P8, [
54084
54084
  u.value ? (oe(), ke("div", x8, [
54085
54085
  h(le(mn))
54086
- ])) : Ye("", !0),
54086
+ ])) : We("", !0),
54087
54087
  On(me("div", k8, [
54088
54088
  h(le(al), {
54089
54089
  ref: "organizationTree",
@@ -54181,9 +54181,9 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
54181
54181
  ])),
54182
54182
  _: 1
54183
54183
  }, 8, ["modelValue"])
54184
- ])) : Ye("", !0)
54184
+ ])) : We("", !0)
54185
54185
  ]),
54186
- t.single ? Ye("", !0) : (oe(), ke("div", M8, [
54186
+ t.single ? We("", !0) : (oe(), ke("div", M8, [
54187
54187
  h(le(Cn), {
54188
54188
  modelValue: O.value,
54189
54189
  "onUpdate:modelValue": Q[2] || (Q[2] = (re) => O.value = re),
@@ -54224,7 +54224,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
54224
54224
  He("清除搜索")
54225
54225
  ])),
54226
54226
  _: 1
54227
- })) : Ye("", !0)
54227
+ })) : We("", !0)
54228
54228
  ]),
54229
54229
  me("div", L8, [
54230
54230
  (oe(!0), ke(tt, null, en(D.value, (re, ve) => (oe(), ke("div", {
@@ -54258,7 +54258,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
54258
54258
  ]))), 128)),
54259
54259
  D.value.length === 0 ? (oe(), ke("div", U8, [
54260
54260
  h(le(F5))
54261
- ])) : Ye("", !0)
54261
+ ])) : We("", !0)
54262
54262
  ])
54263
54263
  ])
54264
54264
  ])
@@ -54268,7 +54268,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
54268
54268
  }, 8, ["visible"])
54269
54269
  ]));
54270
54270
  }
54271
- }, fC = /* @__PURE__ */ Qe(Q8, [["__scopeId", "data-v-1e2b1a9e"]]), e7 = {
54271
+ }, fC = /* @__PURE__ */ Qe(Q8, [["__scopeId", "data-v-7a643cbf"]]), e7 = {
54272
54272
  name: "EbizAlert"
54273
54273
  }, t7 = /* @__PURE__ */ Object.assign(e7, {
54274
54274
  props: {
@@ -54343,7 +54343,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
54343
54343
  onClose: a
54344
54344
  }, Rt({
54345
54345
  default: ne(() => [
54346
- r.$slots.default ? ce(r.$slots, "default", { key: 0 }, void 0, !0) : Ye("", !0)
54346
+ r.$slots.default ? ce(r.$slots, "default", { key: 0 }, void 0, !0) : We("", !0)
54347
54347
  ]),
54348
54348
  _: 2
54349
54349
  }, [
@@ -55142,8 +55142,8 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
55142
55142
  return Ue(() => {
55143
55143
  n && typeof n.registerColumn == "function" ? n.registerColumn(r.value) : console.warn("EbizTableColumn必须在EbizTable内部使用");
55144
55144
  }), (l, o) => (oe(), ke(tt, null, [
55145
- l.$slots.default ? ce(l.$slots, "default", { key: 0 }) : Ye("", !0),
55146
- l.$slots.title ? ce(l.$slots, "title", { key: 1 }) : Ye("", !0)
55145
+ l.$slots.default ? ce(l.$slots, "default", { key: 0 }) : We("", !0),
55146
+ l.$slots.title ? ce(l.$slots, "title", { key: 1 }) : We("", !0)
55147
55147
  ], 64));
55148
55148
  }
55149
55149
  }, i7 = { class: "ebiz-table-sort" }, u7 = { class: "sort-content" }, s7 = {
@@ -55280,7 +55280,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
55280
55280
  h(le(Nt), { name: "close" })
55281
55281
  ]),
55282
55282
  _: 2
55283
- }, 1032, ["onClick"])) : Ye("", !0)
55283
+ }, 1032, ["onClick"])) : We("", !0)
55284
55284
  ])
55285
55285
  ]))), 128)),
55286
55286
  me("div", c7, [
@@ -55297,7 +55297,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
55297
55297
  He(" " + Le(t.addConditionText), 1)
55298
55298
  ]),
55299
55299
  _: 1
55300
- })) : Ye("", !0)
55300
+ })) : We("", !0)
55301
55301
  ])
55302
55302
  ])
55303
55303
  ]),
@@ -55314,7 +55314,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
55314
55314
  h(le(Nt), { name: "filter" })
55315
55315
  ]),
55316
55316
  default: ne(() => [
55317
- t.buttonText ? (oe(), ke("div", d7, Le(t.buttonText), 1)) : Ye("", !0)
55317
+ t.buttonText ? (oe(), ke("div", d7, Le(t.buttonText), 1)) : We("", !0)
55318
55318
  ]),
55319
55319
  _: 1
55320
55320
  }, 8, ["title"])
@@ -55683,7 +55683,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
55683
55683
  onClick: (_) => w(F)
55684
55684
  }, "×", 8, C7)
55685
55685
  ]))), 128))
55686
- ])) : Ye("", !0),
55686
+ ])) : We("", !0),
55687
55687
  h(le(et), {
55688
55688
  onClick: C,
55689
55689
  variant: "text",
@@ -55746,7 +55746,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
55746
55746
  me("div", P7, [
55747
55747
  v.value ? (oe(), ke("div", x7, [
55748
55748
  h(le(mn))
55749
- ])) : Ye("", !0),
55749
+ ])) : We("", !0),
55750
55750
  On(h(gC, {
55751
55751
  ref_key: "organizationTree",
55752
55752
  ref: m,
@@ -55797,7 +55797,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
55797
55797
  [...s.value, ...d.value].length === 0 ? (oe(), ke("div", _7, [
55798
55798
  h(le(Nt), { name: "info-circle" }),
55799
55799
  E[7] || (E[7] = me("span", { style: { "user-select": "none" } }, "请在左侧选择部门或成员", -1))
55800
- ])) : Ye("", !0)
55800
+ ])) : We("", !0)
55801
55801
  ])
55802
55802
  ])
55803
55803
  ])
@@ -56319,7 +56319,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
56319
56319
  });
56320
56320
  };
56321
56321
  qe();
56322
- const We = I(() => {
56322
+ const Ye = I(() => {
56323
56323
  const te = B.value, Z = U.value.map((he) => he.id), ae = [];
56324
56324
  i.value.forEach((he) => {
56325
56325
  const pe = he.functions.filter((ge) => ge.checked).map((ge) => ge.id).filter(Boolean);
@@ -56342,8 +56342,8 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
56342
56342
  te !== 6 && (U.value = []);
56343
56343
  });
56344
56344
  function Xe() {
56345
- console.log("保存角色权限:", We.value), _t.fetch(
56346
- We.value,
56345
+ console.log("保存角色权限:", Ye.value), _t.fetch(
56346
+ Ye.value,
56347
56347
  {},
56348
56348
  a.saveRole
56349
56349
  ).then((te) => {
@@ -56355,7 +56355,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
56355
56355
  });
56356
56356
  }
56357
56357
  e({
56358
- selData: We
56358
+ selData: Ye
56359
56359
  });
56360
56360
  const we = (te, Z) => {
56361
56361
  if (!te || !Array.isArray(te)) return null;
@@ -56448,7 +56448,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
56448
56448
  ]),
56449
56449
  _: 1
56450
56450
  })
56451
- ])) : Ye("", !0),
56451
+ ])) : We("", !0),
56452
56452
  B.value === 6 ? (oe(), ke("div", B7, [
56453
56453
  me("div", L7, [
56454
56454
  Z[14] || (Z[14] = He(" 已选组织: ")),
@@ -56481,7 +56481,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
56481
56481
  }, 1032, ["onClose"]))), 128))
56482
56482
  ]))
56483
56483
  ])
56484
- ])) : Ye("", !0)
56484
+ ])) : We("", !0)
56485
56485
  ])
56486
56486
  ]),
56487
56487
  h(le(fc), {
@@ -56612,7 +56612,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
56612
56612
  ]),
56613
56613
  _: 1
56614
56614
  }, 8, ["modelValue"]),
56615
- k.value ? (oe(), ke("div", lH, " 找到 " + Le(Ae(F.value)) + " 个结果 ", 1)) : Ye("", !0)
56615
+ k.value ? (oe(), ke("div", lH, " 找到 " + Le(Ae(F.value)) + " 个结果 ", 1)) : We("", !0)
56616
56616
  ]),
56617
56617
  me("div", oH, [
56618
56618
  h(le(al), {
@@ -56642,7 +56642,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
56642
56642
  ]),
56643
56643
  _: 1
56644
56644
  }, 8, ["data", "expanded", "active"]),
56645
- k.value && F.value.length === 0 ? (oe(), ke("div", uH, ' 未找到符合"' + Le(k.value) + '"的组织 ', 1)) : Ye("", !0)
56645
+ k.value && F.value.length === 0 ? (oe(), ke("div", uH, ' 未找到符合"' + Le(k.value) + '"的组织 ', 1)) : We("", !0)
56646
56646
  ])
56647
56647
  ]),
56648
56648
  me("div", sH, [
@@ -56769,7 +56769,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
56769
56769
  ]),
56770
56770
  _: 1
56771
56771
  }, 8, ["modelValue"]),
56772
- k.value ? (oe(), ke("div", wH, " 找到 " + Le(Ae(F.value)) + " 个结果 ", 1)) : Ye("", !0)
56772
+ k.value ? (oe(), ke("div", wH, " 找到 " + Le(Ae(F.value)) + " 个结果 ", 1)) : We("", !0)
56773
56773
  ]),
56774
56774
  me("div", OH, [
56775
56775
  h(le(al), {
@@ -56799,7 +56799,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
56799
56799
  ]),
56800
56800
  _: 1
56801
56801
  }, 8, ["data", "expanded", "active"]),
56802
- k.value && F.value.length === 0 ? (oe(), ke("div", PH, ' 未找到符合"' + Le(k.value) + '"的组织 ', 1)) : Ye("", !0)
56802
+ k.value && F.value.length === 0 ? (oe(), ke("div", PH, ' 未找到符合"' + Le(k.value) + '"的组织 ', 1)) : We("", !0)
56803
56803
  ])
56804
56804
  ]),
56805
56805
  me("div", xH, [
@@ -56835,8 +56835,8 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
56835
56835
  ])
56836
56836
  ])
56837
56837
  ])
56838
- ])) : Ye("", !0)
56839
- ])) : Ye("", !0)
56838
+ ])) : We("", !0)
56839
+ ])) : We("", !0)
56840
56840
  ])
56841
56841
  ]),
56842
56842
  _: 1
@@ -56858,11 +56858,11 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
56858
56858
  S.value.subModule1 ? (oe(), ke("div", FH, [
56859
56859
  Z[32] || (Z[32] = me("span", { class: "item-label" }, "子模块1:", -1)),
56860
56860
  me("span", AH, Le(S.value.subModule1), 1)
56861
- ])) : Ye("", !0),
56861
+ ])) : We("", !0),
56862
56862
  S.value.subModule2 ? (oe(), ke("div", $H, [
56863
56863
  Z[33] || (Z[33] = me("span", { class: "item-label" }, "子模块2:", -1)),
56864
56864
  me("span", RH, Le(S.value.subModule2), 1)
56865
- ])) : Ye("", !0),
56865
+ ])) : We("", !0),
56866
56866
  me("div", MH, [
56867
56867
  Z[34] || (Z[34] = me("span", { class: "item-label" }, "功能:", -1)),
56868
56868
  me("span", NH, Le(S.value.function), 1)
@@ -56870,7 +56870,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
56870
56870
  S.value.path ? (oe(), ke("div", BH, [
56871
56871
  Z[35] || (Z[35] = me("span", { class: "item-label" }, "路径:", -1)),
56872
56872
  me("span", LH, Le(S.value.path), 1)
56873
- ])) : Ye("", !0),
56873
+ ])) : We("", !0),
56874
56874
  S.value.childFunctions && S.value.childFunctions.length > 0 ? (oe(), ke("div", VH, [
56875
56875
  Z[36] || (Z[36] = me("span", { class: "item-label" }, "子功能:", -1)),
56876
56876
  me("div", zH, [
@@ -56881,8 +56881,8 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
56881
56881
  me("span", null, Le(ae.name), 1)
56882
56882
  ]))), 128))
56883
56883
  ])
56884
- ])) : Ye("", !0)
56885
- ], 64)) : Ye("", !0)
56884
+ ])) : We("", !0)
56885
+ ], 64)) : We("", !0)
56886
56886
  ])
56887
56887
  ]),
56888
56888
  _: 1
@@ -57426,7 +57426,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
57426
57426
  He(Le(t.resetButtonText), 1)
57427
57427
  ]),
57428
57428
  _: 1
57429
- })) : Ye("", !0),
57429
+ })) : We("", !0),
57430
57430
  t.showSubmitButton ? (oe(), Ie(le(et), {
57431
57431
  key: 1,
57432
57432
  theme: "primary",
@@ -57437,11 +57437,11 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
57437
57437
  He(Le(t.submitButtonText), 1)
57438
57438
  ]),
57439
57439
  _: 1
57440
- })) : Ye("", !0)
57440
+ })) : We("", !0)
57441
57441
  ]),
57442
57442
  _: 1
57443
57443
  })
57444
- ])) : Ye("", !0)
57444
+ ])) : We("", !0)
57445
57445
  ]),
57446
57446
  _: 1
57447
57447
  }, 8, ["data", "rules", "label-width", "label-align", "layout", "colon", "show-error-message", "reset-type"]),
@@ -57473,13 +57473,13 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
57473
57473
  modelValue: f.value[x.name],
57474
57474
  "onUpdate:modelValue": (j) => f.value[x.name] = j,
57475
57475
  placeholder: x.placeholder || `请输入${x.label}`
57476
- }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])) : Ye("", !0)
57476
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])) : We("", !0)
57477
57477
  ]),
57478
57478
  _: 2
57479
57479
  }, 1032, ["name", "label"]))), 128))
57480
57480
  ]),
57481
57481
  _: 1
57482
- }, 8, ["data"])) : Ye("", !0)
57482
+ }, 8, ["data"])) : We("", !0)
57483
57483
  ]),
57484
57484
  _: 1
57485
57485
  }, 8, ["visible", "header"])
@@ -57871,7 +57871,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
57871
57871
  class: "delete-icon"
57872
57872
  }),
57873
57873
  me("p", eK, Le(t.deleteConfirmMessage), 1)
57874
- ])) : Ye("", !0)
57874
+ ])) : We("", !0)
57875
57875
  ], !0)
57876
57876
  ]),
57877
57877
  _: 3
@@ -57896,7 +57896,8 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
57896
57896
  value: {},
57897
57897
  showRootOrg: { type: Boolean, default: !0 },
57898
57898
  childDeptEnable: { type: Boolean, default: !1 },
57899
- showCC: { type: Boolean, default: !0 }
57899
+ showCC: { type: Boolean, default: !0 },
57900
+ canEdit: { type: Boolean, default: !0 }
57900
57901
  },
57901
57902
  emits: ["update:approverList", "update:ccList", "change"],
57902
57903
  setup(t, { emit: e }) {
@@ -57988,7 +57989,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
57988
57989
  }),
57989
57990
  me("span", lK, [
57990
57991
  P[4] || (P[4] = He(" 审批人 ")),
57991
- S.required ? (oe(), ke("span", oK, "*")) : Ye("", !0)
57992
+ S.required ? (oe(), ke("span", oK, "*")) : We("", !0)
57992
57993
  ])
57993
57994
  ]),
57994
57995
  me("div", iK, [
@@ -58013,16 +58014,17 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
58013
58014
  name: "close",
58014
58015
  size: "16px",
58015
58016
  onClick: (E) => b(w, "approver")
58016
- }, null, 8, ["onClick"])) : Ye("", !0)
58017
+ }, null, 8, ["onClick"])) : We("", !0)
58017
58018
  ], 2)
58018
58019
  ]),
58019
58020
  D < s.value.length - 1 ? (oe(), Ie(le(Nt), {
58020
58021
  key: 0,
58021
58022
  name: "chevron-right",
58022
58023
  class: "arrow-icon"
58023
- })) : Ye("", !0)
58024
+ })) : We("", !0)
58024
58025
  ], 64))), 128)),
58025
- h(le(et), {
58026
+ S.canEdit ? (oe(), Ie(le(et), {
58027
+ key: 0,
58026
58028
  theme: "default",
58027
58029
  variant: "text",
58028
58030
  onClick: C
@@ -58034,7 +58036,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
58034
58036
  P[5] || (P[5] = He(" 添加审批人 "))
58035
58037
  ]),
58036
58038
  _: 1
58037
- })
58039
+ })) : We("", !0)
58038
58040
  ])
58039
58041
  ])
58040
58042
  ]),
@@ -58070,7 +58072,8 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
58070
58072
  }, null, 8, ["onClick"])
58071
58073
  ])
58072
58074
  ]))), 128)),
58073
- h(le(et), {
58075
+ S.canEdit ? (oe(), Ie(le(et), {
58076
+ key: 0,
58074
58077
  theme: "default",
58075
58078
  variant: "text",
58076
58079
  onClick: O
@@ -58082,10 +58085,10 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
58082
58085
  P[8] || (P[8] = He(" 添加抄送人 "))
58083
58086
  ]),
58084
58087
  _: 1
58085
- })
58088
+ })) : We("", !0)
58086
58089
  ])
58087
58090
  ])
58088
- ])) : Ye("", !0)
58091
+ ])) : We("", !0)
58089
58092
  ]),
58090
58093
  _: 1
58091
58094
  }),
@@ -58108,7 +58111,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
58108
58111
  }, null, 8, ["visible", "value"])
58109
58112
  ]));
58110
58113
  }
58111
- }), wW = /* @__PURE__ */ Qe(pK, [["__scopeId", "data-v-66f3e25e"]]), yK = { key: 0 }, OW = {
58114
+ }), wW = /* @__PURE__ */ Qe(pK, [["__scopeId", "data-v-5dc5ac49"]]), yK = { key: 0 }, OW = {
58112
58115
  __name: "EbizDiv",
58113
58116
  props: {
58114
58117
  key: {
@@ -58128,7 +58131,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
58128
58131
  }
58129
58132
  }, { immediate: !0 }), (r, l) => n.value ? (oe(), ke("div", yK, [
58130
58133
  ce(r.$slots, "default")
58131
- ])) : Ye("", !0);
58134
+ ])) : We("", !0);
58132
58135
  }
58133
58136
  }, bK = {
58134
58137
  name: "EbizTimeline"
@@ -58328,7 +58331,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
58328
58331
  }, " 前往高德地图坐标拾取器获取经纬度 ")
58329
58332
  ], -1))
58330
58333
  ])
58331
- ])) : Ye("", !0),
58334
+ ])) : We("", !0),
58332
58335
  l.value ? (oe(), ke("div", PK, [
58333
58336
  me("div", xK, [
58334
58337
  b[7] || (b[7] = me("label", null, "经度:", -1)),
@@ -58369,7 +58372,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
58369
58372
  key: 0,
58370
58373
  class: "switch-btn",
58371
58374
  onClick: b[3] || (b[3] = (C) => l.value = !1)
58372
- }, "切换到地图模式")) : Ye("", !0)
58375
+ }, "切换到地图模式")) : We("", !0)
58373
58376
  ]),
58374
58377
  b[9] || (b[9] = me("p", { class: "tip-link" }, [
58375
58378
  me("a", {
@@ -58378,7 +58381,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
58378
58381
  rel: "noopener noreferrer"
58379
58382
  }, " 前往高德地图坐标拾取器获取经纬度 ")
58380
58383
  ], -1))
58381
- ])) : Ye("", !0),
58384
+ ])) : We("", !0),
58382
58385
  t.apiKey && !l.value ? (oe(), ke("div", DK, [
58383
58386
  b[10] || (b[10] = me("div", { class: "search-container" }, null, -1)),
58384
58387
  me("div", {
@@ -58386,14 +58389,14 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
58386
58389
  ref: r,
58387
58390
  class: "map-container"
58388
58391
  }, null, 512),
58389
- t.showMarkerInfo && t.modelValue ? (oe(), ke("div", TK, " 经度: " + Le(t.modelValue[0]) + ", 纬度: " + Le(t.modelValue[1]), 1)) : Ye("", !0),
58392
+ t.showMarkerInfo && t.modelValue ? (oe(), ke("div", TK, " 经度: " + Le(t.modelValue[0]) + ", 纬度: " + Le(t.modelValue[1]), 1)) : We("", !0),
58390
58393
  me("div", _K, [
58391
58394
  me("button", {
58392
58395
  class: "switch-btn",
58393
58396
  onClick: b[4] || (b[4] = (C) => l.value = !0)
58394
58397
  }, "切换到手动输入")
58395
58398
  ])
58396
- ])) : Ye("", !0)
58399
+ ])) : We("", !0)
58397
58400
  ]));
58398
58401
  }
58399
58402
  }, PW = /* @__PURE__ */ Qe(IK, [["__scopeId", "data-v-5c933181"]]), jK = { class: "custom-control" }, FK = {
@@ -59339,7 +59342,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
59339
59342
  He(Le(t.cancelButtonText), 1)
59340
59343
  ]),
59341
59344
  _: 1
59342
- }, 8, ["theme", "loading", "disabled"])) : Ye("", !0),
59345
+ }, 8, ["theme", "loading", "disabled"])) : We("", !0),
59343
59346
  t.showSubmitButton ? (oe(), Ie(le(et), {
59344
59347
  key: 1,
59345
59348
  theme: "primary",
@@ -59351,7 +59354,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
59351
59354
  He(Le(t.submitButtonText), 1)
59352
59355
  ]),
59353
59356
  _: 1
59354
- }, 8, ["loading", "disabled"])) : Ye("", !0)
59357
+ }, 8, ["loading", "disabled"])) : We("", !0)
59355
59358
  ]),
59356
59359
  _: 1
59357
59360
  })
@@ -59474,14 +59477,11 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
59474
59477
  emits: ["scroll", "load-more", "update:formData"],
59475
59478
  setup(t, { emit: e }) {
59476
59479
  const n = H(1), a = H(10), r = H(!0), l = H(!1), o = H(0), i = H([10, 20, 50, 100]), u = H(), c = t, s = I(() => localStorage.getItem("ebiz-develop-mode") === "designer" ? c.showDemoData ? c.demoData : [] : u.value), d = H({ ...c.formData }), v = H(""), f = async () => {
59477
- let C = {
59480
+ const C = {
59478
59481
  keyword: v.value
59479
- };
59480
- c.pageEnable && (C = {
59482
+ }, O = await _t.fetch({
59481
59483
  page: n.value,
59482
- pagesize: a.value
59483
- });
59484
- const O = await _t.fetch({
59484
+ pagesize: a.value,
59485
59485
  queryParams: {
59486
59486
  ...C,
59487
59487
  ...c.defaultParams,
@@ -59514,8 +59514,8 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
59514
59514
  bordered: !1
59515
59515
  }, {
59516
59516
  default: ne(() => [
59517
- t.showPageHeader ? (oe(), Ie(le(bz), { key: 0 })) : Ye("", !0),
59518
- t.showPageHeader ? (oe(), Ie(S, { key: 1 })) : Ye("", !0),
59517
+ t.showPageHeader ? (oe(), Ie(le(bz), { key: 0 })) : We("", !0),
59518
+ t.showPageHeader ? (oe(), Ie(S, { key: 1 })) : We("", !0),
59519
59519
  C.$slots.form ? (oe(), Ie(P, {
59520
59520
  key: 2,
59521
59521
  modelValue: b.value,
@@ -59555,10 +59555,10 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
59555
59555
  ce(C.$slots, "form")
59556
59556
  ]),
59557
59557
  _: 3
59558
- }, 8, ["modelValue"])) : Ye("", !0)
59558
+ }, 8, ["modelValue"])) : We("", !0)
59559
59559
  ]),
59560
59560
  _: 3
59561
- })) : Ye("", !0)
59561
+ })) : We("", !0)
59562
59562
  ]),
59563
59563
  h(le(sC), { bordered: !1 }, {
59564
59564
  default: ne(() => [
@@ -59574,7 +59574,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
59574
59574
  placeholder: "请输入搜索内容",
59575
59575
  onChange: m
59576
59576
  }, null, 8, ["modelValue"])
59577
- ])) : Ye("", !0)
59577
+ ])) : We("", !0)
59578
59578
  ])
59579
59579
  ]),
59580
59580
  me("div", HK, [
@@ -59611,7 +59611,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
59611
59611
  "page-size-options": i.value,
59612
59612
  onChange: y
59613
59613
  }, null, 8, ["current", "page-size", "total", "page-size-options"])
59614
- ])) : Ye("", !0)
59614
+ ])) : We("", !0)
59615
59615
  ]),
59616
59616
  _: 3
59617
59617
  })
@@ -59856,7 +59856,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
59856
59856
  c.value && (A.id = c.value), s.value && Object.keys(s.value).length > 0 && Object.keys(s.value).forEach((T) => {
59857
59857
  T !== "formData" && (A[T] = s.value[T]);
59858
59858
  });
59859
- const $ = await _t.fetch({ saveData: A }, _);
59859
+ const $ = await _t.fetch({ detailId: A.id }, _);
59860
59860
  if (a.showResultMessage) {
59861
59861
  const T = a.dialogType === "delete" ? "删除成功" : a.dialogType === "add" ? "添加成功" : a.dialogType === "edit" ? "修改成功" : "操作成功";
59862
59862
  Mt.success(T);
@@ -59980,7 +59980,7 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
59980
59980
  onClick: S
59981
59981
  }, [
59982
59982
  ce(_.$slots, "trigger", {}, void 0, !0)
59983
- ])) : Ye("", !0),
59983
+ ])) : We("", !0),
59984
59984
  h(le(sr), {
59985
59985
  visible: o.value,
59986
59986
  "onUpdate:visible": A[0] || (A[0] = ($) => o.value = $),
@@ -60068,13 +60068,13 @@ const lW = /* @__PURE__ */ Qe(e8, [["render", t8], ["__scopeId", "data-v-d22af56
60068
60068
  }),
60069
60069
  me("p", JK, Le(t.deleteConfirmMessage), 1)
60070
60070
  ])
60071
- ], !0) : Ye("", !0)
60071
+ ], !0) : We("", !0)
60072
60072
  ]),
60073
60073
  _: 3
60074
60074
  }, 8, ["visible", "header", "width", "top", "attach", "destroy-on-close", "mode", "placement", "show-overlay", "close-on-esc-keydown", "close-on-overlay-click", "show-footer"])
60075
60075
  ]));
60076
60076
  }
60077
- }, kW = /* @__PURE__ */ Qe(QK, [["__scopeId", "data-v-ff9191c3"]]);
60077
+ }, kW = /* @__PURE__ */ Qe(QK, [["__scopeId", "data-v-5773a2a2"]]);
60078
60078
  export {
60079
60079
  sW as EbizAlert,
60080
60080
  wW as EbizApproval,