@codemonster-ru/vueforge 0.2.1 → 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.ts.mjs CHANGED
@@ -1,81 +1,65 @@
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({
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, a) => {
6
- const t = x("router-view");
7
- return r(), l("div", ee, [
8
- w(h(Xo), null, {
9
- left: p(() => [
10
- u(e.$slots, "headerLeft")
11
- ]),
12
- right: p(() => [
13
- u(e.$slots, "headerRight")
14
- ]),
15
- _: 3
16
- }),
17
- w(h(ar), null, {
18
- default: p(() => [
19
- w(h(L), null, {
20
- default: p(() => [
21
- w(t)
22
- ]),
23
- _: 1
24
- })
25
- ]),
26
- _: 1
27
- }),
28
- w(h(rr), null, {
29
- default: p(() => [
30
- w(h(L), null, {
31
- default: p(() => [
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
- }), O = (o, e) => {
26
+ }), $ = (o, e) => {
43
27
  const a = o.__vccOpts || o;
44
- for (const [t, s] of e)
45
- a[t] = s;
28
+ for (const [t, n] of e)
29
+ a[t] = n;
46
30
  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, [
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", le, [
55
- w(a)
38
+ i("div", te, [
39
+ S(a)
56
40
  ])
57
41
  ]);
58
42
  }
59
- const Pr = /* @__PURE__ */ O(oe, [["render", ne]]), se = {}, ae = { class: "vf-demo" };
60
- function ce(o, e) {
61
- return r(), l("div", ae, [
43
+ const jr = /* @__PURE__ */ $(ee, [["render", le]]), ne = {}, se = { class: "vf-demo" };
44
+ function ae(o, e) {
45
+ return r(), s("div", se, [
62
46
  u(o.$slots, "default")
63
47
  ]);
64
48
  }
65
- const Mr = /* @__PURE__ */ O(se, [["render", ce]]);
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 R;
55
+ var T;
72
56
  (function(o) {
73
57
  o.pop = "pop", o.push = "push";
74
- })(R || (R = {}));
75
- var D;
58
+ })(T || (T = {}));
59
+ var V;
76
60
  (function(o) {
77
61
  o.back = "back", o.forward = "forward", o.unknown = "";
78
- })(D || (D = {}));
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 ie = Symbol(process.env.NODE_ENV !== "production" ? "route location" : "");
71
+ const ce = Symbol(process.env.NODE_ENV !== "production" ? "route location" : "");
88
72
  Symbol(process.env.NODE_ENV !== "production" ? "router view location" : "");
89
- function ue(o) {
90
- return I(ie);
73
+ function ie(o) {
74
+ return H(ce);
91
75
  }
92
- const de = ["href"], V = /* @__PURE__ */ k({
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 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));
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));
105
89
  return (f, d) => {
106
- const v = x("router-link");
107
- return f.type === "a" ? (r(), l("a", {
90
+ const v = E("router-link");
91
+ return f.type === "a" ? (r(), s("a", {
108
92
  key: 0,
109
93
  href: f.url,
110
- class: g(["vf-link", { "vf-link_active": f.active, "vf-link_disabled": f.disabled }])
94
+ class: h(["vf-link", { "vf-link_active": f.active, "vf-link_disabled": f.disabled }])
111
95
  }, [
112
- f.$slots.default ? u(f.$slots, "default", { key: 0 }) : (r(), l(M, { key: 1 }, [
113
- z(S(f.label), 1)
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, de)) : (r(), y(v, {
99
+ ], 10, ue)) : (r(), y(v, {
116
100
  key: 1,
117
101
  ref_key: "link",
118
- ref: n,
102
+ ref: l,
119
103
  to: f.to,
120
- class: g(["vf-link", { "vf-link_active": m.value }]),
104
+ class: h(["vf-link", { "vf-link_active": b.value }]),
121
105
  disabled: f.disabled,
122
106
  "active-class": "vf-link_partially-active",
123
107
  "exact-active-class": "vf-link_active"
124
108
  }, {
125
- default: p(() => [
126
- f.$slots.default ? u(f.$slots, "default", { key: 0 }) : (r(), l(M, { key: 1 }, [
127
- z(S(f.label), 1)
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
- }), ve = {}, fe = { class: "vf-card" }, he = {
118
+ }), de = {}, ve = { class: "vf-card" }, fe = {
135
119
  key: 0,
136
120
  class: "vf-card__default"
137
- }, pe = {
121
+ }, he = {
138
122
  key: 1,
139
123
  class: "vf-card__header"
140
- }, ge = {
124
+ }, pe = {
141
125
  key: 2,
142
126
  class: "vf-card__body"
143
- }, be = {
127
+ }, ge = {
144
128
  key: 3,
145
129
  class: "vf-card__footer"
146
130
  };
147
- function _e(o, e) {
148
- return r(), l("div", fe, [
149
- o.$slots.default ? (r(), l("div", he, [
131
+ function be(o, e) {
132
+ return r(), s("div", ve, [
133
+ o.$slots.default ? (r(), s("div", fe, [
150
134
  u(o.$slots, "default")
151
- ])) : _("", !0),
152
- o.$slots.header ? (r(), l("div", pe, [
135
+ ])) : m("", !0),
136
+ o.$slots.header ? (r(), s("div", he, [
153
137
  u(o.$slots, "header")
154
- ])) : _("", !0),
155
- o.$slots.body ? (r(), l("div", ge, [
138
+ ])) : m("", !0),
139
+ o.$slots.body ? (r(), s("div", pe, [
156
140
  u(o.$slots, "body")
157
- ])) : _("", !0),
158
- o.$slots.footer ? (r(), l("div", be, [
141
+ ])) : m("", !0),
142
+ o.$slots.footer ? (r(), s("div", ge, [
159
143
  u(o.$slots, "footer")
160
- ])) : _("", !0)
144
+ ])) : m("", !0)
161
145
  ]);
162
146
  }
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({
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 me = /* @__PURE__ */ O(ve, [["render", _e]]), ye = { class: "vf-logo" }, C
173
157
  height: { default: void 0 }
174
158
  },
175
159
  setup(o) {
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), {
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: p(() => [
168
+ default: _(() => [
185
169
  i("img", {
186
170
  src: a.value,
187
171
  width: t.width,
188
172
  height: t.height,
189
173
  alt: t.alt
190
- }, null, 8, Ce)
174
+ }, null, 8, ye)
191
175
  ]),
192
176
  _: 1
193
- }, 8, ["type", "to", "url"])) : (r(), l("img", {
177
+ }, 8, ["type", "to", "url"])) : (r(), s("img", {
194
178
  key: 1,
195
179
  src: a.value,
196
180
  width: t.width,
197
181
  height: t.height,
198
182
  alt: t.alt
199
- }, null, 8, we))
183
+ }, null, 8, Ce))
200
184
  ]));
201
185
  }
202
- }), b = (o, e) => {
186
+ }), p = (o, e) => {
203
187
  const a = o.__vccOpts || o;
204
- for (const [t, s] of e)
205
- a[t] = s;
188
+ for (const [t, n] of e)
189
+ a[t] = n;
206
190
  return a;
207
- }, ke = {}, Fe = {
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 $e(o, e) {
215
- return r(), l("svg", Fe, e[0] || (e[0] = [
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)
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 Be = /* @__PURE__ */ b(ke, [["render", $e]]), Se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
203
+ const $e = /* @__PURE__ */ p(we, [["render", Fe]]), Be = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
220
204
  __proto__: null,
221
- default: Be
222
- }, Symbol.toStringTag, { value: "Module" })), Oe = {}, je = {
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 Pe(o, e) {
230
- return r(), l("svg", je, e[0] || (e[0] = [
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 Me = /* @__PURE__ */ b(Oe, [["render", Pe]]), ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
221
+ const Pe = /* @__PURE__ */ p(Se, [["render", je]]), Me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
238
222
  __proto__: null,
239
- default: Me
240
- }, Symbol.toStringTag, { value: "Module" })), Le = {}, Te = {
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 xe(o, e) {
248
- return r(), l("svg", Te, e[0] || (e[0] = [
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 Ve = /* @__PURE__ */ b(Le, [["render", xe]]), Re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
247
+ const Te = /* @__PURE__ */ p(ze, [["render", Le]]), Ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
264
248
  __proto__: null,
265
- default: Ve
266
- }, Symbol.toStringTag, { value: "Module" })), De = {}, Ne = {
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 Ee(o, e) {
274
- return r(), l("svg", Ne, e[0] || (e[0] = [
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 Ze = /* @__PURE__ */ b(De, [["render", Ee]]), Ae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
271
+ const Ee = /* @__PURE__ */ p(Ne, [["render", De]]), Ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
288
272
  __proto__: null,
289
- default: Ze
290
- }, Symbol.toStringTag, { value: "Module" })), He = {}, Ie = {
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 Ue(o, e) {
298
- return r(), l("svg", Ie, e[0] || (e[0] = [
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 Ke = /* @__PURE__ */ b(He, [["render", Ue]]), qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
289
+ const Ue = /* @__PURE__ */ p(Ae, [["render", Ie]]), Ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
306
290
  __proto__: null,
307
- default: Ke
308
- }, Symbol.toStringTag, { value: "Module" })), Ge = {}, We = {
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 Je(o, e) {
316
- return r(), l("svg", We, e[0] || (e[0] = [
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 Qe = /* @__PURE__ */ b(Ge, [["render", Je]]), Xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
307
+ const Je = /* @__PURE__ */ p(qe, [["render", We]]), Qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
324
308
  __proto__: null,
325
- default: Qe
326
- }, Symbol.toStringTag, { value: "Module" })), Ye = {}, eo = {
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 oo(o, e) {
334
- return r(), l("svg", eo, e[0] || (e[0] = [
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 ro = /* @__PURE__ */ b(Ye, [["render", oo]]), to = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
332
+ const oo = /* @__PURE__ */ p(Xe, [["render", eo]]), ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
349
333
  __proto__: null,
350
- default: ro
351
- }, Symbol.toStringTag, { value: "Module" })), lo = {}, no = {
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 so(o, e) {
359
- return r(), l("svg", no, e[0] || (e[0] = [
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,90 +351,90 @@ function so(o, e) {
367
351
  }, null, -1)
368
352
  ]));
369
353
  }
370
- const ao = /* @__PURE__ */ b(lo, [["render", so]]), co = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
354
+ const so = /* @__PURE__ */ p(to, [["render", no]]), ao = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
371
355
  __proto__: null,
372
- default: ao
373
- }, Symbol.toStringTag, { value: "Module" })), io = {}, uo = {
356
+ default: so
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 vo(o, e) {
381
- return r(), l("svg", uo, e[0] || (e[0] = [
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 fo = /* @__PURE__ */ b(io, [["render", vo]]), ho = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
372
+ const vo = /* @__PURE__ */ p(co, [["render", uo]]), fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
389
373
  __proto__: null,
390
- default: fo
391
- }, Symbol.toStringTag, { value: "Module" })), po = {}, go = {
374
+ default: vo
375
+ }, Symbol.toStringTag, { value: "Module" })), ho = {}, po = {
392
376
  xmlns: "http://www.w3.org/2000/svg",
393
377
  viewBox: "0 0 512 512",
394
378
  fill: "none",
395
379
  width: "16",
396
380
  height: "16"
397
381
  };
398
- function bo(o, e) {
399
- return r(), l("svg", go, e[0] || (e[0] = [
382
+ function go(o, e) {
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 _o = /* @__PURE__ */ b(po, [["render", bo]]), mo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
390
+ const bo = /* @__PURE__ */ p(ho, [["render", go]]), _o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
407
391
  __proto__: null,
408
- default: _o
409
- }, Symbol.toStringTag, { value: "Module" })), yo = {}, Co = {
392
+ default: bo
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 wo(o, e) {
417
- return r(), l("svg", Co, e[0] || (e[0] = [
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 ko = /* @__PURE__ */ b(yo, [["render", wo]]), Fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
408
+ const wo = /* @__PURE__ */ p(mo, [["render", Co]]), ko = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
425
409
  __proto__: null,
426
- default: ko
427
- }, Symbol.toStringTag, { value: "Module" })), $o = {}, Bo = {
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 So(o, e) {
435
- return r(), l("svg", Bo, e[0] || (e[0] = [
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 Oo = /* @__PURE__ */ b($o, [["render", So]]), jo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
426
+ const So = /* @__PURE__ */ p(Fo, [["render", Bo]]), Oo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
443
427
  __proto__: null,
444
- default: Oo
445
- }, Symbol.toStringTag, { value: "Module" })), Po = {}, Mo = {
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 zo(o, e) {
453
- return r(), l("svg", Mo, e[0] || (e[0] = [
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,32 +445,32 @@ function zo(o, e) {
461
445
  }, null, -1)
462
446
  ]));
463
447
  }
464
- const Lo = /* @__PURE__ */ b(Po, [["render", zo]]), To = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
448
+ const zo = /* @__PURE__ */ p(jo, [["render", Mo]]), xo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
465
449
  __proto__: null,
466
- default: Lo
467
- }, Symbol.toStringTag, { value: "Module" })), xo = {}, Vo = {
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 Ro(o, e) {
475
- return r(), l("svg", Vo, e[0] || (e[0] = [
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 Do = /* @__PURE__ */ b(xo, [["render", Ro]]), No = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
466
+ const No = /* @__PURE__ */ p(Lo, [["render", Vo]]), Ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
483
467
  __proto__: null,
484
- default: Do
485
- }, Symbol.toStringTag, { value: "Module" })), Eo = (o, e, a) => {
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((s, n) => {
471
+ return t ? typeof t == "function" ? t() : Promise.resolve(t) : new Promise((n, l) => {
488
472
  (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
489
- n.bind(
473
+ l.bind(
490
474
  null,
491
475
  new Error(
492
476
  "Unknown variable dynamic import: " + e + (e.split("/").length !== a ? ". Note that variables only represent file names one level deep." : "")
@@ -494,15 +478,15 @@ const Do = /* @__PURE__ */ b(xo, [["render", Ro]]), No = /* @__PURE__ */ Object.
494
478
  )
495
479
  );
496
480
  });
497
- }, Zo = ["bars", "check", "chevronDown", "chevronLeft", "chevronRight", "chevronUp", "circleHalf", "circleNotch", "house", "magnifyingGlass", "moon", "rotateRight", "sun", "user"], Ao = {
498
- list: Zo
499
- }, Ho = /* @__PURE__ */ k({
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) => Ao.list.indexOf(o) > -1
489
+ validator: (o) => Zo.list.indexOf(o) > -1
506
490
  },
507
491
  spin: {
508
492
  type: Boolean,
@@ -510,24 +494,24 @@ const Do = /* @__PURE__ */ b(xo, [["render", Ro]]), No = /* @__PURE__ */ Object.
510
494
  }
511
495
  },
512
496
  setup(o) {
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
- }), t = F(() => {
517
- let s = ["cm-icon"];
518
- return e.spin && s.push("cm-icon_animations_spin"), s;
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 (s, n) => (r(), y(q(a.value), {
521
- class: g(t.value)
504
+ return (n, l) => (r(), y(K(a.value), {
505
+ class: h(t.value)
522
506
  }, null, 8, ["class"]));
523
507
  }
524
- }), $ = /* @__PURE__ */ b(Ho, [["__scopeId", "data-v-e8b1cecb"]]), Io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
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" })), Uo = { class: "vf-menu__list" }, Ko = {
510
+ default: k
511
+ }, Symbol.toStringTag, { value: "Module" })), Io = { class: "vf-menu__list" }, Uo = {
528
512
  key: 1,
529
513
  class: "vf-menu__separator"
530
- }, qo = ["onClick"], Go = /* @__PURE__ */ k({
514
+ }, Ko = ["onClick"], qo = /* @__PURE__ */ F({
531
515
  __name: "menu",
532
516
  props: {
533
517
  items: {},
@@ -535,7 +519,7 @@ const Do = /* @__PURE__ */ b(xo, [["render", Ro]]), No = /* @__PURE__ */ Object.
535
519
  },
536
520
  emits: ["onActive"],
537
521
  setup(o, { emit: e }) {
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) => {
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();
@@ -547,54 +531,54 @@ const Do = /* @__PURE__ */ b(xo, [["render", Ro]]), No = /* @__PURE__ */ Object.
547
531
  }
548
532
  a("onActive", d);
549
533
  };
550
- return (d, v) => (r(), l("div", {
551
- class: g(["vf-menu", `vf-menu_${d.orientation}`])
534
+ return (d, v) => (r(), s("div", {
535
+ class: h(["vf-menu", `vf-menu_${d.orientation}`])
552
536
  }, [
553
- i("ul", Uo, [
554
- (r(!0), l(M, null, W(d.items, (c, C) => (r(), l("li", {
555
- key: s(c, C),
537
+ i("ul", Io, [
538
+ (r(!0), s(M, null, G(d.items, (c, C) => (r(), s("li", {
539
+ key: n(c, C),
556
540
  class: "vf-menu__item"
557
541
  }, [
558
- d.$slots[s(c, C)] ? u(d.$slots, s(c, C), {
542
+ d.$slots[n(c, C)] ? u(d.$slots, n(c, C), {
559
543
  key: 0,
560
544
  item: { ...c, class: "vf-menu__link" }
561
- }) : c.separator ? (r(), l("hr", Ko)) : c.hasOwnProperty("items") ? (r(), l(M, { key: 2 }, [
545
+ }) : c.separator ? (r(), s("hr", Uo)) : c.hasOwnProperty("items") ? (r(), s(M, { key: 2 }, [
562
546
  i("div", {
563
- class: g(["vf-menu__parent", { "vf-menu__parent_active": c.active }]),
564
- onClick: (P) => m(c)
547
+ class: h(["vf-menu__parent", { "vf-menu__parent_active": c.active }]),
548
+ onClick: (P) => b(c)
565
549
  }, [
566
- c.icon ? (r(), y(h($), {
550
+ c.icon ? (r(), y(g(k), {
567
551
  key: 0,
568
552
  icon: c.icon,
569
553
  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), {
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
560
  items: c.items,
577
- class: g(["vf-menu__submenu", { "vf-menu__submenu_visible": c.subMenuVisible }]),
561
+ class: h(["vf-menu__submenu", { "vf-menu__submenu_visible": c.subMenuVisible }]),
578
562
  onOnActive: f
579
- }, null, 8, ["items", "class"])) : _("", !0)
580
- ], 64)) : (r(), y(h(V), {
563
+ }, null, 8, ["items", "class"])) : m("", !0)
564
+ ], 64)) : (r(), y(g(L), {
581
565
  key: 3,
582
566
  to: c.to,
583
567
  url: c.url,
584
- type: n(c),
568
+ type: l(c),
585
569
  class: "vf-menu__link",
586
570
  active: c.active,
587
571
  disabled: c.disabled,
588
- onClick: (P) => m(c),
572
+ onClick: (P) => b(c),
589
573
  onOnActive: (P) => f(c)
590
574
  }, {
591
- default: p(() => [
592
- c.icon ? (r(), y(h($), {
575
+ default: _(() => [
576
+ c.icon ? (r(), y(g(k), {
593
577
  key: 0,
594
578
  icon: c.icon,
595
579
  class: "vf-menu__icon"
596
- }, null, 8, ["icon"])) : _("", !0),
597
- z(" " + S(c.label), 1)
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__ */ b(xo, [["render", Ro]]), No = /* @__PURE__ */ Object.
602
586
  ])
603
587
  ], 2));
604
588
  }
605
- }), Wo = { class: "vf-header" }, Jo = {
606
- key: 0,
607
- class: "vf-header__left"
608
- }, Qo = {
609
- key: 1,
610
- class: "vf-header__right"
611
- }, Xo = /* @__PURE__ */ k({
612
- __name: "header",
613
- setup(o) {
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
- u(e.$slots, "left")
619
- ])) : _("", !0),
620
- e.$slots.right ? (r(), l("div", Qo, [
621
- u(e.$slots, "right")
622
- ])) : _("", !0)
623
- ]),
624
- _: 3
625
- })
626
- ]));
627
- }
628
- }), Yo = {}, er = { class: "vf-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, [
592
+ u(o.$slots, "default")
593
+ ]);
594
+ }
595
+ const Qo = /* @__PURE__ */ $(Go, [["render", Jo]]), Xo = {}, Yo = { class: "vf-footer" };
596
+ function er(o, e) {
597
+ return r(), s("footer", Yo, [
631
598
  u(o.$slots, "default")
632
599
  ]);
633
600
  }
634
- const rr = /* @__PURE__ */ O(Yo, [["render", or]]), tr = ["disabled"], Lr = /* @__PURE__ */ k({
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,150 +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, 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", {
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", {
655
622
  key: 0,
656
- class: g(a.value),
623
+ class: h(a.value),
657
624
  disabled: e.loading || e.disabled
658
625
  }, [
659
- e.icon && !e.loading ? (r(), y(h($), {
626
+ e.icon && !e.loading ? (r(), y(g(k), {
660
627
  key: 0,
661
628
  icon: e.icon,
662
- class: g(t.value)
663
- }, null, 8, ["icon", "class"])) : _("", !0),
664
- e.loading ? (r(), y(h($), {
629
+ class: h(t.value)
630
+ }, null, 8, ["icon", "class"])) : m("", !0),
631
+ e.loading ? (r(), y(g(k), {
665
632
  key: 1,
666
633
  icon: "circleNotch",
667
- class: g(t.value),
634
+ class: h(t.value),
668
635
  spin: ""
669
- }, null, 8, ["class"])) : _("", !0),
670
- n.$slots.default ? (r(), l("span", {
636
+ }, null, 8, ["class"])) : m("", !0),
637
+ l.$slots.default ? (r(), s("span", {
671
638
  key: 2,
672
- class: g(s.value)
639
+ class: h(n.value)
673
640
  }, [
674
- u(n.$slots, "default")
675
- ], 2)) : n.label ? (r(), l("span", {
641
+ u(l.$slots, "default")
642
+ ], 2)) : l.label ? (r(), s("span", {
676
643
  key: 3,
677
- class: g(s.value)
678
- }, S(n.label), 3)) : _("", !0)
679
- ], 10, tr)) : (r(), y(h(V), {
644
+ class: h(n.value)
645
+ }, O(l.label), 3)) : m("", !0)
646
+ ], 10, rr)) : (r(), y(g(L), {
680
647
  key: 1,
681
648
  to: e.to,
682
649
  type: e.type,
683
- class: g(a.value),
650
+ class: h(a.value),
684
651
  disabled: e.loading || e.disabled
685
652
  }, {
686
- default: p(() => [
687
- e.icon ? (r(), y(h($), {
653
+ default: _(() => [
654
+ e.icon ? (r(), y(g(k), {
688
655
  key: 0,
689
656
  icon: e.icon,
690
- class: g(t.value)
691
- }, null, 8, ["icon", "class"])) : _("", !0),
692
- n.$slots.default ? (r(), l("span", {
657
+ class: h(t.value)
658
+ }, null, 8, ["icon", "class"])) : m("", !0),
659
+ l.$slots.default ? (r(), s("span", {
693
660
  key: 1,
694
- class: g(s.value)
661
+ class: h(n.value)
695
662
  }, [
696
- u(n.$slots, "default")
697
- ], 2)) : n.label ? (r(), l("span", {
663
+ u(l.$slots, "default")
664
+ ], 2)) : l.label ? (r(), s("span", {
698
665
  key: 2,
699
- class: g(s.value)
700
- }, S(n.label), 3)) : _("", !0)
666
+ class: h(n.value)
667
+ }, O(l.label), 3)) : m("", !0)
701
668
  ]),
702
669
  _: 3
703
670
  }, 8, ["to", "type", "class", "disabled"]));
704
671
  }
705
- }), lr = {}, nr = { class: "vf-content" };
706
- function sr(o, e) {
707
- return r(), l("div", nr, [
672
+ }), tr = {}, lr = { class: "vf-content" };
673
+ function nr(o, e) {
674
+ return r(), s("div", lr, [
708
675
  u(o.$slots, "default")
709
676
  ]);
710
677
  }
711
- const ar = /* @__PURE__ */ O(lr, [["render", sr]]), cr = { class: "vf-popover" }, Tr = /* @__PURE__ */ k({
678
+ const sr = /* @__PURE__ */ $(tr, [["render", nr]]), ar = { class: "vf-popover" }, xr = /* @__PURE__ */ F({
712
679
  __name: "popover",
713
680
  emits: ["onClick"],
714
681
  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, [
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, [
717
684
  i("div", {
718
685
  class: "vf-popover__button",
719
686
  onClick: d
720
687
  }, [
721
688
  u(v.$slots, "button")
722
689
  ]),
723
- Q(w(h(me), { class: "vf-popover__wrapper" }, X({
724
- default: p(() => [
690
+ J(S(g(_e), { class: "vf-popover__wrapper" }, Q({
691
+ default: _(() => [
725
692
  c[0] || (c[0] = i("div", { class: "vf-popover__arrow" }, null, -1))
726
693
  ]),
727
694
  _: 2
728
695
  }, [
729
696
  v.$slots.default ? {
730
697
  name: "default",
731
- fn: p(() => [
698
+ fn: _(() => [
732
699
  u(v.$slots, "default")
733
700
  ]),
734
701
  key: "0"
735
702
  } : void 0,
736
703
  v.$slots.popoverHeader ? {
737
704
  name: "header",
738
- fn: p(() => [
705
+ fn: _(() => [
739
706
  u(v.$slots, "popoverHeader")
740
707
  ]),
741
708
  key: "1"
742
709
  } : void 0,
743
710
  v.$slots.popoverBody ? {
744
711
  name: "body",
745
- fn: p(() => [
712
+ fn: _(() => [
746
713
  u(v.$slots, "popoverBody")
747
714
  ]),
748
715
  key: "2"
749
716
  } : void 0,
750
717
  v.$slots.popoverFooter ? {
751
718
  name: "footer",
752
- fn: p(() => [
719
+ fn: _(() => [
753
720
  u(v.$slots, "popoverFooter")
754
721
  ]),
755
722
  key: "3"
756
723
  } : void 0
757
724
  ]), 1536), [
758
- [Y, s.visible]
725
+ [X, n.visible]
759
726
  ])
760
727
  ]));
761
728
  }
762
- }), ir = {}, ur = { class: "vf-container" };
763
- function dr(o, e) {
764
- return r(), l("div", ur, [
729
+ }), cr = {}, ir = { class: "vf-container" };
730
+ function ur(o, e) {
731
+ return r(), s("div", ir, [
765
732
  u(o.$slots, "default")
766
733
  ]);
767
734
  }
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) => {
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}`;
738
+ }, fr = (o) => {
772
739
  const e = o.replace(/([A-Z])/g, "-$1");
773
740
  return e.charAt(0).toUpperCase() + e.slice(1);
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 = []) => {
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 = []) => {
775
742
  for (const a in o) {
776
- const t = o[a], s = e.concat([a]);
743
+ const t = o[a], n = e.concat([a]);
777
744
  if (typeof t == "object")
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"))
783
- for (let n = 1; n < 10; ++n) {
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)}`);
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)}`);
786
753
  }
787
754
  }
788
755
  }
789
- }, xr = {
756
+ }, Tr = {
790
757
  install(o, e) {
791
- H(e), B.length && document.styleSheets[0].insertRule(`:root { ${B.join(";")} }`), T.length && document.styleSheets[0].insertRule(`:root[data-theme=dark] { ${T.join(";")} }`);
758
+ A(e), B.length && document.styleSheets[0].insertRule(`:root { ${B.join(";")} }`), x.length && document.styleSheets[0].insertRule(`:root[data-theme=dark] { ${x.join(";")} }`);
792
759
  }
793
- }, Z = {
760
+ }, D = {
794
761
  colors: {
795
762
  white: "#ffffff",
796
763
  green: "#0cbc87",
@@ -821,7 +788,7 @@ const L = /* @__PURE__ */ O(ir, [["render", dr]]), A = (o, e) => "#" + o.replace
821
788
  dividerColor: "#2e2e32"
822
789
  }
823
790
  }
824
- }, gr = {
791
+ }, pr = {
825
792
  padding: "6px 10px",
826
793
  borderRadius: "6px",
827
794
  roundedBorderRadius: "2rem",
@@ -961,27 +928,27 @@ const L = /* @__PURE__ */ O(ir, [["render", dr]]), A = (o, e) => "#" + o.replace
961
928
  }
962
929
  }
963
930
  }
964
- }, br = {
931
+ }, gr = {
965
932
  padding: "12px",
966
933
  borderColor: "var(--vf-border-color)",
967
934
  borderRadius: "6px"
968
- }, _r = {}, mr = {
935
+ }, br = {}, _r = {
969
936
  padding: "12px"
970
- }, yr = {}, Cr = {}, wr = {
937
+ }, mr = {}, yr = {}, Cr = {
971
938
  color: "var(--vf-secondary-text-color)",
972
939
  padding: "12px",
973
940
  borderColor: "var(--vf-border-color)",
974
941
  backgroundColor: "var(--vf-bg-color)"
975
- }, kr = {
942
+ }, wr = {
976
943
  height: "60px",
977
944
  padding: "12px",
978
945
  minHeight: "60px",
979
946
  borderColor: "var(--vf-border-color)",
980
947
  backgroundColor: "var(--vf-bg-color)"
981
- }, Fr = {
948
+ }, kr = {
982
949
  hoverColor: "var(--vf-blue)",
983
950
  activeColor: "var(--vf-blue)"
984
- }, $r = {}, Br = {
951
+ }, Fr = {}, $r = {
985
952
  separatorColor: "var(--vf-border-color)",
986
953
  link: {
987
954
  hoverColor: "var(--vf-blue)",
@@ -997,40 +964,40 @@ const L = /* @__PURE__ */ O(ir, [["render", dr]]), A = (o, e) => "#" + o.replace
997
964
  marginBottom: "0.5rem",
998
965
  marginLeft: "0.5rem"
999
966
  }
1000
- }, Sr = {
967
+ }, Br = {
1001
968
  backgroundColor: "var(--vf-bg-color)"
1002
969
  }, Vr = {
1003
- ...Z,
970
+ ...D,
1004
971
  components: {
1005
- base: Z,
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
972
+ base: D,
973
+ button: pr,
974
+ card: gr,
975
+ codeBlock: br,
976
+ container: _r,
977
+ content: mr,
978
+ demo: yr,
979
+ footer: Cr,
980
+ header: wr,
981
+ link: kr,
982
+ logo: Fr,
983
+ menu: $r,
984
+ popover: Br
1018
985
  }
1019
986
  };
1020
987
  export {
1021
- Lr as Button,
1022
- me as Card,
1023
- L as Container,
1024
- ar as Content,
1025
- jr as DefaultLayout,
988
+ zr as Button,
989
+ _e as Card,
990
+ Lr as Container,
991
+ sr as Content,
992
+ Or as DefaultLayout,
1026
993
  Vr as DefaultTheme,
1027
- Mr as Demo,
1028
- rr as Footer,
1029
- Xo as Header,
1030
- Pr as LeftSidebarLayout,
1031
- V as Link,
1032
- zr as Logo,
1033
- Go as Menu,
1034
- Tr as Popover,
1035
- xr as VueForge
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
1036
1003
  };