@vuetify/one 1.7.1 → 1.7.2
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 +798 -979
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import { reactive as
|
|
2
|
-
import { mdiStorefront as
|
|
3
|
-
import { useRouter as
|
|
1
|
+
import { reactive as Bt, watch as z, toRefs as Nt, ref as N, shallowRef as A, defineComponent as k, computed as x, openBlock as d, createBlock as h, unref as t, createSlots as M, withCtx as r, createElementVNode as b, toDisplayString as L, createVNode as i, createTextVNode as O, renderSlot as B, normalizeStyle as at, createCommentVNode as S, withModifiers as Ze, mergeModels as Ot, useModel as le, createElementBlock as I, Fragment as U, onMounted as Be, nextTick as he, renderList as ne, mergeProps as E, withDirectives as ge, vShow as Ne, isRef as se, resolveComponent as Oe, normalizeClass as Ut, onBeforeMount as Qe, onBeforeUnmount as Tt, pushScopeId as Ft, popScopeId as zt } from "vue";
|
|
2
|
+
import { mdiStorefront as jt, mdiDiscord as Ye, mdiGithub as Je, mdiSync as Pt, mdiSyncOff as Mt, mdiLogoutVariant as Ht, mdiFullscreenExit as Rt, mdiFullscreen as Et, mdiCheck as Ue, mdiHome as Wt, mdiTextBox as qt, mdiSelect as Gt, mdiSpaceInvaders as it, mdiImageFilterHdr as rt, mdiRocketLaunchOutline as lt, mdiWhiteBalanceSunny as Zt, mdiWeatherNight as Qt, mdiDesktopTowerMonitor as Yt, mdiContrastCircle as Jt, mdiCog as Xt, mdiCogOutline as Kt, mdiFileDocument as eo, mdiCreditCardSettingsOutline as to, mdiRocketOutline as oo, mdiCheckCircleOutline as De, mdiCreditCard as no, mdiReload as so, mdiPlaylistCheck as ao, mdiCreditCardOutline as io, mdiMedal as ro, mdiOpenInNew as Te, mdiHandHeart as lo, mdiHandHeartOutline as co, mdiCloudDownload as uo, mdiTrayArrowDown as st, mdiEmailOpenOutline as ct, mdiEmailVariant as ut, mdiBell as po, mdiInboxOutline as mo, mdiInboxFullOutline as fo, mdiBillboard as vo, mdiBellOutline as _o, mdiViewDashboardOutline as ho, mdiCrown as go, mdiArrowULeftBottom as yo, mdiLogin as bo, mdiShieldStarOutline as Vo, mdiReddit as ko } from "@mdi/js";
|
|
3
|
+
import { useRouter as Xe, useRoute as $o } from "vue-router";
|
|
4
4
|
import { defineStore as G } from "pinia";
|
|
5
|
-
import { merge as
|
|
6
|
-
import { VListItem as
|
|
5
|
+
import { merge as Ee } from "lodash-es";
|
|
6
|
+
import { VListItem as ce, VList as ae, VListItemTitle as dt, VListItemSubtitle as wo } from "vuetify/lib/components/VList/index.mjs";
|
|
7
7
|
import { VAvatar as K } from "vuetify/lib/components/VAvatar/index.mjs";
|
|
8
|
-
import { VCard as
|
|
9
|
-
import { VDialog as
|
|
10
|
-
import { VBadge as
|
|
8
|
+
import { VCard as W, VCardTitle as xo, VCardSubtitle as So, VCardText as ie } from "vuetify/lib/components/VCard/index.mjs";
|
|
9
|
+
import { VDialog as pt } from "vuetify/lib/components/VDialog/index.mjs";
|
|
10
|
+
import { VBadge as Ke } from "vuetify/lib/components/VBadge/index.mjs";
|
|
11
11
|
import { VBtn as q } from "vuetify/lib/components/VBtn/index.mjs";
|
|
12
|
-
import { VProgressCircular as
|
|
13
|
-
import { VSheet as
|
|
14
|
-
import { VSwitch as
|
|
15
|
-
import { VFadeTransition as
|
|
16
|
-
import { useDisplay as
|
|
12
|
+
import { VProgressCircular as Co } from "vuetify/lib/components/VProgressCircular/index.mjs";
|
|
13
|
+
import { VSheet as et } from "vuetify/lib/components/VSheet/index.mjs";
|
|
14
|
+
import { VSwitch as mt } from "vuetify/lib/components/VSwitch/index.mjs";
|
|
15
|
+
import { VFadeTransition as Fe, VExpandTransition as ue, VExpandXTransition as Lo } from "vuetify/lib/components/transitions/index.mjs";
|
|
16
|
+
import { useDisplay as de, useTheme as ze, useDate as ye } from "vuetify";
|
|
17
17
|
import { VDivider as Q } from "vuetify/lib/components/VDivider/index.mjs";
|
|
18
18
|
import { VIcon as D } from "vuetify/lib/components/VIcon/index.mjs";
|
|
19
|
-
import { VLabel as
|
|
20
|
-
import { VChip as
|
|
21
|
-
import { VChipGroup as
|
|
22
|
-
import { VSelect as
|
|
23
|
-
import { VRow as
|
|
24
|
-
import { VHover as
|
|
25
|
-
import { VImg as
|
|
26
|
-
import { VItemGroup as
|
|
27
|
-
import { VLayout as
|
|
28
|
-
import { VMain as
|
|
29
|
-
import { VDataTableVirtual as
|
|
30
|
-
import { VSkeletonLoader as
|
|
31
|
-
import { VWindow as
|
|
32
|
-
import { VTimelineItem as
|
|
33
|
-
import { VTooltip as
|
|
34
|
-
import { VResponsive as
|
|
35
|
-
import { VNavigationDrawer as
|
|
36
|
-
import { Ripple as
|
|
37
|
-
import { VColorPicker as
|
|
19
|
+
import { VLabel as qe } from "vuetify/lib/components/VLabel/index.mjs";
|
|
20
|
+
import { VChip as X } from "vuetify/lib/components/VChip/index.mjs";
|
|
21
|
+
import { VChipGroup as Io } from "vuetify/lib/components/VChipGroup/index.mjs";
|
|
22
|
+
import { VSelect as Ao } from "vuetify/lib/components/VSelect/index.mjs";
|
|
23
|
+
import { VRow as be, VCol as re } from "vuetify/lib/components/VGrid/index.mjs";
|
|
24
|
+
import { VHover as je } from "vuetify/lib/components/VHover/index.mjs";
|
|
25
|
+
import { VImg as ee } from "vuetify/lib/components/VImg/index.mjs";
|
|
26
|
+
import { VItemGroup as ft, VItem as Ge } from "vuetify/lib/components/VItemGroup/index.mjs";
|
|
27
|
+
import { VLayout as Ve } from "vuetify/lib/components/VLayout/index.mjs";
|
|
28
|
+
import { VMain as ke } from "vuetify/lib/components/VMain/index.mjs";
|
|
29
|
+
import { VDataTableVirtual as vt } from "vuetify/lib/components/VDataTable/index.mjs";
|
|
30
|
+
import { VSkeletonLoader as _e } from "vuetify/lib/components/VSkeletonLoader/index.mjs";
|
|
31
|
+
import { VWindow as _t, VWindowItem as ve } from "vuetify/lib/components/VWindow/index.mjs";
|
|
32
|
+
import { VTimelineItem as Do, VTimeline as Bo } from "vuetify/lib/components/VTimeline/index.mjs";
|
|
33
|
+
import { VTooltip as J } from "vuetify/lib/components/VTooltip/index.mjs";
|
|
34
|
+
import { VResponsive as No } from "vuetify/lib/components/VResponsive/index.mjs";
|
|
35
|
+
import { VNavigationDrawer as Oo } from "vuetify/lib/components/VNavigationDrawer/index.mjs";
|
|
36
|
+
import { Ripple as Uo } from "vuetify/lib/directives/index.mjs";
|
|
37
|
+
import { VColorPicker as To } from "vuetify/lib/components/VColorPicker/index.mjs";
|
|
38
38
|
import { VMenu as Fo } from "vuetify/components";
|
|
39
|
-
import { VAppBar as
|
|
40
|
-
import { VLazy as
|
|
41
|
-
import { VFooter as
|
|
42
|
-
const
|
|
39
|
+
import { VAppBar as ht } from "vuetify/lib/components/VAppBar/index.mjs";
|
|
40
|
+
import { VLazy as zo } from "vuetify/lib/components/VLazy/index.mjs";
|
|
41
|
+
import { VFooter as jo } from "vuetify/lib/components/VFooter/index.mjs";
|
|
42
|
+
const te = G("http", {
|
|
43
43
|
state: () => ({
|
|
44
44
|
url: ""
|
|
45
45
|
}),
|
|
@@ -78,7 +78,7 @@ const se = G("http", {
|
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
|
-
}),
|
|
81
|
+
}), We = typeof window < "u", Ae = {
|
|
82
82
|
v: 5,
|
|
83
83
|
api: "link-only",
|
|
84
84
|
avatar: "",
|
|
@@ -117,21 +117,21 @@ const se = G("http", {
|
|
|
117
117
|
jobs: null
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
|
-
},
|
|
121
|
-
const c =
|
|
122
|
-
|
|
120
|
+
}, T = G("user", () => {
|
|
121
|
+
const c = Bt(Ee({}, Ae));
|
|
122
|
+
z(c, o);
|
|
123
123
|
function e() {
|
|
124
|
-
if (!
|
|
124
|
+
if (!We)
|
|
125
125
|
return;
|
|
126
126
|
const n = localStorage.getItem("vuetify@user"), s = n ? JSON.parse(n) : {};
|
|
127
127
|
let l = s.v === c.v;
|
|
128
|
-
s.v || (s.pwaRefresh = !0, typeof s.api == "boolean" && (s.api = s.api ? "inline" : "link-only"), typeof s.rtl == "boolean" && (s.direction = s.rtl ? "rtl" : "ltr", delete s.rtl), typeof s.theme == "object" && (s.mixedTheme = s.theme.mixed, s.theme = s.theme.system ? "system" : s.theme.dark ? "dark" : "light"), Array.isArray(s.notifications) && (s.notifications = { read: s.notifications }), typeof s.last == "object" && (s.notifications.last = s.last, delete s.last)), s.v === 1 && (Array.isArray(s.composition) && (s.composition = "composition"), Array.isArray(s.notifications.last.banner) || (s.notifications = s.notifications || {}, s.notifications.last = s.notifications.last || {}, s.notifications.last.banner = [])), s.v === 2 && (s.syncSettings = !0, s.disableAds = !1, s.v = 3), s.v === 3 && (s.quickbar = !1), s.v === 4 && (s.suits =
|
|
128
|
+
s.v || (s.pwaRefresh = !0, typeof s.api == "boolean" && (s.api = s.api ? "inline" : "link-only"), typeof s.rtl == "boolean" && (s.direction = s.rtl ? "rtl" : "ltr", delete s.rtl), typeof s.theme == "object" && (s.mixedTheme = s.theme.mixed, s.theme = s.theme.system ? "system" : s.theme.dark ? "dark" : "light"), Array.isArray(s.notifications) && (s.notifications = { read: s.notifications }), typeof s.last == "object" && (s.notifications.last = s.last, delete s.last)), s.v === 1 && (Array.isArray(s.composition) && (s.composition = "composition"), Array.isArray(s.notifications.last.banner) || (s.notifications = s.notifications || {}, s.notifications.last = s.notifications.last || {}, s.notifications.last.banner = [])), s.v === 2 && (s.syncSettings = !0, s.disableAds = !1, s.v = 3), s.v === 3 && (s.quickbar = !1), s.v === 4 && (s.suits = Ae.suits, s.notifications.banners = Ae.notifications.banners, l = !0), s.v = c.v, Object.assign(c, Ee(c, s)), l && o();
|
|
129
129
|
}
|
|
130
130
|
function o() {
|
|
131
|
-
|
|
131
|
+
We && localStorage.setItem("vuetify@user", JSON.stringify(c, null, 2));
|
|
132
132
|
}
|
|
133
133
|
function a() {
|
|
134
|
-
|
|
134
|
+
We && (Object.assign(c, Ee({}, Ae)), o());
|
|
135
135
|
}
|
|
136
136
|
return e(), {
|
|
137
137
|
...Nt(c),
|
|
@@ -139,10 +139,10 @@ const se = G("http", {
|
|
|
139
139
|
save: o,
|
|
140
140
|
reset: a
|
|
141
141
|
};
|
|
142
|
-
}),
|
|
143
|
-
const c =
|
|
142
|
+
}), H = G("auth", () => {
|
|
143
|
+
const c = N(!1), e = N(null), o = te(), a = T(), n = Xe(), s = A(!1);
|
|
144
144
|
let l = !!y();
|
|
145
|
-
|
|
145
|
+
z(e, (v) => {
|
|
146
146
|
if (!(v != null && v.settings))
|
|
147
147
|
return;
|
|
148
148
|
const g = localStorage.getItem("vuetify@user") || "{}";
|
|
@@ -184,31 +184,31 @@ const se = G("http", {
|
|
|
184
184
|
window.location.assign(g + "?next=" + encodeURIComponent(window.location.href));
|
|
185
185
|
return;
|
|
186
186
|
}
|
|
187
|
-
const
|
|
187
|
+
const _ = 400, $ = 600, F = window.screenX + (window.innerWidth - _) / 2, P = window.screenY + (window.innerHeight - $) / 2, R = window.open(
|
|
188
188
|
"",
|
|
189
189
|
"vuetify:authorize:popup",
|
|
190
|
-
`popup,left=${F},top=${
|
|
190
|
+
`popup,left=${F},top=${P},width=${_},height=${$},resizable`
|
|
191
191
|
);
|
|
192
|
-
if (!
|
|
192
|
+
if (!R) {
|
|
193
193
|
console.error("Failed to open popup");
|
|
194
194
|
return;
|
|
195
195
|
}
|
|
196
|
-
|
|
197
|
-
let
|
|
198
|
-
function
|
|
199
|
-
var
|
|
200
|
-
|
|
196
|
+
R.location.href = g;
|
|
197
|
+
let Se = -1, Ce = -1;
|
|
198
|
+
function Le(oe) {
|
|
199
|
+
var fe;
|
|
200
|
+
oe.origin === o.url && ((fe = oe.data) == null ? void 0 : fe.type) === "auth-response" && (oe.data.status === "success" ? (e.value || localStorage.setItem("vuetify@lastLoginProvider", v), e.value = oe.data.body.user, n.push({
|
|
201
201
|
path: "/user/dashboard/",
|
|
202
202
|
query: n.currentRoute.value.query
|
|
203
|
-
}), p()) : console.error(
|
|
203
|
+
}), p()) : console.error(oe.data.message), me());
|
|
204
204
|
}
|
|
205
|
-
function
|
|
206
|
-
window.removeEventListener("message",
|
|
205
|
+
function me() {
|
|
206
|
+
window.removeEventListener("message", Le), window.clearInterval(Se), window.clearTimeout(Ce), R == null || R.close(), s.value = !1;
|
|
207
207
|
}
|
|
208
|
-
window.addEventListener("message",
|
|
209
|
-
!
|
|
210
|
-
}, 1e3),
|
|
211
|
-
|
|
208
|
+
window.addEventListener("message", Le), Se = window.setInterval(() => {
|
|
209
|
+
!R || R.closed ? (console.error("Auth popup closed"), me()) : R.postMessage({ type: "auth-request" }, "*");
|
|
210
|
+
}, 1e3), Ce = window.setTimeout(() => {
|
|
211
|
+
me(), console.error("Auth timed out");
|
|
212
212
|
}, 120 * 1e3);
|
|
213
213
|
}
|
|
214
214
|
async function f(v) {
|
|
@@ -216,8 +216,8 @@ const se = G("http", {
|
|
|
216
216
|
const g = v ? `/auth/${v}/logout` : "/auth/logout";
|
|
217
217
|
try {
|
|
218
218
|
await o.post(g), await u(!0), e.value = null;
|
|
219
|
-
} catch (
|
|
220
|
-
console.error(
|
|
219
|
+
} catch (_) {
|
|
220
|
+
console.error(_);
|
|
221
221
|
} finally {
|
|
222
222
|
n.push({
|
|
223
223
|
path: "/",
|
|
@@ -227,7 +227,7 @@ const se = G("http", {
|
|
|
227
227
|
}
|
|
228
228
|
function V(v) {
|
|
229
229
|
var g;
|
|
230
|
-
return (g = e.value) == null ? void 0 : g.identities.find((
|
|
230
|
+
return (g = e.value) == null ? void 0 : g.identities.find((_) => _.provider === v);
|
|
231
231
|
}
|
|
232
232
|
function y() {
|
|
233
233
|
return localStorage.getItem("vuetify@lastLoginProvider");
|
|
@@ -244,118 +244,118 @@ const se = G("http", {
|
|
|
244
244
|
lastLoginProvider: y,
|
|
245
245
|
sync: p
|
|
246
246
|
};
|
|
247
|
-
}), Po = { class: "text-body-2" },
|
|
247
|
+
}), Po = { class: "text-body-2" }, Mo = /* @__PURE__ */ b("div", { class: "text-caption mt-n1" }, "Last Used", -1), gt = /* @__PURE__ */ k({
|
|
248
248
|
__name: "VoAuthShopify",
|
|
249
249
|
setup(c) {
|
|
250
|
-
const e =
|
|
251
|
-
return (n, s) => (d(),
|
|
250
|
+
const e = H(), o = x(() => e.user && e.findIdentity("shopify")), a = x(() => e.user ? o.value ? "Connected to Shopify" : "Connect Shopify" : "Login with Shopify");
|
|
251
|
+
return (n, s) => (d(), h(ce, {
|
|
252
252
|
"base-color": "#5b8a3c",
|
|
253
|
-
"prepend-icon": `svg:${t(
|
|
253
|
+
"prepend-icon": `svg:${t(jt)}`,
|
|
254
254
|
rounded: "pill",
|
|
255
255
|
slim: "",
|
|
256
256
|
variant: "flat",
|
|
257
257
|
onClick: s[0] || (s[0] = (l) => t(e).login("shopify"))
|
|
258
|
-
},
|
|
258
|
+
}, M({
|
|
259
259
|
title: r(() => [
|
|
260
|
-
b("span", Po,
|
|
260
|
+
b("span", Po, L(t(a)), 1)
|
|
261
261
|
]),
|
|
262
262
|
_: 2
|
|
263
263
|
}, [
|
|
264
264
|
!t(e).user && t(e).lastLoginProvider() === "shopify" ? {
|
|
265
265
|
name: "subtitle",
|
|
266
266
|
fn: r(() => [
|
|
267
|
-
|
|
267
|
+
Mo
|
|
268
268
|
]),
|
|
269
269
|
key: "0"
|
|
270
270
|
} : void 0
|
|
271
271
|
]), 1032, ["prepend-icon"]));
|
|
272
272
|
}
|
|
273
|
-
}),
|
|
273
|
+
}), Ho = { class: "text-body-2" }, Ro = /* @__PURE__ */ b("div", { class: "text-caption mt-n1" }, "Last Used", -1), yt = /* @__PURE__ */ k({
|
|
274
274
|
__name: "VoAuthDiscord",
|
|
275
275
|
setup(c) {
|
|
276
|
-
const e =
|
|
277
|
-
return (n, s) => (d(),
|
|
276
|
+
const e = H(), o = x(() => e.user && e.findIdentity("discord")), a = x(() => e.user ? o.value ? "Connected to Discord" : "Connect Discord" : "Login with Discord");
|
|
277
|
+
return (n, s) => (d(), h(ce, {
|
|
278
278
|
"base-color": "#5865F2",
|
|
279
|
-
"prepend-icon": `svg:${t(
|
|
279
|
+
"prepend-icon": `svg:${t(Ye)}`,
|
|
280
280
|
rounded: "pill",
|
|
281
281
|
slim: "",
|
|
282
282
|
variant: "flat",
|
|
283
283
|
onClick: s[0] || (s[0] = (l) => t(e).login("discord"))
|
|
284
|
-
},
|
|
284
|
+
}, M({
|
|
285
285
|
title: r(() => [
|
|
286
|
-
b("span",
|
|
286
|
+
b("span", Ho, L(t(a)), 1)
|
|
287
287
|
]),
|
|
288
288
|
_: 2
|
|
289
289
|
}, [
|
|
290
290
|
!t(e).user && t(e).lastLoginProvider() === "discord" ? {
|
|
291
291
|
name: "subtitle",
|
|
292
292
|
fn: r(() => [
|
|
293
|
-
|
|
293
|
+
Ro
|
|
294
294
|
]),
|
|
295
295
|
key: "0"
|
|
296
296
|
} : void 0
|
|
297
297
|
]), 1032, ["prepend-icon"]));
|
|
298
298
|
}
|
|
299
|
-
}),
|
|
299
|
+
}), Eo = { class: "text-body-2" }, Wo = /* @__PURE__ */ b("div", { class: "text-caption mt-n1" }, "Last Used", -1), bt = /* @__PURE__ */ k({
|
|
300
300
|
__name: "VoAuthGithub",
|
|
301
301
|
setup(c) {
|
|
302
|
-
const e =
|
|
303
|
-
return (n, s) => (d(),
|
|
302
|
+
const e = H(), o = x(() => e.user && e.findIdentity("github")), a = x(() => e.user ? o.value ? "Connected to GitHub" : "Connect GitHub" : "Login with GitHub");
|
|
303
|
+
return (n, s) => (d(), h(ce, {
|
|
304
304
|
"base-color": "#2a2a2a",
|
|
305
|
-
"prepend-icon": `svg:${t(
|
|
305
|
+
"prepend-icon": `svg:${t(Je)}`,
|
|
306
306
|
rounded: "pill",
|
|
307
307
|
slim: "",
|
|
308
308
|
variant: "flat",
|
|
309
309
|
onClick: s[0] || (s[0] = (l) => t(e).login("github"))
|
|
310
|
-
},
|
|
310
|
+
}, M({
|
|
311
311
|
title: r(() => [
|
|
312
|
-
b("span",
|
|
312
|
+
b("span", Eo, L(t(a)), 1)
|
|
313
313
|
]),
|
|
314
314
|
_: 2
|
|
315
315
|
}, [
|
|
316
316
|
!t(e).user && t(e).lastLoginProvider() === "github" ? {
|
|
317
317
|
name: "subtitle",
|
|
318
318
|
fn: r(() => [
|
|
319
|
-
|
|
319
|
+
Wo
|
|
320
320
|
]),
|
|
321
321
|
key: "0"
|
|
322
322
|
} : void 0
|
|
323
323
|
]), 1032, ["prepend-icon"]));
|
|
324
324
|
}
|
|
325
|
-
}),
|
|
325
|
+
}), qo = { class: "text-center" }, Go = { class: "text-center mb-6" }, Zo = { class: "font-weight-light mb-2" }, Qo = /* @__PURE__ */ b("span", { class: "font-weight-bold" }, "Vuetify One", -1), Vt = /* @__PURE__ */ k({
|
|
326
326
|
__name: "VoAuthCard",
|
|
327
327
|
setup(c) {
|
|
328
|
-
const e =
|
|
328
|
+
const e = H();
|
|
329
329
|
return (o, a) => {
|
|
330
|
-
const n =
|
|
331
|
-
return d(),
|
|
330
|
+
const n = bt, s = yt, l = gt;
|
|
331
|
+
return d(), h(W, {
|
|
332
332
|
class: "pt-6 pb-8 px-4 px-sm-8 mx-auto",
|
|
333
333
|
"max-width": "480"
|
|
334
334
|
}, {
|
|
335
335
|
default: r(() => [
|
|
336
|
-
b("div",
|
|
336
|
+
b("div", qo, [
|
|
337
337
|
i(K, {
|
|
338
338
|
class: "mx-auto",
|
|
339
339
|
image: "https://vuetifyjs.b-cdn.net/docs/images/avatars/one.png",
|
|
340
340
|
size: "64"
|
|
341
341
|
}, null, 8, ["image"])
|
|
342
342
|
]),
|
|
343
|
-
b("div",
|
|
344
|
-
i(
|
|
343
|
+
b("div", Go, [
|
|
344
|
+
i(xo, { class: "text-h5 mb-1 text-md-h4" }, {
|
|
345
345
|
default: r(() => [
|
|
346
|
-
b("div",
|
|
347
|
-
|
|
346
|
+
b("div", Zo, L(t(e).lastLoginProvider() ? "Welcome back to" : "Login to"), 1),
|
|
347
|
+
Qo
|
|
348
348
|
]),
|
|
349
349
|
_: 1
|
|
350
350
|
}),
|
|
351
|
-
i(
|
|
351
|
+
i(So, { class: "text-wrap" }, {
|
|
352
352
|
default: r(() => [
|
|
353
|
-
|
|
353
|
+
O(" Login to save your settings and gain access to exclusive subscriber perks. ")
|
|
354
354
|
]),
|
|
355
355
|
_: 1
|
|
356
356
|
})
|
|
357
357
|
]),
|
|
358
|
-
i(
|
|
358
|
+
i(ae, {
|
|
359
359
|
class: "mx-auto",
|
|
360
360
|
"max-width": "300",
|
|
361
361
|
width: "100%"
|
|
@@ -372,13 +372,13 @@ const se = G("http", {
|
|
|
372
372
|
});
|
|
373
373
|
};
|
|
374
374
|
}
|
|
375
|
-
}),
|
|
375
|
+
}), kt = /* @__PURE__ */ k({
|
|
376
376
|
__name: "VoAuthDialog",
|
|
377
377
|
setup(c) {
|
|
378
|
-
const e =
|
|
378
|
+
const e = H();
|
|
379
379
|
return (o, a) => {
|
|
380
|
-
const n =
|
|
381
|
-
return d(),
|
|
380
|
+
const n = Vt;
|
|
381
|
+
return d(), h(pt, {
|
|
382
382
|
modelValue: t(e).dialog,
|
|
383
383
|
"onUpdate:modelValue": a[0] || (a[0] = (s) => t(e).dialog = s),
|
|
384
384
|
"max-width": "480"
|
|
@@ -390,8 +390,8 @@ const se = G("http", {
|
|
|
390
390
|
}, 8, ["modelValue"]);
|
|
391
391
|
};
|
|
392
392
|
}
|
|
393
|
-
}),
|
|
394
|
-
const c =
|
|
393
|
+
}), Pe = G("notifications", () => {
|
|
394
|
+
const c = te(), e = T(), o = N([]), a = N([]), n = N(), s = A(!1), l = x(() => o.value.filter((g) => !e.notifications.read.includes(g.slug))), p = x(() => o.value.filter((g) => e.notifications.read.includes(g.slug)));
|
|
395
395
|
async function u() {
|
|
396
396
|
try {
|
|
397
397
|
s.value = !0;
|
|
@@ -406,8 +406,8 @@ const se = G("http", {
|
|
|
406
406
|
async function m(g) {
|
|
407
407
|
try {
|
|
408
408
|
s.value = !0;
|
|
409
|
-
const
|
|
410
|
-
return n.value =
|
|
409
|
+
const _ = await c.get(`/one/admin/notifications/${g}`);
|
|
410
|
+
return n.value = _.notification, _.notification;
|
|
411
411
|
} catch {
|
|
412
412
|
} finally {
|
|
413
413
|
s.value = !1;
|
|
@@ -416,22 +416,22 @@ const se = G("http", {
|
|
|
416
416
|
async function f(g) {
|
|
417
417
|
try {
|
|
418
418
|
s.value = !0;
|
|
419
|
-
const
|
|
419
|
+
const _ = await c.form(
|
|
420
420
|
"/one/admin/notifications",
|
|
421
421
|
g
|
|
422
422
|
);
|
|
423
|
-
return n.value =
|
|
423
|
+
return n.value = _.notification, _.notification;
|
|
424
424
|
} catch {
|
|
425
425
|
} finally {
|
|
426
426
|
s.value = !1;
|
|
427
427
|
}
|
|
428
428
|
}
|
|
429
|
-
async function V(g,
|
|
429
|
+
async function V(g, _) {
|
|
430
430
|
try {
|
|
431
431
|
s.value = !0;
|
|
432
432
|
const $ = await c.form(
|
|
433
433
|
`/one/admin/notifications/${g}`,
|
|
434
|
-
|
|
434
|
+
_
|
|
435
435
|
);
|
|
436
436
|
return n.value = $.notification, $.notification;
|
|
437
437
|
} catch {
|
|
@@ -466,11 +466,11 @@ const se = G("http", {
|
|
|
466
466
|
read: p,
|
|
467
467
|
unread: l
|
|
468
468
|
};
|
|
469
|
-
}),
|
|
469
|
+
}), Yo = /* @__PURE__ */ k({
|
|
470
470
|
__name: "VoNotificationsTotalBadge",
|
|
471
471
|
setup(c) {
|
|
472
|
-
const e =
|
|
473
|
-
return (s, l) => (d(),
|
|
472
|
+
const e = H(), o = Pe(), a = T(), n = x(() => a.notifications.show ? o.unread.length : 0);
|
|
473
|
+
return (s, l) => (d(), h(Ke, {
|
|
474
474
|
color: "error",
|
|
475
475
|
content: t(n),
|
|
476
476
|
dot: !!t(e).user,
|
|
@@ -478,89 +478,89 @@ const se = G("http", {
|
|
|
478
478
|
"model-value": t(n) > 0
|
|
479
479
|
}, {
|
|
480
480
|
default: r(() => [
|
|
481
|
-
|
|
481
|
+
B(s.$slots, "default")
|
|
482
482
|
]),
|
|
483
483
|
_: 3
|
|
484
484
|
}, 8, ["content", "dot", "model-value"]));
|
|
485
485
|
}
|
|
486
|
-
}),
|
|
486
|
+
}), $e = /* @__PURE__ */ k({
|
|
487
487
|
__name: "VoBtn",
|
|
488
488
|
props: {
|
|
489
489
|
readonly: { type: Boolean }
|
|
490
490
|
},
|
|
491
491
|
setup(c) {
|
|
492
492
|
const e = c;
|
|
493
|
-
return (o, a) => (d(),
|
|
493
|
+
return (o, a) => (d(), h(q, {
|
|
494
494
|
class: "text-none font-weight-regular",
|
|
495
495
|
color: "primary",
|
|
496
496
|
size: "small",
|
|
497
|
-
style:
|
|
497
|
+
style: at({
|
|
498
498
|
pointerEvents: e.readonly ? "none" : void 0
|
|
499
499
|
}),
|
|
500
500
|
tabindex: e.readonly ? -1 : void 0,
|
|
501
501
|
variant: "flat"
|
|
502
|
-
},
|
|
502
|
+
}, M({
|
|
503
503
|
loader: r(() => [
|
|
504
|
-
o.$slots.loader ? S("", !0) : (d(),
|
|
504
|
+
o.$slots.loader ? S("", !0) : (d(), h(Co, {
|
|
505
505
|
key: 0,
|
|
506
506
|
indeterminate: "disable-shrink",
|
|
507
507
|
size: "16",
|
|
508
508
|
width: "2"
|
|
509
509
|
})),
|
|
510
|
-
|
|
510
|
+
B(o.$slots, "loader")
|
|
511
511
|
]),
|
|
512
512
|
_: 2
|
|
513
513
|
}, [
|
|
514
514
|
o.$slots.prepend ? {
|
|
515
515
|
name: "prepend",
|
|
516
516
|
fn: r(() => [
|
|
517
|
-
|
|
517
|
+
B(o.$slots, "prepend")
|
|
518
518
|
]),
|
|
519
519
|
key: "0"
|
|
520
520
|
} : void 0,
|
|
521
521
|
o.$slots.default ? {
|
|
522
522
|
name: "default",
|
|
523
523
|
fn: r(() => [
|
|
524
|
-
|
|
524
|
+
B(o.$slots, "default")
|
|
525
525
|
]),
|
|
526
526
|
key: "1"
|
|
527
527
|
} : void 0
|
|
528
528
|
]), 1032, ["style", "tabindex"]));
|
|
529
529
|
}
|
|
530
|
-
}),
|
|
530
|
+
}), Jo = { class: "pa-4 d-flex flex-column ga-4" }, $t = /* @__PURE__ */ k({
|
|
531
531
|
__name: "VoAuthListItem",
|
|
532
532
|
setup(c) {
|
|
533
|
-
const e =
|
|
534
|
-
|
|
533
|
+
const e = H(), o = T(), a = A(!e.user && !e.isLoading);
|
|
534
|
+
z(() => e.user, (s) => {
|
|
535
535
|
a.value = !s;
|
|
536
536
|
});
|
|
537
537
|
function n() {
|
|
538
538
|
e.user && (a.value = !a.value);
|
|
539
539
|
}
|
|
540
540
|
return (s, l) => {
|
|
541
|
-
const p =
|
|
542
|
-
return d(),
|
|
541
|
+
const p = bt, u = yt, m = gt;
|
|
542
|
+
return d(), h(W, {
|
|
543
543
|
class: "ma-2",
|
|
544
544
|
rounded: "lg",
|
|
545
545
|
variant: t(a) ? "tonal" : "text"
|
|
546
546
|
}, {
|
|
547
547
|
default: r(() => [
|
|
548
|
-
i(
|
|
548
|
+
i(ae, { class: "py-0" }, {
|
|
549
549
|
default: r(() => [
|
|
550
|
-
i(
|
|
550
|
+
i(ce, {
|
|
551
551
|
class: "mb-0",
|
|
552
552
|
link: !!t(e).user,
|
|
553
553
|
nav: "",
|
|
554
|
-
"prepend-icon": `svg:${t(e).user && t(o).syncSettings ? t(Pt) : t(
|
|
554
|
+
"prepend-icon": `svg:${t(e).user && t(o).syncSettings ? t(Pt) : t(Mt)}`,
|
|
555
555
|
rounded: "b-0",
|
|
556
556
|
slim: "",
|
|
557
557
|
title: t(e).user && t(o).syncSettings ? "Sync is on" : "Sync is paused",
|
|
558
558
|
onClick: n
|
|
559
559
|
}, {
|
|
560
560
|
append: r(() => [
|
|
561
|
-
i(
|
|
561
|
+
i(Fe, null, {
|
|
562
562
|
default: r(() => [
|
|
563
|
-
t(e).user && (t(a) || !t(o).syncSettings) ? (d(),
|
|
563
|
+
t(e).user && (t(a) || !t(o).syncSettings) ? (d(), h(mt, {
|
|
564
564
|
key: 0,
|
|
565
565
|
modelValue: t(o).syncSettings,
|
|
566
566
|
"onUpdate:modelValue": l[0] || (l[0] = (f) => t(o).syncSettings = f),
|
|
@@ -568,7 +568,7 @@ const se = G("http", {
|
|
|
568
568
|
density: "compact",
|
|
569
569
|
"hide-details": "",
|
|
570
570
|
inset: "",
|
|
571
|
-
onClick: l[1] || (l[1] =
|
|
571
|
+
onClick: l[1] || (l[1] = Ze(() => {
|
|
572
572
|
}, ["stop"]))
|
|
573
573
|
}, {
|
|
574
574
|
thumb: r(() => [
|
|
@@ -584,15 +584,15 @@ const se = G("http", {
|
|
|
584
584
|
]),
|
|
585
585
|
_: 1
|
|
586
586
|
}, 8, ["link", "prepend-icon", "title"]),
|
|
587
|
-
i(
|
|
587
|
+
i(ue, null, {
|
|
588
588
|
default: r(() => [
|
|
589
|
-
!t(e).user && !t(e).isLoading || t(a) ? (d(),
|
|
589
|
+
!t(e).user && !t(e).isLoading || t(a) ? (d(), h(et, {
|
|
590
590
|
key: 0,
|
|
591
591
|
border: "t",
|
|
592
592
|
color: "transparent"
|
|
593
593
|
}, {
|
|
594
594
|
default: r(() => [
|
|
595
|
-
b("div",
|
|
595
|
+
b("div", Jo, [
|
|
596
596
|
i(p, {
|
|
597
597
|
onClick: l[2] || (l[2] = (f) => a.value = !1)
|
|
598
598
|
}),
|
|
@@ -617,61 +617,61 @@ const se = G("http", {
|
|
|
617
617
|
}, 8, ["variant"]);
|
|
618
618
|
};
|
|
619
619
|
}
|
|
620
|
-
}),
|
|
620
|
+
}), Y = /* @__PURE__ */ k({
|
|
621
621
|
__name: "VoListItem",
|
|
622
622
|
setup(c) {
|
|
623
|
-
return (e, o) => (d(),
|
|
623
|
+
return (e, o) => (d(), h(ce, { slim: "" }, M({
|
|
624
624
|
default: r(() => [
|
|
625
|
-
|
|
625
|
+
B(e.$slots, "default")
|
|
626
626
|
]),
|
|
627
627
|
_: 2
|
|
628
628
|
}, [
|
|
629
629
|
e.$slots.prepend ? {
|
|
630
630
|
name: "prepend",
|
|
631
631
|
fn: r(() => [
|
|
632
|
-
|
|
632
|
+
B(e.$slots, "prepend")
|
|
633
633
|
]),
|
|
634
634
|
key: "0"
|
|
635
635
|
} : void 0,
|
|
636
636
|
e.$slots.title ? {
|
|
637
637
|
name: "title",
|
|
638
638
|
fn: r(() => [
|
|
639
|
-
|
|
639
|
+
B(e.$slots, "title")
|
|
640
640
|
]),
|
|
641
641
|
key: "1"
|
|
642
642
|
} : void 0,
|
|
643
643
|
e.$slots.append ? {
|
|
644
644
|
name: "append",
|
|
645
645
|
fn: r(() => [
|
|
646
|
-
|
|
646
|
+
B(e.$slots, "append")
|
|
647
647
|
]),
|
|
648
648
|
key: "2"
|
|
649
649
|
} : void 0
|
|
650
650
|
]), 1024));
|
|
651
651
|
}
|
|
652
|
-
}),
|
|
652
|
+
}), Xo = /* @__PURE__ */ k({
|
|
653
653
|
__name: "VoAuthLogoutNavItem",
|
|
654
654
|
setup(c) {
|
|
655
|
-
const e =
|
|
655
|
+
const e = H(), o = A(!1);
|
|
656
656
|
async function a() {
|
|
657
657
|
o.value = !0, await e.logout(), o.value = !1;
|
|
658
658
|
}
|
|
659
659
|
return (n, s) => {
|
|
660
|
-
const l =
|
|
661
|
-
return d(),
|
|
660
|
+
const l = Y;
|
|
661
|
+
return d(), h(l, {
|
|
662
662
|
class: "mb-0",
|
|
663
663
|
disabled: t(o),
|
|
664
664
|
link: "",
|
|
665
665
|
loading: t(o),
|
|
666
|
-
"prepend-icon": `svg:${t(
|
|
666
|
+
"prepend-icon": `svg:${t(Ht)}`,
|
|
667
667
|
title: "Logout",
|
|
668
668
|
onClick: a
|
|
669
669
|
}, null, 8, ["disabled", "loading", "prepend-icon"]);
|
|
670
670
|
};
|
|
671
671
|
}
|
|
672
|
-
}),
|
|
672
|
+
}), we = /* @__PURE__ */ k({
|
|
673
673
|
__name: "VoDialog",
|
|
674
|
-
props: /* @__PURE__ */
|
|
674
|
+
props: /* @__PURE__ */ Ot({
|
|
675
675
|
prependIcon: {},
|
|
676
676
|
title: {}
|
|
677
677
|
}, {
|
|
@@ -680,8 +680,8 @@ const se = G("http", {
|
|
|
680
680
|
}),
|
|
681
681
|
emits: ["update:modelValue"],
|
|
682
682
|
setup(c) {
|
|
683
|
-
const e = le(c, "modelValue"), o =
|
|
684
|
-
return (n, s) => (d(),
|
|
683
|
+
const e = le(c, "modelValue"), o = de(), a = A(!1);
|
|
684
|
+
return (n, s) => (d(), h(pt, {
|
|
685
685
|
modelValue: e.value,
|
|
686
686
|
"onUpdate:modelValue": s[2] || (s[2] = (l) => e.value = l),
|
|
687
687
|
activator: "parent",
|
|
@@ -691,19 +691,19 @@ const se = G("http", {
|
|
|
691
691
|
"max-width": t(a) || t(o).xs.value ? "100%" : 800
|
|
692
692
|
}, {
|
|
693
693
|
default: r(({ isActive: l }) => [
|
|
694
|
-
i(
|
|
694
|
+
i(W, {
|
|
695
695
|
class: "overflow-hidden",
|
|
696
696
|
height: "inherit",
|
|
697
697
|
"prepend-icon": n.prependIcon,
|
|
698
698
|
title: n.title
|
|
699
|
-
},
|
|
699
|
+
}, M({
|
|
700
700
|
append: r(() => [
|
|
701
|
-
|
|
702
|
-
t(o).xs.value ? S("", !0) : (d(),
|
|
701
|
+
B(n.$slots, "append"),
|
|
702
|
+
t(o).xs.value ? S("", !0) : (d(), h(q, {
|
|
703
703
|
key: 0,
|
|
704
704
|
class: "me-2",
|
|
705
705
|
density: "comfortable",
|
|
706
|
-
icon: `svg:${t(a) ? t(
|
|
706
|
+
icon: `svg:${t(a) ? t(Rt) : t(Et)}`,
|
|
707
707
|
size: "small",
|
|
708
708
|
variant: "text",
|
|
709
709
|
onClick: s[0] || (s[0] = (p) => a.value = !t(a))
|
|
@@ -718,21 +718,21 @@ const se = G("http", {
|
|
|
718
718
|
]),
|
|
719
719
|
default: r(() => [
|
|
720
720
|
i(Q, { class: "mt-4" }),
|
|
721
|
-
|
|
721
|
+
B(n.$slots, "default")
|
|
722
722
|
]),
|
|
723
723
|
_: 2
|
|
724
724
|
}, [
|
|
725
725
|
n.$slots.prepend ? {
|
|
726
726
|
name: "prepend",
|
|
727
727
|
fn: r(() => [
|
|
728
|
-
|
|
728
|
+
B(n.$slots, "prepend")
|
|
729
729
|
]),
|
|
730
730
|
key: "0"
|
|
731
731
|
} : void 0,
|
|
732
732
|
n.$slots.actions ? {
|
|
733
733
|
name: "actions",
|
|
734
734
|
fn: r(() => [
|
|
735
|
-
|
|
735
|
+
B(n.$slots, "actions", { isActive: l })
|
|
736
736
|
]),
|
|
737
737
|
key: "1"
|
|
738
738
|
} : void 0
|
|
@@ -741,19 +741,19 @@ const se = G("http", {
|
|
|
741
741
|
_: 3
|
|
742
742
|
}, 8, ["modelValue", "fullscreen", "max-height", "max-width"]));
|
|
743
743
|
}
|
|
744
|
-
}),
|
|
744
|
+
}), wt = /* @__PURE__ */ k({
|
|
745
745
|
__name: "VoSwitch",
|
|
746
746
|
props: {
|
|
747
747
|
disabled: { type: Boolean }
|
|
748
748
|
},
|
|
749
749
|
setup(c) {
|
|
750
|
-
return (e, o) => (d(),
|
|
750
|
+
return (e, o) => (d(), h(mt, {
|
|
751
751
|
color: "primary",
|
|
752
752
|
density: "compact",
|
|
753
753
|
disabled: e.disabled,
|
|
754
754
|
inset: "",
|
|
755
|
-
"true-icon": `svg:${t(
|
|
756
|
-
},
|
|
755
|
+
"true-icon": `svg:${t(Ue)}`
|
|
756
|
+
}, M({
|
|
757
757
|
thumb: r(() => [
|
|
758
758
|
i(D, {
|
|
759
759
|
color: e.disabled ? void 0 : "primary"
|
|
@@ -764,16 +764,16 @@ const se = G("http", {
|
|
|
764
764
|
e.$slots.label ? {
|
|
765
765
|
name: "label",
|
|
766
766
|
fn: r(() => [
|
|
767
|
-
|
|
767
|
+
B(e.$slots, "label")
|
|
768
768
|
]),
|
|
769
769
|
key: "0"
|
|
770
770
|
} : void 0
|
|
771
771
|
]), 1032, ["disabled", "true-icon"]));
|
|
772
772
|
}
|
|
773
|
-
}),
|
|
773
|
+
}), Ko = {
|
|
774
774
|
key: 1,
|
|
775
775
|
class: "mb-3 text-caption text-medium-emphasis"
|
|
776
|
-
},
|
|
776
|
+
}, pe = /* @__PURE__ */ k({
|
|
777
777
|
__name: "VoDialogSubheader",
|
|
778
778
|
props: {
|
|
779
779
|
title: {},
|
|
@@ -781,46 +781,46 @@ const se = G("http", {
|
|
|
781
781
|
},
|
|
782
782
|
setup(c) {
|
|
783
783
|
return (e, o) => (d(), I(U, null, [
|
|
784
|
-
e.title ? (d(),
|
|
784
|
+
e.title ? (d(), h(qe, {
|
|
785
785
|
key: 0,
|
|
786
786
|
class: "font-weight-black"
|
|
787
787
|
}, {
|
|
788
788
|
default: r(() => [
|
|
789
|
-
|
|
789
|
+
O(L(e.title), 1)
|
|
790
790
|
]),
|
|
791
791
|
_: 1
|
|
792
792
|
})) : S("", !0),
|
|
793
|
-
e.text ? (d(), I("div",
|
|
793
|
+
e.text ? (d(), I("div", Ko, L(e.text), 1)) : S("", !0)
|
|
794
794
|
], 64));
|
|
795
795
|
}
|
|
796
|
-
}),
|
|
796
|
+
}), en = { key: 0 }, tn = /* @__PURE__ */ k({
|
|
797
797
|
__name: "VoSettingsPageSuitOption",
|
|
798
798
|
setup(c) {
|
|
799
|
-
const e =
|
|
799
|
+
const e = T(), o = [
|
|
800
800
|
{
|
|
801
801
|
title: "Choose a page suit",
|
|
802
802
|
value: "",
|
|
803
|
-
prependIcon: `svg:${
|
|
803
|
+
prependIcon: `svg:${Gt}`,
|
|
804
804
|
disabled: !0
|
|
805
805
|
},
|
|
806
806
|
{
|
|
807
807
|
title: "Blackguard",
|
|
808
|
-
prependIcon: `svg:${
|
|
808
|
+
prependIcon: `svg:${it}`,
|
|
809
809
|
value: "blackguard"
|
|
810
810
|
},
|
|
811
811
|
{
|
|
812
812
|
title: "Polaris",
|
|
813
|
-
prependIcon: `svg:${
|
|
813
|
+
prependIcon: `svg:${rt}`,
|
|
814
814
|
value: "polaris"
|
|
815
815
|
},
|
|
816
816
|
{
|
|
817
817
|
title: "Nebula",
|
|
818
|
-
prependIcon: `svg:${
|
|
818
|
+
prependIcon: `svg:${lt}`,
|
|
819
819
|
value: "nebula"
|
|
820
820
|
}
|
|
821
821
|
];
|
|
822
822
|
return (a, n) => {
|
|
823
|
-
const s =
|
|
823
|
+
const s = wt, l = pe;
|
|
824
824
|
return d(), I(U, null, [
|
|
825
825
|
i(s, {
|
|
826
826
|
modelValue: t(e).suits.show,
|
|
@@ -829,10 +829,10 @@ const se = G("http", {
|
|
|
829
829
|
label: "Enable Page suits",
|
|
830
830
|
messages: "Customize layout elements with a unique background, styled after one of our themed releases."
|
|
831
831
|
}, null, 8, ["modelValue"]),
|
|
832
|
-
i(
|
|
832
|
+
i(ue, null, {
|
|
833
833
|
default: r(() => [
|
|
834
|
-
t(e).suits.show ? (d(), I("div",
|
|
835
|
-
i(
|
|
834
|
+
t(e).suits.show ? (d(), I("div", en, [
|
|
835
|
+
i(Ao, {
|
|
836
836
|
modelValue: t(e).suits.suit,
|
|
837
837
|
"onUpdate:modelValue": n[1] || (n[1] = (p) => t(e).suits.suit = p),
|
|
838
838
|
clearable: "",
|
|
@@ -850,12 +850,12 @@ const se = G("http", {
|
|
|
850
850
|
size: "x-small",
|
|
851
851
|
start: ""
|
|
852
852
|
}, null, 8, ["icon"]),
|
|
853
|
-
|
|
853
|
+
O(" " + L(p.title), 1)
|
|
854
854
|
]),
|
|
855
855
|
_: 1
|
|
856
856
|
}, 8, ["modelValue"]),
|
|
857
857
|
i(l, { text: "Select your suit elements to display the background image:" }),
|
|
858
|
-
i(
|
|
858
|
+
i(Io, {
|
|
859
859
|
modelValue: t(e).suits.elements,
|
|
860
860
|
"onUpdate:modelValue": n[2] || (n[2] = (p) => t(e).suits.elements = p),
|
|
861
861
|
color: "primary",
|
|
@@ -863,8 +863,8 @@ const se = G("http", {
|
|
|
863
863
|
multiple: ""
|
|
864
864
|
}, {
|
|
865
865
|
default: r(() => [
|
|
866
|
-
i(
|
|
867
|
-
"append-icon": `svg:${t(
|
|
866
|
+
i(X, {
|
|
867
|
+
"append-icon": `svg:${t(Wt)}`,
|
|
868
868
|
"filter-icon": "$success",
|
|
869
869
|
text: "App Bar",
|
|
870
870
|
value: "app-bar",
|
|
@@ -879,8 +879,8 @@ const se = G("http", {
|
|
|
879
879
|
]),
|
|
880
880
|
_: 1
|
|
881
881
|
}, 8, ["append-icon"]),
|
|
882
|
-
i(
|
|
883
|
-
"append-icon": `svg:${t(
|
|
882
|
+
i(X, {
|
|
883
|
+
"append-icon": `svg:${t(qt)}`,
|
|
884
884
|
"filter-icon": "$success",
|
|
885
885
|
text: "Navigation Drawer",
|
|
886
886
|
value: "drawer",
|
|
@@ -895,7 +895,7 @@ const se = G("http", {
|
|
|
895
895
|
]),
|
|
896
896
|
_: 1
|
|
897
897
|
}, 8, ["append-icon"]),
|
|
898
|
-
i(
|
|
898
|
+
i(X, {
|
|
899
899
|
"append-icon": "$info",
|
|
900
900
|
"filter-icon": "$success",
|
|
901
901
|
text: "Footer",
|
|
@@ -922,124 +922,124 @@ const se = G("http", {
|
|
|
922
922
|
};
|
|
923
923
|
}
|
|
924
924
|
});
|
|
925
|
-
function
|
|
926
|
-
const c =
|
|
925
|
+
function xe() {
|
|
926
|
+
const c = $o();
|
|
927
927
|
return x(
|
|
928
928
|
() => c.query
|
|
929
929
|
);
|
|
930
930
|
}
|
|
931
931
|
const j = G("one", () => {
|
|
932
|
-
const c =
|
|
932
|
+
const c = xe(), e = Xe(), o = H(), a = te(), n = A(!1), s = A(!1), l = N(), p = N([]), u = x(() => c.value.session_id), m = x(() => {
|
|
933
933
|
var w;
|
|
934
934
|
return (w = l.value) == null ? void 0 : w.items[0].plan.interval;
|
|
935
935
|
}), f = x(() => {
|
|
936
936
|
var w;
|
|
937
|
-
return (w = o.user) == null ? void 0 : w.sponsorships.find((
|
|
937
|
+
return (w = o.user) == null ? void 0 : w.sponsorships.find((C) => C.platform === "stripe" && C.tierName.startsWith("sub_"));
|
|
938
938
|
}), V = x(() => {
|
|
939
939
|
var w;
|
|
940
940
|
return !!((w = f.value) != null && w.tierName);
|
|
941
941
|
}), y = x(() => {
|
|
942
942
|
var w;
|
|
943
|
-
return ((w = o.user) == null ? void 0 : w.sponsorships.reduce((
|
|
943
|
+
return ((w = o.user) == null ? void 0 : w.sponsorships.reduce((C, Z) => {
|
|
944
944
|
if (!Z.isActive || Z.interval === "once" || Z.platform === "stripe")
|
|
945
|
-
return
|
|
946
|
-
const
|
|
947
|
-
return
|
|
945
|
+
return C;
|
|
946
|
+
const Ie = Z.interval === "month" ? Z.amount : Z.amount / 12;
|
|
947
|
+
return C + Ie / 100;
|
|
948
948
|
}, 0)) ?? 0;
|
|
949
949
|
}), v = x(() => {
|
|
950
950
|
var w;
|
|
951
|
-
return (w = o.user) == null ? void 0 : w.sponsorships.find((
|
|
951
|
+
return (w = o.user) == null ? void 0 : w.sponsorships.find((C) => C.tierName.startsWith("sub_") && C.isActive);
|
|
952
952
|
}), g = x(() => {
|
|
953
953
|
var w;
|
|
954
|
-
return (w = o.user) == null ? void 0 : w.sponsorships.find((
|
|
955
|
-
}),
|
|
954
|
+
return (w = o.user) == null ? void 0 : w.sponsorships.find((C) => C.platform === "github" && C.isActive);
|
|
955
|
+
}), _ = x(() => {
|
|
956
956
|
var w;
|
|
957
|
-
return (w = o.user) == null ? void 0 : w.sponsorships.find((
|
|
957
|
+
return (w = o.user) == null ? void 0 : w.sponsorships.find((C) => C.platform === "discord" && C.isActive);
|
|
958
958
|
}), $ = x(() => {
|
|
959
959
|
var w;
|
|
960
|
-
return (w = o.user) == null ? void 0 : w.identities.find((
|
|
960
|
+
return (w = o.user) == null ? void 0 : w.identities.find((C) => C.provider === "shopify");
|
|
961
961
|
}), F = x(() => {
|
|
962
962
|
var w;
|
|
963
|
-
return (w = o.user) == null ? void 0 : w.sponsorships.find((
|
|
964
|
-
}),
|
|
965
|
-
var w,
|
|
966
|
-
return !a.url || ((w = o.user) == null ? void 0 : w.isAdmin) || ((
|
|
963
|
+
return (w = o.user) == null ? void 0 : w.sponsorships.find((C) => C.platform === "patreon" && C.isActive);
|
|
964
|
+
}), P = x(() => {
|
|
965
|
+
var w, C, Z, Ie, nt;
|
|
966
|
+
return !a.url || ((w = o.user) == null ? void 0 : w.isAdmin) || ((C = f.value) == null ? void 0 : C.isActive) || ((Z = g.value) == null ? void 0 : Z.isActive) || ((Ie = _.value) == null ? void 0 : Ie.isActive) || ((nt = F.value) == null ? void 0 : nt.isActive) || y.value >= 2.99;
|
|
967
967
|
});
|
|
968
968
|
Be(async () => {
|
|
969
|
-
u.value && await
|
|
970
|
-
}),
|
|
971
|
-
w &&
|
|
972
|
-
}, { immediate: !0 }),
|
|
969
|
+
u.value && await R();
|
|
970
|
+
}), z(s, ot), z(u, (w) => {
|
|
971
|
+
w && R();
|
|
972
|
+
}, { immediate: !0 }), z(c, (w) => {
|
|
973
973
|
if (w.one !== "subscribe" || o.user)
|
|
974
974
|
return;
|
|
975
975
|
o.dialog = !0;
|
|
976
|
-
const
|
|
977
|
-
Z && (o.dialog = !1,
|
|
976
|
+
const C = z(() => o.user, (Z) => {
|
|
977
|
+
Z && (o.dialog = !1, C());
|
|
978
978
|
});
|
|
979
|
-
}, { immediate: !0 }),
|
|
980
|
-
w === !1 &&
|
|
979
|
+
}, { immediate: !0 }), z(P, (w, C) => {
|
|
980
|
+
w === !1 && C !== !0 || oe();
|
|
981
981
|
});
|
|
982
|
-
async function
|
|
982
|
+
async function R() {
|
|
983
983
|
try {
|
|
984
984
|
n.value = !0;
|
|
985
985
|
const w = await a.post("/one/activate", { sessionId: u.value });
|
|
986
986
|
o.user = w.user;
|
|
987
|
-
const
|
|
988
|
-
|
|
987
|
+
const C = new URL(window.location.href);
|
|
988
|
+
C.searchParams.delete("session_id"), history.pushState(null, "", C.toString()), fe();
|
|
989
989
|
} catch {
|
|
990
990
|
} finally {
|
|
991
991
|
n.value = !1;
|
|
992
992
|
}
|
|
993
993
|
}
|
|
994
|
-
async function
|
|
994
|
+
async function Se() {
|
|
995
995
|
window.open(`${a.url}/one/manage`, "_blank");
|
|
996
996
|
}
|
|
997
|
-
async function
|
|
997
|
+
async function Ce(w) {
|
|
998
998
|
n.value = !0, window.location.href = `${a.url}/one/subscribe?interval=${w}`;
|
|
999
999
|
}
|
|
1000
|
-
async function
|
|
1000
|
+
async function Le() {
|
|
1001
1001
|
var w;
|
|
1002
1002
|
if (f.value)
|
|
1003
1003
|
try {
|
|
1004
1004
|
n.value = !0;
|
|
1005
|
-
const
|
|
1005
|
+
const C = await a.post(
|
|
1006
1006
|
`/one/cancel?subscriptionId=${(w = f.value) == null ? void 0 : w.tierName}`
|
|
1007
1007
|
);
|
|
1008
|
-
o.user =
|
|
1008
|
+
o.user = C.user;
|
|
1009
1009
|
} catch {
|
|
1010
1010
|
} finally {
|
|
1011
1011
|
n.value = !1;
|
|
1012
1012
|
}
|
|
1013
1013
|
}
|
|
1014
|
-
async function
|
|
1014
|
+
async function me(w) {
|
|
1015
1015
|
if (f.value)
|
|
1016
1016
|
try {
|
|
1017
1017
|
n.value = !0;
|
|
1018
|
-
const
|
|
1018
|
+
const C = await a.post("/one/modify", {
|
|
1019
1019
|
subscriptionId: f.value.tierName,
|
|
1020
1020
|
interval: w
|
|
1021
1021
|
});
|
|
1022
|
-
o.user =
|
|
1022
|
+
o.user = C.user;
|
|
1023
1023
|
} catch {
|
|
1024
1024
|
} finally {
|
|
1025
1025
|
n.value = !1;
|
|
1026
1026
|
}
|
|
1027
1027
|
}
|
|
1028
|
-
async function
|
|
1028
|
+
async function oe() {
|
|
1029
1029
|
var w;
|
|
1030
1030
|
if (f.value)
|
|
1031
1031
|
try {
|
|
1032
1032
|
n.value = !0;
|
|
1033
|
-
const
|
|
1033
|
+
const C = await a.post(
|
|
1034
1034
|
`/one/verify?subscriptionId=${(w = f.value) == null ? void 0 : w.tierName}`
|
|
1035
1035
|
);
|
|
1036
|
-
o.user =
|
|
1036
|
+
o.user = C.user;
|
|
1037
1037
|
} catch {
|
|
1038
1038
|
} finally {
|
|
1039
1039
|
n.value = !1;
|
|
1040
1040
|
}
|
|
1041
1041
|
}
|
|
1042
|
-
async function
|
|
1042
|
+
async function fe() {
|
|
1043
1043
|
try {
|
|
1044
1044
|
n.value = !0;
|
|
1045
1045
|
const w = await a.get("/one/info");
|
|
@@ -1067,23 +1067,23 @@ const j = G("one", () => {
|
|
|
1067
1067
|
hasBilling: V,
|
|
1068
1068
|
isLoading: n,
|
|
1069
1069
|
isOpen: s,
|
|
1070
|
-
isSubscriber:
|
|
1070
|
+
isSubscriber: P,
|
|
1071
1071
|
github: g,
|
|
1072
1072
|
patreon: F,
|
|
1073
|
-
discord:
|
|
1073
|
+
discord: _,
|
|
1074
1074
|
shopify: $,
|
|
1075
1075
|
one: v,
|
|
1076
|
-
activate:
|
|
1077
|
-
cancel:
|
|
1078
|
-
manage:
|
|
1079
|
-
modify:
|
|
1076
|
+
activate: R,
|
|
1077
|
+
cancel: Le,
|
|
1078
|
+
manage: Se,
|
|
1079
|
+
modify: me,
|
|
1080
1080
|
resetQuery: ot,
|
|
1081
|
-
subscribe:
|
|
1082
|
-
subscriptionInfo:
|
|
1083
|
-
verify:
|
|
1081
|
+
subscribe: Ce,
|
|
1082
|
+
subscriptionInfo: fe,
|
|
1083
|
+
verify: oe
|
|
1084
1084
|
};
|
|
1085
1085
|
});
|
|
1086
|
-
function
|
|
1086
|
+
function on() {
|
|
1087
1087
|
return {
|
|
1088
1088
|
blackguard: {
|
|
1089
1089
|
dark: !0,
|
|
@@ -1239,8 +1239,8 @@ function nn() {
|
|
|
1239
1239
|
}
|
|
1240
1240
|
};
|
|
1241
1241
|
}
|
|
1242
|
-
const
|
|
1243
|
-
const c = "https://cdn.vuetifyjs.com/docs/images/one/", e = j(), o =
|
|
1242
|
+
const Me = G("settings", () => {
|
|
1243
|
+
const c = "https://cdn.vuetifyjs.com/docs/images/one/", e = j(), o = T(), a = ze(), n = on(), s = {
|
|
1244
1244
|
blackguard: {
|
|
1245
1245
|
"app-bar": c + "suits/blackguard/blackguard-app-bar.png",
|
|
1246
1246
|
drawer: c + "suits/blackguard/blackguard-app-drawer.png",
|
|
@@ -1267,13 +1267,13 @@ const Re = G("settings", () => {
|
|
|
1267
1267
|
return a.themes.value = {
|
|
1268
1268
|
...a.themes.value,
|
|
1269
1269
|
...n
|
|
1270
|
-
},
|
|
1270
|
+
}, z(() => o.theme, (p) => {
|
|
1271
1271
|
p === "system" ? a.global.name.value = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : (a.global.name.value = p, o.suits.suit = s[p] ? p : ""), o.theme = p;
|
|
1272
1272
|
}, { immediate: !0 }), {
|
|
1273
1273
|
suit: l,
|
|
1274
1274
|
CDN_URL: c
|
|
1275
1275
|
};
|
|
1276
|
-
}),
|
|
1276
|
+
}), nn = { class: "ms-5 mb-2" }, sn = /* @__PURE__ */ k({
|
|
1277
1277
|
__name: "VoSettingsDialog",
|
|
1278
1278
|
props: {
|
|
1279
1279
|
modelValue: { type: Boolean },
|
|
@@ -1281,100 +1281,100 @@ const Re = G("settings", () => {
|
|
|
1281
1281
|
},
|
|
1282
1282
|
emits: ["update:modelValue"],
|
|
1283
1283
|
setup(c) {
|
|
1284
|
-
const e = le(c, "modelValue"), o = j(), a =
|
|
1284
|
+
const e = le(c, "modelValue"), o = j(), a = Me(), n = T(), s = [
|
|
1285
1285
|
{
|
|
1286
1286
|
title: "Light",
|
|
1287
1287
|
subtitle: "A standard light theme.",
|
|
1288
1288
|
image: a.CDN_URL + "themes/light.png",
|
|
1289
|
-
prependIcon: `svg:${
|
|
1289
|
+
prependIcon: `svg:${Zt}`,
|
|
1290
1290
|
value: "light"
|
|
1291
1291
|
},
|
|
1292
1292
|
{
|
|
1293
1293
|
title: "Dark",
|
|
1294
1294
|
subtitle: "A standard dark theme.",
|
|
1295
1295
|
image: a.CDN_URL + "themes/dark.png",
|
|
1296
|
-
prependIcon: `svg:${
|
|
1296
|
+
prependIcon: `svg:${Qt}`,
|
|
1297
1297
|
value: "dark"
|
|
1298
1298
|
},
|
|
1299
1299
|
{
|
|
1300
1300
|
title: "System",
|
|
1301
1301
|
subtitle: "A theme based on the system preference.",
|
|
1302
1302
|
image: a.CDN_URL + "themes/system.png",
|
|
1303
|
-
prependIcon: `svg:${
|
|
1303
|
+
prependIcon: `svg:${Yt}`,
|
|
1304
1304
|
value: "system"
|
|
1305
1305
|
},
|
|
1306
1306
|
{
|
|
1307
1307
|
title: "Blackguard",
|
|
1308
1308
|
subtitle: "A theme for v3.4 Blackguard.",
|
|
1309
1309
|
image: a.CDN_URL + "themes/blackguard.png",
|
|
1310
|
-
prependIcon: `svg:${
|
|
1310
|
+
prependIcon: `svg:${it}`,
|
|
1311
1311
|
value: "blackguard"
|
|
1312
1312
|
},
|
|
1313
1313
|
{
|
|
1314
1314
|
title: "Polaris",
|
|
1315
1315
|
subtitle: "A theme for v3.5 Polaris.",
|
|
1316
1316
|
image: a.CDN_URL + "themes/polaris.png",
|
|
1317
|
-
prependIcon: `svg:${
|
|
1317
|
+
prependIcon: `svg:${rt}`,
|
|
1318
1318
|
value: "polaris"
|
|
1319
1319
|
},
|
|
1320
1320
|
{
|
|
1321
1321
|
title: "Nebula",
|
|
1322
1322
|
subtitle: "A theme for v3.6 Nebula.",
|
|
1323
1323
|
image: a.CDN_URL + "themes/nebula.png",
|
|
1324
|
-
prependIcon: `svg:${
|
|
1324
|
+
prependIcon: `svg:${lt}`,
|
|
1325
1325
|
value: "nebula"
|
|
1326
1326
|
},
|
|
1327
1327
|
{
|
|
1328
1328
|
title: "High Contrast",
|
|
1329
1329
|
subtitle: "A theme for high contrast.",
|
|
1330
1330
|
image: a.CDN_URL + "themes/high-contrast.png",
|
|
1331
|
-
prependIcon: `svg:${
|
|
1331
|
+
prependIcon: `svg:${Jt}`,
|
|
1332
1332
|
value: "highContrast",
|
|
1333
1333
|
disabled: !0
|
|
1334
1334
|
}
|
|
1335
|
-
], l =
|
|
1336
|
-
return
|
|
1337
|
-
l.value.one === "settings" && (o.isOpen = !0, await
|
|
1335
|
+
], l = xe();
|
|
1336
|
+
return z(l, async () => {
|
|
1337
|
+
l.value.one === "settings" && (o.isOpen = !0, await he(), e.value = !0);
|
|
1338
1338
|
}, { immediate: !0 }), (p, u) => {
|
|
1339
|
-
const m =
|
|
1340
|
-
return d(),
|
|
1339
|
+
const m = pe, f = tn, V = wt, y = we;
|
|
1340
|
+
return d(), h(y, {
|
|
1341
1341
|
modelValue: e.value,
|
|
1342
1342
|
"onUpdate:modelValue": u[6] || (u[6] = (v) => e.value = v),
|
|
1343
|
-
"prepend-icon": `svg:${t(
|
|
1343
|
+
"prepend-icon": `svg:${t(Xt)}`,
|
|
1344
1344
|
title: "Settings"
|
|
1345
1345
|
}, {
|
|
1346
1346
|
default: r(() => [
|
|
1347
|
-
i(
|
|
1347
|
+
i(Ve, null, {
|
|
1348
1348
|
default: r(() => [
|
|
1349
|
-
i(
|
|
1349
|
+
i(ke, { scrollable: "" }, {
|
|
1350
1350
|
default: r(() => [
|
|
1351
|
-
i(
|
|
1351
|
+
i(ie, { class: "px-7" }, {
|
|
1352
1352
|
default: r(() => [
|
|
1353
1353
|
i(m, {
|
|
1354
1354
|
text: "Customize your documentation experience with light and dark themes, as well as a combination of both named.",
|
|
1355
1355
|
title: "Theme"
|
|
1356
1356
|
}),
|
|
1357
|
-
i(
|
|
1357
|
+
i(ft, {
|
|
1358
1358
|
modelValue: t(n).theme,
|
|
1359
1359
|
"onUpdate:modelValue": u[0] || (u[0] = (v) => t(n).theme = v),
|
|
1360
1360
|
mandatory: ""
|
|
1361
1361
|
}, {
|
|
1362
1362
|
default: r(() => [
|
|
1363
|
-
i(
|
|
1363
|
+
i(be, { dense: "" }, {
|
|
1364
1364
|
default: r(() => [
|
|
1365
|
-
(d(), I(U, null,
|
|
1365
|
+
(d(), I(U, null, ne(s, (v, g) => i(re, {
|
|
1366
1366
|
key: g,
|
|
1367
1367
|
cols: "12",
|
|
1368
1368
|
md: "6"
|
|
1369
1369
|
}, {
|
|
1370
1370
|
default: r(() => [
|
|
1371
|
-
i(
|
|
1371
|
+
i(Ge, {
|
|
1372
1372
|
value: v.value
|
|
1373
1373
|
}, {
|
|
1374
|
-
default: r(({ toggle:
|
|
1375
|
-
i(
|
|
1376
|
-
default: r(({ props: F, isHovering:
|
|
1377
|
-
i(
|
|
1374
|
+
default: r(({ toggle: _, isSelected: $ }) => [
|
|
1375
|
+
i(je, null, {
|
|
1376
|
+
default: r(({ props: F, isHovering: P }) => [
|
|
1377
|
+
i(W, E({
|
|
1378
1378
|
color: $ ? "primary" : "surface-variant",
|
|
1379
1379
|
disabled: v.disabled,
|
|
1380
1380
|
height: "76",
|
|
@@ -1384,11 +1384,11 @@ const Re = G("settings", () => {
|
|
|
1384
1384
|
subtitle: v.disabled ? "In Development" : v.subtitle,
|
|
1385
1385
|
title: v.title,
|
|
1386
1386
|
variant: "tonal"
|
|
1387
|
-
}, F, { onClick:
|
|
1387
|
+
}, F, { onClick: _ }), {
|
|
1388
1388
|
image: r(() => [
|
|
1389
|
-
i(
|
|
1390
|
-
style:
|
|
1391
|
-
filter: $ ||
|
|
1389
|
+
i(ee, {
|
|
1390
|
+
style: at({
|
|
1391
|
+
filter: $ || P ? "none" : "grayscale(100%)"
|
|
1392
1392
|
})
|
|
1393
1393
|
}, null, 8, ["style"])
|
|
1394
1394
|
]),
|
|
@@ -1417,13 +1417,13 @@ const Re = G("settings", () => {
|
|
|
1417
1417
|
_: 1
|
|
1418
1418
|
}),
|
|
1419
1419
|
i(Q),
|
|
1420
|
-
i(
|
|
1420
|
+
i(ie, { class: "px-7" }, {
|
|
1421
1421
|
default: r(() => [
|
|
1422
1422
|
i(m, {
|
|
1423
1423
|
text: "These options change your browsing experience within Vuetify properties",
|
|
1424
1424
|
title: "Experience"
|
|
1425
1425
|
}),
|
|
1426
|
-
t(o).isSubscriber ? (d(),
|
|
1426
|
+
t(o).isSubscriber ? (d(), h(V, {
|
|
1427
1427
|
key: 0,
|
|
1428
1428
|
modelValue: t(n).disableAds,
|
|
1429
1429
|
"onUpdate:modelValue": u[1] || (u[1] = (v) => t(n).disableAds = v),
|
|
@@ -1431,9 +1431,9 @@ const Re = G("settings", () => {
|
|
|
1431
1431
|
label: "Disable Ads",
|
|
1432
1432
|
messages: "Disable traditional advertisements on all documentation pages."
|
|
1433
1433
|
}, null, 8, ["modelValue"])) : S("", !0),
|
|
1434
|
-
i(
|
|
1434
|
+
i(ue, null, {
|
|
1435
1435
|
default: r(() => [
|
|
1436
|
-
|
|
1436
|
+
ge(b("div", nn, [
|
|
1437
1437
|
i(V, {
|
|
1438
1438
|
modelValue: t(n).showHouseAds,
|
|
1439
1439
|
"onUpdate:modelValue": u[2] || (u[2] = (v) => t(n).showHouseAds = v),
|
|
@@ -1441,7 +1441,7 @@ const Re = G("settings", () => {
|
|
|
1441
1441
|
messages: "These advertisements are for Vuetify products and services only."
|
|
1442
1442
|
}, null, 8, ["modelValue"])
|
|
1443
1443
|
], 512), [
|
|
1444
|
-
[
|
|
1444
|
+
[Ne, t(n).disableAds]
|
|
1445
1445
|
])
|
|
1446
1446
|
]),
|
|
1447
1447
|
_: 1
|
|
@@ -1456,7 +1456,7 @@ const Re = G("settings", () => {
|
|
|
1456
1456
|
_: 1
|
|
1457
1457
|
}),
|
|
1458
1458
|
i(Q),
|
|
1459
|
-
t(o).isSubscriber ? (d(),
|
|
1459
|
+
t(o).isSubscriber ? (d(), h(ie, {
|
|
1460
1460
|
key: 0,
|
|
1461
1461
|
class: "px-7"
|
|
1462
1462
|
}, {
|
|
@@ -1492,61 +1492,61 @@ const Re = G("settings", () => {
|
|
|
1492
1492
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
1493
1493
|
};
|
|
1494
1494
|
}
|
|
1495
|
-
}),
|
|
1495
|
+
}), an = /* @__PURE__ */ k({
|
|
1496
1496
|
__name: "VoSettingsListItem",
|
|
1497
1497
|
setup(c) {
|
|
1498
1498
|
const e = A(!1);
|
|
1499
1499
|
return (o, a) => {
|
|
1500
|
-
const n =
|
|
1501
|
-
return d(),
|
|
1500
|
+
const n = sn, s = Y;
|
|
1501
|
+
return d(), h(s, {
|
|
1502
1502
|
active: t(e),
|
|
1503
1503
|
link: "",
|
|
1504
|
-
"prepend-icon": `svg:${t(
|
|
1504
|
+
"prepend-icon": `svg:${t(Kt)}`,
|
|
1505
1505
|
title: "Settings"
|
|
1506
1506
|
}, {
|
|
1507
1507
|
default: r(() => [
|
|
1508
1508
|
i(n, {
|
|
1509
1509
|
modelValue: t(e),
|
|
1510
|
-
"onUpdate:modelValue": a[0] || (a[0] = (l) =>
|
|
1510
|
+
"onUpdate:modelValue": a[0] || (a[0] = (l) => se(e) ? e.value = l : null)
|
|
1511
1511
|
}, null, 8, ["modelValue"])
|
|
1512
1512
|
]),
|
|
1513
1513
|
_: 1
|
|
1514
1514
|
}, 8, ["active", "prepend-icon"]);
|
|
1515
1515
|
};
|
|
1516
1516
|
}
|
|
1517
|
-
}),
|
|
1517
|
+
}), rn = { class: "text-caption" }, ln = /* @__PURE__ */ k({
|
|
1518
1518
|
__name: "VoSubscriptionInvoices",
|
|
1519
1519
|
setup(c) {
|
|
1520
|
-
const e =
|
|
1520
|
+
const e = ye(), o = j();
|
|
1521
1521
|
return (a, n) => {
|
|
1522
|
-
const s =
|
|
1523
|
-
return d(),
|
|
1522
|
+
const s = pe;
|
|
1523
|
+
return d(), h(be, null, {
|
|
1524
1524
|
default: r(() => [
|
|
1525
|
-
i(
|
|
1525
|
+
i(re, { cols: "12" }, {
|
|
1526
1526
|
default: r(() => [
|
|
1527
1527
|
i(s, {
|
|
1528
1528
|
text: "View and download your invoice history.",
|
|
1529
1529
|
title: "Invoice History"
|
|
1530
1530
|
}),
|
|
1531
|
-
i(
|
|
1531
|
+
i(W, {
|
|
1532
1532
|
border: "",
|
|
1533
1533
|
height: "450",
|
|
1534
1534
|
rounded: "lg"
|
|
1535
1535
|
}, {
|
|
1536
1536
|
default: r(() => [
|
|
1537
|
-
i(
|
|
1537
|
+
i(vt, {
|
|
1538
1538
|
items: t(o).invoices,
|
|
1539
1539
|
loading: t(o).isLoading,
|
|
1540
1540
|
sticky: ""
|
|
1541
1541
|
}, {
|
|
1542
1542
|
"item.date": r(({ item: l }) => [
|
|
1543
|
-
b("div",
|
|
1543
|
+
b("div", rn, L(t(e).format(new Date(l.date * 1e3), "fullDateWithWeekday")), 1)
|
|
1544
1544
|
]),
|
|
1545
1545
|
"item.amount": r(({ item: l }) => [
|
|
1546
|
-
|
|
1546
|
+
O(" $" + L(l.amount / 100), 1)
|
|
1547
1547
|
]),
|
|
1548
1548
|
"item.status": r(({ item: l }) => [
|
|
1549
|
-
i(
|
|
1549
|
+
i(X, {
|
|
1550
1550
|
border: "success sm",
|
|
1551
1551
|
class: "text-capitalize",
|
|
1552
1552
|
color: "success",
|
|
@@ -1559,7 +1559,7 @@ const Re = G("settings", () => {
|
|
|
1559
1559
|
"item.pdf": r(({ item: l }) => [
|
|
1560
1560
|
i(q, {
|
|
1561
1561
|
href: l.pdf,
|
|
1562
|
-
icon: `svg:${t(
|
|
1562
|
+
icon: `svg:${t(eo)}`,
|
|
1563
1563
|
size: "small",
|
|
1564
1564
|
target: "_blank",
|
|
1565
1565
|
variant: "text"
|
|
@@ -1578,14 +1578,14 @@ const Re = G("settings", () => {
|
|
|
1578
1578
|
});
|
|
1579
1579
|
};
|
|
1580
1580
|
}
|
|
1581
|
-
}),
|
|
1581
|
+
}), cn = { class: "d-flex align-center" }, un = {
|
|
1582
1582
|
key: "status",
|
|
1583
1583
|
class: "text-capitalize hidden-sm-and-down"
|
|
1584
|
-
},
|
|
1584
|
+
}, dn = /* @__PURE__ */ b("span", { class: "mx-1 hidden-sm-and-down" }, "—", -1), pn = { class: "me-1" }, mn = { class: "text-medium-emphasis text-caption" }, fn = { class: "d-flex align-start justify-space-between text-caption py-2" }, vn = { class: "font-weight-bold" }, _n = { class: "font-weight-bold" }, hn = /* @__PURE__ */ k({
|
|
1585
1585
|
__name: "VoSubscriptionStatus",
|
|
1586
1586
|
emits: ["change:subscription"],
|
|
1587
1587
|
setup(c, { emit: e }) {
|
|
1588
|
-
const o =
|
|
1588
|
+
const o = ye(), a = j(), n = e, s = x(() => {
|
|
1589
1589
|
if (!a.info)
|
|
1590
1590
|
return;
|
|
1591
1591
|
const p = new Date(a.info.currentPeriodEnd * 1e3);
|
|
@@ -1595,24 +1595,24 @@ const Re = G("settings", () => {
|
|
|
1595
1595
|
a.interval && (a.isLoading = !0, a.subscribe(a.interval));
|
|
1596
1596
|
}
|
|
1597
1597
|
return (p, u) => {
|
|
1598
|
-
const m =
|
|
1599
|
-
return d(),
|
|
1598
|
+
const m = $e;
|
|
1599
|
+
return d(), h(be, null, {
|
|
1600
1600
|
default: r(() => [
|
|
1601
|
-
i(
|
|
1601
|
+
i(re, { cols: "12" }, {
|
|
1602
1602
|
default: r(() => {
|
|
1603
1603
|
var f, V;
|
|
1604
1604
|
return [
|
|
1605
|
-
i(
|
|
1605
|
+
i(W, {
|
|
1606
1606
|
border: "",
|
|
1607
1607
|
flat: "",
|
|
1608
1608
|
"prepend-icon": "$vuetify",
|
|
1609
1609
|
rounded: "lg",
|
|
1610
1610
|
title: "Subscription Status"
|
|
1611
|
-
},
|
|
1611
|
+
}, M({
|
|
1612
1612
|
append: r(() => {
|
|
1613
1613
|
var y;
|
|
1614
1614
|
return [
|
|
1615
|
-
t(a).hasBilling && ((y = t(a).info) == null ? void 0 : y.status) === "canceled" ? (d(),
|
|
1615
|
+
t(a).hasBilling && ((y = t(a).info) == null ? void 0 : y.status) === "canceled" ? (d(), h(m, {
|
|
1616
1616
|
key: 0,
|
|
1617
1617
|
class: "me-2",
|
|
1618
1618
|
color: "success",
|
|
@@ -1622,10 +1622,10 @@ const Re = G("settings", () => {
|
|
|
1622
1622
|
variant: "outlined",
|
|
1623
1623
|
onClick: l
|
|
1624
1624
|
}, null, 8, ["loading"])) : S("", !0),
|
|
1625
|
-
t(a).hasBilling ? (d(),
|
|
1625
|
+
t(a).hasBilling ? (d(), h(m, {
|
|
1626
1626
|
key: 1,
|
|
1627
1627
|
loading: t(a).isLoading,
|
|
1628
|
-
"prepend-icon": `svg:${t(
|
|
1628
|
+
"prepend-icon": `svg:${t(to)}`,
|
|
1629
1629
|
text: "Billing",
|
|
1630
1630
|
onClick: t(a).manage
|
|
1631
1631
|
}, null, 8, ["loading", "prepend-icon", "onClick"])) : S("", !0)
|
|
@@ -1636,13 +1636,13 @@ const Re = G("settings", () => {
|
|
|
1636
1636
|
t(a).info ? {
|
|
1637
1637
|
name: "subtitle",
|
|
1638
1638
|
fn: r(() => [
|
|
1639
|
-
b("div",
|
|
1640
|
-
b("span",
|
|
1639
|
+
b("div", cn, [
|
|
1640
|
+
b("span", un, L(t(a).info.status), 1),
|
|
1641
1641
|
t(a).info.items.length ? (d(), I(U, { key: 0 }, [
|
|
1642
|
-
|
|
1643
|
-
b("span",
|
|
1644
|
-
|
|
1645
|
-
b("span",
|
|
1642
|
+
dn,
|
|
1643
|
+
b("span", pn, [
|
|
1644
|
+
O(" $" + L(t(a).info.items[0].plan.amount / 100), 1),
|
|
1645
|
+
b("span", mn, "/" + L(t(a).interval), 1)
|
|
1646
1646
|
]),
|
|
1647
1647
|
i(m, {
|
|
1648
1648
|
size: "x-small",
|
|
@@ -1658,13 +1658,13 @@ const Re = G("settings", () => {
|
|
|
1658
1658
|
name: "subtitle",
|
|
1659
1659
|
fn: r(() => [
|
|
1660
1660
|
b("div", { class: "d-flex align-center" }, [
|
|
1661
|
-
i(
|
|
1661
|
+
i(_e, {
|
|
1662
1662
|
height: "16",
|
|
1663
1663
|
type: "ossein",
|
|
1664
1664
|
width: "40"
|
|
1665
1665
|
}),
|
|
1666
1666
|
b("span", { class: "mx-1" }, "—"),
|
|
1667
|
-
i(
|
|
1667
|
+
i(_e, {
|
|
1668
1668
|
height: "16",
|
|
1669
1669
|
type: "ossein",
|
|
1670
1670
|
width: "80"
|
|
@@ -1674,16 +1674,16 @@ const Re = G("settings", () => {
|
|
|
1674
1674
|
key: "1"
|
|
1675
1675
|
}
|
|
1676
1676
|
]), 1024),
|
|
1677
|
-
b("div",
|
|
1677
|
+
b("div", fn, [
|
|
1678
1678
|
b("div", null, [
|
|
1679
1679
|
((f = t(a).info) == null ? void 0 : f.status) === "active" ? (d(), I(U, { key: 0 }, [
|
|
1680
|
-
|
|
1681
|
-
b("span",
|
|
1682
|
-
|
|
1680
|
+
O(" Your plan renews on "),
|
|
1681
|
+
b("span", vn, L(t(o).format(t(s), "fullDateWithWeekday")), 1),
|
|
1682
|
+
O(". ")
|
|
1683
1683
|
], 64)) : (d(), I(U, { key: 1 }, [
|
|
1684
|
-
|
|
1685
|
-
b("span",
|
|
1686
|
-
|
|
1684
|
+
O(" Your plan ends on "),
|
|
1685
|
+
b("span", _n, L(t(o).format((V = t(a).info) == null ? void 0 : V.currentPeriodEnd, "fullDateWithWeekday")), 1),
|
|
1686
|
+
O(". ")
|
|
1687
1687
|
], 64))
|
|
1688
1688
|
])
|
|
1689
1689
|
])
|
|
@@ -1696,7 +1696,7 @@ const Re = G("settings", () => {
|
|
|
1696
1696
|
});
|
|
1697
1697
|
};
|
|
1698
1698
|
}
|
|
1699
|
-
}),
|
|
1699
|
+
}), gn = /* @__PURE__ */ b("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The Vuetify One subscription comes with the following perks: ", -1), yn = ["innerHTML"], bn = /* @__PURE__ */ b("br", null, null, -1), Vn = /* @__PURE__ */ b("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The following features are in development and coming soon: ", -1), kn = ["innerHTML"], $n = /* @__PURE__ */ k({
|
|
1700
1700
|
__name: "VoSubscriptionPerks",
|
|
1701
1701
|
setup(c) {
|
|
1702
1702
|
const e = [
|
|
@@ -1711,29 +1711,29 @@ const Re = G("settings", () => {
|
|
|
1711
1711
|
"Early access to Vuetify Studio, a visual editor for Vuetify",
|
|
1712
1712
|
"Receive a special label on GitHub created issues and pull requests"
|
|
1713
1713
|
], a = A(!1), n = j();
|
|
1714
|
-
return
|
|
1714
|
+
return z(a, async (s) => {
|
|
1715
1715
|
s && n.subscriptionInfo();
|
|
1716
1716
|
}), (s, l) => {
|
|
1717
|
-
const p =
|
|
1717
|
+
const p = Y;
|
|
1718
1718
|
return d(), I(U, null, [
|
|
1719
|
-
i(
|
|
1719
|
+
i(qe, { class: "font-weight-black" }, {
|
|
1720
1720
|
default: r(() => [
|
|
1721
|
-
|
|
1721
|
+
O("Perks")
|
|
1722
1722
|
]),
|
|
1723
1723
|
_: 1
|
|
1724
1724
|
}),
|
|
1725
|
-
|
|
1726
|
-
i(
|
|
1725
|
+
gn,
|
|
1726
|
+
i(ae, {
|
|
1727
1727
|
class: "py-0",
|
|
1728
1728
|
density: "compact",
|
|
1729
1729
|
lines: !1,
|
|
1730
1730
|
nav: ""
|
|
1731
1731
|
}, {
|
|
1732
1732
|
default: r(() => [
|
|
1733
|
-
(d(), I(U, null,
|
|
1733
|
+
(d(), I(U, null, ne(e, (u, m) => i(p, {
|
|
1734
1734
|
key: m,
|
|
1735
1735
|
class: "mb-0",
|
|
1736
|
-
"prepend-icon": `svg:${t(
|
|
1736
|
+
"prepend-icon": `svg:${t(Ue)}`
|
|
1737
1737
|
}, {
|
|
1738
1738
|
prepend: r(() => [
|
|
1739
1739
|
i(D, {
|
|
@@ -1743,32 +1743,32 @@ const Re = G("settings", () => {
|
|
|
1743
1743
|
})
|
|
1744
1744
|
]),
|
|
1745
1745
|
title: r(() => [
|
|
1746
|
-
b("div", { innerHTML: u }, null, 8,
|
|
1746
|
+
b("div", { innerHTML: u }, null, 8, yn)
|
|
1747
1747
|
]),
|
|
1748
1748
|
_: 2
|
|
1749
1749
|
}, 1032, ["prepend-icon"])), 64))
|
|
1750
1750
|
]),
|
|
1751
1751
|
_: 1
|
|
1752
1752
|
}),
|
|
1753
|
-
|
|
1754
|
-
i(
|
|
1753
|
+
bn,
|
|
1754
|
+
i(qe, { class: "font-weight-black" }, {
|
|
1755
1755
|
default: r(() => [
|
|
1756
|
-
|
|
1756
|
+
O("Up Next")
|
|
1757
1757
|
]),
|
|
1758
1758
|
_: 1
|
|
1759
1759
|
}),
|
|
1760
|
-
|
|
1761
|
-
i(
|
|
1760
|
+
Vn,
|
|
1761
|
+
i(ae, {
|
|
1762
1762
|
class: "py-0",
|
|
1763
1763
|
density: "compact",
|
|
1764
1764
|
lines: !1,
|
|
1765
1765
|
nav: ""
|
|
1766
1766
|
}, {
|
|
1767
1767
|
default: r(() => [
|
|
1768
|
-
(d(), I(U, null,
|
|
1768
|
+
(d(), I(U, null, ne(o, (u, m) => i(p, {
|
|
1769
1769
|
key: m,
|
|
1770
1770
|
class: "mb-0",
|
|
1771
|
-
"prepend-icon": `svg:${t(
|
|
1771
|
+
"prepend-icon": `svg:${t(oo)}`
|
|
1772
1772
|
}, {
|
|
1773
1773
|
prepend: r(() => [
|
|
1774
1774
|
i(D, {
|
|
@@ -1777,7 +1777,7 @@ const Re = G("settings", () => {
|
|
|
1777
1777
|
})
|
|
1778
1778
|
]),
|
|
1779
1779
|
title: r(() => [
|
|
1780
|
-
b("div", { innerHTML: u }, null, 8,
|
|
1780
|
+
b("div", { innerHTML: u }, null, 8, kn)
|
|
1781
1781
|
]),
|
|
1782
1782
|
_: 2
|
|
1783
1783
|
}, 1032, ["prepend-icon"])), 64))
|
|
@@ -1787,7 +1787,7 @@ const Re = G("settings", () => {
|
|
|
1787
1787
|
], 64);
|
|
1788
1788
|
};
|
|
1789
1789
|
}
|
|
1790
|
-
}),
|
|
1790
|
+
}), wn = /* @__PURE__ */ k({
|
|
1791
1791
|
__name: "VoSubscriptionSubscribe",
|
|
1792
1792
|
props: {
|
|
1793
1793
|
modelValue: {
|
|
@@ -1798,29 +1798,29 @@ const Re = G("settings", () => {
|
|
|
1798
1798
|
emits: ["update:modelValue"],
|
|
1799
1799
|
setup(c) {
|
|
1800
1800
|
const e = A(!1), o = le(c, "modelValue"), a = j();
|
|
1801
|
-
return
|
|
1801
|
+
return z(e, async (n) => {
|
|
1802
1802
|
n && a.subscriptionInfo();
|
|
1803
|
-
}),
|
|
1803
|
+
}), z(() => a.interval, (n) => {
|
|
1804
1804
|
o.value = n;
|
|
1805
|
-
}, { immediate: !0 }), (n, s) => (d(),
|
|
1805
|
+
}, { immediate: !0 }), (n, s) => (d(), h(ft, {
|
|
1806
1806
|
modelValue: o.value,
|
|
1807
1807
|
"onUpdate:modelValue": s[0] || (s[0] = (l) => o.value = l),
|
|
1808
1808
|
mandatory: ""
|
|
1809
1809
|
}, {
|
|
1810
1810
|
default: r(() => [
|
|
1811
|
-
i(
|
|
1811
|
+
i(be, null, {
|
|
1812
1812
|
default: r(() => [
|
|
1813
|
-
i(
|
|
1813
|
+
i(re, {
|
|
1814
1814
|
cols: "12",
|
|
1815
1815
|
md: "6"
|
|
1816
1816
|
}, {
|
|
1817
1817
|
default: r(() => [
|
|
1818
|
-
i(
|
|
1818
|
+
i(Ge, { value: "month" }, {
|
|
1819
1819
|
default: r(({ toggle: l, isSelected: p }) => [
|
|
1820
|
-
i(
|
|
1820
|
+
i(W, {
|
|
1821
1821
|
border: p ? "sm primary opacity-100" : "sm",
|
|
1822
1822
|
color: p ? "primary" : void 0,
|
|
1823
|
-
"prepend-icon": p ? `svg:${t(
|
|
1823
|
+
"prepend-icon": p ? `svg:${t(De)}` : "$radioOff",
|
|
1824
1824
|
rounded: "lg",
|
|
1825
1825
|
subtitle: "$2.99/month",
|
|
1826
1826
|
title: "Monthly",
|
|
@@ -1838,17 +1838,17 @@ const Re = G("settings", () => {
|
|
|
1838
1838
|
]),
|
|
1839
1839
|
_: 1
|
|
1840
1840
|
}),
|
|
1841
|
-
i(
|
|
1841
|
+
i(re, {
|
|
1842
1842
|
cols: "12",
|
|
1843
1843
|
md: "6"
|
|
1844
1844
|
}, {
|
|
1845
1845
|
default: r(() => [
|
|
1846
|
-
i(
|
|
1846
|
+
i(Ge, { value: "year" }, {
|
|
1847
1847
|
default: r(({ toggle: l, isSelected: p }) => [
|
|
1848
|
-
i(
|
|
1848
|
+
i(W, {
|
|
1849
1849
|
border: p ? "sm primary opacity-100" : "sm",
|
|
1850
1850
|
color: p ? "primary" : void 0,
|
|
1851
|
-
"prepend-icon": p ? `svg:${t(
|
|
1851
|
+
"prepend-icon": p ? `svg:${t(De)}` : "$radioOff",
|
|
1852
1852
|
rounded: "lg",
|
|
1853
1853
|
subtitle: "$29.99/year",
|
|
1854
1854
|
title: "Yearly",
|
|
@@ -1859,7 +1859,7 @@ const Re = G("settings", () => {
|
|
|
1859
1859
|
i(D, { class: "mt-n6" })
|
|
1860
1860
|
]),
|
|
1861
1861
|
append: r(() => [
|
|
1862
|
-
i(
|
|
1862
|
+
i(X, {
|
|
1863
1863
|
class: "mt-n6",
|
|
1864
1864
|
color: "success",
|
|
1865
1865
|
size: "small",
|
|
@@ -1882,7 +1882,7 @@ const Re = G("settings", () => {
|
|
|
1882
1882
|
_: 1
|
|
1883
1883
|
}, 8, ["modelValue"]));
|
|
1884
1884
|
}
|
|
1885
|
-
}),
|
|
1885
|
+
}), xn = { class: "px-3" }, Sn = /* @__PURE__ */ b("br", null, null, -1), Cn = { class: "flex-grow-1 px-4 pb-3 overflow-hidden" }, Ln = /* @__PURE__ */ k({
|
|
1886
1886
|
__name: "VoSubscriptionDialog",
|
|
1887
1887
|
props: {
|
|
1888
1888
|
modelValue: { type: Boolean },
|
|
@@ -1893,60 +1893,60 @@ const Re = G("settings", () => {
|
|
|
1893
1893
|
function e(m) {
|
|
1894
1894
|
return new Promise((f) => setTimeout(f, m));
|
|
1895
1895
|
}
|
|
1896
|
-
const o = le(c, "modelValue"), a = j(), n =
|
|
1897
|
-
|
|
1896
|
+
const o = le(c, "modelValue"), a = j(), n = xe(), s = A(a.interval), l = A(a.hasBilling ? "status" : "subscribe"), p = A(!1);
|
|
1897
|
+
z(s, (m) => {
|
|
1898
1898
|
!a.isSubscriber || !a.interval || (p.value = m !== a.interval);
|
|
1899
|
-
}),
|
|
1899
|
+
}), z(o, async (m) => {
|
|
1900
1900
|
if (!m || !a.isSubscriber) {
|
|
1901
1901
|
m || a.resetQuery();
|
|
1902
1902
|
return;
|
|
1903
1903
|
}
|
|
1904
1904
|
a.subscriptionInfo();
|
|
1905
|
-
}),
|
|
1906
|
-
!a.sessionId && !["subscribe", "status"].includes(n.value.one) || (l.value = a.sessionId || n.value.one === "status" ? "status" : "subscribe", a.isOpen = !0, await
|
|
1905
|
+
}), z(n, async () => {
|
|
1906
|
+
!a.sessionId && !["subscribe", "status"].includes(n.value.one) || (l.value = a.sessionId || n.value.one === "status" ? "status" : "subscribe", a.isOpen = !0, await he(), o.value = !0);
|
|
1907
1907
|
}, { immediate: !0 });
|
|
1908
1908
|
async function u() {
|
|
1909
1909
|
await a.modify(s.value), await a.subscriptionInfo(), p.value = null, await e(3e3), l.value = "status", await e(300), p.value = !1;
|
|
1910
1910
|
}
|
|
1911
1911
|
return (m, f) => {
|
|
1912
|
-
const V =
|
|
1913
|
-
return d(),
|
|
1912
|
+
const V = pe, y = wn, v = $n, g = hn, _ = ln, $ = $e, F = we;
|
|
1913
|
+
return d(), h(F, {
|
|
1914
1914
|
modelValue: o.value,
|
|
1915
|
-
"onUpdate:modelValue": f[4] || (f[4] = (
|
|
1916
|
-
"prepend-icon": `svg:${t(
|
|
1915
|
+
"onUpdate:modelValue": f[4] || (f[4] = (P) => o.value = P),
|
|
1916
|
+
"prepend-icon": `svg:${t(no)}`,
|
|
1917
1917
|
title: "Subscriptions"
|
|
1918
|
-
},
|
|
1918
|
+
}, M({
|
|
1919
1919
|
default: r(() => [
|
|
1920
|
-
i(
|
|
1920
|
+
i(Ve, null, {
|
|
1921
1921
|
default: r(() => [
|
|
1922
|
-
i(
|
|
1922
|
+
i(ke, { scrollable: "" }, {
|
|
1923
1923
|
default: r(() => [
|
|
1924
|
-
b("div",
|
|
1925
|
-
i(
|
|
1924
|
+
b("div", xn, [
|
|
1925
|
+
i(ie, null, {
|
|
1926
1926
|
default: r(() => [
|
|
1927
1927
|
i(V, {
|
|
1928
1928
|
text: "The Vuetify One subscription is a great way to support the Vuetify team and get access to exclusive features and content.",
|
|
1929
1929
|
title: "Vuetify One"
|
|
1930
1930
|
}),
|
|
1931
|
-
i(
|
|
1931
|
+
i(_t, { "model-value": t(l) }, {
|
|
1932
1932
|
default: r(() => [
|
|
1933
|
-
i(
|
|
1933
|
+
i(ve, { value: "subscribe" }, {
|
|
1934
1934
|
default: r(() => [
|
|
1935
1935
|
i(y, {
|
|
1936
1936
|
modelValue: t(s),
|
|
1937
|
-
"onUpdate:modelValue": f[0] || (f[0] = (
|
|
1937
|
+
"onUpdate:modelValue": f[0] || (f[0] = (P) => se(s) ? s.value = P : null)
|
|
1938
1938
|
}, null, 8, ["modelValue"]),
|
|
1939
|
-
|
|
1939
|
+
Sn,
|
|
1940
1940
|
i(v)
|
|
1941
1941
|
]),
|
|
1942
1942
|
_: 1
|
|
1943
1943
|
}),
|
|
1944
|
-
i(
|
|
1944
|
+
i(ve, { value: "status" }, {
|
|
1945
1945
|
default: r(() => [
|
|
1946
1946
|
i(g, {
|
|
1947
|
-
"onChange:subscription": f[1] || (f[1] = (
|
|
1947
|
+
"onChange:subscription": f[1] || (f[1] = (P) => l.value = "subscribe")
|
|
1948
1948
|
}),
|
|
1949
|
-
i(
|
|
1949
|
+
i(_)
|
|
1950
1950
|
]),
|
|
1951
1951
|
_: 1
|
|
1952
1952
|
})
|
|
@@ -1969,25 +1969,25 @@ const Re = G("settings", () => {
|
|
|
1969
1969
|
t(l) === "subscribe" ? {
|
|
1970
1970
|
name: "actions",
|
|
1971
1971
|
fn: r(() => [
|
|
1972
|
-
b("div",
|
|
1973
|
-
t(p) !== !1 ? (d(),
|
|
1972
|
+
b("div", Cn, [
|
|
1973
|
+
t(p) !== !1 ? (d(), h($, {
|
|
1974
1974
|
key: 0,
|
|
1975
1975
|
block: "",
|
|
1976
1976
|
color: "success",
|
|
1977
1977
|
loading: t(a).isLoading,
|
|
1978
|
-
"prepend-icon": `svg:${t(p) !== null ? t(
|
|
1978
|
+
"prepend-icon": `svg:${t(p) !== null ? t(so) : t(De)}`,
|
|
1979
1979
|
readonly: t(p) === null,
|
|
1980
1980
|
size: "default",
|
|
1981
1981
|
text: t(p) !== null ? "Modify Subscription" : "Success",
|
|
1982
1982
|
onClick: u
|
|
1983
|
-
}, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : t(a).isSubscriber ? (d(),
|
|
1983
|
+
}, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : t(a).isSubscriber ? (d(), h($, {
|
|
1984
1984
|
key: 2,
|
|
1985
1985
|
block: "",
|
|
1986
|
-
"prepend-icon": `svg:${t(
|
|
1986
|
+
"prepend-icon": `svg:${t(ao)}`,
|
|
1987
1987
|
size: "default",
|
|
1988
1988
|
text: "Manage Subscription",
|
|
1989
|
-
onClick: f[3] || (f[3] = (
|
|
1990
|
-
}, null, 8, ["prepend-icon"])) : (d(),
|
|
1989
|
+
onClick: f[3] || (f[3] = (P) => l.value = "status")
|
|
1990
|
+
}, null, 8, ["prepend-icon"])) : (d(), h($, {
|
|
1991
1991
|
key: 1,
|
|
1992
1992
|
block: "",
|
|
1993
1993
|
color: t(s) ? "primary" : "disabled",
|
|
@@ -1996,7 +1996,7 @@ const Re = G("settings", () => {
|
|
|
1996
1996
|
"prepend-icon": "$vuetify",
|
|
1997
1997
|
size: "default",
|
|
1998
1998
|
text: "Activate Subscription",
|
|
1999
|
-
onClick: f[2] || (f[2] = (
|
|
1999
|
+
onClick: f[2] || (f[2] = (P) => t(a).subscribe(t(s)))
|
|
2000
2000
|
}, null, 8, ["color", "disabled", "loading"]))
|
|
2001
2001
|
])
|
|
2002
2002
|
]),
|
|
@@ -2005,32 +2005,32 @@ const Re = G("settings", () => {
|
|
|
2005
2005
|
]), 1032, ["modelValue", "prepend-icon"]);
|
|
2006
2006
|
};
|
|
2007
2007
|
}
|
|
2008
|
-
}),
|
|
2008
|
+
}), In = /* @__PURE__ */ k({
|
|
2009
2009
|
__name: "VoSubscriptionListItem",
|
|
2010
2010
|
setup(c) {
|
|
2011
2011
|
const e = A(!1);
|
|
2012
2012
|
return (o, a) => {
|
|
2013
|
-
const n =
|
|
2014
|
-
return d(),
|
|
2013
|
+
const n = Ln, s = Y;
|
|
2014
|
+
return d(), h(s, {
|
|
2015
2015
|
active: t(e),
|
|
2016
2016
|
link: "",
|
|
2017
|
-
"prepend-icon": `svg:${t(
|
|
2017
|
+
"prepend-icon": `svg:${t(io)}`,
|
|
2018
2018
|
title: "Subscriptions"
|
|
2019
2019
|
}, {
|
|
2020
2020
|
default: r(() => [
|
|
2021
2021
|
i(n, {
|
|
2022
2022
|
modelValue: t(e),
|
|
2023
|
-
"onUpdate:modelValue": a[0] || (a[0] = (l) =>
|
|
2023
|
+
"onUpdate:modelValue": a[0] || (a[0] = (l) => se(e) ? e.value = l : null)
|
|
2024
2024
|
}, null, 8, ["modelValue"])
|
|
2025
2025
|
]),
|
|
2026
2026
|
_: 1
|
|
2027
2027
|
}, 8, ["active", "prepend-icon"]);
|
|
2028
2028
|
};
|
|
2029
2029
|
}
|
|
2030
|
-
}),
|
|
2030
|
+
}), An = {
|
|
2031
2031
|
key: 0,
|
|
2032
2032
|
class: "text-success"
|
|
2033
|
-
},
|
|
2033
|
+
}, He = /* @__PURE__ */ k({
|
|
2034
2034
|
__name: "VoSponsorshipsTimelineItem",
|
|
2035
2035
|
props: {
|
|
2036
2036
|
title: {},
|
|
@@ -2042,21 +2042,21 @@ const Re = G("settings", () => {
|
|
|
2042
2042
|
sponsorship: {}
|
|
2043
2043
|
},
|
|
2044
2044
|
setup(c) {
|
|
2045
|
-
const e = c, o =
|
|
2045
|
+
const e = c, o = Me(), a = x(() => {
|
|
2046
2046
|
var s, l;
|
|
2047
2047
|
return `$${parseFloat(String((((s = e.sponsorship) == null ? void 0 : s.amount) ?? 0) / 100)).toFixed(2)} /${(l = e.sponsorship) == null ? void 0 : l.interval}`;
|
|
2048
2048
|
});
|
|
2049
2049
|
return (n, s) => {
|
|
2050
2050
|
var p, u;
|
|
2051
|
-
const l =
|
|
2052
|
-
return d(),
|
|
2051
|
+
const l = $e;
|
|
2052
|
+
return d(), h(Do, {
|
|
2053
2053
|
"dot-color": (p = n.sponsorship) != null && p.isActive ? "success" : "transparent",
|
|
2054
|
-
icon: (u = n.sponsorship) != null && u.isActive ? `svg:${t(
|
|
2054
|
+
icon: (u = n.sponsorship) != null && u.isActive ? `svg:${t(Ue)}` : void 0,
|
|
2055
2055
|
size: "x-small",
|
|
2056
2056
|
width: "100%"
|
|
2057
2057
|
}, {
|
|
2058
2058
|
default: r(() => [
|
|
2059
|
-
i(
|
|
2059
|
+
i(W, {
|
|
2060
2060
|
border: "",
|
|
2061
2061
|
"prepend-avatar": `${t(o).CDN_URL}logos/${n.logo}.png`,
|
|
2062
2062
|
rounded: "lg",
|
|
@@ -2066,31 +2066,31 @@ const Re = G("settings", () => {
|
|
|
2066
2066
|
subtitle: r(() => {
|
|
2067
2067
|
var m;
|
|
2068
2068
|
return [
|
|
2069
|
-
(m = n.sponsorship) != null && m.isActive ? (d(), I("div",
|
|
2069
|
+
(m = n.sponsorship) != null && m.isActive ? (d(), I("div", An, [
|
|
2070
2070
|
i(D, {
|
|
2071
|
-
icon: `svg:${t(
|
|
2071
|
+
icon: `svg:${t(ro)}`,
|
|
2072
2072
|
size: "x-small"
|
|
2073
2073
|
}, null, 8, ["icon"]),
|
|
2074
|
-
|
|
2074
|
+
O(" " + L(t(a)), 1)
|
|
2075
2075
|
])) : (d(), I(U, { key: 1 }, [
|
|
2076
|
-
|
|
2076
|
+
O(L(n.text), 1)
|
|
2077
2077
|
], 64))
|
|
2078
2078
|
];
|
|
2079
2079
|
}),
|
|
2080
2080
|
append: r(() => {
|
|
2081
2081
|
var m, f, V, y, v, g;
|
|
2082
2082
|
return [
|
|
2083
|
-
n.disabled ? (d(),
|
|
2083
|
+
n.disabled ? (d(), h(l, {
|
|
2084
2084
|
key: 1,
|
|
2085
2085
|
color: "surface-variant",
|
|
2086
2086
|
readonly: "",
|
|
2087
2087
|
text: "Coming Soon"
|
|
2088
|
-
})) : (d(),
|
|
2088
|
+
})) : (d(), h(l, {
|
|
2089
2089
|
key: 0,
|
|
2090
2090
|
active: !1,
|
|
2091
2091
|
color: (m = n.sponsorship) != null && m.isActive ? "success" : "primary",
|
|
2092
2092
|
href: (f = n.sponsorship) != null && f.isActive || n.to ? void 0 : n.href,
|
|
2093
|
-
"prepend-icon": `svg:${(V = n.sponsorship) != null && V.isActive ? t(
|
|
2093
|
+
"prepend-icon": `svg:${(V = n.sponsorship) != null && V.isActive ? t(De) : t(Te)}`,
|
|
2094
2094
|
readonly: (y = n.sponsorship) == null ? void 0 : y.isActive,
|
|
2095
2095
|
target: (v = n.sponsorship) != null && v.isActive || n.to ? void 0 : "_blank",
|
|
2096
2096
|
text: (g = n.sponsorship) != null && g.isActive ? "Active" : "Info",
|
|
@@ -2106,12 +2106,12 @@ const Re = G("settings", () => {
|
|
|
2106
2106
|
}, 8, ["dot-color", "icon"]);
|
|
2107
2107
|
};
|
|
2108
2108
|
}
|
|
2109
|
-
}),
|
|
2109
|
+
}), Dn = /* @__PURE__ */ k({
|
|
2110
2110
|
__name: "VoSponsorshipsTimelineItemPatreon",
|
|
2111
2111
|
setup(c) {
|
|
2112
2112
|
return (e, o) => {
|
|
2113
|
-
const a =
|
|
2114
|
-
return d(),
|
|
2113
|
+
const a = He;
|
|
2114
|
+
return d(), h(a, {
|
|
2115
2115
|
disabled: "",
|
|
2116
2116
|
logo: "patreon",
|
|
2117
2117
|
text: "Support Vuetify through Patreon.",
|
|
@@ -2124,8 +2124,8 @@ const Re = G("settings", () => {
|
|
|
2124
2124
|
setup(c) {
|
|
2125
2125
|
const e = j();
|
|
2126
2126
|
return (o, a) => {
|
|
2127
|
-
const n =
|
|
2128
|
-
return d(),
|
|
2127
|
+
const n = He;
|
|
2128
|
+
return d(), h(n, {
|
|
2129
2129
|
href: "https://discord.com/servers/vuetify-340160225338195969",
|
|
2130
2130
|
logo: "discord",
|
|
2131
2131
|
sponsorship: t(e).discord,
|
|
@@ -2134,13 +2134,13 @@ const Re = G("settings", () => {
|
|
|
2134
2134
|
}, null, 8, ["sponsorship"]);
|
|
2135
2135
|
};
|
|
2136
2136
|
}
|
|
2137
|
-
}),
|
|
2137
|
+
}), Nn = /* @__PURE__ */ k({
|
|
2138
2138
|
__name: "VoSponsorshipsTimelineItemGithub",
|
|
2139
2139
|
setup(c) {
|
|
2140
2140
|
const e = j();
|
|
2141
2141
|
return (o, a) => {
|
|
2142
|
-
const n =
|
|
2143
|
-
return d(),
|
|
2142
|
+
const n = He;
|
|
2143
|
+
return d(), h(n, {
|
|
2144
2144
|
href: "https://github.com/sponsors/johnleider",
|
|
2145
2145
|
logo: "github",
|
|
2146
2146
|
sponsorship: t(e).github,
|
|
@@ -2149,13 +2149,13 @@ const Re = G("settings", () => {
|
|
|
2149
2149
|
}, null, 8, ["sponsorship"]);
|
|
2150
2150
|
};
|
|
2151
2151
|
}
|
|
2152
|
-
}),
|
|
2152
|
+
}), On = /* @__PURE__ */ k({
|
|
2153
2153
|
__name: "VoSponsorshipsTimelineItemOne",
|
|
2154
2154
|
setup(c) {
|
|
2155
2155
|
const e = j();
|
|
2156
2156
|
return (o, a) => {
|
|
2157
|
-
const n =
|
|
2158
|
-
return d(),
|
|
2157
|
+
const n = He;
|
|
2158
|
+
return d(), h(n, {
|
|
2159
2159
|
logo: "one",
|
|
2160
2160
|
sponsorship: t(e).one,
|
|
2161
2161
|
text: "Support Vuetify through Vuetify One.",
|
|
@@ -2164,12 +2164,12 @@ const Re = G("settings", () => {
|
|
|
2164
2164
|
}, null, 8, ["sponsorship"]);
|
|
2165
2165
|
};
|
|
2166
2166
|
}
|
|
2167
|
-
}),
|
|
2167
|
+
}), Un = /* @__PURE__ */ k({
|
|
2168
2168
|
__name: "VoSponsorshipsTimeline",
|
|
2169
2169
|
setup(c) {
|
|
2170
2170
|
return (e, o) => {
|
|
2171
|
-
const a =
|
|
2172
|
-
return d(),
|
|
2171
|
+
const a = On, n = Nn, s = Bn, l = Dn;
|
|
2172
|
+
return d(), h(Bo, {
|
|
2173
2173
|
class: "justify-start ms-n7",
|
|
2174
2174
|
"line-inset": "12",
|
|
2175
2175
|
side: "end",
|
|
@@ -2186,7 +2186,7 @@ const Re = G("settings", () => {
|
|
|
2186
2186
|
});
|
|
2187
2187
|
};
|
|
2188
2188
|
}
|
|
2189
|
-
}),
|
|
2189
|
+
}), Tn = { class: "px-3 pb-5 d-flex flex-column h-100" }, Fn = { class: "font-weight-black" }, zn = { class: "text-caption text-medium-emphasis" }, jn = /* @__PURE__ */ k({
|
|
2190
2190
|
__name: "VoSponsorshipsDialog",
|
|
2191
2191
|
props: {
|
|
2192
2192
|
modelValue: { type: Boolean },
|
|
@@ -2194,24 +2194,24 @@ const Re = G("settings", () => {
|
|
|
2194
2194
|
},
|
|
2195
2195
|
emits: ["update:modelValue"],
|
|
2196
2196
|
setup(c) {
|
|
2197
|
-
const e = le(c, "modelValue"), o =
|
|
2198
|
-
return
|
|
2199
|
-
o.value.one === "sponsorships" && (a.isOpen = !0, await
|
|
2197
|
+
const e = le(c, "modelValue"), o = xe(), a = j();
|
|
2198
|
+
return z(o, async () => {
|
|
2199
|
+
o.value.one === "sponsorships" && (a.isOpen = !0, await he(), e.value = !0);
|
|
2200
2200
|
}, { immediate: !0 }), (n, s) => {
|
|
2201
|
-
const l =
|
|
2202
|
-
return d(),
|
|
2201
|
+
const l = pe, p = Un, u = Oe("v-empty-state"), m = we;
|
|
2202
|
+
return d(), h(m, {
|
|
2203
2203
|
modelValue: e.value,
|
|
2204
2204
|
"onUpdate:modelValue": s[0] || (s[0] = (f) => e.value = f),
|
|
2205
|
-
"prepend-icon": `svg:${t(
|
|
2205
|
+
"prepend-icon": `svg:${t(lo)}`,
|
|
2206
2206
|
title: "Sponsorships"
|
|
2207
2207
|
}, {
|
|
2208
2208
|
default: r(() => [
|
|
2209
|
-
i(
|
|
2209
|
+
i(Ve, null, {
|
|
2210
2210
|
default: r(() => [
|
|
2211
|
-
i(
|
|
2211
|
+
i(ke, { scrollable: "" }, {
|
|
2212
2212
|
default: r(() => [
|
|
2213
|
-
b("div",
|
|
2214
|
-
i(
|
|
2213
|
+
b("div", Tn, [
|
|
2214
|
+
i(ie, { class: "flex-0-0 mb-16 mb-sm-4" }, {
|
|
2215
2215
|
default: r(() => [
|
|
2216
2216
|
i(l, {
|
|
2217
2217
|
text: "Support Vuetify through GitHub Sponsors, Discord, or Patreon to unlock exclusive benefits and content.",
|
|
@@ -2233,11 +2233,11 @@ const Re = G("settings", () => {
|
|
|
2233
2233
|
}, null, 8, ["color"])
|
|
2234
2234
|
]),
|
|
2235
2235
|
title: r(() => [
|
|
2236
|
-
|
|
2237
|
-
b("span", Fn,
|
|
2236
|
+
O(" One Status: "),
|
|
2237
|
+
b("span", Fn, L(t(a).isSubscriber ? "Active" : "Inactive"), 1)
|
|
2238
2238
|
]),
|
|
2239
2239
|
text: r(() => [
|
|
2240
|
-
b("div",
|
|
2240
|
+
b("div", zn, L(t(a).isSubscriber ? "You are currently receiving benefits of Vuetify One." : "Login to activate Vuetify One benefits"), 1)
|
|
2241
2241
|
]),
|
|
2242
2242
|
_: 1
|
|
2243
2243
|
})
|
|
@@ -2258,25 +2258,25 @@ const Re = G("settings", () => {
|
|
|
2258
2258
|
setup(c) {
|
|
2259
2259
|
const e = A(!1);
|
|
2260
2260
|
return (o, a) => {
|
|
2261
|
-
const n =
|
|
2262
|
-
return d(),
|
|
2261
|
+
const n = jn, s = Y;
|
|
2262
|
+
return d(), h(s, {
|
|
2263
2263
|
active: t(e),
|
|
2264
2264
|
link: "",
|
|
2265
|
-
"prepend-icon": `svg:${t(
|
|
2265
|
+
"prepend-icon": `svg:${t(co)}`,
|
|
2266
2266
|
title: "Sponsorships"
|
|
2267
2267
|
}, {
|
|
2268
2268
|
default: r(() => [
|
|
2269
2269
|
i(n, {
|
|
2270
2270
|
modelValue: t(e),
|
|
2271
|
-
"onUpdate:modelValue": a[0] || (a[0] = (l) =>
|
|
2271
|
+
"onUpdate:modelValue": a[0] || (a[0] = (l) => se(e) ? e.value = l : null)
|
|
2272
2272
|
}, null, 8, ["modelValue"])
|
|
2273
2273
|
]),
|
|
2274
2274
|
_: 1
|
|
2275
2275
|
}, 8, ["active", "prepend-icon"]);
|
|
2276
2276
|
};
|
|
2277
2277
|
}
|
|
2278
|
-
}),
|
|
2279
|
-
const c =
|
|
2278
|
+
}), Mn = G("downloads", () => {
|
|
2279
|
+
const c = te(), e = N([]), o = A(!1);
|
|
2280
2280
|
async function a() {
|
|
2281
2281
|
if (e.value.length)
|
|
2282
2282
|
return e.value;
|
|
@@ -2295,10 +2295,10 @@ const Re = G("settings", () => {
|
|
|
2295
2295
|
isLoading: o,
|
|
2296
2296
|
index: a
|
|
2297
2297
|
};
|
|
2298
|
-
}),
|
|
2298
|
+
}), Hn = /* @__PURE__ */ k({
|
|
2299
2299
|
__name: "VoDownloadsTable",
|
|
2300
2300
|
setup(c) {
|
|
2301
|
-
const e =
|
|
2301
|
+
const e = ye(), o = Mn(), a = [
|
|
2302
2302
|
{
|
|
2303
2303
|
title: "Order ID",
|
|
2304
2304
|
value: "order_name"
|
|
@@ -2321,22 +2321,22 @@ const Re = G("settings", () => {
|
|
|
2321
2321
|
return Be(async () => {
|
|
2322
2322
|
await o.index();
|
|
2323
2323
|
}), (n, s) => {
|
|
2324
|
-
const l =
|
|
2325
|
-
return d(),
|
|
2324
|
+
const l = pe;
|
|
2325
|
+
return d(), h(be, null, {
|
|
2326
2326
|
default: r(() => [
|
|
2327
|
-
i(
|
|
2327
|
+
i(re, { cols: "12" }, {
|
|
2328
2328
|
default: r(() => [
|
|
2329
2329
|
i(l, {
|
|
2330
2330
|
text: "View and download your store purchases.",
|
|
2331
2331
|
title: "Download history"
|
|
2332
2332
|
}),
|
|
2333
|
-
i(
|
|
2333
|
+
i(W, {
|
|
2334
2334
|
border: "",
|
|
2335
2335
|
flat: "",
|
|
2336
2336
|
rounded: "lg"
|
|
2337
2337
|
}, {
|
|
2338
2338
|
default: r(() => [
|
|
2339
|
-
i(
|
|
2339
|
+
i(vt, {
|
|
2340
2340
|
"fixed-header": "",
|
|
2341
2341
|
headers: a,
|
|
2342
2342
|
height: "640",
|
|
@@ -2344,22 +2344,22 @@ const Re = G("settings", () => {
|
|
|
2344
2344
|
loading: t(o).isLoading
|
|
2345
2345
|
}, {
|
|
2346
2346
|
"item.order_name": r(({ item: p }) => [
|
|
2347
|
-
|
|
2347
|
+
O(" #" + L(p.order_name), 1)
|
|
2348
2348
|
]),
|
|
2349
2349
|
"item.created_at": r(({ item: p }) => [
|
|
2350
|
-
|
|
2350
|
+
O(L(t(e).format(p.created_at, "shortDate")), 1)
|
|
2351
2351
|
]),
|
|
2352
2352
|
"item.download_items": r(({ item: p }) => [
|
|
2353
|
-
(d(!0), I(U, null,
|
|
2353
|
+
(d(!0), I(U, null, ne(p.download_items, (u, m) => (d(), I("div", {
|
|
2354
2354
|
key: m,
|
|
2355
2355
|
class: "text-truncate"
|
|
2356
|
-
},
|
|
2356
|
+
}, L(u.name), 1))), 128))
|
|
2357
2357
|
]),
|
|
2358
2358
|
"item.download_url": r(({ item: p }) => [
|
|
2359
2359
|
i(q, {
|
|
2360
2360
|
color: "medium-emphasis",
|
|
2361
2361
|
href: p.download_url,
|
|
2362
|
-
icon: `svg:${t(
|
|
2362
|
+
icon: `svg:${t(uo)}`,
|
|
2363
2363
|
size: "small",
|
|
2364
2364
|
target: "_blank",
|
|
2365
2365
|
variant: "text"
|
|
@@ -2378,13 +2378,13 @@ const Re = G("settings", () => {
|
|
|
2378
2378
|
});
|
|
2379
2379
|
};
|
|
2380
2380
|
}
|
|
2381
|
-
}),
|
|
2381
|
+
}), Rn = { class: "px-3" }, En = /* @__PURE__ */ k({
|
|
2382
2382
|
__name: "VoDownloadsNavItem",
|
|
2383
2383
|
setup(c) {
|
|
2384
2384
|
const e = A(!1);
|
|
2385
2385
|
return (o, a) => {
|
|
2386
|
-
const n =
|
|
2387
|
-
return d(),
|
|
2386
|
+
const n = Hn, s = we, l = Y;
|
|
2387
|
+
return d(), h(l, {
|
|
2388
2388
|
active: t(e),
|
|
2389
2389
|
link: "",
|
|
2390
2390
|
"prepend-icon": `svg:${t(st)}`,
|
|
@@ -2393,17 +2393,17 @@ const Re = G("settings", () => {
|
|
|
2393
2393
|
default: r(() => [
|
|
2394
2394
|
i(s, {
|
|
2395
2395
|
modelValue: t(e),
|
|
2396
|
-
"onUpdate:modelValue": a[0] || (a[0] = (p) =>
|
|
2396
|
+
"onUpdate:modelValue": a[0] || (a[0] = (p) => se(e) ? e.value = p : null),
|
|
2397
2397
|
"prepend-icon": `svg:${t(st)}`,
|
|
2398
2398
|
title: "Downloads"
|
|
2399
2399
|
}, {
|
|
2400
2400
|
default: r(() => [
|
|
2401
|
-
i(
|
|
2401
|
+
i(Ve, null, {
|
|
2402
2402
|
default: r(() => [
|
|
2403
|
-
i(
|
|
2403
|
+
i(ke, { scrollable: "" }, {
|
|
2404
2404
|
default: r(() => [
|
|
2405
|
-
b("div",
|
|
2406
|
-
i(
|
|
2405
|
+
b("div", Rn, [
|
|
2406
|
+
i(ie, null, {
|
|
2407
2407
|
default: r(() => [
|
|
2408
2408
|
i(n)
|
|
2409
2409
|
]),
|
|
@@ -2424,185 +2424,7 @@ const Re = G("settings", () => {
|
|
|
2424
2424
|
}, 8, ["active", "prepend-icon"]);
|
|
2425
2425
|
};
|
|
2426
2426
|
}
|
|
2427
|
-
}),
|
|
2428
|
-
__name: "VoStudioDialog",
|
|
2429
|
-
props: /* @__PURE__ */ rt({
|
|
2430
|
-
prependIcon: {}
|
|
2431
|
-
}, {
|
|
2432
|
-
modelValue: { type: Boolean },
|
|
2433
|
-
modelModifiers: {}
|
|
2434
|
-
}),
|
|
2435
|
-
emits: ["update:modelValue"],
|
|
2436
|
-
setup(c) {
|
|
2437
|
-
const e = le(c, "modelValue"), o = ye(), a = Fe(), n = j(), { smAndUp: s } = ce(), l = [
|
|
2438
|
-
{
|
|
2439
|
-
title: "Customize",
|
|
2440
|
-
subtitle: "Customize your Vuetify theme, components, and more with the Vuetify Studio.",
|
|
2441
|
-
text: "Vuetify Studio is a premium tool that allows you to customize your Vuetify theme, components, and more. Unlock Vuetify One status to gain access to the Vuetify Studio Alpha.",
|
|
2442
|
-
image: "https://cdn.vuetifyjs.com/docs/images/one/studio/customize.png"
|
|
2443
|
-
},
|
|
2444
|
-
{
|
|
2445
|
-
title: "Configure",
|
|
2446
|
-
subtitle: "Configure every aspect of your application from a single interface.",
|
|
2447
|
-
text: "Vuetify Studio allows you to configure every single property of your application, including global values, and more.",
|
|
2448
|
-
image: "https://cdn.vuetifyjs.com/docs/images/one/studio/configure.png"
|
|
2449
|
-
},
|
|
2450
|
-
{
|
|
2451
|
-
title: "Export",
|
|
2452
|
-
subtitle: "Export your configuration and easily implement your options.",
|
|
2453
|
-
text: "Vuetify Studio allows you to export your options to a Vuetify configuration file for easy integration into your application.",
|
|
2454
|
-
image: "https://cdn.vuetifyjs.com/docs/images/one/studio/export.png"
|
|
2455
|
-
}
|
|
2456
|
-
];
|
|
2457
|
-
N(o, async () => {
|
|
2458
|
-
o.value.one === "studio" && (n.isOpen = !0, await de(), e.value = !0);
|
|
2459
|
-
}, { immediate: !0 });
|
|
2460
|
-
function p() {
|
|
2461
|
-
e.value = !1, a.push({ query: { one: "subscribe" } });
|
|
2462
|
-
}
|
|
2463
|
-
return (u, m) => {
|
|
2464
|
-
const f = _e, V = he;
|
|
2465
|
-
return d(), _(V, {
|
|
2466
|
-
modelValue: e.value,
|
|
2467
|
-
"onUpdate:modelValue": m[0] || (m[0] = (y) => e.value = y),
|
|
2468
|
-
"prepend-icon": u.prependIcon,
|
|
2469
|
-
title: "Vuetify Studio"
|
|
2470
|
-
}, {
|
|
2471
|
-
default: r(() => [
|
|
2472
|
-
i(fe, null, {
|
|
2473
|
-
default: r(() => [
|
|
2474
|
-
i(ve, { scrollable: "" }, {
|
|
2475
|
-
default: r(() => [
|
|
2476
|
-
i(Y, {
|
|
2477
|
-
"content-class": "d-flex align-center justify-center flex-column",
|
|
2478
|
-
cover: "",
|
|
2479
|
-
gradient: "to top right, rgba(var(--v-theme-primary),.8), rgba(0,0,0,.9)",
|
|
2480
|
-
height: "350",
|
|
2481
|
-
"max-height": "350",
|
|
2482
|
-
position: "top",
|
|
2483
|
-
src: "https://cdn.vuetifyjs.com/docs/images/one/studio/hero.png"
|
|
2484
|
-
}, {
|
|
2485
|
-
default: r(() => [
|
|
2486
|
-
i(H, {
|
|
2487
|
-
class: "text-center pa-3",
|
|
2488
|
-
color: "surface",
|
|
2489
|
-
flat: "",
|
|
2490
|
-
rounded: "xl"
|
|
2491
|
-
}, {
|
|
2492
|
-
text: r(() => [
|
|
2493
|
-
i(D, {
|
|
2494
|
-
color: "accent",
|
|
2495
|
-
icon: u.prependIcon,
|
|
2496
|
-
size: "80"
|
|
2497
|
-
}, null, 8, ["icon"]),
|
|
2498
|
-
qn,
|
|
2499
|
-
Gn
|
|
2500
|
-
]),
|
|
2501
|
-
_: 1
|
|
2502
|
-
})
|
|
2503
|
-
]),
|
|
2504
|
-
_: 1
|
|
2505
|
-
}),
|
|
2506
|
-
(d(), I(U, null, oe(l, (y, v) => i($e, {
|
|
2507
|
-
key: v,
|
|
2508
|
-
class: "py-8",
|
|
2509
|
-
color: v % 2 === 0 ? "surface-light" : "surface-variant"
|
|
2510
|
-
}, {
|
|
2511
|
-
default: r(() => [
|
|
2512
|
-
i(at, null, {
|
|
2513
|
-
default: r(() => [
|
|
2514
|
-
i(re, { align: "center" }, {
|
|
2515
|
-
default: r(() => [
|
|
2516
|
-
i(X, {
|
|
2517
|
-
cols: "12",
|
|
2518
|
-
offset: "0",
|
|
2519
|
-
"offset-sm": "1",
|
|
2520
|
-
order: v % 2,
|
|
2521
|
-
sm: "6"
|
|
2522
|
-
}, {
|
|
2523
|
-
default: r(() => [
|
|
2524
|
-
b("strong", Zn, C(y.title), 1),
|
|
2525
|
-
b("p", Qn, C(y.subtitle), 1),
|
|
2526
|
-
b("p", Yn, C(y.text), 1)
|
|
2527
|
-
]),
|
|
2528
|
-
_: 2
|
|
2529
|
-
}, 1032, ["order"]),
|
|
2530
|
-
i(X, {
|
|
2531
|
-
cols: "12",
|
|
2532
|
-
offset: "0",
|
|
2533
|
-
"offset-sm": v % 2,
|
|
2534
|
-
sm: "4"
|
|
2535
|
-
}, {
|
|
2536
|
-
default: r(() => [
|
|
2537
|
-
i(Y, {
|
|
2538
|
-
cover: "",
|
|
2539
|
-
height: t(s) ? 180 : void 0,
|
|
2540
|
-
rounded: "lg",
|
|
2541
|
-
src: y.image
|
|
2542
|
-
}, null, 8, ["height", "src"])
|
|
2543
|
-
]),
|
|
2544
|
-
_: 2
|
|
2545
|
-
}, 1032, ["offset-sm"])
|
|
2546
|
-
]),
|
|
2547
|
-
_: 2
|
|
2548
|
-
}, 1024)
|
|
2549
|
-
]),
|
|
2550
|
-
_: 2
|
|
2551
|
-
}, 1024)
|
|
2552
|
-
]),
|
|
2553
|
-
_: 2
|
|
2554
|
-
}, 1032, ["color"])), 64)),
|
|
2555
|
-
t(n).isSubscriber ? S("", !0) : (d(), _($e, {
|
|
2556
|
-
key: 0,
|
|
2557
|
-
class: "text-center py-6"
|
|
2558
|
-
}, {
|
|
2559
|
-
default: r(() => [
|
|
2560
|
-
i(at, null, {
|
|
2561
|
-
default: r(() => [
|
|
2562
|
-
i(re, { justify: "center" }, {
|
|
2563
|
-
default: r(() => [
|
|
2564
|
-
i(X, { cols: "6" }, {
|
|
2565
|
-
default: r(() => [
|
|
2566
|
-
i(K, {
|
|
2567
|
-
image: "https://cdn.vuetifyjs.com/docs/images/avatars/one.png",
|
|
2568
|
-
size: "64"
|
|
2569
|
-
}),
|
|
2570
|
-
Jn
|
|
2571
|
-
]),
|
|
2572
|
-
_: 1
|
|
2573
|
-
}),
|
|
2574
|
-
i(X, { cols: "12" }, {
|
|
2575
|
-
default: r(() => [
|
|
2576
|
-
i(f, {
|
|
2577
|
-
"prepend-icon": "$vuetify",
|
|
2578
|
-
size: "x-large",
|
|
2579
|
-
text: "Subscribe Today",
|
|
2580
|
-
onClick: p
|
|
2581
|
-
})
|
|
2582
|
-
]),
|
|
2583
|
-
_: 1
|
|
2584
|
-
})
|
|
2585
|
-
]),
|
|
2586
|
-
_: 1
|
|
2587
|
-
})
|
|
2588
|
-
]),
|
|
2589
|
-
_: 1
|
|
2590
|
-
})
|
|
2591
|
-
]),
|
|
2592
|
-
_: 1
|
|
2593
|
-
}))
|
|
2594
|
-
]),
|
|
2595
|
-
_: 1
|
|
2596
|
-
})
|
|
2597
|
-
]),
|
|
2598
|
-
_: 1
|
|
2599
|
-
})
|
|
2600
|
-
]),
|
|
2601
|
-
_: 1
|
|
2602
|
-
}, 8, ["modelValue", "prepend-icon"]);
|
|
2603
|
-
};
|
|
2604
|
-
}
|
|
2605
|
-
}), Kn = /* @__PURE__ */ k({
|
|
2427
|
+
}), Wn = /* @__PURE__ */ k({
|
|
2606
2428
|
__name: "VoStudioNavItem",
|
|
2607
2429
|
setup(c) {
|
|
2608
2430
|
const e = A(!1), o = [
|
|
@@ -2612,48 +2434,45 @@ const Re = G("settings", () => {
|
|
|
2612
2434
|
["M2 4L6.87046 12.2799L9.26479 7.61064L2 4Z", 1]
|
|
2613
2435
|
];
|
|
2614
2436
|
return (a, n) => {
|
|
2615
|
-
const s =
|
|
2616
|
-
return d(),
|
|
2437
|
+
const s = Y;
|
|
2438
|
+
return d(), h(s, {
|
|
2617
2439
|
active: t(e),
|
|
2440
|
+
href: "https://studio.vuetifyjs.com/",
|
|
2618
2441
|
link: "",
|
|
2619
2442
|
"prepend-icon": o,
|
|
2443
|
+
target: "_blank",
|
|
2620
2444
|
title: "Vuetify Studio"
|
|
2621
2445
|
}, {
|
|
2622
2446
|
append: r(() => [
|
|
2623
|
-
i(
|
|
2447
|
+
i(X, {
|
|
2448
|
+
color: "amber-darken-1",
|
|
2624
2449
|
label: "",
|
|
2625
|
-
size: "x-small"
|
|
2450
|
+
size: "x-small",
|
|
2451
|
+
variant: "outlined"
|
|
2626
2452
|
}, {
|
|
2627
2453
|
default: r(() => [
|
|
2628
|
-
|
|
2454
|
+
O("Closed Alpha")
|
|
2629
2455
|
]),
|
|
2630
2456
|
_: 1
|
|
2631
2457
|
})
|
|
2632
2458
|
]),
|
|
2633
|
-
default: r(() => [
|
|
2634
|
-
i(s, {
|
|
2635
|
-
modelValue: t(e),
|
|
2636
|
-
"onUpdate:modelValue": n[0] || (n[0] = (p) => ne(e) ? e.value = p : null),
|
|
2637
|
-
"prepend-icon": o
|
|
2638
|
-
}, null, 8, ["modelValue"])
|
|
2639
|
-
]),
|
|
2640
2459
|
_: 1
|
|
2641
2460
|
}, 8, ["active"]);
|
|
2642
2461
|
};
|
|
2643
2462
|
}
|
|
2644
|
-
}),
|
|
2463
|
+
}), qn = {
|
|
2645
2464
|
key: 0,
|
|
2646
2465
|
class: "pt-16"
|
|
2647
|
-
},
|
|
2466
|
+
}, Gn = /* @__PURE__ */ b("div", { class: "text-medium-emphasis" }, " All caught up ", -1), Zn = {
|
|
2648
2467
|
key: 1,
|
|
2649
2468
|
class: "pa-5"
|
|
2650
|
-
},
|
|
2469
|
+
}, Qn = { class: "text-subtitle-1 font-weight-bold" }, Yn = { class: "text-caption font-weight-bold text-medium-emphasis" }, Jn = { class: "text-disabled text-caption mt-2 mb-3" }, Xn = /* @__PURE__ */ k({
|
|
2651
2470
|
__name: "VoNotificationsBannerList",
|
|
2652
2471
|
props: {
|
|
2653
2472
|
items: {}
|
|
2654
2473
|
},
|
|
2655
2474
|
setup(c) {
|
|
2656
|
-
const e =
|
|
2475
|
+
const e = ye(), o = de(), a = T();
|
|
2657
2476
|
function n(l) {
|
|
2658
2477
|
return a.notifications.last.banner.includes(l);
|
|
2659
2478
|
}
|
|
@@ -2661,21 +2480,21 @@ const Re = G("settings", () => {
|
|
|
2661
2480
|
n(l.slug) ? a.notifications.last.banner = a.notifications.last.banner.filter((p) => p !== l.slug) : a.notifications.last.banner.push(l.slug);
|
|
2662
2481
|
}
|
|
2663
2482
|
return (l, p) => {
|
|
2664
|
-
const u =
|
|
2665
|
-
return d(),
|
|
2483
|
+
const u = Oe("v-empty-state");
|
|
2484
|
+
return d(), h(ae, {
|
|
2666
2485
|
class: "py-0",
|
|
2667
2486
|
height: "100%",
|
|
2668
2487
|
lines: "three"
|
|
2669
2488
|
}, {
|
|
2670
2489
|
default: r(() => [
|
|
2671
|
-
l.items.length ? (d(), I("div",
|
|
2672
|
-
(d(!0), I(U, null,
|
|
2490
|
+
l.items.length ? (d(), I("div", Zn, [
|
|
2491
|
+
(d(!0), I(U, null, ne(l.items, (m) => {
|
|
2673
2492
|
var f;
|
|
2674
2493
|
return d(), I("div", {
|
|
2675
2494
|
key: m.slug,
|
|
2676
2495
|
class: "mb-4"
|
|
2677
2496
|
}, [
|
|
2678
|
-
i(
|
|
2497
|
+
i(W, {
|
|
2679
2498
|
color: m.metadata.color,
|
|
2680
2499
|
flat: "",
|
|
2681
2500
|
image: (f = m.metadata.images.bg) == null ? void 0 : f.url,
|
|
@@ -2691,34 +2510,34 @@ const Re = G("settings", () => {
|
|
|
2691
2510
|
];
|
|
2692
2511
|
}),
|
|
2693
2512
|
image: r(() => [
|
|
2694
|
-
i(
|
|
2513
|
+
i(ee, { position: "right" })
|
|
2695
2514
|
]),
|
|
2696
2515
|
_: 2
|
|
2697
2516
|
}, 1032, ["color", "image", "title"]),
|
|
2698
|
-
i(
|
|
2517
|
+
i(je, null, {
|
|
2699
2518
|
default: r(({ props: V, isHovering: y }) => [
|
|
2700
|
-
i(
|
|
2519
|
+
i(et, E(V, {
|
|
2701
2520
|
border: "",
|
|
2702
2521
|
class: "px-8 pt-2 pb-4 position-relative",
|
|
2703
2522
|
rounded: "b"
|
|
2704
2523
|
}), {
|
|
2705
2524
|
default: r(() => [
|
|
2706
|
-
i(
|
|
2525
|
+
i(J, {
|
|
2707
2526
|
location: "bottom",
|
|
2708
2527
|
text: n(m.slug) ? "Mark as unread" : "Mark as read"
|
|
2709
2528
|
}, {
|
|
2710
2529
|
activator: r(({ props: v }) => [
|
|
2711
|
-
i(
|
|
2530
|
+
i(Fe, { "hide-on-leave": "" }, {
|
|
2712
2531
|
default: r(() => [
|
|
2713
|
-
|
|
2532
|
+
ge(i(q, E(v, {
|
|
2714
2533
|
class: "ms-auto float-right",
|
|
2715
|
-
icon: `svg:${n(m.slug) ? t(
|
|
2534
|
+
icon: `svg:${n(m.slug) ? t(ut) : t(ct)}`,
|
|
2716
2535
|
"mdi-email-variant": "",
|
|
2717
2536
|
size: "small",
|
|
2718
2537
|
variant: "text",
|
|
2719
2538
|
onClick: (g) => s(m)
|
|
2720
2539
|
}), null, 16, ["icon", "onClick"]), [
|
|
2721
|
-
[
|
|
2540
|
+
[Ne, y || t(o).mobile.value]
|
|
2722
2541
|
])
|
|
2723
2542
|
]),
|
|
2724
2543
|
_: 2
|
|
@@ -2726,15 +2545,15 @@ const Re = G("settings", () => {
|
|
|
2726
2545
|
]),
|
|
2727
2546
|
_: 2
|
|
2728
2547
|
}, 1032, ["text"]),
|
|
2729
|
-
b("div",
|
|
2730
|
-
b("div",
|
|
2731
|
-
b("div",
|
|
2732
|
-
i(
|
|
2548
|
+
b("div", Qn, L(m.metadata.text), 1),
|
|
2549
|
+
b("div", Yn, L(t(e).format(m.created_at, "fullDateWithWeekday")), 1),
|
|
2550
|
+
b("div", Jn, L(m.metadata.subtext), 1),
|
|
2551
|
+
i(X, E({
|
|
2733
2552
|
href: m.metadata.link.startsWith("http") ? m.metadata.link : void 0,
|
|
2734
2553
|
target: m.metadata.link.startsWith("http") ? "_blank" : void 0,
|
|
2735
2554
|
to: m.metadata.link.startsWith("http") ? void 0 : m.metadata.link
|
|
2736
2555
|
}, {
|
|
2737
|
-
"append-icon": `svg:${t(
|
|
2556
|
+
"append-icon": `svg:${t(Te)}`,
|
|
2738
2557
|
border: "",
|
|
2739
2558
|
label: "",
|
|
2740
2559
|
size: "small",
|
|
@@ -2754,7 +2573,7 @@ const Re = G("settings", () => {
|
|
|
2754
2573
|
}, 1024)
|
|
2755
2574
|
]);
|
|
2756
2575
|
}), 128))
|
|
2757
|
-
])) : (d(), I("div",
|
|
2576
|
+
])) : (d(), I("div", qn, [
|
|
2758
2577
|
i(u, {
|
|
2759
2578
|
icon: "$vuetify",
|
|
2760
2579
|
size: "256"
|
|
@@ -2763,7 +2582,7 @@ const Re = G("settings", () => {
|
|
|
2763
2582
|
i(D, { color: "medium-emphasis" })
|
|
2764
2583
|
]),
|
|
2765
2584
|
title: r(() => [
|
|
2766
|
-
|
|
2585
|
+
Gn
|
|
2767
2586
|
]),
|
|
2768
2587
|
_: 1
|
|
2769
2588
|
})
|
|
@@ -2773,14 +2592,14 @@ const Re = G("settings", () => {
|
|
|
2773
2592
|
});
|
|
2774
2593
|
};
|
|
2775
2594
|
}
|
|
2776
|
-
}),
|
|
2595
|
+
}), Kn = { class: "ps-3 text-subtitle-2 pe-2" }, es = { class: "text-truncate" }, ts = { class: "text-caption font-weight-bold text-medium-emphasis" }, os = { class: "text-disabled text-caption my-2" }, ns = /* @__PURE__ */ k({
|
|
2777
2596
|
__name: "VoNotificationsListItem",
|
|
2778
2597
|
props: {
|
|
2779
2598
|
demo: { type: Boolean },
|
|
2780
2599
|
notification: {}
|
|
2781
2600
|
},
|
|
2782
2601
|
setup(c) {
|
|
2783
|
-
const e = c, o =
|
|
2602
|
+
const e = c, o = T(), a = ye(), n = de(), s = x(() => {
|
|
2784
2603
|
const u = e.notification.metadata ?? { action: "" };
|
|
2785
2604
|
return {
|
|
2786
2605
|
href: u.action.startsWith("http") ? u.action : void 0,
|
|
@@ -2799,35 +2618,35 @@ const Re = G("settings", () => {
|
|
|
2799
2618
|
e.demo || (l(u.slug) ? o.notifications.read = o.notifications.read.filter((m) => m !== u.slug) : o.notifications.read.push(u.slug));
|
|
2800
2619
|
}
|
|
2801
2620
|
return (u, m) => {
|
|
2802
|
-
const f =
|
|
2803
|
-
return d(),
|
|
2621
|
+
const f = Y;
|
|
2622
|
+
return d(), h(je, null, {
|
|
2804
2623
|
default: r(({ isHovering: V, props: y }) => [
|
|
2805
|
-
i(f,
|
|
2624
|
+
i(f, E(y, { class: "py-4 mb-0" }), {
|
|
2806
2625
|
prepend: r(() => [
|
|
2807
|
-
b("div",
|
|
2626
|
+
b("div", Kn, L(u.notification.metadata.emoji), 1)
|
|
2808
2627
|
]),
|
|
2809
2628
|
append: r(() => [
|
|
2810
|
-
i(
|
|
2629
|
+
i(No, {
|
|
2811
2630
|
class: "mt-n3",
|
|
2812
2631
|
width: "56"
|
|
2813
2632
|
}, {
|
|
2814
2633
|
default: r(() => [
|
|
2815
|
-
i(
|
|
2634
|
+
i(J, {
|
|
2816
2635
|
location: "bottom",
|
|
2817
2636
|
text: l(u.notification.slug) ? "Mark as unread" : "Mark as read"
|
|
2818
2637
|
}, {
|
|
2819
2638
|
activator: r(({ props: v }) => [
|
|
2820
|
-
i(
|
|
2639
|
+
i(Fe, { "hide-on-leave": "" }, {
|
|
2821
2640
|
default: r(() => [
|
|
2822
|
-
|
|
2641
|
+
ge(i(q, E(v, {
|
|
2823
2642
|
class: "ms-auto",
|
|
2824
|
-
icon: `svg:${l(u.notification.slug) ? t(
|
|
2643
|
+
icon: `svg:${l(u.notification.slug) ? t(ut) : t(ct)}`,
|
|
2825
2644
|
"mdi-email-variant": "",
|
|
2826
2645
|
size: "small",
|
|
2827
2646
|
variant: "text",
|
|
2828
2647
|
onClick: m[0] || (m[0] = (g) => p(u.notification))
|
|
2829
2648
|
}), null, 16, ["icon"]), [
|
|
2830
|
-
[
|
|
2649
|
+
[Ne, V || t(n).mobile.value]
|
|
2831
2650
|
])
|
|
2832
2651
|
]),
|
|
2833
2652
|
_: 2
|
|
@@ -2840,16 +2659,16 @@ const Re = G("settings", () => {
|
|
|
2840
2659
|
}, 1024)
|
|
2841
2660
|
]),
|
|
2842
2661
|
default: r(() => [
|
|
2843
|
-
i(
|
|
2662
|
+
i(dt, { class: "text-wrap text-h6 mb-1" }, {
|
|
2844
2663
|
default: r(() => [
|
|
2845
|
-
b("div",
|
|
2664
|
+
b("div", es, L(u.notification.title), 1)
|
|
2846
2665
|
]),
|
|
2847
2666
|
_: 1
|
|
2848
2667
|
}),
|
|
2849
|
-
b("div",
|
|
2850
|
-
b("div",
|
|
2851
|
-
i(
|
|
2852
|
-
"append-icon": `svg:${t(
|
|
2668
|
+
b("div", ts, L(t(a).format(u.notification.created_at, "fullDateWithWeekday")), 1),
|
|
2669
|
+
b("div", os, L(u.notification.metadata.text), 1),
|
|
2670
|
+
i(X, E({
|
|
2671
|
+
"append-icon": `svg:${t(Te)}`
|
|
2853
2672
|
}, t(s), {
|
|
2854
2673
|
border: "",
|
|
2855
2674
|
label: "",
|
|
@@ -2870,29 +2689,29 @@ const Re = G("settings", () => {
|
|
|
2870
2689
|
});
|
|
2871
2690
|
};
|
|
2872
2691
|
}
|
|
2873
|
-
}),
|
|
2692
|
+
}), ss = {
|
|
2874
2693
|
key: 0,
|
|
2875
2694
|
class: "pt-16"
|
|
2876
|
-
},
|
|
2695
|
+
}, as = /* @__PURE__ */ b("div", { class: "text-medium-emphasis" }, " All caught up ", -1), is = /* @__PURE__ */ k({
|
|
2877
2696
|
__name: "VoNotificationsList",
|
|
2878
2697
|
props: {
|
|
2879
2698
|
items: {}
|
|
2880
2699
|
},
|
|
2881
2700
|
setup(c) {
|
|
2882
2701
|
return (e, o) => {
|
|
2883
|
-
const a =
|
|
2884
|
-
return d(),
|
|
2702
|
+
const a = Oe("v-empty-state"), n = ns;
|
|
2703
|
+
return d(), h(ae, {
|
|
2885
2704
|
class: "py-0",
|
|
2886
2705
|
height: "100%",
|
|
2887
2706
|
lines: "three"
|
|
2888
2707
|
}, {
|
|
2889
2708
|
default: r(() => [
|
|
2890
|
-
e.items.length ? (d(!0), I(U, { key: 1 },
|
|
2709
|
+
e.items.length ? (d(!0), I(U, { key: 1 }, ne(e.items, (s, l) => (d(), I(U, {
|
|
2891
2710
|
key: s.slug
|
|
2892
2711
|
}, [
|
|
2893
|
-
l !== 0 ? (d(),
|
|
2712
|
+
l !== 0 ? (d(), h(Q, { key: 0 })) : S("", !0),
|
|
2894
2713
|
i(n, { notification: s }, null, 8, ["notification"])
|
|
2895
|
-
], 64))), 128)) : (d(), I("div",
|
|
2714
|
+
], 64))), 128)) : (d(), I("div", ss, [
|
|
2896
2715
|
i(a, {
|
|
2897
2716
|
icon: "$vuetify",
|
|
2898
2717
|
size: "256"
|
|
@@ -2901,7 +2720,7 @@ const Re = G("settings", () => {
|
|
|
2901
2720
|
i(D, { color: "medium-emphasis" })
|
|
2902
2721
|
]),
|
|
2903
2722
|
title: r(() => [
|
|
2904
|
-
|
|
2723
|
+
as
|
|
2905
2724
|
]),
|
|
2906
2725
|
_: 1
|
|
2907
2726
|
})
|
|
@@ -2911,59 +2730,59 @@ const Re = G("settings", () => {
|
|
|
2911
2730
|
});
|
|
2912
2731
|
};
|
|
2913
2732
|
}
|
|
2914
|
-
}),
|
|
2915
|
-
const c =
|
|
2733
|
+
}), xt = G("site", () => {
|
|
2734
|
+
const c = N([]), e = N();
|
|
2916
2735
|
return {
|
|
2917
2736
|
id: c,
|
|
2918
2737
|
url: e
|
|
2919
2738
|
};
|
|
2920
|
-
}),
|
|
2921
|
-
const c =
|
|
2739
|
+
}), Re = G("banners", () => {
|
|
2740
|
+
const c = te(), e = xt(), o = T(), a = N([]), n = N([]), s = N(), l = A(!1), p = x(() => {
|
|
2922
2741
|
if (s.value)
|
|
2923
2742
|
return s.value;
|
|
2924
2743
|
if (u.value)
|
|
2925
2744
|
return u.value;
|
|
2926
2745
|
if (o.notifications.banners)
|
|
2927
2746
|
return a.value.find(({
|
|
2928
|
-
slug:
|
|
2747
|
+
slug: _,
|
|
2929
2748
|
metadata: {
|
|
2930
2749
|
site: $,
|
|
2931
2750
|
active: F
|
|
2932
2751
|
}
|
|
2933
|
-
}) => !F || o.notifications.last.banner.includes(
|
|
2752
|
+
}) => !F || o.notifications.last.banner.includes(_) ? !1 : $.includes("dev") && !1 || $.includes("*") ? !0 : $.some((P) => e.id.includes(P)));
|
|
2934
2753
|
}), u = x(() => a.value.find(({
|
|
2935
2754
|
metadata: {
|
|
2936
|
-
site:
|
|
2755
|
+
site: _,
|
|
2937
2756
|
active: $
|
|
2938
2757
|
}
|
|
2939
|
-
}) => $ ?
|
|
2758
|
+
}) => $ ? _.includes("server") : !1));
|
|
2940
2759
|
async function m() {
|
|
2941
2760
|
try {
|
|
2942
2761
|
l.value = !0;
|
|
2943
|
-
const
|
|
2944
|
-
a.value =
|
|
2762
|
+
const _ = await c.get("/one/banners");
|
|
2763
|
+
a.value = _.banners;
|
|
2945
2764
|
} catch {
|
|
2946
2765
|
} finally {
|
|
2947
2766
|
l.value = !1;
|
|
2948
2767
|
}
|
|
2949
2768
|
return a.value;
|
|
2950
2769
|
}
|
|
2951
|
-
async function f(
|
|
2770
|
+
async function f(_) {
|
|
2952
2771
|
try {
|
|
2953
2772
|
l.value = !0;
|
|
2954
|
-
const $ = await c.get(`/one/admin/banners/${
|
|
2773
|
+
const $ = await c.get(`/one/admin/banners/${_}`);
|
|
2955
2774
|
return s.value = $.banner, $.banner;
|
|
2956
2775
|
} catch {
|
|
2957
2776
|
} finally {
|
|
2958
2777
|
l.value = !1;
|
|
2959
2778
|
}
|
|
2960
2779
|
}
|
|
2961
|
-
async function V(
|
|
2780
|
+
async function V(_) {
|
|
2962
2781
|
try {
|
|
2963
2782
|
l.value = !0;
|
|
2964
2783
|
const $ = await c.form(
|
|
2965
2784
|
"/one/admin/banners",
|
|
2966
|
-
|
|
2785
|
+
_
|
|
2967
2786
|
);
|
|
2968
2787
|
return s.value = $.banner, $.banner;
|
|
2969
2788
|
} catch {
|
|
@@ -2971,11 +2790,11 @@ const Re = G("settings", () => {
|
|
|
2971
2790
|
l.value = !1;
|
|
2972
2791
|
}
|
|
2973
2792
|
}
|
|
2974
|
-
async function y(
|
|
2793
|
+
async function y(_, $) {
|
|
2975
2794
|
try {
|
|
2976
2795
|
l.value = !0;
|
|
2977
2796
|
const F = await c.form(
|
|
2978
|
-
`/one/admin/banners/${
|
|
2797
|
+
`/one/admin/banners/${_}`,
|
|
2979
2798
|
$
|
|
2980
2799
|
);
|
|
2981
2800
|
return s.value = F.banner, F.banner;
|
|
@@ -2989,8 +2808,8 @@ const Re = G("settings", () => {
|
|
|
2989
2808
|
async function g() {
|
|
2990
2809
|
try {
|
|
2991
2810
|
l.value = !0;
|
|
2992
|
-
const
|
|
2993
|
-
n.value =
|
|
2811
|
+
const _ = await c.get("/one/admin/banners");
|
|
2812
|
+
n.value = _.banners;
|
|
2994
2813
|
} catch {
|
|
2995
2814
|
} finally {
|
|
2996
2815
|
l.value = !1;
|
|
@@ -3011,7 +2830,7 @@ const Re = G("settings", () => {
|
|
|
3011
2830
|
store: V,
|
|
3012
2831
|
update: y
|
|
3013
2832
|
};
|
|
3014
|
-
}),
|
|
2833
|
+
}), rs = { class: "text-caption" }, ls = { class: "text-caption" }, cs = /* @__PURE__ */ k({
|
|
3015
2834
|
__name: "VoNotificationsDialog",
|
|
3016
2835
|
props: {
|
|
3017
2836
|
modelValue: { type: Boolean },
|
|
@@ -3019,33 +2838,33 @@ const Re = G("settings", () => {
|
|
|
3019
2838
|
},
|
|
3020
2839
|
emits: ["update:modelValue"],
|
|
3021
2840
|
setup(c) {
|
|
3022
|
-
const e =
|
|
3023
|
-
return
|
|
2841
|
+
const e = de(), o = xe(), a = Re(), n = Pe(), s = j(), l = T(), p = A(["read"]), u = le(c, "modelValue");
|
|
2842
|
+
return z(o, async () => {
|
|
3024
2843
|
if (o.value.one !== "notifications") {
|
|
3025
2844
|
u.value && (u.value = !1);
|
|
3026
2845
|
return;
|
|
3027
2846
|
}
|
|
3028
|
-
s.isOpen = !0, await
|
|
2847
|
+
s.isOpen = !0, await he(), u.value = !0;
|
|
3029
2848
|
}, { immediate: !0 }), (m, f) => {
|
|
3030
|
-
const V =
|
|
3031
|
-
return d(),
|
|
2849
|
+
const V = Y, y = is, v = Xn, g = we;
|
|
2850
|
+
return d(), h(g, {
|
|
3032
2851
|
modelValue: u.value,
|
|
3033
|
-
"onUpdate:modelValue": f[2] || (f[2] = (
|
|
3034
|
-
"prepend-icon": `svg:${t(
|
|
2852
|
+
"onUpdate:modelValue": f[2] || (f[2] = (_) => u.value = _),
|
|
2853
|
+
"prepend-icon": `svg:${t(po)}`,
|
|
3035
2854
|
title: "Notifications"
|
|
3036
2855
|
}, {
|
|
3037
2856
|
default: r(() => [
|
|
3038
|
-
i(
|
|
2857
|
+
i(Ve, null, {
|
|
3039
2858
|
default: r(() => [
|
|
3040
|
-
i(
|
|
2859
|
+
i(Oo, {
|
|
3041
2860
|
location: t(e).mobile.value ? "top" : "start",
|
|
3042
2861
|
permanent: "",
|
|
3043
2862
|
width: t(e).mobile.value ? 128 : 168
|
|
3044
2863
|
}, {
|
|
3045
2864
|
default: r(() => [
|
|
3046
|
-
i(
|
|
2865
|
+
i(ae, {
|
|
3047
2866
|
selected: t(p),
|
|
3048
|
-
"onUpdate:selected": f[0] || (f[0] = (
|
|
2867
|
+
"onUpdate:selected": f[0] || (f[0] = (_) => se(p) ? p.value = _ : null),
|
|
3049
2868
|
class: "px-4 pt-4",
|
|
3050
2869
|
density: "compact",
|
|
3051
2870
|
mandatory: "",
|
|
@@ -3053,39 +2872,39 @@ const Re = G("settings", () => {
|
|
|
3053
2872
|
}, {
|
|
3054
2873
|
default: r(() => [
|
|
3055
2874
|
i(V, {
|
|
3056
|
-
"prepend-icon": `svg:${t(
|
|
2875
|
+
"prepend-icon": `svg:${t(mo)}`,
|
|
3057
2876
|
title: "Unread",
|
|
3058
2877
|
value: "read"
|
|
3059
|
-
},
|
|
2878
|
+
}, M({ _: 2 }, [
|
|
3060
2879
|
t(n).unread.length > 0 ? {
|
|
3061
2880
|
name: "append",
|
|
3062
2881
|
fn: r(() => [
|
|
3063
|
-
b("span",
|
|
2882
|
+
b("span", rs, L(t(n).unread.length), 1)
|
|
3064
2883
|
]),
|
|
3065
2884
|
key: "0"
|
|
3066
2885
|
} : void 0
|
|
3067
2886
|
]), 1032, ["prepend-icon"]),
|
|
3068
2887
|
i(V, {
|
|
3069
|
-
"prepend-icon": `svg:${t(
|
|
2888
|
+
"prepend-icon": `svg:${t(fo)}`,
|
|
3070
2889
|
title: "Read",
|
|
3071
2890
|
value: "unread"
|
|
3072
|
-
},
|
|
2891
|
+
}, M({ _: 2 }, [
|
|
3073
2892
|
t(n).read.length > 0 ? {
|
|
3074
2893
|
name: "append",
|
|
3075
2894
|
fn: r(() => [
|
|
3076
|
-
b("span",
|
|
2895
|
+
b("span", ls, L(t(n).read.length), 1)
|
|
3077
2896
|
]),
|
|
3078
2897
|
key: "0"
|
|
3079
2898
|
} : void 0
|
|
3080
2899
|
]), 1032, ["prepend-icon"]),
|
|
3081
|
-
t(a).all.length > 0 && t(l).notifications.banners ? (d(),
|
|
2900
|
+
t(a).all.length > 0 && t(l).notifications.banners ? (d(), h(V, {
|
|
3082
2901
|
key: 0,
|
|
3083
|
-
"prepend-icon": `svg:${t(
|
|
2902
|
+
"prepend-icon": `svg:${t(vo)}`,
|
|
3084
2903
|
title: "Banners",
|
|
3085
2904
|
value: "banners"
|
|
3086
2905
|
}, {
|
|
3087
2906
|
append: r(() => [
|
|
3088
|
-
i(
|
|
2907
|
+
i(Ke, {
|
|
3089
2908
|
dot: "",
|
|
3090
2909
|
"offset-y": "-3"
|
|
3091
2910
|
})
|
|
@@ -3098,14 +2917,14 @@ const Re = G("settings", () => {
|
|
|
3098
2917
|
]),
|
|
3099
2918
|
_: 1
|
|
3100
2919
|
}, 8, ["location", "width"]),
|
|
3101
|
-
i(
|
|
2920
|
+
i(ke, { scrollable: "" }, {
|
|
3102
2921
|
default: r(() => [
|
|
3103
|
-
i(
|
|
2922
|
+
i(_t, {
|
|
3104
2923
|
modelValue: t(p),
|
|
3105
|
-
"onUpdate:modelValue": f[1] || (f[1] = (
|
|
2924
|
+
"onUpdate:modelValue": f[1] || (f[1] = (_) => se(p) ? p.value = _ : null)
|
|
3106
2925
|
}, {
|
|
3107
2926
|
default: r(() => [
|
|
3108
|
-
i(
|
|
2927
|
+
i(ve, { value: "read" }, {
|
|
3109
2928
|
default: r(() => [
|
|
3110
2929
|
i(y, {
|
|
3111
2930
|
items: t(n).unread
|
|
@@ -3113,7 +2932,7 @@ const Re = G("settings", () => {
|
|
|
3113
2932
|
]),
|
|
3114
2933
|
_: 1
|
|
3115
2934
|
}),
|
|
3116
|
-
i(
|
|
2935
|
+
i(ve, { value: "unread" }, {
|
|
3117
2936
|
default: r(() => [
|
|
3118
2937
|
i(y, {
|
|
3119
2938
|
items: t(n).read
|
|
@@ -3121,7 +2940,7 @@ const Re = G("settings", () => {
|
|
|
3121
2940
|
]),
|
|
3122
2941
|
_: 1
|
|
3123
2942
|
}),
|
|
3124
|
-
i(
|
|
2943
|
+
i(ve, { value: "banners" }, {
|
|
3125
2944
|
default: r(() => [
|
|
3126
2945
|
i(v, {
|
|
3127
2946
|
items: t(a).all
|
|
@@ -3143,40 +2962,40 @@ const Re = G("settings", () => {
|
|
|
3143
2962
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
3144
2963
|
};
|
|
3145
2964
|
}
|
|
3146
|
-
}),
|
|
2965
|
+
}), us = /* @__PURE__ */ k({
|
|
3147
2966
|
__name: "VoNotificationsBadge",
|
|
3148
2967
|
setup(c) {
|
|
3149
|
-
const e =
|
|
3150
|
-
return (a, n) => (d(),
|
|
2968
|
+
const e = Pe(), o = T();
|
|
2969
|
+
return (a, n) => (d(), h(Ke, {
|
|
3151
2970
|
color: "error",
|
|
3152
2971
|
content: t(e).unread.length,
|
|
3153
2972
|
"model-value": t(o).notifications.show && t(e).unread.length > 0
|
|
3154
2973
|
}, {
|
|
3155
2974
|
default: r(() => [
|
|
3156
|
-
|
|
2975
|
+
B(a.$slots, "default")
|
|
3157
2976
|
]),
|
|
3158
2977
|
_: 3
|
|
3159
2978
|
}, 8, ["content", "model-value"]));
|
|
3160
2979
|
}
|
|
3161
|
-
}),
|
|
2980
|
+
}), ds = /* @__PURE__ */ k({
|
|
3162
2981
|
__name: "VoNotificationsNavItem",
|
|
3163
2982
|
setup(c) {
|
|
3164
|
-
const e =
|
|
2983
|
+
const e = Re(), o = T(), a = Pe(), n = A(!1);
|
|
3165
2984
|
return Be(async () => {
|
|
3166
2985
|
a.index(), e.index();
|
|
3167
2986
|
}), (s, l) => {
|
|
3168
|
-
const p =
|
|
3169
|
-
return t(o).notifications.show ? (d(),
|
|
2987
|
+
const p = us, u = cs, m = Y;
|
|
2988
|
+
return t(o).notifications.show ? (d(), h(m, {
|
|
3170
2989
|
key: 0,
|
|
3171
2990
|
active: t(n),
|
|
3172
2991
|
link: "",
|
|
3173
|
-
"prepend-icon": `svg:${t(
|
|
2992
|
+
"prepend-icon": `svg:${t(_o)}`,
|
|
3174
2993
|
title: "Notifications"
|
|
3175
|
-
},
|
|
2994
|
+
}, M({
|
|
3176
2995
|
default: r(() => [
|
|
3177
2996
|
i(u, {
|
|
3178
2997
|
modelValue: t(n),
|
|
3179
|
-
"onUpdate:modelValue": l[0] || (l[0] = (f) =>
|
|
2998
|
+
"onUpdate:modelValue": l[0] || (l[0] = (f) => se(n) ? n.value = f : null)
|
|
3180
2999
|
}, null, 8, ["modelValue"])
|
|
3181
3000
|
]),
|
|
3182
3001
|
_: 2
|
|
@@ -3196,7 +3015,7 @@ const Re = G("settings", () => {
|
|
|
3196
3015
|
]), 1032, ["active", "prepend-icon"])) : S("", !0);
|
|
3197
3016
|
};
|
|
3198
3017
|
}
|
|
3199
|
-
}),
|
|
3018
|
+
}), ps = /* @__PURE__ */ k({
|
|
3200
3019
|
__name: "VoDashboardNavItem",
|
|
3201
3020
|
setup(c) {
|
|
3202
3021
|
const e = j();
|
|
@@ -3206,22 +3025,22 @@ const Re = G("settings", () => {
|
|
|
3206
3025
|
}, 100);
|
|
3207
3026
|
}
|
|
3208
3027
|
return (a, n) => {
|
|
3209
|
-
const s =
|
|
3210
|
-
return d(),
|
|
3211
|
-
"prepend-icon": `svg:${t(
|
|
3028
|
+
const s = Y;
|
|
3029
|
+
return d(), h(s, {
|
|
3030
|
+
"prepend-icon": `svg:${t(ho)}`,
|
|
3212
3031
|
title: "Dashboard",
|
|
3213
3032
|
to: "/user/dashboard",
|
|
3214
3033
|
onClick: o
|
|
3215
3034
|
}, null, 8, ["prepend-icon"]);
|
|
3216
3035
|
};
|
|
3217
3036
|
}
|
|
3218
|
-
}),
|
|
3037
|
+
}), ms = /* @__PURE__ */ k({
|
|
3219
3038
|
__name: "VoUserList",
|
|
3220
3039
|
setup(c) {
|
|
3221
|
-
const e =
|
|
3040
|
+
const e = H(), o = j();
|
|
3222
3041
|
return (a, n) => {
|
|
3223
|
-
const s =
|
|
3224
|
-
return d(),
|
|
3042
|
+
const s = ps, l = ds, p = Wn, u = En, m = Pn, f = In, V = an, y = Xo;
|
|
3043
|
+
return d(), h(ae, {
|
|
3225
3044
|
density: "compact",
|
|
3226
3045
|
nav: "",
|
|
3227
3046
|
slim: ""
|
|
@@ -3230,17 +3049,17 @@ const Re = G("settings", () => {
|
|
|
3230
3049
|
i(s),
|
|
3231
3050
|
i(l),
|
|
3232
3051
|
i(p),
|
|
3233
|
-
t(o).shopify ? (d(),
|
|
3052
|
+
t(o).shopify ? (d(), h(u, { key: 0 })) : S("", !0),
|
|
3234
3053
|
i(m),
|
|
3235
|
-
t(e).user ? (d(),
|
|
3054
|
+
t(e).user ? (d(), h(f, { key: 1 })) : S("", !0),
|
|
3236
3055
|
i(V),
|
|
3237
|
-
t(e).user ? (d(),
|
|
3056
|
+
t(e).user ? (d(), h(y, { key: 2 })) : S("", !0)
|
|
3238
3057
|
]),
|
|
3239
3058
|
_: 1
|
|
3240
3059
|
});
|
|
3241
3060
|
};
|
|
3242
3061
|
}
|
|
3243
|
-
}),
|
|
3062
|
+
}), St = /* @__PURE__ */ k({
|
|
3244
3063
|
__name: "VoIconIssues",
|
|
3245
3064
|
setup(c) {
|
|
3246
3065
|
const e = [
|
|
@@ -3248,9 +3067,9 @@ const Re = G("settings", () => {
|
|
|
3248
3067
|
"M8.63152 12.7367L8.50057 12.5L6 8H11.263L8.63152 12.7367Z",
|
|
3249
3068
|
["M9.11205 13.6004L11 17L16 8H12.223L9.11205 13.6004Z", 0.6]
|
|
3250
3069
|
];
|
|
3251
|
-
return (o, a) => (d(),
|
|
3070
|
+
return (o, a) => (d(), h(D, { icon: e }));
|
|
3252
3071
|
}
|
|
3253
|
-
}),
|
|
3072
|
+
}), Ct = /* @__PURE__ */ k({
|
|
3254
3073
|
__name: "VoIconBin",
|
|
3255
3074
|
setup(c) {
|
|
3256
3075
|
const e = [
|
|
@@ -3259,18 +3078,18 @@ const Re = G("settings", () => {
|
|
|
3259
3078
|
"M20 17.0652C19.9916 17.0675 14.6826 18.4123 14.6742 18.4147C14.6994 17.3633 14.3353 16.3579 13.712 15.5563L19.7274 14.0331L20 17.066V17.0652Z",
|
|
3260
3079
|
["M12.353 16.0368C9.07567 12.843 3.90082 17.0493 6.66818 20.5975C9.94136 24.3844 15.773 19.6984 12.353 16.0368ZM11.1267 19.4129C10.2224 20.7664 7.79139 20.1099 7.82746 18.4686C8.04976 15.4897 12.7112 16.8495 11.1267 19.4129Z", 0.6]
|
|
3261
3080
|
];
|
|
3262
|
-
return (o, a) => (d(),
|
|
3081
|
+
return (o, a) => (d(), h(D, { icon: e }));
|
|
3263
3082
|
}
|
|
3264
|
-
}),
|
|
3083
|
+
}), fs = { key: 0 }, vs = { class: "d-flex align-center justify-center pa-1 ga-2" }, _s = /* @__PURE__ */ k({
|
|
3265
3084
|
__name: "VoUserQuickActions",
|
|
3266
3085
|
setup(c) {
|
|
3267
|
-
const e =
|
|
3086
|
+
const e = T();
|
|
3268
3087
|
return (o, a) => {
|
|
3269
|
-
const n =
|
|
3270
|
-
return d(),
|
|
3088
|
+
const n = Ct, s = St;
|
|
3089
|
+
return d(), h(ue, null, {
|
|
3271
3090
|
default: r(() => [
|
|
3272
|
-
t(e).quickbar ? (d(), I("div",
|
|
3273
|
-
b("div",
|
|
3091
|
+
t(e).quickbar ? (d(), I("div", fs, [
|
|
3092
|
+
b("div", vs, [
|
|
3274
3093
|
i(q, {
|
|
3275
3094
|
class: "text-caption",
|
|
3276
3095
|
color: t(e).colors.one,
|
|
@@ -3282,7 +3101,7 @@ const Re = G("settings", () => {
|
|
|
3282
3101
|
}, {
|
|
3283
3102
|
default: r(() => [
|
|
3284
3103
|
i(D),
|
|
3285
|
-
i(
|
|
3104
|
+
i(J, {
|
|
3286
3105
|
activator: "parent",
|
|
3287
3106
|
location: "top",
|
|
3288
3107
|
text: "Vuetify Play"
|
|
@@ -3301,7 +3120,7 @@ const Re = G("settings", () => {
|
|
|
3301
3120
|
}, {
|
|
3302
3121
|
default: r(() => [
|
|
3303
3122
|
i(n),
|
|
3304
|
-
i(
|
|
3123
|
+
i(J, {
|
|
3305
3124
|
activator: "parent",
|
|
3306
3125
|
location: "top",
|
|
3307
3126
|
text: "Vuetify Bin"
|
|
@@ -3320,7 +3139,7 @@ const Re = G("settings", () => {
|
|
|
3320
3139
|
}, {
|
|
3321
3140
|
default: r(() => [
|
|
3322
3141
|
i(s),
|
|
3323
|
-
i(
|
|
3142
|
+
i(J, {
|
|
3324
3143
|
activator: "parent",
|
|
3325
3144
|
location: "top",
|
|
3326
3145
|
text: "Vuetify Issues"
|
|
@@ -3335,10 +3154,10 @@ const Re = G("settings", () => {
|
|
|
3335
3154
|
});
|
|
3336
3155
|
};
|
|
3337
3156
|
}
|
|
3338
|
-
}),
|
|
3157
|
+
}), hs = { class: "mb-2" }, gs = { key: 0 }, ys = { class: "d-flex ga-4 flex-wrap justify-center mb-4" }, bs = { class: "text-h6" }, Vs = /* @__PURE__ */ k({
|
|
3339
3158
|
__name: "VoUserAvatar",
|
|
3340
3159
|
setup(c) {
|
|
3341
|
-
const e =
|
|
3160
|
+
const e = H(), o = j(), a = T(), n = A(!1), s = x(() => {
|
|
3342
3161
|
const u = [
|
|
3343
3162
|
"https://cdn.vuetifyjs.com/docs/images/avatars/dark.png",
|
|
3344
3163
|
"https://cdn.vuetifyjs.com/docs/images/avatars/blackguard.png",
|
|
@@ -3366,8 +3185,8 @@ const Re = G("settings", () => {
|
|
|
3366
3185
|
return (u, m) => {
|
|
3367
3186
|
var f;
|
|
3368
3187
|
return d(), I("div", null, [
|
|
3369
|
-
|
|
3370
|
-
class:
|
|
3188
|
+
ge((d(), h(K, {
|
|
3189
|
+
class: Ut([
|
|
3371
3190
|
"border-md border-opacity-100 border-surface-light",
|
|
3372
3191
|
{
|
|
3373
3192
|
"cursor-pointer": t(o).isSubscriber
|
|
@@ -3376,14 +3195,14 @@ const Re = G("settings", () => {
|
|
|
3376
3195
|
color: "surface",
|
|
3377
3196
|
size: "72",
|
|
3378
3197
|
text: "Foobar",
|
|
3379
|
-
onClick:
|
|
3198
|
+
onClick: Ze(p, ["prevent", "stop"])
|
|
3380
3199
|
}, {
|
|
3381
3200
|
default: r(() => [
|
|
3382
|
-
t(e).user && t(a).avatar ? (d(),
|
|
3201
|
+
t(e).user && t(a).avatar ? (d(), h(ee, {
|
|
3383
3202
|
key: 0,
|
|
3384
3203
|
alt: "User avatar",
|
|
3385
3204
|
src: t(a).avatar
|
|
3386
|
-
}, null, 8, ["src"])) : (d(),
|
|
3205
|
+
}, null, 8, ["src"])) : (d(), h(D, {
|
|
3387
3206
|
key: 1,
|
|
3388
3207
|
class: "mt-1",
|
|
3389
3208
|
icon: "$vuetify",
|
|
@@ -3392,20 +3211,20 @@ const Re = G("settings", () => {
|
|
|
3392
3211
|
]),
|
|
3393
3212
|
_: 1
|
|
3394
3213
|
}, 8, ["class"])), [
|
|
3395
|
-
[
|
|
3214
|
+
[Uo, t(o).isSubscriber]
|
|
3396
3215
|
]),
|
|
3397
|
-
b("div",
|
|
3398
|
-
i(
|
|
3216
|
+
b("div", hs, [
|
|
3217
|
+
i(ue, null, {
|
|
3399
3218
|
default: r(() => [
|
|
3400
|
-
t(n) ? (d(), I("div",
|
|
3401
|
-
i(
|
|
3219
|
+
t(n) ? (d(), I("div", gs, [
|
|
3220
|
+
i(W, {
|
|
3402
3221
|
class: "pt-6 pb-1",
|
|
3403
3222
|
flat: "",
|
|
3404
3223
|
rounded: "0"
|
|
3405
3224
|
}, {
|
|
3406
3225
|
default: r(() => [
|
|
3407
|
-
b("div",
|
|
3408
|
-
(d(!0), I(U, null,
|
|
3226
|
+
b("div", ys, [
|
|
3227
|
+
(d(!0), I(U, null, ne(t(s), (V, y) => (d(), h(q, {
|
|
3409
3228
|
key: y,
|
|
3410
3229
|
active: t(a).avatar === V,
|
|
3411
3230
|
icon: "",
|
|
@@ -3429,18 +3248,18 @@ const Re = G("settings", () => {
|
|
|
3429
3248
|
_: 1
|
|
3430
3249
|
})
|
|
3431
3250
|
]),
|
|
3432
|
-
b("div",
|
|
3251
|
+
b("div", bs, L(((f = t(e).user) == null ? void 0 : f.name) ?? "Guest"), 1)
|
|
3433
3252
|
]);
|
|
3434
3253
|
};
|
|
3435
3254
|
}
|
|
3436
|
-
}),
|
|
3255
|
+
}), ks = /* @__PURE__ */ k({
|
|
3437
3256
|
__name: "VoUserBadges",
|
|
3438
3257
|
setup(c) {
|
|
3439
|
-
const e =
|
|
3258
|
+
const e = H(), o = j(), a = x(() => {
|
|
3440
3259
|
var n;
|
|
3441
3260
|
return o.github || o.discord || o.isSubscriber || ((n = e.user) == null ? void 0 : n.isAdmin);
|
|
3442
3261
|
});
|
|
3443
|
-
return (n, s) => t(a) ? (d(),
|
|
3262
|
+
return (n, s) => t(a) ? (d(), h(et, {
|
|
3444
3263
|
key: 0,
|
|
3445
3264
|
class: "align-center position-absolute ms-2 d-flex ga-2 pa-2",
|
|
3446
3265
|
color: "rgba(0,0,0,.54)",
|
|
@@ -3450,54 +3269,54 @@ const Re = G("settings", () => {
|
|
|
3450
3269
|
default: r(() => {
|
|
3451
3270
|
var l;
|
|
3452
3271
|
return [
|
|
3453
|
-
(l = t(e).user) != null && l.isAdmin ? (d(),
|
|
3272
|
+
(l = t(e).user) != null && l.isAdmin ? (d(), h(J, {
|
|
3454
3273
|
key: 0,
|
|
3455
3274
|
location: "bottom",
|
|
3456
3275
|
text: "Vuetify Administrator"
|
|
3457
3276
|
}, {
|
|
3458
3277
|
activator: r(({ props: p }) => [
|
|
3459
|
-
i(D,
|
|
3278
|
+
i(D, E({
|
|
3460
3279
|
color: "blue",
|
|
3461
3280
|
icon: "$vuetify"
|
|
3462
3281
|
}, p, { size: "16" }), null, 16)
|
|
3463
3282
|
]),
|
|
3464
3283
|
_: 1
|
|
3465
3284
|
})) : S("", !0),
|
|
3466
|
-
t(o).isSubscriber ? (d(),
|
|
3285
|
+
t(o).isSubscriber ? (d(), h(J, {
|
|
3467
3286
|
key: 1,
|
|
3468
3287
|
location: "bottom",
|
|
3469
3288
|
text: "Vuetify One Subscriber"
|
|
3470
3289
|
}, {
|
|
3471
3290
|
activator: r(({ props: p }) => [
|
|
3472
|
-
i(D,
|
|
3291
|
+
i(D, E({
|
|
3473
3292
|
color: "amber-darken-2",
|
|
3474
|
-
icon: `svg:${t(
|
|
3293
|
+
icon: `svg:${t(go)}`
|
|
3475
3294
|
}, p, { size: "16" }), null, 16, ["icon"])
|
|
3476
3295
|
]),
|
|
3477
3296
|
_: 1
|
|
3478
3297
|
})) : S("", !0),
|
|
3479
|
-
t(o).github ? (d(),
|
|
3298
|
+
t(o).github ? (d(), h(J, {
|
|
3480
3299
|
key: 2,
|
|
3481
3300
|
location: "bottom",
|
|
3482
3301
|
text: "GitHub Sponsor"
|
|
3483
3302
|
}, {
|
|
3484
3303
|
activator: r(({ props: p }) => [
|
|
3485
|
-
i(D,
|
|
3304
|
+
i(D, E({
|
|
3486
3305
|
color: "white",
|
|
3487
|
-
icon: `svg:${t(
|
|
3306
|
+
icon: `svg:${t(Je)}`
|
|
3488
3307
|
}, p, { size: "16" }), null, 16, ["icon"])
|
|
3489
3308
|
]),
|
|
3490
3309
|
_: 1
|
|
3491
3310
|
})) : S("", !0),
|
|
3492
|
-
t(o).discord ? (d(),
|
|
3311
|
+
t(o).discord ? (d(), h(J, {
|
|
3493
3312
|
key: 3,
|
|
3494
3313
|
location: "bottom",
|
|
3495
3314
|
text: "Discord Subscriber"
|
|
3496
3315
|
}, {
|
|
3497
3316
|
activator: r(({ props: p }) => [
|
|
3498
|
-
i(D,
|
|
3317
|
+
i(D, E({
|
|
3499
3318
|
color: "white",
|
|
3500
|
-
icon: `svg:${t(
|
|
3319
|
+
icon: `svg:${t(Ye)}`
|
|
3501
3320
|
}, p, { size: "16" }), null, 16, ["icon"])
|
|
3502
3321
|
]),
|
|
3503
3322
|
_: 1
|
|
@@ -3507,20 +3326,20 @@ const Re = G("settings", () => {
|
|
|
3507
3326
|
_: 1
|
|
3508
3327
|
})) : S("", !0);
|
|
3509
3328
|
}
|
|
3510
|
-
}),
|
|
3329
|
+
}), $s = { class: "d-flex flex-grow-1 justify-end fill-height align-start" }, ws = {
|
|
3511
3330
|
key: "reset",
|
|
3512
3331
|
class: "align-self-end"
|
|
3513
|
-
},
|
|
3332
|
+
}, xs = /* @__PURE__ */ k({
|
|
3514
3333
|
__name: "VoUserColors",
|
|
3515
3334
|
setup(c) {
|
|
3516
|
-
const e =
|
|
3335
|
+
const e = H(), o = j(), a = T(), n = A(!1);
|
|
3517
3336
|
function s() {
|
|
3518
3337
|
a.colors.one = "surface-light";
|
|
3519
3338
|
}
|
|
3520
3339
|
return (l, p) => {
|
|
3521
|
-
const u =
|
|
3340
|
+
const u = ks, m = $e;
|
|
3522
3341
|
return d(), I(U, null, [
|
|
3523
|
-
i(
|
|
3342
|
+
i(ee, {
|
|
3524
3343
|
color: t(e).user ? t(a).colors.one : "surface-light",
|
|
3525
3344
|
"content-class": "d-flex align-start justify-end pa-2",
|
|
3526
3345
|
cover: "",
|
|
@@ -3529,42 +3348,42 @@ const Re = G("settings", () => {
|
|
|
3529
3348
|
rounded: "0"
|
|
3530
3349
|
}, {
|
|
3531
3350
|
default: r(() => [
|
|
3532
|
-
b("div",
|
|
3351
|
+
b("div", $s, [
|
|
3533
3352
|
i(u),
|
|
3534
|
-
i(
|
|
3353
|
+
i(Lo, null, {
|
|
3535
3354
|
default: r(() => [
|
|
3536
|
-
|
|
3355
|
+
ge(b("div", ws, [
|
|
3537
3356
|
i(m, {
|
|
3538
3357
|
class: "ms-2 me-1",
|
|
3539
3358
|
color: "inherit",
|
|
3540
3359
|
density: "comfortable",
|
|
3541
3360
|
disabled: t(a).colors.one === "surface-light",
|
|
3542
|
-
icon: `svg:${t(
|
|
3361
|
+
icon: `svg:${t(yo)}`,
|
|
3543
3362
|
title: "Revert to Default",
|
|
3544
3363
|
variant: "text",
|
|
3545
3364
|
onClick: s
|
|
3546
3365
|
}, null, 8, ["disabled", "icon"])
|
|
3547
3366
|
], 512), [
|
|
3548
|
-
[
|
|
3367
|
+
[Ne, t(n)]
|
|
3549
3368
|
])
|
|
3550
3369
|
]),
|
|
3551
3370
|
_: 1
|
|
3552
3371
|
}),
|
|
3553
|
-
t(o).isSubscriber ? (d(),
|
|
3372
|
+
t(o).isSubscriber ? (d(), h(m, {
|
|
3554
3373
|
key: 0,
|
|
3555
3374
|
active: t(n),
|
|
3556
3375
|
class: "align-self-end",
|
|
3557
3376
|
color: "inherit",
|
|
3558
3377
|
density: "comfortable",
|
|
3559
|
-
icon: t(n) ? `svg:${t(
|
|
3378
|
+
icon: t(n) ? `svg:${t(Ue)}` : "$edit",
|
|
3560
3379
|
title: "Edit One Header Color",
|
|
3561
3380
|
variant: t(n) ? "text" : "plain",
|
|
3562
3381
|
onClick: p[0] || (p[0] = (f) => n.value = !t(n))
|
|
3563
3382
|
}, {
|
|
3564
3383
|
default: r(() => [
|
|
3565
|
-
i(
|
|
3384
|
+
i(Fe, { "leave-absolute": "" }, {
|
|
3566
3385
|
default: r(() => [
|
|
3567
|
-
(d(),
|
|
3386
|
+
(d(), h(D, {
|
|
3568
3387
|
key: String(t(n))
|
|
3569
3388
|
}))
|
|
3570
3389
|
]),
|
|
@@ -3577,9 +3396,9 @@ const Re = G("settings", () => {
|
|
|
3577
3396
|
]),
|
|
3578
3397
|
_: 1
|
|
3579
3398
|
}, 8, ["color"]),
|
|
3580
|
-
i(
|
|
3399
|
+
i(ue, null, {
|
|
3581
3400
|
default: r(() => [
|
|
3582
|
-
t(n) ? (d(),
|
|
3401
|
+
t(n) ? (d(), h(To, {
|
|
3583
3402
|
key: 0,
|
|
3584
3403
|
elevation: "0",
|
|
3585
3404
|
height: "250",
|
|
@@ -3599,16 +3418,16 @@ const Re = G("settings", () => {
|
|
|
3599
3418
|
], 64);
|
|
3600
3419
|
};
|
|
3601
3420
|
}
|
|
3602
|
-
}),
|
|
3421
|
+
}), Ss = { class: "text-center mt-n9 mb-4" }, Cs = /* @__PURE__ */ k({
|
|
3603
3422
|
__name: "VoUserMenu",
|
|
3604
3423
|
setup(c) {
|
|
3605
|
-
const e =
|
|
3606
|
-
return
|
|
3424
|
+
const e = Re(), o = j(), a = N();
|
|
3425
|
+
return z(() => e.banner, async () => {
|
|
3607
3426
|
var n, s;
|
|
3608
3427
|
await new Promise((l) => setTimeout(l, 300)), o.isOpen && ((s = (n = a.value) == null ? void 0 : n.updateLocation) == null || s.call(n));
|
|
3609
3428
|
}, { flush: "pre" }), (n, s) => {
|
|
3610
|
-
const l =
|
|
3611
|
-
return d(),
|
|
3429
|
+
const l = xs, p = Vs, u = _s, m = ms, f = $t;
|
|
3430
|
+
return d(), h(t(Fo), {
|
|
3612
3431
|
ref_key: "menu",
|
|
3613
3432
|
ref: a,
|
|
3614
3433
|
modelValue: t(o).isOpen,
|
|
@@ -3620,14 +3439,14 @@ const Re = G("settings", () => {
|
|
|
3620
3439
|
location: "bottom end"
|
|
3621
3440
|
}, {
|
|
3622
3441
|
default: r(() => [
|
|
3623
|
-
i(
|
|
3442
|
+
i(W, {
|
|
3624
3443
|
border: "",
|
|
3625
3444
|
rounded: "lg",
|
|
3626
3445
|
width: "280"
|
|
3627
3446
|
}, {
|
|
3628
3447
|
default: r(() => [
|
|
3629
3448
|
i(l),
|
|
3630
|
-
b("div",
|
|
3449
|
+
b("div", Ss, [
|
|
3631
3450
|
i(p),
|
|
3632
3451
|
i(u)
|
|
3633
3452
|
]),
|
|
@@ -3643,22 +3462,22 @@ const Re = G("settings", () => {
|
|
|
3643
3462
|
}, 8, ["modelValue"]);
|
|
3644
3463
|
};
|
|
3645
3464
|
}
|
|
3646
|
-
}),
|
|
3465
|
+
}), Ls = { key: 0 }, Lt = /* @__PURE__ */ k({
|
|
3647
3466
|
__name: "VoAuthBtn",
|
|
3648
3467
|
props: {
|
|
3649
3468
|
external: Boolean
|
|
3650
3469
|
},
|
|
3651
3470
|
setup(c) {
|
|
3652
|
-
const e =
|
|
3471
|
+
const e = H(), o = j(), a = T(), { lgAndUp: n } = de(), s = x(() => o.isOpen || !e.user ? a.colors.one === "surface-light" ? "primary" : a.colors.one : "surface-light");
|
|
3653
3472
|
return (l, p) => {
|
|
3654
|
-
const u =
|
|
3473
|
+
const u = Cs, m = $e, f = Yo, V = kt;
|
|
3655
3474
|
return d(), I(U, null, [
|
|
3656
3475
|
i(f, {
|
|
3657
3476
|
"offset-y": t(e).user ? 5 : 0
|
|
3658
3477
|
}, {
|
|
3659
3478
|
default: r(() => [
|
|
3660
|
-
i(m,
|
|
3661
|
-
[`${t(n) ? "append-" : ""}icon`]: t(e).user ? void 0 : `svg:${t(
|
|
3479
|
+
i(m, E({
|
|
3480
|
+
[`${t(n) ? "append-" : ""}icon`]: t(e).user ? void 0 : `svg:${t(bo)}`
|
|
3662
3481
|
}, {
|
|
3663
3482
|
active: "",
|
|
3664
3483
|
border: !!t(e).user,
|
|
@@ -3671,8 +3490,8 @@ const Re = G("settings", () => {
|
|
|
3671
3490
|
variant: t(e).user ? t(o).isOpen ? "outlined" : "text" : "flat"
|
|
3672
3491
|
}), {
|
|
3673
3492
|
default: r(() => [
|
|
3674
|
-
t(e).user ? S("", !0) : (d(), I("span",
|
|
3675
|
-
t(e).user ? (d(),
|
|
3493
|
+
t(e).user ? S("", !0) : (d(), I("span", Ls, "Login")),
|
|
3494
|
+
t(e).user ? (d(), h(K, {
|
|
3676
3495
|
key: 1,
|
|
3677
3496
|
image: t(a).avatar || t(e).user.picture || ""
|
|
3678
3497
|
}, null, 8, ["image"])) : S("", !0),
|
|
@@ -3687,37 +3506,37 @@ const Re = G("settings", () => {
|
|
|
3687
3506
|
], 64);
|
|
3688
3507
|
};
|
|
3689
3508
|
}
|
|
3690
|
-
}),
|
|
3509
|
+
}), Is = /* @__PURE__ */ k({
|
|
3691
3510
|
__name: "VoAppBar",
|
|
3692
3511
|
props: {
|
|
3693
3512
|
logo: {}
|
|
3694
3513
|
},
|
|
3695
3514
|
setup(c) {
|
|
3696
|
-
const e = c, o =
|
|
3515
|
+
const e = c, o = ze(), a = Me(), n = x(() => `https://cdn.vuetifyjs.com/docs/images/one/logos/${e.logo}-logo-${o.current.value.dark ? "dark" : "light"}.png`);
|
|
3697
3516
|
return (s, l) => {
|
|
3698
|
-
const p =
|
|
3699
|
-
return d(),
|
|
3517
|
+
const p = Oe("router-link"), u = Lt;
|
|
3518
|
+
return d(), h(ht, {
|
|
3700
3519
|
image: t(a).suit["app-bar"],
|
|
3701
3520
|
name: "vo-app-bar"
|
|
3702
|
-
},
|
|
3521
|
+
}, M({
|
|
3703
3522
|
prepend: r(() => [
|
|
3704
3523
|
i(p, {
|
|
3705
3524
|
class: "ps-2",
|
|
3706
3525
|
to: "/"
|
|
3707
3526
|
}, {
|
|
3708
3527
|
default: r(() => [
|
|
3709
|
-
i(
|
|
3528
|
+
i(ee, {
|
|
3710
3529
|
src: t(n),
|
|
3711
3530
|
width: "128"
|
|
3712
3531
|
}, null, 8, ["src"])
|
|
3713
3532
|
]),
|
|
3714
3533
|
_: 1
|
|
3715
3534
|
}),
|
|
3716
|
-
|
|
3535
|
+
B(s.$slots, "prepend")
|
|
3717
3536
|
]),
|
|
3718
3537
|
append: r(() => [
|
|
3719
|
-
|
|
3720
|
-
s.$slots.append ? (d(),
|
|
3538
|
+
B(s.$slots, "append"),
|
|
3539
|
+
s.$slots.append ? (d(), h(Q, {
|
|
3721
3540
|
key: 0,
|
|
3722
3541
|
class: "mx-4 align-self-center h-100",
|
|
3723
3542
|
length: "20",
|
|
@@ -3726,34 +3545,34 @@ const Re = G("settings", () => {
|
|
|
3726
3545
|
i(u)
|
|
3727
3546
|
]),
|
|
3728
3547
|
default: r(() => [
|
|
3729
|
-
|
|
3548
|
+
B(s.$slots, "default")
|
|
3730
3549
|
]),
|
|
3731
3550
|
_: 2
|
|
3732
3551
|
}, [
|
|
3733
3552
|
s.$slots.title ? {
|
|
3734
3553
|
name: "title",
|
|
3735
3554
|
fn: r(() => [
|
|
3736
|
-
|
|
3555
|
+
B(s.$slots, "title")
|
|
3737
3556
|
]),
|
|
3738
3557
|
key: "0"
|
|
3739
3558
|
} : void 0,
|
|
3740
3559
|
s.$slots.extension ? {
|
|
3741
3560
|
name: "extension",
|
|
3742
3561
|
fn: r(() => [
|
|
3743
|
-
|
|
3562
|
+
B(s.$slots, "extension")
|
|
3744
3563
|
]),
|
|
3745
3564
|
key: "1"
|
|
3746
3565
|
} : void 0
|
|
3747
3566
|
]), 1032, ["image"]);
|
|
3748
3567
|
};
|
|
3749
3568
|
}
|
|
3750
|
-
}),
|
|
3569
|
+
}), As = /* @__PURE__ */ k({
|
|
3751
3570
|
__name: "VoNotificationsBanner",
|
|
3752
3571
|
props: {
|
|
3753
3572
|
demo: { type: Boolean }
|
|
3754
3573
|
},
|
|
3755
3574
|
setup(c) {
|
|
3756
|
-
const e = c, { mdAndUp: o } =
|
|
3575
|
+
const e = c, { mdAndUp: o } = de(), a = Xe(), n = T(), s = Re(), l = x(() => s.banner), p = x(() => {
|
|
3757
3576
|
var y, v;
|
|
3758
3577
|
return ((y = l.value) == null ? void 0 : y.metadata.height) || ((v = l.value) != null && v.metadata.subtext ? 88 : 48);
|
|
3759
3578
|
}), u = x(() => e.demo ? !0 : !l.value || !n.notifications.last.banner.includes(l.value.slug));
|
|
@@ -3761,11 +3580,11 @@ const Re = G("settings", () => {
|
|
|
3761
3580
|
l.value && n.notifications.last.banner.push(l.value.slug);
|
|
3762
3581
|
}
|
|
3763
3582
|
async function f(y) {
|
|
3764
|
-
var
|
|
3583
|
+
var _;
|
|
3765
3584
|
if (!l.value)
|
|
3766
3585
|
return;
|
|
3767
|
-
m(), await
|
|
3768
|
-
const v = ((
|
|
3586
|
+
m(), await he();
|
|
3587
|
+
const v = ((_ = l.value) == null ? void 0 : _.metadata) ?? { link: "" };
|
|
3769
3588
|
if (v.link.indexOf("?one=") === -1)
|
|
3770
3589
|
return;
|
|
3771
3590
|
y.preventDefault(), y.stopPropagation();
|
|
@@ -3785,7 +3604,7 @@ const Re = G("settings", () => {
|
|
|
3785
3604
|
});
|
|
3786
3605
|
return (y, v) => {
|
|
3787
3606
|
var g;
|
|
3788
|
-
return t(l) ? (d(),
|
|
3607
|
+
return t(l) ? (d(), h(ht, {
|
|
3789
3608
|
key: 0,
|
|
3790
3609
|
color: t(l).metadata.color,
|
|
3791
3610
|
flat: "",
|
|
@@ -3796,14 +3615,14 @@ const Re = G("settings", () => {
|
|
|
3796
3615
|
order: "-1"
|
|
3797
3616
|
}, {
|
|
3798
3617
|
default: r(() => [
|
|
3799
|
-
i(
|
|
3618
|
+
i(ce, E(t(V), {
|
|
3800
3619
|
active: !1,
|
|
3801
3620
|
class: "flex-grow-1 py-6",
|
|
3802
3621
|
lines: "two",
|
|
3803
3622
|
onClick: f
|
|
3804
3623
|
}), {
|
|
3805
3624
|
prepend: r(() => [
|
|
3806
|
-
t(l).metadata.images.logo ? (d(),
|
|
3625
|
+
t(l).metadata.images.logo ? (d(), h(K, {
|
|
3807
3626
|
key: 0,
|
|
3808
3627
|
icon: "$vuetify",
|
|
3809
3628
|
image: t(l).metadata.images.logo.url,
|
|
@@ -3812,29 +3631,29 @@ const Re = G("settings", () => {
|
|
|
3812
3631
|
}, null, 8, ["image"])) : S("", !0)
|
|
3813
3632
|
]),
|
|
3814
3633
|
append: r(() => [
|
|
3815
|
-
t(o) && t(l).metadata.link && t(l).metadata.link_text ? (d(),
|
|
3816
|
-
default: r(({ isHovering:
|
|
3817
|
-
i(q,
|
|
3634
|
+
t(o) && t(l).metadata.link && t(l).metadata.link_text ? (d(), h(je, { key: 0 }, {
|
|
3635
|
+
default: r(({ isHovering: _, props: $ }) => [
|
|
3636
|
+
i(q, E({
|
|
3818
3637
|
...$,
|
|
3819
3638
|
...t(V)
|
|
3820
3639
|
}, {
|
|
3821
|
-
"append-icon": `svg:${t(
|
|
3640
|
+
"append-icon": `svg:${t(Te)}`,
|
|
3822
3641
|
class: "text-none me-2",
|
|
3823
3642
|
color: t(l).metadata.link_color,
|
|
3824
|
-
elevation:
|
|
3643
|
+
elevation: _ ? 8 : 0,
|
|
3825
3644
|
title: t(l).metadata.link_text,
|
|
3826
3645
|
variant: "elevated",
|
|
3827
3646
|
onClick: f
|
|
3828
3647
|
}), {
|
|
3829
3648
|
default: r(() => [
|
|
3830
|
-
|
|
3649
|
+
O(L(t(l).metadata.link_text), 1)
|
|
3831
3650
|
]),
|
|
3832
3651
|
_: 2
|
|
3833
3652
|
}, 1040, ["append-icon", "color", "elevation", "title"])
|
|
3834
3653
|
]),
|
|
3835
3654
|
_: 1
|
|
3836
3655
|
})) : S("", !0),
|
|
3837
|
-
t(l).metadata.closable ? (d(),
|
|
3656
|
+
t(l).metadata.closable ? (d(), h(q, {
|
|
3838
3657
|
key: 1,
|
|
3839
3658
|
class: "ms-6 me-2",
|
|
3840
3659
|
density: "comfortable",
|
|
@@ -3842,22 +3661,22 @@ const Re = G("settings", () => {
|
|
|
3842
3661
|
icon: "$clear",
|
|
3843
3662
|
size: "small",
|
|
3844
3663
|
variant: "plain",
|
|
3845
|
-
onClick:
|
|
3664
|
+
onClick: Ze(m, ["prevent", "stop"])
|
|
3846
3665
|
}, null, 8, ["disabled"])) : S("", !0)
|
|
3847
3666
|
]),
|
|
3848
3667
|
default: r(() => [
|
|
3849
|
-
t(l).metadata.text ? (d(),
|
|
3668
|
+
t(l).metadata.text ? (d(), h(dt, {
|
|
3850
3669
|
key: 0,
|
|
3851
3670
|
class: "text-subtitle-2 text-md-subtitle-1 font-weight-medium"
|
|
3852
3671
|
}, {
|
|
3853
3672
|
default: r(() => [
|
|
3854
|
-
|
|
3673
|
+
O(L(t(l).metadata.text), 1)
|
|
3855
3674
|
]),
|
|
3856
3675
|
_: 1
|
|
3857
3676
|
})) : S("", !0),
|
|
3858
|
-
t(l).metadata.subtext ? (d(),
|
|
3677
|
+
t(l).metadata.subtext ? (d(), h(wo, { key: 1 }, {
|
|
3859
3678
|
default: r(() => [
|
|
3860
|
-
|
|
3679
|
+
O(L(t(l).metadata.subtext), 1)
|
|
3861
3680
|
]),
|
|
3862
3681
|
_: 1
|
|
3863
3682
|
})) : S("", !0)
|
|
@@ -3869,61 +3688,61 @@ const Re = G("settings", () => {
|
|
|
3869
3688
|
}, 8, ["color", "height", "image", "location", "model-value"])) : S("", !0);
|
|
3870
3689
|
};
|
|
3871
3690
|
}
|
|
3872
|
-
}),
|
|
3691
|
+
}), Ds = {
|
|
3873
3692
|
key: 0,
|
|
3874
3693
|
class: "text-uppercase position-absolute ms-auto font-weight-medium on-surface-light",
|
|
3875
3694
|
style: { right: "12px", bottom: "8px", "font-size": "10px" }
|
|
3876
|
-
},
|
|
3695
|
+
}, It = /* @__PURE__ */ k({
|
|
3877
3696
|
__name: "VoPromotionsCard",
|
|
3878
3697
|
props: {
|
|
3879
3698
|
caption: {},
|
|
3880
3699
|
minHeight: {}
|
|
3881
3700
|
},
|
|
3882
3701
|
setup(c) {
|
|
3883
|
-
return (e, o) => (d(),
|
|
3702
|
+
return (e, o) => (d(), h(W, {
|
|
3884
3703
|
class: "d-inline-flex flex-child-1 position-relative",
|
|
3885
3704
|
color: "surface-light",
|
|
3886
3705
|
flat: "",
|
|
3887
3706
|
rel: "noopener",
|
|
3888
3707
|
rounded: "",
|
|
3889
3708
|
target: "_blank"
|
|
3890
|
-
},
|
|
3709
|
+
}, M({
|
|
3891
3710
|
default: r(() => [
|
|
3892
|
-
i(
|
|
3711
|
+
i(zo, {
|
|
3893
3712
|
"min-height": e.minHeight,
|
|
3894
3713
|
width: "100%"
|
|
3895
3714
|
}, {
|
|
3896
3715
|
default: r(() => [
|
|
3897
|
-
|
|
3716
|
+
B(e.$slots, "default")
|
|
3898
3717
|
]),
|
|
3899
3718
|
_: 3
|
|
3900
3719
|
}, 8, ["min-height"]),
|
|
3901
|
-
e.caption ? (d(), I("div",
|
|
3720
|
+
e.caption ? (d(), I("div", Ds, L(e.caption), 1)) : S("", !0)
|
|
3902
3721
|
]),
|
|
3903
3722
|
_: 2
|
|
3904
3723
|
}, [
|
|
3905
3724
|
e.$slots.prepend ? {
|
|
3906
3725
|
name: "prepend",
|
|
3907
3726
|
fn: r(() => [
|
|
3908
|
-
|
|
3727
|
+
B(e.$slots, "prepend")
|
|
3909
3728
|
]),
|
|
3910
3729
|
key: "0"
|
|
3911
3730
|
} : void 0,
|
|
3912
3731
|
e.$slots.image ? {
|
|
3913
3732
|
name: "image",
|
|
3914
3733
|
fn: r(() => [
|
|
3915
|
-
|
|
3734
|
+
B(e.$slots, "image")
|
|
3916
3735
|
]),
|
|
3917
3736
|
key: "1"
|
|
3918
3737
|
} : void 0
|
|
3919
3738
|
]), 1024));
|
|
3920
3739
|
}
|
|
3921
3740
|
}), tt = G("promotions", () => {
|
|
3922
|
-
const c =
|
|
3923
|
-
|
|
3741
|
+
const c = te(), e = N([]), o = N([]), a = N(), n = A(!1), s = A(!1), l = x(() => e.value.filter((g) => g.metadata.discoverable));
|
|
3742
|
+
Qe(u);
|
|
3924
3743
|
function p(g) {
|
|
3925
|
-
const
|
|
3926
|
-
return
|
|
3744
|
+
const _ = g.filter(($) => $.metadata.active);
|
|
3745
|
+
return _[Math.floor(Math.random() * _.length)];
|
|
3927
3746
|
}
|
|
3928
3747
|
async function u() {
|
|
3929
3748
|
try {
|
|
@@ -3939,8 +3758,8 @@ const Re = G("settings", () => {
|
|
|
3939
3758
|
async function m(g) {
|
|
3940
3759
|
try {
|
|
3941
3760
|
n.value = !0;
|
|
3942
|
-
const
|
|
3943
|
-
return a.value =
|
|
3761
|
+
const _ = await c.get(`/one/admin/promotions/${g}`);
|
|
3762
|
+
return a.value = _.promotion, _.promotion;
|
|
3944
3763
|
} catch {
|
|
3945
3764
|
} finally {
|
|
3946
3765
|
n.value = !1;
|
|
@@ -3949,22 +3768,22 @@ const Re = G("settings", () => {
|
|
|
3949
3768
|
async function f(g) {
|
|
3950
3769
|
try {
|
|
3951
3770
|
n.value = !0;
|
|
3952
|
-
const
|
|
3771
|
+
const _ = await c.form(
|
|
3953
3772
|
"/one/admin/promotions",
|
|
3954
3773
|
g
|
|
3955
3774
|
);
|
|
3956
|
-
return a.value =
|
|
3775
|
+
return a.value = _.promotion, _.promotion;
|
|
3957
3776
|
} catch {
|
|
3958
3777
|
} finally {
|
|
3959
3778
|
n.value = !1;
|
|
3960
3779
|
}
|
|
3961
3780
|
}
|
|
3962
|
-
async function V(g,
|
|
3781
|
+
async function V(g, _) {
|
|
3963
3782
|
try {
|
|
3964
3783
|
n.value = !0;
|
|
3965
3784
|
const $ = await c.form(
|
|
3966
3785
|
`/one/admin/promotions/${g}`,
|
|
3967
|
-
|
|
3786
|
+
_
|
|
3968
3787
|
);
|
|
3969
3788
|
return a.value = $.promotion, $.promotion;
|
|
3970
3789
|
} catch {
|
|
@@ -4000,13 +3819,13 @@ const Re = G("settings", () => {
|
|
|
4000
3819
|
store: f,
|
|
4001
3820
|
update: V
|
|
4002
3821
|
};
|
|
4003
|
-
}),
|
|
3822
|
+
}), Bs = /* @__PURE__ */ k({
|
|
4004
3823
|
__name: "VoPromotionsCardHighlight",
|
|
4005
3824
|
props: {
|
|
4006
3825
|
slug: {}
|
|
4007
3826
|
},
|
|
4008
3827
|
setup(c) {
|
|
4009
|
-
const e = c, o = tt(), a =
|
|
3828
|
+
const e = c, o = tt(), a = ze(), n = T(), s = x(() => {
|
|
4010
3829
|
if (o.record)
|
|
4011
3830
|
return o.record;
|
|
4012
3831
|
if (!n.disableAds)
|
|
@@ -4022,8 +3841,8 @@ const Re = G("settings", () => {
|
|
|
4022
3841
|
});
|
|
4023
3842
|
return (u, m) => {
|
|
4024
3843
|
var V, y, v;
|
|
4025
|
-
const f =
|
|
4026
|
-
return t(s) || !t(o).hasLoaded ? (d(),
|
|
3844
|
+
const f = It;
|
|
3845
|
+
return t(s) || !t(o).hasLoaded ? (d(), h(f, {
|
|
4027
3846
|
key: 0,
|
|
4028
3847
|
class: "mb-4",
|
|
4029
3848
|
color: ((V = t(s)) == null ? void 0 : V.metadata.color) ?? "surface",
|
|
@@ -4034,9 +3853,9 @@ const Re = G("settings", () => {
|
|
|
4034
3853
|
"prepend-avatar": t(l),
|
|
4035
3854
|
title: (v = t(s)) == null ? void 0 : v.metadata.short_text,
|
|
4036
3855
|
width: "100%"
|
|
4037
|
-
},
|
|
3856
|
+
}, M({
|
|
4038
3857
|
default: r(() => [
|
|
4039
|
-
t(o).hasLoaded ? S("", !0) : (d(),
|
|
3858
|
+
t(o).hasLoaded ? S("", !0) : (d(), h(_e, {
|
|
4040
3859
|
key: 0,
|
|
4041
3860
|
class: "flex-1-0 overflow-hidden",
|
|
4042
3861
|
color: "transparent",
|
|
@@ -4061,20 +3880,20 @@ const Re = G("settings", () => {
|
|
|
4061
3880
|
t(s) ? {
|
|
4062
3881
|
name: "image",
|
|
4063
3882
|
fn: r(() => [
|
|
4064
|
-
i(
|
|
3883
|
+
i(ee, { position: "right" })
|
|
4065
3884
|
]),
|
|
4066
3885
|
key: "1"
|
|
4067
3886
|
} : void 0
|
|
4068
3887
|
]), 1032, ["color", "href", "image", "prepend-avatar", "title"])) : S("", !0);
|
|
4069
3888
|
};
|
|
4070
3889
|
}
|
|
4071
|
-
}),
|
|
3890
|
+
}), Ns = { class: "d-flex ga-4" }, Os = { class: "d-flex align-start ga-4" }, Us = { class: "text-caption on-surface-light" }, Ts = /* @__PURE__ */ k({
|
|
4072
3891
|
__name: "VoPromotionsCardVuetify",
|
|
4073
3892
|
props: {
|
|
4074
3893
|
slug: {}
|
|
4075
3894
|
},
|
|
4076
3895
|
setup(c) {
|
|
4077
|
-
const e = c, o = tt(), a =
|
|
3896
|
+
const e = c, o = tt(), a = T(), n = x(() => {
|
|
4078
3897
|
if (o.record)
|
|
4079
3898
|
return o.record;
|
|
4080
3899
|
if (!(a.disableAds && !a.showHouseAds))
|
|
@@ -4082,8 +3901,8 @@ const Re = G("settings", () => {
|
|
|
4082
3901
|
});
|
|
4083
3902
|
return (s, l) => {
|
|
4084
3903
|
var u, m;
|
|
4085
|
-
const p =
|
|
4086
|
-
return t(n) || !t(o).hasLoaded ? (d(),
|
|
3904
|
+
const p = It;
|
|
3905
|
+
return t(n) || !t(o).hasLoaded ? (d(), h(p, {
|
|
4087
3906
|
key: 0,
|
|
4088
3907
|
border: "",
|
|
4089
3908
|
caption: "ads via vuetify",
|
|
@@ -4094,9 +3913,9 @@ const Re = G("settings", () => {
|
|
|
4094
3913
|
default: r(() => {
|
|
4095
3914
|
var f, V, y;
|
|
4096
3915
|
return [
|
|
4097
|
-
b("div",
|
|
3916
|
+
b("div", Ns, [
|
|
4098
3917
|
t(o).hasLoaded ? t(n) ? (d(), I(U, { key: 1 }, [
|
|
4099
|
-
i(
|
|
3918
|
+
i(ee, {
|
|
4100
3919
|
cover: "",
|
|
4101
3920
|
height: "100",
|
|
4102
3921
|
"max-width": "130",
|
|
@@ -4105,11 +3924,11 @@ const Re = G("settings", () => {
|
|
|
4105
3924
|
src: (V = (f = t(n).metadata) == null ? void 0 : f.images.default) == null ? void 0 : V.url,
|
|
4106
3925
|
width: "100%"
|
|
4107
3926
|
}, null, 8, ["src"]),
|
|
4108
|
-
b("div",
|
|
4109
|
-
b("div",
|
|
3927
|
+
b("div", Os, [
|
|
3928
|
+
b("div", Us, L((y = t(n).metadata) == null ? void 0 : y.text), 1)
|
|
4110
3929
|
])
|
|
4111
3930
|
], 64)) : S("", !0) : (d(), I(U, { key: 0 }, [
|
|
4112
|
-
i(
|
|
3931
|
+
i(_e, {
|
|
4113
3932
|
class: "flex-1-0 overflow-hidden",
|
|
4114
3933
|
color: "transparent",
|
|
4115
3934
|
loading: "",
|
|
@@ -4117,7 +3936,7 @@ const Re = G("settings", () => {
|
|
|
4117
3936
|
"min-width": "130",
|
|
4118
3937
|
type: "image"
|
|
4119
3938
|
}),
|
|
4120
|
-
i(
|
|
3939
|
+
i(_e, {
|
|
4121
3940
|
class: "flex-1-0 ms-n3 mt-n3",
|
|
4122
3941
|
color: "transparent",
|
|
4123
3942
|
loading: "",
|
|
@@ -4132,45 +3951,45 @@ const Re = G("settings", () => {
|
|
|
4132
3951
|
}, 8, ["href"])) : S("", !0);
|
|
4133
3952
|
};
|
|
4134
3953
|
}
|
|
4135
|
-
}),
|
|
3954
|
+
}), Fs = {
|
|
4136
3955
|
key: 0,
|
|
4137
3956
|
class: "v-footer__image"
|
|
4138
|
-
},
|
|
3957
|
+
}, zs = /* @__PURE__ */ k({
|
|
4139
3958
|
__name: "VoFooter",
|
|
4140
3959
|
props: {
|
|
4141
3960
|
image: {}
|
|
4142
3961
|
},
|
|
4143
3962
|
setup(c) {
|
|
4144
|
-
return (e, o) => (d(),
|
|
3963
|
+
return (e, o) => (d(), h(jo, {
|
|
4145
3964
|
class: "vo-footer",
|
|
4146
3965
|
height: "40"
|
|
4147
3966
|
}, {
|
|
4148
3967
|
default: r(() => [
|
|
4149
|
-
e.image || e.$slots.image ? (d(), I("div",
|
|
4150
|
-
e.$slots.image ?
|
|
3968
|
+
e.image || e.$slots.image ? (d(), I("div", Fs, [
|
|
3969
|
+
e.$slots.image ? B(e.$slots, "image", { key: 0 }, void 0, !0) : (d(), h(ee, {
|
|
4151
3970
|
key: 1,
|
|
4152
3971
|
cover: "",
|
|
4153
3972
|
position: "left",
|
|
4154
3973
|
src: e.image
|
|
4155
3974
|
}, null, 8, ["src"]))
|
|
4156
3975
|
])) : S("", !0),
|
|
4157
|
-
|
|
3976
|
+
B(e.$slots, "default", {}, void 0, !0)
|
|
4158
3977
|
]),
|
|
4159
3978
|
_: 3
|
|
4160
3979
|
}));
|
|
4161
3980
|
}
|
|
4162
|
-
}),
|
|
3981
|
+
}), At = (c, e) => {
|
|
4163
3982
|
const o = c.__vccOpts || c;
|
|
4164
3983
|
for (const [a, n] of e)
|
|
4165
3984
|
o[a] = n;
|
|
4166
3985
|
return o;
|
|
4167
|
-
},
|
|
3986
|
+
}, Dt = /* @__PURE__ */ At(zs, [["__scopeId", "data-v-3135ada5"]]), js = ["href"], Ps = /* @__PURE__ */ k({
|
|
4168
3987
|
__name: "VoPromotionsFooter",
|
|
4169
3988
|
props: {
|
|
4170
3989
|
slug: {}
|
|
4171
3990
|
},
|
|
4172
3991
|
setup(c) {
|
|
4173
|
-
const e = c, o = tt(), a =
|
|
3992
|
+
const e = c, o = tt(), a = T(), n = ze(), s = x(() => {
|
|
4174
3993
|
if (o.record)
|
|
4175
3994
|
return o.record;
|
|
4176
3995
|
if (!a.disableAds)
|
|
@@ -4184,12 +4003,12 @@ const Re = G("settings", () => {
|
|
|
4184
4003
|
const u = n.current.value.dark ? "bgdark" : "bglight";
|
|
4185
4004
|
return (f = (m = s.value) == null ? void 0 : m.metadata.images[u]) == null ? void 0 : f.url;
|
|
4186
4005
|
});
|
|
4187
|
-
return
|
|
4006
|
+
return Qe(async () => {
|
|
4188
4007
|
e.slug && await o.show(e.slug);
|
|
4189
4008
|
}), (u, m) => {
|
|
4190
4009
|
var V;
|
|
4191
|
-
const f =
|
|
4192
|
-
return d(),
|
|
4010
|
+
const f = Dt;
|
|
4011
|
+
return d(), h(f, {
|
|
4193
4012
|
color: ((V = t(s)) == null ? void 0 : V.metadata.color) ?? "surface",
|
|
4194
4013
|
image: t(p),
|
|
4195
4014
|
style: { transform: "translateY(0)" }
|
|
@@ -4210,8 +4029,8 @@ const Re = G("settings", () => {
|
|
|
4210
4029
|
image: t(l),
|
|
4211
4030
|
size: "24"
|
|
4212
4031
|
}, null, 8, ["image"]),
|
|
4213
|
-
b("div", null,
|
|
4214
|
-
(g = t(s)) != null && g.metadata.advertisement ? (d(),
|
|
4032
|
+
b("div", null, L((v = t(s)) == null ? void 0 : v.metadata.text), 1),
|
|
4033
|
+
(g = t(s)) != null && g.metadata.advertisement ? (d(), h(X, {
|
|
4215
4034
|
key: 0,
|
|
4216
4035
|
class: "ms-auto me-n4 align-self-end mb-n2 py-1 ps-3",
|
|
4217
4036
|
rounded: "0 ts-lg",
|
|
@@ -4219,14 +4038,14 @@ const Re = G("settings", () => {
|
|
|
4219
4038
|
text: "SPONSORED",
|
|
4220
4039
|
variant: "flat"
|
|
4221
4040
|
})) : S("", !0)
|
|
4222
|
-
], 8,
|
|
4041
|
+
], 8, js)
|
|
4223
4042
|
];
|
|
4224
4043
|
}),
|
|
4225
4044
|
_: 1
|
|
4226
4045
|
}, 8, ["color", "image"]);
|
|
4227
4046
|
};
|
|
4228
4047
|
}
|
|
4229
|
-
}),
|
|
4048
|
+
}), Ms = ["id"], Hs = /* @__PURE__ */ k({
|
|
4230
4049
|
__name: "VoScript",
|
|
4231
4050
|
props: {
|
|
4232
4051
|
id: {
|
|
@@ -4244,29 +4063,29 @@ const Re = G("settings", () => {
|
|
|
4244
4063
|
},
|
|
4245
4064
|
emits: ["script:error", "script:load"],
|
|
4246
4065
|
setup(c, { emit: e }) {
|
|
4247
|
-
const o = c, a = e, n =
|
|
4248
|
-
return
|
|
4066
|
+
const o = c, a = e, n = N(), s = N();
|
|
4067
|
+
return Qe(async () => {
|
|
4249
4068
|
const l = document.createElement("script"), p = () => a("script:error");
|
|
4250
4069
|
l.type = "text/javascript", l.id = o.scriptId, l.src = o.src, l.onload = () => a("script:load"), l.onerror = p, s.value = l;
|
|
4251
4070
|
}), Be(() => {
|
|
4252
4071
|
var l;
|
|
4253
4072
|
s.value && ((l = n.value) == null || l.appendChild(s.value));
|
|
4254
|
-
}),
|
|
4073
|
+
}), Tt(() => {
|
|
4255
4074
|
var l;
|
|
4256
4075
|
s.value && ((l = n.value) == null || l.removeChild(s.value));
|
|
4257
4076
|
}), (l, p) => (d(), I("div", {
|
|
4258
4077
|
id: c.id,
|
|
4259
4078
|
ref_key: "rootEl",
|
|
4260
4079
|
ref: n
|
|
4261
|
-
}, null, 8,
|
|
4080
|
+
}, null, 8, Ms));
|
|
4262
4081
|
}
|
|
4263
|
-
}),
|
|
4082
|
+
}), Rs = (c) => (Ft("data-v-584be7b0"), c = c(), zt(), c), Es = ["href", "title"], Ws = {
|
|
4264
4083
|
class: "text-caption text-disabled",
|
|
4265
4084
|
style: { position: "absolute", right: "16px" }
|
|
4266
|
-
},
|
|
4085
|
+
}, qs = /* @__PURE__ */ Rs(() => /* @__PURE__ */ b("span", { class: "d-none d-sm-inline-block" }, "Vuetify, LLC", -1)), Gs = /* @__PURE__ */ k({
|
|
4267
4086
|
__name: "VoSocialFooter",
|
|
4268
4087
|
setup(c) {
|
|
4269
|
-
const e =
|
|
4088
|
+
const e = Me(), o = [
|
|
4270
4089
|
{
|
|
4271
4090
|
title: "Vuetify Documentation",
|
|
4272
4091
|
icon: "$vuetify",
|
|
@@ -4274,7 +4093,7 @@ const Re = G("settings", () => {
|
|
|
4274
4093
|
},
|
|
4275
4094
|
{
|
|
4276
4095
|
title: "Vuetify Support",
|
|
4277
|
-
icon: `svg:${
|
|
4096
|
+
icon: `svg:${Vo}`,
|
|
4278
4097
|
href: "https://support.vuetifyjs.com/"
|
|
4279
4098
|
},
|
|
4280
4099
|
{
|
|
@@ -4284,29 +4103,29 @@ const Re = G("settings", () => {
|
|
|
4284
4103
|
},
|
|
4285
4104
|
{
|
|
4286
4105
|
title: "Vuetify GitHub",
|
|
4287
|
-
icon: `svg:${
|
|
4106
|
+
icon: `svg:${Je}`,
|
|
4288
4107
|
href: "https://github.com/vuetifyjs/vuetify"
|
|
4289
4108
|
},
|
|
4290
4109
|
{
|
|
4291
4110
|
title: "Vuetify Discord",
|
|
4292
|
-
icon: `svg:${
|
|
4111
|
+
icon: `svg:${Ye}`,
|
|
4293
4112
|
href: "https://community.vuetifyjs.com/"
|
|
4294
4113
|
},
|
|
4295
4114
|
{
|
|
4296
4115
|
title: "Vuetify Reddit",
|
|
4297
|
-
icon: `svg:${
|
|
4116
|
+
icon: `svg:${ko}`,
|
|
4298
4117
|
href: "https://reddit.com/r/vuetifyjs"
|
|
4299
4118
|
}
|
|
4300
4119
|
];
|
|
4301
4120
|
return (a, n) => {
|
|
4302
|
-
const s =
|
|
4303
|
-
return d(),
|
|
4121
|
+
const s = Dt;
|
|
4122
|
+
return d(), h(s, {
|
|
4304
4123
|
class: "vo-footer",
|
|
4305
4124
|
height: "40",
|
|
4306
4125
|
image: t(e).suit.footer
|
|
4307
|
-
},
|
|
4126
|
+
}, M({
|
|
4308
4127
|
default: r(() => [
|
|
4309
|
-
(d(), I(U, null,
|
|
4128
|
+
(d(), I(U, null, ne(o, (l) => b("a", {
|
|
4310
4129
|
key: l.title,
|
|
4311
4130
|
class: "d-inline-block mx-2 social-link",
|
|
4312
4131
|
href: l.href,
|
|
@@ -4318,10 +4137,10 @@ const Re = G("settings", () => {
|
|
|
4318
4137
|
icon: l.icon,
|
|
4319
4138
|
size: l.icon === "$vuetify" ? 24 : 16
|
|
4320
4139
|
}, null, 8, ["icon", "size"])
|
|
4321
|
-
], 8,
|
|
4322
|
-
b("div",
|
|
4323
|
-
|
|
4324
|
-
|
|
4140
|
+
], 8, Es)), 64)),
|
|
4141
|
+
b("div", Ws, [
|
|
4142
|
+
O(" © 2016-" + L((/* @__PURE__ */ new Date()).getFullYear()) + " ", 1),
|
|
4143
|
+
qs
|
|
4325
4144
|
])
|
|
4326
4145
|
]),
|
|
4327
4146
|
_: 2
|
|
@@ -4329,20 +4148,20 @@ const Re = G("settings", () => {
|
|
|
4329
4148
|
a.$slots.image ? {
|
|
4330
4149
|
name: "image",
|
|
4331
4150
|
fn: r(() => [
|
|
4332
|
-
|
|
4151
|
+
B(a.$slots, "image", {}, void 0, !0)
|
|
4333
4152
|
]),
|
|
4334
4153
|
key: "0"
|
|
4335
4154
|
} : void 0
|
|
4336
4155
|
]), 1032, ["image"]);
|
|
4337
4156
|
};
|
|
4338
4157
|
}
|
|
4339
|
-
}),
|
|
4340
|
-
const c =
|
|
4158
|
+
}), Zs = /* @__PURE__ */ At(Gs, [["__scopeId", "data-v-584be7b0"]]), Qs = G("spots", () => {
|
|
4159
|
+
const c = te(), e = xt(), o = N([]), a = N([]), n = N(), s = A(!1), l = x(() => n.value ? n.value : o.value.find(({
|
|
4341
4160
|
metadata: {
|
|
4342
4161
|
site: v,
|
|
4343
4162
|
active: g
|
|
4344
4163
|
}
|
|
4345
|
-
}) => g ? v.includes("dev") && !1 || v.includes("*") ? !0 : v.some((
|
|
4164
|
+
}) => g ? v.includes("dev") && !1 || v.includes("*") ? !0 : v.some((_) => e.id.includes(_)) : !1));
|
|
4346
4165
|
async function p() {
|
|
4347
4166
|
try {
|
|
4348
4167
|
s.value = !0;
|
|
@@ -4380,11 +4199,11 @@ const Re = G("settings", () => {
|
|
|
4380
4199
|
async function f(v, g) {
|
|
4381
4200
|
try {
|
|
4382
4201
|
s.value = !0;
|
|
4383
|
-
const
|
|
4202
|
+
const _ = await c.form(
|
|
4384
4203
|
`/one/admin/spots/${v}`,
|
|
4385
4204
|
g
|
|
4386
4205
|
);
|
|
4387
|
-
return n.value =
|
|
4206
|
+
return n.value = _.spot, _.spot;
|
|
4388
4207
|
} catch {
|
|
4389
4208
|
} finally {
|
|
4390
4209
|
s.value = !1;
|
|
@@ -4416,10 +4235,10 @@ const Re = G("settings", () => {
|
|
|
4416
4235
|
update: f,
|
|
4417
4236
|
destroy: V
|
|
4418
4237
|
};
|
|
4419
|
-
}),
|
|
4238
|
+
}), Ys = ["href"], Js = /* @__PURE__ */ k({
|
|
4420
4239
|
__name: "VoSpot",
|
|
4421
4240
|
setup(c) {
|
|
4422
|
-
const e =
|
|
4241
|
+
const e = Qs();
|
|
4423
4242
|
return (o, a) => {
|
|
4424
4243
|
var n;
|
|
4425
4244
|
return t(e).spot ? (d(), I("a", {
|
|
@@ -4428,19 +4247,19 @@ const Re = G("settings", () => {
|
|
|
4428
4247
|
rel: "noopener noreferrer sponsored",
|
|
4429
4248
|
target: "_blank"
|
|
4430
4249
|
}, [
|
|
4431
|
-
i(
|
|
4250
|
+
i(ee, {
|
|
4432
4251
|
class: "mx-auto",
|
|
4433
4252
|
color: t(e).spot.metadata.image ? void 0 : "surface",
|
|
4434
4253
|
rounded: "",
|
|
4435
4254
|
src: (n = t(e).spot.metadata.image) == null ? void 0 : n.url,
|
|
4436
4255
|
width: "225"
|
|
4437
4256
|
}, null, 8, ["color", "src"])
|
|
4438
|
-
], 8,
|
|
4257
|
+
], 8, Ys)) : S("", !0);
|
|
4439
4258
|
};
|
|
4440
4259
|
}
|
|
4441
|
-
}),
|
|
4442
|
-
const c =
|
|
4443
|
-
|
|
4260
|
+
}), ja = G("bins", () => {
|
|
4261
|
+
const c = H(), e = te(), o = N([]), a = N(), n = A(!1), s = A(-1), l = x(() => !c.user || !a.value ? !1 : c.user.id === a.value.owner.id), p = x(() => o.value.filter((_) => _.favorite)), u = x(() => o.value.filter((_) => _.pinned));
|
|
4262
|
+
z(a, () => {
|
|
4444
4263
|
window.clearTimeout(s.value), s.value = window.setTimeout(() => {
|
|
4445
4264
|
!a.value || !l.value || y(a.value, a.value.id);
|
|
4446
4265
|
}, 100);
|
|
@@ -4448,60 +4267,60 @@ const Re = G("settings", () => {
|
|
|
4448
4267
|
async function m() {
|
|
4449
4268
|
try {
|
|
4450
4269
|
n.value = !0;
|
|
4451
|
-
const
|
|
4452
|
-
o.value =
|
|
4270
|
+
const _ = await e.get("/one/bins");
|
|
4271
|
+
o.value = _.bins;
|
|
4453
4272
|
} catch {
|
|
4454
4273
|
} finally {
|
|
4455
4274
|
n.value = !1;
|
|
4456
4275
|
}
|
|
4457
4276
|
return o.value;
|
|
4458
4277
|
}
|
|
4459
|
-
async function f(
|
|
4278
|
+
async function f(_) {
|
|
4460
4279
|
try {
|
|
4461
|
-
n.value = !0, await e.delete(`/one/bins/${
|
|
4280
|
+
n.value = !0, await e.delete(`/one/bins/${_}`), o.value = o.value.filter(($) => $.id !== _);
|
|
4462
4281
|
} catch {
|
|
4463
4282
|
} finally {
|
|
4464
4283
|
n.value = !1;
|
|
4465
4284
|
}
|
|
4466
4285
|
return !0;
|
|
4467
4286
|
}
|
|
4468
|
-
async function V(
|
|
4287
|
+
async function V(_) {
|
|
4469
4288
|
try {
|
|
4470
4289
|
n.value = !0;
|
|
4471
|
-
const $ = await e.post("/one/bins", { bin:
|
|
4290
|
+
const $ = await e.post("/one/bins", { bin: _ });
|
|
4472
4291
|
return o.value.push($.bin), a.value = $.bin, $;
|
|
4473
4292
|
} catch {
|
|
4474
4293
|
} finally {
|
|
4475
4294
|
n.value = !1;
|
|
4476
4295
|
}
|
|
4477
|
-
return { bin:
|
|
4296
|
+
return { bin: _ };
|
|
4478
4297
|
}
|
|
4479
|
-
async function y(
|
|
4298
|
+
async function y(_, $) {
|
|
4480
4299
|
try {
|
|
4481
4300
|
n.value = !0;
|
|
4482
|
-
const F = await e.post(`/one/bins/${$}`, { bin:
|
|
4483
|
-
o.value.splice(
|
|
4301
|
+
const F = await e.post(`/one/bins/${$}`, { bin: _ }), P = o.value.findIndex((R) => R.id === $);
|
|
4302
|
+
o.value.splice(P, 1, F.bin);
|
|
4484
4303
|
} catch {
|
|
4485
4304
|
} finally {
|
|
4486
4305
|
n.value = !1;
|
|
4487
4306
|
}
|
|
4488
|
-
return { bin:
|
|
4307
|
+
return { bin: _ };
|
|
4489
4308
|
}
|
|
4490
|
-
async function v(
|
|
4309
|
+
async function v(_, $) {
|
|
4491
4310
|
try {
|
|
4492
4311
|
n.value = !0;
|
|
4493
|
-
const F = $ ? await y(
|
|
4312
|
+
const F = $ ? await y(_, $) : await V(_);
|
|
4494
4313
|
a.value = F.bin;
|
|
4495
4314
|
} catch {
|
|
4496
4315
|
} finally {
|
|
4497
4316
|
n.value = !1;
|
|
4498
4317
|
}
|
|
4499
|
-
return { bin:
|
|
4318
|
+
return { bin: _ };
|
|
4500
4319
|
}
|
|
4501
|
-
async function g(
|
|
4320
|
+
async function g(_) {
|
|
4502
4321
|
try {
|
|
4503
4322
|
n.value = !0;
|
|
4504
|
-
const $ = await e.get(`/one/bins/${
|
|
4323
|
+
const $ = await e.get(`/one/bins/${_}`);
|
|
4505
4324
|
a.value = $.bin;
|
|
4506
4325
|
} catch {
|
|
4507
4326
|
} finally {
|
|
@@ -4523,8 +4342,8 @@ const Re = G("settings", () => {
|
|
|
4523
4342
|
update: y,
|
|
4524
4343
|
updateOrCreate: v
|
|
4525
4344
|
};
|
|
4526
|
-
}),
|
|
4527
|
-
const c =
|
|
4345
|
+
}), Pa = G("products", () => {
|
|
4346
|
+
const c = te(), e = N([]), o = x(() => e.value.filter((s) => s.product_type === "Themes"));
|
|
4528
4347
|
async function a() {
|
|
4529
4348
|
if (e.value.length)
|
|
4530
4349
|
return e.value;
|
|
@@ -4545,29 +4364,29 @@ const Re = G("settings", () => {
|
|
|
4545
4364
|
randomize: n
|
|
4546
4365
|
};
|
|
4547
4366
|
});
|
|
4548
|
-
function
|
|
4367
|
+
function Ma() {
|
|
4549
4368
|
function c(e) {
|
|
4550
|
-
e.component("VoAppBar",
|
|
4369
|
+
e.component("VoAppBar", Is), e.component("VoAuthBtn", Lt), e.component("VoAuthCard", Vt), e.component("VoAuthDialog", kt), e.component("VoAuthListItem", $t), e.component("VoIconBin", Ct), e.component("VoIconIssues", St), e.component("VoNotificationsBanner", As), e.component("VoPromotionsCardHighlight", Bs), e.component("VoPromotionsCardVuetify", Ts), e.component("VoPromotionsFooter", Ps), e.component("VoScript", Hs), e.component("VoSocialFooter", Zs), e.component("VoSpot", Js);
|
|
4551
4370
|
}
|
|
4552
4371
|
return { install: c };
|
|
4553
4372
|
}
|
|
4554
|
-
function
|
|
4373
|
+
function Ha(c, e) {
|
|
4555
4374
|
return function(o) {
|
|
4556
4375
|
const a = o.store;
|
|
4557
4376
|
a.url = e, a.$id === "site" && (a.id = c);
|
|
4558
4377
|
};
|
|
4559
4378
|
}
|
|
4560
4379
|
export {
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
|
|
4380
|
+
Ma as createOne,
|
|
4381
|
+
Ha as one,
|
|
4382
|
+
H as useAuthStore,
|
|
4383
|
+
Re as useBannersStore,
|
|
4384
|
+
ja as useBinsStore,
|
|
4385
|
+
te as useHttpStore,
|
|
4567
4386
|
j as useOneStore,
|
|
4568
|
-
|
|
4387
|
+
Pa as useProductsStore,
|
|
4569
4388
|
tt as usePromotionsStore,
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4389
|
+
Me as useSettingsStore,
|
|
4390
|
+
Qs as useSpotsStore,
|
|
4391
|
+
T as useUserStore
|
|
4573
4392
|
};
|