@a2simcode/ui 0.0.204 → 0.0.205

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.
@@ -25,6 +25,7 @@ declare const JButton: {
25
25
  compact: boolean;
26
26
  lastCompactItem: boolean;
27
27
  firstCompactItem: boolean;
28
+ isNotStopClick: boolean;
28
29
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
29
30
  buttonNodeRef: HTMLButtonElement;
30
31
  }, HTMLButtonElement, import('vue').ComponentProvideOptions, {
@@ -58,6 +59,7 @@ declare const JButton: {
58
59
  compact: boolean;
59
60
  lastCompactItem: boolean;
60
61
  firstCompactItem: boolean;
62
+ isNotStopClick: boolean;
61
63
  }>;
62
64
  __isFragment?: never;
63
65
  __isTeleport?: never;
@@ -88,6 +90,7 @@ declare const JButton: {
88
90
  compact: boolean;
89
91
  lastCompactItem: boolean;
90
92
  firstCompactItem: boolean;
93
+ isNotStopClick: boolean;
91
94
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
92
95
  $slots: {
93
96
  iconAfter?(_: {}): any;
@@ -31,6 +31,8 @@ export interface ButtonProps {
31
31
  compact?: boolean;
32
32
  lastCompactItem?: boolean;
33
33
  firstCompactItem?: boolean;
34
+ /** 是否不触发点击事件阻断 */
35
+ isNotStopClick?: boolean;
34
36
  }
35
37
  declare function __VLS_template(): {
36
38
  attrs: Partial<{}>;
@@ -69,6 +71,7 @@ declare const __VLS_component: import('vue').DefineComponent<ButtonProps, {
69
71
  compact: boolean;
70
72
  lastCompactItem: boolean;
71
73
  firstCompactItem: boolean;
74
+ isNotStopClick: boolean;
72
75
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
73
76
  buttonNodeRef: HTMLButtonElement;
74
77
  }, HTMLButtonElement>;
@@ -1,4 +1,4 @@
1
- import { Fragment as ke, computed as H, createBlock as F, createCommentVNode as ee, createElementBlock as O, createElementVNode as B, createSlots as Vn, createTextVNode as sn, createVNode as X, defineComponent as ge, getCurrentInstance as dc, guardReactiveProps as Mo, h as bi, inject as xd, mergeModels as Eo, mergeProps as We, nextTick as It, normalizeClass as Ne, normalizeProps as na, normalizeStyle as le, onBeforeUnmount as jo, onMounted as Mt, onUnmounted as Po, openBlock as S, provide as Cd, reactive as aa, ref as z, render as _i, renderList as Oe, renderSlot as Ke, resolveComponent as $, resolveDirective as Bo, resolveDynamicComponent as Ta, shallowRef as Oi, toDisplayString as we, unref as Y, useModel as To, useSlots as Sd, useTemplateRef as ka, vShow as wi, watch as nt, watchEffect as fc, withCtx as J, withDirectives as $n, withKeys as pr, withModifiers as $t } from "vue";
1
+ import { Fragment as ke, computed as H, createBlock as F, createCommentVNode as ee, createElementBlock as O, createElementVNode as B, createSlots as Vn, createTextVNode as sn, createVNode as X, defineComponent as ge, getCurrentInstance as dc, guardReactiveProps as Mo, h as bi, inject as xd, mergeModels as Eo, mergeProps as We, nextTick as It, normalizeClass as Ne, normalizeProps as na, normalizeStyle as le, onBeforeUnmount as jo, onMounted as Mt, onUnmounted as Po, openBlock as S, provide as Cd, reactive as aa, ref as z, render as _i, renderList as Oe, renderSlot as Ke, resolveComponent as $, resolveDirective as Bo, resolveDynamicComponent as Ta, shallowRef as Oi, toDisplayString as we, unref as Y, useModel as To, useSlots as Sd, useTemplateRef as ka, vShow as wi, watch as nt, watchEffect as fc, withCtx as J, withDirectives as $n, withKeys as pr, withModifiers as Wt } from "vue";
2
2
  import { Icon as Pl, getIcon as Sa } from "@iconify/vue";
3
3
  import hc from "dayjs";
4
4
  import kd from "sortablejs";
@@ -154,12 +154,16 @@ var Qt = (e) => !!(e == null || typeof e == "string" && e.trim() === "" || Array
154
154
  firstCompactItem: {
155
155
  type: Boolean,
156
156
  default: !1
157
+ },
158
+ isNotStopClick: {
159
+ type: Boolean,
160
+ default: !1
157
161
  }
158
162
  },
159
163
  emits: ["click"],
160
164
  setup(e, { expose: t, emit: n }) {
161
165
  const a = e, o = n, i = (u) => {
162
- !d.value && !a.disabled && (o("click", u), a.href && window.open(a.href, a.target ? a.target : "_self"));
166
+ a.isNotStopClick || u.stopPropagation(), !d.value && !a.disabled && (o("click", u), a.href && window.open(a.href, a.target ? a.target : "_self"));
163
167
  }, r = Oi(null), l = () => {
164
168
  r.value?.focus();
165
169
  }, c = () => {
@@ -205,7 +209,7 @@ var Qt = (e) => !!(e == null || typeof e == "string" && e.trim() === "" || Array
205
209
  "j-button-first-compact-item": e.firstCompactItem == !0
206
210
  }]),
207
211
  disabled: e.disabled,
208
- onClick: $t(i, ["stop"])
212
+ onClick: i
209
213
  }, [
210
214
  d.value ? (S(), F(Ea, {
211
215
  key: 0,
@@ -1405,15 +1409,15 @@ var Yf = /* @__PURE__ */ an(((e, t) => {
1405
1409
  ]);
1406
1410
  },
1407
1411
  _doProcessBlock: function(h, p) {
1408
- for (var g = this._hash.words, b = g[0], x = g[1], m = g[2], v = g[3], w = g[4], C = g[5], y = g[6], _ = g[7], k = b.high, R = b.low, T = x.high, A = x.low, P = m.high, L = m.low, I = v.high, j = v.low, E = w.high, V = w.low, q = C.high, se = C.low, ye = y.high, W = y.low, G = _.high, Q = _.low, M = k, ue = R, Me = T, fe = A, Le = P, Ye = L, ne = I, Ee = j, Be = E, Ie = V, Et = q, bt = se, Xe = ye, qt = W, rn = G, Yt = Q, Vt = 0; Vt < 80; Vt++) {
1409
- var Bt, ut, Nt = f[Vt];
1410
- if (Vt < 16)
1411
- ut = Nt.high = h[p + Vt * 2] | 0, Bt = Nt.low = h[p + Vt * 2 + 1] | 0;
1412
+ for (var g = this._hash.words, b = g[0], x = g[1], m = g[2], v = g[3], w = g[4], C = g[5], y = g[6], _ = g[7], k = b.high, R = b.low, T = x.high, A = x.low, P = m.high, L = m.low, I = v.high, j = v.low, E = w.high, V = w.low, q = C.high, se = C.low, ye = y.high, W = y.low, G = _.high, Q = _.low, M = k, ue = R, Me = T, fe = A, Le = P, Ye = L, ne = I, Ee = j, Be = E, Ie = V, Et = q, bt = se, Xe = ye, qt = W, rn = G, Yt = Q, Ft = 0; Ft < 80; Ft++) {
1413
+ var Bt, ut, Vt = f[Ft];
1414
+ if (Ft < 16)
1415
+ ut = Vt.high = h[p + Ft * 2] | 0, Bt = Vt.low = h[p + Ft * 2 + 1] | 0;
1412
1416
  else {
1413
- var Cn = f[Vt - 15], K = Cn.high, ce = Cn.low, ae = (K >>> 1 | ce << 31) ^ (K >>> 8 | ce << 24) ^ K >>> 7, ie = (ce >>> 1 | K << 31) ^ (ce >>> 8 | K << 24) ^ (ce >>> 7 | K << 25), me = f[Vt - 2], Te = me.high, ze = me.low, at = (Te >>> 19 | ze << 13) ^ (Te << 3 | ze >>> 29) ^ Te >>> 6, Ct = (ze >>> 19 | Te << 13) ^ (ze << 3 | Te >>> 29) ^ (ze >>> 6 | Te << 26), dt = f[Vt - 7], Sn = dt.high, kn = dt.low, Gn = f[Vt - 16], ya = Gn.high, $a = Gn.low;
1414
- Bt = ie + kn, ut = ae + Sn + (Bt >>> 0 < ie >>> 0 ? 1 : 0), Bt = Bt + Ct, ut = ut + at + (Bt >>> 0 < Ct >>> 0 ? 1 : 0), Bt = Bt + $a, ut = ut + ya + (Bt >>> 0 < $a >>> 0 ? 1 : 0), Nt.high = ut, Nt.low = Bt;
1417
+ var Cn = f[Ft - 15], K = Cn.high, ce = Cn.low, ae = (K >>> 1 | ce << 31) ^ (K >>> 8 | ce << 24) ^ K >>> 7, ie = (ce >>> 1 | K << 31) ^ (ce >>> 8 | K << 24) ^ (ce >>> 7 | K << 25), me = f[Ft - 2], Te = me.high, ze = me.low, at = (Te >>> 19 | ze << 13) ^ (Te << 3 | ze >>> 29) ^ Te >>> 6, Ct = (ze >>> 19 | Te << 13) ^ (ze << 3 | Te >>> 29) ^ (ze >>> 6 | Te << 26), dt = f[Ft - 7], Sn = dt.high, kn = dt.low, Gn = f[Ft - 16], ya = Gn.high, $a = Gn.low;
1418
+ Bt = ie + kn, ut = ae + Sn + (Bt >>> 0 < ie >>> 0 ? 1 : 0), Bt = Bt + Ct, ut = ut + at + (Bt >>> 0 < Ct >>> 0 ? 1 : 0), Bt = Bt + $a, ut = ut + ya + (Bt >>> 0 < $a >>> 0 ? 1 : 0), Vt.high = ut, Vt.low = Bt;
1415
1419
  }
1416
- var co = Be & Et ^ ~Be & Xe, be = Ie & bt ^ ~Ie & qt, Re = M & Me ^ M & Le ^ Me & Le, gt = ue & fe ^ ue & Ye ^ fe & Ye, Ht = (M >>> 28 | ue << 4) ^ (M << 30 | ue >>> 2) ^ (M << 25 | ue >>> 7), xe = (ue >>> 28 | M << 4) ^ (ue << 30 | M >>> 2) ^ (ue << 25 | M >>> 7), St = (Be >>> 14 | Ie << 18) ^ (Be >>> 18 | Ie << 14) ^ (Be << 23 | Ie >>> 9), Wt = (Ie >>> 14 | Be << 18) ^ (Ie >>> 18 | Be << 14) ^ (Ie << 23 | Be >>> 9), wt = d[Vt], Jt = wt.high, Ln = wt.low, vt = Yt + Wt, De = rn + St + (vt >>> 0 < Yt >>> 0 ? 1 : 0), vt = vt + be, De = De + co + (vt >>> 0 < be >>> 0 ? 1 : 0), vt = vt + Ln, De = De + Jt + (vt >>> 0 < Ln >>> 0 ? 1 : 0), vt = vt + Bt, De = De + ut + (vt >>> 0 < Bt >>> 0 ? 1 : 0), Rn = xe + gt, Lt = Ht + Re + (Rn >>> 0 < xe >>> 0 ? 1 : 0);
1420
+ var co = Be & Et ^ ~Be & Xe, be = Ie & bt ^ ~Ie & qt, Re = M & Me ^ M & Le ^ Me & Le, gt = ue & fe ^ ue & Ye ^ fe & Ye, Ht = (M >>> 28 | ue << 4) ^ (M << 30 | ue >>> 2) ^ (M << 25 | ue >>> 7), xe = (ue >>> 28 | M << 4) ^ (ue << 30 | M >>> 2) ^ (ue << 25 | M >>> 7), St = (Be >>> 14 | Ie << 18) ^ (Be >>> 18 | Ie << 14) ^ (Be << 23 | Ie >>> 9), Nt = (Ie >>> 14 | Be << 18) ^ (Ie >>> 18 | Be << 14) ^ (Ie << 23 | Be >>> 9), wt = d[Ft], Jt = wt.high, Ln = wt.low, vt = Yt + Nt, De = rn + St + (vt >>> 0 < Yt >>> 0 ? 1 : 0), vt = vt + be, De = De + co + (vt >>> 0 < be >>> 0 ? 1 : 0), vt = vt + Ln, De = De + Jt + (vt >>> 0 < Ln >>> 0 ? 1 : 0), vt = vt + Bt, De = De + ut + (vt >>> 0 < Bt >>> 0 ? 1 : 0), Rn = xe + gt, Lt = Ht + Re + (Rn >>> 0 < xe >>> 0 ? 1 : 0);
1417
1421
  rn = Xe, Yt = qt, Xe = Et, qt = bt, Et = Be, bt = Ie, Ie = Ee + vt | 0, Be = ne + De + (Ie >>> 0 < Ee >>> 0 ? 1 : 0) | 0, ne = Le, Ee = Ye, Le = Me, Ye = fe, Me = M, fe = ue, ue = vt + Rn | 0, M = De + Lt + (ue >>> 0 < vt >>> 0 ? 1 : 0) | 0;
1418
1422
  }
1419
1423
  R = b.low = R + ue, b.high = k + M + (R >>> 0 < ue >>> 0 ? 1 : 0), A = x.low = A + fe, x.high = T + Me + (A >>> 0 < fe >>> 0 ? 1 : 0), L = m.low = L + Ye, m.high = P + Le + (L >>> 0 < Ye >>> 0 ? 1 : 0), j = v.low = j + Ee, v.high = I + ne + (j >>> 0 < Ee >>> 0 ? 1 : 0), V = w.low = V + Ie, w.high = E + Be + (V >>> 0 < Ie >>> 0 ? 1 : 0), se = C.low = se + bt, C.high = q + Et + (se >>> 0 < bt >>> 0 ? 1 : 0), W = y.low = W + qt, y.high = ye + Xe + (W >>> 0 < qt >>> 0 ? 1 : 0), Q = _.low = Q + Yt, _.high = G + rn + (Q >>> 0 < Yt >>> 0 ? 1 : 0);
@@ -1819,7 +1823,7 @@ var Rh = Ce(Pc), Eh = /* @__PURE__ */ ge({
1819
1823
  type: "text",
1820
1824
  label: g.label,
1821
1825
  size: e.size,
1822
- onClick: $t((b) => o(g), ["stop"]),
1826
+ onClick: Wt((b) => o(g), ["stop"]),
1823
1827
  style: {
1824
1828
  "text-align": "left",
1825
1829
  "justify-content": "flex-start"
@@ -1838,7 +1842,7 @@ var Rh = Ce(Pc), Eh = /* @__PURE__ */ ge({
1838
1842
  compact: !0,
1839
1843
  "last-compact-item": p === f.length - 1,
1840
1844
  "first-compact-item": p === 0,
1841
- onClick: $t((g) => o(h), ["stop"])
1845
+ onClick: Wt((g) => o(h), ["stop"])
1842
1846
  }), null, 16, [
1843
1847
  "label",
1844
1848
  "size",
@@ -1875,7 +1879,7 @@ var Rh = Ce(Pc), Eh = /* @__PURE__ */ ge({
1875
1879
  compact: !0,
1876
1880
  "last-compact-item": p === f.length - 1,
1877
1881
  "first-compact-item": p === 0,
1878
- onClick: $t((g) => o(h), ["stop"])
1882
+ onClick: Wt((g) => o(h), ["stop"])
1879
1883
  }), null, 16, [
1880
1884
  "label",
1881
1885
  "size",
@@ -6260,7 +6264,7 @@ var Ip = { class: "j-table-footer" }, zp = {
6260
6264
  rootContainer: Ae,
6261
6265
  renderDefault: !1
6262
6266
  };
6263
- }, Vt = (D) => {
6267
+ }, Ft = (D) => {
6264
6268
  const { table: N, row: Z, col: oe, rect: U } = D, { height: te, width: re } = U ?? N.getCellRect(oe, Z), { Group: ve, CheckBox: he } = Je.CustomLayout, pe = N.getBodyField(oe, Z), Se = ut(N.options?.columns || [], pe), Ae = N.getCellOriginRecord(oe, Z) || {}, He = Se?.style?.textAlign === "right" ? "flex-end" : Se?.style?.textAlign === "center" ? "center" : "flex-start", je = Se?.style?.textAlign === "right" ? "flex-end" : Se?.style?.textAlign === "center" ? "center" : "flex-start", Ze = (tt, _e) => {
6265
6269
  const ft = Ae?.[pe];
6266
6270
  Ae[pe] = (Array.isArray(ft) ? ft : []).map((Ue, zt) => zt !== tt ? Ue : Ue && typeof Ue == "object" ? {
@@ -6338,7 +6342,7 @@ var Ip = { class: "j-table-footer" }, zp = {
6338
6342
  }
6339
6343
  }
6340
6344
  return null;
6341
- }, Nt = (D) => {
6345
+ }, Vt = (D) => {
6342
6346
  const { table: N, col: Z, row: oe } = D, U = N.getBodyField(Z, oe), te = ut(N.options?.columns || [], U);
6343
6347
  if (!te) return {
6344
6348
  elements: [],
@@ -6419,7 +6423,7 @@ var Ip = { class: "j-table-footer" }, zp = {
6419
6423
  _getCompType: ve,
6420
6424
  frozen: et
6421
6425
  }, ft = typeof ve == "function", Ue = Ic(U);
6422
- return (Ue || ft) && (_e.editor = Ue || "j-comp-editor", _ = !0), ft ? _e.customRender = Nt : (U === "j-switch" && (_e.customRender = Ee), U === "j-rate" && (_e.customRender = Be), U === "j-slider" && (_e.customRender = Ie), (U === "j-tag" || U === "j-input-tag") && (_e.customRender = qt), U === "j-icon" && (_e.customRender = Xe)), U === "link" && (_e.customLayout = Yt), U === "checkbox" && (_e.customLayout = Vt), U === "j-switch" && (_e.minWidth = _e.minWidth || Ae, _e.maxWidth = _e.maxWidth || Ae), pe && (_e.customLayout = Bt), _e.fieldFormat = Cn, he && he.length > 0 && (_e.columns = ce(he)), _e;
6426
+ return (Ue || ft) && (_e.editor = Ue || "j-comp-editor", _ = !0), ft ? _e.customRender = Vt : (U === "j-switch" && (_e.customRender = Ee), U === "j-rate" && (_e.customRender = Be), U === "j-slider" && (_e.customRender = Ie), (U === "j-tag" || U === "j-input-tag") && (_e.customRender = qt), U === "j-icon" && (_e.customRender = Xe)), U === "link" && (_e.customLayout = Yt), U === "checkbox" && (_e.customLayout = Ft), U === "j-switch" && (_e.minWidth = _e.minWidth || Ae, _e.maxWidth = _e.maxWidth || Ae), pe && (_e.customLayout = Bt), _e.fieldFormat = Cn, he && he.length > 0 && (_e.columns = ce(he)), _e;
6423
6427
  });
6424
6428
  return o.isTree && N.length > 0 && (N[0].tree = !0), N;
6425
6429
  }, ae = (D, N) => {
@@ -6529,7 +6533,7 @@ var Ip = { class: "j-table-footer" }, zp = {
6529
6533
  });
6530
6534
  const Ae = (He) => {
6531
6535
  for (const je of He)
6532
- if (je?._compType === "checkbox" || je?.customRender === Nt || je?.customRender === qt || Array.isArray(je?.columns) && Ae(je.columns)) return !0;
6536
+ if (je?._compType === "checkbox" || je?.customRender === Vt || je?.customRender === qt || Array.isArray(je?.columns) && Ae(je.columns)) return !0;
6533
6537
  return !1;
6534
6538
  };
6535
6539
  return Ae(te) && !(o.subColumns && o.subColumns.length > 0) && (U.defaultRowHeight = "auto", U.defaultHeaderRowHeight = 40), {
@@ -6617,7 +6621,7 @@ var Ip = { class: "j-table-footer" }, zp = {
6617
6621
  };
6618
6622
  Ae(pe.children);
6619
6623
  }
6620
- const Se = Wt();
6624
+ const Se = Nt();
6621
6625
  Se.length == 0 && v.setCellCheckboxState(0, 0, !1), k.value = Se.length, i("selectionChanged", {
6622
6626
  isMultiple: !0,
6623
6627
  selections: Se,
@@ -6626,7 +6630,7 @@ var Ip = { class: "j-table-footer" }, zp = {
6626
6630
  }), v.renderWithRecreateCells();
6627
6631
  }
6628
6632
  } else setTimeout(() => {
6629
- const Se = Wt();
6633
+ const Se = Nt();
6630
6634
  k.value = Se.length, i("selectionChanged", {
6631
6635
  isMultiple: !1,
6632
6636
  selections: Se,
@@ -6683,7 +6687,7 @@ var Ip = { class: "j-table-footer" }, zp = {
6683
6687
  rows: N,
6684
6688
  page: D
6685
6689
  });
6686
- }, Wt = () => {
6690
+ }, Nt = () => {
6687
6691
  if (!v) return [];
6688
6692
  if (!Dt.value) {
6689
6693
  const D = v.getSelectedCellInfos();
@@ -6761,7 +6765,7 @@ var Ip = { class: "j-table-footer" }, zp = {
6761
6765
  i("rowChange", D), v.renderWithRecreateCells();
6762
6766
  }, vt = (D) => {
6763
6767
  if (!v) return;
6764
- const N = Wt();
6768
+ const N = Nt();
6765
6769
  if (N.length > 0) {
6766
6770
  Jt(N);
6767
6771
  return;
@@ -6808,7 +6812,7 @@ var Ip = { class: "j-table-footer" }, zp = {
6808
6812
  });
6809
6813
  }, vd = H(() => k.value > 0), yd = () => {
6810
6814
  if (!v) return;
6811
- const D = Wt();
6815
+ const D = Nt();
6812
6816
  D.length !== 0 && Rd.confirm(`确定要删除选中的 ${D.length} 条记录吗?`, "删除确认", {
6813
6817
  confirmButtonText: "确定",
6814
6818
  cancelButtonText: "取消",
@@ -6858,7 +6862,7 @@ var Ip = { class: "j-table-footer" }, zp = {
6858
6862
  getInstance: $a,
6859
6863
  setRecords: co,
6860
6864
  getRecords: be,
6861
- getSelection: Wt,
6865
+ getSelection: Nt,
6862
6866
  setSelection: Jt,
6863
6867
  renderTable: De
6864
6868
  }), (D, N) => {
@@ -8035,8 +8039,8 @@ var Ip = { class: "j-table-footer" }, zp = {
8035
8039
  placeholder: e.placeholder,
8036
8040
  size: e.size,
8037
8041
  onSelect: l,
8038
- onKeyup: pr($t(s, ["stop"]), ["enter"]),
8039
- onKeydown: pr($t(c, ["stop"]), ["enter"])
8042
+ onKeyup: pr(Wt(s, ["stop"]), ["enter"]),
8043
+ onKeydown: pr(Wt(c, ["stop"]), ["enter"])
8040
8044
  }, {
8041
8045
  prefix: J(() => [X(p, { size: 4 }, {
8042
8046
  default: J(() => [(S(!0), O(ke, null, Oe(i.value, (b, x) => (S(), F(h, {
@@ -8046,7 +8050,7 @@ var Ip = { class: "j-table-footer" }, zp = {
8046
8050
  closable: !e.readonly,
8047
8051
  style: le(r.value[x] || {}),
8048
8052
  size: "small",
8049
- onClose: $t((m) => d(x), ["prevent"])
8053
+ onClose: Wt((m) => d(x), ["prevent"])
8050
8054
  }, {
8051
8055
  default: J(() => [sn(we(b), 1)]),
8052
8056
  _: 2
@@ -8342,13 +8346,13 @@ var Ip = { class: "j-table-footer" }, zp = {
8342
8346
  key: 0,
8343
8347
  icon: "mdi:eye",
8344
8348
  type: "link",
8345
- onClick: $t((d) => e.previewFile(s), ["stop"])
8349
+ onClick: Wt((d) => e.previewFile(s), ["stop"])
8346
8350
  }, null, 8, ["onClick"])) : ee("", !0), !e.readonly && (s.status === "done" || s.status === "unUpload") ? (S(), F(r, {
8347
8351
  key: 1,
8348
8352
  icon: "mdi:delete",
8349
8353
  type: "link",
8350
8354
  danger: "",
8351
- onClick: $t((d) => e.deleteFile(s), ["stop", "prevent"])
8355
+ onClick: Wt((d) => e.deleteFile(s), ["stop", "prevent"])
8352
8356
  }, null, 8, ["onClick"])) : ee("", !0)], 512), [[wi, s.status === "error"]]),
8353
8357
  s.status === "uploading" ? (S(), F(l, {
8354
8358
  key: 2,
@@ -8376,13 +8380,13 @@ var Ip = { class: "j-table-footer" }, zp = {
8376
8380
  key: 0,
8377
8381
  type: "link",
8378
8382
  icon: "mdi:eye",
8379
- onClick: $t((d) => e.previewFile(s), ["stop"])
8383
+ onClick: Wt((d) => e.previewFile(s), ["stop"])
8380
8384
  }, null, 8, ["onClick"])) : ee("", !0), !e.readonly && (s.status === "done" || s.status === "unUpload") ? (S(), F(r, {
8381
8385
  key: 1,
8382
8386
  type: "link",
8383
8387
  danger: "",
8384
8388
  icon: "mdi:delete",
8385
- onClick: $t((d) => e.deleteFile(s), ["stop", "prevent"])
8389
+ onClick: Wt((d) => e.deleteFile(s), ["stop", "prevent"])
8386
8390
  }, null, 8, ["onClick"])) : ee("", !0)], 512), [[wi, s.status === "error"]]),
8387
8391
  s.status === "uploading" ? (S(), F(l, {
8388
8392
  key: 1,
@@ -8402,7 +8406,7 @@ var Ip = { class: "j-table-footer" }, zp = {
8402
8406
  B("div", zg, [X(c, {
8403
8407
  type: "primary",
8404
8408
  underline: "never",
8405
- onClick: $t((d) => e.previewFile(s), ["stop"])
8409
+ onClick: Wt((d) => e.previewFile(s), ["stop"])
8406
8410
  }, {
8407
8411
  default: J(() => [sn(we(`${Y(t)(s.name)}${s.status === "unUpload" ? "(" + Y(t)("未传") + ")" : ""}`), 1)]),
8408
8412
  _: 2
@@ -8426,7 +8430,7 @@ var Ip = { class: "j-table-footer" }, zp = {
8426
8430
  class: "j-upload-item-error",
8427
8431
  icon: "delete",
8428
8432
  size: 24,
8429
- onClick: $t((d) => e.deleteFile(s), ["stop", "prevent"])
8433
+ onClick: Wt((d) => e.deleteFile(s), ["stop", "prevent"])
8430
8434
  }, null, 8, ["onClick"])), [[wi, s.status === "error"]]),
8431
8435
  s.status === "uploading" ? (S(), F(l, {
8432
8436
  key: 3,
@@ -8769,7 +8773,8 @@ var Ip = { class: "j-table-footer" }, zp = {
8769
8773
  icon: "mdi:tray-upload",
8770
8774
  type: e.drag ? "text" : e.btnType,
8771
8775
  size: e.btnSize,
8772
- label: e.readonly ? e.btnText : e.placeholder
8776
+ label: e.readonly ? e.btnText : e.placeholder,
8777
+ isNotStopClick: !0
8773
8778
  }, null, 8, [
8774
8779
  "type",
8775
8780
  "size",
@@ -11073,7 +11078,7 @@ var Ip = { class: "j-table-footer" }, zp = {
11073
11078
  content: J(() => [B("span", null, we(Y(n)(e.item.label)), 1)]),
11074
11079
  default: J(() => [B("div", {
11075
11080
  class: Ne(["j-menu-item", { collapsed: e.collapsed }]),
11076
- onClick: l[0] || (l[0] = $t((f) => i(e.item), ["stop"]))
11081
+ onClick: l[0] || (l[0] = Wt((f) => i(e.item), ["stop"]))
11077
11082
  }, [B("div", {
11078
11083
  class: Ne(["j-menu-item-content", {
11079
11084
  active: e.item.value === Y(a),
@@ -11132,7 +11137,7 @@ var Ip = { class: "j-table-footer" }, zp = {
11132
11137
  collapsed: e.collapsed,
11133
11138
  sub: e.item.indent > 0
11134
11139
  }]),
11135
- onClick: l[1] || (l[1] = $t((f) => i(e.item), ["stop"]))
11140
+ onClick: l[1] || (l[1] = Wt((f) => i(e.item), ["stop"]))
11136
11141
  }, [B("div", {
11137
11142
  class: Ne(["j-menu-item-content", {
11138
11143
  active: e.item.value === Y(a),
@@ -12211,11 +12216,11 @@ var Ip = { class: "j-table-footer" }, zp = {
12211
12216
  const St = gt.get(xe.id);
12212
12217
  if (St) {
12213
12218
  if (xe.display) {
12214
- let Wt = St;
12215
- St.children && St.children.length > 0 && (Wt = {
12219
+ let Nt = St;
12220
+ St.children && St.children.length > 0 && (Nt = {
12216
12221
  ...St,
12217
12222
  children: C(St.children, xe.children)
12218
- }), Ht.push(Wt);
12223
+ }), Ht.push(Nt);
12219
12224
  }
12220
12225
  gt.delete(xe.id);
12221
12226
  }
@@ -12278,8 +12283,8 @@ var Ip = { class: "j-table-footer" }, zp = {
12278
12283
  return [...be, ...Re];
12279
12284
  }
12280
12285
  return i.buttons;
12281
- }), rn = H(() => qt.value.filter((be) => be.config?.display !== !1)), Yt = z(null), Vt = z(0), Bt = () => {
12282
- Vt.value = Yt.value?.clientWidth || 0;
12286
+ }), rn = H(() => qt.value.filter((be) => be.config?.display !== !1)), Yt = z(null), Ft = z(0), Bt = () => {
12287
+ Ft.value = Yt.value?.clientWidth || 0;
12283
12288
  };
12284
12289
  let ut;
12285
12290
  Mt(() => {
@@ -12293,10 +12298,10 @@ var Ip = { class: "j-table-footer" }, zp = {
12293
12298
  }, { deep: !0 }), nt(Ie, () => {
12294
12299
  It(Bt);
12295
12300
  });
12296
- const Nt = H(() => {
12301
+ const Vt = H(() => {
12297
12302
  const be = rn.value;
12298
12303
  if (be.length === 0) return [];
12299
- const Re = Vt.value;
12304
+ const Re = Ft.value;
12300
12305
  if (Re <= 0) return be;
12301
12306
  const gt = Math.max(0, Re - 4), Ht = (Lt, Xt) => Lt.groupId || `__auto_${Xt}`, xe = (Lt) => {
12302
12307
  if (Lt.config?.notLabel === !0 || !Lt.label) return 28;
@@ -12310,7 +12315,7 @@ var Ip = { class: "j-table-footer" }, zp = {
12310
12315
  En !== null && (Xt += qo === En ? -1 : 8), Xt += xe(Dt), En = qo;
12311
12316
  }), Xt;
12312
12317
  })(be) <= gt) return be;
12313
- const Wt = {
12318
+ const Nt = {
12314
12319
  id: "__table_panel_more__",
12315
12320
  label: "",
12316
12321
  config: {
@@ -12332,7 +12337,7 @@ var Ip = { class: "j-table-footer" }, zp = {
12332
12337
  const De = be.slice(Jt.length);
12333
12338
  if (De.length === 0) return be;
12334
12339
  const Rn = {
12335
- ...Wt,
12340
+ ...Nt,
12336
12341
  children: De
12337
12342
  };
12338
12343
  return Jt.length === 0 ? [Rn] : [...Jt, Rn];
@@ -12406,11 +12411,11 @@ var Ip = { class: "j-table-footer" }, zp = {
12406
12411
  if (b.value) xe = be;
12407
12412
  else if (!i.rowKey) xe = be;
12408
12413
  else {
12409
- const St = new Map(be.map((wt) => [w(wt), wt])), Wt = new Map(p.value.map((wt) => [w(wt), wt]));
12414
+ const St = new Map(be.map((wt) => [w(wt), wt])), Nt = new Map(p.value.map((wt) => [w(wt), wt]));
12410
12415
  c.forEach((wt) => {
12411
12416
  const Jt = w(wt);
12412
- St.has(Jt) ? Wt.set(Jt, St.get(Jt)) : Wt.delete(Jt);
12413
- }), xe = Array.from(Wt.values());
12417
+ St.has(Jt) ? Nt.set(Jt, St.get(Jt)) : Nt.delete(Jt);
12418
+ }), xe = Array.from(Nt.values());
12414
12419
  }
12415
12420
  p.value = xe, r("select", {
12416
12421
  selections: xe,
@@ -12442,7 +12447,7 @@ var Ip = { class: "j-table-footer" }, zp = {
12442
12447
  },
12443
12448
  getTableRef: $a
12444
12449
  }), (be, Re) => {
12445
- const gt = $("j-buttons"), Ht = $("j-icon"), xe = $("el-popover"), St = $("el-tooltip"), Wt = $("el-input"), wt = $("j-button"), Jt = $("el-pagination"), Ln = $("j-table"), vt = Bo("loading");
12450
+ const gt = $("j-buttons"), Ht = $("j-icon"), xe = $("el-popover"), St = $("el-tooltip"), Nt = $("el-input"), wt = $("j-button"), Jt = $("el-pagination"), Ln = $("j-table"), vt = Bo("loading");
12446
12451
  return S(), O("div", { class: Ne(["j-table-panel-wrapper", {
12447
12452
  fullscreen: Ie.value,
12448
12453
  "no-padding": e.noPadding || Ie.value
@@ -12450,8 +12455,8 @@ var Ip = { class: "j-table-footer" }, zp = {
12450
12455
  ref_key: "topLeftRef",
12451
12456
  ref: Yt,
12452
12457
  class: "j-table-panel-top-left"
12453
- }, [X(gt, { list: Nt.value }, null, 8, ["list"])], 512), B("div", $m, [
12454
- R.value && !m.value ? (S(), O("div", Fm, [X(Wt, {
12458
+ }, [X(gt, { list: Vt.value }, null, 8, ["list"])], 512), B("div", $m, [
12459
+ R.value && !m.value ? (S(), O("div", Fm, [X(Nt, {
12455
12460
  modelValue: k.value,
12456
12461
  "onUpdate:modelValue": Re[2] || (Re[2] = (De) => k.value = De),
12457
12462
  modelModifiers: { trim: !0 },
@@ -12775,7 +12780,7 @@ var Ip = { class: "j-table-footer" }, zp = {
12775
12780
  }, 8, ["modelValue", "placeholder"])]), B("div", Xm, [(S(!0), O(ke, null, Oe(r.value, (g) => (S(), O("div", {
12776
12781
  key: g.value,
12777
12782
  class: Ne(["option-item", { active: l.value.includes(g.value) || g.disabled }]),
12778
- onClick: $t((b) => c(g), ["stop"])
12783
+ onClick: Wt((b) => c(g), ["stop"])
12779
12784
  }, [g.icon ? (S(), F(u, {
12780
12785
  key: 0,
12781
12786
  class: "j-button-select-icon",
@@ -13004,7 +13009,7 @@ var Ip = { class: "j-table-footer" }, zp = {
13004
13009
  key: Le,
13005
13010
  disabled: fe.disabled,
13006
13011
  divided: fe.divided,
13007
- onClick: $t((Ye) => T(fe, M.data), ["stop"])
13012
+ onClick: Wt((Ye) => T(fe, M.data), ["stop"])
13008
13013
  }, {
13009
13014
  default: J(() => [B("div", {
13010
13015
  class: "j-flex-item",
@@ -13240,7 +13245,7 @@ var zc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13240
13245
  }, b = z(!1), x = H(() => a.config?.gutter || 16), m = H(() => a.config?.span || 24), v = H(() => a.config?.labelWidth), w = H(() => a.config?.labelPosition || "right"), C = H(() => k.length === 1 && (k[0].type === "j-tabs" || k[0].type === "j-layout" || k[0].config?.isAutoWindow)), y = aa({}), _ = z({}), k = [], R = {};
13241
13246
  let T = {}, A = {}, P = [], L = {};
13242
13247
  const I = async (K) => {
13243
- b.value && V && (K.getTableData || Ol(V, K.config.valueIdKey || K.id, K.formData[K.config.valueIdKey || K.id])), o("change", K), R[K.id]?.config?.codeChange && await Nt(JSON.parse(R[K.id]?.config?.codeChange), { param: K }), a.config?.codeChange && await Nt(JSON.parse(a.config?.codeChange), { param: K });
13248
+ b.value && V && (K.getTableData || Ol(V, K.config.valueIdKey || K.id, K.formData[K.config.valueIdKey || K.id])), o("change", K), R[K.id]?.config?.codeChange && await Vt(JSON.parse(R[K.id]?.config?.codeChange), { param: K }), a.config?.codeChange && await Vt(JSON.parse(a.config?.codeChange), { param: K });
13244
13249
  }, j = (K) => Ur(R[K]?.type || "") && !R[K]?.config?.notInput || R[K]?.config?.isInput, E = (K) => [
13245
13250
  "j-table",
13246
13251
  "j-input-rows",
@@ -13290,7 +13295,7 @@ var zc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13290
13295
  }, W = async (K, ce) => {
13291
13296
  b.value = !1;
13292
13297
  const ae = !!ce;
13293
- k.splice(0, k.length), T = {}, A = {}, P = [], V = ce, Co(y), Co(R), ae && q(ce, ""), ye(K, k, ae), L = fn(y), await It(), b.value = !0, await It(), a.config?.codeInit && await Nt(JSON.parse(a.config?.codeInit), { param: {} });
13298
+ k.splice(0, k.length), T = {}, A = {}, P = [], V = ce, Co(y), Co(R), ae && q(ce, ""), ye(K, k, ae), L = fn(y), await It(), b.value = !0, await It(), a.config?.codeInit && await Vt(JSON.parse(a.config?.codeInit), { param: {} });
13294
13299
  }, G = (K, ce, ae) => {
13295
13300
  const ie = [];
13296
13301
  return ce.forEach((me) => {
@@ -13494,14 +13499,14 @@ var zc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13494
13499
  ae && await ie(qt(ce));
13495
13500
  }
13496
13501
  }, Yt = async () => {
13497
- a.config?.codeAfterSetData && await Nt(JSON.parse(a.config?.codeAfterSetData), { param: {} });
13498
- }, Vt = async () => {
13499
- a.config?.codeBeforeSave && await Nt(JSON.parse(a.config?.codeBeforeSave), { param: {} });
13502
+ a.config?.codeAfterSetData && await Vt(JSON.parse(a.config?.codeAfterSetData), { param: {} });
13503
+ }, Ft = async () => {
13504
+ a.config?.codeBeforeSave && await Vt(JSON.parse(a.config?.codeBeforeSave), { param: {} });
13500
13505
  }, Bt = async () => {
13501
- a.config?.codeAfterSave && await Nt(JSON.parse(a.config?.codeAfterSave), { param: {} });
13506
+ a.config?.codeAfterSave && await Vt(JSON.parse(a.config?.codeAfterSave), { param: {} });
13502
13507
  };
13503
13508
  a.schema && W(a.schema);
13504
- const ut = {}, Nt = async (K, ce) => {
13509
+ const ut = {}, Vt = async (K, ce) => {
13505
13510
  const { run: ae } = zc({
13506
13511
  data: K,
13507
13512
  actions: a.actions,
@@ -13525,10 +13530,10 @@ var zc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13525
13530
  labelPosition: w,
13526
13531
  getValue: Et,
13527
13532
  formChange: I,
13528
- runFlow: Nt,
13533
+ runFlow: Vt,
13529
13534
  runFlowByNotRunActions: async (K) => {
13530
13535
  const ce = ut[K];
13531
- ce && (delete ut[K], await Nt(ce.data, ce.inputParams));
13536
+ ce && (delete ut[K], await Vt(ce.data, ce.inputParams));
13532
13537
  }
13533
13538
  }), jc({ contextType: "form" }), t({
13534
13539
  init: W,
@@ -13540,7 +13545,7 @@ var zc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13540
13545
  setFormData: Q,
13541
13546
  getFormData: Me,
13542
13547
  afterSetData: Yt,
13543
- beforeSave: Vt,
13548
+ beforeSave: Ft,
13544
13549
  afterSave: Bt
13545
13550
  }), (K, ce) => {
13546
13551
  const ae = $("j-form-item"), ie = $("el-row"), me = $("el-form");
@@ -13554,7 +13559,7 @@ var zc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
13554
13559
  "label-position": w.value,
13555
13560
  "label-width": v.value,
13556
13561
  size: e.config?.size,
13557
- onSubmit: ce[0] || (ce[0] = $t(() => {
13562
+ onSubmit: ce[0] || (ce[0] = Wt(() => {
13558
13563
  }, ["prevent"]))
13559
13564
  }, {
13560
13565
  default: J(() => [C.value ? (S(), F(ae, We({ key: 0 }, k[0], { "is-not-col": "" }), null, 16)) : (S(), F(ie, {
@@ -14230,7 +14235,7 @@ var zc = ({ data: e, actions: t, utils: n, inputParams: a, notRunActions: o }) =
14230
14235
  "label-position": l.value,
14231
14236
  "label-width": r.value,
14232
14237
  size: e.formConfig?.size,
14233
- onSubmit: u[0] || (u[0] = $t(() => {
14238
+ onSubmit: u[0] || (u[0] = Wt(() => {
14234
14239
  }, ["prevent"]))
14235
14240
  }, {
14236
14241
  default: J(() => [c.value ? (S(), F(p, na(We({ key: 0 }, e.schema[0])), null, 16)) : (S(), F(g, {
@@ -20500,25 +20505,25 @@ var wx = {
20500
20505
  __init__: ["connectionPreview"],
20501
20506
  connectionPreview: ["type", Jn]
20502
20507
  }, _x = new Di("ov"), xx = 500;
20503
- function Ft(e, t, n, a) {
20508
+ function $t(e, t, n, a) {
20504
20509
  this._eventBus = t, this._canvas = n, this._elementRegistry = a, this._ids = _x, this._overlayDefaults = Ve({
20505
20510
  show: null,
20506
20511
  scale: !0
20507
20512
  }, e && e.defaults), this._overlays = {}, this._overlayContainers = [], this._overlayRoot = Cx(n.getContainer()), this._init();
20508
20513
  }
20509
- Ft.$inject = [
20514
+ $t.$inject = [
20510
20515
  "config.overlays",
20511
20516
  "eventBus",
20512
20517
  "canvas",
20513
20518
  "elementRegistry"
20514
20519
  ];
20515
- Ft.prototype.get = function(e) {
20520
+ $t.prototype.get = function(e) {
20516
20521
  if (yr(e) && (e = { id: e }), yr(e.element) && (e.element = this._elementRegistry.get(e.element)), e.element) {
20517
20522
  var t = this._getOverlayContainer(e.element, !0);
20518
20523
  return t ? e.type ? un(t.overlays, xi({ type: e.type })) : t.overlays.slice() : [];
20519
20524
  } else return e.type ? un(this._overlays, xi({ type: e.type })) : e.id ? this._overlays[e.id] : null;
20520
20525
  };
20521
- Ft.prototype.add = function(e, t, n) {
20526
+ $t.prototype.add = function(e, t, n) {
20522
20527
  if (dn(t) && (n = t, t = null), e.id || (e = this._elementRegistry.get(e)), !n.position) throw new Error("must specifiy overlay position");
20523
20528
  if (!n.html) throw new Error("must specifiy overlay html");
20524
20529
  if (!e) throw new Error("invalid element specified");
@@ -20530,7 +20535,7 @@ Ft.prototype.add = function(e, t, n) {
20530
20535
  html: n.html
20531
20536
  }), this._addOverlay(n), a;
20532
20537
  };
20533
- Ft.prototype.remove = function(e) {
20538
+ $t.prototype.remove = function(e) {
20534
20539
  var t = this.get(e) || [];
20535
20540
  st(t) || (t = [t]);
20536
20541
  var n = this;
@@ -20542,19 +20547,19 @@ Ft.prototype.remove = function(e) {
20542
20547
  }
20543
20548
  });
20544
20549
  };
20545
- Ft.prototype.isShown = function() {
20550
+ $t.prototype.isShown = function() {
20546
20551
  return this._overlayRoot.style.display !== "none";
20547
20552
  };
20548
- Ft.prototype.show = function() {
20553
+ $t.prototype.show = function() {
20549
20554
  Zi(this._overlayRoot);
20550
20555
  };
20551
- Ft.prototype.hide = function() {
20556
+ $t.prototype.hide = function() {
20552
20557
  Zi(this._overlayRoot, !1);
20553
20558
  };
20554
- Ft.prototype.clear = function() {
20559
+ $t.prototype.clear = function() {
20555
20560
  this._overlays = {}, this._overlayContainers = [], gc(this._overlayRoot);
20556
20561
  };
20557
- Ft.prototype._updateOverlayContainer = function(e) {
20562
+ $t.prototype._updateOverlayContainer = function(e) {
20558
20563
  var t = e.element, n = e.html, a = t.x, o = t.y;
20559
20564
  if (t.waypoints) {
20560
20565
  var i = On(t);
@@ -20562,7 +20567,7 @@ Ft.prototype._updateOverlayContainer = function(e) {
20562
20567
  }
20563
20568
  Qu(n, a, o), _n(e.html, "data-container-id", t.id);
20564
20569
  };
20565
- Ft.prototype._updateOverlay = function(e) {
20570
+ $t.prototype._updateOverlay = function(e) {
20566
20571
  var t = e.position, n = e.htmlContainer, a = e.element, o = t.left, i = t.top;
20567
20572
  if (t.right !== void 0) {
20568
20573
  var r;
@@ -20574,7 +20579,7 @@ Ft.prototype._updateOverlay = function(e) {
20574
20579
  }
20575
20580
  Qu(n, o || 0, i || 0), this._updateOverlayVisibilty(e, this._canvas.viewbox());
20576
20581
  };
20577
- Ft.prototype._createOverlayContainer = function(e) {
20582
+ $t.prototype._createOverlayContainer = function(e) {
20578
20583
  var t = on('<div class="djs-overlays" />');
20579
20584
  Ii(t, { position: "absolute" }), this._overlayRoot.appendChild(t);
20580
20585
  var n = {
@@ -20584,7 +20589,7 @@ Ft.prototype._createOverlayContainer = function(e) {
20584
20589
  };
20585
20590
  return this._updateOverlayContainer(n), this._overlayContainers.push(n), n;
20586
20591
  };
20587
- Ft.prototype._updateRoot = function(e) {
20592
+ $t.prototype._updateRoot = function(e) {
20588
20593
  var t = e.scale || 1, n = "matrix(" + [
20589
20594
  t,
20590
20595
  0,
@@ -20595,33 +20600,33 @@ Ft.prototype._updateRoot = function(e) {
20595
20600
  ].join(",") + ")";
20596
20601
  ed(this._overlayRoot, n);
20597
20602
  };
20598
- Ft.prototype._getOverlayContainer = function(e, t) {
20603
+ $t.prototype._getOverlayContainer = function(e, t) {
20599
20604
  var n = Pn(this._overlayContainers, function(a) {
20600
20605
  return a.element === e;
20601
20606
  });
20602
20607
  return !n && !t ? this._createOverlayContainer(e) : n;
20603
20608
  };
20604
- Ft.prototype._addOverlay = function(e) {
20609
+ $t.prototype._addOverlay = function(e) {
20605
20610
  var t = e.id, n = e.element, a = e.html, o, i;
20606
20611
  a.get && a.constructor.prototype.jquery && (a = a.get(0)), yr(a) && (a = on(a)), i = this._getOverlayContainer(n), o = on('<div class="djs-overlay" data-overlay-id="' + t + '">'), Ii(o, { position: "absolute" }), o.appendChild(a), e.type && nn(o).add("djs-overlay-" + e.type);
20607
20612
  var r = this._canvas.findRoot(n), l = this._canvas.getRootElement();
20608
20613
  Zi(o, r === l), e.htmlContainer = o, i.overlays.push(e), i.html.appendChild(o), this._overlays[t] = e, this._updateOverlay(e), this._updateOverlayVisibilty(e, this._canvas.viewbox());
20609
20614
  };
20610
- Ft.prototype._updateOverlayVisibilty = function(e, t) {
20615
+ $t.prototype._updateOverlayVisibilty = function(e, t) {
20611
20616
  var n = e.show, a = this._canvas.findRoot(e.element), o = n && n.minZoom, i = n && n.maxZoom, r = e.htmlContainer, l = this._canvas.getRootElement(), c = !0;
20612
20617
  (a !== l || n && (wn(o) && o > t.scale || wn(i) && i < t.scale)) && (c = !1), Zi(r, c), this._updateOverlayScale(e, t);
20613
20618
  };
20614
- Ft.prototype._updateOverlayScale = function(e, t) {
20619
+ $t.prototype._updateOverlayScale = function(e, t) {
20615
20620
  var n = e.scale, a, o, i = e.htmlContainer, r, l = "";
20616
20621
  n !== !0 && (n === !1 ? (a = 1, o = 1) : (a = n.min, o = n.max), wn(a) && t.scale < a && (r = (1 / t.scale || 1) * a), wn(o) && t.scale > o && (r = (1 / t.scale || 1) * o)), wn(r) && (l = "scale(" + r + "," + r + ")"), ed(i, l);
20617
20622
  };
20618
- Ft.prototype._updateOverlaysVisibilty = function(e) {
20623
+ $t.prototype._updateOverlaysVisibilty = function(e) {
20619
20624
  var t = this;
20620
20625
  de(this._overlays, function(n) {
20621
20626
  t._updateOverlayVisibilty(n, e);
20622
20627
  });
20623
20628
  };
20624
- Ft.prototype._init = function() {
20629
+ $t.prototype._init = function() {
20625
20630
  var e = this._eventBus, t = this;
20626
20631
  function n(a) {
20627
20632
  t._updateRoot(a), t._updateOverlaysVisibilty(a), t.show();
@@ -20681,7 +20686,7 @@ function ed(e, t) {
20681
20686
  }
20682
20687
  var Sx = {
20683
20688
  __init__: ["overlays"],
20684
- overlays: ["type", Ft]
20689
+ overlays: ["type", $t]
20685
20690
  }, kx = new Di();
20686
20691
  function oo(e) {
20687
20692
  this._scheduled = {}, e.on("diagram.destroy", () => {