@codemonster-ru/vueforge 0.1.1 → 0.2.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/index.css +1 -1
- package/dist/index.d.ts +15 -15
- package/dist/index.ts.mjs +402 -413
- package/dist/index.ts.umd.js +3 -3
- package/dist/{layouts → package/layouts}/defaultLayout.vue.d.ts +2 -2
- package/package.json +1 -1
- /package/dist/{components → package/components}/button.vue.d.ts +0 -0
- /package/dist/{components → package/components}/card.vue.d.ts +0 -0
- /package/dist/{components → package/components}/container.vue.d.ts +0 -0
- /package/dist/{components → package/components}/content.vue.d.ts +0 -0
- /package/dist/{components → package/components}/demo.vue.d.ts +0 -0
- /package/dist/{components → package/components}/footer.vue.d.ts +0 -0
- /package/dist/{components → package/components}/header.vue.d.ts +0 -0
- /package/dist/{components → package/components}/link.vue.d.ts +0 -0
- /package/dist/{components → package/components}/logo.vue.d.ts +0 -0
- /package/dist/{components → package/components}/menu.vue.d.ts +0 -0
- /package/dist/{components → package/components}/popover.vue.d.ts +0 -0
- /package/dist/{config → package/config}/index.d.ts +0 -0
- /package/dist/{layouts → package/layouts}/leftSidebarLayout.vue.d.ts +0 -0
- /package/dist/{themes → package/themes}/default/base.d.ts +0 -0
- /package/dist/{themes → package/themes}/default/components/button.d.ts +0 -0
- /package/dist/{themes → package/themes}/default/components/card.d.ts +0 -0
- /package/dist/{themes → package/themes}/default/components/codeBlock.d.ts +0 -0
- /package/dist/{themes → package/themes}/default/components/container.d.ts +0 -0
- /package/dist/{themes → package/themes}/default/components/content.d.ts +0 -0
- /package/dist/{themes → package/themes}/default/components/demo.d.ts +0 -0
- /package/dist/{themes → package/themes}/default/components/footer.d.ts +0 -0
- /package/dist/{themes → package/themes}/default/components/header.d.ts +0 -0
- /package/dist/{themes → package/themes}/default/components/link.d.ts +0 -0
- /package/dist/{themes → package/themes}/default/components/logo.d.ts +0 -0
- /package/dist/{themes → package/themes}/default/components/menu.d.ts +0 -0
- /package/dist/{themes → package/themes}/default/components/popover.d.ts +0 -0
- /package/dist/{themes → package/themes}/default/index.d.ts +0 -0
package/dist/index.ts.mjs
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { defineComponent as k, resolveComponent as x, openBlock as r, createElementBlock as l,
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as k, resolveComponent as x, openBlock as r, createElementBlock as l, createVNode as w, unref as h, withCtx as p, renderSlot as u, createElementVNode as i, inject as I, ref as U, computed as F, normalizeClass as g, Fragment as M, createTextVNode as z, toDisplayString as S, createBlock as y, createCommentVNode as _, defineAsyncComponent as K, resolveDynamicComponent as q, createStaticVNode as G, renderList as W, reactive as J, withDirectives as Q, createSlots as X, vShow as Y } from "vue";
|
|
2
|
+
const ee = { class: "vf-layout" }, jr = /* @__PURE__ */ k({
|
|
3
3
|
__name: "defaultLayout",
|
|
4
4
|
setup(o) {
|
|
5
|
-
return (e,
|
|
5
|
+
return (e, a) => {
|
|
6
6
|
const t = x("router-view");
|
|
7
|
-
return r(), l(
|
|
8
|
-
w(
|
|
9
|
-
left:
|
|
7
|
+
return r(), l("div", ee, [
|
|
8
|
+
w(h(Xo), null, {
|
|
9
|
+
left: p(() => [
|
|
10
10
|
u(e.$slots, "headerLeft")
|
|
11
11
|
]),
|
|
12
|
-
right:
|
|
12
|
+
right: p(() => [
|
|
13
13
|
u(e.$slots, "headerRight")
|
|
14
14
|
]),
|
|
15
15
|
_: 3
|
|
16
16
|
}),
|
|
17
|
-
w(
|
|
18
|
-
default:
|
|
19
|
-
w(
|
|
20
|
-
default:
|
|
17
|
+
w(h(ar), null, {
|
|
18
|
+
default: p(() => [
|
|
19
|
+
w(h(L), null, {
|
|
20
|
+
default: p(() => [
|
|
21
21
|
w(t)
|
|
22
22
|
]),
|
|
23
23
|
_: 1
|
|
@@ -25,10 +25,10 @@ const Or = /* @__PURE__ */ k({
|
|
|
25
25
|
]),
|
|
26
26
|
_: 1
|
|
27
27
|
}),
|
|
28
|
-
w(
|
|
29
|
-
default:
|
|
30
|
-
w(
|
|
31
|
-
default:
|
|
28
|
+
w(h(rr), null, {
|
|
29
|
+
default: p(() => [
|
|
30
|
+
w(h(L), null, {
|
|
31
|
+
default: p(() => [
|
|
32
32
|
u(e.$slots, "footerDefault")
|
|
33
33
|
]),
|
|
34
34
|
_: 3
|
|
@@ -36,33 +36,33 @@ const Or = /* @__PURE__ */ k({
|
|
|
36
36
|
]),
|
|
37
37
|
_: 3
|
|
38
38
|
})
|
|
39
|
-
]
|
|
39
|
+
]);
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
42
|
}), O = (o, e) => {
|
|
43
|
-
const
|
|
44
|
-
for (const [t,
|
|
45
|
-
|
|
46
|
-
return
|
|
47
|
-
},
|
|
48
|
-
function
|
|
49
|
-
const
|
|
50
|
-
return r(), l("div",
|
|
51
|
-
i("div",
|
|
43
|
+
const a = o.__vccOpts || o;
|
|
44
|
+
for (const [t, s] of e)
|
|
45
|
+
a[t] = s;
|
|
46
|
+
return a;
|
|
47
|
+
}, oe = {}, re = { class: "vf-left-sidebar-flexbox" }, te = { class: "vf-left-sidebar" }, le = { class: "vf-main-content" };
|
|
48
|
+
function ne(o, e) {
|
|
49
|
+
const a = x("router-view");
|
|
50
|
+
return r(), l("div", re, [
|
|
51
|
+
i("div", te, [
|
|
52
52
|
u(o.$slots, "leftSidebar")
|
|
53
53
|
]),
|
|
54
|
-
i("div",
|
|
55
|
-
w(
|
|
54
|
+
i("div", le, [
|
|
55
|
+
w(a)
|
|
56
56
|
])
|
|
57
57
|
]);
|
|
58
58
|
}
|
|
59
|
-
const
|
|
60
|
-
function
|
|
61
|
-
return r(), l("div",
|
|
59
|
+
const Pr = /* @__PURE__ */ O(oe, [["render", ne]]), se = {}, ae = { class: "vf-demo" };
|
|
60
|
+
function ce(o, e) {
|
|
61
|
+
return r(), l("div", ae, [
|
|
62
62
|
u(o.$slots, "default")
|
|
63
63
|
]);
|
|
64
64
|
}
|
|
65
|
-
const
|
|
65
|
+
const Mr = /* @__PURE__ */ O(se, [["render", ce]]);
|
|
66
66
|
/*!
|
|
67
67
|
* vue-router v4.5.0
|
|
68
68
|
* (c) 2024 Eduardo San Martin Morote
|
|
@@ -84,12 +84,12 @@ var N;
|
|
|
84
84
|
Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : "");
|
|
85
85
|
Symbol(process.env.NODE_ENV !== "production" ? "router view depth" : "");
|
|
86
86
|
Symbol(process.env.NODE_ENV !== "production" ? "router" : "");
|
|
87
|
-
const
|
|
87
|
+
const ie = Symbol(process.env.NODE_ENV !== "production" ? "route location" : "");
|
|
88
88
|
Symbol(process.env.NODE_ENV !== "production" ? "router view location" : "");
|
|
89
|
-
function
|
|
90
|
-
return I(
|
|
89
|
+
function ue(o) {
|
|
90
|
+
return I(ie);
|
|
91
91
|
}
|
|
92
|
-
const
|
|
92
|
+
const de = ["href"], V = /* @__PURE__ */ k({
|
|
93
93
|
__name: "link",
|
|
94
94
|
props: {
|
|
95
95
|
to: { default: "" },
|
|
@@ -101,66 +101,66 @@ const ue = ["href"], V = /* @__PURE__ */ k({
|
|
|
101
101
|
},
|
|
102
102
|
emits: ["onActive"],
|
|
103
103
|
setup(o, { emit: e }) {
|
|
104
|
-
const
|
|
105
|
-
return (
|
|
104
|
+
const a = e, t = o, s = ue(), n = U(null), m = F(() => (t.type === "router-link" && s.matched.some(({ name: f }) => t.to.name === f) && a("onActive"), t.active));
|
|
105
|
+
return (f, d) => {
|
|
106
106
|
const v = x("router-link");
|
|
107
|
-
return
|
|
107
|
+
return f.type === "a" ? (r(), l("a", {
|
|
108
108
|
key: 0,
|
|
109
|
-
href:
|
|
110
|
-
class:
|
|
109
|
+
href: f.url,
|
|
110
|
+
class: g(["vf-link", { "vf-link_active": f.active, "vf-link_disabled": f.disabled }])
|
|
111
111
|
}, [
|
|
112
|
-
|
|
113
|
-
z(S(
|
|
112
|
+
f.$slots.default ? u(f.$slots, "default", { key: 0 }) : (r(), l(M, { key: 1 }, [
|
|
113
|
+
z(S(f.label), 1)
|
|
114
114
|
], 64))
|
|
115
|
-
], 10,
|
|
115
|
+
], 10, de)) : (r(), y(v, {
|
|
116
116
|
key: 1,
|
|
117
117
|
ref_key: "link",
|
|
118
118
|
ref: n,
|
|
119
|
-
to:
|
|
120
|
-
class:
|
|
121
|
-
disabled:
|
|
122
|
-
"active-class": "
|
|
123
|
-
"exact-active-class": "
|
|
119
|
+
to: f.to,
|
|
120
|
+
class: g(["vf-link", { "vf-link_active": m.value }]),
|
|
121
|
+
disabled: f.disabled,
|
|
122
|
+
"active-class": "vf-link_partially-active",
|
|
123
|
+
"exact-active-class": "vf-link_active"
|
|
124
124
|
}, {
|
|
125
|
-
default:
|
|
126
|
-
|
|
127
|
-
z(S(
|
|
125
|
+
default: p(() => [
|
|
126
|
+
f.$slots.default ? u(f.$slots, "default", { key: 0 }) : (r(), l(M, { key: 1 }, [
|
|
127
|
+
z(S(f.label), 1)
|
|
128
128
|
], 64))
|
|
129
129
|
]),
|
|
130
130
|
_: 3
|
|
131
131
|
}, 8, ["to", "class", "disabled"]));
|
|
132
132
|
};
|
|
133
133
|
}
|
|
134
|
-
}),
|
|
134
|
+
}), ve = {}, fe = { class: "vf-card" }, he = {
|
|
135
135
|
key: 0,
|
|
136
|
-
class: "
|
|
137
|
-
},
|
|
136
|
+
class: "vf-card__default"
|
|
137
|
+
}, pe = {
|
|
138
138
|
key: 1,
|
|
139
|
-
class: "
|
|
140
|
-
},
|
|
139
|
+
class: "vf-card__header"
|
|
140
|
+
}, ge = {
|
|
141
141
|
key: 2,
|
|
142
|
-
class: "
|
|
143
|
-
},
|
|
142
|
+
class: "vf-card__body"
|
|
143
|
+
}, be = {
|
|
144
144
|
key: 3,
|
|
145
|
-
class: "
|
|
145
|
+
class: "vf-card__footer"
|
|
146
146
|
};
|
|
147
|
-
function
|
|
148
|
-
return r(), l("div",
|
|
149
|
-
o.$slots.default ? (r(), l("div",
|
|
147
|
+
function _e(o, e) {
|
|
148
|
+
return r(), l("div", fe, [
|
|
149
|
+
o.$slots.default ? (r(), l("div", he, [
|
|
150
150
|
u(o.$slots, "default")
|
|
151
|
-
])) :
|
|
152
|
-
o.$slots.header ? (r(), l("div",
|
|
151
|
+
])) : _("", !0),
|
|
152
|
+
o.$slots.header ? (r(), l("div", pe, [
|
|
153
153
|
u(o.$slots, "header")
|
|
154
|
-
])) :
|
|
155
|
-
o.$slots.body ? (r(), l("div",
|
|
154
|
+
])) : _("", !0),
|
|
155
|
+
o.$slots.body ? (r(), l("div", ge, [
|
|
156
156
|
u(o.$slots, "body")
|
|
157
|
-
])) :
|
|
158
|
-
o.$slots.footer ? (r(), l("div",
|
|
157
|
+
])) : _("", !0),
|
|
158
|
+
o.$slots.footer ? (r(), l("div", be, [
|
|
159
159
|
u(o.$slots, "footer")
|
|
160
|
-
])) :
|
|
160
|
+
])) : _("", !0)
|
|
161
161
|
]);
|
|
162
162
|
}
|
|
163
|
-
const
|
|
163
|
+
const me = /* @__PURE__ */ O(ve, [["render", _e]]), ye = { class: "vf-logo" }, Ce = ["src", "width", "height", "alt"], we = ["src", "width", "height", "alt"], zr = /* @__PURE__ */ k({
|
|
164
164
|
__name: "logo",
|
|
165
165
|
props: {
|
|
166
166
|
to: { default: void 0 },
|
|
@@ -173,79 +173,79 @@ const be = /* @__PURE__ */ O(de, [["render", ge]]), _e = { class: "cm-logo" }, y
|
|
|
173
173
|
height: { default: void 0 }
|
|
174
174
|
},
|
|
175
175
|
setup(o) {
|
|
176
|
-
const e = o,
|
|
177
|
-
return (t,
|
|
178
|
-
t.type.length ? (r(), y(
|
|
176
|
+
const e = o, a = F(() => Array.isArray(e.src) ? e.dark ? e.src[1] : e.src[0] : e.src);
|
|
177
|
+
return (t, s) => (r(), l("div", ye, [
|
|
178
|
+
t.type.length ? (r(), y(h(V), {
|
|
179
179
|
key: 0,
|
|
180
180
|
type: t.type,
|
|
181
181
|
to: t.to,
|
|
182
182
|
url: t.url
|
|
183
183
|
}, {
|
|
184
|
-
default:
|
|
184
|
+
default: p(() => [
|
|
185
185
|
i("img", {
|
|
186
|
-
src:
|
|
186
|
+
src: a.value,
|
|
187
187
|
width: t.width,
|
|
188
188
|
height: t.height,
|
|
189
189
|
alt: t.alt
|
|
190
|
-
}, null, 8,
|
|
190
|
+
}, null, 8, Ce)
|
|
191
191
|
]),
|
|
192
192
|
_: 1
|
|
193
193
|
}, 8, ["type", "to", "url"])) : (r(), l("img", {
|
|
194
194
|
key: 1,
|
|
195
|
-
src:
|
|
195
|
+
src: a.value,
|
|
196
196
|
width: t.width,
|
|
197
197
|
height: t.height,
|
|
198
198
|
alt: t.alt
|
|
199
|
-
}, null, 8,
|
|
199
|
+
}, null, 8, we))
|
|
200
200
|
]));
|
|
201
201
|
}
|
|
202
|
-
}),
|
|
203
|
-
const
|
|
204
|
-
for (const [t,
|
|
205
|
-
|
|
206
|
-
return
|
|
207
|
-
},
|
|
202
|
+
}), b = (o, e) => {
|
|
203
|
+
const a = o.__vccOpts || o;
|
|
204
|
+
for (const [t, s] of e)
|
|
205
|
+
a[t] = s;
|
|
206
|
+
return a;
|
|
207
|
+
}, ke = {}, Fe = {
|
|
208
208
|
xmlns: "http://www.w3.org/2000/svg",
|
|
209
209
|
viewBox: "0 0 512 512",
|
|
210
210
|
fill: "none",
|
|
211
211
|
width: "16",
|
|
212
212
|
height: "16"
|
|
213
213
|
};
|
|
214
|
-
function
|
|
215
|
-
return r(), l("svg",
|
|
214
|
+
function $e(o, e) {
|
|
215
|
+
return r(), l("svg", Fe, e[0] || (e[0] = [
|
|
216
216
|
G('<circle fill="currentColor" cx="256" cy="256" r="128"></circle><rect fill="currentColor" y="240.03" width="96" height="31.94"></rect><rect fill="currentColor" x="416" y="240.03" width="96" height="31.94"></rect><rect fill="currentColor" x="239.95" width="32.1" height="96"></rect><polygon fill="currentColor" points="240 416 272 416 272 512 240.06 512 240 416"></polygon><rect fill="currentColor" x="93.09" y="60.96" width="31.94" height="96" transform="translate(-45.1 109.03) rotate(-45)"></rect><rect fill="currentColor" x="355.02" y="92.75" width="96" height="32.1" transform="translate(41.11 316.85) rotate(-45)"></rect><polygon fill="currentColor" points="357.08 380.39 379.71 357.76 447.59 425.65 425 448.23 357.08 380.39"></polygon><polygon fill="currentColor" points="131.75 357.04 154.37 379.67 86.49 447.55 63.9 424.96 131.75 357.04"></polygon>', 9)
|
|
217
217
|
]));
|
|
218
218
|
}
|
|
219
|
-
const
|
|
219
|
+
const Be = /* @__PURE__ */ b(ke, [["render", $e]]), Se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
220
220
|
__proto__: null,
|
|
221
|
-
default:
|
|
222
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
221
|
+
default: Be
|
|
222
|
+
}, Symbol.toStringTag, { value: "Module" })), Oe = {}, je = {
|
|
223
223
|
xmlns: "http://www.w3.org/2000/svg",
|
|
224
224
|
viewBox: "0 0 512 512",
|
|
225
225
|
fill: "none",
|
|
226
226
|
width: "16",
|
|
227
227
|
height: "16"
|
|
228
228
|
};
|
|
229
|
-
function
|
|
230
|
-
return r(), l("svg",
|
|
229
|
+
function Pe(o, e) {
|
|
230
|
+
return r(), l("svg", je, e[0] || (e[0] = [
|
|
231
231
|
i("path", {
|
|
232
232
|
fill: "currentColor",
|
|
233
233
|
d: "m352,448c-123.71,0-224-100.29-224-224,0-107.81,76.16-197.81,177.61-219.18-16.05-3.15-32.64-4.82-49.61-4.82C114.62,0,0,114.62,0,256s114.62,256,256,256c75.54,0,143.44-32.73,190.3-84.77-28.66,13.32-60.61,20.77-94.3,20.77Z"
|
|
234
234
|
}, null, -1)
|
|
235
235
|
]));
|
|
236
236
|
}
|
|
237
|
-
const
|
|
237
|
+
const Me = /* @__PURE__ */ b(Oe, [["render", Pe]]), ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
238
238
|
__proto__: null,
|
|
239
|
-
default:
|
|
240
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
239
|
+
default: Me
|
|
240
|
+
}, Symbol.toStringTag, { value: "Module" })), Le = {}, Te = {
|
|
241
241
|
xmlns: "http://www.w3.org/2000/svg",
|
|
242
242
|
viewBox: "0 0 512 512",
|
|
243
243
|
fill: "none",
|
|
244
244
|
width: "16",
|
|
245
245
|
height: "16"
|
|
246
246
|
};
|
|
247
|
-
function
|
|
248
|
-
return r(), l("svg",
|
|
247
|
+
function xe(o, e) {
|
|
248
|
+
return r(), l("svg", Te, e[0] || (e[0] = [
|
|
249
249
|
i("path", {
|
|
250
250
|
fill: "currentColor",
|
|
251
251
|
d: "M32,160h448c32.5,0,31.5-32,31.5-32s0-32-31.5-32H32c-32.5,0-31.5,32-31.5,32S-0.5,160,32,160z"
|
|
@@ -260,18 +260,18 @@ function Te(o, e) {
|
|
|
260
260
|
}, null, -1)
|
|
261
261
|
]));
|
|
262
262
|
}
|
|
263
|
-
const
|
|
263
|
+
const Ve = /* @__PURE__ */ b(Le, [["render", xe]]), Re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
264
264
|
__proto__: null,
|
|
265
|
-
default:
|
|
266
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
265
|
+
default: Ve
|
|
266
|
+
}, Symbol.toStringTag, { value: "Module" })), De = {}, Ne = {
|
|
267
267
|
xmlns: "http://www.w3.org/2000/svg",
|
|
268
268
|
viewBox: "0 0 512 512",
|
|
269
269
|
fill: "none",
|
|
270
270
|
width: "16",
|
|
271
271
|
height: "16"
|
|
272
272
|
};
|
|
273
|
-
function
|
|
274
|
-
return r(), l("svg",
|
|
273
|
+
function Ee(o, e) {
|
|
274
|
+
return r(), l("svg", Ne, e[0] || (e[0] = [
|
|
275
275
|
i("path", {
|
|
276
276
|
fill: "currentColor",
|
|
277
277
|
d: "m33,512h447c21.33,1,32-10.67,32-35,0-128-106.67-189-192-189h-128C106.67,288,0,352,0,480c-.11,21.99,11.33,32.21,33,32Z"
|
|
@@ -284,54 +284,54 @@ function Ne(o, e) {
|
|
|
284
284
|
}, null, -1)
|
|
285
285
|
]));
|
|
286
286
|
}
|
|
287
|
-
const
|
|
287
|
+
const Ze = /* @__PURE__ */ b(De, [["render", Ee]]), Ae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
288
288
|
__proto__: null,
|
|
289
|
-
default:
|
|
290
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
289
|
+
default: Ze
|
|
290
|
+
}, Symbol.toStringTag, { value: "Module" })), He = {}, Ie = {
|
|
291
291
|
xmlns: "http://www.w3.org/2000/svg",
|
|
292
292
|
viewBox: "0 0 512 512",
|
|
293
293
|
fill: "none",
|
|
294
294
|
width: "16",
|
|
295
295
|
height: "16"
|
|
296
296
|
};
|
|
297
|
-
function
|
|
298
|
-
return r(), l("svg",
|
|
297
|
+
function Ue(o, e) {
|
|
298
|
+
return r(), l("svg", Ie, e[0] || (e[0] = [
|
|
299
299
|
i("path", {
|
|
300
300
|
fill: "currentColor",
|
|
301
301
|
d: "m220.45,16.12c18.29-17.75,38.39-24.95,64,0l208.5,192.5c20.88,21.19,15,47-17,47l-31.5.5v224c.04,21.44-10.88,32.07-32.32,32.32h-63.85c-21.36-.51-31.86-11.38-32.07-32.07v-128.25c.21-21.63-10.58-32.08-31.88-31.88h-63.88c-21.48-.1-32.04,10.63-31.94,31.94v127.94c-.11,21.25-10.59,31.95-31.77,31.77h-64c-22.05.21-32.5-10.69-32.03-32.03v-223.74l-31.76-.5c-33,0-37-26.88-16-47L220.45,16.12Z"
|
|
302
302
|
}, null, -1)
|
|
303
303
|
]));
|
|
304
304
|
}
|
|
305
|
-
const
|
|
305
|
+
const Ke = /* @__PURE__ */ b(He, [["render", Ue]]), qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
306
306
|
__proto__: null,
|
|
307
|
-
default:
|
|
308
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
307
|
+
default: Ke
|
|
308
|
+
}, Symbol.toStringTag, { value: "Module" })), Ge = {}, We = {
|
|
309
309
|
xmlns: "http://www.w3.org/2000/svg",
|
|
310
310
|
viewBox: "0 0 512 512",
|
|
311
311
|
fill: "none",
|
|
312
312
|
width: "16",
|
|
313
313
|
height: "16"
|
|
314
314
|
};
|
|
315
|
-
function
|
|
316
|
-
return r(), l("svg",
|
|
315
|
+
function Je(o, e) {
|
|
316
|
+
return r(), l("svg", We, e[0] || (e[0] = [
|
|
317
317
|
i("path", {
|
|
318
318
|
fill: "currentColor",
|
|
319
319
|
d: "m496.36,59.31c15.08-15.08,15.08-32.92,0-48s-24.92-15.08-40,0L192.33,275.63,56.57,139.87c-15.08-15.08-30.17-15.09-45.25,0-15.08,15.08-15.09,30.17,0,45.25l158.39,158.39c15.08,15.08,30.17,15.09,45.25,0L496.36,59.31Z"
|
|
320
320
|
}, null, -1)
|
|
321
321
|
]));
|
|
322
322
|
}
|
|
323
|
-
const
|
|
323
|
+
const Qe = /* @__PURE__ */ b(Ge, [["render", Je]]), Xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
324
324
|
__proto__: null,
|
|
325
|
-
default:
|
|
326
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
325
|
+
default: Qe
|
|
326
|
+
}, Symbol.toStringTag, { value: "Module" })), Ye = {}, eo = {
|
|
327
327
|
xmlns: "http://www.w3.org/2000/svg",
|
|
328
328
|
viewBox: "0 0 512 512",
|
|
329
329
|
fill: "none",
|
|
330
330
|
width: "16",
|
|
331
331
|
height: "16"
|
|
332
332
|
};
|
|
333
|
-
function
|
|
334
|
-
return r(), l("svg",
|
|
333
|
+
function oo(o, e) {
|
|
334
|
+
return r(), l("svg", eo, e[0] || (e[0] = [
|
|
335
335
|
i("g", null, [
|
|
336
336
|
i("path", { d: "m256,507c-67.04,0-130.08-26.11-177.48-73.52S5,323.04,5,256,31.11,125.92,78.52,78.52,188.96,5,256,5s130.08,26.11,177.48,73.52,73.52,110.44,73.52,177.48-26.11,130.08-73.52,177.48-110.44,73.52-177.48,73.52Z" }),
|
|
337
337
|
i("path", {
|
|
@@ -345,18 +345,18 @@ function eo(o, e) {
|
|
|
345
345
|
}, null, -1)
|
|
346
346
|
]));
|
|
347
347
|
}
|
|
348
|
-
const
|
|
348
|
+
const ro = /* @__PURE__ */ b(Ye, [["render", oo]]), to = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
349
349
|
__proto__: null,
|
|
350
|
-
default:
|
|
351
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
350
|
+
default: ro
|
|
351
|
+
}, Symbol.toStringTag, { value: "Module" })), lo = {}, no = {
|
|
352
352
|
xmlns: "http://www.w3.org/2000/svg",
|
|
353
353
|
viewBox: "0 0 512 512",
|
|
354
354
|
fill: "none",
|
|
355
355
|
width: "16",
|
|
356
356
|
height: "16"
|
|
357
357
|
};
|
|
358
|
-
function
|
|
359
|
-
return r(), l("svg",
|
|
358
|
+
function so(o, e) {
|
|
359
|
+
return r(), l("svg", no, e[0] || (e[0] = [
|
|
360
360
|
i("path", {
|
|
361
361
|
fill: "currentColor",
|
|
362
362
|
d: "m256,480c-119.85,0-217.71-94.12-223.71-212.48C25.72,137.84,131.42,29.08,261.23,32.06c58.54,1.34,111.52,25.16,150.69,63.15.02.02.06.02.08,0l22.54-22.54s.02-.06,0-.08C384.4,23.77,314.35-4.69,237.7.64,111.85,9.39,10.68,109.56.81,235.33c-11.82,150.71,106.97,276.67,255.19,276.67,94.72,0,197.27-90.53,208-112,8-16-16-24-24.17-16-17.03,16.67-107.72,96-183.83,96Z"
|
|
@@ -367,90 +367,90 @@ function no(o, e) {
|
|
|
367
367
|
}, null, -1)
|
|
368
368
|
]));
|
|
369
369
|
}
|
|
370
|
-
const
|
|
370
|
+
const ao = /* @__PURE__ */ b(lo, [["render", so]]), co = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
371
371
|
__proto__: null,
|
|
372
|
-
default:
|
|
373
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
372
|
+
default: ao
|
|
373
|
+
}, Symbol.toStringTag, { value: "Module" })), io = {}, uo = {
|
|
374
374
|
xmlns: "http://www.w3.org/2000/svg",
|
|
375
375
|
viewBox: "0 0 512 512",
|
|
376
376
|
fill: "none",
|
|
377
377
|
width: "16",
|
|
378
378
|
height: "16"
|
|
379
379
|
};
|
|
380
|
-
function
|
|
381
|
-
return r(), l("svg",
|
|
380
|
+
function vo(o, e) {
|
|
381
|
+
return r(), l("svg", uo, e[0] || (e[0] = [
|
|
382
382
|
i("path", {
|
|
383
383
|
fill: "currentColor",
|
|
384
384
|
d: "M279.6 158.3l168.1 168.1c16.1 16.1-.1 32.5-.1 32.5s-16 15.4-31.9-.5L256.1 198.8l-160 160c-16 16-31.5-.5-31.5-.5s-16.5-15.5-.5-31.5l168.5-168.5c16-16 31-16 47 0z"
|
|
385
385
|
}, null, -1)
|
|
386
386
|
]));
|
|
387
387
|
}
|
|
388
|
-
const
|
|
388
|
+
const fo = /* @__PURE__ */ b(io, [["render", vo]]), ho = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
389
389
|
__proto__: null,
|
|
390
|
-
default:
|
|
391
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
390
|
+
default: fo
|
|
391
|
+
}, Symbol.toStringTag, { value: "Module" })), po = {}, go = {
|
|
392
392
|
xmlns: "http://www.w3.org/2000/svg",
|
|
393
393
|
viewBox: "0 0 512 512",
|
|
394
394
|
fill: "none",
|
|
395
395
|
width: "16",
|
|
396
396
|
height: "16"
|
|
397
397
|
};
|
|
398
|
-
function
|
|
399
|
-
return r(), l("svg",
|
|
398
|
+
function bo(o, e) {
|
|
399
|
+
return r(), l("svg", go, e[0] || (e[0] = [
|
|
400
400
|
i("path", {
|
|
401
401
|
fill: "currentColor",
|
|
402
402
|
d: "M232.4,353.7L64.3,185.6c-16.1-16.1,0.1-32.5,0.1-32.5s16-15.4,31.9,0.5l159.6,159.6l160-160 c16-16,31.5,0.5,31.5,0.5s16.5,15.5,0.5,31.5c-13,13-168.5,168.5-168.5,168.5C263.4,369.7,248.4,369.7,232.4,353.7z"
|
|
403
403
|
}, null, -1)
|
|
404
404
|
]));
|
|
405
405
|
}
|
|
406
|
-
const
|
|
406
|
+
const _o = /* @__PURE__ */ b(po, [["render", bo]]), mo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
407
407
|
__proto__: null,
|
|
408
|
-
default:
|
|
409
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
408
|
+
default: _o
|
|
409
|
+
}, Symbol.toStringTag, { value: "Module" })), yo = {}, Co = {
|
|
410
410
|
xmlns: "http://www.w3.org/2000/svg",
|
|
411
411
|
viewBox: "0 0 512 512",
|
|
412
412
|
fill: "none",
|
|
413
413
|
width: "16",
|
|
414
414
|
height: "16"
|
|
415
415
|
};
|
|
416
|
-
function
|
|
417
|
-
return r(), l("svg",
|
|
416
|
+
function wo(o, e) {
|
|
417
|
+
return r(), l("svg", Co, e[0] || (e[0] = [
|
|
418
418
|
i("path", {
|
|
419
419
|
fill: "currentColor",
|
|
420
420
|
d: "M158.3,232.4L326.4,64.3c16.1-16.1,32.5,0.1,32.5,0.1s15.4,16-0.5,31.9L198.8,255.9l160,160 c16,16-0.5,31.5-0.5,31.5s-15.5,16.5-31.5,0.5c-13-13-168.5-168.5-168.5-168.5C142.3,263.4,142.3,248.4,158.3,232.4z"
|
|
421
421
|
}, null, -1)
|
|
422
422
|
]));
|
|
423
423
|
}
|
|
424
|
-
const
|
|
424
|
+
const ko = /* @__PURE__ */ b(yo, [["render", wo]]), Fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
425
425
|
__proto__: null,
|
|
426
|
-
default:
|
|
427
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
426
|
+
default: ko
|
|
427
|
+
}, Symbol.toStringTag, { value: "Module" })), $o = {}, Bo = {
|
|
428
428
|
xmlns: "http://www.w3.org/2000/svg",
|
|
429
429
|
viewBox: "0 0 512 512",
|
|
430
430
|
fill: "none",
|
|
431
431
|
width: "16",
|
|
432
432
|
height: "16"
|
|
433
433
|
};
|
|
434
|
-
function
|
|
435
|
-
return r(), l("svg",
|
|
434
|
+
function So(o, e) {
|
|
435
|
+
return r(), l("svg", Bo, e[0] || (e[0] = [
|
|
436
436
|
i("path", {
|
|
437
437
|
fill: "currentColor",
|
|
438
438
|
d: "M353.7,279.6L185.6,447.7c-16.1,16.1-32.5-0.1-32.5-0.1s-15.4-16,0.5-31.9l159.6-159.6l-160-160 c-16-16,0.5-31.5,0.5-31.5s15.5-16.5,31.5-0.5c13,13,168.5,168.5,168.5,168.5C369.7,248.6,369.7,263.6,353.7,279.6z"
|
|
439
439
|
}, null, -1)
|
|
440
440
|
]));
|
|
441
441
|
}
|
|
442
|
-
const
|
|
442
|
+
const Oo = /* @__PURE__ */ b($o, [["render", So]]), jo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
443
443
|
__proto__: null,
|
|
444
|
-
default:
|
|
445
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
444
|
+
default: Oo
|
|
445
|
+
}, Symbol.toStringTag, { value: "Module" })), Po = {}, Mo = {
|
|
446
446
|
xmlns: "http://www.w3.org/2000/svg",
|
|
447
447
|
viewBox: "0 0 512 512",
|
|
448
448
|
fill: "none",
|
|
449
449
|
width: "16",
|
|
450
450
|
height: "16"
|
|
451
451
|
};
|
|
452
|
-
function
|
|
453
|
-
return r(), l("svg",
|
|
452
|
+
function zo(o, e) {
|
|
453
|
+
return r(), l("svg", Mo, e[0] || (e[0] = [
|
|
454
454
|
i("path", {
|
|
455
455
|
fill: "currentColor",
|
|
456
456
|
d: "m484,508c5.66,5.66,18.34,5.66,24,0,5.66-5.66,5.66-18.34,0-24l-171.29-168.5-22.63,22.63,169.91,169.87Z"
|
|
@@ -461,48 +461,48 @@ function Mo(o, e) {
|
|
|
461
461
|
}, null, -1)
|
|
462
462
|
]));
|
|
463
463
|
}
|
|
464
|
-
const
|
|
464
|
+
const Lo = /* @__PURE__ */ b(Po, [["render", zo]]), To = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
465
465
|
__proto__: null,
|
|
466
|
-
default:
|
|
467
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
466
|
+
default: Lo
|
|
467
|
+
}, Symbol.toStringTag, { value: "Module" })), xo = {}, Vo = {
|
|
468
468
|
xmlns: "http://www.w3.org/2000/svg",
|
|
469
469
|
viewBox: "0 0 512 512",
|
|
470
470
|
fill: "none",
|
|
471
471
|
width: "16",
|
|
472
472
|
height: "16"
|
|
473
473
|
};
|
|
474
|
-
function
|
|
475
|
-
return r(), l("svg",
|
|
474
|
+
function Ro(o, e) {
|
|
475
|
+
return r(), l("svg", Vo, e[0] || (e[0] = [
|
|
476
476
|
i("path", {
|
|
477
477
|
fill: "currentColor",
|
|
478
478
|
d: "m345.37.69c-5.57-1.85-11.6,1.15-13.47,6.72l-3.4,10.11c-1.88,5.58,1.12,11.63,6.71,13.51l-.46-.15c84.86,31.87,145.26,113.74,145.26,209.74,0,123.71-100.29,224-224,224S32,364.33,32,240.62c0-96.23,60.69-178.26,145.87-209.97l-.94.3c5.6-1.82,8.67-7.84,6.85-13.44l-3.3-10.14c-1.81-5.56-7.74-8.61-13.31-6.88C69.58,36.6,0,130.47,0,240.62c0,141.38,114.62,256,256,256s256-114.62,256-256c0-109.94-69.32-203.66-166.63-239.92Z"
|
|
479
479
|
}, null, -1)
|
|
480
480
|
]));
|
|
481
481
|
}
|
|
482
|
-
const
|
|
482
|
+
const Do = /* @__PURE__ */ b(xo, [["render", Ro]]), No = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
483
483
|
__proto__: null,
|
|
484
|
-
default:
|
|
485
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
484
|
+
default: Do
|
|
485
|
+
}, Symbol.toStringTag, { value: "Module" })), Eo = (o, e, a) => {
|
|
486
486
|
const t = o[e];
|
|
487
|
-
return t ? typeof t == "function" ? t() : Promise.resolve(t) : new Promise((
|
|
487
|
+
return t ? typeof t == "function" ? t() : Promise.resolve(t) : new Promise((s, n) => {
|
|
488
488
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
|
|
489
489
|
n.bind(
|
|
490
490
|
null,
|
|
491
491
|
new Error(
|
|
492
|
-
"Unknown variable dynamic import: " + e + (e.split("/").length !==
|
|
492
|
+
"Unknown variable dynamic import: " + e + (e.split("/").length !== a ? ". Note that variables only represent file names one level deep." : "")
|
|
493
493
|
)
|
|
494
494
|
)
|
|
495
495
|
);
|
|
496
496
|
});
|
|
497
|
-
},
|
|
498
|
-
list:
|
|
499
|
-
},
|
|
497
|
+
}, Zo = ["bars", "check", "chevronDown", "chevronLeft", "chevronRight", "chevronUp", "circleHalf", "circleNotch", "house", "magnifyingGlass", "moon", "rotateRight", "sun", "user"], Ao = {
|
|
498
|
+
list: Zo
|
|
499
|
+
}, Ho = /* @__PURE__ */ k({
|
|
500
500
|
__name: "icon",
|
|
501
501
|
props: {
|
|
502
502
|
icon: {
|
|
503
503
|
type: String,
|
|
504
504
|
default: "moon",
|
|
505
|
-
validator: (o) =>
|
|
505
|
+
validator: (o) => Ao.list.indexOf(o) > -1
|
|
506
506
|
},
|
|
507
507
|
spin: {
|
|
508
508
|
type: Boolean,
|
|
@@ -510,24 +510,24 @@ const Ro = /* @__PURE__ */ g(To, [["render", Vo]]), Do = /* @__PURE__ */ Object.
|
|
|
510
510
|
}
|
|
511
511
|
},
|
|
512
512
|
setup(o) {
|
|
513
|
-
const e = o,
|
|
514
|
-
const
|
|
515
|
-
return K(() =>
|
|
513
|
+
const e = o, a = F(() => {
|
|
514
|
+
const s = e.icon;
|
|
515
|
+
return K(() => Eo(/* @__PURE__ */ Object.assign({ "./bars.vue": () => Promise.resolve().then(() => Re), "./check.vue": () => Promise.resolve().then(() => Xe), "./chevronDown.vue": () => Promise.resolve().then(() => mo), "./chevronLeft.vue": () => Promise.resolve().then(() => Fo), "./chevronRight.vue": () => Promise.resolve().then(() => jo), "./chevronUp.vue": () => Promise.resolve().then(() => ho), "./circleHalf.vue": () => Promise.resolve().then(() => to), "./circleNotch.vue": () => Promise.resolve().then(() => No), "./house.vue": () => Promise.resolve().then(() => qe), "./icon.vue": () => Promise.resolve().then(() => Io), "./magnifyingGlass.vue": () => Promise.resolve().then(() => To), "./moon.vue": () => Promise.resolve().then(() => ze), "./rotateRight.vue": () => Promise.resolve().then(() => co), "./sun.vue": () => Promise.resolve().then(() => Se), "./user.vue": () => Promise.resolve().then(() => Ae) }), `./${s}.vue`, 2));
|
|
516
516
|
}), t = F(() => {
|
|
517
|
-
let
|
|
518
|
-
return e.spin &&
|
|
517
|
+
let s = ["cm-icon"];
|
|
518
|
+
return e.spin && s.push("cm-icon_animations_spin"), s;
|
|
519
519
|
});
|
|
520
|
-
return (
|
|
521
|
-
class:
|
|
520
|
+
return (s, n) => (r(), y(q(a.value), {
|
|
521
|
+
class: g(t.value)
|
|
522
522
|
}, null, 8, ["class"]));
|
|
523
523
|
}
|
|
524
|
-
}), $ = /* @__PURE__ */
|
|
524
|
+
}), $ = /* @__PURE__ */ b(Ho, [["__scopeId", "data-v-e8b1cecb"]]), Io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
525
525
|
__proto__: null,
|
|
526
526
|
default: $
|
|
527
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
527
|
+
}, Symbol.toStringTag, { value: "Module" })), Uo = { class: "vf-menu__list" }, Ko = {
|
|
528
528
|
key: 1,
|
|
529
|
-
class: "
|
|
530
|
-
},
|
|
529
|
+
class: "vf-menu__separator"
|
|
530
|
+
}, qo = ["onClick"], Go = /* @__PURE__ */ k({
|
|
531
531
|
__name: "menu",
|
|
532
532
|
props: {
|
|
533
533
|
items: {},
|
|
@@ -535,66 +535,66 @@ const Ro = /* @__PURE__ */ g(To, [["render", Vo]]), Do = /* @__PURE__ */ Object.
|
|
|
535
535
|
},
|
|
536
536
|
emits: ["onActive"],
|
|
537
537
|
setup(o, { emit: e }) {
|
|
538
|
-
const
|
|
538
|
+
const a = e, t = o, s = (d, v) => `${d.label}_${v.toString()}`, n = (d) => Object.prototype.hasOwnProperty.call(d, "to") ? "router-link" : "a", m = (d) => {
|
|
539
539
|
Object.prototype.hasOwnProperty.call(d, "items") ? (t.items.map((v) => {
|
|
540
540
|
v !== d && (v.subMenuVisible = !1);
|
|
541
541
|
}), d.subMenuVisible = !d.subMenuVisible) : Object.prototype.hasOwnProperty.call(d, "command") && d.command();
|
|
542
|
-
},
|
|
542
|
+
}, f = (d) => {
|
|
543
543
|
var v;
|
|
544
|
-
for (const
|
|
545
|
-
const C = t.items[
|
|
546
|
-
Object.prototype.hasOwnProperty.call(C, "items") && ((v = C.items) != null && v.some((
|
|
544
|
+
for (const c in t.items) {
|
|
545
|
+
const C = t.items[c];
|
|
546
|
+
Object.prototype.hasOwnProperty.call(C, "items") && ((v = C.items) != null && v.some((P) => P === d) ? (C.active = !0, C.subMenuVisible = !0) : (C.active = !1, C.subMenuVisible = !1));
|
|
547
547
|
}
|
|
548
|
-
|
|
548
|
+
a("onActive", d);
|
|
549
549
|
};
|
|
550
550
|
return (d, v) => (r(), l("div", {
|
|
551
|
-
class:
|
|
551
|
+
class: g(["vf-menu", `vf-menu_${d.orientation}`])
|
|
552
552
|
}, [
|
|
553
|
-
i("ul",
|
|
554
|
-
(r(!0), l(
|
|
555
|
-
key: c
|
|
556
|
-
class: "
|
|
553
|
+
i("ul", Uo, [
|
|
554
|
+
(r(!0), l(M, null, W(d.items, (c, C) => (r(), l("li", {
|
|
555
|
+
key: s(c, C),
|
|
556
|
+
class: "vf-menu__item"
|
|
557
557
|
}, [
|
|
558
|
-
d.$slots[c
|
|
558
|
+
d.$slots[s(c, C)] ? u(d.$slots, s(c, C), {
|
|
559
559
|
key: 0,
|
|
560
|
-
item: { ...
|
|
561
|
-
}) :
|
|
560
|
+
item: { ...c, class: "vf-menu__link" }
|
|
561
|
+
}) : c.separator ? (r(), l("hr", Ko)) : c.hasOwnProperty("items") ? (r(), l(M, { key: 2 }, [
|
|
562
562
|
i("div", {
|
|
563
|
-
class:
|
|
564
|
-
onClick: (
|
|
563
|
+
class: g(["vf-menu__parent", { "vf-menu__parent_active": c.active }]),
|
|
564
|
+
onClick: (P) => m(c)
|
|
565
565
|
}, [
|
|
566
|
-
|
|
566
|
+
c.icon ? (r(), y(h($), {
|
|
567
567
|
key: 0,
|
|
568
|
-
icon:
|
|
569
|
-
class: "
|
|
570
|
-
}, null, 8, ["icon"])) :
|
|
571
|
-
z(" " + S(
|
|
572
|
-
w(
|
|
573
|
-
], 10,
|
|
574
|
-
|
|
568
|
+
icon: c.icon,
|
|
569
|
+
class: "vf-menu__icon"
|
|
570
|
+
}, null, 8, ["icon"])) : _("", !0),
|
|
571
|
+
z(" " + S(c.label) + " ", 1),
|
|
572
|
+
w(h($), { icon: "chevronDown" })
|
|
573
|
+
], 10, qo),
|
|
574
|
+
c.items ? (r(), y(h(Go), {
|
|
575
575
|
key: 0,
|
|
576
|
-
items:
|
|
577
|
-
class:
|
|
578
|
-
onOnActive:
|
|
579
|
-
}, null, 8, ["items", "class"])) :
|
|
580
|
-
], 64)) : (r(), y(
|
|
576
|
+
items: c.items,
|
|
577
|
+
class: g(["vf-menu__submenu", { "vf-menu__submenu_visible": c.subMenuVisible }]),
|
|
578
|
+
onOnActive: f
|
|
579
|
+
}, null, 8, ["items", "class"])) : _("", !0)
|
|
580
|
+
], 64)) : (r(), y(h(V), {
|
|
581
581
|
key: 3,
|
|
582
|
-
to:
|
|
583
|
-
url:
|
|
584
|
-
type: n(
|
|
585
|
-
class: "
|
|
586
|
-
active:
|
|
587
|
-
disabled:
|
|
588
|
-
onClick: (
|
|
589
|
-
onOnActive: (
|
|
582
|
+
to: c.to,
|
|
583
|
+
url: c.url,
|
|
584
|
+
type: n(c),
|
|
585
|
+
class: "vf-menu__link",
|
|
586
|
+
active: c.active,
|
|
587
|
+
disabled: c.disabled,
|
|
588
|
+
onClick: (P) => m(c),
|
|
589
|
+
onOnActive: (P) => f(c)
|
|
590
590
|
}, {
|
|
591
|
-
default:
|
|
592
|
-
|
|
591
|
+
default: p(() => [
|
|
592
|
+
c.icon ? (r(), y(h($), {
|
|
593
593
|
key: 0,
|
|
594
|
-
icon:
|
|
595
|
-
class: "
|
|
596
|
-
}, null, 8, ["icon"])) :
|
|
597
|
-
z(" " + S(
|
|
594
|
+
icon: c.icon,
|
|
595
|
+
class: "vf-menu__icon"
|
|
596
|
+
}, null, 8, ["icon"])) : _("", !0),
|
|
597
|
+
z(" " + S(c.label), 1)
|
|
598
598
|
]),
|
|
599
599
|
_: 2
|
|
600
600
|
}, 1032, ["to", "url", "type", "active", "disabled", "onClick", "onOnActive"]))
|
|
@@ -602,36 +602,36 @@ const Ro = /* @__PURE__ */ g(To, [["render", Vo]]), Do = /* @__PURE__ */ Object.
|
|
|
602
602
|
])
|
|
603
603
|
], 2));
|
|
604
604
|
}
|
|
605
|
-
}),
|
|
605
|
+
}), Wo = { class: "vf-header" }, Jo = {
|
|
606
606
|
key: 0,
|
|
607
|
-
class: "
|
|
608
|
-
},
|
|
607
|
+
class: "vf-header__left"
|
|
608
|
+
}, Qo = {
|
|
609
609
|
key: 1,
|
|
610
|
-
class: "
|
|
611
|
-
},
|
|
610
|
+
class: "vf-header__right"
|
|
611
|
+
}, Xo = /* @__PURE__ */ k({
|
|
612
612
|
__name: "header",
|
|
613
613
|
setup(o) {
|
|
614
|
-
return (e,
|
|
615
|
-
w(
|
|
616
|
-
default:
|
|
617
|
-
e.$slots.left ? (r(), l("div",
|
|
614
|
+
return (e, a) => (r(), l("header", Wo, [
|
|
615
|
+
w(h(L), null, {
|
|
616
|
+
default: p(() => [
|
|
617
|
+
e.$slots.left ? (r(), l("div", Jo, [
|
|
618
618
|
u(e.$slots, "left")
|
|
619
|
-
])) :
|
|
620
|
-
e.$slots.right ? (r(), l("div",
|
|
619
|
+
])) : _("", !0),
|
|
620
|
+
e.$slots.right ? (r(), l("div", Qo, [
|
|
621
621
|
u(e.$slots, "right")
|
|
622
|
-
])) :
|
|
622
|
+
])) : _("", !0)
|
|
623
623
|
]),
|
|
624
624
|
_: 3
|
|
625
625
|
})
|
|
626
626
|
]));
|
|
627
627
|
}
|
|
628
|
-
}),
|
|
629
|
-
function
|
|
630
|
-
return r(), l("footer",
|
|
628
|
+
}), Yo = {}, er = { class: "vf-footer" };
|
|
629
|
+
function or(o, e) {
|
|
630
|
+
return r(), l("footer", er, [
|
|
631
631
|
u(o.$slots, "default")
|
|
632
632
|
]);
|
|
633
633
|
}
|
|
634
|
-
const
|
|
634
|
+
const rr = /* @__PURE__ */ O(Yo, [["render", or]]), tr = ["disabled"], Lr = /* @__PURE__ */ k({
|
|
635
635
|
__name: "button",
|
|
636
636
|
props: {
|
|
637
637
|
to: { default: void 0 },
|
|
@@ -647,157 +647,146 @@ const or = /* @__PURE__ */ O(Xo, [["render", er]]), rr = ["disabled"], zr = /* @
|
|
|
647
647
|
disabled: { type: Boolean, default: !1 }
|
|
648
648
|
},
|
|
649
649
|
setup(o) {
|
|
650
|
-
const e = o,
|
|
651
|
-
let n = [
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
return ["top", "bottom"].includes(e.iconPos) && n.push("cm-button_vertical"), e.variant === "text" && n.push("cm-button_text"), e.variant === "outlined" && n.push("cm-button_outlined"), ["small", "large"].indexOf(e.size) > -1 && n.push(`cm-button_${e.size}`), (e.loading || e.disabled) && n.push("cm-button_disabled"), e.rounded && n.push("cm-button_rounded"), n;
|
|
656
|
-
}), t = F(() => ["cm-button__icon", `cm-button__icon_${e.iconPos}`]), c = F(() => ["cm-button__label"]);
|
|
657
|
-
return (n, _) => e.type === "button" ? (r(), l("button", {
|
|
650
|
+
const e = o, a = F(() => {
|
|
651
|
+
let n = ["vf-button", `vf-button_${e.severity}`];
|
|
652
|
+
return ["top", "bottom"].includes(e.iconPos) && n.push("vf-button_vertical"), e.variant === "text" && n.push("vf-button_text"), e.variant === "outlined" && n.push("vf-button_outlined"), ["small", "large"].indexOf(e.size) > -1 && n.push(`vf-button_${e.size}`), (e.loading || e.disabled) && n.push("vf-button_disabled"), e.rounded && n.push("vf-button_rounded"), n;
|
|
653
|
+
}), t = F(() => ["vf-button__icon", `vf-button__icon_${e.iconPos}`]), s = F(() => ["vf-button__label"]);
|
|
654
|
+
return (n, m) => e.type === "button" ? (r(), l("button", {
|
|
658
655
|
key: 0,
|
|
659
|
-
class:
|
|
656
|
+
class: g(a.value),
|
|
660
657
|
disabled: e.loading || e.disabled
|
|
661
658
|
}, [
|
|
662
|
-
e.icon && !e.loading ? (r(), y(
|
|
659
|
+
e.icon && !e.loading ? (r(), y(h($), {
|
|
663
660
|
key: 0,
|
|
664
661
|
icon: e.icon,
|
|
665
|
-
class:
|
|
666
|
-
}, null, 8, ["icon", "class"])) :
|
|
667
|
-
e.loading ? (r(), y(
|
|
662
|
+
class: g(t.value)
|
|
663
|
+
}, null, 8, ["icon", "class"])) : _("", !0),
|
|
664
|
+
e.loading ? (r(), y(h($), {
|
|
668
665
|
key: 1,
|
|
669
666
|
icon: "circleNotch",
|
|
670
|
-
class:
|
|
667
|
+
class: g(t.value),
|
|
671
668
|
spin: ""
|
|
672
|
-
}, null, 8, ["class"])) :
|
|
669
|
+
}, null, 8, ["class"])) : _("", !0),
|
|
673
670
|
n.$slots.default ? (r(), l("span", {
|
|
674
671
|
key: 2,
|
|
675
|
-
class:
|
|
672
|
+
class: g(s.value)
|
|
676
673
|
}, [
|
|
677
674
|
u(n.$slots, "default")
|
|
678
675
|
], 2)) : n.label ? (r(), l("span", {
|
|
679
676
|
key: 3,
|
|
680
|
-
class:
|
|
681
|
-
}, S(n.label), 3)) :
|
|
682
|
-
], 10,
|
|
677
|
+
class: g(s.value)
|
|
678
|
+
}, S(n.label), 3)) : _("", !0)
|
|
679
|
+
], 10, tr)) : (r(), y(h(V), {
|
|
683
680
|
key: 1,
|
|
684
681
|
to: e.to,
|
|
685
682
|
type: e.type,
|
|
686
|
-
class:
|
|
683
|
+
class: g(a.value),
|
|
687
684
|
disabled: e.loading || e.disabled
|
|
688
685
|
}, {
|
|
689
|
-
default:
|
|
690
|
-
e.icon ? (r(), y(
|
|
686
|
+
default: p(() => [
|
|
687
|
+
e.icon ? (r(), y(h($), {
|
|
691
688
|
key: 0,
|
|
692
689
|
icon: e.icon,
|
|
693
|
-
class:
|
|
694
|
-
}, null, 8, ["icon", "class"])) :
|
|
690
|
+
class: g(t.value)
|
|
691
|
+
}, null, 8, ["icon", "class"])) : _("", !0),
|
|
695
692
|
n.$slots.default ? (r(), l("span", {
|
|
696
693
|
key: 1,
|
|
697
|
-
class:
|
|
694
|
+
class: g(s.value)
|
|
698
695
|
}, [
|
|
699
696
|
u(n.$slots, "default")
|
|
700
697
|
], 2)) : n.label ? (r(), l("span", {
|
|
701
698
|
key: 2,
|
|
702
|
-
class:
|
|
703
|
-
}, S(n.label), 3)) :
|
|
699
|
+
class: g(s.value)
|
|
700
|
+
}, S(n.label), 3)) : _("", !0)
|
|
704
701
|
]),
|
|
705
702
|
_: 3
|
|
706
703
|
}, 8, ["to", "type", "class", "disabled"]));
|
|
707
704
|
}
|
|
708
|
-
}),
|
|
709
|
-
function
|
|
710
|
-
return r(), l("div",
|
|
705
|
+
}), lr = {}, nr = { class: "vf-content" };
|
|
706
|
+
function sr(o, e) {
|
|
707
|
+
return r(), l("div", nr, [
|
|
711
708
|
u(o.$slots, "default")
|
|
712
709
|
]);
|
|
713
710
|
}
|
|
714
|
-
const
|
|
711
|
+
const ar = /* @__PURE__ */ O(lr, [["render", sr]]), cr = { class: "vf-popover" }, Tr = /* @__PURE__ */ k({
|
|
715
712
|
__name: "popover",
|
|
716
713
|
emits: ["onClick"],
|
|
717
|
-
setup(o, { expose: e, emit:
|
|
718
|
-
const t =
|
|
719
|
-
return e({ show: n, hide:
|
|
714
|
+
setup(o, { expose: e, emit: a }) {
|
|
715
|
+
const t = a, s = J({ visible: !1 }), n = () => s.visible = !0, m = () => s.visible = !1, f = () => s.visible = !s.visible, d = () => t("onClick");
|
|
716
|
+
return e({ show: n, hide: m, toggle: f }), (v, c) => (r(), l("div", cr, [
|
|
720
717
|
i("div", {
|
|
721
|
-
class: "
|
|
718
|
+
class: "vf-popover__button",
|
|
722
719
|
onClick: d
|
|
723
720
|
}, [
|
|
724
721
|
u(v.$slots, "button")
|
|
725
722
|
]),
|
|
726
|
-
Q(w(
|
|
727
|
-
default:
|
|
728
|
-
|
|
723
|
+
Q(w(h(me), { class: "vf-popover__wrapper" }, X({
|
|
724
|
+
default: p(() => [
|
|
725
|
+
c[0] || (c[0] = i("div", { class: "vf-popover__arrow" }, null, -1))
|
|
729
726
|
]),
|
|
730
727
|
_: 2
|
|
731
728
|
}, [
|
|
732
729
|
v.$slots.default ? {
|
|
733
730
|
name: "default",
|
|
734
|
-
fn:
|
|
731
|
+
fn: p(() => [
|
|
735
732
|
u(v.$slots, "default")
|
|
736
733
|
]),
|
|
737
734
|
key: "0"
|
|
738
735
|
} : void 0,
|
|
739
736
|
v.$slots.popoverHeader ? {
|
|
740
737
|
name: "header",
|
|
741
|
-
fn:
|
|
738
|
+
fn: p(() => [
|
|
742
739
|
u(v.$slots, "popoverHeader")
|
|
743
740
|
]),
|
|
744
741
|
key: "1"
|
|
745
742
|
} : void 0,
|
|
746
743
|
v.$slots.popoverBody ? {
|
|
747
744
|
name: "body",
|
|
748
|
-
fn:
|
|
745
|
+
fn: p(() => [
|
|
749
746
|
u(v.$slots, "popoverBody")
|
|
750
747
|
]),
|
|
751
748
|
key: "2"
|
|
752
749
|
} : void 0,
|
|
753
750
|
v.$slots.popoverFooter ? {
|
|
754
751
|
name: "footer",
|
|
755
|
-
fn:
|
|
752
|
+
fn: p(() => [
|
|
756
753
|
u(v.$slots, "popoverFooter")
|
|
757
754
|
]),
|
|
758
755
|
key: "3"
|
|
759
756
|
} : void 0
|
|
760
757
|
]), 1536), [
|
|
761
|
-
[Y,
|
|
758
|
+
[Y, s.visible]
|
|
762
759
|
])
|
|
763
760
|
]));
|
|
764
761
|
}
|
|
765
|
-
}),
|
|
766
|
-
function
|
|
767
|
-
return r(), l("div",
|
|
762
|
+
}), ir = {}, ur = { class: "vf-container" };
|
|
763
|
+
function dr(o, e) {
|
|
764
|
+
return r(), l("div", ur, [
|
|
768
765
|
u(o.$slots, "default")
|
|
769
766
|
]);
|
|
770
767
|
}
|
|
771
|
-
const L = /* @__PURE__ */ O(
|
|
772
|
-
const e = parseInt(o.replace("#", ""), 16),
|
|
773
|
-
return `${
|
|
774
|
-
},
|
|
768
|
+
const L = /* @__PURE__ */ O(ir, [["render", dr]]), A = (o, e) => "#" + o.replace(/^#/, "").replace(/../g, (a) => ("0" + Math.min(255, Math.max(0, parseInt(a, 16) + e)).toString(16)).slice(-2)), vr = (o, e) => A(o, 16 * e), fr = (o, e) => A(o, -16 * e), E = (o) => {
|
|
769
|
+
const e = parseInt(o.replace("#", ""), 16), a = e >> 16 & 255, t = e >> 8 & 255, s = e & 255;
|
|
770
|
+
return `${a}, ${t}, ${s}`;
|
|
771
|
+
}, hr = (o) => {
|
|
775
772
|
const e = o.replace(/([A-Z])/g, "-$1");
|
|
776
773
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
777
|
-
}, j = (o) => o.filter((e) => !
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
"theme",
|
|
781
|
-
"preset",
|
|
782
|
-
"colors",
|
|
783
|
-
"components",
|
|
784
|
-
"colorScheme"
|
|
785
|
-
], B = [], T = [], H = (o, e = []) => {
|
|
786
|
-
for (const s in o) {
|
|
787
|
-
const t = o[s], c = e.concat([s]);
|
|
774
|
+
}, j = (o) => o.filter((e) => !pr.includes(e)).map((e) => hr(e)).join("-").toLowerCase(), pr = ["dark", "light", "theme", "preset", "colors", "components", "colorScheme"], B = [], T = [], H = (o, e = []) => {
|
|
775
|
+
for (const a in o) {
|
|
776
|
+
const t = o[a], s = e.concat([a]);
|
|
788
777
|
if (typeof t == "object")
|
|
789
|
-
H(t,
|
|
790
|
-
else if (
|
|
791
|
-
if (
|
|
792
|
-
T.push(`--
|
|
793
|
-
else if (B.push(`--
|
|
778
|
+
H(t, s);
|
|
779
|
+
else if (s.some((n) => n === "theme") && s.some((n) => n === "preset")) {
|
|
780
|
+
if (s.some((n) => n === "colorScheme") && s.some((n) => n === "dark"))
|
|
781
|
+
T.push(`--vf-${j(s)}: ${t}`);
|
|
782
|
+
else if (B.push(`--vf-${j(s)}: ${t}`), s.some((n) => n === "colors") && (B.push(`--vf-${j(s)}-rgb: ${E(t)}`), a !== "white"))
|
|
794
783
|
for (let n = 1; n < 10; ++n) {
|
|
795
|
-
let
|
|
796
|
-
n < 5 ?
|
|
784
|
+
let m;
|
|
785
|
+
n < 5 ? m = vr(t, 5 - n) : m = fr(t, n - 5), B.push(`--vf-${j(s)}-${n}00: ${m}`), B.push(`--vf-${j(s)}-${n}00-rgb: ${E(m)}`);
|
|
797
786
|
}
|
|
798
787
|
}
|
|
799
788
|
}
|
|
800
|
-
},
|
|
789
|
+
}, xr = {
|
|
801
790
|
install(o, e) {
|
|
802
791
|
H(e), B.length && document.styleSheets[0].insertRule(`:root { ${B.join(";")} }`), T.length && document.styleSheets[0].insertRule(`:root[data-theme=dark] { ${T.join(";")} }`);
|
|
803
792
|
}
|
|
@@ -832,7 +821,7 @@ const L = /* @__PURE__ */ O(ar, [["render", ur]]), A = (o, e) => "#" + o.replace
|
|
|
832
821
|
dividerColor: "#2e2e32"
|
|
833
822
|
}
|
|
834
823
|
}
|
|
835
|
-
},
|
|
824
|
+
}, gr = {
|
|
836
825
|
padding: "6px 10px",
|
|
837
826
|
borderRadius: "6px",
|
|
838
827
|
roundedBorderRadius: "2rem",
|
|
@@ -849,158 +838,158 @@ const L = /* @__PURE__ */ O(ar, [["render", ur]]), A = (o, e) => "#" + o.replace
|
|
|
849
838
|
primary: {
|
|
850
839
|
color: "#FFFFFF",
|
|
851
840
|
hoverColor: "#FFFFFF",
|
|
852
|
-
borderColor: "var(--
|
|
841
|
+
borderColor: "var(--vf-blue)",
|
|
853
842
|
activeColor: "#FFFFFF",
|
|
854
|
-
backgroundColor: "var(--
|
|
855
|
-
hoverBorderColor: "var(--
|
|
856
|
-
activeBorderColor: "var(--
|
|
857
|
-
hoverBackgroundColor: "var(--
|
|
858
|
-
activeBackgroundColor: "var(--
|
|
843
|
+
backgroundColor: "var(--vf-blue)",
|
|
844
|
+
hoverBorderColor: "var(--vf-blue-600)",
|
|
845
|
+
activeBorderColor: "var(--vf-blue-700)",
|
|
846
|
+
hoverBackgroundColor: "var(--vf-blue-600)",
|
|
847
|
+
activeBackgroundColor: "var(--vf-blue-700)"
|
|
859
848
|
},
|
|
860
849
|
secondary: {
|
|
861
850
|
color: "#FFFFFF",
|
|
862
851
|
hoverColor: "#FFFFFF",
|
|
863
|
-
borderColor: "var(--
|
|
852
|
+
borderColor: "var(--vf-gray)",
|
|
864
853
|
activeColor: "#FFFFFF",
|
|
865
|
-
backgroundColor: "var(--
|
|
866
|
-
hoverBorderColor: "var(--
|
|
867
|
-
activeBorderColor: "var(--
|
|
868
|
-
hoverBackgroundColor: "var(--
|
|
869
|
-
activeBackgroundColor: "var(--
|
|
854
|
+
backgroundColor: "var(--vf-gray)",
|
|
855
|
+
hoverBorderColor: "var(--vf-gray-600)",
|
|
856
|
+
activeBorderColor: "var(--vf-gray-700)",
|
|
857
|
+
hoverBackgroundColor: "var(--vf-gray-600)",
|
|
858
|
+
activeBackgroundColor: "var(--vf-gray-700)"
|
|
870
859
|
},
|
|
871
860
|
success: {
|
|
872
861
|
color: "#FFFFFF",
|
|
873
862
|
hoverColor: "#FFFFFF",
|
|
874
|
-
borderColor: "var(--
|
|
863
|
+
borderColor: "var(--vf-green)",
|
|
875
864
|
activeColor: "#FFFFFF",
|
|
876
|
-
backgroundColor: "var(--
|
|
877
|
-
hoverBorderColor: "var(--
|
|
878
|
-
activeBorderColor: "var(--
|
|
879
|
-
hoverBackgroundColor: "var(--
|
|
880
|
-
activeBackgroundColor: "var(--
|
|
865
|
+
backgroundColor: "var(--vf-green)",
|
|
866
|
+
hoverBorderColor: "var(--vf-green-600)",
|
|
867
|
+
activeBorderColor: "var(--vf-green-700)",
|
|
868
|
+
hoverBackgroundColor: "var(--vf-green-600)",
|
|
869
|
+
activeBackgroundColor: "var(--vf-green-700)"
|
|
881
870
|
},
|
|
882
871
|
danger: {
|
|
883
872
|
color: "#FFFFFF",
|
|
884
873
|
hoverColor: "#FFFFFF",
|
|
885
|
-
borderColor: "var(--
|
|
874
|
+
borderColor: "var(--vf-red)",
|
|
886
875
|
activeColor: "#FFFFFF",
|
|
887
|
-
backgroundColor: "var(--
|
|
888
|
-
hoverBorderColor: "var(--
|
|
889
|
-
activeBorderColor: "var(--
|
|
890
|
-
hoverBackgroundColor: "var(--
|
|
891
|
-
activeBackgroundColor: "var(--
|
|
876
|
+
backgroundColor: "var(--vf-red)",
|
|
877
|
+
hoverBorderColor: "var(--vf-red-600)",
|
|
878
|
+
activeBorderColor: "var(--vf-red-700)",
|
|
879
|
+
hoverBackgroundColor: "var(--vf-red-600)",
|
|
880
|
+
activeBackgroundColor: "var(--vf-red-700)"
|
|
892
881
|
},
|
|
893
882
|
warning: {
|
|
894
883
|
color: "#FFFFFF",
|
|
895
884
|
hoverColor: "#FFFFFF",
|
|
896
|
-
borderColor: "var(--
|
|
885
|
+
borderColor: "var(--vf-yellow)",
|
|
897
886
|
activeColor: "#FFFFFF",
|
|
898
|
-
backgroundColor: "var(--
|
|
899
|
-
hoverBorderColor: "var(--
|
|
900
|
-
activeBorderColor: "var(--
|
|
901
|
-
hoverBackgroundColor: "var(--
|
|
902
|
-
activeBackgroundColor: "var(--
|
|
887
|
+
backgroundColor: "var(--vf-yellow)",
|
|
888
|
+
hoverBorderColor: "var(--vf-yellow-600)",
|
|
889
|
+
activeBorderColor: "var(--vf-yellow-700)",
|
|
890
|
+
hoverBackgroundColor: "var(--vf-yellow-600)",
|
|
891
|
+
activeBackgroundColor: "var(--vf-yellow-700)"
|
|
903
892
|
},
|
|
904
893
|
info: {
|
|
905
894
|
color: "#FFFFFF",
|
|
906
895
|
hoverColor: "#FFFFFF",
|
|
907
|
-
borderColor: "var(--
|
|
896
|
+
borderColor: "var(--vf-sky)",
|
|
908
897
|
activeColor: "#FFFFFF",
|
|
909
|
-
backgroundColor: "var(--
|
|
910
|
-
hoverBorderColor: "var(--
|
|
911
|
-
activeBorderColor: "var(--
|
|
912
|
-
hoverBackgroundColor: "var(--
|
|
913
|
-
activeBackgroundColor: "var(--
|
|
898
|
+
backgroundColor: "var(--vf-sky)",
|
|
899
|
+
hoverBorderColor: "var(--vf-sky-600)",
|
|
900
|
+
activeBorderColor: "var(--vf-sky-700)",
|
|
901
|
+
hoverBackgroundColor: "var(--vf-sky-600)",
|
|
902
|
+
activeBackgroundColor: "var(--vf-sky-700)"
|
|
914
903
|
},
|
|
915
904
|
text: {
|
|
916
905
|
primary: {
|
|
917
|
-
color: "var(--
|
|
918
|
-
hoverBackgroundColor: "rgba(var(--
|
|
906
|
+
color: "var(--vf-blue)",
|
|
907
|
+
hoverBackgroundColor: "rgba(var(--vf-blue-600-rgb), .1)"
|
|
919
908
|
},
|
|
920
909
|
secondary: {
|
|
921
|
-
color: "var(--
|
|
922
|
-
hoverBackgroundColor: "rgba(var(--
|
|
910
|
+
color: "var(--vf-gray)",
|
|
911
|
+
hoverBackgroundColor: "rgba(var(--vf-gray-600-rgb), .1)"
|
|
923
912
|
},
|
|
924
913
|
success: {
|
|
925
|
-
color: "var(--
|
|
926
|
-
hoverBackgroundColor: "rgba(var(--
|
|
914
|
+
color: "var(--vf-green)",
|
|
915
|
+
hoverBackgroundColor: "rgba(var(--vf-green-600-rgb), .1)"
|
|
927
916
|
},
|
|
928
917
|
danger: {
|
|
929
|
-
color: "var(--
|
|
930
|
-
hoverBackgroundColor: "rgba(var(--
|
|
918
|
+
color: "var(--vf-red)",
|
|
919
|
+
hoverBackgroundColor: "rgba(var(--vf-red-600-rgb), .1)"
|
|
931
920
|
},
|
|
932
921
|
warning: {
|
|
933
|
-
color: "var(--
|
|
934
|
-
hoverBackgroundColor: "rgba(var(--
|
|
922
|
+
color: "var(--vf-yellow)",
|
|
923
|
+
hoverBackgroundColor: "rgba(var(--vf-yellow-600-rgb), .1)"
|
|
935
924
|
},
|
|
936
925
|
info: {
|
|
937
|
-
color: "var(--
|
|
938
|
-
hoverBackgroundColor: "rgba(var(--
|
|
926
|
+
color: "var(--vf-sky)",
|
|
927
|
+
hoverBackgroundColor: "rgba(var(--vf-sky-600-rgb), .1)"
|
|
939
928
|
}
|
|
940
929
|
},
|
|
941
930
|
outlined: {
|
|
942
931
|
primary: {
|
|
943
|
-
color: "var(--
|
|
944
|
-
borderColor: "rgba(var(--
|
|
945
|
-
hoverBackgroundColor: "rgba(var(--
|
|
932
|
+
color: "var(--vf-blue)",
|
|
933
|
+
borderColor: "rgba(var(--vf-blue-rgb), .4)",
|
|
934
|
+
hoverBackgroundColor: "rgba(var(--vf-blue-600-rgb), .1)"
|
|
946
935
|
},
|
|
947
936
|
secondary: {
|
|
948
|
-
color: "var(--
|
|
949
|
-
borderColor: "rgba(var(--
|
|
950
|
-
hoverBackgroundColor: "rgba(var(--
|
|
937
|
+
color: "var(--vf-gray)",
|
|
938
|
+
borderColor: "rgba(var(--vf-gray-rgb), .4)",
|
|
939
|
+
hoverBackgroundColor: "rgba(var(--vf-gray-600-rgb), .1)"
|
|
951
940
|
},
|
|
952
941
|
success: {
|
|
953
|
-
color: "var(--
|
|
954
|
-
borderColor: "rgba(var(--
|
|
955
|
-
hoverBackgroundColor: "rgba(var(--
|
|
942
|
+
color: "var(--vf-green)",
|
|
943
|
+
borderColor: "rgba(var(--vf-green-rgb), .4)",
|
|
944
|
+
hoverBackgroundColor: "rgba(var(--vf-green-600-rgb), .1)"
|
|
956
945
|
},
|
|
957
946
|
danger: {
|
|
958
|
-
color: "var(--
|
|
959
|
-
borderColor: "rgba(var(--
|
|
960
|
-
hoverBackgroundColor: "rgba(var(--
|
|
947
|
+
color: "var(--vf-red)",
|
|
948
|
+
borderColor: "rgba(var(--vf-red-rgb), .4)",
|
|
949
|
+
hoverBackgroundColor: "rgba(var(--vf-red-600-rgb), .1)"
|
|
961
950
|
},
|
|
962
951
|
warning: {
|
|
963
|
-
color: "var(--
|
|
964
|
-
borderColor: "rgba(var(--
|
|
965
|
-
hoverBackgroundColor: "rgba(var(--
|
|
952
|
+
color: "var(--vf-yellow)",
|
|
953
|
+
borderColor: "rgba(var(--vf-yellow-rgb), .4)",
|
|
954
|
+
hoverBackgroundColor: "rgba(var(--vf-yellow-600-rgb), .1)"
|
|
966
955
|
},
|
|
967
956
|
info: {
|
|
968
|
-
color: "var(--
|
|
969
|
-
borderColor: "rgba(var(--
|
|
970
|
-
hoverBackgroundColor: "rgba(var(--
|
|
957
|
+
color: "var(--vf-sky)",
|
|
958
|
+
borderColor: "rgba(var(--vf-sky-rgb), .4)",
|
|
959
|
+
hoverBackgroundColor: "rgba(var(--vf-sky-600-rgb), .1)"
|
|
971
960
|
}
|
|
972
961
|
}
|
|
973
962
|
}
|
|
974
963
|
}
|
|
975
|
-
},
|
|
964
|
+
}, br = {
|
|
976
965
|
padding: "12px",
|
|
977
|
-
borderColor: "var(--
|
|
966
|
+
borderColor: "var(--vf-border-color)",
|
|
978
967
|
borderRadius: "6px"
|
|
979
|
-
},
|
|
968
|
+
}, _r = {}, mr = {
|
|
980
969
|
padding: "12px"
|
|
981
|
-
},
|
|
982
|
-
color: "var(--
|
|
970
|
+
}, yr = {}, Cr = {}, wr = {
|
|
971
|
+
color: "var(--vf-secondary-text-color)",
|
|
983
972
|
padding: "12px",
|
|
984
|
-
borderColor: "var(--
|
|
985
|
-
backgroundColor: "var(--
|
|
986
|
-
},
|
|
973
|
+
borderColor: "var(--vf-border-color)",
|
|
974
|
+
backgroundColor: "var(--vf-bg-color)"
|
|
975
|
+
}, kr = {
|
|
987
976
|
height: "60px",
|
|
988
977
|
padding: "12px",
|
|
989
978
|
minHeight: "60px",
|
|
990
|
-
borderColor: "var(--
|
|
991
|
-
backgroundColor: "var(--
|
|
992
|
-
},
|
|
993
|
-
hoverColor: "var(--
|
|
994
|
-
activeColor: "var(--
|
|
995
|
-
},
|
|
996
|
-
separatorColor: "var(--
|
|
979
|
+
borderColor: "var(--vf-border-color)",
|
|
980
|
+
backgroundColor: "var(--vf-bg-color)"
|
|
981
|
+
}, Fr = {
|
|
982
|
+
hoverColor: "var(--vf-blue)",
|
|
983
|
+
activeColor: "var(--vf-blue)"
|
|
984
|
+
}, $r = {}, Br = {
|
|
985
|
+
separatorColor: "var(--vf-border-color)",
|
|
997
986
|
link: {
|
|
998
|
-
hoverColor: "var(--
|
|
999
|
-
activeColor: "var(--
|
|
987
|
+
hoverColor: "var(--vf-blue)",
|
|
988
|
+
activeColor: "var(--vf-blue)"
|
|
1000
989
|
},
|
|
1001
990
|
parent: {
|
|
1002
|
-
hoverColor: "var(--
|
|
1003
|
-
activeColor: "var(--
|
|
991
|
+
hoverColor: "var(--vf-secondary-text-color)",
|
|
992
|
+
activeColor: "var(--vf-blue)"
|
|
1004
993
|
},
|
|
1005
994
|
item: {
|
|
1006
995
|
marginTop: "0.5rem",
|
|
@@ -1008,40 +997,40 @@ const L = /* @__PURE__ */ O(ar, [["render", ur]]), A = (o, e) => "#" + o.replace
|
|
|
1008
997
|
marginBottom: "0.5rem",
|
|
1009
998
|
marginLeft: "0.5rem"
|
|
1010
999
|
}
|
|
1011
|
-
},
|
|
1012
|
-
backgroundColor: "var(--
|
|
1013
|
-
},
|
|
1000
|
+
}, Sr = {
|
|
1001
|
+
backgroundColor: "var(--vf-bg-color)"
|
|
1002
|
+
}, Vr = {
|
|
1014
1003
|
...Z,
|
|
1015
1004
|
components: {
|
|
1016
1005
|
base: Z,
|
|
1017
|
-
button:
|
|
1018
|
-
card:
|
|
1019
|
-
codeBlock:
|
|
1020
|
-
container:
|
|
1021
|
-
content:
|
|
1022
|
-
demo:
|
|
1023
|
-
footer:
|
|
1024
|
-
header:
|
|
1025
|
-
link:
|
|
1026
|
-
logo:
|
|
1027
|
-
menu:
|
|
1028
|
-
popover:
|
|
1006
|
+
button: gr,
|
|
1007
|
+
card: br,
|
|
1008
|
+
codeBlock: _r,
|
|
1009
|
+
container: mr,
|
|
1010
|
+
content: yr,
|
|
1011
|
+
demo: Cr,
|
|
1012
|
+
footer: wr,
|
|
1013
|
+
header: kr,
|
|
1014
|
+
link: Fr,
|
|
1015
|
+
logo: $r,
|
|
1016
|
+
menu: Br,
|
|
1017
|
+
popover: Sr
|
|
1029
1018
|
}
|
|
1030
1019
|
};
|
|
1031
1020
|
export {
|
|
1032
|
-
|
|
1033
|
-
|
|
1021
|
+
Lr as Button,
|
|
1022
|
+
me as Card,
|
|
1034
1023
|
L as Container,
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1024
|
+
ar as Content,
|
|
1025
|
+
jr as DefaultLayout,
|
|
1026
|
+
Vr as DefaultTheme,
|
|
1027
|
+
Mr as Demo,
|
|
1028
|
+
rr as Footer,
|
|
1029
|
+
Xo as Header,
|
|
1030
|
+
Pr as LeftSidebarLayout,
|
|
1042
1031
|
V as Link,
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1032
|
+
zr as Logo,
|
|
1033
|
+
Go as Menu,
|
|
1034
|
+
Tr as Popover,
|
|
1035
|
+
xr as VueForge
|
|
1047
1036
|
};
|