bp-aicc-editor 1.2.530 → 1.2.533

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 (100) hide show
  1. package/lib/{ScreenPreview-B5hb_Ab0.js → ScreenPreview-FoZUufBR.js} +12 -13
  2. package/lib/{atlas-DiNmNFXG.js → atlas-DF4Lfrow.js} +86 -86
  3. package/lib/{button-base-BzLHHlQI.js → button-base-YTmDW72t.js} +1 -1
  4. package/lib/{cache-C8gAGpzu.js → cache-DtD3SKMB.js} +3 -4
  5. package/lib/{config-provider-BTqYx_ln.js → config-provider-DQyVecVx.js} +3 -3
  6. package/lib/{container-group-BQUovUzA.js → container-group-CnonzJmj.js} +1 -1
  7. package/lib/{copy-DIQqr93L.js → copy-CIj9gm1J.js} +1 -1
  8. package/lib/{datav-Cfubg4bw.js → datav-CsEiLH5t.js} +36 -37
  9. package/lib/{delete-1rVRMIUh.js → delete-CAj4TErv.js} +1 -1
  10. package/lib/{divider-CkcziCO9.js → divider-DF0qPE0D.js} +1 -1
  11. package/lib/{dropdown-vYLJTSU-.js → dropdown-Br_B_aNo.js} +1 -1
  12. package/lib/{edit-CnXz8I8A.js → edit-mcW-x2iU.js} +1 -1
  13. package/lib/{el-form-item-CgbRceQF.js → el-form-item-Ci93qkxP.js} +91 -91
  14. package/lib/{el-link-BecQJB50.js → el-link-BGKgDIvu.js} +3 -3
  15. package/lib/{el-loading-CUOEJDIx.js → el-loading-CfUI_ON5.js} +25 -25
  16. package/lib/{fullscreen-Dt8ug8Cm.js → fullscreen-iRVKMEse.js} +1 -1
  17. package/lib/{image-C8I5vsAi.js → image-D1aXEemr.js} +1 -1
  18. package/lib/{index-D2t5MWS3.js → index-BCFodf7u.js} +2 -2
  19. package/lib/{index-Cxdk7-XH.js → index-BK_nidSP.js} +3 -3
  20. package/lib/{index-C3KQY3yp.js → index-BKmjxUgC.js} +2 -2
  21. package/lib/{index-B04QbF2y.js → index-BLHE-yUE.js} +45 -45
  22. package/lib/{index-CTyqt-r8.js → index-BMZTKNC1.js} +8 -8
  23. package/lib/{index-BdHiIJ6d.js → index-BTtHddTa.js} +5 -5
  24. package/lib/{index-BCXmlpXx.js → index-B_UTAvhM.js} +1 -1
  25. package/lib/{index-AlZU9FJo.js → index-BiTvlWTu.js} +2 -2
  26. package/lib/{index-FjkV5ENo.js → index-BlcLf2_w.js} +11 -11
  27. package/lib/{index-BWo60ut7.js → index-BmauUvL0.js} +11 -11
  28. package/lib/{index-Df7YLI2q.js → index-C5E1loq5.js} +25 -26
  29. package/lib/{index-CiMXmaW7.js → index-C8S3mhyH.js} +53 -53
  30. package/lib/{index-PE2_NK3d.js → index-CAd7Drku.js} +78 -78
  31. package/lib/{index-BDGE3zOy.js → index-CEnOwg6c.js} +1 -1
  32. package/lib/{index-DNsQpj6g.js → index-CNh2MyX_.js} +4 -4
  33. package/lib/{index-DYBbkUeC.js → index-CQLpEw7q.js} +11 -12
  34. package/lib/{index-CcpvyXLh.js → index-CTQhTxhY.js} +74 -75
  35. package/lib/{index-C5XB0POJ.js → index-CUQnkTqB.js} +2 -2
  36. package/lib/{index-fr2IVrdU.js → index-CVZ8m59X.js} +3 -3
  37. package/lib/{index-Dh5E5f-9.js → index-CYEVzohx.js} +10 -10
  38. package/lib/{index-BeGavc6F.js → index-CZXYFWuU.js} +90 -90
  39. package/lib/{index-D1nJmtcW.js → index-D0IxchU7.js} +75 -75
  40. package/lib/{index-Mv2_jSdU.js → index-D9NMvPdO.js} +5 -5
  41. package/lib/{index-ApQFJFkJ.js → index-DBzXEKrD.js} +2 -2
  42. package/lib/{index-DR_dUR-O.js → index-DH4oUEc8.js} +24 -24
  43. package/lib/{index-Bb50ylDE.js → index-DLhVLAen.js} +1 -1
  44. package/lib/{index-Dxyw7tuq.js → index-DMCPDPGs.js} +31 -31
  45. package/lib/{index-Da9BqzmG.js → index-DTLmWB7x.js} +130 -130
  46. package/lib/{index-klNrkd6b.js → index-DU-G8lJd.js} +94 -94
  47. package/lib/{index-BjMOOEwi.js → index-DY1sRTxo.js} +5 -5
  48. package/lib/{index-Dt_aqbpU.js → index-D_vdpYK8.js} +24 -24
  49. package/lib/{index-DDMYmIzj.js → index-DiU5wEbe.js} +5 -5
  50. package/lib/{index-BMuNDo9k.js → index-DiVasNFo.js} +10 -10
  51. package/lib/index-DkjwZbZB.js +31628 -0
  52. package/lib/{index-BhCtWQXQ.js → index-DoRfLgoh.js} +131 -131
  53. package/lib/{index-Bc6eaQIV.js → index-DopJiyNJ.js} +2 -2
  54. package/lib/{index-0FXfN_W3.js → index-DpJYnkxb.js} +12 -13
  55. package/lib/{index-CF7aJSkX.js → index-DuI8B-KE.js} +55 -55
  56. package/lib/{index-AUiNOT8J.js → index-DxY265VJ.js} +52 -52
  57. package/lib/{index-ZXj-Jg7J.js → index-F4NFA3V7.js} +1 -1
  58. package/lib/{index-dpdmGgby.js → index-M5VrI6sl.js} +30 -30
  59. package/lib/{index-DahYYA6-.js → index-MuWoEDGp.js} +1 -1
  60. package/lib/{index-CfrPVKvH.js → index-WlhI9Z33.js} +2 -2
  61. package/lib/{index-38BWHU31.js → index-bB78HRHV.js} +89 -89
  62. package/lib/{index-9fK7Afre.js → index-oaMbLu6x.js} +7 -7
  63. package/lib/{index-D9uKr5lH.js → index-od0pwuY3.js} +24 -24
  64. package/lib/{index-D52iuZaK.js → index-p5-xQB8F.js} +16 -16
  65. package/lib/{index-B27bX7GN.js → index-r7NOFMgn.js} +1 -1
  66. package/lib/{index-DxzD_dRC.js → index-tlBqW0M1.js} +14 -14
  67. package/lib/{index-BwGSo2Ka.js → index-yVRbJ4a3.js} +2 -2
  68. package/lib/index.es.js +1 -1
  69. package/lib/index.umd.js +49 -42
  70. package/lib/{layer-setting-panel-BO1TB6L-.js → layer-setting-panel-lcSZjwmH.js} +2 -2
  71. package/lib/{line-show-B1V6-BrC.js → line-show-Dn68iqh2.js} +1 -1
  72. package/lib/{multi-layout-config-CNneYzCX.js → multi-layout-config-Bk_Q50TQ.js} +5 -5
  73. package/lib/{multiline-text-DFbZsLr3.js → multiline-text-BFCj4NJ-.js} +1 -1
  74. package/lib/{navigation-Da25bSt3.js → navigation-YSVid8DL.js} +1 -1
  75. package/lib/{page-config-BJKxfwzP.js → page-config-YPh9KbYa.js} +8 -8
  76. package/lib/{page-tabs-BnenKcSK.js → page-tabs-COclrN6K.js} +17 -17
  77. package/lib/{plus-BCgialg9.js → plus-6VlP-R0P.js} +1 -1
  78. package/lib/{raf-DiDB_51H.js → raf-CB5Zd2Vu.js} +1 -1
  79. package/lib/{requestOld-C1UOAtSO.js → requestOld-dE2vh_Jj.js} +3 -3
  80. package/lib/{schema-CYB1keoZ.js → schema-B1_b2td4.js} +25 -25
  81. package/lib/{schema-dJbdT7gn.js → schema-BYtCabYY.js} +1 -1
  82. package/lib/{schema-C-AkuLIm.js → schema-CX8Xh7Tl.js} +1 -1
  83. package/lib/{schema-azYYN-gl.js → schema-CXBiKnDR.js} +1 -1
  84. package/lib/{schema-Bo6rWOc2.js → schema-DNzoJj4M.js} +1 -1
  85. package/lib/{schema-BPmcYF_B.js → schema-DQAGN74p.js} +7 -7
  86. package/lib/{scroll-C6Ta4g5g.js → scroll-BfBjzmuD.js} +1 -1
  87. package/lib/{setting-panel-BRCCr_o5.js → setting-panel-DC563hec.js} +103 -104
  88. package/lib/{show-8QqXQerW.js → show-BGXXwodH.js} +1 -1
  89. package/lib/{stepper-DFYougb_.js → stepper-xHu6GUsO.js} +1 -1
  90. package/lib/strings-rxxon9qV.js +6 -0
  91. package/lib/{switch-BP4P74C5.js → switch-CxsMrbSN.js} +1 -1
  92. package/lib/{toolbar-Dhf_BVAU.js → toolbar-5Ufh44gd.js} +1 -1
  93. package/lib/{unlock-CqZj13e0.js → unlock-ogCPWPZx.js} +1 -1
  94. package/lib/{use-env-url-drEPV0sp.js → use-env-url-BPq4CFt6.js} +1 -1
  95. package/lib/{use-global-config-B18s1Lg0.js → use-global-config-DZRLZ7Je.js} +12 -12
  96. package/lib/{validator-CfTmg5Mr.js → validator-Dud3KJUu.js} +1 -1
  97. package/lib/{vnode-BhDXi7UB.js → vnode-DdbzE9Ja.js} +1 -1
  98. package/package.json +1 -1
  99. package/lib/index-gYF8PSol.js +0 -27291
  100. package/lib/strings-Ce9pW_WB.js +0 -6
@@ -1,7 +1,6 @@
1
- import { w as d, s, l as F, u as D, a as p, _ as m } from "./index-gYF8PSol.js";
1
+ import { w as d, d as i, s as E, l as F, u as D, a as p, _ as m } from "./index-DkjwZbZB.js";
2
2
  import { defineComponent as C, provide as B, onMounted as h, resolveComponent as f, createBlock as g, openBlock as b, withCtx as A, createElementVNode as n, createVNode as _ } from "vue";
3
- import { defineStore as i } from "pinia";
4
- import { C as v } from "./config-provider-BTqYx_ln.js";
3
+ import { C as v } from "./config-provider-DQyVecVx.js";
5
4
  const l = d(v);
6
5
  var y = {
7
6
  name: "zh-cn",
@@ -212,13 +211,13 @@ const w = i("debug", {
212
211
  this.debug = !1;
213
212
  },
214
213
  async setOrigin(u, e, t) {
215
- this.debug && s(this.originMap, `${u}.${e}`, t);
214
+ this.debug && E(this.originMap, `${u}.${e}`, t);
216
215
  },
217
216
  async setFieldStatus(u, e, t) {
218
- this.debug && s(this.fieldStatusMap, `${u}.${e}`, t);
217
+ this.debug && E(this.fieldStatusMap, `${u}.${e}`, t);
219
218
  },
220
219
  async setDataStatus(u, e, t, r) {
221
- this.debug && s(this.dataStatusMap, `${u}.${e}.${t}`, r);
220
+ this.debug && E(this.dataStatusMap, `${u}.${e}.${t}`, r);
222
221
  }
223
222
  }
224
223
  }), S = i("filter", {
@@ -244,7 +243,7 @@ function x(u, e) {
244
243
  const M = C({
245
244
  name: "ScreenPreview",
246
245
  components: {
247
- CanvasMain: F(() => import("./index-Df7YLI2q.js")),
246
+ CanvasMain: F(() => import("./index-C5E1loq5.js")),
248
247
  ElConfigProvider: l
249
248
  },
250
249
  props: {
@@ -256,7 +255,7 @@ const M = C({
256
255
  },
257
256
  emits: ["componentClick"],
258
257
  setup(u, { emit: e }) {
259
- const t = S(), r = w(), a = D(), E = p();
258
+ const t = S(), r = w(), a = D(), s = p();
260
259
  return r.enable(), a.setEditMode(!1), B("COMPONENT_CLICK", (o) => {
261
260
  e("componentClick", o);
262
261
  }), h(async () => {
@@ -266,8 +265,8 @@ const M = C({
266
265
  await Promise.all([
267
266
  a.loadScreen(u.screenData),
268
267
  t.loadFilters(),
269
- E.requestCom(u.screenData),
270
- E.requestCollectComs(u.screenData)
268
+ s.requestCom(u.screenData),
269
+ s.requestCollectComs(u.screenData)
271
270
  ]);
272
271
  } catch (o) {
273
272
  x("editor", o);
@@ -285,7 +284,7 @@ const M = C({
285
284
  id: "iking-editor-main",
286
285
  class: "g-layout edit-main"
287
286
  };
288
- function j(u, e, t, r, a, E) {
287
+ function j(u, e, t, r, a, s) {
289
288
  const o = f("CanvasMain"), c = l;
290
289
  return b(), g(c, { locale: u.zhCn }, {
291
290
  default: A(() => [
@@ -304,7 +303,7 @@ function j(u, e, t, r, a, E) {
304
303
  _: 1
305
304
  }, 8, ["locale"]);
306
305
  }
307
- const O = /* @__PURE__ */ m(M, [["render", j], ["__scopeId", "data-v-ea84de8d"]]), I = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
306
+ const O = /* @__PURE__ */ m(M, [["render", j], ["__scopeId", "data-v-ea84de8d"]]), q = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
308
307
  __proto__: null,
309
308
  default: O
310
309
  }, Symbol.toStringTag, { value: "Module" }));
@@ -312,7 +311,7 @@ export {
312
311
  l as E,
313
312
  O as S,
314
313
  w as a,
315
- I as b,
314
+ q as b,
316
315
  S as u,
317
316
  x as w,
318
317
  y as z
@@ -1,10 +1,10 @@
1
- import { isVNode as Xt, Comment as Gt, Fragment as Ie, createVNode as ge, render as kt, getCurrentInstance as ue, ref as E, unref as ae, computed as D, watch as ie, toRefs as zl, nextTick as Pe, isRef as Il, defineComponent as Oe, resolveComponent as ce, createBlock as ke, openBlock as J, withCtx as Ne, createElementVNode as se, normalizeClass as U, renderSlot as Fe, createElementBlock as fe, renderList as Mt, createTextVNode as St, toDisplayString as He, onBeforeMount as Qt, onMounted as je, onUpdated as _l, onUnmounted as xt, inject as Ce, h as P, reactive as Dl, onBeforeUnmount as Et, watchEffect as ct, resolveDirective as Vl, normalizeStyle as Be, withDirectives as st, createCommentVNode as Ee, vShow as At, provide as jl } from "vue";
2
- import { E as Jt } from "./index-dpdmGgby.js";
3
- import { bi as Me, aU as xe, i as Ae, V as ve, az as he, R as de, bT as Ue, n as Zt, k as el, al as Ul, ak as Le, bU as tl, aL as $t, ai as ll, j as tt, h as ye, t as at, af as lt, Q as _e, g as Rt, b0 as Yl, bV as ql, ar as Xl, E as Nt, aV as ze, M as Gl, N as Re, bQ as Xe, aH as De, T as Ql, aJ as nt, B as Pt, b6 as Kt, at as Jl, a6 as Zl, G as nl, aS as en, a5 as tn, w as ln, an as nn } from "./index-gYF8PSol.js";
4
- import { g as ol } from "./use-global-config-B18s1Lg0.js";
5
- import { a as on, E as Ve } from "./index-D1nJmtcW.js";
6
- import { r as an } from "./raf-DiDB_51H.js";
7
- import { s as rn } from "./requestOld-C1UOAtSO.js";
1
+ import { isVNode as Xt, Comment as Gt, Fragment as ze, createVNode as ge, render as kt, getCurrentInstance as ue, ref as E, unref as ae, computed as D, watch as ie, toRefs as Il, nextTick as Pe, isRef as zl, defineComponent as Oe, resolveComponent as ce, createBlock as ke, openBlock as J, withCtx as Ne, createElementVNode as se, normalizeClass as U, renderSlot as Fe, createElementBlock as fe, renderList as Mt, createTextVNode as St, toDisplayString as He, onBeforeMount as Qt, onMounted as je, onUpdated as _l, onUnmounted as xt, inject as Ce, h as P, reactive as Dl, onBeforeUnmount as Et, watchEffect as ct, resolveDirective as Vl, normalizeStyle as Be, withDirectives as st, createCommentVNode as Ee, vShow as At, provide as jl } from "vue";
2
+ import { E as Jt } from "./index-M5VrI6sl.js";
3
+ import { bm as Me, aW as xe, j as Ae, W as ve, aB as he, S as de, bX as Ue, o as Zt, n as el, am as Ul, al as Le, bY as tl, aN as $t, aj as ll, k as tt, i as ye, v as at, ag as lt, R as _e, h as Rt, b2 as Yl, bZ as ql, as as Xl, E as Nt, aX as Ie, N as Gl, O as Re, bU as Xe, aJ as De, V as Ql, aL as nt, C as Pt, b8 as Kt, au as Jl, a7 as Zl, H as nl, aU as en, a6 as tn, w as ln, ao as nn } from "./index-DkjwZbZB.js";
4
+ import { g as ol } from "./use-global-config-DZRLZ7Je.js";
5
+ import { a as on, E as Ve } from "./index-D0IxchU7.js";
6
+ import { r as an } from "./raf-CB5Zd2Vu.js";
7
+ import { s as rn } from "./requestOld-dE2vh_Jj.js";
8
8
  const it = function(e) {
9
9
  var t;
10
10
  return (t = e.target) == null ? void 0 : t.closest("td");
@@ -224,7 +224,7 @@ function pn(e, t, n, l, r, i) {
224
224
  function sl(e) {
225
225
  return e.children ? tl(e.children, sl) : [e];
226
226
  }
227
- function zt(e, t) {
227
+ function It(e, t) {
228
228
  return e + t.colSpan;
229
229
  }
230
230
  const il = (e, t, n, l) => {
@@ -232,7 +232,7 @@ const il = (e, t, n, l) => {
232
232
  const f = n.states.columns.value;
233
233
  if (l) {
234
234
  const s = sl(l[e]);
235
- r = f.slice(0, f.indexOf(s[0])).reduce(zt, 0), i = r + s.reduce(zt, 0) - 1;
235
+ r = f.slice(0, f.indexOf(s[0])).reduce(It, 0), i = r + s.reduce(It, 0) - 1;
236
236
  } else
237
237
  r = e;
238
238
  let o;
@@ -264,7 +264,7 @@ const il = (e, t, n, l) => {
264
264
  }
265
265
  return f;
266
266
  };
267
- function It(e, t) {
267
+ function zt(e, t) {
268
268
  return e + (Ue(t.realWidth) || Number.isNaN(t.realWidth) ? Number(t.width) : t.realWidth);
269
269
  }
270
270
  const Ft = (e, t, n, l) => {
@@ -276,12 +276,12 @@ const Ft = (e, t, n, l) => {
276
276
  if (!r)
277
277
  return;
278
278
  const o = {}, s = r === "left", a = n.states.columns.value;
279
- return s ? o.left = a.slice(0, i).reduce(It, 0) : o.right = a.slice(f + 1).reverse().reduce(It, 0), o;
279
+ return s ? o.left = a.slice(0, i).reduce(zt, 0) : o.right = a.slice(f + 1).reverse().reduce(zt, 0), o;
280
280
  }, Ke = (e, t) => {
281
281
  e && (Number.isNaN(e[t]) || (e[t] = `${e[t]}px`));
282
282
  };
283
283
  function ul(e) {
284
- return e.some((t) => Xt(t) ? !(t.type === Gt || t.type === Ie && !ul(t.children)) : !0) ? e : null;
284
+ return e.some((t) => Xt(t) ? !(t.type === Gt || t.type === ze && !ul(t.children)) : !0) ? e : null;
285
285
  }
286
286
  function mn(e) {
287
287
  const t = ue(), n = E(!1), l = E([]);
@@ -411,37 +411,37 @@ function yn(e) {
411
411
  v || (v = (w = a.store) == null ? void 0 : w.states.defaultExpandAll.value);
412
412
  const y = u.value, x = d.value, R = Object.keys(y), H = {};
413
413
  if (R.length) {
414
- const k = ae(n), $ = [], M = (I, L) => {
414
+ const k = ae(n), $ = [], M = (z, L) => {
415
415
  if (c)
416
- return t.value ? v || t.value.includes(L) : !!(v || I?.expanded);
416
+ return t.value ? v || t.value.includes(L) : !!(v || z?.expanded);
417
417
  {
418
418
  const W = v || t.value && t.value.includes(L);
419
- return !!(I?.expanded || W);
419
+ return !!(z?.expanded || W);
420
420
  }
421
421
  };
422
- R.forEach((I) => {
423
- const L = k[I], W = { ...y[I] };
424
- if (W.expanded = M(L, I), W.lazy) {
422
+ R.forEach((z) => {
423
+ const L = k[z], W = { ...y[z] };
424
+ if (W.expanded = M(L, z), W.lazy) {
425
425
  const { loaded: A = !1, loading: T = !1 } = L || {};
426
- W.loaded = !!A, W.loading = !!T, $.push(I);
426
+ W.loaded = !!A, W.loading = !!T, $.push(z);
427
427
  }
428
- H[I] = W;
428
+ H[z] = W;
429
429
  });
430
430
  const X = Object.keys(x);
431
- r.value && X.length && $.length && X.forEach((I) => {
431
+ r.value && X.length && $.length && X.forEach((z) => {
432
432
  var L;
433
- const W = k[I], A = x[I].children;
434
- if ($.includes(I)) {
435
- if (((L = H[I].children) == null ? void 0 : L.length) !== 0)
433
+ const W = k[z], A = x[z].children;
434
+ if ($.includes(z)) {
435
+ if (((L = H[z].children) == null ? void 0 : L.length) !== 0)
436
436
  throw new Error("[ElTable]children must be an empty array.");
437
- H[I].children = A;
437
+ H[z].children = A;
438
438
  } else {
439
- const { loaded: T = !1, loading: z = !1 } = W || {};
440
- H[I] = {
439
+ const { loaded: T = !1, loading: I = !1 } = W || {};
440
+ H[z] = {
441
441
  lazy: !0,
442
442
  loaded: !!T,
443
- loading: !!z,
444
- expanded: M(W, I),
443
+ loading: !!I,
444
+ expanded: M(W, z),
445
445
  children: A,
446
446
  level: void 0
447
447
  };
@@ -531,7 +531,7 @@ const bn = (e, t) => {
531
531
  };
532
532
  function Cn() {
533
533
  var e;
534
- const t = ue(), { size: n } = zl((e = t.proxy) == null ? void 0 : e.$props), l = E(null), r = E([]), i = E([]), f = E(!1), o = E([]), s = E([]), a = E([]), u = E([]), d = E([]), m = E([]), h = E([]), p = E([]), b = [], C = E(0), O = E(0), N = E(0), S = E(!1), c = E([]), v = E(!1), w = E(!1), g = E(null), y = E({}), x = E(null), R = E(null), H = E(null), k = E(null), $ = E(null), M = D(() => l.value ? $e(c.value, l.value) : void 0);
534
+ const t = ue(), { size: n } = Il((e = t.proxy) == null ? void 0 : e.$props), l = E(null), r = E([]), i = E([]), f = E(!1), o = E([]), s = E([]), a = E([]), u = E([]), d = E([]), m = E([]), h = E([]), p = E([]), b = [], C = E(0), O = E(0), N = E(0), S = E(!1), c = E([]), v = E(!1), w = E(!1), g = E(null), y = E({}), x = E(null), R = E(null), H = E(null), k = E(null), $ = E(null), M = D(() => l.value ? $e(c.value, l.value) : void 0);
535
535
  ie(
536
536
  r,
537
537
  () => {
@@ -545,14 +545,14 @@ function Cn() {
545
545
  const X = () => {
546
546
  if (!l.value)
547
547
  throw new Error("[ElTable] prop row-key is required");
548
- }, I = (F) => {
548
+ }, z = (F) => {
549
549
  var K;
550
550
  (K = F.children) == null || K.forEach((_) => {
551
- _.fixed = F.fixed, I(_);
551
+ _.fixed = F.fixed, z(_);
552
552
  });
553
553
  }, L = () => {
554
554
  o.value.forEach((q) => {
555
- I(q);
555
+ z(q);
556
556
  }), u.value = o.value.filter(
557
557
  (q) => [!0, "left"].includes(q.fixed)
558
558
  );
@@ -575,7 +575,7 @@ function Cn() {
575
575
  S.value = !1;
576
576
  const F = c.value;
577
577
  c.value = [], F.length && t.emit("selection-change", []);
578
- }, z = () => {
578
+ }, I = () => {
579
579
  var F, K;
580
580
  let _;
581
581
  if (l.value) {
@@ -768,7 +768,7 @@ function Cn() {
768
768
  scheduleLayout: W,
769
769
  isSelected: A,
770
770
  clearSelection: T,
771
- cleanSelection: z,
771
+ cleanSelection: I,
772
772
  getSelectionRows: Y,
773
773
  toggleRowSelection: Z,
774
774
  _toggleAllSelection: Q,
@@ -991,7 +991,7 @@ class En {
991
991
  constructor(t) {
992
992
  this.observers = [], this.table = null, this.store = null, this.columns = [], this.fit = !0, this.showHeader = !0, this.height = E(null), this.scrollX = E(!1), this.scrollY = E(!1), this.bodyWidth = E(null), this.fixedWidth = E(null), this.rightFixedWidth = E(null), this.gutterWidth = 0;
993
993
  for (const n in t)
994
- Me(t, n) && (Il(this[n]) ? this[n].value = t[n] : this[n] = t[n]);
994
+ Me(t, n) && (zl(this[n]) ? this[n].value = t[n] : this[n] = t[n]);
995
995
  if (!this.table)
996
996
  throw new Error("Table is required for Table Layout");
997
997
  if (!this.store)
@@ -1160,7 +1160,7 @@ const Rn = Oe({
1160
1160
  return (((g = e.column) == null ? void 0 : g.filteredValue) || [])[0];
1161
1161
  },
1162
1162
  set: (g) => {
1163
- d.value && (ze(g) ? d.value.splice(0, 1) : d.value.splice(0, 1, g));
1163
+ d.value && (Ie(g) ? d.value.splice(0, 1) : d.value.splice(0, 1, g));
1164
1164
  }
1165
1165
  }), d = D({
1166
1166
  get() {
@@ -1178,7 +1178,7 @@ const Rn = Oe({
1178
1178
  }, C = () => {
1179
1179
  d.value = [], N(d.value), p();
1180
1180
  }, O = (g, y) => {
1181
- u.value = g, o.value = y, ze(g) ? N([]) : N(d.value), p();
1181
+ u.value = g, o.value = y, Ie(g) ? N([]) : N(d.value), p();
1182
1182
  }, N = (g) => {
1183
1183
  var y, x;
1184
1184
  (y = e.store) == null || y.commit("filterChange", {
@@ -1192,7 +1192,7 @@ const Rn = Oe({
1192
1192
  var g;
1193
1193
  e.column && ((g = e.upDataColumn) == null || g.call(e, "filterOpened", !1));
1194
1194
  }, v = () => {
1195
- if (ze(u)) {
1195
+ if (Ie(u)) {
1196
1196
  o.value = 0;
1197
1197
  return;
1198
1198
  }
@@ -1208,7 +1208,7 @@ const Rn = Oe({
1208
1208
  handleConfirm: b,
1209
1209
  handleReset: C,
1210
1210
  handleSelect: O,
1211
- isPropAbsent: ze,
1211
+ isPropAbsent: Ie,
1212
1212
  isActive: h,
1213
1213
  t: n,
1214
1214
  ns: l,
@@ -1299,7 +1299,7 @@ function On(e, t, n, l, r, i) {
1299
1299
  }, {
1300
1300
  default: Ne(() => [
1301
1301
  (J(!0), fe(
1302
- Ie,
1302
+ ze,
1303
1303
  null,
1304
1304
  Mt(e.filters, (h) => (J(), ke(f, {
1305
1305
  key: h.value,
@@ -1372,7 +1372,7 @@ function On(e, t, n, l, r, i) {
1372
1372
  onClick: t[3] || (t[3] = (h) => e.handleSelect(null, 0))
1373
1373
  }, He(e.t("el.table.clearFilter")), 11, Ln),
1374
1374
  (J(!0), fe(
1375
- Ie,
1375
+ ze,
1376
1376
  null,
1377
1377
  Mt(e.filters, (h, p) => (J(), fe("li", {
1378
1378
  key: h.value,
@@ -1981,8 +1981,8 @@ function $n(e) {
1981
1981
  return;
1982
1982
  const X = document.createRange();
1983
1983
  X.setStart(M, 0), X.setEnd(M, M.childNodes.length);
1984
- const { width: I, height: L } = X.getBoundingClientRect(), { width: W, height: A } = M.getBoundingClientRect(), { top: T, left: z, right: Y, bottom: Z } = u(M), Q = z + Y, ne = T + Z;
1985
- ut(I + Q, W) || ut(L + ne, A) || ut(M.scrollWidth, W) ? pn(
1984
+ const { width: z, height: L } = X.getBoundingClientRect(), { width: W, height: A } = M.getBoundingClientRect(), { top: T, left: I, right: Y, bottom: Z } = u(M), Q = I + Y, ne = T + Z;
1985
+ ut(z + Q, W) || ut(L + ne, A) || ut(M.scrollWidth, W) ? pn(
1986
1986
  C,
1987
1987
  (g = H?.innerText || H?.textContent) != null ? g : "",
1988
1988
  b,
@@ -2111,8 +2111,8 @@ const Kn = ["colspan", "rowspan"], Bn = Oe({
2111
2111
  ], 8, Kn));
2112
2112
  }
2113
2113
  });
2114
- var zn = /* @__PURE__ */ Rt(Bn, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/table/src/table-body/td-wrapper.vue"]]);
2115
- function In(e) {
2114
+ var In = /* @__PURE__ */ Rt(Bn, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/table/src/table-body/td-wrapper.vue"]]);
2115
+ function zn(e) {
2116
2116
  const t = Ce(be), n = ye("table"), {
2117
2117
  handleDoubleClick: l,
2118
2118
  handleClick: r,
@@ -2142,7 +2142,7 @@ function In(e) {
2142
2142
  const H = (R = t?.props) == null ? void 0 : R.rowKey;
2143
2143
  return H ? te(y, H) : x;
2144
2144
  }, v = (y, x, R, H = !1) => {
2145
- const { tooltipEffect: k, tooltipOptions: $, store: M } = e, { indent: X, columns: I } = M.states, L = [];
2145
+ const { tooltipEffect: k, tooltipOptions: $, store: M } = e, { indent: X, columns: z } = M.states, L = [];
2146
2146
  let W = !0;
2147
2147
  return R && (L.push(n.em("row", `level-${R.level}`)), W = !!R.display), x === 0 && (N = -1), e.stripe && W && N++, L.push(...h(y, x, N)), P(
2148
2148
  "tr",
@@ -2156,15 +2156,15 @@ function In(e) {
2156
2156
  onMouseenter: () => f(x),
2157
2157
  onMouseleave: o
2158
2158
  },
2159
- I.value.map((T, z) => {
2160
- const { rowspan: Y, colspan: Z } = C(y, T, x, z);
2159
+ z.value.map((T, I) => {
2160
+ const { rowspan: Y, colspan: Z } = C(y, T, x, I);
2161
2161
  if (!Y || !Z)
2162
2162
  return null;
2163
2163
  const Q = Object.assign({}, T);
2164
2164
  Q.realWidth = O(
2165
- I.value,
2165
+ z.value,
2166
2166
  Z,
2167
- z
2167
+ I
2168
2168
  );
2169
2169
  const ne = {
2170
2170
  store: M,
@@ -2172,14 +2172,14 @@ function In(e) {
2172
2172
  column: Q,
2173
2173
  row: y,
2174
2174
  $index: x,
2175
- cellIndex: z,
2175
+ cellIndex: I,
2176
2176
  expanded: H
2177
2177
  };
2178
- z === S.value && R && (ne.treeNode = {
2178
+ I === S.value && R && (ne.treeNode = {
2179
2179
  indent: R.level && R.level * X.value,
2180
2180
  level: R.level
2181
2181
  }, Le(R.expanded) && (ne.treeNode.expanded = R.expanded, "loading" in R && (ne.treeNode.loading = R.loading), "noLazyChildren" in R && (ne.treeNode.noLazyChildren = R.noLazyChildren)));
2182
- const G = `${c(y, x)},${z}`, pe = Q.columnKey || Q.rawColumnKey || "", oe = T.showOverflowTooltip && Zt(
2182
+ const G = `${c(y, x)},${I}`, pe = Q.columnKey || Q.rawColumnKey || "", oe = T.showOverflowTooltip && Zt(
2183
2183
  {
2184
2184
  effect: k
2185
2185
  },
@@ -2187,10 +2187,10 @@ function In(e) {
2187
2187
  T.showOverflowTooltip
2188
2188
  );
2189
2189
  return P(
2190
- zn,
2190
+ In,
2191
2191
  {
2192
- style: p(x, z, y, T),
2193
- class: b(x, z, y, T, Z - 1),
2192
+ style: p(x, I, y, T),
2193
+ class: b(x, I, y, T, Z - 1),
2194
2194
  key: `${pe}${G}`,
2195
2195
  rowspan: Y,
2196
2196
  colspan: Z,
@@ -2202,7 +2202,7 @@ function In(e) {
2202
2202
  onMouseleave: a
2203
2203
  },
2204
2204
  {
2205
- default: () => w(z, T, ne)
2205
+ default: () => w(I, T, ne)
2206
2206
  }
2207
2207
  );
2208
2208
  })
@@ -2210,10 +2210,10 @@ function In(e) {
2210
2210
  }, w = (y, x, R) => x.renderCell(R);
2211
2211
  return {
2212
2212
  wrappedRowRender: (y, x) => {
2213
- const R = e.store, { isRowExpanded: H, assertRowKey: k } = R, { treeData: $, lazyTreeNodeMap: M, childrenColumnName: X, rowKey: I } = R.states, L = R.states.columns.value;
2213
+ const R = e.store, { isRowExpanded: H, assertRowKey: k } = R, { treeData: $, lazyTreeNodeMap: M, childrenColumnName: X, rowKey: z } = R.states, L = R.states.columns.value;
2214
2214
  if (L.some(({ type: A }) => A === "expand")) {
2215
- const A = H(y), T = v(y, x, void 0, A), z = t?.renderExpanded;
2216
- if (!z)
2215
+ const A = H(y), T = v(y, x, void 0, A), I = t?.renderExpanded;
2216
+ if (!I)
2217
2217
  return console.error("[Element Error]renderExpanded is required."), T;
2218
2218
  const Y = [[T]];
2219
2219
  return (t.props.preserveExpandedContent || A) && Y[0].push(
@@ -2230,23 +2230,23 @@ function In(e) {
2230
2230
  colspan: L.length,
2231
2231
  class: `${n.e("cell")} ${n.e("expanded-cell")}`
2232
2232
  },
2233
- [z({ row: y, $index: x, store: R, expanded: A })]
2233
+ [I({ row: y, $index: x, store: R, expanded: A })]
2234
2234
  )
2235
2235
  ]
2236
2236
  )
2237
2237
  ), Y;
2238
2238
  } else if (Object.keys($.value).length) {
2239
2239
  k();
2240
- const A = te(y, I.value);
2241
- let T = $.value[A], z = null;
2242
- T && (z = {
2240
+ const A = te(y, z.value);
2241
+ let T = $.value[A], I = null;
2242
+ T && (I = {
2243
2243
  expanded: T.expanded,
2244
2244
  level: T.level,
2245
2245
  display: !0,
2246
2246
  noLazyChildren: void 0,
2247
2247
  loading: void 0
2248
- }, Le(T.lazy) && (z && Le(T.loaded) && T.loaded && (z.noLazyChildren = !(T.children && T.children.length)), z.loading = T.loading));
2249
- const Y = [v(y, x, z ?? void 0)];
2248
+ }, Le(T.lazy) && (I && Le(T.loaded) && T.loaded && (I.noLazyChildren = !(T.children && T.children.length)), I.loading = T.loading));
2249
+ const Y = [v(y, x, I ?? void 0)];
2250
2250
  if (T) {
2251
2251
  let Z = 0;
2252
2252
  const Q = (G, pe) => {
@@ -2257,8 +2257,8 @@ function In(e) {
2257
2257
  expanded: !1,
2258
2258
  noLazyChildren: !1,
2259
2259
  loading: !1
2260
- }, We = te(oe, I.value);
2261
- if (ze(We))
2260
+ }, We = te(oe, z.value);
2261
+ if (Ie(We))
2262
2262
  throw new Error("For nested data item, row-key is required.");
2263
2263
  if (T = { ...$.value[We] }, T && (me.expanded = T.expanded, T.level = T.level || me.level, T.display = !!(T.expanded && me.display), Le(T.lazy) && (Le(T.loaded) && T.loaded && (me.noLazyChildren = !(T.children && T.children.length)), me.loading = T.loading)), Z++, Y.push(v(oe, x + Z, me)), T) {
2264
2264
  const rt = M.value[We] || oe[X.value];
@@ -2305,7 +2305,7 @@ var Dn = Oe({
2305
2305
  props: _n,
2306
2306
  setup(e) {
2307
2307
  var t;
2308
- const n = ue(), l = Ce(be), r = ye("table"), { wrappedRowRender: i, tooltipContent: f, tooltipTrigger: o } = In(e), { onColumnsChange: s, onScrollableChange: a } = Wt(l), u = [];
2308
+ const n = ue(), l = Ce(be), r = ye("table"), { wrappedRowRender: i, tooltipContent: f, tooltipTrigger: o } = zn(e), { onColumnsChange: s, onScrollableChange: a } = Wt(l), u = [];
2309
2309
  return ie((t = e.store) == null ? void 0 : t.states.hoverRow, (d, m) => {
2310
2310
  var h, p;
2311
2311
  const b = n?.vnode.el, C = Array.from(b?.children || []).filter(
@@ -2622,8 +2622,8 @@ function qn(e, t, n, l) {
2622
2622
  const L = l.refs.scrollBarRef.wrapRef;
2623
2623
  if (!L)
2624
2624
  return;
2625
- const { scrollLeft: W, offsetWidth: A, scrollWidth: T } = L, { headerWrapper: z, footerWrapper: Y } = l.refs;
2626
- z && (z.scrollLeft = W), Y && (Y.scrollLeft = W);
2625
+ const { scrollLeft: W, offsetWidth: A, scrollWidth: T } = L, { headerWrapper: I, footerWrapper: Y } = l.refs;
2626
+ I && (I.scrollLeft = W), Y && (Y.scrollLeft = W);
2627
2627
  const Z = T - A - 1;
2628
2628
  W >= Z ? g("is-scrolling-right") : g(W === 0 ? "is-scrolling-left" : "is-scrolling-middle");
2629
2629
  }, R = () => {
@@ -2640,17 +2640,17 @@ function qn(e, t, n, l) {
2640
2640
  }));
2641
2641
  }, H = () => {
2642
2642
  var L, W, A, T;
2643
- const z = l.vnode.el;
2644
- if (!l.$ready || !z)
2643
+ const I = l.vnode.el;
2644
+ if (!l.$ready || !I)
2645
2645
  return;
2646
2646
  let Y = !1;
2647
2647
  const {
2648
2648
  width: Z,
2649
2649
  height: Q,
2650
2650
  headerHeight: ne
2651
- } = s.value, G = d.value = z.offsetWidth;
2651
+ } = s.value, G = d.value = I.offsetWidth;
2652
2652
  Z !== G && (Y = !0);
2653
- const pe = z.offsetHeight;
2653
+ const pe = I.offsetHeight;
2654
2654
  (e.height || S.value) && Q !== pe && (Y = !0);
2655
2655
  const oe = e.tableLayout === "fixed" ? l.refs.headerWrapper : (L = l.refs.tableHeaderRef) == null ? void 0 : L.$el;
2656
2656
  e.showHeader && oe?.offsetHeight !== ne && (Y = !0), m.value = ((W = l.refs.tableWrapper) == null ? void 0 : W.scrollHeight) || 0, p.value = oe?.scrollHeight || 0, b.value = ((A = l.refs.footerWrapper) == null ? void 0 : A.offsetHeight) || 0, C.value = ((T = l.refs.appendWrapper) == null ? void 0 : T.offsetHeight) || 0, h.value = m.value - p.value - b.value - C.value, Y && (s.value = {
@@ -2671,7 +2671,7 @@ function qn(e, t, n, l) {
2671
2671
  width: W ? `${W}px` : "",
2672
2672
  height: L
2673
2673
  };
2674
- }), I = D(() => e.height ? {
2674
+ }), z = D(() => e.height ? {
2675
2675
  height: "100%"
2676
2676
  } : e.maxHeight ? Number.isNaN(Number(e.maxHeight)) ? {
2677
2677
  maxHeight: `calc(${e.maxHeight} - ${p.value + b.value}px)`
@@ -2694,7 +2694,7 @@ function qn(e, t, n, l) {
2694
2694
  tableBodyStyles: c,
2695
2695
  tableLayout: M,
2696
2696
  scrollbarViewStyle: u,
2697
- scrollbarStyle: I
2697
+ scrollbarStyle: z
2698
2698
  };
2699
2699
  }
2700
2700
  function Xn(e) {
@@ -3001,13 +3001,13 @@ const ro = Oe({
3001
3001
  tableBodyStyles: $,
3002
3002
  tableLayout: M,
3003
3003
  scrollbarViewStyle: X,
3004
- scrollbarStyle: I
3005
- } = qn(e, i, r, l), { scrollBarRef: L, scrollTo: W, setScrollLeft: A, setScrollTop: T } = Qn(), z = lt(k, 50), Y = `${n.namespace.value}-table_${ao++}`;
3004
+ scrollbarStyle: z
3005
+ } = qn(e, i, r, l), { scrollBarRef: L, scrollTo: W, setScrollLeft: A, setScrollTop: T } = Qn(), I = lt(k, 50), Y = `${n.namespace.value}-table_${ao++}`;
3006
3006
  l.tableId = Y, l.state = {
3007
3007
  isGroup: c,
3008
3008
  resizeState: H,
3009
3009
  doLayout: k,
3010
- debouncedUpdateLayout: z
3010
+ debouncedUpdateLayout: I
3011
3011
  };
3012
3012
  const Z = D(
3013
3013
  () => {
@@ -3019,7 +3019,7 @@ const ro = Oe({
3019
3019
  return (G = e.emptyText) != null ? G : t("el.table.emptyText");
3020
3020
  }), ne = D(() => hl(r.states.originColumns.value)[0]);
3021
3021
  return Xn(l), Et(() => {
3022
- z.cancel();
3022
+ I.cancel();
3023
3023
  }), {
3024
3024
  ns: n,
3025
3025
  layout: i,
@@ -3038,7 +3038,7 @@ const ro = Oe({
3038
3038
  bodyWidth: R,
3039
3039
  tableBodyStyles: $,
3040
3040
  emptyBlockStyle: y,
3041
- debouncedUpdateLayout: z,
3041
+ debouncedUpdateLayout: I,
3042
3042
  setCurrentRow: o,
3043
3043
  getSelectionRows: s,
3044
3044
  toggleRowSelection: a,
@@ -3057,7 +3057,7 @@ const ro = Oe({
3057
3057
  computedEmptyText: Q,
3058
3058
  tableLayout: M,
3059
3059
  scrollbarViewStyle: X,
3060
- scrollbarStyle: I,
3060
+ scrollbarStyle: z,
3061
3061
  scrollBarRef: L,
3062
3062
  scrollTo: W,
3063
3063
  setScrollLeft: A,
@@ -3635,7 +3635,7 @@ function bo(e, t, n) {
3635
3635
  if (l.columnConfig.value.label, t.header) {
3636
3636
  const g = t.header(w);
3637
3637
  if (ul(g))
3638
- return P(Ie, g);
3638
+ return P(ze, g);
3639
3639
  }
3640
3640
  return St(c.label);
3641
3641
  }), t["filter-icon"] && (c.renderFilterIcon = (w) => Fe(t, "filter-icon", w)), t.expand && (c.renderExpand = (w) => Fe(t, "expand", w));
@@ -3839,7 +3839,7 @@ var xl = Oe({
3839
3839
  }), r = [];
3840
3840
  if (de(l))
3841
3841
  for (const f of l)
3842
- ((n = f.type) == null ? void 0 : n.name) === "ElTableColumn" || f.shapeFlag & 2 ? r.push(f) : f.type === Ie && de(f.children) && f.children.forEach((o) => {
3842
+ ((n = f.type) == null ? void 0 : n.name) === "ElTableColumn" || f.shapeFlag & 2 ? r.push(f) : f.type === ze && de(f.children) && f.children.forEach((o) => {
3843
3843
  o?.patchFlag !== 1024 && !ve(o?.children) && r.push(o);
3844
3844
  });
3845
3845
  return P("div", r);
@@ -1,4 +1,4 @@
1
- import { bW as t } from "./index-gYF8PSol.js";
1
+ import { b_ as t } from "./index-DkjwZbZB.js";
2
2
  class i extends t {
3
3
  config = {
4
4
  contentText: "按钮",
@@ -1,7 +1,6 @@
1
- import { a as s, bg as t } from "./index-gYF8PSol.js";
2
- import { defineStore as a } from "pinia";
1
+ import { d as a, a as s, bk as t } from "./index-DkjwZbZB.js";
3
2
  import { nextTick as o } from "vue";
4
- const l = a("cache", {
3
+ const d = a("cache", {
5
4
  state: () => ({
6
5
  caches: [],
7
6
  cacheIndex: 1
@@ -38,5 +37,5 @@ const l = a("cache", {
38
37
  }
39
38
  });
40
39
  export {
41
- l as u
40
+ d as u
42
41
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as p, watch as s, renderSlot as l } from "vue";
2
- import { p as u } from "./use-global-config-B18s1Lg0.js";
3
- import { u as m } from "./index-BMuNDo9k.js";
4
- import { e as d, f as e, a6 as c } from "./index-gYF8PSol.js";
2
+ import { p as u } from "./use-global-config-DZRLZ7Je.js";
3
+ import { u as m } from "./index-DiVasNFo.js";
4
+ import { f as d, g as e, a7 as c } from "./index-DkjwZbZB.js";
5
5
  const f = d({
6
6
  a11y: {
7
7
  type: Boolean,
@@ -1,4 +1,4 @@
1
- import { bW as o } from "./index-gYF8PSol.js";
1
+ import { b_ as o } from "./index-DkjwZbZB.js";
2
2
  class t extends o {
3
3
  config = {
4
4
  title: "容器组1",
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as e, createElementVNode as c } from "vue";
2
- import { _ as n } from "./index-gYF8PSol.js";
2
+ import { _ as n } from "./index-DkjwZbZB.js";
3
3
  const s = {}, p = {
4
4
  t: "1640065251938",
5
5
  class: "icon",