@vuetify/one 1.1.1 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/favicon.ico +0 -0
- package/dist/index.d.ts +19 -19
- package/dist/index.js +647 -634
- package/dist/style.css +1 -1
- package/package.json +31 -26
package/dist/index.js
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import { reactive as
|
|
1
|
+
import { reactive as dt, watch as N, toRefs as pt, ref as H, shallowRef as D, computed as w, defineComponent as k, openBlock as d, createBlock as v, unref as t, withCtx as a, renderSlot as R, normalizeStyle as Qe, createSlots as W, createCommentVNode as x, createElementVNode as h, toDisplayString as A, createVNode as o, withModifiers as Te, mergeModels as mt, useModel as le, createElementBlock as L, Fragment as U, createTextVNode as B, onBeforeMount as ft, nextTick as fe, renderList as oe, mergeProps as P, resolveComponent as Me, withDirectives as xe, vShow as Re, onMounted as vt, normalizeClass as _t, pushScopeId as ht, popScopeId as gt } from "vue";
|
|
2
|
+
import { useRouter as Pe, useRoute as bt } from "vue-router/auto";
|
|
2
3
|
import { defineStore as J } from "pinia";
|
|
3
4
|
import { merge as Oe } from "lodash-es";
|
|
4
|
-
import { VBadge as
|
|
5
|
-
import { VBtn as
|
|
6
|
-
import { VProgressCircular as
|
|
7
|
-
import { mdiDiscord as
|
|
8
|
-
import { VListItem as
|
|
5
|
+
import { VBadge as He } from "vuetify/lib/components/VBadge/index.mjs";
|
|
6
|
+
import { VBtn as G } from "vuetify/lib/components/VBtn/index.mjs";
|
|
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";
|
|
9
10
|
import { VAvatar as ne } from "vuetify/lib/components/VAvatar/index.mjs";
|
|
10
|
-
import { VCard as
|
|
11
|
-
import { VSheet as
|
|
12
|
-
import { VSwitch as
|
|
13
|
-
import { VFadeTransition as $e, VExpandTransition as
|
|
14
|
-
import { useDisplay as se, useTheme as
|
|
15
|
-
import { VDialog as
|
|
16
|
-
import { VDivider as
|
|
17
|
-
import { VIcon as
|
|
11
|
+
import { VCard as M, VCardText as K, VCardTitle as no, VCardSubtitle as so } from "vuetify/lib/components/VCard/index.mjs";
|
|
12
|
+
import { VSheet as qe } from "vuetify/lib/components/VSheet/index.mjs";
|
|
13
|
+
import { VSwitch as tt } from "vuetify/lib/components/VSwitch/index.mjs";
|
|
14
|
+
import { VFadeTransition as $e, VExpandTransition as he, VExpandXTransition as ao } from "vuetify/lib/components/transitions/index.mjs";
|
|
15
|
+
import { useDisplay as se, useTheme as io, useDate as we } from "vuetify";
|
|
16
|
+
import { VDialog as ot } from "vuetify/lib/components/VDialog/index.mjs";
|
|
17
|
+
import { VDivider as E } from "vuetify/lib/components/VDivider/index.mjs";
|
|
18
|
+
import { VIcon as I } from "vuetify/lib/components/VIcon/index.mjs";
|
|
18
19
|
import { VLabel as ze } from "vuetify/lib/components/VLabel/index.mjs";
|
|
19
20
|
import { VChip as Y } from "vuetify/lib/components/VChip/index.mjs";
|
|
20
|
-
import { VChipGroup as
|
|
21
|
-
import { VSelect as
|
|
22
|
-
import {
|
|
23
|
-
import { VRow as Se, VCol as pe } from "vuetify/lib/components/VGrid/index.mjs";
|
|
21
|
+
import { VChipGroup as lo } from "vuetify/lib/components/VChipGroup/index.mjs";
|
|
22
|
+
import { VSelect as ro } from "vuetify/lib/components/VSelect/index.mjs";
|
|
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
|
|
31
|
-
import { VWindow as st, VWindowItem as
|
|
32
|
-
import { VTimelineItem as
|
|
27
|
+
import { VLayout as Ae } from "vuetify/lib/components/VLayout/index.mjs";
|
|
28
|
+
import { VMain as Ie } from "vuetify/lib/components/VMain/index.mjs";
|
|
29
|
+
import { VDataTableVirtual as co } from "vuetify/lib/components/VDataTable/index.mjs";
|
|
30
|
+
import { VSkeletonLoader as Ze } from "vuetify/lib/components/VSkeletonLoader/index.mjs";
|
|
31
|
+
import { VWindow as st, VWindowItem as de } from "vuetify/lib/components/VWindow/index.mjs";
|
|
32
|
+
import { VTimelineItem as Ye, VTimeline as uo } from "vuetify/lib/components/VTimeline/index.mjs";
|
|
33
33
|
import { VTooltip as Q } from "vuetify/lib/components/VTooltip/index.mjs";
|
|
34
|
-
import { VResponsive as
|
|
35
|
-
import { VNavigationDrawer as
|
|
36
|
-
import { Ripple as
|
|
37
|
-
import { VColorPicker as
|
|
38
|
-
import { VMenu as
|
|
39
|
-
import { VAppBar as
|
|
40
|
-
import { VFooter as
|
|
41
|
-
const
|
|
34
|
+
import { VResponsive as po } from "vuetify/lib/components/VResponsive/index.mjs";
|
|
35
|
+
import { VNavigationDrawer as mo } from "vuetify/lib/components/VNavigationDrawer/index.mjs";
|
|
36
|
+
import { Ripple as fo } from "vuetify/lib/directives/index.mjs";
|
|
37
|
+
import { VColorPicker as vo } from "vuetify/lib/components/VColorPicker/index.mjs";
|
|
38
|
+
import { VMenu as _o } from "vuetify/components";
|
|
39
|
+
import { VAppBar as ho } from "vuetify/lib/components/VAppBar/index.mjs";
|
|
40
|
+
import { VFooter as go } from "vuetify/lib/components/VFooter/index.mjs";
|
|
41
|
+
const ge = J("http", {
|
|
42
42
|
state: () => ({
|
|
43
43
|
url: ""
|
|
44
44
|
}),
|
|
@@ -109,7 +109,7 @@ const he = J("http", {
|
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
}, O = J("user", () => {
|
|
112
|
-
const p =
|
|
112
|
+
const p = dt(Oe({}, ke));
|
|
113
113
|
N(p, i);
|
|
114
114
|
function e() {
|
|
115
115
|
if (!Fe)
|
|
@@ -125,111 +125,111 @@ const he = J("http", {
|
|
|
125
125
|
Fe && (Object.assign(p, Oe({}, ke)), i());
|
|
126
126
|
}
|
|
127
127
|
return e(), {
|
|
128
|
-
...
|
|
128
|
+
...pt(p),
|
|
129
129
|
load: e,
|
|
130
130
|
save: i,
|
|
131
131
|
reset: n
|
|
132
132
|
};
|
|
133
133
|
}), F = J("auth", () => {
|
|
134
|
-
const p =
|
|
135
|
-
var
|
|
136
|
-
return !i.url || ((
|
|
134
|
+
const p = H(!1), e = H(null), i = ge(), n = O(), l = Pe(), s = D(!1), r = w(() => {
|
|
135
|
+
var _, y;
|
|
136
|
+
return !i.url || ((_ = e.value) == null ? void 0 : _.isAdmin) || !!((y = e.value) != null && y.sponsorships.some(($) => $.isActive));
|
|
137
137
|
});
|
|
138
|
-
let
|
|
139
|
-
N(e, (
|
|
140
|
-
if (!(
|
|
138
|
+
let c = !!S();
|
|
139
|
+
N(e, (_) => {
|
|
140
|
+
if (!(_ != null && _.settings))
|
|
141
141
|
return;
|
|
142
|
-
const
|
|
143
|
-
JSON.stringify(
|
|
142
|
+
const y = localStorage.getItem("vuetify@user") || "{}";
|
|
143
|
+
JSON.stringify(_.settings, null, 2) !== y && (c = !0, Object.assign(n, _.settings));
|
|
144
144
|
}), n.$subscribe(() => {
|
|
145
|
-
|
|
145
|
+
c || f(), c = !1;
|
|
146
146
|
});
|
|
147
|
-
async function
|
|
147
|
+
async function f() {
|
|
148
148
|
if (!(!e.value || !n.syncSettings))
|
|
149
149
|
try {
|
|
150
150
|
await i.post("/user/settings", { settings: n.$state });
|
|
151
|
-
} catch (
|
|
152
|
-
console.error(
|
|
151
|
+
} catch (_) {
|
|
152
|
+
console.error(_);
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
|
-
async function
|
|
156
|
-
if (
|
|
157
|
-
return
|
|
158
|
-
|
|
155
|
+
async function u(_ = !1) {
|
|
156
|
+
if (u.promise)
|
|
157
|
+
return u.promise;
|
|
158
|
+
s.value = !0, u.promise = fetch(`${i.url}/auth/verify`, {
|
|
159
159
|
credentials: "include",
|
|
160
|
-
headers:
|
|
160
|
+
headers: _ ? {
|
|
161
161
|
"Cache-Control": "no-cache"
|
|
162
162
|
} : void 0
|
|
163
163
|
}).then(
|
|
164
|
-
async (
|
|
165
|
-
|
|
164
|
+
async (y) => {
|
|
165
|
+
y.ok ? e.value = (await y.json()).user : y.status === 401 ? e.value = null : console.error(y.statusText);
|
|
166
166
|
},
|
|
167
167
|
() => {
|
|
168
168
|
}
|
|
169
169
|
).finally(() => {
|
|
170
|
-
|
|
170
|
+
s.value = !1, u.promise = null;
|
|
171
171
|
});
|
|
172
172
|
}
|
|
173
|
-
|
|
174
|
-
async function
|
|
175
|
-
|
|
176
|
-
const
|
|
173
|
+
u.promise = null;
|
|
174
|
+
async function m(_ = "github") {
|
|
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, q = window.open(
|
|
177
177
|
"",
|
|
178
178
|
"vuetify:authorize:popup",
|
|
179
|
-
`popup,left=${
|
|
179
|
+
`popup,left=${T},top=${te},width=${$},height=${z},resizable`
|
|
180
180
|
);
|
|
181
|
-
if (!
|
|
181
|
+
if (!q) {
|
|
182
182
|
console.error("Failed to open popup");
|
|
183
183
|
return;
|
|
184
184
|
}
|
|
185
|
-
|
|
186
|
-
let
|
|
187
|
-
function
|
|
188
|
-
var
|
|
189
|
-
|
|
185
|
+
q.location.href = y;
|
|
186
|
+
let Ve = -1, ce = -1;
|
|
187
|
+
function ue(g) {
|
|
188
|
+
var C;
|
|
189
|
+
g.origin === i.url && ((C = g.data) == null ? void 0 : C.type) === "auth-response" && (g.data.status === "success" ? (e.value || localStorage.setItem("vuetify@lastLoginProvider", _), e.value = g.data.body.user, l.push("/user/dashboard/"), f()) : console.error(g.data.message), ie());
|
|
190
190
|
}
|
|
191
191
|
function ie() {
|
|
192
|
-
window.removeEventListener("message",
|
|
192
|
+
window.removeEventListener("message", ue), window.clearInterval(Ve), window.clearTimeout(ce), q == null || q.close(), s.value = !1;
|
|
193
193
|
}
|
|
194
|
-
window.addEventListener("message",
|
|
195
|
-
!
|
|
196
|
-
}, 1e3),
|
|
194
|
+
window.addEventListener("message", ue), Ve = window.setInterval(() => {
|
|
195
|
+
!q || q.closed ? (console.error("Auth popup closed"), ie()) : q.postMessage({ type: "auth-request" }, "*");
|
|
196
|
+
}, 1e3), ce = window.setTimeout(() => {
|
|
197
197
|
ie(), console.error("Auth timed out");
|
|
198
198
|
}, 120 * 1e3);
|
|
199
199
|
}
|
|
200
|
-
async function
|
|
201
|
-
|
|
202
|
-
const
|
|
200
|
+
async function b(_) {
|
|
201
|
+
s.value = !0;
|
|
202
|
+
const y = _ ? `/auth/${_}/logout` : "/auth/logout";
|
|
203
203
|
try {
|
|
204
|
-
await i.post(
|
|
205
|
-
} catch (
|
|
206
|
-
console.error(
|
|
204
|
+
await i.post(y), await u(!0), e.value = null;
|
|
205
|
+
} catch ($) {
|
|
206
|
+
console.error($);
|
|
207
207
|
} finally {
|
|
208
|
-
l.value = !1;
|
|
208
|
+
l.push("/"), s.value = !1;
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
|
-
function
|
|
212
|
-
var
|
|
213
|
-
return (
|
|
211
|
+
function V(_) {
|
|
212
|
+
var y;
|
|
213
|
+
return (y = e.value) == null ? void 0 : y.identities.find(($) => $.provider === _);
|
|
214
214
|
}
|
|
215
|
-
function
|
|
215
|
+
function S() {
|
|
216
216
|
return localStorage.getItem("vuetify@lastLoginProvider");
|
|
217
217
|
}
|
|
218
|
-
return
|
|
218
|
+
return u(), {
|
|
219
219
|
user: e,
|
|
220
220
|
url: i.url,
|
|
221
221
|
dialog: p,
|
|
222
|
-
isLoading:
|
|
223
|
-
findIdentity:
|
|
224
|
-
verify:
|
|
225
|
-
login:
|
|
226
|
-
logout:
|
|
227
|
-
isSubscriber:
|
|
228
|
-
lastLoginProvider:
|
|
229
|
-
sync:
|
|
222
|
+
isLoading: s,
|
|
223
|
+
findIdentity: V,
|
|
224
|
+
verify: u,
|
|
225
|
+
login: m,
|
|
226
|
+
logout: b,
|
|
227
|
+
isSubscriber: r,
|
|
228
|
+
lastLoginProvider: S,
|
|
229
|
+
sync: f
|
|
230
230
|
};
|
|
231
231
|
}), De = J("notifications", () => {
|
|
232
|
-
const p =
|
|
232
|
+
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
233
|
async function r() {
|
|
234
234
|
try {
|
|
235
235
|
n.value = !0;
|
|
@@ -248,11 +248,11 @@ const he = J("http", {
|
|
|
248
248
|
read: s,
|
|
249
249
|
unread: l
|
|
250
250
|
};
|
|
251
|
-
}),
|
|
251
|
+
}), bo = /* @__PURE__ */ k({
|
|
252
252
|
__name: "VoNotificationsTotalBadge",
|
|
253
253
|
setup(p) {
|
|
254
254
|
const e = F(), i = De(), n = O(), l = w(() => n.notifications.show ? i.unread.length : 0);
|
|
255
|
-
return (s, r) => (d(), v(
|
|
255
|
+
return (s, r) => (d(), v(He, {
|
|
256
256
|
content: l.value,
|
|
257
257
|
dot: !!t(e).user,
|
|
258
258
|
"model-value": l.value > 0,
|
|
@@ -260,7 +260,7 @@ const he = J("http", {
|
|
|
260
260
|
location: "start top"
|
|
261
261
|
}, {
|
|
262
262
|
default: a(() => [
|
|
263
|
-
|
|
263
|
+
R(s.$slots, "default")
|
|
264
264
|
]),
|
|
265
265
|
_: 3
|
|
266
266
|
}, 8, ["content", "dot", "model-value"]));
|
|
@@ -272,8 +272,8 @@ const he = J("http", {
|
|
|
272
272
|
},
|
|
273
273
|
setup(p) {
|
|
274
274
|
const e = p;
|
|
275
|
-
return (i, n) => (d(), v(
|
|
276
|
-
style:
|
|
275
|
+
return (i, n) => (d(), v(G, {
|
|
276
|
+
style: Qe({
|
|
277
277
|
pointerEvents: e.readonly ? "none" : void 0
|
|
278
278
|
}),
|
|
279
279
|
tabindex: e.readonly ? -1 : void 0,
|
|
@@ -281,80 +281,80 @@ const he = J("http", {
|
|
|
281
281
|
color: "primary",
|
|
282
282
|
size: "small",
|
|
283
283
|
variant: "flat"
|
|
284
|
-
},
|
|
284
|
+
}, W({
|
|
285
285
|
loader: a(() => [
|
|
286
|
-
i.$slots.loader ?
|
|
286
|
+
i.$slots.loader ? x("", !0) : (d(), v(yt, {
|
|
287
287
|
key: 0,
|
|
288
288
|
indeterminate: "disable-shrink",
|
|
289
289
|
size: "16",
|
|
290
290
|
width: "2"
|
|
291
291
|
})),
|
|
292
|
-
|
|
292
|
+
R(i.$slots, "loader")
|
|
293
293
|
]),
|
|
294
294
|
_: 2
|
|
295
295
|
}, [
|
|
296
296
|
i.$slots.default ? {
|
|
297
297
|
name: "default",
|
|
298
298
|
fn: a(() => [
|
|
299
|
-
|
|
299
|
+
R(i.$slots, "default")
|
|
300
300
|
]),
|
|
301
301
|
key: "0"
|
|
302
302
|
} : void 0
|
|
303
303
|
]), 1032, ["style", "tabindex"]));
|
|
304
304
|
}
|
|
305
|
-
}),
|
|
305
|
+
}), yo = { class: "text-body-2" }, Vo = /* @__PURE__ */ h("div", { class: "text-caption mt-n1" }, "Last Used", -1), at = /* @__PURE__ */ k({
|
|
306
306
|
__name: "VoAuthDiscord",
|
|
307
307
|
setup(p) {
|
|
308
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(
|
|
310
|
-
"prepend-icon": `svg:${t(
|
|
309
|
+
return (l, s) => (d(), v(_e, {
|
|
310
|
+
"prepend-icon": `svg:${t(Ee)}`,
|
|
311
311
|
"base-color": "#5865F2",
|
|
312
312
|
rounded: "pill",
|
|
313
313
|
variant: "flat",
|
|
314
314
|
slim: "",
|
|
315
315
|
onClick: s[0] || (s[0] = (r) => t(e).login("discord"))
|
|
316
|
-
},
|
|
316
|
+
}, W({
|
|
317
317
|
title: a(() => [
|
|
318
|
-
h("span",
|
|
318
|
+
h("span", yo, A(n.value), 1)
|
|
319
319
|
]),
|
|
320
320
|
_: 2
|
|
321
321
|
}, [
|
|
322
322
|
!t(e).user && t(e).lastLoginProvider() === "discord" ? {
|
|
323
323
|
name: "subtitle",
|
|
324
324
|
fn: a(() => [
|
|
325
|
-
|
|
325
|
+
Vo
|
|
326
326
|
]),
|
|
327
327
|
key: "0"
|
|
328
328
|
} : void 0
|
|
329
329
|
]), 1032, ["prepend-icon"]));
|
|
330
330
|
}
|
|
331
|
-
}),
|
|
331
|
+
}), ko = { class: "text-body-2" }, xo = /* @__PURE__ */ h("div", { class: "text-caption mt-n1" }, "Last Used", -1), it = /* @__PURE__ */ k({
|
|
332
332
|
__name: "VoAuthGithub",
|
|
333
333
|
setup(p) {
|
|
334
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(
|
|
336
|
-
"prepend-icon": `svg:${t(
|
|
335
|
+
return (l, s) => (d(), v(_e, {
|
|
336
|
+
"prepend-icon": `svg:${t(We)}`,
|
|
337
337
|
"base-color": "#2a2a2a",
|
|
338
338
|
rounded: "pill",
|
|
339
339
|
variant: "flat",
|
|
340
340
|
slim: "",
|
|
341
341
|
onClick: s[0] || (s[0] = (r) => t(e).login("github"))
|
|
342
|
-
},
|
|
342
|
+
}, W({
|
|
343
343
|
title: a(() => [
|
|
344
|
-
h("span",
|
|
344
|
+
h("span", ko, A(n.value), 1)
|
|
345
345
|
]),
|
|
346
346
|
_: 2
|
|
347
347
|
}, [
|
|
348
348
|
!t(e).user && t(e).lastLoginProvider() === "github" ? {
|
|
349
349
|
name: "subtitle",
|
|
350
350
|
fn: a(() => [
|
|
351
|
-
|
|
351
|
+
xo
|
|
352
352
|
]),
|
|
353
353
|
key: "0"
|
|
354
354
|
} : void 0
|
|
355
355
|
]), 1032, ["prepend-icon"]));
|
|
356
356
|
}
|
|
357
|
-
}),
|
|
357
|
+
}), $o = { class: "pa-4 d-flex flex-column ga-4" }, lt = /* @__PURE__ */ k({
|
|
358
358
|
__name: "VoAuthListItem",
|
|
359
359
|
setup(p) {
|
|
360
360
|
const e = F(), i = O(), n = D(!e.user && !e.isLoading);
|
|
@@ -366,17 +366,17 @@ const he = J("http", {
|
|
|
366
366
|
}
|
|
367
367
|
return (s, r) => {
|
|
368
368
|
const c = it, f = at;
|
|
369
|
-
return d(), v(
|
|
369
|
+
return d(), v(M, {
|
|
370
370
|
variant: n.value ? "tonal" : "text",
|
|
371
371
|
class: "ma-2",
|
|
372
372
|
rounded: "lg"
|
|
373
373
|
}, {
|
|
374
374
|
default: a(() => [
|
|
375
|
-
o(
|
|
375
|
+
o(ee, { class: "py-0" }, {
|
|
376
376
|
default: a(() => [
|
|
377
|
-
o(
|
|
377
|
+
o(_e, {
|
|
378
378
|
link: !!t(e).user,
|
|
379
|
-
"prepend-icon": `svg:${t(e).user && t(i).syncSettings ? t(
|
|
379
|
+
"prepend-icon": `svg:${t(e).user && t(i).syncSettings ? t(Vt) : t(kt)}`,
|
|
380
380
|
title: t(e).user && t(i).syncSettings ? "Sync is on" : "Sync is paused",
|
|
381
381
|
class: "mb-0",
|
|
382
382
|
rounded: "b-0",
|
|
@@ -387,7 +387,7 @@ const he = J("http", {
|
|
|
387
387
|
append: a(() => [
|
|
388
388
|
o($e, null, {
|
|
389
389
|
default: a(() => [
|
|
390
|
-
t(e).user && (n.value || !t(i).syncSettings) ? (d(), v(
|
|
390
|
+
t(e).user && (n.value || !t(i).syncSettings) ? (d(), v(tt, {
|
|
391
391
|
key: 0,
|
|
392
392
|
modelValue: t(i).syncSettings,
|
|
393
393
|
"onUpdate:modelValue": r[0] || (r[0] = (u) => t(i).syncSettings = u),
|
|
@@ -404,22 +404,22 @@ const he = J("http", {
|
|
|
404
404
|
}, null, 8, ["color"])
|
|
405
405
|
]),
|
|
406
406
|
_: 1
|
|
407
|
-
}, 8, ["modelValue", "color"])) :
|
|
407
|
+
}, 8, ["modelValue", "color"])) : x("", !0)
|
|
408
408
|
]),
|
|
409
409
|
_: 1
|
|
410
410
|
})
|
|
411
411
|
]),
|
|
412
412
|
_: 1
|
|
413
413
|
}, 8, ["link", "prepend-icon", "title"]),
|
|
414
|
-
o(
|
|
414
|
+
o(he, null, {
|
|
415
415
|
default: a(() => [
|
|
416
|
-
!t(e).user && !t(e).isLoading || n.value ? (d(), v(
|
|
416
|
+
!t(e).user && !t(e).isLoading || n.value ? (d(), v(qe, {
|
|
417
417
|
key: 0,
|
|
418
418
|
border: "t",
|
|
419
419
|
color: "transparent"
|
|
420
420
|
}, {
|
|
421
421
|
default: a(() => [
|
|
422
|
-
h("div",
|
|
422
|
+
h("div", $o, [
|
|
423
423
|
o(c, {
|
|
424
424
|
onClick: r[2] || (r[2] = (u) => n.value = !1)
|
|
425
425
|
}),
|
|
@@ -429,7 +429,7 @@ const he = J("http", {
|
|
|
429
429
|
])
|
|
430
430
|
]),
|
|
431
431
|
_: 1
|
|
432
|
-
})) :
|
|
432
|
+
})) : x("", !0)
|
|
433
433
|
]),
|
|
434
434
|
_: 1
|
|
435
435
|
})
|
|
@@ -444,36 +444,36 @@ const he = J("http", {
|
|
|
444
444
|
}), X = /* @__PURE__ */ k({
|
|
445
445
|
__name: "VoListItem",
|
|
446
446
|
setup(p) {
|
|
447
|
-
return (e, i) => (d(), v(
|
|
447
|
+
return (e, i) => (d(), v(_e, { slim: "" }, W({
|
|
448
448
|
default: a(() => [
|
|
449
|
-
|
|
449
|
+
R(e.$slots, "default")
|
|
450
450
|
]),
|
|
451
451
|
_: 2
|
|
452
452
|
}, [
|
|
453
453
|
e.$slots.prepend ? {
|
|
454
454
|
name: "prepend",
|
|
455
455
|
fn: a(() => [
|
|
456
|
-
|
|
456
|
+
R(e.$slots, "prepend")
|
|
457
457
|
]),
|
|
458
458
|
key: "0"
|
|
459
459
|
} : void 0,
|
|
460
460
|
e.$slots.title ? {
|
|
461
461
|
name: "title",
|
|
462
462
|
fn: a(() => [
|
|
463
|
-
|
|
463
|
+
R(e.$slots, "title")
|
|
464
464
|
]),
|
|
465
465
|
key: "1"
|
|
466
466
|
} : void 0,
|
|
467
467
|
e.$slots.append ? {
|
|
468
468
|
name: "append",
|
|
469
469
|
fn: a(() => [
|
|
470
|
-
|
|
470
|
+
R(e.$slots, "append")
|
|
471
471
|
]),
|
|
472
472
|
key: "2"
|
|
473
473
|
} : void 0
|
|
474
474
|
]), 1024));
|
|
475
475
|
}
|
|
476
|
-
}),
|
|
476
|
+
}), wo = /* @__PURE__ */ k({
|
|
477
477
|
__name: "VoAuthLogoutListItem",
|
|
478
478
|
setup(p) {
|
|
479
479
|
const e = F(), i = D(!1);
|
|
@@ -485,7 +485,7 @@ const he = J("http", {
|
|
|
485
485
|
return d(), v(r, {
|
|
486
486
|
disabled: i.value,
|
|
487
487
|
loading: i.value,
|
|
488
|
-
"prepend-icon": `svg:${t(
|
|
488
|
+
"prepend-icon": `svg:${t(xt)}`,
|
|
489
489
|
class: "mb-0",
|
|
490
490
|
title: "Logout",
|
|
491
491
|
link: "",
|
|
@@ -495,7 +495,7 @@ const he = J("http", {
|
|
|
495
495
|
}
|
|
496
496
|
}), Ue = /* @__PURE__ */ k({
|
|
497
497
|
__name: "VoDialog",
|
|
498
|
-
props: /* @__PURE__ */
|
|
498
|
+
props: /* @__PURE__ */ mt({
|
|
499
499
|
prependIcon: {},
|
|
500
500
|
title: {}
|
|
501
501
|
}, {
|
|
@@ -505,7 +505,7 @@ const he = J("http", {
|
|
|
505
505
|
emits: ["update:modelValue"],
|
|
506
506
|
setup(p) {
|
|
507
507
|
const e = le(p, "modelValue"), i = se();
|
|
508
|
-
return (n, l) => (d(), v(
|
|
508
|
+
return (n, l) => (d(), v(ot, {
|
|
509
509
|
modelValue: e.value,
|
|
510
510
|
"onUpdate:modelValue": l[1] || (l[1] = (s) => e.value = s),
|
|
511
511
|
fullscreen: t(i).xs.value,
|
|
@@ -515,15 +515,15 @@ const he = J("http", {
|
|
|
515
515
|
height: "100%"
|
|
516
516
|
}, {
|
|
517
517
|
default: a(({ isActive: s }) => [
|
|
518
|
-
o(
|
|
518
|
+
o(M, {
|
|
519
519
|
"prepend-icon": n.prependIcon,
|
|
520
520
|
title: n.title,
|
|
521
521
|
class: "overflow-hidden",
|
|
522
522
|
height: "inherit"
|
|
523
|
-
},
|
|
523
|
+
}, W({
|
|
524
524
|
append: a(() => [
|
|
525
|
-
|
|
526
|
-
o(
|
|
525
|
+
R(n.$slots, "append"),
|
|
526
|
+
o(G, {
|
|
527
527
|
density: "comfortable",
|
|
528
528
|
icon: "$close",
|
|
529
529
|
size: "small",
|
|
@@ -532,22 +532,22 @@ const he = J("http", {
|
|
|
532
532
|
})
|
|
533
533
|
]),
|
|
534
534
|
default: a(() => [
|
|
535
|
-
o(
|
|
536
|
-
|
|
535
|
+
o(E, { class: "mt-4" }),
|
|
536
|
+
R(n.$slots, "default")
|
|
537
537
|
]),
|
|
538
538
|
_: 2
|
|
539
539
|
}, [
|
|
540
540
|
n.$slots.prepend ? {
|
|
541
541
|
name: "prepend",
|
|
542
542
|
fn: a(() => [
|
|
543
|
-
|
|
543
|
+
R(n.$slots, "prepend")
|
|
544
544
|
]),
|
|
545
545
|
key: "0"
|
|
546
546
|
} : void 0,
|
|
547
547
|
n.$slots.actions ? {
|
|
548
548
|
name: "actions",
|
|
549
549
|
fn: a(() => [
|
|
550
|
-
|
|
550
|
+
R(n.$slots, "actions", { isActive: s })
|
|
551
551
|
]),
|
|
552
552
|
key: "1"
|
|
553
553
|
} : void 0
|
|
@@ -562,15 +562,15 @@ const he = J("http", {
|
|
|
562
562
|
disabled: { type: Boolean }
|
|
563
563
|
},
|
|
564
564
|
setup(p) {
|
|
565
|
-
return (e, i) => (d(), v(
|
|
565
|
+
return (e, i) => (d(), v(tt, {
|
|
566
566
|
disabled: e.disabled,
|
|
567
567
|
"true-icon": `svg:${t(re)}`,
|
|
568
568
|
color: "primary",
|
|
569
569
|
density: "compact",
|
|
570
570
|
inset: ""
|
|
571
|
-
},
|
|
571
|
+
}, W({
|
|
572
572
|
thumb: a(() => [
|
|
573
|
-
o(
|
|
573
|
+
o(I, {
|
|
574
574
|
color: e.disabled ? void 0 : "primary"
|
|
575
575
|
}, null, 8, ["color"])
|
|
576
576
|
]),
|
|
@@ -579,36 +579,36 @@ const he = J("http", {
|
|
|
579
579
|
e.$slots.label ? {
|
|
580
580
|
name: "label",
|
|
581
581
|
fn: a(() => [
|
|
582
|
-
|
|
582
|
+
R(e.$slots, "label")
|
|
583
583
|
]),
|
|
584
584
|
key: "0"
|
|
585
585
|
} : void 0
|
|
586
586
|
]), 1032, ["disabled", "true-icon"]));
|
|
587
587
|
}
|
|
588
|
-
}),
|
|
588
|
+
}), So = {
|
|
589
589
|
key: 1,
|
|
590
590
|
class: "mb-3 text-caption text-medium-emphasis"
|
|
591
|
-
},
|
|
591
|
+
}, be = /* @__PURE__ */ k({
|
|
592
592
|
__name: "VoDialogSubheader",
|
|
593
593
|
props: {
|
|
594
594
|
title: {},
|
|
595
595
|
text: {}
|
|
596
596
|
},
|
|
597
597
|
setup(p) {
|
|
598
|
-
return (e, i) => (d(),
|
|
598
|
+
return (e, i) => (d(), L(U, null, [
|
|
599
599
|
e.title ? (d(), v(ze, {
|
|
600
600
|
key: 0,
|
|
601
601
|
class: "font-weight-black"
|
|
602
602
|
}, {
|
|
603
603
|
default: a(() => [
|
|
604
|
-
B(
|
|
604
|
+
B(A(e.title), 1)
|
|
605
605
|
]),
|
|
606
606
|
_: 1
|
|
607
|
-
})) :
|
|
608
|
-
e.text ? (d(),
|
|
607
|
+
})) : x("", !0),
|
|
608
|
+
e.text ? (d(), L("div", So, A(e.text), 1)) : x("", !0)
|
|
609
609
|
], 64));
|
|
610
610
|
}
|
|
611
|
-
}),
|
|
611
|
+
}), Co = { key: 0 }, Lo = /* @__PURE__ */ k({
|
|
612
612
|
__name: "VoSettingsPageSuitOption",
|
|
613
613
|
setup(p) {
|
|
614
614
|
const e = O(), i = [
|
|
@@ -619,7 +619,7 @@ const he = J("http", {
|
|
|
619
619
|
},
|
|
620
620
|
{
|
|
621
621
|
title: "Blackguard",
|
|
622
|
-
prependIcon: `svg:${
|
|
622
|
+
prependIcon: `svg:${Je}`,
|
|
623
623
|
value: "blackguard"
|
|
624
624
|
}
|
|
625
625
|
// {
|
|
@@ -634,8 +634,8 @@ const he = J("http", {
|
|
|
634
634
|
// },
|
|
635
635
|
];
|
|
636
636
|
return (n, l) => {
|
|
637
|
-
const s = rt, r =
|
|
638
|
-
return d(),
|
|
637
|
+
const s = rt, r = be;
|
|
638
|
+
return d(), L(U, null, [
|
|
639
639
|
o(s, {
|
|
640
640
|
modelValue: t(e).suits.show,
|
|
641
641
|
"onUpdate:modelValue": l[0] || (l[0] = (c) => t(e).suits.show = c),
|
|
@@ -643,10 +643,10 @@ const he = J("http", {
|
|
|
643
643
|
label: "Enable Page suits",
|
|
644
644
|
messages: "Customize layout elements with a unique background, styled after one of our themed releases."
|
|
645
645
|
}, null, 8, ["modelValue"]),
|
|
646
|
-
o(
|
|
646
|
+
o(he, null, {
|
|
647
647
|
default: a(() => [
|
|
648
|
-
t(e).suits.show ? (d(),
|
|
649
|
-
o(
|
|
648
|
+
t(e).suits.show ? (d(), L("div", Co, [
|
|
649
|
+
o(ro, {
|
|
650
650
|
modelValue: t(e).suits.suit,
|
|
651
651
|
"onUpdate:modelValue": l[1] || (l[1] = (c) => t(e).suits.suit = c),
|
|
652
652
|
items: i,
|
|
@@ -659,17 +659,17 @@ const he = J("http", {
|
|
|
659
659
|
"single-line": ""
|
|
660
660
|
}, {
|
|
661
661
|
selection: a(({ item: c }) => [
|
|
662
|
-
o(
|
|
662
|
+
o(I, {
|
|
663
663
|
icon: c.props.prependIcon,
|
|
664
664
|
size: "x-small",
|
|
665
665
|
start: ""
|
|
666
666
|
}, null, 8, ["icon"]),
|
|
667
|
-
B(" " +
|
|
667
|
+
B(" " + A(c.title), 1)
|
|
668
668
|
]),
|
|
669
669
|
_: 1
|
|
670
670
|
}, 8, ["modelValue"]),
|
|
671
671
|
o(r, { text: "Select your suit elements to display the background image:" }),
|
|
672
|
-
o(
|
|
672
|
+
o(lo, {
|
|
673
673
|
modelValue: t(e).suits.elements,
|
|
674
674
|
"onUpdate:modelValue": l[2] || (l[2] = (c) => t(e).suits.elements = c),
|
|
675
675
|
color: "primary",
|
|
@@ -678,34 +678,34 @@ const he = J("http", {
|
|
|
678
678
|
}, {
|
|
679
679
|
default: a(() => [
|
|
680
680
|
o(Y, {
|
|
681
|
-
"append-icon": `svg:${t(
|
|
681
|
+
"append-icon": `svg:${t($t)}`,
|
|
682
682
|
"filter-icon": "$success",
|
|
683
683
|
text: "App Bar",
|
|
684
684
|
value: "app-bar",
|
|
685
685
|
variant: "flat"
|
|
686
686
|
}, {
|
|
687
687
|
append: a(() => [
|
|
688
|
-
o(
|
|
688
|
+
o(E, {
|
|
689
689
|
class: "ms-2 border-opacity-50",
|
|
690
690
|
vertical: ""
|
|
691
691
|
}),
|
|
692
|
-
o(
|
|
692
|
+
o(I, { size: "x-small" })
|
|
693
693
|
]),
|
|
694
694
|
_: 1
|
|
695
695
|
}, 8, ["append-icon"]),
|
|
696
696
|
o(Y, {
|
|
697
|
-
"append-icon": `svg:${t(
|
|
697
|
+
"append-icon": `svg:${t(wt)}`,
|
|
698
698
|
"filter-icon": "$success",
|
|
699
699
|
text: "Navigation Drawer",
|
|
700
700
|
value: "drawer",
|
|
701
701
|
variant: "flat"
|
|
702
702
|
}, {
|
|
703
703
|
append: a(() => [
|
|
704
|
-
o(
|
|
704
|
+
o(E, {
|
|
705
705
|
class: "ms-2 border-opacity-50",
|
|
706
706
|
vertical: ""
|
|
707
707
|
}),
|
|
708
|
-
o(
|
|
708
|
+
o(I, { size: "x-small" })
|
|
709
709
|
]),
|
|
710
710
|
_: 1
|
|
711
711
|
}, 8, ["append-icon"]),
|
|
@@ -717,18 +717,18 @@ const he = J("http", {
|
|
|
717
717
|
variant: "flat"
|
|
718
718
|
}, {
|
|
719
719
|
append: a(() => [
|
|
720
|
-
o(
|
|
720
|
+
o(E, {
|
|
721
721
|
class: "ms-2 border-opacity-50",
|
|
722
722
|
vertical: ""
|
|
723
723
|
}),
|
|
724
|
-
o(
|
|
724
|
+
o(I, { size: "x-small" })
|
|
725
725
|
]),
|
|
726
726
|
_: 1
|
|
727
727
|
})
|
|
728
728
|
]),
|
|
729
729
|
_: 1
|
|
730
730
|
}, 8, ["modelValue"])
|
|
731
|
-
])) :
|
|
731
|
+
])) : x("", !0)
|
|
732
732
|
]),
|
|
733
733
|
_: 1
|
|
734
734
|
})
|
|
@@ -736,64 +736,64 @@ const he = J("http", {
|
|
|
736
736
|
};
|
|
737
737
|
}
|
|
738
738
|
});
|
|
739
|
-
function
|
|
740
|
-
const p =
|
|
739
|
+
function ye() {
|
|
740
|
+
const p = bt();
|
|
741
741
|
return w(
|
|
742
742
|
() => p.query
|
|
743
743
|
);
|
|
744
744
|
}
|
|
745
745
|
const j = J("one", () => {
|
|
746
|
-
const p =
|
|
746
|
+
const p = ye(), e = p.value.session_id, i = Pe(), n = F(), l = ge(), s = D(!1), r = H(!1), c = H(), f = H([]), u = w(() => {
|
|
747
747
|
var g;
|
|
748
748
|
return (g = c.value) == null ? void 0 : g.items[0].plan.interval;
|
|
749
749
|
}), m = w(() => {
|
|
750
750
|
var g;
|
|
751
|
-
return (g = n.user) == null ? void 0 : g.sponsorships.find((
|
|
751
|
+
return (g = n.user) == null ? void 0 : g.sponsorships.find((C) => C.platform === "stripe" && C.tierName.startsWith("sub_"));
|
|
752
752
|
}), b = w(() => {
|
|
753
753
|
var g;
|
|
754
754
|
return !!((g = m.value) != null && g.tierName);
|
|
755
755
|
}), V = w(() => {
|
|
756
756
|
var g;
|
|
757
757
|
return (g = m.value) == null ? void 0 : g.isActive;
|
|
758
|
-
}),
|
|
758
|
+
}), S = w(() => {
|
|
759
759
|
var g;
|
|
760
|
-
return (g = n.user) == null ? void 0 : g.sponsorships.find((
|
|
760
|
+
return (g = n.user) == null ? void 0 : g.sponsorships.find((C) => C.platform === "github");
|
|
761
761
|
}), _ = w(() => {
|
|
762
762
|
var g;
|
|
763
|
-
return (g = n.user) == null ? void 0 : g.sponsorships.find((
|
|
764
|
-
}),
|
|
763
|
+
return (g = n.user) == null ? void 0 : g.sponsorships.find((C) => C.platform === "discord");
|
|
764
|
+
}), y = w(() => {
|
|
765
765
|
var g;
|
|
766
|
-
return (g = n.user) == null ? void 0 : g.sponsorships.find((
|
|
767
|
-
}),
|
|
766
|
+
return (g = n.user) == null ? void 0 : g.sponsorships.find((C) => C.platform === "patreon");
|
|
767
|
+
}), $ = w(() => {
|
|
768
768
|
var g;
|
|
769
|
-
return (g = n.user) == null ? void 0 : g.sponsorships.reduce((
|
|
769
|
+
return (g = n.user) == null ? void 0 : g.sponsorships.reduce((C, Z) => {
|
|
770
770
|
if (!Z.isActive || Z.interval === "once" || Z.platform === "stripe")
|
|
771
|
-
return
|
|
772
|
-
const
|
|
773
|
-
return
|
|
771
|
+
return C;
|
|
772
|
+
const ut = Z.interval === "month" ? Z.amount : Z.amount / 12;
|
|
773
|
+
return C + ut / 100;
|
|
774
774
|
}, 0);
|
|
775
775
|
});
|
|
776
|
-
|
|
776
|
+
ft(async () => {
|
|
777
777
|
e && await z();
|
|
778
778
|
}), N(r, (g) => {
|
|
779
|
-
g &&
|
|
779
|
+
g && ie();
|
|
780
780
|
}), N(p, (g) => {
|
|
781
781
|
if (g.one !== "subscribe" || n.user)
|
|
782
782
|
return;
|
|
783
783
|
console.log(g.one), n.dialog = !0;
|
|
784
|
-
const
|
|
785
|
-
Z && (n.dialog = !1,
|
|
784
|
+
const C = N(() => n.user, (Z) => {
|
|
785
|
+
Z && (n.dialog = !1, C());
|
|
786
786
|
});
|
|
787
|
-
}, { immediate: !0 }), N(V, (g,
|
|
788
|
-
g === !1 &&
|
|
787
|
+
}, { immediate: !0 }), N(V, (g, C) => {
|
|
788
|
+
g === !1 && C !== !0 || ce();
|
|
789
789
|
});
|
|
790
790
|
async function z() {
|
|
791
791
|
try {
|
|
792
792
|
s.value = !0;
|
|
793
793
|
const g = await l.post("/one/activate", { sessionId: e });
|
|
794
794
|
n.user = g.user;
|
|
795
|
-
const
|
|
796
|
-
|
|
795
|
+
const C = new URL(window.location.href);
|
|
796
|
+
C.searchParams.delete("session_id"), history.pushState(null, "", C.toString()), ue();
|
|
797
797
|
} catch {
|
|
798
798
|
} finally {
|
|
799
799
|
s.value = !1;
|
|
@@ -802,18 +802,18 @@ const j = J("one", () => {
|
|
|
802
802
|
async function T() {
|
|
803
803
|
window.open(`${l.url}/one/manage`, "_blank");
|
|
804
804
|
}
|
|
805
|
-
async function
|
|
805
|
+
async function te(g) {
|
|
806
806
|
s.value = !0, window.location.href = `${l.url}/one/subscribe?interval=${g}`;
|
|
807
807
|
}
|
|
808
|
-
async function
|
|
808
|
+
async function q() {
|
|
809
809
|
var g;
|
|
810
810
|
if (m.value)
|
|
811
811
|
try {
|
|
812
812
|
s.value = !0;
|
|
813
|
-
const
|
|
813
|
+
const C = await l.post(
|
|
814
814
|
`/one/cancel?subscriptionId=${(g = m.value) == null ? void 0 : g.tierName}`
|
|
815
815
|
);
|
|
816
|
-
n.user =
|
|
816
|
+
n.user = C.user;
|
|
817
817
|
} catch {
|
|
818
818
|
} finally {
|
|
819
819
|
s.value = !1;
|
|
@@ -823,11 +823,11 @@ const j = J("one", () => {
|
|
|
823
823
|
if (m.value)
|
|
824
824
|
try {
|
|
825
825
|
s.value = !0;
|
|
826
|
-
const
|
|
826
|
+
const C = await l.post("/one/modify", {
|
|
827
827
|
subscriptionId: m.value.tierName,
|
|
828
828
|
interval: g
|
|
829
829
|
});
|
|
830
|
-
n.user =
|
|
830
|
+
n.user = C.user;
|
|
831
831
|
} catch {
|
|
832
832
|
} finally {
|
|
833
833
|
s.value = !1;
|
|
@@ -838,16 +838,16 @@ const j = J("one", () => {
|
|
|
838
838
|
if (m.value)
|
|
839
839
|
try {
|
|
840
840
|
s.value = !0;
|
|
841
|
-
const
|
|
841
|
+
const C = await l.post(
|
|
842
842
|
`/one/verify?subscriptionId=${(g = m.value) == null ? void 0 : g.tierName}`
|
|
843
843
|
);
|
|
844
|
-
n.user =
|
|
844
|
+
n.user = C.user;
|
|
845
845
|
} catch {
|
|
846
846
|
} finally {
|
|
847
847
|
s.value = !1;
|
|
848
848
|
}
|
|
849
849
|
}
|
|
850
|
-
async function
|
|
850
|
+
async function ue() {
|
|
851
851
|
try {
|
|
852
852
|
s.value = !0;
|
|
853
853
|
const g = await l.get("/one/info");
|
|
@@ -857,7 +857,7 @@ const j = J("one", () => {
|
|
|
857
857
|
s.value = !1;
|
|
858
858
|
}
|
|
859
859
|
}
|
|
860
|
-
function
|
|
860
|
+
function ie() {
|
|
861
861
|
i.push({ query: {} });
|
|
862
862
|
}
|
|
863
863
|
return {
|
|
@@ -866,25 +866,25 @@ const j = J("one", () => {
|
|
|
866
866
|
invoices: f,
|
|
867
867
|
sessionId: e,
|
|
868
868
|
subscription: m,
|
|
869
|
-
monthlyTotal:
|
|
869
|
+
monthlyTotal: $,
|
|
870
870
|
hasBilling: b,
|
|
871
871
|
isLoading: s,
|
|
872
872
|
isOpen: r,
|
|
873
873
|
isSubscriber: V,
|
|
874
|
-
github:
|
|
875
|
-
patreon:
|
|
874
|
+
github: S,
|
|
875
|
+
patreon: y,
|
|
876
876
|
discord: _,
|
|
877
877
|
activate: z,
|
|
878
|
-
cancel:
|
|
878
|
+
cancel: q,
|
|
879
879
|
manage: T,
|
|
880
880
|
modify: Ve,
|
|
881
|
-
resetQuery:
|
|
882
|
-
subscribe:
|
|
883
|
-
subscriptionInfo:
|
|
881
|
+
resetQuery: ie,
|
|
882
|
+
subscribe: te,
|
|
883
|
+
subscriptionInfo: ue,
|
|
884
884
|
verify: ce
|
|
885
885
|
};
|
|
886
886
|
});
|
|
887
|
-
function
|
|
887
|
+
function Ao() {
|
|
888
888
|
return {
|
|
889
889
|
blackguard: {
|
|
890
890
|
dark: !0,
|
|
@@ -1001,7 +1001,7 @@ function Lo() {
|
|
|
1001
1001
|
};
|
|
1002
1002
|
}
|
|
1003
1003
|
const Be = J("settings", () => {
|
|
1004
|
-
const p = "https://cdn.vuetifyjs.com/docs/images/one/", e = F(), i = O(), n =
|
|
1004
|
+
const p = "https://cdn.vuetifyjs.com/docs/images/one/", e = F(), i = O(), n = io(), l = Ao(), s = {
|
|
1005
1005
|
blackguard: {
|
|
1006
1006
|
"app-bar": p + "suits/blackguard/blackguard-app-bar.png",
|
|
1007
1007
|
drawer: p + "suits/blackguard/blackguard-app-drawer.png",
|
|
@@ -1047,35 +1047,35 @@ const Be = J("settings", () => {
|
|
|
1047
1047
|
title: "Light",
|
|
1048
1048
|
subtitle: "A standard light theme.",
|
|
1049
1049
|
image: l.CDN_URL + "themes/light.png",
|
|
1050
|
-
prependIcon: `svg:${
|
|
1050
|
+
prependIcon: `svg:${St}`,
|
|
1051
1051
|
value: "light"
|
|
1052
1052
|
},
|
|
1053
1053
|
{
|
|
1054
1054
|
title: "Dark",
|
|
1055
1055
|
subtitle: "A standard dark theme.",
|
|
1056
1056
|
image: l.CDN_URL + "themes/dark.png",
|
|
1057
|
-
prependIcon: `svg:${
|
|
1057
|
+
prependIcon: `svg:${Ct}`,
|
|
1058
1058
|
value: "dark"
|
|
1059
1059
|
},
|
|
1060
1060
|
{
|
|
1061
1061
|
title: "System",
|
|
1062
1062
|
subtitle: "A theme based on the system preference.",
|
|
1063
1063
|
image: l.CDN_URL + "themes/system.png",
|
|
1064
|
-
prependIcon: `svg:${
|
|
1064
|
+
prependIcon: `svg:${Lt}`,
|
|
1065
1065
|
value: "system"
|
|
1066
1066
|
},
|
|
1067
1067
|
{
|
|
1068
1068
|
title: "Blackguard",
|
|
1069
1069
|
subtitle: "A theme for v3.4 Blackguard.",
|
|
1070
1070
|
image: l.CDN_URL + "themes/blackguard.png",
|
|
1071
|
-
prependIcon: `svg:${
|
|
1071
|
+
prependIcon: `svg:${Je}`,
|
|
1072
1072
|
value: "blackguard"
|
|
1073
1073
|
},
|
|
1074
1074
|
{
|
|
1075
1075
|
title: "Polaris",
|
|
1076
1076
|
subtitle: "A theme for v3.5 Polaris.",
|
|
1077
1077
|
image: l.CDN_URL + "themes/polaris.png",
|
|
1078
|
-
prependIcon: `svg:${
|
|
1078
|
+
prependIcon: `svg:${At}`,
|
|
1079
1079
|
value: "polaris",
|
|
1080
1080
|
disabled: !0
|
|
1081
1081
|
},
|
|
@@ -1083,7 +1083,7 @@ const Be = J("settings", () => {
|
|
|
1083
1083
|
title: "Nebula",
|
|
1084
1084
|
subtitle: "A theme for v3.6 Nebula.",
|
|
1085
1085
|
image: l.CDN_URL + "themes/nebula.png",
|
|
1086
|
-
prependIcon: `svg:${
|
|
1086
|
+
prependIcon: `svg:${It}`,
|
|
1087
1087
|
value: "nebula",
|
|
1088
1088
|
disabled: !0
|
|
1089
1089
|
},
|
|
@@ -1091,27 +1091,27 @@ const Be = J("settings", () => {
|
|
|
1091
1091
|
title: "High Contrast",
|
|
1092
1092
|
subtitle: "A theme for high contrast.",
|
|
1093
1093
|
image: l.CDN_URL + "themes/high-contrast.png",
|
|
1094
|
-
prependIcon: `svg:${
|
|
1094
|
+
prependIcon: `svg:${Dt}`,
|
|
1095
1095
|
value: "highContrast",
|
|
1096
1096
|
disabled: !0
|
|
1097
1097
|
}
|
|
1098
|
-
], c =
|
|
1098
|
+
], c = ye();
|
|
1099
1099
|
return N(c, async () => {
|
|
1100
|
-
c.value.one === "settings" && (n.isOpen = !0, await
|
|
1100
|
+
c.value.one === "settings" && (n.isOpen = !0, await fe(), e.value = !0);
|
|
1101
1101
|
}, { immediate: !0 }), (f, u) => {
|
|
1102
|
-
const m =
|
|
1103
|
-
return d(), v(
|
|
1102
|
+
const m = be, b = Lo, V = rt, S = Ue;
|
|
1103
|
+
return d(), v(S, {
|
|
1104
1104
|
modelValue: e.value,
|
|
1105
1105
|
"onUpdate:modelValue": u[5] || (u[5] = (_) => e.value = _),
|
|
1106
|
-
"prepend-icon": `svg:${t(
|
|
1106
|
+
"prepend-icon": `svg:${t(Ut)}`,
|
|
1107
1107
|
title: "Settings"
|
|
1108
1108
|
}, {
|
|
1109
1109
|
default: a(() => [
|
|
1110
|
-
o(
|
|
1110
|
+
o(Ae, null, {
|
|
1111
1111
|
default: a(() => [
|
|
1112
|
-
o(
|
|
1112
|
+
o(Ie, { scrollable: "" }, {
|
|
1113
1113
|
default: a(() => [
|
|
1114
|
-
o(
|
|
1114
|
+
o(K, { class: "px-7" }, {
|
|
1115
1115
|
default: a(() => [
|
|
1116
1116
|
o(m, {
|
|
1117
1117
|
text: "Customize your documentation experience with light and dark themes, as well as a combination of both named.",
|
|
@@ -1125,8 +1125,8 @@ const Be = J("settings", () => {
|
|
|
1125
1125
|
default: a(() => [
|
|
1126
1126
|
o(Se, { dense: "" }, {
|
|
1127
1127
|
default: a(() => [
|
|
1128
|
-
(d(),
|
|
1129
|
-
key:
|
|
1128
|
+
(d(), L(U, null, oe(r, (_, y) => o(me, {
|
|
1129
|
+
key: y,
|
|
1130
1130
|
cols: "12",
|
|
1131
1131
|
md: "6"
|
|
1132
1132
|
}, {
|
|
@@ -1134,10 +1134,10 @@ const Be = J("settings", () => {
|
|
|
1134
1134
|
o(je, {
|
|
1135
1135
|
value: _.value
|
|
1136
1136
|
}, {
|
|
1137
|
-
default: a(({ toggle:
|
|
1137
|
+
default: a(({ toggle: $, isSelected: z }) => [
|
|
1138
1138
|
o(Ce, null, {
|
|
1139
|
-
default: a(({ props: T, isHovering:
|
|
1140
|
-
o(
|
|
1139
|
+
default: a(({ props: T, isHovering: te }) => [
|
|
1140
|
+
o(M, P({
|
|
1141
1141
|
color: z ? "primary" : "surface-variant",
|
|
1142
1142
|
disabled: _.disabled,
|
|
1143
1143
|
image: _.image,
|
|
@@ -1147,11 +1147,11 @@ const Be = J("settings", () => {
|
|
|
1147
1147
|
title: _.title,
|
|
1148
1148
|
height: "76",
|
|
1149
1149
|
variant: "tonal"
|
|
1150
|
-
}, T, { onClick:
|
|
1150
|
+
}, T, { onClick: $ }), {
|
|
1151
1151
|
image: a(() => [
|
|
1152
1152
|
o(Le, {
|
|
1153
|
-
style:
|
|
1154
|
-
filter: z ||
|
|
1153
|
+
style: Qe({
|
|
1154
|
+
filter: z || te ? "none" : "grayscale(100%)"
|
|
1155
1155
|
})
|
|
1156
1156
|
}, null, 8, ["style"])
|
|
1157
1157
|
]),
|
|
@@ -1172,15 +1172,15 @@ const Be = J("settings", () => {
|
|
|
1172
1172
|
]),
|
|
1173
1173
|
_: 1
|
|
1174
1174
|
}, 8, ["modelValue"]),
|
|
1175
|
-
t(i).isSubscriber ? (d(),
|
|
1176
|
-
o(
|
|
1175
|
+
t(i).isSubscriber ? (d(), L(U, { key: 0 }, [
|
|
1176
|
+
o(E, { class: "mt-6 mb-4" }),
|
|
1177
1177
|
o(b)
|
|
1178
|
-
], 64)) :
|
|
1178
|
+
], 64)) : x("", !0)
|
|
1179
1179
|
]),
|
|
1180
1180
|
_: 1
|
|
1181
1181
|
}),
|
|
1182
|
-
o(
|
|
1183
|
-
o(
|
|
1182
|
+
o(E),
|
|
1183
|
+
o(K, { class: "px-7" }, {
|
|
1184
1184
|
default: a(() => [
|
|
1185
1185
|
o(m, {
|
|
1186
1186
|
text: "These options change your browsing experience within Vuetify properties",
|
|
@@ -1193,7 +1193,7 @@ const Be = J("settings", () => {
|
|
|
1193
1193
|
class: "mb-2",
|
|
1194
1194
|
label: "Disable Ads",
|
|
1195
1195
|
messages: "Disable traditional advertisements on all documentation pages."
|
|
1196
|
-
}, null, 8, ["modelValue"])) :
|
|
1196
|
+
}, null, 8, ["modelValue"])) : x("", !0),
|
|
1197
1197
|
o(V, {
|
|
1198
1198
|
modelValue: t(s).quickbar,
|
|
1199
1199
|
"onUpdate:modelValue": u[2] || (u[2] = (_) => t(s).quickbar = _),
|
|
@@ -1203,8 +1203,8 @@ const Be = J("settings", () => {
|
|
|
1203
1203
|
]),
|
|
1204
1204
|
_: 1
|
|
1205
1205
|
}),
|
|
1206
|
-
o(
|
|
1207
|
-
t(i).isSubscriber ? (d(), v(
|
|
1206
|
+
o(E),
|
|
1207
|
+
t(i).isSubscriber ? (d(), v(K, {
|
|
1208
1208
|
key: 0,
|
|
1209
1209
|
class: "px-7"
|
|
1210
1210
|
}, {
|
|
@@ -1227,10 +1227,10 @@ const Be = J("settings", () => {
|
|
|
1227
1227
|
class: "mb-2",
|
|
1228
1228
|
label: "Enable Banners",
|
|
1229
1229
|
messages: "Banners are located at the top of the screen and provide a callout for important information."
|
|
1230
|
-
}, null, 8, ["modelValue"])) :
|
|
1230
|
+
}, null, 8, ["modelValue"])) : x("", !0)
|
|
1231
1231
|
]),
|
|
1232
1232
|
_: 1
|
|
1233
|
-
})) :
|
|
1233
|
+
})) : x("", !0)
|
|
1234
1234
|
]),
|
|
1235
1235
|
_: 1
|
|
1236
1236
|
})
|
|
@@ -1242,7 +1242,7 @@ const Be = J("settings", () => {
|
|
|
1242
1242
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
1243
1243
|
};
|
|
1244
1244
|
}
|
|
1245
|
-
}),
|
|
1245
|
+
}), Do = /* @__PURE__ */ k({
|
|
1246
1246
|
__name: "VoSettingsListItem",
|
|
1247
1247
|
setup(p) {
|
|
1248
1248
|
const e = D(!1);
|
|
@@ -1250,7 +1250,7 @@ const Be = J("settings", () => {
|
|
|
1250
1250
|
const l = Io, s = X;
|
|
1251
1251
|
return d(), v(s, {
|
|
1252
1252
|
active: e.value,
|
|
1253
|
-
"prepend-icon": `svg:${t(
|
|
1253
|
+
"prepend-icon": `svg:${t(Bt)}`,
|
|
1254
1254
|
title: "Settings",
|
|
1255
1255
|
link: ""
|
|
1256
1256
|
}, {
|
|
@@ -1264,36 +1264,36 @@ const Be = J("settings", () => {
|
|
|
1264
1264
|
}, 8, ["active", "prepend-icon"]);
|
|
1265
1265
|
};
|
|
1266
1266
|
}
|
|
1267
|
-
}),
|
|
1267
|
+
}), Uo = { class: "text-caption" }, Bo = /* @__PURE__ */ k({
|
|
1268
1268
|
__name: "VoSubscriptionInvoices",
|
|
1269
1269
|
setup(p) {
|
|
1270
1270
|
const e = we(), i = j();
|
|
1271
1271
|
return (n, l) => {
|
|
1272
|
-
const s =
|
|
1272
|
+
const s = be;
|
|
1273
1273
|
return d(), v(Se, null, {
|
|
1274
1274
|
default: a(() => [
|
|
1275
|
-
o(
|
|
1275
|
+
o(me, { cols: "12" }, {
|
|
1276
1276
|
default: a(() => [
|
|
1277
1277
|
o(s, {
|
|
1278
1278
|
text: "View and download your invoice history.",
|
|
1279
1279
|
title: "Invoice History"
|
|
1280
1280
|
}),
|
|
1281
|
-
o(
|
|
1281
|
+
o(M, {
|
|
1282
1282
|
height: "450",
|
|
1283
1283
|
rounded: "lg",
|
|
1284
1284
|
border: ""
|
|
1285
1285
|
}, {
|
|
1286
1286
|
default: a(() => [
|
|
1287
|
-
o(
|
|
1287
|
+
o(co, {
|
|
1288
1288
|
items: t(i).invoices,
|
|
1289
1289
|
loading: t(i).isLoading,
|
|
1290
1290
|
sticky: ""
|
|
1291
1291
|
}, {
|
|
1292
1292
|
"item.date": a(({ item: r }) => [
|
|
1293
|
-
h("div",
|
|
1293
|
+
h("div", Uo, A(t(e).format(new Date(r.date * 1e3), "fullDateWithWeekday")), 1)
|
|
1294
1294
|
]),
|
|
1295
1295
|
"item.amount": a(({ item: r }) => [
|
|
1296
|
-
B(" $" +
|
|
1296
|
+
B(" $" + A(r.amount / 100), 1)
|
|
1297
1297
|
]),
|
|
1298
1298
|
"item.status": a(({ item: r }) => [
|
|
1299
1299
|
o(Y, {
|
|
@@ -1307,9 +1307,9 @@ const Be = J("settings", () => {
|
|
|
1307
1307
|
}, null, 8, ["text"])
|
|
1308
1308
|
]),
|
|
1309
1309
|
"item.pdf": a(({ item: r }) => [
|
|
1310
|
-
o(
|
|
1310
|
+
o(G, {
|
|
1311
1311
|
href: r.pdf,
|
|
1312
|
-
icon: `svg:${t(
|
|
1312
|
+
icon: `svg:${t(Nt)}`,
|
|
1313
1313
|
size: "small",
|
|
1314
1314
|
target: "_blank",
|
|
1315
1315
|
variant: "text"
|
|
@@ -1328,10 +1328,10 @@ const Be = J("settings", () => {
|
|
|
1328
1328
|
});
|
|
1329
1329
|
};
|
|
1330
1330
|
}
|
|
1331
|
-
}),
|
|
1331
|
+
}), No = { class: "d-flex align-center" }, Oo = {
|
|
1332
1332
|
key: "status",
|
|
1333
1333
|
class: "text-capitalize hidden-sm-and-down"
|
|
1334
|
-
},
|
|
1334
|
+
}, Fo = /* @__PURE__ */ h("span", { class: "mx-1 hidden-sm-and-down" }, "—", -1), zo = { class: "me-1" }, jo = { class: "text-medium-emphasis text-caption" }, To = { class: "d-flex align-start justify-space-between text-caption py-2" }, Mo = { class: "font-weight-bold" }, Ro = { class: "font-weight-bold" }, Po = /* @__PURE__ */ k({
|
|
1335
1335
|
__name: "VoSubscriptionStatus",
|
|
1336
1336
|
emits: ["change:subscription"],
|
|
1337
1337
|
setup(p, { emit: e }) {
|
|
@@ -1348,17 +1348,17 @@ const Be = J("settings", () => {
|
|
|
1348
1348
|
const u = ae;
|
|
1349
1349
|
return d(), v(Se, null, {
|
|
1350
1350
|
default: a(() => [
|
|
1351
|
-
o(
|
|
1351
|
+
o(me, { cols: "12" }, {
|
|
1352
1352
|
default: a(() => {
|
|
1353
1353
|
var m, b;
|
|
1354
1354
|
return [
|
|
1355
|
-
o(
|
|
1355
|
+
o(M, {
|
|
1356
1356
|
"prepend-icon": "$vuetify",
|
|
1357
1357
|
rounded: "lg",
|
|
1358
1358
|
title: "Subscription Status",
|
|
1359
1359
|
border: "",
|
|
1360
1360
|
flat: ""
|
|
1361
|
-
},
|
|
1361
|
+
}, W({
|
|
1362
1362
|
append: a(() => {
|
|
1363
1363
|
var V;
|
|
1364
1364
|
return [
|
|
@@ -1371,14 +1371,14 @@ const Be = J("settings", () => {
|
|
|
1371
1371
|
text: "Activate",
|
|
1372
1372
|
variant: "outlined",
|
|
1373
1373
|
onClick: r
|
|
1374
|
-
}, null, 8, ["loading"])) :
|
|
1374
|
+
}, null, 8, ["loading"])) : x("", !0),
|
|
1375
1375
|
t(n).hasBilling ? (d(), v(u, {
|
|
1376
1376
|
key: 1,
|
|
1377
1377
|
loading: t(n).isLoading,
|
|
1378
|
-
"prepend-icon": `svg:${t(
|
|
1378
|
+
"prepend-icon": `svg:${t(Ot)}`,
|
|
1379
1379
|
text: "Billing",
|
|
1380
1380
|
onClick: t(n).manage
|
|
1381
|
-
}, null, 8, ["loading", "prepend-icon", "onClick"])) :
|
|
1381
|
+
}, null, 8, ["loading", "prepend-icon", "onClick"])) : x("", !0)
|
|
1382
1382
|
];
|
|
1383
1383
|
}),
|
|
1384
1384
|
_: 2
|
|
@@ -1386,13 +1386,13 @@ const Be = J("settings", () => {
|
|
|
1386
1386
|
t(n).info ? {
|
|
1387
1387
|
name: "subtitle",
|
|
1388
1388
|
fn: a(() => [
|
|
1389
|
-
h("div",
|
|
1390
|
-
h("span",
|
|
1391
|
-
t(n).info.items.length ? (d(),
|
|
1392
|
-
|
|
1393
|
-
h("span",
|
|
1394
|
-
B(" $" +
|
|
1395
|
-
h("span",
|
|
1389
|
+
h("div", No, [
|
|
1390
|
+
h("span", Oo, A(t(n).info.status), 1),
|
|
1391
|
+
t(n).info.items.length ? (d(), L(U, { key: 0 }, [
|
|
1392
|
+
Fo,
|
|
1393
|
+
h("span", zo, [
|
|
1394
|
+
B(" $" + A(t(n).info.items[0].plan.amount / 100), 1),
|
|
1395
|
+
h("span", jo, "/" + A(t(n).interval), 1)
|
|
1396
1396
|
]),
|
|
1397
1397
|
o(u, {
|
|
1398
1398
|
size: "x-small",
|
|
@@ -1400,7 +1400,7 @@ const Be = J("settings", () => {
|
|
|
1400
1400
|
variant: "text",
|
|
1401
1401
|
onClick: f[0] || (f[0] = (V) => l("change:subscription"))
|
|
1402
1402
|
})
|
|
1403
|
-
], 64)) :
|
|
1403
|
+
], 64)) : x("", !0)
|
|
1404
1404
|
])
|
|
1405
1405
|
]),
|
|
1406
1406
|
key: "0"
|
|
@@ -1408,13 +1408,13 @@ const Be = J("settings", () => {
|
|
|
1408
1408
|
name: "subtitle",
|
|
1409
1409
|
fn: a(() => [
|
|
1410
1410
|
h("div", { class: "d-flex align-center" }, [
|
|
1411
|
-
o(
|
|
1411
|
+
o(Ze, {
|
|
1412
1412
|
height: "16",
|
|
1413
1413
|
type: "ossein",
|
|
1414
1414
|
width: "40"
|
|
1415
1415
|
}),
|
|
1416
1416
|
h("span", { class: "mx-1" }, "—"),
|
|
1417
|
-
o(
|
|
1417
|
+
o(Ze, {
|
|
1418
1418
|
height: "16",
|
|
1419
1419
|
type: "ossein",
|
|
1420
1420
|
width: "80"
|
|
@@ -1424,15 +1424,15 @@ const Be = J("settings", () => {
|
|
|
1424
1424
|
key: "1"
|
|
1425
1425
|
}
|
|
1426
1426
|
]), 1024),
|
|
1427
|
-
h("div",
|
|
1427
|
+
h("div", To, [
|
|
1428
1428
|
h("div", null, [
|
|
1429
|
-
((m = t(n).info) == null ? void 0 : m.status) === "active" ? (d(),
|
|
1429
|
+
((m = t(n).info) == null ? void 0 : m.status) === "active" ? (d(), L(U, { key: 0 }, [
|
|
1430
1430
|
B(" Your plan renews on "),
|
|
1431
|
-
h("span",
|
|
1431
|
+
h("span", Mo, A(t(i).format(s.value, "fullDateWithWeekday")), 1),
|
|
1432
1432
|
B(". ")
|
|
1433
|
-
], 64)) : (d(),
|
|
1433
|
+
], 64)) : (d(), L(U, { key: 1 }, [
|
|
1434
1434
|
B(" Your plan ends on "),
|
|
1435
|
-
h("span",
|
|
1435
|
+
h("span", Ro, A(t(i).format((b = t(n).info) == null ? void 0 : b.currentPeriodEnd, "fullDateWithWeekday")), 1),
|
|
1436
1436
|
B(". ")
|
|
1437
1437
|
], 64))
|
|
1438
1438
|
])
|
|
@@ -1446,7 +1446,7 @@ const Be = J("settings", () => {
|
|
|
1446
1446
|
});
|
|
1447
1447
|
};
|
|
1448
1448
|
}
|
|
1449
|
-
}),
|
|
1449
|
+
}), Ho = /* @__PURE__ */ h("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The Vuetify One subscription comes with the following perks: ", -1), Eo = ["innerHTML"], Wo = /* @__PURE__ */ h("br", null, null, -1), Go = /* @__PURE__ */ h("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The following features are in development and coming soon: ", -1), qo = ["innerHTML"], Yo = /* @__PURE__ */ k({
|
|
1450
1450
|
__name: "VoSubscriptionPerks",
|
|
1451
1451
|
setup(p) {
|
|
1452
1452
|
const e = [
|
|
@@ -1464,69 +1464,69 @@ const Be = J("settings", () => {
|
|
|
1464
1464
|
s && l.subscriptionInfo();
|
|
1465
1465
|
}), (s, r) => {
|
|
1466
1466
|
const c = X;
|
|
1467
|
-
return d(),
|
|
1467
|
+
return d(), L(U, null, [
|
|
1468
1468
|
o(ze, { class: "font-weight-black" }, {
|
|
1469
1469
|
default: a(() => [
|
|
1470
1470
|
B("Perks")
|
|
1471
1471
|
]),
|
|
1472
1472
|
_: 1
|
|
1473
1473
|
}),
|
|
1474
|
-
|
|
1475
|
-
o(
|
|
1474
|
+
Ho,
|
|
1475
|
+
o(ee, {
|
|
1476
1476
|
lines: !1,
|
|
1477
1477
|
class: "py-0",
|
|
1478
1478
|
density: "compact",
|
|
1479
1479
|
nav: ""
|
|
1480
1480
|
}, {
|
|
1481
1481
|
default: a(() => [
|
|
1482
|
-
(d(),
|
|
1482
|
+
(d(), L(U, null, oe(e, (f, u) => o(c, {
|
|
1483
1483
|
key: u,
|
|
1484
1484
|
"prepend-icon": `svg:${t(re)}`,
|
|
1485
1485
|
class: "mb-0"
|
|
1486
1486
|
}, {
|
|
1487
1487
|
prepend: a(() => [
|
|
1488
|
-
o(
|
|
1488
|
+
o(I, {
|
|
1489
1489
|
class: "mx-n2",
|
|
1490
1490
|
color: "success",
|
|
1491
1491
|
size: "small"
|
|
1492
1492
|
})
|
|
1493
1493
|
]),
|
|
1494
1494
|
title: a(() => [
|
|
1495
|
-
h("div", { innerHTML: f }, null, 8,
|
|
1495
|
+
h("div", { innerHTML: f }, null, 8, Eo)
|
|
1496
1496
|
]),
|
|
1497
1497
|
_: 2
|
|
1498
1498
|
}, 1032, ["prepend-icon"])), 64))
|
|
1499
1499
|
]),
|
|
1500
1500
|
_: 1
|
|
1501
1501
|
}),
|
|
1502
|
-
|
|
1502
|
+
Wo,
|
|
1503
1503
|
o(ze, { class: "font-weight-black" }, {
|
|
1504
1504
|
default: a(() => [
|
|
1505
1505
|
B("Up Next")
|
|
1506
1506
|
]),
|
|
1507
1507
|
_: 1
|
|
1508
1508
|
}),
|
|
1509
|
-
|
|
1510
|
-
o(
|
|
1509
|
+
Go,
|
|
1510
|
+
o(ee, {
|
|
1511
1511
|
lines: !1,
|
|
1512
1512
|
class: "py-0",
|
|
1513
1513
|
density: "compact",
|
|
1514
1514
|
nav: ""
|
|
1515
1515
|
}, {
|
|
1516
1516
|
default: a(() => [
|
|
1517
|
-
(d(),
|
|
1517
|
+
(d(), L(U, null, oe(i, (f, u) => o(c, {
|
|
1518
1518
|
key: u,
|
|
1519
|
-
"prepend-icon": `svg:${t(
|
|
1519
|
+
"prepend-icon": `svg:${t(Ft)}`,
|
|
1520
1520
|
class: "mb-0"
|
|
1521
1521
|
}, {
|
|
1522
1522
|
prepend: a(() => [
|
|
1523
|
-
o(
|
|
1523
|
+
o(I, {
|
|
1524
1524
|
class: "mx-n2",
|
|
1525
1525
|
size: "small"
|
|
1526
1526
|
})
|
|
1527
1527
|
]),
|
|
1528
1528
|
title: a(() => [
|
|
1529
|
-
h("div", { innerHTML: f }, null, 8,
|
|
1529
|
+
h("div", { innerHTML: f }, null, 8, qo)
|
|
1530
1530
|
]),
|
|
1531
1531
|
_: 2
|
|
1532
1532
|
}, 1032, ["prepend-icon"])), 64))
|
|
@@ -1536,7 +1536,7 @@ const Be = J("settings", () => {
|
|
|
1536
1536
|
], 64);
|
|
1537
1537
|
};
|
|
1538
1538
|
}
|
|
1539
|
-
}),
|
|
1539
|
+
}), Zo = /* @__PURE__ */ k({
|
|
1540
1540
|
__name: "VoSubscriptionSubscribe",
|
|
1541
1541
|
props: {
|
|
1542
1542
|
modelValue: {
|
|
@@ -1559,17 +1559,17 @@ const Be = J("settings", () => {
|
|
|
1559
1559
|
default: a(() => [
|
|
1560
1560
|
o(Se, null, {
|
|
1561
1561
|
default: a(() => [
|
|
1562
|
-
o(
|
|
1562
|
+
o(me, {
|
|
1563
1563
|
cols: "12",
|
|
1564
1564
|
md: "6"
|
|
1565
1565
|
}, {
|
|
1566
1566
|
default: a(() => [
|
|
1567
1567
|
o(je, { value: "month" }, {
|
|
1568
1568
|
default: a(({ toggle: r, isSelected: c }) => [
|
|
1569
|
-
o(
|
|
1569
|
+
o(M, {
|
|
1570
1570
|
border: c ? "sm primary opacity-100" : "sm",
|
|
1571
1571
|
color: c ? "primary" : void 0,
|
|
1572
|
-
"prepend-icon": c ? `svg:${t(
|
|
1572
|
+
"prepend-icon": c ? `svg:${t(pe)}` : "$radioOff",
|
|
1573
1573
|
variant: c ? "tonal" : "text",
|
|
1574
1574
|
rounded: "lg",
|
|
1575
1575
|
subtitle: "$2.99/month",
|
|
@@ -1577,7 +1577,7 @@ const Be = J("settings", () => {
|
|
|
1577
1577
|
onClick: r
|
|
1578
1578
|
}, {
|
|
1579
1579
|
prepend: a(() => [
|
|
1580
|
-
o(
|
|
1580
|
+
o(I, { class: "mt-n6" })
|
|
1581
1581
|
]),
|
|
1582
1582
|
_: 2
|
|
1583
1583
|
}, 1032, ["border", "color", "prepend-icon", "variant", "onClick"])
|
|
@@ -1587,17 +1587,17 @@ const Be = J("settings", () => {
|
|
|
1587
1587
|
]),
|
|
1588
1588
|
_: 1
|
|
1589
1589
|
}),
|
|
1590
|
-
o(
|
|
1590
|
+
o(me, {
|
|
1591
1591
|
cols: "12",
|
|
1592
1592
|
md: "6"
|
|
1593
1593
|
}, {
|
|
1594
1594
|
default: a(() => [
|
|
1595
1595
|
o(je, { value: "year" }, {
|
|
1596
1596
|
default: a(({ toggle: r, isSelected: c }) => [
|
|
1597
|
-
o(
|
|
1597
|
+
o(M, {
|
|
1598
1598
|
border: c ? "sm primary opacity-100" : "sm",
|
|
1599
1599
|
color: c ? "primary" : void 0,
|
|
1600
|
-
"prepend-icon": c ? `svg:${t(
|
|
1600
|
+
"prepend-icon": c ? `svg:${t(pe)}` : "$radioOff",
|
|
1601
1601
|
variant: c ? "tonal" : "text",
|
|
1602
1602
|
rounded: "lg",
|
|
1603
1603
|
subtitle: "$29.99/year",
|
|
@@ -1605,7 +1605,7 @@ const Be = J("settings", () => {
|
|
|
1605
1605
|
onClick: r
|
|
1606
1606
|
}, {
|
|
1607
1607
|
prepend: a(() => [
|
|
1608
|
-
o(
|
|
1608
|
+
o(I, { class: "mt-n6" })
|
|
1609
1609
|
]),
|
|
1610
1610
|
append: a(() => [
|
|
1611
1611
|
o(Y, {
|
|
@@ -1631,7 +1631,7 @@ const Be = J("settings", () => {
|
|
|
1631
1631
|
_: 1
|
|
1632
1632
|
}, 8, ["modelValue"]));
|
|
1633
1633
|
}
|
|
1634
|
-
}),
|
|
1634
|
+
}), Qo = { class: "px-3" }, Jo = /* @__PURE__ */ h("br", null, null, -1), Xo = { class: "flex-grow-1 px-4 pb-3 overflow-hidden" }, Ko = /* @__PURE__ */ k({
|
|
1635
1635
|
__name: "VoSubscriptionDialog",
|
|
1636
1636
|
props: {
|
|
1637
1637
|
modelValue: { type: Boolean },
|
|
@@ -1642,32 +1642,32 @@ const Be = J("settings", () => {
|
|
|
1642
1642
|
function e(u) {
|
|
1643
1643
|
return new Promise((m) => setTimeout(m, u));
|
|
1644
1644
|
}
|
|
1645
|
-
const i = le(p, "modelValue"), n = j(), l =
|
|
1645
|
+
const i = le(p, "modelValue"), n = j(), l = ye(), s = D(n.interval), r = D(n.hasBilling ? "status" : "subscribe"), c = D(!1);
|
|
1646
1646
|
N(s, (u) => {
|
|
1647
1647
|
!n.isSubscriber || !n.interval || (c.value = u !== n.interval);
|
|
1648
1648
|
}), N(i, async (u) => {
|
|
1649
1649
|
!u || !n.isSubscriber || n.subscriptionInfo();
|
|
1650
1650
|
}), N(l, async () => {
|
|
1651
|
-
!n.sessionId && !["subscribe", "status"].includes(l.value.one) || (r.value = n.sessionId || l.value.one === "status" ? "status" : "subscribe", n.isOpen = !0, await
|
|
1651
|
+
!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
1652
|
}, { immediate: !0 });
|
|
1653
1653
|
async function f() {
|
|
1654
1654
|
await n.modify(s.value), await n.subscriptionInfo(), c.value = null, await e(3e3), r.value = "status", await e(300), c.value = !1;
|
|
1655
1655
|
}
|
|
1656
1656
|
return (u, m) => {
|
|
1657
|
-
const b =
|
|
1657
|
+
const b = be, V = Zo, S = Yo, _ = Po, y = Bo, $ = ae, z = Ue;
|
|
1658
1658
|
return d(), v(z, {
|
|
1659
1659
|
modelValue: i.value,
|
|
1660
1660
|
"onUpdate:modelValue": m[4] || (m[4] = (T) => i.value = T),
|
|
1661
|
-
"prepend-icon": `svg:${t(
|
|
1661
|
+
"prepend-icon": `svg:${t(zt)}`,
|
|
1662
1662
|
title: "Subscriptions"
|
|
1663
|
-
},
|
|
1663
|
+
}, W({
|
|
1664
1664
|
default: a(() => [
|
|
1665
|
-
o(
|
|
1665
|
+
o(Ae, null, {
|
|
1666
1666
|
default: a(() => [
|
|
1667
|
-
o(
|
|
1667
|
+
o(Ie, { scrollable: "" }, {
|
|
1668
1668
|
default: a(() => [
|
|
1669
|
-
h("div",
|
|
1670
|
-
o(
|
|
1669
|
+
h("div", Qo, [
|
|
1670
|
+
o(K, null, {
|
|
1671
1671
|
default: a(() => [
|
|
1672
1672
|
o(b, {
|
|
1673
1673
|
text: "The Vuetify One subscription is a great way to support the Vuetify team and get access to exclusive features and content.",
|
|
@@ -1675,23 +1675,23 @@ const Be = J("settings", () => {
|
|
|
1675
1675
|
}),
|
|
1676
1676
|
o(st, { "model-value": r.value }, {
|
|
1677
1677
|
default: a(() => [
|
|
1678
|
-
o(
|
|
1678
|
+
o(de, { value: "subscribe" }, {
|
|
1679
1679
|
default: a(() => [
|
|
1680
1680
|
o(V, {
|
|
1681
1681
|
modelValue: s.value,
|
|
1682
1682
|
"onUpdate:modelValue": m[0] || (m[0] = (T) => s.value = T)
|
|
1683
1683
|
}, null, 8, ["modelValue"]),
|
|
1684
|
-
|
|
1685
|
-
o(
|
|
1684
|
+
Jo,
|
|
1685
|
+
o(S)
|
|
1686
1686
|
]),
|
|
1687
1687
|
_: 1
|
|
1688
1688
|
}),
|
|
1689
|
-
o(
|
|
1689
|
+
o(de, { value: "status" }, {
|
|
1690
1690
|
default: a(() => [
|
|
1691
1691
|
o(_, {
|
|
1692
1692
|
"onChange:subscription": m[1] || (m[1] = (T) => r.value = "subscribe")
|
|
1693
1693
|
}),
|
|
1694
|
-
o(
|
|
1694
|
+
o(y)
|
|
1695
1695
|
]),
|
|
1696
1696
|
_: 1
|
|
1697
1697
|
})
|
|
@@ -1714,25 +1714,25 @@ const Be = J("settings", () => {
|
|
|
1714
1714
|
r.value === "subscribe" ? {
|
|
1715
1715
|
name: "actions",
|
|
1716
1716
|
fn: a(() => [
|
|
1717
|
-
h("div",
|
|
1718
|
-
c.value !== !1 ? (d(), v(
|
|
1717
|
+
h("div", Xo, [
|
|
1718
|
+
c.value !== !1 ? (d(), v($, {
|
|
1719
1719
|
key: 0,
|
|
1720
1720
|
loading: t(n).isLoading,
|
|
1721
|
-
"prepend-icon": `svg:${c.value !== null ? t(
|
|
1721
|
+
"prepend-icon": `svg:${c.value !== null ? t(jt) : t(pe)}`,
|
|
1722
1722
|
readonly: c.value === null,
|
|
1723
1723
|
text: c.value !== null ? "Modify Subscription" : "Success",
|
|
1724
1724
|
color: "success",
|
|
1725
1725
|
size: "default",
|
|
1726
1726
|
block: "",
|
|
1727
1727
|
onClick: f
|
|
1728
|
-
}, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : t(n).isSubscriber ? (d(), v(
|
|
1728
|
+
}, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : t(n).isSubscriber ? (d(), v($, {
|
|
1729
1729
|
key: 2,
|
|
1730
|
-
"prepend-icon": `svg:${t(
|
|
1730
|
+
"prepend-icon": `svg:${t(Tt)}`,
|
|
1731
1731
|
size: "default",
|
|
1732
1732
|
text: "Manage Subscription",
|
|
1733
1733
|
block: "",
|
|
1734
1734
|
onClick: m[3] || (m[3] = (T) => r.value = "status")
|
|
1735
|
-
}, null, 8, ["prepend-icon"])) : (d(), v(
|
|
1735
|
+
}, null, 8, ["prepend-icon"])) : (d(), v($, {
|
|
1736
1736
|
key: 1,
|
|
1737
1737
|
color: s.value ? "primary" : "disabled",
|
|
1738
1738
|
disabled: !s.value,
|
|
@@ -1750,15 +1750,15 @@ const Be = J("settings", () => {
|
|
|
1750
1750
|
]), 1032, ["modelValue", "prepend-icon"]);
|
|
1751
1751
|
};
|
|
1752
1752
|
}
|
|
1753
|
-
}),
|
|
1753
|
+
}), en = /* @__PURE__ */ k({
|
|
1754
1754
|
__name: "VoSubscriptionListItem",
|
|
1755
1755
|
setup(p) {
|
|
1756
1756
|
const e = D(!1);
|
|
1757
1757
|
return (i, n) => {
|
|
1758
|
-
const l =
|
|
1758
|
+
const l = Ko, s = X;
|
|
1759
1759
|
return d(), v(s, {
|
|
1760
1760
|
active: e.value,
|
|
1761
|
-
"prepend-icon": `svg:${t(
|
|
1761
|
+
"prepend-icon": `svg:${t(Mt)}`,
|
|
1762
1762
|
title: "Subscriptions",
|
|
1763
1763
|
link: ""
|
|
1764
1764
|
}, {
|
|
@@ -1772,21 +1772,21 @@ const Be = J("settings", () => {
|
|
|
1772
1772
|
}, 8, ["active", "prepend-icon"]);
|
|
1773
1773
|
};
|
|
1774
1774
|
}
|
|
1775
|
-
}),
|
|
1775
|
+
}), tn = { class: "ps-16" }, on = /* @__PURE__ */ k({
|
|
1776
1776
|
__name: "VoSponsorshipsTimelineItemPatreon",
|
|
1777
1777
|
setup(p) {
|
|
1778
1778
|
const e = j(), i = Be();
|
|
1779
1779
|
return (n, l) => {
|
|
1780
1780
|
var r, c;
|
|
1781
1781
|
const s = ae;
|
|
1782
|
-
return d(), v(
|
|
1782
|
+
return d(), v(Ye, {
|
|
1783
1783
|
"dot-color": (r = t(e).patreon) != null && r.isActive ? "success" : "transparent",
|
|
1784
1784
|
icon: (c = t(e).patreon) != null && c.isActive ? `svg:${t(re)}` : void 0,
|
|
1785
1785
|
size: "x-small",
|
|
1786
1786
|
width: "100%"
|
|
1787
1787
|
}, {
|
|
1788
1788
|
default: a(() => [
|
|
1789
|
-
o(
|
|
1789
|
+
o(M, {
|
|
1790
1790
|
"prepend-avatar": t(i).CDN_URL + "/logos/patreon.png",
|
|
1791
1791
|
rounded: "lg",
|
|
1792
1792
|
subtitle: "Support Vuetify through Patreon.",
|
|
@@ -1797,7 +1797,7 @@ const Be = J("settings", () => {
|
|
|
1797
1797
|
append: a(() => {
|
|
1798
1798
|
var f;
|
|
1799
1799
|
return [
|
|
1800
|
-
h("div",
|
|
1800
|
+
h("div", tn, [
|
|
1801
1801
|
o(s, {
|
|
1802
1802
|
text: (f = t(e).patreon) != null && f.isActive ? "Active" : "Coming Soon",
|
|
1803
1803
|
color: "surface-variant",
|
|
@@ -1809,12 +1809,12 @@ const Be = J("settings", () => {
|
|
|
1809
1809
|
default: a(() => {
|
|
1810
1810
|
var f;
|
|
1811
1811
|
return [
|
|
1812
|
-
(f = t(e).patreon) != null && f.isActive ? (d(),
|
|
1813
|
-
o(
|
|
1814
|
-
o(
|
|
1812
|
+
(f = t(e).patreon) != null && f.isActive ? (d(), L(U, { key: 0 }, [
|
|
1813
|
+
o(E),
|
|
1814
|
+
o(K, { class: "d-flex justify-space-between align-center flex-wrap" }, {
|
|
1815
1815
|
default: a(() => [
|
|
1816
1816
|
o(Y, {
|
|
1817
|
-
"prepend-icon": `svg:${t(
|
|
1817
|
+
"prepend-icon": `svg:${t(Ge)}`,
|
|
1818
1818
|
text: t(e).patreon.tierName,
|
|
1819
1819
|
color: "success",
|
|
1820
1820
|
variant: "text",
|
|
@@ -1823,7 +1823,7 @@ const Be = J("settings", () => {
|
|
|
1823
1823
|
]),
|
|
1824
1824
|
_: 1
|
|
1825
1825
|
})
|
|
1826
|
-
], 64)) :
|
|
1826
|
+
], 64)) : x("", !0)
|
|
1827
1827
|
];
|
|
1828
1828
|
}),
|
|
1829
1829
|
_: 1
|
|
@@ -1833,21 +1833,21 @@ const Be = J("settings", () => {
|
|
|
1833
1833
|
}, 8, ["dot-color", "icon"]);
|
|
1834
1834
|
};
|
|
1835
1835
|
}
|
|
1836
|
-
}),
|
|
1836
|
+
}), nn = { class: "ps-16" }, sn = /* @__PURE__ */ k({
|
|
1837
1837
|
__name: "VoSponsorshipsTimelineItemDiscord",
|
|
1838
1838
|
setup(p) {
|
|
1839
1839
|
const e = j(), i = Be();
|
|
1840
1840
|
return (n, l) => {
|
|
1841
1841
|
var r, c;
|
|
1842
1842
|
const s = ae;
|
|
1843
|
-
return d(), v(
|
|
1843
|
+
return d(), v(Ye, {
|
|
1844
1844
|
"dot-color": (r = t(e).discord) != null && r.isActive ? "success" : "transparent",
|
|
1845
1845
|
icon: (c = t(e).discord) != null && c.isActive ? `svg:${t(re)}` : void 0,
|
|
1846
1846
|
size: "x-small",
|
|
1847
1847
|
width: "100%"
|
|
1848
1848
|
}, {
|
|
1849
1849
|
default: a(() => [
|
|
1850
|
-
o(
|
|
1850
|
+
o(M, {
|
|
1851
1851
|
"prepend-avatar": t(i).CDN_URL + "/logos/discord.png",
|
|
1852
1852
|
rounded: "lg",
|
|
1853
1853
|
subtitle: "Support Vuetify through Discord.",
|
|
@@ -1856,16 +1856,16 @@ const Be = J("settings", () => {
|
|
|
1856
1856
|
border: ""
|
|
1857
1857
|
}, {
|
|
1858
1858
|
append: a(() => {
|
|
1859
|
-
var f, u, m, b, V,
|
|
1859
|
+
var f, u, m, b, V, S;
|
|
1860
1860
|
return [
|
|
1861
|
-
h("div",
|
|
1861
|
+
h("div", nn, [
|
|
1862
1862
|
o(s, {
|
|
1863
1863
|
color: (f = t(e).discord) != null && f.isActive ? "success" : "primary",
|
|
1864
1864
|
href: (u = t(e).discord) != null && u.isActive ? void 0 : "https://discord.com/servers/vuetify-340160225338195969",
|
|
1865
|
-
"prepend-icon": `svg:${(m = t(e).discord) != null && m.isActive ? t(
|
|
1865
|
+
"prepend-icon": `svg:${(m = t(e).discord) != null && m.isActive ? t(pe) : t(ve)}`,
|
|
1866
1866
|
readonly: (b = t(e).discord) == null ? void 0 : b.isActive,
|
|
1867
1867
|
target: (V = t(e).discord) != null && V.isActive ? void 0 : "_blank",
|
|
1868
|
-
text: (
|
|
1868
|
+
text: (S = t(e).discord) != null && S.isActive ? "Active" : "Info",
|
|
1869
1869
|
width: "88"
|
|
1870
1870
|
}, null, 8, ["color", "href", "prepend-icon", "readonly", "target", "text"])
|
|
1871
1871
|
])
|
|
@@ -1874,12 +1874,12 @@ const Be = J("settings", () => {
|
|
|
1874
1874
|
default: a(() => {
|
|
1875
1875
|
var f;
|
|
1876
1876
|
return [
|
|
1877
|
-
(f = t(e).discord) != null && f.isActive ? (d(),
|
|
1878
|
-
o(
|
|
1879
|
-
o(
|
|
1877
|
+
(f = t(e).discord) != null && f.isActive ? (d(), L(U, { key: 0 }, [
|
|
1878
|
+
o(E),
|
|
1879
|
+
o(K, { class: "d-flex justify-space-between align-center flex-wrap" }, {
|
|
1880
1880
|
default: a(() => [
|
|
1881
1881
|
o(Y, {
|
|
1882
|
-
"prepend-icon": `svg:${t(
|
|
1882
|
+
"prepend-icon": `svg:${t(Ge)}`,
|
|
1883
1883
|
text: t(e).discord.tierName,
|
|
1884
1884
|
color: "surface-variant",
|
|
1885
1885
|
size: "small",
|
|
@@ -1889,7 +1889,7 @@ const Be = J("settings", () => {
|
|
|
1889
1889
|
]),
|
|
1890
1890
|
_: 1
|
|
1891
1891
|
})
|
|
1892
|
-
], 64)) :
|
|
1892
|
+
], 64)) : x("", !0)
|
|
1893
1893
|
];
|
|
1894
1894
|
}),
|
|
1895
1895
|
_: 1
|
|
@@ -1899,21 +1899,21 @@ const Be = J("settings", () => {
|
|
|
1899
1899
|
}, 8, ["dot-color", "icon"]);
|
|
1900
1900
|
};
|
|
1901
1901
|
}
|
|
1902
|
-
}),
|
|
1902
|
+
}), an = { class: "ps-16" }, ln = /* @__PURE__ */ k({
|
|
1903
1903
|
__name: "VoSponsorshipsTimelineItemGithub",
|
|
1904
1904
|
setup(p) {
|
|
1905
1905
|
const e = j(), i = Be();
|
|
1906
1906
|
return (n, l) => {
|
|
1907
1907
|
var r, c;
|
|
1908
1908
|
const s = ae;
|
|
1909
|
-
return d(), v(
|
|
1909
|
+
return d(), v(Ye, {
|
|
1910
1910
|
"dot-color": (r = t(e).github) != null && r.isActive ? "success" : "transparent",
|
|
1911
1911
|
icon: (c = t(e).github) != null && c.isActive ? `svg:${t(re)}` : void 0,
|
|
1912
1912
|
size: "x-small",
|
|
1913
1913
|
width: "100%"
|
|
1914
1914
|
}, {
|
|
1915
1915
|
default: a(() => [
|
|
1916
|
-
o(
|
|
1916
|
+
o(M, {
|
|
1917
1917
|
"prepend-avatar": t(i).CDN_URL + "/logos/github.png",
|
|
1918
1918
|
rounded: "lg",
|
|
1919
1919
|
subtitle: "Support Vuetify through GitHub sponsors.",
|
|
@@ -1922,16 +1922,16 @@ const Be = J("settings", () => {
|
|
|
1922
1922
|
border: ""
|
|
1923
1923
|
}, {
|
|
1924
1924
|
append: a(() => {
|
|
1925
|
-
var f, u, m, b, V,
|
|
1925
|
+
var f, u, m, b, V, S;
|
|
1926
1926
|
return [
|
|
1927
|
-
h("div",
|
|
1927
|
+
h("div", an, [
|
|
1928
1928
|
o(s, {
|
|
1929
1929
|
color: (f = t(e).github) != null && f.isActive ? "success" : "primary",
|
|
1930
1930
|
href: (u = t(e).github) != null && u.isActive ? void 0 : "https://github.com/sponsors/johnleider",
|
|
1931
|
-
"prepend-icon": `svg:${(m = t(e).github) != null && m.isActive ? t(
|
|
1931
|
+
"prepend-icon": `svg:${(m = t(e).github) != null && m.isActive ? t(pe) : t(ve)}`,
|
|
1932
1932
|
readonly: (b = t(e).github) == null ? void 0 : b.isActive,
|
|
1933
1933
|
target: (V = t(e).github) != null && V.isActive ? void 0 : "_blank",
|
|
1934
|
-
text: (
|
|
1934
|
+
text: (S = t(e).github) != null && S.isActive ? "Active" : "Info",
|
|
1935
1935
|
width: "88"
|
|
1936
1936
|
}, null, 8, ["color", "href", "prepend-icon", "readonly", "target", "text"])
|
|
1937
1937
|
])
|
|
@@ -1940,12 +1940,12 @@ const Be = J("settings", () => {
|
|
|
1940
1940
|
default: a(() => {
|
|
1941
1941
|
var f;
|
|
1942
1942
|
return [
|
|
1943
|
-
(f = t(e).github) != null && f.isActive ? (d(),
|
|
1944
|
-
o(
|
|
1945
|
-
o(
|
|
1943
|
+
(f = t(e).github) != null && f.isActive ? (d(), L(U, { key: 0 }, [
|
|
1944
|
+
o(E),
|
|
1945
|
+
o(K, { class: "d-flex justify-space-between align-center flex-wrap" }, {
|
|
1946
1946
|
default: a(() => [
|
|
1947
1947
|
o(Y, {
|
|
1948
|
-
"prepend-icon": `svg:${t(
|
|
1948
|
+
"prepend-icon": `svg:${t(Ge)}`,
|
|
1949
1949
|
text: t(e).github.tierName,
|
|
1950
1950
|
color: "surface-variant",
|
|
1951
1951
|
size: "small",
|
|
@@ -1955,7 +1955,7 @@ const Be = J("settings", () => {
|
|
|
1955
1955
|
]),
|
|
1956
1956
|
_: 1
|
|
1957
1957
|
})
|
|
1958
|
-
], 64)) :
|
|
1958
|
+
], 64)) : x("", !0)
|
|
1959
1959
|
];
|
|
1960
1960
|
}),
|
|
1961
1961
|
_: 1
|
|
@@ -1965,12 +1965,12 @@ const Be = J("settings", () => {
|
|
|
1965
1965
|
}, 8, ["dot-color", "icon"]);
|
|
1966
1966
|
};
|
|
1967
1967
|
}
|
|
1968
|
-
}),
|
|
1968
|
+
}), rn = /* @__PURE__ */ k({
|
|
1969
1969
|
__name: "VoSponsorshipsTimeline",
|
|
1970
1970
|
setup(p) {
|
|
1971
1971
|
return (e, i) => {
|
|
1972
|
-
const n =
|
|
1973
|
-
return d(), v(
|
|
1972
|
+
const n = ln, l = sn, s = on;
|
|
1973
|
+
return d(), v(uo, {
|
|
1974
1974
|
class: "justify-start ms-n7",
|
|
1975
1975
|
"line-inset": "12",
|
|
1976
1976
|
side: "end",
|
|
@@ -1986,11 +1986,11 @@ const Be = J("settings", () => {
|
|
|
1986
1986
|
});
|
|
1987
1987
|
};
|
|
1988
1988
|
}
|
|
1989
|
-
}),
|
|
1989
|
+
}), cn = { class: "px-3 pb-5 d-flex flex-column" }, un = { class: "py-4" }, dn = /* @__PURE__ */ h("div", { class: "text-caption text-medium-emphasis" }, [
|
|
1990
1990
|
/* @__PURE__ */ B(" A total of $2.99 or more unlocks "),
|
|
1991
1991
|
/* @__PURE__ */ h("span", { class: "font-weight-black" }, "all"),
|
|
1992
1992
|
/* @__PURE__ */ B(" Vuetify One benefits ")
|
|
1993
|
-
], -1),
|
|
1993
|
+
], -1), pn = /* @__PURE__ */ k({
|
|
1994
1994
|
__name: "VoSponsorshipsDialog",
|
|
1995
1995
|
props: {
|
|
1996
1996
|
modelValue: { type: Boolean },
|
|
@@ -1998,25 +1998,25 @@ const Be = J("settings", () => {
|
|
|
1998
1998
|
},
|
|
1999
1999
|
emits: ["update:modelValue"],
|
|
2000
2000
|
setup(p) {
|
|
2001
|
-
const e = le(p, "modelValue"), i = se(), n =
|
|
2001
|
+
const e = le(p, "modelValue"), i = se(), n = ye(), l = F(), s = j();
|
|
2002
2002
|
return N(n, async () => {
|
|
2003
|
-
n.value.one === "sponsorships" && (s.isOpen = !0, await
|
|
2003
|
+
n.value.one === "sponsorships" && (s.isOpen = !0, await fe(), e.value = !0);
|
|
2004
2004
|
}, { immediate: !0 }), (r, c) => {
|
|
2005
|
-
const f =
|
|
2005
|
+
const f = be, u = rn, m = Me("v-empty-state"), b = Ue;
|
|
2006
2006
|
return d(), v(b, {
|
|
2007
2007
|
modelValue: e.value,
|
|
2008
2008
|
"onUpdate:modelValue": c[0] || (c[0] = (V) => e.value = V),
|
|
2009
2009
|
"max-height": t(i).xs.value ? void 0 : 820,
|
|
2010
|
-
"prepend-icon": `svg:${t(
|
|
2010
|
+
"prepend-icon": `svg:${t(Rt)}`,
|
|
2011
2011
|
title: "Sponsorships"
|
|
2012
2012
|
}, {
|
|
2013
2013
|
default: a(() => [
|
|
2014
|
-
o(
|
|
2014
|
+
o(Ae, null, {
|
|
2015
2015
|
default: a(() => [
|
|
2016
|
-
o(
|
|
2016
|
+
o(Ie, { scrollable: "" }, {
|
|
2017
2017
|
default: a(() => [
|
|
2018
|
-
h("div",
|
|
2019
|
-
o(
|
|
2018
|
+
h("div", cn, [
|
|
2019
|
+
o(K, null, {
|
|
2020
2020
|
default: a(() => [
|
|
2021
2021
|
o(f, {
|
|
2022
2022
|
text: "Support Vuetify through GitHub Sponsors, Discord, or Patreon to unlock exclusive benefits and content.",
|
|
@@ -2027,26 +2027,26 @@ const Be = J("settings", () => {
|
|
|
2027
2027
|
_: 1
|
|
2028
2028
|
}),
|
|
2029
2029
|
o(m, {
|
|
2030
|
-
icon: `svg:${t(
|
|
2030
|
+
icon: `svg:${t(Pt)}`,
|
|
2031
2031
|
class: "mt-auto",
|
|
2032
2032
|
"min-height": "auto",
|
|
2033
2033
|
size: "64",
|
|
2034
2034
|
title: "Your Monthly Contributions"
|
|
2035
2035
|
}, {
|
|
2036
2036
|
media: a(() => [
|
|
2037
|
-
o(
|
|
2037
|
+
o(I, { color: "success" })
|
|
2038
2038
|
]),
|
|
2039
2039
|
headline: a(() => [
|
|
2040
|
-
h("div",
|
|
2041
|
-
t(l).isSubscriber ? (d(),
|
|
2042
|
-
B(" $" +
|
|
2043
|
-
], 64)) : (d(),
|
|
2040
|
+
h("div", un, [
|
|
2041
|
+
t(l).isSubscriber ? (d(), L(U, { key: 0 }, [
|
|
2042
|
+
B(" $" + A(parseFloat(String(t(s).monthlyTotal)).toFixed(2)), 1)
|
|
2043
|
+
], 64)) : (d(), L(U, { key: 1 }, [
|
|
2044
2044
|
B(" $0.00 ")
|
|
2045
2045
|
], 64))
|
|
2046
2046
|
])
|
|
2047
2047
|
]),
|
|
2048
2048
|
text: a(() => [
|
|
2049
|
-
|
|
2049
|
+
dn
|
|
2050
2050
|
]),
|
|
2051
2051
|
_: 1
|
|
2052
2052
|
}, 8, ["icon"])
|
|
@@ -2062,15 +2062,15 @@ const Be = J("settings", () => {
|
|
|
2062
2062
|
}, 8, ["modelValue", "max-height", "prepend-icon"]);
|
|
2063
2063
|
};
|
|
2064
2064
|
}
|
|
2065
|
-
}),
|
|
2065
|
+
}), mn = /* @__PURE__ */ k({
|
|
2066
2066
|
__name: "VoSponsorshipsListItem",
|
|
2067
2067
|
setup(p) {
|
|
2068
2068
|
const e = D(!1);
|
|
2069
2069
|
return (i, n) => {
|
|
2070
|
-
const l =
|
|
2070
|
+
const l = pn, s = X;
|
|
2071
2071
|
return d(), v(s, {
|
|
2072
2072
|
active: e.value,
|
|
2073
|
-
"prepend-icon": `svg:${t(
|
|
2073
|
+
"prepend-icon": `svg:${t(Ht)}`,
|
|
2074
2074
|
title: "Sponsorships",
|
|
2075
2075
|
link: ""
|
|
2076
2076
|
}, {
|
|
@@ -2084,13 +2084,13 @@ const Be = J("settings", () => {
|
|
|
2084
2084
|
}, 8, ["active", "prepend-icon"]);
|
|
2085
2085
|
};
|
|
2086
2086
|
}
|
|
2087
|
-
}),
|
|
2087
|
+
}), fn = {
|
|
2088
2088
|
key: 0,
|
|
2089
2089
|
class: "pt-16"
|
|
2090
|
-
},
|
|
2090
|
+
}, vn = /* @__PURE__ */ h("div", { class: "text-medium-emphasis" }, " All caught up ", -1), _n = {
|
|
2091
2091
|
key: 1,
|
|
2092
2092
|
class: "pa-5"
|
|
2093
|
-
},
|
|
2093
|
+
}, hn = { class: "text-subtitle-1 font-weight-bold" }, gn = { class: "text-caption font-weight-bold text-medium-emphasis" }, bn = { class: "text-disabled text-caption mt-2 mb-3" }, yn = /* @__PURE__ */ k({
|
|
2094
2094
|
__name: "VoNotificationsBannerList",
|
|
2095
2095
|
props: {
|
|
2096
2096
|
items: {}
|
|
@@ -2105,20 +2105,20 @@ const Be = J("settings", () => {
|
|
|
2105
2105
|
}
|
|
2106
2106
|
return (r, c) => {
|
|
2107
2107
|
const f = Me("v-empty-state");
|
|
2108
|
-
return d(), v(
|
|
2108
|
+
return d(), v(ee, {
|
|
2109
2109
|
class: "py-0",
|
|
2110
2110
|
height: "100%",
|
|
2111
2111
|
lines: "three"
|
|
2112
2112
|
}, {
|
|
2113
2113
|
default: a(() => [
|
|
2114
|
-
r.items.length ? (d(),
|
|
2115
|
-
(d(!0),
|
|
2114
|
+
r.items.length ? (d(), L("div", _n, [
|
|
2115
|
+
(d(!0), L(U, null, oe(r.items, (u) => {
|
|
2116
2116
|
var m;
|
|
2117
|
-
return d(),
|
|
2117
|
+
return d(), L("div", {
|
|
2118
2118
|
key: u.slug,
|
|
2119
2119
|
class: "mb-4"
|
|
2120
2120
|
}, [
|
|
2121
|
-
o(
|
|
2121
|
+
o(M, {
|
|
2122
2122
|
color: u.metadata.color,
|
|
2123
2123
|
image: (m = u.metadata.images.bg) == null ? void 0 : m.url,
|
|
2124
2124
|
title: u.title,
|
|
@@ -2137,7 +2137,7 @@ const Be = J("settings", () => {
|
|
|
2137
2137
|
}, 1032, ["color", "image", "title"]),
|
|
2138
2138
|
o(Ce, null, {
|
|
2139
2139
|
default: a(({ props: b, isHovering: V }) => [
|
|
2140
|
-
o(
|
|
2140
|
+
o(qe, P(b, {
|
|
2141
2141
|
class: "px-8 pt-2 pb-4 position-relative",
|
|
2142
2142
|
rounded: "b",
|
|
2143
2143
|
border: ""
|
|
@@ -2147,11 +2147,11 @@ const Be = J("settings", () => {
|
|
|
2147
2147
|
text: l(u.slug) ? "Mark as unread" : "Mark as read",
|
|
2148
2148
|
location: "bottom"
|
|
2149
2149
|
}, {
|
|
2150
|
-
activator: a(({ props:
|
|
2150
|
+
activator: a(({ props: S }) => [
|
|
2151
2151
|
o($e, { "hide-on-leave": "" }, {
|
|
2152
2152
|
default: a(() => [
|
|
2153
|
-
xe(o(
|
|
2154
|
-
icon: `svg:${l(u.slug) ? t(
|
|
2153
|
+
xe(o(G, P(S, {
|
|
2154
|
+
icon: `svg:${l(u.slug) ? t(Ke) : t(Xe)}`,
|
|
2155
2155
|
class: "ms-auto float-right",
|
|
2156
2156
|
size: "small",
|
|
2157
2157
|
variant: "text",
|
|
@@ -2166,15 +2166,15 @@ const Be = J("settings", () => {
|
|
|
2166
2166
|
]),
|
|
2167
2167
|
_: 2
|
|
2168
2168
|
}, 1032, ["text"]),
|
|
2169
|
-
h("div",
|
|
2170
|
-
h("div",
|
|
2171
|
-
h("div",
|
|
2172
|
-
o(Y,
|
|
2169
|
+
h("div", hn, A(u.metadata.text), 1),
|
|
2170
|
+
h("div", gn, A(t(e).format(u.created_at, "fullDateWithWeekday")), 1),
|
|
2171
|
+
h("div", bn, A(u.metadata.subtext), 1),
|
|
2172
|
+
o(Y, P({
|
|
2173
2173
|
href: u.metadata.link.startsWith("http") ? u.metadata.link : void 0,
|
|
2174
2174
|
target: u.metadata.link.startsWith("http") ? "_blank" : void 0,
|
|
2175
2175
|
to: u.metadata.link.startsWith("http") ? void 0 : u.metadata.link
|
|
2176
2176
|
}, {
|
|
2177
|
-
"append-icon": `svg:${t(
|
|
2177
|
+
"append-icon": `svg:${t(ve)}`,
|
|
2178
2178
|
text: u.metadata.link_text,
|
|
2179
2179
|
size: "small",
|
|
2180
2180
|
variant: "text",
|
|
@@ -2182,7 +2182,7 @@ const Be = J("settings", () => {
|
|
|
2182
2182
|
label: ""
|
|
2183
2183
|
}), {
|
|
2184
2184
|
append: a(() => [
|
|
2185
|
-
o(
|
|
2185
|
+
o(I, { size: "12" })
|
|
2186
2186
|
]),
|
|
2187
2187
|
_: 2
|
|
2188
2188
|
}, 1040, ["append-icon", "text"])
|
|
@@ -2194,16 +2194,16 @@ const Be = J("settings", () => {
|
|
|
2194
2194
|
}, 1024)
|
|
2195
2195
|
]);
|
|
2196
2196
|
}), 128))
|
|
2197
|
-
])) : (d(),
|
|
2197
|
+
])) : (d(), L("div", fn, [
|
|
2198
2198
|
o(f, {
|
|
2199
2199
|
icon: "$vuetify",
|
|
2200
2200
|
size: "256"
|
|
2201
2201
|
}, {
|
|
2202
2202
|
media: a(() => [
|
|
2203
|
-
o(
|
|
2203
|
+
o(I, { color: "medium-emphasis" })
|
|
2204
2204
|
]),
|
|
2205
2205
|
title: a(() => [
|
|
2206
|
-
|
|
2206
|
+
vn
|
|
2207
2207
|
]),
|
|
2208
2208
|
_: 1
|
|
2209
2209
|
})
|
|
@@ -2213,10 +2213,10 @@ const Be = J("settings", () => {
|
|
|
2213
2213
|
});
|
|
2214
2214
|
};
|
|
2215
2215
|
}
|
|
2216
|
-
}),
|
|
2216
|
+
}), Vn = {
|
|
2217
2217
|
key: 0,
|
|
2218
2218
|
class: "pt-16"
|
|
2219
|
-
},
|
|
2219
|
+
}, kn = /* @__PURE__ */ h("div", { class: "text-medium-emphasis" }, " All caught up ", -1), xn = { class: "ps-3 text-subtitle-2 pe-2" }, $n = { class: "text-truncate" }, wn = { class: "text-caption font-weight-bold text-medium-emphasis" }, Sn = { class: "text-disabled text-caption my-2" }, Cn = /* @__PURE__ */ k({
|
|
2220
2220
|
__name: "VoNotificationsList",
|
|
2221
2221
|
props: {
|
|
2222
2222
|
items: {}
|
|
@@ -2231,25 +2231,25 @@ const Be = J("settings", () => {
|
|
|
2231
2231
|
}
|
|
2232
2232
|
return (r, c) => {
|
|
2233
2233
|
const f = Me("v-empty-state"), u = X;
|
|
2234
|
-
return d(), v(
|
|
2234
|
+
return d(), v(ee, {
|
|
2235
2235
|
class: "py-0",
|
|
2236
2236
|
height: "100%",
|
|
2237
2237
|
lines: "three"
|
|
2238
2238
|
}, {
|
|
2239
2239
|
default: a(() => [
|
|
2240
|
-
r.items.length ? (d(!0),
|
|
2240
|
+
r.items.length ? (d(!0), L(U, { key: 1 }, oe(r.items, (m, b) => (d(), v(Ce, {
|
|
2241
2241
|
key: m.slug
|
|
2242
2242
|
}, {
|
|
2243
|
-
default: a(({ isHovering: V, props:
|
|
2244
|
-
o(u,
|
|
2243
|
+
default: a(({ isHovering: V, props: S }) => [
|
|
2244
|
+
o(u, P(S, {
|
|
2245
2245
|
border: b !== 0 && "t",
|
|
2246
2246
|
class: "py-4 mb-0"
|
|
2247
2247
|
}), {
|
|
2248
2248
|
prepend: a(() => [
|
|
2249
|
-
h("div",
|
|
2249
|
+
h("div", xn, A(m.metadata.emoji), 1)
|
|
2250
2250
|
]),
|
|
2251
2251
|
append: a(() => [
|
|
2252
|
-
o(
|
|
2252
|
+
o(po, {
|
|
2253
2253
|
class: "mt-n3",
|
|
2254
2254
|
width: "56"
|
|
2255
2255
|
}, {
|
|
@@ -2261,13 +2261,13 @@ const Be = J("settings", () => {
|
|
|
2261
2261
|
activator: a(({ props: _ }) => [
|
|
2262
2262
|
o($e, { "hide-on-leave": "" }, {
|
|
2263
2263
|
default: a(() => [
|
|
2264
|
-
xe(o(
|
|
2265
|
-
icon: `svg:${l(m.slug) ? t(
|
|
2264
|
+
xe(o(G, P(_, {
|
|
2265
|
+
icon: `svg:${l(m.slug) ? t(Ke) : t(Xe)}`,
|
|
2266
2266
|
class: "ms-auto",
|
|
2267
2267
|
size: "small",
|
|
2268
2268
|
variant: "text",
|
|
2269
2269
|
"mdi-email-variant": "",
|
|
2270
|
-
onClick: (
|
|
2270
|
+
onClick: (y) => s(m)
|
|
2271
2271
|
}), null, 16, ["icon", "onClick"]), [
|
|
2272
2272
|
[Re, V || t(i).mobile.value]
|
|
2273
2273
|
])
|
|
@@ -2282,16 +2282,16 @@ const Be = J("settings", () => {
|
|
|
2282
2282
|
}, 1024)
|
|
2283
2283
|
]),
|
|
2284
2284
|
default: a(() => [
|
|
2285
|
-
o(
|
|
2285
|
+
o(et, { class: "text-wrap text-h6 mb-1" }, {
|
|
2286
2286
|
default: a(() => [
|
|
2287
|
-
h("div",
|
|
2287
|
+
h("div", $n, A(m.title), 1)
|
|
2288
2288
|
]),
|
|
2289
2289
|
_: 2
|
|
2290
2290
|
}, 1024),
|
|
2291
|
-
h("div",
|
|
2292
|
-
h("div",
|
|
2291
|
+
h("div", wn, A(t(e).format(m.created_at, "fullDateWithWeekday")), 1),
|
|
2292
|
+
h("div", Sn, A(m.metadata.text), 1),
|
|
2293
2293
|
o(Y, {
|
|
2294
|
-
"append-icon": `svg:${t(
|
|
2294
|
+
"append-icon": `svg:${t(ve)}`,
|
|
2295
2295
|
href: m.metadata.action,
|
|
2296
2296
|
text: m.metadata.action_text,
|
|
2297
2297
|
size: "small",
|
|
@@ -2302,7 +2302,7 @@ const Be = J("settings", () => {
|
|
|
2302
2302
|
onClick: (_) => s(m)
|
|
2303
2303
|
}, {
|
|
2304
2304
|
append: a(() => [
|
|
2305
|
-
o(
|
|
2305
|
+
o(I, { size: "12" })
|
|
2306
2306
|
]),
|
|
2307
2307
|
_: 2
|
|
2308
2308
|
}, 1032, ["append-icon", "href", "text", "onClick"])
|
|
@@ -2311,16 +2311,16 @@ const Be = J("settings", () => {
|
|
|
2311
2311
|
}, 1040, ["border"])
|
|
2312
2312
|
]),
|
|
2313
2313
|
_: 2
|
|
2314
|
-
}, 1024))), 128)) : (d(),
|
|
2314
|
+
}, 1024))), 128)) : (d(), L("div", Vn, [
|
|
2315
2315
|
o(f, {
|
|
2316
2316
|
icon: "$vuetify",
|
|
2317
2317
|
size: "256"
|
|
2318
2318
|
}, {
|
|
2319
2319
|
media: a(() => [
|
|
2320
|
-
o(
|
|
2320
|
+
o(I, { color: "medium-emphasis" })
|
|
2321
2321
|
]),
|
|
2322
2322
|
title: a(() => [
|
|
2323
|
-
|
|
2323
|
+
kn
|
|
2324
2324
|
]),
|
|
2325
2325
|
_: 1
|
|
2326
2326
|
})
|
|
@@ -2330,14 +2330,14 @@ const Be = J("settings", () => {
|
|
|
2330
2330
|
});
|
|
2331
2331
|
};
|
|
2332
2332
|
}
|
|
2333
|
-
}),
|
|
2334
|
-
const p =
|
|
2333
|
+
}), Ln = J("site", () => {
|
|
2334
|
+
const p = H([]), e = H();
|
|
2335
2335
|
return {
|
|
2336
2336
|
id: p,
|
|
2337
2337
|
url: e
|
|
2338
2338
|
};
|
|
2339
2339
|
}), Ne = J("banners", () => {
|
|
2340
|
-
const p =
|
|
2340
|
+
const p = ge(), e = Ln(), i = O(), n = H([]), l = D(!1), s = w(() => r.value ? r.value : n.value.find(({
|
|
2341
2341
|
slug: f,
|
|
2342
2342
|
metadata: {
|
|
2343
2343
|
site: u,
|
|
@@ -2367,7 +2367,7 @@ const Be = J("settings", () => {
|
|
|
2367
2367
|
banner: s,
|
|
2368
2368
|
get: c
|
|
2369
2369
|
};
|
|
2370
|
-
}),
|
|
2370
|
+
}), An = { class: "text-caption" }, In = { class: "text-caption" }, Dn = /* @__PURE__ */ k({
|
|
2371
2371
|
__name: "VoNotificationsDialog",
|
|
2372
2372
|
props: {
|
|
2373
2373
|
modelValue: { type: Boolean },
|
|
@@ -2375,31 +2375,31 @@ const Be = J("settings", () => {
|
|
|
2375
2375
|
},
|
|
2376
2376
|
emits: ["update:modelValue"],
|
|
2377
2377
|
setup(p) {
|
|
2378
|
-
const e = se(), i =
|
|
2378
|
+
const e = se(), i = ye(), n = Ne(), l = De(), s = j(), r = D(["read"]), c = le(p, "modelValue");
|
|
2379
2379
|
return N(i, async () => {
|
|
2380
2380
|
if (i.value.one !== "notifications") {
|
|
2381
2381
|
c.value && (c.value = !1);
|
|
2382
2382
|
return;
|
|
2383
2383
|
}
|
|
2384
|
-
s.isOpen = !0, await
|
|
2384
|
+
s.isOpen = !0, await fe(), c.value = !0;
|
|
2385
2385
|
}, { immediate: !0 }), (f, u) => {
|
|
2386
|
-
const m = X, b =
|
|
2387
|
-
return d(), v(
|
|
2386
|
+
const m = X, b = Cn, V = yn, S = Ue;
|
|
2387
|
+
return d(), v(S, {
|
|
2388
2388
|
modelValue: c.value,
|
|
2389
2389
|
"onUpdate:modelValue": u[2] || (u[2] = (_) => c.value = _),
|
|
2390
|
-
"prepend-icon": `svg:${t(
|
|
2390
|
+
"prepend-icon": `svg:${t(Et)}`,
|
|
2391
2391
|
title: "Notifications"
|
|
2392
2392
|
}, {
|
|
2393
2393
|
default: a(() => [
|
|
2394
|
-
o(
|
|
2394
|
+
o(Ae, null, {
|
|
2395
2395
|
default: a(() => [
|
|
2396
|
-
o(
|
|
2396
|
+
o(mo, {
|
|
2397
2397
|
location: t(e).mobile.value ? "top" : "start",
|
|
2398
2398
|
width: t(e).mobile.value ? 128 : 168,
|
|
2399
2399
|
permanent: ""
|
|
2400
2400
|
}, {
|
|
2401
2401
|
default: a(() => [
|
|
2402
|
-
o(
|
|
2402
|
+
o(ee, {
|
|
2403
2403
|
selected: r.value,
|
|
2404
2404
|
"onUpdate:selected": u[0] || (u[0] = (_) => r.value = _),
|
|
2405
2405
|
class: "px-4 pt-4",
|
|
@@ -2409,59 +2409,59 @@ const Be = J("settings", () => {
|
|
|
2409
2409
|
}, {
|
|
2410
2410
|
default: a(() => [
|
|
2411
2411
|
o(m, {
|
|
2412
|
-
"prepend-icon": `svg:${t(
|
|
2412
|
+
"prepend-icon": `svg:${t(Wt)}`,
|
|
2413
2413
|
title: "Unread",
|
|
2414
2414
|
value: "read"
|
|
2415
|
-
},
|
|
2415
|
+
}, W({ _: 2 }, [
|
|
2416
2416
|
t(l).unread.length > 0 ? {
|
|
2417
2417
|
name: "append",
|
|
2418
2418
|
fn: a(() => [
|
|
2419
|
-
h("span",
|
|
2419
|
+
h("span", An, A(t(l).unread.length), 1)
|
|
2420
2420
|
]),
|
|
2421
2421
|
key: "0"
|
|
2422
2422
|
} : void 0
|
|
2423
2423
|
]), 1032, ["prepend-icon"]),
|
|
2424
2424
|
o(m, {
|
|
2425
|
-
"prepend-icon": `svg:${t(
|
|
2425
|
+
"prepend-icon": `svg:${t(Gt)}`,
|
|
2426
2426
|
title: "Read",
|
|
2427
2427
|
value: "unread"
|
|
2428
|
-
},
|
|
2428
|
+
}, W({ _: 2 }, [
|
|
2429
2429
|
t(l).read.length > 0 ? {
|
|
2430
2430
|
name: "append",
|
|
2431
2431
|
fn: a(() => [
|
|
2432
|
-
h("span", In,
|
|
2432
|
+
h("span", In, A(t(l).read.length), 1)
|
|
2433
2433
|
]),
|
|
2434
2434
|
key: "0"
|
|
2435
2435
|
} : void 0
|
|
2436
2436
|
]), 1032, ["prepend-icon"]),
|
|
2437
2437
|
t(n).all.length > 0 ? (d(), v(m, {
|
|
2438
2438
|
key: 0,
|
|
2439
|
-
"prepend-icon": `svg:${t(
|
|
2439
|
+
"prepend-icon": `svg:${t(qt)}`,
|
|
2440
2440
|
title: "Banners",
|
|
2441
2441
|
value: "banners"
|
|
2442
2442
|
}, {
|
|
2443
2443
|
append: a(() => [
|
|
2444
|
-
o(
|
|
2444
|
+
o(He, {
|
|
2445
2445
|
"offset-y": "-3",
|
|
2446
2446
|
dot: ""
|
|
2447
2447
|
})
|
|
2448
2448
|
]),
|
|
2449
2449
|
_: 1
|
|
2450
|
-
}, 8, ["prepend-icon"])) :
|
|
2450
|
+
}, 8, ["prepend-icon"])) : x("", !0)
|
|
2451
2451
|
]),
|
|
2452
2452
|
_: 1
|
|
2453
2453
|
}, 8, ["selected"])
|
|
2454
2454
|
]),
|
|
2455
2455
|
_: 1
|
|
2456
2456
|
}, 8, ["location", "width"]),
|
|
2457
|
-
o(
|
|
2457
|
+
o(Ie, { scrollable: "" }, {
|
|
2458
2458
|
default: a(() => [
|
|
2459
2459
|
o(st, {
|
|
2460
2460
|
modelValue: r.value,
|
|
2461
2461
|
"onUpdate:modelValue": u[1] || (u[1] = (_) => r.value = _)
|
|
2462
2462
|
}, {
|
|
2463
2463
|
default: a(() => [
|
|
2464
|
-
o(
|
|
2464
|
+
o(de, { value: "read" }, {
|
|
2465
2465
|
default: a(() => [
|
|
2466
2466
|
o(b, {
|
|
2467
2467
|
items: t(l).unread
|
|
@@ -2469,7 +2469,7 @@ const Be = J("settings", () => {
|
|
|
2469
2469
|
]),
|
|
2470
2470
|
_: 1
|
|
2471
2471
|
}),
|
|
2472
|
-
o(
|
|
2472
|
+
o(de, { value: "unread" }, {
|
|
2473
2473
|
default: a(() => [
|
|
2474
2474
|
o(b, {
|
|
2475
2475
|
items: t(l).read
|
|
@@ -2477,7 +2477,7 @@ const Be = J("settings", () => {
|
|
|
2477
2477
|
]),
|
|
2478
2478
|
_: 1
|
|
2479
2479
|
}),
|
|
2480
|
-
o(
|
|
2480
|
+
o(de, { value: "banners" }, {
|
|
2481
2481
|
default: a(() => [
|
|
2482
2482
|
o(V, {
|
|
2483
2483
|
items: t(n).all
|
|
@@ -2499,36 +2499,36 @@ const Be = J("settings", () => {
|
|
|
2499
2499
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
2500
2500
|
};
|
|
2501
2501
|
}
|
|
2502
|
-
}),
|
|
2502
|
+
}), Un = /* @__PURE__ */ k({
|
|
2503
2503
|
__name: "VoNotificationsBadge",
|
|
2504
2504
|
setup(p) {
|
|
2505
2505
|
const e = De(), i = O();
|
|
2506
|
-
return (n, l) => (d(), v(
|
|
2506
|
+
return (n, l) => (d(), v(He, {
|
|
2507
2507
|
content: t(e).unread.length,
|
|
2508
2508
|
"model-value": t(i).notifications.show && t(e).unread.length > 0,
|
|
2509
2509
|
color: "error"
|
|
2510
2510
|
}, {
|
|
2511
2511
|
default: a(() => [
|
|
2512
|
-
|
|
2512
|
+
R(n.$slots, "default")
|
|
2513
2513
|
]),
|
|
2514
2514
|
_: 3
|
|
2515
2515
|
}, 8, ["content", "model-value"]));
|
|
2516
2516
|
}
|
|
2517
|
-
}),
|
|
2517
|
+
}), Bn = /* @__PURE__ */ k({
|
|
2518
2518
|
__name: "VoNotificationsListItem",
|
|
2519
2519
|
setup(p) {
|
|
2520
2520
|
const e = Ne(), i = O(), n = De(), l = D(!1);
|
|
2521
|
-
return
|
|
2521
|
+
return vt(async () => {
|
|
2522
2522
|
n.get(), e.get();
|
|
2523
2523
|
}), (s, r) => {
|
|
2524
|
-
const c =
|
|
2524
|
+
const c = Un, f = Dn, u = X;
|
|
2525
2525
|
return t(i).notifications.show ? (d(), v(u, {
|
|
2526
2526
|
key: 0,
|
|
2527
2527
|
active: l.value,
|
|
2528
|
-
"prepend-icon": `svg:${t(
|
|
2528
|
+
"prepend-icon": `svg:${t(Yt)}`,
|
|
2529
2529
|
title: "Notifications",
|
|
2530
2530
|
link: ""
|
|
2531
|
-
},
|
|
2531
|
+
}, W({
|
|
2532
2532
|
default: a(() => [
|
|
2533
2533
|
o(f, {
|
|
2534
2534
|
modelValue: l.value,
|
|
@@ -2542,37 +2542,37 @@ const Be = J("settings", () => {
|
|
|
2542
2542
|
fn: a(() => [
|
|
2543
2543
|
o(c, null, {
|
|
2544
2544
|
default: a(() => [
|
|
2545
|
-
o(
|
|
2545
|
+
o(I)
|
|
2546
2546
|
]),
|
|
2547
2547
|
_: 1
|
|
2548
2548
|
})
|
|
2549
2549
|
]),
|
|
2550
2550
|
key: "0"
|
|
2551
2551
|
} : void 0
|
|
2552
|
-
]), 1032, ["active", "prepend-icon"])) :
|
|
2552
|
+
]), 1032, ["active", "prepend-icon"])) : x("", !0);
|
|
2553
2553
|
};
|
|
2554
2554
|
}
|
|
2555
|
-
}),
|
|
2555
|
+
}), Nn = /* @__PURE__ */ k({
|
|
2556
2556
|
__name: "VoDashboardListItem",
|
|
2557
2557
|
setup(p) {
|
|
2558
2558
|
const e = j();
|
|
2559
2559
|
return (i, n) => {
|
|
2560
2560
|
const l = X;
|
|
2561
2561
|
return d(), v(l, {
|
|
2562
|
-
"prepend-icon": `svg:${t(
|
|
2562
|
+
"prepend-icon": `svg:${t(Zt)}`,
|
|
2563
2563
|
title: "Dashboard",
|
|
2564
2564
|
to: "/user/dashboard",
|
|
2565
2565
|
onClick: n[0] || (n[0] = (s) => t(e).isOpen = !1)
|
|
2566
2566
|
}, null, 8, ["prepend-icon"]);
|
|
2567
2567
|
};
|
|
2568
2568
|
}
|
|
2569
|
-
}),
|
|
2569
|
+
}), On = /* @__PURE__ */ k({
|
|
2570
2570
|
__name: "VoUserList",
|
|
2571
2571
|
setup(p) {
|
|
2572
2572
|
const e = F();
|
|
2573
2573
|
return (i, n) => {
|
|
2574
|
-
const l =
|
|
2575
|
-
return d(), v(
|
|
2574
|
+
const l = Nn, s = Bn, r = mn, c = en, f = Do, u = wo;
|
|
2575
|
+
return d(), v(ee, {
|
|
2576
2576
|
density: "compact",
|
|
2577
2577
|
nav: "",
|
|
2578
2578
|
slim: ""
|
|
@@ -2581,15 +2581,15 @@ const Be = J("settings", () => {
|
|
|
2581
2581
|
o(l),
|
|
2582
2582
|
o(s),
|
|
2583
2583
|
o(r),
|
|
2584
|
-
t(e).user ? (d(), v(c, { key: 0 })) :
|
|
2584
|
+
t(e).user ? (d(), v(c, { key: 0 })) : x("", !0),
|
|
2585
2585
|
o(f),
|
|
2586
|
-
t(e).user ? (d(), v(u, { key: 1 })) :
|
|
2586
|
+
t(e).user ? (d(), v(u, { key: 1 })) : x("", !0)
|
|
2587
2587
|
]),
|
|
2588
2588
|
_: 1
|
|
2589
2589
|
});
|
|
2590
2590
|
};
|
|
2591
2591
|
}
|
|
2592
|
-
}),
|
|
2592
|
+
}), Fn = { key: 0 }, zn = { class: "d-flex align-center justify-center pa-1 ga-2" }, jn = /* @__PURE__ */ k({
|
|
2593
2593
|
__name: "VoUserQuickActions",
|
|
2594
2594
|
setup(p) {
|
|
2595
2595
|
const e = O(), i = [
|
|
@@ -2598,11 +2598,11 @@ const Be = J("settings", () => {
|
|
|
2598
2598
|
"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
2599
|
["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
2600
|
];
|
|
2601
|
-
return (n, l) => (d(), v(
|
|
2601
|
+
return (n, l) => (d(), v(he, null, {
|
|
2602
2602
|
default: a(() => [
|
|
2603
|
-
t(e).quickbar ? (d(),
|
|
2604
|
-
h("div",
|
|
2605
|
-
o(
|
|
2603
|
+
t(e).quickbar ? (d(), L("div", Fn, [
|
|
2604
|
+
h("div", zn, [
|
|
2605
|
+
o(G, {
|
|
2606
2606
|
color: t(e).colors.one,
|
|
2607
2607
|
class: "text-caption",
|
|
2608
2608
|
density: "comfortable",
|
|
@@ -2611,7 +2611,7 @@ const Be = J("settings", () => {
|
|
|
2611
2611
|
target: "_blank"
|
|
2612
2612
|
}, {
|
|
2613
2613
|
default: a(() => [
|
|
2614
|
-
o(
|
|
2614
|
+
o(I),
|
|
2615
2615
|
o(Q, {
|
|
2616
2616
|
activator: "parent",
|
|
2617
2617
|
location: "top",
|
|
@@ -2620,7 +2620,7 @@ const Be = J("settings", () => {
|
|
|
2620
2620
|
]),
|
|
2621
2621
|
_: 1
|
|
2622
2622
|
}, 8, ["color"]),
|
|
2623
|
-
o(
|
|
2623
|
+
o(G, {
|
|
2624
2624
|
color: t(e).colors.one,
|
|
2625
2625
|
icon: i,
|
|
2626
2626
|
class: "text-caption",
|
|
@@ -2629,7 +2629,7 @@ const Be = J("settings", () => {
|
|
|
2629
2629
|
target: "_blank"
|
|
2630
2630
|
}, {
|
|
2631
2631
|
default: a(() => [
|
|
2632
|
-
o(
|
|
2632
|
+
o(I),
|
|
2633
2633
|
o(Q, {
|
|
2634
2634
|
activator: "parent",
|
|
2635
2635
|
location: "top",
|
|
@@ -2638,16 +2638,16 @@ const Be = J("settings", () => {
|
|
|
2638
2638
|
]),
|
|
2639
2639
|
_: 1
|
|
2640
2640
|
}, 8, ["color"]),
|
|
2641
|
-
o(
|
|
2641
|
+
o(G, {
|
|
2642
2642
|
color: t(e).colors.one,
|
|
2643
|
-
icon: `svg:${t(
|
|
2643
|
+
icon: `svg:${t(Qt)}`,
|
|
2644
2644
|
class: "text-caption",
|
|
2645
2645
|
density: "comfortable",
|
|
2646
2646
|
href: "https://issues.vuetifyjs.com",
|
|
2647
2647
|
target: "_blank"
|
|
2648
2648
|
}, {
|
|
2649
2649
|
default: a(() => [
|
|
2650
|
-
o(
|
|
2650
|
+
o(I),
|
|
2651
2651
|
o(Q, {
|
|
2652
2652
|
activator: "parent",
|
|
2653
2653
|
location: "top",
|
|
@@ -2657,12 +2657,12 @@ const Be = J("settings", () => {
|
|
|
2657
2657
|
_: 1
|
|
2658
2658
|
}, 8, ["color", "icon"])
|
|
2659
2659
|
])
|
|
2660
|
-
])) :
|
|
2660
|
+
])) : x("", !0)
|
|
2661
2661
|
]),
|
|
2662
2662
|
_: 1
|
|
2663
2663
|
}));
|
|
2664
2664
|
}
|
|
2665
|
-
}),
|
|
2665
|
+
}), Tn = { class: "mb-2" }, Mn = { key: 0 }, Rn = { class: "d-flex ga-4 flex-wrap justify-center mb-4" }, Pn = { class: "text-h6" }, Hn = /* @__PURE__ */ k({
|
|
2666
2666
|
__name: "VoUserAvatar",
|
|
2667
2667
|
setup(p) {
|
|
2668
2668
|
const e = F(), i = O(), n = D(!1), l = w(() => {
|
|
@@ -2692,9 +2692,9 @@ const Be = J("settings", () => {
|
|
|
2692
2692
|
}
|
|
2693
2693
|
return (c, f) => {
|
|
2694
2694
|
var u;
|
|
2695
|
-
return d(),
|
|
2695
|
+
return d(), L("div", null, [
|
|
2696
2696
|
xe((d(), v(ne, {
|
|
2697
|
-
class:
|
|
2697
|
+
class: _t([
|
|
2698
2698
|
"border-md border-opacity-100 border-surface-variant",
|
|
2699
2699
|
{
|
|
2700
2700
|
"cursor-pointer": t(e).isSubscriber
|
|
@@ -2710,7 +2710,7 @@ const Be = J("settings", () => {
|
|
|
2710
2710
|
key: 0,
|
|
2711
2711
|
src: t(i).avatar,
|
|
2712
2712
|
alt: "User avatar"
|
|
2713
|
-
}, null, 8, ["src"])) : (d(), v(
|
|
2713
|
+
}, null, 8, ["src"])) : (d(), v(I, {
|
|
2714
2714
|
key: 1,
|
|
2715
2715
|
class: "mt-1",
|
|
2716
2716
|
icon: "$vuetify",
|
|
@@ -2719,20 +2719,20 @@ const Be = J("settings", () => {
|
|
|
2719
2719
|
]),
|
|
2720
2720
|
_: 1
|
|
2721
2721
|
}, 8, ["class"])), [
|
|
2722
|
-
[
|
|
2722
|
+
[fo, t(e).isSubscriber]
|
|
2723
2723
|
]),
|
|
2724
|
-
h("div",
|
|
2725
|
-
o(
|
|
2724
|
+
h("div", Tn, [
|
|
2725
|
+
o(he, null, {
|
|
2726
2726
|
default: a(() => [
|
|
2727
|
-
n.value ? (d(),
|
|
2728
|
-
o(
|
|
2727
|
+
n.value ? (d(), L("div", Mn, [
|
|
2728
|
+
o(M, {
|
|
2729
2729
|
class: "pt-6 pb-1",
|
|
2730
2730
|
rounded: "0",
|
|
2731
2731
|
flat: ""
|
|
2732
2732
|
}, {
|
|
2733
2733
|
default: a(() => [
|
|
2734
|
-
h("div",
|
|
2735
|
-
(d(!0),
|
|
2734
|
+
h("div", Rn, [
|
|
2735
|
+
(d(!0), L(U, null, oe(l.value, (m, b) => (d(), v(G, {
|
|
2736
2736
|
key: b,
|
|
2737
2737
|
active: t(i).avatar === m,
|
|
2738
2738
|
variant: "flat",
|
|
@@ -2751,23 +2751,23 @@ const Be = J("settings", () => {
|
|
|
2751
2751
|
]),
|
|
2752
2752
|
_: 1
|
|
2753
2753
|
})
|
|
2754
|
-
])) :
|
|
2754
|
+
])) : x("", !0)
|
|
2755
2755
|
]),
|
|
2756
2756
|
_: 1
|
|
2757
2757
|
})
|
|
2758
2758
|
]),
|
|
2759
|
-
h("div",
|
|
2759
|
+
h("div", Pn, A(((u = t(e).user) == null ? void 0 : u.name) ?? "Guest"), 1)
|
|
2760
2760
|
]);
|
|
2761
2761
|
};
|
|
2762
2762
|
}
|
|
2763
|
-
}),
|
|
2763
|
+
}), En = /* @__PURE__ */ k({
|
|
2764
2764
|
__name: "VoUserBadges",
|
|
2765
2765
|
setup(p) {
|
|
2766
2766
|
const e = F(), i = j(), n = w(() => {
|
|
2767
2767
|
var l;
|
|
2768
2768
|
return i.github || i.discord || i.isSubscriber || ((l = e.user) == null ? void 0 : l.isAdmin);
|
|
2769
2769
|
});
|
|
2770
|
-
return (l, s) => n.value ? (d(), v(
|
|
2770
|
+
return (l, s) => n.value ? (d(), v(qe, {
|
|
2771
2771
|
key: 0,
|
|
2772
2772
|
class: "align-center position-absolute ms-2 d-flex ga-2 pa-2",
|
|
2773
2773
|
color: "rgba(0,0,0,.54)",
|
|
@@ -2783,61 +2783,61 @@ const Be = J("settings", () => {
|
|
|
2783
2783
|
text: "Vuetify Administrator"
|
|
2784
2784
|
}, {
|
|
2785
2785
|
activator: a(({ props: c }) => [
|
|
2786
|
-
o(
|
|
2786
|
+
o(I, P({
|
|
2787
2787
|
color: "blue",
|
|
2788
2788
|
icon: "$vuetify"
|
|
2789
2789
|
}, c, { size: "16" }), null, 16)
|
|
2790
2790
|
]),
|
|
2791
2791
|
_: 1
|
|
2792
|
-
})) :
|
|
2792
|
+
})) : x("", !0),
|
|
2793
2793
|
t(i).isSubscriber ? (d(), v(Q, {
|
|
2794
2794
|
key: 1,
|
|
2795
2795
|
location: "bottom",
|
|
2796
2796
|
text: "Vuetify One Subscriber"
|
|
2797
2797
|
}, {
|
|
2798
2798
|
activator: a(({ props: c }) => [
|
|
2799
|
-
o(
|
|
2800
|
-
icon: `svg:${t(
|
|
2799
|
+
o(I, P({
|
|
2800
|
+
icon: `svg:${t(Jt)}`,
|
|
2801
2801
|
color: "amber-darken-2"
|
|
2802
2802
|
}, c, { size: "16" }), null, 16, ["icon"])
|
|
2803
2803
|
]),
|
|
2804
2804
|
_: 1
|
|
2805
|
-
})) :
|
|
2805
|
+
})) : x("", !0),
|
|
2806
2806
|
t(i).github ? (d(), v(Q, {
|
|
2807
2807
|
key: 2,
|
|
2808
2808
|
location: "bottom",
|
|
2809
2809
|
text: "GitHub Sponsor"
|
|
2810
2810
|
}, {
|
|
2811
2811
|
activator: a(({ props: c }) => [
|
|
2812
|
-
o(
|
|
2813
|
-
icon: `svg:${t(
|
|
2812
|
+
o(I, P({
|
|
2813
|
+
icon: `svg:${t(We)}`,
|
|
2814
2814
|
color: "white"
|
|
2815
2815
|
}, c, { size: "16" }), null, 16, ["icon"])
|
|
2816
2816
|
]),
|
|
2817
2817
|
_: 1
|
|
2818
|
-
})) :
|
|
2818
|
+
})) : x("", !0),
|
|
2819
2819
|
t(i).discord ? (d(), v(Q, {
|
|
2820
2820
|
key: 3,
|
|
2821
2821
|
location: "bottom",
|
|
2822
2822
|
text: "Discord Subscriber"
|
|
2823
2823
|
}, {
|
|
2824
2824
|
activator: a(({ props: c }) => [
|
|
2825
|
-
o(
|
|
2826
|
-
icon: `svg:${t(
|
|
2825
|
+
o(I, P({
|
|
2826
|
+
icon: `svg:${t(Ee)}`,
|
|
2827
2827
|
color: "white"
|
|
2828
2828
|
}, c, { size: "16" }), null, 16, ["icon"])
|
|
2829
2829
|
]),
|
|
2830
2830
|
_: 1
|
|
2831
|
-
})) :
|
|
2831
|
+
})) : x("", !0)
|
|
2832
2832
|
];
|
|
2833
2833
|
}),
|
|
2834
2834
|
_: 1
|
|
2835
|
-
})) :
|
|
2835
|
+
})) : x("", !0);
|
|
2836
2836
|
}
|
|
2837
|
-
}),
|
|
2837
|
+
}), Wn = { class: "d-flex flex-grow-1 justify-end fill-height align-start" }, Gn = {
|
|
2838
2838
|
key: "reset",
|
|
2839
2839
|
class: "align-self-end"
|
|
2840
|
-
},
|
|
2840
|
+
}, qn = /* @__PURE__ */ k({
|
|
2841
2841
|
__name: "VoUserColors",
|
|
2842
2842
|
setup(p) {
|
|
2843
2843
|
const e = F(), i = O(), n = D(!1);
|
|
@@ -2845,8 +2845,8 @@ const Be = J("settings", () => {
|
|
|
2845
2845
|
i.colors.one = "surface-light";
|
|
2846
2846
|
}
|
|
2847
2847
|
return (s, r) => {
|
|
2848
|
-
const c =
|
|
2849
|
-
return d(),
|
|
2848
|
+
const c = En, f = ae;
|
|
2849
|
+
return d(), L(U, null, [
|
|
2850
2850
|
o(Le, {
|
|
2851
2851
|
color: t(e).user ? t(i).colors.one : "surface-light",
|
|
2852
2852
|
"content-class": "d-flex align-start justify-end pa-2",
|
|
@@ -2856,7 +2856,7 @@ const Be = J("settings", () => {
|
|
|
2856
2856
|
flat: ""
|
|
2857
2857
|
}, {
|
|
2858
2858
|
default: a(() => [
|
|
2859
|
-
h("div",
|
|
2859
|
+
h("div", Wn, [
|
|
2860
2860
|
o(c),
|
|
2861
2861
|
t(e).isSubscriber ? (d(), v(f, {
|
|
2862
2862
|
key: 0,
|
|
@@ -2872,7 +2872,7 @@ const Be = J("settings", () => {
|
|
|
2872
2872
|
default: a(() => [
|
|
2873
2873
|
o($e, { "leave-absolute": "" }, {
|
|
2874
2874
|
default: a(() => [
|
|
2875
|
-
(d(), v(
|
|
2875
|
+
(d(), v(I, {
|
|
2876
2876
|
key: String(n.value)
|
|
2877
2877
|
}))
|
|
2878
2878
|
]),
|
|
@@ -2880,13 +2880,13 @@ const Be = J("settings", () => {
|
|
|
2880
2880
|
})
|
|
2881
2881
|
]),
|
|
2882
2882
|
_: 1
|
|
2883
|
-
}, 8, ["active", "icon", "variant"])) :
|
|
2884
|
-
o(
|
|
2883
|
+
}, 8, ["active", "icon", "variant"])) : x("", !0),
|
|
2884
|
+
o(ao, null, {
|
|
2885
2885
|
default: a(() => [
|
|
2886
|
-
xe(h("div",
|
|
2886
|
+
xe(h("div", Gn, [
|
|
2887
2887
|
o(f, {
|
|
2888
2888
|
disabled: t(i).colors.one === "surface-light",
|
|
2889
|
-
icon: `svg:${t(
|
|
2889
|
+
icon: `svg:${t(Xt)}`,
|
|
2890
2890
|
class: "ms-2 me-1",
|
|
2891
2891
|
color: "inherit",
|
|
2892
2892
|
density: "comfortable",
|
|
@@ -2904,9 +2904,9 @@ const Be = J("settings", () => {
|
|
|
2904
2904
|
]),
|
|
2905
2905
|
_: 1
|
|
2906
2906
|
}, 8, ["color"]),
|
|
2907
|
-
o(
|
|
2907
|
+
o(he, null, {
|
|
2908
2908
|
default: a(() => [
|
|
2909
|
-
n.value ? (d(), v(
|
|
2909
|
+
n.value ? (d(), v(vo, {
|
|
2910
2910
|
key: 0,
|
|
2911
2911
|
"model-value": t(i).colors.one !== "surface-light" ? t(i).colors.one : void 0,
|
|
2912
2912
|
elevation: "0",
|
|
@@ -2919,23 +2919,23 @@ const Be = J("settings", () => {
|
|
|
2919
2919
|
"hide-sliders": "",
|
|
2920
2920
|
"show-swatches": "",
|
|
2921
2921
|
"onUpdate:modelValue": r[1] || (r[1] = (u) => t(i).colors.one = u)
|
|
2922
|
-
}, null, 8, ["model-value"])) :
|
|
2922
|
+
}, null, 8, ["model-value"])) : x("", !0)
|
|
2923
2923
|
]),
|
|
2924
2924
|
_: 1
|
|
2925
2925
|
})
|
|
2926
2926
|
], 64);
|
|
2927
2927
|
};
|
|
2928
2928
|
}
|
|
2929
|
-
}),
|
|
2929
|
+
}), Yn = { class: "text-center mt-n9 mb-4" }, Zn = /* @__PURE__ */ k({
|
|
2930
2930
|
__name: "VoUserMenu",
|
|
2931
2931
|
setup(p) {
|
|
2932
|
-
const e = Ne(), i = j(), n =
|
|
2932
|
+
const e = Ne(), i = j(), n = H();
|
|
2933
2933
|
return N(() => e.banner, async () => {
|
|
2934
2934
|
var l, s;
|
|
2935
2935
|
await new Promise((r) => setTimeout(r, 300)), i.isOpen && ((s = (l = n.value) == null ? void 0 : l.updateLocation) == null || s.call(l));
|
|
2936
2936
|
}, { flush: "pre" }), (l, s) => {
|
|
2937
|
-
const r =
|
|
2938
|
-
return d(), v(t(
|
|
2937
|
+
const r = qn, c = Hn, f = jn, u = On, m = lt;
|
|
2938
|
+
return d(), v(t(_o), {
|
|
2939
2939
|
ref_key: "menu",
|
|
2940
2940
|
ref: n,
|
|
2941
2941
|
modelValue: t(i).isOpen,
|
|
@@ -2947,20 +2947,20 @@ const Be = J("settings", () => {
|
|
|
2947
2947
|
eager: ""
|
|
2948
2948
|
}, {
|
|
2949
2949
|
default: a(() => [
|
|
2950
|
-
o(
|
|
2950
|
+
o(M, {
|
|
2951
2951
|
rounded: "lg",
|
|
2952
2952
|
width: "280",
|
|
2953
2953
|
border: ""
|
|
2954
2954
|
}, {
|
|
2955
2955
|
default: a(() => [
|
|
2956
2956
|
o(r),
|
|
2957
|
-
h("div",
|
|
2957
|
+
h("div", Yn, [
|
|
2958
2958
|
o(c),
|
|
2959
2959
|
o(f)
|
|
2960
2960
|
]),
|
|
2961
|
-
o(
|
|
2961
|
+
o(E),
|
|
2962
2962
|
o(u),
|
|
2963
|
-
o(
|
|
2963
|
+
o(E),
|
|
2964
2964
|
o(m)
|
|
2965
2965
|
]),
|
|
2966
2966
|
_: 1
|
|
@@ -2970,7 +2970,7 @@ const Be = J("settings", () => {
|
|
|
2970
2970
|
}, 8, ["modelValue"]);
|
|
2971
2971
|
};
|
|
2972
2972
|
}
|
|
2973
|
-
}),
|
|
2973
|
+
}), Qn = { key: 0 }, Jn = /* @__PURE__ */ k({
|
|
2974
2974
|
__name: "VoAuthBtn",
|
|
2975
2975
|
props: {
|
|
2976
2976
|
external: Boolean
|
|
@@ -2978,13 +2978,13 @@ const Be = J("settings", () => {
|
|
|
2978
2978
|
setup(p) {
|
|
2979
2979
|
const e = F(), i = j(), n = O(), { lgAndUp: l, mdAndDown: s } = se(), r = w(() => i.isOpen || !e.user ? n.colors.one === "surface-light" ? "primary" : n.colors.one : "surface-light");
|
|
2980
2980
|
return (c, f) => {
|
|
2981
|
-
const u =
|
|
2981
|
+
const u = Zn, m = ae, b = bo;
|
|
2982
2982
|
return d(), v(b, {
|
|
2983
2983
|
"offset-y": t(e).user ? 5 : 0
|
|
2984
2984
|
}, {
|
|
2985
2985
|
default: a(() => [
|
|
2986
|
-
o(m,
|
|
2987
|
-
[`${t(l) ? "append-" : ""}icon`]: t(e).user ? void 0 : `svg:${t(
|
|
2986
|
+
o(m, P({
|
|
2987
|
+
[`${t(l) ? "append-" : ""}icon`]: t(e).user ? void 0 : `svg:${t(Kt)}`
|
|
2988
2988
|
}, {
|
|
2989
2989
|
color: r.value,
|
|
2990
2990
|
icon: t(e).user || t(e).isLoading,
|
|
@@ -2997,11 +2997,11 @@ const Be = J("settings", () => {
|
|
|
2997
2997
|
active: ""
|
|
2998
2998
|
}), {
|
|
2999
2999
|
default: a(() => [
|
|
3000
|
-
t(e).user ?
|
|
3000
|
+
t(e).user ? x("", !0) : (d(), L("span", Qn, "Login")),
|
|
3001
3001
|
t(e).user ? (d(), v(ne, {
|
|
3002
3002
|
key: 1,
|
|
3003
3003
|
image: t(n).avatar || t(e).user.picture || ""
|
|
3004
|
-
}, null, 8, ["image"])) :
|
|
3004
|
+
}, null, 8, ["image"])) : x("", !0),
|
|
3005
3005
|
o(u)
|
|
3006
3006
|
]),
|
|
3007
3007
|
_: 1
|
|
@@ -3011,63 +3011,77 @@ const Be = J("settings", () => {
|
|
|
3011
3011
|
}, 8, ["offset-y"]);
|
|
3012
3012
|
};
|
|
3013
3013
|
}
|
|
3014
|
-
}),
|
|
3015
|
-
__name: "
|
|
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
3016
|
setup(p) {
|
|
3017
3017
|
const e = F();
|
|
3018
3018
|
return (i, n) => {
|
|
3019
3019
|
const l = it, s = at;
|
|
3020
|
-
return d(), v(
|
|
3021
|
-
|
|
3022
|
-
"onUpdate:modelValue": n[0] || (n[0] = (r) => t(e).dialog = r),
|
|
3020
|
+
return d(), v(M, {
|
|
3021
|
+
class: "pt-6 pb-8 px-4 px-sm-8 mx-auto",
|
|
3023
3022
|
"max-width": "480"
|
|
3024
3023
|
}, {
|
|
3025
3024
|
default: a(() => [
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
]),
|
|
3039
|
-
_: 1
|
|
3040
|
-
}),
|
|
3041
|
-
o(oo, { class: "text-wrap" }, {
|
|
3042
|
-
default: a(() => [
|
|
3043
|
-
B(" Login with GitHub or Discord to save your settings and unlock exclusive subscriber perks. ")
|
|
3044
|
-
]),
|
|
3045
|
-
_: 1
|
|
3046
|
-
})
|
|
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
|
|
3047
3037
|
]),
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3038
|
+
_: 1
|
|
3039
|
+
}),
|
|
3040
|
+
o(so, { class: "text-wrap" }, {
|
|
3041
|
+
default: a(() => [
|
|
3042
|
+
B(" Login with GitHub or Discord to save your settings and unlock exclusive subscriber perks. ")
|
|
3043
|
+
]),
|
|
3044
|
+
_: 1
|
|
3045
|
+
})
|
|
3046
|
+
]),
|
|
3047
|
+
o(ee, {
|
|
3048
|
+
class: "mx-auto",
|
|
3049
|
+
"max-width": "300",
|
|
3050
|
+
width: "100%"
|
|
3051
|
+
}, {
|
|
3052
|
+
default: a(() => [
|
|
3053
|
+
o(l, { class: "mb-3" }),
|
|
3054
|
+
o(s)
|
|
3059
3055
|
]),
|
|
3060
3056
|
_: 1
|
|
3061
3057
|
})
|
|
3062
3058
|
]),
|
|
3063
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
|
|
3064
3078
|
}, 8, ["modelValue"]);
|
|
3065
3079
|
};
|
|
3066
3080
|
}
|
|
3067
|
-
}),
|
|
3081
|
+
}), ns = /* @__PURE__ */ k({
|
|
3068
3082
|
__name: "VoNotificationsBanner",
|
|
3069
3083
|
setup(p) {
|
|
3070
|
-
const { mdAndUp: e } = se(), i =
|
|
3084
|
+
const { mdAndUp: e } = se(), i = Pe(), n = O(), l = Ne(), s = w(() => l.banner), r = w(() => {
|
|
3071
3085
|
var b, V;
|
|
3072
3086
|
return ((b = s.value) == null ? void 0 : b.metadata.height) || ((V = s.value) != null && V.metadata.subtext ? 88 : 48);
|
|
3073
3087
|
}), c = w(() => !s.value || !n.notifications.last.banner.includes(s.value.slug));
|
|
@@ -3078,51 +3092,51 @@ const Be = J("settings", () => {
|
|
|
3078
3092
|
var _;
|
|
3079
3093
|
if (!s.value)
|
|
3080
3094
|
return;
|
|
3081
|
-
f(), await
|
|
3095
|
+
f(), await fe();
|
|
3082
3096
|
const V = ((_ = s.value) == null ? void 0 : _.metadata) ?? { link: "" };
|
|
3083
3097
|
if (V.link.indexOf("?one=") === -1)
|
|
3084
3098
|
return;
|
|
3085
3099
|
b.preventDefault(), b.stopPropagation();
|
|
3086
|
-
const
|
|
3087
|
-
i.push({ query: { one:
|
|
3100
|
+
const S = V.link.split("?one=")[1];
|
|
3101
|
+
i.push({ query: { one: S } });
|
|
3088
3102
|
}
|
|
3089
3103
|
const m = w(() => {
|
|
3090
|
-
var V,
|
|
3104
|
+
var V, S;
|
|
3091
3105
|
const b = ((V = s.value) == null ? void 0 : V.metadata) ?? { link: "" };
|
|
3092
3106
|
return {
|
|
3093
3107
|
href: b.link.startsWith("http") ? b.link : void 0,
|
|
3094
3108
|
target: b.link.startsWith("http") ? "_blank" : void 0,
|
|
3095
3109
|
to: b.link.startsWith("http") ? void 0 : b.link,
|
|
3096
|
-
...(
|
|
3110
|
+
...(S = s.value) == null ? void 0 : S.metadata.attributes,
|
|
3097
3111
|
onClick: u
|
|
3098
3112
|
};
|
|
3099
3113
|
});
|
|
3100
3114
|
return (b, V) => {
|
|
3101
|
-
var
|
|
3102
|
-
return s.value ? (d(), v(
|
|
3115
|
+
var S;
|
|
3116
|
+
return s.value ? (d(), v(ho, {
|
|
3103
3117
|
key: 0,
|
|
3104
3118
|
color: s.value.metadata.color,
|
|
3105
3119
|
height: r.value,
|
|
3106
|
-
image: (
|
|
3120
|
+
image: (S = s.value.metadata.images.bg) == null ? void 0 : S.url,
|
|
3107
3121
|
"model-value": c.value,
|
|
3108
3122
|
theme: s.value.metadata.theme.key,
|
|
3109
3123
|
flat: ""
|
|
3110
3124
|
}, {
|
|
3111
3125
|
default: a(() => [
|
|
3112
|
-
o(
|
|
3126
|
+
o(_e, P(m.value, {
|
|
3113
3127
|
active: !1,
|
|
3114
3128
|
class: "flex-grow-1",
|
|
3115
3129
|
lines: "two",
|
|
3116
3130
|
onClick: u
|
|
3117
|
-
}),
|
|
3131
|
+
}), W({
|
|
3118
3132
|
append: a(() => [
|
|
3119
3133
|
t(e) && s.value.metadata.link && s.value.metadata.link_text ? (d(), v(Ce, { key: 0 }, {
|
|
3120
|
-
default: a(({ isHovering: _, props:
|
|
3121
|
-
o(
|
|
3122
|
-
...
|
|
3134
|
+
default: a(({ isHovering: _, props: y }) => [
|
|
3135
|
+
o(G, P({
|
|
3136
|
+
...y,
|
|
3123
3137
|
...m.value
|
|
3124
3138
|
}, {
|
|
3125
|
-
"append-icon": `svg:${t(
|
|
3139
|
+
"append-icon": `svg:${t(ve)}`,
|
|
3126
3140
|
color: s.value.metadata.link_color,
|
|
3127
3141
|
elevation: _ ? 8 : 0,
|
|
3128
3142
|
title: s.value.metadata.link_text,
|
|
@@ -3131,14 +3145,14 @@ const Be = J("settings", () => {
|
|
|
3131
3145
|
onClick: u
|
|
3132
3146
|
}), {
|
|
3133
3147
|
default: a(() => [
|
|
3134
|
-
B(
|
|
3148
|
+
B(A(s.value.metadata.link_text), 1)
|
|
3135
3149
|
]),
|
|
3136
3150
|
_: 2
|
|
3137
3151
|
}, 1040, ["append-icon", "color", "elevation", "title"])
|
|
3138
3152
|
]),
|
|
3139
3153
|
_: 1
|
|
3140
|
-
})) :
|
|
3141
|
-
s.value.metadata.closable ? (d(), v(
|
|
3154
|
+
})) : x("", !0),
|
|
3155
|
+
s.value.metadata.closable ? (d(), v(G, {
|
|
3142
3156
|
key: 1,
|
|
3143
3157
|
class: "ms-6 me-2",
|
|
3144
3158
|
density: "comfortable",
|
|
@@ -3146,24 +3160,24 @@ const Be = J("settings", () => {
|
|
|
3146
3160
|
size: "small",
|
|
3147
3161
|
variant: "plain",
|
|
3148
3162
|
onClick: Te(f, ["prevent", "stop"])
|
|
3149
|
-
})) :
|
|
3163
|
+
})) : x("", !0)
|
|
3150
3164
|
]),
|
|
3151
3165
|
default: a(() => [
|
|
3152
|
-
s.value.metadata.text ? (d(), v(
|
|
3166
|
+
s.value.metadata.text ? (d(), v(et, {
|
|
3153
3167
|
key: 0,
|
|
3154
3168
|
class: "text-subtitle-2 text-md-subtitle-1 font-weight-medium"
|
|
3155
3169
|
}, {
|
|
3156
3170
|
default: a(() => [
|
|
3157
|
-
B(
|
|
3171
|
+
B(A(s.value.metadata.text), 1)
|
|
3158
3172
|
]),
|
|
3159
3173
|
_: 1
|
|
3160
|
-
})) :
|
|
3161
|
-
s.value.metadata.subtext ? (d(), v(
|
|
3174
|
+
})) : x("", !0),
|
|
3175
|
+
s.value.metadata.subtext ? (d(), v(oo, { key: 1 }, {
|
|
3162
3176
|
default: a(() => [
|
|
3163
|
-
B(
|
|
3177
|
+
B(A(s.value.metadata.subtext), 1)
|
|
3164
3178
|
]),
|
|
3165
3179
|
_: 1
|
|
3166
|
-
})) :
|
|
3180
|
+
})) : x("", !0)
|
|
3167
3181
|
]),
|
|
3168
3182
|
_: 2
|
|
3169
3183
|
}, [
|
|
@@ -3180,13 +3194,13 @@ const Be = J("settings", () => {
|
|
|
3180
3194
|
]), 1040)
|
|
3181
3195
|
]),
|
|
3182
3196
|
_: 1
|
|
3183
|
-
}, 8, ["color", "height", "image", "model-value", "theme"])) :
|
|
3197
|
+
}, 8, ["color", "height", "image", "model-value", "theme"])) : x("", !0);
|
|
3184
3198
|
};
|
|
3185
3199
|
}
|
|
3186
|
-
}),
|
|
3200
|
+
}), ss = (p) => (ht("data-v-d0145a63"), p = p(), gt(), p), as = ["href", "title"], is = {
|
|
3187
3201
|
class: "text-caption text-disabled",
|
|
3188
3202
|
style: { position: "absolute", right: "16px" }
|
|
3189
|
-
},
|
|
3203
|
+
}, ls = /* @__PURE__ */ ss(() => /* @__PURE__ */ h("span", { class: "d-none d-sm-inline-block" }, "Vuetify, LLC", -1)), rs = /* @__PURE__ */ k({
|
|
3190
3204
|
__name: "VoFooter",
|
|
3191
3205
|
setup(p) {
|
|
3192
3206
|
const e = [
|
|
@@ -3197,7 +3211,7 @@ const Be = J("settings", () => {
|
|
|
3197
3211
|
},
|
|
3198
3212
|
{
|
|
3199
3213
|
title: "Vuetify Support",
|
|
3200
|
-
icon: `svg:${
|
|
3214
|
+
icon: `svg:${eo}`,
|
|
3201
3215
|
href: "https://support.vuetifyjs.com/"
|
|
3202
3216
|
},
|
|
3203
3217
|
{
|
|
@@ -3207,26 +3221,26 @@ const Be = J("settings", () => {
|
|
|
3207
3221
|
},
|
|
3208
3222
|
{
|
|
3209
3223
|
title: "Vuetify GitHub",
|
|
3210
|
-
icon: `svg:${
|
|
3224
|
+
icon: `svg:${We}`,
|
|
3211
3225
|
href: "https://github.com/vuetifyjs/vuetify"
|
|
3212
3226
|
},
|
|
3213
3227
|
{
|
|
3214
3228
|
title: "Vuetify Discord",
|
|
3215
|
-
icon: `svg:${
|
|
3229
|
+
icon: `svg:${Ee}`,
|
|
3216
3230
|
href: "https://community.vuetifyjs.com/"
|
|
3217
3231
|
},
|
|
3218
3232
|
{
|
|
3219
3233
|
title: "Vuetify Reddit",
|
|
3220
|
-
icon: `svg:${
|
|
3234
|
+
icon: `svg:${to}`,
|
|
3221
3235
|
href: "https://reddit.com/r/vuetifyjs"
|
|
3222
3236
|
}
|
|
3223
3237
|
];
|
|
3224
|
-
return (i, n) => (d(), v(
|
|
3238
|
+
return (i, n) => (d(), v(go, {
|
|
3225
3239
|
class: "vo-footer",
|
|
3226
3240
|
height: "40"
|
|
3227
3241
|
}, {
|
|
3228
3242
|
default: a(() => [
|
|
3229
|
-
(d(),
|
|
3243
|
+
(d(), L(U, null, oe(e, (l) => h("a", {
|
|
3230
3244
|
key: l.title,
|
|
3231
3245
|
href: l.href,
|
|
3232
3246
|
title: l.title,
|
|
@@ -3234,27 +3248,26 @@ const Be = J("settings", () => {
|
|
|
3234
3248
|
rel: "noopener noreferrer",
|
|
3235
3249
|
target: "_blank"
|
|
3236
3250
|
}, [
|
|
3237
|
-
o(
|
|
3251
|
+
o(I, {
|
|
3238
3252
|
icon: l.icon,
|
|
3239
3253
|
size: l.icon === "$vuetify" ? 24 : 16
|
|
3240
3254
|
}, null, 8, ["icon", "size"])
|
|
3241
|
-
], 8,
|
|
3242
|
-
h("div",
|
|
3243
|
-
B(" © 2016-" +
|
|
3244
|
-
|
|
3255
|
+
], 8, as)), 64)),
|
|
3256
|
+
h("div", is, [
|
|
3257
|
+
B(" © 2016-" + A((/* @__PURE__ */ new Date()).getFullYear()) + " ", 1),
|
|
3258
|
+
ls
|
|
3245
3259
|
])
|
|
3246
3260
|
]),
|
|
3247
3261
|
_: 1
|
|
3248
3262
|
}));
|
|
3249
3263
|
}
|
|
3250
|
-
})
|
|
3251
|
-
const ls = (p, e) => {
|
|
3264
|
+
}), cs = (p, e) => {
|
|
3252
3265
|
const i = p.__vccOpts || p;
|
|
3253
3266
|
for (const [n, l] of e)
|
|
3254
3267
|
i[n] = l;
|
|
3255
3268
|
return i;
|
|
3256
|
-
},
|
|
3257
|
-
const p = F(), e =
|
|
3269
|
+
}, us = /* @__PURE__ */ cs(rs, [["__scopeId", "data-v-d0145a63"]]), Js = J("bins", () => {
|
|
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)), f = w(() => i.value.filter((y) => y.pinned));
|
|
3258
3271
|
N(n, () => {
|
|
3259
3272
|
window.clearTimeout(s.value), s.value = window.setTimeout(() => {
|
|
3260
3273
|
!n.value || !r.value || V(n.value, n.value.id);
|
|
@@ -3263,61 +3276,61 @@ const ls = (p, e) => {
|
|
|
3263
3276
|
async function u() {
|
|
3264
3277
|
try {
|
|
3265
3278
|
l.value = !0;
|
|
3266
|
-
const
|
|
3267
|
-
i.value =
|
|
3279
|
+
const y = await e.get("/one/bins");
|
|
3280
|
+
i.value = y.bins;
|
|
3268
3281
|
} catch {
|
|
3269
3282
|
} finally {
|
|
3270
3283
|
l.value = !1;
|
|
3271
3284
|
}
|
|
3272
3285
|
return i.value;
|
|
3273
3286
|
}
|
|
3274
|
-
async function m(
|
|
3287
|
+
async function m(y) {
|
|
3275
3288
|
try {
|
|
3276
|
-
l.value = !0, await e.delete(`/one/bins/${
|
|
3289
|
+
l.value = !0, await e.delete(`/one/bins/${y}`), i.value = i.value.filter(($) => $.id !== y);
|
|
3277
3290
|
} catch {
|
|
3278
3291
|
} finally {
|
|
3279
3292
|
l.value = !1;
|
|
3280
3293
|
}
|
|
3281
3294
|
return !0;
|
|
3282
3295
|
}
|
|
3283
|
-
async function b(
|
|
3296
|
+
async function b(y) {
|
|
3284
3297
|
try {
|
|
3285
3298
|
l.value = !0;
|
|
3286
|
-
const
|
|
3287
|
-
return i.value.push(
|
|
3299
|
+
const $ = await e.post("/one/bins", { bin: y });
|
|
3300
|
+
return i.value.push($.bin), n.value = $.bin, $;
|
|
3288
3301
|
} catch {
|
|
3289
3302
|
} finally {
|
|
3290
3303
|
l.value = !1;
|
|
3291
3304
|
}
|
|
3292
|
-
return { bin:
|
|
3305
|
+
return { bin: y };
|
|
3293
3306
|
}
|
|
3294
|
-
async function V(
|
|
3307
|
+
async function V(y, $) {
|
|
3295
3308
|
try {
|
|
3296
3309
|
l.value = !0;
|
|
3297
|
-
const z = await e.post(`/one/bins/${
|
|
3310
|
+
const z = await e.post(`/one/bins/${$}`, { bin: y }), T = i.value.findIndex((te) => te.id === $);
|
|
3298
3311
|
i.value.splice(T, 1, z.bin);
|
|
3299
3312
|
} catch {
|
|
3300
3313
|
} finally {
|
|
3301
3314
|
l.value = !1;
|
|
3302
3315
|
}
|
|
3303
|
-
return { bin:
|
|
3316
|
+
return { bin: y };
|
|
3304
3317
|
}
|
|
3305
|
-
async function y
|
|
3318
|
+
async function S(y, $) {
|
|
3306
3319
|
try {
|
|
3307
3320
|
l.value = !0;
|
|
3308
|
-
const z =
|
|
3321
|
+
const z = $ ? await V(y, $) : await b(y);
|
|
3309
3322
|
n.value = z.bin;
|
|
3310
3323
|
} catch {
|
|
3311
3324
|
} finally {
|
|
3312
3325
|
l.value = !1;
|
|
3313
3326
|
}
|
|
3314
|
-
return { bin:
|
|
3327
|
+
return { bin: y };
|
|
3315
3328
|
}
|
|
3316
|
-
async function _(
|
|
3329
|
+
async function _(y) {
|
|
3317
3330
|
try {
|
|
3318
3331
|
l.value = !0;
|
|
3319
|
-
const
|
|
3320
|
-
n.value =
|
|
3332
|
+
const $ = await e.get(`/one/bins/${y}`);
|
|
3333
|
+
n.value = $.bin;
|
|
3321
3334
|
} catch {
|
|
3322
3335
|
} finally {
|
|
3323
3336
|
l.value = !1;
|
|
@@ -3336,28 +3349,28 @@ const ls = (p, e) => {
|
|
|
3336
3349
|
find: _,
|
|
3337
3350
|
get: u,
|
|
3338
3351
|
update: V,
|
|
3339
|
-
updateOrCreate:
|
|
3352
|
+
updateOrCreate: S
|
|
3340
3353
|
};
|
|
3341
3354
|
});
|
|
3342
|
-
function
|
|
3355
|
+
function Xs() {
|
|
3343
3356
|
function p(e) {
|
|
3344
|
-
e.component("VoAuthBtn",
|
|
3357
|
+
e.component("VoAuthBtn", Jn), e.component("VoAuthCard", ct), e.component("VoAuthDialog", os), e.component("VoAuthListItem", lt), e.component("VoNotificationsBanner", ns), e.component("VoFooter", us);
|
|
3345
3358
|
}
|
|
3346
3359
|
return { install: p };
|
|
3347
3360
|
}
|
|
3348
|
-
function
|
|
3361
|
+
function Ks(p, e) {
|
|
3349
3362
|
return function(i) {
|
|
3350
3363
|
const n = i.store;
|
|
3351
3364
|
n.url = e, n.$id === "site" && (n.id = p);
|
|
3352
3365
|
};
|
|
3353
3366
|
}
|
|
3354
3367
|
export {
|
|
3355
|
-
|
|
3356
|
-
|
|
3368
|
+
Xs as createOne,
|
|
3369
|
+
Ks as one,
|
|
3357
3370
|
F as useAuthStore,
|
|
3358
3371
|
Ne as useBannersStore,
|
|
3359
|
-
|
|
3360
|
-
|
|
3372
|
+
Js as useBinsStore,
|
|
3373
|
+
ge as useHttpStore,
|
|
3361
3374
|
j as useOneStore,
|
|
3362
3375
|
Be as useSettingsStore,
|
|
3363
3376
|
O as useUserStore
|