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