@vuetify/one 1.5.4 → 1.5.5
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 +495 -475
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import { reactive as
|
|
2
|
-
import { mdiDiscord as Je, mdiGithub as Xe, mdiSync as
|
|
3
|
-
import { useRouter as
|
|
1
|
+
import { reactive as It, watch as N, toRefs as At, ref as B, shallowRef as O, computed as w, defineComponent as $, openBlock as d, createBlock as _, unref as t, createSlots as H, withCtx as r, createElementVNode as b, toDisplayString as C, createVNode as a, createTextVNode as F, renderSlot as D, normalizeStyle as ot, createCommentVNode as S, withModifiers as Ze, mergeModels as nt, useModel as le, createElementBlock as L, Fragment as z, onMounted as Qe, nextTick as pe, renderList as ne, mergeProps as R, withDirectives as Ve, vShow as De, isRef as se, resolveComponent as Be, normalizeClass as Dt, onBeforeMount as Ye, onBeforeUnmount as Bt, pushScopeId as Ot, popScopeId as Ut } from "vue";
|
|
2
|
+
import { mdiDiscord as Je, mdiGithub as Xe, mdiSync as Nt, mdiSyncOff as zt, mdiLogoutVariant as Tt, mdiFullscreenExit as Ft, mdiFullscreen as jt, mdiCheck as Oe, mdiHome as Mt, mdiTextBox as Pt, mdiSelect as Ht, mdiSpaceInvaders as st, mdiImageFilterHdr as at, mdiRocketLaunchOutline as it, mdiWhiteBalanceSunny as Rt, mdiWeatherNight as Et, mdiDesktopTowerMonitor as qt, mdiContrastCircle as Wt, mdiCog as Gt, mdiCogOutline as Zt, mdiFileDocument as Qt, mdiCreditCardSettingsOutline as Yt, mdiRocketOutline as Jt, mdiCheckCircleOutline as Ae, mdiCreditCard as Xt, mdiReload as Kt, mdiPlaylistCheck as eo, mdiCreditCardOutline as to, mdiMedal as oo, mdiOpenInNew as Ue, mdiHandHeart as no, mdiHandHeartOutline as so, mdiEmailOpenOutline as rt, mdiEmailVariant as lt, mdiBell as ao, mdiInboxOutline as io, mdiInboxFullOutline as ro, mdiBillboard as lo, mdiBellOutline as co, mdiViewDashboardOutline as uo, mdiCrown as po, mdiArrowULeftBottom as mo, mdiLogin as fo, mdiShieldStarOutline as vo, mdiReddit as ho } from "@mdi/js";
|
|
3
|
+
import { useRouter as Ne, useRoute as _o } from "vue-router";
|
|
4
4
|
import { defineStore as W } from "pinia";
|
|
5
5
|
import { merge as Ee } from "lodash-es";
|
|
6
|
-
import { VListItem as ke, VList as ae, VListItemTitle as ct, VListItemSubtitle as
|
|
6
|
+
import { VListItem as ke, VList as ae, VListItemTitle as ct, VListItemSubtitle as go } from "vuetify/lib/components/VList/index.mjs";
|
|
7
7
|
import { VAvatar as Y } from "vuetify/lib/components/VAvatar/index.mjs";
|
|
8
|
-
import { VCard as E, VCardTitle as
|
|
8
|
+
import { VCard as E, VCardTitle as yo, VCardSubtitle as bo, VCardText as _e } from "vuetify/lib/components/VCard/index.mjs";
|
|
9
9
|
import { VDialog as ut } from "vuetify/lib/components/VDialog/index.mjs";
|
|
10
10
|
import { VBadge as Ke } from "vuetify/lib/components/VBadge/index.mjs";
|
|
11
11
|
import { VBtn as q } from "vuetify/lib/components/VBtn/index.mjs";
|
|
12
|
-
import { VProgressCircular as
|
|
12
|
+
import { VProgressCircular as Vo } from "vuetify/lib/components/VProgressCircular/index.mjs";
|
|
13
13
|
import { VSheet as ye } from "vuetify/lib/components/VSheet/index.mjs";
|
|
14
14
|
import { VSwitch as dt } from "vuetify/lib/components/VSwitch/index.mjs";
|
|
15
|
-
import { VFadeTransition as ze, VExpandTransition as me, VExpandXTransition as
|
|
15
|
+
import { VFadeTransition as ze, VExpandTransition as me, VExpandXTransition as ko } from "vuetify/lib/components/transitions/index.mjs";
|
|
16
16
|
import { useDisplay as ce, useTheme as Te, useDate as Fe } from "vuetify";
|
|
17
17
|
import { VDivider as G } from "vuetify/lib/components/VDivider/index.mjs";
|
|
18
18
|
import { VIcon as A } from "vuetify/lib/components/VIcon/index.mjs";
|
|
19
19
|
import { VLabel as We } from "vuetify/lib/components/VLabel/index.mjs";
|
|
20
20
|
import { VChip as te } from "vuetify/lib/components/VChip/index.mjs";
|
|
21
|
-
import { VChipGroup as
|
|
22
|
-
import { VSelect as
|
|
21
|
+
import { VChipGroup as $o } from "vuetify/lib/components/VChipGroup/index.mjs";
|
|
22
|
+
import { VSelect as xo } from "vuetify/lib/components/VSelect/index.mjs";
|
|
23
23
|
import { VRow as de, VCol as K, VContainer as tt } from "vuetify/lib/components/VGrid/index.mjs";
|
|
24
24
|
import { VHover as je } from "vuetify/lib/components/VHover/index.mjs";
|
|
25
25
|
import { VImg as Z } from "vuetify/lib/components/VImg/index.mjs";
|
|
26
26
|
import { VItemGroup as pt, VItem as Ge } from "vuetify/lib/components/VItemGroup/index.mjs";
|
|
27
27
|
import { VLayout as $e } from "vuetify/lib/components/VLayout/index.mjs";
|
|
28
28
|
import { VMain as xe } from "vuetify/lib/components/VMain/index.mjs";
|
|
29
|
-
import { VDataTableVirtual as
|
|
29
|
+
import { VDataTableVirtual as wo } from "vuetify/lib/components/VDataTable/index.mjs";
|
|
30
30
|
import { VSkeletonLoader as be } from "vuetify/lib/components/VSkeletonLoader/index.mjs";
|
|
31
31
|
import { VWindow as mt, VWindowItem as ge } from "vuetify/lib/components/VWindow/index.mjs";
|
|
32
|
-
import { VTimelineItem as
|
|
32
|
+
import { VTimelineItem as So, VTimeline as Co } from "vuetify/lib/components/VTimeline/index.mjs";
|
|
33
33
|
import { VTooltip as ee } from "vuetify/lib/components/VTooltip/index.mjs";
|
|
34
|
-
import { VResponsive as
|
|
35
|
-
import { VNavigationDrawer as
|
|
36
|
-
import { Ripple as
|
|
37
|
-
import { VColorPicker as
|
|
38
|
-
import { VMenu as
|
|
34
|
+
import { VResponsive as Lo } from "vuetify/lib/components/VResponsive/index.mjs";
|
|
35
|
+
import { VNavigationDrawer as Io } from "vuetify/lib/components/VNavigationDrawer/index.mjs";
|
|
36
|
+
import { Ripple as Ao } from "vuetify/lib/directives/index.mjs";
|
|
37
|
+
import { VColorPicker as Do } from "vuetify/lib/components/VColorPicker/index.mjs";
|
|
38
|
+
import { VMenu as Bo } from "vuetify/components";
|
|
39
39
|
import { VAppBar as ft } from "vuetify/lib/components/VAppBar/index.mjs";
|
|
40
|
-
import { VFooter as Do } from "vuetify/lib/components/VFooter/index.mjs";
|
|
41
40
|
import { VLazy as Oo } from "vuetify/lib/components/VLazy/index.mjs";
|
|
41
|
+
import { VFooter as Uo } from "vuetify/lib/components/VFooter/index.mjs";
|
|
42
42
|
const ie = W("http", {
|
|
43
43
|
state: () => ({
|
|
44
44
|
url: ""
|
|
@@ -118,8 +118,8 @@ const ie = W("http", {
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
}, T = W("user", () => {
|
|
121
|
-
const c =
|
|
122
|
-
|
|
121
|
+
const c = It(Ee({}, Ie));
|
|
122
|
+
N(c, n);
|
|
123
123
|
function e() {
|
|
124
124
|
if (!qe)
|
|
125
125
|
return;
|
|
@@ -134,18 +134,18 @@ const ie = W("http", {
|
|
|
134
134
|
qe && (Object.assign(c, Ee({}, Ie)), n());
|
|
135
135
|
}
|
|
136
136
|
return e(), {
|
|
137
|
-
...
|
|
137
|
+
...At(c),
|
|
138
138
|
load: e,
|
|
139
139
|
save: n,
|
|
140
140
|
reset: i
|
|
141
141
|
};
|
|
142
142
|
}), M = W("auth", () => {
|
|
143
|
-
const c =
|
|
143
|
+
const c = B(!1), e = B(null), n = ie(), i = T(), s = Ne(), o = O(!1), l = w(() => {
|
|
144
144
|
var p, v;
|
|
145
145
|
return !n.url || ((p = e.value) == null ? void 0 : p.isAdmin) || !!((v = e.value) != null && v.sponsorships.some((V) => V.isActive));
|
|
146
146
|
});
|
|
147
147
|
let m = !!y();
|
|
148
|
-
|
|
148
|
+
N(e, (p) => {
|
|
149
149
|
if (!(p != null && p.settings))
|
|
150
150
|
return;
|
|
151
151
|
const v = localStorage.getItem("vuetify@user") || "{}";
|
|
@@ -182,10 +182,10 @@ const ie = W("http", {
|
|
|
182
182
|
u.promise = null;
|
|
183
183
|
async function h(p = "github") {
|
|
184
184
|
o.value = !0;
|
|
185
|
-
const v = `${n.url}/auth/${p}/redirect`, V = 400,
|
|
185
|
+
const v = `${n.url}/auth/${p}/redirect`, V = 400, U = 600, j = window.screenX + (window.innerWidth - V) / 2, re = window.screenY + (window.innerHeight - U) / 2, Q = window.open(
|
|
186
186
|
"",
|
|
187
187
|
"vuetify:authorize:popup",
|
|
188
|
-
`popup,left=${j},top=${re},width=${V},height=${
|
|
188
|
+
`popup,left=${j},top=${re},width=${V},height=${U},resizable`
|
|
189
189
|
);
|
|
190
190
|
if (!Q) {
|
|
191
191
|
console.error("Failed to open popup");
|
|
@@ -243,7 +243,7 @@ const ie = W("http", {
|
|
|
243
243
|
lastLoginProvider: y,
|
|
244
244
|
sync: f
|
|
245
245
|
};
|
|
246
|
-
}),
|
|
246
|
+
}), No = { class: "text-body-2" }, zo = /* @__PURE__ */ b("div", { class: "text-caption mt-n1" }, "Last Used", -1), vt = /* @__PURE__ */ $({
|
|
247
247
|
__name: "VoAuthDiscord",
|
|
248
248
|
setup(c) {
|
|
249
249
|
const e = M(), n = w(() => e.user && e.findIdentity("discord")), i = w(() => e.user ? n.value ? "Connected to Discord" : "Connect Discord" : "Login with Discord");
|
|
@@ -256,20 +256,20 @@ const ie = W("http", {
|
|
|
256
256
|
onClick: o[0] || (o[0] = (l) => t(e).login("discord"))
|
|
257
257
|
}, H({
|
|
258
258
|
title: r(() => [
|
|
259
|
-
b("span",
|
|
259
|
+
b("span", No, C(t(i)), 1)
|
|
260
260
|
]),
|
|
261
261
|
_: 2
|
|
262
262
|
}, [
|
|
263
263
|
!t(e).user && t(e).lastLoginProvider() === "discord" ? {
|
|
264
264
|
name: "subtitle",
|
|
265
265
|
fn: r(() => [
|
|
266
|
-
|
|
266
|
+
zo
|
|
267
267
|
]),
|
|
268
268
|
key: "0"
|
|
269
269
|
} : void 0
|
|
270
270
|
]), 1032, ["prepend-icon"]));
|
|
271
271
|
}
|
|
272
|
-
}),
|
|
272
|
+
}), To = { class: "text-body-2" }, Fo = /* @__PURE__ */ b("div", { class: "text-caption mt-n1" }, "Last Used", -1), ht = /* @__PURE__ */ $({
|
|
273
273
|
__name: "VoAuthGithub",
|
|
274
274
|
setup(c) {
|
|
275
275
|
const e = M(), n = w(() => e.user && e.findIdentity("github")), i = w(() => e.user ? n.value ? "Connected to GitHub" : "Connect GitHub" : "Login with GitHub");
|
|
@@ -282,20 +282,20 @@ const ie = W("http", {
|
|
|
282
282
|
onClick: o[0] || (o[0] = (l) => t(e).login("github"))
|
|
283
283
|
}, H({
|
|
284
284
|
title: r(() => [
|
|
285
|
-
b("span",
|
|
285
|
+
b("span", To, C(t(i)), 1)
|
|
286
286
|
]),
|
|
287
287
|
_: 2
|
|
288
288
|
}, [
|
|
289
289
|
!t(e).user && t(e).lastLoginProvider() === "github" ? {
|
|
290
290
|
name: "subtitle",
|
|
291
291
|
fn: r(() => [
|
|
292
|
-
|
|
292
|
+
Fo
|
|
293
293
|
]),
|
|
294
294
|
key: "0"
|
|
295
295
|
} : void 0
|
|
296
296
|
]), 1032, ["prepend-icon"]));
|
|
297
297
|
}
|
|
298
|
-
}),
|
|
298
|
+
}), jo = { class: "text-center" }, Mo = { class: "text-center mb-6" }, Po = { class: "font-weight-light mb-2" }, Ho = /* @__PURE__ */ b("span", { class: "font-weight-bold" }, "Vuetify One", -1), _t = /* @__PURE__ */ $({
|
|
299
299
|
__name: "VoAuthCard",
|
|
300
300
|
setup(c) {
|
|
301
301
|
const e = M();
|
|
@@ -306,22 +306,22 @@ const ie = W("http", {
|
|
|
306
306
|
"max-width": "480"
|
|
307
307
|
}, {
|
|
308
308
|
default: r(() => [
|
|
309
|
-
b("div",
|
|
309
|
+
b("div", jo, [
|
|
310
310
|
a(Y, {
|
|
311
311
|
class: "mx-auto",
|
|
312
312
|
image: "https://vuetifyjs.b-cdn.net/docs/images/avatars/one.png",
|
|
313
313
|
size: "64"
|
|
314
314
|
}, null, 8, ["image"])
|
|
315
315
|
]),
|
|
316
|
-
b("div",
|
|
317
|
-
a(
|
|
316
|
+
b("div", Mo, [
|
|
317
|
+
a(yo, { class: "text-h5 mb-1 text-md-h4" }, {
|
|
318
318
|
default: r(() => [
|
|
319
|
-
b("div",
|
|
320
|
-
|
|
319
|
+
b("div", Po, C(t(e).lastLoginProvider() ? "Welcome back to" : "Login to"), 1),
|
|
320
|
+
Ho
|
|
321
321
|
]),
|
|
322
322
|
_: 1
|
|
323
323
|
}),
|
|
324
|
-
a(
|
|
324
|
+
a(bo, { class: "text-wrap" }, {
|
|
325
325
|
default: r(() => [
|
|
326
326
|
F(" Login with GitHub or Discord to save your settings and unlock exclusive subscriber perks. ")
|
|
327
327
|
]),
|
|
@@ -363,7 +363,7 @@ const ie = W("http", {
|
|
|
363
363
|
};
|
|
364
364
|
}
|
|
365
365
|
}), Me = W("notifications", () => {
|
|
366
|
-
const c = ie(), e = T(), n =
|
|
366
|
+
const c = ie(), e = T(), n = B([]), i = B([]), s = B(), o = O(!1), l = w(() => n.value.filter((p) => !e.notifications.read.includes(p.slug))), m = w(() => n.value.filter((p) => e.notifications.read.includes(p.slug)));
|
|
367
367
|
async function f() {
|
|
368
368
|
try {
|
|
369
369
|
o.value = !0;
|
|
@@ -438,7 +438,7 @@ const ie = W("http", {
|
|
|
438
438
|
read: m,
|
|
439
439
|
unread: l
|
|
440
440
|
};
|
|
441
|
-
}),
|
|
441
|
+
}), Ro = /* @__PURE__ */ $({
|
|
442
442
|
__name: "VoNotificationsTotalBadge",
|
|
443
443
|
setup(c) {
|
|
444
444
|
const e = M(), n = Me(), i = T(), s = w(() => i.notifications.show ? n.unread.length : 0);
|
|
@@ -473,7 +473,7 @@ const ie = W("http", {
|
|
|
473
473
|
variant: "flat"
|
|
474
474
|
}, H({
|
|
475
475
|
loader: r(() => [
|
|
476
|
-
n.$slots.loader ? S("", !0) : (d(), _(
|
|
476
|
+
n.$slots.loader ? S("", !0) : (d(), _(Vo, {
|
|
477
477
|
key: 0,
|
|
478
478
|
indeterminate: "disable-shrink",
|
|
479
479
|
size: "16",
|
|
@@ -499,11 +499,11 @@ const ie = W("http", {
|
|
|
499
499
|
} : void 0
|
|
500
500
|
]), 1032, ["style", "tabindex"]));
|
|
501
501
|
}
|
|
502
|
-
}),
|
|
502
|
+
}), Eo = { class: "pa-4 d-flex flex-column ga-4" }, yt = /* @__PURE__ */ $({
|
|
503
503
|
__name: "VoAuthListItem",
|
|
504
504
|
setup(c) {
|
|
505
|
-
const e = M(), n = T(), i =
|
|
506
|
-
|
|
505
|
+
const e = M(), n = T(), i = O(!e.user && !e.isLoading);
|
|
506
|
+
N(() => e.user, (o) => {
|
|
507
507
|
i.value = !o;
|
|
508
508
|
});
|
|
509
509
|
function s() {
|
|
@@ -523,7 +523,7 @@ const ie = W("http", {
|
|
|
523
523
|
class: "mb-0",
|
|
524
524
|
link: !!t(e).user,
|
|
525
525
|
nav: "",
|
|
526
|
-
"prepend-icon": `svg:${t(e).user && t(n).syncSettings ? t(
|
|
526
|
+
"prepend-icon": `svg:${t(e).user && t(n).syncSettings ? t(Nt) : t(zt)}`,
|
|
527
527
|
rounded: "b-0",
|
|
528
528
|
slim: "",
|
|
529
529
|
title: t(e).user && t(n).syncSettings ? "Sync is on" : "Sync is paused",
|
|
@@ -564,7 +564,7 @@ const ie = W("http", {
|
|
|
564
564
|
color: "transparent"
|
|
565
565
|
}, {
|
|
566
566
|
default: r(() => [
|
|
567
|
-
b("div",
|
|
567
|
+
b("div", Eo, [
|
|
568
568
|
a(m, {
|
|
569
569
|
onClick: l[2] || (l[2] = (u) => i.value = !1)
|
|
570
570
|
}),
|
|
@@ -618,10 +618,10 @@ const ie = W("http", {
|
|
|
618
618
|
} : void 0
|
|
619
619
|
]), 1024));
|
|
620
620
|
}
|
|
621
|
-
}),
|
|
621
|
+
}), qo = /* @__PURE__ */ $({
|
|
622
622
|
__name: "VoAuthLogoutNavItem",
|
|
623
623
|
setup(c) {
|
|
624
|
-
const e = M(), n =
|
|
624
|
+
const e = M(), n = O(!1);
|
|
625
625
|
async function i() {
|
|
626
626
|
n.value = !0, await e.logout(), n.value = !1;
|
|
627
627
|
}
|
|
@@ -632,7 +632,7 @@ const ie = W("http", {
|
|
|
632
632
|
disabled: t(n),
|
|
633
633
|
link: "",
|
|
634
634
|
loading: t(n),
|
|
635
|
-
"prepend-icon": `svg:${t(
|
|
635
|
+
"prepend-icon": `svg:${t(Tt)}`,
|
|
636
636
|
title: "Logout",
|
|
637
637
|
onClick: i
|
|
638
638
|
}, null, 8, ["disabled", "loading", "prepend-icon"]);
|
|
@@ -649,7 +649,7 @@ const ie = W("http", {
|
|
|
649
649
|
}),
|
|
650
650
|
emits: ["update:modelValue"],
|
|
651
651
|
setup(c) {
|
|
652
|
-
const e = le(c, "modelValue"), n = ce(), i =
|
|
652
|
+
const e = le(c, "modelValue"), n = ce(), i = O(!1);
|
|
653
653
|
return (s, o) => (d(), _(ut, {
|
|
654
654
|
modelValue: e.value,
|
|
655
655
|
"onUpdate:modelValue": o[2] || (o[2] = (l) => e.value = l),
|
|
@@ -672,7 +672,7 @@ const ie = W("http", {
|
|
|
672
672
|
key: 0,
|
|
673
673
|
class: "me-2",
|
|
674
674
|
density: "comfortable",
|
|
675
|
-
icon: `svg:${t(i) ? t(
|
|
675
|
+
icon: `svg:${t(i) ? t(Ft) : t(jt)}`,
|
|
676
676
|
size: "small",
|
|
677
677
|
variant: "text",
|
|
678
678
|
onClick: o[0] || (o[0] = (m) => i.value = !t(i))
|
|
@@ -721,7 +721,7 @@ const ie = W("http", {
|
|
|
721
721
|
density: "compact",
|
|
722
722
|
disabled: e.disabled,
|
|
723
723
|
inset: "",
|
|
724
|
-
"true-icon": `svg:${t(
|
|
724
|
+
"true-icon": `svg:${t(Oe)}`
|
|
725
725
|
}, H({
|
|
726
726
|
thumb: r(() => [
|
|
727
727
|
a(A, {
|
|
@@ -739,7 +739,7 @@ const ie = W("http", {
|
|
|
739
739
|
} : void 0
|
|
740
740
|
]), 1032, ["disabled", "true-icon"]));
|
|
741
741
|
}
|
|
742
|
-
}),
|
|
742
|
+
}), Wo = {
|
|
743
743
|
key: 1,
|
|
744
744
|
class: "mb-3 text-caption text-medium-emphasis"
|
|
745
745
|
}, Se = /* @__PURE__ */ $({
|
|
@@ -759,17 +759,17 @@ const ie = W("http", {
|
|
|
759
759
|
]),
|
|
760
760
|
_: 1
|
|
761
761
|
})) : S("", !0),
|
|
762
|
-
e.text ? (d(), L("div",
|
|
762
|
+
e.text ? (d(), L("div", Wo, C(e.text), 1)) : S("", !0)
|
|
763
763
|
], 64));
|
|
764
764
|
}
|
|
765
|
-
}),
|
|
765
|
+
}), Go = { key: 0 }, Zo = /* @__PURE__ */ $({
|
|
766
766
|
__name: "VoSettingsPageSuitOption",
|
|
767
767
|
setup(c) {
|
|
768
768
|
const e = T(), n = [
|
|
769
769
|
{
|
|
770
770
|
title: "Choose a page suit",
|
|
771
771
|
value: "",
|
|
772
|
-
prependIcon: `svg:${
|
|
772
|
+
prependIcon: `svg:${Ht}`,
|
|
773
773
|
disabled: !0
|
|
774
774
|
},
|
|
775
775
|
{
|
|
@@ -800,8 +800,8 @@ const ie = W("http", {
|
|
|
800
800
|
}, null, 8, ["modelValue"]),
|
|
801
801
|
a(me, null, {
|
|
802
802
|
default: r(() => [
|
|
803
|
-
t(e).suits.show ? (d(), L("div",
|
|
804
|
-
a(
|
|
803
|
+
t(e).suits.show ? (d(), L("div", Go, [
|
|
804
|
+
a(xo, {
|
|
805
805
|
modelValue: t(e).suits.suit,
|
|
806
806
|
"onUpdate:modelValue": s[1] || (s[1] = (m) => t(e).suits.suit = m),
|
|
807
807
|
clearable: "",
|
|
@@ -824,7 +824,7 @@ const ie = W("http", {
|
|
|
824
824
|
_: 1
|
|
825
825
|
}, 8, ["modelValue"]),
|
|
826
826
|
a(l, { text: "Select your suit elements to display the background image:" }),
|
|
827
|
-
a(
|
|
827
|
+
a($o, {
|
|
828
828
|
modelValue: t(e).suits.elements,
|
|
829
829
|
"onUpdate:modelValue": s[2] || (s[2] = (m) => t(e).suits.elements = m),
|
|
830
830
|
color: "primary",
|
|
@@ -833,7 +833,7 @@ const ie = W("http", {
|
|
|
833
833
|
}, {
|
|
834
834
|
default: r(() => [
|
|
835
835
|
a(te, {
|
|
836
|
-
"append-icon": `svg:${t(
|
|
836
|
+
"append-icon": `svg:${t(Mt)}`,
|
|
837
837
|
"filter-icon": "$success",
|
|
838
838
|
text: "App Bar",
|
|
839
839
|
value: "app-bar",
|
|
@@ -849,7 +849,7 @@ const ie = W("http", {
|
|
|
849
849
|
_: 1
|
|
850
850
|
}, 8, ["append-icon"]),
|
|
851
851
|
a(te, {
|
|
852
|
-
"append-icon": `svg:${t(
|
|
852
|
+
"append-icon": `svg:${t(Pt)}`,
|
|
853
853
|
"filter-icon": "$success",
|
|
854
854
|
text: "Navigation Drawer",
|
|
855
855
|
value: "drawer",
|
|
@@ -892,13 +892,13 @@ const ie = W("http", {
|
|
|
892
892
|
}
|
|
893
893
|
});
|
|
894
894
|
function ve() {
|
|
895
|
-
const c =
|
|
895
|
+
const c = _o();
|
|
896
896
|
return w(
|
|
897
897
|
() => c.query
|
|
898
898
|
);
|
|
899
899
|
}
|
|
900
900
|
const P = W("one", () => {
|
|
901
|
-
const c = ve(), e =
|
|
901
|
+
const c = ve(), e = Ne(), n = M(), i = ie(), s = O(!1), o = B(!1), l = B(), m = B([]), f = w(() => c.value.session_id), u = w(() => {
|
|
902
902
|
var x;
|
|
903
903
|
return (x = l.value) == null ? void 0 : x.items[0].plan.interval;
|
|
904
904
|
}), h = w(() => {
|
|
@@ -922,27 +922,27 @@ const P = W("one", () => {
|
|
|
922
922
|
}), V = w(() => {
|
|
923
923
|
var x;
|
|
924
924
|
return (x = n.user) == null ? void 0 : x.sponsorships.find((I) => I.platform === "patreon");
|
|
925
|
-
}),
|
|
925
|
+
}), U = w(() => {
|
|
926
926
|
var x;
|
|
927
927
|
return (x = n.user) == null ? void 0 : x.sponsorships.reduce((I, X) => {
|
|
928
928
|
if (!X.isActive || X.interval === "once" || X.platform === "stripe")
|
|
929
929
|
return I;
|
|
930
|
-
const
|
|
931
|
-
return I +
|
|
930
|
+
const Lt = X.interval === "month" ? X.amount : X.amount / 12;
|
|
931
|
+
return I + Lt / 100;
|
|
932
932
|
}, 0);
|
|
933
933
|
});
|
|
934
934
|
Qe(async () => {
|
|
935
935
|
f.value && await j();
|
|
936
|
-
}),
|
|
936
|
+
}), N(o, oe), N(f, (x) => {
|
|
937
937
|
x && j();
|
|
938
|
-
}, { immediate: !0 }),
|
|
938
|
+
}, { immediate: !0 }), N(c, (x) => {
|
|
939
939
|
if (x.one !== "subscribe" || n.user)
|
|
940
940
|
return;
|
|
941
941
|
n.dialog = !0;
|
|
942
|
-
const I =
|
|
942
|
+
const I = N(() => n.user, (X) => {
|
|
943
943
|
X && (n.dialog = !1, I());
|
|
944
944
|
});
|
|
945
|
-
}, { immediate: !0 }),
|
|
945
|
+
}, { immediate: !0 }), N(g, (x, I) => {
|
|
946
946
|
x === !1 && I !== !0 || he();
|
|
947
947
|
});
|
|
948
948
|
async function j() {
|
|
@@ -1029,7 +1029,7 @@ const P = W("one", () => {
|
|
|
1029
1029
|
invoices: m,
|
|
1030
1030
|
sessionId: f,
|
|
1031
1031
|
subscription: h,
|
|
1032
|
-
monthlyTotal:
|
|
1032
|
+
monthlyTotal: U,
|
|
1033
1033
|
hasBilling: k,
|
|
1034
1034
|
isLoading: s,
|
|
1035
1035
|
isOpen: o,
|
|
@@ -1048,7 +1048,7 @@ const P = W("one", () => {
|
|
|
1048
1048
|
verify: he
|
|
1049
1049
|
};
|
|
1050
1050
|
});
|
|
1051
|
-
function
|
|
1051
|
+
function Qo() {
|
|
1052
1052
|
return {
|
|
1053
1053
|
blackguard: {
|
|
1054
1054
|
dark: !0,
|
|
@@ -1205,7 +1205,7 @@ function Go() {
|
|
|
1205
1205
|
};
|
|
1206
1206
|
}
|
|
1207
1207
|
const Pe = W("settings", () => {
|
|
1208
|
-
const c = "https://cdn.vuetifyjs.com/docs/images/one/", e = M(), n = T(), i = Te(), s =
|
|
1208
|
+
const c = "https://cdn.vuetifyjs.com/docs/images/one/", e = M(), n = T(), i = Te(), s = Qo(), o = {
|
|
1209
1209
|
blackguard: {
|
|
1210
1210
|
"app-bar": c + "suits/blackguard/blackguard-app-bar.png",
|
|
1211
1211
|
drawer: c + "suits/blackguard/blackguard-app-drawer.png",
|
|
@@ -1232,13 +1232,13 @@ const Pe = W("settings", () => {
|
|
|
1232
1232
|
return i.themes.value = {
|
|
1233
1233
|
...i.themes.value,
|
|
1234
1234
|
...s
|
|
1235
|
-
},
|
|
1235
|
+
}, N(() => n.theme, (m) => {
|
|
1236
1236
|
m === "system" ? i.global.name.value = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : (i.global.name.value = m, n.suits.suit = o[m] ? m : ""), n.theme = m;
|
|
1237
1237
|
}, { immediate: !0 }), {
|
|
1238
1238
|
suit: l,
|
|
1239
1239
|
CDN_URL: c
|
|
1240
1240
|
};
|
|
1241
|
-
}),
|
|
1241
|
+
}), Yo = { class: "ms-5 mb-2" }, Jo = /* @__PURE__ */ $({
|
|
1242
1242
|
__name: "VoSettingsDialog",
|
|
1243
1243
|
props: {
|
|
1244
1244
|
modelValue: { type: Boolean },
|
|
@@ -1251,21 +1251,21 @@ const Pe = W("settings", () => {
|
|
|
1251
1251
|
title: "Light",
|
|
1252
1252
|
subtitle: "A standard light theme.",
|
|
1253
1253
|
image: s.CDN_URL + "themes/light.png",
|
|
1254
|
-
prependIcon: `svg:${
|
|
1254
|
+
prependIcon: `svg:${Rt}`,
|
|
1255
1255
|
value: "light"
|
|
1256
1256
|
},
|
|
1257
1257
|
{
|
|
1258
1258
|
title: "Dark",
|
|
1259
1259
|
subtitle: "A standard dark theme.",
|
|
1260
1260
|
image: s.CDN_URL + "themes/dark.png",
|
|
1261
|
-
prependIcon: `svg:${
|
|
1261
|
+
prependIcon: `svg:${Et}`,
|
|
1262
1262
|
value: "dark"
|
|
1263
1263
|
},
|
|
1264
1264
|
{
|
|
1265
1265
|
title: "System",
|
|
1266
1266
|
subtitle: "A theme based on the system preference.",
|
|
1267
1267
|
image: s.CDN_URL + "themes/system.png",
|
|
1268
|
-
prependIcon: `svg:${
|
|
1268
|
+
prependIcon: `svg:${qt}`,
|
|
1269
1269
|
value: "system"
|
|
1270
1270
|
},
|
|
1271
1271
|
{
|
|
@@ -1293,19 +1293,19 @@ const Pe = W("settings", () => {
|
|
|
1293
1293
|
title: "High Contrast",
|
|
1294
1294
|
subtitle: "A theme for high contrast.",
|
|
1295
1295
|
image: s.CDN_URL + "themes/high-contrast.png",
|
|
1296
|
-
prependIcon: `svg:${
|
|
1296
|
+
prependIcon: `svg:${Wt}`,
|
|
1297
1297
|
value: "highContrast",
|
|
1298
1298
|
disabled: !0
|
|
1299
1299
|
}
|
|
1300
1300
|
], m = ve();
|
|
1301
|
-
return
|
|
1301
|
+
return N(m, async () => {
|
|
1302
1302
|
m.value.one === "settings" && (i.isOpen = !0, await pe(), e.value = !0);
|
|
1303
1303
|
}, { immediate: !0 }), (f, u) => {
|
|
1304
|
-
const h = Se, k =
|
|
1304
|
+
const h = Se, k = Zo, g = bt, y = we;
|
|
1305
1305
|
return d(), _(y, {
|
|
1306
1306
|
modelValue: e.value,
|
|
1307
1307
|
"onUpdate:modelValue": u[6] || (u[6] = (p) => e.value = p),
|
|
1308
|
-
"prepend-icon": `svg:${t(
|
|
1308
|
+
"prepend-icon": `svg:${t(Gt)}`,
|
|
1309
1309
|
title: "Settings"
|
|
1310
1310
|
}, {
|
|
1311
1311
|
default: r(() => [
|
|
@@ -1336,11 +1336,11 @@ const Pe = W("settings", () => {
|
|
|
1336
1336
|
a(Ge, {
|
|
1337
1337
|
value: p.value
|
|
1338
1338
|
}, {
|
|
1339
|
-
default: r(({ toggle: V, isSelected:
|
|
1339
|
+
default: r(({ toggle: V, isSelected: U }) => [
|
|
1340
1340
|
a(je, null, {
|
|
1341
1341
|
default: r(({ props: j, isHovering: re }) => [
|
|
1342
1342
|
a(E, R({
|
|
1343
|
-
color:
|
|
1343
|
+
color: U ? "primary" : "surface-variant",
|
|
1344
1344
|
disabled: p.disabled,
|
|
1345
1345
|
height: "76",
|
|
1346
1346
|
image: p.image,
|
|
@@ -1353,7 +1353,7 @@ const Pe = W("settings", () => {
|
|
|
1353
1353
|
image: r(() => [
|
|
1354
1354
|
a(Z, {
|
|
1355
1355
|
style: ot({
|
|
1356
|
-
filter:
|
|
1356
|
+
filter: U || re ? "none" : "grayscale(100%)"
|
|
1357
1357
|
})
|
|
1358
1358
|
}, null, 8, ["style"])
|
|
1359
1359
|
]),
|
|
@@ -1398,7 +1398,7 @@ const Pe = W("settings", () => {
|
|
|
1398
1398
|
}, null, 8, ["modelValue"])) : S("", !0),
|
|
1399
1399
|
a(me, null, {
|
|
1400
1400
|
default: r(() => [
|
|
1401
|
-
Ve(b("div",
|
|
1401
|
+
Ve(b("div", Yo, [
|
|
1402
1402
|
a(g, {
|
|
1403
1403
|
modelValue: t(o).showHouseAds,
|
|
1404
1404
|
"onUpdate:modelValue": u[2] || (u[2] = (p) => t(o).showHouseAds = p),
|
|
@@ -1457,16 +1457,16 @@ const Pe = W("settings", () => {
|
|
|
1457
1457
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
1458
1458
|
};
|
|
1459
1459
|
}
|
|
1460
|
-
}),
|
|
1460
|
+
}), Xo = /* @__PURE__ */ $({
|
|
1461
1461
|
__name: "VoSettingsListItem",
|
|
1462
1462
|
setup(c) {
|
|
1463
|
-
const e =
|
|
1463
|
+
const e = O(!1);
|
|
1464
1464
|
return (n, i) => {
|
|
1465
|
-
const s =
|
|
1465
|
+
const s = Jo, o = J;
|
|
1466
1466
|
return d(), _(o, {
|
|
1467
1467
|
active: t(e),
|
|
1468
1468
|
link: "",
|
|
1469
|
-
"prepend-icon": `svg:${t(
|
|
1469
|
+
"prepend-icon": `svg:${t(Zt)}`,
|
|
1470
1470
|
title: "Settings"
|
|
1471
1471
|
}, {
|
|
1472
1472
|
default: r(() => [
|
|
@@ -1479,7 +1479,7 @@ const Pe = W("settings", () => {
|
|
|
1479
1479
|
}, 8, ["active", "prepend-icon"]);
|
|
1480
1480
|
};
|
|
1481
1481
|
}
|
|
1482
|
-
}),
|
|
1482
|
+
}), Ko = { class: "text-caption" }, en = /* @__PURE__ */ $({
|
|
1483
1483
|
__name: "VoSubscriptionInvoices",
|
|
1484
1484
|
setup(c) {
|
|
1485
1485
|
const e = Fe(), n = P();
|
|
@@ -1499,13 +1499,13 @@ const Pe = W("settings", () => {
|
|
|
1499
1499
|
rounded: "lg"
|
|
1500
1500
|
}, {
|
|
1501
1501
|
default: r(() => [
|
|
1502
|
-
a(
|
|
1502
|
+
a(wo, {
|
|
1503
1503
|
items: t(n).invoices,
|
|
1504
1504
|
loading: t(n).isLoading,
|
|
1505
1505
|
sticky: ""
|
|
1506
1506
|
}, {
|
|
1507
1507
|
"item.date": r(({ item: l }) => [
|
|
1508
|
-
b("div",
|
|
1508
|
+
b("div", Ko, C(t(e).format(new Date(l.date * 1e3), "fullDateWithWeekday")), 1)
|
|
1509
1509
|
]),
|
|
1510
1510
|
"item.amount": r(({ item: l }) => [
|
|
1511
1511
|
F(" $" + C(l.amount / 100), 1)
|
|
@@ -1524,7 +1524,7 @@ const Pe = W("settings", () => {
|
|
|
1524
1524
|
"item.pdf": r(({ item: l }) => [
|
|
1525
1525
|
a(q, {
|
|
1526
1526
|
href: l.pdf,
|
|
1527
|
-
icon: `svg:${t(
|
|
1527
|
+
icon: `svg:${t(Qt)}`,
|
|
1528
1528
|
size: "small",
|
|
1529
1529
|
target: "_blank",
|
|
1530
1530
|
variant: "text"
|
|
@@ -1543,10 +1543,10 @@ const Pe = W("settings", () => {
|
|
|
1543
1543
|
});
|
|
1544
1544
|
};
|
|
1545
1545
|
}
|
|
1546
|
-
}),
|
|
1546
|
+
}), tn = { class: "d-flex align-center" }, on = {
|
|
1547
1547
|
key: "status",
|
|
1548
1548
|
class: "text-capitalize hidden-sm-and-down"
|
|
1549
|
-
},
|
|
1549
|
+
}, nn = /* @__PURE__ */ b("span", { class: "mx-1 hidden-sm-and-down" }, "—", -1), sn = { class: "me-1" }, an = { class: "text-medium-emphasis text-caption" }, rn = { class: "d-flex align-start justify-space-between text-caption py-2" }, ln = { class: "font-weight-bold" }, cn = { class: "font-weight-bold" }, un = /* @__PURE__ */ $({
|
|
1550
1550
|
__name: "VoSubscriptionStatus",
|
|
1551
1551
|
emits: ["change:subscription"],
|
|
1552
1552
|
setup(c, { emit: e }) {
|
|
@@ -1590,7 +1590,7 @@ const Pe = W("settings", () => {
|
|
|
1590
1590
|
t(i).hasBilling ? (d(), _(u, {
|
|
1591
1591
|
key: 1,
|
|
1592
1592
|
loading: t(i).isLoading,
|
|
1593
|
-
"prepend-icon": `svg:${t(
|
|
1593
|
+
"prepend-icon": `svg:${t(Yt)}`,
|
|
1594
1594
|
text: "Billing",
|
|
1595
1595
|
onClick: t(i).manage
|
|
1596
1596
|
}, null, 8, ["loading", "prepend-icon", "onClick"])) : S("", !0)
|
|
@@ -1601,13 +1601,13 @@ const Pe = W("settings", () => {
|
|
|
1601
1601
|
t(i).info ? {
|
|
1602
1602
|
name: "subtitle",
|
|
1603
1603
|
fn: r(() => [
|
|
1604
|
-
b("div",
|
|
1605
|
-
b("span",
|
|
1604
|
+
b("div", tn, [
|
|
1605
|
+
b("span", on, C(t(i).info.status), 1),
|
|
1606
1606
|
t(i).info.items.length ? (d(), L(z, { key: 0 }, [
|
|
1607
|
-
|
|
1608
|
-
b("span",
|
|
1607
|
+
nn,
|
|
1608
|
+
b("span", sn, [
|
|
1609
1609
|
F(" $" + C(t(i).info.items[0].plan.amount / 100), 1),
|
|
1610
|
-
b("span",
|
|
1610
|
+
b("span", an, "/" + C(t(i).interval), 1)
|
|
1611
1611
|
]),
|
|
1612
1612
|
a(u, {
|
|
1613
1613
|
size: "x-small",
|
|
@@ -1639,15 +1639,15 @@ const Pe = W("settings", () => {
|
|
|
1639
1639
|
key: "1"
|
|
1640
1640
|
}
|
|
1641
1641
|
]), 1024),
|
|
1642
|
-
b("div",
|
|
1642
|
+
b("div", rn, [
|
|
1643
1643
|
b("div", null, [
|
|
1644
1644
|
((h = t(i).info) == null ? void 0 : h.status) === "active" ? (d(), L(z, { key: 0 }, [
|
|
1645
1645
|
F(" Your plan renews on "),
|
|
1646
|
-
b("span",
|
|
1646
|
+
b("span", ln, C(t(n).format(t(o), "fullDateWithWeekday")), 1),
|
|
1647
1647
|
F(". ")
|
|
1648
1648
|
], 64)) : (d(), L(z, { key: 1 }, [
|
|
1649
1649
|
F(" Your plan ends on "),
|
|
1650
|
-
b("span",
|
|
1650
|
+
b("span", cn, C(t(n).format((k = t(i).info) == null ? void 0 : k.currentPeriodEnd, "fullDateWithWeekday")), 1),
|
|
1651
1651
|
F(". ")
|
|
1652
1652
|
], 64))
|
|
1653
1653
|
])
|
|
@@ -1661,7 +1661,7 @@ const Pe = W("settings", () => {
|
|
|
1661
1661
|
});
|
|
1662
1662
|
};
|
|
1663
1663
|
}
|
|
1664
|
-
}),
|
|
1664
|
+
}), dn = /* @__PURE__ */ b("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The Vuetify One subscription comes with the following perks: ", -1), pn = ["innerHTML"], mn = /* @__PURE__ */ b("br", null, null, -1), fn = /* @__PURE__ */ b("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The following features are in development and coming soon: ", -1), vn = ["innerHTML"], hn = /* @__PURE__ */ $({
|
|
1665
1665
|
__name: "VoSubscriptionPerks",
|
|
1666
1666
|
setup(c) {
|
|
1667
1667
|
const e = [
|
|
@@ -1675,8 +1675,8 @@ const Pe = W("settings", () => {
|
|
|
1675
1675
|
"Early access to Vuetify Studio, a visual editor for Vuetify",
|
|
1676
1676
|
'Special role in the <a href="https://discord.vuetifyjs.com/" target="_blank">Vuetify Discord</a>',
|
|
1677
1677
|
"Receive a special label on GitHub created issues and pull requests"
|
|
1678
|
-
], i =
|
|
1679
|
-
return
|
|
1678
|
+
], i = O(!1), s = P();
|
|
1679
|
+
return N(i, async (o) => {
|
|
1680
1680
|
o && s.subscriptionInfo();
|
|
1681
1681
|
}), (o, l) => {
|
|
1682
1682
|
const m = J;
|
|
@@ -1687,7 +1687,7 @@ const Pe = W("settings", () => {
|
|
|
1687
1687
|
]),
|
|
1688
1688
|
_: 1
|
|
1689
1689
|
}),
|
|
1690
|
-
|
|
1690
|
+
dn,
|
|
1691
1691
|
a(ae, {
|
|
1692
1692
|
class: "py-0",
|
|
1693
1693
|
density: "compact",
|
|
@@ -1698,7 +1698,7 @@ const Pe = W("settings", () => {
|
|
|
1698
1698
|
(d(), L(z, null, ne(e, (f, u) => a(m, {
|
|
1699
1699
|
key: u,
|
|
1700
1700
|
class: "mb-0",
|
|
1701
|
-
"prepend-icon": `svg:${t(
|
|
1701
|
+
"prepend-icon": `svg:${t(Oe)}`
|
|
1702
1702
|
}, {
|
|
1703
1703
|
prepend: r(() => [
|
|
1704
1704
|
a(A, {
|
|
@@ -1708,21 +1708,21 @@ const Pe = W("settings", () => {
|
|
|
1708
1708
|
})
|
|
1709
1709
|
]),
|
|
1710
1710
|
title: r(() => [
|
|
1711
|
-
b("div", { innerHTML: f }, null, 8,
|
|
1711
|
+
b("div", { innerHTML: f }, null, 8, pn)
|
|
1712
1712
|
]),
|
|
1713
1713
|
_: 2
|
|
1714
1714
|
}, 1032, ["prepend-icon"])), 64))
|
|
1715
1715
|
]),
|
|
1716
1716
|
_: 1
|
|
1717
1717
|
}),
|
|
1718
|
-
|
|
1718
|
+
mn,
|
|
1719
1719
|
a(We, { class: "font-weight-black" }, {
|
|
1720
1720
|
default: r(() => [
|
|
1721
1721
|
F("Up Next")
|
|
1722
1722
|
]),
|
|
1723
1723
|
_: 1
|
|
1724
1724
|
}),
|
|
1725
|
-
|
|
1725
|
+
fn,
|
|
1726
1726
|
a(ae, {
|
|
1727
1727
|
class: "py-0",
|
|
1728
1728
|
density: "compact",
|
|
@@ -1733,7 +1733,7 @@ const Pe = W("settings", () => {
|
|
|
1733
1733
|
(d(), L(z, null, ne(n, (f, u) => a(m, {
|
|
1734
1734
|
key: u,
|
|
1735
1735
|
class: "mb-0",
|
|
1736
|
-
"prepend-icon": `svg:${t(
|
|
1736
|
+
"prepend-icon": `svg:${t(Jt)}`
|
|
1737
1737
|
}, {
|
|
1738
1738
|
prepend: r(() => [
|
|
1739
1739
|
a(A, {
|
|
@@ -1742,7 +1742,7 @@ const Pe = W("settings", () => {
|
|
|
1742
1742
|
})
|
|
1743
1743
|
]),
|
|
1744
1744
|
title: r(() => [
|
|
1745
|
-
b("div", { innerHTML: f }, null, 8,
|
|
1745
|
+
b("div", { innerHTML: f }, null, 8, vn)
|
|
1746
1746
|
]),
|
|
1747
1747
|
_: 2
|
|
1748
1748
|
}, 1032, ["prepend-icon"])), 64))
|
|
@@ -1752,7 +1752,7 @@ const Pe = W("settings", () => {
|
|
|
1752
1752
|
], 64);
|
|
1753
1753
|
};
|
|
1754
1754
|
}
|
|
1755
|
-
}),
|
|
1755
|
+
}), _n = /* @__PURE__ */ $({
|
|
1756
1756
|
__name: "VoSubscriptionSubscribe",
|
|
1757
1757
|
props: {
|
|
1758
1758
|
modelValue: {
|
|
@@ -1762,10 +1762,10 @@ const Pe = W("settings", () => {
|
|
|
1762
1762
|
},
|
|
1763
1763
|
emits: ["update:modelValue"],
|
|
1764
1764
|
setup(c) {
|
|
1765
|
-
const e =
|
|
1766
|
-
return
|
|
1765
|
+
const e = O(!1), n = le(c, "modelValue"), i = P();
|
|
1766
|
+
return N(e, async (s) => {
|
|
1767
1767
|
s && i.subscriptionInfo();
|
|
1768
|
-
}),
|
|
1768
|
+
}), N(() => i.interval, (s) => {
|
|
1769
1769
|
n.value = s;
|
|
1770
1770
|
}, { immediate: !0 }), (s, o) => (d(), _(pt, {
|
|
1771
1771
|
modelValue: n.value,
|
|
@@ -1847,7 +1847,7 @@ const Pe = W("settings", () => {
|
|
|
1847
1847
|
_: 1
|
|
1848
1848
|
}, 8, ["modelValue"]));
|
|
1849
1849
|
}
|
|
1850
|
-
}),
|
|
1850
|
+
}), gn = { class: "px-3" }, yn = /* @__PURE__ */ b("br", null, null, -1), bn = { class: "flex-grow-1 px-4 pb-3 overflow-hidden" }, Vn = /* @__PURE__ */ $({
|
|
1851
1851
|
__name: "VoSubscriptionDialog",
|
|
1852
1852
|
props: {
|
|
1853
1853
|
modelValue: { type: Boolean },
|
|
@@ -1858,27 +1858,27 @@ const Pe = W("settings", () => {
|
|
|
1858
1858
|
function e(u) {
|
|
1859
1859
|
return new Promise((h) => setTimeout(h, u));
|
|
1860
1860
|
}
|
|
1861
|
-
const n = le(c, "modelValue"), i = P(), s = ve(), o =
|
|
1862
|
-
|
|
1861
|
+
const n = le(c, "modelValue"), i = P(), s = ve(), o = O(i.interval), l = O(i.hasBilling ? "status" : "subscribe"), m = O(!1);
|
|
1862
|
+
N(o, (u) => {
|
|
1863
1863
|
!i.isSubscriber || !i.interval || (m.value = u !== i.interval);
|
|
1864
|
-
}),
|
|
1864
|
+
}), N(n, async (u) => {
|
|
1865
1865
|
if (!u || !i.isSubscriber) {
|
|
1866
1866
|
u || i.resetQuery();
|
|
1867
1867
|
return;
|
|
1868
1868
|
}
|
|
1869
1869
|
i.subscriptionInfo();
|
|
1870
|
-
}),
|
|
1870
|
+
}), N(s, async () => {
|
|
1871
1871
|
!i.sessionId && !["subscribe", "status"].includes(s.value.one) || (l.value = i.sessionId || s.value.one === "status" ? "status" : "subscribe", i.isOpen = !0, await pe(), n.value = !0);
|
|
1872
1872
|
}, { immediate: !0 });
|
|
1873
1873
|
async function f() {
|
|
1874
1874
|
await i.modify(o.value), await i.subscriptionInfo(), m.value = null, await e(3e3), l.value = "status", await e(300), m.value = !1;
|
|
1875
1875
|
}
|
|
1876
1876
|
return (u, h) => {
|
|
1877
|
-
const k = Se, g =
|
|
1878
|
-
return d(), _(
|
|
1877
|
+
const k = Se, g = _n, y = hn, p = un, v = en, V = fe, U = we;
|
|
1878
|
+
return d(), _(U, {
|
|
1879
1879
|
modelValue: n.value,
|
|
1880
1880
|
"onUpdate:modelValue": h[4] || (h[4] = (j) => n.value = j),
|
|
1881
|
-
"prepend-icon": `svg:${t(
|
|
1881
|
+
"prepend-icon": `svg:${t(Xt)}`,
|
|
1882
1882
|
title: "Subscriptions"
|
|
1883
1883
|
}, H({
|
|
1884
1884
|
default: r(() => [
|
|
@@ -1886,7 +1886,7 @@ const Pe = W("settings", () => {
|
|
|
1886
1886
|
default: r(() => [
|
|
1887
1887
|
a(xe, { scrollable: "" }, {
|
|
1888
1888
|
default: r(() => [
|
|
1889
|
-
b("div",
|
|
1889
|
+
b("div", gn, [
|
|
1890
1890
|
a(_e, null, {
|
|
1891
1891
|
default: r(() => [
|
|
1892
1892
|
a(k, {
|
|
@@ -1901,7 +1901,7 @@ const Pe = W("settings", () => {
|
|
|
1901
1901
|
modelValue: t(o),
|
|
1902
1902
|
"onUpdate:modelValue": h[0] || (h[0] = (j) => se(o) ? o.value = j : null)
|
|
1903
1903
|
}, null, 8, ["modelValue"]),
|
|
1904
|
-
|
|
1904
|
+
yn,
|
|
1905
1905
|
a(y)
|
|
1906
1906
|
]),
|
|
1907
1907
|
_: 1
|
|
@@ -1934,13 +1934,13 @@ const Pe = W("settings", () => {
|
|
|
1934
1934
|
t(l) === "subscribe" ? {
|
|
1935
1935
|
name: "actions",
|
|
1936
1936
|
fn: r(() => [
|
|
1937
|
-
b("div",
|
|
1937
|
+
b("div", bn, [
|
|
1938
1938
|
t(m) !== !1 ? (d(), _(V, {
|
|
1939
1939
|
key: 0,
|
|
1940
1940
|
block: "",
|
|
1941
1941
|
color: "success",
|
|
1942
1942
|
loading: t(i).isLoading,
|
|
1943
|
-
"prepend-icon": `svg:${t(m) !== null ? t(
|
|
1943
|
+
"prepend-icon": `svg:${t(m) !== null ? t(Kt) : t(Ae)}`,
|
|
1944
1944
|
readonly: t(m) === null,
|
|
1945
1945
|
size: "default",
|
|
1946
1946
|
text: t(m) !== null ? "Modify Subscription" : "Success",
|
|
@@ -1948,7 +1948,7 @@ const Pe = W("settings", () => {
|
|
|
1948
1948
|
}, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : t(i).isSubscriber ? (d(), _(V, {
|
|
1949
1949
|
key: 2,
|
|
1950
1950
|
block: "",
|
|
1951
|
-
"prepend-icon": `svg:${t(
|
|
1951
|
+
"prepend-icon": `svg:${t(eo)}`,
|
|
1952
1952
|
size: "default",
|
|
1953
1953
|
text: "Manage Subscription",
|
|
1954
1954
|
onClick: h[3] || (h[3] = (j) => l.value = "status")
|
|
@@ -1970,16 +1970,16 @@ const Pe = W("settings", () => {
|
|
|
1970
1970
|
]), 1032, ["modelValue", "prepend-icon"]);
|
|
1971
1971
|
};
|
|
1972
1972
|
}
|
|
1973
|
-
}),
|
|
1973
|
+
}), kn = /* @__PURE__ */ $({
|
|
1974
1974
|
__name: "VoSubscriptionListItem",
|
|
1975
1975
|
setup(c) {
|
|
1976
|
-
const e =
|
|
1976
|
+
const e = O(!1);
|
|
1977
1977
|
return (n, i) => {
|
|
1978
|
-
const s =
|
|
1978
|
+
const s = Vn, o = J;
|
|
1979
1979
|
return d(), _(o, {
|
|
1980
1980
|
active: t(e),
|
|
1981
1981
|
link: "",
|
|
1982
|
-
"prepend-icon": `svg:${t(
|
|
1982
|
+
"prepend-icon": `svg:${t(to)}`,
|
|
1983
1983
|
title: "Subscriptions"
|
|
1984
1984
|
}, {
|
|
1985
1985
|
default: r(() => [
|
|
@@ -1992,7 +1992,7 @@ const Pe = W("settings", () => {
|
|
|
1992
1992
|
}, 8, ["active", "prepend-icon"]);
|
|
1993
1993
|
};
|
|
1994
1994
|
}
|
|
1995
|
-
}),
|
|
1995
|
+
}), $n = {
|
|
1996
1996
|
key: 0,
|
|
1997
1997
|
class: "text-success"
|
|
1998
1998
|
}, He = /* @__PURE__ */ $({
|
|
@@ -2014,9 +2014,9 @@ const Pe = W("settings", () => {
|
|
|
2014
2014
|
return (s, o) => {
|
|
2015
2015
|
var m, f;
|
|
2016
2016
|
const l = fe;
|
|
2017
|
-
return d(), _(
|
|
2017
|
+
return d(), _(So, {
|
|
2018
2018
|
"dot-color": (m = s.sponsorship) != null && m.isActive ? "success" : "transparent",
|
|
2019
|
-
icon: (f = s.sponsorship) != null && f.isActive ? `svg:${t(
|
|
2019
|
+
icon: (f = s.sponsorship) != null && f.isActive ? `svg:${t(Oe)}` : void 0,
|
|
2020
2020
|
size: "x-small",
|
|
2021
2021
|
width: "100%"
|
|
2022
2022
|
}, {
|
|
@@ -2031,9 +2031,9 @@ const Pe = W("settings", () => {
|
|
|
2031
2031
|
subtitle: r(() => {
|
|
2032
2032
|
var u;
|
|
2033
2033
|
return [
|
|
2034
|
-
(u = s.sponsorship) != null && u.isActive ? (d(), L("div",
|
|
2034
|
+
(u = s.sponsorship) != null && u.isActive ? (d(), L("div", $n, [
|
|
2035
2035
|
a(A, {
|
|
2036
|
-
icon: `svg:${t(
|
|
2036
|
+
icon: `svg:${t(oo)}`,
|
|
2037
2037
|
size: "x-small"
|
|
2038
2038
|
}, null, 8, ["icon"]),
|
|
2039
2039
|
F(" " + C(t(i)), 1)
|
|
@@ -2055,7 +2055,7 @@ const Pe = W("settings", () => {
|
|
|
2055
2055
|
active: !1,
|
|
2056
2056
|
color: (u = s.sponsorship) != null && u.isActive ? "success" : "primary",
|
|
2057
2057
|
href: (h = s.sponsorship) != null && h.isActive || s.to ? void 0 : s.href,
|
|
2058
|
-
"prepend-icon": `svg:${(k = s.sponsorship) != null && k.isActive ? t(Ae) : t(
|
|
2058
|
+
"prepend-icon": `svg:${(k = s.sponsorship) != null && k.isActive ? t(Ae) : t(Ue)}`,
|
|
2059
2059
|
readonly: (g = s.sponsorship) == null ? void 0 : g.isActive,
|
|
2060
2060
|
target: (y = s.sponsorship) != null && y.isActive || s.to ? void 0 : "_blank",
|
|
2061
2061
|
text: (p = s.sponsorship) != null && p.isActive ? "Active" : "Info",
|
|
@@ -2071,7 +2071,7 @@ const Pe = W("settings", () => {
|
|
|
2071
2071
|
}, 8, ["dot-color", "icon"]);
|
|
2072
2072
|
};
|
|
2073
2073
|
}
|
|
2074
|
-
}),
|
|
2074
|
+
}), xn = /* @__PURE__ */ $({
|
|
2075
2075
|
__name: "VoSponsorshipsTimelineItemPatreon",
|
|
2076
2076
|
setup(c) {
|
|
2077
2077
|
return (e, n) => {
|
|
@@ -2084,7 +2084,7 @@ const Pe = W("settings", () => {
|
|
|
2084
2084
|
});
|
|
2085
2085
|
};
|
|
2086
2086
|
}
|
|
2087
|
-
}),
|
|
2087
|
+
}), wn = /* @__PURE__ */ $({
|
|
2088
2088
|
__name: "VoSponsorshipsTimelineItemDiscord",
|
|
2089
2089
|
setup(c) {
|
|
2090
2090
|
const e = P();
|
|
@@ -2099,7 +2099,7 @@ const Pe = W("settings", () => {
|
|
|
2099
2099
|
}, null, 8, ["sponsorship"]);
|
|
2100
2100
|
};
|
|
2101
2101
|
}
|
|
2102
|
-
}),
|
|
2102
|
+
}), Sn = /* @__PURE__ */ $({
|
|
2103
2103
|
__name: "VoSponsorshipsTimelineItemGithub",
|
|
2104
2104
|
setup(c) {
|
|
2105
2105
|
const e = P();
|
|
@@ -2114,7 +2114,7 @@ const Pe = W("settings", () => {
|
|
|
2114
2114
|
}, null, 8, ["sponsorship"]);
|
|
2115
2115
|
};
|
|
2116
2116
|
}
|
|
2117
|
-
}),
|
|
2117
|
+
}), Cn = /* @__PURE__ */ $({
|
|
2118
2118
|
__name: "VoSponsorshipsTimelineItemOne",
|
|
2119
2119
|
setup(c) {
|
|
2120
2120
|
const e = P();
|
|
@@ -2129,12 +2129,12 @@ const Pe = W("settings", () => {
|
|
|
2129
2129
|
}, null, 8, ["sponsorship"]);
|
|
2130
2130
|
};
|
|
2131
2131
|
}
|
|
2132
|
-
}),
|
|
2132
|
+
}), Ln = /* @__PURE__ */ $({
|
|
2133
2133
|
__name: "VoSponsorshipsTimeline",
|
|
2134
2134
|
setup(c) {
|
|
2135
2135
|
return (e, n) => {
|
|
2136
|
-
const i =
|
|
2137
|
-
return d(), _(
|
|
2136
|
+
const i = Cn, s = Sn, o = wn, l = xn;
|
|
2137
|
+
return d(), _(Co, {
|
|
2138
2138
|
class: "justify-start ms-n7",
|
|
2139
2139
|
"line-inset": "12",
|
|
2140
2140
|
side: "end",
|
|
@@ -2151,7 +2151,7 @@ const Pe = W("settings", () => {
|
|
|
2151
2151
|
});
|
|
2152
2152
|
};
|
|
2153
2153
|
}
|
|
2154
|
-
}),
|
|
2154
|
+
}), In = { class: "px-3 pb-5 d-flex flex-column h-100" }, An = { class: "font-weight-black" }, Dn = { class: "text-caption text-medium-emphasis" }, Bn = /* @__PURE__ */ $({
|
|
2155
2155
|
__name: "VoSponsorshipsDialog",
|
|
2156
2156
|
props: {
|
|
2157
2157
|
modelValue: { type: Boolean },
|
|
@@ -2160,14 +2160,14 @@ const Pe = W("settings", () => {
|
|
|
2160
2160
|
emits: ["update:modelValue"],
|
|
2161
2161
|
setup(c) {
|
|
2162
2162
|
const e = le(c, "modelValue"), n = ve(), i = M(), s = P();
|
|
2163
|
-
return
|
|
2163
|
+
return N(n, async () => {
|
|
2164
2164
|
n.value.one === "sponsorships" && (s.isOpen = !0, await pe(), e.value = !0);
|
|
2165
2165
|
}, { immediate: !0 }), (o, l) => {
|
|
2166
|
-
const m = Se, f =
|
|
2166
|
+
const m = Se, f = Ln, u = Be("v-empty-state"), h = we;
|
|
2167
2167
|
return d(), _(h, {
|
|
2168
2168
|
modelValue: e.value,
|
|
2169
2169
|
"onUpdate:modelValue": l[0] || (l[0] = (k) => e.value = k),
|
|
2170
|
-
"prepend-icon": `svg:${t(
|
|
2170
|
+
"prepend-icon": `svg:${t(no)}`,
|
|
2171
2171
|
title: "Sponsorships"
|
|
2172
2172
|
}, {
|
|
2173
2173
|
default: r(() => [
|
|
@@ -2175,7 +2175,7 @@ const Pe = W("settings", () => {
|
|
|
2175
2175
|
default: r(() => [
|
|
2176
2176
|
a(xe, { scrollable: "" }, {
|
|
2177
2177
|
default: r(() => [
|
|
2178
|
-
b("div",
|
|
2178
|
+
b("div", In, [
|
|
2179
2179
|
a(_e, { class: "flex-0-0 mb-16 mb-sm-4" }, {
|
|
2180
2180
|
default: r(() => [
|
|
2181
2181
|
a(m, {
|
|
@@ -2199,10 +2199,10 @@ const Pe = W("settings", () => {
|
|
|
2199
2199
|
]),
|
|
2200
2200
|
title: r(() => [
|
|
2201
2201
|
F(" One Status: "),
|
|
2202
|
-
b("span",
|
|
2202
|
+
b("span", An, C(t(i).isSubscriber ? "Active" : "Inactive"), 1)
|
|
2203
2203
|
]),
|
|
2204
2204
|
text: r(() => [
|
|
2205
|
-
b("div",
|
|
2205
|
+
b("div", Dn, C(t(i).isSubscriber ? "You are currently receiving benefits of Vuetify One." : "Login to activate Vuetify One benefits"), 1)
|
|
2206
2206
|
]),
|
|
2207
2207
|
_: 1
|
|
2208
2208
|
})
|
|
@@ -2218,16 +2218,16 @@ const Pe = W("settings", () => {
|
|
|
2218
2218
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
2219
2219
|
};
|
|
2220
2220
|
}
|
|
2221
|
-
}),
|
|
2221
|
+
}), On = /* @__PURE__ */ $({
|
|
2222
2222
|
__name: "VoSponsorshipsListItem",
|
|
2223
2223
|
setup(c) {
|
|
2224
|
-
const e =
|
|
2224
|
+
const e = O(!1);
|
|
2225
2225
|
return (n, i) => {
|
|
2226
|
-
const s =
|
|
2226
|
+
const s = Bn, o = J;
|
|
2227
2227
|
return d(), _(o, {
|
|
2228
2228
|
active: t(e),
|
|
2229
2229
|
link: "",
|
|
2230
|
-
"prepend-icon": `svg:${t(
|
|
2230
|
+
"prepend-icon": `svg:${t(so)}`,
|
|
2231
2231
|
title: "Sponsorships"
|
|
2232
2232
|
}, {
|
|
2233
2233
|
default: r(() => [
|
|
@@ -2240,7 +2240,7 @@ const Pe = W("settings", () => {
|
|
|
2240
2240
|
}, 8, ["active", "prepend-icon"]);
|
|
2241
2241
|
};
|
|
2242
2242
|
}
|
|
2243
|
-
}),
|
|
2243
|
+
}), Un = /* @__PURE__ */ b("h2", { class: "text-h4" }, " Configuration Tooling ", -1), Nn = /* @__PURE__ */ b("p", { class: "text-subtitle-1 text-medium-emphasis" }, " Coming soon to Vuetify One ", -1), zn = { class: "text-uppercase text-info" }, Tn = { class: "text-h6 mb-2" }, Fn = { class: "text-caption" }, jn = /* @__PURE__ */ b("div", null, " Become a subscriber and be the first to gain access to the Vuetify Studio Alpha when it releases in April 2024. ", -1), Mn = /* @__PURE__ */ $({
|
|
2244
2244
|
__name: "VoStudioDialog",
|
|
2245
2245
|
props: /* @__PURE__ */ nt({
|
|
2246
2246
|
prependIcon: {}
|
|
@@ -2250,7 +2250,7 @@ const Pe = W("settings", () => {
|
|
|
2250
2250
|
}),
|
|
2251
2251
|
emits: ["update:modelValue"],
|
|
2252
2252
|
setup(c) {
|
|
2253
|
-
const e = le(c, "modelValue"), n = ve(), i =
|
|
2253
|
+
const e = le(c, "modelValue"), n = ve(), i = Ne(), s = M(), o = P(), { smAndUp: l } = ce(), m = [
|
|
2254
2254
|
{
|
|
2255
2255
|
title: "Customize",
|
|
2256
2256
|
subtitle: "Customize your Vuetify theme, components, and more with the Vuetify Studio.",
|
|
@@ -2270,7 +2270,7 @@ const Pe = W("settings", () => {
|
|
|
2270
2270
|
image: "https://cdn.vuetifyjs.com/docs/images/one/studio/export.png"
|
|
2271
2271
|
}
|
|
2272
2272
|
];
|
|
2273
|
-
|
|
2273
|
+
N(n, async () => {
|
|
2274
2274
|
n.value.one === "studio" && (o.isOpen = !0, await pe(), e.value = !0);
|
|
2275
2275
|
}, { immediate: !0 });
|
|
2276
2276
|
function f() {
|
|
@@ -2311,8 +2311,8 @@ const Pe = W("settings", () => {
|
|
|
2311
2311
|
icon: u.prependIcon,
|
|
2312
2312
|
size: "80"
|
|
2313
2313
|
}, null, 8, ["icon"]),
|
|
2314
|
-
|
|
2315
|
-
|
|
2314
|
+
Un,
|
|
2315
|
+
Nn
|
|
2316
2316
|
]),
|
|
2317
2317
|
_: 1
|
|
2318
2318
|
})
|
|
@@ -2337,9 +2337,9 @@ const Pe = W("settings", () => {
|
|
|
2337
2337
|
sm: "6"
|
|
2338
2338
|
}, {
|
|
2339
2339
|
default: r(() => [
|
|
2340
|
-
b("strong",
|
|
2341
|
-
b("p",
|
|
2342
|
-
b("p",
|
|
2340
|
+
b("strong", zn, C(y.title), 1),
|
|
2341
|
+
b("p", Tn, C(y.subtitle), 1),
|
|
2342
|
+
b("p", Fn, C(y.text), 1)
|
|
2343
2343
|
]),
|
|
2344
2344
|
_: 2
|
|
2345
2345
|
}, 1032, ["order"]),
|
|
@@ -2383,7 +2383,7 @@ const Pe = W("settings", () => {
|
|
|
2383
2383
|
image: "https://cdn.vuetifyjs.com/docs/images/avatars/one.png",
|
|
2384
2384
|
size: "64"
|
|
2385
2385
|
}),
|
|
2386
|
-
|
|
2386
|
+
jn
|
|
2387
2387
|
]),
|
|
2388
2388
|
_: 1
|
|
2389
2389
|
}),
|
|
@@ -2418,17 +2418,17 @@ const Pe = W("settings", () => {
|
|
|
2418
2418
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
2419
2419
|
};
|
|
2420
2420
|
}
|
|
2421
|
-
}),
|
|
2421
|
+
}), Pn = /* @__PURE__ */ $({
|
|
2422
2422
|
__name: "VoStudioNavItem",
|
|
2423
2423
|
setup(c) {
|
|
2424
|
-
const e =
|
|
2424
|
+
const e = O(!1), n = [
|
|
2425
2425
|
["M12.435 14.3194L12 21L6.87046 12.2799L12.435 14.3194Z", 1],
|
|
2426
2426
|
["M22 4L12.435 14.3194L6.87046 12.2799L9.26479 7.61064L12.435 14.3194L12 21L22 4Z", 0.5],
|
|
2427
2427
|
["M12.435 14.3194L22 4L9.26479 7.61064L12.435 14.3194Z", 1],
|
|
2428
2428
|
["M2 4L6.87046 12.2799L9.26479 7.61064L2 4Z", 1]
|
|
2429
2429
|
];
|
|
2430
2430
|
return (i, s) => {
|
|
2431
|
-
const o =
|
|
2431
|
+
const o = Mn, l = J;
|
|
2432
2432
|
return d(), _(l, {
|
|
2433
2433
|
active: t(e),
|
|
2434
2434
|
link: "",
|
|
@@ -2457,13 +2457,13 @@ const Pe = W("settings", () => {
|
|
|
2457
2457
|
}, 8, ["active"]);
|
|
2458
2458
|
};
|
|
2459
2459
|
}
|
|
2460
|
-
}),
|
|
2460
|
+
}), Hn = {
|
|
2461
2461
|
key: 0,
|
|
2462
2462
|
class: "pt-16"
|
|
2463
|
-
},
|
|
2463
|
+
}, Rn = /* @__PURE__ */ b("div", { class: "text-medium-emphasis" }, " All caught up ", -1), En = {
|
|
2464
2464
|
key: 1,
|
|
2465
2465
|
class: "pa-5"
|
|
2466
|
-
},
|
|
2466
|
+
}, qn = { class: "text-subtitle-1 font-weight-bold" }, Wn = { class: "text-caption font-weight-bold text-medium-emphasis" }, Gn = { class: "text-disabled text-caption mt-2 mb-3" }, Zn = /* @__PURE__ */ $({
|
|
2467
2467
|
__name: "VoNotificationsBannerList",
|
|
2468
2468
|
props: {
|
|
2469
2469
|
items: {}
|
|
@@ -2477,14 +2477,14 @@ const Pe = W("settings", () => {
|
|
|
2477
2477
|
s(l.slug) ? i.notifications.last.banner = i.notifications.last.banner.filter((m) => m !== l.slug) : i.notifications.last.banner.push(l.slug);
|
|
2478
2478
|
}
|
|
2479
2479
|
return (l, m) => {
|
|
2480
|
-
const f =
|
|
2480
|
+
const f = Be("v-empty-state");
|
|
2481
2481
|
return d(), _(ae, {
|
|
2482
2482
|
class: "py-0",
|
|
2483
2483
|
height: "100%",
|
|
2484
2484
|
lines: "three"
|
|
2485
2485
|
}, {
|
|
2486
2486
|
default: r(() => [
|
|
2487
|
-
l.items.length ? (d(), L("div",
|
|
2487
|
+
l.items.length ? (d(), L("div", En, [
|
|
2488
2488
|
(d(!0), L(z, null, ne(l.items, (u) => {
|
|
2489
2489
|
var h;
|
|
2490
2490
|
return d(), L("div", {
|
|
@@ -2542,15 +2542,15 @@ const Pe = W("settings", () => {
|
|
|
2542
2542
|
]),
|
|
2543
2543
|
_: 2
|
|
2544
2544
|
}, 1032, ["text"]),
|
|
2545
|
-
b("div",
|
|
2546
|
-
b("div",
|
|
2547
|
-
b("div",
|
|
2545
|
+
b("div", qn, C(u.metadata.text), 1),
|
|
2546
|
+
b("div", Wn, C(t(e).format(u.created_at, "fullDateWithWeekday")), 1),
|
|
2547
|
+
b("div", Gn, C(u.metadata.subtext), 1),
|
|
2548
2548
|
a(te, R({
|
|
2549
2549
|
href: u.metadata.link.startsWith("http") ? u.metadata.link : void 0,
|
|
2550
2550
|
target: u.metadata.link.startsWith("http") ? "_blank" : void 0,
|
|
2551
2551
|
to: u.metadata.link.startsWith("http") ? void 0 : u.metadata.link
|
|
2552
2552
|
}, {
|
|
2553
|
-
"append-icon": `svg:${t(
|
|
2553
|
+
"append-icon": `svg:${t(Ue)}`,
|
|
2554
2554
|
border: "",
|
|
2555
2555
|
label: "",
|
|
2556
2556
|
size: "small",
|
|
@@ -2570,7 +2570,7 @@ const Pe = W("settings", () => {
|
|
|
2570
2570
|
}, 1024)
|
|
2571
2571
|
]);
|
|
2572
2572
|
}), 128))
|
|
2573
|
-
])) : (d(), L("div",
|
|
2573
|
+
])) : (d(), L("div", Hn, [
|
|
2574
2574
|
a(f, {
|
|
2575
2575
|
icon: "$vuetify",
|
|
2576
2576
|
size: "256"
|
|
@@ -2579,7 +2579,7 @@ const Pe = W("settings", () => {
|
|
|
2579
2579
|
a(A, { color: "medium-emphasis" })
|
|
2580
2580
|
]),
|
|
2581
2581
|
title: r(() => [
|
|
2582
|
-
|
|
2582
|
+
Rn
|
|
2583
2583
|
]),
|
|
2584
2584
|
_: 1
|
|
2585
2585
|
})
|
|
@@ -2589,7 +2589,7 @@ const Pe = W("settings", () => {
|
|
|
2589
2589
|
});
|
|
2590
2590
|
};
|
|
2591
2591
|
}
|
|
2592
|
-
}),
|
|
2592
|
+
}), Qn = { class: "ps-3 text-subtitle-2 pe-2" }, Yn = { class: "text-truncate" }, Jn = { class: "text-caption font-weight-bold text-medium-emphasis" }, Xn = { class: "text-disabled text-caption my-2" }, Kn = /* @__PURE__ */ $({
|
|
2593
2593
|
__name: "VoNotificationsListItem",
|
|
2594
2594
|
props: {
|
|
2595
2595
|
demo: { type: Boolean },
|
|
@@ -2620,10 +2620,10 @@ const Pe = W("settings", () => {
|
|
|
2620
2620
|
default: r(({ isHovering: k, props: g }) => [
|
|
2621
2621
|
a(h, R(g, { class: "py-4 mb-0" }), {
|
|
2622
2622
|
prepend: r(() => [
|
|
2623
|
-
b("div",
|
|
2623
|
+
b("div", Qn, C(f.notification.metadata.emoji), 1)
|
|
2624
2624
|
]),
|
|
2625
2625
|
append: r(() => [
|
|
2626
|
-
a(
|
|
2626
|
+
a(Lo, {
|
|
2627
2627
|
class: "mt-n3",
|
|
2628
2628
|
width: "56"
|
|
2629
2629
|
}, {
|
|
@@ -2658,14 +2658,14 @@ const Pe = W("settings", () => {
|
|
|
2658
2658
|
default: r(() => [
|
|
2659
2659
|
a(ct, { class: "text-wrap text-h6 mb-1" }, {
|
|
2660
2660
|
default: r(() => [
|
|
2661
|
-
b("div",
|
|
2661
|
+
b("div", Yn, C(f.notification.title), 1)
|
|
2662
2662
|
]),
|
|
2663
2663
|
_: 1
|
|
2664
2664
|
}),
|
|
2665
|
-
b("div",
|
|
2666
|
-
b("div",
|
|
2665
|
+
b("div", Jn, C(t(i).format(f.notification.created_at, "fullDateWithWeekday")), 1),
|
|
2666
|
+
b("div", Xn, C(f.notification.metadata.text), 1),
|
|
2667
2667
|
a(te, R({
|
|
2668
|
-
"append-icon": `svg:${t(
|
|
2668
|
+
"append-icon": `svg:${t(Ue)}`
|
|
2669
2669
|
}, t(o), {
|
|
2670
2670
|
border: "",
|
|
2671
2671
|
label: "",
|
|
@@ -2686,17 +2686,17 @@ const Pe = W("settings", () => {
|
|
|
2686
2686
|
});
|
|
2687
2687
|
};
|
|
2688
2688
|
}
|
|
2689
|
-
}),
|
|
2689
|
+
}), es = {
|
|
2690
2690
|
key: 0,
|
|
2691
2691
|
class: "pt-16"
|
|
2692
|
-
},
|
|
2692
|
+
}, ts = /* @__PURE__ */ b("div", { class: "text-medium-emphasis" }, " All caught up ", -1), os = /* @__PURE__ */ $({
|
|
2693
2693
|
__name: "VoNotificationsList",
|
|
2694
2694
|
props: {
|
|
2695
2695
|
items: {}
|
|
2696
2696
|
},
|
|
2697
2697
|
setup(c) {
|
|
2698
2698
|
return (e, n) => {
|
|
2699
|
-
const i =
|
|
2699
|
+
const i = Be("v-empty-state"), s = Kn;
|
|
2700
2700
|
return d(), _(ae, {
|
|
2701
2701
|
class: "py-0",
|
|
2702
2702
|
height: "100%",
|
|
@@ -2708,7 +2708,7 @@ const Pe = W("settings", () => {
|
|
|
2708
2708
|
}, [
|
|
2709
2709
|
l !== 0 ? (d(), _(G, { key: 0 })) : S("", !0),
|
|
2710
2710
|
a(s, { notification: o }, null, 8, ["notification"])
|
|
2711
|
-
], 64))), 128)) : (d(), L("div",
|
|
2711
|
+
], 64))), 128)) : (d(), L("div", es, [
|
|
2712
2712
|
a(i, {
|
|
2713
2713
|
icon: "$vuetify",
|
|
2714
2714
|
size: "256"
|
|
@@ -2717,7 +2717,7 @@ const Pe = W("settings", () => {
|
|
|
2717
2717
|
a(A, { color: "medium-emphasis" })
|
|
2718
2718
|
]),
|
|
2719
2719
|
title: r(() => [
|
|
2720
|
-
|
|
2720
|
+
ts
|
|
2721
2721
|
]),
|
|
2722
2722
|
_: 1
|
|
2723
2723
|
})
|
|
@@ -2728,13 +2728,13 @@ const Pe = W("settings", () => {
|
|
|
2728
2728
|
};
|
|
2729
2729
|
}
|
|
2730
2730
|
}), Vt = W("site", () => {
|
|
2731
|
-
const c =
|
|
2731
|
+
const c = B([]), e = B();
|
|
2732
2732
|
return {
|
|
2733
2733
|
id: c,
|
|
2734
2734
|
url: e
|
|
2735
2735
|
};
|
|
2736
2736
|
}), Re = W("banners", () => {
|
|
2737
|
-
const c = ie(), e = Vt(), n = T(), i =
|
|
2737
|
+
const c = ie(), e = Vt(), n = T(), i = B([]), s = B([]), o = B(), l = O(!1), m = w(() => {
|
|
2738
2738
|
if (o.value)
|
|
2739
2739
|
return o.value;
|
|
2740
2740
|
if (f.value)
|
|
@@ -2744,9 +2744,9 @@ const Pe = W("settings", () => {
|
|
|
2744
2744
|
slug: v,
|
|
2745
2745
|
metadata: {
|
|
2746
2746
|
site: V,
|
|
2747
|
-
active:
|
|
2747
|
+
active: U
|
|
2748
2748
|
}
|
|
2749
|
-
}) => !
|
|
2749
|
+
}) => !U || n.notifications.last.banner.includes(v) ? !1 : V.includes("dev") && !1 || V.includes("*") ? !0 : V.some((j) => e.id.includes(j)));
|
|
2750
2750
|
}), f = w(() => i.value.find(({
|
|
2751
2751
|
metadata: {
|
|
2752
2752
|
site: v,
|
|
@@ -2790,11 +2790,11 @@ const Pe = W("settings", () => {
|
|
|
2790
2790
|
async function g(v, V) {
|
|
2791
2791
|
try {
|
|
2792
2792
|
l.value = !0;
|
|
2793
|
-
const
|
|
2793
|
+
const U = await c.form(
|
|
2794
2794
|
`/one/admin/banners/${v}`,
|
|
2795
2795
|
V
|
|
2796
2796
|
);
|
|
2797
|
-
return o.value =
|
|
2797
|
+
return o.value = U.banner, U.banner;
|
|
2798
2798
|
} catch {
|
|
2799
2799
|
} finally {
|
|
2800
2800
|
l.value = !1;
|
|
@@ -2827,7 +2827,7 @@ const Pe = W("settings", () => {
|
|
|
2827
2827
|
store: k,
|
|
2828
2828
|
update: g
|
|
2829
2829
|
};
|
|
2830
|
-
}),
|
|
2830
|
+
}), ns = { class: "text-caption" }, ss = { class: "text-caption" }, as = /* @__PURE__ */ $({
|
|
2831
2831
|
__name: "VoNotificationsDialog",
|
|
2832
2832
|
props: {
|
|
2833
2833
|
modelValue: { type: Boolean },
|
|
@@ -2835,25 +2835,25 @@ const Pe = W("settings", () => {
|
|
|
2835
2835
|
},
|
|
2836
2836
|
emits: ["update:modelValue"],
|
|
2837
2837
|
setup(c) {
|
|
2838
|
-
const e = ce(), n = ve(), i = Re(), s = Me(), o = P(), l = T(), m =
|
|
2839
|
-
return
|
|
2838
|
+
const e = ce(), n = ve(), i = Re(), s = Me(), o = P(), l = T(), m = O(["read"]), f = le(c, "modelValue");
|
|
2839
|
+
return N(n, async () => {
|
|
2840
2840
|
if (n.value.one !== "notifications") {
|
|
2841
2841
|
f.value && (f.value = !1);
|
|
2842
2842
|
return;
|
|
2843
2843
|
}
|
|
2844
2844
|
o.isOpen = !0, await pe(), f.value = !0;
|
|
2845
2845
|
}, { immediate: !0 }), (u, h) => {
|
|
2846
|
-
const k = J, g =
|
|
2846
|
+
const k = J, g = os, y = Zn, p = we;
|
|
2847
2847
|
return d(), _(p, {
|
|
2848
2848
|
modelValue: f.value,
|
|
2849
2849
|
"onUpdate:modelValue": h[2] || (h[2] = (v) => f.value = v),
|
|
2850
|
-
"prepend-icon": `svg:${t(
|
|
2850
|
+
"prepend-icon": `svg:${t(ao)}`,
|
|
2851
2851
|
title: "Notifications"
|
|
2852
2852
|
}, {
|
|
2853
2853
|
default: r(() => [
|
|
2854
2854
|
a($e, null, {
|
|
2855
2855
|
default: r(() => [
|
|
2856
|
-
a(
|
|
2856
|
+
a(Io, {
|
|
2857
2857
|
location: t(e).mobile.value ? "top" : "start",
|
|
2858
2858
|
permanent: "",
|
|
2859
2859
|
width: t(e).mobile.value ? 128 : 168
|
|
@@ -2869,34 +2869,34 @@ const Pe = W("settings", () => {
|
|
|
2869
2869
|
}, {
|
|
2870
2870
|
default: r(() => [
|
|
2871
2871
|
a(k, {
|
|
2872
|
-
"prepend-icon": `svg:${t(
|
|
2872
|
+
"prepend-icon": `svg:${t(io)}`,
|
|
2873
2873
|
title: "Unread",
|
|
2874
2874
|
value: "read"
|
|
2875
2875
|
}, H({ _: 2 }, [
|
|
2876
2876
|
t(s).unread.length > 0 ? {
|
|
2877
2877
|
name: "append",
|
|
2878
2878
|
fn: r(() => [
|
|
2879
|
-
b("span",
|
|
2879
|
+
b("span", ns, C(t(s).unread.length), 1)
|
|
2880
2880
|
]),
|
|
2881
2881
|
key: "0"
|
|
2882
2882
|
} : void 0
|
|
2883
2883
|
]), 1032, ["prepend-icon"]),
|
|
2884
2884
|
a(k, {
|
|
2885
|
-
"prepend-icon": `svg:${t(
|
|
2885
|
+
"prepend-icon": `svg:${t(ro)}`,
|
|
2886
2886
|
title: "Read",
|
|
2887
2887
|
value: "unread"
|
|
2888
2888
|
}, H({ _: 2 }, [
|
|
2889
2889
|
t(s).read.length > 0 ? {
|
|
2890
2890
|
name: "append",
|
|
2891
2891
|
fn: r(() => [
|
|
2892
|
-
b("span",
|
|
2892
|
+
b("span", ss, C(t(s).read.length), 1)
|
|
2893
2893
|
]),
|
|
2894
2894
|
key: "0"
|
|
2895
2895
|
} : void 0
|
|
2896
2896
|
]), 1032, ["prepend-icon"]),
|
|
2897
2897
|
t(i).all.length > 0 && t(l).notifications.banners ? (d(), _(k, {
|
|
2898
2898
|
key: 0,
|
|
2899
|
-
"prepend-icon": `svg:${t(
|
|
2899
|
+
"prepend-icon": `svg:${t(lo)}`,
|
|
2900
2900
|
title: "Banners",
|
|
2901
2901
|
value: "banners"
|
|
2902
2902
|
}, {
|
|
@@ -2959,7 +2959,7 @@ const Pe = W("settings", () => {
|
|
|
2959
2959
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
2960
2960
|
};
|
|
2961
2961
|
}
|
|
2962
|
-
}),
|
|
2962
|
+
}), is = /* @__PURE__ */ $({
|
|
2963
2963
|
__name: "VoNotificationsBadge",
|
|
2964
2964
|
setup(c) {
|
|
2965
2965
|
const e = Me(), n = T();
|
|
@@ -2974,19 +2974,19 @@ const Pe = W("settings", () => {
|
|
|
2974
2974
|
_: 3
|
|
2975
2975
|
}, 8, ["content", "model-value"]));
|
|
2976
2976
|
}
|
|
2977
|
-
}),
|
|
2977
|
+
}), rs = /* @__PURE__ */ $({
|
|
2978
2978
|
__name: "VoNotificationsNavItem",
|
|
2979
2979
|
setup(c) {
|
|
2980
|
-
const e = Re(), n = T(), i = Me(), s =
|
|
2980
|
+
const e = Re(), n = T(), i = Me(), s = O(!1);
|
|
2981
2981
|
return Qe(async () => {
|
|
2982
2982
|
i.index(), e.index();
|
|
2983
2983
|
}), (o, l) => {
|
|
2984
|
-
const m =
|
|
2984
|
+
const m = is, f = as, u = J;
|
|
2985
2985
|
return t(n).notifications.show ? (d(), _(u, {
|
|
2986
2986
|
key: 0,
|
|
2987
2987
|
active: t(s),
|
|
2988
2988
|
link: "",
|
|
2989
|
-
"prepend-icon": `svg:${t(
|
|
2989
|
+
"prepend-icon": `svg:${t(co)}`,
|
|
2990
2990
|
title: "Notifications"
|
|
2991
2991
|
}, H({
|
|
2992
2992
|
default: r(() => [
|
|
@@ -3012,7 +3012,7 @@ const Pe = W("settings", () => {
|
|
|
3012
3012
|
]), 1032, ["active", "prepend-icon"])) : S("", !0);
|
|
3013
3013
|
};
|
|
3014
3014
|
}
|
|
3015
|
-
}),
|
|
3015
|
+
}), ls = /* @__PURE__ */ $({
|
|
3016
3016
|
__name: "VoDashboardNavItem",
|
|
3017
3017
|
setup(c) {
|
|
3018
3018
|
const e = P();
|
|
@@ -3024,19 +3024,19 @@ const Pe = W("settings", () => {
|
|
|
3024
3024
|
return (i, s) => {
|
|
3025
3025
|
const o = J;
|
|
3026
3026
|
return d(), _(o, {
|
|
3027
|
-
"prepend-icon": `svg:${t(
|
|
3027
|
+
"prepend-icon": `svg:${t(uo)}`,
|
|
3028
3028
|
title: "Dashboard",
|
|
3029
3029
|
to: "/user/dashboard",
|
|
3030
3030
|
onClick: n
|
|
3031
3031
|
}, null, 8, ["prepend-icon"]);
|
|
3032
3032
|
};
|
|
3033
3033
|
}
|
|
3034
|
-
}),
|
|
3034
|
+
}), cs = /* @__PURE__ */ $({
|
|
3035
3035
|
__name: "VoUserList",
|
|
3036
3036
|
setup(c) {
|
|
3037
3037
|
const e = M();
|
|
3038
3038
|
return (n, i) => {
|
|
3039
|
-
const s =
|
|
3039
|
+
const s = ls, o = rs, l = Pn, m = On, f = kn, u = Xo, h = qo;
|
|
3040
3040
|
return d(), _(ae, {
|
|
3041
3041
|
density: "compact",
|
|
3042
3042
|
nav: "",
|
|
@@ -3055,87 +3055,105 @@ const Pe = W("settings", () => {
|
|
|
3055
3055
|
});
|
|
3056
3056
|
};
|
|
3057
3057
|
}
|
|
3058
|
-
}),
|
|
3059
|
-
__name: "
|
|
3058
|
+
}), kt = /* @__PURE__ */ $({
|
|
3059
|
+
__name: "VoIconIssues",
|
|
3060
3060
|
setup(c) {
|
|
3061
|
-
const e =
|
|
3061
|
+
const e = [
|
|
3062
|
+
["M21.57 19.41L18.36 16.41C19.7242 14.5916 20.3549 12.3267 20.127 10.065C19.8991 7.80316 18.8293 5.70969 17.1298 4.19992C15.4303 2.69016 13.2254 1.87444 10.9525 1.91463C8.67959 1.95481 6.50486 2.84796 4.8598 4.41685C3.21475 5.98575 2.21959 8.11573 2.07179 10.3842C1.924 12.6526 2.63436 14.8937 4.06193 16.6628C5.4895 18.4319 7.52995 19.5997 9.77841 19.9344C12.0269 20.2692 14.319 19.7465 16.2 18.47L19.5 21.6C19.7743 21.8507 20.1287 21.996 20.5 22.01C20.7053 22.0117 20.9087 21.9698 21.0966 21.8871C21.2845 21.8043 21.4527 21.6826 21.59 21.53C21.729 21.3901 21.8389 21.224 21.9132 21.0413C21.9875 20.8586 22.0248 20.663 22.0229 20.4658C22.0211 20.2686 21.9801 20.0737 21.9023 19.8925C21.8246 19.7113 21.7116 19.5473 21.57 19.41ZM11.1 17.33C9.83508 17.328 8.59909 16.9512 7.54815 16.2472C6.49721 15.5432 5.67846 14.5436 5.1953 13.3746C4.71214 12.2055 4.58624 10.9195 4.8335 9.67898C5.08077 8.43843 5.6901 7.29898 6.58455 6.40453C7.47901 5.51007 8.61846 4.90074 9.85901 4.65347C11.0996 4.40621 12.3856 4.53211 13.5546 5.01527C14.7236 5.49843 15.7233 6.31718 16.4273 7.36812C17.1313 8.41906 17.5081 9.65506 17.51 10.92C17.51 11.7618 17.3442 12.5953 17.0221 13.373C16.7 14.1507 16.2278 14.8573 15.6326 15.4526C15.0374 16.0478 14.3307 16.5199 13.553 16.8421C12.7753 17.1642 11.9418 17.33 11.1 17.33Z", 0.8],
|
|
3063
|
+
"M8.63152 12.7367L8.50057 12.5L6 8H11.263L8.63152 12.7367Z",
|
|
3064
|
+
["M9.11205 13.6004L11 17L16 8H12.223L9.11205 13.6004Z", 0.6]
|
|
3065
|
+
];
|
|
3066
|
+
return (n, i) => (d(), _(A, { icon: e }));
|
|
3067
|
+
}
|
|
3068
|
+
}), $t = /* @__PURE__ */ $({
|
|
3069
|
+
__name: "VoIconBin",
|
|
3070
|
+
setup(c) {
|
|
3071
|
+
const e = [
|
|
3062
3072
|
["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],
|
|
3063
3073
|
["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],
|
|
3064
3074
|
"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",
|
|
3065
3075
|
["M12.353 16.0368C9.07567 12.843 3.90082 17.0493 6.66818 20.5975C9.94136 24.3844 15.773 19.6984 12.353 16.0368ZM11.1267 19.4129C10.2224 20.7664 7.79139 20.1099 7.82746 18.4686C8.04976 15.4897 12.7112 16.8495 11.1267 19.4129Z", 0.6]
|
|
3066
|
-
], i = [
|
|
3067
|
-
["M21.57 19.41L18.36 16.41C19.7242 14.5916 20.3549 12.3267 20.127 10.065C19.8991 7.80316 18.8293 5.70969 17.1298 4.19992C15.4303 2.69016 13.2254 1.87444 10.9525 1.91463C8.67959 1.95481 6.50486 2.84796 4.8598 4.41685C3.21475 5.98575 2.21959 8.11573 2.07179 10.3842C1.924 12.6526 2.63436 14.8937 4.06193 16.6628C5.4895 18.4319 7.52995 19.5997 9.77841 19.9344C12.0269 20.2692 14.319 19.7465 16.2 18.47L19.5 21.6C19.7743 21.8507 20.1287 21.996 20.5 22.01C20.7053 22.0117 20.9087 21.9698 21.0966 21.8871C21.2845 21.8043 21.4527 21.6826 21.59 21.53C21.729 21.3901 21.8389 21.224 21.9132 21.0413C21.9875 20.8586 22.0248 20.663 22.0229 20.4658C22.0211 20.2686 21.9801 20.0737 21.9023 19.8925C21.8246 19.7113 21.7116 19.5473 21.57 19.41ZM11.1 17.33C9.83508 17.328 8.59909 16.9512 7.54815 16.2472C6.49721 15.5432 5.67846 14.5436 5.1953 13.3746C4.71214 12.2055 4.58624 10.9195 4.8335 9.67898C5.08077 8.43843 5.6901 7.29898 6.58455 6.40453C7.47901 5.51007 8.61846 4.90074 9.85901 4.65347C11.0996 4.40621 12.3856 4.53211 13.5546 5.01527C14.7236 5.49843 15.7233 6.31718 16.4273 7.36812C17.1313 8.41906 17.5081 9.65506 17.51 10.92C17.51 11.7618 17.3442 12.5953 17.0221 13.373C16.7 14.1507 16.2278 14.8573 15.6326 15.4526C15.0374 16.0478 14.3307 16.5199 13.553 16.8421C12.7753 17.1642 11.9418 17.33 11.1 17.33Z", 0.8],
|
|
3068
|
-
"M8.63152 12.7367L8.50057 12.5L6 8H11.263L8.63152 12.7367Z",
|
|
3069
|
-
["M9.11205 13.6004L11 17L16 8H12.223L9.11205 13.6004Z", 0.6]
|
|
3070
3076
|
];
|
|
3071
|
-
return (
|
|
3072
|
-
default: r(() => [
|
|
3073
|
-
t(e).quickbar ? (d(), L("div", ls, [
|
|
3074
|
-
b("div", cs, [
|
|
3075
|
-
a(q, {
|
|
3076
|
-
class: "text-caption",
|
|
3077
|
-
color: t(e).colors.one,
|
|
3078
|
-
density: "comfortable",
|
|
3079
|
-
href: "https://play.vuetifyjs.com",
|
|
3080
|
-
icon: "$vuetify-play",
|
|
3081
|
-
target: "_blank"
|
|
3082
|
-
}, {
|
|
3083
|
-
default: r(() => [
|
|
3084
|
-
a(A),
|
|
3085
|
-
a(ee, {
|
|
3086
|
-
activator: "parent",
|
|
3087
|
-
location: "top",
|
|
3088
|
-
text: "Vuetify Play"
|
|
3089
|
-
})
|
|
3090
|
-
]),
|
|
3091
|
-
_: 1
|
|
3092
|
-
}, 8, ["color"]),
|
|
3093
|
-
a(q, {
|
|
3094
|
-
class: "text-caption",
|
|
3095
|
-
color: t(e).colors.one,
|
|
3096
|
-
density: "comfortable",
|
|
3097
|
-
href: "https://bin.vuetifyjs.com",
|
|
3098
|
-
icon: n,
|
|
3099
|
-
target: "_blank"
|
|
3100
|
-
}, {
|
|
3101
|
-
default: r(() => [
|
|
3102
|
-
a(A),
|
|
3103
|
-
a(ee, {
|
|
3104
|
-
activator: "parent",
|
|
3105
|
-
location: "top",
|
|
3106
|
-
text: "Vuetify Bin"
|
|
3107
|
-
})
|
|
3108
|
-
]),
|
|
3109
|
-
_: 1
|
|
3110
|
-
}, 8, ["color"]),
|
|
3111
|
-
a(q, {
|
|
3112
|
-
class: "text-caption",
|
|
3113
|
-
color: t(e).colors.one,
|
|
3114
|
-
density: "comfortable",
|
|
3115
|
-
href: "https://issues.vuetifyjs.com",
|
|
3116
|
-
icon: i,
|
|
3117
|
-
target: "_blank"
|
|
3118
|
-
}, {
|
|
3119
|
-
default: r(() => [
|
|
3120
|
-
a(A),
|
|
3121
|
-
a(ee, {
|
|
3122
|
-
activator: "parent",
|
|
3123
|
-
location: "top",
|
|
3124
|
-
text: "Vuetify Issues"
|
|
3125
|
-
})
|
|
3126
|
-
]),
|
|
3127
|
-
_: 1
|
|
3128
|
-
}, 8, ["color"])
|
|
3129
|
-
])
|
|
3130
|
-
])) : S("", !0)
|
|
3131
|
-
]),
|
|
3132
|
-
_: 1
|
|
3133
|
-
}));
|
|
3077
|
+
return (n, i) => (d(), _(A, { icon: e }));
|
|
3134
3078
|
}
|
|
3135
|
-
}),
|
|
3079
|
+
}), us = { key: 0 }, ds = { class: "d-flex align-center justify-center pa-1 ga-2" }, ps = /* @__PURE__ */ $({
|
|
3080
|
+
__name: "VoUserQuickActions",
|
|
3081
|
+
setup(c) {
|
|
3082
|
+
const e = T();
|
|
3083
|
+
return (n, i) => {
|
|
3084
|
+
const s = $t, o = kt;
|
|
3085
|
+
return d(), _(me, null, {
|
|
3086
|
+
default: r(() => [
|
|
3087
|
+
t(e).quickbar ? (d(), L("div", us, [
|
|
3088
|
+
b("div", ds, [
|
|
3089
|
+
a(q, {
|
|
3090
|
+
class: "text-caption",
|
|
3091
|
+
color: t(e).colors.one,
|
|
3092
|
+
density: "comfortable",
|
|
3093
|
+
flat: "",
|
|
3094
|
+
href: "https://play.vuetifyjs.com",
|
|
3095
|
+
icon: "$vuetify-play",
|
|
3096
|
+
target: "_blank"
|
|
3097
|
+
}, {
|
|
3098
|
+
default: r(() => [
|
|
3099
|
+
a(A),
|
|
3100
|
+
a(ee, {
|
|
3101
|
+
activator: "parent",
|
|
3102
|
+
location: "top",
|
|
3103
|
+
text: "Vuetify Play"
|
|
3104
|
+
})
|
|
3105
|
+
]),
|
|
3106
|
+
_: 1
|
|
3107
|
+
}, 8, ["color"]),
|
|
3108
|
+
a(q, {
|
|
3109
|
+
class: "text-caption",
|
|
3110
|
+
color: t(e).colors.one,
|
|
3111
|
+
density: "comfortable",
|
|
3112
|
+
flat: "",
|
|
3113
|
+
href: "https://bin.vuetifyjs.com",
|
|
3114
|
+
icon: "",
|
|
3115
|
+
target: "_blank"
|
|
3116
|
+
}, {
|
|
3117
|
+
default: r(() => [
|
|
3118
|
+
a(s),
|
|
3119
|
+
a(ee, {
|
|
3120
|
+
activator: "parent",
|
|
3121
|
+
location: "top",
|
|
3122
|
+
text: "Vuetify Bin"
|
|
3123
|
+
})
|
|
3124
|
+
]),
|
|
3125
|
+
_: 1
|
|
3126
|
+
}, 8, ["color"]),
|
|
3127
|
+
a(q, {
|
|
3128
|
+
class: "text-caption",
|
|
3129
|
+
color: t(e).colors.one,
|
|
3130
|
+
density: "comfortable",
|
|
3131
|
+
flat: "",
|
|
3132
|
+
href: "https://issues.vuetifyjs.com",
|
|
3133
|
+
icon: "",
|
|
3134
|
+
target: "_blank"
|
|
3135
|
+
}, {
|
|
3136
|
+
default: r(() => [
|
|
3137
|
+
a(o),
|
|
3138
|
+
a(ee, {
|
|
3139
|
+
activator: "parent",
|
|
3140
|
+
location: "top",
|
|
3141
|
+
text: "Vuetify Issues"
|
|
3142
|
+
})
|
|
3143
|
+
]),
|
|
3144
|
+
_: 1
|
|
3145
|
+
}, 8, ["color"])
|
|
3146
|
+
])
|
|
3147
|
+
])) : S("", !0)
|
|
3148
|
+
]),
|
|
3149
|
+
_: 1
|
|
3150
|
+
});
|
|
3151
|
+
};
|
|
3152
|
+
}
|
|
3153
|
+
}), ms = { class: "mb-2" }, fs = { key: 0 }, vs = { class: "d-flex ga-4 flex-wrap justify-center mb-4" }, hs = { class: "text-h6" }, _s = /* @__PURE__ */ $({
|
|
3136
3154
|
__name: "VoUserAvatar",
|
|
3137
3155
|
setup(c) {
|
|
3138
|
-
const e = M(), n = P(), i = T(), s =
|
|
3156
|
+
const e = M(), n = P(), i = T(), s = O(!1), o = w(() => {
|
|
3139
3157
|
const f = [
|
|
3140
3158
|
"https://cdn.vuetifyjs.com/docs/images/avatars/dark.png",
|
|
3141
3159
|
"https://cdn.vuetifyjs.com/docs/images/avatars/blackguard.png",
|
|
@@ -3164,8 +3182,8 @@ const Pe = W("settings", () => {
|
|
|
3164
3182
|
var h;
|
|
3165
3183
|
return d(), L("div", null, [
|
|
3166
3184
|
Ve((d(), _(Y, {
|
|
3167
|
-
class:
|
|
3168
|
-
"border-md border-opacity-100 border-surface-
|
|
3185
|
+
class: Dt([
|
|
3186
|
+
"border-md border-opacity-100 border-surface-light",
|
|
3169
3187
|
{
|
|
3170
3188
|
"cursor-pointer": t(e).isSubscriber
|
|
3171
3189
|
}
|
|
@@ -3189,19 +3207,19 @@ const Pe = W("settings", () => {
|
|
|
3189
3207
|
]),
|
|
3190
3208
|
_: 1
|
|
3191
3209
|
}, 8, ["class"])), [
|
|
3192
|
-
[
|
|
3210
|
+
[Ao, t(e).isSubscriber]
|
|
3193
3211
|
]),
|
|
3194
|
-
b("div",
|
|
3212
|
+
b("div", ms, [
|
|
3195
3213
|
a(me, null, {
|
|
3196
3214
|
default: r(() => [
|
|
3197
|
-
t(s) ? (d(), L("div",
|
|
3215
|
+
t(s) ? (d(), L("div", fs, [
|
|
3198
3216
|
a(E, {
|
|
3199
3217
|
class: "pt-6 pb-1",
|
|
3200
3218
|
flat: "",
|
|
3201
3219
|
rounded: "0"
|
|
3202
3220
|
}, {
|
|
3203
3221
|
default: r(() => [
|
|
3204
|
-
b("div",
|
|
3222
|
+
b("div", vs, [
|
|
3205
3223
|
(d(!0), L(z, null, ne(t(o), (k, g) => (d(), _(q, {
|
|
3206
3224
|
key: g,
|
|
3207
3225
|
active: t(i).avatar === k,
|
|
@@ -3226,11 +3244,11 @@ const Pe = W("settings", () => {
|
|
|
3226
3244
|
_: 1
|
|
3227
3245
|
})
|
|
3228
3246
|
]),
|
|
3229
|
-
b("div",
|
|
3247
|
+
b("div", hs, C(((h = t(e).user) == null ? void 0 : h.name) ?? "Guest"), 1)
|
|
3230
3248
|
]);
|
|
3231
3249
|
};
|
|
3232
3250
|
}
|
|
3233
|
-
}),
|
|
3251
|
+
}), gs = /* @__PURE__ */ $({
|
|
3234
3252
|
__name: "VoUserBadges",
|
|
3235
3253
|
setup(c) {
|
|
3236
3254
|
const e = M(), n = P(), i = w(() => {
|
|
@@ -3268,7 +3286,7 @@ const Pe = W("settings", () => {
|
|
|
3268
3286
|
activator: r(({ props: m }) => [
|
|
3269
3287
|
a(A, R({
|
|
3270
3288
|
color: "amber-darken-2",
|
|
3271
|
-
icon: `svg:${t(
|
|
3289
|
+
icon: `svg:${t(po)}`
|
|
3272
3290
|
}, m, { size: "16" }), null, 16, ["icon"])
|
|
3273
3291
|
]),
|
|
3274
3292
|
_: 1
|
|
@@ -3304,18 +3322,18 @@ const Pe = W("settings", () => {
|
|
|
3304
3322
|
_: 1
|
|
3305
3323
|
})) : S("", !0);
|
|
3306
3324
|
}
|
|
3307
|
-
}),
|
|
3325
|
+
}), ys = { class: "d-flex flex-grow-1 justify-end fill-height align-start" }, bs = {
|
|
3308
3326
|
key: "reset",
|
|
3309
3327
|
class: "align-self-end"
|
|
3310
|
-
},
|
|
3328
|
+
}, Vs = /* @__PURE__ */ $({
|
|
3311
3329
|
__name: "VoUserColors",
|
|
3312
3330
|
setup(c) {
|
|
3313
|
-
const e = M(), n = T(), i =
|
|
3331
|
+
const e = M(), n = T(), i = O(!1);
|
|
3314
3332
|
function s() {
|
|
3315
3333
|
n.colors.one = "surface-light";
|
|
3316
3334
|
}
|
|
3317
3335
|
return (o, l) => {
|
|
3318
|
-
const m =
|
|
3336
|
+
const m = gs, f = fe;
|
|
3319
3337
|
return d(), L(z, null, [
|
|
3320
3338
|
a(Z, {
|
|
3321
3339
|
color: t(e).user ? t(n).colors.one : "surface-light",
|
|
@@ -3326,17 +3344,17 @@ const Pe = W("settings", () => {
|
|
|
3326
3344
|
rounded: "0"
|
|
3327
3345
|
}, {
|
|
3328
3346
|
default: r(() => [
|
|
3329
|
-
b("div",
|
|
3347
|
+
b("div", ys, [
|
|
3330
3348
|
a(m),
|
|
3331
|
-
a(
|
|
3349
|
+
a(ko, null, {
|
|
3332
3350
|
default: r(() => [
|
|
3333
|
-
Ve(b("div",
|
|
3351
|
+
Ve(b("div", bs, [
|
|
3334
3352
|
a(f, {
|
|
3335
3353
|
class: "ms-2 me-1",
|
|
3336
3354
|
color: "inherit",
|
|
3337
3355
|
density: "comfortable",
|
|
3338
3356
|
disabled: t(n).colors.one === "surface-light",
|
|
3339
|
-
icon: `svg:${t(
|
|
3357
|
+
icon: `svg:${t(mo)}`,
|
|
3340
3358
|
title: "Revert to Default",
|
|
3341
3359
|
variant: "text",
|
|
3342
3360
|
onClick: s
|
|
@@ -3353,7 +3371,7 @@ const Pe = W("settings", () => {
|
|
|
3353
3371
|
class: "align-self-end",
|
|
3354
3372
|
color: "inherit",
|
|
3355
3373
|
density: "comfortable",
|
|
3356
|
-
icon: t(i) ? `svg:${t(
|
|
3374
|
+
icon: t(i) ? `svg:${t(Oe)}` : "$edit",
|
|
3357
3375
|
title: "Edit One Header Color",
|
|
3358
3376
|
variant: t(i) ? "text" : "plain",
|
|
3359
3377
|
onClick: l[0] || (l[0] = (u) => i.value = !t(i))
|
|
@@ -3376,7 +3394,7 @@ const Pe = W("settings", () => {
|
|
|
3376
3394
|
}, 8, ["color"]),
|
|
3377
3395
|
a(me, null, {
|
|
3378
3396
|
default: r(() => [
|
|
3379
|
-
t(i) ? (d(), _(
|
|
3397
|
+
t(i) ? (d(), _(Do, {
|
|
3380
3398
|
key: 0,
|
|
3381
3399
|
elevation: "0",
|
|
3382
3400
|
height: "250",
|
|
@@ -3396,16 +3414,16 @@ const Pe = W("settings", () => {
|
|
|
3396
3414
|
], 64);
|
|
3397
3415
|
};
|
|
3398
3416
|
}
|
|
3399
|
-
}),
|
|
3417
|
+
}), ks = { class: "text-center mt-n9 mb-4" }, $s = /* @__PURE__ */ $({
|
|
3400
3418
|
__name: "VoUserMenu",
|
|
3401
3419
|
setup(c) {
|
|
3402
|
-
const e = Re(), n = P(), i =
|
|
3403
|
-
return
|
|
3420
|
+
const e = Re(), n = P(), i = B();
|
|
3421
|
+
return N(() => e.banner, async () => {
|
|
3404
3422
|
var s, o;
|
|
3405
3423
|
await new Promise((l) => setTimeout(l, 300)), n.isOpen && ((o = (s = i.value) == null ? void 0 : s.updateLocation) == null || o.call(s));
|
|
3406
3424
|
}, { flush: "pre" }), (s, o) => {
|
|
3407
|
-
const l =
|
|
3408
|
-
return d(), _(t(
|
|
3425
|
+
const l = Vs, m = _s, f = ps, u = cs, h = yt;
|
|
3426
|
+
return d(), _(t(Bo), {
|
|
3409
3427
|
ref_key: "menu",
|
|
3410
3428
|
ref: i,
|
|
3411
3429
|
modelValue: t(n).isOpen,
|
|
@@ -3424,7 +3442,7 @@ const Pe = W("settings", () => {
|
|
|
3424
3442
|
}, {
|
|
3425
3443
|
default: r(() => [
|
|
3426
3444
|
a(l),
|
|
3427
|
-
b("div",
|
|
3445
|
+
b("div", ks, [
|
|
3428
3446
|
a(m),
|
|
3429
3447
|
a(f)
|
|
3430
3448
|
]),
|
|
@@ -3440,7 +3458,7 @@ const Pe = W("settings", () => {
|
|
|
3440
3458
|
}, 8, ["modelValue"]);
|
|
3441
3459
|
};
|
|
3442
3460
|
}
|
|
3443
|
-
}),
|
|
3461
|
+
}), xs = { key: 0 }, xt = /* @__PURE__ */ $({
|
|
3444
3462
|
__name: "VoAuthBtn",
|
|
3445
3463
|
props: {
|
|
3446
3464
|
external: Boolean
|
|
@@ -3448,26 +3466,27 @@ const Pe = W("settings", () => {
|
|
|
3448
3466
|
setup(c) {
|
|
3449
3467
|
const e = M(), n = P(), i = T(), { lgAndUp: s } = ce(), o = w(() => n.isOpen || !e.user ? i.colors.one === "surface-light" ? "primary" : i.colors.one : "surface-light");
|
|
3450
3468
|
return (l, m) => {
|
|
3451
|
-
const f =
|
|
3469
|
+
const f = $s, u = fe, h = Ro, k = gt;
|
|
3452
3470
|
return d(), L(z, null, [
|
|
3453
3471
|
a(h, {
|
|
3454
3472
|
"offset-y": t(e).user ? 5 : 0
|
|
3455
3473
|
}, {
|
|
3456
3474
|
default: r(() => [
|
|
3457
3475
|
a(u, R({
|
|
3458
|
-
[`${t(s) ? "append-" : ""}icon`]: t(e).user ? void 0 : `svg:${t(
|
|
3476
|
+
[`${t(s) ? "append-" : ""}icon`]: t(e).user ? void 0 : `svg:${t(fo)}`
|
|
3459
3477
|
}, {
|
|
3460
3478
|
active: "",
|
|
3479
|
+
border: !!t(e).user,
|
|
3461
3480
|
class: "vo-auth-btn",
|
|
3462
3481
|
color: t(o),
|
|
3463
3482
|
icon: t(e).user || t(e).isLoading,
|
|
3464
3483
|
loading: t(e).isLoading,
|
|
3465
3484
|
size: "default",
|
|
3466
3485
|
style: { transition: ".2s ease" },
|
|
3467
|
-
variant: t(e).user ? "outlined" : "flat"
|
|
3486
|
+
variant: t(e).user ? t(n).isOpen ? "outlined" : "text" : "flat"
|
|
3468
3487
|
}), {
|
|
3469
3488
|
default: r(() => [
|
|
3470
|
-
t(e).user ? S("", !0) : (d(), L("span",
|
|
3489
|
+
t(e).user ? S("", !0) : (d(), L("span", xs, "Login")),
|
|
3471
3490
|
t(e).user ? (d(), _(Y, {
|
|
3472
3491
|
key: 1,
|
|
3473
3492
|
image: t(i).avatar || t(e).user.picture || ""
|
|
@@ -3475,7 +3494,7 @@ const Pe = W("settings", () => {
|
|
|
3475
3494
|
a(f)
|
|
3476
3495
|
]),
|
|
3477
3496
|
_: 1
|
|
3478
|
-
}, 16, ["color", "icon", "loading", "variant"])
|
|
3497
|
+
}, 16, ["border", "color", "icon", "loading", "variant"])
|
|
3479
3498
|
]),
|
|
3480
3499
|
_: 1
|
|
3481
3500
|
}, 8, ["offset-y"]),
|
|
@@ -3483,7 +3502,7 @@ const Pe = W("settings", () => {
|
|
|
3483
3502
|
], 64);
|
|
3484
3503
|
};
|
|
3485
3504
|
}
|
|
3486
|
-
}),
|
|
3505
|
+
}), ws = /* @__PURE__ */ $({
|
|
3487
3506
|
__name: "VoAppBar",
|
|
3488
3507
|
props: {
|
|
3489
3508
|
logo: {}
|
|
@@ -3491,9 +3510,10 @@ const Pe = W("settings", () => {
|
|
|
3491
3510
|
setup(c) {
|
|
3492
3511
|
const e = c, n = Te(), i = Pe(), s = w(() => `https://cdn.vuetifyjs.com/docs/images/one/logos/${e.logo}-logo-${n.current.value.dark ? "dark" : "light"}.png`);
|
|
3493
3512
|
return (o, l) => {
|
|
3494
|
-
const m =
|
|
3513
|
+
const m = Be("router-link"), f = xt;
|
|
3495
3514
|
return d(), _(ft, {
|
|
3496
|
-
image: t(i).suit["app-bar"]
|
|
3515
|
+
image: t(i).suit["app-bar"],
|
|
3516
|
+
name: "vo-app-bar"
|
|
3497
3517
|
}, H({
|
|
3498
3518
|
prepend: r(() => [
|
|
3499
3519
|
a(m, {
|
|
@@ -3542,121 +3562,13 @@ const Pe = W("settings", () => {
|
|
|
3542
3562
|
]), 1032, ["image"]);
|
|
3543
3563
|
};
|
|
3544
3564
|
}
|
|
3545
|
-
}),
|
|
3546
|
-
key: 0,
|
|
3547
|
-
class: "v-footer__image"
|
|
3548
|
-
}, ws = /* @__PURE__ */ $({
|
|
3549
|
-
__name: "VoFooter",
|
|
3550
|
-
props: {
|
|
3551
|
-
image: {}
|
|
3552
|
-
},
|
|
3553
|
-
setup(c) {
|
|
3554
|
-
return (e, n) => (d(), _(Do, {
|
|
3555
|
-
class: "vo-footer",
|
|
3556
|
-
height: "40"
|
|
3557
|
-
}, {
|
|
3558
|
-
default: r(() => [
|
|
3559
|
-
e.image || e.$slots.image ? (d(), L("div", xs, [
|
|
3560
|
-
e.$slots.image ? D(e.$slots, "image", { key: 0 }, void 0, !0) : (d(), _(Z, {
|
|
3561
|
-
key: 1,
|
|
3562
|
-
cover: "",
|
|
3563
|
-
position: "left",
|
|
3564
|
-
src: e.image
|
|
3565
|
-
}, null, 8, ["src"]))
|
|
3566
|
-
])) : S("", !0),
|
|
3567
|
-
D(e.$slots, "default", {}, void 0, !0)
|
|
3568
|
-
]),
|
|
3569
|
-
_: 3
|
|
3570
|
-
}));
|
|
3571
|
-
}
|
|
3572
|
-
}), $t = (c, e) => {
|
|
3573
|
-
const n = c.__vccOpts || c;
|
|
3574
|
-
for (const [i, s] of e)
|
|
3575
|
-
n[i] = s;
|
|
3576
|
-
return n;
|
|
3577
|
-
}, xt = /* @__PURE__ */ $t(ws, [["__scopeId", "data-v-3135ada5"]]), Ss = (c) => (At("data-v-584be7b0"), c = c(), Dt(), c), Cs = ["href", "title"], Ls = {
|
|
3578
|
-
class: "text-caption text-disabled",
|
|
3579
|
-
style: { position: "absolute", right: "16px" }
|
|
3580
|
-
}, Is = /* @__PURE__ */ Ss(() => /* @__PURE__ */ b("span", { class: "d-none d-sm-inline-block" }, "Vuetify, LLC", -1)), As = /* @__PURE__ */ $({
|
|
3581
|
-
__name: "VoSocialFooter",
|
|
3582
|
-
setup(c) {
|
|
3583
|
-
const e = Pe(), n = [
|
|
3584
|
-
{
|
|
3585
|
-
title: "Vuetify Documentation",
|
|
3586
|
-
icon: "$vuetify",
|
|
3587
|
-
href: "https://vuetifyjs.com/"
|
|
3588
|
-
},
|
|
3589
|
-
{
|
|
3590
|
-
title: "Vuetify Support",
|
|
3591
|
-
icon: `svg:${mo}`,
|
|
3592
|
-
href: "https://support.vuetifyjs.com/"
|
|
3593
|
-
},
|
|
3594
|
-
{
|
|
3595
|
-
title: "Vuetify X",
|
|
3596
|
-
icon: "svg:M2.04875 3.00002L9.77052 13.3248L1.99998 21.7192H3.74882L10.5519 14.3697L16.0486 21.7192H22L13.8437 10.8137L21.0765 3.00002H19.3277L13.0624 9.76874L8.0001 3.00002H2.04875ZM4.62054 4.28821H7.35461L19.4278 20.4308H16.6937L4.62054 4.28821Z",
|
|
3597
|
-
href: "https://x.com/vuetifyjs"
|
|
3598
|
-
},
|
|
3599
|
-
{
|
|
3600
|
-
title: "Vuetify GitHub",
|
|
3601
|
-
icon: `svg:${Xe}`,
|
|
3602
|
-
href: "https://github.com/vuetifyjs/vuetify"
|
|
3603
|
-
},
|
|
3604
|
-
{
|
|
3605
|
-
title: "Vuetify Discord",
|
|
3606
|
-
icon: `svg:${Je}`,
|
|
3607
|
-
href: "https://community.vuetifyjs.com/"
|
|
3608
|
-
},
|
|
3609
|
-
{
|
|
3610
|
-
title: "Vuetify Reddit",
|
|
3611
|
-
icon: `svg:${fo}`,
|
|
3612
|
-
href: "https://reddit.com/r/vuetifyjs"
|
|
3613
|
-
}
|
|
3614
|
-
];
|
|
3615
|
-
return (i, s) => {
|
|
3616
|
-
const o = xt;
|
|
3617
|
-
return d(), _(o, {
|
|
3618
|
-
class: "vo-footer",
|
|
3619
|
-
height: "40",
|
|
3620
|
-
image: t(e).suit.footer
|
|
3621
|
-
}, H({
|
|
3622
|
-
default: r(() => [
|
|
3623
|
-
(d(), L(z, null, ne(n, (l) => b("a", {
|
|
3624
|
-
key: l.title,
|
|
3625
|
-
class: "d-inline-block mx-2 social-link",
|
|
3626
|
-
href: l.href,
|
|
3627
|
-
rel: "noopener noreferrer",
|
|
3628
|
-
target: "_blank",
|
|
3629
|
-
title: l.title
|
|
3630
|
-
}, [
|
|
3631
|
-
a(A, {
|
|
3632
|
-
icon: l.icon,
|
|
3633
|
-
size: l.icon === "$vuetify" ? 24 : 16
|
|
3634
|
-
}, null, 8, ["icon", "size"])
|
|
3635
|
-
], 8, Cs)), 64)),
|
|
3636
|
-
b("div", Ls, [
|
|
3637
|
-
F(" © 2016-" + C((/* @__PURE__ */ new Date()).getFullYear()) + " ", 1),
|
|
3638
|
-
Is
|
|
3639
|
-
])
|
|
3640
|
-
]),
|
|
3641
|
-
_: 2
|
|
3642
|
-
}, [
|
|
3643
|
-
i.$slots.image ? {
|
|
3644
|
-
name: "image",
|
|
3645
|
-
fn: r(() => [
|
|
3646
|
-
D(i.$slots, "image", {}, void 0, !0)
|
|
3647
|
-
]),
|
|
3648
|
-
key: "0"
|
|
3649
|
-
} : void 0
|
|
3650
|
-
]), 1032, ["image"]);
|
|
3651
|
-
};
|
|
3652
|
-
}
|
|
3653
|
-
}), Ds = /* @__PURE__ */ $t(As, [["__scopeId", "data-v-584be7b0"]]), Os = /* @__PURE__ */ $({
|
|
3565
|
+
}), Ss = /* @__PURE__ */ $({
|
|
3654
3566
|
__name: "VoNotificationsBanner",
|
|
3655
3567
|
props: {
|
|
3656
3568
|
demo: { type: Boolean }
|
|
3657
3569
|
},
|
|
3658
3570
|
setup(c) {
|
|
3659
|
-
const e = c, { mdAndUp: n } = ce(), i =
|
|
3571
|
+
const e = c, { mdAndUp: n } = ce(), i = Ne(), s = T(), o = Re(), l = w(() => o.banner), m = w(() => {
|
|
3660
3572
|
var g, y;
|
|
3661
3573
|
return ((g = l.value) == null ? void 0 : g.metadata.height) || ((y = l.value) != null && y.metadata.subtext ? 88 : 48);
|
|
3662
3574
|
}), f = w(() => e.demo ? !0 : !l.value || !s.notifications.last.banner.includes(l.value.slug));
|
|
@@ -3721,7 +3633,7 @@ const Pe = W("settings", () => {
|
|
|
3721
3633
|
...V,
|
|
3722
3634
|
...t(k)
|
|
3723
3635
|
}, {
|
|
3724
|
-
"append-icon": `svg:${t(
|
|
3636
|
+
"append-icon": `svg:${t(Ue)}`,
|
|
3725
3637
|
class: "text-none me-2",
|
|
3726
3638
|
color: t(l).metadata.link_color,
|
|
3727
3639
|
elevation: v ? 8 : 0,
|
|
@@ -3758,7 +3670,7 @@ const Pe = W("settings", () => {
|
|
|
3758
3670
|
]),
|
|
3759
3671
|
_: 1
|
|
3760
3672
|
})) : S("", !0),
|
|
3761
|
-
t(l).metadata.subtext ? (d(), _(
|
|
3673
|
+
t(l).metadata.subtext ? (d(), _(go, { key: 1 }, {
|
|
3762
3674
|
default: r(() => [
|
|
3763
3675
|
F(C(t(l).metadata.subtext), 1)
|
|
3764
3676
|
]),
|
|
@@ -3772,7 +3684,7 @@ const Pe = W("settings", () => {
|
|
|
3772
3684
|
}, 8, ["color", "height", "image", "location", "model-value"])) : S("", !0);
|
|
3773
3685
|
};
|
|
3774
3686
|
}
|
|
3775
|
-
}),
|
|
3687
|
+
}), Cs = {
|
|
3776
3688
|
key: 0,
|
|
3777
3689
|
class: "text-uppercase position-absolute ms-auto font-weight-medium on-surface-light",
|
|
3778
3690
|
style: { right: "12px", bottom: "8px", "font-size": "10px" }
|
|
@@ -3801,7 +3713,7 @@ const Pe = W("settings", () => {
|
|
|
3801
3713
|
]),
|
|
3802
3714
|
_: 3
|
|
3803
3715
|
}, 8, ["min-height"]),
|
|
3804
|
-
e.caption ? (d(), L("div",
|
|
3716
|
+
e.caption ? (d(), L("div", Cs, C(e.caption), 1)) : S("", !0)
|
|
3805
3717
|
]),
|
|
3806
3718
|
_: 2
|
|
3807
3719
|
}, [
|
|
@@ -3822,7 +3734,7 @@ const Pe = W("settings", () => {
|
|
|
3822
3734
|
]), 1024));
|
|
3823
3735
|
}
|
|
3824
3736
|
}), et = W("promotions", () => {
|
|
3825
|
-
const c = ie(), e =
|
|
3737
|
+
const c = ie(), e = B([]), n = B([]), i = B(), s = O(!1), o = O(!1), l = w(() => e.value.filter((p) => p.metadata.discoverable));
|
|
3826
3738
|
Ye(f);
|
|
3827
3739
|
function m(p) {
|
|
3828
3740
|
const v = p.filter((V) => V.metadata.active);
|
|
@@ -3903,7 +3815,7 @@ const Pe = W("settings", () => {
|
|
|
3903
3815
|
store: h,
|
|
3904
3816
|
update: k
|
|
3905
3817
|
};
|
|
3906
|
-
}),
|
|
3818
|
+
}), Ls = /* @__PURE__ */ $({
|
|
3907
3819
|
__name: "VoPromotionsCardHighlight",
|
|
3908
3820
|
props: {
|
|
3909
3821
|
slug: {}
|
|
@@ -3971,7 +3883,7 @@ const Pe = W("settings", () => {
|
|
|
3971
3883
|
]), 1032, ["color", "href", "image", "prepend-avatar", "title"])) : S("", !0);
|
|
3972
3884
|
};
|
|
3973
3885
|
}
|
|
3974
|
-
}),
|
|
3886
|
+
}), Is = { class: "d-flex ga-4" }, As = { class: "d-flex align-start ga-4" }, Ds = { class: "text-caption on-surface-light" }, Bs = /* @__PURE__ */ $({
|
|
3975
3887
|
__name: "VoPromotionsCardVuetify",
|
|
3976
3888
|
props: {
|
|
3977
3889
|
slug: {}
|
|
@@ -3997,7 +3909,7 @@ const Pe = W("settings", () => {
|
|
|
3997
3909
|
default: r(() => {
|
|
3998
3910
|
var h, k, g;
|
|
3999
3911
|
return [
|
|
4000
|
-
b("div",
|
|
3912
|
+
b("div", Is, [
|
|
4001
3913
|
t(n).hasLoaded ? t(s) ? (d(), L(z, { key: 1 }, [
|
|
4002
3914
|
a(Z, {
|
|
4003
3915
|
cover: "",
|
|
@@ -4008,8 +3920,8 @@ const Pe = W("settings", () => {
|
|
|
4008
3920
|
src: (k = (h = t(s).metadata) == null ? void 0 : h.images.default) == null ? void 0 : k.url,
|
|
4009
3921
|
width: "100%"
|
|
4010
3922
|
}, null, 8, ["src"]),
|
|
4011
|
-
b("div",
|
|
4012
|
-
b("div",
|
|
3923
|
+
b("div", As, [
|
|
3924
|
+
b("div", Ds, C((g = t(s).metadata) == null ? void 0 : g.text), 1)
|
|
4013
3925
|
])
|
|
4014
3926
|
], 64)) : S("", !0) : (d(), L(z, { key: 0 }, [
|
|
4015
3927
|
a(be, {
|
|
@@ -4035,7 +3947,39 @@ const Pe = W("settings", () => {
|
|
|
4035
3947
|
}, 8, ["href"])) : S("", !0);
|
|
4036
3948
|
};
|
|
4037
3949
|
}
|
|
4038
|
-
}),
|
|
3950
|
+
}), Os = {
|
|
3951
|
+
key: 0,
|
|
3952
|
+
class: "v-footer__image"
|
|
3953
|
+
}, Us = /* @__PURE__ */ $({
|
|
3954
|
+
__name: "VoFooter",
|
|
3955
|
+
props: {
|
|
3956
|
+
image: {}
|
|
3957
|
+
},
|
|
3958
|
+
setup(c) {
|
|
3959
|
+
return (e, n) => (d(), _(Uo, {
|
|
3960
|
+
class: "vo-footer",
|
|
3961
|
+
height: "40"
|
|
3962
|
+
}, {
|
|
3963
|
+
default: r(() => [
|
|
3964
|
+
e.image || e.$slots.image ? (d(), L("div", Os, [
|
|
3965
|
+
e.$slots.image ? D(e.$slots, "image", { key: 0 }, void 0, !0) : (d(), _(Z, {
|
|
3966
|
+
key: 1,
|
|
3967
|
+
cover: "",
|
|
3968
|
+
position: "left",
|
|
3969
|
+
src: e.image
|
|
3970
|
+
}, null, 8, ["src"]))
|
|
3971
|
+
])) : S("", !0),
|
|
3972
|
+
D(e.$slots, "default", {}, void 0, !0)
|
|
3973
|
+
]),
|
|
3974
|
+
_: 3
|
|
3975
|
+
}));
|
|
3976
|
+
}
|
|
3977
|
+
}), St = (c, e) => {
|
|
3978
|
+
const n = c.__vccOpts || c;
|
|
3979
|
+
for (const [i, s] of e)
|
|
3980
|
+
n[i] = s;
|
|
3981
|
+
return n;
|
|
3982
|
+
}, Ct = /* @__PURE__ */ St(Us, [["__scopeId", "data-v-3135ada5"]]), Ns = ["href"], zs = /* @__PURE__ */ $({
|
|
4039
3983
|
__name: "VoPromotionsFooter",
|
|
4040
3984
|
props: {
|
|
4041
3985
|
slug: {}
|
|
@@ -4059,7 +4003,7 @@ const Pe = W("settings", () => {
|
|
|
4059
4003
|
e.slug && await n.show(e.slug);
|
|
4060
4004
|
}), (f, u) => {
|
|
4061
4005
|
var k;
|
|
4062
|
-
const h =
|
|
4006
|
+
const h = Ct;
|
|
4063
4007
|
return d(), _(h, {
|
|
4064
4008
|
color: ((k = t(o)) == null ? void 0 : k.metadata.color) ?? "surface",
|
|
4065
4009
|
image: t(m),
|
|
@@ -4090,14 +4034,14 @@ const Pe = W("settings", () => {
|
|
|
4090
4034
|
text: "SPONSORED",
|
|
4091
4035
|
variant: "flat"
|
|
4092
4036
|
})) : S("", !0)
|
|
4093
|
-
], 8,
|
|
4037
|
+
], 8, Ns)
|
|
4094
4038
|
];
|
|
4095
4039
|
}),
|
|
4096
4040
|
_: 1
|
|
4097
4041
|
}, 8, ["color", "image"]);
|
|
4098
4042
|
};
|
|
4099
4043
|
}
|
|
4100
|
-
}),
|
|
4044
|
+
}), Ts = ["id"], Fs = /* @__PURE__ */ $({
|
|
4101
4045
|
__name: "VoScript",
|
|
4102
4046
|
props: {
|
|
4103
4047
|
id: {
|
|
@@ -4115,24 +4059,100 @@ const Pe = W("settings", () => {
|
|
|
4115
4059
|
},
|
|
4116
4060
|
emits: ["script:error", "script:load"],
|
|
4117
4061
|
setup(c, { emit: e }) {
|
|
4118
|
-
const n = c, i = e, s =
|
|
4062
|
+
const n = c, i = e, s = B(), o = B();
|
|
4119
4063
|
return Ye(async () => {
|
|
4120
4064
|
const l = document.createElement("script"), m = () => i("script:error");
|
|
4121
4065
|
l.type = "text/javascript", l.id = n.scriptId, l.src = n.src, l.onload = () => i("script:load"), l.onerror = m, o.value = l;
|
|
4122
4066
|
}), Qe(() => {
|
|
4123
4067
|
var l;
|
|
4124
4068
|
o.value && ((l = s.value) == null || l.appendChild(o.value));
|
|
4125
|
-
}),
|
|
4069
|
+
}), Bt(() => {
|
|
4126
4070
|
var l;
|
|
4127
4071
|
o.value && ((l = s.value) == null || l.removeChild(o.value));
|
|
4128
4072
|
}), (l, m) => (d(), L("div", {
|
|
4129
4073
|
id: c.id,
|
|
4130
4074
|
ref_key: "rootEl",
|
|
4131
4075
|
ref: s
|
|
4132
|
-
}, null, 8,
|
|
4076
|
+
}, null, 8, Ts));
|
|
4077
|
+
}
|
|
4078
|
+
}), js = (c) => (Ot("data-v-584be7b0"), c = c(), Ut(), c), Ms = ["href", "title"], Ps = {
|
|
4079
|
+
class: "text-caption text-disabled",
|
|
4080
|
+
style: { position: "absolute", right: "16px" }
|
|
4081
|
+
}, Hs = /* @__PURE__ */ js(() => /* @__PURE__ */ b("span", { class: "d-none d-sm-inline-block" }, "Vuetify, LLC", -1)), Rs = /* @__PURE__ */ $({
|
|
4082
|
+
__name: "VoSocialFooter",
|
|
4083
|
+
setup(c) {
|
|
4084
|
+
const e = Pe(), n = [
|
|
4085
|
+
{
|
|
4086
|
+
title: "Vuetify Documentation",
|
|
4087
|
+
icon: "$vuetify",
|
|
4088
|
+
href: "https://vuetifyjs.com/"
|
|
4089
|
+
},
|
|
4090
|
+
{
|
|
4091
|
+
title: "Vuetify Support",
|
|
4092
|
+
icon: `svg:${vo}`,
|
|
4093
|
+
href: "https://support.vuetifyjs.com/"
|
|
4094
|
+
},
|
|
4095
|
+
{
|
|
4096
|
+
title: "Vuetify X",
|
|
4097
|
+
icon: "svg:M2.04875 3.00002L9.77052 13.3248L1.99998 21.7192H3.74882L10.5519 14.3697L16.0486 21.7192H22L13.8437 10.8137L21.0765 3.00002H19.3277L13.0624 9.76874L8.0001 3.00002H2.04875ZM4.62054 4.28821H7.35461L19.4278 20.4308H16.6937L4.62054 4.28821Z",
|
|
4098
|
+
href: "https://x.com/vuetifyjs"
|
|
4099
|
+
},
|
|
4100
|
+
{
|
|
4101
|
+
title: "Vuetify GitHub",
|
|
4102
|
+
icon: `svg:${Xe}`,
|
|
4103
|
+
href: "https://github.com/vuetifyjs/vuetify"
|
|
4104
|
+
},
|
|
4105
|
+
{
|
|
4106
|
+
title: "Vuetify Discord",
|
|
4107
|
+
icon: `svg:${Je}`,
|
|
4108
|
+
href: "https://community.vuetifyjs.com/"
|
|
4109
|
+
},
|
|
4110
|
+
{
|
|
4111
|
+
title: "Vuetify Reddit",
|
|
4112
|
+
icon: `svg:${ho}`,
|
|
4113
|
+
href: "https://reddit.com/r/vuetifyjs"
|
|
4114
|
+
}
|
|
4115
|
+
];
|
|
4116
|
+
return (i, s) => {
|
|
4117
|
+
const o = Ct;
|
|
4118
|
+
return d(), _(o, {
|
|
4119
|
+
class: "vo-footer",
|
|
4120
|
+
height: "40",
|
|
4121
|
+
image: t(e).suit.footer
|
|
4122
|
+
}, H({
|
|
4123
|
+
default: r(() => [
|
|
4124
|
+
(d(), L(z, null, ne(n, (l) => b("a", {
|
|
4125
|
+
key: l.title,
|
|
4126
|
+
class: "d-inline-block mx-2 social-link",
|
|
4127
|
+
href: l.href,
|
|
4128
|
+
rel: "noopener noreferrer",
|
|
4129
|
+
target: "_blank",
|
|
4130
|
+
title: l.title
|
|
4131
|
+
}, [
|
|
4132
|
+
a(A, {
|
|
4133
|
+
icon: l.icon,
|
|
4134
|
+
size: l.icon === "$vuetify" ? 24 : 16
|
|
4135
|
+
}, null, 8, ["icon", "size"])
|
|
4136
|
+
], 8, Ms)), 64)),
|
|
4137
|
+
b("div", Ps, [
|
|
4138
|
+
F(" © 2016-" + C((/* @__PURE__ */ new Date()).getFullYear()) + " ", 1),
|
|
4139
|
+
Hs
|
|
4140
|
+
])
|
|
4141
|
+
]),
|
|
4142
|
+
_: 2
|
|
4143
|
+
}, [
|
|
4144
|
+
i.$slots.image ? {
|
|
4145
|
+
name: "image",
|
|
4146
|
+
fn: r(() => [
|
|
4147
|
+
D(i.$slots, "image", {}, void 0, !0)
|
|
4148
|
+
]),
|
|
4149
|
+
key: "0"
|
|
4150
|
+
} : void 0
|
|
4151
|
+
]), 1032, ["image"]);
|
|
4152
|
+
};
|
|
4133
4153
|
}
|
|
4134
|
-
}), Rs = W("spots", () => {
|
|
4135
|
-
const c = ie(), e = Vt(), n =
|
|
4154
|
+
}), Es = /* @__PURE__ */ St(Rs, [["__scopeId", "data-v-584be7b0"]]), qs = W("spots", () => {
|
|
4155
|
+
const c = ie(), e = Vt(), n = B([]), i = B([]), s = B(), o = O(!1), l = w(() => s.value ? s.value : n.value.find(({
|
|
4136
4156
|
metadata: {
|
|
4137
4157
|
site: y,
|
|
4138
4158
|
active: p
|
|
@@ -4211,10 +4231,10 @@ const Pe = W("settings", () => {
|
|
|
4211
4231
|
update: h,
|
|
4212
4232
|
destroy: k
|
|
4213
4233
|
};
|
|
4214
|
-
}),
|
|
4234
|
+
}), Ws = ["href"], Gs = /* @__PURE__ */ $({
|
|
4215
4235
|
__name: "VoSpot",
|
|
4216
4236
|
setup(c) {
|
|
4217
|
-
const e =
|
|
4237
|
+
const e = qs();
|
|
4218
4238
|
return (n, i) => {
|
|
4219
4239
|
var s;
|
|
4220
4240
|
return t(e).spot ? (d(), L("a", {
|
|
@@ -4230,12 +4250,12 @@ const Pe = W("settings", () => {
|
|
|
4230
4250
|
src: (s = t(e).spot.metadata.image) == null ? void 0 : s.url,
|
|
4231
4251
|
width: "225"
|
|
4232
4252
|
}, null, 8, ["color", "src"])
|
|
4233
|
-
], 8,
|
|
4253
|
+
], 8, Ws)) : S("", !0);
|
|
4234
4254
|
};
|
|
4235
4255
|
}
|
|
4236
|
-
}),
|
|
4237
|
-
const c = M(), e = ie(), n =
|
|
4238
|
-
|
|
4256
|
+
}), Na = W("bins", () => {
|
|
4257
|
+
const c = M(), e = ie(), n = B([]), i = B(), s = O(!1), o = O(-1), l = w(() => !c.user || !i.value ? !1 : c.user.id === i.value.owner.id), m = w(() => n.value.filter((v) => v.favorite)), f = w(() => n.value.filter((v) => v.pinned));
|
|
4258
|
+
N(i, () => {
|
|
4239
4259
|
window.clearTimeout(o.value), o.value = window.setTimeout(() => {
|
|
4240
4260
|
!i.value || !l.value || g(i.value, i.value.id);
|
|
4241
4261
|
}, 100);
|
|
@@ -4274,8 +4294,8 @@ const Pe = W("settings", () => {
|
|
|
4274
4294
|
async function g(v, V) {
|
|
4275
4295
|
try {
|
|
4276
4296
|
s.value = !0;
|
|
4277
|
-
const
|
|
4278
|
-
n.value.splice(j, 1,
|
|
4297
|
+
const U = await e.post(`/one/bins/${V}`, { bin: v }), j = n.value.findIndex((re) => re.id === V);
|
|
4298
|
+
n.value.splice(j, 1, U.bin);
|
|
4279
4299
|
} catch {
|
|
4280
4300
|
} finally {
|
|
4281
4301
|
s.value = !1;
|
|
@@ -4285,8 +4305,8 @@ const Pe = W("settings", () => {
|
|
|
4285
4305
|
async function y(v, V) {
|
|
4286
4306
|
try {
|
|
4287
4307
|
s.value = !0;
|
|
4288
|
-
const
|
|
4289
|
-
i.value =
|
|
4308
|
+
const U = V ? await g(v, V) : await k(v);
|
|
4309
|
+
i.value = U.bin;
|
|
4290
4310
|
} catch {
|
|
4291
4311
|
} finally {
|
|
4292
4312
|
s.value = !1;
|
|
@@ -4318,8 +4338,8 @@ const Pe = W("settings", () => {
|
|
|
4318
4338
|
update: g,
|
|
4319
4339
|
updateOrCreate: y
|
|
4320
4340
|
};
|
|
4321
|
-
}),
|
|
4322
|
-
const c = ie(), e =
|
|
4341
|
+
}), za = W("products", () => {
|
|
4342
|
+
const c = ie(), e = B([]), n = w(() => e.value.filter((o) => o.product_type === "Themes"));
|
|
4323
4343
|
async function i() {
|
|
4324
4344
|
if (e.value.length)
|
|
4325
4345
|
return e.value;
|
|
@@ -4340,29 +4360,29 @@ const Pe = W("settings", () => {
|
|
|
4340
4360
|
randomize: s
|
|
4341
4361
|
};
|
|
4342
4362
|
});
|
|
4343
|
-
function
|
|
4363
|
+
function Ta() {
|
|
4344
4364
|
function c(e) {
|
|
4345
|
-
e.component("VoAppBar",
|
|
4365
|
+
e.component("VoAppBar", ws), e.component("VoAuthBtn", xt), e.component("VoAuthCard", _t), e.component("VoAuthDialog", gt), e.component("VoAuthListItem", yt), e.component("VoIconBin", $t), e.component("VoIconIssues", kt), e.component("VoNotificationsBanner", Ss), e.component("VoPromotionsCardHighlight", Ls), e.component("VoPromotionsCardVuetify", Bs), e.component("VoPromotionsFooter", zs), e.component("VoScript", Fs), e.component("VoSocialFooter", Es), e.component("VoSpot", Gs);
|
|
4346
4366
|
}
|
|
4347
4367
|
return { install: c };
|
|
4348
4368
|
}
|
|
4349
|
-
function
|
|
4369
|
+
function Fa(c, e) {
|
|
4350
4370
|
return function(n) {
|
|
4351
4371
|
const i = n.store;
|
|
4352
4372
|
i.url = e, i.$id === "site" && (i.id = c);
|
|
4353
4373
|
};
|
|
4354
4374
|
}
|
|
4355
4375
|
export {
|
|
4356
|
-
|
|
4357
|
-
|
|
4376
|
+
Ta as createOne,
|
|
4377
|
+
Fa as one,
|
|
4358
4378
|
M as useAuthStore,
|
|
4359
4379
|
Re as useBannersStore,
|
|
4360
|
-
|
|
4380
|
+
Na as useBinsStore,
|
|
4361
4381
|
ie as useHttpStore,
|
|
4362
4382
|
P as useOneStore,
|
|
4363
|
-
|
|
4383
|
+
za as useProductsStore,
|
|
4364
4384
|
et as usePromotionsStore,
|
|
4365
4385
|
Pe as useSettingsStore,
|
|
4366
|
-
|
|
4386
|
+
qs as useSpotsStore,
|
|
4367
4387
|
T as useUserStore
|
|
4368
4388
|
};
|