@vuetify/one 1.9.2 → 1.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +706 -697
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { ref as
|
|
1
|
+
import { ref as O, defineComponent as k, openBlock as u, createBlock as h, unref as t, reactive as Dt, watch as z, toRefs as Ut, shallowRef as A, computed as x, createSlots as R, withCtx as r, createElementVNode as V, toDisplayString as S, createVNode as i, createTextVNode as N, renderSlot as B, normalizeStyle as at, createCommentVNode as C, withModifiers as Ze, mergeModels as Ot, useModel as pe, createElementBlock as I, Fragment as T, onMounted as Ue, nextTick as be, renderList as K, mergeProps as E, withDirectives as Ve, vShow as Oe, isRef as se, normalizeClass as Bt, resolveComponent as Nt, onBeforeMount as Ge, onBeforeUnmount as Tt, pushScopeId as Ft, popScopeId as Mt } from "vue";
|
|
2
2
|
import { defineStore as q } from "pinia";
|
|
3
3
|
import { VSnackbarQueue as zt } from "vuetify/lib/labs/VSnackbarQueue/index.mjs";
|
|
4
|
-
import { mdiStorefront as jt, mdiSync as Pt, mdiSyncOff as Ht, mdiLogoutVariant as Rt, mdiFullscreenExit as Et, mdiFullscreen as Wt, mdiCheck as Be, mdiHome as qt, mdiTextBox as Zt, mdiSelect as Gt, mdiSpaceInvaders as
|
|
4
|
+
import { mdiStorefront as jt, mdiSync as Pt, mdiSyncOff as Ht, mdiLogoutVariant as Rt, mdiFullscreenExit as Et, mdiFullscreen as Wt, mdiCheck as Be, mdiHome as qt, mdiTextBox as Zt, mdiSelect as Gt, mdiSpaceInvaders as it, mdiImageFilterHdr as rt, mdiTransmissionTower as lt, mdiRocketLaunchOutline as ct, 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 De, mdiCreditCard as so, mdiReload as ao, mdiPlaylistCheck as io, mdiCreditCardOutline as ro, mdiMedal as lo, mdiOpenInNew as Ne, mdiHandHeart as co, mdiHandHeartOutline as uo, mdiCloudDownload as po, mdiTrayArrowDown as st, mdiEmailOpenOutline as ut, mdiEmailVariant as dt, 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 } from "@mdi/js";
|
|
5
5
|
import { useRouter as Qe, useRoute as $o } from "vue-router";
|
|
6
6
|
import { merge as Re } from "lodash-es";
|
|
7
|
-
import { VListItem as me, VList as ae, VListSubheader as wo, VListItemTitle as
|
|
7
|
+
import { VListItem as me, VList as ae, VListSubheader as wo, VListItemTitle as pt, VListItemSubtitle as xo } from "vuetify/lib/components/VList/index.mjs";
|
|
8
8
|
import { VAvatar as ee } from "vuetify/lib/components/VAvatar/index.mjs";
|
|
9
9
|
import { VCard as W, VCardTitle as Co, VCardSubtitle as So, VCardText as ue } from "vuetify/lib/components/VCard/index.mjs";
|
|
10
|
-
import { VDialog as
|
|
10
|
+
import { VDialog as mt } from "vuetify/lib/components/VDialog/index.mjs";
|
|
11
11
|
import { VBadge as Ye } from "vuetify/lib/components/VBadge/index.mjs";
|
|
12
12
|
import { VBtn as Z } from "vuetify/lib/components/VBtn/index.mjs";
|
|
13
13
|
import { VProgressCircular as Lo } from "vuetify/lib/components/VProgressCircular/index.mjs";
|
|
14
14
|
import { VSheet as Je } from "vuetify/lib/components/VSheet/index.mjs";
|
|
15
|
-
import { VSwitch as
|
|
15
|
+
import { VSwitch as ft } from "vuetify/lib/components/VSwitch/index.mjs";
|
|
16
16
|
import { VFadeTransition as Te, VExpandTransition as fe, VExpandXTransition as Io } from "vuetify/lib/components/transitions/index.mjs";
|
|
17
17
|
import { useDisplay as ve, useTheme as Fe, useDate as ke } from "vuetify";
|
|
18
18
|
import { VDivider as Q } from "vuetify/lib/components/VDivider/index.mjs";
|
|
19
|
-
import { VIcon as
|
|
19
|
+
import { VIcon as U } from "vuetify/lib/components/VIcon/index.mjs";
|
|
20
20
|
import { VLabel as We } from "vuetify/lib/components/VLabel/index.mjs";
|
|
21
21
|
import { VChip as X } from "vuetify/lib/components/VChip/index.mjs";
|
|
22
22
|
import { VChipGroup as Ao } from "vuetify/lib/components/VChipGroup/index.mjs";
|
|
@@ -24,13 +24,13 @@ import { VSelect as Do } from "vuetify/lib/components/VSelect/index.mjs";
|
|
|
24
24
|
import { VRow as $e, VCol as de } from "vuetify/lib/components/VGrid/index.mjs";
|
|
25
25
|
import { VHover as Me } from "vuetify/lib/components/VHover/index.mjs";
|
|
26
26
|
import { VImg as te } from "vuetify/lib/components/VImg/index.mjs";
|
|
27
|
-
import { VItemGroup as
|
|
27
|
+
import { VItemGroup as vt, VItem as qe } from "vuetify/lib/components/VItemGroup/index.mjs";
|
|
28
28
|
import { VLayout as we } from "vuetify/lib/components/VLayout/index.mjs";
|
|
29
29
|
import { VMain as xe } from "vuetify/lib/components/VMain/index.mjs";
|
|
30
|
-
import { VDataTableVirtual as
|
|
30
|
+
import { VDataTableVirtual as _t } from "vuetify/lib/components/VDataTable/index.mjs";
|
|
31
31
|
import { VSkeletonLoader as ye } from "vuetify/lib/components/VSkeletonLoader/index.mjs";
|
|
32
|
-
import { VWindow as
|
|
33
|
-
import { VTimelineItem as
|
|
32
|
+
import { VWindow as ht, VWindowItem as ge } from "vuetify/lib/components/VWindow/index.mjs";
|
|
33
|
+
import { VTimelineItem as Uo, VTimeline as Oo } from "vuetify/lib/components/VTimeline/index.mjs";
|
|
34
34
|
import { VEmptyState as Xe } from "vuetify/lib/components/VEmptyState/index.mjs";
|
|
35
35
|
import { VTooltip as J } from "vuetify/lib/components/VTooltip/index.mjs";
|
|
36
36
|
import { VResponsive as Bo } from "vuetify/lib/components/VResponsive/index.mjs";
|
|
@@ -38,11 +38,11 @@ import { VNavigationDrawer as No } from "vuetify/lib/components/VNavigationDrawe
|
|
|
38
38
|
import { Ripple as To } from "vuetify/lib/directives/index.mjs";
|
|
39
39
|
import { VColorPicker as Fo } from "vuetify/lib/components/VColorPicker/index.mjs";
|
|
40
40
|
import { VMenu as Mo } from "vuetify/lib/components/VMenu/index.mjs";
|
|
41
|
-
import { VAppBar as
|
|
41
|
+
import { VAppBar as gt } from "vuetify/lib/components/VAppBar/index.mjs";
|
|
42
42
|
import { VLazy as zo } from "vuetify/lib/components/VLazy/index.mjs";
|
|
43
43
|
import { VFooter as jo } from "vuetify/lib/components/VFooter/index.mjs";
|
|
44
44
|
const Po = q("Queue", () => {
|
|
45
|
-
const c =
|
|
45
|
+
const c = O([]);
|
|
46
46
|
function e(n) {
|
|
47
47
|
const o = typeof n == "string" ? { text: n } : n;
|
|
48
48
|
c.value.push(o);
|
|
@@ -51,11 +51,11 @@ const Po = q("Queue", () => {
|
|
|
51
51
|
queue: c,
|
|
52
52
|
show: e
|
|
53
53
|
};
|
|
54
|
-
}), Ho = /* @__PURE__ */
|
|
54
|
+
}), Ho = /* @__PURE__ */ k({
|
|
55
55
|
__name: "VoSnackbarQueue",
|
|
56
56
|
setup(c) {
|
|
57
57
|
const e = Po();
|
|
58
|
-
return (n, o) => (u(),
|
|
58
|
+
return (n, o) => (u(), h(zt, {
|
|
59
59
|
modelValue: t(e).queue,
|
|
60
60
|
"onUpdate:modelValue": o[0] || (o[0] = (s) => t(e).queue = s),
|
|
61
61
|
closable: "",
|
|
@@ -156,18 +156,18 @@ const Po = q("Queue", () => {
|
|
|
156
156
|
Ee && (Object.assign(c, Re({}, Ae)), n());
|
|
157
157
|
}
|
|
158
158
|
return e(), {
|
|
159
|
-
...
|
|
159
|
+
...Ut(c),
|
|
160
160
|
load: e,
|
|
161
161
|
save: n,
|
|
162
162
|
reset: o
|
|
163
163
|
};
|
|
164
164
|
}), P = q("auth", () => {
|
|
165
|
-
const c =
|
|
166
|
-
let l =
|
|
167
|
-
z(e, (
|
|
168
|
-
if (!(
|
|
169
|
-
const
|
|
170
|
-
JSON.stringify(
|
|
165
|
+
const c = O(!1), e = O(null), n = oe(), o = F(), s = Qe(), a = A(!1);
|
|
166
|
+
let l = !!$();
|
|
167
|
+
z(e, (g) => {
|
|
168
|
+
if (!(g != null && g.settings)) return;
|
|
169
|
+
const f = localStorage.getItem("vuetify@user") || "{}";
|
|
170
|
+
JSON.stringify(g.settings, null, 2) !== f && (l = !0, Object.assign(o, g.settings));
|
|
171
171
|
}), o.$subscribe(() => {
|
|
172
172
|
l || d(), l = !1;
|
|
173
173
|
});
|
|
@@ -175,20 +175,20 @@ const Po = q("Queue", () => {
|
|
|
175
175
|
if (!(!e.value || !o.syncSettings))
|
|
176
176
|
try {
|
|
177
177
|
await n.post("/user/settings", { settings: o.$state });
|
|
178
|
-
} catch (
|
|
179
|
-
console.error(
|
|
178
|
+
} catch (g) {
|
|
179
|
+
console.error(g);
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
|
-
async function p(
|
|
182
|
+
async function p(g = !1) {
|
|
183
183
|
if (p.promise) return p.promise;
|
|
184
184
|
a.value = !0, p.promise = fetch(`${n.url}/auth/verify`, {
|
|
185
185
|
credentials: "include",
|
|
186
|
-
headers:
|
|
186
|
+
headers: g ? {
|
|
187
187
|
"Cache-Control": "no-cache"
|
|
188
188
|
} : void 0
|
|
189
189
|
}).then(
|
|
190
|
-
async (
|
|
191
|
-
|
|
190
|
+
async (f) => {
|
|
191
|
+
f.ok ? e.value = (await f.json()).user : f.status === 401 ? e.value = null : console.error(f.statusText);
|
|
192
192
|
},
|
|
193
193
|
() => {
|
|
194
194
|
}
|
|
@@ -197,27 +197,27 @@ const Po = q("Queue", () => {
|
|
|
197
197
|
});
|
|
198
198
|
}
|
|
199
199
|
p.promise = null;
|
|
200
|
-
async function m(
|
|
200
|
+
async function m(g = "github") {
|
|
201
201
|
a.value = !0;
|
|
202
|
-
const
|
|
203
|
-
if (
|
|
204
|
-
window.location.assign(
|
|
202
|
+
const f = `${n.url}/auth/${g}/redirect`;
|
|
203
|
+
if (g === "shopify") {
|
|
204
|
+
window.location.assign(f + "?next=" + encodeURIComponent(window.location.href));
|
|
205
205
|
return;
|
|
206
206
|
}
|
|
207
|
-
const
|
|
207
|
+
const v = 400, b = 600, M = window.screenX + (window.innerWidth - v) / 2, D = window.screenY + (window.innerHeight - b) / 2, H = window.open(
|
|
208
208
|
"",
|
|
209
209
|
"vuetify:authorize:popup",
|
|
210
|
-
`popup,left=${M},top=${D},width=${
|
|
210
|
+
`popup,left=${M},top=${D},width=${v},height=${b},resizable`
|
|
211
211
|
);
|
|
212
212
|
if (!H) {
|
|
213
213
|
console.error("Failed to open popup");
|
|
214
214
|
return;
|
|
215
215
|
}
|
|
216
|
-
H.location.href =
|
|
216
|
+
H.location.href = f;
|
|
217
217
|
let ie = -1, re = -1;
|
|
218
218
|
function le(ne) {
|
|
219
219
|
var he;
|
|
220
|
-
ne.origin === n.url && ((he = ne.data) == null ? void 0 : he.type) === "auth-response" && (ne.data.status === "success" ? (e.value || localStorage.setItem("vuetify@lastLoginProvider",
|
|
220
|
+
ne.origin === n.url && ((he = ne.data) == null ? void 0 : he.type) === "auth-response" && (ne.data.status === "success" ? (e.value || localStorage.setItem("vuetify@lastLoginProvider", g), e.value = ne.data.body.user, d()) : console.error(ne.data.message), ce());
|
|
221
221
|
}
|
|
222
222
|
function ce() {
|
|
223
223
|
window.removeEventListener("message", le), window.clearInterval(ie), window.clearTimeout(re), H == null || H.close(), a.value = !1;
|
|
@@ -228,13 +228,13 @@ const Po = q("Queue", () => {
|
|
|
228
228
|
ce(), console.error("Auth timed out");
|
|
229
229
|
}, 120 * 1e3);
|
|
230
230
|
}
|
|
231
|
-
async function
|
|
231
|
+
async function _(g) {
|
|
232
232
|
a.value = !0;
|
|
233
|
-
const
|
|
233
|
+
const f = g ? `/auth/${g}/logout` : "/auth/logout";
|
|
234
234
|
try {
|
|
235
|
-
await n.post(
|
|
236
|
-
} catch (
|
|
237
|
-
console.error(
|
|
235
|
+
await n.post(f), await p(!0), e.value = null;
|
|
236
|
+
} catch (v) {
|
|
237
|
+
console.error(v);
|
|
238
238
|
} finally {
|
|
239
239
|
s.push({
|
|
240
240
|
path: "/",
|
|
@@ -242,11 +242,11 @@ const Po = q("Queue", () => {
|
|
|
242
242
|
}), a.value = !1;
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
|
-
function g
|
|
246
|
-
var
|
|
247
|
-
return (
|
|
245
|
+
function y(g) {
|
|
246
|
+
var f;
|
|
247
|
+
return (f = e.value) == null ? void 0 : f.identities.find((v) => v.provider === g);
|
|
248
248
|
}
|
|
249
|
-
function
|
|
249
|
+
function $() {
|
|
250
250
|
return localStorage.getItem("vuetify@lastLoginProvider");
|
|
251
251
|
}
|
|
252
252
|
return p(), {
|
|
@@ -254,18 +254,18 @@ const Po = q("Queue", () => {
|
|
|
254
254
|
url: n.url,
|
|
255
255
|
dialog: c,
|
|
256
256
|
isLoading: a,
|
|
257
|
-
findIdentity:
|
|
257
|
+
findIdentity: y,
|
|
258
258
|
verify: p,
|
|
259
259
|
login: m,
|
|
260
|
-
logout:
|
|
261
|
-
lastLoginProvider:
|
|
260
|
+
logout: _,
|
|
261
|
+
lastLoginProvider: $,
|
|
262
262
|
sync: d
|
|
263
263
|
};
|
|
264
|
-
}), Ro = { class: "text-body-2" }, Eo = /* @__PURE__ */
|
|
264
|
+
}), Ro = { class: "text-body-2" }, Eo = /* @__PURE__ */ V("div", { class: "text-caption mt-n1" }, "Last Used", -1), yt = /* @__PURE__ */ k({
|
|
265
265
|
__name: "VoAuthShopify",
|
|
266
266
|
setup(c) {
|
|
267
267
|
const e = P(), n = x(() => e.user && e.findIdentity("shopify")), o = x(() => e.user ? n.value ? "Connected to Shopify" : "Connect Shopify" : "Login with Shopify");
|
|
268
|
-
return (s, a) => (u(),
|
|
268
|
+
return (s, a) => (u(), h(me, {
|
|
269
269
|
"base-color": "#5b8a3c",
|
|
270
270
|
"prepend-icon": `svg:${t(jt)}`,
|
|
271
271
|
rounded: "pill",
|
|
@@ -274,7 +274,7 @@ const Po = q("Queue", () => {
|
|
|
274
274
|
onClick: a[0] || (a[0] = (l) => t(e).login("shopify"))
|
|
275
275
|
}, R({
|
|
276
276
|
title: r(() => [
|
|
277
|
-
|
|
277
|
+
V("span", Ro, S(t(o)), 1)
|
|
278
278
|
]),
|
|
279
279
|
_: 2
|
|
280
280
|
}, [
|
|
@@ -287,11 +287,11 @@ const Po = q("Queue", () => {
|
|
|
287
287
|
} : void 0
|
|
288
288
|
]), 1032, ["prepend-icon"]));
|
|
289
289
|
}
|
|
290
|
-
}), Wo = { class: "text-body-2" }, qo = /* @__PURE__ */
|
|
290
|
+
}), Wo = { class: "text-body-2" }, qo = /* @__PURE__ */ V("div", { class: "text-caption mt-n1" }, "Last Used", -1), bt = /* @__PURE__ */ k({
|
|
291
291
|
__name: "VoAuthDiscord",
|
|
292
292
|
setup(c) {
|
|
293
293
|
const e = P(), n = x(() => e.user && e.findIdentity("discord")), o = x(() => e.user ? n.value ? "Connected to Discord" : "Connect Discord" : "Login with Discord");
|
|
294
|
-
return (s, a) => (u(),
|
|
294
|
+
return (s, a) => (u(), h(me, {
|
|
295
295
|
"base-color": "#5865F2",
|
|
296
296
|
"prepend-icon": "$discord",
|
|
297
297
|
rounded: "pill",
|
|
@@ -300,7 +300,7 @@ const Po = q("Queue", () => {
|
|
|
300
300
|
onClick: a[0] || (a[0] = (l) => t(e).login("discord"))
|
|
301
301
|
}, R({
|
|
302
302
|
title: r(() => [
|
|
303
|
-
|
|
303
|
+
V("span", Wo, S(t(o)), 1)
|
|
304
304
|
]),
|
|
305
305
|
_: 2
|
|
306
306
|
}, [
|
|
@@ -313,11 +313,11 @@ const Po = q("Queue", () => {
|
|
|
313
313
|
} : void 0
|
|
314
314
|
]), 1024));
|
|
315
315
|
}
|
|
316
|
-
}), Zo = { class: "text-body-2" }, Go = /* @__PURE__ */
|
|
316
|
+
}), Zo = { class: "text-body-2" }, Go = /* @__PURE__ */ V("div", { class: "text-caption mt-n1" }, "Last Used", -1), Vt = /* @__PURE__ */ k({
|
|
317
317
|
__name: "VoAuthGithub",
|
|
318
318
|
setup(c) {
|
|
319
319
|
const e = P(), n = x(() => e.user && e.findIdentity("github")), o = x(() => e.user ? n.value ? "Connected to GitHub" : "Connect GitHub" : "Login with GitHub");
|
|
320
|
-
return (s, a) => (u(),
|
|
320
|
+
return (s, a) => (u(), h(me, {
|
|
321
321
|
"base-color": "#2a2a2a",
|
|
322
322
|
"prepend-icon": "$github",
|
|
323
323
|
rounded: "pill",
|
|
@@ -326,7 +326,7 @@ const Po = q("Queue", () => {
|
|
|
326
326
|
onClick: a[0] || (a[0] = (l) => t(e).login("github"))
|
|
327
327
|
}, R({
|
|
328
328
|
title: r(() => [
|
|
329
|
-
|
|
329
|
+
V("span", Zo, S(t(o)), 1)
|
|
330
330
|
]),
|
|
331
331
|
_: 2
|
|
332
332
|
}, [
|
|
@@ -339,28 +339,28 @@ const Po = q("Queue", () => {
|
|
|
339
339
|
} : void 0
|
|
340
340
|
]), 1024));
|
|
341
341
|
}
|
|
342
|
-
}), Qo = { class: "text-center" }, Yo = { class: "text-center mb-6" }, Jo = { class: "text-h6 font-weight-light" }, Xo = /* @__PURE__ */
|
|
342
|
+
}), Qo = { class: "text-center" }, Yo = { class: "text-center mb-6" }, Jo = { class: "text-h6 font-weight-light" }, Xo = /* @__PURE__ */ V("span", { class: "text-h3 font-weight-bold" }, "Vuetify One", -1), kt = /* @__PURE__ */ k({
|
|
343
343
|
__name: "VoAuthCard",
|
|
344
344
|
setup(c) {
|
|
345
345
|
const e = P();
|
|
346
346
|
return (n, o) => {
|
|
347
|
-
const s =
|
|
348
|
-
return u(),
|
|
347
|
+
const s = Vt, a = bt, l = yt;
|
|
348
|
+
return u(), h(W, {
|
|
349
349
|
class: "pt-6 pb-8 px-4 px-sm-8 mx-auto",
|
|
350
350
|
"max-width": "480"
|
|
351
351
|
}, {
|
|
352
352
|
default: r(() => [
|
|
353
|
-
|
|
353
|
+
V("div", Qo, [
|
|
354
354
|
i(ee, {
|
|
355
355
|
class: "mx-auto",
|
|
356
356
|
image: "https://vuetifyjs.b-cdn.net/docs/images/avatars/one.png",
|
|
357
357
|
size: "64"
|
|
358
358
|
})
|
|
359
359
|
]),
|
|
360
|
-
|
|
360
|
+
V("div", Yo, [
|
|
361
361
|
i(Co, { class: "text-h5 mb-1 text-md-h4" }, {
|
|
362
362
|
default: r(() => [
|
|
363
|
-
|
|
363
|
+
V("div", Jo, S(t(e).lastLoginProvider() ? "Welcome back to" : "Login to"), 1),
|
|
364
364
|
Xo
|
|
365
365
|
]),
|
|
366
366
|
_: 1
|
|
@@ -389,13 +389,13 @@ const Po = q("Queue", () => {
|
|
|
389
389
|
});
|
|
390
390
|
};
|
|
391
391
|
}
|
|
392
|
-
}),
|
|
392
|
+
}), $t = /* @__PURE__ */ k({
|
|
393
393
|
__name: "VoAuthDialog",
|
|
394
394
|
setup(c) {
|
|
395
395
|
const e = P();
|
|
396
396
|
return (n, o) => {
|
|
397
|
-
const s =
|
|
398
|
-
return u(),
|
|
397
|
+
const s = kt;
|
|
398
|
+
return u(), h(mt, {
|
|
399
399
|
modelValue: t(e).dialog,
|
|
400
400
|
"onUpdate:modelValue": o[0] || (o[0] = (a) => t(e).dialog = a),
|
|
401
401
|
"max-width": "480"
|
|
@@ -408,47 +408,47 @@ const Po = q("Queue", () => {
|
|
|
408
408
|
};
|
|
409
409
|
}
|
|
410
410
|
}), ze = q("notifications", () => {
|
|
411
|
-
const c = oe(), e = F(), n =
|
|
411
|
+
const c = oe(), e = F(), n = O([]), o = O([]), s = O(), a = A(!1), l = x(() => n.value.filter((f) => !e.notifications.read.includes(f.slug))), d = x(() => n.value.filter((f) => e.notifications.read.includes(f.slug)));
|
|
412
412
|
async function p() {
|
|
413
413
|
try {
|
|
414
414
|
a.value = !0;
|
|
415
|
-
const
|
|
416
|
-
n.value =
|
|
415
|
+
const f = await c.get("/one/notifications");
|
|
416
|
+
n.value = f.notifications;
|
|
417
417
|
} catch {
|
|
418
418
|
} finally {
|
|
419
419
|
a.value = !1;
|
|
420
420
|
}
|
|
421
421
|
return n.value;
|
|
422
422
|
}
|
|
423
|
-
async function m(
|
|
423
|
+
async function m(f) {
|
|
424
424
|
try {
|
|
425
425
|
a.value = !0;
|
|
426
|
-
const
|
|
427
|
-
return s.value =
|
|
426
|
+
const v = await c.get(`/one/admin/notifications/${f}`);
|
|
427
|
+
return s.value = v.notification, v.notification;
|
|
428
428
|
} catch {
|
|
429
429
|
} finally {
|
|
430
430
|
a.value = !1;
|
|
431
431
|
}
|
|
432
432
|
}
|
|
433
|
-
async function f
|
|
433
|
+
async function _(f) {
|
|
434
434
|
try {
|
|
435
435
|
a.value = !0;
|
|
436
|
-
const
|
|
436
|
+
const v = await c.form(
|
|
437
437
|
"/one/admin/notifications",
|
|
438
|
-
|
|
438
|
+
f
|
|
439
439
|
);
|
|
440
|
-
return s.value =
|
|
440
|
+
return s.value = v.notification, v.notification;
|
|
441
441
|
} catch {
|
|
442
442
|
} finally {
|
|
443
443
|
a.value = !1;
|
|
444
444
|
}
|
|
445
445
|
}
|
|
446
|
-
async function
|
|
446
|
+
async function y(f, v) {
|
|
447
447
|
try {
|
|
448
448
|
a.value = !0;
|
|
449
449
|
const b = await c.form(
|
|
450
|
-
`/one/admin/notifications/${
|
|
451
|
-
|
|
450
|
+
`/one/admin/notifications/${f}`,
|
|
451
|
+
v
|
|
452
452
|
);
|
|
453
453
|
return s.value = b.notification, b.notification;
|
|
454
454
|
} catch {
|
|
@@ -456,13 +456,13 @@ const Po = q("Queue", () => {
|
|
|
456
456
|
a.value = !1;
|
|
457
457
|
}
|
|
458
458
|
}
|
|
459
|
-
async function
|
|
459
|
+
async function $() {
|
|
460
460
|
}
|
|
461
|
-
async function
|
|
461
|
+
async function g() {
|
|
462
462
|
try {
|
|
463
463
|
a.value = !0;
|
|
464
|
-
const
|
|
465
|
-
o.value =
|
|
464
|
+
const f = await c.get("/one/admin/notifications");
|
|
465
|
+
o.value = f.notifications;
|
|
466
466
|
} catch {
|
|
467
467
|
} finally {
|
|
468
468
|
a.value = !1;
|
|
@@ -473,21 +473,21 @@ const Po = q("Queue", () => {
|
|
|
473
473
|
isLoading: a,
|
|
474
474
|
all: n,
|
|
475
475
|
aall: o,
|
|
476
|
-
admin:
|
|
476
|
+
admin: g,
|
|
477
477
|
record: s,
|
|
478
478
|
index: p,
|
|
479
479
|
show: m,
|
|
480
|
-
store:
|
|
481
|
-
update:
|
|
482
|
-
destroy:
|
|
480
|
+
store: _,
|
|
481
|
+
update: y,
|
|
482
|
+
destroy: $,
|
|
483
483
|
read: d,
|
|
484
484
|
unread: l
|
|
485
485
|
};
|
|
486
|
-
}), Ko = /* @__PURE__ */
|
|
486
|
+
}), Ko = /* @__PURE__ */ k({
|
|
487
487
|
__name: "VoNotificationsTotalBadge",
|
|
488
488
|
setup(c) {
|
|
489
489
|
const e = P(), n = ze(), o = F(), s = x(() => o.notifications.show ? n.unread.length : 0);
|
|
490
|
-
return (a, l) => (u(),
|
|
490
|
+
return (a, l) => (u(), h(Ye, {
|
|
491
491
|
color: "error",
|
|
492
492
|
content: t(s),
|
|
493
493
|
dot: !!t(e).user,
|
|
@@ -500,25 +500,25 @@ const Po = q("Queue", () => {
|
|
|
500
500
|
_: 3
|
|
501
501
|
}, 8, ["content", "dot", "model-value"]));
|
|
502
502
|
}
|
|
503
|
-
}), Ce = /* @__PURE__ */
|
|
503
|
+
}), Ce = /* @__PURE__ */ k({
|
|
504
504
|
__name: "VoBtn",
|
|
505
505
|
props: {
|
|
506
506
|
readonly: { type: Boolean }
|
|
507
507
|
},
|
|
508
508
|
setup(c) {
|
|
509
509
|
const e = c;
|
|
510
|
-
return (n, o) => (u(),
|
|
510
|
+
return (n, o) => (u(), h(Z, {
|
|
511
511
|
class: "text-none font-weight-regular",
|
|
512
512
|
color: "primary",
|
|
513
513
|
size: "small",
|
|
514
|
-
style:
|
|
514
|
+
style: at({
|
|
515
515
|
pointerEvents: e.readonly ? "none" : void 0
|
|
516
516
|
}),
|
|
517
517
|
tabindex: e.readonly ? -1 : void 0,
|
|
518
518
|
variant: "flat"
|
|
519
519
|
}, R({
|
|
520
520
|
loader: r(() => [
|
|
521
|
-
n.$slots.loader ? C("", !0) : (u(),
|
|
521
|
+
n.$slots.loader ? C("", !0) : (u(), h(Lo, {
|
|
522
522
|
key: 0,
|
|
523
523
|
indeterminate: "disable-shrink",
|
|
524
524
|
size: "16",
|
|
@@ -544,7 +544,7 @@ const Po = q("Queue", () => {
|
|
|
544
544
|
} : void 0
|
|
545
545
|
]), 1032, ["style", "tabindex"]));
|
|
546
546
|
}
|
|
547
|
-
}), en = { class: "pa-4 d-flex flex-column ga-4" },
|
|
547
|
+
}), en = { class: "pa-4 d-flex flex-column ga-4" }, wt = /* @__PURE__ */ k({
|
|
548
548
|
__name: "VoAuthListItem",
|
|
549
549
|
setup(c) {
|
|
550
550
|
const e = P(), n = F(), o = A(!e.user && !e.isLoading);
|
|
@@ -555,8 +555,8 @@ const Po = q("Queue", () => {
|
|
|
555
555
|
e.user && (o.value = !o.value);
|
|
556
556
|
}
|
|
557
557
|
return (a, l) => {
|
|
558
|
-
const d =
|
|
559
|
-
return u(),
|
|
558
|
+
const d = Vt, p = bt, m = yt;
|
|
559
|
+
return u(), h(W, {
|
|
560
560
|
class: "ma-2",
|
|
561
561
|
rounded: "lg",
|
|
562
562
|
variant: t(o) ? "tonal" : "text"
|
|
@@ -577,10 +577,10 @@ const Po = q("Queue", () => {
|
|
|
577
577
|
append: r(() => [
|
|
578
578
|
i(Te, null, {
|
|
579
579
|
default: r(() => [
|
|
580
|
-
t(e).user && (t(o) || !t(n).syncSettings) ? (u(),
|
|
580
|
+
t(e).user && (t(o) || !t(n).syncSettings) ? (u(), h(ft, {
|
|
581
581
|
key: 0,
|
|
582
582
|
modelValue: t(n).syncSettings,
|
|
583
|
-
"onUpdate:modelValue": l[0] || (l[0] = (
|
|
583
|
+
"onUpdate:modelValue": l[0] || (l[0] = (_) => t(n).syncSettings = _),
|
|
584
584
|
color: t(n).syncSettings ? "success" : void 0,
|
|
585
585
|
density: "compact",
|
|
586
586
|
"hide-details": "",
|
|
@@ -603,21 +603,21 @@ const Po = q("Queue", () => {
|
|
|
603
603
|
}, 8, ["link", "prepend-icon", "title"]),
|
|
604
604
|
i(fe, null, {
|
|
605
605
|
default: r(() => [
|
|
606
|
-
!t(e).user && !t(e).isLoading || t(o) ? (u(),
|
|
606
|
+
!t(e).user && !t(e).isLoading || t(o) ? (u(), h(Je, {
|
|
607
607
|
key: 0,
|
|
608
608
|
border: "t",
|
|
609
609
|
color: "transparent"
|
|
610
610
|
}, {
|
|
611
611
|
default: r(() => [
|
|
612
|
-
|
|
612
|
+
V("div", en, [
|
|
613
613
|
i(d, {
|
|
614
|
-
onClick: l[2] || (l[2] = (
|
|
614
|
+
onClick: l[2] || (l[2] = (_) => o.value = !1)
|
|
615
615
|
}),
|
|
616
616
|
i(p, {
|
|
617
|
-
onClick: l[3] || (l[3] = (
|
|
617
|
+
onClick: l[3] || (l[3] = (_) => o.value = !1)
|
|
618
618
|
}),
|
|
619
619
|
i(m, {
|
|
620
|
-
onClick: l[4] || (l[4] = (
|
|
620
|
+
onClick: l[4] || (l[4] = (_) => o.value = !1)
|
|
621
621
|
})
|
|
622
622
|
])
|
|
623
623
|
]),
|
|
@@ -634,10 +634,10 @@ const Po = q("Queue", () => {
|
|
|
634
634
|
}, 8, ["variant"]);
|
|
635
635
|
};
|
|
636
636
|
}
|
|
637
|
-
}), Y = /* @__PURE__ */
|
|
637
|
+
}), Y = /* @__PURE__ */ k({
|
|
638
638
|
__name: "VoListItem",
|
|
639
639
|
setup(c) {
|
|
640
|
-
return (e, n) => (u(),
|
|
640
|
+
return (e, n) => (u(), h(me, { slim: "" }, R({
|
|
641
641
|
default: r(() => [
|
|
642
642
|
B(e.$slots, "default")
|
|
643
643
|
]),
|
|
@@ -666,7 +666,7 @@ const Po = q("Queue", () => {
|
|
|
666
666
|
} : void 0
|
|
667
667
|
]), 1024));
|
|
668
668
|
}
|
|
669
|
-
}), tn = /* @__PURE__ */
|
|
669
|
+
}), tn = /* @__PURE__ */ k({
|
|
670
670
|
__name: "VoAuthLogoutNavItem",
|
|
671
671
|
setup(c) {
|
|
672
672
|
const e = P(), n = A(!1);
|
|
@@ -675,7 +675,7 @@ const Po = q("Queue", () => {
|
|
|
675
675
|
}
|
|
676
676
|
return (s, a) => {
|
|
677
677
|
const l = Y;
|
|
678
|
-
return u(),
|
|
678
|
+
return u(), h(l, {
|
|
679
679
|
class: "mb-0",
|
|
680
680
|
disabled: t(n),
|
|
681
681
|
link: "",
|
|
@@ -686,9 +686,9 @@ const Po = q("Queue", () => {
|
|
|
686
686
|
}, null, 8, ["disabled", "loading", "prepend-icon"]);
|
|
687
687
|
};
|
|
688
688
|
}
|
|
689
|
-
}), Se = /* @__PURE__ */
|
|
689
|
+
}), Se = /* @__PURE__ */ k({
|
|
690
690
|
__name: "VoDialog",
|
|
691
|
-
props: /* @__PURE__ */
|
|
691
|
+
props: /* @__PURE__ */ Ot({
|
|
692
692
|
prependIcon: {},
|
|
693
693
|
title: {}
|
|
694
694
|
}, {
|
|
@@ -698,7 +698,7 @@ const Po = q("Queue", () => {
|
|
|
698
698
|
emits: ["update:modelValue"],
|
|
699
699
|
setup(c) {
|
|
700
700
|
const e = pe(c, "modelValue"), n = ve(), o = A(!1);
|
|
701
|
-
return (s, a) => (u(),
|
|
701
|
+
return (s, a) => (u(), h(mt, {
|
|
702
702
|
modelValue: e.value,
|
|
703
703
|
"onUpdate:modelValue": a[2] || (a[2] = (l) => e.value = l),
|
|
704
704
|
activator: "parent",
|
|
@@ -716,7 +716,7 @@ const Po = q("Queue", () => {
|
|
|
716
716
|
}, R({
|
|
717
717
|
append: r(() => [
|
|
718
718
|
B(s.$slots, "append"),
|
|
719
|
-
t(n).xs.value ? C("", !0) : (u(),
|
|
719
|
+
t(n).xs.value ? C("", !0) : (u(), h(Z, {
|
|
720
720
|
key: 0,
|
|
721
721
|
class: "me-2",
|
|
722
722
|
density: "comfortable",
|
|
@@ -758,13 +758,13 @@ const Po = q("Queue", () => {
|
|
|
758
758
|
_: 3
|
|
759
759
|
}, 8, ["modelValue", "fullscreen", "max-height", "max-width"]));
|
|
760
760
|
}
|
|
761
|
-
}),
|
|
761
|
+
}), xt = /* @__PURE__ */ k({
|
|
762
762
|
__name: "VoSwitch",
|
|
763
763
|
props: {
|
|
764
764
|
disabled: { type: Boolean }
|
|
765
765
|
},
|
|
766
766
|
setup(c) {
|
|
767
|
-
return (e, n) => (u(),
|
|
767
|
+
return (e, n) => (u(), h(ft, {
|
|
768
768
|
color: "primary",
|
|
769
769
|
density: "compact",
|
|
770
770
|
disabled: e.disabled,
|
|
@@ -772,7 +772,7 @@ const Po = q("Queue", () => {
|
|
|
772
772
|
"true-icon": `svg:${t(Be)}`
|
|
773
773
|
}, R({
|
|
774
774
|
thumb: r(() => [
|
|
775
|
-
i(
|
|
775
|
+
i(U, {
|
|
776
776
|
color: e.disabled ? void 0 : "primary"
|
|
777
777
|
}, null, 8, ["color"])
|
|
778
778
|
]),
|
|
@@ -790,7 +790,7 @@ const Po = q("Queue", () => {
|
|
|
790
790
|
}), on = {
|
|
791
791
|
key: 1,
|
|
792
792
|
class: "mb-3 text-caption text-medium-emphasis"
|
|
793
|
-
}, _e = /* @__PURE__ */
|
|
793
|
+
}, _e = /* @__PURE__ */ k({
|
|
794
794
|
__name: "VoDialogSubheader",
|
|
795
795
|
props: {
|
|
796
796
|
title: {},
|
|
@@ -798,7 +798,7 @@ const Po = q("Queue", () => {
|
|
|
798
798
|
},
|
|
799
799
|
setup(c) {
|
|
800
800
|
return (e, n) => (u(), I(T, null, [
|
|
801
|
-
e.title ? (u(),
|
|
801
|
+
e.title ? (u(), h(We, {
|
|
802
802
|
key: 0,
|
|
803
803
|
class: "font-weight-black"
|
|
804
804
|
}, {
|
|
@@ -810,7 +810,7 @@ const Po = q("Queue", () => {
|
|
|
810
810
|
e.text ? (u(), I("div", on, S(e.text), 1)) : C("", !0)
|
|
811
811
|
], 64));
|
|
812
812
|
}
|
|
813
|
-
}), nn = { key: 0 }, sn = /* @__PURE__ */
|
|
813
|
+
}), nn = { key: 0 }, sn = /* @__PURE__ */ k({
|
|
814
814
|
__name: "VoSettingsPageSuitOption",
|
|
815
815
|
setup(c) {
|
|
816
816
|
const e = F(), n = [
|
|
@@ -822,27 +822,27 @@ const Po = q("Queue", () => {
|
|
|
822
822
|
},
|
|
823
823
|
{
|
|
824
824
|
title: "Blackguard",
|
|
825
|
-
prependIcon: `svg:${
|
|
825
|
+
prependIcon: `svg:${it}`,
|
|
826
826
|
value: "blackguard"
|
|
827
827
|
},
|
|
828
828
|
{
|
|
829
829
|
title: "Polaris",
|
|
830
|
-
prependIcon: `svg:${
|
|
830
|
+
prependIcon: `svg:${rt}`,
|
|
831
831
|
value: "polaris"
|
|
832
832
|
},
|
|
833
833
|
{
|
|
834
834
|
title: "Nebula",
|
|
835
|
-
prependIcon: `svg:${
|
|
835
|
+
prependIcon: `svg:${lt}`,
|
|
836
836
|
value: "nebula"
|
|
837
837
|
},
|
|
838
838
|
{
|
|
839
839
|
title: "Odyssey",
|
|
840
|
-
prependIcon: `svg:${
|
|
840
|
+
prependIcon: `svg:${ct}`,
|
|
841
841
|
value: "odyssey"
|
|
842
842
|
}
|
|
843
843
|
];
|
|
844
844
|
return (o, s) => {
|
|
845
|
-
const a =
|
|
845
|
+
const a = xt, l = _e;
|
|
846
846
|
return u(), I(T, null, [
|
|
847
847
|
i(a, {
|
|
848
848
|
modelValue: t(e).suits.show,
|
|
@@ -867,7 +867,7 @@ const Po = q("Queue", () => {
|
|
|
867
867
|
variant: "outlined"
|
|
868
868
|
}, {
|
|
869
869
|
selection: r(({ item: d }) => [
|
|
870
|
-
i(
|
|
870
|
+
i(U, {
|
|
871
871
|
icon: d.props.prependIcon,
|
|
872
872
|
size: "x-small",
|
|
873
873
|
start: ""
|
|
@@ -897,7 +897,7 @@ const Po = q("Queue", () => {
|
|
|
897
897
|
class: "ms-2 border-opacity-50",
|
|
898
898
|
vertical: ""
|
|
899
899
|
}),
|
|
900
|
-
i(
|
|
900
|
+
i(U, { size: "x-small" })
|
|
901
901
|
]),
|
|
902
902
|
_: 1
|
|
903
903
|
}, 8, ["append-icon"]),
|
|
@@ -913,7 +913,7 @@ const Po = q("Queue", () => {
|
|
|
913
913
|
class: "ms-2 border-opacity-50",
|
|
914
914
|
vertical: ""
|
|
915
915
|
}),
|
|
916
|
-
i(
|
|
916
|
+
i(U, { size: "x-small" })
|
|
917
917
|
]),
|
|
918
918
|
_: 1
|
|
919
919
|
}, 8, ["append-icon"]),
|
|
@@ -929,7 +929,7 @@ const Po = q("Queue", () => {
|
|
|
929
929
|
class: "ms-2 border-opacity-50",
|
|
930
930
|
vertical: ""
|
|
931
931
|
}),
|
|
932
|
-
i(
|
|
932
|
+
i(U, { size: "x-small" })
|
|
933
933
|
]),
|
|
934
934
|
_: 1
|
|
935
935
|
})
|
|
@@ -951,29 +951,29 @@ function Le() {
|
|
|
951
951
|
);
|
|
952
952
|
}
|
|
953
953
|
const j = q("one", () => {
|
|
954
|
-
const c = Le(), e = Qe(), n = P(), o = oe(), s = A(!1), a = A(!1), l =
|
|
954
|
+
const c = Le(), e = Qe(), n = P(), o = oe(), s = A(!1), a = A(!1), l = O(), d = O([]), p = x(() => c.value.session_id), m = x(() => {
|
|
955
955
|
var w;
|
|
956
956
|
return (w = l.value) == null ? void 0 : w.items[0].plan.interval;
|
|
957
|
-
}),
|
|
957
|
+
}), _ = x(() => {
|
|
958
958
|
var w;
|
|
959
959
|
return (w = n.user) == null ? void 0 : w.sponsorships.find((L) => L.platform === "stripe" && L.tierName.startsWith("sub_"));
|
|
960
|
-
}),
|
|
960
|
+
}), y = x(() => {
|
|
961
961
|
var w;
|
|
962
|
-
return !!((w =
|
|
963
|
-
}),
|
|
962
|
+
return !!((w = _.value) != null && w.tierName);
|
|
963
|
+
}), $ = x(() => {
|
|
964
964
|
var w;
|
|
965
965
|
return ((w = n.user) == null ? void 0 : w.sponsorships.reduce((L, G) => {
|
|
966
966
|
if (!G.isActive || G.interval === "once" || G.platform === "stripe") return L;
|
|
967
967
|
const Ie = G.interval === "month" ? G.amount : G.amount / 12;
|
|
968
968
|
return L + Ie / 100;
|
|
969
969
|
}, 0)) ?? 0;
|
|
970
|
-
}),
|
|
970
|
+
}), g = x(() => {
|
|
971
971
|
var w;
|
|
972
972
|
return (w = n.user) == null ? void 0 : w.sponsorships.find((L) => L.tierName.startsWith("sub_") && L.isActive);
|
|
973
|
-
}),
|
|
973
|
+
}), f = x(() => {
|
|
974
974
|
var w;
|
|
975
975
|
return (w = n.user) == null ? void 0 : w.sponsorships.find((L) => L.platform === "github" && L.isActive);
|
|
976
|
-
}),
|
|
976
|
+
}), v = x(() => {
|
|
977
977
|
var w;
|
|
978
978
|
return (w = n.user) == null ? void 0 : w.sponsorships.find((L) => L.platform === "discord" && L.isActive);
|
|
979
979
|
}), b = x(() => {
|
|
@@ -983,12 +983,12 @@ const j = q("one", () => {
|
|
|
983
983
|
var w;
|
|
984
984
|
return (w = n.user) == null ? void 0 : w.sponsorships.find((L) => L.platform === "patreon" && L.isActive);
|
|
985
985
|
}), D = x(() => {
|
|
986
|
-
var w, L, G, Ie,
|
|
987
|
-
return !o.url || ((w = n.user) == null ? void 0 : w.isAdmin) || ((L =
|
|
986
|
+
var w, L, G, Ie, nt;
|
|
987
|
+
return !o.url || ((w = n.user) == null ? void 0 : w.isAdmin) || ((L = _.value) == null ? void 0 : L.isActive) || ((G = f.value) == null ? void 0 : G.isActive) || ((Ie = v.value) == null ? void 0 : Ie.isActive) || ((nt = M.value) == null ? void 0 : nt.isActive) || $.value >= 2.99;
|
|
988
988
|
});
|
|
989
|
-
|
|
989
|
+
Ue(async () => {
|
|
990
990
|
p.value && await H();
|
|
991
|
-
}), z(a,
|
|
991
|
+
}), z(a, ot), z(p, (w) => {
|
|
992
992
|
w && H();
|
|
993
993
|
}, { immediate: !0 }), z(c, (w) => {
|
|
994
994
|
if (w.one !== "subscribe" || n.user) return;
|
|
@@ -1019,11 +1019,11 @@ const j = q("one", () => {
|
|
|
1019
1019
|
}
|
|
1020
1020
|
async function le() {
|
|
1021
1021
|
var w;
|
|
1022
|
-
if (
|
|
1022
|
+
if (_.value)
|
|
1023
1023
|
try {
|
|
1024
1024
|
s.value = !0;
|
|
1025
1025
|
const L = await o.post(
|
|
1026
|
-
`/one/cancel?subscriptionId=${(w =
|
|
1026
|
+
`/one/cancel?subscriptionId=${(w = _.value) == null ? void 0 : w.tierName}`
|
|
1027
1027
|
);
|
|
1028
1028
|
n.user = L.user;
|
|
1029
1029
|
} catch {
|
|
@@ -1032,11 +1032,11 @@ const j = q("one", () => {
|
|
|
1032
1032
|
}
|
|
1033
1033
|
}
|
|
1034
1034
|
async function ce(w) {
|
|
1035
|
-
if (
|
|
1035
|
+
if (_.value)
|
|
1036
1036
|
try {
|
|
1037
1037
|
s.value = !0;
|
|
1038
1038
|
const L = await o.post("/one/modify", {
|
|
1039
|
-
subscriptionId:
|
|
1039
|
+
subscriptionId: _.value.tierName,
|
|
1040
1040
|
interval: w
|
|
1041
1041
|
});
|
|
1042
1042
|
n.user = L.user;
|
|
@@ -1047,11 +1047,11 @@ const j = q("one", () => {
|
|
|
1047
1047
|
}
|
|
1048
1048
|
async function ne() {
|
|
1049
1049
|
var w;
|
|
1050
|
-
if (
|
|
1050
|
+
if (_.value)
|
|
1051
1051
|
try {
|
|
1052
1052
|
s.value = !0;
|
|
1053
1053
|
const L = await o.post(
|
|
1054
|
-
`/one/verify?subscriptionId=${(w =
|
|
1054
|
+
`/one/verify?subscriptionId=${(w = _.value) == null ? void 0 : w.tierName}`
|
|
1055
1055
|
);
|
|
1056
1056
|
n.user = L.user;
|
|
1057
1057
|
} catch {
|
|
@@ -1069,7 +1069,7 @@ const j = q("one", () => {
|
|
|
1069
1069
|
s.value = !1;
|
|
1070
1070
|
}
|
|
1071
1071
|
}
|
|
1072
|
-
function
|
|
1072
|
+
function ot() {
|
|
1073
1073
|
e.push({
|
|
1074
1074
|
query: {
|
|
1075
1075
|
...c.value,
|
|
@@ -1082,22 +1082,22 @@ const j = q("one", () => {
|
|
|
1082
1082
|
interval: m,
|
|
1083
1083
|
invoices: d,
|
|
1084
1084
|
sessionId: p,
|
|
1085
|
-
subscription:
|
|
1086
|
-
monthlyTotal:
|
|
1087
|
-
hasBilling:
|
|
1085
|
+
subscription: _,
|
|
1086
|
+
monthlyTotal: $,
|
|
1087
|
+
hasBilling: y,
|
|
1088
1088
|
isLoading: s,
|
|
1089
1089
|
isOpen: a,
|
|
1090
1090
|
isSubscriber: D,
|
|
1091
|
-
github:
|
|
1091
|
+
github: f,
|
|
1092
1092
|
patreon: M,
|
|
1093
|
-
discord:
|
|
1093
|
+
discord: v,
|
|
1094
1094
|
shopify: b,
|
|
1095
|
-
one:
|
|
1095
|
+
one: g,
|
|
1096
1096
|
activate: H,
|
|
1097
1097
|
cancel: le,
|
|
1098
1098
|
manage: ie,
|
|
1099
1099
|
modify: ce,
|
|
1100
|
-
resetQuery:
|
|
1100
|
+
resetQuery: ot,
|
|
1101
1101
|
subscribe: re,
|
|
1102
1102
|
subscriptionInfo: he,
|
|
1103
1103
|
verify: ne
|
|
@@ -1334,7 +1334,7 @@ const je = q("settings", () => {
|
|
|
1334
1334
|
suit: l,
|
|
1335
1335
|
CDN_URL: c
|
|
1336
1336
|
};
|
|
1337
|
-
}), rn = { class: "ms-5" }, ln = { class: "pb-2" }, cn = /* @__PURE__ */
|
|
1337
|
+
}), rn = { class: "ms-5" }, ln = { class: "pb-2" }, cn = /* @__PURE__ */ k({
|
|
1338
1338
|
__name: "VoSettingsDialog",
|
|
1339
1339
|
props: {
|
|
1340
1340
|
modelValue: { type: Boolean },
|
|
@@ -1377,7 +1377,7 @@ const je = q("settings", () => {
|
|
|
1377
1377
|
title: "Blackguard",
|
|
1378
1378
|
subtitle: "A theme for v3.4 Blackguard.",
|
|
1379
1379
|
image: o.CDN_URL + "themes/blackguard.png",
|
|
1380
|
-
prependIcon: `svg:${
|
|
1380
|
+
prependIcon: `svg:${it}`,
|
|
1381
1381
|
value: "blackguard",
|
|
1382
1382
|
disabled: !n.isSubscriber
|
|
1383
1383
|
},
|
|
@@ -1385,7 +1385,7 @@ const je = q("settings", () => {
|
|
|
1385
1385
|
title: "Polaris",
|
|
1386
1386
|
subtitle: "A theme for v3.5 Polaris.",
|
|
1387
1387
|
image: o.CDN_URL + "themes/polaris.png",
|
|
1388
|
-
prependIcon: `svg:${
|
|
1388
|
+
prependIcon: `svg:${rt}`,
|
|
1389
1389
|
value: "polaris",
|
|
1390
1390
|
disabled: !n.isSubscriber
|
|
1391
1391
|
},
|
|
@@ -1393,7 +1393,7 @@ const je = q("settings", () => {
|
|
|
1393
1393
|
title: "Nebula",
|
|
1394
1394
|
subtitle: "A theme for v3.6 Nebula.",
|
|
1395
1395
|
image: o.CDN_URL + "themes/nebula.png",
|
|
1396
|
-
prependIcon: `svg:${
|
|
1396
|
+
prependIcon: `svg:${lt}`,
|
|
1397
1397
|
value: "nebula",
|
|
1398
1398
|
disabled: !n.isSubscriber
|
|
1399
1399
|
},
|
|
@@ -1401,7 +1401,7 @@ const je = q("settings", () => {
|
|
|
1401
1401
|
title: "Odyssey",
|
|
1402
1402
|
subtitle: "A theme for v3.7 Odyssey.",
|
|
1403
1403
|
image: o.CDN_URL + "themes/odyssey.png",
|
|
1404
|
-
prependIcon: `svg:${
|
|
1404
|
+
prependIcon: `svg:${ct}`,
|
|
1405
1405
|
value: "odyssey",
|
|
1406
1406
|
disabled: !n.isSubscriber
|
|
1407
1407
|
}
|
|
@@ -1412,14 +1412,14 @@ const je = q("settings", () => {
|
|
|
1412
1412
|
z(p, async () => {
|
|
1413
1413
|
p.value.one === "settings" && (n.isOpen = !0, await be(), e.value = !0);
|
|
1414
1414
|
}, { immediate: !0 });
|
|
1415
|
-
function m(
|
|
1416
|
-
|
|
1415
|
+
function m(_, y) {
|
|
1416
|
+
y.disabled || (s.theme = y.value, _ == null || _());
|
|
1417
1417
|
}
|
|
1418
|
-
return (
|
|
1419
|
-
const
|
|
1420
|
-
return u(), v
|
|
1418
|
+
return (_, y) => {
|
|
1419
|
+
const $ = _e, g = sn, f = xt, v = Se;
|
|
1420
|
+
return u(), h(v, {
|
|
1421
1421
|
modelValue: e.value,
|
|
1422
|
-
"onUpdate:modelValue":
|
|
1422
|
+
"onUpdate:modelValue": y[6] || (y[6] = (b) => e.value = b),
|
|
1423
1423
|
"prepend-icon": `svg:${t(Kt)}`,
|
|
1424
1424
|
title: "Settings"
|
|
1425
1425
|
}, {
|
|
@@ -1430,19 +1430,19 @@ const je = q("settings", () => {
|
|
|
1430
1430
|
default: r(() => [
|
|
1431
1431
|
i(ue, { class: "px-7" }, {
|
|
1432
1432
|
default: r(() => [
|
|
1433
|
-
i(
|
|
1433
|
+
i($, {
|
|
1434
1434
|
text: "Customize your documentation experience with light and dark themes, as well as a combination of both named.",
|
|
1435
1435
|
title: "Theme"
|
|
1436
1436
|
}),
|
|
1437
|
-
i(
|
|
1437
|
+
i(vt, {
|
|
1438
1438
|
modelValue: t(s).theme,
|
|
1439
|
-
"onUpdate:modelValue":
|
|
1439
|
+
"onUpdate:modelValue": y[0] || (y[0] = (b) => t(s).theme = b),
|
|
1440
1440
|
mandatory: ""
|
|
1441
1441
|
}, {
|
|
1442
1442
|
default: r(() => [
|
|
1443
1443
|
i($e, { dense: "" }, {
|
|
1444
1444
|
default: r(() => [
|
|
1445
|
-
(u(!0), I(T, null, K(d.value, (b, M) => (u(),
|
|
1445
|
+
(u(!0), I(T, null, K(d.value, (b, M) => (u(), h(de, {
|
|
1446
1446
|
key: M,
|
|
1447
1447
|
class: "d-flex flex-column ga-3",
|
|
1448
1448
|
cols: "12",
|
|
@@ -1455,7 +1455,7 @@ const je = q("settings", () => {
|
|
|
1455
1455
|
]),
|
|
1456
1456
|
_: 2
|
|
1457
1457
|
}, 1024),
|
|
1458
|
-
(u(!0), I(T, null, K(b.items, (D) => (u(),
|
|
1458
|
+
(u(!0), I(T, null, K(b.items, (D) => (u(), h(qe, {
|
|
1459
1459
|
key: D.value,
|
|
1460
1460
|
value: D.value
|
|
1461
1461
|
}, {
|
|
@@ -1478,7 +1478,7 @@ const je = q("settings", () => {
|
|
|
1478
1478
|
}), {
|
|
1479
1479
|
image: r(() => [
|
|
1480
1480
|
i(te, {
|
|
1481
|
-
style:
|
|
1481
|
+
style: at({
|
|
1482
1482
|
filter: ie || le ? "none" : "grayscale(100%)"
|
|
1483
1483
|
})
|
|
1484
1484
|
}, null, 8, ["style"])
|
|
@@ -1502,7 +1502,7 @@ const je = q("settings", () => {
|
|
|
1502
1502
|
}, 8, ["modelValue"]),
|
|
1503
1503
|
t(n).isSubscriber ? (u(), I(T, { key: 0 }, [
|
|
1504
1504
|
i(Q, { class: "mt-6 mb-4" }),
|
|
1505
|
-
i(
|
|
1505
|
+
i(g)
|
|
1506
1506
|
], 64)) : C("", !0)
|
|
1507
1507
|
]),
|
|
1508
1508
|
_: 1
|
|
@@ -1510,38 +1510,38 @@ const je = q("settings", () => {
|
|
|
1510
1510
|
i(Q),
|
|
1511
1511
|
i(ue, { class: "px-7" }, {
|
|
1512
1512
|
default: r(() => [
|
|
1513
|
-
i(
|
|
1513
|
+
i($, {
|
|
1514
1514
|
text: "These options change your browsing experience within Vuetify properties",
|
|
1515
1515
|
title: "Experience"
|
|
1516
1516
|
}),
|
|
1517
|
-
t(n).isSubscriber ? (u(),
|
|
1517
|
+
t(n).isSubscriber ? (u(), h(f, {
|
|
1518
1518
|
key: 0,
|
|
1519
1519
|
modelValue: t(s).disableAds,
|
|
1520
|
-
"onUpdate:modelValue":
|
|
1520
|
+
"onUpdate:modelValue": y[1] || (y[1] = (b) => t(s).disableAds = b),
|
|
1521
1521
|
class: "mb-2",
|
|
1522
1522
|
label: "Disable Ads",
|
|
1523
1523
|
messages: "Disable traditional advertisements on all documentation pages."
|
|
1524
1524
|
}, null, 8, ["modelValue"])) : C("", !0),
|
|
1525
1525
|
i(fe, null, {
|
|
1526
1526
|
default: r(() => [
|
|
1527
|
-
Ve(
|
|
1528
|
-
|
|
1529
|
-
i(
|
|
1527
|
+
Ve(V("div", rn, [
|
|
1528
|
+
V("div", ln, [
|
|
1529
|
+
i(f, {
|
|
1530
1530
|
modelValue: t(s).showHouseAds,
|
|
1531
|
-
"onUpdate:modelValue":
|
|
1531
|
+
"onUpdate:modelValue": y[2] || (y[2] = (b) => t(s).showHouseAds = b),
|
|
1532
1532
|
label: "Show House Ads",
|
|
1533
1533
|
messages: "These advertisements are for Vuetify products and services only."
|
|
1534
1534
|
}, null, 8, ["modelValue"])
|
|
1535
1535
|
])
|
|
1536
1536
|
], 512), [
|
|
1537
|
-
[
|
|
1537
|
+
[Oe, t(s).disableAds]
|
|
1538
1538
|
])
|
|
1539
1539
|
]),
|
|
1540
1540
|
_: 1
|
|
1541
1541
|
}),
|
|
1542
|
-
i(
|
|
1542
|
+
i(f, {
|
|
1543
1543
|
modelValue: t(s).quickbar,
|
|
1544
|
-
"onUpdate:modelValue":
|
|
1544
|
+
"onUpdate:modelValue": y[3] || (y[3] = (b) => t(s).quickbar = b),
|
|
1545
1545
|
label: "Enable Quick Actions",
|
|
1546
1546
|
messages: "Quick actions are located on the Vuetify One user menu and provide quick access to common tasks."
|
|
1547
1547
|
}, null, 8, ["modelValue"])
|
|
@@ -1549,25 +1549,25 @@ const je = q("settings", () => {
|
|
|
1549
1549
|
_: 1
|
|
1550
1550
|
}),
|
|
1551
1551
|
i(Q),
|
|
1552
|
-
t(n).isSubscriber ? (u(),
|
|
1552
|
+
t(n).isSubscriber ? (u(), h(ue, {
|
|
1553
1553
|
key: 0,
|
|
1554
1554
|
class: "px-7"
|
|
1555
1555
|
}, {
|
|
1556
1556
|
default: r(() => [
|
|
1557
|
-
i(
|
|
1557
|
+
i($, {
|
|
1558
1558
|
text: "Vuetify will communicate with you through banners and notifications. You can disable these features here or reset your local notification cache.",
|
|
1559
1559
|
title: "Communication"
|
|
1560
1560
|
}),
|
|
1561
|
-
i(
|
|
1561
|
+
i(f, {
|
|
1562
1562
|
modelValue: t(s).notifications.show,
|
|
1563
|
-
"onUpdate:modelValue":
|
|
1563
|
+
"onUpdate:modelValue": y[4] || (y[4] = (b) => t(s).notifications.show = b),
|
|
1564
1564
|
class: "mb-2",
|
|
1565
1565
|
label: "Enable Notifications",
|
|
1566
1566
|
messages: "Notifications are short form messages that provide information about new releases, updates, and other important information."
|
|
1567
1567
|
}, null, 8, ["modelValue"]),
|
|
1568
|
-
i(
|
|
1568
|
+
i(f, {
|
|
1569
1569
|
modelValue: t(s).notifications.banners,
|
|
1570
|
-
"onUpdate:modelValue":
|
|
1570
|
+
"onUpdate:modelValue": y[5] || (y[5] = (b) => t(s).notifications.banners = b),
|
|
1571
1571
|
label: "Enable Banners",
|
|
1572
1572
|
messages: "Banners are located at the top of the screen and provide a callout for important information."
|
|
1573
1573
|
}, null, 8, ["modelValue"])
|
|
@@ -1585,13 +1585,13 @@ const je = q("settings", () => {
|
|
|
1585
1585
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
1586
1586
|
};
|
|
1587
1587
|
}
|
|
1588
|
-
}), un = /* @__PURE__ */
|
|
1588
|
+
}), un = /* @__PURE__ */ k({
|
|
1589
1589
|
__name: "VoSettingsListItem",
|
|
1590
1590
|
setup(c) {
|
|
1591
1591
|
const e = A(!1);
|
|
1592
1592
|
return (n, o) => {
|
|
1593
1593
|
const s = cn, a = Y;
|
|
1594
|
-
return u(),
|
|
1594
|
+
return u(), h(a, {
|
|
1595
1595
|
active: t(e),
|
|
1596
1596
|
link: "",
|
|
1597
1597
|
"prepend-icon": `svg:${t(eo)}`,
|
|
@@ -1607,13 +1607,13 @@ const je = q("settings", () => {
|
|
|
1607
1607
|
}, 8, ["active", "prepend-icon"]);
|
|
1608
1608
|
};
|
|
1609
1609
|
}
|
|
1610
|
-
}), dn = { class: "text-caption" }, pn = /* @__PURE__ */
|
|
1610
|
+
}), dn = { class: "text-caption" }, pn = /* @__PURE__ */ k({
|
|
1611
1611
|
__name: "VoSubscriptionInvoices",
|
|
1612
1612
|
setup(c) {
|
|
1613
1613
|
const e = ke(), n = j();
|
|
1614
1614
|
return (o, s) => {
|
|
1615
1615
|
const a = _e;
|
|
1616
|
-
return u(),
|
|
1616
|
+
return u(), h($e, null, {
|
|
1617
1617
|
default: r(() => [
|
|
1618
1618
|
i(de, { cols: "12" }, {
|
|
1619
1619
|
default: r(() => [
|
|
@@ -1627,13 +1627,13 @@ const je = q("settings", () => {
|
|
|
1627
1627
|
rounded: "lg"
|
|
1628
1628
|
}, {
|
|
1629
1629
|
default: r(() => [
|
|
1630
|
-
i(
|
|
1630
|
+
i(_t, {
|
|
1631
1631
|
items: t(n).invoices,
|
|
1632
1632
|
loading: t(n).isLoading,
|
|
1633
1633
|
sticky: ""
|
|
1634
1634
|
}, {
|
|
1635
1635
|
"item.date": r(({ item: l }) => [
|
|
1636
|
-
|
|
1636
|
+
V("div", dn, S(t(e).format(new Date(l.date * 1e3), "fullDateWithWeekday")), 1)
|
|
1637
1637
|
]),
|
|
1638
1638
|
"item.amount": r(({ item: l }) => [
|
|
1639
1639
|
N(" $" + S(l.amount / 100), 1)
|
|
@@ -1674,7 +1674,7 @@ const je = q("settings", () => {
|
|
|
1674
1674
|
}), mn = { class: "d-flex align-center" }, fn = {
|
|
1675
1675
|
key: "status",
|
|
1676
1676
|
class: "text-capitalize hidden-sm-and-down"
|
|
1677
|
-
}, vn = /* @__PURE__ */
|
|
1677
|
+
}, vn = /* @__PURE__ */ V("span", { class: "mx-1 hidden-sm-and-down" }, "—", -1), _n = { class: "me-1" }, hn = { class: "text-medium-emphasis text-caption" }, gn = { class: "d-flex align-center" }, yn = /* @__PURE__ */ V("span", { class: "mx-1" }, "—", -1), bn = { class: "d-flex align-start justify-space-between text-caption py-2" }, Vn = { class: "font-weight-bold" }, kn = { class: "font-weight-bold" }, $n = /* @__PURE__ */ k({
|
|
1678
1678
|
__name: "VoSubscriptionStatus",
|
|
1679
1679
|
emits: ["change:subscription"],
|
|
1680
1680
|
setup(c, { emit: e }) {
|
|
@@ -1688,11 +1688,11 @@ const je = q("settings", () => {
|
|
|
1688
1688
|
}
|
|
1689
1689
|
return (d, p) => {
|
|
1690
1690
|
const m = Ce;
|
|
1691
|
-
return u(),
|
|
1691
|
+
return u(), h($e, null, {
|
|
1692
1692
|
default: r(() => [
|
|
1693
1693
|
i(de, { cols: "12" }, {
|
|
1694
1694
|
default: r(() => {
|
|
1695
|
-
var
|
|
1695
|
+
var _, y;
|
|
1696
1696
|
return [
|
|
1697
1697
|
i(W, {
|
|
1698
1698
|
border: "",
|
|
@@ -1702,9 +1702,9 @@ const je = q("settings", () => {
|
|
|
1702
1702
|
title: "Subscription Status"
|
|
1703
1703
|
}, R({
|
|
1704
1704
|
append: r(() => {
|
|
1705
|
-
var
|
|
1705
|
+
var $;
|
|
1706
1706
|
return [
|
|
1707
|
-
t(o).hasBilling && ((
|
|
1707
|
+
t(o).hasBilling && (($ = t(o).info) == null ? void 0 : $.status) === "canceled" ? (u(), h(m, {
|
|
1708
1708
|
key: 0,
|
|
1709
1709
|
class: "me-2",
|
|
1710
1710
|
color: "success",
|
|
@@ -1714,7 +1714,7 @@ const je = q("settings", () => {
|
|
|
1714
1714
|
variant: "outlined",
|
|
1715
1715
|
onClick: l
|
|
1716
1716
|
}, null, 8, ["loading"])) : C("", !0),
|
|
1717
|
-
t(o).hasBilling ? (u(),
|
|
1717
|
+
t(o).hasBilling ? (u(), h(m, {
|
|
1718
1718
|
key: 1,
|
|
1719
1719
|
loading: t(o).isLoading,
|
|
1720
1720
|
"prepend-icon": `svg:${t(oo)}`,
|
|
@@ -1728,19 +1728,19 @@ const je = q("settings", () => {
|
|
|
1728
1728
|
t(o).info ? {
|
|
1729
1729
|
name: "subtitle",
|
|
1730
1730
|
fn: r(() => [
|
|
1731
|
-
|
|
1732
|
-
|
|
1731
|
+
V("div", mn, [
|
|
1732
|
+
V("span", fn, S(t(o).info.status), 1),
|
|
1733
1733
|
t(o).info.items.length ? (u(), I(T, { key: 0 }, [
|
|
1734
1734
|
vn,
|
|
1735
|
-
|
|
1735
|
+
V("span", _n, [
|
|
1736
1736
|
N(" $" + S(t(o).info.items[0].plan.amount / 100), 1),
|
|
1737
|
-
|
|
1737
|
+
V("span", hn, "/" + S(t(o).interval), 1)
|
|
1738
1738
|
]),
|
|
1739
1739
|
i(m, {
|
|
1740
1740
|
size: "x-small",
|
|
1741
1741
|
text: "(Change Subscription)",
|
|
1742
1742
|
variant: "text",
|
|
1743
|
-
onClick: p[0] || (p[0] = (
|
|
1743
|
+
onClick: p[0] || (p[0] = ($) => s("change:subscription"))
|
|
1744
1744
|
})
|
|
1745
1745
|
], 64)) : C("", !0)
|
|
1746
1746
|
])
|
|
@@ -1749,7 +1749,7 @@ const je = q("settings", () => {
|
|
|
1749
1749
|
} : {
|
|
1750
1750
|
name: "subtitle",
|
|
1751
1751
|
fn: r(() => [
|
|
1752
|
-
|
|
1752
|
+
V("div", gn, [
|
|
1753
1753
|
i(ye, {
|
|
1754
1754
|
height: "16",
|
|
1755
1755
|
type: "ossein",
|
|
@@ -1766,15 +1766,15 @@ const je = q("settings", () => {
|
|
|
1766
1766
|
key: "1"
|
|
1767
1767
|
}
|
|
1768
1768
|
]), 1024),
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
((
|
|
1769
|
+
V("div", bn, [
|
|
1770
|
+
V("div", null, [
|
|
1771
|
+
((_ = t(o).info) == null ? void 0 : _.status) === "active" ? (u(), I(T, { key: 0 }, [
|
|
1772
1772
|
N(" Your plan renews on "),
|
|
1773
|
-
|
|
1773
|
+
V("span", Vn, S(t(n).format(t(a), "fullDateWithWeekday")), 1),
|
|
1774
1774
|
N(". ")
|
|
1775
1775
|
], 64)) : (u(), I(T, { key: 1 }, [
|
|
1776
1776
|
N(" Your plan ends on "),
|
|
1777
|
-
|
|
1777
|
+
V("span", kn, S(t(n).format((y = t(o).info) == null ? void 0 : y.currentPeriodEnd, "fullDateWithWeekday")), 1),
|
|
1778
1778
|
N(". ")
|
|
1779
1779
|
], 64))
|
|
1780
1780
|
])
|
|
@@ -1788,7 +1788,7 @@ const je = q("settings", () => {
|
|
|
1788
1788
|
});
|
|
1789
1789
|
};
|
|
1790
1790
|
}
|
|
1791
|
-
}), wn = /* @__PURE__ */
|
|
1791
|
+
}), wn = /* @__PURE__ */ V("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The Vuetify One subscription comes with the following perks: ", -1), xn = ["innerHTML"], Cn = /* @__PURE__ */ V("br", null, null, -1), Sn = /* @__PURE__ */ V("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The following features are in development and coming soon: ", -1), Ln = ["innerHTML"], In = /* @__PURE__ */ k({
|
|
1792
1792
|
__name: "VoSubscriptionPerks",
|
|
1793
1793
|
setup(c) {
|
|
1794
1794
|
const e = [
|
|
@@ -1828,14 +1828,14 @@ const je = q("settings", () => {
|
|
|
1828
1828
|
"prepend-icon": `svg:${t(Be)}`
|
|
1829
1829
|
}, {
|
|
1830
1830
|
prepend: r(() => [
|
|
1831
|
-
i(
|
|
1831
|
+
i(U, {
|
|
1832
1832
|
class: "mx-n2",
|
|
1833
1833
|
color: "success",
|
|
1834
1834
|
size: "small"
|
|
1835
1835
|
})
|
|
1836
1836
|
]),
|
|
1837
1837
|
title: r(() => [
|
|
1838
|
-
|
|
1838
|
+
V("div", { innerHTML: p }, null, 8, xn)
|
|
1839
1839
|
]),
|
|
1840
1840
|
_: 2
|
|
1841
1841
|
}, 1032, ["prepend-icon"])), 64))
|
|
@@ -1863,13 +1863,13 @@ const je = q("settings", () => {
|
|
|
1863
1863
|
"prepend-icon": `svg:${t(no)}`
|
|
1864
1864
|
}, {
|
|
1865
1865
|
prepend: r(() => [
|
|
1866
|
-
i(
|
|
1866
|
+
i(U, {
|
|
1867
1867
|
class: "mx-n2",
|
|
1868
1868
|
size: "small"
|
|
1869
1869
|
})
|
|
1870
1870
|
]),
|
|
1871
1871
|
title: r(() => [
|
|
1872
|
-
|
|
1872
|
+
V("div", { innerHTML: p }, null, 8, Ln)
|
|
1873
1873
|
]),
|
|
1874
1874
|
_: 2
|
|
1875
1875
|
}, 1032, ["prepend-icon"])), 64))
|
|
@@ -1879,7 +1879,7 @@ const je = q("settings", () => {
|
|
|
1879
1879
|
], 64);
|
|
1880
1880
|
};
|
|
1881
1881
|
}
|
|
1882
|
-
}), An = /* @__PURE__ */
|
|
1882
|
+
}), An = /* @__PURE__ */ k({
|
|
1883
1883
|
__name: "VoSubscriptionSubscribe",
|
|
1884
1884
|
props: {
|
|
1885
1885
|
modelValue: {
|
|
@@ -1894,7 +1894,7 @@ const je = q("settings", () => {
|
|
|
1894
1894
|
s && o.subscriptionInfo();
|
|
1895
1895
|
}), z(() => o.interval, (s) => {
|
|
1896
1896
|
n.value = s;
|
|
1897
|
-
}, { immediate: !0 }), (s, a) => (u(),
|
|
1897
|
+
}, { immediate: !0 }), (s, a) => (u(), h(vt, {
|
|
1898
1898
|
modelValue: n.value,
|
|
1899
1899
|
"onUpdate:modelValue": a[0] || (a[0] = (l) => n.value = l),
|
|
1900
1900
|
mandatory: ""
|
|
@@ -1920,7 +1920,7 @@ const je = q("settings", () => {
|
|
|
1920
1920
|
onClick: l
|
|
1921
1921
|
}, {
|
|
1922
1922
|
prepend: r(() => [
|
|
1923
|
-
i(
|
|
1923
|
+
i(U, { class: "mt-n6" })
|
|
1924
1924
|
]),
|
|
1925
1925
|
_: 2
|
|
1926
1926
|
}, 1032, ["border", "color", "prepend-icon", "variant", "onClick"])
|
|
@@ -1948,7 +1948,7 @@ const je = q("settings", () => {
|
|
|
1948
1948
|
onClick: l
|
|
1949
1949
|
}, {
|
|
1950
1950
|
prepend: r(() => [
|
|
1951
|
-
i(
|
|
1951
|
+
i(U, { class: "mt-n6" })
|
|
1952
1952
|
]),
|
|
1953
1953
|
append: r(() => [
|
|
1954
1954
|
i(X, {
|
|
@@ -1974,7 +1974,7 @@ const je = q("settings", () => {
|
|
|
1974
1974
|
_: 1
|
|
1975
1975
|
}, 8, ["modelValue"]));
|
|
1976
1976
|
}
|
|
1977
|
-
}), Dn = { class: "px-3" },
|
|
1977
|
+
}), Dn = { class: "px-3" }, Un = /* @__PURE__ */ V("br", null, null, -1), On = { class: "flex-grow-1 px-4 pb-3 overflow-hidden" }, Bn = /* @__PURE__ */ k({
|
|
1978
1978
|
__name: "VoSubscriptionDialog",
|
|
1979
1979
|
props: {
|
|
1980
1980
|
modelValue: { type: Boolean },
|
|
@@ -1983,7 +1983,7 @@ const je = q("settings", () => {
|
|
|
1983
1983
|
emits: ["update:modelValue"],
|
|
1984
1984
|
setup(c) {
|
|
1985
1985
|
function e(m) {
|
|
1986
|
-
return new Promise((
|
|
1986
|
+
return new Promise((_) => setTimeout(_, m));
|
|
1987
1987
|
}
|
|
1988
1988
|
const n = pe(c, "modelValue"), o = j(), s = Le(), a = A(o.interval), l = A(o.hasBilling ? "status" : "subscribe"), d = A(!1);
|
|
1989
1989
|
z(a, (m) => {
|
|
@@ -2000,11 +2000,11 @@ const je = q("settings", () => {
|
|
|
2000
2000
|
async function p() {
|
|
2001
2001
|
await o.modify(a.value), await o.subscriptionInfo(), d.value = null, await e(3e3), l.value = "status", await e(300), d.value = !1;
|
|
2002
2002
|
}
|
|
2003
|
-
return (m,
|
|
2004
|
-
const
|
|
2005
|
-
return u(),
|
|
2003
|
+
return (m, _) => {
|
|
2004
|
+
const y = _e, $ = An, g = In, f = $n, v = pn, b = Ce, M = Se;
|
|
2005
|
+
return u(), h(M, {
|
|
2006
2006
|
modelValue: n.value,
|
|
2007
|
-
"onUpdate:modelValue":
|
|
2007
|
+
"onUpdate:modelValue": _[4] || (_[4] = (D) => n.value = D),
|
|
2008
2008
|
"prepend-icon": `svg:${t(so)}`,
|
|
2009
2009
|
title: "Subscriptions"
|
|
2010
2010
|
}, R({
|
|
@@ -2013,32 +2013,32 @@ const je = q("settings", () => {
|
|
|
2013
2013
|
default: r(() => [
|
|
2014
2014
|
i(xe, { scrollable: "" }, {
|
|
2015
2015
|
default: r(() => [
|
|
2016
|
-
|
|
2016
|
+
V("div", Dn, [
|
|
2017
2017
|
i(ue, null, {
|
|
2018
2018
|
default: r(() => [
|
|
2019
|
-
i(
|
|
2019
|
+
i(y, {
|
|
2020
2020
|
text: "The Vuetify One subscription is a great way to support the Vuetify team and get access to exclusive features and content.",
|
|
2021
2021
|
title: "Vuetify One"
|
|
2022
2022
|
}),
|
|
2023
|
-
i(
|
|
2023
|
+
i(ht, { "model-value": t(l) }, {
|
|
2024
2024
|
default: r(() => [
|
|
2025
2025
|
i(ge, { value: "subscribe" }, {
|
|
2026
2026
|
default: r(() => [
|
|
2027
|
-
i(
|
|
2027
|
+
i($, {
|
|
2028
2028
|
modelValue: t(a),
|
|
2029
|
-
"onUpdate:modelValue":
|
|
2029
|
+
"onUpdate:modelValue": _[0] || (_[0] = (D) => se(a) ? a.value = D : null)
|
|
2030
2030
|
}, null, 8, ["modelValue"]),
|
|
2031
|
-
|
|
2032
|
-
i(
|
|
2031
|
+
Un,
|
|
2032
|
+
i(g)
|
|
2033
2033
|
]),
|
|
2034
2034
|
_: 1
|
|
2035
2035
|
}),
|
|
2036
2036
|
i(ge, { value: "status" }, {
|
|
2037
2037
|
default: r(() => [
|
|
2038
|
-
i(
|
|
2039
|
-
"onChange:subscription":
|
|
2038
|
+
i(f, {
|
|
2039
|
+
"onChange:subscription": _[1] || (_[1] = (D) => l.value = "subscribe")
|
|
2040
2040
|
}),
|
|
2041
|
-
i(
|
|
2041
|
+
i(v)
|
|
2042
2042
|
]),
|
|
2043
2043
|
_: 1
|
|
2044
2044
|
})
|
|
@@ -2061,8 +2061,8 @@ const je = q("settings", () => {
|
|
|
2061
2061
|
t(l) === "subscribe" ? {
|
|
2062
2062
|
name: "actions",
|
|
2063
2063
|
fn: r(() => [
|
|
2064
|
-
|
|
2065
|
-
t(d) !== !1 ? (u(),
|
|
2064
|
+
V("div", On, [
|
|
2065
|
+
t(d) !== !1 ? (u(), h(b, {
|
|
2066
2066
|
key: 0,
|
|
2067
2067
|
block: "",
|
|
2068
2068
|
color: "success",
|
|
@@ -2072,14 +2072,14 @@ const je = q("settings", () => {
|
|
|
2072
2072
|
size: "default",
|
|
2073
2073
|
text: t(d) !== null ? "Modify Subscription" : "Success",
|
|
2074
2074
|
onClick: p
|
|
2075
|
-
}, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : t(o).one ? (u(),
|
|
2075
|
+
}, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : t(o).one ? (u(), h(b, {
|
|
2076
2076
|
key: 2,
|
|
2077
2077
|
block: "",
|
|
2078
2078
|
"prepend-icon": `svg:${t(io)}`,
|
|
2079
2079
|
size: "default",
|
|
2080
2080
|
text: "Manage Subscription",
|
|
2081
|
-
onClick:
|
|
2082
|
-
}, null, 8, ["prepend-icon"])) : (u(),
|
|
2081
|
+
onClick: _[3] || (_[3] = (D) => l.value = "status")
|
|
2082
|
+
}, null, 8, ["prepend-icon"])) : (u(), h(b, {
|
|
2083
2083
|
key: 1,
|
|
2084
2084
|
block: "",
|
|
2085
2085
|
color: t(a) ? "primary" : "disabled",
|
|
@@ -2088,7 +2088,7 @@ const je = q("settings", () => {
|
|
|
2088
2088
|
"prepend-icon": "$vuetify",
|
|
2089
2089
|
size: "default",
|
|
2090
2090
|
text: "Activate Subscription",
|
|
2091
|
-
onClick:
|
|
2091
|
+
onClick: _[2] || (_[2] = (D) => t(o).subscribe(t(a)))
|
|
2092
2092
|
}, null, 8, ["color", "disabled", "loading"]))
|
|
2093
2093
|
])
|
|
2094
2094
|
]),
|
|
@@ -2097,13 +2097,13 @@ const je = q("settings", () => {
|
|
|
2097
2097
|
]), 1032, ["modelValue", "prepend-icon"]);
|
|
2098
2098
|
};
|
|
2099
2099
|
}
|
|
2100
|
-
}), Nn = /* @__PURE__ */
|
|
2100
|
+
}), Nn = /* @__PURE__ */ k({
|
|
2101
2101
|
__name: "VoSubscriptionListItem",
|
|
2102
2102
|
setup(c) {
|
|
2103
2103
|
const e = A(!1);
|
|
2104
2104
|
return (n, o) => {
|
|
2105
2105
|
const s = Bn, a = Y;
|
|
2106
|
-
return u(),
|
|
2106
|
+
return u(), h(a, {
|
|
2107
2107
|
active: t(e),
|
|
2108
2108
|
link: "",
|
|
2109
2109
|
"prepend-icon": `svg:${t(ro)}`,
|
|
@@ -2122,7 +2122,7 @@ const je = q("settings", () => {
|
|
|
2122
2122
|
}), Tn = {
|
|
2123
2123
|
key: 0,
|
|
2124
2124
|
class: "text-success"
|
|
2125
|
-
}, Pe = /* @__PURE__ */
|
|
2125
|
+
}, Pe = /* @__PURE__ */ k({
|
|
2126
2126
|
__name: "VoSponsorshipsTimelineItem",
|
|
2127
2127
|
props: {
|
|
2128
2128
|
title: {},
|
|
@@ -2141,7 +2141,7 @@ const je = q("settings", () => {
|
|
|
2141
2141
|
return (s, a) => {
|
|
2142
2142
|
var d, p;
|
|
2143
2143
|
const l = Ce;
|
|
2144
|
-
return u(),
|
|
2144
|
+
return u(), h(Uo, {
|
|
2145
2145
|
"dot-color": (d = s.sponsorship) != null && d.isActive ? "success" : "transparent",
|
|
2146
2146
|
icon: (p = s.sponsorship) != null && p.isActive ? `svg:${t(Be)}` : void 0,
|
|
2147
2147
|
size: "x-small",
|
|
@@ -2159,7 +2159,7 @@ const je = q("settings", () => {
|
|
|
2159
2159
|
var m;
|
|
2160
2160
|
return [
|
|
2161
2161
|
(m = s.sponsorship) != null && m.isActive ? (u(), I("div", Tn, [
|
|
2162
|
-
i(
|
|
2162
|
+
i(U, {
|
|
2163
2163
|
icon: `svg:${t(lo)}`,
|
|
2164
2164
|
size: "x-small"
|
|
2165
2165
|
}, null, 8, ["icon"]),
|
|
@@ -2170,22 +2170,22 @@ const je = q("settings", () => {
|
|
|
2170
2170
|
];
|
|
2171
2171
|
}),
|
|
2172
2172
|
append: r(() => {
|
|
2173
|
-
var m,
|
|
2173
|
+
var m, _, y, $, g, f;
|
|
2174
2174
|
return [
|
|
2175
|
-
s.disabled ? (u(),
|
|
2175
|
+
s.disabled ? (u(), h(l, {
|
|
2176
2176
|
key: 1,
|
|
2177
2177
|
color: "surface-variant",
|
|
2178
2178
|
readonly: "",
|
|
2179
2179
|
text: "Coming Soon"
|
|
2180
|
-
})) : (u(),
|
|
2180
|
+
})) : (u(), h(l, {
|
|
2181
2181
|
key: 0,
|
|
2182
2182
|
active: !1,
|
|
2183
2183
|
color: (m = s.sponsorship) != null && m.isActive ? "success" : "primary",
|
|
2184
|
-
href: (
|
|
2185
|
-
"prepend-icon": `svg:${(
|
|
2186
|
-
readonly: (
|
|
2187
|
-
target: (
|
|
2188
|
-
text: (
|
|
2184
|
+
href: (_ = s.sponsorship) != null && _.isActive || s.to ? void 0 : s.href,
|
|
2185
|
+
"prepend-icon": `svg:${(y = s.sponsorship) != null && y.isActive ? t(De) : t(Ne)}`,
|
|
2186
|
+
readonly: ($ = s.sponsorship) == null ? void 0 : $.isActive,
|
|
2187
|
+
target: (g = s.sponsorship) != null && g.isActive || s.to ? void 0 : "_blank",
|
|
2188
|
+
text: (f = s.sponsorship) != null && f.isActive ? "Active" : "Info",
|
|
2189
2189
|
to: s.to,
|
|
2190
2190
|
width: "88"
|
|
2191
2191
|
}, null, 8, ["color", "href", "prepend-icon", "readonly", "target", "text", "to"]))
|
|
@@ -2198,12 +2198,12 @@ const je = q("settings", () => {
|
|
|
2198
2198
|
}, 8, ["dot-color", "icon"]);
|
|
2199
2199
|
};
|
|
2200
2200
|
}
|
|
2201
|
-
}), Fn = /* @__PURE__ */
|
|
2201
|
+
}), Fn = /* @__PURE__ */ k({
|
|
2202
2202
|
__name: "VoSponsorshipsTimelineItemPatreon",
|
|
2203
2203
|
setup(c) {
|
|
2204
2204
|
return (e, n) => {
|
|
2205
2205
|
const o = Pe;
|
|
2206
|
-
return u(),
|
|
2206
|
+
return u(), h(o, {
|
|
2207
2207
|
disabled: "",
|
|
2208
2208
|
logo: "patreon",
|
|
2209
2209
|
text: "Support Vuetify through Patreon.",
|
|
@@ -2211,13 +2211,13 @@ const je = q("settings", () => {
|
|
|
2211
2211
|
});
|
|
2212
2212
|
};
|
|
2213
2213
|
}
|
|
2214
|
-
}), Mn = /* @__PURE__ */
|
|
2214
|
+
}), Mn = /* @__PURE__ */ k({
|
|
2215
2215
|
__name: "VoSponsorshipsTimelineItemDiscord",
|
|
2216
2216
|
setup(c) {
|
|
2217
2217
|
const e = j();
|
|
2218
2218
|
return (n, o) => {
|
|
2219
2219
|
const s = Pe;
|
|
2220
|
-
return u(),
|
|
2220
|
+
return u(), h(s, {
|
|
2221
2221
|
href: "https://discord.com/servers/vuetify-340160225338195969",
|
|
2222
2222
|
logo: "discord",
|
|
2223
2223
|
sponsorship: t(e).discord,
|
|
@@ -2226,13 +2226,13 @@ const je = q("settings", () => {
|
|
|
2226
2226
|
}, null, 8, ["sponsorship"]);
|
|
2227
2227
|
};
|
|
2228
2228
|
}
|
|
2229
|
-
}), zn = /* @__PURE__ */
|
|
2229
|
+
}), zn = /* @__PURE__ */ k({
|
|
2230
2230
|
__name: "VoSponsorshipsTimelineItemGithub",
|
|
2231
2231
|
setup(c) {
|
|
2232
2232
|
const e = j();
|
|
2233
2233
|
return (n, o) => {
|
|
2234
2234
|
const s = Pe;
|
|
2235
|
-
return u(),
|
|
2235
|
+
return u(), h(s, {
|
|
2236
2236
|
href: "https://github.com/sponsors/johnleider",
|
|
2237
2237
|
logo: "github",
|
|
2238
2238
|
sponsorship: t(e).github,
|
|
@@ -2241,13 +2241,13 @@ const je = q("settings", () => {
|
|
|
2241
2241
|
}, null, 8, ["sponsorship"]);
|
|
2242
2242
|
};
|
|
2243
2243
|
}
|
|
2244
|
-
}), jn = /* @__PURE__ */
|
|
2244
|
+
}), jn = /* @__PURE__ */ k({
|
|
2245
2245
|
__name: "VoSponsorshipsTimelineItemOne",
|
|
2246
2246
|
setup(c) {
|
|
2247
2247
|
const e = j();
|
|
2248
2248
|
return (n, o) => {
|
|
2249
2249
|
const s = Pe;
|
|
2250
|
-
return u(),
|
|
2250
|
+
return u(), h(s, {
|
|
2251
2251
|
logo: "one",
|
|
2252
2252
|
sponsorship: t(e).one,
|
|
2253
2253
|
text: "Support Vuetify through Vuetify One.",
|
|
@@ -2256,12 +2256,12 @@ const je = q("settings", () => {
|
|
|
2256
2256
|
}, null, 8, ["sponsorship"]);
|
|
2257
2257
|
};
|
|
2258
2258
|
}
|
|
2259
|
-
}), Pn = /* @__PURE__ */
|
|
2259
|
+
}), Pn = /* @__PURE__ */ k({
|
|
2260
2260
|
__name: "VoSponsorshipsTimeline",
|
|
2261
2261
|
setup(c) {
|
|
2262
2262
|
return (e, n) => {
|
|
2263
2263
|
const o = jn, s = zn, a = Mn, l = Fn;
|
|
2264
|
-
return u(),
|
|
2264
|
+
return u(), h(Oo, {
|
|
2265
2265
|
class: "justify-start ms-n7",
|
|
2266
2266
|
"line-inset": "12",
|
|
2267
2267
|
side: "end",
|
|
@@ -2278,7 +2278,7 @@ const je = q("settings", () => {
|
|
|
2278
2278
|
});
|
|
2279
2279
|
};
|
|
2280
2280
|
}
|
|
2281
|
-
}), Hn = { class: "px-3 pb-5 d-flex flex-column h-100" }, Rn = { class: "font-weight-black" }, En = { class: "text-caption text-medium-emphasis" }, Wn = /* @__PURE__ */
|
|
2281
|
+
}), Hn = { class: "px-3 pb-5 d-flex flex-column h-100" }, Rn = { class: "font-weight-black" }, En = { class: "text-caption text-medium-emphasis" }, Wn = /* @__PURE__ */ k({
|
|
2282
2282
|
__name: "VoSponsorshipsDialog",
|
|
2283
2283
|
props: {
|
|
2284
2284
|
modelValue: { type: Boolean },
|
|
@@ -2291,7 +2291,7 @@ const je = q("settings", () => {
|
|
|
2291
2291
|
n.value.one === "sponsorships" && (o.isOpen = !0, await be(), e.value = !0);
|
|
2292
2292
|
}, { immediate: !0 }), (s, a) => {
|
|
2293
2293
|
const l = _e, d = Pn, p = Se;
|
|
2294
|
-
return u(),
|
|
2294
|
+
return u(), h(p, {
|
|
2295
2295
|
modelValue: e.value,
|
|
2296
2296
|
"onUpdate:modelValue": a[0] || (a[0] = (m) => e.value = m),
|
|
2297
2297
|
"prepend-icon": `svg:${t(co)}`,
|
|
@@ -2302,7 +2302,7 @@ const je = q("settings", () => {
|
|
|
2302
2302
|
default: r(() => [
|
|
2303
2303
|
i(xe, { scrollable: "" }, {
|
|
2304
2304
|
default: r(() => [
|
|
2305
|
-
|
|
2305
|
+
V("div", Hn, [
|
|
2306
2306
|
i(ue, { class: "flex-0-0 mb-16 mb-sm-4" }, {
|
|
2307
2307
|
default: r(() => [
|
|
2308
2308
|
i(l, {
|
|
@@ -2320,16 +2320,16 @@ const je = q("settings", () => {
|
|
|
2320
2320
|
size: "128"
|
|
2321
2321
|
}, {
|
|
2322
2322
|
media: r(() => [
|
|
2323
|
-
i(
|
|
2323
|
+
i(U, {
|
|
2324
2324
|
color: t(o).isSubscriber ? "success" : "error"
|
|
2325
2325
|
}, null, 8, ["color"])
|
|
2326
2326
|
]),
|
|
2327
2327
|
title: r(() => [
|
|
2328
2328
|
N(" One Status: "),
|
|
2329
|
-
|
|
2329
|
+
V("span", Rn, S(t(o).isSubscriber ? "Active" : "Inactive"), 1)
|
|
2330
2330
|
]),
|
|
2331
2331
|
text: r(() => [
|
|
2332
|
-
|
|
2332
|
+
V("div", En, S(t(o).isSubscriber ? "You are currently receiving benefits of Vuetify One." : "Login to activate Vuetify One benefits"), 1)
|
|
2333
2333
|
]),
|
|
2334
2334
|
_: 1
|
|
2335
2335
|
})
|
|
@@ -2345,13 +2345,13 @@ const je = q("settings", () => {
|
|
|
2345
2345
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
2346
2346
|
};
|
|
2347
2347
|
}
|
|
2348
|
-
}), qn = /* @__PURE__ */
|
|
2348
|
+
}), qn = /* @__PURE__ */ k({
|
|
2349
2349
|
__name: "VoSponsorshipsListItem",
|
|
2350
2350
|
setup(c) {
|
|
2351
2351
|
const e = A(!1);
|
|
2352
2352
|
return (n, o) => {
|
|
2353
2353
|
const s = Wn, a = Y;
|
|
2354
|
-
return u(),
|
|
2354
|
+
return u(), h(a, {
|
|
2355
2355
|
active: t(e),
|
|
2356
2356
|
link: "",
|
|
2357
2357
|
"prepend-icon": `svg:${t(uo)}`,
|
|
@@ -2368,7 +2368,7 @@ const je = q("settings", () => {
|
|
|
2368
2368
|
};
|
|
2369
2369
|
}
|
|
2370
2370
|
}), Zn = q("downloads", () => {
|
|
2371
|
-
const c = oe(), e =
|
|
2371
|
+
const c = oe(), e = O([]), n = A(!1);
|
|
2372
2372
|
async function o() {
|
|
2373
2373
|
if (e.value.length) return e.value;
|
|
2374
2374
|
n.value = !0;
|
|
@@ -2386,7 +2386,7 @@ const je = q("settings", () => {
|
|
|
2386
2386
|
isLoading: n,
|
|
2387
2387
|
index: o
|
|
2388
2388
|
};
|
|
2389
|
-
}), Gn = /* @__PURE__ */
|
|
2389
|
+
}), Gn = /* @__PURE__ */ k({
|
|
2390
2390
|
__name: "VoDownloadsTable",
|
|
2391
2391
|
setup(c) {
|
|
2392
2392
|
const e = ke(), n = Zn(), o = [
|
|
@@ -2409,11 +2409,11 @@ const je = q("settings", () => {
|
|
|
2409
2409
|
value: "download_url"
|
|
2410
2410
|
}
|
|
2411
2411
|
];
|
|
2412
|
-
return
|
|
2412
|
+
return Ue(async () => {
|
|
2413
2413
|
await n.index();
|
|
2414
2414
|
}), (s, a) => {
|
|
2415
2415
|
const l = _e;
|
|
2416
|
-
return u(),
|
|
2416
|
+
return u(), h($e, null, {
|
|
2417
2417
|
default: r(() => [
|
|
2418
2418
|
i(de, { cols: "12" }, {
|
|
2419
2419
|
default: r(() => [
|
|
@@ -2427,7 +2427,7 @@ const je = q("settings", () => {
|
|
|
2427
2427
|
rounded: "lg"
|
|
2428
2428
|
}, {
|
|
2429
2429
|
default: r(() => [
|
|
2430
|
-
i(
|
|
2430
|
+
i(_t, {
|
|
2431
2431
|
"fixed-header": "",
|
|
2432
2432
|
headers: o,
|
|
2433
2433
|
height: "640",
|
|
@@ -2469,23 +2469,23 @@ const je = q("settings", () => {
|
|
|
2469
2469
|
});
|
|
2470
2470
|
};
|
|
2471
2471
|
}
|
|
2472
|
-
}), Qn = { class: "px-3" }, Yn = /* @__PURE__ */
|
|
2472
|
+
}), Qn = { class: "px-3" }, Yn = /* @__PURE__ */ k({
|
|
2473
2473
|
__name: "VoDownloadsNavItem",
|
|
2474
2474
|
setup(c) {
|
|
2475
2475
|
const e = A(!1);
|
|
2476
2476
|
return (n, o) => {
|
|
2477
2477
|
const s = Gn, a = Se, l = Y;
|
|
2478
|
-
return u(),
|
|
2478
|
+
return u(), h(l, {
|
|
2479
2479
|
active: t(e),
|
|
2480
2480
|
link: "",
|
|
2481
|
-
"prepend-icon": `svg:${t(
|
|
2481
|
+
"prepend-icon": `svg:${t(st)}`,
|
|
2482
2482
|
title: "Downloads"
|
|
2483
2483
|
}, {
|
|
2484
2484
|
default: r(() => [
|
|
2485
2485
|
i(a, {
|
|
2486
2486
|
modelValue: t(e),
|
|
2487
2487
|
"onUpdate:modelValue": o[0] || (o[0] = (d) => se(e) ? e.value = d : null),
|
|
2488
|
-
"prepend-icon": `svg:${t(
|
|
2488
|
+
"prepend-icon": `svg:${t(st)}`,
|
|
2489
2489
|
title: "Downloads"
|
|
2490
2490
|
}, {
|
|
2491
2491
|
default: r(() => [
|
|
@@ -2493,7 +2493,7 @@ const je = q("settings", () => {
|
|
|
2493
2493
|
default: r(() => [
|
|
2494
2494
|
i(xe, { scrollable: "" }, {
|
|
2495
2495
|
default: r(() => [
|
|
2496
|
-
|
|
2496
|
+
V("div", Qn, [
|
|
2497
2497
|
i(ue, null, {
|
|
2498
2498
|
default: r(() => [
|
|
2499
2499
|
i(s)
|
|
@@ -2515,13 +2515,13 @@ const je = q("settings", () => {
|
|
|
2515
2515
|
}, 8, ["active", "prepend-icon"]);
|
|
2516
2516
|
};
|
|
2517
2517
|
}
|
|
2518
|
-
}), Jn = /* @__PURE__ */
|
|
2518
|
+
}), Jn = /* @__PURE__ */ k({
|
|
2519
2519
|
__name: "VoStudioNavItem",
|
|
2520
2520
|
setup(c) {
|
|
2521
2521
|
const e = A(!1);
|
|
2522
2522
|
return (n, o) => {
|
|
2523
2523
|
const s = Y;
|
|
2524
|
-
return u(),
|
|
2524
|
+
return u(), h(s, {
|
|
2525
2525
|
active: t(e),
|
|
2526
2526
|
href: "https://studio.vuetifyjs.com/",
|
|
2527
2527
|
link: "",
|
|
@@ -2547,7 +2547,7 @@ const je = q("settings", () => {
|
|
|
2547
2547
|
};
|
|
2548
2548
|
}
|
|
2549
2549
|
}), Ke = q("site", () => {
|
|
2550
|
-
const c =
|
|
2550
|
+
const c = O([]), e = O();
|
|
2551
2551
|
return {
|
|
2552
2552
|
id: c,
|
|
2553
2553
|
url: e
|
|
@@ -2555,10 +2555,10 @@ const je = q("settings", () => {
|
|
|
2555
2555
|
}), Xn = {
|
|
2556
2556
|
key: 0,
|
|
2557
2557
|
class: "pt-16"
|
|
2558
|
-
}, Kn = /* @__PURE__ */
|
|
2558
|
+
}, Kn = /* @__PURE__ */ V("div", { class: "text-medium-emphasis" }, " All caught up ", -1), es = {
|
|
2559
2559
|
key: 1,
|
|
2560
2560
|
class: "pa-5"
|
|
2561
|
-
}, ts = { class: "text-subtitle-1 font-weight-bold" }, os = { class: "text-caption font-weight-bold text-medium-emphasis" }, ns = { class: "text-disabled text-caption mt-2 mb-3" }, ss = /* @__PURE__ */
|
|
2561
|
+
}, ts = { class: "text-subtitle-1 font-weight-bold" }, os = { class: "text-caption font-weight-bold text-medium-emphasis" }, ns = { class: "text-disabled text-caption mt-2 mb-3" }, ss = /* @__PURE__ */ k({
|
|
2562
2562
|
__name: "VoNotificationsBannerList",
|
|
2563
2563
|
props: {
|
|
2564
2564
|
items: {}
|
|
@@ -2571,7 +2571,7 @@ const je = q("settings", () => {
|
|
|
2571
2571
|
function l(d) {
|
|
2572
2572
|
a(d.slug) ? o.notifications.last.banner = o.notifications.last.banner.filter((p) => p !== d.slug) : o.notifications.last.banner.push(d.slug);
|
|
2573
2573
|
}
|
|
2574
|
-
return (d, p) => (u(),
|
|
2574
|
+
return (d, p) => (u(), h(ae, {
|
|
2575
2575
|
class: "py-0",
|
|
2576
2576
|
height: "100%",
|
|
2577
2577
|
lines: "three"
|
|
@@ -2579,7 +2579,7 @@ const je = q("settings", () => {
|
|
|
2579
2579
|
default: r(() => [
|
|
2580
2580
|
d.items.length ? (u(), I("div", es, [
|
|
2581
2581
|
(u(!0), I(T, null, K(d.items, (m) => {
|
|
2582
|
-
var
|
|
2582
|
+
var _;
|
|
2583
2583
|
return u(), I("div", {
|
|
2584
2584
|
key: m.slug,
|
|
2585
2585
|
class: "mb-4"
|
|
@@ -2587,15 +2587,15 @@ const je = q("settings", () => {
|
|
|
2587
2587
|
i(W, {
|
|
2588
2588
|
color: m.metadata.color,
|
|
2589
2589
|
flat: "",
|
|
2590
|
-
image: (
|
|
2590
|
+
image: (_ = m.metadata.images.bg) == null ? void 0 : _.url,
|
|
2591
2591
|
rounded: "b-0",
|
|
2592
2592
|
title: m.title
|
|
2593
2593
|
}, {
|
|
2594
2594
|
prepend: r(() => {
|
|
2595
|
-
var
|
|
2595
|
+
var y;
|
|
2596
2596
|
return [
|
|
2597
2597
|
i(ee, {
|
|
2598
|
-
image: (
|
|
2598
|
+
image: (y = m.metadata.images.logo) == null ? void 0 : y.url
|
|
2599
2599
|
}, null, 8, ["image"])
|
|
2600
2600
|
];
|
|
2601
2601
|
}),
|
|
@@ -2605,30 +2605,30 @@ const je = q("settings", () => {
|
|
|
2605
2605
|
_: 2
|
|
2606
2606
|
}, 1032, ["color", "image", "title"]),
|
|
2607
2607
|
i(Me, null, {
|
|
2608
|
-
default: r(({ props:
|
|
2609
|
-
i(Je, E({ ref_for: !0 },
|
|
2608
|
+
default: r(({ props: y, isHovering: $ }) => [
|
|
2609
|
+
i(Je, E({ ref_for: !0 }, y, {
|
|
2610
2610
|
border: "",
|
|
2611
2611
|
class: "px-8 pt-2 pb-4 position-relative",
|
|
2612
2612
|
rounded: "b"
|
|
2613
2613
|
}), {
|
|
2614
2614
|
default: r(() => [
|
|
2615
|
-
m.metadata.site.some((
|
|
2615
|
+
m.metadata.site.some((g) => t(s).id.includes(g)) ? (u(), h(J, {
|
|
2616
2616
|
key: 0,
|
|
2617
2617
|
location: "bottom",
|
|
2618
2618
|
text: a(m.slug) ? "Mark as unread" : "Mark as read"
|
|
2619
2619
|
}, {
|
|
2620
|
-
activator: r(({ props:
|
|
2620
|
+
activator: r(({ props: g }) => [
|
|
2621
2621
|
i(Te, { "hide-on-leave": "" }, {
|
|
2622
2622
|
default: r(() => [
|
|
2623
|
-
Ve(i(Z, E({ ref_for: !0 },
|
|
2623
|
+
Ve(i(Z, E({ ref_for: !0 }, g, {
|
|
2624
2624
|
class: "ms-auto float-right",
|
|
2625
|
-
icon: `svg:${a(m.slug) ? t(
|
|
2625
|
+
icon: `svg:${a(m.slug) ? t(dt) : t(ut)}`,
|
|
2626
2626
|
"mdi-email-variant": "",
|
|
2627
2627
|
size: "small",
|
|
2628
2628
|
variant: "text",
|
|
2629
|
-
onClick: (
|
|
2629
|
+
onClick: (f) => l(m)
|
|
2630
2630
|
}), null, 16, ["icon", "onClick"]), [
|
|
2631
|
-
[
|
|
2631
|
+
[Oe, $ || t(n).mobile.value]
|
|
2632
2632
|
])
|
|
2633
2633
|
]),
|
|
2634
2634
|
_: 2
|
|
@@ -2636,9 +2636,9 @@ const je = q("settings", () => {
|
|
|
2636
2636
|
]),
|
|
2637
2637
|
_: 2
|
|
2638
2638
|
}, 1032, ["text"])) : C("", !0),
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2639
|
+
V("div", ts, S(m.metadata.text), 1),
|
|
2640
|
+
V("div", os, S(t(e).format(m.created_at, "fullDateWithWeekday")), 1),
|
|
2641
|
+
V("div", ns, S(m.metadata.subtext), 1),
|
|
2642
2642
|
i(X, E({ ref_for: !0 }, {
|
|
2643
2643
|
href: m.metadata.link.startsWith("http") ? m.metadata.link : void 0,
|
|
2644
2644
|
target: m.metadata.link.startsWith("http") ? "_blank" : void 0,
|
|
@@ -2652,7 +2652,7 @@ const je = q("settings", () => {
|
|
|
2652
2652
|
variant: "text"
|
|
2653
2653
|
}), {
|
|
2654
2654
|
append: r(() => [
|
|
2655
|
-
i(
|
|
2655
|
+
i(U, { size: "12" })
|
|
2656
2656
|
]),
|
|
2657
2657
|
_: 2
|
|
2658
2658
|
}, 1040, ["append-icon", "text"])
|
|
@@ -2670,7 +2670,7 @@ const je = q("settings", () => {
|
|
|
2670
2670
|
size: "256"
|
|
2671
2671
|
}, {
|
|
2672
2672
|
media: r(() => [
|
|
2673
|
-
i(
|
|
2673
|
+
i(U, { color: "medium-emphasis" })
|
|
2674
2674
|
]),
|
|
2675
2675
|
title: r(() => [
|
|
2676
2676
|
Kn
|
|
@@ -2682,7 +2682,7 @@ const je = q("settings", () => {
|
|
|
2682
2682
|
_: 1
|
|
2683
2683
|
}));
|
|
2684
2684
|
}
|
|
2685
|
-
}), as = { class: "ps-3 text-subtitle-2 pe-2" }, is = { class: "text-truncate" }, rs = { class: "text-caption font-weight-bold text-medium-emphasis" }, ls = { class: "text-disabled text-caption my-2" }, cs = /* @__PURE__ */
|
|
2685
|
+
}), as = { class: "ps-3 text-subtitle-2 pe-2" }, is = { class: "text-truncate" }, rs = { class: "text-caption font-weight-bold text-medium-emphasis" }, ls = { class: "text-disabled text-caption my-2" }, cs = /* @__PURE__ */ k({
|
|
2686
2686
|
__name: "VoNotificationsListItem",
|
|
2687
2687
|
props: {
|
|
2688
2688
|
demo: { type: Boolean },
|
|
@@ -2708,12 +2708,12 @@ const je = q("settings", () => {
|
|
|
2708
2708
|
e.demo || (l(p.slug) ? n.notifications.read = n.notifications.read.filter((m) => m !== p.slug) : n.notifications.read.push(p.slug));
|
|
2709
2709
|
}
|
|
2710
2710
|
return (p, m) => {
|
|
2711
|
-
const
|
|
2712
|
-
return u(),
|
|
2713
|
-
default: r(({ isHovering:
|
|
2714
|
-
i(
|
|
2711
|
+
const _ = Y;
|
|
2712
|
+
return u(), h(Me, null, {
|
|
2713
|
+
default: r(({ isHovering: y, props: $ }) => [
|
|
2714
|
+
i(_, E($, { class: "py-4 mb-0" }), {
|
|
2715
2715
|
prepend: r(() => [
|
|
2716
|
-
|
|
2716
|
+
V("div", as, S(p.notification.metadata.emoji), 1)
|
|
2717
2717
|
]),
|
|
2718
2718
|
append: r(() => [
|
|
2719
2719
|
i(Bo, {
|
|
@@ -2725,18 +2725,18 @@ const je = q("settings", () => {
|
|
|
2725
2725
|
location: "bottom",
|
|
2726
2726
|
text: l(p.notification.slug) ? "Mark as unread" : "Mark as read"
|
|
2727
2727
|
}, {
|
|
2728
|
-
activator: r(({ props:
|
|
2728
|
+
activator: r(({ props: g }) => [
|
|
2729
2729
|
i(Te, { "hide-on-leave": "" }, {
|
|
2730
2730
|
default: r(() => [
|
|
2731
|
-
Ve(i(Z, E(
|
|
2731
|
+
Ve(i(Z, E(g, {
|
|
2732
2732
|
class: "ms-auto",
|
|
2733
|
-
icon: `svg:${l(p.notification.slug) ? t(
|
|
2733
|
+
icon: `svg:${l(p.notification.slug) ? t(dt) : t(ut)}`,
|
|
2734
2734
|
"mdi-email-variant": "",
|
|
2735
2735
|
size: "small",
|
|
2736
2736
|
variant: "text",
|
|
2737
|
-
onClick: m[0] || (m[0] = (
|
|
2737
|
+
onClick: m[0] || (m[0] = (f) => d(p.notification))
|
|
2738
2738
|
}), null, 16, ["icon"]), [
|
|
2739
|
-
[
|
|
2739
|
+
[Oe, y || t(s).mobile.value]
|
|
2740
2740
|
])
|
|
2741
2741
|
]),
|
|
2742
2742
|
_: 2
|
|
@@ -2749,14 +2749,14 @@ const je = q("settings", () => {
|
|
|
2749
2749
|
}, 1024)
|
|
2750
2750
|
]),
|
|
2751
2751
|
default: r(() => [
|
|
2752
|
-
i(
|
|
2752
|
+
i(pt, { class: "text-wrap text-h6 mb-1" }, {
|
|
2753
2753
|
default: r(() => [
|
|
2754
|
-
|
|
2754
|
+
V("div", is, S(p.notification.title), 1)
|
|
2755
2755
|
]),
|
|
2756
2756
|
_: 1
|
|
2757
2757
|
}),
|
|
2758
|
-
|
|
2759
|
-
|
|
2758
|
+
V("div", rs, S(t(o).format(p.notification.created_at, "fullDateWithWeekday")), 1),
|
|
2759
|
+
V("div", ls, S(p.notification.metadata.text), 1),
|
|
2760
2760
|
i(X, E({
|
|
2761
2761
|
"append-icon": `svg:${t(Ne)}`
|
|
2762
2762
|
}, t(a), {
|
|
@@ -2767,7 +2767,7 @@ const je = q("settings", () => {
|
|
|
2767
2767
|
variant: "text"
|
|
2768
2768
|
}), {
|
|
2769
2769
|
append: r(() => [
|
|
2770
|
-
i(
|
|
2770
|
+
i(U, { size: "12" })
|
|
2771
2771
|
]),
|
|
2772
2772
|
_: 1
|
|
2773
2773
|
}, 16, ["append-icon", "text"])
|
|
@@ -2782,7 +2782,7 @@ const je = q("settings", () => {
|
|
|
2782
2782
|
}), us = {
|
|
2783
2783
|
key: 0,
|
|
2784
2784
|
class: "pt-16"
|
|
2785
|
-
}, ds = /* @__PURE__ */
|
|
2785
|
+
}, ds = /* @__PURE__ */ V("div", { class: "text-medium-emphasis" }, " All caught up ", -1), ps = /* @__PURE__ */ k({
|
|
2786
2786
|
__name: "VoNotificationsList",
|
|
2787
2787
|
props: {
|
|
2788
2788
|
items: {}
|
|
@@ -2790,7 +2790,7 @@ const je = q("settings", () => {
|
|
|
2790
2790
|
setup(c) {
|
|
2791
2791
|
return (e, n) => {
|
|
2792
2792
|
const o = cs;
|
|
2793
|
-
return u(),
|
|
2793
|
+
return u(), h(ae, {
|
|
2794
2794
|
class: "py-0",
|
|
2795
2795
|
height: "100%",
|
|
2796
2796
|
lines: "three"
|
|
@@ -2799,7 +2799,7 @@ const je = q("settings", () => {
|
|
|
2799
2799
|
e.items.length ? (u(!0), I(T, { key: 1 }, K(e.items, (s, a) => (u(), I(T, {
|
|
2800
2800
|
key: s.slug
|
|
2801
2801
|
}, [
|
|
2802
|
-
a !== 0 ? (u(),
|
|
2802
|
+
a !== 0 ? (u(), h(Q, { key: 0 })) : C("", !0),
|
|
2803
2803
|
i(o, { notification: s }, null, 8, ["notification"])
|
|
2804
2804
|
], 64))), 128)) : (u(), I("div", us, [
|
|
2805
2805
|
i(Xe, {
|
|
@@ -2807,7 +2807,7 @@ const je = q("settings", () => {
|
|
|
2807
2807
|
size: "256"
|
|
2808
2808
|
}, {
|
|
2809
2809
|
media: r(() => [
|
|
2810
|
-
i(
|
|
2810
|
+
i(U, { color: "medium-emphasis" })
|
|
2811
2811
|
]),
|
|
2812
2812
|
title: r(() => [
|
|
2813
2813
|
ds
|
|
@@ -2821,50 +2821,50 @@ const je = q("settings", () => {
|
|
|
2821
2821
|
};
|
|
2822
2822
|
}
|
|
2823
2823
|
}), He = q("banners", () => {
|
|
2824
|
-
const c = oe(), e = Ke(), n = F(), o =
|
|
2824
|
+
const c = oe(), e = Ke(), n = F(), o = O([]), s = O([]), a = O(), l = A(!1), d = x(() => {
|
|
2825
2825
|
if (a.value) return a.value;
|
|
2826
2826
|
if (p.value) return p.value;
|
|
2827
2827
|
if (n.notifications.banners)
|
|
2828
2828
|
return o.value.find(({
|
|
2829
|
-
slug:
|
|
2829
|
+
slug: v,
|
|
2830
2830
|
metadata: {
|
|
2831
2831
|
site: b,
|
|
2832
2832
|
active: M
|
|
2833
2833
|
}
|
|
2834
|
-
}) => !M || n.notifications.last.banner.includes(
|
|
2834
|
+
}) => !M || n.notifications.last.banner.includes(v) ? !1 : b.includes("dev") && !1 || b.includes("*") ? !0 : b.some((D) => e.id.includes(D)));
|
|
2835
2835
|
}), p = x(() => o.value.find(({
|
|
2836
2836
|
metadata: {
|
|
2837
|
-
site:
|
|
2837
|
+
site: v,
|
|
2838
2838
|
active: b
|
|
2839
2839
|
}
|
|
2840
|
-
}) => b ?
|
|
2840
|
+
}) => b ? v.includes("server") : !1));
|
|
2841
2841
|
async function m() {
|
|
2842
2842
|
try {
|
|
2843
2843
|
l.value = !0;
|
|
2844
|
-
const
|
|
2845
|
-
o.value =
|
|
2844
|
+
const v = await c.get("/one/banners");
|
|
2845
|
+
o.value = v.banners;
|
|
2846
2846
|
} catch {
|
|
2847
2847
|
} finally {
|
|
2848
2848
|
l.value = !1;
|
|
2849
2849
|
}
|
|
2850
2850
|
return o.value;
|
|
2851
2851
|
}
|
|
2852
|
-
async function
|
|
2852
|
+
async function _(v) {
|
|
2853
2853
|
try {
|
|
2854
2854
|
l.value = !0;
|
|
2855
|
-
const b = await c.get(`/one/admin/banners/${
|
|
2855
|
+
const b = await c.get(`/one/admin/banners/${v}`);
|
|
2856
2856
|
return a.value = b.banner, b.banner;
|
|
2857
2857
|
} catch {
|
|
2858
2858
|
} finally {
|
|
2859
2859
|
l.value = !1;
|
|
2860
2860
|
}
|
|
2861
2861
|
}
|
|
2862
|
-
async function
|
|
2862
|
+
async function y(v) {
|
|
2863
2863
|
try {
|
|
2864
2864
|
l.value = !0;
|
|
2865
2865
|
const b = await c.form(
|
|
2866
2866
|
"/one/admin/banners",
|
|
2867
|
-
|
|
2867
|
+
v
|
|
2868
2868
|
);
|
|
2869
2869
|
return a.value = b.banner, b.banner;
|
|
2870
2870
|
} catch {
|
|
@@ -2872,11 +2872,11 @@ const je = q("settings", () => {
|
|
|
2872
2872
|
l.value = !1;
|
|
2873
2873
|
}
|
|
2874
2874
|
}
|
|
2875
|
-
async function
|
|
2875
|
+
async function $(v, b) {
|
|
2876
2876
|
try {
|
|
2877
2877
|
l.value = !0;
|
|
2878
2878
|
const M = await c.form(
|
|
2879
|
-
`/one/admin/banners/${
|
|
2879
|
+
`/one/admin/banners/${v}`,
|
|
2880
2880
|
b
|
|
2881
2881
|
);
|
|
2882
2882
|
return a.value = M.banner, M.banner;
|
|
@@ -2885,13 +2885,13 @@ const je = q("settings", () => {
|
|
|
2885
2885
|
l.value = !1;
|
|
2886
2886
|
}
|
|
2887
2887
|
}
|
|
2888
|
-
async function
|
|
2888
|
+
async function g() {
|
|
2889
2889
|
}
|
|
2890
|
-
async function
|
|
2890
|
+
async function f() {
|
|
2891
2891
|
try {
|
|
2892
2892
|
l.value = !0;
|
|
2893
|
-
const
|
|
2894
|
-
s.value =
|
|
2893
|
+
const v = await c.get("/one/admin/banners");
|
|
2894
|
+
s.value = v.banners;
|
|
2895
2895
|
} catch {
|
|
2896
2896
|
} finally {
|
|
2897
2897
|
l.value = !1;
|
|
@@ -2905,14 +2905,14 @@ const je = q("settings", () => {
|
|
|
2905
2905
|
server: p,
|
|
2906
2906
|
banner: d,
|
|
2907
2907
|
record: a,
|
|
2908
|
-
admin:
|
|
2909
|
-
destroy:
|
|
2908
|
+
admin: f,
|
|
2909
|
+
destroy: g,
|
|
2910
2910
|
index: m,
|
|
2911
|
-
show:
|
|
2912
|
-
store:
|
|
2913
|
-
update:
|
|
2911
|
+
show: _,
|
|
2912
|
+
store: y,
|
|
2913
|
+
update: $
|
|
2914
2914
|
};
|
|
2915
|
-
}), ms = { class: "text-caption" }, fs = { class: "text-caption" }, vs = /* @__PURE__ */
|
|
2915
|
+
}), ms = { class: "text-caption" }, fs = { class: "text-caption" }, vs = /* @__PURE__ */ k({
|
|
2916
2916
|
__name: "VoNotificationsDialog",
|
|
2917
2917
|
props: {
|
|
2918
2918
|
modelValue: { type: Boolean },
|
|
@@ -2927,11 +2927,11 @@ const je = q("settings", () => {
|
|
|
2927
2927
|
return;
|
|
2928
2928
|
}
|
|
2929
2929
|
a.isOpen = !0, await be(), p.value = !0;
|
|
2930
|
-
}, { immediate: !0 }), (m,
|
|
2931
|
-
const
|
|
2932
|
-
return u(),
|
|
2930
|
+
}, { immediate: !0 }), (m, _) => {
|
|
2931
|
+
const y = Y, $ = ps, g = ss, f = Se;
|
|
2932
|
+
return u(), h(f, {
|
|
2933
2933
|
modelValue: p.value,
|
|
2934
|
-
"onUpdate:modelValue":
|
|
2934
|
+
"onUpdate:modelValue": _[2] || (_[2] = (v) => p.value = v),
|
|
2935
2935
|
"prepend-icon": `svg:${t(mo)}`,
|
|
2936
2936
|
title: "Notifications"
|
|
2937
2937
|
}, {
|
|
@@ -2946,14 +2946,14 @@ const je = q("settings", () => {
|
|
|
2946
2946
|
default: r(() => [
|
|
2947
2947
|
i(ae, {
|
|
2948
2948
|
selected: t(d),
|
|
2949
|
-
"onUpdate:selected":
|
|
2949
|
+
"onUpdate:selected": _[0] || (_[0] = (v) => se(d) ? d.value = v : null),
|
|
2950
2950
|
class: "px-4 pt-4",
|
|
2951
2951
|
density: "compact",
|
|
2952
2952
|
mandatory: "",
|
|
2953
2953
|
nav: ""
|
|
2954
2954
|
}, {
|
|
2955
2955
|
default: r(() => [
|
|
2956
|
-
i(
|
|
2956
|
+
i(y, {
|
|
2957
2957
|
"prepend-icon": `svg:${t(fo)}`,
|
|
2958
2958
|
title: "Unread",
|
|
2959
2959
|
value: "read"
|
|
@@ -2961,12 +2961,12 @@ const je = q("settings", () => {
|
|
|
2961
2961
|
t(s).unread.length > 0 ? {
|
|
2962
2962
|
name: "append",
|
|
2963
2963
|
fn: r(() => [
|
|
2964
|
-
|
|
2964
|
+
V("span", ms, S(t(s).unread.length), 1)
|
|
2965
2965
|
]),
|
|
2966
2966
|
key: "0"
|
|
2967
2967
|
} : void 0
|
|
2968
2968
|
]), 1032, ["prepend-icon"]),
|
|
2969
|
-
i(
|
|
2969
|
+
i(y, {
|
|
2970
2970
|
"prepend-icon": `svg:${t(vo)}`,
|
|
2971
2971
|
title: "Read",
|
|
2972
2972
|
value: "unread"
|
|
@@ -2974,12 +2974,12 @@ const je = q("settings", () => {
|
|
|
2974
2974
|
t(s).read.length > 0 ? {
|
|
2975
2975
|
name: "append",
|
|
2976
2976
|
fn: r(() => [
|
|
2977
|
-
|
|
2977
|
+
V("span", fs, S(t(s).read.length), 1)
|
|
2978
2978
|
]),
|
|
2979
2979
|
key: "0"
|
|
2980
2980
|
} : void 0
|
|
2981
2981
|
]), 1032, ["prepend-icon"]),
|
|
2982
|
-
t(o).all.length > 0 && t(l).notifications.banners ? (u(),
|
|
2982
|
+
t(o).all.length > 0 && t(l).notifications.banners ? (u(), h(y, {
|
|
2983
2983
|
key: 0,
|
|
2984
2984
|
"prepend-icon": `svg:${t(_o)}`,
|
|
2985
2985
|
title: "Banners",
|
|
@@ -3001,14 +3001,14 @@ const je = q("settings", () => {
|
|
|
3001
3001
|
}, 8, ["location", "width"]),
|
|
3002
3002
|
i(xe, { scrollable: "" }, {
|
|
3003
3003
|
default: r(() => [
|
|
3004
|
-
i(
|
|
3004
|
+
i(ht, {
|
|
3005
3005
|
modelValue: t(d),
|
|
3006
|
-
"onUpdate:modelValue":
|
|
3006
|
+
"onUpdate:modelValue": _[1] || (_[1] = (v) => se(d) ? d.value = v : null)
|
|
3007
3007
|
}, {
|
|
3008
3008
|
default: r(() => [
|
|
3009
3009
|
i(ge, { value: "read" }, {
|
|
3010
3010
|
default: r(() => [
|
|
3011
|
-
i(
|
|
3011
|
+
i($, {
|
|
3012
3012
|
items: t(s).unread
|
|
3013
3013
|
}, null, 8, ["items"])
|
|
3014
3014
|
]),
|
|
@@ -3016,7 +3016,7 @@ const je = q("settings", () => {
|
|
|
3016
3016
|
}),
|
|
3017
3017
|
i(ge, { value: "unread" }, {
|
|
3018
3018
|
default: r(() => [
|
|
3019
|
-
i(
|
|
3019
|
+
i($, {
|
|
3020
3020
|
items: t(s).read
|
|
3021
3021
|
}, null, 8, ["items"])
|
|
3022
3022
|
]),
|
|
@@ -3024,7 +3024,7 @@ const je = q("settings", () => {
|
|
|
3024
3024
|
}),
|
|
3025
3025
|
i(ge, { value: "banners" }, {
|
|
3026
3026
|
default: r(() => [
|
|
3027
|
-
i(
|
|
3027
|
+
i(g, {
|
|
3028
3028
|
items: t(o).all
|
|
3029
3029
|
}, null, 8, ["items"])
|
|
3030
3030
|
]),
|
|
@@ -3044,11 +3044,11 @@ const je = q("settings", () => {
|
|
|
3044
3044
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
3045
3045
|
};
|
|
3046
3046
|
}
|
|
3047
|
-
}), _s = /* @__PURE__ */
|
|
3047
|
+
}), _s = /* @__PURE__ */ k({
|
|
3048
3048
|
__name: "VoNotificationsBadge",
|
|
3049
3049
|
setup(c) {
|
|
3050
3050
|
const e = ze(), n = F();
|
|
3051
|
-
return (o, s) => (u(),
|
|
3051
|
+
return (o, s) => (u(), h(Ye, {
|
|
3052
3052
|
color: "error",
|
|
3053
3053
|
content: t(e).unread.length,
|
|
3054
3054
|
"model-value": t(n).notifications.show && t(e).unread.length > 0
|
|
@@ -3059,15 +3059,15 @@ const je = q("settings", () => {
|
|
|
3059
3059
|
_: 3
|
|
3060
3060
|
}, 8, ["content", "model-value"]));
|
|
3061
3061
|
}
|
|
3062
|
-
}), hs = /* @__PURE__ */
|
|
3062
|
+
}), hs = /* @__PURE__ */ k({
|
|
3063
3063
|
__name: "VoNotificationsNavItem",
|
|
3064
3064
|
setup(c) {
|
|
3065
3065
|
const e = He(), n = F(), o = ze(), s = A(!1);
|
|
3066
|
-
return
|
|
3066
|
+
return Ue(async () => {
|
|
3067
3067
|
o.index(), e.index();
|
|
3068
3068
|
}), (a, l) => {
|
|
3069
3069
|
const d = _s, p = vs, m = Y;
|
|
3070
|
-
return t(n).notifications.show ? (u(),
|
|
3070
|
+
return t(n).notifications.show ? (u(), h(m, {
|
|
3071
3071
|
key: 0,
|
|
3072
3072
|
active: t(s),
|
|
3073
3073
|
link: "",
|
|
@@ -3077,7 +3077,7 @@ const je = q("settings", () => {
|
|
|
3077
3077
|
default: r(() => [
|
|
3078
3078
|
i(p, {
|
|
3079
3079
|
modelValue: t(s),
|
|
3080
|
-
"onUpdate:modelValue": l[0] || (l[0] = (
|
|
3080
|
+
"onUpdate:modelValue": l[0] || (l[0] = (_) => se(s) ? s.value = _ : null)
|
|
3081
3081
|
}, null, 8, ["modelValue"])
|
|
3082
3082
|
]),
|
|
3083
3083
|
_: 2
|
|
@@ -3087,7 +3087,7 @@ const je = q("settings", () => {
|
|
|
3087
3087
|
fn: r(() => [
|
|
3088
3088
|
i(d, null, {
|
|
3089
3089
|
default: r(() => [
|
|
3090
|
-
i(
|
|
3090
|
+
i(U)
|
|
3091
3091
|
]),
|
|
3092
3092
|
_: 1
|
|
3093
3093
|
})
|
|
@@ -3097,7 +3097,7 @@ const je = q("settings", () => {
|
|
|
3097
3097
|
]), 1032, ["active", "prepend-icon"])) : C("", !0);
|
|
3098
3098
|
};
|
|
3099
3099
|
}
|
|
3100
|
-
}), gs = /* @__PURE__ */
|
|
3100
|
+
}), gs = /* @__PURE__ */ k({
|
|
3101
3101
|
__name: "VoDashboardNavItem",
|
|
3102
3102
|
setup(c) {
|
|
3103
3103
|
const e = j();
|
|
@@ -3108,7 +3108,7 @@ const je = q("settings", () => {
|
|
|
3108
3108
|
}
|
|
3109
3109
|
return (o, s) => {
|
|
3110
3110
|
const a = Y;
|
|
3111
|
-
return u(),
|
|
3111
|
+
return u(), h(a, {
|
|
3112
3112
|
"prepend-icon": `svg:${t(go)}`,
|
|
3113
3113
|
title: "Dashboard",
|
|
3114
3114
|
to: "/user/dashboard",
|
|
@@ -3116,32 +3116,32 @@ const je = q("settings", () => {
|
|
|
3116
3116
|
}, null, 8, ["prepend-icon"]);
|
|
3117
3117
|
};
|
|
3118
3118
|
}
|
|
3119
|
-
}), ys = /* @__PURE__ */
|
|
3119
|
+
}), ys = /* @__PURE__ */ k({
|
|
3120
3120
|
__name: "VoUserList",
|
|
3121
3121
|
setup(c) {
|
|
3122
3122
|
const e = P(), n = j();
|
|
3123
3123
|
return (o, s) => {
|
|
3124
|
-
const a = gs, l = hs, d = Jn, p = Yn, m = qn,
|
|
3125
|
-
return u(),
|
|
3124
|
+
const a = gs, l = hs, d = Jn, p = Yn, m = qn, _ = Nn, y = un, $ = tn;
|
|
3125
|
+
return u(), h(ae, {
|
|
3126
3126
|
density: "compact",
|
|
3127
3127
|
nav: "",
|
|
3128
3128
|
slim: ""
|
|
3129
3129
|
}, {
|
|
3130
3130
|
default: r(() => [
|
|
3131
|
-
t(e).user ? (u(),
|
|
3131
|
+
t(e).user ? (u(), h(a, { key: 0 })) : C("", !0),
|
|
3132
3132
|
i(l),
|
|
3133
3133
|
i(d),
|
|
3134
|
-
t(n).shopify ? (u(),
|
|
3134
|
+
t(n).shopify ? (u(), h(p, { key: 1 })) : C("", !0),
|
|
3135
3135
|
i(m),
|
|
3136
|
-
t(e).user ? (u(),
|
|
3137
|
-
i(
|
|
3138
|
-
t(e).user ? (u(),
|
|
3136
|
+
t(e).user ? (u(), h(_, { key: 2 })) : C("", !0),
|
|
3137
|
+
i(y),
|
|
3138
|
+
t(e).user ? (u(), h($, { key: 3 })) : C("", !0)
|
|
3139
3139
|
]),
|
|
3140
3140
|
_: 1
|
|
3141
3141
|
});
|
|
3142
3142
|
};
|
|
3143
3143
|
}
|
|
3144
|
-
}),
|
|
3144
|
+
}), Ct = /* @__PURE__ */ k({
|
|
3145
3145
|
__name: "VoIconIssues",
|
|
3146
3146
|
setup(c) {
|
|
3147
3147
|
const e = [
|
|
@@ -3149,23 +3149,23 @@ const je = q("settings", () => {
|
|
|
3149
3149
|
"M8.63152 12.7367L8.50057 12.5L6 8H11.263L8.63152 12.7367Z",
|
|
3150
3150
|
["M9.11205 13.6004L11 17L16 8H12.223L9.11205 13.6004Z", 0.6]
|
|
3151
3151
|
];
|
|
3152
|
-
return (n, o) => (u(),
|
|
3152
|
+
return (n, o) => (u(), h(U, { icon: e }));
|
|
3153
3153
|
}
|
|
3154
|
-
}),
|
|
3154
|
+
}), St = /* @__PURE__ */ k({
|
|
3155
3155
|
__name: "VoIconBin",
|
|
3156
3156
|
setup(c) {
|
|
3157
|
-
return (e, n) => (u(),
|
|
3157
|
+
return (e, n) => (u(), h(U, { icon: "$vuetify-bin" }));
|
|
3158
3158
|
}
|
|
3159
|
-
}), bs = { key: 0 }, Vs = { class: "d-flex align-center justify-center pa-1 ga-2" }, ks = /* @__PURE__ */
|
|
3159
|
+
}), bs = { key: 0 }, Vs = { class: "d-flex align-center justify-center pa-1 ga-2" }, ks = /* @__PURE__ */ k({
|
|
3160
3160
|
__name: "VoUserQuickActions",
|
|
3161
3161
|
setup(c) {
|
|
3162
3162
|
const e = F();
|
|
3163
3163
|
return (n, o) => {
|
|
3164
|
-
const s =
|
|
3165
|
-
return u(),
|
|
3164
|
+
const s = St, a = Ct;
|
|
3165
|
+
return u(), h(fe, null, {
|
|
3166
3166
|
default: r(() => [
|
|
3167
3167
|
t(e).quickbar ? (u(), I("div", bs, [
|
|
3168
|
-
|
|
3168
|
+
V("div", Vs, [
|
|
3169
3169
|
i(Z, {
|
|
3170
3170
|
class: "text-caption",
|
|
3171
3171
|
color: t(e).colors.one,
|
|
@@ -3176,7 +3176,7 @@ const je = q("settings", () => {
|
|
|
3176
3176
|
target: "_blank"
|
|
3177
3177
|
}, {
|
|
3178
3178
|
default: r(() => [
|
|
3179
|
-
i(
|
|
3179
|
+
i(U),
|
|
3180
3180
|
i(J, {
|
|
3181
3181
|
activator: "parent",
|
|
3182
3182
|
location: "top",
|
|
@@ -3230,7 +3230,7 @@ const je = q("settings", () => {
|
|
|
3230
3230
|
});
|
|
3231
3231
|
};
|
|
3232
3232
|
}
|
|
3233
|
-
}), $s = { class: "mb-2" }, ws = { key: 0 }, xs = { class: "d-flex ga-4 flex-wrap justify-center mb-4" }, Cs = { class: "text-h6" }, Ss = /* @__PURE__ */
|
|
3233
|
+
}), $s = { class: "mb-2" }, ws = { key: 0 }, xs = { class: "d-flex ga-4 flex-wrap justify-center mb-4" }, Cs = { class: "text-h6" }, Ss = /* @__PURE__ */ k({
|
|
3234
3234
|
__name: "VoUserAvatar",
|
|
3235
3235
|
setup(c) {
|
|
3236
3236
|
const e = P(), n = j(), o = F(), s = A(!1), a = x(() => {
|
|
@@ -3259,9 +3259,9 @@ const je = q("settings", () => {
|
|
|
3259
3259
|
n.isSubscriber && (s.value = !s.value);
|
|
3260
3260
|
}
|
|
3261
3261
|
return (p, m) => {
|
|
3262
|
-
var
|
|
3262
|
+
var _;
|
|
3263
3263
|
return u(), I("div", null, [
|
|
3264
|
-
Ve((u(),
|
|
3264
|
+
Ve((u(), h(ee, {
|
|
3265
3265
|
class: Bt([
|
|
3266
3266
|
"border-md border-opacity-100 border-surface-light",
|
|
3267
3267
|
{
|
|
@@ -3274,11 +3274,11 @@ const je = q("settings", () => {
|
|
|
3274
3274
|
onClick: Ze(d, ["prevent", "stop"])
|
|
3275
3275
|
}, {
|
|
3276
3276
|
default: r(() => [
|
|
3277
|
-
t(e).user && t(o).avatar ? (u(),
|
|
3277
|
+
t(e).user && t(o).avatar ? (u(), h(te, {
|
|
3278
3278
|
key: 0,
|
|
3279
3279
|
alt: "User avatar",
|
|
3280
3280
|
src: t(o).avatar
|
|
3281
|
-
}, null, 8, ["src"])) : (u(),
|
|
3281
|
+
}, null, 8, ["src"])) : (u(), h(U, {
|
|
3282
3282
|
key: 1,
|
|
3283
3283
|
class: "mt-1",
|
|
3284
3284
|
icon: "$vuetify",
|
|
@@ -3289,7 +3289,7 @@ const je = q("settings", () => {
|
|
|
3289
3289
|
}, 8, ["class"])), [
|
|
3290
3290
|
[To, t(n).isSubscriber]
|
|
3291
3291
|
]),
|
|
3292
|
-
|
|
3292
|
+
V("div", $s, [
|
|
3293
3293
|
i(fe, null, {
|
|
3294
3294
|
default: r(() => [
|
|
3295
3295
|
t(s) ? (u(), I("div", ws, [
|
|
@@ -3299,18 +3299,18 @@ const je = q("settings", () => {
|
|
|
3299
3299
|
rounded: "0"
|
|
3300
3300
|
}, {
|
|
3301
3301
|
default: r(() => [
|
|
3302
|
-
|
|
3303
|
-
(u(!0), I(T, null, K(t(a), (
|
|
3304
|
-
key:
|
|
3305
|
-
active: t(o).avatar ===
|
|
3302
|
+
V("div", xs, [
|
|
3303
|
+
(u(!0), I(T, null, K(t(a), (y, $) => (u(), h(Z, {
|
|
3304
|
+
key: $,
|
|
3305
|
+
active: t(o).avatar === y,
|
|
3306
3306
|
icon: "",
|
|
3307
3307
|
variant: "flat",
|
|
3308
|
-
onClick: (
|
|
3308
|
+
onClick: (g) => l(y)
|
|
3309
3309
|
}, {
|
|
3310
3310
|
default: r(() => [
|
|
3311
3311
|
i(ee, {
|
|
3312
3312
|
eager: "",
|
|
3313
|
-
image:
|
|
3313
|
+
image: y
|
|
3314
3314
|
}, null, 8, ["image"])
|
|
3315
3315
|
]),
|
|
3316
3316
|
_: 2
|
|
@@ -3324,18 +3324,18 @@ const je = q("settings", () => {
|
|
|
3324
3324
|
_: 1
|
|
3325
3325
|
})
|
|
3326
3326
|
]),
|
|
3327
|
-
|
|
3327
|
+
V("div", Cs, S(((_ = t(e).user) == null ? void 0 : _.name) ?? "Guest"), 1)
|
|
3328
3328
|
]);
|
|
3329
3329
|
};
|
|
3330
3330
|
}
|
|
3331
|
-
}), Ls = /* @__PURE__ */
|
|
3331
|
+
}), Ls = /* @__PURE__ */ k({
|
|
3332
3332
|
__name: "VoUserBadges",
|
|
3333
3333
|
setup(c) {
|
|
3334
3334
|
const e = P(), n = j(), o = x(() => {
|
|
3335
3335
|
var s;
|
|
3336
3336
|
return n.github || n.discord || n.isSubscriber || ((s = e.user) == null ? void 0 : s.isAdmin);
|
|
3337
3337
|
});
|
|
3338
|
-
return (s, a) => t(o) ? (u(),
|
|
3338
|
+
return (s, a) => t(o) ? (u(), h(Je, {
|
|
3339
3339
|
key: 0,
|
|
3340
3340
|
class: "align-center position-absolute ms-2 d-flex ga-2 pa-2",
|
|
3341
3341
|
color: "rgba(0,0,0,.54)",
|
|
@@ -3345,52 +3345,52 @@ const je = q("settings", () => {
|
|
|
3345
3345
|
default: r(() => {
|
|
3346
3346
|
var l;
|
|
3347
3347
|
return [
|
|
3348
|
-
(l = t(e).user) != null && l.isAdmin ? (u(),
|
|
3348
|
+
(l = t(e).user) != null && l.isAdmin ? (u(), h(J, {
|
|
3349
3349
|
key: 0,
|
|
3350
3350
|
location: "bottom",
|
|
3351
3351
|
text: "Vuetify Administrator"
|
|
3352
3352
|
}, {
|
|
3353
3353
|
activator: r(({ props: d }) => [
|
|
3354
|
-
i(
|
|
3354
|
+
i(U, E({
|
|
3355
3355
|
color: "blue",
|
|
3356
3356
|
icon: "$vuetify"
|
|
3357
3357
|
}, d, { size: "16" }), null, 16)
|
|
3358
3358
|
]),
|
|
3359
3359
|
_: 1
|
|
3360
3360
|
})) : C("", !0),
|
|
3361
|
-
t(n).isSubscriber ? (u(),
|
|
3361
|
+
t(n).isSubscriber ? (u(), h(J, {
|
|
3362
3362
|
key: 1,
|
|
3363
3363
|
location: "bottom",
|
|
3364
3364
|
text: "Vuetify One Subscriber"
|
|
3365
3365
|
}, {
|
|
3366
3366
|
activator: r(({ props: d }) => [
|
|
3367
|
-
i(
|
|
3367
|
+
i(U, E({
|
|
3368
3368
|
color: "amber-darken-2",
|
|
3369
3369
|
icon: `svg:${t(yo)}`
|
|
3370
3370
|
}, d, { size: "16" }), null, 16, ["icon"])
|
|
3371
3371
|
]),
|
|
3372
3372
|
_: 1
|
|
3373
3373
|
})) : C("", !0),
|
|
3374
|
-
t(n).github ? (u(),
|
|
3374
|
+
t(n).github ? (u(), h(J, {
|
|
3375
3375
|
key: 2,
|
|
3376
3376
|
location: "bottom",
|
|
3377
3377
|
text: "GitHub Sponsor"
|
|
3378
3378
|
}, {
|
|
3379
3379
|
activator: r(({ props: d }) => [
|
|
3380
|
-
i(
|
|
3380
|
+
i(U, E({
|
|
3381
3381
|
color: "white",
|
|
3382
3382
|
icon: "$github"
|
|
3383
3383
|
}, d, { size: "16" }), null, 16)
|
|
3384
3384
|
]),
|
|
3385
3385
|
_: 1
|
|
3386
3386
|
})) : C("", !0),
|
|
3387
|
-
t(n).discord ? (u(),
|
|
3387
|
+
t(n).discord ? (u(), h(J, {
|
|
3388
3388
|
key: 3,
|
|
3389
3389
|
location: "bottom",
|
|
3390
3390
|
text: "Discord Subscriber"
|
|
3391
3391
|
}, {
|
|
3392
3392
|
activator: r(({ props: d }) => [
|
|
3393
|
-
i(
|
|
3393
|
+
i(U, E({
|
|
3394
3394
|
color: "white",
|
|
3395
3395
|
icon: "$discord"
|
|
3396
3396
|
}, d, { size: "16" }), null, 16)
|
|
@@ -3405,7 +3405,7 @@ const je = q("settings", () => {
|
|
|
3405
3405
|
}), Is = { class: "d-flex flex-grow-1 justify-end fill-height align-start" }, As = {
|
|
3406
3406
|
key: "reset",
|
|
3407
3407
|
class: "align-self-end"
|
|
3408
|
-
}, Ds = /* @__PURE__ */
|
|
3408
|
+
}, Ds = /* @__PURE__ */ k({
|
|
3409
3409
|
__name: "VoUserColors",
|
|
3410
3410
|
setup(c) {
|
|
3411
3411
|
const e = P(), n = j(), o = F(), s = A(!1);
|
|
@@ -3424,11 +3424,11 @@ const je = q("settings", () => {
|
|
|
3424
3424
|
rounded: "0"
|
|
3425
3425
|
}, {
|
|
3426
3426
|
default: r(() => [
|
|
3427
|
-
|
|
3427
|
+
V("div", Is, [
|
|
3428
3428
|
i(p),
|
|
3429
3429
|
i(Io, null, {
|
|
3430
3430
|
default: r(() => [
|
|
3431
|
-
Ve(
|
|
3431
|
+
Ve(V("div", As, [
|
|
3432
3432
|
i(m, {
|
|
3433
3433
|
class: "ms-2 me-1",
|
|
3434
3434
|
color: "inherit",
|
|
@@ -3440,12 +3440,12 @@ const je = q("settings", () => {
|
|
|
3440
3440
|
onClick: a
|
|
3441
3441
|
}, null, 8, ["disabled", "icon"])
|
|
3442
3442
|
], 512), [
|
|
3443
|
-
[
|
|
3443
|
+
[Oe, t(s)]
|
|
3444
3444
|
])
|
|
3445
3445
|
]),
|
|
3446
3446
|
_: 1
|
|
3447
3447
|
}),
|
|
3448
|
-
t(n).isSubscriber ? (u(),
|
|
3448
|
+
t(n).isSubscriber ? (u(), h(m, {
|
|
3449
3449
|
key: 0,
|
|
3450
3450
|
active: t(s),
|
|
3451
3451
|
class: "align-self-end",
|
|
@@ -3454,12 +3454,12 @@ const je = q("settings", () => {
|
|
|
3454
3454
|
icon: t(s) ? `svg:${t(Be)}` : "$edit",
|
|
3455
3455
|
title: "Edit One Header Color",
|
|
3456
3456
|
variant: t(s) ? "text" : "plain",
|
|
3457
|
-
onClick: d[0] || (d[0] = (
|
|
3457
|
+
onClick: d[0] || (d[0] = (_) => s.value = !t(s))
|
|
3458
3458
|
}, {
|
|
3459
3459
|
default: r(() => [
|
|
3460
3460
|
i(Te, { "leave-absolute": "" }, {
|
|
3461
3461
|
default: r(() => [
|
|
3462
|
-
(u(),
|
|
3462
|
+
(u(), h(U, {
|
|
3463
3463
|
key: String(t(s))
|
|
3464
3464
|
}))
|
|
3465
3465
|
]),
|
|
@@ -3474,7 +3474,7 @@ const je = q("settings", () => {
|
|
|
3474
3474
|
}, 8, ["color"]),
|
|
3475
3475
|
i(fe, null, {
|
|
3476
3476
|
default: r(() => [
|
|
3477
|
-
t(s) ? (u(),
|
|
3477
|
+
t(s) ? (u(), h(Fo, {
|
|
3478
3478
|
key: 0,
|
|
3479
3479
|
elevation: "0",
|
|
3480
3480
|
height: "250",
|
|
@@ -3486,7 +3486,7 @@ const je = q("settings", () => {
|
|
|
3486
3486
|
"show-swatches": "",
|
|
3487
3487
|
"swatches-max-height": "200",
|
|
3488
3488
|
width: "278",
|
|
3489
|
-
"onUpdate:modelValue": d[1] || (d[1] = (
|
|
3489
|
+
"onUpdate:modelValue": d[1] || (d[1] = (_) => t(o).colors.one = _)
|
|
3490
3490
|
}, null, 8, ["model-value"])) : C("", !0)
|
|
3491
3491
|
]),
|
|
3492
3492
|
_: 1
|
|
@@ -3494,20 +3494,20 @@ const je = q("settings", () => {
|
|
|
3494
3494
|
], 64);
|
|
3495
3495
|
};
|
|
3496
3496
|
}
|
|
3497
|
-
}),
|
|
3497
|
+
}), Us = { class: "text-center mt-n9 mb-4" }, Os = /* @__PURE__ */ k({
|
|
3498
3498
|
__name: "VoUserMenu",
|
|
3499
3499
|
setup(c) {
|
|
3500
|
-
const e = He(), n = j(), o =
|
|
3500
|
+
const e = He(), n = j(), o = O();
|
|
3501
3501
|
return z(() => e.banner, async () => {
|
|
3502
3502
|
var s, a;
|
|
3503
3503
|
await new Promise((l) => setTimeout(l, 300)), n.isOpen && ((a = (s = o.value) == null ? void 0 : s.updateLocation) == null || a.call(s));
|
|
3504
3504
|
}, { flush: "pre" }), (s, a) => {
|
|
3505
|
-
const l = Ds, d = Ss, p = ks, m = ys,
|
|
3506
|
-
return u(),
|
|
3505
|
+
const l = Ds, d = Ss, p = ks, m = ys, _ = wt;
|
|
3506
|
+
return u(), h(Mo, {
|
|
3507
3507
|
ref_key: "menu",
|
|
3508
3508
|
ref: o,
|
|
3509
3509
|
modelValue: t(n).isOpen,
|
|
3510
|
-
"onUpdate:modelValue": a[0] || (a[0] = (
|
|
3510
|
+
"onUpdate:modelValue": a[0] || (a[0] = (y) => t(n).isOpen = y),
|
|
3511
3511
|
activator: "parent",
|
|
3512
3512
|
"close-on-click": !1,
|
|
3513
3513
|
"close-on-content-click": !1,
|
|
@@ -3522,14 +3522,14 @@ const je = q("settings", () => {
|
|
|
3522
3522
|
}, {
|
|
3523
3523
|
default: r(() => [
|
|
3524
3524
|
i(l),
|
|
3525
|
-
|
|
3525
|
+
V("div", Us, [
|
|
3526
3526
|
i(d),
|
|
3527
3527
|
i(p)
|
|
3528
3528
|
]),
|
|
3529
3529
|
i(Q),
|
|
3530
3530
|
i(m),
|
|
3531
3531
|
i(Q),
|
|
3532
|
-
i(
|
|
3532
|
+
i(_)
|
|
3533
3533
|
]),
|
|
3534
3534
|
_: 1
|
|
3535
3535
|
})
|
|
@@ -3538,7 +3538,7 @@ const je = q("settings", () => {
|
|
|
3538
3538
|
}, 8, ["modelValue"]);
|
|
3539
3539
|
};
|
|
3540
3540
|
}
|
|
3541
|
-
}), Bs = { key: 0 },
|
|
3541
|
+
}), Bs = { key: 0 }, Lt = /* @__PURE__ */ k({
|
|
3542
3542
|
__name: "VoAuthBtn",
|
|
3543
3543
|
props: {
|
|
3544
3544
|
external: Boolean
|
|
@@ -3546,9 +3546,9 @@ const je = q("settings", () => {
|
|
|
3546
3546
|
setup(c) {
|
|
3547
3547
|
const e = P(), n = j(), o = F(), { lgAndUp: s } = ve(), a = x(() => n.isOpen || !e.user ? o.colors.one === "surface-light" ? "primary" : o.colors.one : "surface-light");
|
|
3548
3548
|
return (l, d) => {
|
|
3549
|
-
const p =
|
|
3549
|
+
const p = Os, m = Ce, _ = Ko, y = $t, $ = Ho;
|
|
3550
3550
|
return u(), I(T, null, [
|
|
3551
|
-
i(
|
|
3551
|
+
i(_, {
|
|
3552
3552
|
"offset-y": t(e).user ? 5 : 0
|
|
3553
3553
|
}, {
|
|
3554
3554
|
default: r(() => [
|
|
@@ -3567,7 +3567,7 @@ const je = q("settings", () => {
|
|
|
3567
3567
|
}), {
|
|
3568
3568
|
default: r(() => [
|
|
3569
3569
|
t(e).user ? C("", !0) : (u(), I("span", Bs, "Login")),
|
|
3570
|
-
t(e).user ? (u(),
|
|
3570
|
+
t(e).user ? (u(), h(ee, {
|
|
3571
3571
|
key: 1,
|
|
3572
3572
|
image: t(o).avatar || t(e).user.picture || ""
|
|
3573
3573
|
}, null, 8, ["image"])) : C("", !0),
|
|
@@ -3578,12 +3578,12 @@ const je = q("settings", () => {
|
|
|
3578
3578
|
]),
|
|
3579
3579
|
_: 1
|
|
3580
3580
|
}, 8, ["offset-y"]),
|
|
3581
|
-
i(
|
|
3582
|
-
i(
|
|
3581
|
+
i(y),
|
|
3582
|
+
i($)
|
|
3583
3583
|
], 64);
|
|
3584
3584
|
};
|
|
3585
3585
|
}
|
|
3586
|
-
}), Ns = /* @__PURE__ */
|
|
3586
|
+
}), Ns = /* @__PURE__ */ k({
|
|
3587
3587
|
__name: "VoAppBar",
|
|
3588
3588
|
props: {
|
|
3589
3589
|
logo: {}
|
|
@@ -3591,8 +3591,8 @@ const je = q("settings", () => {
|
|
|
3591
3591
|
setup(c) {
|
|
3592
3592
|
const e = c, n = Fe(), o = je(), s = x(() => `https://cdn.vuetifyjs.com/docs/images/one/logos/${e.logo}-logo-${n.current.value.dark ? "dark" : "light"}.png`);
|
|
3593
3593
|
return (a, l) => {
|
|
3594
|
-
const d = Nt("router-link"), p =
|
|
3595
|
-
return u(),
|
|
3594
|
+
const d = Nt("router-link"), p = Lt;
|
|
3595
|
+
return u(), h(gt, {
|
|
3596
3596
|
class: "border-b",
|
|
3597
3597
|
image: t(o).suit["app-bar"],
|
|
3598
3598
|
name: "vo-app-bar"
|
|
@@ -3614,7 +3614,7 @@ const je = q("settings", () => {
|
|
|
3614
3614
|
]),
|
|
3615
3615
|
append: r(() => [
|
|
3616
3616
|
B(a.$slots, "append"),
|
|
3617
|
-
a.$slots.append ? (u(),
|
|
3617
|
+
a.$slots.append ? (u(), h(Q, {
|
|
3618
3618
|
key: 0,
|
|
3619
3619
|
class: "mx-4 align-self-center h-100",
|
|
3620
3620
|
length: "20",
|
|
@@ -3644,138 +3644,152 @@ const je = q("settings", () => {
|
|
|
3644
3644
|
]), 1032, ["image"]);
|
|
3645
3645
|
};
|
|
3646
3646
|
}
|
|
3647
|
-
}), Ts = /* @__PURE__ */
|
|
3647
|
+
}), Ts = /* @__PURE__ */ k({
|
|
3648
3648
|
__name: "VoNotificationsBanner",
|
|
3649
3649
|
props: {
|
|
3650
3650
|
demo: { type: Boolean }
|
|
3651
3651
|
},
|
|
3652
3652
|
setup(c) {
|
|
3653
3653
|
const e = c, { mdAndUp: n } = ve(), o = Qe(), s = F(), a = He(), l = x(() => a.banner), d = x(() => {
|
|
3654
|
-
var
|
|
3655
|
-
return ((
|
|
3654
|
+
var g, f;
|
|
3655
|
+
return ((g = l.value) == null ? void 0 : g.metadata.height) || ((f = l.value) != null && f.metadata.subtext ? 88 : 48);
|
|
3656
3656
|
}), p = x(() => e.demo ? !0 : !l.value || !s.notifications.last.banner.includes(l.value.slug));
|
|
3657
3657
|
function m() {
|
|
3658
3658
|
l.value && s.notifications.last.banner.push(l.value.slug);
|
|
3659
3659
|
}
|
|
3660
|
-
async function
|
|
3661
|
-
var
|
|
3660
|
+
async function _(g) {
|
|
3661
|
+
var b;
|
|
3662
3662
|
if (!l.value) return;
|
|
3663
3663
|
m(), await be();
|
|
3664
|
-
const
|
|
3665
|
-
if (
|
|
3666
|
-
|
|
3667
|
-
const
|
|
3668
|
-
o.push({ query: { one:
|
|
3664
|
+
const f = ((b = l.value) == null ? void 0 : b.metadata) ?? { link: "" };
|
|
3665
|
+
if (f.link.indexOf("?one=") === -1) return;
|
|
3666
|
+
g.preventDefault(), g.stopPropagation();
|
|
3667
|
+
const v = f.link.split("?one=")[1];
|
|
3668
|
+
o.push({ query: { one: v } });
|
|
3669
3669
|
}
|
|
3670
|
-
const
|
|
3671
|
-
var
|
|
3672
|
-
const
|
|
3670
|
+
const y = x(() => {
|
|
3671
|
+
var f, v;
|
|
3672
|
+
const g = ((f = l.value) == null ? void 0 : f.metadata) ?? { link: "" };
|
|
3673
3673
|
return {
|
|
3674
|
-
href:
|
|
3675
|
-
target:
|
|
3676
|
-
to:
|
|
3677
|
-
...(
|
|
3678
|
-
onClick:
|
|
3674
|
+
href: g.link.startsWith("http") ? g.link : void 0,
|
|
3675
|
+
target: g.link.startsWith("http") ? "_blank" : void 0,
|
|
3676
|
+
to: g.link.startsWith("http") ? void 0 : g.link,
|
|
3677
|
+
...(v = l.value) == null ? void 0 : v.metadata.attributes,
|
|
3678
|
+
onClick: _
|
|
3679
3679
|
};
|
|
3680
|
+
}), $ = x(() => {
|
|
3681
|
+
var v, b;
|
|
3682
|
+
const g = (b = (v = l.value) == null ? void 0 : v.metadata.images.bg) == null ? void 0 : b.url;
|
|
3683
|
+
if (!(g != null && g.startsWith("https://cdn.cosmicjs.com/"))) return g;
|
|
3684
|
+
const f = new URL(g);
|
|
3685
|
+
return f.host = "imgix.cosmicjs.com", f.search = new URLSearchParams({
|
|
3686
|
+
auto: "format,compress",
|
|
3687
|
+
q: "10",
|
|
3688
|
+
fit: "crop",
|
|
3689
|
+
w: "4096",
|
|
3690
|
+
h: "256"
|
|
3691
|
+
}).toString(), f.toString();
|
|
3680
3692
|
});
|
|
3681
|
-
return (
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
_: 1
|
|
3764
|
-
}, 8, ["color", "height", "image", "location", "model-value"])) : C("", !0);
|
|
3765
|
-
};
|
|
3693
|
+
return (g, f) => t(l) ? (u(), h(gt, {
|
|
3694
|
+
key: 0,
|
|
3695
|
+
color: t(l).metadata.color,
|
|
3696
|
+
flat: "",
|
|
3697
|
+
height: t(d),
|
|
3698
|
+
image: t($),
|
|
3699
|
+
location: g.demo ? "bottom" : void 0,
|
|
3700
|
+
"model-value": t(p),
|
|
3701
|
+
order: "-1"
|
|
3702
|
+
}, {
|
|
3703
|
+
default: r(() => [
|
|
3704
|
+
i(me, E(t(y), {
|
|
3705
|
+
active: !1,
|
|
3706
|
+
class: "flex-grow-1 py-6",
|
|
3707
|
+
lines: "two",
|
|
3708
|
+
onClick: _
|
|
3709
|
+
}), {
|
|
3710
|
+
prepend: r(() => [
|
|
3711
|
+
t(l).metadata.images.logo ? (u(), h(ee, {
|
|
3712
|
+
key: 0,
|
|
3713
|
+
icon: "$vuetify",
|
|
3714
|
+
image: t(l).metadata.images.logo.url,
|
|
3715
|
+
size: "x-large",
|
|
3716
|
+
tile: ""
|
|
3717
|
+
}, null, 8, ["image"])) : C("", !0)
|
|
3718
|
+
]),
|
|
3719
|
+
append: r(() => [
|
|
3720
|
+
t(n) && t(l).metadata.link && t(l).metadata.link_text ? (u(), h(Me, { key: 0 }, {
|
|
3721
|
+
default: r(({ isHovering: v, props: b }) => [
|
|
3722
|
+
i(Z, E({
|
|
3723
|
+
...b,
|
|
3724
|
+
...t(y)
|
|
3725
|
+
}, {
|
|
3726
|
+
"append-icon": `svg:${t(Ne)}`,
|
|
3727
|
+
class: "text-none me-2",
|
|
3728
|
+
color: t(l).metadata.link_color,
|
|
3729
|
+
elevation: v ? 8 : 0,
|
|
3730
|
+
title: t(l).metadata.link_text,
|
|
3731
|
+
variant: "elevated",
|
|
3732
|
+
onClick: _
|
|
3733
|
+
}), {
|
|
3734
|
+
default: r(() => [
|
|
3735
|
+
N(S(t(l).metadata.link_text), 1)
|
|
3736
|
+
]),
|
|
3737
|
+
_: 2
|
|
3738
|
+
}, 1040, ["append-icon", "color", "elevation", "title"])
|
|
3739
|
+
]),
|
|
3740
|
+
_: 1
|
|
3741
|
+
})) : C("", !0),
|
|
3742
|
+
t(l).metadata.closable ? (u(), h(Z, {
|
|
3743
|
+
key: 1,
|
|
3744
|
+
class: "ms-6 me-2",
|
|
3745
|
+
density: "comfortable",
|
|
3746
|
+
disabled: g.demo,
|
|
3747
|
+
icon: "$clear",
|
|
3748
|
+
size: "small",
|
|
3749
|
+
variant: "plain",
|
|
3750
|
+
onClick: Ze(m, ["prevent", "stop"])
|
|
3751
|
+
}, null, 8, ["disabled"])) : C("", !0)
|
|
3752
|
+
]),
|
|
3753
|
+
default: r(() => [
|
|
3754
|
+
t(l).metadata.text ? (u(), h(pt, {
|
|
3755
|
+
key: 0,
|
|
3756
|
+
class: "text-subtitle-2 text-md-subtitle-1 font-weight-medium"
|
|
3757
|
+
}, {
|
|
3758
|
+
default: r(() => [
|
|
3759
|
+
N(S(t(l).metadata.text), 1)
|
|
3760
|
+
]),
|
|
3761
|
+
_: 1
|
|
3762
|
+
})) : C("", !0),
|
|
3763
|
+
t(l).metadata.subtext ? (u(), h(xo, { key: 1 }, {
|
|
3764
|
+
default: r(() => [
|
|
3765
|
+
N(S(t(l).metadata.subtext), 1)
|
|
3766
|
+
]),
|
|
3767
|
+
_: 1
|
|
3768
|
+
})) : C("", !0)
|
|
3769
|
+
]),
|
|
3770
|
+
_: 1
|
|
3771
|
+
}, 16)
|
|
3772
|
+
]),
|
|
3773
|
+
_: 1
|
|
3774
|
+
}, 8, ["color", "height", "image", "location", "model-value"])) : C("", !0);
|
|
3766
3775
|
}
|
|
3767
|
-
}),
|
|
3776
|
+
}), et = (c, e) => {
|
|
3777
|
+
const n = c.__vccOpts || c;
|
|
3778
|
+
for (const [o, s] of e)
|
|
3779
|
+
n[o] = s;
|
|
3780
|
+
return n;
|
|
3781
|
+
}, Fs = /* @__PURE__ */ et(Ts, [["__scopeId", "data-v-73de1479"]]), Ms = {
|
|
3768
3782
|
key: 0,
|
|
3769
3783
|
class: "text-uppercase position-absolute ms-auto font-weight-medium on-surface-light",
|
|
3770
3784
|
style: { right: "12px", bottom: "8px", "font-size": "10px" }
|
|
3771
|
-
},
|
|
3785
|
+
}, It = /* @__PURE__ */ k({
|
|
3772
3786
|
__name: "VoPromotionsCard",
|
|
3773
3787
|
props: {
|
|
3774
3788
|
caption: {},
|
|
3775
3789
|
minHeight: {}
|
|
3776
3790
|
},
|
|
3777
3791
|
setup(c) {
|
|
3778
|
-
return (e, n) => (u(),
|
|
3792
|
+
return (e, n) => (u(), h(W, {
|
|
3779
3793
|
class: "d-inline-flex flex-child-1 position-relative",
|
|
3780
3794
|
color: "surface-light",
|
|
3781
3795
|
flat: "",
|
|
@@ -3793,7 +3807,7 @@ const je = q("settings", () => {
|
|
|
3793
3807
|
]),
|
|
3794
3808
|
_: 3
|
|
3795
3809
|
}, 8, ["min-height"]),
|
|
3796
|
-
e.caption ? (u(), I("div",
|
|
3810
|
+
e.caption ? (u(), I("div", Ms, S(e.caption), 1)) : C("", !0)
|
|
3797
3811
|
]),
|
|
3798
3812
|
_: 2
|
|
3799
3813
|
}, [
|
|
@@ -3813,53 +3827,53 @@ const je = q("settings", () => {
|
|
|
3813
3827
|
} : void 0
|
|
3814
3828
|
]), 1024));
|
|
3815
3829
|
}
|
|
3816
|
-
}),
|
|
3817
|
-
const c = oe(), e =
|
|
3830
|
+
}), tt = q("promotions", () => {
|
|
3831
|
+
const c = oe(), e = O([]), n = O([]), o = O(), s = A(!1), a = A(!1), l = x(() => e.value.filter((f) => f.metadata.discoverable));
|
|
3818
3832
|
Ge(p);
|
|
3819
|
-
function d(
|
|
3820
|
-
const
|
|
3821
|
-
return
|
|
3833
|
+
function d(f) {
|
|
3834
|
+
const v = f.filter((b) => b.metadata.active);
|
|
3835
|
+
return v[Math.floor(Math.random() * v.length)];
|
|
3822
3836
|
}
|
|
3823
3837
|
async function p() {
|
|
3824
3838
|
try {
|
|
3825
3839
|
s.value = !0;
|
|
3826
|
-
const
|
|
3827
|
-
e.value =
|
|
3840
|
+
const f = await c.get("/one/promotions");
|
|
3841
|
+
e.value = f.promotions;
|
|
3828
3842
|
} catch {
|
|
3829
3843
|
} finally {
|
|
3830
3844
|
s.value = !1, a.value = !0;
|
|
3831
3845
|
}
|
|
3832
3846
|
return e.value;
|
|
3833
3847
|
}
|
|
3834
|
-
async function m(
|
|
3848
|
+
async function m(f) {
|
|
3835
3849
|
try {
|
|
3836
3850
|
s.value = !0;
|
|
3837
|
-
const
|
|
3838
|
-
return o.value =
|
|
3851
|
+
const v = await c.get(`/one/admin/promotions/${f}`);
|
|
3852
|
+
return o.value = v.promotion, v.promotion;
|
|
3839
3853
|
} catch {
|
|
3840
3854
|
} finally {
|
|
3841
3855
|
s.value = !1;
|
|
3842
3856
|
}
|
|
3843
3857
|
}
|
|
3844
|
-
async function f
|
|
3858
|
+
async function _(f) {
|
|
3845
3859
|
try {
|
|
3846
3860
|
s.value = !0;
|
|
3847
|
-
const
|
|
3861
|
+
const v = await c.form(
|
|
3848
3862
|
"/one/admin/promotions",
|
|
3849
|
-
|
|
3863
|
+
f
|
|
3850
3864
|
);
|
|
3851
|
-
return o.value =
|
|
3865
|
+
return o.value = v.promotion, v.promotion;
|
|
3852
3866
|
} catch {
|
|
3853
3867
|
} finally {
|
|
3854
3868
|
s.value = !1;
|
|
3855
3869
|
}
|
|
3856
3870
|
}
|
|
3857
|
-
async function
|
|
3871
|
+
async function y(f, v) {
|
|
3858
3872
|
try {
|
|
3859
3873
|
s.value = !0;
|
|
3860
3874
|
const b = await c.form(
|
|
3861
|
-
`/one/admin/promotions/${
|
|
3862
|
-
|
|
3875
|
+
`/one/admin/promotions/${f}`,
|
|
3876
|
+
v
|
|
3863
3877
|
);
|
|
3864
3878
|
return o.value = b.promotion, b.promotion;
|
|
3865
3879
|
} catch {
|
|
@@ -3867,13 +3881,13 @@ const je = q("settings", () => {
|
|
|
3867
3881
|
s.value = !1;
|
|
3868
3882
|
}
|
|
3869
3883
|
}
|
|
3870
|
-
async function
|
|
3884
|
+
async function $() {
|
|
3871
3885
|
}
|
|
3872
|
-
async function
|
|
3886
|
+
async function g() {
|
|
3873
3887
|
try {
|
|
3874
3888
|
s.value = !0;
|
|
3875
|
-
const
|
|
3876
|
-
n.value =
|
|
3889
|
+
const f = await c.get("/one/admin/promotions");
|
|
3890
|
+
n.value = f.promotions;
|
|
3877
3891
|
} catch {
|
|
3878
3892
|
} finally {
|
|
3879
3893
|
s.value = !1;
|
|
@@ -3887,50 +3901,50 @@ const je = q("settings", () => {
|
|
|
3887
3901
|
hasLoaded: a,
|
|
3888
3902
|
discoverable: l,
|
|
3889
3903
|
record: o,
|
|
3890
|
-
admin:
|
|
3891
|
-
destroy:
|
|
3904
|
+
admin: g,
|
|
3905
|
+
destroy: $,
|
|
3892
3906
|
index: p,
|
|
3893
3907
|
random: d,
|
|
3894
3908
|
show: m,
|
|
3895
|
-
store:
|
|
3896
|
-
update:
|
|
3909
|
+
store: _,
|
|
3910
|
+
update: y
|
|
3897
3911
|
};
|
|
3898
|
-
}),
|
|
3912
|
+
}), zs = /* @__PURE__ */ k({
|
|
3899
3913
|
__name: "VoPromotionsCardHighlight",
|
|
3900
3914
|
props: {
|
|
3901
3915
|
slug: {}
|
|
3902
3916
|
},
|
|
3903
3917
|
setup(c) {
|
|
3904
|
-
const e = c, n = P(), o =
|
|
3918
|
+
const e = c, n = P(), o = tt(), s = Fe(), a = F(), l = x(() => {
|
|
3905
3919
|
if (o.record) return o.record;
|
|
3906
3920
|
if (!(n.user && a.disableAds))
|
|
3907
3921
|
return e.slug ? o.all.find((m) => m.slug === e.slug) : o.random(o.all);
|
|
3908
3922
|
}), d = x(() => {
|
|
3909
|
-
var
|
|
3923
|
+
var _, y;
|
|
3910
3924
|
const m = s.current.value.dark ? "logodark" : "logolight";
|
|
3911
|
-
return (
|
|
3925
|
+
return (y = (_ = l.value) == null ? void 0 : _.metadata.images[m]) == null ? void 0 : y.url;
|
|
3912
3926
|
}), p = x(() => {
|
|
3913
|
-
var
|
|
3927
|
+
var _, y;
|
|
3914
3928
|
const m = s.current.value.dark ? "bgdark" : "bglight";
|
|
3915
|
-
return (
|
|
3929
|
+
return (y = (_ = l.value) == null ? void 0 : _.metadata.images[m]) == null ? void 0 : y.url;
|
|
3916
3930
|
});
|
|
3917
|
-
return (m,
|
|
3918
|
-
var
|
|
3919
|
-
const
|
|
3920
|
-
return t(l) || !t(o).hasLoaded ? (u(),
|
|
3931
|
+
return (m, _) => {
|
|
3932
|
+
var $, g, f;
|
|
3933
|
+
const y = It;
|
|
3934
|
+
return t(l) || !t(o).hasLoaded ? (u(), h(y, {
|
|
3921
3935
|
key: 0,
|
|
3922
3936
|
class: "mb-4",
|
|
3923
|
-
color: ((
|
|
3937
|
+
color: (($ = t(l)) == null ? void 0 : $.metadata.color) ?? "surface",
|
|
3924
3938
|
height: "60",
|
|
3925
|
-
href: (
|
|
3939
|
+
href: (g = t(l)) == null ? void 0 : g.metadata.url,
|
|
3926
3940
|
image: t(p),
|
|
3927
3941
|
"max-width": "720",
|
|
3928
3942
|
"prepend-avatar": t(d),
|
|
3929
|
-
title: (
|
|
3943
|
+
title: (f = t(l)) == null ? void 0 : f.metadata.short_text,
|
|
3930
3944
|
width: "100%"
|
|
3931
3945
|
}, R({
|
|
3932
3946
|
default: r(() => [
|
|
3933
|
-
t(o).hasLoaded ? C("", !0) : (u(),
|
|
3947
|
+
t(o).hasLoaded ? C("", !0) : (u(), h(ye, {
|
|
3934
3948
|
key: 0,
|
|
3935
3949
|
class: "flex-1-0 overflow-hidden",
|
|
3936
3950
|
color: "transparent",
|
|
@@ -3962,32 +3976,32 @@ const je = q("settings", () => {
|
|
|
3962
3976
|
]), 1032, ["color", "href", "image", "prepend-avatar", "title"])) : C("", !0);
|
|
3963
3977
|
};
|
|
3964
3978
|
}
|
|
3965
|
-
}),
|
|
3979
|
+
}), js = { class: "d-flex ga-4" }, Ps = { class: "d-flex align-start ga-4" }, Hs = { class: "text-caption on-surface-light" }, Rs = /* @__PURE__ */ k({
|
|
3966
3980
|
__name: "VoPromotionsCardVuetify",
|
|
3967
3981
|
props: {
|
|
3968
3982
|
slug: {}
|
|
3969
3983
|
},
|
|
3970
3984
|
setup(c) {
|
|
3971
|
-
const e = c, n = P(), o =
|
|
3985
|
+
const e = c, n = P(), o = tt(), s = F(), a = x(() => {
|
|
3972
3986
|
if (o.record) return o.record;
|
|
3973
3987
|
if (!(n.user && s.disableAds && !s.showHouseAds))
|
|
3974
3988
|
return e.slug ? o.all.find((l) => l.slug === e.slug) : o.random(s.disableAds && s.showHouseAds ? o.discoverable : o.all);
|
|
3975
3989
|
});
|
|
3976
3990
|
return (l, d) => {
|
|
3977
|
-
var m,
|
|
3978
|
-
const p =
|
|
3979
|
-
return t(a) || !t(o).hasLoaded ? (u(),
|
|
3991
|
+
var m, _;
|
|
3992
|
+
const p = It;
|
|
3993
|
+
return t(a) || !t(o).hasLoaded ? (u(), h(p, {
|
|
3980
3994
|
key: 0,
|
|
3981
3995
|
border: "",
|
|
3982
3996
|
caption: "ads via vuetify",
|
|
3983
3997
|
class: "pa-2 mb-4",
|
|
3984
|
-
href: (
|
|
3998
|
+
href: (_ = (m = t(a)) == null ? void 0 : m.metadata) == null ? void 0 : _.url,
|
|
3985
3999
|
width: "360"
|
|
3986
4000
|
}, {
|
|
3987
4001
|
default: r(() => {
|
|
3988
|
-
var
|
|
4002
|
+
var y, $, g;
|
|
3989
4003
|
return [
|
|
3990
|
-
|
|
4004
|
+
V("div", js, [
|
|
3991
4005
|
t(o).hasLoaded ? t(a) ? (u(), I(T, { key: 1 }, [
|
|
3992
4006
|
i(te, {
|
|
3993
4007
|
cover: "",
|
|
@@ -3995,11 +4009,11 @@ const je = q("settings", () => {
|
|
|
3995
4009
|
"max-width": "130",
|
|
3996
4010
|
position: "right",
|
|
3997
4011
|
rounded: "s",
|
|
3998
|
-
src: (
|
|
4012
|
+
src: ($ = (y = t(a).metadata) == null ? void 0 : y.images.default) == null ? void 0 : $.url,
|
|
3999
4013
|
width: "100%"
|
|
4000
4014
|
}, null, 8, ["src"]),
|
|
4001
|
-
|
|
4002
|
-
|
|
4015
|
+
V("div", Ps, [
|
|
4016
|
+
V("div", Hs, S((g = t(a).metadata) == null ? void 0 : g.text), 1)
|
|
4003
4017
|
])
|
|
4004
4018
|
], 64)) : C("", !0) : (u(), I(T, { key: 0 }, [
|
|
4005
4019
|
i(ye, {
|
|
@@ -4025,22 +4039,22 @@ const je = q("settings", () => {
|
|
|
4025
4039
|
}, 8, ["href"])) : C("", !0);
|
|
4026
4040
|
};
|
|
4027
4041
|
}
|
|
4028
|
-
}),
|
|
4042
|
+
}), Es = {
|
|
4029
4043
|
key: 0,
|
|
4030
4044
|
class: "v-footer__image"
|
|
4031
|
-
},
|
|
4045
|
+
}, Ws = /* @__PURE__ */ k({
|
|
4032
4046
|
__name: "VoFooter",
|
|
4033
4047
|
props: {
|
|
4034
4048
|
image: {}
|
|
4035
4049
|
},
|
|
4036
4050
|
setup(c) {
|
|
4037
|
-
return (e, n) => (u(),
|
|
4051
|
+
return (e, n) => (u(), h(jo, {
|
|
4038
4052
|
class: "vo-footer",
|
|
4039
4053
|
height: "40"
|
|
4040
4054
|
}, {
|
|
4041
4055
|
default: r(() => [
|
|
4042
|
-
e.image || e.$slots.image ? (u(), I("div",
|
|
4043
|
-
e.$slots.image ? B(e.$slots, "image", { key: 0 }, void 0, !0) : (u(),
|
|
4056
|
+
e.image || e.$slots.image ? (u(), I("div", Es, [
|
|
4057
|
+
e.$slots.image ? B(e.$slots, "image", { key: 0 }, void 0, !0) : (u(), h(te, {
|
|
4044
4058
|
key: 1,
|
|
4045
4059
|
cover: "",
|
|
4046
4060
|
position: "left",
|
|
@@ -4052,46 +4066,41 @@ const je = q("settings", () => {
|
|
|
4052
4066
|
_: 3
|
|
4053
4067
|
}));
|
|
4054
4068
|
}
|
|
4055
|
-
}),
|
|
4056
|
-
const n = c.__vccOpts || c;
|
|
4057
|
-
for (const [o, s] of e)
|
|
4058
|
-
n[o] = s;
|
|
4059
|
-
return n;
|
|
4060
|
-
}, At = /* @__PURE__ */ It(Es, [["__scopeId", "data-v-3135ada5"]]), Ws = ["href"], qs = /* @__PURE__ */ $({
|
|
4069
|
+
}), At = /* @__PURE__ */ et(Ws, [["__scopeId", "data-v-3135ada5"]]), qs = ["href"], Zs = /* @__PURE__ */ k({
|
|
4061
4070
|
__name: "VoPromotionsFooter",
|
|
4062
4071
|
props: {
|
|
4063
4072
|
slug: {}
|
|
4064
4073
|
},
|
|
4065
4074
|
setup(c) {
|
|
4066
|
-
const e = c, n = P(), o =
|
|
4075
|
+
const e = c, n = P(), o = tt(), s = F(), a = Fe(), l = x(() => {
|
|
4067
4076
|
if (o.record) return o.record;
|
|
4068
4077
|
if (!(n.user && s.disableAds))
|
|
4069
4078
|
return e.slug ? o.all.find((m) => m.slug === e.slug) : o.random(o.all);
|
|
4070
4079
|
}), d = x(() => {
|
|
4071
|
-
var
|
|
4080
|
+
var _, y;
|
|
4072
4081
|
const m = a.current.value.dark ? "logodark" : "logolight";
|
|
4073
|
-
return (
|
|
4082
|
+
return (y = (_ = l.value) == null ? void 0 : _.metadata.images[m]) == null ? void 0 : y.url;
|
|
4074
4083
|
}), p = x(() => {
|
|
4075
|
-
var
|
|
4084
|
+
var _, y;
|
|
4076
4085
|
const m = a.current.value.dark ? "bgdark" : "bglight";
|
|
4077
|
-
return (
|
|
4086
|
+
return (y = (_ = l.value) == null ? void 0 : _.metadata.images[m]) == null ? void 0 : y.url;
|
|
4078
4087
|
});
|
|
4079
4088
|
return Ge(async () => {
|
|
4080
4089
|
e.slug && await o.show(e.slug);
|
|
4081
|
-
}), (m,
|
|
4082
|
-
var
|
|
4083
|
-
const
|
|
4084
|
-
return u(),
|
|
4085
|
-
color: ((
|
|
4090
|
+
}), (m, _) => {
|
|
4091
|
+
var $;
|
|
4092
|
+
const y = At;
|
|
4093
|
+
return u(), h(y, {
|
|
4094
|
+
color: (($ = t(l)) == null ? void 0 : $.metadata.color) ?? "surface",
|
|
4086
4095
|
image: t(p),
|
|
4087
4096
|
style: { transform: "translateY(0)" }
|
|
4088
4097
|
}, {
|
|
4089
4098
|
default: r(() => {
|
|
4090
|
-
var
|
|
4099
|
+
var g, f, v;
|
|
4091
4100
|
return [
|
|
4092
|
-
|
|
4101
|
+
V("a", {
|
|
4093
4102
|
class: "d-flex align-center text-decoration-none py-2 px-4 ms-n4 flex-1-0 me-n4 position-relative",
|
|
4094
|
-
href: (
|
|
4103
|
+
href: (g = t(l)) == null ? void 0 : g.metadata.url,
|
|
4095
4104
|
rel: "noopener noreferrer",
|
|
4096
4105
|
style: { color: "inherit" },
|
|
4097
4106
|
target: "_blank"
|
|
@@ -4102,8 +4111,8 @@ const je = q("settings", () => {
|
|
|
4102
4111
|
image: t(d),
|
|
4103
4112
|
size: "24"
|
|
4104
4113
|
}, null, 8, ["image"]),
|
|
4105
|
-
|
|
4106
|
-
(
|
|
4114
|
+
V("div", null, S((f = t(l)) == null ? void 0 : f.metadata.text), 1),
|
|
4115
|
+
(v = t(l)) != null && v.metadata.advertisement ? (u(), h(X, {
|
|
4107
4116
|
key: 0,
|
|
4108
4117
|
class: "ms-auto me-n4 align-self-end mb-n2 py-1 ps-3",
|
|
4109
4118
|
rounded: "0 ts-lg",
|
|
@@ -4111,14 +4120,14 @@ const je = q("settings", () => {
|
|
|
4111
4120
|
text: "SPONSORED",
|
|
4112
4121
|
variant: "flat"
|
|
4113
4122
|
})) : C("", !0)
|
|
4114
|
-
], 8,
|
|
4123
|
+
], 8, qs)
|
|
4115
4124
|
];
|
|
4116
4125
|
}),
|
|
4117
4126
|
_: 1
|
|
4118
4127
|
}, 8, ["color", "image"]);
|
|
4119
4128
|
};
|
|
4120
4129
|
}
|
|
4121
|
-
}),
|
|
4130
|
+
}), Gs = ["id"], Qs = /* @__PURE__ */ k({
|
|
4122
4131
|
__name: "VoScript",
|
|
4123
4132
|
props: {
|
|
4124
4133
|
id: {
|
|
@@ -4136,11 +4145,11 @@ const je = q("settings", () => {
|
|
|
4136
4145
|
},
|
|
4137
4146
|
emits: ["script:error", "script:load"],
|
|
4138
4147
|
setup(c, { emit: e }) {
|
|
4139
|
-
const n = c, o = e, s =
|
|
4148
|
+
const n = c, o = e, s = O(), a = O();
|
|
4140
4149
|
return Ge(async () => {
|
|
4141
4150
|
const l = document.createElement("script"), d = () => o("script:error");
|
|
4142
4151
|
l.type = "text/javascript", l.id = n.scriptId, l.src = n.src, l.onload = () => o("script:load"), l.onerror = d, a.value = l;
|
|
4143
|
-
}),
|
|
4152
|
+
}), Ue(() => {
|
|
4144
4153
|
var l;
|
|
4145
4154
|
a.value && ((l = s.value) == null || l.appendChild(a.value));
|
|
4146
4155
|
}), Tt(() => {
|
|
@@ -4150,12 +4159,12 @@ const je = q("settings", () => {
|
|
|
4150
4159
|
id: c.id,
|
|
4151
4160
|
ref_key: "rootEl",
|
|
4152
4161
|
ref: s
|
|
4153
|
-
}, null, 8,
|
|
4162
|
+
}, null, 8, Gs));
|
|
4154
4163
|
}
|
|
4155
|
-
}),
|
|
4164
|
+
}), Ys = (c) => (Ft("data-v-d01d30e4"), c = c(), Mt(), c), Js = ["href", "title"], Xs = {
|
|
4156
4165
|
class: "text-caption text-disabled",
|
|
4157
4166
|
style: { position: "absolute", right: "16px" }
|
|
4158
|
-
},
|
|
4167
|
+
}, Ks = /* @__PURE__ */ Ys(() => /* @__PURE__ */ V("span", { class: "d-none d-sm-inline-block" }, "Vuetify, LLC", -1)), ea = /* @__PURE__ */ k({
|
|
4159
4168
|
__name: "VoSocialFooter",
|
|
4160
4169
|
setup(c) {
|
|
4161
4170
|
const e = je(), n = [
|
|
@@ -4192,13 +4201,13 @@ const je = q("settings", () => {
|
|
|
4192
4201
|
];
|
|
4193
4202
|
return (o, s) => {
|
|
4194
4203
|
const a = At;
|
|
4195
|
-
return u(),
|
|
4204
|
+
return u(), h(a, {
|
|
4196
4205
|
class: "vo-footer",
|
|
4197
4206
|
height: "40",
|
|
4198
4207
|
image: t(e).suit.footer
|
|
4199
4208
|
}, R({
|
|
4200
4209
|
default: r(() => [
|
|
4201
|
-
(u(), I(T, null, K(n, (l) =>
|
|
4210
|
+
(u(), I(T, null, K(n, (l) => V("a", {
|
|
4202
4211
|
key: l.title,
|
|
4203
4212
|
class: "d-inline-block mx-2 social-link",
|
|
4204
4213
|
href: l.href,
|
|
@@ -4206,14 +4215,14 @@ const je = q("settings", () => {
|
|
|
4206
4215
|
target: "_blank",
|
|
4207
4216
|
title: l.title
|
|
4208
4217
|
}, [
|
|
4209
|
-
i(
|
|
4218
|
+
i(U, {
|
|
4210
4219
|
icon: l.icon,
|
|
4211
4220
|
size: l.icon === "$vuetify" ? 24 : 16
|
|
4212
4221
|
}, null, 8, ["icon", "size"])
|
|
4213
|
-
], 8,
|
|
4214
|
-
|
|
4222
|
+
], 8, Js)), 64)),
|
|
4223
|
+
V("div", Xs, [
|
|
4215
4224
|
N(" © 2016-" + S((/* @__PURE__ */ new Date()).getFullYear()) + " ", 1),
|
|
4216
|
-
|
|
4225
|
+
Ks
|
|
4217
4226
|
])
|
|
4218
4227
|
]),
|
|
4219
4228
|
_: 2
|
|
@@ -4228,67 +4237,67 @@ const je = q("settings", () => {
|
|
|
4228
4237
|
]), 1032, ["image"]);
|
|
4229
4238
|
};
|
|
4230
4239
|
}
|
|
4231
|
-
}),
|
|
4232
|
-
const c = oe(), e = Ke(), n =
|
|
4240
|
+
}), ta = /* @__PURE__ */ et(ea, [["__scopeId", "data-v-d01d30e4"]]), oa = q("spots", () => {
|
|
4241
|
+
const c = oe(), e = Ke(), n = O([]), o = O([]), s = O(), a = A(!1), l = x(() => s.value ? s.value : n.value.find(({
|
|
4233
4242
|
metadata: {
|
|
4234
|
-
site:
|
|
4235
|
-
active:
|
|
4243
|
+
site: g,
|
|
4244
|
+
active: f
|
|
4236
4245
|
}
|
|
4237
|
-
}) =>
|
|
4246
|
+
}) => f ? g.includes("dev") && !1 || g.includes("*") ? !0 : g.some((v) => e.id.includes(v)) : !1));
|
|
4238
4247
|
async function d() {
|
|
4239
4248
|
try {
|
|
4240
4249
|
a.value = !0;
|
|
4241
|
-
const
|
|
4242
|
-
n.value =
|
|
4250
|
+
const g = await c.get("/one/spots");
|
|
4251
|
+
n.value = g.spots;
|
|
4243
4252
|
} catch {
|
|
4244
4253
|
} finally {
|
|
4245
4254
|
a.value = !1;
|
|
4246
4255
|
}
|
|
4247
4256
|
return n.value;
|
|
4248
4257
|
}
|
|
4249
|
-
async function p(
|
|
4258
|
+
async function p(g) {
|
|
4250
4259
|
try {
|
|
4251
4260
|
a.value = !0;
|
|
4252
|
-
const
|
|
4253
|
-
return s.value =
|
|
4261
|
+
const f = await c.get(`/one/admin/spots/${g}`);
|
|
4262
|
+
return s.value = f.spot, f.spot;
|
|
4254
4263
|
} catch {
|
|
4255
4264
|
} finally {
|
|
4256
4265
|
a.value = !1;
|
|
4257
4266
|
}
|
|
4258
4267
|
}
|
|
4259
|
-
async function m(
|
|
4268
|
+
async function m(g) {
|
|
4260
4269
|
try {
|
|
4261
4270
|
a.value = !0;
|
|
4262
|
-
const
|
|
4271
|
+
const f = await c.form(
|
|
4263
4272
|
"/one/admin/spots",
|
|
4264
|
-
|
|
4273
|
+
g
|
|
4265
4274
|
);
|
|
4266
|
-
return s.value =
|
|
4275
|
+
return s.value = f.spot, f.spot;
|
|
4267
4276
|
} catch {
|
|
4268
4277
|
} finally {
|
|
4269
4278
|
a.value = !1;
|
|
4270
4279
|
}
|
|
4271
4280
|
}
|
|
4272
|
-
async function
|
|
4281
|
+
async function _(g, f) {
|
|
4273
4282
|
try {
|
|
4274
4283
|
a.value = !0;
|
|
4275
|
-
const
|
|
4276
|
-
`/one/admin/spots/${
|
|
4277
|
-
|
|
4284
|
+
const v = await c.form(
|
|
4285
|
+
`/one/admin/spots/${g}`,
|
|
4286
|
+
f
|
|
4278
4287
|
);
|
|
4279
|
-
return s.value =
|
|
4288
|
+
return s.value = v.spot, v.spot;
|
|
4280
4289
|
} catch {
|
|
4281
4290
|
} finally {
|
|
4282
4291
|
a.value = !1;
|
|
4283
4292
|
}
|
|
4284
4293
|
}
|
|
4285
|
-
async function
|
|
4294
|
+
async function y() {
|
|
4286
4295
|
}
|
|
4287
|
-
async function
|
|
4296
|
+
async function $() {
|
|
4288
4297
|
try {
|
|
4289
4298
|
a.value = !0;
|
|
4290
|
-
const
|
|
4291
|
-
o.value =
|
|
4299
|
+
const g = await c.get("/one/admin/spots");
|
|
4300
|
+
o.value = g.spots;
|
|
4292
4301
|
} catch {
|
|
4293
4302
|
} finally {
|
|
4294
4303
|
a.value = !1;
|
|
@@ -4301,17 +4310,17 @@ const je = q("settings", () => {
|
|
|
4301
4310
|
isLoading: a,
|
|
4302
4311
|
spot: l,
|
|
4303
4312
|
record: s,
|
|
4304
|
-
admin:
|
|
4313
|
+
admin: $,
|
|
4305
4314
|
index: d,
|
|
4306
4315
|
show: p,
|
|
4307
4316
|
store: m,
|
|
4308
|
-
update:
|
|
4309
|
-
destroy:
|
|
4317
|
+
update: _,
|
|
4318
|
+
destroy: y
|
|
4310
4319
|
};
|
|
4311
|
-
}),
|
|
4320
|
+
}), na = ["href"], sa = /* @__PURE__ */ k({
|
|
4312
4321
|
__name: "VoSpot",
|
|
4313
4322
|
setup(c) {
|
|
4314
|
-
const e =
|
|
4323
|
+
const e = oa();
|
|
4315
4324
|
return (n, o) => {
|
|
4316
4325
|
var s;
|
|
4317
4326
|
return t(e).spot ? (u(), I("a", {
|
|
@@ -4327,10 +4336,10 @@ const je = q("settings", () => {
|
|
|
4327
4336
|
src: (s = t(e).spot.metadata.image) == null ? void 0 : s.url,
|
|
4328
4337
|
width: "225"
|
|
4329
4338
|
}, null, 8, ["color", "src"])
|
|
4330
|
-
], 8,
|
|
4339
|
+
], 8, na)) : C("", !0);
|
|
4331
4340
|
};
|
|
4332
4341
|
}
|
|
4333
|
-
}),
|
|
4342
|
+
}), Ga = {
|
|
4334
4343
|
discord: ["M22,24L16.75,19L17.38,21H4.5A2.5,2.5 0 0,1 2,18.5V3.5A2.5,2.5 0 0,1 4.5,1H19.5A2.5,2.5 0 0,1 22,3.5V24M12,6.8C9.32,6.8 7.44,7.95 7.44,7.95C8.47,7.03 10.27,6.5 10.27,6.5L10.1,6.33C8.41,6.36 6.88,7.53 6.88,7.53C5.16,11.12 5.27,14.22 5.27,14.22C6.67,16.03 8.75,15.9 8.75,15.9L9.46,15C8.21,14.73 7.42,13.62 7.42,13.62C7.42,13.62 9.3,14.9 12,14.9C14.7,14.9 16.58,13.62 16.58,13.62C16.58,13.62 15.79,14.73 14.54,15L15.25,15.9C15.25,15.9 17.33,16.03 18.73,14.22C18.73,14.22 18.84,11.12 17.12,7.53C17.12,7.53 15.59,6.36 13.9,6.33L13.73,6.5C13.73,6.5 15.53,7.03 16.56,7.95C16.56,7.95 14.68,6.8 12,6.8M9.93,10.59C10.58,10.59 11.11,11.16 11.1,11.86C11.1,12.55 10.58,13.13 9.93,13.13C9.29,13.13 8.77,12.55 8.77,11.86C8.77,11.16 9.28,10.59 9.93,10.59M14.1,10.59C14.75,10.59 15.27,11.16 15.27,11.86C15.27,12.55 14.75,13.13 14.1,13.13C13.46,13.13 12.94,12.55 12.94,11.86C12.94,11.16 13.45,10.59 14.1,10.59Z"],
|
|
4335
4344
|
github: ["M12,2A10,10 0 0,0 2,12C2,16.42 4.87,20.17 8.84,21.5C9.34,21.58 9.5,21.27 9.5,21C9.5,20.77 9.5,20.14 9.5,19.31C6.73,19.91 6.14,17.97 6.14,17.97C5.68,16.81 5.03,16.5 5.03,16.5C4.12,15.88 5.1,15.9 5.1,15.9C6.1,15.97 6.63,16.93 6.63,16.93C7.5,18.45 8.97,18 9.54,17.76C9.63,17.11 9.89,16.67 10.17,16.42C7.95,16.17 5.62,15.31 5.62,11.5C5.62,10.39 6,9.5 6.65,8.79C6.55,8.54 6.2,7.5 6.75,6.15C6.75,6.15 7.59,5.88 9.5,7.17C10.29,6.95 11.15,6.84 12,6.84C12.85,6.84 13.71,6.95 14.5,7.17C16.41,5.88 17.25,6.15 17.25,6.15C17.8,7.5 17.45,8.54 17.35,8.79C18,9.5 18.38,10.39 18.38,11.5C18.38,15.32 16.04,16.16 13.81,16.41C14.17,16.72 14.5,17.33 14.5,18.26C14.5,19.6 14.5,20.68 14.5,21C14.5,21.27 14.66,21.59 15.17,21.5C19.14,20.16 22,16.42 22,12A10,10 0 0,0 12,2Z"],
|
|
4336
4345
|
reddit: "M14.5 15.41C14.58 15.5 14.58 15.69 14.5 15.8C13.77 16.5 12.41 16.56 12 16.56C11.61 16.56 10.25 16.5 9.54 15.8C9.44 15.69 9.44 15.5 9.54 15.41C9.65 15.31 9.82 15.31 9.92 15.41C10.38 15.87 11.33 16 12 16C12.69 16 13.66 15.87 14.1 15.41C14.21 15.31 14.38 15.31 14.5 15.41M10.75 13.04C10.75 12.47 10.28 12 9.71 12C9.14 12 8.67 12.47 8.67 13.04C8.67 13.61 9.14 14.09 9.71 14.08C10.28 14.08 10.75 13.61 10.75 13.04M14.29 12C13.72 12 13.25 12.5 13.25 13.05S13.72 14.09 14.29 14.09C14.86 14.09 15.33 13.61 15.33 13.05C15.33 12.5 14.86 12 14.29 12M22 12C22 17.5 17.5 22 12 22S2 17.5 2 12C2 6.5 6.5 2 12 2S22 6.5 22 12M18.67 12C18.67 11.19 18 10.54 17.22 10.54C16.82 10.54 16.46 10.7 16.2 10.95C15.2 10.23 13.83 9.77 12.3 9.71L12.97 6.58L15.14 7.05C15.16 7.6 15.62 8.04 16.18 8.04C16.75 8.04 17.22 7.57 17.22 7C17.22 6.43 16.75 5.96 16.18 5.96C15.77 5.96 15.41 6.2 15.25 6.55L12.82 6.03C12.75 6 12.68 6.03 12.63 6.07C12.57 6.11 12.54 6.17 12.53 6.24L11.79 9.72C10.24 9.77 8.84 10.23 7.82 10.96C7.56 10.71 7.2 10.56 6.81 10.56C6 10.56 5.35 11.21 5.35 12C5.35 12.61 5.71 13.11 6.21 13.34C6.19 13.5 6.18 13.62 6.18 13.78C6.18 16 8.79 17.85 12 17.85C15.23 17.85 17.85 16.03 17.85 13.78C17.85 13.64 17.84 13.5 17.81 13.34C18.31 13.11 18.67 12.6 18.67 12Z",
|
|
@@ -4351,70 +4360,70 @@ const je = q("settings", () => {
|
|
|
4351
4360
|
["M12.435 14.3194L22 4L9.26479 7.61064L12.435 14.3194Z", 1],
|
|
4352
4361
|
["M2 4L6.87046 12.2799L9.26479 7.61064L2 4Z", 1]
|
|
4353
4362
|
]
|
|
4354
|
-
},
|
|
4355
|
-
const c = P(), e = oe(), n =
|
|
4363
|
+
}, Qa = q("bins", () => {
|
|
4364
|
+
const c = P(), e = oe(), n = O([]), o = O(), s = A(!1), a = A(-1), l = x(() => !c.user || !o.value ? !1 : c.user.id === o.value.owner.id), d = x(() => n.value.filter((v) => v.favorite)), p = x(() => n.value.filter((v) => v.pinned));
|
|
4356
4365
|
z(o, () => {
|
|
4357
4366
|
window.clearTimeout(a.value), a.value = window.setTimeout(() => {
|
|
4358
|
-
!o.value || !l.value ||
|
|
4367
|
+
!o.value || !l.value || $(o.value, o.value.id);
|
|
4359
4368
|
}, 100);
|
|
4360
4369
|
}, { deep: !0 });
|
|
4361
4370
|
async function m() {
|
|
4362
4371
|
try {
|
|
4363
4372
|
s.value = !0;
|
|
4364
|
-
const
|
|
4365
|
-
n.value =
|
|
4373
|
+
const v = await e.get("/one/bins");
|
|
4374
|
+
n.value = v.bins;
|
|
4366
4375
|
} catch {
|
|
4367
4376
|
} finally {
|
|
4368
4377
|
s.value = !1;
|
|
4369
4378
|
}
|
|
4370
4379
|
return n.value;
|
|
4371
4380
|
}
|
|
4372
|
-
async function
|
|
4381
|
+
async function _(v) {
|
|
4373
4382
|
try {
|
|
4374
|
-
s.value = !0, await e.delete(`/one/bins/${
|
|
4383
|
+
s.value = !0, await e.delete(`/one/bins/${v}`), n.value = n.value.filter((b) => b.id !== v);
|
|
4375
4384
|
} catch {
|
|
4376
4385
|
} finally {
|
|
4377
4386
|
s.value = !1;
|
|
4378
4387
|
}
|
|
4379
4388
|
return !0;
|
|
4380
4389
|
}
|
|
4381
|
-
async function
|
|
4390
|
+
async function y(v) {
|
|
4382
4391
|
try {
|
|
4383
4392
|
s.value = !0;
|
|
4384
|
-
const b = await e.post("/one/bins", { bin:
|
|
4393
|
+
const b = await e.post("/one/bins", { bin: v });
|
|
4385
4394
|
return n.value.push(b.bin), o.value = b.bin, b;
|
|
4386
4395
|
} catch {
|
|
4387
4396
|
} finally {
|
|
4388
4397
|
s.value = !1;
|
|
4389
4398
|
}
|
|
4390
|
-
return { bin:
|
|
4399
|
+
return { bin: v };
|
|
4391
4400
|
}
|
|
4392
|
-
async function
|
|
4401
|
+
async function $(v, b) {
|
|
4393
4402
|
try {
|
|
4394
4403
|
s.value = !0;
|
|
4395
|
-
const M = await e.post(`/one/bins/${b}`, { bin:
|
|
4404
|
+
const M = await e.post(`/one/bins/${b}`, { bin: v }), D = n.value.findIndex((H) => H.id === b);
|
|
4396
4405
|
n.value.splice(D, 1, M.bin);
|
|
4397
4406
|
} catch {
|
|
4398
4407
|
} finally {
|
|
4399
4408
|
s.value = !1;
|
|
4400
4409
|
}
|
|
4401
|
-
return { bin:
|
|
4410
|
+
return { bin: v };
|
|
4402
4411
|
}
|
|
4403
|
-
async function
|
|
4412
|
+
async function g(v, b) {
|
|
4404
4413
|
try {
|
|
4405
4414
|
s.value = !0;
|
|
4406
|
-
const M = b ? await
|
|
4415
|
+
const M = b ? await $(v, b) : await y(v);
|
|
4407
4416
|
o.value = M.bin;
|
|
4408
4417
|
} catch {
|
|
4409
4418
|
} finally {
|
|
4410
4419
|
s.value = !1;
|
|
4411
4420
|
}
|
|
4412
|
-
return { bin:
|
|
4421
|
+
return { bin: v };
|
|
4413
4422
|
}
|
|
4414
|
-
async function
|
|
4423
|
+
async function f(v) {
|
|
4415
4424
|
try {
|
|
4416
4425
|
s.value = !0;
|
|
4417
|
-
const b = await e.get(`/one/bins/${
|
|
4426
|
+
const b = await e.get(`/one/bins/${v}`);
|
|
4418
4427
|
o.value = b.bin;
|
|
4419
4428
|
} catch {
|
|
4420
4429
|
} finally {
|
|
@@ -4428,16 +4437,16 @@ const je = q("settings", () => {
|
|
|
4428
4437
|
pinned: p,
|
|
4429
4438
|
favorites: d,
|
|
4430
4439
|
all: n,
|
|
4431
|
-
create:
|
|
4432
|
-
delete:
|
|
4440
|
+
create: y,
|
|
4441
|
+
delete: _,
|
|
4433
4442
|
current: o,
|
|
4434
|
-
find:
|
|
4443
|
+
find: f,
|
|
4435
4444
|
get: m,
|
|
4436
|
-
update:
|
|
4437
|
-
updateOrCreate:
|
|
4445
|
+
update: $,
|
|
4446
|
+
updateOrCreate: g
|
|
4438
4447
|
};
|
|
4439
|
-
}),
|
|
4440
|
-
const c = oe(), e =
|
|
4448
|
+
}), Ya = q("products", () => {
|
|
4449
|
+
const c = oe(), e = O([]), n = x(() => e.value.filter((a) => a.product_type === "Themes"));
|
|
4441
4450
|
async function o() {
|
|
4442
4451
|
if (e.value.length) return e.value;
|
|
4443
4452
|
try {
|
|
@@ -4457,31 +4466,31 @@ const je = q("settings", () => {
|
|
|
4457
4466
|
randomize: s
|
|
4458
4467
|
};
|
|
4459
4468
|
});
|
|
4460
|
-
function
|
|
4469
|
+
function Ja() {
|
|
4461
4470
|
function c(e) {
|
|
4462
|
-
e.component("VoAppBar", Ns), e.component("VoAuthBtn",
|
|
4471
|
+
e.component("VoAppBar", Ns), e.component("VoAuthBtn", Lt), e.component("VoAuthCard", kt), e.component("VoAuthDialog", $t), e.component("VoAuthListItem", wt), e.component("VoIconBin", St), e.component("VoIconIssues", Ct), e.component("VoNotificationsBanner", Fs), e.component("VoPromotionsCardHighlight", zs), e.component("VoPromotionsCardVuetify", Rs), e.component("VoPromotionsFooter", Zs), e.component("VoScript", Qs), e.component("VoSocialFooter", ta), e.component("VoSpot", sa);
|
|
4463
4472
|
}
|
|
4464
4473
|
return { install: c };
|
|
4465
4474
|
}
|
|
4466
|
-
function
|
|
4475
|
+
function Xa(c, e) {
|
|
4467
4476
|
return function(n) {
|
|
4468
4477
|
const o = n.store;
|
|
4469
4478
|
o.url = e, o.$id === "site" && (o.id = c);
|
|
4470
4479
|
};
|
|
4471
4480
|
}
|
|
4472
4481
|
export {
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
|
|
4482
|
+
Ga as aliases,
|
|
4483
|
+
Ja as createOne,
|
|
4484
|
+
Xa as one,
|
|
4476
4485
|
P as useAuthStore,
|
|
4477
4486
|
He as useBannersStore,
|
|
4478
|
-
|
|
4487
|
+
Qa as useBinsStore,
|
|
4479
4488
|
oe as useHttpStore,
|
|
4480
4489
|
j as useOneStore,
|
|
4481
|
-
|
|
4482
|
-
|
|
4490
|
+
Ya as useProductsStore,
|
|
4491
|
+
tt as usePromotionsStore,
|
|
4483
4492
|
Po as useQueueStore,
|
|
4484
4493
|
je as useSettingsStore,
|
|
4485
|
-
|
|
4494
|
+
oa as useSpotsStore,
|
|
4486
4495
|
F as useUserStore
|
|
4487
4496
|
};
|