@vuetify/one 1.9.0 → 1.9.2
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.d.ts +24 -1138
- package/dist/index.js +494 -500
- package/dist/style.css +1 -1
- package/package.json +28 -28
package/dist/index.js
CHANGED
|
@@ -1,46 +1,47 @@
|
|
|
1
|
-
import { ref as U, defineComponent as $,
|
|
1
|
+
import { ref as U, defineComponent as $, openBlock as u, createBlock as v, unref as t, reactive as Dt, watch as z, toRefs as Ot, shallowRef as A, computed as x, createSlots as R, withCtx as r, createElementVNode as k, toDisplayString as S, createVNode as i, createTextVNode as N, renderSlot as B, normalizeStyle as st, createCommentVNode as C, withModifiers as Ze, mergeModels as Ut, useModel as pe, createElementBlock as I, Fragment as T, onMounted as Oe, nextTick as be, renderList as K, mergeProps as E, withDirectives as Ve, vShow as Ue, isRef as se, normalizeClass as Bt, resolveComponent as Nt, onBeforeMount as Ge, onBeforeUnmount as Tt, pushScopeId as Ft, popScopeId as Mt } from "vue";
|
|
2
2
|
import { defineStore as q } from "pinia";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { VSnackbarQueue as zt } from "vuetify/lib/labs/VSnackbarQueue/index.mjs";
|
|
4
|
+
import { mdiStorefront as jt, mdiSync as Pt, mdiSyncOff as Ht, mdiLogoutVariant as Rt, mdiFullscreenExit as Et, mdiFullscreen as Wt, mdiCheck as Be, mdiHome as qt, mdiTextBox as Zt, mdiSelect as Gt, mdiSpaceInvaders as at, mdiImageFilterHdr as it, mdiTransmissionTower as rt, mdiRocketLaunchOutline as lt, mdiWhiteBalanceSunny as Qt, mdiWeatherNight as Yt, mdiDesktopTowerMonitor as Jt, mdiContrastCircle as Xt, mdiCog as Kt, mdiCogOutline as eo, mdiFileDocument as to, mdiCreditCardSettingsOutline as oo, mdiRocketOutline as no, mdiCheckCircleOutline as De, mdiCreditCard as so, mdiReload as ao, mdiPlaylistCheck as io, mdiCreditCardOutline as ro, mdiMedal as lo, mdiOpenInNew as Ne, mdiHandHeart as co, mdiHandHeartOutline as uo, mdiCloudDownload as po, mdiTrayArrowDown as nt, mdiEmailOpenOutline as ct, mdiEmailVariant as ut, mdiBell as mo, mdiInboxOutline as fo, mdiInboxFullOutline as vo, mdiBillboard as _o, mdiBellOutline as ho, mdiViewDashboardOutline as go, mdiCrown as yo, mdiArrowULeftBottom as bo, mdiLogin as Vo, mdiShieldStarOutline as ko } from "@mdi/js";
|
|
5
|
+
import { useRouter as Qe, useRoute as $o } from "vue-router";
|
|
5
6
|
import { merge as Re } from "lodash-es";
|
|
6
|
-
import { VListItem as me, VList as ae, VListSubheader as
|
|
7
|
+
import { VListItem as me, VList as ae, VListSubheader as wo, VListItemTitle as dt, VListItemSubtitle as xo } from "vuetify/lib/components/VList/index.mjs";
|
|
7
8
|
import { VAvatar as ee } from "vuetify/lib/components/VAvatar/index.mjs";
|
|
8
|
-
import { VCard as W, VCardTitle as
|
|
9
|
-
import { VDialog as
|
|
10
|
-
import { VBadge as
|
|
11
|
-
import { VBtn as
|
|
12
|
-
import { VProgressCircular as
|
|
13
|
-
import { VSheet as
|
|
14
|
-
import { VSwitch as
|
|
15
|
-
import { VFadeTransition as Te, VExpandTransition as fe, VExpandXTransition as
|
|
9
|
+
import { VCard as W, VCardTitle as Co, VCardSubtitle as So, VCardText as ue } from "vuetify/lib/components/VCard/index.mjs";
|
|
10
|
+
import { VDialog as pt } from "vuetify/lib/components/VDialog/index.mjs";
|
|
11
|
+
import { VBadge as Ye } from "vuetify/lib/components/VBadge/index.mjs";
|
|
12
|
+
import { VBtn as Z } from "vuetify/lib/components/VBtn/index.mjs";
|
|
13
|
+
import { VProgressCircular as Lo } from "vuetify/lib/components/VProgressCircular/index.mjs";
|
|
14
|
+
import { VSheet as Je } from "vuetify/lib/components/VSheet/index.mjs";
|
|
15
|
+
import { VSwitch as mt } from "vuetify/lib/components/VSwitch/index.mjs";
|
|
16
|
+
import { VFadeTransition as Te, VExpandTransition as fe, VExpandXTransition as Io } from "vuetify/lib/components/transitions/index.mjs";
|
|
16
17
|
import { useDisplay as ve, useTheme as Fe, useDate as ke } from "vuetify";
|
|
17
18
|
import { VDivider as Q } from "vuetify/lib/components/VDivider/index.mjs";
|
|
18
19
|
import { VIcon as O } from "vuetify/lib/components/VIcon/index.mjs";
|
|
19
20
|
import { VLabel as We } from "vuetify/lib/components/VLabel/index.mjs";
|
|
20
21
|
import { VChip as X } from "vuetify/lib/components/VChip/index.mjs";
|
|
21
|
-
import { VChipGroup as
|
|
22
|
-
import { VSelect as
|
|
22
|
+
import { VChipGroup as Ao } from "vuetify/lib/components/VChipGroup/index.mjs";
|
|
23
|
+
import { VSelect as Do } from "vuetify/lib/components/VSelect/index.mjs";
|
|
23
24
|
import { VRow as $e, VCol as de } from "vuetify/lib/components/VGrid/index.mjs";
|
|
24
|
-
import { VHover as
|
|
25
|
+
import { VHover as Me } from "vuetify/lib/components/VHover/index.mjs";
|
|
25
26
|
import { VImg as te } from "vuetify/lib/components/VImg/index.mjs";
|
|
26
|
-
import { VItemGroup as
|
|
27
|
+
import { VItemGroup as ft, VItem as qe } from "vuetify/lib/components/VItemGroup/index.mjs";
|
|
27
28
|
import { VLayout as we } from "vuetify/lib/components/VLayout/index.mjs";
|
|
28
29
|
import { VMain as xe } from "vuetify/lib/components/VMain/index.mjs";
|
|
29
|
-
import { VDataTableVirtual as
|
|
30
|
+
import { VDataTableVirtual as vt } from "vuetify/lib/components/VDataTable/index.mjs";
|
|
30
31
|
import { VSkeletonLoader as ye } from "vuetify/lib/components/VSkeletonLoader/index.mjs";
|
|
31
|
-
import { VWindow as
|
|
32
|
-
import { VTimelineItem as
|
|
33
|
-
import { VEmptyState as
|
|
32
|
+
import { VWindow as _t, VWindowItem as ge } from "vuetify/lib/components/VWindow/index.mjs";
|
|
33
|
+
import { VTimelineItem as Oo, VTimeline as Uo } from "vuetify/lib/components/VTimeline/index.mjs";
|
|
34
|
+
import { VEmptyState as Xe } from "vuetify/lib/components/VEmptyState/index.mjs";
|
|
34
35
|
import { VTooltip as J } from "vuetify/lib/components/VTooltip/index.mjs";
|
|
35
|
-
import { VResponsive as
|
|
36
|
-
import { VNavigationDrawer as
|
|
37
|
-
import { Ripple as
|
|
38
|
-
import { VColorPicker as
|
|
39
|
-
import { VMenu as
|
|
40
|
-
import { VAppBar as
|
|
41
|
-
import { VLazy as
|
|
42
|
-
import { VFooter as
|
|
43
|
-
const
|
|
36
|
+
import { VResponsive as Bo } from "vuetify/lib/components/VResponsive/index.mjs";
|
|
37
|
+
import { VNavigationDrawer as No } from "vuetify/lib/components/VNavigationDrawer/index.mjs";
|
|
38
|
+
import { Ripple as To } from "vuetify/lib/directives/index.mjs";
|
|
39
|
+
import { VColorPicker as Fo } from "vuetify/lib/components/VColorPicker/index.mjs";
|
|
40
|
+
import { VMenu as Mo } from "vuetify/lib/components/VMenu/index.mjs";
|
|
41
|
+
import { VAppBar as ht } from "vuetify/lib/components/VAppBar/index.mjs";
|
|
42
|
+
import { VLazy as zo } from "vuetify/lib/components/VLazy/index.mjs";
|
|
43
|
+
import { VFooter as jo } from "vuetify/lib/components/VFooter/index.mjs";
|
|
44
|
+
const Po = q("Queue", () => {
|
|
44
45
|
const c = U([]);
|
|
45
46
|
function e(n) {
|
|
46
47
|
const o = typeof n == "string" ? { text: n } : n;
|
|
@@ -50,19 +51,16 @@ const Ro = q("Queue", () => {
|
|
|
50
51
|
queue: c,
|
|
51
52
|
show: e
|
|
52
53
|
};
|
|
53
|
-
}),
|
|
54
|
+
}), Ho = /* @__PURE__ */ $({
|
|
54
55
|
__name: "VoSnackbarQueue",
|
|
55
56
|
setup(c) {
|
|
56
|
-
const e =
|
|
57
|
-
return (n, o) => {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
location: "bottom end"
|
|
64
|
-
}, null, 8, ["modelValue"]);
|
|
65
|
-
};
|
|
57
|
+
const e = Po();
|
|
58
|
+
return (n, o) => (u(), v(zt, {
|
|
59
|
+
modelValue: t(e).queue,
|
|
60
|
+
"onUpdate:modelValue": o[0] || (o[0] = (s) => t(e).queue = s),
|
|
61
|
+
closable: "",
|
|
62
|
+
location: "bottom end"
|
|
63
|
+
}, null, 8, ["modelValue"]));
|
|
66
64
|
}
|
|
67
65
|
}), oe = q("http", {
|
|
68
66
|
state: () => ({
|
|
@@ -143,11 +141,10 @@ const Ro = q("Queue", () => {
|
|
|
143
141
|
}
|
|
144
142
|
}
|
|
145
143
|
}, F = q("user", () => {
|
|
146
|
-
const c =
|
|
147
|
-
|
|
144
|
+
const c = Dt(Re({}, Ae));
|
|
145
|
+
z(c, n);
|
|
148
146
|
function e() {
|
|
149
|
-
if (!Ee)
|
|
150
|
-
return;
|
|
147
|
+
if (!Ee) return;
|
|
151
148
|
const s = localStorage.getItem("vuetify@user"), a = s ? JSON.parse(s) : {};
|
|
152
149
|
let l = a.v === c.v;
|
|
153
150
|
a.v || (a.pwaRefresh = !0, typeof a.api == "boolean" && (a.api = a.api ? "inline" : "link-only"), typeof a.rtl == "boolean" && (a.direction = a.rtl ? "rtl" : "ltr", delete a.rtl), typeof a.theme == "object" && (a.mixedTheme = a.theme.mixed, a.theme = a.theme.system ? "system" : a.theme.dark ? "dark" : "light"), Array.isArray(a.notifications) && (a.notifications = { read: a.notifications }), typeof a.last == "object" && (a.notifications.last = a.last, delete a.last)), a.v === 1 && (Array.isArray(a.composition) && (a.composition = "composition"), Array.isArray(a.notifications.last.banner) || (a.notifications = a.notifications || {}, a.notifications.last = a.notifications.last || {}, a.notifications.last.banner = [])), a.v === 2 && (a.syncSettings = !0, a.disableAds = !1, a.v = 3), a.v === 3 && (a.quickbar = !1), a.v === 4 && (a.suits = Ae.suits, a.notifications.banners = Ae.notifications.banners, l = !0), a.v = c.v, Object.assign(c, Re(c, a)), l && n();
|
|
@@ -159,17 +156,16 @@ const Ro = q("Queue", () => {
|
|
|
159
156
|
Ee && (Object.assign(c, Re({}, Ae)), n());
|
|
160
157
|
}
|
|
161
158
|
return e(), {
|
|
162
|
-
...
|
|
159
|
+
...Ot(c),
|
|
163
160
|
load: e,
|
|
164
161
|
save: n,
|
|
165
162
|
reset: o
|
|
166
163
|
};
|
|
167
|
-
}),
|
|
168
|
-
const c = U(!1), e = U(null), n = oe(), o = F(), s =
|
|
164
|
+
}), P = q("auth", () => {
|
|
165
|
+
const c = U(!1), e = U(null), n = oe(), o = F(), s = Qe(), a = A(!1);
|
|
169
166
|
let l = !!V();
|
|
170
|
-
|
|
171
|
-
if (!(y != null && y.settings))
|
|
172
|
-
return;
|
|
167
|
+
z(e, (y) => {
|
|
168
|
+
if (!(y != null && y.settings)) return;
|
|
173
169
|
const _ = localStorage.getItem("vuetify@user") || "{}";
|
|
174
170
|
JSON.stringify(y.settings, null, 2) !== _ && (l = !0, Object.assign(o, y.settings));
|
|
175
171
|
}), o.$subscribe(() => {
|
|
@@ -184,8 +180,7 @@ const Ro = q("Queue", () => {
|
|
|
184
180
|
}
|
|
185
181
|
}
|
|
186
182
|
async function p(y = !1) {
|
|
187
|
-
if (p.promise)
|
|
188
|
-
return p.promise;
|
|
183
|
+
if (p.promise) return p.promise;
|
|
189
184
|
a.value = !0, p.promise = fetch(`${n.url}/auth/verify`, {
|
|
190
185
|
credentials: "include",
|
|
191
186
|
headers: y ? {
|
|
@@ -209,10 +204,10 @@ const Ro = q("Queue", () => {
|
|
|
209
204
|
window.location.assign(_ + "?next=" + encodeURIComponent(window.location.href));
|
|
210
205
|
return;
|
|
211
206
|
}
|
|
212
|
-
const h = 400, b = 600,
|
|
207
|
+
const h = 400, b = 600, M = window.screenX + (window.innerWidth - h) / 2, D = window.screenY + (window.innerHeight - b) / 2, H = window.open(
|
|
213
208
|
"",
|
|
214
209
|
"vuetify:authorize:popup",
|
|
215
|
-
`popup,left=${
|
|
210
|
+
`popup,left=${M},top=${D},width=${h},height=${b},resizable`
|
|
216
211
|
);
|
|
217
212
|
if (!H) {
|
|
218
213
|
console.error("Failed to open popup");
|
|
@@ -266,111 +261,111 @@ const Ro = q("Queue", () => {
|
|
|
266
261
|
lastLoginProvider: V,
|
|
267
262
|
sync: d
|
|
268
263
|
};
|
|
269
|
-
}),
|
|
264
|
+
}), Ro = { class: "text-body-2" }, Eo = /* @__PURE__ */ k("div", { class: "text-caption mt-n1" }, "Last Used", -1), gt = /* @__PURE__ */ $({
|
|
270
265
|
__name: "VoAuthShopify",
|
|
271
266
|
setup(c) {
|
|
272
|
-
const e =
|
|
267
|
+
const e = P(), n = x(() => e.user && e.findIdentity("shopify")), o = x(() => e.user ? n.value ? "Connected to Shopify" : "Connect Shopify" : "Login with Shopify");
|
|
273
268
|
return (s, a) => (u(), v(me, {
|
|
274
269
|
"base-color": "#5b8a3c",
|
|
275
|
-
"prepend-icon": `svg:${t(
|
|
270
|
+
"prepend-icon": `svg:${t(jt)}`,
|
|
276
271
|
rounded: "pill",
|
|
277
272
|
slim: "",
|
|
278
273
|
variant: "flat",
|
|
279
274
|
onClick: a[0] || (a[0] = (l) => t(e).login("shopify"))
|
|
280
275
|
}, R({
|
|
281
276
|
title: r(() => [
|
|
282
|
-
k("span",
|
|
277
|
+
k("span", Ro, S(t(o)), 1)
|
|
283
278
|
]),
|
|
284
279
|
_: 2
|
|
285
280
|
}, [
|
|
286
281
|
!t(e).user && t(e).lastLoginProvider() === "shopify" ? {
|
|
287
282
|
name: "subtitle",
|
|
288
283
|
fn: r(() => [
|
|
289
|
-
|
|
284
|
+
Eo
|
|
290
285
|
]),
|
|
291
286
|
key: "0"
|
|
292
287
|
} : void 0
|
|
293
288
|
]), 1032, ["prepend-icon"]));
|
|
294
289
|
}
|
|
295
|
-
}),
|
|
290
|
+
}), Wo = { class: "text-body-2" }, qo = /* @__PURE__ */ k("div", { class: "text-caption mt-n1" }, "Last Used", -1), yt = /* @__PURE__ */ $({
|
|
296
291
|
__name: "VoAuthDiscord",
|
|
297
292
|
setup(c) {
|
|
298
|
-
const e =
|
|
293
|
+
const e = P(), n = x(() => e.user && e.findIdentity("discord")), o = x(() => e.user ? n.value ? "Connected to Discord" : "Connect Discord" : "Login with Discord");
|
|
299
294
|
return (s, a) => (u(), v(me, {
|
|
300
295
|
"base-color": "#5865F2",
|
|
301
|
-
"prepend-icon":
|
|
296
|
+
"prepend-icon": "$discord",
|
|
302
297
|
rounded: "pill",
|
|
303
298
|
slim: "",
|
|
304
299
|
variant: "flat",
|
|
305
300
|
onClick: a[0] || (a[0] = (l) => t(e).login("discord"))
|
|
306
301
|
}, R({
|
|
307
302
|
title: r(() => [
|
|
308
|
-
k("span",
|
|
303
|
+
k("span", Wo, S(t(o)), 1)
|
|
309
304
|
]),
|
|
310
305
|
_: 2
|
|
311
306
|
}, [
|
|
312
307
|
!t(e).user && t(e).lastLoginProvider() === "discord" ? {
|
|
313
308
|
name: "subtitle",
|
|
314
309
|
fn: r(() => [
|
|
315
|
-
|
|
310
|
+
qo
|
|
316
311
|
]),
|
|
317
312
|
key: "0"
|
|
318
313
|
} : void 0
|
|
319
|
-
]),
|
|
314
|
+
]), 1024));
|
|
320
315
|
}
|
|
321
|
-
}),
|
|
316
|
+
}), Zo = { class: "text-body-2" }, Go = /* @__PURE__ */ k("div", { class: "text-caption mt-n1" }, "Last Used", -1), bt = /* @__PURE__ */ $({
|
|
322
317
|
__name: "VoAuthGithub",
|
|
323
318
|
setup(c) {
|
|
324
|
-
const e =
|
|
319
|
+
const e = P(), n = x(() => e.user && e.findIdentity("github")), o = x(() => e.user ? n.value ? "Connected to GitHub" : "Connect GitHub" : "Login with GitHub");
|
|
325
320
|
return (s, a) => (u(), v(me, {
|
|
326
321
|
"base-color": "#2a2a2a",
|
|
327
|
-
"prepend-icon":
|
|
322
|
+
"prepend-icon": "$github",
|
|
328
323
|
rounded: "pill",
|
|
329
324
|
slim: "",
|
|
330
325
|
variant: "flat",
|
|
331
326
|
onClick: a[0] || (a[0] = (l) => t(e).login("github"))
|
|
332
327
|
}, R({
|
|
333
328
|
title: r(() => [
|
|
334
|
-
k("span",
|
|
329
|
+
k("span", Zo, S(t(o)), 1)
|
|
335
330
|
]),
|
|
336
331
|
_: 2
|
|
337
332
|
}, [
|
|
338
333
|
!t(e).user && t(e).lastLoginProvider() === "github" ? {
|
|
339
334
|
name: "subtitle",
|
|
340
335
|
fn: r(() => [
|
|
341
|
-
|
|
336
|
+
Go
|
|
342
337
|
]),
|
|
343
338
|
key: "0"
|
|
344
339
|
} : void 0
|
|
345
|
-
]),
|
|
340
|
+
]), 1024));
|
|
346
341
|
}
|
|
347
|
-
}),
|
|
342
|
+
}), Qo = { class: "text-center" }, Yo = { class: "text-center mb-6" }, Jo = { class: "text-h6 font-weight-light" }, Xo = /* @__PURE__ */ k("span", { class: "text-h3 font-weight-bold" }, "Vuetify One", -1), Vt = /* @__PURE__ */ $({
|
|
348
343
|
__name: "VoAuthCard",
|
|
349
344
|
setup(c) {
|
|
350
|
-
const e =
|
|
345
|
+
const e = P();
|
|
351
346
|
return (n, o) => {
|
|
352
|
-
const s =
|
|
347
|
+
const s = bt, a = yt, l = gt;
|
|
353
348
|
return u(), v(W, {
|
|
354
349
|
class: "pt-6 pb-8 px-4 px-sm-8 mx-auto",
|
|
355
350
|
"max-width": "480"
|
|
356
351
|
}, {
|
|
357
352
|
default: r(() => [
|
|
358
|
-
k("div",
|
|
353
|
+
k("div", Qo, [
|
|
359
354
|
i(ee, {
|
|
360
355
|
class: "mx-auto",
|
|
361
356
|
image: "https://vuetifyjs.b-cdn.net/docs/images/avatars/one.png",
|
|
362
357
|
size: "64"
|
|
363
|
-
}
|
|
358
|
+
})
|
|
364
359
|
]),
|
|
365
|
-
k("div",
|
|
366
|
-
i(
|
|
360
|
+
k("div", Yo, [
|
|
361
|
+
i(Co, { class: "text-h5 mb-1 text-md-h4" }, {
|
|
367
362
|
default: r(() => [
|
|
368
|
-
k("div",
|
|
369
|
-
|
|
363
|
+
k("div", Jo, S(t(e).lastLoginProvider() ? "Welcome back to" : "Login to"), 1),
|
|
364
|
+
Xo
|
|
370
365
|
]),
|
|
371
366
|
_: 1
|
|
372
367
|
}),
|
|
373
|
-
i(
|
|
368
|
+
i(So, { class: "text-wrap" }, {
|
|
374
369
|
default: r(() => [
|
|
375
370
|
N(" Login to save your settings and gain access to exclusive subscriber perks. ")
|
|
376
371
|
]),
|
|
@@ -394,13 +389,13 @@ const Ro = q("Queue", () => {
|
|
|
394
389
|
});
|
|
395
390
|
};
|
|
396
391
|
}
|
|
397
|
-
}),
|
|
392
|
+
}), kt = /* @__PURE__ */ $({
|
|
398
393
|
__name: "VoAuthDialog",
|
|
399
394
|
setup(c) {
|
|
400
|
-
const e =
|
|
395
|
+
const e = P();
|
|
401
396
|
return (n, o) => {
|
|
402
|
-
const s =
|
|
403
|
-
return u(), v(
|
|
397
|
+
const s = Vt;
|
|
398
|
+
return u(), v(pt, {
|
|
404
399
|
modelValue: t(e).dialog,
|
|
405
400
|
"onUpdate:modelValue": o[0] || (o[0] = (a) => t(e).dialog = a),
|
|
406
401
|
"max-width": "480"
|
|
@@ -412,7 +407,7 @@ const Ro = q("Queue", () => {
|
|
|
412
407
|
}, 8, ["modelValue"]);
|
|
413
408
|
};
|
|
414
409
|
}
|
|
415
|
-
}),
|
|
410
|
+
}), ze = q("notifications", () => {
|
|
416
411
|
const c = oe(), e = F(), n = U([]), o = U([]), s = U(), a = A(!1), l = x(() => n.value.filter((_) => !e.notifications.read.includes(_.slug))), d = x(() => n.value.filter((_) => e.notifications.read.includes(_.slug)));
|
|
417
412
|
async function p() {
|
|
418
413
|
try {
|
|
@@ -488,11 +483,11 @@ const Ro = q("Queue", () => {
|
|
|
488
483
|
read: d,
|
|
489
484
|
unread: l
|
|
490
485
|
};
|
|
491
|
-
}),
|
|
486
|
+
}), Ko = /* @__PURE__ */ $({
|
|
492
487
|
__name: "VoNotificationsTotalBadge",
|
|
493
488
|
setup(c) {
|
|
494
|
-
const e =
|
|
495
|
-
return (a, l) => (u(), v(
|
|
489
|
+
const e = P(), n = ze(), o = F(), s = x(() => o.notifications.show ? n.unread.length : 0);
|
|
490
|
+
return (a, l) => (u(), v(Ye, {
|
|
496
491
|
color: "error",
|
|
497
492
|
content: t(s),
|
|
498
493
|
dot: !!t(e).user,
|
|
@@ -505,25 +500,25 @@ const Ro = q("Queue", () => {
|
|
|
505
500
|
_: 3
|
|
506
501
|
}, 8, ["content", "dot", "model-value"]));
|
|
507
502
|
}
|
|
508
|
-
}),
|
|
503
|
+
}), Ce = /* @__PURE__ */ $({
|
|
509
504
|
__name: "VoBtn",
|
|
510
505
|
props: {
|
|
511
506
|
readonly: { type: Boolean }
|
|
512
507
|
},
|
|
513
508
|
setup(c) {
|
|
514
509
|
const e = c;
|
|
515
|
-
return (n, o) => (u(), v(
|
|
510
|
+
return (n, o) => (u(), v(Z, {
|
|
516
511
|
class: "text-none font-weight-regular",
|
|
517
512
|
color: "primary",
|
|
518
513
|
size: "small",
|
|
519
|
-
style:
|
|
514
|
+
style: st({
|
|
520
515
|
pointerEvents: e.readonly ? "none" : void 0
|
|
521
516
|
}),
|
|
522
517
|
tabindex: e.readonly ? -1 : void 0,
|
|
523
518
|
variant: "flat"
|
|
524
519
|
}, R({
|
|
525
520
|
loader: r(() => [
|
|
526
|
-
n.$slots.loader ?
|
|
521
|
+
n.$slots.loader ? C("", !0) : (u(), v(Lo, {
|
|
527
522
|
key: 0,
|
|
528
523
|
indeterminate: "disable-shrink",
|
|
529
524
|
size: "16",
|
|
@@ -549,18 +544,18 @@ const Ro = q("Queue", () => {
|
|
|
549
544
|
} : void 0
|
|
550
545
|
]), 1032, ["style", "tabindex"]));
|
|
551
546
|
}
|
|
552
|
-
}),
|
|
547
|
+
}), en = { class: "pa-4 d-flex flex-column ga-4" }, $t = /* @__PURE__ */ $({
|
|
553
548
|
__name: "VoAuthListItem",
|
|
554
549
|
setup(c) {
|
|
555
|
-
const e =
|
|
556
|
-
|
|
550
|
+
const e = P(), n = F(), o = A(!e.user && !e.isLoading);
|
|
551
|
+
z(() => e.user, (a) => {
|
|
557
552
|
o.value = !a;
|
|
558
553
|
});
|
|
559
554
|
function s() {
|
|
560
555
|
e.user && (o.value = !o.value);
|
|
561
556
|
}
|
|
562
557
|
return (a, l) => {
|
|
563
|
-
const d =
|
|
558
|
+
const d = bt, p = yt, m = gt;
|
|
564
559
|
return u(), v(W, {
|
|
565
560
|
class: "ma-2",
|
|
566
561
|
rounded: "lg",
|
|
@@ -573,7 +568,7 @@ const Ro = q("Queue", () => {
|
|
|
573
568
|
class: "mb-0",
|
|
574
569
|
link: !!t(e).user,
|
|
575
570
|
nav: "",
|
|
576
|
-
"prepend-icon": `svg:${t(e).user && t(n).syncSettings ? t(
|
|
571
|
+
"prepend-icon": `svg:${t(e).user && t(n).syncSettings ? t(Pt) : t(Ht)}`,
|
|
577
572
|
rounded: "b-0",
|
|
578
573
|
slim: "",
|
|
579
574
|
title: t(e).user && t(n).syncSettings ? "Sync is on" : "Sync is paused",
|
|
@@ -582,7 +577,7 @@ const Ro = q("Queue", () => {
|
|
|
582
577
|
append: r(() => [
|
|
583
578
|
i(Te, null, {
|
|
584
579
|
default: r(() => [
|
|
585
|
-
t(e).user && (t(o) || !t(n).syncSettings) ? (u(), v(
|
|
580
|
+
t(e).user && (t(o) || !t(n).syncSettings) ? (u(), v(mt, {
|
|
586
581
|
key: 0,
|
|
587
582
|
modelValue: t(n).syncSettings,
|
|
588
583
|
"onUpdate:modelValue": l[0] || (l[0] = (f) => t(n).syncSettings = f),
|
|
@@ -590,7 +585,7 @@ const Ro = q("Queue", () => {
|
|
|
590
585
|
density: "compact",
|
|
591
586
|
"hide-details": "",
|
|
592
587
|
inset: "",
|
|
593
|
-
onClick: l[1] || (l[1] =
|
|
588
|
+
onClick: l[1] || (l[1] = Ze(() => {
|
|
594
589
|
}, ["stop"]))
|
|
595
590
|
}, {
|
|
596
591
|
thumb: r(() => [
|
|
@@ -599,7 +594,7 @@ const Ro = q("Queue", () => {
|
|
|
599
594
|
}, null, 8, ["color"])
|
|
600
595
|
]),
|
|
601
596
|
_: 1
|
|
602
|
-
}, 8, ["modelValue", "color"])) :
|
|
597
|
+
}, 8, ["modelValue", "color"])) : C("", !0)
|
|
603
598
|
]),
|
|
604
599
|
_: 1
|
|
605
600
|
})
|
|
@@ -608,13 +603,13 @@ const Ro = q("Queue", () => {
|
|
|
608
603
|
}, 8, ["link", "prepend-icon", "title"]),
|
|
609
604
|
i(fe, null, {
|
|
610
605
|
default: r(() => [
|
|
611
|
-
!t(e).user && !t(e).isLoading || t(o) ? (u(), v(
|
|
606
|
+
!t(e).user && !t(e).isLoading || t(o) ? (u(), v(Je, {
|
|
612
607
|
key: 0,
|
|
613
608
|
border: "t",
|
|
614
609
|
color: "transparent"
|
|
615
610
|
}, {
|
|
616
611
|
default: r(() => [
|
|
617
|
-
k("div",
|
|
612
|
+
k("div", en, [
|
|
618
613
|
i(d, {
|
|
619
614
|
onClick: l[2] || (l[2] = (f) => o.value = !1)
|
|
620
615
|
}),
|
|
@@ -627,7 +622,7 @@ const Ro = q("Queue", () => {
|
|
|
627
622
|
])
|
|
628
623
|
]),
|
|
629
624
|
_: 1
|
|
630
|
-
})) :
|
|
625
|
+
})) : C("", !0)
|
|
631
626
|
]),
|
|
632
627
|
_: 1
|
|
633
628
|
})
|
|
@@ -671,10 +666,10 @@ const Ro = q("Queue", () => {
|
|
|
671
666
|
} : void 0
|
|
672
667
|
]), 1024));
|
|
673
668
|
}
|
|
674
|
-
}),
|
|
669
|
+
}), tn = /* @__PURE__ */ $({
|
|
675
670
|
__name: "VoAuthLogoutNavItem",
|
|
676
671
|
setup(c) {
|
|
677
|
-
const e =
|
|
672
|
+
const e = P(), n = A(!1);
|
|
678
673
|
async function o() {
|
|
679
674
|
n.value = !0, await e.logout(), n.value = !1;
|
|
680
675
|
}
|
|
@@ -685,15 +680,15 @@ const Ro = q("Queue", () => {
|
|
|
685
680
|
disabled: t(n),
|
|
686
681
|
link: "",
|
|
687
682
|
loading: t(n),
|
|
688
|
-
"prepend-icon": `svg:${t(
|
|
683
|
+
"prepend-icon": `svg:${t(Rt)}`,
|
|
689
684
|
title: "Logout",
|
|
690
685
|
onClick: o
|
|
691
686
|
}, null, 8, ["disabled", "loading", "prepend-icon"]);
|
|
692
687
|
};
|
|
693
688
|
}
|
|
694
|
-
}),
|
|
689
|
+
}), Se = /* @__PURE__ */ $({
|
|
695
690
|
__name: "VoDialog",
|
|
696
|
-
props: /* @__PURE__ */
|
|
691
|
+
props: /* @__PURE__ */ Ut({
|
|
697
692
|
prependIcon: {},
|
|
698
693
|
title: {}
|
|
699
694
|
}, {
|
|
@@ -703,7 +698,7 @@ const Ro = q("Queue", () => {
|
|
|
703
698
|
emits: ["update:modelValue"],
|
|
704
699
|
setup(c) {
|
|
705
700
|
const e = pe(c, "modelValue"), n = ve(), o = A(!1);
|
|
706
|
-
return (s, a) => (u(), v(
|
|
701
|
+
return (s, a) => (u(), v(pt, {
|
|
707
702
|
modelValue: e.value,
|
|
708
703
|
"onUpdate:modelValue": a[2] || (a[2] = (l) => e.value = l),
|
|
709
704
|
activator: "parent",
|
|
@@ -721,16 +716,16 @@ const Ro = q("Queue", () => {
|
|
|
721
716
|
}, R({
|
|
722
717
|
append: r(() => [
|
|
723
718
|
B(s.$slots, "append"),
|
|
724
|
-
t(n).xs.value ?
|
|
719
|
+
t(n).xs.value ? C("", !0) : (u(), v(Z, {
|
|
725
720
|
key: 0,
|
|
726
721
|
class: "me-2",
|
|
727
722
|
density: "comfortable",
|
|
728
|
-
icon: `svg:${t(o) ? t(
|
|
723
|
+
icon: `svg:${t(o) ? t(Et) : t(Wt)}`,
|
|
729
724
|
size: "small",
|
|
730
725
|
variant: "text",
|
|
731
726
|
onClick: a[0] || (a[0] = (d) => o.value = !t(o))
|
|
732
727
|
}, null, 8, ["icon"])),
|
|
733
|
-
i(
|
|
728
|
+
i(Z, {
|
|
734
729
|
density: "comfortable",
|
|
735
730
|
icon: "$close",
|
|
736
731
|
size: "small",
|
|
@@ -763,13 +758,13 @@ const Ro = q("Queue", () => {
|
|
|
763
758
|
_: 3
|
|
764
759
|
}, 8, ["modelValue", "fullscreen", "max-height", "max-width"]));
|
|
765
760
|
}
|
|
766
|
-
}),
|
|
761
|
+
}), wt = /* @__PURE__ */ $({
|
|
767
762
|
__name: "VoSwitch",
|
|
768
763
|
props: {
|
|
769
764
|
disabled: { type: Boolean }
|
|
770
765
|
},
|
|
771
766
|
setup(c) {
|
|
772
|
-
return (e, n) => (u(), v(
|
|
767
|
+
return (e, n) => (u(), v(mt, {
|
|
773
768
|
color: "primary",
|
|
774
769
|
density: "compact",
|
|
775
770
|
disabled: e.disabled,
|
|
@@ -792,7 +787,7 @@ const Ro = q("Queue", () => {
|
|
|
792
787
|
} : void 0
|
|
793
788
|
]), 1032, ["disabled", "true-icon"]));
|
|
794
789
|
}
|
|
795
|
-
}),
|
|
790
|
+
}), on = {
|
|
796
791
|
key: 1,
|
|
797
792
|
class: "mb-3 text-caption text-medium-emphasis"
|
|
798
793
|
}, _e = /* @__PURE__ */ $({
|
|
@@ -808,46 +803,46 @@ const Ro = q("Queue", () => {
|
|
|
808
803
|
class: "font-weight-black"
|
|
809
804
|
}, {
|
|
810
805
|
default: r(() => [
|
|
811
|
-
N(
|
|
806
|
+
N(S(e.title), 1)
|
|
812
807
|
]),
|
|
813
808
|
_: 1
|
|
814
|
-
})) :
|
|
815
|
-
e.text ? (u(), I("div",
|
|
809
|
+
})) : C("", !0),
|
|
810
|
+
e.text ? (u(), I("div", on, S(e.text), 1)) : C("", !0)
|
|
816
811
|
], 64));
|
|
817
812
|
}
|
|
818
|
-
}),
|
|
813
|
+
}), nn = { key: 0 }, sn = /* @__PURE__ */ $({
|
|
819
814
|
__name: "VoSettingsPageSuitOption",
|
|
820
815
|
setup(c) {
|
|
821
816
|
const e = F(), n = [
|
|
822
817
|
{
|
|
823
818
|
title: "Choose a page suit",
|
|
824
819
|
value: "",
|
|
825
|
-
prependIcon: `svg:${
|
|
820
|
+
prependIcon: `svg:${Gt}`,
|
|
826
821
|
disabled: !0
|
|
827
822
|
},
|
|
828
823
|
{
|
|
829
824
|
title: "Blackguard",
|
|
830
|
-
prependIcon: `svg:${
|
|
825
|
+
prependIcon: `svg:${at}`,
|
|
831
826
|
value: "blackguard"
|
|
832
827
|
},
|
|
833
828
|
{
|
|
834
829
|
title: "Polaris",
|
|
835
|
-
prependIcon: `svg:${
|
|
830
|
+
prependIcon: `svg:${it}`,
|
|
836
831
|
value: "polaris"
|
|
837
832
|
},
|
|
838
833
|
{
|
|
839
834
|
title: "Nebula",
|
|
840
|
-
prependIcon: `svg:${
|
|
835
|
+
prependIcon: `svg:${rt}`,
|
|
841
836
|
value: "nebula"
|
|
842
837
|
},
|
|
843
838
|
{
|
|
844
839
|
title: "Odyssey",
|
|
845
|
-
prependIcon: `svg:${
|
|
840
|
+
prependIcon: `svg:${lt}`,
|
|
846
841
|
value: "odyssey"
|
|
847
842
|
}
|
|
848
843
|
];
|
|
849
844
|
return (o, s) => {
|
|
850
|
-
const a =
|
|
845
|
+
const a = wt, l = _e;
|
|
851
846
|
return u(), I(T, null, [
|
|
852
847
|
i(a, {
|
|
853
848
|
modelValue: t(e).suits.show,
|
|
@@ -858,8 +853,8 @@ const Ro = q("Queue", () => {
|
|
|
858
853
|
}, null, 8, ["modelValue"]),
|
|
859
854
|
i(fe, null, {
|
|
860
855
|
default: r(() => [
|
|
861
|
-
t(e).suits.show ? (u(), I("div",
|
|
862
|
-
i(
|
|
856
|
+
t(e).suits.show ? (u(), I("div", nn, [
|
|
857
|
+
i(Do, {
|
|
863
858
|
modelValue: t(e).suits.suit,
|
|
864
859
|
"onUpdate:modelValue": s[1] || (s[1] = (d) => t(e).suits.suit = d),
|
|
865
860
|
clearable: "",
|
|
@@ -877,12 +872,12 @@ const Ro = q("Queue", () => {
|
|
|
877
872
|
size: "x-small",
|
|
878
873
|
start: ""
|
|
879
874
|
}, null, 8, ["icon"]),
|
|
880
|
-
N(" " +
|
|
875
|
+
N(" " + S(d.title), 1)
|
|
881
876
|
]),
|
|
882
877
|
_: 1
|
|
883
878
|
}, 8, ["modelValue"]),
|
|
884
879
|
i(l, { text: "Select your suit elements to display the background image:" }),
|
|
885
|
-
i(
|
|
880
|
+
i(Ao, {
|
|
886
881
|
modelValue: t(e).suits.elements,
|
|
887
882
|
"onUpdate:modelValue": s[2] || (s[2] = (d) => t(e).suits.elements = d),
|
|
888
883
|
color: "primary",
|
|
@@ -891,7 +886,7 @@ const Ro = q("Queue", () => {
|
|
|
891
886
|
}, {
|
|
892
887
|
default: r(() => [
|
|
893
888
|
i(X, {
|
|
894
|
-
"append-icon": `svg:${t(
|
|
889
|
+
"append-icon": `svg:${t(qt)}`,
|
|
895
890
|
"filter-icon": "$success",
|
|
896
891
|
text: "App Bar",
|
|
897
892
|
value: "app-bar",
|
|
@@ -941,7 +936,7 @@ const Ro = q("Queue", () => {
|
|
|
941
936
|
]),
|
|
942
937
|
_: 1
|
|
943
938
|
}, 8, ["modelValue"])
|
|
944
|
-
])) :
|
|
939
|
+
])) : C("", !0)
|
|
945
940
|
]),
|
|
946
941
|
_: 1
|
|
947
942
|
})
|
|
@@ -950,13 +945,13 @@ const Ro = q("Queue", () => {
|
|
|
950
945
|
}
|
|
951
946
|
});
|
|
952
947
|
function Le() {
|
|
953
|
-
const c =
|
|
948
|
+
const c = $o();
|
|
954
949
|
return x(
|
|
955
950
|
() => c.query
|
|
956
951
|
);
|
|
957
952
|
}
|
|
958
|
-
const
|
|
959
|
-
const c = Le(), e =
|
|
953
|
+
const j = q("one", () => {
|
|
954
|
+
const c = Le(), e = Qe(), n = P(), o = oe(), s = A(!1), a = A(!1), l = U(), d = U([]), p = x(() => c.value.session_id), m = x(() => {
|
|
960
955
|
var w;
|
|
961
956
|
return (w = l.value) == null ? void 0 : w.items[0].plan.interval;
|
|
962
957
|
}), f = x(() => {
|
|
@@ -967,10 +962,9 @@ const P = q("one", () => {
|
|
|
967
962
|
return !!((w = f.value) != null && w.tierName);
|
|
968
963
|
}), V = x(() => {
|
|
969
964
|
var w;
|
|
970
|
-
return ((w = n.user) == null ? void 0 : w.sponsorships.reduce((L,
|
|
971
|
-
if (!
|
|
972
|
-
|
|
973
|
-
const Ie = Z.interval === "month" ? Z.amount : Z.amount / 12;
|
|
965
|
+
return ((w = n.user) == null ? void 0 : w.sponsorships.reduce((L, G) => {
|
|
966
|
+
if (!G.isActive || G.interval === "once" || G.platform === "stripe") return L;
|
|
967
|
+
const Ie = G.interval === "month" ? G.amount : G.amount / 12;
|
|
974
968
|
return L + Ie / 100;
|
|
975
969
|
}, 0)) ?? 0;
|
|
976
970
|
}), y = x(() => {
|
|
@@ -985,25 +979,24 @@ const P = q("one", () => {
|
|
|
985
979
|
}), b = x(() => {
|
|
986
980
|
var w;
|
|
987
981
|
return (w = n.user) == null ? void 0 : w.identities.find((L) => L.provider === "shopify");
|
|
988
|
-
}),
|
|
982
|
+
}), M = x(() => {
|
|
989
983
|
var w;
|
|
990
984
|
return (w = n.user) == null ? void 0 : w.sponsorships.find((L) => L.platform === "patreon" && L.isActive);
|
|
991
985
|
}), D = x(() => {
|
|
992
|
-
var w, L,
|
|
993
|
-
return !o.url || ((w = n.user) == null ? void 0 : w.isAdmin) || ((L = f.value) == null ? void 0 : L.isActive) || ((
|
|
986
|
+
var w, L, G, Ie, ot;
|
|
987
|
+
return !o.url || ((w = n.user) == null ? void 0 : w.isAdmin) || ((L = f.value) == null ? void 0 : L.isActive) || ((G = _.value) == null ? void 0 : G.isActive) || ((Ie = h.value) == null ? void 0 : Ie.isActive) || ((ot = M.value) == null ? void 0 : ot.isActive) || V.value >= 2.99;
|
|
994
988
|
});
|
|
995
989
|
Oe(async () => {
|
|
996
990
|
p.value && await H();
|
|
997
|
-
}),
|
|
991
|
+
}), z(a, tt), z(p, (w) => {
|
|
998
992
|
w && H();
|
|
999
|
-
}, { immediate: !0 }),
|
|
1000
|
-
if (w.one !== "subscribe" || n.user)
|
|
1001
|
-
return;
|
|
993
|
+
}, { immediate: !0 }), z(c, (w) => {
|
|
994
|
+
if (w.one !== "subscribe" || n.user) return;
|
|
1002
995
|
n.dialog = !0;
|
|
1003
|
-
const L =
|
|
1004
|
-
|
|
996
|
+
const L = z(() => n.user, (G) => {
|
|
997
|
+
G && (n.dialog = !1, L());
|
|
1005
998
|
});
|
|
1006
|
-
}, { immediate: !0 }),
|
|
999
|
+
}, { immediate: !0 }), z(D, (w, L) => {
|
|
1007
1000
|
w === !1 && L !== !0 || ne();
|
|
1008
1001
|
});
|
|
1009
1002
|
async function H() {
|
|
@@ -1076,7 +1069,7 @@ const P = q("one", () => {
|
|
|
1076
1069
|
s.value = !1;
|
|
1077
1070
|
}
|
|
1078
1071
|
}
|
|
1079
|
-
function
|
|
1072
|
+
function tt() {
|
|
1080
1073
|
e.push({
|
|
1081
1074
|
query: {
|
|
1082
1075
|
...c.value,
|
|
@@ -1096,7 +1089,7 @@ const P = q("one", () => {
|
|
|
1096
1089
|
isOpen: a,
|
|
1097
1090
|
isSubscriber: D,
|
|
1098
1091
|
github: _,
|
|
1099
|
-
patreon:
|
|
1092
|
+
patreon: M,
|
|
1100
1093
|
discord: h,
|
|
1101
1094
|
shopify: b,
|
|
1102
1095
|
one: y,
|
|
@@ -1104,13 +1097,13 @@ const P = q("one", () => {
|
|
|
1104
1097
|
cancel: le,
|
|
1105
1098
|
manage: ie,
|
|
1106
1099
|
modify: ce,
|
|
1107
|
-
resetQuery:
|
|
1100
|
+
resetQuery: tt,
|
|
1108
1101
|
subscribe: re,
|
|
1109
1102
|
subscriptionInfo: he,
|
|
1110
1103
|
verify: ne
|
|
1111
1104
|
};
|
|
1112
1105
|
});
|
|
1113
|
-
function
|
|
1106
|
+
function an() {
|
|
1114
1107
|
return {
|
|
1115
1108
|
blackguard: {
|
|
1116
1109
|
dark: !0,
|
|
@@ -1245,7 +1238,7 @@ function ln() {
|
|
|
1245
1238
|
warning: "#ecb85b"
|
|
1246
1239
|
},
|
|
1247
1240
|
variables: {
|
|
1248
|
-
"border-color": "#
|
|
1241
|
+
"border-color": "#000000",
|
|
1249
1242
|
"border-opacity": 0.24,
|
|
1250
1243
|
"high-emphasis-opacity": 1,
|
|
1251
1244
|
"medium-emphasis-opacity": 0.87,
|
|
@@ -1267,20 +1260,20 @@ function ln() {
|
|
|
1267
1260
|
dark: !0,
|
|
1268
1261
|
colors: {
|
|
1269
1262
|
background: "#000000",
|
|
1270
|
-
surface: "#
|
|
1263
|
+
surface: "#121212",
|
|
1271
1264
|
primary: "#ffD700",
|
|
1272
1265
|
"primary-darken-1": "#e6c300",
|
|
1273
|
-
secondary: "#
|
|
1266
|
+
secondary: "#00ccdd",
|
|
1274
1267
|
"secondary-darken-1": "#00e600",
|
|
1275
1268
|
accent: "#ff00ff",
|
|
1276
1269
|
info: "#31aaff",
|
|
1277
1270
|
warning: "#ffaa00",
|
|
1278
1271
|
error: "#ff0000",
|
|
1279
1272
|
success: "#00ff00",
|
|
1280
|
-
"on-surface-variant": "#
|
|
1281
|
-
"surface-light": "#
|
|
1282
|
-
"surface-bright": "#
|
|
1283
|
-
"surface-variant": "#
|
|
1273
|
+
"on-surface-variant": "#ffffff",
|
|
1274
|
+
"surface-light": "#222222",
|
|
1275
|
+
"surface-bright": "#000000",
|
|
1276
|
+
"surface-variant": "#333333"
|
|
1284
1277
|
},
|
|
1285
1278
|
variables: {
|
|
1286
1279
|
"border-color": "#ffffff",
|
|
@@ -1303,8 +1296,8 @@ function ln() {
|
|
|
1303
1296
|
}
|
|
1304
1297
|
};
|
|
1305
1298
|
}
|
|
1306
|
-
const
|
|
1307
|
-
const c = "https://cdn.vuetifyjs.com/docs/images/one/", e =
|
|
1299
|
+
const je = q("settings", () => {
|
|
1300
|
+
const c = "https://cdn.vuetifyjs.com/docs/images/one/", e = j(), n = F(), o = Fe(), s = an(), a = {
|
|
1308
1301
|
blackguard: {
|
|
1309
1302
|
"app-bar": c + "suits/blackguard/blackguard-app-bar.png",
|
|
1310
1303
|
drawer: c + "suits/blackguard/blackguard-app-drawer.png",
|
|
@@ -1326,8 +1319,7 @@ const Pe = q("settings", () => {
|
|
|
1326
1319
|
footer: c + "suits/odyssey/odyssey-app-footer.png"
|
|
1327
1320
|
}
|
|
1328
1321
|
}, l = x(() => {
|
|
1329
|
-
if (!n.suits.suit || !n.suits.show || !e.isSubscriber)
|
|
1330
|
-
return {};
|
|
1322
|
+
if (!n.suits.suit || !n.suits.show || !e.isSubscriber) return {};
|
|
1331
1323
|
const d = a[n.suits.suit.toLowerCase()], p = {};
|
|
1332
1324
|
for (const m of n.suits.elements)
|
|
1333
1325
|
p[m] = d[m];
|
|
@@ -1336,13 +1328,13 @@ const Pe = q("settings", () => {
|
|
|
1336
1328
|
return o.themes.value = {
|
|
1337
1329
|
...o.themes.value,
|
|
1338
1330
|
...s
|
|
1339
|
-
},
|
|
1331
|
+
}, z(() => n.theme, (d) => {
|
|
1340
1332
|
d === "system" ? o.global.name.value = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : (o.global.name.value = d, n.suits.suit = a[d] ? d : ""), n.theme = d;
|
|
1341
1333
|
}, { immediate: !0 }), {
|
|
1342
1334
|
suit: l,
|
|
1343
1335
|
CDN_URL: c
|
|
1344
1336
|
};
|
|
1345
|
-
}),
|
|
1337
|
+
}), rn = { class: "ms-5" }, ln = { class: "pb-2" }, cn = /* @__PURE__ */ $({
|
|
1346
1338
|
__name: "VoSettingsDialog",
|
|
1347
1339
|
props: {
|
|
1348
1340
|
modelValue: { type: Boolean },
|
|
@@ -1350,33 +1342,33 @@ const Pe = q("settings", () => {
|
|
|
1350
1342
|
},
|
|
1351
1343
|
emits: ["update:modelValue"],
|
|
1352
1344
|
setup(c) {
|
|
1353
|
-
const e = pe(c, "modelValue"), n =
|
|
1345
|
+
const e = pe(c, "modelValue"), n = j(), o = je(), s = F(), a = x(() => [
|
|
1354
1346
|
{
|
|
1355
1347
|
title: "Light",
|
|
1356
1348
|
subtitle: "A standard light theme.",
|
|
1357
1349
|
image: o.CDN_URL + "themes/light.png",
|
|
1358
|
-
prependIcon: `svg:${
|
|
1350
|
+
prependIcon: `svg:${Qt}`,
|
|
1359
1351
|
value: "light"
|
|
1360
1352
|
},
|
|
1361
1353
|
{
|
|
1362
1354
|
title: "Dark",
|
|
1363
1355
|
subtitle: "A standard dark theme.",
|
|
1364
1356
|
image: o.CDN_URL + "themes/dark.png",
|
|
1365
|
-
prependIcon: `svg:${
|
|
1357
|
+
prependIcon: `svg:${Yt}`,
|
|
1366
1358
|
value: "dark"
|
|
1367
1359
|
},
|
|
1368
1360
|
{
|
|
1369
1361
|
title: "System",
|
|
1370
1362
|
subtitle: "A theme based on the system preference.",
|
|
1371
1363
|
image: o.CDN_URL + "themes/system.png",
|
|
1372
|
-
prependIcon: `svg:${
|
|
1364
|
+
prependIcon: `svg:${Jt}`,
|
|
1373
1365
|
value: "system"
|
|
1374
1366
|
},
|
|
1375
1367
|
{
|
|
1376
1368
|
title: "High Contrast",
|
|
1377
1369
|
subtitle: "A theme for high contrast.",
|
|
1378
1370
|
image: o.CDN_URL + "themes/high-contrast.png",
|
|
1379
|
-
prependIcon: `svg:${
|
|
1371
|
+
prependIcon: `svg:${Xt}`,
|
|
1380
1372
|
value: "highContrast",
|
|
1381
1373
|
disabled: !n.isSubscriber
|
|
1382
1374
|
}
|
|
@@ -1385,7 +1377,7 @@ const Pe = q("settings", () => {
|
|
|
1385
1377
|
title: "Blackguard",
|
|
1386
1378
|
subtitle: "A theme for v3.4 Blackguard.",
|
|
1387
1379
|
image: o.CDN_URL + "themes/blackguard.png",
|
|
1388
|
-
prependIcon: `svg:${
|
|
1380
|
+
prependIcon: `svg:${at}`,
|
|
1389
1381
|
value: "blackguard",
|
|
1390
1382
|
disabled: !n.isSubscriber
|
|
1391
1383
|
},
|
|
@@ -1393,7 +1385,7 @@ const Pe = q("settings", () => {
|
|
|
1393
1385
|
title: "Polaris",
|
|
1394
1386
|
subtitle: "A theme for v3.5 Polaris.",
|
|
1395
1387
|
image: o.CDN_URL + "themes/polaris.png",
|
|
1396
|
-
prependIcon: `svg:${
|
|
1388
|
+
prependIcon: `svg:${it}`,
|
|
1397
1389
|
value: "polaris",
|
|
1398
1390
|
disabled: !n.isSubscriber
|
|
1399
1391
|
},
|
|
@@ -1401,7 +1393,7 @@ const Pe = q("settings", () => {
|
|
|
1401
1393
|
title: "Nebula",
|
|
1402
1394
|
subtitle: "A theme for v3.6 Nebula.",
|
|
1403
1395
|
image: o.CDN_URL + "themes/nebula.png",
|
|
1404
|
-
prependIcon: `svg:${
|
|
1396
|
+
prependIcon: `svg:${rt}`,
|
|
1405
1397
|
value: "nebula",
|
|
1406
1398
|
disabled: !n.isSubscriber
|
|
1407
1399
|
},
|
|
@@ -1409,7 +1401,7 @@ const Pe = q("settings", () => {
|
|
|
1409
1401
|
title: "Odyssey",
|
|
1410
1402
|
subtitle: "A theme for v3.7 Odyssey.",
|
|
1411
1403
|
image: o.CDN_URL + "themes/odyssey.png",
|
|
1412
|
-
prependIcon: `svg:${
|
|
1404
|
+
prependIcon: `svg:${lt}`,
|
|
1413
1405
|
value: "odyssey",
|
|
1414
1406
|
disabled: !n.isSubscriber
|
|
1415
1407
|
}
|
|
@@ -1417,18 +1409,18 @@ const Pe = q("settings", () => {
|
|
|
1417
1409
|
{ title: "Standard", items: a.value },
|
|
1418
1410
|
{ title: "Releases", items: l.value }
|
|
1419
1411
|
]), p = Le();
|
|
1420
|
-
|
|
1412
|
+
z(p, async () => {
|
|
1421
1413
|
p.value.one === "settings" && (n.isOpen = !0, await be(), e.value = !0);
|
|
1422
1414
|
}, { immediate: !0 });
|
|
1423
1415
|
function m(f, g) {
|
|
1424
1416
|
g.disabled || (s.theme = g.value, f == null || f());
|
|
1425
1417
|
}
|
|
1426
1418
|
return (f, g) => {
|
|
1427
|
-
const V = _e, y =
|
|
1419
|
+
const V = _e, y = sn, _ = wt, h = Se;
|
|
1428
1420
|
return u(), v(h, {
|
|
1429
1421
|
modelValue: e.value,
|
|
1430
1422
|
"onUpdate:modelValue": g[6] || (g[6] = (b) => e.value = b),
|
|
1431
|
-
"prepend-icon": `svg:${t(
|
|
1423
|
+
"prepend-icon": `svg:${t(Kt)}`,
|
|
1432
1424
|
title: "Settings"
|
|
1433
1425
|
}, {
|
|
1434
1426
|
default: r(() => [
|
|
@@ -1442,7 +1434,7 @@ const Pe = q("settings", () => {
|
|
|
1442
1434
|
text: "Customize your documentation experience with light and dark themes, as well as a combination of both named.",
|
|
1443
1435
|
title: "Theme"
|
|
1444
1436
|
}),
|
|
1445
|
-
i(
|
|
1437
|
+
i(ft, {
|
|
1446
1438
|
modelValue: t(s).theme,
|
|
1447
1439
|
"onUpdate:modelValue": g[0] || (g[0] = (b) => t(s).theme = b),
|
|
1448
1440
|
mandatory: ""
|
|
@@ -1450,16 +1442,16 @@ const Pe = q("settings", () => {
|
|
|
1450
1442
|
default: r(() => [
|
|
1451
1443
|
i($e, { dense: "" }, {
|
|
1452
1444
|
default: r(() => [
|
|
1453
|
-
(u(!0), I(T, null, K(d.value, (b,
|
|
1454
|
-
key:
|
|
1445
|
+
(u(!0), I(T, null, K(d.value, (b, M) => (u(), v(de, {
|
|
1446
|
+
key: M,
|
|
1455
1447
|
class: "d-flex flex-column ga-3",
|
|
1456
1448
|
cols: "12",
|
|
1457
1449
|
md: "6"
|
|
1458
1450
|
}, {
|
|
1459
1451
|
default: r(() => [
|
|
1460
|
-
i(
|
|
1452
|
+
i(wo, { class: "mb-n4" }, {
|
|
1461
1453
|
default: r(() => [
|
|
1462
|
-
N(
|
|
1454
|
+
N(S(b.title), 1)
|
|
1463
1455
|
]),
|
|
1464
1456
|
_: 2
|
|
1465
1457
|
}, 1024),
|
|
@@ -1468,7 +1460,7 @@ const Pe = q("settings", () => {
|
|
|
1468
1460
|
value: D.value
|
|
1469
1461
|
}, {
|
|
1470
1462
|
default: r(({ toggle: H, isSelected: ie }) => [
|
|
1471
|
-
i(
|
|
1463
|
+
i(Me, null, {
|
|
1472
1464
|
default: r(({ props: re, isHovering: le }) => [
|
|
1473
1465
|
i(W, E({
|
|
1474
1466
|
color: ie ? "primary" : "surface-variant",
|
|
@@ -1479,13 +1471,14 @@ const Pe = q("settings", () => {
|
|
|
1479
1471
|
ripple: !D.disabled,
|
|
1480
1472
|
subtitle: D.disabled ? "🔓 Unlock with Vuetify One" : D.subtitle,
|
|
1481
1473
|
title: D.title,
|
|
1482
|
-
variant: "tonal"
|
|
1474
|
+
variant: "tonal",
|
|
1475
|
+
ref_for: !0
|
|
1483
1476
|
}, re, {
|
|
1484
1477
|
onClick: (ce) => m(H, D)
|
|
1485
1478
|
}), {
|
|
1486
1479
|
image: r(() => [
|
|
1487
1480
|
i(te, {
|
|
1488
|
-
style:
|
|
1481
|
+
style: st({
|
|
1489
1482
|
filter: ie || le ? "none" : "grayscale(100%)"
|
|
1490
1483
|
})
|
|
1491
1484
|
}, null, 8, ["style"])
|
|
@@ -1510,7 +1503,7 @@ const Pe = q("settings", () => {
|
|
|
1510
1503
|
t(n).isSubscriber ? (u(), I(T, { key: 0 }, [
|
|
1511
1504
|
i(Q, { class: "mt-6 mb-4" }),
|
|
1512
1505
|
i(y)
|
|
1513
|
-
], 64)) :
|
|
1506
|
+
], 64)) : C("", !0)
|
|
1514
1507
|
]),
|
|
1515
1508
|
_: 1
|
|
1516
1509
|
}),
|
|
@@ -1528,11 +1521,11 @@ const Pe = q("settings", () => {
|
|
|
1528
1521
|
class: "mb-2",
|
|
1529
1522
|
label: "Disable Ads",
|
|
1530
1523
|
messages: "Disable traditional advertisements on all documentation pages."
|
|
1531
|
-
}, null, 8, ["modelValue"])) :
|
|
1524
|
+
}, null, 8, ["modelValue"])) : C("", !0),
|
|
1532
1525
|
i(fe, null, {
|
|
1533
1526
|
default: r(() => [
|
|
1534
|
-
Ve(k("div",
|
|
1535
|
-
k("div",
|
|
1527
|
+
Ve(k("div", rn, [
|
|
1528
|
+
k("div", ln, [
|
|
1536
1529
|
i(_, {
|
|
1537
1530
|
modelValue: t(s).showHouseAds,
|
|
1538
1531
|
"onUpdate:modelValue": g[2] || (g[2] = (b) => t(s).showHouseAds = b),
|
|
@@ -1580,7 +1573,7 @@ const Pe = q("settings", () => {
|
|
|
1580
1573
|
}, null, 8, ["modelValue"])
|
|
1581
1574
|
]),
|
|
1582
1575
|
_: 1
|
|
1583
|
-
})) :
|
|
1576
|
+
})) : C("", !0)
|
|
1584
1577
|
]),
|
|
1585
1578
|
_: 1
|
|
1586
1579
|
})
|
|
@@ -1592,16 +1585,16 @@ const Pe = q("settings", () => {
|
|
|
1592
1585
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
1593
1586
|
};
|
|
1594
1587
|
}
|
|
1595
|
-
}),
|
|
1588
|
+
}), un = /* @__PURE__ */ $({
|
|
1596
1589
|
__name: "VoSettingsListItem",
|
|
1597
1590
|
setup(c) {
|
|
1598
1591
|
const e = A(!1);
|
|
1599
1592
|
return (n, o) => {
|
|
1600
|
-
const s =
|
|
1593
|
+
const s = cn, a = Y;
|
|
1601
1594
|
return u(), v(a, {
|
|
1602
1595
|
active: t(e),
|
|
1603
1596
|
link: "",
|
|
1604
|
-
"prepend-icon": `svg:${t(
|
|
1597
|
+
"prepend-icon": `svg:${t(eo)}`,
|
|
1605
1598
|
title: "Settings"
|
|
1606
1599
|
}, {
|
|
1607
1600
|
default: r(() => [
|
|
@@ -1614,10 +1607,10 @@ const Pe = q("settings", () => {
|
|
|
1614
1607
|
}, 8, ["active", "prepend-icon"]);
|
|
1615
1608
|
};
|
|
1616
1609
|
}
|
|
1617
|
-
}),
|
|
1610
|
+
}), dn = { class: "text-caption" }, pn = /* @__PURE__ */ $({
|
|
1618
1611
|
__name: "VoSubscriptionInvoices",
|
|
1619
1612
|
setup(c) {
|
|
1620
|
-
const e = ke(), n =
|
|
1613
|
+
const e = ke(), n = j();
|
|
1621
1614
|
return (o, s) => {
|
|
1622
1615
|
const a = _e;
|
|
1623
1616
|
return u(), v($e, null, {
|
|
@@ -1634,16 +1627,16 @@ const Pe = q("settings", () => {
|
|
|
1634
1627
|
rounded: "lg"
|
|
1635
1628
|
}, {
|
|
1636
1629
|
default: r(() => [
|
|
1637
|
-
i(
|
|
1630
|
+
i(vt, {
|
|
1638
1631
|
items: t(n).invoices,
|
|
1639
1632
|
loading: t(n).isLoading,
|
|
1640
1633
|
sticky: ""
|
|
1641
1634
|
}, {
|
|
1642
1635
|
"item.date": r(({ item: l }) => [
|
|
1643
|
-
k("div",
|
|
1636
|
+
k("div", dn, S(t(e).format(new Date(l.date * 1e3), "fullDateWithWeekday")), 1)
|
|
1644
1637
|
]),
|
|
1645
1638
|
"item.amount": r(({ item: l }) => [
|
|
1646
|
-
N(" $" +
|
|
1639
|
+
N(" $" + S(l.amount / 100), 1)
|
|
1647
1640
|
]),
|
|
1648
1641
|
"item.status": r(({ item: l }) => [
|
|
1649
1642
|
i(X, {
|
|
@@ -1657,9 +1650,9 @@ const Pe = q("settings", () => {
|
|
|
1657
1650
|
}, null, 8, ["text"])
|
|
1658
1651
|
]),
|
|
1659
1652
|
"item.pdf": r(({ item: l }) => [
|
|
1660
|
-
i(
|
|
1653
|
+
i(Z, {
|
|
1661
1654
|
href: l.pdf,
|
|
1662
|
-
icon: `svg:${t(
|
|
1655
|
+
icon: `svg:${t(to)}`,
|
|
1663
1656
|
size: "small",
|
|
1664
1657
|
target: "_blank",
|
|
1665
1658
|
variant: "text"
|
|
@@ -1678,16 +1671,15 @@ const Pe = q("settings", () => {
|
|
|
1678
1671
|
});
|
|
1679
1672
|
};
|
|
1680
1673
|
}
|
|
1681
|
-
}),
|
|
1674
|
+
}), mn = { class: "d-flex align-center" }, fn = {
|
|
1682
1675
|
key: "status",
|
|
1683
1676
|
class: "text-capitalize hidden-sm-and-down"
|
|
1684
|
-
},
|
|
1677
|
+
}, vn = /* @__PURE__ */ k("span", { class: "mx-1 hidden-sm-and-down" }, "—", -1), _n = { class: "me-1" }, hn = { class: "text-medium-emphasis text-caption" }, gn = { class: "d-flex align-center" }, yn = /* @__PURE__ */ k("span", { class: "mx-1" }, "—", -1), bn = { class: "d-flex align-start justify-space-between text-caption py-2" }, Vn = { class: "font-weight-bold" }, kn = { class: "font-weight-bold" }, $n = /* @__PURE__ */ $({
|
|
1685
1678
|
__name: "VoSubscriptionStatus",
|
|
1686
1679
|
emits: ["change:subscription"],
|
|
1687
1680
|
setup(c, { emit: e }) {
|
|
1688
|
-
const n = ke(), o =
|
|
1689
|
-
if (!o.info)
|
|
1690
|
-
return;
|
|
1681
|
+
const n = ke(), o = j(), s = e, a = x(() => {
|
|
1682
|
+
if (!o.info) return;
|
|
1691
1683
|
const d = new Date(o.info.currentPeriodEnd * 1e3);
|
|
1692
1684
|
return n.format(d, "keyboardDate");
|
|
1693
1685
|
});
|
|
@@ -1695,7 +1687,7 @@ const Pe = q("settings", () => {
|
|
|
1695
1687
|
o.interval && (o.isLoading = !0, o.subscribe(o.interval));
|
|
1696
1688
|
}
|
|
1697
1689
|
return (d, p) => {
|
|
1698
|
-
const m =
|
|
1690
|
+
const m = Ce;
|
|
1699
1691
|
return u(), v($e, null, {
|
|
1700
1692
|
default: r(() => [
|
|
1701
1693
|
i(de, { cols: "12" }, {
|
|
@@ -1721,14 +1713,14 @@ const Pe = q("settings", () => {
|
|
|
1721
1713
|
text: "Activate",
|
|
1722
1714
|
variant: "outlined",
|
|
1723
1715
|
onClick: l
|
|
1724
|
-
}, null, 8, ["loading"])) :
|
|
1716
|
+
}, null, 8, ["loading"])) : C("", !0),
|
|
1725
1717
|
t(o).hasBilling ? (u(), v(m, {
|
|
1726
1718
|
key: 1,
|
|
1727
1719
|
loading: t(o).isLoading,
|
|
1728
|
-
"prepend-icon": `svg:${t(
|
|
1720
|
+
"prepend-icon": `svg:${t(oo)}`,
|
|
1729
1721
|
text: "Billing",
|
|
1730
1722
|
onClick: t(o).manage
|
|
1731
|
-
}, null, 8, ["loading", "prepend-icon", "onClick"])) :
|
|
1723
|
+
}, null, 8, ["loading", "prepend-icon", "onClick"])) : C("", !0)
|
|
1732
1724
|
];
|
|
1733
1725
|
}),
|
|
1734
1726
|
_: 2
|
|
@@ -1736,13 +1728,13 @@ const Pe = q("settings", () => {
|
|
|
1736
1728
|
t(o).info ? {
|
|
1737
1729
|
name: "subtitle",
|
|
1738
1730
|
fn: r(() => [
|
|
1739
|
-
k("div",
|
|
1740
|
-
k("span",
|
|
1731
|
+
k("div", mn, [
|
|
1732
|
+
k("span", fn, S(t(o).info.status), 1),
|
|
1741
1733
|
t(o).info.items.length ? (u(), I(T, { key: 0 }, [
|
|
1742
|
-
|
|
1743
|
-
k("span",
|
|
1744
|
-
N(" $" +
|
|
1745
|
-
k("span",
|
|
1734
|
+
vn,
|
|
1735
|
+
k("span", _n, [
|
|
1736
|
+
N(" $" + S(t(o).info.items[0].plan.amount / 100), 1),
|
|
1737
|
+
k("span", hn, "/" + S(t(o).interval), 1)
|
|
1746
1738
|
]),
|
|
1747
1739
|
i(m, {
|
|
1748
1740
|
size: "x-small",
|
|
@@ -1750,20 +1742,20 @@ const Pe = q("settings", () => {
|
|
|
1750
1742
|
variant: "text",
|
|
1751
1743
|
onClick: p[0] || (p[0] = (V) => s("change:subscription"))
|
|
1752
1744
|
})
|
|
1753
|
-
], 64)) :
|
|
1745
|
+
], 64)) : C("", !0)
|
|
1754
1746
|
])
|
|
1755
1747
|
]),
|
|
1756
1748
|
key: "0"
|
|
1757
1749
|
} : {
|
|
1758
1750
|
name: "subtitle",
|
|
1759
1751
|
fn: r(() => [
|
|
1760
|
-
k("div",
|
|
1752
|
+
k("div", gn, [
|
|
1761
1753
|
i(ye, {
|
|
1762
1754
|
height: "16",
|
|
1763
1755
|
type: "ossein",
|
|
1764
1756
|
width: "40"
|
|
1765
1757
|
}),
|
|
1766
|
-
|
|
1758
|
+
yn,
|
|
1767
1759
|
i(ye, {
|
|
1768
1760
|
height: "16",
|
|
1769
1761
|
type: "ossein",
|
|
@@ -1778,11 +1770,11 @@ const Pe = q("settings", () => {
|
|
|
1778
1770
|
k("div", null, [
|
|
1779
1771
|
((f = t(o).info) == null ? void 0 : f.status) === "active" ? (u(), I(T, { key: 0 }, [
|
|
1780
1772
|
N(" Your plan renews on "),
|
|
1781
|
-
k("span", Vn,
|
|
1773
|
+
k("span", Vn, S(t(n).format(t(a), "fullDateWithWeekday")), 1),
|
|
1782
1774
|
N(". ")
|
|
1783
1775
|
], 64)) : (u(), I(T, { key: 1 }, [
|
|
1784
1776
|
N(" Your plan ends on "),
|
|
1785
|
-
k("span", kn,
|
|
1777
|
+
k("span", kn, S(t(n).format((g = t(o).info) == null ? void 0 : g.currentPeriodEnd, "fullDateWithWeekday")), 1),
|
|
1786
1778
|
N(". ")
|
|
1787
1779
|
], 64))
|
|
1788
1780
|
])
|
|
@@ -1796,7 +1788,7 @@ const Pe = q("settings", () => {
|
|
|
1796
1788
|
});
|
|
1797
1789
|
};
|
|
1798
1790
|
}
|
|
1799
|
-
}), wn = /* @__PURE__ */ k("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The Vuetify One subscription comes with the following perks: ", -1), xn = ["innerHTML"],
|
|
1791
|
+
}), wn = /* @__PURE__ */ k("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The Vuetify One subscription comes with the following perks: ", -1), xn = ["innerHTML"], Cn = /* @__PURE__ */ k("br", null, null, -1), Sn = /* @__PURE__ */ k("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The following features are in development and coming soon: ", -1), Ln = ["innerHTML"], In = /* @__PURE__ */ $({
|
|
1800
1792
|
__name: "VoSubscriptionPerks",
|
|
1801
1793
|
setup(c) {
|
|
1802
1794
|
const e = [
|
|
@@ -1810,8 +1802,8 @@ const Pe = q("settings", () => {
|
|
|
1810
1802
|
], n = [
|
|
1811
1803
|
"Early access to Vuetify Studio, a visual editor for Vuetify",
|
|
1812
1804
|
"Receive a special label on GitHub created issues and pull requests"
|
|
1813
|
-
], o = A(!1), s =
|
|
1814
|
-
return
|
|
1805
|
+
], o = A(!1), s = j();
|
|
1806
|
+
return z(o, async (a) => {
|
|
1815
1807
|
a && s.subscriptionInfo();
|
|
1816
1808
|
}), (a, l) => {
|
|
1817
1809
|
const d = Y;
|
|
@@ -1850,14 +1842,14 @@ const Pe = q("settings", () => {
|
|
|
1850
1842
|
]),
|
|
1851
1843
|
_: 1
|
|
1852
1844
|
}),
|
|
1853
|
-
|
|
1845
|
+
Cn,
|
|
1854
1846
|
i(We, { class: "font-weight-black" }, {
|
|
1855
1847
|
default: r(() => [
|
|
1856
1848
|
N("Up Next")
|
|
1857
1849
|
]),
|
|
1858
1850
|
_: 1
|
|
1859
1851
|
}),
|
|
1860
|
-
|
|
1852
|
+
Sn,
|
|
1861
1853
|
i(ae, {
|
|
1862
1854
|
class: "py-0",
|
|
1863
1855
|
density: "compact",
|
|
@@ -1868,7 +1860,7 @@ const Pe = q("settings", () => {
|
|
|
1868
1860
|
(u(), I(T, null, K(n, (p, m) => i(d, {
|
|
1869
1861
|
key: m,
|
|
1870
1862
|
class: "mb-0",
|
|
1871
|
-
"prepend-icon": `svg:${t(
|
|
1863
|
+
"prepend-icon": `svg:${t(no)}`
|
|
1872
1864
|
}, {
|
|
1873
1865
|
prepend: r(() => [
|
|
1874
1866
|
i(O, {
|
|
@@ -1897,12 +1889,12 @@ const Pe = q("settings", () => {
|
|
|
1897
1889
|
},
|
|
1898
1890
|
emits: ["update:modelValue"],
|
|
1899
1891
|
setup(c) {
|
|
1900
|
-
const e = A(!1), n = pe(c, "modelValue"), o =
|
|
1901
|
-
return
|
|
1892
|
+
const e = A(!1), n = pe(c, "modelValue"), o = j();
|
|
1893
|
+
return z(e, async (s) => {
|
|
1902
1894
|
s && o.subscriptionInfo();
|
|
1903
|
-
}),
|
|
1895
|
+
}), z(() => o.interval, (s) => {
|
|
1904
1896
|
n.value = s;
|
|
1905
|
-
}, { immediate: !0 }), (s, a) => (u(), v(
|
|
1897
|
+
}, { immediate: !0 }), (s, a) => (u(), v(ft, {
|
|
1906
1898
|
modelValue: n.value,
|
|
1907
1899
|
"onUpdate:modelValue": a[0] || (a[0] = (l) => n.value = l),
|
|
1908
1900
|
mandatory: ""
|
|
@@ -1993,27 +1985,27 @@ const Pe = q("settings", () => {
|
|
|
1993
1985
|
function e(m) {
|
|
1994
1986
|
return new Promise((f) => setTimeout(f, m));
|
|
1995
1987
|
}
|
|
1996
|
-
const n = pe(c, "modelValue"), o =
|
|
1997
|
-
|
|
1988
|
+
const n = pe(c, "modelValue"), o = j(), s = Le(), a = A(o.interval), l = A(o.hasBilling ? "status" : "subscribe"), d = A(!1);
|
|
1989
|
+
z(a, (m) => {
|
|
1998
1990
|
!o.isSubscriber || !o.interval || (d.value = m !== o.interval);
|
|
1999
|
-
}),
|
|
1991
|
+
}), z(n, async (m) => {
|
|
2000
1992
|
if (!m || !o.isSubscriber) {
|
|
2001
1993
|
m || o.resetQuery();
|
|
2002
1994
|
return;
|
|
2003
1995
|
}
|
|
2004
1996
|
o.subscriptionInfo();
|
|
2005
|
-
}),
|
|
1997
|
+
}), z(s, async () => {
|
|
2006
1998
|
!o.sessionId && !["subscribe", "status"].includes(s.value.one) || (l.value = o.sessionId || s.value.one === "status" ? "status" : "subscribe", o.isOpen = !0, await be(), n.value = !0);
|
|
2007
1999
|
}, { immediate: !0 });
|
|
2008
2000
|
async function p() {
|
|
2009
2001
|
await o.modify(a.value), await o.subscriptionInfo(), d.value = null, await e(3e3), l.value = "status", await e(300), d.value = !1;
|
|
2010
2002
|
}
|
|
2011
2003
|
return (m, f) => {
|
|
2012
|
-
const g = _e, V = An, y = In, _ = $n, h =
|
|
2013
|
-
return u(), v(
|
|
2004
|
+
const g = _e, V = An, y = In, _ = $n, h = pn, b = Ce, M = Se;
|
|
2005
|
+
return u(), v(M, {
|
|
2014
2006
|
modelValue: n.value,
|
|
2015
2007
|
"onUpdate:modelValue": f[4] || (f[4] = (D) => n.value = D),
|
|
2016
|
-
"prepend-icon": `svg:${t(
|
|
2008
|
+
"prepend-icon": `svg:${t(so)}`,
|
|
2017
2009
|
title: "Subscriptions"
|
|
2018
2010
|
}, R({
|
|
2019
2011
|
default: r(() => [
|
|
@@ -2028,7 +2020,7 @@ const Pe = q("settings", () => {
|
|
|
2028
2020
|
text: "The Vuetify One subscription is a great way to support the Vuetify team and get access to exclusive features and content.",
|
|
2029
2021
|
title: "Vuetify One"
|
|
2030
2022
|
}),
|
|
2031
|
-
i(
|
|
2023
|
+
i(_t, { "model-value": t(l) }, {
|
|
2032
2024
|
default: r(() => [
|
|
2033
2025
|
i(ge, { value: "subscribe" }, {
|
|
2034
2026
|
default: r(() => [
|
|
@@ -2075,7 +2067,7 @@ const Pe = q("settings", () => {
|
|
|
2075
2067
|
block: "",
|
|
2076
2068
|
color: "success",
|
|
2077
2069
|
loading: t(o).isLoading,
|
|
2078
|
-
"prepend-icon": `svg:${t(d) !== null ? t(
|
|
2070
|
+
"prepend-icon": `svg:${t(d) !== null ? t(ao) : t(De)}`,
|
|
2079
2071
|
readonly: t(d) === null,
|
|
2080
2072
|
size: "default",
|
|
2081
2073
|
text: t(d) !== null ? "Modify Subscription" : "Success",
|
|
@@ -2083,7 +2075,7 @@ const Pe = q("settings", () => {
|
|
|
2083
2075
|
}, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : t(o).one ? (u(), v(b, {
|
|
2084
2076
|
key: 2,
|
|
2085
2077
|
block: "",
|
|
2086
|
-
"prepend-icon": `svg:${t(
|
|
2078
|
+
"prepend-icon": `svg:${t(io)}`,
|
|
2087
2079
|
size: "default",
|
|
2088
2080
|
text: "Manage Subscription",
|
|
2089
2081
|
onClick: f[3] || (f[3] = (D) => l.value = "status")
|
|
@@ -2114,7 +2106,7 @@ const Pe = q("settings", () => {
|
|
|
2114
2106
|
return u(), v(a, {
|
|
2115
2107
|
active: t(e),
|
|
2116
2108
|
link: "",
|
|
2117
|
-
"prepend-icon": `svg:${t(
|
|
2109
|
+
"prepend-icon": `svg:${t(ro)}`,
|
|
2118
2110
|
title: "Subscriptions"
|
|
2119
2111
|
}, {
|
|
2120
2112
|
default: r(() => [
|
|
@@ -2130,7 +2122,7 @@ const Pe = q("settings", () => {
|
|
|
2130
2122
|
}), Tn = {
|
|
2131
2123
|
key: 0,
|
|
2132
2124
|
class: "text-success"
|
|
2133
|
-
},
|
|
2125
|
+
}, Pe = /* @__PURE__ */ $({
|
|
2134
2126
|
__name: "VoSponsorshipsTimelineItem",
|
|
2135
2127
|
props: {
|
|
2136
2128
|
title: {},
|
|
@@ -2142,14 +2134,14 @@ const Pe = q("settings", () => {
|
|
|
2142
2134
|
sponsorship: {}
|
|
2143
2135
|
},
|
|
2144
2136
|
setup(c) {
|
|
2145
|
-
const e = c, n =
|
|
2137
|
+
const e = c, n = je(), o = x(() => {
|
|
2146
2138
|
var a, l;
|
|
2147
2139
|
return `$${parseFloat(String((((a = e.sponsorship) == null ? void 0 : a.amount) ?? 0) / 100)).toFixed(2)} /${(l = e.sponsorship) == null ? void 0 : l.interval}`;
|
|
2148
2140
|
});
|
|
2149
2141
|
return (s, a) => {
|
|
2150
2142
|
var d, p;
|
|
2151
|
-
const l =
|
|
2152
|
-
return u(), v(
|
|
2143
|
+
const l = Ce;
|
|
2144
|
+
return u(), v(Oo, {
|
|
2153
2145
|
"dot-color": (d = s.sponsorship) != null && d.isActive ? "success" : "transparent",
|
|
2154
2146
|
icon: (p = s.sponsorship) != null && p.isActive ? `svg:${t(Be)}` : void 0,
|
|
2155
2147
|
size: "x-small",
|
|
@@ -2168,12 +2160,12 @@ const Pe = q("settings", () => {
|
|
|
2168
2160
|
return [
|
|
2169
2161
|
(m = s.sponsorship) != null && m.isActive ? (u(), I("div", Tn, [
|
|
2170
2162
|
i(O, {
|
|
2171
|
-
icon: `svg:${t(
|
|
2163
|
+
icon: `svg:${t(lo)}`,
|
|
2172
2164
|
size: "x-small"
|
|
2173
2165
|
}, null, 8, ["icon"]),
|
|
2174
|
-
N(" " +
|
|
2166
|
+
N(" " + S(t(o)), 1)
|
|
2175
2167
|
])) : (u(), I(T, { key: 1 }, [
|
|
2176
|
-
N(
|
|
2168
|
+
N(S(s.text), 1)
|
|
2177
2169
|
], 64))
|
|
2178
2170
|
];
|
|
2179
2171
|
}),
|
|
@@ -2210,7 +2202,7 @@ const Pe = q("settings", () => {
|
|
|
2210
2202
|
__name: "VoSponsorshipsTimelineItemPatreon",
|
|
2211
2203
|
setup(c) {
|
|
2212
2204
|
return (e, n) => {
|
|
2213
|
-
const o =
|
|
2205
|
+
const o = Pe;
|
|
2214
2206
|
return u(), v(o, {
|
|
2215
2207
|
disabled: "",
|
|
2216
2208
|
logo: "patreon",
|
|
@@ -2219,12 +2211,12 @@ const Pe = q("settings", () => {
|
|
|
2219
2211
|
});
|
|
2220
2212
|
};
|
|
2221
2213
|
}
|
|
2222
|
-
}),
|
|
2214
|
+
}), Mn = /* @__PURE__ */ $({
|
|
2223
2215
|
__name: "VoSponsorshipsTimelineItemDiscord",
|
|
2224
2216
|
setup(c) {
|
|
2225
|
-
const e =
|
|
2217
|
+
const e = j();
|
|
2226
2218
|
return (n, o) => {
|
|
2227
|
-
const s =
|
|
2219
|
+
const s = Pe;
|
|
2228
2220
|
return u(), v(s, {
|
|
2229
2221
|
href: "https://discord.com/servers/vuetify-340160225338195969",
|
|
2230
2222
|
logo: "discord",
|
|
@@ -2234,12 +2226,12 @@ const Pe = q("settings", () => {
|
|
|
2234
2226
|
}, null, 8, ["sponsorship"]);
|
|
2235
2227
|
};
|
|
2236
2228
|
}
|
|
2237
|
-
}),
|
|
2229
|
+
}), zn = /* @__PURE__ */ $({
|
|
2238
2230
|
__name: "VoSponsorshipsTimelineItemGithub",
|
|
2239
2231
|
setup(c) {
|
|
2240
|
-
const e =
|
|
2232
|
+
const e = j();
|
|
2241
2233
|
return (n, o) => {
|
|
2242
|
-
const s =
|
|
2234
|
+
const s = Pe;
|
|
2243
2235
|
return u(), v(s, {
|
|
2244
2236
|
href: "https://github.com/sponsors/johnleider",
|
|
2245
2237
|
logo: "github",
|
|
@@ -2249,12 +2241,12 @@ const Pe = q("settings", () => {
|
|
|
2249
2241
|
}, null, 8, ["sponsorship"]);
|
|
2250
2242
|
};
|
|
2251
2243
|
}
|
|
2252
|
-
}),
|
|
2244
|
+
}), jn = /* @__PURE__ */ $({
|
|
2253
2245
|
__name: "VoSponsorshipsTimelineItemOne",
|
|
2254
2246
|
setup(c) {
|
|
2255
|
-
const e =
|
|
2247
|
+
const e = j();
|
|
2256
2248
|
return (n, o) => {
|
|
2257
|
-
const s =
|
|
2249
|
+
const s = Pe;
|
|
2258
2250
|
return u(), v(s, {
|
|
2259
2251
|
logo: "one",
|
|
2260
2252
|
sponsorship: t(e).one,
|
|
@@ -2264,12 +2256,12 @@ const Pe = q("settings", () => {
|
|
|
2264
2256
|
}, null, 8, ["sponsorship"]);
|
|
2265
2257
|
};
|
|
2266
2258
|
}
|
|
2267
|
-
}),
|
|
2259
|
+
}), Pn = /* @__PURE__ */ $({
|
|
2268
2260
|
__name: "VoSponsorshipsTimeline",
|
|
2269
2261
|
setup(c) {
|
|
2270
2262
|
return (e, n) => {
|
|
2271
|
-
const o =
|
|
2272
|
-
return u(), v(
|
|
2263
|
+
const o = jn, s = zn, a = Mn, l = Fn;
|
|
2264
|
+
return u(), v(Uo, {
|
|
2273
2265
|
class: "justify-start ms-n7",
|
|
2274
2266
|
"line-inset": "12",
|
|
2275
2267
|
side: "end",
|
|
@@ -2294,15 +2286,15 @@ const Pe = q("settings", () => {
|
|
|
2294
2286
|
},
|
|
2295
2287
|
emits: ["update:modelValue"],
|
|
2296
2288
|
setup(c) {
|
|
2297
|
-
const e = pe(c, "modelValue"), n = Le(), o =
|
|
2298
|
-
return
|
|
2289
|
+
const e = pe(c, "modelValue"), n = Le(), o = j();
|
|
2290
|
+
return z(n, async () => {
|
|
2299
2291
|
n.value.one === "sponsorships" && (o.isOpen = !0, await be(), e.value = !0);
|
|
2300
2292
|
}, { immediate: !0 }), (s, a) => {
|
|
2301
|
-
const l = _e, d =
|
|
2293
|
+
const l = _e, d = Pn, p = Se;
|
|
2302
2294
|
return u(), v(p, {
|
|
2303
2295
|
modelValue: e.value,
|
|
2304
2296
|
"onUpdate:modelValue": a[0] || (a[0] = (m) => e.value = m),
|
|
2305
|
-
"prepend-icon": `svg:${t(
|
|
2297
|
+
"prepend-icon": `svg:${t(co)}`,
|
|
2306
2298
|
title: "Sponsorships"
|
|
2307
2299
|
}, {
|
|
2308
2300
|
default: r(() => [
|
|
@@ -2321,7 +2313,7 @@ const Pe = q("settings", () => {
|
|
|
2321
2313
|
]),
|
|
2322
2314
|
_: 1
|
|
2323
2315
|
}),
|
|
2324
|
-
i(
|
|
2316
|
+
i(Xe, {
|
|
2325
2317
|
class: "flex-1-0",
|
|
2326
2318
|
icon: "$vuetify",
|
|
2327
2319
|
"min-height": "auto",
|
|
@@ -2334,10 +2326,10 @@ const Pe = q("settings", () => {
|
|
|
2334
2326
|
]),
|
|
2335
2327
|
title: r(() => [
|
|
2336
2328
|
N(" One Status: "),
|
|
2337
|
-
k("span", Rn,
|
|
2329
|
+
k("span", Rn, S(t(o).isSubscriber ? "Active" : "Inactive"), 1)
|
|
2338
2330
|
]),
|
|
2339
2331
|
text: r(() => [
|
|
2340
|
-
k("div", En,
|
|
2332
|
+
k("div", En, S(t(o).isSubscriber ? "You are currently receiving benefits of Vuetify One." : "Login to activate Vuetify One benefits"), 1)
|
|
2341
2333
|
]),
|
|
2342
2334
|
_: 1
|
|
2343
2335
|
})
|
|
@@ -2362,7 +2354,7 @@ const Pe = q("settings", () => {
|
|
|
2362
2354
|
return u(), v(a, {
|
|
2363
2355
|
active: t(e),
|
|
2364
2356
|
link: "",
|
|
2365
|
-
"prepend-icon": `svg:${t(
|
|
2357
|
+
"prepend-icon": `svg:${t(uo)}`,
|
|
2366
2358
|
title: "Sponsorships"
|
|
2367
2359
|
}, {
|
|
2368
2360
|
default: r(() => [
|
|
@@ -2375,11 +2367,10 @@ const Pe = q("settings", () => {
|
|
|
2375
2367
|
}, 8, ["active", "prepend-icon"]);
|
|
2376
2368
|
};
|
|
2377
2369
|
}
|
|
2378
|
-
}),
|
|
2370
|
+
}), Zn = q("downloads", () => {
|
|
2379
2371
|
const c = oe(), e = U([]), n = A(!1);
|
|
2380
2372
|
async function o() {
|
|
2381
|
-
if (e.value.length)
|
|
2382
|
-
return e.value;
|
|
2373
|
+
if (e.value.length) return e.value;
|
|
2383
2374
|
n.value = !0;
|
|
2384
2375
|
try {
|
|
2385
2376
|
const s = await c.get("/one/sendowl/downloads");
|
|
@@ -2395,10 +2386,10 @@ const Pe = q("settings", () => {
|
|
|
2395
2386
|
isLoading: n,
|
|
2396
2387
|
index: o
|
|
2397
2388
|
};
|
|
2398
|
-
}),
|
|
2389
|
+
}), Gn = /* @__PURE__ */ $({
|
|
2399
2390
|
__name: "VoDownloadsTable",
|
|
2400
2391
|
setup(c) {
|
|
2401
|
-
const e = ke(), n =
|
|
2392
|
+
const e = ke(), n = Zn(), o = [
|
|
2402
2393
|
{
|
|
2403
2394
|
title: "Order ID",
|
|
2404
2395
|
value: "order_name"
|
|
@@ -2436,7 +2427,7 @@ const Pe = q("settings", () => {
|
|
|
2436
2427
|
rounded: "lg"
|
|
2437
2428
|
}, {
|
|
2438
2429
|
default: r(() => [
|
|
2439
|
-
i(
|
|
2430
|
+
i(vt, {
|
|
2440
2431
|
"fixed-header": "",
|
|
2441
2432
|
headers: o,
|
|
2442
2433
|
height: "640",
|
|
@@ -2444,22 +2435,22 @@ const Pe = q("settings", () => {
|
|
|
2444
2435
|
loading: t(n).isLoading
|
|
2445
2436
|
}, {
|
|
2446
2437
|
"item.order_name": r(({ item: d }) => [
|
|
2447
|
-
N(" #" +
|
|
2438
|
+
N(" #" + S(d.order_name), 1)
|
|
2448
2439
|
]),
|
|
2449
2440
|
"item.created_at": r(({ item: d }) => [
|
|
2450
|
-
N(
|
|
2441
|
+
N(S(t(e).format(d.created_at, "shortDate")), 1)
|
|
2451
2442
|
]),
|
|
2452
2443
|
"item.download_items": r(({ item: d }) => [
|
|
2453
2444
|
(u(!0), I(T, null, K(d.download_items, (p, m) => (u(), I("div", {
|
|
2454
2445
|
key: m,
|
|
2455
2446
|
class: "text-truncate"
|
|
2456
|
-
},
|
|
2447
|
+
}, S(p.name), 1))), 128))
|
|
2457
2448
|
]),
|
|
2458
2449
|
"item.download_url": r(({ item: d }) => [
|
|
2459
|
-
i(
|
|
2450
|
+
i(Z, {
|
|
2460
2451
|
color: "medium-emphasis",
|
|
2461
2452
|
href: d.download_url,
|
|
2462
|
-
icon: `svg:${t(
|
|
2453
|
+
icon: `svg:${t(po)}`,
|
|
2463
2454
|
size: "small",
|
|
2464
2455
|
target: "_blank",
|
|
2465
2456
|
variant: "text"
|
|
@@ -2483,18 +2474,18 @@ const Pe = q("settings", () => {
|
|
|
2483
2474
|
setup(c) {
|
|
2484
2475
|
const e = A(!1);
|
|
2485
2476
|
return (n, o) => {
|
|
2486
|
-
const s =
|
|
2477
|
+
const s = Gn, a = Se, l = Y;
|
|
2487
2478
|
return u(), v(l, {
|
|
2488
2479
|
active: t(e),
|
|
2489
2480
|
link: "",
|
|
2490
|
-
"prepend-icon": `svg:${t(
|
|
2481
|
+
"prepend-icon": `svg:${t(nt)}`,
|
|
2491
2482
|
title: "Downloads"
|
|
2492
2483
|
}, {
|
|
2493
2484
|
default: r(() => [
|
|
2494
2485
|
i(a, {
|
|
2495
2486
|
modelValue: t(e),
|
|
2496
2487
|
"onUpdate:modelValue": o[0] || (o[0] = (d) => se(e) ? e.value = d : null),
|
|
2497
|
-
"prepend-icon": `svg:${t(
|
|
2488
|
+
"prepend-icon": `svg:${t(nt)}`,
|
|
2498
2489
|
title: "Downloads"
|
|
2499
2490
|
}, {
|
|
2500
2491
|
default: r(() => [
|
|
@@ -2527,19 +2518,14 @@ const Pe = q("settings", () => {
|
|
|
2527
2518
|
}), Jn = /* @__PURE__ */ $({
|
|
2528
2519
|
__name: "VoStudioNavItem",
|
|
2529
2520
|
setup(c) {
|
|
2530
|
-
const e = A(!1)
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
["M2 4L6.87046 12.2799L9.26479 7.61064L2 4Z", 1]
|
|
2535
|
-
];
|
|
2536
|
-
return (o, s) => {
|
|
2537
|
-
const a = Y;
|
|
2538
|
-
return u(), v(a, {
|
|
2521
|
+
const e = A(!1);
|
|
2522
|
+
return (n, o) => {
|
|
2523
|
+
const s = Y;
|
|
2524
|
+
return u(), v(s, {
|
|
2539
2525
|
active: t(e),
|
|
2540
2526
|
href: "https://studio.vuetifyjs.com/",
|
|
2541
2527
|
link: "",
|
|
2542
|
-
"prepend-icon":
|
|
2528
|
+
"prepend-icon": "$vuetify-studio",
|
|
2543
2529
|
target: "_blank",
|
|
2544
2530
|
title: "Vuetify Studio"
|
|
2545
2531
|
}, {
|
|
@@ -2560,7 +2546,7 @@ const Pe = q("settings", () => {
|
|
|
2560
2546
|
}, 8, ["active"]);
|
|
2561
2547
|
};
|
|
2562
2548
|
}
|
|
2563
|
-
}),
|
|
2549
|
+
}), Ke = q("site", () => {
|
|
2564
2550
|
const c = U([]), e = U();
|
|
2565
2551
|
return {
|
|
2566
2552
|
id: c,
|
|
@@ -2578,7 +2564,7 @@ const Pe = q("settings", () => {
|
|
|
2578
2564
|
items: {}
|
|
2579
2565
|
},
|
|
2580
2566
|
setup(c) {
|
|
2581
|
-
const e = ke(), n = ve(), o = F(), s =
|
|
2567
|
+
const e = ke(), n = ve(), o = F(), s = Ke();
|
|
2582
2568
|
function a(d) {
|
|
2583
2569
|
return o.notifications.last.banner.includes(d);
|
|
2584
2570
|
}
|
|
@@ -2618,9 +2604,9 @@ const Pe = q("settings", () => {
|
|
|
2618
2604
|
]),
|
|
2619
2605
|
_: 2
|
|
2620
2606
|
}, 1032, ["color", "image", "title"]),
|
|
2621
|
-
i(
|
|
2607
|
+
i(Me, null, {
|
|
2622
2608
|
default: r(({ props: g, isHovering: V }) => [
|
|
2623
|
-
i(
|
|
2609
|
+
i(Je, E({ ref_for: !0 }, g, {
|
|
2624
2610
|
border: "",
|
|
2625
2611
|
class: "px-8 pt-2 pb-4 position-relative",
|
|
2626
2612
|
rounded: "b"
|
|
@@ -2634,9 +2620,9 @@ const Pe = q("settings", () => {
|
|
|
2634
2620
|
activator: r(({ props: y }) => [
|
|
2635
2621
|
i(Te, { "hide-on-leave": "" }, {
|
|
2636
2622
|
default: r(() => [
|
|
2637
|
-
Ve(i(
|
|
2623
|
+
Ve(i(Z, E({ ref_for: !0 }, y, {
|
|
2638
2624
|
class: "ms-auto float-right",
|
|
2639
|
-
icon: `svg:${a(m.slug) ? t(
|
|
2625
|
+
icon: `svg:${a(m.slug) ? t(ut) : t(ct)}`,
|
|
2640
2626
|
"mdi-email-variant": "",
|
|
2641
2627
|
size: "small",
|
|
2642
2628
|
variant: "text",
|
|
@@ -2649,11 +2635,11 @@ const Pe = q("settings", () => {
|
|
|
2649
2635
|
}, 1024)
|
|
2650
2636
|
]),
|
|
2651
2637
|
_: 2
|
|
2652
|
-
}, 1032, ["text"])) :
|
|
2653
|
-
k("div", ts,
|
|
2654
|
-
k("div", os,
|
|
2655
|
-
k("div", ns,
|
|
2656
|
-
i(X, E({
|
|
2638
|
+
}, 1032, ["text"])) : C("", !0),
|
|
2639
|
+
k("div", ts, S(m.metadata.text), 1),
|
|
2640
|
+
k("div", os, S(t(e).format(m.created_at, "fullDateWithWeekday")), 1),
|
|
2641
|
+
k("div", ns, S(m.metadata.subtext), 1),
|
|
2642
|
+
i(X, E({ ref_for: !0 }, {
|
|
2657
2643
|
href: m.metadata.link.startsWith("http") ? m.metadata.link : void 0,
|
|
2658
2644
|
target: m.metadata.link.startsWith("http") ? "_blank" : void 0,
|
|
2659
2645
|
to: m.metadata.link.startsWith("http") ? void 0 : m.metadata.link
|
|
@@ -2679,7 +2665,7 @@ const Pe = q("settings", () => {
|
|
|
2679
2665
|
]);
|
|
2680
2666
|
}), 128))
|
|
2681
2667
|
])) : (u(), I("div", Xn, [
|
|
2682
|
-
i(
|
|
2668
|
+
i(Xe, {
|
|
2683
2669
|
icon: "$vuetify",
|
|
2684
2670
|
size: "256"
|
|
2685
2671
|
}, {
|
|
@@ -2723,14 +2709,14 @@ const Pe = q("settings", () => {
|
|
|
2723
2709
|
}
|
|
2724
2710
|
return (p, m) => {
|
|
2725
2711
|
const f = Y;
|
|
2726
|
-
return u(), v(
|
|
2712
|
+
return u(), v(Me, null, {
|
|
2727
2713
|
default: r(({ isHovering: g, props: V }) => [
|
|
2728
2714
|
i(f, E(V, { class: "py-4 mb-0" }), {
|
|
2729
2715
|
prepend: r(() => [
|
|
2730
|
-
k("div", as,
|
|
2716
|
+
k("div", as, S(p.notification.metadata.emoji), 1)
|
|
2731
2717
|
]),
|
|
2732
2718
|
append: r(() => [
|
|
2733
|
-
i(
|
|
2719
|
+
i(Bo, {
|
|
2734
2720
|
class: "mt-n3",
|
|
2735
2721
|
width: "56"
|
|
2736
2722
|
}, {
|
|
@@ -2742,9 +2728,9 @@ const Pe = q("settings", () => {
|
|
|
2742
2728
|
activator: r(({ props: y }) => [
|
|
2743
2729
|
i(Te, { "hide-on-leave": "" }, {
|
|
2744
2730
|
default: r(() => [
|
|
2745
|
-
Ve(i(
|
|
2731
|
+
Ve(i(Z, E(y, {
|
|
2746
2732
|
class: "ms-auto",
|
|
2747
|
-
icon: `svg:${l(p.notification.slug) ? t(
|
|
2733
|
+
icon: `svg:${l(p.notification.slug) ? t(ut) : t(ct)}`,
|
|
2748
2734
|
"mdi-email-variant": "",
|
|
2749
2735
|
size: "small",
|
|
2750
2736
|
variant: "text",
|
|
@@ -2763,14 +2749,14 @@ const Pe = q("settings", () => {
|
|
|
2763
2749
|
}, 1024)
|
|
2764
2750
|
]),
|
|
2765
2751
|
default: r(() => [
|
|
2766
|
-
i(
|
|
2752
|
+
i(dt, { class: "text-wrap text-h6 mb-1" }, {
|
|
2767
2753
|
default: r(() => [
|
|
2768
|
-
k("div", is,
|
|
2754
|
+
k("div", is, S(p.notification.title), 1)
|
|
2769
2755
|
]),
|
|
2770
2756
|
_: 1
|
|
2771
2757
|
}),
|
|
2772
|
-
k("div", rs,
|
|
2773
|
-
k("div", ls,
|
|
2758
|
+
k("div", rs, S(t(o).format(p.notification.created_at, "fullDateWithWeekday")), 1),
|
|
2759
|
+
k("div", ls, S(p.notification.metadata.text), 1),
|
|
2774
2760
|
i(X, E({
|
|
2775
2761
|
"append-icon": `svg:${t(Ne)}`
|
|
2776
2762
|
}, t(a), {
|
|
@@ -2813,10 +2799,10 @@ const Pe = q("settings", () => {
|
|
|
2813
2799
|
e.items.length ? (u(!0), I(T, { key: 1 }, K(e.items, (s, a) => (u(), I(T, {
|
|
2814
2800
|
key: s.slug
|
|
2815
2801
|
}, [
|
|
2816
|
-
a !== 0 ? (u(), v(Q, { key: 0 })) :
|
|
2802
|
+
a !== 0 ? (u(), v(Q, { key: 0 })) : C("", !0),
|
|
2817
2803
|
i(o, { notification: s }, null, 8, ["notification"])
|
|
2818
2804
|
], 64))), 128)) : (u(), I("div", us, [
|
|
2819
|
-
i(
|
|
2805
|
+
i(Xe, {
|
|
2820
2806
|
icon: "$vuetify",
|
|
2821
2807
|
size: "256"
|
|
2822
2808
|
}, {
|
|
@@ -2835,19 +2821,17 @@ const Pe = q("settings", () => {
|
|
|
2835
2821
|
};
|
|
2836
2822
|
}
|
|
2837
2823
|
}), He = q("banners", () => {
|
|
2838
|
-
const c = oe(), e =
|
|
2839
|
-
if (a.value)
|
|
2840
|
-
|
|
2841
|
-
if (p.value)
|
|
2842
|
-
return p.value;
|
|
2824
|
+
const c = oe(), e = Ke(), n = F(), o = U([]), s = U([]), a = U(), l = A(!1), d = x(() => {
|
|
2825
|
+
if (a.value) return a.value;
|
|
2826
|
+
if (p.value) return p.value;
|
|
2843
2827
|
if (n.notifications.banners)
|
|
2844
2828
|
return o.value.find(({
|
|
2845
2829
|
slug: h,
|
|
2846
2830
|
metadata: {
|
|
2847
2831
|
site: b,
|
|
2848
|
-
active:
|
|
2832
|
+
active: M
|
|
2849
2833
|
}
|
|
2850
|
-
}) => !
|
|
2834
|
+
}) => !M || n.notifications.last.banner.includes(h) ? !1 : b.includes("dev") && !1 || b.includes("*") ? !0 : b.some((D) => e.id.includes(D)));
|
|
2851
2835
|
}), p = x(() => o.value.find(({
|
|
2852
2836
|
metadata: {
|
|
2853
2837
|
site: h,
|
|
@@ -2891,11 +2875,11 @@ const Pe = q("settings", () => {
|
|
|
2891
2875
|
async function V(h, b) {
|
|
2892
2876
|
try {
|
|
2893
2877
|
l.value = !0;
|
|
2894
|
-
const
|
|
2878
|
+
const M = await c.form(
|
|
2895
2879
|
`/one/admin/banners/${h}`,
|
|
2896
2880
|
b
|
|
2897
2881
|
);
|
|
2898
|
-
return a.value =
|
|
2882
|
+
return a.value = M.banner, M.banner;
|
|
2899
2883
|
} catch {
|
|
2900
2884
|
} finally {
|
|
2901
2885
|
l.value = !1;
|
|
@@ -2936,25 +2920,25 @@ const Pe = q("settings", () => {
|
|
|
2936
2920
|
},
|
|
2937
2921
|
emits: ["update:modelValue"],
|
|
2938
2922
|
setup(c) {
|
|
2939
|
-
const e = ve(), n = Le(), o = He(), s =
|
|
2940
|
-
return
|
|
2923
|
+
const e = ve(), n = Le(), o = He(), s = ze(), a = j(), l = F(), d = A(["read"]), p = pe(c, "modelValue");
|
|
2924
|
+
return z(n, async () => {
|
|
2941
2925
|
if (n.value.one !== "notifications") {
|
|
2942
2926
|
p.value && (p.value = !1);
|
|
2943
2927
|
return;
|
|
2944
2928
|
}
|
|
2945
2929
|
a.isOpen = !0, await be(), p.value = !0;
|
|
2946
2930
|
}, { immediate: !0 }), (m, f) => {
|
|
2947
|
-
const g = Y, V = ps, y = ss, _ =
|
|
2931
|
+
const g = Y, V = ps, y = ss, _ = Se;
|
|
2948
2932
|
return u(), v(_, {
|
|
2949
2933
|
modelValue: p.value,
|
|
2950
2934
|
"onUpdate:modelValue": f[2] || (f[2] = (h) => p.value = h),
|
|
2951
|
-
"prepend-icon": `svg:${t(
|
|
2935
|
+
"prepend-icon": `svg:${t(mo)}`,
|
|
2952
2936
|
title: "Notifications"
|
|
2953
2937
|
}, {
|
|
2954
2938
|
default: r(() => [
|
|
2955
2939
|
i(we, null, {
|
|
2956
2940
|
default: r(() => [
|
|
2957
|
-
i(
|
|
2941
|
+
i(No, {
|
|
2958
2942
|
location: t(e).mobile.value ? "top" : "start",
|
|
2959
2943
|
permanent: "",
|
|
2960
2944
|
width: t(e).mobile.value ? 128 : 168
|
|
@@ -2970,45 +2954,45 @@ const Pe = q("settings", () => {
|
|
|
2970
2954
|
}, {
|
|
2971
2955
|
default: r(() => [
|
|
2972
2956
|
i(g, {
|
|
2973
|
-
"prepend-icon": `svg:${t(
|
|
2957
|
+
"prepend-icon": `svg:${t(fo)}`,
|
|
2974
2958
|
title: "Unread",
|
|
2975
2959
|
value: "read"
|
|
2976
2960
|
}, R({ _: 2 }, [
|
|
2977
2961
|
t(s).unread.length > 0 ? {
|
|
2978
2962
|
name: "append",
|
|
2979
2963
|
fn: r(() => [
|
|
2980
|
-
k("span", ms,
|
|
2964
|
+
k("span", ms, S(t(s).unread.length), 1)
|
|
2981
2965
|
]),
|
|
2982
2966
|
key: "0"
|
|
2983
2967
|
} : void 0
|
|
2984
2968
|
]), 1032, ["prepend-icon"]),
|
|
2985
2969
|
i(g, {
|
|
2986
|
-
"prepend-icon": `svg:${t(
|
|
2970
|
+
"prepend-icon": `svg:${t(vo)}`,
|
|
2987
2971
|
title: "Read",
|
|
2988
2972
|
value: "unread"
|
|
2989
2973
|
}, R({ _: 2 }, [
|
|
2990
2974
|
t(s).read.length > 0 ? {
|
|
2991
2975
|
name: "append",
|
|
2992
2976
|
fn: r(() => [
|
|
2993
|
-
k("span", fs,
|
|
2977
|
+
k("span", fs, S(t(s).read.length), 1)
|
|
2994
2978
|
]),
|
|
2995
2979
|
key: "0"
|
|
2996
2980
|
} : void 0
|
|
2997
2981
|
]), 1032, ["prepend-icon"]),
|
|
2998
2982
|
t(o).all.length > 0 && t(l).notifications.banners ? (u(), v(g, {
|
|
2999
2983
|
key: 0,
|
|
3000
|
-
"prepend-icon": `svg:${t(
|
|
2984
|
+
"prepend-icon": `svg:${t(_o)}`,
|
|
3001
2985
|
title: "Banners",
|
|
3002
2986
|
value: "banners"
|
|
3003
2987
|
}, {
|
|
3004
2988
|
append: r(() => [
|
|
3005
|
-
i(
|
|
2989
|
+
i(Ye, {
|
|
3006
2990
|
dot: "",
|
|
3007
2991
|
"offset-y": "-3"
|
|
3008
2992
|
})
|
|
3009
2993
|
]),
|
|
3010
2994
|
_: 1
|
|
3011
|
-
}, 8, ["prepend-icon"])) :
|
|
2995
|
+
}, 8, ["prepend-icon"])) : C("", !0)
|
|
3012
2996
|
]),
|
|
3013
2997
|
_: 1
|
|
3014
2998
|
}, 8, ["selected"])
|
|
@@ -3017,7 +3001,7 @@ const Pe = q("settings", () => {
|
|
|
3017
3001
|
}, 8, ["location", "width"]),
|
|
3018
3002
|
i(xe, { scrollable: "" }, {
|
|
3019
3003
|
default: r(() => [
|
|
3020
|
-
i(
|
|
3004
|
+
i(_t, {
|
|
3021
3005
|
modelValue: t(d),
|
|
3022
3006
|
"onUpdate:modelValue": f[1] || (f[1] = (h) => se(d) ? d.value = h : null)
|
|
3023
3007
|
}, {
|
|
@@ -3063,8 +3047,8 @@ const Pe = q("settings", () => {
|
|
|
3063
3047
|
}), _s = /* @__PURE__ */ $({
|
|
3064
3048
|
__name: "VoNotificationsBadge",
|
|
3065
3049
|
setup(c) {
|
|
3066
|
-
const e =
|
|
3067
|
-
return (o, s) => (u(), v(
|
|
3050
|
+
const e = ze(), n = F();
|
|
3051
|
+
return (o, s) => (u(), v(Ye, {
|
|
3068
3052
|
color: "error",
|
|
3069
3053
|
content: t(e).unread.length,
|
|
3070
3054
|
"model-value": t(n).notifications.show && t(e).unread.length > 0
|
|
@@ -3078,7 +3062,7 @@ const Pe = q("settings", () => {
|
|
|
3078
3062
|
}), hs = /* @__PURE__ */ $({
|
|
3079
3063
|
__name: "VoNotificationsNavItem",
|
|
3080
3064
|
setup(c) {
|
|
3081
|
-
const e = He(), n = F(), o =
|
|
3065
|
+
const e = He(), n = F(), o = ze(), s = A(!1);
|
|
3082
3066
|
return Oe(async () => {
|
|
3083
3067
|
o.index(), e.index();
|
|
3084
3068
|
}), (a, l) => {
|
|
@@ -3087,7 +3071,7 @@ const Pe = q("settings", () => {
|
|
|
3087
3071
|
key: 0,
|
|
3088
3072
|
active: t(s),
|
|
3089
3073
|
link: "",
|
|
3090
|
-
"prepend-icon": `svg:${t(
|
|
3074
|
+
"prepend-icon": `svg:${t(ho)}`,
|
|
3091
3075
|
title: "Notifications"
|
|
3092
3076
|
}, R({
|
|
3093
3077
|
default: r(() => [
|
|
@@ -3110,13 +3094,13 @@ const Pe = q("settings", () => {
|
|
|
3110
3094
|
]),
|
|
3111
3095
|
key: "0"
|
|
3112
3096
|
} : void 0
|
|
3113
|
-
]), 1032, ["active", "prepend-icon"])) :
|
|
3097
|
+
]), 1032, ["active", "prepend-icon"])) : C("", !0);
|
|
3114
3098
|
};
|
|
3115
3099
|
}
|
|
3116
3100
|
}), gs = /* @__PURE__ */ $({
|
|
3117
3101
|
__name: "VoDashboardNavItem",
|
|
3118
3102
|
setup(c) {
|
|
3119
|
-
const e =
|
|
3103
|
+
const e = j();
|
|
3120
3104
|
function n() {
|
|
3121
3105
|
setTimeout(() => {
|
|
3122
3106
|
e.isOpen = !1;
|
|
@@ -3125,7 +3109,7 @@ const Pe = q("settings", () => {
|
|
|
3125
3109
|
return (o, s) => {
|
|
3126
3110
|
const a = Y;
|
|
3127
3111
|
return u(), v(a, {
|
|
3128
|
-
"prepend-icon": `svg:${t(
|
|
3112
|
+
"prepend-icon": `svg:${t(go)}`,
|
|
3129
3113
|
title: "Dashboard",
|
|
3130
3114
|
to: "/user/dashboard",
|
|
3131
3115
|
onClick: n
|
|
@@ -3135,29 +3119,29 @@ const Pe = q("settings", () => {
|
|
|
3135
3119
|
}), ys = /* @__PURE__ */ $({
|
|
3136
3120
|
__name: "VoUserList",
|
|
3137
3121
|
setup(c) {
|
|
3138
|
-
const e =
|
|
3122
|
+
const e = P(), n = j();
|
|
3139
3123
|
return (o, s) => {
|
|
3140
|
-
const a = gs, l = hs, d = Jn, p = Yn, m = qn, f = Nn, g =
|
|
3124
|
+
const a = gs, l = hs, d = Jn, p = Yn, m = qn, f = Nn, g = un, V = tn;
|
|
3141
3125
|
return u(), v(ae, {
|
|
3142
3126
|
density: "compact",
|
|
3143
3127
|
nav: "",
|
|
3144
3128
|
slim: ""
|
|
3145
3129
|
}, {
|
|
3146
3130
|
default: r(() => [
|
|
3147
|
-
|
|
3131
|
+
t(e).user ? (u(), v(a, { key: 0 })) : C("", !0),
|
|
3148
3132
|
i(l),
|
|
3149
3133
|
i(d),
|
|
3150
|
-
t(n).shopify ? (u(), v(p, { key:
|
|
3134
|
+
t(n).shopify ? (u(), v(p, { key: 1 })) : C("", !0),
|
|
3151
3135
|
i(m),
|
|
3152
|
-
t(e).user ? (u(), v(f, { key:
|
|
3136
|
+
t(e).user ? (u(), v(f, { key: 2 })) : C("", !0),
|
|
3153
3137
|
i(g),
|
|
3154
|
-
t(e).user ? (u(), v(V, { key:
|
|
3138
|
+
t(e).user ? (u(), v(V, { key: 3 })) : C("", !0)
|
|
3155
3139
|
]),
|
|
3156
3140
|
_: 1
|
|
3157
3141
|
});
|
|
3158
3142
|
};
|
|
3159
3143
|
}
|
|
3160
|
-
}),
|
|
3144
|
+
}), xt = /* @__PURE__ */ $({
|
|
3161
3145
|
__name: "VoIconIssues",
|
|
3162
3146
|
setup(c) {
|
|
3163
3147
|
const e = [
|
|
@@ -3167,28 +3151,22 @@ const Pe = q("settings", () => {
|
|
|
3167
3151
|
];
|
|
3168
3152
|
return (n, o) => (u(), v(O, { icon: e }));
|
|
3169
3153
|
}
|
|
3170
|
-
}),
|
|
3154
|
+
}), Ct = /* @__PURE__ */ $({
|
|
3171
3155
|
__name: "VoIconBin",
|
|
3172
3156
|
setup(c) {
|
|
3173
|
-
|
|
3174
|
-
["M18.9112 5.03206L3.68692 8.88953C3.68692 8.88953 2.00252 6.21666 2 6.21428C2.02517 6.20794 18.6159 2.00476 18.6394 2L18.8944 4.8489L18.9095 5.01937L18.9112 5.03285V5.03206Z", 0.6],
|
|
3175
|
-
["M19.4556 10.9994C19.4556 10.9994 7.06082 14.1417 7.05915 14.1386L5.3739 11.4641C5.41836 11.453 18.4582 8.14817 18.4993 8.13945L19.1838 7.9658L19.4556 10.9994Z", 1],
|
|
3176
|
-
"M20 17.0652C19.9916 17.0675 14.6826 18.4123 14.6742 18.4147C14.6994 17.3633 14.3353 16.3579 13.712 15.5563L19.7274 14.0331L20 17.066V17.0652Z",
|
|
3177
|
-
["M12.353 16.0368C9.07567 12.843 3.90082 17.0493 6.66818 20.5975C9.94136 24.3844 15.773 19.6984 12.353 16.0368ZM11.1267 19.4129C10.2224 20.7664 7.79139 20.1099 7.82746 18.4686C8.04976 15.4897 12.7112 16.8495 11.1267 19.4129Z", 0.6]
|
|
3178
|
-
];
|
|
3179
|
-
return (n, o) => (u(), v(O, { icon: e }));
|
|
3157
|
+
return (e, n) => (u(), v(O, { icon: "$vuetify-bin" }));
|
|
3180
3158
|
}
|
|
3181
3159
|
}), bs = { key: 0 }, Vs = { class: "d-flex align-center justify-center pa-1 ga-2" }, ks = /* @__PURE__ */ $({
|
|
3182
3160
|
__name: "VoUserQuickActions",
|
|
3183
3161
|
setup(c) {
|
|
3184
3162
|
const e = F();
|
|
3185
3163
|
return (n, o) => {
|
|
3186
|
-
const s =
|
|
3164
|
+
const s = Ct, a = xt;
|
|
3187
3165
|
return u(), v(fe, null, {
|
|
3188
3166
|
default: r(() => [
|
|
3189
3167
|
t(e).quickbar ? (u(), I("div", bs, [
|
|
3190
3168
|
k("div", Vs, [
|
|
3191
|
-
i(
|
|
3169
|
+
i(Z, {
|
|
3192
3170
|
class: "text-caption",
|
|
3193
3171
|
color: t(e).colors.one,
|
|
3194
3172
|
density: "comfortable",
|
|
@@ -3207,7 +3185,7 @@ const Pe = q("settings", () => {
|
|
|
3207
3185
|
]),
|
|
3208
3186
|
_: 1
|
|
3209
3187
|
}, 8, ["color"]),
|
|
3210
|
-
i(
|
|
3188
|
+
i(Z, {
|
|
3211
3189
|
class: "text-caption",
|
|
3212
3190
|
color: t(e).colors.one,
|
|
3213
3191
|
density: "comfortable",
|
|
@@ -3226,7 +3204,7 @@ const Pe = q("settings", () => {
|
|
|
3226
3204
|
]),
|
|
3227
3205
|
_: 1
|
|
3228
3206
|
}, 8, ["color"]),
|
|
3229
|
-
i(
|
|
3207
|
+
i(Z, {
|
|
3230
3208
|
class: "text-caption",
|
|
3231
3209
|
color: t(e).colors.one,
|
|
3232
3210
|
density: "comfortable",
|
|
@@ -3246,16 +3224,16 @@ const Pe = q("settings", () => {
|
|
|
3246
3224
|
_: 1
|
|
3247
3225
|
}, 8, ["color"])
|
|
3248
3226
|
])
|
|
3249
|
-
])) :
|
|
3227
|
+
])) : C("", !0)
|
|
3250
3228
|
]),
|
|
3251
3229
|
_: 1
|
|
3252
3230
|
});
|
|
3253
3231
|
};
|
|
3254
3232
|
}
|
|
3255
|
-
}), $s = { class: "mb-2" }, ws = { key: 0 }, xs = { class: "d-flex ga-4 flex-wrap justify-center mb-4" },
|
|
3233
|
+
}), $s = { class: "mb-2" }, ws = { key: 0 }, xs = { class: "d-flex ga-4 flex-wrap justify-center mb-4" }, Cs = { class: "text-h6" }, Ss = /* @__PURE__ */ $({
|
|
3256
3234
|
__name: "VoUserAvatar",
|
|
3257
3235
|
setup(c) {
|
|
3258
|
-
const e =
|
|
3236
|
+
const e = P(), n = j(), o = F(), s = A(!1), a = x(() => {
|
|
3259
3237
|
const p = [
|
|
3260
3238
|
"https://cdn.vuetifyjs.com/docs/images/avatars/dark.png",
|
|
3261
3239
|
"https://cdn.vuetifyjs.com/docs/images/avatars/blackguard.png",
|
|
@@ -3284,7 +3262,7 @@ const Pe = q("settings", () => {
|
|
|
3284
3262
|
var f;
|
|
3285
3263
|
return u(), I("div", null, [
|
|
3286
3264
|
Ve((u(), v(ee, {
|
|
3287
|
-
class:
|
|
3265
|
+
class: Bt([
|
|
3288
3266
|
"border-md border-opacity-100 border-surface-light",
|
|
3289
3267
|
{
|
|
3290
3268
|
"cursor-pointer": t(n).isSubscriber
|
|
@@ -3293,7 +3271,7 @@ const Pe = q("settings", () => {
|
|
|
3293
3271
|
color: "surface",
|
|
3294
3272
|
size: "72",
|
|
3295
3273
|
text: "Foobar",
|
|
3296
|
-
onClick:
|
|
3274
|
+
onClick: Ze(d, ["prevent", "stop"])
|
|
3297
3275
|
}, {
|
|
3298
3276
|
default: r(() => [
|
|
3299
3277
|
t(e).user && t(o).avatar ? (u(), v(te, {
|
|
@@ -3309,7 +3287,7 @@ const Pe = q("settings", () => {
|
|
|
3309
3287
|
]),
|
|
3310
3288
|
_: 1
|
|
3311
3289
|
}, 8, ["class"])), [
|
|
3312
|
-
[
|
|
3290
|
+
[To, t(n).isSubscriber]
|
|
3313
3291
|
]),
|
|
3314
3292
|
k("div", $s, [
|
|
3315
3293
|
i(fe, null, {
|
|
@@ -3322,7 +3300,7 @@ const Pe = q("settings", () => {
|
|
|
3322
3300
|
}, {
|
|
3323
3301
|
default: r(() => [
|
|
3324
3302
|
k("div", xs, [
|
|
3325
|
-
(u(!0), I(T, null, K(t(a), (g, V) => (u(), v(
|
|
3303
|
+
(u(!0), I(T, null, K(t(a), (g, V) => (u(), v(Z, {
|
|
3326
3304
|
key: V,
|
|
3327
3305
|
active: t(o).avatar === g,
|
|
3328
3306
|
icon: "",
|
|
@@ -3341,23 +3319,23 @@ const Pe = q("settings", () => {
|
|
|
3341
3319
|
]),
|
|
3342
3320
|
_: 1
|
|
3343
3321
|
})
|
|
3344
|
-
])) :
|
|
3322
|
+
])) : C("", !0)
|
|
3345
3323
|
]),
|
|
3346
3324
|
_: 1
|
|
3347
3325
|
})
|
|
3348
3326
|
]),
|
|
3349
|
-
k("div",
|
|
3327
|
+
k("div", Cs, S(((f = t(e).user) == null ? void 0 : f.name) ?? "Guest"), 1)
|
|
3350
3328
|
]);
|
|
3351
3329
|
};
|
|
3352
3330
|
}
|
|
3353
3331
|
}), Ls = /* @__PURE__ */ $({
|
|
3354
3332
|
__name: "VoUserBadges",
|
|
3355
3333
|
setup(c) {
|
|
3356
|
-
const e =
|
|
3334
|
+
const e = P(), n = j(), o = x(() => {
|
|
3357
3335
|
var s;
|
|
3358
3336
|
return n.github || n.discord || n.isSubscriber || ((s = e.user) == null ? void 0 : s.isAdmin);
|
|
3359
3337
|
});
|
|
3360
|
-
return (s, a) => t(o) ? (u(), v(
|
|
3338
|
+
return (s, a) => t(o) ? (u(), v(Je, {
|
|
3361
3339
|
key: 0,
|
|
3362
3340
|
class: "align-center position-absolute ms-2 d-flex ga-2 pa-2",
|
|
3363
3341
|
color: "rgba(0,0,0,.54)",
|
|
@@ -3379,7 +3357,7 @@ const Pe = q("settings", () => {
|
|
|
3379
3357
|
}, d, { size: "16" }), null, 16)
|
|
3380
3358
|
]),
|
|
3381
3359
|
_: 1
|
|
3382
|
-
})) :
|
|
3360
|
+
})) : C("", !0),
|
|
3383
3361
|
t(n).isSubscriber ? (u(), v(J, {
|
|
3384
3362
|
key: 1,
|
|
3385
3363
|
location: "bottom",
|
|
@@ -3388,11 +3366,11 @@ const Pe = q("settings", () => {
|
|
|
3388
3366
|
activator: r(({ props: d }) => [
|
|
3389
3367
|
i(O, E({
|
|
3390
3368
|
color: "amber-darken-2",
|
|
3391
|
-
icon: `svg:${t(
|
|
3369
|
+
icon: `svg:${t(yo)}`
|
|
3392
3370
|
}, d, { size: "16" }), null, 16, ["icon"])
|
|
3393
3371
|
]),
|
|
3394
3372
|
_: 1
|
|
3395
|
-
})) :
|
|
3373
|
+
})) : C("", !0),
|
|
3396
3374
|
t(n).github ? (u(), v(J, {
|
|
3397
3375
|
key: 2,
|
|
3398
3376
|
location: "bottom",
|
|
@@ -3401,11 +3379,11 @@ const Pe = q("settings", () => {
|
|
|
3401
3379
|
activator: r(({ props: d }) => [
|
|
3402
3380
|
i(O, E({
|
|
3403
3381
|
color: "white",
|
|
3404
|
-
icon:
|
|
3405
|
-
}, d, { size: "16" }), null, 16
|
|
3382
|
+
icon: "$github"
|
|
3383
|
+
}, d, { size: "16" }), null, 16)
|
|
3406
3384
|
]),
|
|
3407
3385
|
_: 1
|
|
3408
|
-
})) :
|
|
3386
|
+
})) : C("", !0),
|
|
3409
3387
|
t(n).discord ? (u(), v(J, {
|
|
3410
3388
|
key: 3,
|
|
3411
3389
|
location: "bottom",
|
|
@@ -3414,15 +3392,15 @@ const Pe = q("settings", () => {
|
|
|
3414
3392
|
activator: r(({ props: d }) => [
|
|
3415
3393
|
i(O, E({
|
|
3416
3394
|
color: "white",
|
|
3417
|
-
icon:
|
|
3418
|
-
}, d, { size: "16" }), null, 16
|
|
3395
|
+
icon: "$discord"
|
|
3396
|
+
}, d, { size: "16" }), null, 16)
|
|
3419
3397
|
]),
|
|
3420
3398
|
_: 1
|
|
3421
|
-
})) :
|
|
3399
|
+
})) : C("", !0)
|
|
3422
3400
|
];
|
|
3423
3401
|
}),
|
|
3424
3402
|
_: 1
|
|
3425
|
-
})) :
|
|
3403
|
+
})) : C("", !0);
|
|
3426
3404
|
}
|
|
3427
3405
|
}), Is = { class: "d-flex flex-grow-1 justify-end fill-height align-start" }, As = {
|
|
3428
3406
|
key: "reset",
|
|
@@ -3430,12 +3408,12 @@ const Pe = q("settings", () => {
|
|
|
3430
3408
|
}, Ds = /* @__PURE__ */ $({
|
|
3431
3409
|
__name: "VoUserColors",
|
|
3432
3410
|
setup(c) {
|
|
3433
|
-
const e =
|
|
3411
|
+
const e = P(), n = j(), o = F(), s = A(!1);
|
|
3434
3412
|
function a() {
|
|
3435
3413
|
o.colors.one = "surface-light";
|
|
3436
3414
|
}
|
|
3437
3415
|
return (l, d) => {
|
|
3438
|
-
const p = Ls, m =
|
|
3416
|
+
const p = Ls, m = Ce;
|
|
3439
3417
|
return u(), I(T, null, [
|
|
3440
3418
|
i(te, {
|
|
3441
3419
|
color: t(e).user ? t(o).colors.one : "surface-light",
|
|
@@ -3448,7 +3426,7 @@ const Pe = q("settings", () => {
|
|
|
3448
3426
|
default: r(() => [
|
|
3449
3427
|
k("div", Is, [
|
|
3450
3428
|
i(p),
|
|
3451
|
-
i(
|
|
3429
|
+
i(Io, null, {
|
|
3452
3430
|
default: r(() => [
|
|
3453
3431
|
Ve(k("div", As, [
|
|
3454
3432
|
i(m, {
|
|
@@ -3456,7 +3434,7 @@ const Pe = q("settings", () => {
|
|
|
3456
3434
|
color: "inherit",
|
|
3457
3435
|
density: "comfortable",
|
|
3458
3436
|
disabled: t(o).colors.one === "surface-light",
|
|
3459
|
-
icon: `svg:${t(
|
|
3437
|
+
icon: `svg:${t(bo)}`,
|
|
3460
3438
|
title: "Revert to Default",
|
|
3461
3439
|
variant: "text",
|
|
3462
3440
|
onClick: a
|
|
@@ -3489,14 +3467,14 @@ const Pe = q("settings", () => {
|
|
|
3489
3467
|
})
|
|
3490
3468
|
]),
|
|
3491
3469
|
_: 1
|
|
3492
|
-
}, 8, ["active", "icon", "variant"])) :
|
|
3470
|
+
}, 8, ["active", "icon", "variant"])) : C("", !0)
|
|
3493
3471
|
])
|
|
3494
3472
|
]),
|
|
3495
3473
|
_: 1
|
|
3496
3474
|
}, 8, ["color"]),
|
|
3497
3475
|
i(fe, null, {
|
|
3498
3476
|
default: r(() => [
|
|
3499
|
-
t(s) ? (u(), v(
|
|
3477
|
+
t(s) ? (u(), v(Fo, {
|
|
3500
3478
|
key: 0,
|
|
3501
3479
|
elevation: "0",
|
|
3502
3480
|
height: "250",
|
|
@@ -3509,7 +3487,7 @@ const Pe = q("settings", () => {
|
|
|
3509
3487
|
"swatches-max-height": "200",
|
|
3510
3488
|
width: "278",
|
|
3511
3489
|
"onUpdate:modelValue": d[1] || (d[1] = (f) => t(o).colors.one = f)
|
|
3512
|
-
}, null, 8, ["model-value"])) :
|
|
3490
|
+
}, null, 8, ["model-value"])) : C("", !0)
|
|
3513
3491
|
]),
|
|
3514
3492
|
_: 1
|
|
3515
3493
|
})
|
|
@@ -3519,13 +3497,13 @@ const Pe = q("settings", () => {
|
|
|
3519
3497
|
}), Os = { class: "text-center mt-n9 mb-4" }, Us = /* @__PURE__ */ $({
|
|
3520
3498
|
__name: "VoUserMenu",
|
|
3521
3499
|
setup(c) {
|
|
3522
|
-
const e = He(), n =
|
|
3523
|
-
return
|
|
3500
|
+
const e = He(), n = j(), o = U();
|
|
3501
|
+
return z(() => e.banner, async () => {
|
|
3524
3502
|
var s, a;
|
|
3525
3503
|
await new Promise((l) => setTimeout(l, 300)), n.isOpen && ((a = (s = o.value) == null ? void 0 : s.updateLocation) == null || a.call(s));
|
|
3526
3504
|
}, { flush: "pre" }), (s, a) => {
|
|
3527
|
-
const l = Ds, d =
|
|
3528
|
-
return u(), v(
|
|
3505
|
+
const l = Ds, d = Ss, p = ks, m = ys, f = $t;
|
|
3506
|
+
return u(), v(Mo, {
|
|
3529
3507
|
ref_key: "menu",
|
|
3530
3508
|
ref: o,
|
|
3531
3509
|
modelValue: t(n).isOpen,
|
|
@@ -3560,22 +3538,22 @@ const Pe = q("settings", () => {
|
|
|
3560
3538
|
}, 8, ["modelValue"]);
|
|
3561
3539
|
};
|
|
3562
3540
|
}
|
|
3563
|
-
}), Bs = { key: 0 },
|
|
3541
|
+
}), Bs = { key: 0 }, St = /* @__PURE__ */ $({
|
|
3564
3542
|
__name: "VoAuthBtn",
|
|
3565
3543
|
props: {
|
|
3566
3544
|
external: Boolean
|
|
3567
3545
|
},
|
|
3568
3546
|
setup(c) {
|
|
3569
|
-
const e =
|
|
3547
|
+
const e = P(), n = j(), o = F(), { lgAndUp: s } = ve(), a = x(() => n.isOpen || !e.user ? o.colors.one === "surface-light" ? "primary" : o.colors.one : "surface-light");
|
|
3570
3548
|
return (l, d) => {
|
|
3571
|
-
const p = Us, m =
|
|
3549
|
+
const p = Us, m = Ce, f = Ko, g = kt, V = Ho;
|
|
3572
3550
|
return u(), I(T, null, [
|
|
3573
3551
|
i(f, {
|
|
3574
3552
|
"offset-y": t(e).user ? 5 : 0
|
|
3575
3553
|
}, {
|
|
3576
3554
|
default: r(() => [
|
|
3577
3555
|
i(m, E({
|
|
3578
|
-
[`${t(s) ? "append-" : ""}icon`]: t(e).user ? void 0 : `svg:${t(
|
|
3556
|
+
[`${t(s) ? "append-" : ""}icon`]: t(e).user ? void 0 : `svg:${t(Vo)}`
|
|
3579
3557
|
}, {
|
|
3580
3558
|
active: "",
|
|
3581
3559
|
border: !!t(e).user,
|
|
@@ -3588,11 +3566,11 @@ const Pe = q("settings", () => {
|
|
|
3588
3566
|
variant: t(e).user ? t(n).isOpen ? "outlined" : "text" : "flat"
|
|
3589
3567
|
}), {
|
|
3590
3568
|
default: r(() => [
|
|
3591
|
-
t(e).user ?
|
|
3569
|
+
t(e).user ? C("", !0) : (u(), I("span", Bs, "Login")),
|
|
3592
3570
|
t(e).user ? (u(), v(ee, {
|
|
3593
3571
|
key: 1,
|
|
3594
3572
|
image: t(o).avatar || t(e).user.picture || ""
|
|
3595
|
-
}, null, 8, ["image"])) :
|
|
3573
|
+
}, null, 8, ["image"])) : C("", !0),
|
|
3596
3574
|
i(p)
|
|
3597
3575
|
]),
|
|
3598
3576
|
_: 1
|
|
@@ -3611,10 +3589,10 @@ const Pe = q("settings", () => {
|
|
|
3611
3589
|
logo: {}
|
|
3612
3590
|
},
|
|
3613
3591
|
setup(c) {
|
|
3614
|
-
const e = c, n = Fe(), o =
|
|
3592
|
+
const e = c, n = Fe(), o = je(), s = x(() => `https://cdn.vuetifyjs.com/docs/images/one/logos/${e.logo}-logo-${n.current.value.dark ? "dark" : "light"}.png`);
|
|
3615
3593
|
return (a, l) => {
|
|
3616
|
-
const d =
|
|
3617
|
-
return u(), v(
|
|
3594
|
+
const d = Nt("router-link"), p = St;
|
|
3595
|
+
return u(), v(ht, {
|
|
3618
3596
|
class: "border-b",
|
|
3619
3597
|
image: t(o).suit["app-bar"],
|
|
3620
3598
|
name: "vo-app-bar"
|
|
@@ -3641,7 +3619,7 @@ const Pe = q("settings", () => {
|
|
|
3641
3619
|
class: "mx-4 align-self-center h-100",
|
|
3642
3620
|
length: "20",
|
|
3643
3621
|
vertical: ""
|
|
3644
|
-
})) :
|
|
3622
|
+
})) : C("", !0),
|
|
3645
3623
|
i(p)
|
|
3646
3624
|
]),
|
|
3647
3625
|
default: r(() => [
|
|
@@ -3672,7 +3650,7 @@ const Pe = q("settings", () => {
|
|
|
3672
3650
|
demo: { type: Boolean }
|
|
3673
3651
|
},
|
|
3674
3652
|
setup(c) {
|
|
3675
|
-
const e = c, { mdAndUp: n } = ve(), o =
|
|
3653
|
+
const e = c, { mdAndUp: n } = ve(), o = Qe(), s = F(), a = He(), l = x(() => a.banner), d = x(() => {
|
|
3676
3654
|
var V, y;
|
|
3677
3655
|
return ((V = l.value) == null ? void 0 : V.metadata.height) || ((y = l.value) != null && y.metadata.subtext ? 88 : 48);
|
|
3678
3656
|
}), p = x(() => e.demo ? !0 : !l.value || !s.notifications.last.banner.includes(l.value.slug));
|
|
@@ -3681,12 +3659,10 @@ const Pe = q("settings", () => {
|
|
|
3681
3659
|
}
|
|
3682
3660
|
async function f(V) {
|
|
3683
3661
|
var h;
|
|
3684
|
-
if (!l.value)
|
|
3685
|
-
return;
|
|
3662
|
+
if (!l.value) return;
|
|
3686
3663
|
m(), await be();
|
|
3687
3664
|
const y = ((h = l.value) == null ? void 0 : h.metadata) ?? { link: "" };
|
|
3688
|
-
if (y.link.indexOf("?one=") === -1)
|
|
3689
|
-
return;
|
|
3665
|
+
if (y.link.indexOf("?one=") === -1) return;
|
|
3690
3666
|
V.preventDefault(), V.stopPropagation();
|
|
3691
3667
|
const _ = y.link.split("?one=")[1];
|
|
3692
3668
|
o.push({ query: { one: _ } });
|
|
@@ -3704,7 +3680,7 @@ const Pe = q("settings", () => {
|
|
|
3704
3680
|
});
|
|
3705
3681
|
return (V, y) => {
|
|
3706
3682
|
var _;
|
|
3707
|
-
return t(l) ? (u(), v(
|
|
3683
|
+
return t(l) ? (u(), v(ht, {
|
|
3708
3684
|
key: 0,
|
|
3709
3685
|
color: t(l).metadata.color,
|
|
3710
3686
|
flat: "",
|
|
@@ -3728,12 +3704,12 @@ const Pe = q("settings", () => {
|
|
|
3728
3704
|
image: t(l).metadata.images.logo.url,
|
|
3729
3705
|
size: "x-large",
|
|
3730
3706
|
tile: ""
|
|
3731
|
-
}, null, 8, ["image"])) :
|
|
3707
|
+
}, null, 8, ["image"])) : C("", !0)
|
|
3732
3708
|
]),
|
|
3733
3709
|
append: r(() => [
|
|
3734
|
-
t(n) && t(l).metadata.link && t(l).metadata.link_text ? (u(), v(
|
|
3710
|
+
t(n) && t(l).metadata.link && t(l).metadata.link_text ? (u(), v(Me, { key: 0 }, {
|
|
3735
3711
|
default: r(({ isHovering: h, props: b }) => [
|
|
3736
|
-
i(
|
|
3712
|
+
i(Z, E({
|
|
3737
3713
|
...b,
|
|
3738
3714
|
...t(g)
|
|
3739
3715
|
}, {
|
|
@@ -3746,14 +3722,14 @@ const Pe = q("settings", () => {
|
|
|
3746
3722
|
onClick: f
|
|
3747
3723
|
}), {
|
|
3748
3724
|
default: r(() => [
|
|
3749
|
-
N(
|
|
3725
|
+
N(S(t(l).metadata.link_text), 1)
|
|
3750
3726
|
]),
|
|
3751
3727
|
_: 2
|
|
3752
3728
|
}, 1040, ["append-icon", "color", "elevation", "title"])
|
|
3753
3729
|
]),
|
|
3754
3730
|
_: 1
|
|
3755
|
-
})) :
|
|
3756
|
-
t(l).metadata.closable ? (u(), v(
|
|
3731
|
+
})) : C("", !0),
|
|
3732
|
+
t(l).metadata.closable ? (u(), v(Z, {
|
|
3757
3733
|
key: 1,
|
|
3758
3734
|
class: "ms-6 me-2",
|
|
3759
3735
|
density: "comfortable",
|
|
@@ -3761,38 +3737,38 @@ const Pe = q("settings", () => {
|
|
|
3761
3737
|
icon: "$clear",
|
|
3762
3738
|
size: "small",
|
|
3763
3739
|
variant: "plain",
|
|
3764
|
-
onClick:
|
|
3765
|
-
}, null, 8, ["disabled"])) :
|
|
3740
|
+
onClick: Ze(m, ["prevent", "stop"])
|
|
3741
|
+
}, null, 8, ["disabled"])) : C("", !0)
|
|
3766
3742
|
]),
|
|
3767
3743
|
default: r(() => [
|
|
3768
|
-
t(l).metadata.text ? (u(), v(
|
|
3744
|
+
t(l).metadata.text ? (u(), v(dt, {
|
|
3769
3745
|
key: 0,
|
|
3770
3746
|
class: "text-subtitle-2 text-md-subtitle-1 font-weight-medium"
|
|
3771
3747
|
}, {
|
|
3772
3748
|
default: r(() => [
|
|
3773
|
-
N(
|
|
3749
|
+
N(S(t(l).metadata.text), 1)
|
|
3774
3750
|
]),
|
|
3775
3751
|
_: 1
|
|
3776
|
-
})) :
|
|
3777
|
-
t(l).metadata.subtext ? (u(), v(
|
|
3752
|
+
})) : C("", !0),
|
|
3753
|
+
t(l).metadata.subtext ? (u(), v(xo, { key: 1 }, {
|
|
3778
3754
|
default: r(() => [
|
|
3779
|
-
N(
|
|
3755
|
+
N(S(t(l).metadata.subtext), 1)
|
|
3780
3756
|
]),
|
|
3781
3757
|
_: 1
|
|
3782
|
-
})) :
|
|
3758
|
+
})) : C("", !0)
|
|
3783
3759
|
]),
|
|
3784
3760
|
_: 1
|
|
3785
3761
|
}, 16)
|
|
3786
3762
|
]),
|
|
3787
3763
|
_: 1
|
|
3788
|
-
}, 8, ["color", "height", "image", "location", "model-value"])) :
|
|
3764
|
+
}, 8, ["color", "height", "image", "location", "model-value"])) : C("", !0);
|
|
3789
3765
|
};
|
|
3790
3766
|
}
|
|
3791
3767
|
}), Fs = {
|
|
3792
3768
|
key: 0,
|
|
3793
3769
|
class: "text-uppercase position-absolute ms-auto font-weight-medium on-surface-light",
|
|
3794
3770
|
style: { right: "12px", bottom: "8px", "font-size": "10px" }
|
|
3795
|
-
},
|
|
3771
|
+
}, Lt = /* @__PURE__ */ $({
|
|
3796
3772
|
__name: "VoPromotionsCard",
|
|
3797
3773
|
props: {
|
|
3798
3774
|
caption: {},
|
|
@@ -3808,7 +3784,7 @@ const Pe = q("settings", () => {
|
|
|
3808
3784
|
target: "_blank"
|
|
3809
3785
|
}, R({
|
|
3810
3786
|
default: r(() => [
|
|
3811
|
-
i(
|
|
3787
|
+
i(zo, {
|
|
3812
3788
|
"min-height": e.minHeight,
|
|
3813
3789
|
width: "100%"
|
|
3814
3790
|
}, {
|
|
@@ -3817,7 +3793,7 @@ const Pe = q("settings", () => {
|
|
|
3817
3793
|
]),
|
|
3818
3794
|
_: 3
|
|
3819
3795
|
}, 8, ["min-height"]),
|
|
3820
|
-
e.caption ? (u(), I("div", Fs,
|
|
3796
|
+
e.caption ? (u(), I("div", Fs, S(e.caption), 1)) : C("", !0)
|
|
3821
3797
|
]),
|
|
3822
3798
|
_: 2
|
|
3823
3799
|
}, [
|
|
@@ -3837,9 +3813,9 @@ const Pe = q("settings", () => {
|
|
|
3837
3813
|
} : void 0
|
|
3838
3814
|
]), 1024));
|
|
3839
3815
|
}
|
|
3840
|
-
}),
|
|
3816
|
+
}), et = q("promotions", () => {
|
|
3841
3817
|
const c = oe(), e = U([]), n = U([]), o = U(), s = A(!1), a = A(!1), l = x(() => e.value.filter((_) => _.metadata.discoverable));
|
|
3842
|
-
|
|
3818
|
+
Ge(p);
|
|
3843
3819
|
function d(_) {
|
|
3844
3820
|
const h = _.filter((b) => b.metadata.active);
|
|
3845
3821
|
return h[Math.floor(Math.random() * h.length)];
|
|
@@ -3919,15 +3895,14 @@ const Pe = q("settings", () => {
|
|
|
3919
3895
|
store: f,
|
|
3920
3896
|
update: g
|
|
3921
3897
|
};
|
|
3922
|
-
}),
|
|
3898
|
+
}), Ms = /* @__PURE__ */ $({
|
|
3923
3899
|
__name: "VoPromotionsCardHighlight",
|
|
3924
3900
|
props: {
|
|
3925
3901
|
slug: {}
|
|
3926
3902
|
},
|
|
3927
3903
|
setup(c) {
|
|
3928
|
-
const e = c, n =
|
|
3929
|
-
if (o.record)
|
|
3930
|
-
return o.record;
|
|
3904
|
+
const e = c, n = P(), o = et(), s = Fe(), a = F(), l = x(() => {
|
|
3905
|
+
if (o.record) return o.record;
|
|
3931
3906
|
if (!(n.user && a.disableAds))
|
|
3932
3907
|
return e.slug ? o.all.find((m) => m.slug === e.slug) : o.random(o.all);
|
|
3933
3908
|
}), d = x(() => {
|
|
@@ -3941,7 +3916,7 @@ const Pe = q("settings", () => {
|
|
|
3941
3916
|
});
|
|
3942
3917
|
return (m, f) => {
|
|
3943
3918
|
var V, y, _;
|
|
3944
|
-
const g =
|
|
3919
|
+
const g = Lt;
|
|
3945
3920
|
return t(l) || !t(o).hasLoaded ? (u(), v(g, {
|
|
3946
3921
|
key: 0,
|
|
3947
3922
|
class: "mb-4",
|
|
@@ -3955,7 +3930,7 @@ const Pe = q("settings", () => {
|
|
|
3955
3930
|
width: "100%"
|
|
3956
3931
|
}, R({
|
|
3957
3932
|
default: r(() => [
|
|
3958
|
-
t(o).hasLoaded ?
|
|
3933
|
+
t(o).hasLoaded ? C("", !0) : (u(), v(ye, {
|
|
3959
3934
|
key: 0,
|
|
3960
3935
|
class: "flex-1-0 overflow-hidden",
|
|
3961
3936
|
color: "transparent",
|
|
@@ -3984,24 +3959,23 @@ const Pe = q("settings", () => {
|
|
|
3984
3959
|
]),
|
|
3985
3960
|
key: "1"
|
|
3986
3961
|
} : void 0
|
|
3987
|
-
]), 1032, ["color", "href", "image", "prepend-avatar", "title"])) :
|
|
3962
|
+
]), 1032, ["color", "href", "image", "prepend-avatar", "title"])) : C("", !0);
|
|
3988
3963
|
};
|
|
3989
3964
|
}
|
|
3990
|
-
}),
|
|
3965
|
+
}), zs = { class: "d-flex ga-4" }, js = { class: "d-flex align-start ga-4" }, Ps = { class: "text-caption on-surface-light" }, Hs = /* @__PURE__ */ $({
|
|
3991
3966
|
__name: "VoPromotionsCardVuetify",
|
|
3992
3967
|
props: {
|
|
3993
3968
|
slug: {}
|
|
3994
3969
|
},
|
|
3995
3970
|
setup(c) {
|
|
3996
|
-
const e = c, n =
|
|
3997
|
-
if (o.record)
|
|
3998
|
-
return o.record;
|
|
3971
|
+
const e = c, n = P(), o = et(), s = F(), a = x(() => {
|
|
3972
|
+
if (o.record) return o.record;
|
|
3999
3973
|
if (!(n.user && s.disableAds && !s.showHouseAds))
|
|
4000
|
-
return e.slug ? o.all.find((l) => l.slug === e.slug) : o.random(o.all);
|
|
3974
|
+
return e.slug ? o.all.find((l) => l.slug === e.slug) : o.random(s.disableAds && s.showHouseAds ? o.discoverable : o.all);
|
|
4001
3975
|
});
|
|
4002
3976
|
return (l, d) => {
|
|
4003
3977
|
var m, f;
|
|
4004
|
-
const p =
|
|
3978
|
+
const p = Lt;
|
|
4005
3979
|
return t(a) || !t(o).hasLoaded ? (u(), v(p, {
|
|
4006
3980
|
key: 0,
|
|
4007
3981
|
border: "",
|
|
@@ -4013,7 +3987,7 @@ const Pe = q("settings", () => {
|
|
|
4013
3987
|
default: r(() => {
|
|
4014
3988
|
var g, V, y;
|
|
4015
3989
|
return [
|
|
4016
|
-
k("div",
|
|
3990
|
+
k("div", zs, [
|
|
4017
3991
|
t(o).hasLoaded ? t(a) ? (u(), I(T, { key: 1 }, [
|
|
4018
3992
|
i(te, {
|
|
4019
3993
|
cover: "",
|
|
@@ -4024,10 +3998,10 @@ const Pe = q("settings", () => {
|
|
|
4024
3998
|
src: (V = (g = t(a).metadata) == null ? void 0 : g.images.default) == null ? void 0 : V.url,
|
|
4025
3999
|
width: "100%"
|
|
4026
4000
|
}, null, 8, ["src"]),
|
|
4027
|
-
k("div",
|
|
4028
|
-
k("div",
|
|
4001
|
+
k("div", js, [
|
|
4002
|
+
k("div", Ps, S((y = t(a).metadata) == null ? void 0 : y.text), 1)
|
|
4029
4003
|
])
|
|
4030
|
-
], 64)) :
|
|
4004
|
+
], 64)) : C("", !0) : (u(), I(T, { key: 0 }, [
|
|
4031
4005
|
i(ye, {
|
|
4032
4006
|
class: "flex-1-0 overflow-hidden",
|
|
4033
4007
|
color: "transparent",
|
|
@@ -4048,7 +4022,7 @@ const Pe = q("settings", () => {
|
|
|
4048
4022
|
];
|
|
4049
4023
|
}),
|
|
4050
4024
|
_: 1
|
|
4051
|
-
}, 8, ["href"])) :
|
|
4025
|
+
}, 8, ["href"])) : C("", !0);
|
|
4052
4026
|
};
|
|
4053
4027
|
}
|
|
4054
4028
|
}), Rs = {
|
|
@@ -4060,7 +4034,7 @@ const Pe = q("settings", () => {
|
|
|
4060
4034
|
image: {}
|
|
4061
4035
|
},
|
|
4062
4036
|
setup(c) {
|
|
4063
|
-
return (e, n) => (u(), v(
|
|
4037
|
+
return (e, n) => (u(), v(jo, {
|
|
4064
4038
|
class: "vo-footer",
|
|
4065
4039
|
height: "40"
|
|
4066
4040
|
}, {
|
|
@@ -4072,26 +4046,25 @@ const Pe = q("settings", () => {
|
|
|
4072
4046
|
position: "left",
|
|
4073
4047
|
src: e.image
|
|
4074
4048
|
}, null, 8, ["src"]))
|
|
4075
|
-
])) :
|
|
4049
|
+
])) : C("", !0),
|
|
4076
4050
|
B(e.$slots, "default", {}, void 0, !0)
|
|
4077
4051
|
]),
|
|
4078
4052
|
_: 3
|
|
4079
4053
|
}));
|
|
4080
4054
|
}
|
|
4081
|
-
}),
|
|
4055
|
+
}), It = (c, e) => {
|
|
4082
4056
|
const n = c.__vccOpts || c;
|
|
4083
4057
|
for (const [o, s] of e)
|
|
4084
4058
|
n[o] = s;
|
|
4085
4059
|
return n;
|
|
4086
|
-
},
|
|
4060
|
+
}, At = /* @__PURE__ */ It(Es, [["__scopeId", "data-v-3135ada5"]]), Ws = ["href"], qs = /* @__PURE__ */ $({
|
|
4087
4061
|
__name: "VoPromotionsFooter",
|
|
4088
4062
|
props: {
|
|
4089
4063
|
slug: {}
|
|
4090
4064
|
},
|
|
4091
4065
|
setup(c) {
|
|
4092
|
-
const e = c, n =
|
|
4093
|
-
if (o.record)
|
|
4094
|
-
return o.record;
|
|
4066
|
+
const e = c, n = P(), o = et(), s = F(), a = Fe(), l = x(() => {
|
|
4067
|
+
if (o.record) return o.record;
|
|
4095
4068
|
if (!(n.user && s.disableAds))
|
|
4096
4069
|
return e.slug ? o.all.find((m) => m.slug === e.slug) : o.random(o.all);
|
|
4097
4070
|
}), d = x(() => {
|
|
@@ -4103,11 +4076,11 @@ const Pe = q("settings", () => {
|
|
|
4103
4076
|
const m = a.current.value.dark ? "bgdark" : "bglight";
|
|
4104
4077
|
return (g = (f = l.value) == null ? void 0 : f.metadata.images[m]) == null ? void 0 : g.url;
|
|
4105
4078
|
});
|
|
4106
|
-
return
|
|
4079
|
+
return Ge(async () => {
|
|
4107
4080
|
e.slug && await o.show(e.slug);
|
|
4108
4081
|
}), (m, f) => {
|
|
4109
4082
|
var V;
|
|
4110
|
-
const g =
|
|
4083
|
+
const g = At;
|
|
4111
4084
|
return u(), v(g, {
|
|
4112
4085
|
color: ((V = t(l)) == null ? void 0 : V.metadata.color) ?? "surface",
|
|
4113
4086
|
image: t(p),
|
|
@@ -4129,7 +4102,7 @@ const Pe = q("settings", () => {
|
|
|
4129
4102
|
image: t(d),
|
|
4130
4103
|
size: "24"
|
|
4131
4104
|
}, null, 8, ["image"]),
|
|
4132
|
-
k("div", null,
|
|
4105
|
+
k("div", null, S((_ = t(l)) == null ? void 0 : _.metadata.text), 1),
|
|
4133
4106
|
(h = t(l)) != null && h.metadata.advertisement ? (u(), v(X, {
|
|
4134
4107
|
key: 0,
|
|
4135
4108
|
class: "ms-auto me-n4 align-self-end mb-n2 py-1 ps-3",
|
|
@@ -4137,7 +4110,7 @@ const Pe = q("settings", () => {
|
|
|
4137
4110
|
size: "x-small",
|
|
4138
4111
|
text: "SPONSORED",
|
|
4139
4112
|
variant: "flat"
|
|
4140
|
-
})) :
|
|
4113
|
+
})) : C("", !0)
|
|
4141
4114
|
], 8, Ws)
|
|
4142
4115
|
];
|
|
4143
4116
|
}),
|
|
@@ -4145,7 +4118,7 @@ const Pe = q("settings", () => {
|
|
|
4145
4118
|
}, 8, ["color", "image"]);
|
|
4146
4119
|
};
|
|
4147
4120
|
}
|
|
4148
|
-
}),
|
|
4121
|
+
}), Zs = ["id"], Gs = /* @__PURE__ */ $({
|
|
4149
4122
|
__name: "VoScript",
|
|
4150
4123
|
props: {
|
|
4151
4124
|
id: {
|
|
@@ -4164,28 +4137,28 @@ const Pe = q("settings", () => {
|
|
|
4164
4137
|
emits: ["script:error", "script:load"],
|
|
4165
4138
|
setup(c, { emit: e }) {
|
|
4166
4139
|
const n = c, o = e, s = U(), a = U();
|
|
4167
|
-
return
|
|
4140
|
+
return Ge(async () => {
|
|
4168
4141
|
const l = document.createElement("script"), d = () => o("script:error");
|
|
4169
4142
|
l.type = "text/javascript", l.id = n.scriptId, l.src = n.src, l.onload = () => o("script:load"), l.onerror = d, a.value = l;
|
|
4170
4143
|
}), Oe(() => {
|
|
4171
4144
|
var l;
|
|
4172
4145
|
a.value && ((l = s.value) == null || l.appendChild(a.value));
|
|
4173
|
-
}),
|
|
4146
|
+
}), Tt(() => {
|
|
4174
4147
|
var l;
|
|
4175
4148
|
a.value && ((l = s.value) == null || l.removeChild(a.value));
|
|
4176
4149
|
}), (l, d) => (u(), I("div", {
|
|
4177
4150
|
id: c.id,
|
|
4178
4151
|
ref_key: "rootEl",
|
|
4179
4152
|
ref: s
|
|
4180
|
-
}, null, 8,
|
|
4153
|
+
}, null, 8, Zs));
|
|
4181
4154
|
}
|
|
4182
|
-
}), Qs = (c) => (
|
|
4155
|
+
}), Qs = (c) => (Ft("data-v-d01d30e4"), c = c(), Mt(), c), Ys = ["href", "title"], Js = {
|
|
4183
4156
|
class: "text-caption text-disabled",
|
|
4184
4157
|
style: { position: "absolute", right: "16px" }
|
|
4185
4158
|
}, Xs = /* @__PURE__ */ Qs(() => /* @__PURE__ */ k("span", { class: "d-none d-sm-inline-block" }, "Vuetify, LLC", -1)), Ks = /* @__PURE__ */ $({
|
|
4186
4159
|
__name: "VoSocialFooter",
|
|
4187
4160
|
setup(c) {
|
|
4188
|
-
const e =
|
|
4161
|
+
const e = je(), n = [
|
|
4189
4162
|
{
|
|
4190
4163
|
title: "Vuetify Documentation",
|
|
4191
4164
|
icon: "$vuetify",
|
|
@@ -4193,32 +4166,32 @@ const Pe = q("settings", () => {
|
|
|
4193
4166
|
},
|
|
4194
4167
|
{
|
|
4195
4168
|
title: "Vuetify Support",
|
|
4196
|
-
icon: `svg:${
|
|
4169
|
+
icon: `svg:${ko}`,
|
|
4197
4170
|
href: "https://support.vuetifyjs.com/"
|
|
4198
4171
|
},
|
|
4199
4172
|
{
|
|
4200
4173
|
title: "Vuetify X",
|
|
4201
|
-
icon: "
|
|
4174
|
+
icon: "$x",
|
|
4202
4175
|
href: "https://x.com/vuetifyjs"
|
|
4203
4176
|
},
|
|
4204
4177
|
{
|
|
4205
4178
|
title: "Vuetify GitHub",
|
|
4206
|
-
icon:
|
|
4179
|
+
icon: "$github",
|
|
4207
4180
|
href: "https://github.com/vuetifyjs/vuetify"
|
|
4208
4181
|
},
|
|
4209
4182
|
{
|
|
4210
4183
|
title: "Vuetify Discord",
|
|
4211
|
-
icon:
|
|
4184
|
+
icon: "$discord",
|
|
4212
4185
|
href: "https://community.vuetifyjs.com/"
|
|
4213
4186
|
},
|
|
4214
4187
|
{
|
|
4215
4188
|
title: "Vuetify Reddit",
|
|
4216
|
-
icon:
|
|
4189
|
+
icon: "$reddit",
|
|
4217
4190
|
href: "https://reddit.com/r/vuetifyjs"
|
|
4218
4191
|
}
|
|
4219
4192
|
];
|
|
4220
4193
|
return (o, s) => {
|
|
4221
|
-
const a =
|
|
4194
|
+
const a = At;
|
|
4222
4195
|
return u(), v(a, {
|
|
4223
4196
|
class: "vo-footer",
|
|
4224
4197
|
height: "40",
|
|
@@ -4239,7 +4212,7 @@ const Pe = q("settings", () => {
|
|
|
4239
4212
|
}, null, 8, ["icon", "size"])
|
|
4240
4213
|
], 8, Ys)), 64)),
|
|
4241
4214
|
k("div", Js, [
|
|
4242
|
-
N(" © 2016-" +
|
|
4215
|
+
N(" © 2016-" + S((/* @__PURE__ */ new Date()).getFullYear()) + " ", 1),
|
|
4243
4216
|
Xs
|
|
4244
4217
|
])
|
|
4245
4218
|
]),
|
|
@@ -4255,8 +4228,8 @@ const Pe = q("settings", () => {
|
|
|
4255
4228
|
]), 1032, ["image"]);
|
|
4256
4229
|
};
|
|
4257
4230
|
}
|
|
4258
|
-
}), ea = /* @__PURE__ */
|
|
4259
|
-
const c = oe(), e =
|
|
4231
|
+
}), ea = /* @__PURE__ */ It(Ks, [["__scopeId", "data-v-d01d30e4"]]), ta = q("spots", () => {
|
|
4232
|
+
const c = oe(), e = Ke(), n = U([]), o = U([]), s = U(), a = A(!1), l = x(() => s.value ? s.value : n.value.find(({
|
|
4260
4233
|
metadata: {
|
|
4261
4234
|
site: y,
|
|
4262
4235
|
active: _
|
|
@@ -4354,12 +4327,33 @@ const Pe = q("settings", () => {
|
|
|
4354
4327
|
src: (s = t(e).spot.metadata.image) == null ? void 0 : s.url,
|
|
4355
4328
|
width: "225"
|
|
4356
4329
|
}, null, 8, ["color", "src"])
|
|
4357
|
-
], 8, oa)) :
|
|
4330
|
+
], 8, oa)) : C("", !0);
|
|
4358
4331
|
};
|
|
4359
4332
|
}
|
|
4360
|
-
}),
|
|
4361
|
-
|
|
4362
|
-
|
|
4333
|
+
}), Za = {
|
|
4334
|
+
discord: ["M22,24L16.75,19L17.38,21H4.5A2.5,2.5 0 0,1 2,18.5V3.5A2.5,2.5 0 0,1 4.5,1H19.5A2.5,2.5 0 0,1 22,3.5V24M12,6.8C9.32,6.8 7.44,7.95 7.44,7.95C8.47,7.03 10.27,6.5 10.27,6.5L10.1,6.33C8.41,6.36 6.88,7.53 6.88,7.53C5.16,11.12 5.27,14.22 5.27,14.22C6.67,16.03 8.75,15.9 8.75,15.9L9.46,15C8.21,14.73 7.42,13.62 7.42,13.62C7.42,13.62 9.3,14.9 12,14.9C14.7,14.9 16.58,13.62 16.58,13.62C16.58,13.62 15.79,14.73 14.54,15L15.25,15.9C15.25,15.9 17.33,16.03 18.73,14.22C18.73,14.22 18.84,11.12 17.12,7.53C17.12,7.53 15.59,6.36 13.9,6.33L13.73,6.5C13.73,6.5 15.53,7.03 16.56,7.95C16.56,7.95 14.68,6.8 12,6.8M9.93,10.59C10.58,10.59 11.11,11.16 11.1,11.86C11.1,12.55 10.58,13.13 9.93,13.13C9.29,13.13 8.77,12.55 8.77,11.86C8.77,11.16 9.28,10.59 9.93,10.59M14.1,10.59C14.75,10.59 15.27,11.16 15.27,11.86C15.27,12.55 14.75,13.13 14.1,13.13C13.46,13.13 12.94,12.55 12.94,11.86C12.94,11.16 13.45,10.59 14.1,10.59Z"],
|
|
4335
|
+
github: ["M12,2A10,10 0 0,0 2,12C2,16.42 4.87,20.17 8.84,21.5C9.34,21.58 9.5,21.27 9.5,21C9.5,20.77 9.5,20.14 9.5,19.31C6.73,19.91 6.14,17.97 6.14,17.97C5.68,16.81 5.03,16.5 5.03,16.5C4.12,15.88 5.1,15.9 5.1,15.9C6.1,15.97 6.63,16.93 6.63,16.93C7.5,18.45 8.97,18 9.54,17.76C9.63,17.11 9.89,16.67 10.17,16.42C7.95,16.17 5.62,15.31 5.62,11.5C5.62,10.39 6,9.5 6.65,8.79C6.55,8.54 6.2,7.5 6.75,6.15C6.75,6.15 7.59,5.88 9.5,7.17C10.29,6.95 11.15,6.84 12,6.84C12.85,6.84 13.71,6.95 14.5,7.17C16.41,5.88 17.25,6.15 17.25,6.15C17.8,7.5 17.45,8.54 17.35,8.79C18,9.5 18.38,10.39 18.38,11.5C18.38,15.32 16.04,16.16 13.81,16.41C14.17,16.72 14.5,17.33 14.5,18.26C14.5,19.6 14.5,20.68 14.5,21C14.5,21.27 14.66,21.59 15.17,21.5C19.14,20.16 22,16.42 22,12A10,10 0 0,0 12,2Z"],
|
|
4336
|
+
reddit: "M14.5 15.41C14.58 15.5 14.58 15.69 14.5 15.8C13.77 16.5 12.41 16.56 12 16.56C11.61 16.56 10.25 16.5 9.54 15.8C9.44 15.69 9.44 15.5 9.54 15.41C9.65 15.31 9.82 15.31 9.92 15.41C10.38 15.87 11.33 16 12 16C12.69 16 13.66 15.87 14.1 15.41C14.21 15.31 14.38 15.31 14.5 15.41M10.75 13.04C10.75 12.47 10.28 12 9.71 12C9.14 12 8.67 12.47 8.67 13.04C8.67 13.61 9.14 14.09 9.71 14.08C10.28 14.08 10.75 13.61 10.75 13.04M14.29 12C13.72 12 13.25 12.5 13.25 13.05S13.72 14.09 14.29 14.09C14.86 14.09 15.33 13.61 15.33 13.05C15.33 12.5 14.86 12 14.29 12M22 12C22 17.5 17.5 22 12 22S2 17.5 2 12C2 6.5 6.5 2 12 2S22 6.5 22 12M18.67 12C18.67 11.19 18 10.54 17.22 10.54C16.82 10.54 16.46 10.7 16.2 10.95C15.2 10.23 13.83 9.77 12.3 9.71L12.97 6.58L15.14 7.05C15.16 7.6 15.62 8.04 16.18 8.04C16.75 8.04 17.22 7.57 17.22 7C17.22 6.43 16.75 5.96 16.18 5.96C15.77 5.96 15.41 6.2 15.25 6.55L12.82 6.03C12.75 6 12.68 6.03 12.63 6.07C12.57 6.11 12.54 6.17 12.53 6.24L11.79 9.72C10.24 9.77 8.84 10.23 7.82 10.96C7.56 10.71 7.2 10.56 6.81 10.56C6 10.56 5.35 11.21 5.35 12C5.35 12.61 5.71 13.11 6.21 13.34C6.19 13.5 6.18 13.62 6.18 13.78C6.18 16 8.79 17.85 12 17.85C15.23 17.85 17.85 16.03 17.85 13.78C17.85 13.64 17.84 13.5 17.81 13.34C18.31 13.11 18.67 12.6 18.67 12Z",
|
|
4337
|
+
x: ["M2.04875 3.00002L9.77052 13.3248L1.99998 21.7192H3.74882L10.5519 14.3697L16.0486 21.7192H22L13.8437 10.8137L21.0765 3.00002H19.3277L13.0624 9.76874L8.0001 3.00002H2.04875ZM4.62054 4.28821H7.35461L19.4278 20.4308H16.6937L4.62054 4.28821Z"],
|
|
4338
|
+
"vuetify-bin": [
|
|
4339
|
+
["M18.9112 5.03206L3.68692 8.88953C3.68692 8.88953 2.00252 6.21666 2 6.21428C2.02517 6.20794 18.6159 2.00476 18.6394 2L18.8944 4.8489L18.9095 5.01937L18.9112 5.03285V5.03206Z", 0.6],
|
|
4340
|
+
["M19.4556 10.9994C19.4556 10.9994 7.06082 14.1417 7.05915 14.1386L5.3739 11.4641C5.41836 11.453 18.4582 8.14817 18.4993 8.13945L19.1838 7.9658L19.4556 10.9994Z", 1],
|
|
4341
|
+
"M20 17.0652C19.9916 17.0675 14.6826 18.4123 14.6742 18.4147C14.6994 17.3633 14.3353 16.3579 13.712 15.5563L19.7274 14.0331L20 17.066V17.0652Z",
|
|
4342
|
+
["M12.353 16.0368C9.07567 12.843 3.90082 17.0493 6.66818 20.5975C9.94136 24.3844 15.773 19.6984 12.353 16.0368ZM11.1267 19.4129C10.2224 20.7664 7.79139 20.1099 7.82746 18.4686C8.04976 15.4897 12.7112 16.8495 11.1267 19.4129Z", 0.6]
|
|
4343
|
+
],
|
|
4344
|
+
"vuetify-play": [
|
|
4345
|
+
"m6.376 13.184-4.11-7.192C1.505 4.66 2.467 3 4.003 3h8.532l-.953 1.576-.006.01-.396.677c-.429.732-.214 1.507.194 2.015.404.503 1.092.878 1.869.806a3.72 3.72 0 0 1 1.005.022c.276.053.434.143.523.237.138.146.38.635-.25 2.09-.893 1.63-1.553 1.722-1.847 1.677-.213-.033-.468-.158-.756-.406a4.95 4.95 0 0 1-.8-.927c-.39-.564-1.04-.84-1.66-.846-.625-.006-1.316.27-1.693.921l-.478.826-.911 1.506Z",
|
|
4346
|
+
["M9.093 11.552c.046-.079.144-.15.32-.148a.53.53 0 0 1 .43.207c.285.414.636.847 1.046 1.2.405.35.914.662 1.516.754 1.334.205 2.502-.698 3.48-2.495l.014-.028.013-.03c.687-1.574.774-2.852-.005-3.675-.37-.391-.861-.586-1.333-.676a5.243 5.243 0 0 0-1.447-.044c-.173.016-.393-.073-.54-.257-.145-.18-.127-.316-.082-.392l.393-.672L14.287 3h5.71c1.536 0 2.499 1.659 1.737 2.992l-7.997 13.996c-.768 1.344-2.706 1.344-3.473 0l-3.037-5.314 1.377-2.278.004-.006.004-.007.481-.831Z", 0.6]
|
|
4347
|
+
],
|
|
4348
|
+
"vuetify-studio": [
|
|
4349
|
+
["M12.435 14.3194L12 21L6.87046 12.2799L12.435 14.3194Z", 1],
|
|
4350
|
+
["M22 4L12.435 14.3194L6.87046 12.2799L9.26479 7.61064L12.435 14.3194L12 21L22 4Z", 0.5],
|
|
4351
|
+
["M12.435 14.3194L22 4L9.26479 7.61064L12.435 14.3194Z", 1],
|
|
4352
|
+
["M2 4L6.87046 12.2799L9.26479 7.61064L2 4Z", 1]
|
|
4353
|
+
]
|
|
4354
|
+
}, Ga = q("bins", () => {
|
|
4355
|
+
const c = P(), e = oe(), n = U([]), o = U(), s = A(!1), a = A(-1), l = x(() => !c.user || !o.value ? !1 : c.user.id === o.value.owner.id), d = x(() => n.value.filter((h) => h.favorite)), p = x(() => n.value.filter((h) => h.pinned));
|
|
4356
|
+
z(o, () => {
|
|
4363
4357
|
window.clearTimeout(a.value), a.value = window.setTimeout(() => {
|
|
4364
4358
|
!o.value || !l.value || V(o.value, o.value.id);
|
|
4365
4359
|
}, 100);
|
|
@@ -4398,8 +4392,8 @@ const Pe = q("settings", () => {
|
|
|
4398
4392
|
async function V(h, b) {
|
|
4399
4393
|
try {
|
|
4400
4394
|
s.value = !0;
|
|
4401
|
-
const
|
|
4402
|
-
n.value.splice(D, 1,
|
|
4395
|
+
const M = await e.post(`/one/bins/${b}`, { bin: h }), D = n.value.findIndex((H) => H.id === b);
|
|
4396
|
+
n.value.splice(D, 1, M.bin);
|
|
4403
4397
|
} catch {
|
|
4404
4398
|
} finally {
|
|
4405
4399
|
s.value = !1;
|
|
@@ -4409,8 +4403,8 @@ const Pe = q("settings", () => {
|
|
|
4409
4403
|
async function y(h, b) {
|
|
4410
4404
|
try {
|
|
4411
4405
|
s.value = !0;
|
|
4412
|
-
const
|
|
4413
|
-
o.value =
|
|
4406
|
+
const M = b ? await V(h, b) : await g(h);
|
|
4407
|
+
o.value = M.bin;
|
|
4414
4408
|
} catch {
|
|
4415
4409
|
} finally {
|
|
4416
4410
|
s.value = !1;
|
|
@@ -4442,11 +4436,10 @@ const Pe = q("settings", () => {
|
|
|
4442
4436
|
update: V,
|
|
4443
4437
|
updateOrCreate: y
|
|
4444
4438
|
};
|
|
4445
|
-
}),
|
|
4439
|
+
}), Qa = q("products", () => {
|
|
4446
4440
|
const c = oe(), e = U([]), n = x(() => e.value.filter((a) => a.product_type === "Themes"));
|
|
4447
4441
|
async function o() {
|
|
4448
|
-
if (e.value.length)
|
|
4449
|
-
return e.value;
|
|
4442
|
+
if (e.value.length) return e.value;
|
|
4450
4443
|
try {
|
|
4451
4444
|
const a = await c.get("/one/shopify/products");
|
|
4452
4445
|
e.value = a.products;
|
|
@@ -4464,30 +4457,31 @@ const Pe = q("settings", () => {
|
|
|
4464
4457
|
randomize: s
|
|
4465
4458
|
};
|
|
4466
4459
|
});
|
|
4467
|
-
function
|
|
4460
|
+
function Ya() {
|
|
4468
4461
|
function c(e) {
|
|
4469
|
-
e.component("VoAppBar", Ns), e.component("VoAuthBtn",
|
|
4462
|
+
e.component("VoAppBar", Ns), e.component("VoAuthBtn", St), e.component("VoAuthCard", Vt), e.component("VoAuthDialog", kt), e.component("VoAuthListItem", $t), e.component("VoIconBin", Ct), e.component("VoIconIssues", xt), e.component("VoNotificationsBanner", Ts), e.component("VoPromotionsCardHighlight", Ms), e.component("VoPromotionsCardVuetify", Hs), e.component("VoPromotionsFooter", qs), e.component("VoScript", Gs), e.component("VoSocialFooter", ea), e.component("VoSpot", na);
|
|
4470
4463
|
}
|
|
4471
4464
|
return { install: c };
|
|
4472
4465
|
}
|
|
4473
|
-
function
|
|
4466
|
+
function Ja(c, e) {
|
|
4474
4467
|
return function(n) {
|
|
4475
4468
|
const o = n.store;
|
|
4476
4469
|
o.url = e, o.$id === "site" && (o.id = c);
|
|
4477
4470
|
};
|
|
4478
4471
|
}
|
|
4479
4472
|
export {
|
|
4480
|
-
Za as
|
|
4481
|
-
|
|
4482
|
-
|
|
4473
|
+
Za as aliases,
|
|
4474
|
+
Ya as createOne,
|
|
4475
|
+
Ja as one,
|
|
4476
|
+
P as useAuthStore,
|
|
4483
4477
|
He as useBannersStore,
|
|
4484
|
-
|
|
4478
|
+
Ga as useBinsStore,
|
|
4485
4479
|
oe as useHttpStore,
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
|
|
4490
|
-
|
|
4480
|
+
j as useOneStore,
|
|
4481
|
+
Qa as useProductsStore,
|
|
4482
|
+
et as usePromotionsStore,
|
|
4483
|
+
Po as useQueueStore,
|
|
4484
|
+
je as useSettingsStore,
|
|
4491
4485
|
ta as useSpotsStore,
|
|
4492
4486
|
F as useUserStore
|
|
4493
4487
|
};
|