@hinen/pro-element-plus 1.8.4 → 1.8.5

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.js CHANGED
@@ -1,4 +1,4 @@
1
- import { getCurrentScope as eo, onScopeDispose as to, onMounted as Qe, nextTick as Me, watch as J, getCurrentInstance as Ye, hasInjectionContext as ro, inject as Jt, toValue as G, computed as P, ref as j, shallowRef as k, watchEffect as ot, unref as c, defineComponent as W, useCssVars as oo, createBlock as I, openBlock as S, withCtx as g, resolveDynamicComponent as Ge, mergeProps as F, renderSlot as C, createElementBlock as M, createElementVNode as q, useSlots as ke, onBeforeUnmount as no, createVNode as D, createSlots as x, createCommentVNode as ee, Teleport as On, normalizeClass as Se, toDisplayString as ne, normalizeProps as V, guardReactiveProps as z, renderList as L, Fragment as le, warn as Fn, createTextVNode as ge, provide as lo, withDirectives as gt, withModifiers as yr, vShow as hr, toRef as An, readonly as kn, customRef as In, useId as Bn, h as je, onUpdated as Dn, onActivated as jn, onDeactivated as Mn, toRaw as br, resolveComponent as Nn } from "vue";
1
+ import { getCurrentScope as eo, onScopeDispose as to, onMounted as Qe, nextTick as Me, watch as X, getCurrentInstance as Ye, hasInjectionContext as ro, inject as Jt, toValue as G, computed as P, ref as j, shallowRef as k, watchEffect as ot, unref as c, defineComponent as W, useCssVars as oo, createBlock as I, openBlock as S, withCtx as g, resolveDynamicComponent as Ge, mergeProps as F, renderSlot as C, createElementBlock as M, createElementVNode as q, useSlots as ke, onBeforeUnmount as no, createVNode as D, createSlots as x, createCommentVNode as ee, Teleport as On, normalizeClass as Se, toDisplayString as ne, normalizeProps as V, guardReactiveProps as z, renderList as L, Fragment as le, warn as Fn, createTextVNode as ge, provide as lo, withDirectives as gt, withModifiers as yr, vShow as hr, toRef as An, readonly as kn, customRef as In, useId as Bn, h as je, onUpdated as Dn, onActivated as jn, onDeactivated as Mn, toRaw as br, resolveComponent as Nn } from "vue";
2
2
  import { ElTooltip as yt, formItemProps as _n, ElFormItem as Wt, ElIcon as _e, inputProps as Vn, inputEmits as Ln, ElInput as zn, inputNumberProps as xn, inputNumberEmits as Wn, ElInputNumber as Kn, selectProps as Kt, ElSelect as ao, ElOptionGroup as so, ElOption as ht, checkboxGroupProps as Hn, checkboxGroupEmits as Gn, ElCheckboxGroup as Un, ElCheckbox as qn, radioGroupProps as Qn, radioGroupEmits as Yn, ElRadioGroup as Xn, ElRadio as io, switchProps as Jn, switchEmits as Zn, ElSwitch as el, cascaderProps as tl, cascaderEmits as rl, ElCascader as ol, datePickerProps as nl, ElDatePicker as ll, timePickerDefaultProps as al, ElTimePicker as sl, inputTagProps as il, inputTagEmits as ul, ElInputTag as fl, ElTreeSelect as Zt, rateProps as dl, rateEmits as pl, ElRate as cl, autocompleteProps as ml, autocompleteEmits as vl, ElAutocomplete as gl, formProps as yl, formEmits as hl, useLocale as Xe, useFormItem as bl, DEFAULT_FORMATS_DATEPICKER as wl, DEFAULT_FORMATS_DATE as $l, DEFAULT_FORMATS_TIME as Sl, ElForm as wr, ElButton as me, ElTableColumn as $r, ElDivider as Sr, ElPopover as Cl, ElTable as Tl, ElEmpty as Cr, vLoading as Pl, ElAffix as Rl, ElPagination as Tr, ElTag as Pr, dialogProps as El, dialogEmits as Ol, ElDialog as Fl, ElScrollbar as Al, imageProps as kl, imageEmits as Il, ElImage as Bl, drawerProps as Dl, drawerEmits as jl, ElDrawer as Ml } from "element-plus";
3
3
  import { css as uo } from "@emotion/css";
4
4
  import ct from "dayjs";
@@ -149,7 +149,7 @@ function tr(e, t = !0, l) {
149
149
  Ul() ? Qe(e, l) : t ? e() : Me(e);
150
150
  }
151
151
  function Ql(e, t, l) {
152
- return J(
152
+ return X(
153
153
  e,
154
154
  t,
155
155
  {
@@ -217,7 +217,7 @@ function fo(e, t, l = {}) {
217
217
  }, n = P(() => {
218
218
  const h = G(e), R = nt(h).map(ve).filter(Wl);
219
219
  return new Set(R);
220
- }), a = J(
220
+ }), a = X(
221
221
  () => n.value,
222
222
  (h) => {
223
223
  o(), d.value && h.size && (p = new MutationObserver(t), h.forEach((R) => p.observe(R, f)));
@@ -263,7 +263,7 @@ function or(e, t, l = {}) {
263
263
  }, n = P(() => {
264
264
  const v = G(e);
265
265
  return Array.isArray(v) ? v.map((h) => ve(h)) : [ve(v)];
266
- }), a = J(
266
+ }), a = X(
267
267
  n,
268
268
  (v) => {
269
269
  if (o(), d.value && r) {
@@ -301,7 +301,7 @@ function bt(e, t = {}) {
301
301
  function $() {
302
302
  d === "sync" ? O() : d === "next-frame" && requestAnimationFrame(() => O());
303
303
  }
304
- return or(e, $), J(() => ve(e), (m) => !m && $()), fo(e, $, {
304
+ return or(e, $), X(() => ve(e), (m) => !m && $()), fo(e, $, {
305
305
  attributeFilter: ["style", "class"]
306
306
  }), f && Ue("scroll", $, { capture: !0, passive: !0 }), r && Ue("resize", $, { passive: !0 }), tr(() => {
307
307
  p && $();
@@ -343,7 +343,7 @@ function ea(e, t = { width: 0, height: 0 }, l = {}) {
343
343
  const v = ve(e);
344
344
  v && (d.value = "offsetWidth" in v ? v.offsetWidth : t.width, o.value = "offsetHeight" in v ? v.offsetHeight : t.height);
345
345
  });
346
- const a = J(
346
+ const a = X(
347
347
  () => ve(e),
348
348
  (v) => {
349
349
  d.value = v ? t.width : 0, o.value = v ? t.height : 0;
@@ -379,7 +379,7 @@ function ta(e = {}) {
379
379
  const u = { passive: !0 };
380
380
  if (Ue("resize", a, u), t && d === "visual" && t.visualViewport && Ue(t.visualViewport, "resize", a, u), f) {
381
381
  const v = Zl("(orientation: portrait)");
382
- J(v, () => a());
382
+ X(v, () => a());
383
383
  }
384
384
  return { width: o, height: n };
385
385
  }
@@ -463,7 +463,7 @@ const ra = /* @__PURE__ */ W({
463
463
  for (const [r, f] of t)
464
464
  l[r] = f;
465
465
  return l;
466
- }, po = /* @__PURE__ */ oa(ra, [["__scopeId", "data-v-36b1aefb"]]), { for: na, ...la } = _n, ae = {
466
+ }, po = /* @__PURE__ */ oa(ra, [["__scopeId", "data-v-36b1aefb"]]), { for: na, ...la } = _n, se = {
467
467
  ...la,
468
468
  htmlFor: na,
469
469
  ghost: {
@@ -596,7 +596,7 @@ const ba = {
596
596
  }, ue = /* @__PURE__ */ W({
597
597
  name: "PelFormItem",
598
598
  __name: "FormItem",
599
- props: ae,
599
+ props: se,
600
600
  setup(e, { expose: t }) {
601
601
  var R, T, O;
602
602
  const l = ke(), r = j(), f = j(null), p = j(null), d = j(!1), o = j(!1);
@@ -782,7 +782,7 @@ const ba = {
782
782
  default: () => ({})
783
783
  }
784
784
  };
785
- }, co = Object.keys(ae), de = (e) => ({
785
+ }, co = Object.keys(se), de = (e) => ({
786
786
  ...ie(e, co),
787
787
  ...e.formItemProps
788
788
  }), pe = (e, t = []) => {
@@ -798,7 +798,7 @@ const ba = {
798
798
  ...l,
799
799
  ...e.fieldProps || {}
800
800
  };
801
- }, $a = fe(ae, {
801
+ }, $a = fe(se, {
802
802
  ...Vn,
803
803
  inputStyle: [String, Array, Object],
804
804
  inputClass: {
@@ -851,7 +851,7 @@ const ba = {
851
851
  }))
852
852
  ]), 1040));
853
853
  }
854
- }), Ta = fe(ae, xn), Pa = Wn, Ra = /* @__PURE__ */ W({
854
+ }), Ta = fe(se, xn), Pa = Wn, Ra = /* @__PURE__ */ W({
855
855
  name: "PelFormNumber",
856
856
  __name: "FormNumber",
857
857
  props: Ta,
@@ -1036,7 +1036,7 @@ const ba = {
1036
1036
  ]), 1040));
1037
1037
  }
1038
1038
  }), Oa = {
1039
- ...fe(ae, mo),
1039
+ ...fe(se, mo),
1040
1040
  valueEnum: Object
1041
1041
  }, Fa = vo, Aa = /* @__PURE__ */ W({
1042
1042
  name: "PelFormSelect",
@@ -1166,7 +1166,7 @@ const ba = {
1166
1166
  }, 16));
1167
1167
  }
1168
1168
  }), Ia = {
1169
- ...fe(ae, go),
1169
+ ...fe(se, go),
1170
1170
  valueEnum: Object
1171
1171
  }, Ba = yo, Da = /* @__PURE__ */ W({
1172
1172
  name: "PelFormCheckboxGroup",
@@ -1237,7 +1237,7 @@ const ba = {
1237
1237
  }, 16));
1238
1238
  }
1239
1239
  }), Ma = {
1240
- ...fe(ae, ho),
1240
+ ...fe(se, ho),
1241
1241
  valueEnum: Object
1242
1242
  }, Na = bo, _a = /* @__PURE__ */ W({
1243
1243
  name: "PelFormRadioGroup",
@@ -1283,7 +1283,7 @@ const ba = {
1283
1283
  }))
1284
1284
  ]), 1040));
1285
1285
  }
1286
- }), Va = fe(ae, Jn), La = Zn, za = /* @__PURE__ */ W({
1286
+ }), Va = fe(se, Jn), La = Zn, za = /* @__PURE__ */ W({
1287
1287
  name: "PelFormSwitch",
1288
1288
  __name: "FormSwitch",
1289
1289
  props: Va,
@@ -1325,7 +1325,7 @@ const ba = {
1325
1325
  ]), 1040));
1326
1326
  }
1327
1327
  }), xa = {
1328
- ...fe(ae, tl),
1328
+ ...fe(se, tl),
1329
1329
  /** 通过 props 传递 default 插槽内容,用于 DataTable 查询表单等无法使用插槽的场景 */
1330
1330
  renderDefault: Function
1331
1331
  }, Wa = rl, Ka = /* @__PURE__ */ W({
@@ -1383,7 +1383,7 @@ const ba = {
1383
1383
  }))
1384
1384
  ]), 1040));
1385
1385
  }
1386
- }), Ha = fe(ae, nl), Ga = {
1386
+ }), Ha = fe(se, nl), Ga = {
1387
1387
  "update:modelValue": (e) => !0,
1388
1388
  change: (e) => !0,
1389
1389
  focus: (e) => !0,
@@ -1440,7 +1440,7 @@ const ba = {
1440
1440
  }))
1441
1441
  ]), 1040));
1442
1442
  }
1443
- }), qa = fe(ae, al), Qa = {
1443
+ }), qa = fe(se, al), Qa = {
1444
1444
  "update:modelValue": (e) => !0,
1445
1445
  change: (e) => !0,
1446
1446
  focus: (e) => !0,
@@ -1491,7 +1491,7 @@ const ba = {
1491
1491
  }))
1492
1492
  ]), 1040));
1493
1493
  }
1494
- }), Xa = fe(ae, il), Ja = ul, Za = /* @__PURE__ */ W({
1494
+ }), Xa = fe(se, il), Ja = ul, Za = /* @__PURE__ */ W({
1495
1495
  name: "PelFormTagInput",
1496
1496
  __name: "FormTagInput",
1497
1497
  props: Xa,
@@ -1540,7 +1540,7 @@ const ba = {
1540
1540
  ]), 1040));
1541
1541
  }
1542
1542
  }), es = fe(
1543
- ae,
1543
+ se,
1544
1544
  Zt.props
1545
1545
  ), ts = Zt.emits ?? [], rs = /* @__PURE__ */ W({
1546
1546
  name: "PelFormTreeSelect",
@@ -1601,7 +1601,7 @@ const ba = {
1601
1601
  }))
1602
1602
  ]), 1040));
1603
1603
  }
1604
- }), os = fe(ae, dl), ns = pl, yd = /* @__PURE__ */ W({
1604
+ }), os = fe(se, dl), ns = pl, yd = /* @__PURE__ */ W({
1605
1605
  name: "PelFormRate",
1606
1606
  __name: "FormRate",
1607
1607
  props: os,
@@ -1635,7 +1635,7 @@ const ba = {
1635
1635
  ]), 1040));
1636
1636
  }
1637
1637
  }), ls = fe(
1638
- ae,
1638
+ se,
1639
1639
  ml
1640
1640
  ), as = vl, ss = /* @__PURE__ */ W({
1641
1641
  name: "PelFormAutocomplete",
@@ -2450,6 +2450,7 @@ const jo = 20, Xt = {
2450
2450
  expandChange: (e, t) => !0,
2451
2451
  scroll: (e) => !0,
2452
2452
  formDataChange: (e) => !0,
2453
+ dataChange: (e) => !0,
2453
2454
  searchParamsChange: (e) => !0
2454
2455
  }, uf = {
2455
2456
  ...yl,
@@ -2591,7 +2592,7 @@ const jo = 20, Xt = {
2591
2592
  },
2592
2593
  setup(e) {
2593
2594
  const t = e, { t: l } = Xe(), { formItem: r } = bl(), f = Jt(Uo);
2594
- J(
2595
+ X(
2595
2596
  () => r == null ? void 0 : r.fieldValue,
2596
2597
  () => {
2597
2598
  r == null || r.validate("change").catch(() => {
@@ -2678,10 +2679,10 @@ const jo = 20, Xt = {
2678
2679
  let A = 0;
2679
2680
  const N = [];
2680
2681
  for (let H = 0; H < r.items.length; H++) {
2681
- const X = r.items[H];
2682
- if (A += Xr(h.value, X.width ?? r.width), A > r.defaultCollapsedRows)
2682
+ const J = r.items[H];
2683
+ if (A += Xr(h.value, J.width ?? r.width), A > r.defaultCollapsedRows)
2683
2684
  break;
2684
- N.push(X);
2685
+ N.push(J);
2685
2686
  }
2686
2687
  return N.map((H) => H.prop);
2687
2688
  }), m = P(
@@ -2716,7 +2717,7 @@ const jo = 20, Xt = {
2716
2717
  }, xe = (A) => {
2717
2718
  delete n.value[A];
2718
2719
  };
2719
- return J(
2720
+ return X(
2720
2721
  n,
2721
2722
  (A) => {
2722
2723
  f("change", re(Ee(A)));
@@ -2750,8 +2751,8 @@ const jo = 20, Xt = {
2750
2751
  n.value = re(a.value);
2751
2752
  },
2752
2753
  setFormData(A, N) {
2753
- const _ = (N == null ? void 0 : N.merge) ?? !0, H = (N == null ? void 0 : N.setShadow) ?? !0, X = _ ? { ...re(Ee(n.value)), ...re(Ee(A)) } : re(Ee(A));
2754
- n.value = X, H && (a.value = re(Ee(X)));
2754
+ const _ = (N == null ? void 0 : N.merge) ?? !0, H = (N == null ? void 0 : N.setShadow) ?? !0, J = _ ? { ...re(Ee(n.value)), ...re(Ee(A)) } : re(Ee(A));
2755
+ n.value = J, H && (a.value = re(Ee(J)));
2755
2756
  }
2756
2757
  }), (A, N) => (S(), M(le, null, [
2757
2758
  D(c(wr), F({
@@ -2969,7 +2970,7 @@ function Ef(e, t = !0, l) {
2969
2970
  Rf() ? Qe(e, l) : t ? e() : Me(e);
2970
2971
  }
2971
2972
  function Of(e, t, l) {
2972
- return J(
2973
+ return X(
2973
2974
  e,
2974
2975
  t,
2975
2976
  {
@@ -3037,7 +3038,7 @@ function If(e, t, l = {}) {
3037
3038
  }, n = P(() => {
3038
3039
  const v = G(e);
3039
3040
  return Array.isArray(v) ? v.map((h) => Ne(h)) : [Ne(v)];
3040
- }), a = J(
3041
+ }), a = X(
3041
3042
  n,
3042
3043
  (v) => {
3043
3044
  if (o(), d.value && r) {
@@ -3081,7 +3082,7 @@ function Bf(e, t = { width: 0, height: 0 }, l = {}) {
3081
3082
  const v = Ne(e);
3082
3083
  v && (d.value = "offsetWidth" in v ? v.offsetWidth : t.width, o.value = "offsetHeight" in v ? v.offsetHeight : t.height);
3083
3084
  });
3084
- const a = J(
3085
+ const a = X(
3085
3086
  () => Ne(e),
3086
3087
  (v) => {
3087
3088
  d.value = v ? t.width : 0, o.value = v ? t.height : 0;
@@ -3100,7 +3101,7 @@ const Df = {
3100
3101
  mounted(e, t) {
3101
3102
  var l;
3102
3103
  const r = typeof t.value == "function" ? t.value : (l = t.value) == null ? void 0 : l[0], f = typeof t.value == "function" ? [] : t.value.slice(1), { width: p, height: d } = Bf(e, ...f);
3103
- J([p, d], ([o, n]) => r({ width: o, height: n }));
3104
+ X([p, d], ([o, n]) => r({ width: o, height: n }));
3104
3105
  }
3105
3106
  };
3106
3107
  function zt(e) {
@@ -3123,7 +3124,7 @@ const xt = /* @__PURE__ */ new WeakMap();
3123
3124
  function Mf(e, t = !1) {
3124
3125
  const l = k(t);
3125
3126
  let r = null, f = "";
3126
- J(Pf(e), (o) => {
3127
+ X(Pf(e), (o) => {
3127
3128
  const n = zt(G(o));
3128
3129
  if (n) {
3129
3130
  const a = n;
@@ -3166,7 +3167,7 @@ function Nf() {
3166
3167
  return;
3167
3168
  e = !0;
3168
3169
  const f = Mf(l, r.value);
3169
- J(t, (p) => f.value = p);
3170
+ X(t, (p) => f.value = p);
3170
3171
  };
3171
3172
  }
3172
3173
  Nf();
@@ -3324,9 +3325,9 @@ const xf = (e, t) => {
3324
3325
  emits: sf,
3325
3326
  setup(e, { expose: t, emit: l }) {
3326
3327
  oo((s) => ({
3327
- fa8d89e2: s.fixedHeaderOffset,
3328
- "0447c9c7": c(Q),
3329
- "10469d33": c(xe)
3328
+ a026ea2e: s.fixedHeaderOffset,
3329
+ adb70ca6: c(Q),
3330
+ "95b965ce": c(xe)
3330
3331
  }));
3331
3332
  const r = wf(), f = r == null ? void 0 : r.renderDataTableError, p = r == null ? void 0 : r.renderDataTableEmpty, d = Ye(), o = e, n = l, a = ke(), u = o, v = Bn(), h = `dataTable_${v}`, { t: R } = Xe(), T = k(null), O = k(null), $ = k(null), m = j(!1), b = j(!1), w = k(
3332
3333
  re(o.form.initialValues ?? {})
@@ -3338,7 +3339,7 @@ const xf = (e, t) => {
3338
3339
  disabled: () => !o.fixedFooter,
3339
3340
  offset: () => o.fixedFooterOffset,
3340
3341
  affix: $
3341
- }), A = j(He(o.pagination)), N = j(Lt(o.pagination)), _ = j(!0), H = j([]), X = k(null), Ie = k(null), ft = j(!1), Pe = k(
3342
+ }), A = j(He(o.pagination)), N = j(Lt(o.pagination)), _ = j(!0), H = j([]), J = k(null), Ie = k(null), ft = j(!1), Pe = k(
3342
3343
  /* @__PURE__ */ new Map()
3343
3344
  ), ye = k(
3344
3345
  /* @__PURE__ */ new Map()
@@ -3378,7 +3379,7 @@ const xf = (e, t) => {
3378
3379
  }, ir = () => {
3379
3380
  Pe.value.size !== 0 && (Pe.value = /* @__PURE__ */ new Map());
3380
3381
  }, Ft = P(() => be.value ? (o.selectedRowKeys ?? []).map((s) => {
3381
- const i = se.value.find((E) => We(E) === s);
3382
+ const i = ae.value.find((E) => We(E) === s);
3382
3383
  if (i)
3383
3384
  return {
3384
3385
  key: s,
@@ -3397,7 +3398,7 @@ const xf = (e, t) => {
3397
3398
  row: i,
3398
3399
  text: Ot(i)
3399
3400
  })
3400
- )), Zo = P(() => te.value === "single" ? X.value ? [X.value] : [] : he.value ? Ft.value.map((s) => s.row) : H.value), At = P(() => te.value === "single" ? X.value ? 1 : 0 : he.value ? Ft.value.length : H.value.length), en = P(() => te.value === "single" ? !!o.selectionBar && X.value !== null : (te.value === "multiple", !!o.selectionBar && At.value > 0)), ur = P(() => {
3401
+ )), Zo = P(() => te.value === "single" ? J.value ? [J.value] : [] : he.value ? Ft.value.map((s) => s.row) : H.value), At = P(() => te.value === "single" ? J.value ? 1 : 0 : he.value ? Ft.value.length : H.value.length), en = P(() => te.value === "single" ? !!o.selectionBar && J.value !== null : (te.value === "multiple", !!o.selectionBar && At.value > 0)), ur = P(() => {
3401
3402
  if (te.value == "single")
3402
3403
  return R("el.DataTable.selected");
3403
3404
  if (te.value == "multiple") {
@@ -3407,10 +3408,10 @@ const xf = (e, t) => {
3407
3408
  return "";
3408
3409
  }), fr = P(() => {
3409
3410
  var i;
3410
- if (!X.value) return "";
3411
+ if (!J.value) return "";
3411
3412
  if ((i = o.selection) != null && i.formatter)
3412
- return o.selection.formatter(X.value);
3413
- const s = Re(X.value);
3413
+ return o.selection.formatter(J.value);
3414
+ const s = Re(J.value);
3414
3415
  return s !== void 0 ? String(s) : "";
3415
3416
  }), dr = P(
3416
3417
  () => Ht(o.selectionBar) ? o.selectionBar : {}
@@ -3437,15 +3438,15 @@ const xf = (e, t) => {
3437
3438
  }), ln = (s, i) => u.rowKey ? we(s) : i, an = P(() => {
3438
3439
  if (u.rowKey)
3439
3440
  return Ie.value;
3440
- if (!X.value)
3441
+ if (!J.value)
3441
3442
  return;
3442
- const s = se.value.findIndex(
3443
- (i) => dt(i, X.value)
3443
+ const s = ae.value.findIndex(
3444
+ (i) => dt(i, J.value)
3444
3445
  );
3445
3446
  return s === -1 ? void 0 : s;
3446
3447
  }), Be = (s, i = {}) => {
3447
- const y = X.value, E = s ?? null;
3448
- dt(E, y) || (E && u.rowKey ? Ie.value = we(E) : Ie.value = null, X.value = E, O.value && (ft.value = !0, O.value.setCurrentRow(E ?? void 0)), i.emitChange && n("currentChange", E, y));
3448
+ const y = J.value, E = s ?? null;
3449
+ dt(E, y) || (E && u.rowKey ? Ie.value = we(E) : Ie.value = null, J.value = E, O.value && (ft.value = !0, O.value.setCurrentRow(E ?? void 0)), i.emitChange && n("currentChange", E, y));
3449
3450
  }, sn = (s) => {
3450
3451
  const i = Re(s);
3451
3452
  if (i === void 0) {
@@ -3473,7 +3474,7 @@ const xf = (e, t) => {
3473
3474
  return Be(void 0, s), !0;
3474
3475
  const y = un(
3475
3476
  u.currentRowKey,
3476
- se.value
3477
+ ae.value
3477
3478
  );
3478
3479
  return Be(y, s), !0;
3479
3480
  }, fn = ({
@@ -3481,7 +3482,7 @@ const xf = (e, t) => {
3481
3482
  rowIndex: i
3482
3483
  }) => {
3483
3484
  const y = [];
3484
- if (te.value === "single" && dt(s, X.value) && y.push("current-row"), typeof u.rowClassName == "string" && y.push(u.rowClassName), typeof u.rowClassName == "function") {
3485
+ if (te.value === "single" && dt(s, J.value) && y.push("current-row"), typeof u.rowClassName == "string" && y.push(u.rowClassName), typeof u.rowClassName == "function") {
3485
3486
  const E = u.rowClassName({ row: s, rowIndex: i });
3486
3487
  E && y.push(E);
3487
3488
  }
@@ -3496,8 +3497,8 @@ const xf = (e, t) => {
3496
3497
  ft.value = !1;
3497
3498
  return;
3498
3499
  }
3499
- ft.value = !0, (i = O.value) == null || i.setCurrentRow(X.value ?? void 0);
3500
- }, kt = async (s = se.value) => {
3500
+ ft.value = !0, (i = O.value) == null || i.setCurrentRow(J.value ?? void 0);
3501
+ }, kt = async (s = ae.value) => {
3501
3502
  if (he.value) {
3502
3503
  Rt.value = !0;
3503
3504
  try {
@@ -3535,7 +3536,7 @@ const xf = (e, t) => {
3535
3536
  sr((E) => {
3536
3537
  E.delete(s);
3537
3538
  });
3538
- const i = se.value.find(
3539
+ const i = ae.value.find(
3539
3540
  (E) => Re(E) === s
3540
3541
  );
3541
3542
  if (i) {
@@ -3549,7 +3550,7 @@ const xf = (e, t) => {
3549
3550
  Be(void 0, { emitChange: !0 });
3550
3551
  }, It = () => {
3551
3552
  var s;
3552
- te.value === "single" && (Ie.value = null, X.value = null), (s = O.value) == null || s.clearSelection(), be.value ? (n("update:selectedRowKeys", []), ye.value.clear()) : ir(), H.value = [];
3553
+ te.value === "single" && (Ie.value = null, J.value = null), (s = O.value) == null || s.clearSelection(), be.value ? (n("update:selectedRowKeys", []), ye.value.clear()) : ir(), H.value = [];
3553
3554
  }, mn = (s) => {
3554
3555
  if (Rt.value) {
3555
3556
  H.value = s, n("selectionChange", Bt());
@@ -3559,7 +3560,7 @@ const xf = (e, t) => {
3559
3560
  const i = new Set(
3560
3561
  o.selectedRowKeys ?? []
3561
3562
  );
3562
- se.value.forEach((y) => {
3563
+ ae.value.forEach((y) => {
3563
3564
  const E = We(y);
3564
3565
  if (E === void 0) return;
3565
3566
  s.some(
@@ -3574,7 +3575,7 @@ const xf = (e, t) => {
3574
3575
  const E = Re(y);
3575
3576
  E !== void 0 && i.add(E);
3576
3577
  }), sr((y) => {
3577
- se.value.forEach((E) => {
3578
+ ae.value.forEach((E) => {
3578
3579
  const K = Re(E);
3579
3580
  K !== void 0 && (i.has(K) ? y.set(K, E) : y.delete(K));
3580
3581
  });
@@ -3648,13 +3649,13 @@ const xf = (e, t) => {
3648
3649
  refetchOnMount: o.refetchOnMount,
3649
3650
  refetchOnReconnect: o.refetchOnReconnect,
3650
3651
  refetchOnWindowFocus: o.refetchOnWindowFocus
3651
- }), se = P(() => {
3652
+ }), ae = P(() => {
3652
3653
  var s;
3653
3654
  return o.data ? o.data : (s = et.value) != null && s.data ? et.value.data : [];
3654
3655
  }), cr = P((s) => typeof o.pagination == "object" && o.pagination.total !== void 0 ? o.pagination.total : o.data ? o.data.length : et.value ? et.value.total : s ?? 0), hn = P(() => {
3655
3656
  var s;
3656
3657
  return yn.value || ((s = et.value) == null ? void 0 : s.success) === !1;
3657
- }), bn = P(() => o.loading || gn.value), jt = P(() => o.pagination ? o.hidePaginationWhenEmpty ? se.value.length > 0 : !0 : !1), wn = P(
3658
+ }), bn = P(() => o.loading || gn.value), jt = P(() => o.pagination ? o.hidePaginationWhenEmpty ? ae.value.length > 0 : !0 : !1), wn = P(
3658
3659
  () => !!a.footer || jt.value
3659
3660
  ), mr = P(
3660
3661
  () => G(o.columns).filter((s) => !s.hideInForm && s.prop).sort((s, i) => (s.formItemOrder ?? 99) - (i.formItemOrder ?? 99)).map(
@@ -3767,7 +3768,7 @@ const xf = (e, t) => {
3767
3768
  () => s.item.text
3768
3769
  );
3769
3770
  };
3770
- J(
3771
+ X(
3771
3772
  [te, Et],
3772
3773
  ([s, i]) => {
3773
3774
  s === "multiple" && !i && console.warn(
@@ -3777,24 +3778,29 @@ const xf = (e, t) => {
3777
3778
  );
3778
3779
  },
3779
3780
  { immediate: !0 }
3780
- ), J(
3781
- se,
3781
+ ), X(
3782
+ ae,
3783
+ (s) => {
3784
+ n("dataChange", s);
3785
+ }
3786
+ ), X(
3787
+ ae,
3782
3788
  (s) => {
3783
3789
  if (te.value !== "single" || pr())
3784
3790
  return;
3785
3791
  if (Ie.value === null) {
3786
- X.value = null;
3792
+ J.value = null;
3787
3793
  return;
3788
3794
  }
3789
3795
  const i = s.find(
3790
3796
  (y) => we(y) === Ie.value
3791
3797
  );
3792
- X.value = i ?? null;
3798
+ J.value = i ?? null;
3793
3799
  },
3794
3800
  {
3795
3801
  immediate: !0
3796
3802
  }
3797
- ), J(
3803
+ ), X(
3798
3804
  he,
3799
3805
  (s) => {
3800
3806
  if (s) {
@@ -3806,22 +3812,22 @@ const xf = (e, t) => {
3806
3812
  {
3807
3813
  immediate: !0
3808
3814
  }
3809
- ), J(
3810
- se,
3815
+ ), X(
3816
+ ae,
3811
3817
  (s) => {
3812
3818
  he.value && kt(s);
3813
3819
  },
3814
3820
  {
3815
3821
  immediate: !0
3816
3822
  }
3817
- ), J(
3823
+ ), X(
3818
3824
  () => o.selectedRowKeys,
3819
3825
  (s, i) => {
3820
3826
  if (be.value) {
3821
3827
  const y = new Set(s ?? []), E = new Set(i ?? []);
3822
3828
  y.forEach((K) => {
3823
3829
  if (!E.has(K)) {
3824
- const Z = se.value.find(($e) => We($e) === K);
3830
+ const Z = ae.value.find(($e) => We($e) === K);
3825
3831
  Z && ye.value.set(K, Z);
3826
3832
  }
3827
3833
  }), E.forEach((K) => {
@@ -3832,8 +3838,8 @@ const xf = (e, t) => {
3832
3838
  {
3833
3839
  deep: !0
3834
3840
  }
3835
- ), J(
3836
- se,
3841
+ ), X(
3842
+ ae,
3837
3843
  (s) => {
3838
3844
  if (!be.value)
3839
3845
  return;
@@ -3886,7 +3892,7 @@ const xf = (e, t) => {
3886
3892
  var s;
3887
3893
  pt(), (s = T.value) == null || s.restore();
3888
3894
  };
3889
- J(
3895
+ X(
3890
3896
  w,
3891
3897
  (s) => {
3892
3898
  n("searchParamsChange", s);
@@ -3943,7 +3949,7 @@ const xf = (e, t) => {
3943
3949
  clearSelection: () => {
3944
3950
  It();
3945
3951
  },
3946
- getSelectedRow: () => te.value !== "single" ? null : X.value,
3952
+ getSelectedRow: () => te.value !== "single" ? null : J.value,
3947
3953
  getSelectionRows: (...s) => {
3948
3954
  var i;
3949
3955
  return ((i = O.value) == null ? void 0 : i.getSelectionRows(...s)) ?? [];
@@ -4007,7 +4013,7 @@ const xf = (e, t) => {
4007
4013
  throw new Error("refetch is not supported when props.data is defined");
4008
4014
  return Dt();
4009
4015
  },
4010
- getDataSource: () => se.value,
4016
+ getDataSource: () => ae.value,
4011
4017
  setCurrentPage: (s) => {
4012
4018
  var i;
4013
4019
  A.value = s, pt(), (i = T.value) == null || i.restore();
@@ -4142,7 +4148,7 @@ const xf = (e, t) => {
4142
4148
  ref_key: "tableRef",
4143
4149
  ref: O
4144
4150
  }, En.value, {
4145
- data: se.value,
4151
+ data: ae.value,
4146
4152
  "row-class-name": fn,
4147
4153
  "highlight-current-row": Jo.value,
4148
4154
  onSortChange: Pn,
@@ -4494,7 +4500,7 @@ const xf = (e, t) => {
4494
4500
  () => f.debounceTime,
4495
4501
  { maxWait: () => f.debounceWaitTime }
4496
4502
  );
4497
- J(
4503
+ X(
4498
4504
  [
4499
4505
  () => f.filterable === "remote" ? n.value : "",
4500
4506
  () => f.params
@@ -4519,7 +4525,7 @@ const xf = (e, t) => {
4519
4525
  ]), O = (m) => {
4520
4526
  n.value = m ?? "";
4521
4527
  }, $ = (m) => m ? typeof m == "object" ? m[f.valueKey] : m : "";
4522
- return J(n, (m) => {
4528
+ return X(n, (m) => {
4523
4529
  p("search", m);
4524
4530
  }), t({
4525
4531
  focus: () => {
@@ -4932,7 +4938,7 @@ const xf = (e, t) => {
4932
4938
  ]), 1040, ["model-value", "size", "class", "header-class", "footer-class"]);
4933
4939
  };
4934
4940
  }
4935
- }), kd = "1.8.4";
4941
+ }), kd = "1.8.5";
4936
4942
  export {
4937
4943
  ka as CheckboxGroup,
4938
4944
  hd as ConfigProvider,
@@ -4983,7 +4989,7 @@ export {
4983
4989
  Ia as formCheckboxGroupProps,
4984
4990
  Ga as formDatePickerEmits,
4985
4991
  Ha as formDatePickerProps,
4986
- ae as formItemProps,
4992
+ se as formItemProps,
4987
4993
  Pa as formNumberEmits,
4988
4994
  Ta as formNumberProps,
4989
4995
  Na as formRadioGroupEmits,
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- @charset "UTF-8";.pel-ellipsis-text.is-truncated[data-v-36b1aefb]{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.pel-ellipsis-text.line-clamp[data-v-36b1aefb]{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:box;-webkit-line-clamp:var(--7a7a879f);line-clamp:var(--7a7a879f)}.pel-form-item-ghost{position:relative;margin-bottom:18px}.pel-form-item-ghost>.el-form-item{margin-bottom:0}.pel-form-item-ghost>.el-form-item>.el-form-item__content{position:unset}.pel-form-item-label-with-tooltip{display:inline-flex;align-items:center;gap:4px}.pel-form-item-error-wrap{position:absolute;top:100%;left:0;width:100%;min-height:20px;padding-top:2px;display:flex;align-items:flex-start;z-index:10;pointer-events:none}.pel-form-item-error-content{pointer-events:auto;color:var(--el-color-danger);font-size:12px;line-height:1.2;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:all .2s cubic-bezier(.4,0,.2,1);border-radius:4px;cursor:default}.pel-form-item-error-content.is-truncated{cursor:help}.pel-form-item-error-content.is-truncated:hover{position:absolute;top:2px;left:0;width:auto;max-width:100%;min-width:100%;background-color:var(--el-color-danger);color:#fff;white-space:normal;overflow:visible;padding:6px 8px;transform:translateY(-4px);box-shadow:0 4px 12px #00000026;z-index:100;animation:error-expand .2s ease forwards}@keyframes error-expand{0%{opacity:.8;transform:translateY(0) scale(.98)}to{opacity:1;transform:translateY(-4px) scale(1)}}.pel-query-form{display:flex;align-items:flex-start;gap:80px}.pel-query-form-items{display:flex;flex-wrap:wrap;flex-grow:1}.pel-query-form-item-wrapper .el-input-number,.pel-query-form-item-wrapper .el-cascader{width:100%}.pel-query-form-item-wrapper .el-date-editor{--el-date-editor-width: 100%}.pel-query-form-item-wrapper .el-form-item__error{width:100%}.pel-query-form-buttons{flex-shrink:0}.pel-query-form-buttons.el-form-item--label-right .el-form-item__label-wrap,.pel-query-form-buttons.el-form-item--label-left .el-form-item__label-wrap{display:none}.pel-query-form-buttons .el-form-item__label{visibility:hidden}.pel-query-form-hide-label .el-form-item .el-form-item__label{display:none}.pel-query-form-collapse-button{margin-right:8px}.pel-query-form-collapse-icon{margin-left:4px;transition:transform .3s ease-in-out}.pel-query-form-collapsed .pel-query-form-collapse-icon{transform:rotate(180deg)}.pel-query-form-tags{margin-bottom:10px}.pel-query-form-tags.el-form--inline .el-form-item{margin-right:8px;margin-bottom:8px}.pel-query-form-item-tag{padding:0 8px;background-color:var(--el-fill-color);border-radius:4px;border:1px solid transparent}.pel-query-form-item-tag.is-error{border-color:var(--el-color-danger)}.pel-query-form-item-tag .error-icon{margin-left:4px;color:var(--el-color-danger)}.pel-query-form-item-tag .el-form-item__label{padding-right:4px}.pel-query-form-item-tag .el-form-item__label:after{content:":"}.pel-query-form-item-tag-content{max-width:250px}.pel-query-form-item-tag .el-form-item__content{color:var(--el-text-color-regular)}.pel-query-form-item-tag .close-btn.is-text{margin-left:4px;width:18px;height:18px;border-radius:4px;background-color:var(--el-fill-color-darker)}.pel-query-form-item-tag .close-btn.is-text:hover{background-color:#fff}.pel-data-table{display:flex;flex-direction:column}.pel-data-table-toolbar{margin-bottom:16px}.pel-data-table-footer-wrapper{display:flex;align-items:center;justify-content:flex-end;gap:16px;flex-wrap:wrap;width:100%;background:#fff}.pel-data-table-footer-wrapper--with-footer{justify-content:space-between}.pel-data-table-footer{display:flex;align-items:center;flex:1;min-width:0;padding:16px 0;background:#fff;color:var(--el-text-color-regular);font-size:var(--el-font-size-base);line-height:var(--el-line-height-base)}.pel-data-table-selection-review-popper{max-width:300px!important;width:auto!important}.pel-data-table-selection-bar{display:flex;align-items:center;gap:8px;margin-bottom:16px;padding:8px 16px;color:var(--el-table-text-color);font-size:var(--el-font-size-base);border-radius:4px;background-color:var(--el-fill-color)}.pel-data-table-selection-tag{display:inline-flex;overflow:hidden}.pel-data-table-selection-tag .el-tag__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;flex:1}.pel-data-table-selection-review-list{display:flex;flex-wrap:wrap;gap:8px;margin-left:-10px;margin-right:-10px;padding:0 10px;overflow-y:auto;max-height:300px}.pel-data-table .el-affix--fixed .pel-data-table-footer-wrapper{border-top:1px solid var(--el-border-color-lighter)}.pel-data-table-pagination{justify-content:flex-end;padding:16px 0;background:#fff}.pel-data-table .el-table{--el-table-header-bg-color: var(--el-fill-color);scroll-margin-top:calc(var(--fa8d89e2) * 1px)}.pel-data-table .el-table .cell:not(.el-tooltip){text-overflow:unset}.pel-data-table .el-table th.el-table__cell{padding-top:10px;padding-bottom:10px}.pel-data-table .el-table__header-wrapper{z-index:5}.pel-data-table .el-table .el-scrollbar__bar.is-horizontal.fixed{position:fixed;bottom:calc(var(--0447c9c7) + var(--10469d33));left:unset;right:unset}.pel-data-table-cell-tooltip{max-width:300px}.el-dialog{--el-dialog-border-radius: 12px !important;--el-dialog-padding-primary: 32px !important;--el-dialog-padding-x: 32px;--el-dialog-padding-y: 20px;--el-dialog-margin-top: 8vh !important;--el-dialog-width: 95%;display:flex;flex-direction:column;padding:0}.el-dialog__scrollbar{padding-left:32px;padding-right:32px}.el-dialog__small{max-width:450px}.el-dialog__large{max-width:960px}.el-dialog__default{max-width:680px}.el-dialog:not(.is-align-center){max-height:calc(100vh - var(--el-dialog-margin-top) - 50px)}.el-dialog.is-align-center{max-height:calc(100vh - 100px)}.el-dialog__header{z-index:2;flex-shrink:0;padding-top:var(--el-dialog-padding-y);padding-left:var(--el-dialog-padding-x);padding-bottom:var(--el-dialog-padding-y)}.el-dialog__header-shadow{box-shadow:0 0 6px #0000001a}.el-dialog__footer{flex-shrink:0;padding-top:var(--el-dialog-padding-y);padding-bottom:var(--el-dialog-padding-y);padding-left:var(--el-dialog-padding-x);padding-right:var(--el-dialog-padding-x)}.el-dialog__footer-shadow{box-shadow:0 -1px 6px #0000001a}.el-dialog__body{flex-grow:1;padding-left:0;padding-right:0;overflow:hidden;display:flex;flex-direction:column}.el-dialog__body .el-scrollbar{flex-grow:1;display:flex;flex-direction:column;overflow:hidden}.el-dialog__headerbtn{top:12px;right:15px}.pel-image-error{display:flex;flex-direction:column;gap:8px}.pel-image-refresh-button{display:flex;align-items:center;justify-content:center;font-size:24px;cursor:pointer}.pel-image .el-loading-spinner{margin-top:0;transform:translateY(-50%)}.pel-image-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background-color:var(--el-fill-color-light)}.pel-image-placeholder-loading{color:var(--el-text-color-placeholder)}.pel-image-empty{position:relative;background-color:var(--el-fill-color-light)}.pel-image-empty-icon{position:absolute;display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:24px;color:var(--el-text-color-placeholder)}.el-drawer{--el-drawer-border-radius: 12px;--el-drawer-padding-x: 32px;--el-drawer-padding-y: 20px;display:flex;flex-direction:column;padding:0}.el-drawer__rtl{border-top-left-radius:var(--el-drawer-border-radius);border-bottom-left-radius:var(--el-drawer-border-radius)}.el-drawer__ltr{border-top-right-radius:var(--el-drawer-border-radius);border-bottom-right-radius:var(--el-drawer-border-radius)}.el-drawer__ttb{border-bottom-left-radius:var(--el-drawer-border-radius);border-bottom-right-radius:var(--el-drawer-border-radius)}.el-drawer__btt{border-top-left-radius:var(--el-drawer-border-radius);border-top-right-radius:var(--el-drawer-border-radius)}.el-drawer__scrollbar{padding-left:var(--el-drawer-padding-x);padding-right:var(--el-drawer-padding-x)}.el-drawer__rtl.el-drawer__small,.el-drawer__ltr.el-drawer__small{max-width:380px}.el-drawer__rtl.el-drawer__large,.el-drawer__ltr.el-drawer__large{max-width:680px}.el-drawer__rtl.el-drawer__default,.el-drawer__ltr.el-drawer__default{max-width:450px}.el-drawer__ttb.el-drawer__small,.el-drawer__btt.el-drawer__small{max-height:380px}.el-drawer__ttb.el-drawer__large,.el-drawer__btt.el-drawer__large{max-height:680px}.el-drawer__ttb.el-drawer__default,.el-drawer__btt.el-drawer__default{max-height:450px}.el-drawer__header{z-index:2;flex-shrink:0;padding-top:var(--el-drawer-padding-y);padding-bottom:var(--el-drawer-padding-y);padding-left:var(--el-drawer-padding-x);padding-right:var(--el-drawer-padding-y);margin-bottom:0}.el-drawer__header-shadow{box-shadow:0 2px 12px #0000001a}.el-drawer__footer{flex-shrink:0;padding-top:var(--el-drawer-padding-y);padding-bottom:var(--el-drawer-padding-y);padding-left:var(--el-drawer-padding-x);padding-right:var(--el-drawer-padding-y)}.el-drawer__footer-shadow{box-shadow:0 -1px 6px #0000001a}.el-drawer__body{display:flex;flex-grow:1;flex-direction:column;padding:0;overflow:hidden}.el-drawer__body .el-scrollbar{flex-grow:1;flex-direction:column;display:flex;overflow:hidden}
1
+ @charset "UTF-8";.pel-ellipsis-text.is-truncated[data-v-36b1aefb]{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.pel-ellipsis-text.line-clamp[data-v-36b1aefb]{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:box;-webkit-line-clamp:var(--7a7a879f);line-clamp:var(--7a7a879f)}.pel-form-item-ghost{position:relative;margin-bottom:18px}.pel-form-item-ghost>.el-form-item{margin-bottom:0}.pel-form-item-ghost>.el-form-item>.el-form-item__content{position:unset}.pel-form-item-label-with-tooltip{display:inline-flex;align-items:center;gap:4px}.pel-form-item-error-wrap{position:absolute;top:100%;left:0;width:100%;min-height:20px;padding-top:2px;display:flex;align-items:flex-start;z-index:10;pointer-events:none}.pel-form-item-error-content{pointer-events:auto;color:var(--el-color-danger);font-size:12px;line-height:1.2;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:all .2s cubic-bezier(.4,0,.2,1);border-radius:4px;cursor:default}.pel-form-item-error-content.is-truncated{cursor:help}.pel-form-item-error-content.is-truncated:hover{position:absolute;top:2px;left:0;width:auto;max-width:100%;min-width:100%;background-color:var(--el-color-danger);color:#fff;white-space:normal;overflow:visible;padding:6px 8px;transform:translateY(-4px);box-shadow:0 4px 12px #00000026;z-index:100;animation:error-expand .2s ease forwards}@keyframes error-expand{0%{opacity:.8;transform:translateY(0) scale(.98)}to{opacity:1;transform:translateY(-4px) scale(1)}}.pel-query-form{display:flex;align-items:flex-start;gap:80px}.pel-query-form-items{display:flex;flex-wrap:wrap;flex-grow:1}.pel-query-form-item-wrapper .el-input-number,.pel-query-form-item-wrapper .el-cascader{width:100%}.pel-query-form-item-wrapper .el-date-editor{--el-date-editor-width: 100%}.pel-query-form-item-wrapper .el-form-item__error{width:100%}.pel-query-form-buttons{flex-shrink:0}.pel-query-form-buttons.el-form-item--label-right .el-form-item__label-wrap,.pel-query-form-buttons.el-form-item--label-left .el-form-item__label-wrap{display:none}.pel-query-form-buttons .el-form-item__label{visibility:hidden}.pel-query-form-hide-label .el-form-item .el-form-item__label{display:none}.pel-query-form-collapse-button{margin-right:8px}.pel-query-form-collapse-icon{margin-left:4px;transition:transform .3s ease-in-out}.pel-query-form-collapsed .pel-query-form-collapse-icon{transform:rotate(180deg)}.pel-query-form-tags{margin-bottom:10px}.pel-query-form-tags.el-form--inline .el-form-item{margin-right:8px;margin-bottom:8px}.pel-query-form-item-tag{padding:0 8px;background-color:var(--el-fill-color);border-radius:4px;border:1px solid transparent}.pel-query-form-item-tag.is-error{border-color:var(--el-color-danger)}.pel-query-form-item-tag .error-icon{margin-left:4px;color:var(--el-color-danger)}.pel-query-form-item-tag .el-form-item__label{padding-right:4px}.pel-query-form-item-tag .el-form-item__label:after{content:":"}.pel-query-form-item-tag-content{max-width:250px}.pel-query-form-item-tag .el-form-item__content{color:var(--el-text-color-regular)}.pel-query-form-item-tag .close-btn.is-text{margin-left:4px;width:18px;height:18px;border-radius:4px;background-color:var(--el-fill-color-darker)}.pel-query-form-item-tag .close-btn.is-text:hover{background-color:#fff}.pel-data-table{display:flex;flex-direction:column}.pel-data-table-toolbar{margin-bottom:16px}.pel-data-table-footer-wrapper{display:flex;align-items:center;justify-content:flex-end;gap:16px;flex-wrap:wrap;width:100%;background:#fff}.pel-data-table-footer-wrapper--with-footer{justify-content:space-between}.pel-data-table-footer{display:flex;align-items:center;flex:1;min-width:0;padding:16px 0;background:#fff;color:var(--el-text-color-regular);font-size:var(--el-font-size-base);line-height:var(--el-line-height-base)}.pel-data-table-selection-review-popper{max-width:300px!important;width:auto!important}.pel-data-table-selection-bar{display:flex;align-items:center;gap:8px;margin-bottom:16px;padding:8px 16px;color:var(--el-table-text-color);font-size:var(--el-font-size-base);border-radius:4px;background-color:var(--el-fill-color)}.pel-data-table-selection-tag{display:inline-flex;overflow:hidden}.pel-data-table-selection-tag .el-tag__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;flex:1}.pel-data-table-selection-review-list{display:flex;flex-wrap:wrap;gap:8px;margin-left:-10px;margin-right:-10px;padding:0 10px;overflow-y:auto;max-height:300px}.pel-data-table .el-affix--fixed .pel-data-table-footer-wrapper{border-top:1px solid var(--el-border-color-lighter)}.pel-data-table-pagination{justify-content:flex-end;padding:16px 0;background:#fff}.pel-data-table .el-table{--el-table-header-bg-color: var(--el-fill-color);scroll-margin-top:calc(var(--a026ea2e) * 1px)}.pel-data-table .el-table .cell:not(.el-tooltip){text-overflow:unset}.pel-data-table .el-table th.el-table__cell{padding-top:10px;padding-bottom:10px}.pel-data-table .el-table__header-wrapper{z-index:5}.pel-data-table .el-table .el-scrollbar__bar.is-horizontal.fixed{position:fixed;bottom:calc(var(--adb70ca6) + var(--95b965ce));left:unset;right:unset}.pel-data-table-cell-tooltip{max-width:300px}.el-dialog{--el-dialog-border-radius: 12px !important;--el-dialog-padding-primary: 32px !important;--el-dialog-padding-x: 32px;--el-dialog-padding-y: 20px;--el-dialog-margin-top: 8vh !important;--el-dialog-width: 95%;display:flex;flex-direction:column;padding:0}.el-dialog__scrollbar{padding-left:32px;padding-right:32px}.el-dialog__small{max-width:450px}.el-dialog__large{max-width:960px}.el-dialog__default{max-width:680px}.el-dialog:not(.is-align-center){max-height:calc(100vh - var(--el-dialog-margin-top) - 50px)}.el-dialog.is-align-center{max-height:calc(100vh - 100px)}.el-dialog__header{z-index:2;flex-shrink:0;padding-top:var(--el-dialog-padding-y);padding-left:var(--el-dialog-padding-x);padding-bottom:var(--el-dialog-padding-y)}.el-dialog__header-shadow{box-shadow:0 0 6px #0000001a}.el-dialog__footer{flex-shrink:0;padding-top:var(--el-dialog-padding-y);padding-bottom:var(--el-dialog-padding-y);padding-left:var(--el-dialog-padding-x);padding-right:var(--el-dialog-padding-x)}.el-dialog__footer-shadow{box-shadow:0 -1px 6px #0000001a}.el-dialog__body{flex-grow:1;padding-left:0;padding-right:0;overflow:hidden;display:flex;flex-direction:column}.el-dialog__body .el-scrollbar{flex-grow:1;display:flex;flex-direction:column;overflow:hidden}.el-dialog__headerbtn{top:12px;right:15px}.pel-image-error{display:flex;flex-direction:column;gap:8px}.pel-image-refresh-button{display:flex;align-items:center;justify-content:center;font-size:24px;cursor:pointer}.pel-image .el-loading-spinner{margin-top:0;transform:translateY(-50%)}.pel-image-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background-color:var(--el-fill-color-light)}.pel-image-placeholder-loading{color:var(--el-text-color-placeholder)}.pel-image-empty{position:relative;background-color:var(--el-fill-color-light)}.pel-image-empty-icon{position:absolute;display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:24px;color:var(--el-text-color-placeholder)}.el-drawer{--el-drawer-border-radius: 12px;--el-drawer-padding-x: 32px;--el-drawer-padding-y: 20px;display:flex;flex-direction:column;padding:0}.el-drawer__rtl{border-top-left-radius:var(--el-drawer-border-radius);border-bottom-left-radius:var(--el-drawer-border-radius)}.el-drawer__ltr{border-top-right-radius:var(--el-drawer-border-radius);border-bottom-right-radius:var(--el-drawer-border-radius)}.el-drawer__ttb{border-bottom-left-radius:var(--el-drawer-border-radius);border-bottom-right-radius:var(--el-drawer-border-radius)}.el-drawer__btt{border-top-left-radius:var(--el-drawer-border-radius);border-top-right-radius:var(--el-drawer-border-radius)}.el-drawer__scrollbar{padding-left:var(--el-drawer-padding-x);padding-right:var(--el-drawer-padding-x)}.el-drawer__rtl.el-drawer__small,.el-drawer__ltr.el-drawer__small{max-width:380px}.el-drawer__rtl.el-drawer__large,.el-drawer__ltr.el-drawer__large{max-width:680px}.el-drawer__rtl.el-drawer__default,.el-drawer__ltr.el-drawer__default{max-width:450px}.el-drawer__ttb.el-drawer__small,.el-drawer__btt.el-drawer__small{max-height:380px}.el-drawer__ttb.el-drawer__large,.el-drawer__btt.el-drawer__large{max-height:680px}.el-drawer__ttb.el-drawer__default,.el-drawer__btt.el-drawer__default{max-height:450px}.el-drawer__header{z-index:2;flex-shrink:0;padding-top:var(--el-drawer-padding-y);padding-bottom:var(--el-drawer-padding-y);padding-left:var(--el-drawer-padding-x);padding-right:var(--el-drawer-padding-y);margin-bottom:0}.el-drawer__header-shadow{box-shadow:0 2px 12px #0000001a}.el-drawer__footer{flex-shrink:0;padding-top:var(--el-drawer-padding-y);padding-bottom:var(--el-drawer-padding-y);padding-left:var(--el-drawer-padding-x);padding-right:var(--el-drawer-padding-y)}.el-drawer__footer-shadow{box-shadow:0 -1px 6px #0000001a}.el-drawer__body{display:flex;flex-grow:1;flex-direction:column;padding:0;overflow:hidden}.el-drawer__body .el-scrollbar{flex-grow:1;flex-direction:column;display:flex;overflow:hidden}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hinen/pro-element-plus",
3
- "version": "1.8.4",
3
+ "version": "1.8.5",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",