@vuetify/one 1.1.3 → 1.1.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 +718 -676
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import { reactive as
|
|
2
|
-
import { useRouter as Pe, useRoute as
|
|
3
|
-
import { defineStore as
|
|
1
|
+
import { reactive as pt, watch as N, toRefs as mt, ref as H, shallowRef as D, computed as w, defineComponent as k, openBlock as d, createBlock as f, unref as t, createSlots as G, withCtx as a, createElementVNode as h, toDisplayString as I, createVNode as o, createTextVNode as B, renderSlot as R, normalizeStyle as Qe, createCommentVNode as x, withModifiers as Te, mergeModels as ft, useModel as ie, createElementBlock as S, Fragment as U, onBeforeMount as vt, nextTick as fe, renderList as oe, mergeProps as P, resolveComponent as Me, withDirectives as xe, vShow as Re, onMounted as _t, normalizeClass as ht, pushScopeId as gt, popScopeId as bt } from "vue";
|
|
2
|
+
import { useRouter as Pe, useRoute as yt } from "vue-router";
|
|
3
|
+
import { defineStore as X } from "pinia";
|
|
4
4
|
import { merge as Oe } from "lodash-es";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { VProgressCircular as yt } from "vuetify/lib/components/VProgressCircular/index.mjs";
|
|
8
|
-
import { mdiDiscord as Ee, mdiGithub as We, mdiSync as Vt, mdiSyncOff as kt, mdiLogoutVariant as xt, mdiCheck as re, mdiHome as $t, mdiTextBox as wt, mdiSpaceInvaders as Je, mdiWhiteBalanceSunny as St, mdiWeatherNight as Ct, mdiDesktopTowerMonitor as Lt, mdiImageFilterHdr as At, mdiRocketLaunchOutline as It, mdiContrastCircle as Dt, mdiCog as Ut, mdiCogOutline as Bt, mdiFileDocument as Nt, mdiCreditCardSettingsOutline as Ot, mdiRocketOutline as Ft, mdiCheckCircleOutline as pe, mdiCreditCard as zt, mdiReload as jt, mdiPlaylistCheck as Tt, mdiCreditCardOutline as Mt, mdiMedal as Ge, mdiOpenInNew as ve, mdiHandHeart as Rt, mdiChartLine as Pt, mdiHandHeartOutline as Ht, mdiEmailOpenOutline as Xe, mdiEmailVariant as Ke, mdiBell as Et, mdiInboxOutline as Wt, mdiInboxFullOutline as Gt, mdiBillboard as qt, mdiBellOutline as Yt, mdiViewDashboardOutline as Zt, mdiSpider as Qt, mdiCrown as Jt, mdiArrowULeftBottom as Xt, mdiLogin as Kt, mdiShieldStarOutline as eo, mdiReddit as to } from "@mdi/js";
|
|
9
|
-
import { VListItem as _e, VList as ee, VListItemTitle as et, VListItemSubtitle as oo } from "vuetify/lib/components/VList/index.mjs";
|
|
5
|
+
import { mdiDiscord as He, mdiGithub as Ee, mdiSync as Vt, mdiSyncOff as kt, mdiLogoutVariant as xt, mdiFullscreenExit as $t, mdiFullscreen as wt, mdiCheck as le, mdiHome as St, mdiTextBox as Ct, mdiSpaceInvaders as Je, mdiWhiteBalanceSunny as Lt, mdiWeatherNight as It, mdiDesktopTowerMonitor as At, mdiImageFilterHdr as Dt, mdiRocketLaunchOutline as Ut, mdiContrastCircle as Bt, mdiCog as Nt, mdiCogOutline as Ot, mdiFileDocument as Ft, mdiCreditCardSettingsOutline as zt, mdiRocketOutline as jt, mdiCheckCircleOutline as pe, mdiCreditCard as Tt, mdiReload as Mt, mdiPlaylistCheck as Rt, mdiCreditCardOutline as Pt, mdiMedal as We, mdiOpenInNew as ve, mdiHandHeart as Ht, mdiChartLine as Et, mdiHandHeartOutline as Wt, mdiEmailOpenOutline as Xe, mdiEmailVariant as Ke, mdiBell as Gt, mdiInboxOutline as qt, mdiInboxFullOutline as Zt, mdiBillboard as Yt, mdiBellOutline as Qt, mdiViewDashboardOutline as Jt, mdiSpider as Xt, mdiCrown as Kt, mdiArrowULeftBottom as eo, mdiLogin as to, mdiShieldStarOutline as oo, mdiReddit as no } from "@mdi/js";
|
|
6
|
+
import { VListItem as _e, VList as ee, VListItemTitle as et, VListItemSubtitle as so } from "vuetify/lib/components/VList/index.mjs";
|
|
10
7
|
import { VAvatar as ne } from "vuetify/lib/components/VAvatar/index.mjs";
|
|
11
|
-
import { VCard as M,
|
|
8
|
+
import { VCard as M, VCardTitle as ao, VCardSubtitle as io, VCardText as K } from "vuetify/lib/components/VCard/index.mjs";
|
|
9
|
+
import { VDialog as tt } from "vuetify/lib/components/VDialog/index.mjs";
|
|
10
|
+
import { VBadge as Ge } from "vuetify/lib/components/VBadge/index.mjs";
|
|
11
|
+
import { VBtn as E } from "vuetify/lib/components/VBtn/index.mjs";
|
|
12
|
+
import { VProgressCircular as lo } from "vuetify/lib/components/VProgressCircular/index.mjs";
|
|
12
13
|
import { VSheet as qe } from "vuetify/lib/components/VSheet/index.mjs";
|
|
13
|
-
import { VSwitch as
|
|
14
|
-
import { VFadeTransition as $e, VExpandTransition as he, VExpandXTransition as
|
|
15
|
-
import { useDisplay as
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { VIcon as I } from "vuetify/lib/components/VIcon/index.mjs";
|
|
14
|
+
import { VSwitch as ot } from "vuetify/lib/components/VSwitch/index.mjs";
|
|
15
|
+
import { VFadeTransition as $e, VExpandTransition as he, VExpandXTransition as ro } from "vuetify/lib/components/transitions/index.mjs";
|
|
16
|
+
import { useDisplay as re, useTheme as co, useDate as we } from "vuetify";
|
|
17
|
+
import { VDivider as W } from "vuetify/lib/components/VDivider/index.mjs";
|
|
18
|
+
import { VIcon as A } from "vuetify/lib/components/VIcon/index.mjs";
|
|
19
19
|
import { VLabel as ze } from "vuetify/lib/components/VLabel/index.mjs";
|
|
20
|
-
import { VChip as
|
|
21
|
-
import { VChipGroup as
|
|
22
|
-
import { VSelect as
|
|
20
|
+
import { VChip as q } from "vuetify/lib/components/VChip/index.mjs";
|
|
21
|
+
import { VChipGroup as uo } from "vuetify/lib/components/VChipGroup/index.mjs";
|
|
22
|
+
import { VSelect as po } from "vuetify/lib/components/VSelect/index.mjs";
|
|
23
23
|
import { VRow as Se, VCol as me } from "vuetify/lib/components/VGrid/index.mjs";
|
|
24
24
|
import { VHover as Ce } from "vuetify/lib/components/VHover/index.mjs";
|
|
25
25
|
import { VImg as Le } from "vuetify/lib/components/VImg/index.mjs";
|
|
26
26
|
import { VItemGroup as nt, VItem as je } from "vuetify/lib/components/VItemGroup/index.mjs";
|
|
27
|
-
import { VLayout as
|
|
28
|
-
import { VMain as
|
|
29
|
-
import { VDataTableVirtual as
|
|
30
|
-
import { VSkeletonLoader as
|
|
27
|
+
import { VLayout as Ie } from "vuetify/lib/components/VLayout/index.mjs";
|
|
28
|
+
import { VMain as Ae } from "vuetify/lib/components/VMain/index.mjs";
|
|
29
|
+
import { VDataTableVirtual as mo } from "vuetify/lib/components/VDataTable/index.mjs";
|
|
30
|
+
import { VSkeletonLoader as Ye } from "vuetify/lib/components/VSkeletonLoader/index.mjs";
|
|
31
31
|
import { VWindow as st, VWindowItem as de } from "vuetify/lib/components/VWindow/index.mjs";
|
|
32
|
-
import { VTimelineItem as
|
|
33
|
-
import { VTooltip as
|
|
34
|
-
import { VResponsive as
|
|
35
|
-
import { VNavigationDrawer as
|
|
36
|
-
import { Ripple as
|
|
37
|
-
import { VColorPicker as
|
|
38
|
-
import { VMenu as
|
|
39
|
-
import { VAppBar as
|
|
40
|
-
import { VFooter as
|
|
41
|
-
const ge =
|
|
32
|
+
import { VTimelineItem as Ze, VTimeline as fo } from "vuetify/lib/components/VTimeline/index.mjs";
|
|
33
|
+
import { VTooltip as J } from "vuetify/lib/components/VTooltip/index.mjs";
|
|
34
|
+
import { VResponsive as vo } from "vuetify/lib/components/VResponsive/index.mjs";
|
|
35
|
+
import { VNavigationDrawer as _o } from "vuetify/lib/components/VNavigationDrawer/index.mjs";
|
|
36
|
+
import { Ripple as ho } from "vuetify/lib/directives/index.mjs";
|
|
37
|
+
import { VColorPicker as go } from "vuetify/lib/components/VColorPicker/index.mjs";
|
|
38
|
+
import { VMenu as bo } from "vuetify/components";
|
|
39
|
+
import { VAppBar as yo } from "vuetify/lib/components/VAppBar/index.mjs";
|
|
40
|
+
import { VFooter as Vo } from "vuetify/lib/components/VFooter/index.mjs";
|
|
41
|
+
const ge = X("http", {
|
|
42
42
|
state: () => ({
|
|
43
43
|
url: ""
|
|
44
44
|
}),
|
|
@@ -108,8 +108,8 @@ const ge = J("http", {
|
|
|
108
108
|
jobs: null
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
|
-
}, O =
|
|
112
|
-
const p =
|
|
111
|
+
}, O = X("user", () => {
|
|
112
|
+
const p = pt(Oe({}, ke));
|
|
113
113
|
N(p, i);
|
|
114
114
|
function e() {
|
|
115
115
|
if (!Fe)
|
|
@@ -125,26 +125,26 @@ const ge = J("http", {
|
|
|
125
125
|
Fe && (Object.assign(p, Oe({}, ke)), i());
|
|
126
126
|
}
|
|
127
127
|
return e(), {
|
|
128
|
-
...
|
|
128
|
+
...mt(p),
|
|
129
129
|
load: e,
|
|
130
130
|
save: i,
|
|
131
131
|
reset: n
|
|
132
132
|
};
|
|
133
|
-
}), F =
|
|
133
|
+
}), F = X("auth", () => {
|
|
134
134
|
const p = H(!1), e = H(null), i = ge(), n = O(), l = Pe(), s = D(!1), r = w(() => {
|
|
135
135
|
var _, y;
|
|
136
136
|
return !i.url || ((_ = e.value) == null ? void 0 : _.isAdmin) || !!((y = e.value) != null && y.sponsorships.some(($) => $.isActive));
|
|
137
137
|
});
|
|
138
|
-
let c = !!
|
|
138
|
+
let c = !!C();
|
|
139
139
|
N(e, (_) => {
|
|
140
140
|
if (!(_ != null && _.settings))
|
|
141
141
|
return;
|
|
142
142
|
const y = localStorage.getItem("vuetify@user") || "{}";
|
|
143
143
|
JSON.stringify(_.settings, null, 2) !== y && (c = !0, Object.assign(n, _.settings));
|
|
144
144
|
}), n.$subscribe(() => {
|
|
145
|
-
c ||
|
|
145
|
+
c || v(), c = !1;
|
|
146
146
|
});
|
|
147
|
-
async function
|
|
147
|
+
async function v() {
|
|
148
148
|
if (!(!e.value || !n.syncSettings))
|
|
149
149
|
try {
|
|
150
150
|
await i.post("/user/settings", { settings: n.$state });
|
|
@@ -173,28 +173,28 @@ const ge = J("http", {
|
|
|
173
173
|
u.promise = null;
|
|
174
174
|
async function m(_ = "github") {
|
|
175
175
|
s.value = !0;
|
|
176
|
-
const y = `${i.url}/auth/${_}/redirect`, $ = 400, z = 600, T = window.screenX + (window.innerWidth - $) / 2, te = window.screenY + (window.innerHeight - z) / 2,
|
|
176
|
+
const y = `${i.url}/auth/${_}/redirect`, $ = 400, z = 600, T = window.screenX + (window.innerWidth - $) / 2, te = window.screenY + (window.innerHeight - z) / 2, Z = window.open(
|
|
177
177
|
"",
|
|
178
178
|
"vuetify:authorize:popup",
|
|
179
179
|
`popup,left=${T},top=${te},width=${$},height=${z},resizable`
|
|
180
180
|
);
|
|
181
|
-
if (!
|
|
181
|
+
if (!Z) {
|
|
182
182
|
console.error("Failed to open popup");
|
|
183
183
|
return;
|
|
184
184
|
}
|
|
185
|
-
|
|
185
|
+
Z.location.href = y;
|
|
186
186
|
let Ve = -1, ce = -1;
|
|
187
187
|
function ue(g) {
|
|
188
|
-
var
|
|
189
|
-
g.origin === i.url && ((
|
|
188
|
+
var L;
|
|
189
|
+
g.origin === i.url && ((L = g.data) == null ? void 0 : L.type) === "auth-response" && (g.data.status === "success" ? (e.value || localStorage.setItem("vuetify@lastLoginProvider", _), e.value = g.data.body.user, l.push("/user/dashboard/"), v()) : console.error(g.data.message), ae());
|
|
190
190
|
}
|
|
191
|
-
function
|
|
192
|
-
window.removeEventListener("message", ue), window.clearInterval(Ve), window.clearTimeout(ce),
|
|
191
|
+
function ae() {
|
|
192
|
+
window.removeEventListener("message", ue), window.clearInterval(Ve), window.clearTimeout(ce), Z == null || Z.close(), s.value = !1;
|
|
193
193
|
}
|
|
194
194
|
window.addEventListener("message", ue), Ve = window.setInterval(() => {
|
|
195
|
-
!
|
|
195
|
+
!Z || Z.closed ? (console.error("Auth popup closed"), ae()) : Z.postMessage({ type: "auth-request" }, "*");
|
|
196
196
|
}, 1e3), ce = window.setTimeout(() => {
|
|
197
|
-
|
|
197
|
+
ae(), console.error("Auth timed out");
|
|
198
198
|
}, 120 * 1e3);
|
|
199
199
|
}
|
|
200
200
|
async function b(_) {
|
|
@@ -212,7 +212,7 @@ const ge = J("http", {
|
|
|
212
212
|
var y;
|
|
213
213
|
return (y = e.value) == null ? void 0 : y.identities.find(($) => $.provider === _);
|
|
214
214
|
}
|
|
215
|
-
function
|
|
215
|
+
function C() {
|
|
216
216
|
return localStorage.getItem("vuetify@lastLoginProvider");
|
|
217
217
|
}
|
|
218
218
|
return u(), {
|
|
@@ -225,10 +225,129 @@ const ge = J("http", {
|
|
|
225
225
|
login: m,
|
|
226
226
|
logout: b,
|
|
227
227
|
isSubscriber: r,
|
|
228
|
-
lastLoginProvider:
|
|
229
|
-
sync:
|
|
228
|
+
lastLoginProvider: C,
|
|
229
|
+
sync: v
|
|
230
230
|
};
|
|
231
|
-
}),
|
|
231
|
+
}), ko = { class: "text-body-2" }, xo = /* @__PURE__ */ h("div", { class: "text-caption mt-n1" }, "Last Used", -1), at = /* @__PURE__ */ k({
|
|
232
|
+
__name: "VoAuthDiscord",
|
|
233
|
+
setup(p) {
|
|
234
|
+
const e = F(), i = w(() => e.user && e.findIdentity("discord")), n = w(() => e.user ? i.value ? "Connected to Discord" : "Connect Discord" : "Login with Discord");
|
|
235
|
+
return (l, s) => (d(), f(_e, {
|
|
236
|
+
"prepend-icon": `svg:${t(He)}`,
|
|
237
|
+
"base-color": "#5865F2",
|
|
238
|
+
rounded: "pill",
|
|
239
|
+
variant: "flat",
|
|
240
|
+
slim: "",
|
|
241
|
+
onClick: s[0] || (s[0] = (r) => t(e).login("discord"))
|
|
242
|
+
}, G({
|
|
243
|
+
title: a(() => [
|
|
244
|
+
h("span", ko, I(n.value), 1)
|
|
245
|
+
]),
|
|
246
|
+
_: 2
|
|
247
|
+
}, [
|
|
248
|
+
!t(e).user && t(e).lastLoginProvider() === "discord" ? {
|
|
249
|
+
name: "subtitle",
|
|
250
|
+
fn: a(() => [
|
|
251
|
+
xo
|
|
252
|
+
]),
|
|
253
|
+
key: "0"
|
|
254
|
+
} : void 0
|
|
255
|
+
]), 1032, ["prepend-icon"]));
|
|
256
|
+
}
|
|
257
|
+
}), $o = { class: "text-body-2" }, wo = /* @__PURE__ */ h("div", { class: "text-caption mt-n1" }, "Last Used", -1), it = /* @__PURE__ */ k({
|
|
258
|
+
__name: "VoAuthGithub",
|
|
259
|
+
setup(p) {
|
|
260
|
+
const e = F(), i = w(() => e.user && e.findIdentity("github")), n = w(() => e.user ? i.value ? "Connected to GitHub" : "Connect GitHub" : "Login with GitHub");
|
|
261
|
+
return (l, s) => (d(), f(_e, {
|
|
262
|
+
"prepend-icon": `svg:${t(Ee)}`,
|
|
263
|
+
"base-color": "#2a2a2a",
|
|
264
|
+
rounded: "pill",
|
|
265
|
+
variant: "flat",
|
|
266
|
+
slim: "",
|
|
267
|
+
onClick: s[0] || (s[0] = (r) => t(e).login("github"))
|
|
268
|
+
}, G({
|
|
269
|
+
title: a(() => [
|
|
270
|
+
h("span", $o, I(n.value), 1)
|
|
271
|
+
]),
|
|
272
|
+
_: 2
|
|
273
|
+
}, [
|
|
274
|
+
!t(e).user && t(e).lastLoginProvider() === "github" ? {
|
|
275
|
+
name: "subtitle",
|
|
276
|
+
fn: a(() => [
|
|
277
|
+
wo
|
|
278
|
+
]),
|
|
279
|
+
key: "0"
|
|
280
|
+
} : void 0
|
|
281
|
+
]), 1032, ["prepend-icon"]));
|
|
282
|
+
}
|
|
283
|
+
}), So = { class: "text-center" }, Co = { class: "text-center mb-6" }, Lo = { class: "font-weight-light mb-2" }, Io = /* @__PURE__ */ h("span", { class: "font-weight-bold" }, "Vuetify One", -1), lt = /* @__PURE__ */ k({
|
|
284
|
+
__name: "VoAuthCard",
|
|
285
|
+
setup(p) {
|
|
286
|
+
const e = F();
|
|
287
|
+
return (i, n) => {
|
|
288
|
+
const l = it, s = at;
|
|
289
|
+
return d(), f(M, {
|
|
290
|
+
class: "pt-6 pb-8 px-4 px-sm-8 mx-auto",
|
|
291
|
+
"max-width": "480"
|
|
292
|
+
}, {
|
|
293
|
+
default: a(() => [
|
|
294
|
+
h("div", So, [
|
|
295
|
+
o(ne, {
|
|
296
|
+
image: "https://vuetifyjs.b-cdn.net/docs/images/avatars/one.png",
|
|
297
|
+
class: "mx-auto",
|
|
298
|
+
size: "64"
|
|
299
|
+
}, null, 8, ["image"])
|
|
300
|
+
]),
|
|
301
|
+
h("div", Co, [
|
|
302
|
+
o(ao, { class: "text-h5 mb-1 text-md-h4" }, {
|
|
303
|
+
default: a(() => [
|
|
304
|
+
h("div", Lo, I(t(e).lastLoginProvider() ? "Welcome back to" : "Login to"), 1),
|
|
305
|
+
Io
|
|
306
|
+
]),
|
|
307
|
+
_: 1
|
|
308
|
+
}),
|
|
309
|
+
o(io, { class: "text-wrap" }, {
|
|
310
|
+
default: a(() => [
|
|
311
|
+
B(" Login with GitHub or Discord to save your settings and unlock exclusive subscriber perks. ")
|
|
312
|
+
]),
|
|
313
|
+
_: 1
|
|
314
|
+
})
|
|
315
|
+
]),
|
|
316
|
+
o(ee, {
|
|
317
|
+
class: "mx-auto",
|
|
318
|
+
"max-width": "300",
|
|
319
|
+
width: "100%"
|
|
320
|
+
}, {
|
|
321
|
+
default: a(() => [
|
|
322
|
+
o(l, { class: "mb-3" }),
|
|
323
|
+
o(s)
|
|
324
|
+
]),
|
|
325
|
+
_: 1
|
|
326
|
+
})
|
|
327
|
+
]),
|
|
328
|
+
_: 1
|
|
329
|
+
});
|
|
330
|
+
};
|
|
331
|
+
}
|
|
332
|
+
}), rt = /* @__PURE__ */ k({
|
|
333
|
+
__name: "VoAuthDialog",
|
|
334
|
+
setup(p) {
|
|
335
|
+
const e = F();
|
|
336
|
+
return (i, n) => {
|
|
337
|
+
const l = lt;
|
|
338
|
+
return d(), f(tt, {
|
|
339
|
+
modelValue: t(e).dialog,
|
|
340
|
+
"onUpdate:modelValue": n[0] || (n[0] = (s) => t(e).dialog = s),
|
|
341
|
+
"max-width": "480"
|
|
342
|
+
}, {
|
|
343
|
+
default: a(() => [
|
|
344
|
+
o(l)
|
|
345
|
+
]),
|
|
346
|
+
_: 1
|
|
347
|
+
}, 8, ["modelValue"]);
|
|
348
|
+
};
|
|
349
|
+
}
|
|
350
|
+
}), De = X("notifications", () => {
|
|
232
351
|
const p = ge(), e = O(), i = H([]), n = D(!1), l = w(() => i.value.filter((c) => !e.notifications.read.includes(c.slug))), s = w(() => i.value.filter((c) => e.notifications.read.includes(c.slug)));
|
|
233
352
|
async function r() {
|
|
234
353
|
try {
|
|
@@ -248,11 +367,11 @@ const ge = J("http", {
|
|
|
248
367
|
read: s,
|
|
249
368
|
unread: l
|
|
250
369
|
};
|
|
251
|
-
}),
|
|
370
|
+
}), Ao = /* @__PURE__ */ k({
|
|
252
371
|
__name: "VoNotificationsTotalBadge",
|
|
253
372
|
setup(p) {
|
|
254
373
|
const e = F(), i = De(), n = O(), l = w(() => n.notifications.show ? i.unread.length : 0);
|
|
255
|
-
return (s, r) => (d(),
|
|
374
|
+
return (s, r) => (d(), f(Ge, {
|
|
256
375
|
content: l.value,
|
|
257
376
|
dot: !!t(e).user,
|
|
258
377
|
"model-value": l.value > 0,
|
|
@@ -265,14 +384,14 @@ const ge = J("http", {
|
|
|
265
384
|
_: 3
|
|
266
385
|
}, 8, ["content", "dot", "model-value"]));
|
|
267
386
|
}
|
|
268
|
-
}),
|
|
387
|
+
}), se = /* @__PURE__ */ k({
|
|
269
388
|
__name: "VoBtn",
|
|
270
389
|
props: {
|
|
271
390
|
readonly: { type: Boolean }
|
|
272
391
|
},
|
|
273
392
|
setup(p) {
|
|
274
393
|
const e = p;
|
|
275
|
-
return (i, n) => (d(),
|
|
394
|
+
return (i, n) => (d(), f(E, {
|
|
276
395
|
style: Qe({
|
|
277
396
|
pointerEvents: e.readonly ? "none" : void 0
|
|
278
397
|
}),
|
|
@@ -281,9 +400,9 @@ const ge = J("http", {
|
|
|
281
400
|
color: "primary",
|
|
282
401
|
size: "small",
|
|
283
402
|
variant: "flat"
|
|
284
|
-
},
|
|
403
|
+
}, G({
|
|
285
404
|
loader: a(() => [
|
|
286
|
-
i.$slots.loader ? x("", !0) : (d(),
|
|
405
|
+
i.$slots.loader ? x("", !0) : (d(), f(lo, {
|
|
287
406
|
key: 0,
|
|
288
407
|
indeterminate: "disable-shrink",
|
|
289
408
|
size: "16",
|
|
@@ -302,59 +421,7 @@ const ge = J("http", {
|
|
|
302
421
|
} : void 0
|
|
303
422
|
]), 1032, ["style", "tabindex"]));
|
|
304
423
|
}
|
|
305
|
-
}),
|
|
306
|
-
__name: "VoAuthDiscord",
|
|
307
|
-
setup(p) {
|
|
308
|
-
const e = F(), i = w(() => e.user && e.findIdentity("discord")), n = w(() => e.user ? i.value ? "Connected to Discord" : "Connect Discord" : "Login with Discord");
|
|
309
|
-
return (l, s) => (d(), v(_e, {
|
|
310
|
-
"prepend-icon": `svg:${t(Ee)}`,
|
|
311
|
-
"base-color": "#5865F2",
|
|
312
|
-
rounded: "pill",
|
|
313
|
-
variant: "flat",
|
|
314
|
-
slim: "",
|
|
315
|
-
onClick: s[0] || (s[0] = (r) => t(e).login("discord"))
|
|
316
|
-
}, W({
|
|
317
|
-
title: a(() => [
|
|
318
|
-
h("span", yo, A(n.value), 1)
|
|
319
|
-
]),
|
|
320
|
-
_: 2
|
|
321
|
-
}, [
|
|
322
|
-
!t(e).user && t(e).lastLoginProvider() === "discord" ? {
|
|
323
|
-
name: "subtitle",
|
|
324
|
-
fn: a(() => [
|
|
325
|
-
Vo
|
|
326
|
-
]),
|
|
327
|
-
key: "0"
|
|
328
|
-
} : void 0
|
|
329
|
-
]), 1032, ["prepend-icon"]));
|
|
330
|
-
}
|
|
331
|
-
}), ko = { class: "text-body-2" }, xo = /* @__PURE__ */ h("div", { class: "text-caption mt-n1" }, "Last Used", -1), it = /* @__PURE__ */ k({
|
|
332
|
-
__name: "VoAuthGithub",
|
|
333
|
-
setup(p) {
|
|
334
|
-
const e = F(), i = w(() => e.user && e.findIdentity("github")), n = w(() => e.user ? i.value ? "Connected to GitHub" : "Connect GitHub" : "Login with GitHub");
|
|
335
|
-
return (l, s) => (d(), v(_e, {
|
|
336
|
-
"prepend-icon": `svg:${t(We)}`,
|
|
337
|
-
"base-color": "#2a2a2a",
|
|
338
|
-
rounded: "pill",
|
|
339
|
-
variant: "flat",
|
|
340
|
-
slim: "",
|
|
341
|
-
onClick: s[0] || (s[0] = (r) => t(e).login("github"))
|
|
342
|
-
}, W({
|
|
343
|
-
title: a(() => [
|
|
344
|
-
h("span", ko, A(n.value), 1)
|
|
345
|
-
]),
|
|
346
|
-
_: 2
|
|
347
|
-
}, [
|
|
348
|
-
!t(e).user && t(e).lastLoginProvider() === "github" ? {
|
|
349
|
-
name: "subtitle",
|
|
350
|
-
fn: a(() => [
|
|
351
|
-
xo
|
|
352
|
-
]),
|
|
353
|
-
key: "0"
|
|
354
|
-
} : void 0
|
|
355
|
-
]), 1032, ["prepend-icon"]));
|
|
356
|
-
}
|
|
357
|
-
}), $o = { class: "pa-4 d-flex flex-column ga-4" }, lt = /* @__PURE__ */ k({
|
|
424
|
+
}), Do = { class: "pa-4 d-flex flex-column ga-4" }, ct = /* @__PURE__ */ k({
|
|
358
425
|
__name: "VoAuthListItem",
|
|
359
426
|
setup(p) {
|
|
360
427
|
const e = F(), i = O(), n = D(!e.user && !e.isLoading);
|
|
@@ -365,8 +432,8 @@ const ge = J("http", {
|
|
|
365
432
|
e.user && (n.value = !n.value);
|
|
366
433
|
}
|
|
367
434
|
return (s, r) => {
|
|
368
|
-
const c = it,
|
|
369
|
-
return d(),
|
|
435
|
+
const c = it, v = at;
|
|
436
|
+
return d(), f(M, {
|
|
370
437
|
variant: n.value ? "tonal" : "text",
|
|
371
438
|
class: "ma-2",
|
|
372
439
|
rounded: "lg"
|
|
@@ -387,7 +454,7 @@ const ge = J("http", {
|
|
|
387
454
|
append: a(() => [
|
|
388
455
|
o($e, null, {
|
|
389
456
|
default: a(() => [
|
|
390
|
-
t(e).user && (n.value || !t(i).syncSettings) ? (d(),
|
|
457
|
+
t(e).user && (n.value || !t(i).syncSettings) ? (d(), f(ot, {
|
|
391
458
|
key: 0,
|
|
392
459
|
modelValue: t(i).syncSettings,
|
|
393
460
|
"onUpdate:modelValue": r[0] || (r[0] = (u) => t(i).syncSettings = u),
|
|
@@ -413,17 +480,17 @@ const ge = J("http", {
|
|
|
413
480
|
}, 8, ["link", "prepend-icon", "title"]),
|
|
414
481
|
o(he, null, {
|
|
415
482
|
default: a(() => [
|
|
416
|
-
!t(e).user && !t(e).isLoading || n.value ? (d(),
|
|
483
|
+
!t(e).user && !t(e).isLoading || n.value ? (d(), f(qe, {
|
|
417
484
|
key: 0,
|
|
418
485
|
border: "t",
|
|
419
486
|
color: "transparent"
|
|
420
487
|
}, {
|
|
421
488
|
default: a(() => [
|
|
422
|
-
h("div",
|
|
489
|
+
h("div", Do, [
|
|
423
490
|
o(c, {
|
|
424
491
|
onClick: r[2] || (r[2] = (u) => n.value = !1)
|
|
425
492
|
}),
|
|
426
|
-
o(
|
|
493
|
+
o(v, {
|
|
427
494
|
onClick: r[3] || (r[3] = (u) => n.value = !1)
|
|
428
495
|
})
|
|
429
496
|
])
|
|
@@ -441,10 +508,10 @@ const ge = J("http", {
|
|
|
441
508
|
}, 8, ["variant"]);
|
|
442
509
|
};
|
|
443
510
|
}
|
|
444
|
-
}),
|
|
511
|
+
}), Y = /* @__PURE__ */ k({
|
|
445
512
|
__name: "VoListItem",
|
|
446
513
|
setup(p) {
|
|
447
|
-
return (e, i) => (d(),
|
|
514
|
+
return (e, i) => (d(), f(_e, { slim: "" }, G({
|
|
448
515
|
default: a(() => [
|
|
449
516
|
R(e.$slots, "default")
|
|
450
517
|
]),
|
|
@@ -473,7 +540,7 @@ const ge = J("http", {
|
|
|
473
540
|
} : void 0
|
|
474
541
|
]), 1024));
|
|
475
542
|
}
|
|
476
|
-
}),
|
|
543
|
+
}), Uo = /* @__PURE__ */ k({
|
|
477
544
|
__name: "VoAuthLogoutListItem",
|
|
478
545
|
setup(p) {
|
|
479
546
|
const e = F(), i = D(!1);
|
|
@@ -481,8 +548,8 @@ const ge = J("http", {
|
|
|
481
548
|
i.value = !0, await e.logout(), i.value = !1;
|
|
482
549
|
}
|
|
483
550
|
return (l, s) => {
|
|
484
|
-
const r =
|
|
485
|
-
return d(),
|
|
551
|
+
const r = Y;
|
|
552
|
+
return d(), f(r, {
|
|
486
553
|
disabled: i.value,
|
|
487
554
|
loading: i.value,
|
|
488
555
|
"prepend-icon": `svg:${t(xt)}`,
|
|
@@ -495,7 +562,7 @@ const ge = J("http", {
|
|
|
495
562
|
}
|
|
496
563
|
}), Ue = /* @__PURE__ */ k({
|
|
497
564
|
__name: "VoDialog",
|
|
498
|
-
props: /* @__PURE__ */
|
|
565
|
+
props: /* @__PURE__ */ ft({
|
|
499
566
|
prependIcon: {},
|
|
500
567
|
title: {}
|
|
501
568
|
}, {
|
|
@@ -504,50 +571,59 @@ const ge = J("http", {
|
|
|
504
571
|
}),
|
|
505
572
|
emits: ["update:modelValue"],
|
|
506
573
|
setup(p) {
|
|
507
|
-
const e =
|
|
508
|
-
return (
|
|
574
|
+
const e = ie(p, "modelValue"), i = re(), n = D(!1);
|
|
575
|
+
return (l, s) => (d(), f(tt, {
|
|
509
576
|
modelValue: e.value,
|
|
510
|
-
"onUpdate:modelValue":
|
|
511
|
-
fullscreen: t(i).xs.value,
|
|
512
|
-
"max-height": t(i).xs.value ? "100%" : 800,
|
|
513
|
-
"max-width": t(i).xs.value ? "100%" : 800,
|
|
577
|
+
"onUpdate:modelValue": s[2] || (s[2] = (r) => e.value = r),
|
|
578
|
+
fullscreen: n.value || t(i).xs.value,
|
|
579
|
+
"max-height": n.value || t(i).xs.value ? "100%" : 800,
|
|
580
|
+
"max-width": n.value || t(i).xs.value ? "100%" : 800,
|
|
514
581
|
activator: "parent",
|
|
515
582
|
height: "100%"
|
|
516
583
|
}, {
|
|
517
|
-
default: a(({ isActive:
|
|
584
|
+
default: a(({ isActive: r }) => [
|
|
518
585
|
o(M, {
|
|
519
|
-
"prepend-icon":
|
|
520
|
-
title:
|
|
586
|
+
"prepend-icon": l.prependIcon,
|
|
587
|
+
title: l.title,
|
|
521
588
|
class: "overflow-hidden",
|
|
522
589
|
height: "inherit"
|
|
523
|
-
},
|
|
590
|
+
}, G({
|
|
524
591
|
append: a(() => [
|
|
525
|
-
R(
|
|
526
|
-
|
|
592
|
+
R(l.$slots, "append"),
|
|
593
|
+
t(i).xs.value ? x("", !0) : (d(), f(E, {
|
|
594
|
+
key: 0,
|
|
595
|
+
icon: `svg:${n.value ? t($t) : t(wt)}`,
|
|
596
|
+
class: "me-2",
|
|
597
|
+
density: "comfortable",
|
|
598
|
+
size: "small",
|
|
599
|
+
variant: "text",
|
|
600
|
+
onClick: s[0] || (s[0] = (c) => n.value = !n.value)
|
|
601
|
+
}, null, 8, ["icon"])),
|
|
602
|
+
o(E, {
|
|
527
603
|
density: "comfortable",
|
|
528
604
|
icon: "$close",
|
|
529
605
|
size: "small",
|
|
530
606
|
variant: "text",
|
|
531
|
-
onClick:
|
|
607
|
+
onClick: s[1] || (s[1] = (c) => e.value = !e.value)
|
|
532
608
|
})
|
|
533
609
|
]),
|
|
534
610
|
default: a(() => [
|
|
535
|
-
o(
|
|
536
|
-
R(
|
|
611
|
+
o(W, { class: "mt-4" }),
|
|
612
|
+
R(l.$slots, "default")
|
|
537
613
|
]),
|
|
538
614
|
_: 2
|
|
539
615
|
}, [
|
|
540
|
-
|
|
616
|
+
l.$slots.prepend ? {
|
|
541
617
|
name: "prepend",
|
|
542
618
|
fn: a(() => [
|
|
543
|
-
R(
|
|
619
|
+
R(l.$slots, "prepend")
|
|
544
620
|
]),
|
|
545
621
|
key: "0"
|
|
546
622
|
} : void 0,
|
|
547
|
-
|
|
623
|
+
l.$slots.actions ? {
|
|
548
624
|
name: "actions",
|
|
549
625
|
fn: a(() => [
|
|
550
|
-
R(
|
|
626
|
+
R(l.$slots, "actions", { isActive: r })
|
|
551
627
|
]),
|
|
552
628
|
key: "1"
|
|
553
629
|
} : void 0
|
|
@@ -556,21 +632,21 @@ const ge = J("http", {
|
|
|
556
632
|
_: 3
|
|
557
633
|
}, 8, ["modelValue", "fullscreen", "max-height", "max-width"]));
|
|
558
634
|
}
|
|
559
|
-
}),
|
|
635
|
+
}), ut = /* @__PURE__ */ k({
|
|
560
636
|
__name: "VoSwitch",
|
|
561
637
|
props: {
|
|
562
638
|
disabled: { type: Boolean }
|
|
563
639
|
},
|
|
564
640
|
setup(p) {
|
|
565
|
-
return (e, i) => (d(),
|
|
641
|
+
return (e, i) => (d(), f(ot, {
|
|
566
642
|
disabled: e.disabled,
|
|
567
|
-
"true-icon": `svg:${t(
|
|
643
|
+
"true-icon": `svg:${t(le)}`,
|
|
568
644
|
color: "primary",
|
|
569
645
|
density: "compact",
|
|
570
646
|
inset: ""
|
|
571
|
-
},
|
|
647
|
+
}, G({
|
|
572
648
|
thumb: a(() => [
|
|
573
|
-
o(
|
|
649
|
+
o(A, {
|
|
574
650
|
color: e.disabled ? void 0 : "primary"
|
|
575
651
|
}, null, 8, ["color"])
|
|
576
652
|
]),
|
|
@@ -585,7 +661,7 @@ const ge = J("http", {
|
|
|
585
661
|
} : void 0
|
|
586
662
|
]), 1032, ["disabled", "true-icon"]));
|
|
587
663
|
}
|
|
588
|
-
}),
|
|
664
|
+
}), Bo = {
|
|
589
665
|
key: 1,
|
|
590
666
|
class: "mb-3 text-caption text-medium-emphasis"
|
|
591
667
|
}, be = /* @__PURE__ */ k({
|
|
@@ -595,20 +671,20 @@ const ge = J("http", {
|
|
|
595
671
|
text: {}
|
|
596
672
|
},
|
|
597
673
|
setup(p) {
|
|
598
|
-
return (e, i) => (d(),
|
|
599
|
-
e.title ? (d(),
|
|
674
|
+
return (e, i) => (d(), S(U, null, [
|
|
675
|
+
e.title ? (d(), f(ze, {
|
|
600
676
|
key: 0,
|
|
601
677
|
class: "font-weight-black"
|
|
602
678
|
}, {
|
|
603
679
|
default: a(() => [
|
|
604
|
-
B(
|
|
680
|
+
B(I(e.title), 1)
|
|
605
681
|
]),
|
|
606
682
|
_: 1
|
|
607
683
|
})) : x("", !0),
|
|
608
|
-
e.text ? (d(),
|
|
684
|
+
e.text ? (d(), S("div", Bo, I(e.text), 1)) : x("", !0)
|
|
609
685
|
], 64));
|
|
610
686
|
}
|
|
611
|
-
}),
|
|
687
|
+
}), No = { key: 0 }, Oo = /* @__PURE__ */ k({
|
|
612
688
|
__name: "VoSettingsPageSuitOption",
|
|
613
689
|
setup(p) {
|
|
614
690
|
const e = O(), i = [
|
|
@@ -634,8 +710,8 @@ const ge = J("http", {
|
|
|
634
710
|
// },
|
|
635
711
|
];
|
|
636
712
|
return (n, l) => {
|
|
637
|
-
const s =
|
|
638
|
-
return d(),
|
|
713
|
+
const s = ut, r = be;
|
|
714
|
+
return d(), S(U, null, [
|
|
639
715
|
o(s, {
|
|
640
716
|
modelValue: t(e).suits.show,
|
|
641
717
|
"onUpdate:modelValue": l[0] || (l[0] = (c) => t(e).suits.show = c),
|
|
@@ -645,8 +721,8 @@ const ge = J("http", {
|
|
|
645
721
|
}, null, 8, ["modelValue"]),
|
|
646
722
|
o(he, null, {
|
|
647
723
|
default: a(() => [
|
|
648
|
-
t(e).suits.show ? (d(),
|
|
649
|
-
o(
|
|
724
|
+
t(e).suits.show ? (d(), S("div", No, [
|
|
725
|
+
o(po, {
|
|
650
726
|
modelValue: t(e).suits.suit,
|
|
651
727
|
"onUpdate:modelValue": l[1] || (l[1] = (c) => t(e).suits.suit = c),
|
|
652
728
|
items: i,
|
|
@@ -659,17 +735,17 @@ const ge = J("http", {
|
|
|
659
735
|
"single-line": ""
|
|
660
736
|
}, {
|
|
661
737
|
selection: a(({ item: c }) => [
|
|
662
|
-
o(
|
|
738
|
+
o(A, {
|
|
663
739
|
icon: c.props.prependIcon,
|
|
664
740
|
size: "x-small",
|
|
665
741
|
start: ""
|
|
666
742
|
}, null, 8, ["icon"]),
|
|
667
|
-
B(" " +
|
|
743
|
+
B(" " + I(c.title), 1)
|
|
668
744
|
]),
|
|
669
745
|
_: 1
|
|
670
746
|
}, 8, ["modelValue"]),
|
|
671
747
|
o(r, { text: "Select your suit elements to display the background image:" }),
|
|
672
|
-
o(
|
|
748
|
+
o(uo, {
|
|
673
749
|
modelValue: t(e).suits.elements,
|
|
674
750
|
"onUpdate:modelValue": l[2] || (l[2] = (c) => t(e).suits.elements = c),
|
|
675
751
|
color: "primary",
|
|
@@ -677,39 +753,39 @@ const ge = J("http", {
|
|
|
677
753
|
multiple: ""
|
|
678
754
|
}, {
|
|
679
755
|
default: a(() => [
|
|
680
|
-
o(
|
|
681
|
-
"append-icon": `svg:${t(
|
|
756
|
+
o(q, {
|
|
757
|
+
"append-icon": `svg:${t(St)}`,
|
|
682
758
|
"filter-icon": "$success",
|
|
683
759
|
text: "App Bar",
|
|
684
760
|
value: "app-bar",
|
|
685
761
|
variant: "flat"
|
|
686
762
|
}, {
|
|
687
763
|
append: a(() => [
|
|
688
|
-
o(
|
|
764
|
+
o(W, {
|
|
689
765
|
class: "ms-2 border-opacity-50",
|
|
690
766
|
vertical: ""
|
|
691
767
|
}),
|
|
692
|
-
o(
|
|
768
|
+
o(A, { size: "x-small" })
|
|
693
769
|
]),
|
|
694
770
|
_: 1
|
|
695
771
|
}, 8, ["append-icon"]),
|
|
696
|
-
o(
|
|
697
|
-
"append-icon": `svg:${t(
|
|
772
|
+
o(q, {
|
|
773
|
+
"append-icon": `svg:${t(Ct)}`,
|
|
698
774
|
"filter-icon": "$success",
|
|
699
775
|
text: "Navigation Drawer",
|
|
700
776
|
value: "drawer",
|
|
701
777
|
variant: "flat"
|
|
702
778
|
}, {
|
|
703
779
|
append: a(() => [
|
|
704
|
-
o(
|
|
780
|
+
o(W, {
|
|
705
781
|
class: "ms-2 border-opacity-50",
|
|
706
782
|
vertical: ""
|
|
707
783
|
}),
|
|
708
|
-
o(
|
|
784
|
+
o(A, { size: "x-small" })
|
|
709
785
|
]),
|
|
710
786
|
_: 1
|
|
711
787
|
}, 8, ["append-icon"]),
|
|
712
|
-
o(
|
|
788
|
+
o(q, {
|
|
713
789
|
"append-icon": "$info",
|
|
714
790
|
"filter-icon": "$success",
|
|
715
791
|
text: "Footer",
|
|
@@ -717,11 +793,11 @@ const ge = J("http", {
|
|
|
717
793
|
variant: "flat"
|
|
718
794
|
}, {
|
|
719
795
|
append: a(() => [
|
|
720
|
-
o(
|
|
796
|
+
o(W, {
|
|
721
797
|
class: "ms-2 border-opacity-50",
|
|
722
798
|
vertical: ""
|
|
723
799
|
}),
|
|
724
|
-
o(
|
|
800
|
+
o(A, { size: "x-small" })
|
|
725
801
|
]),
|
|
726
802
|
_: 1
|
|
727
803
|
})
|
|
@@ -737,63 +813,63 @@ const ge = J("http", {
|
|
|
737
813
|
}
|
|
738
814
|
});
|
|
739
815
|
function ye() {
|
|
740
|
-
const p =
|
|
816
|
+
const p = yt();
|
|
741
817
|
return w(
|
|
742
818
|
() => p.query
|
|
743
819
|
);
|
|
744
820
|
}
|
|
745
|
-
const j =
|
|
746
|
-
const p = ye(), e = p.value.session_id, i = Pe(), n = F(), l = ge(), s = D(!1), r = H(!1), c = H(),
|
|
821
|
+
const j = X("one", () => {
|
|
822
|
+
const p = ye(), e = p.value.session_id, i = Pe(), n = F(), l = ge(), s = D(!1), r = H(!1), c = H(), v = H([]), u = w(() => {
|
|
747
823
|
var g;
|
|
748
824
|
return (g = c.value) == null ? void 0 : g.items[0].plan.interval;
|
|
749
825
|
}), m = w(() => {
|
|
750
826
|
var g;
|
|
751
|
-
return (g = n.user) == null ? void 0 : g.sponsorships.find((
|
|
827
|
+
return (g = n.user) == null ? void 0 : g.sponsorships.find((L) => L.platform === "stripe" && L.tierName.startsWith("sub_"));
|
|
752
828
|
}), b = w(() => {
|
|
753
829
|
var g;
|
|
754
830
|
return !!((g = m.value) != null && g.tierName);
|
|
755
831
|
}), V = w(() => {
|
|
756
832
|
var g;
|
|
757
833
|
return (g = m.value) == null ? void 0 : g.isActive;
|
|
758
|
-
}),
|
|
834
|
+
}), C = w(() => {
|
|
759
835
|
var g;
|
|
760
|
-
return (g = n.user) == null ? void 0 : g.sponsorships.find((
|
|
836
|
+
return (g = n.user) == null ? void 0 : g.sponsorships.find((L) => L.platform === "github");
|
|
761
837
|
}), _ = w(() => {
|
|
762
838
|
var g;
|
|
763
|
-
return (g = n.user) == null ? void 0 : g.sponsorships.find((
|
|
839
|
+
return (g = n.user) == null ? void 0 : g.sponsorships.find((L) => L.platform === "discord");
|
|
764
840
|
}), y = w(() => {
|
|
765
841
|
var g;
|
|
766
|
-
return (g = n.user) == null ? void 0 : g.sponsorships.find((
|
|
842
|
+
return (g = n.user) == null ? void 0 : g.sponsorships.find((L) => L.platform === "patreon");
|
|
767
843
|
}), $ = w(() => {
|
|
768
844
|
var g;
|
|
769
|
-
return (g = n.user) == null ? void 0 : g.sponsorships.reduce((
|
|
770
|
-
if (!
|
|
771
|
-
return
|
|
772
|
-
const
|
|
773
|
-
return
|
|
845
|
+
return (g = n.user) == null ? void 0 : g.sponsorships.reduce((L, Q) => {
|
|
846
|
+
if (!Q.isActive || Q.interval === "once" || Q.platform === "stripe")
|
|
847
|
+
return L;
|
|
848
|
+
const dt = Q.interval === "month" ? Q.amount : Q.amount / 12;
|
|
849
|
+
return L + dt / 100;
|
|
774
850
|
}, 0);
|
|
775
851
|
});
|
|
776
|
-
|
|
852
|
+
vt(async () => {
|
|
777
853
|
e && await z();
|
|
778
854
|
}), N(r, (g) => {
|
|
779
|
-
g &&
|
|
855
|
+
g && ae();
|
|
780
856
|
}), N(p, (g) => {
|
|
781
857
|
if (g.one !== "subscribe" || n.user)
|
|
782
858
|
return;
|
|
783
859
|
console.log(g.one), n.dialog = !0;
|
|
784
|
-
const
|
|
785
|
-
|
|
860
|
+
const L = N(() => n.user, (Q) => {
|
|
861
|
+
Q && (n.dialog = !1, L());
|
|
786
862
|
});
|
|
787
|
-
}, { immediate: !0 }), N(V, (g,
|
|
788
|
-
g === !1 &&
|
|
863
|
+
}, { immediate: !0 }), N(V, (g, L) => {
|
|
864
|
+
g === !1 && L !== !0 || ce();
|
|
789
865
|
});
|
|
790
866
|
async function z() {
|
|
791
867
|
try {
|
|
792
868
|
s.value = !0;
|
|
793
869
|
const g = await l.post("/one/activate", { sessionId: e });
|
|
794
870
|
n.user = g.user;
|
|
795
|
-
const
|
|
796
|
-
|
|
871
|
+
const L = new URL(window.location.href);
|
|
872
|
+
L.searchParams.delete("session_id"), history.pushState(null, "", L.toString()), ue();
|
|
797
873
|
} catch {
|
|
798
874
|
} finally {
|
|
799
875
|
s.value = !1;
|
|
@@ -805,15 +881,15 @@ const j = J("one", () => {
|
|
|
805
881
|
async function te(g) {
|
|
806
882
|
s.value = !0, window.location.href = `${l.url}/one/subscribe?interval=${g}`;
|
|
807
883
|
}
|
|
808
|
-
async function
|
|
884
|
+
async function Z() {
|
|
809
885
|
var g;
|
|
810
886
|
if (m.value)
|
|
811
887
|
try {
|
|
812
888
|
s.value = !0;
|
|
813
|
-
const
|
|
889
|
+
const L = await l.post(
|
|
814
890
|
`/one/cancel?subscriptionId=${(g = m.value) == null ? void 0 : g.tierName}`
|
|
815
891
|
);
|
|
816
|
-
n.user =
|
|
892
|
+
n.user = L.user;
|
|
817
893
|
} catch {
|
|
818
894
|
} finally {
|
|
819
895
|
s.value = !1;
|
|
@@ -823,11 +899,11 @@ const j = J("one", () => {
|
|
|
823
899
|
if (m.value)
|
|
824
900
|
try {
|
|
825
901
|
s.value = !0;
|
|
826
|
-
const
|
|
902
|
+
const L = await l.post("/one/modify", {
|
|
827
903
|
subscriptionId: m.value.tierName,
|
|
828
904
|
interval: g
|
|
829
905
|
});
|
|
830
|
-
n.user =
|
|
906
|
+
n.user = L.user;
|
|
831
907
|
} catch {
|
|
832
908
|
} finally {
|
|
833
909
|
s.value = !1;
|
|
@@ -838,10 +914,10 @@ const j = J("one", () => {
|
|
|
838
914
|
if (m.value)
|
|
839
915
|
try {
|
|
840
916
|
s.value = !0;
|
|
841
|
-
const
|
|
917
|
+
const L = await l.post(
|
|
842
918
|
`/one/verify?subscriptionId=${(g = m.value) == null ? void 0 : g.tierName}`
|
|
843
919
|
);
|
|
844
|
-
n.user =
|
|
920
|
+
n.user = L.user;
|
|
845
921
|
} catch {
|
|
846
922
|
} finally {
|
|
847
923
|
s.value = !1;
|
|
@@ -851,19 +927,19 @@ const j = J("one", () => {
|
|
|
851
927
|
try {
|
|
852
928
|
s.value = !0;
|
|
853
929
|
const g = await l.get("/one/info");
|
|
854
|
-
return c.value = g.subscription,
|
|
930
|
+
return c.value = g.subscription, v.value = g.invoices, g;
|
|
855
931
|
} catch {
|
|
856
932
|
} finally {
|
|
857
933
|
s.value = !1;
|
|
858
934
|
}
|
|
859
935
|
}
|
|
860
|
-
function
|
|
936
|
+
function ae() {
|
|
861
937
|
i.push({ query: {} });
|
|
862
938
|
}
|
|
863
939
|
return {
|
|
864
940
|
info: c,
|
|
865
941
|
interval: u,
|
|
866
|
-
invoices:
|
|
942
|
+
invoices: v,
|
|
867
943
|
sessionId: e,
|
|
868
944
|
subscription: m,
|
|
869
945
|
monthlyTotal: $,
|
|
@@ -871,20 +947,20 @@ const j = J("one", () => {
|
|
|
871
947
|
isLoading: s,
|
|
872
948
|
isOpen: r,
|
|
873
949
|
isSubscriber: V,
|
|
874
|
-
github:
|
|
950
|
+
github: C,
|
|
875
951
|
patreon: y,
|
|
876
952
|
discord: _,
|
|
877
953
|
activate: z,
|
|
878
|
-
cancel:
|
|
954
|
+
cancel: Z,
|
|
879
955
|
manage: T,
|
|
880
956
|
modify: Ve,
|
|
881
|
-
resetQuery:
|
|
957
|
+
resetQuery: ae,
|
|
882
958
|
subscribe: te,
|
|
883
959
|
subscriptionInfo: ue,
|
|
884
960
|
verify: ce
|
|
885
961
|
};
|
|
886
962
|
});
|
|
887
|
-
function
|
|
963
|
+
function Fo() {
|
|
888
964
|
return {
|
|
889
965
|
blackguard: {
|
|
890
966
|
dark: !0,
|
|
@@ -1000,8 +1076,8 @@ function Ao() {
|
|
|
1000
1076
|
}
|
|
1001
1077
|
};
|
|
1002
1078
|
}
|
|
1003
|
-
const Be =
|
|
1004
|
-
const p = "https://cdn.vuetifyjs.com/docs/images/one/", e = F(), i = O(), n =
|
|
1079
|
+
const Be = X("settings", () => {
|
|
1080
|
+
const p = "https://cdn.vuetifyjs.com/docs/images/one/", e = F(), i = O(), n = co(), l = Fo(), s = {
|
|
1005
1081
|
blackguard: {
|
|
1006
1082
|
"app-bar": p + "suits/blackguard/blackguard-app-bar.png",
|
|
1007
1083
|
drawer: p + "suits/blackguard/blackguard-app-drawer.png",
|
|
@@ -1020,10 +1096,10 @@ const Be = J("settings", () => {
|
|
|
1020
1096
|
}, r = w(() => {
|
|
1021
1097
|
if (!i.suits.suit || !i.suits.show || !e.isSubscriber)
|
|
1022
1098
|
return {};
|
|
1023
|
-
const c = s[i.suits.suit.toLowerCase()],
|
|
1099
|
+
const c = s[i.suits.suit.toLowerCase()], v = {};
|
|
1024
1100
|
for (const u of i.suits.elements)
|
|
1025
|
-
|
|
1026
|
-
return
|
|
1101
|
+
v[u] = c[u];
|
|
1102
|
+
return v;
|
|
1027
1103
|
});
|
|
1028
1104
|
return n.themes.value = {
|
|
1029
1105
|
...n.themes.value,
|
|
@@ -1034,7 +1110,7 @@ const Be = J("settings", () => {
|
|
|
1034
1110
|
suit: r,
|
|
1035
1111
|
CDN_URL: p
|
|
1036
1112
|
};
|
|
1037
|
-
}),
|
|
1113
|
+
}), zo = /* @__PURE__ */ k({
|
|
1038
1114
|
__name: "VoSettingsDialog",
|
|
1039
1115
|
props: {
|
|
1040
1116
|
modelValue: { type: Boolean },
|
|
@@ -1042,26 +1118,26 @@ const Be = J("settings", () => {
|
|
|
1042
1118
|
},
|
|
1043
1119
|
emits: ["update:modelValue"],
|
|
1044
1120
|
setup(p) {
|
|
1045
|
-
const e =
|
|
1121
|
+
const e = ie(p, "modelValue"), i = F(), n = j(), l = Be(), s = O(), r = [
|
|
1046
1122
|
{
|
|
1047
1123
|
title: "Light",
|
|
1048
1124
|
subtitle: "A standard light theme.",
|
|
1049
1125
|
image: l.CDN_URL + "themes/light.png",
|
|
1050
|
-
prependIcon: `svg:${
|
|
1126
|
+
prependIcon: `svg:${Lt}`,
|
|
1051
1127
|
value: "light"
|
|
1052
1128
|
},
|
|
1053
1129
|
{
|
|
1054
1130
|
title: "Dark",
|
|
1055
1131
|
subtitle: "A standard dark theme.",
|
|
1056
1132
|
image: l.CDN_URL + "themes/dark.png",
|
|
1057
|
-
prependIcon: `svg:${
|
|
1133
|
+
prependIcon: `svg:${It}`,
|
|
1058
1134
|
value: "dark"
|
|
1059
1135
|
},
|
|
1060
1136
|
{
|
|
1061
1137
|
title: "System",
|
|
1062
1138
|
subtitle: "A theme based on the system preference.",
|
|
1063
1139
|
image: l.CDN_URL + "themes/system.png",
|
|
1064
|
-
prependIcon: `svg:${
|
|
1140
|
+
prependIcon: `svg:${At}`,
|
|
1065
1141
|
value: "system"
|
|
1066
1142
|
},
|
|
1067
1143
|
{
|
|
@@ -1075,7 +1151,7 @@ const Be = J("settings", () => {
|
|
|
1075
1151
|
title: "Polaris",
|
|
1076
1152
|
subtitle: "A theme for v3.5 Polaris.",
|
|
1077
1153
|
image: l.CDN_URL + "themes/polaris.png",
|
|
1078
|
-
prependIcon: `svg:${
|
|
1154
|
+
prependIcon: `svg:${Dt}`,
|
|
1079
1155
|
value: "polaris",
|
|
1080
1156
|
disabled: !0
|
|
1081
1157
|
},
|
|
@@ -1083,7 +1159,7 @@ const Be = J("settings", () => {
|
|
|
1083
1159
|
title: "Nebula",
|
|
1084
1160
|
subtitle: "A theme for v3.6 Nebula.",
|
|
1085
1161
|
image: l.CDN_URL + "themes/nebula.png",
|
|
1086
|
-
prependIcon: `svg:${
|
|
1162
|
+
prependIcon: `svg:${Ut}`,
|
|
1087
1163
|
value: "nebula",
|
|
1088
1164
|
disabled: !0
|
|
1089
1165
|
},
|
|
@@ -1091,25 +1167,25 @@ const Be = J("settings", () => {
|
|
|
1091
1167
|
title: "High Contrast",
|
|
1092
1168
|
subtitle: "A theme for high contrast.",
|
|
1093
1169
|
image: l.CDN_URL + "themes/high-contrast.png",
|
|
1094
|
-
prependIcon: `svg:${
|
|
1170
|
+
prependIcon: `svg:${Bt}`,
|
|
1095
1171
|
value: "highContrast",
|
|
1096
1172
|
disabled: !0
|
|
1097
1173
|
}
|
|
1098
1174
|
], c = ye();
|
|
1099
1175
|
return N(c, async () => {
|
|
1100
1176
|
c.value.one === "settings" && (n.isOpen = !0, await fe(), e.value = !0);
|
|
1101
|
-
}, { immediate: !0 }), (
|
|
1102
|
-
const m = be, b =
|
|
1103
|
-
return d(),
|
|
1177
|
+
}, { immediate: !0 }), (v, u) => {
|
|
1178
|
+
const m = be, b = Oo, V = ut, C = Ue;
|
|
1179
|
+
return d(), f(C, {
|
|
1104
1180
|
modelValue: e.value,
|
|
1105
1181
|
"onUpdate:modelValue": u[5] || (u[5] = (_) => e.value = _),
|
|
1106
|
-
"prepend-icon": `svg:${t(
|
|
1182
|
+
"prepend-icon": `svg:${t(Nt)}`,
|
|
1107
1183
|
title: "Settings"
|
|
1108
1184
|
}, {
|
|
1109
1185
|
default: a(() => [
|
|
1110
|
-
o(
|
|
1186
|
+
o(Ie, null, {
|
|
1111
1187
|
default: a(() => [
|
|
1112
|
-
o(
|
|
1188
|
+
o(Ae, { scrollable: "" }, {
|
|
1113
1189
|
default: a(() => [
|
|
1114
1190
|
o(K, { class: "px-7" }, {
|
|
1115
1191
|
default: a(() => [
|
|
@@ -1125,7 +1201,7 @@ const Be = J("settings", () => {
|
|
|
1125
1201
|
default: a(() => [
|
|
1126
1202
|
o(Se, { dense: "" }, {
|
|
1127
1203
|
default: a(() => [
|
|
1128
|
-
(d(),
|
|
1204
|
+
(d(), S(U, null, oe(r, (_, y) => o(me, {
|
|
1129
1205
|
key: y,
|
|
1130
1206
|
cols: "12",
|
|
1131
1207
|
md: "6"
|
|
@@ -1172,21 +1248,21 @@ const Be = J("settings", () => {
|
|
|
1172
1248
|
]),
|
|
1173
1249
|
_: 1
|
|
1174
1250
|
}, 8, ["modelValue"]),
|
|
1175
|
-
t(i).isSubscriber ? (d(),
|
|
1176
|
-
o(
|
|
1251
|
+
t(i).isSubscriber ? (d(), S(U, { key: 0 }, [
|
|
1252
|
+
o(W, { class: "mt-6 mb-4" }),
|
|
1177
1253
|
o(b)
|
|
1178
1254
|
], 64)) : x("", !0)
|
|
1179
1255
|
]),
|
|
1180
1256
|
_: 1
|
|
1181
1257
|
}),
|
|
1182
|
-
o(
|
|
1258
|
+
o(W),
|
|
1183
1259
|
o(K, { class: "px-7" }, {
|
|
1184
1260
|
default: a(() => [
|
|
1185
1261
|
o(m, {
|
|
1186
1262
|
text: "These options change your browsing experience within Vuetify properties",
|
|
1187
1263
|
title: "Experience"
|
|
1188
1264
|
}),
|
|
1189
|
-
t(i).isSubscriber ? (d(),
|
|
1265
|
+
t(i).isSubscriber ? (d(), f(V, {
|
|
1190
1266
|
key: 0,
|
|
1191
1267
|
modelValue: t(s).disableAds,
|
|
1192
1268
|
"onUpdate:modelValue": u[1] || (u[1] = (_) => t(s).disableAds = _),
|
|
@@ -1203,8 +1279,8 @@ const Be = J("settings", () => {
|
|
|
1203
1279
|
]),
|
|
1204
1280
|
_: 1
|
|
1205
1281
|
}),
|
|
1206
|
-
o(
|
|
1207
|
-
t(i).isSubscriber ? (d(),
|
|
1282
|
+
o(W),
|
|
1283
|
+
t(i).isSubscriber ? (d(), f(K, {
|
|
1208
1284
|
key: 0,
|
|
1209
1285
|
class: "px-7"
|
|
1210
1286
|
}, {
|
|
@@ -1220,7 +1296,7 @@ const Be = J("settings", () => {
|
|
|
1220
1296
|
label: "Enable Notifications",
|
|
1221
1297
|
messages: "Notifications are short form messages that provide information about new releases, updates, and other important information."
|
|
1222
1298
|
}, null, 8, ["modelValue"]),
|
|
1223
|
-
t(s).notifications.show ? (d(),
|
|
1299
|
+
t(s).notifications.show ? (d(), f(V, {
|
|
1224
1300
|
key: 0,
|
|
1225
1301
|
modelValue: t(s).notifications.banners,
|
|
1226
1302
|
"onUpdate:modelValue": u[4] || (u[4] = (_) => t(s).notifications.banners = _),
|
|
@@ -1242,15 +1318,15 @@ const Be = J("settings", () => {
|
|
|
1242
1318
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
1243
1319
|
};
|
|
1244
1320
|
}
|
|
1245
|
-
}),
|
|
1321
|
+
}), jo = /* @__PURE__ */ k({
|
|
1246
1322
|
__name: "VoSettingsListItem",
|
|
1247
1323
|
setup(p) {
|
|
1248
1324
|
const e = D(!1);
|
|
1249
1325
|
return (i, n) => {
|
|
1250
|
-
const l =
|
|
1251
|
-
return d(),
|
|
1326
|
+
const l = zo, s = Y;
|
|
1327
|
+
return d(), f(s, {
|
|
1252
1328
|
active: e.value,
|
|
1253
|
-
"prepend-icon": `svg:${t(
|
|
1329
|
+
"prepend-icon": `svg:${t(Ot)}`,
|
|
1254
1330
|
title: "Settings",
|
|
1255
1331
|
link: ""
|
|
1256
1332
|
}, {
|
|
@@ -1264,13 +1340,13 @@ const Be = J("settings", () => {
|
|
|
1264
1340
|
}, 8, ["active", "prepend-icon"]);
|
|
1265
1341
|
};
|
|
1266
1342
|
}
|
|
1267
|
-
}),
|
|
1343
|
+
}), To = { class: "text-caption" }, Mo = /* @__PURE__ */ k({
|
|
1268
1344
|
__name: "VoSubscriptionInvoices",
|
|
1269
1345
|
setup(p) {
|
|
1270
1346
|
const e = we(), i = j();
|
|
1271
1347
|
return (n, l) => {
|
|
1272
1348
|
const s = be;
|
|
1273
|
-
return d(),
|
|
1349
|
+
return d(), f(Se, null, {
|
|
1274
1350
|
default: a(() => [
|
|
1275
1351
|
o(me, { cols: "12" }, {
|
|
1276
1352
|
default: a(() => [
|
|
@@ -1284,19 +1360,19 @@ const Be = J("settings", () => {
|
|
|
1284
1360
|
border: ""
|
|
1285
1361
|
}, {
|
|
1286
1362
|
default: a(() => [
|
|
1287
|
-
o(
|
|
1363
|
+
o(mo, {
|
|
1288
1364
|
items: t(i).invoices,
|
|
1289
1365
|
loading: t(i).isLoading,
|
|
1290
1366
|
sticky: ""
|
|
1291
1367
|
}, {
|
|
1292
1368
|
"item.date": a(({ item: r }) => [
|
|
1293
|
-
h("div",
|
|
1369
|
+
h("div", To, I(t(e).format(new Date(r.date * 1e3), "fullDateWithWeekday")), 1)
|
|
1294
1370
|
]),
|
|
1295
1371
|
"item.amount": a(({ item: r }) => [
|
|
1296
|
-
B(" $" +
|
|
1372
|
+
B(" $" + I(r.amount / 100), 1)
|
|
1297
1373
|
]),
|
|
1298
1374
|
"item.status": a(({ item: r }) => [
|
|
1299
|
-
o(
|
|
1375
|
+
o(q, {
|
|
1300
1376
|
text: r.status,
|
|
1301
1377
|
border: "success sm",
|
|
1302
1378
|
class: "text-capitalize",
|
|
@@ -1307,9 +1383,9 @@ const Be = J("settings", () => {
|
|
|
1307
1383
|
}, null, 8, ["text"])
|
|
1308
1384
|
]),
|
|
1309
1385
|
"item.pdf": a(({ item: r }) => [
|
|
1310
|
-
o(
|
|
1386
|
+
o(E, {
|
|
1311
1387
|
href: r.pdf,
|
|
1312
|
-
icon: `svg:${t(
|
|
1388
|
+
icon: `svg:${t(Ft)}`,
|
|
1313
1389
|
size: "small",
|
|
1314
1390
|
target: "_blank",
|
|
1315
1391
|
variant: "text"
|
|
@@ -1328,10 +1404,10 @@ const Be = J("settings", () => {
|
|
|
1328
1404
|
});
|
|
1329
1405
|
};
|
|
1330
1406
|
}
|
|
1331
|
-
}),
|
|
1407
|
+
}), Ro = { class: "d-flex align-center" }, Po = {
|
|
1332
1408
|
key: "status",
|
|
1333
1409
|
class: "text-capitalize hidden-sm-and-down"
|
|
1334
|
-
},
|
|
1410
|
+
}, Ho = /* @__PURE__ */ h("span", { class: "mx-1 hidden-sm-and-down" }, "—", -1), Eo = { class: "me-1" }, Wo = { class: "text-medium-emphasis text-caption" }, Go = { class: "d-flex align-start justify-space-between text-caption py-2" }, qo = { class: "font-weight-bold" }, Zo = { class: "font-weight-bold" }, Yo = /* @__PURE__ */ k({
|
|
1335
1411
|
__name: "VoSubscriptionStatus",
|
|
1336
1412
|
emits: ["change:subscription"],
|
|
1337
1413
|
setup(p, { emit: e }) {
|
|
@@ -1344,9 +1420,9 @@ const Be = J("settings", () => {
|
|
|
1344
1420
|
async function r() {
|
|
1345
1421
|
n.interval && (n.isLoading = !0, n.subscribe(n.interval));
|
|
1346
1422
|
}
|
|
1347
|
-
return (c,
|
|
1348
|
-
const u =
|
|
1349
|
-
return d(),
|
|
1423
|
+
return (c, v) => {
|
|
1424
|
+
const u = se;
|
|
1425
|
+
return d(), f(Se, null, {
|
|
1350
1426
|
default: a(() => [
|
|
1351
1427
|
o(me, { cols: "12" }, {
|
|
1352
1428
|
default: a(() => {
|
|
@@ -1358,11 +1434,11 @@ const Be = J("settings", () => {
|
|
|
1358
1434
|
title: "Subscription Status",
|
|
1359
1435
|
border: "",
|
|
1360
1436
|
flat: ""
|
|
1361
|
-
},
|
|
1437
|
+
}, G({
|
|
1362
1438
|
append: a(() => {
|
|
1363
1439
|
var V;
|
|
1364
1440
|
return [
|
|
1365
|
-
t(n).hasBilling && ((V = t(n).info) == null ? void 0 : V.status) === "canceled" ? (d(),
|
|
1441
|
+
t(n).hasBilling && ((V = t(n).info) == null ? void 0 : V.status) === "canceled" ? (d(), f(u, {
|
|
1366
1442
|
key: 0,
|
|
1367
1443
|
loading: t(n).isLoading,
|
|
1368
1444
|
class: "me-2",
|
|
@@ -1372,10 +1448,10 @@ const Be = J("settings", () => {
|
|
|
1372
1448
|
variant: "outlined",
|
|
1373
1449
|
onClick: r
|
|
1374
1450
|
}, null, 8, ["loading"])) : x("", !0),
|
|
1375
|
-
t(n).hasBilling ? (d(),
|
|
1451
|
+
t(n).hasBilling ? (d(), f(u, {
|
|
1376
1452
|
key: 1,
|
|
1377
1453
|
loading: t(n).isLoading,
|
|
1378
|
-
"prepend-icon": `svg:${t(
|
|
1454
|
+
"prepend-icon": `svg:${t(zt)}`,
|
|
1379
1455
|
text: "Billing",
|
|
1380
1456
|
onClick: t(n).manage
|
|
1381
1457
|
}, null, 8, ["loading", "prepend-icon", "onClick"])) : x("", !0)
|
|
@@ -1386,19 +1462,19 @@ const Be = J("settings", () => {
|
|
|
1386
1462
|
t(n).info ? {
|
|
1387
1463
|
name: "subtitle",
|
|
1388
1464
|
fn: a(() => [
|
|
1389
|
-
h("div",
|
|
1390
|
-
h("span",
|
|
1391
|
-
t(n).info.items.length ? (d(),
|
|
1392
|
-
|
|
1393
|
-
h("span",
|
|
1394
|
-
B(" $" +
|
|
1395
|
-
h("span",
|
|
1465
|
+
h("div", Ro, [
|
|
1466
|
+
h("span", Po, I(t(n).info.status), 1),
|
|
1467
|
+
t(n).info.items.length ? (d(), S(U, { key: 0 }, [
|
|
1468
|
+
Ho,
|
|
1469
|
+
h("span", Eo, [
|
|
1470
|
+
B(" $" + I(t(n).info.items[0].plan.amount / 100), 1),
|
|
1471
|
+
h("span", Wo, "/" + I(t(n).interval), 1)
|
|
1396
1472
|
]),
|
|
1397
1473
|
o(u, {
|
|
1398
1474
|
size: "x-small",
|
|
1399
1475
|
text: "(Change Subscription)",
|
|
1400
1476
|
variant: "text",
|
|
1401
|
-
onClick:
|
|
1477
|
+
onClick: v[0] || (v[0] = (V) => l("change:subscription"))
|
|
1402
1478
|
})
|
|
1403
1479
|
], 64)) : x("", !0)
|
|
1404
1480
|
])
|
|
@@ -1408,13 +1484,13 @@ const Be = J("settings", () => {
|
|
|
1408
1484
|
name: "subtitle",
|
|
1409
1485
|
fn: a(() => [
|
|
1410
1486
|
h("div", { class: "d-flex align-center" }, [
|
|
1411
|
-
o(
|
|
1487
|
+
o(Ye, {
|
|
1412
1488
|
height: "16",
|
|
1413
1489
|
type: "ossein",
|
|
1414
1490
|
width: "40"
|
|
1415
1491
|
}),
|
|
1416
1492
|
h("span", { class: "mx-1" }, "—"),
|
|
1417
|
-
o(
|
|
1493
|
+
o(Ye, {
|
|
1418
1494
|
height: "16",
|
|
1419
1495
|
type: "ossein",
|
|
1420
1496
|
width: "80"
|
|
@@ -1424,15 +1500,15 @@ const Be = J("settings", () => {
|
|
|
1424
1500
|
key: "1"
|
|
1425
1501
|
}
|
|
1426
1502
|
]), 1024),
|
|
1427
|
-
h("div",
|
|
1503
|
+
h("div", Go, [
|
|
1428
1504
|
h("div", null, [
|
|
1429
|
-
((m = t(n).info) == null ? void 0 : m.status) === "active" ? (d(),
|
|
1505
|
+
((m = t(n).info) == null ? void 0 : m.status) === "active" ? (d(), S(U, { key: 0 }, [
|
|
1430
1506
|
B(" Your plan renews on "),
|
|
1431
|
-
h("span",
|
|
1507
|
+
h("span", qo, I(t(i).format(s.value, "fullDateWithWeekday")), 1),
|
|
1432
1508
|
B(". ")
|
|
1433
|
-
], 64)) : (d(),
|
|
1509
|
+
], 64)) : (d(), S(U, { key: 1 }, [
|
|
1434
1510
|
B(" Your plan ends on "),
|
|
1435
|
-
h("span",
|
|
1511
|
+
h("span", Zo, I(t(i).format((b = t(n).info) == null ? void 0 : b.currentPeriodEnd, "fullDateWithWeekday")), 1),
|
|
1436
1512
|
B(". ")
|
|
1437
1513
|
], 64))
|
|
1438
1514
|
])
|
|
@@ -1446,7 +1522,7 @@ const Be = J("settings", () => {
|
|
|
1446
1522
|
});
|
|
1447
1523
|
};
|
|
1448
1524
|
}
|
|
1449
|
-
}),
|
|
1525
|
+
}), Qo = /* @__PURE__ */ h("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The Vuetify One subscription comes with the following perks: ", -1), Jo = ["innerHTML"], Xo = /* @__PURE__ */ h("br", null, null, -1), Ko = /* @__PURE__ */ h("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The following features are in development and coming soon: ", -1), en = ["innerHTML"], tn = /* @__PURE__ */ k({
|
|
1450
1526
|
__name: "VoSubscriptionPerks",
|
|
1451
1527
|
setup(p) {
|
|
1452
1528
|
const e = [
|
|
@@ -1463,15 +1539,15 @@ const Be = J("settings", () => {
|
|
|
1463
1539
|
return N(n, async (s) => {
|
|
1464
1540
|
s && l.subscriptionInfo();
|
|
1465
1541
|
}), (s, r) => {
|
|
1466
|
-
const c =
|
|
1467
|
-
return d(),
|
|
1542
|
+
const c = Y;
|
|
1543
|
+
return d(), S(U, null, [
|
|
1468
1544
|
o(ze, { class: "font-weight-black" }, {
|
|
1469
1545
|
default: a(() => [
|
|
1470
1546
|
B("Perks")
|
|
1471
1547
|
]),
|
|
1472
1548
|
_: 1
|
|
1473
1549
|
}),
|
|
1474
|
-
|
|
1550
|
+
Qo,
|
|
1475
1551
|
o(ee, {
|
|
1476
1552
|
lines: !1,
|
|
1477
1553
|
class: "py-0",
|
|
@@ -1479,34 +1555,34 @@ const Be = J("settings", () => {
|
|
|
1479
1555
|
nav: ""
|
|
1480
1556
|
}, {
|
|
1481
1557
|
default: a(() => [
|
|
1482
|
-
(d(),
|
|
1558
|
+
(d(), S(U, null, oe(e, (v, u) => o(c, {
|
|
1483
1559
|
key: u,
|
|
1484
|
-
"prepend-icon": `svg:${t(
|
|
1560
|
+
"prepend-icon": `svg:${t(le)}`,
|
|
1485
1561
|
class: "mb-0"
|
|
1486
1562
|
}, {
|
|
1487
1563
|
prepend: a(() => [
|
|
1488
|
-
o(
|
|
1564
|
+
o(A, {
|
|
1489
1565
|
class: "mx-n2",
|
|
1490
1566
|
color: "success",
|
|
1491
1567
|
size: "small"
|
|
1492
1568
|
})
|
|
1493
1569
|
]),
|
|
1494
1570
|
title: a(() => [
|
|
1495
|
-
h("div", { innerHTML:
|
|
1571
|
+
h("div", { innerHTML: v }, null, 8, Jo)
|
|
1496
1572
|
]),
|
|
1497
1573
|
_: 2
|
|
1498
1574
|
}, 1032, ["prepend-icon"])), 64))
|
|
1499
1575
|
]),
|
|
1500
1576
|
_: 1
|
|
1501
1577
|
}),
|
|
1502
|
-
|
|
1578
|
+
Xo,
|
|
1503
1579
|
o(ze, { class: "font-weight-black" }, {
|
|
1504
1580
|
default: a(() => [
|
|
1505
1581
|
B("Up Next")
|
|
1506
1582
|
]),
|
|
1507
1583
|
_: 1
|
|
1508
1584
|
}),
|
|
1509
|
-
|
|
1585
|
+
Ko,
|
|
1510
1586
|
o(ee, {
|
|
1511
1587
|
lines: !1,
|
|
1512
1588
|
class: "py-0",
|
|
@@ -1514,19 +1590,19 @@ const Be = J("settings", () => {
|
|
|
1514
1590
|
nav: ""
|
|
1515
1591
|
}, {
|
|
1516
1592
|
default: a(() => [
|
|
1517
|
-
(d(),
|
|
1593
|
+
(d(), S(U, null, oe(i, (v, u) => o(c, {
|
|
1518
1594
|
key: u,
|
|
1519
|
-
"prepend-icon": `svg:${t(
|
|
1595
|
+
"prepend-icon": `svg:${t(jt)}`,
|
|
1520
1596
|
class: "mb-0"
|
|
1521
1597
|
}, {
|
|
1522
1598
|
prepend: a(() => [
|
|
1523
|
-
o(
|
|
1599
|
+
o(A, {
|
|
1524
1600
|
class: "mx-n2",
|
|
1525
1601
|
size: "small"
|
|
1526
1602
|
})
|
|
1527
1603
|
]),
|
|
1528
1604
|
title: a(() => [
|
|
1529
|
-
h("div", { innerHTML:
|
|
1605
|
+
h("div", { innerHTML: v }, null, 8, en)
|
|
1530
1606
|
]),
|
|
1531
1607
|
_: 2
|
|
1532
1608
|
}, 1032, ["prepend-icon"])), 64))
|
|
@@ -1536,7 +1612,7 @@ const Be = J("settings", () => {
|
|
|
1536
1612
|
], 64);
|
|
1537
1613
|
};
|
|
1538
1614
|
}
|
|
1539
|
-
}),
|
|
1615
|
+
}), on = /* @__PURE__ */ k({
|
|
1540
1616
|
__name: "VoSubscriptionSubscribe",
|
|
1541
1617
|
props: {
|
|
1542
1618
|
modelValue: {
|
|
@@ -1546,12 +1622,12 @@ const Be = J("settings", () => {
|
|
|
1546
1622
|
},
|
|
1547
1623
|
emits: ["update:modelValue"],
|
|
1548
1624
|
setup(p) {
|
|
1549
|
-
const e = D(!1), i =
|
|
1625
|
+
const e = D(!1), i = ie(p, "modelValue"), n = j();
|
|
1550
1626
|
return N(e, async (l) => {
|
|
1551
1627
|
l && n.subscriptionInfo();
|
|
1552
1628
|
}), N(() => n.interval, (l) => {
|
|
1553
1629
|
i.value = l;
|
|
1554
|
-
}, { immediate: !0 }), (l, s) => (d(),
|
|
1630
|
+
}, { immediate: !0 }), (l, s) => (d(), f(nt, {
|
|
1555
1631
|
modelValue: i.value,
|
|
1556
1632
|
"onUpdate:modelValue": s[0] || (s[0] = (r) => i.value = r),
|
|
1557
1633
|
mandatory: ""
|
|
@@ -1577,7 +1653,7 @@ const Be = J("settings", () => {
|
|
|
1577
1653
|
onClick: r
|
|
1578
1654
|
}, {
|
|
1579
1655
|
prepend: a(() => [
|
|
1580
|
-
o(
|
|
1656
|
+
o(A, { class: "mt-n6" })
|
|
1581
1657
|
]),
|
|
1582
1658
|
_: 2
|
|
1583
1659
|
}, 1032, ["border", "color", "prepend-icon", "variant", "onClick"])
|
|
@@ -1605,10 +1681,10 @@ const Be = J("settings", () => {
|
|
|
1605
1681
|
onClick: r
|
|
1606
1682
|
}, {
|
|
1607
1683
|
prepend: a(() => [
|
|
1608
|
-
o(
|
|
1684
|
+
o(A, { class: "mt-n6" })
|
|
1609
1685
|
]),
|
|
1610
1686
|
append: a(() => [
|
|
1611
|
-
o(
|
|
1687
|
+
o(q, {
|
|
1612
1688
|
class: "mt-n6",
|
|
1613
1689
|
color: "success",
|
|
1614
1690
|
size: "small",
|
|
@@ -1631,7 +1707,7 @@ const Be = J("settings", () => {
|
|
|
1631
1707
|
_: 1
|
|
1632
1708
|
}, 8, ["modelValue"]));
|
|
1633
1709
|
}
|
|
1634
|
-
}),
|
|
1710
|
+
}), nn = { class: "px-3" }, sn = /* @__PURE__ */ h("br", null, null, -1), an = { class: "flex-grow-1 px-4 pb-3 overflow-hidden" }, ln = /* @__PURE__ */ k({
|
|
1635
1711
|
__name: "VoSubscriptionDialog",
|
|
1636
1712
|
props: {
|
|
1637
1713
|
modelValue: { type: Boolean },
|
|
@@ -1642,7 +1718,7 @@ const Be = J("settings", () => {
|
|
|
1642
1718
|
function e(u) {
|
|
1643
1719
|
return new Promise((m) => setTimeout(m, u));
|
|
1644
1720
|
}
|
|
1645
|
-
const i =
|
|
1721
|
+
const i = ie(p, "modelValue"), n = j(), l = ye(), s = D(n.interval), r = D(n.hasBilling ? "status" : "subscribe"), c = D(!1);
|
|
1646
1722
|
N(s, (u) => {
|
|
1647
1723
|
!n.isSubscriber || !n.interval || (c.value = u !== n.interval);
|
|
1648
1724
|
}), N(i, async (u) => {
|
|
@@ -1650,23 +1726,23 @@ const Be = J("settings", () => {
|
|
|
1650
1726
|
}), N(l, async () => {
|
|
1651
1727
|
!n.sessionId && !["subscribe", "status"].includes(l.value.one) || (r.value = n.sessionId || l.value.one === "status" ? "status" : "subscribe", n.isOpen = !0, await fe(), i.value = !0);
|
|
1652
1728
|
}, { immediate: !0 });
|
|
1653
|
-
async function
|
|
1729
|
+
async function v() {
|
|
1654
1730
|
await n.modify(s.value), await n.subscriptionInfo(), c.value = null, await e(3e3), r.value = "status", await e(300), c.value = !1;
|
|
1655
1731
|
}
|
|
1656
1732
|
return (u, m) => {
|
|
1657
|
-
const b = be, V =
|
|
1658
|
-
return d(),
|
|
1733
|
+
const b = be, V = on, C = tn, _ = Yo, y = Mo, $ = se, z = Ue;
|
|
1734
|
+
return d(), f(z, {
|
|
1659
1735
|
modelValue: i.value,
|
|
1660
1736
|
"onUpdate:modelValue": m[4] || (m[4] = (T) => i.value = T),
|
|
1661
|
-
"prepend-icon": `svg:${t(
|
|
1737
|
+
"prepend-icon": `svg:${t(Tt)}`,
|
|
1662
1738
|
title: "Subscriptions"
|
|
1663
|
-
},
|
|
1739
|
+
}, G({
|
|
1664
1740
|
default: a(() => [
|
|
1665
|
-
o(
|
|
1741
|
+
o(Ie, null, {
|
|
1666
1742
|
default: a(() => [
|
|
1667
|
-
o(
|
|
1743
|
+
o(Ae, { scrollable: "" }, {
|
|
1668
1744
|
default: a(() => [
|
|
1669
|
-
h("div",
|
|
1745
|
+
h("div", nn, [
|
|
1670
1746
|
o(K, null, {
|
|
1671
1747
|
default: a(() => [
|
|
1672
1748
|
o(b, {
|
|
@@ -1681,8 +1757,8 @@ const Be = J("settings", () => {
|
|
|
1681
1757
|
modelValue: s.value,
|
|
1682
1758
|
"onUpdate:modelValue": m[0] || (m[0] = (T) => s.value = T)
|
|
1683
1759
|
}, null, 8, ["modelValue"]),
|
|
1684
|
-
|
|
1685
|
-
o(
|
|
1760
|
+
sn,
|
|
1761
|
+
o(C)
|
|
1686
1762
|
]),
|
|
1687
1763
|
_: 1
|
|
1688
1764
|
}),
|
|
@@ -1714,25 +1790,25 @@ const Be = J("settings", () => {
|
|
|
1714
1790
|
r.value === "subscribe" ? {
|
|
1715
1791
|
name: "actions",
|
|
1716
1792
|
fn: a(() => [
|
|
1717
|
-
h("div",
|
|
1718
|
-
c.value !== !1 ? (d(),
|
|
1793
|
+
h("div", an, [
|
|
1794
|
+
c.value !== !1 ? (d(), f($, {
|
|
1719
1795
|
key: 0,
|
|
1720
1796
|
loading: t(n).isLoading,
|
|
1721
|
-
"prepend-icon": `svg:${c.value !== null ? t(
|
|
1797
|
+
"prepend-icon": `svg:${c.value !== null ? t(Mt) : t(pe)}`,
|
|
1722
1798
|
readonly: c.value === null,
|
|
1723
1799
|
text: c.value !== null ? "Modify Subscription" : "Success",
|
|
1724
1800
|
color: "success",
|
|
1725
1801
|
size: "default",
|
|
1726
1802
|
block: "",
|
|
1727
|
-
onClick:
|
|
1728
|
-
}, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : t(n).isSubscriber ? (d(),
|
|
1803
|
+
onClick: v
|
|
1804
|
+
}, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : t(n).isSubscriber ? (d(), f($, {
|
|
1729
1805
|
key: 2,
|
|
1730
|
-
"prepend-icon": `svg:${t(
|
|
1806
|
+
"prepend-icon": `svg:${t(Rt)}`,
|
|
1731
1807
|
size: "default",
|
|
1732
1808
|
text: "Manage Subscription",
|
|
1733
1809
|
block: "",
|
|
1734
1810
|
onClick: m[3] || (m[3] = (T) => r.value = "status")
|
|
1735
|
-
}, null, 8, ["prepend-icon"])) : (d(),
|
|
1811
|
+
}, null, 8, ["prepend-icon"])) : (d(), f($, {
|
|
1736
1812
|
key: 1,
|
|
1737
1813
|
color: s.value ? "primary" : "disabled",
|
|
1738
1814
|
disabled: !s.value,
|
|
@@ -1750,15 +1826,15 @@ const Be = J("settings", () => {
|
|
|
1750
1826
|
]), 1032, ["modelValue", "prepend-icon"]);
|
|
1751
1827
|
};
|
|
1752
1828
|
}
|
|
1753
|
-
}),
|
|
1829
|
+
}), rn = /* @__PURE__ */ k({
|
|
1754
1830
|
__name: "VoSubscriptionListItem",
|
|
1755
1831
|
setup(p) {
|
|
1756
1832
|
const e = D(!1);
|
|
1757
1833
|
return (i, n) => {
|
|
1758
|
-
const l =
|
|
1759
|
-
return d(),
|
|
1834
|
+
const l = ln, s = Y;
|
|
1835
|
+
return d(), f(s, {
|
|
1760
1836
|
active: e.value,
|
|
1761
|
-
"prepend-icon": `svg:${t(
|
|
1837
|
+
"prepend-icon": `svg:${t(Pt)}`,
|
|
1762
1838
|
title: "Subscriptions",
|
|
1763
1839
|
link: ""
|
|
1764
1840
|
}, {
|
|
@@ -1772,16 +1848,16 @@ const Be = J("settings", () => {
|
|
|
1772
1848
|
}, 8, ["active", "prepend-icon"]);
|
|
1773
1849
|
};
|
|
1774
1850
|
}
|
|
1775
|
-
}),
|
|
1851
|
+
}), cn = { class: "ps-16" }, un = /* @__PURE__ */ k({
|
|
1776
1852
|
__name: "VoSponsorshipsTimelineItemPatreon",
|
|
1777
1853
|
setup(p) {
|
|
1778
1854
|
const e = j(), i = Be();
|
|
1779
1855
|
return (n, l) => {
|
|
1780
1856
|
var r, c;
|
|
1781
|
-
const s =
|
|
1782
|
-
return d(),
|
|
1857
|
+
const s = se;
|
|
1858
|
+
return d(), f(Ze, {
|
|
1783
1859
|
"dot-color": (r = t(e).patreon) != null && r.isActive ? "success" : "transparent",
|
|
1784
|
-
icon: (c = t(e).patreon) != null && c.isActive ? `svg:${t(
|
|
1860
|
+
icon: (c = t(e).patreon) != null && c.isActive ? `svg:${t(le)}` : void 0,
|
|
1785
1861
|
size: "x-small",
|
|
1786
1862
|
width: "100%"
|
|
1787
1863
|
}, {
|
|
@@ -1795,11 +1871,11 @@ const Be = J("settings", () => {
|
|
|
1795
1871
|
border: ""
|
|
1796
1872
|
}, {
|
|
1797
1873
|
append: a(() => {
|
|
1798
|
-
var
|
|
1874
|
+
var v;
|
|
1799
1875
|
return [
|
|
1800
|
-
h("div",
|
|
1876
|
+
h("div", cn, [
|
|
1801
1877
|
o(s, {
|
|
1802
|
-
text: (
|
|
1878
|
+
text: (v = t(e).patreon) != null && v.isActive ? "Active" : "Coming Soon",
|
|
1803
1879
|
color: "surface-variant",
|
|
1804
1880
|
readonly: ""
|
|
1805
1881
|
}, null, 8, ["text"])
|
|
@@ -1807,14 +1883,14 @@ const Be = J("settings", () => {
|
|
|
1807
1883
|
];
|
|
1808
1884
|
}),
|
|
1809
1885
|
default: a(() => {
|
|
1810
|
-
var
|
|
1886
|
+
var v;
|
|
1811
1887
|
return [
|
|
1812
|
-
(
|
|
1813
|
-
o(
|
|
1888
|
+
(v = t(e).patreon) != null && v.isActive ? (d(), S(U, { key: 0 }, [
|
|
1889
|
+
o(W),
|
|
1814
1890
|
o(K, { class: "d-flex justify-space-between align-center flex-wrap" }, {
|
|
1815
1891
|
default: a(() => [
|
|
1816
|
-
o(
|
|
1817
|
-
"prepend-icon": `svg:${t(
|
|
1892
|
+
o(q, {
|
|
1893
|
+
"prepend-icon": `svg:${t(We)}`,
|
|
1818
1894
|
text: t(e).patreon.tierName,
|
|
1819
1895
|
color: "success",
|
|
1820
1896
|
variant: "text",
|
|
@@ -1833,16 +1909,16 @@ const Be = J("settings", () => {
|
|
|
1833
1909
|
}, 8, ["dot-color", "icon"]);
|
|
1834
1910
|
};
|
|
1835
1911
|
}
|
|
1836
|
-
}),
|
|
1912
|
+
}), dn = { class: "ps-16" }, pn = /* @__PURE__ */ k({
|
|
1837
1913
|
__name: "VoSponsorshipsTimelineItemDiscord",
|
|
1838
1914
|
setup(p) {
|
|
1839
1915
|
const e = j(), i = Be();
|
|
1840
1916
|
return (n, l) => {
|
|
1841
1917
|
var r, c;
|
|
1842
|
-
const s =
|
|
1843
|
-
return d(),
|
|
1918
|
+
const s = se;
|
|
1919
|
+
return d(), f(Ze, {
|
|
1844
1920
|
"dot-color": (r = t(e).discord) != null && r.isActive ? "success" : "transparent",
|
|
1845
|
-
icon: (c = t(e).discord) != null && c.isActive ? `svg:${t(
|
|
1921
|
+
icon: (c = t(e).discord) != null && c.isActive ? `svg:${t(le)}` : void 0,
|
|
1846
1922
|
size: "x-small",
|
|
1847
1923
|
width: "100%"
|
|
1848
1924
|
}, {
|
|
@@ -1856,30 +1932,30 @@ const Be = J("settings", () => {
|
|
|
1856
1932
|
border: ""
|
|
1857
1933
|
}, {
|
|
1858
1934
|
append: a(() => {
|
|
1859
|
-
var
|
|
1935
|
+
var v, u, m, b, V, C;
|
|
1860
1936
|
return [
|
|
1861
|
-
h("div",
|
|
1937
|
+
h("div", dn, [
|
|
1862
1938
|
o(s, {
|
|
1863
|
-
color: (
|
|
1939
|
+
color: (v = t(e).discord) != null && v.isActive ? "success" : "primary",
|
|
1864
1940
|
href: (u = t(e).discord) != null && u.isActive ? void 0 : "https://discord.com/servers/vuetify-340160225338195969",
|
|
1865
1941
|
"prepend-icon": `svg:${(m = t(e).discord) != null && m.isActive ? t(pe) : t(ve)}`,
|
|
1866
1942
|
readonly: (b = t(e).discord) == null ? void 0 : b.isActive,
|
|
1867
1943
|
target: (V = t(e).discord) != null && V.isActive ? void 0 : "_blank",
|
|
1868
|
-
text: (
|
|
1944
|
+
text: (C = t(e).discord) != null && C.isActive ? "Active" : "Info",
|
|
1869
1945
|
width: "88"
|
|
1870
1946
|
}, null, 8, ["color", "href", "prepend-icon", "readonly", "target", "text"])
|
|
1871
1947
|
])
|
|
1872
1948
|
];
|
|
1873
1949
|
}),
|
|
1874
1950
|
default: a(() => {
|
|
1875
|
-
var
|
|
1951
|
+
var v;
|
|
1876
1952
|
return [
|
|
1877
|
-
(
|
|
1878
|
-
o(
|
|
1953
|
+
(v = t(e).discord) != null && v.isActive ? (d(), S(U, { key: 0 }, [
|
|
1954
|
+
o(W),
|
|
1879
1955
|
o(K, { class: "d-flex justify-space-between align-center flex-wrap" }, {
|
|
1880
1956
|
default: a(() => [
|
|
1881
|
-
o(
|
|
1882
|
-
"prepend-icon": `svg:${t(
|
|
1957
|
+
o(q, {
|
|
1958
|
+
"prepend-icon": `svg:${t(We)}`,
|
|
1883
1959
|
text: t(e).discord.tierName,
|
|
1884
1960
|
color: "surface-variant",
|
|
1885
1961
|
size: "small",
|
|
@@ -1899,16 +1975,16 @@ const Be = J("settings", () => {
|
|
|
1899
1975
|
}, 8, ["dot-color", "icon"]);
|
|
1900
1976
|
};
|
|
1901
1977
|
}
|
|
1902
|
-
}),
|
|
1978
|
+
}), mn = { class: "ps-16" }, fn = /* @__PURE__ */ k({
|
|
1903
1979
|
__name: "VoSponsorshipsTimelineItemGithub",
|
|
1904
1980
|
setup(p) {
|
|
1905
1981
|
const e = j(), i = Be();
|
|
1906
1982
|
return (n, l) => {
|
|
1907
1983
|
var r, c;
|
|
1908
|
-
const s =
|
|
1909
|
-
return d(),
|
|
1984
|
+
const s = se;
|
|
1985
|
+
return d(), f(Ze, {
|
|
1910
1986
|
"dot-color": (r = t(e).github) != null && r.isActive ? "success" : "transparent",
|
|
1911
|
-
icon: (c = t(e).github) != null && c.isActive ? `svg:${t(
|
|
1987
|
+
icon: (c = t(e).github) != null && c.isActive ? `svg:${t(le)}` : void 0,
|
|
1912
1988
|
size: "x-small",
|
|
1913
1989
|
width: "100%"
|
|
1914
1990
|
}, {
|
|
@@ -1922,30 +1998,30 @@ const Be = J("settings", () => {
|
|
|
1922
1998
|
border: ""
|
|
1923
1999
|
}, {
|
|
1924
2000
|
append: a(() => {
|
|
1925
|
-
var
|
|
2001
|
+
var v, u, m, b, V, C;
|
|
1926
2002
|
return [
|
|
1927
|
-
h("div",
|
|
2003
|
+
h("div", mn, [
|
|
1928
2004
|
o(s, {
|
|
1929
|
-
color: (
|
|
2005
|
+
color: (v = t(e).github) != null && v.isActive ? "success" : "primary",
|
|
1930
2006
|
href: (u = t(e).github) != null && u.isActive ? void 0 : "https://github.com/sponsors/johnleider",
|
|
1931
2007
|
"prepend-icon": `svg:${(m = t(e).github) != null && m.isActive ? t(pe) : t(ve)}`,
|
|
1932
2008
|
readonly: (b = t(e).github) == null ? void 0 : b.isActive,
|
|
1933
2009
|
target: (V = t(e).github) != null && V.isActive ? void 0 : "_blank",
|
|
1934
|
-
text: (
|
|
2010
|
+
text: (C = t(e).github) != null && C.isActive ? "Active" : "Info",
|
|
1935
2011
|
width: "88"
|
|
1936
2012
|
}, null, 8, ["color", "href", "prepend-icon", "readonly", "target", "text"])
|
|
1937
2013
|
])
|
|
1938
2014
|
];
|
|
1939
2015
|
}),
|
|
1940
2016
|
default: a(() => {
|
|
1941
|
-
var
|
|
2017
|
+
var v;
|
|
1942
2018
|
return [
|
|
1943
|
-
(
|
|
1944
|
-
o(
|
|
2019
|
+
(v = t(e).github) != null && v.isActive ? (d(), S(U, { key: 0 }, [
|
|
2020
|
+
o(W),
|
|
1945
2021
|
o(K, { class: "d-flex justify-space-between align-center flex-wrap" }, {
|
|
1946
2022
|
default: a(() => [
|
|
1947
|
-
o(
|
|
1948
|
-
"prepend-icon": `svg:${t(
|
|
2023
|
+
o(q, {
|
|
2024
|
+
"prepend-icon": `svg:${t(We)}`,
|
|
1949
2025
|
text: t(e).github.tierName,
|
|
1950
2026
|
color: "surface-variant",
|
|
1951
2027
|
size: "small",
|
|
@@ -1965,12 +2041,12 @@ const Be = J("settings", () => {
|
|
|
1965
2041
|
}, 8, ["dot-color", "icon"]);
|
|
1966
2042
|
};
|
|
1967
2043
|
}
|
|
1968
|
-
}),
|
|
2044
|
+
}), vn = /* @__PURE__ */ k({
|
|
1969
2045
|
__name: "VoSponsorshipsTimeline",
|
|
1970
2046
|
setup(p) {
|
|
1971
2047
|
return (e, i) => {
|
|
1972
|
-
const n =
|
|
1973
|
-
return d(),
|
|
2048
|
+
const n = fn, l = pn, s = un;
|
|
2049
|
+
return d(), f(fo, {
|
|
1974
2050
|
class: "justify-start ms-n7",
|
|
1975
2051
|
"line-inset": "12",
|
|
1976
2052
|
side: "end",
|
|
@@ -1986,11 +2062,11 @@ const Be = J("settings", () => {
|
|
|
1986
2062
|
});
|
|
1987
2063
|
};
|
|
1988
2064
|
}
|
|
1989
|
-
}),
|
|
2065
|
+
}), _n = { class: "px-3 pb-5 d-flex flex-column" }, hn = { class: "py-4" }, gn = /* @__PURE__ */ h("div", { class: "text-caption text-medium-emphasis" }, [
|
|
1990
2066
|
/* @__PURE__ */ B(" A total of $2.99 or more unlocks "),
|
|
1991
2067
|
/* @__PURE__ */ h("span", { class: "font-weight-black" }, "all"),
|
|
1992
2068
|
/* @__PURE__ */ B(" Vuetify One benefits ")
|
|
1993
|
-
], -1),
|
|
2069
|
+
], -1), bn = /* @__PURE__ */ k({
|
|
1994
2070
|
__name: "VoSponsorshipsDialog",
|
|
1995
2071
|
props: {
|
|
1996
2072
|
modelValue: { type: Boolean },
|
|
@@ -1998,55 +2074,54 @@ const Be = J("settings", () => {
|
|
|
1998
2074
|
},
|
|
1999
2075
|
emits: ["update:modelValue"],
|
|
2000
2076
|
setup(p) {
|
|
2001
|
-
const e =
|
|
2002
|
-
return N(
|
|
2003
|
-
|
|
2004
|
-
}, { immediate: !0 }), (
|
|
2005
|
-
const
|
|
2006
|
-
return d(),
|
|
2077
|
+
const e = ie(p, "modelValue"), i = ye(), n = F(), l = j();
|
|
2078
|
+
return N(i, async () => {
|
|
2079
|
+
i.value.one === "sponsorships" && (l.isOpen = !0, await fe(), e.value = !0);
|
|
2080
|
+
}, { immediate: !0 }), (s, r) => {
|
|
2081
|
+
const c = be, v = vn, u = Me("v-empty-state"), m = Ue;
|
|
2082
|
+
return d(), f(m, {
|
|
2007
2083
|
modelValue: e.value,
|
|
2008
|
-
"onUpdate:modelValue":
|
|
2009
|
-
"
|
|
2010
|
-
"prepend-icon": `svg:${t(Rt)}`,
|
|
2084
|
+
"onUpdate:modelValue": r[0] || (r[0] = (b) => e.value = b),
|
|
2085
|
+
"prepend-icon": `svg:${t(Ht)}`,
|
|
2011
2086
|
title: "Sponsorships"
|
|
2012
2087
|
}, {
|
|
2013
2088
|
default: a(() => [
|
|
2014
|
-
o(
|
|
2089
|
+
o(Ie, null, {
|
|
2015
2090
|
default: a(() => [
|
|
2016
|
-
o(
|
|
2091
|
+
o(Ae, { scrollable: "" }, {
|
|
2017
2092
|
default: a(() => [
|
|
2018
|
-
h("div",
|
|
2093
|
+
h("div", _n, [
|
|
2019
2094
|
o(K, null, {
|
|
2020
2095
|
default: a(() => [
|
|
2021
|
-
o(
|
|
2096
|
+
o(c, {
|
|
2022
2097
|
text: "Support Vuetify through GitHub Sponsors, Discord, or Patreon to unlock exclusive benefits and content.",
|
|
2023
2098
|
title: "Support Vuetify"
|
|
2024
2099
|
}),
|
|
2025
|
-
o(
|
|
2100
|
+
o(v)
|
|
2026
2101
|
]),
|
|
2027
2102
|
_: 1
|
|
2028
2103
|
}),
|
|
2029
|
-
o(
|
|
2030
|
-
icon: `svg:${t(
|
|
2104
|
+
o(u, {
|
|
2105
|
+
icon: `svg:${t(Et)}`,
|
|
2031
2106
|
class: "mt-auto",
|
|
2032
2107
|
"min-height": "auto",
|
|
2033
2108
|
size: "64",
|
|
2034
2109
|
title: "Your Monthly Contributions"
|
|
2035
2110
|
}, {
|
|
2036
2111
|
media: a(() => [
|
|
2037
|
-
o(
|
|
2112
|
+
o(A, { color: "success" })
|
|
2038
2113
|
]),
|
|
2039
2114
|
headline: a(() => [
|
|
2040
|
-
h("div",
|
|
2041
|
-
t(
|
|
2042
|
-
B(" $" +
|
|
2043
|
-
], 64)) : (d(),
|
|
2115
|
+
h("div", hn, [
|
|
2116
|
+
t(n).isSubscriber ? (d(), S(U, { key: 0 }, [
|
|
2117
|
+
B(" $" + I(parseFloat(String(t(l).monthlyTotal)).toFixed(2)), 1)
|
|
2118
|
+
], 64)) : (d(), S(U, { key: 1 }, [
|
|
2044
2119
|
B(" $0.00 ")
|
|
2045
2120
|
], 64))
|
|
2046
2121
|
])
|
|
2047
2122
|
]),
|
|
2048
2123
|
text: a(() => [
|
|
2049
|
-
|
|
2124
|
+
gn
|
|
2050
2125
|
]),
|
|
2051
2126
|
_: 1
|
|
2052
2127
|
}, 8, ["icon"])
|
|
@@ -2059,18 +2134,18 @@ const Be = J("settings", () => {
|
|
|
2059
2134
|
})
|
|
2060
2135
|
]),
|
|
2061
2136
|
_: 1
|
|
2062
|
-
}, 8, ["modelValue", "
|
|
2137
|
+
}, 8, ["modelValue", "prepend-icon"]);
|
|
2063
2138
|
};
|
|
2064
2139
|
}
|
|
2065
|
-
}),
|
|
2140
|
+
}), yn = /* @__PURE__ */ k({
|
|
2066
2141
|
__name: "VoSponsorshipsListItem",
|
|
2067
2142
|
setup(p) {
|
|
2068
2143
|
const e = D(!1);
|
|
2069
2144
|
return (i, n) => {
|
|
2070
|
-
const l =
|
|
2071
|
-
return d(),
|
|
2145
|
+
const l = bn, s = Y;
|
|
2146
|
+
return d(), f(s, {
|
|
2072
2147
|
active: e.value,
|
|
2073
|
-
"prepend-icon": `svg:${t(
|
|
2148
|
+
"prepend-icon": `svg:${t(Wt)}`,
|
|
2074
2149
|
title: "Sponsorships",
|
|
2075
2150
|
link: ""
|
|
2076
2151
|
}, {
|
|
@@ -2084,19 +2159,50 @@ const Be = J("settings", () => {
|
|
|
2084
2159
|
}, 8, ["active", "prepend-icon"]);
|
|
2085
2160
|
};
|
|
2086
2161
|
}
|
|
2087
|
-
}),
|
|
2162
|
+
}), Vn = /* @__PURE__ */ k({
|
|
2163
|
+
__name: "VoStudioListItem",
|
|
2164
|
+
setup(p) {
|
|
2165
|
+
const e = [
|
|
2166
|
+
["M12.435 14.3194L12 21L6.87046 12.2799L12.435 14.3194Z", 1],
|
|
2167
|
+
["M22 4L12.435 14.3194L6.87046 12.2799L9.26479 7.61064L12.435 14.3194L12 21L22 4Z", 0.5],
|
|
2168
|
+
["M12.435 14.3194L22 4L9.26479 7.61064L12.435 14.3194Z", 1],
|
|
2169
|
+
["M2 4L6.87046 12.2799L9.26479 7.61064L2 4Z", 1]
|
|
2170
|
+
];
|
|
2171
|
+
return (i, n) => {
|
|
2172
|
+
const l = Y;
|
|
2173
|
+
return d(), f(l, {
|
|
2174
|
+
"prepend-icon": e,
|
|
2175
|
+
class: "cursor-default",
|
|
2176
|
+
title: "Vuetify Studio"
|
|
2177
|
+
}, {
|
|
2178
|
+
append: a(() => [
|
|
2179
|
+
o(q, {
|
|
2180
|
+
size: "x-small",
|
|
2181
|
+
label: ""
|
|
2182
|
+
}, {
|
|
2183
|
+
default: a(() => [
|
|
2184
|
+
B("COMING SOON")
|
|
2185
|
+
]),
|
|
2186
|
+
_: 1
|
|
2187
|
+
})
|
|
2188
|
+
]),
|
|
2189
|
+
_: 1
|
|
2190
|
+
});
|
|
2191
|
+
};
|
|
2192
|
+
}
|
|
2193
|
+
}), kn = {
|
|
2088
2194
|
key: 0,
|
|
2089
2195
|
class: "pt-16"
|
|
2090
|
-
},
|
|
2196
|
+
}, xn = /* @__PURE__ */ h("div", { class: "text-medium-emphasis" }, " All caught up ", -1), $n = {
|
|
2091
2197
|
key: 1,
|
|
2092
2198
|
class: "pa-5"
|
|
2093
|
-
},
|
|
2199
|
+
}, wn = { class: "text-subtitle-1 font-weight-bold" }, Sn = { class: "text-caption font-weight-bold text-medium-emphasis" }, Cn = { class: "text-disabled text-caption mt-2 mb-3" }, Ln = /* @__PURE__ */ k({
|
|
2094
2200
|
__name: "VoNotificationsBannerList",
|
|
2095
2201
|
props: {
|
|
2096
2202
|
items: {}
|
|
2097
2203
|
},
|
|
2098
2204
|
setup(p) {
|
|
2099
|
-
const e = we(), i =
|
|
2205
|
+
const e = we(), i = re(), n = O();
|
|
2100
2206
|
function l(r) {
|
|
2101
2207
|
return n.notifications.last.banner.includes(r);
|
|
2102
2208
|
}
|
|
@@ -2104,17 +2210,17 @@ const Be = J("settings", () => {
|
|
|
2104
2210
|
l(r.slug) ? n.notifications.last.banner = n.notifications.last.banner.filter((c) => c !== r.slug) : n.notifications.last.banner.push(r.slug);
|
|
2105
2211
|
}
|
|
2106
2212
|
return (r, c) => {
|
|
2107
|
-
const
|
|
2108
|
-
return d(),
|
|
2213
|
+
const v = Me("v-empty-state");
|
|
2214
|
+
return d(), f(ee, {
|
|
2109
2215
|
class: "py-0",
|
|
2110
2216
|
height: "100%",
|
|
2111
2217
|
lines: "three"
|
|
2112
2218
|
}, {
|
|
2113
2219
|
default: a(() => [
|
|
2114
|
-
r.items.length ? (d(),
|
|
2115
|
-
(d(!0),
|
|
2220
|
+
r.items.length ? (d(), S("div", $n, [
|
|
2221
|
+
(d(!0), S(U, null, oe(r.items, (u) => {
|
|
2116
2222
|
var m;
|
|
2117
|
-
return d(),
|
|
2223
|
+
return d(), S("div", {
|
|
2118
2224
|
key: u.slug,
|
|
2119
2225
|
class: "mb-4"
|
|
2120
2226
|
}, [
|
|
@@ -2143,14 +2249,14 @@ const Be = J("settings", () => {
|
|
|
2143
2249
|
border: ""
|
|
2144
2250
|
}), {
|
|
2145
2251
|
default: a(() => [
|
|
2146
|
-
o(
|
|
2252
|
+
o(J, {
|
|
2147
2253
|
text: l(u.slug) ? "Mark as unread" : "Mark as read",
|
|
2148
2254
|
location: "bottom"
|
|
2149
2255
|
}, {
|
|
2150
|
-
activator: a(({ props:
|
|
2256
|
+
activator: a(({ props: C }) => [
|
|
2151
2257
|
o($e, { "hide-on-leave": "" }, {
|
|
2152
2258
|
default: a(() => [
|
|
2153
|
-
xe(o(
|
|
2259
|
+
xe(o(E, P(C, {
|
|
2154
2260
|
icon: `svg:${l(u.slug) ? t(Ke) : t(Xe)}`,
|
|
2155
2261
|
class: "ms-auto float-right",
|
|
2156
2262
|
size: "small",
|
|
@@ -2166,10 +2272,10 @@ const Be = J("settings", () => {
|
|
|
2166
2272
|
]),
|
|
2167
2273
|
_: 2
|
|
2168
2274
|
}, 1032, ["text"]),
|
|
2169
|
-
h("div",
|
|
2170
|
-
h("div",
|
|
2171
|
-
h("div",
|
|
2172
|
-
o(
|
|
2275
|
+
h("div", wn, I(u.metadata.text), 1),
|
|
2276
|
+
h("div", Sn, I(t(e).format(u.created_at, "fullDateWithWeekday")), 1),
|
|
2277
|
+
h("div", Cn, I(u.metadata.subtext), 1),
|
|
2278
|
+
o(q, P({
|
|
2173
2279
|
href: u.metadata.link.startsWith("http") ? u.metadata.link : void 0,
|
|
2174
2280
|
target: u.metadata.link.startsWith("http") ? "_blank" : void 0,
|
|
2175
2281
|
to: u.metadata.link.startsWith("http") ? void 0 : u.metadata.link
|
|
@@ -2182,7 +2288,7 @@ const Be = J("settings", () => {
|
|
|
2182
2288
|
label: ""
|
|
2183
2289
|
}), {
|
|
2184
2290
|
append: a(() => [
|
|
2185
|
-
o(
|
|
2291
|
+
o(A, { size: "12" })
|
|
2186
2292
|
]),
|
|
2187
2293
|
_: 2
|
|
2188
2294
|
}, 1040, ["append-icon", "text"])
|
|
@@ -2194,16 +2300,16 @@ const Be = J("settings", () => {
|
|
|
2194
2300
|
}, 1024)
|
|
2195
2301
|
]);
|
|
2196
2302
|
}), 128))
|
|
2197
|
-
])) : (d(),
|
|
2198
|
-
o(
|
|
2303
|
+
])) : (d(), S("div", kn, [
|
|
2304
|
+
o(v, {
|
|
2199
2305
|
icon: "$vuetify",
|
|
2200
2306
|
size: "256"
|
|
2201
2307
|
}, {
|
|
2202
2308
|
media: a(() => [
|
|
2203
|
-
o(
|
|
2309
|
+
o(A, { color: "medium-emphasis" })
|
|
2204
2310
|
]),
|
|
2205
2311
|
title: a(() => [
|
|
2206
|
-
|
|
2312
|
+
xn
|
|
2207
2313
|
]),
|
|
2208
2314
|
_: 1
|
|
2209
2315
|
})
|
|
@@ -2213,16 +2319,16 @@ const Be = J("settings", () => {
|
|
|
2213
2319
|
});
|
|
2214
2320
|
};
|
|
2215
2321
|
}
|
|
2216
|
-
}),
|
|
2322
|
+
}), In = {
|
|
2217
2323
|
key: 0,
|
|
2218
2324
|
class: "pt-16"
|
|
2219
|
-
},
|
|
2325
|
+
}, An = /* @__PURE__ */ h("div", { class: "text-medium-emphasis" }, " All caught up ", -1), Dn = { class: "ps-3 text-subtitle-2 pe-2" }, Un = { class: "text-truncate" }, Bn = { class: "text-caption font-weight-bold text-medium-emphasis" }, Nn = { class: "text-disabled text-caption my-2" }, On = /* @__PURE__ */ k({
|
|
2220
2326
|
__name: "VoNotificationsList",
|
|
2221
2327
|
props: {
|
|
2222
2328
|
items: {}
|
|
2223
2329
|
},
|
|
2224
2330
|
setup(p) {
|
|
2225
|
-
const e = we(), i =
|
|
2331
|
+
const e = we(), i = re(), n = O();
|
|
2226
2332
|
function l(r) {
|
|
2227
2333
|
return n.notifications.read.includes(r);
|
|
2228
2334
|
}
|
|
@@ -2230,38 +2336,38 @@ const Be = J("settings", () => {
|
|
|
2230
2336
|
l(r.slug) ? n.notifications.read = n.notifications.read.filter((c) => c !== r.slug) : n.notifications.read.push(r.slug);
|
|
2231
2337
|
}
|
|
2232
2338
|
return (r, c) => {
|
|
2233
|
-
const
|
|
2234
|
-
return d(),
|
|
2339
|
+
const v = Me("v-empty-state"), u = Y;
|
|
2340
|
+
return d(), f(ee, {
|
|
2235
2341
|
class: "py-0",
|
|
2236
2342
|
height: "100%",
|
|
2237
2343
|
lines: "three"
|
|
2238
2344
|
}, {
|
|
2239
2345
|
default: a(() => [
|
|
2240
|
-
r.items.length ? (d(!0),
|
|
2346
|
+
r.items.length ? (d(!0), S(U, { key: 1 }, oe(r.items, (m, b) => (d(), f(Ce, {
|
|
2241
2347
|
key: m.slug
|
|
2242
2348
|
}, {
|
|
2243
|
-
default: a(({ isHovering: V, props:
|
|
2244
|
-
o(u, P(
|
|
2349
|
+
default: a(({ isHovering: V, props: C }) => [
|
|
2350
|
+
o(u, P(C, {
|
|
2245
2351
|
border: b !== 0 && "t",
|
|
2246
2352
|
class: "py-4 mb-0"
|
|
2247
2353
|
}), {
|
|
2248
2354
|
prepend: a(() => [
|
|
2249
|
-
h("div",
|
|
2355
|
+
h("div", Dn, I(m.metadata.emoji), 1)
|
|
2250
2356
|
]),
|
|
2251
2357
|
append: a(() => [
|
|
2252
|
-
o(
|
|
2358
|
+
o(vo, {
|
|
2253
2359
|
class: "mt-n3",
|
|
2254
2360
|
width: "56"
|
|
2255
2361
|
}, {
|
|
2256
2362
|
default: a(() => [
|
|
2257
|
-
o(
|
|
2363
|
+
o(J, {
|
|
2258
2364
|
text: l(m.slug) ? "Mark as unread" : "Mark as read",
|
|
2259
2365
|
location: "bottom"
|
|
2260
2366
|
}, {
|
|
2261
2367
|
activator: a(({ props: _ }) => [
|
|
2262
2368
|
o($e, { "hide-on-leave": "" }, {
|
|
2263
2369
|
default: a(() => [
|
|
2264
|
-
xe(o(
|
|
2370
|
+
xe(o(E, P(_, {
|
|
2265
2371
|
icon: `svg:${l(m.slug) ? t(Ke) : t(Xe)}`,
|
|
2266
2372
|
class: "ms-auto",
|
|
2267
2373
|
size: "small",
|
|
@@ -2284,13 +2390,13 @@ const Be = J("settings", () => {
|
|
|
2284
2390
|
default: a(() => [
|
|
2285
2391
|
o(et, { class: "text-wrap text-h6 mb-1" }, {
|
|
2286
2392
|
default: a(() => [
|
|
2287
|
-
h("div",
|
|
2393
|
+
h("div", Un, I(m.title), 1)
|
|
2288
2394
|
]),
|
|
2289
2395
|
_: 2
|
|
2290
2396
|
}, 1024),
|
|
2291
|
-
h("div",
|
|
2292
|
-
h("div",
|
|
2293
|
-
o(
|
|
2397
|
+
h("div", Bn, I(t(e).format(m.created_at, "fullDateWithWeekday")), 1),
|
|
2398
|
+
h("div", Nn, I(m.metadata.text), 1),
|
|
2399
|
+
o(q, {
|
|
2294
2400
|
"append-icon": `svg:${t(ve)}`,
|
|
2295
2401
|
href: m.metadata.action,
|
|
2296
2402
|
text: m.metadata.action_text,
|
|
@@ -2302,7 +2408,7 @@ const Be = J("settings", () => {
|
|
|
2302
2408
|
onClick: (_) => s(m)
|
|
2303
2409
|
}, {
|
|
2304
2410
|
append: a(() => [
|
|
2305
|
-
o(
|
|
2411
|
+
o(A, { size: "12" })
|
|
2306
2412
|
]),
|
|
2307
2413
|
_: 2
|
|
2308
2414
|
}, 1032, ["append-icon", "href", "text", "onClick"])
|
|
@@ -2311,16 +2417,16 @@ const Be = J("settings", () => {
|
|
|
2311
2417
|
}, 1040, ["border"])
|
|
2312
2418
|
]),
|
|
2313
2419
|
_: 2
|
|
2314
|
-
}, 1024))), 128)) : (d(),
|
|
2315
|
-
o(
|
|
2420
|
+
}, 1024))), 128)) : (d(), S("div", In, [
|
|
2421
|
+
o(v, {
|
|
2316
2422
|
icon: "$vuetify",
|
|
2317
2423
|
size: "256"
|
|
2318
2424
|
}, {
|
|
2319
2425
|
media: a(() => [
|
|
2320
|
-
o(
|
|
2426
|
+
o(A, { color: "medium-emphasis" })
|
|
2321
2427
|
]),
|
|
2322
2428
|
title: a(() => [
|
|
2323
|
-
|
|
2429
|
+
An
|
|
2324
2430
|
]),
|
|
2325
2431
|
_: 1
|
|
2326
2432
|
})
|
|
@@ -2330,30 +2436,30 @@ const Be = J("settings", () => {
|
|
|
2330
2436
|
});
|
|
2331
2437
|
};
|
|
2332
2438
|
}
|
|
2333
|
-
}),
|
|
2439
|
+
}), Fn = X("site", () => {
|
|
2334
2440
|
const p = H([]), e = H();
|
|
2335
2441
|
return {
|
|
2336
2442
|
id: p,
|
|
2337
2443
|
url: e
|
|
2338
2444
|
};
|
|
2339
|
-
}), Ne =
|
|
2340
|
-
const p = ge(), e =
|
|
2341
|
-
slug:
|
|
2445
|
+
}), Ne = X("banners", () => {
|
|
2446
|
+
const p = ge(), e = Fn(), i = O(), n = H([]), l = D(!1), s = w(() => r.value ? r.value : n.value.find(({
|
|
2447
|
+
slug: v,
|
|
2342
2448
|
metadata: {
|
|
2343
2449
|
site: u,
|
|
2344
2450
|
active: m
|
|
2345
2451
|
}
|
|
2346
|
-
}) => !m || i.notifications.last.banner.includes(
|
|
2452
|
+
}) => !m || i.notifications.last.banner.includes(v) ? !1 : u.includes("dev") && !1 || u.includes("*") ? !0 : u.some((b) => e.id.includes(b)))), r = w(() => n.value.find(({
|
|
2347
2453
|
metadata: {
|
|
2348
|
-
site:
|
|
2454
|
+
site: v,
|
|
2349
2455
|
active: u
|
|
2350
2456
|
}
|
|
2351
|
-
}) => u ?
|
|
2457
|
+
}) => u ? v.includes("server") : !1));
|
|
2352
2458
|
async function c() {
|
|
2353
2459
|
try {
|
|
2354
2460
|
l.value = !0;
|
|
2355
|
-
const
|
|
2356
|
-
n.value =
|
|
2461
|
+
const v = await p.get("/one/banners");
|
|
2462
|
+
n.value = v.banners;
|
|
2357
2463
|
} catch {
|
|
2358
2464
|
} finally {
|
|
2359
2465
|
l.value = !1;
|
|
@@ -2367,7 +2473,7 @@ const Be = J("settings", () => {
|
|
|
2367
2473
|
banner: s,
|
|
2368
2474
|
get: c
|
|
2369
2475
|
};
|
|
2370
|
-
}),
|
|
2476
|
+
}), zn = { class: "text-caption" }, jn = { class: "text-caption" }, Tn = /* @__PURE__ */ k({
|
|
2371
2477
|
__name: "VoNotificationsDialog",
|
|
2372
2478
|
props: {
|
|
2373
2479
|
modelValue: { type: Boolean },
|
|
@@ -2375,25 +2481,25 @@ const Be = J("settings", () => {
|
|
|
2375
2481
|
},
|
|
2376
2482
|
emits: ["update:modelValue"],
|
|
2377
2483
|
setup(p) {
|
|
2378
|
-
const e =
|
|
2484
|
+
const e = re(), i = ye(), n = Ne(), l = De(), s = j(), r = D(["read"]), c = ie(p, "modelValue");
|
|
2379
2485
|
return N(i, async () => {
|
|
2380
2486
|
if (i.value.one !== "notifications") {
|
|
2381
2487
|
c.value && (c.value = !1);
|
|
2382
2488
|
return;
|
|
2383
2489
|
}
|
|
2384
2490
|
s.isOpen = !0, await fe(), c.value = !0;
|
|
2385
|
-
}, { immediate: !0 }), (
|
|
2386
|
-
const m =
|
|
2387
|
-
return d(),
|
|
2491
|
+
}, { immediate: !0 }), (v, u) => {
|
|
2492
|
+
const m = Y, b = On, V = Ln, C = Ue;
|
|
2493
|
+
return d(), f(C, {
|
|
2388
2494
|
modelValue: c.value,
|
|
2389
2495
|
"onUpdate:modelValue": u[2] || (u[2] = (_) => c.value = _),
|
|
2390
|
-
"prepend-icon": `svg:${t(
|
|
2496
|
+
"prepend-icon": `svg:${t(Gt)}`,
|
|
2391
2497
|
title: "Notifications"
|
|
2392
2498
|
}, {
|
|
2393
2499
|
default: a(() => [
|
|
2394
|
-
o(
|
|
2500
|
+
o(Ie, null, {
|
|
2395
2501
|
default: a(() => [
|
|
2396
|
-
o(
|
|
2502
|
+
o(_o, {
|
|
2397
2503
|
location: t(e).mobile.value ? "top" : "start",
|
|
2398
2504
|
width: t(e).mobile.value ? 128 : 168,
|
|
2399
2505
|
permanent: ""
|
|
@@ -2409,39 +2515,39 @@ const Be = J("settings", () => {
|
|
|
2409
2515
|
}, {
|
|
2410
2516
|
default: a(() => [
|
|
2411
2517
|
o(m, {
|
|
2412
|
-
"prepend-icon": `svg:${t(
|
|
2518
|
+
"prepend-icon": `svg:${t(qt)}`,
|
|
2413
2519
|
title: "Unread",
|
|
2414
2520
|
value: "read"
|
|
2415
|
-
},
|
|
2521
|
+
}, G({ _: 2 }, [
|
|
2416
2522
|
t(l).unread.length > 0 ? {
|
|
2417
2523
|
name: "append",
|
|
2418
2524
|
fn: a(() => [
|
|
2419
|
-
h("span",
|
|
2525
|
+
h("span", zn, I(t(l).unread.length), 1)
|
|
2420
2526
|
]),
|
|
2421
2527
|
key: "0"
|
|
2422
2528
|
} : void 0
|
|
2423
2529
|
]), 1032, ["prepend-icon"]),
|
|
2424
2530
|
o(m, {
|
|
2425
|
-
"prepend-icon": `svg:${t(
|
|
2531
|
+
"prepend-icon": `svg:${t(Zt)}`,
|
|
2426
2532
|
title: "Read",
|
|
2427
2533
|
value: "unread"
|
|
2428
|
-
},
|
|
2534
|
+
}, G({ _: 2 }, [
|
|
2429
2535
|
t(l).read.length > 0 ? {
|
|
2430
2536
|
name: "append",
|
|
2431
2537
|
fn: a(() => [
|
|
2432
|
-
h("span",
|
|
2538
|
+
h("span", jn, I(t(l).read.length), 1)
|
|
2433
2539
|
]),
|
|
2434
2540
|
key: "0"
|
|
2435
2541
|
} : void 0
|
|
2436
2542
|
]), 1032, ["prepend-icon"]),
|
|
2437
|
-
t(n).all.length > 0 ? (d(),
|
|
2543
|
+
t(n).all.length > 0 ? (d(), f(m, {
|
|
2438
2544
|
key: 0,
|
|
2439
|
-
"prepend-icon": `svg:${t(
|
|
2545
|
+
"prepend-icon": `svg:${t(Yt)}`,
|
|
2440
2546
|
title: "Banners",
|
|
2441
2547
|
value: "banners"
|
|
2442
2548
|
}, {
|
|
2443
2549
|
append: a(() => [
|
|
2444
|
-
o(
|
|
2550
|
+
o(Ge, {
|
|
2445
2551
|
"offset-y": "-3",
|
|
2446
2552
|
dot: ""
|
|
2447
2553
|
})
|
|
@@ -2454,7 +2560,7 @@ const Be = J("settings", () => {
|
|
|
2454
2560
|
]),
|
|
2455
2561
|
_: 1
|
|
2456
2562
|
}, 8, ["location", "width"]),
|
|
2457
|
-
o(
|
|
2563
|
+
o(Ae, { scrollable: "" }, {
|
|
2458
2564
|
default: a(() => [
|
|
2459
2565
|
o(st, {
|
|
2460
2566
|
modelValue: r.value,
|
|
@@ -2499,11 +2605,11 @@ const Be = J("settings", () => {
|
|
|
2499
2605
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
2500
2606
|
};
|
|
2501
2607
|
}
|
|
2502
|
-
}),
|
|
2608
|
+
}), Mn = /* @__PURE__ */ k({
|
|
2503
2609
|
__name: "VoNotificationsBadge",
|
|
2504
2610
|
setup(p) {
|
|
2505
2611
|
const e = De(), i = O();
|
|
2506
|
-
return (n, l) => (d(),
|
|
2612
|
+
return (n, l) => (d(), f(Ge, {
|
|
2507
2613
|
content: t(e).unread.length,
|
|
2508
2614
|
"model-value": t(i).notifications.show && t(e).unread.length > 0,
|
|
2509
2615
|
color: "error"
|
|
@@ -2514,23 +2620,23 @@ const Be = J("settings", () => {
|
|
|
2514
2620
|
_: 3
|
|
2515
2621
|
}, 8, ["content", "model-value"]));
|
|
2516
2622
|
}
|
|
2517
|
-
}),
|
|
2623
|
+
}), Rn = /* @__PURE__ */ k({
|
|
2518
2624
|
__name: "VoNotificationsListItem",
|
|
2519
2625
|
setup(p) {
|
|
2520
2626
|
const e = Ne(), i = O(), n = De(), l = D(!1);
|
|
2521
|
-
return
|
|
2627
|
+
return _t(async () => {
|
|
2522
2628
|
n.get(), e.get();
|
|
2523
2629
|
}), (s, r) => {
|
|
2524
|
-
const c =
|
|
2525
|
-
return t(i).notifications.show ? (d(),
|
|
2630
|
+
const c = Mn, v = Tn, u = Y;
|
|
2631
|
+
return t(i).notifications.show ? (d(), f(u, {
|
|
2526
2632
|
key: 0,
|
|
2527
2633
|
active: l.value,
|
|
2528
|
-
"prepend-icon": `svg:${t(
|
|
2634
|
+
"prepend-icon": `svg:${t(Qt)}`,
|
|
2529
2635
|
title: "Notifications",
|
|
2530
2636
|
link: ""
|
|
2531
|
-
},
|
|
2637
|
+
}, G({
|
|
2532
2638
|
default: a(() => [
|
|
2533
|
-
o(
|
|
2639
|
+
o(v, {
|
|
2534
2640
|
modelValue: l.value,
|
|
2535
2641
|
"onUpdate:modelValue": r[0] || (r[0] = (m) => l.value = m)
|
|
2536
2642
|
}, null, 8, ["modelValue"])
|
|
@@ -2542,7 +2648,7 @@ const Be = J("settings", () => {
|
|
|
2542
2648
|
fn: a(() => [
|
|
2543
2649
|
o(c, null, {
|
|
2544
2650
|
default: a(() => [
|
|
2545
|
-
o(
|
|
2651
|
+
o(A)
|
|
2546
2652
|
]),
|
|
2547
2653
|
_: 1
|
|
2548
2654
|
})
|
|
@@ -2552,27 +2658,27 @@ const Be = J("settings", () => {
|
|
|
2552
2658
|
]), 1032, ["active", "prepend-icon"])) : x("", !0);
|
|
2553
2659
|
};
|
|
2554
2660
|
}
|
|
2555
|
-
}),
|
|
2661
|
+
}), Pn = /* @__PURE__ */ k({
|
|
2556
2662
|
__name: "VoDashboardListItem",
|
|
2557
2663
|
setup(p) {
|
|
2558
2664
|
const e = j();
|
|
2559
2665
|
return (i, n) => {
|
|
2560
|
-
const l =
|
|
2561
|
-
return d(),
|
|
2562
|
-
"prepend-icon": `svg:${t(
|
|
2666
|
+
const l = Y;
|
|
2667
|
+
return d(), f(l, {
|
|
2668
|
+
"prepend-icon": `svg:${t(Jt)}`,
|
|
2563
2669
|
title: "Dashboard",
|
|
2564
2670
|
to: "/user/dashboard",
|
|
2565
2671
|
onClick: n[0] || (n[0] = (s) => t(e).isOpen = !1)
|
|
2566
2672
|
}, null, 8, ["prepend-icon"]);
|
|
2567
2673
|
};
|
|
2568
2674
|
}
|
|
2569
|
-
}),
|
|
2675
|
+
}), Hn = /* @__PURE__ */ k({
|
|
2570
2676
|
__name: "VoUserList",
|
|
2571
2677
|
setup(p) {
|
|
2572
2678
|
const e = F();
|
|
2573
2679
|
return (i, n) => {
|
|
2574
|
-
const l =
|
|
2575
|
-
return d(),
|
|
2680
|
+
const l = Pn, s = Rn, r = Vn, c = yn, v = rn, u = jo, m = Uo;
|
|
2681
|
+
return d(), f(ee, {
|
|
2576
2682
|
density: "compact",
|
|
2577
2683
|
nav: "",
|
|
2578
2684
|
slim: ""
|
|
@@ -2581,15 +2687,16 @@ const Be = J("settings", () => {
|
|
|
2581
2687
|
o(l),
|
|
2582
2688
|
o(s),
|
|
2583
2689
|
o(r),
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2690
|
+
o(c),
|
|
2691
|
+
t(e).user ? (d(), f(v, { key: 0 })) : x("", !0),
|
|
2692
|
+
o(u),
|
|
2693
|
+
t(e).user ? (d(), f(m, { key: 1 })) : x("", !0)
|
|
2587
2694
|
]),
|
|
2588
2695
|
_: 1
|
|
2589
2696
|
});
|
|
2590
2697
|
};
|
|
2591
2698
|
}
|
|
2592
|
-
}),
|
|
2699
|
+
}), En = { key: 0 }, Wn = { class: "d-flex align-center justify-center pa-1 ga-2" }, Gn = /* @__PURE__ */ k({
|
|
2593
2700
|
__name: "VoUserQuickActions",
|
|
2594
2701
|
setup(p) {
|
|
2595
2702
|
const e = O(), i = [
|
|
@@ -2598,11 +2705,11 @@ const Be = J("settings", () => {
|
|
|
2598
2705
|
"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",
|
|
2599
2706
|
["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]
|
|
2600
2707
|
];
|
|
2601
|
-
return (n, l) => (d(),
|
|
2708
|
+
return (n, l) => (d(), f(he, null, {
|
|
2602
2709
|
default: a(() => [
|
|
2603
|
-
t(e).quickbar ? (d(),
|
|
2604
|
-
h("div",
|
|
2605
|
-
o(
|
|
2710
|
+
t(e).quickbar ? (d(), S("div", En, [
|
|
2711
|
+
h("div", Wn, [
|
|
2712
|
+
o(E, {
|
|
2606
2713
|
color: t(e).colors.one,
|
|
2607
2714
|
class: "text-caption",
|
|
2608
2715
|
density: "comfortable",
|
|
@@ -2611,8 +2718,8 @@ const Be = J("settings", () => {
|
|
|
2611
2718
|
target: "_blank"
|
|
2612
2719
|
}, {
|
|
2613
2720
|
default: a(() => [
|
|
2614
|
-
o(
|
|
2615
|
-
o(
|
|
2721
|
+
o(A),
|
|
2722
|
+
o(J, {
|
|
2616
2723
|
activator: "parent",
|
|
2617
2724
|
location: "top",
|
|
2618
2725
|
text: "Vuetify Play"
|
|
@@ -2620,7 +2727,7 @@ const Be = J("settings", () => {
|
|
|
2620
2727
|
]),
|
|
2621
2728
|
_: 1
|
|
2622
2729
|
}, 8, ["color"]),
|
|
2623
|
-
o(
|
|
2730
|
+
o(E, {
|
|
2624
2731
|
color: t(e).colors.one,
|
|
2625
2732
|
icon: i,
|
|
2626
2733
|
class: "text-caption",
|
|
@@ -2629,8 +2736,8 @@ const Be = J("settings", () => {
|
|
|
2629
2736
|
target: "_blank"
|
|
2630
2737
|
}, {
|
|
2631
2738
|
default: a(() => [
|
|
2632
|
-
o(
|
|
2633
|
-
o(
|
|
2739
|
+
o(A),
|
|
2740
|
+
o(J, {
|
|
2634
2741
|
activator: "parent",
|
|
2635
2742
|
location: "top",
|
|
2636
2743
|
text: "Vuetify Bin"
|
|
@@ -2638,17 +2745,17 @@ const Be = J("settings", () => {
|
|
|
2638
2745
|
]),
|
|
2639
2746
|
_: 1
|
|
2640
2747
|
}, 8, ["color"]),
|
|
2641
|
-
o(
|
|
2748
|
+
o(E, {
|
|
2642
2749
|
color: t(e).colors.one,
|
|
2643
|
-
icon: `svg:${t(
|
|
2750
|
+
icon: `svg:${t(Xt)}`,
|
|
2644
2751
|
class: "text-caption",
|
|
2645
2752
|
density: "comfortable",
|
|
2646
2753
|
href: "https://issues.vuetifyjs.com",
|
|
2647
2754
|
target: "_blank"
|
|
2648
2755
|
}, {
|
|
2649
2756
|
default: a(() => [
|
|
2650
|
-
o(
|
|
2651
|
-
o(
|
|
2757
|
+
o(A),
|
|
2758
|
+
o(J, {
|
|
2652
2759
|
activator: "parent",
|
|
2653
2760
|
location: "top",
|
|
2654
2761
|
text: "Vuetify Issues"
|
|
@@ -2662,7 +2769,7 @@ const Be = J("settings", () => {
|
|
|
2662
2769
|
_: 1
|
|
2663
2770
|
}));
|
|
2664
2771
|
}
|
|
2665
|
-
}),
|
|
2772
|
+
}), qn = { class: "mb-2" }, Zn = { key: 0 }, Yn = { class: "d-flex ga-4 flex-wrap justify-center mb-4" }, Qn = { class: "text-h6" }, Jn = /* @__PURE__ */ k({
|
|
2666
2773
|
__name: "VoUserAvatar",
|
|
2667
2774
|
setup(p) {
|
|
2668
2775
|
const e = F(), i = O(), n = D(!1), l = w(() => {
|
|
@@ -2690,11 +2797,11 @@ const Be = J("settings", () => {
|
|
|
2690
2797
|
function r() {
|
|
2691
2798
|
e.isSubscriber && (n.value = !n.value);
|
|
2692
2799
|
}
|
|
2693
|
-
return (c,
|
|
2800
|
+
return (c, v) => {
|
|
2694
2801
|
var u;
|
|
2695
|
-
return d(),
|
|
2696
|
-
xe((d(),
|
|
2697
|
-
class:
|
|
2802
|
+
return d(), S("div", null, [
|
|
2803
|
+
xe((d(), f(ne, {
|
|
2804
|
+
class: ht([
|
|
2698
2805
|
"border-md border-opacity-100 border-surface-variant",
|
|
2699
2806
|
{
|
|
2700
2807
|
"cursor-pointer": t(e).isSubscriber
|
|
@@ -2706,11 +2813,11 @@ const Be = J("settings", () => {
|
|
|
2706
2813
|
onClick: Te(r, ["prevent", "stop"])
|
|
2707
2814
|
}, {
|
|
2708
2815
|
default: a(() => [
|
|
2709
|
-
t(e).user && t(i).avatar ? (d(),
|
|
2816
|
+
t(e).user && t(i).avatar ? (d(), f(Le, {
|
|
2710
2817
|
key: 0,
|
|
2711
2818
|
src: t(i).avatar,
|
|
2712
2819
|
alt: "User avatar"
|
|
2713
|
-
}, null, 8, ["src"])) : (d(),
|
|
2820
|
+
}, null, 8, ["src"])) : (d(), f(A, {
|
|
2714
2821
|
key: 1,
|
|
2715
2822
|
class: "mt-1",
|
|
2716
2823
|
icon: "$vuetify",
|
|
@@ -2719,20 +2826,20 @@ const Be = J("settings", () => {
|
|
|
2719
2826
|
]),
|
|
2720
2827
|
_: 1
|
|
2721
2828
|
}, 8, ["class"])), [
|
|
2722
|
-
[
|
|
2829
|
+
[ho, t(e).isSubscriber]
|
|
2723
2830
|
]),
|
|
2724
|
-
h("div",
|
|
2831
|
+
h("div", qn, [
|
|
2725
2832
|
o(he, null, {
|
|
2726
2833
|
default: a(() => [
|
|
2727
|
-
n.value ? (d(),
|
|
2834
|
+
n.value ? (d(), S("div", Zn, [
|
|
2728
2835
|
o(M, {
|
|
2729
2836
|
class: "pt-6 pb-1",
|
|
2730
2837
|
rounded: "0",
|
|
2731
2838
|
flat: ""
|
|
2732
2839
|
}, {
|
|
2733
2840
|
default: a(() => [
|
|
2734
|
-
h("div",
|
|
2735
|
-
(d(!0),
|
|
2841
|
+
h("div", Yn, [
|
|
2842
|
+
(d(!0), S(U, null, oe(l.value, (m, b) => (d(), f(E, {
|
|
2736
2843
|
key: b,
|
|
2737
2844
|
active: t(i).avatar === m,
|
|
2738
2845
|
variant: "flat",
|
|
@@ -2756,18 +2863,18 @@ const Be = J("settings", () => {
|
|
|
2756
2863
|
_: 1
|
|
2757
2864
|
})
|
|
2758
2865
|
]),
|
|
2759
|
-
h("div",
|
|
2866
|
+
h("div", Qn, I(((u = t(e).user) == null ? void 0 : u.name) ?? "Guest"), 1)
|
|
2760
2867
|
]);
|
|
2761
2868
|
};
|
|
2762
2869
|
}
|
|
2763
|
-
}),
|
|
2870
|
+
}), Xn = /* @__PURE__ */ k({
|
|
2764
2871
|
__name: "VoUserBadges",
|
|
2765
2872
|
setup(p) {
|
|
2766
2873
|
const e = F(), i = j(), n = w(() => {
|
|
2767
2874
|
var l;
|
|
2768
2875
|
return i.github || i.discord || i.isSubscriber || ((l = e.user) == null ? void 0 : l.isAdmin);
|
|
2769
2876
|
});
|
|
2770
|
-
return (l, s) => n.value ? (d(),
|
|
2877
|
+
return (l, s) => n.value ? (d(), f(qe, {
|
|
2771
2878
|
key: 0,
|
|
2772
2879
|
class: "align-center position-absolute ms-2 d-flex ga-2 pa-2",
|
|
2773
2880
|
color: "rgba(0,0,0,.54)",
|
|
@@ -2777,53 +2884,53 @@ const Be = J("settings", () => {
|
|
|
2777
2884
|
default: a(() => {
|
|
2778
2885
|
var r;
|
|
2779
2886
|
return [
|
|
2780
|
-
(r = t(e).user) != null && r.isAdmin ? (d(),
|
|
2887
|
+
(r = t(e).user) != null && r.isAdmin ? (d(), f(J, {
|
|
2781
2888
|
key: 0,
|
|
2782
2889
|
location: "bottom",
|
|
2783
2890
|
text: "Vuetify Administrator"
|
|
2784
2891
|
}, {
|
|
2785
2892
|
activator: a(({ props: c }) => [
|
|
2786
|
-
o(
|
|
2893
|
+
o(A, P({
|
|
2787
2894
|
color: "blue",
|
|
2788
2895
|
icon: "$vuetify"
|
|
2789
2896
|
}, c, { size: "16" }), null, 16)
|
|
2790
2897
|
]),
|
|
2791
2898
|
_: 1
|
|
2792
2899
|
})) : x("", !0),
|
|
2793
|
-
t(i).isSubscriber ? (d(),
|
|
2900
|
+
t(i).isSubscriber ? (d(), f(J, {
|
|
2794
2901
|
key: 1,
|
|
2795
2902
|
location: "bottom",
|
|
2796
2903
|
text: "Vuetify One Subscriber"
|
|
2797
2904
|
}, {
|
|
2798
2905
|
activator: a(({ props: c }) => [
|
|
2799
|
-
o(
|
|
2800
|
-
icon: `svg:${t(
|
|
2906
|
+
o(A, P({
|
|
2907
|
+
icon: `svg:${t(Kt)}`,
|
|
2801
2908
|
color: "amber-darken-2"
|
|
2802
2909
|
}, c, { size: "16" }), null, 16, ["icon"])
|
|
2803
2910
|
]),
|
|
2804
2911
|
_: 1
|
|
2805
2912
|
})) : x("", !0),
|
|
2806
|
-
t(i).github ? (d(),
|
|
2913
|
+
t(i).github ? (d(), f(J, {
|
|
2807
2914
|
key: 2,
|
|
2808
2915
|
location: "bottom",
|
|
2809
2916
|
text: "GitHub Sponsor"
|
|
2810
2917
|
}, {
|
|
2811
2918
|
activator: a(({ props: c }) => [
|
|
2812
|
-
o(
|
|
2813
|
-
icon: `svg:${t(
|
|
2919
|
+
o(A, P({
|
|
2920
|
+
icon: `svg:${t(Ee)}`,
|
|
2814
2921
|
color: "white"
|
|
2815
2922
|
}, c, { size: "16" }), null, 16, ["icon"])
|
|
2816
2923
|
]),
|
|
2817
2924
|
_: 1
|
|
2818
2925
|
})) : x("", !0),
|
|
2819
|
-
t(i).discord ? (d(),
|
|
2926
|
+
t(i).discord ? (d(), f(J, {
|
|
2820
2927
|
key: 3,
|
|
2821
2928
|
location: "bottom",
|
|
2822
2929
|
text: "Discord Subscriber"
|
|
2823
2930
|
}, {
|
|
2824
2931
|
activator: a(({ props: c }) => [
|
|
2825
|
-
o(
|
|
2826
|
-
icon: `svg:${t(
|
|
2932
|
+
o(A, P({
|
|
2933
|
+
icon: `svg:${t(He)}`,
|
|
2827
2934
|
color: "white"
|
|
2828
2935
|
}, c, { size: "16" }), null, 16, ["icon"])
|
|
2829
2936
|
]),
|
|
@@ -2834,10 +2941,10 @@ const Be = J("settings", () => {
|
|
|
2834
2941
|
_: 1
|
|
2835
2942
|
})) : x("", !0);
|
|
2836
2943
|
}
|
|
2837
|
-
}),
|
|
2944
|
+
}), Kn = { class: "d-flex flex-grow-1 justify-end fill-height align-start" }, es = {
|
|
2838
2945
|
key: "reset",
|
|
2839
2946
|
class: "align-self-end"
|
|
2840
|
-
},
|
|
2947
|
+
}, ts = /* @__PURE__ */ k({
|
|
2841
2948
|
__name: "VoUserColors",
|
|
2842
2949
|
setup(p) {
|
|
2843
2950
|
const e = F(), i = O(), n = D(!1);
|
|
@@ -2845,8 +2952,8 @@ const Be = J("settings", () => {
|
|
|
2845
2952
|
i.colors.one = "surface-light";
|
|
2846
2953
|
}
|
|
2847
2954
|
return (s, r) => {
|
|
2848
|
-
const c =
|
|
2849
|
-
return d(),
|
|
2955
|
+
const c = Xn, v = se;
|
|
2956
|
+
return d(), S(U, null, [
|
|
2850
2957
|
o(Le, {
|
|
2851
2958
|
color: t(e).user ? t(i).colors.one : "surface-light",
|
|
2852
2959
|
"content-class": "d-flex align-start justify-end pa-2",
|
|
@@ -2856,12 +2963,12 @@ const Be = J("settings", () => {
|
|
|
2856
2963
|
flat: ""
|
|
2857
2964
|
}, {
|
|
2858
2965
|
default: a(() => [
|
|
2859
|
-
h("div",
|
|
2966
|
+
h("div", Kn, [
|
|
2860
2967
|
o(c),
|
|
2861
|
-
t(e).isSubscriber ? (d(), v
|
|
2968
|
+
t(e).isSubscriber ? (d(), f(v, {
|
|
2862
2969
|
key: 0,
|
|
2863
2970
|
active: n.value,
|
|
2864
|
-
icon: n.value ? `svg:${t(
|
|
2971
|
+
icon: n.value ? `svg:${t(le)}` : "$edit",
|
|
2865
2972
|
variant: n.value ? "text" : "plain",
|
|
2866
2973
|
class: "align-self-end",
|
|
2867
2974
|
color: "inherit",
|
|
@@ -2872,7 +2979,7 @@ const Be = J("settings", () => {
|
|
|
2872
2979
|
default: a(() => [
|
|
2873
2980
|
o($e, { "leave-absolute": "" }, {
|
|
2874
2981
|
default: a(() => [
|
|
2875
|
-
(d(),
|
|
2982
|
+
(d(), f(A, {
|
|
2876
2983
|
key: String(n.value)
|
|
2877
2984
|
}))
|
|
2878
2985
|
]),
|
|
@@ -2881,12 +2988,12 @@ const Be = J("settings", () => {
|
|
|
2881
2988
|
]),
|
|
2882
2989
|
_: 1
|
|
2883
2990
|
}, 8, ["active", "icon", "variant"])) : x("", !0),
|
|
2884
|
-
o(
|
|
2991
|
+
o(ro, null, {
|
|
2885
2992
|
default: a(() => [
|
|
2886
|
-
xe(h("div",
|
|
2887
|
-
o(
|
|
2993
|
+
xe(h("div", es, [
|
|
2994
|
+
o(v, {
|
|
2888
2995
|
disabled: t(i).colors.one === "surface-light",
|
|
2889
|
-
icon: `svg:${t(
|
|
2996
|
+
icon: `svg:${t(eo)}`,
|
|
2890
2997
|
class: "ms-2 me-1",
|
|
2891
2998
|
color: "inherit",
|
|
2892
2999
|
density: "comfortable",
|
|
@@ -2906,7 +3013,7 @@ const Be = J("settings", () => {
|
|
|
2906
3013
|
}, 8, ["color"]),
|
|
2907
3014
|
o(he, null, {
|
|
2908
3015
|
default: a(() => [
|
|
2909
|
-
n.value ? (d(),
|
|
3016
|
+
n.value ? (d(), f(go, {
|
|
2910
3017
|
key: 0,
|
|
2911
3018
|
"model-value": t(i).colors.one !== "surface-light" ? t(i).colors.one : void 0,
|
|
2912
3019
|
elevation: "0",
|
|
@@ -2926,7 +3033,7 @@ const Be = J("settings", () => {
|
|
|
2926
3033
|
], 64);
|
|
2927
3034
|
};
|
|
2928
3035
|
}
|
|
2929
|
-
}),
|
|
3036
|
+
}), os = { class: "text-center mt-n9 mb-4" }, ns = /* @__PURE__ */ k({
|
|
2930
3037
|
__name: "VoUserMenu",
|
|
2931
3038
|
setup(p) {
|
|
2932
3039
|
const e = Ne(), i = j(), n = H();
|
|
@@ -2934,8 +3041,8 @@ const Be = J("settings", () => {
|
|
|
2934
3041
|
var l, s;
|
|
2935
3042
|
await new Promise((r) => setTimeout(r, 300)), i.isOpen && ((s = (l = n.value) == null ? void 0 : l.updateLocation) == null || s.call(l));
|
|
2936
3043
|
}, { flush: "pre" }), (l, s) => {
|
|
2937
|
-
const r =
|
|
2938
|
-
return d(),
|
|
3044
|
+
const r = ts, c = Jn, v = Gn, u = Hn, m = ct;
|
|
3045
|
+
return d(), f(t(bo), {
|
|
2939
3046
|
ref_key: "menu",
|
|
2940
3047
|
ref: n,
|
|
2941
3048
|
modelValue: t(i).isOpen,
|
|
@@ -2954,13 +3061,13 @@ const Be = J("settings", () => {
|
|
|
2954
3061
|
}, {
|
|
2955
3062
|
default: a(() => [
|
|
2956
3063
|
o(r),
|
|
2957
|
-
h("div",
|
|
3064
|
+
h("div", os, [
|
|
2958
3065
|
o(c),
|
|
2959
|
-
o(
|
|
3066
|
+
o(v)
|
|
2960
3067
|
]),
|
|
2961
|
-
o(
|
|
3068
|
+
o(W),
|
|
2962
3069
|
o(u),
|
|
2963
|
-
o(
|
|
3070
|
+
o(W),
|
|
2964
3071
|
o(m)
|
|
2965
3072
|
]),
|
|
2966
3073
|
_: 1
|
|
@@ -2970,156 +3077,91 @@ const Be = J("settings", () => {
|
|
|
2970
3077
|
}, 8, ["modelValue"]);
|
|
2971
3078
|
};
|
|
2972
3079
|
}
|
|
2973
|
-
}),
|
|
3080
|
+
}), ss = { key: 0 }, as = /* @__PURE__ */ k({
|
|
2974
3081
|
__name: "VoAuthBtn",
|
|
2975
3082
|
props: {
|
|
2976
3083
|
external: Boolean
|
|
2977
3084
|
},
|
|
2978
3085
|
setup(p) {
|
|
2979
|
-
const e = F(), i = j(), n = O(), { lgAndUp: l, mdAndDown: s } =
|
|
2980
|
-
return (c,
|
|
2981
|
-
const u =
|
|
2982
|
-
return d(),
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
t(e).user ? x("", !0) : (d(), L("span", Qn, "Login")),
|
|
3001
|
-
t(e).user ? (d(), v(ne, {
|
|
3002
|
-
key: 1,
|
|
3003
|
-
image: t(n).avatar || t(e).user.picture || ""
|
|
3004
|
-
}, null, 8, ["image"])) : x("", !0),
|
|
3005
|
-
o(u)
|
|
3006
|
-
]),
|
|
3007
|
-
_: 1
|
|
3008
|
-
}, 16, ["color", "icon", "loading", "rounded", "variant"])
|
|
3009
|
-
]),
|
|
3010
|
-
_: 1
|
|
3011
|
-
}, 8, ["offset-y"]);
|
|
3012
|
-
};
|
|
3013
|
-
}
|
|
3014
|
-
}), Xn = { class: "text-center" }, Kn = { class: "text-center mb-6" }, es = { class: "font-weight-light mb-2" }, ts = /* @__PURE__ */ h("span", { class: "font-weight-bold" }, "Vuetify One", -1), ct = /* @__PURE__ */ k({
|
|
3015
|
-
__name: "VoAuthCard",
|
|
3016
|
-
setup(p) {
|
|
3017
|
-
const e = F();
|
|
3018
|
-
return (i, n) => {
|
|
3019
|
-
const l = it, s = at;
|
|
3020
|
-
return d(), v(M, {
|
|
3021
|
-
class: "pt-6 pb-8 px-4 px-sm-8 mx-auto",
|
|
3022
|
-
"max-width": "480"
|
|
3023
|
-
}, {
|
|
3024
|
-
default: a(() => [
|
|
3025
|
-
h("div", Xn, [
|
|
3026
|
-
o(ne, {
|
|
3027
|
-
image: "https://vuetifyjs.b-cdn.net/docs/images/avatars/one.png",
|
|
3028
|
-
class: "mx-auto",
|
|
3029
|
-
size: "64"
|
|
3030
|
-
}, null, 8, ["image"])
|
|
3031
|
-
]),
|
|
3032
|
-
h("div", Kn, [
|
|
3033
|
-
o(no, { class: "text-h5 mb-1 text-md-h4" }, {
|
|
3034
|
-
default: a(() => [
|
|
3035
|
-
h("div", es, A(t(e).lastLoginProvider() ? "Welcome back to" : "Login to"), 1),
|
|
3036
|
-
ts
|
|
3037
|
-
]),
|
|
3038
|
-
_: 1
|
|
3039
|
-
}),
|
|
3040
|
-
o(so, { class: "text-wrap" }, {
|
|
3086
|
+
const e = F(), i = j(), n = O(), { lgAndUp: l, mdAndDown: s } = re(), r = w(() => i.isOpen || !e.user ? n.colors.one === "surface-light" ? "primary" : n.colors.one : "surface-light");
|
|
3087
|
+
return (c, v) => {
|
|
3088
|
+
const u = ns, m = se, b = Ao, V = rt;
|
|
3089
|
+
return d(), S(U, null, [
|
|
3090
|
+
o(b, {
|
|
3091
|
+
"offset-y": t(e).user ? 5 : 0
|
|
3092
|
+
}, {
|
|
3093
|
+
default: a(() => [
|
|
3094
|
+
o(m, P({
|
|
3095
|
+
[`${t(l) ? "append-" : ""}icon`]: t(e).user ? void 0 : `svg:${t(to)}`
|
|
3096
|
+
}, {
|
|
3097
|
+
color: r.value,
|
|
3098
|
+
icon: t(e).user || t(e).isLoading,
|
|
3099
|
+
loading: t(e).isLoading,
|
|
3100
|
+
rounded: t(s),
|
|
3101
|
+
variant: t(e).user ? "outlined" : "flat",
|
|
3102
|
+
class: "vo-auth-btn",
|
|
3103
|
+
size: "default",
|
|
3104
|
+
style: { transition: ".2s ease" },
|
|
3105
|
+
active: ""
|
|
3106
|
+
}), {
|
|
3041
3107
|
default: a(() => [
|
|
3042
|
-
|
|
3108
|
+
t(e).user ? x("", !0) : (d(), S("span", ss, "Login")),
|
|
3109
|
+
t(e).user ? (d(), f(ne, {
|
|
3110
|
+
key: 1,
|
|
3111
|
+
image: t(n).avatar || t(e).user.picture || ""
|
|
3112
|
+
}, null, 8, ["image"])) : x("", !0),
|
|
3113
|
+
o(u)
|
|
3043
3114
|
]),
|
|
3044
3115
|
_: 1
|
|
3045
|
-
})
|
|
3116
|
+
}, 16, ["color", "icon", "loading", "rounded", "variant"])
|
|
3046
3117
|
]),
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
}, {
|
|
3052
|
-
default: a(() => [
|
|
3053
|
-
o(l, { class: "mb-3" }),
|
|
3054
|
-
o(s)
|
|
3055
|
-
]),
|
|
3056
|
-
_: 1
|
|
3057
|
-
})
|
|
3058
|
-
]),
|
|
3059
|
-
_: 1
|
|
3060
|
-
});
|
|
3061
|
-
};
|
|
3062
|
-
}
|
|
3063
|
-
}), os = /* @__PURE__ */ k({
|
|
3064
|
-
__name: "VoAuthDialog",
|
|
3065
|
-
setup(p) {
|
|
3066
|
-
const e = F();
|
|
3067
|
-
return (i, n) => {
|
|
3068
|
-
const l = ct;
|
|
3069
|
-
return d(), v(ot, {
|
|
3070
|
-
modelValue: t(e).dialog,
|
|
3071
|
-
"onUpdate:modelValue": n[0] || (n[0] = (s) => t(e).dialog = s),
|
|
3072
|
-
"max-width": "480"
|
|
3073
|
-
}, {
|
|
3074
|
-
default: a(() => [
|
|
3075
|
-
o(l)
|
|
3076
|
-
]),
|
|
3077
|
-
_: 1
|
|
3078
|
-
}, 8, ["modelValue"]);
|
|
3118
|
+
_: 1
|
|
3119
|
+
}, 8, ["offset-y"]),
|
|
3120
|
+
o(V)
|
|
3121
|
+
], 64);
|
|
3079
3122
|
};
|
|
3080
3123
|
}
|
|
3081
|
-
}),
|
|
3124
|
+
}), is = /* @__PURE__ */ k({
|
|
3082
3125
|
__name: "VoNotificationsBanner",
|
|
3083
3126
|
setup(p) {
|
|
3084
|
-
const { mdAndUp: e } =
|
|
3127
|
+
const { mdAndUp: e } = re(), i = Pe(), n = O(), l = Ne(), s = w(() => l.banner), r = w(() => {
|
|
3085
3128
|
var b, V;
|
|
3086
3129
|
return ((b = s.value) == null ? void 0 : b.metadata.height) || ((V = s.value) != null && V.metadata.subtext ? 88 : 48);
|
|
3087
3130
|
}), c = w(() => !s.value || !n.notifications.last.banner.includes(s.value.slug));
|
|
3088
|
-
function
|
|
3131
|
+
function v() {
|
|
3089
3132
|
s.value && n.notifications.last.banner.push(s.value.slug);
|
|
3090
3133
|
}
|
|
3091
3134
|
async function u(b) {
|
|
3092
3135
|
var _;
|
|
3093
3136
|
if (!s.value)
|
|
3094
3137
|
return;
|
|
3095
|
-
|
|
3138
|
+
v(), await fe();
|
|
3096
3139
|
const V = ((_ = s.value) == null ? void 0 : _.metadata) ?? { link: "" };
|
|
3097
3140
|
if (V.link.indexOf("?one=") === -1)
|
|
3098
3141
|
return;
|
|
3099
3142
|
b.preventDefault(), b.stopPropagation();
|
|
3100
|
-
const
|
|
3101
|
-
i.push({ query: { one:
|
|
3143
|
+
const C = V.link.split("?one=")[1];
|
|
3144
|
+
i.push({ query: { one: C } });
|
|
3102
3145
|
}
|
|
3103
3146
|
const m = w(() => {
|
|
3104
|
-
var V,
|
|
3147
|
+
var V, C;
|
|
3105
3148
|
const b = ((V = s.value) == null ? void 0 : V.metadata) ?? { link: "" };
|
|
3106
3149
|
return {
|
|
3107
3150
|
href: b.link.startsWith("http") ? b.link : void 0,
|
|
3108
3151
|
target: b.link.startsWith("http") ? "_blank" : void 0,
|
|
3109
3152
|
to: b.link.startsWith("http") ? void 0 : b.link,
|
|
3110
|
-
...(
|
|
3153
|
+
...(C = s.value) == null ? void 0 : C.metadata.attributes,
|
|
3111
3154
|
onClick: u
|
|
3112
3155
|
};
|
|
3113
3156
|
});
|
|
3114
3157
|
return (b, V) => {
|
|
3115
|
-
var
|
|
3116
|
-
return s.value ? (d(),
|
|
3158
|
+
var C;
|
|
3159
|
+
return s.value ? (d(), f(yo, {
|
|
3117
3160
|
key: 0,
|
|
3118
3161
|
color: s.value.metadata.color,
|
|
3119
3162
|
height: r.value,
|
|
3120
|
-
image: (
|
|
3163
|
+
image: (C = s.value.metadata.images.bg) == null ? void 0 : C.url,
|
|
3121
3164
|
"model-value": c.value,
|
|
3122
|
-
theme: s.value.metadata.theme.key,
|
|
3123
3165
|
flat: ""
|
|
3124
3166
|
}, {
|
|
3125
3167
|
default: a(() => [
|
|
@@ -3128,11 +3170,11 @@ const Be = J("settings", () => {
|
|
|
3128
3170
|
class: "flex-grow-1",
|
|
3129
3171
|
lines: "two",
|
|
3130
3172
|
onClick: u
|
|
3131
|
-
}),
|
|
3173
|
+
}), G({
|
|
3132
3174
|
append: a(() => [
|
|
3133
|
-
t(e) && s.value.metadata.link && s.value.metadata.link_text ? (d(),
|
|
3175
|
+
t(e) && s.value.metadata.link && s.value.metadata.link_text ? (d(), f(Ce, { key: 0 }, {
|
|
3134
3176
|
default: a(({ isHovering: _, props: y }) => [
|
|
3135
|
-
o(
|
|
3177
|
+
o(E, P({
|
|
3136
3178
|
...y,
|
|
3137
3179
|
...m.value
|
|
3138
3180
|
}, {
|
|
@@ -3145,36 +3187,36 @@ const Be = J("settings", () => {
|
|
|
3145
3187
|
onClick: u
|
|
3146
3188
|
}), {
|
|
3147
3189
|
default: a(() => [
|
|
3148
|
-
B(
|
|
3190
|
+
B(I(s.value.metadata.link_text), 1)
|
|
3149
3191
|
]),
|
|
3150
3192
|
_: 2
|
|
3151
3193
|
}, 1040, ["append-icon", "color", "elevation", "title"])
|
|
3152
3194
|
]),
|
|
3153
3195
|
_: 1
|
|
3154
3196
|
})) : x("", !0),
|
|
3155
|
-
s.value.metadata.closable ? (d(),
|
|
3197
|
+
s.value.metadata.closable ? (d(), f(E, {
|
|
3156
3198
|
key: 1,
|
|
3157
3199
|
class: "ms-6 me-2",
|
|
3158
3200
|
density: "comfortable",
|
|
3159
3201
|
icon: "$clear",
|
|
3160
3202
|
size: "small",
|
|
3161
3203
|
variant: "plain",
|
|
3162
|
-
onClick: Te(
|
|
3204
|
+
onClick: Te(v, ["prevent", "stop"])
|
|
3163
3205
|
})) : x("", !0)
|
|
3164
3206
|
]),
|
|
3165
3207
|
default: a(() => [
|
|
3166
|
-
s.value.metadata.text ? (d(),
|
|
3208
|
+
s.value.metadata.text ? (d(), f(et, {
|
|
3167
3209
|
key: 0,
|
|
3168
3210
|
class: "text-subtitle-2 text-md-subtitle-1 font-weight-medium"
|
|
3169
3211
|
}, {
|
|
3170
3212
|
default: a(() => [
|
|
3171
|
-
B(
|
|
3213
|
+
B(I(s.value.metadata.text), 1)
|
|
3172
3214
|
]),
|
|
3173
3215
|
_: 1
|
|
3174
3216
|
})) : x("", !0),
|
|
3175
|
-
s.value.metadata.subtext ? (d(),
|
|
3217
|
+
s.value.metadata.subtext ? (d(), f(so, { key: 1 }, {
|
|
3176
3218
|
default: a(() => [
|
|
3177
|
-
B(
|
|
3219
|
+
B(I(s.value.metadata.subtext), 1)
|
|
3178
3220
|
]),
|
|
3179
3221
|
_: 1
|
|
3180
3222
|
})) : x("", !0)
|
|
@@ -3194,13 +3236,13 @@ const Be = J("settings", () => {
|
|
|
3194
3236
|
]), 1040)
|
|
3195
3237
|
]),
|
|
3196
3238
|
_: 1
|
|
3197
|
-
}, 8, ["color", "height", "image", "model-value"
|
|
3239
|
+
}, 8, ["color", "height", "image", "model-value"])) : x("", !0);
|
|
3198
3240
|
};
|
|
3199
3241
|
}
|
|
3200
|
-
}),
|
|
3242
|
+
}), ls = (p) => (gt("data-v-d0145a63"), p = p(), bt(), p), rs = ["href", "title"], cs = {
|
|
3201
3243
|
class: "text-caption text-disabled",
|
|
3202
3244
|
style: { position: "absolute", right: "16px" }
|
|
3203
|
-
},
|
|
3245
|
+
}, us = /* @__PURE__ */ ls(() => /* @__PURE__ */ h("span", { class: "d-none d-sm-inline-block" }, "Vuetify, LLC", -1)), ds = /* @__PURE__ */ k({
|
|
3204
3246
|
__name: "VoFooter",
|
|
3205
3247
|
setup(p) {
|
|
3206
3248
|
const e = [
|
|
@@ -3211,7 +3253,7 @@ const Be = J("settings", () => {
|
|
|
3211
3253
|
},
|
|
3212
3254
|
{
|
|
3213
3255
|
title: "Vuetify Support",
|
|
3214
|
-
icon: `svg:${
|
|
3256
|
+
icon: `svg:${oo}`,
|
|
3215
3257
|
href: "https://support.vuetifyjs.com/"
|
|
3216
3258
|
},
|
|
3217
3259
|
{
|
|
@@ -3221,26 +3263,26 @@ const Be = J("settings", () => {
|
|
|
3221
3263
|
},
|
|
3222
3264
|
{
|
|
3223
3265
|
title: "Vuetify GitHub",
|
|
3224
|
-
icon: `svg:${
|
|
3266
|
+
icon: `svg:${Ee}`,
|
|
3225
3267
|
href: "https://github.com/vuetifyjs/vuetify"
|
|
3226
3268
|
},
|
|
3227
3269
|
{
|
|
3228
3270
|
title: "Vuetify Discord",
|
|
3229
|
-
icon: `svg:${
|
|
3271
|
+
icon: `svg:${He}`,
|
|
3230
3272
|
href: "https://community.vuetifyjs.com/"
|
|
3231
3273
|
},
|
|
3232
3274
|
{
|
|
3233
3275
|
title: "Vuetify Reddit",
|
|
3234
|
-
icon: `svg:${
|
|
3276
|
+
icon: `svg:${no}`,
|
|
3235
3277
|
href: "https://reddit.com/r/vuetifyjs"
|
|
3236
3278
|
}
|
|
3237
3279
|
];
|
|
3238
|
-
return (i, n) => (d(),
|
|
3280
|
+
return (i, n) => (d(), f(Vo, {
|
|
3239
3281
|
class: "vo-footer",
|
|
3240
3282
|
height: "40"
|
|
3241
3283
|
}, {
|
|
3242
3284
|
default: a(() => [
|
|
3243
|
-
(d(),
|
|
3285
|
+
(d(), S(U, null, oe(e, (l) => h("a", {
|
|
3244
3286
|
key: l.title,
|
|
3245
3287
|
href: l.href,
|
|
3246
3288
|
title: l.title,
|
|
@@ -3248,26 +3290,26 @@ const Be = J("settings", () => {
|
|
|
3248
3290
|
rel: "noopener noreferrer",
|
|
3249
3291
|
target: "_blank"
|
|
3250
3292
|
}, [
|
|
3251
|
-
o(
|
|
3293
|
+
o(A, {
|
|
3252
3294
|
icon: l.icon,
|
|
3253
3295
|
size: l.icon === "$vuetify" ? 24 : 16
|
|
3254
3296
|
}, null, 8, ["icon", "size"])
|
|
3255
|
-
], 8,
|
|
3256
|
-
h("div",
|
|
3257
|
-
B(" © 2016-" +
|
|
3258
|
-
|
|
3297
|
+
], 8, rs)), 64)),
|
|
3298
|
+
h("div", cs, [
|
|
3299
|
+
B(" © 2016-" + I((/* @__PURE__ */ new Date()).getFullYear()) + " ", 1),
|
|
3300
|
+
us
|
|
3259
3301
|
])
|
|
3260
3302
|
]),
|
|
3261
3303
|
_: 1
|
|
3262
3304
|
}));
|
|
3263
3305
|
}
|
|
3264
|
-
}),
|
|
3306
|
+
}), ps = (p, e) => {
|
|
3265
3307
|
const i = p.__vccOpts || p;
|
|
3266
3308
|
for (const [n, l] of e)
|
|
3267
3309
|
i[n] = l;
|
|
3268
3310
|
return i;
|
|
3269
|
-
},
|
|
3270
|
-
const p = F(), e = ge(), i = H([]), n = H(), l = D(!1), s = D(-1), r = w(() => !p.user || !n.value ? !1 : p.user.id === n.value.owner.id), c = w(() => i.value.filter((y) => y.favorite)),
|
|
3311
|
+
}, ms = /* @__PURE__ */ ps(ds, [["__scopeId", "data-v-d0145a63"]]), ea = X("bins", () => {
|
|
3312
|
+
const p = F(), e = ge(), i = H([]), n = H(), l = D(!1), s = D(-1), r = w(() => !p.user || !n.value ? !1 : p.user.id === n.value.owner.id), c = w(() => i.value.filter((y) => y.favorite)), v = w(() => i.value.filter((y) => y.pinned));
|
|
3271
3313
|
N(n, () => {
|
|
3272
3314
|
window.clearTimeout(s.value), s.value = window.setTimeout(() => {
|
|
3273
3315
|
!n.value || !r.value || V(n.value, n.value.id);
|
|
@@ -3315,7 +3357,7 @@ const Be = J("settings", () => {
|
|
|
3315
3357
|
}
|
|
3316
3358
|
return { bin: y };
|
|
3317
3359
|
}
|
|
3318
|
-
async function
|
|
3360
|
+
async function C(y, $) {
|
|
3319
3361
|
try {
|
|
3320
3362
|
l.value = !0;
|
|
3321
3363
|
const z = $ ? await V(y, $) : await b(y);
|
|
@@ -3340,7 +3382,7 @@ const Be = J("settings", () => {
|
|
|
3340
3382
|
return {
|
|
3341
3383
|
isLoading: l,
|
|
3342
3384
|
isOwner: r,
|
|
3343
|
-
pinned:
|
|
3385
|
+
pinned: v,
|
|
3344
3386
|
favorites: c,
|
|
3345
3387
|
all: i,
|
|
3346
3388
|
create: b,
|
|
@@ -3349,27 +3391,27 @@ const Be = J("settings", () => {
|
|
|
3349
3391
|
find: _,
|
|
3350
3392
|
get: u,
|
|
3351
3393
|
update: V,
|
|
3352
|
-
updateOrCreate:
|
|
3394
|
+
updateOrCreate: C
|
|
3353
3395
|
};
|
|
3354
3396
|
});
|
|
3355
|
-
function
|
|
3397
|
+
function ta() {
|
|
3356
3398
|
function p(e) {
|
|
3357
|
-
e.component("VoAuthBtn",
|
|
3399
|
+
e.component("VoAuthBtn", as), e.component("VoAuthCard", lt), e.component("VoAuthDialog", rt), e.component("VoAuthListItem", ct), e.component("VoNotificationsBanner", is), e.component("VoFooter", ms);
|
|
3358
3400
|
}
|
|
3359
3401
|
return { install: p };
|
|
3360
3402
|
}
|
|
3361
|
-
function
|
|
3403
|
+
function oa(p, e) {
|
|
3362
3404
|
return function(i) {
|
|
3363
3405
|
const n = i.store;
|
|
3364
3406
|
n.url = e, n.$id === "site" && (n.id = p);
|
|
3365
3407
|
};
|
|
3366
3408
|
}
|
|
3367
3409
|
export {
|
|
3368
|
-
|
|
3369
|
-
|
|
3410
|
+
ta as createOne,
|
|
3411
|
+
oa as one,
|
|
3370
3412
|
F as useAuthStore,
|
|
3371
3413
|
Ne as useBannersStore,
|
|
3372
|
-
|
|
3414
|
+
ea as useBinsStore,
|
|
3373
3415
|
ge as useHttpStore,
|
|
3374
3416
|
j as useOneStore,
|
|
3375
3417
|
Be as useSettingsStore,
|