@loafacto/ui 0.15.3 → 0.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/AppShell.vue.d.ts +8 -8
- package/dist/components/LfTransitionList.vue.d.ts +20 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +236 -108
- package/dist/index.js.map +1 -1
- package/dist/loafacto-ui.css +490 -313
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { readonly, ref, openBlock, createElementBlock, createStaticVNode, createElementVNode, defineComponent, computed, watch, onBeforeUnmount, normalizeClass, normalizeStyle, createCommentVNode, Fragment, toDisplayString, createVNode, renderList, renderSlot, unref, onUnmounted, createBlock, Teleport, TransitionGroup,
|
|
1
|
+
import { readonly, ref, openBlock, createElementBlock, createStaticVNode, createElementVNode, defineComponent, computed, watch, onBeforeUnmount, normalizeClass, normalizeStyle, createCommentVNode, Fragment, toDisplayString, createVNode, Transition, withCtx, renderList, renderSlot, unref, onUnmounted, createBlock, Teleport, TransitionGroup, withModifiers, useTemplateRef, onMounted, nextTick, createTextVNode, withDirectives, withKeys, vModelText, resolveDynamicComponent, useAttrs, useModel, useId, mergeProps, isRef, vModelDynamic, mergeModels, vModelSelect, vModelCheckbox, vModelRadio, useSlots } from "vue";
|
|
2
2
|
import { a as applyTheme, D as DARK_THEME, L as LIGHT_THEME } from "./applyTheme-8AxcQbPB.js";
|
|
3
3
|
import { b, c, d, e, f, h, i, l } from "./applyTheme-8AxcQbPB.js";
|
|
4
4
|
import { defineStore } from "pinia";
|
|
@@ -156,7 +156,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
156
156
|
}
|
|
157
157
|
return target;
|
|
158
158
|
};
|
|
159
|
-
const _sfc_main$
|
|
159
|
+
const _sfc_main$A = {};
|
|
160
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",
|
|
@@ -167,8 +167,8 @@ function _sfc_render$1(_ctx, _cache) {
|
|
|
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$
|
|
170
|
+
const BrandLockup = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render$1]]);
|
|
171
|
+
const _sfc_main$z = {};
|
|
172
172
|
const _hoisted_1$w = {
|
|
173
173
|
xmlns: "http://www.w3.org/2000/svg",
|
|
174
174
|
viewBox: "30 -4 142 168",
|
|
@@ -198,7 +198,7 @@ function _sfc_render(_ctx, _cache) {
|
|
|
198
198
|
}, null, -1)
|
|
199
199
|
])]);
|
|
200
200
|
}
|
|
201
|
-
const BrandSymbol = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
201
|
+
const BrandSymbol = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render]]);
|
|
202
202
|
const _hoisted_1$v = { class: "lf-topbar" };
|
|
203
203
|
const _hoisted_2$r = { class: "lf-topbar__inner" };
|
|
204
204
|
const _hoisted_3$m = ["aria-label", "title", "aria-expanded"];
|
|
@@ -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$y = /* @__PURE__ */ defineComponent({
|
|
272
272
|
__name: "AppShell",
|
|
273
273
|
props: {
|
|
274
274
|
services: { default: () => LOAFACTO_SERVICES },
|
|
@@ -449,29 +449,34 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
449
449
|
})
|
|
450
450
|
], -1))
|
|
451
451
|
], 8, _hoisted_7$a),
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
452
|
+
createVNode(Transition, { name: "lf-shell-menu" }, {
|
|
453
|
+
default: withCtx(() => [
|
|
454
|
+
switcherOpen.value ? (openBlock(), createElementBlock("div", _hoisted_8$5, [
|
|
455
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.services, (svc) => {
|
|
456
|
+
return openBlock(), createElementBlock("a", {
|
|
457
|
+
key: svc.id,
|
|
458
|
+
class: normalizeClass(["lf-switcher__item", {
|
|
459
|
+
"lf-switcher__item--active": svc.id === __props.currentServiceId,
|
|
460
|
+
"lf-switcher__item--disabled": svc.comingSoon
|
|
461
|
+
}]),
|
|
462
|
+
href: svc.comingSoon ? void 0 : svc.path,
|
|
463
|
+
role: "menuitem",
|
|
464
|
+
onClick: ($event) => onServiceClick($event, svc)
|
|
465
|
+
}, [
|
|
466
|
+
svc.iconPath ? (openBlock(), createElementBlock("svg", _hoisted_10$2, [
|
|
467
|
+
createElementVNode("path", {
|
|
468
|
+
d: svc.iconPath,
|
|
469
|
+
fill: "currentColor"
|
|
470
|
+
}, null, 8, _hoisted_11$1)
|
|
471
|
+
])) : createCommentVNode("", true),
|
|
472
|
+
createElementVNode("span", _hoisted_12$1, toDisplayString(svc.name), 1),
|
|
473
|
+
svc.comingSoon ? (openBlock(), createElementBlock("span", _hoisted_13$1, "준비 중")) : svc.badge ? (openBlock(), createElementBlock("span", _hoisted_14, toDisplayString(svc.badge), 1)) : createCommentVNode("", true)
|
|
474
|
+
], 10, _hoisted_9$2);
|
|
475
|
+
}), 128))
|
|
476
|
+
])) : createCommentVNode("", true)
|
|
477
|
+
]),
|
|
478
|
+
_: 1
|
|
479
|
+
})
|
|
475
480
|
], 512)) : createCommentVNode("", true),
|
|
476
481
|
_cache[9] || (_cache[9] = createElementVNode("div", { class: "lf-topbar__spacer" }, null, -1)),
|
|
477
482
|
__props.user ? (openBlock(), createElementBlock("div", {
|
|
@@ -505,24 +510,29 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
505
510
|
})
|
|
506
511
|
], -1))
|
|
507
512
|
], 8, _hoisted_15),
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
513
|
+
createVNode(Transition, { name: "lf-shell-menu" }, {
|
|
514
|
+
default: withCtx(() => [
|
|
515
|
+
userOpen.value ? (openBlock(), createElementBlock("div", {
|
|
516
|
+
key: 0,
|
|
517
|
+
class: "lf-user__menu",
|
|
518
|
+
role: "menu",
|
|
519
|
+
onClick: _cache[3] || (_cache[3] = ($event) => userOpen.value = false)
|
|
520
|
+
}, [
|
|
521
|
+
__props.user.email ? (openBlock(), createElementBlock("p", _hoisted_19, toDisplayString(__props.user.email), 1)) : createCommentVNode("", true),
|
|
522
|
+
__props.myPageHref ? (openBlock(), createElementBlock("a", {
|
|
523
|
+
key: 1,
|
|
524
|
+
href: __props.myPageHref
|
|
525
|
+
}, "내 정보", 8, _hoisted_20)) : createCommentVNode("", true),
|
|
526
|
+
renderSlot(_ctx.$slots, "user-menu", {}, void 0, true),
|
|
527
|
+
__props.logoutHref ? (openBlock(), createElementBlock("a", {
|
|
528
|
+
key: 2,
|
|
529
|
+
class: "lf-user__logout",
|
|
530
|
+
href: __props.logoutHref
|
|
531
|
+
}, "로그아웃", 8, _hoisted_21)) : createCommentVNode("", true)
|
|
532
|
+
])) : createCommentVNode("", true)
|
|
533
|
+
]),
|
|
534
|
+
_: 3
|
|
535
|
+
})
|
|
526
536
|
], 512)) : renderSlot(_ctx.$slots, "auth-actions", {}, void 0, true, 3),
|
|
527
537
|
__props.shortcuts.length ? (openBlock(), createElementBlock("nav", _hoisted_22, [
|
|
528
538
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.shortcuts, (s) => {
|
|
@@ -591,7 +601,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
591
601
|
};
|
|
592
602
|
}
|
|
593
603
|
});
|
|
594
|
-
const AppShell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
604
|
+
const AppShell = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-0e48f886"]]);
|
|
595
605
|
function generateId() {
|
|
596
606
|
return `toast-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`;
|
|
597
607
|
}
|
|
@@ -644,7 +654,7 @@ const _hoisted_7$9 = {
|
|
|
644
654
|
"aria-hidden": "true"
|
|
645
655
|
};
|
|
646
656
|
const _hoisted_8$4 = ["d"];
|
|
647
|
-
const _sfc_main$
|
|
657
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
648
658
|
__name: "AppToast",
|
|
649
659
|
setup(__props) {
|
|
650
660
|
const toastStore = useToastStore();
|
|
@@ -716,7 +726,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
716
726
|
};
|
|
717
727
|
}
|
|
718
728
|
});
|
|
719
|
-
const AppToast = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
729
|
+
const AppToast = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-58e54e0c"]]);
|
|
720
730
|
const useLoadingStore = defineStore("loading", () => {
|
|
721
731
|
const count = ref(0);
|
|
722
732
|
const loading = computed(() => count.value > 0);
|
|
@@ -743,7 +753,7 @@ const _hoisted_1$t = {
|
|
|
743
753
|
"aria-live": "polite",
|
|
744
754
|
"aria-label": "로딩 중"
|
|
745
755
|
};
|
|
746
|
-
const _sfc_main$
|
|
756
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
747
757
|
__name: "AppLoadingOverlay",
|
|
748
758
|
setup(__props) {
|
|
749
759
|
const loadingStore = useLoadingStore();
|
|
@@ -764,7 +774,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
764
774
|
};
|
|
765
775
|
}
|
|
766
776
|
});
|
|
767
|
-
const AppLoadingOverlay = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
777
|
+
const AppLoadingOverlay = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-cce3ea3e"]]);
|
|
768
778
|
const useConfirmStore = defineStore("confirm", () => {
|
|
769
779
|
const open = ref(false);
|
|
770
780
|
const title = ref("확인");
|
|
@@ -832,7 +842,7 @@ const _hoisted_7$8 = {
|
|
|
832
842
|
const _hoisted_8$3 = { class: "app-confirm__require-label" };
|
|
833
843
|
const _hoisted_9$1 = { class: "app-confirm__actions" };
|
|
834
844
|
const _hoisted_10$1 = ["disabled"];
|
|
835
|
-
const _sfc_main$
|
|
845
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
836
846
|
__name: "AppConfirmModal",
|
|
837
847
|
setup(__props) {
|
|
838
848
|
const store = useConfirmStore();
|
|
@@ -905,7 +915,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
905
915
|
};
|
|
906
916
|
}
|
|
907
917
|
});
|
|
908
|
-
const AppConfirmModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
918
|
+
const AppConfirmModal = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-561536f9"]]);
|
|
909
919
|
const LF_ICONS = {
|
|
910
920
|
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
921
|
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",
|
|
@@ -948,7 +958,7 @@ const LF_ICONS = {
|
|
|
948
958
|
const _hoisted_1$r = ["role", "aria-label", "aria-hidden"];
|
|
949
959
|
const _hoisted_2$o = { key: 0 };
|
|
950
960
|
const _hoisted_3$j = ["d"];
|
|
951
|
-
const _sfc_main$
|
|
961
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
952
962
|
__name: "LfIcon",
|
|
953
963
|
props: {
|
|
954
964
|
name: {},
|
|
@@ -981,9 +991,9 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
981
991
|
};
|
|
982
992
|
}
|
|
983
993
|
});
|
|
984
|
-
const LfIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
994
|
+
const LfIcon = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-b70b3868"]]);
|
|
985
995
|
const _hoisted_1$q = ["role", "aria-label", "aria-hidden"];
|
|
986
|
-
const _sfc_main$
|
|
996
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
987
997
|
__name: "LfSpinner",
|
|
988
998
|
props: {
|
|
989
999
|
size: { default: "1.25rem" },
|
|
@@ -1019,12 +1029,12 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
1019
1029
|
};
|
|
1020
1030
|
}
|
|
1021
1031
|
});
|
|
1022
|
-
const LfSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1032
|
+
const LfSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-4aedf6b0"]]);
|
|
1023
1033
|
const _hoisted_1$p = {
|
|
1024
1034
|
key: 2,
|
|
1025
1035
|
class: "lf-btn__label"
|
|
1026
1036
|
};
|
|
1027
|
-
const _sfc_main$
|
|
1037
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
1028
1038
|
__name: "LfButton",
|
|
1029
1039
|
props: {
|
|
1030
1040
|
variant: { default: "ghost" },
|
|
@@ -1074,8 +1084,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
1074
1084
|
};
|
|
1075
1085
|
}
|
|
1076
1086
|
});
|
|
1077
|
-
const LfButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1078
|
-
const _sfc_main$
|
|
1087
|
+
const LfButton = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-0d2e2b97"]]);
|
|
1088
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
1079
1089
|
__name: "LfIconButton",
|
|
1080
1090
|
props: {
|
|
1081
1091
|
icon: {},
|
|
@@ -1120,7 +1130,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
1120
1130
|
};
|
|
1121
1131
|
}
|
|
1122
1132
|
});
|
|
1123
|
-
const LfIconButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1133
|
+
const LfIconButton = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-6af12755"]]);
|
|
1124
1134
|
const _hoisted_1$o = ["for"];
|
|
1125
1135
|
const _hoisted_2$n = {
|
|
1126
1136
|
key: 0,
|
|
@@ -1136,7 +1146,7 @@ const _hoisted_4$g = {
|
|
|
1136
1146
|
key: 2,
|
|
1137
1147
|
class: "lf-field__hint"
|
|
1138
1148
|
};
|
|
1139
|
-
const _sfc_main$
|
|
1149
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
1140
1150
|
__name: "LfField",
|
|
1141
1151
|
props: {
|
|
1142
1152
|
label: {},
|
|
@@ -1164,7 +1174,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
1164
1174
|
};
|
|
1165
1175
|
}
|
|
1166
1176
|
});
|
|
1167
|
-
const LfField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1177
|
+
const LfField = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-38509e4d"]]);
|
|
1168
1178
|
function useSplitAttrs() {
|
|
1169
1179
|
const attrs = useAttrs();
|
|
1170
1180
|
const rootAttrs = computed(() => ({ class: attrs.class, style: attrs.style }));
|
|
@@ -1185,7 +1195,7 @@ const _hoisted_4$f = {
|
|
|
1185
1195
|
class: "lf-control-wrap__suffix"
|
|
1186
1196
|
};
|
|
1187
1197
|
const _hoisted_5$c = ["aria-label"];
|
|
1188
|
-
const _sfc_main$
|
|
1198
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
1189
1199
|
...{ inheritAttrs: false },
|
|
1190
1200
|
__name: "LfTextField",
|
|
1191
1201
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -1293,13 +1303,13 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1293
1303
|
};
|
|
1294
1304
|
}
|
|
1295
1305
|
});
|
|
1296
|
-
const LfTextField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1306
|
+
const LfTextField = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-e113043f"]]);
|
|
1297
1307
|
const _hoisted_1$m = ["id", "rows", "placeholder", "disabled", "readonly", "required", "maxlength", "aria-invalid"];
|
|
1298
1308
|
const _hoisted_2$l = {
|
|
1299
1309
|
key: 0,
|
|
1300
1310
|
class: "lf-textarea__counter"
|
|
1301
1311
|
};
|
|
1302
|
-
const _sfc_main$
|
|
1312
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
1303
1313
|
...{ inheritAttrs: false },
|
|
1304
1314
|
__name: "LfTextarea",
|
|
1305
1315
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -1373,13 +1383,13 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
1373
1383
|
};
|
|
1374
1384
|
}
|
|
1375
1385
|
});
|
|
1376
|
-
const LfTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1386
|
+
const LfTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-81fbed25"]]);
|
|
1377
1387
|
const _hoisted_1$l = { class: "lf-control-wrap" };
|
|
1378
1388
|
const _hoisted_2$k = ["id", "disabled", "required", "aria-invalid"];
|
|
1379
1389
|
const _hoisted_3$g = ["disabled"];
|
|
1380
1390
|
const _hoisted_4$e = ["value", "disabled"];
|
|
1381
1391
|
const _hoisted_5$b = { class: "lf-control-wrap__icon lf-control-wrap__icon--right" };
|
|
1382
|
-
const _sfc_main$
|
|
1392
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
1383
1393
|
...{ inheritAttrs: false },
|
|
1384
1394
|
__name: "LfSelect",
|
|
1385
1395
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -1458,7 +1468,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
1458
1468
|
};
|
|
1459
1469
|
}
|
|
1460
1470
|
});
|
|
1461
|
-
const LfSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1471
|
+
const LfSelect = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-01fa2b3e"]]);
|
|
1462
1472
|
const _hoisted_1$k = ["disabled", "value"];
|
|
1463
1473
|
const _hoisted_2$j = {
|
|
1464
1474
|
class: "lf-check__box",
|
|
@@ -1473,7 +1483,7 @@ const _hoisted_5$a = {
|
|
|
1473
1483
|
key: 0,
|
|
1474
1484
|
class: "lf-check__desc"
|
|
1475
1485
|
};
|
|
1476
|
-
const _sfc_main$
|
|
1486
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
1477
1487
|
...{ inheritAttrs: false },
|
|
1478
1488
|
__name: "LfCheckbox",
|
|
1479
1489
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -1519,7 +1529,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
1519
1529
|
};
|
|
1520
1530
|
}
|
|
1521
1531
|
});
|
|
1522
|
-
const LfCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1532
|
+
const LfCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-a86332f0"]]);
|
|
1523
1533
|
const _hoisted_1$j = {
|
|
1524
1534
|
key: 0,
|
|
1525
1535
|
class: "lf-switch__text"
|
|
@@ -1530,7 +1540,7 @@ const _hoisted_3$e = {
|
|
|
1530
1540
|
class: "lf-switch__desc"
|
|
1531
1541
|
};
|
|
1532
1542
|
const _hoisted_4$c = ["disabled"];
|
|
1533
|
-
const _sfc_main$
|
|
1543
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
1534
1544
|
...{ inheritAttrs: false },
|
|
1535
1545
|
__name: "LfSwitch",
|
|
1536
1546
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -1576,7 +1586,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
1576
1586
|
};
|
|
1577
1587
|
}
|
|
1578
1588
|
});
|
|
1579
|
-
const LfSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1589
|
+
const LfSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-9b5f4253"]]);
|
|
1580
1590
|
const _hoisted_1$i = {
|
|
1581
1591
|
key: 0,
|
|
1582
1592
|
class: "lf-radio-group__legend"
|
|
@@ -1602,7 +1612,7 @@ const _hoisted_8$2 = {
|
|
|
1602
1612
|
key: 2,
|
|
1603
1613
|
class: "lf-radio-group__hint"
|
|
1604
1614
|
};
|
|
1605
|
-
const _sfc_main$
|
|
1615
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
1606
1616
|
__name: "LfRadioGroup",
|
|
1607
1617
|
props: /* @__PURE__ */ mergeModels({
|
|
1608
1618
|
options: { default: () => [] },
|
|
@@ -1662,7 +1672,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
1662
1672
|
};
|
|
1663
1673
|
}
|
|
1664
1674
|
});
|
|
1665
|
-
const LfRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1675
|
+
const LfRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-cffad147"]]);
|
|
1666
1676
|
const _hoisted_1$h = ["aria-labelledby", "aria-label"];
|
|
1667
1677
|
const _hoisted_2$g = {
|
|
1668
1678
|
key: 0,
|
|
@@ -1679,7 +1689,7 @@ const _hoisted_7$6 = {
|
|
|
1679
1689
|
key: 1,
|
|
1680
1690
|
class: "lf-modal__footer"
|
|
1681
1691
|
};
|
|
1682
|
-
const _sfc_main$
|
|
1692
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
1683
1693
|
__name: "LfModal",
|
|
1684
1694
|
props: /* @__PURE__ */ mergeModels({
|
|
1685
1695
|
title: {},
|
|
@@ -1824,7 +1834,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
1824
1834
|
};
|
|
1825
1835
|
}
|
|
1826
1836
|
});
|
|
1827
|
-
const LfModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1837
|
+
const LfModal = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-da4a649b"]]);
|
|
1828
1838
|
const _hoisted_1$g = {
|
|
1829
1839
|
key: 0,
|
|
1830
1840
|
class: "lf-card__head"
|
|
@@ -1847,7 +1857,7 @@ const _hoisted_7$5 = {
|
|
|
1847
1857
|
key: 1,
|
|
1848
1858
|
class: "lf-card__foot"
|
|
1849
1859
|
};
|
|
1850
|
-
const _sfc_main$
|
|
1860
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
1851
1861
|
__name: "LfCard",
|
|
1852
1862
|
props: {
|
|
1853
1863
|
title: {},
|
|
@@ -1892,7 +1902,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
1892
1902
|
};
|
|
1893
1903
|
}
|
|
1894
1904
|
});
|
|
1895
|
-
const LfCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1905
|
+
const LfCard = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-3ffcb11e"]]);
|
|
1896
1906
|
const _hoisted_1$f = { class: "lf-page-header" };
|
|
1897
1907
|
const _hoisted_2$e = { class: "lf-page-header__title-box" };
|
|
1898
1908
|
const _hoisted_3$a = { class: "lf-page-header__title" };
|
|
@@ -1912,7 +1922,7 @@ const _hoisted_7$4 = {
|
|
|
1912
1922
|
key: 1,
|
|
1913
1923
|
class: "lf-page-header__desc"
|
|
1914
1924
|
};
|
|
1915
|
-
const _sfc_main$
|
|
1925
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
1916
1926
|
__name: "LfPageHeader",
|
|
1917
1927
|
props: {
|
|
1918
1928
|
title: {},
|
|
@@ -1957,14 +1967,14 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
1957
1967
|
};
|
|
1958
1968
|
}
|
|
1959
1969
|
});
|
|
1960
|
-
const LfPageHeader = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1970
|
+
const LfPageHeader = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-a7ef2659"]]);
|
|
1961
1971
|
const _hoisted_1$e = {
|
|
1962
1972
|
key: 0,
|
|
1963
1973
|
class: "lf-badge__dot",
|
|
1964
1974
|
"aria-hidden": "true"
|
|
1965
1975
|
};
|
|
1966
1976
|
const _hoisted_2$d = ["aria-label"];
|
|
1967
|
-
const _sfc_main$
|
|
1977
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
1968
1978
|
__name: "LfBadge",
|
|
1969
1979
|
props: {
|
|
1970
1980
|
label: {},
|
|
@@ -2009,7 +2019,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
2009
2019
|
};
|
|
2010
2020
|
}
|
|
2011
2021
|
});
|
|
2012
|
-
const LfBadge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2022
|
+
const LfBadge = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-b55cda7f"]]);
|
|
2013
2023
|
const _hoisted_1$d = ["role"];
|
|
2014
2024
|
const _hoisted_2$c = {
|
|
2015
2025
|
class: "lf-alert__badge",
|
|
@@ -2024,7 +2034,7 @@ const _hoisted_5$5 = {
|
|
|
2024
2034
|
key: 2,
|
|
2025
2035
|
class: "lf-alert__actions"
|
|
2026
2036
|
};
|
|
2027
|
-
const _sfc_main$
|
|
2037
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
2028
2038
|
__name: "LfAlert",
|
|
2029
2039
|
props: {
|
|
2030
2040
|
tone: { default: "info" },
|
|
@@ -2085,10 +2095,10 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
2085
2095
|
};
|
|
2086
2096
|
}
|
|
2087
2097
|
});
|
|
2088
|
-
const LfAlert = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2098
|
+
const LfAlert = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-62839786"]]);
|
|
2089
2099
|
const _hoisted_1$c = ["title"];
|
|
2090
2100
|
const _hoisted_2$b = ["src", "alt"];
|
|
2091
|
-
const _sfc_main$
|
|
2101
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
2092
2102
|
__name: "LfAvatar",
|
|
2093
2103
|
props: {
|
|
2094
2104
|
name: {},
|
|
@@ -2130,14 +2140,14 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
2130
2140
|
};
|
|
2131
2141
|
}
|
|
2132
2142
|
});
|
|
2133
|
-
const LfAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2143
|
+
const LfAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-61adf36e"]]);
|
|
2134
2144
|
const _hoisted_1$b = { class: "lf-table-wrap" };
|
|
2135
2145
|
const _hoisted_2$a = ["aria-sort"];
|
|
2136
2146
|
const _hoisted_3$8 = ["onClick"];
|
|
2137
2147
|
const _hoisted_4$6 = { key: 1 };
|
|
2138
2148
|
const _hoisted_5$4 = ["colspan"];
|
|
2139
2149
|
const _hoisted_6$4 = ["tabindex", "onClick", "onKeydown"];
|
|
2140
|
-
const _sfc_main$
|
|
2150
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
2141
2151
|
__name: "LfTable",
|
|
2142
2152
|
props: {
|
|
2143
2153
|
columns: {},
|
|
@@ -2258,7 +2268,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2258
2268
|
};
|
|
2259
2269
|
}
|
|
2260
2270
|
});
|
|
2261
|
-
const LfTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2271
|
+
const LfTable = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-dc7b5ff5"]]);
|
|
2262
2272
|
const _hoisted_1$a = ["aria-label"];
|
|
2263
2273
|
const _hoisted_2$9 = {
|
|
2264
2274
|
key: 0,
|
|
@@ -2277,7 +2287,7 @@ const _hoisted_5$3 = {
|
|
|
2277
2287
|
const _hoisted_6$3 = ["aria-current", "onClick"];
|
|
2278
2288
|
const _hoisted_7$3 = ["disabled"];
|
|
2279
2289
|
const ELLIPSIS = -1;
|
|
2280
|
-
const _sfc_main$
|
|
2290
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
2281
2291
|
__name: "LfPagination",
|
|
2282
2292
|
props: /* @__PURE__ */ mergeModels({
|
|
2283
2293
|
total: { default: 0 },
|
|
@@ -2366,7 +2376,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
2366
2376
|
};
|
|
2367
2377
|
}
|
|
2368
2378
|
});
|
|
2369
|
-
const LfPagination = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2379
|
+
const LfPagination = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-be847541"]]);
|
|
2370
2380
|
const _hoisted_1$9 = {
|
|
2371
2381
|
key: 0,
|
|
2372
2382
|
class: "lf-empty__icon"
|
|
@@ -2380,7 +2390,7 @@ const _hoisted_4$4 = {
|
|
|
2380
2390
|
key: 2,
|
|
2381
2391
|
class: "lf-empty__action"
|
|
2382
2392
|
};
|
|
2383
|
-
const _sfc_main$
|
|
2393
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
2384
2394
|
__name: "LfEmptyState",
|
|
2385
2395
|
props: {
|
|
2386
2396
|
title: { default: "표시할 내용이 없습니다." },
|
|
@@ -2421,14 +2431,14 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
2421
2431
|
};
|
|
2422
2432
|
}
|
|
2423
2433
|
});
|
|
2424
|
-
const LfEmptyState = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2434
|
+
const LfEmptyState = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-b0e021c9"]]);
|
|
2425
2435
|
const _hoisted_1$8 = {
|
|
2426
2436
|
key: 0,
|
|
2427
2437
|
class: "lf-skeleton-group",
|
|
2428
2438
|
"aria-busy": true,
|
|
2429
2439
|
"aria-live": "polite"
|
|
2430
2440
|
};
|
|
2431
|
-
const _sfc_main$
|
|
2441
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
2432
2442
|
__name: "LfSkeleton",
|
|
2433
2443
|
props: {
|
|
2434
2444
|
variant: { default: "text" },
|
|
@@ -2460,7 +2470,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2460
2470
|
};
|
|
2461
2471
|
}
|
|
2462
2472
|
});
|
|
2463
|
-
const LfSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2473
|
+
const LfSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-a01556ce"]]);
|
|
2464
2474
|
const _hoisted_1$7 = {
|
|
2465
2475
|
class: "lf-stat__badge",
|
|
2466
2476
|
"aria-hidden": "true"
|
|
@@ -2477,7 +2487,7 @@ const _hoisted_7$2 = {
|
|
|
2477
2487
|
key: 0,
|
|
2478
2488
|
class: "lf-stat__hint"
|
|
2479
2489
|
};
|
|
2480
|
-
const _sfc_main$
|
|
2490
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
2481
2491
|
__name: "LfStatCard",
|
|
2482
2492
|
props: {
|
|
2483
2493
|
label: {},
|
|
@@ -2543,10 +2553,10 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2543
2553
|
};
|
|
2544
2554
|
}
|
|
2545
2555
|
});
|
|
2546
|
-
const LfStatCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2556
|
+
const LfStatCard = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-ddc6565d"]]);
|
|
2547
2557
|
const _hoisted_1$6 = ["aria-describedby"];
|
|
2548
2558
|
const _hoisted_2$6 = ["id"];
|
|
2549
|
-
const _sfc_main$
|
|
2559
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
2550
2560
|
__name: "LfTooltip",
|
|
2551
2561
|
props: {
|
|
2552
2562
|
text: {},
|
|
@@ -2577,14 +2587,14 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
2577
2587
|
};
|
|
2578
2588
|
}
|
|
2579
2589
|
});
|
|
2580
|
-
const LfTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2590
|
+
const LfTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-ae3bf5db"]]);
|
|
2581
2591
|
const _hoisted_1$5 = ["disabled", "onClick"];
|
|
2582
2592
|
const _hoisted_2$5 = { class: "lf-menu__item-text" };
|
|
2583
2593
|
const _hoisted_3$4 = {
|
|
2584
2594
|
key: 0,
|
|
2585
2595
|
class: "lf-menu__item-desc"
|
|
2586
2596
|
};
|
|
2587
|
-
const _sfc_main$
|
|
2597
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
2588
2598
|
__name: "LfMenu",
|
|
2589
2599
|
props: {
|
|
2590
2600
|
items: { default: () => [] },
|
|
@@ -2689,7 +2699,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
2689
2699
|
};
|
|
2690
2700
|
}
|
|
2691
2701
|
});
|
|
2692
|
-
const LfMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2702
|
+
const LfMenu = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-0318782c"]]);
|
|
2693
2703
|
const _hoisted_1$4 = { class: "lf-rail__list" };
|
|
2694
2704
|
const _hoisted_2$4 = {
|
|
2695
2705
|
key: 0,
|
|
@@ -2705,7 +2715,7 @@ const _hoisted_5$1 = {
|
|
|
2705
2715
|
const _hoisted_6$1 = { class: "lf-rail__name" };
|
|
2706
2716
|
const _hoisted_7$1 = { class: "lf-rail__short" };
|
|
2707
2717
|
const _hoisted_8$1 = { class: "lf-rail__long" };
|
|
2708
|
-
const _sfc_main$
|
|
2718
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
2709
2719
|
__name: "LfNavRail",
|
|
2710
2720
|
props: {
|
|
2711
2721
|
items: {},
|
|
@@ -2765,7 +2775,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
2765
2775
|
};
|
|
2766
2776
|
}
|
|
2767
2777
|
});
|
|
2768
|
-
const LfNavRail = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2778
|
+
const LfNavRail = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-1af1c379"]]);
|
|
2769
2779
|
const _hoisted_1$3 = ["aria-label"];
|
|
2770
2780
|
const _hoisted_2$3 = ["aria-checked", "aria-label", "title", "disabled", "onClick"];
|
|
2771
2781
|
const _hoisted_3$2 = {
|
|
@@ -2776,7 +2786,7 @@ const _hoisted_4$1 = {
|
|
|
2776
2786
|
key: 2,
|
|
2777
2787
|
class: "lf-seg__badge"
|
|
2778
2788
|
};
|
|
2779
|
-
const _sfc_main$
|
|
2789
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
2780
2790
|
__name: "LfSegmented",
|
|
2781
2791
|
props: /* @__PURE__ */ mergeModels({
|
|
2782
2792
|
options: { default: () => [] },
|
|
@@ -2796,16 +2806,43 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
2796
2806
|
const normalized = computed(
|
|
2797
2807
|
() => props.options.map((o) => typeof o === "string" ? { value: o, label: o } : o)
|
|
2798
2808
|
);
|
|
2809
|
+
const root = useTemplateRef("root");
|
|
2810
|
+
const thumb = ref(null);
|
|
2811
|
+
function measure() {
|
|
2812
|
+
var _a;
|
|
2813
|
+
const el = (_a = root.value) == null ? void 0 : _a.querySelector(".lf-seg__btn--on");
|
|
2814
|
+
thumb.value = el ? { x: el.offsetLeft, w: el.offsetWidth } : null;
|
|
2815
|
+
}
|
|
2816
|
+
watch(() => [model.value, normalized.value.length], () => {
|
|
2817
|
+
void nextTick(measure);
|
|
2818
|
+
});
|
|
2819
|
+
let ro = null;
|
|
2820
|
+
onMounted(() => {
|
|
2821
|
+
measure();
|
|
2822
|
+
if (typeof ResizeObserver !== "undefined" && root.value) {
|
|
2823
|
+
ro = new ResizeObserver(() => measure());
|
|
2824
|
+
ro.observe(root.value);
|
|
2825
|
+
}
|
|
2826
|
+
});
|
|
2827
|
+
onBeforeUnmount(() => ro == null ? void 0 : ro.disconnect());
|
|
2799
2828
|
function iconOf(opt) {
|
|
2800
2829
|
if (!opt.icon) return {};
|
|
2801
2830
|
return opt.icon in LF_ICONS ? { name: opt.icon } : { path: opt.icon };
|
|
2802
2831
|
}
|
|
2803
2832
|
return (_ctx, _cache) => {
|
|
2804
2833
|
return openBlock(), createElementBlock("div", {
|
|
2805
|
-
|
|
2834
|
+
ref_key: "root",
|
|
2835
|
+
ref: root,
|
|
2836
|
+
class: normalizeClass(["lf-seg", [`lf-seg--${__props.size}`, { "lf-seg--block": __props.block, "lf-seg--thumb": thumb.value }]]),
|
|
2806
2837
|
role: "radiogroup",
|
|
2807
2838
|
"aria-label": __props.ariaLabel
|
|
2808
2839
|
}, [
|
|
2840
|
+
thumb.value ? (openBlock(), createElementBlock("span", {
|
|
2841
|
+
key: 0,
|
|
2842
|
+
class: "lf-seg__thumb",
|
|
2843
|
+
style: normalizeStyle({ transform: `translateX(${thumb.value.x}px)`, width: `${thumb.value.w}px` }),
|
|
2844
|
+
"aria-hidden": "true"
|
|
2845
|
+
}, null, 4)) : createCommentVNode("", true),
|
|
2809
2846
|
(openBlock(true), createElementBlock(Fragment, null, renderList(normalized.value, (opt) => {
|
|
2810
2847
|
return openBlock(), createElementBlock("button", {
|
|
2811
2848
|
key: String(opt.value),
|
|
@@ -2830,7 +2867,97 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
2830
2867
|
};
|
|
2831
2868
|
}
|
|
2832
2869
|
});
|
|
2833
|
-
const LfSegmented = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2870
|
+
const LfSegmented = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-474f0f2f"]]);
|
|
2871
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
2872
|
+
__name: "LfTransitionList",
|
|
2873
|
+
props: {
|
|
2874
|
+
tag: { default: "div" },
|
|
2875
|
+
max: { default: 8 }
|
|
2876
|
+
},
|
|
2877
|
+
setup(__props) {
|
|
2878
|
+
const props = __props;
|
|
2879
|
+
let batch = [];
|
|
2880
|
+
let scheduled = false;
|
|
2881
|
+
const reduced = () => {
|
|
2882
|
+
var _a;
|
|
2883
|
+
return typeof window !== "undefined" && ((_a = window.matchMedia) == null ? void 0 : _a.call(window, "(prefers-reduced-motion: reduce)").matches);
|
|
2884
|
+
};
|
|
2885
|
+
const tok = (name, fb) => {
|
|
2886
|
+
const v = getComputedStyle(document.documentElement).getPropertyValue(name).trim();
|
|
2887
|
+
const n = parseFloat(v);
|
|
2888
|
+
return Number.isFinite(n) ? v.endsWith("s") && !v.endsWith("ms") ? n * 1e3 : n : fb;
|
|
2889
|
+
};
|
|
2890
|
+
const ease = (name, fb) => getComputedStyle(document.documentElement).getPropertyValue(name).trim() || fb;
|
|
2891
|
+
function box(el) {
|
|
2892
|
+
const cs = getComputedStyle(el);
|
|
2893
|
+
const inner = cs.boxSizing === "border-box" ? el.offsetHeight : el.offsetHeight - parseFloat(cs.paddingTop) - parseFloat(cs.paddingBottom) - parseFloat(cs.borderTopWidth) - parseFloat(cs.borderBottomWidth);
|
|
2894
|
+
return { height: `${inner}px`, paddingTop: cs.paddingTop, paddingBottom: cs.paddingBottom, marginTop: cs.marginTop, marginBottom: cs.marginBottom };
|
|
2895
|
+
}
|
|
2896
|
+
const FLAT = { height: "0px", paddingTop: "0px", paddingBottom: "0px", marginTop: "0px", marginBottom: "0px" };
|
|
2897
|
+
const HIDE = [["opacity", "0"], ["height", "0px"], ["padding-top", "0px"], ["padding-bottom", "0px"], ["margin-top", "0px"], ["margin-bottom", "0px"], ["overflow", "hidden"]];
|
|
2898
|
+
const hide = (el) => {
|
|
2899
|
+
for (const [k, v] of HIDE) el.style.setProperty(k, v);
|
|
2900
|
+
};
|
|
2901
|
+
const unhide = (el) => {
|
|
2902
|
+
for (const [k] of HIDE) el.style.removeProperty(k);
|
|
2903
|
+
};
|
|
2904
|
+
function run(job, quick) {
|
|
2905
|
+
const { el, done, kind } = job;
|
|
2906
|
+
if (kind === "in") unhide(el);
|
|
2907
|
+
if (quick || !el.animate) {
|
|
2908
|
+
done();
|
|
2909
|
+
return;
|
|
2910
|
+
}
|
|
2911
|
+
const full = box(el);
|
|
2912
|
+
const overflow = el.style.overflow;
|
|
2913
|
+
el.style.overflow = "hidden";
|
|
2914
|
+
const frames = kind === "in" ? [{ ...FLAT, opacity: 0, transform: "translateY(-4px)" }, { ...full, opacity: 1, transform: "none" }] : [{ ...full, opacity: 1, transform: "none" }, { ...FLAT, opacity: 0, transform: "translateX(8px)" }];
|
|
2915
|
+
const a = el.animate(frames, kind === "in" ? { duration: tok("--lf-dur", 220), easing: ease("--lf-ease", "cubic-bezier(0.2, 0, 0, 1)") } : { duration: tok("--lf-dur", 220), easing: ease("--lf-ease-exit", "cubic-bezier(0.4, 0, 1, 1)") });
|
|
2916
|
+
const end = () => {
|
|
2917
|
+
el.style.overflow = overflow;
|
|
2918
|
+
done();
|
|
2919
|
+
};
|
|
2920
|
+
a.onfinish = end;
|
|
2921
|
+
a.oncancel = end;
|
|
2922
|
+
}
|
|
2923
|
+
function queue(job) {
|
|
2924
|
+
if (typeof document !== "undefined" && document.hidden) {
|
|
2925
|
+
run(job, true);
|
|
2926
|
+
return;
|
|
2927
|
+
}
|
|
2928
|
+
batch.push(job);
|
|
2929
|
+
if (scheduled) return;
|
|
2930
|
+
scheduled = true;
|
|
2931
|
+
requestAnimationFrame(() => {
|
|
2932
|
+
const jobs = batch;
|
|
2933
|
+
batch = [];
|
|
2934
|
+
scheduled = false;
|
|
2935
|
+
const quick = reduced() || jobs.length > props.max;
|
|
2936
|
+
for (const j of jobs) run(j, quick);
|
|
2937
|
+
});
|
|
2938
|
+
}
|
|
2939
|
+
function onEnter(el, done) {
|
|
2940
|
+
if (!reduced()) hide(el);
|
|
2941
|
+
queue({ el, done, kind: "in" });
|
|
2942
|
+
}
|
|
2943
|
+
function onLeave(el, done) {
|
|
2944
|
+
queue({ el, done, kind: "out" });
|
|
2945
|
+
}
|
|
2946
|
+
return (_ctx, _cache) => {
|
|
2947
|
+
return openBlock(), createBlock(TransitionGroup, {
|
|
2948
|
+
tag: __props.tag,
|
|
2949
|
+
css: false,
|
|
2950
|
+
onEnter,
|
|
2951
|
+
onLeave
|
|
2952
|
+
}, {
|
|
2953
|
+
default: withCtx(() => [
|
|
2954
|
+
renderSlot(_ctx.$slots, "default")
|
|
2955
|
+
]),
|
|
2956
|
+
_: 3
|
|
2957
|
+
}, 8, ["tag"]);
|
|
2958
|
+
};
|
|
2959
|
+
}
|
|
2960
|
+
});
|
|
2834
2961
|
const _hoisted_1$2 = { class: "lf-control-wrap" };
|
|
2835
2962
|
const _hoisted_2$2 = {
|
|
2836
2963
|
key: 0,
|
|
@@ -3194,7 +3321,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
3194
3321
|
};
|
|
3195
3322
|
}
|
|
3196
3323
|
});
|
|
3197
|
-
const LfListSelect = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-
|
|
3324
|
+
const LfListSelect = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-532597e1"]]);
|
|
3198
3325
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
3199
3326
|
__name: "LfList",
|
|
3200
3327
|
props: {
|
|
@@ -3462,6 +3589,7 @@ export {
|
|
|
3462
3589
|
LfTextField,
|
|
3463
3590
|
LfTextarea,
|
|
3464
3591
|
LfTooltip,
|
|
3592
|
+
_sfc_main$4 as LfTransitionList,
|
|
3465
3593
|
c as applySemanticPalette,
|
|
3466
3594
|
applyTheme,
|
|
3467
3595
|
d as colorToRgb,
|