@vuetify/one 1.7.0 → 1.7.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 +1 -1
- package/dist/index.js +665 -665
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import { reactive as
|
|
2
|
-
import { mdiStorefront as
|
|
3
|
-
import { useRouter as
|
|
1
|
+
import { reactive as Ut, watch as N, toRefs as Nt, ref as B, shallowRef as A, defineComponent as k, computed as x, openBlock as d, createBlock as _, unref as t, createSlots as P, withCtx as r, createElementVNode as b, toDisplayString as C, createVNode as i, createTextVNode as T, renderSlot as O, normalizeStyle as it, createCommentVNode as S, withModifiers as Ye, mergeModels as rt, useModel as le, createElementBlock as I, Fragment as U, onMounted as Be, nextTick as de, renderList as oe, mergeProps as W, withDirectives as xe, vShow as Ue, isRef as ne, resolveComponent as Ne, normalizeClass as Tt, onBeforeMount as Je, onBeforeUnmount as zt, pushScopeId as Ft, popScopeId as jt } from "vue";
|
|
2
|
+
import { mdiStorefront as Mt, mdiDiscord as Xe, mdiGithub as Ke, mdiSync as Pt, mdiSyncOff as Ht, mdiLogoutVariant as Rt, mdiFullscreenExit as Et, mdiFullscreen as Wt, mdiCheck as Te, mdiHome as qt, mdiTextBox as Gt, mdiSelect as Zt, mdiSpaceInvaders as lt, mdiImageFilterHdr as ct, mdiRocketLaunchOutline as ut, mdiWhiteBalanceSunny as Qt, mdiWeatherNight as Yt, mdiDesktopTowerMonitor as Jt, mdiContrastCircle as Xt, mdiCog as Kt, mdiCogOutline as eo, mdiFileDocument as to, mdiCreditCardSettingsOutline as oo, mdiRocketOutline as no, mdiCheckCircleOutline as Oe, mdiCreditCard as so, mdiReload as ao, mdiPlaylistCheck as io, mdiCreditCardOutline as ro, mdiMedal as lo, mdiOpenInNew as ze, mdiHandHeart as co, mdiHandHeartOutline as uo, mdiCloudDownload as po, mdiTrayArrowDown as st, mdiEmailOpenOutline as dt, mdiEmailVariant as pt, mdiBell as mo, mdiInboxOutline as fo, mdiInboxFullOutline as vo, mdiBillboard as _o, mdiBellOutline as ho, mdiViewDashboardOutline as go, mdiCrown as yo, mdiArrowULeftBottom as bo, mdiLogin as Vo, mdiShieldStarOutline as ko, mdiReddit as $o } from "@mdi/js";
|
|
3
|
+
import { useRouter as Fe, useRoute as wo } from "vue-router";
|
|
4
4
|
import { defineStore as G } from "pinia";
|
|
5
|
-
import { merge as
|
|
6
|
-
import { VListItem as pe, VList as ie, VListItemTitle as
|
|
7
|
-
import { VAvatar as
|
|
8
|
-
import { VCard as H, VCardTitle as
|
|
9
|
-
import { VDialog as
|
|
10
|
-
import { VBadge as
|
|
5
|
+
import { merge as qe } from "lodash-es";
|
|
6
|
+
import { VListItem as pe, VList as ie, VListItemTitle as mt, VListItemSubtitle as xo } from "vuetify/lib/components/VList/index.mjs";
|
|
7
|
+
import { VAvatar as K } from "vuetify/lib/components/VAvatar/index.mjs";
|
|
8
|
+
import { VCard as H, VCardTitle as So, VCardSubtitle as Co, VCardText as ue } from "vuetify/lib/components/VCard/index.mjs";
|
|
9
|
+
import { VDialog as ft } from "vuetify/lib/components/VDialog/index.mjs";
|
|
10
|
+
import { VBadge as et } from "vuetify/lib/components/VBadge/index.mjs";
|
|
11
11
|
import { VBtn as q } from "vuetify/lib/components/VBtn/index.mjs";
|
|
12
|
-
import { VProgressCircular as
|
|
12
|
+
import { VProgressCircular as Lo } from "vuetify/lib/components/VProgressCircular/index.mjs";
|
|
13
13
|
import { VSheet as $e } from "vuetify/lib/components/VSheet/index.mjs";
|
|
14
|
-
import { VSwitch as
|
|
15
|
-
import { VFadeTransition as
|
|
16
|
-
import { useDisplay as ce, useTheme as
|
|
17
|
-
import { VDivider as
|
|
18
|
-
import { VIcon as
|
|
19
|
-
import { VLabel as
|
|
14
|
+
import { VSwitch as vt } from "vuetify/lib/components/VSwitch/index.mjs";
|
|
15
|
+
import { VFadeTransition as je, VExpandTransition as me, VExpandXTransition as Io } from "vuetify/lib/components/transitions/index.mjs";
|
|
16
|
+
import { useDisplay as ce, useTheme as Me, useDate as Se } from "vuetify";
|
|
17
|
+
import { VDivider as Q } from "vuetify/lib/components/VDivider/index.mjs";
|
|
18
|
+
import { VIcon as D } from "vuetify/lib/components/VIcon/index.mjs";
|
|
19
|
+
import { VLabel as Ze } from "vuetify/lib/components/VLabel/index.mjs";
|
|
20
20
|
import { VChip as te } from "vuetify/lib/components/VChip/index.mjs";
|
|
21
|
-
import { VChipGroup as
|
|
21
|
+
import { VChipGroup as Ao } from "vuetify/lib/components/VChipGroup/index.mjs";
|
|
22
22
|
import { VSelect as Do } from "vuetify/lib/components/VSelect/index.mjs";
|
|
23
|
-
import { VRow as re, VCol as
|
|
24
|
-
import { VHover as
|
|
25
|
-
import { VImg as
|
|
26
|
-
import { VItemGroup as
|
|
23
|
+
import { VRow as re, VCol as X, VContainer as at } from "vuetify/lib/components/VGrid/index.mjs";
|
|
24
|
+
import { VHover as Pe } from "vuetify/lib/components/VHover/index.mjs";
|
|
25
|
+
import { VImg as Y } from "vuetify/lib/components/VImg/index.mjs";
|
|
26
|
+
import { VItemGroup as _t, VItem as Qe } from "vuetify/lib/components/VItemGroup/index.mjs";
|
|
27
27
|
import { VLayout as fe } from "vuetify/lib/components/VLayout/index.mjs";
|
|
28
28
|
import { VMain as ve } from "vuetify/lib/components/VMain/index.mjs";
|
|
29
|
-
import { VDataTableVirtual as
|
|
29
|
+
import { VDataTableVirtual as ht } from "vuetify/lib/components/VDataTable/index.mjs";
|
|
30
30
|
import { VSkeletonLoader as we } from "vuetify/lib/components/VSkeletonLoader/index.mjs";
|
|
31
|
-
import { VWindow as
|
|
32
|
-
import { VTimelineItem as
|
|
31
|
+
import { VWindow as gt, VWindowItem as ke } from "vuetify/lib/components/VWindow/index.mjs";
|
|
32
|
+
import { VTimelineItem as Oo, VTimeline as Bo } from "vuetify/lib/components/VTimeline/index.mjs";
|
|
33
33
|
import { VTooltip as ee } from "vuetify/lib/components/VTooltip/index.mjs";
|
|
34
|
-
import { VResponsive as
|
|
35
|
-
import { VNavigationDrawer as
|
|
36
|
-
import { Ripple as
|
|
37
|
-
import { VColorPicker as
|
|
38
|
-
import { VMenu as
|
|
39
|
-
import { VAppBar as
|
|
40
|
-
import { VLazy as
|
|
41
|
-
import { VFooter as
|
|
34
|
+
import { VResponsive as Uo } from "vuetify/lib/components/VResponsive/index.mjs";
|
|
35
|
+
import { VNavigationDrawer as No } from "vuetify/lib/components/VNavigationDrawer/index.mjs";
|
|
36
|
+
import { Ripple as To } from "vuetify/lib/directives/index.mjs";
|
|
37
|
+
import { VColorPicker as zo } from "vuetify/lib/components/VColorPicker/index.mjs";
|
|
38
|
+
import { VMenu as Fo } from "vuetify/components";
|
|
39
|
+
import { VAppBar as yt } from "vuetify/lib/components/VAppBar/index.mjs";
|
|
40
|
+
import { VLazy as jo } from "vuetify/lib/components/VLazy/index.mjs";
|
|
41
|
+
import { VFooter as Mo } from "vuetify/lib/components/VFooter/index.mjs";
|
|
42
42
|
const se = G("http", {
|
|
43
43
|
state: () => ({
|
|
44
44
|
url: ""
|
|
@@ -78,7 +78,7 @@ const se = G("http", {
|
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
|
-
}),
|
|
81
|
+
}), Ge = typeof window < "u", De = {
|
|
82
82
|
v: 5,
|
|
83
83
|
api: "link-only",
|
|
84
84
|
avatar: "",
|
|
@@ -118,35 +118,35 @@ const se = G("http", {
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
}, z = G("user", () => {
|
|
121
|
-
const c =
|
|
121
|
+
const c = Ut(qe({}, De));
|
|
122
122
|
N(c, o);
|
|
123
123
|
function e() {
|
|
124
|
-
if (!
|
|
124
|
+
if (!Ge)
|
|
125
125
|
return;
|
|
126
126
|
const n = localStorage.getItem("vuetify@user"), s = n ? JSON.parse(n) : {};
|
|
127
127
|
let l = s.v === c.v;
|
|
128
|
-
s.v || (s.pwaRefresh = !0, typeof s.api == "boolean" && (s.api = s.api ? "inline" : "link-only"), typeof s.rtl == "boolean" && (s.direction = s.rtl ? "rtl" : "ltr", delete s.rtl), typeof s.theme == "object" && (s.mixedTheme = s.theme.mixed, s.theme = s.theme.system ? "system" : s.theme.dark ? "dark" : "light"), Array.isArray(s.notifications) && (s.notifications = { read: s.notifications }), typeof s.last == "object" && (s.notifications.last = s.last, delete s.last)), s.v === 1 && (Array.isArray(s.composition) && (s.composition = "composition"), Array.isArray(s.notifications.last.banner) || (s.notifications = s.notifications || {}, s.notifications.last = s.notifications.last || {}, s.notifications.last.banner = [])), s.v === 2 && (s.syncSettings = !0, s.disableAds = !1, s.v = 3), s.v === 3 && (s.quickbar = !1), s.v === 4 && (s.suits = De.suits, s.notifications.banners = De.notifications.banners, l = !0), s.v = c.v, Object.assign(c,
|
|
128
|
+
s.v || (s.pwaRefresh = !0, typeof s.api == "boolean" && (s.api = s.api ? "inline" : "link-only"), typeof s.rtl == "boolean" && (s.direction = s.rtl ? "rtl" : "ltr", delete s.rtl), typeof s.theme == "object" && (s.mixedTheme = s.theme.mixed, s.theme = s.theme.system ? "system" : s.theme.dark ? "dark" : "light"), Array.isArray(s.notifications) && (s.notifications = { read: s.notifications }), typeof s.last == "object" && (s.notifications.last = s.last, delete s.last)), s.v === 1 && (Array.isArray(s.composition) && (s.composition = "composition"), Array.isArray(s.notifications.last.banner) || (s.notifications = s.notifications || {}, s.notifications.last = s.notifications.last || {}, s.notifications.last.banner = [])), s.v === 2 && (s.syncSettings = !0, s.disableAds = !1, s.v = 3), s.v === 3 && (s.quickbar = !1), s.v === 4 && (s.suits = De.suits, s.notifications.banners = De.notifications.banners, l = !0), s.v = c.v, Object.assign(c, qe(c, s)), l && o();
|
|
129
129
|
}
|
|
130
130
|
function o() {
|
|
131
|
-
|
|
131
|
+
Ge && localStorage.setItem("vuetify@user", JSON.stringify(c, null, 2));
|
|
132
132
|
}
|
|
133
133
|
function a() {
|
|
134
|
-
|
|
134
|
+
Ge && (Object.assign(c, qe({}, De)), o());
|
|
135
135
|
}
|
|
136
136
|
return e(), {
|
|
137
|
-
...
|
|
137
|
+
...Nt(c),
|
|
138
138
|
load: e,
|
|
139
139
|
save: o,
|
|
140
140
|
reset: a
|
|
141
141
|
};
|
|
142
142
|
}), R = G("auth", () => {
|
|
143
|
-
const c = B(!1), e = B(null), o = se(), a = z(), n =
|
|
143
|
+
const c = B(!1), e = B(null), o = se(), a = z(), n = Fe(), s = A(!1);
|
|
144
144
|
let l = !!y();
|
|
145
|
-
N(e, (
|
|
146
|
-
if (!(
|
|
145
|
+
N(e, (v) => {
|
|
146
|
+
if (!(v != null && v.settings))
|
|
147
147
|
return;
|
|
148
148
|
const g = localStorage.getItem("vuetify@user") || "{}";
|
|
149
|
-
JSON.stringify(
|
|
149
|
+
JSON.stringify(v.settings, null, 2) !== g && (l = !0, Object.assign(a, v.settings));
|
|
150
150
|
}), a.$subscribe(() => {
|
|
151
151
|
l || p(), l = !1;
|
|
152
152
|
});
|
|
@@ -154,16 +154,16 @@ const se = G("http", {
|
|
|
154
154
|
if (!(!e.value || !a.syncSettings))
|
|
155
155
|
try {
|
|
156
156
|
await o.post("/user/settings", { settings: a.$state });
|
|
157
|
-
} catch (
|
|
158
|
-
console.error(
|
|
157
|
+
} catch (v) {
|
|
158
|
+
console.error(v);
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
|
-
async function u(
|
|
161
|
+
async function u(v = !1) {
|
|
162
162
|
if (u.promise)
|
|
163
163
|
return u.promise;
|
|
164
164
|
s.value = !0, u.promise = fetch(`${o.url}/auth/verify`, {
|
|
165
165
|
credentials: "include",
|
|
166
|
-
headers:
|
|
166
|
+
headers: v ? {
|
|
167
167
|
"Cache-Control": "no-cache"
|
|
168
168
|
} : void 0
|
|
169
169
|
}).then(
|
|
@@ -177,17 +177,17 @@ const se = G("http", {
|
|
|
177
177
|
});
|
|
178
178
|
}
|
|
179
179
|
u.promise = null;
|
|
180
|
-
async function m(
|
|
180
|
+
async function m(v = "github") {
|
|
181
181
|
s.value = !0;
|
|
182
|
-
const g = `${o.url}/auth/${
|
|
183
|
-
if (
|
|
182
|
+
const g = `${o.url}/auth/${v}/redirect`;
|
|
183
|
+
if (v === "shopify") {
|
|
184
184
|
window.location.assign(g + "?next=" + encodeURIComponent(window.location.href));
|
|
185
185
|
return;
|
|
186
186
|
}
|
|
187
|
-
const h = 400, $ = 600,
|
|
187
|
+
const h = 400, $ = 600, F = window.screenX + (window.innerWidth - h) / 2, M = window.screenY + (window.innerHeight - $) / 2, E = window.open(
|
|
188
188
|
"",
|
|
189
189
|
"vuetify:authorize:popup",
|
|
190
|
-
`popup,left=${
|
|
190
|
+
`popup,left=${F},top=${M},width=${h},height=${$},resizable`
|
|
191
191
|
);
|
|
192
192
|
if (!E) {
|
|
193
193
|
console.error("Failed to open popup");
|
|
@@ -197,7 +197,7 @@ const se = G("http", {
|
|
|
197
197
|
let Ce = -1, Le = -1;
|
|
198
198
|
function Ie(ae) {
|
|
199
199
|
var Ve;
|
|
200
|
-
ae.origin === o.url && ((Ve = ae.data) == null ? void 0 : Ve.type) === "auth-response" && (ae.data.status === "success" ? (e.value || localStorage.setItem("vuetify@lastLoginProvider",
|
|
200
|
+
ae.origin === o.url && ((Ve = ae.data) == null ? void 0 : Ve.type) === "auth-response" && (ae.data.status === "success" ? (e.value || localStorage.setItem("vuetify@lastLoginProvider", v), e.value = ae.data.body.user, n.push({
|
|
201
201
|
path: "/user/dashboard/",
|
|
202
202
|
query: n.currentRoute.value.query
|
|
203
203
|
}), p()) : console.error(ae.data.message), be());
|
|
@@ -211,9 +211,9 @@ const se = G("http", {
|
|
|
211
211
|
be(), console.error("Auth timed out");
|
|
212
212
|
}, 120 * 1e3);
|
|
213
213
|
}
|
|
214
|
-
async function v
|
|
214
|
+
async function f(v) {
|
|
215
215
|
s.value = !0;
|
|
216
|
-
const g =
|
|
216
|
+
const g = v ? `/auth/${v}/logout` : "/auth/logout";
|
|
217
217
|
try {
|
|
218
218
|
await o.post(g), await u(!0), e.value = null;
|
|
219
219
|
} catch (h) {
|
|
@@ -225,9 +225,9 @@ const se = G("http", {
|
|
|
225
225
|
}), s.value = !1;
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
|
-
function V(
|
|
228
|
+
function V(v) {
|
|
229
229
|
var g;
|
|
230
|
-
return (g = e.value) == null ? void 0 : g.identities.find((h) => h.provider ===
|
|
230
|
+
return (g = e.value) == null ? void 0 : g.identities.find((h) => h.provider === v);
|
|
231
231
|
}
|
|
232
232
|
function y() {
|
|
233
233
|
return localStorage.getItem("vuetify@lastLoginProvider");
|
|
@@ -240,115 +240,115 @@ const se = G("http", {
|
|
|
240
240
|
findIdentity: V,
|
|
241
241
|
verify: u,
|
|
242
242
|
login: m,
|
|
243
|
-
logout:
|
|
243
|
+
logout: f,
|
|
244
244
|
lastLoginProvider: y,
|
|
245
245
|
sync: p
|
|
246
246
|
};
|
|
247
|
-
}),
|
|
247
|
+
}), Po = { class: "text-body-2" }, Ho = /* @__PURE__ */ b("div", { class: "text-caption mt-n1" }, "Last Used", -1), bt = /* @__PURE__ */ k({
|
|
248
248
|
__name: "VoAuthShopify",
|
|
249
249
|
setup(c) {
|
|
250
250
|
const e = R(), o = x(() => e.user && e.findIdentity("shopify")), a = x(() => e.user ? o.value ? "Connected to Shopify" : "Connect Shopify" : "Login with Shopify");
|
|
251
251
|
return (n, s) => (d(), _(pe, {
|
|
252
252
|
"base-color": "#5b8a3c",
|
|
253
|
-
"prepend-icon": `svg:${t(
|
|
253
|
+
"prepend-icon": `svg:${t(Mt)}`,
|
|
254
254
|
rounded: "pill",
|
|
255
255
|
slim: "",
|
|
256
256
|
variant: "flat",
|
|
257
257
|
onClick: s[0] || (s[0] = (l) => t(e).login("shopify"))
|
|
258
258
|
}, P({
|
|
259
259
|
title: r(() => [
|
|
260
|
-
b("span",
|
|
260
|
+
b("span", Po, C(t(a)), 1)
|
|
261
261
|
]),
|
|
262
262
|
_: 2
|
|
263
263
|
}, [
|
|
264
264
|
!t(e).user && t(e).lastLoginProvider() === "shopify" ? {
|
|
265
265
|
name: "subtitle",
|
|
266
266
|
fn: r(() => [
|
|
267
|
-
|
|
267
|
+
Ho
|
|
268
268
|
]),
|
|
269
269
|
key: "0"
|
|
270
270
|
} : void 0
|
|
271
271
|
]), 1032, ["prepend-icon"]));
|
|
272
272
|
}
|
|
273
|
-
}),
|
|
273
|
+
}), Ro = { class: "text-body-2" }, Eo = /* @__PURE__ */ b("div", { class: "text-caption mt-n1" }, "Last Used", -1), Vt = /* @__PURE__ */ k({
|
|
274
274
|
__name: "VoAuthDiscord",
|
|
275
275
|
setup(c) {
|
|
276
276
|
const e = R(), o = x(() => e.user && e.findIdentity("discord")), a = x(() => e.user ? o.value ? "Connected to Discord" : "Connect Discord" : "Login with Discord");
|
|
277
277
|
return (n, s) => (d(), _(pe, {
|
|
278
278
|
"base-color": "#5865F2",
|
|
279
|
-
"prepend-icon": `svg:${t(
|
|
279
|
+
"prepend-icon": `svg:${t(Xe)}`,
|
|
280
280
|
rounded: "pill",
|
|
281
281
|
slim: "",
|
|
282
282
|
variant: "flat",
|
|
283
283
|
onClick: s[0] || (s[0] = (l) => t(e).login("discord"))
|
|
284
284
|
}, P({
|
|
285
285
|
title: r(() => [
|
|
286
|
-
b("span",
|
|
286
|
+
b("span", Ro, C(t(a)), 1)
|
|
287
287
|
]),
|
|
288
288
|
_: 2
|
|
289
289
|
}, [
|
|
290
290
|
!t(e).user && t(e).lastLoginProvider() === "discord" ? {
|
|
291
291
|
name: "subtitle",
|
|
292
292
|
fn: r(() => [
|
|
293
|
-
|
|
293
|
+
Eo
|
|
294
294
|
]),
|
|
295
295
|
key: "0"
|
|
296
296
|
} : void 0
|
|
297
297
|
]), 1032, ["prepend-icon"]));
|
|
298
298
|
}
|
|
299
|
-
}),
|
|
299
|
+
}), Wo = { class: "text-body-2" }, qo = /* @__PURE__ */ b("div", { class: "text-caption mt-n1" }, "Last Used", -1), kt = /* @__PURE__ */ k({
|
|
300
300
|
__name: "VoAuthGithub",
|
|
301
301
|
setup(c) {
|
|
302
302
|
const e = R(), o = x(() => e.user && e.findIdentity("github")), a = x(() => e.user ? o.value ? "Connected to GitHub" : "Connect GitHub" : "Login with GitHub");
|
|
303
303
|
return (n, s) => (d(), _(pe, {
|
|
304
304
|
"base-color": "#2a2a2a",
|
|
305
|
-
"prepend-icon": `svg:${t(
|
|
305
|
+
"prepend-icon": `svg:${t(Ke)}`,
|
|
306
306
|
rounded: "pill",
|
|
307
307
|
slim: "",
|
|
308
308
|
variant: "flat",
|
|
309
309
|
onClick: s[0] || (s[0] = (l) => t(e).login("github"))
|
|
310
310
|
}, P({
|
|
311
311
|
title: r(() => [
|
|
312
|
-
b("span",
|
|
312
|
+
b("span", Wo, C(t(a)), 1)
|
|
313
313
|
]),
|
|
314
314
|
_: 2
|
|
315
315
|
}, [
|
|
316
316
|
!t(e).user && t(e).lastLoginProvider() === "github" ? {
|
|
317
317
|
name: "subtitle",
|
|
318
318
|
fn: r(() => [
|
|
319
|
-
|
|
319
|
+
qo
|
|
320
320
|
]),
|
|
321
321
|
key: "0"
|
|
322
322
|
} : void 0
|
|
323
323
|
]), 1032, ["prepend-icon"]));
|
|
324
324
|
}
|
|
325
|
-
}),
|
|
325
|
+
}), Go = { class: "text-center" }, Zo = { class: "text-center mb-6" }, Qo = { class: "font-weight-light mb-2" }, Yo = /* @__PURE__ */ b("span", { class: "font-weight-bold" }, "Vuetify One", -1), $t = /* @__PURE__ */ k({
|
|
326
326
|
__name: "VoAuthCard",
|
|
327
327
|
setup(c) {
|
|
328
328
|
const e = R();
|
|
329
329
|
return (o, a) => {
|
|
330
|
-
const n =
|
|
330
|
+
const n = kt, s = Vt, l = bt;
|
|
331
331
|
return d(), _(H, {
|
|
332
332
|
class: "pt-6 pb-8 px-4 px-sm-8 mx-auto",
|
|
333
333
|
"max-width": "480"
|
|
334
334
|
}, {
|
|
335
335
|
default: r(() => [
|
|
336
|
-
b("div",
|
|
337
|
-
i(
|
|
336
|
+
b("div", Go, [
|
|
337
|
+
i(K, {
|
|
338
338
|
class: "mx-auto",
|
|
339
339
|
image: "https://vuetifyjs.b-cdn.net/docs/images/avatars/one.png",
|
|
340
340
|
size: "64"
|
|
341
341
|
}, null, 8, ["image"])
|
|
342
342
|
]),
|
|
343
|
-
b("div",
|
|
344
|
-
i(
|
|
343
|
+
b("div", Zo, [
|
|
344
|
+
i(So, { class: "text-h5 mb-1 text-md-h4" }, {
|
|
345
345
|
default: r(() => [
|
|
346
|
-
b("div",
|
|
347
|
-
|
|
346
|
+
b("div", Qo, C(t(e).lastLoginProvider() ? "Welcome back to" : "Login to"), 1),
|
|
347
|
+
Yo
|
|
348
348
|
]),
|
|
349
349
|
_: 1
|
|
350
350
|
}),
|
|
351
|
-
i(
|
|
351
|
+
i(Co, { class: "text-wrap" }, {
|
|
352
352
|
default: r(() => [
|
|
353
353
|
T(" Login to save your settings and gain access to exclusive subscriber perks. ")
|
|
354
354
|
]),
|
|
@@ -372,13 +372,13 @@ const se = G("http", {
|
|
|
372
372
|
});
|
|
373
373
|
};
|
|
374
374
|
}
|
|
375
|
-
}),
|
|
375
|
+
}), wt = /* @__PURE__ */ k({
|
|
376
376
|
__name: "VoAuthDialog",
|
|
377
377
|
setup(c) {
|
|
378
378
|
const e = R();
|
|
379
379
|
return (o, a) => {
|
|
380
|
-
const n =
|
|
381
|
-
return d(), _(
|
|
380
|
+
const n = $t;
|
|
381
|
+
return d(), _(ft, {
|
|
382
382
|
modelValue: t(e).dialog,
|
|
383
383
|
"onUpdate:modelValue": a[0] || (a[0] = (s) => t(e).dialog = s),
|
|
384
384
|
"max-width": "480"
|
|
@@ -390,8 +390,8 @@ const se = G("http", {
|
|
|
390
390
|
}, 8, ["modelValue"]);
|
|
391
391
|
};
|
|
392
392
|
}
|
|
393
|
-
}),
|
|
394
|
-
const c = se(), e = z(), o = B([]), a = B([]), n = B(), s =
|
|
393
|
+
}), He = G("notifications", () => {
|
|
394
|
+
const c = se(), e = z(), o = B([]), a = B([]), n = B(), s = A(!1), l = x(() => o.value.filter((g) => !e.notifications.read.includes(g.slug))), p = x(() => o.value.filter((g) => e.notifications.read.includes(g.slug)));
|
|
395
395
|
async function u() {
|
|
396
396
|
try {
|
|
397
397
|
s.value = !0;
|
|
@@ -413,7 +413,7 @@ const se = G("http", {
|
|
|
413
413
|
s.value = !1;
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
|
-
async function
|
|
416
|
+
async function f(g) {
|
|
417
417
|
try {
|
|
418
418
|
s.value = !0;
|
|
419
419
|
const h = await c.form(
|
|
@@ -441,7 +441,7 @@ const se = G("http", {
|
|
|
441
441
|
}
|
|
442
442
|
async function y() {
|
|
443
443
|
}
|
|
444
|
-
async function
|
|
444
|
+
async function v() {
|
|
445
445
|
try {
|
|
446
446
|
s.value = !0;
|
|
447
447
|
const g = await c.get("/one/admin/notifications");
|
|
@@ -456,21 +456,21 @@ const se = G("http", {
|
|
|
456
456
|
isLoading: s,
|
|
457
457
|
all: o,
|
|
458
458
|
aall: a,
|
|
459
|
-
admin:
|
|
459
|
+
admin: v,
|
|
460
460
|
record: n,
|
|
461
461
|
index: u,
|
|
462
462
|
show: m,
|
|
463
|
-
store:
|
|
463
|
+
store: f,
|
|
464
464
|
update: V,
|
|
465
465
|
destroy: y,
|
|
466
466
|
read: p,
|
|
467
467
|
unread: l
|
|
468
468
|
};
|
|
469
|
-
}),
|
|
469
|
+
}), Jo = /* @__PURE__ */ k({
|
|
470
470
|
__name: "VoNotificationsTotalBadge",
|
|
471
471
|
setup(c) {
|
|
472
|
-
const e = R(), o =
|
|
473
|
-
return (s, l) => (d(), _(
|
|
472
|
+
const e = R(), o = He(), a = z(), n = x(() => a.notifications.show ? o.unread.length : 0);
|
|
473
|
+
return (s, l) => (d(), _(et, {
|
|
474
474
|
color: "error",
|
|
475
475
|
content: t(n),
|
|
476
476
|
dot: !!t(e).user,
|
|
@@ -494,14 +494,14 @@ const se = G("http", {
|
|
|
494
494
|
class: "text-none font-weight-regular",
|
|
495
495
|
color: "primary",
|
|
496
496
|
size: "small",
|
|
497
|
-
style:
|
|
497
|
+
style: it({
|
|
498
498
|
pointerEvents: e.readonly ? "none" : void 0
|
|
499
499
|
}),
|
|
500
500
|
tabindex: e.readonly ? -1 : void 0,
|
|
501
501
|
variant: "flat"
|
|
502
502
|
}, P({
|
|
503
503
|
loader: r(() => [
|
|
504
|
-
o.$slots.loader ? S("", !0) : (d(), _(
|
|
504
|
+
o.$slots.loader ? S("", !0) : (d(), _(Lo, {
|
|
505
505
|
key: 0,
|
|
506
506
|
indeterminate: "disable-shrink",
|
|
507
507
|
size: "16",
|
|
@@ -527,10 +527,10 @@ const se = G("http", {
|
|
|
527
527
|
} : void 0
|
|
528
528
|
]), 1032, ["style", "tabindex"]));
|
|
529
529
|
}
|
|
530
|
-
}),
|
|
530
|
+
}), Xo = { class: "pa-4 d-flex flex-column ga-4" }, xt = /* @__PURE__ */ k({
|
|
531
531
|
__name: "VoAuthListItem",
|
|
532
532
|
setup(c) {
|
|
533
|
-
const e = R(), o = z(), a =
|
|
533
|
+
const e = R(), o = z(), a = A(!e.user && !e.isLoading);
|
|
534
534
|
N(() => e.user, (s) => {
|
|
535
535
|
a.value = !s;
|
|
536
536
|
});
|
|
@@ -538,7 +538,7 @@ const se = G("http", {
|
|
|
538
538
|
e.user && (a.value = !a.value);
|
|
539
539
|
}
|
|
540
540
|
return (s, l) => {
|
|
541
|
-
const p =
|
|
541
|
+
const p = kt, u = Vt, m = bt;
|
|
542
542
|
return d(), _(H, {
|
|
543
543
|
class: "ma-2",
|
|
544
544
|
rounded: "lg",
|
|
@@ -551,28 +551,28 @@ const se = G("http", {
|
|
|
551
551
|
class: "mb-0",
|
|
552
552
|
link: !!t(e).user,
|
|
553
553
|
nav: "",
|
|
554
|
-
"prepend-icon": `svg:${t(e).user && t(o).syncSettings ? t(
|
|
554
|
+
"prepend-icon": `svg:${t(e).user && t(o).syncSettings ? t(Pt) : t(Ht)}`,
|
|
555
555
|
rounded: "b-0",
|
|
556
556
|
slim: "",
|
|
557
557
|
title: t(e).user && t(o).syncSettings ? "Sync is on" : "Sync is paused",
|
|
558
558
|
onClick: n
|
|
559
559
|
}, {
|
|
560
560
|
append: r(() => [
|
|
561
|
-
i(
|
|
561
|
+
i(je, null, {
|
|
562
562
|
default: r(() => [
|
|
563
|
-
t(e).user && (t(a) || !t(o).syncSettings) ? (d(), _(
|
|
563
|
+
t(e).user && (t(a) || !t(o).syncSettings) ? (d(), _(vt, {
|
|
564
564
|
key: 0,
|
|
565
565
|
modelValue: t(o).syncSettings,
|
|
566
|
-
"onUpdate:modelValue": l[0] || (l[0] = (
|
|
566
|
+
"onUpdate:modelValue": l[0] || (l[0] = (f) => t(o).syncSettings = f),
|
|
567
567
|
color: t(o).syncSettings ? "success" : void 0,
|
|
568
568
|
density: "compact",
|
|
569
569
|
"hide-details": "",
|
|
570
570
|
inset: "",
|
|
571
|
-
onClick: l[1] || (l[1] =
|
|
571
|
+
onClick: l[1] || (l[1] = Ye(() => {
|
|
572
572
|
}, ["stop"]))
|
|
573
573
|
}, {
|
|
574
574
|
thumb: r(() => [
|
|
575
|
-
i(
|
|
575
|
+
i(K, {
|
|
576
576
|
color: t(o).syncSettings ? "success" : void 0
|
|
577
577
|
}, null, 8, ["color"])
|
|
578
578
|
]),
|
|
@@ -592,15 +592,15 @@ const se = G("http", {
|
|
|
592
592
|
color: "transparent"
|
|
593
593
|
}, {
|
|
594
594
|
default: r(() => [
|
|
595
|
-
b("div",
|
|
595
|
+
b("div", Xo, [
|
|
596
596
|
i(p, {
|
|
597
|
-
onClick: l[2] || (l[2] = (
|
|
597
|
+
onClick: l[2] || (l[2] = (f) => a.value = !1)
|
|
598
598
|
}),
|
|
599
599
|
i(u, {
|
|
600
|
-
onClick: l[3] || (l[3] = (
|
|
600
|
+
onClick: l[3] || (l[3] = (f) => a.value = !1)
|
|
601
601
|
}),
|
|
602
602
|
i(m, {
|
|
603
|
-
onClick: l[4] || (l[4] = (
|
|
603
|
+
onClick: l[4] || (l[4] = (f) => a.value = !1)
|
|
604
604
|
})
|
|
605
605
|
])
|
|
606
606
|
]),
|
|
@@ -617,7 +617,7 @@ const se = G("http", {
|
|
|
617
617
|
}, 8, ["variant"]);
|
|
618
618
|
};
|
|
619
619
|
}
|
|
620
|
-
}),
|
|
620
|
+
}), J = /* @__PURE__ */ k({
|
|
621
621
|
__name: "VoListItem",
|
|
622
622
|
setup(c) {
|
|
623
623
|
return (e, o) => (d(), _(pe, { slim: "" }, P({
|
|
@@ -649,21 +649,21 @@ const se = G("http", {
|
|
|
649
649
|
} : void 0
|
|
650
650
|
]), 1024));
|
|
651
651
|
}
|
|
652
|
-
}),
|
|
652
|
+
}), Ko = /* @__PURE__ */ k({
|
|
653
653
|
__name: "VoAuthLogoutNavItem",
|
|
654
654
|
setup(c) {
|
|
655
|
-
const e = R(), o =
|
|
655
|
+
const e = R(), o = A(!1);
|
|
656
656
|
async function a() {
|
|
657
657
|
o.value = !0, await e.logout(), o.value = !1;
|
|
658
658
|
}
|
|
659
659
|
return (n, s) => {
|
|
660
|
-
const l =
|
|
660
|
+
const l = J;
|
|
661
661
|
return d(), _(l, {
|
|
662
662
|
class: "mb-0",
|
|
663
663
|
disabled: t(o),
|
|
664
664
|
link: "",
|
|
665
665
|
loading: t(o),
|
|
666
|
-
"prepend-icon": `svg:${t(
|
|
666
|
+
"prepend-icon": `svg:${t(Rt)}`,
|
|
667
667
|
title: "Logout",
|
|
668
668
|
onClick: a
|
|
669
669
|
}, null, 8, ["disabled", "loading", "prepend-icon"]);
|
|
@@ -671,7 +671,7 @@ const se = G("http", {
|
|
|
671
671
|
}
|
|
672
672
|
}), he = /* @__PURE__ */ k({
|
|
673
673
|
__name: "VoDialog",
|
|
674
|
-
props: /* @__PURE__ */
|
|
674
|
+
props: /* @__PURE__ */ rt({
|
|
675
675
|
prependIcon: {},
|
|
676
676
|
title: {}
|
|
677
677
|
}, {
|
|
@@ -680,8 +680,8 @@ const se = G("http", {
|
|
|
680
680
|
}),
|
|
681
681
|
emits: ["update:modelValue"],
|
|
682
682
|
setup(c) {
|
|
683
|
-
const e = le(c, "modelValue"), o = ce(), a =
|
|
684
|
-
return (n, s) => (d(), _(
|
|
683
|
+
const e = le(c, "modelValue"), o = ce(), a = A(!1);
|
|
684
|
+
return (n, s) => (d(), _(ft, {
|
|
685
685
|
modelValue: e.value,
|
|
686
686
|
"onUpdate:modelValue": s[2] || (s[2] = (l) => e.value = l),
|
|
687
687
|
activator: "parent",
|
|
@@ -703,7 +703,7 @@ const se = G("http", {
|
|
|
703
703
|
key: 0,
|
|
704
704
|
class: "me-2",
|
|
705
705
|
density: "comfortable",
|
|
706
|
-
icon: `svg:${t(a) ? t(
|
|
706
|
+
icon: `svg:${t(a) ? t(Et) : t(Wt)}`,
|
|
707
707
|
size: "small",
|
|
708
708
|
variant: "text",
|
|
709
709
|
onClick: s[0] || (s[0] = (p) => a.value = !t(a))
|
|
@@ -717,7 +717,7 @@ const se = G("http", {
|
|
|
717
717
|
})
|
|
718
718
|
]),
|
|
719
719
|
default: r(() => [
|
|
720
|
-
i(
|
|
720
|
+
i(Q, { class: "mt-4" }),
|
|
721
721
|
O(n.$slots, "default")
|
|
722
722
|
]),
|
|
723
723
|
_: 2
|
|
@@ -741,21 +741,21 @@ const se = G("http", {
|
|
|
741
741
|
_: 3
|
|
742
742
|
}, 8, ["modelValue", "fullscreen", "max-height", "max-width"]));
|
|
743
743
|
}
|
|
744
|
-
}),
|
|
744
|
+
}), St = /* @__PURE__ */ k({
|
|
745
745
|
__name: "VoSwitch",
|
|
746
746
|
props: {
|
|
747
747
|
disabled: { type: Boolean }
|
|
748
748
|
},
|
|
749
749
|
setup(c) {
|
|
750
|
-
return (e, o) => (d(), _(
|
|
750
|
+
return (e, o) => (d(), _(vt, {
|
|
751
751
|
color: "primary",
|
|
752
752
|
density: "compact",
|
|
753
753
|
disabled: e.disabled,
|
|
754
754
|
inset: "",
|
|
755
|
-
"true-icon": `svg:${t(
|
|
755
|
+
"true-icon": `svg:${t(Te)}`
|
|
756
756
|
}, P({
|
|
757
757
|
thumb: r(() => [
|
|
758
|
-
i(
|
|
758
|
+
i(D, {
|
|
759
759
|
color: e.disabled ? void 0 : "primary"
|
|
760
760
|
}, null, 8, ["color"])
|
|
761
761
|
]),
|
|
@@ -770,7 +770,7 @@ const se = G("http", {
|
|
|
770
770
|
} : void 0
|
|
771
771
|
]), 1032, ["disabled", "true-icon"]));
|
|
772
772
|
}
|
|
773
|
-
}),
|
|
773
|
+
}), en = {
|
|
774
774
|
key: 1,
|
|
775
775
|
class: "mb-3 text-caption text-medium-emphasis"
|
|
776
776
|
}, ge = /* @__PURE__ */ k({
|
|
@@ -781,7 +781,7 @@ const se = G("http", {
|
|
|
781
781
|
},
|
|
782
782
|
setup(c) {
|
|
783
783
|
return (e, o) => (d(), I(U, null, [
|
|
784
|
-
e.title ? (d(), _(
|
|
784
|
+
e.title ? (d(), _(Ze, {
|
|
785
785
|
key: 0,
|
|
786
786
|
class: "font-weight-black"
|
|
787
787
|
}, {
|
|
@@ -790,37 +790,37 @@ const se = G("http", {
|
|
|
790
790
|
]),
|
|
791
791
|
_: 1
|
|
792
792
|
})) : S("", !0),
|
|
793
|
-
e.text ? (d(), I("div",
|
|
793
|
+
e.text ? (d(), I("div", en, C(e.text), 1)) : S("", !0)
|
|
794
794
|
], 64));
|
|
795
795
|
}
|
|
796
|
-
}),
|
|
796
|
+
}), tn = { key: 0 }, on = /* @__PURE__ */ k({
|
|
797
797
|
__name: "VoSettingsPageSuitOption",
|
|
798
798
|
setup(c) {
|
|
799
799
|
const e = z(), o = [
|
|
800
800
|
{
|
|
801
801
|
title: "Choose a page suit",
|
|
802
802
|
value: "",
|
|
803
|
-
prependIcon: `svg:${
|
|
803
|
+
prependIcon: `svg:${Zt}`,
|
|
804
804
|
disabled: !0
|
|
805
805
|
},
|
|
806
806
|
{
|
|
807
807
|
title: "Blackguard",
|
|
808
|
-
prependIcon: `svg:${
|
|
808
|
+
prependIcon: `svg:${lt}`,
|
|
809
809
|
value: "blackguard"
|
|
810
810
|
},
|
|
811
811
|
{
|
|
812
812
|
title: "Polaris",
|
|
813
|
-
prependIcon: `svg:${
|
|
813
|
+
prependIcon: `svg:${ct}`,
|
|
814
814
|
value: "polaris"
|
|
815
815
|
},
|
|
816
816
|
{
|
|
817
817
|
title: "Nebula",
|
|
818
|
-
prependIcon: `svg:${
|
|
818
|
+
prependIcon: `svg:${ut}`,
|
|
819
819
|
value: "nebula"
|
|
820
820
|
}
|
|
821
821
|
];
|
|
822
822
|
return (a, n) => {
|
|
823
|
-
const s =
|
|
823
|
+
const s = St, l = ge;
|
|
824
824
|
return d(), I(U, null, [
|
|
825
825
|
i(s, {
|
|
826
826
|
modelValue: t(e).suits.show,
|
|
@@ -831,7 +831,7 @@ const se = G("http", {
|
|
|
831
831
|
}, null, 8, ["modelValue"]),
|
|
832
832
|
i(me, null, {
|
|
833
833
|
default: r(() => [
|
|
834
|
-
t(e).suits.show ? (d(), I("div",
|
|
834
|
+
t(e).suits.show ? (d(), I("div", tn, [
|
|
835
835
|
i(Do, {
|
|
836
836
|
modelValue: t(e).suits.suit,
|
|
837
837
|
"onUpdate:modelValue": n[1] || (n[1] = (p) => t(e).suits.suit = p),
|
|
@@ -845,7 +845,7 @@ const se = G("http", {
|
|
|
845
845
|
variant: "outlined"
|
|
846
846
|
}, {
|
|
847
847
|
selection: r(({ item: p }) => [
|
|
848
|
-
i(
|
|
848
|
+
i(D, {
|
|
849
849
|
icon: p.props.prependIcon,
|
|
850
850
|
size: "x-small",
|
|
851
851
|
start: ""
|
|
@@ -855,7 +855,7 @@ const se = G("http", {
|
|
|
855
855
|
_: 1
|
|
856
856
|
}, 8, ["modelValue"]),
|
|
857
857
|
i(l, { text: "Select your suit elements to display the background image:" }),
|
|
858
|
-
i(
|
|
858
|
+
i(Ao, {
|
|
859
859
|
modelValue: t(e).suits.elements,
|
|
860
860
|
"onUpdate:modelValue": n[2] || (n[2] = (p) => t(e).suits.elements = p),
|
|
861
861
|
color: "primary",
|
|
@@ -864,34 +864,34 @@ const se = G("http", {
|
|
|
864
864
|
}, {
|
|
865
865
|
default: r(() => [
|
|
866
866
|
i(te, {
|
|
867
|
-
"append-icon": `svg:${t(
|
|
867
|
+
"append-icon": `svg:${t(qt)}`,
|
|
868
868
|
"filter-icon": "$success",
|
|
869
869
|
text: "App Bar",
|
|
870
870
|
value: "app-bar",
|
|
871
871
|
variant: "flat"
|
|
872
872
|
}, {
|
|
873
873
|
append: r(() => [
|
|
874
|
-
i(
|
|
874
|
+
i(Q, {
|
|
875
875
|
class: "ms-2 border-opacity-50",
|
|
876
876
|
vertical: ""
|
|
877
877
|
}),
|
|
878
|
-
i(
|
|
878
|
+
i(D, { size: "x-small" })
|
|
879
879
|
]),
|
|
880
880
|
_: 1
|
|
881
881
|
}, 8, ["append-icon"]),
|
|
882
882
|
i(te, {
|
|
883
|
-
"append-icon": `svg:${t(
|
|
883
|
+
"append-icon": `svg:${t(Gt)}`,
|
|
884
884
|
"filter-icon": "$success",
|
|
885
885
|
text: "Navigation Drawer",
|
|
886
886
|
value: "drawer",
|
|
887
887
|
variant: "flat"
|
|
888
888
|
}, {
|
|
889
889
|
append: r(() => [
|
|
890
|
-
i(
|
|
890
|
+
i(Q, {
|
|
891
891
|
class: "ms-2 border-opacity-50",
|
|
892
892
|
vertical: ""
|
|
893
893
|
}),
|
|
894
|
-
i(
|
|
894
|
+
i(D, { size: "x-small" })
|
|
895
895
|
]),
|
|
896
896
|
_: 1
|
|
897
897
|
}, 8, ["append-icon"]),
|
|
@@ -903,11 +903,11 @@ const se = G("http", {
|
|
|
903
903
|
variant: "flat"
|
|
904
904
|
}, {
|
|
905
905
|
append: r(() => [
|
|
906
|
-
i(
|
|
906
|
+
i(Q, {
|
|
907
907
|
class: "ms-2 border-opacity-50",
|
|
908
908
|
vertical: ""
|
|
909
909
|
}),
|
|
910
|
-
i(
|
|
910
|
+
i(D, { size: "x-small" })
|
|
911
911
|
]),
|
|
912
912
|
_: 1
|
|
913
913
|
})
|
|
@@ -923,60 +923,60 @@ const se = G("http", {
|
|
|
923
923
|
}
|
|
924
924
|
});
|
|
925
925
|
function ye() {
|
|
926
|
-
const c =
|
|
926
|
+
const c = wo();
|
|
927
927
|
return x(
|
|
928
928
|
() => c.query
|
|
929
929
|
);
|
|
930
930
|
}
|
|
931
|
-
const
|
|
932
|
-
const c = ye(), e =
|
|
931
|
+
const j = G("one", () => {
|
|
932
|
+
const c = ye(), e = Fe(), o = R(), a = se(), n = A(!1), s = A(!1), l = B(), p = B([]), u = x(() => c.value.session_id), m = x(() => {
|
|
933
933
|
var w;
|
|
934
934
|
return (w = l.value) == null ? void 0 : w.items[0].plan.interval;
|
|
935
|
-
}),
|
|
935
|
+
}), f = x(() => {
|
|
936
936
|
var w;
|
|
937
937
|
return (w = o.user) == null ? void 0 : w.sponsorships.find((L) => L.platform === "stripe" && L.tierName.startsWith("sub_"));
|
|
938
938
|
}), V = x(() => {
|
|
939
939
|
var w;
|
|
940
|
-
return !!((w =
|
|
940
|
+
return !!((w = f.value) != null && w.tierName);
|
|
941
941
|
}), y = x(() => {
|
|
942
942
|
var w;
|
|
943
|
-
return ((w = o.user) == null ? void 0 : w.sponsorships.reduce((L,
|
|
944
|
-
if (!
|
|
943
|
+
return ((w = o.user) == null ? void 0 : w.sponsorships.reduce((L, Z) => {
|
|
944
|
+
if (!Z.isActive || Z.interval === "once" || Z.platform === "stripe")
|
|
945
945
|
return L;
|
|
946
|
-
const
|
|
947
|
-
return L +
|
|
946
|
+
const Ae = Z.interval === "month" ? Z.amount : Z.amount / 12;
|
|
947
|
+
return L + Ae / 100;
|
|
948
948
|
}, 0)) ?? 0;
|
|
949
|
-
}),
|
|
950
|
-
var w, L;
|
|
951
|
-
return !a.url || ((w = o.user) == null ? void 0 : w.isAdmin) || ((L = v.value) == null ? void 0 : L.isActive) || y.value >= 299;
|
|
952
|
-
}), g = x(() => {
|
|
949
|
+
}), v = x(() => {
|
|
953
950
|
var w;
|
|
954
951
|
return (w = o.user) == null ? void 0 : w.sponsorships.find((L) => L.tierName.startsWith("sub_") && L.isActive);
|
|
955
|
-
}),
|
|
952
|
+
}), g = x(() => {
|
|
956
953
|
var w;
|
|
957
954
|
return (w = o.user) == null ? void 0 : w.sponsorships.find((L) => L.platform === "github" && L.isActive);
|
|
958
|
-
}),
|
|
955
|
+
}), h = x(() => {
|
|
959
956
|
var w;
|
|
960
957
|
return (w = o.user) == null ? void 0 : w.sponsorships.find((L) => L.platform === "discord" && L.isActive);
|
|
961
|
-
}),
|
|
958
|
+
}), $ = x(() => {
|
|
962
959
|
var w;
|
|
963
960
|
return (w = o.user) == null ? void 0 : w.identities.find((L) => L.provider === "shopify");
|
|
964
|
-
}),
|
|
961
|
+
}), F = x(() => {
|
|
965
962
|
var w;
|
|
966
963
|
return (w = o.user) == null ? void 0 : w.sponsorships.find((L) => L.platform === "patreon" && L.isActive);
|
|
964
|
+
}), M = x(() => {
|
|
965
|
+
var w, L, Z, Ae, nt;
|
|
966
|
+
return !a.url || ((w = o.user) == null ? void 0 : w.isAdmin) || ((L = f.value) == null ? void 0 : L.isActive) || ((Z = g.value) == null ? void 0 : Z.isActive) || ((Ae = h.value) == null ? void 0 : Ae.isActive) || ((nt = F.value) == null ? void 0 : nt.isActive) || y.value >= 2.99;
|
|
967
967
|
});
|
|
968
|
-
|
|
968
|
+
Be(async () => {
|
|
969
969
|
u.value && await E();
|
|
970
|
-
}), N(s,
|
|
970
|
+
}), N(s, ot), N(u, (w) => {
|
|
971
971
|
w && E();
|
|
972
972
|
}, { immediate: !0 }), N(c, (w) => {
|
|
973
973
|
if (w.one !== "subscribe" || o.user)
|
|
974
974
|
return;
|
|
975
975
|
o.dialog = !0;
|
|
976
|
-
const L = N(() => o.user, (
|
|
977
|
-
|
|
976
|
+
const L = N(() => o.user, (Z) => {
|
|
977
|
+
Z && (o.dialog = !1, L());
|
|
978
978
|
});
|
|
979
|
-
}, { immediate: !0 }), N(
|
|
979
|
+
}, { immediate: !0 }), N(M, (w, L) => {
|
|
980
980
|
w === !1 && L !== !0 || ae();
|
|
981
981
|
});
|
|
982
982
|
async function E() {
|
|
@@ -999,11 +999,11 @@ const F = G("one", () => {
|
|
|
999
999
|
}
|
|
1000
1000
|
async function Ie() {
|
|
1001
1001
|
var w;
|
|
1002
|
-
if (
|
|
1002
|
+
if (f.value)
|
|
1003
1003
|
try {
|
|
1004
1004
|
n.value = !0;
|
|
1005
1005
|
const L = await a.post(
|
|
1006
|
-
`/one/cancel?subscriptionId=${(w =
|
|
1006
|
+
`/one/cancel?subscriptionId=${(w = f.value) == null ? void 0 : w.tierName}`
|
|
1007
1007
|
);
|
|
1008
1008
|
o.user = L.user;
|
|
1009
1009
|
} catch {
|
|
@@ -1012,11 +1012,11 @@ const F = G("one", () => {
|
|
|
1012
1012
|
}
|
|
1013
1013
|
}
|
|
1014
1014
|
async function be(w) {
|
|
1015
|
-
if (
|
|
1015
|
+
if (f.value)
|
|
1016
1016
|
try {
|
|
1017
1017
|
n.value = !0;
|
|
1018
1018
|
const L = await a.post("/one/modify", {
|
|
1019
|
-
subscriptionId:
|
|
1019
|
+
subscriptionId: f.value.tierName,
|
|
1020
1020
|
interval: w
|
|
1021
1021
|
});
|
|
1022
1022
|
o.user = L.user;
|
|
@@ -1027,11 +1027,11 @@ const F = G("one", () => {
|
|
|
1027
1027
|
}
|
|
1028
1028
|
async function ae() {
|
|
1029
1029
|
var w;
|
|
1030
|
-
if (
|
|
1030
|
+
if (f.value)
|
|
1031
1031
|
try {
|
|
1032
1032
|
n.value = !0;
|
|
1033
1033
|
const L = await a.post(
|
|
1034
|
-
`/one/verify?subscriptionId=${(w =
|
|
1034
|
+
`/one/verify?subscriptionId=${(w = f.value) == null ? void 0 : w.tierName}`
|
|
1035
1035
|
);
|
|
1036
1036
|
o.user = L.user;
|
|
1037
1037
|
} catch {
|
|
@@ -1049,7 +1049,7 @@ const F = G("one", () => {
|
|
|
1049
1049
|
n.value = !1;
|
|
1050
1050
|
}
|
|
1051
1051
|
}
|
|
1052
|
-
function
|
|
1052
|
+
function ot() {
|
|
1053
1053
|
e.push({
|
|
1054
1054
|
query: {
|
|
1055
1055
|
...c.value,
|
|
@@ -1062,28 +1062,28 @@ const F = G("one", () => {
|
|
|
1062
1062
|
interval: m,
|
|
1063
1063
|
invoices: p,
|
|
1064
1064
|
sessionId: u,
|
|
1065
|
-
subscription:
|
|
1065
|
+
subscription: f,
|
|
1066
1066
|
monthlyTotal: y,
|
|
1067
1067
|
hasBilling: V,
|
|
1068
1068
|
isLoading: n,
|
|
1069
1069
|
isOpen: s,
|
|
1070
|
-
isSubscriber:
|
|
1071
|
-
github:
|
|
1072
|
-
patreon:
|
|
1073
|
-
discord:
|
|
1074
|
-
shopify:
|
|
1075
|
-
one:
|
|
1070
|
+
isSubscriber: M,
|
|
1071
|
+
github: g,
|
|
1072
|
+
patreon: F,
|
|
1073
|
+
discord: h,
|
|
1074
|
+
shopify: $,
|
|
1075
|
+
one: v,
|
|
1076
1076
|
activate: E,
|
|
1077
1077
|
cancel: Ie,
|
|
1078
1078
|
manage: Ce,
|
|
1079
1079
|
modify: be,
|
|
1080
|
-
resetQuery:
|
|
1080
|
+
resetQuery: ot,
|
|
1081
1081
|
subscribe: Le,
|
|
1082
1082
|
subscriptionInfo: Ve,
|
|
1083
1083
|
verify: ae
|
|
1084
1084
|
};
|
|
1085
1085
|
});
|
|
1086
|
-
function
|
|
1086
|
+
function nn() {
|
|
1087
1087
|
return {
|
|
1088
1088
|
blackguard: {
|
|
1089
1089
|
dark: !0,
|
|
@@ -1239,8 +1239,8 @@ function on() {
|
|
|
1239
1239
|
}
|
|
1240
1240
|
};
|
|
1241
1241
|
}
|
|
1242
|
-
const
|
|
1243
|
-
const c = "https://cdn.vuetifyjs.com/docs/images/one/", e =
|
|
1242
|
+
const Re = G("settings", () => {
|
|
1243
|
+
const c = "https://cdn.vuetifyjs.com/docs/images/one/", e = j(), o = z(), a = Me(), n = nn(), s = {
|
|
1244
1244
|
blackguard: {
|
|
1245
1245
|
"app-bar": c + "suits/blackguard/blackguard-app-bar.png",
|
|
1246
1246
|
drawer: c + "suits/blackguard/blackguard-app-drawer.png",
|
|
@@ -1273,7 +1273,7 @@ const He = G("settings", () => {
|
|
|
1273
1273
|
suit: l,
|
|
1274
1274
|
CDN_URL: c
|
|
1275
1275
|
};
|
|
1276
|
-
}),
|
|
1276
|
+
}), sn = { class: "ms-5 mb-2" }, an = /* @__PURE__ */ k({
|
|
1277
1277
|
__name: "VoSettingsDialog",
|
|
1278
1278
|
props: {
|
|
1279
1279
|
modelValue: { type: Boolean },
|
|
@@ -1281,54 +1281,54 @@ const He = G("settings", () => {
|
|
|
1281
1281
|
},
|
|
1282
1282
|
emits: ["update:modelValue"],
|
|
1283
1283
|
setup(c) {
|
|
1284
|
-
const e = le(c, "modelValue"), o =
|
|
1284
|
+
const e = le(c, "modelValue"), o = j(), a = Re(), n = z(), s = [
|
|
1285
1285
|
{
|
|
1286
1286
|
title: "Light",
|
|
1287
1287
|
subtitle: "A standard light theme.",
|
|
1288
1288
|
image: a.CDN_URL + "themes/light.png",
|
|
1289
|
-
prependIcon: `svg:${
|
|
1289
|
+
prependIcon: `svg:${Qt}`,
|
|
1290
1290
|
value: "light"
|
|
1291
1291
|
},
|
|
1292
1292
|
{
|
|
1293
1293
|
title: "Dark",
|
|
1294
1294
|
subtitle: "A standard dark theme.",
|
|
1295
1295
|
image: a.CDN_URL + "themes/dark.png",
|
|
1296
|
-
prependIcon: `svg:${
|
|
1296
|
+
prependIcon: `svg:${Yt}`,
|
|
1297
1297
|
value: "dark"
|
|
1298
1298
|
},
|
|
1299
1299
|
{
|
|
1300
1300
|
title: "System",
|
|
1301
1301
|
subtitle: "A theme based on the system preference.",
|
|
1302
1302
|
image: a.CDN_URL + "themes/system.png",
|
|
1303
|
-
prependIcon: `svg:${
|
|
1303
|
+
prependIcon: `svg:${Jt}`,
|
|
1304
1304
|
value: "system"
|
|
1305
1305
|
},
|
|
1306
1306
|
{
|
|
1307
1307
|
title: "Blackguard",
|
|
1308
1308
|
subtitle: "A theme for v3.4 Blackguard.",
|
|
1309
1309
|
image: a.CDN_URL + "themes/blackguard.png",
|
|
1310
|
-
prependIcon: `svg:${
|
|
1310
|
+
prependIcon: `svg:${lt}`,
|
|
1311
1311
|
value: "blackguard"
|
|
1312
1312
|
},
|
|
1313
1313
|
{
|
|
1314
1314
|
title: "Polaris",
|
|
1315
1315
|
subtitle: "A theme for v3.5 Polaris.",
|
|
1316
1316
|
image: a.CDN_URL + "themes/polaris.png",
|
|
1317
|
-
prependIcon: `svg:${
|
|
1317
|
+
prependIcon: `svg:${ct}`,
|
|
1318
1318
|
value: "polaris"
|
|
1319
1319
|
},
|
|
1320
1320
|
{
|
|
1321
1321
|
title: "Nebula",
|
|
1322
1322
|
subtitle: "A theme for v3.6 Nebula.",
|
|
1323
1323
|
image: a.CDN_URL + "themes/nebula.png",
|
|
1324
|
-
prependIcon: `svg:${
|
|
1324
|
+
prependIcon: `svg:${ut}`,
|
|
1325
1325
|
value: "nebula"
|
|
1326
1326
|
},
|
|
1327
1327
|
{
|
|
1328
1328
|
title: "High Contrast",
|
|
1329
1329
|
subtitle: "A theme for high contrast.",
|
|
1330
1330
|
image: a.CDN_URL + "themes/high-contrast.png",
|
|
1331
|
-
prependIcon: `svg:${
|
|
1331
|
+
prependIcon: `svg:${Xt}`,
|
|
1332
1332
|
value: "highContrast",
|
|
1333
1333
|
disabled: !0
|
|
1334
1334
|
}
|
|
@@ -1336,11 +1336,11 @@ const He = G("settings", () => {
|
|
|
1336
1336
|
return N(l, async () => {
|
|
1337
1337
|
l.value.one === "settings" && (o.isOpen = !0, await de(), e.value = !0);
|
|
1338
1338
|
}, { immediate: !0 }), (p, u) => {
|
|
1339
|
-
const m = ge,
|
|
1339
|
+
const m = ge, f = on, V = St, y = he;
|
|
1340
1340
|
return d(), _(y, {
|
|
1341
1341
|
modelValue: e.value,
|
|
1342
|
-
"onUpdate:modelValue": u[6] || (u[6] = (
|
|
1343
|
-
"prepend-icon": `svg:${t(
|
|
1342
|
+
"onUpdate:modelValue": u[6] || (u[6] = (v) => e.value = v),
|
|
1343
|
+
"prepend-icon": `svg:${t(Kt)}`,
|
|
1344
1344
|
title: "Settings"
|
|
1345
1345
|
}, {
|
|
1346
1346
|
default: r(() => [
|
|
@@ -1354,40 +1354,40 @@ const He = G("settings", () => {
|
|
|
1354
1354
|
text: "Customize your documentation experience with light and dark themes, as well as a combination of both named.",
|
|
1355
1355
|
title: "Theme"
|
|
1356
1356
|
}),
|
|
1357
|
-
i(
|
|
1357
|
+
i(_t, {
|
|
1358
1358
|
modelValue: t(n).theme,
|
|
1359
|
-
"onUpdate:modelValue": u[0] || (u[0] = (
|
|
1359
|
+
"onUpdate:modelValue": u[0] || (u[0] = (v) => t(n).theme = v),
|
|
1360
1360
|
mandatory: ""
|
|
1361
1361
|
}, {
|
|
1362
1362
|
default: r(() => [
|
|
1363
1363
|
i(re, { dense: "" }, {
|
|
1364
1364
|
default: r(() => [
|
|
1365
|
-
(d(), I(U, null, oe(s, (
|
|
1365
|
+
(d(), I(U, null, oe(s, (v, g) => i(X, {
|
|
1366
1366
|
key: g,
|
|
1367
1367
|
cols: "12",
|
|
1368
1368
|
md: "6"
|
|
1369
1369
|
}, {
|
|
1370
1370
|
default: r(() => [
|
|
1371
|
-
i(
|
|
1372
|
-
value:
|
|
1371
|
+
i(Qe, {
|
|
1372
|
+
value: v.value
|
|
1373
1373
|
}, {
|
|
1374
1374
|
default: r(({ toggle: h, isSelected: $ }) => [
|
|
1375
|
-
i(
|
|
1376
|
-
default: r(({ props:
|
|
1375
|
+
i(Pe, null, {
|
|
1376
|
+
default: r(({ props: F, isHovering: M }) => [
|
|
1377
1377
|
i(H, W({
|
|
1378
1378
|
color: $ ? "primary" : "surface-variant",
|
|
1379
|
-
disabled:
|
|
1379
|
+
disabled: v.disabled,
|
|
1380
1380
|
height: "76",
|
|
1381
|
-
image:
|
|
1382
|
-
"prepend-icon":
|
|
1383
|
-
ripple: !
|
|
1384
|
-
subtitle:
|
|
1385
|
-
title:
|
|
1381
|
+
image: v.image,
|
|
1382
|
+
"prepend-icon": v.prependIcon,
|
|
1383
|
+
ripple: !v.disabled,
|
|
1384
|
+
subtitle: v.disabled ? "In Development" : v.subtitle,
|
|
1385
|
+
title: v.title,
|
|
1386
1386
|
variant: "tonal"
|
|
1387
|
-
},
|
|
1387
|
+
}, F, { onClick: h }), {
|
|
1388
1388
|
image: r(() => [
|
|
1389
|
-
i(
|
|
1390
|
-
style:
|
|
1389
|
+
i(Y, {
|
|
1390
|
+
style: it({
|
|
1391
1391
|
filter: $ || M ? "none" : "grayscale(100%)"
|
|
1392
1392
|
})
|
|
1393
1393
|
}, null, 8, ["style"])
|
|
@@ -1410,13 +1410,13 @@ const He = G("settings", () => {
|
|
|
1410
1410
|
_: 1
|
|
1411
1411
|
}, 8, ["modelValue"]),
|
|
1412
1412
|
t(o).isSubscriber ? (d(), I(U, { key: 0 }, [
|
|
1413
|
-
i(
|
|
1414
|
-
i(
|
|
1413
|
+
i(Q, { class: "mt-6 mb-4" }),
|
|
1414
|
+
i(f)
|
|
1415
1415
|
], 64)) : S("", !0)
|
|
1416
1416
|
]),
|
|
1417
1417
|
_: 1
|
|
1418
1418
|
}),
|
|
1419
|
-
i(
|
|
1419
|
+
i(Q),
|
|
1420
1420
|
i(ue, { class: "px-7" }, {
|
|
1421
1421
|
default: r(() => [
|
|
1422
1422
|
i(m, {
|
|
@@ -1426,36 +1426,36 @@ const He = G("settings", () => {
|
|
|
1426
1426
|
t(o).isSubscriber ? (d(), _(V, {
|
|
1427
1427
|
key: 0,
|
|
1428
1428
|
modelValue: t(n).disableAds,
|
|
1429
|
-
"onUpdate:modelValue": u[1] || (u[1] = (
|
|
1429
|
+
"onUpdate:modelValue": u[1] || (u[1] = (v) => t(n).disableAds = v),
|
|
1430
1430
|
class: "mb-2",
|
|
1431
1431
|
label: "Disable Ads",
|
|
1432
1432
|
messages: "Disable traditional advertisements on all documentation pages."
|
|
1433
1433
|
}, null, 8, ["modelValue"])) : S("", !0),
|
|
1434
1434
|
i(me, null, {
|
|
1435
1435
|
default: r(() => [
|
|
1436
|
-
xe(b("div",
|
|
1436
|
+
xe(b("div", sn, [
|
|
1437
1437
|
i(V, {
|
|
1438
1438
|
modelValue: t(n).showHouseAds,
|
|
1439
|
-
"onUpdate:modelValue": u[2] || (u[2] = (
|
|
1439
|
+
"onUpdate:modelValue": u[2] || (u[2] = (v) => t(n).showHouseAds = v),
|
|
1440
1440
|
label: "Show House Ads",
|
|
1441
1441
|
messages: "These advertisements are for Vuetify products and services only."
|
|
1442
1442
|
}, null, 8, ["modelValue"])
|
|
1443
1443
|
], 512), [
|
|
1444
|
-
[
|
|
1444
|
+
[Ue, t(n).disableAds]
|
|
1445
1445
|
])
|
|
1446
1446
|
]),
|
|
1447
1447
|
_: 1
|
|
1448
1448
|
}),
|
|
1449
1449
|
i(V, {
|
|
1450
1450
|
modelValue: t(n).quickbar,
|
|
1451
|
-
"onUpdate:modelValue": u[3] || (u[3] = (
|
|
1451
|
+
"onUpdate:modelValue": u[3] || (u[3] = (v) => t(n).quickbar = v),
|
|
1452
1452
|
label: "Enable Quick Actions",
|
|
1453
1453
|
messages: "Quick actions are located on the Vuetify One user menu and provide quick access to common tasks."
|
|
1454
1454
|
}, null, 8, ["modelValue"])
|
|
1455
1455
|
]),
|
|
1456
1456
|
_: 1
|
|
1457
1457
|
}),
|
|
1458
|
-
i(
|
|
1458
|
+
i(Q),
|
|
1459
1459
|
t(o).isSubscriber ? (d(), _(ue, {
|
|
1460
1460
|
key: 0,
|
|
1461
1461
|
class: "px-7"
|
|
@@ -1467,14 +1467,14 @@ const He = G("settings", () => {
|
|
|
1467
1467
|
}),
|
|
1468
1468
|
i(V, {
|
|
1469
1469
|
modelValue: t(n).notifications.show,
|
|
1470
|
-
"onUpdate:modelValue": u[4] || (u[4] = (
|
|
1470
|
+
"onUpdate:modelValue": u[4] || (u[4] = (v) => t(n).notifications.show = v),
|
|
1471
1471
|
class: "mb-2",
|
|
1472
1472
|
label: "Enable Notifications",
|
|
1473
1473
|
messages: "Notifications are short form messages that provide information about new releases, updates, and other important information."
|
|
1474
1474
|
}, null, 8, ["modelValue"]),
|
|
1475
1475
|
i(V, {
|
|
1476
1476
|
modelValue: t(n).notifications.banners,
|
|
1477
|
-
"onUpdate:modelValue": u[5] || (u[5] = (
|
|
1477
|
+
"onUpdate:modelValue": u[5] || (u[5] = (v) => t(n).notifications.banners = v),
|
|
1478
1478
|
label: "Enable Banners",
|
|
1479
1479
|
messages: "Banners are located at the top of the screen and provide a callout for important information."
|
|
1480
1480
|
}, null, 8, ["modelValue"])
|
|
@@ -1492,16 +1492,16 @@ const He = G("settings", () => {
|
|
|
1492
1492
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
1493
1493
|
};
|
|
1494
1494
|
}
|
|
1495
|
-
}),
|
|
1495
|
+
}), rn = /* @__PURE__ */ k({
|
|
1496
1496
|
__name: "VoSettingsListItem",
|
|
1497
1497
|
setup(c) {
|
|
1498
|
-
const e =
|
|
1498
|
+
const e = A(!1);
|
|
1499
1499
|
return (o, a) => {
|
|
1500
|
-
const n =
|
|
1500
|
+
const n = an, s = J;
|
|
1501
1501
|
return d(), _(s, {
|
|
1502
1502
|
active: t(e),
|
|
1503
1503
|
link: "",
|
|
1504
|
-
"prepend-icon": `svg:${t(
|
|
1504
|
+
"prepend-icon": `svg:${t(eo)}`,
|
|
1505
1505
|
title: "Settings"
|
|
1506
1506
|
}, {
|
|
1507
1507
|
default: r(() => [
|
|
@@ -1514,15 +1514,15 @@ const He = G("settings", () => {
|
|
|
1514
1514
|
}, 8, ["active", "prepend-icon"]);
|
|
1515
1515
|
};
|
|
1516
1516
|
}
|
|
1517
|
-
}),
|
|
1517
|
+
}), ln = { class: "text-caption" }, cn = /* @__PURE__ */ k({
|
|
1518
1518
|
__name: "VoSubscriptionInvoices",
|
|
1519
1519
|
setup(c) {
|
|
1520
|
-
const e = Se(), o =
|
|
1520
|
+
const e = Se(), o = j();
|
|
1521
1521
|
return (a, n) => {
|
|
1522
1522
|
const s = ge;
|
|
1523
1523
|
return d(), _(re, null, {
|
|
1524
1524
|
default: r(() => [
|
|
1525
|
-
i(
|
|
1525
|
+
i(X, { cols: "12" }, {
|
|
1526
1526
|
default: r(() => [
|
|
1527
1527
|
i(s, {
|
|
1528
1528
|
text: "View and download your invoice history.",
|
|
@@ -1534,13 +1534,13 @@ const He = G("settings", () => {
|
|
|
1534
1534
|
rounded: "lg"
|
|
1535
1535
|
}, {
|
|
1536
1536
|
default: r(() => [
|
|
1537
|
-
i(
|
|
1537
|
+
i(ht, {
|
|
1538
1538
|
items: t(o).invoices,
|
|
1539
1539
|
loading: t(o).isLoading,
|
|
1540
1540
|
sticky: ""
|
|
1541
1541
|
}, {
|
|
1542
1542
|
"item.date": r(({ item: l }) => [
|
|
1543
|
-
b("div",
|
|
1543
|
+
b("div", ln, C(t(e).format(new Date(l.date * 1e3), "fullDateWithWeekday")), 1)
|
|
1544
1544
|
]),
|
|
1545
1545
|
"item.amount": r(({ item: l }) => [
|
|
1546
1546
|
T(" $" + C(l.amount / 100), 1)
|
|
@@ -1559,7 +1559,7 @@ const He = G("settings", () => {
|
|
|
1559
1559
|
"item.pdf": r(({ item: l }) => [
|
|
1560
1560
|
i(q, {
|
|
1561
1561
|
href: l.pdf,
|
|
1562
|
-
icon: `svg:${t(
|
|
1562
|
+
icon: `svg:${t(to)}`,
|
|
1563
1563
|
size: "small",
|
|
1564
1564
|
target: "_blank",
|
|
1565
1565
|
variant: "text"
|
|
@@ -1578,14 +1578,14 @@ const He = G("settings", () => {
|
|
|
1578
1578
|
});
|
|
1579
1579
|
};
|
|
1580
1580
|
}
|
|
1581
|
-
}),
|
|
1581
|
+
}), un = { class: "d-flex align-center" }, dn = {
|
|
1582
1582
|
key: "status",
|
|
1583
1583
|
class: "text-capitalize hidden-sm-and-down"
|
|
1584
|
-
},
|
|
1584
|
+
}, pn = /* @__PURE__ */ b("span", { class: "mx-1 hidden-sm-and-down" }, "—", -1), mn = { class: "me-1" }, fn = { class: "text-medium-emphasis text-caption" }, vn = { class: "d-flex align-start justify-space-between text-caption py-2" }, _n = { class: "font-weight-bold" }, hn = { class: "font-weight-bold" }, gn = /* @__PURE__ */ k({
|
|
1585
1585
|
__name: "VoSubscriptionStatus",
|
|
1586
1586
|
emits: ["change:subscription"],
|
|
1587
1587
|
setup(c, { emit: e }) {
|
|
1588
|
-
const o = Se(), a =
|
|
1588
|
+
const o = Se(), a = j(), n = e, s = x(() => {
|
|
1589
1589
|
if (!a.info)
|
|
1590
1590
|
return;
|
|
1591
1591
|
const p = new Date(a.info.currentPeriodEnd * 1e3);
|
|
@@ -1598,9 +1598,9 @@ const He = G("settings", () => {
|
|
|
1598
1598
|
const m = _e;
|
|
1599
1599
|
return d(), _(re, null, {
|
|
1600
1600
|
default: r(() => [
|
|
1601
|
-
i(
|
|
1601
|
+
i(X, { cols: "12" }, {
|
|
1602
1602
|
default: r(() => {
|
|
1603
|
-
var
|
|
1603
|
+
var f, V;
|
|
1604
1604
|
return [
|
|
1605
1605
|
i(H, {
|
|
1606
1606
|
border: "",
|
|
@@ -1625,7 +1625,7 @@ const He = G("settings", () => {
|
|
|
1625
1625
|
t(a).hasBilling ? (d(), _(m, {
|
|
1626
1626
|
key: 1,
|
|
1627
1627
|
loading: t(a).isLoading,
|
|
1628
|
-
"prepend-icon": `svg:${t(
|
|
1628
|
+
"prepend-icon": `svg:${t(oo)}`,
|
|
1629
1629
|
text: "Billing",
|
|
1630
1630
|
onClick: t(a).manage
|
|
1631
1631
|
}, null, 8, ["loading", "prepend-icon", "onClick"])) : S("", !0)
|
|
@@ -1636,13 +1636,13 @@ const He = G("settings", () => {
|
|
|
1636
1636
|
t(a).info ? {
|
|
1637
1637
|
name: "subtitle",
|
|
1638
1638
|
fn: r(() => [
|
|
1639
|
-
b("div",
|
|
1640
|
-
b("span",
|
|
1639
|
+
b("div", un, [
|
|
1640
|
+
b("span", dn, C(t(a).info.status), 1),
|
|
1641
1641
|
t(a).info.items.length ? (d(), I(U, { key: 0 }, [
|
|
1642
|
-
|
|
1643
|
-
b("span",
|
|
1642
|
+
pn,
|
|
1643
|
+
b("span", mn, [
|
|
1644
1644
|
T(" $" + C(t(a).info.items[0].plan.amount / 100), 1),
|
|
1645
|
-
b("span",
|
|
1645
|
+
b("span", fn, "/" + C(t(a).interval), 1)
|
|
1646
1646
|
]),
|
|
1647
1647
|
i(m, {
|
|
1648
1648
|
size: "x-small",
|
|
@@ -1674,15 +1674,15 @@ const He = G("settings", () => {
|
|
|
1674
1674
|
key: "1"
|
|
1675
1675
|
}
|
|
1676
1676
|
]), 1024),
|
|
1677
|
-
b("div",
|
|
1677
|
+
b("div", vn, [
|
|
1678
1678
|
b("div", null, [
|
|
1679
|
-
((
|
|
1679
|
+
((f = t(a).info) == null ? void 0 : f.status) === "active" ? (d(), I(U, { key: 0 }, [
|
|
1680
1680
|
T(" Your plan renews on "),
|
|
1681
|
-
b("span",
|
|
1681
|
+
b("span", _n, C(t(o).format(t(s), "fullDateWithWeekday")), 1),
|
|
1682
1682
|
T(". ")
|
|
1683
1683
|
], 64)) : (d(), I(U, { key: 1 }, [
|
|
1684
1684
|
T(" Your plan ends on "),
|
|
1685
|
-
b("span",
|
|
1685
|
+
b("span", hn, C(t(o).format((V = t(a).info) == null ? void 0 : V.currentPeriodEnd, "fullDateWithWeekday")), 1),
|
|
1686
1686
|
T(". ")
|
|
1687
1687
|
], 64))
|
|
1688
1688
|
])
|
|
@@ -1696,7 +1696,7 @@ const He = G("settings", () => {
|
|
|
1696
1696
|
});
|
|
1697
1697
|
};
|
|
1698
1698
|
}
|
|
1699
|
-
}),
|
|
1699
|
+
}), yn = /* @__PURE__ */ b("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The Vuetify One subscription comes with the following perks: ", -1), bn = ["innerHTML"], Vn = /* @__PURE__ */ b("br", null, null, -1), kn = /* @__PURE__ */ b("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The following features are in development and coming soon: ", -1), $n = ["innerHTML"], wn = /* @__PURE__ */ k({
|
|
1700
1700
|
__name: "VoSubscriptionPerks",
|
|
1701
1701
|
setup(c) {
|
|
1702
1702
|
const e = [
|
|
@@ -1710,19 +1710,19 @@ const He = G("settings", () => {
|
|
|
1710
1710
|
], o = [
|
|
1711
1711
|
"Early access to Vuetify Studio, a visual editor for Vuetify",
|
|
1712
1712
|
"Receive a special label on GitHub created issues and pull requests"
|
|
1713
|
-
], a =
|
|
1713
|
+
], a = A(!1), n = j();
|
|
1714
1714
|
return N(a, async (s) => {
|
|
1715
1715
|
s && n.subscriptionInfo();
|
|
1716
1716
|
}), (s, l) => {
|
|
1717
|
-
const p =
|
|
1717
|
+
const p = J;
|
|
1718
1718
|
return d(), I(U, null, [
|
|
1719
|
-
i(
|
|
1719
|
+
i(Ze, { class: "font-weight-black" }, {
|
|
1720
1720
|
default: r(() => [
|
|
1721
1721
|
T("Perks")
|
|
1722
1722
|
]),
|
|
1723
1723
|
_: 1
|
|
1724
1724
|
}),
|
|
1725
|
-
|
|
1725
|
+
yn,
|
|
1726
1726
|
i(ie, {
|
|
1727
1727
|
class: "py-0",
|
|
1728
1728
|
density: "compact",
|
|
@@ -1733,31 +1733,31 @@ const He = G("settings", () => {
|
|
|
1733
1733
|
(d(), I(U, null, oe(e, (u, m) => i(p, {
|
|
1734
1734
|
key: m,
|
|
1735
1735
|
class: "mb-0",
|
|
1736
|
-
"prepend-icon": `svg:${t(
|
|
1736
|
+
"prepend-icon": `svg:${t(Te)}`
|
|
1737
1737
|
}, {
|
|
1738
1738
|
prepend: r(() => [
|
|
1739
|
-
i(
|
|
1739
|
+
i(D, {
|
|
1740
1740
|
class: "mx-n2",
|
|
1741
1741
|
color: "success",
|
|
1742
1742
|
size: "small"
|
|
1743
1743
|
})
|
|
1744
1744
|
]),
|
|
1745
1745
|
title: r(() => [
|
|
1746
|
-
b("div", { innerHTML: u }, null, 8,
|
|
1746
|
+
b("div", { innerHTML: u }, null, 8, bn)
|
|
1747
1747
|
]),
|
|
1748
1748
|
_: 2
|
|
1749
1749
|
}, 1032, ["prepend-icon"])), 64))
|
|
1750
1750
|
]),
|
|
1751
1751
|
_: 1
|
|
1752
1752
|
}),
|
|
1753
|
-
|
|
1754
|
-
i(
|
|
1753
|
+
Vn,
|
|
1754
|
+
i(Ze, { class: "font-weight-black" }, {
|
|
1755
1755
|
default: r(() => [
|
|
1756
1756
|
T("Up Next")
|
|
1757
1757
|
]),
|
|
1758
1758
|
_: 1
|
|
1759
1759
|
}),
|
|
1760
|
-
|
|
1760
|
+
kn,
|
|
1761
1761
|
i(ie, {
|
|
1762
1762
|
class: "py-0",
|
|
1763
1763
|
density: "compact",
|
|
@@ -1768,16 +1768,16 @@ const He = G("settings", () => {
|
|
|
1768
1768
|
(d(), I(U, null, oe(o, (u, m) => i(p, {
|
|
1769
1769
|
key: m,
|
|
1770
1770
|
class: "mb-0",
|
|
1771
|
-
"prepend-icon": `svg:${t(
|
|
1771
|
+
"prepend-icon": `svg:${t(no)}`
|
|
1772
1772
|
}, {
|
|
1773
1773
|
prepend: r(() => [
|
|
1774
|
-
i(
|
|
1774
|
+
i(D, {
|
|
1775
1775
|
class: "mx-n2",
|
|
1776
1776
|
size: "small"
|
|
1777
1777
|
})
|
|
1778
1778
|
]),
|
|
1779
1779
|
title: r(() => [
|
|
1780
|
-
b("div", { innerHTML: u }, null, 8,
|
|
1780
|
+
b("div", { innerHTML: u }, null, 8, $n)
|
|
1781
1781
|
]),
|
|
1782
1782
|
_: 2
|
|
1783
1783
|
}, 1032, ["prepend-icon"])), 64))
|
|
@@ -1787,7 +1787,7 @@ const He = G("settings", () => {
|
|
|
1787
1787
|
], 64);
|
|
1788
1788
|
};
|
|
1789
1789
|
}
|
|
1790
|
-
}),
|
|
1790
|
+
}), xn = /* @__PURE__ */ k({
|
|
1791
1791
|
__name: "VoSubscriptionSubscribe",
|
|
1792
1792
|
props: {
|
|
1793
1793
|
modelValue: {
|
|
@@ -1797,12 +1797,12 @@ const He = G("settings", () => {
|
|
|
1797
1797
|
},
|
|
1798
1798
|
emits: ["update:modelValue"],
|
|
1799
1799
|
setup(c) {
|
|
1800
|
-
const e =
|
|
1800
|
+
const e = A(!1), o = le(c, "modelValue"), a = j();
|
|
1801
1801
|
return N(e, async (n) => {
|
|
1802
1802
|
n && a.subscriptionInfo();
|
|
1803
1803
|
}), N(() => a.interval, (n) => {
|
|
1804
1804
|
o.value = n;
|
|
1805
|
-
}, { immediate: !0 }), (n, s) => (d(), _(
|
|
1805
|
+
}, { immediate: !0 }), (n, s) => (d(), _(_t, {
|
|
1806
1806
|
modelValue: o.value,
|
|
1807
1807
|
"onUpdate:modelValue": s[0] || (s[0] = (l) => o.value = l),
|
|
1808
1808
|
mandatory: ""
|
|
@@ -1810,17 +1810,17 @@ const He = G("settings", () => {
|
|
|
1810
1810
|
default: r(() => [
|
|
1811
1811
|
i(re, null, {
|
|
1812
1812
|
default: r(() => [
|
|
1813
|
-
i(
|
|
1813
|
+
i(X, {
|
|
1814
1814
|
cols: "12",
|
|
1815
1815
|
md: "6"
|
|
1816
1816
|
}, {
|
|
1817
1817
|
default: r(() => [
|
|
1818
|
-
i(
|
|
1818
|
+
i(Qe, { value: "month" }, {
|
|
1819
1819
|
default: r(({ toggle: l, isSelected: p }) => [
|
|
1820
1820
|
i(H, {
|
|
1821
1821
|
border: p ? "sm primary opacity-100" : "sm",
|
|
1822
1822
|
color: p ? "primary" : void 0,
|
|
1823
|
-
"prepend-icon": p ? `svg:${t(
|
|
1823
|
+
"prepend-icon": p ? `svg:${t(Oe)}` : "$radioOff",
|
|
1824
1824
|
rounded: "lg",
|
|
1825
1825
|
subtitle: "$2.99/month",
|
|
1826
1826
|
title: "Monthly",
|
|
@@ -1828,7 +1828,7 @@ const He = G("settings", () => {
|
|
|
1828
1828
|
onClick: l
|
|
1829
1829
|
}, {
|
|
1830
1830
|
prepend: r(() => [
|
|
1831
|
-
i(
|
|
1831
|
+
i(D, { class: "mt-n6" })
|
|
1832
1832
|
]),
|
|
1833
1833
|
_: 2
|
|
1834
1834
|
}, 1032, ["border", "color", "prepend-icon", "variant", "onClick"])
|
|
@@ -1838,17 +1838,17 @@ const He = G("settings", () => {
|
|
|
1838
1838
|
]),
|
|
1839
1839
|
_: 1
|
|
1840
1840
|
}),
|
|
1841
|
-
i(
|
|
1841
|
+
i(X, {
|
|
1842
1842
|
cols: "12",
|
|
1843
1843
|
md: "6"
|
|
1844
1844
|
}, {
|
|
1845
1845
|
default: r(() => [
|
|
1846
|
-
i(
|
|
1846
|
+
i(Qe, { value: "year" }, {
|
|
1847
1847
|
default: r(({ toggle: l, isSelected: p }) => [
|
|
1848
1848
|
i(H, {
|
|
1849
1849
|
border: p ? "sm primary opacity-100" : "sm",
|
|
1850
1850
|
color: p ? "primary" : void 0,
|
|
1851
|
-
"prepend-icon": p ? `svg:${t(
|
|
1851
|
+
"prepend-icon": p ? `svg:${t(Oe)}` : "$radioOff",
|
|
1852
1852
|
rounded: "lg",
|
|
1853
1853
|
subtitle: "$29.99/year",
|
|
1854
1854
|
title: "Yearly",
|
|
@@ -1856,7 +1856,7 @@ const He = G("settings", () => {
|
|
|
1856
1856
|
onClick: l
|
|
1857
1857
|
}, {
|
|
1858
1858
|
prepend: r(() => [
|
|
1859
|
-
i(
|
|
1859
|
+
i(D, { class: "mt-n6" })
|
|
1860
1860
|
]),
|
|
1861
1861
|
append: r(() => [
|
|
1862
1862
|
i(te, {
|
|
@@ -1882,7 +1882,7 @@ const He = G("settings", () => {
|
|
|
1882
1882
|
_: 1
|
|
1883
1883
|
}, 8, ["modelValue"]));
|
|
1884
1884
|
}
|
|
1885
|
-
}),
|
|
1885
|
+
}), Sn = { class: "px-3" }, Cn = /* @__PURE__ */ b("br", null, null, -1), Ln = { class: "flex-grow-1 px-4 pb-3 overflow-hidden" }, In = /* @__PURE__ */ k({
|
|
1886
1886
|
__name: "VoSubscriptionDialog",
|
|
1887
1887
|
props: {
|
|
1888
1888
|
modelValue: { type: Boolean },
|
|
@@ -1891,9 +1891,9 @@ const He = G("settings", () => {
|
|
|
1891
1891
|
emits: ["update:modelValue"],
|
|
1892
1892
|
setup(c) {
|
|
1893
1893
|
function e(m) {
|
|
1894
|
-
return new Promise((
|
|
1894
|
+
return new Promise((f) => setTimeout(f, m));
|
|
1895
1895
|
}
|
|
1896
|
-
const o = le(c, "modelValue"), a =
|
|
1896
|
+
const o = le(c, "modelValue"), a = j(), n = ye(), s = A(a.interval), l = A(a.hasBilling ? "status" : "subscribe"), p = A(!1);
|
|
1897
1897
|
N(s, (m) => {
|
|
1898
1898
|
!a.isSubscriber || !a.interval || (p.value = m !== a.interval);
|
|
1899
1899
|
}), N(o, async (m) => {
|
|
@@ -1908,12 +1908,12 @@ const He = G("settings", () => {
|
|
|
1908
1908
|
async function u() {
|
|
1909
1909
|
await a.modify(s.value), await a.subscriptionInfo(), p.value = null, await e(3e3), l.value = "status", await e(300), p.value = !1;
|
|
1910
1910
|
}
|
|
1911
|
-
return (m,
|
|
1912
|
-
const V = ge, y =
|
|
1913
|
-
return d(), _(
|
|
1911
|
+
return (m, f) => {
|
|
1912
|
+
const V = ge, y = xn, v = wn, g = gn, h = cn, $ = _e, F = he;
|
|
1913
|
+
return d(), _(F, {
|
|
1914
1914
|
modelValue: o.value,
|
|
1915
|
-
"onUpdate:modelValue":
|
|
1916
|
-
"prepend-icon": `svg:${t(
|
|
1915
|
+
"onUpdate:modelValue": f[4] || (f[4] = (M) => o.value = M),
|
|
1916
|
+
"prepend-icon": `svg:${t(so)}`,
|
|
1917
1917
|
title: "Subscriptions"
|
|
1918
1918
|
}, P({
|
|
1919
1919
|
default: r(() => [
|
|
@@ -1921,30 +1921,30 @@ const He = G("settings", () => {
|
|
|
1921
1921
|
default: r(() => [
|
|
1922
1922
|
i(ve, { scrollable: "" }, {
|
|
1923
1923
|
default: r(() => [
|
|
1924
|
-
b("div",
|
|
1924
|
+
b("div", Sn, [
|
|
1925
1925
|
i(ue, null, {
|
|
1926
1926
|
default: r(() => [
|
|
1927
1927
|
i(V, {
|
|
1928
1928
|
text: "The Vuetify One subscription is a great way to support the Vuetify team and get access to exclusive features and content.",
|
|
1929
1929
|
title: "Vuetify One"
|
|
1930
1930
|
}),
|
|
1931
|
-
i(
|
|
1931
|
+
i(gt, { "model-value": t(l) }, {
|
|
1932
1932
|
default: r(() => [
|
|
1933
1933
|
i(ke, { value: "subscribe" }, {
|
|
1934
1934
|
default: r(() => [
|
|
1935
1935
|
i(y, {
|
|
1936
1936
|
modelValue: t(s),
|
|
1937
|
-
"onUpdate:modelValue":
|
|
1937
|
+
"onUpdate:modelValue": f[0] || (f[0] = (M) => ne(s) ? s.value = M : null)
|
|
1938
1938
|
}, null, 8, ["modelValue"]),
|
|
1939
|
-
|
|
1940
|
-
i(
|
|
1939
|
+
Cn,
|
|
1940
|
+
i(v)
|
|
1941
1941
|
]),
|
|
1942
1942
|
_: 1
|
|
1943
1943
|
}),
|
|
1944
1944
|
i(ke, { value: "status" }, {
|
|
1945
1945
|
default: r(() => [
|
|
1946
1946
|
i(g, {
|
|
1947
|
-
"onChange:subscription":
|
|
1947
|
+
"onChange:subscription": f[1] || (f[1] = (M) => l.value = "subscribe")
|
|
1948
1948
|
}),
|
|
1949
1949
|
i(h)
|
|
1950
1950
|
]),
|
|
@@ -1969,13 +1969,13 @@ const He = G("settings", () => {
|
|
|
1969
1969
|
t(l) === "subscribe" ? {
|
|
1970
1970
|
name: "actions",
|
|
1971
1971
|
fn: r(() => [
|
|
1972
|
-
b("div",
|
|
1972
|
+
b("div", Ln, [
|
|
1973
1973
|
t(p) !== !1 ? (d(), _($, {
|
|
1974
1974
|
key: 0,
|
|
1975
1975
|
block: "",
|
|
1976
1976
|
color: "success",
|
|
1977
1977
|
loading: t(a).isLoading,
|
|
1978
|
-
"prepend-icon": `svg:${t(p) !== null ? t(
|
|
1978
|
+
"prepend-icon": `svg:${t(p) !== null ? t(ao) : t(Oe)}`,
|
|
1979
1979
|
readonly: t(p) === null,
|
|
1980
1980
|
size: "default",
|
|
1981
1981
|
text: t(p) !== null ? "Modify Subscription" : "Success",
|
|
@@ -1983,10 +1983,10 @@ const He = G("settings", () => {
|
|
|
1983
1983
|
}, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : t(a).isSubscriber ? (d(), _($, {
|
|
1984
1984
|
key: 2,
|
|
1985
1985
|
block: "",
|
|
1986
|
-
"prepend-icon": `svg:${t(
|
|
1986
|
+
"prepend-icon": `svg:${t(io)}`,
|
|
1987
1987
|
size: "default",
|
|
1988
1988
|
text: "Manage Subscription",
|
|
1989
|
-
onClick:
|
|
1989
|
+
onClick: f[3] || (f[3] = (M) => l.value = "status")
|
|
1990
1990
|
}, null, 8, ["prepend-icon"])) : (d(), _($, {
|
|
1991
1991
|
key: 1,
|
|
1992
1992
|
block: "",
|
|
@@ -1996,7 +1996,7 @@ const He = G("settings", () => {
|
|
|
1996
1996
|
"prepend-icon": "$vuetify",
|
|
1997
1997
|
size: "default",
|
|
1998
1998
|
text: "Activate Subscription",
|
|
1999
|
-
onClick:
|
|
1999
|
+
onClick: f[2] || (f[2] = (M) => t(a).subscribe(t(s)))
|
|
2000
2000
|
}, null, 8, ["color", "disabled", "loading"]))
|
|
2001
2001
|
])
|
|
2002
2002
|
]),
|
|
@@ -2005,16 +2005,16 @@ const He = G("settings", () => {
|
|
|
2005
2005
|
]), 1032, ["modelValue", "prepend-icon"]);
|
|
2006
2006
|
};
|
|
2007
2007
|
}
|
|
2008
|
-
}),
|
|
2008
|
+
}), An = /* @__PURE__ */ k({
|
|
2009
2009
|
__name: "VoSubscriptionListItem",
|
|
2010
2010
|
setup(c) {
|
|
2011
|
-
const e =
|
|
2011
|
+
const e = A(!1);
|
|
2012
2012
|
return (o, a) => {
|
|
2013
|
-
const n =
|
|
2013
|
+
const n = In, s = J;
|
|
2014
2014
|
return d(), _(s, {
|
|
2015
2015
|
active: t(e),
|
|
2016
2016
|
link: "",
|
|
2017
|
-
"prepend-icon": `svg:${t(
|
|
2017
|
+
"prepend-icon": `svg:${t(ro)}`,
|
|
2018
2018
|
title: "Subscriptions"
|
|
2019
2019
|
}, {
|
|
2020
2020
|
default: r(() => [
|
|
@@ -2030,7 +2030,7 @@ const He = G("settings", () => {
|
|
|
2030
2030
|
}), Dn = {
|
|
2031
2031
|
key: 0,
|
|
2032
2032
|
class: "text-success"
|
|
2033
|
-
},
|
|
2033
|
+
}, Ee = /* @__PURE__ */ k({
|
|
2034
2034
|
__name: "VoSponsorshipsTimelineItem",
|
|
2035
2035
|
props: {
|
|
2036
2036
|
title: {},
|
|
@@ -2042,16 +2042,16 @@ const He = G("settings", () => {
|
|
|
2042
2042
|
sponsorship: {}
|
|
2043
2043
|
},
|
|
2044
2044
|
setup(c) {
|
|
2045
|
-
const e = c, o =
|
|
2045
|
+
const e = c, o = Re(), a = x(() => {
|
|
2046
2046
|
var s, l;
|
|
2047
2047
|
return `$${parseFloat(String((((s = e.sponsorship) == null ? void 0 : s.amount) ?? 0) / 100)).toFixed(2)} /${(l = e.sponsorship) == null ? void 0 : l.interval}`;
|
|
2048
2048
|
});
|
|
2049
2049
|
return (n, s) => {
|
|
2050
2050
|
var p, u;
|
|
2051
2051
|
const l = _e;
|
|
2052
|
-
return d(), _(
|
|
2052
|
+
return d(), _(Oo, {
|
|
2053
2053
|
"dot-color": (p = n.sponsorship) != null && p.isActive ? "success" : "transparent",
|
|
2054
|
-
icon: (u = n.sponsorship) != null && u.isActive ? `svg:${t(
|
|
2054
|
+
icon: (u = n.sponsorship) != null && u.isActive ? `svg:${t(Te)}` : void 0,
|
|
2055
2055
|
size: "x-small",
|
|
2056
2056
|
width: "100%"
|
|
2057
2057
|
}, {
|
|
@@ -2067,8 +2067,8 @@ const He = G("settings", () => {
|
|
|
2067
2067
|
var m;
|
|
2068
2068
|
return [
|
|
2069
2069
|
(m = n.sponsorship) != null && m.isActive ? (d(), I("div", Dn, [
|
|
2070
|
-
i(
|
|
2071
|
-
icon: `svg:${t(
|
|
2070
|
+
i(D, {
|
|
2071
|
+
icon: `svg:${t(lo)}`,
|
|
2072
2072
|
size: "x-small"
|
|
2073
2073
|
}, null, 8, ["icon"]),
|
|
2074
2074
|
T(" " + C(t(a)), 1)
|
|
@@ -2078,7 +2078,7 @@ const He = G("settings", () => {
|
|
|
2078
2078
|
];
|
|
2079
2079
|
}),
|
|
2080
2080
|
append: r(() => {
|
|
2081
|
-
var m,
|
|
2081
|
+
var m, f, V, y, v, g;
|
|
2082
2082
|
return [
|
|
2083
2083
|
n.disabled ? (d(), _(l, {
|
|
2084
2084
|
key: 1,
|
|
@@ -2089,10 +2089,10 @@ const He = G("settings", () => {
|
|
|
2089
2089
|
key: 0,
|
|
2090
2090
|
active: !1,
|
|
2091
2091
|
color: (m = n.sponsorship) != null && m.isActive ? "success" : "primary",
|
|
2092
|
-
href: (
|
|
2093
|
-
"prepend-icon": `svg:${(V = n.sponsorship) != null && V.isActive ? t(
|
|
2092
|
+
href: (f = n.sponsorship) != null && f.isActive || n.to ? void 0 : n.href,
|
|
2093
|
+
"prepend-icon": `svg:${(V = n.sponsorship) != null && V.isActive ? t(Oe) : t(ze)}`,
|
|
2094
2094
|
readonly: (y = n.sponsorship) == null ? void 0 : y.isActive,
|
|
2095
|
-
target: (
|
|
2095
|
+
target: (v = n.sponsorship) != null && v.isActive || n.to ? void 0 : "_blank",
|
|
2096
2096
|
text: (g = n.sponsorship) != null && g.isActive ? "Active" : "Info",
|
|
2097
2097
|
to: n.to,
|
|
2098
2098
|
width: "88"
|
|
@@ -2106,11 +2106,11 @@ const He = G("settings", () => {
|
|
|
2106
2106
|
}, 8, ["dot-color", "icon"]);
|
|
2107
2107
|
};
|
|
2108
2108
|
}
|
|
2109
|
-
}),
|
|
2109
|
+
}), On = /* @__PURE__ */ k({
|
|
2110
2110
|
__name: "VoSponsorshipsTimelineItemPatreon",
|
|
2111
2111
|
setup(c) {
|
|
2112
2112
|
return (e, o) => {
|
|
2113
|
-
const a =
|
|
2113
|
+
const a = Ee;
|
|
2114
2114
|
return d(), _(a, {
|
|
2115
2115
|
disabled: "",
|
|
2116
2116
|
logo: "patreon",
|
|
@@ -2119,12 +2119,12 @@ const He = G("settings", () => {
|
|
|
2119
2119
|
});
|
|
2120
2120
|
};
|
|
2121
2121
|
}
|
|
2122
|
-
}),
|
|
2122
|
+
}), Bn = /* @__PURE__ */ k({
|
|
2123
2123
|
__name: "VoSponsorshipsTimelineItemDiscord",
|
|
2124
2124
|
setup(c) {
|
|
2125
|
-
const e =
|
|
2125
|
+
const e = j();
|
|
2126
2126
|
return (o, a) => {
|
|
2127
|
-
const n =
|
|
2127
|
+
const n = Ee;
|
|
2128
2128
|
return d(), _(n, {
|
|
2129
2129
|
href: "https://discord.com/servers/vuetify-340160225338195969",
|
|
2130
2130
|
logo: "discord",
|
|
@@ -2134,12 +2134,12 @@ const He = G("settings", () => {
|
|
|
2134
2134
|
}, null, 8, ["sponsorship"]);
|
|
2135
2135
|
};
|
|
2136
2136
|
}
|
|
2137
|
-
}),
|
|
2137
|
+
}), Un = /* @__PURE__ */ k({
|
|
2138
2138
|
__name: "VoSponsorshipsTimelineItemGithub",
|
|
2139
2139
|
setup(c) {
|
|
2140
|
-
const e =
|
|
2140
|
+
const e = j();
|
|
2141
2141
|
return (o, a) => {
|
|
2142
|
-
const n =
|
|
2142
|
+
const n = Ee;
|
|
2143
2143
|
return d(), _(n, {
|
|
2144
2144
|
href: "https://github.com/sponsors/johnleider",
|
|
2145
2145
|
logo: "github",
|
|
@@ -2149,12 +2149,12 @@ const He = G("settings", () => {
|
|
|
2149
2149
|
}, null, 8, ["sponsorship"]);
|
|
2150
2150
|
};
|
|
2151
2151
|
}
|
|
2152
|
-
}),
|
|
2152
|
+
}), Nn = /* @__PURE__ */ k({
|
|
2153
2153
|
__name: "VoSponsorshipsTimelineItemOne",
|
|
2154
2154
|
setup(c) {
|
|
2155
|
-
const e =
|
|
2155
|
+
const e = j();
|
|
2156
2156
|
return (o, a) => {
|
|
2157
|
-
const n =
|
|
2157
|
+
const n = Ee;
|
|
2158
2158
|
return d(), _(n, {
|
|
2159
2159
|
logo: "one",
|
|
2160
2160
|
sponsorship: t(e).one,
|
|
@@ -2164,12 +2164,12 @@ const He = G("settings", () => {
|
|
|
2164
2164
|
}, null, 8, ["sponsorship"]);
|
|
2165
2165
|
};
|
|
2166
2166
|
}
|
|
2167
|
-
}),
|
|
2167
|
+
}), Tn = /* @__PURE__ */ k({
|
|
2168
2168
|
__name: "VoSponsorshipsTimeline",
|
|
2169
2169
|
setup(c) {
|
|
2170
2170
|
return (e, o) => {
|
|
2171
|
-
const a =
|
|
2172
|
-
return d(), _(
|
|
2171
|
+
const a = Nn, n = Un, s = Bn, l = On;
|
|
2172
|
+
return d(), _(Bo, {
|
|
2173
2173
|
class: "justify-start ms-n7",
|
|
2174
2174
|
"line-inset": "12",
|
|
2175
2175
|
side: "end",
|
|
@@ -2186,7 +2186,7 @@ const He = G("settings", () => {
|
|
|
2186
2186
|
});
|
|
2187
2187
|
};
|
|
2188
2188
|
}
|
|
2189
|
-
}),
|
|
2189
|
+
}), zn = { class: "px-3 pb-5 d-flex flex-column h-100" }, Fn = { class: "font-weight-black" }, jn = { class: "text-caption text-medium-emphasis" }, Mn = /* @__PURE__ */ k({
|
|
2190
2190
|
__name: "VoSponsorshipsDialog",
|
|
2191
2191
|
props: {
|
|
2192
2192
|
modelValue: { type: Boolean },
|
|
@@ -2194,15 +2194,15 @@ const He = G("settings", () => {
|
|
|
2194
2194
|
},
|
|
2195
2195
|
emits: ["update:modelValue"],
|
|
2196
2196
|
setup(c) {
|
|
2197
|
-
const e = le(c, "modelValue"), o = ye(), a =
|
|
2197
|
+
const e = le(c, "modelValue"), o = ye(), a = j();
|
|
2198
2198
|
return N(o, async () => {
|
|
2199
2199
|
o.value.one === "sponsorships" && (a.isOpen = !0, await de(), e.value = !0);
|
|
2200
2200
|
}, { immediate: !0 }), (n, s) => {
|
|
2201
|
-
const l = ge, p =
|
|
2201
|
+
const l = ge, p = Tn, u = Ne("v-empty-state"), m = he;
|
|
2202
2202
|
return d(), _(m, {
|
|
2203
2203
|
modelValue: e.value,
|
|
2204
|
-
"onUpdate:modelValue": s[0] || (s[0] = (
|
|
2205
|
-
"prepend-icon": `svg:${t(
|
|
2204
|
+
"onUpdate:modelValue": s[0] || (s[0] = (f) => e.value = f),
|
|
2205
|
+
"prepend-icon": `svg:${t(co)}`,
|
|
2206
2206
|
title: "Sponsorships"
|
|
2207
2207
|
}, {
|
|
2208
2208
|
default: r(() => [
|
|
@@ -2210,7 +2210,7 @@ const He = G("settings", () => {
|
|
|
2210
2210
|
default: r(() => [
|
|
2211
2211
|
i(ve, { scrollable: "" }, {
|
|
2212
2212
|
default: r(() => [
|
|
2213
|
-
b("div",
|
|
2213
|
+
b("div", zn, [
|
|
2214
2214
|
i(ue, { class: "flex-0-0 mb-16 mb-sm-4" }, {
|
|
2215
2215
|
default: r(() => [
|
|
2216
2216
|
i(l, {
|
|
@@ -2228,16 +2228,16 @@ const He = G("settings", () => {
|
|
|
2228
2228
|
size: "128"
|
|
2229
2229
|
}, {
|
|
2230
2230
|
media: r(() => [
|
|
2231
|
-
i(
|
|
2231
|
+
i(D, {
|
|
2232
2232
|
color: t(a).isSubscriber ? "success" : "error"
|
|
2233
2233
|
}, null, 8, ["color"])
|
|
2234
2234
|
]),
|
|
2235
2235
|
title: r(() => [
|
|
2236
2236
|
T(" One Status: "),
|
|
2237
|
-
b("span",
|
|
2237
|
+
b("span", Fn, C(t(a).isSubscriber ? "Active" : "Inactive"), 1)
|
|
2238
2238
|
]),
|
|
2239
2239
|
text: r(() => [
|
|
2240
|
-
b("div",
|
|
2240
|
+
b("div", jn, C(t(a).isSubscriber ? "You are currently receiving benefits of Vuetify One." : "Login to activate Vuetify One benefits"), 1)
|
|
2241
2241
|
]),
|
|
2242
2242
|
_: 1
|
|
2243
2243
|
})
|
|
@@ -2253,16 +2253,16 @@ const He = G("settings", () => {
|
|
|
2253
2253
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
2254
2254
|
};
|
|
2255
2255
|
}
|
|
2256
|
-
}),
|
|
2256
|
+
}), Pn = /* @__PURE__ */ k({
|
|
2257
2257
|
__name: "VoSponsorshipsListItem",
|
|
2258
2258
|
setup(c) {
|
|
2259
|
-
const e =
|
|
2259
|
+
const e = A(!1);
|
|
2260
2260
|
return (o, a) => {
|
|
2261
|
-
const n =
|
|
2261
|
+
const n = Mn, s = J;
|
|
2262
2262
|
return d(), _(s, {
|
|
2263
2263
|
active: t(e),
|
|
2264
2264
|
link: "",
|
|
2265
|
-
"prepend-icon": `svg:${t(
|
|
2265
|
+
"prepend-icon": `svg:${t(uo)}`,
|
|
2266
2266
|
title: "Sponsorships"
|
|
2267
2267
|
}, {
|
|
2268
2268
|
default: r(() => [
|
|
@@ -2275,8 +2275,8 @@ const He = G("settings", () => {
|
|
|
2275
2275
|
}, 8, ["active", "prepend-icon"]);
|
|
2276
2276
|
};
|
|
2277
2277
|
}
|
|
2278
|
-
}),
|
|
2279
|
-
const c = se(), e = B([]), o =
|
|
2278
|
+
}), Hn = G("downloads", () => {
|
|
2279
|
+
const c = se(), e = B([]), o = A(!1);
|
|
2280
2280
|
async function a() {
|
|
2281
2281
|
if (e.value.length)
|
|
2282
2282
|
return e.value;
|
|
@@ -2295,10 +2295,10 @@ const He = G("settings", () => {
|
|
|
2295
2295
|
isLoading: o,
|
|
2296
2296
|
index: a
|
|
2297
2297
|
};
|
|
2298
|
-
}),
|
|
2298
|
+
}), Rn = /* @__PURE__ */ k({
|
|
2299
2299
|
__name: "VoDownloadsTable",
|
|
2300
2300
|
setup(c) {
|
|
2301
|
-
const e = Se(), o =
|
|
2301
|
+
const e = Se(), o = Hn(), a = [
|
|
2302
2302
|
{
|
|
2303
2303
|
title: "Order ID",
|
|
2304
2304
|
value: "order_name"
|
|
@@ -2318,13 +2318,13 @@ const He = G("settings", () => {
|
|
|
2318
2318
|
value: "download_url"
|
|
2319
2319
|
}
|
|
2320
2320
|
];
|
|
2321
|
-
return
|
|
2321
|
+
return Be(async () => {
|
|
2322
2322
|
await o.index();
|
|
2323
2323
|
}), (n, s) => {
|
|
2324
2324
|
const l = ge;
|
|
2325
2325
|
return d(), _(re, null, {
|
|
2326
2326
|
default: r(() => [
|
|
2327
|
-
i(
|
|
2327
|
+
i(X, { cols: "12" }, {
|
|
2328
2328
|
default: r(() => [
|
|
2329
2329
|
i(l, {
|
|
2330
2330
|
text: "View and download your store purchases.",
|
|
@@ -2336,7 +2336,7 @@ const He = G("settings", () => {
|
|
|
2336
2336
|
rounded: "lg"
|
|
2337
2337
|
}, {
|
|
2338
2338
|
default: r(() => [
|
|
2339
|
-
i(
|
|
2339
|
+
i(ht, {
|
|
2340
2340
|
"fixed-header": "",
|
|
2341
2341
|
headers: a,
|
|
2342
2342
|
height: "640",
|
|
@@ -2359,7 +2359,7 @@ const He = G("settings", () => {
|
|
|
2359
2359
|
i(q, {
|
|
2360
2360
|
color: "medium-emphasis",
|
|
2361
2361
|
href: p.download_url,
|
|
2362
|
-
icon: `svg:${t(
|
|
2362
|
+
icon: `svg:${t(po)}`,
|
|
2363
2363
|
size: "small",
|
|
2364
2364
|
target: "_blank",
|
|
2365
2365
|
variant: "text"
|
|
@@ -2378,23 +2378,23 @@ const He = G("settings", () => {
|
|
|
2378
2378
|
});
|
|
2379
2379
|
};
|
|
2380
2380
|
}
|
|
2381
|
-
}),
|
|
2381
|
+
}), En = { class: "px-3" }, Wn = /* @__PURE__ */ k({
|
|
2382
2382
|
__name: "VoDownloadsNavItem",
|
|
2383
2383
|
setup(c) {
|
|
2384
|
-
const e =
|
|
2384
|
+
const e = A(!1);
|
|
2385
2385
|
return (o, a) => {
|
|
2386
|
-
const n =
|
|
2386
|
+
const n = Rn, s = he, l = J;
|
|
2387
2387
|
return d(), _(l, {
|
|
2388
2388
|
active: t(e),
|
|
2389
2389
|
link: "",
|
|
2390
|
-
"prepend-icon": `svg:${t(
|
|
2390
|
+
"prepend-icon": `svg:${t(st)}`,
|
|
2391
2391
|
title: "Downloads"
|
|
2392
2392
|
}, {
|
|
2393
2393
|
default: r(() => [
|
|
2394
2394
|
i(s, {
|
|
2395
2395
|
modelValue: t(e),
|
|
2396
2396
|
"onUpdate:modelValue": a[0] || (a[0] = (p) => ne(e) ? e.value = p : null),
|
|
2397
|
-
"prepend-icon": `svg:${t(
|
|
2397
|
+
"prepend-icon": `svg:${t(st)}`,
|
|
2398
2398
|
title: "Downloads"
|
|
2399
2399
|
}, {
|
|
2400
2400
|
default: r(() => [
|
|
@@ -2402,7 +2402,7 @@ const He = G("settings", () => {
|
|
|
2402
2402
|
default: r(() => [
|
|
2403
2403
|
i(ve, { scrollable: "" }, {
|
|
2404
2404
|
default: r(() => [
|
|
2405
|
-
b("div",
|
|
2405
|
+
b("div", En, [
|
|
2406
2406
|
i(ue, null, {
|
|
2407
2407
|
default: r(() => [
|
|
2408
2408
|
i(n)
|
|
@@ -2424,9 +2424,9 @@ const He = G("settings", () => {
|
|
|
2424
2424
|
}, 8, ["active", "prepend-icon"]);
|
|
2425
2425
|
};
|
|
2426
2426
|
}
|
|
2427
|
-
}),
|
|
2427
|
+
}), qn = /* @__PURE__ */ b("h2", { class: "text-h4" }, " Configuration Tooling ", -1), Gn = /* @__PURE__ */ b("p", { class: "text-subtitle-1 text-medium-emphasis" }, " Coming soon to Vuetify One ", -1), Zn = { class: "text-uppercase text-info" }, Qn = { class: "text-h6 mb-2" }, Yn = { class: "text-caption" }, Jn = /* @__PURE__ */ b("div", null, " Become a subscriber and be the first to gain access to the Vuetify Studio Alpha when it releases in April 2024. ", -1), Xn = /* @__PURE__ */ k({
|
|
2428
2428
|
__name: "VoStudioDialog",
|
|
2429
|
-
props: /* @__PURE__ */
|
|
2429
|
+
props: /* @__PURE__ */ rt({
|
|
2430
2430
|
prependIcon: {}
|
|
2431
2431
|
}, {
|
|
2432
2432
|
modelValue: { type: Boolean },
|
|
@@ -2434,7 +2434,7 @@ const He = G("settings", () => {
|
|
|
2434
2434
|
}),
|
|
2435
2435
|
emits: ["update:modelValue"],
|
|
2436
2436
|
setup(c) {
|
|
2437
|
-
const e = le(c, "modelValue"), o = ye(), a =
|
|
2437
|
+
const e = le(c, "modelValue"), o = ye(), a = Fe(), n = j(), { smAndUp: s } = ce(), l = [
|
|
2438
2438
|
{
|
|
2439
2439
|
title: "Customize",
|
|
2440
2440
|
subtitle: "Customize your Vuetify theme, components, and more with the Vuetify Studio.",
|
|
@@ -2461,7 +2461,7 @@ const He = G("settings", () => {
|
|
|
2461
2461
|
e.value = !1, a.push({ query: { one: "subscribe" } });
|
|
2462
2462
|
}
|
|
2463
2463
|
return (u, m) => {
|
|
2464
|
-
const
|
|
2464
|
+
const f = _e, V = he;
|
|
2465
2465
|
return d(), _(V, {
|
|
2466
2466
|
modelValue: e.value,
|
|
2467
2467
|
"onUpdate:modelValue": m[0] || (m[0] = (y) => e.value = y),
|
|
@@ -2473,7 +2473,7 @@ const He = G("settings", () => {
|
|
|
2473
2473
|
default: r(() => [
|
|
2474
2474
|
i(ve, { scrollable: "" }, {
|
|
2475
2475
|
default: r(() => [
|
|
2476
|
-
i(
|
|
2476
|
+
i(Y, {
|
|
2477
2477
|
"content-class": "d-flex align-center justify-center flex-column",
|
|
2478
2478
|
cover: "",
|
|
2479
2479
|
gradient: "to top right, rgba(var(--v-theme-primary),.8), rgba(0,0,0,.9)",
|
|
@@ -2490,51 +2490,51 @@ const He = G("settings", () => {
|
|
|
2490
2490
|
rounded: "xl"
|
|
2491
2491
|
}, {
|
|
2492
2492
|
text: r(() => [
|
|
2493
|
-
i(
|
|
2493
|
+
i(D, {
|
|
2494
2494
|
color: "accent",
|
|
2495
2495
|
icon: u.prependIcon,
|
|
2496
2496
|
size: "80"
|
|
2497
2497
|
}, null, 8, ["icon"]),
|
|
2498
|
-
|
|
2499
|
-
|
|
2498
|
+
qn,
|
|
2499
|
+
Gn
|
|
2500
2500
|
]),
|
|
2501
2501
|
_: 1
|
|
2502
2502
|
})
|
|
2503
2503
|
]),
|
|
2504
2504
|
_: 1
|
|
2505
2505
|
}),
|
|
2506
|
-
(d(), I(U, null, oe(l, (y,
|
|
2507
|
-
key:
|
|
2506
|
+
(d(), I(U, null, oe(l, (y, v) => i($e, {
|
|
2507
|
+
key: v,
|
|
2508
2508
|
class: "py-8",
|
|
2509
|
-
color:
|
|
2509
|
+
color: v % 2 === 0 ? "surface-light" : "surface-variant"
|
|
2510
2510
|
}, {
|
|
2511
2511
|
default: r(() => [
|
|
2512
|
-
i(
|
|
2512
|
+
i(at, null, {
|
|
2513
2513
|
default: r(() => [
|
|
2514
2514
|
i(re, { align: "center" }, {
|
|
2515
2515
|
default: r(() => [
|
|
2516
|
-
i(
|
|
2516
|
+
i(X, {
|
|
2517
2517
|
cols: "12",
|
|
2518
2518
|
offset: "0",
|
|
2519
2519
|
"offset-sm": "1",
|
|
2520
|
-
order:
|
|
2520
|
+
order: v % 2,
|
|
2521
2521
|
sm: "6"
|
|
2522
2522
|
}, {
|
|
2523
2523
|
default: r(() => [
|
|
2524
|
-
b("strong",
|
|
2525
|
-
b("p",
|
|
2526
|
-
b("p",
|
|
2524
|
+
b("strong", Zn, C(y.title), 1),
|
|
2525
|
+
b("p", Qn, C(y.subtitle), 1),
|
|
2526
|
+
b("p", Yn, C(y.text), 1)
|
|
2527
2527
|
]),
|
|
2528
2528
|
_: 2
|
|
2529
2529
|
}, 1032, ["order"]),
|
|
2530
|
-
i(
|
|
2530
|
+
i(X, {
|
|
2531
2531
|
cols: "12",
|
|
2532
2532
|
offset: "0",
|
|
2533
|
-
"offset-sm":
|
|
2533
|
+
"offset-sm": v % 2,
|
|
2534
2534
|
sm: "4"
|
|
2535
2535
|
}, {
|
|
2536
2536
|
default: r(() => [
|
|
2537
|
-
i(
|
|
2537
|
+
i(Y, {
|
|
2538
2538
|
cover: "",
|
|
2539
2539
|
height: t(s) ? 180 : void 0,
|
|
2540
2540
|
rounded: "lg",
|
|
@@ -2557,23 +2557,23 @@ const He = G("settings", () => {
|
|
|
2557
2557
|
class: "text-center py-6"
|
|
2558
2558
|
}, {
|
|
2559
2559
|
default: r(() => [
|
|
2560
|
-
i(
|
|
2560
|
+
i(at, null, {
|
|
2561
2561
|
default: r(() => [
|
|
2562
2562
|
i(re, { justify: "center" }, {
|
|
2563
2563
|
default: r(() => [
|
|
2564
|
-
i(
|
|
2564
|
+
i(X, { cols: "6" }, {
|
|
2565
2565
|
default: r(() => [
|
|
2566
|
-
i(
|
|
2566
|
+
i(K, {
|
|
2567
2567
|
image: "https://cdn.vuetifyjs.com/docs/images/avatars/one.png",
|
|
2568
2568
|
size: "64"
|
|
2569
2569
|
}),
|
|
2570
|
-
|
|
2570
|
+
Jn
|
|
2571
2571
|
]),
|
|
2572
2572
|
_: 1
|
|
2573
2573
|
}),
|
|
2574
|
-
i(
|
|
2574
|
+
i(X, { cols: "12" }, {
|
|
2575
2575
|
default: r(() => [
|
|
2576
|
-
i(
|
|
2576
|
+
i(f, {
|
|
2577
2577
|
"prepend-icon": "$vuetify",
|
|
2578
2578
|
size: "x-large",
|
|
2579
2579
|
text: "Subscribe Today",
|
|
@@ -2602,17 +2602,17 @@ const He = G("settings", () => {
|
|
|
2602
2602
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
2603
2603
|
};
|
|
2604
2604
|
}
|
|
2605
|
-
}),
|
|
2605
|
+
}), Kn = /* @__PURE__ */ k({
|
|
2606
2606
|
__name: "VoStudioNavItem",
|
|
2607
2607
|
setup(c) {
|
|
2608
|
-
const e =
|
|
2608
|
+
const e = A(!1), o = [
|
|
2609
2609
|
["M12.435 14.3194L12 21L6.87046 12.2799L12.435 14.3194Z", 1],
|
|
2610
2610
|
["M22 4L12.435 14.3194L6.87046 12.2799L9.26479 7.61064L12.435 14.3194L12 21L22 4Z", 0.5],
|
|
2611
2611
|
["M12.435 14.3194L22 4L9.26479 7.61064L12.435 14.3194Z", 1],
|
|
2612
2612
|
["M2 4L6.87046 12.2799L9.26479 7.61064L2 4Z", 1]
|
|
2613
2613
|
];
|
|
2614
2614
|
return (a, n) => {
|
|
2615
|
-
const s =
|
|
2615
|
+
const s = Xn, l = J;
|
|
2616
2616
|
return d(), _(l, {
|
|
2617
2617
|
active: t(e),
|
|
2618
2618
|
link: "",
|
|
@@ -2641,13 +2641,13 @@ const He = G("settings", () => {
|
|
|
2641
2641
|
}, 8, ["active"]);
|
|
2642
2642
|
};
|
|
2643
2643
|
}
|
|
2644
|
-
}),
|
|
2644
|
+
}), es = {
|
|
2645
2645
|
key: 0,
|
|
2646
2646
|
class: "pt-16"
|
|
2647
|
-
},
|
|
2647
|
+
}, ts = /* @__PURE__ */ b("div", { class: "text-medium-emphasis" }, " All caught up ", -1), os = {
|
|
2648
2648
|
key: 1,
|
|
2649
2649
|
class: "pa-5"
|
|
2650
|
-
},
|
|
2650
|
+
}, ns = { class: "text-subtitle-1 font-weight-bold" }, ss = { class: "text-caption font-weight-bold text-medium-emphasis" }, as = { class: "text-disabled text-caption mt-2 mb-3" }, is = /* @__PURE__ */ k({
|
|
2651
2651
|
__name: "VoNotificationsBannerList",
|
|
2652
2652
|
props: {
|
|
2653
2653
|
items: {}
|
|
@@ -2661,16 +2661,16 @@ const He = G("settings", () => {
|
|
|
2661
2661
|
n(l.slug) ? a.notifications.last.banner = a.notifications.last.banner.filter((p) => p !== l.slug) : a.notifications.last.banner.push(l.slug);
|
|
2662
2662
|
}
|
|
2663
2663
|
return (l, p) => {
|
|
2664
|
-
const u =
|
|
2664
|
+
const u = Ne("v-empty-state");
|
|
2665
2665
|
return d(), _(ie, {
|
|
2666
2666
|
class: "py-0",
|
|
2667
2667
|
height: "100%",
|
|
2668
2668
|
lines: "three"
|
|
2669
2669
|
}, {
|
|
2670
2670
|
default: r(() => [
|
|
2671
|
-
l.items.length ? (d(), I("div",
|
|
2671
|
+
l.items.length ? (d(), I("div", os, [
|
|
2672
2672
|
(d(!0), I(U, null, oe(l.items, (m) => {
|
|
2673
|
-
var
|
|
2673
|
+
var f;
|
|
2674
2674
|
return d(), I("div", {
|
|
2675
2675
|
key: m.slug,
|
|
2676
2676
|
class: "mb-4"
|
|
@@ -2678,24 +2678,24 @@ const He = G("settings", () => {
|
|
|
2678
2678
|
i(H, {
|
|
2679
2679
|
color: m.metadata.color,
|
|
2680
2680
|
flat: "",
|
|
2681
|
-
image: (
|
|
2681
|
+
image: (f = m.metadata.images.bg) == null ? void 0 : f.url,
|
|
2682
2682
|
rounded: "b-0",
|
|
2683
2683
|
title: m.title
|
|
2684
2684
|
}, {
|
|
2685
2685
|
prepend: r(() => {
|
|
2686
2686
|
var V;
|
|
2687
2687
|
return [
|
|
2688
|
-
i(
|
|
2688
|
+
i(K, {
|
|
2689
2689
|
image: (V = m.metadata.images.logo) == null ? void 0 : V.url
|
|
2690
2690
|
}, null, 8, ["image"])
|
|
2691
2691
|
];
|
|
2692
2692
|
}),
|
|
2693
2693
|
image: r(() => [
|
|
2694
|
-
i(
|
|
2694
|
+
i(Y, { position: "right" })
|
|
2695
2695
|
]),
|
|
2696
2696
|
_: 2
|
|
2697
2697
|
}, 1032, ["color", "image", "title"]),
|
|
2698
|
-
i(
|
|
2698
|
+
i(Pe, null, {
|
|
2699
2699
|
default: r(({ props: V, isHovering: y }) => [
|
|
2700
2700
|
i($e, W(V, {
|
|
2701
2701
|
border: "",
|
|
@@ -2707,18 +2707,18 @@ const He = G("settings", () => {
|
|
|
2707
2707
|
location: "bottom",
|
|
2708
2708
|
text: n(m.slug) ? "Mark as unread" : "Mark as read"
|
|
2709
2709
|
}, {
|
|
2710
|
-
activator: r(({ props:
|
|
2711
|
-
i(
|
|
2710
|
+
activator: r(({ props: v }) => [
|
|
2711
|
+
i(je, { "hide-on-leave": "" }, {
|
|
2712
2712
|
default: r(() => [
|
|
2713
|
-
xe(i(q, W(
|
|
2713
|
+
xe(i(q, W(v, {
|
|
2714
2714
|
class: "ms-auto float-right",
|
|
2715
|
-
icon: `svg:${n(m.slug) ? t(
|
|
2715
|
+
icon: `svg:${n(m.slug) ? t(pt) : t(dt)}`,
|
|
2716
2716
|
"mdi-email-variant": "",
|
|
2717
2717
|
size: "small",
|
|
2718
2718
|
variant: "text",
|
|
2719
2719
|
onClick: (g) => s(m)
|
|
2720
2720
|
}), null, 16, ["icon", "onClick"]), [
|
|
2721
|
-
[
|
|
2721
|
+
[Ue, y || t(o).mobile.value]
|
|
2722
2722
|
])
|
|
2723
2723
|
]),
|
|
2724
2724
|
_: 2
|
|
@@ -2726,15 +2726,15 @@ const He = G("settings", () => {
|
|
|
2726
2726
|
]),
|
|
2727
2727
|
_: 2
|
|
2728
2728
|
}, 1032, ["text"]),
|
|
2729
|
-
b("div",
|
|
2730
|
-
b("div",
|
|
2731
|
-
b("div",
|
|
2729
|
+
b("div", ns, C(m.metadata.text), 1),
|
|
2730
|
+
b("div", ss, C(t(e).format(m.created_at, "fullDateWithWeekday")), 1),
|
|
2731
|
+
b("div", as, C(m.metadata.subtext), 1),
|
|
2732
2732
|
i(te, W({
|
|
2733
2733
|
href: m.metadata.link.startsWith("http") ? m.metadata.link : void 0,
|
|
2734
2734
|
target: m.metadata.link.startsWith("http") ? "_blank" : void 0,
|
|
2735
2735
|
to: m.metadata.link.startsWith("http") ? void 0 : m.metadata.link
|
|
2736
2736
|
}, {
|
|
2737
|
-
"append-icon": `svg:${t(
|
|
2737
|
+
"append-icon": `svg:${t(ze)}`,
|
|
2738
2738
|
border: "",
|
|
2739
2739
|
label: "",
|
|
2740
2740
|
size: "small",
|
|
@@ -2742,7 +2742,7 @@ const He = G("settings", () => {
|
|
|
2742
2742
|
variant: "text"
|
|
2743
2743
|
}), {
|
|
2744
2744
|
append: r(() => [
|
|
2745
|
-
i(
|
|
2745
|
+
i(D, { size: "12" })
|
|
2746
2746
|
]),
|
|
2747
2747
|
_: 2
|
|
2748
2748
|
}, 1040, ["append-icon", "text"])
|
|
@@ -2754,16 +2754,16 @@ const He = G("settings", () => {
|
|
|
2754
2754
|
}, 1024)
|
|
2755
2755
|
]);
|
|
2756
2756
|
}), 128))
|
|
2757
|
-
])) : (d(), I("div",
|
|
2757
|
+
])) : (d(), I("div", es, [
|
|
2758
2758
|
i(u, {
|
|
2759
2759
|
icon: "$vuetify",
|
|
2760
2760
|
size: "256"
|
|
2761
2761
|
}, {
|
|
2762
2762
|
media: r(() => [
|
|
2763
|
-
i(
|
|
2763
|
+
i(D, { color: "medium-emphasis" })
|
|
2764
2764
|
]),
|
|
2765
2765
|
title: r(() => [
|
|
2766
|
-
|
|
2766
|
+
ts
|
|
2767
2767
|
]),
|
|
2768
2768
|
_: 1
|
|
2769
2769
|
})
|
|
@@ -2773,7 +2773,7 @@ const He = G("settings", () => {
|
|
|
2773
2773
|
});
|
|
2774
2774
|
};
|
|
2775
2775
|
}
|
|
2776
|
-
}),
|
|
2776
|
+
}), rs = { class: "ps-3 text-subtitle-2 pe-2" }, ls = { class: "text-truncate" }, cs = { class: "text-caption font-weight-bold text-medium-emphasis" }, us = { class: "text-disabled text-caption my-2" }, ds = /* @__PURE__ */ k({
|
|
2777
2777
|
__name: "VoNotificationsListItem",
|
|
2778
2778
|
props: {
|
|
2779
2779
|
demo: { type: Boolean },
|
|
@@ -2799,15 +2799,15 @@ const He = G("settings", () => {
|
|
|
2799
2799
|
e.demo || (l(u.slug) ? o.notifications.read = o.notifications.read.filter((m) => m !== u.slug) : o.notifications.read.push(u.slug));
|
|
2800
2800
|
}
|
|
2801
2801
|
return (u, m) => {
|
|
2802
|
-
const
|
|
2803
|
-
return d(), _(
|
|
2802
|
+
const f = J;
|
|
2803
|
+
return d(), _(Pe, null, {
|
|
2804
2804
|
default: r(({ isHovering: V, props: y }) => [
|
|
2805
|
-
i(
|
|
2805
|
+
i(f, W(y, { class: "py-4 mb-0" }), {
|
|
2806
2806
|
prepend: r(() => [
|
|
2807
|
-
b("div",
|
|
2807
|
+
b("div", rs, C(u.notification.metadata.emoji), 1)
|
|
2808
2808
|
]),
|
|
2809
2809
|
append: r(() => [
|
|
2810
|
-
i(
|
|
2810
|
+
i(Uo, {
|
|
2811
2811
|
class: "mt-n3",
|
|
2812
2812
|
width: "56"
|
|
2813
2813
|
}, {
|
|
@@ -2816,18 +2816,18 @@ const He = G("settings", () => {
|
|
|
2816
2816
|
location: "bottom",
|
|
2817
2817
|
text: l(u.notification.slug) ? "Mark as unread" : "Mark as read"
|
|
2818
2818
|
}, {
|
|
2819
|
-
activator: r(({ props:
|
|
2820
|
-
i(
|
|
2819
|
+
activator: r(({ props: v }) => [
|
|
2820
|
+
i(je, { "hide-on-leave": "" }, {
|
|
2821
2821
|
default: r(() => [
|
|
2822
|
-
xe(i(q, W(
|
|
2822
|
+
xe(i(q, W(v, {
|
|
2823
2823
|
class: "ms-auto",
|
|
2824
|
-
icon: `svg:${l(u.notification.slug) ? t(
|
|
2824
|
+
icon: `svg:${l(u.notification.slug) ? t(pt) : t(dt)}`,
|
|
2825
2825
|
"mdi-email-variant": "",
|
|
2826
2826
|
size: "small",
|
|
2827
2827
|
variant: "text",
|
|
2828
2828
|
onClick: m[0] || (m[0] = (g) => p(u.notification))
|
|
2829
2829
|
}), null, 16, ["icon"]), [
|
|
2830
|
-
[
|
|
2830
|
+
[Ue, V || t(n).mobile.value]
|
|
2831
2831
|
])
|
|
2832
2832
|
]),
|
|
2833
2833
|
_: 2
|
|
@@ -2840,16 +2840,16 @@ const He = G("settings", () => {
|
|
|
2840
2840
|
}, 1024)
|
|
2841
2841
|
]),
|
|
2842
2842
|
default: r(() => [
|
|
2843
|
-
i(
|
|
2843
|
+
i(mt, { class: "text-wrap text-h6 mb-1" }, {
|
|
2844
2844
|
default: r(() => [
|
|
2845
|
-
b("div",
|
|
2845
|
+
b("div", ls, C(u.notification.title), 1)
|
|
2846
2846
|
]),
|
|
2847
2847
|
_: 1
|
|
2848
2848
|
}),
|
|
2849
|
-
b("div",
|
|
2850
|
-
b("div",
|
|
2849
|
+
b("div", cs, C(t(a).format(u.notification.created_at, "fullDateWithWeekday")), 1),
|
|
2850
|
+
b("div", us, C(u.notification.metadata.text), 1),
|
|
2851
2851
|
i(te, W({
|
|
2852
|
-
"append-icon": `svg:${t(
|
|
2852
|
+
"append-icon": `svg:${t(ze)}`
|
|
2853
2853
|
}, t(s), {
|
|
2854
2854
|
border: "",
|
|
2855
2855
|
label: "",
|
|
@@ -2858,7 +2858,7 @@ const He = G("settings", () => {
|
|
|
2858
2858
|
variant: "text"
|
|
2859
2859
|
}), {
|
|
2860
2860
|
append: r(() => [
|
|
2861
|
-
i(
|
|
2861
|
+
i(D, { size: "12" })
|
|
2862
2862
|
]),
|
|
2863
2863
|
_: 1
|
|
2864
2864
|
}, 16, ["append-icon", "text"])
|
|
@@ -2870,17 +2870,17 @@ const He = G("settings", () => {
|
|
|
2870
2870
|
});
|
|
2871
2871
|
};
|
|
2872
2872
|
}
|
|
2873
|
-
}),
|
|
2873
|
+
}), ps = {
|
|
2874
2874
|
key: 0,
|
|
2875
2875
|
class: "pt-16"
|
|
2876
|
-
},
|
|
2876
|
+
}, ms = /* @__PURE__ */ b("div", { class: "text-medium-emphasis" }, " All caught up ", -1), fs = /* @__PURE__ */ k({
|
|
2877
2877
|
__name: "VoNotificationsList",
|
|
2878
2878
|
props: {
|
|
2879
2879
|
items: {}
|
|
2880
2880
|
},
|
|
2881
2881
|
setup(c) {
|
|
2882
2882
|
return (e, o) => {
|
|
2883
|
-
const a =
|
|
2883
|
+
const a = Ne("v-empty-state"), n = ds;
|
|
2884
2884
|
return d(), _(ie, {
|
|
2885
2885
|
class: "py-0",
|
|
2886
2886
|
height: "100%",
|
|
@@ -2890,18 +2890,18 @@ const He = G("settings", () => {
|
|
|
2890
2890
|
e.items.length ? (d(!0), I(U, { key: 1 }, oe(e.items, (s, l) => (d(), I(U, {
|
|
2891
2891
|
key: s.slug
|
|
2892
2892
|
}, [
|
|
2893
|
-
l !== 0 ? (d(), _(
|
|
2893
|
+
l !== 0 ? (d(), _(Q, { key: 0 })) : S("", !0),
|
|
2894
2894
|
i(n, { notification: s }, null, 8, ["notification"])
|
|
2895
|
-
], 64))), 128)) : (d(), I("div",
|
|
2895
|
+
], 64))), 128)) : (d(), I("div", ps, [
|
|
2896
2896
|
i(a, {
|
|
2897
2897
|
icon: "$vuetify",
|
|
2898
2898
|
size: "256"
|
|
2899
2899
|
}, {
|
|
2900
2900
|
media: r(() => [
|
|
2901
|
-
i(
|
|
2901
|
+
i(D, { color: "medium-emphasis" })
|
|
2902
2902
|
]),
|
|
2903
2903
|
title: r(() => [
|
|
2904
|
-
|
|
2904
|
+
ms
|
|
2905
2905
|
]),
|
|
2906
2906
|
_: 1
|
|
2907
2907
|
})
|
|
@@ -2911,14 +2911,14 @@ const He = G("settings", () => {
|
|
|
2911
2911
|
});
|
|
2912
2912
|
};
|
|
2913
2913
|
}
|
|
2914
|
-
}),
|
|
2914
|
+
}), Ct = G("site", () => {
|
|
2915
2915
|
const c = B([]), e = B();
|
|
2916
2916
|
return {
|
|
2917
2917
|
id: c,
|
|
2918
2918
|
url: e
|
|
2919
2919
|
};
|
|
2920
|
-
}),
|
|
2921
|
-
const c = se(), e =
|
|
2920
|
+
}), We = G("banners", () => {
|
|
2921
|
+
const c = se(), e = Ct(), o = z(), a = B([]), n = B([]), s = B(), l = A(!1), p = x(() => {
|
|
2922
2922
|
if (s.value)
|
|
2923
2923
|
return s.value;
|
|
2924
2924
|
if (u.value)
|
|
@@ -2928,9 +2928,9 @@ const He = G("settings", () => {
|
|
|
2928
2928
|
slug: h,
|
|
2929
2929
|
metadata: {
|
|
2930
2930
|
site: $,
|
|
2931
|
-
active:
|
|
2931
|
+
active: F
|
|
2932
2932
|
}
|
|
2933
|
-
}) => !
|
|
2933
|
+
}) => !F || o.notifications.last.banner.includes(h) ? !1 : $.includes("dev") && !1 || $.includes("*") ? !0 : $.some((M) => e.id.includes(M)));
|
|
2934
2934
|
}), u = x(() => a.value.find(({
|
|
2935
2935
|
metadata: {
|
|
2936
2936
|
site: h,
|
|
@@ -2948,7 +2948,7 @@ const He = G("settings", () => {
|
|
|
2948
2948
|
}
|
|
2949
2949
|
return a.value;
|
|
2950
2950
|
}
|
|
2951
|
-
async function
|
|
2951
|
+
async function f(h) {
|
|
2952
2952
|
try {
|
|
2953
2953
|
l.value = !0;
|
|
2954
2954
|
const $ = await c.get(`/one/admin/banners/${h}`);
|
|
@@ -2974,17 +2974,17 @@ const He = G("settings", () => {
|
|
|
2974
2974
|
async function y(h, $) {
|
|
2975
2975
|
try {
|
|
2976
2976
|
l.value = !0;
|
|
2977
|
-
const
|
|
2977
|
+
const F = await c.form(
|
|
2978
2978
|
`/one/admin/banners/${h}`,
|
|
2979
2979
|
$
|
|
2980
2980
|
);
|
|
2981
|
-
return s.value =
|
|
2981
|
+
return s.value = F.banner, F.banner;
|
|
2982
2982
|
} catch {
|
|
2983
2983
|
} finally {
|
|
2984
2984
|
l.value = !1;
|
|
2985
2985
|
}
|
|
2986
2986
|
}
|
|
2987
|
-
async function
|
|
2987
|
+
async function v() {
|
|
2988
2988
|
}
|
|
2989
2989
|
async function g() {
|
|
2990
2990
|
try {
|
|
@@ -3005,13 +3005,13 @@ const He = G("settings", () => {
|
|
|
3005
3005
|
banner: p,
|
|
3006
3006
|
record: s,
|
|
3007
3007
|
admin: g,
|
|
3008
|
-
destroy:
|
|
3008
|
+
destroy: v,
|
|
3009
3009
|
index: m,
|
|
3010
|
-
show:
|
|
3010
|
+
show: f,
|
|
3011
3011
|
store: V,
|
|
3012
3012
|
update: y
|
|
3013
3013
|
};
|
|
3014
|
-
}),
|
|
3014
|
+
}), vs = { class: "text-caption" }, _s = { class: "text-caption" }, hs = /* @__PURE__ */ k({
|
|
3015
3015
|
__name: "VoNotificationsDialog",
|
|
3016
3016
|
props: {
|
|
3017
3017
|
modelValue: { type: Boolean },
|
|
@@ -3019,25 +3019,25 @@ const He = G("settings", () => {
|
|
|
3019
3019
|
},
|
|
3020
3020
|
emits: ["update:modelValue"],
|
|
3021
3021
|
setup(c) {
|
|
3022
|
-
const e = ce(), o = ye(), a =
|
|
3022
|
+
const e = ce(), o = ye(), a = We(), n = He(), s = j(), l = z(), p = A(["read"]), u = le(c, "modelValue");
|
|
3023
3023
|
return N(o, async () => {
|
|
3024
3024
|
if (o.value.one !== "notifications") {
|
|
3025
3025
|
u.value && (u.value = !1);
|
|
3026
3026
|
return;
|
|
3027
3027
|
}
|
|
3028
3028
|
s.isOpen = !0, await de(), u.value = !0;
|
|
3029
|
-
}, { immediate: !0 }), (m,
|
|
3030
|
-
const V =
|
|
3029
|
+
}, { immediate: !0 }), (m, f) => {
|
|
3030
|
+
const V = J, y = fs, v = is, g = he;
|
|
3031
3031
|
return d(), _(g, {
|
|
3032
3032
|
modelValue: u.value,
|
|
3033
|
-
"onUpdate:modelValue":
|
|
3034
|
-
"prepend-icon": `svg:${t(
|
|
3033
|
+
"onUpdate:modelValue": f[2] || (f[2] = (h) => u.value = h),
|
|
3034
|
+
"prepend-icon": `svg:${t(mo)}`,
|
|
3035
3035
|
title: "Notifications"
|
|
3036
3036
|
}, {
|
|
3037
3037
|
default: r(() => [
|
|
3038
3038
|
i(fe, null, {
|
|
3039
3039
|
default: r(() => [
|
|
3040
|
-
i(
|
|
3040
|
+
i(No, {
|
|
3041
3041
|
location: t(e).mobile.value ? "top" : "start",
|
|
3042
3042
|
permanent: "",
|
|
3043
3043
|
width: t(e).mobile.value ? 128 : 168
|
|
@@ -3045,7 +3045,7 @@ const He = G("settings", () => {
|
|
|
3045
3045
|
default: r(() => [
|
|
3046
3046
|
i(ie, {
|
|
3047
3047
|
selected: t(p),
|
|
3048
|
-
"onUpdate:selected":
|
|
3048
|
+
"onUpdate:selected": f[0] || (f[0] = (h) => ne(p) ? p.value = h : null),
|
|
3049
3049
|
class: "px-4 pt-4",
|
|
3050
3050
|
density: "compact",
|
|
3051
3051
|
mandatory: "",
|
|
@@ -3053,39 +3053,39 @@ const He = G("settings", () => {
|
|
|
3053
3053
|
}, {
|
|
3054
3054
|
default: r(() => [
|
|
3055
3055
|
i(V, {
|
|
3056
|
-
"prepend-icon": `svg:${t(
|
|
3056
|
+
"prepend-icon": `svg:${t(fo)}`,
|
|
3057
3057
|
title: "Unread",
|
|
3058
3058
|
value: "read"
|
|
3059
3059
|
}, P({ _: 2 }, [
|
|
3060
3060
|
t(n).unread.length > 0 ? {
|
|
3061
3061
|
name: "append",
|
|
3062
3062
|
fn: r(() => [
|
|
3063
|
-
b("span",
|
|
3063
|
+
b("span", vs, C(t(n).unread.length), 1)
|
|
3064
3064
|
]),
|
|
3065
3065
|
key: "0"
|
|
3066
3066
|
} : void 0
|
|
3067
3067
|
]), 1032, ["prepend-icon"]),
|
|
3068
3068
|
i(V, {
|
|
3069
|
-
"prepend-icon": `svg:${t(
|
|
3069
|
+
"prepend-icon": `svg:${t(vo)}`,
|
|
3070
3070
|
title: "Read",
|
|
3071
3071
|
value: "unread"
|
|
3072
3072
|
}, P({ _: 2 }, [
|
|
3073
3073
|
t(n).read.length > 0 ? {
|
|
3074
3074
|
name: "append",
|
|
3075
3075
|
fn: r(() => [
|
|
3076
|
-
b("span",
|
|
3076
|
+
b("span", _s, C(t(n).read.length), 1)
|
|
3077
3077
|
]),
|
|
3078
3078
|
key: "0"
|
|
3079
3079
|
} : void 0
|
|
3080
3080
|
]), 1032, ["prepend-icon"]),
|
|
3081
3081
|
t(a).all.length > 0 && t(l).notifications.banners ? (d(), _(V, {
|
|
3082
3082
|
key: 0,
|
|
3083
|
-
"prepend-icon": `svg:${t(
|
|
3083
|
+
"prepend-icon": `svg:${t(_o)}`,
|
|
3084
3084
|
title: "Banners",
|
|
3085
3085
|
value: "banners"
|
|
3086
3086
|
}, {
|
|
3087
3087
|
append: r(() => [
|
|
3088
|
-
i(
|
|
3088
|
+
i(et, {
|
|
3089
3089
|
dot: "",
|
|
3090
3090
|
"offset-y": "-3"
|
|
3091
3091
|
})
|
|
@@ -3100,9 +3100,9 @@ const He = G("settings", () => {
|
|
|
3100
3100
|
}, 8, ["location", "width"]),
|
|
3101
3101
|
i(ve, { scrollable: "" }, {
|
|
3102
3102
|
default: r(() => [
|
|
3103
|
-
i(
|
|
3103
|
+
i(gt, {
|
|
3104
3104
|
modelValue: t(p),
|
|
3105
|
-
"onUpdate:modelValue":
|
|
3105
|
+
"onUpdate:modelValue": f[1] || (f[1] = (h) => ne(p) ? p.value = h : null)
|
|
3106
3106
|
}, {
|
|
3107
3107
|
default: r(() => [
|
|
3108
3108
|
i(ke, { value: "read" }, {
|
|
@@ -3123,7 +3123,7 @@ const He = G("settings", () => {
|
|
|
3123
3123
|
}),
|
|
3124
3124
|
i(ke, { value: "banners" }, {
|
|
3125
3125
|
default: r(() => [
|
|
3126
|
-
i(
|
|
3126
|
+
i(v, {
|
|
3127
3127
|
items: t(a).all
|
|
3128
3128
|
}, null, 8, ["items"])
|
|
3129
3129
|
]),
|
|
@@ -3143,11 +3143,11 @@ const He = G("settings", () => {
|
|
|
3143
3143
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
3144
3144
|
};
|
|
3145
3145
|
}
|
|
3146
|
-
}),
|
|
3146
|
+
}), gs = /* @__PURE__ */ k({
|
|
3147
3147
|
__name: "VoNotificationsBadge",
|
|
3148
3148
|
setup(c) {
|
|
3149
|
-
const e =
|
|
3150
|
-
return (a, n) => (d(), _(
|
|
3149
|
+
const e = He(), o = z();
|
|
3150
|
+
return (a, n) => (d(), _(et, {
|
|
3151
3151
|
color: "error",
|
|
3152
3152
|
content: t(e).unread.length,
|
|
3153
3153
|
"model-value": t(o).notifications.show && t(e).unread.length > 0
|
|
@@ -3158,25 +3158,25 @@ const He = G("settings", () => {
|
|
|
3158
3158
|
_: 3
|
|
3159
3159
|
}, 8, ["content", "model-value"]));
|
|
3160
3160
|
}
|
|
3161
|
-
}),
|
|
3161
|
+
}), ys = /* @__PURE__ */ k({
|
|
3162
3162
|
__name: "VoNotificationsNavItem",
|
|
3163
3163
|
setup(c) {
|
|
3164
|
-
const e =
|
|
3165
|
-
return
|
|
3164
|
+
const e = We(), o = z(), a = He(), n = A(!1);
|
|
3165
|
+
return Be(async () => {
|
|
3166
3166
|
a.index(), e.index();
|
|
3167
3167
|
}), (s, l) => {
|
|
3168
|
-
const p =
|
|
3168
|
+
const p = gs, u = hs, m = J;
|
|
3169
3169
|
return t(o).notifications.show ? (d(), _(m, {
|
|
3170
3170
|
key: 0,
|
|
3171
3171
|
active: t(n),
|
|
3172
3172
|
link: "",
|
|
3173
|
-
"prepend-icon": `svg:${t(
|
|
3173
|
+
"prepend-icon": `svg:${t(ho)}`,
|
|
3174
3174
|
title: "Notifications"
|
|
3175
3175
|
}, P({
|
|
3176
3176
|
default: r(() => [
|
|
3177
3177
|
i(u, {
|
|
3178
3178
|
modelValue: t(n),
|
|
3179
|
-
"onUpdate:modelValue": l[0] || (l[0] = (
|
|
3179
|
+
"onUpdate:modelValue": l[0] || (l[0] = (f) => ne(n) ? n.value = f : null)
|
|
3180
3180
|
}, null, 8, ["modelValue"])
|
|
3181
3181
|
]),
|
|
3182
3182
|
_: 2
|
|
@@ -3186,7 +3186,7 @@ const He = G("settings", () => {
|
|
|
3186
3186
|
fn: r(() => [
|
|
3187
3187
|
i(p, null, {
|
|
3188
3188
|
default: r(() => [
|
|
3189
|
-
i(
|
|
3189
|
+
i(D)
|
|
3190
3190
|
]),
|
|
3191
3191
|
_: 1
|
|
3192
3192
|
})
|
|
@@ -3196,31 +3196,31 @@ const He = G("settings", () => {
|
|
|
3196
3196
|
]), 1032, ["active", "prepend-icon"])) : S("", !0);
|
|
3197
3197
|
};
|
|
3198
3198
|
}
|
|
3199
|
-
}),
|
|
3199
|
+
}), bs = /* @__PURE__ */ k({
|
|
3200
3200
|
__name: "VoDashboardNavItem",
|
|
3201
3201
|
setup(c) {
|
|
3202
|
-
const e =
|
|
3202
|
+
const e = j();
|
|
3203
3203
|
function o() {
|
|
3204
3204
|
setTimeout(() => {
|
|
3205
3205
|
e.isOpen = !1;
|
|
3206
3206
|
}, 100);
|
|
3207
3207
|
}
|
|
3208
3208
|
return (a, n) => {
|
|
3209
|
-
const s =
|
|
3209
|
+
const s = J;
|
|
3210
3210
|
return d(), _(s, {
|
|
3211
|
-
"prepend-icon": `svg:${t(
|
|
3211
|
+
"prepend-icon": `svg:${t(go)}`,
|
|
3212
3212
|
title: "Dashboard",
|
|
3213
3213
|
to: "/user/dashboard",
|
|
3214
3214
|
onClick: o
|
|
3215
3215
|
}, null, 8, ["prepend-icon"]);
|
|
3216
3216
|
};
|
|
3217
3217
|
}
|
|
3218
|
-
}),
|
|
3218
|
+
}), Vs = /* @__PURE__ */ k({
|
|
3219
3219
|
__name: "VoUserList",
|
|
3220
3220
|
setup(c) {
|
|
3221
|
-
const e = R(), o =
|
|
3221
|
+
const e = R(), o = j();
|
|
3222
3222
|
return (a, n) => {
|
|
3223
|
-
const s =
|
|
3223
|
+
const s = bs, l = ys, p = Kn, u = Wn, m = Pn, f = An, V = rn, y = Ko;
|
|
3224
3224
|
return d(), _(ie, {
|
|
3225
3225
|
density: "compact",
|
|
3226
3226
|
nav: "",
|
|
@@ -3232,7 +3232,7 @@ const He = G("settings", () => {
|
|
|
3232
3232
|
i(p),
|
|
3233
3233
|
t(o).shopify ? (d(), _(u, { key: 0 })) : S("", !0),
|
|
3234
3234
|
i(m),
|
|
3235
|
-
t(e).user ? (d(), _(
|
|
3235
|
+
t(e).user ? (d(), _(f, { key: 1 })) : S("", !0),
|
|
3236
3236
|
i(V),
|
|
3237
3237
|
t(e).user ? (d(), _(y, { key: 2 })) : S("", !0)
|
|
3238
3238
|
]),
|
|
@@ -3240,7 +3240,7 @@ const He = G("settings", () => {
|
|
|
3240
3240
|
});
|
|
3241
3241
|
};
|
|
3242
3242
|
}
|
|
3243
|
-
}),
|
|
3243
|
+
}), Lt = /* @__PURE__ */ k({
|
|
3244
3244
|
__name: "VoIconIssues",
|
|
3245
3245
|
setup(c) {
|
|
3246
3246
|
const e = [
|
|
@@ -3248,9 +3248,9 @@ const He = G("settings", () => {
|
|
|
3248
3248
|
"M8.63152 12.7367L8.50057 12.5L6 8H11.263L8.63152 12.7367Z",
|
|
3249
3249
|
["M9.11205 13.6004L11 17L16 8H12.223L9.11205 13.6004Z", 0.6]
|
|
3250
3250
|
];
|
|
3251
|
-
return (o, a) => (d(), _(
|
|
3251
|
+
return (o, a) => (d(), _(D, { icon: e }));
|
|
3252
3252
|
}
|
|
3253
|
-
}),
|
|
3253
|
+
}), It = /* @__PURE__ */ k({
|
|
3254
3254
|
__name: "VoIconBin",
|
|
3255
3255
|
setup(c) {
|
|
3256
3256
|
const e = [
|
|
@@ -3259,18 +3259,18 @@ const He = G("settings", () => {
|
|
|
3259
3259
|
"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",
|
|
3260
3260
|
["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]
|
|
3261
3261
|
];
|
|
3262
|
-
return (o, a) => (d(), _(
|
|
3262
|
+
return (o, a) => (d(), _(D, { icon: e }));
|
|
3263
3263
|
}
|
|
3264
|
-
}),
|
|
3264
|
+
}), ks = { key: 0 }, $s = { class: "d-flex align-center justify-center pa-1 ga-2" }, ws = /* @__PURE__ */ k({
|
|
3265
3265
|
__name: "VoUserQuickActions",
|
|
3266
3266
|
setup(c) {
|
|
3267
3267
|
const e = z();
|
|
3268
3268
|
return (o, a) => {
|
|
3269
|
-
const n =
|
|
3269
|
+
const n = It, s = Lt;
|
|
3270
3270
|
return d(), _(me, null, {
|
|
3271
3271
|
default: r(() => [
|
|
3272
|
-
t(e).quickbar ? (d(), I("div",
|
|
3273
|
-
b("div",
|
|
3272
|
+
t(e).quickbar ? (d(), I("div", ks, [
|
|
3273
|
+
b("div", $s, [
|
|
3274
3274
|
i(q, {
|
|
3275
3275
|
class: "text-caption",
|
|
3276
3276
|
color: t(e).colors.one,
|
|
@@ -3281,7 +3281,7 @@ const He = G("settings", () => {
|
|
|
3281
3281
|
target: "_blank"
|
|
3282
3282
|
}, {
|
|
3283
3283
|
default: r(() => [
|
|
3284
|
-
i(
|
|
3284
|
+
i(D),
|
|
3285
3285
|
i(ee, {
|
|
3286
3286
|
activator: "parent",
|
|
3287
3287
|
location: "top",
|
|
@@ -3335,10 +3335,10 @@ const He = G("settings", () => {
|
|
|
3335
3335
|
});
|
|
3336
3336
|
};
|
|
3337
3337
|
}
|
|
3338
|
-
}),
|
|
3338
|
+
}), xs = { class: "mb-2" }, Ss = { key: 0 }, Cs = { class: "d-flex ga-4 flex-wrap justify-center mb-4" }, Ls = { class: "text-h6" }, Is = /* @__PURE__ */ k({
|
|
3339
3339
|
__name: "VoUserAvatar",
|
|
3340
3340
|
setup(c) {
|
|
3341
|
-
const e = R(), o =
|
|
3341
|
+
const e = R(), o = j(), a = z(), n = A(!1), s = x(() => {
|
|
3342
3342
|
const u = [
|
|
3343
3343
|
"https://cdn.vuetifyjs.com/docs/images/avatars/dark.png",
|
|
3344
3344
|
"https://cdn.vuetifyjs.com/docs/images/avatars/blackguard.png",
|
|
@@ -3364,10 +3364,10 @@ const He = G("settings", () => {
|
|
|
3364
3364
|
o.isSubscriber && (n.value = !n.value);
|
|
3365
3365
|
}
|
|
3366
3366
|
return (u, m) => {
|
|
3367
|
-
var
|
|
3367
|
+
var f;
|
|
3368
3368
|
return d(), I("div", null, [
|
|
3369
|
-
xe((d(), _(
|
|
3370
|
-
class:
|
|
3369
|
+
xe((d(), _(K, {
|
|
3370
|
+
class: Tt([
|
|
3371
3371
|
"border-md border-opacity-100 border-surface-light",
|
|
3372
3372
|
{
|
|
3373
3373
|
"cursor-pointer": t(o).isSubscriber
|
|
@@ -3376,14 +3376,14 @@ const He = G("settings", () => {
|
|
|
3376
3376
|
color: "surface",
|
|
3377
3377
|
size: "72",
|
|
3378
3378
|
text: "Foobar",
|
|
3379
|
-
onClick:
|
|
3379
|
+
onClick: Ye(p, ["prevent", "stop"])
|
|
3380
3380
|
}, {
|
|
3381
3381
|
default: r(() => [
|
|
3382
|
-
t(e).user && t(a).avatar ? (d(), _(
|
|
3382
|
+
t(e).user && t(a).avatar ? (d(), _(Y, {
|
|
3383
3383
|
key: 0,
|
|
3384
3384
|
alt: "User avatar",
|
|
3385
3385
|
src: t(a).avatar
|
|
3386
|
-
}, null, 8, ["src"])) : (d(), _(
|
|
3386
|
+
}, null, 8, ["src"])) : (d(), _(D, {
|
|
3387
3387
|
key: 1,
|
|
3388
3388
|
class: "mt-1",
|
|
3389
3389
|
icon: "$vuetify",
|
|
@@ -3392,28 +3392,28 @@ const He = G("settings", () => {
|
|
|
3392
3392
|
]),
|
|
3393
3393
|
_: 1
|
|
3394
3394
|
}, 8, ["class"])), [
|
|
3395
|
-
[
|
|
3395
|
+
[To, t(o).isSubscriber]
|
|
3396
3396
|
]),
|
|
3397
|
-
b("div",
|
|
3397
|
+
b("div", xs, [
|
|
3398
3398
|
i(me, null, {
|
|
3399
3399
|
default: r(() => [
|
|
3400
|
-
t(n) ? (d(), I("div",
|
|
3400
|
+
t(n) ? (d(), I("div", Ss, [
|
|
3401
3401
|
i(H, {
|
|
3402
3402
|
class: "pt-6 pb-1",
|
|
3403
3403
|
flat: "",
|
|
3404
3404
|
rounded: "0"
|
|
3405
3405
|
}, {
|
|
3406
3406
|
default: r(() => [
|
|
3407
|
-
b("div",
|
|
3407
|
+
b("div", Cs, [
|
|
3408
3408
|
(d(!0), I(U, null, oe(t(s), (V, y) => (d(), _(q, {
|
|
3409
3409
|
key: y,
|
|
3410
3410
|
active: t(a).avatar === V,
|
|
3411
3411
|
icon: "",
|
|
3412
3412
|
variant: "flat",
|
|
3413
|
-
onClick: (
|
|
3413
|
+
onClick: (v) => l(V)
|
|
3414
3414
|
}, {
|
|
3415
3415
|
default: r(() => [
|
|
3416
|
-
i(
|
|
3416
|
+
i(K, {
|
|
3417
3417
|
eager: "",
|
|
3418
3418
|
image: V
|
|
3419
3419
|
}, null, 8, ["image"])
|
|
@@ -3429,14 +3429,14 @@ const He = G("settings", () => {
|
|
|
3429
3429
|
_: 1
|
|
3430
3430
|
})
|
|
3431
3431
|
]),
|
|
3432
|
-
b("div",
|
|
3432
|
+
b("div", Ls, C(((f = t(e).user) == null ? void 0 : f.name) ?? "Guest"), 1)
|
|
3433
3433
|
]);
|
|
3434
3434
|
};
|
|
3435
3435
|
}
|
|
3436
|
-
}),
|
|
3436
|
+
}), As = /* @__PURE__ */ k({
|
|
3437
3437
|
__name: "VoUserBadges",
|
|
3438
3438
|
setup(c) {
|
|
3439
|
-
const e = R(), o =
|
|
3439
|
+
const e = R(), o = j(), a = x(() => {
|
|
3440
3440
|
var n;
|
|
3441
3441
|
return o.github || o.discord || o.isSubscriber || ((n = e.user) == null ? void 0 : n.isAdmin);
|
|
3442
3442
|
});
|
|
@@ -3456,7 +3456,7 @@ const He = G("settings", () => {
|
|
|
3456
3456
|
text: "Vuetify Administrator"
|
|
3457
3457
|
}, {
|
|
3458
3458
|
activator: r(({ props: p }) => [
|
|
3459
|
-
i(
|
|
3459
|
+
i(D, W({
|
|
3460
3460
|
color: "blue",
|
|
3461
3461
|
icon: "$vuetify"
|
|
3462
3462
|
}, p, { size: "16" }), null, 16)
|
|
@@ -3469,9 +3469,9 @@ const He = G("settings", () => {
|
|
|
3469
3469
|
text: "Vuetify One Subscriber"
|
|
3470
3470
|
}, {
|
|
3471
3471
|
activator: r(({ props: p }) => [
|
|
3472
|
-
i(
|
|
3472
|
+
i(D, W({
|
|
3473
3473
|
color: "amber-darken-2",
|
|
3474
|
-
icon: `svg:${t(
|
|
3474
|
+
icon: `svg:${t(yo)}`
|
|
3475
3475
|
}, p, { size: "16" }), null, 16, ["icon"])
|
|
3476
3476
|
]),
|
|
3477
3477
|
_: 1
|
|
@@ -3482,9 +3482,9 @@ const He = G("settings", () => {
|
|
|
3482
3482
|
text: "GitHub Sponsor"
|
|
3483
3483
|
}, {
|
|
3484
3484
|
activator: r(({ props: p }) => [
|
|
3485
|
-
i(
|
|
3485
|
+
i(D, W({
|
|
3486
3486
|
color: "white",
|
|
3487
|
-
icon: `svg:${t(
|
|
3487
|
+
icon: `svg:${t(Ke)}`
|
|
3488
3488
|
}, p, { size: "16" }), null, 16, ["icon"])
|
|
3489
3489
|
]),
|
|
3490
3490
|
_: 1
|
|
@@ -3495,9 +3495,9 @@ const He = G("settings", () => {
|
|
|
3495
3495
|
text: "Discord Subscriber"
|
|
3496
3496
|
}, {
|
|
3497
3497
|
activator: r(({ props: p }) => [
|
|
3498
|
-
i(
|
|
3498
|
+
i(D, W({
|
|
3499
3499
|
color: "white",
|
|
3500
|
-
icon: `svg:${t(
|
|
3500
|
+
icon: `svg:${t(Xe)}`
|
|
3501
3501
|
}, p, { size: "16" }), null, 16, ["icon"])
|
|
3502
3502
|
]),
|
|
3503
3503
|
_: 1
|
|
@@ -3507,20 +3507,20 @@ const He = G("settings", () => {
|
|
|
3507
3507
|
_: 1
|
|
3508
3508
|
})) : S("", !0);
|
|
3509
3509
|
}
|
|
3510
|
-
}), Ds = { class: "d-flex flex-grow-1 justify-end fill-height align-start" },
|
|
3510
|
+
}), Ds = { class: "d-flex flex-grow-1 justify-end fill-height align-start" }, Os = {
|
|
3511
3511
|
key: "reset",
|
|
3512
3512
|
class: "align-self-end"
|
|
3513
|
-
},
|
|
3513
|
+
}, Bs = /* @__PURE__ */ k({
|
|
3514
3514
|
__name: "VoUserColors",
|
|
3515
3515
|
setup(c) {
|
|
3516
|
-
const e = R(), o =
|
|
3516
|
+
const e = R(), o = j(), a = z(), n = A(!1);
|
|
3517
3517
|
function s() {
|
|
3518
3518
|
a.colors.one = "surface-light";
|
|
3519
3519
|
}
|
|
3520
3520
|
return (l, p) => {
|
|
3521
|
-
const u =
|
|
3521
|
+
const u = As, m = _e;
|
|
3522
3522
|
return d(), I(U, null, [
|
|
3523
|
-
i(
|
|
3523
|
+
i(Y, {
|
|
3524
3524
|
color: t(e).user ? t(a).colors.one : "surface-light",
|
|
3525
3525
|
"content-class": "d-flex align-start justify-end pa-2",
|
|
3526
3526
|
cover: "",
|
|
@@ -3531,21 +3531,21 @@ const He = G("settings", () => {
|
|
|
3531
3531
|
default: r(() => [
|
|
3532
3532
|
b("div", Ds, [
|
|
3533
3533
|
i(u),
|
|
3534
|
-
i(
|
|
3534
|
+
i(Io, null, {
|
|
3535
3535
|
default: r(() => [
|
|
3536
|
-
xe(b("div",
|
|
3536
|
+
xe(b("div", Os, [
|
|
3537
3537
|
i(m, {
|
|
3538
3538
|
class: "ms-2 me-1",
|
|
3539
3539
|
color: "inherit",
|
|
3540
3540
|
density: "comfortable",
|
|
3541
3541
|
disabled: t(a).colors.one === "surface-light",
|
|
3542
|
-
icon: `svg:${t(
|
|
3542
|
+
icon: `svg:${t(bo)}`,
|
|
3543
3543
|
title: "Revert to Default",
|
|
3544
3544
|
variant: "text",
|
|
3545
3545
|
onClick: s
|
|
3546
3546
|
}, null, 8, ["disabled", "icon"])
|
|
3547
3547
|
], 512), [
|
|
3548
|
-
[
|
|
3548
|
+
[Ue, t(n)]
|
|
3549
3549
|
])
|
|
3550
3550
|
]),
|
|
3551
3551
|
_: 1
|
|
@@ -3556,15 +3556,15 @@ const He = G("settings", () => {
|
|
|
3556
3556
|
class: "align-self-end",
|
|
3557
3557
|
color: "inherit",
|
|
3558
3558
|
density: "comfortable",
|
|
3559
|
-
icon: t(n) ? `svg:${t(
|
|
3559
|
+
icon: t(n) ? `svg:${t(Te)}` : "$edit",
|
|
3560
3560
|
title: "Edit One Header Color",
|
|
3561
3561
|
variant: t(n) ? "text" : "plain",
|
|
3562
|
-
onClick: p[0] || (p[0] = (
|
|
3562
|
+
onClick: p[0] || (p[0] = (f) => n.value = !t(n))
|
|
3563
3563
|
}, {
|
|
3564
3564
|
default: r(() => [
|
|
3565
|
-
i(
|
|
3565
|
+
i(je, { "leave-absolute": "" }, {
|
|
3566
3566
|
default: r(() => [
|
|
3567
|
-
(d(), _(
|
|
3567
|
+
(d(), _(D, {
|
|
3568
3568
|
key: String(t(n))
|
|
3569
3569
|
}))
|
|
3570
3570
|
]),
|
|
@@ -3579,7 +3579,7 @@ const He = G("settings", () => {
|
|
|
3579
3579
|
}, 8, ["color"]),
|
|
3580
3580
|
i(me, null, {
|
|
3581
3581
|
default: r(() => [
|
|
3582
|
-
t(n) ? (d(), _(
|
|
3582
|
+
t(n) ? (d(), _(zo, {
|
|
3583
3583
|
key: 0,
|
|
3584
3584
|
elevation: "0",
|
|
3585
3585
|
height: "250",
|
|
@@ -3591,7 +3591,7 @@ const He = G("settings", () => {
|
|
|
3591
3591
|
"show-swatches": "",
|
|
3592
3592
|
"swatches-max-height": "200",
|
|
3593
3593
|
width: "278",
|
|
3594
|
-
"onUpdate:modelValue": p[1] || (p[1] = (
|
|
3594
|
+
"onUpdate:modelValue": p[1] || (p[1] = (f) => t(a).colors.one = f)
|
|
3595
3595
|
}, null, 8, ["model-value"])) : S("", !0)
|
|
3596
3596
|
]),
|
|
3597
3597
|
_: 1
|
|
@@ -3599,16 +3599,16 @@ const He = G("settings", () => {
|
|
|
3599
3599
|
], 64);
|
|
3600
3600
|
};
|
|
3601
3601
|
}
|
|
3602
|
-
}),
|
|
3602
|
+
}), Us = { class: "text-center mt-n9 mb-4" }, Ns = /* @__PURE__ */ k({
|
|
3603
3603
|
__name: "VoUserMenu",
|
|
3604
3604
|
setup(c) {
|
|
3605
|
-
const e =
|
|
3605
|
+
const e = We(), o = j(), a = B();
|
|
3606
3606
|
return N(() => e.banner, async () => {
|
|
3607
3607
|
var n, s;
|
|
3608
3608
|
await new Promise((l) => setTimeout(l, 300)), o.isOpen && ((s = (n = a.value) == null ? void 0 : n.updateLocation) == null || s.call(n));
|
|
3609
3609
|
}, { flush: "pre" }), (n, s) => {
|
|
3610
|
-
const l =
|
|
3611
|
-
return d(), _(t(
|
|
3610
|
+
const l = Bs, p = Is, u = ws, m = Vs, f = xt;
|
|
3611
|
+
return d(), _(t(Fo), {
|
|
3612
3612
|
ref_key: "menu",
|
|
3613
3613
|
ref: a,
|
|
3614
3614
|
modelValue: t(o).isOpen,
|
|
@@ -3627,14 +3627,14 @@ const He = G("settings", () => {
|
|
|
3627
3627
|
}, {
|
|
3628
3628
|
default: r(() => [
|
|
3629
3629
|
i(l),
|
|
3630
|
-
b("div",
|
|
3630
|
+
b("div", Us, [
|
|
3631
3631
|
i(p),
|
|
3632
3632
|
i(u)
|
|
3633
3633
|
]),
|
|
3634
|
-
i(
|
|
3634
|
+
i(Q),
|
|
3635
3635
|
i(m),
|
|
3636
|
-
i(
|
|
3637
|
-
i(
|
|
3636
|
+
i(Q),
|
|
3637
|
+
i(f)
|
|
3638
3638
|
]),
|
|
3639
3639
|
_: 1
|
|
3640
3640
|
})
|
|
@@ -3643,22 +3643,22 @@ const He = G("settings", () => {
|
|
|
3643
3643
|
}, 8, ["modelValue"]);
|
|
3644
3644
|
};
|
|
3645
3645
|
}
|
|
3646
|
-
}),
|
|
3646
|
+
}), Ts = { key: 0 }, At = /* @__PURE__ */ k({
|
|
3647
3647
|
__name: "VoAuthBtn",
|
|
3648
3648
|
props: {
|
|
3649
3649
|
external: Boolean
|
|
3650
3650
|
},
|
|
3651
3651
|
setup(c) {
|
|
3652
|
-
const e = R(), o =
|
|
3652
|
+
const e = R(), o = j(), a = z(), { lgAndUp: n } = ce(), s = x(() => o.isOpen || !e.user ? a.colors.one === "surface-light" ? "primary" : a.colors.one : "surface-light");
|
|
3653
3653
|
return (l, p) => {
|
|
3654
|
-
const u =
|
|
3654
|
+
const u = Ns, m = _e, f = Jo, V = wt;
|
|
3655
3655
|
return d(), I(U, null, [
|
|
3656
|
-
i(
|
|
3656
|
+
i(f, {
|
|
3657
3657
|
"offset-y": t(e).user ? 5 : 0
|
|
3658
3658
|
}, {
|
|
3659
3659
|
default: r(() => [
|
|
3660
3660
|
i(m, W({
|
|
3661
|
-
[`${t(n) ? "append-" : ""}icon`]: t(e).user ? void 0 : `svg:${t(
|
|
3661
|
+
[`${t(n) ? "append-" : ""}icon`]: t(e).user ? void 0 : `svg:${t(Vo)}`
|
|
3662
3662
|
}, {
|
|
3663
3663
|
active: "",
|
|
3664
3664
|
border: !!t(e).user,
|
|
@@ -3671,8 +3671,8 @@ const He = G("settings", () => {
|
|
|
3671
3671
|
variant: t(e).user ? t(o).isOpen ? "outlined" : "text" : "flat"
|
|
3672
3672
|
}), {
|
|
3673
3673
|
default: r(() => [
|
|
3674
|
-
t(e).user ? S("", !0) : (d(), I("span",
|
|
3675
|
-
t(e).user ? (d(), _(
|
|
3674
|
+
t(e).user ? S("", !0) : (d(), I("span", Ts, "Login")),
|
|
3675
|
+
t(e).user ? (d(), _(K, {
|
|
3676
3676
|
key: 1,
|
|
3677
3677
|
image: t(a).avatar || t(e).user.picture || ""
|
|
3678
3678
|
}, null, 8, ["image"])) : S("", !0),
|
|
@@ -3687,16 +3687,16 @@ const He = G("settings", () => {
|
|
|
3687
3687
|
], 64);
|
|
3688
3688
|
};
|
|
3689
3689
|
}
|
|
3690
|
-
}),
|
|
3690
|
+
}), zs = /* @__PURE__ */ k({
|
|
3691
3691
|
__name: "VoAppBar",
|
|
3692
3692
|
props: {
|
|
3693
3693
|
logo: {}
|
|
3694
3694
|
},
|
|
3695
3695
|
setup(c) {
|
|
3696
|
-
const e = c, o =
|
|
3696
|
+
const e = c, o = Me(), a = Re(), n = x(() => `https://cdn.vuetifyjs.com/docs/images/one/logos/${e.logo}-logo-${o.current.value.dark ? "dark" : "light"}.png`);
|
|
3697
3697
|
return (s, l) => {
|
|
3698
|
-
const p =
|
|
3699
|
-
return d(), _(
|
|
3698
|
+
const p = Ne("router-link"), u = At;
|
|
3699
|
+
return d(), _(yt, {
|
|
3700
3700
|
image: t(a).suit["app-bar"],
|
|
3701
3701
|
name: "vo-app-bar"
|
|
3702
3702
|
}, P({
|
|
@@ -3706,7 +3706,7 @@ const He = G("settings", () => {
|
|
|
3706
3706
|
to: "/"
|
|
3707
3707
|
}, {
|
|
3708
3708
|
default: r(() => [
|
|
3709
|
-
i(
|
|
3709
|
+
i(Y, {
|
|
3710
3710
|
src: t(n),
|
|
3711
3711
|
width: "128"
|
|
3712
3712
|
}, null, 8, ["src"])
|
|
@@ -3717,7 +3717,7 @@ const He = G("settings", () => {
|
|
|
3717
3717
|
]),
|
|
3718
3718
|
append: r(() => [
|
|
3719
3719
|
O(s.$slots, "append"),
|
|
3720
|
-
s.$slots.append ? (d(), _(
|
|
3720
|
+
s.$slots.append ? (d(), _(Q, {
|
|
3721
3721
|
key: 0,
|
|
3722
3722
|
class: "mx-4 align-self-center h-100",
|
|
3723
3723
|
length: "20",
|
|
@@ -3747,45 +3747,45 @@ const He = G("settings", () => {
|
|
|
3747
3747
|
]), 1032, ["image"]);
|
|
3748
3748
|
};
|
|
3749
3749
|
}
|
|
3750
|
-
}),
|
|
3750
|
+
}), Fs = /* @__PURE__ */ k({
|
|
3751
3751
|
__name: "VoNotificationsBanner",
|
|
3752
3752
|
props: {
|
|
3753
3753
|
demo: { type: Boolean }
|
|
3754
3754
|
},
|
|
3755
3755
|
setup(c) {
|
|
3756
|
-
const e = c, { mdAndUp: o } = ce(), a =
|
|
3757
|
-
var y,
|
|
3758
|
-
return ((y = l.value) == null ? void 0 : y.metadata.height) || ((
|
|
3756
|
+
const e = c, { mdAndUp: o } = ce(), a = Fe(), n = z(), s = We(), l = x(() => s.banner), p = x(() => {
|
|
3757
|
+
var y, v;
|
|
3758
|
+
return ((y = l.value) == null ? void 0 : y.metadata.height) || ((v = l.value) != null && v.metadata.subtext ? 88 : 48);
|
|
3759
3759
|
}), u = x(() => e.demo ? !0 : !l.value || !n.notifications.last.banner.includes(l.value.slug));
|
|
3760
3760
|
function m() {
|
|
3761
3761
|
l.value && n.notifications.last.banner.push(l.value.slug);
|
|
3762
3762
|
}
|
|
3763
|
-
async function
|
|
3763
|
+
async function f(y) {
|
|
3764
3764
|
var h;
|
|
3765
3765
|
if (!l.value)
|
|
3766
3766
|
return;
|
|
3767
3767
|
m(), await de();
|
|
3768
|
-
const
|
|
3769
|
-
if (
|
|
3768
|
+
const v = ((h = l.value) == null ? void 0 : h.metadata) ?? { link: "" };
|
|
3769
|
+
if (v.link.indexOf("?one=") === -1)
|
|
3770
3770
|
return;
|
|
3771
3771
|
y.preventDefault(), y.stopPropagation();
|
|
3772
|
-
const g =
|
|
3772
|
+
const g = v.link.split("?one=")[1];
|
|
3773
3773
|
a.push({ query: { one: g } });
|
|
3774
3774
|
}
|
|
3775
3775
|
const V = x(() => {
|
|
3776
|
-
var
|
|
3777
|
-
const y = ((
|
|
3776
|
+
var v, g;
|
|
3777
|
+
const y = ((v = l.value) == null ? void 0 : v.metadata) ?? { link: "" };
|
|
3778
3778
|
return {
|
|
3779
3779
|
href: y.link.startsWith("http") ? y.link : void 0,
|
|
3780
3780
|
target: y.link.startsWith("http") ? "_blank" : void 0,
|
|
3781
3781
|
to: y.link.startsWith("http") ? void 0 : y.link,
|
|
3782
3782
|
...(g = l.value) == null ? void 0 : g.metadata.attributes,
|
|
3783
|
-
onClick:
|
|
3783
|
+
onClick: f
|
|
3784
3784
|
};
|
|
3785
3785
|
});
|
|
3786
|
-
return (y,
|
|
3786
|
+
return (y, v) => {
|
|
3787
3787
|
var g;
|
|
3788
|
-
return t(l) ? (d(), _(
|
|
3788
|
+
return t(l) ? (d(), _(yt, {
|
|
3789
3789
|
key: 0,
|
|
3790
3790
|
color: t(l).metadata.color,
|
|
3791
3791
|
flat: "",
|
|
@@ -3800,10 +3800,10 @@ const He = G("settings", () => {
|
|
|
3800
3800
|
active: !1,
|
|
3801
3801
|
class: "flex-grow-1 py-6",
|
|
3802
3802
|
lines: "two",
|
|
3803
|
-
onClick:
|
|
3803
|
+
onClick: f
|
|
3804
3804
|
}), {
|
|
3805
3805
|
prepend: r(() => [
|
|
3806
|
-
t(l).metadata.images.logo ? (d(), _(
|
|
3806
|
+
t(l).metadata.images.logo ? (d(), _(K, {
|
|
3807
3807
|
key: 0,
|
|
3808
3808
|
icon: "$vuetify",
|
|
3809
3809
|
image: t(l).metadata.images.logo.url,
|
|
@@ -3812,19 +3812,19 @@ const He = G("settings", () => {
|
|
|
3812
3812
|
}, null, 8, ["image"])) : S("", !0)
|
|
3813
3813
|
]),
|
|
3814
3814
|
append: r(() => [
|
|
3815
|
-
t(o) && t(l).metadata.link && t(l).metadata.link_text ? (d(), _(
|
|
3815
|
+
t(o) && t(l).metadata.link && t(l).metadata.link_text ? (d(), _(Pe, { key: 0 }, {
|
|
3816
3816
|
default: r(({ isHovering: h, props: $ }) => [
|
|
3817
3817
|
i(q, W({
|
|
3818
3818
|
...$,
|
|
3819
3819
|
...t(V)
|
|
3820
3820
|
}, {
|
|
3821
|
-
"append-icon": `svg:${t(
|
|
3821
|
+
"append-icon": `svg:${t(ze)}`,
|
|
3822
3822
|
class: "text-none me-2",
|
|
3823
3823
|
color: t(l).metadata.link_color,
|
|
3824
3824
|
elevation: h ? 8 : 0,
|
|
3825
3825
|
title: t(l).metadata.link_text,
|
|
3826
3826
|
variant: "elevated",
|
|
3827
|
-
onClick:
|
|
3827
|
+
onClick: f
|
|
3828
3828
|
}), {
|
|
3829
3829
|
default: r(() => [
|
|
3830
3830
|
T(C(t(l).metadata.link_text), 1)
|
|
@@ -3842,11 +3842,11 @@ const He = G("settings", () => {
|
|
|
3842
3842
|
icon: "$clear",
|
|
3843
3843
|
size: "small",
|
|
3844
3844
|
variant: "plain",
|
|
3845
|
-
onClick:
|
|
3845
|
+
onClick: Ye(m, ["prevent", "stop"])
|
|
3846
3846
|
}, null, 8, ["disabled"])) : S("", !0)
|
|
3847
3847
|
]),
|
|
3848
3848
|
default: r(() => [
|
|
3849
|
-
t(l).metadata.text ? (d(), _(
|
|
3849
|
+
t(l).metadata.text ? (d(), _(mt, {
|
|
3850
3850
|
key: 0,
|
|
3851
3851
|
class: "text-subtitle-2 text-md-subtitle-1 font-weight-medium"
|
|
3852
3852
|
}, {
|
|
@@ -3855,7 +3855,7 @@ const He = G("settings", () => {
|
|
|
3855
3855
|
]),
|
|
3856
3856
|
_: 1
|
|
3857
3857
|
})) : S("", !0),
|
|
3858
|
-
t(l).metadata.subtext ? (d(), _(
|
|
3858
|
+
t(l).metadata.subtext ? (d(), _(xo, { key: 1 }, {
|
|
3859
3859
|
default: r(() => [
|
|
3860
3860
|
T(C(t(l).metadata.subtext), 1)
|
|
3861
3861
|
]),
|
|
@@ -3869,11 +3869,11 @@ const He = G("settings", () => {
|
|
|
3869
3869
|
}, 8, ["color", "height", "image", "location", "model-value"])) : S("", !0);
|
|
3870
3870
|
};
|
|
3871
3871
|
}
|
|
3872
|
-
}),
|
|
3872
|
+
}), js = {
|
|
3873
3873
|
key: 0,
|
|
3874
3874
|
class: "text-uppercase position-absolute ms-auto font-weight-medium on-surface-light",
|
|
3875
3875
|
style: { right: "12px", bottom: "8px", "font-size": "10px" }
|
|
3876
|
-
},
|
|
3876
|
+
}, Dt = /* @__PURE__ */ k({
|
|
3877
3877
|
__name: "VoPromotionsCard",
|
|
3878
3878
|
props: {
|
|
3879
3879
|
caption: {},
|
|
@@ -3889,7 +3889,7 @@ const He = G("settings", () => {
|
|
|
3889
3889
|
target: "_blank"
|
|
3890
3890
|
}, P({
|
|
3891
3891
|
default: r(() => [
|
|
3892
|
-
i(
|
|
3892
|
+
i(jo, {
|
|
3893
3893
|
"min-height": e.minHeight,
|
|
3894
3894
|
width: "100%"
|
|
3895
3895
|
}, {
|
|
@@ -3898,7 +3898,7 @@ const He = G("settings", () => {
|
|
|
3898
3898
|
]),
|
|
3899
3899
|
_: 3
|
|
3900
3900
|
}, 8, ["min-height"]),
|
|
3901
|
-
e.caption ? (d(), I("div",
|
|
3901
|
+
e.caption ? (d(), I("div", js, C(e.caption), 1)) : S("", !0)
|
|
3902
3902
|
]),
|
|
3903
3903
|
_: 2
|
|
3904
3904
|
}, [
|
|
@@ -3918,9 +3918,9 @@ const He = G("settings", () => {
|
|
|
3918
3918
|
} : void 0
|
|
3919
3919
|
]), 1024));
|
|
3920
3920
|
}
|
|
3921
|
-
}),
|
|
3922
|
-
const c = se(), e = B([]), o = B([]), a = B(), n =
|
|
3923
|
-
|
|
3921
|
+
}), tt = G("promotions", () => {
|
|
3922
|
+
const c = se(), e = B([]), o = B([]), a = B(), n = A(!1), s = A(!1), l = x(() => e.value.filter((g) => g.metadata.discoverable));
|
|
3923
|
+
Je(u);
|
|
3924
3924
|
function p(g) {
|
|
3925
3925
|
const h = g.filter(($) => $.metadata.active);
|
|
3926
3926
|
return h[Math.floor(Math.random() * h.length)];
|
|
@@ -3946,7 +3946,7 @@ const He = G("settings", () => {
|
|
|
3946
3946
|
n.value = !1;
|
|
3947
3947
|
}
|
|
3948
3948
|
}
|
|
3949
|
-
async function
|
|
3949
|
+
async function f(g) {
|
|
3950
3950
|
try {
|
|
3951
3951
|
n.value = !0;
|
|
3952
3952
|
const h = await c.form(
|
|
@@ -3974,7 +3974,7 @@ const He = G("settings", () => {
|
|
|
3974
3974
|
}
|
|
3975
3975
|
async function y() {
|
|
3976
3976
|
}
|
|
3977
|
-
async function
|
|
3977
|
+
async function v() {
|
|
3978
3978
|
try {
|
|
3979
3979
|
n.value = !0;
|
|
3980
3980
|
const g = await c.get("/one/admin/promotions");
|
|
@@ -3992,38 +3992,38 @@ const He = G("settings", () => {
|
|
|
3992
3992
|
hasLoaded: s,
|
|
3993
3993
|
discoverable: l,
|
|
3994
3994
|
record: a,
|
|
3995
|
-
admin:
|
|
3995
|
+
admin: v,
|
|
3996
3996
|
destroy: y,
|
|
3997
3997
|
index: u,
|
|
3998
3998
|
random: p,
|
|
3999
3999
|
show: m,
|
|
4000
|
-
store:
|
|
4000
|
+
store: f,
|
|
4001
4001
|
update: V
|
|
4002
4002
|
};
|
|
4003
|
-
}),
|
|
4003
|
+
}), Ms = /* @__PURE__ */ k({
|
|
4004
4004
|
__name: "VoPromotionsCardHighlight",
|
|
4005
4005
|
props: {
|
|
4006
4006
|
slug: {}
|
|
4007
4007
|
},
|
|
4008
4008
|
setup(c) {
|
|
4009
|
-
const e = c, o =
|
|
4009
|
+
const e = c, o = tt(), a = Me(), n = z(), s = x(() => {
|
|
4010
4010
|
if (o.record)
|
|
4011
4011
|
return o.record;
|
|
4012
4012
|
if (!n.disableAds)
|
|
4013
4013
|
return e.slug ? o.all.find((u) => u.slug === e.slug) : o.random(o.all);
|
|
4014
4014
|
}), l = x(() => {
|
|
4015
|
-
var m,
|
|
4015
|
+
var m, f;
|
|
4016
4016
|
const u = a.current.value.dark ? "logodark" : "logolight";
|
|
4017
|
-
return (
|
|
4017
|
+
return (f = (m = s.value) == null ? void 0 : m.metadata.images[u]) == null ? void 0 : f.url;
|
|
4018
4018
|
}), p = x(() => {
|
|
4019
|
-
var m,
|
|
4019
|
+
var m, f;
|
|
4020
4020
|
const u = a.current.value.dark ? "bgdark" : "bglight";
|
|
4021
|
-
return (
|
|
4021
|
+
return (f = (m = s.value) == null ? void 0 : m.metadata.images[u]) == null ? void 0 : f.url;
|
|
4022
4022
|
});
|
|
4023
4023
|
return (u, m) => {
|
|
4024
|
-
var V, y,
|
|
4025
|
-
const
|
|
4026
|
-
return t(s) || !t(o).hasLoaded ? (d(), _(
|
|
4024
|
+
var V, y, v;
|
|
4025
|
+
const f = Dt;
|
|
4026
|
+
return t(s) || !t(o).hasLoaded ? (d(), _(f, {
|
|
4027
4027
|
key: 0,
|
|
4028
4028
|
class: "mb-4",
|
|
4029
4029
|
color: ((V = t(s)) == null ? void 0 : V.metadata.color) ?? "surface",
|
|
@@ -4032,7 +4032,7 @@ const He = G("settings", () => {
|
|
|
4032
4032
|
image: t(p),
|
|
4033
4033
|
"max-width": "720",
|
|
4034
4034
|
"prepend-avatar": t(l),
|
|
4035
|
-
title: (
|
|
4035
|
+
title: (v = t(s)) == null ? void 0 : v.metadata.short_text,
|
|
4036
4036
|
width: "100%"
|
|
4037
4037
|
}, P({
|
|
4038
4038
|
default: r(() => [
|
|
@@ -4050,7 +4050,7 @@ const He = G("settings", () => {
|
|
|
4050
4050
|
t(s) ? {
|
|
4051
4051
|
name: "prepend",
|
|
4052
4052
|
fn: r(() => [
|
|
4053
|
-
i(
|
|
4053
|
+
i(K, {
|
|
4054
4054
|
class: "my-n4 me-4",
|
|
4055
4055
|
icon: "$vuetify",
|
|
4056
4056
|
size: "36"
|
|
@@ -4061,20 +4061,20 @@ const He = G("settings", () => {
|
|
|
4061
4061
|
t(s) ? {
|
|
4062
4062
|
name: "image",
|
|
4063
4063
|
fn: r(() => [
|
|
4064
|
-
i(
|
|
4064
|
+
i(Y, { position: "right" })
|
|
4065
4065
|
]),
|
|
4066
4066
|
key: "1"
|
|
4067
4067
|
} : void 0
|
|
4068
4068
|
]), 1032, ["color", "href", "image", "prepend-avatar", "title"])) : S("", !0);
|
|
4069
4069
|
};
|
|
4070
4070
|
}
|
|
4071
|
-
}),
|
|
4071
|
+
}), Ps = { class: "d-flex ga-4" }, Hs = { class: "d-flex align-start ga-4" }, Rs = { class: "text-caption on-surface-light" }, Es = /* @__PURE__ */ k({
|
|
4072
4072
|
__name: "VoPromotionsCardVuetify",
|
|
4073
4073
|
props: {
|
|
4074
4074
|
slug: {}
|
|
4075
4075
|
},
|
|
4076
4076
|
setup(c) {
|
|
4077
|
-
const e = c, o =
|
|
4077
|
+
const e = c, o = tt(), a = z(), n = x(() => {
|
|
4078
4078
|
if (o.record)
|
|
4079
4079
|
return o.record;
|
|
4080
4080
|
if (!(a.disableAds && !a.showHouseAds))
|
|
@@ -4082,7 +4082,7 @@ const He = G("settings", () => {
|
|
|
4082
4082
|
});
|
|
4083
4083
|
return (s, l) => {
|
|
4084
4084
|
var u, m;
|
|
4085
|
-
const p =
|
|
4085
|
+
const p = Dt;
|
|
4086
4086
|
return t(n) || !t(o).hasLoaded ? (d(), _(p, {
|
|
4087
4087
|
key: 0,
|
|
4088
4088
|
border: "",
|
|
@@ -4092,21 +4092,21 @@ const He = G("settings", () => {
|
|
|
4092
4092
|
width: "360"
|
|
4093
4093
|
}, {
|
|
4094
4094
|
default: r(() => {
|
|
4095
|
-
var
|
|
4095
|
+
var f, V, y;
|
|
4096
4096
|
return [
|
|
4097
|
-
b("div",
|
|
4097
|
+
b("div", Ps, [
|
|
4098
4098
|
t(o).hasLoaded ? t(n) ? (d(), I(U, { key: 1 }, [
|
|
4099
|
-
i(
|
|
4099
|
+
i(Y, {
|
|
4100
4100
|
cover: "",
|
|
4101
4101
|
height: "100",
|
|
4102
4102
|
"max-width": "130",
|
|
4103
4103
|
position: "right",
|
|
4104
4104
|
rounded: "s",
|
|
4105
|
-
src: (V = (
|
|
4105
|
+
src: (V = (f = t(n).metadata) == null ? void 0 : f.images.default) == null ? void 0 : V.url,
|
|
4106
4106
|
width: "100%"
|
|
4107
4107
|
}, null, 8, ["src"]),
|
|
4108
|
-
b("div",
|
|
4109
|
-
b("div",
|
|
4108
|
+
b("div", Hs, [
|
|
4109
|
+
b("div", Rs, C((y = t(n).metadata) == null ? void 0 : y.text), 1)
|
|
4110
4110
|
])
|
|
4111
4111
|
], 64)) : S("", !0) : (d(), I(U, { key: 0 }, [
|
|
4112
4112
|
i(we, {
|
|
@@ -4132,22 +4132,22 @@ const He = G("settings", () => {
|
|
|
4132
4132
|
}, 8, ["href"])) : S("", !0);
|
|
4133
4133
|
};
|
|
4134
4134
|
}
|
|
4135
|
-
}),
|
|
4135
|
+
}), Ws = {
|
|
4136
4136
|
key: 0,
|
|
4137
4137
|
class: "v-footer__image"
|
|
4138
|
-
},
|
|
4138
|
+
}, qs = /* @__PURE__ */ k({
|
|
4139
4139
|
__name: "VoFooter",
|
|
4140
4140
|
props: {
|
|
4141
4141
|
image: {}
|
|
4142
4142
|
},
|
|
4143
4143
|
setup(c) {
|
|
4144
|
-
return (e, o) => (d(), _(
|
|
4144
|
+
return (e, o) => (d(), _(Mo, {
|
|
4145
4145
|
class: "vo-footer",
|
|
4146
4146
|
height: "40"
|
|
4147
4147
|
}, {
|
|
4148
4148
|
default: r(() => [
|
|
4149
|
-
e.image || e.$slots.image ? (d(), I("div",
|
|
4150
|
-
e.$slots.image ? O(e.$slots, "image", { key: 0 }, void 0, !0) : (d(), _(
|
|
4149
|
+
e.image || e.$slots.image ? (d(), I("div", Ws, [
|
|
4150
|
+
e.$slots.image ? O(e.$slots, "image", { key: 0 }, void 0, !0) : (d(), _(Y, {
|
|
4151
4151
|
key: 1,
|
|
4152
4152
|
cover: "",
|
|
4153
4153
|
position: "left",
|
|
@@ -4159,43 +4159,43 @@ const He = G("settings", () => {
|
|
|
4159
4159
|
_: 3
|
|
4160
4160
|
}));
|
|
4161
4161
|
}
|
|
4162
|
-
}),
|
|
4162
|
+
}), Ot = (c, e) => {
|
|
4163
4163
|
const o = c.__vccOpts || c;
|
|
4164
4164
|
for (const [a, n] of e)
|
|
4165
4165
|
o[a] = n;
|
|
4166
4166
|
return o;
|
|
4167
|
-
},
|
|
4167
|
+
}, Bt = /* @__PURE__ */ Ot(qs, [["__scopeId", "data-v-3135ada5"]]), Gs = ["href"], Zs = /* @__PURE__ */ k({
|
|
4168
4168
|
__name: "VoPromotionsFooter",
|
|
4169
4169
|
props: {
|
|
4170
4170
|
slug: {}
|
|
4171
4171
|
},
|
|
4172
4172
|
setup(c) {
|
|
4173
|
-
const e = c, o =
|
|
4173
|
+
const e = c, o = tt(), a = z(), n = Me(), s = x(() => {
|
|
4174
4174
|
if (o.record)
|
|
4175
4175
|
return o.record;
|
|
4176
4176
|
if (!a.disableAds)
|
|
4177
4177
|
return e.slug ? o.all.find((u) => u.slug === e.slug) : o.random(o.all);
|
|
4178
4178
|
}), l = x(() => {
|
|
4179
|
-
var m,
|
|
4179
|
+
var m, f;
|
|
4180
4180
|
const u = n.current.value.dark ? "logodark" : "logolight";
|
|
4181
|
-
return (
|
|
4181
|
+
return (f = (m = s.value) == null ? void 0 : m.metadata.images[u]) == null ? void 0 : f.url;
|
|
4182
4182
|
}), p = x(() => {
|
|
4183
|
-
var m,
|
|
4183
|
+
var m, f;
|
|
4184
4184
|
const u = n.current.value.dark ? "bgdark" : "bglight";
|
|
4185
|
-
return (
|
|
4185
|
+
return (f = (m = s.value) == null ? void 0 : m.metadata.images[u]) == null ? void 0 : f.url;
|
|
4186
4186
|
});
|
|
4187
|
-
return
|
|
4187
|
+
return Je(async () => {
|
|
4188
4188
|
e.slug && await o.show(e.slug);
|
|
4189
4189
|
}), (u, m) => {
|
|
4190
4190
|
var V;
|
|
4191
|
-
const
|
|
4192
|
-
return d(), _(
|
|
4191
|
+
const f = Bt;
|
|
4192
|
+
return d(), _(f, {
|
|
4193
4193
|
color: ((V = t(s)) == null ? void 0 : V.metadata.color) ?? "surface",
|
|
4194
4194
|
image: t(p),
|
|
4195
4195
|
style: { transform: "translateY(0)" }
|
|
4196
4196
|
}, {
|
|
4197
4197
|
default: r(() => {
|
|
4198
|
-
var y,
|
|
4198
|
+
var y, v, g;
|
|
4199
4199
|
return [
|
|
4200
4200
|
b("a", {
|
|
4201
4201
|
class: "d-flex align-center text-decoration-none py-2 px-4 ms-n4 flex-1-0 me-n4 position-relative",
|
|
@@ -4204,13 +4204,13 @@ const He = G("settings", () => {
|
|
|
4204
4204
|
style: { color: "inherit" },
|
|
4205
4205
|
target: "_blank"
|
|
4206
4206
|
}, [
|
|
4207
|
-
i(
|
|
4207
|
+
i(K, {
|
|
4208
4208
|
class: "me-4",
|
|
4209
4209
|
icon: "$vuetify",
|
|
4210
4210
|
image: t(l),
|
|
4211
4211
|
size: "24"
|
|
4212
4212
|
}, null, 8, ["image"]),
|
|
4213
|
-
b("div", null, C((
|
|
4213
|
+
b("div", null, C((v = t(s)) == null ? void 0 : v.metadata.text), 1),
|
|
4214
4214
|
(g = t(s)) != null && g.metadata.advertisement ? (d(), _(te, {
|
|
4215
4215
|
key: 0,
|
|
4216
4216
|
class: "ms-auto me-n4 align-self-end mb-n2 py-1 ps-3",
|
|
@@ -4219,14 +4219,14 @@ const He = G("settings", () => {
|
|
|
4219
4219
|
text: "SPONSORED",
|
|
4220
4220
|
variant: "flat"
|
|
4221
4221
|
})) : S("", !0)
|
|
4222
|
-
], 8,
|
|
4222
|
+
], 8, Gs)
|
|
4223
4223
|
];
|
|
4224
4224
|
}),
|
|
4225
4225
|
_: 1
|
|
4226
4226
|
}, 8, ["color", "image"]);
|
|
4227
4227
|
};
|
|
4228
4228
|
}
|
|
4229
|
-
}),
|
|
4229
|
+
}), Qs = ["id"], Ys = /* @__PURE__ */ k({
|
|
4230
4230
|
__name: "VoScript",
|
|
4231
4231
|
props: {
|
|
4232
4232
|
id: {
|
|
@@ -4245,28 +4245,28 @@ const He = G("settings", () => {
|
|
|
4245
4245
|
emits: ["script:error", "script:load"],
|
|
4246
4246
|
setup(c, { emit: e }) {
|
|
4247
4247
|
const o = c, a = e, n = B(), s = B();
|
|
4248
|
-
return
|
|
4248
|
+
return Je(async () => {
|
|
4249
4249
|
const l = document.createElement("script"), p = () => a("script:error");
|
|
4250
4250
|
l.type = "text/javascript", l.id = o.scriptId, l.src = o.src, l.onload = () => a("script:load"), l.onerror = p, s.value = l;
|
|
4251
|
-
}),
|
|
4251
|
+
}), Be(() => {
|
|
4252
4252
|
var l;
|
|
4253
4253
|
s.value && ((l = n.value) == null || l.appendChild(s.value));
|
|
4254
|
-
}),
|
|
4254
|
+
}), zt(() => {
|
|
4255
4255
|
var l;
|
|
4256
4256
|
s.value && ((l = n.value) == null || l.removeChild(s.value));
|
|
4257
4257
|
}), (l, p) => (d(), I("div", {
|
|
4258
4258
|
id: c.id,
|
|
4259
4259
|
ref_key: "rootEl",
|
|
4260
4260
|
ref: n
|
|
4261
|
-
}, null, 8,
|
|
4261
|
+
}, null, 8, Qs));
|
|
4262
4262
|
}
|
|
4263
|
-
}),
|
|
4263
|
+
}), Js = (c) => (Ft("data-v-584be7b0"), c = c(), jt(), c), Xs = ["href", "title"], Ks = {
|
|
4264
4264
|
class: "text-caption text-disabled",
|
|
4265
4265
|
style: { position: "absolute", right: "16px" }
|
|
4266
|
-
},
|
|
4266
|
+
}, ea = /* @__PURE__ */ Js(() => /* @__PURE__ */ b("span", { class: "d-none d-sm-inline-block" }, "Vuetify, LLC", -1)), ta = /* @__PURE__ */ k({
|
|
4267
4267
|
__name: "VoSocialFooter",
|
|
4268
4268
|
setup(c) {
|
|
4269
|
-
const e =
|
|
4269
|
+
const e = Re(), o = [
|
|
4270
4270
|
{
|
|
4271
4271
|
title: "Vuetify Documentation",
|
|
4272
4272
|
icon: "$vuetify",
|
|
@@ -4274,7 +4274,7 @@ const He = G("settings", () => {
|
|
|
4274
4274
|
},
|
|
4275
4275
|
{
|
|
4276
4276
|
title: "Vuetify Support",
|
|
4277
|
-
icon: `svg:${
|
|
4277
|
+
icon: `svg:${ko}`,
|
|
4278
4278
|
href: "https://support.vuetifyjs.com/"
|
|
4279
4279
|
},
|
|
4280
4280
|
{
|
|
@@ -4284,22 +4284,22 @@ const He = G("settings", () => {
|
|
|
4284
4284
|
},
|
|
4285
4285
|
{
|
|
4286
4286
|
title: "Vuetify GitHub",
|
|
4287
|
-
icon: `svg:${
|
|
4287
|
+
icon: `svg:${Ke}`,
|
|
4288
4288
|
href: "https://github.com/vuetifyjs/vuetify"
|
|
4289
4289
|
},
|
|
4290
4290
|
{
|
|
4291
4291
|
title: "Vuetify Discord",
|
|
4292
|
-
icon: `svg:${
|
|
4292
|
+
icon: `svg:${Xe}`,
|
|
4293
4293
|
href: "https://community.vuetifyjs.com/"
|
|
4294
4294
|
},
|
|
4295
4295
|
{
|
|
4296
4296
|
title: "Vuetify Reddit",
|
|
4297
|
-
icon: `svg:${
|
|
4297
|
+
icon: `svg:${$o}`,
|
|
4298
4298
|
href: "https://reddit.com/r/vuetifyjs"
|
|
4299
4299
|
}
|
|
4300
4300
|
];
|
|
4301
4301
|
return (a, n) => {
|
|
4302
|
-
const s =
|
|
4302
|
+
const s = Bt;
|
|
4303
4303
|
return d(), _(s, {
|
|
4304
4304
|
class: "vo-footer",
|
|
4305
4305
|
height: "40",
|
|
@@ -4314,14 +4314,14 @@ const He = G("settings", () => {
|
|
|
4314
4314
|
target: "_blank",
|
|
4315
4315
|
title: l.title
|
|
4316
4316
|
}, [
|
|
4317
|
-
i(
|
|
4317
|
+
i(D, {
|
|
4318
4318
|
icon: l.icon,
|
|
4319
4319
|
size: l.icon === "$vuetify" ? 24 : 16
|
|
4320
4320
|
}, null, 8, ["icon", "size"])
|
|
4321
|
-
], 8,
|
|
4322
|
-
b("div",
|
|
4321
|
+
], 8, Xs)), 64)),
|
|
4322
|
+
b("div", Ks, [
|
|
4323
4323
|
T(" © 2016-" + C((/* @__PURE__ */ new Date()).getFullYear()) + " ", 1),
|
|
4324
|
-
|
|
4324
|
+
ea
|
|
4325
4325
|
])
|
|
4326
4326
|
]),
|
|
4327
4327
|
_: 2
|
|
@@ -4336,40 +4336,40 @@ const He = G("settings", () => {
|
|
|
4336
4336
|
]), 1032, ["image"]);
|
|
4337
4337
|
};
|
|
4338
4338
|
}
|
|
4339
|
-
}),
|
|
4340
|
-
const c = se(), e =
|
|
4339
|
+
}), oa = /* @__PURE__ */ Ot(ta, [["__scopeId", "data-v-584be7b0"]]), na = G("spots", () => {
|
|
4340
|
+
const c = se(), e = Ct(), o = B([]), a = B([]), n = B(), s = A(!1), l = x(() => n.value ? n.value : o.value.find(({
|
|
4341
4341
|
metadata: {
|
|
4342
|
-
site:
|
|
4342
|
+
site: v,
|
|
4343
4343
|
active: g
|
|
4344
4344
|
}
|
|
4345
|
-
}) => g ?
|
|
4345
|
+
}) => g ? v.includes("dev") && !1 || v.includes("*") ? !0 : v.some((h) => e.id.includes(h)) : !1));
|
|
4346
4346
|
async function p() {
|
|
4347
4347
|
try {
|
|
4348
4348
|
s.value = !0;
|
|
4349
|
-
const
|
|
4350
|
-
o.value =
|
|
4349
|
+
const v = await c.get("/one/spots");
|
|
4350
|
+
o.value = v.spots;
|
|
4351
4351
|
} catch {
|
|
4352
4352
|
} finally {
|
|
4353
4353
|
s.value = !1;
|
|
4354
4354
|
}
|
|
4355
4355
|
return o.value;
|
|
4356
4356
|
}
|
|
4357
|
-
async function u(
|
|
4357
|
+
async function u(v) {
|
|
4358
4358
|
try {
|
|
4359
4359
|
s.value = !0;
|
|
4360
|
-
const g = await c.get(`/one/admin/spots/${
|
|
4360
|
+
const g = await c.get(`/one/admin/spots/${v}`);
|
|
4361
4361
|
return n.value = g.spot, g.spot;
|
|
4362
4362
|
} catch {
|
|
4363
4363
|
} finally {
|
|
4364
4364
|
s.value = !1;
|
|
4365
4365
|
}
|
|
4366
4366
|
}
|
|
4367
|
-
async function m(
|
|
4367
|
+
async function m(v) {
|
|
4368
4368
|
try {
|
|
4369
4369
|
s.value = !0;
|
|
4370
4370
|
const g = await c.form(
|
|
4371
4371
|
"/one/admin/spots",
|
|
4372
|
-
|
|
4372
|
+
v
|
|
4373
4373
|
);
|
|
4374
4374
|
return n.value = g.spot, g.spot;
|
|
4375
4375
|
} catch {
|
|
@@ -4377,11 +4377,11 @@ const He = G("settings", () => {
|
|
|
4377
4377
|
s.value = !1;
|
|
4378
4378
|
}
|
|
4379
4379
|
}
|
|
4380
|
-
async function v
|
|
4380
|
+
async function f(v, g) {
|
|
4381
4381
|
try {
|
|
4382
4382
|
s.value = !0;
|
|
4383
4383
|
const h = await c.form(
|
|
4384
|
-
`/one/admin/spots/${
|
|
4384
|
+
`/one/admin/spots/${v}`,
|
|
4385
4385
|
g
|
|
4386
4386
|
);
|
|
4387
4387
|
return n.value = h.spot, h.spot;
|
|
@@ -4395,8 +4395,8 @@ const He = G("settings", () => {
|
|
|
4395
4395
|
async function y() {
|
|
4396
4396
|
try {
|
|
4397
4397
|
s.value = !0;
|
|
4398
|
-
const
|
|
4399
|
-
a.value =
|
|
4398
|
+
const v = await c.get("/one/admin/spots");
|
|
4399
|
+
a.value = v.spots;
|
|
4400
4400
|
} catch {
|
|
4401
4401
|
} finally {
|
|
4402
4402
|
s.value = !1;
|
|
@@ -4413,13 +4413,13 @@ const He = G("settings", () => {
|
|
|
4413
4413
|
index: p,
|
|
4414
4414
|
show: u,
|
|
4415
4415
|
store: m,
|
|
4416
|
-
update:
|
|
4416
|
+
update: f,
|
|
4417
4417
|
destroy: V
|
|
4418
4418
|
};
|
|
4419
|
-
}),
|
|
4419
|
+
}), sa = ["href"], aa = /* @__PURE__ */ k({
|
|
4420
4420
|
__name: "VoSpot",
|
|
4421
4421
|
setup(c) {
|
|
4422
|
-
const e =
|
|
4422
|
+
const e = na();
|
|
4423
4423
|
return (o, a) => {
|
|
4424
4424
|
var n;
|
|
4425
4425
|
return t(e).spot ? (d(), I("a", {
|
|
@@ -4428,18 +4428,18 @@ const He = G("settings", () => {
|
|
|
4428
4428
|
rel: "noopener noreferrer sponsored",
|
|
4429
4429
|
target: "_blank"
|
|
4430
4430
|
}, [
|
|
4431
|
-
i(
|
|
4431
|
+
i(Y, {
|
|
4432
4432
|
class: "mx-auto",
|
|
4433
4433
|
color: t(e).spot.metadata.image ? void 0 : "surface",
|
|
4434
4434
|
rounded: "",
|
|
4435
4435
|
src: (n = t(e).spot.metadata.image) == null ? void 0 : n.url,
|
|
4436
4436
|
width: "225"
|
|
4437
4437
|
}, null, 8, ["color", "src"])
|
|
4438
|
-
], 8,
|
|
4438
|
+
], 8, sa)) : S("", !0);
|
|
4439
4439
|
};
|
|
4440
4440
|
}
|
|
4441
|
-
}),
|
|
4442
|
-
const c = R(), e = se(), o = B([]), a = B(), n =
|
|
4441
|
+
}), Ga = G("bins", () => {
|
|
4442
|
+
const c = R(), e = se(), o = B([]), a = B(), n = A(!1), s = A(-1), l = x(() => !c.user || !a.value ? !1 : c.user.id === a.value.owner.id), p = x(() => o.value.filter((h) => h.favorite)), u = x(() => o.value.filter((h) => h.pinned));
|
|
4443
4443
|
N(a, () => {
|
|
4444
4444
|
window.clearTimeout(s.value), s.value = window.setTimeout(() => {
|
|
4445
4445
|
!a.value || !l.value || y(a.value, a.value.id);
|
|
@@ -4456,7 +4456,7 @@ const He = G("settings", () => {
|
|
|
4456
4456
|
}
|
|
4457
4457
|
return o.value;
|
|
4458
4458
|
}
|
|
4459
|
-
async function
|
|
4459
|
+
async function f(h) {
|
|
4460
4460
|
try {
|
|
4461
4461
|
n.value = !0, await e.delete(`/one/bins/${h}`), o.value = o.value.filter(($) => $.id !== h);
|
|
4462
4462
|
} catch {
|
|
@@ -4479,19 +4479,19 @@ const He = G("settings", () => {
|
|
|
4479
4479
|
async function y(h, $) {
|
|
4480
4480
|
try {
|
|
4481
4481
|
n.value = !0;
|
|
4482
|
-
const
|
|
4483
|
-
o.value.splice(M, 1,
|
|
4482
|
+
const F = await e.post(`/one/bins/${$}`, { bin: h }), M = o.value.findIndex((E) => E.id === $);
|
|
4483
|
+
o.value.splice(M, 1, F.bin);
|
|
4484
4484
|
} catch {
|
|
4485
4485
|
} finally {
|
|
4486
4486
|
n.value = !1;
|
|
4487
4487
|
}
|
|
4488
4488
|
return { bin: h };
|
|
4489
4489
|
}
|
|
4490
|
-
async function
|
|
4490
|
+
async function v(h, $) {
|
|
4491
4491
|
try {
|
|
4492
4492
|
n.value = !0;
|
|
4493
|
-
const
|
|
4494
|
-
a.value =
|
|
4493
|
+
const F = $ ? await y(h, $) : await V(h);
|
|
4494
|
+
a.value = F.bin;
|
|
4495
4495
|
} catch {
|
|
4496
4496
|
} finally {
|
|
4497
4497
|
n.value = !1;
|
|
@@ -4516,14 +4516,14 @@ const He = G("settings", () => {
|
|
|
4516
4516
|
favorites: p,
|
|
4517
4517
|
all: o,
|
|
4518
4518
|
create: V,
|
|
4519
|
-
delete:
|
|
4519
|
+
delete: f,
|
|
4520
4520
|
current: a,
|
|
4521
4521
|
find: g,
|
|
4522
4522
|
get: m,
|
|
4523
4523
|
update: y,
|
|
4524
|
-
updateOrCreate:
|
|
4524
|
+
updateOrCreate: v
|
|
4525
4525
|
};
|
|
4526
|
-
}),
|
|
4526
|
+
}), Za = G("products", () => {
|
|
4527
4527
|
const c = se(), e = B([]), o = x(() => e.value.filter((s) => s.product_type === "Themes"));
|
|
4528
4528
|
async function a() {
|
|
4529
4529
|
if (e.value.length)
|
|
@@ -4545,29 +4545,29 @@ const He = G("settings", () => {
|
|
|
4545
4545
|
randomize: n
|
|
4546
4546
|
};
|
|
4547
4547
|
});
|
|
4548
|
-
function
|
|
4548
|
+
function Qa() {
|
|
4549
4549
|
function c(e) {
|
|
4550
|
-
e.component("VoAppBar",
|
|
4550
|
+
e.component("VoAppBar", zs), e.component("VoAuthBtn", At), e.component("VoAuthCard", $t), e.component("VoAuthDialog", wt), e.component("VoAuthListItem", xt), e.component("VoIconBin", It), e.component("VoIconIssues", Lt), e.component("VoNotificationsBanner", Fs), e.component("VoPromotionsCardHighlight", Ms), e.component("VoPromotionsCardVuetify", Es), e.component("VoPromotionsFooter", Zs), e.component("VoScript", Ys), e.component("VoSocialFooter", oa), e.component("VoSpot", aa);
|
|
4551
4551
|
}
|
|
4552
4552
|
return { install: c };
|
|
4553
4553
|
}
|
|
4554
|
-
function
|
|
4554
|
+
function Ya(c, e) {
|
|
4555
4555
|
return function(o) {
|
|
4556
4556
|
const a = o.store;
|
|
4557
4557
|
a.url = e, a.$id === "site" && (a.id = c);
|
|
4558
4558
|
};
|
|
4559
4559
|
}
|
|
4560
4560
|
export {
|
|
4561
|
-
|
|
4562
|
-
|
|
4561
|
+
Qa as createOne,
|
|
4562
|
+
Ya as one,
|
|
4563
4563
|
R as useAuthStore,
|
|
4564
|
-
|
|
4565
|
-
|
|
4564
|
+
We as useBannersStore,
|
|
4565
|
+
Ga as useBinsStore,
|
|
4566
4566
|
se as useHttpStore,
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4567
|
+
j as useOneStore,
|
|
4568
|
+
Za as useProductsStore,
|
|
4569
|
+
tt as usePromotionsStore,
|
|
4570
|
+
Re as useSettingsStore,
|
|
4571
|
+
na as useSpotsStore,
|
|
4572
4572
|
z as useUserStore
|
|
4573
4573
|
};
|