@dolanske/vui 1.16.0 → 1.16.1

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 (3) hide show
  1. package/dist/vui.css +1 -1
  2. package/dist/vui.js +171 -177
  3. package/package.json +1 -1
package/dist/vui.js CHANGED
@@ -11344,7 +11344,7 @@ var Yd = /* @__PURE__ */ y({
11344
11344
  },
11345
11345
  setup(e, { expose: t }) {
11346
11346
  let n = J("content"), { x: r, y: i } = bn(n), a = l(() => e.horizontal && r.value > 0), o = l(() => !e.horizontal || !n.value ? !1 : r.value < n.value.scrollWidth - n.value.clientWidth - 1), s = l(() => !e.horizontal && i.value > 0), c = l(() => e.horizontal || !n.value ? !1 : i.value < n.value.scrollHeight - n.value.clientHeight - 1);
11347
- return t({ contentRef: n }), (t, n) => (R(), f("div", { class: N(["overflow", {
11347
+ return t({ contentRef: n }), (t, n) => (R(), f("div", { class: N(["vui-overflow", {
11348
11348
  "hide-scrollbar": e.hideScrollbar,
11349
11349
  "hide-shadows": e.hideShadows,
11350
11350
  "is-horizontal": e.horizontal,
@@ -14039,10 +14039,10 @@ var zh = /* @__PURE__ */ y({
14039
14039
  }, 8, ["name", "css"])
14040
14040
  ], 2));
14041
14041
  }
14042
- }), Gh = { class: "vui-emoji-search" }, Kh = { class: "emoji-item" }, qh = { class: "vui-emoji-content" }, Jh = { class: "vui-emoji-picker" }, Yh = ["data-title-group"], Xh = { class: "emoji-item" }, Zh = {
14042
+ }), Gh = { class: "vui-emoji-search" }, Kh = { class: "emoji-item" }, qh = { class: "vui-emoji-content" }, Jh = { class: "vui-emoji-picker" }, Yh = ["data-title-group"], Xh = ["onMouseover", "onClick"], Zh = { class: "emoji-item" }, Qh = {
14043
14043
  key: 0,
14044
14044
  class: "vui-emoji-footer"
14045
- }, Qh = { class: "emoji-item" }, $h = -16, eg = /* @__PURE__ */ y({
14045
+ }, $h = { class: "emoji-item" }, eg = -16, tg = /* @__PURE__ */ y({
14046
14046
  __name: "EmojiPicker",
14047
14047
  emits: ["select"],
14048
14048
  setup(e, { emit: t }) {
@@ -14071,7 +14071,7 @@ var zh = /* @__PURE__ */ y({
14071
14071
  }, 100), M(() => {
14072
14072
  let t = g.value?.find((t) => t.dataset.titleGroup === e)?.nextElementSibling, n = S.value?.contentRef;
14073
14073
  if (t && n && n) {
14074
- let e = n.getBoundingClientRect(), r = t.getBoundingClientRect(), i = n.scrollTop + (r.top - e.top) + $h;
14074
+ let e = n.getBoundingClientRect(), r = t.getBoundingClientRect(), i = n.scrollTop + (r.top - e.top) + eg;
14075
14075
  n.scrollTo({
14076
14076
  top: Math.max(0, i),
14077
14077
  behavior: "instant"
@@ -14144,7 +14144,7 @@ var zh = /* @__PURE__ */ y({
14144
14144
  }, 1032, ["value", "onClick"]))), 128))]),
14145
14145
  _: 1
14146
14146
  }, 8, ["model-value"])]),
14147
- footer: X(() => [o.value ? (R(), f("div", Zh, [p("span", Qh, G(o.value.emoji), 1), p("p", null, G(s(o.value.label)), 1)])) : d("", !0)]),
14147
+ footer: X(() => [o.value ? (R(), f("div", Qh, [p("span", $h, G(o.value.emoji), 1), p("p", null, G(s(o.value.label)), 1)])) : d("", !0)]),
14148
14148
  default: X(() => [p("div", qh, [_(pf, {
14149
14149
  ref_key: "overflow",
14150
14150
  ref: S,
@@ -14165,17 +14165,11 @@ var zh = /* @__PURE__ */ y({
14165
14165
  "x-center": "",
14166
14166
  "y-center": ""
14167
14167
  }, {
14168
- default: X(() => [(R(!0), f(n, null, H(w.value[t], (e) => (R(), u(vr, {
14168
+ default: X(() => [(R(!0), f(n, null, H(w.value[t], (e) => (R(), f("button", {
14169
14169
  key: e.hexcode,
14170
- plain: "",
14171
- square: "",
14172
- size: "l",
14173
14170
  onMouseover: (t) => o.value = e,
14174
14171
  onClick: (t) => r("select", e)
14175
- }, {
14176
- default: X(() => [p("span", Xh, G(e.emoji), 1)]),
14177
- _: 2
14178
- }, 1032, ["onMouseover", "onClick"]))), 128))]),
14172
+ }, [p("span", Zh, G(e.emoji), 1)], 40, Xh))), 128))]),
14179
14173
  _: 2
14180
14174
  }, 1024)]))), 128))])]),
14181
14175
  _: 1
@@ -14183,7 +14177,7 @@ var zh = /* @__PURE__ */ y({
14183
14177
  _: 1
14184
14178
  })) : d("", !0);
14185
14179
  }
14186
- }), tg = /* @__PURE__ */ y({
14180
+ }), ng = /* @__PURE__ */ y({
14187
14181
  __name: "Indicator",
14188
14182
  props: {
14189
14183
  variant: {},
@@ -14219,11 +14213,11 @@ var zh = /* @__PURE__ */ y({
14219
14213
  })
14220
14214
  }, [U(e.$slots, "default")], 6));
14221
14215
  }
14222
- }), ng = /^#[0-9A-F]{0,6}$/i, rg = /^r(g(b(\(\s*(\d{1,3}(\s*,\s*(\d{1,3}(\s*,\s*(\d{1,3}\s*\)?)?)?)?)?)?)?)?)?$/;
14223
- function ig(e) {
14216
+ }), rg = /^#[0-9A-F]{0,6}$/i, ig = /^r(g(b(\(\s*(\d{1,3}(\s*,\s*(\d{1,3}(\s*,\s*(\d{1,3}\s*\)?)?)?)?)?)?)?)?)?$/;
14217
+ function ag(e) {
14224
14218
  return `rgb(${Number.parseInt(e.slice(1, 3), 16)}, ${Number.parseInt(e.slice(3, 5), 16)}, ${Number.parseInt(e.slice(5, 7), 16)})`;
14225
14219
  }
14226
- function ag(e, t = "#000000") {
14220
+ function og(e, t = "#000000") {
14227
14221
  if (!e) return t;
14228
14222
  if (e.startsWith("#")) return e.length === 7 ? e : t;
14229
14223
  let n = e.match(/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)/);
@@ -14231,10 +14225,10 @@ function ag(e, t = "#000000") {
14231
14225
  }
14232
14226
  //#endregion
14233
14227
  //#region src/components/Input/Input.vue?vue&type=script&setup=true&lang.ts
14234
- var og = { class: "vui-input" }, sg = ["for"], cg = {
14228
+ var sg = { class: "vui-input" }, cg = ["for"], lg = {
14235
14229
  key: 1,
14236
14230
  class: "vui-input-hint"
14237
- }, lg = [
14231
+ }, ug = [
14238
14232
  "id",
14239
14233
  "readonly",
14240
14234
  "type",
@@ -14245,13 +14239,13 @@ var og = { class: "vui-input" }, sg = ["for"], cg = {
14245
14239
  "multiple",
14246
14240
  "min",
14247
14241
  "disabled"
14248
- ], ug = {
14242
+ ], dg = {
14249
14243
  key: 0,
14250
14244
  class: "vui-input-limit"
14251
- }, dg = {
14245
+ }, fg = {
14252
14246
  key: 1,
14253
14247
  class: "vui-input-errors"
14254
- }, fg = /* @__PURE__ */ y({
14248
+ }, pg = /* @__PURE__ */ y({
14255
14249
  __name: "Input",
14256
14250
  props: /* @__PURE__ */ A({
14257
14251
  type: { default: "text" },
@@ -14296,12 +14290,12 @@ var og = { class: "vui-input" }, sg = ["for"], cg = {
14296
14290
  "has-errors": e.errors.length > 0
14297
14291
  }]) }, [
14298
14292
  U(t.$slots, "before"),
14299
- p("div", og, [
14293
+ p("div", sg, [
14300
14294
  e.label ? (R(), f("label", {
14301
14295
  key: 0,
14302
14296
  for: q(i)
14303
- }, G(e.label), 9, sg)) : d("", !0),
14304
- e.hint ? (R(), f("p", cg, G(e.hint), 1)) : d("", !0),
14297
+ }, G(e.label), 9, cg)) : d("", !0),
14298
+ e.hint ? (R(), f("p", lg, G(e.hint), 1)) : d("", !0),
14305
14299
  _(cr, {
14306
14300
  class: "vui-input-style",
14307
14301
  gap: 5,
@@ -14325,18 +14319,18 @@ var og = { class: "vui-input" }, sg = ["for"], cg = {
14325
14319
  multiple: e.multiple,
14326
14320
  min: e.min,
14327
14321
  disabled: e.disabled
14328
- }, null, 8, lg)), [[_e, r.value]]),
14322
+ }, null, 8, ug)), [[_e, r.value]]),
14329
14323
  U(t.$slots, "end")
14330
14324
  ]),
14331
14325
  _: 3
14332
14326
  })
14333
14327
  ]),
14334
- e.limit ? (R(), f("p", ug, G(o.value), 1)) : d("", !0),
14335
- e.errors.length > 0 ? (R(), f("ul", dg, [(R(!0), f(n, null, H(e.errors, (e) => (R(), f("li", { key: e }, G(e), 1))), 128))])) : d("", !0),
14328
+ e.limit ? (R(), f("p", dg, G(o.value), 1)) : d("", !0),
14329
+ e.errors.length > 0 ? (R(), f("ul", fg, [(R(!0), f(n, null, H(e.errors, (e) => (R(), f("li", { key: e }, G(e), 1))), 128))])) : d("", !0),
14336
14330
  U(t.$slots, "after")
14337
14331
  ], 2));
14338
14332
  }
14339
- }), pg = ["id"], mg = ["for"], hg = ["value", "placeholder"], gg = /* @__PURE__ */ y({
14333
+ }), mg = ["id"], hg = ["for"], gg = ["value", "placeholder"], _g = /* @__PURE__ */ y({
14340
14334
  __name: "Color",
14341
14335
  props: /* @__PURE__ */ A({
14342
14336
  type: {},
@@ -14363,21 +14357,21 @@ var og = { class: "vui-input" }, sg = ["for"], cg = {
14363
14357
  setup(e) {
14364
14358
  let t = e, n = de(), r = pe(), [i, a] = me(e, "modelValue"), o = l({
14365
14359
  get() {
14366
- return ag(i.value ?? "", wd.value === "dark" ? "#ffffff" : "#000000");
14360
+ return og(i.value ?? "", wd.value === "dark" ? "#ffffff" : "#000000");
14367
14361
  },
14368
14362
  set(e) {
14369
- i.value = a.rgb ? ig(e) : e;
14363
+ i.value = a.rgb ? ag(e) : e;
14370
14364
  }
14371
14365
  });
14372
14366
  function s(e) {
14373
14367
  let t = e.target, n = t.value;
14374
- if (n && (a.rgb ? !rg.test(n) : !ng.test(n))) {
14368
+ if (n && (a.rgb ? !ig.test(n) : !rg.test(n))) {
14375
14369
  t.value = i.value ?? "";
14376
14370
  return;
14377
14371
  }
14378
14372
  i.value = n;
14379
14373
  }
14380
- return (e, a) => (R(), u(fg, j({
14374
+ return (e, a) => (R(), u(pg, j({
14381
14375
  ...q(n),
14382
14376
  ...t
14383
14377
  }, {
@@ -14389,7 +14383,7 @@ var og = { class: "vui-input" }, sg = ["for"], cg = {
14389
14383
  "onUpdate:modelValue": a[0] ||= (e) => o.value = e,
14390
14384
  type: "color",
14391
14385
  tabindex: "0"
14392
- }, null, 8, pg), [[ye, o.value]]), p("label", { for: q(r) }, [p("div", {
14386
+ }, null, 8, mg), [[ye, o.value]]), p("label", { for: q(r) }, [p("div", {
14393
14387
  class: "vui-input-color-indicator",
14394
14388
  style: F({ backgroundColor: q(i) })
14395
14389
  }, [q(i) ? d("", !0) : (R(), u(q(nt), { key: 0 }))], 4), p("input", {
@@ -14397,11 +14391,11 @@ var og = { class: "vui-input" }, sg = ["for"], cg = {
14397
14391
  type: "text",
14398
14392
  placeholder: t.placeholder,
14399
14393
  onInput: s
14400
- }, null, 40, hg)], 8, mg)]),
14394
+ }, null, 40, gg)], 8, hg)]),
14401
14395
  _: 1
14402
14396
  }, 16));
14403
14397
  }
14404
- }), _g = /* @__PURE__ */ Qd(/* @__PURE__ */ y({
14398
+ }), vg = /* @__PURE__ */ Qd(/* @__PURE__ */ y({
14405
14399
  __name: "Counter",
14406
14400
  props: /* @__PURE__ */ A({
14407
14401
  label: {},
@@ -14451,7 +14445,7 @@ var og = { class: "vui-input" }, sg = ["for"], cg = {
14451
14445
  "decrementEnabled",
14452
14446
  "hideDecrement"
14453
14447
  ]), n = me(e, "modelValue");
14454
- return (r, i) => (R(), u(fg, j(t, {
14448
+ return (r, i) => (R(), u(pg, j(t, {
14455
14449
  modelValue: n.value,
14456
14450
  "onUpdate:modelValue": i[2] ||= (e) => n.value = e,
14457
14451
  modelModifiers: { number: !0 },
@@ -14482,7 +14476,7 @@ var og = { class: "vui-input" }, sg = ["for"], cg = {
14482
14476
  _: 1
14483
14477
  }, 16, ["modelValue"]));
14484
14478
  }
14485
- }), [["__scopeId", "data-v-5059e818"]]), vg = ["id"], yg = ["for"], bg = /* @__PURE__ */ y({
14479
+ }), [["__scopeId", "data-v-5059e818"]]), yg = ["id"], bg = ["for"], xg = /* @__PURE__ */ y({
14486
14480
  __name: "Dropzone",
14487
14481
  props: {
14488
14482
  label: {},
@@ -14508,7 +14502,7 @@ var og = { class: "vui-input" }, sg = ["for"], cg = {
14508
14502
  let s = J("dropzone");
14509
14503
  return L(() => {
14510
14504
  Z(s, "dragenter", o, !1), Z(s, "dragleave", o, !1), Z(s, "dragover", o, !1), Z(s, "drop", o, !1), Z(s, "input", (e) => o(e, !0), !1);
14511
- }), (e, t) => (R(), u(fg, j(r, {
14505
+ }), (e, t) => (R(), u(pg, j(r, {
14512
14506
  ref: "dropzone",
14513
14507
  type: "file",
14514
14508
  class: ["vui-dropzone", { dragging: a.value }],
@@ -14518,18 +14512,18 @@ var og = { class: "vui-input" }, sg = ["for"], cg = {
14518
14512
  __internal_replace_input: X(({ inputId: r }) => [p("input", {
14519
14513
  id: r,
14520
14514
  type: "file"
14521
- }, null, 8, vg), p("label", { for: r }, [U(e.$slots, "default", { dragging: a.value }, () => [_(cr, {
14515
+ }, null, 8, yg), p("label", { for: r }, [U(e.$slots, "default", { dragging: a.value }, () => [_(cr, {
14522
14516
  "x-center": "",
14523
14517
  gap: "xs",
14524
14518
  "y-center": ""
14525
14519
  }, {
14526
14520
  default: X(() => [a.value ? (R(), f(n, { key: 0 }, [_(q(lt)), t[2] ||= g(" Drop it ", -1)], 64)) : (R(), f(n, { key: 1 }, [_(q(Ze)), t[3] ||= g(" Click or drag files over here ", -1)], 64))]),
14527
14521
  _: 1
14528
- })])], 8, yg)]),
14522
+ })])], 8, bg)]),
14529
14523
  _: 3
14530
14524
  }, 16, ["class"]));
14531
14525
  }
14532
- }), xg = /* @__PURE__ */ y({
14526
+ }), Sg = /* @__PURE__ */ y({
14533
14527
  __name: "File",
14534
14528
  props: {
14535
14529
  label: {},
@@ -14551,9 +14545,9 @@ var og = { class: "vui-input" }, sg = ["for"], cg = {
14551
14545
  emits: ["files"],
14552
14546
  setup(e, { emit: t }) {
14553
14547
  let n = e, r = t;
14554
- return (e, t) => (R(), u(fg, j({ type: "file" }, n, { onInput: t[0] ||= (e) => r("files", e.target.files) }), null, 16));
14548
+ return (e, t) => (R(), u(pg, j({ type: "file" }, n, { onInput: t[0] ||= (e) => r("files", e.target.files) }), null, 16));
14555
14549
  }
14556
- }), Sg = /* @__PURE__ */ y({
14550
+ }), Cg = /* @__PURE__ */ y({
14557
14551
  __name: "Password",
14558
14552
  props: {
14559
14553
  label: {},
@@ -14578,7 +14572,7 @@ var og = { class: "vui-input" }, sg = ["for"], cg = {
14578
14572
  },
14579
14573
  setup(e) {
14580
14574
  let t = m(e, ["showPassword", "type"]), n = V(e.showPassword);
14581
- return (e, r) => (R(), u(fg, j(t, {
14575
+ return (e, r) => (R(), u(pg, j(t, {
14582
14576
  type: n.value ? "text" : "password",
14583
14577
  autocomplete: "off"
14584
14578
  }), {
@@ -14602,10 +14596,10 @@ var og = { class: "vui-input" }, sg = ["for"], cg = {
14602
14596
  _: 1
14603
14597
  }, 16, ["type"]));
14604
14598
  }
14605
- }), Cg = { class: "vui-input" }, wg = ["for"], Tg = {
14599
+ }), wg = { class: "vui-input" }, Tg = ["for"], Eg = {
14606
14600
  key: 1,
14607
14601
  class: "vui-input-hint"
14608
- }, Eg = [
14602
+ }, Dg = [
14609
14603
  "id",
14610
14604
  "readonly",
14611
14605
  "placeholder",
@@ -14614,13 +14608,13 @@ var og = { class: "vui-input" }, sg = ["for"], cg = {
14614
14608
  "max",
14615
14609
  "rows",
14616
14610
  "cols"
14617
- ], Dg = {
14611
+ ], Og = {
14618
14612
  key: 0,
14619
14613
  class: "vui-input-limit"
14620
- }, Og = {
14614
+ }, kg = {
14621
14615
  key: 1,
14622
14616
  class: "vui-input-errors"
14623
- }, kg = /* @__PURE__ */ y({
14617
+ }, Ag = /* @__PURE__ */ y({
14624
14618
  __name: "Textarea",
14625
14619
  props: /* @__PURE__ */ A({
14626
14620
  label: {},
@@ -14669,12 +14663,12 @@ var og = { class: "vui-input" }, sg = ["for"], cg = {
14669
14663
  disabled: e.disabled
14670
14664
  }]) }, [
14671
14665
  U(t.$slots, "before"),
14672
- p("div", Cg, [
14666
+ p("div", wg, [
14673
14667
  e.label ? (R(), f("label", {
14674
14668
  key: 0,
14675
14669
  for: q(i)
14676
- }, G(e.label), 9, wg)) : d("", !0),
14677
- e.hint ? (R(), f("p", Tg, G(e.hint), 1)) : d("", !0),
14670
+ }, G(e.label), 9, Tg)) : d("", !0),
14671
+ e.hint ? (R(), f("p", Eg, G(e.hint), 1)) : d("", !0),
14678
14672
  Ce(p("textarea", {
14679
14673
  id: q(i),
14680
14674
  ref: "textarea",
@@ -14691,24 +14685,24 @@ var og = { class: "vui-input" }, sg = ["for"], cg = {
14691
14685
  resize: a.value,
14692
14686
  ...e.cols ? { width: `${e.cols + 1}ch` } : {}
14693
14687
  })
14694
- }, null, 12, Eg), [[ye, r.value]])
14688
+ }, null, 12, Dg), [[ye, r.value]])
14695
14689
  ]),
14696
- e.limit ? (R(), f("p", Dg, G(`${r.value.length}/${e.limit}`), 1)) : d("", !0),
14697
- e.errors.length > 0 ? (R(), f("ul", Og, [(R(!0), f(n, null, H(e.errors, (e) => (R(), f("li", { key: e }, G(e), 1))), 128))])) : d("", !0),
14690
+ e.limit ? (R(), f("p", Og, G(`${r.value.length}/${e.limit}`), 1)) : d("", !0),
14691
+ e.errors.length > 0 ? (R(), f("ul", kg, [(R(!0), f(n, null, H(e.errors, (e) => (R(), f("li", { key: e }, G(e), 1))), 128))])) : d("", !0),
14698
14692
  U(t.$slots, "after")
14699
14693
  ], 2));
14700
14694
  }
14701
- }), Ag = /* @__PURE__ */ y({
14695
+ }), jg = /* @__PURE__ */ y({
14702
14696
  __name: "KbdGroup",
14703
14697
  emits: ["trigger"],
14704
14698
  setup(e, { emit: t }) {
14705
14699
  let n = t, r = he(), i = Sn(), a = jn(r.default);
14706
14700
  return Nn(a, "Kbd"), Ht(i[a.value.map((e) => e.props.keys).join("+")], () => n("trigger")), (e, t) => U(e.$slots, "default");
14707
14701
  }
14708
- }), jg = { class: "marquee-wrap" }, Mg = { class: "marquee-content" }, Ng = {
14702
+ }), Mg = { class: "marquee-wrap" }, Ng = { class: "marquee-content" }, Pg = {
14709
14703
  class: "marquee-content",
14710
14704
  "aria-hidden": "true"
14711
- }, Pg = /* @__PURE__ */ y({
14705
+ }, Fg = /* @__PURE__ */ y({
14712
14706
  __name: "Marquee",
14713
14707
  props: {
14714
14708
  direction: { default: "right" },
@@ -14722,7 +14716,7 @@ var og = { class: "vui-input" }, sg = ["for"], cg = {
14722
14716
  t && (n.value = t.target.scrollWidth / 2);
14723
14717
  });
14724
14718
  let r = l(() => n.value > 0 ? n.value / e.speed : 0), i = l(() => !e.stagger || n.value === 0 ? "linear" : `steps(${Math.max(1, Math.round(n.value / 50))}, end)`);
14725
- return (a, o) => (R(), f("div", jg, [p("div", {
14719
+ return (a, o) => (R(), f("div", Mg, [p("div", {
14726
14720
  ref_key: "trackRef",
14727
14721
  ref: t,
14728
14722
  class: "marquee-track",
@@ -14732,9 +14726,9 @@ var og = { class: "vui-input" }, sg = ["for"], cg = {
14732
14726
  animationTimingFunction: i.value,
14733
14727
  visibility: n.value > 0 ? "visible" : "hidden"
14734
14728
  })
14735
- }, [p("div", Mg, [U(a.$slots, "default")]), p("div", Ng, [U(a.$slots, "default")])], 4)]));
14729
+ }, [p("div", Ng, [U(a.$slots, "default")]), p("div", Pg, [U(a.$slots, "default")])], 4)]));
14736
14730
  }
14737
- }), Fg = Symbol("menubar"), Ig = /* @__PURE__ */ y({
14731
+ }), Ig = Symbol("menubar"), Lg = /* @__PURE__ */ y({
14738
14732
  __name: "Menubar",
14739
14733
  props: {
14740
14734
  inline: { type: Boolean },
@@ -14770,7 +14764,7 @@ var og = { class: "vui-input" }, sg = ["for"], cg = {
14770
14764
  function o() {
14771
14765
  n.value = null;
14772
14766
  }
14773
- return ie(Fg, {
14767
+ return ie(Ig, {
14774
14768
  openIndex: n,
14775
14769
  register: i,
14776
14770
  open: a,
@@ -14780,10 +14774,10 @@ var og = { class: "vui-input" }, sg = ["for"], cg = {
14780
14774
  _: 3
14781
14775
  }, 16));
14782
14776
  }
14783
- }), Lg = /* @__PURE__ */ y({
14777
+ }), Rg = /* @__PURE__ */ y({
14784
14778
  __name: "MenuItem",
14785
14779
  setup(e) {
14786
- let { openIndex: t, register: r, open: i, close: a } = E(Fg), o = r(), s = J("trigger"), c = () => t.value === o;
14780
+ let { openIndex: t, register: r, open: i, close: a } = E(Ig), o = r(), s = J("trigger"), c = () => t.value === o;
14787
14781
  function l() {
14788
14782
  c() ? a() : i(o);
14789
14783
  }
@@ -14808,7 +14802,7 @@ var og = { class: "vui-input" }, sg = ["for"], cg = {
14808
14802
  "onClickOutside"
14809
14803
  ])], 64));
14810
14804
  }
14811
- }), Rg = { class: "typeset" }, zg = /* @__PURE__ */ y({
14805
+ }), zg = { class: "typeset" }, Bg = /* @__PURE__ */ y({
14812
14806
  __name: "Confirm",
14813
14807
  props: {
14814
14808
  title: {},
@@ -14847,7 +14841,7 @@ var og = { class: "vui-input" }, sg = ["for"], cg = {
14847
14841
  open: n.open,
14848
14842
  onClose: t[2] ||= (e) => r("close")
14849
14843
  }), {
14850
- default: X(() => [p("div", Rg, [U(e.$slots, "default")])]),
14844
+ default: X(() => [p("div", zg, [U(e.$slots, "default")])]),
14851
14845
  footer: X(() => [_(cr, { "x-end": "" }, {
14852
14846
  default: X(() => [n.showCancel ? (R(), u(vr, {
14853
14847
  key: 0,
@@ -14868,7 +14862,7 @@ var og = { class: "vui-input" }, sg = ["for"], cg = {
14868
14862
  _: 3
14869
14863
  }, 16, ["open"]));
14870
14864
  }
14871
- }), Bg = { class: "vui-otp" }, Vg = ["inputmode", "maxlength"], Hg = { class: "vui-otp-items" }, Ug = /* @__PURE__ */ y({
14865
+ }), Vg = { class: "vui-otp" }, Hg = ["inputmode", "maxlength"], Ug = { class: "vui-otp-items" }, Wg = /* @__PURE__ */ y({
14872
14866
  __name: "OTP",
14873
14867
  props: /* @__PURE__ */ A({
14874
14868
  mode: { default: "both" },
@@ -14932,7 +14926,7 @@ var og = { class: "vui-input" }, sg = ["for"], cg = {
14932
14926
  let n = e.target.value;
14933
14927
  n && g(n);
14934
14928
  }
14935
- return (t, n) => (R(), f("div", Bg, [p("input", {
14929
+ return (t, n) => (R(), f("div", Vg, [p("input", {
14936
14930
  ref: "inputRef",
14937
14931
  type: "text",
14938
14932
  inputmode: e.mode === "num" ? "numeric" : "text",
@@ -14947,9 +14941,9 @@ var og = { class: "vui-input" }, sg = ["for"], cg = {
14947
14941
  onPaste: v,
14948
14942
  onBlur: n[0] ||= (e) => i.value = -1,
14949
14943
  onFocus: n[1] ||= (e) => i.value = Math.min(r.value.length, c.value - 1)
14950
- }, null, 40, Vg), p("div", Hg, [U(t.$slots, "default")])]));
14944
+ }, null, 40, Hg), p("div", Ug, [U(t.$slots, "default")])]));
14951
14945
  }
14952
- }), Wg = /* @__PURE__ */ y({
14946
+ }), Gg = /* @__PURE__ */ y({
14953
14947
  __name: "OTPItem",
14954
14948
  props: { i: {} },
14955
14949
  setup(e) {
@@ -14962,7 +14956,7 @@ var og = { class: "vui-input" }, sg = ["for"], cg = {
14962
14956
  });
14963
14957
  //#endregion
14964
14958
  //#region src/components/Pagination/pagination.ts
14965
- function Gg(e, t = 1, n = 15, r = 3) {
14959
+ function Kg(e, t = 1, n = 15, r = 3) {
14966
14960
  let i = Math.ceil(e / n);
14967
14961
  t < 1 ? t = 1 : t > i && (t = i);
14968
14962
  let a, o;
@@ -14986,7 +14980,7 @@ function Gg(e, t = 1, n = 15, r = 3) {
14986
14980
  }
14987
14981
  //#endregion
14988
14982
  //#region src/components/Pagination/Pagination.vue
14989
- var Kg = /* @__PURE__ */ y({
14983
+ var qg = /* @__PURE__ */ y({
14990
14984
  __name: "Pagination",
14991
14985
  props: {
14992
14986
  numbers: {
@@ -15097,7 +15091,7 @@ var Kg = /* @__PURE__ */ y({
15097
15091
  _: 3
15098
15092
  }));
15099
15093
  }
15100
- }), qg = ["aria-expanded", "aria-controls"], Jg = /* @__PURE__ */ y({
15094
+ }), Jg = ["aria-expanded", "aria-controls"], Yg = /* @__PURE__ */ y({
15101
15095
  inheritAttrs: !1,
15102
15096
  __name: "PopoutHover",
15103
15097
  props: {
@@ -15139,7 +15133,7 @@ var Kg = /* @__PURE__ */ y({
15139
15133
  onMouseleave: a[1] ||= (e) => u(!1),
15140
15134
  onFocusin: a[2] ||= (e) => u(!0),
15141
15135
  onFocusout: c
15142
- }, [U(i.$slots, "trigger")], 40, qg), _(Yd, j({
15136
+ }, [U(i.$slots, "trigger")], 40, Jg), _(Yd, j({
15143
15137
  id: q(o),
15144
15138
  ref: "popoutRef"
15145
15139
  }, {
@@ -15164,7 +15158,7 @@ var Kg = /* @__PURE__ */ y({
15164
15158
  "leave-delay"
15165
15159
  ])], 64));
15166
15160
  }
15167
- }), Yg = /* @__PURE__ */ y({
15161
+ }), Xg = /* @__PURE__ */ y({
15168
15162
  __name: "Progress",
15169
15163
  props: /* @__PURE__ */ A({
15170
15164
  fake: { type: Boolean },
@@ -15204,18 +15198,18 @@ var Kg = /* @__PURE__ */ y({
15204
15198
  })
15205
15199
  }, null, 4)], 2));
15206
15200
  }
15207
- }), Xg = [
15201
+ }), Zg = [
15208
15202
  "id",
15209
15203
  "value",
15210
15204
  "checked",
15211
15205
  "disabled"
15212
- ], Zg = ["for"], Qg = { class: "vui-radio-icon" }, $g = {
15206
+ ], Qg = ["for"], $g = { class: "vui-radio-icon" }, e_ = {
15213
15207
  key: 0,
15214
15208
  class: "vui-radio-content"
15215
- }, e_ = {
15209
+ }, t_ = {
15216
15210
  key: 1,
15217
15211
  class: "vui-radio-content"
15218
- }, t_ = /* @__PURE__ */ y({
15212
+ }, n_ = /* @__PURE__ */ y({
15219
15213
  __name: "Radio",
15220
15214
  props: /* @__PURE__ */ A({
15221
15215
  label: {},
@@ -15240,9 +15234,9 @@ var Kg = /* @__PURE__ */ y({
15240
15234
  value: e.value,
15241
15235
  checked: i.value,
15242
15236
  disabled: e.disabled
15243
- }, null, 8, Xg), [[ve, n.value]]), p("label", { for: q(r) }, [p("span", Qg, [i.value ? (R(), u(q(it), { key: 1 })) : (R(), u(q(qe), { key: 0 }))]), t.default ? (R(), f("div", e_, [U(a.$slots, "default")])) : (R(), f("p", $g, G(e.label || e.value), 1))], 8, Zg)], 2));
15237
+ }, null, 8, Zg), [[ve, n.value]]), p("label", { for: q(r) }, [p("span", $g, [i.value ? (R(), u(q(it), { key: 1 })) : (R(), u(q(qe), { key: 0 }))]), t.default ? (R(), f("div", t_, [U(a.$slots, "default")])) : (R(), f("p", e_, G(e.label || e.value), 1))], 8, Qg)], 2));
15244
15238
  }
15245
- }), n_ = /* @__PURE__ */ y({
15239
+ }), r_ = /* @__PURE__ */ y({
15246
15240
  __name: "RadioGroup",
15247
15241
  props: /* @__PURE__ */ A({
15248
15242
  disabled: { type: Boolean },
@@ -15283,11 +15277,11 @@ var Kg = /* @__PURE__ */ y({
15283
15277
  _: 1
15284
15278
  }, 16)]));
15285
15279
  }
15286
- }), r_ = [
15280
+ }), i_ = [
15287
15281
  "data-handle-index",
15288
15282
  "onDblclick",
15289
15283
  "onFocus"
15290
- ], i_ = /* @__PURE__ */ y({
15284
+ ], a_ = /* @__PURE__ */ y({
15291
15285
  __name: "Resizable",
15292
15286
  props: {
15293
15287
  vertical: { type: Boolean },
@@ -15351,9 +15345,9 @@ var Kg = /* @__PURE__ */ y({
15351
15345
  onDblclick: (e) => C(t),
15352
15346
  onFocus: (e) => o.value = t,
15353
15347
  onBlur: r[0] ||= (e) => o.value = -1
15354
- }, null, 40, r_)) : d("", !0)], 64))), 128))], 2));
15348
+ }, null, 40, i_)) : d("", !0)], 64))), 128))], 2));
15355
15349
  }
15356
- }), a_ = { class: "view-wrap" }, o_ = .33, s_ = /* @__PURE__ */ y({
15350
+ }), o_ = { class: "view-wrap" }, s_ = .33, c_ = /* @__PURE__ */ y({
15357
15351
  __name: "ViewPanel",
15358
15352
  props: { panel: {} },
15359
15353
  setup(e) {
@@ -15369,7 +15363,7 @@ var Kg = /* @__PURE__ */ y({
15369
15363
  a.value = e.clientX > n.left + n.width / 2 ? t + 1 : t;
15370
15364
  }
15371
15365
  let m = V(0), h = l(() => m.value > 0), { elementX: v, elementY: y, elementWidth: b, elementHeight: x } = Tn(J("contentRef"), { handleOutside: !1 }), S = l(() => {
15372
- if (!(!v.value || !y.value || !b.value || !x.value)) return v.value < b.value * o_ ? "left" : v.value > b.value * (1 - o_) ? "right" : y.value < x.value * o_ ? "top" : y.value > x.value * (1 - o_) ? "bottom" : "center";
15366
+ if (!(!v.value || !y.value || !b.value || !x.value)) return v.value < b.value * s_ ? "left" : v.value > b.value * (1 - s_) ? "right" : y.value < x.value * s_ ? "top" : y.value > x.value * (1 - s_) ? "bottom" : "center";
15373
15367
  }), { startDrag: C, handleDrag: w, handleSplit: T, peekDragTab: D, isDragFromPanel: O } = E("$vrp");
15374
15368
  function k(e, n) {
15375
15369
  C(t.panel, n);
@@ -15384,7 +15378,7 @@ var Kg = /* @__PURE__ */ y({
15384
15378
  !n || n === "center" ? w(t.panel, t.panel.tabs.length) : T(t.panel, n), e && (r.value = e.path);
15385
15379
  }
15386
15380
  let M = l(() => t.panel.tabs.find((e) => e.path === r.value));
15387
- return (l, v) => (R(), f("div", a_, [_(Nd, {
15381
+ return (l, v) => (R(), f("div", o_, [_(Nd, {
15388
15382
  padding: !1,
15389
15383
  "header-separator": ""
15390
15384
  }, {
@@ -15433,7 +15427,7 @@ var Kg = /* @__PURE__ */ y({
15433
15427
  _: 3
15434
15428
  })]));
15435
15429
  }
15436
- }), c_ = /* @__PURE__ */ y({
15430
+ }), l_ = /* @__PURE__ */ y({
15437
15431
  __name: "ResizableView",
15438
15432
  props: {
15439
15433
  modelValue: { default: [] },
@@ -15520,22 +15514,22 @@ var Kg = /* @__PURE__ */ y({
15520
15514
  handleSplit: g,
15521
15515
  peekDragTab: _,
15522
15516
  isDragFromPanel: v
15523
- }), (e, r) => (R(), u(i_, {
15517
+ }), (e, r) => (R(), u(a_, {
15524
15518
  "hide-handles": "",
15525
15519
  class: "vui-resizable-view"
15526
15520
  }, {
15527
- default: X(() => [(R(!0), f(n, null, H(t.value, (t) => (R(), f(n, { key: o(t) }, [Array.isArray(t) ? (R(), u(i_, {
15521
+ default: X(() => [(R(!0), f(n, null, H(t.value, (t) => (R(), f(n, { key: o(t) }, [Array.isArray(t) ? (R(), u(a_, {
15528
15522
  key: 0,
15529
15523
  "hide-handles": "",
15530
15524
  class: "nested-view",
15531
15525
  vertical: ""
15532
15526
  }, {
15533
- default: X(() => [(R(!0), f(n, null, H(t, (t) => (R(), f(n, { key: o(t) }, [Array.isArray(t) ? (R(), u(i_, {
15527
+ default: X(() => [(R(!0), f(n, null, H(t, (t) => (R(), f(n, { key: o(t) }, [Array.isArray(t) ? (R(), u(a_, {
15534
15528
  key: 0,
15535
15529
  "hide-handles": "",
15536
15530
  class: "nested-view"
15537
15531
  }, {
15538
- default: X(() => [(R(!0), f(n, null, H(t, (t) => (R(), u(s_, {
15532
+ default: X(() => [(R(!0), f(n, null, H(t, (t) => (R(), u(c_, {
15539
15533
  key: o(t),
15540
15534
  panel: t
15541
15535
  }, {
@@ -15543,7 +15537,7 @@ var Kg = /* @__PURE__ */ y({
15543
15537
  _: 3
15544
15538
  }, 8, ["panel"]))), 128))]),
15545
15539
  _: 2
15546
- }, 1024)) : (R(), u(s_, {
15540
+ }, 1024)) : (R(), u(c_, {
15547
15541
  key: 1,
15548
15542
  panel: t
15549
15543
  }, {
@@ -15551,7 +15545,7 @@ var Kg = /* @__PURE__ */ y({
15551
15545
  _: 3
15552
15546
  }, 8, ["panel"]))], 64))), 128))]),
15553
15547
  _: 2
15554
- }, 1024)) : (R(), u(s_, {
15548
+ }, 1024)) : (R(), u(c_, {
15555
15549
  key: 1,
15556
15550
  panel: t
15557
15551
  }, {
@@ -15561,23 +15555,23 @@ var Kg = /* @__PURE__ */ y({
15561
15555
  _: 3
15562
15556
  }));
15563
15557
  }
15564
- }), l_ = { class: "vui-input vui-select-trigger-content" }, u_ = ["for"], d_ = {
15558
+ }), u_ = { class: "vui-input vui-select-trigger-content" }, d_ = ["for"], f_ = {
15565
15559
  key: 1,
15566
15560
  class: "vui-input-hint"
15567
- }, f_ = [
15561
+ }, p_ = [
15568
15562
  "id",
15569
15563
  "disabled",
15570
15564
  "onClick"
15571
- ], p_ = {
15565
+ ], m_ = {
15572
15566
  key: 1,
15573
15567
  class: "vue-select-no-results"
15574
- }, m_ = {
15568
+ }, h_ = {
15575
15569
  key: 0,
15576
15570
  class: "vui-input-limit"
15577
- }, h_ = {
15571
+ }, g_ = {
15578
15572
  key: 1,
15579
15573
  class: "vui-input-errors"
15580
- }, g_ = /* @__PURE__ */ y({
15574
+ }, __ = /* @__PURE__ */ y({
15581
15575
  __name: "Select",
15582
15576
  props: /* @__PURE__ */ A({
15583
15577
  single: {
@@ -15653,12 +15647,12 @@ var Kg = /* @__PURE__ */ y({
15653
15647
  "no-mobile-drawer": e.noMobileDrawer,
15654
15648
  onClose: m[1] ||= (e) => i.value?.focus({ preventScroll: !0 })
15655
15649
  }, {
15656
- trigger: X(({ toggle: t, isOpen: i }) => [p("div", l_, [
15650
+ trigger: X(({ toggle: t, isOpen: i }) => [p("div", u_, [
15657
15651
  e.label ? (R(), f("label", {
15658
15652
  key: 0,
15659
15653
  for: q(v)
15660
- }, G(e.label), 9, u_)) : d("", !0),
15661
- e.hint ? (R(), f("p", d_, G(e.hint), 1)) : d("", !0),
15654
+ }, G(e.label), 9, d_)) : d("", !0),
15655
+ e.hint ? (R(), f("p", f_, G(e.hint), 1)) : d("", !0),
15662
15656
  p("button", {
15663
15657
  id: q(v),
15664
15658
  ref: "trigger",
@@ -15677,14 +15671,14 @@ var Kg = /* @__PURE__ */ y({
15677
15671
  _: 1
15678
15672
  })], 64)) : d("", !0),
15679
15673
  i ? (R(), u(q(Ue), { key: 1 })) : (R(), u(q(Be), { key: 2 }))
15680
- ], 10, f_)
15674
+ ], 10, p_)
15681
15675
  ])]),
15682
15676
  default: X(({ close: t, isOpen: i }) => [
15683
15677
  e.search ? (R(), u(ph, {
15684
15678
  key: 0,
15685
15679
  sticky: ""
15686
15680
  }, {
15687
- default: X(() => [_(fg, {
15681
+ default: X(() => [_(pg, {
15688
15682
  modelValue: o.value,
15689
15683
  "onUpdate:modelValue": m[0] ||= (e) => o.value = e,
15690
15684
  placeholder: "Search...",
@@ -15696,7 +15690,7 @@ var Kg = /* @__PURE__ */ y({
15696
15690
  }, 8, ["modelValue", "focus"])]),
15697
15691
  _: 2
15698
15692
  }, 1024)) : d("", !0),
15699
- s.value.length === 0 ? (R(), f("p", p_, " No results... ")) : d("", !0),
15693
+ s.value.length === 0 ? (R(), f("p", m_, " No results... ")) : d("", !0),
15700
15694
  (R(!0), f(n, null, H(s.value, (n) => (R(), u(dh, {
15701
15695
  key: n.value,
15702
15696
  class: N({ selected: r.value?.find((e) => e.value === n.value) }),
@@ -15714,14 +15708,14 @@ var Kg = /* @__PURE__ */ y({
15714
15708
  "transition-name",
15715
15709
  "no-mobile-drawer"
15716
15710
  ]),
15717
- e.maxActiveOptions && !e.single ? (R(), f("p", m_, G(`${r.value ? r.value.length : 0}/${e.maxActiveOptions}`), 1)) : d("", !0),
15718
- e.errors.length > 0 ? (R(), f("ul", h_, [(R(!0), f(n, null, H(e.errors, (e) => (R(), f("li", { key: e }, G(e), 1))), 128))])) : d("", !0)
15711
+ e.maxActiveOptions && !e.single ? (R(), f("p", h_, G(`${r.value ? r.value.length : 0}/${e.maxActiveOptions}`), 1)) : d("", !0),
15712
+ e.errors.length > 0 ? (R(), f("ul", g_, [(R(!0), f(n, null, H(e.errors, (e) => (R(), f("li", { key: e }, G(e), 1))), 128))])) : d("", !0)
15719
15713
  ], 6));
15720
15714
  }
15721
- }), __ = {
15715
+ }), v_ = {
15722
15716
  key: 0,
15723
15717
  class: "vui-sheet-shell"
15724
- }, v_ = 16, y_ = /* @__PURE__ */ Qd(/* @__PURE__ */ y({
15718
+ }, y_ = 16, b_ = /* @__PURE__ */ Qd(/* @__PURE__ */ y({
15725
15719
  inheritAttrs: !1,
15726
15720
  __name: "Sheet",
15727
15721
  props: {
@@ -15759,10 +15753,10 @@ var Kg = /* @__PURE__ */ y({
15759
15753
  if (e.position === "left" || e.position === "right") return { maxWidth: $n(e.size) };
15760
15754
  }), m = l(() => {
15761
15755
  switch (e.position) {
15762
- case "left": return `translate(-${v_}px, 0)`;
15763
- case "top": return `translate(0, -${v_}px)`;
15764
- case "bottom": return `translate(0, ${v_}px)`;
15765
- default: return `translate(${v_}px, 0)`;
15756
+ case "left": return `translate(-${y_}px, 0)`;
15757
+ case "top": return `translate(0, -${y_}px)`;
15758
+ case "bottom": return `translate(0, ${y_}px)`;
15759
+ default: return `translate(${y_}px, 0)`;
15766
15760
  }
15767
15761
  });
15768
15762
  return (t, l) => (R(), u(r, { to: "body" }, [o.value ? (R(), u(lf, {
@@ -15775,7 +15769,7 @@ var Kg = /* @__PURE__ */ y({
15775
15769
  css: e.transitionName !== "none",
15776
15770
  onAfterLeave: c
15777
15771
  }, {
15778
- default: X(() => [e.open ? (R(), f("div", __, [_(Nd, j({
15772
+ default: X(() => [e.open ? (R(), f("div", v_, [_(Nd, j({
15779
15773
  class: ["vui-sheet", [`vui-sheet-position-${e.position}`]],
15780
15774
  style: p.value
15781
15775
  }, {
@@ -15814,13 +15808,13 @@ var Kg = /* @__PURE__ */ y({
15814
15808
  _: 3
15815
15809
  })) : d("", !0)]));
15816
15810
  }
15817
- }), [["__scopeId", "data-v-95a4d77f"]]), b_ = {
15811
+ }), [["__scopeId", "data-v-95a4d77f"]]), x_ = {
15818
15812
  key: 0,
15819
15813
  class: "vui-sidebar-header"
15820
- }, x_ = { class: "vui-sidebar-content" }, S_ = { class: "vui-sidebar-content-wrap" }, C_ = {
15814
+ }, S_ = { class: "vui-sidebar-content" }, C_ = { class: "vui-sidebar-content-wrap" }, w_ = {
15821
15815
  key: 1,
15822
15816
  class: "vui-sidebar-footer"
15823
- }, w_ = 32, T_ = /* @__PURE__ */ y({
15817
+ }, T_ = 32, E_ = /* @__PURE__ */ y({
15824
15818
  __name: "Sidebar",
15825
15819
  props: /* @__PURE__ */ A({
15826
15820
  width: { default: 224 },
@@ -15852,7 +15846,7 @@ var Kg = /* @__PURE__ */ y({
15852
15846
  return I(() => {
15853
15847
  t.appear && r.value && (r.value = !1);
15854
15848
  }), Vt(h, (e) => {
15855
- !t.appear || e <= w_ && e >= 0 && m.value || (e <= w_ && e >= 0 && !r.value && !m.value ? c() : m.value && u(), (e > w_ + (t.mini ? 65 : t.floaty ? t.width : t.width - (Kn(a.value) ? 0 : Number(a.value?.replace("px", "")))) || e < 0) && r.value && (r.value = !1));
15849
+ !t.appear || e <= T_ && e >= 0 && m.value || (e <= T_ && e >= 0 && !r.value && !m.value ? c() : m.value && u(), (e > T_ + (t.mini ? 65 : t.floaty ? t.width : t.width - (Kn(a.value) ? 0 : Number(a.value?.replace("px", "")))) || e < 0) && r.value && (r.value = !1));
15856
15850
  }, {
15857
15851
  throttle: 100,
15858
15852
  immediate: !0
@@ -15871,21 +15865,21 @@ var Kg = /* @__PURE__ */ y({
15871
15865
  }]),
15872
15866
  style: F({ "--vui-sidebar-width": `${t.mini ? 65 : t.width}px` })
15873
15867
  }, [
15874
- q(i).header ? (R(), f("div", b_, [U(e.$slots, "header", P(C(s.value)))])) : d("", !0),
15875
- p("div", x_, [p("div", S_, [U(e.$slots, "default", P(C(s.value)))])]),
15876
- q(i).footer ? (R(), f("div", C_, [U(e.$slots, "footer", P(C(s.value)))])) : d("", !0)
15868
+ q(i).header ? (R(), f("div", x_, [U(e.$slots, "header", P(C(s.value)))])) : d("", !0),
15869
+ p("div", S_, [p("div", C_, [U(e.$slots, "default", P(C(s.value)))])]),
15870
+ q(i).footer ? (R(), f("div", w_, [U(e.$slots, "footer", P(C(s.value)))])) : d("", !0)
15877
15871
  ], 6)], 6));
15878
15872
  }
15879
- }), E_ = "var(--border-radius-s)", D_ = /* @__PURE__ */ y({
15873
+ }), D_ = "var(--border-radius-s)", O_ = /* @__PURE__ */ y({
15880
15874
  __name: "Skeleton",
15881
15875
  props: {
15882
- radius: { default: () => E_ },
15876
+ radius: { default: () => D_ },
15883
15877
  width: { default: "100%" },
15884
15878
  height: { default: "32px" },
15885
15879
  circle: { type: Boolean }
15886
15880
  },
15887
15881
  setup(e) {
15888
- let t = l(() => $n(e.circle && e.radius === E_ ? 9999 : e.radius)), n = l(() => $n(e.circle ? e.width || e.height : e.width)), r = l(() => $n(e.circle && e.width || e.height));
15882
+ let t = l(() => $n(e.circle && e.radius === D_ ? 9999 : e.radius)), n = l(() => $n(e.circle ? e.width || e.height : e.width)), r = l(() => $n(e.circle && e.width || e.height));
15889
15883
  return (e, i) => (R(), f("div", {
15890
15884
  class: "vui-skeleton",
15891
15885
  style: F({
@@ -15895,25 +15889,25 @@ var Kg = /* @__PURE__ */ y({
15895
15889
  })
15896
15890
  }, null, 4));
15897
15891
  }
15898
- }), O_ = ["inert"], k_ = [
15892
+ }), k_ = ["inert"], A_ = [
15899
15893
  "aria-label",
15900
15894
  "aria-disabled",
15901
15895
  "aria-valuemin",
15902
15896
  "aria-valuemax",
15903
15897
  "aria-valuenow"
15904
- ], A_ = [
15898
+ ], j_ = [
15905
15899
  "aria-label",
15906
15900
  "aria-disabled",
15907
15901
  "aria-valuemin",
15908
15902
  "aria-valuemax",
15909
15903
  "aria-valuenow"
15910
- ], j_ = [
15904
+ ], M_ = [
15911
15905
  "aria-label",
15912
15906
  "aria-disabled",
15913
15907
  "aria-valuemin",
15914
15908
  "aria-valuemax",
15915
15909
  "aria-valuenow"
15916
- ], M_ = /* @__PURE__ */ y({
15910
+ ], N_ = /* @__PURE__ */ y({
15917
15911
  __name: "Slider",
15918
15912
  props: /* @__PURE__ */ A({
15919
15913
  min: { default: 0 },
@@ -16052,7 +16046,7 @@ var Kg = /* @__PURE__ */ y({
16052
16046
  onMousedown: s[0] ||= (e) => y(e, 0),
16053
16047
  onTouchstart: s[1] ||= (e) => b(e, 0),
16054
16048
  onKeydown: s[2] ||= (e) => C(e, 0)
16055
- }, null, 44, k_), p("span", {
16049
+ }, null, 44, A_), p("span", {
16056
16050
  class: "vui-slider-handle",
16057
16051
  tabindex: "0",
16058
16052
  role: "slider",
@@ -16066,7 +16060,7 @@ var Kg = /* @__PURE__ */ y({
16066
16060
  onMousedown: s[3] ||= (e) => y(e, 1),
16067
16061
  onTouchstart: s[4] ||= (e) => b(e, 1),
16068
16062
  onKeydown: s[5] ||= (e) => C(e, 1)
16069
- }, null, 44, A_)], 64)) : (R(), f("span", {
16063
+ }, null, 44, j_)], 64)) : (R(), f("span", {
16070
16064
  key: 1,
16071
16065
  class: "vui-slider-handle",
16072
16066
  tabindex: "0",
@@ -16081,24 +16075,24 @@ var Kg = /* @__PURE__ */ y({
16081
16075
  onMousedown: s[6] ||= (e) => y(e, 0),
16082
16076
  onTouchstart: s[7] ||= (e) => b(e, 0),
16083
16077
  onKeydown: s[8] ||= (e) => C(e)
16084
- }, null, 44, j_)),
16078
+ }, null, 44, M_)),
16085
16079
  e.steps ? (R(!0), f(n, { key: 2 }, H(e.steps + 1, (t) => (R(), f("div", {
16086
16080
  key: t,
16087
16081
  class: "vui-slider-step-indicator",
16088
16082
  style: F({ left: `${(t - 1) / e.steps * 100}%` })
16089
16083
  }, null, 4))), 128)) : d("", !0)
16090
- ], 10, O_));
16084
+ ], 10, k_));
16091
16085
  }
16092
- }), N_ = ["id", "disabled"], P_ = ["for"], F_ = { class: "w-100" }, I_ = {
16086
+ }), P_ = ["id", "disabled"], F_ = ["for"], I_ = { class: "w-100" }, L_ = {
16093
16087
  key: 0,
16094
16088
  class: "vui-switch-content"
16095
- }, L_ = {
16089
+ }, R_ = {
16096
16090
  key: 1,
16097
16091
  class: "vui-switch-content"
16098
- }, R_ = {
16092
+ }, z_ = {
16099
16093
  key: 2,
16100
16094
  class: "vui-hint mt-xxs block"
16101
- }, z_ = /* @__PURE__ */ y({
16095
+ }, B_ = /* @__PURE__ */ y({
16102
16096
  __name: "Switch",
16103
16097
  props: /* @__PURE__ */ A({
16104
16098
  label: {},
@@ -16123,22 +16117,22 @@ var Kg = /* @__PURE__ */ y({
16123
16117
  "onUpdate:modelValue": a[0] ||= (e) => n.value = e,
16124
16118
  type: "checkbox",
16125
16119
  disabled: e.disabled
16126
- }, null, 8, N_), [[ge, n.value]]), p("label", { for: q(r) }, [a[1] ||= p("div", { class: "vui-switch-icon" }, [p("span", { class: "vui-switch-indicator" })], -1), p("div", F_, [!t.default && e.label ? (R(), f("p", I_, G(e.label), 1)) : (R(), f("div", L_, [U(i.$slots, "default")])), e.hint ? (R(), f("p", R_, G(e.hint), 1)) : d("", !0)])], 8, P_)], 2));
16120
+ }, null, 8, P_), [[ge, n.value]]), p("label", { for: q(r) }, [a[1] ||= p("div", { class: "vui-switch-icon" }, [p("span", { class: "vui-switch-indicator" })], -1), p("div", I_, [!t.default && e.label ? (R(), f("p", L_, G(e.label), 1)) : (R(), f("div", R_, [U(i.$slots, "default")])), e.hint ? (R(), f("p", z_, G(e.hint), 1)) : d("", !0)])], 8, F_)], 2));
16127
16121
  }
16128
- }), B_ = {
16122
+ }), V_ = {
16129
16123
  key: 0,
16130
16124
  ref: "context",
16131
16125
  class: "vui-cell-context"
16132
- }, V_ = /* @__PURE__ */ y({
16126
+ }, H_ = /* @__PURE__ */ y({
16133
16127
  __name: "Cell",
16134
16128
  setup(e) {
16135
16129
  let t = he(), n = J("context"), r = l(() => !t.context || !window ? {} : { paddingRight: `${n.value?.getBoundingClientRect().width ?? 0}px` });
16136
- return (e, t) => (R(), f("td", { style: F(r.value) }, [U(e.$slots, "default"), e.$slots.context ? (R(), f("div", B_, [U(e.$slots, "context")], 512)) : d("", !0)], 4));
16130
+ return (e, t) => (R(), f("td", { style: F(r.value) }, [U(e.$slots, "default"), e.$slots.context ? (R(), f("div", V_, [U(e.$slots, "context")], 512)) : d("", !0)], 4));
16137
16131
  }
16138
- }), H_ = {
16132
+ }), U_ = {
16139
16133
  key: 0,
16140
16134
  class: "vui-table-th-content"
16141
- }, U_ = /* @__PURE__ */ y({
16135
+ }, W_ = /* @__PURE__ */ y({
16142
16136
  __name: "Head",
16143
16137
  props: {
16144
16138
  header: {},
@@ -16161,7 +16155,7 @@ var Kg = /* @__PURE__ */ y({
16161
16155
  };
16162
16156
  }
16163
16157
  });
16164
- return (e, r) => (R(), f("th", null, [t.header || e.$slots.default ? (R(), f("div", H_, [U(e.$slots, "default", {}, () => [g(G(t.header?.label), 1)]), t.sort && t.header ? (R(), u($d, {
16158
+ return (e, r) => (R(), f("th", null, [t.header || e.$slots.default ? (R(), f("div", U_, [U(e.$slots, "default", {}, () => [g(G(t.header?.label), 1)]), t.sort && t.header ? (R(), u($d, {
16165
16159
  key: 0,
16166
16160
  placement: "top"
16167
16161
  }, {
@@ -16180,8 +16174,8 @@ var Kg = /* @__PURE__ */ y({
16180
16174
  _: 1
16181
16175
  })) : d("", !0)])) : d("", !0)]));
16182
16176
  }
16183
- }), W_ = Symbol("select-row-provide");
16184
- function G_(e, t) {
16177
+ }), G_ = Symbol("select-row-provide");
16178
+ function K_(e, t) {
16185
16179
  let n = l(() => K(e)), r = V({
16186
16180
  pagination: {
16187
16181
  enabled: !1,
@@ -16190,7 +16184,7 @@ function G_(e, t) {
16190
16184
  },
16191
16185
  select: !1,
16192
16186
  ...t
16193
- }), i = V(1), a = l(() => Gg(n.value.length, i.value, r.value.pagination?.perPage, r.value.pagination?.maxPages)), o = l(() => a.value.currentPage < a.value.endPage), s = l(() => a.value.currentPage > a.value.startPage), c = (e) => {
16187
+ }), i = V(1), a = l(() => Kg(n.value.length, i.value, r.value.pagination?.perPage, r.value.pagination?.maxPages)), o = l(() => a.value.currentPage < a.value.endPage), s = l(() => a.value.currentPage > a.value.startPage), c = (e) => {
16194
16188
  (e > i.value && o.value || e < i.value && s.value) && (i.value = e);
16195
16189
  }, u = W({
16196
16190
  key: void 0,
@@ -16238,7 +16232,7 @@ function G_(e, t) {
16238
16232
  function S() {
16239
16233
  _.value = /* @__PURE__ */ new Map();
16240
16234
  }
16241
- return ie(W_, {
16235
+ return ie(G_, {
16242
16236
  selectedRows: _,
16243
16237
  selectRow: y,
16244
16238
  selectAllRows: x,
@@ -16265,10 +16259,10 @@ function G_(e, t) {
16265
16259
  }
16266
16260
  //#endregion
16267
16261
  //#region src/components/Table/Root.vue?vue&type=script&setup=true&lang.ts
16268
- var K_ = { key: 0 }, q_ = {
16262
+ var q_ = { key: 0 }, J_ = {
16269
16263
  key: 0,
16270
16264
  class: "vui-table-pagination-wrap"
16271
- }, J_ = /* @__PURE__ */ y({
16265
+ }, Y_ = /* @__PURE__ */ y({
16272
16266
  __name: "Root",
16273
16267
  props: {
16274
16268
  fixed: { type: Boolean },
@@ -16289,7 +16283,7 @@ var K_ = { key: 0 }, q_ = {
16289
16283
  scroll: { type: Boolean }
16290
16284
  },
16291
16285
  setup(e) {
16292
- let t = E(W_);
16286
+ let t = E(G_);
16293
16287
  return (n, r) => (R(), f("div", { class: N(["vui-table-container", {
16294
16288
  fixed: e.fixed,
16295
16289
  nowrap: e.nowrap,
@@ -16300,12 +16294,12 @@ var K_ = { key: 0 }, q_ = {
16300
16294
  "pin-first": (e.pin === "first" || e.pin === "both") && !q(Bd).s,
16301
16295
  "pin-last": (e.pin === "last" || e.pin === "both") && !q(Bd).s,
16302
16296
  "vui-table-overflow": e.scroll
16303
- }]) }, [p("table", null, [n.$slots.header ? (R(), f("thead", K_, [p("tr", null, [U(n.$slots, "header")])])) : d("", !0), p("tbody", null, [U(n.$slots, "body")])]), n.$slots.pagination ? (R(), f("div", q_, [U(n.$slots, "pagination")])) : d("", !0)], 2));
16297
+ }]) }, [p("table", null, [n.$slots.header ? (R(), f("thead", q_, [p("tr", null, [U(n.$slots, "header")])])) : d("", !0), p("tbody", null, [U(n.$slots, "body")])]), n.$slots.pagination ? (R(), f("div", J_, [U(n.$slots, "pagination")])) : d("", !0)], 2));
16304
16298
  }
16305
- }), Y_ = /* @__PURE__ */ y({
16299
+ }), X_ = /* @__PURE__ */ y({
16306
16300
  __name: "SelectAll",
16307
16301
  setup(e) {
16308
- let { isSelectedAll: t, enabled: n, selectAllRows: r } = E(W_);
16302
+ let { isSelectedAll: t, enabled: n, selectAllRows: r } = E(G_);
16309
16303
  return (e, i) => q(n) ? (R(), f("th", {
16310
16304
  key: 0,
16311
16305
  class: N(["vui-table-interactive-cell", { selected: q(t) }])
@@ -16318,11 +16312,11 @@ var K_ = { key: 0 }, q_ = {
16318
16312
  _: 1
16319
16313
  })], 2)) : d("", !0);
16320
16314
  }
16321
- }), X_ = /* @__PURE__ */ y({
16315
+ }), Z_ = /* @__PURE__ */ y({
16322
16316
  __name: "SelectRow",
16323
16317
  props: { row: {} },
16324
16318
  setup(e) {
16325
- let t = e, { enabled: n, selectRow: r, selectedRows: i } = E(W_), a = l(() => i.value.has(t.row.id));
16319
+ let t = e, { enabled: n, selectRow: r, selectedRows: i } = E(G_), a = l(() => i.value.has(t.row.id));
16326
16320
  return (e, i) => q(n) ? (R(), f("td", {
16327
16321
  key: 0,
16328
16322
  class: N(["vui-table-interactive-cell", { selected: a.value }])
@@ -16335,20 +16329,20 @@ var K_ = { key: 0 }, q_ = {
16335
16329
  _: 1
16336
16330
  })], 2)) : d("", !0);
16337
16331
  }
16338
- }), Z_ = /* @__PURE__ */ Ae({
16339
- Cell: () => V_,
16340
- Head: () => U_,
16341
- Root: () => J_,
16342
- SelectAll: () => Y_,
16343
- SelectRow: () => X_
16344
- }), Q_ = V(/* @__PURE__ */ new Map()), $_ = 0;
16345
- function ev(e, t) {
16332
+ }), Q_ = /* @__PURE__ */ Ae({
16333
+ Cell: () => H_,
16334
+ Head: () => W_,
16335
+ Root: () => Y_,
16336
+ SelectAll: () => X_,
16337
+ SelectRow: () => Z_
16338
+ }), $_ = V(/* @__PURE__ */ new Map()), ev = 0;
16339
+ function tv(e, t) {
16346
16340
  let n = {
16347
16341
  persist: !1,
16348
16342
  timeout: 7e3,
16349
16343
  ...t
16350
16344
  }, r = {
16351
- id: $_,
16345
+ id: ev,
16352
16346
  title: e,
16353
16347
  persist: n.persist,
16354
16348
  description: n.description,
@@ -16358,19 +16352,19 @@ function ev(e, t) {
16358
16352
  body: n.body,
16359
16353
  bodyProps: n.bodyProps ?? {}
16360
16354
  };
16361
- return Q_.value.set($_, r), n.persist || setTimeout((e) => {
16362
- Q_.value.delete(e);
16363
- }, n.timeout, $_), $_++, r;
16355
+ return $_.value.set(ev, r), n.persist || setTimeout((e) => {
16356
+ $_.value.delete(e);
16357
+ }, n.timeout, ev), ev++, r;
16364
16358
  }
16365
- function tv(e) {
16366
- Q_.value.delete(e);
16359
+ function nv(e) {
16360
+ $_.value.delete(e);
16367
16361
  }
16368
16362
  //#endregion
16369
16363
  //#region src/components/Toast/Toasts.vue?vue&type=script&setup=true&lang.ts
16370
- var nv = {
16364
+ var rv = {
16371
16365
  key: 1,
16372
16366
  class: "vui-toast-item"
16373
- }, rv = { class: "vui-toast-item-content" }, iv = { key: 0 }, av = /* @__PURE__ */ Qd(/* @__PURE__ */ y({
16367
+ }, iv = { class: "vui-toast-item-content" }, av = { key: 0 }, ov = /* @__PURE__ */ Qd(/* @__PURE__ */ y({
16374
16368
  __name: "Toasts",
16375
16369
  props: { placement: { default: "bottom-end" } },
16376
16370
  setup(e) {
@@ -16379,13 +16373,13 @@ var nv = {
16379
16373
  tag: "ul",
16380
16374
  class: "vui-toast-list"
16381
16375
  }, {
16382
- default: X(() => [(R(!0), f(n, null, H(q(Q_), ([e, t]) => (R(), f(n, { key: e }, [t.body ? (R(), u(ae(t.body), j({
16376
+ default: X(() => [(R(!0), f(n, null, H(q($_), ([e, t]) => (R(), f(n, { key: e }, [t.body ? (R(), u(ae(t.body), j({
16383
16377
  key: 0,
16384
16378
  ref_for: !0
16385
16379
  }, {
16386
16380
  data: t.bodyProps,
16387
16381
  toastId: e
16388
- }), null, 16)) : (R(), f("li", nv, [p("div", rv, [p("strong", null, G(t.title), 1), t.description ? (R(), f("p", iv, G(t.description), 1)) : d("", !0)]), t.action ? (R(), u(vr, {
16382
+ }), null, 16)) : (R(), f("li", rv, [p("div", iv, [p("strong", null, G(t.title), 1), t.description ? (R(), f("p", av, G(t.description), 1)) : d("", !0)]), t.action ? (R(), u(vr, {
16389
16383
  key: 0,
16390
16384
  size: "s",
16391
16385
  onClick: (e) => t.action.handler(t.id)
@@ -16399,7 +16393,7 @@ var nv = {
16399
16393
  }), [["__scopeId", "data-v-77c0b9d3"]]);
16400
16394
  //#endregion
16401
16395
  //#region src/lib/viewTransition.ts
16402
- function ov() {
16396
+ function sv() {
16403
16397
  let e = V(!1);
16404
16398
  async function t(t) {
16405
16399
  if (!document.startViewTransition) {
@@ -16422,4 +16416,4 @@ function ov() {
16422
16416
  };
16423
16417
  }
16424
16418
  //#endregion
16425
- export { kn as Accordion, Pn as AccordionGroup, zn as Alert, Vn as AspectRatio, sr as Avatar, lr as AvatarGroup, lf as Backdrop, dr as Badge, fr as BadgeGroup, pr as BreadcrumbItem, gr as Breadcrumbs, vr as Button, yr as ButtonGroup, Ed as Calendar, Nd as Card, Id as Carousel, sf as Checkbox, gg as Color, Df as Commands, zg as Confirm, kf as ContextMenu, jf as CopyClipboard, _g as Counter, Od as Divider, rh as Drawer, ah as Dropdown, dh as DropdownItem, ph as DropdownTitle, bg as Dropzone, eg as EmojiPicker, xg as File, cr as Flex, zh as Grid, tf as Histogram, tg as Indicator, fg as Input, cf as Kbd, Ag as KbdGroup, Pg as Marquee, Lg as MenuItem, Ig as Menubar, uf as Modal, Ug as OTP, Wg as OTPItem, pf as Overflow, Kg as Pagination, Sg as Password, Yd as Popout, Jg as PopoutHover, Yg as Progress, t_ as Radio, n_ as RadioGroup, i_ as Resizable, c_ as ResizableView, g_ as Select, y_ as Sheet, T_ as Sidebar, D_ as Skeleton, M_ as Slider, _r as Spinner, z_ as Switch, Vh as Tab, Z_ as Table, Wh as Tabs, kg as Textarea, av as Toasts, $d as Tooltip, Ld as breakpoints, G_ as defineTable, Gg as paginate, ev as pushToast, tv as removeToast, Wn as searchString, Td as setColorTheme, wd as theme, ov as useViewTransition, Bd as viewport };
16419
+ export { kn as Accordion, Pn as AccordionGroup, zn as Alert, Vn as AspectRatio, sr as Avatar, lr as AvatarGroup, lf as Backdrop, dr as Badge, fr as BadgeGroup, pr as BreadcrumbItem, gr as Breadcrumbs, vr as Button, yr as ButtonGroup, Ed as Calendar, Nd as Card, Id as Carousel, sf as Checkbox, _g as Color, Df as Commands, Bg as Confirm, kf as ContextMenu, jf as CopyClipboard, vg as Counter, Od as Divider, rh as Drawer, ah as Dropdown, dh as DropdownItem, ph as DropdownTitle, xg as Dropzone, tg as EmojiPicker, Sg as File, cr as Flex, zh as Grid, tf as Histogram, ng as Indicator, pg as Input, cf as Kbd, jg as KbdGroup, Fg as Marquee, Rg as MenuItem, Lg as Menubar, uf as Modal, Wg as OTP, Gg as OTPItem, pf as Overflow, qg as Pagination, Cg as Password, Yd as Popout, Yg as PopoutHover, Xg as Progress, n_ as Radio, r_ as RadioGroup, a_ as Resizable, l_ as ResizableView, __ as Select, b_ as Sheet, E_ as Sidebar, O_ as Skeleton, N_ as Slider, _r as Spinner, B_ as Switch, Vh as Tab, Q_ as Table, Wh as Tabs, Ag as Textarea, ov as Toasts, $d as Tooltip, Ld as breakpoints, K_ as defineTable, Kg as paginate, tv as pushToast, nv as removeToast, Wn as searchString, Td as setColorTheme, wd as theme, sv as useViewTransition, Bd as viewport };