@vuetify/one 1.2.1 → 1.2.3
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.js +335 -335
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { reactive as ht, watch as N, toRefs as gt, ref as F, shallowRef as B, computed as C, defineComponent as $, openBlock as p, createBlock as _, unref as o, createSlots as q, withCtx as n, createElementVNode as g, toDisplayString as L, createVNode as t, createTextVNode as U, renderSlot as M, normalizeStyle as Je, createCommentVNode as w, withModifiers as Pe, mergeModels as Xe, useModel as
|
|
1
|
+
import { reactive as ht, watch as N, toRefs as gt, ref as F, shallowRef as B, computed as C, defineComponent as $, openBlock as p, createBlock as _, unref as o, createSlots as q, withCtx as n, createElementVNode as g, toDisplayString as L, createVNode as t, createTextVNode as U, renderSlot as M, normalizeStyle as Je, createCommentVNode as w, withModifiers as Pe, mergeModels as Xe, useModel as re, createElementBlock as S, Fragment as D, onBeforeMount as yt, nextTick as ue, renderList as te, mergeProps as H, resolveComponent as Re, pushScopeId as bt, popScopeId as Vt, withDirectives as Ie, vShow as He, onMounted as kt, normalizeClass as $t } from "vue";
|
|
2
2
|
import { useRouter as Ae, useRoute as xt } from "vue-router";
|
|
3
3
|
import { defineStore as K } from "pinia";
|
|
4
4
|
import { merge as je } from "lodash-es";
|
|
5
|
-
import { mdiDiscord as Ee, mdiGithub as We, mdiSync as wt, mdiSyncOff as St, mdiLogoutVariant as Ct, mdiFullscreenExit as Lt, mdiFullscreen as It, mdiCheck as de, mdiHome as At, mdiTextBox as Dt, mdiSelect as Bt, mdiSpaceInvaders as Ke, mdiImageFilterHdr as et, mdiRocketLaunchOutline as tt, mdiWhiteBalanceSunny as Ut, mdiWeatherNight as Nt, mdiDesktopTowerMonitor as
|
|
6
|
-
import { VListItem as be, VList as oe, VListItemTitle as st, VListItemSubtitle as
|
|
5
|
+
import { mdiDiscord as Ee, mdiGithub as We, mdiSync as wt, mdiSyncOff as St, mdiLogoutVariant as Ct, mdiFullscreenExit as Lt, mdiFullscreen as It, mdiCheck as de, mdiHome as At, mdiTextBox as Dt, mdiSelect as Bt, mdiSpaceInvaders as Ke, mdiImageFilterHdr as et, mdiRocketLaunchOutline as tt, mdiWhiteBalanceSunny as Ut, mdiWeatherNight as Nt, mdiDesktopTowerMonitor as zt, mdiContrastCircle as Ot, mdiCog as jt, mdiCogOutline as Ft, mdiFileDocument as Tt, mdiCreditCardSettingsOutline as Mt, mdiRocketOutline as Pt, mdiCheckCircleOutline as he, mdiCreditCard as Rt, mdiReload as Ht, mdiPlaylistCheck as Et, mdiCreditCardOutline as Wt, mdiMedal as Ge, mdiOpenInNew as ye, mdiHandHeart as Gt, mdiChartLine as qt, mdiHandHeartOutline as Zt, mdiShieldStarOutline as Yt, mdiReddit as Qt, mdiEmailOpenOutline as ot, mdiEmailVariant as nt, mdiBell as Jt, mdiInboxOutline as Xt, mdiInboxFullOutline as Kt, mdiBillboard as eo, mdiBellOutline as to, mdiViewDashboardOutline as oo, mdiSpider as no, mdiCrown as so, mdiArrowULeftBottom as ao, mdiLogin as io } from "@mdi/js";
|
|
6
|
+
import { VListItem as be, VList as oe, VListItemTitle as st, VListItemSubtitle as ro } from "vuetify/lib/components/VList/index.mjs";
|
|
7
7
|
import { VAvatar as ne } from "vuetify/lib/components/VAvatar/index.mjs";
|
|
8
|
-
import { VCard as P, VCardTitle as
|
|
8
|
+
import { VCard as P, VCardTitle as lo, VCardSubtitle as co, VCardText as ee } from "vuetify/lib/components/VCard/index.mjs";
|
|
9
9
|
import { VDialog as at } from "vuetify/lib/components/VDialog/index.mjs";
|
|
10
10
|
import { VBadge as qe } from "vuetify/lib/components/VBadge/index.mjs";
|
|
11
11
|
import { VBtn as W } from "vuetify/lib/components/VBtn/index.mjs";
|
|
@@ -23,12 +23,12 @@ import { VSelect as vo } from "vuetify/lib/components/VSelect/index.mjs";
|
|
|
23
23
|
import { VRow as ce, VCol as J, VContainer as Ye } from "vuetify/lib/components/VGrid/index.mjs";
|
|
24
24
|
import { VHover as Ue } from "vuetify/lib/components/VHover/index.mjs";
|
|
25
25
|
import { VImg as ie } from "vuetify/lib/components/VImg/index.mjs";
|
|
26
|
-
import { VItemGroup as
|
|
26
|
+
import { VItemGroup as rt, VItem as Me } from "vuetify/lib/components/VItemGroup/index.mjs";
|
|
27
27
|
import { VLayout as ke } from "vuetify/lib/components/VLayout/index.mjs";
|
|
28
28
|
import { VMain as $e } from "vuetify/lib/components/VMain/index.mjs";
|
|
29
29
|
import { VDataTableVirtual as _o } from "vuetify/lib/components/VDataTable/index.mjs";
|
|
30
30
|
import { VSkeletonLoader as Qe } from "vuetify/lib/components/VSkeletonLoader/index.mjs";
|
|
31
|
-
import { VWindow as
|
|
31
|
+
import { VWindow as lt, VWindowItem as _e } from "vuetify/lib/components/VWindow/index.mjs";
|
|
32
32
|
import { VTimelineItem as Ze, VTimeline as ho } from "vuetify/lib/components/VTimeline/index.mjs";
|
|
33
33
|
import { VFooter as go } from "vuetify/lib/components/VFooter/index.mjs";
|
|
34
34
|
import { VTooltip as X } from "vuetify/lib/components/VTooltip/index.mjs";
|
|
@@ -121,9 +121,9 @@ const xe = K("http", {
|
|
|
121
121
|
function e() {
|
|
122
122
|
if (!Fe)
|
|
123
123
|
return;
|
|
124
|
-
const
|
|
125
|
-
let
|
|
126
|
-
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 = Le.suits, a.notifications.banners = Le.notifications.banners,
|
|
124
|
+
const l = localStorage.getItem("vuetify@user"), a = l ? JSON.parse(l) : {};
|
|
125
|
+
let r = a.v === c.v;
|
|
126
|
+
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 = Le.suits, a.notifications.banners = Le.notifications.banners, r = !0), a.v = c.v, Object.assign(c, je(c, a)), r && i();
|
|
127
127
|
}
|
|
128
128
|
function i() {
|
|
129
129
|
Fe && localStorage.setItem("vuetify@user", JSON.stringify(c, null, 2));
|
|
@@ -137,8 +137,8 @@ const xe = K("http", {
|
|
|
137
137
|
save: i,
|
|
138
138
|
reset: s
|
|
139
139
|
};
|
|
140
|
-
}),
|
|
141
|
-
const c = F(!1), e = F(null), i = xe(), s = j(),
|
|
140
|
+
}), O = K("auth", () => {
|
|
141
|
+
const c = F(!1), e = F(null), i = xe(), s = j(), l = Ae(), a = B(!1), r = C(() => {
|
|
142
142
|
var m, v;
|
|
143
143
|
return !i.url || ((m = e.value) == null ? void 0 : m.isAdmin) || !!((v = e.value) != null && v.sponsorships.some((k) => k.isActive));
|
|
144
144
|
});
|
|
@@ -180,10 +180,10 @@ const xe = K("http", {
|
|
|
180
180
|
d.promise = null;
|
|
181
181
|
async function h(m = "github") {
|
|
182
182
|
a.value = !0;
|
|
183
|
-
const v = `${i.url}/auth/${m}/redirect`, k = 400,
|
|
183
|
+
const v = `${i.url}/auth/${m}/redirect`, k = 400, z = 600, R = window.screenX + (window.innerWidth - k) / 2, ae = window.screenY + (window.innerHeight - z) / 2, Z = window.open(
|
|
184
184
|
"",
|
|
185
185
|
"vuetify:authorize:popup",
|
|
186
|
-
`popup,left=${R},top=${ae},width=${k},height=${
|
|
186
|
+
`popup,left=${R},top=${ae},width=${k},height=${z},resizable`
|
|
187
187
|
);
|
|
188
188
|
if (!Z) {
|
|
189
189
|
console.error("Failed to open popup");
|
|
@@ -193,15 +193,15 @@ const xe = K("http", {
|
|
|
193
193
|
let Ce = -1, fe = -1;
|
|
194
194
|
function ve(y) {
|
|
195
195
|
var I;
|
|
196
|
-
y.origin === i.url && ((I = y.data) == null ? void 0 : I.type) === "auth-response" && (y.data.status === "success" ? (e.value || localStorage.setItem("vuetify@lastLoginProvider", m), e.value = y.data.body.user,
|
|
196
|
+
y.origin === i.url && ((I = y.data) == null ? void 0 : I.type) === "auth-response" && (y.data.status === "success" ? (e.value || localStorage.setItem("vuetify@lastLoginProvider", m), e.value = y.data.body.user, l.push("/user/dashboard/"), f()) : console.error(y.data.message), le());
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function le() {
|
|
199
199
|
window.removeEventListener("message", ve), window.clearInterval(Ce), window.clearTimeout(fe), Z == null || Z.close(), a.value = !1;
|
|
200
200
|
}
|
|
201
201
|
window.addEventListener("message", ve), Ce = window.setInterval(() => {
|
|
202
|
-
!Z || Z.closed ? (console.error("Auth popup closed"),
|
|
202
|
+
!Z || Z.closed ? (console.error("Auth popup closed"), le()) : Z.postMessage({ type: "auth-request" }, "*");
|
|
203
203
|
}, 1e3), fe = window.setTimeout(() => {
|
|
204
|
-
|
|
204
|
+
le(), console.error("Auth timed out");
|
|
205
205
|
}, 120 * 1e3);
|
|
206
206
|
}
|
|
207
207
|
async function V(m) {
|
|
@@ -212,7 +212,7 @@ const xe = K("http", {
|
|
|
212
212
|
} catch (k) {
|
|
213
213
|
console.error(k);
|
|
214
214
|
} finally {
|
|
215
|
-
|
|
215
|
+
l.push("/"), a.value = !1;
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
218
|
function b(m) {
|
|
@@ -231,21 +231,21 @@ const xe = K("http", {
|
|
|
231
231
|
verify: d,
|
|
232
232
|
login: h,
|
|
233
233
|
logout: V,
|
|
234
|
-
isSubscriber:
|
|
234
|
+
isSubscriber: r,
|
|
235
235
|
lastLoginProvider: x,
|
|
236
236
|
sync: f
|
|
237
237
|
};
|
|
238
238
|
}), wo = { class: "text-body-2" }, So = /* @__PURE__ */ g("div", { class: "text-caption mt-n1" }, "Last Used", -1), ct = /* @__PURE__ */ $({
|
|
239
239
|
__name: "VoAuthDiscord",
|
|
240
240
|
setup(c) {
|
|
241
|
-
const e =
|
|
242
|
-
return (
|
|
241
|
+
const e = O(), i = C(() => e.user && e.findIdentity("discord")), s = C(() => e.user ? i.value ? "Connected to Discord" : "Connect Discord" : "Login with Discord");
|
|
242
|
+
return (l, a) => (p(), _(be, {
|
|
243
243
|
"prepend-icon": `svg:${o(Ee)}`,
|
|
244
244
|
"base-color": "#5865F2",
|
|
245
245
|
rounded: "pill",
|
|
246
246
|
variant: "flat",
|
|
247
247
|
slim: "",
|
|
248
|
-
onClick: a[0] || (a[0] = (
|
|
248
|
+
onClick: a[0] || (a[0] = (r) => o(e).login("discord"))
|
|
249
249
|
}, q({
|
|
250
250
|
title: n(() => [
|
|
251
251
|
g("span", wo, L(s.value), 1)
|
|
@@ -264,14 +264,14 @@ const xe = K("http", {
|
|
|
264
264
|
}), Co = { class: "text-body-2" }, Lo = /* @__PURE__ */ g("div", { class: "text-caption mt-n1" }, "Last Used", -1), ut = /* @__PURE__ */ $({
|
|
265
265
|
__name: "VoAuthGithub",
|
|
266
266
|
setup(c) {
|
|
267
|
-
const e =
|
|
268
|
-
return (
|
|
267
|
+
const e = O(), i = C(() => e.user && e.findIdentity("github")), s = C(() => e.user ? i.value ? "Connected to GitHub" : "Connect GitHub" : "Login with GitHub");
|
|
268
|
+
return (l, a) => (p(), _(be, {
|
|
269
269
|
"prepend-icon": `svg:${o(We)}`,
|
|
270
270
|
"base-color": "#2a2a2a",
|
|
271
271
|
rounded: "pill",
|
|
272
272
|
variant: "flat",
|
|
273
273
|
slim: "",
|
|
274
|
-
onClick: a[0] || (a[0] = (
|
|
274
|
+
onClick: a[0] || (a[0] = (r) => o(e).login("github"))
|
|
275
275
|
}, q({
|
|
276
276
|
title: n(() => [
|
|
277
277
|
g("span", Co, L(s.value), 1)
|
|
@@ -290,9 +290,9 @@ const xe = K("http", {
|
|
|
290
290
|
}), Io = { class: "text-center" }, Ao = { class: "text-center mb-6" }, Do = { class: "font-weight-light mb-2" }, Bo = /* @__PURE__ */ g("span", { class: "font-weight-bold" }, "Vuetify One", -1), dt = /* @__PURE__ */ $({
|
|
291
291
|
__name: "VoAuthCard",
|
|
292
292
|
setup(c) {
|
|
293
|
-
const e =
|
|
293
|
+
const e = O();
|
|
294
294
|
return (i, s) => {
|
|
295
|
-
const
|
|
295
|
+
const l = ut, a = ct;
|
|
296
296
|
return p(), _(P, {
|
|
297
297
|
class: "pt-6 pb-8 px-4 px-sm-8 mx-auto",
|
|
298
298
|
"max-width": "480"
|
|
@@ -306,7 +306,7 @@ const xe = K("http", {
|
|
|
306
306
|
}, null, 8, ["image"])
|
|
307
307
|
]),
|
|
308
308
|
g("div", Ao, [
|
|
309
|
-
t(
|
|
309
|
+
t(lo, { class: "text-h5 mb-1 text-md-h4" }, {
|
|
310
310
|
default: n(() => [
|
|
311
311
|
g("div", Do, L(o(e).lastLoginProvider() ? "Welcome back to" : "Login to"), 1),
|
|
312
312
|
Bo
|
|
@@ -326,7 +326,7 @@ const xe = K("http", {
|
|
|
326
326
|
width: "100%"
|
|
327
327
|
}, {
|
|
328
328
|
default: n(() => [
|
|
329
|
-
t(
|
|
329
|
+
t(l, { class: "mb-3" }),
|
|
330
330
|
t(a)
|
|
331
331
|
]),
|
|
332
332
|
_: 1
|
|
@@ -339,23 +339,23 @@ const xe = K("http", {
|
|
|
339
339
|
}), pt = /* @__PURE__ */ $({
|
|
340
340
|
__name: "VoAuthDialog",
|
|
341
341
|
setup(c) {
|
|
342
|
-
const e =
|
|
342
|
+
const e = O();
|
|
343
343
|
return (i, s) => {
|
|
344
|
-
const
|
|
344
|
+
const l = dt;
|
|
345
345
|
return p(), _(at, {
|
|
346
346
|
modelValue: o(e).dialog,
|
|
347
347
|
"onUpdate:modelValue": s[0] || (s[0] = (a) => o(e).dialog = a),
|
|
348
348
|
"max-width": "480"
|
|
349
349
|
}, {
|
|
350
350
|
default: n(() => [
|
|
351
|
-
t(
|
|
351
|
+
t(l)
|
|
352
352
|
]),
|
|
353
353
|
_: 1
|
|
354
354
|
}, 8, ["modelValue"]);
|
|
355
355
|
};
|
|
356
356
|
}
|
|
357
357
|
}), Ne = K("notifications", () => {
|
|
358
|
-
const c = xe(), e = j(), i = F([]), s = F([]),
|
|
358
|
+
const c = xe(), e = j(), i = F([]), s = F([]), l = F(), a = B(!1), r = C(() => i.value.filter((m) => !e.notifications.read.includes(m.slug))), u = C(() => i.value.filter((m) => e.notifications.read.includes(m.slug)));
|
|
359
359
|
async function f() {
|
|
360
360
|
try {
|
|
361
361
|
a.value = !0;
|
|
@@ -371,7 +371,7 @@ const xe = K("http", {
|
|
|
371
371
|
try {
|
|
372
372
|
a.value = !0;
|
|
373
373
|
const v = await c.get(`/one/admin/notifications/${m}`);
|
|
374
|
-
return
|
|
374
|
+
return l.value = v.notification, v.notification;
|
|
375
375
|
} catch {
|
|
376
376
|
} finally {
|
|
377
377
|
a.value = !1;
|
|
@@ -384,7 +384,7 @@ const xe = K("http", {
|
|
|
384
384
|
"/one/admin/notifications",
|
|
385
385
|
m
|
|
386
386
|
);
|
|
387
|
-
return
|
|
387
|
+
return l.value = v.notification, v.notification;
|
|
388
388
|
} catch {
|
|
389
389
|
} finally {
|
|
390
390
|
a.value = !1;
|
|
@@ -397,7 +397,7 @@ const xe = K("http", {
|
|
|
397
397
|
`/one/admin/notifications/${m}`,
|
|
398
398
|
v
|
|
399
399
|
);
|
|
400
|
-
return
|
|
400
|
+
return l.value = k.notification, k.notification;
|
|
401
401
|
} catch {
|
|
402
402
|
} finally {
|
|
403
403
|
a.value = !1;
|
|
@@ -421,23 +421,23 @@ const xe = K("http", {
|
|
|
421
421
|
all: i,
|
|
422
422
|
aall: s,
|
|
423
423
|
admin: x,
|
|
424
|
-
record:
|
|
424
|
+
record: l,
|
|
425
425
|
index: f,
|
|
426
426
|
show: d,
|
|
427
427
|
store: h,
|
|
428
428
|
update: V,
|
|
429
429
|
destroy: b,
|
|
430
430
|
read: u,
|
|
431
|
-
unread:
|
|
431
|
+
unread: r
|
|
432
432
|
};
|
|
433
433
|
}), Uo = /* @__PURE__ */ $({
|
|
434
434
|
__name: "VoNotificationsTotalBadge",
|
|
435
435
|
setup(c) {
|
|
436
|
-
const e =
|
|
437
|
-
return (a,
|
|
438
|
-
content:
|
|
436
|
+
const e = O(), i = Ne(), s = j(), l = C(() => s.notifications.show ? i.unread.length : 0);
|
|
437
|
+
return (a, r) => (p(), _(qe, {
|
|
438
|
+
content: l.value,
|
|
439
439
|
dot: !!o(e).user,
|
|
440
|
-
"model-value":
|
|
440
|
+
"model-value": l.value > 0,
|
|
441
441
|
color: "error",
|
|
442
442
|
location: "start top"
|
|
443
443
|
}, {
|
|
@@ -494,14 +494,14 @@ const xe = K("http", {
|
|
|
494
494
|
}), No = { class: "pa-4 d-flex flex-column ga-4" }, mt = /* @__PURE__ */ $({
|
|
495
495
|
__name: "VoAuthListItem",
|
|
496
496
|
setup(c) {
|
|
497
|
-
const e =
|
|
497
|
+
const e = O(), i = j(), s = B(!e.user && !e.isLoading);
|
|
498
498
|
N(() => e.user, (a) => {
|
|
499
499
|
s.value = !a;
|
|
500
500
|
});
|
|
501
|
-
function
|
|
501
|
+
function l() {
|
|
502
502
|
e.user && (s.value = !s.value);
|
|
503
503
|
}
|
|
504
|
-
return (a,
|
|
504
|
+
return (a, r) => {
|
|
505
505
|
const u = ut, f = ct;
|
|
506
506
|
return p(), _(P, {
|
|
507
507
|
variant: s.value ? "tonal" : "text",
|
|
@@ -519,7 +519,7 @@ const xe = K("http", {
|
|
|
519
519
|
rounded: "b-0",
|
|
520
520
|
nav: "",
|
|
521
521
|
slim: "",
|
|
522
|
-
onClick:
|
|
522
|
+
onClick: l
|
|
523
523
|
}, {
|
|
524
524
|
append: n(() => [
|
|
525
525
|
t(De, null, {
|
|
@@ -527,12 +527,12 @@ const xe = K("http", {
|
|
|
527
527
|
o(e).user && (s.value || !o(i).syncSettings) ? (p(), _(it, {
|
|
528
528
|
key: 0,
|
|
529
529
|
modelValue: o(i).syncSettings,
|
|
530
|
-
"onUpdate:modelValue":
|
|
530
|
+
"onUpdate:modelValue": r[0] || (r[0] = (d) => o(i).syncSettings = d),
|
|
531
531
|
color: o(i).syncSettings ? "success" : void 0,
|
|
532
532
|
density: "compact",
|
|
533
533
|
"hide-details": "",
|
|
534
534
|
inset: "",
|
|
535
|
-
onClick:
|
|
535
|
+
onClick: r[1] || (r[1] = Pe(() => {
|
|
536
536
|
}, ["stop"]))
|
|
537
537
|
}, {
|
|
538
538
|
thumb: n(() => [
|
|
@@ -558,10 +558,10 @@ const xe = K("http", {
|
|
|
558
558
|
default: n(() => [
|
|
559
559
|
g("div", No, [
|
|
560
560
|
t(u, {
|
|
561
|
-
onClick:
|
|
561
|
+
onClick: r[2] || (r[2] = (d) => s.value = !1)
|
|
562
562
|
}),
|
|
563
563
|
t(f, {
|
|
564
|
-
onClick:
|
|
564
|
+
onClick: r[3] || (r[3] = (d) => s.value = !1)
|
|
565
565
|
})
|
|
566
566
|
])
|
|
567
567
|
]),
|
|
@@ -610,16 +610,16 @@ const xe = K("http", {
|
|
|
610
610
|
} : void 0
|
|
611
611
|
]), 1024));
|
|
612
612
|
}
|
|
613
|
-
}),
|
|
613
|
+
}), zo = /* @__PURE__ */ $({
|
|
614
614
|
__name: "VoAuthLogoutListItem",
|
|
615
615
|
setup(c) {
|
|
616
|
-
const e =
|
|
616
|
+
const e = O(), i = B(!1);
|
|
617
617
|
async function s() {
|
|
618
618
|
i.value = !0, await e.logout(), i.value = !1;
|
|
619
619
|
}
|
|
620
|
-
return (
|
|
621
|
-
const
|
|
622
|
-
return p(), _(
|
|
620
|
+
return (l, a) => {
|
|
621
|
+
const r = Y;
|
|
622
|
+
return p(), _(r, {
|
|
623
623
|
disabled: i.value,
|
|
624
624
|
loading: i.value,
|
|
625
625
|
"prepend-icon": `svg:${o(Ct)}`,
|
|
@@ -641,25 +641,25 @@ const xe = K("http", {
|
|
|
641
641
|
}),
|
|
642
642
|
emits: ["update:modelValue"],
|
|
643
643
|
setup(c) {
|
|
644
|
-
const e =
|
|
645
|
-
return (
|
|
644
|
+
const e = re(c, "modelValue"), i = pe(), s = B(!1);
|
|
645
|
+
return (l, a) => (p(), _(at, {
|
|
646
646
|
modelValue: e.value,
|
|
647
|
-
"onUpdate:modelValue": a[2] || (a[2] = (
|
|
647
|
+
"onUpdate:modelValue": a[2] || (a[2] = (r) => e.value = r),
|
|
648
648
|
fullscreen: s.value || o(i).xs.value,
|
|
649
649
|
"max-height": s.value || o(i).xs.value ? "100%" : 800,
|
|
650
650
|
"max-width": s.value || o(i).xs.value ? "100%" : 800,
|
|
651
651
|
activator: "parent",
|
|
652
652
|
height: "100%"
|
|
653
653
|
}, {
|
|
654
|
-
default: n(({ isActive:
|
|
654
|
+
default: n(({ isActive: r }) => [
|
|
655
655
|
t(P, {
|
|
656
|
-
"prepend-icon":
|
|
657
|
-
title:
|
|
656
|
+
"prepend-icon": l.prependIcon,
|
|
657
|
+
title: l.title,
|
|
658
658
|
class: "overflow-hidden",
|
|
659
659
|
height: "inherit"
|
|
660
660
|
}, q({
|
|
661
661
|
append: n(() => [
|
|
662
|
-
M(
|
|
662
|
+
M(l.$slots, "append"),
|
|
663
663
|
o(i).xs.value ? w("", !0) : (p(), _(W, {
|
|
664
664
|
key: 0,
|
|
665
665
|
icon: `svg:${s.value ? o(Lt) : o(It)}`,
|
|
@@ -679,21 +679,21 @@ const xe = K("http", {
|
|
|
679
679
|
]),
|
|
680
680
|
default: n(() => [
|
|
681
681
|
t(E, { class: "mt-4" }),
|
|
682
|
-
M(
|
|
682
|
+
M(l.$slots, "default")
|
|
683
683
|
]),
|
|
684
684
|
_: 2
|
|
685
685
|
}, [
|
|
686
|
-
|
|
686
|
+
l.$slots.prepend ? {
|
|
687
687
|
name: "prepend",
|
|
688
688
|
fn: n(() => [
|
|
689
|
-
M(
|
|
689
|
+
M(l.$slots, "prepend")
|
|
690
690
|
]),
|
|
691
691
|
key: "0"
|
|
692
692
|
} : void 0,
|
|
693
|
-
|
|
693
|
+
l.$slots.actions ? {
|
|
694
694
|
name: "actions",
|
|
695
695
|
fn: n(() => [
|
|
696
|
-
M(
|
|
696
|
+
M(l.$slots, "actions", { isActive: r })
|
|
697
697
|
]),
|
|
698
698
|
key: "1"
|
|
699
699
|
} : void 0
|
|
@@ -731,7 +731,7 @@ const xe = K("http", {
|
|
|
731
731
|
} : void 0
|
|
732
732
|
]), 1032, ["disabled", "true-icon"]));
|
|
733
733
|
}
|
|
734
|
-
}),
|
|
734
|
+
}), Oo = {
|
|
735
735
|
key: 1,
|
|
736
736
|
class: "mb-3 text-caption text-medium-emphasis"
|
|
737
737
|
}, Se = /* @__PURE__ */ $({
|
|
@@ -751,7 +751,7 @@ const xe = K("http", {
|
|
|
751
751
|
]),
|
|
752
752
|
_: 1
|
|
753
753
|
})) : w("", !0),
|
|
754
|
-
e.text ? (p(), S("div",
|
|
754
|
+
e.text ? (p(), S("div", Oo, L(e.text), 1)) : w("", !0)
|
|
755
755
|
], 64));
|
|
756
756
|
}
|
|
757
757
|
}), jo = { key: 0 }, Fo = /* @__PURE__ */ $({
|
|
@@ -780,12 +780,12 @@ const xe = K("http", {
|
|
|
780
780
|
value: "nebula"
|
|
781
781
|
}
|
|
782
782
|
];
|
|
783
|
-
return (s,
|
|
784
|
-
const a = ft,
|
|
783
|
+
return (s, l) => {
|
|
784
|
+
const a = ft, r = Se;
|
|
785
785
|
return p(), S(D, null, [
|
|
786
786
|
t(a, {
|
|
787
787
|
modelValue: o(e).suits.show,
|
|
788
|
-
"onUpdate:modelValue":
|
|
788
|
+
"onUpdate:modelValue": l[0] || (l[0] = (u) => o(e).suits.show = u),
|
|
789
789
|
class: "mb-2",
|
|
790
790
|
label: "Enable Page suits",
|
|
791
791
|
messages: "Customize layout elements with a unique background, styled after one of our themed releases."
|
|
@@ -795,7 +795,7 @@ const xe = K("http", {
|
|
|
795
795
|
o(e).suits.show ? (p(), S("div", jo, [
|
|
796
796
|
t(vo, {
|
|
797
797
|
modelValue: o(e).suits.suit,
|
|
798
|
-
"onUpdate:modelValue":
|
|
798
|
+
"onUpdate:modelValue": l[1] || (l[1] = (u) => o(e).suits.suit = u),
|
|
799
799
|
items: i,
|
|
800
800
|
density: "compact",
|
|
801
801
|
placeholder: "Choose a page suit",
|
|
@@ -815,10 +815,10 @@ const xe = K("http", {
|
|
|
815
815
|
]),
|
|
816
816
|
_: 1
|
|
817
817
|
}, 8, ["modelValue"]),
|
|
818
|
-
t(
|
|
818
|
+
t(r, { text: "Select your suit elements to display the background image:" }),
|
|
819
819
|
t(fo, {
|
|
820
820
|
modelValue: o(e).suits.elements,
|
|
821
|
-
"onUpdate:modelValue":
|
|
821
|
+
"onUpdate:modelValue": l[2] || (l[2] = (u) => o(e).suits.elements = u),
|
|
822
822
|
color: "primary",
|
|
823
823
|
filter: "",
|
|
824
824
|
multiple: ""
|
|
@@ -890,7 +890,7 @@ function me() {
|
|
|
890
890
|
);
|
|
891
891
|
}
|
|
892
892
|
const T = K("one", () => {
|
|
893
|
-
const c = me(), e = c.value.session_id, i = Ae(), s =
|
|
893
|
+
const c = me(), e = c.value.session_id, i = Ae(), s = O(), l = xe(), a = B(!1), r = F(!1), u = F(), f = F([]), d = C(() => {
|
|
894
894
|
var y;
|
|
895
895
|
return (y = u.value) == null ? void 0 : y.items[0].plan.interval;
|
|
896
896
|
}), h = C(() => {
|
|
@@ -921,9 +921,9 @@ const T = K("one", () => {
|
|
|
921
921
|
}, 0);
|
|
922
922
|
});
|
|
923
923
|
yt(async () => {
|
|
924
|
-
e && await
|
|
925
|
-
}), N(
|
|
926
|
-
y &&
|
|
924
|
+
e && await z();
|
|
925
|
+
}), N(r, (y) => {
|
|
926
|
+
y && le();
|
|
927
927
|
}), N(c, (y) => {
|
|
928
928
|
if (y.one !== "subscribe" || s.user)
|
|
929
929
|
return;
|
|
@@ -934,10 +934,10 @@ const T = K("one", () => {
|
|
|
934
934
|
}, { immediate: !0 }), N(b, (y, I) => {
|
|
935
935
|
y === !1 && I !== !0 || fe();
|
|
936
936
|
});
|
|
937
|
-
async function
|
|
937
|
+
async function z() {
|
|
938
938
|
try {
|
|
939
939
|
a.value = !0;
|
|
940
|
-
const y = await
|
|
940
|
+
const y = await l.post("/one/activate", { sessionId: e });
|
|
941
941
|
s.user = y.user;
|
|
942
942
|
const I = new URL(window.location.href);
|
|
943
943
|
I.searchParams.delete("session_id"), history.pushState(null, "", I.toString()), ve();
|
|
@@ -947,17 +947,17 @@ const T = K("one", () => {
|
|
|
947
947
|
}
|
|
948
948
|
}
|
|
949
949
|
async function R() {
|
|
950
|
-
window.open(`${
|
|
950
|
+
window.open(`${l.url}/one/manage`, "_blank");
|
|
951
951
|
}
|
|
952
952
|
async function ae(y) {
|
|
953
|
-
a.value = !0, window.location.href = `${
|
|
953
|
+
a.value = !0, window.location.href = `${l.url}/one/subscribe?interval=${y}`;
|
|
954
954
|
}
|
|
955
955
|
async function Z() {
|
|
956
956
|
var y;
|
|
957
957
|
if (h.value)
|
|
958
958
|
try {
|
|
959
959
|
a.value = !0;
|
|
960
|
-
const I = await
|
|
960
|
+
const I = await l.post(
|
|
961
961
|
`/one/cancel?subscriptionId=${(y = h.value) == null ? void 0 : y.tierName}`
|
|
962
962
|
);
|
|
963
963
|
s.user = I.user;
|
|
@@ -970,7 +970,7 @@ const T = K("one", () => {
|
|
|
970
970
|
if (h.value)
|
|
971
971
|
try {
|
|
972
972
|
a.value = !0;
|
|
973
|
-
const I = await
|
|
973
|
+
const I = await l.post("/one/modify", {
|
|
974
974
|
subscriptionId: h.value.tierName,
|
|
975
975
|
interval: y
|
|
976
976
|
});
|
|
@@ -985,7 +985,7 @@ const T = K("one", () => {
|
|
|
985
985
|
if (h.value)
|
|
986
986
|
try {
|
|
987
987
|
a.value = !0;
|
|
988
|
-
const I = await
|
|
988
|
+
const I = await l.post(
|
|
989
989
|
`/one/verify?subscriptionId=${(y = h.value) == null ? void 0 : y.tierName}`
|
|
990
990
|
);
|
|
991
991
|
s.user = I.user;
|
|
@@ -997,14 +997,14 @@ const T = K("one", () => {
|
|
|
997
997
|
async function ve() {
|
|
998
998
|
try {
|
|
999
999
|
a.value = !0;
|
|
1000
|
-
const y = await
|
|
1000
|
+
const y = await l.get("/one/info");
|
|
1001
1001
|
return u.value = y.subscription, f.value = y.invoices, y;
|
|
1002
1002
|
} catch {
|
|
1003
1003
|
} finally {
|
|
1004
1004
|
a.value = !1;
|
|
1005
1005
|
}
|
|
1006
1006
|
}
|
|
1007
|
-
function
|
|
1007
|
+
function le() {
|
|
1008
1008
|
i.push({ query: {} });
|
|
1009
1009
|
}
|
|
1010
1010
|
return {
|
|
@@ -1016,16 +1016,16 @@ const T = K("one", () => {
|
|
|
1016
1016
|
monthlyTotal: k,
|
|
1017
1017
|
hasBilling: V,
|
|
1018
1018
|
isLoading: a,
|
|
1019
|
-
isOpen:
|
|
1019
|
+
isOpen: r,
|
|
1020
1020
|
isSubscriber: b,
|
|
1021
1021
|
github: x,
|
|
1022
1022
|
patreon: v,
|
|
1023
1023
|
discord: m,
|
|
1024
|
-
activate:
|
|
1024
|
+
activate: z,
|
|
1025
1025
|
cancel: Z,
|
|
1026
1026
|
manage: R,
|
|
1027
1027
|
modify: Ce,
|
|
1028
|
-
resetQuery:
|
|
1028
|
+
resetQuery: le,
|
|
1029
1029
|
subscribe: ae,
|
|
1030
1030
|
subscriptionInfo: ve,
|
|
1031
1031
|
verify: fe
|
|
@@ -1187,8 +1187,8 @@ function To() {
|
|
|
1187
1187
|
}
|
|
1188
1188
|
};
|
|
1189
1189
|
}
|
|
1190
|
-
const
|
|
1191
|
-
const c = "https://cdn.vuetifyjs.com/docs/images/one/", e =
|
|
1190
|
+
const ze = K("settings", () => {
|
|
1191
|
+
const c = "https://cdn.vuetifyjs.com/docs/images/one/", e = O(), i = j(), s = mo(), l = To(), a = {
|
|
1192
1192
|
blackguard: {
|
|
1193
1193
|
"app-bar": c + "suits/blackguard/blackguard-app-bar.png",
|
|
1194
1194
|
drawer: c + "suits/blackguard/blackguard-app-drawer.png",
|
|
@@ -1204,7 +1204,7 @@ const Oe = K("settings", () => {
|
|
|
1204
1204
|
drawer: c + "suits/nebula/nebula-app-drawer.png",
|
|
1205
1205
|
footer: c + "suits/nebula/nebula-app-footer.png"
|
|
1206
1206
|
}
|
|
1207
|
-
},
|
|
1207
|
+
}, r = C(() => {
|
|
1208
1208
|
if (!i.suits.suit || !i.suits.show || !e.isSubscriber)
|
|
1209
1209
|
return {};
|
|
1210
1210
|
const u = a[i.suits.suit.toLowerCase()], f = {};
|
|
@@ -1214,11 +1214,11 @@ const Oe = K("settings", () => {
|
|
|
1214
1214
|
});
|
|
1215
1215
|
return s.themes.value = {
|
|
1216
1216
|
...s.themes.value,
|
|
1217
|
-
...
|
|
1217
|
+
...l
|
|
1218
1218
|
}, N(() => i.theme, (u) => {
|
|
1219
1219
|
u === "system" ? s.global.name.value = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : (s.global.name.value = u, i.suits.suit = a[u] ? u : ""), i.theme = u;
|
|
1220
1220
|
}, { immediate: !0 }), {
|
|
1221
|
-
suit:
|
|
1221
|
+
suit: r,
|
|
1222
1222
|
CDN_URL: c
|
|
1223
1223
|
};
|
|
1224
1224
|
}), Mo = /* @__PURE__ */ $({
|
|
@@ -1229,54 +1229,54 @@ const Oe = K("settings", () => {
|
|
|
1229
1229
|
},
|
|
1230
1230
|
emits: ["update:modelValue"],
|
|
1231
1231
|
setup(c) {
|
|
1232
|
-
const e =
|
|
1232
|
+
const e = re(c, "modelValue"), i = O(), s = T(), l = ze(), a = j(), r = [
|
|
1233
1233
|
{
|
|
1234
1234
|
title: "Light",
|
|
1235
1235
|
subtitle: "A standard light theme.",
|
|
1236
|
-
image:
|
|
1236
|
+
image: l.CDN_URL + "themes/light.png",
|
|
1237
1237
|
prependIcon: `svg:${Ut}`,
|
|
1238
1238
|
value: "light"
|
|
1239
1239
|
},
|
|
1240
1240
|
{
|
|
1241
1241
|
title: "Dark",
|
|
1242
1242
|
subtitle: "A standard dark theme.",
|
|
1243
|
-
image:
|
|
1243
|
+
image: l.CDN_URL + "themes/dark.png",
|
|
1244
1244
|
prependIcon: `svg:${Nt}`,
|
|
1245
1245
|
value: "dark"
|
|
1246
1246
|
},
|
|
1247
1247
|
{
|
|
1248
1248
|
title: "System",
|
|
1249
1249
|
subtitle: "A theme based on the system preference.",
|
|
1250
|
-
image:
|
|
1251
|
-
prependIcon: `svg:${
|
|
1250
|
+
image: l.CDN_URL + "themes/system.png",
|
|
1251
|
+
prependIcon: `svg:${zt}`,
|
|
1252
1252
|
value: "system"
|
|
1253
1253
|
},
|
|
1254
1254
|
{
|
|
1255
1255
|
title: "Blackguard",
|
|
1256
1256
|
subtitle: "A theme for v3.4 Blackguard.",
|
|
1257
|
-
image:
|
|
1257
|
+
image: l.CDN_URL + "themes/blackguard.png",
|
|
1258
1258
|
prependIcon: `svg:${Ke}`,
|
|
1259
1259
|
value: "blackguard"
|
|
1260
1260
|
},
|
|
1261
1261
|
{
|
|
1262
1262
|
title: "Polaris",
|
|
1263
1263
|
subtitle: "A theme for v3.5 Polaris.",
|
|
1264
|
-
image:
|
|
1264
|
+
image: l.CDN_URL + "themes/polaris.png",
|
|
1265
1265
|
prependIcon: `svg:${et}`,
|
|
1266
1266
|
value: "polaris"
|
|
1267
1267
|
},
|
|
1268
1268
|
{
|
|
1269
1269
|
title: "Nebula",
|
|
1270
1270
|
subtitle: "A theme for v3.6 Nebula.",
|
|
1271
|
-
image:
|
|
1271
|
+
image: l.CDN_URL + "themes/nebula.png",
|
|
1272
1272
|
prependIcon: `svg:${tt}`,
|
|
1273
1273
|
value: "nebula"
|
|
1274
1274
|
},
|
|
1275
1275
|
{
|
|
1276
1276
|
title: "High Contrast",
|
|
1277
1277
|
subtitle: "A theme for high contrast.",
|
|
1278
|
-
image:
|
|
1279
|
-
prependIcon: `svg:${
|
|
1278
|
+
image: l.CDN_URL + "themes/high-contrast.png",
|
|
1279
|
+
prependIcon: `svg:${Ot}`,
|
|
1280
1280
|
value: "highContrast",
|
|
1281
1281
|
disabled: !0
|
|
1282
1282
|
}
|
|
@@ -1302,7 +1302,7 @@ const Oe = K("settings", () => {
|
|
|
1302
1302
|
text: "Customize your documentation experience with light and dark themes, as well as a combination of both named.",
|
|
1303
1303
|
title: "Theme"
|
|
1304
1304
|
}),
|
|
1305
|
-
t(
|
|
1305
|
+
t(rt, {
|
|
1306
1306
|
modelValue: o(a).theme,
|
|
1307
1307
|
"onUpdate:modelValue": d[0] || (d[0] = (m) => o(a).theme = m),
|
|
1308
1308
|
mandatory: ""
|
|
@@ -1310,7 +1310,7 @@ const Oe = K("settings", () => {
|
|
|
1310
1310
|
default: n(() => [
|
|
1311
1311
|
t(ce, { dense: "" }, {
|
|
1312
1312
|
default: n(() => [
|
|
1313
|
-
(p(), S(D, null, te(
|
|
1313
|
+
(p(), S(D, null, te(r, (m, v) => t(J, {
|
|
1314
1314
|
key: v,
|
|
1315
1315
|
cols: "12",
|
|
1316
1316
|
md: "6"
|
|
@@ -1319,11 +1319,11 @@ const Oe = K("settings", () => {
|
|
|
1319
1319
|
t(Me, {
|
|
1320
1320
|
value: m.value
|
|
1321
1321
|
}, {
|
|
1322
|
-
default: n(({ toggle: k, isSelected:
|
|
1322
|
+
default: n(({ toggle: k, isSelected: z }) => [
|
|
1323
1323
|
t(Ue, null, {
|
|
1324
1324
|
default: n(({ props: R, isHovering: ae }) => [
|
|
1325
1325
|
t(P, H({
|
|
1326
|
-
color:
|
|
1326
|
+
color: z ? "primary" : "surface-variant",
|
|
1327
1327
|
disabled: m.disabled,
|
|
1328
1328
|
image: m.image,
|
|
1329
1329
|
"prepend-icon": m.prependIcon,
|
|
@@ -1336,7 +1336,7 @@ const Oe = K("settings", () => {
|
|
|
1336
1336
|
image: n(() => [
|
|
1337
1337
|
t(ie, {
|
|
1338
1338
|
style: Je({
|
|
1339
|
-
filter:
|
|
1339
|
+
filter: z || ae ? "none" : "grayscale(100%)"
|
|
1340
1340
|
})
|
|
1341
1341
|
}, null, 8, ["style"])
|
|
1342
1342
|
]),
|
|
@@ -1432,7 +1432,7 @@ const Oe = K("settings", () => {
|
|
|
1432
1432
|
setup(c) {
|
|
1433
1433
|
const e = B(!1);
|
|
1434
1434
|
return (i, s) => {
|
|
1435
|
-
const
|
|
1435
|
+
const l = Mo, a = Y;
|
|
1436
1436
|
return p(), _(a, {
|
|
1437
1437
|
active: e.value,
|
|
1438
1438
|
"prepend-icon": `svg:${o(Ft)}`,
|
|
@@ -1440,9 +1440,9 @@ const Oe = K("settings", () => {
|
|
|
1440
1440
|
link: ""
|
|
1441
1441
|
}, {
|
|
1442
1442
|
default: n(() => [
|
|
1443
|
-
t(
|
|
1443
|
+
t(l, {
|
|
1444
1444
|
modelValue: e.value,
|
|
1445
|
-
"onUpdate:modelValue": s[0] || (s[0] = (
|
|
1445
|
+
"onUpdate:modelValue": s[0] || (s[0] = (r) => e.value = r)
|
|
1446
1446
|
}, null, 8, ["modelValue"])
|
|
1447
1447
|
]),
|
|
1448
1448
|
_: 1
|
|
@@ -1453,7 +1453,7 @@ const Oe = K("settings", () => {
|
|
|
1453
1453
|
__name: "VoSubscriptionInvoices",
|
|
1454
1454
|
setup(c) {
|
|
1455
1455
|
const e = Be(), i = T();
|
|
1456
|
-
return (s,
|
|
1456
|
+
return (s, l) => {
|
|
1457
1457
|
const a = Se;
|
|
1458
1458
|
return p(), _(ce, null, {
|
|
1459
1459
|
default: n(() => [
|
|
@@ -1474,15 +1474,15 @@ const Oe = K("settings", () => {
|
|
|
1474
1474
|
loading: o(i).isLoading,
|
|
1475
1475
|
sticky: ""
|
|
1476
1476
|
}, {
|
|
1477
|
-
"item.date": n(({ item:
|
|
1478
|
-
g("div", Ro, L(o(e).format(new Date(
|
|
1477
|
+
"item.date": n(({ item: r }) => [
|
|
1478
|
+
g("div", Ro, L(o(e).format(new Date(r.date * 1e3), "fullDateWithWeekday")), 1)
|
|
1479
1479
|
]),
|
|
1480
|
-
"item.amount": n(({ item:
|
|
1481
|
-
U(" $" + L(
|
|
1480
|
+
"item.amount": n(({ item: r }) => [
|
|
1481
|
+
U(" $" + L(r.amount / 100), 1)
|
|
1482
1482
|
]),
|
|
1483
|
-
"item.status": n(({ item:
|
|
1483
|
+
"item.status": n(({ item: r }) => [
|
|
1484
1484
|
t(G, {
|
|
1485
|
-
text:
|
|
1485
|
+
text: r.status,
|
|
1486
1486
|
border: "success sm",
|
|
1487
1487
|
class: "text-capitalize",
|
|
1488
1488
|
color: "success",
|
|
@@ -1491,9 +1491,9 @@ const Oe = K("settings", () => {
|
|
|
1491
1491
|
label: ""
|
|
1492
1492
|
}, null, 8, ["text"])
|
|
1493
1493
|
]),
|
|
1494
|
-
"item.pdf": n(({ item:
|
|
1494
|
+
"item.pdf": n(({ item: r }) => [
|
|
1495
1495
|
t(W, {
|
|
1496
|
-
href:
|
|
1496
|
+
href: r.pdf,
|
|
1497
1497
|
icon: `svg:${o(Tt)}`,
|
|
1498
1498
|
size: "small",
|
|
1499
1499
|
target: "_blank",
|
|
@@ -1520,13 +1520,13 @@ const Oe = K("settings", () => {
|
|
|
1520
1520
|
__name: "VoSubscriptionStatus",
|
|
1521
1521
|
emits: ["change:subscription"],
|
|
1522
1522
|
setup(c, { emit: e }) {
|
|
1523
|
-
const i = Be(), s = T(),
|
|
1523
|
+
const i = Be(), s = T(), l = e, a = C(() => {
|
|
1524
1524
|
if (!s.info)
|
|
1525
1525
|
return;
|
|
1526
1526
|
const u = new Date(s.info.currentPeriodEnd * 1e3);
|
|
1527
1527
|
return i.format(u, "keyboardDate");
|
|
1528
1528
|
});
|
|
1529
|
-
async function
|
|
1529
|
+
async function r() {
|
|
1530
1530
|
s.interval && (s.isLoading = !0, s.subscribe(s.interval));
|
|
1531
1531
|
}
|
|
1532
1532
|
return (u, f) => {
|
|
@@ -1555,7 +1555,7 @@ const Oe = K("settings", () => {
|
|
|
1555
1555
|
"prepend-icon": "$success",
|
|
1556
1556
|
text: "Activate",
|
|
1557
1557
|
variant: "outlined",
|
|
1558
|
-
onClick:
|
|
1558
|
+
onClick: r
|
|
1559
1559
|
}, null, 8, ["loading"])) : w("", !0),
|
|
1560
1560
|
o(s).hasBilling ? (p(), _(d, {
|
|
1561
1561
|
key: 1,
|
|
@@ -1583,7 +1583,7 @@ const Oe = K("settings", () => {
|
|
|
1583
1583
|
size: "x-small",
|
|
1584
1584
|
text: "(Change Subscription)",
|
|
1585
1585
|
variant: "text",
|
|
1586
|
-
onClick: f[0] || (f[0] = (b) =>
|
|
1586
|
+
onClick: f[0] || (f[0] = (b) => l("change:subscription"))
|
|
1587
1587
|
})
|
|
1588
1588
|
], 64)) : w("", !0)
|
|
1589
1589
|
])
|
|
@@ -1644,10 +1644,10 @@ const Oe = K("settings", () => {
|
|
|
1644
1644
|
'Special role in the <a href="https://discord.vuetifyjs.com/" target="_blank">Vuetify Discord</a>',
|
|
1645
1645
|
'Save and share your playgrounds with <a href="https://play.vuetifyjs.com" target="_blank">Vuetify Play</a>',
|
|
1646
1646
|
"Receive a special label on GitHub created issues and pull requests"
|
|
1647
|
-
], s = B(!1),
|
|
1647
|
+
], s = B(!1), l = T();
|
|
1648
1648
|
return N(s, async (a) => {
|
|
1649
|
-
a &&
|
|
1650
|
-
}), (a,
|
|
1649
|
+
a && l.subscriptionInfo();
|
|
1650
|
+
}), (a, r) => {
|
|
1651
1651
|
const u = Y;
|
|
1652
1652
|
return p(), S(D, null, [
|
|
1653
1653
|
t(Te, { class: "font-weight-black" }, {
|
|
@@ -1731,14 +1731,14 @@ const Oe = K("settings", () => {
|
|
|
1731
1731
|
},
|
|
1732
1732
|
emits: ["update:modelValue"],
|
|
1733
1733
|
setup(c) {
|
|
1734
|
-
const e = B(!1), i =
|
|
1735
|
-
return N(e, async (
|
|
1736
|
-
|
|
1737
|
-
}), N(() => s.interval, (
|
|
1738
|
-
i.value =
|
|
1739
|
-
}, { immediate: !0 }), (
|
|
1734
|
+
const e = B(!1), i = re(c, "modelValue"), s = T();
|
|
1735
|
+
return N(e, async (l) => {
|
|
1736
|
+
l && s.subscriptionInfo();
|
|
1737
|
+
}), N(() => s.interval, (l) => {
|
|
1738
|
+
i.value = l;
|
|
1739
|
+
}, { immediate: !0 }), (l, a) => (p(), _(rt, {
|
|
1740
1740
|
modelValue: i.value,
|
|
1741
|
-
"onUpdate:modelValue": a[0] || (a[0] = (
|
|
1741
|
+
"onUpdate:modelValue": a[0] || (a[0] = (r) => i.value = r),
|
|
1742
1742
|
mandatory: ""
|
|
1743
1743
|
}, {
|
|
1744
1744
|
default: n(() => [
|
|
@@ -1750,7 +1750,7 @@ const Oe = K("settings", () => {
|
|
|
1750
1750
|
}, {
|
|
1751
1751
|
default: n(() => [
|
|
1752
1752
|
t(Me, { value: "month" }, {
|
|
1753
|
-
default: n(({ toggle:
|
|
1753
|
+
default: n(({ toggle: r, isSelected: u }) => [
|
|
1754
1754
|
t(P, {
|
|
1755
1755
|
border: u ? "sm primary opacity-100" : "sm",
|
|
1756
1756
|
color: u ? "primary" : void 0,
|
|
@@ -1759,7 +1759,7 @@ const Oe = K("settings", () => {
|
|
|
1759
1759
|
rounded: "lg",
|
|
1760
1760
|
subtitle: "$2.99/month",
|
|
1761
1761
|
title: "Monthly",
|
|
1762
|
-
onClick:
|
|
1762
|
+
onClick: r
|
|
1763
1763
|
}, {
|
|
1764
1764
|
prepend: n(() => [
|
|
1765
1765
|
t(A, { class: "mt-n6" })
|
|
@@ -1778,7 +1778,7 @@ const Oe = K("settings", () => {
|
|
|
1778
1778
|
}, {
|
|
1779
1779
|
default: n(() => [
|
|
1780
1780
|
t(Me, { value: "year" }, {
|
|
1781
|
-
default: n(({ toggle:
|
|
1781
|
+
default: n(({ toggle: r, isSelected: u }) => [
|
|
1782
1782
|
t(P, {
|
|
1783
1783
|
border: u ? "sm primary opacity-100" : "sm",
|
|
1784
1784
|
color: u ? "primary" : void 0,
|
|
@@ -1787,7 +1787,7 @@ const Oe = K("settings", () => {
|
|
|
1787
1787
|
rounded: "lg",
|
|
1788
1788
|
subtitle: "$29.99/year",
|
|
1789
1789
|
title: "Yearly",
|
|
1790
|
-
onClick:
|
|
1790
|
+
onClick: r
|
|
1791
1791
|
}, {
|
|
1792
1792
|
prepend: n(() => [
|
|
1793
1793
|
t(A, { class: "mt-n6" })
|
|
@@ -1816,7 +1816,7 @@ const Oe = K("settings", () => {
|
|
|
1816
1816
|
_: 1
|
|
1817
1817
|
}, 8, ["modelValue"]));
|
|
1818
1818
|
}
|
|
1819
|
-
}),
|
|
1819
|
+
}), rn = { class: "px-3" }, ln = /* @__PURE__ */ g("br", null, null, -1), cn = { class: "flex-grow-1 px-4 pb-3 overflow-hidden" }, un = /* @__PURE__ */ $({
|
|
1820
1820
|
__name: "VoSubscriptionDialog",
|
|
1821
1821
|
props: {
|
|
1822
1822
|
modelValue: { type: Boolean },
|
|
@@ -1827,20 +1827,20 @@ const Oe = K("settings", () => {
|
|
|
1827
1827
|
function e(d) {
|
|
1828
1828
|
return new Promise((h) => setTimeout(h, d));
|
|
1829
1829
|
}
|
|
1830
|
-
const i =
|
|
1830
|
+
const i = re(c, "modelValue"), s = T(), l = me(), a = B(s.interval), r = B(s.hasBilling ? "status" : "subscribe"), u = B(!1);
|
|
1831
1831
|
N(a, (d) => {
|
|
1832
1832
|
!s.isSubscriber || !s.interval || (u.value = d !== s.interval);
|
|
1833
1833
|
}), N(i, async (d) => {
|
|
1834
1834
|
!d || !s.isSubscriber || s.subscriptionInfo();
|
|
1835
|
-
}), N(
|
|
1836
|
-
!s.sessionId && !["subscribe", "status"].includes(
|
|
1835
|
+
}), N(l, async () => {
|
|
1836
|
+
!s.sessionId && !["subscribe", "status"].includes(l.value.one) || (r.value = s.sessionId || l.value.one === "status" ? "status" : "subscribe", s.isOpen = !0, await ue(), i.value = !0);
|
|
1837
1837
|
}, { immediate: !0 });
|
|
1838
1838
|
async function f() {
|
|
1839
|
-
await s.modify(a.value), await s.subscriptionInfo(), u.value = null, await e(3e3),
|
|
1839
|
+
await s.modify(a.value), await s.subscriptionInfo(), u.value = null, await e(3e3), r.value = "status", await e(300), u.value = !1;
|
|
1840
1840
|
}
|
|
1841
1841
|
return (d, h) => {
|
|
1842
|
-
const V = Se, b = an, x = sn, m = Xo, v = Ho, k = se,
|
|
1843
|
-
return p(), _(
|
|
1842
|
+
const V = Se, b = an, x = sn, m = Xo, v = Ho, k = se, z = we;
|
|
1843
|
+
return p(), _(z, {
|
|
1844
1844
|
modelValue: i.value,
|
|
1845
1845
|
"onUpdate:modelValue": h[4] || (h[4] = (R) => i.value = R),
|
|
1846
1846
|
"prepend-icon": `svg:${o(Rt)}`,
|
|
@@ -1851,14 +1851,14 @@ const Oe = K("settings", () => {
|
|
|
1851
1851
|
default: n(() => [
|
|
1852
1852
|
t($e, { scrollable: "" }, {
|
|
1853
1853
|
default: n(() => [
|
|
1854
|
-
g("div",
|
|
1854
|
+
g("div", rn, [
|
|
1855
1855
|
t(ee, null, {
|
|
1856
1856
|
default: n(() => [
|
|
1857
1857
|
t(V, {
|
|
1858
1858
|
text: "The Vuetify One subscription is a great way to support the Vuetify team and get access to exclusive features and content.",
|
|
1859
1859
|
title: "Vuetify One"
|
|
1860
1860
|
}),
|
|
1861
|
-
t(
|
|
1861
|
+
t(lt, { "model-value": r.value }, {
|
|
1862
1862
|
default: n(() => [
|
|
1863
1863
|
t(_e, { value: "subscribe" }, {
|
|
1864
1864
|
default: n(() => [
|
|
@@ -1866,7 +1866,7 @@ const Oe = K("settings", () => {
|
|
|
1866
1866
|
modelValue: a.value,
|
|
1867
1867
|
"onUpdate:modelValue": h[0] || (h[0] = (R) => a.value = R)
|
|
1868
1868
|
}, null, 8, ["modelValue"]),
|
|
1869
|
-
|
|
1869
|
+
ln,
|
|
1870
1870
|
t(x)
|
|
1871
1871
|
]),
|
|
1872
1872
|
_: 1
|
|
@@ -1874,7 +1874,7 @@ const Oe = K("settings", () => {
|
|
|
1874
1874
|
t(_e, { value: "status" }, {
|
|
1875
1875
|
default: n(() => [
|
|
1876
1876
|
t(m, {
|
|
1877
|
-
"onChange:subscription": h[1] || (h[1] = (R) =>
|
|
1877
|
+
"onChange:subscription": h[1] || (h[1] = (R) => r.value = "subscribe")
|
|
1878
1878
|
}),
|
|
1879
1879
|
t(v)
|
|
1880
1880
|
]),
|
|
@@ -1896,7 +1896,7 @@ const Oe = K("settings", () => {
|
|
|
1896
1896
|
]),
|
|
1897
1897
|
_: 2
|
|
1898
1898
|
}, [
|
|
1899
|
-
|
|
1899
|
+
r.value === "subscribe" ? {
|
|
1900
1900
|
name: "actions",
|
|
1901
1901
|
fn: n(() => [
|
|
1902
1902
|
g("div", cn, [
|
|
@@ -1916,7 +1916,7 @@ const Oe = K("settings", () => {
|
|
|
1916
1916
|
size: "default",
|
|
1917
1917
|
text: "Manage Subscription",
|
|
1918
1918
|
block: "",
|
|
1919
|
-
onClick: h[3] || (h[3] = (R) =>
|
|
1919
|
+
onClick: h[3] || (h[3] = (R) => r.value = "status")
|
|
1920
1920
|
}, null, 8, ["prepend-icon"])) : (p(), _(k, {
|
|
1921
1921
|
key: 1,
|
|
1922
1922
|
color: a.value ? "primary" : "disabled",
|
|
@@ -1940,7 +1940,7 @@ const Oe = K("settings", () => {
|
|
|
1940
1940
|
setup(c) {
|
|
1941
1941
|
const e = B(!1);
|
|
1942
1942
|
return (i, s) => {
|
|
1943
|
-
const
|
|
1943
|
+
const l = un, a = Y;
|
|
1944
1944
|
return p(), _(a, {
|
|
1945
1945
|
active: e.value,
|
|
1946
1946
|
"prepend-icon": `svg:${o(Wt)}`,
|
|
@@ -1948,9 +1948,9 @@ const Oe = K("settings", () => {
|
|
|
1948
1948
|
link: ""
|
|
1949
1949
|
}, {
|
|
1950
1950
|
default: n(() => [
|
|
1951
|
-
t(
|
|
1951
|
+
t(l, {
|
|
1952
1952
|
modelValue: e.value,
|
|
1953
|
-
"onUpdate:modelValue": s[0] || (s[0] = (
|
|
1953
|
+
"onUpdate:modelValue": s[0] || (s[0] = (r) => e.value = r)
|
|
1954
1954
|
}, null, 8, ["modelValue"])
|
|
1955
1955
|
]),
|
|
1956
1956
|
_: 1
|
|
@@ -1960,12 +1960,12 @@ const Oe = K("settings", () => {
|
|
|
1960
1960
|
}), pn = { class: "ps-16" }, mn = /* @__PURE__ */ $({
|
|
1961
1961
|
__name: "VoSponsorshipsTimelineItemPatreon",
|
|
1962
1962
|
setup(c) {
|
|
1963
|
-
const e = T(), i =
|
|
1964
|
-
return (s,
|
|
1965
|
-
var
|
|
1963
|
+
const e = T(), i = ze();
|
|
1964
|
+
return (s, l) => {
|
|
1965
|
+
var r, u;
|
|
1966
1966
|
const a = se;
|
|
1967
1967
|
return p(), _(Ze, {
|
|
1968
|
-
"dot-color": (
|
|
1968
|
+
"dot-color": (r = o(e).patreon) != null && r.isActive ? "success" : "transparent",
|
|
1969
1969
|
icon: (u = o(e).patreon) != null && u.isActive ? `svg:${o(de)}` : void 0,
|
|
1970
1970
|
size: "x-small",
|
|
1971
1971
|
width: "100%"
|
|
@@ -2021,12 +2021,12 @@ const Oe = K("settings", () => {
|
|
|
2021
2021
|
}), fn = { class: "ps-16" }, vn = /* @__PURE__ */ $({
|
|
2022
2022
|
__name: "VoSponsorshipsTimelineItemDiscord",
|
|
2023
2023
|
setup(c) {
|
|
2024
|
-
const e = T(), i =
|
|
2025
|
-
return (s,
|
|
2026
|
-
var
|
|
2024
|
+
const e = T(), i = ze();
|
|
2025
|
+
return (s, l) => {
|
|
2026
|
+
var r, u;
|
|
2027
2027
|
const a = se;
|
|
2028
2028
|
return p(), _(Ze, {
|
|
2029
|
-
"dot-color": (
|
|
2029
|
+
"dot-color": (r = o(e).discord) != null && r.isActive ? "success" : "transparent",
|
|
2030
2030
|
icon: (u = o(e).discord) != null && u.isActive ? `svg:${o(de)}` : void 0,
|
|
2031
2031
|
size: "x-small",
|
|
2032
2032
|
width: "100%"
|
|
@@ -2087,12 +2087,12 @@ const Oe = K("settings", () => {
|
|
|
2087
2087
|
}), _n = { class: "ps-16" }, hn = /* @__PURE__ */ $({
|
|
2088
2088
|
__name: "VoSponsorshipsTimelineItemGithub",
|
|
2089
2089
|
setup(c) {
|
|
2090
|
-
const e = T(), i =
|
|
2091
|
-
return (s,
|
|
2092
|
-
var
|
|
2090
|
+
const e = T(), i = ze();
|
|
2091
|
+
return (s, l) => {
|
|
2092
|
+
var r, u;
|
|
2093
2093
|
const a = se;
|
|
2094
2094
|
return p(), _(Ze, {
|
|
2095
|
-
"dot-color": (
|
|
2095
|
+
"dot-color": (r = o(e).github) != null && r.isActive ? "success" : "transparent",
|
|
2096
2096
|
icon: (u = o(e).github) != null && u.isActive ? `svg:${o(de)}` : void 0,
|
|
2097
2097
|
size: "x-small",
|
|
2098
2098
|
width: "100%"
|
|
@@ -2154,7 +2154,7 @@ const Oe = K("settings", () => {
|
|
|
2154
2154
|
__name: "VoSponsorshipsTimeline",
|
|
2155
2155
|
setup(c) {
|
|
2156
2156
|
return (e, i) => {
|
|
2157
|
-
const s = hn,
|
|
2157
|
+
const s = hn, l = vn, a = mn;
|
|
2158
2158
|
return p(), _(ho, {
|
|
2159
2159
|
class: "justify-start ms-n7",
|
|
2160
2160
|
"line-inset": "12",
|
|
@@ -2164,7 +2164,7 @@ const Oe = K("settings", () => {
|
|
|
2164
2164
|
}, {
|
|
2165
2165
|
default: n(() => [
|
|
2166
2166
|
t(s),
|
|
2167
|
-
t(
|
|
2167
|
+
t(l),
|
|
2168
2168
|
t(a)
|
|
2169
2169
|
]),
|
|
2170
2170
|
_: 1
|
|
@@ -2183,14 +2183,14 @@ const Oe = K("settings", () => {
|
|
|
2183
2183
|
},
|
|
2184
2184
|
emits: ["update:modelValue"],
|
|
2185
2185
|
setup(c) {
|
|
2186
|
-
const e =
|
|
2186
|
+
const e = re(c, "modelValue"), i = me(), s = O(), l = T();
|
|
2187
2187
|
return N(i, async () => {
|
|
2188
|
-
i.value.one === "sponsorships" && (
|
|
2189
|
-
}, { immediate: !0 }), (a,
|
|
2188
|
+
i.value.one === "sponsorships" && (l.isOpen = !0, await ue(), e.value = !0);
|
|
2189
|
+
}, { immediate: !0 }), (a, r) => {
|
|
2190
2190
|
const u = Se, f = gn, d = Re("v-empty-state"), h = we;
|
|
2191
2191
|
return p(), _(h, {
|
|
2192
2192
|
modelValue: e.value,
|
|
2193
|
-
"onUpdate:modelValue":
|
|
2193
|
+
"onUpdate:modelValue": r[0] || (r[0] = (V) => e.value = V),
|
|
2194
2194
|
"prepend-icon": `svg:${o(Gt)}`,
|
|
2195
2195
|
title: "Sponsorships"
|
|
2196
2196
|
}, {
|
|
@@ -2223,7 +2223,7 @@ const Oe = K("settings", () => {
|
|
|
2223
2223
|
headline: n(() => [
|
|
2224
2224
|
g("div", bn, [
|
|
2225
2225
|
o(s).isSubscriber ? (p(), S(D, { key: 0 }, [
|
|
2226
|
-
U(" $" + L(parseFloat(String(o(
|
|
2226
|
+
U(" $" + L(parseFloat(String(o(l).monthlyTotal)).toFixed(2)), 1)
|
|
2227
2227
|
], 64)) : (p(), S(D, { key: 1 }, [
|
|
2228
2228
|
U(" $0.00 ")
|
|
2229
2229
|
], 64))
|
|
@@ -2251,7 +2251,7 @@ const Oe = K("settings", () => {
|
|
|
2251
2251
|
setup(c) {
|
|
2252
2252
|
const e = B(!1);
|
|
2253
2253
|
return (i, s) => {
|
|
2254
|
-
const
|
|
2254
|
+
const l = kn, a = Y;
|
|
2255
2255
|
return p(), _(a, {
|
|
2256
2256
|
active: e.value,
|
|
2257
2257
|
"prepend-icon": `svg:${o(Zt)}`,
|
|
@@ -2259,9 +2259,9 @@ const Oe = K("settings", () => {
|
|
|
2259
2259
|
link: ""
|
|
2260
2260
|
}, {
|
|
2261
2261
|
default: n(() => [
|
|
2262
|
-
t(
|
|
2262
|
+
t(l, {
|
|
2263
2263
|
modelValue: e.value,
|
|
2264
|
-
"onUpdate:modelValue": s[0] || (s[0] = (
|
|
2264
|
+
"onUpdate:modelValue": s[0] || (s[0] = (r) => e.value = r)
|
|
2265
2265
|
}, null, 8, ["modelValue"])
|
|
2266
2266
|
]),
|
|
2267
2267
|
_: 1
|
|
@@ -2325,17 +2325,17 @@ const Oe = K("settings", () => {
|
|
|
2325
2325
|
cover: ""
|
|
2326
2326
|
}, null, 8, ["src"]))
|
|
2327
2327
|
])) : w("", !0),
|
|
2328
|
-
(p(), S(D, null, te(e, (
|
|
2329
|
-
key:
|
|
2330
|
-
href:
|
|
2331
|
-
title:
|
|
2328
|
+
(p(), S(D, null, te(e, (l) => g("a", {
|
|
2329
|
+
key: l.title,
|
|
2330
|
+
href: l.href,
|
|
2331
|
+
title: l.title,
|
|
2332
2332
|
class: "d-inline-block mx-2 social-link",
|
|
2333
2333
|
rel: "noopener noreferrer",
|
|
2334
2334
|
target: "_blank"
|
|
2335
2335
|
}, [
|
|
2336
2336
|
t(A, {
|
|
2337
|
-
icon:
|
|
2338
|
-
size:
|
|
2337
|
+
icon: l.icon,
|
|
2338
|
+
size: l.icon === "$vuetify" ? 24 : 16
|
|
2339
2339
|
}, null, 8, ["icon", "size"])
|
|
2340
2340
|
], 8, Sn)), 64)),
|
|
2341
2341
|
g("div", Cn, [
|
|
@@ -2348,10 +2348,10 @@ const Oe = K("settings", () => {
|
|
|
2348
2348
|
}
|
|
2349
2349
|
}), An = (c, e) => {
|
|
2350
2350
|
const i = c.__vccOpts || c;
|
|
2351
|
-
for (const [s,
|
|
2352
|
-
i[s] =
|
|
2351
|
+
for (const [s, l] of e)
|
|
2352
|
+
i[s] = l;
|
|
2353
2353
|
return i;
|
|
2354
|
-
}, vt = /* @__PURE__ */ An(In, [["__scopeId", "data-v-40687c9d"]]), Dn = /* @__PURE__ */ g("h2", { class: "text-h4" }, " Configuration Tooling ", -1), Bn = /* @__PURE__ */ g("p", { class: "text-subtitle-1 text-medium-emphasis" }, " Coming soon to Vuetify One ", -1), Un = { class: "text-uppercase text-info" }, Nn = { class: "text-h6 mb-2" },
|
|
2354
|
+
}, vt = /* @__PURE__ */ An(In, [["__scopeId", "data-v-40687c9d"]]), Dn = /* @__PURE__ */ g("h2", { class: "text-h4" }, " Configuration Tooling ", -1), Bn = /* @__PURE__ */ g("p", { class: "text-subtitle-1 text-medium-emphasis" }, " Coming soon to Vuetify One ", -1), Un = { class: "text-uppercase text-info" }, Nn = { class: "text-h6 mb-2" }, zn = { class: "text-body-2 text-medium-emphasis" }, On = /* @__PURE__ */ g("div", null, " Become a subscriber and be the first to gain access to the Vuetify Studio Alpha when it releases in April 2024. ", -1), jn = /* @__PURE__ */ $({
|
|
2355
2355
|
__name: "VoStudioDialog",
|
|
2356
2356
|
props: /* @__PURE__ */ Xe({
|
|
2357
2357
|
prependIcon: {}
|
|
@@ -2361,24 +2361,24 @@ const Oe = K("settings", () => {
|
|
|
2361
2361
|
}),
|
|
2362
2362
|
emits: ["update:modelValue"],
|
|
2363
2363
|
setup(c) {
|
|
2364
|
-
const e =
|
|
2364
|
+
const e = re(c, "modelValue"), i = me(), s = Ae(), l = O(), a = T(), r = [
|
|
2365
2365
|
{
|
|
2366
2366
|
title: "Customize",
|
|
2367
2367
|
subtitle: "Customize your Vuetify theme, components, and more with the Vuetify Studio.",
|
|
2368
2368
|
text: "Vuetify Studio is a premium tool that allows you to customize your Vuetify theme, components, and more. Unlock Vuetify One status to gain access to the Vuetify Studio Alpha.",
|
|
2369
|
-
image: "https://
|
|
2369
|
+
image: "https://cdn.vuetifyjs.com/docs/images/one/studio/customize.png"
|
|
2370
2370
|
},
|
|
2371
2371
|
{
|
|
2372
2372
|
title: "Configure",
|
|
2373
2373
|
subtitle: "Configure every aspect of your application from a single interface.",
|
|
2374
2374
|
text: "Vuetify Studio allows you to configure every single property of your application, including global values, and more.",
|
|
2375
|
-
image: "https://
|
|
2375
|
+
image: "https://cdn.vuetifyjs.com/docs/images/one/studio/configure.png"
|
|
2376
2376
|
},
|
|
2377
2377
|
{
|
|
2378
2378
|
title: "Export",
|
|
2379
2379
|
subtitle: "Export your configuration and easily implement your options.",
|
|
2380
2380
|
text: "Vuetify Studio allows you to export your options to a Vuetify configuration file for easy integration into your application.",
|
|
2381
|
-
image: "https://
|
|
2381
|
+
image: "https://cdn.vuetifyjs.com/docs/images/one/studio/export.png"
|
|
2382
2382
|
}
|
|
2383
2383
|
];
|
|
2384
2384
|
N(i, async () => {
|
|
@@ -2406,7 +2406,7 @@ const Oe = K("settings", () => {
|
|
|
2406
2406
|
height: "350",
|
|
2407
2407
|
"max-height": "350",
|
|
2408
2408
|
position: "top",
|
|
2409
|
-
src: "https://
|
|
2409
|
+
src: "https://cdn.vuetifyjs.com/docs/images/one/studio/hero.png",
|
|
2410
2410
|
cover: ""
|
|
2411
2411
|
}, {
|
|
2412
2412
|
default: n(() => [
|
|
@@ -2429,7 +2429,7 @@ const Oe = K("settings", () => {
|
|
|
2429
2429
|
]),
|
|
2430
2430
|
_: 1
|
|
2431
2431
|
}),
|
|
2432
|
-
(p(), S(D, null, te(
|
|
2432
|
+
(p(), S(D, null, te(r, (x, m) => t(ge, {
|
|
2433
2433
|
key: m,
|
|
2434
2434
|
color: m % 2 === 0 ? "surface-light" : "surface-variant",
|
|
2435
2435
|
class: "py-8"
|
|
@@ -2447,7 +2447,7 @@ const Oe = K("settings", () => {
|
|
|
2447
2447
|
default: n(() => [
|
|
2448
2448
|
g("strong", Un, L(x.title), 1),
|
|
2449
2449
|
g("p", Nn, L(x.subtitle), 1),
|
|
2450
|
-
g("p",
|
|
2450
|
+
g("p", zn, L(x.text), 1)
|
|
2451
2451
|
]),
|
|
2452
2452
|
_: 2
|
|
2453
2453
|
}, 1032, ["order"]),
|
|
@@ -2474,7 +2474,7 @@ const Oe = K("settings", () => {
|
|
|
2474
2474
|
]),
|
|
2475
2475
|
_: 2
|
|
2476
2476
|
}, 1032, ["color"])), 64)),
|
|
2477
|
-
o(
|
|
2477
|
+
o(l).isSubscriber ? w("", !0) : (p(), _(ge, {
|
|
2478
2478
|
key: 0,
|
|
2479
2479
|
class: "text-center py-6"
|
|
2480
2480
|
}, {
|
|
@@ -2486,10 +2486,10 @@ const Oe = K("settings", () => {
|
|
|
2486
2486
|
t(J, { cols: "6" }, {
|
|
2487
2487
|
default: n(() => [
|
|
2488
2488
|
t(ne, {
|
|
2489
|
-
image: "https://vuetifyjs.
|
|
2489
|
+
image: "https://cdn.vuetifyjs.com/docs/images/avatars/one.png",
|
|
2490
2490
|
size: "64"
|
|
2491
2491
|
}),
|
|
2492
|
-
|
|
2492
|
+
On
|
|
2493
2493
|
]),
|
|
2494
2494
|
_: 1
|
|
2495
2495
|
}),
|
|
@@ -2534,9 +2534,9 @@ const Oe = K("settings", () => {
|
|
|
2534
2534
|
["M12.435 14.3194L22 4L9.26479 7.61064L12.435 14.3194Z", 1],
|
|
2535
2535
|
["M2 4L6.87046 12.2799L9.26479 7.61064L2 4Z", 1]
|
|
2536
2536
|
];
|
|
2537
|
-
return (s,
|
|
2538
|
-
const a = jn,
|
|
2539
|
-
return p(), _(
|
|
2537
|
+
return (s, l) => {
|
|
2538
|
+
const a = jn, r = Y;
|
|
2539
|
+
return p(), _(r, {
|
|
2540
2540
|
active: e.value,
|
|
2541
2541
|
"prepend-icon": i,
|
|
2542
2542
|
title: "Vuetify Studio",
|
|
@@ -2556,7 +2556,7 @@ const Oe = K("settings", () => {
|
|
|
2556
2556
|
default: n(() => [
|
|
2557
2557
|
t(a, {
|
|
2558
2558
|
modelValue: e.value,
|
|
2559
|
-
"onUpdate:modelValue":
|
|
2559
|
+
"onUpdate:modelValue": l[0] || (l[0] = (u) => e.value = u),
|
|
2560
2560
|
"prepend-icon": i
|
|
2561
2561
|
}, null, 8, ["modelValue"])
|
|
2562
2562
|
]),
|
|
@@ -2577,13 +2577,13 @@ const Oe = K("settings", () => {
|
|
|
2577
2577
|
},
|
|
2578
2578
|
setup(c) {
|
|
2579
2579
|
const e = Be(), i = pe(), s = j();
|
|
2580
|
-
function r
|
|
2581
|
-
return s.notifications.last.banner.includes(
|
|
2580
|
+
function l(r) {
|
|
2581
|
+
return s.notifications.last.banner.includes(r);
|
|
2582
2582
|
}
|
|
2583
|
-
function a(
|
|
2584
|
-
r
|
|
2583
|
+
function a(r) {
|
|
2584
|
+
l(r.slug) ? s.notifications.last.banner = s.notifications.last.banner.filter((u) => u !== r.slug) : s.notifications.last.banner.push(r.slug);
|
|
2585
2585
|
}
|
|
2586
|
-
return (
|
|
2586
|
+
return (r, u) => {
|
|
2587
2587
|
const f = Re("v-empty-state");
|
|
2588
2588
|
return p(), _(oe, {
|
|
2589
2589
|
class: "py-0",
|
|
@@ -2591,8 +2591,8 @@ const Oe = K("settings", () => {
|
|
|
2591
2591
|
lines: "three"
|
|
2592
2592
|
}, {
|
|
2593
2593
|
default: n(() => [
|
|
2594
|
-
|
|
2595
|
-
(p(!0), S(D, null, te(
|
|
2594
|
+
r.items.length ? (p(), S("div", Pn, [
|
|
2595
|
+
(p(!0), S(D, null, te(r.items, (d) => {
|
|
2596
2596
|
var h;
|
|
2597
2597
|
return p(), S("div", {
|
|
2598
2598
|
key: d.slug,
|
|
@@ -2627,14 +2627,14 @@ const Oe = K("settings", () => {
|
|
|
2627
2627
|
}), {
|
|
2628
2628
|
default: n(() => [
|
|
2629
2629
|
t(X, {
|
|
2630
|
-
text:
|
|
2630
|
+
text: l(d.slug) ? "Mark as unread" : "Mark as read",
|
|
2631
2631
|
location: "bottom"
|
|
2632
2632
|
}, {
|
|
2633
2633
|
activator: n(({ props: x }) => [
|
|
2634
2634
|
t(De, { "hide-on-leave": "" }, {
|
|
2635
2635
|
default: n(() => [
|
|
2636
2636
|
Ie(t(W, H(x, {
|
|
2637
|
-
icon: `svg:${
|
|
2637
|
+
icon: `svg:${l(d.slug) ? o(nt) : o(ot)}`,
|
|
2638
2638
|
class: "ms-auto float-right",
|
|
2639
2639
|
size: "small",
|
|
2640
2640
|
variant: "text",
|
|
@@ -2703,7 +2703,7 @@ const Oe = K("settings", () => {
|
|
|
2703
2703
|
notification: {}
|
|
2704
2704
|
},
|
|
2705
2705
|
setup(c) {
|
|
2706
|
-
const e = c, i = j(), s = Be(),
|
|
2706
|
+
const e = c, i = j(), s = Be(), l = pe(), a = C(() => {
|
|
2707
2707
|
const f = e.notification.metadata ?? { action: "" };
|
|
2708
2708
|
return {
|
|
2709
2709
|
href: f.action.startsWith("http") ? f.action : void 0,
|
|
@@ -2715,11 +2715,11 @@ const Oe = K("settings", () => {
|
|
|
2715
2715
|
}
|
|
2716
2716
|
};
|
|
2717
2717
|
});
|
|
2718
|
-
function
|
|
2718
|
+
function r(f) {
|
|
2719
2719
|
return i.notifications.read.includes(f);
|
|
2720
2720
|
}
|
|
2721
2721
|
function u(f) {
|
|
2722
|
-
e.demo || (
|
|
2722
|
+
e.demo || (r(f.slug) ? i.notifications.read = i.notifications.read.filter((d) => d !== f.slug) : i.notifications.read.push(f.slug));
|
|
2723
2723
|
}
|
|
2724
2724
|
return (f, d) => {
|
|
2725
2725
|
const h = Y;
|
|
@@ -2736,21 +2736,21 @@ const Oe = K("settings", () => {
|
|
|
2736
2736
|
}, {
|
|
2737
2737
|
default: n(() => [
|
|
2738
2738
|
t(X, {
|
|
2739
|
-
text:
|
|
2739
|
+
text: r(f.notification.slug) ? "Mark as unread" : "Mark as read",
|
|
2740
2740
|
location: "bottom"
|
|
2741
2741
|
}, {
|
|
2742
2742
|
activator: n(({ props: x }) => [
|
|
2743
2743
|
t(De, { "hide-on-leave": "" }, {
|
|
2744
2744
|
default: n(() => [
|
|
2745
2745
|
Ie(t(W, H(x, {
|
|
2746
|
-
icon: `svg:${
|
|
2746
|
+
icon: `svg:${r(f.notification.slug) ? o(nt) : o(ot)}`,
|
|
2747
2747
|
class: "ms-auto",
|
|
2748
2748
|
size: "small",
|
|
2749
2749
|
variant: "text",
|
|
2750
2750
|
"mdi-email-variant": "",
|
|
2751
2751
|
onClick: d[0] || (d[0] = (m) => u(f.notification))
|
|
2752
2752
|
}), null, 16, ["icon"]), [
|
|
2753
|
-
[He, V || o(
|
|
2753
|
+
[He, V || o(l).mobile.value]
|
|
2754
2754
|
])
|
|
2755
2755
|
]),
|
|
2756
2756
|
_: 2
|
|
@@ -2803,18 +2803,18 @@ const Oe = K("settings", () => {
|
|
|
2803
2803
|
},
|
|
2804
2804
|
setup(c) {
|
|
2805
2805
|
return (e, i) => {
|
|
2806
|
-
const s = Re("v-empty-state"),
|
|
2806
|
+
const s = Re("v-empty-state"), l = Qn;
|
|
2807
2807
|
return p(), _(oe, {
|
|
2808
2808
|
class: "py-0",
|
|
2809
2809
|
height: "100%",
|
|
2810
2810
|
lines: "three"
|
|
2811
2811
|
}, {
|
|
2812
2812
|
default: n(() => [
|
|
2813
|
-
e.items.length ? (p(!0), S(D, { key: 1 }, te(e.items, (a,
|
|
2813
|
+
e.items.length ? (p(!0), S(D, { key: 1 }, te(e.items, (a, r) => (p(), S(D, {
|
|
2814
2814
|
key: a.slug
|
|
2815
2815
|
}, [
|
|
2816
|
-
|
|
2817
|
-
t(
|
|
2816
|
+
r !== 0 ? (p(), _(E, { key: 0 })) : w("", !0),
|
|
2817
|
+
t(l, { notification: a }, null, 8, ["notification"])
|
|
2818
2818
|
], 64))), 128)) : (p(), S("div", Jn, [
|
|
2819
2819
|
t(s, {
|
|
2820
2820
|
icon: "$vuetify",
|
|
@@ -2840,14 +2840,14 @@ const Oe = K("settings", () => {
|
|
|
2840
2840
|
id: c,
|
|
2841
2841
|
url: e
|
|
2842
2842
|
};
|
|
2843
|
-
}),
|
|
2844
|
-
const c = xe(), e = es(), i = j(), s = F([]),
|
|
2843
|
+
}), Oe = K("banners", () => {
|
|
2844
|
+
const c = xe(), e = es(), i = j(), s = F([]), l = F([]), a = F(), r = B(!1), u = C(() => a.value ? a.value : f.value ? f.value : s.value.find(({
|
|
2845
2845
|
slug: m,
|
|
2846
2846
|
metadata: {
|
|
2847
2847
|
site: v,
|
|
2848
2848
|
active: k
|
|
2849
2849
|
}
|
|
2850
|
-
}) => !k || i.notifications.last.banner.includes(m) ? !1 : v.includes("dev") && !1 || v.includes("*") ? !0 : v.some((
|
|
2850
|
+
}) => !k || i.notifications.last.banner.includes(m) ? !1 : v.includes("dev") && !1 || v.includes("*") ? !0 : v.some((z) => e.id.includes(z)))), f = C(() => s.value.find(({
|
|
2851
2851
|
metadata: {
|
|
2852
2852
|
site: m,
|
|
2853
2853
|
active: v
|
|
@@ -2855,28 +2855,28 @@ const Oe = K("settings", () => {
|
|
|
2855
2855
|
}) => v ? m.includes("server") : !1));
|
|
2856
2856
|
async function d() {
|
|
2857
2857
|
try {
|
|
2858
|
-
|
|
2858
|
+
r.value = !0;
|
|
2859
2859
|
const m = await c.get("/one/banners");
|
|
2860
2860
|
s.value = m.banners;
|
|
2861
2861
|
} catch {
|
|
2862
2862
|
} finally {
|
|
2863
|
-
|
|
2863
|
+
r.value = !1;
|
|
2864
2864
|
}
|
|
2865
2865
|
return s.value;
|
|
2866
2866
|
}
|
|
2867
2867
|
async function h(m) {
|
|
2868
2868
|
try {
|
|
2869
|
-
|
|
2869
|
+
r.value = !0;
|
|
2870
2870
|
const v = await c.get(`/one/admin/banners/${m}/edit`);
|
|
2871
2871
|
return a.value = v.banner, v.banner;
|
|
2872
2872
|
} catch {
|
|
2873
2873
|
} finally {
|
|
2874
|
-
|
|
2874
|
+
r.value = !1;
|
|
2875
2875
|
}
|
|
2876
2876
|
}
|
|
2877
2877
|
async function V(m, v) {
|
|
2878
2878
|
try {
|
|
2879
|
-
|
|
2879
|
+
r.value = !0;
|
|
2880
2880
|
const k = await c.form(
|
|
2881
2881
|
`/one/admin/banners/${m}/edit`,
|
|
2882
2882
|
v
|
|
@@ -2884,12 +2884,12 @@ const Oe = K("settings", () => {
|
|
|
2884
2884
|
return a.value = k.banner, k.banner;
|
|
2885
2885
|
} catch {
|
|
2886
2886
|
} finally {
|
|
2887
|
-
|
|
2887
|
+
r.value = !1;
|
|
2888
2888
|
}
|
|
2889
2889
|
}
|
|
2890
2890
|
async function b(m) {
|
|
2891
2891
|
try {
|
|
2892
|
-
|
|
2892
|
+
r.value = !0;
|
|
2893
2893
|
const v = await c.form(
|
|
2894
2894
|
"/one/admin/banners",
|
|
2895
2895
|
m
|
|
@@ -2897,24 +2897,24 @@ const Oe = K("settings", () => {
|
|
|
2897
2897
|
return a.value = v.banner, v.banner;
|
|
2898
2898
|
} catch {
|
|
2899
2899
|
} finally {
|
|
2900
|
-
|
|
2900
|
+
r.value = !1;
|
|
2901
2901
|
}
|
|
2902
2902
|
}
|
|
2903
2903
|
async function x() {
|
|
2904
2904
|
try {
|
|
2905
|
-
|
|
2905
|
+
r.value = !0;
|
|
2906
2906
|
const m = await c.get("/one/admin/banners");
|
|
2907
|
-
|
|
2907
|
+
l.value = m.banners;
|
|
2908
2908
|
} catch {
|
|
2909
2909
|
} finally {
|
|
2910
|
-
|
|
2910
|
+
r.value = !1;
|
|
2911
2911
|
}
|
|
2912
2912
|
return s.value;
|
|
2913
2913
|
}
|
|
2914
2914
|
return {
|
|
2915
2915
|
all: s,
|
|
2916
|
-
aall:
|
|
2917
|
-
isLoading:
|
|
2916
|
+
aall: l,
|
|
2917
|
+
isLoading: r,
|
|
2918
2918
|
server: f,
|
|
2919
2919
|
banner: u,
|
|
2920
2920
|
record: a,
|
|
@@ -2932,7 +2932,7 @@ const Oe = K("settings", () => {
|
|
|
2932
2932
|
},
|
|
2933
2933
|
emits: ["update:modelValue"],
|
|
2934
2934
|
setup(c) {
|
|
2935
|
-
const e = pe(), i = me(), s =
|
|
2935
|
+
const e = pe(), i = me(), s = Oe(), l = Ne(), a = T(), r = B(["read"]), u = re(c, "modelValue");
|
|
2936
2936
|
return N(i, async () => {
|
|
2937
2937
|
if (i.value.one !== "notifications") {
|
|
2938
2938
|
u.value && (u.value = !1);
|
|
@@ -2957,8 +2957,8 @@ const Oe = K("settings", () => {
|
|
|
2957
2957
|
}, {
|
|
2958
2958
|
default: n(() => [
|
|
2959
2959
|
t(oe, {
|
|
2960
|
-
selected:
|
|
2961
|
-
"onUpdate:selected": d[0] || (d[0] = (m) =>
|
|
2960
|
+
selected: r.value,
|
|
2961
|
+
"onUpdate:selected": d[0] || (d[0] = (m) => r.value = m),
|
|
2962
2962
|
class: "px-4 pt-4",
|
|
2963
2963
|
density: "compact",
|
|
2964
2964
|
mandatory: "",
|
|
@@ -2970,10 +2970,10 @@ const Oe = K("settings", () => {
|
|
|
2970
2970
|
title: "Unread",
|
|
2971
2971
|
value: "read"
|
|
2972
2972
|
}, q({ _: 2 }, [
|
|
2973
|
-
o(
|
|
2973
|
+
o(l).unread.length > 0 ? {
|
|
2974
2974
|
name: "append",
|
|
2975
2975
|
fn: n(() => [
|
|
2976
|
-
g("span", ts, L(o(
|
|
2976
|
+
g("span", ts, L(o(l).unread.length), 1)
|
|
2977
2977
|
]),
|
|
2978
2978
|
key: "0"
|
|
2979
2979
|
} : void 0
|
|
@@ -2983,10 +2983,10 @@ const Oe = K("settings", () => {
|
|
|
2983
2983
|
title: "Read",
|
|
2984
2984
|
value: "unread"
|
|
2985
2985
|
}, q({ _: 2 }, [
|
|
2986
|
-
o(
|
|
2986
|
+
o(l).read.length > 0 ? {
|
|
2987
2987
|
name: "append",
|
|
2988
2988
|
fn: n(() => [
|
|
2989
|
-
g("span", os, L(o(
|
|
2989
|
+
g("span", os, L(o(l).read.length), 1)
|
|
2990
2990
|
]),
|
|
2991
2991
|
key: "0"
|
|
2992
2992
|
} : void 0
|
|
@@ -3013,15 +3013,15 @@ const Oe = K("settings", () => {
|
|
|
3013
3013
|
}, 8, ["location", "width"]),
|
|
3014
3014
|
t($e, { scrollable: "" }, {
|
|
3015
3015
|
default: n(() => [
|
|
3016
|
-
t(
|
|
3017
|
-
modelValue:
|
|
3018
|
-
"onUpdate:modelValue": d[1] || (d[1] = (m) =>
|
|
3016
|
+
t(lt, {
|
|
3017
|
+
modelValue: r.value,
|
|
3018
|
+
"onUpdate:modelValue": d[1] || (d[1] = (m) => r.value = m)
|
|
3019
3019
|
}, {
|
|
3020
3020
|
default: n(() => [
|
|
3021
3021
|
t(_e, { value: "read" }, {
|
|
3022
3022
|
default: n(() => [
|
|
3023
3023
|
t(V, {
|
|
3024
|
-
items: o(
|
|
3024
|
+
items: o(l).unread
|
|
3025
3025
|
}, null, 8, ["items"])
|
|
3026
3026
|
]),
|
|
3027
3027
|
_: 1
|
|
@@ -3029,7 +3029,7 @@ const Oe = K("settings", () => {
|
|
|
3029
3029
|
t(_e, { value: "unread" }, {
|
|
3030
3030
|
default: n(() => [
|
|
3031
3031
|
t(V, {
|
|
3032
|
-
items: o(
|
|
3032
|
+
items: o(l).read
|
|
3033
3033
|
}, null, 8, ["items"])
|
|
3034
3034
|
]),
|
|
3035
3035
|
_: 1
|
|
@@ -3060,7 +3060,7 @@ const Oe = K("settings", () => {
|
|
|
3060
3060
|
__name: "VoNotificationsBadge",
|
|
3061
3061
|
setup(c) {
|
|
3062
3062
|
const e = Ne(), i = j();
|
|
3063
|
-
return (s,
|
|
3063
|
+
return (s, l) => (p(), _(qe, {
|
|
3064
3064
|
content: o(e).unread.length,
|
|
3065
3065
|
"model-value": o(i).notifications.show && o(e).unread.length > 0,
|
|
3066
3066
|
color: "error"
|
|
@@ -3074,22 +3074,22 @@ const Oe = K("settings", () => {
|
|
|
3074
3074
|
}), as = /* @__PURE__ */ $({
|
|
3075
3075
|
__name: "VoNotificationsNavItem",
|
|
3076
3076
|
setup(c) {
|
|
3077
|
-
const e =
|
|
3077
|
+
const e = Oe(), i = j(), s = Ne(), l = B(!1);
|
|
3078
3078
|
return kt(async () => {
|
|
3079
3079
|
s.index(), e.get();
|
|
3080
|
-
}), (a,
|
|
3080
|
+
}), (a, r) => {
|
|
3081
3081
|
const u = ss, f = ns, d = Y;
|
|
3082
3082
|
return o(i).notifications.show ? (p(), _(d, {
|
|
3083
3083
|
key: 0,
|
|
3084
|
-
active:
|
|
3084
|
+
active: l.value,
|
|
3085
3085
|
"prepend-icon": `svg:${o(to)}`,
|
|
3086
3086
|
title: "Notifications",
|
|
3087
3087
|
link: ""
|
|
3088
3088
|
}, q({
|
|
3089
3089
|
default: n(() => [
|
|
3090
3090
|
t(f, {
|
|
3091
|
-
modelValue:
|
|
3092
|
-
"onUpdate:modelValue":
|
|
3091
|
+
modelValue: l.value,
|
|
3092
|
+
"onUpdate:modelValue": r[0] || (r[0] = (h) => l.value = h)
|
|
3093
3093
|
}, null, 8, ["modelValue"])
|
|
3094
3094
|
]),
|
|
3095
3095
|
_: 2
|
|
@@ -3114,8 +3114,8 @@ const Oe = K("settings", () => {
|
|
|
3114
3114
|
setup(c) {
|
|
3115
3115
|
const e = T();
|
|
3116
3116
|
return (i, s) => {
|
|
3117
|
-
const
|
|
3118
|
-
return p(), _(
|
|
3117
|
+
const l = Y;
|
|
3118
|
+
return p(), _(l, {
|
|
3119
3119
|
"prepend-icon": `svg:${o(oo)}`,
|
|
3120
3120
|
title: "Dashboard",
|
|
3121
3121
|
to: "/user/dashboard",
|
|
@@ -3123,21 +3123,21 @@ const Oe = K("settings", () => {
|
|
|
3123
3123
|
}, null, 8, ["prepend-icon"]);
|
|
3124
3124
|
};
|
|
3125
3125
|
}
|
|
3126
|
-
}),
|
|
3126
|
+
}), rs = /* @__PURE__ */ $({
|
|
3127
3127
|
__name: "VoUserList",
|
|
3128
3128
|
setup(c) {
|
|
3129
|
-
const e =
|
|
3129
|
+
const e = O();
|
|
3130
3130
|
return (i, s) => {
|
|
3131
|
-
const
|
|
3131
|
+
const l = is, a = as, r = Fn, u = $n, f = dn, d = Po, h = zo;
|
|
3132
3132
|
return p(), _(oe, {
|
|
3133
3133
|
density: "compact",
|
|
3134
3134
|
nav: "",
|
|
3135
3135
|
slim: ""
|
|
3136
3136
|
}, {
|
|
3137
3137
|
default: n(() => [
|
|
3138
|
-
t(r),
|
|
3139
|
-
t(a),
|
|
3140
3138
|
t(l),
|
|
3139
|
+
t(a),
|
|
3140
|
+
t(r),
|
|
3141
3141
|
t(u),
|
|
3142
3142
|
o(e).user ? (p(), _(f, { key: 0 })) : w("", !0),
|
|
3143
3143
|
t(d),
|
|
@@ -3147,7 +3147,7 @@ const Oe = K("settings", () => {
|
|
|
3147
3147
|
});
|
|
3148
3148
|
};
|
|
3149
3149
|
}
|
|
3150
|
-
}),
|
|
3150
|
+
}), ls = { key: 0 }, cs = { class: "d-flex align-center justify-center pa-1 ga-2" }, us = /* @__PURE__ */ $({
|
|
3151
3151
|
__name: "VoUserQuickActions",
|
|
3152
3152
|
setup(c) {
|
|
3153
3153
|
const e = j(), i = [
|
|
@@ -3156,9 +3156,9 @@ const Oe = K("settings", () => {
|
|
|
3156
3156
|
"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",
|
|
3157
3157
|
["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]
|
|
3158
3158
|
];
|
|
3159
|
-
return (s,
|
|
3159
|
+
return (s, l) => (p(), _(Ve, null, {
|
|
3160
3160
|
default: n(() => [
|
|
3161
|
-
o(e).quickbar ? (p(), S("div",
|
|
3161
|
+
o(e).quickbar ? (p(), S("div", ls, [
|
|
3162
3162
|
g("div", cs, [
|
|
3163
3163
|
t(W, {
|
|
3164
3164
|
color: o(e).colors.one,
|
|
@@ -3223,7 +3223,7 @@ const Oe = K("settings", () => {
|
|
|
3223
3223
|
}), ds = { class: "mb-2" }, ps = { key: 0 }, ms = { class: "d-flex ga-4 flex-wrap justify-center mb-4" }, fs = { class: "text-h6" }, vs = /* @__PURE__ */ $({
|
|
3224
3224
|
__name: "VoUserAvatar",
|
|
3225
3225
|
setup(c) {
|
|
3226
|
-
const e =
|
|
3226
|
+
const e = O(), i = j(), s = B(!1), l = C(() => {
|
|
3227
3227
|
const u = [
|
|
3228
3228
|
"https://cdn.vuetifyjs.com/docs/images/avatars/one.png",
|
|
3229
3229
|
"https://cdn.vuetifyjs.com/docs/images/avatars/grass.png",
|
|
@@ -3245,7 +3245,7 @@ const Oe = K("settings", () => {
|
|
|
3245
3245
|
function a(u) {
|
|
3246
3246
|
i.avatar = u;
|
|
3247
3247
|
}
|
|
3248
|
-
function
|
|
3248
|
+
function r() {
|
|
3249
3249
|
e.isSubscriber && (s.value = !s.value);
|
|
3250
3250
|
}
|
|
3251
3251
|
return (u, f) => {
|
|
@@ -3261,7 +3261,7 @@ const Oe = K("settings", () => {
|
|
|
3261
3261
|
color: "surface",
|
|
3262
3262
|
size: "72",
|
|
3263
3263
|
text: "Foobar",
|
|
3264
|
-
onClick: Pe(
|
|
3264
|
+
onClick: Pe(r, ["prevent", "stop"])
|
|
3265
3265
|
}, {
|
|
3266
3266
|
default: n(() => [
|
|
3267
3267
|
o(e).user && o(i).avatar ? (p(), _(ie, {
|
|
@@ -3290,7 +3290,7 @@ const Oe = K("settings", () => {
|
|
|
3290
3290
|
}, {
|
|
3291
3291
|
default: n(() => [
|
|
3292
3292
|
g("div", ms, [
|
|
3293
|
-
(p(!0), S(D, null, te(
|
|
3293
|
+
(p(!0), S(D, null, te(l.value, (h, V) => (p(), _(W, {
|
|
3294
3294
|
key: V,
|
|
3295
3295
|
active: o(i).avatar === h,
|
|
3296
3296
|
variant: "flat",
|
|
@@ -3321,11 +3321,11 @@ const Oe = K("settings", () => {
|
|
|
3321
3321
|
}), _s = /* @__PURE__ */ $({
|
|
3322
3322
|
__name: "VoUserBadges",
|
|
3323
3323
|
setup(c) {
|
|
3324
|
-
const e =
|
|
3325
|
-
var
|
|
3326
|
-
return i.github || i.discord || i.isSubscriber || ((
|
|
3324
|
+
const e = O(), i = T(), s = C(() => {
|
|
3325
|
+
var l;
|
|
3326
|
+
return i.github || i.discord || i.isSubscriber || ((l = e.user) == null ? void 0 : l.isAdmin);
|
|
3327
3327
|
});
|
|
3328
|
-
return (
|
|
3328
|
+
return (l, a) => s.value ? (p(), _(ge, {
|
|
3329
3329
|
key: 0,
|
|
3330
3330
|
class: "align-center position-absolute ms-2 d-flex ga-2 pa-2",
|
|
3331
3331
|
color: "rgba(0,0,0,.54)",
|
|
@@ -3333,9 +3333,9 @@ const Oe = K("settings", () => {
|
|
|
3333
3333
|
style: { left: "0" }
|
|
3334
3334
|
}, {
|
|
3335
3335
|
default: n(() => {
|
|
3336
|
-
var
|
|
3336
|
+
var r;
|
|
3337
3337
|
return [
|
|
3338
|
-
(
|
|
3338
|
+
(r = o(e).user) != null && r.isAdmin ? (p(), _(X, {
|
|
3339
3339
|
key: 0,
|
|
3340
3340
|
location: "bottom",
|
|
3341
3341
|
text: "Vuetify Administrator"
|
|
@@ -3398,11 +3398,11 @@ const Oe = K("settings", () => {
|
|
|
3398
3398
|
}, ys = /* @__PURE__ */ $({
|
|
3399
3399
|
__name: "VoUserColors",
|
|
3400
3400
|
setup(c) {
|
|
3401
|
-
const e =
|
|
3402
|
-
function
|
|
3401
|
+
const e = O(), i = j(), s = B(!1);
|
|
3402
|
+
function l() {
|
|
3403
3403
|
i.colors.one = "surface-light";
|
|
3404
3404
|
}
|
|
3405
|
-
return (a,
|
|
3405
|
+
return (a, r) => {
|
|
3406
3406
|
const u = _s, f = se;
|
|
3407
3407
|
return p(), S(D, null, [
|
|
3408
3408
|
t(ie, {
|
|
@@ -3425,7 +3425,7 @@ const Oe = K("settings", () => {
|
|
|
3425
3425
|
color: "inherit",
|
|
3426
3426
|
density: "comfortable",
|
|
3427
3427
|
title: "Edit One Header Color",
|
|
3428
|
-
onClick:
|
|
3428
|
+
onClick: r[0] || (r[0] = (d) => s.value = !s.value)
|
|
3429
3429
|
}, {
|
|
3430
3430
|
default: n(() => [
|
|
3431
3431
|
t(De, { "leave-absolute": "" }, {
|
|
@@ -3450,7 +3450,7 @@ const Oe = K("settings", () => {
|
|
|
3450
3450
|
density: "comfortable",
|
|
3451
3451
|
title: "Revert to Default",
|
|
3452
3452
|
variant: "text",
|
|
3453
|
-
onClick:
|
|
3453
|
+
onClick: l
|
|
3454
3454
|
}, null, 8, ["disabled", "icon"])
|
|
3455
3455
|
], 512), [
|
|
3456
3456
|
[He, s.value]
|
|
@@ -3476,7 +3476,7 @@ const Oe = K("settings", () => {
|
|
|
3476
3476
|
"hide-inputs": "",
|
|
3477
3477
|
"hide-sliders": "",
|
|
3478
3478
|
"show-swatches": "",
|
|
3479
|
-
"onUpdate:modelValue":
|
|
3479
|
+
"onUpdate:modelValue": r[1] || (r[1] = (d) => o(i).colors.one = d)
|
|
3480
3480
|
}, null, 8, ["model-value"])) : w("", !0)
|
|
3481
3481
|
]),
|
|
3482
3482
|
_: 1
|
|
@@ -3487,12 +3487,12 @@ const Oe = K("settings", () => {
|
|
|
3487
3487
|
}), bs = { class: "text-center mt-n9 mb-4" }, Vs = /* @__PURE__ */ $({
|
|
3488
3488
|
__name: "VoUserMenu",
|
|
3489
3489
|
setup(c) {
|
|
3490
|
-
const e =
|
|
3490
|
+
const e = Oe(), i = T(), s = F();
|
|
3491
3491
|
return N(() => e.banner, async () => {
|
|
3492
|
-
var
|
|
3493
|
-
await new Promise((
|
|
3494
|
-
}, { flush: "pre" }), (
|
|
3495
|
-
const
|
|
3492
|
+
var l, a;
|
|
3493
|
+
await new Promise((r) => setTimeout(r, 300)), i.isOpen && ((a = (l = s.value) == null ? void 0 : l.updateLocation) == null || a.call(l));
|
|
3494
|
+
}, { flush: "pre" }), (l, a) => {
|
|
3495
|
+
const r = ys, u = vs, f = us, d = rs, h = mt;
|
|
3496
3496
|
return p(), _(o($o), {
|
|
3497
3497
|
ref_key: "menu",
|
|
3498
3498
|
ref: s,
|
|
@@ -3511,7 +3511,7 @@ const Oe = K("settings", () => {
|
|
|
3511
3511
|
border: ""
|
|
3512
3512
|
}, {
|
|
3513
3513
|
default: n(() => [
|
|
3514
|
-
t(
|
|
3514
|
+
t(r),
|
|
3515
3515
|
g("div", bs, [
|
|
3516
3516
|
t(u),
|
|
3517
3517
|
t(f)
|
|
@@ -3534,8 +3534,8 @@ const Oe = K("settings", () => {
|
|
|
3534
3534
|
external: Boolean
|
|
3535
3535
|
},
|
|
3536
3536
|
setup(c) {
|
|
3537
|
-
const e =
|
|
3538
|
-
return (
|
|
3537
|
+
const e = O(), i = T(), s = j(), { lgAndUp: l } = pe(), a = C(() => i.isOpen || !e.user ? s.colors.one === "surface-light" ? "primary" : s.colors.one : "surface-light");
|
|
3538
|
+
return (r, u) => {
|
|
3539
3539
|
const f = Vs, d = se, h = Uo, V = pt;
|
|
3540
3540
|
return p(), S(D, null, [
|
|
3541
3541
|
t(h, {
|
|
@@ -3543,7 +3543,7 @@ const Oe = K("settings", () => {
|
|
|
3543
3543
|
}, {
|
|
3544
3544
|
default: n(() => [
|
|
3545
3545
|
t(d, H({
|
|
3546
|
-
[`${o(
|
|
3546
|
+
[`${o(l) ? "append-" : ""}icon`]: o(e).user ? void 0 : `svg:${o(io)}`
|
|
3547
3547
|
}, {
|
|
3548
3548
|
color: a.value,
|
|
3549
3549
|
icon: o(e).user || o(e).isLoading,
|
|
@@ -3577,19 +3577,19 @@ const Oe = K("settings", () => {
|
|
|
3577
3577
|
demo: { type: Boolean }
|
|
3578
3578
|
},
|
|
3579
3579
|
setup(c) {
|
|
3580
|
-
const e = c, { mdAndUp: i } = pe(), s = Ae(),
|
|
3580
|
+
const e = c, { mdAndUp: i } = pe(), s = Ae(), l = j(), a = Oe(), r = C(() => a.banner), u = C(() => {
|
|
3581
3581
|
var b, x;
|
|
3582
|
-
return ((b =
|
|
3583
|
-
}), f = C(() => e.demo ? !0 : !
|
|
3582
|
+
return ((b = r.value) == null ? void 0 : b.metadata.height) || ((x = r.value) != null && x.metadata.subtext ? 88 : 48);
|
|
3583
|
+
}), f = C(() => e.demo ? !0 : !r.value || !l.notifications.last.banner.includes(r.value.slug));
|
|
3584
3584
|
function d() {
|
|
3585
|
-
|
|
3585
|
+
r.value && l.notifications.last.banner.push(r.value.slug);
|
|
3586
3586
|
}
|
|
3587
3587
|
async function h(b) {
|
|
3588
3588
|
var v;
|
|
3589
|
-
if (!
|
|
3589
|
+
if (!r.value)
|
|
3590
3590
|
return;
|
|
3591
3591
|
d(), await ue();
|
|
3592
|
-
const x = ((v =
|
|
3592
|
+
const x = ((v = r.value) == null ? void 0 : v.metadata) ?? { link: "" };
|
|
3593
3593
|
if (x.link.indexOf("?one=") === -1)
|
|
3594
3594
|
return;
|
|
3595
3595
|
b.preventDefault(), b.stopPropagation();
|
|
@@ -3598,22 +3598,22 @@ const Oe = K("settings", () => {
|
|
|
3598
3598
|
}
|
|
3599
3599
|
const V = C(() => {
|
|
3600
3600
|
var x, m;
|
|
3601
|
-
const b = ((x =
|
|
3601
|
+
const b = ((x = r.value) == null ? void 0 : x.metadata) ?? { link: "" };
|
|
3602
3602
|
return {
|
|
3603
3603
|
href: b.link.startsWith("http") ? b.link : void 0,
|
|
3604
3604
|
target: b.link.startsWith("http") ? "_blank" : void 0,
|
|
3605
3605
|
to: b.link.startsWith("http") ? void 0 : b.link,
|
|
3606
|
-
...(m =
|
|
3606
|
+
...(m = r.value) == null ? void 0 : m.metadata.attributes,
|
|
3607
3607
|
onClick: h
|
|
3608
3608
|
};
|
|
3609
3609
|
});
|
|
3610
3610
|
return (b, x) => {
|
|
3611
3611
|
var m;
|
|
3612
|
-
return
|
|
3612
|
+
return r.value ? (p(), _(xo, {
|
|
3613
3613
|
key: 0,
|
|
3614
|
-
color:
|
|
3614
|
+
color: r.value.metadata.color,
|
|
3615
3615
|
height: u.value,
|
|
3616
|
-
image: (m =
|
|
3616
|
+
image: (m = r.value.metadata.images.bg) == null ? void 0 : m.url,
|
|
3617
3617
|
"model-value": f.value,
|
|
3618
3618
|
flat: ""
|
|
3619
3619
|
}, {
|
|
@@ -3625,38 +3625,38 @@ const Oe = K("settings", () => {
|
|
|
3625
3625
|
onClick: h
|
|
3626
3626
|
}), {
|
|
3627
3627
|
prepend: n(() => [
|
|
3628
|
-
|
|
3628
|
+
r.value.metadata.images.logo ? (p(), _(ne, {
|
|
3629
3629
|
key: 0,
|
|
3630
|
-
image:
|
|
3630
|
+
image: r.value.metadata.images.logo.url,
|
|
3631
3631
|
icon: "$vuetify",
|
|
3632
3632
|
size: "x-large",
|
|
3633
3633
|
tile: ""
|
|
3634
3634
|
}, null, 8, ["image"])) : w("", !0)
|
|
3635
3635
|
]),
|
|
3636
3636
|
append: n(() => [
|
|
3637
|
-
o(i) &&
|
|
3637
|
+
o(i) && r.value.metadata.link && r.value.metadata.link_text ? (p(), _(Ue, { key: 0 }, {
|
|
3638
3638
|
default: n(({ isHovering: v, props: k }) => [
|
|
3639
3639
|
t(W, H({
|
|
3640
3640
|
...k,
|
|
3641
3641
|
...V.value
|
|
3642
3642
|
}, {
|
|
3643
3643
|
"append-icon": `svg:${o(ye)}`,
|
|
3644
|
-
color:
|
|
3644
|
+
color: r.value.metadata.link_color,
|
|
3645
3645
|
elevation: v ? 8 : 0,
|
|
3646
|
-
title:
|
|
3646
|
+
title: r.value.metadata.link_text,
|
|
3647
3647
|
class: "text-none me-2",
|
|
3648
3648
|
variant: "elevated",
|
|
3649
3649
|
onClick: h
|
|
3650
3650
|
}), {
|
|
3651
3651
|
default: n(() => [
|
|
3652
|
-
U(L(
|
|
3652
|
+
U(L(r.value.metadata.link_text), 1)
|
|
3653
3653
|
]),
|
|
3654
3654
|
_: 2
|
|
3655
3655
|
}, 1040, ["append-icon", "color", "elevation", "title"])
|
|
3656
3656
|
]),
|
|
3657
3657
|
_: 1
|
|
3658
3658
|
})) : w("", !0),
|
|
3659
|
-
|
|
3659
|
+
r.value.metadata.closable ? (p(), _(W, {
|
|
3660
3660
|
key: 1,
|
|
3661
3661
|
disabled: b.demo,
|
|
3662
3662
|
class: "ms-6 me-2",
|
|
@@ -3668,18 +3668,18 @@ const Oe = K("settings", () => {
|
|
|
3668
3668
|
}, null, 8, ["disabled"])) : w("", !0)
|
|
3669
3669
|
]),
|
|
3670
3670
|
default: n(() => [
|
|
3671
|
-
|
|
3671
|
+
r.value.metadata.text ? (p(), _(st, {
|
|
3672
3672
|
key: 0,
|
|
3673
3673
|
class: "text-subtitle-2 text-md-subtitle-1 font-weight-medium"
|
|
3674
3674
|
}, {
|
|
3675
3675
|
default: n(() => [
|
|
3676
|
-
U(L(
|
|
3676
|
+
U(L(r.value.metadata.text), 1)
|
|
3677
3677
|
]),
|
|
3678
3678
|
_: 1
|
|
3679
3679
|
})) : w("", !0),
|
|
3680
|
-
|
|
3680
|
+
r.value.metadata.subtext ? (p(), _(ro, { key: 1 }, {
|
|
3681
3681
|
default: n(() => [
|
|
3682
|
-
U(L(
|
|
3682
|
+
U(L(r.value.metadata.subtext), 1)
|
|
3683
3683
|
]),
|
|
3684
3684
|
_: 1
|
|
3685
3685
|
})) : w("", !0)
|
|
@@ -3692,79 +3692,79 @@ const Oe = K("settings", () => {
|
|
|
3692
3692
|
};
|
|
3693
3693
|
}
|
|
3694
3694
|
}), da = K("bins", () => {
|
|
3695
|
-
const c =
|
|
3695
|
+
const c = O(), e = xe(), i = F([]), s = F(), l = B(!1), a = B(-1), r = C(() => !c.user || !s.value ? !1 : c.user.id === s.value.owner.id), u = C(() => i.value.filter((v) => v.favorite)), f = C(() => i.value.filter((v) => v.pinned));
|
|
3696
3696
|
N(s, () => {
|
|
3697
3697
|
window.clearTimeout(a.value), a.value = window.setTimeout(() => {
|
|
3698
|
-
!s.value || !
|
|
3698
|
+
!s.value || !r.value || b(s.value, s.value.id);
|
|
3699
3699
|
}, 100);
|
|
3700
3700
|
}, { deep: !0 });
|
|
3701
3701
|
async function d() {
|
|
3702
3702
|
try {
|
|
3703
|
-
|
|
3703
|
+
l.value = !0;
|
|
3704
3704
|
const v = await e.get("/one/bins");
|
|
3705
3705
|
i.value = v.bins;
|
|
3706
3706
|
} catch {
|
|
3707
3707
|
} finally {
|
|
3708
|
-
|
|
3708
|
+
l.value = !1;
|
|
3709
3709
|
}
|
|
3710
3710
|
return i.value;
|
|
3711
3711
|
}
|
|
3712
3712
|
async function h(v) {
|
|
3713
3713
|
try {
|
|
3714
|
-
|
|
3714
|
+
l.value = !0, await e.delete(`/one/bins/${v}`), i.value = i.value.filter((k) => k.id !== v);
|
|
3715
3715
|
} catch {
|
|
3716
3716
|
} finally {
|
|
3717
|
-
|
|
3717
|
+
l.value = !1;
|
|
3718
3718
|
}
|
|
3719
3719
|
return !0;
|
|
3720
3720
|
}
|
|
3721
3721
|
async function V(v) {
|
|
3722
3722
|
try {
|
|
3723
|
-
|
|
3723
|
+
l.value = !0;
|
|
3724
3724
|
const k = await e.post("/one/bins", { bin: v });
|
|
3725
3725
|
return i.value.push(k.bin), s.value = k.bin, k;
|
|
3726
3726
|
} catch {
|
|
3727
3727
|
} finally {
|
|
3728
|
-
|
|
3728
|
+
l.value = !1;
|
|
3729
3729
|
}
|
|
3730
3730
|
return { bin: v };
|
|
3731
3731
|
}
|
|
3732
3732
|
async function b(v, k) {
|
|
3733
3733
|
try {
|
|
3734
|
-
|
|
3735
|
-
const
|
|
3736
|
-
i.value.splice(R, 1,
|
|
3734
|
+
l.value = !0;
|
|
3735
|
+
const z = await e.post(`/one/bins/${k}`, { bin: v }), R = i.value.findIndex((ae) => ae.id === k);
|
|
3736
|
+
i.value.splice(R, 1, z.bin);
|
|
3737
3737
|
} catch {
|
|
3738
3738
|
} finally {
|
|
3739
|
-
|
|
3739
|
+
l.value = !1;
|
|
3740
3740
|
}
|
|
3741
3741
|
return { bin: v };
|
|
3742
3742
|
}
|
|
3743
3743
|
async function x(v, k) {
|
|
3744
3744
|
try {
|
|
3745
|
-
|
|
3746
|
-
const
|
|
3747
|
-
s.value =
|
|
3745
|
+
l.value = !0;
|
|
3746
|
+
const z = k ? await b(v, k) : await V(v);
|
|
3747
|
+
s.value = z.bin;
|
|
3748
3748
|
} catch {
|
|
3749
3749
|
} finally {
|
|
3750
|
-
|
|
3750
|
+
l.value = !1;
|
|
3751
3751
|
}
|
|
3752
3752
|
return { bin: v };
|
|
3753
3753
|
}
|
|
3754
3754
|
async function m(v) {
|
|
3755
3755
|
try {
|
|
3756
|
-
|
|
3756
|
+
l.value = !0;
|
|
3757
3757
|
const k = await e.get(`/one/bins/${v}`);
|
|
3758
3758
|
s.value = k.bin;
|
|
3759
3759
|
} catch {
|
|
3760
3760
|
} finally {
|
|
3761
|
-
|
|
3761
|
+
l.value = !1;
|
|
3762
3762
|
}
|
|
3763
3763
|
return { bin: s.value };
|
|
3764
3764
|
}
|
|
3765
3765
|
return {
|
|
3766
|
-
isLoading:
|
|
3767
|
-
isOwner:
|
|
3766
|
+
isLoading: l,
|
|
3767
|
+
isOwner: r,
|
|
3768
3768
|
pinned: f,
|
|
3769
3769
|
favorites: u,
|
|
3770
3770
|
all: i,
|
|
@@ -3792,11 +3792,11 @@ function ma(c, e) {
|
|
|
3792
3792
|
export {
|
|
3793
3793
|
pa as createOne,
|
|
3794
3794
|
ma as one,
|
|
3795
|
-
|
|
3796
|
-
|
|
3795
|
+
O as useAuthStore,
|
|
3796
|
+
Oe as useBannersStore,
|
|
3797
3797
|
da as useBinsStore,
|
|
3798
3798
|
xe as useHttpStore,
|
|
3799
3799
|
T as useOneStore,
|
|
3800
|
-
|
|
3800
|
+
ze as useSettingsStore,
|
|
3801
3801
|
j as useUserStore
|
|
3802
3802
|
};
|