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