@macroui/macroui-vue 2.7.6 → 2.7.8

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.es.js CHANGED
@@ -439,7 +439,9 @@ const Rn = (a, r) => {
439
439
  },
440
440
  size: {
441
441
  type: String,
442
- values: ["large", "default", "small", "xs"],
442
+ // Element Plus 标准: large / default / small
443
+ // daisyUI 扩展: xs / sm / md / lg / xl
444
+ values: ["large", "default", "small", "xs", "sm", "md", "lg", "xl"],
443
445
  default: "default"
444
446
  },
445
447
  disabled: {
@@ -535,13 +537,18 @@ const Rn = (a, r) => {
535
537
  default: "btn-neutral"
536
538
  }[t.type || "default"] || "btn-neutral", f = {
537
539
  large: "btn-lg",
538
- small: "btn-sm",
539
- xs: "btn-xs"
540
- }, c = t.size && t.size !== "default" && f[t.size] || "";
540
+ small: "btn-sm"
541
+ }, c = {
542
+ xs: "btn-xs",
543
+ sm: "btn-sm",
544
+ md: "btn-md",
545
+ lg: "btn-lg",
546
+ xl: "btn-xl"
547
+ }, o = t.size && t.size !== "default" && (f[t.size] || c[t.size]) || "";
541
548
  return [
542
549
  "btn",
543
550
  s,
544
- c,
551
+ o,
545
552
  {
546
553
  "btn-outline": t.plain,
547
554
  "btn-active": t.loading,
@@ -576,7 +583,7 @@ const Rn = (a, r) => {
576
583
  for (const [e, l] of r)
577
584
  t[e] = l;
578
585
  return t;
579
- }, Wn = /* @__PURE__ */ ge(Hn, [["__scopeId", "data-v-4f7317be"]]), Dl = ve(Wn), Kn = he({
586
+ }, Wn = /* @__PURE__ */ ge(Hn, [["__scopeId", "data-v-8fc15d1c"]]), Dl = ve(Wn), Kn = he({
580
587
  width: {
581
588
  type: String,
582
589
  default: "1px"
@@ -8071,7 +8078,7 @@ ${M}`, Y = new Blob([ne], { type: "text/csv;charset=utf-8;" }), Se = document.cr
8071
8078
  class: "btn btn-ghost btn-sm",
8072
8079
  onClick: T[0] || (T[0] = (M) => oe.value = !oe.value)
8073
8080
  }, [...T[12] || (T[12] = [
8074
- za('<svg class="w-4 h-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" data-v-508dca46><line x1="8" y1="6" x2="21" y2="6" data-v-508dca46></line><line x1="8" y1="12" x2="21" y2="12" data-v-508dca46></line><line x1="8" y1="18" x2="21" y2="18" data-v-508dca46></line><line x1="3" y1="6" x2="3.01" y2="6" data-v-508dca46></line><line x1="3" y1="12" x2="3.01" y2="12" data-v-508dca46></line><line x1="3" y1="18" x2="3.01" y2="18" data-v-508dca46></line></svg> 列设置 ', 2)
8081
+ za('<svg class="w-4 h-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" data-v-01376e29><line x1="8" y1="6" x2="21" y2="6" data-v-01376e29></line><line x1="8" y1="12" x2="21" y2="12" data-v-01376e29></line><line x1="8" y1="18" x2="21" y2="18" data-v-01376e29></line><line x1="3" y1="6" x2="3.01" y2="6" data-v-01376e29></line><line x1="3" y1="12" x2="3.01" y2="12" data-v-01376e29></line><line x1="3" y1="18" x2="3.01" y2="18" data-v-01376e29></line></svg> 列设置 ', 2)
8075
8082
  ])]),
8076
8083
  oe.value ? (n(), i("div", Wd, [
8077
8084
  T[13] || (T[13] = p("div", { class: "text-sm font-semibold mb-2" }, "显示列", -1)),
@@ -8565,7 +8572,7 @@ ${M}`, Y = new Blob([ne], { type: "text/csv;charset=utf-8;" }), Se = document.cr
8565
8572
  ], 38);
8566
8573
  };
8567
8574
  }
8568
- }), Nc = /* @__PURE__ */ ge(zc, [["__scopeId", "data-v-508dca46"]]), Dc = /* @__PURE__ */ de({
8575
+ }), Nc = /* @__PURE__ */ ge(zc, [["__scopeId", "data-v-01376e29"]]), Dc = /* @__PURE__ */ de({
8569
8576
  name: "ElTableColumn",
8570
8577
  inheritAttrs: !1,
8571
8578
  __name: "table-column",