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