@returnless/focus-ui 0.0.49 → 0.0.50

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/focus-ui.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as ld from "vue";
2
- import { defineComponent as H, ref as ue, provide as Ze, openBlock as $, createElementBlock as B, renderSlot as G, inject as Ve, createBlock as se, Transition as Yc, withCtx as te, withDirectives as _r, createElementVNode as J, unref as S, vShow as vi, computed as ee, getCurrentScope as rl, onScopeDispose as Jc, toRef as Ps, readonly as nl, customRef as Lv, onMounted as Vt, nextTick as mt, getCurrentInstance as Sn, watch as lt, shallowRef as Ba, watchEffect as Wn, normalizeClass as xe, createVNode as ie, createCommentVNode as be, shallowReadonly as jo, onUnmounted as yi, resolveComponent as Fv, normalizeProps as Zc, guardReactiveProps as Nv, resolveDynamicComponent as tr, mergeProps as vt, normalizeStyle as yt, createTextVNode as Ye, toDisplayString as Ce, Comment as zv, cloneVNode as jv, h as br, toRefs as ol, reactive as Uv, markRaw as Au, watchSyncEffect as Vv, withKeys as El, withModifiers as $u, effectScope as oh, Fragment as Pt, renderList as Xt, toHandlerKey as qv, camelize as ih, mergeDefaults as Wv, watchPostEffect as Hv, onBeforeUnmount as Gv, mergeModels as dr, useModel as pr, vModelCheckbox as ah, vModelText as Kv, vModelRadio as sh, useSlots as Yv, vModelSelect as Jv } from "vue";
2
+ import { defineComponent as H, ref as ue, provide as Ze, openBlock as $, createElementBlock as B, renderSlot as G, inject as Ue, createBlock as se, Transition as Yc, withCtx as te, withDirectives as _r, createElementVNode as J, unref as S, vShow as vi, computed as ee, getCurrentScope as rl, onScopeDispose as Jc, toRef as Ps, readonly as nl, customRef as Lv, onMounted as Vt, nextTick as mt, getCurrentInstance as Sn, watch as lt, shallowRef as Ba, watchEffect as Wn, normalizeClass as xe, createVNode as ie, createCommentVNode as be, shallowReadonly as jo, onUnmounted as yi, resolveComponent as Fv, normalizeProps as Zc, guardReactiveProps as Nv, resolveDynamicComponent as tr, mergeProps as vt, normalizeStyle as yt, createTextVNode as Ye, toDisplayString as Ce, Comment as zv, cloneVNode as jv, h as br, toRefs as ol, reactive as Uv, markRaw as Au, watchSyncEffect as Vv, withKeys as El, withModifiers as $u, effectScope as oh, Fragment as Pt, renderList as Xt, toHandlerKey as qv, camelize as ih, mergeDefaults as Wv, watchPostEffect as Hv, onBeforeUnmount as Gv, mergeModels as dr, useModel as pr, vModelCheckbox as ah, vModelText as Kv, vModelRadio as sh, useSlots as Yv, vModelSelect as Jv } from "vue";
3
3
  const Zv = { class: "w-full" }, xD = /* @__PURE__ */ H({
4
4
  __name: "Accordion",
5
5
  props: {
@@ -14,7 +14,7 @@ const Zv = { class: "w-full" }, xD = /* @__PURE__ */ H({
14
14
  }), Xv = ["id"], Qv = { class: "py-3" }, SD = /* @__PURE__ */ H({
15
15
  __name: "AccordionContent",
16
16
  setup(t) {
17
- const e = Ve("accordionItemActive"), r = Ve("accordionItemId");
17
+ const e = Ue("accordionItemActive"), r = Ue("accordionItemId");
18
18
  function n(l) {
19
19
  l.style.height = "0";
20
20
  }
@@ -8108,14 +8108,14 @@ var Xy = function(e) {
8108
8108
  return new zy.default(e);
8109
8109
  };
8110
8110
  Je.universal = Xy;
8111
- var qe = {};
8112
- qe.__esModule = !0;
8113
- qe.isNode = ff;
8114
- qe.isPseudoElement = Yh;
8115
- qe.isPseudoClass = ub;
8116
- qe.isContainer = cb;
8117
- qe.isNamespace = fb;
8118
- qe.isUniversal = qe.isTag = qe.isString = qe.isSelector = qe.isRoot = qe.isPseudo = qe.isNesting = qe.isIdentifier = qe.isComment = qe.isCombinator = qe.isClassName = qe.isAttribute = void 0;
8111
+ var Ve = {};
8112
+ Ve.__esModule = !0;
8113
+ Ve.isNode = ff;
8114
+ Ve.isPseudoElement = Yh;
8115
+ Ve.isPseudoClass = ub;
8116
+ Ve.isContainer = cb;
8117
+ Ve.isNamespace = fb;
8118
+ Ve.isUniversal = Ve.isTag = Ve.isString = Ve.isSelector = Ve.isRoot = Ve.isPseudo = Ve.isNesting = Ve.isIdentifier = Ve.isComment = Ve.isCombinator = Ve.isClassName = Ve.isAttribute = void 0;
8119
8119
  var tt = Be, Kt, Qy = (Kt = {}, Kt[tt.ATTRIBUTE] = !0, Kt[tt.CLASS] = !0, Kt[tt.COMBINATOR] = !0, Kt[tt.COMMENT] = !0, Kt[tt.ID] = !0, Kt[tt.NESTING] = !0, Kt[tt.PSEUDO] = !0, Kt[tt.ROOT] = !0, Kt[tt.SELECTOR] = !0, Kt[tt.STRING] = !0, Kt[tt.TAG] = !0, Kt[tt.UNIVERSAL] = !0, Kt);
8120
8120
  function ff(t) {
8121
8121
  return typeof t == "object" && Qy[t.type];
@@ -8124,29 +8124,29 @@ function Sr(t, e) {
8124
8124
  return ff(e) && e.type === t;
8125
8125
  }
8126
8126
  var Gh = Sr.bind(null, tt.ATTRIBUTE);
8127
- qe.isAttribute = Gh;
8127
+ Ve.isAttribute = Gh;
8128
8128
  var eb = Sr.bind(null, tt.CLASS);
8129
- qe.isClassName = eb;
8129
+ Ve.isClassName = eb;
8130
8130
  var tb = Sr.bind(null, tt.COMBINATOR);
8131
- qe.isCombinator = tb;
8131
+ Ve.isCombinator = tb;
8132
8132
  var rb = Sr.bind(null, tt.COMMENT);
8133
- qe.isComment = rb;
8133
+ Ve.isComment = rb;
8134
8134
  var nb = Sr.bind(null, tt.ID);
8135
- qe.isIdentifier = nb;
8135
+ Ve.isIdentifier = nb;
8136
8136
  var ob = Sr.bind(null, tt.NESTING);
8137
- qe.isNesting = ob;
8137
+ Ve.isNesting = ob;
8138
8138
  var df = Sr.bind(null, tt.PSEUDO);
8139
- qe.isPseudo = df;
8139
+ Ve.isPseudo = df;
8140
8140
  var ib = Sr.bind(null, tt.ROOT);
8141
- qe.isRoot = ib;
8141
+ Ve.isRoot = ib;
8142
8142
  var ab = Sr.bind(null, tt.SELECTOR);
8143
- qe.isSelector = ab;
8143
+ Ve.isSelector = ab;
8144
8144
  var sb = Sr.bind(null, tt.STRING);
8145
- qe.isString = sb;
8145
+ Ve.isString = sb;
8146
8146
  var Kh = Sr.bind(null, tt.TAG);
8147
- qe.isTag = Kh;
8147
+ Ve.isTag = Kh;
8148
8148
  var lb = Sr.bind(null, tt.UNIVERSAL);
8149
- qe.isUniversal = lb;
8149
+ Ve.isUniversal = lb;
8150
8150
  function Yh(t) {
8151
8151
  return df(t) && t.value && (t.value.startsWith("::") || t.value.toLowerCase() === ":before" || t.value.toLowerCase() === ":after" || t.value.toLowerCase() === ":first-letter" || t.value.toLowerCase() === ":first-line");
8152
8152
  }
@@ -8169,7 +8169,7 @@ function fb(t) {
8169
8169
  Object.keys(r).forEach(function(o) {
8170
8170
  o === "default" || o === "__esModule" || o in t && t[o] === r[o] || (t[o] = r[o]);
8171
8171
  });
8172
- var n = qe;
8172
+ var n = Ve;
8173
8173
  Object.keys(n).forEach(function(o) {
8174
8174
  o === "default" || o === "__esModule" || o in t && t[o] === n[o] || (t[o] = n[o]);
8175
8175
  });
@@ -9906,7 +9906,7 @@ function AD() {
9906
9906
  const R1 = { class: "border-b dark:border-zinc-700" }, $D = /* @__PURE__ */ H({
9907
9907
  __name: "AccordionItem",
9908
9908
  setup(t) {
9909
- const e = Ke("accordionItem"), r = Ve("activeAccordionItem"), n = ee(() => r.value === e);
9909
+ const e = Ke("accordionItem"), r = Ue("activeAccordionItem"), n = ee(() => r.value === e);
9910
9910
  return Ze("accordionItemId", e), Ze("accordionItemActive", n), (o, i) => ($(), B("div", R1, [
9911
9911
  G(o.$slots, "default")
9912
9912
  ]));
@@ -10142,7 +10142,7 @@ function La(t, e) {
10142
10142
  J("path", { d: "M5.28 4.22a.75.75 0 0 0-1.06 1.06L6.94 8l-2.72 2.72a.75.75 0 1 0 1.06 1.06L8 9.06l2.72 2.72a.75.75 0 1 0 1.06-1.06L9.06 8l2.72-2.72a.75.75 0 0 0-1.06-1.06L8 6.94 5.28 4.22Z" })
10143
10143
  ]);
10144
10144
  }
10145
- const Ue = /* @__PURE__ */ H({
10145
+ const qe = /* @__PURE__ */ H({
10146
10146
  __name: "TextStyle",
10147
10147
  props: {
10148
10148
  subdued: { type: Boolean, default: !1 },
@@ -10162,7 +10162,7 @@ const Ue = /* @__PURE__ */ H({
10162
10162
  }), K1 = ["aria-controls", "aria-expanded"], Y1 = { class: "py-3 group-hover:underline" }, ED = /* @__PURE__ */ H({
10163
10163
  __name: "AccordionTrigger",
10164
10164
  setup(t) {
10165
- const e = Ve("activeAccordionItem"), r = Ve("accordionItemId"), n = Ve("accordionItemActive");
10165
+ const e = Ue("activeAccordionItem"), r = Ue("accordionItemId"), n = Ue("accordionItemActive");
10166
10166
  function o() {
10167
10167
  e.value = e.value !== r ? r : null;
10168
10168
  }
@@ -10173,7 +10173,7 @@ const Ue = /* @__PURE__ */ H({
10173
10173
  onClick: o
10174
10174
  }, [
10175
10175
  J("span", Y1, [
10176
- ie(S(Ue), { strong: "" }, {
10176
+ ie(S(qe), { strong: "" }, {
10177
10177
  default: te(() => [
10178
10178
  G(i.$slots, "default")
10179
10179
  ]),
@@ -11486,7 +11486,7 @@ const Pm = /* @__PURE__ */ H({
11486
11486
  }), Rw = ["id"], Lw = /* @__PURE__ */ H({
11487
11487
  __name: "PopperArrow",
11488
11488
  setup(t) {
11489
- const e = Ve("popperArrowId");
11489
+ const e = Ue("popperArrowId");
11490
11490
  return (r, n) => ($(), B("div", {
11491
11491
  id: S(e),
11492
11492
  class: "w-2 h-2 rotate-45 bg-black",
@@ -11498,7 +11498,7 @@ const Pm = /* @__PURE__ */ H({
11498
11498
  }), Fw = ["id", "data-state"], Im = /* @__PURE__ */ H({
11499
11499
  __name: "PopperBody",
11500
11500
  setup(t) {
11501
- const e = Ve("popperBodyId"), r = Ve("popperBodyVisible");
11501
+ const e = Ue("popperBodyId"), r = Ue("popperBodyVisible");
11502
11502
  return (n, o) => ($(), B("div", {
11503
11503
  id: S(e),
11504
11504
  class: xe(["absolute z-10 will-change-[transform,opacity] data-[state=closed]:animate-hide data-[state=open]:animate-slideDownAndFade", {
@@ -11513,7 +11513,7 @@ const Pm = /* @__PURE__ */ H({
11513
11513
  }), Nw = ["id"], Dm = /* @__PURE__ */ H({
11514
11514
  __name: "PopperTrigger",
11515
11515
  setup(t) {
11516
- const e = Ve("popperTriggerId");
11516
+ const e = Ue("popperTriggerId");
11517
11517
  return (r, n) => ($(), B("span", {
11518
11518
  id: S(e),
11519
11519
  class: "inline-block"
@@ -11721,7 +11721,7 @@ const Yw = {
11721
11721
  class: "-my-2 inline-flex rounded bg-slate-200 px-2 py-1 text-xs text-white",
11722
11722
  style: yt(r.value)
11723
11723
  }, [
11724
- ie(S(Ue), { strong: "" }, {
11724
+ ie(S(qe), { strong: "" }, {
11725
11725
  default: te(() => [
11726
11726
  J("div", Jw, [
11727
11727
  G(n.$slots, "default")
@@ -11896,7 +11896,7 @@ const PD = /* @__PURE__ */ Pe(o_, [["render", a_]]), ID = /* @__PURE__ */ H({
11896
11896
  }), MD = /* @__PURE__ */ H({
11897
11897
  __name: "AlertDescription",
11898
11898
  setup(t) {
11899
- const e = Ve("alertVariant"), r = ee(() => ({
11899
+ const e = Ue("alertVariant"), r = ee(() => ({
11900
11900
  "text-red-900/80 dark:text-red-300": e === "destructive",
11901
11901
  "text-yellow-900/80 dark:text-yellow-300": e === "warning",
11902
11902
  "text-gray-900/80 dark:text-zinc-300": e === "default"
@@ -11911,7 +11911,7 @@ const PD = /* @__PURE__ */ Pe(o_, [["render", a_]]), ID = /* @__PURE__ */ H({
11911
11911
  __name: "AlertTitle",
11912
11912
  setup(t) {
11913
11913
  return (e, r) => ($(), B("h5", u_, [
11914
- ie(S(Ue), { strong: "" }, {
11914
+ ie(S(qe), { strong: "" }, {
11915
11915
  default: te(() => [
11916
11916
  G(e.$slots, "default")
11917
11917
  ]),
@@ -11959,7 +11959,7 @@ const PD = /* @__PURE__ */ Pe(o_, [["render", a_]]), ID = /* @__PURE__ */ H({
11959
11959
  }), FD = /* @__PURE__ */ H({
11960
11960
  __name: "AlertDialogCancelButton",
11961
11961
  setup(t) {
11962
- const e = Ve("cancelAlertDialog");
11962
+ const e = Ue("cancelAlertDialog");
11963
11963
  return (r, n) => ($(), se(S(wr), {
11964
11964
  variant: "secondary",
11965
11965
  onClick: S(e)
@@ -11998,9 +11998,9 @@ const PD = /* @__PURE__ */ Pe(o_, [["render", a_]]), ID = /* @__PURE__ */ H({
11998
11998
  }), zD = /* @__PURE__ */ H({
11999
11999
  __name: "AlertDialogDescription",
12000
12000
  setup(t) {
12001
- const e = Ve("alertDialogLabelledBy");
12001
+ const e = Ue("alertDialogLabelledBy");
12002
12002
  return (r, n) => ($(), B("p", null, [
12003
- ie(S(Ue), {
12003
+ ie(S(qe), {
12004
12004
  id: S(e),
12005
12005
  subdued: ""
12006
12006
  }, {
@@ -17439,7 +17439,7 @@ const W2 = q2({
17439
17439
  }), VD = /* @__PURE__ */ H({
17440
17440
  __name: "AlertDialogTitle",
17441
17441
  setup(t) {
17442
- const e = Ve("alertDialogLabelledBy");
17442
+ const e = Ue("alertDialogLabelledBy");
17443
17443
  return (r, n) => ($(), se(S(Oi), {
17444
17444
  id: S(e),
17445
17445
  level: "h2"
@@ -17475,7 +17475,7 @@ const W2 = q2({
17475
17475
  function Zn(t, e) {
17476
17476
  const r = typeof t == "string" && !e ? `${t}Context` : e, n = Symbol(r);
17477
17477
  return [(o) => {
17478
- const i = Ve(n, o);
17478
+ const i = Ue(n, o);
17479
17479
  if (i || i === null)
17480
17480
  return i;
17481
17481
  throw new Error(
@@ -19251,7 +19251,7 @@ const fS = { class: "flex w-full flex-col" }, KD = /* @__PURE__ */ H({
19251
19251
  class: xe(["inline-flex rounded bg-slate-200", n.value]),
19252
19252
  style: yt(r.value)
19253
19253
  }, [
19254
- ie(S(Ue), { strong: "" }, {
19254
+ ie(S(qe), { strong: "" }, {
19255
19255
  default: te(() => [
19256
19256
  J("div", hS, [
19257
19257
  G(o.$slots, "default")
@@ -19270,7 +19270,7 @@ const fS = { class: "flex w-full flex-col" }, KD = /* @__PURE__ */ H({
19270
19270
  }), QD = /* @__PURE__ */ H({
19271
19271
  __name: "BadgeContent",
19272
19272
  setup(t) {
19273
- return (e, r) => ($(), se(S(Ue), { strong: "" }, {
19273
+ return (e, r) => ($(), se(S(qe), { strong: "" }, {
19274
19274
  default: te(() => [
19275
19275
  G(e.$slots, "default")
19276
19276
  ]),
@@ -20882,7 +20882,7 @@ const nT = /* @__PURE__ */ Pe(eT, [["render", rT]]), oT = ["aria-labelledby"], i
20882
20882
  class: "h-2 w-2 rounded-full flex-shrink-0",
20883
20883
  style: yt({ backgroundColor: S(n) })
20884
20884
  }, null, 4),
20885
- ie(S(Ue), {
20885
+ ie(S(qe), {
20886
20886
  id: S(r),
20887
20887
  class: "whitespace-nowrap",
20888
20888
  strong: ""
@@ -20898,7 +20898,7 @@ const nT = /* @__PURE__ */ Pe(eT, [["render", rT]]), oT = ["aria-labelledby"], i
20898
20898
  }), aT = { class: "flex justify-end" }, sT = /* @__PURE__ */ H({
20899
20899
  __name: "BarChartLegend",
20900
20900
  setup(t) {
20901
- const e = Ve("barChartCategories"), r = Ve("barChartHiddenCategories");
20901
+ const e = Ue("barChartCategories"), r = Ue("barChartHiddenCategories");
20902
20902
  function n(o) {
20903
20903
  const i = o.accessorKey;
20904
20904
  e.length !== 1 && (r.value = r.value.includes(i) ? r.value.filter((a) => a !== i) : [...r.value, i]);
@@ -20927,7 +20927,7 @@ const nT = /* @__PURE__ */ Pe(eT, [["render", rT]]), oT = ["aria-labelledby"], i
20927
20927
  }), lT = { class: "px-4 pt-3" }, uT = { class: "px-4 py-3" }, cT = { class: "flex items-center space-x-2" }, fT = /* @__PURE__ */ H({
20928
20928
  __name: "BarChartTooltip",
20929
20929
  setup(t, { expose: e }) {
20930
- const r = Ve("barChartHighlightedRecord"), n = Ve("barChartLabelAccessorKey"), o = Ve("barChartCategories"), i = ue();
20930
+ const r = Ue("barChartHighlightedRecord"), n = Ue("barChartLabelAccessorKey"), o = Ue("barChartCategories"), i = ue();
20931
20931
  e({
20932
20932
  $tooltip: i
20933
20933
  });
@@ -20939,7 +20939,7 @@ const nT = /* @__PURE__ */ Pe(eT, [["render", rT]]), oT = ["aria-labelledby"], i
20939
20939
  }, [
20940
20940
  S(r) ? ($(), B(Pt, { key: 0 }, [
20941
20941
  J("div", lT, [
20942
- ie(S(Ue), { strong: "" }, {
20942
+ ie(S(qe), { strong: "" }, {
20943
20943
  default: te(() => [
20944
20944
  Ye(Ce(a.value), 1)
20945
20945
  ]),
@@ -21118,7 +21118,7 @@ const Uf = /* @__PURE__ */ Pe(TT, [["render", CT]]), u8 = /* @__PURE__ */ H({
21118
21118
  __name: "CardDescription",
21119
21119
  setup(t) {
21120
21120
  return (e, r) => ($(), B("p", null, [
21121
- ie(S(Ue), { subdued: "" }, {
21121
+ ie(S(qe), { subdued: "" }, {
21122
21122
  default: te(() => [
21123
21123
  G(e.$slots, "default")
21124
21124
  ]),
@@ -25814,7 +25814,7 @@ const m8 = /* @__PURE__ */ Pe(uP, [["render", fP]]), dP = { class: "flex items-c
25814
25814
  style: yt({ backgroundColor: l.color })
25815
25815
  }, null, 4),
25816
25816
  J("div", null, [
25817
- ie(S(Ue), {
25817
+ ie(S(qe), {
25818
25818
  subdued: "",
25819
25819
  strong: ""
25820
25820
  }, {
@@ -25824,13 +25824,13 @@ const m8 = /* @__PURE__ */ Pe(uP, [["render", fP]]), dP = { class: "flex items-c
25824
25824
  _: 2
25825
25825
  }, 1024),
25826
25826
  J("div", vP, [
25827
- ie(S(Ue), { strong: "" }, {
25827
+ ie(S(qe), { strong: "" }, {
25828
25828
  default: te(() => [
25829
25829
  Ye(Ce(l.value), 1)
25830
25830
  ]),
25831
25831
  _: 2
25832
25832
  }, 1024),
25833
- ie(S(Ue), { subdued: "" }, {
25833
+ ie(S(qe), { subdued: "" }, {
25834
25834
  default: te(() => [
25835
25835
  Ye(" (" + Ce(l.percentage) + "%) ", 1)
25836
25836
  ]),
@@ -25841,7 +25841,7 @@ const m8 = /* @__PURE__ */ Pe(uP, [["render", fP]]), dP = { class: "flex items-c
25841
25841
  ], 42, gP))), 128)),
25842
25842
  J("li", null, [
25843
25843
  a[2] || (a[2] = Ye(" Total ")),
25844
- ie(S(Ue), { strong: "" }, {
25844
+ ie(S(qe), { strong: "" }, {
25845
25845
  default: te(() => [
25846
25846
  Ye(Ce(n.value), 1)
25847
25847
  ]),
@@ -25862,15 +25862,10 @@ const m8 = /* @__PURE__ */ Pe(uP, [["render", fP]]), dP = { class: "flex items-c
25862
25862
  const e = t, r = ee(() => e.labelHidden ? _i : "label");
25863
25863
  return (n, o) => ($(), se(tr(r.value), {
25864
25864
  for: n.labelFor,
25865
- class: "block w-fit cursor-pointer truncate text-sm leading-0 align-baseline"
25865
+ class: "block w-fit cursor-pointer truncate align-baseline text-sm font-medium"
25866
25866
  }, {
25867
25867
  default: te(() => [
25868
- ie(S(Ue), { strong: "" }, {
25869
- default: te(() => [
25870
- Ye(Ce(n.label), 1)
25871
- ]),
25872
- _: 1
25873
- })
25868
+ Ye(Ce(n.label), 1)
25874
25869
  ]),
25875
25870
  _: 1
25876
25871
  }, 8, ["for"]));
@@ -25956,7 +25951,7 @@ const m8 = /* @__PURE__ */ Pe(uP, [["render", fP]]), dP = { class: "flex items-c
25956
25951
  label: a.label,
25957
25952
  "label-for": S(o)
25958
25953
  }, null, 8, ["label", "label-for"]),
25959
- a.helpText ? ($(), se(S(Ue), {
25954
+ a.helpText ? ($(), se(S(qe), {
25960
25955
  key: 0,
25961
25956
  subdued: ""
25962
25957
  }, {
@@ -25976,7 +25971,7 @@ const m8 = /* @__PURE__ */ Pe(uP, [["render", fP]]), dP = { class: "flex items-c
25976
25971
  setup(t) {
25977
25972
  return (e, r) => ($(), B("div", $P, [
25978
25973
  e.label ? ($(), B("p", EP, [
25979
- ie(S(Ue), {
25974
+ ie(S(qe), {
25980
25975
  subdued: "",
25981
25976
  strong: ""
25982
25977
  }, {
@@ -27454,7 +27449,7 @@ const A8 = /* @__PURE__ */ Pe(s4, [["render", u4]]), c4 = ["data-sortable-id"],
27454
27449
  id: {}
27455
27450
  },
27456
27451
  setup(t) {
27457
- const e = Ve("sortable");
27452
+ const e = Ue("sortable");
27458
27453
  return (r, n) => ($(), B("li", {
27459
27454
  class: "flex items-center justify-between bg-white dark:bg-zinc-950 px-4 py-3 space-x-4",
27460
27455
  "data-sortable-id": r.id
@@ -27501,7 +27496,7 @@ function g4(t, e) {
27501
27496
  const nh = /* @__PURE__ */ Pe(h4, [["render", g4]]), v4 = { class: "w-full" }, y4 = { class: "[&_tr]:bg-slate-50 shadow relative" }, b4 = { class: "[&_tr:last-child]:border-0" }, O8 = /* @__PURE__ */ H({
27502
27497
  __name: "DataTable",
27503
27498
  setup(t) {
27504
- const e = Ve("dataTableColumns"), r = Ve("dataTableRows");
27499
+ const e = Ue("dataTableColumns"), r = Ue("dataTableRows");
27505
27500
  return (n, o) => ($(), se(S(Uf), null, {
27506
27501
  default: te(() => [
27507
27502
  J("table", v4, [
@@ -27629,7 +27624,7 @@ const Rv = /* @__PURE__ */ Pe(S4, [["render", $4]]), E4 = {
27629
27624
  }), k4 = /* @__PURE__ */ H({
27630
27625
  __name: "TextFieldPasswordIcon",
27631
27626
  setup(t) {
27632
- const e = Ve("internalInputType");
27627
+ const e = Ue("internalInputType");
27633
27628
  function r() {
27634
27629
  e.value = e.value === "password" ? "text" : "password";
27635
27630
  }
@@ -27771,7 +27766,7 @@ const Rv = /* @__PURE__ */ Pe(S4, [["render", $4]]), E4 = {
27771
27766
  },
27772
27767
  emits: ["update:modelValue"],
27773
27768
  setup(t) {
27774
- const e = pr(t, "modelValue"), r = Ve("datePickerLocale"), {
27769
+ const e = pr(t, "modelValue"), r = Ue("datePickerLocale"), {
27775
27770
  displayDate: n,
27776
27771
  grid: o,
27777
27772
  monthName: i,
@@ -27867,7 +27862,7 @@ const Rv = /* @__PURE__ */ Pe(S4, [["render", $4]]), E4 = {
27867
27862
  __name: "DescriptionListDescription",
27868
27863
  setup(t) {
27869
27864
  return (e, r) => ($(), B("dd", U4, [
27870
- ie(S(Ue), { subdued: "" }, {
27865
+ ie(S(qe), { subdued: "" }, {
27871
27866
  default: te(() => [
27872
27867
  G(e.$slots, "default")
27873
27868
  ]),
@@ -27878,7 +27873,7 @@ const Rv = /* @__PURE__ */ Pe(S4, [["render", $4]]), E4 = {
27878
27873
  }), I8 = /* @__PURE__ */ H({
27879
27874
  __name: "DescriptionListItem",
27880
27875
  setup(t) {
27881
- const e = Ve("descriptionListAlignment"), r = ee(() => [
27876
+ const e = Ue("descriptionListAlignment"), r = ee(() => [
27882
27877
  { "grid-cols-4 gap-4 py-3": e === "horizontal" },
27883
27878
  { "py-2": e === "vertical" }
27884
27879
  ]);
@@ -27892,7 +27887,7 @@ const Rv = /* @__PURE__ */ Pe(S4, [["render", $4]]), E4 = {
27892
27887
  __name: "DescriptionListTerm",
27893
27888
  setup(t) {
27894
27889
  return (e, r) => ($(), B("dt", null, [
27895
- ie(S(Ue), { strong: "" }, {
27890
+ ie(S(qe), { strong: "" }, {
27896
27891
  default: te(() => [
27897
27892
  G(e.$slots, "default")
27898
27893
  ]),
@@ -27935,7 +27930,7 @@ const Rv = /* @__PURE__ */ Pe(S4, [["render", $4]]), E4 = {
27935
27930
  }), B8 = /* @__PURE__ */ H({
27936
27931
  __name: "DialogCancelButton",
27937
27932
  setup(t) {
27938
- const e = Ve("cancelDialog");
27933
+ const e = Ue("cancelDialog");
27939
27934
  return (r, n) => ($(), se(S(wr), {
27940
27935
  variant: "secondary",
27941
27936
  onClick: S(e)
@@ -27949,7 +27944,7 @@ const Rv = /* @__PURE__ */ Pe(S4, [["render", $4]]), E4 = {
27949
27944
  }), W4 = { class: "absolute top-4 right-4" }, R8 = /* @__PURE__ */ H({
27950
27945
  __name: "DialogContent",
27951
27946
  setup(t) {
27952
- const e = Ve("cancelDialog"), r = ue(null);
27947
+ const e = Ue("cancelDialog"), r = ue(null);
27953
27948
  return fl(r, () => e()), (n, o) => ($(), B("div", {
27954
27949
  ref_key: "target",
27955
27950
  ref: r,
@@ -27974,9 +27969,9 @@ const Rv = /* @__PURE__ */ Pe(S4, [["render", $4]]), E4 = {
27974
27969
  }), L8 = /* @__PURE__ */ H({
27975
27970
  __name: "DialogDescription",
27976
27971
  setup(t) {
27977
- const e = Ve("dialogLabelledBy");
27972
+ const e = Ue("dialogLabelledBy");
27978
27973
  return (r, n) => ($(), B("p", null, [
27979
- ie(S(Ue), {
27974
+ ie(S(qe), {
27980
27975
  id: S(e),
27981
27976
  subdued: ""
27982
27977
  }, {
@@ -28034,7 +28029,7 @@ const z8 = /* @__PURE__ */ Pe(J4, [["render", X4]]), Q4 = { class: "mb-4 overflo
28034
28029
  }), U8 = /* @__PURE__ */ H({
28035
28030
  __name: "DialogTitle",
28036
28031
  setup(t) {
28037
- const e = Ve("dialogLabelledBy");
28032
+ const e = Ue("dialogLabelledBy");
28038
28033
  return (r, n) => ($(), se(S(Oi), {
28039
28034
  id: S(e),
28040
28035
  level: "h2"
@@ -28079,7 +28074,7 @@ const z8 = /* @__PURE__ */ Pe(J4, [["render", X4]]), Q4 = { class: "mb-4 overflo
28079
28074
  }), tI = { class: "absolute right-4 top-4" }, q8 = /* @__PURE__ */ H({
28080
28075
  __name: "DrawerContent",
28081
28076
  setup(t) {
28082
- const e = Ve("cancelDialog"), r = ue(null);
28077
+ const e = Ue("cancelDialog"), r = ue(null);
28083
28078
  return fl(r, () => e()), (n, o) => ($(), B("div", {
28084
28079
  ref_key: "target",
28085
28080
  ref: r,
@@ -28104,7 +28099,7 @@ const z8 = /* @__PURE__ */ Pe(J4, [["render", X4]]), Q4 = { class: "mb-4 overflo
28104
28099
  }), W8 = /* @__PURE__ */ H({
28105
28100
  __name: "DrawerDescription",
28106
28101
  setup(t) {
28107
- return (e, r) => ($(), se(S(Ue), { subdued: "" }, {
28102
+ return (e, r) => ($(), se(S(qe), { subdued: "" }, {
28108
28103
  default: te(() => [
28109
28104
  G(e.$slots, "default")
28110
28105
  ]),
@@ -28230,7 +28225,7 @@ const Z8 = /* @__PURE__ */ Pe(uI, [["render", fI]]), X8 = /* @__PURE__ */ H({
28230
28225
  __name: "EmptyStateDescription",
28231
28226
  setup(t) {
28232
28227
  return (e, r) => ($(), B("p", null, [
28233
- ie(S(Ue), { subdued: "" }, {
28228
+ ie(S(qe), { subdued: "" }, {
28234
28229
  default: te(() => [
28235
28230
  G(e.$slots, "default")
28236
28231
  ]),
@@ -28296,7 +28291,7 @@ const oM = /* @__PURE__ */ Pe(EI, [["render", TI]]), kI = { class: "block" }, iM
28296
28291
  __name: "FeedItemDateIndicator",
28297
28292
  setup(t) {
28298
28293
  return (e, r) => ($(), B("div", kI, [
28299
- ie(S(Ue), { subdued: "" }, {
28294
+ ie(S(qe), { subdued: "" }, {
28300
28295
  default: te(() => [
28301
28296
  G(e.$slots, "default")
28302
28297
  ]),
@@ -28563,7 +28558,7 @@ const sM = /* @__PURE__ */ Pe(PI, [["render", DI]]), MI = { class: "w-full" }, B
28563
28558
  return (e, r) => ($(), se(S(td), null, {
28564
28559
  default: te(() => [
28565
28560
  J("div", NI, [
28566
- ie(S(Ue), { subdued: "" }, {
28561
+ ie(S(qe), { subdued: "" }, {
28567
28562
  default: te(() => [
28568
28563
  Ye(Ce(e.title), 1)
28569
28564
  ]),
@@ -28675,7 +28670,7 @@ const bM = /* @__PURE__ */ Pe(GI, [["render", JI]]), ZI = { class: "pb-8" }, XI
28675
28670
  },
28676
28671
  setup(t) {
28677
28672
  return (e, r) => ($(), B("div", ZI, [
28678
- e.label ? ($(), se(S(Ue), {
28673
+ e.label ? ($(), se(S(qe), {
28679
28674
  key: 0,
28680
28675
  strong: ""
28681
28676
  }, {
@@ -28729,7 +28724,7 @@ const xM = /* @__PURE__ */ Pe(r6, [["render", n6]]), SM = /* @__PURE__ */ H({
28729
28724
  __name: "PageDescription",
28730
28725
  setup(t) {
28731
28726
  return (e, r) => ($(), B("p", null, [
28732
- ie(S(Ue), { subdued: "" }, {
28727
+ ie(S(qe), { subdued: "" }, {
28733
28728
  default: te(() => [
28734
28729
  G(e.$slots, "default")
28735
28730
  ]),
@@ -28987,7 +28982,7 @@ const PM = /* @__PURE__ */ Pe(w6, [["render", _6]]), x6 = { class: "flex items-s
28987
28982
  label: o.label,
28988
28983
  "label-for": S(n)
28989
28984
  }, null, 8, ["label", "label-for"]),
28990
- o.helpText ? ($(), se(S(Ue), {
28985
+ o.helpText ? ($(), se(S(qe), {
28991
28986
  key: 0,
28992
28987
  subdued: ""
28993
28988
  }, {
@@ -29122,7 +29117,7 @@ const BM = /* @__PURE__ */ Pe(I6, [["render", D6]]), M6 = { class: "w-full" }, B
29122
29117
  return (e, r) => ($(), B("div", j6, [
29123
29118
  r[0] || (r[0] = J("div", { class: "w-full shrink-0 h-[1px] bg-slate-300 dark:bg-zinc-700" }, null, -1)),
29124
29119
  e.label ? ($(), B("span", U6, [
29125
- ie(S(Ue), { subdued: "" }, {
29120
+ ie(S(qe), { subdued: "" }, {
29126
29121
  default: te(() => [
29127
29122
  Ye(Ce(e.label), 1)
29128
29123
  ]),
@@ -29188,7 +29183,7 @@ const BM = /* @__PURE__ */ Pe(I6, [["render", D6]]), M6 = { class: "w-full" }, B
29188
29183
  class: "size-3 rounded-full dark:text-white",
29189
29184
  style: yt({ backgroundColor: n.value.backgroundColor })
29190
29185
  }, null, 4),
29191
- ie(S(Ue), { strong: "" }, {
29186
+ ie(S(qe), { strong: "" }, {
29192
29187
  default: te(() => [
29193
29188
  J("span", { id: S(r) }, [
29194
29189
  G(i.$slots, "default")
@@ -29268,7 +29263,7 @@ const BM = /* @__PURE__ */ Pe(I6, [["render", D6]]), M6 = { class: "w-full" }, B
29268
29263
  ], 10, Z6)
29269
29264
  ]),
29270
29265
  J("div", X6, [
29271
- ie(S(Ue), { subdued: "" }, {
29266
+ ie(S(qe), { subdued: "" }, {
29272
29267
  default: te(() => [
29273
29268
  Ye(Ce(s.label), 1)
29274
29269
  ]),
@@ -29294,7 +29289,7 @@ const BM = /* @__PURE__ */ Pe(I6, [["render", D6]]), M6 = { class: "w-full" }, B
29294
29289
  active: { type: Boolean, default: !1 }
29295
29290
  },
29296
29291
  setup(t) {
29297
- const e = t, r = Ke("tabItem"), n = Ve("activeTabItem");
29292
+ const e = t, r = Ke("tabItem"), n = Ue("activeTabItem");
29298
29293
  Vt(() => {
29299
29294
  e.active && (n.value = r);
29300
29295
  });
@@ -29309,7 +29304,7 @@ const BM = /* @__PURE__ */ Pe(I6, [["render", D6]]), M6 = { class: "w-full" }, B
29309
29304
  role: "tab",
29310
29305
  onClick: o
29311
29306
  }, [
29312
- ie(S(Ue), { strong: "" }, {
29307
+ ie(S(qe), { strong: "" }, {
29313
29308
  default: te(() => [
29314
29309
  G(a.$slots, "default")
29315
29310
  ]),
@@ -29333,7 +29328,7 @@ const BM = /* @__PURE__ */ Pe(I6, [["render", D6]]), M6 = { class: "w-full" }, B
29333
29328
  class: "inline-flex items-center rounded bg-slate-200 py-1 pr-1 pl-2 text-xs",
29334
29329
  style: yt(r.value)
29335
29330
  }, [
29336
- ie(S(Ue), { strong: "" }, {
29331
+ ie(S(qe), { strong: "" }, {
29337
29332
  default: te(() => [
29338
29333
  J("div", tD, [
29339
29334
  G(n.$slots, "default")
@@ -29462,7 +29457,7 @@ const HM = /* @__PURE__ */ Pe(oD, [["render", aD]]), sD = { class: "flex items-s
29462
29457
  label: a.label,
29463
29458
  "label-for": S(n)
29464
29459
  }, null, 8, ["label", "label-for"]),
29465
- a.helpText ? ($(), se(S(Ue), {
29460
+ a.helpText ? ($(), se(S(qe), {
29466
29461
  key: 0,
29467
29462
  subdued: ""
29468
29463
  }, {
@@ -29688,7 +29683,7 @@ export {
29688
29683
  UM as Tabs,
29689
29684
  qM as Tag,
29690
29685
  ad as TextField,
29691
- Ue as TextStyle,
29686
+ qe as TextStyle,
29692
29687
  WM as Toast,
29693
29688
  HM as ToastGroup,
29694
29689
  GM as Toggle,
@@ -27,7 +27,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
27
27
 
28
28
  Please specify a more appropriate element using the "as" attribute. For example:
29
29
 
30
- <Link href="${a}" method="${i}" as="button">...</Link>`),o.h(t.as,{...r,...n==="a"?{href:a}:{},onClick:c=>{$B(c)&&(c.preventDefault(),od.visit(a,{data:s,method:i,replace:t.replace,preserveScroll:t.preserveScroll,preserveState:t.preserveState??i!=="get",only:t.only,except:t.except,headers:t.headers,onCancelToken:r.onCancelToken||(()=>({})),onBefore:r.onBefore||(()=>({})),onStart:r.onStart||(()=>({})),onProgress:r.onProgress||(()=>({})),onFinish:r.onFinish||(()=>({})),onCancel:r.onCancel||(()=>({})),onSuccess:r.onSuccess||(()=>({})),onError:r.onError||(()=>({}))}))}},e)}}}),kg=CB;const TB={class:"ml-1 hidden text-black group-hover:block"},Ag=o.defineComponent({__name:"CardHelp",props:{label:{},href:{default:void 0},onClick:{type:Function,default:void 0}},setup(t){const e=t;return(r,n)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.href?o.unref(kg):"button"),o.mergeProps({href:r.href,class:"group ml-2 flex shrink-0 items-center rounded-full border border-transparent p-1 pr-2 text-xs font-normal leading-none text-slate-500 hover:border-slate-300 hover:bg-slate-100 dark:text-zinc-400",target:r.href?"_blank":void 0},r.$attrs,{onClick:r.onClick}),{default:o.withCtx(()=>[o.createVNode(o.unref(Xf),{class:"size-4 group-hover:text-brand-500"}),o.createElementVNode("span",TB,o.toDisplayString(r.label),1)]),_:1},16,["href","target","onClick"]))}}),OB={class:"mb-4 size-14 overflow-hidden rounded-md border bg-white bg-gradient-to-tl from-slate-100 to-50% p-1 shadow"},BB=o.defineComponent({__name:"CardIcon",props:{alt:{},source:{}},setup(t){return(e,r)=>(o.openBlock(),o.createElementBlock("div",OB,[o.createVNode(o.unref($o),{fit:"contain"},{default:o.withCtx(()=>[o.createVNode(o.unref(Pn),{source:e.source,alt:e.alt,class:"rounded"},null,8,["source","alt"])]),_:1})]))}}),PB=o.defineComponent({__name:"CardLayout",props:{columns:{default:1}},setup(t){const e=t,r=o.computed(()=>[{"grid-cols-1":e.columns===1},{"grid-cols-2":e.columns===2},{"grid-cols-3":e.columns===3}]);return(n,i)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["grid gap-[var(--grid-gap)]",r.value])},[o.renderSlot(n.$slots,"default")],2))}}),Cs=o.defineComponent({__name:"CardSection",props:{flush:{type:Boolean,default:!1},alignment:{default:"start"}},setup(t){const e=t,r=o.computed(()=>[{"py-6":e.flush},{"p-6":!e.flush},{"justify-start":e.alignment==="start"},{"justify-end":e.alignment==="end"}]);return(n,i)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass([r.value,"inline-flex h-full flex-col"])},[o.renderSlot(n.$slots,"default")],2))}}),IB={class:"relative bg-slate-200"},DB={key:0,class:"absolute inset-0"},NB=o.defineComponent({__name:"CardMedia",props:{alt:{},ratio:{default:16/9},source:{},subdued:{type:Boolean,default:!1}},setup(t){const e=o.ref(!1);function r(){e.value=!0}return(n,i)=>(o.openBlock(),o.createElementBlock("div",IB,[o.createVNode(o.unref($o),{ratio:n.ratio},{default:o.withCtx(()=>[o.withDirectives(o.createVNode(o.unref(Pn),{alt:n.alt,source:n.source,class:o.normalizeClass({"opacity-30 grayscale":n.subdued}),onError:r},null,8,["alt","source","class"]),[[o.vShow,!e.value]])]),_:1},8,["ratio"]),n.$slots.default?(o.openBlock(),o.createElementBlock("div",DB,[o.createVNode(Cs,null,{default:o.withCtx(()=>[o.renderSlot(n.$slots,"default")]),_:3})])):o.createCommentVNode("",!0)]))}}),RB={},LB={class:"relative flex h-0 items-center"};function FB(t,e){return o.openBlock(),o.createElementBlock("div",LB,e[0]||(e[0]=[o.createElementVNode("div",{class:"h-px w-full shrink-0 bg-slate-300 dark:bg-zinc-700"},null,-1)]))}const zB=be(RB,[["render",FB]]),VB={class:"flex items-center"},jB={class:"truncate"},UB=o.defineComponent({__name:"CardTitle",props:{cardHelp:{default:null}},setup(t){return(e,r)=>(o.openBlock(),o.createBlock(o.unref(Ln),{level:"h2"},{default:o.withCtx(()=>[o.createElementVNode("span",VB,[o.createElementVNode("span",jB,[o.renderSlot(e.$slots,"default")]),e.cardHelp?(o.openBlock(),o.createBlock(o.unref(Ag),o.normalizeProps(o.mergeProps({key:0},e.cardHelp)),null,16)):o.createCommentVNode("",!0)])]),_:3}))}}),qB={class:"h-4 rounded flex [&>*]:flex-shrink-0 overflow-hidden mb-4"},WB=["onMouseenter"],HB=["onMouseenter"],GB={class:"space-x-1"},KB=o.defineComponent({__name:"CategoryBar",props:{categories:{}},setup(t){const e=t,r=o.ref(null),n=o.computed(()=>e.categories.reduce((a,s)=>a+s.value,0)),i=o.computed(()=>e.categories.map(a=>({...a,percentage:(a.value/n.value*100).toFixed(1),color:We(a.color,"500")})));return(a,s)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",qB,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,(c,l)=>(o.openBlock(),o.createElementBlock("div",{key:l,class:o.normalizeClass([{"opacity-50":r.value!==null&&r.value!==l},"h-full w-10 bg-red-500 transition-opacity duration-100"]),style:o.normalizeStyle({width:`${c.percentage}%`,backgroundColor:c.color}),onMouseenter:u=>r.value=l,onMouseleave:s[0]||(s[0]=u=>r.value=null)},null,46,WB))),128))]),o.createElementVNode("ul",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,(c,l)=>(o.openBlock(),o.createElementBlock("li",{key:l,class:o.normalizeClass(["flex pb-2 transition-opacity duration-100 space-x-2",{"opacity-50":r.value!==null&&r.value!==l}]),onMouseenter:u=>r.value=l,onMouseleave:s[1]||(s[1]=u=>r.value=null)},[o.createElementVNode("div",{class:"rounded-full size-2 mt-1.5",style:o.normalizeStyle({backgroundColor:c.color})},null,4),o.createElementVNode("div",null,[o.createVNode(o.unref(Oe),{subdued:"",strong:""},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(c.label),1)]),_:2},1024),o.createElementVNode("div",GB,[o.createVNode(o.unref(Oe),{strong:""},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(c.value),1)]),_:2},1024),o.createVNode(o.unref(Oe),{subdued:""},{default:o.withCtx(()=>[o.createTextVNode(" ("+o.toDisplayString(c.percentage)+"%) ",1)]),_:2},1024)])])],42,HB))),128)),o.createElementVNode("li",null,[s[2]||(s[2]=o.createTextVNode(" Total ")),o.createVNode(o.unref(Oe),{strong:""},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(n.value),1)]),_:1})])])],64))}}),fn=o.defineComponent({__name:"InputLabel",props:{label:{},labelFor:{},labelHidden:{type:Boolean,default:!1}},setup(t){const e=t,r=o.computed(()=>e.labelHidden?Bn:"label");return(n,i)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(r.value),{for:n.labelFor,class:"block w-fit cursor-pointer truncate text-sm leading-0 align-baseline"},{default:o.withCtx(()=>[o.createVNode(o.unref(Oe),{strong:""},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(n.label),1)]),_:1})]),_:1},8,["for"]))}}),YB=["aria-checked","aria-labelledby"],JB={class:"relative"},ZB=["id","value"],XB={class:"pointer-events-none invisible absolute inset-0 z-10 flex size-4 items-center justify-center rounded bg-brand-500 text-white peer-checked:visible"},QB={key:0,"aria-hidden":"true",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},MB={key:1,"aria-hidden":"true",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e3={key:0,class:"-mt-[2px] space-y-1"},t3=o.defineComponent({__name:"Checkbox",props:o.mergeModels({helpText:{default:null},id:{default:null},indeterminate:{type:Boolean},label:{},labelHidden:{type:Boolean,default:!1},value:{type:[String,Number,Boolean]}},{modelValue:{type:[Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,r=o.ref(null),n=o.useModel(t,"modelValue"),i=e.id||Pe("checkbox"),a=o.computed(()=>Array.isArray(n.value)?n.value.includes(e.value):n.value);return(s,c)=>(o.openBlock(),o.createElementBlock("div",{"aria-checked":a.value,"aria-labelledby":o.unref(i),class:"flex items-start space-x-2",role:"checkbox"},[o.createElementVNode("div",JB,[o.withDirectives(o.createElementVNode("input",{id:o.unref(i),ref_key:"$checkboxElement",ref:r,"onUpdate:modelValue":c[0]||(c[0]=l=>n.value=l),class:o.normalizeClass([o.unref(vt)("focus"),"peer block size-4 shrink-0 appearance-none rounded border border-slate-400 bg-white text-brand-500 shadow-sm dark:border-zinc-700 dark:bg-zinc-800 dark:text-blue-500"]),value:s.value,type:"checkbox"},null,10,ZB),[[o.vModelCheckbox,n.value]]),o.createElementVNode("div",XB,[s.indeterminate?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("svg",QB,c[1]||(c[1]=[o.createElementVNode("path",{d:"M11.2 5.59998L6.79999 9.99998L4.79999 7.99998",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},null,-1)]))),s.indeterminate?(o.openBlock(),o.createElementBlock("svg",MB,c[2]||(c[2]=[o.createElementVNode("line",{stroke:"currentColor","stroke-linecap":"round","stroke-width":"2",x1:"4",x2:"12",y1:"8",y2:"8"},null,-1)]))):o.createCommentVNode("",!0)])]),s.labelHidden?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",e3,[o.createVNode(o.unref(fn),{label:s.label,"label-for":o.unref(i)},null,8,["label","label-for"]),s.helpText?(o.openBlock(),o.createBlock(o.unref(Oe),{key:0,subdued:""},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(s.helpText),1)]),_:1})):o.createCommentVNode("",!0)]))],8,YB))}}),r3={class:"space-y-2"},n3={key:0},o3=o.defineComponent({__name:"CheckboxGroup",props:{label:{default:null}},setup(t){return(e,r)=>(o.openBlock(),o.createElementBlock("div",r3,[e.label?(o.openBlock(),o.createElementBlock("p",n3,[o.createVNode(o.unref(Oe),{subdued:"",strong:""},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(e.label),1)]),_:1})])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default")]))}}),i3=["id"],a3=o.defineComponent({__name:"Collapsible",props:{id:{},open:{type:Boolean,default:!1}},setup(t){function e(a){a.style.height="0"}function r(a){a.style.height=a.scrollHeight+"px"}function n(a){a.style.height=a.scrollHeight+"px"}function i(a){a.style.height="0"}return(a,s)=>(o.openBlock(),o.createBlock(o.Transition,{onEnter:r,onLeave:i,onBeforeEnter:e,onBeforeLeave:n},{default:o.withCtx(()=>[o.withDirectives(o.createElementVNode("div",{id:a.id,class:"transition-all duration-200 ease-in-out overflow-hidden",role:"region"},[o.renderSlot(a.$slots,"default")],8,i3),[[o.vShow,a.open]])]),_:3}))}}),s3=["id"],Pi=o.defineComponent({__name:"InlineError",props:{id:{},message:{}},setup(t){return(e,r)=>(o.openBlock(),o.createElementBlock("div",{id:e.id,class:"flex items-center text-red-600 space-x-2"},[r[0]||(r[0]=o.createElementVNode("svg",{viewBox:"0 0 20 20",class:"fill-current w-5 h-5",focusable:"false","aria-hidden":"true"},[o.createElementVNode("path",{d:"M10 6a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-1.5 0v-3.5a.75.75 0 0 1 .75-.75Z"}),o.createElementVNode("path",{d:"M11 13a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"}),o.createElementVNode("path",{"fill-rule":"evenodd",d:"M17 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0Zm-1.5 0a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0Z"})],-1)),o.createElementVNode("span",null,o.toDisplayString(e.message),1)],8,s3))}}),l3={class:"w-full"},c3={class:"block cursor-pointer px-2 py-1.5"},u3={class:"font-mono"},d3=["id","name"],f3={class:"text-sm text-slate-500"},p3=o.defineComponent({__name:"ColorInput",props:o.mergeModels({disabled:{type:Boolean,default:!1},error:{default:null},helpText:{default:null},id:{default:null},label:{},labelHidden:{type:Boolean,default:!1},name:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,r=o.useModel(t,"modelValue"),n=e.id||Pe("colorInput"),i=o.computed(()=>e.error?Pe("colorInputError"):void 0),a=o.computed(()=>[{"mt-1":!e.labelHidden},{"pointer-events-none bg-slate-50 cursor-not-allowed":e.disabled},{"bg-white cursor-pointer":!e.disabled},...vt("focusWithin")]);return(s,c)=>(o.openBlock(),o.createElementBlock("div",l3,[o.createVNode(o.unref(fn),{id:`${o.unref(n)}-label`,label:s.label,"label-for":o.unref(n),"label-hidden":s.labelHidden,"aria-disabled":s.disabled},null,8,["id","label","label-for","label-hidden","aria-disabled"]),o.createElementVNode("label",{class:o.normalizeClass(["relative flex w-full items-center rounded border shadow-sm",a.value])},[o.createElementVNode("span",c3,[o.createElementVNode("span",{class:"block rounded size-6",style:o.normalizeStyle({backgroundColor:r.value})},null,4)]),o.createElementVNode("span",u3,o.toDisplayString(r.value),1),o.createVNode(o.unref(Bn),null,{default:o.withCtx(()=>[o.withDirectives(o.createElementVNode("input",{id:o.unref(n),"onUpdate:modelValue":c[0]||(c[0]=l=>r.value=l),name:s.name,type:"color"},null,8,d3),[[o.vModelText,r.value]])]),_:1})],2),s.error&&i.value?(o.openBlock(),o.createBlock(o.unref(Pi),{key:0,id:i.value,message:s.error},null,8,["id","message"])):o.createCommentVNode("",!0),o.createElementVNode("p",f3,o.toDisplayString(s.helpText),1)]))}}),h3=["value"],m3=be(o.defineComponent({__name:"ColorPalette",props:o.mergeModels({colors:{},rows:{default:2}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,r=o.useModel(t,"modelValue"),n=o.computed(()=>({gridTemplateColumns:`repeat(${Math.round(e.colors.length/e.rows)}, minmax(0, 1fr))`}));function i(a){return We(a,"500")}return(a,s)=>(o.openBlock(),o.createElementBlock("ul",{class:"grid gap-x-4 gap-y-2",style:o.normalizeStyle(n.value)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.colors,c=>(o.openBlock(),o.createElementBlock("li",{key:c},[o.withDirectives(o.createElementVNode("input",{"onUpdate:modelValue":s[0]||(s[0]=l=>r.value=l),value:c,class:"flex size-6 cursor-pointer appearance-none items-center justify-center rounded-full bg-gradient-to-tr from-white/20 shadow-inner transition-opacity duration-100 hover:opacity-50",type:"radio",style:o.normalizeStyle({backgroundColor:i(c)})},null,12,h3),[[o.vModelRadio,r.value]])]))),128))],4))}}),[["__scopeId","data-v-55656b4c"]]);/**!
30
+ <Link href="${a}" method="${i}" as="button">...</Link>`),o.h(t.as,{...r,...n==="a"?{href:a}:{},onClick:c=>{$B(c)&&(c.preventDefault(),od.visit(a,{data:s,method:i,replace:t.replace,preserveScroll:t.preserveScroll,preserveState:t.preserveState??i!=="get",only:t.only,except:t.except,headers:t.headers,onCancelToken:r.onCancelToken||(()=>({})),onBefore:r.onBefore||(()=>({})),onStart:r.onStart||(()=>({})),onProgress:r.onProgress||(()=>({})),onFinish:r.onFinish||(()=>({})),onCancel:r.onCancel||(()=>({})),onSuccess:r.onSuccess||(()=>({})),onError:r.onError||(()=>({}))}))}},e)}}}),kg=CB;const TB={class:"ml-1 hidden text-black group-hover:block"},Ag=o.defineComponent({__name:"CardHelp",props:{label:{},href:{default:void 0},onClick:{type:Function,default:void 0}},setup(t){const e=t;return(r,n)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.href?o.unref(kg):"button"),o.mergeProps({href:r.href,class:"group ml-2 flex shrink-0 items-center rounded-full border border-transparent p-1 pr-2 text-xs font-normal leading-none text-slate-500 hover:border-slate-300 hover:bg-slate-100 dark:text-zinc-400",target:r.href?"_blank":void 0},r.$attrs,{onClick:r.onClick}),{default:o.withCtx(()=>[o.createVNode(o.unref(Xf),{class:"size-4 group-hover:text-brand-500"}),o.createElementVNode("span",TB,o.toDisplayString(r.label),1)]),_:1},16,["href","target","onClick"]))}}),OB={class:"mb-4 size-14 overflow-hidden rounded-md border bg-white bg-gradient-to-tl from-slate-100 to-50% p-1 shadow"},BB=o.defineComponent({__name:"CardIcon",props:{alt:{},source:{}},setup(t){return(e,r)=>(o.openBlock(),o.createElementBlock("div",OB,[o.createVNode(o.unref($o),{fit:"contain"},{default:o.withCtx(()=>[o.createVNode(o.unref(Pn),{source:e.source,alt:e.alt,class:"rounded"},null,8,["source","alt"])]),_:1})]))}}),PB=o.defineComponent({__name:"CardLayout",props:{columns:{default:1}},setup(t){const e=t,r=o.computed(()=>[{"grid-cols-1":e.columns===1},{"grid-cols-2":e.columns===2},{"grid-cols-3":e.columns===3}]);return(n,i)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["grid gap-[var(--grid-gap)]",r.value])},[o.renderSlot(n.$slots,"default")],2))}}),Cs=o.defineComponent({__name:"CardSection",props:{flush:{type:Boolean,default:!1},alignment:{default:"start"}},setup(t){const e=t,r=o.computed(()=>[{"py-6":e.flush},{"p-6":!e.flush},{"justify-start":e.alignment==="start"},{"justify-end":e.alignment==="end"}]);return(n,i)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass([r.value,"inline-flex h-full flex-col"])},[o.renderSlot(n.$slots,"default")],2))}}),IB={class:"relative bg-slate-200"},DB={key:0,class:"absolute inset-0"},NB=o.defineComponent({__name:"CardMedia",props:{alt:{},ratio:{default:16/9},source:{},subdued:{type:Boolean,default:!1}},setup(t){const e=o.ref(!1);function r(){e.value=!0}return(n,i)=>(o.openBlock(),o.createElementBlock("div",IB,[o.createVNode(o.unref($o),{ratio:n.ratio},{default:o.withCtx(()=>[o.withDirectives(o.createVNode(o.unref(Pn),{alt:n.alt,source:n.source,class:o.normalizeClass({"opacity-30 grayscale":n.subdued}),onError:r},null,8,["alt","source","class"]),[[o.vShow,!e.value]])]),_:1},8,["ratio"]),n.$slots.default?(o.openBlock(),o.createElementBlock("div",DB,[o.createVNode(Cs,null,{default:o.withCtx(()=>[o.renderSlot(n.$slots,"default")]),_:3})])):o.createCommentVNode("",!0)]))}}),RB={},LB={class:"relative flex h-0 items-center"};function FB(t,e){return o.openBlock(),o.createElementBlock("div",LB,e[0]||(e[0]=[o.createElementVNode("div",{class:"h-px w-full shrink-0 bg-slate-300 dark:bg-zinc-700"},null,-1)]))}const zB=be(RB,[["render",FB]]),VB={class:"flex items-center"},jB={class:"truncate"},UB=o.defineComponent({__name:"CardTitle",props:{cardHelp:{default:null}},setup(t){return(e,r)=>(o.openBlock(),o.createBlock(o.unref(Ln),{level:"h2"},{default:o.withCtx(()=>[o.createElementVNode("span",VB,[o.createElementVNode("span",jB,[o.renderSlot(e.$slots,"default")]),e.cardHelp?(o.openBlock(),o.createBlock(o.unref(Ag),o.normalizeProps(o.mergeProps({key:0},e.cardHelp)),null,16)):o.createCommentVNode("",!0)])]),_:3}))}}),qB={class:"h-4 rounded flex [&>*]:flex-shrink-0 overflow-hidden mb-4"},WB=["onMouseenter"],HB=["onMouseenter"],GB={class:"space-x-1"},KB=o.defineComponent({__name:"CategoryBar",props:{categories:{}},setup(t){const e=t,r=o.ref(null),n=o.computed(()=>e.categories.reduce((a,s)=>a+s.value,0)),i=o.computed(()=>e.categories.map(a=>({...a,percentage:(a.value/n.value*100).toFixed(1),color:We(a.color,"500")})));return(a,s)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",qB,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,(c,l)=>(o.openBlock(),o.createElementBlock("div",{key:l,class:o.normalizeClass([{"opacity-50":r.value!==null&&r.value!==l},"h-full w-10 bg-red-500 transition-opacity duration-100"]),style:o.normalizeStyle({width:`${c.percentage}%`,backgroundColor:c.color}),onMouseenter:u=>r.value=l,onMouseleave:s[0]||(s[0]=u=>r.value=null)},null,46,WB))),128))]),o.createElementVNode("ul",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value,(c,l)=>(o.openBlock(),o.createElementBlock("li",{key:l,class:o.normalizeClass(["flex pb-2 transition-opacity duration-100 space-x-2",{"opacity-50":r.value!==null&&r.value!==l}]),onMouseenter:u=>r.value=l,onMouseleave:s[1]||(s[1]=u=>r.value=null)},[o.createElementVNode("div",{class:"rounded-full size-2 mt-1.5",style:o.normalizeStyle({backgroundColor:c.color})},null,4),o.createElementVNode("div",null,[o.createVNode(o.unref(Oe),{subdued:"",strong:""},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(c.label),1)]),_:2},1024),o.createElementVNode("div",GB,[o.createVNode(o.unref(Oe),{strong:""},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(c.value),1)]),_:2},1024),o.createVNode(o.unref(Oe),{subdued:""},{default:o.withCtx(()=>[o.createTextVNode(" ("+o.toDisplayString(c.percentage)+"%) ",1)]),_:2},1024)])])],42,HB))),128)),o.createElementVNode("li",null,[s[2]||(s[2]=o.createTextVNode(" Total ")),o.createVNode(o.unref(Oe),{strong:""},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(n.value),1)]),_:1})])])],64))}}),fn=o.defineComponent({__name:"InputLabel",props:{label:{},labelFor:{},labelHidden:{type:Boolean,default:!1}},setup(t){const e=t,r=o.computed(()=>e.labelHidden?Bn:"label");return(n,i)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(r.value),{for:n.labelFor,class:"block w-fit cursor-pointer truncate align-baseline text-sm font-medium"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(n.label),1)]),_:1},8,["for"]))}}),YB=["aria-checked","aria-labelledby"],JB={class:"relative"},ZB=["id","value"],XB={class:"pointer-events-none invisible absolute inset-0 z-10 flex size-4 items-center justify-center rounded bg-brand-500 text-white peer-checked:visible"},QB={key:0,"aria-hidden":"true",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},MB={key:1,"aria-hidden":"true",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e3={key:0,class:"-mt-[2px] space-y-1"},t3=o.defineComponent({__name:"Checkbox",props:o.mergeModels({helpText:{default:null},id:{default:null},indeterminate:{type:Boolean},label:{},labelHidden:{type:Boolean,default:!1},value:{type:[String,Number,Boolean]}},{modelValue:{type:[Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,r=o.ref(null),n=o.useModel(t,"modelValue"),i=e.id||Pe("checkbox"),a=o.computed(()=>Array.isArray(n.value)?n.value.includes(e.value):n.value);return(s,c)=>(o.openBlock(),o.createElementBlock("div",{"aria-checked":a.value,"aria-labelledby":o.unref(i),class:"flex items-start space-x-2",role:"checkbox"},[o.createElementVNode("div",JB,[o.withDirectives(o.createElementVNode("input",{id:o.unref(i),ref_key:"$checkboxElement",ref:r,"onUpdate:modelValue":c[0]||(c[0]=l=>n.value=l),class:o.normalizeClass([o.unref(vt)("focus"),"peer block size-4 shrink-0 appearance-none rounded border border-slate-400 bg-white text-brand-500 shadow-sm dark:border-zinc-700 dark:bg-zinc-800 dark:text-blue-500"]),value:s.value,type:"checkbox"},null,10,ZB),[[o.vModelCheckbox,n.value]]),o.createElementVNode("div",XB,[s.indeterminate?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("svg",QB,c[1]||(c[1]=[o.createElementVNode("path",{d:"M11.2 5.59998L6.79999 9.99998L4.79999 7.99998",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},null,-1)]))),s.indeterminate?(o.openBlock(),o.createElementBlock("svg",MB,c[2]||(c[2]=[o.createElementVNode("line",{stroke:"currentColor","stroke-linecap":"round","stroke-width":"2",x1:"4",x2:"12",y1:"8",y2:"8"},null,-1)]))):o.createCommentVNode("",!0)])]),s.labelHidden?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",e3,[o.createVNode(o.unref(fn),{label:s.label,"label-for":o.unref(i)},null,8,["label","label-for"]),s.helpText?(o.openBlock(),o.createBlock(o.unref(Oe),{key:0,subdued:""},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(s.helpText),1)]),_:1})):o.createCommentVNode("",!0)]))],8,YB))}}),r3={class:"space-y-2"},n3={key:0},o3=o.defineComponent({__name:"CheckboxGroup",props:{label:{default:null}},setup(t){return(e,r)=>(o.openBlock(),o.createElementBlock("div",r3,[e.label?(o.openBlock(),o.createElementBlock("p",n3,[o.createVNode(o.unref(Oe),{subdued:"",strong:""},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(e.label),1)]),_:1})])):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"default")]))}}),i3=["id"],a3=o.defineComponent({__name:"Collapsible",props:{id:{},open:{type:Boolean,default:!1}},setup(t){function e(a){a.style.height="0"}function r(a){a.style.height=a.scrollHeight+"px"}function n(a){a.style.height=a.scrollHeight+"px"}function i(a){a.style.height="0"}return(a,s)=>(o.openBlock(),o.createBlock(o.Transition,{onEnter:r,onLeave:i,onBeforeEnter:e,onBeforeLeave:n},{default:o.withCtx(()=>[o.withDirectives(o.createElementVNode("div",{id:a.id,class:"transition-all duration-200 ease-in-out overflow-hidden",role:"region"},[o.renderSlot(a.$slots,"default")],8,i3),[[o.vShow,a.open]])]),_:3}))}}),s3=["id"],Pi=o.defineComponent({__name:"InlineError",props:{id:{},message:{}},setup(t){return(e,r)=>(o.openBlock(),o.createElementBlock("div",{id:e.id,class:"flex items-center text-red-600 space-x-2"},[r[0]||(r[0]=o.createElementVNode("svg",{viewBox:"0 0 20 20",class:"fill-current w-5 h-5",focusable:"false","aria-hidden":"true"},[o.createElementVNode("path",{d:"M10 6a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-1.5 0v-3.5a.75.75 0 0 1 .75-.75Z"}),o.createElementVNode("path",{d:"M11 13a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"}),o.createElementVNode("path",{"fill-rule":"evenodd",d:"M17 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0Zm-1.5 0a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0Z"})],-1)),o.createElementVNode("span",null,o.toDisplayString(e.message),1)],8,s3))}}),l3={class:"w-full"},c3={class:"block cursor-pointer px-2 py-1.5"},u3={class:"font-mono"},d3=["id","name"],f3={class:"text-sm text-slate-500"},p3=o.defineComponent({__name:"ColorInput",props:o.mergeModels({disabled:{type:Boolean,default:!1},error:{default:null},helpText:{default:null},id:{default:null},label:{},labelHidden:{type:Boolean,default:!1},name:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,r=o.useModel(t,"modelValue"),n=e.id||Pe("colorInput"),i=o.computed(()=>e.error?Pe("colorInputError"):void 0),a=o.computed(()=>[{"mt-1":!e.labelHidden},{"pointer-events-none bg-slate-50 cursor-not-allowed":e.disabled},{"bg-white cursor-pointer":!e.disabled},...vt("focusWithin")]);return(s,c)=>(o.openBlock(),o.createElementBlock("div",l3,[o.createVNode(o.unref(fn),{id:`${o.unref(n)}-label`,label:s.label,"label-for":o.unref(n),"label-hidden":s.labelHidden,"aria-disabled":s.disabled},null,8,["id","label","label-for","label-hidden","aria-disabled"]),o.createElementVNode("label",{class:o.normalizeClass(["relative flex w-full items-center rounded border shadow-sm",a.value])},[o.createElementVNode("span",c3,[o.createElementVNode("span",{class:"block rounded size-6",style:o.normalizeStyle({backgroundColor:r.value})},null,4)]),o.createElementVNode("span",u3,o.toDisplayString(r.value),1),o.createVNode(o.unref(Bn),null,{default:o.withCtx(()=>[o.withDirectives(o.createElementVNode("input",{id:o.unref(n),"onUpdate:modelValue":c[0]||(c[0]=l=>r.value=l),name:s.name,type:"color"},null,8,d3),[[o.vModelText,r.value]])]),_:1})],2),s.error&&i.value?(o.openBlock(),o.createBlock(o.unref(Pi),{key:0,id:i.value,message:s.error},null,8,["id","message"])):o.createCommentVNode("",!0),o.createElementVNode("p",f3,o.toDisplayString(s.helpText),1)]))}}),h3=["value"],m3=be(o.defineComponent({__name:"ColorPalette",props:o.mergeModels({colors:{},rows:{default:2}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,r=o.useModel(t,"modelValue"),n=o.computed(()=>({gridTemplateColumns:`repeat(${Math.round(e.colors.length/e.rows)}, minmax(0, 1fr))`}));function i(a){return We(a,"500")}return(a,s)=>(o.openBlock(),o.createElementBlock("ul",{class:"grid gap-x-4 gap-y-2",style:o.normalizeStyle(n.value)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.colors,c=>(o.openBlock(),o.createElementBlock("li",{key:c},[o.withDirectives(o.createElementVNode("input",{"onUpdate:modelValue":s[0]||(s[0]=l=>r.value=l),value:c,class:"flex size-6 cursor-pointer appearance-none items-center justify-center rounded-full bg-gradient-to-tr from-white/20 shadow-inner transition-opacity duration-100 hover:opacity-50",type:"radio",style:o.normalizeStyle({backgroundColor:i(c)})},null,12,h3),[[o.vModelRadio,r.value]])]))),128))],4))}}),[["__scopeId","data-v-55656b4c"]]);/**!
31
31
  * Sortable 1.15.6
32
32
  * @author RubaXa <trash@rubaxa.org>
33
33
  * @author owenm <owen23355@gmail.com>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@returnless/focus-ui",
3
- "version": "0.0.49",
3
+ "version": "0.0.50",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {