@loafacto/ui 0.12.5 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -156,26 +156,26 @@ const _export_sfc = (sfc, props) => {
156
156
  }
157
157
  return target;
158
158
  };
159
- const _sfc_main$v = {};
160
- const _hoisted_1$u = {
159
+ const _sfc_main$x = {};
160
+ const _hoisted_1$w = {
161
161
  xmlns: "http://www.w3.org/2000/svg",
162
162
  viewBox: "-24.0 -113.9 585.9 157.9",
163
163
  "aria-hidden": "true"
164
164
  };
165
165
  function _sfc_render$1(_ctx, _cache) {
166
- return openBlock(), createElementBlock("svg", _hoisted_1$u, [..._cache[0] || (_cache[0] = [
166
+ return openBlock(), createElementBlock("svg", _hoisted_1$w, [..._cache[0] || (_cache[0] = [
167
167
  createStaticVNode('<g transform="translate(-27.12,-91.37) scale(0.7136)"><circle cx="74" cy="27" r="15" fill="#8F6747"></circle><circle cx="104" cy="12" r="10" fill="#8F6747"></circle><path d="M43,48 L95,48 A5,5 0 0 1 100,53 L100,59 A5,5 0 0 1 95,64 L92,64 L92,124 L164,124 L164,148 A8,8 0 0 1 156,156 L54,156 A8,8 0 0 1 46,148 L46,64 L43,64 A5,5 0 0 1 38,59 L38,53 A5,5 0 0 1 43,48 Z" fill="currentColor"></path><path d="M92,94 A18,18 0 0 1 128,94 A18,18 0 0 1 164,94 L164,124 L92,124 Z" fill="#8F6747"></path></g><path transform="translate(122.11,0)" d="M6.80 0.00V-70.00H22.90V-14.80H52.70V0.00ZM82.95 1.20Q75.05 1.20 69.05 -2.15Q63.05 -5.50 59.60 -11.40Q56.15 -17.30 56.15 -25.00Q56.15 -32.70 59.50 -38.60Q62.85 -44.50 68.90 -47.85Q74.95 -51.20 82.65 -51.20Q90.55 -51.20 96.60 -47.85Q102.65 -44.50 106.00 -38.60Q109.35 -32.70 109.35 -25.00Q109.35 -17.30 106.00 -11.40Q102.65 -5.50 96.65 -2.15Q90.65 1.20 82.95 1.20ZM82.95 -13.20Q85.95 -13.20 88.30 -14.70Q90.65 -16.20 92.00 -18.85Q93.35 -21.50 93.35 -25.00Q93.35 -28.50 92.00 -31.15Q90.65 -33.80 88.25 -35.30Q85.85 -36.80 82.75 -36.80Q79.65 -36.80 77.25 -35.30Q74.85 -33.80 73.50 -31.15Q72.15 -28.50 72.15 -25.00Q72.15 -21.50 73.50 -18.85Q74.85 -16.20 77.30 -14.70Q79.75 -13.20 82.95 -13.20ZM133.40 1.20Q124.50 1.20 119.60 -2.80Q114.70 -6.80 114.70 -14.10Q114.70 -22.00 119.80 -25.90Q124.90 -29.80 134.10 -29.80H146.30Q145.80 -33.80 143.95 -36.05Q142.10 -38.30 138.00 -38.30Q135.20 -38.30 133.10 -37.00Q131.00 -35.70 129.50 -33.40L115.90 -37.90Q117.60 -41.60 120.55 -44.60Q123.50 -47.60 127.80 -49.40Q132.10 -51.20 137.80 -51.20Q145.60 -51.20 151.00 -48.30Q156.40 -45.40 159.10 -40.20Q161.80 -35.00 161.80 -27.90L161.60 0.00H147.00L146.80 -5.10Q144.80 -2.00 141.40 -0.40Q138.00 1.20 133.40 1.20ZM136.80 -10.60Q139.70 -10.60 141.90 -11.80Q144.10 -13.00 145.35 -15.05Q146.60 -17.10 146.60 -19.50V-19.80H140.00Q135.00 -19.80 132.80 -18.40Q130.60 -17.00 130.60 -14.50Q130.60 -12.70 132.25 -11.65Q133.90 -10.60 136.80 -10.60ZM176.65 0.00V-37.70H168.75V-50.00H176.65V-54.60Q176.65 -62.80 180.95 -67.50Q185.25 -72.20 194.15 -72.20Q197.45 -72.20 201.05 -71.05Q204.65 -69.90 207.25 -68.40L201.45 -57.40Q200.25 -58.20 199.05 -58.55Q197.85 -58.90 196.85 -58.90Q194.45 -58.90 193.35 -57.25Q192.25 -55.60 192.25 -51.80V-50.00H203.55V-37.70H192.25V0.00ZM227.90 1.20Q219.00 1.20 214.10 -2.80Q209.20 -6.80 209.20 -14.10Q209.20 -22.00 214.30 -25.90Q219.40 -29.80 228.60 -29.80H240.80Q240.30 -33.80 238.45 -36.05Q236.60 -38.30 232.50 -38.30Q229.70 -38.30 227.60 -37.00Q225.50 -35.70 224.00 -33.40L210.40 -37.90Q212.10 -41.60 215.05 -44.60Q218.00 -47.60 222.30 -49.40Q226.60 -51.20 232.30 -51.20Q240.10 -51.20 245.50 -48.30Q250.90 -45.40 253.60 -40.20Q256.30 -35.00 256.30 -27.90L256.10 0.00H241.50L241.30 -5.10Q239.30 -2.00 235.90 -0.40Q232.50 1.20 227.90 1.20ZM231.30 -10.60Q234.20 -10.60 236.40 -11.80Q238.60 -13.00 239.85 -15.05Q241.10 -17.10 241.10 -19.50V-19.80H234.50Q229.50 -19.80 227.30 -18.40Q225.10 -17.00 225.10 -14.50Q225.10 -12.70 226.75 -11.65Q228.40 -10.60 231.30 -10.60ZM291.05 1.20Q283.05 1.20 276.80 -2.15Q270.55 -5.50 267.05 -11.45Q263.55 -17.40 263.55 -25.00Q263.55 -32.70 267.05 -38.60Q270.55 -44.50 276.70 -47.85Q282.85 -51.20 290.85 -51.20Q298.55 -51.20 304.95 -47.30Q311.35 -43.40 314.15 -36.00L299.35 -31.00Q298.25 -33.40 295.70 -34.95Q293.15 -36.50 290.05 -36.50Q286.95 -36.50 284.60 -35.05Q282.25 -33.60 280.90 -31.00Q279.55 -28.40 279.55 -25.00Q279.55 -21.60 280.90 -19.05Q282.25 -16.50 284.70 -15.00Q287.15 -13.50 290.25 -13.50Q293.35 -13.50 295.85 -15.10Q298.35 -16.70 299.55 -19.30L314.35 -14.30Q311.45 -6.80 305.10 -2.80Q298.75 1.20 291.05 1.20ZM342.80 1.20Q333.90 1.20 329.55 -3.05Q325.20 -7.30 325.20 -15.20V-36.90H317.40V-50.00H325.20V-65.60H340.80V-50.00H352.20V-36.90H340.80V-19.10Q340.80 -16.10 341.90 -14.70Q343.00 -13.30 345.30 -13.30Q346.20 -13.30 347.40 -13.75Q348.60 -14.20 349.60 -14.90L355.00 -3.50Q352.60 -1.50 349.25 -0.15Q345.90 1.20 342.80 1.20ZM386.85 1.20Q378.95 1.20 372.95 -2.15Q366.95 -5.50 363.50 -11.40Q360.05 -17.30 360.05 -25.00Q360.05 -32.70 363.40 -38.60Q366.75 -44.50 372.80 -47.85Q378.85 -51.20 386.55 -51.20Q394.45 -51.20 400.50 -47.85Q406.55 -44.50 409.90 -38.60Q413.25 -32.70 413.25 -25.00Q413.25 -17.30 409.90 -11.40Q406.55 -5.50 400.55 -2.15Q394.55 1.20 386.85 1.20ZM386.85 -13.20Q389.85 -13.20 392.20 -14.70Q394.55 -16.20 395.90 -18.85Q397.25 -21.50 397.25 -25.00Q397.25 -28.50 395.90 -31.15Q394.55 -33.80 392.15 -35.30Q389.75 -36.80 386.65 -36.80Q383.55 -36.80 381.15 -35.30Q378.75 -33.80 377.40 -31.15Q376.05 -28.50 376.05 -25.00Q376.05 -21.50 377.40 -18.85Q378.75 -16.20 381.20 -14.70Q383.65 -13.20 386.85 -13.20Z" fill="currentColor"></path>', 2)
168
168
  ])]);
169
169
  }
170
- const BrandLockup = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["render", _sfc_render$1]]);
171
- const _sfc_main$u = {};
172
- const _hoisted_1$t = {
170
+ const BrandLockup = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["render", _sfc_render$1]]);
171
+ const _sfc_main$w = {};
172
+ const _hoisted_1$v = {
173
173
  xmlns: "http://www.w3.org/2000/svg",
174
174
  viewBox: "30 -4 142 168",
175
175
  "aria-hidden": "true"
176
176
  };
177
177
  function _sfc_render(_ctx, _cache) {
178
- return openBlock(), createElementBlock("svg", _hoisted_1$t, [..._cache[0] || (_cache[0] = [
178
+ return openBlock(), createElementBlock("svg", _hoisted_1$v, [..._cache[0] || (_cache[0] = [
179
179
  createElementVNode("circle", {
180
180
  cx: "74",
181
181
  cy: "27",
@@ -198,29 +198,29 @@ function _sfc_render(_ctx, _cache) {
198
198
  }, null, -1)
199
199
  ])]);
200
200
  }
201
- const BrandSymbol = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render]]);
202
- const _hoisted_1$s = { class: "lf-topbar" };
203
- const _hoisted_2$o = { class: "lf-topbar__inner" };
204
- const _hoisted_3$j = ["aria-label", "title", "aria-expanded"];
205
- const _hoisted_4$h = ["href", "aria-label"];
206
- const _hoisted_5$e = ["src"];
207
- const _hoisted_6$a = { class: "lf-brand__name" };
208
- const _hoisted_7$8 = ["aria-expanded"];
209
- const _hoisted_8$3 = {
201
+ const BrandSymbol = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["render", _sfc_render]]);
202
+ const _hoisted_1$u = { class: "lf-topbar" };
203
+ const _hoisted_2$q = { class: "lf-topbar__inner" };
204
+ const _hoisted_3$l = ["aria-label", "title", "aria-expanded"];
205
+ const _hoisted_4$j = ["href", "aria-label"];
206
+ const _hoisted_5$f = ["src"];
207
+ const _hoisted_6$b = { class: "lf-brand__name" };
208
+ const _hoisted_7$9 = ["aria-expanded"];
209
+ const _hoisted_8$4 = {
210
210
  key: 0,
211
211
  class: "lf-switcher__menu",
212
212
  role: "menu"
213
213
  };
214
- const _hoisted_9$1 = ["href", "onClick"];
215
- const _hoisted_10$1 = {
214
+ const _hoisted_9$2 = ["href", "onClick"];
215
+ const _hoisted_10$2 = {
216
216
  key: 0,
217
217
  class: "lf-switcher__icon",
218
218
  viewBox: "0 0 24 24",
219
219
  "aria-hidden": "true"
220
220
  };
221
- const _hoisted_11 = ["d"];
222
- const _hoisted_12 = { class: "lf-switcher__label" };
223
- const _hoisted_13 = {
221
+ const _hoisted_11$1 = ["d"];
222
+ const _hoisted_12$1 = { class: "lf-switcher__label" };
223
+ const _hoisted_13$1 = {
224
224
  key: 1,
225
225
  class: "admin-badge admin-badge--gray"
226
226
  };
@@ -268,7 +268,7 @@ const _hoisted_32 = { class: "site-footer-inner" };
268
268
  const ICON_SUN = "M12 7a5 5 0 1 0 0 10 5 5 0 0 0 0-10zm0-5v3h0V2zm0 17v3h0v-3zM2 11h3v2H2v-2zm17 0h3v2h-3v-2zM4.2 4.2l2.1 2.1L4.9 7.7 2.8 5.6l1.4-1.4zm13.5 13.5 2.1 2.1-1.4 1.4-2.1-2.1 1.4-1.4zM19.8 4.2l1.4 1.4-2.1 2.1-1.4-1.4 2.1-2.1zM6.3 17.7l1.4 1.4-2.1 2.1-1.4-1.4 2.1-2.1z";
269
269
  const ICON_MOON = "M12.3 3a7 7 0 1 0 8.7 8.7A9 9 0 1 1 12.3 3z";
270
270
  const RAIL_KEY = "lf-rail-hidden";
271
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
271
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
272
272
  __name: "AppShell",
273
273
  props: {
274
274
  services: { default: () => LOAFACTO_SERVICES },
@@ -385,8 +385,8 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
385
385
  backgroundImage: __props.backgroundImage ? `url(${__props.backgroundImage})` : void 0
386
386
  })
387
387
  }, null, 4)) : createCommentVNode("", true),
388
- createElementVNode("header", _hoisted_1$s, [
389
- createElementVNode("div", _hoisted_2$o, [
388
+ createElementVNode("header", _hoisted_1$u, [
389
+ createElementVNode("div", _hoisted_2$q, [
390
390
  _ctx.$slots.rail ? (openBlock(), createElementBlock("button", {
391
391
  key: 0,
392
392
  type: "button",
@@ -405,7 +405,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
405
405
  fill: "currentColor"
406
406
  })
407
407
  ], -1)
408
- ])], 8, _hoisted_3$j)) : createCommentVNode("", true),
408
+ ])], 8, _hoisted_3$l)) : createCommentVNode("", true),
409
409
  createElementVNode("a", {
410
410
  class: "lf-brand",
411
411
  href: __props.brandHref,
@@ -417,13 +417,13 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
417
417
  src: __props.logoUrl,
418
418
  alt: "",
419
419
  class: "lf-brand__logo"
420
- }, null, 8, _hoisted_5$e),
421
- createElementVNode("span", _hoisted_6$a, toDisplayString(__props.brandName), 1)
420
+ }, null, 8, _hoisted_5$f),
421
+ createElementVNode("span", _hoisted_6$b, toDisplayString(__props.brandName), 1)
422
422
  ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
423
423
  createVNode(BrandLockup, { class: "lf-brand__lockup" }),
424
424
  createVNode(BrandSymbol, { class: "lf-brand__symbol" })
425
425
  ], 64))
426
- ], 8, _hoisted_4$h),
426
+ ], 8, _hoisted_4$j),
427
427
  __props.services.length ? (openBlock(), createElementBlock("div", {
428
428
  key: 1,
429
429
  ref_key: "switcherEl",
@@ -448,8 +448,8 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
448
448
  fill: "currentColor"
449
449
  })
450
450
  ], -1))
451
- ], 8, _hoisted_7$8),
452
- switcherOpen.value ? (openBlock(), createElementBlock("div", _hoisted_8$3, [
451
+ ], 8, _hoisted_7$9),
452
+ switcherOpen.value ? (openBlock(), createElementBlock("div", _hoisted_8$4, [
453
453
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.services, (svc) => {
454
454
  return openBlock(), createElementBlock("a", {
455
455
  key: svc.id,
@@ -461,15 +461,15 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
461
461
  role: "menuitem",
462
462
  onClick: ($event) => onServiceClick($event, svc)
463
463
  }, [
464
- svc.iconPath ? (openBlock(), createElementBlock("svg", _hoisted_10$1, [
464
+ svc.iconPath ? (openBlock(), createElementBlock("svg", _hoisted_10$2, [
465
465
  createElementVNode("path", {
466
466
  d: svc.iconPath,
467
467
  fill: "currentColor"
468
- }, null, 8, _hoisted_11)
468
+ }, null, 8, _hoisted_11$1)
469
469
  ])) : createCommentVNode("", true),
470
- createElementVNode("span", _hoisted_12, toDisplayString(svc.name), 1),
471
- svc.comingSoon ? (openBlock(), createElementBlock("span", _hoisted_13, "준비 중")) : svc.badge ? (openBlock(), createElementBlock("span", _hoisted_14, toDisplayString(svc.badge), 1)) : createCommentVNode("", true)
472
- ], 10, _hoisted_9$1);
470
+ createElementVNode("span", _hoisted_12$1, toDisplayString(svc.name), 1),
471
+ svc.comingSoon ? (openBlock(), createElementBlock("span", _hoisted_13$1, "준비 중")) : svc.badge ? (openBlock(), createElementBlock("span", _hoisted_14, toDisplayString(svc.badge), 1)) : createCommentVNode("", true)
472
+ ], 10, _hoisted_9$2);
473
473
  }), 128))
474
474
  ])) : createCommentVNode("", true)
475
475
  ], 512)) : createCommentVNode("", true),
@@ -591,7 +591,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
591
591
  };
592
592
  }
593
593
  });
594
- const AppShell = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-e12e3587"]]);
594
+ const AppShell = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-e12e3587"]]);
595
595
  function generateId() {
596
596
  return `toast-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`;
597
597
  }
@@ -625,26 +625,26 @@ const useToastStore = defineStore("toast", () => {
625
625
  }
626
626
  return { items, add, remove, success, error, info, warning };
627
627
  });
628
- const _hoisted_1$r = {
628
+ const _hoisted_1$t = {
629
629
  class: "toast-container",
630
630
  role: "region",
631
631
  "aria-label": "알림"
632
632
  };
633
- const _hoisted_2$n = ["onClick"];
634
- const _hoisted_3$i = {
633
+ const _hoisted_2$p = ["onClick"];
634
+ const _hoisted_3$k = {
635
635
  class: "toast-icon",
636
636
  viewBox: "0 0 24 24",
637
637
  "aria-hidden": "true"
638
638
  };
639
- const _hoisted_4$g = ["d"];
640
- const _hoisted_5$d = { class: "toast-message" };
641
- const _hoisted_6$9 = ["onClick"];
642
- const _hoisted_7$7 = {
639
+ const _hoisted_4$i = ["d"];
640
+ const _hoisted_5$e = { class: "toast-message" };
641
+ const _hoisted_6$a = ["onClick"];
642
+ const _hoisted_7$8 = {
643
643
  viewBox: "0 0 24 24",
644
644
  "aria-hidden": "true"
645
645
  };
646
- const _hoisted_8$2 = ["d"];
647
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
646
+ const _hoisted_8$3 = ["d"];
647
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
648
648
  __name: "AppToast",
649
649
  setup(__props) {
650
650
  const toastStore = useToastStore();
@@ -676,7 +676,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
676
676
  });
677
677
  return (_ctx, _cache) => {
678
678
  return openBlock(), createBlock(Teleport, { to: "body" }, [
679
- createElementVNode("div", _hoisted_1$r, [
679
+ createElementVNode("div", _hoisted_1$t, [
680
680
  createVNode(TransitionGroup, { name: "toast" }, {
681
681
  default: withCtx(() => [
682
682
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(toastStore).items, (item) => {
@@ -686,27 +686,27 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
686
686
  role: "alert",
687
687
  onClick: ($event) => unref(toastStore).remove(item.id)
688
688
  }, [
689
- (openBlock(), createElementBlock("svg", _hoisted_3$i, [
689
+ (openBlock(), createElementBlock("svg", _hoisted_3$k, [
690
690
  createElementVNode("path", {
691
691
  d: ICON_PATHS[item.type],
692
692
  fill: "currentColor"
693
- }, null, 8, _hoisted_4$g)
693
+ }, null, 8, _hoisted_4$i)
694
694
  ])),
695
- createElementVNode("span", _hoisted_5$d, toDisplayString(item.message), 1),
695
+ createElementVNode("span", _hoisted_5$e, toDisplayString(item.message), 1),
696
696
  createElementVNode("button", {
697
697
  type: "button",
698
698
  class: "toast-close",
699
699
  "aria-label": "닫기",
700
700
  onClick: withModifiers(($event) => unref(toastStore).remove(item.id), ["stop"])
701
701
  }, [
702
- (openBlock(), createElementBlock("svg", _hoisted_7$7, [
702
+ (openBlock(), createElementBlock("svg", _hoisted_7$8, [
703
703
  createElementVNode("path", {
704
704
  d: ICON_PATHS.close,
705
705
  fill: "currentColor"
706
- }, null, 8, _hoisted_8$2)
706
+ }, null, 8, _hoisted_8$3)
707
707
  ]))
708
- ], 8, _hoisted_6$9)
709
- ], 10, _hoisted_2$n);
708
+ ], 8, _hoisted_6$a)
709
+ ], 10, _hoisted_2$p);
710
710
  }), 128))
711
711
  ]),
712
712
  _: 1
@@ -716,7 +716,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
716
716
  };
717
717
  }
718
718
  });
719
- const AppToast = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-284b8ae8"]]);
719
+ const AppToast = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-284b8ae8"]]);
720
720
  const useLoadingStore = defineStore("loading", () => {
721
721
  const count = ref(0);
722
722
  const loading = computed(() => count.value > 0);
@@ -736,14 +736,14 @@ const useLoadingStore = defineStore("loading", () => {
736
736
  }
737
737
  return { loading, count, start, stop, withLoading };
738
738
  });
739
- const _hoisted_1$q = {
739
+ const _hoisted_1$s = {
740
740
  key: 0,
741
741
  class: "loading-overlay",
742
742
  role: "status",
743
743
  "aria-live": "polite",
744
744
  "aria-label": "로딩 중"
745
745
  };
746
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
746
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
747
747
  __name: "AppLoadingOverlay",
748
748
  setup(__props) {
749
749
  const loadingStore = useLoadingStore();
@@ -751,7 +751,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
751
751
  return openBlock(), createBlock(Teleport, { to: "body" }, [
752
752
  createVNode(Transition, { name: "fade" }, {
753
753
  default: withCtx(() => [
754
- unref(loadingStore).loading ? (openBlock(), createElementBlock("div", _hoisted_1$q, [..._cache[0] || (_cache[0] = [
754
+ unref(loadingStore).loading ? (openBlock(), createElementBlock("div", _hoisted_1$s, [..._cache[0] || (_cache[0] = [
755
755
  createElementVNode("div", {
756
756
  class: "loading-spinner",
757
757
  "aria-hidden": "true"
@@ -764,7 +764,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
764
764
  };
765
765
  }
766
766
  });
767
- const AppLoadingOverlay = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-cce3ea3e"]]);
767
+ const AppLoadingOverlay = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-cce3ea3e"]]);
768
768
  const useConfirmStore = defineStore("confirm", () => {
769
769
  const open = ref(false);
770
770
  const title = ref("확인");
@@ -812,27 +812,27 @@ const useConfirmStore = defineStore("confirm", () => {
812
812
  resolve
813
813
  };
814
814
  });
815
- const _hoisted_1$p = {
815
+ const _hoisted_1$r = {
816
816
  key: 0,
817
817
  class: "app-confirm-backdrop"
818
818
  };
819
- const _hoisted_2$m = {
819
+ const _hoisted_2$o = {
820
820
  class: "app-confirm",
821
821
  role: "dialog",
822
822
  "aria-modal": "true"
823
823
  };
824
- const _hoisted_3$h = { class: "app-confirm__header" };
825
- const _hoisted_4$f = { class: "app-confirm__title" };
826
- const _hoisted_5$c = { class: "app-confirm__body" };
827
- const _hoisted_6$8 = { class: "app-confirm__message" };
828
- const _hoisted_7$6 = {
824
+ const _hoisted_3$j = { class: "app-confirm__header" };
825
+ const _hoisted_4$h = { class: "app-confirm__title" };
826
+ const _hoisted_5$d = { class: "app-confirm__body" };
827
+ const _hoisted_6$9 = { class: "app-confirm__message" };
828
+ const _hoisted_7$7 = {
829
829
  key: 0,
830
830
  class: "app-confirm__require"
831
831
  };
832
- const _hoisted_8$1 = { class: "app-confirm__require-label" };
833
- const _hoisted_9 = { class: "app-confirm__actions" };
834
- const _hoisted_10 = ["disabled"];
835
- const _sfc_main$q = /* @__PURE__ */ defineComponent({
832
+ const _hoisted_8$2 = { class: "app-confirm__require-label" };
833
+ const _hoisted_9$1 = { class: "app-confirm__actions" };
834
+ const _hoisted_10$1 = ["disabled"];
835
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
836
836
  __name: "AppConfirmModal",
837
837
  setup(__props) {
838
838
  const store = useConfirmStore();
@@ -857,15 +857,15 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
857
857
  return openBlock(), createBlock(Teleport, { to: "body" }, [
858
858
  createVNode(Transition, { name: "app-confirm-fade" }, {
859
859
  default: withCtx(() => [
860
- unref(store).open ? (openBlock(), createElementBlock("div", _hoisted_1$p, [
861
- createElementVNode("div", _hoisted_2$m, [
862
- createElementVNode("div", _hoisted_3$h, [
863
- createElementVNode("h3", _hoisted_4$f, toDisplayString(unref(store).title), 1)
860
+ unref(store).open ? (openBlock(), createElementBlock("div", _hoisted_1$r, [
861
+ createElementVNode("div", _hoisted_2$o, [
862
+ createElementVNode("div", _hoisted_3$j, [
863
+ createElementVNode("h3", _hoisted_4$h, toDisplayString(unref(store).title), 1)
864
864
  ]),
865
- createElementVNode("div", _hoisted_5$c, [
866
- createElementVNode("p", _hoisted_6$8, toDisplayString(unref(store).message), 1),
867
- unref(store).requireText ? (openBlock(), createElementBlock("label", _hoisted_7$6, [
868
- createElementVNode("span", _hoisted_8$1, [
865
+ createElementVNode("div", _hoisted_5$d, [
866
+ createElementVNode("p", _hoisted_6$9, toDisplayString(unref(store).message), 1),
867
+ unref(store).requireText ? (openBlock(), createElementBlock("label", _hoisted_7$7, [
868
+ createElementVNode("span", _hoisted_8$2, [
869
869
  createTextVNode(toDisplayString(unref(store).requireLabel || "확인을 위해 입력") + ": ", 1),
870
870
  createElementVNode("code", null, toDisplayString(unref(store).requireText), 1)
871
871
  ]),
@@ -883,7 +883,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
883
883
  ])
884
884
  ])) : createCommentVNode("", true)
885
885
  ]),
886
- createElementVNode("div", _hoisted_9, [
886
+ createElementVNode("div", _hoisted_9$1, [
887
887
  createElementVNode("button", {
888
888
  type: "button",
889
889
  class: "app-confirm__btn app-confirm__btn--ghost",
@@ -894,7 +894,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
894
894
  class: normalizeClass(["app-confirm__btn", unref(store).danger ? "app-confirm__btn--danger" : "app-confirm__btn--primary"]),
895
895
  disabled: !unref(store).canConfirm,
896
896
  onClick: _cache[3] || (_cache[3] = ($event) => unref(store).resolve(true))
897
- }, toDisplayString(unref(store).confirmText), 11, _hoisted_10)
897
+ }, toDisplayString(unref(store).confirmText), 11, _hoisted_10$1)
898
898
  ])
899
899
  ])
900
900
  ])) : createCommentVNode("", true)
@@ -905,7 +905,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
905
905
  };
906
906
  }
907
907
  });
908
- const AppConfirmModal = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-29454195"]]);
908
+ const AppConfirmModal = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-29454195"]]);
909
909
  const LF_ICONS = {
910
910
  close: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z",
911
911
  search: "M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19 15.5 14zm-6 0A4.5 4.5 0 1 1 14 9.5 4.5 4.5 0 0 1 9.5 14z",
@@ -945,10 +945,10 @@ const LF_ICONS = {
945
945
  calendar_today: "M19 3h-1V1h-2v2H8V1H6v2H5a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm0 18H5V9h14v12z",
946
946
  save: "M17 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V7l-4-4zm-5 16a3 3 0 1 1 3-3 3 3 0 0 1-3 3zm3-10H5V5h10v4z"
947
947
  };
948
- const _hoisted_1$o = ["role", "aria-label", "aria-hidden"];
949
- const _hoisted_2$l = { key: 0 };
950
- const _hoisted_3$g = ["d"];
951
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
948
+ const _hoisted_1$q = ["role", "aria-label", "aria-hidden"];
949
+ const _hoisted_2$n = { key: 0 };
950
+ const _hoisted_3$i = ["d"];
951
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
952
952
  __name: "LfIcon",
953
953
  props: {
954
954
  name: {},
@@ -971,19 +971,19 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
971
971
  "aria-label": __props.label || void 0,
972
972
  "aria-hidden": __props.label ? void 0 : "true"
973
973
  }, [
974
- __props.label ? (openBlock(), createElementBlock("title", _hoisted_2$l, toDisplayString(__props.label), 1)) : createCommentVNode("", true),
974
+ __props.label ? (openBlock(), createElementBlock("title", _hoisted_2$n, toDisplayString(__props.label), 1)) : createCommentVNode("", true),
975
975
  d2.value ? (openBlock(), createElementBlock("path", {
976
976
  key: 1,
977
977
  d: d2.value,
978
978
  fill: "currentColor"
979
- }, null, 8, _hoisted_3$g)) : createCommentVNode("", true)
980
- ], 12, _hoisted_1$o);
979
+ }, null, 8, _hoisted_3$i)) : createCommentVNode("", true)
980
+ ], 12, _hoisted_1$q);
981
981
  };
982
982
  }
983
983
  });
984
- const LfIcon = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-b70b3868"]]);
985
- const _hoisted_1$n = ["role", "aria-label", "aria-hidden"];
986
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
984
+ const LfIcon = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-b70b3868"]]);
985
+ const _hoisted_1$p = ["role", "aria-label", "aria-hidden"];
986
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
987
987
  __name: "LfSpinner",
988
988
  props: {
989
989
  size: { default: "1.25rem" },
@@ -1015,16 +1015,16 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
1015
1015
  cy: "12",
1016
1016
  r: "9"
1017
1017
  }, null, -1)
1018
- ])], 12, _hoisted_1$n);
1018
+ ])], 12, _hoisted_1$p);
1019
1019
  };
1020
1020
  }
1021
1021
  });
1022
- const LfSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-4aedf6b0"]]);
1023
- const _hoisted_1$m = {
1022
+ const LfSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-4aedf6b0"]]);
1023
+ const _hoisted_1$o = {
1024
1024
  key: 2,
1025
1025
  class: "lf-btn__label"
1026
1026
  };
1027
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
1027
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
1028
1028
  __name: "LfButton",
1029
1029
  props: {
1030
1030
  variant: { default: "ghost" },
@@ -1061,7 +1061,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
1061
1061
  name: __props.icon,
1062
1062
  path: __props.iconPath
1063
1063
  }, null, 8, ["name", "path"])) : createCommentVNode("", true),
1064
- _ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_1$m, [
1064
+ _ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_1$o, [
1065
1065
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
1066
1066
  ])) : createCommentVNode("", true),
1067
1067
  __props.iconRight ? (openBlock(), createBlock(LfIcon, {
@@ -1074,8 +1074,8 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
1074
1074
  };
1075
1075
  }
1076
1076
  });
1077
- const LfButton = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-c4bac4e1"]]);
1078
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
1077
+ const LfButton = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-c4bac4e1"]]);
1078
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
1079
1079
  __name: "LfIconButton",
1080
1080
  props: {
1081
1081
  icon: {},
@@ -1120,23 +1120,23 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
1120
1120
  };
1121
1121
  }
1122
1122
  });
1123
- const LfIconButton = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-e86ee99c"]]);
1124
- const _hoisted_1$l = ["for"];
1125
- const _hoisted_2$k = {
1123
+ const LfIconButton = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-e86ee99c"]]);
1124
+ const _hoisted_1$n = ["for"];
1125
+ const _hoisted_2$m = {
1126
1126
  key: 0,
1127
1127
  class: "lf-field__required",
1128
1128
  "aria-hidden": "true"
1129
1129
  };
1130
- const _hoisted_3$f = {
1130
+ const _hoisted_3$h = {
1131
1131
  key: 1,
1132
1132
  class: "lf-field__error",
1133
1133
  role: "alert"
1134
1134
  };
1135
- const _hoisted_4$e = {
1135
+ const _hoisted_4$g = {
1136
1136
  key: 2,
1137
1137
  class: "lf-field__hint"
1138
1138
  };
1139
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
1139
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
1140
1140
  __name: "LfField",
1141
1141
  props: {
1142
1142
  label: {},
@@ -1156,15 +1156,15 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
1156
1156
  for: __props.htmlFor
1157
1157
  }, [
1158
1158
  createTextVNode(toDisplayString(__props.label) + " ", 1),
1159
- __props.required ? (openBlock(), createElementBlock("span", _hoisted_2$k, "*")) : createCommentVNode("", true)
1160
- ], 8, _hoisted_1$l)) : createCommentVNode("", true),
1159
+ __props.required ? (openBlock(), createElementBlock("span", _hoisted_2$m, "*")) : createCommentVNode("", true)
1160
+ ], 8, _hoisted_1$n)) : createCommentVNode("", true),
1161
1161
  renderSlot(_ctx.$slots, "default", {}, void 0, true),
1162
- __props.error ? (openBlock(), createElementBlock("p", _hoisted_3$f, toDisplayString(__props.error), 1)) : __props.hint ? (openBlock(), createElementBlock("p", _hoisted_4$e, toDisplayString(__props.hint), 1)) : createCommentVNode("", true)
1162
+ __props.error ? (openBlock(), createElementBlock("p", _hoisted_3$h, toDisplayString(__props.error), 1)) : __props.hint ? (openBlock(), createElementBlock("p", _hoisted_4$g, toDisplayString(__props.hint), 1)) : createCommentVNode("", true)
1163
1163
  ], 2);
1164
1164
  };
1165
1165
  }
1166
1166
  });
1167
- const LfField = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-38509e4d"]]);
1167
+ const LfField = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-38509e4d"]]);
1168
1168
  function useSplitAttrs() {
1169
1169
  const attrs = useAttrs();
1170
1170
  const rootAttrs = computed(() => ({ class: attrs.class, style: attrs.style }));
@@ -1174,18 +1174,18 @@ function useSplitAttrs() {
1174
1174
  });
1175
1175
  return { rootAttrs, controlAttrs };
1176
1176
  }
1177
- const _hoisted_1$k = { class: "lf-control-wrap" };
1178
- const _hoisted_2$j = {
1177
+ const _hoisted_1$m = { class: "lf-control-wrap" };
1178
+ const _hoisted_2$l = {
1179
1179
  key: 0,
1180
1180
  class: "lf-control-wrap__icon lf-control-wrap__icon--left"
1181
1181
  };
1182
- const _hoisted_3$e = ["id", "type", "placeholder", "disabled", "readonly", "required", "aria-invalid"];
1183
- const _hoisted_4$d = {
1182
+ const _hoisted_3$g = ["id", "type", "placeholder", "disabled", "readonly", "required", "aria-invalid"];
1183
+ const _hoisted_4$f = {
1184
1184
  key: 1,
1185
1185
  class: "lf-control-wrap__suffix"
1186
1186
  };
1187
- const _hoisted_5$b = ["aria-label"];
1188
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
1187
+ const _hoisted_5$c = ["aria-label"];
1188
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
1189
1189
  ...{ inheritAttrs: false },
1190
1190
  __name: "LfTextField",
1191
1191
  props: /* @__PURE__ */ mergeModels({
@@ -1237,8 +1237,8 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
1237
1237
  "html-for": unref(inputId)
1238
1238
  }), {
1239
1239
  default: withCtx(() => [
1240
- createElementVNode("div", _hoisted_1$k, [
1241
- __props.icon || __props.iconPath ? (openBlock(), createElementBlock("span", _hoisted_2$j, [
1240
+ createElementVNode("div", _hoisted_1$m, [
1241
+ __props.icon || __props.iconPath ? (openBlock(), createElementBlock("span", _hoisted_2$l, [
1242
1242
  createVNode(LfIcon, {
1243
1243
  name: __props.icon,
1244
1244
  path: __props.iconPath,
@@ -1259,10 +1259,10 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
1259
1259
  readonly: __props.readonly,
1260
1260
  required: __props.required,
1261
1261
  "aria-invalid": __props.error ? "true" : void 0
1262
- }), null, 16, _hoisted_3$e), [
1262
+ }), null, 16, _hoisted_3$g), [
1263
1263
  [vModelDynamic, unref(model)]
1264
1264
  ]),
1265
- __props.suffix ? (openBlock(), createElementBlock("span", _hoisted_4$d, toDisplayString(__props.suffix), 1)) : createCommentVNode("", true),
1265
+ __props.suffix ? (openBlock(), createElementBlock("span", _hoisted_4$f, toDisplayString(__props.suffix), 1)) : createCommentVNode("", true),
1266
1266
  __props.revealable ? (openBlock(), createElementBlock("button", {
1267
1267
  key: 2,
1268
1268
  type: "button",
@@ -1274,7 +1274,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
1274
1274
  name: revealed.value ? "visibility_off" : "visibility",
1275
1275
  size: "1.125rem"
1276
1276
  }, null, 8, ["name"])
1277
- ], 8, _hoisted_5$b)) : __props.clearable && !!unref(model) && !__props.disabled && !__props.readonly ? (openBlock(), createElementBlock("button", {
1277
+ ], 8, _hoisted_5$c)) : __props.clearable && !!unref(model) && !__props.disabled && !__props.readonly ? (openBlock(), createElementBlock("button", {
1278
1278
  key: 3,
1279
1279
  type: "button",
1280
1280
  class: "lf-control-action",
@@ -1293,13 +1293,13 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
1293
1293
  };
1294
1294
  }
1295
1295
  });
1296
- const LfTextField = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-e113043f"]]);
1297
- const _hoisted_1$j = ["id", "rows", "placeholder", "disabled", "readonly", "required", "maxlength", "aria-invalid"];
1298
- const _hoisted_2$i = {
1296
+ const LfTextField = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-e113043f"]]);
1297
+ const _hoisted_1$l = ["id", "rows", "placeholder", "disabled", "readonly", "required", "maxlength", "aria-invalid"];
1298
+ const _hoisted_2$k = {
1299
1299
  key: 0,
1300
1300
  class: "lf-textarea__counter"
1301
1301
  };
1302
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
1302
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
1303
1303
  ...{ inheritAttrs: false },
1304
1304
  __name: "LfTextarea",
1305
1305
  props: /* @__PURE__ */ mergeModels({
@@ -1363,23 +1363,23 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
1363
1363
  maxlength: __props.maxlength,
1364
1364
  "aria-invalid": __props.error ? "true" : void 0,
1365
1365
  onInput: _cache[1] || (_cache[1] = ($event) => __props.autoGrow && grow())
1366
- }), null, 16, _hoisted_1$j), [
1366
+ }), null, 16, _hoisted_1$l), [
1367
1367
  [vModelText, model.value]
1368
1368
  ]),
1369
- __props.maxlength && __props.counter ? (openBlock(), createElementBlock("p", _hoisted_2$i, toDisplayString(String(model.value ?? "").length) + " / " + toDisplayString(__props.maxlength), 1)) : createCommentVNode("", true)
1369
+ __props.maxlength && __props.counter ? (openBlock(), createElementBlock("p", _hoisted_2$k, toDisplayString(String(model.value ?? "").length) + " / " + toDisplayString(__props.maxlength), 1)) : createCommentVNode("", true)
1370
1370
  ]),
1371
1371
  _: 1
1372
1372
  }, 16, ["label", "hint", "error", "required", "html-for"]);
1373
1373
  };
1374
1374
  }
1375
1375
  });
1376
- const LfTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-81fbed25"]]);
1377
- const _hoisted_1$i = { class: "lf-control-wrap" };
1378
- const _hoisted_2$h = ["id", "disabled", "required", "aria-invalid"];
1379
- const _hoisted_3$d = ["disabled"];
1380
- const _hoisted_4$c = ["value", "disabled"];
1381
- const _hoisted_5$a = { class: "lf-control-wrap__icon lf-control-wrap__icon--right" };
1382
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
1376
+ const LfTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-81fbed25"]]);
1377
+ const _hoisted_1$k = { class: "lf-control-wrap" };
1378
+ const _hoisted_2$j = ["id", "disabled", "required", "aria-invalid"];
1379
+ const _hoisted_3$f = ["disabled"];
1380
+ const _hoisted_4$e = ["value", "disabled"];
1381
+ const _hoisted_5$b = { class: "lf-control-wrap__icon lf-control-wrap__icon--right" };
1382
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
1383
1383
  ...{ inheritAttrs: false },
1384
1384
  __name: "LfSelect",
1385
1385
  props: /* @__PURE__ */ mergeModels({
@@ -1422,7 +1422,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
1422
1422
  "html-for": unref(inputId)
1423
1423
  }), {
1424
1424
  default: withCtx(() => [
1425
- createElementVNode("div", _hoisted_1$i, [
1425
+ createElementVNode("div", _hoisted_1$k, [
1426
1426
  withDirectives(createElementVNode("select", mergeProps({ id: unref(inputId) }, unref(controlAttrs), {
1427
1427
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(model) ? model.value = $event : null),
1428
1428
  class: ["lf-control lf-select lf-control--has-right", { "lf-control--sm": __props.size === "sm", "lf-control--error": !!__props.error }],
@@ -1434,18 +1434,18 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
1434
1434
  key: 0,
1435
1435
  value: "",
1436
1436
  disabled: !__props.clearable
1437
- }, toDisplayString(__props.placeholder), 9, _hoisted_3$d)) : createCommentVNode("", true),
1437
+ }, toDisplayString(__props.placeholder), 9, _hoisted_3$f)) : createCommentVNode("", true),
1438
1438
  (openBlock(true), createElementBlock(Fragment, null, renderList(normalized.value, (opt) => {
1439
1439
  return openBlock(), createElementBlock("option", {
1440
1440
  key: String(opt.value),
1441
1441
  value: opt.value,
1442
1442
  disabled: opt.disabled
1443
- }, toDisplayString(opt.label), 9, _hoisted_4$c);
1443
+ }, toDisplayString(opt.label), 9, _hoisted_4$e);
1444
1444
  }), 128))
1445
- ], 16, _hoisted_2$h), [
1445
+ ], 16, _hoisted_2$j), [
1446
1446
  [vModelSelect, unref(model)]
1447
1447
  ]),
1448
- createElementVNode("span", _hoisted_5$a, [
1448
+ createElementVNode("span", _hoisted_5$b, [
1449
1449
  createVNode(LfIcon, {
1450
1450
  name: "expand_more",
1451
1451
  size: "1.125rem"
@@ -1458,22 +1458,22 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
1458
1458
  };
1459
1459
  }
1460
1460
  });
1461
- const LfSelect = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-e0d9d182"]]);
1462
- const _hoisted_1$h = ["disabled", "value"];
1463
- const _hoisted_2$g = {
1461
+ const LfSelect = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-e0d9d182"]]);
1462
+ const _hoisted_1$j = ["disabled", "value"];
1463
+ const _hoisted_2$i = {
1464
1464
  class: "lf-check__box",
1465
1465
  "aria-hidden": "true"
1466
1466
  };
1467
- const _hoisted_3$c = {
1467
+ const _hoisted_3$e = {
1468
1468
  key: 0,
1469
1469
  class: "lf-check__text"
1470
1470
  };
1471
- const _hoisted_4$b = { class: "lf-check__label" };
1472
- const _hoisted_5$9 = {
1471
+ const _hoisted_4$d = { class: "lf-check__label" };
1472
+ const _hoisted_5$a = {
1473
1473
  key: 0,
1474
1474
  class: "lf-check__desc"
1475
1475
  };
1476
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
1476
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
1477
1477
  ...{ inheritAttrs: false },
1478
1478
  __name: "LfCheckbox",
1479
1479
  props: /* @__PURE__ */ mergeModels({
@@ -1498,39 +1498,39 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
1498
1498
  type: "checkbox",
1499
1499
  disabled: __props.disabled,
1500
1500
  value: __props.value
1501
- }), null, 16, _hoisted_1$h), [
1501
+ }), null, 16, _hoisted_1$j), [
1502
1502
  [vModelCheckbox, model.value]
1503
1503
  ]),
1504
- createElementVNode("span", _hoisted_2$g, [
1504
+ createElementVNode("span", _hoisted_2$i, [
1505
1505
  createVNode(LfIcon, {
1506
1506
  name: "check",
1507
1507
  size: "0.875rem"
1508
1508
  })
1509
1509
  ]),
1510
- __props.label || __props.description || _ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_3$c, [
1511
- createElementVNode("span", _hoisted_4$b, [
1510
+ __props.label || __props.description || _ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_3$e, [
1511
+ createElementVNode("span", _hoisted_4$d, [
1512
1512
  renderSlot(_ctx.$slots, "default", {}, () => [
1513
1513
  createTextVNode(toDisplayString(__props.label), 1)
1514
1514
  ], true)
1515
1515
  ]),
1516
- __props.description ? (openBlock(), createElementBlock("span", _hoisted_5$9, toDisplayString(__props.description), 1)) : createCommentVNode("", true)
1516
+ __props.description ? (openBlock(), createElementBlock("span", _hoisted_5$a, toDisplayString(__props.description), 1)) : createCommentVNode("", true)
1517
1517
  ])) : createCommentVNode("", true)
1518
1518
  ], 2);
1519
1519
  };
1520
1520
  }
1521
1521
  });
1522
- const LfCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-a86332f0"]]);
1523
- const _hoisted_1$g = {
1522
+ const LfCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-a86332f0"]]);
1523
+ const _hoisted_1$i = {
1524
1524
  key: 0,
1525
1525
  class: "lf-switch__text"
1526
1526
  };
1527
- const _hoisted_2$f = { class: "lf-switch__label" };
1528
- const _hoisted_3$b = {
1527
+ const _hoisted_2$h = { class: "lf-switch__label" };
1528
+ const _hoisted_3$d = {
1529
1529
  key: 0,
1530
1530
  class: "lf-switch__desc"
1531
1531
  };
1532
- const _hoisted_4$a = ["disabled"];
1533
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
1532
+ const _hoisted_4$c = ["disabled"];
1533
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
1534
1534
  ...{ inheritAttrs: false },
1535
1535
  __name: "LfSwitch",
1536
1536
  props: /* @__PURE__ */ mergeModels({
@@ -1549,13 +1549,13 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
1549
1549
  return openBlock(), createElementBlock("label", {
1550
1550
  class: normalizeClass(["lf-switch", { "lf-switch--row": __props.row, "lf-switch--disabled": __props.disabled }])
1551
1551
  }, [
1552
- __props.label || __props.description || _ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_1$g, [
1553
- createElementVNode("span", _hoisted_2$f, [
1552
+ __props.label || __props.description || _ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_1$i, [
1553
+ createElementVNode("span", _hoisted_2$h, [
1554
1554
  renderSlot(_ctx.$slots, "default", {}, () => [
1555
1555
  createTextVNode(toDisplayString(__props.label), 1)
1556
1556
  ], true)
1557
1557
  ]),
1558
- __props.description ? (openBlock(), createElementBlock("span", _hoisted_3$b, toDisplayString(__props.description), 1)) : createCommentVNode("", true)
1558
+ __props.description ? (openBlock(), createElementBlock("span", _hoisted_3$d, toDisplayString(__props.description), 1)) : createCommentVNode("", true)
1559
1559
  ])) : createCommentVNode("", true),
1560
1560
  withDirectives(createElementVNode("input", mergeProps(_ctx.$attrs, {
1561
1561
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => model.value = $event),
@@ -1563,7 +1563,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
1563
1563
  type: "checkbox",
1564
1564
  role: "switch",
1565
1565
  disabled: __props.disabled
1566
- }), null, 16, _hoisted_4$a), [
1566
+ }), null, 16, _hoisted_4$c), [
1567
1567
  [vModelCheckbox, model.value]
1568
1568
  ]),
1569
1569
  _cache[1] || (_cache[1] = createElementVNode("span", {
@@ -1576,33 +1576,33 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
1576
1576
  };
1577
1577
  }
1578
1578
  });
1579
- const LfSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-134991c6"]]);
1580
- const _hoisted_1$f = {
1579
+ const LfSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-134991c6"]]);
1580
+ const _hoisted_1$h = {
1581
1581
  key: 0,
1582
1582
  class: "lf-radio-group__legend"
1583
1583
  };
1584
- const _hoisted_2$e = {
1584
+ const _hoisted_2$g = {
1585
1585
  key: 0,
1586
1586
  class: "lf-radio-group__required",
1587
1587
  "aria-hidden": "true"
1588
1588
  };
1589
- const _hoisted_3$a = ["name", "value", "disabled"];
1590
- const _hoisted_4$9 = { class: "lf-radio__text" };
1591
- const _hoisted_5$8 = { class: "lf-radio__label" };
1592
- const _hoisted_6$7 = {
1589
+ const _hoisted_3$c = ["name", "value", "disabled"];
1590
+ const _hoisted_4$b = { class: "lf-radio__text" };
1591
+ const _hoisted_5$9 = { class: "lf-radio__label" };
1592
+ const _hoisted_6$8 = {
1593
1593
  key: 0,
1594
1594
  class: "lf-radio__desc"
1595
1595
  };
1596
- const _hoisted_7$5 = {
1596
+ const _hoisted_7$6 = {
1597
1597
  key: 1,
1598
1598
  class: "lf-radio-group__error",
1599
1599
  role: "alert"
1600
1600
  };
1601
- const _hoisted_8 = {
1601
+ const _hoisted_8$1 = {
1602
1602
  key: 2,
1603
1603
  class: "lf-radio-group__hint"
1604
1604
  };
1605
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
1605
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
1606
1606
  __name: "LfRadioGroup",
1607
1607
  props: /* @__PURE__ */ mergeModels({
1608
1608
  options: { default: () => [] },
@@ -1628,9 +1628,9 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
1628
1628
  return openBlock(), createElementBlock("fieldset", {
1629
1629
  class: normalizeClass(["lf-radio-group", { "lf-radio-group--inline": __props.inline }])
1630
1630
  }, [
1631
- __props.label ? (openBlock(), createElementBlock("legend", _hoisted_1$f, [
1631
+ __props.label ? (openBlock(), createElementBlock("legend", _hoisted_1$h, [
1632
1632
  createTextVNode(toDisplayString(__props.label) + " ", 1),
1633
- __props.required ? (openBlock(), createElementBlock("span", _hoisted_2$e, "*")) : createCommentVNode("", true)
1633
+ __props.required ? (openBlock(), createElementBlock("span", _hoisted_2$g, "*")) : createCommentVNode("", true)
1634
1634
  ])) : createCommentVNode("", true),
1635
1635
  (openBlock(true), createElementBlock(Fragment, null, renderList(normalized.value, (opt) => {
1636
1636
  return openBlock(), createElementBlock("label", {
@@ -1644,42 +1644,42 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
1644
1644
  name: unref(groupName),
1645
1645
  value: opt.value,
1646
1646
  disabled: __props.disabled || opt.disabled
1647
- }, null, 8, _hoisted_3$a), [
1647
+ }, null, 8, _hoisted_3$c), [
1648
1648
  [vModelRadio, model.value]
1649
1649
  ]),
1650
1650
  _cache[1] || (_cache[1] = createElementVNode("span", {
1651
1651
  class: "lf-radio__dot",
1652
1652
  "aria-hidden": "true"
1653
1653
  }, null, -1)),
1654
- createElementVNode("span", _hoisted_4$9, [
1655
- createElementVNode("span", _hoisted_5$8, toDisplayString(opt.label), 1),
1656
- opt.description ? (openBlock(), createElementBlock("span", _hoisted_6$7, toDisplayString(opt.description), 1)) : createCommentVNode("", true)
1654
+ createElementVNode("span", _hoisted_4$b, [
1655
+ createElementVNode("span", _hoisted_5$9, toDisplayString(opt.label), 1),
1656
+ opt.description ? (openBlock(), createElementBlock("span", _hoisted_6$8, toDisplayString(opt.description), 1)) : createCommentVNode("", true)
1657
1657
  ])
1658
1658
  ], 2);
1659
1659
  }), 128)),
1660
- __props.error ? (openBlock(), createElementBlock("p", _hoisted_7$5, toDisplayString(__props.error), 1)) : __props.hint ? (openBlock(), createElementBlock("p", _hoisted_8, toDisplayString(__props.hint), 1)) : createCommentVNode("", true)
1660
+ __props.error ? (openBlock(), createElementBlock("p", _hoisted_7$6, toDisplayString(__props.error), 1)) : __props.hint ? (openBlock(), createElementBlock("p", _hoisted_8$1, toDisplayString(__props.hint), 1)) : createCommentVNode("", true)
1661
1661
  ], 2);
1662
1662
  };
1663
1663
  }
1664
1664
  });
1665
- const LfRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-cffad147"]]);
1666
- const _hoisted_1$e = ["aria-labelledby", "aria-label"];
1667
- const _hoisted_2$d = {
1665
+ const LfRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-cffad147"]]);
1666
+ const _hoisted_1$g = ["aria-labelledby", "aria-label"];
1667
+ const _hoisted_2$f = {
1668
1668
  key: 0,
1669
1669
  class: "lf-modal__header"
1670
1670
  };
1671
- const _hoisted_3$9 = { class: "lf-modal__heading" };
1672
- const _hoisted_4$8 = ["id"];
1673
- const _hoisted_5$7 = {
1671
+ const _hoisted_3$b = { class: "lf-modal__heading" };
1672
+ const _hoisted_4$a = ["id"];
1673
+ const _hoisted_5$8 = {
1674
1674
  key: 0,
1675
1675
  class: "lf-modal__subtitle"
1676
1676
  };
1677
- const _hoisted_6$6 = { class: "lf-modal__body" };
1678
- const _hoisted_7$4 = {
1677
+ const _hoisted_6$7 = { class: "lf-modal__body" };
1678
+ const _hoisted_7$5 = {
1679
1679
  key: 1,
1680
1680
  class: "lf-modal__footer"
1681
1681
  };
1682
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
1682
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
1683
1683
  __name: "LfModal",
1684
1684
  props: /* @__PURE__ */ mergeModels({
1685
1685
  title: {},
@@ -1791,14 +1791,14 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
1791
1791
  "aria-label": __props.title ? void 0 : __props.ariaLabel,
1792
1792
  onKeydown
1793
1793
  }, [
1794
- __props.title || _ctx.$slots.header || __props.closable ? (openBlock(), createElementBlock("header", _hoisted_2$d, [
1794
+ __props.title || _ctx.$slots.header || __props.closable ? (openBlock(), createElementBlock("header", _hoisted_2$f, [
1795
1795
  renderSlot(_ctx.$slots, "header", {}, () => [
1796
- createElementVNode("div", _hoisted_3$9, [
1796
+ createElementVNode("div", _hoisted_3$b, [
1797
1797
  createElementVNode("h2", {
1798
1798
  id: unref(titleId),
1799
1799
  class: "lf-modal__title"
1800
- }, toDisplayString(__props.title), 9, _hoisted_4$8),
1801
- __props.subtitle ? (openBlock(), createElementBlock("p", _hoisted_5$7, toDisplayString(__props.subtitle), 1)) : createCommentVNode("", true)
1800
+ }, toDisplayString(__props.title), 9, _hoisted_4$a),
1801
+ __props.subtitle ? (openBlock(), createElementBlock("p", _hoisted_5$8, toDisplayString(__props.subtitle), 1)) : createCommentVNode("", true)
1802
1802
  ])
1803
1803
  ], true),
1804
1804
  __props.closable ? (openBlock(), createBlock(LfIconButton, {
@@ -1809,13 +1809,13 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
1809
1809
  onClick: _cache[0] || (_cache[0] = ($event) => close("close"))
1810
1810
  }, null, 8, ["label"])) : createCommentVNode("", true)
1811
1811
  ])) : createCommentVNode("", true),
1812
- createElementVNode("div", _hoisted_6$6, [
1812
+ createElementVNode("div", _hoisted_6$7, [
1813
1813
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
1814
1814
  ]),
1815
- _ctx.$slots.footer ? (openBlock(), createElementBlock("footer", _hoisted_7$4, [
1815
+ _ctx.$slots.footer ? (openBlock(), createElementBlock("footer", _hoisted_7$5, [
1816
1816
  renderSlot(_ctx.$slots, "footer", {}, void 0, true)
1817
1817
  ])) : createCommentVNode("", true)
1818
- ], 42, _hoisted_1$e)
1818
+ ], 42, _hoisted_1$g)
1819
1819
  ], 32)) : createCommentVNode("", true)
1820
1820
  ]),
1821
1821
  _: 3
@@ -1824,30 +1824,30 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
1824
1824
  };
1825
1825
  }
1826
1826
  });
1827
- const LfModal = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-cd0b7eb4"]]);
1828
- const _hoisted_1$d = {
1827
+ const LfModal = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-cd0b7eb4"]]);
1828
+ const _hoisted_1$f = {
1829
1829
  key: 0,
1830
1830
  class: "lf-card__head"
1831
1831
  };
1832
- const _hoisted_2$c = {
1832
+ const _hoisted_2$e = {
1833
1833
  key: 0,
1834
1834
  class: "lf-card__icon"
1835
1835
  };
1836
- const _hoisted_3$8 = { class: "lf-card__title" };
1837
- const _hoisted_4$7 = {
1836
+ const _hoisted_3$a = { class: "lf-card__title" };
1837
+ const _hoisted_4$9 = {
1838
1838
  key: 1,
1839
1839
  class: "lf-card__count"
1840
1840
  };
1841
- const _hoisted_5$6 = {
1841
+ const _hoisted_5$7 = {
1842
1842
  key: 0,
1843
1843
  class: "lf-card__actions"
1844
1844
  };
1845
- const _hoisted_6$5 = { class: "lf-card__body" };
1846
- const _hoisted_7$3 = {
1845
+ const _hoisted_6$6 = { class: "lf-card__body" };
1846
+ const _hoisted_7$4 = {
1847
1847
  key: 1,
1848
1848
  class: "lf-card__foot"
1849
1849
  };
1850
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
1850
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
1851
1851
  __name: "LfCard",
1852
1852
  props: {
1853
1853
  title: {},
@@ -1863,9 +1863,9 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
1863
1863
  return openBlock(), createElementBlock("section", {
1864
1864
  class: normalizeClass(["lf-card", [{ "lf-card--glass": __props.glass }, `lf-card--pad-${__props.flush ? "none" : __props.padding}`]])
1865
1865
  }, [
1866
- __props.title || _ctx.$slots.header || _ctx.$slots.actions ? (openBlock(), createElementBlock("header", _hoisted_1$d, [
1866
+ __props.title || _ctx.$slots.header || _ctx.$slots.actions ? (openBlock(), createElementBlock("header", _hoisted_1$f, [
1867
1867
  renderSlot(_ctx.$slots, "header", {}, () => [
1868
- __props.icon || __props.iconPath || _ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_2$c, [
1868
+ __props.icon || __props.iconPath || _ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_2$e, [
1869
1869
  renderSlot(_ctx.$slots, "icon", {}, () => [
1870
1870
  createVNode(LfIcon, {
1871
1871
  name: __props.icon,
@@ -1874,45 +1874,45 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
1874
1874
  }, null, 8, ["name", "path"])
1875
1875
  ], true)
1876
1876
  ])) : createCommentVNode("", true),
1877
- createElementVNode("h3", _hoisted_3$8, toDisplayString(__props.title), 1),
1878
- __props.count !== void 0 ? (openBlock(), createElementBlock("span", _hoisted_4$7, toDisplayString(__props.count), 1)) : createCommentVNode("", true)
1877
+ createElementVNode("h3", _hoisted_3$a, toDisplayString(__props.title), 1),
1878
+ __props.count !== void 0 ? (openBlock(), createElementBlock("span", _hoisted_4$9, toDisplayString(__props.count), 1)) : createCommentVNode("", true)
1879
1879
  ], true),
1880
1880
  _cache[0] || (_cache[0] = createElementVNode("span", { class: "lf-card__spacer" }, null, -1)),
1881
- _ctx.$slots.actions ? (openBlock(), createElementBlock("div", _hoisted_5$6, [
1881
+ _ctx.$slots.actions ? (openBlock(), createElementBlock("div", _hoisted_5$7, [
1882
1882
  renderSlot(_ctx.$slots, "actions", {}, void 0, true)
1883
1883
  ])) : createCommentVNode("", true)
1884
1884
  ])) : createCommentVNode("", true),
1885
- createElementVNode("div", _hoisted_6$5, [
1885
+ createElementVNode("div", _hoisted_6$6, [
1886
1886
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
1887
1887
  ]),
1888
- _ctx.$slots.footer ? (openBlock(), createElementBlock("footer", _hoisted_7$3, [
1888
+ _ctx.$slots.footer ? (openBlock(), createElementBlock("footer", _hoisted_7$4, [
1889
1889
  renderSlot(_ctx.$slots, "footer", {}, void 0, true)
1890
1890
  ])) : createCommentVNode("", true)
1891
1891
  ], 2);
1892
1892
  };
1893
1893
  }
1894
1894
  });
1895
- const LfCard = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-4d6ca8ce"]]);
1896
- const _hoisted_1$c = { class: "lf-page-header" };
1897
- const _hoisted_2$b = { class: "lf-page-header__title-box" };
1898
- const _hoisted_3$7 = { class: "lf-page-header__title" };
1899
- const _hoisted_4$6 = {
1895
+ const LfCard = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-4d6ca8ce"]]);
1896
+ const _hoisted_1$e = { class: "lf-page-header" };
1897
+ const _hoisted_2$d = { class: "lf-page-header__title-box" };
1898
+ const _hoisted_3$9 = { class: "lf-page-header__title" };
1899
+ const _hoisted_4$8 = {
1900
1900
  key: 0,
1901
1901
  class: "lf-page-header__icon"
1902
1902
  };
1903
- const _hoisted_5$5 = {
1903
+ const _hoisted_5$6 = {
1904
1904
  key: 0,
1905
1905
  class: "lf-page-header__count"
1906
1906
  };
1907
- const _hoisted_6$4 = {
1907
+ const _hoisted_6$5 = {
1908
1908
  key: 0,
1909
1909
  class: "lf-page-header__tools"
1910
1910
  };
1911
- const _hoisted_7$2 = {
1911
+ const _hoisted_7$3 = {
1912
1912
  key: 1,
1913
1913
  class: "lf-page-header__desc"
1914
1914
  };
1915
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
1915
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
1916
1916
  __name: "LfPageHeader",
1917
1917
  props: {
1918
1918
  title: {},
@@ -1925,10 +1925,10 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
1925
1925
  const slots = useSlots();
1926
1926
  const hasTools = computed(() => !!slots.filters || !!slots.actions);
1927
1927
  return (_ctx, _cache) => {
1928
- return openBlock(), createElementBlock("div", _hoisted_1$c, [
1929
- createElementVNode("div", _hoisted_2$b, [
1930
- createElementVNode("h1", _hoisted_3$7, [
1931
- __props.icon || __props.iconPath || _ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_4$6, [
1928
+ return openBlock(), createElementBlock("div", _hoisted_1$e, [
1929
+ createElementVNode("div", _hoisted_2$d, [
1930
+ createElementVNode("h1", _hoisted_3$9, [
1931
+ __props.icon || __props.iconPath || _ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_4$8, [
1932
1932
  renderSlot(_ctx.$slots, "icon", {}, () => [
1933
1933
  createVNode(LfIcon, {
1934
1934
  name: __props.icon,
@@ -1941,14 +1941,14 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
1941
1941
  createTextVNode(toDisplayString(__props.title), 1)
1942
1942
  ], true)
1943
1943
  ]),
1944
- __props.count !== void 0 ? (openBlock(), createElementBlock("span", _hoisted_5$5, toDisplayString(__props.count), 1)) : createCommentVNode("", true)
1944
+ __props.count !== void 0 ? (openBlock(), createElementBlock("span", _hoisted_5$6, toDisplayString(__props.count), 1)) : createCommentVNode("", true)
1945
1945
  ]),
1946
- hasTools.value ? (openBlock(), createElementBlock("div", _hoisted_6$4, [
1946
+ hasTools.value ? (openBlock(), createElementBlock("div", _hoisted_6$5, [
1947
1947
  renderSlot(_ctx.$slots, "filters", {}, void 0, true),
1948
1948
  _cache[0] || (_cache[0] = createElementVNode("span", { class: "lf-page-header__spacer" }, null, -1)),
1949
1949
  renderSlot(_ctx.$slots, "actions", {}, void 0, true)
1950
1950
  ])) : createCommentVNode("", true),
1951
- __props.description || _ctx.$slots.description ? (openBlock(), createElementBlock("p", _hoisted_7$2, [
1951
+ __props.description || _ctx.$slots.description ? (openBlock(), createElementBlock("p", _hoisted_7$3, [
1952
1952
  renderSlot(_ctx.$slots, "description", {}, () => [
1953
1953
  createTextVNode(toDisplayString(__props.description), 1)
1954
1954
  ], true)
@@ -1957,14 +1957,14 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
1957
1957
  };
1958
1958
  }
1959
1959
  });
1960
- const LfPageHeader = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-04602db7"]]);
1961
- const _hoisted_1$b = {
1960
+ const LfPageHeader = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-04602db7"]]);
1961
+ const _hoisted_1$d = {
1962
1962
  key: 0,
1963
1963
  class: "lf-badge__dot",
1964
1964
  "aria-hidden": "true"
1965
1965
  };
1966
- const _hoisted_2$a = ["aria-label"];
1967
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
1966
+ const _hoisted_2$c = ["aria-label"];
1967
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
1968
1968
  __name: "LfBadge",
1969
1969
  props: {
1970
1970
  label: {},
@@ -1984,7 +1984,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
1984
1984
  return openBlock(), createElementBlock("span", {
1985
1985
  class: normalizeClass(["lf-badge", [`lf-badge--${__props.tone}`, `lf-badge--${__props.variant}`, { "lf-badge--sm": __props.size === "sm" }]])
1986
1986
  }, [
1987
- __props.dot ? (openBlock(), createElementBlock("span", _hoisted_1$b)) : __props.icon || __props.iconPath ? (openBlock(), createBlock(LfIcon, {
1987
+ __props.dot ? (openBlock(), createElementBlock("span", _hoisted_1$d)) : __props.icon || __props.iconPath ? (openBlock(), createBlock(LfIcon, {
1988
1988
  key: 1,
1989
1989
  name: __props.icon,
1990
1990
  path: __props.iconPath,
@@ -2004,27 +2004,27 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
2004
2004
  name: "close",
2005
2005
  size: "0.75rem"
2006
2006
  })
2007
- ], 8, _hoisted_2$a)) : createCommentVNode("", true)
2007
+ ], 8, _hoisted_2$c)) : createCommentVNode("", true)
2008
2008
  ], 2);
2009
2009
  };
2010
2010
  }
2011
2011
  });
2012
- const LfBadge = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-b55cda7f"]]);
2013
- const _hoisted_1$a = ["role"];
2014
- const _hoisted_2$9 = {
2012
+ const LfBadge = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-b55cda7f"]]);
2013
+ const _hoisted_1$c = ["role"];
2014
+ const _hoisted_2$b = {
2015
2015
  class: "lf-alert__badge",
2016
2016
  "aria-hidden": "true"
2017
2017
  };
2018
- const _hoisted_3$6 = { class: "lf-alert__body" };
2019
- const _hoisted_4$5 = {
2018
+ const _hoisted_3$8 = { class: "lf-alert__body" };
2019
+ const _hoisted_4$7 = {
2020
2020
  key: 0,
2021
2021
  class: "lf-alert__title"
2022
2022
  };
2023
- const _hoisted_5$4 = {
2023
+ const _hoisted_5$5 = {
2024
2024
  key: 2,
2025
2025
  class: "lf-alert__actions"
2026
2026
  };
2027
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
2027
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
2028
2028
  __name: "LfAlert",
2029
2029
  props: {
2030
2030
  tone: { default: "info" },
@@ -2050,7 +2050,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
2050
2050
  class: normalizeClass(["lf-alert", [`lf-alert--${__props.tone}`, { "lf-alert--dense": __props.dense }]]),
2051
2051
  role: __props.tone === "error" ? "alert" : "status"
2052
2052
  }, [
2053
- createElementVNode("span", _hoisted_2$9, [
2053
+ createElementVNode("span", _hoisted_2$b, [
2054
2054
  renderSlot(_ctx.$slots, "icon", {}, () => [
2055
2055
  createVNode(LfIcon, {
2056
2056
  name: __props.icon ?? TONE_ICON[__props.tone],
@@ -2059,8 +2059,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
2059
2059
  }, null, 8, ["name", "path", "size"])
2060
2060
  ], true)
2061
2061
  ]),
2062
- createElementVNode("div", _hoisted_3$6, [
2063
- __props.title ? (openBlock(), createElementBlock("p", _hoisted_4$5, toDisplayString(__props.title), 1)) : createCommentVNode("", true),
2062
+ createElementVNode("div", _hoisted_3$8, [
2063
+ __props.title ? (openBlock(), createElementBlock("p", _hoisted_4$7, toDisplayString(__props.title), 1)) : createCommentVNode("", true),
2064
2064
  __props.message || _ctx.$slots.default ? (openBlock(), createElementBlock("div", {
2065
2065
  key: 1,
2066
2066
  class: normalizeClass(["lf-alert__text", { "lf-alert__text--titled": __props.title }])
@@ -2069,7 +2069,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
2069
2069
  createTextVNode(toDisplayString(__props.message), 1)
2070
2070
  ], true)
2071
2071
  ], 2)) : createCommentVNode("", true),
2072
- _ctx.$slots.actions ? (openBlock(), createElementBlock("div", _hoisted_5$4, [
2072
+ _ctx.$slots.actions ? (openBlock(), createElementBlock("div", _hoisted_5$5, [
2073
2073
  renderSlot(_ctx.$slots, "actions", {}, void 0, true)
2074
2074
  ])) : createCommentVNode("", true)
2075
2075
  ]),
@@ -2081,14 +2081,14 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
2081
2081
  label: __props.closeLabel,
2082
2082
  onClick: _cache[0] || (_cache[0] = ($event) => emit("close"))
2083
2083
  }, null, 8, ["label"])) : createCommentVNode("", true)
2084
- ], 10, _hoisted_1$a);
2084
+ ], 10, _hoisted_1$c);
2085
2085
  };
2086
2086
  }
2087
2087
  });
2088
- const LfAlert = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-62839786"]]);
2089
- const _hoisted_1$9 = ["title"];
2090
- const _hoisted_2$8 = ["src", "alt"];
2091
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
2088
+ const LfAlert = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-62839786"]]);
2089
+ const _hoisted_1$b = ["title"];
2090
+ const _hoisted_2$a = ["src", "alt"];
2091
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
2092
2092
  __name: "LfAvatar",
2093
2093
  props: {
2094
2094
  name: {},
@@ -2123,21 +2123,21 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
2123
2123
  src: __props.src,
2124
2124
  alt: __props.name ?? "",
2125
2125
  onError: _cache[0] || (_cache[0] = ($event) => errored.value = true)
2126
- }, null, 40, _hoisted_2$8)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
2126
+ }, null, 40, _hoisted_2$a)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
2127
2127
  createTextVNode(toDisplayString(initial.value), 1)
2128
2128
  ], 64))
2129
- ], 14, _hoisted_1$9);
2129
+ ], 14, _hoisted_1$b);
2130
2130
  };
2131
2131
  }
2132
2132
  });
2133
- const LfAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-61adf36e"]]);
2134
- const _hoisted_1$8 = { class: "lf-table-wrap" };
2135
- const _hoisted_2$7 = ["aria-sort"];
2136
- const _hoisted_3$5 = ["onClick"];
2137
- const _hoisted_4$4 = { key: 1 };
2138
- const _hoisted_5$3 = ["colspan"];
2139
- const _hoisted_6$3 = ["tabindex", "onClick", "onKeydown"];
2140
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2133
+ const LfAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-61adf36e"]]);
2134
+ const _hoisted_1$a = { class: "lf-table-wrap" };
2135
+ const _hoisted_2$9 = ["aria-sort"];
2136
+ const _hoisted_3$7 = ["onClick"];
2137
+ const _hoisted_4$6 = { key: 1 };
2138
+ const _hoisted_5$4 = ["colspan"];
2139
+ const _hoisted_6$4 = ["tabindex", "onClick", "onKeydown"];
2140
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
2141
2141
  __name: "LfTable",
2142
2142
  props: {
2143
2143
  columns: {},
@@ -2169,7 +2169,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2169
2169
  return props.sort.order === "asc" ? "ascending" : "descending";
2170
2170
  }
2171
2171
  return (_ctx, _cache) => {
2172
- return openBlock(), createElementBlock("div", _hoisted_1$8, [
2172
+ return openBlock(), createElementBlock("div", _hoisted_1$a, [
2173
2173
  createElementVNode("table", {
2174
2174
  class: normalizeClass(["lf-table", { "lf-table--compact": __props.compact }]),
2175
2175
  style: normalizeStyle({ minWidth: __props.minWidth })
@@ -2196,10 +2196,10 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2196
2196
  name: __props.sort.order === "asc" ? "arrow_upward" : "arrow_downward",
2197
2197
  size: "0.875rem"
2198
2198
  }, null, 8, ["name"])) : createCommentVNode("", true)
2199
- ], 8, _hoisted_3$5)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
2199
+ ], 8, _hoisted_3$7)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
2200
2200
  createTextVNode(toDisplayString(col.label), 1)
2201
2201
  ], 64))
2202
- ], 14, _hoisted_2$7);
2202
+ ], 14, _hoisted_2$9);
2203
2203
  }), 128))
2204
2204
  ])
2205
2205
  ]),
@@ -2218,7 +2218,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2218
2218
  ])], 2);
2219
2219
  }), 128))
2220
2220
  ]);
2221
- }), 128)) : __props.rows.length === 0 ? (openBlock(), createElementBlock("tr", _hoisted_4$4, [
2221
+ }), 128)) : __props.rows.length === 0 ? (openBlock(), createElementBlock("tr", _hoisted_4$6, [
2222
2222
  createElementVNode("td", {
2223
2223
  class: "lf-table__empty",
2224
2224
  colspan: __props.columns.length
@@ -2226,7 +2226,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2226
2226
  renderSlot(_ctx.$slots, "empty", {}, () => [
2227
2227
  createTextVNode(toDisplayString(__props.emptyText), 1)
2228
2228
  ], true)
2229
- ], 8, _hoisted_5$3)
2229
+ ], 8, _hoisted_5$4)
2230
2230
  ])) : (openBlock(true), createElementBlock(Fragment, { key: 2 }, renderList(__props.rows, (row, i2) => {
2231
2231
  return openBlock(), createElementBlock("tr", {
2232
2232
  key: keyOf(row, i2),
@@ -2250,7 +2250,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2250
2250
  ], true)
2251
2251
  ], 6);
2252
2252
  }), 128))
2253
- ], 42, _hoisted_6$3);
2253
+ ], 42, _hoisted_6$4);
2254
2254
  }), 128))
2255
2255
  ])
2256
2256
  ], 6)
@@ -2258,26 +2258,26 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2258
2258
  };
2259
2259
  }
2260
2260
  });
2261
- const LfTable = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-dc7b5ff5"]]);
2262
- const _hoisted_1$7 = ["aria-label"];
2263
- const _hoisted_2$6 = {
2261
+ const LfTable = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-dc7b5ff5"]]);
2262
+ const _hoisted_1$9 = ["aria-label"];
2263
+ const _hoisted_2$8 = {
2264
2264
  key: 0,
2265
2265
  class: "lf-pagination__total"
2266
2266
  };
2267
- const _hoisted_3$4 = {
2267
+ const _hoisted_3$6 = {
2268
2268
  key: 1,
2269
2269
  class: "lf-pagination__btns"
2270
2270
  };
2271
- const _hoisted_4$3 = ["disabled"];
2272
- const _hoisted_5$2 = {
2271
+ const _hoisted_4$5 = ["disabled"];
2272
+ const _hoisted_5$3 = {
2273
2273
  key: 0,
2274
2274
  class: "lf-pagination__gap",
2275
2275
  "aria-hidden": "true"
2276
2276
  };
2277
- const _hoisted_6$2 = ["aria-current", "onClick"];
2278
- const _hoisted_7$1 = ["disabled"];
2277
+ const _hoisted_6$3 = ["aria-current", "onClick"];
2278
+ const _hoisted_7$2 = ["disabled"];
2279
2279
  const ELLIPSIS = -1;
2280
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2280
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
2281
2281
  __name: "LfPagination",
2282
2282
  props: /* @__PURE__ */ mergeModels({
2283
2283
  total: { default: 0 },
@@ -2318,12 +2318,12 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2318
2318
  class: "lf-pagination",
2319
2319
  "aria-label": __props.ariaLabel
2320
2320
  }, [
2321
- __props.showTotal ? (openBlock(), createElementBlock("p", _hoisted_2$6, [
2321
+ __props.showTotal ? (openBlock(), createElementBlock("p", _hoisted_2$8, [
2322
2322
  renderSlot(_ctx.$slots, "total", {}, () => [
2323
2323
  createTextVNode("전체 " + toDisplayString(__props.total.toLocaleString()) + "건", 1)
2324
2324
  ], true)
2325
2325
  ])) : createCommentVNode("", true),
2326
- totalPages.value > 1 ? (openBlock(), createElementBlock("div", _hoisted_3$4, [
2326
+ totalPages.value > 1 ? (openBlock(), createElementBlock("div", _hoisted_3$6, [
2327
2327
  createElementVNode("button", {
2328
2328
  type: "button",
2329
2329
  class: "lf-pagination__btn",
@@ -2335,18 +2335,18 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2335
2335
  name: "chevron_left",
2336
2336
  size: "1rem"
2337
2337
  })
2338
- ], 8, _hoisted_4$3),
2338
+ ], 8, _hoisted_4$5),
2339
2339
  (openBlock(true), createElementBlock(Fragment, null, renderList(items.value, (p, i2) => {
2340
2340
  return openBlock(), createElementBlock(Fragment, {
2341
2341
  key: `${p}-${i2}`
2342
2342
  }, [
2343
- p === ELLIPSIS ? (openBlock(), createElementBlock("span", _hoisted_5$2, "…")) : (openBlock(), createElementBlock("button", {
2343
+ p === ELLIPSIS ? (openBlock(), createElementBlock("span", _hoisted_5$3, "…")) : (openBlock(), createElementBlock("button", {
2344
2344
  key: 1,
2345
2345
  type: "button",
2346
2346
  class: normalizeClass(["lf-pagination__btn", { "lf-pagination__btn--active": p === model.value }]),
2347
2347
  "aria-current": p === model.value ? "page" : void 0,
2348
2348
  onClick: ($event) => go(p)
2349
- }, toDisplayString(p), 11, _hoisted_6$2))
2349
+ }, toDisplayString(p), 11, _hoisted_6$3))
2350
2350
  ], 64);
2351
2351
  }), 128)),
2352
2352
  createElementVNode("button", {
@@ -2360,27 +2360,27 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2360
2360
  name: "chevron_right",
2361
2361
  size: "1rem"
2362
2362
  })
2363
- ], 8, _hoisted_7$1)
2363
+ ], 8, _hoisted_7$2)
2364
2364
  ])) : createCommentVNode("", true)
2365
- ], 8, _hoisted_1$7)) : createCommentVNode("", true);
2365
+ ], 8, _hoisted_1$9)) : createCommentVNode("", true);
2366
2366
  };
2367
2367
  }
2368
2368
  });
2369
- const LfPagination = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-be847541"]]);
2370
- const _hoisted_1$6 = {
2369
+ const LfPagination = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-be847541"]]);
2370
+ const _hoisted_1$8 = {
2371
2371
  key: 0,
2372
2372
  class: "lf-empty__icon"
2373
2373
  };
2374
- const _hoisted_2$5 = { class: "lf-empty__title" };
2375
- const _hoisted_3$3 = {
2374
+ const _hoisted_2$7 = { class: "lf-empty__title" };
2375
+ const _hoisted_3$5 = {
2376
2376
  key: 1,
2377
2377
  class: "lf-empty__desc"
2378
2378
  };
2379
- const _hoisted_4$2 = {
2379
+ const _hoisted_4$4 = {
2380
2380
  key: 2,
2381
2381
  class: "lf-empty__action"
2382
2382
  };
2383
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
2383
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2384
2384
  __name: "LfEmptyState",
2385
2385
  props: {
2386
2386
  title: { default: "표시할 내용이 없습니다." },
@@ -2395,7 +2395,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
2395
2395
  return openBlock(), createElementBlock("div", {
2396
2396
  class: normalizeClass(["lf-empty", [`lf-empty--${__props.tone}`, { "lf-empty--dense": __props.dense }]])
2397
2397
  }, [
2398
- __props.icon || __props.iconPath || _ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_1$6, [
2398
+ __props.icon || __props.iconPath || _ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_1$8, [
2399
2399
  renderSlot(_ctx.$slots, "icon", {}, () => [
2400
2400
  createVNode(LfIcon, {
2401
2401
  name: __props.icon,
@@ -2404,31 +2404,31 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
2404
2404
  }, null, 8, ["name", "path"])
2405
2405
  ], true)
2406
2406
  ])) : createCommentVNode("", true),
2407
- createElementVNode("p", _hoisted_2$5, [
2407
+ createElementVNode("p", _hoisted_2$7, [
2408
2408
  renderSlot(_ctx.$slots, "title", {}, () => [
2409
2409
  createTextVNode(toDisplayString(__props.title), 1)
2410
2410
  ], true)
2411
2411
  ]),
2412
- __props.description || _ctx.$slots.description ? (openBlock(), createElementBlock("p", _hoisted_3$3, [
2412
+ __props.description || _ctx.$slots.description ? (openBlock(), createElementBlock("p", _hoisted_3$5, [
2413
2413
  renderSlot(_ctx.$slots, "description", {}, () => [
2414
2414
  createTextVNode(toDisplayString(__props.description), 1)
2415
2415
  ], true)
2416
2416
  ])) : createCommentVNode("", true),
2417
- _ctx.$slots.default ? (openBlock(), createElementBlock("div", _hoisted_4$2, [
2417
+ _ctx.$slots.default ? (openBlock(), createElementBlock("div", _hoisted_4$4, [
2418
2418
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
2419
2419
  ])) : createCommentVNode("", true)
2420
2420
  ], 2);
2421
2421
  };
2422
2422
  }
2423
2423
  });
2424
- const LfEmptyState = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-b0e021c9"]]);
2425
- const _hoisted_1$5 = {
2424
+ const LfEmptyState = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-b0e021c9"]]);
2425
+ const _hoisted_1$7 = {
2426
2426
  key: 0,
2427
2427
  class: "lf-skeleton-group",
2428
2428
  "aria-busy": true,
2429
2429
  "aria-live": "polite"
2430
2430
  };
2431
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2431
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2432
2432
  __name: "LfSkeleton",
2433
2433
  props: {
2434
2434
  variant: { default: "text" },
@@ -2443,7 +2443,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2443
2443
  return { width: last ? "60%" : props.width ?? "100%", height: props.height };
2444
2444
  }
2445
2445
  return (_ctx, _cache) => {
2446
- return __props.lines > 1 ? (openBlock(), createElementBlock("div", _hoisted_1$5, [
2446
+ return __props.lines > 1 ? (openBlock(), createElementBlock("div", _hoisted_1$7, [
2447
2447
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.lines, (n) => {
2448
2448
  return openBlock(), createElementBlock("span", {
2449
2449
  key: n,
@@ -2460,24 +2460,24 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2460
2460
  };
2461
2461
  }
2462
2462
  });
2463
- const LfSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-a01556ce"]]);
2464
- const _hoisted_1$4 = {
2463
+ const LfSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-a01556ce"]]);
2464
+ const _hoisted_1$6 = {
2465
2465
  class: "lf-stat__badge",
2466
2466
  "aria-hidden": "true"
2467
2467
  };
2468
- const _hoisted_2$4 = { class: "lf-stat__body" };
2469
- const _hoisted_3$2 = { class: "lf-stat__label" };
2470
- const _hoisted_4$1 = { class: "lf-stat__value-row" };
2471
- const _hoisted_5$1 = { class: "lf-stat__value" };
2472
- const _hoisted_6$1 = {
2468
+ const _hoisted_2$6 = { class: "lf-stat__body" };
2469
+ const _hoisted_3$4 = { class: "lf-stat__label" };
2470
+ const _hoisted_4$3 = { class: "lf-stat__value-row" };
2471
+ const _hoisted_5$2 = { class: "lf-stat__value" };
2472
+ const _hoisted_6$2 = {
2473
2473
  key: 0,
2474
2474
  class: "lf-stat__unit"
2475
2475
  };
2476
- const _hoisted_7 = {
2476
+ const _hoisted_7$1 = {
2477
2477
  key: 0,
2478
2478
  class: "lf-stat__hint"
2479
2479
  };
2480
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2480
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
2481
2481
  __name: "LfStatCard",
2482
2482
  props: {
2483
2483
  label: {},
@@ -2506,7 +2506,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2506
2506
  class: normalizeClass(["lf-stat", [`lf-stat--${__props.tone}`, { "lf-stat--glass": __props.glass, "lf-stat--link": __props.href }]])
2507
2507
  }, {
2508
2508
  default: withCtx(() => [
2509
- createElementVNode("span", _hoisted_1$4, [
2509
+ createElementVNode("span", _hoisted_1$6, [
2510
2510
  renderSlot(_ctx.$slots, "icon", {}, () => [
2511
2511
  createVNode(LfIcon, {
2512
2512
  name: __props.icon,
@@ -2515,14 +2515,14 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2515
2515
  }, null, 8, ["name", "path"])
2516
2516
  ], true)
2517
2517
  ]),
2518
- createElementVNode("div", _hoisted_2$4, [
2519
- createElementVNode("div", _hoisted_3$2, toDisplayString(__props.label), 1),
2520
- createElementVNode("div", _hoisted_4$1, [
2521
- createElementVNode("span", _hoisted_5$1, [
2518
+ createElementVNode("div", _hoisted_2$6, [
2519
+ createElementVNode("div", _hoisted_3$4, toDisplayString(__props.label), 1),
2520
+ createElementVNode("div", _hoisted_4$3, [
2521
+ createElementVNode("span", _hoisted_5$2, [
2522
2522
  renderSlot(_ctx.$slots, "default", {}, () => [
2523
2523
  createTextVNode(toDisplayString(__props.value), 1)
2524
2524
  ], true),
2525
- __props.unit ? (openBlock(), createElementBlock("span", _hoisted_6$1, toDisplayString(__props.unit), 1)) : createCommentVNode("", true)
2525
+ __props.unit ? (openBlock(), createElementBlock("span", _hoisted_6$2, toDisplayString(__props.unit), 1)) : createCommentVNode("", true)
2526
2526
  ]),
2527
2527
  __props.delta != null ? (openBlock(), createElementBlock("span", {
2528
2528
  key: 0,
@@ -2535,7 +2535,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2535
2535
  createTextVNode(" " + toDisplayString(Math.abs(__props.delta)) + toDisplayString(__props.deltaUnit), 1)
2536
2536
  ], 2)) : createCommentVNode("", true)
2537
2537
  ]),
2538
- __props.hint ? (openBlock(), createElementBlock("div", _hoisted_7, toDisplayString(__props.hint), 1)) : createCommentVNode("", true)
2538
+ __props.hint ? (openBlock(), createElementBlock("div", _hoisted_7$1, toDisplayString(__props.hint), 1)) : createCommentVNode("", true)
2539
2539
  ])
2540
2540
  ]),
2541
2541
  _: 3
@@ -2543,10 +2543,10 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2543
2543
  };
2544
2544
  }
2545
2545
  });
2546
- const LfStatCard = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-8499d382"]]);
2547
- const _hoisted_1$3 = ["aria-describedby"];
2548
- const _hoisted_2$3 = ["id"];
2549
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
2546
+ const LfStatCard = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-8499d382"]]);
2547
+ const _hoisted_1$5 = ["aria-describedby"];
2548
+ const _hoisted_2$5 = ["id"];
2549
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2550
2550
  __name: "LfTooltip",
2551
2551
  props: {
2552
2552
  text: {},
@@ -2563,7 +2563,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
2563
2563
  "aria-describedby": unref(bubbleId)
2564
2564
  }, [
2565
2565
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
2566
- ], 8, _hoisted_1$3),
2566
+ ], 8, _hoisted_1$5),
2567
2567
  createElementVNode("span", {
2568
2568
  id: unref(bubbleId),
2569
2569
  class: "lf-tooltip__bubble",
@@ -2572,19 +2572,19 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
2572
2572
  renderSlot(_ctx.$slots, "content", {}, () => [
2573
2573
  createTextVNode(toDisplayString(__props.text), 1)
2574
2574
  ], true)
2575
- ], 8, _hoisted_2$3)
2575
+ ], 8, _hoisted_2$5)
2576
2576
  ], 2);
2577
2577
  };
2578
2578
  }
2579
2579
  });
2580
- const LfTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-bfa77821"]]);
2581
- const _hoisted_1$2 = ["disabled", "onClick"];
2582
- const _hoisted_2$2 = { class: "lf-menu__item-text" };
2583
- const _hoisted_3$1 = {
2580
+ const LfTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-bfa77821"]]);
2581
+ const _hoisted_1$4 = ["disabled", "onClick"];
2582
+ const _hoisted_2$4 = { class: "lf-menu__item-text" };
2583
+ const _hoisted_3$3 = {
2584
2584
  key: 0,
2585
2585
  class: "lf-menu__item-desc"
2586
2586
  };
2587
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
2587
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2588
2588
  __name: "LfMenu",
2589
2589
  props: {
2590
2590
  items: { default: () => [] },
@@ -2674,11 +2674,11 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
2674
2674
  size: "1.125rem",
2675
2675
  class: "lf-menu__item-icon"
2676
2676
  }), null, 16)) : createCommentVNode("", true),
2677
- createElementVNode("span", _hoisted_2$2, [
2677
+ createElementVNode("span", _hoisted_2$4, [
2678
2678
  createElementVNode("span", null, toDisplayString(item.label), 1),
2679
- item.description ? (openBlock(), createElementBlock("span", _hoisted_3$1, toDisplayString(item.description), 1)) : createCommentVNode("", true)
2679
+ item.description ? (openBlock(), createElementBlock("span", _hoisted_3$3, toDisplayString(item.description), 1)) : createCommentVNode("", true)
2680
2680
  ])
2681
- ], 8, _hoisted_1$2);
2681
+ ], 8, _hoisted_1$4);
2682
2682
  }), 128))
2683
2683
  ], true)
2684
2684
  ], 2)) : createCommentVNode("", true)
@@ -2689,17 +2689,17 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
2689
2689
  };
2690
2690
  }
2691
2691
  });
2692
- const LfMenu = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-500f54dd"]]);
2693
- const _hoisted_1$1 = { class: "lf-rail__list" };
2694
- const _hoisted_2$1 = { class: "lf-rail__icon" };
2695
- const _hoisted_3 = {
2692
+ const LfMenu = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-500f54dd"]]);
2693
+ const _hoisted_1$3 = { class: "lf-rail__list" };
2694
+ const _hoisted_2$3 = { class: "lf-rail__icon" };
2695
+ const _hoisted_3$2 = {
2696
2696
  key: 2,
2697
2697
  class: "lf-rail__badge"
2698
2698
  };
2699
- const _hoisted_4 = { class: "lf-rail__name" };
2700
- const _hoisted_5 = { class: "lf-rail__short" };
2701
- const _hoisted_6 = { class: "lf-rail__long" };
2702
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2699
+ const _hoisted_4$2 = { class: "lf-rail__name" };
2700
+ const _hoisted_5$1 = { class: "lf-rail__short" };
2701
+ const _hoisted_6$1 = { class: "lf-rail__long" };
2702
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
2703
2703
  __name: "LfNavRail",
2704
2704
  props: {
2705
2705
  items: {},
@@ -2718,7 +2718,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2718
2718
  return props.current === item.to || props.current.startsWith(`${item.to}/`);
2719
2719
  }
2720
2720
  return (_ctx, _cache) => {
2721
- return openBlock(), createElementBlock("div", _hoisted_1$1, [
2721
+ return openBlock(), createElementBlock("div", _hoisted_1$3, [
2722
2722
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item) => {
2723
2723
  return openBlock(), createBlock(resolveDynamicComponent(__props.link), mergeProps({
2724
2724
  key: item.to
@@ -2729,7 +2729,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2729
2729
  onClick: ($event) => emit("navigate", item)
2730
2730
  }), {
2731
2731
  default: withCtx(() => [
2732
- createElementVNode("span", _hoisted_2$1, [
2732
+ createElementVNode("span", _hoisted_2$3, [
2733
2733
  item.iconPath ? (openBlock(), createBlock(LfIcon, {
2734
2734
  key: 0,
2735
2735
  path: item.iconPath,
@@ -2739,11 +2739,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2739
2739
  name: item.icon,
2740
2740
  size: "1.15rem"
2741
2741
  }, null, 8, ["name"])) : createCommentVNode("", true),
2742
- item.badge ? (openBlock(), createElementBlock("span", _hoisted_3, toDisplayString(item.badge), 1)) : createCommentVNode("", true)
2742
+ item.badge ? (openBlock(), createElementBlock("span", _hoisted_3$2, toDisplayString(item.badge), 1)) : createCommentVNode("", true)
2743
2743
  ]),
2744
- createElementVNode("span", _hoisted_4, [
2745
- createElementVNode("span", _hoisted_5, toDisplayString(item.short ?? item.label), 1),
2746
- createElementVNode("span", _hoisted_6, toDisplayString(item.label), 1)
2744
+ createElementVNode("span", _hoisted_4$2, [
2745
+ createElementVNode("span", _hoisted_5$1, toDisplayString(item.short ?? item.label), 1),
2746
+ createElementVNode("span", _hoisted_6$1, toDisplayString(item.label), 1)
2747
2747
  ])
2748
2748
  ]),
2749
2749
  _: 2
@@ -2753,7 +2753,433 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2753
2753
  };
2754
2754
  }
2755
2755
  });
2756
- const LfNavRail = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-29095523"]]);
2756
+ const LfNavRail = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-29095523"]]);
2757
+ const _hoisted_1$2 = ["aria-label"];
2758
+ const _hoisted_2$2 = ["aria-checked", "aria-label", "title", "disabled", "onClick"];
2759
+ const _hoisted_3$1 = {
2760
+ key: 1,
2761
+ class: "lf-seg__label"
2762
+ };
2763
+ const _hoisted_4$1 = {
2764
+ key: 2,
2765
+ class: "lf-seg__badge"
2766
+ };
2767
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
2768
+ __name: "LfSegmented",
2769
+ props: /* @__PURE__ */ mergeModels({
2770
+ options: { default: () => [] },
2771
+ size: { default: "md" },
2772
+ labelHidden: { type: Boolean },
2773
+ block: { type: Boolean },
2774
+ disabled: { type: Boolean },
2775
+ ariaLabel: {}
2776
+ }, {
2777
+ "modelValue": { default: "" },
2778
+ "modelModifiers": {}
2779
+ }),
2780
+ emits: ["update:modelValue"],
2781
+ setup(__props) {
2782
+ const props = __props;
2783
+ const model = useModel(__props, "modelValue");
2784
+ const normalized = computed(
2785
+ () => props.options.map((o) => typeof o === "string" ? { value: o, label: o } : o)
2786
+ );
2787
+ function iconOf(opt) {
2788
+ if (!opt.icon) return {};
2789
+ return opt.icon in LF_ICONS ? { name: opt.icon } : { path: opt.icon };
2790
+ }
2791
+ return (_ctx, _cache) => {
2792
+ return openBlock(), createElementBlock("div", {
2793
+ class: normalizeClass(["lf-seg", [`lf-seg--${__props.size}`, { "lf-seg--block": __props.block }]]),
2794
+ role: "radiogroup",
2795
+ "aria-label": __props.ariaLabel
2796
+ }, [
2797
+ (openBlock(true), createElementBlock(Fragment, null, renderList(normalized.value, (opt) => {
2798
+ return openBlock(), createElementBlock("button", {
2799
+ key: String(opt.value),
2800
+ type: "button",
2801
+ class: normalizeClass(["lf-seg__btn", { "lf-seg__btn--on": opt.value === model.value }]),
2802
+ role: "radio",
2803
+ "aria-checked": opt.value === model.value ? "true" : "false",
2804
+ "aria-label": __props.labelHidden ? opt.label : void 0,
2805
+ title: __props.labelHidden ? opt.label : void 0,
2806
+ disabled: __props.disabled || opt.disabled,
2807
+ onClick: ($event) => model.value = opt.value
2808
+ }, [
2809
+ opt.icon ? (openBlock(), createBlock(LfIcon, mergeProps({
2810
+ key: 0,
2811
+ ref_for: true
2812
+ }, iconOf(opt), { class: "lf-seg__icon" }), null, 16)) : createCommentVNode("", true),
2813
+ !__props.labelHidden ? (openBlock(), createElementBlock("span", _hoisted_3$1, toDisplayString(opt.label), 1)) : createCommentVNode("", true),
2814
+ opt.badge !== void 0 && opt.badge !== "" ? (openBlock(), createElementBlock("span", _hoisted_4$1, toDisplayString(opt.badge), 1)) : createCommentVNode("", true)
2815
+ ], 10, _hoisted_2$2);
2816
+ }), 128))
2817
+ ], 10, _hoisted_1$2);
2818
+ };
2819
+ }
2820
+ });
2821
+ const LfSegmented = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-4b9d64cc"]]);
2822
+ const _hoisted_1$1 = { class: "lf-control-wrap" };
2823
+ const _hoisted_2$1 = {
2824
+ key: 0,
2825
+ class: "lf-control-wrap__icon lf-control-wrap__icon--left"
2826
+ };
2827
+ const _hoisted_3 = ["id", "aria-expanded", "aria-controls", "placeholder", "disabled", "required"];
2828
+ const _hoisted_4 = ["id", "aria-expanded", "aria-controls", "disabled"];
2829
+ const _hoisted_5 = { class: "lf-listsel__text" };
2830
+ const _hoisted_6 = ["aria-label"];
2831
+ const _hoisted_7 = {
2832
+ key: 4,
2833
+ class: "lf-control-wrap__icon lf-control-wrap__icon--right"
2834
+ };
2835
+ const _hoisted_8 = ["id"];
2836
+ const _hoisted_9 = ["placeholder"];
2837
+ const _hoisted_10 = ["aria-selected", "disabled", "onMousemove", "onClick"];
2838
+ const _hoisted_11 = { class: "lf-listsel__item-text" };
2839
+ const _hoisted_12 = {
2840
+ key: 0,
2841
+ class: "lf-listsel__item-desc"
2842
+ };
2843
+ const _hoisted_13 = {
2844
+ key: 1,
2845
+ class: "lf-listsel__empty"
2846
+ };
2847
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2848
+ ...{ inheritAttrs: false },
2849
+ __name: "LfListSelect",
2850
+ props: /* @__PURE__ */ mergeModels({
2851
+ options: { default: () => [] },
2852
+ label: {},
2853
+ hint: {},
2854
+ error: {},
2855
+ required: { type: Boolean },
2856
+ placeholder: {},
2857
+ disabled: { type: Boolean },
2858
+ size: { default: "md" },
2859
+ searchable: { type: Boolean },
2860
+ editable: { type: Boolean },
2861
+ clearable: { type: Boolean },
2862
+ loading: { type: Boolean },
2863
+ emptyText: { default: "해당 없음" },
2864
+ searchPlaceholder: { default: "찾기" },
2865
+ clearLabel: { default: "지우기" }
2866
+ }, {
2867
+ "modelValue": { default: "" },
2868
+ "modelModifiers": {}
2869
+ }),
2870
+ emits: ["update:modelValue"],
2871
+ setup(__props) {
2872
+ const props = __props;
2873
+ const model = useModel(__props, "modelValue");
2874
+ const { rootAttrs, controlAttrs } = useSplitAttrs();
2875
+ const inputId = useId();
2876
+ const listId = useId();
2877
+ const root = useTemplateRef("root");
2878
+ const control = useTemplateRef("control");
2879
+ const list = useTemplateRef("list");
2880
+ const search = useTemplateRef("search");
2881
+ const open = ref(false);
2882
+ const query = ref("");
2883
+ const active = ref(-1);
2884
+ const flipUp = ref(false);
2885
+ const listStyle = ref({});
2886
+ const text = ref(String(model.value ?? ""));
2887
+ watch(model, (v) => {
2888
+ if (props.editable && String(v ?? "") !== text.value) text.value = String(v ?? "");
2889
+ });
2890
+ watch(text, (v) => {
2891
+ if (props.editable && v !== String(model.value ?? "")) model.value = v;
2892
+ });
2893
+ const normalized = computed(
2894
+ () => props.options.map((o) => typeof o === "string" || typeof o === "number" ? { value: o, label: String(o) } : o)
2895
+ );
2896
+ const selected = computed(() => normalized.value.find((o) => o.value === model.value) ?? null);
2897
+ const hasValue = computed(() => props.editable ? text.value !== "" : model.value !== "" && model.value !== null);
2898
+ const filtered = computed(() => {
2899
+ const needle = (props.editable ? text.value : props.searchable ? query.value : "").trim().toLowerCase();
2900
+ if (!needle) return normalized.value;
2901
+ return normalized.value.filter(
2902
+ (o) => {
2903
+ var _a;
2904
+ return o.label.toLowerCase().includes(needle) || String(o.value).toLowerCase().includes(needle) || ((_a = o.description) == null ? void 0 : _a.toLowerCase().includes(needle));
2905
+ }
2906
+ );
2907
+ });
2908
+ function iconOf(opt) {
2909
+ if (!(opt == null ? void 0 : opt.icon)) return {};
2910
+ return opt.icon in LF_ICONS ? { name: opt.icon } : { path: opt.icon };
2911
+ }
2912
+ function place() {
2913
+ const el = control.value;
2914
+ if (!el) return;
2915
+ const r = el.getBoundingClientRect();
2916
+ const below = window.innerHeight - r.bottom;
2917
+ const wanted = Math.min(320, 40 * Math.max(filtered.value.length, 1) + 12 + (props.searchable ? 44 : 0));
2918
+ flipUp.value = below < wanted && r.top > below;
2919
+ listStyle.value = {
2920
+ left: `${r.left}px`,
2921
+ width: `${r.width}px`,
2922
+ ...flipUp.value ? { bottom: `${window.innerHeight - r.top + 6}px` } : { top: `${r.bottom + 6}px` }
2923
+ };
2924
+ }
2925
+ async function show() {
2926
+ var _a;
2927
+ if (props.disabled || open.value) return;
2928
+ open.value = true;
2929
+ active.value = Math.max(0, filtered.value.findIndex((o) => o.value === model.value));
2930
+ await nextTick();
2931
+ place();
2932
+ if (props.searchable && !props.editable) (_a = search.value) == null ? void 0 : _a.focus();
2933
+ }
2934
+ function hide() {
2935
+ open.value = false;
2936
+ query.value = "";
2937
+ }
2938
+ function toggle() {
2939
+ open.value ? hide() : show();
2940
+ }
2941
+ function pick(opt) {
2942
+ var _a;
2943
+ if (opt.disabled) return;
2944
+ model.value = opt.value;
2945
+ if (props.editable) text.value = opt.label;
2946
+ hide();
2947
+ (_a = control.value) == null ? void 0 : _a.focus();
2948
+ }
2949
+ function clear() {
2950
+ var _a;
2951
+ model.value = props.editable ? "" : null;
2952
+ text.value = "";
2953
+ (_a = control.value) == null ? void 0 : _a.focus();
2954
+ }
2955
+ function onKeydown(e2) {
2956
+ var _a, _b;
2957
+ if (e2.key === "Escape") {
2958
+ if (open.value) {
2959
+ e2.stopPropagation();
2960
+ hide();
2961
+ }
2962
+ return;
2963
+ }
2964
+ if (e2.key === "ArrowDown" || e2.key === "ArrowUp") {
2965
+ e2.preventDefault();
2966
+ if (!open.value) {
2967
+ show();
2968
+ return;
2969
+ }
2970
+ const n = filtered.value.length;
2971
+ if (!n) return;
2972
+ active.value = (active.value + (e2.key === "ArrowDown" ? 1 : -1) + n) % n;
2973
+ (_b = (_a = list.value) == null ? void 0 : _a.querySelectorAll("[role=option]")[active.value]) == null ? void 0 : _b.scrollIntoView({ block: "nearest" });
2974
+ return;
2975
+ }
2976
+ if (e2.key === "Enter") {
2977
+ if (!open.value) return;
2978
+ const opt = filtered.value[active.value];
2979
+ if (opt) {
2980
+ e2.preventDefault();
2981
+ pick(opt);
2982
+ } else if (props.editable) hide();
2983
+ return;
2984
+ }
2985
+ if ((e2.key === " " || e2.key === "Spacebar") && !props.editable && !props.searchable) {
2986
+ e2.preventDefault();
2987
+ toggle();
2988
+ }
2989
+ }
2990
+ function onFocusOut(e2) {
2991
+ var _a, _b;
2992
+ const next = e2.relatedTarget;
2993
+ if (next && (((_a = root.value) == null ? void 0 : _a.contains(next)) || ((_b = list.value) == null ? void 0 : _b.contains(next)))) return;
2994
+ hide();
2995
+ }
2996
+ function onPointerDown(e2) {
2997
+ var _a, _b;
2998
+ const t = e2.target;
2999
+ if (!((_a = root.value) == null ? void 0 : _a.contains(t)) && !((_b = list.value) == null ? void 0 : _b.contains(t))) hide();
3000
+ }
3001
+ function onScroll(e2) {
3002
+ if (list.value && list.value.contains(e2.target)) return;
3003
+ hide();
3004
+ }
3005
+ watch(open, (isOpen) => {
3006
+ if (isOpen) {
3007
+ document.addEventListener("pointerdown", onPointerDown);
3008
+ document.addEventListener("scroll", onScroll, true);
3009
+ window.addEventListener("resize", hide);
3010
+ } else {
3011
+ document.removeEventListener("pointerdown", onPointerDown);
3012
+ document.removeEventListener("scroll", onScroll, true);
3013
+ window.removeEventListener("resize", hide);
3014
+ }
3015
+ });
3016
+ watch(filtered, () => {
3017
+ if (open.value) {
3018
+ active.value = Math.min(active.value, filtered.value.length - 1);
3019
+ place();
3020
+ }
3021
+ });
3022
+ onBeforeUnmount(() => {
3023
+ document.removeEventListener("pointerdown", onPointerDown);
3024
+ document.removeEventListener("scroll", onScroll, true);
3025
+ window.removeEventListener("resize", hide);
3026
+ });
3027
+ return (_ctx, _cache) => {
3028
+ return openBlock(), createBlock(LfField, mergeProps(unref(rootAttrs), {
3029
+ label: __props.label,
3030
+ hint: __props.hint,
3031
+ error: __props.error,
3032
+ required: __props.required,
3033
+ "html-for": unref(inputId)
3034
+ }), {
3035
+ default: withCtx(() => {
3036
+ var _a, _b;
3037
+ return [
3038
+ createElementVNode("div", {
3039
+ ref_key: "root",
3040
+ ref: root,
3041
+ class: "lf-listsel",
3042
+ onFocusout: onFocusOut
3043
+ }, [
3044
+ createElementVNode("div", _hoisted_1$1, [
3045
+ !__props.editable && ((_a = selected.value) == null ? void 0 : _a.icon) ? (openBlock(), createElementBlock("span", _hoisted_2$1, [
3046
+ createVNode(LfIcon, mergeProps(iconOf(selected.value), { size: "1.125rem" }), null, 16)
3047
+ ])) : createCommentVNode("", true),
3048
+ __props.editable ? withDirectives((openBlock(), createElementBlock("input", mergeProps({
3049
+ key: 1,
3050
+ id: unref(inputId),
3051
+ ref_key: "control",
3052
+ ref: control
3053
+ }, unref(controlAttrs), {
3054
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => text.value = $event),
3055
+ class: ["lf-control lf-control--has-right", [{ "lf-control--sm": __props.size === "sm", "lf-control--error": !!__props.error }]],
3056
+ type: "text",
3057
+ role: "combobox",
3058
+ autocomplete: "off",
3059
+ "aria-expanded": open.value ? "true" : "false",
3060
+ "aria-controls": unref(listId),
3061
+ placeholder: __props.placeholder,
3062
+ disabled: __props.disabled,
3063
+ required: __props.required,
3064
+ onFocus: _cache[1] || (_cache[1] = ($event) => show()),
3065
+ onInput: _cache[2] || (_cache[2] = ($event) => show()),
3066
+ onKeydown
3067
+ }), null, 16, _hoisted_3)), [
3068
+ [vModelText, text.value]
3069
+ ]) : (openBlock(), createElementBlock("button", mergeProps({
3070
+ key: 2,
3071
+ id: unref(inputId),
3072
+ ref_key: "control",
3073
+ ref: control
3074
+ }, unref(controlAttrs), {
3075
+ type: "button",
3076
+ class: ["lf-control lf-listsel__trigger lf-control--has-right", [
3077
+ { "lf-control--sm": __props.size === "sm", "lf-control--error": !!__props.error, "lf-listsel__trigger--empty": !selected.value },
3078
+ ((_b = selected.value) == null ? void 0 : _b.icon) && "lf-control--has-left"
3079
+ ]],
3080
+ role: "combobox",
3081
+ "aria-haspopup": "listbox",
3082
+ "aria-expanded": open.value ? "true" : "false",
3083
+ "aria-controls": unref(listId),
3084
+ disabled: __props.disabled,
3085
+ onClick: toggle,
3086
+ onKeydown
3087
+ }), [
3088
+ renderSlot(_ctx.$slots, "selected", { option: selected.value }, () => [
3089
+ createElementVNode("span", _hoisted_5, toDisplayString(selected.value ? selected.value.label : __props.placeholder), 1)
3090
+ ], true)
3091
+ ], 16, _hoisted_4)),
3092
+ __props.clearable && hasValue.value && !__props.disabled ? (openBlock(), createElementBlock("button", {
3093
+ key: 3,
3094
+ type: "button",
3095
+ class: "lf-listsel__clear",
3096
+ "aria-label": __props.clearLabel,
3097
+ onClick: withModifiers(clear, ["stop"])
3098
+ }, [
3099
+ createVNode(LfIcon, {
3100
+ name: "close",
3101
+ size: "1rem"
3102
+ })
3103
+ ], 8, _hoisted_6)) : (openBlock(), createElementBlock("span", _hoisted_7, [
3104
+ __props.loading ? (openBlock(), createBlock(LfSpinner, {
3105
+ key: 0,
3106
+ size: "1rem"
3107
+ })) : (openBlock(), createBlock(LfIcon, {
3108
+ key: 1,
3109
+ name: "expand_more",
3110
+ size: "1.125rem"
3111
+ }))
3112
+ ]))
3113
+ ]),
3114
+ (openBlock(), createBlock(Teleport, { to: "body" }, [
3115
+ createVNode(Transition, { name: "lf-listsel-fade" }, {
3116
+ default: withCtx(() => [
3117
+ open.value ? (openBlock(), createElementBlock("div", {
3118
+ key: 0,
3119
+ id: unref(listId),
3120
+ ref_key: "list",
3121
+ ref: list,
3122
+ class: normalizeClass(["lf-listsel__list", { "lf-listsel__list--up": flipUp.value }]),
3123
+ style: normalizeStyle(listStyle.value),
3124
+ role: "listbox",
3125
+ onFocusout: onFocusOut
3126
+ }, [
3127
+ __props.searchable && !__props.editable ? withDirectives((openBlock(), createElementBlock("input", {
3128
+ key: 0,
3129
+ ref_key: "search",
3130
+ ref: search,
3131
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => query.value = $event),
3132
+ class: "lf-listsel__search",
3133
+ type: "search",
3134
+ placeholder: __props.searchPlaceholder,
3135
+ autocomplete: "off",
3136
+ onKeydown
3137
+ }, null, 40, _hoisted_9)), [
3138
+ [vModelText, query.value]
3139
+ ]) : createCommentVNode("", true),
3140
+ (openBlock(true), createElementBlock(Fragment, null, renderList(filtered.value, (opt, index) => {
3141
+ return openBlock(), createElementBlock("button", {
3142
+ key: String(opt.value),
3143
+ type: "button",
3144
+ class: normalizeClass(["lf-listsel__item", { "lf-listsel__item--active": index === active.value, "lf-listsel__item--on": opt.value === model.value }]),
3145
+ role: "option",
3146
+ "aria-selected": opt.value === model.value ? "true" : "false",
3147
+ disabled: opt.disabled,
3148
+ onMousemove: ($event) => active.value = index,
3149
+ onMousedown: _cache[4] || (_cache[4] = withModifiers(() => {
3150
+ }, ["prevent"])),
3151
+ onClick: ($event) => pick(opt)
3152
+ }, [
3153
+ renderSlot(_ctx.$slots, "option", { option: opt }, () => [
3154
+ opt.icon ? (openBlock(), createBlock(LfIcon, mergeProps({
3155
+ key: 0,
3156
+ ref_for: true
3157
+ }, iconOf(opt), {
3158
+ size: "1.125rem",
3159
+ class: "lf-listsel__item-icon"
3160
+ }), null, 16)) : createCommentVNode("", true),
3161
+ createElementVNode("span", _hoisted_11, [
3162
+ createElementVNode("span", null, toDisplayString(opt.label), 1),
3163
+ opt.description ? (openBlock(), createElementBlock("span", _hoisted_12, toDisplayString(opt.description), 1)) : createCommentVNode("", true)
3164
+ ])
3165
+ ], true)
3166
+ ], 42, _hoisted_10);
3167
+ }), 128)),
3168
+ !filtered.value.length ? (openBlock(), createElementBlock("div", _hoisted_13, toDisplayString(__props.emptyText), 1)) : createCommentVNode("", true)
3169
+ ], 46, _hoisted_8)) : createCommentVNode("", true)
3170
+ ]),
3171
+ _: 3
3172
+ })
3173
+ ]))
3174
+ ], 544)
3175
+ ];
3176
+ }),
3177
+ _: 3
3178
+ }, 16, ["label", "hint", "error", "required", "html-for"]);
3179
+ };
3180
+ }
3181
+ });
3182
+ const LfListSelect = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-60c3b796"]]);
2757
3183
  const _hoisted_1 = {
2758
3184
  key: 0,
2759
3185
  class: "lf-divider lf-divider--labeled",
@@ -2938,12 +3364,14 @@ export {
2938
3364
  LfField,
2939
3365
  LfIcon,
2940
3366
  LfIconButton,
3367
+ LfListSelect,
2941
3368
  LfMenu,
2942
3369
  LfModal,
2943
3370
  LfNavRail,
2944
3371
  LfPageHeader,
2945
3372
  LfPagination,
2946
3373
  LfRadioGroup,
3374
+ LfSegmented,
2947
3375
  LfSelect,
2948
3376
  LfSkeleton,
2949
3377
  LfSpinner,