@loafacto/ui 0.12.0 → 0.12.2

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
@@ -203,8 +203,8 @@ const _hoisted_1$s = { class: "lf-topbar" };
203
203
  const _hoisted_2$o = { class: "lf-topbar__inner" };
204
204
  const _hoisted_3$j = ["aria-label", "title", "aria-expanded"];
205
205
  const _hoisted_4$h = ["href", "aria-label"];
206
- const _hoisted_5$c = ["src"];
207
- const _hoisted_6$9 = { class: "lf-brand__name" };
206
+ const _hoisted_5$d = ["src"];
207
+ const _hoisted_6$a = { class: "lf-brand__name" };
208
208
  const _hoisted_7$8 = ["aria-expanded"];
209
209
  const _hoisted_8$3 = {
210
210
  key: 0,
@@ -417,8 +417,8 @@ 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$c),
421
- createElementVNode("span", _hoisted_6$9, toDisplayString(__props.brandName), 1)
420
+ }, null, 8, _hoisted_5$d),
421
+ createElementVNode("span", _hoisted_6$a, 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" })
@@ -637,8 +637,8 @@ const _hoisted_3$i = {
637
637
  "aria-hidden": "true"
638
638
  };
639
639
  const _hoisted_4$g = ["d"];
640
- const _hoisted_5$b = { class: "toast-message" };
641
- const _hoisted_6$8 = ["onClick"];
640
+ const _hoisted_5$c = { class: "toast-message" };
641
+ const _hoisted_6$9 = ["onClick"];
642
642
  const _hoisted_7$7 = {
643
643
  viewBox: "0 0 24 24",
644
644
  "aria-hidden": "true"
@@ -692,7 +692,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
692
692
  fill: "currentColor"
693
693
  }, null, 8, _hoisted_4$g)
694
694
  ])),
695
- createElementVNode("span", _hoisted_5$b, toDisplayString(item.message), 1),
695
+ createElementVNode("span", _hoisted_5$c, toDisplayString(item.message), 1),
696
696
  createElementVNode("button", {
697
697
  type: "button",
698
698
  class: "toast-close",
@@ -705,7 +705,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
705
705
  fill: "currentColor"
706
706
  }, null, 8, _hoisted_8$2)
707
707
  ]))
708
- ], 8, _hoisted_6$8)
708
+ ], 8, _hoisted_6$9)
709
709
  ], 10, _hoisted_2$n);
710
710
  }), 128))
711
711
  ]),
@@ -823,8 +823,8 @@ const _hoisted_2$m = {
823
823
  };
824
824
  const _hoisted_3$h = { class: "app-confirm__header" };
825
825
  const _hoisted_4$f = { class: "app-confirm__title" };
826
- const _hoisted_5$a = { class: "app-confirm__body" };
827
- const _hoisted_6$7 = { class: "app-confirm__message" };
826
+ const _hoisted_5$b = { class: "app-confirm__body" };
827
+ const _hoisted_6$8 = { class: "app-confirm__message" };
828
828
  const _hoisted_7$6 = {
829
829
  key: 0,
830
830
  class: "app-confirm__require"
@@ -862,8 +862,8 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
862
862
  createElementVNode("div", _hoisted_3$h, [
863
863
  createElementVNode("h3", _hoisted_4$f, toDisplayString(unref(store).title), 1)
864
864
  ]),
865
- createElementVNode("div", _hoisted_5$a, [
866
- createElementVNode("p", _hoisted_6$7, toDisplayString(unref(store).message), 1),
865
+ createElementVNode("div", _hoisted_5$b, [
866
+ createElementVNode("p", _hoisted_6$8, toDisplayString(unref(store).message), 1),
867
867
  unref(store).requireText ? (openBlock(), createElementBlock("label", _hoisted_7$6, [
868
868
  createElementVNode("span", _hoisted_8$1, [
869
869
  createTextVNode(toDisplayString(unref(store).requireLabel || "확인을 위해 입력") + ": ", 1),
@@ -1344,7 +1344,7 @@ const _hoisted_1$i = { class: "lf-control-wrap" };
1344
1344
  const _hoisted_2$h = ["id", "disabled", "required", "aria-invalid"];
1345
1345
  const _hoisted_3$d = ["disabled"];
1346
1346
  const _hoisted_4$c = ["value", "disabled"];
1347
- const _hoisted_5$9 = { class: "lf-control-wrap__icon lf-control-wrap__icon--right" };
1347
+ const _hoisted_5$a = { class: "lf-control-wrap__icon lf-control-wrap__icon--right" };
1348
1348
  const _sfc_main$i = /* @__PURE__ */ defineComponent({
1349
1349
  ...{ inheritAttrs: false },
1350
1350
  __name: "LfSelect",
@@ -1402,7 +1402,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
1402
1402
  ], 16, _hoisted_2$h), [
1403
1403
  [vModelSelect, model.value]
1404
1404
  ]),
1405
- createElementVNode("span", _hoisted_5$9, [
1405
+ createElementVNode("span", _hoisted_5$a, [
1406
1406
  createVNode(LfIcon, {
1407
1407
  name: "expand_more",
1408
1408
  size: "1.125rem"
@@ -1426,7 +1426,7 @@ const _hoisted_3$c = {
1426
1426
  class: "lf-check__text"
1427
1427
  };
1428
1428
  const _hoisted_4$b = { class: "lf-check__label" };
1429
- const _hoisted_5$8 = {
1429
+ const _hoisted_5$9 = {
1430
1430
  key: 0,
1431
1431
  class: "lf-check__desc"
1432
1432
  };
@@ -1470,7 +1470,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
1470
1470
  createTextVNode(toDisplayString(__props.label), 1)
1471
1471
  ], true)
1472
1472
  ]),
1473
- __props.description ? (openBlock(), createElementBlock("span", _hoisted_5$8, toDisplayString(__props.description), 1)) : createCommentVNode("", true)
1473
+ __props.description ? (openBlock(), createElementBlock("span", _hoisted_5$9, toDisplayString(__props.description), 1)) : createCommentVNode("", true)
1474
1474
  ])) : createCommentVNode("", true)
1475
1475
  ], 2);
1476
1476
  };
@@ -1545,8 +1545,8 @@ const _hoisted_2$e = {
1545
1545
  };
1546
1546
  const _hoisted_3$a = ["name", "value", "disabled"];
1547
1547
  const _hoisted_4$9 = { class: "lf-radio__text" };
1548
- const _hoisted_5$7 = { class: "lf-radio__label" };
1549
- const _hoisted_6$6 = {
1548
+ const _hoisted_5$8 = { class: "lf-radio__label" };
1549
+ const _hoisted_6$7 = {
1550
1550
  key: 0,
1551
1551
  class: "lf-radio__desc"
1552
1552
  };
@@ -1609,8 +1609,8 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
1609
1609
  "aria-hidden": "true"
1610
1610
  }, null, -1)),
1611
1611
  createElementVNode("span", _hoisted_4$9, [
1612
- createElementVNode("span", _hoisted_5$7, toDisplayString(opt.label), 1),
1613
- opt.description ? (openBlock(), createElementBlock("span", _hoisted_6$6, toDisplayString(opt.description), 1)) : createCommentVNode("", true)
1612
+ createElementVNode("span", _hoisted_5$8, toDisplayString(opt.label), 1),
1613
+ opt.description ? (openBlock(), createElementBlock("span", _hoisted_6$7, toDisplayString(opt.description), 1)) : createCommentVNode("", true)
1614
1614
  ])
1615
1615
  ], 2);
1616
1616
  }), 128)),
@@ -1627,11 +1627,11 @@ const _hoisted_2$d = {
1627
1627
  };
1628
1628
  const _hoisted_3$9 = { class: "lf-modal__heading" };
1629
1629
  const _hoisted_4$8 = ["id"];
1630
- const _hoisted_5$6 = {
1630
+ const _hoisted_5$7 = {
1631
1631
  key: 0,
1632
1632
  class: "lf-modal__subtitle"
1633
1633
  };
1634
- const _hoisted_6$5 = { class: "lf-modal__body" };
1634
+ const _hoisted_6$6 = { class: "lf-modal__body" };
1635
1635
  const _hoisted_7$4 = {
1636
1636
  key: 1,
1637
1637
  class: "lf-modal__footer"
@@ -1755,7 +1755,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
1755
1755
  id: unref(titleId),
1756
1756
  class: "lf-modal__title"
1757
1757
  }, toDisplayString(__props.title), 9, _hoisted_4$8),
1758
- __props.subtitle ? (openBlock(), createElementBlock("p", _hoisted_5$6, toDisplayString(__props.subtitle), 1)) : createCommentVNode("", true)
1758
+ __props.subtitle ? (openBlock(), createElementBlock("p", _hoisted_5$7, toDisplayString(__props.subtitle), 1)) : createCommentVNode("", true)
1759
1759
  ])
1760
1760
  ], true),
1761
1761
  __props.closable ? (openBlock(), createBlock(LfIconButton, {
@@ -1766,7 +1766,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
1766
1766
  onClick: _cache[0] || (_cache[0] = ($event) => close("close"))
1767
1767
  }, null, 8, ["label"])) : createCommentVNode("", true)
1768
1768
  ])) : createCommentVNode("", true),
1769
- createElementVNode("div", _hoisted_6$5, [
1769
+ createElementVNode("div", _hoisted_6$6, [
1770
1770
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
1771
1771
  ]),
1772
1772
  _ctx.$slots.footer ? (openBlock(), createElementBlock("footer", _hoisted_7$4, [
@@ -1795,11 +1795,11 @@ const _hoisted_4$7 = {
1795
1795
  key: 1,
1796
1796
  class: "lf-card__count"
1797
1797
  };
1798
- const _hoisted_5$5 = {
1798
+ const _hoisted_5$6 = {
1799
1799
  key: 0,
1800
1800
  class: "lf-card__actions"
1801
1801
  };
1802
- const _hoisted_6$4 = { class: "lf-card__body" };
1802
+ const _hoisted_6$5 = { class: "lf-card__body" };
1803
1803
  const _hoisted_7$3 = {
1804
1804
  key: 1,
1805
1805
  class: "lf-card__foot"
@@ -1835,11 +1835,11 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
1835
1835
  __props.count !== void 0 ? (openBlock(), createElementBlock("span", _hoisted_4$7, toDisplayString(__props.count), 1)) : createCommentVNode("", true)
1836
1836
  ], true),
1837
1837
  _cache[0] || (_cache[0] = createElementVNode("span", { class: "lf-card__spacer" }, null, -1)),
1838
- _ctx.$slots.actions ? (openBlock(), createElementBlock("div", _hoisted_5$5, [
1838
+ _ctx.$slots.actions ? (openBlock(), createElementBlock("div", _hoisted_5$6, [
1839
1839
  renderSlot(_ctx.$slots, "actions", {}, void 0, true)
1840
1840
  ])) : createCommentVNode("", true)
1841
1841
  ])) : createCommentVNode("", true),
1842
- createElementVNode("div", _hoisted_6$4, [
1842
+ createElementVNode("div", _hoisted_6$5, [
1843
1843
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
1844
1844
  ]),
1845
1845
  _ctx.$slots.footer ? (openBlock(), createElementBlock("footer", _hoisted_7$3, [
@@ -1857,11 +1857,11 @@ const _hoisted_4$6 = {
1857
1857
  key: 0,
1858
1858
  class: "lf-page-header__icon"
1859
1859
  };
1860
- const _hoisted_5$4 = {
1860
+ const _hoisted_5$5 = {
1861
1861
  key: 0,
1862
1862
  class: "lf-page-header__count"
1863
1863
  };
1864
- const _hoisted_6$3 = {
1864
+ const _hoisted_6$4 = {
1865
1865
  key: 0,
1866
1866
  class: "lf-page-header__tools"
1867
1867
  };
@@ -1898,9 +1898,9 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
1898
1898
  createTextVNode(toDisplayString(__props.title), 1)
1899
1899
  ], true)
1900
1900
  ]),
1901
- __props.count !== void 0 ? (openBlock(), createElementBlock("span", _hoisted_5$4, toDisplayString(__props.count), 1)) : createCommentVNode("", true)
1901
+ __props.count !== void 0 ? (openBlock(), createElementBlock("span", _hoisted_5$5, toDisplayString(__props.count), 1)) : createCommentVNode("", true)
1902
1902
  ]),
1903
- hasTools.value ? (openBlock(), createElementBlock("div", _hoisted_6$3, [
1903
+ hasTools.value ? (openBlock(), createElementBlock("div", _hoisted_6$4, [
1904
1904
  renderSlot(_ctx.$slots, "filters", {}, void 0, true),
1905
1905
  _cache[0] || (_cache[0] = createElementVNode("span", { class: "lf-page-header__spacer" }, null, -1)),
1906
1906
  renderSlot(_ctx.$slots, "actions", {}, void 0, true)
@@ -1977,7 +1977,7 @@ const _hoisted_4$5 = {
1977
1977
  key: 0,
1978
1978
  class: "lf-alert__title"
1979
1979
  };
1980
- const _hoisted_5$3 = {
1980
+ const _hoisted_5$4 = {
1981
1981
  key: 2,
1982
1982
  class: "lf-alert__actions"
1983
1983
  };
@@ -2026,7 +2026,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
2026
2026
  createTextVNode(toDisplayString(__props.message), 1)
2027
2027
  ], true)
2028
2028
  ], 2)) : createCommentVNode("", true),
2029
- _ctx.$slots.actions ? (openBlock(), createElementBlock("div", _hoisted_5$3, [
2029
+ _ctx.$slots.actions ? (openBlock(), createElementBlock("div", _hoisted_5$4, [
2030
2030
  renderSlot(_ctx.$slots, "actions", {}, void 0, true)
2031
2031
  ])) : createCommentVNode("", true)
2032
2032
  ]),
@@ -2092,8 +2092,8 @@ const _hoisted_1$8 = { class: "lf-table-wrap" };
2092
2092
  const _hoisted_2$7 = ["aria-sort"];
2093
2093
  const _hoisted_3$5 = ["onClick"];
2094
2094
  const _hoisted_4$4 = { key: 1 };
2095
- const _hoisted_5$2 = ["colspan"];
2096
- const _hoisted_6$2 = ["tabindex", "onClick", "onKeydown"];
2095
+ const _hoisted_5$3 = ["colspan"];
2096
+ const _hoisted_6$3 = ["tabindex", "onClick", "onKeydown"];
2097
2097
  const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2098
2098
  __name: "LfTable",
2099
2099
  props: {
@@ -2183,7 +2183,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2183
2183
  renderSlot(_ctx.$slots, "empty", {}, () => [
2184
2184
  createTextVNode(toDisplayString(__props.emptyText), 1)
2185
2185
  ], true)
2186
- ], 8, _hoisted_5$2)
2186
+ ], 8, _hoisted_5$3)
2187
2187
  ])) : (openBlock(true), createElementBlock(Fragment, { key: 2 }, renderList(__props.rows, (row, i2) => {
2188
2188
  return openBlock(), createElementBlock("tr", {
2189
2189
  key: keyOf(row, i2),
@@ -2207,7 +2207,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2207
2207
  ], true)
2208
2208
  ], 6);
2209
2209
  }), 128))
2210
- ], 42, _hoisted_6$2);
2210
+ ], 42, _hoisted_6$3);
2211
2211
  }), 128))
2212
2212
  ])
2213
2213
  ], 6)
@@ -2226,12 +2226,12 @@ const _hoisted_3$4 = {
2226
2226
  class: "lf-pagination__btns"
2227
2227
  };
2228
2228
  const _hoisted_4$3 = ["disabled"];
2229
- const _hoisted_5$1 = {
2229
+ const _hoisted_5$2 = {
2230
2230
  key: 0,
2231
2231
  class: "lf-pagination__gap",
2232
2232
  "aria-hidden": "true"
2233
2233
  };
2234
- const _hoisted_6$1 = ["aria-current", "onClick"];
2234
+ const _hoisted_6$2 = ["aria-current", "onClick"];
2235
2235
  const _hoisted_7$1 = ["disabled"];
2236
2236
  const ELLIPSIS = -1;
2237
2237
  const _sfc_main$7 = /* @__PURE__ */ defineComponent({
@@ -2297,13 +2297,13 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2297
2297
  return openBlock(), createElementBlock(Fragment, {
2298
2298
  key: `${p}-${i2}`
2299
2299
  }, [
2300
- p === ELLIPSIS ? (openBlock(), createElementBlock("span", _hoisted_5$1, "…")) : (openBlock(), createElementBlock("button", {
2300
+ p === ELLIPSIS ? (openBlock(), createElementBlock("span", _hoisted_5$2, "…")) : (openBlock(), createElementBlock("button", {
2301
2301
  key: 1,
2302
2302
  type: "button",
2303
2303
  class: normalizeClass(["lf-pagination__btn", { "lf-pagination__btn--active": p === model.value }]),
2304
2304
  "aria-current": p === model.value ? "page" : void 0,
2305
2305
  onClick: ($event) => go(p)
2306
- }, toDisplayString(p), 11, _hoisted_6$1))
2306
+ }, toDisplayString(p), 11, _hoisted_6$2))
2307
2307
  ], 64);
2308
2308
  }), 128)),
2309
2309
  createElementVNode("button", {
@@ -2425,8 +2425,8 @@ const _hoisted_1$4 = {
2425
2425
  const _hoisted_2$4 = { class: "lf-stat__body" };
2426
2426
  const _hoisted_3$2 = { class: "lf-stat__label" };
2427
2427
  const _hoisted_4$1 = { class: "lf-stat__value-row" };
2428
- const _hoisted_5 = { class: "lf-stat__value" };
2429
- const _hoisted_6 = {
2428
+ const _hoisted_5$1 = { class: "lf-stat__value" };
2429
+ const _hoisted_6$1 = {
2430
2430
  key: 0,
2431
2431
  class: "lf-stat__unit"
2432
2432
  };
@@ -2475,11 +2475,11 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2475
2475
  createElementVNode("div", _hoisted_2$4, [
2476
2476
  createElementVNode("div", _hoisted_3$2, toDisplayString(__props.label), 1),
2477
2477
  createElementVNode("div", _hoisted_4$1, [
2478
- createElementVNode("span", _hoisted_5, [
2478
+ createElementVNode("span", _hoisted_5$1, [
2479
2479
  renderSlot(_ctx.$slots, "default", {}, () => [
2480
2480
  createTextVNode(toDisplayString(__props.value), 1)
2481
2481
  ], true),
2482
- __props.unit ? (openBlock(), createElementBlock("span", _hoisted_6, toDisplayString(__props.unit), 1)) : createCommentVNode("", true)
2482
+ __props.unit ? (openBlock(), createElementBlock("span", _hoisted_6$1, toDisplayString(__props.unit), 1)) : createCommentVNode("", true)
2483
2483
  ]),
2484
2484
  __props.delta != null ? (openBlock(), createElementBlock("span", {
2485
2485
  key: 0,
@@ -2648,9 +2648,14 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
2648
2648
  });
2649
2649
  const LfMenu = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-500f54dd"]]);
2650
2650
  const _hoisted_1$1 = { class: "lf-rail__list" };
2651
- const _hoisted_2$1 = { class: "lf-rail__name" };
2652
- const _hoisted_3 = { class: "lf-rail__short" };
2653
- const _hoisted_4 = { class: "lf-rail__long" };
2651
+ const _hoisted_2$1 = { class: "lf-rail__icon" };
2652
+ const _hoisted_3 = {
2653
+ key: 2,
2654
+ class: "lf-rail__badge"
2655
+ };
2656
+ const _hoisted_4 = { class: "lf-rail__name" };
2657
+ const _hoisted_5 = { class: "lf-rail__short" };
2658
+ const _hoisted_6 = { class: "lf-rail__long" };
2654
2659
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2655
2660
  __name: "LfNavRail",
2656
2661
  props: {
@@ -2681,18 +2686,21 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2681
2686
  onClick: ($event) => emit("navigate", item)
2682
2687
  }), {
2683
2688
  default: withCtx(() => [
2684
- item.iconPath ? (openBlock(), createBlock(LfIcon, {
2685
- key: 0,
2686
- path: item.iconPath,
2687
- size: "1.15rem"
2688
- }, null, 8, ["path"])) : item.icon ? (openBlock(), createBlock(LfIcon, {
2689
- key: 1,
2690
- name: item.icon,
2691
- size: "1.15rem"
2692
- }, null, 8, ["name"])) : createCommentVNode("", true),
2693
2689
  createElementVNode("span", _hoisted_2$1, [
2694
- createElementVNode("span", _hoisted_3, toDisplayString(item.short ?? item.label), 1),
2695
- createElementVNode("span", _hoisted_4, toDisplayString(item.label), 1)
2690
+ item.iconPath ? (openBlock(), createBlock(LfIcon, {
2691
+ key: 0,
2692
+ path: item.iconPath,
2693
+ size: "1.15rem"
2694
+ }, null, 8, ["path"])) : item.icon ? (openBlock(), createBlock(LfIcon, {
2695
+ key: 1,
2696
+ name: item.icon,
2697
+ size: "1.15rem"
2698
+ }, null, 8, ["name"])) : createCommentVNode("", true),
2699
+ item.badge ? (openBlock(), createElementBlock("span", _hoisted_3, toDisplayString(item.badge), 1)) : createCommentVNode("", true)
2700
+ ]),
2701
+ createElementVNode("span", _hoisted_4, [
2702
+ createElementVNode("span", _hoisted_5, toDisplayString(item.short ?? item.label), 1),
2703
+ createElementVNode("span", _hoisted_6, toDisplayString(item.label), 1)
2696
2704
  ])
2697
2705
  ]),
2698
2706
  _: 2
@@ -2702,7 +2710,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2702
2710
  };
2703
2711
  }
2704
2712
  });
2705
- const LfNavRail = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-c2062070"]]);
2713
+ const LfNavRail = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-29095523"]]);
2706
2714
  const _hoisted_1 = {
2707
2715
  key: 0,
2708
2716
  class: "lf-divider lf-divider--labeled",