@vuetify/one 1.0.10 → 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +646 -585
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { reactive as
|
|
2
|
-
import { defineStore as
|
|
3
|
-
import { merge as
|
|
4
|
-
import { VBadge as
|
|
1
|
+
import { reactive as Ze, toRefs as Ke, ref as oe, shallowRef as F, computed as A, defineComponent as V, openBlock as d, createBlock as _, withCtx as i, renderSlot as z, normalizeStyle as Be, createSlots as G, createCommentVNode as $, watch as W, unref as e, createElementVNode as f, toDisplayString as C, createVNode as o, withModifiers as Te, mergeModels as et, useModel as he, createElementBlock as S, Fragment as U, createTextVNode as j, renderList as ne, mergeProps as X, onBeforeMount as tt, onMounted as Re, resolveComponent as He, withDirectives as Ae, vShow as Me, normalizeClass as ot, pushScopeId as st, popScopeId as nt } from "vue";
|
|
2
|
+
import { defineStore as se } from "pinia";
|
|
3
|
+
import { merge as we } from "lodash-es";
|
|
4
|
+
import { VBadge as Pe } from "vuetify/lib/components/VBadge/index.mjs";
|
|
5
5
|
import { VBtn as Z } from "vuetify/lib/components/VBtn/index.mjs";
|
|
6
|
-
import { VProgressCircular as
|
|
7
|
-
import { mdiDiscord as Ie, mdiGithub as
|
|
8
|
-
import { VListItem as
|
|
9
|
-
import { VAvatar as
|
|
10
|
-
import { VCard as
|
|
11
|
-
import { VSheet as
|
|
12
|
-
import { VSwitch as
|
|
13
|
-
import { VFadeTransition as
|
|
14
|
-
import { useDisplay as
|
|
15
|
-
import { VDialog as
|
|
16
|
-
import { VDivider as
|
|
17
|
-
import { VIcon as
|
|
18
|
-
import { VLabel as
|
|
19
|
-
import { VChip as
|
|
20
|
-
import { VChipGroup as
|
|
21
|
-
import { VSelect as
|
|
22
|
-
import { VRow as
|
|
23
|
-
import { VHover as
|
|
24
|
-
import { VImg as
|
|
25
|
-
import { VItemGroup as
|
|
6
|
+
import { VProgressCircular as it } from "vuetify/lib/components/VProgressCircular/index.mjs";
|
|
7
|
+
import { mdiDiscord as Ie, mdiGithub as De, mdiSync as at, mdiSyncOff as rt, mdiLogoutVariant as lt, mdiCheck as te, mdiHome as ct, mdiTextBox as ut, mdiSpaceInvaders as Ee, mdiWhiteBalanceSunny as dt, mdiWeatherNight as pt, mdiDesktopTowerMonitor as mt, mdiImageFilterHdr as ft, mdiRocketLaunchOutline as vt, mdiContrastCircle as _t, mdiCog as ht, mdiCogOutline as gt, mdiFileDocument as bt, mdiCreditCardSettingsOutline as yt, mdiRocketOutline as Vt, mdiCheckCircleOutline as re, mdiCreditCard as kt, mdiReload as $t, mdiPlaylistCheck as xt, mdiCreditCardOutline as wt, mdiHandHeart as St, mdiMedal as pe, mdiInformationOutline as Oe, mdiChartLine as Ct, mdiHandHeartOutline as Lt, mdiEmailOpenOutline as At, mdiEmailVariant as It, mdiOpenInNew as Dt, mdiBell as Ut, mdiInboxOutline as Nt, mdiInboxFullOutline as Ft, mdiBellOutline as jt, mdiViewDashboardOutline as Ot, mdiTrashCan as zt, mdiBug as Bt, mdiCrown as Tt, mdiArrowULeftBottom as Rt, mdiLogin as Ht, mdiShieldStarOutline as Mt, mdiReddit as Pt } from "@mdi/js";
|
|
8
|
+
import { VListItem as ge, VList as ie, VListItemTitle as Et } from "vuetify/lib/components/VList/index.mjs";
|
|
9
|
+
import { VAvatar as ve } from "vuetify/lib/components/VAvatar/index.mjs";
|
|
10
|
+
import { VCard as B, VCardText as Y } from "vuetify/lib/components/VCard/index.mjs";
|
|
11
|
+
import { VSheet as We } from "vuetify/lib/components/VSheet/index.mjs";
|
|
12
|
+
import { VSwitch as Ge } from "vuetify/lib/components/VSwitch/index.mjs";
|
|
13
|
+
import { VFadeTransition as Ue, VExpandTransition as ce, VExpandXTransition as Wt } from "vuetify/lib/components/transitions/index.mjs";
|
|
14
|
+
import { useDisplay as be, useTheme as Gt, useDate as ye } from "vuetify";
|
|
15
|
+
import { VDialog as qt } from "vuetify/lib/components/VDialog/index.mjs";
|
|
16
|
+
import { VDivider as T } from "vuetify/lib/components/VDivider/index.mjs";
|
|
17
|
+
import { VIcon as N } from "vuetify/lib/components/VIcon/index.mjs";
|
|
18
|
+
import { VLabel as Ce } from "vuetify/lib/components/VLabel/index.mjs";
|
|
19
|
+
import { VChip as E } from "vuetify/lib/components/VChip/index.mjs";
|
|
20
|
+
import { VChipGroup as Yt } from "vuetify/lib/components/VChipGroup/index.mjs";
|
|
21
|
+
import { VSelect as Jt } from "vuetify/lib/components/VSelect/index.mjs";
|
|
22
|
+
import { VRow as Ve, VCol as le } from "vuetify/lib/components/VGrid/index.mjs";
|
|
23
|
+
import { VHover as qe } from "vuetify/lib/components/VHover/index.mjs";
|
|
24
|
+
import { VImg as Ne } from "vuetify/lib/components/VImg/index.mjs";
|
|
25
|
+
import { VItemGroup as Ye, VItem as Le } from "vuetify/lib/components/VItemGroup/index.mjs";
|
|
26
26
|
import { VLayout as Fe } from "vuetify/lib/components/VLayout/index.mjs";
|
|
27
|
-
import { VMain as
|
|
28
|
-
import { VDataTableVirtual as
|
|
29
|
-
import { VSkeletonLoader as
|
|
30
|
-
import { VWindow as
|
|
31
|
-
import { VTimeline as
|
|
32
|
-
import { VResponsive as
|
|
33
|
-
import { VTooltip as
|
|
34
|
-
import { VNavigationDrawer as
|
|
35
|
-
import { Ripple as
|
|
36
|
-
import { VColorPicker as
|
|
37
|
-
import { VMenu as
|
|
38
|
-
import { VFooter as
|
|
39
|
-
const
|
|
27
|
+
import { VMain as je } from "vuetify/lib/components/VMain/index.mjs";
|
|
28
|
+
import { VDataTableVirtual as Qt } from "vuetify/lib/components/VDataTable/index.mjs";
|
|
29
|
+
import { VSkeletonLoader as ze } from "vuetify/lib/components/VSkeletonLoader/index.mjs";
|
|
30
|
+
import { VWindow as Je, VWindowItem as _e } from "vuetify/lib/components/VWindow/index.mjs";
|
|
31
|
+
import { VTimeline as Xt, VTimelineItem as me } from "vuetify/lib/components/VTimeline/index.mjs";
|
|
32
|
+
import { VResponsive as Zt } from "vuetify/lib/components/VResponsive/index.mjs";
|
|
33
|
+
import { VTooltip as ae } from "vuetify/lib/components/VTooltip/index.mjs";
|
|
34
|
+
import { VNavigationDrawer as Kt } from "vuetify/lib/components/VNavigationDrawer/index.mjs";
|
|
35
|
+
import { Ripple as eo } from "vuetify/lib/directives/index.mjs";
|
|
36
|
+
import { VColorPicker as to } from "vuetify/lib/components/VColorPicker/index.mjs";
|
|
37
|
+
import { VMenu as oo } from "vuetify/lib/components/VMenu/index.mjs";
|
|
38
|
+
import { VFooter as so } from "vuetify/lib/components/VFooter/index.mjs";
|
|
39
|
+
const ke = se("http", {
|
|
40
40
|
state: () => ({
|
|
41
41
|
url: ""
|
|
42
42
|
}),
|
|
@@ -68,7 +68,7 @@ const ge = ee("http", {
|
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
}),
|
|
71
|
+
}), Se = typeof window < "u", fe = {
|
|
72
72
|
v: 5,
|
|
73
73
|
api: "link-only",
|
|
74
74
|
avatar: "",
|
|
@@ -106,29 +106,29 @@ const ge = ee("http", {
|
|
|
106
106
|
jobs: null
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
-
},
|
|
110
|
-
const u =
|
|
109
|
+
}, P = se("user", () => {
|
|
110
|
+
const u = Ze(we({}, fe));
|
|
111
111
|
function t() {
|
|
112
|
-
if (!
|
|
112
|
+
if (!Se)
|
|
113
113
|
return;
|
|
114
114
|
const n = localStorage.getItem("vuetify@user"), r = n ? JSON.parse(n) : {};
|
|
115
115
|
let c = r.v === u.v;
|
|
116
|
-
r.v || (r.pwaRefresh = !0, typeof r.api == "boolean" && (r.api = r.api ? "inline" : "link-only"), typeof r.rtl == "boolean" && (r.direction = r.rtl ? "rtl" : "ltr", delete r.rtl), typeof r.theme == "object" && (r.mixedTheme = r.theme.mixed, r.theme = r.theme.system ? "system" : r.theme.dark ? "dark" : "light"), Array.isArray(r.notifications) && (r.notifications = { read: r.notifications }), typeof r.last == "object" && (r.notifications.last = r.last, delete r.last)), r.v === 1 && (Array.isArray(r.composition) && (r.composition = "composition"), Array.isArray(r.notifications.last.banner) || (r.notifications = r.notifications || {}, r.notifications.last = r.notifications.last || {}, r.notifications.last.banner = [])), r.v === 2 && (r.syncSettings = !0, r.disableAds = !1, r.v = 3), r.v === 3 && (r.quickbar = !1), r.v === 4 && (r.suits =
|
|
116
|
+
r.v || (r.pwaRefresh = !0, typeof r.api == "boolean" && (r.api = r.api ? "inline" : "link-only"), typeof r.rtl == "boolean" && (r.direction = r.rtl ? "rtl" : "ltr", delete r.rtl), typeof r.theme == "object" && (r.mixedTheme = r.theme.mixed, r.theme = r.theme.system ? "system" : r.theme.dark ? "dark" : "light"), Array.isArray(r.notifications) && (r.notifications = { read: r.notifications }), typeof r.last == "object" && (r.notifications.last = r.last, delete r.last)), r.v === 1 && (Array.isArray(r.composition) && (r.composition = "composition"), Array.isArray(r.notifications.last.banner) || (r.notifications = r.notifications || {}, r.notifications.last = r.notifications.last || {}, r.notifications.last.banner = [])), r.v === 2 && (r.syncSettings = !0, r.disableAds = !1, r.v = 3), r.v === 3 && (r.quickbar = !1), r.v === 4 && (r.suits = fe.suits, r.notifications.banners = fe.notifications.banners, c = !0), r.v = u.v, Object.assign(u, we(u, r)), c && a();
|
|
117
117
|
}
|
|
118
118
|
function a() {
|
|
119
|
-
|
|
119
|
+
Se && localStorage.setItem("vuetify@user", JSON.stringify(u, null, 2));
|
|
120
120
|
}
|
|
121
121
|
function s() {
|
|
122
|
-
|
|
122
|
+
Se && (Object.assign(u, we({}, fe)), a());
|
|
123
123
|
}
|
|
124
124
|
return t(), {
|
|
125
|
-
...
|
|
125
|
+
...Ke(u),
|
|
126
126
|
load: t,
|
|
127
127
|
save: a,
|
|
128
128
|
reset: s
|
|
129
129
|
};
|
|
130
|
-
}),
|
|
131
|
-
const u =
|
|
130
|
+
}), $e = se("notifications", () => {
|
|
131
|
+
const u = ke(), t = P(), a = oe([]), s = F(!1), n = A(() => a.value.filter((l) => !t.notifications.read.includes(l.slug))), r = A(() => a.value.filter((l) => t.notifications.read.includes(l.slug)));
|
|
132
132
|
async function c() {
|
|
133
133
|
try {
|
|
134
134
|
s.value = !0;
|
|
@@ -147,30 +147,30 @@ const ge = ee("http", {
|
|
|
147
147
|
read: r,
|
|
148
148
|
unread: n
|
|
149
149
|
};
|
|
150
|
-
}),
|
|
150
|
+
}), no = /* @__PURE__ */ V({
|
|
151
151
|
__name: "VoNotificationsTotalBadge",
|
|
152
152
|
setup(u) {
|
|
153
|
-
const t =
|
|
154
|
-
return (s, n) => (d(),
|
|
153
|
+
const t = $e(), a = A(() => t.unread.length);
|
|
154
|
+
return (s, n) => (d(), _(Pe, {
|
|
155
155
|
content: a.value,
|
|
156
156
|
"model-value": a.value > 0,
|
|
157
157
|
color: "error",
|
|
158
158
|
location: "start top"
|
|
159
159
|
}, {
|
|
160
160
|
default: i(() => [
|
|
161
|
-
|
|
161
|
+
z(s.$slots, "default")
|
|
162
162
|
]),
|
|
163
163
|
_: 3
|
|
164
164
|
}, 8, ["content", "model-value"]));
|
|
165
165
|
}
|
|
166
|
-
}),
|
|
166
|
+
}), ue = /* @__PURE__ */ V({
|
|
167
167
|
__name: "VoBtn",
|
|
168
168
|
props: {
|
|
169
169
|
readonly: { type: Boolean }
|
|
170
170
|
},
|
|
171
171
|
setup(u) {
|
|
172
172
|
const t = u;
|
|
173
|
-
return (a, s) => (d(),
|
|
173
|
+
return (a, s) => (d(), _(Z, {
|
|
174
174
|
style: Be({
|
|
175
175
|
pointerEvents: t.readonly ? "none" : void 0
|
|
176
176
|
}),
|
|
@@ -181,27 +181,27 @@ const ge = ee("http", {
|
|
|
181
181
|
variant: "flat"
|
|
182
182
|
}, G({
|
|
183
183
|
loader: i(() => [
|
|
184
|
-
a.$slots.loader ? $("", !0) : (d(),
|
|
184
|
+
a.$slots.loader ? $("", !0) : (d(), _(it, {
|
|
185
185
|
key: 0,
|
|
186
186
|
indeterminate: "disable-shrink",
|
|
187
187
|
size: "16",
|
|
188
188
|
width: "2"
|
|
189
189
|
})),
|
|
190
|
-
|
|
190
|
+
z(a.$slots, "loader")
|
|
191
191
|
]),
|
|
192
192
|
_: 2
|
|
193
193
|
}, [
|
|
194
194
|
a.$slots.default ? {
|
|
195
195
|
name: "default",
|
|
196
196
|
fn: i(() => [
|
|
197
|
-
|
|
197
|
+
z(a.$slots, "default")
|
|
198
198
|
]),
|
|
199
199
|
key: "0"
|
|
200
200
|
} : void 0
|
|
201
201
|
]), 1032, ["style", "tabindex"]));
|
|
202
202
|
}
|
|
203
|
-
}),
|
|
204
|
-
const u =
|
|
203
|
+
}), R = se("auth", () => {
|
|
204
|
+
const u = oe(null), t = ke(), a = P(), s = F(!1), n = A(() => {
|
|
205
205
|
var m, k;
|
|
206
206
|
return !t.url || ((m = u.value) == null ? void 0 : m.isAdmin) || !!((k = u.value) != null && k.sponsorships.some((D) => D.isActive));
|
|
207
207
|
});
|
|
@@ -242,28 +242,28 @@ const ge = ee("http", {
|
|
|
242
242
|
l.promise = null;
|
|
243
243
|
async function h(m = "github") {
|
|
244
244
|
s.value = !0;
|
|
245
|
-
const k = `${t.url}/auth/${m}/redirect`, D = 400, b = 600,
|
|
245
|
+
const k = `${t.url}/auth/${m}/redirect`, D = 400, b = 600, w = window.screenX + (window.innerWidth - D) / 2, I = window.screenY + (window.innerHeight - b) / 2, O = window.open(
|
|
246
246
|
"",
|
|
247
247
|
"vuetify:authorize:popup",
|
|
248
|
-
`popup,left=${
|
|
248
|
+
`popup,left=${w},top=${I},width=${D},height=${b},resizable`
|
|
249
249
|
);
|
|
250
250
|
if (!O) {
|
|
251
251
|
console.error("Failed to open popup");
|
|
252
252
|
return;
|
|
253
253
|
}
|
|
254
254
|
O.location.href = k;
|
|
255
|
-
let
|
|
256
|
-
function
|
|
255
|
+
let q = -1, K = -1;
|
|
256
|
+
function x(v) {
|
|
257
257
|
var y;
|
|
258
|
-
|
|
258
|
+
v.origin === t.url && ((y = v.data) == null ? void 0 : y.type) === "auth-response" && (v.data.status === "success" ? (u.value || localStorage.setItem("vuetify@lastLoginProvider", m), u.value = v.data.body.user) : console.error(v.data.message), H());
|
|
259
259
|
}
|
|
260
|
-
function
|
|
261
|
-
window.removeEventListener("message",
|
|
260
|
+
function H() {
|
|
261
|
+
window.removeEventListener("message", x), window.clearInterval(q), window.clearTimeout(K), O == null || O.close(), s.value = !1;
|
|
262
262
|
}
|
|
263
|
-
window.addEventListener("message",
|
|
264
|
-
!O || O.closed ? (console.error("Auth popup closed"),
|
|
265
|
-
}, 1e3),
|
|
266
|
-
|
|
263
|
+
window.addEventListener("message", x), q = window.setInterval(() => {
|
|
264
|
+
!O || O.closed ? (console.error("Auth popup closed"), H()) : O.postMessage({ type: "auth-request" }, "*");
|
|
265
|
+
}, 1e3), K = window.setTimeout(() => {
|
|
266
|
+
H(), console.error("Auth timed out");
|
|
267
267
|
}, 120 * 1e3);
|
|
268
268
|
}
|
|
269
269
|
async function p(m) {
|
|
@@ -281,10 +281,10 @@ const ge = ee("http", {
|
|
|
281
281
|
var k;
|
|
282
282
|
return (k = u.value) == null ? void 0 : k.identities.find((D) => D.provider === m);
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function L() {
|
|
285
285
|
return localStorage.getItem("vuetify@lastLoginProvider");
|
|
286
286
|
}
|
|
287
|
-
return
|
|
287
|
+
return L() && l(), {
|
|
288
288
|
user: u,
|
|
289
289
|
url: t.url,
|
|
290
290
|
isLoading: s,
|
|
@@ -293,14 +293,14 @@ const ge = ee("http", {
|
|
|
293
293
|
login: h,
|
|
294
294
|
logout: p,
|
|
295
295
|
isSubscriber: n,
|
|
296
|
-
lastLoginProvider:
|
|
296
|
+
lastLoginProvider: L,
|
|
297
297
|
sync: c
|
|
298
298
|
};
|
|
299
|
-
}),
|
|
299
|
+
}), io = { class: "text-body-2" }, ao = /* @__PURE__ */ f("div", { class: "text-caption mt-n1" }, "Last Used", -1), ro = /* @__PURE__ */ V({
|
|
300
300
|
__name: "VoAuthDiscord",
|
|
301
301
|
setup(u) {
|
|
302
|
-
const t =
|
|
303
|
-
return (n, r) => (d(),
|
|
302
|
+
const t = R(), a = A(() => t.user && t.findIdentity("discord")), s = A(() => t.user ? a.value ? "Connected to Discord" : "Connect Discord" : "Log in with Discord");
|
|
303
|
+
return (n, r) => (d(), _(ge, {
|
|
304
304
|
"prepend-icon": `svg:${e(Ie)}`,
|
|
305
305
|
"base-color": "#5865F2",
|
|
306
306
|
rounded: "pill",
|
|
@@ -309,25 +309,25 @@ const ge = ee("http", {
|
|
|
309
309
|
onClick: r[0] || (r[0] = (c) => e(t).login("discord"))
|
|
310
310
|
}, G({
|
|
311
311
|
title: i(() => [
|
|
312
|
-
|
|
312
|
+
f("span", io, C(s.value), 1)
|
|
313
313
|
]),
|
|
314
314
|
_: 2
|
|
315
315
|
}, [
|
|
316
316
|
!e(t).user && e(t).lastLoginProvider() === "discord" ? {
|
|
317
317
|
name: "subtitle",
|
|
318
318
|
fn: i(() => [
|
|
319
|
-
|
|
319
|
+
ao
|
|
320
320
|
]),
|
|
321
321
|
key: "0"
|
|
322
322
|
} : void 0
|
|
323
323
|
]), 1032, ["prepend-icon"]));
|
|
324
324
|
}
|
|
325
|
-
}),
|
|
325
|
+
}), lo = { class: "text-body-2" }, co = /* @__PURE__ */ f("div", { class: "text-caption mt-n1" }, "Last Used", -1), uo = /* @__PURE__ */ V({
|
|
326
326
|
__name: "VoAuthGithub",
|
|
327
327
|
setup(u) {
|
|
328
|
-
const t =
|
|
329
|
-
return (n, r) => (d(),
|
|
330
|
-
"prepend-icon": `svg:${e(
|
|
328
|
+
const t = R(), a = A(() => t.user && t.findIdentity("github")), s = A(() => t.user ? a.value ? "Connected to GitHub" : "Connect GitHub" : "Log in with GitHub");
|
|
329
|
+
return (n, r) => (d(), _(ge, {
|
|
330
|
+
"prepend-icon": `svg:${e(De)}`,
|
|
331
331
|
"base-color": "#2a2a2a",
|
|
332
332
|
rounded: "pill",
|
|
333
333
|
variant: "flat",
|
|
@@ -335,23 +335,23 @@ const ge = ee("http", {
|
|
|
335
335
|
onClick: r[0] || (r[0] = (c) => e(t).login("github"))
|
|
336
336
|
}, G({
|
|
337
337
|
title: i(() => [
|
|
338
|
-
|
|
338
|
+
f("span", lo, C(s.value), 1)
|
|
339
339
|
]),
|
|
340
340
|
_: 2
|
|
341
341
|
}, [
|
|
342
342
|
!e(t).user && e(t).lastLoginProvider() === "github" ? {
|
|
343
343
|
name: "subtitle",
|
|
344
344
|
fn: i(() => [
|
|
345
|
-
|
|
345
|
+
co
|
|
346
346
|
]),
|
|
347
347
|
key: "0"
|
|
348
348
|
} : void 0
|
|
349
349
|
]), 1032, ["prepend-icon"]));
|
|
350
350
|
}
|
|
351
|
-
}),
|
|
351
|
+
}), po = { class: "pa-4 d-flex flex-column ga-4" }, mo = /* @__PURE__ */ V({
|
|
352
352
|
__name: "VoAuthListItem",
|
|
353
353
|
setup(u) {
|
|
354
|
-
const t =
|
|
354
|
+
const t = R(), a = P(), s = F(!t.user && !t.isLoading);
|
|
355
355
|
W(() => t.user, (r) => {
|
|
356
356
|
s.value = !r;
|
|
357
357
|
});
|
|
@@ -359,18 +359,18 @@ const ge = ee("http", {
|
|
|
359
359
|
t.user && (s.value = !s.value);
|
|
360
360
|
}
|
|
361
361
|
return (r, c) => {
|
|
362
|
-
const l =
|
|
363
|
-
return d(),
|
|
362
|
+
const l = uo, h = ro;
|
|
363
|
+
return d(), _(B, {
|
|
364
364
|
variant: s.value ? "tonal" : "text",
|
|
365
365
|
class: "ma-2",
|
|
366
366
|
rounded: "lg"
|
|
367
367
|
}, {
|
|
368
368
|
default: i(() => [
|
|
369
|
-
o(
|
|
369
|
+
o(ie, { class: "py-0" }, {
|
|
370
370
|
default: i(() => [
|
|
371
|
-
o(
|
|
371
|
+
o(ge, {
|
|
372
372
|
link: !!e(t).user,
|
|
373
|
-
"prepend-icon": `svg:${e(t).user && e(a).syncSettings ? e(
|
|
373
|
+
"prepend-icon": `svg:${e(t).user && e(a).syncSettings ? e(at) : e(rt)}`,
|
|
374
374
|
title: e(t).user && e(a).syncSettings ? "Sync is on" : "Sync is paused",
|
|
375
375
|
class: "mb-0",
|
|
376
376
|
rounded: "b-0",
|
|
@@ -379,9 +379,9 @@ const ge = ee("http", {
|
|
|
379
379
|
onClick: n
|
|
380
380
|
}, {
|
|
381
381
|
append: i(() => [
|
|
382
|
-
o(
|
|
382
|
+
o(Ue, null, {
|
|
383
383
|
default: i(() => [
|
|
384
|
-
e(t).user && (s.value || !e(a).syncSettings) ? (d(),
|
|
384
|
+
e(t).user && (s.value || !e(a).syncSettings) ? (d(), _(Ge, {
|
|
385
385
|
key: 0,
|
|
386
386
|
modelValue: e(a).syncSettings,
|
|
387
387
|
"onUpdate:modelValue": c[0] || (c[0] = (p) => e(a).syncSettings = p),
|
|
@@ -389,11 +389,11 @@ const ge = ee("http", {
|
|
|
389
389
|
density: "compact",
|
|
390
390
|
"hide-details": "",
|
|
391
391
|
inset: "",
|
|
392
|
-
onClick: c[1] || (c[1] =
|
|
392
|
+
onClick: c[1] || (c[1] = Te(() => {
|
|
393
393
|
}, ["stop"]))
|
|
394
394
|
}, {
|
|
395
395
|
thumb: i(() => [
|
|
396
|
-
o(
|
|
396
|
+
o(ve, {
|
|
397
397
|
color: e(a).syncSettings ? "success" : void 0
|
|
398
398
|
}, null, 8, ["color"])
|
|
399
399
|
]),
|
|
@@ -405,15 +405,15 @@ const ge = ee("http", {
|
|
|
405
405
|
]),
|
|
406
406
|
_: 1
|
|
407
407
|
}, 8, ["link", "prepend-icon", "title"]),
|
|
408
|
-
o(
|
|
408
|
+
o(ce, null, {
|
|
409
409
|
default: i(() => [
|
|
410
|
-
!e(t).user && !e(t).isLoading || s.value ? (d(),
|
|
410
|
+
!e(t).user && !e(t).isLoading || s.value ? (d(), _(We, {
|
|
411
411
|
key: 0,
|
|
412
412
|
border: "t",
|
|
413
413
|
color: "transparent"
|
|
414
414
|
}, {
|
|
415
415
|
default: i(() => [
|
|
416
|
-
|
|
416
|
+
f("div", po, [
|
|
417
417
|
o(l, {
|
|
418
418
|
onClick: c[2] || (c[2] = (p) => s.value = !1)
|
|
419
419
|
}),
|
|
@@ -435,51 +435,51 @@ const ge = ee("http", {
|
|
|
435
435
|
}, 8, ["variant"]);
|
|
436
436
|
};
|
|
437
437
|
}
|
|
438
|
-
}),
|
|
438
|
+
}), J = /* @__PURE__ */ V({
|
|
439
439
|
__name: "VoListItem",
|
|
440
440
|
setup(u) {
|
|
441
|
-
return (t, a) => (d(),
|
|
441
|
+
return (t, a) => (d(), _(ge, { slim: "" }, G({
|
|
442
442
|
default: i(() => [
|
|
443
|
-
|
|
443
|
+
z(t.$slots, "default")
|
|
444
444
|
]),
|
|
445
445
|
_: 2
|
|
446
446
|
}, [
|
|
447
447
|
t.$slots.prepend ? {
|
|
448
448
|
name: "prepend",
|
|
449
449
|
fn: i(() => [
|
|
450
|
-
|
|
450
|
+
z(t.$slots, "prepend")
|
|
451
451
|
]),
|
|
452
452
|
key: "0"
|
|
453
453
|
} : void 0,
|
|
454
454
|
t.$slots.title ? {
|
|
455
455
|
name: "title",
|
|
456
456
|
fn: i(() => [
|
|
457
|
-
|
|
457
|
+
z(t.$slots, "title")
|
|
458
458
|
]),
|
|
459
459
|
key: "1"
|
|
460
460
|
} : void 0,
|
|
461
461
|
t.$slots.append ? {
|
|
462
462
|
name: "append",
|
|
463
463
|
fn: i(() => [
|
|
464
|
-
|
|
464
|
+
z(t.$slots, "append")
|
|
465
465
|
]),
|
|
466
466
|
key: "2"
|
|
467
467
|
} : void 0
|
|
468
468
|
]), 1024));
|
|
469
469
|
}
|
|
470
|
-
}),
|
|
470
|
+
}), fo = /* @__PURE__ */ V({
|
|
471
471
|
__name: "VoAuthLogoutListItem",
|
|
472
472
|
setup(u) {
|
|
473
|
-
const t =
|
|
473
|
+
const t = R(), a = F(!1);
|
|
474
474
|
async function s() {
|
|
475
475
|
a.value = !0, await t.logout(), a.value = !1;
|
|
476
476
|
}
|
|
477
477
|
return (n, r) => {
|
|
478
|
-
const c =
|
|
479
|
-
return d(),
|
|
478
|
+
const c = J;
|
|
479
|
+
return d(), _(c, {
|
|
480
480
|
disabled: a.value,
|
|
481
481
|
loading: a.value,
|
|
482
|
-
"prepend-icon": `svg:${e(
|
|
482
|
+
"prepend-icon": `svg:${e(lt)}`,
|
|
483
483
|
class: "mb-0",
|
|
484
484
|
title: "Logout",
|
|
485
485
|
link: "",
|
|
@@ -487,9 +487,9 @@ const ge = ee("http", {
|
|
|
487
487
|
}, null, 8, ["disabled", "loading", "prepend-icon"]);
|
|
488
488
|
};
|
|
489
489
|
}
|
|
490
|
-
}),
|
|
490
|
+
}), xe = /* @__PURE__ */ V({
|
|
491
491
|
__name: "VoDialog",
|
|
492
|
-
props: /* @__PURE__ */
|
|
492
|
+
props: /* @__PURE__ */ et({
|
|
493
493
|
prependIcon: {},
|
|
494
494
|
title: {}
|
|
495
495
|
}, {
|
|
@@ -498,8 +498,8 @@ const ge = ee("http", {
|
|
|
498
498
|
}),
|
|
499
499
|
emits: ["update:modelValue"],
|
|
500
500
|
setup(u) {
|
|
501
|
-
const t =
|
|
502
|
-
return (s, n) => (d(),
|
|
501
|
+
const t = he(u, "modelValue"), a = be();
|
|
502
|
+
return (s, n) => (d(), _(qt, {
|
|
503
503
|
modelValue: t.value,
|
|
504
504
|
"onUpdate:modelValue": n[1] || (n[1] = (r) => t.value = r),
|
|
505
505
|
fullscreen: e(a).xs.value,
|
|
@@ -509,14 +509,14 @@ const ge = ee("http", {
|
|
|
509
509
|
height: "100%"
|
|
510
510
|
}, {
|
|
511
511
|
default: i(({ isActive: r }) => [
|
|
512
|
-
o(
|
|
512
|
+
o(B, {
|
|
513
513
|
"prepend-icon": s.prependIcon,
|
|
514
514
|
title: s.title,
|
|
515
515
|
class: "overflow-hidden",
|
|
516
516
|
height: "inherit"
|
|
517
517
|
}, G({
|
|
518
518
|
append: i(() => [
|
|
519
|
-
|
|
519
|
+
z(s.$slots, "append"),
|
|
520
520
|
o(Z, {
|
|
521
521
|
density: "comfortable",
|
|
522
522
|
icon: "$close",
|
|
@@ -526,22 +526,22 @@ const ge = ee("http", {
|
|
|
526
526
|
})
|
|
527
527
|
]),
|
|
528
528
|
default: i(() => [
|
|
529
|
-
o(
|
|
530
|
-
|
|
529
|
+
o(T, { class: "mt-4" }),
|
|
530
|
+
z(s.$slots, "default")
|
|
531
531
|
]),
|
|
532
532
|
_: 2
|
|
533
533
|
}, [
|
|
534
534
|
s.$slots.prepend ? {
|
|
535
535
|
name: "prepend",
|
|
536
536
|
fn: i(() => [
|
|
537
|
-
|
|
537
|
+
z(s.$slots, "prepend")
|
|
538
538
|
]),
|
|
539
539
|
key: "0"
|
|
540
540
|
} : void 0,
|
|
541
541
|
s.$slots.actions ? {
|
|
542
542
|
name: "actions",
|
|
543
543
|
fn: i(() => [
|
|
544
|
-
|
|
544
|
+
z(s.$slots, "actions", { isActive: r })
|
|
545
545
|
]),
|
|
546
546
|
key: "1"
|
|
547
547
|
} : void 0
|
|
@@ -550,13 +550,13 @@ const ge = ee("http", {
|
|
|
550
550
|
_: 3
|
|
551
551
|
}, 8, ["modelValue", "fullscreen", "max-height", "max-width"]));
|
|
552
552
|
}
|
|
553
|
-
}),
|
|
553
|
+
}), Qe = /* @__PURE__ */ V({
|
|
554
554
|
__name: "VoSwitch",
|
|
555
555
|
props: {
|
|
556
556
|
disabled: { type: Boolean }
|
|
557
557
|
},
|
|
558
558
|
setup(u) {
|
|
559
|
-
return (t, a) => (d(),
|
|
559
|
+
return (t, a) => (d(), _(Ge, {
|
|
560
560
|
disabled: t.disabled,
|
|
561
561
|
"true-icon": `svg:${e(te)}`,
|
|
562
562
|
color: "primary",
|
|
@@ -564,7 +564,7 @@ const ge = ee("http", {
|
|
|
564
564
|
inset: ""
|
|
565
565
|
}, G({
|
|
566
566
|
thumb: i(() => [
|
|
567
|
-
o(
|
|
567
|
+
o(N, {
|
|
568
568
|
color: t.disabled ? void 0 : "primary"
|
|
569
569
|
}, null, 8, ["color"])
|
|
570
570
|
]),
|
|
@@ -573,24 +573,24 @@ const ge = ee("http", {
|
|
|
573
573
|
t.$slots.label ? {
|
|
574
574
|
name: "label",
|
|
575
575
|
fn: i(() => [
|
|
576
|
-
|
|
576
|
+
z(t.$slots, "label")
|
|
577
577
|
]),
|
|
578
578
|
key: "0"
|
|
579
579
|
} : void 0
|
|
580
580
|
]), 1032, ["disabled", "true-icon"]));
|
|
581
581
|
}
|
|
582
|
-
}),
|
|
582
|
+
}), vo = {
|
|
583
583
|
key: 1,
|
|
584
584
|
class: "mb-3 text-caption text-medium-emphasis"
|
|
585
|
-
},
|
|
585
|
+
}, de = /* @__PURE__ */ V({
|
|
586
586
|
__name: "VoDialogSubheader",
|
|
587
587
|
props: {
|
|
588
588
|
title: {},
|
|
589
589
|
text: {}
|
|
590
590
|
},
|
|
591
591
|
setup(u) {
|
|
592
|
-
return (t, a) => (d(),
|
|
593
|
-
t.title ? (d(),
|
|
592
|
+
return (t, a) => (d(), S(U, null, [
|
|
593
|
+
t.title ? (d(), _(Ce, {
|
|
594
594
|
key: 0,
|
|
595
595
|
class: "font-weight-black"
|
|
596
596
|
}, {
|
|
@@ -599,13 +599,13 @@ const ge = ee("http", {
|
|
|
599
599
|
]),
|
|
600
600
|
_: 1
|
|
601
601
|
})) : $("", !0),
|
|
602
|
-
t.text ? (d(),
|
|
602
|
+
t.text ? (d(), S("div", vo, C(t.text), 1)) : $("", !0)
|
|
603
603
|
], 64));
|
|
604
604
|
}
|
|
605
|
-
}),
|
|
605
|
+
}), _o = { key: 0 }, ho = /* @__PURE__ */ V({
|
|
606
606
|
__name: "VoSettingsPageSuitOption",
|
|
607
607
|
setup(u) {
|
|
608
|
-
const t =
|
|
608
|
+
const t = P(), a = [
|
|
609
609
|
{
|
|
610
610
|
title: "Choose a page suit",
|
|
611
611
|
value: "",
|
|
@@ -613,7 +613,7 @@ const ge = ee("http", {
|
|
|
613
613
|
},
|
|
614
614
|
{
|
|
615
615
|
title: "Blackguard",
|
|
616
|
-
prependIcon: `svg:${
|
|
616
|
+
prependIcon: `svg:${Ee}`,
|
|
617
617
|
value: "blackguard"
|
|
618
618
|
}
|
|
619
619
|
// {
|
|
@@ -628,8 +628,8 @@ const ge = ee("http", {
|
|
|
628
628
|
// },
|
|
629
629
|
];
|
|
630
630
|
return (s, n) => {
|
|
631
|
-
const r =
|
|
632
|
-
return d(),
|
|
631
|
+
const r = Qe, c = de;
|
|
632
|
+
return d(), S(U, null, [
|
|
633
633
|
o(r, {
|
|
634
634
|
modelValue: e(t).suits.show,
|
|
635
635
|
"onUpdate:modelValue": n[0] || (n[0] = (l) => e(t).suits.show = l),
|
|
@@ -637,10 +637,10 @@ const ge = ee("http", {
|
|
|
637
637
|
label: "Enable Page suits",
|
|
638
638
|
messages: "Customize layout elements with a unique background, styled after one of our themed releases."
|
|
639
639
|
}, null, 8, ["modelValue"]),
|
|
640
|
-
o(
|
|
640
|
+
o(ce, null, {
|
|
641
641
|
default: i(() => [
|
|
642
|
-
e(t).suits.show ? (d(),
|
|
643
|
-
o(
|
|
642
|
+
e(t).suits.show ? (d(), S("div", _o, [
|
|
643
|
+
o(Jt, {
|
|
644
644
|
modelValue: e(t).suits.suit,
|
|
645
645
|
"onUpdate:modelValue": n[1] || (n[1] = (l) => e(t).suits.suit = l),
|
|
646
646
|
items: a,
|
|
@@ -653,7 +653,7 @@ const ge = ee("http", {
|
|
|
653
653
|
"single-line": ""
|
|
654
654
|
}, {
|
|
655
655
|
selection: i(({ item: l }) => [
|
|
656
|
-
o(
|
|
656
|
+
o(N, {
|
|
657
657
|
icon: l.props.prependIcon,
|
|
658
658
|
size: "x-small",
|
|
659
659
|
start: ""
|
|
@@ -663,7 +663,7 @@ const ge = ee("http", {
|
|
|
663
663
|
_: 1
|
|
664
664
|
}, 8, ["modelValue"]),
|
|
665
665
|
o(c, { text: "Select your suit elements to display the background image:" }),
|
|
666
|
-
o(
|
|
666
|
+
o(Yt, {
|
|
667
667
|
modelValue: e(t).suits.elements,
|
|
668
668
|
"onUpdate:modelValue": n[2] || (n[2] = (l) => e(t).suits.elements = l),
|
|
669
669
|
color: "primary",
|
|
@@ -671,39 +671,39 @@ const ge = ee("http", {
|
|
|
671
671
|
multiple: ""
|
|
672
672
|
}, {
|
|
673
673
|
default: i(() => [
|
|
674
|
-
o(
|
|
675
|
-
"append-icon": `svg:${e(
|
|
674
|
+
o(E, {
|
|
675
|
+
"append-icon": `svg:${e(ct)}`,
|
|
676
676
|
"filter-icon": "$success",
|
|
677
677
|
text: "App Bar",
|
|
678
678
|
value: "app-bar",
|
|
679
679
|
variant: "flat"
|
|
680
680
|
}, {
|
|
681
681
|
append: i(() => [
|
|
682
|
-
o(
|
|
682
|
+
o(T, {
|
|
683
683
|
class: "ms-2 border-opacity-50",
|
|
684
684
|
vertical: ""
|
|
685
685
|
}),
|
|
686
|
-
o(
|
|
686
|
+
o(N, { size: "x-small" })
|
|
687
687
|
]),
|
|
688
688
|
_: 1
|
|
689
689
|
}, 8, ["append-icon"]),
|
|
690
|
-
o(
|
|
691
|
-
"append-icon": `svg:${e(
|
|
690
|
+
o(E, {
|
|
691
|
+
"append-icon": `svg:${e(ut)}`,
|
|
692
692
|
"filter-icon": "$success",
|
|
693
693
|
text: "Navigation Drawer",
|
|
694
694
|
value: "drawer",
|
|
695
695
|
variant: "flat"
|
|
696
696
|
}, {
|
|
697
697
|
append: i(() => [
|
|
698
|
-
o(
|
|
698
|
+
o(T, {
|
|
699
699
|
class: "ms-2 border-opacity-50",
|
|
700
700
|
vertical: ""
|
|
701
701
|
}),
|
|
702
|
-
o(
|
|
702
|
+
o(N, { size: "x-small" })
|
|
703
703
|
]),
|
|
704
704
|
_: 1
|
|
705
705
|
}, 8, ["append-icon"]),
|
|
706
|
-
o(
|
|
706
|
+
o(E, {
|
|
707
707
|
"append-icon": "$info",
|
|
708
708
|
"filter-icon": "$success",
|
|
709
709
|
text: "Footer",
|
|
@@ -711,11 +711,11 @@ const ge = ee("http", {
|
|
|
711
711
|
variant: "flat"
|
|
712
712
|
}, {
|
|
713
713
|
append: i(() => [
|
|
714
|
-
o(
|
|
714
|
+
o(T, {
|
|
715
715
|
class: "ms-2 border-opacity-50",
|
|
716
716
|
vertical: ""
|
|
717
717
|
}),
|
|
718
|
-
o(
|
|
718
|
+
o(N, { size: "x-small" })
|
|
719
719
|
]),
|
|
720
720
|
_: 1
|
|
721
721
|
})
|
|
@@ -730,7 +730,7 @@ const ge = ee("http", {
|
|
|
730
730
|
};
|
|
731
731
|
}
|
|
732
732
|
});
|
|
733
|
-
function
|
|
733
|
+
function go() {
|
|
734
734
|
return {
|
|
735
735
|
blackguard: {
|
|
736
736
|
dark: !0,
|
|
@@ -846,8 +846,8 @@ function ho() {
|
|
|
846
846
|
}
|
|
847
847
|
};
|
|
848
848
|
}
|
|
849
|
-
const
|
|
850
|
-
const u = "https://cdn.vuetifyjs.com/docs/images/one/", t =
|
|
849
|
+
const Xe = se("settings", () => {
|
|
850
|
+
const u = "https://cdn.vuetifyjs.com/docs/images/one/", t = R(), a = P(), s = Gt(), n = go(), r = {
|
|
851
851
|
blackguard: {
|
|
852
852
|
"app-bar": u + "suits/blackguard/blackguard-app-bar.png",
|
|
853
853
|
drawer: u + "suits/blackguard/blackguard-app-drawer.png",
|
|
@@ -863,7 +863,7 @@ const Qe = ee("settings", () => {
|
|
|
863
863
|
// 'drawer': '',
|
|
864
864
|
// footer: '',
|
|
865
865
|
// },
|
|
866
|
-
}, c =
|
|
866
|
+
}, c = A(() => {
|
|
867
867
|
if (!a.suits.suit || !a.suits.show || !t.isSubscriber)
|
|
868
868
|
return {};
|
|
869
869
|
const l = r[a.suits.suit.toLowerCase()], h = {};
|
|
@@ -880,7 +880,7 @@ const Qe = ee("settings", () => {
|
|
|
880
880
|
suit: c,
|
|
881
881
|
CDN_URL: u
|
|
882
882
|
};
|
|
883
|
-
}),
|
|
883
|
+
}), bo = /* @__PURE__ */ V({
|
|
884
884
|
__name: "VoSettingsDialog",
|
|
885
885
|
props: {
|
|
886
886
|
modelValue: { type: Boolean },
|
|
@@ -888,40 +888,40 @@ const Qe = ee("settings", () => {
|
|
|
888
888
|
},
|
|
889
889
|
emits: ["update:modelValue"],
|
|
890
890
|
setup(u) {
|
|
891
|
-
const t =
|
|
891
|
+
const t = he(u, "modelValue"), a = R(), s = Xe(), n = P(), r = [
|
|
892
892
|
{
|
|
893
893
|
title: "Light",
|
|
894
894
|
subtitle: "A standard light theme.",
|
|
895
895
|
image: s.CDN_URL + "themes/light.png",
|
|
896
|
-
prependIcon: `svg:${
|
|
896
|
+
prependIcon: `svg:${dt}`,
|
|
897
897
|
value: "light"
|
|
898
898
|
},
|
|
899
899
|
{
|
|
900
900
|
title: "Dark",
|
|
901
901
|
subtitle: "A standard dark theme.",
|
|
902
902
|
image: s.CDN_URL + "themes/dark.png",
|
|
903
|
-
prependIcon: `svg:${
|
|
903
|
+
prependIcon: `svg:${pt}`,
|
|
904
904
|
value: "dark"
|
|
905
905
|
},
|
|
906
906
|
{
|
|
907
907
|
title: "System",
|
|
908
908
|
subtitle: "A theme based on the system preference.",
|
|
909
909
|
image: s.CDN_URL + "themes/system.png",
|
|
910
|
-
prependIcon: `svg:${
|
|
910
|
+
prependIcon: `svg:${mt}`,
|
|
911
911
|
value: "system"
|
|
912
912
|
},
|
|
913
913
|
{
|
|
914
914
|
title: "Blackguard",
|
|
915
915
|
subtitle: "A theme for v3.4 Blackguard.",
|
|
916
916
|
image: s.CDN_URL + "themes/blackguard.png",
|
|
917
|
-
prependIcon: `svg:${
|
|
917
|
+
prependIcon: `svg:${Ee}`,
|
|
918
918
|
value: "blackguard"
|
|
919
919
|
},
|
|
920
920
|
{
|
|
921
921
|
title: "Polaris",
|
|
922
922
|
subtitle: "A theme for v3.5 Polaris.",
|
|
923
923
|
image: s.CDN_URL + "themes/polaris.png",
|
|
924
|
-
prependIcon: `svg:${
|
|
924
|
+
prependIcon: `svg:${ft}`,
|
|
925
925
|
value: "polaris",
|
|
926
926
|
disabled: !0
|
|
927
927
|
},
|
|
@@ -929,7 +929,7 @@ const Qe = ee("settings", () => {
|
|
|
929
929
|
title: "Nebula",
|
|
930
930
|
subtitle: "A theme for v3.6 Nebula.",
|
|
931
931
|
image: s.CDN_URL + "themes/nebula.png",
|
|
932
|
-
prependIcon: `svg:${
|
|
932
|
+
prependIcon: `svg:${vt}`,
|
|
933
933
|
value: "nebula",
|
|
934
934
|
disabled: !0
|
|
935
935
|
},
|
|
@@ -937,50 +937,51 @@ const Qe = ee("settings", () => {
|
|
|
937
937
|
title: "High Contrast",
|
|
938
938
|
subtitle: "A theme for high contrast.",
|
|
939
939
|
image: s.CDN_URL + "themes/high-contrast.png",
|
|
940
|
-
prependIcon: `svg:${
|
|
940
|
+
prependIcon: `svg:${_t}`,
|
|
941
941
|
value: "highContrast",
|
|
942
942
|
disabled: !0
|
|
943
943
|
}
|
|
944
944
|
];
|
|
945
945
|
return (c, l) => {
|
|
946
|
-
const h =
|
|
947
|
-
return d(),
|
|
946
|
+
const h = de, p = ho, g = Qe, L = xe;
|
|
947
|
+
return d(), _(L, {
|
|
948
948
|
modelValue: t.value,
|
|
949
949
|
"onUpdate:modelValue": l[5] || (l[5] = (m) => t.value = m),
|
|
950
|
-
"prepend-icon": `svg:${e(
|
|
950
|
+
"prepend-icon": `svg:${e(ht)}`,
|
|
951
951
|
title: "Settings"
|
|
952
952
|
}, {
|
|
953
953
|
default: i(() => [
|
|
954
954
|
o(Fe, null, {
|
|
955
955
|
default: i(() => [
|
|
956
|
-
o(
|
|
956
|
+
o(je, { scrollable: "" }, {
|
|
957
957
|
default: i(() => [
|
|
958
|
-
o(
|
|
958
|
+
o(Y, { class: "px-7" }, {
|
|
959
959
|
default: i(() => [
|
|
960
960
|
o(h, {
|
|
961
961
|
text: "Customize your documentation experience with light and dark themes, as well as a combination of both named.",
|
|
962
962
|
title: "Theme"
|
|
963
963
|
}),
|
|
964
|
-
o(
|
|
964
|
+
o(Ye, {
|
|
965
965
|
modelValue: e(n).theme,
|
|
966
966
|
"onUpdate:modelValue": l[0] || (l[0] = (m) => e(n).theme = m),
|
|
967
967
|
mandatory: ""
|
|
968
968
|
}, {
|
|
969
969
|
default: i(() => [
|
|
970
|
-
o(
|
|
970
|
+
o(Ve, { dense: "" }, {
|
|
971
971
|
default: i(() => [
|
|
972
|
-
(d(),
|
|
972
|
+
(d(), S(U, null, ne(r, (m, k) => o(le, {
|
|
973
973
|
key: k,
|
|
974
|
-
cols: "
|
|
974
|
+
cols: "12",
|
|
975
|
+
md: "6"
|
|
975
976
|
}, {
|
|
976
977
|
default: i(() => [
|
|
977
|
-
o(
|
|
978
|
+
o(Le, {
|
|
978
979
|
value: m.value
|
|
979
980
|
}, {
|
|
980
981
|
default: i(({ toggle: D, isSelected: b }) => [
|
|
981
|
-
o(
|
|
982
|
-
default: i(({ props:
|
|
983
|
-
o(
|
|
982
|
+
o(qe, null, {
|
|
983
|
+
default: i(({ props: w, isHovering: I }) => [
|
|
984
|
+
o(B, X({
|
|
984
985
|
color: b ? "primary" : "surface-variant",
|
|
985
986
|
disabled: m.disabled,
|
|
986
987
|
image: m.image,
|
|
@@ -990,11 +991,11 @@ const Qe = ee("settings", () => {
|
|
|
990
991
|
title: m.title,
|
|
991
992
|
height: "76",
|
|
992
993
|
variant: "tonal"
|
|
993
|
-
},
|
|
994
|
+
}, w, { onClick: D }), {
|
|
994
995
|
image: i(() => [
|
|
995
|
-
o(
|
|
996
|
+
o(Ne, {
|
|
996
997
|
style: Be({
|
|
997
|
-
filter: b ||
|
|
998
|
+
filter: b || I ? "none" : "grayscale(100%)"
|
|
998
999
|
})
|
|
999
1000
|
}, null, 8, ["style"])
|
|
1000
1001
|
]),
|
|
@@ -1015,21 +1016,21 @@ const Qe = ee("settings", () => {
|
|
|
1015
1016
|
]),
|
|
1016
1017
|
_: 1
|
|
1017
1018
|
}, 8, ["modelValue"]),
|
|
1018
|
-
e(a).isSubscriber ? (d(),
|
|
1019
|
-
o(
|
|
1019
|
+
e(a).isSubscriber ? (d(), S(U, { key: 0 }, [
|
|
1020
|
+
o(T, { class: "mt-6 mb-4" }),
|
|
1020
1021
|
o(p)
|
|
1021
1022
|
], 64)) : $("", !0)
|
|
1022
1023
|
]),
|
|
1023
1024
|
_: 1
|
|
1024
1025
|
}),
|
|
1025
|
-
o(
|
|
1026
|
-
o(
|
|
1026
|
+
o(T),
|
|
1027
|
+
o(Y, { class: "px-7" }, {
|
|
1027
1028
|
default: i(() => [
|
|
1028
1029
|
o(h, {
|
|
1029
1030
|
text: "These options change your browsing experience within Vuetify properties",
|
|
1030
1031
|
title: "Experience"
|
|
1031
1032
|
}),
|
|
1032
|
-
e(a).isSubscriber ? (d(),
|
|
1033
|
+
e(a).isSubscriber ? (d(), _(g, {
|
|
1033
1034
|
key: 0,
|
|
1034
1035
|
modelValue: e(n).disableAds,
|
|
1035
1036
|
"onUpdate:modelValue": l[1] || (l[1] = (m) => e(n).disableAds = m),
|
|
@@ -1046,8 +1047,8 @@ const Qe = ee("settings", () => {
|
|
|
1046
1047
|
]),
|
|
1047
1048
|
_: 1
|
|
1048
1049
|
}),
|
|
1049
|
-
o(
|
|
1050
|
-
e(a).isSubscriber ? (d(),
|
|
1050
|
+
o(T),
|
|
1051
|
+
e(a).isSubscriber ? (d(), _(Y, {
|
|
1051
1052
|
key: 0,
|
|
1052
1053
|
class: "px-7"
|
|
1053
1054
|
}, {
|
|
@@ -1063,7 +1064,7 @@ const Qe = ee("settings", () => {
|
|
|
1063
1064
|
label: "Enable Notifications",
|
|
1064
1065
|
messages: "Notifications are short form messages that provide information about new releases, updates, and other important information."
|
|
1065
1066
|
}, null, 8, ["modelValue"]),
|
|
1066
|
-
e(n).notifications.show ? (d(),
|
|
1067
|
+
e(n).notifications.show ? (d(), _(g, {
|
|
1067
1068
|
key: 0,
|
|
1068
1069
|
modelValue: e(n).notifications.banners,
|
|
1069
1070
|
"onUpdate:modelValue": l[4] || (l[4] = (m) => e(n).notifications.banners = m),
|
|
@@ -1085,15 +1086,15 @@ const Qe = ee("settings", () => {
|
|
|
1085
1086
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
1086
1087
|
};
|
|
1087
1088
|
}
|
|
1088
|
-
}),
|
|
1089
|
+
}), yo = /* @__PURE__ */ V({
|
|
1089
1090
|
__name: "VoSettingsListItem",
|
|
1090
1091
|
setup(u) {
|
|
1091
1092
|
const t = F(!1);
|
|
1092
1093
|
return (a, s) => {
|
|
1093
|
-
const n =
|
|
1094
|
-
return d(),
|
|
1094
|
+
const n = bo, r = J;
|
|
1095
|
+
return d(), _(r, {
|
|
1095
1096
|
active: t.value,
|
|
1096
|
-
"prepend-icon": `svg:${e(
|
|
1097
|
+
"prepend-icon": `svg:${e(gt)}`,
|
|
1097
1098
|
title: "Settings",
|
|
1098
1099
|
link: ""
|
|
1099
1100
|
}, {
|
|
@@ -1107,62 +1108,67 @@ const Qe = ee("settings", () => {
|
|
|
1107
1108
|
}, 8, ["active", "prepend-icon"]);
|
|
1108
1109
|
};
|
|
1109
1110
|
}
|
|
1110
|
-
}),
|
|
1111
|
-
const t = new URLSearchParams(window.location.search).get("session_id"), a =
|
|
1112
|
-
var
|
|
1113
|
-
return (
|
|
1114
|
-
}), p =
|
|
1115
|
-
var
|
|
1116
|
-
return (
|
|
1117
|
-
}), g =
|
|
1118
|
-
var
|
|
1119
|
-
return !!((
|
|
1120
|
-
}),
|
|
1121
|
-
var
|
|
1122
|
-
return (
|
|
1123
|
-
}), m =
|
|
1124
|
-
var
|
|
1125
|
-
return (
|
|
1126
|
-
}), k =
|
|
1127
|
-
var
|
|
1128
|
-
return (
|
|
1129
|
-
}), D =
|
|
1130
|
-
var
|
|
1131
|
-
return (
|
|
1132
|
-
}), b =
|
|
1133
|
-
var
|
|
1134
|
-
return (
|
|
1111
|
+
}), Q = se("one", () => {
|
|
1112
|
+
const t = new URLSearchParams(window.location.search).get("session_id"), a = R(), s = ke(), n = F(!1), r = oe(!1), c = oe(), l = oe([]), h = A(() => {
|
|
1113
|
+
var v;
|
|
1114
|
+
return (v = c.value) == null ? void 0 : v.items[0].plan.interval;
|
|
1115
|
+
}), p = A(() => {
|
|
1116
|
+
var v;
|
|
1117
|
+
return (v = a.user) == null ? void 0 : v.sponsorships.find((y) => y.platform === "stripe" && y.tierName.startsWith("sub_"));
|
|
1118
|
+
}), g = A(() => {
|
|
1119
|
+
var v;
|
|
1120
|
+
return !!((v = p.value) != null && v.tierName);
|
|
1121
|
+
}), L = A(() => {
|
|
1122
|
+
var v;
|
|
1123
|
+
return (v = p.value) == null ? void 0 : v.isActive;
|
|
1124
|
+
}), m = A(() => {
|
|
1125
|
+
var v;
|
|
1126
|
+
return (v = a.user) == null ? void 0 : v.sponsorships.find((y) => y.platform === "github");
|
|
1127
|
+
}), k = A(() => {
|
|
1128
|
+
var v;
|
|
1129
|
+
return (v = a.user) == null ? void 0 : v.sponsorships.find((y) => y.platform === "discord");
|
|
1130
|
+
}), D = A(() => {
|
|
1131
|
+
var v;
|
|
1132
|
+
return (v = a.user) == null ? void 0 : v.sponsorships.find((y) => y.platform === "patreon");
|
|
1133
|
+
}), b = A(() => {
|
|
1134
|
+
var v;
|
|
1135
|
+
return (v = a.user) == null ? void 0 : v.sponsorships.reduce((y, M) => {
|
|
1136
|
+
if (!M.isActive || M.interval === "once")
|
|
1137
|
+
return y;
|
|
1138
|
+
const ee = M.interval === "month" ? M.amount : M.amount / 12;
|
|
1139
|
+
return y + ee / 100;
|
|
1140
|
+
}, 0);
|
|
1135
1141
|
});
|
|
1136
|
-
|
|
1137
|
-
t && await
|
|
1138
|
-
}), W(
|
|
1139
|
-
|
|
1142
|
+
tt(async () => {
|
|
1143
|
+
t && await w();
|
|
1144
|
+
}), W(L, (v, y) => {
|
|
1145
|
+
v === !1 && y !== !0 || x();
|
|
1140
1146
|
});
|
|
1141
|
-
async function
|
|
1147
|
+
async function w() {
|
|
1142
1148
|
try {
|
|
1143
1149
|
n.value = !0;
|
|
1144
|
-
const
|
|
1145
|
-
a.user =
|
|
1150
|
+
const v = await s.post("/one/activate", { sessionId: t });
|
|
1151
|
+
a.user = v.user;
|
|
1146
1152
|
const y = new URL(window.location.href);
|
|
1147
|
-
y.searchParams.delete("session_id"), history.pushState(null, "", y.toString()),
|
|
1153
|
+
y.searchParams.delete("session_id"), history.pushState(null, "", y.toString()), H();
|
|
1148
1154
|
} catch {
|
|
1149
1155
|
} finally {
|
|
1150
1156
|
n.value = !1;
|
|
1151
1157
|
}
|
|
1152
1158
|
}
|
|
1153
|
-
async function
|
|
1159
|
+
async function I() {
|
|
1154
1160
|
window.open(`${s.url}/one/manage`, "_blank");
|
|
1155
1161
|
}
|
|
1156
|
-
async function O(
|
|
1157
|
-
n.value = !0, window.location.href = `${s.url}/one/subscribe?interval=${
|
|
1162
|
+
async function O(v) {
|
|
1163
|
+
n.value = !0, window.location.href = `${s.url}/one/subscribe?interval=${v}`;
|
|
1158
1164
|
}
|
|
1159
|
-
async function
|
|
1160
|
-
var
|
|
1165
|
+
async function q() {
|
|
1166
|
+
var v;
|
|
1161
1167
|
if (p.value)
|
|
1162
1168
|
try {
|
|
1163
1169
|
n.value = !0;
|
|
1164
1170
|
const y = await s.post(
|
|
1165
|
-
`/one/cancel?subscriptionId=${(
|
|
1171
|
+
`/one/cancel?subscriptionId=${(v = p.value) == null ? void 0 : v.tierName}`
|
|
1166
1172
|
);
|
|
1167
1173
|
a.user = y.user;
|
|
1168
1174
|
} catch {
|
|
@@ -1170,13 +1176,13 @@ const Qe = ee("settings", () => {
|
|
|
1170
1176
|
n.value = !1;
|
|
1171
1177
|
}
|
|
1172
1178
|
}
|
|
1173
|
-
async function
|
|
1179
|
+
async function K(v) {
|
|
1174
1180
|
if (p.value)
|
|
1175
1181
|
try {
|
|
1176
1182
|
n.value = !0;
|
|
1177
1183
|
const y = await s.post("/one/modify", {
|
|
1178
1184
|
subscriptionId: p.value.tierName,
|
|
1179
|
-
interval:
|
|
1185
|
+
interval: v
|
|
1180
1186
|
});
|
|
1181
1187
|
a.user = y.user;
|
|
1182
1188
|
} catch {
|
|
@@ -1184,13 +1190,13 @@ const Qe = ee("settings", () => {
|
|
|
1184
1190
|
n.value = !1;
|
|
1185
1191
|
}
|
|
1186
1192
|
}
|
|
1187
|
-
async function
|
|
1188
|
-
var
|
|
1193
|
+
async function x() {
|
|
1194
|
+
var v;
|
|
1189
1195
|
if (p.value)
|
|
1190
1196
|
try {
|
|
1191
1197
|
n.value = !0;
|
|
1192
1198
|
const y = await s.post(
|
|
1193
|
-
`/one/verify?subscriptionId=${(
|
|
1199
|
+
`/one/verify?subscriptionId=${(v = p.value) == null ? void 0 : v.tierName}`
|
|
1194
1200
|
);
|
|
1195
1201
|
a.user = y.user;
|
|
1196
1202
|
} catch {
|
|
@@ -1198,11 +1204,11 @@ const Qe = ee("settings", () => {
|
|
|
1198
1204
|
n.value = !1;
|
|
1199
1205
|
}
|
|
1200
1206
|
}
|
|
1201
|
-
async function
|
|
1207
|
+
async function H() {
|
|
1202
1208
|
try {
|
|
1203
1209
|
n.value = !0;
|
|
1204
|
-
const
|
|
1205
|
-
return c.value =
|
|
1210
|
+
const v = await s.get("/one/info");
|
|
1211
|
+
return c.value = v.subscription, l.value = v.invoices, v;
|
|
1206
1212
|
} catch {
|
|
1207
1213
|
} finally {
|
|
1208
1214
|
n.value = !1;
|
|
@@ -1218,51 +1224,51 @@ const Qe = ee("settings", () => {
|
|
|
1218
1224
|
hasBilling: g,
|
|
1219
1225
|
isLoading: n,
|
|
1220
1226
|
isOpen: r,
|
|
1221
|
-
isSubscriber:
|
|
1227
|
+
isSubscriber: L,
|
|
1222
1228
|
github: m,
|
|
1223
1229
|
patreon: D,
|
|
1224
1230
|
discord: k,
|
|
1225
|
-
activate:
|
|
1226
|
-
cancel:
|
|
1227
|
-
manage:
|
|
1228
|
-
modify:
|
|
1231
|
+
activate: w,
|
|
1232
|
+
cancel: q,
|
|
1233
|
+
manage: I,
|
|
1234
|
+
modify: K,
|
|
1229
1235
|
subscribe: O,
|
|
1230
|
-
subscriptionInfo:
|
|
1231
|
-
verify:
|
|
1236
|
+
subscriptionInfo: H,
|
|
1237
|
+
verify: x
|
|
1232
1238
|
};
|
|
1233
|
-
}),
|
|
1239
|
+
}), Vo = { class: "text-caption" }, ko = /* @__PURE__ */ V({
|
|
1234
1240
|
__name: "VoSubscriptionInvoices",
|
|
1235
1241
|
setup(u) {
|
|
1236
|
-
const t =
|
|
1242
|
+
const t = ye(), a = Q();
|
|
1237
1243
|
return (s, n) => {
|
|
1238
|
-
const r =
|
|
1239
|
-
return d(),
|
|
1244
|
+
const r = de;
|
|
1245
|
+
return d(), _(Ve, null, {
|
|
1240
1246
|
default: i(() => [
|
|
1241
|
-
o(
|
|
1247
|
+
o(le, { cols: "12" }, {
|
|
1242
1248
|
default: i(() => [
|
|
1243
1249
|
o(r, {
|
|
1244
1250
|
text: "View and download your invoice history.",
|
|
1245
1251
|
title: "Invoice History"
|
|
1246
1252
|
}),
|
|
1247
|
-
o(
|
|
1253
|
+
o(B, {
|
|
1248
1254
|
height: "450",
|
|
1249
1255
|
rounded: "lg",
|
|
1250
1256
|
border: ""
|
|
1251
1257
|
}, {
|
|
1252
1258
|
default: i(() => [
|
|
1253
|
-
o(
|
|
1259
|
+
o(Qt, {
|
|
1254
1260
|
items: e(a).invoices,
|
|
1255
1261
|
loading: e(a).isLoading,
|
|
1256
1262
|
sticky: ""
|
|
1257
1263
|
}, {
|
|
1258
1264
|
"item.date": i(({ item: c }) => [
|
|
1259
|
-
|
|
1265
|
+
f("div", Vo, C(e(t).format(new Date(c.date * 1e3), "fullDateWithWeekday")), 1)
|
|
1260
1266
|
]),
|
|
1261
1267
|
"item.amount": i(({ item: c }) => [
|
|
1262
1268
|
j(" $" + C(c.amount / 100), 1)
|
|
1263
1269
|
]),
|
|
1264
1270
|
"item.status": i(({ item: c }) => [
|
|
1265
|
-
o(
|
|
1271
|
+
o(E, {
|
|
1266
1272
|
text: c.status,
|
|
1267
1273
|
border: "success sm",
|
|
1268
1274
|
class: "text-capitalize",
|
|
@@ -1275,7 +1281,7 @@ const Qe = ee("settings", () => {
|
|
|
1275
1281
|
"item.pdf": i(({ item: c }) => [
|
|
1276
1282
|
o(Z, {
|
|
1277
1283
|
href: c.pdf,
|
|
1278
|
-
icon: `svg:${e(
|
|
1284
|
+
icon: `svg:${e(bt)}`,
|
|
1279
1285
|
size: "small",
|
|
1280
1286
|
target: "_blank",
|
|
1281
1287
|
variant: "text"
|
|
@@ -1294,14 +1300,14 @@ const Qe = ee("settings", () => {
|
|
|
1294
1300
|
});
|
|
1295
1301
|
};
|
|
1296
1302
|
}
|
|
1297
|
-
}),
|
|
1303
|
+
}), $o = { class: "d-flex align-center" }, xo = {
|
|
1298
1304
|
key: "status",
|
|
1299
1305
|
class: "text-capitalize hidden-sm-and-down"
|
|
1300
|
-
},
|
|
1306
|
+
}, wo = /* @__PURE__ */ f("span", { class: "mx-1 hidden-sm-and-down" }, "—", -1), So = { class: "me-1" }, Co = { class: "text-medium-emphasis text-caption" }, Lo = { class: "d-flex align-start justify-space-between text-caption py-2" }, Ao = { class: "font-weight-bold" }, Io = { class: "font-weight-bold" }, Do = /* @__PURE__ */ V({
|
|
1301
1307
|
__name: "VoSubscriptionStatus",
|
|
1302
1308
|
emits: ["change:subscription"],
|
|
1303
1309
|
setup(u, { emit: t }) {
|
|
1304
|
-
const a =
|
|
1310
|
+
const a = ye(), s = Q(), n = t, r = A(() => {
|
|
1305
1311
|
if (!s.info)
|
|
1306
1312
|
return;
|
|
1307
1313
|
const l = new Date(s.info.currentPeriodEnd * 1e3);
|
|
@@ -1311,14 +1317,14 @@ const Qe = ee("settings", () => {
|
|
|
1311
1317
|
s.interval && (s.isLoading = !0, s.subscribe(s.interval));
|
|
1312
1318
|
}
|
|
1313
1319
|
return (l, h) => {
|
|
1314
|
-
const p =
|
|
1315
|
-
return d(),
|
|
1320
|
+
const p = ue;
|
|
1321
|
+
return d(), _(Ve, null, {
|
|
1316
1322
|
default: i(() => [
|
|
1317
|
-
o(
|
|
1323
|
+
o(le, { cols: "12" }, {
|
|
1318
1324
|
default: i(() => {
|
|
1319
|
-
var g,
|
|
1325
|
+
var g, L;
|
|
1320
1326
|
return [
|
|
1321
|
-
o(
|
|
1327
|
+
o(B, {
|
|
1322
1328
|
"prepend-icon": "$vuetify",
|
|
1323
1329
|
rounded: "lg",
|
|
1324
1330
|
title: "Subscription Status",
|
|
@@ -1328,7 +1334,7 @@ const Qe = ee("settings", () => {
|
|
|
1328
1334
|
append: i(() => {
|
|
1329
1335
|
var m;
|
|
1330
1336
|
return [
|
|
1331
|
-
e(s).hasBilling && ((m = e(s).info) == null ? void 0 : m.status) === "canceled" ? (d(),
|
|
1337
|
+
e(s).hasBilling && ((m = e(s).info) == null ? void 0 : m.status) === "canceled" ? (d(), _(p, {
|
|
1332
1338
|
key: 0,
|
|
1333
1339
|
loading: e(s).isLoading,
|
|
1334
1340
|
class: "me-2",
|
|
@@ -1338,10 +1344,10 @@ const Qe = ee("settings", () => {
|
|
|
1338
1344
|
variant: "outlined",
|
|
1339
1345
|
onClick: c
|
|
1340
1346
|
}, null, 8, ["loading"])) : $("", !0),
|
|
1341
|
-
e(s).hasBilling ? (d(),
|
|
1347
|
+
e(s).hasBilling ? (d(), _(p, {
|
|
1342
1348
|
key: 1,
|
|
1343
1349
|
loading: e(s).isLoading,
|
|
1344
|
-
"prepend-icon": `svg:${e(
|
|
1350
|
+
"prepend-icon": `svg:${e(yt)}`,
|
|
1345
1351
|
text: "Billing",
|
|
1346
1352
|
onClick: e(s).manage
|
|
1347
1353
|
}, null, 8, ["loading", "prepend-icon", "onClick"])) : $("", !0)
|
|
@@ -1352,13 +1358,13 @@ const Qe = ee("settings", () => {
|
|
|
1352
1358
|
e(s).info ? {
|
|
1353
1359
|
name: "subtitle",
|
|
1354
1360
|
fn: i(() => [
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
e(s).info.items.length ? (d(),
|
|
1358
|
-
|
|
1359
|
-
|
|
1361
|
+
f("div", $o, [
|
|
1362
|
+
f("span", xo, C(e(s).info.status), 1),
|
|
1363
|
+
e(s).info.items.length ? (d(), S(U, { key: 0 }, [
|
|
1364
|
+
wo,
|
|
1365
|
+
f("span", So, [
|
|
1360
1366
|
j(" $" + C(e(s).info.items[0].plan.amount / 100), 1),
|
|
1361
|
-
|
|
1367
|
+
f("span", Co, "/" + C(e(s).interval), 1)
|
|
1362
1368
|
]),
|
|
1363
1369
|
o(p, {
|
|
1364
1370
|
size: "x-small",
|
|
@@ -1373,14 +1379,14 @@ const Qe = ee("settings", () => {
|
|
|
1373
1379
|
} : {
|
|
1374
1380
|
name: "subtitle",
|
|
1375
1381
|
fn: i(() => [
|
|
1376
|
-
|
|
1377
|
-
o(
|
|
1382
|
+
f("div", { class: "d-flex align-center" }, [
|
|
1383
|
+
o(ze, {
|
|
1378
1384
|
height: "16",
|
|
1379
1385
|
type: "ossein",
|
|
1380
1386
|
width: "40"
|
|
1381
1387
|
}),
|
|
1382
|
-
|
|
1383
|
-
o(
|
|
1388
|
+
f("span", { class: "mx-1" }, "—"),
|
|
1389
|
+
o(ze, {
|
|
1384
1390
|
height: "16",
|
|
1385
1391
|
type: "ossein",
|
|
1386
1392
|
width: "80"
|
|
@@ -1390,15 +1396,15 @@ const Qe = ee("settings", () => {
|
|
|
1390
1396
|
key: "1"
|
|
1391
1397
|
}
|
|
1392
1398
|
]), 1024),
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
((g = e(s).info) == null ? void 0 : g.status) === "active" ? (d(),
|
|
1399
|
+
f("div", Lo, [
|
|
1400
|
+
f("div", null, [
|
|
1401
|
+
((g = e(s).info) == null ? void 0 : g.status) === "active" ? (d(), S(U, { key: 0 }, [
|
|
1396
1402
|
j(" Your plan renews on "),
|
|
1397
|
-
|
|
1403
|
+
f("span", Ao, C(e(a).format(r.value, "fullDateWithWeekday")), 1),
|
|
1398
1404
|
j(". ")
|
|
1399
|
-
], 64)) : (d(),
|
|
1405
|
+
], 64)) : (d(), S(U, { key: 1 }, [
|
|
1400
1406
|
j(" Your plan ends on "),
|
|
1401
|
-
|
|
1407
|
+
f("span", Io, C(e(a).format((L = e(s).info) == null ? void 0 : L.currentPeriodEnd, "fullDateWithWeekday")), 1),
|
|
1402
1408
|
j(". ")
|
|
1403
1409
|
], 64))
|
|
1404
1410
|
])
|
|
@@ -1412,7 +1418,7 @@ const Qe = ee("settings", () => {
|
|
|
1412
1418
|
});
|
|
1413
1419
|
};
|
|
1414
1420
|
}
|
|
1415
|
-
}),
|
|
1421
|
+
}), Uo = /* @__PURE__ */ f("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The Vuetify One subscription comes with the following perks: ", -1), No = ["innerHTML"], Fo = /* @__PURE__ */ f("br", null, null, -1), jo = /* @__PURE__ */ f("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The following features are in development and coming soon: ", -1), Oo = ["innerHTML"], zo = /* @__PURE__ */ V({
|
|
1416
1422
|
__name: "VoSubscriptionPerks",
|
|
1417
1423
|
setup(u) {
|
|
1418
1424
|
const t = [
|
|
@@ -1425,40 +1431,40 @@ const Qe = ee("settings", () => {
|
|
|
1425
1431
|
'Special role in the <a href="https://discord.vuetifyjs.com/" target="_blank">Vuetify Discord</a>',
|
|
1426
1432
|
'Save and share your playgrounds with <a href="https://play.vuetifyjs.com" target="_blank">Vuetify Play</a>',
|
|
1427
1433
|
"Receive a special label on GitHub created issues and pull requests"
|
|
1428
|
-
], s = F(!1), n =
|
|
1434
|
+
], s = F(!1), n = Q();
|
|
1429
1435
|
return W(s, async (r) => {
|
|
1430
1436
|
r && n.subscriptionInfo();
|
|
1431
1437
|
}), (r, c) => {
|
|
1432
|
-
const l =
|
|
1433
|
-
return d(),
|
|
1434
|
-
o(
|
|
1438
|
+
const l = J;
|
|
1439
|
+
return d(), S(U, null, [
|
|
1440
|
+
o(Ce, { class: "font-weight-black" }, {
|
|
1435
1441
|
default: i(() => [
|
|
1436
1442
|
j("Perks")
|
|
1437
1443
|
]),
|
|
1438
1444
|
_: 1
|
|
1439
1445
|
}),
|
|
1440
|
-
|
|
1441
|
-
o(
|
|
1446
|
+
Uo,
|
|
1447
|
+
o(ie, {
|
|
1442
1448
|
lines: !1,
|
|
1443
1449
|
class: "py-0",
|
|
1444
1450
|
density: "compact",
|
|
1445
1451
|
nav: ""
|
|
1446
1452
|
}, {
|
|
1447
1453
|
default: i(() => [
|
|
1448
|
-
(d(),
|
|
1454
|
+
(d(), S(U, null, ne(t, (h, p) => o(l, {
|
|
1449
1455
|
key: p,
|
|
1450
1456
|
"prepend-icon": `svg:${e(te)}`,
|
|
1451
1457
|
class: "mb-0"
|
|
1452
1458
|
}, {
|
|
1453
1459
|
prepend: i(() => [
|
|
1454
|
-
o(
|
|
1460
|
+
o(N, {
|
|
1455
1461
|
class: "mx-n2",
|
|
1456
1462
|
color: "success",
|
|
1457
1463
|
size: "small"
|
|
1458
1464
|
})
|
|
1459
1465
|
]),
|
|
1460
1466
|
title: i(() => [
|
|
1461
|
-
|
|
1467
|
+
f("div", { innerHTML: h }, null, 8, No)
|
|
1462
1468
|
]),
|
|
1463
1469
|
_: 2
|
|
1464
1470
|
}, 1032, ["prepend-icon"])), 64))
|
|
@@ -1466,33 +1472,33 @@ const Qe = ee("settings", () => {
|
|
|
1466
1472
|
_: 1
|
|
1467
1473
|
}),
|
|
1468
1474
|
Fo,
|
|
1469
|
-
o(
|
|
1475
|
+
o(Ce, { class: "font-weight-black" }, {
|
|
1470
1476
|
default: i(() => [
|
|
1471
1477
|
j("Up Next")
|
|
1472
1478
|
]),
|
|
1473
1479
|
_: 1
|
|
1474
1480
|
}),
|
|
1475
|
-
|
|
1476
|
-
o(
|
|
1481
|
+
jo,
|
|
1482
|
+
o(ie, {
|
|
1477
1483
|
lines: !1,
|
|
1478
1484
|
class: "py-0",
|
|
1479
1485
|
density: "compact",
|
|
1480
1486
|
nav: ""
|
|
1481
1487
|
}, {
|
|
1482
1488
|
default: i(() => [
|
|
1483
|
-
(d(),
|
|
1489
|
+
(d(), S(U, null, ne(a, (h, p) => o(l, {
|
|
1484
1490
|
key: p,
|
|
1485
|
-
"prepend-icon": `svg:${e(
|
|
1491
|
+
"prepend-icon": `svg:${e(Vt)}`,
|
|
1486
1492
|
class: "mb-0"
|
|
1487
1493
|
}, {
|
|
1488
1494
|
prepend: i(() => [
|
|
1489
|
-
o(
|
|
1495
|
+
o(N, {
|
|
1490
1496
|
class: "mx-n2",
|
|
1491
1497
|
size: "small"
|
|
1492
1498
|
})
|
|
1493
1499
|
]),
|
|
1494
1500
|
title: i(() => [
|
|
1495
|
-
|
|
1501
|
+
f("div", { innerHTML: h }, null, 8, Oo)
|
|
1496
1502
|
]),
|
|
1497
1503
|
_: 2
|
|
1498
1504
|
}, 1032, ["prepend-icon"])), 64))
|
|
@@ -1512,29 +1518,29 @@ const Qe = ee("settings", () => {
|
|
|
1512
1518
|
},
|
|
1513
1519
|
emits: ["update:modelValue"],
|
|
1514
1520
|
setup(u) {
|
|
1515
|
-
const t = F(!1), a =
|
|
1521
|
+
const t = F(!1), a = he(u, "modelValue"), s = Q();
|
|
1516
1522
|
return W(t, async (n) => {
|
|
1517
1523
|
n && s.subscriptionInfo();
|
|
1518
1524
|
}), W(() => s.interval, (n) => {
|
|
1519
1525
|
a.value = n;
|
|
1520
|
-
}, { immediate: !0 }), (n, r) => (d(),
|
|
1526
|
+
}, { immediate: !0 }), (n, r) => (d(), _(Ye, {
|
|
1521
1527
|
modelValue: a.value,
|
|
1522
1528
|
"onUpdate:modelValue": r[0] || (r[0] = (c) => a.value = c)
|
|
1523
1529
|
}, {
|
|
1524
1530
|
default: i(() => [
|
|
1525
|
-
o(
|
|
1531
|
+
o(Ve, null, {
|
|
1526
1532
|
default: i(() => [
|
|
1527
|
-
o(
|
|
1533
|
+
o(le, {
|
|
1528
1534
|
cols: "12",
|
|
1529
1535
|
md: "6"
|
|
1530
1536
|
}, {
|
|
1531
1537
|
default: i(() => [
|
|
1532
|
-
o(
|
|
1538
|
+
o(Le, { value: "month" }, {
|
|
1533
1539
|
default: i(({ toggle: c, isSelected: l }) => [
|
|
1534
|
-
o(
|
|
1540
|
+
o(B, {
|
|
1535
1541
|
border: l ? "sm primary opacity-100" : "sm",
|
|
1536
1542
|
color: l ? "primary" : void 0,
|
|
1537
|
-
"prepend-icon": l ? `svg:${e(
|
|
1543
|
+
"prepend-icon": l ? `svg:${e(re)}` : "$radioOff",
|
|
1538
1544
|
variant: l ? "tonal" : "text",
|
|
1539
1545
|
rounded: "lg",
|
|
1540
1546
|
subtitle: "$2.99/month",
|
|
@@ -1542,7 +1548,7 @@ const Qe = ee("settings", () => {
|
|
|
1542
1548
|
onClick: c
|
|
1543
1549
|
}, {
|
|
1544
1550
|
prepend: i(() => [
|
|
1545
|
-
o(
|
|
1551
|
+
o(N, { class: "mt-n6" })
|
|
1546
1552
|
]),
|
|
1547
1553
|
_: 2
|
|
1548
1554
|
}, 1032, ["border", "color", "prepend-icon", "variant", "onClick"])
|
|
@@ -1552,17 +1558,17 @@ const Qe = ee("settings", () => {
|
|
|
1552
1558
|
]),
|
|
1553
1559
|
_: 1
|
|
1554
1560
|
}),
|
|
1555
|
-
o(
|
|
1561
|
+
o(le, {
|
|
1556
1562
|
cols: "12",
|
|
1557
1563
|
md: "6"
|
|
1558
1564
|
}, {
|
|
1559
1565
|
default: i(() => [
|
|
1560
|
-
o(
|
|
1566
|
+
o(Le, { value: "year" }, {
|
|
1561
1567
|
default: i(({ toggle: c, isSelected: l }) => [
|
|
1562
|
-
o(
|
|
1568
|
+
o(B, {
|
|
1563
1569
|
border: l ? "sm primary opacity-100" : "sm",
|
|
1564
1570
|
color: l ? "primary" : void 0,
|
|
1565
|
-
"prepend-icon": l ? `svg:${e(
|
|
1571
|
+
"prepend-icon": l ? `svg:${e(re)}` : "$radioOff",
|
|
1566
1572
|
variant: l ? "tonal" : "text",
|
|
1567
1573
|
rounded: "lg",
|
|
1568
1574
|
subtitle: "$29.99/year",
|
|
@@ -1570,10 +1576,10 @@ const Qe = ee("settings", () => {
|
|
|
1570
1576
|
onClick: c
|
|
1571
1577
|
}, {
|
|
1572
1578
|
prepend: i(() => [
|
|
1573
|
-
o(
|
|
1579
|
+
o(N, { class: "mt-n6" })
|
|
1574
1580
|
]),
|
|
1575
1581
|
append: i(() => [
|
|
1576
|
-
o(
|
|
1582
|
+
o(E, {
|
|
1577
1583
|
class: "mt-n6",
|
|
1578
1584
|
color: "success",
|
|
1579
1585
|
size: "small",
|
|
@@ -1596,7 +1602,7 @@ const Qe = ee("settings", () => {
|
|
|
1596
1602
|
_: 1
|
|
1597
1603
|
}, 8, ["modelValue"]));
|
|
1598
1604
|
}
|
|
1599
|
-
}),
|
|
1605
|
+
}), To = { class: "px-3 h-screen" }, Ro = /* @__PURE__ */ f("br", null, null, -1), Ho = { class: "flex-grow-1 px-4 pb-3 overflow-hidden" }, Mo = /* @__PURE__ */ V({
|
|
1600
1606
|
__name: "VoSubscriptionDialog",
|
|
1601
1607
|
props: {
|
|
1602
1608
|
modelValue: { type: Boolean },
|
|
@@ -1607,50 +1613,50 @@ const Qe = ee("settings", () => {
|
|
|
1607
1613
|
function t(h) {
|
|
1608
1614
|
return new Promise((p) => setTimeout(p, h));
|
|
1609
1615
|
}
|
|
1610
|
-
const a =
|
|
1616
|
+
const a = he(u, "modelValue"), s = Q(), n = F(s.interval), r = F(s.hasBilling ? "status" : "subscribe"), c = F(!1);
|
|
1611
1617
|
W(n, (h) => {
|
|
1612
1618
|
!s.isSubscriber || !s.interval || (c.value = h !== s.interval);
|
|
1613
1619
|
}), W(a, async (h) => {
|
|
1614
1620
|
!h || !s.isSubscriber || s.subscriptionInfo();
|
|
1615
|
-
}),
|
|
1621
|
+
}), Re(() => {
|
|
1616
1622
|
s.sessionId && (r.value = "status", a.value = !0);
|
|
1617
1623
|
});
|
|
1618
1624
|
async function l() {
|
|
1619
1625
|
await s.modify(n.value), await s.subscriptionInfo(), c.value = null, await t(3e3), r.value = "status", await t(300), c.value = !1;
|
|
1620
1626
|
}
|
|
1621
1627
|
return (h, p) => {
|
|
1622
|
-
const g =
|
|
1623
|
-
return d(),
|
|
1628
|
+
const g = de, L = Bo, m = zo, k = Do, D = ko, b = ue, w = xe;
|
|
1629
|
+
return d(), _(w, {
|
|
1624
1630
|
modelValue: a.value,
|
|
1625
|
-
"onUpdate:modelValue": p[4] || (p[4] = (
|
|
1626
|
-
"prepend-icon": `svg:${e(
|
|
1631
|
+
"onUpdate:modelValue": p[4] || (p[4] = (I) => a.value = I),
|
|
1632
|
+
"prepend-icon": `svg:${e(kt)}`,
|
|
1627
1633
|
title: "Subscriptions"
|
|
1628
1634
|
}, G({
|
|
1629
1635
|
default: i(() => [
|
|
1630
|
-
|
|
1631
|
-
o(
|
|
1636
|
+
f("div", To, [
|
|
1637
|
+
o(Y, null, {
|
|
1632
1638
|
default: i(() => [
|
|
1633
1639
|
o(g, {
|
|
1634
1640
|
text: "The Vuetify One subscription is a great way to support the Vuetify team and get access to exclusive features and content.",
|
|
1635
1641
|
title: "Vuetify One"
|
|
1636
1642
|
}),
|
|
1637
|
-
o(
|
|
1643
|
+
o(Je, { "model-value": r.value }, {
|
|
1638
1644
|
default: i(() => [
|
|
1639
|
-
o(
|
|
1645
|
+
o(_e, { value: "subscribe" }, {
|
|
1640
1646
|
default: i(() => [
|
|
1641
|
-
o(
|
|
1647
|
+
o(L, {
|
|
1642
1648
|
modelValue: n.value,
|
|
1643
|
-
"onUpdate:modelValue": p[0] || (p[0] = (
|
|
1649
|
+
"onUpdate:modelValue": p[0] || (p[0] = (I) => n.value = I)
|
|
1644
1650
|
}, null, 8, ["modelValue"]),
|
|
1645
|
-
|
|
1651
|
+
Ro,
|
|
1646
1652
|
o(m)
|
|
1647
1653
|
]),
|
|
1648
1654
|
_: 1
|
|
1649
1655
|
}),
|
|
1650
|
-
o(
|
|
1656
|
+
o(_e, { value: "status" }, {
|
|
1651
1657
|
default: i(() => [
|
|
1652
1658
|
o(k, {
|
|
1653
|
-
"onChange:subscription": p[1] || (p[1] = (
|
|
1659
|
+
"onChange:subscription": p[1] || (p[1] = (I) => r.value = "subscribe")
|
|
1654
1660
|
}),
|
|
1655
1661
|
o(D)
|
|
1656
1662
|
]),
|
|
@@ -1669,25 +1675,25 @@ const Qe = ee("settings", () => {
|
|
|
1669
1675
|
r.value === "subscribe" ? {
|
|
1670
1676
|
name: "actions",
|
|
1671
1677
|
fn: i(() => [
|
|
1672
|
-
|
|
1673
|
-
c.value !== !1 ? (d(),
|
|
1678
|
+
f("div", Ho, [
|
|
1679
|
+
c.value !== !1 ? (d(), _(b, {
|
|
1674
1680
|
key: 0,
|
|
1675
1681
|
loading: e(s).isLoading,
|
|
1676
|
-
"prepend-icon": `svg:${c.value !== null ? e(
|
|
1682
|
+
"prepend-icon": `svg:${c.value !== null ? e($t) : e(re)}`,
|
|
1677
1683
|
readonly: c.value === null,
|
|
1678
1684
|
text: c.value !== null ? "Modify Subscription" : "Success",
|
|
1679
1685
|
color: "success",
|
|
1680
1686
|
size: "default",
|
|
1681
1687
|
block: "",
|
|
1682
1688
|
onClick: l
|
|
1683
|
-
}, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : e(s).isSubscriber ? (d(),
|
|
1689
|
+
}, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : e(s).isSubscriber ? (d(), _(b, {
|
|
1684
1690
|
key: 2,
|
|
1685
|
-
"prepend-icon": `svg:${e(
|
|
1691
|
+
"prepend-icon": `svg:${e(xt)}`,
|
|
1686
1692
|
size: "default",
|
|
1687
1693
|
text: "Manage Subscription",
|
|
1688
1694
|
block: "",
|
|
1689
|
-
onClick: p[3] || (p[3] = (
|
|
1690
|
-
}, null, 8, ["prepend-icon"])) : (d(),
|
|
1695
|
+
onClick: p[3] || (p[3] = (I) => r.value = "status")
|
|
1696
|
+
}, null, 8, ["prepend-icon"])) : (d(), _(b, {
|
|
1691
1697
|
key: 1,
|
|
1692
1698
|
color: n.value ? "primary" : "disabled",
|
|
1693
1699
|
disabled: !n.value,
|
|
@@ -1696,7 +1702,7 @@ const Qe = ee("settings", () => {
|
|
|
1696
1702
|
size: "default",
|
|
1697
1703
|
text: "Activate Subscription",
|
|
1698
1704
|
block: "",
|
|
1699
|
-
onClick: p[2] || (p[2] = (
|
|
1705
|
+
onClick: p[2] || (p[2] = (I) => e(s).subscribe(n.value))
|
|
1700
1706
|
}, null, 8, ["color", "disabled", "loading"]))
|
|
1701
1707
|
])
|
|
1702
1708
|
]),
|
|
@@ -1705,15 +1711,15 @@ const Qe = ee("settings", () => {
|
|
|
1705
1711
|
]), 1032, ["modelValue", "prepend-icon"]);
|
|
1706
1712
|
};
|
|
1707
1713
|
}
|
|
1708
|
-
}),
|
|
1714
|
+
}), Po = /* @__PURE__ */ V({
|
|
1709
1715
|
__name: "VoSubscriptionListItem",
|
|
1710
1716
|
setup(u) {
|
|
1711
1717
|
const t = F(!1);
|
|
1712
1718
|
return (a, s) => {
|
|
1713
|
-
const n =
|
|
1714
|
-
return d(),
|
|
1719
|
+
const n = Mo, r = J;
|
|
1720
|
+
return d(), _(r, {
|
|
1715
1721
|
active: t.value,
|
|
1716
|
-
"prepend-icon": `svg:${e(
|
|
1722
|
+
"prepend-icon": `svg:${e(wt)}`,
|
|
1717
1723
|
title: "Subscriptions",
|
|
1718
1724
|
link: ""
|
|
1719
1725
|
}, {
|
|
@@ -1727,37 +1733,37 @@ const Qe = ee("settings", () => {
|
|
|
1727
1733
|
}, 8, ["active", "prepend-icon"]);
|
|
1728
1734
|
};
|
|
1729
1735
|
}
|
|
1730
|
-
}),
|
|
1736
|
+
}), Eo = { class: "px-3 pb-5 d-flex flex-column" }, Wo = { class: "ps-16" }, Go = { class: "text-caption text-end" }, qo = { class: "font-weight-bold" }, Yo = { class: "ps-16" }, Jo = { class: "text-caption text-end" }, Qo = { class: "font-weight-bold" }, Xo = { class: "ps-16" }, Zo = { class: "text-caption text-end" }, Ko = { class: "font-weight-bold" }, es = { class: "ps-16" }, ts = { class: "text-caption text-end" }, os = { class: "font-weight-bold" }, ss = { class: "py-4" }, ns = /* @__PURE__ */ f("div", { class: "text-caption text-medium-emphasis" }, [
|
|
1731
1737
|
/* @__PURE__ */ j(" A total of $2.99 or more unlocks "),
|
|
1732
|
-
/* @__PURE__ */
|
|
1738
|
+
/* @__PURE__ */ f("span", { class: "font-weight-black" }, "all"),
|
|
1733
1739
|
/* @__PURE__ */ j(" Vuetify One benefits ")
|
|
1734
|
-
], -1),
|
|
1740
|
+
], -1), is = /* @__PURE__ */ V({
|
|
1735
1741
|
__name: "VoSponsorshipsDialog",
|
|
1736
1742
|
setup(u) {
|
|
1737
|
-
const t =
|
|
1743
|
+
const t = ye(), a = be(), s = R(), n = Q(), r = Xe();
|
|
1738
1744
|
function c(l) {
|
|
1739
1745
|
return t.format(l, "fullDateWithWeekday");
|
|
1740
1746
|
}
|
|
1741
1747
|
return (l, h) => {
|
|
1742
|
-
const p =
|
|
1743
|
-
return d(),
|
|
1748
|
+
const p = de, g = ue, L = He("v-empty-state"), m = xe;
|
|
1749
|
+
return d(), _(m, {
|
|
1744
1750
|
"max-height": e(a).xs.value ? void 0 : 820,
|
|
1745
|
-
"prepend-icon": `svg:${e(
|
|
1751
|
+
"prepend-icon": `svg:${e(St)}`,
|
|
1746
1752
|
title: "Sponsorships"
|
|
1747
1753
|
}, {
|
|
1748
1754
|
default: i(() => [
|
|
1749
1755
|
o(Fe, null, {
|
|
1750
1756
|
default: i(() => [
|
|
1751
|
-
o(
|
|
1757
|
+
o(je, { scrollable: "" }, {
|
|
1752
1758
|
default: i(() => [
|
|
1753
|
-
|
|
1754
|
-
o(
|
|
1759
|
+
f("div", Eo, [
|
|
1760
|
+
o(Y, null, {
|
|
1755
1761
|
default: i(() => [
|
|
1756
1762
|
o(p, {
|
|
1757
1763
|
text: "Support Vuetify through GitHub Sponsors, Discord, or Patreon to unlock exclusive benefits and content.",
|
|
1758
1764
|
title: "Support Vuetify"
|
|
1759
1765
|
}),
|
|
1760
|
-
o(
|
|
1766
|
+
o(Xt, {
|
|
1761
1767
|
class: "justify-start ms-n7",
|
|
1762
1768
|
"line-inset": "12",
|
|
1763
1769
|
side: "end",
|
|
@@ -1765,16 +1771,71 @@ const Qe = ee("settings", () => {
|
|
|
1765
1771
|
"truncate-line": "both"
|
|
1766
1772
|
}, {
|
|
1767
1773
|
default: i(() => {
|
|
1768
|
-
var k, D, b,
|
|
1774
|
+
var k, D, b, w, I, O, q, K;
|
|
1769
1775
|
return [
|
|
1770
|
-
o(
|
|
1771
|
-
"dot-color": (k = e(n).
|
|
1772
|
-
icon: (D = e(n).
|
|
1776
|
+
o(me, {
|
|
1777
|
+
"dot-color": (k = e(n).subscription) != null && k.isActive ? "success" : "transparent",
|
|
1778
|
+
icon: (D = e(n).subscription) != null && D.isActive ? `svg:${e(te)}` : void 0,
|
|
1779
|
+
size: "x-small",
|
|
1780
|
+
width: "100%"
|
|
1781
|
+
}, {
|
|
1782
|
+
default: i(() => [
|
|
1783
|
+
o(B, {
|
|
1784
|
+
"prepend-avatar": e(r).CDN_URL + "/logos/vuetify-one.png",
|
|
1785
|
+
rounded: "lg",
|
|
1786
|
+
title: "Vuetify One",
|
|
1787
|
+
variant: "text",
|
|
1788
|
+
border: ""
|
|
1789
|
+
}, {
|
|
1790
|
+
append: i(() => {
|
|
1791
|
+
var x;
|
|
1792
|
+
return [
|
|
1793
|
+
f("div", Wo, [
|
|
1794
|
+
o(g, {
|
|
1795
|
+
text: (x = e(n).subscription) != null && x.isActive ? "Active" : "Info",
|
|
1796
|
+
color: "surface-variant",
|
|
1797
|
+
readonly: ""
|
|
1798
|
+
}, null, 8, ["text"])
|
|
1799
|
+
])
|
|
1800
|
+
];
|
|
1801
|
+
}),
|
|
1802
|
+
default: i(() => {
|
|
1803
|
+
var x;
|
|
1804
|
+
return [
|
|
1805
|
+
(x = e(n).subscription) != null && x.isActive ? (d(), S(U, { key: 0 }, [
|
|
1806
|
+
o(T),
|
|
1807
|
+
o(Y, { class: "d-flex justify-space-between align-center flex-wrap" }, {
|
|
1808
|
+
default: i(() => [
|
|
1809
|
+
o(E, {
|
|
1810
|
+
"prepend-icon": `svg:${e(pe)}`,
|
|
1811
|
+
text: e(n).subscription.tierName,
|
|
1812
|
+
color: "success",
|
|
1813
|
+
variant: "text",
|
|
1814
|
+
label: ""
|
|
1815
|
+
}, null, 8, ["prepend-icon", "text"]),
|
|
1816
|
+
f("div", Go, [
|
|
1817
|
+
j(" Subscriber since "),
|
|
1818
|
+
f("span", qo, C(c(e(n).subscription.createdAt)), 1)
|
|
1819
|
+
])
|
|
1820
|
+
]),
|
|
1821
|
+
_: 1
|
|
1822
|
+
})
|
|
1823
|
+
], 64)) : $("", !0)
|
|
1824
|
+
];
|
|
1825
|
+
}),
|
|
1826
|
+
_: 1
|
|
1827
|
+
}, 8, ["prepend-avatar"])
|
|
1828
|
+
]),
|
|
1829
|
+
_: 1
|
|
1830
|
+
}, 8, ["dot-color", "icon"]),
|
|
1831
|
+
o(me, {
|
|
1832
|
+
"dot-color": (b = e(n).github) != null && b.isActive ? "success" : "transparent",
|
|
1833
|
+
icon: (w = e(n).github) != null && w.isActive ? `svg:${e(te)}` : void 0,
|
|
1773
1834
|
size: "x-small",
|
|
1774
1835
|
width: "100%"
|
|
1775
1836
|
}, {
|
|
1776
1837
|
default: i(() => [
|
|
1777
|
-
o(
|
|
1838
|
+
o(B, {
|
|
1778
1839
|
"prepend-avatar": e(r).CDN_URL + "/logos/github.png",
|
|
1779
1840
|
rounded: "lg",
|
|
1780
1841
|
subtitle: "Support Vuetify through GitHub sponsors.",
|
|
@@ -1783,39 +1844,39 @@ const Qe = ee("settings", () => {
|
|
|
1783
1844
|
border: ""
|
|
1784
1845
|
}, {
|
|
1785
1846
|
append: i(() => {
|
|
1786
|
-
var
|
|
1847
|
+
var x, H, v, y, M, ee;
|
|
1787
1848
|
return [
|
|
1788
|
-
|
|
1849
|
+
f("div", Yo, [
|
|
1789
1850
|
o(g, {
|
|
1790
|
-
color: (
|
|
1791
|
-
href: (
|
|
1792
|
-
"prepend-icon": `svg:${(
|
|
1793
|
-
readonly: (
|
|
1794
|
-
target: (
|
|
1795
|
-
text: (
|
|
1851
|
+
color: (x = e(n).github) != null && x.isActive ? "success" : "primary",
|
|
1852
|
+
href: (H = e(n).github) != null && H.isActive ? void 0 : "https://github.com/sponsors/johnleider",
|
|
1853
|
+
"prepend-icon": `svg:${(v = e(n).github) != null && v.isActive ? e(re) : e(Oe)}`,
|
|
1854
|
+
readonly: (y = e(n).github) == null ? void 0 : y.isActive,
|
|
1855
|
+
target: (M = e(n).github) != null && M.isActive ? void 0 : "_blank",
|
|
1856
|
+
text: (ee = e(n).github) != null && ee.isActive ? "Active" : "Info",
|
|
1796
1857
|
width: "88"
|
|
1797
1858
|
}, null, 8, ["color", "href", "prepend-icon", "readonly", "target", "text"])
|
|
1798
1859
|
])
|
|
1799
1860
|
];
|
|
1800
1861
|
}),
|
|
1801
1862
|
default: i(() => {
|
|
1802
|
-
var
|
|
1863
|
+
var x;
|
|
1803
1864
|
return [
|
|
1804
|
-
(
|
|
1805
|
-
o(
|
|
1806
|
-
o(
|
|
1865
|
+
(x = e(n).github) != null && x.isActive ? (d(), S(U, { key: 0 }, [
|
|
1866
|
+
o(T),
|
|
1867
|
+
o(Y, { class: "d-flex justify-space-between align-center flex-wrap" }, {
|
|
1807
1868
|
default: i(() => [
|
|
1808
|
-
o(
|
|
1809
|
-
"prepend-icon": `svg:${e(
|
|
1869
|
+
o(E, {
|
|
1870
|
+
"prepend-icon": `svg:${e(pe)}`,
|
|
1810
1871
|
text: e(n).github.tierName,
|
|
1811
1872
|
color: "surface-variant",
|
|
1812
1873
|
size: "small",
|
|
1813
1874
|
variant: "text",
|
|
1814
1875
|
label: ""
|
|
1815
1876
|
}, null, 8, ["prepend-icon", "text"]),
|
|
1816
|
-
|
|
1877
|
+
f("div", Jo, [
|
|
1817
1878
|
j(" Sponsor since "),
|
|
1818
|
-
|
|
1879
|
+
f("span", Qo, C(c(e(n).github.createdAt)), 1)
|
|
1819
1880
|
])
|
|
1820
1881
|
]),
|
|
1821
1882
|
_: 1
|
|
@@ -1828,14 +1889,14 @@ const Qe = ee("settings", () => {
|
|
|
1828
1889
|
]),
|
|
1829
1890
|
_: 1
|
|
1830
1891
|
}, 8, ["dot-color", "icon"]),
|
|
1831
|
-
o(
|
|
1832
|
-
"dot-color": (
|
|
1833
|
-
icon: (
|
|
1892
|
+
o(me, {
|
|
1893
|
+
"dot-color": (I = e(n).discord) != null && I.isActive ? "success" : "transparent",
|
|
1894
|
+
icon: (O = e(n).discord) != null && O.isActive ? `svg:${e(te)}` : void 0,
|
|
1834
1895
|
size: "x-small",
|
|
1835
1896
|
width: "100%"
|
|
1836
1897
|
}, {
|
|
1837
1898
|
default: i(() => [
|
|
1838
|
-
o(
|
|
1899
|
+
o(B, {
|
|
1839
1900
|
"prepend-avatar": e(r).CDN_URL + "/logos/discord.png",
|
|
1840
1901
|
rounded: "lg",
|
|
1841
1902
|
subtitle: "Support Vuetify through Discord.",
|
|
@@ -1844,39 +1905,39 @@ const Qe = ee("settings", () => {
|
|
|
1844
1905
|
border: ""
|
|
1845
1906
|
}, {
|
|
1846
1907
|
append: i(() => {
|
|
1847
|
-
var
|
|
1908
|
+
var x, H, v, y, M, ee;
|
|
1848
1909
|
return [
|
|
1849
|
-
|
|
1910
|
+
f("div", Xo, [
|
|
1850
1911
|
o(g, {
|
|
1851
|
-
color: (
|
|
1852
|
-
href: (
|
|
1853
|
-
"prepend-icon": `svg:${(
|
|
1854
|
-
readonly: (
|
|
1855
|
-
target: (
|
|
1856
|
-
text: (
|
|
1912
|
+
color: (x = e(n).discord) != null && x.isActive ? "success" : "primary",
|
|
1913
|
+
href: (H = e(n).discord) != null && H.isActive ? void 0 : "https://discord.com/servers/vuetify-340160225338195969",
|
|
1914
|
+
"prepend-icon": `svg:${(v = e(n).discord) != null && v.isActive ? e(re) : e(Oe)}`,
|
|
1915
|
+
readonly: (y = e(n).discord) == null ? void 0 : y.isActive,
|
|
1916
|
+
target: (M = e(n).discord) != null && M.isActive ? void 0 : "_blank",
|
|
1917
|
+
text: (ee = e(n).discord) != null && ee.isActive ? "Active" : "Info",
|
|
1857
1918
|
width: "88"
|
|
1858
1919
|
}, null, 8, ["color", "href", "prepend-icon", "readonly", "target", "text"])
|
|
1859
1920
|
])
|
|
1860
1921
|
];
|
|
1861
1922
|
}),
|
|
1862
1923
|
default: i(() => {
|
|
1863
|
-
var
|
|
1924
|
+
var x;
|
|
1864
1925
|
return [
|
|
1865
|
-
(
|
|
1866
|
-
o(
|
|
1867
|
-
o(
|
|
1926
|
+
(x = e(n).discord) != null && x.isActive ? (d(), S(U, { key: 0 }, [
|
|
1927
|
+
o(T),
|
|
1928
|
+
o(Y, { class: "d-flex justify-space-between align-center flex-wrap" }, {
|
|
1868
1929
|
default: i(() => [
|
|
1869
|
-
o(
|
|
1870
|
-
"prepend-icon": `svg:${e(
|
|
1930
|
+
o(E, {
|
|
1931
|
+
"prepend-icon": `svg:${e(pe)}`,
|
|
1871
1932
|
text: e(n).discord.tierName,
|
|
1872
1933
|
color: "surface-variant",
|
|
1873
1934
|
size: "small",
|
|
1874
1935
|
variant: "text",
|
|
1875
1936
|
label: ""
|
|
1876
1937
|
}, null, 8, ["prepend-icon", "text"]),
|
|
1877
|
-
|
|
1938
|
+
f("div", Zo, [
|
|
1878
1939
|
j(" Subscriber since "),
|
|
1879
|
-
|
|
1940
|
+
f("span", Ko, C(c(e(n).discord.createdAt)), 1)
|
|
1880
1941
|
])
|
|
1881
1942
|
]),
|
|
1882
1943
|
_: 1
|
|
@@ -1889,14 +1950,14 @@ const Qe = ee("settings", () => {
|
|
|
1889
1950
|
]),
|
|
1890
1951
|
_: 1
|
|
1891
1952
|
}, 8, ["dot-color", "icon"]),
|
|
1892
|
-
o(
|
|
1893
|
-
"dot-color": (
|
|
1894
|
-
icon: (
|
|
1953
|
+
o(me, {
|
|
1954
|
+
"dot-color": (q = e(n).patreon) != null && q.isActive ? "success" : "transparent",
|
|
1955
|
+
icon: (K = e(n).patreon) != null && K.isActive ? `svg:${e(te)}` : void 0,
|
|
1895
1956
|
size: "x-small",
|
|
1896
1957
|
width: "100%"
|
|
1897
1958
|
}, {
|
|
1898
1959
|
default: i(() => [
|
|
1899
|
-
o(
|
|
1960
|
+
o(B, {
|
|
1900
1961
|
"prepend-avatar": e(r).CDN_URL + "/logos/patreon.png",
|
|
1901
1962
|
rounded: "lg",
|
|
1902
1963
|
subtitle: "Support Vuetify through Patreon.",
|
|
@@ -1905,11 +1966,11 @@ const Qe = ee("settings", () => {
|
|
|
1905
1966
|
border: ""
|
|
1906
1967
|
}, {
|
|
1907
1968
|
append: i(() => {
|
|
1908
|
-
var
|
|
1969
|
+
var x;
|
|
1909
1970
|
return [
|
|
1910
|
-
|
|
1971
|
+
f("div", es, [
|
|
1911
1972
|
o(g, {
|
|
1912
|
-
text: (
|
|
1973
|
+
text: (x = e(n).patreon) != null && x.isActive ? "Active" : "Coming Soon",
|
|
1913
1974
|
color: "surface-variant",
|
|
1914
1975
|
readonly: ""
|
|
1915
1976
|
}, null, 8, ["text"])
|
|
@@ -1917,22 +1978,22 @@ const Qe = ee("settings", () => {
|
|
|
1917
1978
|
];
|
|
1918
1979
|
}),
|
|
1919
1980
|
default: i(() => {
|
|
1920
|
-
var
|
|
1981
|
+
var x;
|
|
1921
1982
|
return [
|
|
1922
|
-
(
|
|
1923
|
-
o(
|
|
1924
|
-
o(
|
|
1983
|
+
(x = e(n).patreon) != null && x.isActive ? (d(), S(U, { key: 0 }, [
|
|
1984
|
+
o(T),
|
|
1985
|
+
o(Y, { class: "d-flex justify-space-between align-center flex-wrap" }, {
|
|
1925
1986
|
default: i(() => [
|
|
1926
|
-
o(
|
|
1927
|
-
"prepend-icon": `svg:${e(
|
|
1987
|
+
o(E, {
|
|
1988
|
+
"prepend-icon": `svg:${e(pe)}`,
|
|
1928
1989
|
text: e(n).patreon.tierName,
|
|
1929
1990
|
color: "success",
|
|
1930
1991
|
variant: "text",
|
|
1931
1992
|
label: ""
|
|
1932
1993
|
}, null, 8, ["prepend-icon", "text"]),
|
|
1933
|
-
|
|
1994
|
+
f("div", ts, [
|
|
1934
1995
|
j(" Sponsor since "),
|
|
1935
|
-
|
|
1996
|
+
f("span", os, C(c(e(n).patreon.createdAt)), 1)
|
|
1936
1997
|
])
|
|
1937
1998
|
]),
|
|
1938
1999
|
_: 1
|
|
@@ -1952,27 +2013,27 @@ const Qe = ee("settings", () => {
|
|
|
1952
2013
|
]),
|
|
1953
2014
|
_: 1
|
|
1954
2015
|
}),
|
|
1955
|
-
o(
|
|
1956
|
-
icon: `svg:${e(
|
|
2016
|
+
o(L, {
|
|
2017
|
+
icon: `svg:${e(Ct)}`,
|
|
1957
2018
|
class: "mt-auto",
|
|
1958
2019
|
"min-height": "auto",
|
|
1959
2020
|
size: "64",
|
|
1960
2021
|
title: "Your Monthly Contributions"
|
|
1961
2022
|
}, {
|
|
1962
2023
|
media: i(() => [
|
|
1963
|
-
o(
|
|
2024
|
+
o(N, { color: "success" })
|
|
1964
2025
|
]),
|
|
1965
2026
|
headline: i(() => [
|
|
1966
|
-
|
|
1967
|
-
e(s).isSubscriber ? (d(),
|
|
2027
|
+
f("div", ss, [
|
|
2028
|
+
e(s).isSubscriber ? (d(), S(U, { key: 0 }, [
|
|
1968
2029
|
j(" $" + C(parseFloat(String(e(n).monthlyTotal)).toFixed(2)), 1)
|
|
1969
|
-
], 64)) : (d(),
|
|
2030
|
+
], 64)) : (d(), S(U, { key: 1 }, [
|
|
1970
2031
|
j(" $0.00 ")
|
|
1971
2032
|
], 64))
|
|
1972
2033
|
])
|
|
1973
2034
|
]),
|
|
1974
2035
|
text: i(() => [
|
|
1975
|
-
|
|
2036
|
+
ns
|
|
1976
2037
|
]),
|
|
1977
2038
|
_: 1
|
|
1978
2039
|
}, 8, ["icon"])
|
|
@@ -1988,15 +2049,15 @@ const Qe = ee("settings", () => {
|
|
|
1988
2049
|
}, 8, ["max-height", "prepend-icon"]);
|
|
1989
2050
|
};
|
|
1990
2051
|
}
|
|
1991
|
-
}),
|
|
2052
|
+
}), as = /* @__PURE__ */ V({
|
|
1992
2053
|
__name: "VoSponsorshipsListItem",
|
|
1993
2054
|
setup(u) {
|
|
1994
2055
|
const t = F(!1);
|
|
1995
2056
|
return (a, s) => {
|
|
1996
|
-
const n =
|
|
1997
|
-
return d(),
|
|
2057
|
+
const n = is, r = J;
|
|
2058
|
+
return d(), _(r, {
|
|
1998
2059
|
active: t.value,
|
|
1999
|
-
"prepend-icon": `svg:${e(
|
|
2060
|
+
"prepend-icon": `svg:${e(Lt)}`,
|
|
2000
2061
|
title: "Sponsorships",
|
|
2001
2062
|
link: ""
|
|
2002
2063
|
}, {
|
|
@@ -2010,16 +2071,16 @@ const Qe = ee("settings", () => {
|
|
|
2010
2071
|
}, 8, ["active", "prepend-icon"]);
|
|
2011
2072
|
};
|
|
2012
2073
|
}
|
|
2013
|
-
}),
|
|
2074
|
+
}), rs = {
|
|
2014
2075
|
key: 0,
|
|
2015
2076
|
class: "pt-16"
|
|
2016
|
-
},
|
|
2077
|
+
}, ls = /* @__PURE__ */ f("div", { class: "text-medium-emphasis" }, " All caught up ", -1), cs = { class: "ps-3 text-subtitle-2 pe-2" }, us = { class: "text-truncate" }, ds = { class: "text-caption font-weight-bold text-medium-emphasis" }, ps = { class: "text-disabled text-caption my-2" }, ms = /* @__PURE__ */ V({
|
|
2017
2078
|
__name: "VoNotificationsList",
|
|
2018
2079
|
props: {
|
|
2019
2080
|
items: {}
|
|
2020
2081
|
},
|
|
2021
2082
|
setup(u) {
|
|
2022
|
-
const t =
|
|
2083
|
+
const t = P(), a = ye();
|
|
2023
2084
|
function s(r) {
|
|
2024
2085
|
return t.notifications.read.includes(r);
|
|
2025
2086
|
}
|
|
@@ -2027,46 +2088,46 @@ const Qe = ee("settings", () => {
|
|
|
2027
2088
|
s(r.slug) ? t.notifications.read = t.notifications.read.filter((c) => c !== r.slug) : t.notifications.read.push(r.slug);
|
|
2028
2089
|
}
|
|
2029
2090
|
return (r, c) => {
|
|
2030
|
-
const l =
|
|
2031
|
-
return d(),
|
|
2091
|
+
const l = He("v-empty-state"), h = J;
|
|
2092
|
+
return d(), _(ie, {
|
|
2032
2093
|
class: "py-0",
|
|
2033
2094
|
height: "100%",
|
|
2034
2095
|
lines: "three"
|
|
2035
2096
|
}, {
|
|
2036
2097
|
default: i(() => [
|
|
2037
|
-
r.items.length ? (d(!0),
|
|
2098
|
+
r.items.length ? (d(!0), S(U, { key: 1 }, ne(r.items, (p, g) => (d(), _(qe, {
|
|
2038
2099
|
key: p.slug
|
|
2039
2100
|
}, {
|
|
2040
|
-
default: i(({ isHovering:
|
|
2041
|
-
o(h,
|
|
2101
|
+
default: i(({ isHovering: L, props: m }) => [
|
|
2102
|
+
o(h, X(m, {
|
|
2042
2103
|
border: g !== 0 && "t",
|
|
2043
2104
|
class: "py-4 mb-0"
|
|
2044
2105
|
}), {
|
|
2045
2106
|
prepend: i(() => [
|
|
2046
|
-
|
|
2107
|
+
f("div", cs, C(p.metadata.emoji), 1)
|
|
2047
2108
|
]),
|
|
2048
2109
|
append: i(() => [
|
|
2049
|
-
o(
|
|
2110
|
+
o(Zt, {
|
|
2050
2111
|
class: "mt-n3",
|
|
2051
2112
|
width: "56"
|
|
2052
2113
|
}, {
|
|
2053
2114
|
default: i(() => [
|
|
2054
|
-
o(
|
|
2115
|
+
o(ae, {
|
|
2055
2116
|
text: s(p.slug) ? "Mark as unread" : "Mark as read",
|
|
2056
2117
|
location: "bottom"
|
|
2057
2118
|
}, {
|
|
2058
2119
|
activator: i(({ props: k }) => [
|
|
2059
|
-
o(
|
|
2120
|
+
o(Ue, { "hide-on-leave": "" }, {
|
|
2060
2121
|
default: i(() => [
|
|
2061
|
-
|
|
2062
|
-
icon: `svg:${s(p.slug) ? e(It) : e(
|
|
2122
|
+
Ae(o(Z, X(k, {
|
|
2123
|
+
icon: `svg:${s(p.slug) ? e(It) : e(At)}`,
|
|
2063
2124
|
class: "ms-auto",
|
|
2064
2125
|
size: "small",
|
|
2065
2126
|
variant: "text",
|
|
2066
2127
|
"mdi-email-variant": "",
|
|
2067
2128
|
onClick: (D) => n(p)
|
|
2068
2129
|
}), null, 16, ["icon", "onClick"]), [
|
|
2069
|
-
[
|
|
2130
|
+
[Me, L]
|
|
2070
2131
|
])
|
|
2071
2132
|
]),
|
|
2072
2133
|
_: 2
|
|
@@ -2079,16 +2140,16 @@ const Qe = ee("settings", () => {
|
|
|
2079
2140
|
}, 1024)
|
|
2080
2141
|
]),
|
|
2081
2142
|
default: i(() => [
|
|
2082
|
-
o(
|
|
2143
|
+
o(Et, { class: "text-wrap text-h6 mb-1" }, {
|
|
2083
2144
|
default: i(() => [
|
|
2084
|
-
|
|
2145
|
+
f("div", us, C(p.title), 1)
|
|
2085
2146
|
]),
|
|
2086
2147
|
_: 2
|
|
2087
2148
|
}, 1024),
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
o(
|
|
2091
|
-
"append-icon": `svg:${e(
|
|
2149
|
+
f("div", ds, C(e(a).format(p.created_at, "fullDateWithWeekday")), 1),
|
|
2150
|
+
f("div", ps, C(p.metadata.text), 1),
|
|
2151
|
+
o(E, {
|
|
2152
|
+
"append-icon": `svg:${e(Dt)}`,
|
|
2092
2153
|
href: p.metadata.action,
|
|
2093
2154
|
text: p.metadata.action_text,
|
|
2094
2155
|
size: "small",
|
|
@@ -2099,7 +2160,7 @@ const Qe = ee("settings", () => {
|
|
|
2099
2160
|
onClick: (k) => n(p)
|
|
2100
2161
|
}, {
|
|
2101
2162
|
append: i(() => [
|
|
2102
|
-
o(
|
|
2163
|
+
o(N, { size: "12" })
|
|
2103
2164
|
]),
|
|
2104
2165
|
_: 2
|
|
2105
2166
|
}, 1032, ["append-icon", "href", "text", "onClick"])
|
|
@@ -2108,16 +2169,16 @@ const Qe = ee("settings", () => {
|
|
|
2108
2169
|
}, 1040, ["border"])
|
|
2109
2170
|
]),
|
|
2110
2171
|
_: 2
|
|
2111
|
-
}, 1024))), 128)) : (d(),
|
|
2172
|
+
}, 1024))), 128)) : (d(), S("div", rs, [
|
|
2112
2173
|
o(l, {
|
|
2113
2174
|
icon: "$vuetify",
|
|
2114
2175
|
size: "256"
|
|
2115
2176
|
}, {
|
|
2116
2177
|
media: i(() => [
|
|
2117
|
-
o(
|
|
2178
|
+
o(N, { color: "medium-emphasis" })
|
|
2118
2179
|
]),
|
|
2119
2180
|
title: i(() => [
|
|
2120
|
-
|
|
2181
|
+
ls
|
|
2121
2182
|
]),
|
|
2122
2183
|
_: 1
|
|
2123
2184
|
})
|
|
@@ -2127,28 +2188,28 @@ const Qe = ee("settings", () => {
|
|
|
2127
2188
|
});
|
|
2128
2189
|
};
|
|
2129
2190
|
}
|
|
2130
|
-
}),
|
|
2191
|
+
}), fs = { class: "text-caption" }, vs = /* @__PURE__ */ V({
|
|
2131
2192
|
__name: "VoNotificationsDialog",
|
|
2132
2193
|
setup(u) {
|
|
2133
|
-
const t =
|
|
2194
|
+
const t = $e(), a = be(), s = F(["0"]), n = F(!1);
|
|
2134
2195
|
return (r, c) => {
|
|
2135
|
-
const l =
|
|
2136
|
-
return d(),
|
|
2196
|
+
const l = J, h = ms, p = xe;
|
|
2197
|
+
return d(), _(p, {
|
|
2137
2198
|
modelValue: n.value,
|
|
2138
2199
|
"onUpdate:modelValue": c[2] || (c[2] = (g) => n.value = g),
|
|
2139
|
-
"prepend-icon": `svg:${e(
|
|
2200
|
+
"prepend-icon": `svg:${e(Ut)}`,
|
|
2140
2201
|
title: "Notifications"
|
|
2141
2202
|
}, {
|
|
2142
2203
|
default: i(() => [
|
|
2143
2204
|
o(Fe, null, {
|
|
2144
2205
|
default: i(() => [
|
|
2145
|
-
o(
|
|
2206
|
+
o(Kt, {
|
|
2146
2207
|
location: e(a).mobile.value ? "top" : "start",
|
|
2147
2208
|
width: e(a).mobile.value ? 128 : 168,
|
|
2148
2209
|
permanent: ""
|
|
2149
2210
|
}, {
|
|
2150
2211
|
default: i(() => [
|
|
2151
|
-
o(
|
|
2212
|
+
o(ie, {
|
|
2152
2213
|
selected: s.value,
|
|
2153
2214
|
"onUpdate:selected": c[0] || (c[0] = (g) => s.value = g),
|
|
2154
2215
|
class: "px-4 pt-4",
|
|
@@ -2158,14 +2219,14 @@ const Qe = ee("settings", () => {
|
|
|
2158
2219
|
}, {
|
|
2159
2220
|
default: i(() => [
|
|
2160
2221
|
o(l, {
|
|
2161
|
-
"prepend-icon": `svg:${e(
|
|
2222
|
+
"prepend-icon": `svg:${e(Nt)}`,
|
|
2162
2223
|
title: "Unread",
|
|
2163
2224
|
value: "0"
|
|
2164
2225
|
}, G({ _: 2 }, [
|
|
2165
2226
|
e(t).unread.length > 0 ? {
|
|
2166
2227
|
name: "append",
|
|
2167
2228
|
fn: i(() => [
|
|
2168
|
-
|
|
2229
|
+
f("span", fs, C(e(t).unread.length), 1)
|
|
2169
2230
|
]),
|
|
2170
2231
|
key: "0"
|
|
2171
2232
|
} : void 0
|
|
@@ -2182,14 +2243,14 @@ const Qe = ee("settings", () => {
|
|
|
2182
2243
|
]),
|
|
2183
2244
|
_: 1
|
|
2184
2245
|
}, 8, ["location", "width"]),
|
|
2185
|
-
o(
|
|
2246
|
+
o(je, { scrollable: "" }, {
|
|
2186
2247
|
default: i(() => [
|
|
2187
|
-
o(
|
|
2248
|
+
o(Je, {
|
|
2188
2249
|
modelValue: s.value,
|
|
2189
2250
|
"onUpdate:modelValue": c[1] || (c[1] = (g) => s.value = g)
|
|
2190
2251
|
}, {
|
|
2191
2252
|
default: i(() => [
|
|
2192
|
-
o(
|
|
2253
|
+
o(_e, { value: "0" }, {
|
|
2193
2254
|
default: i(() => [
|
|
2194
2255
|
o(h, {
|
|
2195
2256
|
items: e(t).unread
|
|
@@ -2197,7 +2258,7 @@ const Qe = ee("settings", () => {
|
|
|
2197
2258
|
]),
|
|
2198
2259
|
_: 1
|
|
2199
2260
|
}),
|
|
2200
|
-
o(
|
|
2261
|
+
o(_e, { value: "1" }, {
|
|
2201
2262
|
default: i(() => [
|
|
2202
2263
|
o(h, {
|
|
2203
2264
|
items: e(t).read
|
|
@@ -2219,33 +2280,33 @@ const Qe = ee("settings", () => {
|
|
|
2219
2280
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
2220
2281
|
};
|
|
2221
2282
|
}
|
|
2222
|
-
}),
|
|
2283
|
+
}), _s = /* @__PURE__ */ V({
|
|
2223
2284
|
__name: "VoNotificationsBadge",
|
|
2224
2285
|
setup(u) {
|
|
2225
|
-
const t =
|
|
2226
|
-
return (a, s) => (d(),
|
|
2286
|
+
const t = $e();
|
|
2287
|
+
return (a, s) => (d(), _(Pe, {
|
|
2227
2288
|
content: e(t).unread.length,
|
|
2228
2289
|
"model-value": e(t).unread.length > 0,
|
|
2229
2290
|
color: "error"
|
|
2230
2291
|
}, {
|
|
2231
2292
|
default: i(() => [
|
|
2232
|
-
|
|
2293
|
+
z(a.$slots, "default")
|
|
2233
2294
|
]),
|
|
2234
2295
|
_: 3
|
|
2235
2296
|
}, 8, ["content", "model-value"]));
|
|
2236
2297
|
}
|
|
2237
|
-
}),
|
|
2298
|
+
}), hs = /* @__PURE__ */ V({
|
|
2238
2299
|
__name: "VoNotificationsListItem",
|
|
2239
2300
|
setup(u) {
|
|
2240
|
-
const t =
|
|
2241
|
-
return
|
|
2301
|
+
const t = P(), a = $e(), s = F(!1);
|
|
2302
|
+
return Re(async () => {
|
|
2242
2303
|
await a.get();
|
|
2243
2304
|
}), (n, r) => {
|
|
2244
|
-
const c =
|
|
2245
|
-
return e(t).notifications.show ? (d(),
|
|
2305
|
+
const c = _s, l = vs, h = J;
|
|
2306
|
+
return e(t).notifications.show ? (d(), _(h, {
|
|
2246
2307
|
key: 0,
|
|
2247
2308
|
active: s.value,
|
|
2248
|
-
"prepend-icon": `svg:${e(
|
|
2309
|
+
"prepend-icon": `svg:${e(jt)}`,
|
|
2249
2310
|
title: "Notifications",
|
|
2250
2311
|
link: ""
|
|
2251
2312
|
}, G({
|
|
@@ -2262,7 +2323,7 @@ const Qe = ee("settings", () => {
|
|
|
2262
2323
|
fn: i(() => [
|
|
2263
2324
|
o(c, null, {
|
|
2264
2325
|
default: i(() => [
|
|
2265
|
-
o(
|
|
2326
|
+
o(N)
|
|
2266
2327
|
]),
|
|
2267
2328
|
_: 1
|
|
2268
2329
|
})
|
|
@@ -2272,25 +2333,25 @@ const Qe = ee("settings", () => {
|
|
|
2272
2333
|
]), 1032, ["active", "prepend-icon"])) : $("", !0);
|
|
2273
2334
|
};
|
|
2274
2335
|
}
|
|
2275
|
-
}),
|
|
2336
|
+
}), gs = /* @__PURE__ */ V({
|
|
2276
2337
|
__name: "VoDashboardListItem",
|
|
2277
2338
|
setup(u) {
|
|
2278
2339
|
return (t, a) => {
|
|
2279
|
-
const s =
|
|
2280
|
-
return d(),
|
|
2281
|
-
"prepend-icon": `svg:${e(
|
|
2340
|
+
const s = J;
|
|
2341
|
+
return d(), _(s, {
|
|
2342
|
+
"prepend-icon": `svg:${e(Ot)}`,
|
|
2282
2343
|
title: "Dashboard",
|
|
2283
2344
|
to: "/user/dashboard"
|
|
2284
2345
|
}, null, 8, ["prepend-icon"]);
|
|
2285
2346
|
};
|
|
2286
2347
|
}
|
|
2287
|
-
}),
|
|
2348
|
+
}), bs = /* @__PURE__ */ V({
|
|
2288
2349
|
__name: "VoUserList",
|
|
2289
2350
|
setup(u) {
|
|
2290
|
-
const t =
|
|
2351
|
+
const t = R();
|
|
2291
2352
|
return (a, s) => {
|
|
2292
|
-
const n =
|
|
2293
|
-
return d(),
|
|
2353
|
+
const n = gs, r = hs, c = as, l = Po, h = yo, p = fo;
|
|
2354
|
+
return d(), _(ie, {
|
|
2294
2355
|
density: "compact",
|
|
2295
2356
|
nav: "",
|
|
2296
2357
|
slim: ""
|
|
@@ -2299,22 +2360,22 @@ const Qe = ee("settings", () => {
|
|
|
2299
2360
|
o(n),
|
|
2300
2361
|
o(r),
|
|
2301
2362
|
o(c),
|
|
2302
|
-
e(t).user ? (d(),
|
|
2363
|
+
e(t).user ? (d(), _(l, { key: 0 })) : $("", !0),
|
|
2303
2364
|
o(h),
|
|
2304
|
-
e(t).user ? (d(),
|
|
2365
|
+
e(t).user ? (d(), _(p, { key: 1 })) : $("", !0)
|
|
2305
2366
|
]),
|
|
2306
2367
|
_: 1
|
|
2307
2368
|
});
|
|
2308
2369
|
};
|
|
2309
2370
|
}
|
|
2310
|
-
}),
|
|
2371
|
+
}), ys = { key: 0 }, Vs = { class: "d-flex align-center justify-center pa-1 ga-2" }, ks = /* @__PURE__ */ V({
|
|
2311
2372
|
__name: "VoUserQuickActions",
|
|
2312
2373
|
setup(u) {
|
|
2313
|
-
const t =
|
|
2314
|
-
return (a, s) => (d(),
|
|
2374
|
+
const t = P();
|
|
2375
|
+
return (a, s) => (d(), _(ce, null, {
|
|
2315
2376
|
default: i(() => [
|
|
2316
|
-
e(t).quickbar ? (d(),
|
|
2317
|
-
|
|
2377
|
+
e(t).quickbar ? (d(), S("div", ys, [
|
|
2378
|
+
f("div", Vs, [
|
|
2318
2379
|
o(Z, {
|
|
2319
2380
|
color: e(t).colors.one,
|
|
2320
2381
|
class: "text-caption",
|
|
@@ -2325,7 +2386,7 @@ const Qe = ee("settings", () => {
|
|
|
2325
2386
|
}, null, 8, ["color"]),
|
|
2326
2387
|
o(Z, {
|
|
2327
2388
|
color: e(t).colors.one,
|
|
2328
|
-
icon: `svg:${e(
|
|
2389
|
+
icon: `svg:${e(zt)}`,
|
|
2329
2390
|
class: "text-caption",
|
|
2330
2391
|
density: "comfortable",
|
|
2331
2392
|
href: "https://bin.vuetifyjs.com",
|
|
@@ -2345,10 +2406,10 @@ const Qe = ee("settings", () => {
|
|
|
2345
2406
|
_: 1
|
|
2346
2407
|
}));
|
|
2347
2408
|
}
|
|
2348
|
-
}),
|
|
2409
|
+
}), $s = { class: "mb-2" }, xs = { key: 0 }, ws = { class: "d-flex ga-4 flex-wrap justify-center mb-4" }, Ss = { class: "text-h6" }, Cs = /* @__PURE__ */ V({
|
|
2349
2410
|
__name: "VoUserAvatar",
|
|
2350
2411
|
setup(u) {
|
|
2351
|
-
const t =
|
|
2412
|
+
const t = R(), a = P(), s = F(!1), n = A(() => {
|
|
2352
2413
|
const l = [
|
|
2353
2414
|
"https://cdn.vuetifyjs.com/docs/images/avatars/one.png",
|
|
2354
2415
|
"https://cdn.vuetifyjs.com/docs/images/avatars/grass.png",
|
|
@@ -2375,9 +2436,9 @@ const Qe = ee("settings", () => {
|
|
|
2375
2436
|
}
|
|
2376
2437
|
return (l, h) => {
|
|
2377
2438
|
var p;
|
|
2378
|
-
return d(),
|
|
2379
|
-
|
|
2380
|
-
class:
|
|
2439
|
+
return d(), S("div", null, [
|
|
2440
|
+
Ae((d(), _(ve, {
|
|
2441
|
+
class: ot([
|
|
2381
2442
|
"border-md border-opacity-100 border-surface-variant",
|
|
2382
2443
|
{
|
|
2383
2444
|
"cursor-pointer": e(t).isSubscriber
|
|
@@ -2386,14 +2447,14 @@ const Qe = ee("settings", () => {
|
|
|
2386
2447
|
color: "surface",
|
|
2387
2448
|
size: "72",
|
|
2388
2449
|
text: "Foobar",
|
|
2389
|
-
onClick:
|
|
2450
|
+
onClick: Te(c, ["prevent", "stop"])
|
|
2390
2451
|
}, {
|
|
2391
2452
|
default: i(() => [
|
|
2392
|
-
e(t).user && e(a).avatar ? (d(),
|
|
2453
|
+
e(t).user && e(a).avatar ? (d(), _(Ne, {
|
|
2393
2454
|
key: 0,
|
|
2394
2455
|
src: e(a).avatar,
|
|
2395
2456
|
alt: "User avatar"
|
|
2396
|
-
}, null, 8, ["src"])) : (d(),
|
|
2457
|
+
}, null, 8, ["src"])) : (d(), _(N, {
|
|
2397
2458
|
key: 1,
|
|
2398
2459
|
class: "mt-1",
|
|
2399
2460
|
icon: "$vuetify",
|
|
@@ -2402,28 +2463,28 @@ const Qe = ee("settings", () => {
|
|
|
2402
2463
|
]),
|
|
2403
2464
|
_: 1
|
|
2404
2465
|
}, 8, ["class"])), [
|
|
2405
|
-
[
|
|
2466
|
+
[eo, e(t).isSubscriber]
|
|
2406
2467
|
]),
|
|
2407
|
-
|
|
2408
|
-
o(
|
|
2468
|
+
f("div", $s, [
|
|
2469
|
+
o(ce, null, {
|
|
2409
2470
|
default: i(() => [
|
|
2410
|
-
s.value ? (d(),
|
|
2411
|
-
o(
|
|
2471
|
+
s.value ? (d(), S("div", xs, [
|
|
2472
|
+
o(B, {
|
|
2412
2473
|
class: "pt-6 pb-1",
|
|
2413
2474
|
rounded: "0",
|
|
2414
2475
|
flat: ""
|
|
2415
2476
|
}, {
|
|
2416
2477
|
default: i(() => [
|
|
2417
|
-
|
|
2418
|
-
(d(!0),
|
|
2419
|
-
key:
|
|
2478
|
+
f("div", ws, [
|
|
2479
|
+
(d(!0), S(U, null, ne(n.value, (g, L) => (d(), _(Z, {
|
|
2480
|
+
key: L,
|
|
2420
2481
|
active: e(a).avatar === g,
|
|
2421
2482
|
variant: "flat",
|
|
2422
2483
|
icon: "",
|
|
2423
2484
|
onClick: (m) => r(g)
|
|
2424
2485
|
}, {
|
|
2425
2486
|
default: i(() => [
|
|
2426
|
-
o(
|
|
2487
|
+
o(ve, {
|
|
2427
2488
|
image: g,
|
|
2428
2489
|
eager: ""
|
|
2429
2490
|
}, null, 8, ["image"])
|
|
@@ -2439,24 +2500,24 @@ const Qe = ee("settings", () => {
|
|
|
2439
2500
|
_: 1
|
|
2440
2501
|
})
|
|
2441
2502
|
]),
|
|
2442
|
-
|
|
2503
|
+
f("div", Ss, C(((p = e(t).user) == null ? void 0 : p.name) ?? "Guest"), 1)
|
|
2443
2504
|
]);
|
|
2444
2505
|
};
|
|
2445
2506
|
}
|
|
2446
|
-
}),
|
|
2507
|
+
}), Ls = { class: "d-flex flex-grow-1 justify-end fill-height align-start" }, As = {
|
|
2447
2508
|
key: "reset",
|
|
2448
2509
|
class: "align-self-end"
|
|
2449
|
-
},
|
|
2510
|
+
}, Is = /* @__PURE__ */ V({
|
|
2450
2511
|
__name: "VoUserColors",
|
|
2451
2512
|
setup(u) {
|
|
2452
|
-
const t =
|
|
2513
|
+
const t = R(), a = Q(), s = P(), n = F(!1);
|
|
2453
2514
|
function r() {
|
|
2454
2515
|
s.colors.one = "surface-light";
|
|
2455
2516
|
}
|
|
2456
2517
|
return (c, l) => {
|
|
2457
|
-
const h =
|
|
2458
|
-
return d(),
|
|
2459
|
-
o(
|
|
2518
|
+
const h = ue;
|
|
2519
|
+
return d(), S(U, null, [
|
|
2520
|
+
o(Ne, {
|
|
2460
2521
|
color: e(t).user ? e(s).colors.one : "surface-light",
|
|
2461
2522
|
"content-class": "d-flex align-start justify-end pa-2",
|
|
2462
2523
|
height: "88",
|
|
@@ -2465,8 +2526,8 @@ const Qe = ee("settings", () => {
|
|
|
2465
2526
|
flat: ""
|
|
2466
2527
|
}, {
|
|
2467
2528
|
default: i(() => [
|
|
2468
|
-
|
|
2469
|
-
o(
|
|
2529
|
+
f("div", Ls, [
|
|
2530
|
+
o(We, {
|
|
2470
2531
|
class: "align-center position-absolute ms-2 d-flex ga-2 pa-2",
|
|
2471
2532
|
color: "rgba(0,0,0,.36)",
|
|
2472
2533
|
rounded: "lg",
|
|
@@ -2475,52 +2536,52 @@ const Qe = ee("settings", () => {
|
|
|
2475
2536
|
default: i(() => {
|
|
2476
2537
|
var p;
|
|
2477
2538
|
return [
|
|
2478
|
-
(p = e(t).user) != null && p.isAdmin ? (d(),
|
|
2539
|
+
(p = e(t).user) != null && p.isAdmin ? (d(), _(ae, {
|
|
2479
2540
|
key: 0,
|
|
2480
2541
|
location: "bottom",
|
|
2481
2542
|
text: "Vuetify Administrator"
|
|
2482
2543
|
}, {
|
|
2483
2544
|
activator: i(({ props: g }) => [
|
|
2484
|
-
o(
|
|
2545
|
+
o(N, X({
|
|
2485
2546
|
color: "blue",
|
|
2486
2547
|
icon: "$vuetify"
|
|
2487
2548
|
}, g, { size: "16" }), null, 16)
|
|
2488
2549
|
]),
|
|
2489
2550
|
_: 1
|
|
2490
2551
|
})) : $("", !0),
|
|
2491
|
-
e(a).isSubscriber ? (d(),
|
|
2552
|
+
e(a).isSubscriber ? (d(), _(ae, {
|
|
2492
2553
|
key: 1,
|
|
2493
2554
|
location: "bottom",
|
|
2494
2555
|
text: "Vuetify One Subscriber"
|
|
2495
2556
|
}, {
|
|
2496
2557
|
activator: i(({ props: g }) => [
|
|
2497
|
-
o(
|
|
2498
|
-
icon: `svg:${e(
|
|
2558
|
+
o(N, X({
|
|
2559
|
+
icon: `svg:${e(Tt)}`,
|
|
2499
2560
|
color: "amber-darken-2"
|
|
2500
2561
|
}, g, { size: "16" }), null, 16, ["icon"])
|
|
2501
2562
|
]),
|
|
2502
2563
|
_: 1
|
|
2503
2564
|
})) : $("", !0),
|
|
2504
|
-
e(a).github ? (d(),
|
|
2565
|
+
e(a).github ? (d(), _(ae, {
|
|
2505
2566
|
key: 2,
|
|
2506
2567
|
location: "bottom",
|
|
2507
2568
|
text: "GitHub Sponsor"
|
|
2508
2569
|
}, {
|
|
2509
2570
|
activator: i(({ props: g }) => [
|
|
2510
|
-
o(
|
|
2511
|
-
icon: `svg:${e(
|
|
2571
|
+
o(N, X({
|
|
2572
|
+
icon: `svg:${e(De)}`,
|
|
2512
2573
|
color: "medium-emphasis"
|
|
2513
2574
|
}, g, { size: "16" }), null, 16, ["icon"])
|
|
2514
2575
|
]),
|
|
2515
2576
|
_: 1
|
|
2516
2577
|
})) : $("", !0),
|
|
2517
|
-
e(a).discord ? (d(),
|
|
2578
|
+
e(a).discord ? (d(), _(ae, {
|
|
2518
2579
|
key: 3,
|
|
2519
2580
|
location: "bottom",
|
|
2520
2581
|
text: "Discord Subscriber"
|
|
2521
2582
|
}, {
|
|
2522
2583
|
activator: i(({ props: g }) => [
|
|
2523
|
-
o(
|
|
2584
|
+
o(N, X({
|
|
2524
2585
|
icon: `svg:${e(Ie)}`,
|
|
2525
2586
|
color: "medium-emphasis"
|
|
2526
2587
|
}, g, { size: "16" }), null, 16, ["icon"])
|
|
@@ -2531,7 +2592,7 @@ const Qe = ee("settings", () => {
|
|
|
2531
2592
|
}),
|
|
2532
2593
|
_: 1
|
|
2533
2594
|
}),
|
|
2534
|
-
e(t).isSubscriber ? (d(),
|
|
2595
|
+
e(t).isSubscriber ? (d(), _(h, {
|
|
2535
2596
|
key: 0,
|
|
2536
2597
|
active: n.value,
|
|
2537
2598
|
icon: n.value ? `svg:${e(te)}` : "$edit",
|
|
@@ -2543,9 +2604,9 @@ const Qe = ee("settings", () => {
|
|
|
2543
2604
|
onClick: l[0] || (l[0] = (p) => n.value = !n.value)
|
|
2544
2605
|
}, {
|
|
2545
2606
|
default: i(() => [
|
|
2546
|
-
o(
|
|
2607
|
+
o(Ue, { "leave-absolute": "" }, {
|
|
2547
2608
|
default: i(() => [
|
|
2548
|
-
(d(),
|
|
2609
|
+
(d(), _(N, {
|
|
2549
2610
|
key: String(n.value)
|
|
2550
2611
|
}))
|
|
2551
2612
|
]),
|
|
@@ -2554,12 +2615,12 @@ const Qe = ee("settings", () => {
|
|
|
2554
2615
|
]),
|
|
2555
2616
|
_: 1
|
|
2556
2617
|
}, 8, ["active", "icon", "variant"])) : $("", !0),
|
|
2557
|
-
o(
|
|
2618
|
+
o(Wt, null, {
|
|
2558
2619
|
default: i(() => [
|
|
2559
|
-
|
|
2620
|
+
Ae(f("div", As, [
|
|
2560
2621
|
o(h, {
|
|
2561
2622
|
disabled: e(s).colors.one === "surface-light",
|
|
2562
|
-
icon: `svg:${e(
|
|
2623
|
+
icon: `svg:${e(Rt)}`,
|
|
2563
2624
|
class: "ms-2 me-1",
|
|
2564
2625
|
color: "inherit",
|
|
2565
2626
|
density: "comfortable",
|
|
@@ -2568,7 +2629,7 @@ const Qe = ee("settings", () => {
|
|
|
2568
2629
|
onClick: r
|
|
2569
2630
|
}, null, 8, ["disabled", "icon"])
|
|
2570
2631
|
], 512), [
|
|
2571
|
-
[
|
|
2632
|
+
[Me, n.value]
|
|
2572
2633
|
])
|
|
2573
2634
|
]),
|
|
2574
2635
|
_: 1
|
|
@@ -2577,9 +2638,9 @@ const Qe = ee("settings", () => {
|
|
|
2577
2638
|
]),
|
|
2578
2639
|
_: 1
|
|
2579
2640
|
}, 8, ["color"]),
|
|
2580
|
-
o(
|
|
2641
|
+
o(ce, null, {
|
|
2581
2642
|
default: i(() => [
|
|
2582
|
-
n.value ? (d(),
|
|
2643
|
+
n.value ? (d(), _(to, {
|
|
2583
2644
|
key: 0,
|
|
2584
2645
|
"model-value": e(s).colors.one !== "surface-light" ? e(s).colors.one : void 0,
|
|
2585
2646
|
elevation: "0",
|
|
@@ -2599,13 +2660,13 @@ const Qe = ee("settings", () => {
|
|
|
2599
2660
|
], 64);
|
|
2600
2661
|
};
|
|
2601
2662
|
}
|
|
2602
|
-
}),
|
|
2663
|
+
}), Ds = { class: "text-center mt-n9 mb-4" }, Us = /* @__PURE__ */ V({
|
|
2603
2664
|
__name: "VoUserMenu",
|
|
2604
2665
|
setup(u) {
|
|
2605
|
-
const t =
|
|
2666
|
+
const t = Q();
|
|
2606
2667
|
return (a, s) => {
|
|
2607
|
-
const n =
|
|
2608
|
-
return d(),
|
|
2668
|
+
const n = Is, r = Cs, c = ks, l = bs, h = mo;
|
|
2669
|
+
return d(), _(oo, {
|
|
2609
2670
|
modelValue: e(t).isOpen,
|
|
2610
2671
|
"onUpdate:modelValue": s[0] || (s[0] = (p) => e(t).isOpen = p),
|
|
2611
2672
|
"close-on-click": !1,
|
|
@@ -2615,20 +2676,20 @@ const Qe = ee("settings", () => {
|
|
|
2615
2676
|
eager: ""
|
|
2616
2677
|
}, {
|
|
2617
2678
|
default: i(() => [
|
|
2618
|
-
o(
|
|
2679
|
+
o(B, {
|
|
2619
2680
|
rounded: "lg",
|
|
2620
2681
|
width: "280",
|
|
2621
2682
|
border: ""
|
|
2622
2683
|
}, {
|
|
2623
2684
|
default: i(() => [
|
|
2624
2685
|
o(n),
|
|
2625
|
-
|
|
2686
|
+
f("div", Ds, [
|
|
2626
2687
|
o(r),
|
|
2627
2688
|
o(c)
|
|
2628
2689
|
]),
|
|
2629
|
-
o(
|
|
2690
|
+
o(T),
|
|
2630
2691
|
o(l),
|
|
2631
|
-
o(
|
|
2692
|
+
o(T),
|
|
2632
2693
|
o(h)
|
|
2633
2694
|
]),
|
|
2634
2695
|
_: 1
|
|
@@ -2638,23 +2699,23 @@ const Qe = ee("settings", () => {
|
|
|
2638
2699
|
}, 8, ["modelValue"]);
|
|
2639
2700
|
};
|
|
2640
2701
|
}
|
|
2641
|
-
}),
|
|
2702
|
+
}), Ns = { key: 0 }, Fs = /* @__PURE__ */ V({
|
|
2642
2703
|
__name: "VoAuthBtn",
|
|
2643
2704
|
props: {
|
|
2644
2705
|
external: Boolean
|
|
2645
2706
|
},
|
|
2646
2707
|
setup(u) {
|
|
2647
|
-
const t =
|
|
2648
|
-
return (
|
|
2649
|
-
const
|
|
2650
|
-
return d(),
|
|
2708
|
+
const t = R(), a = Q(), s = P(), { lgAndUp: n, mdAndDown: r } = be(), c = A(() => a.isOpen || !t.user ? s.colors.one === "surface-light" ? "primary" : s.colors.one : "surface-light");
|
|
2709
|
+
return (l, h) => {
|
|
2710
|
+
const p = Us, g = ue, L = no;
|
|
2711
|
+
return d(), _(L, {
|
|
2651
2712
|
"offset-y": e(t).user ? 5 : 0
|
|
2652
2713
|
}, {
|
|
2653
2714
|
default: i(() => [
|
|
2654
|
-
o(
|
|
2655
|
-
[`${e(n) ? "append-" : ""}icon`]: e(t).user ? void 0 : `svg:${e(
|
|
2715
|
+
o(g, X({
|
|
2716
|
+
[`${e(n) ? "append-" : ""}icon`]: e(t).user ? void 0 : `svg:${e(Ht)}`
|
|
2656
2717
|
}, {
|
|
2657
|
-
color:
|
|
2718
|
+
color: c.value,
|
|
2658
2719
|
icon: e(t).user || e(t).isLoading,
|
|
2659
2720
|
loading: e(t).isLoading,
|
|
2660
2721
|
rounded: e(r),
|
|
@@ -2665,12 +2726,12 @@ const Qe = ee("settings", () => {
|
|
|
2665
2726
|
active: ""
|
|
2666
2727
|
}), {
|
|
2667
2728
|
default: i(() => [
|
|
2668
|
-
e(t).user ? $("", !0) : (d(),
|
|
2669
|
-
e(t).user ? (d(),
|
|
2729
|
+
e(t).user ? $("", !0) : (d(), S("span", Ns, "Login")),
|
|
2730
|
+
e(t).user ? (d(), _(ve, {
|
|
2670
2731
|
key: 1,
|
|
2671
2732
|
image: e(s).avatar || e(t).user.picture || ""
|
|
2672
2733
|
}, null, 8, ["image"])) : $("", !0),
|
|
2673
|
-
o(
|
|
2734
|
+
o(p)
|
|
2674
2735
|
]),
|
|
2675
2736
|
_: 1
|
|
2676
2737
|
}, 16, ["color", "icon", "loading", "rounded", "variant"])
|
|
@@ -2679,10 +2740,10 @@ const Qe = ee("settings", () => {
|
|
|
2679
2740
|
}, 8, ["offset-y"]);
|
|
2680
2741
|
};
|
|
2681
2742
|
}
|
|
2682
|
-
}),
|
|
2743
|
+
}), js = (u) => (st("data-v-86d0e524"), u = u(), nt(), u), Os = ["href", "title"], zs = {
|
|
2683
2744
|
class: "text-caption text-disabled",
|
|
2684
2745
|
style: { position: "absolute", right: "16px" }
|
|
2685
|
-
},
|
|
2746
|
+
}, Bs = /* @__PURE__ */ js(() => /* @__PURE__ */ f("span", { class: "d-none d-sm-inline-block" }, "Vuetify, LLC", -1)), Ts = /* @__PURE__ */ V({
|
|
2686
2747
|
__name: "VoFooter",
|
|
2687
2748
|
setup(u) {
|
|
2688
2749
|
const t = [
|
|
@@ -2693,7 +2754,7 @@ const Qe = ee("settings", () => {
|
|
|
2693
2754
|
},
|
|
2694
2755
|
{
|
|
2695
2756
|
title: "Vuetify Support",
|
|
2696
|
-
icon: `svg:${
|
|
2757
|
+
icon: `svg:${Mt}`,
|
|
2697
2758
|
href: "https://support.vuetifyjs.com/"
|
|
2698
2759
|
},
|
|
2699
2760
|
{
|
|
@@ -2703,7 +2764,7 @@ const Qe = ee("settings", () => {
|
|
|
2703
2764
|
},
|
|
2704
2765
|
{
|
|
2705
2766
|
title: "Vuetify GitHub",
|
|
2706
|
-
icon: `svg:${
|
|
2767
|
+
icon: `svg:${De}`,
|
|
2707
2768
|
href: "https://github.com/vuetifyjs/vuetify"
|
|
2708
2769
|
},
|
|
2709
2770
|
{
|
|
@@ -2713,16 +2774,16 @@ const Qe = ee("settings", () => {
|
|
|
2713
2774
|
},
|
|
2714
2775
|
{
|
|
2715
2776
|
title: "Vuetify Reddit",
|
|
2716
|
-
icon: `svg:${
|
|
2777
|
+
icon: `svg:${Pt}`,
|
|
2717
2778
|
href: "https://reddit.com/r/vuetifyjs"
|
|
2718
2779
|
}
|
|
2719
2780
|
];
|
|
2720
|
-
return (a, s) => (d(),
|
|
2781
|
+
return (a, s) => (d(), _(so, {
|
|
2721
2782
|
class: "vo-footer",
|
|
2722
2783
|
height: "40"
|
|
2723
2784
|
}, {
|
|
2724
2785
|
default: i(() => [
|
|
2725
|
-
(d(),
|
|
2786
|
+
(d(), S(U, null, ne(t, (n) => f("a", {
|
|
2726
2787
|
key: n.title,
|
|
2727
2788
|
href: n.href,
|
|
2728
2789
|
title: n.title,
|
|
@@ -2730,27 +2791,27 @@ const Qe = ee("settings", () => {
|
|
|
2730
2791
|
rel: "noopener noreferrer",
|
|
2731
2792
|
target: "_blank"
|
|
2732
2793
|
}, [
|
|
2733
|
-
o(
|
|
2794
|
+
o(N, {
|
|
2734
2795
|
icon: n.icon,
|
|
2735
2796
|
size: n.icon === "$vuetify" ? 24 : 16
|
|
2736
2797
|
}, null, 8, ["icon", "size"])
|
|
2737
|
-
], 8,
|
|
2738
|
-
|
|
2798
|
+
], 8, Os)), 64)),
|
|
2799
|
+
f("div", zs, [
|
|
2739
2800
|
j(" © 2016-" + C((/* @__PURE__ */ new Date()).getFullYear()) + " ", 1),
|
|
2740
|
-
|
|
2801
|
+
Bs
|
|
2741
2802
|
])
|
|
2742
2803
|
]),
|
|
2743
2804
|
_: 1
|
|
2744
2805
|
}));
|
|
2745
2806
|
}
|
|
2746
2807
|
});
|
|
2747
|
-
const
|
|
2808
|
+
const Rs = (u, t) => {
|
|
2748
2809
|
const a = u.__vccOpts || u;
|
|
2749
2810
|
for (const [s, n] of t)
|
|
2750
2811
|
a[s] = n;
|
|
2751
2812
|
return a;
|
|
2752
|
-
},
|
|
2753
|
-
const u =
|
|
2813
|
+
}, Hs = /* @__PURE__ */ Rs(Ts, [["__scopeId", "data-v-86d0e524"]]), Cn = se("bins", () => {
|
|
2814
|
+
const u = R(), t = ke(), a = oe([]), s = oe(), n = F(!1), r = F(-1), c = A(() => !u.user || !s.value ? !1 : u.user.id === s.value.owner.id), l = A(() => a.value.filter((b) => b.favorite)), h = A(() => a.value.filter((b) => b.pinned));
|
|
2754
2815
|
W(s, () => {
|
|
2755
2816
|
window.clearTimeout(r.value), r.value = window.setTimeout(() => {
|
|
2756
2817
|
!s.value || !c.value || m(s.value, s.value.id);
|
|
@@ -2769,40 +2830,40 @@ const Os = (u, t) => {
|
|
|
2769
2830
|
}
|
|
2770
2831
|
async function g(b) {
|
|
2771
2832
|
try {
|
|
2772
|
-
n.value = !0, await t.delete(`/one/bins/${b}`), a.value = a.value.filter((
|
|
2833
|
+
n.value = !0, await t.delete(`/one/bins/${b}`), a.value = a.value.filter((w) => w.id !== b);
|
|
2773
2834
|
} catch {
|
|
2774
2835
|
} finally {
|
|
2775
2836
|
n.value = !1;
|
|
2776
2837
|
}
|
|
2777
2838
|
return !0;
|
|
2778
2839
|
}
|
|
2779
|
-
async function
|
|
2840
|
+
async function L(b) {
|
|
2780
2841
|
try {
|
|
2781
2842
|
n.value = !0;
|
|
2782
|
-
const
|
|
2783
|
-
return a.value.push(
|
|
2843
|
+
const w = await t.post("/one/bins", { bin: b });
|
|
2844
|
+
return a.value.push(w.bin), s.value = w.bin, w;
|
|
2784
2845
|
} catch {
|
|
2785
2846
|
} finally {
|
|
2786
2847
|
n.value = !1;
|
|
2787
2848
|
}
|
|
2788
2849
|
return { bin: b };
|
|
2789
2850
|
}
|
|
2790
|
-
async function m(b,
|
|
2851
|
+
async function m(b, w) {
|
|
2791
2852
|
try {
|
|
2792
2853
|
n.value = !0;
|
|
2793
|
-
const
|
|
2794
|
-
a.value.splice(O, 1,
|
|
2854
|
+
const I = await t.post(`/one/bins/${w}`, { bin: b }), O = a.value.findIndex((q) => q.id === w);
|
|
2855
|
+
a.value.splice(O, 1, I.bin);
|
|
2795
2856
|
} catch {
|
|
2796
2857
|
} finally {
|
|
2797
2858
|
n.value = !1;
|
|
2798
2859
|
}
|
|
2799
2860
|
return { bin: b };
|
|
2800
2861
|
}
|
|
2801
|
-
async function k(b,
|
|
2862
|
+
async function k(b, w) {
|
|
2802
2863
|
try {
|
|
2803
2864
|
n.value = !0;
|
|
2804
|
-
const
|
|
2805
|
-
s.value =
|
|
2865
|
+
const I = w ? await m(b, w) : await L(b);
|
|
2866
|
+
s.value = I.bin;
|
|
2806
2867
|
} catch {
|
|
2807
2868
|
} finally {
|
|
2808
2869
|
n.value = !1;
|
|
@@ -2812,8 +2873,8 @@ const Os = (u, t) => {
|
|
|
2812
2873
|
async function D(b) {
|
|
2813
2874
|
try {
|
|
2814
2875
|
n.value = !0;
|
|
2815
|
-
const
|
|
2816
|
-
s.value =
|
|
2876
|
+
const w = await t.get(`/one/bins/${b}`);
|
|
2877
|
+
s.value = w.bin;
|
|
2817
2878
|
} catch {
|
|
2818
2879
|
} finally {
|
|
2819
2880
|
n.value = !1;
|
|
@@ -2826,7 +2887,7 @@ const Os = (u, t) => {
|
|
|
2826
2887
|
pinned: h,
|
|
2827
2888
|
favorites: l,
|
|
2828
2889
|
all: a,
|
|
2829
|
-
create:
|
|
2890
|
+
create: L,
|
|
2830
2891
|
delete: g,
|
|
2831
2892
|
current: s,
|
|
2832
2893
|
find: D,
|
|
@@ -2835,22 +2896,22 @@ const Os = (u, t) => {
|
|
|
2835
2896
|
updateOrCreate: k
|
|
2836
2897
|
};
|
|
2837
2898
|
});
|
|
2838
|
-
function
|
|
2899
|
+
function Ln() {
|
|
2839
2900
|
function u(t) {
|
|
2840
|
-
t.component("VoAuthBtn",
|
|
2901
|
+
t.component("VoAuthBtn", Fs), t.component("VoFooter", Hs);
|
|
2841
2902
|
}
|
|
2842
2903
|
return { install: u };
|
|
2843
2904
|
}
|
|
2844
|
-
function
|
|
2845
|
-
u.store.url = "
|
|
2905
|
+
function An(u) {
|
|
2906
|
+
u.store.url = "http://localhost:8096";
|
|
2846
2907
|
}
|
|
2847
2908
|
export {
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2909
|
+
Ln as createOne,
|
|
2910
|
+
An as one,
|
|
2911
|
+
R as useAuthStore,
|
|
2912
|
+
Cn as useBinsStore,
|
|
2913
|
+
ke as useHttpStore,
|
|
2914
|
+
Q as useOneStore,
|
|
2915
|
+
Xe as useSettingsStore,
|
|
2916
|
+
P as useUserStore
|
|
2856
2917
|
};
|