@vuetify/one 1.0.10 → 1.0.12
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 +311 -305
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { reactive as
|
|
2
|
-
import { defineStore as
|
|
1
|
+
import { reactive as Ze, toRefs as Ke, ref as ee, shallowRef as F, computed as L, defineComponent as V, openBlock as d, createBlock as v, withCtx as i, renderSlot as B, normalizeStyle as Be, createSlots as G, createCommentVNode as $, watch as W, unref as e, createElementVNode as _, toDisplayString as I, createVNode as o, withModifiers as ze, mergeModels as et, useModel as fe, createElementBlock as w, Fragment as N, createTextVNode as j, renderList as se, mergeProps as Q, onBeforeMount as tt, onMounted as Te, resolveComponent as Re, withDirectives as Le, vShow as He, normalizeClass as ot, pushScopeId as st, popScopeId as nt } from "vue";
|
|
2
|
+
import { defineStore as te } from "pinia";
|
|
3
3
|
import { merge as ke } from "lodash-es";
|
|
4
4
|
import { VBadge as Me } from "vuetify/lib/components/VBadge/index.mjs";
|
|
5
5
|
import { VBtn as Z } from "vuetify/lib/components/VBtn/index.mjs";
|
|
6
|
-
import { VProgressCircular as
|
|
7
|
-
import { mdiDiscord as Ie, mdiGithub as Ae, mdiSync as
|
|
8
|
-
import { VListItem as
|
|
9
|
-
import { VAvatar as
|
|
6
|
+
import { VProgressCircular as it } from "vuetify/lib/components/VProgressCircular/index.mjs";
|
|
7
|
+
import { mdiDiscord as Ie, mdiGithub as Ae, mdiSync as at, mdiSyncOff as rt, mdiLogoutVariant as lt, mdiCheck as oe, mdiHome as ct, mdiTextBox as ut, mdiSpaceInvaders as Pe, mdiWhiteBalanceSunny as dt, mdiWeatherNight as pt, mdiDesktopTowerMonitor as mt, mdiImageFilterHdr as ft, mdiRocketLaunchOutline as vt, mdiContrastCircle as _t, mdiCog as ht, mdiCogOutline as gt, mdiFileDocument as bt, mdiCreditCardSettingsOutline as yt, mdiRocketOutline as Vt, mdiCheckCircleOutline as ae, mdiCreditCard as kt, mdiReload as $t, mdiPlaylistCheck as xt, mdiCreditCardOutline as wt, mdiHandHeart as St, mdiInformationOutline as je, mdiMedal as $e, mdiChartLine as Ct, mdiHandHeartOutline as Lt, mdiEmailOpenOutline as It, mdiEmailVariant as At, mdiOpenInNew as Dt, mdiBell as Ut, mdiInboxOutline as Ft, mdiInboxFullOutline as Nt, mdiBellOutline as jt, mdiViewDashboardOutline as Ot, mdiTrashCan as Bt, mdiBug as zt, mdiCrown as Tt, mdiArrowULeftBottom as Rt, mdiLogin as Ht, mdiShieldStarOutline as Mt, mdiReddit as Pt } from "@mdi/js";
|
|
8
|
+
import { VListItem as ve, VList as ne, VListItemTitle as Et } from "vuetify/lib/components/VList/index.mjs";
|
|
9
|
+
import { VAvatar as pe } from "vuetify/lib/components/VAvatar/index.mjs";
|
|
10
10
|
import { VCard as R, VCardText as X } from "vuetify/lib/components/VCard/index.mjs";
|
|
11
11
|
import { VSheet as Ee } from "vuetify/lib/components/VSheet/index.mjs";
|
|
12
12
|
import { VSwitch as We } from "vuetify/lib/components/VSwitch/index.mjs";
|
|
13
|
-
import { VFadeTransition as De, VExpandTransition as
|
|
14
|
-
import { useDisplay as
|
|
15
|
-
import { VDialog as
|
|
13
|
+
import { VFadeTransition as De, VExpandTransition as le, VExpandXTransition as Wt } from "vuetify/lib/components/transitions/index.mjs";
|
|
14
|
+
import { useDisplay as _e, useTheme as Gt, useDate as he } from "vuetify";
|
|
15
|
+
import { VDialog as qt } from "vuetify/lib/components/VDialog/index.mjs";
|
|
16
16
|
import { VDivider as H } from "vuetify/lib/components/VDivider/index.mjs";
|
|
17
17
|
import { VIcon as U } from "vuetify/lib/components/VIcon/index.mjs";
|
|
18
18
|
import { VLabel as Se } from "vuetify/lib/components/VLabel/index.mjs";
|
|
19
19
|
import { VChip as q } from "vuetify/lib/components/VChip/index.mjs";
|
|
20
|
-
import { VChipGroup as
|
|
21
|
-
import { VSelect as
|
|
22
|
-
import { VRow as
|
|
20
|
+
import { VChipGroup as Yt } from "vuetify/lib/components/VChipGroup/index.mjs";
|
|
21
|
+
import { VSelect as Jt } from "vuetify/lib/components/VSelect/index.mjs";
|
|
22
|
+
import { VRow as ge, VCol as re } from "vuetify/lib/components/VGrid/index.mjs";
|
|
23
23
|
import { VHover as Ge } from "vuetify/lib/components/VHover/index.mjs";
|
|
24
24
|
import { VImg as Ue } from "vuetify/lib/components/VImg/index.mjs";
|
|
25
25
|
import { VItemGroup as qe, VItem as Ce } from "vuetify/lib/components/VItemGroup/index.mjs";
|
|
26
26
|
import { VLayout as Fe } from "vuetify/lib/components/VLayout/index.mjs";
|
|
27
27
|
import { VMain as Ne } from "vuetify/lib/components/VMain/index.mjs";
|
|
28
|
-
import { VDataTableVirtual as
|
|
28
|
+
import { VDataTableVirtual as Qt } from "vuetify/lib/components/VDataTable/index.mjs";
|
|
29
29
|
import { VSkeletonLoader as Oe } from "vuetify/lib/components/VSkeletonLoader/index.mjs";
|
|
30
|
-
import { VWindow as Ye, VWindowItem as
|
|
31
|
-
import { VTimeline as
|
|
32
|
-
import { VResponsive as
|
|
33
|
-
import { VTooltip as
|
|
34
|
-
import { VNavigationDrawer as
|
|
35
|
-
import { Ripple as
|
|
36
|
-
import { VColorPicker as
|
|
37
|
-
import { VMenu as
|
|
38
|
-
import { VFooter as
|
|
39
|
-
const
|
|
30
|
+
import { VWindow as Ye, VWindowItem as me } from "vuetify/lib/components/VWindow/index.mjs";
|
|
31
|
+
import { VTimeline as Xt, VTimelineItem as xe } from "vuetify/lib/components/VTimeline/index.mjs";
|
|
32
|
+
import { VResponsive as Zt } from "vuetify/lib/components/VResponsive/index.mjs";
|
|
33
|
+
import { VTooltip as ie } from "vuetify/lib/components/VTooltip/index.mjs";
|
|
34
|
+
import { VNavigationDrawer as Kt } from "vuetify/lib/components/VNavigationDrawer/index.mjs";
|
|
35
|
+
import { Ripple as eo } from "vuetify/lib/directives/index.mjs";
|
|
36
|
+
import { VColorPicker as to } from "vuetify/lib/components/VColorPicker/index.mjs";
|
|
37
|
+
import { VMenu as oo } from "vuetify/lib/components/VMenu/index.mjs";
|
|
38
|
+
import { VFooter as so } from "vuetify/lib/components/VFooter/index.mjs";
|
|
39
|
+
const be = te("http", {
|
|
40
40
|
state: () => ({
|
|
41
41
|
url: ""
|
|
42
42
|
}),
|
|
@@ -68,7 +68,7 @@ const ge = ee("http", {
|
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
}), we = typeof window < "u",
|
|
71
|
+
}), we = typeof window < "u", de = {
|
|
72
72
|
v: 5,
|
|
73
73
|
api: "link-only",
|
|
74
74
|
avatar: "",
|
|
@@ -106,29 +106,29 @@ const ge = ee("http", {
|
|
|
106
106
|
jobs: null
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
-
}, M =
|
|
110
|
-
const u =
|
|
109
|
+
}, M = te("user", () => {
|
|
110
|
+
const u = Ze(ke({}, de));
|
|
111
111
|
function t() {
|
|
112
112
|
if (!we)
|
|
113
113
|
return;
|
|
114
114
|
const n = localStorage.getItem("vuetify@user"), r = n ? JSON.parse(n) : {};
|
|
115
115
|
let c = r.v === u.v;
|
|
116
|
-
r.v || (r.pwaRefresh = !0, typeof r.api == "boolean" && (r.api = r.api ? "inline" : "link-only"), typeof r.rtl == "boolean" && (r.direction = r.rtl ? "rtl" : "ltr", delete r.rtl), typeof r.theme == "object" && (r.mixedTheme = r.theme.mixed, r.theme = r.theme.system ? "system" : r.theme.dark ? "dark" : "light"), Array.isArray(r.notifications) && (r.notifications = { read: r.notifications }), typeof r.last == "object" && (r.notifications.last = r.last, delete r.last)), r.v === 1 && (Array.isArray(r.composition) && (r.composition = "composition"), Array.isArray(r.notifications.last.banner) || (r.notifications = r.notifications || {}, r.notifications.last = r.notifications.last || {}, r.notifications.last.banner = [])), r.v === 2 && (r.syncSettings = !0, r.disableAds = !1, r.v = 3), r.v === 3 && (r.quickbar = !1), r.v === 4 && (r.suits =
|
|
116
|
+
r.v || (r.pwaRefresh = !0, typeof r.api == "boolean" && (r.api = r.api ? "inline" : "link-only"), typeof r.rtl == "boolean" && (r.direction = r.rtl ? "rtl" : "ltr", delete r.rtl), typeof r.theme == "object" && (r.mixedTheme = r.theme.mixed, r.theme = r.theme.system ? "system" : r.theme.dark ? "dark" : "light"), Array.isArray(r.notifications) && (r.notifications = { read: r.notifications }), typeof r.last == "object" && (r.notifications.last = r.last, delete r.last)), r.v === 1 && (Array.isArray(r.composition) && (r.composition = "composition"), Array.isArray(r.notifications.last.banner) || (r.notifications = r.notifications || {}, r.notifications.last = r.notifications.last || {}, r.notifications.last.banner = [])), r.v === 2 && (r.syncSettings = !0, r.disableAds = !1, r.v = 3), r.v === 3 && (r.quickbar = !1), r.v === 4 && (r.suits = de.suits, r.notifications.banners = de.notifications.banners, c = !0), r.v = u.v, Object.assign(u, ke(u, r)), c && a();
|
|
117
117
|
}
|
|
118
118
|
function a() {
|
|
119
119
|
we && localStorage.setItem("vuetify@user", JSON.stringify(u, null, 2));
|
|
120
120
|
}
|
|
121
121
|
function s() {
|
|
122
|
-
we && (Object.assign(u, ke({},
|
|
122
|
+
we && (Object.assign(u, ke({}, de)), a());
|
|
123
123
|
}
|
|
124
124
|
return t(), {
|
|
125
|
-
...
|
|
125
|
+
...Ke(u),
|
|
126
126
|
load: t,
|
|
127
127
|
save: a,
|
|
128
128
|
reset: s
|
|
129
129
|
};
|
|
130
|
-
}),
|
|
131
|
-
const u =
|
|
130
|
+
}), ye = te("notifications", () => {
|
|
131
|
+
const u = be(), t = M(), a = ee([]), s = F(!1), n = L(() => a.value.filter((l) => !t.notifications.read.includes(l.slug))), r = L(() => a.value.filter((l) => t.notifications.read.includes(l.slug)));
|
|
132
132
|
async function c() {
|
|
133
133
|
try {
|
|
134
134
|
s.value = !0;
|
|
@@ -147,10 +147,10 @@ const ge = ee("http", {
|
|
|
147
147
|
read: r,
|
|
148
148
|
unread: n
|
|
149
149
|
};
|
|
150
|
-
}),
|
|
150
|
+
}), no = /* @__PURE__ */ V({
|
|
151
151
|
__name: "VoNotificationsTotalBadge",
|
|
152
152
|
setup(u) {
|
|
153
|
-
const t =
|
|
153
|
+
const t = ye(), a = L(() => t.unread.length);
|
|
154
154
|
return (s, n) => (d(), v(Me, {
|
|
155
155
|
content: a.value,
|
|
156
156
|
"model-value": a.value > 0,
|
|
@@ -163,7 +163,7 @@ const ge = ee("http", {
|
|
|
163
163
|
_: 3
|
|
164
164
|
}, 8, ["content", "model-value"]));
|
|
165
165
|
}
|
|
166
|
-
}),
|
|
166
|
+
}), ce = /* @__PURE__ */ V({
|
|
167
167
|
__name: "VoBtn",
|
|
168
168
|
props: {
|
|
169
169
|
readonly: { type: Boolean }
|
|
@@ -181,7 +181,7 @@ const ge = ee("http", {
|
|
|
181
181
|
variant: "flat"
|
|
182
182
|
}, G({
|
|
183
183
|
loader: i(() => [
|
|
184
|
-
a.$slots.loader ? $("", !0) : (d(), v(
|
|
184
|
+
a.$slots.loader ? $("", !0) : (d(), v(it, {
|
|
185
185
|
key: 0,
|
|
186
186
|
indeterminate: "disable-shrink",
|
|
187
187
|
size: "16",
|
|
@@ -200,8 +200,8 @@ const ge = ee("http", {
|
|
|
200
200
|
} : void 0
|
|
201
201
|
]), 1032, ["style", "tabindex"]));
|
|
202
202
|
}
|
|
203
|
-
}), z =
|
|
204
|
-
const u =
|
|
203
|
+
}), z = te("auth", () => {
|
|
204
|
+
const u = ee(null), t = be(), a = M(), s = F(!1), n = L(() => {
|
|
205
205
|
var m, k;
|
|
206
206
|
return !t.url || ((m = u.value) == null ? void 0 : m.isAdmin) || !!((k = u.value) != null && k.sponsorships.some((D) => D.isActive));
|
|
207
207
|
});
|
|
@@ -281,10 +281,10 @@ const ge = ee("http", {
|
|
|
281
281
|
var k;
|
|
282
282
|
return (k = u.value) == null ? void 0 : k.identities.find((D) => D.provider === m);
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function C() {
|
|
285
285
|
return localStorage.getItem("vuetify@lastLoginProvider");
|
|
286
286
|
}
|
|
287
|
-
return
|
|
287
|
+
return C() && l(), {
|
|
288
288
|
user: u,
|
|
289
289
|
url: t.url,
|
|
290
290
|
isLoading: s,
|
|
@@ -293,14 +293,14 @@ const ge = ee("http", {
|
|
|
293
293
|
login: h,
|
|
294
294
|
logout: p,
|
|
295
295
|
isSubscriber: n,
|
|
296
|
-
lastLoginProvider:
|
|
296
|
+
lastLoginProvider: C,
|
|
297
297
|
sync: c
|
|
298
298
|
};
|
|
299
|
-
}),
|
|
299
|
+
}), io = { class: "text-body-2" }, ao = /* @__PURE__ */ _("div", { class: "text-caption mt-n1" }, "Last Used", -1), ro = /* @__PURE__ */ V({
|
|
300
300
|
__name: "VoAuthDiscord",
|
|
301
301
|
setup(u) {
|
|
302
302
|
const t = z(), a = L(() => t.user && t.findIdentity("discord")), s = L(() => t.user ? a.value ? "Connected to Discord" : "Connect Discord" : "Log in with Discord");
|
|
303
|
-
return (n, r) => (d(), v(
|
|
303
|
+
return (n, r) => (d(), v(ve, {
|
|
304
304
|
"prepend-icon": `svg:${e(Ie)}`,
|
|
305
305
|
"base-color": "#5865F2",
|
|
306
306
|
rounded: "pill",
|
|
@@ -309,24 +309,24 @@ const ge = ee("http", {
|
|
|
309
309
|
onClick: r[0] || (r[0] = (c) => e(t).login("discord"))
|
|
310
310
|
}, G({
|
|
311
311
|
title: i(() => [
|
|
312
|
-
_("span",
|
|
312
|
+
_("span", io, I(s.value), 1)
|
|
313
313
|
]),
|
|
314
314
|
_: 2
|
|
315
315
|
}, [
|
|
316
316
|
!e(t).user && e(t).lastLoginProvider() === "discord" ? {
|
|
317
317
|
name: "subtitle",
|
|
318
318
|
fn: i(() => [
|
|
319
|
-
|
|
319
|
+
ao
|
|
320
320
|
]),
|
|
321
321
|
key: "0"
|
|
322
322
|
} : void 0
|
|
323
323
|
]), 1032, ["prepend-icon"]));
|
|
324
324
|
}
|
|
325
|
-
}),
|
|
325
|
+
}), lo = { class: "text-body-2" }, co = /* @__PURE__ */ _("div", { class: "text-caption mt-n1" }, "Last Used", -1), uo = /* @__PURE__ */ V({
|
|
326
326
|
__name: "VoAuthGithub",
|
|
327
327
|
setup(u) {
|
|
328
328
|
const t = z(), a = L(() => t.user && t.findIdentity("github")), s = L(() => t.user ? a.value ? "Connected to GitHub" : "Connect GitHub" : "Log in with GitHub");
|
|
329
|
-
return (n, r) => (d(), v(
|
|
329
|
+
return (n, r) => (d(), v(ve, {
|
|
330
330
|
"prepend-icon": `svg:${e(Ae)}`,
|
|
331
331
|
"base-color": "#2a2a2a",
|
|
332
332
|
rounded: "pill",
|
|
@@ -335,20 +335,20 @@ const ge = ee("http", {
|
|
|
335
335
|
onClick: r[0] || (r[0] = (c) => e(t).login("github"))
|
|
336
336
|
}, G({
|
|
337
337
|
title: i(() => [
|
|
338
|
-
_("span",
|
|
338
|
+
_("span", lo, I(s.value), 1)
|
|
339
339
|
]),
|
|
340
340
|
_: 2
|
|
341
341
|
}, [
|
|
342
342
|
!e(t).user && e(t).lastLoginProvider() === "github" ? {
|
|
343
343
|
name: "subtitle",
|
|
344
344
|
fn: i(() => [
|
|
345
|
-
|
|
345
|
+
co
|
|
346
346
|
]),
|
|
347
347
|
key: "0"
|
|
348
348
|
} : void 0
|
|
349
349
|
]), 1032, ["prepend-icon"]));
|
|
350
350
|
}
|
|
351
|
-
}),
|
|
351
|
+
}), po = { class: "pa-4 d-flex flex-column ga-4" }, mo = /* @__PURE__ */ V({
|
|
352
352
|
__name: "VoAuthListItem",
|
|
353
353
|
setup(u) {
|
|
354
354
|
const t = z(), a = M(), s = F(!t.user && !t.isLoading);
|
|
@@ -359,18 +359,18 @@ const ge = ee("http", {
|
|
|
359
359
|
t.user && (s.value = !s.value);
|
|
360
360
|
}
|
|
361
361
|
return (r, c) => {
|
|
362
|
-
const l =
|
|
362
|
+
const l = uo, h = ro;
|
|
363
363
|
return d(), v(R, {
|
|
364
364
|
variant: s.value ? "tonal" : "text",
|
|
365
365
|
class: "ma-2",
|
|
366
366
|
rounded: "lg"
|
|
367
367
|
}, {
|
|
368
368
|
default: i(() => [
|
|
369
|
-
o(
|
|
369
|
+
o(ne, { class: "py-0" }, {
|
|
370
370
|
default: i(() => [
|
|
371
|
-
o(
|
|
371
|
+
o(ve, {
|
|
372
372
|
link: !!e(t).user,
|
|
373
|
-
"prepend-icon": `svg:${e(t).user && e(a).syncSettings ? e(
|
|
373
|
+
"prepend-icon": `svg:${e(t).user && e(a).syncSettings ? e(at) : e(rt)}`,
|
|
374
374
|
title: e(t).user && e(a).syncSettings ? "Sync is on" : "Sync is paused",
|
|
375
375
|
class: "mb-0",
|
|
376
376
|
rounded: "b-0",
|
|
@@ -393,7 +393,7 @@ const ge = ee("http", {
|
|
|
393
393
|
}, ["stop"]))
|
|
394
394
|
}, {
|
|
395
395
|
thumb: i(() => [
|
|
396
|
-
o(
|
|
396
|
+
o(pe, {
|
|
397
397
|
color: e(a).syncSettings ? "success" : void 0
|
|
398
398
|
}, null, 8, ["color"])
|
|
399
399
|
]),
|
|
@@ -405,7 +405,7 @@ const ge = ee("http", {
|
|
|
405
405
|
]),
|
|
406
406
|
_: 1
|
|
407
407
|
}, 8, ["link", "prepend-icon", "title"]),
|
|
408
|
-
o(
|
|
408
|
+
o(le, null, {
|
|
409
409
|
default: i(() => [
|
|
410
410
|
!e(t).user && !e(t).isLoading || s.value ? (d(), v(Ee, {
|
|
411
411
|
key: 0,
|
|
@@ -413,7 +413,7 @@ const ge = ee("http", {
|
|
|
413
413
|
color: "transparent"
|
|
414
414
|
}, {
|
|
415
415
|
default: i(() => [
|
|
416
|
-
_("div",
|
|
416
|
+
_("div", po, [
|
|
417
417
|
o(l, {
|
|
418
418
|
onClick: c[2] || (c[2] = (p) => s.value = !1)
|
|
419
419
|
}),
|
|
@@ -438,7 +438,7 @@ const ge = ee("http", {
|
|
|
438
438
|
}), Y = /* @__PURE__ */ V({
|
|
439
439
|
__name: "VoListItem",
|
|
440
440
|
setup(u) {
|
|
441
|
-
return (t, a) => (d(), v(
|
|
441
|
+
return (t, a) => (d(), v(ve, { slim: "" }, G({
|
|
442
442
|
default: i(() => [
|
|
443
443
|
B(t.$slots, "default")
|
|
444
444
|
]),
|
|
@@ -467,7 +467,7 @@ const ge = ee("http", {
|
|
|
467
467
|
} : void 0
|
|
468
468
|
]), 1024));
|
|
469
469
|
}
|
|
470
|
-
}),
|
|
470
|
+
}), fo = /* @__PURE__ */ V({
|
|
471
471
|
__name: "VoAuthLogoutListItem",
|
|
472
472
|
setup(u) {
|
|
473
473
|
const t = z(), a = F(!1);
|
|
@@ -479,7 +479,7 @@ const ge = ee("http", {
|
|
|
479
479
|
return d(), v(c, {
|
|
480
480
|
disabled: a.value,
|
|
481
481
|
loading: a.value,
|
|
482
|
-
"prepend-icon": `svg:${e(
|
|
482
|
+
"prepend-icon": `svg:${e(lt)}`,
|
|
483
483
|
class: "mb-0",
|
|
484
484
|
title: "Logout",
|
|
485
485
|
link: "",
|
|
@@ -487,9 +487,9 @@ const ge = ee("http", {
|
|
|
487
487
|
}, null, 8, ["disabled", "loading", "prepend-icon"]);
|
|
488
488
|
};
|
|
489
489
|
}
|
|
490
|
-
}),
|
|
490
|
+
}), Ve = /* @__PURE__ */ V({
|
|
491
491
|
__name: "VoDialog",
|
|
492
|
-
props: /* @__PURE__ */
|
|
492
|
+
props: /* @__PURE__ */ et({
|
|
493
493
|
prependIcon: {},
|
|
494
494
|
title: {}
|
|
495
495
|
}, {
|
|
@@ -498,8 +498,8 @@ const ge = ee("http", {
|
|
|
498
498
|
}),
|
|
499
499
|
emits: ["update:modelValue"],
|
|
500
500
|
setup(u) {
|
|
501
|
-
const t =
|
|
502
|
-
return (s, n) => (d(), v(
|
|
501
|
+
const t = fe(u, "modelValue"), a = _e();
|
|
502
|
+
return (s, n) => (d(), v(qt, {
|
|
503
503
|
modelValue: t.value,
|
|
504
504
|
"onUpdate:modelValue": n[1] || (n[1] = (r) => t.value = r),
|
|
505
505
|
fullscreen: e(a).xs.value,
|
|
@@ -558,7 +558,7 @@ const ge = ee("http", {
|
|
|
558
558
|
setup(u) {
|
|
559
559
|
return (t, a) => (d(), v(We, {
|
|
560
560
|
disabled: t.disabled,
|
|
561
|
-
"true-icon": `svg:${e(
|
|
561
|
+
"true-icon": `svg:${e(oe)}`,
|
|
562
562
|
color: "primary",
|
|
563
563
|
density: "compact",
|
|
564
564
|
inset: ""
|
|
@@ -579,10 +579,10 @@ const ge = ee("http", {
|
|
|
579
579
|
} : void 0
|
|
580
580
|
]), 1032, ["disabled", "true-icon"]));
|
|
581
581
|
}
|
|
582
|
-
}),
|
|
582
|
+
}), vo = {
|
|
583
583
|
key: 1,
|
|
584
584
|
class: "mb-3 text-caption text-medium-emphasis"
|
|
585
|
-
},
|
|
585
|
+
}, ue = /* @__PURE__ */ V({
|
|
586
586
|
__name: "VoDialogSubheader",
|
|
587
587
|
props: {
|
|
588
588
|
title: {},
|
|
@@ -595,14 +595,14 @@ const ge = ee("http", {
|
|
|
595
595
|
class: "font-weight-black"
|
|
596
596
|
}, {
|
|
597
597
|
default: i(() => [
|
|
598
|
-
j(
|
|
598
|
+
j(I(t.title), 1)
|
|
599
599
|
]),
|
|
600
600
|
_: 1
|
|
601
601
|
})) : $("", !0),
|
|
602
|
-
t.text ? (d(), w("div",
|
|
602
|
+
t.text ? (d(), w("div", vo, I(t.text), 1)) : $("", !0)
|
|
603
603
|
], 64));
|
|
604
604
|
}
|
|
605
|
-
}),
|
|
605
|
+
}), _o = { key: 0 }, ho = /* @__PURE__ */ V({
|
|
606
606
|
__name: "VoSettingsPageSuitOption",
|
|
607
607
|
setup(u) {
|
|
608
608
|
const t = M(), a = [
|
|
@@ -628,7 +628,7 @@ const ge = ee("http", {
|
|
|
628
628
|
// },
|
|
629
629
|
];
|
|
630
630
|
return (s, n) => {
|
|
631
|
-
const r = Je, c =
|
|
631
|
+
const r = Je, c = ue;
|
|
632
632
|
return d(), w(N, null, [
|
|
633
633
|
o(r, {
|
|
634
634
|
modelValue: e(t).suits.show,
|
|
@@ -637,10 +637,10 @@ const ge = ee("http", {
|
|
|
637
637
|
label: "Enable Page suits",
|
|
638
638
|
messages: "Customize layout elements with a unique background, styled after one of our themed releases."
|
|
639
639
|
}, null, 8, ["modelValue"]),
|
|
640
|
-
o(
|
|
640
|
+
o(le, null, {
|
|
641
641
|
default: i(() => [
|
|
642
|
-
e(t).suits.show ? (d(), w("div",
|
|
643
|
-
o(
|
|
642
|
+
e(t).suits.show ? (d(), w("div", _o, [
|
|
643
|
+
o(Jt, {
|
|
644
644
|
modelValue: e(t).suits.suit,
|
|
645
645
|
"onUpdate:modelValue": n[1] || (n[1] = (l) => e(t).suits.suit = l),
|
|
646
646
|
items: a,
|
|
@@ -658,12 +658,12 @@ const ge = ee("http", {
|
|
|
658
658
|
size: "x-small",
|
|
659
659
|
start: ""
|
|
660
660
|
}, null, 8, ["icon"]),
|
|
661
|
-
j(" " +
|
|
661
|
+
j(" " + I(l.title), 1)
|
|
662
662
|
]),
|
|
663
663
|
_: 1
|
|
664
664
|
}, 8, ["modelValue"]),
|
|
665
665
|
o(c, { text: "Select your suit elements to display the background image:" }),
|
|
666
|
-
o(
|
|
666
|
+
o(Yt, {
|
|
667
667
|
modelValue: e(t).suits.elements,
|
|
668
668
|
"onUpdate:modelValue": n[2] || (n[2] = (l) => e(t).suits.elements = l),
|
|
669
669
|
color: "primary",
|
|
@@ -672,7 +672,7 @@ const ge = ee("http", {
|
|
|
672
672
|
}, {
|
|
673
673
|
default: i(() => [
|
|
674
674
|
o(q, {
|
|
675
|
-
"append-icon": `svg:${e(
|
|
675
|
+
"append-icon": `svg:${e(ct)}`,
|
|
676
676
|
"filter-icon": "$success",
|
|
677
677
|
text: "App Bar",
|
|
678
678
|
value: "app-bar",
|
|
@@ -688,7 +688,7 @@ const ge = ee("http", {
|
|
|
688
688
|
_: 1
|
|
689
689
|
}, 8, ["append-icon"]),
|
|
690
690
|
o(q, {
|
|
691
|
-
"append-icon": `svg:${e(
|
|
691
|
+
"append-icon": `svg:${e(ut)}`,
|
|
692
692
|
"filter-icon": "$success",
|
|
693
693
|
text: "Navigation Drawer",
|
|
694
694
|
value: "drawer",
|
|
@@ -730,7 +730,7 @@ const ge = ee("http", {
|
|
|
730
730
|
};
|
|
731
731
|
}
|
|
732
732
|
});
|
|
733
|
-
function
|
|
733
|
+
function go() {
|
|
734
734
|
return {
|
|
735
735
|
blackguard: {
|
|
736
736
|
dark: !0,
|
|
@@ -846,8 +846,8 @@ function ho() {
|
|
|
846
846
|
}
|
|
847
847
|
};
|
|
848
848
|
}
|
|
849
|
-
const Qe =
|
|
850
|
-
const u = "https://cdn.vuetifyjs.com/docs/images/one/", t = z(), a = M(), s =
|
|
849
|
+
const Qe = te("settings", () => {
|
|
850
|
+
const u = "https://cdn.vuetifyjs.com/docs/images/one/", t = z(), a = M(), s = Gt(), n = go(), r = {
|
|
851
851
|
blackguard: {
|
|
852
852
|
"app-bar": u + "suits/blackguard/blackguard-app-bar.png",
|
|
853
853
|
drawer: u + "suits/blackguard/blackguard-app-drawer.png",
|
|
@@ -880,7 +880,7 @@ const Qe = ee("settings", () => {
|
|
|
880
880
|
suit: c,
|
|
881
881
|
CDN_URL: u
|
|
882
882
|
};
|
|
883
|
-
}),
|
|
883
|
+
}), bo = /* @__PURE__ */ V({
|
|
884
884
|
__name: "VoSettingsDialog",
|
|
885
885
|
props: {
|
|
886
886
|
modelValue: { type: Boolean },
|
|
@@ -888,26 +888,26 @@ const Qe = ee("settings", () => {
|
|
|
888
888
|
},
|
|
889
889
|
emits: ["update:modelValue"],
|
|
890
890
|
setup(u) {
|
|
891
|
-
const t =
|
|
891
|
+
const t = fe(u, "modelValue"), a = z(), s = Qe(), n = M(), r = [
|
|
892
892
|
{
|
|
893
893
|
title: "Light",
|
|
894
894
|
subtitle: "A standard light theme.",
|
|
895
895
|
image: s.CDN_URL + "themes/light.png",
|
|
896
|
-
prependIcon: `svg:${
|
|
896
|
+
prependIcon: `svg:${dt}`,
|
|
897
897
|
value: "light"
|
|
898
898
|
},
|
|
899
899
|
{
|
|
900
900
|
title: "Dark",
|
|
901
901
|
subtitle: "A standard dark theme.",
|
|
902
902
|
image: s.CDN_URL + "themes/dark.png",
|
|
903
|
-
prependIcon: `svg:${
|
|
903
|
+
prependIcon: `svg:${pt}`,
|
|
904
904
|
value: "dark"
|
|
905
905
|
},
|
|
906
906
|
{
|
|
907
907
|
title: "System",
|
|
908
908
|
subtitle: "A theme based on the system preference.",
|
|
909
909
|
image: s.CDN_URL + "themes/system.png",
|
|
910
|
-
prependIcon: `svg:${
|
|
910
|
+
prependIcon: `svg:${mt}`,
|
|
911
911
|
value: "system"
|
|
912
912
|
},
|
|
913
913
|
{
|
|
@@ -921,7 +921,7 @@ const Qe = ee("settings", () => {
|
|
|
921
921
|
title: "Polaris",
|
|
922
922
|
subtitle: "A theme for v3.5 Polaris.",
|
|
923
923
|
image: s.CDN_URL + "themes/polaris.png",
|
|
924
|
-
prependIcon: `svg:${
|
|
924
|
+
prependIcon: `svg:${ft}`,
|
|
925
925
|
value: "polaris",
|
|
926
926
|
disabled: !0
|
|
927
927
|
},
|
|
@@ -929,7 +929,7 @@ const Qe = ee("settings", () => {
|
|
|
929
929
|
title: "Nebula",
|
|
930
930
|
subtitle: "A theme for v3.6 Nebula.",
|
|
931
931
|
image: s.CDN_URL + "themes/nebula.png",
|
|
932
|
-
prependIcon: `svg:${
|
|
932
|
+
prependIcon: `svg:${vt}`,
|
|
933
933
|
value: "nebula",
|
|
934
934
|
disabled: !0
|
|
935
935
|
},
|
|
@@ -937,17 +937,17 @@ const Qe = ee("settings", () => {
|
|
|
937
937
|
title: "High Contrast",
|
|
938
938
|
subtitle: "A theme for high contrast.",
|
|
939
939
|
image: s.CDN_URL + "themes/high-contrast.png",
|
|
940
|
-
prependIcon: `svg:${
|
|
940
|
+
prependIcon: `svg:${_t}`,
|
|
941
941
|
value: "highContrast",
|
|
942
942
|
disabled: !0
|
|
943
943
|
}
|
|
944
944
|
];
|
|
945
945
|
return (c, l) => {
|
|
946
|
-
const h =
|
|
947
|
-
return d(), v(
|
|
946
|
+
const h = ue, p = ho, g = Je, C = Ve;
|
|
947
|
+
return d(), v(C, {
|
|
948
948
|
modelValue: t.value,
|
|
949
949
|
"onUpdate:modelValue": l[5] || (l[5] = (m) => t.value = m),
|
|
950
|
-
"prepend-icon": `svg:${e(
|
|
950
|
+
"prepend-icon": `svg:${e(ht)}`,
|
|
951
951
|
title: "Settings"
|
|
952
952
|
}, {
|
|
953
953
|
default: i(() => [
|
|
@@ -967,11 +967,12 @@ const Qe = ee("settings", () => {
|
|
|
967
967
|
mandatory: ""
|
|
968
968
|
}, {
|
|
969
969
|
default: i(() => [
|
|
970
|
-
o(
|
|
970
|
+
o(ge, { dense: "" }, {
|
|
971
971
|
default: i(() => [
|
|
972
|
-
(d(), w(N, null,
|
|
972
|
+
(d(), w(N, null, se(r, (m, k) => o(re, {
|
|
973
973
|
key: k,
|
|
974
|
-
cols: "
|
|
974
|
+
cols: "12",
|
|
975
|
+
md: "6"
|
|
975
976
|
}, {
|
|
976
977
|
default: i(() => [
|
|
977
978
|
o(Ce, {
|
|
@@ -1085,15 +1086,15 @@ const Qe = ee("settings", () => {
|
|
|
1085
1086
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
1086
1087
|
};
|
|
1087
1088
|
}
|
|
1088
|
-
}),
|
|
1089
|
+
}), yo = /* @__PURE__ */ V({
|
|
1089
1090
|
__name: "VoSettingsListItem",
|
|
1090
1091
|
setup(u) {
|
|
1091
1092
|
const t = F(!1);
|
|
1092
1093
|
return (a, s) => {
|
|
1093
|
-
const n =
|
|
1094
|
+
const n = bo, r = Y;
|
|
1094
1095
|
return d(), v(r, {
|
|
1095
1096
|
active: t.value,
|
|
1096
|
-
"prepend-icon": `svg:${e(
|
|
1097
|
+
"prepend-icon": `svg:${e(gt)}`,
|
|
1097
1098
|
title: "Settings",
|
|
1098
1099
|
link: ""
|
|
1099
1100
|
}, {
|
|
@@ -1107,8 +1108,8 @@ const Qe = ee("settings", () => {
|
|
|
1107
1108
|
}, 8, ["active", "prepend-icon"]);
|
|
1108
1109
|
};
|
|
1109
1110
|
}
|
|
1110
|
-
}), J =
|
|
1111
|
-
const t = new URLSearchParams(window.location.search).get("session_id"), a = z(), s =
|
|
1111
|
+
}), J = te("one", () => {
|
|
1112
|
+
const t = new URLSearchParams(window.location.search).get("session_id"), a = z(), s = be(), n = F(!1), r = ee(!1), c = ee(), l = ee([]), h = L(() => {
|
|
1112
1113
|
var f;
|
|
1113
1114
|
return (f = c.value) == null ? void 0 : f.items[0].plan.interval;
|
|
1114
1115
|
}), p = L(() => {
|
|
@@ -1117,7 +1118,7 @@ const Qe = ee("settings", () => {
|
|
|
1117
1118
|
}), g = L(() => {
|
|
1118
1119
|
var f;
|
|
1119
1120
|
return !!((f = p.value) != null && f.tierName);
|
|
1120
|
-
}),
|
|
1121
|
+
}), C = L(() => {
|
|
1121
1122
|
var f;
|
|
1122
1123
|
return (f = p.value) == null ? void 0 : f.isActive;
|
|
1123
1124
|
}), m = L(() => {
|
|
@@ -1131,11 +1132,16 @@ const Qe = ee("settings", () => {
|
|
|
1131
1132
|
return (f = a.user) == null ? void 0 : f.sponsorships.find((y) => y.platform === "patreon");
|
|
1132
1133
|
}), b = L(() => {
|
|
1133
1134
|
var f;
|
|
1134
|
-
return (f = a.user) == null ? void 0 : f.sponsorships.reduce((y,
|
|
1135
|
+
return (f = a.user) == null ? void 0 : f.sponsorships.reduce((y, K) => {
|
|
1136
|
+
if (!K.isActive || K.interval === "once" || K.platform === "stripe")
|
|
1137
|
+
return y;
|
|
1138
|
+
const Xe = K.interval === "month" ? K.amount : K.amount / 12;
|
|
1139
|
+
return y + Xe / 100;
|
|
1140
|
+
}, 0);
|
|
1135
1141
|
});
|
|
1136
|
-
|
|
1142
|
+
tt(async () => {
|
|
1137
1143
|
t && await x();
|
|
1138
|
-
}), W(
|
|
1144
|
+
}), W(C, (f, y) => {
|
|
1139
1145
|
f === !1 && y !== !0 || P();
|
|
1140
1146
|
});
|
|
1141
1147
|
async function x() {
|
|
@@ -1218,7 +1224,7 @@ const Qe = ee("settings", () => {
|
|
|
1218
1224
|
hasBilling: g,
|
|
1219
1225
|
isLoading: n,
|
|
1220
1226
|
isOpen: r,
|
|
1221
|
-
isSubscriber:
|
|
1227
|
+
isSubscriber: C,
|
|
1222
1228
|
github: m,
|
|
1223
1229
|
patreon: D,
|
|
1224
1230
|
discord: k,
|
|
@@ -1230,15 +1236,15 @@ const Qe = ee("settings", () => {
|
|
|
1230
1236
|
subscriptionInfo: T,
|
|
1231
1237
|
verify: P
|
|
1232
1238
|
};
|
|
1233
|
-
}),
|
|
1239
|
+
}), Vo = { class: "text-caption" }, ko = /* @__PURE__ */ V({
|
|
1234
1240
|
__name: "VoSubscriptionInvoices",
|
|
1235
1241
|
setup(u) {
|
|
1236
|
-
const t =
|
|
1242
|
+
const t = he(), a = J();
|
|
1237
1243
|
return (s, n) => {
|
|
1238
|
-
const r =
|
|
1239
|
-
return d(), v(
|
|
1244
|
+
const r = ue;
|
|
1245
|
+
return d(), v(ge, null, {
|
|
1240
1246
|
default: i(() => [
|
|
1241
|
-
o(
|
|
1247
|
+
o(re, { cols: "12" }, {
|
|
1242
1248
|
default: i(() => [
|
|
1243
1249
|
o(r, {
|
|
1244
1250
|
text: "View and download your invoice history.",
|
|
@@ -1250,16 +1256,16 @@ const Qe = ee("settings", () => {
|
|
|
1250
1256
|
border: ""
|
|
1251
1257
|
}, {
|
|
1252
1258
|
default: i(() => [
|
|
1253
|
-
o(
|
|
1259
|
+
o(Qt, {
|
|
1254
1260
|
items: e(a).invoices,
|
|
1255
1261
|
loading: e(a).isLoading,
|
|
1256
1262
|
sticky: ""
|
|
1257
1263
|
}, {
|
|
1258
1264
|
"item.date": i(({ item: c }) => [
|
|
1259
|
-
_("div",
|
|
1265
|
+
_("div", Vo, I(e(t).format(new Date(c.date * 1e3), "fullDateWithWeekday")), 1)
|
|
1260
1266
|
]),
|
|
1261
1267
|
"item.amount": i(({ item: c }) => [
|
|
1262
|
-
j(" $" +
|
|
1268
|
+
j(" $" + I(c.amount / 100), 1)
|
|
1263
1269
|
]),
|
|
1264
1270
|
"item.status": i(({ item: c }) => [
|
|
1265
1271
|
o(q, {
|
|
@@ -1275,7 +1281,7 @@ const Qe = ee("settings", () => {
|
|
|
1275
1281
|
"item.pdf": i(({ item: c }) => [
|
|
1276
1282
|
o(Z, {
|
|
1277
1283
|
href: c.pdf,
|
|
1278
|
-
icon: `svg:${e(
|
|
1284
|
+
icon: `svg:${e(bt)}`,
|
|
1279
1285
|
size: "small",
|
|
1280
1286
|
target: "_blank",
|
|
1281
1287
|
variant: "text"
|
|
@@ -1294,14 +1300,14 @@ const Qe = ee("settings", () => {
|
|
|
1294
1300
|
});
|
|
1295
1301
|
};
|
|
1296
1302
|
}
|
|
1297
|
-
}),
|
|
1303
|
+
}), $o = { class: "d-flex align-center" }, xo = {
|
|
1298
1304
|
key: "status",
|
|
1299
1305
|
class: "text-capitalize hidden-sm-and-down"
|
|
1300
|
-
},
|
|
1306
|
+
}, wo = /* @__PURE__ */ _("span", { class: "mx-1 hidden-sm-and-down" }, "—", -1), So = { class: "me-1" }, Co = { class: "text-medium-emphasis text-caption" }, Lo = { class: "d-flex align-start justify-space-between text-caption py-2" }, Io = { class: "font-weight-bold" }, Ao = { class: "font-weight-bold" }, Do = /* @__PURE__ */ V({
|
|
1301
1307
|
__name: "VoSubscriptionStatus",
|
|
1302
1308
|
emits: ["change:subscription"],
|
|
1303
1309
|
setup(u, { emit: t }) {
|
|
1304
|
-
const a =
|
|
1310
|
+
const a = he(), s = J(), n = t, r = L(() => {
|
|
1305
1311
|
if (!s.info)
|
|
1306
1312
|
return;
|
|
1307
1313
|
const l = new Date(s.info.currentPeriodEnd * 1e3);
|
|
@@ -1311,12 +1317,12 @@ const Qe = ee("settings", () => {
|
|
|
1311
1317
|
s.interval && (s.isLoading = !0, s.subscribe(s.interval));
|
|
1312
1318
|
}
|
|
1313
1319
|
return (l, h) => {
|
|
1314
|
-
const p =
|
|
1315
|
-
return d(), v(
|
|
1320
|
+
const p = ce;
|
|
1321
|
+
return d(), v(ge, null, {
|
|
1316
1322
|
default: i(() => [
|
|
1317
|
-
o(
|
|
1323
|
+
o(re, { cols: "12" }, {
|
|
1318
1324
|
default: i(() => {
|
|
1319
|
-
var g,
|
|
1325
|
+
var g, C;
|
|
1320
1326
|
return [
|
|
1321
1327
|
o(R, {
|
|
1322
1328
|
"prepend-icon": "$vuetify",
|
|
@@ -1341,7 +1347,7 @@ const Qe = ee("settings", () => {
|
|
|
1341
1347
|
e(s).hasBilling ? (d(), v(p, {
|
|
1342
1348
|
key: 1,
|
|
1343
1349
|
loading: e(s).isLoading,
|
|
1344
|
-
"prepend-icon": `svg:${e(
|
|
1350
|
+
"prepend-icon": `svg:${e(yt)}`,
|
|
1345
1351
|
text: "Billing",
|
|
1346
1352
|
onClick: e(s).manage
|
|
1347
1353
|
}, null, 8, ["loading", "prepend-icon", "onClick"])) : $("", !0)
|
|
@@ -1352,13 +1358,13 @@ const Qe = ee("settings", () => {
|
|
|
1352
1358
|
e(s).info ? {
|
|
1353
1359
|
name: "subtitle",
|
|
1354
1360
|
fn: i(() => [
|
|
1355
|
-
_("div",
|
|
1356
|
-
_("span",
|
|
1361
|
+
_("div", $o, [
|
|
1362
|
+
_("span", xo, I(e(s).info.status), 1),
|
|
1357
1363
|
e(s).info.items.length ? (d(), w(N, { key: 0 }, [
|
|
1358
|
-
|
|
1359
|
-
_("span",
|
|
1360
|
-
j(" $" +
|
|
1361
|
-
_("span",
|
|
1364
|
+
wo,
|
|
1365
|
+
_("span", So, [
|
|
1366
|
+
j(" $" + I(e(s).info.items[0].plan.amount / 100), 1),
|
|
1367
|
+
_("span", Co, "/" + I(e(s).interval), 1)
|
|
1362
1368
|
]),
|
|
1363
1369
|
o(p, {
|
|
1364
1370
|
size: "x-small",
|
|
@@ -1390,15 +1396,15 @@ const Qe = ee("settings", () => {
|
|
|
1390
1396
|
key: "1"
|
|
1391
1397
|
}
|
|
1392
1398
|
]), 1024),
|
|
1393
|
-
_("div",
|
|
1399
|
+
_("div", Lo, [
|
|
1394
1400
|
_("div", null, [
|
|
1395
1401
|
((g = e(s).info) == null ? void 0 : g.status) === "active" ? (d(), w(N, { key: 0 }, [
|
|
1396
1402
|
j(" Your plan renews on "),
|
|
1397
|
-
_("span",
|
|
1403
|
+
_("span", Io, I(e(a).format(r.value, "fullDateWithWeekday")), 1),
|
|
1398
1404
|
j(". ")
|
|
1399
1405
|
], 64)) : (d(), w(N, { key: 1 }, [
|
|
1400
1406
|
j(" Your plan ends on "),
|
|
1401
|
-
_("span",
|
|
1407
|
+
_("span", Ao, I(e(a).format((C = e(s).info) == null ? void 0 : C.currentPeriodEnd, "fullDateWithWeekday")), 1),
|
|
1402
1408
|
j(". ")
|
|
1403
1409
|
], 64))
|
|
1404
1410
|
])
|
|
@@ -1412,7 +1418,7 @@ const Qe = ee("settings", () => {
|
|
|
1412
1418
|
});
|
|
1413
1419
|
};
|
|
1414
1420
|
}
|
|
1415
|
-
}),
|
|
1421
|
+
}), Uo = /* @__PURE__ */ _("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The Vuetify One subscription comes with the following perks: ", -1), Fo = ["innerHTML"], No = /* @__PURE__ */ _("br", null, null, -1), jo = /* @__PURE__ */ _("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The following features are in development and coming soon: ", -1), Oo = ["innerHTML"], Bo = /* @__PURE__ */ V({
|
|
1416
1422
|
__name: "VoSubscriptionPerks",
|
|
1417
1423
|
setup(u) {
|
|
1418
1424
|
const t = [
|
|
@@ -1437,17 +1443,17 @@ const Qe = ee("settings", () => {
|
|
|
1437
1443
|
]),
|
|
1438
1444
|
_: 1
|
|
1439
1445
|
}),
|
|
1440
|
-
|
|
1441
|
-
o(
|
|
1446
|
+
Uo,
|
|
1447
|
+
o(ne, {
|
|
1442
1448
|
lines: !1,
|
|
1443
1449
|
class: "py-0",
|
|
1444
1450
|
density: "compact",
|
|
1445
1451
|
nav: ""
|
|
1446
1452
|
}, {
|
|
1447
1453
|
default: i(() => [
|
|
1448
|
-
(d(), w(N, null,
|
|
1454
|
+
(d(), w(N, null, se(t, (h, p) => o(l, {
|
|
1449
1455
|
key: p,
|
|
1450
|
-
"prepend-icon": `svg:${e(
|
|
1456
|
+
"prepend-icon": `svg:${e(oe)}`,
|
|
1451
1457
|
class: "mb-0"
|
|
1452
1458
|
}, {
|
|
1453
1459
|
prepend: i(() => [
|
|
@@ -1458,31 +1464,31 @@ const Qe = ee("settings", () => {
|
|
|
1458
1464
|
})
|
|
1459
1465
|
]),
|
|
1460
1466
|
title: i(() => [
|
|
1461
|
-
_("div", { innerHTML: h }, null, 8,
|
|
1467
|
+
_("div", { innerHTML: h }, null, 8, Fo)
|
|
1462
1468
|
]),
|
|
1463
1469
|
_: 2
|
|
1464
1470
|
}, 1032, ["prepend-icon"])), 64))
|
|
1465
1471
|
]),
|
|
1466
1472
|
_: 1
|
|
1467
1473
|
}),
|
|
1468
|
-
|
|
1474
|
+
No,
|
|
1469
1475
|
o(Se, { class: "font-weight-black" }, {
|
|
1470
1476
|
default: i(() => [
|
|
1471
1477
|
j("Up Next")
|
|
1472
1478
|
]),
|
|
1473
1479
|
_: 1
|
|
1474
1480
|
}),
|
|
1475
|
-
|
|
1476
|
-
o(
|
|
1481
|
+
jo,
|
|
1482
|
+
o(ne, {
|
|
1477
1483
|
lines: !1,
|
|
1478
1484
|
class: "py-0",
|
|
1479
1485
|
density: "compact",
|
|
1480
1486
|
nav: ""
|
|
1481
1487
|
}, {
|
|
1482
1488
|
default: i(() => [
|
|
1483
|
-
(d(), w(N, null,
|
|
1489
|
+
(d(), w(N, null, se(a, (h, p) => o(l, {
|
|
1484
1490
|
key: p,
|
|
1485
|
-
"prepend-icon": `svg:${e(
|
|
1491
|
+
"prepend-icon": `svg:${e(Vt)}`,
|
|
1486
1492
|
class: "mb-0"
|
|
1487
1493
|
}, {
|
|
1488
1494
|
prepend: i(() => [
|
|
@@ -1492,7 +1498,7 @@ const Qe = ee("settings", () => {
|
|
|
1492
1498
|
})
|
|
1493
1499
|
]),
|
|
1494
1500
|
title: i(() => [
|
|
1495
|
-
_("div", { innerHTML: h }, null, 8,
|
|
1501
|
+
_("div", { innerHTML: h }, null, 8, Oo)
|
|
1496
1502
|
]),
|
|
1497
1503
|
_: 2
|
|
1498
1504
|
}, 1032, ["prepend-icon"])), 64))
|
|
@@ -1502,7 +1508,7 @@ const Qe = ee("settings", () => {
|
|
|
1502
1508
|
], 64);
|
|
1503
1509
|
};
|
|
1504
1510
|
}
|
|
1505
|
-
}),
|
|
1511
|
+
}), zo = /* @__PURE__ */ V({
|
|
1506
1512
|
__name: "VoSubscriptionSubscribe",
|
|
1507
1513
|
props: {
|
|
1508
1514
|
modelValue: {
|
|
@@ -1512,7 +1518,7 @@ const Qe = ee("settings", () => {
|
|
|
1512
1518
|
},
|
|
1513
1519
|
emits: ["update:modelValue"],
|
|
1514
1520
|
setup(u) {
|
|
1515
|
-
const t = F(!1), a =
|
|
1521
|
+
const t = F(!1), a = fe(u, "modelValue"), s = J();
|
|
1516
1522
|
return W(t, async (n) => {
|
|
1517
1523
|
n && s.subscriptionInfo();
|
|
1518
1524
|
}), W(() => s.interval, (n) => {
|
|
@@ -1522,9 +1528,9 @@ const Qe = ee("settings", () => {
|
|
|
1522
1528
|
"onUpdate:modelValue": r[0] || (r[0] = (c) => a.value = c)
|
|
1523
1529
|
}, {
|
|
1524
1530
|
default: i(() => [
|
|
1525
|
-
o(
|
|
1531
|
+
o(ge, null, {
|
|
1526
1532
|
default: i(() => [
|
|
1527
|
-
o(
|
|
1533
|
+
o(re, {
|
|
1528
1534
|
cols: "12",
|
|
1529
1535
|
md: "6"
|
|
1530
1536
|
}, {
|
|
@@ -1534,7 +1540,7 @@ const Qe = ee("settings", () => {
|
|
|
1534
1540
|
o(R, {
|
|
1535
1541
|
border: l ? "sm primary opacity-100" : "sm",
|
|
1536
1542
|
color: l ? "primary" : void 0,
|
|
1537
|
-
"prepend-icon": l ? `svg:${e(
|
|
1543
|
+
"prepend-icon": l ? `svg:${e(ae)}` : "$radioOff",
|
|
1538
1544
|
variant: l ? "tonal" : "text",
|
|
1539
1545
|
rounded: "lg",
|
|
1540
1546
|
subtitle: "$2.99/month",
|
|
@@ -1552,7 +1558,7 @@ const Qe = ee("settings", () => {
|
|
|
1552
1558
|
]),
|
|
1553
1559
|
_: 1
|
|
1554
1560
|
}),
|
|
1555
|
-
o(
|
|
1561
|
+
o(re, {
|
|
1556
1562
|
cols: "12",
|
|
1557
1563
|
md: "6"
|
|
1558
1564
|
}, {
|
|
@@ -1562,7 +1568,7 @@ const Qe = ee("settings", () => {
|
|
|
1562
1568
|
o(R, {
|
|
1563
1569
|
border: l ? "sm primary opacity-100" : "sm",
|
|
1564
1570
|
color: l ? "primary" : void 0,
|
|
1565
|
-
"prepend-icon": l ? `svg:${e(
|
|
1571
|
+
"prepend-icon": l ? `svg:${e(ae)}` : "$radioOff",
|
|
1566
1572
|
variant: l ? "tonal" : "text",
|
|
1567
1573
|
rounded: "lg",
|
|
1568
1574
|
subtitle: "$29.99/year",
|
|
@@ -1596,7 +1602,7 @@ const Qe = ee("settings", () => {
|
|
|
1596
1602
|
_: 1
|
|
1597
1603
|
}, 8, ["modelValue"]));
|
|
1598
1604
|
}
|
|
1599
|
-
}),
|
|
1605
|
+
}), To = { class: "px-3 h-screen" }, Ro = /* @__PURE__ */ _("br", null, null, -1), Ho = { class: "flex-grow-1 px-4 pb-3 overflow-hidden" }, Mo = /* @__PURE__ */ V({
|
|
1600
1606
|
__name: "VoSubscriptionDialog",
|
|
1601
1607
|
props: {
|
|
1602
1608
|
modelValue: { type: Boolean },
|
|
@@ -1607,7 +1613,7 @@ const Qe = ee("settings", () => {
|
|
|
1607
1613
|
function t(h) {
|
|
1608
1614
|
return new Promise((p) => setTimeout(p, h));
|
|
1609
1615
|
}
|
|
1610
|
-
const a =
|
|
1616
|
+
const a = fe(u, "modelValue"), s = J(), n = F(s.interval), r = F(s.hasBilling ? "status" : "subscribe"), c = F(!1);
|
|
1611
1617
|
W(n, (h) => {
|
|
1612
1618
|
!s.isSubscriber || !s.interval || (c.value = h !== s.interval);
|
|
1613
1619
|
}), W(a, async (h) => {
|
|
@@ -1619,15 +1625,15 @@ const Qe = ee("settings", () => {
|
|
|
1619
1625
|
await s.modify(n.value), await s.subscriptionInfo(), c.value = null, await t(3e3), r.value = "status", await t(300), c.value = !1;
|
|
1620
1626
|
}
|
|
1621
1627
|
return (h, p) => {
|
|
1622
|
-
const g =
|
|
1628
|
+
const g = ue, C = zo, m = Bo, k = Do, D = ko, b = ce, x = Ve;
|
|
1623
1629
|
return d(), v(x, {
|
|
1624
1630
|
modelValue: a.value,
|
|
1625
1631
|
"onUpdate:modelValue": p[4] || (p[4] = (A) => a.value = A),
|
|
1626
|
-
"prepend-icon": `svg:${e(
|
|
1632
|
+
"prepend-icon": `svg:${e(kt)}`,
|
|
1627
1633
|
title: "Subscriptions"
|
|
1628
1634
|
}, G({
|
|
1629
1635
|
default: i(() => [
|
|
1630
|
-
_("div",
|
|
1636
|
+
_("div", To, [
|
|
1631
1637
|
o(X, null, {
|
|
1632
1638
|
default: i(() => [
|
|
1633
1639
|
o(g, {
|
|
@@ -1636,18 +1642,18 @@ const Qe = ee("settings", () => {
|
|
|
1636
1642
|
}),
|
|
1637
1643
|
o(Ye, { "model-value": r.value }, {
|
|
1638
1644
|
default: i(() => [
|
|
1639
|
-
o(
|
|
1645
|
+
o(me, { value: "subscribe" }, {
|
|
1640
1646
|
default: i(() => [
|
|
1641
|
-
o(
|
|
1647
|
+
o(C, {
|
|
1642
1648
|
modelValue: n.value,
|
|
1643
1649
|
"onUpdate:modelValue": p[0] || (p[0] = (A) => n.value = A)
|
|
1644
1650
|
}, null, 8, ["modelValue"]),
|
|
1645
|
-
|
|
1651
|
+
Ro,
|
|
1646
1652
|
o(m)
|
|
1647
1653
|
]),
|
|
1648
1654
|
_: 1
|
|
1649
1655
|
}),
|
|
1650
|
-
o(
|
|
1656
|
+
o(me, { value: "status" }, {
|
|
1651
1657
|
default: i(() => [
|
|
1652
1658
|
o(k, {
|
|
1653
1659
|
"onChange:subscription": p[1] || (p[1] = (A) => r.value = "subscribe")
|
|
@@ -1669,11 +1675,11 @@ const Qe = ee("settings", () => {
|
|
|
1669
1675
|
r.value === "subscribe" ? {
|
|
1670
1676
|
name: "actions",
|
|
1671
1677
|
fn: i(() => [
|
|
1672
|
-
_("div",
|
|
1678
|
+
_("div", Ho, [
|
|
1673
1679
|
c.value !== !1 ? (d(), v(b, {
|
|
1674
1680
|
key: 0,
|
|
1675
1681
|
loading: e(s).isLoading,
|
|
1676
|
-
"prepend-icon": `svg:${c.value !== null ? e(
|
|
1682
|
+
"prepend-icon": `svg:${c.value !== null ? e($t) : e(ae)}`,
|
|
1677
1683
|
readonly: c.value === null,
|
|
1678
1684
|
text: c.value !== null ? "Modify Subscription" : "Success",
|
|
1679
1685
|
color: "success",
|
|
@@ -1682,7 +1688,7 @@ const Qe = ee("settings", () => {
|
|
|
1682
1688
|
onClick: l
|
|
1683
1689
|
}, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : e(s).isSubscriber ? (d(), v(b, {
|
|
1684
1690
|
key: 2,
|
|
1685
|
-
"prepend-icon": `svg:${e(
|
|
1691
|
+
"prepend-icon": `svg:${e(xt)}`,
|
|
1686
1692
|
size: "default",
|
|
1687
1693
|
text: "Manage Subscription",
|
|
1688
1694
|
block: "",
|
|
@@ -1705,15 +1711,15 @@ const Qe = ee("settings", () => {
|
|
|
1705
1711
|
]), 1032, ["modelValue", "prepend-icon"]);
|
|
1706
1712
|
};
|
|
1707
1713
|
}
|
|
1708
|
-
}),
|
|
1714
|
+
}), Po = /* @__PURE__ */ V({
|
|
1709
1715
|
__name: "VoSubscriptionListItem",
|
|
1710
1716
|
setup(u) {
|
|
1711
1717
|
const t = F(!1);
|
|
1712
1718
|
return (a, s) => {
|
|
1713
|
-
const n =
|
|
1719
|
+
const n = Mo, r = Y;
|
|
1714
1720
|
return d(), v(r, {
|
|
1715
1721
|
active: t.value,
|
|
1716
|
-
"prepend-icon": `svg:${e(
|
|
1722
|
+
"prepend-icon": `svg:${e(wt)}`,
|
|
1717
1723
|
title: "Subscriptions",
|
|
1718
1724
|
link: ""
|
|
1719
1725
|
}, {
|
|
@@ -1727,22 +1733,22 @@ const Qe = ee("settings", () => {
|
|
|
1727
1733
|
}, 8, ["active", "prepend-icon"]);
|
|
1728
1734
|
};
|
|
1729
1735
|
}
|
|
1730
|
-
}),
|
|
1736
|
+
}), Eo = { class: "px-3 pb-5 d-flex flex-column" }, Wo = { class: "ps-16" }, Go = { class: "text-caption text-end" }, qo = { class: "font-weight-bold" }, Yo = { class: "ps-16" }, Jo = { class: "text-caption text-end" }, Qo = { class: "font-weight-bold" }, Xo = { class: "ps-16" }, Zo = { class: "text-caption text-end" }, Ko = { class: "font-weight-bold" }, es = { class: "py-4" }, ts = /* @__PURE__ */ _("div", { class: "text-caption text-medium-emphasis" }, [
|
|
1731
1737
|
/* @__PURE__ */ j(" A total of $2.99 or more unlocks "),
|
|
1732
1738
|
/* @__PURE__ */ _("span", { class: "font-weight-black" }, "all"),
|
|
1733
1739
|
/* @__PURE__ */ j(" Vuetify One benefits ")
|
|
1734
|
-
], -1),
|
|
1740
|
+
], -1), os = /* @__PURE__ */ V({
|
|
1735
1741
|
__name: "VoSponsorshipsDialog",
|
|
1736
1742
|
setup(u) {
|
|
1737
|
-
const t =
|
|
1743
|
+
const t = he(), a = _e(), s = z(), n = J(), r = Qe();
|
|
1738
1744
|
function c(l) {
|
|
1739
1745
|
return t.format(l, "fullDateWithWeekday");
|
|
1740
1746
|
}
|
|
1741
1747
|
return (l, h) => {
|
|
1742
|
-
const p =
|
|
1748
|
+
const p = ue, g = ce, C = Re("v-empty-state"), m = Ve;
|
|
1743
1749
|
return d(), v(m, {
|
|
1744
1750
|
"max-height": e(a).xs.value ? void 0 : 820,
|
|
1745
|
-
"prepend-icon": `svg:${e(
|
|
1751
|
+
"prepend-icon": `svg:${e(St)}`,
|
|
1746
1752
|
title: "Sponsorships"
|
|
1747
1753
|
}, {
|
|
1748
1754
|
default: i(() => [
|
|
@@ -1750,14 +1756,14 @@ const Qe = ee("settings", () => {
|
|
|
1750
1756
|
default: i(() => [
|
|
1751
1757
|
o(Ne, { scrollable: "" }, {
|
|
1752
1758
|
default: i(() => [
|
|
1753
|
-
_("div",
|
|
1759
|
+
_("div", Eo, [
|
|
1754
1760
|
o(X, null, {
|
|
1755
1761
|
default: i(() => [
|
|
1756
1762
|
o(p, {
|
|
1757
1763
|
text: "Support Vuetify through GitHub Sponsors, Discord, or Patreon to unlock exclusive benefits and content.",
|
|
1758
1764
|
title: "Support Vuetify"
|
|
1759
1765
|
}),
|
|
1760
|
-
o(
|
|
1766
|
+
o(Xt, {
|
|
1761
1767
|
class: "justify-start ms-n7",
|
|
1762
1768
|
"line-inset": "12",
|
|
1763
1769
|
side: "end",
|
|
@@ -1769,7 +1775,7 @@ const Qe = ee("settings", () => {
|
|
|
1769
1775
|
return [
|
|
1770
1776
|
o(xe, {
|
|
1771
1777
|
"dot-color": (k = e(n).github) != null && k.isActive ? "success" : "transparent",
|
|
1772
|
-
icon: (D = e(n).github) != null && D.isActive ? `svg:${e(
|
|
1778
|
+
icon: (D = e(n).github) != null && D.isActive ? `svg:${e(oe)}` : void 0,
|
|
1773
1779
|
size: "x-small",
|
|
1774
1780
|
width: "100%"
|
|
1775
1781
|
}, {
|
|
@@ -1785,11 +1791,11 @@ const Qe = ee("settings", () => {
|
|
|
1785
1791
|
append: i(() => {
|
|
1786
1792
|
var S, E, P, T, f, y;
|
|
1787
1793
|
return [
|
|
1788
|
-
_("div",
|
|
1794
|
+
_("div", Wo, [
|
|
1789
1795
|
o(g, {
|
|
1790
1796
|
color: (S = e(n).github) != null && S.isActive ? "success" : "primary",
|
|
1791
1797
|
href: (E = e(n).github) != null && E.isActive ? void 0 : "https://github.com/sponsors/johnleider",
|
|
1792
|
-
"prepend-icon": `svg:${(P = e(n).github) != null && P.isActive ? e(
|
|
1798
|
+
"prepend-icon": `svg:${(P = e(n).github) != null && P.isActive ? e(ae) : e(je)}`,
|
|
1793
1799
|
readonly: (T = e(n).github) == null ? void 0 : T.isActive,
|
|
1794
1800
|
target: (f = e(n).github) != null && f.isActive ? void 0 : "_blank",
|
|
1795
1801
|
text: (y = e(n).github) != null && y.isActive ? "Active" : "Info",
|
|
@@ -1813,9 +1819,9 @@ const Qe = ee("settings", () => {
|
|
|
1813
1819
|
variant: "text",
|
|
1814
1820
|
label: ""
|
|
1815
1821
|
}, null, 8, ["prepend-icon", "text"]),
|
|
1816
|
-
_("div",
|
|
1822
|
+
_("div", Go, [
|
|
1817
1823
|
j(" Sponsor since "),
|
|
1818
|
-
_("span",
|
|
1824
|
+
_("span", qo, I(c(e(n).github.createdAt)), 1)
|
|
1819
1825
|
])
|
|
1820
1826
|
]),
|
|
1821
1827
|
_: 1
|
|
@@ -1830,7 +1836,7 @@ const Qe = ee("settings", () => {
|
|
|
1830
1836
|
}, 8, ["dot-color", "icon"]),
|
|
1831
1837
|
o(xe, {
|
|
1832
1838
|
"dot-color": (b = e(n).discord) != null && b.isActive ? "success" : "transparent",
|
|
1833
|
-
icon: (x = e(n).discord) != null && x.isActive ? `svg:${e(
|
|
1839
|
+
icon: (x = e(n).discord) != null && x.isActive ? `svg:${e(oe)}` : void 0,
|
|
1834
1840
|
size: "x-small",
|
|
1835
1841
|
width: "100%"
|
|
1836
1842
|
}, {
|
|
@@ -1846,11 +1852,11 @@ const Qe = ee("settings", () => {
|
|
|
1846
1852
|
append: i(() => {
|
|
1847
1853
|
var S, E, P, T, f, y;
|
|
1848
1854
|
return [
|
|
1849
|
-
_("div",
|
|
1855
|
+
_("div", Yo, [
|
|
1850
1856
|
o(g, {
|
|
1851
1857
|
color: (S = e(n).discord) != null && S.isActive ? "success" : "primary",
|
|
1852
1858
|
href: (E = e(n).discord) != null && E.isActive ? void 0 : "https://discord.com/servers/vuetify-340160225338195969",
|
|
1853
|
-
"prepend-icon": `svg:${(P = e(n).discord) != null && P.isActive ? e(
|
|
1859
|
+
"prepend-icon": `svg:${(P = e(n).discord) != null && P.isActive ? e(ae) : e(je)}`,
|
|
1854
1860
|
readonly: (T = e(n).discord) == null ? void 0 : T.isActive,
|
|
1855
1861
|
target: (f = e(n).discord) != null && f.isActive ? void 0 : "_blank",
|
|
1856
1862
|
text: (y = e(n).discord) != null && y.isActive ? "Active" : "Info",
|
|
@@ -1874,9 +1880,9 @@ const Qe = ee("settings", () => {
|
|
|
1874
1880
|
variant: "text",
|
|
1875
1881
|
label: ""
|
|
1876
1882
|
}, null, 8, ["prepend-icon", "text"]),
|
|
1877
|
-
_("div",
|
|
1883
|
+
_("div", Jo, [
|
|
1878
1884
|
j(" Subscriber since "),
|
|
1879
|
-
_("span",
|
|
1885
|
+
_("span", Qo, I(c(e(n).discord.createdAt)), 1)
|
|
1880
1886
|
])
|
|
1881
1887
|
]),
|
|
1882
1888
|
_: 1
|
|
@@ -1891,7 +1897,7 @@ const Qe = ee("settings", () => {
|
|
|
1891
1897
|
}, 8, ["dot-color", "icon"]),
|
|
1892
1898
|
o(xe, {
|
|
1893
1899
|
"dot-color": (A = e(n).patreon) != null && A.isActive ? "success" : "transparent",
|
|
1894
|
-
icon: (O = e(n).patreon) != null && O.isActive ? `svg:${e(
|
|
1900
|
+
icon: (O = e(n).patreon) != null && O.isActive ? `svg:${e(oe)}` : void 0,
|
|
1895
1901
|
size: "x-small",
|
|
1896
1902
|
width: "100%"
|
|
1897
1903
|
}, {
|
|
@@ -1907,7 +1913,7 @@ const Qe = ee("settings", () => {
|
|
|
1907
1913
|
append: i(() => {
|
|
1908
1914
|
var S;
|
|
1909
1915
|
return [
|
|
1910
|
-
_("div",
|
|
1916
|
+
_("div", Xo, [
|
|
1911
1917
|
o(g, {
|
|
1912
1918
|
text: (S = e(n).patreon) != null && S.isActive ? "Active" : "Coming Soon",
|
|
1913
1919
|
color: "surface-variant",
|
|
@@ -1930,9 +1936,9 @@ const Qe = ee("settings", () => {
|
|
|
1930
1936
|
variant: "text",
|
|
1931
1937
|
label: ""
|
|
1932
1938
|
}, null, 8, ["prepend-icon", "text"]),
|
|
1933
|
-
_("div",
|
|
1939
|
+
_("div", Zo, [
|
|
1934
1940
|
j(" Sponsor since "),
|
|
1935
|
-
_("span",
|
|
1941
|
+
_("span", Ko, I(c(e(n).patreon.createdAt)), 1)
|
|
1936
1942
|
])
|
|
1937
1943
|
]),
|
|
1938
1944
|
_: 1
|
|
@@ -1952,8 +1958,8 @@ const Qe = ee("settings", () => {
|
|
|
1952
1958
|
]),
|
|
1953
1959
|
_: 1
|
|
1954
1960
|
}),
|
|
1955
|
-
o(
|
|
1956
|
-
icon: `svg:${e(
|
|
1961
|
+
o(C, {
|
|
1962
|
+
icon: `svg:${e(Ct)}`,
|
|
1957
1963
|
class: "mt-auto",
|
|
1958
1964
|
"min-height": "auto",
|
|
1959
1965
|
size: "64",
|
|
@@ -1963,16 +1969,16 @@ const Qe = ee("settings", () => {
|
|
|
1963
1969
|
o(U, { color: "success" })
|
|
1964
1970
|
]),
|
|
1965
1971
|
headline: i(() => [
|
|
1966
|
-
_("div",
|
|
1972
|
+
_("div", es, [
|
|
1967
1973
|
e(s).isSubscriber ? (d(), w(N, { key: 0 }, [
|
|
1968
|
-
j(" $" +
|
|
1974
|
+
j(" $" + I(parseFloat(String(e(n).monthlyTotal)).toFixed(2)), 1)
|
|
1969
1975
|
], 64)) : (d(), w(N, { key: 1 }, [
|
|
1970
1976
|
j(" $0.00 ")
|
|
1971
1977
|
], 64))
|
|
1972
1978
|
])
|
|
1973
1979
|
]),
|
|
1974
1980
|
text: i(() => [
|
|
1975
|
-
|
|
1981
|
+
ts
|
|
1976
1982
|
]),
|
|
1977
1983
|
_: 1
|
|
1978
1984
|
}, 8, ["icon"])
|
|
@@ -1988,15 +1994,15 @@ const Qe = ee("settings", () => {
|
|
|
1988
1994
|
}, 8, ["max-height", "prepend-icon"]);
|
|
1989
1995
|
};
|
|
1990
1996
|
}
|
|
1991
|
-
}),
|
|
1997
|
+
}), ss = /* @__PURE__ */ V({
|
|
1992
1998
|
__name: "VoSponsorshipsListItem",
|
|
1993
1999
|
setup(u) {
|
|
1994
2000
|
const t = F(!1);
|
|
1995
2001
|
return (a, s) => {
|
|
1996
|
-
const n =
|
|
2002
|
+
const n = os, r = Y;
|
|
1997
2003
|
return d(), v(r, {
|
|
1998
2004
|
active: t.value,
|
|
1999
|
-
"prepend-icon": `svg:${e(
|
|
2005
|
+
"prepend-icon": `svg:${e(Lt)}`,
|
|
2000
2006
|
title: "Sponsorships",
|
|
2001
2007
|
link: ""
|
|
2002
2008
|
}, {
|
|
@@ -2010,16 +2016,16 @@ const Qe = ee("settings", () => {
|
|
|
2010
2016
|
}, 8, ["active", "prepend-icon"]);
|
|
2011
2017
|
};
|
|
2012
2018
|
}
|
|
2013
|
-
}),
|
|
2019
|
+
}), ns = {
|
|
2014
2020
|
key: 0,
|
|
2015
2021
|
class: "pt-16"
|
|
2016
|
-
},
|
|
2022
|
+
}, is = /* @__PURE__ */ _("div", { class: "text-medium-emphasis" }, " All caught up ", -1), as = { class: "ps-3 text-subtitle-2 pe-2" }, rs = { class: "text-truncate" }, ls = { class: "text-caption font-weight-bold text-medium-emphasis" }, cs = { class: "text-disabled text-caption my-2" }, us = /* @__PURE__ */ V({
|
|
2017
2023
|
__name: "VoNotificationsList",
|
|
2018
2024
|
props: {
|
|
2019
2025
|
items: {}
|
|
2020
2026
|
},
|
|
2021
2027
|
setup(u) {
|
|
2022
|
-
const t = M(), a =
|
|
2028
|
+
const t = M(), a = he();
|
|
2023
2029
|
function s(r) {
|
|
2024
2030
|
return t.notifications.read.includes(r);
|
|
2025
2031
|
}
|
|
@@ -2028,30 +2034,30 @@ const Qe = ee("settings", () => {
|
|
|
2028
2034
|
}
|
|
2029
2035
|
return (r, c) => {
|
|
2030
2036
|
const l = Re("v-empty-state"), h = Y;
|
|
2031
|
-
return d(), v(
|
|
2037
|
+
return d(), v(ne, {
|
|
2032
2038
|
class: "py-0",
|
|
2033
2039
|
height: "100%",
|
|
2034
2040
|
lines: "three"
|
|
2035
2041
|
}, {
|
|
2036
2042
|
default: i(() => [
|
|
2037
|
-
r.items.length ? (d(!0), w(N, { key: 1 },
|
|
2043
|
+
r.items.length ? (d(!0), w(N, { key: 1 }, se(r.items, (p, g) => (d(), v(Ge, {
|
|
2038
2044
|
key: p.slug
|
|
2039
2045
|
}, {
|
|
2040
|
-
default: i(({ isHovering:
|
|
2046
|
+
default: i(({ isHovering: C, props: m }) => [
|
|
2041
2047
|
o(h, Q(m, {
|
|
2042
2048
|
border: g !== 0 && "t",
|
|
2043
2049
|
class: "py-4 mb-0"
|
|
2044
2050
|
}), {
|
|
2045
2051
|
prepend: i(() => [
|
|
2046
|
-
_("div",
|
|
2052
|
+
_("div", as, I(p.metadata.emoji), 1)
|
|
2047
2053
|
]),
|
|
2048
2054
|
append: i(() => [
|
|
2049
|
-
o(
|
|
2055
|
+
o(Zt, {
|
|
2050
2056
|
class: "mt-n3",
|
|
2051
2057
|
width: "56"
|
|
2052
2058
|
}, {
|
|
2053
2059
|
default: i(() => [
|
|
2054
|
-
o(
|
|
2060
|
+
o(ie, {
|
|
2055
2061
|
text: s(p.slug) ? "Mark as unread" : "Mark as read",
|
|
2056
2062
|
location: "bottom"
|
|
2057
2063
|
}, {
|
|
@@ -2059,14 +2065,14 @@ const Qe = ee("settings", () => {
|
|
|
2059
2065
|
o(De, { "hide-on-leave": "" }, {
|
|
2060
2066
|
default: i(() => [
|
|
2061
2067
|
Le(o(Z, Q(k, {
|
|
2062
|
-
icon: `svg:${s(p.slug) ? e(
|
|
2068
|
+
icon: `svg:${s(p.slug) ? e(At) : e(It)}`,
|
|
2063
2069
|
class: "ms-auto",
|
|
2064
2070
|
size: "small",
|
|
2065
2071
|
variant: "text",
|
|
2066
2072
|
"mdi-email-variant": "",
|
|
2067
2073
|
onClick: (D) => n(p)
|
|
2068
2074
|
}), null, 16, ["icon", "onClick"]), [
|
|
2069
|
-
[He,
|
|
2075
|
+
[He, C]
|
|
2070
2076
|
])
|
|
2071
2077
|
]),
|
|
2072
2078
|
_: 2
|
|
@@ -2079,16 +2085,16 @@ const Qe = ee("settings", () => {
|
|
|
2079
2085
|
}, 1024)
|
|
2080
2086
|
]),
|
|
2081
2087
|
default: i(() => [
|
|
2082
|
-
o(
|
|
2088
|
+
o(Et, { class: "text-wrap text-h6 mb-1" }, {
|
|
2083
2089
|
default: i(() => [
|
|
2084
|
-
_("div",
|
|
2090
|
+
_("div", rs, I(p.title), 1)
|
|
2085
2091
|
]),
|
|
2086
2092
|
_: 2
|
|
2087
2093
|
}, 1024),
|
|
2088
|
-
_("div",
|
|
2089
|
-
_("div",
|
|
2094
|
+
_("div", ls, I(e(a).format(p.created_at, "fullDateWithWeekday")), 1),
|
|
2095
|
+
_("div", cs, I(p.metadata.text), 1),
|
|
2090
2096
|
o(q, {
|
|
2091
|
-
"append-icon": `svg:${e(
|
|
2097
|
+
"append-icon": `svg:${e(Dt)}`,
|
|
2092
2098
|
href: p.metadata.action,
|
|
2093
2099
|
text: p.metadata.action_text,
|
|
2094
2100
|
size: "small",
|
|
@@ -2108,7 +2114,7 @@ const Qe = ee("settings", () => {
|
|
|
2108
2114
|
}, 1040, ["border"])
|
|
2109
2115
|
]),
|
|
2110
2116
|
_: 2
|
|
2111
|
-
}, 1024))), 128)) : (d(), w("div",
|
|
2117
|
+
}, 1024))), 128)) : (d(), w("div", ns, [
|
|
2112
2118
|
o(l, {
|
|
2113
2119
|
icon: "$vuetify",
|
|
2114
2120
|
size: "256"
|
|
@@ -2117,7 +2123,7 @@ const Qe = ee("settings", () => {
|
|
|
2117
2123
|
o(U, { color: "medium-emphasis" })
|
|
2118
2124
|
]),
|
|
2119
2125
|
title: i(() => [
|
|
2120
|
-
|
|
2126
|
+
is
|
|
2121
2127
|
]),
|
|
2122
2128
|
_: 1
|
|
2123
2129
|
})
|
|
@@ -2127,28 +2133,28 @@ const Qe = ee("settings", () => {
|
|
|
2127
2133
|
});
|
|
2128
2134
|
};
|
|
2129
2135
|
}
|
|
2130
|
-
}),
|
|
2136
|
+
}), ds = { class: "text-caption" }, ps = /* @__PURE__ */ V({
|
|
2131
2137
|
__name: "VoNotificationsDialog",
|
|
2132
2138
|
setup(u) {
|
|
2133
|
-
const t =
|
|
2139
|
+
const t = ye(), a = _e(), s = F(["0"]), n = F(!1);
|
|
2134
2140
|
return (r, c) => {
|
|
2135
|
-
const l = Y, h =
|
|
2141
|
+
const l = Y, h = us, p = Ve;
|
|
2136
2142
|
return d(), v(p, {
|
|
2137
2143
|
modelValue: n.value,
|
|
2138
2144
|
"onUpdate:modelValue": c[2] || (c[2] = (g) => n.value = g),
|
|
2139
|
-
"prepend-icon": `svg:${e(
|
|
2145
|
+
"prepend-icon": `svg:${e(Ut)}`,
|
|
2140
2146
|
title: "Notifications"
|
|
2141
2147
|
}, {
|
|
2142
2148
|
default: i(() => [
|
|
2143
2149
|
o(Fe, null, {
|
|
2144
2150
|
default: i(() => [
|
|
2145
|
-
o(
|
|
2151
|
+
o(Kt, {
|
|
2146
2152
|
location: e(a).mobile.value ? "top" : "start",
|
|
2147
2153
|
width: e(a).mobile.value ? 128 : 168,
|
|
2148
2154
|
permanent: ""
|
|
2149
2155
|
}, {
|
|
2150
2156
|
default: i(() => [
|
|
2151
|
-
o(
|
|
2157
|
+
o(ne, {
|
|
2152
2158
|
selected: s.value,
|
|
2153
2159
|
"onUpdate:selected": c[0] || (c[0] = (g) => s.value = g),
|
|
2154
2160
|
class: "px-4 pt-4",
|
|
@@ -2158,20 +2164,20 @@ const Qe = ee("settings", () => {
|
|
|
2158
2164
|
}, {
|
|
2159
2165
|
default: i(() => [
|
|
2160
2166
|
o(l, {
|
|
2161
|
-
"prepend-icon": `svg:${e(
|
|
2167
|
+
"prepend-icon": `svg:${e(Ft)}`,
|
|
2162
2168
|
title: "Unread",
|
|
2163
2169
|
value: "0"
|
|
2164
2170
|
}, G({ _: 2 }, [
|
|
2165
2171
|
e(t).unread.length > 0 ? {
|
|
2166
2172
|
name: "append",
|
|
2167
2173
|
fn: i(() => [
|
|
2168
|
-
_("span",
|
|
2174
|
+
_("span", ds, I(e(t).unread.length), 1)
|
|
2169
2175
|
]),
|
|
2170
2176
|
key: "0"
|
|
2171
2177
|
} : void 0
|
|
2172
2178
|
]), 1032, ["prepend-icon"]),
|
|
2173
2179
|
o(l, {
|
|
2174
|
-
"prepend-icon": `svg:${e(
|
|
2180
|
+
"prepend-icon": `svg:${e(Nt)}`,
|
|
2175
2181
|
title: "Read",
|
|
2176
2182
|
value: "1",
|
|
2177
2183
|
"mdi-archive-outline": ""
|
|
@@ -2189,7 +2195,7 @@ const Qe = ee("settings", () => {
|
|
|
2189
2195
|
"onUpdate:modelValue": c[1] || (c[1] = (g) => s.value = g)
|
|
2190
2196
|
}, {
|
|
2191
2197
|
default: i(() => [
|
|
2192
|
-
o(
|
|
2198
|
+
o(me, { value: "0" }, {
|
|
2193
2199
|
default: i(() => [
|
|
2194
2200
|
o(h, {
|
|
2195
2201
|
items: e(t).unread
|
|
@@ -2197,7 +2203,7 @@ const Qe = ee("settings", () => {
|
|
|
2197
2203
|
]),
|
|
2198
2204
|
_: 1
|
|
2199
2205
|
}),
|
|
2200
|
-
o(
|
|
2206
|
+
o(me, { value: "1" }, {
|
|
2201
2207
|
default: i(() => [
|
|
2202
2208
|
o(h, {
|
|
2203
2209
|
items: e(t).read
|
|
@@ -2219,10 +2225,10 @@ const Qe = ee("settings", () => {
|
|
|
2219
2225
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
2220
2226
|
};
|
|
2221
2227
|
}
|
|
2222
|
-
}),
|
|
2228
|
+
}), ms = /* @__PURE__ */ V({
|
|
2223
2229
|
__name: "VoNotificationsBadge",
|
|
2224
2230
|
setup(u) {
|
|
2225
|
-
const t =
|
|
2231
|
+
const t = ye();
|
|
2226
2232
|
return (a, s) => (d(), v(Me, {
|
|
2227
2233
|
content: e(t).unread.length,
|
|
2228
2234
|
"model-value": e(t).unread.length > 0,
|
|
@@ -2234,18 +2240,18 @@ const Qe = ee("settings", () => {
|
|
|
2234
2240
|
_: 3
|
|
2235
2241
|
}, 8, ["content", "model-value"]));
|
|
2236
2242
|
}
|
|
2237
|
-
}),
|
|
2243
|
+
}), fs = /* @__PURE__ */ V({
|
|
2238
2244
|
__name: "VoNotificationsListItem",
|
|
2239
2245
|
setup(u) {
|
|
2240
|
-
const t = M(), a =
|
|
2246
|
+
const t = M(), a = ye(), s = F(!1);
|
|
2241
2247
|
return Te(async () => {
|
|
2242
2248
|
await a.get();
|
|
2243
2249
|
}), (n, r) => {
|
|
2244
|
-
const c =
|
|
2250
|
+
const c = ms, l = ps, h = Y;
|
|
2245
2251
|
return e(t).notifications.show ? (d(), v(h, {
|
|
2246
2252
|
key: 0,
|
|
2247
2253
|
active: s.value,
|
|
2248
|
-
"prepend-icon": `svg:${e(
|
|
2254
|
+
"prepend-icon": `svg:${e(jt)}`,
|
|
2249
2255
|
title: "Notifications",
|
|
2250
2256
|
link: ""
|
|
2251
2257
|
}, G({
|
|
@@ -2272,25 +2278,25 @@ const Qe = ee("settings", () => {
|
|
|
2272
2278
|
]), 1032, ["active", "prepend-icon"])) : $("", !0);
|
|
2273
2279
|
};
|
|
2274
2280
|
}
|
|
2275
|
-
}),
|
|
2281
|
+
}), vs = /* @__PURE__ */ V({
|
|
2276
2282
|
__name: "VoDashboardListItem",
|
|
2277
2283
|
setup(u) {
|
|
2278
2284
|
return (t, a) => {
|
|
2279
2285
|
const s = Y;
|
|
2280
2286
|
return d(), v(s, {
|
|
2281
|
-
"prepend-icon": `svg:${e(
|
|
2287
|
+
"prepend-icon": `svg:${e(Ot)}`,
|
|
2282
2288
|
title: "Dashboard",
|
|
2283
2289
|
to: "/user/dashboard"
|
|
2284
2290
|
}, null, 8, ["prepend-icon"]);
|
|
2285
2291
|
};
|
|
2286
2292
|
}
|
|
2287
|
-
}),
|
|
2293
|
+
}), _s = /* @__PURE__ */ V({
|
|
2288
2294
|
__name: "VoUserList",
|
|
2289
2295
|
setup(u) {
|
|
2290
2296
|
const t = z();
|
|
2291
2297
|
return (a, s) => {
|
|
2292
|
-
const n =
|
|
2293
|
-
return d(), v(
|
|
2298
|
+
const n = vs, r = fs, c = ss, l = Po, h = yo, p = fo;
|
|
2299
|
+
return d(), v(ne, {
|
|
2294
2300
|
density: "compact",
|
|
2295
2301
|
nav: "",
|
|
2296
2302
|
slim: ""
|
|
@@ -2307,14 +2313,14 @@ const Qe = ee("settings", () => {
|
|
|
2307
2313
|
});
|
|
2308
2314
|
};
|
|
2309
2315
|
}
|
|
2310
|
-
}),
|
|
2316
|
+
}), hs = { key: 0 }, gs = { class: "d-flex align-center justify-center pa-1 ga-2" }, bs = /* @__PURE__ */ V({
|
|
2311
2317
|
__name: "VoUserQuickActions",
|
|
2312
2318
|
setup(u) {
|
|
2313
2319
|
const t = M();
|
|
2314
|
-
return (a, s) => (d(), v(
|
|
2320
|
+
return (a, s) => (d(), v(le, null, {
|
|
2315
2321
|
default: i(() => [
|
|
2316
|
-
e(t).quickbar ? (d(), w("div",
|
|
2317
|
-
_("div",
|
|
2322
|
+
e(t).quickbar ? (d(), w("div", hs, [
|
|
2323
|
+
_("div", gs, [
|
|
2318
2324
|
o(Z, {
|
|
2319
2325
|
color: e(t).colors.one,
|
|
2320
2326
|
class: "text-caption",
|
|
@@ -2325,7 +2331,7 @@ const Qe = ee("settings", () => {
|
|
|
2325
2331
|
}, null, 8, ["color"]),
|
|
2326
2332
|
o(Z, {
|
|
2327
2333
|
color: e(t).colors.one,
|
|
2328
|
-
icon: `svg:${e(
|
|
2334
|
+
icon: `svg:${e(Bt)}`,
|
|
2329
2335
|
class: "text-caption",
|
|
2330
2336
|
density: "comfortable",
|
|
2331
2337
|
href: "https://bin.vuetifyjs.com",
|
|
@@ -2333,7 +2339,7 @@ const Qe = ee("settings", () => {
|
|
|
2333
2339
|
}, null, 8, ["color", "icon"]),
|
|
2334
2340
|
o(Z, {
|
|
2335
2341
|
color: e(t).colors.one,
|
|
2336
|
-
icon: `svg:${e(
|
|
2342
|
+
icon: `svg:${e(zt)}`,
|
|
2337
2343
|
class: "text-caption",
|
|
2338
2344
|
density: "comfortable",
|
|
2339
2345
|
href: "https://issues.vuetifyjs.com",
|
|
@@ -2345,7 +2351,7 @@ const Qe = ee("settings", () => {
|
|
|
2345
2351
|
_: 1
|
|
2346
2352
|
}));
|
|
2347
2353
|
}
|
|
2348
|
-
}),
|
|
2354
|
+
}), ys = { class: "mb-2" }, Vs = { key: 0 }, ks = { class: "d-flex ga-4 flex-wrap justify-center mb-4" }, $s = { class: "text-h6" }, xs = /* @__PURE__ */ V({
|
|
2349
2355
|
__name: "VoUserAvatar",
|
|
2350
2356
|
setup(u) {
|
|
2351
2357
|
const t = z(), a = M(), s = F(!1), n = L(() => {
|
|
@@ -2376,8 +2382,8 @@ const Qe = ee("settings", () => {
|
|
|
2376
2382
|
return (l, h) => {
|
|
2377
2383
|
var p;
|
|
2378
2384
|
return d(), w("div", null, [
|
|
2379
|
-
Le((d(), v(
|
|
2380
|
-
class:
|
|
2385
|
+
Le((d(), v(pe, {
|
|
2386
|
+
class: ot([
|
|
2381
2387
|
"border-md border-opacity-100 border-surface-variant",
|
|
2382
2388
|
{
|
|
2383
2389
|
"cursor-pointer": e(t).isSubscriber
|
|
@@ -2402,28 +2408,28 @@ const Qe = ee("settings", () => {
|
|
|
2402
2408
|
]),
|
|
2403
2409
|
_: 1
|
|
2404
2410
|
}, 8, ["class"])), [
|
|
2405
|
-
[
|
|
2411
|
+
[eo, e(t).isSubscriber]
|
|
2406
2412
|
]),
|
|
2407
|
-
_("div",
|
|
2408
|
-
o(
|
|
2413
|
+
_("div", ys, [
|
|
2414
|
+
o(le, null, {
|
|
2409
2415
|
default: i(() => [
|
|
2410
|
-
s.value ? (d(), w("div",
|
|
2416
|
+
s.value ? (d(), w("div", Vs, [
|
|
2411
2417
|
o(R, {
|
|
2412
2418
|
class: "pt-6 pb-1",
|
|
2413
2419
|
rounded: "0",
|
|
2414
2420
|
flat: ""
|
|
2415
2421
|
}, {
|
|
2416
2422
|
default: i(() => [
|
|
2417
|
-
_("div",
|
|
2418
|
-
(d(!0), w(N, null,
|
|
2419
|
-
key:
|
|
2423
|
+
_("div", ks, [
|
|
2424
|
+
(d(!0), w(N, null, se(n.value, (g, C) => (d(), v(Z, {
|
|
2425
|
+
key: C,
|
|
2420
2426
|
active: e(a).avatar === g,
|
|
2421
2427
|
variant: "flat",
|
|
2422
2428
|
icon: "",
|
|
2423
2429
|
onClick: (m) => r(g)
|
|
2424
2430
|
}, {
|
|
2425
2431
|
default: i(() => [
|
|
2426
|
-
o(
|
|
2432
|
+
o(pe, {
|
|
2427
2433
|
image: g,
|
|
2428
2434
|
eager: ""
|
|
2429
2435
|
}, null, 8, ["image"])
|
|
@@ -2439,14 +2445,14 @@ const Qe = ee("settings", () => {
|
|
|
2439
2445
|
_: 1
|
|
2440
2446
|
})
|
|
2441
2447
|
]),
|
|
2442
|
-
_("div",
|
|
2448
|
+
_("div", $s, I(((p = e(t).user) == null ? void 0 : p.name) ?? "Guest"), 1)
|
|
2443
2449
|
]);
|
|
2444
2450
|
};
|
|
2445
2451
|
}
|
|
2446
|
-
}),
|
|
2452
|
+
}), ws = { class: "d-flex flex-grow-1 justify-end fill-height align-start" }, Ss = {
|
|
2447
2453
|
key: "reset",
|
|
2448
2454
|
class: "align-self-end"
|
|
2449
|
-
},
|
|
2455
|
+
}, Cs = /* @__PURE__ */ V({
|
|
2450
2456
|
__name: "VoUserColors",
|
|
2451
2457
|
setup(u) {
|
|
2452
2458
|
const t = z(), a = J(), s = M(), n = F(!1);
|
|
@@ -2454,7 +2460,7 @@ const Qe = ee("settings", () => {
|
|
|
2454
2460
|
s.colors.one = "surface-light";
|
|
2455
2461
|
}
|
|
2456
2462
|
return (c, l) => {
|
|
2457
|
-
const h =
|
|
2463
|
+
const h = ce;
|
|
2458
2464
|
return d(), w(N, null, [
|
|
2459
2465
|
o(Ue, {
|
|
2460
2466
|
color: e(t).user ? e(s).colors.one : "surface-light",
|
|
@@ -2465,7 +2471,7 @@ const Qe = ee("settings", () => {
|
|
|
2465
2471
|
flat: ""
|
|
2466
2472
|
}, {
|
|
2467
2473
|
default: i(() => [
|
|
2468
|
-
_("div",
|
|
2474
|
+
_("div", ws, [
|
|
2469
2475
|
o(Ee, {
|
|
2470
2476
|
class: "align-center position-absolute ms-2 d-flex ga-2 pa-2",
|
|
2471
2477
|
color: "rgba(0,0,0,.36)",
|
|
@@ -2475,7 +2481,7 @@ const Qe = ee("settings", () => {
|
|
|
2475
2481
|
default: i(() => {
|
|
2476
2482
|
var p;
|
|
2477
2483
|
return [
|
|
2478
|
-
(p = e(t).user) != null && p.isAdmin ? (d(), v(
|
|
2484
|
+
(p = e(t).user) != null && p.isAdmin ? (d(), v(ie, {
|
|
2479
2485
|
key: 0,
|
|
2480
2486
|
location: "bottom",
|
|
2481
2487
|
text: "Vuetify Administrator"
|
|
@@ -2488,20 +2494,20 @@ const Qe = ee("settings", () => {
|
|
|
2488
2494
|
]),
|
|
2489
2495
|
_: 1
|
|
2490
2496
|
})) : $("", !0),
|
|
2491
|
-
e(a).isSubscriber ? (d(), v(
|
|
2497
|
+
e(a).isSubscriber ? (d(), v(ie, {
|
|
2492
2498
|
key: 1,
|
|
2493
2499
|
location: "bottom",
|
|
2494
2500
|
text: "Vuetify One Subscriber"
|
|
2495
2501
|
}, {
|
|
2496
2502
|
activator: i(({ props: g }) => [
|
|
2497
2503
|
o(U, Q({
|
|
2498
|
-
icon: `svg:${e(
|
|
2504
|
+
icon: `svg:${e(Tt)}`,
|
|
2499
2505
|
color: "amber-darken-2"
|
|
2500
2506
|
}, g, { size: "16" }), null, 16, ["icon"])
|
|
2501
2507
|
]),
|
|
2502
2508
|
_: 1
|
|
2503
2509
|
})) : $("", !0),
|
|
2504
|
-
e(a).github ? (d(), v(
|
|
2510
|
+
e(a).github ? (d(), v(ie, {
|
|
2505
2511
|
key: 2,
|
|
2506
2512
|
location: "bottom",
|
|
2507
2513
|
text: "GitHub Sponsor"
|
|
@@ -2514,7 +2520,7 @@ const Qe = ee("settings", () => {
|
|
|
2514
2520
|
]),
|
|
2515
2521
|
_: 1
|
|
2516
2522
|
})) : $("", !0),
|
|
2517
|
-
e(a).discord ? (d(), v(
|
|
2523
|
+
e(a).discord ? (d(), v(ie, {
|
|
2518
2524
|
key: 3,
|
|
2519
2525
|
location: "bottom",
|
|
2520
2526
|
text: "Discord Subscriber"
|
|
@@ -2534,7 +2540,7 @@ const Qe = ee("settings", () => {
|
|
|
2534
2540
|
e(t).isSubscriber ? (d(), v(h, {
|
|
2535
2541
|
key: 0,
|
|
2536
2542
|
active: n.value,
|
|
2537
|
-
icon: n.value ? `svg:${e(
|
|
2543
|
+
icon: n.value ? `svg:${e(oe)}` : "$edit",
|
|
2538
2544
|
variant: n.value ? "text" : "plain",
|
|
2539
2545
|
class: "align-self-end",
|
|
2540
2546
|
color: "inherit",
|
|
@@ -2554,12 +2560,12 @@ const Qe = ee("settings", () => {
|
|
|
2554
2560
|
]),
|
|
2555
2561
|
_: 1
|
|
2556
2562
|
}, 8, ["active", "icon", "variant"])) : $("", !0),
|
|
2557
|
-
o(
|
|
2563
|
+
o(Wt, null, {
|
|
2558
2564
|
default: i(() => [
|
|
2559
|
-
Le(_("div",
|
|
2565
|
+
Le(_("div", Ss, [
|
|
2560
2566
|
o(h, {
|
|
2561
2567
|
disabled: e(s).colors.one === "surface-light",
|
|
2562
|
-
icon: `svg:${e(
|
|
2568
|
+
icon: `svg:${e(Rt)}`,
|
|
2563
2569
|
class: "ms-2 me-1",
|
|
2564
2570
|
color: "inherit",
|
|
2565
2571
|
density: "comfortable",
|
|
@@ -2577,9 +2583,9 @@ const Qe = ee("settings", () => {
|
|
|
2577
2583
|
]),
|
|
2578
2584
|
_: 1
|
|
2579
2585
|
}, 8, ["color"]),
|
|
2580
|
-
o(
|
|
2586
|
+
o(le, null, {
|
|
2581
2587
|
default: i(() => [
|
|
2582
|
-
n.value ? (d(), v(
|
|
2588
|
+
n.value ? (d(), v(to, {
|
|
2583
2589
|
key: 0,
|
|
2584
2590
|
"model-value": e(s).colors.one !== "surface-light" ? e(s).colors.one : void 0,
|
|
2585
2591
|
elevation: "0",
|
|
@@ -2599,13 +2605,13 @@ const Qe = ee("settings", () => {
|
|
|
2599
2605
|
], 64);
|
|
2600
2606
|
};
|
|
2601
2607
|
}
|
|
2602
|
-
}),
|
|
2608
|
+
}), Ls = { class: "text-center mt-n9 mb-4" }, Is = /* @__PURE__ */ V({
|
|
2603
2609
|
__name: "VoUserMenu",
|
|
2604
2610
|
setup(u) {
|
|
2605
2611
|
const t = J();
|
|
2606
2612
|
return (a, s) => {
|
|
2607
|
-
const n =
|
|
2608
|
-
return d(), v(
|
|
2613
|
+
const n = Cs, r = xs, c = bs, l = _s, h = mo;
|
|
2614
|
+
return d(), v(oo, {
|
|
2609
2615
|
modelValue: e(t).isOpen,
|
|
2610
2616
|
"onUpdate:modelValue": s[0] || (s[0] = (p) => e(t).isOpen = p),
|
|
2611
2617
|
"close-on-click": !1,
|
|
@@ -2622,7 +2628,7 @@ const Qe = ee("settings", () => {
|
|
|
2622
2628
|
}, {
|
|
2623
2629
|
default: i(() => [
|
|
2624
2630
|
o(n),
|
|
2625
|
-
_("div",
|
|
2631
|
+
_("div", Ls, [
|
|
2626
2632
|
o(r),
|
|
2627
2633
|
o(c)
|
|
2628
2634
|
]),
|
|
@@ -2638,23 +2644,23 @@ const Qe = ee("settings", () => {
|
|
|
2638
2644
|
}, 8, ["modelValue"]);
|
|
2639
2645
|
};
|
|
2640
2646
|
}
|
|
2641
|
-
}),
|
|
2647
|
+
}), As = { key: 0 }, Ds = /* @__PURE__ */ V({
|
|
2642
2648
|
__name: "VoAuthBtn",
|
|
2643
2649
|
props: {
|
|
2644
2650
|
external: Boolean
|
|
2645
2651
|
},
|
|
2646
2652
|
setup(u) {
|
|
2647
|
-
const t = z(), a = J(), s = M(), { lgAndUp: n, mdAndDown: r } =
|
|
2648
|
-
return (
|
|
2649
|
-
const
|
|
2650
|
-
return d(), v(
|
|
2653
|
+
const t = z(), a = J(), s = M(), { lgAndUp: n, mdAndDown: r } = _e(), c = L(() => a.isOpen || !t.user ? s.colors.one === "surface-light" ? "primary" : s.colors.one : "surface-light");
|
|
2654
|
+
return (l, h) => {
|
|
2655
|
+
const p = Is, g = ce, C = no;
|
|
2656
|
+
return d(), v(C, {
|
|
2651
2657
|
"offset-y": e(t).user ? 5 : 0
|
|
2652
2658
|
}, {
|
|
2653
2659
|
default: i(() => [
|
|
2654
|
-
o(
|
|
2655
|
-
[`${e(n) ? "append-" : ""}icon`]: e(t).user ? void 0 : `svg:${e(
|
|
2660
|
+
o(g, Q({
|
|
2661
|
+
[`${e(n) ? "append-" : ""}icon`]: e(t).user ? void 0 : `svg:${e(Ht)}`
|
|
2656
2662
|
}, {
|
|
2657
|
-
color:
|
|
2663
|
+
color: c.value,
|
|
2658
2664
|
icon: e(t).user || e(t).isLoading,
|
|
2659
2665
|
loading: e(t).isLoading,
|
|
2660
2666
|
rounded: e(r),
|
|
@@ -2665,12 +2671,12 @@ const Qe = ee("settings", () => {
|
|
|
2665
2671
|
active: ""
|
|
2666
2672
|
}), {
|
|
2667
2673
|
default: i(() => [
|
|
2668
|
-
e(t).user ? $("", !0) : (d(), w("span",
|
|
2669
|
-
e(t).user ? (d(), v(
|
|
2674
|
+
e(t).user ? $("", !0) : (d(), w("span", As, "Login")),
|
|
2675
|
+
e(t).user ? (d(), v(pe, {
|
|
2670
2676
|
key: 1,
|
|
2671
2677
|
image: e(s).avatar || e(t).user.picture || ""
|
|
2672
2678
|
}, null, 8, ["image"])) : $("", !0),
|
|
2673
|
-
o(
|
|
2679
|
+
o(p)
|
|
2674
2680
|
]),
|
|
2675
2681
|
_: 1
|
|
2676
2682
|
}, 16, ["color", "icon", "loading", "rounded", "variant"])
|
|
@@ -2679,10 +2685,10 @@ const Qe = ee("settings", () => {
|
|
|
2679
2685
|
}, 8, ["offset-y"]);
|
|
2680
2686
|
};
|
|
2681
2687
|
}
|
|
2682
|
-
}),
|
|
2688
|
+
}), Us = (u) => (st("data-v-86d0e524"), u = u(), nt(), u), Fs = ["href", "title"], Ns = {
|
|
2683
2689
|
class: "text-caption text-disabled",
|
|
2684
2690
|
style: { position: "absolute", right: "16px" }
|
|
2685
|
-
},
|
|
2691
|
+
}, js = /* @__PURE__ */ Us(() => /* @__PURE__ */ _("span", { class: "d-none d-sm-inline-block" }, "Vuetify, LLC", -1)), Os = /* @__PURE__ */ V({
|
|
2686
2692
|
__name: "VoFooter",
|
|
2687
2693
|
setup(u) {
|
|
2688
2694
|
const t = [
|
|
@@ -2693,7 +2699,7 @@ const Qe = ee("settings", () => {
|
|
|
2693
2699
|
},
|
|
2694
2700
|
{
|
|
2695
2701
|
title: "Vuetify Support",
|
|
2696
|
-
icon: `svg:${
|
|
2702
|
+
icon: `svg:${Mt}`,
|
|
2697
2703
|
href: "https://support.vuetifyjs.com/"
|
|
2698
2704
|
},
|
|
2699
2705
|
{
|
|
@@ -2713,16 +2719,16 @@ const Qe = ee("settings", () => {
|
|
|
2713
2719
|
},
|
|
2714
2720
|
{
|
|
2715
2721
|
title: "Vuetify Reddit",
|
|
2716
|
-
icon: `svg:${
|
|
2722
|
+
icon: `svg:${Pt}`,
|
|
2717
2723
|
href: "https://reddit.com/r/vuetifyjs"
|
|
2718
2724
|
}
|
|
2719
2725
|
];
|
|
2720
|
-
return (a, s) => (d(), v(
|
|
2726
|
+
return (a, s) => (d(), v(so, {
|
|
2721
2727
|
class: "vo-footer",
|
|
2722
2728
|
height: "40"
|
|
2723
2729
|
}, {
|
|
2724
2730
|
default: i(() => [
|
|
2725
|
-
(d(), w(N, null,
|
|
2731
|
+
(d(), w(N, null, se(t, (n) => _("a", {
|
|
2726
2732
|
key: n.title,
|
|
2727
2733
|
href: n.href,
|
|
2728
2734
|
title: n.title,
|
|
@@ -2734,23 +2740,23 @@ const Qe = ee("settings", () => {
|
|
|
2734
2740
|
icon: n.icon,
|
|
2735
2741
|
size: n.icon === "$vuetify" ? 24 : 16
|
|
2736
2742
|
}, null, 8, ["icon", "size"])
|
|
2737
|
-
], 8,
|
|
2738
|
-
_("div",
|
|
2739
|
-
j(" © 2016-" +
|
|
2740
|
-
|
|
2743
|
+
], 8, Fs)), 64)),
|
|
2744
|
+
_("div", Ns, [
|
|
2745
|
+
j(" © 2016-" + I((/* @__PURE__ */ new Date()).getFullYear()) + " ", 1),
|
|
2746
|
+
js
|
|
2741
2747
|
])
|
|
2742
2748
|
]),
|
|
2743
2749
|
_: 1
|
|
2744
2750
|
}));
|
|
2745
2751
|
}
|
|
2746
2752
|
});
|
|
2747
|
-
const
|
|
2753
|
+
const Bs = (u, t) => {
|
|
2748
2754
|
const a = u.__vccOpts || u;
|
|
2749
2755
|
for (const [s, n] of t)
|
|
2750
2756
|
a[s] = n;
|
|
2751
2757
|
return a;
|
|
2752
|
-
},
|
|
2753
|
-
const u = z(), t =
|
|
2758
|
+
}, zs = /* @__PURE__ */ Bs(Os, [["__scopeId", "data-v-86d0e524"]]), xn = te("bins", () => {
|
|
2759
|
+
const u = z(), t = be(), a = ee([]), s = ee(), n = F(!1), r = F(-1), c = L(() => !u.user || !s.value ? !1 : u.user.id === s.value.owner.id), l = L(() => a.value.filter((b) => b.favorite)), h = L(() => a.value.filter((b) => b.pinned));
|
|
2754
2760
|
W(s, () => {
|
|
2755
2761
|
window.clearTimeout(r.value), r.value = window.setTimeout(() => {
|
|
2756
2762
|
!s.value || !c.value || m(s.value, s.value.id);
|
|
@@ -2776,7 +2782,7 @@ const Os = (u, t) => {
|
|
|
2776
2782
|
}
|
|
2777
2783
|
return !0;
|
|
2778
2784
|
}
|
|
2779
|
-
async function
|
|
2785
|
+
async function C(b) {
|
|
2780
2786
|
try {
|
|
2781
2787
|
n.value = !0;
|
|
2782
2788
|
const x = await t.post("/one/bins", { bin: b });
|
|
@@ -2801,7 +2807,7 @@ const Os = (u, t) => {
|
|
|
2801
2807
|
async function k(b, x) {
|
|
2802
2808
|
try {
|
|
2803
2809
|
n.value = !0;
|
|
2804
|
-
const A = x ? await m(b, x) : await
|
|
2810
|
+
const A = x ? await m(b, x) : await C(b);
|
|
2805
2811
|
s.value = A.bin;
|
|
2806
2812
|
} catch {
|
|
2807
2813
|
} finally {
|
|
@@ -2826,7 +2832,7 @@ const Os = (u, t) => {
|
|
|
2826
2832
|
pinned: h,
|
|
2827
2833
|
favorites: l,
|
|
2828
2834
|
all: a,
|
|
2829
|
-
create:
|
|
2835
|
+
create: C,
|
|
2830
2836
|
delete: g,
|
|
2831
2837
|
current: s,
|
|
2832
2838
|
find: D,
|
|
@@ -2835,21 +2841,21 @@ const Os = (u, t) => {
|
|
|
2835
2841
|
updateOrCreate: k
|
|
2836
2842
|
};
|
|
2837
2843
|
});
|
|
2838
|
-
function
|
|
2844
|
+
function wn() {
|
|
2839
2845
|
function u(t) {
|
|
2840
|
-
t.component("VoAuthBtn",
|
|
2846
|
+
t.component("VoAuthBtn", Ds), t.component("VoFooter", zs);
|
|
2841
2847
|
}
|
|
2842
2848
|
return { install: u };
|
|
2843
2849
|
}
|
|
2844
|
-
function
|
|
2845
|
-
u.store.url = "
|
|
2850
|
+
function Sn(u) {
|
|
2851
|
+
u.store.url = "http://localhost:8096";
|
|
2846
2852
|
}
|
|
2847
2853
|
export {
|
|
2848
|
-
|
|
2849
|
-
|
|
2854
|
+
wn as createOne,
|
|
2855
|
+
Sn as one,
|
|
2850
2856
|
z as useAuthStore,
|
|
2851
|
-
|
|
2852
|
-
|
|
2857
|
+
xn as useBinsStore,
|
|
2858
|
+
be as useHttpStore,
|
|
2853
2859
|
J as useOneStore,
|
|
2854
2860
|
Qe as useSettingsStore,
|
|
2855
2861
|
M as useUserStore
|