@codemonster-ru/vueforge 0.2.0 → 0.3.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/index.css +1 -1
- package/dist/index.d.ts +15 -15
- package/dist/index.ts.mjs +406 -450
- package/dist/index.ts.umd.js +3 -3
- package/dist/{components → package/components}/header.vue.d.ts +1 -2
- package/dist/package/layouts/defaultLayout.vue.d.ts +19 -0
- package/package.json +1 -1
- package/dist/layouts/defaultLayout.vue.d.ts +0 -19
- /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}/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,81 +1,65 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as F, openBlock as r, createElementBlock as s, createVNode as S, unref as g, withCtx as _, renderSlot as u, resolveComponent as E, createElementVNode as i, inject as H, ref as I, computed as w, normalizeClass as h, Fragment as M, createTextVNode as z, toDisplayString as O, createBlock as y, createCommentVNode as m, defineAsyncComponent as U, resolveDynamicComponent as K, createStaticVNode as q, renderList as G, reactive as W, withDirectives as J, createSlots as Q, vShow as X } from "vue";
|
|
2
|
+
const Y = { class: "vf-layout" }, Or = /* @__PURE__ */ F({
|
|
3
3
|
__name: "defaultLayout",
|
|
4
4
|
setup(o) {
|
|
5
|
-
return (e,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
]),
|
|
26
|
-
_: 1
|
|
27
|
-
}),
|
|
28
|
-
w(f(rr), null, {
|
|
29
|
-
default: h(() => [
|
|
30
|
-
w(f(L), null, {
|
|
31
|
-
default: h(() => [
|
|
32
|
-
u(e.$slots, "footerDefault")
|
|
33
|
-
]),
|
|
34
|
-
_: 3
|
|
35
|
-
})
|
|
36
|
-
]),
|
|
37
|
-
_: 3
|
|
38
|
-
})
|
|
39
|
-
]);
|
|
40
|
-
};
|
|
5
|
+
return (e, a) => (r(), s("div", Y, [
|
|
6
|
+
S(g(Qo), null, {
|
|
7
|
+
default: _(() => [
|
|
8
|
+
u(e.$slots, "header")
|
|
9
|
+
]),
|
|
10
|
+
_: 3
|
|
11
|
+
}),
|
|
12
|
+
S(g(sr), null, {
|
|
13
|
+
default: _(() => [
|
|
14
|
+
u(e.$slots, "content")
|
|
15
|
+
]),
|
|
16
|
+
_: 3
|
|
17
|
+
}),
|
|
18
|
+
S(g(or), null, {
|
|
19
|
+
default: _(() => [
|
|
20
|
+
u(e.$slots, "footer")
|
|
21
|
+
]),
|
|
22
|
+
_: 3
|
|
23
|
+
})
|
|
24
|
+
]));
|
|
41
25
|
}
|
|
42
|
-
}),
|
|
43
|
-
const
|
|
44
|
-
for (const [t,
|
|
45
|
-
|
|
46
|
-
return
|
|
47
|
-
},
|
|
48
|
-
function
|
|
49
|
-
const
|
|
50
|
-
return r(),
|
|
51
|
-
i("div",
|
|
26
|
+
}), $ = (o, e) => {
|
|
27
|
+
const a = o.__vccOpts || o;
|
|
28
|
+
for (const [t, n] of e)
|
|
29
|
+
a[t] = n;
|
|
30
|
+
return a;
|
|
31
|
+
}, ee = {}, oe = { class: "vf-left-sidebar-flexbox" }, re = { class: "vf-left-sidebar" }, te = { class: "vf-main-content" };
|
|
32
|
+
function le(o, e) {
|
|
33
|
+
const a = E("router-view");
|
|
34
|
+
return r(), s("div", oe, [
|
|
35
|
+
i("div", re, [
|
|
52
36
|
u(o.$slots, "leftSidebar")
|
|
53
37
|
]),
|
|
54
|
-
i("div",
|
|
55
|
-
|
|
38
|
+
i("div", te, [
|
|
39
|
+
S(a)
|
|
56
40
|
])
|
|
57
41
|
]);
|
|
58
42
|
}
|
|
59
|
-
const
|
|
43
|
+
const jr = /* @__PURE__ */ $(ee, [["render", le]]), ne = {}, se = { class: "vf-demo" };
|
|
60
44
|
function ae(o, e) {
|
|
61
|
-
return r(),
|
|
45
|
+
return r(), s("div", se, [
|
|
62
46
|
u(o.$slots, "default")
|
|
63
47
|
]);
|
|
64
48
|
}
|
|
65
|
-
const
|
|
49
|
+
const Pr = /* @__PURE__ */ $(ne, [["render", ae]]);
|
|
66
50
|
/*!
|
|
67
51
|
* vue-router v4.5.0
|
|
68
52
|
* (c) 2024 Eduardo San Martin Morote
|
|
69
53
|
* @license MIT
|
|
70
54
|
*/
|
|
71
|
-
var
|
|
55
|
+
var T;
|
|
72
56
|
(function(o) {
|
|
73
57
|
o.pop = "pop", o.push = "push";
|
|
74
|
-
})(
|
|
75
|
-
var
|
|
58
|
+
})(T || (T = {}));
|
|
59
|
+
var V;
|
|
76
60
|
(function(o) {
|
|
77
61
|
o.back = "back", o.forward = "forward", o.unknown = "";
|
|
78
|
-
})(
|
|
62
|
+
})(V || (V = {}));
|
|
79
63
|
Symbol(process.env.NODE_ENV !== "production" ? "navigation failure" : "");
|
|
80
64
|
var N;
|
|
81
65
|
(function(o) {
|
|
@@ -84,12 +68,12 @@ var N;
|
|
|
84
68
|
Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : "");
|
|
85
69
|
Symbol(process.env.NODE_ENV !== "production" ? "router view depth" : "");
|
|
86
70
|
Symbol(process.env.NODE_ENV !== "production" ? "router" : "");
|
|
87
|
-
const
|
|
71
|
+
const ce = Symbol(process.env.NODE_ENV !== "production" ? "route location" : "");
|
|
88
72
|
Symbol(process.env.NODE_ENV !== "production" ? "router view location" : "");
|
|
89
|
-
function
|
|
90
|
-
return
|
|
73
|
+
function ie(o) {
|
|
74
|
+
return H(ce);
|
|
91
75
|
}
|
|
92
|
-
const
|
|
76
|
+
const ue = ["href"], L = /* @__PURE__ */ F({
|
|
93
77
|
__name: "link",
|
|
94
78
|
props: {
|
|
95
79
|
to: { default: "" },
|
|
@@ -101,66 +85,66 @@ const de = ["href"], V = /* @__PURE__ */ k({
|
|
|
101
85
|
},
|
|
102
86
|
emits: ["onActive"],
|
|
103
87
|
setup(o, { emit: e }) {
|
|
104
|
-
const
|
|
105
|
-
return (
|
|
106
|
-
const v =
|
|
107
|
-
return
|
|
88
|
+
const a = e, t = o, n = ie(), l = I(null), b = w(() => (t.type === "router-link" && n.matched.some(({ name: f }) => t.to.name === f) && a("onActive"), t.active));
|
|
89
|
+
return (f, d) => {
|
|
90
|
+
const v = E("router-link");
|
|
91
|
+
return f.type === "a" ? (r(), s("a", {
|
|
108
92
|
key: 0,
|
|
109
|
-
href:
|
|
110
|
-
class:
|
|
93
|
+
href: f.url,
|
|
94
|
+
class: h(["vf-link", { "vf-link_active": f.active, "vf-link_disabled": f.disabled }])
|
|
111
95
|
}, [
|
|
112
|
-
|
|
113
|
-
z(
|
|
96
|
+
f.$slots.default ? u(f.$slots, "default", { key: 0 }) : (r(), s(M, { key: 1 }, [
|
|
97
|
+
z(O(f.label), 1)
|
|
114
98
|
], 64))
|
|
115
|
-
], 10,
|
|
99
|
+
], 10, ue)) : (r(), y(v, {
|
|
116
100
|
key: 1,
|
|
117
101
|
ref_key: "link",
|
|
118
|
-
ref:
|
|
119
|
-
to:
|
|
120
|
-
class:
|
|
121
|
-
disabled:
|
|
122
|
-
"active-class": "
|
|
123
|
-
"exact-active-class": "
|
|
102
|
+
ref: l,
|
|
103
|
+
to: f.to,
|
|
104
|
+
class: h(["vf-link", { "vf-link_active": b.value }]),
|
|
105
|
+
disabled: f.disabled,
|
|
106
|
+
"active-class": "vf-link_partially-active",
|
|
107
|
+
"exact-active-class": "vf-link_active"
|
|
124
108
|
}, {
|
|
125
|
-
default:
|
|
126
|
-
|
|
127
|
-
z(
|
|
109
|
+
default: _(() => [
|
|
110
|
+
f.$slots.default ? u(f.$slots, "default", { key: 0 }) : (r(), s(M, { key: 1 }, [
|
|
111
|
+
z(O(f.label), 1)
|
|
128
112
|
], 64))
|
|
129
113
|
]),
|
|
130
114
|
_: 3
|
|
131
115
|
}, 8, ["to", "class", "disabled"]));
|
|
132
116
|
};
|
|
133
117
|
}
|
|
134
|
-
}),
|
|
118
|
+
}), de = {}, ve = { class: "vf-card" }, fe = {
|
|
135
119
|
key: 0,
|
|
136
|
-
class: "
|
|
120
|
+
class: "vf-card__default"
|
|
137
121
|
}, he = {
|
|
138
122
|
key: 1,
|
|
139
|
-
class: "
|
|
123
|
+
class: "vf-card__header"
|
|
140
124
|
}, pe = {
|
|
141
125
|
key: 2,
|
|
142
|
-
class: "
|
|
126
|
+
class: "vf-card__body"
|
|
143
127
|
}, ge = {
|
|
144
128
|
key: 3,
|
|
145
|
-
class: "
|
|
129
|
+
class: "vf-card__footer"
|
|
146
130
|
};
|
|
147
131
|
function be(o, e) {
|
|
148
|
-
return r(),
|
|
149
|
-
o.$slots.default ? (r(),
|
|
132
|
+
return r(), s("div", ve, [
|
|
133
|
+
o.$slots.default ? (r(), s("div", fe, [
|
|
150
134
|
u(o.$slots, "default")
|
|
151
|
-
])) :
|
|
152
|
-
o.$slots.header ? (r(),
|
|
135
|
+
])) : m("", !0),
|
|
136
|
+
o.$slots.header ? (r(), s("div", he, [
|
|
153
137
|
u(o.$slots, "header")
|
|
154
|
-
])) :
|
|
155
|
-
o.$slots.body ? (r(),
|
|
138
|
+
])) : m("", !0),
|
|
139
|
+
o.$slots.body ? (r(), s("div", pe, [
|
|
156
140
|
u(o.$slots, "body")
|
|
157
|
-
])) :
|
|
158
|
-
o.$slots.footer ? (r(),
|
|
141
|
+
])) : m("", !0),
|
|
142
|
+
o.$slots.footer ? (r(), s("div", ge, [
|
|
159
143
|
u(o.$slots, "footer")
|
|
160
|
-
])) :
|
|
144
|
+
])) : m("", !0)
|
|
161
145
|
]);
|
|
162
146
|
}
|
|
163
|
-
const _e = /* @__PURE__ */
|
|
147
|
+
const _e = /* @__PURE__ */ $(de, [["render", be]]), me = { class: "vf-logo" }, ye = ["src", "width", "height", "alt"], Ce = ["src", "width", "height", "alt"], Mr = /* @__PURE__ */ F({
|
|
164
148
|
__name: "logo",
|
|
165
149
|
props: {
|
|
166
150
|
to: { default: void 0 },
|
|
@@ -173,79 +157,79 @@ const _e = /* @__PURE__ */ O(ve, [["render", be]]), ye = { class: "cm-logo" }, C
|
|
|
173
157
|
height: { default: void 0 }
|
|
174
158
|
},
|
|
175
159
|
setup(o) {
|
|
176
|
-
const e = o,
|
|
177
|
-
return (t,
|
|
178
|
-
t.type.length ? (r(), y(
|
|
160
|
+
const e = o, a = w(() => Array.isArray(e.src) ? e.dark ? e.src[1] : e.src[0] : e.src);
|
|
161
|
+
return (t, n) => (r(), s("div", me, [
|
|
162
|
+
t.type.length ? (r(), y(g(L), {
|
|
179
163
|
key: 0,
|
|
180
164
|
type: t.type,
|
|
181
165
|
to: t.to,
|
|
182
166
|
url: t.url
|
|
183
167
|
}, {
|
|
184
|
-
default:
|
|
168
|
+
default: _(() => [
|
|
185
169
|
i("img", {
|
|
186
|
-
src:
|
|
170
|
+
src: a.value,
|
|
187
171
|
width: t.width,
|
|
188
172
|
height: t.height,
|
|
189
173
|
alt: t.alt
|
|
190
|
-
}, null, 8,
|
|
174
|
+
}, null, 8, ye)
|
|
191
175
|
]),
|
|
192
176
|
_: 1
|
|
193
|
-
}, 8, ["type", "to", "url"])) : (r(),
|
|
177
|
+
}, 8, ["type", "to", "url"])) : (r(), s("img", {
|
|
194
178
|
key: 1,
|
|
195
|
-
src:
|
|
179
|
+
src: a.value,
|
|
196
180
|
width: t.width,
|
|
197
181
|
height: t.height,
|
|
198
182
|
alt: t.alt
|
|
199
|
-
}, null, 8,
|
|
183
|
+
}, null, 8, Ce))
|
|
200
184
|
]));
|
|
201
185
|
}
|
|
202
|
-
}),
|
|
203
|
-
const
|
|
204
|
-
for (const [t,
|
|
205
|
-
|
|
206
|
-
return
|
|
207
|
-
},
|
|
186
|
+
}), p = (o, e) => {
|
|
187
|
+
const a = o.__vccOpts || o;
|
|
188
|
+
for (const [t, n] of e)
|
|
189
|
+
a[t] = n;
|
|
190
|
+
return a;
|
|
191
|
+
}, we = {}, ke = {
|
|
208
192
|
xmlns: "http://www.w3.org/2000/svg",
|
|
209
193
|
viewBox: "0 0 512 512",
|
|
210
194
|
fill: "none",
|
|
211
195
|
width: "16",
|
|
212
196
|
height: "16"
|
|
213
197
|
};
|
|
214
|
-
function
|
|
215
|
-
return r(),
|
|
216
|
-
|
|
198
|
+
function Fe(o, e) {
|
|
199
|
+
return r(), s("svg", ke, e[0] || (e[0] = [
|
|
200
|
+
q('<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
201
|
]));
|
|
218
202
|
}
|
|
219
|
-
const
|
|
203
|
+
const $e = /* @__PURE__ */ p(we, [["render", Fe]]), Be = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
220
204
|
__proto__: null,
|
|
221
|
-
default:
|
|
222
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
205
|
+
default: $e
|
|
206
|
+
}, Symbol.toStringTag, { value: "Module" })), Se = {}, Oe = {
|
|
223
207
|
xmlns: "http://www.w3.org/2000/svg",
|
|
224
208
|
viewBox: "0 0 512 512",
|
|
225
209
|
fill: "none",
|
|
226
210
|
width: "16",
|
|
227
211
|
height: "16"
|
|
228
212
|
};
|
|
229
|
-
function
|
|
230
|
-
return r(),
|
|
213
|
+
function je(o, e) {
|
|
214
|
+
return r(), s("svg", Oe, e[0] || (e[0] = [
|
|
231
215
|
i("path", {
|
|
232
216
|
fill: "currentColor",
|
|
233
217
|
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
218
|
}, null, -1)
|
|
235
219
|
]));
|
|
236
220
|
}
|
|
237
|
-
const
|
|
221
|
+
const Pe = /* @__PURE__ */ p(Se, [["render", je]]), Me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
238
222
|
__proto__: null,
|
|
239
|
-
default:
|
|
240
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
223
|
+
default: Pe
|
|
224
|
+
}, Symbol.toStringTag, { value: "Module" })), ze = {}, xe = {
|
|
241
225
|
xmlns: "http://www.w3.org/2000/svg",
|
|
242
226
|
viewBox: "0 0 512 512",
|
|
243
227
|
fill: "none",
|
|
244
228
|
width: "16",
|
|
245
229
|
height: "16"
|
|
246
230
|
};
|
|
247
|
-
function
|
|
248
|
-
return r(),
|
|
231
|
+
function Le(o, e) {
|
|
232
|
+
return r(), s("svg", xe, e[0] || (e[0] = [
|
|
249
233
|
i("path", {
|
|
250
234
|
fill: "currentColor",
|
|
251
235
|
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 +244,18 @@ function xe(o, e) {
|
|
|
260
244
|
}, null, -1)
|
|
261
245
|
]));
|
|
262
246
|
}
|
|
263
|
-
const
|
|
247
|
+
const Te = /* @__PURE__ */ p(ze, [["render", Le]]), Ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
264
248
|
__proto__: null,
|
|
265
|
-
default:
|
|
266
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
249
|
+
default: Te
|
|
250
|
+
}, Symbol.toStringTag, { value: "Module" })), Ne = {}, Re = {
|
|
267
251
|
xmlns: "http://www.w3.org/2000/svg",
|
|
268
252
|
viewBox: "0 0 512 512",
|
|
269
253
|
fill: "none",
|
|
270
254
|
width: "16",
|
|
271
255
|
height: "16"
|
|
272
256
|
};
|
|
273
|
-
function
|
|
274
|
-
return r(),
|
|
257
|
+
function De(o, e) {
|
|
258
|
+
return r(), s("svg", Re, e[0] || (e[0] = [
|
|
275
259
|
i("path", {
|
|
276
260
|
fill: "currentColor",
|
|
277
261
|
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 +268,54 @@ function Ee(o, e) {
|
|
|
284
268
|
}, null, -1)
|
|
285
269
|
]));
|
|
286
270
|
}
|
|
287
|
-
const
|
|
271
|
+
const Ee = /* @__PURE__ */ p(Ne, [["render", De]]), Ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
288
272
|
__proto__: null,
|
|
289
|
-
default:
|
|
290
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
273
|
+
default: Ee
|
|
274
|
+
}, Symbol.toStringTag, { value: "Module" })), Ae = {}, He = {
|
|
291
275
|
xmlns: "http://www.w3.org/2000/svg",
|
|
292
276
|
viewBox: "0 0 512 512",
|
|
293
277
|
fill: "none",
|
|
294
278
|
width: "16",
|
|
295
279
|
height: "16"
|
|
296
280
|
};
|
|
297
|
-
function
|
|
298
|
-
return r(),
|
|
281
|
+
function Ie(o, e) {
|
|
282
|
+
return r(), s("svg", He, e[0] || (e[0] = [
|
|
299
283
|
i("path", {
|
|
300
284
|
fill: "currentColor",
|
|
301
285
|
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
286
|
}, null, -1)
|
|
303
287
|
]));
|
|
304
288
|
}
|
|
305
|
-
const
|
|
289
|
+
const Ue = /* @__PURE__ */ p(Ae, [["render", Ie]]), Ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
306
290
|
__proto__: null,
|
|
307
|
-
default:
|
|
308
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
291
|
+
default: Ue
|
|
292
|
+
}, Symbol.toStringTag, { value: "Module" })), qe = {}, Ge = {
|
|
309
293
|
xmlns: "http://www.w3.org/2000/svg",
|
|
310
294
|
viewBox: "0 0 512 512",
|
|
311
295
|
fill: "none",
|
|
312
296
|
width: "16",
|
|
313
297
|
height: "16"
|
|
314
298
|
};
|
|
315
|
-
function
|
|
316
|
-
return r(),
|
|
299
|
+
function We(o, e) {
|
|
300
|
+
return r(), s("svg", Ge, e[0] || (e[0] = [
|
|
317
301
|
i("path", {
|
|
318
302
|
fill: "currentColor",
|
|
319
303
|
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
304
|
}, null, -1)
|
|
321
305
|
]));
|
|
322
306
|
}
|
|
323
|
-
const
|
|
307
|
+
const Je = /* @__PURE__ */ p(qe, [["render", We]]), Qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
324
308
|
__proto__: null,
|
|
325
|
-
default:
|
|
326
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
309
|
+
default: Je
|
|
310
|
+
}, Symbol.toStringTag, { value: "Module" })), Xe = {}, Ye = {
|
|
327
311
|
xmlns: "http://www.w3.org/2000/svg",
|
|
328
312
|
viewBox: "0 0 512 512",
|
|
329
313
|
fill: "none",
|
|
330
314
|
width: "16",
|
|
331
315
|
height: "16"
|
|
332
316
|
};
|
|
333
|
-
function
|
|
334
|
-
return r(),
|
|
317
|
+
function eo(o, e) {
|
|
318
|
+
return r(), s("svg", Ye, e[0] || (e[0] = [
|
|
335
319
|
i("g", null, [
|
|
336
320
|
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
321
|
i("path", {
|
|
@@ -345,18 +329,18 @@ function oo(o, e) {
|
|
|
345
329
|
}, null, -1)
|
|
346
330
|
]));
|
|
347
331
|
}
|
|
348
|
-
const
|
|
332
|
+
const oo = /* @__PURE__ */ p(Xe, [["render", eo]]), ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
349
333
|
__proto__: null,
|
|
350
|
-
default:
|
|
351
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
334
|
+
default: oo
|
|
335
|
+
}, Symbol.toStringTag, { value: "Module" })), to = {}, lo = {
|
|
352
336
|
xmlns: "http://www.w3.org/2000/svg",
|
|
353
337
|
viewBox: "0 0 512 512",
|
|
354
338
|
fill: "none",
|
|
355
339
|
width: "16",
|
|
356
340
|
height: "16"
|
|
357
341
|
};
|
|
358
|
-
function
|
|
359
|
-
return r(),
|
|
342
|
+
function no(o, e) {
|
|
343
|
+
return r(), s("svg", lo, e[0] || (e[0] = [
|
|
360
344
|
i("path", {
|
|
361
345
|
fill: "currentColor",
|
|
362
346
|
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,27 +351,27 @@ function co(o, e) {
|
|
|
367
351
|
}, null, -1)
|
|
368
352
|
]));
|
|
369
353
|
}
|
|
370
|
-
const so = /* @__PURE__ */
|
|
354
|
+
const so = /* @__PURE__ */ p(to, [["render", no]]), ao = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
371
355
|
__proto__: null,
|
|
372
356
|
default: so
|
|
373
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
357
|
+
}, Symbol.toStringTag, { value: "Module" })), co = {}, io = {
|
|
374
358
|
xmlns: "http://www.w3.org/2000/svg",
|
|
375
359
|
viewBox: "0 0 512 512",
|
|
376
360
|
fill: "none",
|
|
377
361
|
width: "16",
|
|
378
362
|
height: "16"
|
|
379
363
|
};
|
|
380
|
-
function
|
|
381
|
-
return r(),
|
|
364
|
+
function uo(o, e) {
|
|
365
|
+
return r(), s("svg", io, e[0] || (e[0] = [
|
|
382
366
|
i("path", {
|
|
383
367
|
fill: "currentColor",
|
|
384
368
|
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
369
|
}, null, -1)
|
|
386
370
|
]));
|
|
387
371
|
}
|
|
388
|
-
const
|
|
372
|
+
const vo = /* @__PURE__ */ p(co, [["render", uo]]), fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
389
373
|
__proto__: null,
|
|
390
|
-
default:
|
|
374
|
+
default: vo
|
|
391
375
|
}, Symbol.toStringTag, { value: "Module" })), ho = {}, po = {
|
|
392
376
|
xmlns: "http://www.w3.org/2000/svg",
|
|
393
377
|
viewBox: "0 0 512 512",
|
|
@@ -396,61 +380,61 @@ const mo = /* @__PURE__ */ g(io, [["render", vo]]), fo = /* @__PURE__ */ Object.
|
|
|
396
380
|
height: "16"
|
|
397
381
|
};
|
|
398
382
|
function go(o, e) {
|
|
399
|
-
return r(),
|
|
383
|
+
return r(), s("svg", po, e[0] || (e[0] = [
|
|
400
384
|
i("path", {
|
|
401
385
|
fill: "currentColor",
|
|
402
386
|
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
387
|
}, null, -1)
|
|
404
388
|
]));
|
|
405
389
|
}
|
|
406
|
-
const bo = /* @__PURE__ */
|
|
390
|
+
const bo = /* @__PURE__ */ p(ho, [["render", go]]), _o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
407
391
|
__proto__: null,
|
|
408
392
|
default: bo
|
|
409
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
393
|
+
}, Symbol.toStringTag, { value: "Module" })), mo = {}, yo = {
|
|
410
394
|
xmlns: "http://www.w3.org/2000/svg",
|
|
411
395
|
viewBox: "0 0 512 512",
|
|
412
396
|
fill: "none",
|
|
413
397
|
width: "16",
|
|
414
398
|
height: "16"
|
|
415
399
|
};
|
|
416
|
-
function
|
|
417
|
-
return r(),
|
|
400
|
+
function Co(o, e) {
|
|
401
|
+
return r(), s("svg", yo, e[0] || (e[0] = [
|
|
418
402
|
i("path", {
|
|
419
403
|
fill: "currentColor",
|
|
420
404
|
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
405
|
}, null, -1)
|
|
422
406
|
]));
|
|
423
407
|
}
|
|
424
|
-
const
|
|
408
|
+
const wo = /* @__PURE__ */ p(mo, [["render", Co]]), ko = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
425
409
|
__proto__: null,
|
|
426
|
-
default:
|
|
427
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
410
|
+
default: wo
|
|
411
|
+
}, Symbol.toStringTag, { value: "Module" })), Fo = {}, $o = {
|
|
428
412
|
xmlns: "http://www.w3.org/2000/svg",
|
|
429
413
|
viewBox: "0 0 512 512",
|
|
430
414
|
fill: "none",
|
|
431
415
|
width: "16",
|
|
432
416
|
height: "16"
|
|
433
417
|
};
|
|
434
|
-
function
|
|
435
|
-
return r(),
|
|
418
|
+
function Bo(o, e) {
|
|
419
|
+
return r(), s("svg", $o, e[0] || (e[0] = [
|
|
436
420
|
i("path", {
|
|
437
421
|
fill: "currentColor",
|
|
438
422
|
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
423
|
}, null, -1)
|
|
440
424
|
]));
|
|
441
425
|
}
|
|
442
|
-
const
|
|
426
|
+
const So = /* @__PURE__ */ p(Fo, [["render", Bo]]), Oo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
443
427
|
__proto__: null,
|
|
444
|
-
default:
|
|
445
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
428
|
+
default: So
|
|
429
|
+
}, Symbol.toStringTag, { value: "Module" })), jo = {}, Po = {
|
|
446
430
|
xmlns: "http://www.w3.org/2000/svg",
|
|
447
431
|
viewBox: "0 0 512 512",
|
|
448
432
|
fill: "none",
|
|
449
433
|
width: "16",
|
|
450
434
|
height: "16"
|
|
451
435
|
};
|
|
452
|
-
function
|
|
453
|
-
return r(),
|
|
436
|
+
function Mo(o, e) {
|
|
437
|
+
return r(), s("svg", Po, e[0] || (e[0] = [
|
|
454
438
|
i("path", {
|
|
455
439
|
fill: "currentColor",
|
|
456
440
|
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 +445,48 @@ function zo(o, e) {
|
|
|
461
445
|
}, null, -1)
|
|
462
446
|
]));
|
|
463
447
|
}
|
|
464
|
-
const
|
|
448
|
+
const zo = /* @__PURE__ */ p(jo, [["render", Mo]]), xo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
465
449
|
__proto__: null,
|
|
466
|
-
default:
|
|
467
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
450
|
+
default: zo
|
|
451
|
+
}, Symbol.toStringTag, { value: "Module" })), Lo = {}, To = {
|
|
468
452
|
xmlns: "http://www.w3.org/2000/svg",
|
|
469
453
|
viewBox: "0 0 512 512",
|
|
470
454
|
fill: "none",
|
|
471
455
|
width: "16",
|
|
472
456
|
height: "16"
|
|
473
457
|
};
|
|
474
|
-
function
|
|
475
|
-
return r(),
|
|
458
|
+
function Vo(o, e) {
|
|
459
|
+
return r(), s("svg", To, e[0] || (e[0] = [
|
|
476
460
|
i("path", {
|
|
477
461
|
fill: "currentColor",
|
|
478
462
|
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
463
|
}, null, -1)
|
|
480
464
|
]));
|
|
481
465
|
}
|
|
482
|
-
const
|
|
466
|
+
const No = /* @__PURE__ */ p(Lo, [["render", Vo]]), Ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
483
467
|
__proto__: null,
|
|
484
|
-
default:
|
|
485
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
468
|
+
default: No
|
|
469
|
+
}, Symbol.toStringTag, { value: "Module" })), Do = (o, e, a) => {
|
|
486
470
|
const t = o[e];
|
|
487
|
-
return t ? typeof t == "function" ? t() : Promise.resolve(t) : new Promise((
|
|
471
|
+
return t ? typeof t == "function" ? t() : Promise.resolve(t) : new Promise((n, l) => {
|
|
488
472
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
|
|
489
|
-
|
|
473
|
+
l.bind(
|
|
490
474
|
null,
|
|
491
475
|
new Error(
|
|
492
|
-
"Unknown variable dynamic import: " + e + (e.split("/").length !==
|
|
476
|
+
"Unknown variable dynamic import: " + e + (e.split("/").length !== a ? ". Note that variables only represent file names one level deep." : "")
|
|
493
477
|
)
|
|
494
478
|
)
|
|
495
479
|
);
|
|
496
480
|
});
|
|
497
|
-
},
|
|
498
|
-
list:
|
|
499
|
-
},
|
|
481
|
+
}, Eo = ["bars", "check", "chevronDown", "chevronLeft", "chevronRight", "chevronUp", "circleHalf", "circleNotch", "house", "magnifyingGlass", "moon", "rotateRight", "sun", "user"], Zo = {
|
|
482
|
+
list: Eo
|
|
483
|
+
}, Ao = /* @__PURE__ */ F({
|
|
500
484
|
__name: "icon",
|
|
501
485
|
props: {
|
|
502
486
|
icon: {
|
|
503
487
|
type: String,
|
|
504
488
|
default: "moon",
|
|
505
|
-
validator: (o) =>
|
|
489
|
+
validator: (o) => Zo.list.indexOf(o) > -1
|
|
506
490
|
},
|
|
507
491
|
spin: {
|
|
508
492
|
type: Boolean,
|
|
@@ -510,24 +494,24 @@ const Do = /* @__PURE__ */ g(xo, [["render", Ro]]), No = /* @__PURE__ */ Object.
|
|
|
510
494
|
}
|
|
511
495
|
},
|
|
512
496
|
setup(o) {
|
|
513
|
-
const e = o,
|
|
514
|
-
const
|
|
515
|
-
return
|
|
516
|
-
}), t =
|
|
517
|
-
let
|
|
518
|
-
return e.spin &&
|
|
497
|
+
const e = o, a = w(() => {
|
|
498
|
+
const n = e.icon;
|
|
499
|
+
return U(() => Do(/* @__PURE__ */ Object.assign({ "./bars.vue": () => Promise.resolve().then(() => Ve), "./check.vue": () => Promise.resolve().then(() => Qe), "./chevronDown.vue": () => Promise.resolve().then(() => _o), "./chevronLeft.vue": () => Promise.resolve().then(() => ko), "./chevronRight.vue": () => Promise.resolve().then(() => Oo), "./chevronUp.vue": () => Promise.resolve().then(() => fo), "./circleHalf.vue": () => Promise.resolve().then(() => ro), "./circleNotch.vue": () => Promise.resolve().then(() => Ro), "./house.vue": () => Promise.resolve().then(() => Ke), "./icon.vue": () => Promise.resolve().then(() => Ho), "./magnifyingGlass.vue": () => Promise.resolve().then(() => xo), "./moon.vue": () => Promise.resolve().then(() => Me), "./rotateRight.vue": () => Promise.resolve().then(() => ao), "./sun.vue": () => Promise.resolve().then(() => Be), "./user.vue": () => Promise.resolve().then(() => Ze) }), `./${n}.vue`, 2));
|
|
500
|
+
}), t = w(() => {
|
|
501
|
+
let n = ["cm-icon"];
|
|
502
|
+
return e.spin && n.push("cm-icon_animations_spin"), n;
|
|
519
503
|
});
|
|
520
|
-
return (
|
|
521
|
-
class:
|
|
504
|
+
return (n, l) => (r(), y(K(a.value), {
|
|
505
|
+
class: h(t.value)
|
|
522
506
|
}, null, 8, ["class"]));
|
|
523
507
|
}
|
|
524
|
-
}),
|
|
508
|
+
}), k = /* @__PURE__ */ p(Ao, [["__scopeId", "data-v-e8b1cecb"]]), Ho = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
525
509
|
__proto__: null,
|
|
526
|
-
default:
|
|
527
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
510
|
+
default: k
|
|
511
|
+
}, Symbol.toStringTag, { value: "Module" })), Io = { class: "vf-menu__list" }, Uo = {
|
|
528
512
|
key: 1,
|
|
529
|
-
class: "
|
|
530
|
-
},
|
|
513
|
+
class: "vf-menu__separator"
|
|
514
|
+
}, Ko = ["onClick"], qo = /* @__PURE__ */ F({
|
|
531
515
|
__name: "menu",
|
|
532
516
|
props: {
|
|
533
517
|
items: {},
|
|
@@ -535,66 +519,66 @@ const Do = /* @__PURE__ */ g(xo, [["render", Ro]]), No = /* @__PURE__ */ Object.
|
|
|
535
519
|
},
|
|
536
520
|
emits: ["onActive"],
|
|
537
521
|
setup(o, { emit: e }) {
|
|
538
|
-
const
|
|
522
|
+
const a = e, t = o, n = (d, v) => `${d.label}_${v.toString()}`, l = (d) => Object.prototype.hasOwnProperty.call(d, "to") ? "router-link" : "a", b = (d) => {
|
|
539
523
|
Object.prototype.hasOwnProperty.call(d, "items") ? (t.items.map((v) => {
|
|
540
524
|
v !== d && (v.subMenuVisible = !1);
|
|
541
525
|
}), d.subMenuVisible = !d.subMenuVisible) : Object.prototype.hasOwnProperty.call(d, "command") && d.command();
|
|
542
|
-
},
|
|
526
|
+
}, f = (d) => {
|
|
543
527
|
var v;
|
|
544
|
-
for (const
|
|
545
|
-
const C = t.items[
|
|
528
|
+
for (const c in t.items) {
|
|
529
|
+
const C = t.items[c];
|
|
546
530
|
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
531
|
}
|
|
548
|
-
|
|
532
|
+
a("onActive", d);
|
|
549
533
|
};
|
|
550
|
-
return (d, v) => (r(),
|
|
551
|
-
class:
|
|
534
|
+
return (d, v) => (r(), s("div", {
|
|
535
|
+
class: h(["vf-menu", `vf-menu_${d.orientation}`])
|
|
552
536
|
}, [
|
|
553
|
-
i("ul",
|
|
554
|
-
(r(!0),
|
|
555
|
-
key: c
|
|
556
|
-
class: "
|
|
537
|
+
i("ul", Io, [
|
|
538
|
+
(r(!0), s(M, null, G(d.items, (c, C) => (r(), s("li", {
|
|
539
|
+
key: n(c, C),
|
|
540
|
+
class: "vf-menu__item"
|
|
557
541
|
}, [
|
|
558
|
-
d.$slots[c
|
|
542
|
+
d.$slots[n(c, C)] ? u(d.$slots, n(c, C), {
|
|
559
543
|
key: 0,
|
|
560
|
-
item: { ...
|
|
561
|
-
}) :
|
|
544
|
+
item: { ...c, class: "vf-menu__link" }
|
|
545
|
+
}) : c.separator ? (r(), s("hr", Uo)) : c.hasOwnProperty("items") ? (r(), s(M, { key: 2 }, [
|
|
562
546
|
i("div", {
|
|
563
|
-
class:
|
|
564
|
-
onClick: (P) =>
|
|
547
|
+
class: h(["vf-menu__parent", { "vf-menu__parent_active": c.active }]),
|
|
548
|
+
onClick: (P) => b(c)
|
|
565
549
|
}, [
|
|
566
|
-
|
|
550
|
+
c.icon ? (r(), y(g(k), {
|
|
567
551
|
key: 0,
|
|
568
|
-
icon:
|
|
569
|
-
class: "
|
|
570
|
-
}, null, 8, ["icon"])) :
|
|
571
|
-
z(" " +
|
|
572
|
-
|
|
573
|
-
], 10,
|
|
574
|
-
|
|
552
|
+
icon: c.icon,
|
|
553
|
+
class: "vf-menu__icon"
|
|
554
|
+
}, null, 8, ["icon"])) : m("", !0),
|
|
555
|
+
z(" " + O(c.label) + " ", 1),
|
|
556
|
+
S(g(k), { icon: "chevronDown" })
|
|
557
|
+
], 10, Ko),
|
|
558
|
+
c.items ? (r(), y(g(qo), {
|
|
575
559
|
key: 0,
|
|
576
|
-
items:
|
|
577
|
-
class:
|
|
578
|
-
onOnActive:
|
|
579
|
-
}, null, 8, ["items", "class"])) :
|
|
580
|
-
], 64)) : (r(), y(
|
|
560
|
+
items: c.items,
|
|
561
|
+
class: h(["vf-menu__submenu", { "vf-menu__submenu_visible": c.subMenuVisible }]),
|
|
562
|
+
onOnActive: f
|
|
563
|
+
}, null, 8, ["items", "class"])) : m("", !0)
|
|
564
|
+
], 64)) : (r(), y(g(L), {
|
|
581
565
|
key: 3,
|
|
582
|
-
to:
|
|
583
|
-
url:
|
|
584
|
-
type:
|
|
585
|
-
class: "
|
|
586
|
-
active:
|
|
587
|
-
disabled:
|
|
588
|
-
onClick: (P) =>
|
|
589
|
-
onOnActive: (P) =>
|
|
566
|
+
to: c.to,
|
|
567
|
+
url: c.url,
|
|
568
|
+
type: l(c),
|
|
569
|
+
class: "vf-menu__link",
|
|
570
|
+
active: c.active,
|
|
571
|
+
disabled: c.disabled,
|
|
572
|
+
onClick: (P) => b(c),
|
|
573
|
+
onOnActive: (P) => f(c)
|
|
590
574
|
}, {
|
|
591
|
-
default:
|
|
592
|
-
|
|
575
|
+
default: _(() => [
|
|
576
|
+
c.icon ? (r(), y(g(k), {
|
|
593
577
|
key: 0,
|
|
594
|
-
icon:
|
|
595
|
-
class: "
|
|
596
|
-
}, null, 8, ["icon"])) :
|
|
597
|
-
z(" " +
|
|
578
|
+
icon: c.icon,
|
|
579
|
+
class: "vf-menu__icon"
|
|
580
|
+
}, null, 8, ["icon"])) : m("", !0),
|
|
581
|
+
z(" " + O(c.label), 1)
|
|
598
582
|
]),
|
|
599
583
|
_: 2
|
|
600
584
|
}, 1032, ["to", "url", "type", "active", "disabled", "onClick", "onOnActive"]))
|
|
@@ -602,36 +586,19 @@ const Do = /* @__PURE__ */ g(xo, [["render", Ro]]), No = /* @__PURE__ */ Object.
|
|
|
602
586
|
])
|
|
603
587
|
], 2));
|
|
604
588
|
}
|
|
605
|
-
}), Wo = { class: "
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
}, Qo = {
|
|
609
|
-
key: 1,
|
|
610
|
-
class: "cm-header__right"
|
|
611
|
-
}, Xo = /* @__PURE__ */ k({
|
|
612
|
-
__name: "header",
|
|
613
|
-
setup(o) {
|
|
614
|
-
return (e, s) => (r(), l("header", Wo, [
|
|
615
|
-
w(f(L), null, {
|
|
616
|
-
default: h(() => [
|
|
617
|
-
e.$slots.left ? (r(), l("div", Jo, [
|
|
618
|
-
u(e.$slots, "left")
|
|
619
|
-
])) : b("", !0),
|
|
620
|
-
e.$slots.right ? (r(), l("div", Qo, [
|
|
621
|
-
u(e.$slots, "right")
|
|
622
|
-
])) : b("", !0)
|
|
623
|
-
]),
|
|
624
|
-
_: 3
|
|
625
|
-
})
|
|
626
|
-
]));
|
|
627
|
-
}
|
|
628
|
-
}), Yo = {}, er = { class: "cm-footer" };
|
|
629
|
-
function or(o, e) {
|
|
630
|
-
return r(), l("footer", er, [
|
|
589
|
+
}), Go = {}, Wo = { class: "vf-header" };
|
|
590
|
+
function Jo(o, e) {
|
|
591
|
+
return r(), s("header", Wo, [
|
|
631
592
|
u(o.$slots, "default")
|
|
632
593
|
]);
|
|
633
594
|
}
|
|
634
|
-
const
|
|
595
|
+
const Qo = /* @__PURE__ */ $(Go, [["render", Jo]]), Xo = {}, Yo = { class: "vf-footer" };
|
|
596
|
+
function er(o, e) {
|
|
597
|
+
return r(), s("footer", Yo, [
|
|
598
|
+
u(o.$slots, "default")
|
|
599
|
+
]);
|
|
600
|
+
}
|
|
601
|
+
const or = /* @__PURE__ */ $(Xo, [["render", er]]), rr = ["disabled"], zr = /* @__PURE__ */ F({
|
|
635
602
|
__name: "button",
|
|
636
603
|
props: {
|
|
637
604
|
to: { default: void 0 },
|
|
@@ -647,161 +614,150 @@ const rr = /* @__PURE__ */ O(Yo, [["render", or]]), tr = ["disabled"], Lr = /* @
|
|
|
647
614
|
disabled: { type: Boolean, default: !1 }
|
|
648
615
|
},
|
|
649
616
|
setup(o) {
|
|
650
|
-
const e = o,
|
|
651
|
-
let
|
|
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", {
|
|
617
|
+
const e = o, a = w(() => {
|
|
618
|
+
let l = ["vf-button", `vf-button_${e.severity}`];
|
|
619
|
+
return ["top", "bottom"].includes(e.iconPos) && l.push("vf-button_vertical"), e.variant === "text" && l.push("vf-button_text"), e.variant === "outlined" && l.push("vf-button_outlined"), ["small", "large"].indexOf(e.size) > -1 && l.push(`vf-button_${e.size}`), (e.loading || e.disabled) && l.push("vf-button_disabled"), e.rounded && l.push("vf-button_rounded"), l;
|
|
620
|
+
}), t = w(() => ["vf-button__icon", `vf-button__icon_${e.iconPos}`]), n = w(() => ["vf-button__label"]);
|
|
621
|
+
return (l, b) => e.type === "button" ? (r(), s("button", {
|
|
658
622
|
key: 0,
|
|
659
|
-
class:
|
|
623
|
+
class: h(a.value),
|
|
660
624
|
disabled: e.loading || e.disabled
|
|
661
625
|
}, [
|
|
662
|
-
e.icon && !e.loading ? (r(), y(
|
|
626
|
+
e.icon && !e.loading ? (r(), y(g(k), {
|
|
663
627
|
key: 0,
|
|
664
628
|
icon: e.icon,
|
|
665
|
-
class:
|
|
666
|
-
}, null, 8, ["icon", "class"])) :
|
|
667
|
-
e.loading ? (r(), y(
|
|
629
|
+
class: h(t.value)
|
|
630
|
+
}, null, 8, ["icon", "class"])) : m("", !0),
|
|
631
|
+
e.loading ? (r(), y(g(k), {
|
|
668
632
|
key: 1,
|
|
669
633
|
icon: "circleNotch",
|
|
670
|
-
class:
|
|
634
|
+
class: h(t.value),
|
|
671
635
|
spin: ""
|
|
672
|
-
}, null, 8, ["class"])) :
|
|
673
|
-
|
|
636
|
+
}, null, 8, ["class"])) : m("", !0),
|
|
637
|
+
l.$slots.default ? (r(), s("span", {
|
|
674
638
|
key: 2,
|
|
675
|
-
class:
|
|
639
|
+
class: h(n.value)
|
|
676
640
|
}, [
|
|
677
|
-
u(
|
|
678
|
-
], 2)) :
|
|
641
|
+
u(l.$slots, "default")
|
|
642
|
+
], 2)) : l.label ? (r(), s("span", {
|
|
679
643
|
key: 3,
|
|
680
|
-
class:
|
|
681
|
-
},
|
|
682
|
-
], 10,
|
|
644
|
+
class: h(n.value)
|
|
645
|
+
}, O(l.label), 3)) : m("", !0)
|
|
646
|
+
], 10, rr)) : (r(), y(g(L), {
|
|
683
647
|
key: 1,
|
|
684
648
|
to: e.to,
|
|
685
649
|
type: e.type,
|
|
686
|
-
class:
|
|
650
|
+
class: h(a.value),
|
|
687
651
|
disabled: e.loading || e.disabled
|
|
688
652
|
}, {
|
|
689
|
-
default:
|
|
690
|
-
e.icon ? (r(), y(
|
|
653
|
+
default: _(() => [
|
|
654
|
+
e.icon ? (r(), y(g(k), {
|
|
691
655
|
key: 0,
|
|
692
656
|
icon: e.icon,
|
|
693
|
-
class:
|
|
694
|
-
}, null, 8, ["icon", "class"])) :
|
|
695
|
-
|
|
657
|
+
class: h(t.value)
|
|
658
|
+
}, null, 8, ["icon", "class"])) : m("", !0),
|
|
659
|
+
l.$slots.default ? (r(), s("span", {
|
|
696
660
|
key: 1,
|
|
697
|
-
class:
|
|
661
|
+
class: h(n.value)
|
|
698
662
|
}, [
|
|
699
|
-
u(
|
|
700
|
-
], 2)) :
|
|
663
|
+
u(l.$slots, "default")
|
|
664
|
+
], 2)) : l.label ? (r(), s("span", {
|
|
701
665
|
key: 2,
|
|
702
|
-
class:
|
|
703
|
-
},
|
|
666
|
+
class: h(n.value)
|
|
667
|
+
}, O(l.label), 3)) : m("", !0)
|
|
704
668
|
]),
|
|
705
669
|
_: 3
|
|
706
670
|
}, 8, ["to", "type", "class", "disabled"]));
|
|
707
671
|
}
|
|
708
|
-
}),
|
|
709
|
-
function
|
|
710
|
-
return r(),
|
|
672
|
+
}), tr = {}, lr = { class: "vf-content" };
|
|
673
|
+
function nr(o, e) {
|
|
674
|
+
return r(), s("div", lr, [
|
|
711
675
|
u(o.$slots, "default")
|
|
712
676
|
]);
|
|
713
677
|
}
|
|
714
|
-
const sr = /* @__PURE__ */
|
|
678
|
+
const sr = /* @__PURE__ */ $(tr, [["render", nr]]), ar = { class: "vf-popover" }, xr = /* @__PURE__ */ F({
|
|
715
679
|
__name: "popover",
|
|
716
680
|
emits: ["onClick"],
|
|
717
|
-
setup(o, { expose: e, emit:
|
|
718
|
-
const t =
|
|
719
|
-
return e({ show:
|
|
681
|
+
setup(o, { expose: e, emit: a }) {
|
|
682
|
+
const t = a, n = W({ visible: !1 }), l = () => n.visible = !0, b = () => n.visible = !1, f = () => n.visible = !n.visible, d = () => t("onClick");
|
|
683
|
+
return e({ show: l, hide: b, toggle: f }), (v, c) => (r(), s("div", ar, [
|
|
720
684
|
i("div", {
|
|
721
|
-
class: "
|
|
685
|
+
class: "vf-popover__button",
|
|
722
686
|
onClick: d
|
|
723
687
|
}, [
|
|
724
688
|
u(v.$slots, "button")
|
|
725
689
|
]),
|
|
726
|
-
|
|
727
|
-
default:
|
|
728
|
-
|
|
690
|
+
J(S(g(_e), { class: "vf-popover__wrapper" }, Q({
|
|
691
|
+
default: _(() => [
|
|
692
|
+
c[0] || (c[0] = i("div", { class: "vf-popover__arrow" }, null, -1))
|
|
729
693
|
]),
|
|
730
694
|
_: 2
|
|
731
695
|
}, [
|
|
732
696
|
v.$slots.default ? {
|
|
733
697
|
name: "default",
|
|
734
|
-
fn:
|
|
698
|
+
fn: _(() => [
|
|
735
699
|
u(v.$slots, "default")
|
|
736
700
|
]),
|
|
737
701
|
key: "0"
|
|
738
702
|
} : void 0,
|
|
739
703
|
v.$slots.popoverHeader ? {
|
|
740
704
|
name: "header",
|
|
741
|
-
fn:
|
|
705
|
+
fn: _(() => [
|
|
742
706
|
u(v.$slots, "popoverHeader")
|
|
743
707
|
]),
|
|
744
708
|
key: "1"
|
|
745
709
|
} : void 0,
|
|
746
710
|
v.$slots.popoverBody ? {
|
|
747
711
|
name: "body",
|
|
748
|
-
fn:
|
|
712
|
+
fn: _(() => [
|
|
749
713
|
u(v.$slots, "popoverBody")
|
|
750
714
|
]),
|
|
751
715
|
key: "2"
|
|
752
716
|
} : void 0,
|
|
753
717
|
v.$slots.popoverFooter ? {
|
|
754
718
|
name: "footer",
|
|
755
|
-
fn:
|
|
719
|
+
fn: _(() => [
|
|
756
720
|
u(v.$slots, "popoverFooter")
|
|
757
721
|
]),
|
|
758
722
|
key: "3"
|
|
759
723
|
} : void 0
|
|
760
724
|
]), 1536), [
|
|
761
|
-
[
|
|
725
|
+
[X, n.visible]
|
|
762
726
|
])
|
|
763
727
|
]));
|
|
764
728
|
}
|
|
765
|
-
}),
|
|
766
|
-
function
|
|
767
|
-
return r(),
|
|
729
|
+
}), cr = {}, ir = { class: "vf-container" };
|
|
730
|
+
function ur(o, e) {
|
|
731
|
+
return r(), s("div", ir, [
|
|
768
732
|
u(o.$slots, "default")
|
|
769
733
|
]);
|
|
770
734
|
}
|
|
771
|
-
const
|
|
772
|
-
const e = parseInt(o.replace("#", ""), 16),
|
|
773
|
-
return `${
|
|
735
|
+
const Lr = /* @__PURE__ */ $(cr, [["render", ur]]), Z = (o, e) => "#" + o.replace(/^#/, "").replace(/../g, (a) => ("0" + Math.min(255, Math.max(0, parseInt(a, 16) + e)).toString(16)).slice(-2)), dr = (o, e) => Z(o, 16 * e), vr = (o, e) => Z(o, -16 * e), R = (o) => {
|
|
736
|
+
const e = parseInt(o.replace("#", ""), 16), a = e >> 16 & 255, t = e >> 8 & 255, n = e & 255;
|
|
737
|
+
return `${a}, ${t}, ${n}`;
|
|
774
738
|
}, fr = (o) => {
|
|
775
739
|
const e = o.replace(/([A-Z])/g, "-$1");
|
|
776
740
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
777
|
-
}, j = (o) => o.filter((e) => !hr.includes(e)).map((e) => fr(e)).join("-").toLowerCase(), hr = [
|
|
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]);
|
|
741
|
+
}, j = (o) => o.filter((e) => !hr.includes(e)).map((e) => fr(e)).join("-").toLowerCase(), hr = ["dark", "light", "theme", "preset", "colors", "components", "colorScheme"], B = [], x = [], A = (o, e = []) => {
|
|
742
|
+
for (const a in o) {
|
|
743
|
+
const t = o[a], n = e.concat([a]);
|
|
788
744
|
if (typeof t == "object")
|
|
789
|
-
|
|
790
|
-
else if (
|
|
791
|
-
if (
|
|
792
|
-
|
|
793
|
-
else if (B.push(`--
|
|
794
|
-
for (let
|
|
795
|
-
let
|
|
796
|
-
|
|
745
|
+
A(t, n);
|
|
746
|
+
else if (n.some((l) => l === "theme") && n.some((l) => l === "preset")) {
|
|
747
|
+
if (n.some((l) => l === "colorScheme") && n.some((l) => l === "dark"))
|
|
748
|
+
x.push(`--vf-${j(n)}: ${t}`);
|
|
749
|
+
else if (B.push(`--vf-${j(n)}: ${t}`), n.some((l) => l === "colors") && (B.push(`--vf-${j(n)}-rgb: ${R(t)}`), a !== "white"))
|
|
750
|
+
for (let l = 1; l < 10; ++l) {
|
|
751
|
+
let b;
|
|
752
|
+
l < 5 ? b = dr(t, 5 - l) : b = vr(t, l - 5), B.push(`--vf-${j(n)}-${l}00: ${b}`), B.push(`--vf-${j(n)}-${l}00-rgb: ${R(b)}`);
|
|
797
753
|
}
|
|
798
754
|
}
|
|
799
755
|
}
|
|
800
|
-
},
|
|
756
|
+
}, Tr = {
|
|
801
757
|
install(o, e) {
|
|
802
|
-
|
|
758
|
+
A(e), B.length && document.styleSheets[0].insertRule(`:root { ${B.join(";")} }`), x.length && document.styleSheets[0].insertRule(`:root[data-theme=dark] { ${x.join(";")} }`);
|
|
803
759
|
}
|
|
804
|
-
},
|
|
760
|
+
}, D = {
|
|
805
761
|
colors: {
|
|
806
762
|
white: "#ffffff",
|
|
807
763
|
green: "#0cbc87",
|
|
@@ -849,158 +805,158 @@ const L = /* @__PURE__ */ O(ir, [["render", dr]]), A = (o, e) => "#" + o.replace
|
|
|
849
805
|
primary: {
|
|
850
806
|
color: "#FFFFFF",
|
|
851
807
|
hoverColor: "#FFFFFF",
|
|
852
|
-
borderColor: "var(--
|
|
808
|
+
borderColor: "var(--vf-blue)",
|
|
853
809
|
activeColor: "#FFFFFF",
|
|
854
|
-
backgroundColor: "var(--
|
|
855
|
-
hoverBorderColor: "var(--
|
|
856
|
-
activeBorderColor: "var(--
|
|
857
|
-
hoverBackgroundColor: "var(--
|
|
858
|
-
activeBackgroundColor: "var(--
|
|
810
|
+
backgroundColor: "var(--vf-blue)",
|
|
811
|
+
hoverBorderColor: "var(--vf-blue-600)",
|
|
812
|
+
activeBorderColor: "var(--vf-blue-700)",
|
|
813
|
+
hoverBackgroundColor: "var(--vf-blue-600)",
|
|
814
|
+
activeBackgroundColor: "var(--vf-blue-700)"
|
|
859
815
|
},
|
|
860
816
|
secondary: {
|
|
861
817
|
color: "#FFFFFF",
|
|
862
818
|
hoverColor: "#FFFFFF",
|
|
863
|
-
borderColor: "var(--
|
|
819
|
+
borderColor: "var(--vf-gray)",
|
|
864
820
|
activeColor: "#FFFFFF",
|
|
865
|
-
backgroundColor: "var(--
|
|
866
|
-
hoverBorderColor: "var(--
|
|
867
|
-
activeBorderColor: "var(--
|
|
868
|
-
hoverBackgroundColor: "var(--
|
|
869
|
-
activeBackgroundColor: "var(--
|
|
821
|
+
backgroundColor: "var(--vf-gray)",
|
|
822
|
+
hoverBorderColor: "var(--vf-gray-600)",
|
|
823
|
+
activeBorderColor: "var(--vf-gray-700)",
|
|
824
|
+
hoverBackgroundColor: "var(--vf-gray-600)",
|
|
825
|
+
activeBackgroundColor: "var(--vf-gray-700)"
|
|
870
826
|
},
|
|
871
827
|
success: {
|
|
872
828
|
color: "#FFFFFF",
|
|
873
829
|
hoverColor: "#FFFFFF",
|
|
874
|
-
borderColor: "var(--
|
|
830
|
+
borderColor: "var(--vf-green)",
|
|
875
831
|
activeColor: "#FFFFFF",
|
|
876
|
-
backgroundColor: "var(--
|
|
877
|
-
hoverBorderColor: "var(--
|
|
878
|
-
activeBorderColor: "var(--
|
|
879
|
-
hoverBackgroundColor: "var(--
|
|
880
|
-
activeBackgroundColor: "var(--
|
|
832
|
+
backgroundColor: "var(--vf-green)",
|
|
833
|
+
hoverBorderColor: "var(--vf-green-600)",
|
|
834
|
+
activeBorderColor: "var(--vf-green-700)",
|
|
835
|
+
hoverBackgroundColor: "var(--vf-green-600)",
|
|
836
|
+
activeBackgroundColor: "var(--vf-green-700)"
|
|
881
837
|
},
|
|
882
838
|
danger: {
|
|
883
839
|
color: "#FFFFFF",
|
|
884
840
|
hoverColor: "#FFFFFF",
|
|
885
|
-
borderColor: "var(--
|
|
841
|
+
borderColor: "var(--vf-red)",
|
|
886
842
|
activeColor: "#FFFFFF",
|
|
887
|
-
backgroundColor: "var(--
|
|
888
|
-
hoverBorderColor: "var(--
|
|
889
|
-
activeBorderColor: "var(--
|
|
890
|
-
hoverBackgroundColor: "var(--
|
|
891
|
-
activeBackgroundColor: "var(--
|
|
843
|
+
backgroundColor: "var(--vf-red)",
|
|
844
|
+
hoverBorderColor: "var(--vf-red-600)",
|
|
845
|
+
activeBorderColor: "var(--vf-red-700)",
|
|
846
|
+
hoverBackgroundColor: "var(--vf-red-600)",
|
|
847
|
+
activeBackgroundColor: "var(--vf-red-700)"
|
|
892
848
|
},
|
|
893
849
|
warning: {
|
|
894
850
|
color: "#FFFFFF",
|
|
895
851
|
hoverColor: "#FFFFFF",
|
|
896
|
-
borderColor: "var(--
|
|
852
|
+
borderColor: "var(--vf-yellow)",
|
|
897
853
|
activeColor: "#FFFFFF",
|
|
898
|
-
backgroundColor: "var(--
|
|
899
|
-
hoverBorderColor: "var(--
|
|
900
|
-
activeBorderColor: "var(--
|
|
901
|
-
hoverBackgroundColor: "var(--
|
|
902
|
-
activeBackgroundColor: "var(--
|
|
854
|
+
backgroundColor: "var(--vf-yellow)",
|
|
855
|
+
hoverBorderColor: "var(--vf-yellow-600)",
|
|
856
|
+
activeBorderColor: "var(--vf-yellow-700)",
|
|
857
|
+
hoverBackgroundColor: "var(--vf-yellow-600)",
|
|
858
|
+
activeBackgroundColor: "var(--vf-yellow-700)"
|
|
903
859
|
},
|
|
904
860
|
info: {
|
|
905
861
|
color: "#FFFFFF",
|
|
906
862
|
hoverColor: "#FFFFFF",
|
|
907
|
-
borderColor: "var(--
|
|
863
|
+
borderColor: "var(--vf-sky)",
|
|
908
864
|
activeColor: "#FFFFFF",
|
|
909
|
-
backgroundColor: "var(--
|
|
910
|
-
hoverBorderColor: "var(--
|
|
911
|
-
activeBorderColor: "var(--
|
|
912
|
-
hoverBackgroundColor: "var(--
|
|
913
|
-
activeBackgroundColor: "var(--
|
|
865
|
+
backgroundColor: "var(--vf-sky)",
|
|
866
|
+
hoverBorderColor: "var(--vf-sky-600)",
|
|
867
|
+
activeBorderColor: "var(--vf-sky-700)",
|
|
868
|
+
hoverBackgroundColor: "var(--vf-sky-600)",
|
|
869
|
+
activeBackgroundColor: "var(--vf-sky-700)"
|
|
914
870
|
},
|
|
915
871
|
text: {
|
|
916
872
|
primary: {
|
|
917
|
-
color: "var(--
|
|
918
|
-
hoverBackgroundColor: "rgba(var(--
|
|
873
|
+
color: "var(--vf-blue)",
|
|
874
|
+
hoverBackgroundColor: "rgba(var(--vf-blue-600-rgb), .1)"
|
|
919
875
|
},
|
|
920
876
|
secondary: {
|
|
921
|
-
color: "var(--
|
|
922
|
-
hoverBackgroundColor: "rgba(var(--
|
|
877
|
+
color: "var(--vf-gray)",
|
|
878
|
+
hoverBackgroundColor: "rgba(var(--vf-gray-600-rgb), .1)"
|
|
923
879
|
},
|
|
924
880
|
success: {
|
|
925
|
-
color: "var(--
|
|
926
|
-
hoverBackgroundColor: "rgba(var(--
|
|
881
|
+
color: "var(--vf-green)",
|
|
882
|
+
hoverBackgroundColor: "rgba(var(--vf-green-600-rgb), .1)"
|
|
927
883
|
},
|
|
928
884
|
danger: {
|
|
929
|
-
color: "var(--
|
|
930
|
-
hoverBackgroundColor: "rgba(var(--
|
|
885
|
+
color: "var(--vf-red)",
|
|
886
|
+
hoverBackgroundColor: "rgba(var(--vf-red-600-rgb), .1)"
|
|
931
887
|
},
|
|
932
888
|
warning: {
|
|
933
|
-
color: "var(--
|
|
934
|
-
hoverBackgroundColor: "rgba(var(--
|
|
889
|
+
color: "var(--vf-yellow)",
|
|
890
|
+
hoverBackgroundColor: "rgba(var(--vf-yellow-600-rgb), .1)"
|
|
935
891
|
},
|
|
936
892
|
info: {
|
|
937
|
-
color: "var(--
|
|
938
|
-
hoverBackgroundColor: "rgba(var(--
|
|
893
|
+
color: "var(--vf-sky)",
|
|
894
|
+
hoverBackgroundColor: "rgba(var(--vf-sky-600-rgb), .1)"
|
|
939
895
|
}
|
|
940
896
|
},
|
|
941
897
|
outlined: {
|
|
942
898
|
primary: {
|
|
943
|
-
color: "var(--
|
|
944
|
-
borderColor: "rgba(var(--
|
|
945
|
-
hoverBackgroundColor: "rgba(var(--
|
|
899
|
+
color: "var(--vf-blue)",
|
|
900
|
+
borderColor: "rgba(var(--vf-blue-rgb), .4)",
|
|
901
|
+
hoverBackgroundColor: "rgba(var(--vf-blue-600-rgb), .1)"
|
|
946
902
|
},
|
|
947
903
|
secondary: {
|
|
948
|
-
color: "var(--
|
|
949
|
-
borderColor: "rgba(var(--
|
|
950
|
-
hoverBackgroundColor: "rgba(var(--
|
|
904
|
+
color: "var(--vf-gray)",
|
|
905
|
+
borderColor: "rgba(var(--vf-gray-rgb), .4)",
|
|
906
|
+
hoverBackgroundColor: "rgba(var(--vf-gray-600-rgb), .1)"
|
|
951
907
|
},
|
|
952
908
|
success: {
|
|
953
|
-
color: "var(--
|
|
954
|
-
borderColor: "rgba(var(--
|
|
955
|
-
hoverBackgroundColor: "rgba(var(--
|
|
909
|
+
color: "var(--vf-green)",
|
|
910
|
+
borderColor: "rgba(var(--vf-green-rgb), .4)",
|
|
911
|
+
hoverBackgroundColor: "rgba(var(--vf-green-600-rgb), .1)"
|
|
956
912
|
},
|
|
957
913
|
danger: {
|
|
958
|
-
color: "var(--
|
|
959
|
-
borderColor: "rgba(var(--
|
|
960
|
-
hoverBackgroundColor: "rgba(var(--
|
|
914
|
+
color: "var(--vf-red)",
|
|
915
|
+
borderColor: "rgba(var(--vf-red-rgb), .4)",
|
|
916
|
+
hoverBackgroundColor: "rgba(var(--vf-red-600-rgb), .1)"
|
|
961
917
|
},
|
|
962
918
|
warning: {
|
|
963
|
-
color: "var(--
|
|
964
|
-
borderColor: "rgba(var(--
|
|
965
|
-
hoverBackgroundColor: "rgba(var(--
|
|
919
|
+
color: "var(--vf-yellow)",
|
|
920
|
+
borderColor: "rgba(var(--vf-yellow-rgb), .4)",
|
|
921
|
+
hoverBackgroundColor: "rgba(var(--vf-yellow-600-rgb), .1)"
|
|
966
922
|
},
|
|
967
923
|
info: {
|
|
968
|
-
color: "var(--
|
|
969
|
-
borderColor: "rgba(var(--
|
|
970
|
-
hoverBackgroundColor: "rgba(var(--
|
|
924
|
+
color: "var(--vf-sky)",
|
|
925
|
+
borderColor: "rgba(var(--vf-sky-rgb), .4)",
|
|
926
|
+
hoverBackgroundColor: "rgba(var(--vf-sky-600-rgb), .1)"
|
|
971
927
|
}
|
|
972
928
|
}
|
|
973
929
|
}
|
|
974
930
|
}
|
|
975
931
|
}, gr = {
|
|
976
932
|
padding: "12px",
|
|
977
|
-
borderColor: "var(--
|
|
933
|
+
borderColor: "var(--vf-border-color)",
|
|
978
934
|
borderRadius: "6px"
|
|
979
935
|
}, br = {}, _r = {
|
|
980
936
|
padding: "12px"
|
|
981
|
-
},
|
|
982
|
-
color: "var(--
|
|
937
|
+
}, mr = {}, yr = {}, Cr = {
|
|
938
|
+
color: "var(--vf-secondary-text-color)",
|
|
983
939
|
padding: "12px",
|
|
984
|
-
borderColor: "var(--
|
|
985
|
-
backgroundColor: "var(--
|
|
986
|
-
},
|
|
940
|
+
borderColor: "var(--vf-border-color)",
|
|
941
|
+
backgroundColor: "var(--vf-bg-color)"
|
|
942
|
+
}, wr = {
|
|
987
943
|
height: "60px",
|
|
988
944
|
padding: "12px",
|
|
989
945
|
minHeight: "60px",
|
|
990
|
-
borderColor: "var(--
|
|
991
|
-
backgroundColor: "var(--
|
|
992
|
-
},
|
|
993
|
-
hoverColor: "var(--
|
|
994
|
-
activeColor: "var(--
|
|
995
|
-
},
|
|
996
|
-
separatorColor: "var(--
|
|
946
|
+
borderColor: "var(--vf-border-color)",
|
|
947
|
+
backgroundColor: "var(--vf-bg-color)"
|
|
948
|
+
}, kr = {
|
|
949
|
+
hoverColor: "var(--vf-blue)",
|
|
950
|
+
activeColor: "var(--vf-blue)"
|
|
951
|
+
}, Fr = {}, $r = {
|
|
952
|
+
separatorColor: "var(--vf-border-color)",
|
|
997
953
|
link: {
|
|
998
|
-
hoverColor: "var(--
|
|
999
|
-
activeColor: "var(--
|
|
954
|
+
hoverColor: "var(--vf-blue)",
|
|
955
|
+
activeColor: "var(--vf-blue)"
|
|
1000
956
|
},
|
|
1001
957
|
parent: {
|
|
1002
|
-
hoverColor: "var(--
|
|
1003
|
-
activeColor: "var(--
|
|
958
|
+
hoverColor: "var(--vf-secondary-text-color)",
|
|
959
|
+
activeColor: "var(--vf-blue)"
|
|
1004
960
|
},
|
|
1005
961
|
item: {
|
|
1006
962
|
marginTop: "0.5rem",
|
|
@@ -1008,40 +964,40 @@ const L = /* @__PURE__ */ O(ir, [["render", dr]]), A = (o, e) => "#" + o.replace
|
|
|
1008
964
|
marginBottom: "0.5rem",
|
|
1009
965
|
marginLeft: "0.5rem"
|
|
1010
966
|
}
|
|
1011
|
-
},
|
|
1012
|
-
backgroundColor: "var(--
|
|
967
|
+
}, Br = {
|
|
968
|
+
backgroundColor: "var(--vf-bg-color)"
|
|
1013
969
|
}, Vr = {
|
|
1014
|
-
...
|
|
970
|
+
...D,
|
|
1015
971
|
components: {
|
|
1016
|
-
base:
|
|
972
|
+
base: D,
|
|
1017
973
|
button: pr,
|
|
1018
974
|
card: gr,
|
|
1019
975
|
codeBlock: br,
|
|
1020
976
|
container: _r,
|
|
1021
|
-
content:
|
|
1022
|
-
demo:
|
|
1023
|
-
footer:
|
|
1024
|
-
header:
|
|
1025
|
-
link:
|
|
1026
|
-
logo:
|
|
1027
|
-
menu:
|
|
1028
|
-
popover:
|
|
977
|
+
content: mr,
|
|
978
|
+
demo: yr,
|
|
979
|
+
footer: Cr,
|
|
980
|
+
header: wr,
|
|
981
|
+
link: kr,
|
|
982
|
+
logo: Fr,
|
|
983
|
+
menu: $r,
|
|
984
|
+
popover: Br
|
|
1029
985
|
}
|
|
1030
986
|
};
|
|
1031
987
|
export {
|
|
1032
|
-
|
|
988
|
+
zr as Button,
|
|
1033
989
|
_e as Card,
|
|
1034
|
-
|
|
990
|
+
Lr as Container,
|
|
1035
991
|
sr as Content,
|
|
1036
|
-
|
|
992
|
+
Or as DefaultLayout,
|
|
1037
993
|
Vr as DefaultTheme,
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
994
|
+
Pr as Demo,
|
|
995
|
+
or as Footer,
|
|
996
|
+
Qo as Header,
|
|
997
|
+
jr as LeftSidebarLayout,
|
|
998
|
+
L as Link,
|
|
999
|
+
Mr as Logo,
|
|
1000
|
+
qo as Menu,
|
|
1001
|
+
xr as Popover,
|
|
1002
|
+
Tr as VueForge
|
|
1047
1003
|
};
|