@lingshugroup/web-plus 1.0.8 → 1.0.10

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 (86) hide show
  1. package/README.md +5 -1
  2. package/lib/index.css +1 -1
  3. package/lib/index.css.br +0 -0
  4. package/lib/index.css.gz +0 -0
  5. package/lib/node_modules/.pnpm/@vueuse_core@9.13.0_vue@3.4.38_typescript@5.5.4_/node_modules/@vueuse/core/index/index.js +9 -9
  6. package/lib/node_modules/.pnpm/@vueuse_core@9.13.0_vue@3.4.38_typescript@5.5.4_/node_modules/@vueuse/core/index/index.js.br +0 -0
  7. package/lib/node_modules/.pnpm/@vueuse_core@9.13.0_vue@3.4.38_typescript@5.5.4_/node_modules/@vueuse/core/index/index.js.gz +0 -0
  8. package/lib/node_modules/.pnpm/@vueuse_shared@9.13.0_vue@3.4.38_typescript@5.5.4_/node_modules/@vueuse/shared/index/index.js +6 -6
  9. package/lib/node_modules/.pnpm/@vueuse_shared@9.13.0_vue@3.4.38_typescript@5.5.4_/node_modules/@vueuse/shared/index/index.js.br +0 -0
  10. package/lib/node_modules/.pnpm/@vueuse_shared@9.13.0_vue@3.4.38_typescript@5.5.4_/node_modules/@vueuse/shared/index/index.js.gz +0 -0
  11. package/lib/node_modules/.pnpm/element-plus@2.8.1_vue@3.4.38_typescript@5.5.4_/node_modules/element-plus/es/utils/dom/style/index.js +3 -3
  12. package/lib/node_modules/.pnpm/element-plus@2.8.1_vue@3.4.38_typescript@5.5.4_/node_modules/element-plus/es/utils/dom/style/index.js.br +0 -0
  13. package/lib/node_modules/.pnpm/element-plus@2.8.1_vue@3.4.38_typescript@5.5.4_/node_modules/element-plus/es/utils/dom/style/index.js.gz +0 -0
  14. package/lib/packages/ls-components/components/_directives/auth/index.cjs +1 -1
  15. package/lib/packages/ls-components/components/_directives/auth/index.js +25 -19
  16. package/lib/packages/ls-components/components/_directives/auth/index.js.br +0 -0
  17. package/lib/packages/ls-components/components/_directives/auth/index.js.gz +0 -0
  18. package/lib/packages/ls-components/components/_hooks/useOptionHook/index.cjs +1 -1
  19. package/lib/packages/ls-components/components/_hooks/useOptionHook/index.js +31 -26
  20. package/lib/packages/ls-components/components/_hooks/useOptionHook/index.js.br +0 -0
  21. package/lib/packages/ls-components/components/_hooks/useOptionHook/index.js.gz +0 -0
  22. package/lib/packages/ls-components/components/_hooks/useTableListHook/index.cjs +1 -1
  23. package/lib/packages/ls-components/components/_hooks/useTableListHook/index.js +42 -40
  24. package/lib/packages/ls-components/components/_hooks/useTableListHook/index.js.br +0 -0
  25. package/lib/packages/ls-components/components/_hooks/useTableListHook/index.js.gz +0 -0
  26. package/lib/packages/ls-components/components/button/Button.vue/index.cjs +1 -1
  27. package/lib/packages/ls-components/components/button/Button.vue/index.js +1 -1
  28. package/lib/packages/ls-components/components/button/Button.vue/index2.cjs +1 -1
  29. package/lib/packages/ls-components/components/button/Button.vue/index2.js +26 -24
  30. package/lib/packages/ls-components/components/button/Button.vue/index2.js.br +0 -0
  31. package/lib/packages/ls-components/components/button/Button.vue/index2.js.gz +0 -0
  32. package/lib/packages/ls-components/components/dialog/Index.vue/index.cjs +1 -1
  33. package/lib/packages/ls-components/components/dialog/Index.vue/index.js +2 -2
  34. package/lib/packages/ls-components/components/dialog/Index.vue/index2.cjs +1 -1
  35. package/lib/packages/ls-components/components/dialog/Index.vue/index2.js +43 -38
  36. package/lib/packages/ls-components/components/dialog/Index.vue/index2.js.br +0 -0
  37. package/lib/packages/ls-components/components/dialog/Index.vue/index2.js.gz +0 -0
  38. package/lib/packages/ls-components/components/dialog/types/index.cjs +1 -1
  39. package/lib/packages/ls-components/components/dialog/types/index.js +8 -4
  40. package/lib/packages/ls-components/components/form/Form.vue/index.cjs +1 -1
  41. package/lib/packages/ls-components/components/form/Form.vue/index.js +2 -2
  42. package/lib/packages/ls-components/components/form/Form.vue/index2.cjs +1 -1
  43. package/lib/packages/ls-components/components/form/Form.vue/index2.js +53 -51
  44. package/lib/packages/ls-components/components/form/Form.vue/index2.js.br +0 -0
  45. package/lib/packages/ls-components/components/form/Form.vue/index2.js.gz +0 -0
  46. package/lib/packages/ls-components/components/form/FormItem.vue/index.cjs +1 -1
  47. package/lib/packages/ls-components/components/form/FormItem.vue/index.js +2 -2
  48. package/lib/packages/ls-components/components/form/FormItem.vue/index2.cjs +1 -1
  49. package/lib/packages/ls-components/components/form/FormItem.vue/index2.js +218 -180
  50. package/lib/packages/ls-components/components/form/FormItem.vue/index2.js.br +0 -0
  51. package/lib/packages/ls-components/components/form/FormItem.vue/index2.js.gz +0 -0
  52. package/lib/packages/ls-components/components/list/List.vue/index.cjs +1 -1
  53. package/lib/packages/ls-components/components/list/List.vue/index.js +1 -1
  54. package/lib/packages/ls-components/components/list/List.vue/index2.cjs +1 -1
  55. package/lib/packages/ls-components/components/list/List.vue/index2.js +184 -178
  56. package/lib/packages/ls-components/components/list/List.vue/index2.js.br +0 -0
  57. package/lib/packages/ls-components/components/list/List.vue/index2.js.gz +0 -0
  58. package/lib/packages/ls-components/components/list/types/index.cjs +1 -1
  59. package/lib/packages/ls-components/components/list/types/index.js +5 -0
  60. package/lib/packages/ls-components/components/list/types/index.js.br +0 -0
  61. package/lib/packages/ls-components/components/list/types/index.js.gz +0 -0
  62. package/lib/packages/ls-components/components/preview/Index.vue/index.cjs +1 -1
  63. package/lib/packages/ls-components/components/preview/Index.vue/index.js +1 -1
  64. package/lib/packages/ls-components/components/preview/Index.vue/index2.cjs +1 -1
  65. package/lib/packages/ls-components/components/preview/Index.vue/index2.js +58 -55
  66. package/lib/packages/ls-components/components/preview/Index.vue/index2.js.br +0 -0
  67. package/lib/packages/ls-components/components/preview/Index.vue/index2.js.gz +0 -0
  68. package/lib/packages/ls-components/components/table/Table.vue/index.cjs +1 -1
  69. package/lib/packages/ls-components/components/table/Table.vue/index.js +2 -2
  70. package/lib/packages/ls-components/components/table/Table.vue/index2.cjs +1 -1
  71. package/lib/packages/ls-components/components/table/Table.vue/index2.js +139 -132
  72. package/lib/packages/ls-components/components/table/Table.vue/index2.js.br +0 -0
  73. package/lib/packages/ls-components/components/table/Table.vue/index2.js.gz +0 -0
  74. package/lib/packages/ls-components/components/tree/Index.vue/index.cjs +1 -1
  75. package/lib/packages/ls-components/components/tree/Index.vue/index.js +2 -2
  76. package/lib/packages/ls-components/components/tree/Index.vue/index2.cjs +1 -1
  77. package/lib/packages/ls-components/components/tree/Index.vue/index2.js +15 -17
  78. package/lib/packages/ls-components/components/tree/Index.vue/index2.js.br +0 -0
  79. package/lib/packages/ls-components/components/tree/Index.vue/index2.js.gz +0 -0
  80. package/lib/packages/ls-components/components/upload/Index.vue/index.cjs +1 -1
  81. package/lib/packages/ls-components/components/upload/Index.vue/index.js +2 -2
  82. package/lib/packages/ls-components/components/upload/Index.vue/index2.cjs +1 -1
  83. package/lib/packages/ls-components/components/upload/Index.vue/index2.js +99 -97
  84. package/lib/packages/ls-components/components/upload/Index.vue/index2.js.br +0 -0
  85. package/lib/packages/ls-components/components/upload/Index.vue/index2.js.gz +0 -0
  86. package/package.json +1 -1
package/lib/index.css.br CHANGED
Binary file
package/lib/index.css.gz CHANGED
Binary file
@@ -1,6 +1,6 @@
1
1
  var M = Object.defineProperty;
2
2
  var a = (e, n) => M(e, "name", { value: n, configurable: !0 });
3
- import { isString as V, noop as T, resolveUnref as I, tryOnScopeDispose as E, isClient as B, isIOS as D, tryOnMounted as z, identity as J, isFunction as U, isDef as G } from "../../../../../@vueuse_shared@9.13.0_vue@3.4.38_typescript@5.5.4_/node_modules/@vueuse/shared/index/index.js";
3
+ import { isString as V, noop as T, resolveUnref as I, tryOnScopeDispose as E, isIOS as B, tryOnMounted as D, identity as z, isClient as J, isFunction as U, isDef as G } from "../../../../../@vueuse_shared@9.13.0_vue@3.4.38_typescript@5.5.4_/node_modules/@vueuse/shared/index/index.js";
4
4
  import { createFilterWrapper as me, debounceFilter as be, debouncedRef as _e, debouncedRef as ye, throttleFilter as ge, debouncedRef as Ie, useDebounceFn as he, useThrottleFn as we, useTimeoutFn as Ee } from "../../../../../@vueuse_shared@9.13.0_vue@3.4.38_typescript@5.5.4_/node_modules/@vueuse/shared/index/index.js";
5
5
  import { watch as _, ref as P, computed as W, getCurrentInstance as H } from "vue";
6
6
  function m(e) {
@@ -9,7 +9,7 @@ function m(e) {
9
9
  return (n = r == null ? void 0 : r.$el) != null ? n : r;
10
10
  }
11
11
  a(m, "unrefElement");
12
- const y = B ? window : void 0;
12
+ const y = J ? window : void 0;
13
13
  function w(...e) {
14
14
  let n, r, t, l;
15
15
  if (V(e[0]) || Array.isArray(e[0]) ? ([r, t, l] = e, n = y) : [n, r, t, l] = e, !n)
@@ -30,7 +30,7 @@ function le(e, n, r = {}) {
30
30
  const { window: t = y, ignore: l = [], capture: f = !0, detectIframe: s = !1 } = r;
31
31
  if (!t)
32
32
  return;
33
- D && !N && (N = !0, Array.from(t.document.body.children).forEach((o) => o.addEventListener("click", T)));
33
+ B && !N && (N = !0, Array.from(t.document.body.children).forEach((o) => o.addEventListener("click", T)));
34
34
  let i = !0;
35
35
  const d = /* @__PURE__ */ a((o) => l.some((u) => {
36
36
  if (typeof u == "string")
@@ -65,7 +65,7 @@ function le(e, n, r = {}) {
65
65
  a(le, "onClickOutside");
66
66
  function L(e, n = !1) {
67
67
  const r = P(), t = /* @__PURE__ */ a(() => r.value = !!e(), "update");
68
- return t(), z(t, n), r;
68
+ return t(), D(t, n), r;
69
69
  }
70
70
  a(L, "useSupported");
71
71
  function k(e) {
@@ -180,7 +180,7 @@ const se = {
180
180
  easeInOutBack: [0.68, -0.6, 0.32, 1.6]
181
181
  };
182
182
  oe({
183
- linear: J
183
+ linear: z
184
184
  }, se);
185
185
  function pe(e, n, r, t = {}) {
186
186
  var l, f, s;
@@ -217,18 +217,18 @@ export {
217
217
  be as debounceFilter,
218
218
  _e as debouncedRef,
219
219
  y as defaultWindow,
220
- J as identity,
221
- B as isClient,
220
+ z as identity,
221
+ J as isClient,
222
222
  G as isDef,
223
223
  U as isFunction,
224
- D as isIOS,
224
+ B as isIOS,
225
225
  V as isString,
226
226
  T as noop,
227
227
  le as onClickOutside,
228
228
  ye as refDebounced,
229
229
  I as resolveUnref,
230
230
  ge as throttleFilter,
231
- z as tryOnMounted,
231
+ D as tryOnMounted,
232
232
  E as tryOnScopeDispose,
233
233
  m as unrefElement,
234
234
  ce as useCssVar,
@@ -1,11 +1,11 @@
1
1
  var F = Object.defineProperty;
2
2
  var t = (e, i) => F(e, "name", { value: i, configurable: !0 });
3
- import { ref as h, watch as b, unref as S, getCurrentScope as C, onScopeDispose as O, readonly as j, getCurrentInstance as A, onMounted as M, nextTick as R } from "vue";
3
+ import { unref as b, getCurrentScope as S, onScopeDispose as C, ref as h, watch as O, getCurrentInstance as j, onMounted as A, nextTick as M, readonly as R } from "vue";
4
4
  var g;
5
5
  const y = typeof window < "u", V = /* @__PURE__ */ t((e) => typeof e < "u", "isDef"), k = /* @__PURE__ */ t((e) => typeof e == "function", "isFunction"), q = /* @__PURE__ */ t((e) => typeof e == "string", "isString"), m = /* @__PURE__ */ t(() => {
6
6
  }, "noop"), z = y && ((g = window == null ? void 0 : window.navigator) == null ? void 0 : g.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
7
7
  function p(e) {
8
- return typeof e == "function" ? e() : S(e);
8
+ return typeof e == "function" ? e() : b(e);
9
9
  }
10
10
  t(p, "resolveUnref");
11
11
  function P(e, i) {
@@ -54,7 +54,7 @@ function B(e) {
54
54
  }
55
55
  t(B, "identity");
56
56
  function _(e) {
57
- return C() ? (O(e), !0) : !1;
57
+ return S() ? (C(e), !0) : !1;
58
58
  }
59
59
  t(_, "tryOnScopeDispose");
60
60
  function E(e, i = 200, u = {}) {
@@ -65,7 +65,7 @@ function G(e, i = 200, u = {}) {
65
65
  const n = h(e.value), r = E(() => {
66
66
  n.value = e.value;
67
67
  }, i, u);
68
- return b(e, () => r()), n;
68
+ return O(e, () => r()), n;
69
69
  }
70
70
  t(G, "refDebounced");
71
71
  function H(e, i = 200, u = !1, n = !0, r = !1) {
@@ -73,7 +73,7 @@ function H(e, i = 200, u = !1, n = !0, r = !1) {
73
73
  }
74
74
  t(H, "useThrottleFn");
75
75
  function J(e, i = !0) {
76
- A() ? M(e) : i ? e() : R(e);
76
+ j() ? A(e) : i ? e() : M(e);
77
77
  }
78
78
  t(J, "tryOnMounted");
79
79
  function K(e, i, u = {}) {
@@ -95,7 +95,7 @@ function K(e, i, u = {}) {
95
95
  }, p(i));
96
96
  }
97
97
  return t(l, "start"), n && (r.value = !0, y && l()), _(s), {
98
- isPending: j(r),
98
+ isPending: R(r),
99
99
  start: l,
100
100
  stop: s
101
101
  };
@@ -2,7 +2,7 @@ var u = Object.defineProperty;
2
2
  var s = (t, r) => u(t, "name", { value: r, configurable: !0 });
3
3
  import { isNumber as c, isStringNumber as m } from "../../types/index.js";
4
4
  import { debugWarn as f } from "../../error/index.js";
5
- import { camelize as d, isString as l } from "../../../../../../../@vue_shared@3.4.38/node_modules/@vue/shared/dist/shared.esm-bundler/index.js";
5
+ import { isString as d, camelize as l } from "../../../../../../../@vue_shared@3.4.38/node_modules/@vue/shared/dist/shared.esm-bundler/index.js";
6
6
  import { isClient as p } from "../../../../../../../@vueuse_shared@9.13.0_vue@3.4.38_typescript@5.5.4_/node_modules/@vueuse/shared/index/index.js";
7
7
  const y = "utils/dom/style", a = /* @__PURE__ */ s((t = "") => t.split(" ").filter((r) => !!r.trim()), "classNameToArray"), w = /* @__PURE__ */ s((t, r) => {
8
8
  if (!t || !r)
@@ -18,7 +18,7 @@ const y = "utils/dom/style", a = /* @__PURE__ */ s((t = "") => t.split(" ").filt
18
18
  var o;
19
19
  if (!p || !t || !r)
20
20
  return "";
21
- let i = d(r);
21
+ let i = l(r);
22
22
  i === "float" && (i = "cssFloat");
23
23
  try {
24
24
  const n = t.style[i];
@@ -35,7 +35,7 @@ function E(t, r = "px") {
35
35
  return "";
36
36
  if (c(t) || m(t))
37
37
  return `${t}${r}`;
38
- if (l(t))
38
+ if (d(t))
39
39
  return t;
40
40
  f(y, "binding value must be a string or number");
41
41
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c={permissions:[],mounted(e,n){const t=n.dir.permissions,{code:r,show:s}=n.value,a=document.createComment("v-auth"),m=e.getAttribute("aria-labelledby");if(e._auths={comment:a,parentNode:e.parentNode},m){const d=document.createComment("v-auth2");e._auths.elTabId=m,e._auths.comment2=d}(r&&t&&!t.includes(r)||typeof s<"u"&&!s)&&(e.parentNode.insertBefore(a,e),e.remove())},updated(e,n){const t=n.dir.permissions,{code:r,show:s}=n.value,{comment:a,parentNode:m,elTabId:d}=e._auths;if(r&&t&&!t.includes(r)||typeof s<"u"&&!s){if(d){const{comment2:i}=e._auths,o=m.parentNode.querySelector(`#${d}`);o&&(e._auths.tabItemNode=o,e._auths.tabItemParentNode=o.parentNode,o.parentNode.insertBefore(i,o),o.remove())}e.parentNode&&(m.insertBefore(a,e),e.remove())}else{if(d){const{comment2:i,tabItemNode:o,tabItemParentNode:u}=e._auths;i.parentNode&&o&&u&&(u.insertBefore(o,i),i.remove())}a.parentNode&&(m.insertBefore(e,a),a.remove())}},unmounted(e){const{comment:n,comment2:t,tabItemNode:r,tabItemParentNode:s}=e._auths;n.parentNode&&n.remove(),t&&t.parentNode&&t.remove(),r&&r.remove(),s&&s.remove()}};exports.default=c;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c={permissions:[],mounted(e,r){const o=r.dir.permissions,{code:a,show:s}=r.value,d=document.createComment("v-auth"),m=e.getAttribute("aria-labelledby");if(e._auths={comment:d,parentNode:e.parentNode},m){const t=document.createComment("v-auth2");e._auths.elTabId=m,e._auths.comment2=t}if(a&&o&&!o.includes(a)||typeof s<"u"&&!s){if(m){const t=e.parentNode.parentNode.querySelector(`#${m}`);t&&(e._auths.tabItemNode=t,e._auths.tabItemParentNode=t.parentNode,t.parentNode.insertBefore(e._auths.comment2,t),t.remove())}e.parentNode.insertBefore(d,e),e.remove()}},updated(e,r){const o=r.dir.permissions,{code:a,show:s}=r.value,{comment:d,parentNode:m,elTabId:t}=e._auths;if(a&&o&&!o.includes(a)||typeof s<"u"&&!s){if(t){const{comment2:i}=e._auths,n=m.parentNode.querySelector(`#${t}`);n&&(e._auths.tabItemNode=n,e._auths.tabItemParentNode=n.parentNode,n.parentNode.insertBefore(i,n),n.remove())}e.parentNode&&(m.insertBefore(d,e),e.remove())}else{if(t){const{comment2:i,tabItemNode:n,tabItemParentNode:u}=e._auths;i.parentNode&&n&&u&&(u.insertBefore(n,i),i.remove())}d.parentNode&&(m.insertBefore(e,d),d.remove())}},unmounted(e){const{comment:r,comment2:o,tabItemNode:a,tabItemParentNode:s}=e._auths;r.parentNode&&r.remove(),o&&o.parentNode&&o.remove(),a&&a.remove(),s&&s.remove()}};exports.default=c;
@@ -1,32 +1,38 @@
1
1
  const u = {
2
2
  permissions: [],
3
- mounted(e, n) {
4
- const t = n.dir.permissions, { code: r, show: s } = n.value, a = document.createComment("v-auth"), m = e.getAttribute("aria-labelledby");
5
- if (e._auths = { comment: a, parentNode: e.parentNode }, m) {
6
- const d = document.createComment("v-auth2");
7
- e._auths.elTabId = m, e._auths.comment2 = d;
3
+ mounted(e, a) {
4
+ const o = a.dir.permissions, { code: r, show: s } = a.value, d = document.createComment("v-auth"), m = e.getAttribute("aria-labelledby");
5
+ if (e._auths = { comment: d, parentNode: e.parentNode }, m) {
6
+ const t = document.createComment("v-auth2");
7
+ e._auths.elTabId = m, e._auths.comment2 = t;
8
+ }
9
+ if (r && o && !o.includes(r) || typeof s < "u" && !s) {
10
+ if (m) {
11
+ const t = e.parentNode.parentNode.querySelector(`#${m}`);
12
+ t && (e._auths.tabItemNode = t, e._auths.tabItemParentNode = t.parentNode, t.parentNode.insertBefore(e._auths.comment2, t), t.remove());
13
+ }
14
+ e.parentNode.insertBefore(d, e), e.remove();
8
15
  }
9
- (r && t && !t.includes(r) || typeof s < "u" && !s) && (e.parentNode.insertBefore(a, e), e.remove());
10
16
  },
11
- updated(e, n) {
12
- const t = n.dir.permissions, { code: r, show: s } = n.value, { comment: a, parentNode: m, elTabId: d } = e._auths;
13
- if (r && t && !t.includes(r) || typeof s < "u" && !s) {
14
- if (d) {
15
- const { comment2: i } = e._auths, o = m.parentNode.querySelector(`#${d}`);
16
- o && (e._auths.tabItemNode = o, e._auths.tabItemParentNode = o.parentNode, o.parentNode.insertBefore(i, o), o.remove());
17
+ updated(e, a) {
18
+ const o = a.dir.permissions, { code: r, show: s } = a.value, { comment: d, parentNode: m, elTabId: t } = e._auths;
19
+ if (r && o && !o.includes(r) || typeof s < "u" && !s) {
20
+ if (t) {
21
+ const { comment2: i } = e._auths, n = m.parentNode.querySelector(`#${t}`);
22
+ n && (e._auths.tabItemNode = n, e._auths.tabItemParentNode = n.parentNode, n.parentNode.insertBefore(i, n), n.remove());
17
23
  }
18
- e.parentNode && (m.insertBefore(a, e), e.remove());
24
+ e.parentNode && (m.insertBefore(d, e), e.remove());
19
25
  } else {
20
- if (d) {
21
- const { comment2: i, tabItemNode: o, tabItemParentNode: c } = e._auths;
22
- i.parentNode && o && c && (c.insertBefore(o, i), i.remove());
26
+ if (t) {
27
+ const { comment2: i, tabItemNode: n, tabItemParentNode: c } = e._auths;
28
+ i.parentNode && n && c && (c.insertBefore(n, i), i.remove());
23
29
  }
24
- a.parentNode && (m.insertBefore(e, a), a.remove());
30
+ d.parentNode && (m.insertBefore(e, d), d.remove());
25
31
  }
26
32
  },
27
33
  unmounted(e) {
28
- const { comment: n, comment2: t, tabItemNode: r, tabItemParentNode: s } = e._auths;
29
- n.parentNode && n.remove(), t && t.parentNode && t.remove(), r && r.remove(), s && s.remove();
34
+ const { comment: a, comment2: o, tabItemNode: r, tabItemParentNode: s } = e._auths;
35
+ a.parentNode && a.remove(), o && o.parentNode && o.remove(), r && r.remove(), s && s.remove();
30
36
  }
31
37
  };
32
38
  export {
@@ -1 +1 @@
1
- "use strict";var p=Object.defineProperty;var c=(o,l)=>p(o,"name",{value:l,configurable:!0});Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const d=require("lodash"),f=require("vue");function O(){const o={allOption:[],options:[],maps:{}},l=c(async(n,e,i)=>{const{labelKey:a="name",valueKey:r="id"}=e||{};if(n instanceof Function){let t=[];e?t=(await n(e)).records:t=await n(),o.options=(t||[]).map(s=>{const u=s[r],v=s[a];return o.maps[u]={label:v},{value:u,label:v}}),o.allOption=(i||[{label:"全部",value:""}]).concat(o.options)}return o},"getSelOption");return{getSelOption:l,remoteSearchSelOption:c(async(n,e,i,a,r)=>{const t=f.ref([]);if(!r&&a){e[i]=a;const{options:u}=await l(n,e);t.value=u,delete e[i]}const{options:s}=await l(n,e);return t.value=d.merge(t.value,s),t.value},"remoteSearchSelOption")}}c(O,"useOptionHook");exports.default=O;
1
+ "use strict";var p=Object.defineProperty;var u=(n,a)=>p(n,"name",{value:a,configurable:!0});Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const d=require("lodash"),f=require("vue");function y(){const n={allOption:[],options:[],maps:{}},a=u(async(l,e,s)=>{const{labelKey:i="name",valueKey:c="id"}=e||{};if(l instanceof Function){let t=[];if(e){const o=d.merge({},e);delete o.labelKey,delete o.valueKey,t=(await l(o)).records}else t=await l();n.options=(t||[]).map(o=>{const r=o[c],v=o[i];return n.maps[r]={label:v},{value:r,label:v}}),n.allOption=(s||[{label:"全部",value:""}]).concat(n.options)}return n},"getSelOption");return{getSelOption:a,remoteSearchSelOption:u(async(l,e,s,i,c)=>{const t=f.ref([]);if(!c&&i){e[s]=i;const{options:r}=await a(l,e);t.value=r,delete e[s]}const{options:o}=await a(l,e);return t.value=d.merge(t.value,o),t.value},"remoteSearchSelOption")}}u(y,"useOptionHook");exports.default=y;
@@ -1,43 +1,48 @@
1
- var f = Object.defineProperty;
2
- var r = (e, l) => f(e, "name", { value: l, configurable: !0 });
3
- import { merge as v } from "lodash";
4
- import { ref as O } from "vue";
5
- function y() {
6
- const e = {
1
+ var v = Object.defineProperty;
2
+ var r = (n, a) => v(n, "name", { value: a, configurable: !0 });
3
+ import { merge as f } from "lodash";
4
+ import { ref as m } from "vue";
5
+ function b() {
6
+ const n = {
7
7
  allOption: [],
8
8
  options: [],
9
9
  maps: {}
10
- }, l = /* @__PURE__ */ r(async (n, t, a) => {
11
- const { labelKey: i = "name", valueKey: u = "id" } = t || {};
12
- if (n instanceof Function) {
13
- let o = [];
14
- t ? o = (await n(t)).records : o = await n(), e.options = (o || []).map((s) => {
15
- const c = s[u], p = s[i];
16
- return e.maps[c] = {
10
+ }, a = /* @__PURE__ */ r(async (l, e, i) => {
11
+ const { labelKey: s = "name", valueKey: u = "id" } = e || {};
12
+ if (l instanceof Function) {
13
+ let t = [];
14
+ if (e) {
15
+ const o = f({}, e);
16
+ delete o.labelKey, delete o.valueKey, t = (await l(o)).records;
17
+ } else
18
+ t = await l();
19
+ n.options = (t || []).map((o) => {
20
+ const c = o[u], p = o[s];
21
+ return n.maps[c] = {
17
22
  label: p
18
23
  }, {
19
24
  value: c,
20
25
  label: p
21
26
  };
22
- }), e.allOption = (a || [{ label: "全部", value: "" }]).concat(e.options);
27
+ }), n.allOption = (i || [{ label: "全部", value: "" }]).concat(n.options);
23
28
  }
24
- return e;
29
+ return n;
25
30
  }, "getSelOption");
26
31
  return {
27
- getSelOption: l,
28
- remoteSearchSelOption: /* @__PURE__ */ r(async (n, t, a, i, u) => {
29
- const o = O([]);
30
- if (!u && i) {
31
- t[a] = i;
32
- const { options: c } = await l(n, t);
33
- o.value = c, delete t[a];
32
+ getSelOption: a,
33
+ remoteSearchSelOption: /* @__PURE__ */ r(async (l, e, i, s, u) => {
34
+ const t = m([]);
35
+ if (!u && s) {
36
+ e[i] = s;
37
+ const { options: c } = await a(l, e);
38
+ t.value = c, delete e[i];
34
39
  }
35
- const { options: s } = await l(n, t);
36
- return o.value = v(o.value, s), o.value;
40
+ const { options: o } = await a(l, e);
41
+ return t.value = f(t.value, o), t.value;
37
42
  }, "remoteSearchSelOption")
38
43
  };
39
44
  }
40
- r(y, "useOptionHook");
45
+ r(b, "useOptionHook");
41
46
  export {
42
- y as default
47
+ b as default
43
48
  };
@@ -1 +1 @@
1
- "use strict";var x=Object.defineProperty;var t=(u,r)=>x(u,"name",{value:r,configurable:!0});Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const A=require("../useDelayLoader/index.cjs"),l=require("vue");function E(u,r,D){const{currentPageProp:d=1,pageSizeProp:g=10,isDelayLoader:P=!1,isFullDose:y=!1,autoFetch:F=!0,hasPanigation:m=!0,callbackAfter:h,dealParams:z,dealData:S}=D||{},b=l.ref(!0),c=l.ref(!1),n=l.ref(d),i=l.ref(g),N=[10,20,30,50],o=l.ref([]),T=l.ref([]),s=l.ref(0),k=t(e=>{if(m){if(y){const a=e||[];o.value=a||[],T.value=a,s.value=Number(a.length)}else if(S&&typeof S=="function"){const{data:a,total:v=0}=S(e);o.value=a||[],s.value=Number(v||0)}else{const{records:a=[],total:v}=e||{};o.value=a||[],s.value=Number(v)}h&&h(e,{tableData:o,total:s})}else o.value=e,h&&h(e,{})},"disposeResponseData"),C=t(()=>new Promise((e,a)=>{if(!u){a(new Error("requestFn is required"));return}const v=(typeof r=="function"?r():r)||{};let w={currentPage:m?n.value:null,pageSize:m?i.value:null,...v};z&&(w=z(w)),u(w).then(p=>{P||k(p),e(p)}).catch(p=>{a(p)}).finally(()=>{c.value=!1,setTimeout(()=>{b.value=!1},400)})}),"requestData"),L=A.default(2e3,e=>{k(e)}),f=t((e=!0,a=!1)=>{if(u&&!(e&&c.value)){if(e&&(c.value=!0),a&&(b.value=!0),P){L.loadData(C);return}C().finally(()=>{c.value=!1})}},"loadData");l.watch(n,e=>{M(e)}),l.watch(i,e=>{R(e)});const M=t(e=>{n.value=e,y?q(o,T,s,n,i):f()},"handleCurrentPageChange"),R=t(e=>{i.value=e,n.value=1,y?q(o,T,s,n,i):f()},"handleSizeChange"),_=t(()=>{n.value=1,l.nextTick(()=>{f()})},"handleReset");return l.onMounted(()=>{F&&(b.value=!0,f())}),{isFirst:b,loading:P?L.loading:c,pageSize:i,pageSizes:N,currentPage:n,tableData:o,total:s,handleCurrentPageChange:M,handleSizeChange:R,handleReset:_,loadData:f}}t(E,"useTableListHook");function q(u,r,D,d,g){u.value=r.value.slice((d.value-1)*g.value,d.value*g.value),D.value=u.value.length}t(q,"sliceTableData");exports.default=E;
1
+ "use strict";var E=Object.defineProperty;var t=(u,r)=>E(u,"name",{value:r,configurable:!0});Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const H=require("../useDelayLoader/index.cjs"),l=require("vue");function O(u,r,P){const{currentPageProp:d=1,pageSizeProp:g=10,pageSizesProp:F=[10,20,30,40,50,100],isDelayLoader:y=!1,delayLoaderTime:N=300,isFullDose:D=!1,autoFetch:_=!0,hasPanigation:m=!0,dealParams:w,dealData:S,callbackAfter:h}=P||{},p=l.ref(!0),c=l.ref(!1),n=l.ref(d),i=l.ref(g),x=l.ref(F),o=l.ref([]),T=l.ref([]),s=l.ref(0),L=t(e=>{if(m){if(D){const a=e||[];o.value=a||[],T.value=a,s.value=Number(a.length)}else if(S&&typeof S=="function"){const{data:a,total:v=0}=S(e);o.value=a||[],s.value=Number(v||0)}else{const{records:a=[],total:v}=e||{};o.value=a||[],s.value=Number(v)}h&&h(e,{tableData:o,total:s})}else o.value=e,h&&h(e,{})},"disposeResponseData"),k=t(()=>new Promise((e,a)=>{if(!u){a(new Error("requestFn is required"));return}const v=(typeof r=="function"?r():r)||{};let z={currentPage:m?n.value:null,pageSize:m?i.value:null,...v};w&&(z=w(z)),u(z).then(b=>{y||L(b),e(b)}).catch(b=>{a(b)}).finally(()=>{c.value=!1,setTimeout(()=>{p.value=!1},400)})}),"requestData"),C=H.default(N||300,e=>{L(e)}),f=t((e=!0,a=!1)=>{if(u&&!(e&&c.value)){if(e&&(c.value=!0),a&&(p.value=!0),y){C.loadData(k);return}k().finally(()=>{c.value=!1})}},"loadData");l.watch(n,e=>{M(e)}),l.watch(i,e=>{R(e)});const M=t(e=>{n.value=e,D?q(o,T,s,n,i):f()},"handleCurrentPageChange"),R=t(e=>{i.value=e,n.value=1,D?q(o,T,s,n,i):f()},"handleSizeChange"),A=t(()=>{n.value=1,l.nextTick(()=>{f()})},"handleReset");return l.onMounted(()=>{_&&(p.value=!0,f())}),{isFirst:p,loading:y?C.loading:c,pageSize:i,pageSizes:x,currentPage:n,tableData:o,total:s,handleCurrentPageChange:M,handleSizeChange:R,handleReset:A,loadData:f}}t(O,"useTableListHook");function q(u,r,P,d,g){u.value=r.value.slice((d.value-1)*g.value,d.value*g.value),P.value=u.value.length}t(q,"sliceTableData");exports.default=O;
@@ -1,46 +1,48 @@
1
- var M = Object.defineProperty;
2
- var l = (t, o) => M(t, "name", { value: o, configurable: !0 });
3
- import q from "../useDelayLoader/index.js";
4
- import { ref as i, watch as F, onMounted as B, nextTick as G } from "vue";
5
- function O(t, o, D) {
1
+ var B = Object.defineProperty;
2
+ var l = (t, s) => B(t, "name", { value: s, configurable: !0 });
3
+ import G from "../useDelayLoader/index.js";
4
+ import { ref as o, watch as F, onMounted as I, nextTick as J } from "vue";
5
+ function U(t, s, D) {
6
6
  const {
7
7
  currentPageProp: d = 1,
8
8
  pageSizeProp: g = 10,
9
- isDelayLoader: b = !1,
10
- isFullDose: P = !1,
11
- autoFetch: A = !0,
9
+ pageSizesProp: A = [10, 20, 30, 40, 50, 100],
10
+ isDelayLoader: P = !1,
11
+ delayLoaderTime: E = 300,
12
+ isFullDose: b = !1,
13
+ autoFetch: H = !0,
12
14
  hasPanigation: y = !0,
13
- callbackAfter: p,
14
- dealParams: k,
15
- dealData: S
16
- } = D || {}, h = i(!0), c = i(!1), u = i(d), r = i(g), E = [10, 20, 30, 50], n = i([]), z = i([]), s = i(0), w = /* @__PURE__ */ l((e) => {
15
+ dealParams: L,
16
+ dealData: S,
17
+ callbackAfter: p
18
+ } = D || {}, h = o(!0), c = o(!1), u = o(d), r = o(g), M = o(A), n = o([]), z = o([]), i = o(0), k = /* @__PURE__ */ l((e) => {
17
19
  if (y) {
18
- if (P) {
20
+ if (b) {
19
21
  const a = e || [];
20
- n.value = a || [], z.value = a, s.value = Number(a.length);
22
+ n.value = a || [], z.value = a, i.value = Number(a.length);
21
23
  } else if (S && typeof S == "function") {
22
24
  const { data: a, total: v = 0 } = S(e);
23
- n.value = a || [], s.value = Number(v || 0);
25
+ n.value = a || [], i.value = Number(v || 0);
24
26
  } else {
25
27
  const { records: a = [], total: v } = e || {};
26
- n.value = a || [], s.value = Number(v);
28
+ n.value = a || [], i.value = Number(v);
27
29
  }
28
- p && p(e, { tableData: n, total: s });
30
+ p && p(e, { tableData: n, total: i });
29
31
  } else
30
32
  n.value = e, p && p(e, {});
31
- }, "disposeResponseData"), C = /* @__PURE__ */ l(() => new Promise((e, a) => {
33
+ }, "disposeResponseData"), w = /* @__PURE__ */ l(() => new Promise((e, a) => {
32
34
  if (!t) {
33
35
  a(new Error("requestFn is required"));
34
36
  return;
35
37
  }
36
- const v = (typeof o == "function" ? o() : o) || {};
38
+ const v = (typeof s == "function" ? s() : s) || {};
37
39
  let T = {
38
40
  currentPage: y ? u.value : null,
39
41
  pageSize: y ? r.value : null,
40
42
  ...v
41
43
  };
42
- k && (T = k(T)), t(T).then((m) => {
43
- b || w(m), e(m);
44
+ L && (T = L(T)), t(T).then((m) => {
45
+ P || k(m), e(m);
44
46
  }).catch((m) => {
45
47
  a(m);
46
48
  }).finally(() => {
@@ -48,15 +50,15 @@ function O(t, o, D) {
48
50
  h.value = !1;
49
51
  }, 400);
50
52
  });
51
- }), "requestData"), L = q(2e3, (e) => {
52
- w(e);
53
+ }), "requestData"), C = G(E || 300, (e) => {
54
+ k(e);
53
55
  }), f = /* @__PURE__ */ l((e = !0, a = !1) => {
54
56
  if (t && !(e && c.value)) {
55
- if (e && (c.value = !0), a && (h.value = !0), b) {
56
- L.loadData(C);
57
+ if (e && (c.value = !0), a && (h.value = !0), P) {
58
+ C.loadData(w);
57
59
  return;
58
60
  }
59
- C().finally(() => {
61
+ w().finally(() => {
60
62
  c.value = !1;
61
63
  });
62
64
  }
@@ -67,35 +69,35 @@ function O(t, o, D) {
67
69
  x(e);
68
70
  });
69
71
  const R = /* @__PURE__ */ l((e) => {
70
- u.value = e, P ? N(n, z, s, u, r) : f();
72
+ u.value = e, b ? N(n, z, i, u, r) : f();
71
73
  }, "handleCurrentPageChange"), x = /* @__PURE__ */ l((e) => {
72
- r.value = e, u.value = 1, P ? N(n, z, s, u, r) : f();
73
- }, "handleSizeChange"), H = /* @__PURE__ */ l(() => {
74
- u.value = 1, G(() => {
74
+ r.value = e, u.value = 1, b ? N(n, z, i, u, r) : f();
75
+ }, "handleSizeChange"), q = /* @__PURE__ */ l(() => {
76
+ u.value = 1, J(() => {
75
77
  f();
76
78
  });
77
79
  }, "handleReset");
78
- return B(() => {
79
- A && (h.value = !0, f());
80
+ return I(() => {
81
+ H && (h.value = !0, f());
80
82
  }), {
81
83
  isFirst: h,
82
- loading: b ? L.loading : c,
84
+ loading: P ? C.loading : c,
83
85
  pageSize: r,
84
- pageSizes: E,
86
+ pageSizes: M,
85
87
  currentPage: u,
86
88
  tableData: n,
87
- total: s,
89
+ total: i,
88
90
  handleCurrentPageChange: R,
89
91
  handleSizeChange: x,
90
- handleReset: H,
92
+ handleReset: q,
91
93
  loadData: f
92
94
  };
93
95
  }
94
- l(O, "useTableListHook");
95
- function N(t, o, D, d, g) {
96
- t.value = o.value.slice((d.value - 1) * g.value, d.value * g.value), D.value = t.value.length;
96
+ l(U, "useTableListHook");
97
+ function N(t, s, D, d, g) {
98
+ t.value = s.value.slice((d.value - 1) * g.value, d.value * g.value), D.value = t.value.length;
97
99
  }
98
100
  l(N, "sliceTableData");
99
101
  export {
100
- O as default
102
+ U as default
101
103
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=;/* empty css */;/* empty css */const t=,/* empty css */u=t.default(e.default,[["__scopeId","data-v-85df496a"]]);exports.default=u;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=;/* empty css */;/* empty css */const t=,/* empty css */u=t.default(e.default,[["__scopeId","data-v-50d2efe0"]]);exports.default=u;
@@ -1,7 +1,7 @@
1
1
  import o from "./index2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../../_virtual/_plugin-vue_export-helper/index.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-85df496a"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-50d2efe0"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});;/* empty css */;/* empty css */const e=require("vue"),p=,/* empty css */d=,/* empty css */f=,/* empty css */m=,/* empty css */k=,/* empty css */y=e.defineComponent({name:"LSButton"}),B=e.defineComponent({...y,props:d.lsBtnProp,setup(S){const o=e.useSlots(),n=f.useNamespace("button").b(),u=e.inject(p.lsBtnKey,void 0),{separator:r,separatorColor:c,separatorSize:i}=e.toRefs(u||{}),s=e.computed(()=>({color:c.value,fontSize:`${i.value}px`}));return(t,g)=>{const l=k.ElButton;return t.$attrs.icon&&!e.unref(o).default?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(l,e.mergeProps(t.$attrs,{class:e.unref(n)}),null,16,["class"]),e.unref(r)?(e.openBlock(),e.createElementBlock("div",{key:0,class:"separator",style:e.normalizeStyle(e.unref(s))},e.toDisplayString(e.unref(r)),5)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createBlock(l,e.mergeProps({key:1},t.$attrs,{class:e.unref(n)}),{default:e.withCtx(()=>{var a;return[!t.$attrs.icon&&((a=t.iconConfig)!=null&&a.name||e.unref(o).icon)?(e.openBlock(),e.createBlock(m.default,e.mergeProps({key:0,class:[e.unref(o).default?"":"only-icon"]},t.iconConfig),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"icon",{},void 0,!0)]),_:3},16,["class"])):e.createCommentVNode("",!0),e.unref(o).default?e.renderSlot(t.$slots,"default",{key:1},void 0,!0):e.createCommentVNode("",!0),e.unref(r)?(e.openBlock(),e.createElementBlock("div",{key:2,class:"separator",style:e.normalizeStyle(e.unref(s))},e.toDisplayString(e.unref(r)),5)):e.createCommentVNode("",!0)]}),_:3},16,["class"]))}}});exports.default=B;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});;/* empty css */;/* empty css */const e=require("vue"),p=,/* empty css */f=,/* empty css */d=,/* empty css */m=,/* empty css */k=,/* empty css */y=e.defineComponent({name:"LSButton"}),B=e.defineComponent({...y,props:f.lsBtnProp,setup(S){const r=e.useSlots(),s=d.useNamespace("button").b(),n=e.inject(p.lsBtnKey,void 0),o=e.ref(""),a=e.ref(""),l=e.ref("");n&&(o.value=n.separator,a.value=n.separatorColor,l.value=n.separatorSize);const u=e.computed(()=>({color:a.value,fontSize:`${l.value}px`}));return(t,C)=>{const c=k.ElButton;return t.$attrs.icon&&!e.unref(r).default?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(c,e.mergeProps(t.$attrs,{class:e.unref(s)}),null,16,["class"]),e.unref(o)?(e.openBlock(),e.createElementBlock("div",{key:0,class:"separator",style:e.normalizeStyle(e.unref(u))},e.toDisplayString(e.unref(o)),5)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createBlock(c,e.mergeProps({key:1},t.$attrs,{class:e.unref(s)}),{default:e.withCtx(()=>{var i;return[!t.$attrs.icon&&((i=t.iconConfig)!=null&&i.name||e.unref(r).icon)?(e.openBlock(),e.createBlock(m.default,e.mergeProps({key:0,class:[e.unref(r).default?"":"only-icon"]},t.iconConfig),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"icon",{},void 0,!0)]),_:3},16,["class"])):e.createCommentVNode("",!0),e.unref(r).default?e.renderSlot(t.$slots,"default",{key:1},void 0,!0):e.createCommentVNode("",!0),e.unref(o)?(e.openBlock(),e.createElementBlock("div",{key:2,class:"separator",style:e.normalizeStyle(e.unref(u))},e.toDisplayString(e.unref(o)),5)):e.createCommentVNode("",!0)]}),_:3},16,["class"]))}}});exports.default=B;
@@ -1,49 +1,51 @@
1
1
  /* empty css */
2
2
  /* empty css */
3
- import { defineComponent as S, useSlots as _, inject as $, toRefs as g, computed as b, unref as o, openBlock as e, createElementBlock as a, Fragment as z, createVNode as N, mergeProps as l, normalizeStyle as m, toDisplayString as f, createCommentVNode as n, createBlock as d, withCtx as y, renderSlot as k } from "vue";
3
+ import { defineComponent as _, useSlots as $, inject as g, ref as l, computed as z, unref as o, openBlock as r, createElementBlock as c, Fragment as b, createVNode as N, mergeProps as p, normalizeStyle as v, toDisplayString as S, createCommentVNode as n, createBlock as k, withCtx as B, renderSlot as C } from "vue";
4
4
  import { lsBtnKey as P } from "../../_constants/token/index.js";
5
5
  import { lsBtnProp as h } from "../types/index.js";
6
6
  import { useNamespace as E } from "../../_hooks/useNamespace/index.js";
7
7
  import L from "../../icon/Index.vue/index.js";
8
8
  import { ElButton as V } from "../../../../../node_modules/.pnpm/element-plus@2.8.1_vue@3.4.38_typescript@5.5.4_/node_modules/element-plus/es/components/button/index/index.js";
9
- const j = S({
9
+ const j = _({
10
10
  name: "LSButton"
11
- }), M = /* @__PURE__ */ S({
11
+ }), O = /* @__PURE__ */ _({
12
12
  ...j,
13
13
  props: h,
14
14
  setup(w) {
15
- const r = _(), c = E("button").b(), B = $(P, void 0), { separator: s, separatorColor: v, separatorSize: C } = g(B || {}), i = b(() => ({
16
- color: v.value,
17
- fontSize: `${C.value}px`
15
+ const s = $(), i = E("button").b(), a = g(P, void 0), e = l(""), u = l(""), m = l("");
16
+ a && (e.value = a.separator, u.value = a.separatorColor, m.value = a.separatorSize);
17
+ const f = z(() => ({
18
+ color: u.value,
19
+ fontSize: `${m.value}px`
18
20
  }));
19
21
  return (t, F) => {
20
- const p = V;
21
- return t.$attrs.icon && !o(r).default ? (e(), a(z, { key: 0 }, [
22
- N(p, l(t.$attrs, { class: o(c) }), null, 16, ["class"]),
23
- o(s) ? (e(), a("div", {
22
+ const d = V;
23
+ return t.$attrs.icon && !o(s).default ? (r(), c(b, { key: 0 }, [
24
+ N(d, p(t.$attrs, { class: o(i) }), null, 16, ["class"]),
25
+ o(e) ? (r(), c("div", {
24
26
  key: 0,
25
27
  class: "separator",
26
- style: m(o(i))
27
- }, f(o(s)), 5)) : n("", !0)
28
- ], 64)) : (e(), d(p, l({ key: 1 }, t.$attrs, { class: o(c) }), {
29
- default: y(() => {
30
- var u;
28
+ style: v(o(f))
29
+ }, S(o(e)), 5)) : n("", !0)
30
+ ], 64)) : (r(), k(d, p({ key: 1 }, t.$attrs, { class: o(i) }), {
31
+ default: B(() => {
32
+ var y;
31
33
  return [
32
- !t.$attrs.icon && ((u = t.iconConfig) != null && u.name || o(r).icon) ? (e(), d(L, l({
34
+ !t.$attrs.icon && ((y = t.iconConfig) != null && y.name || o(s).icon) ? (r(), k(L, p({
33
35
  key: 0,
34
- class: [o(r).default ? "" : "only-icon"]
36
+ class: [o(s).default ? "" : "only-icon"]
35
37
  }, t.iconConfig), {
36
- default: y(() => [
37
- k(t.$slots, "icon", {}, void 0, !0)
38
+ default: B(() => [
39
+ C(t.$slots, "icon", {}, void 0, !0)
38
40
  ]),
39
41
  _: 3
40
42
  }, 16, ["class"])) : n("", !0),
41
- o(r).default ? k(t.$slots, "default", { key: 1 }, void 0, !0) : n("", !0),
42
- o(s) ? (e(), a("div", {
43
+ o(s).default ? C(t.$slots, "default", { key: 1 }, void 0, !0) : n("", !0),
44
+ o(e) ? (r(), c("div", {
43
45
  key: 2,
44
46
  class: "separator",
45
- style: m(o(i))
46
- }, f(o(s)), 5)) : n("", !0)
47
+ style: v(o(f))
48
+ }, S(o(e)), 5)) : n("", !0)
47
49
  ];
48
50
  }),
49
51
  _: 3
@@ -52,5 +54,5 @@ const j = S({
52
54
  }
53
55
  });
54
56
  export {
55
- M as default
57
+ O as default
56
58
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=;/* empty css */;/* empty css */const t=,/* empty css */u=t.default(e.default,[["__scopeId","data-v-3f088ec2"]]);exports.default=u;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=;/* empty css */;/* empty css */const t=,/* empty css */u=t.default(e.default,[["__scopeId","data-v-95b402e2"]]);exports.default=u;