@loafacto/ui 0.23.1 → 0.24.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/LfSegmented-D2zAGi24.js +182 -0
- package/dist/LfSegmented-D2zAGi24.js.map +1 -0
- package/dist/{LfSegmented-CvGl-0vv.js → LfSelect-BrK4QbUk.js} +137 -116
- package/dist/LfSelect-BrK4QbUk.js.map +1 -0
- package/dist/LfSwitch-BD05yyB3.js +119 -0
- package/dist/LfSwitch-BD05yyB3.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +166 -472
- package/dist/index.js.map +1 -1
- package/dist/loafacto-ui.css +971 -414
- package/dist/map-editor/LfMapEditor.vue.d.ts +126 -0
- package/dist/map-editor/MapEditorCanvas.vue.d.ts +19 -0
- package/dist/map-editor/doc.d.ts +134 -0
- package/dist/map-editor/editor.d.ts +149 -0
- package/dist/map-editor.d.ts +19 -0
- package/dist/map-editor.js +2096 -0
- package/dist/map-editor.js.map +1 -0
- package/dist/map3d/LfModelEditor.vue.d.ts +19 -0
- package/dist/map3d/LfModelViewer.vue.d.ts +28 -0
- package/dist/map3d/MapScene.d.ts +9 -0
- package/dist/map3d/ModelScene.d.ts +43 -0
- package/dist/map3d/model.d.ts +54 -0
- package/dist/map3d/types.d.ts +81 -1
- package/dist/map3d.d.ts +5 -1
- package/dist/map3d.js +1208 -31
- package/dist/map3d.js.map +1 -1
- package/package.json +5 -1
- package/dist/LfSegmented-CvGl-0vv.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createBlock, createElementVNode, createCommentVNode, readonly, ref, computed, withCtx, nextTick, createStaticVNode, watch, onBeforeUnmount, normalizeStyle, Fragment, toDisplayString, createVNode, Transition, renderList, onUnmounted, Teleport, TransitionGroup, unref, withModifiers, useTemplateRef, onMounted, createTextVNode, withDirectives, withKeys, vModelText,
|
|
2
|
-
import { L as LfIcon, _ as _export_sfc,
|
|
3
|
-
import { e, f } from "./
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createBlock, createElementVNode, createCommentVNode, readonly, ref, computed, withCtx, nextTick, createStaticVNode, watch, onBeforeUnmount, normalizeStyle, Fragment, toDisplayString, createVNode, Transition, renderList, onUnmounted, Teleport, TransitionGroup, unref, withModifiers, useTemplateRef, onMounted, createTextVNode, withDirectives, withKeys, vModelText, useModel, useId, mergeProps, mergeModels, vModelCheckbox, vModelRadio, resolveDynamicComponent, useSlots, vShow } from "vue";
|
|
2
|
+
import { L as LfIcon, _ as _export_sfc, u as useSplitAttrs, a as LfField, b as LfIconButton, c as LF_ICONS, d as LfSpinner } from "./LfSelect-BrK4QbUk.js";
|
|
3
|
+
import { e, f } from "./LfSelect-BrK4QbUk.js";
|
|
4
4
|
import { a as applyTheme, D as DARK_THEME, L as LIGHT_THEME } from "./applyTheme-8AxcQbPB.js";
|
|
5
5
|
import { b, c, d, e as e2, f as f2, h, i, l } from "./applyTheme-8AxcQbPB.js";
|
|
6
6
|
import { defineStore } from "pinia";
|
|
7
|
+
import { L as LfButton } from "./LfSwitch-BD05yyB3.js";
|
|
8
|
+
import { a } from "./LfSwitch-BD05yyB3.js";
|
|
9
|
+
import { L, a as a2 } from "./LfSegmented-D2zAGi24.js";
|
|
7
10
|
const LOAFACTO_SERVICES = [
|
|
8
11
|
{
|
|
9
12
|
/**
|
|
@@ -34,30 +37,28 @@ const LOAFACTO_SERVICES = [
|
|
|
34
37
|
{
|
|
35
38
|
/**
|
|
36
39
|
* 에이전트 — 다른 서비스와 성격이 다르다. macro 는 loafacto.com 안에서 돌지만,
|
|
37
|
-
*
|
|
38
|
-
*
|
|
40
|
+
* 에이전트는 **고객의 서버(도커 이미지)와 PC(데스크톱 앱)에서** 돈다. 이 경로는
|
|
41
|
+
* 그것을 소개하고 내려받게 하는 페이지다.
|
|
39
42
|
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
+
* **2026-11-21 부터 /agent 는 플랫폼이 그린다**(apps/web 의 AgentPage.vue). 그 전에는
|
|
44
|
+
* loafacto-agent 가 기능 묶음 빌더(카탈로그 · zip 만들기 · 내 에이전트)를 이 자리에
|
|
45
|
+
* 올렸는데, 빌더를 걷기로 하면서 소개 · 내려받기만 남았고 그건 플랫폼의 일이다.
|
|
46
|
+
* 파일과 「최신 판」 표(/agent/downloads/*)는 여전히 loafacto-agent 가 올린다.
|
|
43
47
|
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
48
|
+
* 그래도 **이 목록에서 빼지 않는다.** macro 나 에이전트 콘솔의 상단바에서 보면 여전히
|
|
49
|
+
* 「다른 곳으로 가는」 항목이고, 거기서는 전체 페이지 이동이 맞다. 플랫폼 안에서만
|
|
50
|
+
* 라우터로 가는데, 그 구분은 플랫폼이 한다(apps/web 의 `leavesPlatform`).
|
|
47
51
|
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
* 만난다 — 그러면 로그인할 이유가 없다. 대신 /agent 가 자기 소개 화면을 보여주고
|
|
51
|
-
* 거기서 로그인으로 보낸다(loafacto-agent 의 LoginGate). 카탈로그·내 에이전트는
|
|
52
|
-
* 그 화면이 가리므로 여기서 막지 않아도 새는 것이 없다.
|
|
52
|
+
* 설명 문구도 그때 바꿨다. 「필요한 도구·스킬만 골라 에이전트를 만들고」는 빌더의
|
|
53
|
+
* 말이라, 빌더가 없어진 뒤에 남겨 두면 없는 기능을 약속하게 된다.
|
|
53
54
|
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
55
|
+
* **requiresAuth 를 걸지 않는다.** 소개 · 내려받기는 로그인 없이 공개다 — 받는 것이
|
|
56
|
+
* 모두 정적 파일이고, 받아 간 뒤의 일은 고객 서버에서 일어난다.
|
|
56
57
|
*/
|
|
57
58
|
id: "agent",
|
|
58
59
|
name: "에이전트",
|
|
59
60
|
path: "/agent",
|
|
60
|
-
description: "
|
|
61
|
+
description: "회사 서버에 도커로 올려 쓰는 업무 에이전트입니다. PC 앱으로 붙으면 내 PC 의 파일도 다룹니다.",
|
|
61
62
|
iconPath: "M12 2a2 2 0 0 1 2 2v1h3a3 3 0 0 1 3 3v9a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3V8a3 3 0 0 1 3-3h3V4a2 2 0 0 1 2-2zm-3 9a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zm6 0a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3z"
|
|
62
63
|
}
|
|
63
64
|
];
|
|
@@ -71,14 +72,14 @@ function serviceIdForPath(pathname, services = LOAFACTO_SERVICES) {
|
|
|
71
72
|
function isServicePath(pathname, services = LOAFACTO_SERVICES) {
|
|
72
73
|
return services.some((s) => isUnder(pathname, s.path));
|
|
73
74
|
}
|
|
74
|
-
const _hoisted_1$
|
|
75
|
-
const _hoisted_2$
|
|
75
|
+
const _hoisted_1$L = ["title", "aria-label", "aria-expanded"];
|
|
76
|
+
const _hoisted_2$F = {
|
|
76
77
|
key: 1,
|
|
77
78
|
viewBox: "0 0 24 24",
|
|
78
79
|
"aria-hidden": "true"
|
|
79
80
|
};
|
|
80
|
-
const _hoisted_3$
|
|
81
|
-
const _sfc_main$
|
|
81
|
+
const _hoisted_3$y = ["d"];
|
|
82
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
82
83
|
__name: "LfShellButton",
|
|
83
84
|
props: {
|
|
84
85
|
label: {},
|
|
@@ -103,11 +104,11 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
103
104
|
key: 0,
|
|
104
105
|
name: __props.icon,
|
|
105
106
|
size: "1.125rem"
|
|
106
|
-
}, null, 8, ["name"])) : __props.iconPath ? (openBlock(), createElementBlock("svg", _hoisted_2$
|
|
107
|
+
}, null, 8, ["name"])) : __props.iconPath ? (openBlock(), createElementBlock("svg", _hoisted_2$F, [
|
|
107
108
|
createElementVNode("path", {
|
|
108
109
|
d: __props.iconPath,
|
|
109
110
|
fill: "currentColor"
|
|
110
|
-
}, null, 8, _hoisted_3$
|
|
111
|
+
}, null, 8, _hoisted_3$y)
|
|
111
112
|
])) : createCommentVNode("", true)
|
|
112
113
|
], true),
|
|
113
114
|
__props.dot ? (openBlock(), createElementBlock("span", {
|
|
@@ -115,11 +116,11 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
115
116
|
class: "lf-shell-btn__dot",
|
|
116
117
|
"aria-hidden": "true"
|
|
117
118
|
})) : createCommentVNode("", true)
|
|
118
|
-
], 10, _hoisted_1$
|
|
119
|
+
], 10, _hoisted_1$L);
|
|
119
120
|
};
|
|
120
121
|
}
|
|
121
122
|
});
|
|
122
|
-
const LfShellButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
123
|
+
const LfShellButton = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-de6738d7"]]);
|
|
123
124
|
const STORAGE_KEY = "lf-theme";
|
|
124
125
|
const OS_QUERY = "(prefers-color-scheme: light)";
|
|
125
126
|
function readStored() {
|
|
@@ -200,10 +201,10 @@ function useTheme() {
|
|
|
200
201
|
}
|
|
201
202
|
};
|
|
202
203
|
}
|
|
203
|
-
const _hoisted_1$
|
|
204
|
+
const _hoisted_1$K = ["d"];
|
|
204
205
|
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";
|
|
205
206
|
const ICON_MOON = "M12.3 3a7 7 0 1 0 8.7 8.7A9 9 0 1 1 12.3 3z";
|
|
206
|
-
const _sfc_main$
|
|
207
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
207
208
|
__name: "LfThemeToggle",
|
|
208
209
|
props: {
|
|
209
210
|
mode: { default: void 0 },
|
|
@@ -258,7 +259,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
258
259
|
createElementVNode("path", {
|
|
259
260
|
d: current.value === "dark" ? ICON_MOON : ICON_SUN,
|
|
260
261
|
fill: "currentColor"
|
|
261
|
-
}, null, 8, _hoisted_1$
|
|
262
|
+
}, null, 8, _hoisted_1$K)
|
|
262
263
|
], 2))
|
|
263
264
|
]),
|
|
264
265
|
_: 1
|
|
@@ -266,27 +267,27 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
266
267
|
};
|
|
267
268
|
}
|
|
268
269
|
});
|
|
269
|
-
const LfThemeToggle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
270
|
-
const _sfc_main$
|
|
271
|
-
const _hoisted_1$
|
|
270
|
+
const LfThemeToggle = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-ea1dae0b"]]);
|
|
271
|
+
const _sfc_main$L = {};
|
|
272
|
+
const _hoisted_1$J = {
|
|
272
273
|
xmlns: "http://www.w3.org/2000/svg",
|
|
273
274
|
viewBox: "-24.0 -113.9 585.9 157.9",
|
|
274
275
|
"aria-hidden": "true"
|
|
275
276
|
};
|
|
276
277
|
function _sfc_render$1(_ctx, _cache) {
|
|
277
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
278
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$J, [..._cache[0] || (_cache[0] = [
|
|
278
279
|
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)
|
|
279
280
|
])]);
|
|
280
281
|
}
|
|
281
|
-
const BrandLockup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
282
|
-
const _sfc_main$
|
|
283
|
-
const _hoisted_1$
|
|
282
|
+
const BrandLockup = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$1]]);
|
|
283
|
+
const _sfc_main$K = {};
|
|
284
|
+
const _hoisted_1$I = {
|
|
284
285
|
xmlns: "http://www.w3.org/2000/svg",
|
|
285
286
|
viewBox: "30 -4 142 168",
|
|
286
287
|
"aria-hidden": "true"
|
|
287
288
|
};
|
|
288
289
|
function _sfc_render(_ctx, _cache) {
|
|
289
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
290
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$I, [..._cache[0] || (_cache[0] = [
|
|
290
291
|
createElementVNode("circle", {
|
|
291
292
|
cx: "74",
|
|
292
293
|
cy: "27",
|
|
@@ -309,12 +310,12 @@ function _sfc_render(_ctx, _cache) {
|
|
|
309
310
|
}, null, -1)
|
|
310
311
|
])]);
|
|
311
312
|
}
|
|
312
|
-
const BrandSymbol = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
313
|
-
const _hoisted_1$
|
|
314
|
-
const _hoisted_2$
|
|
315
|
-
const _hoisted_3$
|
|
316
|
-
const _hoisted_4$
|
|
317
|
-
const _hoisted_5$
|
|
313
|
+
const BrandSymbol = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render]]);
|
|
314
|
+
const _hoisted_1$H = { class: "lf-topbar" };
|
|
315
|
+
const _hoisted_2$E = { class: "lf-topbar__inner" };
|
|
316
|
+
const _hoisted_3$x = ["aria-label", "title", "aria-expanded"];
|
|
317
|
+
const _hoisted_4$s = ["href", "aria-label"];
|
|
318
|
+
const _hoisted_5$q = ["src"];
|
|
318
319
|
const _hoisted_6$k = { class: "lf-brand__name" };
|
|
319
320
|
const _hoisted_7$h = ["aria-expanded"];
|
|
320
321
|
const _hoisted_8$7 = {
|
|
@@ -368,7 +369,7 @@ const _hoisted_28 = {
|
|
|
368
369
|
const _hoisted_29 = { class: "site-footer" };
|
|
369
370
|
const _hoisted_30 = { class: "site-footer-inner" };
|
|
370
371
|
const RAIL_KEY = "lf-rail-hidden";
|
|
371
|
-
const _sfc_main$
|
|
372
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
372
373
|
__name: "AppShell",
|
|
373
374
|
props: {
|
|
374
375
|
services: { default: () => LOAFACTO_SERVICES },
|
|
@@ -501,8 +502,8 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
501
502
|
backgroundImage: __props.backgroundImage ? `url(${__props.backgroundImage})` : void 0
|
|
502
503
|
})
|
|
503
504
|
}, null, 4)) : createCommentVNode("", true),
|
|
504
|
-
createElementVNode("header", _hoisted_1$
|
|
505
|
-
createElementVNode("div", _hoisted_2$
|
|
505
|
+
createElementVNode("header", _hoisted_1$H, [
|
|
506
|
+
createElementVNode("div", _hoisted_2$E, [
|
|
506
507
|
_ctx.$slots.rail ? (openBlock(), createElementBlock("button", {
|
|
507
508
|
key: 0,
|
|
508
509
|
type: "button",
|
|
@@ -521,7 +522,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
521
522
|
fill: "currentColor"
|
|
522
523
|
})
|
|
523
524
|
], -1)
|
|
524
|
-
])], 8, _hoisted_3$
|
|
525
|
+
])], 8, _hoisted_3$x)) : createCommentVNode("", true),
|
|
525
526
|
createElementVNode("a", {
|
|
526
527
|
class: "lf-brand",
|
|
527
528
|
href: __props.brandHref,
|
|
@@ -533,13 +534,13 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
533
534
|
src: __props.logoUrl,
|
|
534
535
|
alt: "",
|
|
535
536
|
class: "lf-brand__logo"
|
|
536
|
-
}, null, 8, _hoisted_5$
|
|
537
|
+
}, null, 8, _hoisted_5$q),
|
|
537
538
|
createElementVNode("span", _hoisted_6$k, toDisplayString(__props.brandName), 1)
|
|
538
539
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
539
540
|
createVNode(BrandLockup, { class: "lf-brand__lockup" }),
|
|
540
541
|
createVNode(BrandSymbol, { class: "lf-brand__symbol" })
|
|
541
542
|
], 64))
|
|
542
|
-
], 8, _hoisted_4$
|
|
543
|
+
], 8, _hoisted_4$s),
|
|
543
544
|
__props.services.length ? (openBlock(), createElementBlock("div", {
|
|
544
545
|
key: 1,
|
|
545
546
|
ref_key: "switcherEl",
|
|
@@ -710,7 +711,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
710
711
|
};
|
|
711
712
|
}
|
|
712
713
|
});
|
|
713
|
-
const AppShell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
714
|
+
const AppShell = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-a695debc"]]);
|
|
714
715
|
function generateId() {
|
|
715
716
|
return `toast-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`;
|
|
716
717
|
}
|
|
@@ -744,26 +745,26 @@ const useToastStore = defineStore("toast", () => {
|
|
|
744
745
|
}
|
|
745
746
|
return { items, add, remove, success, error, info, warning };
|
|
746
747
|
});
|
|
747
|
-
const _hoisted_1$
|
|
748
|
+
const _hoisted_1$G = {
|
|
748
749
|
class: "toast-container",
|
|
749
750
|
role: "region",
|
|
750
751
|
"aria-label": "알림"
|
|
751
752
|
};
|
|
752
|
-
const _hoisted_2$
|
|
753
|
-
const _hoisted_3$
|
|
753
|
+
const _hoisted_2$D = ["onClick"];
|
|
754
|
+
const _hoisted_3$w = {
|
|
754
755
|
class: "toast-icon",
|
|
755
756
|
viewBox: "0 0 24 24",
|
|
756
757
|
"aria-hidden": "true"
|
|
757
758
|
};
|
|
758
|
-
const _hoisted_4$
|
|
759
|
-
const _hoisted_5$
|
|
759
|
+
const _hoisted_4$r = ["d"];
|
|
760
|
+
const _hoisted_5$p = { class: "toast-message" };
|
|
760
761
|
const _hoisted_6$j = ["onClick"];
|
|
761
762
|
const _hoisted_7$g = {
|
|
762
763
|
viewBox: "0 0 24 24",
|
|
763
764
|
"aria-hidden": "true"
|
|
764
765
|
};
|
|
765
766
|
const _hoisted_8$6 = ["d"];
|
|
766
|
-
const _sfc_main$
|
|
767
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
767
768
|
__name: "AppToast",
|
|
768
769
|
setup(__props) {
|
|
769
770
|
const toastStore = useToastStore();
|
|
@@ -795,7 +796,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
795
796
|
});
|
|
796
797
|
return (_ctx, _cache) => {
|
|
797
798
|
return openBlock(), createBlock(Teleport, { to: "body" }, [
|
|
798
|
-
createElementVNode("div", _hoisted_1$
|
|
799
|
+
createElementVNode("div", _hoisted_1$G, [
|
|
799
800
|
createVNode(TransitionGroup, { name: "toast" }, {
|
|
800
801
|
default: withCtx(() => [
|
|
801
802
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(toastStore).items, (item) => {
|
|
@@ -805,13 +806,13 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
805
806
|
role: "alert",
|
|
806
807
|
onClick: ($event) => unref(toastStore).remove(item.id)
|
|
807
808
|
}, [
|
|
808
|
-
(openBlock(), createElementBlock("svg", _hoisted_3$
|
|
809
|
+
(openBlock(), createElementBlock("svg", _hoisted_3$w, [
|
|
809
810
|
createElementVNode("path", {
|
|
810
811
|
d: ICON_PATHS[item.type],
|
|
811
812
|
fill: "currentColor"
|
|
812
|
-
}, null, 8, _hoisted_4$
|
|
813
|
+
}, null, 8, _hoisted_4$r)
|
|
813
814
|
])),
|
|
814
|
-
createElementVNode("span", _hoisted_5$
|
|
815
|
+
createElementVNode("span", _hoisted_5$p, toDisplayString(item.message), 1),
|
|
815
816
|
createElementVNode("button", {
|
|
816
817
|
type: "button",
|
|
817
818
|
class: "toast-close",
|
|
@@ -825,7 +826,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
825
826
|
}, null, 8, _hoisted_8$6)
|
|
826
827
|
]))
|
|
827
828
|
], 8, _hoisted_6$j)
|
|
828
|
-
], 10, _hoisted_2$
|
|
829
|
+
], 10, _hoisted_2$D);
|
|
829
830
|
}), 128))
|
|
830
831
|
]),
|
|
831
832
|
_: 1
|
|
@@ -835,7 +836,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
835
836
|
};
|
|
836
837
|
}
|
|
837
838
|
});
|
|
838
|
-
const AppToast = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
839
|
+
const AppToast = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-58e54e0c"]]);
|
|
839
840
|
const useLoadingStore = defineStore("loading", () => {
|
|
840
841
|
const count = ref(0);
|
|
841
842
|
const loading = computed(() => count.value > 0);
|
|
@@ -855,14 +856,14 @@ const useLoadingStore = defineStore("loading", () => {
|
|
|
855
856
|
}
|
|
856
857
|
return { loading, count, start, stop, withLoading };
|
|
857
858
|
});
|
|
858
|
-
const _hoisted_1$
|
|
859
|
+
const _hoisted_1$F = {
|
|
859
860
|
key: 0,
|
|
860
861
|
class: "loading-overlay",
|
|
861
862
|
role: "status",
|
|
862
863
|
"aria-live": "polite",
|
|
863
864
|
"aria-label": "로딩 중"
|
|
864
865
|
};
|
|
865
|
-
const _sfc_main$
|
|
866
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
866
867
|
__name: "AppLoadingOverlay",
|
|
867
868
|
setup(__props) {
|
|
868
869
|
const loadingStore = useLoadingStore();
|
|
@@ -870,7 +871,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
870
871
|
return openBlock(), createBlock(Teleport, { to: "body" }, [
|
|
871
872
|
createVNode(Transition, { name: "fade" }, {
|
|
872
873
|
default: withCtx(() => [
|
|
873
|
-
unref(loadingStore).loading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
874
|
+
unref(loadingStore).loading ? (openBlock(), createElementBlock("div", _hoisted_1$F, [..._cache[0] || (_cache[0] = [
|
|
874
875
|
createElementVNode("div", {
|
|
875
876
|
class: "loading-spinner",
|
|
876
877
|
"aria-hidden": "true"
|
|
@@ -883,7 +884,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
883
884
|
};
|
|
884
885
|
}
|
|
885
886
|
});
|
|
886
|
-
const AppLoadingOverlay = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
887
|
+
const AppLoadingOverlay = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-cce3ea3e"]]);
|
|
887
888
|
const useConfirmStore = defineStore("confirm", () => {
|
|
888
889
|
const open = ref(false);
|
|
889
890
|
const title = ref("확인");
|
|
@@ -931,18 +932,18 @@ const useConfirmStore = defineStore("confirm", () => {
|
|
|
931
932
|
resolve
|
|
932
933
|
};
|
|
933
934
|
});
|
|
934
|
-
const _hoisted_1$
|
|
935
|
+
const _hoisted_1$E = {
|
|
935
936
|
key: 0,
|
|
936
937
|
class: "app-confirm-backdrop"
|
|
937
938
|
};
|
|
938
|
-
const _hoisted_2$
|
|
939
|
+
const _hoisted_2$C = {
|
|
939
940
|
class: "app-confirm",
|
|
940
941
|
role: "dialog",
|
|
941
942
|
"aria-modal": "true"
|
|
942
943
|
};
|
|
943
|
-
const _hoisted_3$
|
|
944
|
-
const _hoisted_4$
|
|
945
|
-
const _hoisted_5$
|
|
944
|
+
const _hoisted_3$v = { class: "app-confirm__header" };
|
|
945
|
+
const _hoisted_4$q = { class: "app-confirm__title" };
|
|
946
|
+
const _hoisted_5$o = { class: "app-confirm__body" };
|
|
946
947
|
const _hoisted_6$i = { class: "app-confirm__message" };
|
|
947
948
|
const _hoisted_7$f = {
|
|
948
949
|
key: 0,
|
|
@@ -951,7 +952,7 @@ const _hoisted_7$f = {
|
|
|
951
952
|
const _hoisted_8$5 = { class: "app-confirm__require-label" };
|
|
952
953
|
const _hoisted_9$3 = { class: "app-confirm__actions" };
|
|
953
954
|
const _hoisted_10$2 = ["disabled"];
|
|
954
|
-
const _sfc_main$
|
|
955
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
955
956
|
__name: "AppConfirmModal",
|
|
956
957
|
setup(__props) {
|
|
957
958
|
const store = useConfirmStore();
|
|
@@ -976,12 +977,12 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
976
977
|
return openBlock(), createBlock(Teleport, { to: "body" }, [
|
|
977
978
|
createVNode(Transition, { name: "app-confirm-fade" }, {
|
|
978
979
|
default: withCtx(() => [
|
|
979
|
-
unref(store).open ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
980
|
-
createElementVNode("div", _hoisted_2$
|
|
981
|
-
createElementVNode("div", _hoisted_3$
|
|
982
|
-
createElementVNode("h3", _hoisted_4$
|
|
980
|
+
unref(store).open ? (openBlock(), createElementBlock("div", _hoisted_1$E, [
|
|
981
|
+
createElementVNode("div", _hoisted_2$C, [
|
|
982
|
+
createElementVNode("div", _hoisted_3$v, [
|
|
983
|
+
createElementVNode("h3", _hoisted_4$q, toDisplayString(unref(store).title), 1)
|
|
983
984
|
]),
|
|
984
|
-
createElementVNode("div", _hoisted_5$
|
|
985
|
+
createElementVNode("div", _hoisted_5$o, [
|
|
985
986
|
createElementVNode("p", _hoisted_6$i, toDisplayString(unref(store).message), 1),
|
|
986
987
|
unref(store).requireText ? (openBlock(), createElementBlock("label", _hoisted_7$f, [
|
|
987
988
|
createElementVNode("span", _hoisted_8$5, [
|
|
@@ -1024,188 +1025,13 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
1024
1025
|
};
|
|
1025
1026
|
}
|
|
1026
1027
|
});
|
|
1027
|
-
const AppConfirmModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1028
|
-
const _hoisted_1$
|
|
1029
|
-
|
|
1030
|
-
class: "lf-btn__label"
|
|
1031
|
-
};
|
|
1032
|
-
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
1033
|
-
__name: "LfButton",
|
|
1034
|
-
props: {
|
|
1035
|
-
variant: { default: "ghost" },
|
|
1036
|
-
size: { default: "md" },
|
|
1037
|
-
block: { type: Boolean },
|
|
1038
|
-
loading: { type: Boolean },
|
|
1039
|
-
disabled: { type: Boolean },
|
|
1040
|
-
type: { default: "button" },
|
|
1041
|
-
href: {},
|
|
1042
|
-
external: { type: Boolean },
|
|
1043
|
-
icon: {},
|
|
1044
|
-
iconPath: {},
|
|
1045
|
-
iconRight: {}
|
|
1046
|
-
},
|
|
1047
|
-
setup(__props) {
|
|
1048
|
-
return (_ctx, _cache) => {
|
|
1049
|
-
return openBlock(), createBlock(resolveDynamicComponent(__props.href ? "a" : "button"), {
|
|
1050
|
-
class: normalizeClass(["lf-btn", [`lf-btn--${__props.variant}`, `lf-btn--${__props.size}`, { "lf-btn--block": __props.block, "lf-btn--loading": __props.loading }]]),
|
|
1051
|
-
type: __props.href ? void 0 : __props.type,
|
|
1052
|
-
href: __props.href,
|
|
1053
|
-
target: __props.href && __props.external ? "_blank" : void 0,
|
|
1054
|
-
rel: __props.href && __props.external ? "noopener noreferrer" : void 0,
|
|
1055
|
-
disabled: __props.href ? void 0 : __props.disabled || __props.loading,
|
|
1056
|
-
"aria-disabled": __props.href && (__props.disabled || __props.loading) ? "true" : void 0,
|
|
1057
|
-
"aria-busy": __props.loading ? "true" : void 0
|
|
1058
|
-
}, {
|
|
1059
|
-
default: withCtx(() => [
|
|
1060
|
-
__props.loading ? (openBlock(), createBlock(LfSpinner, {
|
|
1061
|
-
key: 0,
|
|
1062
|
-
class: "lf-btn__spinner",
|
|
1063
|
-
size: "1em"
|
|
1064
|
-
})) : __props.icon || __props.iconPath ? (openBlock(), createBlock(LfIcon, {
|
|
1065
|
-
key: 1,
|
|
1066
|
-
name: __props.icon,
|
|
1067
|
-
path: __props.iconPath
|
|
1068
|
-
}, null, 8, ["name", "path"])) : createCommentVNode("", true),
|
|
1069
|
-
_ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_1$H, [
|
|
1070
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
1071
|
-
])) : createCommentVNode("", true),
|
|
1072
|
-
__props.iconRight ? (openBlock(), createBlock(LfIcon, {
|
|
1073
|
-
key: 3,
|
|
1074
|
-
name: __props.iconRight
|
|
1075
|
-
}, null, 8, ["name"])) : createCommentVNode("", true)
|
|
1076
|
-
]),
|
|
1077
|
-
_: 3
|
|
1078
|
-
}, 8, ["class", "type", "href", "target", "rel", "disabled", "aria-disabled", "aria-busy"]);
|
|
1079
|
-
};
|
|
1080
|
-
}
|
|
1081
|
-
});
|
|
1082
|
-
const LfButton = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-7ee886ae"]]);
|
|
1083
|
-
const _hoisted_1$G = { class: "lf-control-wrap" };
|
|
1084
|
-
const _hoisted_2$E = {
|
|
1085
|
-
key: 0,
|
|
1086
|
-
class: "lf-control-wrap__icon lf-control-wrap__icon--left"
|
|
1087
|
-
};
|
|
1088
|
-
const _hoisted_3$x = ["id", "type", "placeholder", "disabled", "readonly", "required", "aria-invalid"];
|
|
1089
|
-
const _hoisted_4$s = {
|
|
1090
|
-
key: 1,
|
|
1091
|
-
class: "lf-control-wrap__suffix"
|
|
1092
|
-
};
|
|
1093
|
-
const _hoisted_5$p = ["aria-label"];
|
|
1094
|
-
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
1095
|
-
...{ inheritAttrs: false },
|
|
1096
|
-
__name: "LfTextField",
|
|
1097
|
-
props: /* @__PURE__ */ mergeModels({
|
|
1098
|
-
label: {},
|
|
1099
|
-
hint: {},
|
|
1100
|
-
error: {},
|
|
1101
|
-
required: { type: Boolean },
|
|
1102
|
-
placeholder: {},
|
|
1103
|
-
disabled: { type: Boolean },
|
|
1104
|
-
readonly: { type: Boolean },
|
|
1105
|
-
type: { default: "text" },
|
|
1106
|
-
size: { default: "md" },
|
|
1107
|
-
icon: {},
|
|
1108
|
-
iconPath: {},
|
|
1109
|
-
clearable: { type: Boolean },
|
|
1110
|
-
revealable: { type: Boolean },
|
|
1111
|
-
suffix: {}
|
|
1112
|
-
}, {
|
|
1113
|
-
"modelValue": {
|
|
1114
|
-
default: ""
|
|
1115
|
-
},
|
|
1116
|
-
"modelModifiers": {}
|
|
1117
|
-
}),
|
|
1118
|
-
emits: ["update:modelValue"],
|
|
1119
|
-
setup(__props) {
|
|
1120
|
-
const props = __props;
|
|
1121
|
-
const [model, modifiers] = useModel(__props, "modelValue", {
|
|
1122
|
-
set(value) {
|
|
1123
|
-
if (!modifiers.number || value === "" || typeof value === "number") return value;
|
|
1124
|
-
const n = parseFloat(String(value));
|
|
1125
|
-
return Number.isNaN(n) ? value : n;
|
|
1126
|
-
}
|
|
1127
|
-
});
|
|
1128
|
-
const { rootAttrs, controlAttrs } = useSplitAttrs();
|
|
1129
|
-
const inputId = useId();
|
|
1130
|
-
const revealed = ref(false);
|
|
1131
|
-
const hasTrailing = computed(
|
|
1132
|
-
() => props.revealable || props.clearable && !!model.value && !props.disabled && !props.readonly
|
|
1133
|
-
);
|
|
1134
|
-
function clear() {
|
|
1135
|
-
model.value = typeof model.value === "number" ? 0 : "";
|
|
1136
|
-
}
|
|
1137
|
-
return (_ctx, _cache) => {
|
|
1138
|
-
return openBlock(), createBlock(LfField, mergeProps(unref(rootAttrs), {
|
|
1139
|
-
label: __props.label,
|
|
1140
|
-
hint: __props.hint,
|
|
1141
|
-
error: __props.error,
|
|
1142
|
-
required: __props.required,
|
|
1143
|
-
"html-for": unref(inputId)
|
|
1144
|
-
}), {
|
|
1145
|
-
default: withCtx(() => [
|
|
1146
|
-
createElementVNode("div", _hoisted_1$G, [
|
|
1147
|
-
__props.icon || __props.iconPath ? (openBlock(), createElementBlock("span", _hoisted_2$E, [
|
|
1148
|
-
createVNode(LfIcon, {
|
|
1149
|
-
name: __props.icon,
|
|
1150
|
-
path: __props.iconPath,
|
|
1151
|
-
size: "1.125rem"
|
|
1152
|
-
}, null, 8, ["name", "path"])
|
|
1153
|
-
])) : createCommentVNode("", true),
|
|
1154
|
-
withDirectives(createElementVNode("input", mergeProps({ id: unref(inputId) }, unref(controlAttrs), {
|
|
1155
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(model) ? model.value = $event : null),
|
|
1156
|
-
class: ["lf-control", [
|
|
1157
|
-
{ "lf-control--sm": __props.size === "sm", "lf-control--error": !!__props.error },
|
|
1158
|
-
(__props.icon || __props.iconPath) && "lf-control--has-left",
|
|
1159
|
-
hasTrailing.value && "lf-control--has-right",
|
|
1160
|
-
__props.suffix && "lf-control--has-suffix"
|
|
1161
|
-
]],
|
|
1162
|
-
type: revealed.value ? "text" : __props.type,
|
|
1163
|
-
placeholder: __props.placeholder,
|
|
1164
|
-
disabled: __props.disabled,
|
|
1165
|
-
readonly: __props.readonly,
|
|
1166
|
-
required: __props.required,
|
|
1167
|
-
"aria-invalid": __props.error ? "true" : void 0
|
|
1168
|
-
}), null, 16, _hoisted_3$x), [
|
|
1169
|
-
[vModelDynamic, unref(model)]
|
|
1170
|
-
]),
|
|
1171
|
-
__props.suffix ? (openBlock(), createElementBlock("span", _hoisted_4$s, toDisplayString(__props.suffix), 1)) : createCommentVNode("", true),
|
|
1172
|
-
__props.revealable ? (openBlock(), createElementBlock("button", {
|
|
1173
|
-
key: 2,
|
|
1174
|
-
type: "button",
|
|
1175
|
-
class: "lf-control-action",
|
|
1176
|
-
"aria-label": revealed.value ? "비밀번호 가리기" : "비밀번호 보기",
|
|
1177
|
-
onClick: _cache[1] || (_cache[1] = ($event) => revealed.value = !revealed.value)
|
|
1178
|
-
}, [
|
|
1179
|
-
createVNode(LfIcon, {
|
|
1180
|
-
name: revealed.value ? "visibility_off" : "visibility",
|
|
1181
|
-
size: "1.125rem"
|
|
1182
|
-
}, null, 8, ["name"])
|
|
1183
|
-
], 8, _hoisted_5$p)) : __props.clearable && !!unref(model) && !__props.disabled && !__props.readonly ? (openBlock(), createElementBlock("button", {
|
|
1184
|
-
key: 3,
|
|
1185
|
-
type: "button",
|
|
1186
|
-
class: "lf-control-action",
|
|
1187
|
-
"aria-label": "지우기",
|
|
1188
|
-
onClick: clear
|
|
1189
|
-
}, [
|
|
1190
|
-
createVNode(LfIcon, {
|
|
1191
|
-
name: "close",
|
|
1192
|
-
size: "1.125rem"
|
|
1193
|
-
})
|
|
1194
|
-
])) : createCommentVNode("", true)
|
|
1195
|
-
])
|
|
1196
|
-
]),
|
|
1197
|
-
_: 1
|
|
1198
|
-
}, 16, ["label", "hint", "error", "required", "html-for"]);
|
|
1199
|
-
};
|
|
1200
|
-
}
|
|
1201
|
-
});
|
|
1202
|
-
const LfTextField = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-e113043f"]]);
|
|
1203
|
-
const _hoisted_1$F = ["id", "rows", "placeholder", "disabled", "readonly", "required", "maxlength", "aria-invalid"];
|
|
1204
|
-
const _hoisted_2$D = {
|
|
1028
|
+
const AppConfirmModal = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-561536f9"]]);
|
|
1029
|
+
const _hoisted_1$D = ["id", "rows", "placeholder", "disabled", "readonly", "required", "maxlength", "aria-invalid"];
|
|
1030
|
+
const _hoisted_2$B = {
|
|
1205
1031
|
key: 0,
|
|
1206
1032
|
class: "lf-textarea__counter"
|
|
1207
1033
|
};
|
|
1208
|
-
const _sfc_main$
|
|
1034
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
1209
1035
|
...{ inheritAttrs: false },
|
|
1210
1036
|
__name: "LfTextarea",
|
|
1211
1037
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -1269,32 +1095,32 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
1269
1095
|
maxlength: __props.maxlength,
|
|
1270
1096
|
"aria-invalid": __props.error ? "true" : void 0,
|
|
1271
1097
|
onInput: _cache[1] || (_cache[1] = ($event) => __props.autoGrow && grow())
|
|
1272
|
-
}), null, 16, _hoisted_1$
|
|
1098
|
+
}), null, 16, _hoisted_1$D), [
|
|
1273
1099
|
[vModelText, model.value]
|
|
1274
1100
|
]),
|
|
1275
|
-
__props.maxlength && __props.counter ? (openBlock(), createElementBlock("p", _hoisted_2$
|
|
1101
|
+
__props.maxlength && __props.counter ? (openBlock(), createElementBlock("p", _hoisted_2$B, toDisplayString(String(model.value ?? "").length) + " / " + toDisplayString(__props.maxlength), 1)) : createCommentVNode("", true)
|
|
1276
1102
|
]),
|
|
1277
1103
|
_: 1
|
|
1278
1104
|
}, 16, ["label", "hint", "error", "required", "html-for"]);
|
|
1279
1105
|
};
|
|
1280
1106
|
}
|
|
1281
1107
|
});
|
|
1282
|
-
const LfTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1283
|
-
const _hoisted_1$
|
|
1284
|
-
const _hoisted_2$
|
|
1108
|
+
const LfTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-81fbed25"]]);
|
|
1109
|
+
const _hoisted_1$C = ["disabled", "value"];
|
|
1110
|
+
const _hoisted_2$A = {
|
|
1285
1111
|
class: "lf-check__box",
|
|
1286
1112
|
"aria-hidden": "true"
|
|
1287
1113
|
};
|
|
1288
|
-
const _hoisted_3$
|
|
1114
|
+
const _hoisted_3$u = {
|
|
1289
1115
|
key: 0,
|
|
1290
1116
|
class: "lf-check__text"
|
|
1291
1117
|
};
|
|
1292
|
-
const _hoisted_4$
|
|
1293
|
-
const _hoisted_5$
|
|
1118
|
+
const _hoisted_4$p = { class: "lf-check__label" };
|
|
1119
|
+
const _hoisted_5$n = {
|
|
1294
1120
|
key: 0,
|
|
1295
1121
|
class: "lf-check__desc"
|
|
1296
1122
|
};
|
|
1297
|
-
const _sfc_main$
|
|
1123
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
1298
1124
|
...{ inheritAttrs: false },
|
|
1299
1125
|
__name: "LfCheckbox",
|
|
1300
1126
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -1319,97 +1145,40 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
1319
1145
|
type: "checkbox",
|
|
1320
1146
|
disabled: __props.disabled,
|
|
1321
1147
|
value: __props.value
|
|
1322
|
-
}), null, 16, _hoisted_1$
|
|
1148
|
+
}), null, 16, _hoisted_1$C), [
|
|
1323
1149
|
[vModelCheckbox, model.value]
|
|
1324
1150
|
]),
|
|
1325
|
-
createElementVNode("span", _hoisted_2$
|
|
1151
|
+
createElementVNode("span", _hoisted_2$A, [
|
|
1326
1152
|
createVNode(LfIcon, {
|
|
1327
1153
|
name: "check",
|
|
1328
1154
|
size: "0.875rem"
|
|
1329
1155
|
})
|
|
1330
1156
|
]),
|
|
1331
|
-
__props.label || __props.description || _ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
1332
|
-
createElementVNode("span", _hoisted_4$
|
|
1157
|
+
__props.label || __props.description || _ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_3$u, [
|
|
1158
|
+
createElementVNode("span", _hoisted_4$p, [
|
|
1333
1159
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
1334
1160
|
createTextVNode(toDisplayString(__props.label), 1)
|
|
1335
1161
|
], true)
|
|
1336
1162
|
]),
|
|
1337
|
-
__props.description ? (openBlock(), createElementBlock("span", _hoisted_5$
|
|
1163
|
+
__props.description ? (openBlock(), createElementBlock("span", _hoisted_5$n, toDisplayString(__props.description), 1)) : createCommentVNode("", true)
|
|
1338
1164
|
])) : createCommentVNode("", true)
|
|
1339
1165
|
], 2);
|
|
1340
1166
|
};
|
|
1341
1167
|
}
|
|
1342
1168
|
});
|
|
1343
|
-
const LfCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1344
|
-
const _hoisted_1$
|
|
1345
|
-
key: 0,
|
|
1346
|
-
class: "lf-switch__text"
|
|
1347
|
-
};
|
|
1348
|
-
const _hoisted_2$B = { class: "lf-switch__label" };
|
|
1349
|
-
const _hoisted_3$v = {
|
|
1350
|
-
key: 0,
|
|
1351
|
-
class: "lf-switch__desc"
|
|
1352
|
-
};
|
|
1353
|
-
const _hoisted_4$q = ["disabled"];
|
|
1354
|
-
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
1355
|
-
...{ inheritAttrs: false },
|
|
1356
|
-
__name: "LfSwitch",
|
|
1357
|
-
props: /* @__PURE__ */ mergeModels({
|
|
1358
|
-
label: {},
|
|
1359
|
-
description: {},
|
|
1360
|
-
disabled: { type: Boolean },
|
|
1361
|
-
row: { type: Boolean }
|
|
1362
|
-
}, {
|
|
1363
|
-
"modelValue": { type: Boolean, ...{ default: false } },
|
|
1364
|
-
"modelModifiers": {}
|
|
1365
|
-
}),
|
|
1366
|
-
emits: ["update:modelValue"],
|
|
1367
|
-
setup(__props) {
|
|
1368
|
-
const model = useModel(__props, "modelValue");
|
|
1369
|
-
return (_ctx, _cache) => {
|
|
1370
|
-
return openBlock(), createElementBlock("label", {
|
|
1371
|
-
class: normalizeClass(["lf-switch", { "lf-switch--row": __props.row, "lf-switch--disabled": __props.disabled }])
|
|
1372
|
-
}, [
|
|
1373
|
-
__props.label || __props.description || _ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_1$D, [
|
|
1374
|
-
createElementVNode("span", _hoisted_2$B, [
|
|
1375
|
-
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
1376
|
-
createTextVNode(toDisplayString(__props.label), 1)
|
|
1377
|
-
], true)
|
|
1378
|
-
]),
|
|
1379
|
-
__props.description ? (openBlock(), createElementBlock("span", _hoisted_3$v, toDisplayString(__props.description), 1)) : createCommentVNode("", true)
|
|
1380
|
-
])) : createCommentVNode("", true),
|
|
1381
|
-
withDirectives(createElementVNode("input", mergeProps(_ctx.$attrs, {
|
|
1382
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => model.value = $event),
|
|
1383
|
-
class: "lf-switch__input",
|
|
1384
|
-
type: "checkbox",
|
|
1385
|
-
role: "switch",
|
|
1386
|
-
disabled: __props.disabled
|
|
1387
|
-
}), null, 16, _hoisted_4$q), [
|
|
1388
|
-
[vModelCheckbox, model.value]
|
|
1389
|
-
]),
|
|
1390
|
-
_cache[1] || (_cache[1] = createElementVNode("span", {
|
|
1391
|
-
class: "lf-switch__track",
|
|
1392
|
-
"aria-hidden": "true"
|
|
1393
|
-
}, [
|
|
1394
|
-
createElementVNode("span", { class: "lf-switch__thumb" })
|
|
1395
|
-
], -1))
|
|
1396
|
-
], 2);
|
|
1397
|
-
};
|
|
1398
|
-
}
|
|
1399
|
-
});
|
|
1400
|
-
const LfSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-9b5f4253"]]);
|
|
1401
|
-
const _hoisted_1$C = {
|
|
1169
|
+
const LfCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-a86332f0"]]);
|
|
1170
|
+
const _hoisted_1$B = {
|
|
1402
1171
|
key: 0,
|
|
1403
1172
|
class: "lf-radio-group__legend"
|
|
1404
1173
|
};
|
|
1405
|
-
const _hoisted_2$
|
|
1174
|
+
const _hoisted_2$z = {
|
|
1406
1175
|
key: 0,
|
|
1407
1176
|
class: "lf-radio-group__required",
|
|
1408
1177
|
"aria-hidden": "true"
|
|
1409
1178
|
};
|
|
1410
|
-
const _hoisted_3$
|
|
1411
|
-
const _hoisted_4$
|
|
1412
|
-
const _hoisted_5$
|
|
1179
|
+
const _hoisted_3$t = ["name", "value", "disabled"];
|
|
1180
|
+
const _hoisted_4$o = { class: "lf-radio__text" };
|
|
1181
|
+
const _hoisted_5$m = { class: "lf-radio__label" };
|
|
1413
1182
|
const _hoisted_6$h = {
|
|
1414
1183
|
key: 0,
|
|
1415
1184
|
class: "lf-radio__desc"
|
|
@@ -1423,7 +1192,7 @@ const _hoisted_8$4 = {
|
|
|
1423
1192
|
key: 2,
|
|
1424
1193
|
class: "lf-radio-group__hint"
|
|
1425
1194
|
};
|
|
1426
|
-
const _sfc_main$
|
|
1195
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
1427
1196
|
__name: "LfRadioGroup",
|
|
1428
1197
|
props: /* @__PURE__ */ mergeModels({
|
|
1429
1198
|
options: { default: () => [] },
|
|
@@ -1449,9 +1218,9 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
1449
1218
|
return openBlock(), createElementBlock("fieldset", {
|
|
1450
1219
|
class: normalizeClass(["lf-radio-group", { "lf-radio-group--inline": __props.inline }])
|
|
1451
1220
|
}, [
|
|
1452
|
-
__props.label ? (openBlock(), createElementBlock("legend", _hoisted_1$
|
|
1221
|
+
__props.label ? (openBlock(), createElementBlock("legend", _hoisted_1$B, [
|
|
1453
1222
|
createTextVNode(toDisplayString(__props.label) + " ", 1),
|
|
1454
|
-
__props.required ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
1223
|
+
__props.required ? (openBlock(), createElementBlock("span", _hoisted_2$z, "*")) : createCommentVNode("", true)
|
|
1455
1224
|
])) : createCommentVNode("", true),
|
|
1456
1225
|
(openBlock(true), createElementBlock(Fragment, null, renderList(normalized.value, (opt) => {
|
|
1457
1226
|
return openBlock(), createElementBlock("label", {
|
|
@@ -1465,15 +1234,15 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
1465
1234
|
name: unref(groupName),
|
|
1466
1235
|
value: opt.value,
|
|
1467
1236
|
disabled: __props.disabled || opt.disabled
|
|
1468
|
-
}, null, 8, _hoisted_3$
|
|
1237
|
+
}, null, 8, _hoisted_3$t), [
|
|
1469
1238
|
[vModelRadio, model.value]
|
|
1470
1239
|
]),
|
|
1471
1240
|
_cache[1] || (_cache[1] = createElementVNode("span", {
|
|
1472
1241
|
class: "lf-radio__dot",
|
|
1473
1242
|
"aria-hidden": "true"
|
|
1474
1243
|
}, null, -1)),
|
|
1475
|
-
createElementVNode("span", _hoisted_4$
|
|
1476
|
-
createElementVNode("span", _hoisted_5$
|
|
1244
|
+
createElementVNode("span", _hoisted_4$o, [
|
|
1245
|
+
createElementVNode("span", _hoisted_5$m, toDisplayString(opt.label), 1),
|
|
1477
1246
|
opt.description ? (openBlock(), createElementBlock("span", _hoisted_6$h, toDisplayString(opt.description), 1)) : createCommentVNode("", true)
|
|
1478
1247
|
])
|
|
1479
1248
|
], 2);
|
|
@@ -1483,15 +1252,15 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
1483
1252
|
};
|
|
1484
1253
|
}
|
|
1485
1254
|
});
|
|
1486
|
-
const LfRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1487
|
-
const _hoisted_1$
|
|
1488
|
-
const _hoisted_2$
|
|
1255
|
+
const LfRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-cffad147"]]);
|
|
1256
|
+
const _hoisted_1$A = ["aria-labelledby", "aria-label"];
|
|
1257
|
+
const _hoisted_2$y = {
|
|
1489
1258
|
key: 0,
|
|
1490
1259
|
class: "lf-modal__header"
|
|
1491
1260
|
};
|
|
1492
|
-
const _hoisted_3$
|
|
1493
|
-
const _hoisted_4$
|
|
1494
|
-
const _hoisted_5$
|
|
1261
|
+
const _hoisted_3$s = { class: "lf-modal__heading" };
|
|
1262
|
+
const _hoisted_4$n = ["id"];
|
|
1263
|
+
const _hoisted_5$l = {
|
|
1495
1264
|
key: 0,
|
|
1496
1265
|
class: "lf-modal__subtitle"
|
|
1497
1266
|
};
|
|
@@ -1500,7 +1269,7 @@ const _hoisted_7$d = {
|
|
|
1500
1269
|
key: 1,
|
|
1501
1270
|
class: "lf-modal__footer"
|
|
1502
1271
|
};
|
|
1503
|
-
const _sfc_main$
|
|
1272
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
1504
1273
|
__name: "LfModal",
|
|
1505
1274
|
props: /* @__PURE__ */ mergeModels({
|
|
1506
1275
|
title: {},
|
|
@@ -1612,14 +1381,14 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
1612
1381
|
"aria-label": __props.title ? void 0 : __props.ariaLabel,
|
|
1613
1382
|
onKeydown
|
|
1614
1383
|
}, [
|
|
1615
|
-
__props.title || _ctx.$slots.header || __props.closable ? (openBlock(), createElementBlock("header", _hoisted_2$
|
|
1384
|
+
__props.title || _ctx.$slots.header || __props.closable ? (openBlock(), createElementBlock("header", _hoisted_2$y, [
|
|
1616
1385
|
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
1617
|
-
createElementVNode("div", _hoisted_3$
|
|
1386
|
+
createElementVNode("div", _hoisted_3$s, [
|
|
1618
1387
|
createElementVNode("h2", {
|
|
1619
1388
|
id: unref(titleId),
|
|
1620
1389
|
class: "lf-modal__title"
|
|
1621
|
-
}, toDisplayString(__props.title), 9, _hoisted_4$
|
|
1622
|
-
__props.subtitle ? (openBlock(), createElementBlock("p", _hoisted_5$
|
|
1390
|
+
}, toDisplayString(__props.title), 9, _hoisted_4$n),
|
|
1391
|
+
__props.subtitle ? (openBlock(), createElementBlock("p", _hoisted_5$l, toDisplayString(__props.subtitle), 1)) : createCommentVNode("", true)
|
|
1623
1392
|
])
|
|
1624
1393
|
], true),
|
|
1625
1394
|
__props.closable ? (openBlock(), createBlock(LfIconButton, {
|
|
@@ -1636,7 +1405,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
1636
1405
|
_ctx.$slots.footer ? (openBlock(), createElementBlock("footer", _hoisted_7$d, [
|
|
1637
1406
|
renderSlot(_ctx.$slots, "footer", {}, void 0, true)
|
|
1638
1407
|
])) : createCommentVNode("", true)
|
|
1639
|
-
], 42, _hoisted_1$
|
|
1408
|
+
], 42, _hoisted_1$A)
|
|
1640
1409
|
], 32)) : createCommentVNode("", true)
|
|
1641
1410
|
]),
|
|
1642
1411
|
_: 3
|
|
@@ -1645,21 +1414,21 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
1645
1414
|
};
|
|
1646
1415
|
}
|
|
1647
1416
|
});
|
|
1648
|
-
const LfModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1649
|
-
const _hoisted_1$
|
|
1417
|
+
const LfModal = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-da4a649b"]]);
|
|
1418
|
+
const _hoisted_1$z = {
|
|
1650
1419
|
key: 0,
|
|
1651
1420
|
class: "lf-card__head"
|
|
1652
1421
|
};
|
|
1653
|
-
const _hoisted_2$
|
|
1422
|
+
const _hoisted_2$x = {
|
|
1654
1423
|
key: 0,
|
|
1655
1424
|
class: "lf-card__icon"
|
|
1656
1425
|
};
|
|
1657
|
-
const _hoisted_3$
|
|
1658
|
-
const _hoisted_4$
|
|
1426
|
+
const _hoisted_3$r = { class: "lf-card__title" };
|
|
1427
|
+
const _hoisted_4$m = {
|
|
1659
1428
|
key: 1,
|
|
1660
1429
|
class: "lf-card__count"
|
|
1661
1430
|
};
|
|
1662
|
-
const _hoisted_5$
|
|
1431
|
+
const _hoisted_5$k = {
|
|
1663
1432
|
key: 0,
|
|
1664
1433
|
class: "lf-card__actions"
|
|
1665
1434
|
};
|
|
@@ -1668,7 +1437,7 @@ const _hoisted_7$c = {
|
|
|
1668
1437
|
key: 1,
|
|
1669
1438
|
class: "lf-card__foot"
|
|
1670
1439
|
};
|
|
1671
|
-
const _sfc_main$
|
|
1440
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
1672
1441
|
__name: "LfCard",
|
|
1673
1442
|
props: {
|
|
1674
1443
|
title: {},
|
|
@@ -1684,9 +1453,9 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
1684
1453
|
return openBlock(), createElementBlock("section", {
|
|
1685
1454
|
class: normalizeClass(["lf-card", [{ "lf-card--glass": __props.glass }, `lf-card--pad-${__props.flush ? "none" : __props.padding}`]])
|
|
1686
1455
|
}, [
|
|
1687
|
-
__props.title || _ctx.$slots.header || _ctx.$slots.actions ? (openBlock(), createElementBlock("header", _hoisted_1$
|
|
1456
|
+
__props.title || _ctx.$slots.header || _ctx.$slots.actions ? (openBlock(), createElementBlock("header", _hoisted_1$z, [
|
|
1688
1457
|
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
1689
|
-
__props.icon || __props.iconPath || _ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
1458
|
+
__props.icon || __props.iconPath || _ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_2$x, [
|
|
1690
1459
|
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
1691
1460
|
createVNode(LfIcon, {
|
|
1692
1461
|
name: __props.icon,
|
|
@@ -1695,11 +1464,11 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
1695
1464
|
}, null, 8, ["name", "path"])
|
|
1696
1465
|
], true)
|
|
1697
1466
|
])) : createCommentVNode("", true),
|
|
1698
|
-
createElementVNode("h3", _hoisted_3$
|
|
1699
|
-
__props.count !== void 0 ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
1467
|
+
createElementVNode("h3", _hoisted_3$r, toDisplayString(__props.title), 1),
|
|
1468
|
+
__props.count !== void 0 ? (openBlock(), createElementBlock("span", _hoisted_4$m, toDisplayString(__props.count), 1)) : createCommentVNode("", true)
|
|
1700
1469
|
], true),
|
|
1701
1470
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "lf-card__spacer" }, null, -1)),
|
|
1702
|
-
_ctx.$slots.actions ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
1471
|
+
_ctx.$slots.actions ? (openBlock(), createElementBlock("div", _hoisted_5$k, [
|
|
1703
1472
|
renderSlot(_ctx.$slots, "actions", {}, void 0, true)
|
|
1704
1473
|
])) : createCommentVNode("", true)
|
|
1705
1474
|
])) : createCommentVNode("", true),
|
|
@@ -1713,15 +1482,15 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
1713
1482
|
};
|
|
1714
1483
|
}
|
|
1715
1484
|
});
|
|
1716
|
-
const LfCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1717
|
-
const _hoisted_1$
|
|
1718
|
-
const _hoisted_2$
|
|
1719
|
-
const _hoisted_3$
|
|
1720
|
-
const _hoisted_4$
|
|
1485
|
+
const LfCard = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-61964a83"]]);
|
|
1486
|
+
const _hoisted_1$y = { class: "lf-page-header" };
|
|
1487
|
+
const _hoisted_2$w = { class: "lf-page-header__title-box" };
|
|
1488
|
+
const _hoisted_3$q = { class: "lf-page-header__title" };
|
|
1489
|
+
const _hoisted_4$l = {
|
|
1721
1490
|
key: 0,
|
|
1722
1491
|
class: "lf-page-header__icon"
|
|
1723
1492
|
};
|
|
1724
|
-
const _hoisted_5$
|
|
1493
|
+
const _hoisted_5$j = {
|
|
1725
1494
|
key: 0,
|
|
1726
1495
|
class: "lf-page-header__count"
|
|
1727
1496
|
};
|
|
@@ -1733,7 +1502,7 @@ const _hoisted_7$b = {
|
|
|
1733
1502
|
key: 1,
|
|
1734
1503
|
class: "lf-page-header__desc"
|
|
1735
1504
|
};
|
|
1736
|
-
const _sfc_main$
|
|
1505
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
1737
1506
|
__name: "LfPageHeader",
|
|
1738
1507
|
props: {
|
|
1739
1508
|
title: {},
|
|
@@ -1744,10 +1513,10 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
1744
1513
|
},
|
|
1745
1514
|
setup(__props) {
|
|
1746
1515
|
return (_ctx, _cache) => {
|
|
1747
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1748
|
-
createElementVNode("div", _hoisted_2$
|
|
1749
|
-
createElementVNode("h1", _hoisted_3$
|
|
1750
|
-
__props.icon || __props.iconPath || _ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
1516
|
+
return openBlock(), createElementBlock("div", _hoisted_1$y, [
|
|
1517
|
+
createElementVNode("div", _hoisted_2$w, [
|
|
1518
|
+
createElementVNode("h1", _hoisted_3$q, [
|
|
1519
|
+
__props.icon || __props.iconPath || _ctx.$slots.icon ? (openBlock(), createElementBlock("span", _hoisted_4$l, [
|
|
1751
1520
|
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
1752
1521
|
createVNode(LfIcon, {
|
|
1753
1522
|
name: __props.icon,
|
|
@@ -1760,7 +1529,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
1760
1529
|
createTextVNode(toDisplayString(__props.title), 1)
|
|
1761
1530
|
], true)
|
|
1762
1531
|
]),
|
|
1763
|
-
__props.count !== void 0 ? (openBlock(), createElementBlock("span", _hoisted_5$
|
|
1532
|
+
__props.count !== void 0 ? (openBlock(), createElementBlock("span", _hoisted_5$j, toDisplayString(__props.count), 1)) : createCommentVNode("", true)
|
|
1764
1533
|
]),
|
|
1765
1534
|
_ctx.$slots.filters || _ctx.$slots.actions ? (openBlock(), createElementBlock("div", _hoisted_6$e, [
|
|
1766
1535
|
renderSlot(_ctx.$slots, "filters", {}, void 0, true),
|
|
@@ -1776,14 +1545,14 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
1776
1545
|
};
|
|
1777
1546
|
}
|
|
1778
1547
|
});
|
|
1779
|
-
const LfPageHeader = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1780
|
-
const _hoisted_1$
|
|
1548
|
+
const LfPageHeader = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-503c1630"]]);
|
|
1549
|
+
const _hoisted_1$x = {
|
|
1781
1550
|
key: 0,
|
|
1782
1551
|
class: "lf-badge__dot",
|
|
1783
1552
|
"aria-hidden": "true"
|
|
1784
1553
|
};
|
|
1785
|
-
const _hoisted_2$
|
|
1786
|
-
const _sfc_main$
|
|
1554
|
+
const _hoisted_2$v = ["aria-label"];
|
|
1555
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
1787
1556
|
__name: "LfBadge",
|
|
1788
1557
|
props: {
|
|
1789
1558
|
label: {},
|
|
@@ -1803,7 +1572,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
1803
1572
|
return openBlock(), createElementBlock("span", {
|
|
1804
1573
|
class: normalizeClass(["lf-badge", [`lf-badge--${__props.tone}`, `lf-badge--${__props.variant}`, { "lf-badge--sm": __props.size === "sm" }]])
|
|
1805
1574
|
}, [
|
|
1806
|
-
__props.dot ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
1575
|
+
__props.dot ? (openBlock(), createElementBlock("span", _hoisted_1$x)) : __props.icon || __props.iconPath ? (openBlock(), createBlock(LfIcon, {
|
|
1807
1576
|
key: 1,
|
|
1808
1577
|
name: __props.icon,
|
|
1809
1578
|
path: __props.iconPath,
|
|
@@ -1823,88 +1592,12 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
1823
1592
|
name: "close",
|
|
1824
1593
|
size: "0.75rem"
|
|
1825
1594
|
})
|
|
1826
|
-
], 8, _hoisted_2$
|
|
1595
|
+
], 8, _hoisted_2$v)) : createCommentVNode("", true)
|
|
1827
1596
|
], 2);
|
|
1828
1597
|
};
|
|
1829
1598
|
}
|
|
1830
1599
|
});
|
|
1831
|
-
const LfBadge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1832
|
-
const _hoisted_1$x = ["role"];
|
|
1833
|
-
const _hoisted_2$v = {
|
|
1834
|
-
class: "lf-alert__badge",
|
|
1835
|
-
"aria-hidden": "true"
|
|
1836
|
-
};
|
|
1837
|
-
const _hoisted_3$q = { class: "lf-alert__body" };
|
|
1838
|
-
const _hoisted_4$l = {
|
|
1839
|
-
key: 0,
|
|
1840
|
-
class: "lf-alert__title"
|
|
1841
|
-
};
|
|
1842
|
-
const _hoisted_5$j = {
|
|
1843
|
-
key: 2,
|
|
1844
|
-
class: "lf-alert__actions"
|
|
1845
|
-
};
|
|
1846
|
-
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
1847
|
-
__name: "LfAlert",
|
|
1848
|
-
props: {
|
|
1849
|
-
tone: { default: "info" },
|
|
1850
|
-
title: {},
|
|
1851
|
-
message: {},
|
|
1852
|
-
icon: {},
|
|
1853
|
-
iconPath: {},
|
|
1854
|
-
closable: { type: Boolean },
|
|
1855
|
-
closeLabel: { default: "닫기" },
|
|
1856
|
-
dense: { type: Boolean }
|
|
1857
|
-
},
|
|
1858
|
-
emits: ["close"],
|
|
1859
|
-
setup(__props, { emit: __emit }) {
|
|
1860
|
-
const emit = __emit;
|
|
1861
|
-
const TONE_ICON = {
|
|
1862
|
-
info: "info",
|
|
1863
|
-
success: "check_circle",
|
|
1864
|
-
warning: "warning",
|
|
1865
|
-
error: "error"
|
|
1866
|
-
};
|
|
1867
|
-
return (_ctx, _cache) => {
|
|
1868
|
-
return openBlock(), createElementBlock("div", {
|
|
1869
|
-
class: normalizeClass(["lf-alert", [`lf-alert--${__props.tone}`, { "lf-alert--dense": __props.dense }]]),
|
|
1870
|
-
role: __props.tone === "error" ? "alert" : "status"
|
|
1871
|
-
}, [
|
|
1872
|
-
createElementVNode("span", _hoisted_2$v, [
|
|
1873
|
-
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
1874
|
-
createVNode(LfIcon, {
|
|
1875
|
-
name: __props.icon ?? TONE_ICON[__props.tone],
|
|
1876
|
-
path: __props.iconPath,
|
|
1877
|
-
size: __props.dense ? "0.9375rem" : "1.0625rem"
|
|
1878
|
-
}, null, 8, ["name", "path", "size"])
|
|
1879
|
-
], true)
|
|
1880
|
-
]),
|
|
1881
|
-
createElementVNode("div", _hoisted_3$q, [
|
|
1882
|
-
__props.title ? (openBlock(), createElementBlock("p", _hoisted_4$l, toDisplayString(__props.title), 1)) : createCommentVNode("", true),
|
|
1883
|
-
__props.message || _ctx.$slots.default ? (openBlock(), createElementBlock("div", {
|
|
1884
|
-
key: 1,
|
|
1885
|
-
class: normalizeClass(["lf-alert__text", { "lf-alert__text--titled": __props.title }])
|
|
1886
|
-
}, [
|
|
1887
|
-
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
1888
|
-
createTextVNode(toDisplayString(__props.message), 1)
|
|
1889
|
-
], true)
|
|
1890
|
-
], 2)) : createCommentVNode("", true),
|
|
1891
|
-
_ctx.$slots.actions ? (openBlock(), createElementBlock("div", _hoisted_5$j, [
|
|
1892
|
-
renderSlot(_ctx.$slots, "actions", {}, void 0, true)
|
|
1893
|
-
])) : createCommentVNode("", true)
|
|
1894
|
-
]),
|
|
1895
|
-
__props.closable ? (openBlock(), createBlock(LfIconButton, {
|
|
1896
|
-
key: 0,
|
|
1897
|
-
class: "lf-alert__close",
|
|
1898
|
-
icon: "close",
|
|
1899
|
-
size: "sm",
|
|
1900
|
-
label: __props.closeLabel,
|
|
1901
|
-
onClick: _cache[0] || (_cache[0] = ($event) => emit("close"))
|
|
1902
|
-
}, null, 8, ["label"])) : createCommentVNode("", true)
|
|
1903
|
-
], 10, _hoisted_1$x);
|
|
1904
|
-
};
|
|
1905
|
-
}
|
|
1906
|
-
});
|
|
1907
|
-
const LfAlert = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-62839786"]]);
|
|
1600
|
+
const LfBadge = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-31b186b5"]]);
|
|
1908
1601
|
const _hoisted_1$w = ["title"];
|
|
1909
1602
|
const _hoisted_2$u = ["src", "alt"];
|
|
1910
1603
|
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
@@ -2740,13 +2433,13 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
2740
2433
|
const overflow = el.style.overflow;
|
|
2741
2434
|
el.style.overflow = "hidden";
|
|
2742
2435
|
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)" }];
|
|
2743
|
-
const
|
|
2436
|
+
const a3 = 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)") });
|
|
2744
2437
|
const end = () => {
|
|
2745
2438
|
el.style.overflow = overflow;
|
|
2746
2439
|
done();
|
|
2747
2440
|
};
|
|
2748
|
-
|
|
2749
|
-
|
|
2441
|
+
a3.onfinish = end;
|
|
2442
|
+
a3.oncancel = end;
|
|
2750
2443
|
}
|
|
2751
2444
|
function queue(job) {
|
|
2752
2445
|
if (typeof document !== "undefined" && document.hidden) {
|
|
@@ -4799,10 +4492,10 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
4799
4492
|
setup(__props) {
|
|
4800
4493
|
const props = __props;
|
|
4801
4494
|
const sorted = computed(() => {
|
|
4802
|
-
const s = [...props.items].sort((
|
|
4495
|
+
const s = [...props.items].sort((a3, b2) => b2.value - a3.value);
|
|
4803
4496
|
return props.limit ? s.slice(0, props.limit) : s;
|
|
4804
4497
|
});
|
|
4805
|
-
const total = computed(() => props.items.reduce((
|
|
4498
|
+
const total = computed(() => props.items.reduce((a3, b2) => a3 + Math.max(0, b2.value), 0) || 1);
|
|
4806
4499
|
const max = computed(() => Math.max(1e-9, ...sorted.value.map((i2) => i2.value)));
|
|
4807
4500
|
function share(i2) {
|
|
4808
4501
|
return Math.max(0, i2.value) / total.value;
|
|
@@ -5291,12 +4984,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
5291
4984
|
focusCell(root, to[0], to[1]);
|
|
5292
4985
|
}
|
|
5293
4986
|
function rowSum(r) {
|
|
5294
|
-
return props.columns.reduce((
|
|
4987
|
+
return props.columns.reduce((a3, c2) => a3 + (get(r, c2.key) ?? 0), 0);
|
|
5295
4988
|
}
|
|
5296
4989
|
function colSum(c2) {
|
|
5297
|
-
return props.rows.reduce((
|
|
4990
|
+
return props.rows.reduce((a3, r) => a3 + (get(r.key, c2) ?? 0), 0);
|
|
5298
4991
|
}
|
|
5299
|
-
const grand = computed(() => props.rows.reduce((
|
|
4992
|
+
const grand = computed(() => props.rows.reduce((a3, r) => a3 + rowSum(r.key), 0));
|
|
5300
4993
|
return (_ctx, _cache) => {
|
|
5301
4994
|
return openBlock(), createElementBlock("div", {
|
|
5302
4995
|
class: "lf-gridedit",
|
|
@@ -5722,12 +5415,13 @@ export {
|
|
|
5722
5415
|
AppLoadingOverlay,
|
|
5723
5416
|
AppShell,
|
|
5724
5417
|
AppToast,
|
|
5418
|
+
BrandLockup,
|
|
5725
5419
|
DARK_THEME,
|
|
5726
5420
|
b as DEFAULT_THEME,
|
|
5727
5421
|
LF_ICONS,
|
|
5728
5422
|
LIGHT_THEME,
|
|
5729
5423
|
LOAFACTO_SERVICES,
|
|
5730
|
-
LfAlert,
|
|
5424
|
+
L as LfAlert,
|
|
5731
5425
|
LfAvatar,
|
|
5732
5426
|
LfBadge,
|
|
5733
5427
|
LfButton,
|
|
@@ -5760,8 +5454,8 @@ export {
|
|
|
5760
5454
|
LfRankBars,
|
|
5761
5455
|
LfScanInput,
|
|
5762
5456
|
LfScoreRing,
|
|
5763
|
-
|
|
5764
|
-
|
|
5457
|
+
a2 as LfSegmented,
|
|
5458
|
+
e as LfSelect,
|
|
5765
5459
|
LfShellButton,
|
|
5766
5460
|
LfSkeleton,
|
|
5767
5461
|
LfSpinner,
|
|
@@ -5770,11 +5464,11 @@ export {
|
|
|
5770
5464
|
LfStatusTile,
|
|
5771
5465
|
LfStepper,
|
|
5772
5466
|
LfSteps,
|
|
5773
|
-
LfSwitch,
|
|
5467
|
+
a as LfSwitch,
|
|
5774
5468
|
LfTable,
|
|
5775
5469
|
LfTabs,
|
|
5776
5470
|
LfTagInput,
|
|
5777
|
-
LfTextField,
|
|
5471
|
+
f as LfTextField,
|
|
5778
5472
|
LfTextarea,
|
|
5779
5473
|
LfThemeToggle,
|
|
5780
5474
|
LfToolbar,
|