@vuetify/one 1.4.1 → 1.4.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.js +730 -725
- package/package.json +5 -3
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { reactive as wt, watch as B, toRefs as St, ref as O, shallowRef as A, computed as S, defineComponent as $, openBlock as
|
|
1
|
+
import { reactive as wt, watch as B, toRefs as St, ref as O, shallowRef as A, computed as S, defineComponent as $, openBlock as d, createBlock as _, unref as t, createSlots as R, withCtx as r, createElementVNode as y, toDisplayString as C, createVNode as s, createTextVNode as T, renderSlot as z, normalizeStyle as ot, createCommentVNode as w, withModifiers as Ee, mergeModels as nt, useModel as re, createElementBlock as L, Fragment as U, onMounted as qe, nextTick as pe, renderList as ne, mergeProps as H, isRef as se, resolveComponent as We, withDirectives as De, vShow as Ge, normalizeClass as Ct, pushScopeId as Lt, popScopeId as It, onBeforeMount as Ze, onBeforeUnmount as Dt } from "vue";
|
|
2
2
|
import { mdiDiscord as Qe, mdiGithub as Ye, mdiSync as At, mdiSyncOff as Ot, mdiLogoutVariant as Nt, mdiFullscreenExit as Bt, mdiFullscreen as Ut, mdiCheck as Ae, mdiHome as zt, mdiTextBox as Ft, mdiSelect as Tt, mdiSpaceInvaders as st, mdiImageFilterHdr as at, mdiRocketLaunchOutline as it, mdiWhiteBalanceSunny as jt, mdiWeatherNight as Mt, mdiDesktopTowerMonitor as Pt, mdiContrastCircle as Ht, mdiCog as Rt, mdiCogOutline as Et, mdiFileDocument as qt, mdiCreditCardSettingsOutline as Wt, mdiRocketOutline as Gt, mdiCheckCircleOutline as Ie, mdiCreditCard as Zt, mdiReload as Qt, mdiPlaylistCheck as Yt, mdiCreditCardOutline as Jt, mdiMedal as Xt, mdiOpenInNew as Oe, mdiHandHeart as Kt, mdiHandHeartOutline as eo, mdiEmailOpenOutline as rt, mdiEmailVariant as lt, mdiBell as to, mdiInboxOutline as oo, mdiInboxFullOutline as no, mdiBillboard as so, mdiBellOutline as ao, mdiViewDashboardOutline as io, mdiCrown as ro, mdiArrowULeftBottom as lo, mdiLogin as co, mdiShieldStarOutline as uo, mdiReddit as po } from "@mdi/js";
|
|
3
3
|
import { useRouter as Ne, useRoute as mo } from "vue-router";
|
|
4
4
|
import { defineStore as W } from "pinia";
|
|
@@ -44,37 +44,37 @@ const ce = W("http", {
|
|
|
44
44
|
url: ""
|
|
45
45
|
}),
|
|
46
46
|
actions: {
|
|
47
|
-
async fetch(c,
|
|
47
|
+
async fetch(c, e = {}) {
|
|
48
48
|
const o = await fetch(`${this.url}${c}`, {
|
|
49
49
|
credentials: "include",
|
|
50
|
-
...
|
|
50
|
+
...e
|
|
51
51
|
});
|
|
52
52
|
return o.status === 204 ? o : o.json();
|
|
53
53
|
},
|
|
54
|
-
async post(c,
|
|
54
|
+
async post(c, e, o = {}) {
|
|
55
55
|
return this.fetch(c, {
|
|
56
56
|
method: "POST",
|
|
57
57
|
headers: {
|
|
58
58
|
"Content-Type": "application/json"
|
|
59
59
|
},
|
|
60
|
-
body: JSON.stringify(
|
|
60
|
+
body: JSON.stringify(e),
|
|
61
61
|
...o
|
|
62
62
|
});
|
|
63
63
|
},
|
|
64
|
-
async form(c,
|
|
64
|
+
async form(c, e, o = {}) {
|
|
65
65
|
return this.fetch(c, {
|
|
66
66
|
method: "POST",
|
|
67
|
-
body:
|
|
67
|
+
body: e,
|
|
68
68
|
...o
|
|
69
69
|
});
|
|
70
70
|
},
|
|
71
|
-
async get(c,
|
|
72
|
-
return this.fetch(c,
|
|
71
|
+
async get(c, e = {}) {
|
|
72
|
+
return this.fetch(c, e);
|
|
73
73
|
},
|
|
74
|
-
async delete(c,
|
|
74
|
+
async delete(c, e = {}) {
|
|
75
75
|
return this.fetch(c, {
|
|
76
76
|
method: "DELETE",
|
|
77
|
-
...
|
|
77
|
+
...e
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
80
|
}
|
|
@@ -119,7 +119,7 @@ const ce = W("http", {
|
|
|
119
119
|
}, F = W("user", () => {
|
|
120
120
|
const c = wt(Me({}, Le));
|
|
121
121
|
B(c, o);
|
|
122
|
-
function
|
|
122
|
+
function e() {
|
|
123
123
|
if (!Pe)
|
|
124
124
|
return;
|
|
125
125
|
const n = localStorage.getItem("vuetify@user"), i = n ? JSON.parse(n) : {};
|
|
@@ -132,28 +132,28 @@ const ce = W("http", {
|
|
|
132
132
|
function a() {
|
|
133
133
|
Pe && (Object.assign(c, Me({}, Le)), o());
|
|
134
134
|
}
|
|
135
|
-
return
|
|
135
|
+
return e(), {
|
|
136
136
|
...St(c),
|
|
137
|
-
load:
|
|
137
|
+
load: e,
|
|
138
138
|
save: o,
|
|
139
139
|
reset: a
|
|
140
140
|
};
|
|
141
141
|
}), M = W("auth", () => {
|
|
142
|
-
const c = O(!1),
|
|
142
|
+
const c = O(!1), e = O(null), o = ce(), a = F(), n = Ne(), i = A(!1), l = S(() => {
|
|
143
143
|
var m, v;
|
|
144
|
-
return !o.url || ((m =
|
|
144
|
+
return !o.url || ((m = e.value) == null ? void 0 : m.isAdmin) || !!((v = e.value) != null && v.sponsorships.some((k) => k.isActive));
|
|
145
145
|
});
|
|
146
|
-
let
|
|
147
|
-
B(
|
|
146
|
+
let p = !!V();
|
|
147
|
+
B(e, (m) => {
|
|
148
148
|
if (!(m != null && m.settings))
|
|
149
149
|
return;
|
|
150
150
|
const v = localStorage.getItem("vuetify@user") || "{}";
|
|
151
|
-
JSON.stringify(m.settings, null, 2) !== v && (
|
|
151
|
+
JSON.stringify(m.settings, null, 2) !== v && (p = !0, Object.assign(a, m.settings));
|
|
152
152
|
}), a.$subscribe(() => {
|
|
153
|
-
|
|
153
|
+
p || f(), p = !1;
|
|
154
154
|
});
|
|
155
155
|
async function f() {
|
|
156
|
-
if (!(!
|
|
156
|
+
if (!(!e.value || !a.syncSettings))
|
|
157
157
|
try {
|
|
158
158
|
await o.post("/user/settings", { settings: a.$state });
|
|
159
159
|
} catch (m) {
|
|
@@ -170,7 +170,7 @@ const ce = W("http", {
|
|
|
170
170
|
} : void 0
|
|
171
171
|
}).then(
|
|
172
172
|
async (v) => {
|
|
173
|
-
v.ok ?
|
|
173
|
+
v.ok ? e.value = (await v.json()).user : v.status === 401 ? e.value = null : console.error(v.statusText);
|
|
174
174
|
},
|
|
175
175
|
() => {
|
|
176
176
|
}
|
|
@@ -181,10 +181,10 @@ const ce = W("http", {
|
|
|
181
181
|
u.promise = null;
|
|
182
182
|
async function h(m = "github") {
|
|
183
183
|
i.value = !0;
|
|
184
|
-
const v = `${o.url}/auth/${m}/redirect`,
|
|
184
|
+
const v = `${o.url}/auth/${m}/redirect`, k = 400, N = 600, j = window.screenX + (window.innerWidth - k) / 2, ie = window.screenY + (window.innerHeight - N) / 2, G = window.open(
|
|
185
185
|
"",
|
|
186
186
|
"vuetify:authorize:popup",
|
|
187
|
-
`popup,left=${j},top=${ie},width=${
|
|
187
|
+
`popup,left=${j},top=${ie},width=${k},height=${N},resizable`
|
|
188
188
|
);
|
|
189
189
|
if (!G) {
|
|
190
190
|
console.error("Failed to open popup");
|
|
@@ -194,7 +194,7 @@ const ce = W("http", {
|
|
|
194
194
|
let Se = -1, Ce = -1;
|
|
195
195
|
function he(oe) {
|
|
196
196
|
var x;
|
|
197
|
-
oe.origin === o.url && ((x = oe.data) == null ? void 0 : x.type) === "auth-response" && (oe.data.status === "success" ? (
|
|
197
|
+
oe.origin === o.url && ((x = oe.data) == null ? void 0 : x.type) === "auth-response" && (oe.data.status === "success" ? (e.value || localStorage.setItem("vuetify@lastLoginProvider", m), e.value = oe.data.body.user, n.push({
|
|
198
198
|
path: "/user/dashboard/",
|
|
199
199
|
query: n.currentRoute.value.query
|
|
200
200
|
}), f()) : console.error(oe.data.message), ue());
|
|
@@ -208,13 +208,13 @@ const ce = W("http", {
|
|
|
208
208
|
ue(), console.error("Auth timed out");
|
|
209
209
|
}, 120 * 1e3);
|
|
210
210
|
}
|
|
211
|
-
async function
|
|
211
|
+
async function b(m) {
|
|
212
212
|
i.value = !0;
|
|
213
213
|
const v = m ? `/auth/${m}/logout` : "/auth/logout";
|
|
214
214
|
try {
|
|
215
|
-
await o.post(v), await u(!0),
|
|
216
|
-
} catch (
|
|
217
|
-
console.error(
|
|
215
|
+
await o.post(v), await u(!0), e.value = null;
|
|
216
|
+
} catch (k) {
|
|
217
|
+
console.error(k);
|
|
218
218
|
} finally {
|
|
219
219
|
n.push({
|
|
220
220
|
path: "/",
|
|
@@ -222,44 +222,44 @@ const ce = W("http", {
|
|
|
222
222
|
}), i.value = !1;
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
|
-
function
|
|
225
|
+
function g(m) {
|
|
226
226
|
var v;
|
|
227
|
-
return (v =
|
|
227
|
+
return (v = e.value) == null ? void 0 : v.identities.find((k) => k.provider === m);
|
|
228
228
|
}
|
|
229
229
|
function V() {
|
|
230
230
|
return localStorage.getItem("vuetify@lastLoginProvider");
|
|
231
231
|
}
|
|
232
232
|
return u(), {
|
|
233
|
-
user:
|
|
233
|
+
user: e,
|
|
234
234
|
url: o.url,
|
|
235
235
|
dialog: c,
|
|
236
236
|
isLoading: i,
|
|
237
|
-
findIdentity:
|
|
237
|
+
findIdentity: g,
|
|
238
238
|
verify: u,
|
|
239
239
|
login: h,
|
|
240
|
-
logout:
|
|
240
|
+
logout: b,
|
|
241
241
|
isSubscriber: l,
|
|
242
242
|
lastLoginProvider: V,
|
|
243
243
|
sync: f
|
|
244
244
|
};
|
|
245
|
-
}), Oo = { class: "text-body-2" }, No = /* @__PURE__ */
|
|
245
|
+
}), Oo = { class: "text-body-2" }, No = /* @__PURE__ */ y("div", { class: "text-caption mt-n1" }, "Last Used", -1), ft = /* @__PURE__ */ $({
|
|
246
246
|
__name: "VoAuthDiscord",
|
|
247
247
|
setup(c) {
|
|
248
|
-
const
|
|
249
|
-
return (n, i) => (
|
|
248
|
+
const e = M(), o = S(() => e.user && e.findIdentity("discord")), a = S(() => e.user ? o.value ? "Connected to Discord" : "Connect Discord" : "Login with Discord");
|
|
249
|
+
return (n, i) => (d(), _(Ve, {
|
|
250
250
|
"base-color": "#5865F2",
|
|
251
|
-
"prepend-icon": `svg:${
|
|
251
|
+
"prepend-icon": `svg:${t(Qe)}`,
|
|
252
252
|
rounded: "pill",
|
|
253
253
|
slim: "",
|
|
254
254
|
variant: "flat",
|
|
255
|
-
onClick: i[0] || (i[0] = (l) => e
|
|
255
|
+
onClick: i[0] || (i[0] = (l) => t(e).login("discord"))
|
|
256
256
|
}, R({
|
|
257
257
|
title: r(() => [
|
|
258
|
-
|
|
258
|
+
y("span", Oo, C(t(a)), 1)
|
|
259
259
|
]),
|
|
260
260
|
_: 2
|
|
261
261
|
}, [
|
|
262
|
-
!e
|
|
262
|
+
!t(e).user && t(e).lastLoginProvider() === "discord" ? {
|
|
263
263
|
name: "subtitle",
|
|
264
264
|
fn: r(() => [
|
|
265
265
|
No
|
|
@@ -268,24 +268,24 @@ const ce = W("http", {
|
|
|
268
268
|
} : void 0
|
|
269
269
|
]), 1032, ["prepend-icon"]));
|
|
270
270
|
}
|
|
271
|
-
}), Bo = { class: "text-body-2" }, Uo = /* @__PURE__ */
|
|
271
|
+
}), Bo = { class: "text-body-2" }, Uo = /* @__PURE__ */ y("div", { class: "text-caption mt-n1" }, "Last Used", -1), vt = /* @__PURE__ */ $({
|
|
272
272
|
__name: "VoAuthGithub",
|
|
273
273
|
setup(c) {
|
|
274
|
-
const
|
|
275
|
-
return (n, i) => (
|
|
274
|
+
const e = M(), o = S(() => e.user && e.findIdentity("github")), a = S(() => e.user ? o.value ? "Connected to GitHub" : "Connect GitHub" : "Login with GitHub");
|
|
275
|
+
return (n, i) => (d(), _(Ve, {
|
|
276
276
|
"base-color": "#2a2a2a",
|
|
277
|
-
"prepend-icon": `svg:${
|
|
277
|
+
"prepend-icon": `svg:${t(Ye)}`,
|
|
278
278
|
rounded: "pill",
|
|
279
279
|
slim: "",
|
|
280
280
|
variant: "flat",
|
|
281
|
-
onClick: i[0] || (i[0] = (l) => e
|
|
281
|
+
onClick: i[0] || (i[0] = (l) => t(e).login("github"))
|
|
282
282
|
}, R({
|
|
283
283
|
title: r(() => [
|
|
284
|
-
|
|
284
|
+
y("span", Bo, C(t(a)), 1)
|
|
285
285
|
]),
|
|
286
286
|
_: 2
|
|
287
287
|
}, [
|
|
288
|
-
!e
|
|
288
|
+
!t(e).user && t(e).lastLoginProvider() === "github" ? {
|
|
289
289
|
name: "subtitle",
|
|
290
290
|
fn: r(() => [
|
|
291
291
|
Uo
|
|
@@ -294,28 +294,28 @@ const ce = W("http", {
|
|
|
294
294
|
} : void 0
|
|
295
295
|
]), 1032, ["prepend-icon"]));
|
|
296
296
|
}
|
|
297
|
-
}), zo = { class: "text-center" }, Fo = { class: "text-center mb-6" }, To = { class: "font-weight-light mb-2" }, jo = /* @__PURE__ */
|
|
297
|
+
}), zo = { class: "text-center" }, Fo = { class: "text-center mb-6" }, To = { class: "font-weight-light mb-2" }, jo = /* @__PURE__ */ y("span", { class: "font-weight-bold" }, "Vuetify One", -1), ht = /* @__PURE__ */ $({
|
|
298
298
|
__name: "VoAuthCard",
|
|
299
299
|
setup(c) {
|
|
300
|
-
const
|
|
300
|
+
const e = M();
|
|
301
301
|
return (o, a) => {
|
|
302
302
|
const n = vt, i = ft;
|
|
303
|
-
return
|
|
303
|
+
return d(), _(E, {
|
|
304
304
|
class: "pt-6 pb-8 px-4 px-sm-8 mx-auto",
|
|
305
305
|
"max-width": "480"
|
|
306
306
|
}, {
|
|
307
307
|
default: r(() => [
|
|
308
|
-
|
|
308
|
+
y("div", zo, [
|
|
309
309
|
s(Q, {
|
|
310
310
|
class: "mx-auto",
|
|
311
311
|
image: "https://vuetifyjs.b-cdn.net/docs/images/avatars/one.png",
|
|
312
312
|
size: "64"
|
|
313
313
|
}, null, 8, ["image"])
|
|
314
314
|
]),
|
|
315
|
-
|
|
315
|
+
y("div", Fo, [
|
|
316
316
|
s(vo, { class: "text-h5 mb-1 text-md-h4" }, {
|
|
317
317
|
default: r(() => [
|
|
318
|
-
|
|
318
|
+
y("div", To, C(t(e).lastLoginProvider() ? "Welcome back to" : "Login to"), 1),
|
|
319
319
|
jo
|
|
320
320
|
]),
|
|
321
321
|
_: 1
|
|
@@ -346,12 +346,12 @@ const ce = W("http", {
|
|
|
346
346
|
}), _t = /* @__PURE__ */ $({
|
|
347
347
|
__name: "VoAuthDialog",
|
|
348
348
|
setup(c) {
|
|
349
|
-
const
|
|
349
|
+
const e = M();
|
|
350
350
|
return (o, a) => {
|
|
351
351
|
const n = ht;
|
|
352
|
-
return
|
|
353
|
-
modelValue: e
|
|
354
|
-
"onUpdate:modelValue": a[0] || (a[0] = (i) => e
|
|
352
|
+
return d(), _(ut, {
|
|
353
|
+
modelValue: t(e).dialog,
|
|
354
|
+
"onUpdate:modelValue": a[0] || (a[0] = (i) => t(e).dialog = i),
|
|
355
355
|
"max-width": "480"
|
|
356
356
|
}, {
|
|
357
357
|
default: r(() => [
|
|
@@ -362,7 +362,7 @@ const ce = W("http", {
|
|
|
362
362
|
};
|
|
363
363
|
}
|
|
364
364
|
}), Fe = W("notifications", () => {
|
|
365
|
-
const c = ce(),
|
|
365
|
+
const c = ce(), e = F(), o = O([]), a = O([]), n = O(), i = A(!1), l = S(() => o.value.filter((m) => !e.notifications.read.includes(m.slug))), p = S(() => o.value.filter((m) => e.notifications.read.includes(m.slug)));
|
|
366
366
|
async function f() {
|
|
367
367
|
try {
|
|
368
368
|
i.value = !0;
|
|
@@ -397,20 +397,20 @@ const ce = W("http", {
|
|
|
397
397
|
i.value = !1;
|
|
398
398
|
}
|
|
399
399
|
}
|
|
400
|
-
async function
|
|
400
|
+
async function b(m, v) {
|
|
401
401
|
try {
|
|
402
402
|
i.value = !0;
|
|
403
|
-
const
|
|
403
|
+
const k = await c.form(
|
|
404
404
|
`/one/admin/notifications/${m}`,
|
|
405
405
|
v
|
|
406
406
|
);
|
|
407
|
-
return n.value =
|
|
407
|
+
return n.value = k.notification, k.notification;
|
|
408
408
|
} catch {
|
|
409
409
|
} finally {
|
|
410
410
|
i.value = !1;
|
|
411
411
|
}
|
|
412
412
|
}
|
|
413
|
-
async function
|
|
413
|
+
async function g() {
|
|
414
414
|
}
|
|
415
415
|
async function V() {
|
|
416
416
|
try {
|
|
@@ -432,21 +432,21 @@ const ce = W("http", {
|
|
|
432
432
|
index: f,
|
|
433
433
|
show: u,
|
|
434
434
|
store: h,
|
|
435
|
-
update:
|
|
436
|
-
destroy:
|
|
437
|
-
read:
|
|
435
|
+
update: b,
|
|
436
|
+
destroy: g,
|
|
437
|
+
read: p,
|
|
438
438
|
unread: l
|
|
439
439
|
};
|
|
440
440
|
}), Mo = /* @__PURE__ */ $({
|
|
441
441
|
__name: "VoNotificationsTotalBadge",
|
|
442
442
|
setup(c) {
|
|
443
|
-
const
|
|
444
|
-
return (i, l) => (
|
|
443
|
+
const e = M(), o = Fe(), a = F(), n = S(() => a.notifications.show ? o.unread.length : 0);
|
|
444
|
+
return (i, l) => (d(), _(Je, {
|
|
445
445
|
color: "error",
|
|
446
|
-
content:
|
|
447
|
-
dot: !!e
|
|
446
|
+
content: t(n),
|
|
447
|
+
dot: !!t(e).user,
|
|
448
448
|
location: "start top",
|
|
449
|
-
"model-value":
|
|
449
|
+
"model-value": t(n) > 0
|
|
450
450
|
}, {
|
|
451
451
|
default: r(() => [
|
|
452
452
|
z(i.$slots, "default")
|
|
@@ -460,19 +460,19 @@ const ce = W("http", {
|
|
|
460
460
|
readonly: { type: Boolean }
|
|
461
461
|
},
|
|
462
462
|
setup(c) {
|
|
463
|
-
const
|
|
464
|
-
return (o, a) => (
|
|
463
|
+
const e = c;
|
|
464
|
+
return (o, a) => (d(), _(q, {
|
|
465
465
|
class: "text-none font-weight-regular",
|
|
466
466
|
color: "primary",
|
|
467
467
|
size: "small",
|
|
468
468
|
style: ot({
|
|
469
|
-
pointerEvents:
|
|
469
|
+
pointerEvents: e.readonly ? "none" : void 0
|
|
470
470
|
}),
|
|
471
|
-
tabindex:
|
|
471
|
+
tabindex: e.readonly ? -1 : void 0,
|
|
472
472
|
variant: "flat"
|
|
473
473
|
}, R({
|
|
474
474
|
loader: r(() => [
|
|
475
|
-
o.$slots.loader ? w("", !0) : (
|
|
475
|
+
o.$slots.loader ? w("", !0) : (d(), _(_o, {
|
|
476
476
|
key: 0,
|
|
477
477
|
indeterminate: "disable-shrink",
|
|
478
478
|
size: "16",
|
|
@@ -501,41 +501,41 @@ const ce = W("http", {
|
|
|
501
501
|
}), Po = { class: "pa-4 d-flex flex-column ga-4" }, gt = /* @__PURE__ */ $({
|
|
502
502
|
__name: "VoAuthListItem",
|
|
503
503
|
setup(c) {
|
|
504
|
-
const
|
|
505
|
-
B(() =>
|
|
504
|
+
const e = M(), o = F(), a = A(!e.user && !e.isLoading);
|
|
505
|
+
B(() => e.user, (i) => {
|
|
506
506
|
a.value = !i;
|
|
507
507
|
});
|
|
508
508
|
function n() {
|
|
509
|
-
|
|
509
|
+
e.user && (a.value = !a.value);
|
|
510
510
|
}
|
|
511
511
|
return (i, l) => {
|
|
512
|
-
const
|
|
513
|
-
return
|
|
512
|
+
const p = vt, f = ft;
|
|
513
|
+
return d(), _(E, {
|
|
514
514
|
class: "ma-2",
|
|
515
515
|
rounded: "lg",
|
|
516
|
-
variant:
|
|
516
|
+
variant: t(a) ? "tonal" : "text"
|
|
517
517
|
}, {
|
|
518
518
|
default: r(() => [
|
|
519
519
|
s(ae, { class: "py-0" }, {
|
|
520
520
|
default: r(() => [
|
|
521
521
|
s(Ve, {
|
|
522
522
|
class: "mb-0",
|
|
523
|
-
link: !!e
|
|
523
|
+
link: !!t(e).user,
|
|
524
524
|
nav: "",
|
|
525
|
-
"prepend-icon": `svg:${e
|
|
525
|
+
"prepend-icon": `svg:${t(e).user && t(o).syncSettings ? t(At) : t(Ot)}`,
|
|
526
526
|
rounded: "b-0",
|
|
527
527
|
slim: "",
|
|
528
|
-
title: e
|
|
528
|
+
title: t(e).user && t(o).syncSettings ? "Sync is on" : "Sync is paused",
|
|
529
529
|
onClick: n
|
|
530
530
|
}, {
|
|
531
531
|
append: r(() => [
|
|
532
532
|
s(Be, null, {
|
|
533
533
|
default: r(() => [
|
|
534
|
-
e
|
|
534
|
+
t(e).user && (t(a) || !t(o).syncSettings) ? (d(), _(dt, {
|
|
535
535
|
key: 0,
|
|
536
|
-
modelValue:
|
|
537
|
-
"onUpdate:modelValue": l[0] || (l[0] = (u) =>
|
|
538
|
-
color:
|
|
536
|
+
modelValue: t(o).syncSettings,
|
|
537
|
+
"onUpdate:modelValue": l[0] || (l[0] = (u) => t(o).syncSettings = u),
|
|
538
|
+
color: t(o).syncSettings ? "success" : void 0,
|
|
539
539
|
density: "compact",
|
|
540
540
|
"hide-details": "",
|
|
541
541
|
inset: "",
|
|
@@ -544,7 +544,7 @@ const ce = W("http", {
|
|
|
544
544
|
}, {
|
|
545
545
|
thumb: r(() => [
|
|
546
546
|
s(Q, {
|
|
547
|
-
color:
|
|
547
|
+
color: t(o).syncSettings ? "success" : void 0
|
|
548
548
|
}, null, 8, ["color"])
|
|
549
549
|
]),
|
|
550
550
|
_: 1
|
|
@@ -557,14 +557,14 @@ const ce = W("http", {
|
|
|
557
557
|
}, 8, ["link", "prepend-icon", "title"]),
|
|
558
558
|
s(me, null, {
|
|
559
559
|
default: r(() => [
|
|
560
|
-
!e
|
|
560
|
+
!t(e).user && !t(e).isLoading || t(a) ? (d(), _(ye, {
|
|
561
561
|
key: 0,
|
|
562
562
|
border: "t",
|
|
563
563
|
color: "transparent"
|
|
564
564
|
}, {
|
|
565
565
|
default: r(() => [
|
|
566
|
-
|
|
567
|
-
s(
|
|
566
|
+
y("div", Po, [
|
|
567
|
+
s(p, {
|
|
568
568
|
onClick: l[2] || (l[2] = (u) => a.value = !1)
|
|
569
569
|
}),
|
|
570
570
|
s(f, {
|
|
@@ -588,30 +588,30 @@ const ce = W("http", {
|
|
|
588
588
|
}), J = /* @__PURE__ */ $({
|
|
589
589
|
__name: "VoListItem",
|
|
590
590
|
setup(c) {
|
|
591
|
-
return (
|
|
591
|
+
return (e, o) => (d(), _(Ve, { slim: "" }, R({
|
|
592
592
|
default: r(() => [
|
|
593
|
-
z(
|
|
593
|
+
z(e.$slots, "default")
|
|
594
594
|
]),
|
|
595
595
|
_: 2
|
|
596
596
|
}, [
|
|
597
|
-
|
|
597
|
+
e.$slots.prepend ? {
|
|
598
598
|
name: "prepend",
|
|
599
599
|
fn: r(() => [
|
|
600
|
-
z(
|
|
600
|
+
z(e.$slots, "prepend")
|
|
601
601
|
]),
|
|
602
602
|
key: "0"
|
|
603
603
|
} : void 0,
|
|
604
|
-
|
|
604
|
+
e.$slots.title ? {
|
|
605
605
|
name: "title",
|
|
606
606
|
fn: r(() => [
|
|
607
|
-
z(
|
|
607
|
+
z(e.$slots, "title")
|
|
608
608
|
]),
|
|
609
609
|
key: "1"
|
|
610
610
|
} : void 0,
|
|
611
|
-
|
|
611
|
+
e.$slots.append ? {
|
|
612
612
|
name: "append",
|
|
613
613
|
fn: r(() => [
|
|
614
|
-
z(
|
|
614
|
+
z(e.$slots, "append")
|
|
615
615
|
]),
|
|
616
616
|
key: "2"
|
|
617
617
|
} : void 0
|
|
@@ -620,18 +620,18 @@ const ce = W("http", {
|
|
|
620
620
|
}), Ho = /* @__PURE__ */ $({
|
|
621
621
|
__name: "VoAuthLogoutNavItem",
|
|
622
622
|
setup(c) {
|
|
623
|
-
const
|
|
623
|
+
const e = M(), o = A(!1);
|
|
624
624
|
async function a() {
|
|
625
|
-
o.value = !0, await
|
|
625
|
+
o.value = !0, await e.logout(), o.value = !1;
|
|
626
626
|
}
|
|
627
627
|
return (n, i) => {
|
|
628
628
|
const l = J;
|
|
629
|
-
return
|
|
629
|
+
return d(), _(l, {
|
|
630
630
|
class: "mb-0",
|
|
631
|
-
disabled:
|
|
631
|
+
disabled: t(o),
|
|
632
632
|
link: "",
|
|
633
|
-
loading:
|
|
634
|
-
"prepend-icon": `svg:${
|
|
633
|
+
loading: t(o),
|
|
634
|
+
"prepend-icon": `svg:${t(Nt)}`,
|
|
635
635
|
title: "Logout",
|
|
636
636
|
onClick: a
|
|
637
637
|
}, null, 8, ["disabled", "loading", "prepend-icon"]);
|
|
@@ -648,15 +648,15 @@ const ce = W("http", {
|
|
|
648
648
|
}),
|
|
649
649
|
emits: ["update:modelValue"],
|
|
650
650
|
setup(c) {
|
|
651
|
-
const
|
|
652
|
-
return (n, i) => (
|
|
653
|
-
modelValue:
|
|
654
|
-
"onUpdate:modelValue": i[2] || (i[2] = (l) =>
|
|
651
|
+
const e = re(c, "modelValue"), o = le(), a = A(!1);
|
|
652
|
+
return (n, i) => (d(), _(ut, {
|
|
653
|
+
modelValue: e.value,
|
|
654
|
+
"onUpdate:modelValue": i[2] || (i[2] = (l) => e.value = l),
|
|
655
655
|
activator: "parent",
|
|
656
|
-
fullscreen:
|
|
656
|
+
fullscreen: t(a) || t(o).xs.value,
|
|
657
657
|
height: "100%",
|
|
658
|
-
"max-height":
|
|
659
|
-
"max-width":
|
|
658
|
+
"max-height": t(a) || t(o).xs.value ? "100%" : 800,
|
|
659
|
+
"max-width": t(a) || t(o).xs.value ? "100%" : 800
|
|
660
660
|
}, {
|
|
661
661
|
default: r(({ isActive: l }) => [
|
|
662
662
|
s(E, {
|
|
@@ -667,21 +667,21 @@ const ce = W("http", {
|
|
|
667
667
|
}, R({
|
|
668
668
|
append: r(() => [
|
|
669
669
|
z(n.$slots, "append"),
|
|
670
|
-
|
|
670
|
+
t(o).xs.value ? w("", !0) : (d(), _(q, {
|
|
671
671
|
key: 0,
|
|
672
672
|
class: "me-2",
|
|
673
673
|
density: "comfortable",
|
|
674
|
-
icon: `svg:${
|
|
674
|
+
icon: `svg:${t(a) ? t(Bt) : t(Ut)}`,
|
|
675
675
|
size: "small",
|
|
676
676
|
variant: "text",
|
|
677
|
-
onClick: i[0] || (i[0] = (
|
|
677
|
+
onClick: i[0] || (i[0] = (p) => a.value = !t(a))
|
|
678
678
|
}, null, 8, ["icon"])),
|
|
679
679
|
s(q, {
|
|
680
680
|
density: "comfortable",
|
|
681
681
|
icon: "$close",
|
|
682
682
|
size: "small",
|
|
683
683
|
variant: "text",
|
|
684
|
-
onClick: i[1] || (i[1] = (
|
|
684
|
+
onClick: i[1] || (i[1] = (p) => e.value = !e.value)
|
|
685
685
|
})
|
|
686
686
|
]),
|
|
687
687
|
default: r(() => [
|
|
@@ -715,24 +715,24 @@ const ce = W("http", {
|
|
|
715
715
|
disabled: { type: Boolean }
|
|
716
716
|
},
|
|
717
717
|
setup(c) {
|
|
718
|
-
return (
|
|
718
|
+
return (e, o) => (d(), _(dt, {
|
|
719
719
|
color: "primary",
|
|
720
720
|
density: "compact",
|
|
721
|
-
disabled:
|
|
721
|
+
disabled: e.disabled,
|
|
722
722
|
inset: "",
|
|
723
|
-
"true-icon": `svg:${
|
|
723
|
+
"true-icon": `svg:${t(Ae)}`
|
|
724
724
|
}, R({
|
|
725
725
|
thumb: r(() => [
|
|
726
726
|
s(D, {
|
|
727
|
-
color:
|
|
727
|
+
color: e.disabled ? void 0 : "primary"
|
|
728
728
|
}, null, 8, ["color"])
|
|
729
729
|
]),
|
|
730
730
|
_: 2
|
|
731
731
|
}, [
|
|
732
|
-
|
|
732
|
+
e.$slots.label ? {
|
|
733
733
|
name: "label",
|
|
734
734
|
fn: r(() => [
|
|
735
|
-
z(
|
|
735
|
+
z(e.$slots, "label")
|
|
736
736
|
]),
|
|
737
737
|
key: "0"
|
|
738
738
|
} : void 0
|
|
@@ -748,23 +748,23 @@ const ce = W("http", {
|
|
|
748
748
|
text: {}
|
|
749
749
|
},
|
|
750
750
|
setup(c) {
|
|
751
|
-
return (
|
|
752
|
-
|
|
751
|
+
return (e, o) => (d(), L(U, null, [
|
|
752
|
+
e.title ? (d(), _(He, {
|
|
753
753
|
key: 0,
|
|
754
754
|
class: "font-weight-black"
|
|
755
755
|
}, {
|
|
756
756
|
default: r(() => [
|
|
757
|
-
T(C(
|
|
757
|
+
T(C(e.title), 1)
|
|
758
758
|
]),
|
|
759
759
|
_: 1
|
|
760
760
|
})) : w("", !0),
|
|
761
|
-
|
|
761
|
+
e.text ? (d(), L("div", Ro, C(e.text), 1)) : w("", !0)
|
|
762
762
|
], 64));
|
|
763
763
|
}
|
|
764
764
|
}), Eo = { key: 0 }, qo = /* @__PURE__ */ $({
|
|
765
765
|
__name: "VoSettingsPageSuitOption",
|
|
766
766
|
setup(c) {
|
|
767
|
-
const
|
|
767
|
+
const e = F(), o = [
|
|
768
768
|
{
|
|
769
769
|
title: "Choose a page suit",
|
|
770
770
|
value: "",
|
|
@@ -789,20 +789,20 @@ const ce = W("http", {
|
|
|
789
789
|
];
|
|
790
790
|
return (a, n) => {
|
|
791
791
|
const i = yt, l = we;
|
|
792
|
-
return
|
|
792
|
+
return d(), L(U, null, [
|
|
793
793
|
s(i, {
|
|
794
|
-
modelValue: e
|
|
795
|
-
"onUpdate:modelValue": n[0] || (n[0] = (
|
|
794
|
+
modelValue: t(e).suits.show,
|
|
795
|
+
"onUpdate:modelValue": n[0] || (n[0] = (p) => t(e).suits.show = p),
|
|
796
796
|
class: "mb-2",
|
|
797
797
|
label: "Enable Page suits",
|
|
798
798
|
messages: "Customize layout elements with a unique background, styled after one of our themed releases."
|
|
799
799
|
}, null, 8, ["modelValue"]),
|
|
800
800
|
s(me, null, {
|
|
801
801
|
default: r(() => [
|
|
802
|
-
e
|
|
802
|
+
t(e).suits.show ? (d(), L("div", Eo, [
|
|
803
803
|
s(bo, {
|
|
804
|
-
modelValue: e
|
|
805
|
-
"onUpdate:modelValue": n[1] || (n[1] = (
|
|
804
|
+
modelValue: t(e).suits.suit,
|
|
805
|
+
"onUpdate:modelValue": n[1] || (n[1] = (p) => t(e).suits.suit = p),
|
|
806
806
|
clearable: "",
|
|
807
807
|
density: "compact",
|
|
808
808
|
"item-props": "",
|
|
@@ -812,27 +812,27 @@ const ce = W("http", {
|
|
|
812
812
|
style: { "max-width": "300px" },
|
|
813
813
|
variant: "outlined"
|
|
814
814
|
}, {
|
|
815
|
-
selection: r(({ item:
|
|
815
|
+
selection: r(({ item: p }) => [
|
|
816
816
|
s(D, {
|
|
817
|
-
icon:
|
|
817
|
+
icon: p.props.prependIcon,
|
|
818
818
|
size: "x-small",
|
|
819
819
|
start: ""
|
|
820
820
|
}, null, 8, ["icon"]),
|
|
821
|
-
T(" " + C(
|
|
821
|
+
T(" " + C(p.title), 1)
|
|
822
822
|
]),
|
|
823
823
|
_: 1
|
|
824
824
|
}, 8, ["modelValue"]),
|
|
825
825
|
s(l, { text: "Select your suit elements to display the background image:" }),
|
|
826
826
|
s(yo, {
|
|
827
|
-
modelValue: e
|
|
828
|
-
"onUpdate:modelValue": n[2] || (n[2] = (
|
|
827
|
+
modelValue: t(e).suits.elements,
|
|
828
|
+
"onUpdate:modelValue": n[2] || (n[2] = (p) => t(e).suits.elements = p),
|
|
829
829
|
color: "primary",
|
|
830
830
|
filter: "",
|
|
831
831
|
multiple: ""
|
|
832
832
|
}, {
|
|
833
833
|
default: r(() => [
|
|
834
834
|
s(te, {
|
|
835
|
-
"append-icon": `svg:${
|
|
835
|
+
"append-icon": `svg:${t(zt)}`,
|
|
836
836
|
"filter-icon": "$success",
|
|
837
837
|
text: "App Bar",
|
|
838
838
|
value: "app-bar",
|
|
@@ -848,7 +848,7 @@ const ce = W("http", {
|
|
|
848
848
|
_: 1
|
|
849
849
|
}, 8, ["append-icon"]),
|
|
850
850
|
s(te, {
|
|
851
|
-
"append-icon": `svg:${
|
|
851
|
+
"append-icon": `svg:${t(Ft)}`,
|
|
852
852
|
"filter-icon": "$success",
|
|
853
853
|
text: "Navigation Drawer",
|
|
854
854
|
value: "drawer",
|
|
@@ -897,16 +897,16 @@ function ve() {
|
|
|
897
897
|
);
|
|
898
898
|
}
|
|
899
899
|
const P = W("one", () => {
|
|
900
|
-
const c = ve(),
|
|
900
|
+
const c = ve(), e = Ne(), o = M(), a = ce(), n = A(!1), i = O(!1), l = O(), p = O([]), f = S(() => c.value.session_id), u = S(() => {
|
|
901
901
|
var x;
|
|
902
902
|
return (x = l.value) == null ? void 0 : x.items[0].plan.interval;
|
|
903
903
|
}), h = S(() => {
|
|
904
904
|
var x;
|
|
905
905
|
return (x = o.user) == null ? void 0 : x.sponsorships.find((I) => I.platform === "stripe" && I.tierName.startsWith("sub_"));
|
|
906
|
-
}),
|
|
906
|
+
}), b = S(() => {
|
|
907
907
|
var x;
|
|
908
908
|
return !!((x = h.value) != null && x.tierName);
|
|
909
|
-
}),
|
|
909
|
+
}), g = S(() => {
|
|
910
910
|
var x;
|
|
911
911
|
return (x = h.value) == null ? void 0 : x.isActive;
|
|
912
912
|
}), V = S(() => {
|
|
@@ -918,7 +918,7 @@ const P = W("one", () => {
|
|
|
918
918
|
}), v = S(() => {
|
|
919
919
|
var x;
|
|
920
920
|
return (x = o.user) == null ? void 0 : x.sponsorships.find((I) => I.platform === "discord");
|
|
921
|
-
}),
|
|
921
|
+
}), k = S(() => {
|
|
922
922
|
var x;
|
|
923
923
|
return (x = o.user) == null ? void 0 : x.sponsorships.find((I) => I.platform === "patreon");
|
|
924
924
|
}), N = S(() => {
|
|
@@ -941,7 +941,7 @@ const P = W("one", () => {
|
|
|
941
941
|
const I = B(() => o.user, (X) => {
|
|
942
942
|
X && (o.dialog = !1, I());
|
|
943
943
|
});
|
|
944
|
-
}, { immediate: !0 }), B(
|
|
944
|
+
}, { immediate: !0 }), B(g, (x, I) => {
|
|
945
945
|
x === !1 && I !== !0 || he();
|
|
946
946
|
});
|
|
947
947
|
async function j() {
|
|
@@ -1008,14 +1008,14 @@ const P = W("one", () => {
|
|
|
1008
1008
|
try {
|
|
1009
1009
|
n.value = !0;
|
|
1010
1010
|
const x = await a.get("/one/info");
|
|
1011
|
-
return l.value = x.subscription,
|
|
1011
|
+
return l.value = x.subscription, p.value = x.invoices, x;
|
|
1012
1012
|
} catch {
|
|
1013
1013
|
} finally {
|
|
1014
1014
|
n.value = !1;
|
|
1015
1015
|
}
|
|
1016
1016
|
}
|
|
1017
1017
|
function oe() {
|
|
1018
|
-
|
|
1018
|
+
e.push({
|
|
1019
1019
|
query: {
|
|
1020
1020
|
...c.value,
|
|
1021
1021
|
one: void 0
|
|
@@ -1025,16 +1025,16 @@ const P = W("one", () => {
|
|
|
1025
1025
|
return {
|
|
1026
1026
|
info: l,
|
|
1027
1027
|
interval: u,
|
|
1028
|
-
invoices:
|
|
1028
|
+
invoices: p,
|
|
1029
1029
|
sessionId: f,
|
|
1030
1030
|
subscription: h,
|
|
1031
1031
|
monthlyTotal: N,
|
|
1032
|
-
hasBilling:
|
|
1032
|
+
hasBilling: b,
|
|
1033
1033
|
isLoading: n,
|
|
1034
1034
|
isOpen: i,
|
|
1035
|
-
isSubscriber:
|
|
1035
|
+
isSubscriber: g,
|
|
1036
1036
|
github: m,
|
|
1037
|
-
patreon:
|
|
1037
|
+
patreon: k,
|
|
1038
1038
|
discord: v,
|
|
1039
1039
|
one: V,
|
|
1040
1040
|
activate: j,
|
|
@@ -1204,7 +1204,7 @@ function Wo() {
|
|
|
1204
1204
|
};
|
|
1205
1205
|
}
|
|
1206
1206
|
const Ke = W("settings", () => {
|
|
1207
|
-
const c = "https://cdn.vuetifyjs.com/docs/images/one/",
|
|
1207
|
+
const c = "https://cdn.vuetifyjs.com/docs/images/one/", e = M(), o = F(), a = Xe(), n = Wo(), i = {
|
|
1208
1208
|
blackguard: {
|
|
1209
1209
|
"app-bar": c + "suits/blackguard/blackguard-app-bar.png",
|
|
1210
1210
|
drawer: c + "suits/blackguard/blackguard-app-drawer.png",
|
|
@@ -1221,18 +1221,18 @@ const Ke = W("settings", () => {
|
|
|
1221
1221
|
footer: c + "suits/nebula/nebula-app-footer.png"
|
|
1222
1222
|
}
|
|
1223
1223
|
}, l = S(() => {
|
|
1224
|
-
if (!o.suits.suit || !o.suits.show || !
|
|
1224
|
+
if (!o.suits.suit || !o.suits.show || !e.isSubscriber)
|
|
1225
1225
|
return {};
|
|
1226
|
-
const
|
|
1226
|
+
const p = i[o.suits.suit.toLowerCase()], f = {};
|
|
1227
1227
|
for (const u of o.suits.elements)
|
|
1228
|
-
f[u] =
|
|
1228
|
+
f[u] = p[u];
|
|
1229
1229
|
return f;
|
|
1230
1230
|
});
|
|
1231
1231
|
return a.themes.value = {
|
|
1232
1232
|
...a.themes.value,
|
|
1233
1233
|
...n
|
|
1234
|
-
}, B(() => o.theme, (
|
|
1235
|
-
|
|
1234
|
+
}, B(() => o.theme, (p) => {
|
|
1235
|
+
p === "system" ? a.global.name.value = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : (a.global.name.value = p, o.suits.suit = i[p] ? p : ""), o.theme = p;
|
|
1236
1236
|
}, { immediate: !0 }), {
|
|
1237
1237
|
suit: l,
|
|
1238
1238
|
CDN_URL: c
|
|
@@ -1245,7 +1245,7 @@ const Ke = W("settings", () => {
|
|
|
1245
1245
|
},
|
|
1246
1246
|
emits: ["update:modelValue"],
|
|
1247
1247
|
setup(c) {
|
|
1248
|
-
const
|
|
1248
|
+
const e = re(c, "modelValue"), o = M(), a = P(), n = Ke(), i = F(), l = [
|
|
1249
1249
|
{
|
|
1250
1250
|
title: "Light",
|
|
1251
1251
|
subtitle: "A standard light theme.",
|
|
@@ -1296,15 +1296,15 @@ const Ke = W("settings", () => {
|
|
|
1296
1296
|
value: "highContrast",
|
|
1297
1297
|
disabled: !0
|
|
1298
1298
|
}
|
|
1299
|
-
],
|
|
1300
|
-
return B(
|
|
1301
|
-
|
|
1299
|
+
], p = ve();
|
|
1300
|
+
return B(p, async () => {
|
|
1301
|
+
p.value.one === "settings" && (a.isOpen = !0, await pe(), e.value = !0);
|
|
1302
1302
|
}, { immediate: !0 }), (f, u) => {
|
|
1303
|
-
const h = we,
|
|
1304
|
-
return
|
|
1305
|
-
modelValue:
|
|
1306
|
-
"onUpdate:modelValue": u[5] || (u[5] = (m) =>
|
|
1307
|
-
"prepend-icon": `svg:${
|
|
1303
|
+
const h = we, b = qo, g = yt, V = xe;
|
|
1304
|
+
return d(), _(V, {
|
|
1305
|
+
modelValue: e.value,
|
|
1306
|
+
"onUpdate:modelValue": u[5] || (u[5] = (m) => e.value = m),
|
|
1307
|
+
"prepend-icon": `svg:${t(Rt)}`,
|
|
1308
1308
|
title: "Settings"
|
|
1309
1309
|
}, {
|
|
1310
1310
|
default: r(() => [
|
|
@@ -1319,14 +1319,14 @@ const Ke = W("settings", () => {
|
|
|
1319
1319
|
title: "Theme"
|
|
1320
1320
|
}),
|
|
1321
1321
|
s(pt, {
|
|
1322
|
-
modelValue:
|
|
1323
|
-
"onUpdate:modelValue": u[0] || (u[0] = (m) =>
|
|
1322
|
+
modelValue: t(i).theme,
|
|
1323
|
+
"onUpdate:modelValue": u[0] || (u[0] = (m) => t(i).theme = m),
|
|
1324
1324
|
mandatory: ""
|
|
1325
1325
|
}, {
|
|
1326
1326
|
default: r(() => [
|
|
1327
1327
|
s(de, { dense: "" }, {
|
|
1328
1328
|
default: r(() => [
|
|
1329
|
-
(
|
|
1329
|
+
(d(), L(U, null, ne(l, (m, v) => s(K, {
|
|
1330
1330
|
key: v,
|
|
1331
1331
|
cols: "12",
|
|
1332
1332
|
md: "6"
|
|
@@ -1335,7 +1335,7 @@ const Ke = W("settings", () => {
|
|
|
1335
1335
|
s(Re, {
|
|
1336
1336
|
value: m.value
|
|
1337
1337
|
}, {
|
|
1338
|
-
default: r(({ toggle:
|
|
1338
|
+
default: r(({ toggle: k, isSelected: N }) => [
|
|
1339
1339
|
s(ze, null, {
|
|
1340
1340
|
default: r(({ props: j, isHovering: ie }) => [
|
|
1341
1341
|
s(E, H({
|
|
@@ -1348,7 +1348,7 @@ const Ke = W("settings", () => {
|
|
|
1348
1348
|
subtitle: m.disabled ? "In Development" : m.subtitle,
|
|
1349
1349
|
title: m.title,
|
|
1350
1350
|
variant: "tonal"
|
|
1351
|
-
}, j, { onClick:
|
|
1351
|
+
}, j, { onClick: k }), {
|
|
1352
1352
|
image: r(() => [
|
|
1353
1353
|
s(Y, {
|
|
1354
1354
|
style: ot({
|
|
@@ -1373,9 +1373,9 @@ const Ke = W("settings", () => {
|
|
|
1373
1373
|
]),
|
|
1374
1374
|
_: 1
|
|
1375
1375
|
}, 8, ["modelValue"]),
|
|
1376
|
-
|
|
1376
|
+
t(o).isSubscriber ? (d(), L(U, { key: 0 }, [
|
|
1377
1377
|
s(Z, { class: "mt-6 mb-4" }),
|
|
1378
|
-
s(
|
|
1378
|
+
s(b)
|
|
1379
1379
|
], 64)) : w("", !0)
|
|
1380
1380
|
]),
|
|
1381
1381
|
_: 1
|
|
@@ -1387,17 +1387,17 @@ const Ke = W("settings", () => {
|
|
|
1387
1387
|
text: "These options change your browsing experience within Vuetify properties",
|
|
1388
1388
|
title: "Experience"
|
|
1389
1389
|
}),
|
|
1390
|
-
|
|
1390
|
+
t(o).isSubscriber ? (d(), _(g, {
|
|
1391
1391
|
key: 0,
|
|
1392
|
-
modelValue:
|
|
1393
|
-
"onUpdate:modelValue": u[1] || (u[1] = (m) =>
|
|
1392
|
+
modelValue: t(i).disableAds,
|
|
1393
|
+
"onUpdate:modelValue": u[1] || (u[1] = (m) => t(i).disableAds = m),
|
|
1394
1394
|
class: "mb-2",
|
|
1395
1395
|
label: "Disable Ads",
|
|
1396
1396
|
messages: "Disable traditional advertisements on all documentation pages."
|
|
1397
1397
|
}, null, 8, ["modelValue"])) : w("", !0),
|
|
1398
|
-
s(
|
|
1399
|
-
modelValue:
|
|
1400
|
-
"onUpdate:modelValue": u[2] || (u[2] = (m) =>
|
|
1398
|
+
s(g, {
|
|
1399
|
+
modelValue: t(i).quickbar,
|
|
1400
|
+
"onUpdate:modelValue": u[2] || (u[2] = (m) => t(i).quickbar = m),
|
|
1401
1401
|
label: "Enable Quick Actions",
|
|
1402
1402
|
messages: "Quick actions are located on the Vuetify One user menu and provide quick access to common tasks."
|
|
1403
1403
|
}, null, 8, ["modelValue"])
|
|
@@ -1405,7 +1405,7 @@ const Ke = W("settings", () => {
|
|
|
1405
1405
|
_: 1
|
|
1406
1406
|
}),
|
|
1407
1407
|
s(Z),
|
|
1408
|
-
|
|
1408
|
+
t(o).isSubscriber ? (d(), _(_e, {
|
|
1409
1409
|
key: 0,
|
|
1410
1410
|
class: "px-7"
|
|
1411
1411
|
}, {
|
|
@@ -1414,19 +1414,19 @@ const Ke = W("settings", () => {
|
|
|
1414
1414
|
text: "Vuetify will communicate with you through banners and notifications. You can disable these features here or reset your local notification cache.",
|
|
1415
1415
|
title: "Communication"
|
|
1416
1416
|
}),
|
|
1417
|
-
s(
|
|
1418
|
-
modelValue:
|
|
1419
|
-
"onUpdate:modelValue": u[3] || (u[3] = (m) =>
|
|
1417
|
+
s(g, {
|
|
1418
|
+
modelValue: t(i).notifications.show,
|
|
1419
|
+
"onUpdate:modelValue": u[3] || (u[3] = (m) => t(i).notifications.show = m),
|
|
1420
1420
|
class: "mb-2",
|
|
1421
1421
|
label: "Enable Notifications",
|
|
1422
1422
|
messages: "Notifications are short form messages that provide information about new releases, updates, and other important information."
|
|
1423
1423
|
}, null, 8, ["modelValue"]),
|
|
1424
1424
|
s(me, null, {
|
|
1425
1425
|
default: r(() => [
|
|
1426
|
-
|
|
1426
|
+
t(i).notifications.show ? (d(), _(g, {
|
|
1427
1427
|
key: 0,
|
|
1428
|
-
modelValue:
|
|
1429
|
-
"onUpdate:modelValue": u[4] || (u[4] = (m) =>
|
|
1428
|
+
modelValue: t(i).notifications.banners,
|
|
1429
|
+
"onUpdate:modelValue": u[4] || (u[4] = (m) => t(i).notifications.banners = m),
|
|
1430
1430
|
label: "Enable Banners",
|
|
1431
1431
|
messages: "Banners are located at the top of the screen and provide a callout for important information."
|
|
1432
1432
|
}, null, 8, ["modelValue"])) : w("", !0)
|
|
@@ -1450,19 +1450,19 @@ const Ke = W("settings", () => {
|
|
|
1450
1450
|
}), Zo = /* @__PURE__ */ $({
|
|
1451
1451
|
__name: "VoSettingsListItem",
|
|
1452
1452
|
setup(c) {
|
|
1453
|
-
const
|
|
1453
|
+
const e = A(!1);
|
|
1454
1454
|
return (o, a) => {
|
|
1455
1455
|
const n = Go, i = J;
|
|
1456
|
-
return
|
|
1457
|
-
active: e
|
|
1456
|
+
return d(), _(i, {
|
|
1457
|
+
active: t(e),
|
|
1458
1458
|
link: "",
|
|
1459
|
-
"prepend-icon": `svg:${
|
|
1459
|
+
"prepend-icon": `svg:${t(Et)}`,
|
|
1460
1460
|
title: "Settings"
|
|
1461
1461
|
}, {
|
|
1462
1462
|
default: r(() => [
|
|
1463
1463
|
s(n, {
|
|
1464
|
-
modelValue: e
|
|
1465
|
-
"onUpdate:modelValue": a[0] || (a[0] = (l) => se(
|
|
1464
|
+
modelValue: t(e),
|
|
1465
|
+
"onUpdate:modelValue": a[0] || (a[0] = (l) => se(e) ? e.value = l : null)
|
|
1466
1466
|
}, null, 8, ["modelValue"])
|
|
1467
1467
|
]),
|
|
1468
1468
|
_: 1
|
|
@@ -1472,10 +1472,10 @@ const Ke = W("settings", () => {
|
|
|
1472
1472
|
}), Qo = { class: "text-caption" }, Yo = /* @__PURE__ */ $({
|
|
1473
1473
|
__name: "VoSubscriptionInvoices",
|
|
1474
1474
|
setup(c) {
|
|
1475
|
-
const
|
|
1475
|
+
const e = Ue(), o = P();
|
|
1476
1476
|
return (a, n) => {
|
|
1477
1477
|
const i = we;
|
|
1478
|
-
return
|
|
1478
|
+
return d(), _(de, null, {
|
|
1479
1479
|
default: r(() => [
|
|
1480
1480
|
s(K, { cols: "12" }, {
|
|
1481
1481
|
default: r(() => [
|
|
@@ -1490,12 +1490,12 @@ const Ke = W("settings", () => {
|
|
|
1490
1490
|
}, {
|
|
1491
1491
|
default: r(() => [
|
|
1492
1492
|
s(Vo, {
|
|
1493
|
-
items:
|
|
1494
|
-
loading:
|
|
1493
|
+
items: t(o).invoices,
|
|
1494
|
+
loading: t(o).isLoading,
|
|
1495
1495
|
sticky: ""
|
|
1496
1496
|
}, {
|
|
1497
1497
|
"item.date": r(({ item: l }) => [
|
|
1498
|
-
|
|
1498
|
+
y("div", Qo, C(t(e).format(new Date(l.date * 1e3), "fullDateWithWeekday")), 1)
|
|
1499
1499
|
]),
|
|
1500
1500
|
"item.amount": r(({ item: l }) => [
|
|
1501
1501
|
T(" $" + C(l.amount / 100), 1)
|
|
@@ -1514,7 +1514,7 @@ const Ke = W("settings", () => {
|
|
|
1514
1514
|
"item.pdf": r(({ item: l }) => [
|
|
1515
1515
|
s(q, {
|
|
1516
1516
|
href: l.pdf,
|
|
1517
|
-
icon: `svg:${
|
|
1517
|
+
icon: `svg:${t(qt)}`,
|
|
1518
1518
|
size: "small",
|
|
1519
1519
|
target: "_blank",
|
|
1520
1520
|
variant: "text"
|
|
@@ -1536,26 +1536,26 @@ const Ke = W("settings", () => {
|
|
|
1536
1536
|
}), Jo = { class: "d-flex align-center" }, Xo = {
|
|
1537
1537
|
key: "status",
|
|
1538
1538
|
class: "text-capitalize hidden-sm-and-down"
|
|
1539
|
-
}, Ko = /* @__PURE__ */
|
|
1539
|
+
}, Ko = /* @__PURE__ */ y("span", { class: "mx-1 hidden-sm-and-down" }, "—", -1), en = { class: "me-1" }, tn = { class: "text-medium-emphasis text-caption" }, on = { class: "d-flex align-start justify-space-between text-caption py-2" }, nn = { class: "font-weight-bold" }, sn = { class: "font-weight-bold" }, an = /* @__PURE__ */ $({
|
|
1540
1540
|
__name: "VoSubscriptionStatus",
|
|
1541
1541
|
emits: ["change:subscription"],
|
|
1542
|
-
setup(c, { emit:
|
|
1543
|
-
const o = Ue(), a = P(), n =
|
|
1542
|
+
setup(c, { emit: e }) {
|
|
1543
|
+
const o = Ue(), a = P(), n = e, i = S(() => {
|
|
1544
1544
|
if (!a.info)
|
|
1545
1545
|
return;
|
|
1546
|
-
const
|
|
1547
|
-
return o.format(
|
|
1546
|
+
const p = new Date(a.info.currentPeriodEnd * 1e3);
|
|
1547
|
+
return o.format(p, "keyboardDate");
|
|
1548
1548
|
});
|
|
1549
1549
|
async function l() {
|
|
1550
1550
|
a.interval && (a.isLoading = !0, a.subscribe(a.interval));
|
|
1551
1551
|
}
|
|
1552
|
-
return (
|
|
1552
|
+
return (p, f) => {
|
|
1553
1553
|
const u = fe;
|
|
1554
|
-
return
|
|
1554
|
+
return d(), _(de, null, {
|
|
1555
1555
|
default: r(() => [
|
|
1556
1556
|
s(K, { cols: "12" }, {
|
|
1557
1557
|
default: r(() => {
|
|
1558
|
-
var h,
|
|
1558
|
+
var h, b;
|
|
1559
1559
|
return [
|
|
1560
1560
|
s(E, {
|
|
1561
1561
|
border: "",
|
|
@@ -1565,45 +1565,45 @@ const Ke = W("settings", () => {
|
|
|
1565
1565
|
title: "Subscription Status"
|
|
1566
1566
|
}, R({
|
|
1567
1567
|
append: r(() => {
|
|
1568
|
-
var
|
|
1568
|
+
var g;
|
|
1569
1569
|
return [
|
|
1570
|
-
|
|
1570
|
+
t(a).hasBilling && ((g = t(a).info) == null ? void 0 : g.status) === "canceled" ? (d(), _(u, {
|
|
1571
1571
|
key: 0,
|
|
1572
1572
|
class: "me-2",
|
|
1573
1573
|
color: "success",
|
|
1574
|
-
loading:
|
|
1574
|
+
loading: t(a).isLoading,
|
|
1575
1575
|
"prepend-icon": "$success",
|
|
1576
1576
|
text: "Activate",
|
|
1577
1577
|
variant: "outlined",
|
|
1578
1578
|
onClick: l
|
|
1579
1579
|
}, null, 8, ["loading"])) : w("", !0),
|
|
1580
|
-
|
|
1580
|
+
t(a).hasBilling ? (d(), _(u, {
|
|
1581
1581
|
key: 1,
|
|
1582
|
-
loading:
|
|
1583
|
-
"prepend-icon": `svg:${
|
|
1582
|
+
loading: t(a).isLoading,
|
|
1583
|
+
"prepend-icon": `svg:${t(Wt)}`,
|
|
1584
1584
|
text: "Billing",
|
|
1585
|
-
onClick:
|
|
1585
|
+
onClick: t(a).manage
|
|
1586
1586
|
}, null, 8, ["loading", "prepend-icon", "onClick"])) : w("", !0)
|
|
1587
1587
|
];
|
|
1588
1588
|
}),
|
|
1589
1589
|
_: 2
|
|
1590
1590
|
}, [
|
|
1591
|
-
|
|
1591
|
+
t(a).info ? {
|
|
1592
1592
|
name: "subtitle",
|
|
1593
1593
|
fn: r(() => [
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1594
|
+
y("div", Jo, [
|
|
1595
|
+
y("span", Xo, C(t(a).info.status), 1),
|
|
1596
|
+
t(a).info.items.length ? (d(), L(U, { key: 0 }, [
|
|
1597
1597
|
Ko,
|
|
1598
|
-
|
|
1599
|
-
T(" $" + C(
|
|
1600
|
-
|
|
1598
|
+
y("span", en, [
|
|
1599
|
+
T(" $" + C(t(a).info.items[0].plan.amount / 100), 1),
|
|
1600
|
+
y("span", tn, "/" + C(t(a).interval), 1)
|
|
1601
1601
|
]),
|
|
1602
1602
|
s(u, {
|
|
1603
1603
|
size: "x-small",
|
|
1604
1604
|
text: "(Change Subscription)",
|
|
1605
1605
|
variant: "text",
|
|
1606
|
-
onClick: f[0] || (f[0] = (
|
|
1606
|
+
onClick: f[0] || (f[0] = (g) => n("change:subscription"))
|
|
1607
1607
|
})
|
|
1608
1608
|
], 64)) : w("", !0)
|
|
1609
1609
|
])
|
|
@@ -1612,13 +1612,13 @@ const Ke = W("settings", () => {
|
|
|
1612
1612
|
} : {
|
|
1613
1613
|
name: "subtitle",
|
|
1614
1614
|
fn: r(() => [
|
|
1615
|
-
|
|
1615
|
+
y("div", { class: "d-flex align-center" }, [
|
|
1616
1616
|
s(be, {
|
|
1617
1617
|
height: "16",
|
|
1618
1618
|
type: "ossein",
|
|
1619
1619
|
width: "40"
|
|
1620
1620
|
}),
|
|
1621
|
-
|
|
1621
|
+
y("span", { class: "mx-1" }, "—"),
|
|
1622
1622
|
s(be, {
|
|
1623
1623
|
height: "16",
|
|
1624
1624
|
type: "ossein",
|
|
@@ -1629,15 +1629,15 @@ const Ke = W("settings", () => {
|
|
|
1629
1629
|
key: "1"
|
|
1630
1630
|
}
|
|
1631
1631
|
]), 1024),
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
((h =
|
|
1632
|
+
y("div", on, [
|
|
1633
|
+
y("div", null, [
|
|
1634
|
+
((h = t(a).info) == null ? void 0 : h.status) === "active" ? (d(), L(U, { key: 0 }, [
|
|
1635
1635
|
T(" Your plan renews on "),
|
|
1636
|
-
|
|
1636
|
+
y("span", nn, C(t(o).format(t(i), "fullDateWithWeekday")), 1),
|
|
1637
1637
|
T(". ")
|
|
1638
|
-
], 64)) : (
|
|
1638
|
+
], 64)) : (d(), L(U, { key: 1 }, [
|
|
1639
1639
|
T(" Your plan ends on "),
|
|
1640
|
-
|
|
1640
|
+
y("span", sn, C(t(o).format((b = t(a).info) == null ? void 0 : b.currentPeriodEnd, "fullDateWithWeekday")), 1),
|
|
1641
1641
|
T(". ")
|
|
1642
1642
|
], 64))
|
|
1643
1643
|
])
|
|
@@ -1651,10 +1651,10 @@ const Ke = W("settings", () => {
|
|
|
1651
1651
|
});
|
|
1652
1652
|
};
|
|
1653
1653
|
}
|
|
1654
|
-
}), rn = /* @__PURE__ */
|
|
1654
|
+
}), rn = /* @__PURE__ */ y("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The Vuetify One subscription comes with the following perks: ", -1), ln = ["innerHTML"], cn = /* @__PURE__ */ y("br", null, null, -1), un = /* @__PURE__ */ y("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The following features are in development and coming soon: ", -1), dn = ["innerHTML"], pn = /* @__PURE__ */ $({
|
|
1655
1655
|
__name: "VoSubscriptionPerks",
|
|
1656
1656
|
setup(c) {
|
|
1657
|
-
const
|
|
1657
|
+
const e = [
|
|
1658
1658
|
"Ad Free Experience on all Vuetify properties",
|
|
1659
1659
|
'Save and share code snippets with <a href="https://vbin.io/" target="_blank">VBin</a>',
|
|
1660
1660
|
'Pinned Navigation Items and Rail drawer in <a href="https://vuetifyjs.com/" target="_blank">Documentation</a>',
|
|
@@ -1668,8 +1668,8 @@ const Ke = W("settings", () => {
|
|
|
1668
1668
|
return B(a, async (i) => {
|
|
1669
1669
|
i && n.subscriptionInfo();
|
|
1670
1670
|
}), (i, l) => {
|
|
1671
|
-
const
|
|
1672
|
-
return
|
|
1671
|
+
const p = J;
|
|
1672
|
+
return d(), L(U, null, [
|
|
1673
1673
|
s(He, { class: "font-weight-black" }, {
|
|
1674
1674
|
default: r(() => [
|
|
1675
1675
|
T("Perks")
|
|
@@ -1684,10 +1684,10 @@ const Ke = W("settings", () => {
|
|
|
1684
1684
|
nav: ""
|
|
1685
1685
|
}, {
|
|
1686
1686
|
default: r(() => [
|
|
1687
|
-
(
|
|
1687
|
+
(d(), L(U, null, ne(e, (f, u) => s(p, {
|
|
1688
1688
|
key: u,
|
|
1689
1689
|
class: "mb-0",
|
|
1690
|
-
"prepend-icon": `svg:${
|
|
1690
|
+
"prepend-icon": `svg:${t(Ae)}`
|
|
1691
1691
|
}, {
|
|
1692
1692
|
prepend: r(() => [
|
|
1693
1693
|
s(D, {
|
|
@@ -1697,7 +1697,7 @@ const Ke = W("settings", () => {
|
|
|
1697
1697
|
})
|
|
1698
1698
|
]),
|
|
1699
1699
|
title: r(() => [
|
|
1700
|
-
|
|
1700
|
+
y("div", { innerHTML: f }, null, 8, ln)
|
|
1701
1701
|
]),
|
|
1702
1702
|
_: 2
|
|
1703
1703
|
}, 1032, ["prepend-icon"])), 64))
|
|
@@ -1719,10 +1719,10 @@ const Ke = W("settings", () => {
|
|
|
1719
1719
|
nav: ""
|
|
1720
1720
|
}, {
|
|
1721
1721
|
default: r(() => [
|
|
1722
|
-
(
|
|
1722
|
+
(d(), L(U, null, ne(o, (f, u) => s(p, {
|
|
1723
1723
|
key: u,
|
|
1724
1724
|
class: "mb-0",
|
|
1725
|
-
"prepend-icon": `svg:${
|
|
1725
|
+
"prepend-icon": `svg:${t(Gt)}`
|
|
1726
1726
|
}, {
|
|
1727
1727
|
prepend: r(() => [
|
|
1728
1728
|
s(D, {
|
|
@@ -1731,7 +1731,7 @@ const Ke = W("settings", () => {
|
|
|
1731
1731
|
})
|
|
1732
1732
|
]),
|
|
1733
1733
|
title: r(() => [
|
|
1734
|
-
|
|
1734
|
+
y("div", { innerHTML: f }, null, 8, dn)
|
|
1735
1735
|
]),
|
|
1736
1736
|
_: 2
|
|
1737
1737
|
}, 1032, ["prepend-icon"])), 64))
|
|
@@ -1751,12 +1751,12 @@ const Ke = W("settings", () => {
|
|
|
1751
1751
|
},
|
|
1752
1752
|
emits: ["update:modelValue"],
|
|
1753
1753
|
setup(c) {
|
|
1754
|
-
const
|
|
1755
|
-
return B(
|
|
1754
|
+
const e = A(!1), o = re(c, "modelValue"), a = P();
|
|
1755
|
+
return B(e, async (n) => {
|
|
1756
1756
|
n && a.subscriptionInfo();
|
|
1757
1757
|
}), B(() => a.interval, (n) => {
|
|
1758
1758
|
o.value = n;
|
|
1759
|
-
}, { immediate: !0 }), (n, i) => (
|
|
1759
|
+
}, { immediate: !0 }), (n, i) => (d(), _(pt, {
|
|
1760
1760
|
modelValue: o.value,
|
|
1761
1761
|
"onUpdate:modelValue": i[0] || (i[0] = (l) => o.value = l),
|
|
1762
1762
|
mandatory: ""
|
|
@@ -1770,15 +1770,15 @@ const Ke = W("settings", () => {
|
|
|
1770
1770
|
}, {
|
|
1771
1771
|
default: r(() => [
|
|
1772
1772
|
s(Re, { value: "month" }, {
|
|
1773
|
-
default: r(({ toggle: l, isSelected:
|
|
1773
|
+
default: r(({ toggle: l, isSelected: p }) => [
|
|
1774
1774
|
s(E, {
|
|
1775
|
-
border:
|
|
1776
|
-
color:
|
|
1777
|
-
"prepend-icon":
|
|
1775
|
+
border: p ? "sm primary opacity-100" : "sm",
|
|
1776
|
+
color: p ? "primary" : void 0,
|
|
1777
|
+
"prepend-icon": p ? `svg:${t(Ie)}` : "$radioOff",
|
|
1778
1778
|
rounded: "lg",
|
|
1779
1779
|
subtitle: "$2.99/month",
|
|
1780
1780
|
title: "Monthly",
|
|
1781
|
-
variant:
|
|
1781
|
+
variant: p ? "tonal" : "text",
|
|
1782
1782
|
onClick: l
|
|
1783
1783
|
}, {
|
|
1784
1784
|
prepend: r(() => [
|
|
@@ -1798,15 +1798,15 @@ const Ke = W("settings", () => {
|
|
|
1798
1798
|
}, {
|
|
1799
1799
|
default: r(() => [
|
|
1800
1800
|
s(Re, { value: "year" }, {
|
|
1801
|
-
default: r(({ toggle: l, isSelected:
|
|
1801
|
+
default: r(({ toggle: l, isSelected: p }) => [
|
|
1802
1802
|
s(E, {
|
|
1803
|
-
border:
|
|
1804
|
-
color:
|
|
1805
|
-
"prepend-icon":
|
|
1803
|
+
border: p ? "sm primary opacity-100" : "sm",
|
|
1804
|
+
color: p ? "primary" : void 0,
|
|
1805
|
+
"prepend-icon": p ? `svg:${t(Ie)}` : "$radioOff",
|
|
1806
1806
|
rounded: "lg",
|
|
1807
1807
|
subtitle: "$29.99/year",
|
|
1808
1808
|
title: "Yearly",
|
|
1809
|
-
variant:
|
|
1809
|
+
variant: p ? "tonal" : "text",
|
|
1810
1810
|
onClick: l
|
|
1811
1811
|
}, {
|
|
1812
1812
|
prepend: r(() => [
|
|
@@ -1836,7 +1836,7 @@ const Ke = W("settings", () => {
|
|
|
1836
1836
|
_: 1
|
|
1837
1837
|
}, 8, ["modelValue"]));
|
|
1838
1838
|
}
|
|
1839
|
-
}), fn = { class: "px-3" }, vn = /* @__PURE__ */
|
|
1839
|
+
}), fn = { class: "px-3" }, vn = /* @__PURE__ */ y("br", null, null, -1), hn = { class: "flex-grow-1 px-4 pb-3 overflow-hidden" }, _n = /* @__PURE__ */ $({
|
|
1840
1840
|
__name: "VoSubscriptionDialog",
|
|
1841
1841
|
props: {
|
|
1842
1842
|
modelValue: { type: Boolean },
|
|
@@ -1844,12 +1844,12 @@ const Ke = W("settings", () => {
|
|
|
1844
1844
|
},
|
|
1845
1845
|
emits: ["update:modelValue"],
|
|
1846
1846
|
setup(c) {
|
|
1847
|
-
function
|
|
1847
|
+
function e(u) {
|
|
1848
1848
|
return new Promise((h) => setTimeout(h, u));
|
|
1849
1849
|
}
|
|
1850
|
-
const o = re(c, "modelValue"), a = P(), n = ve(), i = A(a.interval), l = A(a.hasBilling ? "status" : "subscribe"),
|
|
1850
|
+
const o = re(c, "modelValue"), a = P(), n = ve(), i = A(a.interval), l = A(a.hasBilling ? "status" : "subscribe"), p = A(!1);
|
|
1851
1851
|
B(i, (u) => {
|
|
1852
|
-
!a.isSubscriber || !a.interval || (
|
|
1852
|
+
!a.isSubscriber || !a.interval || (p.value = u !== a.interval);
|
|
1853
1853
|
}), B(o, async (u) => {
|
|
1854
1854
|
if (!u || !a.isSubscriber) {
|
|
1855
1855
|
u || a.resetQuery();
|
|
@@ -1860,14 +1860,14 @@ const Ke = W("settings", () => {
|
|
|
1860
1860
|
!a.sessionId && !["subscribe", "status"].includes(n.value.one) || (l.value = a.sessionId || n.value.one === "status" ? "status" : "subscribe", a.isOpen = !0, await pe(), o.value = !0);
|
|
1861
1861
|
}, { immediate: !0 });
|
|
1862
1862
|
async function f() {
|
|
1863
|
-
await a.modify(i.value), await a.subscriptionInfo(),
|
|
1863
|
+
await a.modify(i.value), await a.subscriptionInfo(), p.value = null, await e(3e3), l.value = "status", await e(300), p.value = !1;
|
|
1864
1864
|
}
|
|
1865
1865
|
return (u, h) => {
|
|
1866
|
-
const
|
|
1867
|
-
return
|
|
1866
|
+
const b = we, g = mn, V = pn, m = an, v = Yo, k = fe, N = xe;
|
|
1867
|
+
return d(), _(N, {
|
|
1868
1868
|
modelValue: o.value,
|
|
1869
1869
|
"onUpdate:modelValue": h[4] || (h[4] = (j) => o.value = j),
|
|
1870
|
-
"prepend-icon": `svg:${
|
|
1870
|
+
"prepend-icon": `svg:${t(Zt)}`,
|
|
1871
1871
|
title: "Subscriptions"
|
|
1872
1872
|
}, R({
|
|
1873
1873
|
default: r(() => [
|
|
@@ -1875,19 +1875,19 @@ const Ke = W("settings", () => {
|
|
|
1875
1875
|
default: r(() => [
|
|
1876
1876
|
s($e, { scrollable: "" }, {
|
|
1877
1877
|
default: r(() => [
|
|
1878
|
-
|
|
1878
|
+
y("div", fn, [
|
|
1879
1879
|
s(_e, null, {
|
|
1880
1880
|
default: r(() => [
|
|
1881
|
-
s(
|
|
1881
|
+
s(b, {
|
|
1882
1882
|
text: "The Vuetify One subscription is a great way to support the Vuetify team and get access to exclusive features and content.",
|
|
1883
1883
|
title: "Vuetify One"
|
|
1884
1884
|
}),
|
|
1885
|
-
s(mt, { "model-value":
|
|
1885
|
+
s(mt, { "model-value": t(l) }, {
|
|
1886
1886
|
default: r(() => [
|
|
1887
1887
|
s(ge, { value: "subscribe" }, {
|
|
1888
1888
|
default: r(() => [
|
|
1889
|
-
s(
|
|
1890
|
-
modelValue:
|
|
1889
|
+
s(g, {
|
|
1890
|
+
modelValue: t(i),
|
|
1891
1891
|
"onUpdate:modelValue": h[0] || (h[0] = (j) => se(i) ? i.value = j : null)
|
|
1892
1892
|
}, null, 8, ["modelValue"]),
|
|
1893
1893
|
vn,
|
|
@@ -1920,37 +1920,37 @@ const Ke = W("settings", () => {
|
|
|
1920
1920
|
]),
|
|
1921
1921
|
_: 2
|
|
1922
1922
|
}, [
|
|
1923
|
-
|
|
1923
|
+
t(l) === "subscribe" ? {
|
|
1924
1924
|
name: "actions",
|
|
1925
1925
|
fn: r(() => [
|
|
1926
|
-
|
|
1927
|
-
|
|
1926
|
+
y("div", hn, [
|
|
1927
|
+
t(p) !== !1 ? (d(), _(k, {
|
|
1928
1928
|
key: 0,
|
|
1929
1929
|
block: "",
|
|
1930
1930
|
color: "success",
|
|
1931
|
-
loading:
|
|
1932
|
-
"prepend-icon": `svg:${
|
|
1933
|
-
readonly:
|
|
1931
|
+
loading: t(a).isLoading,
|
|
1932
|
+
"prepend-icon": `svg:${t(p) !== null ? t(Qt) : t(Ie)}`,
|
|
1933
|
+
readonly: t(p) === null,
|
|
1934
1934
|
size: "default",
|
|
1935
|
-
text:
|
|
1935
|
+
text: t(p) !== null ? "Modify Subscription" : "Success",
|
|
1936
1936
|
onClick: f
|
|
1937
|
-
}, null, 8, ["loading", "prepend-icon", "readonly", "text"])) :
|
|
1937
|
+
}, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : t(a).isSubscriber ? (d(), _(k, {
|
|
1938
1938
|
key: 2,
|
|
1939
1939
|
block: "",
|
|
1940
|
-
"prepend-icon": `svg:${
|
|
1940
|
+
"prepend-icon": `svg:${t(Yt)}`,
|
|
1941
1941
|
size: "default",
|
|
1942
1942
|
text: "Manage Subscription",
|
|
1943
1943
|
onClick: h[3] || (h[3] = (j) => l.value = "status")
|
|
1944
|
-
}, null, 8, ["prepend-icon"])) : (
|
|
1944
|
+
}, null, 8, ["prepend-icon"])) : (d(), _(k, {
|
|
1945
1945
|
key: 1,
|
|
1946
1946
|
block: "",
|
|
1947
|
-
color:
|
|
1948
|
-
disabled: !
|
|
1949
|
-
loading:
|
|
1947
|
+
color: t(i) ? "primary" : "disabled",
|
|
1948
|
+
disabled: !t(i),
|
|
1949
|
+
loading: t(a).isLoading,
|
|
1950
1950
|
"prepend-icon": "$vuetify",
|
|
1951
1951
|
size: "default",
|
|
1952
1952
|
text: "Activate Subscription",
|
|
1953
|
-
onClick: h[2] || (h[2] = (j) =>
|
|
1953
|
+
onClick: h[2] || (h[2] = (j) => t(a).subscribe(t(i)))
|
|
1954
1954
|
}, null, 8, ["color", "disabled", "loading"]))
|
|
1955
1955
|
])
|
|
1956
1956
|
]),
|
|
@@ -1962,19 +1962,19 @@ const Ke = W("settings", () => {
|
|
|
1962
1962
|
}), gn = /* @__PURE__ */ $({
|
|
1963
1963
|
__name: "VoSubscriptionListItem",
|
|
1964
1964
|
setup(c) {
|
|
1965
|
-
const
|
|
1965
|
+
const e = A(!1);
|
|
1966
1966
|
return (o, a) => {
|
|
1967
1967
|
const n = _n, i = J;
|
|
1968
|
-
return
|
|
1969
|
-
active: e
|
|
1968
|
+
return d(), _(i, {
|
|
1969
|
+
active: t(e),
|
|
1970
1970
|
link: "",
|
|
1971
|
-
"prepend-icon": `svg:${
|
|
1971
|
+
"prepend-icon": `svg:${t(Jt)}`,
|
|
1972
1972
|
title: "Subscriptions"
|
|
1973
1973
|
}, {
|
|
1974
1974
|
default: r(() => [
|
|
1975
1975
|
s(n, {
|
|
1976
|
-
modelValue: e
|
|
1977
|
-
"onUpdate:modelValue": a[0] || (a[0] = (l) => se(
|
|
1976
|
+
modelValue: t(e),
|
|
1977
|
+
"onUpdate:modelValue": a[0] || (a[0] = (l) => se(e) ? e.value = l : null)
|
|
1978
1978
|
}, null, 8, ["modelValue"])
|
|
1979
1979
|
]),
|
|
1980
1980
|
_: 1
|
|
@@ -1996,23 +1996,23 @@ const Ke = W("settings", () => {
|
|
|
1996
1996
|
sponsorship: {}
|
|
1997
1997
|
},
|
|
1998
1998
|
setup(c) {
|
|
1999
|
-
const
|
|
1999
|
+
const e = c, o = Ke(), a = S(() => {
|
|
2000
2000
|
var i, l;
|
|
2001
|
-
return `$${parseFloat(String((((i =
|
|
2001
|
+
return `$${parseFloat(String((((i = e.sponsorship) == null ? void 0 : i.amount) ?? 0) / 100)).toFixed(2)} /${(l = e.sponsorship) == null ? void 0 : l.interval}`;
|
|
2002
2002
|
});
|
|
2003
2003
|
return (n, i) => {
|
|
2004
|
-
var
|
|
2004
|
+
var p, f;
|
|
2005
2005
|
const l = fe;
|
|
2006
|
-
return
|
|
2007
|
-
"dot-color": (
|
|
2008
|
-
icon: (f = n.sponsorship) != null && f.isActive ? `svg:${
|
|
2006
|
+
return d(), _(ko, {
|
|
2007
|
+
"dot-color": (p = n.sponsorship) != null && p.isActive ? "success" : "transparent",
|
|
2008
|
+
icon: (f = n.sponsorship) != null && f.isActive ? `svg:${t(Ae)}` : void 0,
|
|
2009
2009
|
size: "x-small",
|
|
2010
2010
|
width: "100%"
|
|
2011
2011
|
}, {
|
|
2012
2012
|
default: r(() => [
|
|
2013
2013
|
s(E, {
|
|
2014
2014
|
border: "",
|
|
2015
|
-
"prepend-avatar": `${
|
|
2015
|
+
"prepend-avatar": `${t(o).CDN_URL}logos/${n.logo}.png`,
|
|
2016
2016
|
rounded: "lg",
|
|
2017
2017
|
title: n.title,
|
|
2018
2018
|
variant: "text"
|
|
@@ -2020,32 +2020,32 @@ const Ke = W("settings", () => {
|
|
|
2020
2020
|
subtitle: r(() => {
|
|
2021
2021
|
var u;
|
|
2022
2022
|
return [
|
|
2023
|
-
(u = n.sponsorship) != null && u.isActive ? (
|
|
2023
|
+
(u = n.sponsorship) != null && u.isActive ? (d(), L("div", yn, [
|
|
2024
2024
|
s(D, {
|
|
2025
|
-
icon: `svg:${
|
|
2025
|
+
icon: `svg:${t(Xt)}`,
|
|
2026
2026
|
size: "x-small"
|
|
2027
2027
|
}, null, 8, ["icon"]),
|
|
2028
|
-
T(" " + C(
|
|
2029
|
-
])) : (
|
|
2028
|
+
T(" " + C(t(a)), 1)
|
|
2029
|
+
])) : (d(), L(U, { key: 1 }, [
|
|
2030
2030
|
T(C(n.text), 1)
|
|
2031
2031
|
], 64))
|
|
2032
2032
|
];
|
|
2033
2033
|
}),
|
|
2034
2034
|
append: r(() => {
|
|
2035
|
-
var u, h,
|
|
2035
|
+
var u, h, b, g, V, m;
|
|
2036
2036
|
return [
|
|
2037
|
-
n.disabled ? (
|
|
2037
|
+
n.disabled ? (d(), _(l, {
|
|
2038
2038
|
key: 1,
|
|
2039
2039
|
color: "surface-variant",
|
|
2040
2040
|
readonly: "",
|
|
2041
2041
|
text: "Coming Soon"
|
|
2042
|
-
})) : (
|
|
2042
|
+
})) : (d(), _(l, {
|
|
2043
2043
|
key: 0,
|
|
2044
2044
|
active: !1,
|
|
2045
2045
|
color: (u = n.sponsorship) != null && u.isActive ? "success" : "primary",
|
|
2046
2046
|
href: (h = n.sponsorship) != null && h.isActive || n.to ? void 0 : n.href,
|
|
2047
|
-
"prepend-icon": `svg:${(
|
|
2048
|
-
readonly: (
|
|
2047
|
+
"prepend-icon": `svg:${(b = n.sponsorship) != null && b.isActive ? t(Ie) : t(Oe)}`,
|
|
2048
|
+
readonly: (g = n.sponsorship) == null ? void 0 : g.isActive,
|
|
2049
2049
|
target: (V = n.sponsorship) != null && V.isActive || n.to ? void 0 : "_blank",
|
|
2050
2050
|
text: (m = n.sponsorship) != null && m.isActive ? "Active" : "Info",
|
|
2051
2051
|
to: n.to,
|
|
@@ -2063,9 +2063,9 @@ const Ke = W("settings", () => {
|
|
|
2063
2063
|
}), bn = /* @__PURE__ */ $({
|
|
2064
2064
|
__name: "VoSponsorshipsTimelineItemPatreon",
|
|
2065
2065
|
setup(c) {
|
|
2066
|
-
return (
|
|
2066
|
+
return (e, o) => {
|
|
2067
2067
|
const a = Te;
|
|
2068
|
-
return
|
|
2068
|
+
return d(), _(a, {
|
|
2069
2069
|
disabled: "",
|
|
2070
2070
|
logo: "patreon",
|
|
2071
2071
|
text: "Support Vuetify through Patreon.",
|
|
@@ -2076,13 +2076,13 @@ const Ke = W("settings", () => {
|
|
|
2076
2076
|
}), Vn = /* @__PURE__ */ $({
|
|
2077
2077
|
__name: "VoSponsorshipsTimelineItemDiscord",
|
|
2078
2078
|
setup(c) {
|
|
2079
|
-
const
|
|
2079
|
+
const e = P();
|
|
2080
2080
|
return (o, a) => {
|
|
2081
2081
|
const n = Te;
|
|
2082
|
-
return
|
|
2082
|
+
return d(), _(n, {
|
|
2083
2083
|
href: "https://discord.com/servers/vuetify-340160225338195969",
|
|
2084
2084
|
logo: "discord",
|
|
2085
|
-
sponsorship: e
|
|
2085
|
+
sponsorship: t(e).discord,
|
|
2086
2086
|
text: "Support Vuetify through Discord.",
|
|
2087
2087
|
title: "Discord Subscriber"
|
|
2088
2088
|
}, null, 8, ["sponsorship"]);
|
|
@@ -2091,13 +2091,13 @@ const Ke = W("settings", () => {
|
|
|
2091
2091
|
}), kn = /* @__PURE__ */ $({
|
|
2092
2092
|
__name: "VoSponsorshipsTimelineItemGithub",
|
|
2093
2093
|
setup(c) {
|
|
2094
|
-
const
|
|
2094
|
+
const e = P();
|
|
2095
2095
|
return (o, a) => {
|
|
2096
2096
|
const n = Te;
|
|
2097
|
-
return
|
|
2097
|
+
return d(), _(n, {
|
|
2098
2098
|
href: "https://github.com/sponsors/johnleider",
|
|
2099
2099
|
logo: "github",
|
|
2100
|
-
sponsorship: e
|
|
2100
|
+
sponsorship: t(e).github,
|
|
2101
2101
|
text: "Support Vuetify through GitHub sponsors.",
|
|
2102
2102
|
title: "GitHub Sponsor"
|
|
2103
2103
|
}, null, 8, ["sponsorship"]);
|
|
@@ -2106,12 +2106,12 @@ const Ke = W("settings", () => {
|
|
|
2106
2106
|
}), $n = /* @__PURE__ */ $({
|
|
2107
2107
|
__name: "VoSponsorshipsTimelineItemOne",
|
|
2108
2108
|
setup(c) {
|
|
2109
|
-
const
|
|
2109
|
+
const e = P();
|
|
2110
2110
|
return (o, a) => {
|
|
2111
2111
|
const n = Te;
|
|
2112
|
-
return
|
|
2112
|
+
return d(), _(n, {
|
|
2113
2113
|
logo: "one",
|
|
2114
|
-
sponsorship: e
|
|
2114
|
+
sponsorship: t(e).one,
|
|
2115
2115
|
text: "Support Vuetify through Vuetify One.",
|
|
2116
2116
|
title: "Vuetify One Subscriber",
|
|
2117
2117
|
to: "?one=subscribe"
|
|
@@ -2121,9 +2121,9 @@ const Ke = W("settings", () => {
|
|
|
2121
2121
|
}), xn = /* @__PURE__ */ $({
|
|
2122
2122
|
__name: "VoSponsorshipsTimeline",
|
|
2123
2123
|
setup(c) {
|
|
2124
|
-
return (
|
|
2124
|
+
return (e, o) => {
|
|
2125
2125
|
const a = $n, n = kn, i = Vn, l = bn;
|
|
2126
|
-
return
|
|
2126
|
+
return d(), _($o, {
|
|
2127
2127
|
class: "justify-start ms-n7",
|
|
2128
2128
|
"line-inset": "12",
|
|
2129
2129
|
side: "end",
|
|
@@ -2148,15 +2148,15 @@ const Ke = W("settings", () => {
|
|
|
2148
2148
|
},
|
|
2149
2149
|
emits: ["update:modelValue"],
|
|
2150
2150
|
setup(c) {
|
|
2151
|
-
const
|
|
2151
|
+
const e = re(c, "modelValue"), o = ve(), a = M(), n = P();
|
|
2152
2152
|
return B(o, async () => {
|
|
2153
|
-
o.value.one === "sponsorships" && (n.isOpen = !0, await pe(),
|
|
2153
|
+
o.value.one === "sponsorships" && (n.isOpen = !0, await pe(), e.value = !0);
|
|
2154
2154
|
}, { immediate: !0 }), (i, l) => {
|
|
2155
|
-
const
|
|
2156
|
-
return
|
|
2157
|
-
modelValue:
|
|
2158
|
-
"onUpdate:modelValue": l[0] || (l[0] = (
|
|
2159
|
-
"prepend-icon": `svg:${
|
|
2155
|
+
const p = we, f = xn, u = We("v-empty-state"), h = xe;
|
|
2156
|
+
return d(), _(h, {
|
|
2157
|
+
modelValue: e.value,
|
|
2158
|
+
"onUpdate:modelValue": l[0] || (l[0] = (b) => e.value = b),
|
|
2159
|
+
"prepend-icon": `svg:${t(Kt)}`,
|
|
2160
2160
|
title: "Sponsorships"
|
|
2161
2161
|
}, {
|
|
2162
2162
|
default: r(() => [
|
|
@@ -2164,10 +2164,10 @@ const Ke = W("settings", () => {
|
|
|
2164
2164
|
default: r(() => [
|
|
2165
2165
|
s($e, { scrollable: "" }, {
|
|
2166
2166
|
default: r(() => [
|
|
2167
|
-
|
|
2167
|
+
y("div", wn, [
|
|
2168
2168
|
s(_e, { class: "flex-0-0 mb-16 mb-sm-4" }, {
|
|
2169
2169
|
default: r(() => [
|
|
2170
|
-
s(
|
|
2170
|
+
s(p, {
|
|
2171
2171
|
text: "Support Vuetify through GitHub Sponsors, Discord, or Patreon to unlock exclusive benefits and content.",
|
|
2172
2172
|
title: "Support Vuetify"
|
|
2173
2173
|
}),
|
|
@@ -2183,15 +2183,15 @@ const Ke = W("settings", () => {
|
|
|
2183
2183
|
}, {
|
|
2184
2184
|
media: r(() => [
|
|
2185
2185
|
s(D, {
|
|
2186
|
-
color:
|
|
2186
|
+
color: t(a).isSubscriber ? "success" : "error"
|
|
2187
2187
|
}, null, 8, ["color"])
|
|
2188
2188
|
]),
|
|
2189
2189
|
title: r(() => [
|
|
2190
2190
|
T(" One Status: "),
|
|
2191
|
-
|
|
2191
|
+
y("span", Sn, C(t(a).isSubscriber ? "Active" : "Inactive"), 1)
|
|
2192
2192
|
]),
|
|
2193
2193
|
text: r(() => [
|
|
2194
|
-
|
|
2194
|
+
y("div", Cn, C(t(a).isSubscriber ? "You are currently receiving benefits from Vuetify One." : "Login to activate Vuetify One benefits"), 1)
|
|
2195
2195
|
]),
|
|
2196
2196
|
_: 1
|
|
2197
2197
|
})
|
|
@@ -2210,26 +2210,26 @@ const Ke = W("settings", () => {
|
|
|
2210
2210
|
}), In = /* @__PURE__ */ $({
|
|
2211
2211
|
__name: "VoSponsorshipsListItem",
|
|
2212
2212
|
setup(c) {
|
|
2213
|
-
const
|
|
2213
|
+
const e = A(!1);
|
|
2214
2214
|
return (o, a) => {
|
|
2215
2215
|
const n = Ln, i = J;
|
|
2216
|
-
return
|
|
2217
|
-
active: e
|
|
2216
|
+
return d(), _(i, {
|
|
2217
|
+
active: t(e),
|
|
2218
2218
|
link: "",
|
|
2219
|
-
"prepend-icon": `svg:${
|
|
2219
|
+
"prepend-icon": `svg:${t(eo)}`,
|
|
2220
2220
|
title: "Sponsorships"
|
|
2221
2221
|
}, {
|
|
2222
2222
|
default: r(() => [
|
|
2223
2223
|
s(n, {
|
|
2224
|
-
modelValue: e
|
|
2225
|
-
"onUpdate:modelValue": a[0] || (a[0] = (l) => se(
|
|
2224
|
+
modelValue: t(e),
|
|
2225
|
+
"onUpdate:modelValue": a[0] || (a[0] = (l) => se(e) ? e.value = l : null)
|
|
2226
2226
|
}, null, 8, ["modelValue"])
|
|
2227
2227
|
]),
|
|
2228
2228
|
_: 1
|
|
2229
2229
|
}, 8, ["active", "prepend-icon"]);
|
|
2230
2230
|
};
|
|
2231
2231
|
}
|
|
2232
|
-
}), Dn = /* @__PURE__ */
|
|
2232
|
+
}), Dn = /* @__PURE__ */ y("h2", { class: "text-h4" }, " Configuration Tooling ", -1), An = /* @__PURE__ */ y("p", { class: "text-subtitle-1 text-medium-emphasis" }, " Coming soon to Vuetify One ", -1), On = { class: "text-uppercase text-info" }, Nn = { class: "text-h6 mb-2" }, Bn = { class: "text-caption" }, Un = /* @__PURE__ */ y("div", null, " Become a subscriber and be the first to gain access to the Vuetify Studio Alpha when it releases in April 2024. ", -1), zn = /* @__PURE__ */ $({
|
|
2233
2233
|
__name: "VoStudioDialog",
|
|
2234
2234
|
props: /* @__PURE__ */ nt({
|
|
2235
2235
|
prependIcon: {}
|
|
@@ -2239,7 +2239,7 @@ const Ke = W("settings", () => {
|
|
|
2239
2239
|
}),
|
|
2240
2240
|
emits: ["update:modelValue"],
|
|
2241
2241
|
setup(c) {
|
|
2242
|
-
const
|
|
2242
|
+
const e = re(c, "modelValue"), o = ve(), a = Ne(), n = M(), i = P(), { smAndUp: l } = le(), p = [
|
|
2243
2243
|
{
|
|
2244
2244
|
title: "Customize",
|
|
2245
2245
|
subtitle: "Customize your Vuetify theme, components, and more with the Vuetify Studio.",
|
|
@@ -2260,16 +2260,16 @@ const Ke = W("settings", () => {
|
|
|
2260
2260
|
}
|
|
2261
2261
|
];
|
|
2262
2262
|
B(o, async () => {
|
|
2263
|
-
o.value.one === "studio" && (i.isOpen = !0, await pe(),
|
|
2263
|
+
o.value.one === "studio" && (i.isOpen = !0, await pe(), e.value = !0);
|
|
2264
2264
|
}, { immediate: !0 });
|
|
2265
2265
|
function f() {
|
|
2266
|
-
|
|
2266
|
+
e.value = !1, a.push({ query: { one: "subscribe" } });
|
|
2267
2267
|
}
|
|
2268
2268
|
return (u, h) => {
|
|
2269
|
-
const
|
|
2270
|
-
return
|
|
2271
|
-
modelValue:
|
|
2272
|
-
"onUpdate:modelValue": h[0] || (h[0] = (V) =>
|
|
2269
|
+
const b = fe, g = xe;
|
|
2270
|
+
return d(), _(g, {
|
|
2271
|
+
modelValue: e.value,
|
|
2272
|
+
"onUpdate:modelValue": h[0] || (h[0] = (V) => e.value = V),
|
|
2273
2273
|
"prepend-icon": u.prependIcon,
|
|
2274
2274
|
title: "Vuetify Studio"
|
|
2275
2275
|
}, {
|
|
@@ -2308,7 +2308,7 @@ const Ke = W("settings", () => {
|
|
|
2308
2308
|
]),
|
|
2309
2309
|
_: 1
|
|
2310
2310
|
}),
|
|
2311
|
-
(
|
|
2311
|
+
(d(), L(U, null, ne(p, (V, m) => s(ye, {
|
|
2312
2312
|
key: m,
|
|
2313
2313
|
class: "py-8",
|
|
2314
2314
|
color: m % 2 === 0 ? "surface-light" : "surface-variant"
|
|
@@ -2326,9 +2326,9 @@ const Ke = W("settings", () => {
|
|
|
2326
2326
|
sm: "6"
|
|
2327
2327
|
}, {
|
|
2328
2328
|
default: r(() => [
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2329
|
+
y("strong", On, C(V.title), 1),
|
|
2330
|
+
y("p", Nn, C(V.subtitle), 1),
|
|
2331
|
+
y("p", Bn, C(V.text), 1)
|
|
2332
2332
|
]),
|
|
2333
2333
|
_: 2
|
|
2334
2334
|
}, 1032, ["order"]),
|
|
@@ -2341,7 +2341,7 @@ const Ke = W("settings", () => {
|
|
|
2341
2341
|
default: r(() => [
|
|
2342
2342
|
s(Y, {
|
|
2343
2343
|
cover: "",
|
|
2344
|
-
height:
|
|
2344
|
+
height: t(l) ? 180 : void 0,
|
|
2345
2345
|
rounded: "lg",
|
|
2346
2346
|
src: V.image
|
|
2347
2347
|
}, null, 8, ["height", "src"])
|
|
@@ -2357,7 +2357,7 @@ const Ke = W("settings", () => {
|
|
|
2357
2357
|
]),
|
|
2358
2358
|
_: 2
|
|
2359
2359
|
}, 1032, ["color"])), 64)),
|
|
2360
|
-
|
|
2360
|
+
t(n).isSubscriber ? w("", !0) : (d(), _(ye, {
|
|
2361
2361
|
key: 0,
|
|
2362
2362
|
class: "text-center py-6"
|
|
2363
2363
|
}, {
|
|
@@ -2378,7 +2378,7 @@ const Ke = W("settings", () => {
|
|
|
2378
2378
|
}),
|
|
2379
2379
|
s(K, { cols: "12" }, {
|
|
2380
2380
|
default: r(() => [
|
|
2381
|
-
s(
|
|
2381
|
+
s(b, {
|
|
2382
2382
|
"prepend-icon": "$vuetify",
|
|
2383
2383
|
size: "x-large",
|
|
2384
2384
|
text: "Subscribe Today",
|
|
@@ -2410,7 +2410,7 @@ const Ke = W("settings", () => {
|
|
|
2410
2410
|
}), Fn = /* @__PURE__ */ $({
|
|
2411
2411
|
__name: "VoStudioNavItem",
|
|
2412
2412
|
setup(c) {
|
|
2413
|
-
const
|
|
2413
|
+
const e = A(!1), o = [
|
|
2414
2414
|
["M12.435 14.3194L12 21L6.87046 12.2799L12.435 14.3194Z", 1],
|
|
2415
2415
|
["M22 4L12.435 14.3194L6.87046 12.2799L9.26479 7.61064L12.435 14.3194L12 21L22 4Z", 0.5],
|
|
2416
2416
|
["M12.435 14.3194L22 4L9.26479 7.61064L12.435 14.3194Z", 1],
|
|
@@ -2418,8 +2418,8 @@ const Ke = W("settings", () => {
|
|
|
2418
2418
|
];
|
|
2419
2419
|
return (a, n) => {
|
|
2420
2420
|
const i = zn, l = J;
|
|
2421
|
-
return
|
|
2422
|
-
active: e
|
|
2421
|
+
return d(), _(l, {
|
|
2422
|
+
active: t(e),
|
|
2423
2423
|
link: "",
|
|
2424
2424
|
"prepend-icon": o,
|
|
2425
2425
|
title: "Vuetify Studio"
|
|
@@ -2437,8 +2437,8 @@ const Ke = W("settings", () => {
|
|
|
2437
2437
|
]),
|
|
2438
2438
|
default: r(() => [
|
|
2439
2439
|
s(i, {
|
|
2440
|
-
modelValue: e
|
|
2441
|
-
"onUpdate:modelValue": n[0] || (n[0] = (
|
|
2440
|
+
modelValue: t(e),
|
|
2441
|
+
"onUpdate:modelValue": n[0] || (n[0] = (p) => se(e) ? e.value = p : null),
|
|
2442
2442
|
"prepend-icon": o
|
|
2443
2443
|
}, null, 8, ["modelValue"])
|
|
2444
2444
|
]),
|
|
@@ -2449,7 +2449,7 @@ const Ke = W("settings", () => {
|
|
|
2449
2449
|
}), Tn = {
|
|
2450
2450
|
key: 0,
|
|
2451
2451
|
class: "pt-16"
|
|
2452
|
-
}, jn = /* @__PURE__ */
|
|
2452
|
+
}, jn = /* @__PURE__ */ y("div", { class: "text-medium-emphasis" }, " All caught up ", -1), Mn = {
|
|
2453
2453
|
key: 1,
|
|
2454
2454
|
class: "pa-5"
|
|
2455
2455
|
}, Pn = { class: "text-subtitle-1 font-weight-bold" }, Hn = { class: "text-caption font-weight-bold text-medium-emphasis" }, Rn = { class: "text-disabled text-caption mt-2 mb-3" }, En = /* @__PURE__ */ $({
|
|
@@ -2458,25 +2458,25 @@ const Ke = W("settings", () => {
|
|
|
2458
2458
|
items: {}
|
|
2459
2459
|
},
|
|
2460
2460
|
setup(c) {
|
|
2461
|
-
const
|
|
2461
|
+
const e = Ue(), o = le(), a = F();
|
|
2462
2462
|
function n(l) {
|
|
2463
2463
|
return a.notifications.last.banner.includes(l);
|
|
2464
2464
|
}
|
|
2465
2465
|
function i(l) {
|
|
2466
|
-
n(l.slug) ? a.notifications.last.banner = a.notifications.last.banner.filter((
|
|
2466
|
+
n(l.slug) ? a.notifications.last.banner = a.notifications.last.banner.filter((p) => p !== l.slug) : a.notifications.last.banner.push(l.slug);
|
|
2467
2467
|
}
|
|
2468
|
-
return (l,
|
|
2468
|
+
return (l, p) => {
|
|
2469
2469
|
const f = We("v-empty-state");
|
|
2470
|
-
return
|
|
2470
|
+
return d(), _(ae, {
|
|
2471
2471
|
class: "py-0",
|
|
2472
2472
|
height: "100%",
|
|
2473
2473
|
lines: "three"
|
|
2474
2474
|
}, {
|
|
2475
2475
|
default: r(() => [
|
|
2476
|
-
l.items.length ? (
|
|
2477
|
-
(
|
|
2476
|
+
l.items.length ? (d(), L("div", Mn, [
|
|
2477
|
+
(d(!0), L(U, null, ne(l.items, (u) => {
|
|
2478
2478
|
var h;
|
|
2479
|
-
return
|
|
2479
|
+
return d(), L("div", {
|
|
2480
2480
|
key: u.slug,
|
|
2481
2481
|
class: "mb-4"
|
|
2482
2482
|
}, [
|
|
@@ -2488,10 +2488,10 @@ const Ke = W("settings", () => {
|
|
|
2488
2488
|
title: u.title
|
|
2489
2489
|
}, {
|
|
2490
2490
|
prepend: r(() => {
|
|
2491
|
-
var
|
|
2491
|
+
var b;
|
|
2492
2492
|
return [
|
|
2493
2493
|
s(Q, {
|
|
2494
|
-
image: (
|
|
2494
|
+
image: (b = u.metadata.images.logo) == null ? void 0 : b.url
|
|
2495
2495
|
}, null, 8, ["image"])
|
|
2496
2496
|
];
|
|
2497
2497
|
}),
|
|
@@ -2501,8 +2501,8 @@ const Ke = W("settings", () => {
|
|
|
2501
2501
|
_: 2
|
|
2502
2502
|
}, 1032, ["color", "image", "title"]),
|
|
2503
2503
|
s(ze, null, {
|
|
2504
|
-
default: r(({ props:
|
|
2505
|
-
s(ye, H(
|
|
2504
|
+
default: r(({ props: b, isHovering: g }) => [
|
|
2505
|
+
s(ye, H(b, {
|
|
2506
2506
|
border: "",
|
|
2507
2507
|
class: "px-8 pt-2 pb-4 position-relative",
|
|
2508
2508
|
rounded: "b"
|
|
@@ -2517,13 +2517,13 @@ const Ke = W("settings", () => {
|
|
|
2517
2517
|
default: r(() => [
|
|
2518
2518
|
De(s(q, H(V, {
|
|
2519
2519
|
class: "ms-auto float-right",
|
|
2520
|
-
icon: `svg:${n(u.slug) ?
|
|
2520
|
+
icon: `svg:${n(u.slug) ? t(lt) : t(rt)}`,
|
|
2521
2521
|
"mdi-email-variant": "",
|
|
2522
2522
|
size: "small",
|
|
2523
2523
|
variant: "text",
|
|
2524
2524
|
onClick: (m) => i(u)
|
|
2525
2525
|
}), null, 16, ["icon", "onClick"]), [
|
|
2526
|
-
[Ge,
|
|
2526
|
+
[Ge, g || t(o).mobile.value]
|
|
2527
2527
|
])
|
|
2528
2528
|
]),
|
|
2529
2529
|
_: 2
|
|
@@ -2531,15 +2531,15 @@ const Ke = W("settings", () => {
|
|
|
2531
2531
|
]),
|
|
2532
2532
|
_: 2
|
|
2533
2533
|
}, 1032, ["text"]),
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2534
|
+
y("div", Pn, C(u.metadata.text), 1),
|
|
2535
|
+
y("div", Hn, C(t(e).format(u.created_at, "fullDateWithWeekday")), 1),
|
|
2536
|
+
y("div", Rn, C(u.metadata.subtext), 1),
|
|
2537
2537
|
s(te, H({
|
|
2538
2538
|
href: u.metadata.link.startsWith("http") ? u.metadata.link : void 0,
|
|
2539
2539
|
target: u.metadata.link.startsWith("http") ? "_blank" : void 0,
|
|
2540
2540
|
to: u.metadata.link.startsWith("http") ? void 0 : u.metadata.link
|
|
2541
2541
|
}, {
|
|
2542
|
-
"append-icon": `svg:${
|
|
2542
|
+
"append-icon": `svg:${t(Oe)}`,
|
|
2543
2543
|
border: "",
|
|
2544
2544
|
label: "",
|
|
2545
2545
|
size: "small",
|
|
@@ -2559,7 +2559,7 @@ const Ke = W("settings", () => {
|
|
|
2559
2559
|
}, 1024)
|
|
2560
2560
|
]);
|
|
2561
2561
|
}), 128))
|
|
2562
|
-
])) : (
|
|
2562
|
+
])) : (d(), L("div", Tn, [
|
|
2563
2563
|
s(f, {
|
|
2564
2564
|
icon: "$vuetify",
|
|
2565
2565
|
size: "256"
|
|
@@ -2585,31 +2585,31 @@ const Ke = W("settings", () => {
|
|
|
2585
2585
|
notification: {}
|
|
2586
2586
|
},
|
|
2587
2587
|
setup(c) {
|
|
2588
|
-
const
|
|
2589
|
-
const f =
|
|
2588
|
+
const e = c, o = F(), a = Ue(), n = le(), i = S(() => {
|
|
2589
|
+
const f = e.notification.metadata ?? { action: "" };
|
|
2590
2590
|
return {
|
|
2591
2591
|
href: f.action.startsWith("http") ? f.action : void 0,
|
|
2592
2592
|
target: f.action.startsWith("http") ? "_blank" : void 0,
|
|
2593
2593
|
to: f.action.startsWith("http") ? void 0 : f.action,
|
|
2594
|
-
...
|
|
2594
|
+
...e.notification.metadata.attributes,
|
|
2595
2595
|
onClick() {
|
|
2596
|
-
|
|
2596
|
+
e.demo || o.notifications.read.includes(e.notification.slug) || o.notifications.read.push(e.notification.slug);
|
|
2597
2597
|
}
|
|
2598
2598
|
};
|
|
2599
2599
|
});
|
|
2600
2600
|
function l(f) {
|
|
2601
2601
|
return o.notifications.read.includes(f);
|
|
2602
2602
|
}
|
|
2603
|
-
function
|
|
2604
|
-
|
|
2603
|
+
function p(f) {
|
|
2604
|
+
e.demo || (l(f.slug) ? o.notifications.read = o.notifications.read.filter((u) => u !== f.slug) : o.notifications.read.push(f.slug));
|
|
2605
2605
|
}
|
|
2606
2606
|
return (f, u) => {
|
|
2607
2607
|
const h = J;
|
|
2608
|
-
return
|
|
2609
|
-
default: r(({ isHovering:
|
|
2610
|
-
s(h, H(
|
|
2608
|
+
return d(), _(ze, null, {
|
|
2609
|
+
default: r(({ isHovering: b, props: g }) => [
|
|
2610
|
+
s(h, H(g, { class: "py-4 mb-0" }), {
|
|
2611
2611
|
prepend: r(() => [
|
|
2612
|
-
|
|
2612
|
+
y("div", qn, C(f.notification.metadata.emoji), 1)
|
|
2613
2613
|
]),
|
|
2614
2614
|
append: r(() => [
|
|
2615
2615
|
s(xo, {
|
|
@@ -2626,13 +2626,13 @@ const Ke = W("settings", () => {
|
|
|
2626
2626
|
default: r(() => [
|
|
2627
2627
|
De(s(q, H(V, {
|
|
2628
2628
|
class: "ms-auto",
|
|
2629
|
-
icon: `svg:${l(f.notification.slug) ?
|
|
2629
|
+
icon: `svg:${l(f.notification.slug) ? t(lt) : t(rt)}`,
|
|
2630
2630
|
"mdi-email-variant": "",
|
|
2631
2631
|
size: "small",
|
|
2632
2632
|
variant: "text",
|
|
2633
|
-
onClick: u[0] || (u[0] = (m) =>
|
|
2633
|
+
onClick: u[0] || (u[0] = (m) => p(f.notification))
|
|
2634
2634
|
}), null, 16, ["icon"]), [
|
|
2635
|
-
[Ge,
|
|
2635
|
+
[Ge, b || t(n).mobile.value]
|
|
2636
2636
|
])
|
|
2637
2637
|
]),
|
|
2638
2638
|
_: 2
|
|
@@ -2647,15 +2647,15 @@ const Ke = W("settings", () => {
|
|
|
2647
2647
|
default: r(() => [
|
|
2648
2648
|
s(ct, { class: "text-wrap text-h6 mb-1" }, {
|
|
2649
2649
|
default: r(() => [
|
|
2650
|
-
|
|
2650
|
+
y("div", Wn, C(f.notification.title), 1)
|
|
2651
2651
|
]),
|
|
2652
2652
|
_: 1
|
|
2653
2653
|
}),
|
|
2654
|
-
|
|
2655
|
-
|
|
2654
|
+
y("div", Gn, C(t(a).format(f.notification.created_at, "fullDateWithWeekday")), 1),
|
|
2655
|
+
y("div", Zn, C(f.notification.metadata.text), 1),
|
|
2656
2656
|
s(te, H({
|
|
2657
|
-
"append-icon": `svg:${
|
|
2658
|
-
},
|
|
2657
|
+
"append-icon": `svg:${t(Oe)}`
|
|
2658
|
+
}, t(i), {
|
|
2659
2659
|
border: "",
|
|
2660
2660
|
label: "",
|
|
2661
2661
|
size: "small",
|
|
@@ -2678,26 +2678,26 @@ const Ke = W("settings", () => {
|
|
|
2678
2678
|
}), Yn = {
|
|
2679
2679
|
key: 0,
|
|
2680
2680
|
class: "pt-16"
|
|
2681
|
-
}, Jn = /* @__PURE__ */
|
|
2681
|
+
}, Jn = /* @__PURE__ */ y("div", { class: "text-medium-emphasis" }, " All caught up ", -1), Xn = /* @__PURE__ */ $({
|
|
2682
2682
|
__name: "VoNotificationsList",
|
|
2683
2683
|
props: {
|
|
2684
2684
|
items: {}
|
|
2685
2685
|
},
|
|
2686
2686
|
setup(c) {
|
|
2687
|
-
return (
|
|
2687
|
+
return (e, o) => {
|
|
2688
2688
|
const a = We("v-empty-state"), n = Qn;
|
|
2689
|
-
return
|
|
2689
|
+
return d(), _(ae, {
|
|
2690
2690
|
class: "py-0",
|
|
2691
2691
|
height: "100%",
|
|
2692
2692
|
lines: "three"
|
|
2693
2693
|
}, {
|
|
2694
2694
|
default: r(() => [
|
|
2695
|
-
|
|
2695
|
+
e.items.length ? (d(!0), L(U, { key: 1 }, ne(e.items, (i, l) => (d(), L(U, {
|
|
2696
2696
|
key: i.slug
|
|
2697
2697
|
}, [
|
|
2698
|
-
l !== 0 ? (
|
|
2698
|
+
l !== 0 ? (d(), _(Z, { key: 0 })) : w("", !0),
|
|
2699
2699
|
s(n, { notification: i }, null, 8, ["notification"])
|
|
2700
|
-
], 64))), 128)) : (
|
|
2700
|
+
], 64))), 128)) : (d(), L("div", Yn, [
|
|
2701
2701
|
s(a, {
|
|
2702
2702
|
icon: "$vuetify",
|
|
2703
2703
|
size: "256"
|
|
@@ -2717,13 +2717,13 @@ const Ke = W("settings", () => {
|
|
|
2717
2717
|
};
|
|
2718
2718
|
}
|
|
2719
2719
|
}), bt = W("site", () => {
|
|
2720
|
-
const c = O([]),
|
|
2720
|
+
const c = O([]), e = O();
|
|
2721
2721
|
return {
|
|
2722
2722
|
id: c,
|
|
2723
|
-
url:
|
|
2723
|
+
url: e
|
|
2724
2724
|
};
|
|
2725
2725
|
}), je = W("banners", () => {
|
|
2726
|
-
const c = ce(),
|
|
2726
|
+
const c = ce(), e = bt(), o = F(), a = O([]), n = O([]), i = O(), l = A(!1), p = S(() => {
|
|
2727
2727
|
if (i.value)
|
|
2728
2728
|
return i.value;
|
|
2729
2729
|
if (f.value)
|
|
@@ -2732,16 +2732,16 @@ const Ke = W("settings", () => {
|
|
|
2732
2732
|
return a.value.find(({
|
|
2733
2733
|
slug: v,
|
|
2734
2734
|
metadata: {
|
|
2735
|
-
site:
|
|
2735
|
+
site: k,
|
|
2736
2736
|
active: N
|
|
2737
2737
|
}
|
|
2738
|
-
}) => !N || o.notifications.last.banner.includes(v) ? !1 :
|
|
2738
|
+
}) => !N || o.notifications.last.banner.includes(v) ? !1 : k.includes("dev") && !1 || k.includes("*") ? !0 : k.some((j) => e.id.includes(j)));
|
|
2739
2739
|
}), f = S(() => a.value.find(({
|
|
2740
2740
|
metadata: {
|
|
2741
2741
|
site: v,
|
|
2742
|
-
active:
|
|
2742
|
+
active: k
|
|
2743
2743
|
}
|
|
2744
|
-
}) =>
|
|
2744
|
+
}) => k ? v.includes("server") : !1));
|
|
2745
2745
|
async function u() {
|
|
2746
2746
|
try {
|
|
2747
2747
|
l.value = !0;
|
|
@@ -2756,32 +2756,32 @@ const Ke = W("settings", () => {
|
|
|
2756
2756
|
async function h(v) {
|
|
2757
2757
|
try {
|
|
2758
2758
|
l.value = !0;
|
|
2759
|
-
const
|
|
2760
|
-
return i.value =
|
|
2759
|
+
const k = await c.get(`/one/admin/banners/${v}`);
|
|
2760
|
+
return i.value = k.banner, k.banner;
|
|
2761
2761
|
} catch {
|
|
2762
2762
|
} finally {
|
|
2763
2763
|
l.value = !1;
|
|
2764
2764
|
}
|
|
2765
2765
|
}
|
|
2766
|
-
async function
|
|
2766
|
+
async function b(v) {
|
|
2767
2767
|
try {
|
|
2768
2768
|
l.value = !0;
|
|
2769
|
-
const
|
|
2769
|
+
const k = await c.form(
|
|
2770
2770
|
"/one/admin/banners",
|
|
2771
2771
|
v
|
|
2772
2772
|
);
|
|
2773
|
-
return i.value =
|
|
2773
|
+
return i.value = k.banner, k.banner;
|
|
2774
2774
|
} catch {
|
|
2775
2775
|
} finally {
|
|
2776
2776
|
l.value = !1;
|
|
2777
2777
|
}
|
|
2778
2778
|
}
|
|
2779
|
-
async function
|
|
2779
|
+
async function g(v, k) {
|
|
2780
2780
|
try {
|
|
2781
2781
|
l.value = !0;
|
|
2782
2782
|
const N = await c.form(
|
|
2783
2783
|
`/one/admin/banners/${v}`,
|
|
2784
|
-
|
|
2784
|
+
k
|
|
2785
2785
|
);
|
|
2786
2786
|
return i.value = N.banner, N.banner;
|
|
2787
2787
|
} catch {
|
|
@@ -2807,14 +2807,14 @@ const Ke = W("settings", () => {
|
|
|
2807
2807
|
aall: n,
|
|
2808
2808
|
isLoading: l,
|
|
2809
2809
|
server: f,
|
|
2810
|
-
banner:
|
|
2810
|
+
banner: p,
|
|
2811
2811
|
record: i,
|
|
2812
2812
|
admin: m,
|
|
2813
2813
|
destroy: V,
|
|
2814
2814
|
index: u,
|
|
2815
2815
|
show: h,
|
|
2816
|
-
store:
|
|
2817
|
-
update:
|
|
2816
|
+
store: b,
|
|
2817
|
+
update: g
|
|
2818
2818
|
};
|
|
2819
2819
|
}), Kn = { class: "text-caption" }, es = { class: "text-caption" }, ts = /* @__PURE__ */ $({
|
|
2820
2820
|
__name: "VoNotificationsDialog",
|
|
@@ -2824,7 +2824,7 @@ const Ke = W("settings", () => {
|
|
|
2824
2824
|
},
|
|
2825
2825
|
emits: ["update:modelValue"],
|
|
2826
2826
|
setup(c) {
|
|
2827
|
-
const
|
|
2827
|
+
const e = le(), o = ve(), a = je(), n = Fe(), i = P(), l = F(), p = A(["read"]), f = re(c, "modelValue");
|
|
2828
2828
|
return B(o, async () => {
|
|
2829
2829
|
if (o.value.one !== "notifications") {
|
|
2830
2830
|
f.value && (f.value = !1);
|
|
@@ -2832,60 +2832,60 @@ const Ke = W("settings", () => {
|
|
|
2832
2832
|
}
|
|
2833
2833
|
i.isOpen = !0, await pe(), f.value = !0;
|
|
2834
2834
|
}, { immediate: !0 }), (u, h) => {
|
|
2835
|
-
const
|
|
2836
|
-
return
|
|
2835
|
+
const b = J, g = Xn, V = En, m = xe;
|
|
2836
|
+
return d(), _(m, {
|
|
2837
2837
|
modelValue: f.value,
|
|
2838
2838
|
"onUpdate:modelValue": h[2] || (h[2] = (v) => f.value = v),
|
|
2839
|
-
"prepend-icon": `svg:${
|
|
2839
|
+
"prepend-icon": `svg:${t(to)}`,
|
|
2840
2840
|
title: "Notifications"
|
|
2841
2841
|
}, {
|
|
2842
2842
|
default: r(() => [
|
|
2843
2843
|
s(ke, null, {
|
|
2844
2844
|
default: r(() => [
|
|
2845
2845
|
s(wo, {
|
|
2846
|
-
location: e
|
|
2846
|
+
location: t(e).mobile.value ? "top" : "start",
|
|
2847
2847
|
permanent: "",
|
|
2848
|
-
width: e
|
|
2848
|
+
width: t(e).mobile.value ? 128 : 168
|
|
2849
2849
|
}, {
|
|
2850
2850
|
default: r(() => [
|
|
2851
2851
|
s(ae, {
|
|
2852
|
-
selected:
|
|
2853
|
-
"onUpdate:selected": h[0] || (h[0] = (v) => se(
|
|
2852
|
+
selected: t(p),
|
|
2853
|
+
"onUpdate:selected": h[0] || (h[0] = (v) => se(p) ? p.value = v : null),
|
|
2854
2854
|
class: "px-4 pt-4",
|
|
2855
2855
|
density: "compact",
|
|
2856
2856
|
mandatory: "",
|
|
2857
2857
|
nav: ""
|
|
2858
2858
|
}, {
|
|
2859
2859
|
default: r(() => [
|
|
2860
|
-
s(
|
|
2861
|
-
"prepend-icon": `svg:${
|
|
2860
|
+
s(b, {
|
|
2861
|
+
"prepend-icon": `svg:${t(oo)}`,
|
|
2862
2862
|
title: "Unread",
|
|
2863
2863
|
value: "read"
|
|
2864
2864
|
}, R({ _: 2 }, [
|
|
2865
|
-
|
|
2865
|
+
t(n).unread.length > 0 ? {
|
|
2866
2866
|
name: "append",
|
|
2867
2867
|
fn: r(() => [
|
|
2868
|
-
|
|
2868
|
+
y("span", Kn, C(t(n).unread.length), 1)
|
|
2869
2869
|
]),
|
|
2870
2870
|
key: "0"
|
|
2871
2871
|
} : void 0
|
|
2872
2872
|
]), 1032, ["prepend-icon"]),
|
|
2873
|
-
s(
|
|
2874
|
-
"prepend-icon": `svg:${
|
|
2873
|
+
s(b, {
|
|
2874
|
+
"prepend-icon": `svg:${t(no)}`,
|
|
2875
2875
|
title: "Read",
|
|
2876
2876
|
value: "unread"
|
|
2877
2877
|
}, R({ _: 2 }, [
|
|
2878
|
-
|
|
2878
|
+
t(n).read.length > 0 ? {
|
|
2879
2879
|
name: "append",
|
|
2880
2880
|
fn: r(() => [
|
|
2881
|
-
|
|
2881
|
+
y("span", es, C(t(n).read.length), 1)
|
|
2882
2882
|
]),
|
|
2883
2883
|
key: "0"
|
|
2884
2884
|
} : void 0
|
|
2885
2885
|
]), 1032, ["prepend-icon"]),
|
|
2886
|
-
|
|
2886
|
+
t(a).all.length > 0 && t(l).notifications.banners ? (d(), _(b, {
|
|
2887
2887
|
key: 0,
|
|
2888
|
-
"prepend-icon": `svg:${
|
|
2888
|
+
"prepend-icon": `svg:${t(so)}`,
|
|
2889
2889
|
title: "Banners",
|
|
2890
2890
|
value: "banners"
|
|
2891
2891
|
}, {
|
|
@@ -2906,22 +2906,22 @@ const Ke = W("settings", () => {
|
|
|
2906
2906
|
s($e, { scrollable: "" }, {
|
|
2907
2907
|
default: r(() => [
|
|
2908
2908
|
s(mt, {
|
|
2909
|
-
modelValue:
|
|
2910
|
-
"onUpdate:modelValue": h[1] || (h[1] = (v) => se(
|
|
2909
|
+
modelValue: t(p),
|
|
2910
|
+
"onUpdate:modelValue": h[1] || (h[1] = (v) => se(p) ? p.value = v : null)
|
|
2911
2911
|
}, {
|
|
2912
2912
|
default: r(() => [
|
|
2913
2913
|
s(ge, { value: "read" }, {
|
|
2914
2914
|
default: r(() => [
|
|
2915
|
-
s(
|
|
2916
|
-
items:
|
|
2915
|
+
s(g, {
|
|
2916
|
+
items: t(n).unread
|
|
2917
2917
|
}, null, 8, ["items"])
|
|
2918
2918
|
]),
|
|
2919
2919
|
_: 1
|
|
2920
2920
|
}),
|
|
2921
2921
|
s(ge, { value: "unread" }, {
|
|
2922
2922
|
default: r(() => [
|
|
2923
|
-
s(
|
|
2924
|
-
items:
|
|
2923
|
+
s(g, {
|
|
2924
|
+
items: t(n).read
|
|
2925
2925
|
}, null, 8, ["items"])
|
|
2926
2926
|
]),
|
|
2927
2927
|
_: 1
|
|
@@ -2929,7 +2929,7 @@ const Ke = W("settings", () => {
|
|
|
2929
2929
|
s(ge, { value: "banners" }, {
|
|
2930
2930
|
default: r(() => [
|
|
2931
2931
|
s(V, {
|
|
2932
|
-
items:
|
|
2932
|
+
items: t(a).all
|
|
2933
2933
|
}, null, 8, ["items"])
|
|
2934
2934
|
]),
|
|
2935
2935
|
_: 1
|
|
@@ -2951,11 +2951,11 @@ const Ke = W("settings", () => {
|
|
|
2951
2951
|
}), os = /* @__PURE__ */ $({
|
|
2952
2952
|
__name: "VoNotificationsBadge",
|
|
2953
2953
|
setup(c) {
|
|
2954
|
-
const
|
|
2955
|
-
return (a, n) => (
|
|
2954
|
+
const e = Fe(), o = F();
|
|
2955
|
+
return (a, n) => (d(), _(Je, {
|
|
2956
2956
|
color: "error",
|
|
2957
|
-
content: e
|
|
2958
|
-
"model-value":
|
|
2957
|
+
content: t(e).unread.length,
|
|
2958
|
+
"model-value": t(o).notifications.show && t(e).unread.length > 0
|
|
2959
2959
|
}, {
|
|
2960
2960
|
default: r(() => [
|
|
2961
2961
|
z(a.$slots, "default")
|
|
@@ -2966,30 +2966,30 @@ const Ke = W("settings", () => {
|
|
|
2966
2966
|
}), ns = /* @__PURE__ */ $({
|
|
2967
2967
|
__name: "VoNotificationsNavItem",
|
|
2968
2968
|
setup(c) {
|
|
2969
|
-
const
|
|
2969
|
+
const e = je(), o = F(), a = Fe(), n = A(!1);
|
|
2970
2970
|
return qe(async () => {
|
|
2971
|
-
a.index(),
|
|
2971
|
+
a.index(), e.index();
|
|
2972
2972
|
}), (i, l) => {
|
|
2973
|
-
const
|
|
2974
|
-
return
|
|
2973
|
+
const p = os, f = ts, u = J;
|
|
2974
|
+
return t(o).notifications.show ? (d(), _(u, {
|
|
2975
2975
|
key: 0,
|
|
2976
|
-
active:
|
|
2976
|
+
active: t(n),
|
|
2977
2977
|
link: "",
|
|
2978
|
-
"prepend-icon": `svg:${
|
|
2978
|
+
"prepend-icon": `svg:${t(ao)}`,
|
|
2979
2979
|
title: "Notifications"
|
|
2980
2980
|
}, R({
|
|
2981
2981
|
default: r(() => [
|
|
2982
2982
|
s(f, {
|
|
2983
|
-
modelValue:
|
|
2983
|
+
modelValue: t(n),
|
|
2984
2984
|
"onUpdate:modelValue": l[0] || (l[0] = (h) => se(n) ? n.value = h : null)
|
|
2985
2985
|
}, null, 8, ["modelValue"])
|
|
2986
2986
|
]),
|
|
2987
2987
|
_: 2
|
|
2988
2988
|
}, [
|
|
2989
|
-
|
|
2989
|
+
t(a).unread.length ? {
|
|
2990
2990
|
name: "prepend",
|
|
2991
2991
|
fn: r(() => [
|
|
2992
|
-
s(
|
|
2992
|
+
s(p, null, {
|
|
2993
2993
|
default: r(() => [
|
|
2994
2994
|
s(D)
|
|
2995
2995
|
]),
|
|
@@ -3004,24 +3004,29 @@ const Ke = W("settings", () => {
|
|
|
3004
3004
|
}), ss = /* @__PURE__ */ $({
|
|
3005
3005
|
__name: "VoDashboardNavItem",
|
|
3006
3006
|
setup(c) {
|
|
3007
|
-
const
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3007
|
+
const e = P();
|
|
3008
|
+
function o() {
|
|
3009
|
+
setTimeout(() => {
|
|
3010
|
+
e.isOpen = !1;
|
|
3011
|
+
}, 100);
|
|
3012
|
+
}
|
|
3013
|
+
return (a, n) => {
|
|
3014
|
+
const i = J;
|
|
3015
|
+
return d(), _(i, {
|
|
3016
|
+
"prepend-icon": `svg:${t(io)}`,
|
|
3012
3017
|
title: "Dashboard",
|
|
3013
3018
|
to: "/user/dashboard",
|
|
3014
|
-
onClick:
|
|
3019
|
+
onClick: o
|
|
3015
3020
|
}, null, 8, ["prepend-icon"]);
|
|
3016
3021
|
};
|
|
3017
3022
|
}
|
|
3018
3023
|
}), as = /* @__PURE__ */ $({
|
|
3019
3024
|
__name: "VoUserList",
|
|
3020
3025
|
setup(c) {
|
|
3021
|
-
const
|
|
3026
|
+
const e = M();
|
|
3022
3027
|
return (o, a) => {
|
|
3023
|
-
const n = ss, i = ns, l = Fn,
|
|
3024
|
-
return
|
|
3028
|
+
const n = ss, i = ns, l = Fn, p = In, f = gn, u = Zo, h = Ho;
|
|
3029
|
+
return d(), _(ae, {
|
|
3025
3030
|
density: "compact",
|
|
3026
3031
|
nav: "",
|
|
3027
3032
|
slim: ""
|
|
@@ -3030,10 +3035,10 @@ const Ke = W("settings", () => {
|
|
|
3030
3035
|
s(n),
|
|
3031
3036
|
s(i),
|
|
3032
3037
|
s(l),
|
|
3033
|
-
s(
|
|
3034
|
-
e
|
|
3038
|
+
s(p),
|
|
3039
|
+
t(e).user ? (d(), _(f, { key: 0 })) : w("", !0),
|
|
3035
3040
|
s(u),
|
|
3036
|
-
e
|
|
3041
|
+
t(e).user ? (d(), _(h, { key: 1 })) : w("", !0)
|
|
3037
3042
|
]),
|
|
3038
3043
|
_: 1
|
|
3039
3044
|
});
|
|
@@ -3042,7 +3047,7 @@ const Ke = W("settings", () => {
|
|
|
3042
3047
|
}), is = { key: 0 }, rs = { class: "d-flex align-center justify-center pa-1 ga-2" }, ls = /* @__PURE__ */ $({
|
|
3043
3048
|
__name: "VoUserQuickActions",
|
|
3044
3049
|
setup(c) {
|
|
3045
|
-
const
|
|
3050
|
+
const e = F(), o = [
|
|
3046
3051
|
["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],
|
|
3047
3052
|
["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],
|
|
3048
3053
|
"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",
|
|
@@ -3052,13 +3057,13 @@ const Ke = W("settings", () => {
|
|
|
3052
3057
|
"M8.63152 12.7367L8.50057 12.5L6 8H11.263L8.63152 12.7367Z",
|
|
3053
3058
|
["M9.11205 13.6004L11 17L16 8H12.223L9.11205 13.6004Z", 0.6]
|
|
3054
3059
|
];
|
|
3055
|
-
return (n, i) => (
|
|
3060
|
+
return (n, i) => (d(), _(me, null, {
|
|
3056
3061
|
default: r(() => [
|
|
3057
|
-
e
|
|
3058
|
-
|
|
3062
|
+
t(e).quickbar ? (d(), L("div", is, [
|
|
3063
|
+
y("div", rs, [
|
|
3059
3064
|
s(q, {
|
|
3060
3065
|
class: "text-caption",
|
|
3061
|
-
color: e
|
|
3066
|
+
color: t(e).colors.one,
|
|
3062
3067
|
density: "comfortable",
|
|
3063
3068
|
href: "https://play.vuetifyjs.com",
|
|
3064
3069
|
icon: "$vuetify-play",
|
|
@@ -3076,7 +3081,7 @@ const Ke = W("settings", () => {
|
|
|
3076
3081
|
}, 8, ["color"]),
|
|
3077
3082
|
s(q, {
|
|
3078
3083
|
class: "text-caption",
|
|
3079
|
-
color: e
|
|
3084
|
+
color: t(e).colors.one,
|
|
3080
3085
|
density: "comfortable",
|
|
3081
3086
|
href: "https://bin.vuetifyjs.com",
|
|
3082
3087
|
icon: o,
|
|
@@ -3094,7 +3099,7 @@ const Ke = W("settings", () => {
|
|
|
3094
3099
|
}, 8, ["color"]),
|
|
3095
3100
|
s(q, {
|
|
3096
3101
|
class: "text-caption",
|
|
3097
|
-
color: e
|
|
3102
|
+
color: t(e).colors.one,
|
|
3098
3103
|
density: "comfortable",
|
|
3099
3104
|
href: "https://issues.vuetifyjs.com",
|
|
3100
3105
|
icon: a,
|
|
@@ -3119,52 +3124,52 @@ const Ke = W("settings", () => {
|
|
|
3119
3124
|
}), cs = { class: "mb-2" }, us = { key: 0 }, ds = { class: "d-flex ga-4 flex-wrap justify-center mb-4" }, ps = { class: "text-h6" }, ms = /* @__PURE__ */ $({
|
|
3120
3125
|
__name: "VoUserAvatar",
|
|
3121
3126
|
setup(c) {
|
|
3122
|
-
const
|
|
3123
|
-
const
|
|
3124
|
-
"https://cdn.vuetifyjs.com/docs/images/avatars/
|
|
3127
|
+
const e = M(), o = P(), a = F(), n = A(!1), i = S(() => {
|
|
3128
|
+
const f = [
|
|
3129
|
+
"https://cdn.vuetifyjs.com/docs/images/avatars/dark.png",
|
|
3130
|
+
"https://cdn.vuetifyjs.com/docs/images/avatars/blackguard.png",
|
|
3125
3131
|
"https://cdn.vuetifyjs.com/docs/images/avatars/grass.png",
|
|
3126
3132
|
"https://cdn.vuetifyjs.com/docs/images/avatars/wood.png",
|
|
3127
3133
|
"https://cdn.vuetifyjs.com/docs/images/avatars/gold.png",
|
|
3128
|
-
"https://cdn.vuetifyjs.com/docs/images/avatars/planet.png",
|
|
3129
3134
|
"https://cdn.vuetifyjs.com/docs/images/avatars/planetary.png",
|
|
3130
|
-
"https://cdn.vuetifyjs.com/docs/images/avatars/
|
|
3131
|
-
"https://cdn.vuetifyjs.com/docs/images/avatars/
|
|
3132
|
-
"https://cdn.vuetifyjs.com/docs/images/avatars/
|
|
3135
|
+
"https://cdn.vuetifyjs.com/docs/images/avatars/grass-subscriber.png",
|
|
3136
|
+
"https://cdn.vuetifyjs.com/docs/images/avatars/wood-subscriber.png",
|
|
3137
|
+
"https://cdn.vuetifyjs.com/docs/images/avatars/gold-subscriber.png",
|
|
3138
|
+
"https://cdn.vuetifyjs.com/docs/images/avatars/planetary-subscriber.png",
|
|
3133
3139
|
"https://cdn.vuetifyjs.com/docs/images/avatars/battlecruiser.png",
|
|
3134
3140
|
"https://cdn.vuetifyjs.com/docs/images/avatars/cosmic-blue.png",
|
|
3135
3141
|
"https://cdn.vuetifyjs.com/docs/images/avatars/blackhole.png",
|
|
3136
|
-
"https://cdn.vuetifyjs.com/docs/images/avatars/meteor.png"
|
|
3137
|
-
"https://cdn.vuetifyjs.com/docs/images/avatars/tada.png"
|
|
3142
|
+
"https://cdn.vuetifyjs.com/docs/images/avatars/meteor.png"
|
|
3138
3143
|
];
|
|
3139
|
-
return
|
|
3144
|
+
return o.isSubscriber && f.unshift("https://cdn.vuetifyjs.com/docs/images/avatars/one.png"), e.user && f.unshift(e.user.picture), f;
|
|
3140
3145
|
});
|
|
3141
|
-
function
|
|
3142
|
-
|
|
3146
|
+
function l(f) {
|
|
3147
|
+
a.avatar = f;
|
|
3143
3148
|
}
|
|
3144
|
-
function
|
|
3145
|
-
|
|
3149
|
+
function p() {
|
|
3150
|
+
e.isSubscriber && (n.value = !n.value);
|
|
3146
3151
|
}
|
|
3147
|
-
return (
|
|
3148
|
-
var
|
|
3149
|
-
return
|
|
3150
|
-
De((
|
|
3152
|
+
return (f, u) => {
|
|
3153
|
+
var h;
|
|
3154
|
+
return d(), L("div", null, [
|
|
3155
|
+
De((d(), _(Q, {
|
|
3151
3156
|
class: Ct([
|
|
3152
3157
|
"border-md border-opacity-100 border-surface-variant",
|
|
3153
3158
|
{
|
|
3154
|
-
"cursor-pointer": e
|
|
3159
|
+
"cursor-pointer": t(e).isSubscriber
|
|
3155
3160
|
}
|
|
3156
3161
|
]),
|
|
3157
3162
|
color: "surface",
|
|
3158
3163
|
size: "72",
|
|
3159
3164
|
text: "Foobar",
|
|
3160
|
-
onClick: Ee(
|
|
3165
|
+
onClick: Ee(p, ["prevent", "stop"])
|
|
3161
3166
|
}, {
|
|
3162
3167
|
default: r(() => [
|
|
3163
|
-
e
|
|
3168
|
+
t(e).user && t(a).avatar ? (d(), _(Y, {
|
|
3164
3169
|
key: 0,
|
|
3165
3170
|
alt: "User avatar",
|
|
3166
|
-
src:
|
|
3167
|
-
}, null, 8, ["src"])) : (
|
|
3171
|
+
src: t(a).avatar
|
|
3172
|
+
}, null, 8, ["src"])) : (d(), _(D, {
|
|
3168
3173
|
key: 1,
|
|
3169
3174
|
class: "mt-1",
|
|
3170
3175
|
icon: "$vuetify",
|
|
@@ -3173,30 +3178,30 @@ const Ke = W("settings", () => {
|
|
|
3173
3178
|
]),
|
|
3174
3179
|
_: 1
|
|
3175
3180
|
}, 8, ["class"])), [
|
|
3176
|
-
[So, e
|
|
3181
|
+
[So, t(e).isSubscriber]
|
|
3177
3182
|
]),
|
|
3178
|
-
|
|
3183
|
+
y("div", cs, [
|
|
3179
3184
|
s(me, null, {
|
|
3180
3185
|
default: r(() => [
|
|
3181
|
-
|
|
3186
|
+
t(n) ? (d(), L("div", us, [
|
|
3182
3187
|
s(E, {
|
|
3183
3188
|
class: "pt-6 pb-1",
|
|
3184
3189
|
flat: "",
|
|
3185
3190
|
rounded: "0"
|
|
3186
3191
|
}, {
|
|
3187
3192
|
default: r(() => [
|
|
3188
|
-
|
|
3189
|
-
(
|
|
3190
|
-
key:
|
|
3191
|
-
active:
|
|
3193
|
+
y("div", ds, [
|
|
3194
|
+
(d(!0), L(U, null, ne(t(i), (b, g) => (d(), _(q, {
|
|
3195
|
+
key: g,
|
|
3196
|
+
active: t(a).avatar === b,
|
|
3192
3197
|
icon: "",
|
|
3193
3198
|
variant: "flat",
|
|
3194
|
-
onClick: (
|
|
3199
|
+
onClick: (V) => l(b)
|
|
3195
3200
|
}, {
|
|
3196
3201
|
default: r(() => [
|
|
3197
3202
|
s(Q, {
|
|
3198
3203
|
eager: "",
|
|
3199
|
-
image:
|
|
3204
|
+
image: b
|
|
3200
3205
|
}, null, 8, ["image"])
|
|
3201
3206
|
]),
|
|
3202
3207
|
_: 2
|
|
@@ -3210,18 +3215,18 @@ const Ke = W("settings", () => {
|
|
|
3210
3215
|
_: 1
|
|
3211
3216
|
})
|
|
3212
3217
|
]),
|
|
3213
|
-
|
|
3218
|
+
y("div", ps, C(((h = t(e).user) == null ? void 0 : h.name) ?? "Guest"), 1)
|
|
3214
3219
|
]);
|
|
3215
3220
|
};
|
|
3216
3221
|
}
|
|
3217
3222
|
}), fs = /* @__PURE__ */ $({
|
|
3218
3223
|
__name: "VoUserBadges",
|
|
3219
3224
|
setup(c) {
|
|
3220
|
-
const
|
|
3225
|
+
const e = M(), o = P(), a = S(() => {
|
|
3221
3226
|
var n;
|
|
3222
|
-
return o.github || o.discord || o.isSubscriber || ((n =
|
|
3227
|
+
return o.github || o.discord || o.isSubscriber || ((n = e.user) == null ? void 0 : n.isAdmin);
|
|
3223
3228
|
});
|
|
3224
|
-
return (n, i) =>
|
|
3229
|
+
return (n, i) => t(a) ? (d(), _(ye, {
|
|
3225
3230
|
key: 0,
|
|
3226
3231
|
class: "align-center position-absolute ms-2 d-flex ga-2 pa-2",
|
|
3227
3232
|
color: "rgba(0,0,0,.54)",
|
|
@@ -3231,55 +3236,55 @@ const Ke = W("settings", () => {
|
|
|
3231
3236
|
default: r(() => {
|
|
3232
3237
|
var l;
|
|
3233
3238
|
return [
|
|
3234
|
-
(l = e
|
|
3239
|
+
(l = t(e).user) != null && l.isAdmin ? (d(), _(ee, {
|
|
3235
3240
|
key: 0,
|
|
3236
3241
|
location: "bottom",
|
|
3237
3242
|
text: "Vuetify Administrator"
|
|
3238
3243
|
}, {
|
|
3239
|
-
activator: r(({ props:
|
|
3244
|
+
activator: r(({ props: p }) => [
|
|
3240
3245
|
s(D, H({
|
|
3241
3246
|
color: "blue",
|
|
3242
3247
|
icon: "$vuetify"
|
|
3243
|
-
},
|
|
3248
|
+
}, p, { size: "16" }), null, 16)
|
|
3244
3249
|
]),
|
|
3245
3250
|
_: 1
|
|
3246
3251
|
})) : w("", !0),
|
|
3247
|
-
|
|
3252
|
+
t(o).isSubscriber ? (d(), _(ee, {
|
|
3248
3253
|
key: 1,
|
|
3249
3254
|
location: "bottom",
|
|
3250
3255
|
text: "Vuetify One Subscriber"
|
|
3251
3256
|
}, {
|
|
3252
|
-
activator: r(({ props:
|
|
3257
|
+
activator: r(({ props: p }) => [
|
|
3253
3258
|
s(D, H({
|
|
3254
3259
|
color: "amber-darken-2",
|
|
3255
|
-
icon: `svg:${
|
|
3256
|
-
},
|
|
3260
|
+
icon: `svg:${t(ro)}`
|
|
3261
|
+
}, p, { size: "16" }), null, 16, ["icon"])
|
|
3257
3262
|
]),
|
|
3258
3263
|
_: 1
|
|
3259
3264
|
})) : w("", !0),
|
|
3260
|
-
|
|
3265
|
+
t(o).github ? (d(), _(ee, {
|
|
3261
3266
|
key: 2,
|
|
3262
3267
|
location: "bottom",
|
|
3263
3268
|
text: "GitHub Sponsor"
|
|
3264
3269
|
}, {
|
|
3265
|
-
activator: r(({ props:
|
|
3270
|
+
activator: r(({ props: p }) => [
|
|
3266
3271
|
s(D, H({
|
|
3267
3272
|
color: "white",
|
|
3268
|
-
icon: `svg:${
|
|
3269
|
-
},
|
|
3273
|
+
icon: `svg:${t(Ye)}`
|
|
3274
|
+
}, p, { size: "16" }), null, 16, ["icon"])
|
|
3270
3275
|
]),
|
|
3271
3276
|
_: 1
|
|
3272
3277
|
})) : w("", !0),
|
|
3273
|
-
|
|
3278
|
+
t(o).discord ? (d(), _(ee, {
|
|
3274
3279
|
key: 3,
|
|
3275
3280
|
location: "bottom",
|
|
3276
3281
|
text: "Discord Subscriber"
|
|
3277
3282
|
}, {
|
|
3278
|
-
activator: r(({ props:
|
|
3283
|
+
activator: r(({ props: p }) => [
|
|
3279
3284
|
s(D, H({
|
|
3280
3285
|
color: "white",
|
|
3281
|
-
icon: `svg:${
|
|
3282
|
-
},
|
|
3286
|
+
icon: `svg:${t(Qe)}`
|
|
3287
|
+
}, p, { size: "16" }), null, 16, ["icon"])
|
|
3283
3288
|
]),
|
|
3284
3289
|
_: 1
|
|
3285
3290
|
})) : w("", !0)
|
|
@@ -3294,15 +3299,15 @@ const Ke = W("settings", () => {
|
|
|
3294
3299
|
}, _s = /* @__PURE__ */ $({
|
|
3295
3300
|
__name: "VoUserColors",
|
|
3296
3301
|
setup(c) {
|
|
3297
|
-
const
|
|
3302
|
+
const e = M(), o = F(), a = A(!1);
|
|
3298
3303
|
function n() {
|
|
3299
3304
|
o.colors.one = "surface-light";
|
|
3300
3305
|
}
|
|
3301
3306
|
return (i, l) => {
|
|
3302
|
-
const
|
|
3303
|
-
return
|
|
3307
|
+
const p = fs, f = fe;
|
|
3308
|
+
return d(), L(U, null, [
|
|
3304
3309
|
s(Y, {
|
|
3305
|
-
color: e
|
|
3310
|
+
color: t(e).user ? t(o).colors.one : "surface-light",
|
|
3306
3311
|
"content-class": "d-flex align-start justify-end pa-2",
|
|
3307
3312
|
cover: "",
|
|
3308
3313
|
flat: "",
|
|
@@ -3310,69 +3315,69 @@ const Ke = W("settings", () => {
|
|
|
3310
3315
|
rounded: "0"
|
|
3311
3316
|
}, {
|
|
3312
3317
|
default: r(() => [
|
|
3313
|
-
|
|
3314
|
-
s(
|
|
3315
|
-
|
|
3318
|
+
y("div", vs, [
|
|
3319
|
+
s(p),
|
|
3320
|
+
s(go, null, {
|
|
3321
|
+
default: r(() => [
|
|
3322
|
+
De(y("div", hs, [
|
|
3323
|
+
s(f, {
|
|
3324
|
+
class: "ms-2 me-1",
|
|
3325
|
+
color: "inherit",
|
|
3326
|
+
density: "comfortable",
|
|
3327
|
+
disabled: t(o).colors.one === "surface-light",
|
|
3328
|
+
icon: `svg:${t(lo)}`,
|
|
3329
|
+
title: "Revert to Default",
|
|
3330
|
+
variant: "text",
|
|
3331
|
+
onClick: n
|
|
3332
|
+
}, null, 8, ["disabled", "icon"])
|
|
3333
|
+
], 512), [
|
|
3334
|
+
[Ge, t(a)]
|
|
3335
|
+
])
|
|
3336
|
+
]),
|
|
3337
|
+
_: 1
|
|
3338
|
+
}),
|
|
3339
|
+
t(e).isSubscriber ? (d(), _(f, {
|
|
3316
3340
|
key: 0,
|
|
3317
|
-
active:
|
|
3341
|
+
active: t(a),
|
|
3318
3342
|
class: "align-self-end",
|
|
3319
3343
|
color: "inherit",
|
|
3320
3344
|
density: "comfortable",
|
|
3321
|
-
icon:
|
|
3345
|
+
icon: t(a) ? `svg:${t(Ae)}` : "$edit",
|
|
3322
3346
|
title: "Edit One Header Color",
|
|
3323
|
-
variant:
|
|
3324
|
-
onClick: l[0] || (l[0] = (u) => a.value = !
|
|
3347
|
+
variant: t(a) ? "text" : "plain",
|
|
3348
|
+
onClick: l[0] || (l[0] = (u) => a.value = !t(a))
|
|
3325
3349
|
}, {
|
|
3326
3350
|
default: r(() => [
|
|
3327
3351
|
s(Be, { "leave-absolute": "" }, {
|
|
3328
3352
|
default: r(() => [
|
|
3329
|
-
(
|
|
3330
|
-
key: String(
|
|
3353
|
+
(d(), _(D, {
|
|
3354
|
+
key: String(t(a))
|
|
3331
3355
|
}))
|
|
3332
3356
|
]),
|
|
3333
3357
|
_: 1
|
|
3334
3358
|
})
|
|
3335
3359
|
]),
|
|
3336
3360
|
_: 1
|
|
3337
|
-
}, 8, ["active", "icon", "variant"])) : w("", !0)
|
|
3338
|
-
s(go, null, {
|
|
3339
|
-
default: r(() => [
|
|
3340
|
-
De(g("div", hs, [
|
|
3341
|
-
s(f, {
|
|
3342
|
-
class: "ms-2 me-1",
|
|
3343
|
-
color: "inherit",
|
|
3344
|
-
density: "comfortable",
|
|
3345
|
-
disabled: e(o).colors.one === "surface-light",
|
|
3346
|
-
icon: `svg:${e(lo)}`,
|
|
3347
|
-
title: "Revert to Default",
|
|
3348
|
-
variant: "text",
|
|
3349
|
-
onClick: n
|
|
3350
|
-
}, null, 8, ["disabled", "icon"])
|
|
3351
|
-
], 512), [
|
|
3352
|
-
[Ge, e(a)]
|
|
3353
|
-
])
|
|
3354
|
-
]),
|
|
3355
|
-
_: 1
|
|
3356
|
-
})
|
|
3361
|
+
}, 8, ["active", "icon", "variant"])) : w("", !0)
|
|
3357
3362
|
])
|
|
3358
3363
|
]),
|
|
3359
3364
|
_: 1
|
|
3360
3365
|
}, 8, ["color"]),
|
|
3361
3366
|
s(me, null, {
|
|
3362
3367
|
default: r(() => [
|
|
3363
|
-
|
|
3368
|
+
t(a) ? (d(), _(Co, {
|
|
3364
3369
|
key: 0,
|
|
3365
3370
|
elevation: "0",
|
|
3366
3371
|
height: "250",
|
|
3367
3372
|
"hide-canvas": "",
|
|
3368
3373
|
"hide-inputs": "",
|
|
3369
3374
|
"hide-sliders": "",
|
|
3370
|
-
"model-value":
|
|
3375
|
+
"model-value": t(o).colors.one !== "surface-light" ? t(o).colors.one : void 0,
|
|
3371
3376
|
rounded: "0",
|
|
3372
3377
|
"show-swatches": "",
|
|
3373
3378
|
"swatches-max-height": "200",
|
|
3374
3379
|
width: "278",
|
|
3375
|
-
"onUpdate:modelValue": l[1] || (l[1] = (u) =>
|
|
3380
|
+
"onUpdate:modelValue": l[1] || (l[1] = (u) => t(o).colors.one = u)
|
|
3376
3381
|
}, null, 8, ["model-value"])) : w("", !0)
|
|
3377
3382
|
]),
|
|
3378
3383
|
_: 1
|
|
@@ -3383,17 +3388,17 @@ const Ke = W("settings", () => {
|
|
|
3383
3388
|
}), gs = { class: "text-center mt-n9 mb-4" }, ys = /* @__PURE__ */ $({
|
|
3384
3389
|
__name: "VoUserMenu",
|
|
3385
3390
|
setup(c) {
|
|
3386
|
-
const
|
|
3387
|
-
return B(() =>
|
|
3391
|
+
const e = je(), o = P(), a = O();
|
|
3392
|
+
return B(() => e.banner, async () => {
|
|
3388
3393
|
var n, i;
|
|
3389
3394
|
await new Promise((l) => setTimeout(l, 300)), o.isOpen && ((i = (n = a.value) == null ? void 0 : n.updateLocation) == null || i.call(n));
|
|
3390
3395
|
}, { flush: "pre" }), (n, i) => {
|
|
3391
|
-
const l = _s,
|
|
3392
|
-
return
|
|
3396
|
+
const l = _s, p = ms, f = ls, u = as, h = gt;
|
|
3397
|
+
return d(), _(t(Lo), {
|
|
3393
3398
|
ref_key: "menu",
|
|
3394
3399
|
ref: a,
|
|
3395
|
-
modelValue:
|
|
3396
|
-
"onUpdate:modelValue": i[0] || (i[0] = (
|
|
3400
|
+
modelValue: t(o).isOpen,
|
|
3401
|
+
"onUpdate:modelValue": i[0] || (i[0] = (b) => t(o).isOpen = b),
|
|
3397
3402
|
activator: "parent",
|
|
3398
3403
|
"close-on-click": !1,
|
|
3399
3404
|
"close-on-content-click": !1,
|
|
@@ -3408,8 +3413,8 @@ const Ke = W("settings", () => {
|
|
|
3408
3413
|
}, {
|
|
3409
3414
|
default: r(() => [
|
|
3410
3415
|
s(l),
|
|
3411
|
-
|
|
3412
|
-
s(
|
|
3416
|
+
y("div", gs, [
|
|
3417
|
+
s(p),
|
|
3413
3418
|
s(f)
|
|
3414
3419
|
]),
|
|
3415
3420
|
s(Z),
|
|
@@ -3430,31 +3435,31 @@ const Ke = W("settings", () => {
|
|
|
3430
3435
|
external: Boolean
|
|
3431
3436
|
},
|
|
3432
3437
|
setup(c) {
|
|
3433
|
-
const
|
|
3434
|
-
return (l,
|
|
3435
|
-
const f = ys, u = fe, h = Mo,
|
|
3436
|
-
return
|
|
3438
|
+
const e = M(), o = P(), a = F(), { lgAndUp: n } = le(), i = S(() => o.isOpen || !e.user ? a.colors.one === "surface-light" ? "primary" : a.colors.one : "surface-light");
|
|
3439
|
+
return (l, p) => {
|
|
3440
|
+
const f = ys, u = fe, h = Mo, b = _t;
|
|
3441
|
+
return d(), L(U, null, [
|
|
3437
3442
|
s(h, {
|
|
3438
|
-
"offset-y": e
|
|
3443
|
+
"offset-y": t(e).user ? 5 : 0
|
|
3439
3444
|
}, {
|
|
3440
3445
|
default: r(() => [
|
|
3441
3446
|
s(u, H({
|
|
3442
|
-
[`${
|
|
3447
|
+
[`${t(n) ? "append-" : ""}icon`]: t(e).user ? void 0 : `svg:${t(co)}`
|
|
3443
3448
|
}, {
|
|
3444
3449
|
active: "",
|
|
3445
3450
|
class: "vo-auth-btn",
|
|
3446
|
-
color:
|
|
3447
|
-
icon: e
|
|
3448
|
-
loading: e
|
|
3451
|
+
color: t(i),
|
|
3452
|
+
icon: t(e).user || t(e).isLoading,
|
|
3453
|
+
loading: t(e).isLoading,
|
|
3449
3454
|
size: "default",
|
|
3450
3455
|
style: { transition: ".2s ease" },
|
|
3451
|
-
variant: e
|
|
3456
|
+
variant: t(e).user ? "outlined" : "flat"
|
|
3452
3457
|
}), {
|
|
3453
3458
|
default: r(() => [
|
|
3454
|
-
e
|
|
3455
|
-
e
|
|
3459
|
+
t(e).user ? w("", !0) : (d(), L("span", bs, "Login")),
|
|
3460
|
+
t(e).user ? (d(), _(Q, {
|
|
3456
3461
|
key: 1,
|
|
3457
|
-
image:
|
|
3462
|
+
image: t(a).avatar || t(e).user.picture || ""
|
|
3458
3463
|
}, null, 8, ["image"])) : w("", !0),
|
|
3459
3464
|
s(f)
|
|
3460
3465
|
]),
|
|
@@ -3463,7 +3468,7 @@ const Ke = W("settings", () => {
|
|
|
3463
3468
|
]),
|
|
3464
3469
|
_: 1
|
|
3465
3470
|
}, 8, ["offset-y"]),
|
|
3466
|
-
s(
|
|
3471
|
+
s(b)
|
|
3467
3472
|
], 64);
|
|
3468
3473
|
};
|
|
3469
3474
|
}
|
|
@@ -3476,36 +3481,36 @@ const Ke = W("settings", () => {
|
|
|
3476
3481
|
image: {}
|
|
3477
3482
|
},
|
|
3478
3483
|
setup(c) {
|
|
3479
|
-
return (
|
|
3484
|
+
return (e, o) => (d(), _(Io, {
|
|
3480
3485
|
class: "vo-footer",
|
|
3481
3486
|
height: "40"
|
|
3482
3487
|
}, {
|
|
3483
3488
|
default: r(() => [
|
|
3484
|
-
|
|
3485
|
-
|
|
3489
|
+
e.image || e.$slots.image ? (d(), L("div", ks, [
|
|
3490
|
+
e.$slots.image ? z(e.$slots, "image", { key: 0 }, void 0, !0) : (d(), _(Y, {
|
|
3486
3491
|
key: 1,
|
|
3487
3492
|
cover: "",
|
|
3488
3493
|
position: "left",
|
|
3489
|
-
src:
|
|
3494
|
+
src: e.image
|
|
3490
3495
|
}, null, 8, ["src"]))
|
|
3491
3496
|
])) : w("", !0),
|
|
3492
|
-
z(
|
|
3497
|
+
z(e.$slots, "default", {}, void 0, !0)
|
|
3493
3498
|
]),
|
|
3494
3499
|
_: 3
|
|
3495
3500
|
}));
|
|
3496
3501
|
}
|
|
3497
|
-
}), Vt = (c,
|
|
3502
|
+
}), Vt = (c, e) => {
|
|
3498
3503
|
const o = c.__vccOpts || c;
|
|
3499
|
-
for (const [a, n] of
|
|
3504
|
+
for (const [a, n] of e)
|
|
3500
3505
|
o[a] = n;
|
|
3501
3506
|
return o;
|
|
3502
3507
|
}, kt = /* @__PURE__ */ Vt($s, [["__scopeId", "data-v-3135ada5"]]), xs = (c) => (Lt("data-v-584be7b0"), c = c(), It(), c), ws = ["href", "title"], Ss = {
|
|
3503
3508
|
class: "text-caption text-disabled",
|
|
3504
3509
|
style: { position: "absolute", right: "16px" }
|
|
3505
|
-
}, Cs = /* @__PURE__ */ xs(() => /* @__PURE__ */
|
|
3510
|
+
}, Cs = /* @__PURE__ */ xs(() => /* @__PURE__ */ y("span", { class: "d-none d-sm-inline-block" }, "Vuetify, LLC", -1)), Ls = /* @__PURE__ */ $({
|
|
3506
3511
|
__name: "VoSocialFooter",
|
|
3507
3512
|
setup(c) {
|
|
3508
|
-
const
|
|
3513
|
+
const e = Ke(), o = [
|
|
3509
3514
|
{
|
|
3510
3515
|
title: "Vuetify Documentation",
|
|
3511
3516
|
icon: "$vuetify",
|
|
@@ -3539,13 +3544,13 @@ const Ke = W("settings", () => {
|
|
|
3539
3544
|
];
|
|
3540
3545
|
return (a, n) => {
|
|
3541
3546
|
const i = kt;
|
|
3542
|
-
return
|
|
3547
|
+
return d(), _(i, {
|
|
3543
3548
|
class: "vo-footer",
|
|
3544
3549
|
height: "40",
|
|
3545
|
-
image: e
|
|
3550
|
+
image: t(e).suit.footer
|
|
3546
3551
|
}, R({
|
|
3547
3552
|
default: r(() => [
|
|
3548
|
-
(
|
|
3553
|
+
(d(), L(U, null, ne(o, (l) => y("a", {
|
|
3549
3554
|
key: l.title,
|
|
3550
3555
|
class: "d-inline-block mx-2 social-link",
|
|
3551
3556
|
href: l.href,
|
|
@@ -3558,7 +3563,7 @@ const Ke = W("settings", () => {
|
|
|
3558
3563
|
size: l.icon === "$vuetify" ? 24 : 16
|
|
3559
3564
|
}, null, 8, ["icon", "size"])
|
|
3560
3565
|
], 8, ws)), 64)),
|
|
3561
|
-
|
|
3566
|
+
y("div", Ss, [
|
|
3562
3567
|
T(" © 2016-" + C((/* @__PURE__ */ new Date()).getFullYear()) + " ", 1),
|
|
3563
3568
|
Cs
|
|
3564
3569
|
])
|
|
@@ -3581,14 +3586,14 @@ const Ke = W("settings", () => {
|
|
|
3581
3586
|
demo: { type: Boolean }
|
|
3582
3587
|
},
|
|
3583
3588
|
setup(c) {
|
|
3584
|
-
const
|
|
3585
|
-
var
|
|
3586
|
-
return ((
|
|
3587
|
-
}), f = S(() =>
|
|
3589
|
+
const e = c, { mdAndUp: o } = le(), a = Ne(), n = F(), i = je(), l = S(() => i.banner), p = S(() => {
|
|
3590
|
+
var g, V;
|
|
3591
|
+
return ((g = l.value) == null ? void 0 : g.metadata.height) || ((V = l.value) != null && V.metadata.subtext ? 88 : 48);
|
|
3592
|
+
}), f = S(() => e.demo ? !0 : !l.value || !n.notifications.last.banner.includes(l.value.slug));
|
|
3588
3593
|
function u() {
|
|
3589
3594
|
l.value && n.notifications.last.banner.push(l.value.slug);
|
|
3590
3595
|
}
|
|
3591
|
-
async function h(
|
|
3596
|
+
async function h(g) {
|
|
3592
3597
|
var v;
|
|
3593
3598
|
if (!l.value)
|
|
3594
3599
|
return;
|
|
@@ -3596,76 +3601,76 @@ const Ke = W("settings", () => {
|
|
|
3596
3601
|
const V = ((v = l.value) == null ? void 0 : v.metadata) ?? { link: "" };
|
|
3597
3602
|
if (V.link.indexOf("?one=") === -1)
|
|
3598
3603
|
return;
|
|
3599
|
-
|
|
3604
|
+
g.preventDefault(), g.stopPropagation();
|
|
3600
3605
|
const m = V.link.split("?one=")[1];
|
|
3601
3606
|
a.push({ query: { one: m } });
|
|
3602
3607
|
}
|
|
3603
|
-
const
|
|
3608
|
+
const b = S(() => {
|
|
3604
3609
|
var V, m;
|
|
3605
|
-
const
|
|
3610
|
+
const g = ((V = l.value) == null ? void 0 : V.metadata) ?? { link: "" };
|
|
3606
3611
|
return {
|
|
3607
|
-
href:
|
|
3608
|
-
target:
|
|
3609
|
-
to:
|
|
3612
|
+
href: g.link.startsWith("http") ? g.link : void 0,
|
|
3613
|
+
target: g.link.startsWith("http") ? "_blank" : void 0,
|
|
3614
|
+
to: g.link.startsWith("http") ? void 0 : g.link,
|
|
3610
3615
|
...(m = l.value) == null ? void 0 : m.metadata.attributes,
|
|
3611
3616
|
onClick: h
|
|
3612
3617
|
};
|
|
3613
3618
|
});
|
|
3614
|
-
return (
|
|
3619
|
+
return (g, V) => {
|
|
3615
3620
|
var m;
|
|
3616
|
-
return
|
|
3621
|
+
return t(l) ? (d(), _(Do, {
|
|
3617
3622
|
key: 0,
|
|
3618
|
-
color:
|
|
3623
|
+
color: t(l).metadata.color,
|
|
3619
3624
|
flat: "",
|
|
3620
|
-
height:
|
|
3621
|
-
image: (m =
|
|
3622
|
-
"model-value":
|
|
3625
|
+
height: t(p),
|
|
3626
|
+
image: (m = t(l).metadata.images.bg) == null ? void 0 : m.url,
|
|
3627
|
+
"model-value": t(f),
|
|
3623
3628
|
order: "-1"
|
|
3624
3629
|
}, {
|
|
3625
3630
|
default: r(() => [
|
|
3626
|
-
s(Ve, H(
|
|
3631
|
+
s(Ve, H(t(b), {
|
|
3627
3632
|
active: !1,
|
|
3628
3633
|
class: "flex-grow-1 py-6",
|
|
3629
3634
|
lines: "two",
|
|
3630
3635
|
onClick: h
|
|
3631
3636
|
}), {
|
|
3632
3637
|
prepend: r(() => [
|
|
3633
|
-
|
|
3638
|
+
t(l).metadata.images.logo ? (d(), _(Q, {
|
|
3634
3639
|
key: 0,
|
|
3635
3640
|
icon: "$vuetify",
|
|
3636
|
-
image:
|
|
3641
|
+
image: t(l).metadata.images.logo.url,
|
|
3637
3642
|
size: "x-large",
|
|
3638
3643
|
tile: ""
|
|
3639
3644
|
}, null, 8, ["image"])) : w("", !0)
|
|
3640
3645
|
]),
|
|
3641
3646
|
append: r(() => [
|
|
3642
|
-
|
|
3643
|
-
default: r(({ isHovering: v, props:
|
|
3647
|
+
t(o) && t(l).metadata.link && t(l).metadata.link_text ? (d(), _(ze, { key: 0 }, {
|
|
3648
|
+
default: r(({ isHovering: v, props: k }) => [
|
|
3644
3649
|
s(q, H({
|
|
3645
|
-
...
|
|
3646
|
-
...
|
|
3650
|
+
...k,
|
|
3651
|
+
...t(b)
|
|
3647
3652
|
}, {
|
|
3648
|
-
"append-icon": `svg:${
|
|
3653
|
+
"append-icon": `svg:${t(Oe)}`,
|
|
3649
3654
|
class: "text-none me-2",
|
|
3650
|
-
color:
|
|
3655
|
+
color: t(l).metadata.link_color,
|
|
3651
3656
|
elevation: v ? 8 : 0,
|
|
3652
|
-
title:
|
|
3657
|
+
title: t(l).metadata.link_text,
|
|
3653
3658
|
variant: "elevated",
|
|
3654
3659
|
onClick: h
|
|
3655
3660
|
}), {
|
|
3656
3661
|
default: r(() => [
|
|
3657
|
-
T(C(
|
|
3662
|
+
T(C(t(l).metadata.link_text), 1)
|
|
3658
3663
|
]),
|
|
3659
3664
|
_: 2
|
|
3660
3665
|
}, 1040, ["append-icon", "color", "elevation", "title"])
|
|
3661
3666
|
]),
|
|
3662
3667
|
_: 1
|
|
3663
3668
|
})) : w("", !0),
|
|
3664
|
-
|
|
3669
|
+
t(l).metadata.closable ? (d(), _(q, {
|
|
3665
3670
|
key: 1,
|
|
3666
3671
|
class: "ms-6 me-2",
|
|
3667
3672
|
density: "comfortable",
|
|
3668
|
-
disabled:
|
|
3673
|
+
disabled: g.demo,
|
|
3669
3674
|
icon: "$clear",
|
|
3670
3675
|
size: "small",
|
|
3671
3676
|
variant: "plain",
|
|
@@ -3673,18 +3678,18 @@ const Ke = W("settings", () => {
|
|
|
3673
3678
|
}, null, 8, ["disabled"])) : w("", !0)
|
|
3674
3679
|
]),
|
|
3675
3680
|
default: r(() => [
|
|
3676
|
-
|
|
3681
|
+
t(l).metadata.text ? (d(), _(ct, {
|
|
3677
3682
|
key: 0,
|
|
3678
3683
|
class: "text-subtitle-2 text-md-subtitle-1 font-weight-medium"
|
|
3679
3684
|
}, {
|
|
3680
3685
|
default: r(() => [
|
|
3681
|
-
T(C(
|
|
3686
|
+
T(C(t(l).metadata.text), 1)
|
|
3682
3687
|
]),
|
|
3683
3688
|
_: 1
|
|
3684
3689
|
})) : w("", !0),
|
|
3685
|
-
|
|
3690
|
+
t(l).metadata.subtext ? (d(), _(fo, { key: 1 }, {
|
|
3686
3691
|
default: r(() => [
|
|
3687
|
-
T(C(
|
|
3692
|
+
T(C(t(l).metadata.subtext), 1)
|
|
3688
3693
|
]),
|
|
3689
3694
|
_: 1
|
|
3690
3695
|
})) : w("", !0)
|
|
@@ -3707,7 +3712,7 @@ const Ke = W("settings", () => {
|
|
|
3707
3712
|
minHeight: {}
|
|
3708
3713
|
},
|
|
3709
3714
|
setup(c) {
|
|
3710
|
-
return (
|
|
3715
|
+
return (e, o) => (d(), _(E, {
|
|
3711
3716
|
class: "d-inline-flex flex-child-1 position-relative",
|
|
3712
3717
|
color: "surface-light",
|
|
3713
3718
|
flat: "",
|
|
@@ -3717,50 +3722,50 @@ const Ke = W("settings", () => {
|
|
|
3717
3722
|
}, R({
|
|
3718
3723
|
default: r(() => [
|
|
3719
3724
|
s(Ao, {
|
|
3720
|
-
"min-height":
|
|
3725
|
+
"min-height": e.minHeight,
|
|
3721
3726
|
width: "100%"
|
|
3722
3727
|
}, {
|
|
3723
3728
|
default: r(() => [
|
|
3724
|
-
z(
|
|
3729
|
+
z(e.$slots, "default")
|
|
3725
3730
|
]),
|
|
3726
3731
|
_: 3
|
|
3727
3732
|
}, 8, ["min-height"]),
|
|
3728
|
-
|
|
3733
|
+
e.caption ? (d(), L("div", As, C(e.caption), 1)) : w("", !0)
|
|
3729
3734
|
]),
|
|
3730
3735
|
_: 2
|
|
3731
3736
|
}, [
|
|
3732
|
-
|
|
3737
|
+
e.$slots.prepend ? {
|
|
3733
3738
|
name: "prepend",
|
|
3734
3739
|
fn: r(() => [
|
|
3735
|
-
z(
|
|
3740
|
+
z(e.$slots, "prepend")
|
|
3736
3741
|
]),
|
|
3737
3742
|
key: "0"
|
|
3738
3743
|
} : void 0,
|
|
3739
|
-
|
|
3744
|
+
e.$slots.image ? {
|
|
3740
3745
|
name: "image",
|
|
3741
3746
|
fn: r(() => [
|
|
3742
|
-
z(
|
|
3747
|
+
z(e.$slots, "image")
|
|
3743
3748
|
]),
|
|
3744
3749
|
key: "1"
|
|
3745
3750
|
} : void 0
|
|
3746
3751
|
]), 1024));
|
|
3747
3752
|
}
|
|
3748
3753
|
}), et = W("promotions", () => {
|
|
3749
|
-
const c = ce(),
|
|
3754
|
+
const c = ce(), e = O([]), o = O([]), a = O(), n = A(!1), i = A(!1), l = S(() => e.value.filter((m) => m.metadata.discoverable));
|
|
3750
3755
|
Ze(f);
|
|
3751
|
-
function
|
|
3756
|
+
function p(m) {
|
|
3752
3757
|
return m[Math.floor(Math.random() * m.length)];
|
|
3753
3758
|
}
|
|
3754
3759
|
async function f() {
|
|
3755
3760
|
try {
|
|
3756
3761
|
n.value = !0;
|
|
3757
3762
|
const m = await c.get("/one/promotions");
|
|
3758
|
-
|
|
3763
|
+
e.value = m.promotions;
|
|
3759
3764
|
} catch {
|
|
3760
3765
|
} finally {
|
|
3761
3766
|
n.value = !1, i.value = !0;
|
|
3762
3767
|
}
|
|
3763
|
-
return
|
|
3768
|
+
return e.value;
|
|
3764
3769
|
}
|
|
3765
3770
|
async function u(m) {
|
|
3766
3771
|
try {
|
|
@@ -3785,20 +3790,20 @@ const Ke = W("settings", () => {
|
|
|
3785
3790
|
n.value = !1;
|
|
3786
3791
|
}
|
|
3787
3792
|
}
|
|
3788
|
-
async function
|
|
3793
|
+
async function b(m, v) {
|
|
3789
3794
|
try {
|
|
3790
3795
|
n.value = !0;
|
|
3791
|
-
const
|
|
3796
|
+
const k = await c.form(
|
|
3792
3797
|
`/one/admin/promotions/${m}`,
|
|
3793
3798
|
v
|
|
3794
3799
|
);
|
|
3795
|
-
return a.value =
|
|
3800
|
+
return a.value = k.promotion, k.promotion;
|
|
3796
3801
|
} catch {
|
|
3797
3802
|
} finally {
|
|
3798
3803
|
n.value = !1;
|
|
3799
3804
|
}
|
|
3800
3805
|
}
|
|
3801
|
-
async function
|
|
3806
|
+
async function g() {
|
|
3802
3807
|
}
|
|
3803
3808
|
async function V() {
|
|
3804
3809
|
try {
|
|
@@ -3809,22 +3814,22 @@ const Ke = W("settings", () => {
|
|
|
3809
3814
|
} finally {
|
|
3810
3815
|
n.value = !1;
|
|
3811
3816
|
}
|
|
3812
|
-
return
|
|
3817
|
+
return e.value;
|
|
3813
3818
|
}
|
|
3814
3819
|
return {
|
|
3815
|
-
all:
|
|
3820
|
+
all: e,
|
|
3816
3821
|
aall: o,
|
|
3817
3822
|
isLoading: n,
|
|
3818
3823
|
hasLoaded: i,
|
|
3819
3824
|
discoverable: l,
|
|
3820
3825
|
record: a,
|
|
3821
3826
|
admin: V,
|
|
3822
|
-
destroy:
|
|
3827
|
+
destroy: g,
|
|
3823
3828
|
index: f,
|
|
3824
|
-
random:
|
|
3829
|
+
random: p,
|
|
3825
3830
|
show: u,
|
|
3826
3831
|
store: h,
|
|
3827
|
-
update:
|
|
3832
|
+
update: b
|
|
3828
3833
|
};
|
|
3829
3834
|
}), Os = /* @__PURE__ */ $({
|
|
3830
3835
|
__name: "VoPromotionsCardHighlight",
|
|
@@ -3832,34 +3837,34 @@ const Ke = W("settings", () => {
|
|
|
3832
3837
|
slug: {}
|
|
3833
3838
|
},
|
|
3834
3839
|
setup(c) {
|
|
3835
|
-
const
|
|
3840
|
+
const e = c, o = et(), a = Xe(), n = F(), i = S(() => {
|
|
3836
3841
|
if (!n.disableAds)
|
|
3837
|
-
return o.record ? o.record :
|
|
3842
|
+
return o.record ? o.record : e.slug ? o.all.find((f) => f.slug === e.slug) : o.random(o.all);
|
|
3838
3843
|
}), l = S(() => {
|
|
3839
3844
|
var u, h;
|
|
3840
3845
|
const f = a.current.value.dark ? "logodark" : "logolight";
|
|
3841
3846
|
return (h = (u = i.value) == null ? void 0 : u.metadata.images[f]) == null ? void 0 : h.url;
|
|
3842
|
-
}),
|
|
3847
|
+
}), p = S(() => {
|
|
3843
3848
|
var u, h;
|
|
3844
3849
|
const f = a.current.value.dark ? "bgdark" : "bglight";
|
|
3845
3850
|
return (h = (u = i.value) == null ? void 0 : u.metadata.images[f]) == null ? void 0 : h.url;
|
|
3846
3851
|
});
|
|
3847
3852
|
return (f, u) => {
|
|
3848
|
-
var
|
|
3853
|
+
var b, g;
|
|
3849
3854
|
const h = $t;
|
|
3850
|
-
return
|
|
3855
|
+
return t(i) || !t(o).hasLoaded ? (d(), _(h, {
|
|
3851
3856
|
key: 0,
|
|
3852
3857
|
class: "mb-4",
|
|
3853
3858
|
height: "60",
|
|
3854
|
-
href: (
|
|
3855
|
-
image:
|
|
3859
|
+
href: (b = t(i)) == null ? void 0 : b.metadata.url,
|
|
3860
|
+
image: t(p),
|
|
3856
3861
|
"max-width": "720",
|
|
3857
|
-
"prepend-avatar":
|
|
3858
|
-
title: (
|
|
3862
|
+
"prepend-avatar": t(l),
|
|
3863
|
+
title: (g = t(i)) == null ? void 0 : g.metadata.short_text,
|
|
3859
3864
|
width: "100%"
|
|
3860
3865
|
}, R({
|
|
3861
3866
|
default: r(() => [
|
|
3862
|
-
|
|
3867
|
+
t(o).hasLoaded ? w("", !0) : (d(), _(be, {
|
|
3863
3868
|
key: 0,
|
|
3864
3869
|
class: "flex-1-0 overflow-hidden",
|
|
3865
3870
|
color: "transparent",
|
|
@@ -3870,7 +3875,7 @@ const Ke = W("settings", () => {
|
|
|
3870
3875
|
]),
|
|
3871
3876
|
_: 2
|
|
3872
3877
|
}, [
|
|
3873
|
-
|
|
3878
|
+
t(i) ? {
|
|
3874
3879
|
name: "prepend",
|
|
3875
3880
|
fn: r(() => [
|
|
3876
3881
|
s(Q, {
|
|
@@ -3880,7 +3885,7 @@ const Ke = W("settings", () => {
|
|
|
3880
3885
|
]),
|
|
3881
3886
|
key: "0"
|
|
3882
3887
|
} : void 0,
|
|
3883
|
-
|
|
3888
|
+
t(i) ? {
|
|
3884
3889
|
name: "image",
|
|
3885
3890
|
fn: r(() => [
|
|
3886
3891
|
s(Y, { position: "right" })
|
|
@@ -3896,36 +3901,36 @@ const Ke = W("settings", () => {
|
|
|
3896
3901
|
slug: {}
|
|
3897
3902
|
},
|
|
3898
3903
|
setup(c) {
|
|
3899
|
-
const
|
|
3904
|
+
const e = c, o = et(), a = F(), n = S(() => {
|
|
3900
3905
|
if (!a.disableAds)
|
|
3901
|
-
return o.record ? o.record :
|
|
3906
|
+
return o.record ? o.record : e.slug ? o.all.find((i) => i.slug === e.slug) : o.random(o.all);
|
|
3902
3907
|
});
|
|
3903
3908
|
return (i, l) => {
|
|
3904
3909
|
var f, u;
|
|
3905
|
-
const
|
|
3906
|
-
return
|
|
3910
|
+
const p = $t;
|
|
3911
|
+
return t(n) || !t(o).hasLoaded ? (d(), _(p, {
|
|
3907
3912
|
key: 0,
|
|
3908
3913
|
border: "",
|
|
3909
3914
|
class: "pa-2 mb-4",
|
|
3910
|
-
href: (u = (f =
|
|
3915
|
+
href: (u = (f = t(n)) == null ? void 0 : f.metadata) == null ? void 0 : u.url,
|
|
3911
3916
|
width: "360"
|
|
3912
3917
|
}, {
|
|
3913
3918
|
default: r(() => {
|
|
3914
|
-
var h,
|
|
3919
|
+
var h, b, g;
|
|
3915
3920
|
return [
|
|
3916
|
-
|
|
3917
|
-
|
|
3921
|
+
y("div", Ns, [
|
|
3922
|
+
t(o).hasLoaded ? t(n) ? (d(), L(U, { key: 1 }, [
|
|
3918
3923
|
s(Y, {
|
|
3919
3924
|
height: "100",
|
|
3920
3925
|
"max-width": "130",
|
|
3921
3926
|
rounded: "s",
|
|
3922
|
-
src: (
|
|
3927
|
+
src: (b = (h = t(n).metadata) == null ? void 0 : h.images.default) == null ? void 0 : b.url,
|
|
3923
3928
|
width: "100%"
|
|
3924
3929
|
}, null, 8, ["src"]),
|
|
3925
|
-
|
|
3926
|
-
|
|
3930
|
+
y("div", Bs, [
|
|
3931
|
+
y("div", Us, C((g = t(n).metadata) == null ? void 0 : g.text), 1)
|
|
3927
3932
|
])
|
|
3928
|
-
], 64)) : w("", !0) : (
|
|
3933
|
+
], 64)) : w("", !0) : (d(), L(U, { key: 0 }, [
|
|
3929
3934
|
s(be, {
|
|
3930
3935
|
class: "flex-1-0 overflow-hidden",
|
|
3931
3936
|
color: "transparent",
|
|
@@ -3955,40 +3960,40 @@ const Ke = W("settings", () => {
|
|
|
3955
3960
|
slug: {}
|
|
3956
3961
|
},
|
|
3957
3962
|
setup(c) {
|
|
3958
|
-
const
|
|
3963
|
+
const e = c, o = et(), a = Xe(), n = S(() => o.record ? o.record : o.random(o.all)), i = S(() => {
|
|
3959
3964
|
var f, u;
|
|
3960
|
-
const
|
|
3961
|
-
return (u = (f = n.value) == null ? void 0 : f.metadata.images[
|
|
3965
|
+
const p = a.current.value.dark ? "logodark" : "logolight";
|
|
3966
|
+
return (u = (f = n.value) == null ? void 0 : f.metadata.images[p]) == null ? void 0 : u.url;
|
|
3962
3967
|
}), l = S(() => {
|
|
3963
3968
|
var f, u;
|
|
3964
|
-
const
|
|
3965
|
-
return (u = (f = n.value) == null ? void 0 : f.metadata.images[
|
|
3969
|
+
const p = a.current.value.dark ? "bgdark" : "bglight";
|
|
3970
|
+
return (u = (f = n.value) == null ? void 0 : f.metadata.images[p]) == null ? void 0 : u.url;
|
|
3966
3971
|
});
|
|
3967
3972
|
return Ze(async () => {
|
|
3968
|
-
|
|
3969
|
-
}), (
|
|
3973
|
+
e.slug && await o.show(e.slug);
|
|
3974
|
+
}), (p, f) => {
|
|
3970
3975
|
const u = kt;
|
|
3971
|
-
return
|
|
3976
|
+
return d(), _(u, {
|
|
3972
3977
|
color: "surface-light",
|
|
3973
|
-
image:
|
|
3978
|
+
image: t(l),
|
|
3974
3979
|
style: { transform: "translateY(0)" }
|
|
3975
3980
|
}, {
|
|
3976
3981
|
default: r(() => {
|
|
3977
|
-
var h,
|
|
3982
|
+
var h, b, g;
|
|
3978
3983
|
return [
|
|
3979
|
-
|
|
3984
|
+
y("a", {
|
|
3980
3985
|
class: "d-flex align-center text-decoration-none py-2 px-4 ms-n4 flex-1-0 me-n4 text-high-emphasis position-relative",
|
|
3981
|
-
href: (h =
|
|
3986
|
+
href: (h = t(n)) == null ? void 0 : h.metadata.url,
|
|
3982
3987
|
rel: "noopener noreferrer",
|
|
3983
3988
|
target: "_blank"
|
|
3984
3989
|
}, [
|
|
3985
3990
|
s(Q, {
|
|
3986
3991
|
class: "me-4",
|
|
3987
|
-
image:
|
|
3992
|
+
image: t(i),
|
|
3988
3993
|
size: "24"
|
|
3989
3994
|
}, null, 8, ["image"]),
|
|
3990
|
-
|
|
3991
|
-
(
|
|
3995
|
+
y("div", Ts, C((b = t(n)) == null ? void 0 : b.metadata.text), 1),
|
|
3996
|
+
(g = t(n)) != null && g.metadata.advertisement ? (d(), _(te, {
|
|
3992
3997
|
key: 0,
|
|
3993
3998
|
class: "ms-auto me-n4 align-self-end mb-n2 py-1 ps-3",
|
|
3994
3999
|
rounded: "0 ts-lg",
|
|
@@ -4020,31 +4025,31 @@ const Ke = W("settings", () => {
|
|
|
4020
4025
|
}
|
|
4021
4026
|
},
|
|
4022
4027
|
emits: ["script:error", "script:load"],
|
|
4023
|
-
setup(c, { emit:
|
|
4024
|
-
const o = c, a =
|
|
4028
|
+
setup(c, { emit: e }) {
|
|
4029
|
+
const o = c, a = e, n = O(), i = O();
|
|
4025
4030
|
return Ze(async () => {
|
|
4026
|
-
const l = document.createElement("script"),
|
|
4027
|
-
l.type = "text/javascript", l.id = o.scriptId, l.src = o.src, l.onload = () => a("script:load"), l.onerror =
|
|
4031
|
+
const l = document.createElement("script"), p = () => a("script:error");
|
|
4032
|
+
l.type = "text/javascript", l.id = o.scriptId, l.src = o.src, l.onload = () => a("script:load"), l.onerror = p, i.value = l;
|
|
4028
4033
|
}), qe(() => {
|
|
4029
4034
|
var l;
|
|
4030
4035
|
i.value && ((l = n.value) == null || l.appendChild(i.value));
|
|
4031
4036
|
}), Dt(() => {
|
|
4032
4037
|
var l;
|
|
4033
4038
|
i.value && ((l = n.value) == null || l.removeChild(i.value));
|
|
4034
|
-
}), (l,
|
|
4039
|
+
}), (l, p) => (d(), L("div", {
|
|
4035
4040
|
id: c.id,
|
|
4036
4041
|
ref_key: "rootEl",
|
|
4037
4042
|
ref: n
|
|
4038
4043
|
}, null, 8, Ms));
|
|
4039
4044
|
}
|
|
4040
4045
|
}), Hs = W("spots", () => {
|
|
4041
|
-
const c = ce(),
|
|
4046
|
+
const c = ce(), e = bt(), o = O([]), a = O([]), n = O(), i = A(!1), l = S(() => n.value ? n.value : o.value.find(({
|
|
4042
4047
|
metadata: {
|
|
4043
4048
|
site: V,
|
|
4044
4049
|
active: m
|
|
4045
4050
|
}
|
|
4046
|
-
}) => m ? V.includes("dev") && !1 || V.includes("*") ? !0 : V.some((v) =>
|
|
4047
|
-
async function
|
|
4051
|
+
}) => m ? V.includes("dev") && !1 || V.includes("*") ? !0 : V.some((v) => e.id.includes(v)) : !1));
|
|
4052
|
+
async function p() {
|
|
4048
4053
|
try {
|
|
4049
4054
|
i.value = !0;
|
|
4050
4055
|
const V = await c.get("/one/spots");
|
|
@@ -4091,9 +4096,9 @@ const Ke = W("settings", () => {
|
|
|
4091
4096
|
i.value = !1;
|
|
4092
4097
|
}
|
|
4093
4098
|
}
|
|
4094
|
-
async function
|
|
4099
|
+
async function b() {
|
|
4095
4100
|
}
|
|
4096
|
-
async function
|
|
4101
|
+
async function g() {
|
|
4097
4102
|
try {
|
|
4098
4103
|
i.value = !0;
|
|
4099
4104
|
const V = await c.get("/one/admin/spots");
|
|
@@ -4110,46 +4115,46 @@ const Ke = W("settings", () => {
|
|
|
4110
4115
|
isLoading: i,
|
|
4111
4116
|
spot: l,
|
|
4112
4117
|
record: n,
|
|
4113
|
-
admin:
|
|
4114
|
-
index:
|
|
4118
|
+
admin: g,
|
|
4119
|
+
index: p,
|
|
4115
4120
|
show: f,
|
|
4116
4121
|
store: u,
|
|
4117
4122
|
update: h,
|
|
4118
|
-
destroy:
|
|
4123
|
+
destroy: b
|
|
4119
4124
|
};
|
|
4120
4125
|
}), Rs = ["href"], Es = /* @__PURE__ */ $({
|
|
4121
4126
|
__name: "VoSpot",
|
|
4122
4127
|
setup(c) {
|
|
4123
|
-
const
|
|
4128
|
+
const e = Hs();
|
|
4124
4129
|
return (o, a) => {
|
|
4125
4130
|
var n;
|
|
4126
|
-
return e
|
|
4131
|
+
return t(e).spot ? (d(), L("a", {
|
|
4127
4132
|
key: 0,
|
|
4128
|
-
href: e
|
|
4133
|
+
href: t(e).spot.metadata.href,
|
|
4129
4134
|
rel: "noopener noreferrer sponsored",
|
|
4130
4135
|
target: "_blank"
|
|
4131
4136
|
}, [
|
|
4132
4137
|
s(Y, {
|
|
4133
4138
|
class: "mx-auto",
|
|
4134
|
-
color: e
|
|
4139
|
+
color: t(e).spot.metadata.image ? void 0 : "surface",
|
|
4135
4140
|
rounded: "",
|
|
4136
|
-
src: (n = e
|
|
4141
|
+
src: (n = t(e).spot.metadata.image) == null ? void 0 : n.url,
|
|
4137
4142
|
width: "225"
|
|
4138
4143
|
}, null, 8, ["color", "src"])
|
|
4139
4144
|
], 8, Rs)) : w("", !0);
|
|
4140
4145
|
};
|
|
4141
4146
|
}
|
|
4142
4147
|
}), Oa = W("bins", () => {
|
|
4143
|
-
const c = M(),
|
|
4148
|
+
const c = M(), e = ce(), o = O([]), a = O(), n = A(!1), i = A(-1), l = S(() => !c.user || !a.value ? !1 : c.user.id === a.value.owner.id), p = S(() => o.value.filter((v) => v.favorite)), f = S(() => o.value.filter((v) => v.pinned));
|
|
4144
4149
|
B(a, () => {
|
|
4145
4150
|
window.clearTimeout(i.value), i.value = window.setTimeout(() => {
|
|
4146
|
-
!a.value || !l.value ||
|
|
4151
|
+
!a.value || !l.value || g(a.value, a.value.id);
|
|
4147
4152
|
}, 100);
|
|
4148
4153
|
}, { deep: !0 });
|
|
4149
4154
|
async function u() {
|
|
4150
4155
|
try {
|
|
4151
4156
|
n.value = !0;
|
|
4152
|
-
const v = await
|
|
4157
|
+
const v = await e.get("/one/bins");
|
|
4153
4158
|
o.value = v.bins;
|
|
4154
4159
|
} catch {
|
|
4155
4160
|
} finally {
|
|
@@ -4159,28 +4164,28 @@ const Ke = W("settings", () => {
|
|
|
4159
4164
|
}
|
|
4160
4165
|
async function h(v) {
|
|
4161
4166
|
try {
|
|
4162
|
-
n.value = !0, await
|
|
4167
|
+
n.value = !0, await e.delete(`/one/bins/${v}`), o.value = o.value.filter((k) => k.id !== v);
|
|
4163
4168
|
} catch {
|
|
4164
4169
|
} finally {
|
|
4165
4170
|
n.value = !1;
|
|
4166
4171
|
}
|
|
4167
4172
|
return !0;
|
|
4168
4173
|
}
|
|
4169
|
-
async function
|
|
4174
|
+
async function b(v) {
|
|
4170
4175
|
try {
|
|
4171
4176
|
n.value = !0;
|
|
4172
|
-
const
|
|
4173
|
-
return o.value.push(
|
|
4177
|
+
const k = await e.post("/one/bins", { bin: v });
|
|
4178
|
+
return o.value.push(k.bin), a.value = k.bin, k;
|
|
4174
4179
|
} catch {
|
|
4175
4180
|
} finally {
|
|
4176
4181
|
n.value = !1;
|
|
4177
4182
|
}
|
|
4178
4183
|
return { bin: v };
|
|
4179
4184
|
}
|
|
4180
|
-
async function
|
|
4185
|
+
async function g(v, k) {
|
|
4181
4186
|
try {
|
|
4182
4187
|
n.value = !0;
|
|
4183
|
-
const N = await
|
|
4188
|
+
const N = await e.post(`/one/bins/${k}`, { bin: v }), j = o.value.findIndex((ie) => ie.id === k);
|
|
4184
4189
|
o.value.splice(j, 1, N.bin);
|
|
4185
4190
|
} catch {
|
|
4186
4191
|
} finally {
|
|
@@ -4188,10 +4193,10 @@ const Ke = W("settings", () => {
|
|
|
4188
4193
|
}
|
|
4189
4194
|
return { bin: v };
|
|
4190
4195
|
}
|
|
4191
|
-
async function V(v,
|
|
4196
|
+
async function V(v, k) {
|
|
4192
4197
|
try {
|
|
4193
4198
|
n.value = !0;
|
|
4194
|
-
const N =
|
|
4199
|
+
const N = k ? await g(v, k) : await b(v);
|
|
4195
4200
|
a.value = N.bin;
|
|
4196
4201
|
} catch {
|
|
4197
4202
|
} finally {
|
|
@@ -4202,8 +4207,8 @@ const Ke = W("settings", () => {
|
|
|
4202
4207
|
async function m(v) {
|
|
4203
4208
|
try {
|
|
4204
4209
|
n.value = !0;
|
|
4205
|
-
const
|
|
4206
|
-
a.value =
|
|
4210
|
+
const k = await e.get(`/one/bins/${v}`);
|
|
4211
|
+
a.value = k.bin;
|
|
4207
4212
|
} catch {
|
|
4208
4213
|
} finally {
|
|
4209
4214
|
n.value = !1;
|
|
@@ -4214,27 +4219,27 @@ const Ke = W("settings", () => {
|
|
|
4214
4219
|
isLoading: n,
|
|
4215
4220
|
isOwner: l,
|
|
4216
4221
|
pinned: f,
|
|
4217
|
-
favorites:
|
|
4222
|
+
favorites: p,
|
|
4218
4223
|
all: o,
|
|
4219
|
-
create:
|
|
4224
|
+
create: b,
|
|
4220
4225
|
delete: h,
|
|
4221
4226
|
current: a,
|
|
4222
4227
|
find: m,
|
|
4223
4228
|
get: u,
|
|
4224
|
-
update:
|
|
4229
|
+
update: g,
|
|
4225
4230
|
updateOrCreate: V
|
|
4226
4231
|
};
|
|
4227
4232
|
});
|
|
4228
4233
|
function Na() {
|
|
4229
|
-
function c(
|
|
4230
|
-
|
|
4234
|
+
function c(e) {
|
|
4235
|
+
e.component("VoAuthBtn", Vs), e.component("VoAuthCard", ht), e.component("VoAuthDialog", _t), e.component("VoAuthListItem", gt), e.component("VoSocialFooter", Is), e.component("VoNotificationsBanner", Ds), e.component("VoPromotionsCardHighlight", Os), e.component("VoPromotionsCardVuetify", zs), e.component("VoPromotionsFooter", js), e.component("VoScript", Ps), e.component("VoSpot", Es);
|
|
4231
4236
|
}
|
|
4232
4237
|
return { install: c };
|
|
4233
4238
|
}
|
|
4234
|
-
function Ba(c,
|
|
4239
|
+
function Ba(c, e) {
|
|
4235
4240
|
return function(o) {
|
|
4236
4241
|
const a = o.store;
|
|
4237
|
-
a.url =
|
|
4242
|
+
a.url = e, a.$id === "site" && (a.id = c);
|
|
4238
4243
|
};
|
|
4239
4244
|
}
|
|
4240
4245
|
export {
|