@vuetify/one 1.0.7 → 1.0.9
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 +823 -822
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as V, openBlock as d, createBlock as _, normalizeStyle as Fe, createSlots as G, withCtx as i, createCommentVNode as w, renderSlot as P, reactive as Je, toRefs as Qe, ref as Z, shallowRef as U, computed as A, watch as W, unref as e, createElementVNode as v, toDisplayString as C, createVNode as s, withModifiers as je, mergeModels as Xe, useModel as pe, createElementBlock as x, Fragment as F, createTextVNode as j, renderList as te, mergeProps as ce, onBeforeMount as Ze, onMounted as Ne, resolveComponent as Oe, withDirectives as Se, vShow as Be, normalizeClass as Ke, pushScopeId as et, popScopeId as tt } from "vue";
|
|
2
2
|
import { VBtn as Q } from "vuetify/lib/components/VBtn/index.mjs";
|
|
3
3
|
import { VProgressCircular as ot } from "vuetify/lib/components/VProgressCircular/index.mjs";
|
|
4
4
|
import { defineStore as K } from "pinia";
|
|
5
|
-
import { merge as
|
|
6
|
-
import { mdiDiscord as
|
|
5
|
+
import { merge as ye } from "lodash-es";
|
|
6
|
+
import { mdiDiscord as ze, mdiGithub as Te, mdiSync as st, mdiSyncOff as nt, mdiLogoutVariant as it, mdiCheck as ee, mdiHome as at, mdiTextBox as rt, mdiSpaceInvaders as Re, mdiWhiteBalanceSunny as lt, mdiWeatherNight as ct, mdiDesktopTowerMonitor as ut, mdiImageFilterHdr as dt, mdiRocketLaunchOutline as pt, mdiContrastCircle as mt, mdiCog as ft, mdiCogOutline as vt, mdiFileDocument as _t, mdiCreditCardSettingsOutline as ht, mdiRocketOutline as gt, mdiCheckCircleOutline as se, mdiCreditCard as bt, mdiReload as yt, mdiPlaylistCheck as Vt, mdiCreditCardOutline as kt, mdiHandHeart as $t, mdiInformationOutline as De, mdiMedal as Ve, mdiChartLine as xt, mdiHandHeartOutline as wt, mdiEmailOpenOutline as St, mdiEmailVariant as Ct, mdiOpenInNew as Lt, mdiBell as It, mdiInboxOutline as At, mdiInboxFullOutline as Dt, mdiBellOutline as Ut, mdiViewDashboardOutline as Ft, mdiTrashCan as jt, mdiBug as Nt, mdiArrowULeftBottom as Ot, mdiLogin as Bt, mdiShieldStarOutline as zt, mdiReddit as Tt } from "@mdi/js";
|
|
7
7
|
import { VListItem as me, VList as oe, VListItemTitle as Rt } from "vuetify/lib/components/VList/index.mjs";
|
|
8
8
|
import { VAvatar as ue } from "vuetify/lib/components/VAvatar/index.mjs";
|
|
9
9
|
import { VCard as T, VCardText as J } from "vuetify/lib/components/VCard/index.mjs";
|
|
10
10
|
import { VSheet as Ht } from "vuetify/lib/components/VSheet/index.mjs";
|
|
11
|
-
import { VSwitch as
|
|
11
|
+
import { VSwitch as He } from "vuetify/lib/components/VSwitch/index.mjs";
|
|
12
12
|
import { VFadeTransition as Ce, VExpandTransition as ie, VExpandXTransition as Mt } from "vuetify/lib/components/transitions/index.mjs";
|
|
13
|
-
import {
|
|
13
|
+
import { useDisplay as fe, useTheme as Pt, useDate as ve } from "vuetify";
|
|
14
|
+
import { VDialog as Et } from "vuetify/lib/components/VDialog/index.mjs";
|
|
14
15
|
import { VDivider as R } from "vuetify/lib/components/VDivider/index.mjs";
|
|
15
16
|
import { VIcon as N } from "vuetify/lib/components/VIcon/index.mjs";
|
|
16
|
-
import { VLabel as
|
|
17
|
+
import { VLabel as xe } from "vuetify/lib/components/VLabel/index.mjs";
|
|
17
18
|
import { VChip as q } from "vuetify/lib/components/VChip/index.mjs";
|
|
18
|
-
import { VChipGroup as
|
|
19
|
-
import { VSelect as
|
|
20
|
-
import {
|
|
21
|
-
import { VRow as ve, VCol as ne } from "vuetify/lib/components/VGrid/index.mjs";
|
|
19
|
+
import { VChipGroup as Wt } from "vuetify/lib/components/VChipGroup/index.mjs";
|
|
20
|
+
import { VSelect as Gt } from "vuetify/lib/components/VSelect/index.mjs";
|
|
21
|
+
import { VRow as _e, VCol as ne } from "vuetify/lib/components/VGrid/index.mjs";
|
|
22
22
|
import { VHover as Me } from "vuetify/lib/components/VHover/index.mjs";
|
|
23
23
|
import { VImg as Le } from "vuetify/lib/components/VImg/index.mjs";
|
|
24
|
-
import { VItemGroup as Pe, VItem as
|
|
24
|
+
import { VItemGroup as Pe, VItem as we } from "vuetify/lib/components/VItemGroup/index.mjs";
|
|
25
25
|
import { VLayout as Ie } from "vuetify/lib/components/VLayout/index.mjs";
|
|
26
26
|
import { VMain as Ae } from "vuetify/lib/components/VMain/index.mjs";
|
|
27
27
|
import { VDataTableVirtual as qt } from "vuetify/lib/components/VDataTable/index.mjs";
|
|
28
|
-
import { VSkeletonLoader as
|
|
28
|
+
import { VSkeletonLoader as Ue } from "vuetify/lib/components/VSkeletonLoader/index.mjs";
|
|
29
29
|
import { VWindow as Ee, VWindowItem as de } from "vuetify/lib/components/VWindow/index.mjs";
|
|
30
|
-
import { VTimeline as Yt, VTimelineItem as
|
|
30
|
+
import { VTimeline as Yt, VTimelineItem as ke } from "vuetify/lib/components/VTimeline/index.mjs";
|
|
31
31
|
import { VResponsive as Jt } from "vuetify/lib/components/VResponsive/index.mjs";
|
|
32
32
|
import { VTooltip as Qt } from "vuetify/lib/components/VTooltip/index.mjs";
|
|
33
33
|
import { VNavigationDrawer as Xt } from "vuetify/lib/components/VNavigationDrawer/index.mjs";
|
|
@@ -36,74 +36,76 @@ import { Ripple as Kt } from "vuetify/lib/directives/index.mjs";
|
|
|
36
36
|
import { VColorPicker as eo } from "vuetify/lib/components/VColorPicker/index.mjs";
|
|
37
37
|
import { VMenu as to } from "vuetify/lib/components/VMenu/index.mjs";
|
|
38
38
|
import { VFooter as oo } from "vuetify/lib/components/VFooter/index.mjs";
|
|
39
|
-
const ae = /* @__PURE__ */
|
|
39
|
+
const ae = /* @__PURE__ */ V({
|
|
40
40
|
__name: "VoBtn",
|
|
41
41
|
props: {
|
|
42
42
|
readonly: { type: Boolean }
|
|
43
43
|
},
|
|
44
44
|
setup(u) {
|
|
45
|
-
const
|
|
46
|
-
return (
|
|
47
|
-
style:
|
|
48
|
-
pointerEvents:
|
|
45
|
+
const t = u;
|
|
46
|
+
return (a, o) => (d(), _(Q, {
|
|
47
|
+
style: Fe({
|
|
48
|
+
pointerEvents: t.readonly ? "none" : void 0
|
|
49
49
|
}),
|
|
50
|
-
tabindex:
|
|
50
|
+
tabindex: t.readonly ? -1 : void 0,
|
|
51
51
|
class: "text-none font-weight-regular",
|
|
52
52
|
color: "primary",
|
|
53
53
|
size: "small",
|
|
54
54
|
variant: "flat"
|
|
55
55
|
}, G({
|
|
56
|
-
loader:
|
|
57
|
-
|
|
56
|
+
loader: i(() => [
|
|
57
|
+
a.$slots.loader ? w("", !0) : (d(), _(ot, {
|
|
58
|
+
key: 0,
|
|
58
59
|
indeterminate: "disable-shrink",
|
|
59
60
|
size: "16",
|
|
60
61
|
width: "2"
|
|
61
|
-
})
|
|
62
|
+
})),
|
|
63
|
+
P(a.$slots, "loader")
|
|
62
64
|
]),
|
|
63
65
|
_: 2
|
|
64
66
|
}, [
|
|
65
|
-
|
|
67
|
+
a.$slots.default ? {
|
|
66
68
|
name: "default",
|
|
67
|
-
fn:
|
|
68
|
-
|
|
69
|
+
fn: i(() => [
|
|
70
|
+
P(a.$slots, "default")
|
|
69
71
|
]),
|
|
70
72
|
key: "0"
|
|
71
73
|
} : void 0
|
|
72
74
|
]), 1032, ["style", "tabindex"]));
|
|
73
75
|
}
|
|
74
|
-
}),
|
|
76
|
+
}), he = K("http", {
|
|
75
77
|
state: () => ({
|
|
76
78
|
url: ""
|
|
77
79
|
}),
|
|
78
80
|
actions: {
|
|
79
|
-
async fetch(u,
|
|
80
|
-
const
|
|
81
|
+
async fetch(u, t = {}) {
|
|
82
|
+
const a = await fetch(`${this.url}${u}`, {
|
|
81
83
|
credentials: "include",
|
|
82
|
-
...
|
|
84
|
+
...t
|
|
83
85
|
});
|
|
84
|
-
return
|
|
86
|
+
return a.status === 204 ? a : a.json();
|
|
85
87
|
},
|
|
86
|
-
async post(u,
|
|
88
|
+
async post(u, t, a = {}) {
|
|
87
89
|
return this.fetch(u, {
|
|
88
90
|
method: "POST",
|
|
89
91
|
headers: {
|
|
90
92
|
"Content-Type": "application/json"
|
|
91
93
|
},
|
|
92
|
-
body: JSON.stringify(
|
|
93
|
-
...
|
|
94
|
+
body: JSON.stringify(t),
|
|
95
|
+
...a
|
|
94
96
|
});
|
|
95
97
|
},
|
|
96
|
-
async get(u,
|
|
97
|
-
return this.fetch(u,
|
|
98
|
+
async get(u, t = {}) {
|
|
99
|
+
return this.fetch(u, t);
|
|
98
100
|
},
|
|
99
|
-
async delete(u,
|
|
101
|
+
async delete(u, t = {}) {
|
|
100
102
|
return this.fetch(u, {
|
|
101
103
|
method: "DELETE",
|
|
102
|
-
...
|
|
104
|
+
...t
|
|
103
105
|
});
|
|
104
106
|
}
|
|
105
107
|
}
|
|
106
|
-
}),
|
|
108
|
+
}), $e = typeof window < "u", le = {
|
|
107
109
|
v: 5,
|
|
108
110
|
api: "link-only",
|
|
109
111
|
avatar: "",
|
|
@@ -142,43 +144,43 @@ const ae = /* @__PURE__ */ b({
|
|
|
142
144
|
}
|
|
143
145
|
}
|
|
144
146
|
}, H = K("user", () => {
|
|
145
|
-
const u = Je(
|
|
146
|
-
function
|
|
147
|
-
if (
|
|
147
|
+
const u = Je(ye({}, le));
|
|
148
|
+
function t() {
|
|
149
|
+
if (!$e)
|
|
148
150
|
return;
|
|
149
|
-
const
|
|
150
|
-
let l =
|
|
151
|
-
|
|
151
|
+
const n = localStorage.getItem("vuetify@user"), r = n ? JSON.parse(n) : {};
|
|
152
|
+
let l = r.v === u.v;
|
|
153
|
+
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 = le.suits, r.notifications.banners = le.notifications.banners, l = !0), r.v = u.v, Object.assign(u, ye(u, r)), l && a();
|
|
152
154
|
}
|
|
153
|
-
function
|
|
154
|
-
|
|
155
|
+
function a() {
|
|
156
|
+
$e && localStorage.setItem("vuetify@user", JSON.stringify(u, null, 2));
|
|
155
157
|
}
|
|
156
|
-
function
|
|
157
|
-
|
|
158
|
+
function o() {
|
|
159
|
+
$e && (Object.assign(u, ye({}, le)), a());
|
|
158
160
|
}
|
|
159
|
-
return
|
|
161
|
+
return t(), {
|
|
160
162
|
...Qe(u),
|
|
161
|
-
load:
|
|
162
|
-
save:
|
|
163
|
-
reset:
|
|
163
|
+
load: t,
|
|
164
|
+
save: a,
|
|
165
|
+
reset: o
|
|
164
166
|
};
|
|
165
|
-
}),
|
|
166
|
-
const u = Z(null),
|
|
167
|
-
var m,
|
|
168
|
-
return !
|
|
167
|
+
}), B = K("auth", () => {
|
|
168
|
+
const u = Z(null), t = he(), a = H(), o = U(!1), n = A(() => {
|
|
169
|
+
var m, k;
|
|
170
|
+
return !t.url || ((m = u.value) == null ? void 0 : m.isAdmin) || !!((k = u.value) != null && k.sponsorships.some((D) => D.isActive));
|
|
169
171
|
});
|
|
170
|
-
let
|
|
172
|
+
let r = !1;
|
|
171
173
|
W(u, (m) => {
|
|
172
174
|
if (!(m != null && m.settings))
|
|
173
175
|
return;
|
|
174
|
-
const
|
|
175
|
-
JSON.stringify(m.settings, null, 2) !==
|
|
176
|
-
}),
|
|
177
|
-
|
|
176
|
+
const k = localStorage.getItem("vuetify@user") || "{}";
|
|
177
|
+
JSON.stringify(m.settings, null, 2) !== k && (r = !0, Object.assign(a, m.settings));
|
|
178
|
+
}), a.$subscribe(() => {
|
|
179
|
+
r || l(), r = !1;
|
|
178
180
|
});
|
|
179
181
|
async function l() {
|
|
180
182
|
try {
|
|
181
|
-
await
|
|
183
|
+
await t.post("/user/settings", { settings: a.$state });
|
|
182
184
|
} catch (m) {
|
|
183
185
|
console.error(m);
|
|
184
186
|
}
|
|
@@ -186,181 +188,181 @@ const ae = /* @__PURE__ */ b({
|
|
|
186
188
|
async function c(m = !1) {
|
|
187
189
|
if (c.promise)
|
|
188
190
|
return c.promise;
|
|
189
|
-
|
|
191
|
+
o.value = !0, c.promise = fetch(`${t.url}/auth/verify`, {
|
|
190
192
|
credentials: "include",
|
|
191
193
|
headers: m ? {
|
|
192
194
|
"Cache-Control": "no-cache"
|
|
193
195
|
} : void 0
|
|
194
196
|
}).then(
|
|
195
|
-
async (
|
|
196
|
-
|
|
197
|
+
async (k) => {
|
|
198
|
+
k.ok ? u.value = (await k.json()).user : k.status === 401 ? u.value = null : console.error(k.statusText);
|
|
197
199
|
},
|
|
198
200
|
() => {
|
|
199
201
|
}
|
|
200
202
|
).finally(() => {
|
|
201
|
-
|
|
203
|
+
o.value = !1, c.promise = null;
|
|
202
204
|
});
|
|
203
205
|
}
|
|
204
206
|
c.promise = null;
|
|
205
207
|
async function h(m = "github") {
|
|
206
|
-
|
|
207
|
-
const
|
|
208
|
+
o.value = !0;
|
|
209
|
+
const k = `${t.url}/auth/${m}/redirect`, D = 400, g = 600, $ = window.screenX + (window.innerWidth - D) / 2, I = window.screenY + (window.innerHeight - g) / 2, O = window.open(
|
|
208
210
|
"",
|
|
209
211
|
"vuetify:authorize:popup",
|
|
210
212
|
`popup,left=${$},top=${I},width=${D},height=${g},resizable`
|
|
211
213
|
);
|
|
212
|
-
if (!
|
|
214
|
+
if (!O) {
|
|
213
215
|
console.error("Failed to open popup");
|
|
214
216
|
return;
|
|
215
217
|
}
|
|
216
|
-
|
|
217
|
-
let
|
|
218
|
+
O.location.href = k;
|
|
219
|
+
let S = -1, E = -1;
|
|
218
220
|
function M(f) {
|
|
219
|
-
var
|
|
220
|
-
f.origin ===
|
|
221
|
+
var b;
|
|
222
|
+
f.origin === t.url && ((b = f.data) == null ? void 0 : b.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), z());
|
|
221
223
|
}
|
|
222
224
|
function z() {
|
|
223
|
-
window.removeEventListener("message", M), window.clearInterval(
|
|
225
|
+
window.removeEventListener("message", M), window.clearInterval(S), window.clearTimeout(E), O == null || O.close(), o.value = !1;
|
|
224
226
|
}
|
|
225
|
-
window.addEventListener("message", M),
|
|
226
|
-
!
|
|
227
|
-
}, 1e3),
|
|
227
|
+
window.addEventListener("message", M), S = window.setInterval(() => {
|
|
228
|
+
!O || O.closed ? (console.error("Auth popup closed"), z()) : O.postMessage({ type: "auth-request" }, "*");
|
|
229
|
+
}, 1e3), E = window.setTimeout(() => {
|
|
228
230
|
z(), console.error("Auth timed out");
|
|
229
231
|
}, 120 * 1e3);
|
|
230
232
|
}
|
|
231
233
|
async function p(m) {
|
|
232
|
-
|
|
233
|
-
const
|
|
234
|
+
o.value = !0;
|
|
235
|
+
const k = m ? `/auth/${m}/logout` : "/auth/logout";
|
|
234
236
|
try {
|
|
235
|
-
await
|
|
237
|
+
await t.post(k), await c(!0), u.value = null;
|
|
236
238
|
} catch (D) {
|
|
237
239
|
console.error(D);
|
|
238
240
|
} finally {
|
|
239
|
-
|
|
241
|
+
o.value = !1;
|
|
240
242
|
}
|
|
241
243
|
}
|
|
242
|
-
function
|
|
243
|
-
var
|
|
244
|
-
return (
|
|
244
|
+
function y(m) {
|
|
245
|
+
var k;
|
|
246
|
+
return (k = u.value) == null ? void 0 : k.identities.find((D) => D.provider === m);
|
|
245
247
|
}
|
|
246
248
|
function L() {
|
|
247
249
|
return localStorage.getItem("vuetify@lastLoginProvider");
|
|
248
250
|
}
|
|
249
251
|
return L() && c(), {
|
|
250
252
|
user: u,
|
|
251
|
-
url:
|
|
252
|
-
isLoading:
|
|
253
|
-
findIdentity:
|
|
253
|
+
url: t.url,
|
|
254
|
+
isLoading: o,
|
|
255
|
+
findIdentity: y,
|
|
254
256
|
verify: c,
|
|
255
257
|
login: h,
|
|
256
258
|
logout: p,
|
|
257
|
-
isSubscriber:
|
|
259
|
+
isSubscriber: n,
|
|
258
260
|
lastLoginProvider: L,
|
|
259
261
|
sync: l
|
|
260
262
|
};
|
|
261
|
-
}), so = { class: "text-body-2" }, no = /* @__PURE__ */ v("div", { class: "text-caption mt-n1" }, "Last Used", -1), io = /* @__PURE__ */
|
|
263
|
+
}), so = { class: "text-body-2" }, no = /* @__PURE__ */ v("div", { class: "text-caption mt-n1" }, "Last Used", -1), io = /* @__PURE__ */ V({
|
|
262
264
|
__name: "VoAuthDiscord",
|
|
263
265
|
setup(u) {
|
|
264
|
-
const
|
|
265
|
-
return (
|
|
266
|
-
"prepend-icon": `svg:${
|
|
266
|
+
const t = B(), a = A(() => t.user && t.findIdentity("discord")), o = A(() => t.user ? a.value ? "Connected to Discord" : "Connect Discord" : "Log in with Discord");
|
|
267
|
+
return (n, r) => (d(), _(me, {
|
|
268
|
+
"prepend-icon": `svg:${e(ze)}`,
|
|
267
269
|
"base-color": "#5865F2",
|
|
268
270
|
rounded: "pill",
|
|
269
271
|
variant: "flat",
|
|
270
272
|
slim: "",
|
|
271
|
-
onClick:
|
|
273
|
+
onClick: r[0] || (r[0] = (l) => e(t).login("discord"))
|
|
272
274
|
}, G({
|
|
273
|
-
title:
|
|
274
|
-
v("span", so, C(
|
|
275
|
+
title: i(() => [
|
|
276
|
+
v("span", so, C(o.value), 1)
|
|
275
277
|
]),
|
|
276
278
|
_: 2
|
|
277
279
|
}, [
|
|
278
|
-
!t
|
|
280
|
+
!e(t).user && e(t).lastLoginProvider() === "discord" ? {
|
|
279
281
|
name: "subtitle",
|
|
280
|
-
fn:
|
|
282
|
+
fn: i(() => [
|
|
281
283
|
no
|
|
282
284
|
]),
|
|
283
285
|
key: "0"
|
|
284
286
|
} : void 0
|
|
285
287
|
]), 1032, ["prepend-icon"]));
|
|
286
288
|
}
|
|
287
|
-
}), ao = { class: "text-body-2" }, ro = /* @__PURE__ */ v("div", { class: "text-caption mt-n1" }, "Last Used", -1), lo = /* @__PURE__ */
|
|
289
|
+
}), ao = { class: "text-body-2" }, ro = /* @__PURE__ */ v("div", { class: "text-caption mt-n1" }, "Last Used", -1), lo = /* @__PURE__ */ V({
|
|
288
290
|
__name: "VoAuthGithub",
|
|
289
291
|
setup(u) {
|
|
290
|
-
const
|
|
291
|
-
return (
|
|
292
|
-
"prepend-icon": `svg:${
|
|
292
|
+
const t = B(), a = A(() => t.user && t.findIdentity("github")), o = A(() => t.user ? a.value ? "Connected to GitHub" : "Connect GitHub" : "Log in with GitHub");
|
|
293
|
+
return (n, r) => (d(), _(me, {
|
|
294
|
+
"prepend-icon": `svg:${e(Te)}`,
|
|
293
295
|
"base-color": "#2a2a2a",
|
|
294
296
|
rounded: "pill",
|
|
295
297
|
variant: "flat",
|
|
296
298
|
slim: "",
|
|
297
|
-
onClick:
|
|
299
|
+
onClick: r[0] || (r[0] = (l) => e(t).login("github"))
|
|
298
300
|
}, G({
|
|
299
|
-
title:
|
|
300
|
-
v("span", ao, C(
|
|
301
|
+
title: i(() => [
|
|
302
|
+
v("span", ao, C(o.value), 1)
|
|
301
303
|
]),
|
|
302
304
|
_: 2
|
|
303
305
|
}, [
|
|
304
|
-
!t
|
|
306
|
+
!e(t).user && e(t).lastLoginProvider() === "github" ? {
|
|
305
307
|
name: "subtitle",
|
|
306
|
-
fn:
|
|
308
|
+
fn: i(() => [
|
|
307
309
|
ro
|
|
308
310
|
]),
|
|
309
311
|
key: "0"
|
|
310
312
|
} : void 0
|
|
311
313
|
]), 1032, ["prepend-icon"]));
|
|
312
314
|
}
|
|
313
|
-
}), co = { class: "pa-4 d-flex flex-column ga-4" }, uo = /* @__PURE__ */
|
|
315
|
+
}), co = { class: "pa-4 d-flex flex-column ga-4" }, uo = /* @__PURE__ */ V({
|
|
314
316
|
__name: "VoAuthListItem",
|
|
315
317
|
setup(u) {
|
|
316
|
-
const
|
|
317
|
-
W(() =>
|
|
318
|
-
|
|
318
|
+
const t = B(), a = H(), o = U(!t.user && !t.isLoading);
|
|
319
|
+
W(() => t.user, (r) => {
|
|
320
|
+
o.value = !r;
|
|
319
321
|
});
|
|
320
|
-
function
|
|
321
|
-
|
|
322
|
+
function n() {
|
|
323
|
+
t.user && (o.value = !o.value);
|
|
322
324
|
}
|
|
323
|
-
return (
|
|
325
|
+
return (r, l) => {
|
|
324
326
|
const c = lo, h = io;
|
|
325
327
|
return d(), _(T, {
|
|
326
|
-
variant:
|
|
328
|
+
variant: o.value ? "tonal" : "text",
|
|
327
329
|
class: "ma-2",
|
|
328
330
|
rounded: "lg"
|
|
329
331
|
}, {
|
|
330
|
-
default:
|
|
332
|
+
default: i(() => [
|
|
331
333
|
s(oe, { class: "py-0" }, {
|
|
332
|
-
default:
|
|
334
|
+
default: i(() => [
|
|
333
335
|
s(me, {
|
|
334
|
-
link: !!t
|
|
335
|
-
"prepend-icon": `svg:${t
|
|
336
|
-
title: t
|
|
336
|
+
link: !!e(t).user,
|
|
337
|
+
"prepend-icon": `svg:${e(t).user && e(a).syncSettings ? e(st) : e(nt)}`,
|
|
338
|
+
title: e(t).user && e(a).syncSettings ? "Sync is on" : "Sync is paused",
|
|
337
339
|
class: "mb-0",
|
|
338
340
|
rounded: "b-0",
|
|
339
341
|
nav: "",
|
|
340
342
|
slim: "",
|
|
341
|
-
onClick:
|
|
343
|
+
onClick: n
|
|
342
344
|
}, {
|
|
343
|
-
append:
|
|
345
|
+
append: i(() => [
|
|
344
346
|
s(Ce, null, {
|
|
345
|
-
default:
|
|
346
|
-
t
|
|
347
|
+
default: i(() => [
|
|
348
|
+
e(t).user && (o.value || !e(a).syncSettings) ? (d(), _(He, {
|
|
347
349
|
key: 0,
|
|
348
|
-
modelValue:
|
|
349
|
-
"onUpdate:modelValue": l[0] || (l[0] = (p) =>
|
|
350
|
-
color:
|
|
350
|
+
modelValue: e(a).syncSettings,
|
|
351
|
+
"onUpdate:modelValue": l[0] || (l[0] = (p) => e(a).syncSettings = p),
|
|
352
|
+
color: e(a).syncSettings ? "success" : void 0,
|
|
351
353
|
density: "compact",
|
|
352
354
|
"hide-details": "",
|
|
353
355
|
inset: "",
|
|
354
|
-
onClick: l[1] || (l[1] =
|
|
356
|
+
onClick: l[1] || (l[1] = je(() => {
|
|
355
357
|
}, ["stop"]))
|
|
356
358
|
}, {
|
|
357
|
-
thumb:
|
|
359
|
+
thumb: i(() => [
|
|
358
360
|
s(ue, {
|
|
359
|
-
color:
|
|
361
|
+
color: e(a).syncSettings ? "success" : void 0
|
|
360
362
|
}, null, 8, ["color"])
|
|
361
363
|
]),
|
|
362
364
|
_: 1
|
|
363
|
-
}, 8, ["modelValue", "color"])) :
|
|
365
|
+
}, 8, ["modelValue", "color"])) : w("", !0)
|
|
364
366
|
]),
|
|
365
367
|
_: 1
|
|
366
368
|
})
|
|
@@ -368,24 +370,24 @@ const ae = /* @__PURE__ */ b({
|
|
|
368
370
|
_: 1
|
|
369
371
|
}, 8, ["link", "prepend-icon", "title"]),
|
|
370
372
|
s(ie, null, {
|
|
371
|
-
default:
|
|
372
|
-
!t
|
|
373
|
+
default: i(() => [
|
|
374
|
+
!e(t).user && !e(t).isLoading || o.value ? (d(), _(Ht, {
|
|
373
375
|
key: 0,
|
|
374
376
|
border: "t",
|
|
375
377
|
color: "transparent"
|
|
376
378
|
}, {
|
|
377
|
-
default:
|
|
379
|
+
default: i(() => [
|
|
378
380
|
v("div", co, [
|
|
379
381
|
s(c, {
|
|
380
|
-
onClick: l[2] || (l[2] = (p) =>
|
|
382
|
+
onClick: l[2] || (l[2] = (p) => o.value = !1)
|
|
381
383
|
}),
|
|
382
384
|
s(h, {
|
|
383
|
-
onClick: l[3] || (l[3] = (p) =>
|
|
385
|
+
onClick: l[3] || (l[3] = (p) => o.value = !1)
|
|
384
386
|
})
|
|
385
387
|
])
|
|
386
388
|
]),
|
|
387
389
|
_: 1
|
|
388
|
-
})) :
|
|
390
|
+
})) : w("", !0)
|
|
389
391
|
]),
|
|
390
392
|
_: 1
|
|
391
393
|
})
|
|
@@ -397,59 +399,59 @@ const ae = /* @__PURE__ */ b({
|
|
|
397
399
|
}, 8, ["variant"]);
|
|
398
400
|
};
|
|
399
401
|
}
|
|
400
|
-
}), Y = /* @__PURE__ */
|
|
402
|
+
}), Y = /* @__PURE__ */ V({
|
|
401
403
|
__name: "VoListItem",
|
|
402
404
|
setup(u) {
|
|
403
|
-
return (
|
|
404
|
-
default:
|
|
405
|
-
|
|
405
|
+
return (t, a) => (d(), _(me, { slim: "" }, G({
|
|
406
|
+
default: i(() => [
|
|
407
|
+
P(t.$slots, "default")
|
|
406
408
|
]),
|
|
407
409
|
_: 2
|
|
408
410
|
}, [
|
|
409
|
-
|
|
411
|
+
t.$slots.prepend ? {
|
|
410
412
|
name: "prepend",
|
|
411
|
-
fn:
|
|
412
|
-
|
|
413
|
+
fn: i(() => [
|
|
414
|
+
P(t.$slots, "prepend")
|
|
413
415
|
]),
|
|
414
416
|
key: "0"
|
|
415
417
|
} : void 0,
|
|
416
|
-
|
|
418
|
+
t.$slots.title ? {
|
|
417
419
|
name: "title",
|
|
418
|
-
fn:
|
|
419
|
-
|
|
420
|
+
fn: i(() => [
|
|
421
|
+
P(t.$slots, "title")
|
|
420
422
|
]),
|
|
421
423
|
key: "1"
|
|
422
424
|
} : void 0,
|
|
423
|
-
|
|
425
|
+
t.$slots.append ? {
|
|
424
426
|
name: "append",
|
|
425
|
-
fn:
|
|
426
|
-
|
|
427
|
+
fn: i(() => [
|
|
428
|
+
P(t.$slots, "append")
|
|
427
429
|
]),
|
|
428
430
|
key: "2"
|
|
429
431
|
} : void 0
|
|
430
432
|
]), 1024));
|
|
431
433
|
}
|
|
432
|
-
}), po = /* @__PURE__ */
|
|
434
|
+
}), po = /* @__PURE__ */ V({
|
|
433
435
|
__name: "VoAuthLogoutListItem",
|
|
434
436
|
setup(u) {
|
|
435
|
-
const
|
|
436
|
-
async function
|
|
437
|
-
|
|
437
|
+
const t = B(), a = U(!1);
|
|
438
|
+
async function o() {
|
|
439
|
+
a.value = !0, await t.logout(), a.value = !1;
|
|
438
440
|
}
|
|
439
|
-
return (
|
|
441
|
+
return (n, r) => {
|
|
440
442
|
const l = Y;
|
|
441
443
|
return d(), _(l, {
|
|
442
|
-
disabled:
|
|
443
|
-
loading:
|
|
444
|
-
"prepend-icon": `svg:${
|
|
444
|
+
disabled: a.value,
|
|
445
|
+
loading: a.value,
|
|
446
|
+
"prepend-icon": `svg:${e(it)}`,
|
|
445
447
|
class: "mb-0",
|
|
446
448
|
title: "Logout",
|
|
447
449
|
link: "",
|
|
448
|
-
onClick:
|
|
450
|
+
onClick: o
|
|
449
451
|
}, null, 8, ["disabled", "loading", "prepend-icon"]);
|
|
450
452
|
};
|
|
451
453
|
}
|
|
452
|
-
}),
|
|
454
|
+
}), ge = /* @__PURE__ */ V({
|
|
453
455
|
__name: "VoDialog",
|
|
454
456
|
props: /* @__PURE__ */ Xe({
|
|
455
457
|
prependIcon: {},
|
|
@@ -460,81 +462,82 @@ const ae = /* @__PURE__ */ b({
|
|
|
460
462
|
}),
|
|
461
463
|
emits: ["update:modelValue"],
|
|
462
464
|
setup(u) {
|
|
463
|
-
const
|
|
464
|
-
return (
|
|
465
|
-
modelValue:
|
|
466
|
-
"onUpdate:modelValue":
|
|
465
|
+
const t = pe(u, "modelValue"), a = fe();
|
|
466
|
+
return (o, n) => (d(), _(Et, {
|
|
467
|
+
modelValue: t.value,
|
|
468
|
+
"onUpdate:modelValue": n[1] || (n[1] = (r) => t.value = r),
|
|
469
|
+
fullscreen: e(a).xs.value,
|
|
470
|
+
"max-height": e(a).xs.value ? "100%" : 800,
|
|
471
|
+
"max-width": e(a).xs.value ? "100%" : 800,
|
|
467
472
|
activator: "parent",
|
|
468
|
-
height: "100%"
|
|
469
|
-
"max-height": "800",
|
|
470
|
-
"max-width": "800"
|
|
473
|
+
height: "100%"
|
|
471
474
|
}, {
|
|
472
|
-
default:
|
|
475
|
+
default: i(({ isActive: r }) => [
|
|
473
476
|
s(T, {
|
|
474
|
-
"prepend-icon":
|
|
475
|
-
title:
|
|
477
|
+
"prepend-icon": o.prependIcon,
|
|
478
|
+
title: o.title,
|
|
476
479
|
class: "overflow-hidden",
|
|
477
480
|
height: "inherit"
|
|
478
481
|
}, G({
|
|
479
|
-
append:
|
|
480
|
-
|
|
482
|
+
append: i(() => [
|
|
483
|
+
P(o.$slots, "append"),
|
|
481
484
|
s(Q, {
|
|
482
485
|
density: "comfortable",
|
|
483
486
|
icon: "$close",
|
|
484
487
|
size: "small",
|
|
485
488
|
variant: "text",
|
|
486
|
-
onClick:
|
|
489
|
+
onClick: n[0] || (n[0] = (l) => t.value = !t.value)
|
|
487
490
|
})
|
|
488
491
|
]),
|
|
489
|
-
default:
|
|
492
|
+
default: i(() => [
|
|
490
493
|
s(R, { class: "mt-4" }),
|
|
491
|
-
|
|
494
|
+
P(o.$slots, "default")
|
|
492
495
|
]),
|
|
493
496
|
_: 2
|
|
494
497
|
}, [
|
|
495
|
-
|
|
498
|
+
o.$slots.prepend ? {
|
|
496
499
|
name: "prepend",
|
|
497
|
-
fn:
|
|
498
|
-
|
|
500
|
+
fn: i(() => [
|
|
501
|
+
P(o.$slots, "prepend")
|
|
499
502
|
]),
|
|
500
503
|
key: "0"
|
|
501
504
|
} : void 0,
|
|
502
|
-
|
|
505
|
+
o.$slots.actions ? {
|
|
503
506
|
name: "actions",
|
|
504
|
-
fn:
|
|
505
|
-
|
|
507
|
+
fn: i(() => [
|
|
508
|
+
P(o.$slots, "actions", { isActive: r })
|
|
506
509
|
]),
|
|
507
510
|
key: "1"
|
|
508
511
|
} : void 0
|
|
509
512
|
]), 1032, ["prepend-icon", "title"])
|
|
510
513
|
]),
|
|
511
514
|
_: 3
|
|
512
|
-
}, 8, ["modelValue"]));
|
|
515
|
+
}, 8, ["modelValue", "fullscreen", "max-height", "max-width"]));
|
|
513
516
|
}
|
|
514
|
-
}), We = /* @__PURE__ */
|
|
517
|
+
}), We = /* @__PURE__ */ V({
|
|
515
518
|
__name: "VoSwitch",
|
|
516
519
|
props: {
|
|
517
520
|
disabled: { type: Boolean }
|
|
518
521
|
},
|
|
519
522
|
setup(u) {
|
|
520
|
-
return (
|
|
521
|
-
disabled:
|
|
522
|
-
"true-icon": `svg:${
|
|
523
|
+
return (t, a) => (d(), _(He, {
|
|
524
|
+
disabled: t.disabled,
|
|
525
|
+
"true-icon": `svg:${e(ee)}`,
|
|
523
526
|
color: "primary",
|
|
524
527
|
density: "compact",
|
|
525
528
|
inset: ""
|
|
526
529
|
}, G({
|
|
527
|
-
thumb:
|
|
530
|
+
thumb: i(() => [
|
|
528
531
|
s(N, {
|
|
529
|
-
color:
|
|
532
|
+
color: t.disabled ? void 0 : "primary"
|
|
530
533
|
}, null, 8, ["color"])
|
|
531
534
|
]),
|
|
532
535
|
_: 2
|
|
533
536
|
}, [
|
|
534
|
-
|
|
537
|
+
t.$slots.label ? {
|
|
535
538
|
name: "label",
|
|
536
|
-
fn:
|
|
537
|
-
|
|
539
|
+
fn: i(() => [
|
|
540
|
+
P(t.$slots, "label")
|
|
538
541
|
]),
|
|
539
542
|
key: "0"
|
|
540
543
|
} : void 0
|
|
@@ -543,34 +546,34 @@ const ae = /* @__PURE__ */ b({
|
|
|
543
546
|
}), mo = {
|
|
544
547
|
key: 1,
|
|
545
548
|
class: "mb-3 text-caption text-medium-emphasis"
|
|
546
|
-
}, re = /* @__PURE__ */
|
|
549
|
+
}, re = /* @__PURE__ */ V({
|
|
547
550
|
__name: "VoDialogSubheader",
|
|
548
551
|
props: {
|
|
549
552
|
title: {},
|
|
550
553
|
text: {}
|
|
551
554
|
},
|
|
552
555
|
setup(u) {
|
|
553
|
-
return (
|
|
554
|
-
|
|
556
|
+
return (t, a) => (d(), x(F, null, [
|
|
557
|
+
t.title ? (d(), _(xe, {
|
|
555
558
|
key: 0,
|
|
556
559
|
class: "font-weight-black"
|
|
557
560
|
}, {
|
|
558
|
-
default:
|
|
559
|
-
j(C(
|
|
561
|
+
default: i(() => [
|
|
562
|
+
j(C(t.title), 1)
|
|
560
563
|
]),
|
|
561
564
|
_: 1
|
|
562
|
-
})) :
|
|
563
|
-
|
|
565
|
+
})) : w("", !0),
|
|
566
|
+
t.text ? (d(), x("div", mo, C(t.text), 1)) : w("", !0)
|
|
564
567
|
], 64));
|
|
565
568
|
}
|
|
566
|
-
}), fo = { key: 0 }, vo = /* @__PURE__ */
|
|
569
|
+
}), fo = { key: 0 }, vo = /* @__PURE__ */ V({
|
|
567
570
|
__name: "VoSettingsPageSuitOption",
|
|
568
571
|
setup(u) {
|
|
569
|
-
|
|
570
|
-
const
|
|
572
|
+
B();
|
|
573
|
+
const t = H(), a = [
|
|
571
574
|
{
|
|
572
575
|
title: "Blackguard",
|
|
573
|
-
prependIcon: `svg:${
|
|
576
|
+
prependIcon: `svg:${Re}`,
|
|
574
577
|
value: "blackguard"
|
|
575
578
|
}
|
|
576
579
|
// {
|
|
@@ -584,23 +587,23 @@ const ae = /* @__PURE__ */ b({
|
|
|
584
587
|
// value: 'nebula',
|
|
585
588
|
// },
|
|
586
589
|
];
|
|
587
|
-
return (
|
|
588
|
-
const
|
|
589
|
-
return d(),
|
|
590
|
-
s(
|
|
591
|
-
modelValue: t
|
|
592
|
-
"onUpdate:modelValue":
|
|
590
|
+
return (o, n) => {
|
|
591
|
+
const r = We, l = re;
|
|
592
|
+
return d(), x(F, null, [
|
|
593
|
+
s(r, {
|
|
594
|
+
modelValue: e(t).suits.show,
|
|
595
|
+
"onUpdate:modelValue": n[0] || (n[0] = (c) => e(t).suits.show = c),
|
|
593
596
|
class: "mb-2",
|
|
594
597
|
label: "Enable Page suits",
|
|
595
598
|
messages: "Customize layout elements with a unique background, styled after one of our themed releases."
|
|
596
599
|
}, null, 8, ["modelValue"]),
|
|
597
600
|
s(ie, null, {
|
|
598
|
-
default:
|
|
599
|
-
t
|
|
600
|
-
s(
|
|
601
|
-
modelValue: t
|
|
602
|
-
"onUpdate:modelValue":
|
|
603
|
-
items:
|
|
601
|
+
default: i(() => [
|
|
602
|
+
e(t).suits.show ? (d(), x("div", fo, [
|
|
603
|
+
s(Gt, {
|
|
604
|
+
modelValue: e(t).suits.suit,
|
|
605
|
+
"onUpdate:modelValue": n[1] || (n[1] = (c) => e(t).suits.suit = c),
|
|
606
|
+
items: a,
|
|
604
607
|
density: "compact",
|
|
605
608
|
placeholder: "Choose page suit",
|
|
606
609
|
style: { "max-width": "300px" },
|
|
@@ -609,7 +612,7 @@ const ae = /* @__PURE__ */ b({
|
|
|
609
612
|
"item-props": "",
|
|
610
613
|
"single-line": ""
|
|
611
614
|
}, {
|
|
612
|
-
selection:
|
|
615
|
+
selection: i(({ item: c }) => [
|
|
613
616
|
s(N, {
|
|
614
617
|
icon: c.props.prependIcon,
|
|
615
618
|
size: "x-small",
|
|
@@ -620,22 +623,22 @@ const ae = /* @__PURE__ */ b({
|
|
|
620
623
|
_: 1
|
|
621
624
|
}, 8, ["modelValue"]),
|
|
622
625
|
s(l, { text: "Select your suit elements to display the background image:" }),
|
|
623
|
-
s(
|
|
624
|
-
modelValue: t
|
|
625
|
-
"onUpdate:modelValue":
|
|
626
|
+
s(Wt, {
|
|
627
|
+
modelValue: e(t).suits.elements,
|
|
628
|
+
"onUpdate:modelValue": n[2] || (n[2] = (c) => e(t).suits.elements = c),
|
|
626
629
|
color: "primary",
|
|
627
630
|
filter: "",
|
|
628
631
|
multiple: ""
|
|
629
632
|
}, {
|
|
630
|
-
default:
|
|
633
|
+
default: i(() => [
|
|
631
634
|
s(q, {
|
|
632
|
-
"append-icon": `svg:${
|
|
635
|
+
"append-icon": `svg:${e(at)}`,
|
|
633
636
|
"filter-icon": "$success",
|
|
634
637
|
text: "App Bar",
|
|
635
638
|
value: "app-bar",
|
|
636
639
|
variant: "flat"
|
|
637
640
|
}, {
|
|
638
|
-
append:
|
|
641
|
+
append: i(() => [
|
|
639
642
|
s(R, {
|
|
640
643
|
class: "ms-2 border-opacity-50",
|
|
641
644
|
vertical: ""
|
|
@@ -645,13 +648,13 @@ const ae = /* @__PURE__ */ b({
|
|
|
645
648
|
_: 1
|
|
646
649
|
}, 8, ["append-icon"]),
|
|
647
650
|
s(q, {
|
|
648
|
-
"append-icon": `svg:${
|
|
651
|
+
"append-icon": `svg:${e(rt)}`,
|
|
649
652
|
"filter-icon": "$success",
|
|
650
653
|
text: "Navigation Drawer",
|
|
651
654
|
value: "drawer",
|
|
652
655
|
variant: "flat"
|
|
653
656
|
}, {
|
|
654
|
-
append:
|
|
657
|
+
append: i(() => [
|
|
655
658
|
s(R, {
|
|
656
659
|
class: "ms-2 border-opacity-50",
|
|
657
660
|
vertical: ""
|
|
@@ -667,7 +670,7 @@ const ae = /* @__PURE__ */ b({
|
|
|
667
670
|
value: "footer",
|
|
668
671
|
variant: "flat"
|
|
669
672
|
}, {
|
|
670
|
-
append:
|
|
673
|
+
append: i(() => [
|
|
671
674
|
s(R, {
|
|
672
675
|
class: "ms-2 border-opacity-50",
|
|
673
676
|
vertical: ""
|
|
@@ -679,7 +682,7 @@ const ae = /* @__PURE__ */ b({
|
|
|
679
682
|
]),
|
|
680
683
|
_: 1
|
|
681
684
|
}, 8, ["modelValue"])
|
|
682
|
-
])) :
|
|
685
|
+
])) : w("", !0)
|
|
683
686
|
]),
|
|
684
687
|
_: 1
|
|
685
688
|
})
|
|
@@ -804,7 +807,7 @@ function _o() {
|
|
|
804
807
|
};
|
|
805
808
|
}
|
|
806
809
|
const Ge = K("settings", () => {
|
|
807
|
-
const u = "https://cdn.vuetifyjs.com/docs/images/one/",
|
|
810
|
+
const u = "https://cdn.vuetifyjs.com/docs/images/one/", t = B(), a = H(), o = Pt(), n = _o(), r = {
|
|
808
811
|
blackguard: {
|
|
809
812
|
"app-bar": u + "suits/blackguard/blackguard-app-bar.png",
|
|
810
813
|
drawer: u + "suits/blackguard/blackguard-app-drawer.png",
|
|
@@ -821,23 +824,23 @@ const Ge = K("settings", () => {
|
|
|
821
824
|
// footer: '',
|
|
822
825
|
// },
|
|
823
826
|
}, l = A(() => {
|
|
824
|
-
if (!
|
|
827
|
+
if (!a.suits.suit || !a.suits.show || !t.isSubscriber)
|
|
825
828
|
return {};
|
|
826
|
-
const c = a
|
|
827
|
-
for (const p of
|
|
829
|
+
const c = r[a.suits.suit.toLowerCase()], h = {};
|
|
830
|
+
for (const p of a.suits.elements)
|
|
828
831
|
h[p] = c[p];
|
|
829
832
|
return h;
|
|
830
833
|
});
|
|
831
|
-
return
|
|
832
|
-
...
|
|
833
|
-
...
|
|
834
|
-
}, W(() =>
|
|
835
|
-
c === "system" ?
|
|
836
|
-
}), {
|
|
834
|
+
return o.themes.value = {
|
|
835
|
+
...o.themes.value,
|
|
836
|
+
...n
|
|
837
|
+
}, W(() => a.theme, (c) => {
|
|
838
|
+
c === "system" ? o.global.name.value = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : o.global.name.value = c, a.theme = c;
|
|
839
|
+
}, { immediate: !0 }), {
|
|
837
840
|
suit: l,
|
|
838
841
|
CDN_URL: u
|
|
839
842
|
};
|
|
840
|
-
}), ho = /* @__PURE__ */
|
|
843
|
+
}), ho = /* @__PURE__ */ V({
|
|
841
844
|
__name: "VoSettingsDialog",
|
|
842
845
|
props: {
|
|
843
846
|
modelValue: { type: Boolean },
|
|
@@ -845,39 +848,39 @@ const Ge = K("settings", () => {
|
|
|
845
848
|
},
|
|
846
849
|
emits: ["update:modelValue"],
|
|
847
850
|
setup(u) {
|
|
848
|
-
const
|
|
851
|
+
const t = pe(u, "modelValue"), a = B(), o = Ge(), n = H(), r = [
|
|
849
852
|
{
|
|
850
853
|
title: "Light",
|
|
851
854
|
subtitle: "A standard light theme.",
|
|
852
|
-
image:
|
|
855
|
+
image: o.CDN_URL + "themes/light.png",
|
|
853
856
|
prependIcon: `svg:${lt}`,
|
|
854
857
|
value: "light"
|
|
855
858
|
},
|
|
856
859
|
{
|
|
857
860
|
title: "Dark",
|
|
858
861
|
subtitle: "A standard dark theme.",
|
|
859
|
-
image:
|
|
862
|
+
image: o.CDN_URL + "themes/dark.png",
|
|
860
863
|
prependIcon: `svg:${ct}`,
|
|
861
864
|
value: "dark"
|
|
862
865
|
},
|
|
863
866
|
{
|
|
864
867
|
title: "System",
|
|
865
868
|
subtitle: "A theme based on the system preference.",
|
|
866
|
-
image:
|
|
869
|
+
image: o.CDN_URL + "themes/system.png",
|
|
867
870
|
prependIcon: `svg:${ut}`,
|
|
868
871
|
value: "system"
|
|
869
872
|
},
|
|
870
873
|
{
|
|
871
874
|
title: "Blackguard",
|
|
872
875
|
subtitle: "A theme for v3.4 Blackguard.",
|
|
873
|
-
image:
|
|
874
|
-
prependIcon: `svg:${
|
|
876
|
+
image: o.CDN_URL + "themes/blackguard.png",
|
|
877
|
+
prependIcon: `svg:${Re}`,
|
|
875
878
|
value: "blackguard"
|
|
876
879
|
},
|
|
877
880
|
{
|
|
878
881
|
title: "Polaris",
|
|
879
882
|
subtitle: "A theme for v3.5 Polaris.",
|
|
880
|
-
image:
|
|
883
|
+
image: o.CDN_URL + "themes/polaris.png",
|
|
881
884
|
prependIcon: `svg:${dt}`,
|
|
882
885
|
value: "polaris",
|
|
883
886
|
disabled: !0
|
|
@@ -885,7 +888,7 @@ const Ge = K("settings", () => {
|
|
|
885
888
|
{
|
|
886
889
|
title: "Nebula",
|
|
887
890
|
subtitle: "A theme for v3.6 Nebula.",
|
|
888
|
-
image:
|
|
891
|
+
image: o.CDN_URL + "themes/nebula.png",
|
|
889
892
|
prependIcon: `svg:${pt}`,
|
|
890
893
|
value: "nebula",
|
|
891
894
|
disabled: !0
|
|
@@ -893,50 +896,50 @@ const Ge = K("settings", () => {
|
|
|
893
896
|
{
|
|
894
897
|
title: "High Contrast",
|
|
895
898
|
subtitle: "A theme for high contrast.",
|
|
896
|
-
image:
|
|
899
|
+
image: o.CDN_URL + "themes/high-contrast.png",
|
|
897
900
|
prependIcon: `svg:${mt}`,
|
|
898
901
|
value: "highContrast",
|
|
899
902
|
disabled: !0
|
|
900
903
|
}
|
|
901
904
|
];
|
|
902
905
|
return (l, c) => {
|
|
903
|
-
const h = re, p = vo,
|
|
906
|
+
const h = re, p = vo, y = We, L = ge;
|
|
904
907
|
return d(), _(L, {
|
|
905
|
-
modelValue:
|
|
906
|
-
"onUpdate:modelValue": c[5] || (c[5] = (m) =>
|
|
907
|
-
"prepend-icon": `svg:${
|
|
908
|
+
modelValue: t.value,
|
|
909
|
+
"onUpdate:modelValue": c[5] || (c[5] = (m) => t.value = m),
|
|
910
|
+
"prepend-icon": `svg:${e(ft)}`,
|
|
908
911
|
title: "Settings"
|
|
909
912
|
}, {
|
|
910
|
-
default:
|
|
913
|
+
default: i(() => [
|
|
911
914
|
s(Ie, null, {
|
|
912
|
-
default:
|
|
915
|
+
default: i(() => [
|
|
913
916
|
s(Ae, { scrollable: "" }, {
|
|
914
|
-
default:
|
|
917
|
+
default: i(() => [
|
|
915
918
|
s(J, { class: "px-7" }, {
|
|
916
|
-
default:
|
|
919
|
+
default: i(() => [
|
|
917
920
|
s(h, {
|
|
918
921
|
text: "Customize your documentation experience with light and dark themes, as well as a combination of both named.",
|
|
919
922
|
title: "Theme"
|
|
920
923
|
}),
|
|
921
924
|
s(Pe, {
|
|
922
|
-
modelValue:
|
|
923
|
-
"onUpdate:modelValue": c[0] || (c[0] = (m) =>
|
|
925
|
+
modelValue: e(n).theme,
|
|
926
|
+
"onUpdate:modelValue": c[0] || (c[0] = (m) => e(n).theme = m),
|
|
924
927
|
mandatory: ""
|
|
925
928
|
}, {
|
|
926
|
-
default:
|
|
927
|
-
s(
|
|
928
|
-
default:
|
|
929
|
-
(d(),
|
|
930
|
-
key:
|
|
929
|
+
default: i(() => [
|
|
930
|
+
s(_e, { dense: "" }, {
|
|
931
|
+
default: i(() => [
|
|
932
|
+
(d(), x(F, null, te(r, (m, k) => s(ne, {
|
|
933
|
+
key: k,
|
|
931
934
|
cols: "6"
|
|
932
935
|
}, {
|
|
933
|
-
default:
|
|
934
|
-
s(
|
|
936
|
+
default: i(() => [
|
|
937
|
+
s(we, {
|
|
935
938
|
value: m.value
|
|
936
939
|
}, {
|
|
937
|
-
default:
|
|
940
|
+
default: i(({ toggle: D, isSelected: g }) => [
|
|
938
941
|
s(Me, null, {
|
|
939
|
-
default:
|
|
942
|
+
default: i(({ props: $, isHovering: I }) => [
|
|
940
943
|
s(T, ce({
|
|
941
944
|
color: g ? "primary" : "surface-variant",
|
|
942
945
|
disabled: m.disabled,
|
|
@@ -948,9 +951,9 @@ const Ge = K("settings", () => {
|
|
|
948
951
|
height: "76",
|
|
949
952
|
variant: "tonal"
|
|
950
953
|
}, $, { onClick: D }), {
|
|
951
|
-
image:
|
|
954
|
+
image: i(() => [
|
|
952
955
|
s(Le, {
|
|
953
|
-
style:
|
|
956
|
+
style: Fe({
|
|
954
957
|
filter: g || I ? "none" : "grayscale(100%)"
|
|
955
958
|
})
|
|
956
959
|
}, null, 8, ["style"])
|
|
@@ -972,31 +975,31 @@ const Ge = K("settings", () => {
|
|
|
972
975
|
]),
|
|
973
976
|
_: 1
|
|
974
977
|
}, 8, ["modelValue"]),
|
|
975
|
-
|
|
978
|
+
e(a).isSubscriber ? (d(), x(F, { key: 0 }, [
|
|
976
979
|
s(R, { class: "mt-6 mb-4" }),
|
|
977
980
|
s(p)
|
|
978
|
-
], 64)) :
|
|
981
|
+
], 64)) : w("", !0)
|
|
979
982
|
]),
|
|
980
983
|
_: 1
|
|
981
984
|
}),
|
|
982
985
|
s(R),
|
|
983
986
|
s(J, { class: "px-7" }, {
|
|
984
|
-
default:
|
|
987
|
+
default: i(() => [
|
|
985
988
|
s(h, {
|
|
986
989
|
text: "These options change your browsing experience within Vuetify properties",
|
|
987
990
|
title: "Experience"
|
|
988
991
|
}),
|
|
989
|
-
|
|
992
|
+
e(a).isSubscriber ? (d(), _(y, {
|
|
990
993
|
key: 0,
|
|
991
|
-
modelValue:
|
|
992
|
-
"onUpdate:modelValue": c[1] || (c[1] = (m) =>
|
|
994
|
+
modelValue: e(n).disableAds,
|
|
995
|
+
"onUpdate:modelValue": c[1] || (c[1] = (m) => e(n).disableAds = m),
|
|
993
996
|
class: "mb-2",
|
|
994
997
|
label: "Disable Ads",
|
|
995
998
|
messages: "Disable traditional advertisements on all documentation pages."
|
|
996
|
-
}, null, 8, ["modelValue"])) :
|
|
997
|
-
s(
|
|
998
|
-
modelValue:
|
|
999
|
-
"onUpdate:modelValue": c[2] || (c[2] = (m) =>
|
|
999
|
+
}, null, 8, ["modelValue"])) : w("", !0),
|
|
1000
|
+
s(y, {
|
|
1001
|
+
modelValue: e(n).quickbar,
|
|
1002
|
+
"onUpdate:modelValue": c[2] || (c[2] = (m) => e(n).quickbar = m),
|
|
1000
1003
|
label: "Enable Quick Actions",
|
|
1001
1004
|
messages: "Quick actions are located on the Vuetify One user menu and provide quick access to common tasks."
|
|
1002
1005
|
}, null, 8, ["modelValue"])
|
|
@@ -1004,33 +1007,33 @@ const Ge = K("settings", () => {
|
|
|
1004
1007
|
_: 1
|
|
1005
1008
|
}),
|
|
1006
1009
|
s(R),
|
|
1007
|
-
|
|
1010
|
+
e(a).isSubscriber ? (d(), _(J, {
|
|
1008
1011
|
key: 0,
|
|
1009
1012
|
class: "px-7"
|
|
1010
1013
|
}, {
|
|
1011
|
-
default:
|
|
1014
|
+
default: i(() => [
|
|
1012
1015
|
s(h, {
|
|
1013
1016
|
text: "Vuetify will communicate with you through banners and notifications. You can disable these features here or reset your local notification cache.",
|
|
1014
1017
|
title: "Communication"
|
|
1015
1018
|
}),
|
|
1016
|
-
s(
|
|
1017
|
-
modelValue:
|
|
1018
|
-
"onUpdate:modelValue": c[3] || (c[3] = (m) =>
|
|
1019
|
+
s(y, {
|
|
1020
|
+
modelValue: e(n).notifications.show,
|
|
1021
|
+
"onUpdate:modelValue": c[3] || (c[3] = (m) => e(n).notifications.show = m),
|
|
1019
1022
|
class: "mb-2",
|
|
1020
1023
|
label: "Enable Notifications",
|
|
1021
1024
|
messages: "Notifications are short form messages that provide information about new releases, updates, and other important information."
|
|
1022
1025
|
}, null, 8, ["modelValue"]),
|
|
1023
|
-
|
|
1026
|
+
e(n).notifications.show ? (d(), _(y, {
|
|
1024
1027
|
key: 0,
|
|
1025
|
-
modelValue:
|
|
1026
|
-
"onUpdate:modelValue": c[4] || (c[4] = (m) =>
|
|
1028
|
+
modelValue: e(n).notifications.banners,
|
|
1029
|
+
"onUpdate:modelValue": c[4] || (c[4] = (m) => e(n).notifications.banners = m),
|
|
1027
1030
|
class: "mb-2",
|
|
1028
1031
|
label: "Enable Banners",
|
|
1029
1032
|
messages: "Banners are located at the top of the screen and provide a callout for important information."
|
|
1030
|
-
}, null, 8, ["modelValue"])) :
|
|
1033
|
+
}, null, 8, ["modelValue"])) : w("", !0)
|
|
1031
1034
|
]),
|
|
1032
1035
|
_: 1
|
|
1033
|
-
})) :
|
|
1036
|
+
})) : w("", !0)
|
|
1034
1037
|
]),
|
|
1035
1038
|
_: 1
|
|
1036
1039
|
})
|
|
@@ -1042,22 +1045,22 @@ const Ge = K("settings", () => {
|
|
|
1042
1045
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
1043
1046
|
};
|
|
1044
1047
|
}
|
|
1045
|
-
}), go = /* @__PURE__ */
|
|
1048
|
+
}), go = /* @__PURE__ */ V({
|
|
1046
1049
|
__name: "VoSettingsListItem",
|
|
1047
1050
|
setup(u) {
|
|
1048
|
-
const
|
|
1049
|
-
return (
|
|
1050
|
-
const
|
|
1051
|
-
return d(), _(
|
|
1052
|
-
active:
|
|
1053
|
-
"prepend-icon": `svg:${
|
|
1051
|
+
const t = U(!1);
|
|
1052
|
+
return (a, o) => {
|
|
1053
|
+
const n = ho, r = Y;
|
|
1054
|
+
return d(), _(r, {
|
|
1055
|
+
active: t.value,
|
|
1056
|
+
"prepend-icon": `svg:${e(vt)}`,
|
|
1054
1057
|
title: "Settings",
|
|
1055
1058
|
link: ""
|
|
1056
1059
|
}, {
|
|
1057
|
-
default:
|
|
1058
|
-
s(
|
|
1059
|
-
modelValue:
|
|
1060
|
-
"onUpdate:modelValue":
|
|
1060
|
+
default: i(() => [
|
|
1061
|
+
s(n, {
|
|
1062
|
+
modelValue: t.value,
|
|
1063
|
+
"onUpdate:modelValue": o[0] || (o[0] = (l) => t.value = l)
|
|
1061
1064
|
}, null, 8, ["modelValue"])
|
|
1062
1065
|
]),
|
|
1063
1066
|
_: 1
|
|
@@ -1065,13 +1068,13 @@ const Ge = K("settings", () => {
|
|
|
1065
1068
|
};
|
|
1066
1069
|
}
|
|
1067
1070
|
}), X = K("one", () => {
|
|
1068
|
-
const
|
|
1071
|
+
const t = new URLSearchParams(window.location.search).get("session_id"), a = B(), o = he(), n = U(!1), r = Z(!1), l = Z(), c = Z([]), h = A(() => {
|
|
1069
1072
|
var f;
|
|
1070
1073
|
return (f = l.value) == null ? void 0 : f.items[0].plan.interval;
|
|
1071
1074
|
}), p = A(() => {
|
|
1072
1075
|
var f;
|
|
1073
|
-
return (f =
|
|
1074
|
-
}),
|
|
1076
|
+
return (f = a.user) == null ? void 0 : f.sponsorships.find((b) => b.platform === "stripe" && b.tierName.startsWith("sub_"));
|
|
1077
|
+
}), y = A(() => {
|
|
1075
1078
|
var f;
|
|
1076
1079
|
return !!((f = p.value) != null && f.tierName);
|
|
1077
1080
|
}), L = A(() => {
|
|
@@ -1079,125 +1082,125 @@ const Ge = K("settings", () => {
|
|
|
1079
1082
|
return (f = p.value) == null ? void 0 : f.isActive;
|
|
1080
1083
|
}), m = A(() => {
|
|
1081
1084
|
var f;
|
|
1082
|
-
return (f =
|
|
1083
|
-
}),
|
|
1085
|
+
return (f = a.user) == null ? void 0 : f.sponsorships.find((b) => b.platform === "github");
|
|
1086
|
+
}), k = A(() => {
|
|
1084
1087
|
var f;
|
|
1085
|
-
return (f =
|
|
1088
|
+
return (f = a.user) == null ? void 0 : f.sponsorships.find((b) => b.platform === "discord");
|
|
1086
1089
|
}), D = A(() => {
|
|
1087
1090
|
var f;
|
|
1088
|
-
return (f =
|
|
1091
|
+
return (f = a.user) == null ? void 0 : f.sponsorships.find((b) => b.platform === "patreon");
|
|
1089
1092
|
}), g = A(() => {
|
|
1090
1093
|
var f;
|
|
1091
|
-
return (f =
|
|
1094
|
+
return (f = a.user) == null ? void 0 : f.sponsorships.reduce((b, be) => (be.platform !== "stripe" && (b += be.amount), b), 0);
|
|
1092
1095
|
});
|
|
1093
1096
|
Ze(async () => {
|
|
1094
|
-
|
|
1095
|
-
}), W(L, (f,
|
|
1096
|
-
f === !1 &&
|
|
1097
|
+
t && await $();
|
|
1098
|
+
}), W(L, (f, b) => {
|
|
1099
|
+
f === !1 && b !== !0 || M();
|
|
1097
1100
|
});
|
|
1098
1101
|
async function $() {
|
|
1099
1102
|
try {
|
|
1100
|
-
|
|
1101
|
-
const f = await
|
|
1102
|
-
|
|
1103
|
-
const
|
|
1104
|
-
|
|
1103
|
+
n.value = !0;
|
|
1104
|
+
const f = await o.post("/one/activate", { sessionId: t });
|
|
1105
|
+
a.user = f.user;
|
|
1106
|
+
const b = new URL(window.location.href);
|
|
1107
|
+
b.searchParams.delete("session_id"), history.pushState(null, "", b.toString()), z();
|
|
1105
1108
|
} catch {
|
|
1106
1109
|
} finally {
|
|
1107
|
-
|
|
1110
|
+
n.value = !1;
|
|
1108
1111
|
}
|
|
1109
1112
|
}
|
|
1110
1113
|
async function I() {
|
|
1111
|
-
window.open(`${
|
|
1114
|
+
window.open(`${o.url}/one/manage`, "_blank");
|
|
1112
1115
|
}
|
|
1113
|
-
async function
|
|
1114
|
-
|
|
1116
|
+
async function O(f) {
|
|
1117
|
+
n.value = !0, window.location.href = `${o.url}/one/subscribe?interval=${f}`;
|
|
1115
1118
|
}
|
|
1116
|
-
async function
|
|
1119
|
+
async function S() {
|
|
1117
1120
|
var f;
|
|
1118
1121
|
if (p.value)
|
|
1119
1122
|
try {
|
|
1120
|
-
|
|
1121
|
-
const
|
|
1123
|
+
n.value = !0;
|
|
1124
|
+
const b = await o.post(
|
|
1122
1125
|
`/one/cancel?subscriptionId=${(f = p.value) == null ? void 0 : f.tierName}`
|
|
1123
1126
|
);
|
|
1124
|
-
|
|
1127
|
+
a.user = b.user;
|
|
1125
1128
|
} catch {
|
|
1126
1129
|
} finally {
|
|
1127
|
-
|
|
1130
|
+
n.value = !1;
|
|
1128
1131
|
}
|
|
1129
1132
|
}
|
|
1130
|
-
async function
|
|
1133
|
+
async function E(f) {
|
|
1131
1134
|
if (p.value)
|
|
1132
1135
|
try {
|
|
1133
|
-
|
|
1134
|
-
const
|
|
1136
|
+
n.value = !0;
|
|
1137
|
+
const b = await o.post("/one/modify", {
|
|
1135
1138
|
subscriptionId: p.value.tierName,
|
|
1136
1139
|
interval: f
|
|
1137
1140
|
});
|
|
1138
|
-
|
|
1141
|
+
a.user = b.user;
|
|
1139
1142
|
} catch {
|
|
1140
1143
|
} finally {
|
|
1141
|
-
|
|
1144
|
+
n.value = !1;
|
|
1142
1145
|
}
|
|
1143
1146
|
}
|
|
1144
1147
|
async function M() {
|
|
1145
1148
|
var f;
|
|
1146
1149
|
if (p.value)
|
|
1147
1150
|
try {
|
|
1148
|
-
|
|
1149
|
-
const
|
|
1151
|
+
n.value = !0;
|
|
1152
|
+
const b = await o.post(
|
|
1150
1153
|
`/one/verify?subscriptionId=${(f = p.value) == null ? void 0 : f.tierName}`
|
|
1151
1154
|
);
|
|
1152
|
-
|
|
1155
|
+
a.user = b.user;
|
|
1153
1156
|
} catch {
|
|
1154
1157
|
} finally {
|
|
1155
|
-
|
|
1158
|
+
n.value = !1;
|
|
1156
1159
|
}
|
|
1157
1160
|
}
|
|
1158
1161
|
async function z() {
|
|
1159
1162
|
try {
|
|
1160
|
-
|
|
1161
|
-
const f = await
|
|
1163
|
+
n.value = !0;
|
|
1164
|
+
const f = await o.get("/one/info");
|
|
1162
1165
|
return l.value = f.subscription, c.value = f.invoices, f;
|
|
1163
1166
|
} catch {
|
|
1164
1167
|
} finally {
|
|
1165
|
-
|
|
1168
|
+
n.value = !1;
|
|
1166
1169
|
}
|
|
1167
1170
|
}
|
|
1168
1171
|
return {
|
|
1169
1172
|
info: l,
|
|
1170
1173
|
interval: h,
|
|
1171
1174
|
invoices: c,
|
|
1172
|
-
sessionId:
|
|
1175
|
+
sessionId: t,
|
|
1173
1176
|
subscription: p,
|
|
1174
1177
|
monthlyTotal: g,
|
|
1175
|
-
hasBilling:
|
|
1176
|
-
isLoading:
|
|
1177
|
-
isOpen:
|
|
1178
|
+
hasBilling: y,
|
|
1179
|
+
isLoading: n,
|
|
1180
|
+
isOpen: r,
|
|
1178
1181
|
isSubscriber: L,
|
|
1179
1182
|
github: m,
|
|
1180
1183
|
patreon: D,
|
|
1181
|
-
discord:
|
|
1184
|
+
discord: k,
|
|
1182
1185
|
activate: $,
|
|
1183
|
-
cancel:
|
|
1186
|
+
cancel: S,
|
|
1184
1187
|
manage: I,
|
|
1185
|
-
modify:
|
|
1186
|
-
subscribe:
|
|
1188
|
+
modify: E,
|
|
1189
|
+
subscribe: O,
|
|
1187
1190
|
subscriptionInfo: z,
|
|
1188
1191
|
verify: M
|
|
1189
1192
|
};
|
|
1190
|
-
}), bo = { class: "text-caption" }, yo = /* @__PURE__ */
|
|
1193
|
+
}), bo = { class: "text-caption" }, yo = /* @__PURE__ */ V({
|
|
1191
1194
|
__name: "VoSubscriptionInvoices",
|
|
1192
1195
|
setup(u) {
|
|
1193
|
-
const
|
|
1194
|
-
return (
|
|
1195
|
-
const
|
|
1196
|
-
return d(), _(
|
|
1197
|
-
default:
|
|
1196
|
+
const t = ve(), a = X();
|
|
1197
|
+
return (o, n) => {
|
|
1198
|
+
const r = re;
|
|
1199
|
+
return d(), _(_e, null, {
|
|
1200
|
+
default: i(() => [
|
|
1198
1201
|
s(ne, { cols: "12" }, {
|
|
1199
|
-
default:
|
|
1200
|
-
s(
|
|
1202
|
+
default: i(() => [
|
|
1203
|
+
s(r, {
|
|
1201
1204
|
text: "View and download your invoice history.",
|
|
1202
1205
|
title: "Invoice History"
|
|
1203
1206
|
}),
|
|
@@ -1206,19 +1209,19 @@ const Ge = K("settings", () => {
|
|
|
1206
1209
|
rounded: "lg",
|
|
1207
1210
|
border: ""
|
|
1208
1211
|
}, {
|
|
1209
|
-
default:
|
|
1212
|
+
default: i(() => [
|
|
1210
1213
|
s(qt, {
|
|
1211
|
-
items:
|
|
1212
|
-
loading:
|
|
1214
|
+
items: e(a).invoices,
|
|
1215
|
+
loading: e(a).isLoading,
|
|
1213
1216
|
sticky: ""
|
|
1214
1217
|
}, {
|
|
1215
|
-
"item.date":
|
|
1216
|
-
v("div", bo, C(t
|
|
1218
|
+
"item.date": i(({ item: l }) => [
|
|
1219
|
+
v("div", bo, C(e(t).format(new Date(l.date * 1e3), "fullDateWithWeekday")), 1)
|
|
1217
1220
|
]),
|
|
1218
|
-
"item.amount":
|
|
1221
|
+
"item.amount": i(({ item: l }) => [
|
|
1219
1222
|
j(" $" + C(l.amount / 100), 1)
|
|
1220
1223
|
]),
|
|
1221
|
-
"item.status":
|
|
1224
|
+
"item.status": i(({ item: l }) => [
|
|
1222
1225
|
s(q, {
|
|
1223
1226
|
text: l.status,
|
|
1224
1227
|
border: "success sm",
|
|
@@ -1229,10 +1232,10 @@ const Ge = K("settings", () => {
|
|
|
1229
1232
|
label: ""
|
|
1230
1233
|
}, null, 8, ["text"])
|
|
1231
1234
|
]),
|
|
1232
|
-
"item.pdf":
|
|
1235
|
+
"item.pdf": i(({ item: l }) => [
|
|
1233
1236
|
s(Q, {
|
|
1234
1237
|
href: l.pdf,
|
|
1235
|
-
icon: `svg:${
|
|
1238
|
+
icon: `svg:${e(_t)}`,
|
|
1236
1239
|
size: "small",
|
|
1237
1240
|
target: "_blank",
|
|
1238
1241
|
variant: "text"
|
|
@@ -1254,26 +1257,26 @@ const Ge = K("settings", () => {
|
|
|
1254
1257
|
}), Vo = { class: "d-flex align-center" }, ko = {
|
|
1255
1258
|
key: "status",
|
|
1256
1259
|
class: "text-capitalize hidden-sm-and-down"
|
|
1257
|
-
}, $o = /* @__PURE__ */ v("span", { class: "mx-1 hidden-sm-and-down" }, "—", -1), xo = { class: "me-1" }, wo = { class: "text-medium-emphasis text-caption" }, So = { class: "d-flex align-start justify-space-between text-caption py-2" }, Co = { class: "font-weight-bold" }, Lo = { class: "font-weight-bold" }, Io = /* @__PURE__ */
|
|
1260
|
+
}, $o = /* @__PURE__ */ v("span", { class: "mx-1 hidden-sm-and-down" }, "—", -1), xo = { class: "me-1" }, wo = { class: "text-medium-emphasis text-caption" }, So = { class: "d-flex align-start justify-space-between text-caption py-2" }, Co = { class: "font-weight-bold" }, Lo = { class: "font-weight-bold" }, Io = /* @__PURE__ */ V({
|
|
1258
1261
|
__name: "VoSubscriptionStatus",
|
|
1259
1262
|
emits: ["change:subscription"],
|
|
1260
|
-
setup(u, { emit:
|
|
1261
|
-
const
|
|
1262
|
-
if (!
|
|
1263
|
+
setup(u, { emit: t }) {
|
|
1264
|
+
const a = ve(), o = X(), n = t, r = A(() => {
|
|
1265
|
+
if (!o.info)
|
|
1263
1266
|
return;
|
|
1264
|
-
const c = new Date(
|
|
1265
|
-
return
|
|
1267
|
+
const c = new Date(o.info.currentPeriodEnd * 1e3);
|
|
1268
|
+
return a.format(c, "keyboardDate");
|
|
1266
1269
|
});
|
|
1267
1270
|
async function l() {
|
|
1268
|
-
|
|
1271
|
+
o.interval && (o.isLoading = !0, o.subscribe(o.interval));
|
|
1269
1272
|
}
|
|
1270
1273
|
return (c, h) => {
|
|
1271
1274
|
const p = ae;
|
|
1272
|
-
return d(), _(
|
|
1273
|
-
default:
|
|
1275
|
+
return d(), _(_e, null, {
|
|
1276
|
+
default: i(() => [
|
|
1274
1277
|
s(ne, { cols: "12" }, {
|
|
1275
|
-
default:
|
|
1276
|
-
var
|
|
1278
|
+
default: i(() => {
|
|
1279
|
+
var y, L;
|
|
1277
1280
|
return [
|
|
1278
1281
|
s(T, {
|
|
1279
1282
|
"prepend-icon": "$vuetify",
|
|
@@ -1282,62 +1285,62 @@ const Ge = K("settings", () => {
|
|
|
1282
1285
|
border: "",
|
|
1283
1286
|
flat: ""
|
|
1284
1287
|
}, G({
|
|
1285
|
-
append:
|
|
1288
|
+
append: i(() => {
|
|
1286
1289
|
var m;
|
|
1287
1290
|
return [
|
|
1288
|
-
|
|
1291
|
+
e(o).hasBilling && ((m = e(o).info) == null ? void 0 : m.status) === "canceled" ? (d(), _(p, {
|
|
1289
1292
|
key: 0,
|
|
1290
|
-
loading:
|
|
1293
|
+
loading: e(o).isLoading,
|
|
1291
1294
|
class: "me-2",
|
|
1292
1295
|
color: "success",
|
|
1293
1296
|
"prepend-icon": "$success",
|
|
1294
1297
|
text: "Activate",
|
|
1295
1298
|
variant: "outlined",
|
|
1296
1299
|
onClick: l
|
|
1297
|
-
}, null, 8, ["loading"])) :
|
|
1298
|
-
|
|
1300
|
+
}, null, 8, ["loading"])) : w("", !0),
|
|
1301
|
+
e(o).hasBilling ? (d(), _(p, {
|
|
1299
1302
|
key: 1,
|
|
1300
|
-
loading:
|
|
1301
|
-
"prepend-icon": `svg:${
|
|
1303
|
+
loading: e(o).isLoading,
|
|
1304
|
+
"prepend-icon": `svg:${e(ht)}`,
|
|
1302
1305
|
text: "Billing",
|
|
1303
|
-
onClick:
|
|
1304
|
-
}, null, 8, ["loading", "prepend-icon", "onClick"])) :
|
|
1306
|
+
onClick: e(o).manage
|
|
1307
|
+
}, null, 8, ["loading", "prepend-icon", "onClick"])) : w("", !0)
|
|
1305
1308
|
];
|
|
1306
1309
|
}),
|
|
1307
1310
|
_: 2
|
|
1308
1311
|
}, [
|
|
1309
|
-
|
|
1312
|
+
e(o).info ? {
|
|
1310
1313
|
name: "subtitle",
|
|
1311
|
-
fn:
|
|
1314
|
+
fn: i(() => [
|
|
1312
1315
|
v("div", Vo, [
|
|
1313
|
-
v("span", ko, C(
|
|
1314
|
-
|
|
1316
|
+
v("span", ko, C(e(o).info.status), 1),
|
|
1317
|
+
e(o).info.items.length ? (d(), x(F, { key: 0 }, [
|
|
1315
1318
|
$o,
|
|
1316
1319
|
v("span", xo, [
|
|
1317
|
-
j(" $" + C(
|
|
1318
|
-
v("span", wo, "/" + C(
|
|
1320
|
+
j(" $" + C(e(o).info.items[0].plan.amount / 100), 1),
|
|
1321
|
+
v("span", wo, "/" + C(e(o).interval), 1)
|
|
1319
1322
|
]),
|
|
1320
1323
|
s(p, {
|
|
1321
1324
|
size: "x-small",
|
|
1322
1325
|
text: "(Change Subscription)",
|
|
1323
1326
|
variant: "text",
|
|
1324
|
-
onClick: h[0] || (h[0] = (m) =>
|
|
1327
|
+
onClick: h[0] || (h[0] = (m) => n("change:subscription"))
|
|
1325
1328
|
})
|
|
1326
|
-
], 64)) :
|
|
1329
|
+
], 64)) : w("", !0)
|
|
1327
1330
|
])
|
|
1328
1331
|
]),
|
|
1329
1332
|
key: "0"
|
|
1330
1333
|
} : {
|
|
1331
1334
|
name: "subtitle",
|
|
1332
|
-
fn:
|
|
1335
|
+
fn: i(() => [
|
|
1333
1336
|
v("div", { class: "d-flex align-center" }, [
|
|
1334
|
-
s(
|
|
1337
|
+
s(Ue, {
|
|
1335
1338
|
height: "16",
|
|
1336
1339
|
type: "ossein",
|
|
1337
1340
|
width: "40"
|
|
1338
1341
|
}),
|
|
1339
1342
|
v("span", { class: "mx-1" }, "—"),
|
|
1340
|
-
s(
|
|
1343
|
+
s(Ue, {
|
|
1341
1344
|
height: "16",
|
|
1342
1345
|
type: "ossein",
|
|
1343
1346
|
width: "80"
|
|
@@ -1349,13 +1352,13 @@ const Ge = K("settings", () => {
|
|
|
1349
1352
|
]), 1024),
|
|
1350
1353
|
v("div", So, [
|
|
1351
1354
|
v("div", null, [
|
|
1352
|
-
((
|
|
1355
|
+
((y = e(o).info) == null ? void 0 : y.status) === "active" ? (d(), x(F, { key: 0 }, [
|
|
1353
1356
|
j(" Your plan renews on "),
|
|
1354
|
-
v("span", Co, C(
|
|
1357
|
+
v("span", Co, C(e(a).format(r.value, "fullDateWithWeekday")), 1),
|
|
1355
1358
|
j(". ")
|
|
1356
|
-
], 64)) : (d(),
|
|
1359
|
+
], 64)) : (d(), x(F, { key: 1 }, [
|
|
1357
1360
|
j(" Your plan ends on "),
|
|
1358
|
-
v("span", Lo, C(
|
|
1361
|
+
v("span", Lo, C(e(a).format((L = e(o).info) == null ? void 0 : L.currentPeriodEnd, "fullDateWithWeekday")), 1),
|
|
1359
1362
|
j(". ")
|
|
1360
1363
|
], 64))
|
|
1361
1364
|
])
|
|
@@ -1369,27 +1372,27 @@ const Ge = K("settings", () => {
|
|
|
1369
1372
|
});
|
|
1370
1373
|
};
|
|
1371
1374
|
}
|
|
1372
|
-
}), Ao = /* @__PURE__ */ v("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The Vuetify One subscription comes with the following perks: ", -1), Do = ["innerHTML"], Uo = /* @__PURE__ */ v("br", null, null, -1), Fo = /* @__PURE__ */ v("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The following features are in development and coming soon: ", -1), jo = ["innerHTML"], No = /* @__PURE__ */
|
|
1375
|
+
}), Ao = /* @__PURE__ */ v("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The Vuetify One subscription comes with the following perks: ", -1), Do = ["innerHTML"], Uo = /* @__PURE__ */ v("br", null, null, -1), Fo = /* @__PURE__ */ v("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The following features are in development and coming soon: ", -1), jo = ["innerHTML"], No = /* @__PURE__ */ V({
|
|
1373
1376
|
__name: "VoSubscriptionPerks",
|
|
1374
1377
|
setup(u) {
|
|
1375
|
-
const
|
|
1378
|
+
const t = [
|
|
1376
1379
|
"Ad Free Experience on all Vuetify properties",
|
|
1377
1380
|
'Save and share code snippets with <a href="https://vbin.io/" target="_blank">VBin</a>',
|
|
1378
1381
|
'Pinned Navigation Items and Rail drawer in <a href="https://vuetifyjs.com/" target="_blank">Documentation</a>',
|
|
1379
1382
|
"Customize Navigation components with Page Suits",
|
|
1380
1383
|
"Custom Vuetify One menu avatar"
|
|
1381
|
-
],
|
|
1384
|
+
], a = [
|
|
1382
1385
|
'Special role in the <a href="https://discord.vuetifyjs.com/" target="_blank">Vuetify Discord</a>',
|
|
1383
1386
|
'Save and share your playgrounds with <a href="https://play.vuetifyjs.com" target="_blank">Vuetify Play</a>',
|
|
1384
1387
|
"Receive a special label on GitHub created issues and pull requests"
|
|
1385
|
-
],
|
|
1386
|
-
return W(
|
|
1387
|
-
|
|
1388
|
-
}), (
|
|
1388
|
+
], o = U(!1), n = X();
|
|
1389
|
+
return W(o, async (r) => {
|
|
1390
|
+
r && n.subscriptionInfo();
|
|
1391
|
+
}), (r, l) => {
|
|
1389
1392
|
const c = Y;
|
|
1390
|
-
return d(),
|
|
1391
|
-
s(
|
|
1392
|
-
default:
|
|
1393
|
+
return d(), x(F, null, [
|
|
1394
|
+
s(xe, { class: "font-weight-black" }, {
|
|
1395
|
+
default: i(() => [
|
|
1393
1396
|
j("Perks")
|
|
1394
1397
|
]),
|
|
1395
1398
|
_: 1
|
|
@@ -1401,20 +1404,20 @@ const Ge = K("settings", () => {
|
|
|
1401
1404
|
density: "compact",
|
|
1402
1405
|
nav: ""
|
|
1403
1406
|
}, {
|
|
1404
|
-
default:
|
|
1405
|
-
(d(),
|
|
1407
|
+
default: i(() => [
|
|
1408
|
+
(d(), x(F, null, te(t, (h, p) => s(c, {
|
|
1406
1409
|
key: p,
|
|
1407
|
-
"prepend-icon": `svg:${
|
|
1410
|
+
"prepend-icon": `svg:${e(ee)}`,
|
|
1408
1411
|
class: "mb-0"
|
|
1409
1412
|
}, {
|
|
1410
|
-
prepend:
|
|
1413
|
+
prepend: i(() => [
|
|
1411
1414
|
s(N, {
|
|
1412
1415
|
class: "mx-n2",
|
|
1413
1416
|
color: "success",
|
|
1414
1417
|
size: "small"
|
|
1415
1418
|
})
|
|
1416
1419
|
]),
|
|
1417
|
-
title:
|
|
1420
|
+
title: i(() => [
|
|
1418
1421
|
v("div", { innerHTML: h }, null, 8, Do)
|
|
1419
1422
|
]),
|
|
1420
1423
|
_: 2
|
|
@@ -1423,8 +1426,8 @@ const Ge = K("settings", () => {
|
|
|
1423
1426
|
_: 1
|
|
1424
1427
|
}),
|
|
1425
1428
|
Uo,
|
|
1426
|
-
s(
|
|
1427
|
-
default:
|
|
1429
|
+
s(xe, { class: "font-weight-black" }, {
|
|
1430
|
+
default: i(() => [
|
|
1428
1431
|
j("Up Next")
|
|
1429
1432
|
]),
|
|
1430
1433
|
_: 1
|
|
@@ -1436,19 +1439,19 @@ const Ge = K("settings", () => {
|
|
|
1436
1439
|
density: "compact",
|
|
1437
1440
|
nav: ""
|
|
1438
1441
|
}, {
|
|
1439
|
-
default:
|
|
1440
|
-
(d(),
|
|
1442
|
+
default: i(() => [
|
|
1443
|
+
(d(), x(F, null, te(a, (h, p) => s(c, {
|
|
1441
1444
|
key: p,
|
|
1442
|
-
"prepend-icon": `svg:${
|
|
1445
|
+
"prepend-icon": `svg:${e(gt)}`,
|
|
1443
1446
|
class: "mb-0"
|
|
1444
1447
|
}, {
|
|
1445
|
-
prepend:
|
|
1448
|
+
prepend: i(() => [
|
|
1446
1449
|
s(N, {
|
|
1447
1450
|
class: "mx-n2",
|
|
1448
1451
|
size: "small"
|
|
1449
1452
|
})
|
|
1450
1453
|
]),
|
|
1451
|
-
title:
|
|
1454
|
+
title: i(() => [
|
|
1452
1455
|
v("div", { innerHTML: h }, null, 8, jo)
|
|
1453
1456
|
]),
|
|
1454
1457
|
_: 2
|
|
@@ -1459,7 +1462,7 @@ const Ge = K("settings", () => {
|
|
|
1459
1462
|
], 64);
|
|
1460
1463
|
};
|
|
1461
1464
|
}
|
|
1462
|
-
}), Oo = /* @__PURE__ */
|
|
1465
|
+
}), Oo = /* @__PURE__ */ V({
|
|
1463
1466
|
__name: "VoSubscriptionSubscribe",
|
|
1464
1467
|
props: {
|
|
1465
1468
|
modelValue: {
|
|
@@ -1469,36 +1472,36 @@ const Ge = K("settings", () => {
|
|
|
1469
1472
|
},
|
|
1470
1473
|
emits: ["update:modelValue"],
|
|
1471
1474
|
setup(u) {
|
|
1472
|
-
const
|
|
1473
|
-
return W(
|
|
1474
|
-
|
|
1475
|
-
}), W(() =>
|
|
1476
|
-
|
|
1477
|
-
}, { immediate: !0 }), (
|
|
1478
|
-
modelValue:
|
|
1479
|
-
"onUpdate:modelValue":
|
|
1475
|
+
const t = U(!1), a = pe(u, "modelValue"), o = X();
|
|
1476
|
+
return W(t, async (n) => {
|
|
1477
|
+
n && o.subscriptionInfo();
|
|
1478
|
+
}), W(() => o.interval, (n) => {
|
|
1479
|
+
a.value = n;
|
|
1480
|
+
}, { immediate: !0 }), (n, r) => (d(), _(Pe, {
|
|
1481
|
+
modelValue: a.value,
|
|
1482
|
+
"onUpdate:modelValue": r[0] || (r[0] = (l) => a.value = l)
|
|
1480
1483
|
}, {
|
|
1481
|
-
default:
|
|
1482
|
-
s(
|
|
1483
|
-
default:
|
|
1484
|
+
default: i(() => [
|
|
1485
|
+
s(_e, null, {
|
|
1486
|
+
default: i(() => [
|
|
1484
1487
|
s(ne, {
|
|
1485
1488
|
cols: "12",
|
|
1486
1489
|
md: "6"
|
|
1487
1490
|
}, {
|
|
1488
|
-
default:
|
|
1489
|
-
s(
|
|
1490
|
-
default:
|
|
1491
|
+
default: i(() => [
|
|
1492
|
+
s(we, { value: "month" }, {
|
|
1493
|
+
default: i(({ toggle: l, isSelected: c }) => [
|
|
1491
1494
|
s(T, {
|
|
1492
1495
|
border: c ? "sm primary opacity-100" : "sm",
|
|
1493
1496
|
color: c ? "primary" : void 0,
|
|
1494
|
-
"prepend-icon": c ? `svg:${
|
|
1497
|
+
"prepend-icon": c ? `svg:${e(se)}` : "$radioOff",
|
|
1495
1498
|
variant: c ? "tonal" : "text",
|
|
1496
1499
|
rounded: "lg",
|
|
1497
1500
|
subtitle: "$2.99/month",
|
|
1498
1501
|
title: "Monthly",
|
|
1499
1502
|
onClick: l
|
|
1500
1503
|
}, {
|
|
1501
|
-
prepend:
|
|
1504
|
+
prepend: i(() => [
|
|
1502
1505
|
s(N, { class: "mt-n6" })
|
|
1503
1506
|
]),
|
|
1504
1507
|
_: 2
|
|
@@ -1513,23 +1516,23 @@ const Ge = K("settings", () => {
|
|
|
1513
1516
|
cols: "12",
|
|
1514
1517
|
md: "6"
|
|
1515
1518
|
}, {
|
|
1516
|
-
default:
|
|
1517
|
-
s(
|
|
1518
|
-
default:
|
|
1519
|
+
default: i(() => [
|
|
1520
|
+
s(we, { value: "year" }, {
|
|
1521
|
+
default: i(({ toggle: l, isSelected: c }) => [
|
|
1519
1522
|
s(T, {
|
|
1520
1523
|
border: c ? "sm primary opacity-100" : "sm",
|
|
1521
1524
|
color: c ? "primary" : void 0,
|
|
1522
|
-
"prepend-icon": c ? `svg:${
|
|
1525
|
+
"prepend-icon": c ? `svg:${e(se)}` : "$radioOff",
|
|
1523
1526
|
variant: c ? "tonal" : "text",
|
|
1524
1527
|
rounded: "lg",
|
|
1525
1528
|
subtitle: "$29.99/year",
|
|
1526
1529
|
title: "Yearly",
|
|
1527
1530
|
onClick: l
|
|
1528
1531
|
}, {
|
|
1529
|
-
prepend:
|
|
1532
|
+
prepend: i(() => [
|
|
1530
1533
|
s(N, { class: "mt-n6" })
|
|
1531
1534
|
]),
|
|
1532
|
-
append:
|
|
1535
|
+
append: i(() => [
|
|
1533
1536
|
s(q, {
|
|
1534
1537
|
class: "mt-n6",
|
|
1535
1538
|
color: "success",
|
|
@@ -1553,7 +1556,7 @@ const Ge = K("settings", () => {
|
|
|
1553
1556
|
_: 1
|
|
1554
1557
|
}, 8, ["modelValue"]));
|
|
1555
1558
|
}
|
|
1556
|
-
}), Bo = { class: "px-3 h-screen" }, zo = /* @__PURE__ */ v("br", null, null, -1), To = { class: "flex-grow-1 px-4 pb-3 overflow-hidden" }, Ro = /* @__PURE__ */
|
|
1559
|
+
}), Bo = { class: "px-3 h-screen" }, zo = /* @__PURE__ */ v("br", null, null, -1), To = { class: "flex-grow-1 px-4 pb-3 overflow-hidden" }, Ro = /* @__PURE__ */ V({
|
|
1557
1560
|
__name: "VoSubscriptionDialog",
|
|
1558
1561
|
props: {
|
|
1559
1562
|
modelValue: { type: Boolean },
|
|
@@ -1561,43 +1564,43 @@ const Ge = K("settings", () => {
|
|
|
1561
1564
|
},
|
|
1562
1565
|
emits: ["update:modelValue"],
|
|
1563
1566
|
setup(u) {
|
|
1564
|
-
function
|
|
1567
|
+
function t(h) {
|
|
1565
1568
|
return new Promise((p) => setTimeout(p, h));
|
|
1566
1569
|
}
|
|
1567
|
-
const
|
|
1568
|
-
W(
|
|
1569
|
-
!
|
|
1570
|
-
}), W(
|
|
1571
|
-
!h || !
|
|
1572
|
-
}),
|
|
1573
|
-
|
|
1570
|
+
const a = pe(u, "modelValue"), o = X(), n = U(o.interval), r = U(o.hasBilling ? "status" : "subscribe"), l = U(!1);
|
|
1571
|
+
W(n, (h) => {
|
|
1572
|
+
!o.isSubscriber || !o.interval || (l.value = h !== o.interval);
|
|
1573
|
+
}), W(a, async (h) => {
|
|
1574
|
+
!h || !o.isSubscriber || o.subscriptionInfo();
|
|
1575
|
+
}), Ne(() => {
|
|
1576
|
+
o.sessionId && (r.value = "status", a.value = !0);
|
|
1574
1577
|
});
|
|
1575
1578
|
async function c() {
|
|
1576
|
-
await
|
|
1579
|
+
await o.modify(n.value), await o.subscriptionInfo(), l.value = null, await t(3e3), r.value = "status", await t(300), l.value = !1;
|
|
1577
1580
|
}
|
|
1578
1581
|
return (h, p) => {
|
|
1579
|
-
const
|
|
1582
|
+
const y = re, L = Oo, m = No, k = Io, D = yo, g = ae, $ = ge;
|
|
1580
1583
|
return d(), _($, {
|
|
1581
|
-
modelValue:
|
|
1582
|
-
"onUpdate:modelValue": p[4] || (p[4] = (I) =>
|
|
1583
|
-
"prepend-icon": `svg:${
|
|
1584
|
+
modelValue: a.value,
|
|
1585
|
+
"onUpdate:modelValue": p[4] || (p[4] = (I) => a.value = I),
|
|
1586
|
+
"prepend-icon": `svg:${e(bt)}`,
|
|
1584
1587
|
title: "Subscriptions"
|
|
1585
1588
|
}, G({
|
|
1586
|
-
default:
|
|
1589
|
+
default: i(() => [
|
|
1587
1590
|
v("div", Bo, [
|
|
1588
1591
|
s(J, null, {
|
|
1589
|
-
default:
|
|
1590
|
-
s(
|
|
1592
|
+
default: i(() => [
|
|
1593
|
+
s(y, {
|
|
1591
1594
|
text: "The Vuetify One subscription is a great way to support the Vuetify team and get access to exclusive features and content.",
|
|
1592
1595
|
title: "Vuetify One"
|
|
1593
1596
|
}),
|
|
1594
|
-
s(Ee, { "model-value":
|
|
1595
|
-
default:
|
|
1597
|
+
s(Ee, { "model-value": r.value }, {
|
|
1598
|
+
default: i(() => [
|
|
1596
1599
|
s(de, { value: "subscribe" }, {
|
|
1597
|
-
default:
|
|
1600
|
+
default: i(() => [
|
|
1598
1601
|
s(L, {
|
|
1599
|
-
modelValue:
|
|
1600
|
-
"onUpdate:modelValue": p[0] || (p[0] = (I) =>
|
|
1602
|
+
modelValue: n.value,
|
|
1603
|
+
"onUpdate:modelValue": p[0] || (p[0] = (I) => n.value = I)
|
|
1601
1604
|
}, null, 8, ["modelValue"]),
|
|
1602
1605
|
zo,
|
|
1603
1606
|
s(m)
|
|
@@ -1605,9 +1608,9 @@ const Ge = K("settings", () => {
|
|
|
1605
1608
|
_: 1
|
|
1606
1609
|
}),
|
|
1607
1610
|
s(de, { value: "status" }, {
|
|
1608
|
-
default:
|
|
1609
|
-
s(
|
|
1610
|
-
"onChange:subscription": p[1] || (p[1] = (I) =>
|
|
1611
|
+
default: i(() => [
|
|
1612
|
+
s(k, {
|
|
1613
|
+
"onChange:subscription": p[1] || (p[1] = (I) => r.value = "subscribe")
|
|
1611
1614
|
}),
|
|
1612
1615
|
s(D)
|
|
1613
1616
|
]),
|
|
@@ -1623,37 +1626,37 @@ const Ge = K("settings", () => {
|
|
|
1623
1626
|
]),
|
|
1624
1627
|
_: 2
|
|
1625
1628
|
}, [
|
|
1626
|
-
|
|
1629
|
+
r.value === "subscribe" ? {
|
|
1627
1630
|
name: "actions",
|
|
1628
|
-
fn:
|
|
1631
|
+
fn: i(() => [
|
|
1629
1632
|
v("div", To, [
|
|
1630
1633
|
l.value !== !1 ? (d(), _(g, {
|
|
1631
1634
|
key: 0,
|
|
1632
|
-
loading:
|
|
1633
|
-
"prepend-icon": `svg:${l.value !== null ?
|
|
1635
|
+
loading: e(o).isLoading,
|
|
1636
|
+
"prepend-icon": `svg:${l.value !== null ? e(yt) : e(se)}`,
|
|
1634
1637
|
readonly: l.value === null,
|
|
1635
1638
|
text: l.value !== null ? "Modify Subscription" : "Success",
|
|
1636
1639
|
color: "success",
|
|
1637
1640
|
size: "default",
|
|
1638
1641
|
block: "",
|
|
1639
1642
|
onClick: c
|
|
1640
|
-
}, null, 8, ["loading", "prepend-icon", "readonly", "text"])) :
|
|
1643
|
+
}, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : e(o).isSubscriber ? (d(), _(g, {
|
|
1641
1644
|
key: 2,
|
|
1642
|
-
"prepend-icon": `svg:${
|
|
1645
|
+
"prepend-icon": `svg:${e(Vt)}`,
|
|
1643
1646
|
size: "default",
|
|
1644
1647
|
text: "Manage Subscription",
|
|
1645
1648
|
block: "",
|
|
1646
|
-
onClick: p[3] || (p[3] = (I) =>
|
|
1649
|
+
onClick: p[3] || (p[3] = (I) => r.value = "status")
|
|
1647
1650
|
}, null, 8, ["prepend-icon"])) : (d(), _(g, {
|
|
1648
1651
|
key: 1,
|
|
1649
|
-
color:
|
|
1650
|
-
disabled: !
|
|
1651
|
-
loading:
|
|
1652
|
+
color: n.value ? "primary" : "disabled",
|
|
1653
|
+
disabled: !n.value,
|
|
1654
|
+
loading: e(o).isLoading,
|
|
1652
1655
|
"prepend-icon": "$vuetify",
|
|
1653
1656
|
size: "default",
|
|
1654
1657
|
text: "Activate Subscription",
|
|
1655
1658
|
block: "",
|
|
1656
|
-
onClick: p[2] || (p[2] = (I) =>
|
|
1659
|
+
onClick: p[2] || (p[2] = (I) => e(o).subscribe(n.value))
|
|
1657
1660
|
}, null, 8, ["color", "disabled", "loading"]))
|
|
1658
1661
|
])
|
|
1659
1662
|
]),
|
|
@@ -1662,22 +1665,22 @@ const Ge = K("settings", () => {
|
|
|
1662
1665
|
]), 1032, ["modelValue", "prepend-icon"]);
|
|
1663
1666
|
};
|
|
1664
1667
|
}
|
|
1665
|
-
}), Ho = /* @__PURE__ */
|
|
1668
|
+
}), Ho = /* @__PURE__ */ V({
|
|
1666
1669
|
__name: "VoSubscriptionListItem",
|
|
1667
1670
|
setup(u) {
|
|
1668
|
-
const
|
|
1669
|
-
return (
|
|
1670
|
-
const
|
|
1671
|
-
return d(), _(
|
|
1672
|
-
active:
|
|
1673
|
-
"prepend-icon": `svg:${
|
|
1671
|
+
const t = U(!1);
|
|
1672
|
+
return (a, o) => {
|
|
1673
|
+
const n = Ro, r = Y;
|
|
1674
|
+
return d(), _(r, {
|
|
1675
|
+
active: t.value,
|
|
1676
|
+
"prepend-icon": `svg:${e(kt)}`,
|
|
1674
1677
|
title: "Subscriptions",
|
|
1675
1678
|
link: ""
|
|
1676
1679
|
}, {
|
|
1677
|
-
default:
|
|
1678
|
-
s(
|
|
1679
|
-
modelValue:
|
|
1680
|
-
"onUpdate:modelValue":
|
|
1680
|
+
default: i(() => [
|
|
1681
|
+
s(n, {
|
|
1682
|
+
modelValue: t.value,
|
|
1683
|
+
"onUpdate:modelValue": o[0] || (o[0] = (l) => t.value = l)
|
|
1681
1684
|
}, null, 8, ["modelValue"])
|
|
1682
1685
|
]),
|
|
1683
1686
|
_: 1
|
|
@@ -1688,29 +1691,29 @@ const Ge = K("settings", () => {
|
|
|
1688
1691
|
/* @__PURE__ */ j(" A total of $2.99 or more unlocks "),
|
|
1689
1692
|
/* @__PURE__ */ v("span", { class: "font-weight-black" }, "all"),
|
|
1690
1693
|
/* @__PURE__ */ j(" Vuetify One benefits ")
|
|
1691
|
-
], -1), es = /* @__PURE__ */
|
|
1694
|
+
], -1), es = /* @__PURE__ */ V({
|
|
1692
1695
|
__name: "VoSponsorshipsDialog",
|
|
1693
1696
|
setup(u) {
|
|
1694
|
-
const
|
|
1695
|
-
function
|
|
1696
|
-
return
|
|
1697
|
+
const t = ve(), a = fe(), o = B(), n = X(), r = Ge();
|
|
1698
|
+
function l(c) {
|
|
1699
|
+
return t.format(c, "fullDateWithWeekday");
|
|
1697
1700
|
}
|
|
1698
|
-
return (
|
|
1699
|
-
const
|
|
1700
|
-
return d(), _(
|
|
1701
|
-
"
|
|
1702
|
-
"
|
|
1701
|
+
return (c, h) => {
|
|
1702
|
+
const p = re, y = ae, L = Oe("v-empty-state"), m = ge;
|
|
1703
|
+
return d(), _(m, {
|
|
1704
|
+
"max-height": e(a).xs.value ? void 0 : 820,
|
|
1705
|
+
"prepend-icon": `svg:${e($t)}`,
|
|
1703
1706
|
title: "Sponsorships"
|
|
1704
1707
|
}, {
|
|
1705
|
-
default:
|
|
1708
|
+
default: i(() => [
|
|
1706
1709
|
s(Ie, null, {
|
|
1707
|
-
default:
|
|
1710
|
+
default: i(() => [
|
|
1708
1711
|
s(Ae, { scrollable: "" }, {
|
|
1709
|
-
default:
|
|
1712
|
+
default: i(() => [
|
|
1710
1713
|
v("div", Mo, [
|
|
1711
1714
|
s(J, null, {
|
|
1712
|
-
default:
|
|
1713
|
-
s(
|
|
1715
|
+
default: i(() => [
|
|
1716
|
+
s(p, {
|
|
1714
1717
|
text: "Support Vuetify through GitHub Sponsors, Discord, or Patreon to unlock exclusive benefits and content.",
|
|
1715
1718
|
title: "Support Vuetify"
|
|
1716
1719
|
}),
|
|
@@ -1721,50 +1724,50 @@ const Ge = K("settings", () => {
|
|
|
1721
1724
|
style: { "grid-template-columns": "auto auto 1fr" },
|
|
1722
1725
|
"truncate-line": "both"
|
|
1723
1726
|
}, {
|
|
1724
|
-
default:
|
|
1725
|
-
var
|
|
1727
|
+
default: i(() => {
|
|
1728
|
+
var k, D, g, $, I, O;
|
|
1726
1729
|
return [
|
|
1727
|
-
s(
|
|
1728
|
-
"dot-color": (
|
|
1729
|
-
icon: (
|
|
1730
|
+
s(ke, {
|
|
1731
|
+
"dot-color": (k = e(n).github) != null && k.isActive ? "success" : "transparent",
|
|
1732
|
+
icon: (D = e(n).github) != null && D.isActive ? `svg:${e(ee)}` : void 0,
|
|
1730
1733
|
size: "x-small",
|
|
1731
1734
|
width: "100%"
|
|
1732
1735
|
}, {
|
|
1733
|
-
default:
|
|
1736
|
+
default: i(() => [
|
|
1734
1737
|
s(T, {
|
|
1735
|
-
"prepend-avatar":
|
|
1738
|
+
"prepend-avatar": e(r).CDN_URL + "/logos/github.png",
|
|
1736
1739
|
rounded: "lg",
|
|
1737
1740
|
subtitle: "Support Vuetify through GitHub sponsors.",
|
|
1738
1741
|
title: "GitHub Sponsors",
|
|
1739
1742
|
variant: "text",
|
|
1740
1743
|
border: ""
|
|
1741
1744
|
}, {
|
|
1742
|
-
append:
|
|
1743
|
-
var
|
|
1745
|
+
append: i(() => {
|
|
1746
|
+
var S, E, M, z, f, b;
|
|
1744
1747
|
return [
|
|
1745
1748
|
v("div", Po, [
|
|
1746
|
-
s(
|
|
1747
|
-
color: (
|
|
1748
|
-
href: (
|
|
1749
|
-
"prepend-icon": `svg:${(
|
|
1750
|
-
readonly: (
|
|
1751
|
-
target: (
|
|
1752
|
-
text: (
|
|
1749
|
+
s(y, {
|
|
1750
|
+
color: (S = e(n).github) != null && S.isActive ? "success" : "primary",
|
|
1751
|
+
href: (E = e(n).github) != null && E.isActive ? void 0 : "https://github.com/sponsors/johnleider",
|
|
1752
|
+
"prepend-icon": `svg:${(M = e(n).github) != null && M.isActive ? e(se) : e(De)}`,
|
|
1753
|
+
readonly: (z = e(n).github) == null ? void 0 : z.isActive,
|
|
1754
|
+
target: (f = e(n).github) != null && f.isActive ? void 0 : "_blank",
|
|
1755
|
+
text: (b = e(n).github) != null && b.isActive ? "Active" : "Info",
|
|
1753
1756
|
width: "88"
|
|
1754
1757
|
}, null, 8, ["color", "href", "prepend-icon", "readonly", "target", "text"])
|
|
1755
1758
|
])
|
|
1756
1759
|
];
|
|
1757
1760
|
}),
|
|
1758
|
-
default:
|
|
1759
|
-
var
|
|
1761
|
+
default: i(() => {
|
|
1762
|
+
var S;
|
|
1760
1763
|
return [
|
|
1761
|
-
(
|
|
1764
|
+
(S = e(n).github) != null && S.isActive ? (d(), x(F, { key: 0 }, [
|
|
1762
1765
|
s(R),
|
|
1763
1766
|
s(J, { class: "d-flex justify-space-between align-center flex-wrap" }, {
|
|
1764
|
-
default:
|
|
1767
|
+
default: i(() => [
|
|
1765
1768
|
s(q, {
|
|
1766
|
-
"prepend-icon": `svg:${
|
|
1767
|
-
text:
|
|
1769
|
+
"prepend-icon": `svg:${e(Ve)}`,
|
|
1770
|
+
text: e(n).github.tierName,
|
|
1768
1771
|
color: "surface-variant",
|
|
1769
1772
|
size: "small",
|
|
1770
1773
|
variant: "text",
|
|
@@ -1772,12 +1775,12 @@ const Ge = K("settings", () => {
|
|
|
1772
1775
|
}, null, 8, ["prepend-icon", "text"]),
|
|
1773
1776
|
v("div", Eo, [
|
|
1774
1777
|
j(" Sponsor since "),
|
|
1775
|
-
v("span", Wo, C(
|
|
1778
|
+
v("span", Wo, C(l(e(n).github.createdAt)), 1)
|
|
1776
1779
|
])
|
|
1777
1780
|
]),
|
|
1778
1781
|
_: 1
|
|
1779
1782
|
})
|
|
1780
|
-
], 64)) :
|
|
1783
|
+
], 64)) : w("", !0)
|
|
1781
1784
|
];
|
|
1782
1785
|
}),
|
|
1783
1786
|
_: 1
|
|
@@ -1785,47 +1788,47 @@ const Ge = K("settings", () => {
|
|
|
1785
1788
|
]),
|
|
1786
1789
|
_: 1
|
|
1787
1790
|
}, 8, ["dot-color", "icon"]),
|
|
1788
|
-
s(
|
|
1789
|
-
"dot-color": (
|
|
1790
|
-
icon: (
|
|
1791
|
+
s(ke, {
|
|
1792
|
+
"dot-color": (g = e(n).discord) != null && g.isActive ? "success" : "transparent",
|
|
1793
|
+
icon: ($ = e(n).discord) != null && $.isActive ? `svg:${e(ee)}` : void 0,
|
|
1791
1794
|
size: "x-small",
|
|
1792
1795
|
width: "100%"
|
|
1793
1796
|
}, {
|
|
1794
|
-
default:
|
|
1797
|
+
default: i(() => [
|
|
1795
1798
|
s(T, {
|
|
1796
|
-
"prepend-avatar":
|
|
1799
|
+
"prepend-avatar": e(r).CDN_URL + "/logos/discord.png",
|
|
1797
1800
|
rounded: "lg",
|
|
1798
1801
|
subtitle: "Support Vuetify through Discord.",
|
|
1799
1802
|
title: "Discord Subscriber",
|
|
1800
1803
|
variant: "text",
|
|
1801
1804
|
border: ""
|
|
1802
1805
|
}, {
|
|
1803
|
-
append:
|
|
1804
|
-
var
|
|
1806
|
+
append: i(() => {
|
|
1807
|
+
var S, E, M, z, f, b;
|
|
1805
1808
|
return [
|
|
1806
1809
|
v("div", Go, [
|
|
1807
|
-
s(
|
|
1808
|
-
color: (
|
|
1809
|
-
href: (
|
|
1810
|
-
"prepend-icon": `svg:${(
|
|
1811
|
-
readonly: (
|
|
1812
|
-
target: (
|
|
1813
|
-
text: (
|
|
1810
|
+
s(y, {
|
|
1811
|
+
color: (S = e(n).discord) != null && S.isActive ? "success" : "primary",
|
|
1812
|
+
href: (E = e(n).discord) != null && E.isActive ? void 0 : "https://discord.com/servers/vuetify-340160225338195969",
|
|
1813
|
+
"prepend-icon": `svg:${(M = e(n).discord) != null && M.isActive ? e(se) : e(De)}`,
|
|
1814
|
+
readonly: (z = e(n).discord) == null ? void 0 : z.isActive,
|
|
1815
|
+
target: (f = e(n).discord) != null && f.isActive ? void 0 : "_blank",
|
|
1816
|
+
text: (b = e(n).discord) != null && b.isActive ? "Active" : "Info",
|
|
1814
1817
|
width: "88"
|
|
1815
1818
|
}, null, 8, ["color", "href", "prepend-icon", "readonly", "target", "text"])
|
|
1816
1819
|
])
|
|
1817
1820
|
];
|
|
1818
1821
|
}),
|
|
1819
|
-
default:
|
|
1820
|
-
var
|
|
1822
|
+
default: i(() => {
|
|
1823
|
+
var S;
|
|
1821
1824
|
return [
|
|
1822
|
-
(
|
|
1825
|
+
(S = e(n).discord) != null && S.isActive ? (d(), x(F, { key: 0 }, [
|
|
1823
1826
|
s(R),
|
|
1824
1827
|
s(J, { class: "d-flex justify-space-between align-center flex-wrap" }, {
|
|
1825
|
-
default:
|
|
1828
|
+
default: i(() => [
|
|
1826
1829
|
s(q, {
|
|
1827
|
-
"prepend-icon": `svg:${
|
|
1828
|
-
text:
|
|
1830
|
+
"prepend-icon": `svg:${e(Ve)}`,
|
|
1831
|
+
text: e(n).discord.tierName,
|
|
1829
1832
|
color: "surface-variant",
|
|
1830
1833
|
size: "small",
|
|
1831
1834
|
variant: "text",
|
|
@@ -1833,12 +1836,12 @@ const Ge = K("settings", () => {
|
|
|
1833
1836
|
}, null, 8, ["prepend-icon", "text"]),
|
|
1834
1837
|
v("div", qo, [
|
|
1835
1838
|
j(" Subscriber since "),
|
|
1836
|
-
v("span", Yo, C(
|
|
1839
|
+
v("span", Yo, C(l(e(n).discord.createdAt)), 1)
|
|
1837
1840
|
])
|
|
1838
1841
|
]),
|
|
1839
1842
|
_: 1
|
|
1840
1843
|
})
|
|
1841
|
-
], 64)) :
|
|
1844
|
+
], 64)) : w("", !0)
|
|
1842
1845
|
];
|
|
1843
1846
|
}),
|
|
1844
1847
|
_: 1
|
|
@@ -1846,55 +1849,55 @@ const Ge = K("settings", () => {
|
|
|
1846
1849
|
]),
|
|
1847
1850
|
_: 1
|
|
1848
1851
|
}, 8, ["dot-color", "icon"]),
|
|
1849
|
-
s(
|
|
1850
|
-
"dot-color": (
|
|
1851
|
-
icon: (
|
|
1852
|
+
s(ke, {
|
|
1853
|
+
"dot-color": (I = e(n).patreon) != null && I.isActive ? "success" : "transparent",
|
|
1854
|
+
icon: (O = e(n).patreon) != null && O.isActive ? `svg:${e(ee)}` : void 0,
|
|
1852
1855
|
size: "x-small",
|
|
1853
1856
|
width: "100%"
|
|
1854
1857
|
}, {
|
|
1855
|
-
default:
|
|
1858
|
+
default: i(() => [
|
|
1856
1859
|
s(T, {
|
|
1857
|
-
"prepend-avatar":
|
|
1860
|
+
"prepend-avatar": e(r).CDN_URL + "/logos/patreon.png",
|
|
1858
1861
|
rounded: "lg",
|
|
1859
1862
|
subtitle: "Support Vuetify through Patreon.",
|
|
1860
1863
|
title: "Patreon Subscriber",
|
|
1861
1864
|
variant: "text",
|
|
1862
1865
|
border: ""
|
|
1863
1866
|
}, {
|
|
1864
|
-
append:
|
|
1865
|
-
var
|
|
1867
|
+
append: i(() => {
|
|
1868
|
+
var S;
|
|
1866
1869
|
return [
|
|
1867
1870
|
v("div", Jo, [
|
|
1868
|
-
s(
|
|
1869
|
-
text: (
|
|
1871
|
+
s(y, {
|
|
1872
|
+
text: (S = e(n).patreon) != null && S.isActive ? "Active" : "Coming Soon",
|
|
1870
1873
|
color: "surface-variant",
|
|
1871
1874
|
readonly: ""
|
|
1872
1875
|
}, null, 8, ["text"])
|
|
1873
1876
|
])
|
|
1874
1877
|
];
|
|
1875
1878
|
}),
|
|
1876
|
-
default:
|
|
1877
|
-
var
|
|
1879
|
+
default: i(() => {
|
|
1880
|
+
var S;
|
|
1878
1881
|
return [
|
|
1879
|
-
(
|
|
1882
|
+
(S = e(n).patreon) != null && S.isActive ? (d(), x(F, { key: 0 }, [
|
|
1880
1883
|
s(R),
|
|
1881
1884
|
s(J, { class: "d-flex justify-space-between align-center flex-wrap" }, {
|
|
1882
|
-
default:
|
|
1885
|
+
default: i(() => [
|
|
1883
1886
|
s(q, {
|
|
1884
|
-
"prepend-icon": `svg:${
|
|
1885
|
-
text:
|
|
1887
|
+
"prepend-icon": `svg:${e(Ve)}`,
|
|
1888
|
+
text: e(n).patreon.tierName,
|
|
1886
1889
|
color: "success",
|
|
1887
1890
|
variant: "text",
|
|
1888
1891
|
label: ""
|
|
1889
1892
|
}, null, 8, ["prepend-icon", "text"]),
|
|
1890
1893
|
v("div", Qo, [
|
|
1891
1894
|
j(" Sponsor since "),
|
|
1892
|
-
v("span", Xo, C(
|
|
1895
|
+
v("span", Xo, C(l(e(n).patreon.createdAt)), 1)
|
|
1893
1896
|
])
|
|
1894
1897
|
]),
|
|
1895
1898
|
_: 1
|
|
1896
1899
|
})
|
|
1897
|
-
], 64)) :
|
|
1900
|
+
], 64)) : w("", !0)
|
|
1898
1901
|
];
|
|
1899
1902
|
}),
|
|
1900
1903
|
_: 1
|
|
@@ -1909,26 +1912,26 @@ const Ge = K("settings", () => {
|
|
|
1909
1912
|
]),
|
|
1910
1913
|
_: 1
|
|
1911
1914
|
}),
|
|
1912
|
-
s(
|
|
1913
|
-
icon: `svg:${
|
|
1915
|
+
s(L, {
|
|
1916
|
+
icon: `svg:${e(xt)}`,
|
|
1914
1917
|
class: "mt-auto",
|
|
1915
1918
|
"min-height": "auto",
|
|
1916
1919
|
size: "64",
|
|
1917
1920
|
title: "Your Monthly Contributions"
|
|
1918
1921
|
}, {
|
|
1919
|
-
media:
|
|
1922
|
+
media: i(() => [
|
|
1920
1923
|
s(N, { color: "success" })
|
|
1921
1924
|
]),
|
|
1922
|
-
headline:
|
|
1925
|
+
headline: i(() => [
|
|
1923
1926
|
v("div", Zo, [
|
|
1924
|
-
|
|
1925
|
-
j(" $" + C(parseFloat(String(
|
|
1926
|
-
], 64)) : (d(),
|
|
1927
|
+
e(o).isSubscriber ? (d(), x(F, { key: 0 }, [
|
|
1928
|
+
j(" $" + C(parseFloat(String(e(n).monthlyTotal)).toFixed(2)), 1)
|
|
1929
|
+
], 64)) : (d(), x(F, { key: 1 }, [
|
|
1927
1930
|
j(" $0.00 ")
|
|
1928
1931
|
], 64))
|
|
1929
1932
|
])
|
|
1930
1933
|
]),
|
|
1931
|
-
text:
|
|
1934
|
+
text: i(() => [
|
|
1932
1935
|
Ko
|
|
1933
1936
|
]),
|
|
1934
1937
|
_: 1
|
|
@@ -1942,25 +1945,25 @@ const Ge = K("settings", () => {
|
|
|
1942
1945
|
})
|
|
1943
1946
|
]),
|
|
1944
1947
|
_: 1
|
|
1945
|
-
}, 8, ["prepend-icon"]);
|
|
1948
|
+
}, 8, ["max-height", "prepend-icon"]);
|
|
1946
1949
|
};
|
|
1947
1950
|
}
|
|
1948
|
-
}), ts = /* @__PURE__ */
|
|
1951
|
+
}), ts = /* @__PURE__ */ V({
|
|
1949
1952
|
__name: "VoSponsorshipsListItem",
|
|
1950
1953
|
setup(u) {
|
|
1951
|
-
const
|
|
1952
|
-
return (
|
|
1953
|
-
const
|
|
1954
|
-
return d(), _(
|
|
1955
|
-
active:
|
|
1956
|
-
"prepend-icon": `svg:${
|
|
1954
|
+
const t = U(!1);
|
|
1955
|
+
return (a, o) => {
|
|
1956
|
+
const n = es, r = Y;
|
|
1957
|
+
return d(), _(r, {
|
|
1958
|
+
active: t.value,
|
|
1959
|
+
"prepend-icon": `svg:${e(wt)}`,
|
|
1957
1960
|
title: "Sponsorships",
|
|
1958
1961
|
link: ""
|
|
1959
1962
|
}, {
|
|
1960
|
-
default:
|
|
1961
|
-
s(
|
|
1962
|
-
modelValue:
|
|
1963
|
-
"onUpdate:modelValue":
|
|
1963
|
+
default: i(() => [
|
|
1964
|
+
s(n, {
|
|
1965
|
+
modelValue: t.value,
|
|
1966
|
+
"onUpdate:modelValue": o[0] || (o[0] = (l) => t.value = l)
|
|
1964
1967
|
}, null, 8, ["modelValue"])
|
|
1965
1968
|
]),
|
|
1966
1969
|
_: 1
|
|
@@ -1970,60 +1973,60 @@ const Ge = K("settings", () => {
|
|
|
1970
1973
|
}), os = {
|
|
1971
1974
|
key: 0,
|
|
1972
1975
|
class: "pt-16"
|
|
1973
|
-
}, ss = /* @__PURE__ */ v("div", { class: "text-medium-emphasis" }, " All caught up ", -1), ns = { class: "ps-3 text-subtitle-2 pe-2" }, is = { class: "text-truncate" }, as = { class: "text-caption font-weight-bold text-medium-emphasis" }, rs = { class: "text-disabled text-caption my-2" }, ls = /* @__PURE__ */
|
|
1976
|
+
}, ss = /* @__PURE__ */ v("div", { class: "text-medium-emphasis" }, " All caught up ", -1), ns = { class: "ps-3 text-subtitle-2 pe-2" }, is = { class: "text-truncate" }, as = { class: "text-caption font-weight-bold text-medium-emphasis" }, rs = { class: "text-disabled text-caption my-2" }, ls = /* @__PURE__ */ V({
|
|
1974
1977
|
__name: "VoNotificationsList",
|
|
1975
1978
|
props: {
|
|
1976
1979
|
items: {}
|
|
1977
1980
|
},
|
|
1978
1981
|
setup(u) {
|
|
1979
|
-
const
|
|
1980
|
-
function
|
|
1981
|
-
return
|
|
1982
|
+
const t = H(), a = ve();
|
|
1983
|
+
function o(r) {
|
|
1984
|
+
return t.notifications.read.includes(r);
|
|
1982
1985
|
}
|
|
1983
|
-
function r
|
|
1984
|
-
|
|
1986
|
+
function n(r) {
|
|
1987
|
+
o(r.slug) ? t.notifications.read = t.notifications.read.filter((l) => l !== r.slug) : t.notifications.read.push(r.slug);
|
|
1985
1988
|
}
|
|
1986
|
-
return (
|
|
1987
|
-
const c =
|
|
1989
|
+
return (r, l) => {
|
|
1990
|
+
const c = Oe("v-empty-state"), h = Y;
|
|
1988
1991
|
return d(), _(oe, {
|
|
1989
1992
|
class: "py-0",
|
|
1990
1993
|
height: "100%",
|
|
1991
1994
|
lines: "three"
|
|
1992
1995
|
}, {
|
|
1993
|
-
default:
|
|
1994
|
-
|
|
1996
|
+
default: i(() => [
|
|
1997
|
+
r.items.length ? (d(!0), x(F, { key: 1 }, te(r.items, (p, y) => (d(), _(Me, {
|
|
1995
1998
|
key: p.slug
|
|
1996
1999
|
}, {
|
|
1997
|
-
default:
|
|
2000
|
+
default: i(({ isHovering: L, props: m }) => [
|
|
1998
2001
|
s(h, ce(m, {
|
|
1999
|
-
border:
|
|
2002
|
+
border: y !== 0 && "t",
|
|
2000
2003
|
class: "py-4 mb-0"
|
|
2001
2004
|
}), {
|
|
2002
|
-
prepend:
|
|
2005
|
+
prepend: i(() => [
|
|
2003
2006
|
v("div", ns, C(p.metadata.emoji), 1)
|
|
2004
2007
|
]),
|
|
2005
|
-
append:
|
|
2008
|
+
append: i(() => [
|
|
2006
2009
|
s(Jt, {
|
|
2007
2010
|
class: "mt-n3",
|
|
2008
2011
|
width: "56"
|
|
2009
2012
|
}, {
|
|
2010
|
-
default:
|
|
2013
|
+
default: i(() => [
|
|
2011
2014
|
s(Qt, {
|
|
2012
|
-
text:
|
|
2015
|
+
text: o(p.slug) ? "Mark as unread" : "Mark as read",
|
|
2013
2016
|
location: "bottom"
|
|
2014
2017
|
}, {
|
|
2015
|
-
activator:
|
|
2018
|
+
activator: i(({ props: k }) => [
|
|
2016
2019
|
s(Ce, { "hide-on-leave": "" }, {
|
|
2017
|
-
default:
|
|
2018
|
-
Se(s(Q, ce(
|
|
2019
|
-
icon: `svg:${
|
|
2020
|
+
default: i(() => [
|
|
2021
|
+
Se(s(Q, ce(k, {
|
|
2022
|
+
icon: `svg:${o(p.slug) ? e(Ct) : e(St)}`,
|
|
2020
2023
|
class: "ms-auto",
|
|
2021
2024
|
size: "small",
|
|
2022
2025
|
variant: "text",
|
|
2023
2026
|
"mdi-email-variant": "",
|
|
2024
|
-
onClick: (D) =>
|
|
2027
|
+
onClick: (D) => n(p)
|
|
2025
2028
|
}), null, 16, ["icon", "onClick"]), [
|
|
2026
|
-
[
|
|
2029
|
+
[Be, L]
|
|
2027
2030
|
])
|
|
2028
2031
|
]),
|
|
2029
2032
|
_: 2
|
|
@@ -2035,17 +2038,17 @@ const Ge = K("settings", () => {
|
|
|
2035
2038
|
_: 2
|
|
2036
2039
|
}, 1024)
|
|
2037
2040
|
]),
|
|
2038
|
-
default:
|
|
2041
|
+
default: i(() => [
|
|
2039
2042
|
s(Rt, { class: "text-wrap text-h6 mb-1" }, {
|
|
2040
|
-
default:
|
|
2043
|
+
default: i(() => [
|
|
2041
2044
|
v("div", is, C(p.title), 1)
|
|
2042
2045
|
]),
|
|
2043
2046
|
_: 2
|
|
2044
2047
|
}, 1024),
|
|
2045
|
-
v("div", as, C(
|
|
2048
|
+
v("div", as, C(e(a).format(p.created_at, "fullDateWithWeekday")), 1),
|
|
2046
2049
|
v("div", rs, C(p.metadata.text), 1),
|
|
2047
2050
|
s(q, {
|
|
2048
|
-
"append-icon": `svg:${
|
|
2051
|
+
"append-icon": `svg:${e(Lt)}`,
|
|
2049
2052
|
href: p.metadata.action,
|
|
2050
2053
|
text: p.metadata.action_text,
|
|
2051
2054
|
size: "small",
|
|
@@ -2053,9 +2056,9 @@ const Ge = K("settings", () => {
|
|
|
2053
2056
|
variant: "text",
|
|
2054
2057
|
border: "",
|
|
2055
2058
|
label: "",
|
|
2056
|
-
onClick: (
|
|
2059
|
+
onClick: (k) => n(p)
|
|
2057
2060
|
}, {
|
|
2058
|
-
append:
|
|
2061
|
+
append: i(() => [
|
|
2059
2062
|
s(N, { size: "12" })
|
|
2060
2063
|
]),
|
|
2061
2064
|
_: 2
|
|
@@ -2065,15 +2068,15 @@ const Ge = K("settings", () => {
|
|
|
2065
2068
|
}, 1040, ["border"])
|
|
2066
2069
|
]),
|
|
2067
2070
|
_: 2
|
|
2068
|
-
}, 1024))), 128)) : (d(),
|
|
2071
|
+
}, 1024))), 128)) : (d(), x("div", os, [
|
|
2069
2072
|
s(c, {
|
|
2070
2073
|
icon: "$vuetify",
|
|
2071
2074
|
size: "256"
|
|
2072
2075
|
}, {
|
|
2073
|
-
media:
|
|
2076
|
+
media: i(() => [
|
|
2074
2077
|
s(N, { color: "medium-emphasis" })
|
|
2075
2078
|
]),
|
|
2076
|
-
title:
|
|
2079
|
+
title: i(() => [
|
|
2077
2080
|
ss
|
|
2078
2081
|
]),
|
|
2079
2082
|
_: 1
|
|
@@ -2085,70 +2088,70 @@ const Ge = K("settings", () => {
|
|
|
2085
2088
|
};
|
|
2086
2089
|
}
|
|
2087
2090
|
}), qe = K("notifications", () => {
|
|
2088
|
-
const u =
|
|
2091
|
+
const u = he(), t = H(), a = Z([]), o = U(!1), n = A(() => a.value.filter((c) => !t.notifications.read.includes(c.slug))), r = A(() => a.value.filter((c) => t.notifications.read.includes(c.slug)));
|
|
2089
2092
|
async function l() {
|
|
2090
2093
|
try {
|
|
2091
|
-
|
|
2094
|
+
o.value = !0;
|
|
2092
2095
|
const c = await u.get("/one/notifications");
|
|
2093
|
-
|
|
2096
|
+
a.value = c.notifications;
|
|
2094
2097
|
} catch {
|
|
2095
2098
|
} finally {
|
|
2096
|
-
|
|
2099
|
+
o.value = !1;
|
|
2097
2100
|
}
|
|
2098
|
-
return
|
|
2101
|
+
return a.value;
|
|
2099
2102
|
}
|
|
2100
2103
|
return {
|
|
2101
|
-
isLoading:
|
|
2102
|
-
all:
|
|
2104
|
+
isLoading: o,
|
|
2105
|
+
all: a,
|
|
2103
2106
|
get: l,
|
|
2104
|
-
read:
|
|
2105
|
-
unread:
|
|
2107
|
+
read: r,
|
|
2108
|
+
unread: n
|
|
2106
2109
|
};
|
|
2107
|
-
}), cs = { class: "text-caption" }, us = /* @__PURE__ */
|
|
2110
|
+
}), cs = { class: "text-caption" }, us = /* @__PURE__ */ V({
|
|
2108
2111
|
__name: "VoNotificationsDialog",
|
|
2109
2112
|
setup(u) {
|
|
2110
|
-
const
|
|
2111
|
-
return (
|
|
2112
|
-
const c = Y, h = ls, p =
|
|
2113
|
+
const t = qe(), a = fe(), o = U(["0"]), n = U(!1);
|
|
2114
|
+
return (r, l) => {
|
|
2115
|
+
const c = Y, h = ls, p = ge;
|
|
2113
2116
|
return d(), _(p, {
|
|
2114
|
-
modelValue:
|
|
2115
|
-
"onUpdate:modelValue": l[2] || (l[2] = (
|
|
2116
|
-
"prepend-icon": `svg:${
|
|
2117
|
+
modelValue: n.value,
|
|
2118
|
+
"onUpdate:modelValue": l[2] || (l[2] = (y) => n.value = y),
|
|
2119
|
+
"prepend-icon": `svg:${e(It)}`,
|
|
2117
2120
|
title: "Notifications"
|
|
2118
2121
|
}, {
|
|
2119
|
-
default:
|
|
2122
|
+
default: i(() => [
|
|
2120
2123
|
s(Ie, null, {
|
|
2121
|
-
default:
|
|
2124
|
+
default: i(() => [
|
|
2122
2125
|
s(Xt, {
|
|
2123
|
-
location:
|
|
2124
|
-
width:
|
|
2126
|
+
location: e(a).mobile.value ? "top" : "start",
|
|
2127
|
+
width: e(a).mobile.value ? 128 : 168,
|
|
2125
2128
|
permanent: ""
|
|
2126
2129
|
}, {
|
|
2127
|
-
default:
|
|
2130
|
+
default: i(() => [
|
|
2128
2131
|
s(oe, {
|
|
2129
|
-
selected:
|
|
2130
|
-
"onUpdate:selected": l[0] || (l[0] = (
|
|
2132
|
+
selected: o.value,
|
|
2133
|
+
"onUpdate:selected": l[0] || (l[0] = (y) => o.value = y),
|
|
2131
2134
|
class: "px-4 pt-4",
|
|
2132
2135
|
density: "compact",
|
|
2133
2136
|
mandatory: "",
|
|
2134
2137
|
nav: ""
|
|
2135
2138
|
}, {
|
|
2136
|
-
default:
|
|
2139
|
+
default: i(() => [
|
|
2137
2140
|
s(c, {
|
|
2138
|
-
"prepend-icon": `svg:${
|
|
2141
|
+
"prepend-icon": `svg:${e(At)}`,
|
|
2139
2142
|
title: "Unread",
|
|
2140
2143
|
value: "0"
|
|
2141
2144
|
}, G({ _: 2 }, [
|
|
2142
|
-
t
|
|
2145
|
+
e(t).unread.length > 0 ? {
|
|
2143
2146
|
name: "append",
|
|
2144
|
-
fn:
|
|
2145
|
-
v("span", cs, C(t
|
|
2147
|
+
fn: i(() => [
|
|
2148
|
+
v("span", cs, C(e(t).unread.length), 1)
|
|
2146
2149
|
]),
|
|
2147
2150
|
key: "0"
|
|
2148
2151
|
} : void 0
|
|
2149
2152
|
]), 1032, ["prepend-icon"]),
|
|
2150
2153
|
s(c, {
|
|
2151
|
-
"prepend-icon": `svg:${
|
|
2154
|
+
"prepend-icon": `svg:${e(Dt)}`,
|
|
2152
2155
|
title: "Read",
|
|
2153
2156
|
value: "1",
|
|
2154
2157
|
"mdi-archive-outline": ""
|
|
@@ -2160,24 +2163,24 @@ const Ge = K("settings", () => {
|
|
|
2160
2163
|
_: 1
|
|
2161
2164
|
}, 8, ["location", "width"]),
|
|
2162
2165
|
s(Ae, { scrollable: "" }, {
|
|
2163
|
-
default:
|
|
2166
|
+
default: i(() => [
|
|
2164
2167
|
s(Ee, {
|
|
2165
|
-
modelValue:
|
|
2166
|
-
"onUpdate:modelValue": l[1] || (l[1] = (
|
|
2168
|
+
modelValue: o.value,
|
|
2169
|
+
"onUpdate:modelValue": l[1] || (l[1] = (y) => o.value = y)
|
|
2167
2170
|
}, {
|
|
2168
|
-
default:
|
|
2171
|
+
default: i(() => [
|
|
2169
2172
|
s(de, { value: "0" }, {
|
|
2170
|
-
default:
|
|
2173
|
+
default: i(() => [
|
|
2171
2174
|
s(h, {
|
|
2172
|
-
items: t
|
|
2175
|
+
items: e(t).unread
|
|
2173
2176
|
}, null, 8, ["items"])
|
|
2174
2177
|
]),
|
|
2175
2178
|
_: 1
|
|
2176
2179
|
}),
|
|
2177
2180
|
s(de, { value: "1" }, {
|
|
2178
|
-
default:
|
|
2181
|
+
default: i(() => [
|
|
2179
2182
|
s(h, {
|
|
2180
|
-
items: t
|
|
2183
|
+
items: e(t).read
|
|
2181
2184
|
}, null, 8, ["items"])
|
|
2182
2185
|
]),
|
|
2183
2186
|
_: 1
|
|
@@ -2196,37 +2199,37 @@ const Ge = K("settings", () => {
|
|
|
2196
2199
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
2197
2200
|
};
|
|
2198
2201
|
}
|
|
2199
|
-
}), ds = /* @__PURE__ */
|
|
2202
|
+
}), ds = /* @__PURE__ */ V({
|
|
2200
2203
|
__name: "VoNotificationsListItem",
|
|
2201
2204
|
setup(u) {
|
|
2202
|
-
const
|
|
2203
|
-
return
|
|
2204
|
-
await
|
|
2205
|
-
}), (
|
|
2205
|
+
const t = H(), a = qe(), o = U(!1);
|
|
2206
|
+
return Ne(async () => {
|
|
2207
|
+
await a.get();
|
|
2208
|
+
}), (n, r) => {
|
|
2206
2209
|
const l = us, c = Y;
|
|
2207
|
-
return t
|
|
2210
|
+
return e(t).notifications.show ? (d(), _(c, {
|
|
2208
2211
|
key: 0,
|
|
2209
|
-
active:
|
|
2210
|
-
"prepend-icon": `svg:${
|
|
2212
|
+
active: o.value,
|
|
2213
|
+
"prepend-icon": `svg:${e(Ut)}`,
|
|
2211
2214
|
title: "Notifications",
|
|
2212
2215
|
link: ""
|
|
2213
2216
|
}, G({
|
|
2214
|
-
default:
|
|
2217
|
+
default: i(() => [
|
|
2215
2218
|
s(l, {
|
|
2216
|
-
modelValue:
|
|
2217
|
-
"onUpdate:modelValue":
|
|
2219
|
+
modelValue: o.value,
|
|
2220
|
+
"onUpdate:modelValue": r[0] || (r[0] = (h) => o.value = h)
|
|
2218
2221
|
}, null, 8, ["modelValue"])
|
|
2219
2222
|
]),
|
|
2220
2223
|
_: 2
|
|
2221
2224
|
}, [
|
|
2222
|
-
|
|
2225
|
+
e(a).unread.length ? {
|
|
2223
2226
|
name: "prepend",
|
|
2224
|
-
fn:
|
|
2227
|
+
fn: i(() => [
|
|
2225
2228
|
s(Zt, {
|
|
2226
|
-
content:
|
|
2229
|
+
content: e(a).unread.length,
|
|
2227
2230
|
color: "error"
|
|
2228
2231
|
}, {
|
|
2229
|
-
default:
|
|
2232
|
+
default: i(() => [
|
|
2230
2233
|
s(N)
|
|
2231
2234
|
]),
|
|
2232
2235
|
_: 1
|
|
@@ -2234,54 +2237,54 @@ const Ge = K("settings", () => {
|
|
|
2234
2237
|
]),
|
|
2235
2238
|
key: "0"
|
|
2236
2239
|
} : void 0
|
|
2237
|
-
]), 1032, ["active", "prepend-icon"])) :
|
|
2240
|
+
]), 1032, ["active", "prepend-icon"])) : w("", !0);
|
|
2238
2241
|
};
|
|
2239
2242
|
}
|
|
2240
|
-
}), ps = /* @__PURE__ */
|
|
2243
|
+
}), ps = /* @__PURE__ */ V({
|
|
2241
2244
|
__name: "VoDashboardListItem",
|
|
2242
2245
|
setup(u) {
|
|
2243
|
-
return (
|
|
2244
|
-
const
|
|
2245
|
-
return d(), _(
|
|
2246
|
-
"prepend-icon": `svg:${
|
|
2246
|
+
return (t, a) => {
|
|
2247
|
+
const o = Y;
|
|
2248
|
+
return d(), _(o, {
|
|
2249
|
+
"prepend-icon": `svg:${e(Ft)}`,
|
|
2247
2250
|
title: "Dashboard",
|
|
2248
2251
|
to: "/user/dashboard"
|
|
2249
2252
|
}, null, 8, ["prepend-icon"]);
|
|
2250
2253
|
};
|
|
2251
2254
|
}
|
|
2252
|
-
}), ms = /* @__PURE__ */
|
|
2255
|
+
}), ms = /* @__PURE__ */ V({
|
|
2253
2256
|
__name: "VoUserList",
|
|
2254
2257
|
setup(u) {
|
|
2255
|
-
const
|
|
2256
|
-
return (
|
|
2257
|
-
const
|
|
2258
|
+
const t = B();
|
|
2259
|
+
return (a, o) => {
|
|
2260
|
+
const n = ps, r = ds, l = ts, c = Ho, h = go, p = po;
|
|
2258
2261
|
return d(), _(oe, {
|
|
2259
2262
|
density: "compact",
|
|
2260
2263
|
nav: "",
|
|
2261
2264
|
slim: ""
|
|
2262
2265
|
}, {
|
|
2263
|
-
default:
|
|
2266
|
+
default: i(() => [
|
|
2267
|
+
s(n),
|
|
2264
2268
|
s(r),
|
|
2265
|
-
s(a),
|
|
2266
2269
|
s(l),
|
|
2267
|
-
t
|
|
2270
|
+
e(t).user ? (d(), _(c, { key: 0 })) : w("", !0),
|
|
2268
2271
|
s(h),
|
|
2269
|
-
t
|
|
2272
|
+
e(t).user ? (d(), _(p, { key: 1 })) : w("", !0)
|
|
2270
2273
|
]),
|
|
2271
2274
|
_: 1
|
|
2272
2275
|
});
|
|
2273
2276
|
};
|
|
2274
2277
|
}
|
|
2275
|
-
}), fs = { key: 0 }, vs = { class: "d-flex align-center justify-center pa-1 ga-2" }, _s = /* @__PURE__ */
|
|
2278
|
+
}), fs = { key: 0 }, vs = { class: "d-flex align-center justify-center pa-1 ga-2" }, _s = /* @__PURE__ */ V({
|
|
2276
2279
|
__name: "VoUserQuickActions",
|
|
2277
2280
|
setup(u) {
|
|
2278
|
-
const
|
|
2279
|
-
return (
|
|
2280
|
-
default:
|
|
2281
|
-
t
|
|
2281
|
+
const t = H();
|
|
2282
|
+
return (a, o) => (d(), _(ie, null, {
|
|
2283
|
+
default: i(() => [
|
|
2284
|
+
e(t).quickbar ? (d(), x("div", fs, [
|
|
2282
2285
|
v("div", vs, [
|
|
2283
2286
|
s(Q, {
|
|
2284
|
-
color: t
|
|
2287
|
+
color: e(t).colors.one,
|
|
2285
2288
|
class: "text-caption",
|
|
2286
2289
|
density: "comfortable",
|
|
2287
2290
|
href: "https://play.vuetifyjs.com",
|
|
@@ -2289,31 +2292,31 @@ const Ge = K("settings", () => {
|
|
|
2289
2292
|
target: "_blank"
|
|
2290
2293
|
}, null, 8, ["color"]),
|
|
2291
2294
|
s(Q, {
|
|
2292
|
-
color: t
|
|
2293
|
-
icon: `svg:${
|
|
2295
|
+
color: e(t).colors.one,
|
|
2296
|
+
icon: `svg:${e(jt)}`,
|
|
2294
2297
|
class: "text-caption",
|
|
2295
2298
|
density: "comfortable",
|
|
2296
2299
|
href: "https://bin.vuetifyjs.com",
|
|
2297
2300
|
target: "_blank"
|
|
2298
2301
|
}, null, 8, ["color", "icon"]),
|
|
2299
2302
|
s(Q, {
|
|
2300
|
-
color: t
|
|
2301
|
-
icon: `svg:${
|
|
2303
|
+
color: e(t).colors.one,
|
|
2304
|
+
icon: `svg:${e(Nt)}`,
|
|
2302
2305
|
class: "text-caption",
|
|
2303
2306
|
density: "comfortable",
|
|
2304
2307
|
href: "https://issues.vuetifyjs.com",
|
|
2305
2308
|
target: "_blank"
|
|
2306
2309
|
}, null, 8, ["color", "icon"])
|
|
2307
2310
|
])
|
|
2308
|
-
])) :
|
|
2311
|
+
])) : w("", !0)
|
|
2309
2312
|
]),
|
|
2310
2313
|
_: 1
|
|
2311
2314
|
}));
|
|
2312
2315
|
}
|
|
2313
|
-
}), hs = { class: "mb-2" }, gs = { key: 0 }, bs = { class: "d-flex ga-4 flex-wrap justify-center mb-4" }, ys = { class: "text-h6" }, Vs = /* @__PURE__ */
|
|
2316
|
+
}), hs = { class: "mb-2" }, gs = { key: 0 }, bs = { class: "d-flex ga-4 flex-wrap justify-center mb-4" }, ys = { class: "text-h6" }, Vs = /* @__PURE__ */ V({
|
|
2314
2317
|
__name: "VoUserAvatar",
|
|
2315
2318
|
setup(u) {
|
|
2316
|
-
const
|
|
2319
|
+
const t = B(), a = H(), o = U(!1), n = A(() => {
|
|
2317
2320
|
const c = [
|
|
2318
2321
|
"https://cdn.vuetifyjs.com/docs/images/avatars/one.png",
|
|
2319
2322
|
"https://cdn.vuetifyjs.com/docs/images/avatars/grass.png",
|
|
@@ -2330,33 +2333,33 @@ const Ge = K("settings", () => {
|
|
|
2330
2333
|
"https://cdn.vuetifyjs.com/docs/images/avatars/meteor.png",
|
|
2331
2334
|
"https://cdn.vuetifyjs.com/docs/images/avatars/tada.png"
|
|
2332
2335
|
];
|
|
2333
|
-
return
|
|
2336
|
+
return t.user && c.unshift(t.user.picture), c;
|
|
2334
2337
|
});
|
|
2335
|
-
function
|
|
2336
|
-
|
|
2338
|
+
function r(c) {
|
|
2339
|
+
a.avatar = c;
|
|
2337
2340
|
}
|
|
2338
2341
|
function l() {
|
|
2339
|
-
|
|
2342
|
+
t.isSubscriber && (o.value = !o.value);
|
|
2340
2343
|
}
|
|
2341
2344
|
return (c, h) => {
|
|
2342
2345
|
var p;
|
|
2343
|
-
return d(),
|
|
2346
|
+
return d(), x("div", null, [
|
|
2344
2347
|
Se((d(), _(ue, {
|
|
2345
2348
|
class: Ke([
|
|
2346
2349
|
"border-md border-opacity-100 border-surface-variant",
|
|
2347
2350
|
{
|
|
2348
|
-
"cursor-pointer": t
|
|
2351
|
+
"cursor-pointer": e(t).isSubscriber
|
|
2349
2352
|
}
|
|
2350
2353
|
]),
|
|
2351
2354
|
color: "surface",
|
|
2352
2355
|
size: "72",
|
|
2353
2356
|
text: "Foobar",
|
|
2354
|
-
onClick:
|
|
2357
|
+
onClick: je(l, ["prevent", "stop"])
|
|
2355
2358
|
}, {
|
|
2356
|
-
default:
|
|
2357
|
-
t
|
|
2359
|
+
default: i(() => [
|
|
2360
|
+
e(t).user && e(a).avatar ? (d(), _(Le, {
|
|
2358
2361
|
key: 0,
|
|
2359
|
-
src:
|
|
2362
|
+
src: e(a).avatar,
|
|
2360
2363
|
alt: "User avatar"
|
|
2361
2364
|
}, null, 8, ["src"])) : (d(), _(N, {
|
|
2362
2365
|
key: 1,
|
|
@@ -2367,29 +2370,29 @@ const Ge = K("settings", () => {
|
|
|
2367
2370
|
]),
|
|
2368
2371
|
_: 1
|
|
2369
2372
|
}, 8, ["class"])), [
|
|
2370
|
-
[Kt, t
|
|
2373
|
+
[Kt, e(t).isSubscriber]
|
|
2371
2374
|
]),
|
|
2372
2375
|
v("div", hs, [
|
|
2373
2376
|
s(ie, null, {
|
|
2374
|
-
default:
|
|
2375
|
-
|
|
2377
|
+
default: i(() => [
|
|
2378
|
+
o.value ? (d(), x("div", gs, [
|
|
2376
2379
|
s(T, {
|
|
2377
2380
|
class: "pt-6 pb-1",
|
|
2378
2381
|
rounded: "0",
|
|
2379
2382
|
flat: ""
|
|
2380
2383
|
}, {
|
|
2381
|
-
default:
|
|
2384
|
+
default: i(() => [
|
|
2382
2385
|
v("div", bs, [
|
|
2383
|
-
(d(!0),
|
|
2386
|
+
(d(!0), x(F, null, te(n.value, (y, L) => (d(), _(Q, {
|
|
2384
2387
|
key: L,
|
|
2385
|
-
active:
|
|
2388
|
+
active: e(a).avatar === y,
|
|
2386
2389
|
variant: "flat",
|
|
2387
2390
|
icon: "",
|
|
2388
|
-
onClick: (m) =>
|
|
2391
|
+
onClick: (m) => r(y)
|
|
2389
2392
|
}, {
|
|
2390
|
-
default:
|
|
2393
|
+
default: i(() => [
|
|
2391
2394
|
s(ue, {
|
|
2392
|
-
image:
|
|
2395
|
+
image: y,
|
|
2393
2396
|
eager: ""
|
|
2394
2397
|
}, null, 8, ["image"])
|
|
2395
2398
|
]),
|
|
@@ -2399,68 +2402,68 @@ const Ge = K("settings", () => {
|
|
|
2399
2402
|
]),
|
|
2400
2403
|
_: 1
|
|
2401
2404
|
})
|
|
2402
|
-
])) :
|
|
2405
|
+
])) : w("", !0)
|
|
2403
2406
|
]),
|
|
2404
2407
|
_: 1
|
|
2405
2408
|
})
|
|
2406
2409
|
]),
|
|
2407
|
-
v("div", ys, C(((p = t
|
|
2410
|
+
v("div", ys, C(((p = e(t).user) == null ? void 0 : p.name) ?? "Guest"), 1)
|
|
2408
2411
|
]);
|
|
2409
2412
|
};
|
|
2410
2413
|
}
|
|
2411
|
-
}), ks = { class: "d-flex" }, $s = { key: "reset" }, xs = /* @__PURE__ */
|
|
2414
|
+
}), ks = { class: "d-flex" }, $s = { key: "reset" }, xs = /* @__PURE__ */ V({
|
|
2412
2415
|
__name: "VoUserColors",
|
|
2413
2416
|
setup(u) {
|
|
2414
|
-
const
|
|
2415
|
-
function
|
|
2416
|
-
|
|
2417
|
+
const t = B(), a = H(), o = U(!1);
|
|
2418
|
+
function n() {
|
|
2419
|
+
a.colors.one = "surface-light";
|
|
2417
2420
|
}
|
|
2418
|
-
return (
|
|
2421
|
+
return (r, l) => {
|
|
2419
2422
|
const c = ae;
|
|
2420
|
-
return d(),
|
|
2423
|
+
return d(), x(F, null, [
|
|
2421
2424
|
s(Le, {
|
|
2422
|
-
color: t
|
|
2425
|
+
color: e(t).user ? e(a).colors.one : "surface-light",
|
|
2423
2426
|
"content-class": "d-flex align-start justify-end pa-2",
|
|
2424
2427
|
height: "88",
|
|
2425
2428
|
rounded: "0",
|
|
2426
2429
|
cover: "",
|
|
2427
2430
|
flat: ""
|
|
2428
2431
|
}, {
|
|
2429
|
-
default:
|
|
2432
|
+
default: i(() => [
|
|
2430
2433
|
v("div", ks, [
|
|
2431
|
-
t
|
|
2434
|
+
e(t).isSubscriber ? (d(), _(c, {
|
|
2432
2435
|
key: 0,
|
|
2433
|
-
active:
|
|
2434
|
-
icon:
|
|
2435
|
-
variant:
|
|
2436
|
+
active: o.value,
|
|
2437
|
+
icon: o.value ? `svg:${e(ee)}` : "$edit",
|
|
2438
|
+
variant: o.value ? "text" : "plain",
|
|
2436
2439
|
color: "inherit",
|
|
2437
|
-
onClick: l[0] || (l[0] = (h) =>
|
|
2440
|
+
onClick: l[0] || (l[0] = (h) => o.value = !o.value)
|
|
2438
2441
|
}, {
|
|
2439
|
-
default:
|
|
2442
|
+
default: i(() => [
|
|
2440
2443
|
s(Ce, { "leave-absolute": "" }, {
|
|
2441
|
-
default:
|
|
2444
|
+
default: i(() => [
|
|
2442
2445
|
(d(), _(N, {
|
|
2443
|
-
key: String(
|
|
2446
|
+
key: String(o.value)
|
|
2444
2447
|
}))
|
|
2445
2448
|
]),
|
|
2446
2449
|
_: 1
|
|
2447
2450
|
})
|
|
2448
2451
|
]),
|
|
2449
2452
|
_: 1
|
|
2450
|
-
}, 8, ["active", "icon", "variant"])) :
|
|
2453
|
+
}, 8, ["active", "icon", "variant"])) : w("", !0),
|
|
2451
2454
|
s(Mt, null, {
|
|
2452
|
-
default:
|
|
2455
|
+
default: i(() => [
|
|
2453
2456
|
Se(v("div", $s, [
|
|
2454
2457
|
s(c, {
|
|
2455
|
-
disabled:
|
|
2456
|
-
icon: `svg:${
|
|
2458
|
+
disabled: e(a).colors.one === "surface-light",
|
|
2459
|
+
icon: `svg:${e(Ot)}`,
|
|
2457
2460
|
class: "ms-1",
|
|
2458
2461
|
color: "inherit",
|
|
2459
2462
|
variant: "text",
|
|
2460
|
-
onClick:
|
|
2463
|
+
onClick: n
|
|
2461
2464
|
}, null, 8, ["disabled", "icon"])
|
|
2462
2465
|
], 512), [
|
|
2463
|
-
[
|
|
2466
|
+
[Be, o.value]
|
|
2464
2467
|
])
|
|
2465
2468
|
]),
|
|
2466
2469
|
_: 1
|
|
@@ -2470,10 +2473,10 @@ const Ge = K("settings", () => {
|
|
|
2470
2473
|
_: 1
|
|
2471
2474
|
}, 8, ["color"]),
|
|
2472
2475
|
s(ie, null, {
|
|
2473
|
-
default:
|
|
2474
|
-
|
|
2476
|
+
default: i(() => [
|
|
2477
|
+
o.value ? (d(), _(eo, {
|
|
2475
2478
|
key: 0,
|
|
2476
|
-
"model-value":
|
|
2479
|
+
"model-value": e(a).colors.one !== "surface-light" ? e(a).colors.one : void 0,
|
|
2477
2480
|
elevation: "0",
|
|
2478
2481
|
height: "250",
|
|
2479
2482
|
rounded: "0",
|
|
@@ -2483,39 +2486,39 @@ const Ge = K("settings", () => {
|
|
|
2483
2486
|
"hide-inputs": "",
|
|
2484
2487
|
"hide-sliders": "",
|
|
2485
2488
|
"show-swatches": "",
|
|
2486
|
-
"onUpdate:modelValue": l[1] || (l[1] = (h) =>
|
|
2487
|
-
}, null, 8, ["model-value"])) :
|
|
2489
|
+
"onUpdate:modelValue": l[1] || (l[1] = (h) => e(a).colors.one = h)
|
|
2490
|
+
}, null, 8, ["model-value"])) : w("", !0)
|
|
2488
2491
|
]),
|
|
2489
2492
|
_: 1
|
|
2490
2493
|
})
|
|
2491
2494
|
], 64);
|
|
2492
2495
|
};
|
|
2493
2496
|
}
|
|
2494
|
-
}), ws = { class: "text-center mt-n9 mb-4" }, Ss = /* @__PURE__ */
|
|
2497
|
+
}), ws = { class: "text-center mt-n9 mb-4" }, Ss = /* @__PURE__ */ V({
|
|
2495
2498
|
__name: "VoUserMenu",
|
|
2496
2499
|
setup(u) {
|
|
2497
|
-
const
|
|
2498
|
-
return (
|
|
2499
|
-
const
|
|
2500
|
+
const t = X();
|
|
2501
|
+
return (a, o) => {
|
|
2502
|
+
const n = xs, r = Vs, l = _s, c = ms, h = uo;
|
|
2500
2503
|
return d(), _(to, {
|
|
2501
|
-
modelValue: t
|
|
2502
|
-
"onUpdate:modelValue":
|
|
2504
|
+
modelValue: e(t).isOpen,
|
|
2505
|
+
"onUpdate:modelValue": o[0] || (o[0] = (p) => e(t).isOpen = p),
|
|
2503
2506
|
"close-on-click": !1,
|
|
2504
2507
|
"close-on-content-click": !1,
|
|
2505
2508
|
activator: "parent",
|
|
2506
2509
|
location: "bottom end",
|
|
2507
2510
|
eager: ""
|
|
2508
2511
|
}, {
|
|
2509
|
-
default:
|
|
2512
|
+
default: i(() => [
|
|
2510
2513
|
s(T, {
|
|
2511
2514
|
rounded: "lg",
|
|
2512
2515
|
width: "280",
|
|
2513
2516
|
border: ""
|
|
2514
2517
|
}, {
|
|
2515
|
-
default:
|
|
2516
|
-
s(
|
|
2518
|
+
default: i(() => [
|
|
2519
|
+
s(n),
|
|
2517
2520
|
v("div", ws, [
|
|
2518
|
-
s(
|
|
2521
|
+
s(r),
|
|
2519
2522
|
s(l)
|
|
2520
2523
|
]),
|
|
2521
2524
|
s(R),
|
|
@@ -2530,54 +2533,52 @@ const Ge = K("settings", () => {
|
|
|
2530
2533
|
}, 8, ["modelValue"]);
|
|
2531
2534
|
};
|
|
2532
2535
|
}
|
|
2533
|
-
}), Cs = { key: 0 }, Ls = /* @__PURE__ */
|
|
2536
|
+
}), Cs = { key: 0 }, Ls = /* @__PURE__ */ V({
|
|
2534
2537
|
__name: "VoAuthBtn",
|
|
2535
2538
|
props: {
|
|
2536
2539
|
external: Boolean
|
|
2537
2540
|
},
|
|
2538
2541
|
setup(u) {
|
|
2539
|
-
const
|
|
2542
|
+
const t = B(), a = X(), o = H(), { lgAndUp: n, mdAndDown: r } = fe();
|
|
2540
2543
|
return (l, c) => {
|
|
2541
2544
|
const h = Ss, p = ae;
|
|
2542
2545
|
return d(), _(p, ce({
|
|
2543
|
-
[`${
|
|
2546
|
+
[`${e(n) ? "append-" : ""}icon`]: e(t).user ? void 0 : `svg:${e(Bt)}`
|
|
2544
2547
|
}, {
|
|
2545
|
-
color:
|
|
2546
|
-
icon: t(
|
|
2547
|
-
|
|
2548
|
+
color: e(a).isOpen || !e(t).user ? "primary" : "surface-light",
|
|
2549
|
+
icon: e(t).user || e(t).isLoading,
|
|
2550
|
+
loading: e(t).isLoading,
|
|
2551
|
+
rounded: e(r),
|
|
2552
|
+
variant: e(t).user ? "outlined" : "flat",
|
|
2548
2553
|
class: "vo-auth-btn",
|
|
2549
2554
|
size: "default",
|
|
2550
|
-
variant: "outlined",
|
|
2551
2555
|
active: ""
|
|
2552
2556
|
}), {
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
default: n(() => [
|
|
2557
|
-
t(o).user ? S("", !0) : (d(), w("span", Cs, "Login")),
|
|
2558
|
-
t(o).user ? (d(), _(ue, {
|
|
2557
|
+
default: i(() => [
|
|
2558
|
+
e(t).user ? w("", !0) : (d(), x("span", Cs, "Login")),
|
|
2559
|
+
e(t).user ? (d(), _(ue, {
|
|
2559
2560
|
key: 1,
|
|
2560
|
-
image:
|
|
2561
|
-
}, null, 8, ["image"])) :
|
|
2561
|
+
image: e(o).avatar || e(t).user.picture || ""
|
|
2562
|
+
}, null, 8, ["image"])) : w("", !0),
|
|
2562
2563
|
s(h)
|
|
2563
2564
|
]),
|
|
2564
2565
|
_: 1
|
|
2565
|
-
}, 16, ["color", "icon", "rounded"]);
|
|
2566
|
+
}, 16, ["color", "icon", "loading", "rounded", "variant"]);
|
|
2566
2567
|
};
|
|
2567
2568
|
}
|
|
2568
2569
|
});
|
|
2569
|
-
const Ye = (u,
|
|
2570
|
-
const
|
|
2571
|
-
for (const [
|
|
2572
|
-
|
|
2573
|
-
return
|
|
2574
|
-
}, Is = /* @__PURE__ */ Ye(Ls, [["__scopeId", "data-v-
|
|
2570
|
+
const Ye = (u, t) => {
|
|
2571
|
+
const a = u.__vccOpts || u;
|
|
2572
|
+
for (const [o, n] of t)
|
|
2573
|
+
a[o] = n;
|
|
2574
|
+
return a;
|
|
2575
|
+
}, Is = /* @__PURE__ */ Ye(Ls, [["__scopeId", "data-v-f6db0114"]]), As = (u) => (et("data-v-86d0e524"), u = u(), tt(), u), Ds = ["href", "title"], Us = {
|
|
2575
2576
|
class: "text-caption text-disabled",
|
|
2576
2577
|
style: { position: "absolute", right: "16px" }
|
|
2577
|
-
}, Fs = /* @__PURE__ */ As(() => /* @__PURE__ */ v("span", { class: "d-none d-sm-inline-block" }, "Vuetify, LLC", -1)), js = /* @__PURE__ */
|
|
2578
|
+
}, Fs = /* @__PURE__ */ As(() => /* @__PURE__ */ v("span", { class: "d-none d-sm-inline-block" }, "Vuetify, LLC", -1)), js = /* @__PURE__ */ V({
|
|
2578
2579
|
__name: "VoFooter",
|
|
2579
2580
|
setup(u) {
|
|
2580
|
-
const
|
|
2581
|
+
const t = [
|
|
2581
2582
|
{
|
|
2582
2583
|
title: "Vuetify Documentation",
|
|
2583
2584
|
icon: "$vuetify",
|
|
@@ -2595,12 +2596,12 @@ const Ye = (u, o) => {
|
|
|
2595
2596
|
},
|
|
2596
2597
|
{
|
|
2597
2598
|
title: "Vuetify GitHub",
|
|
2598
|
-
icon: `svg:${
|
|
2599
|
+
icon: `svg:${Te}`,
|
|
2599
2600
|
href: "https://github.com/vuetifyjs/vuetify"
|
|
2600
2601
|
},
|
|
2601
2602
|
{
|
|
2602
2603
|
title: "Vuetify Discord",
|
|
2603
|
-
icon: `svg:${
|
|
2604
|
+
icon: `svg:${ze}`,
|
|
2604
2605
|
href: "https://community.vuetifyjs.com/"
|
|
2605
2606
|
},
|
|
2606
2607
|
{
|
|
@@ -2609,22 +2610,22 @@ const Ye = (u, o) => {
|
|
|
2609
2610
|
href: "https://reddit.com/r/vuetifyjs"
|
|
2610
2611
|
}
|
|
2611
2612
|
];
|
|
2612
|
-
return (
|
|
2613
|
+
return (a, o) => (d(), _(oo, {
|
|
2613
2614
|
class: "vo-footer",
|
|
2614
2615
|
height: "40"
|
|
2615
2616
|
}, {
|
|
2616
|
-
default:
|
|
2617
|
-
(d(),
|
|
2618
|
-
key:
|
|
2619
|
-
href:
|
|
2620
|
-
title:
|
|
2617
|
+
default: i(() => [
|
|
2618
|
+
(d(), x(F, null, te(t, (n) => v("a", {
|
|
2619
|
+
key: n.title,
|
|
2620
|
+
href: n.href,
|
|
2621
|
+
title: n.title,
|
|
2621
2622
|
class: "d-inline-block mx-2 social-link",
|
|
2622
2623
|
rel: "noopener noreferrer",
|
|
2623
2624
|
target: "_blank"
|
|
2624
2625
|
}, [
|
|
2625
2626
|
s(N, {
|
|
2626
|
-
icon:
|
|
2627
|
-
size:
|
|
2627
|
+
icon: n.icon,
|
|
2628
|
+
size: n.icon === "$vuetify" ? 24 : 16
|
|
2628
2629
|
}, null, 8, ["icon", "size"])
|
|
2629
2630
|
], 8, Ds)), 64)),
|
|
2630
2631
|
v("div", Us, [
|
|
@@ -2637,94 +2638,94 @@ const Ye = (u, o) => {
|
|
|
2637
2638
|
}
|
|
2638
2639
|
});
|
|
2639
2640
|
const Ns = /* @__PURE__ */ Ye(js, [["__scopeId", "data-v-86d0e524"]]), Vn = K("bins", () => {
|
|
2640
|
-
const u =
|
|
2641
|
-
W(
|
|
2642
|
-
window.clearTimeout(
|
|
2643
|
-
!
|
|
2641
|
+
const u = B(), t = he(), a = Z([]), o = Z(), n = U(!1), r = U(-1), l = A(() => !u.user || !o.value ? !1 : u.user.id === o.value.owner.id), c = A(() => a.value.filter((g) => g.favorite)), h = A(() => a.value.filter((g) => g.pinned));
|
|
2642
|
+
W(o, () => {
|
|
2643
|
+
window.clearTimeout(r.value), r.value = window.setTimeout(() => {
|
|
2644
|
+
!o.value || !l.value || m(o.value, o.value.id);
|
|
2644
2645
|
}, 100);
|
|
2645
2646
|
}, { deep: !0 });
|
|
2646
2647
|
async function p() {
|
|
2647
2648
|
try {
|
|
2648
|
-
|
|
2649
|
-
const g = await
|
|
2650
|
-
|
|
2649
|
+
n.value = !0;
|
|
2650
|
+
const g = await t.get("/one/bins");
|
|
2651
|
+
a.value = g.bins;
|
|
2651
2652
|
} catch {
|
|
2652
2653
|
} finally {
|
|
2653
|
-
|
|
2654
|
+
n.value = !1;
|
|
2654
2655
|
}
|
|
2655
|
-
return
|
|
2656
|
+
return a.value;
|
|
2656
2657
|
}
|
|
2657
|
-
async function
|
|
2658
|
+
async function y(g) {
|
|
2658
2659
|
try {
|
|
2659
|
-
|
|
2660
|
+
n.value = !0, await t.delete(`/one/bins/${g}`), a.value = a.value.filter(($) => $.id !== g);
|
|
2660
2661
|
} catch {
|
|
2661
2662
|
} finally {
|
|
2662
|
-
|
|
2663
|
+
n.value = !1;
|
|
2663
2664
|
}
|
|
2664
2665
|
return !0;
|
|
2665
2666
|
}
|
|
2666
2667
|
async function L(g) {
|
|
2667
2668
|
try {
|
|
2668
|
-
|
|
2669
|
-
const $ = await
|
|
2670
|
-
return
|
|
2669
|
+
n.value = !0;
|
|
2670
|
+
const $ = await t.post("/one/bins", { bin: g });
|
|
2671
|
+
return a.value.push($.bin), o.value = $.bin, $;
|
|
2671
2672
|
} catch {
|
|
2672
2673
|
} finally {
|
|
2673
|
-
|
|
2674
|
+
n.value = !1;
|
|
2674
2675
|
}
|
|
2675
2676
|
return { bin: g };
|
|
2676
2677
|
}
|
|
2677
2678
|
async function m(g, $) {
|
|
2678
2679
|
try {
|
|
2679
|
-
|
|
2680
|
-
const I = await
|
|
2681
|
-
|
|
2680
|
+
n.value = !0;
|
|
2681
|
+
const I = await t.post(`/one/bins/${$}`, { bin: g }), O = a.value.findIndex((S) => S.id === $);
|
|
2682
|
+
a.value.splice(O, 1, I.bin);
|
|
2682
2683
|
} catch {
|
|
2683
2684
|
} finally {
|
|
2684
|
-
|
|
2685
|
+
n.value = !1;
|
|
2685
2686
|
}
|
|
2686
2687
|
return { bin: g };
|
|
2687
2688
|
}
|
|
2688
|
-
async function
|
|
2689
|
+
async function k(g, $) {
|
|
2689
2690
|
try {
|
|
2690
|
-
|
|
2691
|
+
n.value = !0;
|
|
2691
2692
|
const I = $ ? await m(g, $) : await L(g);
|
|
2692
|
-
|
|
2693
|
+
o.value = I.bin;
|
|
2693
2694
|
} catch {
|
|
2694
2695
|
} finally {
|
|
2695
|
-
|
|
2696
|
+
n.value = !1;
|
|
2696
2697
|
}
|
|
2697
2698
|
return { bin: g };
|
|
2698
2699
|
}
|
|
2699
2700
|
async function D(g) {
|
|
2700
2701
|
try {
|
|
2701
|
-
|
|
2702
|
-
const $ = await
|
|
2703
|
-
|
|
2702
|
+
n.value = !0;
|
|
2703
|
+
const $ = await t.get(`/one/bins/${g}`);
|
|
2704
|
+
o.value = $.bin;
|
|
2704
2705
|
} catch {
|
|
2705
2706
|
} finally {
|
|
2706
|
-
|
|
2707
|
+
n.value = !1;
|
|
2707
2708
|
}
|
|
2708
|
-
return { bin:
|
|
2709
|
+
return { bin: o.value };
|
|
2709
2710
|
}
|
|
2710
2711
|
return {
|
|
2711
|
-
isLoading:
|
|
2712
|
+
isLoading: n,
|
|
2712
2713
|
isOwner: l,
|
|
2713
2714
|
pinned: h,
|
|
2714
2715
|
favorites: c,
|
|
2715
|
-
all:
|
|
2716
|
+
all: a,
|
|
2716
2717
|
create: L,
|
|
2717
|
-
delete:
|
|
2718
|
-
current:
|
|
2718
|
+
delete: y,
|
|
2719
|
+
current: o,
|
|
2719
2720
|
find: D,
|
|
2720
2721
|
get: p,
|
|
2721
2722
|
update: m,
|
|
2722
|
-
updateOrCreate:
|
|
2723
|
+
updateOrCreate: k
|
|
2723
2724
|
};
|
|
2724
2725
|
});
|
|
2725
2726
|
function kn() {
|
|
2726
|
-
function u(
|
|
2727
|
-
|
|
2727
|
+
function u(t) {
|
|
2728
|
+
t.component("VoAuthBtn", Is), t.component("VoFooter", Ns);
|
|
2728
2729
|
}
|
|
2729
2730
|
return { install: u };
|
|
2730
2731
|
}
|
|
@@ -2734,9 +2735,9 @@ function $n(u) {
|
|
|
2734
2735
|
export {
|
|
2735
2736
|
kn as createOne,
|
|
2736
2737
|
$n as one,
|
|
2737
|
-
|
|
2738
|
+
B as useAuthStore,
|
|
2738
2739
|
Vn as useBinsStore,
|
|
2739
|
-
|
|
2740
|
+
he as useHttpStore,
|
|
2740
2741
|
X as useOneStore,
|
|
2741
2742
|
Ge as useSettingsStore,
|
|
2742
2743
|
H as useUserStore
|