@codemonster-ru/vueforge 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index.d.ts +15 -15
  3. package/dist/index.ts.mjs +295 -306
  4. package/dist/index.ts.umd.js +3 -3
  5. package/package.json +1 -1
  6. /package/dist/{components → package/components}/button.vue.d.ts +0 -0
  7. /package/dist/{components → package/components}/card.vue.d.ts +0 -0
  8. /package/dist/{components → package/components}/container.vue.d.ts +0 -0
  9. /package/dist/{components → package/components}/content.vue.d.ts +0 -0
  10. /package/dist/{components → package/components}/demo.vue.d.ts +0 -0
  11. /package/dist/{components → package/components}/footer.vue.d.ts +0 -0
  12. /package/dist/{components → package/components}/header.vue.d.ts +0 -0
  13. /package/dist/{components → package/components}/link.vue.d.ts +0 -0
  14. /package/dist/{components → package/components}/logo.vue.d.ts +0 -0
  15. /package/dist/{components → package/components}/menu.vue.d.ts +0 -0
  16. /package/dist/{components → package/components}/popover.vue.d.ts +0 -0
  17. /package/dist/{config → package/config}/index.d.ts +0 -0
  18. /package/dist/{layouts → package/layouts}/defaultLayout.vue.d.ts +0 -0
  19. /package/dist/{layouts → package/layouts}/leftSidebarLayout.vue.d.ts +0 -0
  20. /package/dist/{themes → package/themes}/default/base.d.ts +0 -0
  21. /package/dist/{themes → package/themes}/default/components/button.d.ts +0 -0
  22. /package/dist/{themes → package/themes}/default/components/card.d.ts +0 -0
  23. /package/dist/{themes → package/themes}/default/components/codeBlock.d.ts +0 -0
  24. /package/dist/{themes → package/themes}/default/components/container.d.ts +0 -0
  25. /package/dist/{themes → package/themes}/default/components/content.d.ts +0 -0
  26. /package/dist/{themes → package/themes}/default/components/demo.d.ts +0 -0
  27. /package/dist/{themes → package/themes}/default/components/footer.d.ts +0 -0
  28. /package/dist/{themes → package/themes}/default/components/header.d.ts +0 -0
  29. /package/dist/{themes → package/themes}/default/components/link.d.ts +0 -0
  30. /package/dist/{themes → package/themes}/default/components/logo.d.ts +0 -0
  31. /package/dist/{themes → package/themes}/default/components/menu.d.ts +0 -0
  32. /package/dist/{themes → package/themes}/default/components/popover.d.ts +0 -0
  33. /package/dist/{themes → package/themes}/default/index.d.ts +0 -0
package/dist/index.ts.mjs CHANGED
@@ -1,23 +1,23 @@
1
- import { defineComponent as k, resolveComponent as x, openBlock as r, createElementBlock as l, createVNode as w, unref as f, withCtx as h, renderSlot as u, createElementVNode as i, inject as I, ref as U, computed as F, normalizeClass as p, Fragment as M, createTextVNode as z, toDisplayString as S, createBlock as y, createCommentVNode as b, 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";
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
2
  const ee = { class: "vf-layout" }, jr = /* @__PURE__ */ k({
3
3
  __name: "defaultLayout",
4
4
  setup(o) {
5
- return (e, s) => {
5
+ return (e, a) => {
6
6
  const t = x("router-view");
7
7
  return r(), l("div", ee, [
8
- w(f(Xo), null, {
9
- left: h(() => [
8
+ w(h(Xo), null, {
9
+ left: p(() => [
10
10
  u(e.$slots, "headerLeft")
11
11
  ]),
12
- right: h(() => [
12
+ right: p(() => [
13
13
  u(e.$slots, "headerRight")
14
14
  ]),
15
15
  _: 3
16
16
  }),
17
- w(f(sr), null, {
18
- default: h(() => [
19
- w(f(L), null, {
20
- default: h(() => [
17
+ w(h(ar), null, {
18
+ default: p(() => [
19
+ w(h(L), null, {
20
+ default: p(() => [
21
21
  w(t)
22
22
  ]),
23
23
  _: 1
@@ -25,10 +25,10 @@ const ee = { class: "vf-layout" }, jr = /* @__PURE__ */ k({
25
25
  ]),
26
26
  _: 1
27
27
  }),
28
- w(f(rr), null, {
29
- default: h(() => [
30
- w(f(L), null, {
31
- default: h(() => [
28
+ w(h(rr), null, {
29
+ default: p(() => [
30
+ w(h(L), null, {
31
+ default: p(() => [
32
32
  u(e.$slots, "footerDefault")
33
33
  ]),
34
34
  _: 3
@@ -40,29 +40,29 @@ const ee = { class: "vf-layout" }, jr = /* @__PURE__ */ k({
40
40
  };
41
41
  }
42
42
  }), O = (o, e) => {
43
- const s = o.__vccOpts || o;
44
- for (const [t, c] of e)
45
- s[t] = c;
46
- return s;
47
- }, oe = {}, re = { class: "cm-left-sidebar-flexbox" }, te = { class: "cm-left-sidebar" }, le = { class: "cm-main-content" };
43
+ const a = o.__vccOpts || o;
44
+ for (const [t, s] of e)
45
+ a[t] = s;
46
+ return a;
47
+ }, oe = {}, re = { class: "vf-left-sidebar-flexbox" }, te = { class: "vf-left-sidebar" }, le = { class: "vf-main-content" };
48
48
  function ne(o, e) {
49
- const s = x("router-view");
49
+ const a = x("router-view");
50
50
  return r(), l("div", re, [
51
51
  i("div", te, [
52
52
  u(o.$slots, "leftSidebar")
53
53
  ]),
54
54
  i("div", le, [
55
- w(s)
55
+ w(a)
56
56
  ])
57
57
  ]);
58
58
  }
59
- const Pr = /* @__PURE__ */ O(oe, [["render", ne]]), ce = {}, se = { class: "cm-demo" };
60
- function ae(o, e) {
61
- return r(), l("div", se, [
59
+ const Pr = /* @__PURE__ */ O(oe, [["render", ne]]), se = {}, ae = { class: "vf-demo" };
60
+ function ce(o, e) {
61
+ return r(), l("div", ae, [
62
62
  u(o.$slots, "default")
63
63
  ]);
64
64
  }
65
- const Mr = /* @__PURE__ */ O(ce, [["render", ae]]);
65
+ const Mr = /* @__PURE__ */ O(se, [["render", ce]]);
66
66
  /*!
67
67
  * vue-router v4.5.0
68
68
  * (c) 2024 Eduardo San Martin Morote
@@ -101,66 +101,66 @@ const de = ["href"], V = /* @__PURE__ */ k({
101
101
  },
102
102
  emits: ["onActive"],
103
103
  setup(o, { emit: e }) {
104
- const s = e, t = o, c = ue(), n = U(null), _ = F(() => (t.type === "router-link" && c.matched.some(({ name: m }) => t.to.name === m) && s("onActive"), t.active));
105
- return (m, d) => {
104
+ const a = e, t = o, s = ue(), n = U(null), m = F(() => (t.type === "router-link" && s.matched.some(({ name: f }) => t.to.name === f) && a("onActive"), t.active));
105
+ return (f, d) => {
106
106
  const v = x("router-link");
107
- return m.type === "a" ? (r(), l("a", {
107
+ return f.type === "a" ? (r(), l("a", {
108
108
  key: 0,
109
- href: m.url,
110
- class: p(["cm-link", { "cm-link_active": m.active, "cm-link_disabled": m.disabled }])
109
+ href: f.url,
110
+ class: g(["vf-link", { "vf-link_active": f.active, "vf-link_disabled": f.disabled }])
111
111
  }, [
112
- m.$slots.default ? u(m.$slots, "default", { key: 0 }) : (r(), l(M, { key: 1 }, [
113
- z(S(m.label), 1)
112
+ f.$slots.default ? u(f.$slots, "default", { key: 0 }) : (r(), l(M, { key: 1 }, [
113
+ z(S(f.label), 1)
114
114
  ], 64))
115
115
  ], 10, de)) : (r(), y(v, {
116
116
  key: 1,
117
117
  ref_key: "link",
118
118
  ref: n,
119
- to: m.to,
120
- class: p(["cm-link", { "cm-link_active": _.value }]),
121
- disabled: m.disabled,
122
- "active-class": "cm-link_partially-active",
123
- "exact-active-class": "cm-link_active"
119
+ to: f.to,
120
+ class: g(["vf-link", { "vf-link_active": m.value }]),
121
+ disabled: f.disabled,
122
+ "active-class": "vf-link_partially-active",
123
+ "exact-active-class": "vf-link_active"
124
124
  }, {
125
- default: h(() => [
126
- m.$slots.default ? u(m.$slots, "default", { key: 0 }) : (r(), l(M, { key: 1 }, [
127
- z(S(m.label), 1)
125
+ default: p(() => [
126
+ f.$slots.default ? u(f.$slots, "default", { key: 0 }) : (r(), l(M, { key: 1 }, [
127
+ z(S(f.label), 1)
128
128
  ], 64))
129
129
  ]),
130
130
  _: 3
131
131
  }, 8, ["to", "class", "disabled"]));
132
132
  };
133
133
  }
134
- }), ve = {}, me = { class: "cm-card" }, fe = {
134
+ }), ve = {}, fe = { class: "vf-card" }, he = {
135
135
  key: 0,
136
- class: "cm-card__default"
137
- }, he = {
138
- key: 1,
139
- class: "cm-card__header"
136
+ class: "vf-card__default"
140
137
  }, pe = {
141
- key: 2,
142
- class: "cm-card__body"
138
+ key: 1,
139
+ class: "vf-card__header"
143
140
  }, ge = {
141
+ key: 2,
142
+ class: "vf-card__body"
143
+ }, be = {
144
144
  key: 3,
145
- class: "cm-card__footer"
145
+ class: "vf-card__footer"
146
146
  };
147
- function be(o, e) {
148
- return r(), l("div", me, [
149
- o.$slots.default ? (r(), l("div", fe, [
147
+ function _e(o, e) {
148
+ return r(), l("div", fe, [
149
+ o.$slots.default ? (r(), l("div", he, [
150
150
  u(o.$slots, "default")
151
- ])) : b("", !0),
152
- o.$slots.header ? (r(), l("div", he, [
151
+ ])) : _("", !0),
152
+ o.$slots.header ? (r(), l("div", pe, [
153
153
  u(o.$slots, "header")
154
- ])) : b("", !0),
155
- o.$slots.body ? (r(), l("div", pe, [
154
+ ])) : _("", !0),
155
+ o.$slots.body ? (r(), l("div", ge, [
156
156
  u(o.$slots, "body")
157
- ])) : b("", !0),
158
- o.$slots.footer ? (r(), l("div", ge, [
157
+ ])) : _("", !0),
158
+ o.$slots.footer ? (r(), l("div", be, [
159
159
  u(o.$slots, "footer")
160
- ])) : b("", !0)
160
+ ])) : _("", !0)
161
161
  ]);
162
162
  }
163
- const _e = /* @__PURE__ */ O(ve, [["render", be]]), ye = { class: "cm-logo" }, Ce = ["src", "width", "height", "alt"], we = ["src", "width", "height", "alt"], zr = /* @__PURE__ */ k({
163
+ const me = /* @__PURE__ */ O(ve, [["render", _e]]), ye = { class: "vf-logo" }, Ce = ["src", "width", "height", "alt"], we = ["src", "width", "height", "alt"], zr = /* @__PURE__ */ k({
164
164
  __name: "logo",
165
165
  props: {
166
166
  to: { default: void 0 },
@@ -173,17 +173,17 @@ const _e = /* @__PURE__ */ O(ve, [["render", be]]), ye = { class: "cm-logo" }, C
173
173
  height: { default: void 0 }
174
174
  },
175
175
  setup(o) {
176
- const e = o, s = F(() => Array.isArray(e.src) ? e.dark ? e.src[1] : e.src[0] : e.src);
177
- return (t, c) => (r(), l("div", ye, [
178
- t.type.length ? (r(), y(f(V), {
176
+ const e = o, a = F(() => Array.isArray(e.src) ? e.dark ? e.src[1] : e.src[0] : e.src);
177
+ return (t, s) => (r(), l("div", ye, [
178
+ t.type.length ? (r(), y(h(V), {
179
179
  key: 0,
180
180
  type: t.type,
181
181
  to: t.to,
182
182
  url: t.url
183
183
  }, {
184
- default: h(() => [
184
+ default: p(() => [
185
185
  i("img", {
186
- src: s.value,
186
+ src: a.value,
187
187
  width: t.width,
188
188
  height: t.height,
189
189
  alt: t.alt
@@ -192,18 +192,18 @@ const _e = /* @__PURE__ */ O(ve, [["render", be]]), ye = { class: "cm-logo" }, C
192
192
  _: 1
193
193
  }, 8, ["type", "to", "url"])) : (r(), l("img", {
194
194
  key: 1,
195
- src: s.value,
195
+ src: a.value,
196
196
  width: t.width,
197
197
  height: t.height,
198
198
  alt: t.alt
199
199
  }, null, 8, we))
200
200
  ]));
201
201
  }
202
- }), g = (o, e) => {
203
- const s = o.__vccOpts || o;
204
- for (const [t, c] of e)
205
- s[t] = c;
206
- return s;
202
+ }), b = (o, e) => {
203
+ const a = o.__vccOpts || o;
204
+ for (const [t, s] of e)
205
+ a[t] = s;
206
+ return a;
207
207
  }, ke = {}, Fe = {
208
208
  xmlns: "http://www.w3.org/2000/svg",
209
209
  viewBox: "0 0 512 512",
@@ -216,7 +216,7 @@ function $e(o, e) {
216
216
  G('<circle fill="currentColor" cx="256" cy="256" r="128"></circle><rect fill="currentColor" y="240.03" width="96" height="31.94"></rect><rect fill="currentColor" x="416" y="240.03" width="96" height="31.94"></rect><rect fill="currentColor" x="239.95" width="32.1" height="96"></rect><polygon fill="currentColor" points="240 416 272 416 272 512 240.06 512 240 416"></polygon><rect fill="currentColor" x="93.09" y="60.96" width="31.94" height="96" transform="translate(-45.1 109.03) rotate(-45)"></rect><rect fill="currentColor" x="355.02" y="92.75" width="96" height="32.1" transform="translate(41.11 316.85) rotate(-45)"></rect><polygon fill="currentColor" points="357.08 380.39 379.71 357.76 447.59 425.65 425 448.23 357.08 380.39"></polygon><polygon fill="currentColor" points="131.75 357.04 154.37 379.67 86.49 447.55 63.9 424.96 131.75 357.04"></polygon>', 9)
217
217
  ]));
218
218
  }
219
- const Be = /* @__PURE__ */ g(ke, [["render", $e]]), Se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
219
+ const Be = /* @__PURE__ */ b(ke, [["render", $e]]), Se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
220
220
  __proto__: null,
221
221
  default: Be
222
222
  }, Symbol.toStringTag, { value: "Module" })), Oe = {}, je = {
@@ -234,7 +234,7 @@ function Pe(o, e) {
234
234
  }, null, -1)
235
235
  ]));
236
236
  }
237
- const Me = /* @__PURE__ */ g(Oe, [["render", Pe]]), ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
237
+ const Me = /* @__PURE__ */ b(Oe, [["render", Pe]]), ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
238
238
  __proto__: null,
239
239
  default: Me
240
240
  }, Symbol.toStringTag, { value: "Module" })), Le = {}, Te = {
@@ -260,7 +260,7 @@ function xe(o, e) {
260
260
  }, null, -1)
261
261
  ]));
262
262
  }
263
- const Ve = /* @__PURE__ */ g(Le, [["render", xe]]), Re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
263
+ const Ve = /* @__PURE__ */ b(Le, [["render", xe]]), Re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
264
264
  __proto__: null,
265
265
  default: Ve
266
266
  }, Symbol.toStringTag, { value: "Module" })), De = {}, Ne = {
@@ -284,7 +284,7 @@ function Ee(o, e) {
284
284
  }, null, -1)
285
285
  ]));
286
286
  }
287
- const Ze = /* @__PURE__ */ g(De, [["render", Ee]]), Ae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
287
+ const Ze = /* @__PURE__ */ b(De, [["render", Ee]]), Ae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
288
288
  __proto__: null,
289
289
  default: Ze
290
290
  }, Symbol.toStringTag, { value: "Module" })), He = {}, Ie = {
@@ -302,7 +302,7 @@ function Ue(o, e) {
302
302
  }, null, -1)
303
303
  ]));
304
304
  }
305
- const Ke = /* @__PURE__ */ g(He, [["render", Ue]]), qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
305
+ const Ke = /* @__PURE__ */ b(He, [["render", Ue]]), qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
306
306
  __proto__: null,
307
307
  default: Ke
308
308
  }, Symbol.toStringTag, { value: "Module" })), Ge = {}, We = {
@@ -320,7 +320,7 @@ function Je(o, e) {
320
320
  }, null, -1)
321
321
  ]));
322
322
  }
323
- const Qe = /* @__PURE__ */ g(Ge, [["render", Je]]), Xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
323
+ const Qe = /* @__PURE__ */ b(Ge, [["render", Je]]), Xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
324
324
  __proto__: null,
325
325
  default: Qe
326
326
  }, Symbol.toStringTag, { value: "Module" })), Ye = {}, eo = {
@@ -345,7 +345,7 @@ function oo(o, e) {
345
345
  }, null, -1)
346
346
  ]));
347
347
  }
348
- const ro = /* @__PURE__ */ g(Ye, [["render", oo]]), to = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
348
+ const ro = /* @__PURE__ */ b(Ye, [["render", oo]]), to = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
349
349
  __proto__: null,
350
350
  default: ro
351
351
  }, Symbol.toStringTag, { value: "Module" })), lo = {}, no = {
@@ -355,7 +355,7 @@ const ro = /* @__PURE__ */ g(Ye, [["render", oo]]), to = /* @__PURE__ */ Object.
355
355
  width: "16",
356
356
  height: "16"
357
357
  };
358
- function co(o, e) {
358
+ function so(o, e) {
359
359
  return r(), l("svg", no, e[0] || (e[0] = [
360
360
  i("path", {
361
361
  fill: "currentColor",
@@ -367,9 +367,9 @@ function co(o, e) {
367
367
  }, null, -1)
368
368
  ]));
369
369
  }
370
- const so = /* @__PURE__ */ g(lo, [["render", co]]), ao = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
370
+ const ao = /* @__PURE__ */ b(lo, [["render", so]]), co = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
371
371
  __proto__: null,
372
- default: so
372
+ default: ao
373
373
  }, Symbol.toStringTag, { value: "Module" })), io = {}, uo = {
374
374
  xmlns: "http://www.w3.org/2000/svg",
375
375
  viewBox: "0 0 512 512",
@@ -385,27 +385,27 @@ function vo(o, e) {
385
385
  }, null, -1)
386
386
  ]));
387
387
  }
388
- const mo = /* @__PURE__ */ g(io, [["render", vo]]), fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
388
+ const fo = /* @__PURE__ */ b(io, [["render", vo]]), ho = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
389
389
  __proto__: null,
390
- default: mo
391
- }, Symbol.toStringTag, { value: "Module" })), ho = {}, po = {
390
+ default: fo
391
+ }, Symbol.toStringTag, { value: "Module" })), po = {}, go = {
392
392
  xmlns: "http://www.w3.org/2000/svg",
393
393
  viewBox: "0 0 512 512",
394
394
  fill: "none",
395
395
  width: "16",
396
396
  height: "16"
397
397
  };
398
- function go(o, e) {
399
- return r(), l("svg", po, e[0] || (e[0] = [
398
+ function bo(o, e) {
399
+ return r(), l("svg", go, e[0] || (e[0] = [
400
400
  i("path", {
401
401
  fill: "currentColor",
402
402
  d: "M232.4,353.7L64.3,185.6c-16.1-16.1,0.1-32.5,0.1-32.5s16-15.4,31.9,0.5l159.6,159.6l160-160 c16-16,31.5,0.5,31.5,0.5s16.5,15.5,0.5,31.5c-13,13-168.5,168.5-168.5,168.5C263.4,369.7,248.4,369.7,232.4,353.7z"
403
403
  }, null, -1)
404
404
  ]));
405
405
  }
406
- const bo = /* @__PURE__ */ g(ho, [["render", go]]), _o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
406
+ const _o = /* @__PURE__ */ b(po, [["render", bo]]), mo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
407
407
  __proto__: null,
408
- default: bo
408
+ default: _o
409
409
  }, Symbol.toStringTag, { value: "Module" })), yo = {}, Co = {
410
410
  xmlns: "http://www.w3.org/2000/svg",
411
411
  viewBox: "0 0 512 512",
@@ -421,7 +421,7 @@ function wo(o, e) {
421
421
  }, null, -1)
422
422
  ]));
423
423
  }
424
- const ko = /* @__PURE__ */ g(yo, [["render", wo]]), Fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
424
+ const ko = /* @__PURE__ */ b(yo, [["render", wo]]), Fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
425
425
  __proto__: null,
426
426
  default: ko
427
427
  }, Symbol.toStringTag, { value: "Module" })), $o = {}, Bo = {
@@ -439,7 +439,7 @@ function So(o, e) {
439
439
  }, null, -1)
440
440
  ]));
441
441
  }
442
- const Oo = /* @__PURE__ */ g($o, [["render", So]]), jo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
442
+ const Oo = /* @__PURE__ */ b($o, [["render", So]]), jo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
443
443
  __proto__: null,
444
444
  default: Oo
445
445
  }, Symbol.toStringTag, { value: "Module" })), Po = {}, Mo = {
@@ -461,7 +461,7 @@ function zo(o, e) {
461
461
  }, null, -1)
462
462
  ]));
463
463
  }
464
- const Lo = /* @__PURE__ */ g(Po, [["render", zo]]), To = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
464
+ const Lo = /* @__PURE__ */ b(Po, [["render", zo]]), To = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
465
465
  __proto__: null,
466
466
  default: Lo
467
467
  }, Symbol.toStringTag, { value: "Module" })), xo = {}, Vo = {
@@ -479,17 +479,17 @@ function Ro(o, e) {
479
479
  }, null, -1)
480
480
  ]));
481
481
  }
482
- const Do = /* @__PURE__ */ g(xo, [["render", Ro]]), No = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
482
+ const Do = /* @__PURE__ */ b(xo, [["render", Ro]]), No = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
483
483
  __proto__: null,
484
484
  default: Do
485
- }, Symbol.toStringTag, { value: "Module" })), Eo = (o, e, s) => {
485
+ }, Symbol.toStringTag, { value: "Module" })), Eo = (o, e, a) => {
486
486
  const t = o[e];
487
- return t ? typeof t == "function" ? t() : Promise.resolve(t) : new Promise((c, n) => {
487
+ return t ? typeof t == "function" ? t() : Promise.resolve(t) : new Promise((s, n) => {
488
488
  (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
489
489
  n.bind(
490
490
  null,
491
491
  new Error(
492
- "Unknown variable dynamic import: " + e + (e.split("/").length !== s ? ". Note that variables only represent file names one level deep." : "")
492
+ "Unknown variable dynamic import: " + e + (e.split("/").length !== a ? ". Note that variables only represent file names one level deep." : "")
493
493
  )
494
494
  )
495
495
  );
@@ -510,23 +510,23 @@ const Do = /* @__PURE__ */ g(xo, [["render", Ro]]), No = /* @__PURE__ */ Object.
510
510
  }
511
511
  },
512
512
  setup(o) {
513
- const e = o, s = F(() => {
514
- const c = 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(() => _o), "./chevronLeft.vue": () => Promise.resolve().then(() => Fo), "./chevronRight.vue": () => Promise.resolve().then(() => jo), "./chevronUp.vue": () => Promise.resolve().then(() => fo), "./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(() => ao), "./sun.vue": () => Promise.resolve().then(() => Se), "./user.vue": () => Promise.resolve().then(() => Ae) }), `./${c}.vue`, 2));
513
+ const e = o, a = F(() => {
514
+ const s = e.icon;
515
+ return K(() => Eo(/* @__PURE__ */ Object.assign({ "./bars.vue": () => Promise.resolve().then(() => Re), "./check.vue": () => Promise.resolve().then(() => Xe), "./chevronDown.vue": () => Promise.resolve().then(() => mo), "./chevronLeft.vue": () => Promise.resolve().then(() => Fo), "./chevronRight.vue": () => Promise.resolve().then(() => jo), "./chevronUp.vue": () => Promise.resolve().then(() => ho), "./circleHalf.vue": () => Promise.resolve().then(() => to), "./circleNotch.vue": () => Promise.resolve().then(() => No), "./house.vue": () => Promise.resolve().then(() => qe), "./icon.vue": () => Promise.resolve().then(() => Io), "./magnifyingGlass.vue": () => Promise.resolve().then(() => To), "./moon.vue": () => Promise.resolve().then(() => ze), "./rotateRight.vue": () => Promise.resolve().then(() => co), "./sun.vue": () => Promise.resolve().then(() => Se), "./user.vue": () => Promise.resolve().then(() => Ae) }), `./${s}.vue`, 2));
516
516
  }), t = F(() => {
517
- let c = ["cm-icon"];
518
- return e.spin && c.push("cm-icon_animations_spin"), c;
517
+ let s = ["cm-icon"];
518
+ return e.spin && s.push("cm-icon_animations_spin"), s;
519
519
  });
520
- return (c, n) => (r(), y(q(s.value), {
521
- class: p(t.value)
520
+ return (s, n) => (r(), y(q(a.value), {
521
+ class: g(t.value)
522
522
  }, null, 8, ["class"]));
523
523
  }
524
- }), $ = /* @__PURE__ */ g(Ho, [["__scopeId", "data-v-e8b1cecb"]]), Io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
524
+ }), $ = /* @__PURE__ */ b(Ho, [["__scopeId", "data-v-e8b1cecb"]]), Io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
525
525
  __proto__: null,
526
526
  default: $
527
- }, Symbol.toStringTag, { value: "Module" })), Uo = { class: "cm-menu__list" }, Ko = {
527
+ }, Symbol.toStringTag, { value: "Module" })), Uo = { class: "vf-menu__list" }, Ko = {
528
528
  key: 1,
529
- class: "cm-menu__separator"
529
+ class: "vf-menu__separator"
530
530
  }, qo = ["onClick"], Go = /* @__PURE__ */ k({
531
531
  __name: "menu",
532
532
  props: {
@@ -535,66 +535,66 @@ const Do = /* @__PURE__ */ g(xo, [["render", Ro]]), No = /* @__PURE__ */ Object.
535
535
  },
536
536
  emits: ["onActive"],
537
537
  setup(o, { emit: e }) {
538
- const s = e, t = o, c = (d, v) => `${d.label}_${v.toString()}`, n = (d) => Object.prototype.hasOwnProperty.call(d, "to") ? "router-link" : "a", _ = (d) => {
538
+ const a = e, t = o, s = (d, v) => `${d.label}_${v.toString()}`, n = (d) => Object.prototype.hasOwnProperty.call(d, "to") ? "router-link" : "a", m = (d) => {
539
539
  Object.prototype.hasOwnProperty.call(d, "items") ? (t.items.map((v) => {
540
540
  v !== d && (v.subMenuVisible = !1);
541
541
  }), d.subMenuVisible = !d.subMenuVisible) : Object.prototype.hasOwnProperty.call(d, "command") && d.command();
542
- }, m = (d) => {
542
+ }, f = (d) => {
543
543
  var v;
544
- for (const a in t.items) {
545
- const C = t.items[a];
544
+ for (const c in t.items) {
545
+ const C = t.items[c];
546
546
  Object.prototype.hasOwnProperty.call(C, "items") && ((v = C.items) != null && v.some((P) => P === d) ? (C.active = !0, C.subMenuVisible = !0) : (C.active = !1, C.subMenuVisible = !1));
547
547
  }
548
- s("onActive", d);
548
+ a("onActive", d);
549
549
  };
550
550
  return (d, v) => (r(), l("div", {
551
- class: p(["cm-menu", `cm-menu_${d.orientation}`])
551
+ class: g(["vf-menu", `vf-menu_${d.orientation}`])
552
552
  }, [
553
553
  i("ul", Uo, [
554
- (r(!0), l(M, null, W(d.items, (a, C) => (r(), l("li", {
555
- key: c(a, C),
556
- class: "cm-menu__item"
554
+ (r(!0), l(M, null, W(d.items, (c, C) => (r(), l("li", {
555
+ key: s(c, C),
556
+ class: "vf-menu__item"
557
557
  }, [
558
- d.$slots[c(a, C)] ? u(d.$slots, c(a, C), {
558
+ d.$slots[s(c, C)] ? u(d.$slots, s(c, C), {
559
559
  key: 0,
560
- item: { ...a, class: "cm-menu__link" }
561
- }) : a.separator ? (r(), l("hr", Ko)) : a.hasOwnProperty("items") ? (r(), l(M, { key: 2 }, [
560
+ item: { ...c, class: "vf-menu__link" }
561
+ }) : c.separator ? (r(), l("hr", Ko)) : c.hasOwnProperty("items") ? (r(), l(M, { key: 2 }, [
562
562
  i("div", {
563
- class: p(["cm-menu__parent", { "cm-menu__parent_active": a.active }]),
564
- onClick: (P) => _(a)
563
+ class: g(["vf-menu__parent", { "vf-menu__parent_active": c.active }]),
564
+ onClick: (P) => m(c)
565
565
  }, [
566
- a.icon ? (r(), y(f($), {
566
+ c.icon ? (r(), y(h($), {
567
567
  key: 0,
568
- icon: a.icon,
569
- class: "cm-menu__icon"
570
- }, null, 8, ["icon"])) : b("", !0),
571
- z(" " + S(a.label) + " ", 1),
572
- w(f($), { icon: "chevronDown" })
568
+ icon: c.icon,
569
+ class: "vf-menu__icon"
570
+ }, null, 8, ["icon"])) : _("", !0),
571
+ z(" " + S(c.label) + " ", 1),
572
+ w(h($), { icon: "chevronDown" })
573
573
  ], 10, qo),
574
- a.items ? (r(), y(f(Go), {
574
+ c.items ? (r(), y(h(Go), {
575
575
  key: 0,
576
- items: a.items,
577
- class: p(["cm-menu__submenu", { "cm-menu__submenu_visible": a.subMenuVisible }]),
578
- onOnActive: m
579
- }, null, 8, ["items", "class"])) : b("", !0)
580
- ], 64)) : (r(), y(f(V), {
576
+ items: c.items,
577
+ class: g(["vf-menu__submenu", { "vf-menu__submenu_visible": c.subMenuVisible }]),
578
+ onOnActive: f
579
+ }, null, 8, ["items", "class"])) : _("", !0)
580
+ ], 64)) : (r(), y(h(V), {
581
581
  key: 3,
582
- to: a.to,
583
- url: a.url,
584
- type: n(a),
585
- class: "cm-menu__link",
586
- active: a.active,
587
- disabled: a.disabled,
588
- onClick: (P) => _(a),
589
- onOnActive: (P) => m(a)
582
+ to: c.to,
583
+ url: c.url,
584
+ type: n(c),
585
+ class: "vf-menu__link",
586
+ active: c.active,
587
+ disabled: c.disabled,
588
+ onClick: (P) => m(c),
589
+ onOnActive: (P) => f(c)
590
590
  }, {
591
- default: h(() => [
592
- a.icon ? (r(), y(f($), {
591
+ default: p(() => [
592
+ c.icon ? (r(), y(h($), {
593
593
  key: 0,
594
- icon: a.icon,
595
- class: "cm-menu__icon"
596
- }, null, 8, ["icon"])) : b("", !0),
597
- z(" " + S(a.label), 1)
594
+ icon: c.icon,
595
+ class: "vf-menu__icon"
596
+ }, null, 8, ["icon"])) : _("", !0),
597
+ z(" " + S(c.label), 1)
598
598
  ]),
599
599
  _: 2
600
600
  }, 1032, ["to", "url", "type", "active", "disabled", "onClick", "onOnActive"]))
@@ -602,30 +602,30 @@ const Do = /* @__PURE__ */ g(xo, [["render", Ro]]), No = /* @__PURE__ */ Object.
602
602
  ])
603
603
  ], 2));
604
604
  }
605
- }), Wo = { class: "cm-header" }, Jo = {
605
+ }), Wo = { class: "vf-header" }, Jo = {
606
606
  key: 0,
607
- class: "cm-header__left"
607
+ class: "vf-header__left"
608
608
  }, Qo = {
609
609
  key: 1,
610
- class: "cm-header__right"
610
+ class: "vf-header__right"
611
611
  }, Xo = /* @__PURE__ */ k({
612
612
  __name: "header",
613
613
  setup(o) {
614
- return (e, s) => (r(), l("header", Wo, [
615
- w(f(L), null, {
616
- default: h(() => [
614
+ return (e, a) => (r(), l("header", Wo, [
615
+ w(h(L), null, {
616
+ default: p(() => [
617
617
  e.$slots.left ? (r(), l("div", Jo, [
618
618
  u(e.$slots, "left")
619
- ])) : b("", !0),
619
+ ])) : _("", !0),
620
620
  e.$slots.right ? (r(), l("div", Qo, [
621
621
  u(e.$slots, "right")
622
- ])) : b("", !0)
622
+ ])) : _("", !0)
623
623
  ]),
624
624
  _: 3
625
625
  })
626
626
  ]));
627
627
  }
628
- }), Yo = {}, er = { class: "cm-footer" };
628
+ }), Yo = {}, er = { class: "vf-footer" };
629
629
  function or(o, e) {
630
630
  return r(), l("footer", er, [
631
631
  u(o.$slots, "default")
@@ -647,153 +647,142 @@ const rr = /* @__PURE__ */ O(Yo, [["render", or]]), tr = ["disabled"], Lr = /* @
647
647
  disabled: { type: Boolean, default: !1 }
648
648
  },
649
649
  setup(o) {
650
- const e = o, s = F(() => {
651
- let n = [
652
- "cm-button",
653
- `cm-button_${e.severity}`
654
- ];
655
- return ["top", "bottom"].includes(e.iconPos) && n.push("cm-button_vertical"), e.variant === "text" && n.push("cm-button_text"), e.variant === "outlined" && n.push("cm-button_outlined"), ["small", "large"].indexOf(e.size) > -1 && n.push(`cm-button_${e.size}`), (e.loading || e.disabled) && n.push("cm-button_disabled"), e.rounded && n.push("cm-button_rounded"), n;
656
- }), t = F(() => ["cm-button__icon", `cm-button__icon_${e.iconPos}`]), c = F(() => ["cm-button__label"]);
657
- return (n, _) => e.type === "button" ? (r(), l("button", {
650
+ const e = o, a = F(() => {
651
+ let n = ["vf-button", `vf-button_${e.severity}`];
652
+ return ["top", "bottom"].includes(e.iconPos) && n.push("vf-button_vertical"), e.variant === "text" && n.push("vf-button_text"), e.variant === "outlined" && n.push("vf-button_outlined"), ["small", "large"].indexOf(e.size) > -1 && n.push(`vf-button_${e.size}`), (e.loading || e.disabled) && n.push("vf-button_disabled"), e.rounded && n.push("vf-button_rounded"), n;
653
+ }), t = F(() => ["vf-button__icon", `vf-button__icon_${e.iconPos}`]), s = F(() => ["vf-button__label"]);
654
+ return (n, m) => e.type === "button" ? (r(), l("button", {
658
655
  key: 0,
659
- class: p(s.value),
656
+ class: g(a.value),
660
657
  disabled: e.loading || e.disabled
661
658
  }, [
662
- e.icon && !e.loading ? (r(), y(f($), {
659
+ e.icon && !e.loading ? (r(), y(h($), {
663
660
  key: 0,
664
661
  icon: e.icon,
665
- class: p(t.value)
666
- }, null, 8, ["icon", "class"])) : b("", !0),
667
- e.loading ? (r(), y(f($), {
662
+ class: g(t.value)
663
+ }, null, 8, ["icon", "class"])) : _("", !0),
664
+ e.loading ? (r(), y(h($), {
668
665
  key: 1,
669
666
  icon: "circleNotch",
670
- class: p(t.value),
667
+ class: g(t.value),
671
668
  spin: ""
672
- }, null, 8, ["class"])) : b("", !0),
669
+ }, null, 8, ["class"])) : _("", !0),
673
670
  n.$slots.default ? (r(), l("span", {
674
671
  key: 2,
675
- class: p(c.value)
672
+ class: g(s.value)
676
673
  }, [
677
674
  u(n.$slots, "default")
678
675
  ], 2)) : n.label ? (r(), l("span", {
679
676
  key: 3,
680
- class: p(c.value)
681
- }, S(n.label), 3)) : b("", !0)
682
- ], 10, tr)) : (r(), y(f(V), {
677
+ class: g(s.value)
678
+ }, S(n.label), 3)) : _("", !0)
679
+ ], 10, tr)) : (r(), y(h(V), {
683
680
  key: 1,
684
681
  to: e.to,
685
682
  type: e.type,
686
- class: p(s.value),
683
+ class: g(a.value),
687
684
  disabled: e.loading || e.disabled
688
685
  }, {
689
- default: h(() => [
690
- e.icon ? (r(), y(f($), {
686
+ default: p(() => [
687
+ e.icon ? (r(), y(h($), {
691
688
  key: 0,
692
689
  icon: e.icon,
693
- class: p(t.value)
694
- }, null, 8, ["icon", "class"])) : b("", !0),
690
+ class: g(t.value)
691
+ }, null, 8, ["icon", "class"])) : _("", !0),
695
692
  n.$slots.default ? (r(), l("span", {
696
693
  key: 1,
697
- class: p(c.value)
694
+ class: g(s.value)
698
695
  }, [
699
696
  u(n.$slots, "default")
700
697
  ], 2)) : n.label ? (r(), l("span", {
701
698
  key: 2,
702
- class: p(c.value)
703
- }, S(n.label), 3)) : b("", !0)
699
+ class: g(s.value)
700
+ }, S(n.label), 3)) : _("", !0)
704
701
  ]),
705
702
  _: 3
706
703
  }, 8, ["to", "type", "class", "disabled"]));
707
704
  }
708
- }), lr = {}, nr = { class: "cm-content" };
709
- function cr(o, e) {
705
+ }), lr = {}, nr = { class: "vf-content" };
706
+ function sr(o, e) {
710
707
  return r(), l("div", nr, [
711
708
  u(o.$slots, "default")
712
709
  ]);
713
710
  }
714
- const sr = /* @__PURE__ */ O(lr, [["render", cr]]), ar = { class: "cm-popover" }, Tr = /* @__PURE__ */ k({
711
+ const ar = /* @__PURE__ */ O(lr, [["render", sr]]), cr = { class: "vf-popover" }, Tr = /* @__PURE__ */ k({
715
712
  __name: "popover",
716
713
  emits: ["onClick"],
717
- setup(o, { expose: e, emit: s }) {
718
- const t = s, c = J({ visible: !1 }), n = () => c.visible = !0, _ = () => c.visible = !1, m = () => c.visible = !c.visible, d = () => t("onClick");
719
- return e({ show: n, hide: _, toggle: m }), (v, a) => (r(), l("div", ar, [
714
+ setup(o, { expose: e, emit: a }) {
715
+ const t = a, s = J({ visible: !1 }), n = () => s.visible = !0, m = () => s.visible = !1, f = () => s.visible = !s.visible, d = () => t("onClick");
716
+ return e({ show: n, hide: m, toggle: f }), (v, c) => (r(), l("div", cr, [
720
717
  i("div", {
721
- class: "cm-popover__button",
718
+ class: "vf-popover__button",
722
719
  onClick: d
723
720
  }, [
724
721
  u(v.$slots, "button")
725
722
  ]),
726
- Q(w(f(_e), { class: "cm-popover__wrapper" }, X({
727
- default: h(() => [
728
- a[0] || (a[0] = i("div", { class: "cm-popover__arrow" }, null, -1))
723
+ Q(w(h(me), { class: "vf-popover__wrapper" }, X({
724
+ default: p(() => [
725
+ c[0] || (c[0] = i("div", { class: "vf-popover__arrow" }, null, -1))
729
726
  ]),
730
727
  _: 2
731
728
  }, [
732
729
  v.$slots.default ? {
733
730
  name: "default",
734
- fn: h(() => [
731
+ fn: p(() => [
735
732
  u(v.$slots, "default")
736
733
  ]),
737
734
  key: "0"
738
735
  } : void 0,
739
736
  v.$slots.popoverHeader ? {
740
737
  name: "header",
741
- fn: h(() => [
738
+ fn: p(() => [
742
739
  u(v.$slots, "popoverHeader")
743
740
  ]),
744
741
  key: "1"
745
742
  } : void 0,
746
743
  v.$slots.popoverBody ? {
747
744
  name: "body",
748
- fn: h(() => [
745
+ fn: p(() => [
749
746
  u(v.$slots, "popoverBody")
750
747
  ]),
751
748
  key: "2"
752
749
  } : void 0,
753
750
  v.$slots.popoverFooter ? {
754
751
  name: "footer",
755
- fn: h(() => [
752
+ fn: p(() => [
756
753
  u(v.$slots, "popoverFooter")
757
754
  ]),
758
755
  key: "3"
759
756
  } : void 0
760
757
  ]), 1536), [
761
- [Y, c.visible]
758
+ [Y, s.visible]
762
759
  ])
763
760
  ]));
764
761
  }
765
- }), ir = {}, ur = { class: "cm-container" };
762
+ }), ir = {}, ur = { class: "vf-container" };
766
763
  function dr(o, e) {
767
764
  return r(), l("div", ur, [
768
765
  u(o.$slots, "default")
769
766
  ]);
770
767
  }
771
- const L = /* @__PURE__ */ O(ir, [["render", dr]]), A = (o, e) => "#" + o.replace(/^#/, "").replace(/../g, (s) => ("0" + Math.min(255, Math.max(0, parseInt(s, 16) + e)).toString(16)).slice(-2)), vr = (o, e) => A(o, 16 * e), mr = (o, e) => A(o, -16 * e), E = (o) => {
772
- const e = parseInt(o.replace("#", ""), 16), s = e >> 16 & 255, t = e >> 8 & 255, c = e & 255;
773
- return `${s}, ${t}, ${c}`;
774
- }, fr = (o) => {
768
+ const L = /* @__PURE__ */ O(ir, [["render", dr]]), A = (o, e) => "#" + o.replace(/^#/, "").replace(/../g, (a) => ("0" + Math.min(255, Math.max(0, parseInt(a, 16) + e)).toString(16)).slice(-2)), vr = (o, e) => A(o, 16 * e), fr = (o, e) => A(o, -16 * e), E = (o) => {
769
+ const e = parseInt(o.replace("#", ""), 16), a = e >> 16 & 255, t = e >> 8 & 255, s = e & 255;
770
+ return `${a}, ${t}, ${s}`;
771
+ }, hr = (o) => {
775
772
  const e = o.replace(/([A-Z])/g, "-$1");
776
773
  return e.charAt(0).toUpperCase() + e.slice(1);
777
- }, j = (o) => o.filter((e) => !hr.includes(e)).map((e) => fr(e)).join("-").toLowerCase(), hr = [
778
- "dark",
779
- "light",
780
- "theme",
781
- "preset",
782
- "colors",
783
- "components",
784
- "colorScheme"
785
- ], B = [], T = [], H = (o, e = []) => {
786
- for (const s in o) {
787
- const t = o[s], c = e.concat([s]);
774
+ }, j = (o) => o.filter((e) => !pr.includes(e)).map((e) => hr(e)).join("-").toLowerCase(), pr = ["dark", "light", "theme", "preset", "colors", "components", "colorScheme"], B = [], T = [], H = (o, e = []) => {
775
+ for (const a in o) {
776
+ const t = o[a], s = e.concat([a]);
788
777
  if (typeof t == "object")
789
- H(t, c);
790
- else if (c.some((n) => n === "theme") && c.some((n) => n === "preset")) {
791
- if (c.some((n) => n === "colorScheme") && c.some((n) => n === "dark"))
792
- T.push(`--cm-${j(c)}: ${t}`);
793
- else if (B.push(`--cm-${j(c)}: ${t}`), c.some((n) => n === "colors") && (B.push(`--cm-${j(c)}-rgb: ${E(t)}`), s !== "white"))
778
+ H(t, s);
779
+ else if (s.some((n) => n === "theme") && s.some((n) => n === "preset")) {
780
+ if (s.some((n) => n === "colorScheme") && s.some((n) => n === "dark"))
781
+ T.push(`--vf-${j(s)}: ${t}`);
782
+ else if (B.push(`--vf-${j(s)}: ${t}`), s.some((n) => n === "colors") && (B.push(`--vf-${j(s)}-rgb: ${E(t)}`), a !== "white"))
794
783
  for (let n = 1; n < 10; ++n) {
795
- let _;
796
- n < 5 ? _ = vr(t, 5 - n) : _ = mr(t, n - 5), B.push(`--cm-${j(c)}-${n}00: ${_}`), B.push(`--cm-${j(c)}-${n}00-rgb: ${E(_)}`);
784
+ let m;
785
+ n < 5 ? m = vr(t, 5 - n) : m = fr(t, n - 5), B.push(`--vf-${j(s)}-${n}00: ${m}`), B.push(`--vf-${j(s)}-${n}00-rgb: ${E(m)}`);
797
786
  }
798
787
  }
799
788
  }
@@ -832,7 +821,7 @@ const L = /* @__PURE__ */ O(ir, [["render", dr]]), A = (o, e) => "#" + o.replace
832
821
  dividerColor: "#2e2e32"
833
822
  }
834
823
  }
835
- }, pr = {
824
+ }, gr = {
836
825
  padding: "6px 10px",
837
826
  borderRadius: "6px",
838
827
  roundedBorderRadius: "2rem",
@@ -849,158 +838,158 @@ const L = /* @__PURE__ */ O(ir, [["render", dr]]), A = (o, e) => "#" + o.replace
849
838
  primary: {
850
839
  color: "#FFFFFF",
851
840
  hoverColor: "#FFFFFF",
852
- borderColor: "var(--cm-blue)",
841
+ borderColor: "var(--vf-blue)",
853
842
  activeColor: "#FFFFFF",
854
- backgroundColor: "var(--cm-blue)",
855
- hoverBorderColor: "var(--cm-blue-600)",
856
- activeBorderColor: "var(--cm-blue-700)",
857
- hoverBackgroundColor: "var(--cm-blue-600)",
858
- activeBackgroundColor: "var(--cm-blue-700)"
843
+ backgroundColor: "var(--vf-blue)",
844
+ hoverBorderColor: "var(--vf-blue-600)",
845
+ activeBorderColor: "var(--vf-blue-700)",
846
+ hoverBackgroundColor: "var(--vf-blue-600)",
847
+ activeBackgroundColor: "var(--vf-blue-700)"
859
848
  },
860
849
  secondary: {
861
850
  color: "#FFFFFF",
862
851
  hoverColor: "#FFFFFF",
863
- borderColor: "var(--cm-gray)",
852
+ borderColor: "var(--vf-gray)",
864
853
  activeColor: "#FFFFFF",
865
- backgroundColor: "var(--cm-gray)",
866
- hoverBorderColor: "var(--cm-gray-600)",
867
- activeBorderColor: "var(--cm-gray-700)",
868
- hoverBackgroundColor: "var(--cm-gray-600)",
869
- activeBackgroundColor: "var(--cm-gray-700)"
854
+ backgroundColor: "var(--vf-gray)",
855
+ hoverBorderColor: "var(--vf-gray-600)",
856
+ activeBorderColor: "var(--vf-gray-700)",
857
+ hoverBackgroundColor: "var(--vf-gray-600)",
858
+ activeBackgroundColor: "var(--vf-gray-700)"
870
859
  },
871
860
  success: {
872
861
  color: "#FFFFFF",
873
862
  hoverColor: "#FFFFFF",
874
- borderColor: "var(--cm-green)",
863
+ borderColor: "var(--vf-green)",
875
864
  activeColor: "#FFFFFF",
876
- backgroundColor: "var(--cm-green)",
877
- hoverBorderColor: "var(--cm-green-600)",
878
- activeBorderColor: "var(--cm-green-700)",
879
- hoverBackgroundColor: "var(--cm-green-600)",
880
- activeBackgroundColor: "var(--cm-green-700)"
865
+ backgroundColor: "var(--vf-green)",
866
+ hoverBorderColor: "var(--vf-green-600)",
867
+ activeBorderColor: "var(--vf-green-700)",
868
+ hoverBackgroundColor: "var(--vf-green-600)",
869
+ activeBackgroundColor: "var(--vf-green-700)"
881
870
  },
882
871
  danger: {
883
872
  color: "#FFFFFF",
884
873
  hoverColor: "#FFFFFF",
885
- borderColor: "var(--cm-red)",
874
+ borderColor: "var(--vf-red)",
886
875
  activeColor: "#FFFFFF",
887
- backgroundColor: "var(--cm-red)",
888
- hoverBorderColor: "var(--cm-red-600)",
889
- activeBorderColor: "var(--cm-red-700)",
890
- hoverBackgroundColor: "var(--cm-red-600)",
891
- activeBackgroundColor: "var(--cm-red-700)"
876
+ backgroundColor: "var(--vf-red)",
877
+ hoverBorderColor: "var(--vf-red-600)",
878
+ activeBorderColor: "var(--vf-red-700)",
879
+ hoverBackgroundColor: "var(--vf-red-600)",
880
+ activeBackgroundColor: "var(--vf-red-700)"
892
881
  },
893
882
  warning: {
894
883
  color: "#FFFFFF",
895
884
  hoverColor: "#FFFFFF",
896
- borderColor: "var(--cm-yellow)",
885
+ borderColor: "var(--vf-yellow)",
897
886
  activeColor: "#FFFFFF",
898
- backgroundColor: "var(--cm-yellow)",
899
- hoverBorderColor: "var(--cm-yellow-600)",
900
- activeBorderColor: "var(--cm-yellow-700)",
901
- hoverBackgroundColor: "var(--cm-yellow-600)",
902
- activeBackgroundColor: "var(--cm-yellow-700)"
887
+ backgroundColor: "var(--vf-yellow)",
888
+ hoverBorderColor: "var(--vf-yellow-600)",
889
+ activeBorderColor: "var(--vf-yellow-700)",
890
+ hoverBackgroundColor: "var(--vf-yellow-600)",
891
+ activeBackgroundColor: "var(--vf-yellow-700)"
903
892
  },
904
893
  info: {
905
894
  color: "#FFFFFF",
906
895
  hoverColor: "#FFFFFF",
907
- borderColor: "var(--cm-sky)",
896
+ borderColor: "var(--vf-sky)",
908
897
  activeColor: "#FFFFFF",
909
- backgroundColor: "var(--cm-sky)",
910
- hoverBorderColor: "var(--cm-sky-600)",
911
- activeBorderColor: "var(--cm-sky-700)",
912
- hoverBackgroundColor: "var(--cm-sky-600)",
913
- activeBackgroundColor: "var(--cm-sky-700)"
898
+ backgroundColor: "var(--vf-sky)",
899
+ hoverBorderColor: "var(--vf-sky-600)",
900
+ activeBorderColor: "var(--vf-sky-700)",
901
+ hoverBackgroundColor: "var(--vf-sky-600)",
902
+ activeBackgroundColor: "var(--vf-sky-700)"
914
903
  },
915
904
  text: {
916
905
  primary: {
917
- color: "var(--cm-blue)",
918
- hoverBackgroundColor: "rgba(var(--cm-blue-600-rgb), .1)"
906
+ color: "var(--vf-blue)",
907
+ hoverBackgroundColor: "rgba(var(--vf-blue-600-rgb), .1)"
919
908
  },
920
909
  secondary: {
921
- color: "var(--cm-gray)",
922
- hoverBackgroundColor: "rgba(var(--cm-gray-600-rgb), .1)"
910
+ color: "var(--vf-gray)",
911
+ hoverBackgroundColor: "rgba(var(--vf-gray-600-rgb), .1)"
923
912
  },
924
913
  success: {
925
- color: "var(--cm-green)",
926
- hoverBackgroundColor: "rgba(var(--cm-green-600-rgb), .1)"
914
+ color: "var(--vf-green)",
915
+ hoverBackgroundColor: "rgba(var(--vf-green-600-rgb), .1)"
927
916
  },
928
917
  danger: {
929
- color: "var(--cm-red)",
930
- hoverBackgroundColor: "rgba(var(--cm-red-600-rgb), .1)"
918
+ color: "var(--vf-red)",
919
+ hoverBackgroundColor: "rgba(var(--vf-red-600-rgb), .1)"
931
920
  },
932
921
  warning: {
933
- color: "var(--cm-yellow)",
934
- hoverBackgroundColor: "rgba(var(--cm-yellow-600-rgb), .1)"
922
+ color: "var(--vf-yellow)",
923
+ hoverBackgroundColor: "rgba(var(--vf-yellow-600-rgb), .1)"
935
924
  },
936
925
  info: {
937
- color: "var(--cm-sky)",
938
- hoverBackgroundColor: "rgba(var(--cm-sky-600-rgb), .1)"
926
+ color: "var(--vf-sky)",
927
+ hoverBackgroundColor: "rgba(var(--vf-sky-600-rgb), .1)"
939
928
  }
940
929
  },
941
930
  outlined: {
942
931
  primary: {
943
- color: "var(--cm-blue)",
944
- borderColor: "rgba(var(--cm-blue-rgb), .4)",
945
- hoverBackgroundColor: "rgba(var(--cm-blue-600-rgb), .1)"
932
+ color: "var(--vf-blue)",
933
+ borderColor: "rgba(var(--vf-blue-rgb), .4)",
934
+ hoverBackgroundColor: "rgba(var(--vf-blue-600-rgb), .1)"
946
935
  },
947
936
  secondary: {
948
- color: "var(--cm-gray)",
949
- borderColor: "rgba(var(--cm-gray-rgb), .4)",
950
- hoverBackgroundColor: "rgba(var(--cm-gray-600-rgb), .1)"
937
+ color: "var(--vf-gray)",
938
+ borderColor: "rgba(var(--vf-gray-rgb), .4)",
939
+ hoverBackgroundColor: "rgba(var(--vf-gray-600-rgb), .1)"
951
940
  },
952
941
  success: {
953
- color: "var(--cm-green)",
954
- borderColor: "rgba(var(--cm-green-rgb), .4)",
955
- hoverBackgroundColor: "rgba(var(--cm-green-600-rgb), .1)"
942
+ color: "var(--vf-green)",
943
+ borderColor: "rgba(var(--vf-green-rgb), .4)",
944
+ hoverBackgroundColor: "rgba(var(--vf-green-600-rgb), .1)"
956
945
  },
957
946
  danger: {
958
- color: "var(--cm-red)",
959
- borderColor: "rgba(var(--cm-red-rgb), .4)",
960
- hoverBackgroundColor: "rgba(var(--cm-red-600-rgb), .1)"
947
+ color: "var(--vf-red)",
948
+ borderColor: "rgba(var(--vf-red-rgb), .4)",
949
+ hoverBackgroundColor: "rgba(var(--vf-red-600-rgb), .1)"
961
950
  },
962
951
  warning: {
963
- color: "var(--cm-yellow)",
964
- borderColor: "rgba(var(--cm-yellow-rgb), .4)",
965
- hoverBackgroundColor: "rgba(var(--cm-yellow-600-rgb), .1)"
952
+ color: "var(--vf-yellow)",
953
+ borderColor: "rgba(var(--vf-yellow-rgb), .4)",
954
+ hoverBackgroundColor: "rgba(var(--vf-yellow-600-rgb), .1)"
966
955
  },
967
956
  info: {
968
- color: "var(--cm-sky)",
969
- borderColor: "rgba(var(--cm-sky-rgb), .4)",
970
- hoverBackgroundColor: "rgba(var(--cm-sky-600-rgb), .1)"
957
+ color: "var(--vf-sky)",
958
+ borderColor: "rgba(var(--vf-sky-rgb), .4)",
959
+ hoverBackgroundColor: "rgba(var(--vf-sky-600-rgb), .1)"
971
960
  }
972
961
  }
973
962
  }
974
963
  }
975
- }, gr = {
964
+ }, br = {
976
965
  padding: "12px",
977
- borderColor: "var(--cm-border-color)",
966
+ borderColor: "var(--vf-border-color)",
978
967
  borderRadius: "6px"
979
- }, br = {}, _r = {
968
+ }, _r = {}, mr = {
980
969
  padding: "12px"
981
970
  }, yr = {}, Cr = {}, wr = {
982
- color: "var(--cm-secondary-text-color)",
971
+ color: "var(--vf-secondary-text-color)",
983
972
  padding: "12px",
984
- borderColor: "var(--cm-border-color)",
985
- backgroundColor: "var(--cm-bg-color)"
973
+ borderColor: "var(--vf-border-color)",
974
+ backgroundColor: "var(--vf-bg-color)"
986
975
  }, kr = {
987
976
  height: "60px",
988
977
  padding: "12px",
989
978
  minHeight: "60px",
990
- borderColor: "var(--cm-border-color)",
991
- backgroundColor: "var(--cm-bg-color)"
979
+ borderColor: "var(--vf-border-color)",
980
+ backgroundColor: "var(--vf-bg-color)"
992
981
  }, Fr = {
993
- hoverColor: "var(--cm-blue)",
994
- activeColor: "var(--cm-blue)"
982
+ hoverColor: "var(--vf-blue)",
983
+ activeColor: "var(--vf-blue)"
995
984
  }, $r = {}, Br = {
996
- separatorColor: "var(--cm-border-color)",
985
+ separatorColor: "var(--vf-border-color)",
997
986
  link: {
998
- hoverColor: "var(--cm-blue)",
999
- activeColor: "var(--cm-blue)"
987
+ hoverColor: "var(--vf-blue)",
988
+ activeColor: "var(--vf-blue)"
1000
989
  },
1001
990
  parent: {
1002
- hoverColor: "var(--cm-secondary-text-color)",
1003
- activeColor: "var(--cm-blue)"
991
+ hoverColor: "var(--vf-secondary-text-color)",
992
+ activeColor: "var(--vf-blue)"
1004
993
  },
1005
994
  item: {
1006
995
  marginTop: "0.5rem",
@@ -1009,15 +998,15 @@ const L = /* @__PURE__ */ O(ir, [["render", dr]]), A = (o, e) => "#" + o.replace
1009
998
  marginLeft: "0.5rem"
1010
999
  }
1011
1000
  }, Sr = {
1012
- backgroundColor: "var(--cm-bg-color)"
1001
+ backgroundColor: "var(--vf-bg-color)"
1013
1002
  }, Vr = {
1014
1003
  ...Z,
1015
1004
  components: {
1016
1005
  base: Z,
1017
- button: pr,
1018
- card: gr,
1019
- codeBlock: br,
1020
- container: _r,
1006
+ button: gr,
1007
+ card: br,
1008
+ codeBlock: _r,
1009
+ container: mr,
1021
1010
  content: yr,
1022
1011
  demo: Cr,
1023
1012
  footer: wr,
@@ -1030,9 +1019,9 @@ const L = /* @__PURE__ */ O(ir, [["render", dr]]), A = (o, e) => "#" + o.replace
1030
1019
  };
1031
1020
  export {
1032
1021
  Lr as Button,
1033
- _e as Card,
1022
+ me as Card,
1034
1023
  L as Container,
1035
- sr as Content,
1024
+ ar as Content,
1036
1025
  jr as DefaultLayout,
1037
1026
  Vr as DefaultTheme,
1038
1027
  Mr as Demo,