@loafacto/ui 0.13.3 → 0.14.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/components/LfList.vue.d.ts +19 -0
- package/dist/components/LfListItem.vue.d.ts +23 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +292 -226
- package/dist/index.js.map +1 -1
- package/dist/loafacto-ui.css +87 -0
- package/package.json +1 -1
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$
|
|
160
|
-
const _hoisted_1$
|
|
159
|
+
const _sfc_main$z = {};
|
|
160
|
+
const _hoisted_1$x = {
|
|
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$
|
|
166
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$x, [..._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$
|
|
171
|
-
const _sfc_main$
|
|
172
|
-
const _hoisted_1$
|
|
170
|
+
const BrandLockup = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$1]]);
|
|
171
|
+
const _sfc_main$y = {};
|
|
172
|
+
const _hoisted_1$w = {
|
|
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$
|
|
178
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$w, [..._cache[0] || (_cache[0] = [
|
|
179
179
|
createElementVNode("circle", {
|
|
180
180
|
cx: "74",
|
|
181
181
|
cy: "27",
|
|
@@ -198,10 +198,10 @@ function _sfc_render(_ctx, _cache) {
|
|
|
198
198
|
}, null, -1)
|
|
199
199
|
])]);
|
|
200
200
|
}
|
|
201
|
-
const BrandSymbol = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
202
|
-
const _hoisted_1$
|
|
203
|
-
const _hoisted_2$
|
|
204
|
-
const _hoisted_3$
|
|
201
|
+
const BrandSymbol = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render]]);
|
|
202
|
+
const _hoisted_1$v = { class: "lf-topbar" };
|
|
203
|
+
const _hoisted_2$r = { class: "lf-topbar__inner" };
|
|
204
|
+
const _hoisted_3$m = ["aria-label", "title", "aria-expanded"];
|
|
205
205
|
const _hoisted_4$j = ["href", "aria-label"];
|
|
206
206
|
const _hoisted_5$f = ["src"];
|
|
207
207
|
const _hoisted_6$b = { class: "lf-brand__name" };
|
|
@@ -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$
|
|
271
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
272
272
|
__name: "AppShell",
|
|
273
273
|
props: {
|
|
274
274
|
services: { default: () => LOAFACTO_SERVICES },
|
|
@@ -385,8 +385,8 @@ const _sfc_main$v = /* @__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$
|
|
389
|
-
createElementVNode("div", _hoisted_2$
|
|
388
|
+
createElementVNode("header", _hoisted_1$v, [
|
|
389
|
+
createElementVNode("div", _hoisted_2$r, [
|
|
390
390
|
_ctx.$slots.rail ? (openBlock(), createElementBlock("button", {
|
|
391
391
|
key: 0,
|
|
392
392
|
type: "button",
|
|
@@ -405,7 +405,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
405
405
|
fill: "currentColor"
|
|
406
406
|
})
|
|
407
407
|
], -1)
|
|
408
|
-
])], 8, _hoisted_3$
|
|
408
|
+
])], 8, _hoisted_3$m)) : createCommentVNode("", true),
|
|
409
409
|
createElementVNode("a", {
|
|
410
410
|
class: "lf-brand",
|
|
411
411
|
href: __props.brandHref,
|
|
@@ -591,7 +591,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
591
591
|
};
|
|
592
592
|
}
|
|
593
593
|
});
|
|
594
|
-
const AppShell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
594
|
+
const AppShell = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-e12e3587"]]);
|
|
595
595
|
function generateId() {
|
|
596
596
|
return `toast-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`;
|
|
597
597
|
}
|
|
@@ -625,13 +625,13 @@ const useToastStore = defineStore("toast", () => {
|
|
|
625
625
|
}
|
|
626
626
|
return { items, add, remove, success, error, info, warning };
|
|
627
627
|
});
|
|
628
|
-
const _hoisted_1$
|
|
628
|
+
const _hoisted_1$u = {
|
|
629
629
|
class: "toast-container",
|
|
630
630
|
role: "region",
|
|
631
631
|
"aria-label": "알림"
|
|
632
632
|
};
|
|
633
|
-
const _hoisted_2$
|
|
634
|
-
const _hoisted_3$
|
|
633
|
+
const _hoisted_2$q = ["onClick"];
|
|
634
|
+
const _hoisted_3$l = {
|
|
635
635
|
class: "toast-icon",
|
|
636
636
|
viewBox: "0 0 24 24",
|
|
637
637
|
"aria-hidden": "true"
|
|
@@ -644,7 +644,7 @@ const _hoisted_7$9 = {
|
|
|
644
644
|
"aria-hidden": "true"
|
|
645
645
|
};
|
|
646
646
|
const _hoisted_8$4 = ["d"];
|
|
647
|
-
const _sfc_main$
|
|
647
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
648
648
|
__name: "AppToast",
|
|
649
649
|
setup(__props) {
|
|
650
650
|
const toastStore = useToastStore();
|
|
@@ -676,7 +676,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
676
676
|
});
|
|
677
677
|
return (_ctx, _cache) => {
|
|
678
678
|
return openBlock(), createBlock(Teleport, { to: "body" }, [
|
|
679
|
-
createElementVNode("div", _hoisted_1$
|
|
679
|
+
createElementVNode("div", _hoisted_1$u, [
|
|
680
680
|
createVNode(TransitionGroup, { name: "toast" }, {
|
|
681
681
|
default: withCtx(() => [
|
|
682
682
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(toastStore).items, (item) => {
|
|
@@ -686,7 +686,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
686
686
|
role: "alert",
|
|
687
687
|
onClick: ($event) => unref(toastStore).remove(item.id)
|
|
688
688
|
}, [
|
|
689
|
-
(openBlock(), createElementBlock("svg", _hoisted_3$
|
|
689
|
+
(openBlock(), createElementBlock("svg", _hoisted_3$l, [
|
|
690
690
|
createElementVNode("path", {
|
|
691
691
|
d: ICON_PATHS[item.type],
|
|
692
692
|
fill: "currentColor"
|
|
@@ -706,7 +706,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
706
706
|
}, null, 8, _hoisted_8$4)
|
|
707
707
|
]))
|
|
708
708
|
], 8, _hoisted_6$a)
|
|
709
|
-
], 10, _hoisted_2$
|
|
709
|
+
], 10, _hoisted_2$q);
|
|
710
710
|
}), 128))
|
|
711
711
|
]),
|
|
712
712
|
_: 1
|
|
@@ -716,7 +716,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
716
716
|
};
|
|
717
717
|
}
|
|
718
718
|
});
|
|
719
|
-
const AppToast = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
719
|
+
const AppToast = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__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$
|
|
739
|
+
const _hoisted_1$t = {
|
|
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$
|
|
746
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
747
747
|
__name: "AppLoadingOverlay",
|
|
748
748
|
setup(__props) {
|
|
749
749
|
const loadingStore = useLoadingStore();
|
|
@@ -751,7 +751,7 @@ const _sfc_main$t = /* @__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$
|
|
754
|
+
unref(loadingStore).loading ? (openBlock(), createElementBlock("div", _hoisted_1$t, [..._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$t = /* @__PURE__ */ defineComponent({
|
|
|
764
764
|
};
|
|
765
765
|
}
|
|
766
766
|
});
|
|
767
|
-
const AppLoadingOverlay = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
767
|
+
const AppLoadingOverlay = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-cce3ea3e"]]);
|
|
768
768
|
const useConfirmStore = defineStore("confirm", () => {
|
|
769
769
|
const open = ref(false);
|
|
770
770
|
const title = ref("확인");
|
|
@@ -812,16 +812,16 @@ const useConfirmStore = defineStore("confirm", () => {
|
|
|
812
812
|
resolve
|
|
813
813
|
};
|
|
814
814
|
});
|
|
815
|
-
const _hoisted_1$
|
|
815
|
+
const _hoisted_1$s = {
|
|
816
816
|
key: 0,
|
|
817
817
|
class: "app-confirm-backdrop"
|
|
818
818
|
};
|
|
819
|
-
const _hoisted_2$
|
|
819
|
+
const _hoisted_2$p = {
|
|
820
820
|
class: "app-confirm",
|
|
821
821
|
role: "dialog",
|
|
822
822
|
"aria-modal": "true"
|
|
823
823
|
};
|
|
824
|
-
const _hoisted_3$
|
|
824
|
+
const _hoisted_3$k = { class: "app-confirm__header" };
|
|
825
825
|
const _hoisted_4$h = { class: "app-confirm__title" };
|
|
826
826
|
const _hoisted_5$d = { class: "app-confirm__body" };
|
|
827
827
|
const _hoisted_6$9 = { class: "app-confirm__message" };
|
|
@@ -832,7 +832,7 @@ const _hoisted_7$8 = {
|
|
|
832
832
|
const _hoisted_8$3 = { class: "app-confirm__require-label" };
|
|
833
833
|
const _hoisted_9$1 = { class: "app-confirm__actions" };
|
|
834
834
|
const _hoisted_10$1 = ["disabled"];
|
|
835
|
-
const _sfc_main$
|
|
835
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
836
836
|
__name: "AppConfirmModal",
|
|
837
837
|
setup(__props) {
|
|
838
838
|
const store = useConfirmStore();
|
|
@@ -857,9 +857,9 @@ const _sfc_main$s = /* @__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$
|
|
861
|
-
createElementVNode("div", _hoisted_2$
|
|
862
|
-
createElementVNode("div", _hoisted_3$
|
|
860
|
+
unref(store).open ? (openBlock(), createElementBlock("div", _hoisted_1$s, [
|
|
861
|
+
createElementVNode("div", _hoisted_2$p, [
|
|
862
|
+
createElementVNode("div", _hoisted_3$k, [
|
|
863
863
|
createElementVNode("h3", _hoisted_4$h, toDisplayString(unref(store).title), 1)
|
|
864
864
|
]),
|
|
865
865
|
createElementVNode("div", _hoisted_5$d, [
|
|
@@ -905,7 +905,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
905
905
|
};
|
|
906
906
|
}
|
|
907
907
|
});
|
|
908
|
-
const AppConfirmModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
908
|
+
const AppConfirmModal = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__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$
|
|
949
|
-
const _hoisted_2$
|
|
950
|
-
const _hoisted_3$
|
|
951
|
-
const _sfc_main$
|
|
948
|
+
const _hoisted_1$r = ["role", "aria-label", "aria-hidden"];
|
|
949
|
+
const _hoisted_2$o = { key: 0 };
|
|
950
|
+
const _hoisted_3$j = ["d"];
|
|
951
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
952
952
|
__name: "LfIcon",
|
|
953
953
|
props: {
|
|
954
954
|
name: {},
|
|
@@ -971,19 +971,19 @@ const _sfc_main$r = /* @__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$
|
|
974
|
+
__props.label ? (openBlock(), createElementBlock("title", _hoisted_2$o, 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$
|
|
980
|
-
], 12, _hoisted_1$
|
|
979
|
+
}, null, 8, _hoisted_3$j)) : createCommentVNode("", true)
|
|
980
|
+
], 12, _hoisted_1$r);
|
|
981
981
|
};
|
|
982
982
|
}
|
|
983
983
|
});
|
|
984
|
-
const LfIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
985
|
-
const _hoisted_1$
|
|
986
|
-
const _sfc_main$
|
|
984
|
+
const LfIcon = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-b70b3868"]]);
|
|
985
|
+
const _hoisted_1$q = ["role", "aria-label", "aria-hidden"];
|
|
986
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
987
987
|
__name: "LfSpinner",
|
|
988
988
|
props: {
|
|
989
989
|
size: { default: "1.25rem" },
|
|
@@ -1015,16 +1015,16 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
1015
1015
|
cy: "12",
|
|
1016
1016
|
r: "9"
|
|
1017
1017
|
}, null, -1)
|
|
1018
|
-
])], 12, _hoisted_1$
|
|
1018
|
+
])], 12, _hoisted_1$q);
|
|
1019
1019
|
};
|
|
1020
1020
|
}
|
|
1021
1021
|
});
|
|
1022
|
-
const LfSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1023
|
-
const _hoisted_1$
|
|
1022
|
+
const LfSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-4aedf6b0"]]);
|
|
1023
|
+
const _hoisted_1$p = {
|
|
1024
1024
|
key: 2,
|
|
1025
1025
|
class: "lf-btn__label"
|
|
1026
1026
|
};
|
|
1027
|
-
const _sfc_main$
|
|
1027
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
1028
1028
|
__name: "LfButton",
|
|
1029
1029
|
props: {
|
|
1030
1030
|
variant: { default: "ghost" },
|
|
@@ -1061,7 +1061,7 @@ const _sfc_main$p = /* @__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$
|
|
1064
|
+
_ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_1$p, [
|
|
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$p = /* @__PURE__ */ defineComponent({
|
|
|
1074
1074
|
};
|
|
1075
1075
|
}
|
|
1076
1076
|
});
|
|
1077
|
-
const LfButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1078
|
-
const _sfc_main$
|
|
1077
|
+
const LfButton = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-c4bac4e1"]]);
|
|
1078
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
1079
1079
|
__name: "LfIconButton",
|
|
1080
1080
|
props: {
|
|
1081
1081
|
icon: {},
|
|
@@ -1120,14 +1120,14 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1120
1120
|
};
|
|
1121
1121
|
}
|
|
1122
1122
|
});
|
|
1123
|
-
const LfIconButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1124
|
-
const _hoisted_1$
|
|
1125
|
-
const _hoisted_2$
|
|
1123
|
+
const LfIconButton = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-e86ee99c"]]);
|
|
1124
|
+
const _hoisted_1$o = ["for"];
|
|
1125
|
+
const _hoisted_2$n = {
|
|
1126
1126
|
key: 0,
|
|
1127
1127
|
class: "lf-field__required",
|
|
1128
1128
|
"aria-hidden": "true"
|
|
1129
1129
|
};
|
|
1130
|
-
const _hoisted_3$
|
|
1130
|
+
const _hoisted_3$i = {
|
|
1131
1131
|
key: 1,
|
|
1132
1132
|
class: "lf-field__error",
|
|
1133
1133
|
role: "alert"
|
|
@@ -1136,7 +1136,7 @@ const _hoisted_4$g = {
|
|
|
1136
1136
|
key: 2,
|
|
1137
1137
|
class: "lf-field__hint"
|
|
1138
1138
|
};
|
|
1139
|
-
const _sfc_main$
|
|
1139
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
1140
1140
|
__name: "LfField",
|
|
1141
1141
|
props: {
|
|
1142
1142
|
label: {},
|
|
@@ -1156,15 +1156,15 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
1156
1156
|
for: __props.htmlFor
|
|
1157
1157
|
}, [
|
|
1158
1158
|
createTextVNode(toDisplayString(__props.label) + " ", 1),
|
|
1159
|
-
__props.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
1160
|
-
], 8, _hoisted_1$
|
|
1159
|
+
__props.required ? (openBlock(), createElementBlock("span", _hoisted_2$n, "*")) : createCommentVNode("", true)
|
|
1160
|
+
], 8, _hoisted_1$o)) : createCommentVNode("", true),
|
|
1161
1161
|
renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
1162
|
-
__props.error ? (openBlock(), createElementBlock("p", _hoisted_3$
|
|
1162
|
+
__props.error ? (openBlock(), createElementBlock("p", _hoisted_3$i, 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$
|
|
1167
|
+
const LfField = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__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$
|
|
1178
|
-
const _hoisted_2$
|
|
1177
|
+
const _hoisted_1$n = { class: "lf-control-wrap" };
|
|
1178
|
+
const _hoisted_2$m = {
|
|
1179
1179
|
key: 0,
|
|
1180
1180
|
class: "lf-control-wrap__icon lf-control-wrap__icon--left"
|
|
1181
1181
|
};
|
|
1182
|
-
const _hoisted_3$
|
|
1182
|
+
const _hoisted_3$h = ["id", "type", "placeholder", "disabled", "readonly", "required", "aria-invalid"];
|
|
1183
1183
|
const _hoisted_4$f = {
|
|
1184
1184
|
key: 1,
|
|
1185
1185
|
class: "lf-control-wrap__suffix"
|
|
1186
1186
|
};
|
|
1187
1187
|
const _hoisted_5$c = ["aria-label"];
|
|
1188
|
-
const _sfc_main$
|
|
1188
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
1189
1189
|
...{ inheritAttrs: false },
|
|
1190
1190
|
__name: "LfTextField",
|
|
1191
1191
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -1237,8 +1237,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
1237
1237
|
"html-for": unref(inputId)
|
|
1238
1238
|
}), {
|
|
1239
1239
|
default: withCtx(() => [
|
|
1240
|
-
createElementVNode("div", _hoisted_1$
|
|
1241
|
-
__props.icon || __props.iconPath ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
1240
|
+
createElementVNode("div", _hoisted_1$n, [
|
|
1241
|
+
__props.icon || __props.iconPath ? (openBlock(), createElementBlock("span", _hoisted_2$m, [
|
|
1242
1242
|
createVNode(LfIcon, {
|
|
1243
1243
|
name: __props.icon,
|
|
1244
1244
|
path: __props.iconPath,
|
|
@@ -1259,7 +1259,7 @@ const _sfc_main$m = /* @__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$
|
|
1262
|
+
}), null, 16, _hoisted_3$h), [
|
|
1263
1263
|
[vModelDynamic, unref(model)]
|
|
1264
1264
|
]),
|
|
1265
1265
|
__props.suffix ? (openBlock(), createElementBlock("span", _hoisted_4$f, toDisplayString(__props.suffix), 1)) : createCommentVNode("", true),
|
|
@@ -1293,13 +1293,13 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
1293
1293
|
};
|
|
1294
1294
|
}
|
|
1295
1295
|
});
|
|
1296
|
-
const LfTextField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1297
|
-
const _hoisted_1$
|
|
1298
|
-
const _hoisted_2$
|
|
1296
|
+
const LfTextField = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-e113043f"]]);
|
|
1297
|
+
const _hoisted_1$m = ["id", "rows", "placeholder", "disabled", "readonly", "required", "maxlength", "aria-invalid"];
|
|
1298
|
+
const _hoisted_2$l = {
|
|
1299
1299
|
key: 0,
|
|
1300
1300
|
class: "lf-textarea__counter"
|
|
1301
1301
|
};
|
|
1302
|
-
const _sfc_main$
|
|
1302
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
1303
1303
|
...{ inheritAttrs: false },
|
|
1304
1304
|
__name: "LfTextarea",
|
|
1305
1305
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -1363,23 +1363,23 @@ const _sfc_main$l = /* @__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$
|
|
1366
|
+
}), null, 16, _hoisted_1$m), [
|
|
1367
1367
|
[vModelText, model.value]
|
|
1368
1368
|
]),
|
|
1369
|
-
__props.maxlength && __props.counter ? (openBlock(), createElementBlock("p", _hoisted_2$
|
|
1369
|
+
__props.maxlength && __props.counter ? (openBlock(), createElementBlock("p", _hoisted_2$l, 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$
|
|
1377
|
-
const _hoisted_1$
|
|
1378
|
-
const _hoisted_2$
|
|
1379
|
-
const _hoisted_3$
|
|
1376
|
+
const LfTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-81fbed25"]]);
|
|
1377
|
+
const _hoisted_1$l = { class: "lf-control-wrap" };
|
|
1378
|
+
const _hoisted_2$k = ["id", "disabled", "required", "aria-invalid"];
|
|
1379
|
+
const _hoisted_3$g = ["disabled"];
|
|
1380
1380
|
const _hoisted_4$e = ["value", "disabled"];
|
|
1381
1381
|
const _hoisted_5$b = { class: "lf-control-wrap__icon lf-control-wrap__icon--right" };
|
|
1382
|
-
const _sfc_main$
|
|
1382
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
1383
1383
|
...{ inheritAttrs: false },
|
|
1384
1384
|
__name: "LfSelect",
|
|
1385
1385
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -1422,7 +1422,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
1422
1422
|
"html-for": unref(inputId)
|
|
1423
1423
|
}), {
|
|
1424
1424
|
default: withCtx(() => [
|
|
1425
|
-
createElementVNode("div", _hoisted_1$
|
|
1425
|
+
createElementVNode("div", _hoisted_1$l, [
|
|
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,7 +1434,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
1434
1434
|
key: 0,
|
|
1435
1435
|
value: "",
|
|
1436
1436
|
disabled: !__props.clearable
|
|
1437
|
-
}, toDisplayString(__props.placeholder), 9, _hoisted_3$
|
|
1437
|
+
}, toDisplayString(__props.placeholder), 9, _hoisted_3$g)) : 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),
|
|
@@ -1442,7 +1442,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
1442
1442
|
disabled: opt.disabled
|
|
1443
1443
|
}, toDisplayString(opt.label), 9, _hoisted_4$e);
|
|
1444
1444
|
}), 128))
|
|
1445
|
-
], 16, _hoisted_2$
|
|
1445
|
+
], 16, _hoisted_2$k), [
|
|
1446
1446
|
[vModelSelect, unref(model)]
|
|
1447
1447
|
]),
|
|
1448
1448
|
createElementVNode("span", _hoisted_5$b, [
|
|
@@ -1458,13 +1458,13 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
1458
1458
|
};
|
|
1459
1459
|
}
|
|
1460
1460
|
});
|
|
1461
|
-
const LfSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1462
|
-
const _hoisted_1$
|
|
1463
|
-
const _hoisted_2$
|
|
1461
|
+
const LfSelect = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-01fa2b3e"]]);
|
|
1462
|
+
const _hoisted_1$k = ["disabled", "value"];
|
|
1463
|
+
const _hoisted_2$j = {
|
|
1464
1464
|
class: "lf-check__box",
|
|
1465
1465
|
"aria-hidden": "true"
|
|
1466
1466
|
};
|
|
1467
|
-
const _hoisted_3$
|
|
1467
|
+
const _hoisted_3$f = {
|
|
1468
1468
|
key: 0,
|
|
1469
1469
|
class: "lf-check__text"
|
|
1470
1470
|
};
|
|
@@ -1473,7 +1473,7 @@ const _hoisted_5$a = {
|
|
|
1473
1473
|
key: 0,
|
|
1474
1474
|
class: "lf-check__desc"
|
|
1475
1475
|
};
|
|
1476
|
-
const _sfc_main$
|
|
1476
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
1477
1477
|
...{ inheritAttrs: false },
|
|
1478
1478
|
__name: "LfCheckbox",
|
|
1479
1479
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -1498,16 +1498,16 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
1498
1498
|
type: "checkbox",
|
|
1499
1499
|
disabled: __props.disabled,
|
|
1500
1500
|
value: __props.value
|
|
1501
|
-
}), null, 16, _hoisted_1$
|
|
1501
|
+
}), null, 16, _hoisted_1$k), [
|
|
1502
1502
|
[vModelCheckbox, model.value]
|
|
1503
1503
|
]),
|
|
1504
|
-
createElementVNode("span", _hoisted_2$
|
|
1504
|
+
createElementVNode("span", _hoisted_2$j, [
|
|
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$
|
|
1510
|
+
__props.label || __props.description || _ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_3$f, [
|
|
1511
1511
|
createElementVNode("span", _hoisted_4$d, [
|
|
1512
1512
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
1513
1513
|
createTextVNode(toDisplayString(__props.label), 1)
|
|
@@ -1519,18 +1519,18 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
1519
1519
|
};
|
|
1520
1520
|
}
|
|
1521
1521
|
});
|
|
1522
|
-
const LfCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1523
|
-
const _hoisted_1$
|
|
1522
|
+
const LfCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-a86332f0"]]);
|
|
1523
|
+
const _hoisted_1$j = {
|
|
1524
1524
|
key: 0,
|
|
1525
1525
|
class: "lf-switch__text"
|
|
1526
1526
|
};
|
|
1527
|
-
const _hoisted_2$
|
|
1528
|
-
const _hoisted_3$
|
|
1527
|
+
const _hoisted_2$i = { class: "lf-switch__label" };
|
|
1528
|
+
const _hoisted_3$e = {
|
|
1529
1529
|
key: 0,
|
|
1530
1530
|
class: "lf-switch__desc"
|
|
1531
1531
|
};
|
|
1532
1532
|
const _hoisted_4$c = ["disabled"];
|
|
1533
|
-
const _sfc_main$
|
|
1533
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
1534
1534
|
...{ inheritAttrs: false },
|
|
1535
1535
|
__name: "LfSwitch",
|
|
1536
1536
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -1549,13 +1549,13 @@ const _sfc_main$i = /* @__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$
|
|
1553
|
-
createElementVNode("span", _hoisted_2$
|
|
1552
|
+
__props.label || __props.description || _ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_1$j, [
|
|
1553
|
+
createElementVNode("span", _hoisted_2$i, [
|
|
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$
|
|
1558
|
+
__props.description ? (openBlock(), createElementBlock("span", _hoisted_3$e, 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),
|
|
@@ -1576,17 +1576,17 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
1576
1576
|
};
|
|
1577
1577
|
}
|
|
1578
1578
|
});
|
|
1579
|
-
const LfSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1580
|
-
const _hoisted_1$
|
|
1579
|
+
const LfSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-134991c6"]]);
|
|
1580
|
+
const _hoisted_1$i = {
|
|
1581
1581
|
key: 0,
|
|
1582
1582
|
class: "lf-radio-group__legend"
|
|
1583
1583
|
};
|
|
1584
|
-
const _hoisted_2$
|
|
1584
|
+
const _hoisted_2$h = {
|
|
1585
1585
|
key: 0,
|
|
1586
1586
|
class: "lf-radio-group__required",
|
|
1587
1587
|
"aria-hidden": "true"
|
|
1588
1588
|
};
|
|
1589
|
-
const _hoisted_3$
|
|
1589
|
+
const _hoisted_3$d = ["name", "value", "disabled"];
|
|
1590
1590
|
const _hoisted_4$b = { class: "lf-radio__text" };
|
|
1591
1591
|
const _hoisted_5$9 = { class: "lf-radio__label" };
|
|
1592
1592
|
const _hoisted_6$8 = {
|
|
@@ -1602,7 +1602,7 @@ const _hoisted_8$2 = {
|
|
|
1602
1602
|
key: 2,
|
|
1603
1603
|
class: "lf-radio-group__hint"
|
|
1604
1604
|
};
|
|
1605
|
-
const _sfc_main$
|
|
1605
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
1606
1606
|
__name: "LfRadioGroup",
|
|
1607
1607
|
props: /* @__PURE__ */ mergeModels({
|
|
1608
1608
|
options: { default: () => [] },
|
|
@@ -1628,9 +1628,9 @@ const _sfc_main$h = /* @__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$
|
|
1631
|
+
__props.label ? (openBlock(), createElementBlock("legend", _hoisted_1$i, [
|
|
1632
1632
|
createTextVNode(toDisplayString(__props.label) + " ", 1),
|
|
1633
|
-
__props.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
1633
|
+
__props.required ? (openBlock(), createElementBlock("span", _hoisted_2$h, "*")) : createCommentVNode("", true)
|
|
1634
1634
|
])) : createCommentVNode("", true),
|
|
1635
1635
|
(openBlock(true), createElementBlock(Fragment, null, renderList(normalized.value, (opt) => {
|
|
1636
1636
|
return openBlock(), createElementBlock("label", {
|
|
@@ -1644,7 +1644,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
1644
1644
|
name: unref(groupName),
|
|
1645
1645
|
value: opt.value,
|
|
1646
1646
|
disabled: __props.disabled || opt.disabled
|
|
1647
|
-
}, null, 8, _hoisted_3$
|
|
1647
|
+
}, null, 8, _hoisted_3$d), [
|
|
1648
1648
|
[vModelRadio, model.value]
|
|
1649
1649
|
]),
|
|
1650
1650
|
_cache[1] || (_cache[1] = createElementVNode("span", {
|
|
@@ -1662,13 +1662,13 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
1662
1662
|
};
|
|
1663
1663
|
}
|
|
1664
1664
|
});
|
|
1665
|
-
const LfRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1666
|
-
const _hoisted_1$
|
|
1667
|
-
const _hoisted_2$
|
|
1665
|
+
const LfRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-cffad147"]]);
|
|
1666
|
+
const _hoisted_1$h = ["aria-labelledby", "aria-label"];
|
|
1667
|
+
const _hoisted_2$g = {
|
|
1668
1668
|
key: 0,
|
|
1669
1669
|
class: "lf-modal__header"
|
|
1670
1670
|
};
|
|
1671
|
-
const _hoisted_3$
|
|
1671
|
+
const _hoisted_3$c = { class: "lf-modal__heading" };
|
|
1672
1672
|
const _hoisted_4$a = ["id"];
|
|
1673
1673
|
const _hoisted_5$8 = {
|
|
1674
1674
|
key: 0,
|
|
@@ -1679,7 +1679,7 @@ const _hoisted_7$6 = {
|
|
|
1679
1679
|
key: 1,
|
|
1680
1680
|
class: "lf-modal__footer"
|
|
1681
1681
|
};
|
|
1682
|
-
const _sfc_main$
|
|
1682
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
1683
1683
|
__name: "LfModal",
|
|
1684
1684
|
props: /* @__PURE__ */ mergeModels({
|
|
1685
1685
|
title: {},
|
|
@@ -1791,9 +1791,9 @@ const _sfc_main$g = /* @__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$
|
|
1794
|
+
__props.title || _ctx.$slots.header || __props.closable ? (openBlock(), createElementBlock("header", _hoisted_2$g, [
|
|
1795
1795
|
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
1796
|
-
createElementVNode("div", _hoisted_3$
|
|
1796
|
+
createElementVNode("div", _hoisted_3$c, [
|
|
1797
1797
|
createElementVNode("h2", {
|
|
1798
1798
|
id: unref(titleId),
|
|
1799
1799
|
class: "lf-modal__title"
|
|
@@ -1815,7 +1815,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
1815
1815
|
_ctx.$slots.footer ? (openBlock(), createElementBlock("footer", _hoisted_7$6, [
|
|
1816
1816
|
renderSlot(_ctx.$slots, "footer", {}, void 0, true)
|
|
1817
1817
|
])) : createCommentVNode("", true)
|
|
1818
|
-
], 42, _hoisted_1$
|
|
1818
|
+
], 42, _hoisted_1$h)
|
|
1819
1819
|
], 32)) : createCommentVNode("", true)
|
|
1820
1820
|
]),
|
|
1821
1821
|
_: 3
|
|
@@ -1824,16 +1824,16 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
1824
1824
|
};
|
|
1825
1825
|
}
|
|
1826
1826
|
});
|
|
1827
|
-
const LfModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1828
|
-
const _hoisted_1$
|
|
1827
|
+
const LfModal = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-cd0b7eb4"]]);
|
|
1828
|
+
const _hoisted_1$g = {
|
|
1829
1829
|
key: 0,
|
|
1830
1830
|
class: "lf-card__head"
|
|
1831
1831
|
};
|
|
1832
|
-
const _hoisted_2$
|
|
1832
|
+
const _hoisted_2$f = {
|
|
1833
1833
|
key: 0,
|
|
1834
1834
|
class: "lf-card__icon"
|
|
1835
1835
|
};
|
|
1836
|
-
const _hoisted_3$
|
|
1836
|
+
const _hoisted_3$b = { class: "lf-card__title" };
|
|
1837
1837
|
const _hoisted_4$9 = {
|
|
1838
1838
|
key: 1,
|
|
1839
1839
|
class: "lf-card__count"
|
|
@@ -1847,7 +1847,7 @@ const _hoisted_7$5 = {
|
|
|
1847
1847
|
key: 1,
|
|
1848
1848
|
class: "lf-card__foot"
|
|
1849
1849
|
};
|
|
1850
|
-
const _sfc_main$
|
|
1850
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
1851
1851
|
__name: "LfCard",
|
|
1852
1852
|
props: {
|
|
1853
1853
|
title: {},
|
|
@@ -1863,9 +1863,9 @@ const _sfc_main$f = /* @__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$
|
|
1866
|
+
__props.title || _ctx.$slots.header || _ctx.$slots.actions ? (openBlock(), createElementBlock("header", _hoisted_1$g, [
|
|
1867
1867
|
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
1868
|
-
__props.icon || __props.iconPath || _ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
1868
|
+
__props.icon || __props.iconPath || _ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_2$f, [
|
|
1869
1869
|
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
1870
1870
|
createVNode(LfIcon, {
|
|
1871
1871
|
name: __props.icon,
|
|
@@ -1874,7 +1874,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
1874
1874
|
}, null, 8, ["name", "path"])
|
|
1875
1875
|
], true)
|
|
1876
1876
|
])) : createCommentVNode("", true),
|
|
1877
|
-
createElementVNode("h3", _hoisted_3$
|
|
1877
|
+
createElementVNode("h3", _hoisted_3$b, toDisplayString(__props.title), 1),
|
|
1878
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)),
|
|
@@ -1892,10 +1892,10 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
1892
1892
|
};
|
|
1893
1893
|
}
|
|
1894
1894
|
});
|
|
1895
|
-
const LfCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1896
|
-
const _hoisted_1$
|
|
1897
|
-
const _hoisted_2$
|
|
1898
|
-
const _hoisted_3$
|
|
1895
|
+
const LfCard = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-4d6ca8ce"]]);
|
|
1896
|
+
const _hoisted_1$f = { class: "lf-page-header" };
|
|
1897
|
+
const _hoisted_2$e = { class: "lf-page-header__title-box" };
|
|
1898
|
+
const _hoisted_3$a = { class: "lf-page-header__title" };
|
|
1899
1899
|
const _hoisted_4$8 = {
|
|
1900
1900
|
key: 0,
|
|
1901
1901
|
class: "lf-page-header__icon"
|
|
@@ -1912,7 +1912,7 @@ const _hoisted_7$4 = {
|
|
|
1912
1912
|
key: 1,
|
|
1913
1913
|
class: "lf-page-header__desc"
|
|
1914
1914
|
};
|
|
1915
|
-
const _sfc_main$
|
|
1915
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
1916
1916
|
__name: "LfPageHeader",
|
|
1917
1917
|
props: {
|
|
1918
1918
|
title: {},
|
|
@@ -1925,9 +1925,9 @@ const _sfc_main$e = /* @__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$
|
|
1929
|
-
createElementVNode("div", _hoisted_2$
|
|
1930
|
-
createElementVNode("h1", _hoisted_3$
|
|
1928
|
+
return openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
1929
|
+
createElementVNode("div", _hoisted_2$e, [
|
|
1930
|
+
createElementVNode("h1", _hoisted_3$a, [
|
|
1931
1931
|
__props.icon || __props.iconPath || _ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_4$8, [
|
|
1932
1932
|
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
1933
1933
|
createVNode(LfIcon, {
|
|
@@ -1957,14 +1957,14 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
1957
1957
|
};
|
|
1958
1958
|
}
|
|
1959
1959
|
});
|
|
1960
|
-
const LfPageHeader = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1961
|
-
const _hoisted_1$
|
|
1960
|
+
const LfPageHeader = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-04602db7"]]);
|
|
1961
|
+
const _hoisted_1$e = {
|
|
1962
1962
|
key: 0,
|
|
1963
1963
|
class: "lf-badge__dot",
|
|
1964
1964
|
"aria-hidden": "true"
|
|
1965
1965
|
};
|
|
1966
|
-
const _hoisted_2$
|
|
1967
|
-
const _sfc_main$
|
|
1966
|
+
const _hoisted_2$d = ["aria-label"];
|
|
1967
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
1968
1968
|
__name: "LfBadge",
|
|
1969
1969
|
props: {
|
|
1970
1970
|
label: {},
|
|
@@ -1984,7 +1984,7 @@ const _sfc_main$d = /* @__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$
|
|
1987
|
+
__props.dot ? (openBlock(), createElementBlock("span", _hoisted_1$e)) : __props.icon || __props.iconPath ? (openBlock(), createBlock(LfIcon, {
|
|
1988
1988
|
key: 1,
|
|
1989
1989
|
name: __props.icon,
|
|
1990
1990
|
path: __props.iconPath,
|
|
@@ -2004,18 +2004,18 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
2004
2004
|
name: "close",
|
|
2005
2005
|
size: "0.75rem"
|
|
2006
2006
|
})
|
|
2007
|
-
], 8, _hoisted_2$
|
|
2007
|
+
], 8, _hoisted_2$d)) : createCommentVNode("", true)
|
|
2008
2008
|
], 2);
|
|
2009
2009
|
};
|
|
2010
2010
|
}
|
|
2011
2011
|
});
|
|
2012
|
-
const LfBadge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2013
|
-
const _hoisted_1$
|
|
2014
|
-
const _hoisted_2$
|
|
2012
|
+
const LfBadge = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-b55cda7f"]]);
|
|
2013
|
+
const _hoisted_1$d = ["role"];
|
|
2014
|
+
const _hoisted_2$c = {
|
|
2015
2015
|
class: "lf-alert__badge",
|
|
2016
2016
|
"aria-hidden": "true"
|
|
2017
2017
|
};
|
|
2018
|
-
const _hoisted_3$
|
|
2018
|
+
const _hoisted_3$9 = { class: "lf-alert__body" };
|
|
2019
2019
|
const _hoisted_4$7 = {
|
|
2020
2020
|
key: 0,
|
|
2021
2021
|
class: "lf-alert__title"
|
|
@@ -2024,7 +2024,7 @@ const _hoisted_5$5 = {
|
|
|
2024
2024
|
key: 2,
|
|
2025
2025
|
class: "lf-alert__actions"
|
|
2026
2026
|
};
|
|
2027
|
-
const _sfc_main$
|
|
2027
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
2028
2028
|
__name: "LfAlert",
|
|
2029
2029
|
props: {
|
|
2030
2030
|
tone: { default: "info" },
|
|
@@ -2050,7 +2050,7 @@ const _sfc_main$c = /* @__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$
|
|
2053
|
+
createElementVNode("span", _hoisted_2$c, [
|
|
2054
2054
|
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
2055
2055
|
createVNode(LfIcon, {
|
|
2056
2056
|
name: __props.icon ?? TONE_ICON[__props.tone],
|
|
@@ -2059,7 +2059,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2059
2059
|
}, null, 8, ["name", "path", "size"])
|
|
2060
2060
|
], true)
|
|
2061
2061
|
]),
|
|
2062
|
-
createElementVNode("div", _hoisted_3$
|
|
2062
|
+
createElementVNode("div", _hoisted_3$9, [
|
|
2063
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,
|
|
@@ -2081,14 +2081,14 @@ const _sfc_main$c = /* @__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$
|
|
2084
|
+
], 10, _hoisted_1$d);
|
|
2085
2085
|
};
|
|
2086
2086
|
}
|
|
2087
2087
|
});
|
|
2088
|
-
const LfAlert = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2089
|
-
const _hoisted_1$
|
|
2090
|
-
const _hoisted_2$
|
|
2091
|
-
const _sfc_main$
|
|
2088
|
+
const LfAlert = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-62839786"]]);
|
|
2089
|
+
const _hoisted_1$c = ["title"];
|
|
2090
|
+
const _hoisted_2$b = ["src", "alt"];
|
|
2091
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
2092
2092
|
__name: "LfAvatar",
|
|
2093
2093
|
props: {
|
|
2094
2094
|
name: {},
|
|
@@ -2123,21 +2123,21 @@ const _sfc_main$b = /* @__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$
|
|
2126
|
+
}, null, 40, _hoisted_2$b)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
2127
2127
|
createTextVNode(toDisplayString(initial.value), 1)
|
|
2128
2128
|
], 64))
|
|
2129
|
-
], 14, _hoisted_1$
|
|
2129
|
+
], 14, _hoisted_1$c);
|
|
2130
2130
|
};
|
|
2131
2131
|
}
|
|
2132
2132
|
});
|
|
2133
|
-
const LfAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2134
|
-
const _hoisted_1$
|
|
2135
|
-
const _hoisted_2$
|
|
2136
|
-
const _hoisted_3$
|
|
2133
|
+
const LfAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-61adf36e"]]);
|
|
2134
|
+
const _hoisted_1$b = { class: "lf-table-wrap" };
|
|
2135
|
+
const _hoisted_2$a = ["aria-sort"];
|
|
2136
|
+
const _hoisted_3$8 = ["onClick"];
|
|
2137
2137
|
const _hoisted_4$6 = { key: 1 };
|
|
2138
2138
|
const _hoisted_5$4 = ["colspan"];
|
|
2139
2139
|
const _hoisted_6$4 = ["tabindex", "onClick", "onKeydown"];
|
|
2140
|
-
const _sfc_main$
|
|
2140
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
2141
2141
|
__name: "LfTable",
|
|
2142
2142
|
props: {
|
|
2143
2143
|
columns: {},
|
|
@@ -2169,7 +2169,7 @@ const _sfc_main$a = /* @__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$
|
|
2172
|
+
return openBlock(), createElementBlock("div", _hoisted_1$b, [
|
|
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$a = /* @__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$
|
|
2199
|
+
], 8, _hoisted_3$8)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
2200
2200
|
createTextVNode(toDisplayString(col.label), 1)
|
|
2201
2201
|
], 64))
|
|
2202
|
-
], 14, _hoisted_2$
|
|
2202
|
+
], 14, _hoisted_2$a);
|
|
2203
2203
|
}), 128))
|
|
2204
2204
|
])
|
|
2205
2205
|
]),
|
|
@@ -2258,13 +2258,13 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
2258
2258
|
};
|
|
2259
2259
|
}
|
|
2260
2260
|
});
|
|
2261
|
-
const LfTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2262
|
-
const _hoisted_1$
|
|
2263
|
-
const _hoisted_2$
|
|
2261
|
+
const LfTable = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-dc7b5ff5"]]);
|
|
2262
|
+
const _hoisted_1$a = ["aria-label"];
|
|
2263
|
+
const _hoisted_2$9 = {
|
|
2264
2264
|
key: 0,
|
|
2265
2265
|
class: "lf-pagination__total"
|
|
2266
2266
|
};
|
|
2267
|
-
const _hoisted_3$
|
|
2267
|
+
const _hoisted_3$7 = {
|
|
2268
2268
|
key: 1,
|
|
2269
2269
|
class: "lf-pagination__btns"
|
|
2270
2270
|
};
|
|
@@ -2277,7 +2277,7 @@ const _hoisted_5$3 = {
|
|
|
2277
2277
|
const _hoisted_6$3 = ["aria-current", "onClick"];
|
|
2278
2278
|
const _hoisted_7$3 = ["disabled"];
|
|
2279
2279
|
const ELLIPSIS = -1;
|
|
2280
|
-
const _sfc_main$
|
|
2280
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
2281
2281
|
__name: "LfPagination",
|
|
2282
2282
|
props: /* @__PURE__ */ mergeModels({
|
|
2283
2283
|
total: { default: 0 },
|
|
@@ -2318,12 +2318,12 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2318
2318
|
class: "lf-pagination",
|
|
2319
2319
|
"aria-label": __props.ariaLabel
|
|
2320
2320
|
}, [
|
|
2321
|
-
__props.showTotal ? (openBlock(), createElementBlock("p", _hoisted_2$
|
|
2321
|
+
__props.showTotal ? (openBlock(), createElementBlock("p", _hoisted_2$9, [
|
|
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$
|
|
2326
|
+
totalPages.value > 1 ? (openBlock(), createElementBlock("div", _hoisted_3$7, [
|
|
2327
2327
|
createElementVNode("button", {
|
|
2328
2328
|
type: "button",
|
|
2329
2329
|
class: "lf-pagination__btn",
|
|
@@ -2362,17 +2362,17 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2362
2362
|
})
|
|
2363
2363
|
], 8, _hoisted_7$3)
|
|
2364
2364
|
])) : createCommentVNode("", true)
|
|
2365
|
-
], 8, _hoisted_1$
|
|
2365
|
+
], 8, _hoisted_1$a)) : createCommentVNode("", true);
|
|
2366
2366
|
};
|
|
2367
2367
|
}
|
|
2368
2368
|
});
|
|
2369
|
-
const LfPagination = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2370
|
-
const _hoisted_1$
|
|
2369
|
+
const LfPagination = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-be847541"]]);
|
|
2370
|
+
const _hoisted_1$9 = {
|
|
2371
2371
|
key: 0,
|
|
2372
2372
|
class: "lf-empty__icon"
|
|
2373
2373
|
};
|
|
2374
|
-
const _hoisted_2$
|
|
2375
|
-
const _hoisted_3$
|
|
2374
|
+
const _hoisted_2$8 = { class: "lf-empty__title" };
|
|
2375
|
+
const _hoisted_3$6 = {
|
|
2376
2376
|
key: 1,
|
|
2377
2377
|
class: "lf-empty__desc"
|
|
2378
2378
|
};
|
|
@@ -2380,7 +2380,7 @@ const _hoisted_4$4 = {
|
|
|
2380
2380
|
key: 2,
|
|
2381
2381
|
class: "lf-empty__action"
|
|
2382
2382
|
};
|
|
2383
|
-
const _sfc_main$
|
|
2383
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
2384
2384
|
__name: "LfEmptyState",
|
|
2385
2385
|
props: {
|
|
2386
2386
|
title: { default: "표시할 내용이 없습니다." },
|
|
@@ -2395,7 +2395,7 @@ const _sfc_main$8 = /* @__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$
|
|
2398
|
+
__props.icon || __props.iconPath || _ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_1$9, [
|
|
2399
2399
|
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
2400
2400
|
createVNode(LfIcon, {
|
|
2401
2401
|
name: __props.icon,
|
|
@@ -2404,12 +2404,12 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2404
2404
|
}, null, 8, ["name", "path"])
|
|
2405
2405
|
], true)
|
|
2406
2406
|
])) : createCommentVNode("", true),
|
|
2407
|
-
createElementVNode("p", _hoisted_2$
|
|
2407
|
+
createElementVNode("p", _hoisted_2$8, [
|
|
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$
|
|
2412
|
+
__props.description || _ctx.$slots.description ? (openBlock(), createElementBlock("p", _hoisted_3$6, [
|
|
2413
2413
|
renderSlot(_ctx.$slots, "description", {}, () => [
|
|
2414
2414
|
createTextVNode(toDisplayString(__props.description), 1)
|
|
2415
2415
|
], true)
|
|
@@ -2421,14 +2421,14 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2421
2421
|
};
|
|
2422
2422
|
}
|
|
2423
2423
|
});
|
|
2424
|
-
const LfEmptyState = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2425
|
-
const _hoisted_1$
|
|
2424
|
+
const LfEmptyState = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-b0e021c9"]]);
|
|
2425
|
+
const _hoisted_1$8 = {
|
|
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$
|
|
2431
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
2432
2432
|
__name: "LfSkeleton",
|
|
2433
2433
|
props: {
|
|
2434
2434
|
variant: { default: "text" },
|
|
@@ -2443,7 +2443,7 @@ const _sfc_main$7 = /* @__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$
|
|
2446
|
+
return __props.lines > 1 ? (openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
2447
2447
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.lines, (n) => {
|
|
2448
2448
|
return openBlock(), createElementBlock("span", {
|
|
2449
2449
|
key: n,
|
|
@@ -2460,13 +2460,13 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
2460
2460
|
};
|
|
2461
2461
|
}
|
|
2462
2462
|
});
|
|
2463
|
-
const LfSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2464
|
-
const _hoisted_1$
|
|
2463
|
+
const LfSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-a01556ce"]]);
|
|
2464
|
+
const _hoisted_1$7 = {
|
|
2465
2465
|
class: "lf-stat__badge",
|
|
2466
2466
|
"aria-hidden": "true"
|
|
2467
2467
|
};
|
|
2468
|
-
const _hoisted_2$
|
|
2469
|
-
const _hoisted_3$
|
|
2468
|
+
const _hoisted_2$7 = { class: "lf-stat__body" };
|
|
2469
|
+
const _hoisted_3$5 = { class: "lf-stat__label" };
|
|
2470
2470
|
const _hoisted_4$3 = { class: "lf-stat__value-row" };
|
|
2471
2471
|
const _hoisted_5$2 = { class: "lf-stat__value" };
|
|
2472
2472
|
const _hoisted_6$2 = {
|
|
@@ -2477,7 +2477,7 @@ const _hoisted_7$2 = {
|
|
|
2477
2477
|
key: 0,
|
|
2478
2478
|
class: "lf-stat__hint"
|
|
2479
2479
|
};
|
|
2480
|
-
const _sfc_main$
|
|
2480
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
2481
2481
|
__name: "LfStatCard",
|
|
2482
2482
|
props: {
|
|
2483
2483
|
label: {},
|
|
@@ -2506,7 +2506,7 @@ const _sfc_main$6 = /* @__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$
|
|
2509
|
+
createElementVNode("span", _hoisted_1$7, [
|
|
2510
2510
|
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
2511
2511
|
createVNode(LfIcon, {
|
|
2512
2512
|
name: __props.icon,
|
|
@@ -2515,8 +2515,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
2515
2515
|
}, null, 8, ["name", "path"])
|
|
2516
2516
|
], true)
|
|
2517
2517
|
]),
|
|
2518
|
-
createElementVNode("div", _hoisted_2$
|
|
2519
|
-
createElementVNode("div", _hoisted_3$
|
|
2518
|
+
createElementVNode("div", _hoisted_2$7, [
|
|
2519
|
+
createElementVNode("div", _hoisted_3$5, toDisplayString(__props.label), 1),
|
|
2520
2520
|
createElementVNode("div", _hoisted_4$3, [
|
|
2521
2521
|
createElementVNode("span", _hoisted_5$2, [
|
|
2522
2522
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
@@ -2543,10 +2543,10 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
2543
2543
|
};
|
|
2544
2544
|
}
|
|
2545
2545
|
});
|
|
2546
|
-
const LfStatCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2547
|
-
const _hoisted_1$
|
|
2548
|
-
const _hoisted_2$
|
|
2549
|
-
const _sfc_main$
|
|
2546
|
+
const LfStatCard = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-8499d382"]]);
|
|
2547
|
+
const _hoisted_1$6 = ["aria-describedby"];
|
|
2548
|
+
const _hoisted_2$6 = ["id"];
|
|
2549
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
2550
2550
|
__name: "LfTooltip",
|
|
2551
2551
|
props: {
|
|
2552
2552
|
text: {},
|
|
@@ -2563,7 +2563,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
2563
2563
|
"aria-describedby": unref(bubbleId)
|
|
2564
2564
|
}, [
|
|
2565
2565
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
2566
|
-
], 8, _hoisted_1$
|
|
2566
|
+
], 8, _hoisted_1$6),
|
|
2567
2567
|
createElementVNode("span", {
|
|
2568
2568
|
id: unref(bubbleId),
|
|
2569
2569
|
class: "lf-tooltip__bubble",
|
|
@@ -2572,19 +2572,19 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
2572
2572
|
renderSlot(_ctx.$slots, "content", {}, () => [
|
|
2573
2573
|
createTextVNode(toDisplayString(__props.text), 1)
|
|
2574
2574
|
], true)
|
|
2575
|
-
], 8, _hoisted_2$
|
|
2575
|
+
], 8, _hoisted_2$6)
|
|
2576
2576
|
], 2);
|
|
2577
2577
|
};
|
|
2578
2578
|
}
|
|
2579
2579
|
});
|
|
2580
|
-
const LfTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2581
|
-
const _hoisted_1$
|
|
2582
|
-
const _hoisted_2$
|
|
2583
|
-
const _hoisted_3$
|
|
2580
|
+
const LfTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-bfa77821"]]);
|
|
2581
|
+
const _hoisted_1$5 = ["disabled", "onClick"];
|
|
2582
|
+
const _hoisted_2$5 = { class: "lf-menu__item-text" };
|
|
2583
|
+
const _hoisted_3$4 = {
|
|
2584
2584
|
key: 0,
|
|
2585
2585
|
class: "lf-menu__item-desc"
|
|
2586
2586
|
};
|
|
2587
|
-
const _sfc_main$
|
|
2587
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
2588
2588
|
__name: "LfMenu",
|
|
2589
2589
|
props: {
|
|
2590
2590
|
items: { default: () => [] },
|
|
@@ -2674,11 +2674,11 @@ const _sfc_main$4 = /* @__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$
|
|
2677
|
+
createElementVNode("span", _hoisted_2$5, [
|
|
2678
2678
|
createElementVNode("span", null, toDisplayString(item.label), 1),
|
|
2679
|
-
item.description ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
2679
|
+
item.description ? (openBlock(), createElementBlock("span", _hoisted_3$4, toDisplayString(item.description), 1)) : createCommentVNode("", true)
|
|
2680
2680
|
])
|
|
2681
|
-
], 8, _hoisted_1$
|
|
2681
|
+
], 8, _hoisted_1$5);
|
|
2682
2682
|
}), 128))
|
|
2683
2683
|
], true)
|
|
2684
2684
|
], 2)) : createCommentVNode("", true)
|
|
@@ -2689,14 +2689,14 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
2689
2689
|
};
|
|
2690
2690
|
}
|
|
2691
2691
|
});
|
|
2692
|
-
const LfMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2693
|
-
const _hoisted_1$
|
|
2694
|
-
const _hoisted_2$
|
|
2692
|
+
const LfMenu = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-500f54dd"]]);
|
|
2693
|
+
const _hoisted_1$4 = { class: "lf-rail__list" };
|
|
2694
|
+
const _hoisted_2$4 = {
|
|
2695
2695
|
key: 0,
|
|
2696
2696
|
class: "lf-rail__group",
|
|
2697
2697
|
role: "presentation"
|
|
2698
2698
|
};
|
|
2699
|
-
const _hoisted_3$
|
|
2699
|
+
const _hoisted_3$3 = { class: "lf-rail__group-name" };
|
|
2700
2700
|
const _hoisted_4$2 = { class: "lf-rail__icon" };
|
|
2701
2701
|
const _hoisted_5$1 = {
|
|
2702
2702
|
key: 2,
|
|
@@ -2705,7 +2705,7 @@ const _hoisted_5$1 = {
|
|
|
2705
2705
|
const _hoisted_6$1 = { class: "lf-rail__name" };
|
|
2706
2706
|
const _hoisted_7$1 = { class: "lf-rail__short" };
|
|
2707
2707
|
const _hoisted_8$1 = { class: "lf-rail__long" };
|
|
2708
|
-
const _sfc_main$
|
|
2708
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
2709
2709
|
__name: "LfNavRail",
|
|
2710
2710
|
props: {
|
|
2711
2711
|
items: {},
|
|
@@ -2724,14 +2724,14 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
2724
2724
|
return props.current === item.to || props.current.startsWith(`${item.to}/`);
|
|
2725
2725
|
}
|
|
2726
2726
|
return (_ctx, _cache) => {
|
|
2727
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
2727
|
+
return openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
2728
2728
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item, index) => {
|
|
2729
2729
|
var _a;
|
|
2730
2730
|
return openBlock(), createElementBlock(Fragment, {
|
|
2731
2731
|
key: item.to
|
|
2732
2732
|
}, [
|
|
2733
|
-
item.group && item.group !== ((_a = __props.items[index - 1]) == null ? void 0 : _a.group) ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
2734
|
-
createElementVNode("span", _hoisted_3$
|
|
2733
|
+
item.group && item.group !== ((_a = __props.items[index - 1]) == null ? void 0 : _a.group) ? (openBlock(), createElementBlock("div", _hoisted_2$4, [
|
|
2734
|
+
createElementVNode("span", _hoisted_3$3, toDisplayString(item.group), 1)
|
|
2735
2735
|
])) : createCommentVNode("", true),
|
|
2736
2736
|
(openBlock(), createBlock(resolveDynamicComponent(__props.link), mergeProps({ ref_for: true }, linkAttrs(item), {
|
|
2737
2737
|
class: ["lf-rail__link", { "lf-rail__link--active": isActive(item), "lf-rail__link--bottom": item.bottom }],
|
|
@@ -2765,10 +2765,10 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
2765
2765
|
};
|
|
2766
2766
|
}
|
|
2767
2767
|
});
|
|
2768
|
-
const LfNavRail = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2769
|
-
const _hoisted_1$
|
|
2770
|
-
const _hoisted_2$
|
|
2771
|
-
const _hoisted_3$
|
|
2768
|
+
const LfNavRail = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-44d2c07e"]]);
|
|
2769
|
+
const _hoisted_1$3 = ["aria-label"];
|
|
2770
|
+
const _hoisted_2$3 = ["aria-checked", "aria-label", "title", "disabled", "onClick"];
|
|
2771
|
+
const _hoisted_3$2 = {
|
|
2772
2772
|
key: 1,
|
|
2773
2773
|
class: "lf-seg__label"
|
|
2774
2774
|
};
|
|
@@ -2776,7 +2776,7 @@ const _hoisted_4$1 = {
|
|
|
2776
2776
|
key: 2,
|
|
2777
2777
|
class: "lf-seg__badge"
|
|
2778
2778
|
};
|
|
2779
|
-
const _sfc_main$
|
|
2779
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
2780
2780
|
__name: "LfSegmented",
|
|
2781
2781
|
props: /* @__PURE__ */ mergeModels({
|
|
2782
2782
|
options: { default: () => [] },
|
|
@@ -2822,21 +2822,21 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
2822
2822
|
key: 0,
|
|
2823
2823
|
ref_for: true
|
|
2824
2824
|
}, iconOf(opt), { class: "lf-seg__icon" }), null, 16)) : createCommentVNode("", true),
|
|
2825
|
-
!__props.labelHidden ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
2825
|
+
!__props.labelHidden ? (openBlock(), createElementBlock("span", _hoisted_3$2, toDisplayString(opt.label), 1)) : createCommentVNode("", true),
|
|
2826
2826
|
opt.badge !== void 0 && opt.badge !== "" ? (openBlock(), createElementBlock("span", _hoisted_4$1, toDisplayString(opt.badge), 1)) : createCommentVNode("", true)
|
|
2827
|
-
], 10, _hoisted_2$
|
|
2827
|
+
], 10, _hoisted_2$3);
|
|
2828
2828
|
}), 128))
|
|
2829
|
-
], 10, _hoisted_1$
|
|
2829
|
+
], 10, _hoisted_1$3);
|
|
2830
2830
|
};
|
|
2831
2831
|
}
|
|
2832
2832
|
});
|
|
2833
|
-
const LfSegmented = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2834
|
-
const _hoisted_1$
|
|
2835
|
-
const _hoisted_2$
|
|
2833
|
+
const LfSegmented = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-49d1dec4"]]);
|
|
2834
|
+
const _hoisted_1$2 = { class: "lf-control-wrap" };
|
|
2835
|
+
const _hoisted_2$2 = {
|
|
2836
2836
|
key: 0,
|
|
2837
2837
|
class: "lf-control-wrap__icon lf-control-wrap__icon--left"
|
|
2838
2838
|
};
|
|
2839
|
-
const _hoisted_3 = ["id", "aria-expanded", "aria-controls", "placeholder", "disabled", "required"];
|
|
2839
|
+
const _hoisted_3$1 = ["id", "aria-expanded", "aria-controls", "placeholder", "disabled", "required"];
|
|
2840
2840
|
const _hoisted_4 = ["id", "aria-expanded", "aria-controls", "disabled"];
|
|
2841
2841
|
const _hoisted_5 = { class: "lf-listsel__text" };
|
|
2842
2842
|
const _hoisted_6 = ["aria-label"];
|
|
@@ -2856,7 +2856,7 @@ const _hoisted_13 = {
|
|
|
2856
2856
|
key: 1,
|
|
2857
2857
|
class: "lf-listsel__empty"
|
|
2858
2858
|
};
|
|
2859
|
-
const _sfc_main$
|
|
2859
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
2860
2860
|
...{ inheritAttrs: false },
|
|
2861
2861
|
__name: "LfListSelect",
|
|
2862
2862
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -3056,8 +3056,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
3056
3056
|
class: "lf-listsel",
|
|
3057
3057
|
onFocusout: onFocusOut
|
|
3058
3058
|
}, [
|
|
3059
|
-
createElementVNode("div", _hoisted_1$
|
|
3060
|
-
!__props.editable && ((_a = selected.value) == null ? void 0 : _a.icon) ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
3059
|
+
createElementVNode("div", _hoisted_1$2, [
|
|
3060
|
+
!__props.editable && ((_a = selected.value) == null ? void 0 : _a.icon) ? (openBlock(), createElementBlock("span", _hoisted_2$2, [
|
|
3061
3061
|
createVNode(LfIcon, mergeProps(iconOf(selected.value), { size: "1.125rem" }), null, 16)
|
|
3062
3062
|
])) : createCommentVNode("", true),
|
|
3063
3063
|
__props.editable ? withDirectives((openBlock(), createElementBlock("input", mergeProps({
|
|
@@ -3079,7 +3079,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
3079
3079
|
onFocus: _cache[1] || (_cache[1] = ($event) => show()),
|
|
3080
3080
|
onInput: _cache[2] || (_cache[2] = ($event) => show()),
|
|
3081
3081
|
onKeydown
|
|
3082
|
-
}), null, 16, _hoisted_3)), [
|
|
3082
|
+
}), null, 16, _hoisted_3$1)), [
|
|
3083
3083
|
[vModelText, text.value]
|
|
3084
3084
|
]) : (openBlock(), createElementBlock("button", mergeProps({
|
|
3085
3085
|
key: 2,
|
|
@@ -3194,7 +3194,71 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
3194
3194
|
};
|
|
3195
3195
|
}
|
|
3196
3196
|
});
|
|
3197
|
-
const LfListSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3197
|
+
const LfListSelect = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-bdf6d912"]]);
|
|
3198
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
3199
|
+
__name: "LfList",
|
|
3200
|
+
props: {
|
|
3201
|
+
divided: { type: Boolean },
|
|
3202
|
+
dense: { type: Boolean }
|
|
3203
|
+
},
|
|
3204
|
+
setup(__props) {
|
|
3205
|
+
return (_ctx, _cache) => {
|
|
3206
|
+
return openBlock(), createElementBlock("ul", {
|
|
3207
|
+
class: normalizeClass(["lf-list", { "lf-list--divided": __props.divided, "lf-list--dense": __props.dense }])
|
|
3208
|
+
}, [
|
|
3209
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
3210
|
+
], 2);
|
|
3211
|
+
};
|
|
3212
|
+
}
|
|
3213
|
+
});
|
|
3214
|
+
const LfList = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-67f4475e"]]);
|
|
3215
|
+
const _hoisted_1$1 = {
|
|
3216
|
+
key: 0,
|
|
3217
|
+
class: "lf-list-item__prepend"
|
|
3218
|
+
};
|
|
3219
|
+
const _hoisted_2$1 = { class: "lf-list-item__text" };
|
|
3220
|
+
const _hoisted_3 = {
|
|
3221
|
+
key: 1,
|
|
3222
|
+
class: "lf-list-item__append"
|
|
3223
|
+
};
|
|
3224
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
3225
|
+
__name: "LfListItem",
|
|
3226
|
+
props: {
|
|
3227
|
+
active: { type: Boolean },
|
|
3228
|
+
clickable: { type: Boolean },
|
|
3229
|
+
disabled: { type: Boolean },
|
|
3230
|
+
href: {}
|
|
3231
|
+
},
|
|
3232
|
+
setup(__props) {
|
|
3233
|
+
return (_ctx, _cache) => {
|
|
3234
|
+
return openBlock(), createElementBlock("li", {
|
|
3235
|
+
class: normalizeClass(["lf-list-item", { "lf-list-item--active": __props.active, "lf-list-item--disabled": __props.disabled }])
|
|
3236
|
+
}, [
|
|
3237
|
+
(openBlock(), createBlock(resolveDynamicComponent(__props.href ? "a" : __props.clickable ? "button" : "div"), {
|
|
3238
|
+
class: normalizeClass(["lf-list-item__body", { "lf-list-item__body--clickable": __props.clickable || __props.href }]),
|
|
3239
|
+
type: __props.clickable && !__props.href ? "button" : void 0,
|
|
3240
|
+
href: __props.href,
|
|
3241
|
+
disabled: __props.clickable && !__props.href ? __props.disabled : void 0,
|
|
3242
|
+
"aria-current": __props.active ? "true" : void 0
|
|
3243
|
+
}, {
|
|
3244
|
+
default: withCtx(() => [
|
|
3245
|
+
_ctx.$slots.prepend ? (openBlock(), createElementBlock("span", _hoisted_1$1, [
|
|
3246
|
+
renderSlot(_ctx.$slots, "prepend", {}, void 0, true)
|
|
3247
|
+
])) : createCommentVNode("", true),
|
|
3248
|
+
createElementVNode("span", _hoisted_2$1, [
|
|
3249
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
3250
|
+
]),
|
|
3251
|
+
_ctx.$slots.append ? (openBlock(), createElementBlock("span", _hoisted_3, [
|
|
3252
|
+
renderSlot(_ctx.$slots, "append", {}, void 0, true)
|
|
3253
|
+
])) : createCommentVNode("", true)
|
|
3254
|
+
]),
|
|
3255
|
+
_: 3
|
|
3256
|
+
}, 8, ["class", "type", "href", "disabled", "aria-current"]))
|
|
3257
|
+
], 2);
|
|
3258
|
+
};
|
|
3259
|
+
}
|
|
3260
|
+
});
|
|
3261
|
+
const LfListItem = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-e05ac56f"]]);
|
|
3198
3262
|
const _hoisted_1 = {
|
|
3199
3263
|
key: 0,
|
|
3200
3264
|
class: "lf-divider lf-divider--labeled",
|
|
@@ -3379,6 +3443,8 @@ export {
|
|
|
3379
3443
|
LfField,
|
|
3380
3444
|
LfIcon,
|
|
3381
3445
|
LfIconButton,
|
|
3446
|
+
LfList,
|
|
3447
|
+
LfListItem,
|
|
3382
3448
|
LfListSelect,
|
|
3383
3449
|
LfMenu,
|
|
3384
3450
|
LfModal,
|