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