@vuetify/one 2.6.5 → 2.6.6
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/{auth-CcaMo2zh.js → auth-Bwo9TDIn.js} +243 -211
- package/dist/index.d.ts +21 -3
- package/dist/index.js +664 -625
- package/dist/stores/auth.js +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { defineComponent as y, createBlock as m, openBlock as
|
|
2
|
-
import { u as
|
|
3
|
-
import { VSnackbarQueue as
|
|
4
|
-
import { mdiStorefront as
|
|
5
|
-
import { VListItem as de, VList as ne, VListSubheader as Oo, VListItemTitle as vt, VListItemSubtitle as
|
|
1
|
+
import { defineComponent as y, createBlock as m, openBlock as c, unref as e, computed as b, createSlots as O, withCtx as s, createElementVNode as v, toDisplayString as C, createVNode as n, createTextVNode as w, ref as N, shallowRef as I, renderSlot as L, normalizeStyle as st, createCommentVNode as h, watch as H, withModifiers as xe, mergeModels as at, useModel as E, createElementBlock as V, Fragment as D, nextTick as _e, renderList as G, mergeProps as P, withDirectives as ee, vShow as Se, isRef as R, readonly as $e, resolveComponent as it, watchEffect as Ot, onMounted as He, normalizeClass as Ft, useSlots as rt, normalizeProps as lt, guardReactiveProps as ut, onBeforeMount as Ee, onBeforeUnmount as Pt, useCssVars as Nt, onServerPrefetch as Zt } from "vue";
|
|
2
|
+
import { u as te, a as j, b as Y, c as T, d as B, e as ye, f as Me } from "./auth-Bwo9TDIn.js";
|
|
3
|
+
import { VSnackbarQueue as jt } from "vuetify/components/VSnackbarQueue";
|
|
4
|
+
import { mdiStorefront as Ht, mdiSync as Et, mdiSyncOff as Rt, mdiLogoutVariant as qt, mdiFullscreenExit as Wt, mdiFullscreen as Gt, mdiCheck as he, mdiSelect as Kt, mdiSpaceInvaders as ct, mdiImageFilterHdr as dt, mdiTransmissionTower as pt, mdiRocketLaunchOutline as mt, mdiHome as Qt, mdiTextBox as Yt, mdiWhiteBalanceSunny as Xt, mdiWeatherNight as Jt, mdiDesktopTowerMonitor as eo, mdiContrastCircle as to, mdiCog as oo, mdiCogOutline as no, mdiShieldKeyOutline as so, mdiContentCopy as Re, mdiFileDocument as ft, mdiKey as ao, mdiPlus as io, mdiRefresh as ro, mdiKeyOutline as lo, mdiCreditCardSettingsOutline as uo, mdiRocketOutline as co, mdiCheckCircleOutline as Le, mdiCreditCard as po, mdiReload as mo, mdiPlaylistCheck as fo, mdiCreditCardOutline as vo, mdiOpenInNew as Ie, mdiMedal as go, mdiHandHeart as _o, mdiHandHeartOutline as yo, mdiCloudDownload as ho, mdiTrayArrowDown as tt, mdiAccountGroup as bo, mdiAccount as ko, mdiLinkVariant as Vo, mdiShieldLock as ot, mdiAccountRemoveOutline as Co, mdiExitToApp as $o, mdiAccountGroupOutline as xo, mdiEmailOpenOutline as qe, mdiEmailVariant as We, mdiBell as Lo, mdiInboxOutline as wo, mdiInboxFullOutline as So, mdiBillboard as Mo, mdiBellOutline as Io, mdiViewDashboardOutline as Do, mdiCrown as Ao, mdiArrowULeftBottom as To, mdiAtomVariant as Uo, mdiLogin as nt, mdiDotsVertical as Bo, mdiShieldStarOutline as zo } from "@mdi/js";
|
|
5
|
+
import { VListItem as de, VList as ne, VListSubheader as Oo, VListItemTitle as vt, VListItemSubtitle as Fo } from "vuetify/components/VList";
|
|
6
6
|
import { VAvatar as Q } from "vuetify/components/VAvatar";
|
|
7
|
-
import { VCard as
|
|
7
|
+
import { VCard as U, VCardTitle as Po, VCardSubtitle as No, VCardText as W, VCardActions as gt, VCardItem as Ne } from "vuetify/components/VCard";
|
|
8
8
|
import { VDialog as De } from "vuetify/components/VDialog";
|
|
9
9
|
import { defineStore as K } from "pinia";
|
|
10
|
-
import { VBadge as
|
|
10
|
+
import { VBadge as Ae } from "vuetify/components/VBadge";
|
|
11
11
|
import { VBtn as A } from "vuetify/components/VBtn";
|
|
12
12
|
import { VProgressCircular as Zo } from "vuetify/components/VProgressCircular";
|
|
13
|
-
import { VSheet as
|
|
13
|
+
import { VSheet as Te } from "vuetify/components/VSheet";
|
|
14
14
|
import { VSwitch as Ge } from "vuetify/components/VSwitch";
|
|
15
|
-
import { VFadeTransition as be, VExpandTransition as pe, VExpandXTransition as
|
|
16
|
-
import { useDisplay as se, useTheme as
|
|
15
|
+
import { VFadeTransition as be, VExpandTransition as pe, VExpandXTransition as jo } from "vuetify/components/transitions";
|
|
16
|
+
import { useDisplay as se, useTheme as Ue, useDate as me } from "vuetify";
|
|
17
17
|
import { VDivider as Z } from "vuetify/components/VDivider";
|
|
18
|
-
import { VIcon as
|
|
19
|
-
import { VLabel as
|
|
20
|
-
import { VChip as
|
|
21
|
-
import { VChipGroup as
|
|
18
|
+
import { VIcon as M } from "vuetify/components/VIcon";
|
|
19
|
+
import { VLabel as Ze } from "vuetify/components/VLabel";
|
|
20
|
+
import { VChip as J } from "vuetify/components/VChip";
|
|
21
|
+
import { VChipGroup as Ho } from "vuetify/components/VChipGroup";
|
|
22
22
|
import { VSelect as Eo } from "vuetify/components/VSelect";
|
|
23
23
|
import { VRow as fe, VCol as re, VSpacer as _t } from "vuetify/components/VGrid";
|
|
24
|
-
import { VHover as
|
|
25
|
-
import { VImg as
|
|
26
|
-
import { VItemGroup as yt, VItem as
|
|
24
|
+
import { VHover as ke } from "vuetify/components/VHover";
|
|
25
|
+
import { VImg as oe } from "vuetify/components/VImg";
|
|
26
|
+
import { VItemGroup as yt, VItem as je } from "vuetify/components/VItemGroup";
|
|
27
27
|
import { VLayout as le } from "vuetify/components/VLayout";
|
|
28
28
|
import { VMain as ue } from "vuetify/components/VMain";
|
|
29
29
|
import { VTextField as ht } from "vuetify/components/VTextField";
|
|
@@ -32,7 +32,7 @@ import { Tooltip as we, Ripple as qo } from "vuetify/directives";
|
|
|
32
32
|
import { VExpansionPanels as Wo, VExpansionPanel as Go, VExpansionPanelText as Ko } from "vuetify/components/VExpansionPanel";
|
|
33
33
|
import { VDataTableVirtual as bt, VDataTable as Qo } from "vuetify/components/VDataTable";
|
|
34
34
|
import { VSkeletonLoader as ge } from "vuetify/components/VSkeletonLoader";
|
|
35
|
-
import { VWindow as
|
|
35
|
+
import { VWindow as kt, VWindowItem as ve } from "vuetify/components/VWindow";
|
|
36
36
|
import { VTimelineItem as Yo, VTimeline as Xo } from "vuetify/components/VTimeline";
|
|
37
37
|
import { VEmptyState as Ke } from "vuetify/components/VEmptyState";
|
|
38
38
|
import { VMenu as Qe } from "vuetify/components/VMenu";
|
|
@@ -40,15 +40,15 @@ import { VTooltip as ie } from "vuetify/components/VTooltip";
|
|
|
40
40
|
import { VResponsive as Jo } from "vuetify/components/VResponsive";
|
|
41
41
|
import { VNavigationDrawer as en } from "vuetify/components/VNavigationDrawer";
|
|
42
42
|
import { VColorPicker as tn } from "vuetify/components/VColorPicker";
|
|
43
|
-
import { VAppBar as
|
|
43
|
+
import { VAppBar as Vt } from "vuetify/components/VAppBar";
|
|
44
44
|
import { VFooter as on } from "vuetify/components/VFooter";
|
|
45
45
|
import { useRouter as nn } from "vue-router";
|
|
46
46
|
import { VLazy as sn } from "vuetify/components/VLazy";
|
|
47
47
|
const an = /* @__PURE__ */ y({
|
|
48
48
|
__name: "VoSnackbarQueue",
|
|
49
49
|
setup(p) {
|
|
50
|
-
const t =
|
|
51
|
-
return (i, o) => (
|
|
50
|
+
const t = te();
|
|
51
|
+
return (i, o) => (c(), m(jt, {
|
|
52
52
|
modelValue: e(t).queue,
|
|
53
53
|
"onUpdate:modelValue": o[0] || (o[0] = (r) => e(t).queue = r),
|
|
54
54
|
closable: "",
|
|
@@ -58,15 +58,15 @@ const an = /* @__PURE__ */ y({
|
|
|
58
58
|
}), rn = { class: "text-body-2" }, Ct = /* @__PURE__ */ y({
|
|
59
59
|
__name: "VoAuthShopify",
|
|
60
60
|
setup(p) {
|
|
61
|
-
const t =
|
|
62
|
-
return (r, l) => (
|
|
61
|
+
const t = j(), i = b(() => t.user && t.findIdentity("shopify")), o = b(() => t.user ? i.value ? "Connected to Shopify" : "Connect Shopify" : "Login with Shopify");
|
|
62
|
+
return (r, l) => (c(), m(de, {
|
|
63
63
|
"base-color": "#5b8a3c",
|
|
64
|
-
"prepend-icon": `svg:${e(
|
|
64
|
+
"prepend-icon": `svg:${e(Ht)}`,
|
|
65
65
|
rounded: "pill",
|
|
66
66
|
slim: "",
|
|
67
67
|
variant: "flat",
|
|
68
68
|
onClick: l[0] || (l[0] = (a) => e(t).login("shopify"))
|
|
69
|
-
},
|
|
69
|
+
}, O({
|
|
70
70
|
title: s(() => [
|
|
71
71
|
v("span", rn, C(e(o)), 1)
|
|
72
72
|
]),
|
|
@@ -84,15 +84,15 @@ const an = /* @__PURE__ */ y({
|
|
|
84
84
|
}), ln = { class: "text-body-2" }, $t = /* @__PURE__ */ y({
|
|
85
85
|
__name: "VoAuthDiscord",
|
|
86
86
|
setup(p) {
|
|
87
|
-
const t =
|
|
88
|
-
return (r, l) => (
|
|
87
|
+
const t = j(), i = b(() => t.user && t.findIdentity("discord")), o = b(() => t.user ? i.value ? "Connected to Discord" : "Connect Discord" : "Login with Discord");
|
|
88
|
+
return (r, l) => (c(), m(de, {
|
|
89
89
|
"base-color": "#5865F2",
|
|
90
90
|
"prepend-icon": "$discord",
|
|
91
91
|
rounded: "pill",
|
|
92
92
|
slim: "",
|
|
93
93
|
variant: "flat",
|
|
94
94
|
onClick: l[0] || (l[0] = (a) => e(t).login("discord"))
|
|
95
|
-
},
|
|
95
|
+
}, O({
|
|
96
96
|
title: s(() => [
|
|
97
97
|
v("span", ln, C(e(o)), 1)
|
|
98
98
|
]),
|
|
@@ -110,15 +110,15 @@ const an = /* @__PURE__ */ y({
|
|
|
110
110
|
}), un = { class: "text-body-2" }, xt = /* @__PURE__ */ y({
|
|
111
111
|
__name: "VoAuthGithub",
|
|
112
112
|
setup(p) {
|
|
113
|
-
const t =
|
|
114
|
-
return (r, l) => (
|
|
113
|
+
const t = j(), i = b(() => t.user && t.findIdentity("github")), o = b(() => t.user ? i.value ? "Connected to GitHub" : "Connect GitHub" : "Login with GitHub");
|
|
114
|
+
return (r, l) => (c(), m(de, {
|
|
115
115
|
"base-color": "#2a2a2a",
|
|
116
116
|
"prepend-icon": "$github",
|
|
117
117
|
rounded: "pill",
|
|
118
118
|
slim: "",
|
|
119
119
|
variant: "flat",
|
|
120
120
|
onClick: l[0] || (l[0] = (a) => e(t).login("github"))
|
|
121
|
-
},
|
|
121
|
+
}, O({
|
|
122
122
|
title: s(() => [
|
|
123
123
|
v("span", un, C(e(o)), 1)
|
|
124
124
|
]),
|
|
@@ -136,10 +136,10 @@ const an = /* @__PURE__ */ y({
|
|
|
136
136
|
}), cn = { class: "text-center" }, dn = { class: "text-center mb-6" }, pn = { class: "text-h6 font-weight-light" }, Lt = /* @__PURE__ */ y({
|
|
137
137
|
__name: "VoAuthCard",
|
|
138
138
|
setup(p) {
|
|
139
|
-
const t =
|
|
139
|
+
const t = j();
|
|
140
140
|
return (i, o) => {
|
|
141
141
|
const r = xt, l = $t, a = Ct;
|
|
142
|
-
return
|
|
142
|
+
return c(), m(U, {
|
|
143
143
|
class: "pt-6 pb-8 px-4 px-sm-8 mx-auto",
|
|
144
144
|
"max-width": "480"
|
|
145
145
|
}, {
|
|
@@ -152,7 +152,7 @@ const an = /* @__PURE__ */ y({
|
|
|
152
152
|
})
|
|
153
153
|
]),
|
|
154
154
|
v("div", dn, [
|
|
155
|
-
n(
|
|
155
|
+
n(Po, { class: "text-h5 mb-1 text-md-h4" }, {
|
|
156
156
|
default: s(() => [
|
|
157
157
|
v("div", pn, C(e(t).lastLoginProvider() ? "Welcome back to" : "Login to"), 1),
|
|
158
158
|
o[0] || (o[0] = v("span", { class: "text-h3 font-weight-bold" }, "Vuetify One", -1))
|
|
@@ -161,7 +161,7 @@ const an = /* @__PURE__ */ y({
|
|
|
161
161
|
}),
|
|
162
162
|
n(No, { class: "text-wrap" }, {
|
|
163
163
|
default: s(() => [...o[1] || (o[1] = [
|
|
164
|
-
|
|
164
|
+
w(" Login to save your settings and gain access to exclusive subscriber perks. ", -1)
|
|
165
165
|
])]),
|
|
166
166
|
_: 1
|
|
167
167
|
})
|
|
@@ -186,10 +186,10 @@ const an = /* @__PURE__ */ y({
|
|
|
186
186
|
}), wt = /* @__PURE__ */ y({
|
|
187
187
|
__name: "VoAuthDialog",
|
|
188
188
|
setup(p) {
|
|
189
|
-
const t =
|
|
189
|
+
const t = j();
|
|
190
190
|
return (i, o) => {
|
|
191
191
|
const r = Lt;
|
|
192
|
-
return
|
|
192
|
+
return c(), m(De, {
|
|
193
193
|
modelValue: e(t).dialog,
|
|
194
194
|
"onUpdate:modelValue": o[0] || (o[0] = (l) => e(t).dialog = l),
|
|
195
195
|
"max-width": "480"
|
|
@@ -201,9 +201,9 @@ const an = /* @__PURE__ */ y({
|
|
|
201
201
|
}, 8, ["modelValue"]);
|
|
202
202
|
};
|
|
203
203
|
}
|
|
204
|
-
}),
|
|
205
|
-
const p = Y(), t =
|
|
206
|
-
async function
|
|
204
|
+
}), Be = K("notifications", () => {
|
|
205
|
+
const p = Y(), t = T(), i = te(), o = N([]), r = I(!1), l = b(() => o.value.filter((d) => !t.one.notifications.read.includes(d.slug))), a = b(() => o.value.filter((d) => t.one.notifications.read.includes(d.slug)));
|
|
206
|
+
async function u() {
|
|
207
207
|
try {
|
|
208
208
|
r.value = !0;
|
|
209
209
|
const d = await p.get("/one/notifications");
|
|
@@ -220,13 +220,13 @@ const an = /* @__PURE__ */ y({
|
|
|
220
220
|
all: o,
|
|
221
221
|
read: a,
|
|
222
222
|
unread: l,
|
|
223
|
-
index:
|
|
223
|
+
index: u
|
|
224
224
|
};
|
|
225
225
|
}), mn = /* @__PURE__ */ y({
|
|
226
226
|
__name: "VoNotificationsTotalBadge",
|
|
227
227
|
setup(p) {
|
|
228
|
-
const t =
|
|
229
|
-
return (l, a) => (
|
|
228
|
+
const t = j(), i = Be(), o = T(), r = b(() => o.one.notifications.enabled ? i.unread.length : 0);
|
|
229
|
+
return (l, a) => (c(), m(Ae, {
|
|
230
230
|
color: "error",
|
|
231
231
|
content: e(r),
|
|
232
232
|
dot: !!e(t).user,
|
|
@@ -239,14 +239,14 @@ const an = /* @__PURE__ */ y({
|
|
|
239
239
|
_: 3
|
|
240
240
|
}, 8, ["content", "dot", "model-value"]));
|
|
241
241
|
}
|
|
242
|
-
}),
|
|
242
|
+
}), Ve = /* @__PURE__ */ y({
|
|
243
243
|
__name: "VoBtn",
|
|
244
244
|
props: {
|
|
245
245
|
readonly: { type: Boolean }
|
|
246
246
|
},
|
|
247
247
|
setup(p) {
|
|
248
248
|
const t = p;
|
|
249
|
-
return (i, o) => (
|
|
249
|
+
return (i, o) => (c(), m(A, {
|
|
250
250
|
class: "text-none font-weight-regular",
|
|
251
251
|
color: "primary",
|
|
252
252
|
size: "small",
|
|
@@ -255,9 +255,9 @@ const an = /* @__PURE__ */ y({
|
|
|
255
255
|
}),
|
|
256
256
|
tabindex: t.readonly ? -1 : void 0,
|
|
257
257
|
variant: "flat"
|
|
258
|
-
},
|
|
258
|
+
}, O({
|
|
259
259
|
loader: s(() => [
|
|
260
|
-
i.$slots.loader ? h("", !0) : (
|
|
260
|
+
i.$slots.loader ? h("", !0) : (c(), m(Zo, {
|
|
261
261
|
key: 0,
|
|
262
262
|
indeterminate: "disable-shrink",
|
|
263
263
|
size: "16",
|
|
@@ -286,16 +286,16 @@ const an = /* @__PURE__ */ y({
|
|
|
286
286
|
}), fn = { class: "pa-4 d-flex flex-column ga-4" }, St = /* @__PURE__ */ y({
|
|
287
287
|
__name: "VoAuthListItem",
|
|
288
288
|
setup(p) {
|
|
289
|
-
const t =
|
|
290
|
-
|
|
289
|
+
const t = j(), i = T(), o = I(!t.user && !t.isLoading);
|
|
290
|
+
H(() => t.user, (l) => {
|
|
291
291
|
o.value = !l;
|
|
292
292
|
});
|
|
293
293
|
function r() {
|
|
294
294
|
t.user && (o.value = !o.value);
|
|
295
295
|
}
|
|
296
296
|
return (l, a) => {
|
|
297
|
-
const
|
|
298
|
-
return
|
|
297
|
+
const u = xt, d = $t, f = Ct;
|
|
298
|
+
return c(), m(U, {
|
|
299
299
|
class: "ma-2",
|
|
300
300
|
rounded: "lg",
|
|
301
301
|
variant: e(o) ? "tonal" : "text"
|
|
@@ -316,7 +316,7 @@ const an = /* @__PURE__ */ y({
|
|
|
316
316
|
append: s(() => [
|
|
317
317
|
n(be, null, {
|
|
318
318
|
default: s(() => [
|
|
319
|
-
e(t).user && (e(o) || !e(i).one.sync) ? (
|
|
319
|
+
e(t).user && (e(o) || !e(i).one.sync) ? (c(), m(Ge, {
|
|
320
320
|
key: 0,
|
|
321
321
|
modelValue: e(i).one.sync,
|
|
322
322
|
"onUpdate:modelValue": a[0] || (a[0] = (g) => e(i).one.sync = g),
|
|
@@ -342,14 +342,14 @@ const an = /* @__PURE__ */ y({
|
|
|
342
342
|
}, 8, ["link", "prepend-icon", "title"]),
|
|
343
343
|
n(pe, null, {
|
|
344
344
|
default: s(() => [
|
|
345
|
-
!e(t).user && !e(t).isLoading || e(o) ? (
|
|
345
|
+
!e(t).user && !e(t).isLoading || e(o) ? (c(), m(Te, {
|
|
346
346
|
key: 0,
|
|
347
347
|
border: "t",
|
|
348
348
|
color: "transparent"
|
|
349
349
|
}, {
|
|
350
350
|
default: s(() => [
|
|
351
351
|
v("div", fn, [
|
|
352
|
-
n(
|
|
352
|
+
n(u, {
|
|
353
353
|
onClick: a[2] || (a[2] = (g) => o.value = !1)
|
|
354
354
|
}),
|
|
355
355
|
n(d, {
|
|
@@ -376,7 +376,7 @@ const an = /* @__PURE__ */ y({
|
|
|
376
376
|
}), q = /* @__PURE__ */ y({
|
|
377
377
|
__name: "VoListItem",
|
|
378
378
|
setup(p) {
|
|
379
|
-
return (t, i) => (
|
|
379
|
+
return (t, i) => (c(), m(de, { slim: "" }, O({
|
|
380
380
|
default: s(() => [
|
|
381
381
|
L(t.$slots, "default")
|
|
382
382
|
]),
|
|
@@ -408,13 +408,13 @@ const an = /* @__PURE__ */ y({
|
|
|
408
408
|
}), vn = /* @__PURE__ */ y({
|
|
409
409
|
__name: "VoAuthLogoutNavItem",
|
|
410
410
|
setup(p) {
|
|
411
|
-
const t =
|
|
411
|
+
const t = j(), i = I(!1);
|
|
412
412
|
async function o() {
|
|
413
413
|
i.value = !0, await t.logout(), i.value = !1;
|
|
414
414
|
}
|
|
415
415
|
return (r, l) => {
|
|
416
416
|
const a = q;
|
|
417
|
-
return
|
|
417
|
+
return c(), m(a, {
|
|
418
418
|
class: "mb-0",
|
|
419
419
|
disabled: e(i),
|
|
420
420
|
link: "",
|
|
@@ -437,7 +437,7 @@ const an = /* @__PURE__ */ y({
|
|
|
437
437
|
emits: ["update:modelValue"],
|
|
438
438
|
setup(p) {
|
|
439
439
|
const t = E(p, "modelValue"), i = se(), o = I(!1);
|
|
440
|
-
return (r, l) => (
|
|
440
|
+
return (r, l) => (c(), m(De, {
|
|
441
441
|
modelValue: t.value,
|
|
442
442
|
"onUpdate:modelValue": l[2] || (l[2] = (a) => t.value = a),
|
|
443
443
|
activator: "parent",
|
|
@@ -447,29 +447,29 @@ const an = /* @__PURE__ */ y({
|
|
|
447
447
|
"max-width": e(o) || e(i).xs.value ? "100%" : 800
|
|
448
448
|
}, {
|
|
449
449
|
default: s(({ isActive: a }) => [
|
|
450
|
-
n(
|
|
450
|
+
n(U, {
|
|
451
451
|
class: "overflow-hidden",
|
|
452
452
|
height: "inherit",
|
|
453
453
|
"prepend-icon": r.prependIcon,
|
|
454
454
|
title: r.title
|
|
455
|
-
},
|
|
455
|
+
}, O({
|
|
456
456
|
append: s(() => [
|
|
457
457
|
L(r.$slots, "append"),
|
|
458
|
-
e(i).xs.value ? h("", !0) : (
|
|
458
|
+
e(i).xs.value ? h("", !0) : (c(), m(A, {
|
|
459
459
|
key: 0,
|
|
460
460
|
class: "me-2",
|
|
461
461
|
density: "comfortable",
|
|
462
462
|
icon: `svg:${e(o) ? e(Wt) : e(Gt)}`,
|
|
463
463
|
size: "small",
|
|
464
464
|
variant: "text",
|
|
465
|
-
onClick: l[0] || (l[0] = (
|
|
465
|
+
onClick: l[0] || (l[0] = (u) => o.value = !e(o))
|
|
466
466
|
}, null, 8, ["icon"])),
|
|
467
467
|
n(A, {
|
|
468
468
|
density: "comfortable",
|
|
469
469
|
icon: "$close",
|
|
470
470
|
size: "small",
|
|
471
471
|
variant: "text",
|
|
472
|
-
onClick: l[1] || (l[1] = (
|
|
472
|
+
onClick: l[1] || (l[1] = (u) => t.value = !t.value)
|
|
473
473
|
})
|
|
474
474
|
]),
|
|
475
475
|
default: s(() => [
|
|
@@ -503,15 +503,15 @@ const an = /* @__PURE__ */ y({
|
|
|
503
503
|
disabled: { type: Boolean }
|
|
504
504
|
},
|
|
505
505
|
setup(p) {
|
|
506
|
-
return (t, i) => (
|
|
506
|
+
return (t, i) => (c(), m(Ge, {
|
|
507
507
|
color: "primary",
|
|
508
508
|
density: "compact",
|
|
509
509
|
disabled: t.disabled,
|
|
510
510
|
inset: "",
|
|
511
511
|
"true-icon": `svg:${e(he)}`
|
|
512
|
-
},
|
|
512
|
+
}, O({
|
|
513
513
|
thumb: s(() => [
|
|
514
|
-
n(
|
|
514
|
+
n(M, {
|
|
515
515
|
color: t.disabled ? void 0 : "primary"
|
|
516
516
|
}, null, 8, ["color"])
|
|
517
517
|
]),
|
|
@@ -536,23 +536,23 @@ const an = /* @__PURE__ */ y({
|
|
|
536
536
|
text: {}
|
|
537
537
|
},
|
|
538
538
|
setup(p) {
|
|
539
|
-
return (t, i) => (
|
|
540
|
-
t.title ? (
|
|
539
|
+
return (t, i) => (c(), V(D, null, [
|
|
540
|
+
t.title ? (c(), m(Ze, {
|
|
541
541
|
key: 0,
|
|
542
542
|
class: "font-weight-black"
|
|
543
543
|
}, {
|
|
544
544
|
default: s(() => [
|
|
545
|
-
|
|
545
|
+
w(C(t.title), 1)
|
|
546
546
|
]),
|
|
547
547
|
_: 1
|
|
548
548
|
})) : h("", !0),
|
|
549
|
-
t.text ? (
|
|
549
|
+
t.text ? (c(), V("div", gn, C(t.text), 1)) : h("", !0)
|
|
550
550
|
], 64));
|
|
551
551
|
}
|
|
552
552
|
}), _n = { key: 0 }, yn = /* @__PURE__ */ y({
|
|
553
553
|
__name: "VoSettingsPageSuitOption",
|
|
554
554
|
setup(p) {
|
|
555
|
-
const t =
|
|
555
|
+
const t = T(), i = [
|
|
556
556
|
{
|
|
557
557
|
title: "Choose a page suit",
|
|
558
558
|
value: "",
|
|
@@ -582,20 +582,20 @@ const an = /* @__PURE__ */ y({
|
|
|
582
582
|
];
|
|
583
583
|
return (o, r) => {
|
|
584
584
|
const l = Mt, a = ae;
|
|
585
|
-
return
|
|
585
|
+
return c(), V(D, null, [
|
|
586
586
|
n(l, {
|
|
587
587
|
modelValue: e(t).one.suits.enabled,
|
|
588
|
-
"onUpdate:modelValue": r[0] || (r[0] = (
|
|
588
|
+
"onUpdate:modelValue": r[0] || (r[0] = (u) => e(t).one.suits.enabled = u),
|
|
589
589
|
class: "mb-2",
|
|
590
590
|
label: "Enable Page suits",
|
|
591
591
|
messages: "Customize layout elements with a unique background, styled after one of our themed releases."
|
|
592
592
|
}, null, 8, ["modelValue"]),
|
|
593
593
|
n(pe, null, {
|
|
594
594
|
default: s(() => [
|
|
595
|
-
e(t).one.suits.enabled ? (
|
|
595
|
+
e(t).one.suits.enabled ? (c(), V("div", _n, [
|
|
596
596
|
n(Eo, {
|
|
597
597
|
modelValue: e(t).one.suits.suit,
|
|
598
|
-
"onUpdate:modelValue": r[1] || (r[1] = (
|
|
598
|
+
"onUpdate:modelValue": r[1] || (r[1] = (u) => e(t).one.suits.suit = u),
|
|
599
599
|
clearable: "",
|
|
600
600
|
density: "compact",
|
|
601
601
|
"item-props": "",
|
|
@@ -605,26 +605,26 @@ const an = /* @__PURE__ */ y({
|
|
|
605
605
|
style: { "max-width": "300px" },
|
|
606
606
|
variant: "outlined"
|
|
607
607
|
}, {
|
|
608
|
-
selection: s(({ item:
|
|
609
|
-
n(
|
|
610
|
-
icon:
|
|
608
|
+
selection: s(({ item: u }) => [
|
|
609
|
+
n(M, {
|
|
610
|
+
icon: u.props.prependIcon,
|
|
611
611
|
size: "x-small",
|
|
612
612
|
start: ""
|
|
613
613
|
}, null, 8, ["icon"]),
|
|
614
|
-
|
|
614
|
+
w(" " + C(u.title), 1)
|
|
615
615
|
]),
|
|
616
616
|
_: 1
|
|
617
617
|
}, 8, ["modelValue"]),
|
|
618
618
|
n(a, { text: "Select your suit elements to display the background image:" }),
|
|
619
|
-
n(
|
|
619
|
+
n(Ho, {
|
|
620
620
|
modelValue: e(t).one.suits.elements,
|
|
621
|
-
"onUpdate:modelValue": r[2] || (r[2] = (
|
|
621
|
+
"onUpdate:modelValue": r[2] || (r[2] = (u) => e(t).one.suits.elements = u),
|
|
622
622
|
color: "primary",
|
|
623
623
|
filter: "",
|
|
624
624
|
multiple: ""
|
|
625
625
|
}, {
|
|
626
626
|
default: s(() => [
|
|
627
|
-
n(
|
|
627
|
+
n(J, {
|
|
628
628
|
"append-icon": `svg:${e(Qt)}`,
|
|
629
629
|
"filter-icon": "$success",
|
|
630
630
|
text: "App Bar",
|
|
@@ -636,11 +636,11 @@ const an = /* @__PURE__ */ y({
|
|
|
636
636
|
class: "ms-2 border-opacity-50",
|
|
637
637
|
vertical: ""
|
|
638
638
|
}),
|
|
639
|
-
n(
|
|
639
|
+
n(M, { size: "x-small" })
|
|
640
640
|
]),
|
|
641
641
|
_: 1
|
|
642
642
|
}, 8, ["append-icon"]),
|
|
643
|
-
n(
|
|
643
|
+
n(J, {
|
|
644
644
|
"append-icon": `svg:${e(Yt)}`,
|
|
645
645
|
"filter-icon": "$success",
|
|
646
646
|
text: "Navigation Drawer",
|
|
@@ -652,11 +652,11 @@ const an = /* @__PURE__ */ y({
|
|
|
652
652
|
class: "ms-2 border-opacity-50",
|
|
653
653
|
vertical: ""
|
|
654
654
|
}),
|
|
655
|
-
n(
|
|
655
|
+
n(M, { size: "x-small" })
|
|
656
656
|
]),
|
|
657
657
|
_: 1
|
|
658
658
|
}, 8, ["append-icon"]),
|
|
659
|
-
n(
|
|
659
|
+
n(J, {
|
|
660
660
|
"append-icon": "$info",
|
|
661
661
|
"filter-icon": "$success",
|
|
662
662
|
text: "Footer",
|
|
@@ -668,7 +668,7 @@ const an = /* @__PURE__ */ y({
|
|
|
668
668
|
class: "ms-2 border-opacity-50",
|
|
669
669
|
vertical: ""
|
|
670
670
|
}),
|
|
671
|
-
n(
|
|
671
|
+
n(M, { size: "x-small" })
|
|
672
672
|
]),
|
|
673
673
|
_: 1
|
|
674
674
|
})
|
|
@@ -876,8 +876,8 @@ function hn() {
|
|
|
876
876
|
}
|
|
877
877
|
};
|
|
878
878
|
}
|
|
879
|
-
const
|
|
880
|
-
const p = "https://cdn.vuetifyjs.com/docs/images/one/", t = B(), i =
|
|
879
|
+
const ze = K("settings", () => {
|
|
880
|
+
const p = "https://cdn.vuetifyjs.com/docs/images/one/", t = B(), i = T(), o = Ue(), r = hn(), l = {
|
|
881
881
|
blackguard: {
|
|
882
882
|
"app-bar": p + "suits/blackguard/blackguard-app-bar.png",
|
|
883
883
|
drawer: p + "suits/blackguard/blackguard-app-drawer.png",
|
|
@@ -901,23 +901,23 @@ const Be = K("settings", () => {
|
|
|
901
901
|
}, a = b(() => {
|
|
902
902
|
if (!i.one.suits.suit || !i.one.suits.enabled || !t.isSubscriber)
|
|
903
903
|
return {};
|
|
904
|
-
const
|
|
904
|
+
const u = l[i.one.suits.suit.toLowerCase()], d = {};
|
|
905
905
|
for (const f of i.one.suits.elements) {
|
|
906
906
|
const g = f;
|
|
907
|
-
d[g] =
|
|
907
|
+
d[g] = u[g];
|
|
908
908
|
}
|
|
909
909
|
return d;
|
|
910
910
|
});
|
|
911
911
|
return o.themes.value = {
|
|
912
912
|
...o.themes.value,
|
|
913
913
|
...r
|
|
914
|
-
},
|
|
915
|
-
|
|
914
|
+
}, H(() => i.one.theme, (u) => {
|
|
915
|
+
u === "system" ? o.change(window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light") : (o.change(u), i.one.suits.suit = l[u] ? u : ""), i.one.theme = u;
|
|
916
916
|
}, { immediate: !0 }), {
|
|
917
917
|
suit: a,
|
|
918
918
|
CDN_URL: p
|
|
919
919
|
};
|
|
920
|
-
}), bn = { class: "ms-5" },
|
|
920
|
+
}), bn = { class: "ms-5" }, kn = { class: "pb-2" }, Vn = /* @__PURE__ */ y({
|
|
921
921
|
__name: "VoSettingsDialog",
|
|
922
922
|
props: {
|
|
923
923
|
modelValue: { type: Boolean },
|
|
@@ -925,7 +925,7 @@ const Be = K("settings", () => {
|
|
|
925
925
|
},
|
|
926
926
|
emits: ["update:modelValue"],
|
|
927
927
|
setup(p) {
|
|
928
|
-
const t = E(p, "modelValue"), i = B(), o =
|
|
928
|
+
const t = E(p, "modelValue"), i = B(), o = ze(), r = T(), l = b(() => [
|
|
929
929
|
{
|
|
930
930
|
title: "Light",
|
|
931
931
|
subtitle: "A standard light theme.",
|
|
@@ -988,7 +988,7 @@ const Be = K("settings", () => {
|
|
|
988
988
|
value: "odyssey",
|
|
989
989
|
disabled: !i.isSubscriber
|
|
990
990
|
}
|
|
991
|
-
]),
|
|
991
|
+
]), u = b(() => [
|
|
992
992
|
{ title: "Standard", items: l.value },
|
|
993
993
|
{ title: "Releases", items: a.value }
|
|
994
994
|
]), d = b({
|
|
@@ -997,17 +997,17 @@ const Be = K("settings", () => {
|
|
|
997
997
|
r.one.ads.enabled = !_;
|
|
998
998
|
}
|
|
999
999
|
}), f = ye();
|
|
1000
|
-
|
|
1000
|
+
H(f, async () => {
|
|
1001
1001
|
f.value.one === "settings" && (i.isOpen = !0, await _e(), t.value = !0);
|
|
1002
1002
|
}, { immediate: !0 });
|
|
1003
|
-
function g(_,
|
|
1004
|
-
|
|
1003
|
+
function g(_, k) {
|
|
1004
|
+
k.disabled || (r.one.theme = k.value, _?.());
|
|
1005
1005
|
}
|
|
1006
|
-
return (_,
|
|
1007
|
-
const $ = ae,
|
|
1008
|
-
return
|
|
1006
|
+
return (_, k) => {
|
|
1007
|
+
const $ = ae, S = yn, F = Mt, X = ce;
|
|
1008
|
+
return c(), m(X, {
|
|
1009
1009
|
modelValue: t.value,
|
|
1010
|
-
"onUpdate:modelValue":
|
|
1010
|
+
"onUpdate:modelValue": k[6] || (k[6] = (x) => t.value = x),
|
|
1011
1011
|
"prepend-icon": `svg:${e(oo)}`,
|
|
1012
1012
|
title: "Settings"
|
|
1013
1013
|
}, {
|
|
@@ -1024,13 +1024,13 @@ const Be = K("settings", () => {
|
|
|
1024
1024
|
}),
|
|
1025
1025
|
n(yt, {
|
|
1026
1026
|
modelValue: e(r).one.theme,
|
|
1027
|
-
"onUpdate:modelValue":
|
|
1027
|
+
"onUpdate:modelValue": k[0] || (k[0] = (x) => e(r).one.theme = x),
|
|
1028
1028
|
mandatory: ""
|
|
1029
1029
|
}, {
|
|
1030
1030
|
default: s(() => [
|
|
1031
1031
|
n(fe, { dense: "" }, {
|
|
1032
1032
|
default: s(() => [
|
|
1033
|
-
(
|
|
1033
|
+
(c(!0), V(D, null, G(u.value, (x, Ce) => (c(), m(re, {
|
|
1034
1034
|
key: Ce,
|
|
1035
1035
|
class: "d-flex flex-column ga-3",
|
|
1036
1036
|
cols: "12",
|
|
@@ -1039,18 +1039,18 @@ const Be = K("settings", () => {
|
|
|
1039
1039
|
default: s(() => [
|
|
1040
1040
|
n(Oo, { class: "mb-n4" }, {
|
|
1041
1041
|
default: s(() => [
|
|
1042
|
-
|
|
1042
|
+
w(C(x.title), 1)
|
|
1043
1043
|
]),
|
|
1044
1044
|
_: 2
|
|
1045
1045
|
}, 1024),
|
|
1046
|
-
(
|
|
1046
|
+
(c(!0), V(D, null, G(x.items, (z) => (c(), m(je, {
|
|
1047
1047
|
key: z.value,
|
|
1048
1048
|
value: z.value
|
|
1049
1049
|
}, {
|
|
1050
1050
|
default: s(({ toggle: Ut, isSelected: et }) => [
|
|
1051
|
-
n(
|
|
1051
|
+
n(ke, null, {
|
|
1052
1052
|
default: s(({ props: Bt, isHovering: zt }) => [
|
|
1053
|
-
n(
|
|
1053
|
+
n(U, P({
|
|
1054
1054
|
color: et ? "primary" : "surface-variant",
|
|
1055
1055
|
height: "76",
|
|
1056
1056
|
image: z.image,
|
|
@@ -1064,7 +1064,7 @@ const Be = K("settings", () => {
|
|
|
1064
1064
|
onClick: (Sa) => g(Ut, z)
|
|
1065
1065
|
}), {
|
|
1066
1066
|
image: s(() => [
|
|
1067
|
-
n(
|
|
1067
|
+
n(oe, {
|
|
1068
1068
|
style: st({
|
|
1069
1069
|
filter: et || zt ? "none" : "grayscale(100%)"
|
|
1070
1070
|
})
|
|
@@ -1087,9 +1087,9 @@ const Be = K("settings", () => {
|
|
|
1087
1087
|
]),
|
|
1088
1088
|
_: 1
|
|
1089
1089
|
}, 8, ["modelValue"]),
|
|
1090
|
-
e(i).isSubscriber ? (
|
|
1090
|
+
e(i).isSubscriber ? (c(), V(D, { key: 0 }, [
|
|
1091
1091
|
n(Z, { class: "mt-6 mb-4" }),
|
|
1092
|
-
n(
|
|
1092
|
+
n(S)
|
|
1093
1093
|
], 64)) : h("", !0)
|
|
1094
1094
|
]),
|
|
1095
1095
|
_: 1
|
|
@@ -1101,21 +1101,21 @@ const Be = K("settings", () => {
|
|
|
1101
1101
|
text: "These options change your browsing experience within Vuetify properties",
|
|
1102
1102
|
title: "Experience"
|
|
1103
1103
|
}),
|
|
1104
|
-
e(i).isSubscriber ? (
|
|
1104
|
+
e(i).isSubscriber ? (c(), m(F, {
|
|
1105
1105
|
key: 0,
|
|
1106
1106
|
modelValue: d.value,
|
|
1107
|
-
"onUpdate:modelValue":
|
|
1107
|
+
"onUpdate:modelValue": k[1] || (k[1] = (x) => d.value = x),
|
|
1108
1108
|
class: "mb-2",
|
|
1109
1109
|
label: "Disable Ads",
|
|
1110
1110
|
messages: "Disable traditional advertisements on all documentation pages."
|
|
1111
1111
|
}, null, 8, ["modelValue"])) : h("", !0),
|
|
1112
1112
|
n(pe, null, {
|
|
1113
1113
|
default: s(() => [
|
|
1114
|
-
|
|
1115
|
-
v("div",
|
|
1116
|
-
n(
|
|
1114
|
+
ee(v("div", bn, [
|
|
1115
|
+
v("div", kn, [
|
|
1116
|
+
n(F, {
|
|
1117
1117
|
modelValue: e(r).one.ads.house,
|
|
1118
|
-
"onUpdate:modelValue":
|
|
1118
|
+
"onUpdate:modelValue": k[2] || (k[2] = (x) => e(r).one.ads.house = x),
|
|
1119
1119
|
label: "Show House Ads",
|
|
1120
1120
|
messages: "These advertisements are for Vuetify products and services only."
|
|
1121
1121
|
}, null, 8, ["modelValue"])
|
|
@@ -1126,9 +1126,9 @@ const Be = K("settings", () => {
|
|
|
1126
1126
|
]),
|
|
1127
1127
|
_: 1
|
|
1128
1128
|
}),
|
|
1129
|
-
n(
|
|
1129
|
+
n(F, {
|
|
1130
1130
|
modelValue: e(r).one.quicklinks,
|
|
1131
|
-
"onUpdate:modelValue":
|
|
1131
|
+
"onUpdate:modelValue": k[3] || (k[3] = (x) => e(r).one.quicklinks = x),
|
|
1132
1132
|
label: "Enable Quick Actions",
|
|
1133
1133
|
messages: "Quick actions are located on the Vuetify One user menu and provide quick access to common tasks."
|
|
1134
1134
|
}, null, 8, ["modelValue"])
|
|
@@ -1136,7 +1136,7 @@ const Be = K("settings", () => {
|
|
|
1136
1136
|
_: 1
|
|
1137
1137
|
}),
|
|
1138
1138
|
n(Z),
|
|
1139
|
-
e(i).isSubscriber ? (
|
|
1139
|
+
e(i).isSubscriber ? (c(), m(W, {
|
|
1140
1140
|
key: 0,
|
|
1141
1141
|
class: "px-7"
|
|
1142
1142
|
}, {
|
|
@@ -1145,16 +1145,16 @@ const Be = K("settings", () => {
|
|
|
1145
1145
|
text: "Vuetify will communicate with you through banners and notifications. You can disable these features here or reset your local notification cache.",
|
|
1146
1146
|
title: "Communication"
|
|
1147
1147
|
}),
|
|
1148
|
-
n(
|
|
1148
|
+
n(F, {
|
|
1149
1149
|
modelValue: e(r).one.notifications.enabled,
|
|
1150
|
-
"onUpdate:modelValue":
|
|
1150
|
+
"onUpdate:modelValue": k[4] || (k[4] = (x) => e(r).one.notifications.enabled = x),
|
|
1151
1151
|
class: "mb-2",
|
|
1152
1152
|
label: "Enable Notifications",
|
|
1153
1153
|
messages: "Notifications are short form messages that provide information about new releases, updates, and other important information."
|
|
1154
1154
|
}, null, 8, ["modelValue"]),
|
|
1155
|
-
n(
|
|
1155
|
+
n(F, {
|
|
1156
1156
|
modelValue: e(r).one.banners.enabled,
|
|
1157
|
-
"onUpdate:modelValue":
|
|
1157
|
+
"onUpdate:modelValue": k[5] || (k[5] = (x) => e(r).one.banners.enabled = x),
|
|
1158
1158
|
label: "Enable Banners",
|
|
1159
1159
|
messages: "Banners are located at the top of the screen and provide a callout for important information."
|
|
1160
1160
|
}, null, 8, ["modelValue"])
|
|
@@ -1177,8 +1177,8 @@ const Be = K("settings", () => {
|
|
|
1177
1177
|
setup(p) {
|
|
1178
1178
|
const t = I(!1);
|
|
1179
1179
|
return (i, o) => {
|
|
1180
|
-
const r =
|
|
1181
|
-
return
|
|
1180
|
+
const r = Vn, l = q;
|
|
1181
|
+
return c(), m(l, {
|
|
1182
1182
|
active: e(t),
|
|
1183
1183
|
link: "",
|
|
1184
1184
|
"prepend-icon": `svg:${e(no)}`,
|
|
@@ -1194,21 +1194,21 @@ const Be = K("settings", () => {
|
|
|
1194
1194
|
}, 8, ["active", "prepend-icon"]);
|
|
1195
1195
|
};
|
|
1196
1196
|
}
|
|
1197
|
-
}),
|
|
1197
|
+
}), Oe = K("api-key", () => {
|
|
1198
1198
|
const p = Y(), t = N(null), i = I(!1), o = b(() => t.value?.apiKey || ""), r = b(() => {
|
|
1199
1199
|
if (!o.value)
|
|
1200
1200
|
return "";
|
|
1201
|
-
const
|
|
1202
|
-
return `${
|
|
1201
|
+
const u = o.value;
|
|
1202
|
+
return `${u.slice(0, 6)}...${u.slice(-6)}`;
|
|
1203
1203
|
});
|
|
1204
|
-
async function l(
|
|
1205
|
-
!i.value &&
|
|
1206
|
-
const d =
|
|
1204
|
+
async function l(u = !1) {
|
|
1205
|
+
!i.value && u && (i.value = !0);
|
|
1206
|
+
const d = u ? "regenerate" : "generate", f = await p[u ? "post" : "fetch"](`/one/mcp/${d}`);
|
|
1207
1207
|
return t.value = f, f;
|
|
1208
1208
|
}
|
|
1209
1209
|
async function a() {
|
|
1210
|
-
const
|
|
1211
|
-
return
|
|
1210
|
+
const u = await p.fetch("/one/mcp/getToken");
|
|
1211
|
+
return u.apiKey && (t.value = u), u;
|
|
1212
1212
|
}
|
|
1213
1213
|
return {
|
|
1214
1214
|
accessToken: $e(t),
|
|
@@ -1219,7 +1219,7 @@ const Be = K("settings", () => {
|
|
|
1219
1219
|
fetch: a
|
|
1220
1220
|
};
|
|
1221
1221
|
});
|
|
1222
|
-
function
|
|
1222
|
+
function Fe(p = 1e3) {
|
|
1223
1223
|
const t = I(!1);
|
|
1224
1224
|
async function i(o) {
|
|
1225
1225
|
await navigator.clipboard.writeText(o), t.value = !0, setTimeout(() => t.value = !1, p);
|
|
@@ -1234,21 +1234,21 @@ const $n = /* @__PURE__ */ y({
|
|
|
1234
1234
|
},
|
|
1235
1235
|
emits: ["update:modelValue"],
|
|
1236
1236
|
setup(p) {
|
|
1237
|
-
const t =
|
|
1237
|
+
const t = Oe(), { copy: i, copied: o } = Fe(), r = E(p, "modelValue");
|
|
1238
1238
|
return (l, a) => {
|
|
1239
|
-
const
|
|
1240
|
-
return
|
|
1239
|
+
const u = it("v-icon-btn");
|
|
1240
|
+
return c(), m(De, {
|
|
1241
1241
|
modelValue: r.value,
|
|
1242
1242
|
"onUpdate:modelValue": a[2] || (a[2] = (d) => r.value = d),
|
|
1243
1243
|
"max-width": "500"
|
|
1244
1244
|
}, {
|
|
1245
1245
|
default: s(({ isActive: d }) => [
|
|
1246
|
-
n(
|
|
1246
|
+
n(U, {
|
|
1247
1247
|
"prepend-icon": `svg:${e(so)}`,
|
|
1248
1248
|
title: "Save your Key"
|
|
1249
1249
|
}, {
|
|
1250
1250
|
append: s(() => [
|
|
1251
|
-
n(
|
|
1251
|
+
n(u, {
|
|
1252
1252
|
icon: "mdi-close",
|
|
1253
1253
|
onClick: (f) => d.value = !1
|
|
1254
1254
|
}, null, 8, ["onClick"])
|
|
@@ -1258,11 +1258,11 @@ const $n = /* @__PURE__ */ y({
|
|
|
1258
1258
|
n(W, null, {
|
|
1259
1259
|
default: s(() => [
|
|
1260
1260
|
a[4] || (a[4] = v("p", { class: "mb-4" }, [
|
|
1261
|
-
|
|
1261
|
+
w(" Please save your secret key in a safe place since "),
|
|
1262
1262
|
v("strong", null, "you won't be able"),
|
|
1263
|
-
|
|
1263
|
+
w(" to view it again. Keep it secure, as anyone with your API key can make requests on your behalf. If you do lose it, you'll need to generate a new one. ")
|
|
1264
1264
|
], -1)),
|
|
1265
|
-
e(t).key ? (
|
|
1265
|
+
e(t).key ? (c(), m(ht, {
|
|
1266
1266
|
key: 0,
|
|
1267
1267
|
color: "success",
|
|
1268
1268
|
"model-value": e(t).key,
|
|
@@ -1280,7 +1280,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
1280
1280
|
prepend: s(() => [
|
|
1281
1281
|
n(be, { "hide-on-leave": "" }, {
|
|
1282
1282
|
default: s(() => [
|
|
1283
|
-
(
|
|
1283
|
+
(c(), m(M, {
|
|
1284
1284
|
key: String(e(o))
|
|
1285
1285
|
}))
|
|
1286
1286
|
]),
|
|
@@ -1288,7 +1288,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
1288
1288
|
})
|
|
1289
1289
|
]),
|
|
1290
1290
|
default: s(() => [
|
|
1291
|
-
a[3] || (a[3] =
|
|
1291
|
+
a[3] || (a[3] = w(" Copy ", -1))
|
|
1292
1292
|
]),
|
|
1293
1293
|
_: 1
|
|
1294
1294
|
}, 8, ["prepend-icon"])
|
|
@@ -1323,16 +1323,16 @@ const $n = /* @__PURE__ */ y({
|
|
|
1323
1323
|
}), xn = { class: "d-flex align-center justify-end" }, Ln = { class: "text-end" }, wn = /* @__PURE__ */ y({
|
|
1324
1324
|
__name: "VoMcpTokenTable",
|
|
1325
1325
|
setup(p) {
|
|
1326
|
-
const t =
|
|
1327
|
-
return (l, a) => (
|
|
1326
|
+
const t = Oe(), { copy: i, copied: o } = Fe(2e3), r = me();
|
|
1327
|
+
return (l, a) => (c(), m(Ro, { class: "rounded border mt-4" }, {
|
|
1328
1328
|
default: s(() => [
|
|
1329
1329
|
v("thead", null, [
|
|
1330
1330
|
v("tr", null, [
|
|
1331
1331
|
a[2] || (a[2] = v("th", { class: "ps-6" }, "Secret Key", -1)),
|
|
1332
1332
|
a[3] || (a[3] = v("th", null, "Created", -1)),
|
|
1333
1333
|
v("th", xn, [
|
|
1334
|
-
a[1] || (a[1] =
|
|
1335
|
-
|
|
1334
|
+
a[1] || (a[1] = w(" Last Used ", -1)),
|
|
1335
|
+
ee(n(M, {
|
|
1336
1336
|
end: "",
|
|
1337
1337
|
icon: "$info",
|
|
1338
1338
|
size: "1em"
|
|
@@ -1345,19 +1345,19 @@ const $n = /* @__PURE__ */ y({
|
|
|
1345
1345
|
v("tbody", null, [
|
|
1346
1346
|
v("tr", null, [
|
|
1347
1347
|
v("td", null, [
|
|
1348
|
-
n(
|
|
1349
|
-
default: s(({ isHovering:
|
|
1350
|
-
n(A,
|
|
1351
|
-
color:
|
|
1348
|
+
n(ke, null, {
|
|
1349
|
+
default: s(({ isHovering: u, props: d }) => [
|
|
1350
|
+
n(A, P(d, {
|
|
1351
|
+
color: u || e(o) ? "primary" : void 0,
|
|
1352
1352
|
slim: "",
|
|
1353
1353
|
text: e(t).key ? e(t).trim : "",
|
|
1354
|
-
variant:
|
|
1354
|
+
variant: u || e(o) ? "tonal" : "text",
|
|
1355
1355
|
onClick: a[0] || (a[0] = (f) => e(i)(e(t).key))
|
|
1356
1356
|
}), {
|
|
1357
1357
|
append: s(() => [
|
|
1358
|
-
n(
|
|
1359
|
-
icon: e(o) ? "$success" : `svg:${e(
|
|
1360
|
-
opacity:
|
|
1358
|
+
n(M, {
|
|
1359
|
+
icon: e(o) ? "$success" : `svg:${e(Re)}`,
|
|
1360
|
+
opacity: u || e(o) ? 1 : 0
|
|
1361
1361
|
}, null, 8, ["icon", "opacity"])
|
|
1362
1362
|
]),
|
|
1363
1363
|
_: 2
|
|
@@ -1377,8 +1377,8 @@ const $n = /* @__PURE__ */ y({
|
|
|
1377
1377
|
}), Sn = { class: "my-4" }, Mn = { class: "bg-surface-variant rounded pa-2 d-block" }, In = /* @__PURE__ */ y({
|
|
1378
1378
|
__name: "VoMcpHowTo",
|
|
1379
1379
|
setup(p) {
|
|
1380
|
-
const t =
|
|
1381
|
-
return (a,
|
|
1380
|
+
const t = Oe(), { copy: i, copied: o } = Fe(), r = b(() => `npx -y @vuetify/mcp config --api-key="${t.key || "YOUR_KEY"}"`), l = b(() => t.key ? `npx -y @vuetify/mcp config --api-key="${t.trim}"` : r.value);
|
|
1381
|
+
return (a, u) => (c(), m(Wo, {
|
|
1382
1382
|
"bg-color": "surface-variant",
|
|
1383
1383
|
class: "mb-4",
|
|
1384
1384
|
variant: "accordion"
|
|
@@ -1386,31 +1386,41 @@ const $n = /* @__PURE__ */ y({
|
|
|
1386
1386
|
default: s(() => [
|
|
1387
1387
|
n(Go, null, {
|
|
1388
1388
|
title: s(() => [
|
|
1389
|
-
n(
|
|
1389
|
+
n(M, {
|
|
1390
1390
|
icon: `svg:${e(ft)}`,
|
|
1391
1391
|
opacity: "0.6",
|
|
1392
1392
|
start: ""
|
|
1393
1393
|
}, null, 8, ["icon"]),
|
|
1394
|
-
|
|
1394
|
+
u[1] || (u[1] = w(" How to Use Your API Key with Vuetify MCP ", -1))
|
|
1395
1395
|
]),
|
|
1396
1396
|
default: s(() => [
|
|
1397
1397
|
n(Ko, { class: "bg-surface-light rounded-b" }, {
|
|
1398
1398
|
default: s(() => [
|
|
1399
|
-
|
|
1400
|
-
|
|
1399
|
+
u[2] || (u[2] = v("strong", null, "Quick Setup", -1)),
|
|
1400
|
+
u[3] || (u[3] = v("p", { class: "mb-4 mt-2" }, " Run the following command to configure your favorite IDE or AI agent: ", -1)),
|
|
1401
1401
|
v("div", Sn, [
|
|
1402
1402
|
v("code", Mn, [
|
|
1403
|
-
|
|
1404
|
-
n(
|
|
1403
|
+
w(C(e(l)) + " ", 1),
|
|
1404
|
+
n(M, {
|
|
1405
1405
|
class: "ms-2",
|
|
1406
1406
|
end: "",
|
|
1407
|
-
icon: e(o) ? "$success" : `svg:${e(
|
|
1407
|
+
icon: e(o) ? "$success" : `svg:${e(Re)}`,
|
|
1408
1408
|
size: "1em",
|
|
1409
|
-
onClick:
|
|
1409
|
+
onClick: u[0] || (u[0] = (d) => e(i)(e(r)))
|
|
1410
1410
|
}, null, 8, ["icon"])
|
|
1411
1411
|
])
|
|
1412
1412
|
]),
|
|
1413
|
-
|
|
1413
|
+
u[4] || (u[4] = v("p", { class: "mb-2" }, "Follow the on-screen prompts to complete the setup.", -1)),
|
|
1414
|
+
u[5] || (u[5] = v("p", null, [
|
|
1415
|
+
w(" For hosted server setup, manual configuration, or troubleshooting, see the "),
|
|
1416
|
+
v("a", {
|
|
1417
|
+
class: "text-primary",
|
|
1418
|
+
href: "https://github.com/vuetifyjs/mcp#authentication",
|
|
1419
|
+
rel: "noopener",
|
|
1420
|
+
target: "_blank"
|
|
1421
|
+
}, "full documentation"),
|
|
1422
|
+
w(". ")
|
|
1423
|
+
], -1))
|
|
1414
1424
|
]),
|
|
1415
1425
|
_: 1
|
|
1416
1426
|
})
|
|
@@ -1429,17 +1439,17 @@ const $n = /* @__PURE__ */ y({
|
|
|
1429
1439
|
},
|
|
1430
1440
|
emits: ["update:modelValue"],
|
|
1431
1441
|
setup(p) {
|
|
1432
|
-
const t =
|
|
1433
|
-
async function
|
|
1434
|
-
await t.generate(
|
|
1442
|
+
const t = Oe(), i = T(), o = I(!1), r = E(p, "modelValue");
|
|
1443
|
+
async function l(a = !1) {
|
|
1444
|
+
await t.generate(a), o.value = !0;
|
|
1435
1445
|
}
|
|
1436
|
-
return
|
|
1437
|
-
|
|
1438
|
-
}), (
|
|
1439
|
-
const
|
|
1440
|
-
return
|
|
1441
|
-
modelValue:
|
|
1442
|
-
"onUpdate:modelValue":
|
|
1446
|
+
return H(r, async (a) => {
|
|
1447
|
+
a && (i.ecosystem.mcp.seen = !0, await t.fetch());
|
|
1448
|
+
}), (a, u) => {
|
|
1449
|
+
const d = ae, f = In, g = wn, _ = $n, k = ce;
|
|
1450
|
+
return c(), m(k, {
|
|
1451
|
+
modelValue: r.value,
|
|
1452
|
+
"onUpdate:modelValue": u[3] || (u[3] = ($) => r.value = $),
|
|
1443
1453
|
height: "auto",
|
|
1444
1454
|
"prepend-icon": `svg:${e(ao)}`,
|
|
1445
1455
|
title: "API Key"
|
|
@@ -1452,13 +1462,13 @@ const $n = /* @__PURE__ */ y({
|
|
|
1452
1462
|
v("div", Dn, [
|
|
1453
1463
|
n(W, null, {
|
|
1454
1464
|
default: s(() => [
|
|
1455
|
-
n(
|
|
1465
|
+
n(d, {
|
|
1456
1466
|
text: "As a subscriber of Vuetify One, you have access to create a personal MCP API key.",
|
|
1457
1467
|
title: "MCP Access Token"
|
|
1458
1468
|
}),
|
|
1459
|
-
|
|
1460
|
-
n(
|
|
1461
|
-
!e(t).key || !e(t).regenerated ? (
|
|
1469
|
+
u[4] || (u[4] = v("p", { class: "mb-2" }, " Do not share your API key with others or expose it in the browser or other client-side code. To protect your account's security, Vuetify may disable any API key that has leaked publicly. ", -1)),
|
|
1470
|
+
n(f),
|
|
1471
|
+
!e(t).key || !e(t).regenerated ? (c(), m(fe, {
|
|
1462
1472
|
key: 0,
|
|
1463
1473
|
class: "my-4",
|
|
1464
1474
|
justify: "center"
|
|
@@ -1466,20 +1476,20 @@ const $n = /* @__PURE__ */ y({
|
|
|
1466
1476
|
default: s(() => [
|
|
1467
1477
|
n(re, { cols: "auto" }, {
|
|
1468
1478
|
default: s(() => [
|
|
1469
|
-
e(t).key ? e(t).regenerated ? h("", !0) : (
|
|
1479
|
+
e(t).key ? e(t).regenerated ? h("", !0) : (c(), m(A, {
|
|
1470
1480
|
key: 1,
|
|
1471
1481
|
color: "success",
|
|
1472
1482
|
"prepend-icon": `svg:${e(ro)}`,
|
|
1473
1483
|
text: "Regenerate API Key",
|
|
1474
1484
|
variant: "flat",
|
|
1475
|
-
onClick:
|
|
1476
|
-
}, null, 8, ["prepend-icon"])) : (
|
|
1485
|
+
onClick: u[1] || (u[1] = ($) => l(!0))
|
|
1486
|
+
}, null, 8, ["prepend-icon"])) : (c(), m(A, {
|
|
1477
1487
|
key: 0,
|
|
1478
1488
|
color: "success",
|
|
1479
1489
|
"prepend-icon": `svg:${e(io)}`,
|
|
1480
1490
|
text: "Generate API Key",
|
|
1481
1491
|
variant: "flat",
|
|
1482
|
-
onClick:
|
|
1492
|
+
onClick: u[0] || (u[0] = ($) => l(!1))
|
|
1483
1493
|
}, null, 8, ["prepend-icon"]))
|
|
1484
1494
|
]),
|
|
1485
1495
|
_: 1
|
|
@@ -1487,11 +1497,11 @@ const $n = /* @__PURE__ */ y({
|
|
|
1487
1497
|
]),
|
|
1488
1498
|
_: 1
|
|
1489
1499
|
})) : h("", !0),
|
|
1490
|
-
e(t).key ? (
|
|
1491
|
-
n(
|
|
1492
|
-
n(
|
|
1493
|
-
modelValue: e(
|
|
1494
|
-
"onUpdate:modelValue":
|
|
1500
|
+
e(t).key ? (c(), V(D, { key: 1 }, [
|
|
1501
|
+
n(g),
|
|
1502
|
+
n(_, {
|
|
1503
|
+
modelValue: e(o),
|
|
1504
|
+
"onUpdate:modelValue": u[2] || (u[2] = ($) => R(o) ? o.value = $ : null)
|
|
1495
1505
|
}, null, 8, ["modelValue"])
|
|
1496
1506
|
], 64)) : h("", !0)
|
|
1497
1507
|
]),
|
|
@@ -1512,23 +1522,40 @@ const $n = /* @__PURE__ */ y({
|
|
|
1512
1522
|
}), Tn = /* @__PURE__ */ y({
|
|
1513
1523
|
__name: "VoMcpListItem",
|
|
1514
1524
|
setup(p) {
|
|
1515
|
-
const t = I(!1);
|
|
1516
|
-
return (
|
|
1517
|
-
const
|
|
1518
|
-
return
|
|
1519
|
-
active: e(
|
|
1525
|
+
const t = T(), i = I(!1);
|
|
1526
|
+
return (o, r) => {
|
|
1527
|
+
const l = An, a = q;
|
|
1528
|
+
return c(), m(a, {
|
|
1529
|
+
active: e(i),
|
|
1520
1530
|
link: "",
|
|
1521
1531
|
"prepend-icon": `svg:${e(lo)}`,
|
|
1522
1532
|
title: "API Key"
|
|
1523
|
-
}, {
|
|
1533
|
+
}, O({
|
|
1524
1534
|
default: s(() => [
|
|
1525
|
-
n(
|
|
1526
|
-
modelValue: e(
|
|
1527
|
-
"onUpdate:modelValue":
|
|
1535
|
+
n(l, {
|
|
1536
|
+
modelValue: e(i),
|
|
1537
|
+
"onUpdate:modelValue": r[0] || (r[0] = (u) => R(i) ? i.value = u : null)
|
|
1528
1538
|
}, null, 8, ["modelValue"])
|
|
1529
1539
|
]),
|
|
1530
|
-
_:
|
|
1531
|
-
},
|
|
1540
|
+
_: 2
|
|
1541
|
+
}, [
|
|
1542
|
+
e(t).ecosystem.mcp.seen ? void 0 : {
|
|
1543
|
+
name: "append",
|
|
1544
|
+
fn: s(() => [
|
|
1545
|
+
n(J, {
|
|
1546
|
+
color: "success",
|
|
1547
|
+
size: "x-small",
|
|
1548
|
+
variant: "flat"
|
|
1549
|
+
}, {
|
|
1550
|
+
default: s(() => [...r[1] || (r[1] = [
|
|
1551
|
+
w("NEW", -1)
|
|
1552
|
+
])]),
|
|
1553
|
+
_: 1
|
|
1554
|
+
})
|
|
1555
|
+
]),
|
|
1556
|
+
key: "0"
|
|
1557
|
+
}
|
|
1558
|
+
]), 1032, ["active", "prepend-icon"]);
|
|
1532
1559
|
};
|
|
1533
1560
|
}
|
|
1534
1561
|
}), Un = { class: "text-caption" }, Bn = /* @__PURE__ */ y({
|
|
@@ -1537,7 +1564,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
1537
1564
|
const t = me(), i = B();
|
|
1538
1565
|
return (o, r) => {
|
|
1539
1566
|
const l = ae;
|
|
1540
|
-
return
|
|
1567
|
+
return c(), m(fe, null, {
|
|
1541
1568
|
default: s(() => [
|
|
1542
1569
|
n(re, { cols: "12" }, {
|
|
1543
1570
|
default: s(() => [
|
|
@@ -1545,7 +1572,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
1545
1572
|
text: "View and download your invoice history.",
|
|
1546
1573
|
title: "Invoice History"
|
|
1547
1574
|
}),
|
|
1548
|
-
n(
|
|
1575
|
+
n(U, {
|
|
1549
1576
|
border: "",
|
|
1550
1577
|
rounded: "lg"
|
|
1551
1578
|
}, {
|
|
@@ -1561,10 +1588,10 @@ const $n = /* @__PURE__ */ y({
|
|
|
1561
1588
|
v("div", Un, C(e(t).format(new Date(a.date * 1e3), "fullDateWithWeekday")), 1)
|
|
1562
1589
|
]),
|
|
1563
1590
|
"item.amount": s(({ item: a }) => [
|
|
1564
|
-
|
|
1591
|
+
w(" $" + C(a.amount / 100), 1)
|
|
1565
1592
|
]),
|
|
1566
1593
|
"item.status": s(({ item: a }) => [
|
|
1567
|
-
n(
|
|
1594
|
+
n(J, {
|
|
1568
1595
|
border: "success sm",
|
|
1569
1596
|
class: "text-capitalize",
|
|
1570
1597
|
color: "success",
|
|
@@ -1596,38 +1623,38 @@ const $n = /* @__PURE__ */ y({
|
|
|
1596
1623
|
});
|
|
1597
1624
|
};
|
|
1598
1625
|
}
|
|
1599
|
-
}), zn = { class: "d-flex align-center" }, On = ["textContent"],
|
|
1626
|
+
}), zn = { class: "d-flex align-center" }, On = ["textContent"], Fn = { class: "me-1" }, Pn = { class: "text-medium-emphasis text-caption" }, Nn = { class: "d-flex align-center" }, Zn = { class: "d-flex align-start justify-space-between text-caption py-2" }, jn = { class: "font-weight-bold" }, Hn = { class: "font-weight-bold" }, En = /* @__PURE__ */ y({
|
|
1600
1627
|
__name: "VoSubscriptionStatus",
|
|
1601
1628
|
emits: ["change:subscription"],
|
|
1602
1629
|
setup(p, { emit: t }) {
|
|
1603
1630
|
const i = me(), o = B(), r = t, l = b(() => {
|
|
1604
1631
|
if (!o.info) return;
|
|
1605
|
-
const
|
|
1606
|
-
return i.format(
|
|
1632
|
+
const u = new Date(o.info.currentPeriodEnd * 1e3);
|
|
1633
|
+
return i.format(u, "keyboardDate");
|
|
1607
1634
|
});
|
|
1608
1635
|
async function a() {
|
|
1609
1636
|
!o.interval || !o.subscriptionType || (o.isLoading = !0, o.subscribe(o.interval, o.subscriptionType));
|
|
1610
1637
|
}
|
|
1611
|
-
return (
|
|
1612
|
-
const f =
|
|
1613
|
-
return
|
|
1638
|
+
return (u, d) => {
|
|
1639
|
+
const f = Ve;
|
|
1640
|
+
return c(), m(fe, null, {
|
|
1614
1641
|
default: s(() => [
|
|
1615
1642
|
n(re, { cols: "12" }, {
|
|
1616
1643
|
default: s(() => [
|
|
1617
|
-
n(
|
|
1644
|
+
n(U, {
|
|
1618
1645
|
border: "",
|
|
1619
1646
|
flat: "",
|
|
1620
1647
|
"prepend-icon": "$vuetify",
|
|
1621
1648
|
rounded: "lg",
|
|
1622
1649
|
title: "Subscription Status"
|
|
1623
|
-
},
|
|
1650
|
+
}, O({
|
|
1624
1651
|
prepend: s(() => [
|
|
1625
|
-
n(
|
|
1652
|
+
n(M, {
|
|
1626
1653
|
color: e(o).isSubscriber ? "success" : void 0
|
|
1627
1654
|
}, null, 8, ["color"])
|
|
1628
1655
|
]),
|
|
1629
1656
|
append: s(() => [
|
|
1630
|
-
e(o).hasBilling && e(o).info?.status === "canceled" ? (
|
|
1657
|
+
e(o).hasBilling && e(o).info?.status === "canceled" ? (c(), m(f, {
|
|
1631
1658
|
key: 0,
|
|
1632
1659
|
class: "me-2",
|
|
1633
1660
|
color: "success",
|
|
@@ -1637,7 +1664,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
1637
1664
|
variant: "outlined",
|
|
1638
1665
|
onClick: a
|
|
1639
1666
|
}, null, 8, ["loading"])) : h("", !0),
|
|
1640
|
-
e(o).hasBilling ? (
|
|
1667
|
+
e(o).hasBilling ? (c(), m(f, {
|
|
1641
1668
|
key: 1,
|
|
1642
1669
|
loading: e(o).isLoading,
|
|
1643
1670
|
"prepend-icon": `svg:${e(uo)}`,
|
|
@@ -1656,11 +1683,11 @@ const $n = /* @__PURE__ */ y({
|
|
|
1656
1683
|
class: "text-capitalize hidden-sm-and-down",
|
|
1657
1684
|
textContent: C(e(o).info.status)
|
|
1658
1685
|
}, null, 8, On),
|
|
1659
|
-
e(o).info.items.length > 0 ? (
|
|
1686
|
+
e(o).info.items.length > 0 ? (c(), V(D, { key: 0 }, [
|
|
1660
1687
|
d[1] || (d[1] = v("span", { class: "mx-1 hidden-sm-and-down" }, "—", -1)),
|
|
1661
|
-
v("span",
|
|
1662
|
-
|
|
1663
|
-
v("span",
|
|
1688
|
+
v("span", Fn, [
|
|
1689
|
+
w(" $" + C(e(o).info.items[0].plan.amount / 100), 1),
|
|
1690
|
+
v("span", Pn, "/" + C(e(o).interval), 1)
|
|
1664
1691
|
]),
|
|
1665
1692
|
n(f, {
|
|
1666
1693
|
size: "x-small",
|
|
@@ -1694,14 +1721,14 @@ const $n = /* @__PURE__ */ y({
|
|
|
1694
1721
|
]), 1024),
|
|
1695
1722
|
v("div", Zn, [
|
|
1696
1723
|
v("div", null, [
|
|
1697
|
-
e(o).info?.status === "active" ? (
|
|
1698
|
-
d[3] || (d[3] =
|
|
1699
|
-
v("span",
|
|
1700
|
-
d[4] || (d[4] =
|
|
1701
|
-
], 64)) : (
|
|
1702
|
-
d[5] || (d[5] =
|
|
1703
|
-
v("span",
|
|
1704
|
-
d[6] || (d[6] =
|
|
1724
|
+
e(o).info?.status === "active" ? (c(), V(D, { key: 0 }, [
|
|
1725
|
+
d[3] || (d[3] = w(" Your plan renews on ", -1)),
|
|
1726
|
+
v("span", jn, C(e(i).format(e(l), "fullDateWithWeekday")), 1),
|
|
1727
|
+
d[4] || (d[4] = w(". ", -1))
|
|
1728
|
+
], 64)) : (c(), V(D, { key: 1 }, [
|
|
1729
|
+
d[5] || (d[5] = w(" Your plan ends on ", -1)),
|
|
1730
|
+
v("span", Hn, C(e(i).format(e(o).info?.currentPeriodEnd, "fullDateWithWeekday")), 1),
|
|
1731
|
+
d[6] || (d[6] = w(". ", -1))
|
|
1705
1732
|
], 64))
|
|
1706
1733
|
])
|
|
1707
1734
|
])
|
|
@@ -1735,14 +1762,14 @@ const $n = /* @__PURE__ */ y({
|
|
|
1735
1762
|
];
|
|
1736
1763
|
return p.type === "team" && l.unshift("Invite up to 25 team members"), l;
|
|
1737
1764
|
});
|
|
1738
|
-
return
|
|
1765
|
+
return H(i, async (l) => {
|
|
1739
1766
|
l && o.subscriptionInfo();
|
|
1740
1767
|
}), (l, a) => {
|
|
1741
|
-
const
|
|
1742
|
-
return
|
|
1743
|
-
n(
|
|
1768
|
+
const u = q;
|
|
1769
|
+
return c(), V(D, null, [
|
|
1770
|
+
n(Ze, { class: "font-weight-black" }, {
|
|
1744
1771
|
default: s(() => [...a[0] || (a[0] = [
|
|
1745
|
-
|
|
1772
|
+
w("Perks", -1)
|
|
1746
1773
|
])]),
|
|
1747
1774
|
_: 1
|
|
1748
1775
|
}),
|
|
@@ -1754,13 +1781,13 @@ const $n = /* @__PURE__ */ y({
|
|
|
1754
1781
|
nav: ""
|
|
1755
1782
|
}, {
|
|
1756
1783
|
default: s(() => [
|
|
1757
|
-
(
|
|
1784
|
+
(c(!0), V(D, null, G(e(r), (d, f) => (c(), m(u, {
|
|
1758
1785
|
key: f,
|
|
1759
1786
|
class: "mb-0",
|
|
1760
1787
|
"prepend-icon": `svg:${e(he)}`
|
|
1761
1788
|
}, {
|
|
1762
1789
|
prepend: s(() => [
|
|
1763
|
-
n(
|
|
1790
|
+
n(M, {
|
|
1764
1791
|
class: "mx-n2",
|
|
1765
1792
|
color: "success",
|
|
1766
1793
|
size: "small"
|
|
@@ -1775,9 +1802,9 @@ const $n = /* @__PURE__ */ y({
|
|
|
1775
1802
|
_: 1
|
|
1776
1803
|
}),
|
|
1777
1804
|
a[3] || (a[3] = v("br", null, null, -1)),
|
|
1778
|
-
n(
|
|
1805
|
+
n(Ze, { class: "font-weight-black" }, {
|
|
1779
1806
|
default: s(() => [...a[1] || (a[1] = [
|
|
1780
|
-
|
|
1807
|
+
w("Up Next", -1)
|
|
1781
1808
|
])]),
|
|
1782
1809
|
_: 1
|
|
1783
1810
|
}),
|
|
@@ -1789,13 +1816,13 @@ const $n = /* @__PURE__ */ y({
|
|
|
1789
1816
|
nav: ""
|
|
1790
1817
|
}, {
|
|
1791
1818
|
default: s(() => [
|
|
1792
|
-
(
|
|
1819
|
+
(c(), V(D, null, G(t, (d, f) => n(u, {
|
|
1793
1820
|
key: f,
|
|
1794
1821
|
class: "mb-0",
|
|
1795
1822
|
"prepend-icon": `svg:${e(co)}`
|
|
1796
1823
|
}, {
|
|
1797
1824
|
prepend: s(() => [
|
|
1798
|
-
n(
|
|
1825
|
+
n(M, {
|
|
1799
1826
|
class: "mx-n2",
|
|
1800
1827
|
size: "small"
|
|
1801
1828
|
})
|
|
@@ -1821,7 +1848,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
1821
1848
|
},
|
|
1822
1849
|
emits: ["update:interval", "update:type"],
|
|
1823
1850
|
setup(p) {
|
|
1824
|
-
const t = I(!1), i = E(p, "interval"), o = E(p, "type"), r = B(), l = Me(), a = b(() => l.hasTeamAccess && !l.isTeamOwner),
|
|
1851
|
+
const t = I(!1), i = E(p, "interval"), o = E(p, "type"), r = B(), l = Me(), a = b(() => l.hasTeamAccess && !l.isTeamOwner), u = {
|
|
1825
1852
|
solo: {
|
|
1826
1853
|
month: "2.99 /month",
|
|
1827
1854
|
year: "29.99 /year"
|
|
@@ -1831,9 +1858,9 @@ const $n = /* @__PURE__ */ y({
|
|
|
1831
1858
|
year: "299.99 /year"
|
|
1832
1859
|
}
|
|
1833
1860
|
};
|
|
1834
|
-
return
|
|
1861
|
+
return H(t, async (d) => {
|
|
1835
1862
|
d && r.subscriptionInfo();
|
|
1836
|
-
}), (d, f) => (
|
|
1863
|
+
}), (d, f) => (c(), V(D, null, [
|
|
1837
1864
|
n(yt, {
|
|
1838
1865
|
modelValue: o.value,
|
|
1839
1866
|
"onUpdate:modelValue": f[0] || (f[0] = (g) => o.value = g),
|
|
@@ -1848,20 +1875,20 @@ const $n = /* @__PURE__ */ y({
|
|
|
1848
1875
|
md: "6"
|
|
1849
1876
|
}, {
|
|
1850
1877
|
default: s(() => [
|
|
1851
|
-
n(
|
|
1878
|
+
n(je, { value: "solo" }, {
|
|
1852
1879
|
default: s(({ toggle: g, isSelected: _ }) => [
|
|
1853
|
-
n(
|
|
1880
|
+
n(U, {
|
|
1854
1881
|
border: _ ? "sm primary opacity-50" : "sm",
|
|
1855
1882
|
color: _ ? "primary" : void 0,
|
|
1856
1883
|
"prepend-icon": _ ? `svg:${e(Le)}` : "$radioOff",
|
|
1857
1884
|
rounded: "lg",
|
|
1858
|
-
subtitle: `$${
|
|
1885
|
+
subtitle: `$${u.solo[i.value]}`,
|
|
1859
1886
|
title: "Solo Developer",
|
|
1860
1887
|
variant: _ ? "tonal" : "text",
|
|
1861
1888
|
onClick: g
|
|
1862
1889
|
}, {
|
|
1863
1890
|
prepend: s(() => [
|
|
1864
|
-
n(
|
|
1891
|
+
n(M, { class: "mt-n6" })
|
|
1865
1892
|
]),
|
|
1866
1893
|
_: 1
|
|
1867
1894
|
}, 8, ["border", "color", "prepend-icon", "subtitle", "variant", "onClick"])
|
|
@@ -1876,21 +1903,21 @@ const $n = /* @__PURE__ */ y({
|
|
|
1876
1903
|
md: "6"
|
|
1877
1904
|
}, {
|
|
1878
1905
|
default: s(() => [
|
|
1879
|
-
n(
|
|
1906
|
+
n(je, { value: "team" }, {
|
|
1880
1907
|
default: s(({ toggle: g, isSelected: _ }) => [
|
|
1881
|
-
n(
|
|
1908
|
+
n(U, {
|
|
1882
1909
|
border: _ ? "sm primary opacity-50" : "sm",
|
|
1883
1910
|
color: _ ? "primary" : void 0,
|
|
1884
1911
|
disabled: e(a),
|
|
1885
1912
|
"prepend-icon": _ ? `svg:${e(Le)}` : "$radioOff",
|
|
1886
1913
|
rounded: "lg",
|
|
1887
|
-
subtitle: `$${
|
|
1914
|
+
subtitle: `$${u.team[i.value]}`,
|
|
1888
1915
|
title: "Team Access",
|
|
1889
1916
|
variant: _ ? "tonal" : "text",
|
|
1890
1917
|
onClick: g
|
|
1891
1918
|
}, {
|
|
1892
1919
|
prepend: s(() => [
|
|
1893
|
-
n(
|
|
1920
|
+
n(M, { class: "mt-n6" })
|
|
1894
1921
|
]),
|
|
1895
1922
|
_: 1
|
|
1896
1923
|
}, 8, ["border", "color", "disabled", "prepend-icon", "subtitle", "variant", "onClick"])
|
|
@@ -1928,31 +1955,31 @@ const $n = /* @__PURE__ */ y({
|
|
|
1928
1955
|
function t(g) {
|
|
1929
1956
|
return new Promise((_) => setTimeout(_, g));
|
|
1930
1957
|
}
|
|
1931
|
-
const i = E(p, "modelValue"), o = B(), r = ye(), l = I(o.interval), a = I(o.subscriptionType),
|
|
1932
|
-
|
|
1958
|
+
const i = E(p, "modelValue"), o = B(), r = ye(), l = I(o.interval), a = I(o.subscriptionType), u = I(o.hasBilling ? "status" : "subscribe"), d = I(!1);
|
|
1959
|
+
H([l, a], ([g, _]) => {
|
|
1933
1960
|
!o.isSubscriber || !o.interval || !o.subscriptionType || (d.value = g !== o.interval || _ !== o.subscriptionType);
|
|
1934
|
-
}),
|
|
1961
|
+
}), H(i, async (g) => {
|
|
1935
1962
|
if (!g || !o.isSubscriber) {
|
|
1936
1963
|
g || o.resetQuery();
|
|
1937
1964
|
return;
|
|
1938
1965
|
}
|
|
1939
1966
|
o.subscriptionInfo();
|
|
1940
|
-
}),
|
|
1941
|
-
!o.sessionId && !["subscribe", "status"].includes(r.value.one) || r.value.team || (
|
|
1967
|
+
}), H(r, async () => {
|
|
1968
|
+
!o.sessionId && !["subscribe", "status"].includes(r.value.one) || r.value.team || (u.value = o.sessionId || r.value.one === "status" ? "status" : "subscribe", o.isOpen = !0, await _e(), i.value = !0);
|
|
1942
1969
|
}, { immediate: !0 }), Ot(() => {
|
|
1943
1970
|
l.value = o.interval ?? "year", a.value = o.subscriptionType ?? "solo";
|
|
1944
1971
|
});
|
|
1945
1972
|
async function f() {
|
|
1946
|
-
await o.modify(l.value, a.value), await o.subscriptionInfo(), d.value = null, await t(3e3),
|
|
1973
|
+
await o.modify(l.value, a.value), await o.subscriptionInfo(), d.value = null, await t(3e3), u.value = "status", await t(300), d.value = !1;
|
|
1947
1974
|
}
|
|
1948
1975
|
return (g, _) => {
|
|
1949
|
-
const
|
|
1950
|
-
return
|
|
1976
|
+
const k = ae, $ = Gn, S = Wn, F = En, X = Bn, x = Ve, Ce = ce;
|
|
1977
|
+
return c(), m(Ce, {
|
|
1951
1978
|
modelValue: i.value,
|
|
1952
1979
|
"onUpdate:modelValue": _[5] || (_[5] = (z) => i.value = z),
|
|
1953
1980
|
"prepend-icon": `svg:${e(po)}`,
|
|
1954
1981
|
title: "Subscriptions"
|
|
1955
|
-
},
|
|
1982
|
+
}, O({
|
|
1956
1983
|
default: s(() => [
|
|
1957
1984
|
n(le, null, {
|
|
1958
1985
|
default: s(() => [
|
|
@@ -1961,11 +1988,11 @@ const $n = /* @__PURE__ */ y({
|
|
|
1961
1988
|
v("div", Kn, [
|
|
1962
1989
|
n(W, null, {
|
|
1963
1990
|
default: s(() => [
|
|
1964
|
-
n(
|
|
1991
|
+
n(k, {
|
|
1965
1992
|
text: "The Vuetify One subscription is a great way to support the Vuetify team and get access to exclusive features and content.",
|
|
1966
1993
|
title: "Vuetify One"
|
|
1967
1994
|
}),
|
|
1968
|
-
n(
|
|
1995
|
+
n(kt, { "model-value": e(u) }, {
|
|
1969
1996
|
default: s(() => [
|
|
1970
1997
|
n(ve, { value: "subscribe" }, {
|
|
1971
1998
|
default: s(() => [
|
|
@@ -1976,14 +2003,14 @@ const $n = /* @__PURE__ */ y({
|
|
|
1976
2003
|
"onUpdate:type": _[1] || (_[1] = (z) => R(a) ? a.value = z : null)
|
|
1977
2004
|
}, null, 8, ["interval", "type"]),
|
|
1978
2005
|
_[6] || (_[6] = v("br", null, null, -1)),
|
|
1979
|
-
n(
|
|
2006
|
+
n(S, { type: e(a) }, null, 8, ["type"])
|
|
1980
2007
|
]),
|
|
1981
2008
|
_: 1
|
|
1982
2009
|
}),
|
|
1983
2010
|
n(ve, { value: "status" }, {
|
|
1984
2011
|
default: s(() => [
|
|
1985
|
-
n(
|
|
1986
|
-
"onChange:subscription": _[2] || (_[2] = (z) =>
|
|
2012
|
+
n(F, {
|
|
2013
|
+
"onChange:subscription": _[2] || (_[2] = (z) => u.value = "subscribe")
|
|
1987
2014
|
}),
|
|
1988
2015
|
n(X)
|
|
1989
2016
|
]),
|
|
@@ -2005,11 +2032,11 @@ const $n = /* @__PURE__ */ y({
|
|
|
2005
2032
|
]),
|
|
2006
2033
|
_: 2
|
|
2007
2034
|
}, [
|
|
2008
|
-
e(
|
|
2035
|
+
e(u) === "subscribe" ? {
|
|
2009
2036
|
name: "actions",
|
|
2010
2037
|
fn: s(() => [
|
|
2011
2038
|
v("div", Qn, [
|
|
2012
|
-
e(d) !== !1 ? (
|
|
2039
|
+
e(d) !== !1 ? (c(), m(x, {
|
|
2013
2040
|
key: 0,
|
|
2014
2041
|
block: "",
|
|
2015
2042
|
color: "success",
|
|
@@ -2019,14 +2046,14 @@ const $n = /* @__PURE__ */ y({
|
|
|
2019
2046
|
size: "default",
|
|
2020
2047
|
text: e(d) !== null ? "Modify Subscription" : "Success",
|
|
2021
2048
|
onClick: f
|
|
2022
|
-
}, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : e(o).one ? (
|
|
2049
|
+
}, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : e(o).one ? (c(), m(x, {
|
|
2023
2050
|
key: 2,
|
|
2024
2051
|
block: "",
|
|
2025
2052
|
"prepend-icon": `svg:${e(fo)}`,
|
|
2026
2053
|
size: "default",
|
|
2027
2054
|
text: "Manage Subscription",
|
|
2028
|
-
onClick: _[4] || (_[4] = (z) =>
|
|
2029
|
-
}, null, 8, ["prepend-icon"])) : (
|
|
2055
|
+
onClick: _[4] || (_[4] = (z) => u.value = "status")
|
|
2056
|
+
}, null, 8, ["prepend-icon"])) : (c(), m(x, {
|
|
2030
2057
|
key: 1,
|
|
2031
2058
|
block: "",
|
|
2032
2059
|
color: e(l) && e(a) ? "success" : "disabled",
|
|
@@ -2050,7 +2077,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
2050
2077
|
const t = I(!1);
|
|
2051
2078
|
return (i, o) => {
|
|
2052
2079
|
const r = Yn, l = q;
|
|
2053
|
-
return
|
|
2080
|
+
return c(), m(l, {
|
|
2054
2081
|
active: e(t),
|
|
2055
2082
|
link: "",
|
|
2056
2083
|
"prepend-icon": `svg:${e(vo)}`,
|
|
@@ -2081,17 +2108,17 @@ const $n = /* @__PURE__ */ y({
|
|
|
2081
2108
|
sponsorship: {}
|
|
2082
2109
|
},
|
|
2083
2110
|
setup(p) {
|
|
2084
|
-
const t = p, i =
|
|
2111
|
+
const t = p, i = ze(), o = b(() => `$${Number.parseFloat(String((t.sponsorship?.amount ?? 0) / 100)).toFixed(2)} /${t.sponsorship?.interval}`);
|
|
2085
2112
|
return (r, l) => {
|
|
2086
|
-
const a =
|
|
2087
|
-
return
|
|
2113
|
+
const a = Ve;
|
|
2114
|
+
return c(), m(Yo, {
|
|
2088
2115
|
"dot-color": r.sponsorship?.isActive ? "success" : "transparent",
|
|
2089
2116
|
icon: r.sponsorship?.isActive ? `svg:${e(he)}` : void 0,
|
|
2090
2117
|
size: "x-small",
|
|
2091
2118
|
width: "100%"
|
|
2092
2119
|
}, {
|
|
2093
2120
|
default: s(() => [
|
|
2094
|
-
n(
|
|
2121
|
+
n(U, {
|
|
2095
2122
|
border: "",
|
|
2096
2123
|
"prepend-avatar": `${e(i).CDN_URL}logos/${r.logo}.png`,
|
|
2097
2124
|
rounded: "lg",
|
|
@@ -2099,23 +2126,23 @@ const $n = /* @__PURE__ */ y({
|
|
|
2099
2126
|
variant: "text"
|
|
2100
2127
|
}, {
|
|
2101
2128
|
subtitle: s(() => [
|
|
2102
|
-
r.sponsorship?.isActive ? (
|
|
2103
|
-
n(
|
|
2129
|
+
r.sponsorship?.isActive ? (c(), V("div", Jn, [
|
|
2130
|
+
n(M, {
|
|
2104
2131
|
icon: `svg:${e(go)}`,
|
|
2105
2132
|
size: "x-small"
|
|
2106
2133
|
}, null, 8, ["icon"]),
|
|
2107
|
-
|
|
2108
|
-
])) : (
|
|
2109
|
-
|
|
2134
|
+
w(" " + C(e(o)), 1)
|
|
2135
|
+
])) : (c(), V(D, { key: 1 }, [
|
|
2136
|
+
w(C(r.text), 1)
|
|
2110
2137
|
], 64))
|
|
2111
2138
|
]),
|
|
2112
2139
|
append: s(() => [
|
|
2113
|
-
r.disabled ? (
|
|
2140
|
+
r.disabled ? (c(), m(a, {
|
|
2114
2141
|
key: 1,
|
|
2115
2142
|
color: "surface-variant",
|
|
2116
2143
|
readonly: "",
|
|
2117
2144
|
text: "Coming Soon"
|
|
2118
|
-
})) : (
|
|
2145
|
+
})) : (c(), m(a, {
|
|
2119
2146
|
key: 0,
|
|
2120
2147
|
active: !1,
|
|
2121
2148
|
color: r.sponsorship?.isActive ? "success" : "primary",
|
|
@@ -2141,7 +2168,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
2141
2168
|
const t = B();
|
|
2142
2169
|
return (i, o) => {
|
|
2143
2170
|
const r = Ye;
|
|
2144
|
-
return
|
|
2171
|
+
return c(), m(r, {
|
|
2145
2172
|
href: "https://discord.com/servers/vuetify-340160225338195969",
|
|
2146
2173
|
logo: "discord",
|
|
2147
2174
|
sponsorship: e(t).discord,
|
|
@@ -2156,7 +2183,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
2156
2183
|
const t = B();
|
|
2157
2184
|
return (i, o) => {
|
|
2158
2185
|
const r = Ye;
|
|
2159
|
-
return
|
|
2186
|
+
return c(), m(r, {
|
|
2160
2187
|
href: "https://github.com/sponsors/johnleider",
|
|
2161
2188
|
logo: "github",
|
|
2162
2189
|
sponsorship: e(t).github,
|
|
@@ -2171,7 +2198,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
2171
2198
|
const t = B();
|
|
2172
2199
|
return (i, o) => {
|
|
2173
2200
|
const r = Ye;
|
|
2174
|
-
return
|
|
2201
|
+
return c(), m(r, {
|
|
2175
2202
|
logo: "one",
|
|
2176
2203
|
sponsorship: e(t).one,
|
|
2177
2204
|
text: "Support Vuetify through Vuetify One.",
|
|
@@ -2185,7 +2212,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
2185
2212
|
setup(p) {
|
|
2186
2213
|
return (t, i) => {
|
|
2187
2214
|
const o = os, r = ts, l = es;
|
|
2188
|
-
return
|
|
2215
|
+
return c(), m(Xo, {
|
|
2189
2216
|
class: "justify-start ms-n7",
|
|
2190
2217
|
"line-inset": "12",
|
|
2191
2218
|
side: "end",
|
|
@@ -2210,11 +2237,11 @@ const $n = /* @__PURE__ */ y({
|
|
|
2210
2237
|
emits: ["update:modelValue"],
|
|
2211
2238
|
setup(p) {
|
|
2212
2239
|
const t = E(p, "modelValue"), i = ye(), o = B();
|
|
2213
|
-
return
|
|
2240
|
+
return H(i, async () => {
|
|
2214
2241
|
i.value.one === "sponsorships" && (o.isOpen = !0, await _e(), t.value = !0);
|
|
2215
2242
|
}, { immediate: !0 }), (r, l) => {
|
|
2216
|
-
const a = ae,
|
|
2217
|
-
return
|
|
2243
|
+
const a = ae, u = ns, d = ce;
|
|
2244
|
+
return c(), m(d, {
|
|
2218
2245
|
modelValue: t.value,
|
|
2219
2246
|
"onUpdate:modelValue": l[0] || (l[0] = (f) => t.value = f),
|
|
2220
2247
|
"prepend-icon": `svg:${e(_o)}`,
|
|
@@ -2232,7 +2259,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
2232
2259
|
text: "Support Vuetify through GitHub Sponsors or Discord to unlock exclusive benefits and content.",
|
|
2233
2260
|
title: "Support Vuetify"
|
|
2234
2261
|
}),
|
|
2235
|
-
n(
|
|
2262
|
+
n(u)
|
|
2236
2263
|
]),
|
|
2237
2264
|
_: 1
|
|
2238
2265
|
}),
|
|
@@ -2243,12 +2270,12 @@ const $n = /* @__PURE__ */ y({
|
|
|
2243
2270
|
size: "128"
|
|
2244
2271
|
}, {
|
|
2245
2272
|
media: s(() => [
|
|
2246
|
-
n(
|
|
2273
|
+
n(M, {
|
|
2247
2274
|
color: e(o).isSubscriber ? "success" : "error"
|
|
2248
2275
|
}, null, 8, ["color"])
|
|
2249
2276
|
]),
|
|
2250
2277
|
title: s(() => [
|
|
2251
|
-
l[1] || (l[1] =
|
|
2278
|
+
l[1] || (l[1] = w(" One Status: ", -1)),
|
|
2252
2279
|
v("span", as, C(e(o).isSubscriber ? "Active" : "Inactive"), 1)
|
|
2253
2280
|
]),
|
|
2254
2281
|
text: s(() => [
|
|
@@ -2274,7 +2301,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
2274
2301
|
const t = I(!1);
|
|
2275
2302
|
return (i, o) => {
|
|
2276
2303
|
const r = rs, l = q;
|
|
2277
|
-
return
|
|
2304
|
+
return c(), m(l, {
|
|
2278
2305
|
active: e(t),
|
|
2279
2306
|
link: "",
|
|
2280
2307
|
"prepend-icon": `svg:${e(yo)}`,
|
|
@@ -2291,7 +2318,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
2291
2318
|
};
|
|
2292
2319
|
}
|
|
2293
2320
|
}), us = K("downloads", () => {
|
|
2294
|
-
const p = Y(), t =
|
|
2321
|
+
const p = Y(), t = te(), i = N([]), o = I(!1);
|
|
2295
2322
|
async function r() {
|
|
2296
2323
|
if (i.value.length > 0)
|
|
2297
2324
|
return i.value;
|
|
@@ -2338,7 +2365,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
2338
2365
|
await i.index();
|
|
2339
2366
|
}), (r, l) => {
|
|
2340
2367
|
const a = ae;
|
|
2341
|
-
return
|
|
2368
|
+
return c(), m(fe, null, {
|
|
2342
2369
|
default: s(() => [
|
|
2343
2370
|
n(re, { cols: "12" }, {
|
|
2344
2371
|
default: s(() => [
|
|
@@ -2346,7 +2373,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
2346
2373
|
text: "View and download your store purchases.",
|
|
2347
2374
|
title: "Download history"
|
|
2348
2375
|
}),
|
|
2349
|
-
n(
|
|
2376
|
+
n(U, {
|
|
2350
2377
|
border: "",
|
|
2351
2378
|
flat: "",
|
|
2352
2379
|
rounded: "lg"
|
|
@@ -2359,22 +2386,22 @@ const $n = /* @__PURE__ */ y({
|
|
|
2359
2386
|
items: e(i).all,
|
|
2360
2387
|
loading: e(i).isLoading
|
|
2361
2388
|
}, {
|
|
2362
|
-
"item.order_name": s(({ item:
|
|
2363
|
-
|
|
2389
|
+
"item.order_name": s(({ item: u }) => [
|
|
2390
|
+
w(" #" + C(u.order_name), 1)
|
|
2364
2391
|
]),
|
|
2365
|
-
"item.created_at": s(({ item:
|
|
2366
|
-
|
|
2392
|
+
"item.created_at": s(({ item: u }) => [
|
|
2393
|
+
w(C(e(t).format(u.created_at, "shortDate")), 1)
|
|
2367
2394
|
]),
|
|
2368
|
-
"item.download_items": s(({ item:
|
|
2369
|
-
(
|
|
2395
|
+
"item.download_items": s(({ item: u }) => [
|
|
2396
|
+
(c(!0), V(D, null, G(u.download_items, (d, f) => (c(), V("div", {
|
|
2370
2397
|
key: f,
|
|
2371
2398
|
class: "text-truncate"
|
|
2372
2399
|
}, C(d.name), 1))), 128))
|
|
2373
2400
|
]),
|
|
2374
|
-
"item.download_url": s(({ item:
|
|
2401
|
+
"item.download_url": s(({ item: u }) => [
|
|
2375
2402
|
n(A, {
|
|
2376
2403
|
color: "medium-emphasis",
|
|
2377
|
-
href:
|
|
2404
|
+
href: u.download_url,
|
|
2378
2405
|
icon: `svg:${e(ho)}`,
|
|
2379
2406
|
size: "small",
|
|
2380
2407
|
target: "_blank",
|
|
@@ -2400,7 +2427,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
2400
2427
|
const t = I(!1);
|
|
2401
2428
|
return (i, o) => {
|
|
2402
2429
|
const r = cs, l = ce, a = q;
|
|
2403
|
-
return
|
|
2430
|
+
return c(), m(a, {
|
|
2404
2431
|
active: e(t),
|
|
2405
2432
|
link: "",
|
|
2406
2433
|
"prepend-icon": `svg:${e(tt)}`,
|
|
@@ -2409,7 +2436,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
2409
2436
|
default: s(() => [
|
|
2410
2437
|
n(l, {
|
|
2411
2438
|
modelValue: e(t),
|
|
2412
|
-
"onUpdate:modelValue": o[0] || (o[0] = (
|
|
2439
|
+
"onUpdate:modelValue": o[0] || (o[0] = (u) => R(t) ? t.value = u : null),
|
|
2413
2440
|
"prepend-icon": `svg:${e(tt)}`,
|
|
2414
2441
|
title: "Downloads"
|
|
2415
2442
|
}, {
|
|
@@ -2448,7 +2475,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
2448
2475
|
},
|
|
2449
2476
|
emits: ["update:modelValue"],
|
|
2450
2477
|
setup(p) {
|
|
2451
|
-
const t = B(), i = Me(), o = Y(), { copy: r, copied: l } =
|
|
2478
|
+
const t = B(), i = Me(), o = Y(), { copy: r, copied: l } = Fe(), a = b(() => i.team), u = ye(), d = I(!1), f = [
|
|
2452
2479
|
{
|
|
2453
2480
|
title: "Name",
|
|
2454
2481
|
key: "name"
|
|
@@ -2460,18 +2487,18 @@ const $n = /* @__PURE__ */ y({
|
|
|
2460
2487
|
sortable: !1
|
|
2461
2488
|
}
|
|
2462
2489
|
], g = b(() => `https://one.vuetifyjs.com/?invite=${i.team?.inviteCode}`), _ = E(p, "modelValue");
|
|
2463
|
-
async function
|
|
2490
|
+
async function k() {
|
|
2464
2491
|
d.value = !0;
|
|
2465
2492
|
const $ = await o.post("/one/team/regen");
|
|
2466
2493
|
i.team = $.team;
|
|
2467
2494
|
}
|
|
2468
|
-
return
|
|
2469
|
-
!t.sessionId ||
|
|
2470
|
-
}, { immediate: !0 }), ($,
|
|
2471
|
-
const
|
|
2472
|
-
return
|
|
2495
|
+
return H(u, async () => {
|
|
2496
|
+
!t.sessionId || u.value.one === "subscribe" || u.value.team && (t.isOpen = !0, await _e(), _.value = !0);
|
|
2497
|
+
}, { immediate: !0 }), ($, S) => {
|
|
2498
|
+
const F = ae, X = ce;
|
|
2499
|
+
return c(), m(X, {
|
|
2473
2500
|
modelValue: _.value,
|
|
2474
|
-
"onUpdate:modelValue":
|
|
2501
|
+
"onUpdate:modelValue": S[2] || (S[2] = (x) => _.value = x),
|
|
2475
2502
|
"prepend-icon": `svg:${e(bo)}`,
|
|
2476
2503
|
title: "Team"
|
|
2477
2504
|
}, {
|
|
@@ -2483,11 +2510,11 @@ const $n = /* @__PURE__ */ y({
|
|
|
2483
2510
|
v("div", ms, [
|
|
2484
2511
|
n(W, null, {
|
|
2485
2512
|
default: s(() => [
|
|
2486
|
-
n(
|
|
2513
|
+
n(F, {
|
|
2487
2514
|
text: "Share access to Vuetify One with up to 25 team members.",
|
|
2488
2515
|
title: "Manage your team"
|
|
2489
2516
|
}),
|
|
2490
|
-
e(i).isTeamOwner ? (
|
|
2517
|
+
e(i).isTeamOwner ? (c(), m(U, {
|
|
2491
2518
|
key: 0,
|
|
2492
2519
|
border: "",
|
|
2493
2520
|
class: "mb-4",
|
|
@@ -2497,11 +2524,11 @@ const $n = /* @__PURE__ */ y({
|
|
|
2497
2524
|
rounded: "lg"
|
|
2498
2525
|
}, {
|
|
2499
2526
|
default: s(() => [
|
|
2500
|
-
n(
|
|
2527
|
+
n(Ne, {
|
|
2501
2528
|
class: "bg-surface",
|
|
2502
2529
|
subtitle: `Team - ${e(a)?.members?.length} member(s)`,
|
|
2503
2530
|
title: "Members"
|
|
2504
|
-
},
|
|
2531
|
+
}, O({ _: 2 }, [
|
|
2505
2532
|
e(i).isTeamOwner ? {
|
|
2506
2533
|
name: "append",
|
|
2507
2534
|
fn: s(() => [
|
|
@@ -2509,12 +2536,12 @@ const $n = /* @__PURE__ */ y({
|
|
|
2509
2536
|
border: "",
|
|
2510
2537
|
class: "text-none",
|
|
2511
2538
|
color: "primary",
|
|
2512
|
-
"prepend-icon": `svg:${e(
|
|
2539
|
+
"prepend-icon": `svg:${e(ko)}`,
|
|
2513
2540
|
rounded: "lg",
|
|
2514
2541
|
variant: "flat"
|
|
2515
2542
|
}, {
|
|
2516
2543
|
default: s(() => [
|
|
2517
|
-
|
|
2544
|
+
S[3] || (S[3] = w(" Add member ", -1)),
|
|
2518
2545
|
n(Qe, {
|
|
2519
2546
|
activator: "parent",
|
|
2520
2547
|
"close-on-content-click": !1,
|
|
@@ -2524,11 +2551,11 @@ const $n = /* @__PURE__ */ y({
|
|
|
2524
2551
|
width: "100%"
|
|
2525
2552
|
}, {
|
|
2526
2553
|
default: s(() => [
|
|
2527
|
-
n(
|
|
2554
|
+
n(U, { color: "surface-light" }, {
|
|
2528
2555
|
default: s(() => [
|
|
2529
|
-
n(
|
|
2556
|
+
n(Ne, {
|
|
2530
2557
|
class: "bg-surface",
|
|
2531
|
-
"prepend-icon": `svg:${e(
|
|
2558
|
+
"prepend-icon": `svg:${e(Vo)}`,
|
|
2532
2559
|
subtitle: "Provide this link to invite your team members",
|
|
2533
2560
|
title: "Member invite link"
|
|
2534
2561
|
}, {
|
|
@@ -2540,7 +2567,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
2540
2567
|
flat: "",
|
|
2541
2568
|
slim: "",
|
|
2542
2569
|
text: "Reset",
|
|
2543
|
-
onClick:
|
|
2570
|
+
onClick: k
|
|
2544
2571
|
}, null, 8, ["color", "disabled"])
|
|
2545
2572
|
]),
|
|
2546
2573
|
_: 1
|
|
@@ -2556,10 +2583,10 @@ const $n = /* @__PURE__ */ y({
|
|
|
2556
2583
|
variant: "solo"
|
|
2557
2584
|
}, {
|
|
2558
2585
|
"append-inner": s(() => [
|
|
2559
|
-
|
|
2560
|
-
icon: `svg:${e(l) ? e(he) : e(
|
|
2586
|
+
ee(n(M, {
|
|
2587
|
+
icon: `svg:${e(l) ? e(he) : e(Re)}`,
|
|
2561
2588
|
size: "small",
|
|
2562
|
-
onClick:
|
|
2589
|
+
onClick: S[0] || (S[0] = (x) => e(r)(e(g)))
|
|
2563
2590
|
}, null, 8, ["icon"]), [
|
|
2564
2591
|
[we, "Copy Team link"]
|
|
2565
2592
|
])
|
|
@@ -2585,7 +2612,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
2585
2612
|
n(Z),
|
|
2586
2613
|
n(W, { class: "pa-2" }, {
|
|
2587
2614
|
default: s(() => [
|
|
2588
|
-
n(
|
|
2615
|
+
n(Te, {
|
|
2589
2616
|
border: "",
|
|
2590
2617
|
rounded: "lg"
|
|
2591
2618
|
}, {
|
|
@@ -2606,7 +2633,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
2606
2633
|
])
|
|
2607
2634
|
]),
|
|
2608
2635
|
"item.actions": s(({ item: x }) => [
|
|
2609
|
-
e(a)?.owner?.id === x.id ? (
|
|
2636
|
+
e(a)?.owner?.id === x.id ? (c(), m(A, {
|
|
2610
2637
|
key: 0,
|
|
2611
2638
|
class: "me-n3",
|
|
2612
2639
|
color: "primary",
|
|
@@ -2616,7 +2643,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
2616
2643
|
slim: "",
|
|
2617
2644
|
text: "Team owner",
|
|
2618
2645
|
variant: "tonal"
|
|
2619
|
-
}, null, 8, ["prepend-icon"])) : (
|
|
2646
|
+
}, null, 8, ["prepend-icon"])) : (c(), m(A, {
|
|
2620
2647
|
key: 1,
|
|
2621
2648
|
class: "me-n3",
|
|
2622
2649
|
color: "medium-emphasis",
|
|
@@ -2638,7 +2665,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
2638
2665
|
})
|
|
2639
2666
|
]),
|
|
2640
2667
|
_: 1
|
|
2641
|
-
})) : (
|
|
2668
|
+
})) : (c(), m(U, {
|
|
2642
2669
|
key: 1,
|
|
2643
2670
|
border: "",
|
|
2644
2671
|
color: "surface-light",
|
|
@@ -2647,15 +2674,15 @@ const $n = /* @__PURE__ */ y({
|
|
|
2647
2674
|
rounded: "lg"
|
|
2648
2675
|
}, {
|
|
2649
2676
|
default: s(() => [
|
|
2650
|
-
n(
|
|
2677
|
+
n(Ne, {
|
|
2651
2678
|
"prepend-icon": `svg:${e(ot)}`,
|
|
2652
2679
|
subtitle: "You are currently a member of a team with an All-access Pass.",
|
|
2653
2680
|
title: "My Team access"
|
|
2654
2681
|
}, {
|
|
2655
2682
|
title: s(() => [
|
|
2656
2683
|
v("div", vs, [
|
|
2657
|
-
|
|
2658
|
-
n(
|
|
2684
|
+
S[4] || (S[4] = w(" My Team Access ", -1)),
|
|
2685
|
+
n(J, {
|
|
2659
2686
|
border: "thin opacity-25 success",
|
|
2660
2687
|
class: "ms-2",
|
|
2661
2688
|
color: "success",
|
|
@@ -2671,7 +2698,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
2671
2698
|
rounded: "lg",
|
|
2672
2699
|
text: "Leave team",
|
|
2673
2700
|
width: "145",
|
|
2674
|
-
onClick:
|
|
2701
|
+
onClick: S[1] || (S[1] = (x) => e(i).leaveTeam())
|
|
2675
2702
|
}, null, 8, ["prepend-icon"])
|
|
2676
2703
|
]),
|
|
2677
2704
|
_: 1
|
|
@@ -2700,7 +2727,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
2700
2727
|
const t = I(!1);
|
|
2701
2728
|
return (i, o) => {
|
|
2702
2729
|
const r = gs, l = q;
|
|
2703
|
-
return
|
|
2730
|
+
return c(), m(l, {
|
|
2704
2731
|
active: e(t),
|
|
2705
2732
|
link: "",
|
|
2706
2733
|
"prepend-icon": `svg:${e(xo)}`,
|
|
@@ -2722,44 +2749,44 @@ const $n = /* @__PURE__ */ y({
|
|
|
2722
2749
|
}, hs = {
|
|
2723
2750
|
key: 1,
|
|
2724
2751
|
class: "pa-5"
|
|
2725
|
-
}, bs = { class: "text-subtitle-1 font-weight-bold" },
|
|
2752
|
+
}, bs = { class: "text-subtitle-1 font-weight-bold" }, ks = { class: "text-caption font-weight-bold text-medium-emphasis" }, Vs = { class: "text-disabled text-caption mt-2 mb-3" }, Cs = /* @__PURE__ */ y({
|
|
2726
2753
|
__name: "VoNotificationsBannerList",
|
|
2727
2754
|
props: {
|
|
2728
2755
|
items: {}
|
|
2729
2756
|
},
|
|
2730
2757
|
setup(p) {
|
|
2731
|
-
const t = me(), i = se(), o =
|
|
2758
|
+
const t = me(), i = se(), o = T();
|
|
2732
2759
|
function r(a) {
|
|
2733
2760
|
return o.one.banners.read.includes(a);
|
|
2734
2761
|
}
|
|
2735
2762
|
function l(a) {
|
|
2736
|
-
r(a.slug) ? o.one.banners.read = o.one.banners.read.filter((
|
|
2763
|
+
r(a.slug) ? o.one.banners.read = o.one.banners.read.filter((u) => u !== a.slug) : o.one.banners.read.push(a.slug);
|
|
2737
2764
|
}
|
|
2738
|
-
return (a,
|
|
2765
|
+
return (a, u) => (c(), m(ne, {
|
|
2739
2766
|
class: "py-0",
|
|
2740
2767
|
height: "100%",
|
|
2741
2768
|
lines: "three"
|
|
2742
2769
|
}, {
|
|
2743
2770
|
default: s(() => [
|
|
2744
|
-
a.items.length === 0 ? (
|
|
2771
|
+
a.items.length === 0 ? (c(), V("div", ys, [
|
|
2745
2772
|
n(Ke, {
|
|
2746
2773
|
icon: "$vuetify",
|
|
2747
2774
|
size: "256"
|
|
2748
2775
|
}, {
|
|
2749
2776
|
media: s(() => [
|
|
2750
|
-
n(
|
|
2777
|
+
n(M, { color: "medium-emphasis" })
|
|
2751
2778
|
]),
|
|
2752
|
-
title: s(() => [...
|
|
2779
|
+
title: s(() => [...u[0] || (u[0] = [
|
|
2753
2780
|
v("div", { class: "text-medium-emphasis" }, " All caught up ", -1)
|
|
2754
2781
|
])]),
|
|
2755
2782
|
_: 1
|
|
2756
2783
|
})
|
|
2757
|
-
])) : (
|
|
2758
|
-
(
|
|
2784
|
+
])) : (c(), V("div", hs, [
|
|
2785
|
+
(c(!0), V(D, null, G(a.items, (d) => (c(), V("div", {
|
|
2759
2786
|
key: d.slug,
|
|
2760
2787
|
class: "mb-4"
|
|
2761
2788
|
}, [
|
|
2762
|
-
n(
|
|
2789
|
+
n(U, {
|
|
2763
2790
|
color: d.metadata.color,
|
|
2764
2791
|
flat: "",
|
|
2765
2792
|
image: d.metadata.images.bg?.url,
|
|
@@ -2772,13 +2799,13 @@ const $n = /* @__PURE__ */ y({
|
|
|
2772
2799
|
}, null, 8, ["image"])
|
|
2773
2800
|
]),
|
|
2774
2801
|
image: s(() => [
|
|
2775
|
-
n(
|
|
2802
|
+
n(oe, { position: "right" })
|
|
2776
2803
|
]),
|
|
2777
2804
|
_: 2
|
|
2778
2805
|
}, 1032, ["color", "image", "title"]),
|
|
2779
|
-
n(
|
|
2806
|
+
n(ke, null, {
|
|
2780
2807
|
default: s(({ props: f, isHovering: g }) => [
|
|
2781
|
-
n(
|
|
2808
|
+
n(Te, P({ ref_for: !0 }, f, {
|
|
2782
2809
|
border: "",
|
|
2783
2810
|
class: "px-8 pt-2 pb-4 position-relative",
|
|
2784
2811
|
rounded: "b"
|
|
@@ -2791,12 +2818,12 @@ const $n = /* @__PURE__ */ y({
|
|
|
2791
2818
|
activator: s(({ props: _ }) => [
|
|
2792
2819
|
n(be, { "hide-on-leave": "" }, {
|
|
2793
2820
|
default: s(() => [
|
|
2794
|
-
|
|
2821
|
+
ee(n(A, P({ ref_for: !0 }, _, {
|
|
2795
2822
|
class: "ms-auto float-right",
|
|
2796
|
-
icon: `svg:${r(d.slug) ? e(
|
|
2823
|
+
icon: `svg:${r(d.slug) ? e(We) : e(qe)}`,
|
|
2797
2824
|
size: "small",
|
|
2798
2825
|
variant: "text",
|
|
2799
|
-
onClick: (
|
|
2826
|
+
onClick: (k) => l(d)
|
|
2800
2827
|
}), null, 16, ["icon", "onClick"]), [
|
|
2801
2828
|
[Se, g || e(i).mobile.value]
|
|
2802
2829
|
])
|
|
@@ -2807,9 +2834,9 @@ const $n = /* @__PURE__ */ y({
|
|
|
2807
2834
|
_: 2
|
|
2808
2835
|
}, 1032, ["text"]),
|
|
2809
2836
|
v("div", bs, C(d.metadata.text), 1),
|
|
2810
|
-
v("div",
|
|
2811
|
-
v("div",
|
|
2812
|
-
n(
|
|
2837
|
+
v("div", ks, C(e(t).format(d.created_at, "fullDateWithWeekday")), 1),
|
|
2838
|
+
v("div", Vs, C(d.metadata.subtext), 1),
|
|
2839
|
+
n(J, P({ ref_for: !0 }, {
|
|
2813
2840
|
href: d.metadata.link.startsWith("http") ? d.metadata.link : void 0,
|
|
2814
2841
|
target: d.metadata.link.startsWith("http") ? "_blank" : void 0,
|
|
2815
2842
|
to: d.metadata.link.startsWith("http") ? void 0 : d.metadata.link
|
|
@@ -2822,7 +2849,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
2822
2849
|
variant: "text"
|
|
2823
2850
|
}), {
|
|
2824
2851
|
append: s(() => [
|
|
2825
|
-
n(
|
|
2852
|
+
n(M, { size: "12" })
|
|
2826
2853
|
]),
|
|
2827
2854
|
_: 1
|
|
2828
2855
|
}, 16, ["append-icon", "text"])
|
|
@@ -2845,7 +2872,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
2845
2872
|
notification: {}
|
|
2846
2873
|
},
|
|
2847
2874
|
setup(p) {
|
|
2848
|
-
const t = p, i =
|
|
2875
|
+
const t = p, i = T(), o = me(), r = se(), l = b(() => {
|
|
2849
2876
|
const d = t.notification.metadata ?? { action: "" };
|
|
2850
2877
|
return {
|
|
2851
2878
|
href: d.action.startsWith("http") ? d.action : void 0,
|
|
@@ -2860,14 +2887,14 @@ const $n = /* @__PURE__ */ y({
|
|
|
2860
2887
|
function a(d) {
|
|
2861
2888
|
return i.one.notifications.read.includes(d);
|
|
2862
2889
|
}
|
|
2863
|
-
function
|
|
2890
|
+
function u(d) {
|
|
2864
2891
|
t.demo || (a(d.slug) ? i.one.notifications.read = i.one.notifications.read.filter((f) => f !== d.slug) : i.one.notifications.read.push(d.slug));
|
|
2865
2892
|
}
|
|
2866
2893
|
return (d, f) => {
|
|
2867
2894
|
const g = q;
|
|
2868
|
-
return
|
|
2869
|
-
default: s(({ isHovering: _, props:
|
|
2870
|
-
n(g,
|
|
2895
|
+
return c(), m(ke, null, {
|
|
2896
|
+
default: s(({ isHovering: _, props: k }) => [
|
|
2897
|
+
n(g, P(k, { class: "py-4 mb-0" }), {
|
|
2871
2898
|
prepend: s(() => [
|
|
2872
2899
|
v("div", $s, C(d.notification.metadata.emoji), 1)
|
|
2873
2900
|
]),
|
|
@@ -2884,13 +2911,13 @@ const $n = /* @__PURE__ */ y({
|
|
|
2884
2911
|
activator: s(({ props: $ }) => [
|
|
2885
2912
|
n(be, { "hide-on-leave": "" }, {
|
|
2886
2913
|
default: s(() => [
|
|
2887
|
-
|
|
2914
|
+
ee(n(A, P($, {
|
|
2888
2915
|
class: "ms-auto",
|
|
2889
|
-
icon: `svg:${a(d.notification.slug) ? e(
|
|
2916
|
+
icon: `svg:${a(d.notification.slug) ? e(We) : e(qe)}`,
|
|
2890
2917
|
"mdi-email-variant": "",
|
|
2891
2918
|
size: "small",
|
|
2892
2919
|
variant: "text",
|
|
2893
|
-
onClick: f[0] || (f[0] = (
|
|
2920
|
+
onClick: f[0] || (f[0] = (S) => u(d.notification))
|
|
2894
2921
|
}), null, 16, ["icon"]), [
|
|
2895
2922
|
[Se, _ || e(r).mobile.value]
|
|
2896
2923
|
])
|
|
@@ -2913,7 +2940,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
2913
2940
|
}),
|
|
2914
2941
|
v("div", Ls, C(e(o).format(d.notification.created_at, "fullDateWithWeekday")), 1),
|
|
2915
2942
|
v("div", ws, C(d.notification.metadata.text), 1),
|
|
2916
|
-
n(
|
|
2943
|
+
n(J, P({
|
|
2917
2944
|
"append-icon": `svg:${e(Ie)}`
|
|
2918
2945
|
}, e(l), {
|
|
2919
2946
|
border: "",
|
|
@@ -2923,7 +2950,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
2923
2950
|
variant: "text"
|
|
2924
2951
|
}), {
|
|
2925
2952
|
append: s(() => [
|
|
2926
|
-
n(
|
|
2953
|
+
n(M, { size: "12" })
|
|
2927
2954
|
]),
|
|
2928
2955
|
_: 1
|
|
2929
2956
|
}, 16, ["append-icon", "text"])
|
|
@@ -2946,29 +2973,29 @@ const $n = /* @__PURE__ */ y({
|
|
|
2946
2973
|
setup(p) {
|
|
2947
2974
|
return (t, i) => {
|
|
2948
2975
|
const o = Ss;
|
|
2949
|
-
return
|
|
2976
|
+
return c(), m(ne, {
|
|
2950
2977
|
class: "py-0",
|
|
2951
2978
|
height: "100%",
|
|
2952
2979
|
lines: "three"
|
|
2953
2980
|
}, {
|
|
2954
2981
|
default: s(() => [
|
|
2955
|
-
t.items.length === 0 ? (
|
|
2982
|
+
t.items.length === 0 ? (c(), V("div", Ms, [
|
|
2956
2983
|
n(Ke, {
|
|
2957
2984
|
icon: "$vuetify",
|
|
2958
2985
|
size: "256"
|
|
2959
2986
|
}, {
|
|
2960
2987
|
media: s(() => [
|
|
2961
|
-
n(
|
|
2988
|
+
n(M, { color: "medium-emphasis" })
|
|
2962
2989
|
]),
|
|
2963
2990
|
title: s(() => [...i[0] || (i[0] = [
|
|
2964
2991
|
v("div", { class: "text-medium-emphasis" }, " All caught up ", -1)
|
|
2965
2992
|
])]),
|
|
2966
2993
|
_: 1
|
|
2967
2994
|
})
|
|
2968
|
-
])) : (
|
|
2995
|
+
])) : (c(!0), V(D, { key: 1 }, G(t.items, (r, l) => (c(), V(D, {
|
|
2969
2996
|
key: r.slug
|
|
2970
2997
|
}, [
|
|
2971
|
-
l !== 0 ? (
|
|
2998
|
+
l !== 0 ? (c(), m(Z, { key: 0 })) : h("", !0),
|
|
2972
2999
|
n(o, { notification: r }, null, 8, ["notification"])
|
|
2973
3000
|
], 64))), 128))
|
|
2974
3001
|
]),
|
|
@@ -2983,9 +3010,9 @@ const $n = /* @__PURE__ */ y({
|
|
|
2983
3010
|
url: t
|
|
2984
3011
|
};
|
|
2985
3012
|
}), Pe = K("banners", () => {
|
|
2986
|
-
const p = Y(), t = It(), i =
|
|
2987
|
-
if (
|
|
2988
|
-
return
|
|
3013
|
+
const p = Y(), t = It(), i = T(), o = te(), r = N([]), l = I(!1), a = b(() => {
|
|
3014
|
+
if (u.value)
|
|
3015
|
+
return u.value;
|
|
2989
3016
|
if (i.one.banners.enabled) {
|
|
2990
3017
|
if (i.one.banners.last) {
|
|
2991
3018
|
const f = new Date(i.one.banners.last), g = new Date(Date.now() - 3 * 24 * 60 * 60 * 1e3);
|
|
@@ -2998,9 +3025,9 @@ const $n = /* @__PURE__ */ y({
|
|
|
2998
3025
|
site: g,
|
|
2999
3026
|
active: _
|
|
3000
3027
|
}
|
|
3001
|
-
}) => !_ || i.one.banners.read.includes(f) ? !1 : g.includes("dev") && !1 || g.includes("*") ? !0 : g.some((
|
|
3028
|
+
}) => !_ || i.one.banners.read.includes(f) ? !1 : g.includes("dev") && !1 || g.includes("*") ? !0 : g.some((k) => t.id.includes(k)));
|
|
3002
3029
|
}
|
|
3003
|
-
}),
|
|
3030
|
+
}), u = b(() => r.value.find(({
|
|
3004
3031
|
metadata: {
|
|
3005
3032
|
site: f,
|
|
3006
3033
|
active: g
|
|
@@ -3021,7 +3048,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
3021
3048
|
return {
|
|
3022
3049
|
all: r,
|
|
3023
3050
|
isLoading: l,
|
|
3024
|
-
server:
|
|
3051
|
+
server: u,
|
|
3025
3052
|
banner: a,
|
|
3026
3053
|
index: d
|
|
3027
3054
|
};
|
|
@@ -3033,47 +3060,47 @@ const $n = /* @__PURE__ */ y({
|
|
|
3033
3060
|
},
|
|
3034
3061
|
emits: ["update:modelValue"],
|
|
3035
3062
|
setup(p) {
|
|
3036
|
-
const t = se(), i = ye(), o = Pe(), r =
|
|
3063
|
+
const t = se(), i = ye(), o = Pe(), r = Be(), l = B(), a = T(), u = I(["read"]), d = E(p, "modelValue");
|
|
3037
3064
|
function f() {
|
|
3038
|
-
const _ = r.unread.map((
|
|
3065
|
+
const _ = r.unread.map((k) => k.slug);
|
|
3039
3066
|
a.one.notifications.read.push(..._);
|
|
3040
3067
|
}
|
|
3041
3068
|
function g() {
|
|
3042
3069
|
a.one.notifications.read = [];
|
|
3043
3070
|
}
|
|
3044
|
-
return
|
|
3071
|
+
return H(i, async () => {
|
|
3045
3072
|
if (i.value.one !== "notifications") {
|
|
3046
3073
|
d.value && (d.value = !1);
|
|
3047
3074
|
return;
|
|
3048
3075
|
}
|
|
3049
3076
|
l.isOpen = !0, await _e(), d.value = !0;
|
|
3050
|
-
}, { immediate: !0 }), (_,
|
|
3051
|
-
const $ = q,
|
|
3052
|
-
return
|
|
3077
|
+
}, { immediate: !0 }), (_, k) => {
|
|
3078
|
+
const $ = q, S = Is, F = Cs, X = ce;
|
|
3079
|
+
return c(), m(X, {
|
|
3053
3080
|
modelValue: d.value,
|
|
3054
|
-
"onUpdate:modelValue":
|
|
3081
|
+
"onUpdate:modelValue": k[2] || (k[2] = (x) => d.value = x),
|
|
3055
3082
|
"prepend-icon": `svg:${e(Lo)}`,
|
|
3056
3083
|
title: "Notifications"
|
|
3057
3084
|
}, {
|
|
3058
3085
|
append: s(() => [
|
|
3059
|
-
e(
|
|
3086
|
+
e(u)[0] === "read" ? ee((c(), m(A, {
|
|
3060
3087
|
key: 0,
|
|
3061
3088
|
class: "me-2",
|
|
3062
3089
|
density: "comfortable",
|
|
3063
3090
|
disabled: e(r).unread.length === 0,
|
|
3064
|
-
icon: `svg:${e(
|
|
3091
|
+
icon: `svg:${e(qe)}`,
|
|
3065
3092
|
size: "small",
|
|
3066
3093
|
variant: "text",
|
|
3067
3094
|
onClick: f
|
|
3068
3095
|
}, null, 8, ["disabled", "icon"])), [
|
|
3069
3096
|
[we, "Mark All as Read", "start"]
|
|
3070
3097
|
]) : h("", !0),
|
|
3071
|
-
e(
|
|
3098
|
+
e(u)[0] === "unread" ? ee((c(), m(A, {
|
|
3072
3099
|
key: 1,
|
|
3073
3100
|
class: "me-2",
|
|
3074
3101
|
density: "comfortable",
|
|
3075
3102
|
disabled: e(r).read.length === 0,
|
|
3076
|
-
icon: `svg:${e(
|
|
3103
|
+
icon: `svg:${e(We)}`,
|
|
3077
3104
|
size: "small",
|
|
3078
3105
|
variant: "text",
|
|
3079
3106
|
onClick: g
|
|
@@ -3091,8 +3118,8 @@ const $n = /* @__PURE__ */ y({
|
|
|
3091
3118
|
}, {
|
|
3092
3119
|
default: s(() => [
|
|
3093
3120
|
n(ne, {
|
|
3094
|
-
selected: e(
|
|
3095
|
-
"onUpdate:selected":
|
|
3121
|
+
selected: e(u),
|
|
3122
|
+
"onUpdate:selected": k[0] || (k[0] = (x) => R(u) ? u.value = x : null),
|
|
3096
3123
|
class: "px-4 pt-4",
|
|
3097
3124
|
density: "compact",
|
|
3098
3125
|
mandatory: "",
|
|
@@ -3103,7 +3130,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
3103
3130
|
"prepend-icon": `svg:${e(wo)}`,
|
|
3104
3131
|
title: "Unread",
|
|
3105
3132
|
value: "read"
|
|
3106
|
-
},
|
|
3133
|
+
}, O({ _: 2 }, [
|
|
3107
3134
|
e(r).unread.length > 0 ? {
|
|
3108
3135
|
name: "append",
|
|
3109
3136
|
fn: s(() => [
|
|
@@ -3116,7 +3143,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
3116
3143
|
"prepend-icon": `svg:${e(So)}`,
|
|
3117
3144
|
title: "Read",
|
|
3118
3145
|
value: "unread"
|
|
3119
|
-
},
|
|
3146
|
+
}, O({ _: 2 }, [
|
|
3120
3147
|
e(r).read.length > 0 ? {
|
|
3121
3148
|
name: "append",
|
|
3122
3149
|
fn: s(() => [
|
|
@@ -3125,14 +3152,14 @@ const $n = /* @__PURE__ */ y({
|
|
|
3125
3152
|
key: "0"
|
|
3126
3153
|
} : void 0
|
|
3127
3154
|
]), 1032, ["prepend-icon"]),
|
|
3128
|
-
e(o).all.length > 0 && e(a).one.banners.enabled ? (
|
|
3155
|
+
e(o).all.length > 0 && e(a).one.banners.enabled ? (c(), m($, {
|
|
3129
3156
|
key: 0,
|
|
3130
3157
|
"prepend-icon": `svg:${e(Mo)}`,
|
|
3131
3158
|
title: "Banners",
|
|
3132
3159
|
value: "banners"
|
|
3133
3160
|
}, {
|
|
3134
3161
|
append: s(() => [
|
|
3135
|
-
n(
|
|
3162
|
+
n(Ae, {
|
|
3136
3163
|
dot: "",
|
|
3137
3164
|
"offset-y": "-3"
|
|
3138
3165
|
})
|
|
@@ -3147,14 +3174,14 @@ const $n = /* @__PURE__ */ y({
|
|
|
3147
3174
|
}, 8, ["location", "width"]),
|
|
3148
3175
|
n(ue, { scrollable: "" }, {
|
|
3149
3176
|
default: s(() => [
|
|
3150
|
-
n(
|
|
3151
|
-
modelValue: e(
|
|
3152
|
-
"onUpdate:modelValue":
|
|
3177
|
+
n(kt, {
|
|
3178
|
+
modelValue: e(u),
|
|
3179
|
+
"onUpdate:modelValue": k[1] || (k[1] = (x) => R(u) ? u.value = x : null)
|
|
3153
3180
|
}, {
|
|
3154
3181
|
default: s(() => [
|
|
3155
3182
|
n(ve, { value: "read" }, {
|
|
3156
3183
|
default: s(() => [
|
|
3157
|
-
n(
|
|
3184
|
+
n(S, {
|
|
3158
3185
|
items: e(r).unread
|
|
3159
3186
|
}, null, 8, ["items"])
|
|
3160
3187
|
]),
|
|
@@ -3162,7 +3189,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
3162
3189
|
}),
|
|
3163
3190
|
n(ve, { value: "unread" }, {
|
|
3164
3191
|
default: s(() => [
|
|
3165
|
-
n(
|
|
3192
|
+
n(S, {
|
|
3166
3193
|
items: e(r).read
|
|
3167
3194
|
}, null, 8, ["items"])
|
|
3168
3195
|
]),
|
|
@@ -3170,7 +3197,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
3170
3197
|
}),
|
|
3171
3198
|
n(ve, { value: "banners" }, {
|
|
3172
3199
|
default: s(() => [
|
|
3173
|
-
n(
|
|
3200
|
+
n(F, {
|
|
3174
3201
|
items: e(o).all
|
|
3175
3202
|
}, null, 8, ["items"])
|
|
3176
3203
|
]),
|
|
@@ -3193,8 +3220,8 @@ const $n = /* @__PURE__ */ y({
|
|
|
3193
3220
|
}), Us = /* @__PURE__ */ y({
|
|
3194
3221
|
__name: "VoNotificationsBadge",
|
|
3195
3222
|
setup(p) {
|
|
3196
|
-
const t =
|
|
3197
|
-
return (o, r) => (
|
|
3223
|
+
const t = Be(), i = T();
|
|
3224
|
+
return (o, r) => (c(), m(Ae, {
|
|
3198
3225
|
color: "error",
|
|
3199
3226
|
content: e(t).unread.length,
|
|
3200
3227
|
"model-value": e(i).one.notifications.enabled && e(t).unread.length > 0
|
|
@@ -3208,18 +3235,18 @@ const $n = /* @__PURE__ */ y({
|
|
|
3208
3235
|
}), Bs = /* @__PURE__ */ y({
|
|
3209
3236
|
__name: "VoNotificationsNavItem",
|
|
3210
3237
|
setup(p) {
|
|
3211
|
-
const t = Pe(), i =
|
|
3238
|
+
const t = Pe(), i = T(), o = Be(), r = I(!1);
|
|
3212
3239
|
return He(async () => {
|
|
3213
3240
|
o.index(), t.index();
|
|
3214
3241
|
}), (l, a) => {
|
|
3215
|
-
const
|
|
3216
|
-
return e(i).one.notifications.enabled ? (
|
|
3242
|
+
const u = Us, d = Ts, f = q;
|
|
3243
|
+
return e(i).one.notifications.enabled ? (c(), m(f, {
|
|
3217
3244
|
key: 0,
|
|
3218
3245
|
active: e(r),
|
|
3219
3246
|
link: "",
|
|
3220
3247
|
"prepend-icon": `svg:${e(Io)}`,
|
|
3221
3248
|
title: "Notifications"
|
|
3222
|
-
},
|
|
3249
|
+
}, O({
|
|
3223
3250
|
default: s(() => [
|
|
3224
3251
|
n(d, {
|
|
3225
3252
|
modelValue: e(r),
|
|
@@ -3231,9 +3258,9 @@ const $n = /* @__PURE__ */ y({
|
|
|
3231
3258
|
e(o).unread.length > 0 ? {
|
|
3232
3259
|
name: "prepend",
|
|
3233
3260
|
fn: s(() => [
|
|
3234
|
-
n(
|
|
3261
|
+
n(u, null, {
|
|
3235
3262
|
default: s(() => [
|
|
3236
|
-
n(
|
|
3263
|
+
n(M)
|
|
3237
3264
|
]),
|
|
3238
3265
|
_: 1
|
|
3239
3266
|
})
|
|
@@ -3254,7 +3281,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
3254
3281
|
}
|
|
3255
3282
|
return (o, r) => {
|
|
3256
3283
|
const l = q;
|
|
3257
|
-
return
|
|
3284
|
+
return c(), m(l, {
|
|
3258
3285
|
"prepend-icon": `svg:${e(Do)}`,
|
|
3259
3286
|
title: "Dashboard",
|
|
3260
3287
|
to: "/user/dashboard",
|
|
@@ -3265,33 +3292,33 @@ const $n = /* @__PURE__ */ y({
|
|
|
3265
3292
|
}), Os = /* @__PURE__ */ y({
|
|
3266
3293
|
__name: "VoUserList",
|
|
3267
3294
|
setup(p) {
|
|
3268
|
-
const t =
|
|
3295
|
+
const t = j(), i = B(), o = Me();
|
|
3269
3296
|
return (r, l) => {
|
|
3270
|
-
const a = zs,
|
|
3271
|
-
return
|
|
3297
|
+
const a = zs, u = Bs, d = _s, f = ps, g = ls, _ = Xn, k = Tn, $ = Cn, S = vn;
|
|
3298
|
+
return c(), m(ne, {
|
|
3272
3299
|
density: "compact",
|
|
3273
3300
|
nav: "",
|
|
3274
3301
|
slim: ""
|
|
3275
3302
|
}, {
|
|
3276
3303
|
default: s(() => [
|
|
3277
|
-
e(t).user ? (
|
|
3278
|
-
n(
|
|
3279
|
-
e(o).hasTeamAccess ? (
|
|
3280
|
-
e(i).shopify ? (
|
|
3304
|
+
e(t).user ? (c(), m(a, { key: 0 })) : h("", !0),
|
|
3305
|
+
n(u),
|
|
3306
|
+
e(o).hasTeamAccess ? (c(), m(d, { key: 1 })) : h("", !0),
|
|
3307
|
+
e(i).shopify ? (c(), m(f, { key: 2 })) : h("", !0),
|
|
3281
3308
|
n(g),
|
|
3282
|
-
e(t).user ? (
|
|
3283
|
-
e(i).isSubscriber ? (
|
|
3309
|
+
e(t).user ? (c(), m(_, { key: 3 })) : h("", !0),
|
|
3310
|
+
e(i).isSubscriber ? (c(), m(k, { key: 4 })) : h("", !0),
|
|
3284
3311
|
n($),
|
|
3285
|
-
e(t).user ? (
|
|
3312
|
+
e(t).user ? (c(), m(S, { key: 5 })) : h("", !0)
|
|
3286
3313
|
]),
|
|
3287
3314
|
_: 1
|
|
3288
3315
|
});
|
|
3289
3316
|
};
|
|
3290
3317
|
}
|
|
3291
|
-
}),
|
|
3318
|
+
}), Fs = { key: 0 }, Ps = { class: "d-flex align-center justify-center py-2 px-6 ga-1 flex-wrap" }, Ns = /* @__PURE__ */ y({
|
|
3292
3319
|
__name: "VoUserQuickActions",
|
|
3293
3320
|
setup(p) {
|
|
3294
|
-
const t =
|
|
3321
|
+
const t = T(), i = [
|
|
3295
3322
|
{
|
|
3296
3323
|
name: "Vuetify Play",
|
|
3297
3324
|
href: "https://play.vuetifyjs.com",
|
|
@@ -3328,11 +3355,11 @@ const $n = /* @__PURE__ */ y({
|
|
|
3328
3355
|
icon: "$vuetify-store"
|
|
3329
3356
|
}
|
|
3330
3357
|
];
|
|
3331
|
-
return (o, r) => (
|
|
3358
|
+
return (o, r) => (c(), m(pe, null, {
|
|
3332
3359
|
default: s(() => [
|
|
3333
|
-
e(t).one.quicklinks ? (
|
|
3334
|
-
v("div",
|
|
3335
|
-
(
|
|
3360
|
+
e(t).one.quicklinks ? (c(), V("div", Fs, [
|
|
3361
|
+
v("div", Ps, [
|
|
3362
|
+
(c(), V(D, null, G(i, (l) => n(A, {
|
|
3336
3363
|
key: l.name,
|
|
3337
3364
|
class: "text-caption",
|
|
3338
3365
|
color: e(t).one.colors.primary,
|
|
@@ -3343,7 +3370,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
3343
3370
|
target: "_blank"
|
|
3344
3371
|
}, {
|
|
3345
3372
|
default: s(() => [
|
|
3346
|
-
n(
|
|
3373
|
+
n(M),
|
|
3347
3374
|
n(ie, {
|
|
3348
3375
|
activator: "parent",
|
|
3349
3376
|
location: "top",
|
|
@@ -3358,10 +3385,10 @@ const $n = /* @__PURE__ */ y({
|
|
|
3358
3385
|
_: 1
|
|
3359
3386
|
}));
|
|
3360
3387
|
}
|
|
3361
|
-
}), Zs = { class: "mb-2" },
|
|
3388
|
+
}), Zs = { class: "mb-2" }, js = { key: 0 }, Hs = { class: "d-flex ga-4 flex-wrap justify-center mb-4" }, Es = { class: "text-h6" }, Rs = /* @__PURE__ */ y({
|
|
3362
3389
|
__name: "VoUserAvatar",
|
|
3363
3390
|
setup(p) {
|
|
3364
|
-
const t =
|
|
3391
|
+
const t = j(), i = B(), o = T(), r = I(!1), l = b(() => {
|
|
3365
3392
|
const d = [
|
|
3366
3393
|
"https://cdn.vuetifyjs.com/docs/images/avatars/dark.png",
|
|
3367
3394
|
"https://cdn.vuetifyjs.com/docs/images/avatars/blackguard.png",
|
|
@@ -3383,12 +3410,12 @@ const $n = /* @__PURE__ */ y({
|
|
|
3383
3410
|
function a(d) {
|
|
3384
3411
|
o.one.avatar = d;
|
|
3385
3412
|
}
|
|
3386
|
-
function
|
|
3413
|
+
function u() {
|
|
3387
3414
|
i.isSubscriber && (r.value = !r.value);
|
|
3388
3415
|
}
|
|
3389
|
-
return (d, f) => (
|
|
3390
|
-
|
|
3391
|
-
class:
|
|
3416
|
+
return (d, f) => (c(), V("div", null, [
|
|
3417
|
+
ee((c(), m(Q, {
|
|
3418
|
+
class: Ft([
|
|
3392
3419
|
"border-md border-opacity-100 border-surface-light",
|
|
3393
3420
|
{
|
|
3394
3421
|
"cursor-pointer": e(i).isSubscriber
|
|
@@ -3397,14 +3424,14 @@ const $n = /* @__PURE__ */ y({
|
|
|
3397
3424
|
color: "surface",
|
|
3398
3425
|
size: "72",
|
|
3399
3426
|
text: "Foobar",
|
|
3400
|
-
onClick: xe(
|
|
3427
|
+
onClick: xe(u, ["prevent", "stop"])
|
|
3401
3428
|
}, {
|
|
3402
3429
|
default: s(() => [
|
|
3403
|
-
e(t).user && e(o).one.avatar ? (
|
|
3430
|
+
e(t).user && e(o).one.avatar ? (c(), m(oe, {
|
|
3404
3431
|
key: 0,
|
|
3405
3432
|
alt: "User avatar",
|
|
3406
3433
|
src: e(o).one.avatar
|
|
3407
|
-
}, null, 8, ["src"])) : (
|
|
3434
|
+
}, null, 8, ["src"])) : (c(), m(M, {
|
|
3408
3435
|
key: 1,
|
|
3409
3436
|
class: "mt-1",
|
|
3410
3437
|
icon: "$vuetify",
|
|
@@ -3418,20 +3445,20 @@ const $n = /* @__PURE__ */ y({
|
|
|
3418
3445
|
v("div", Zs, [
|
|
3419
3446
|
n(pe, null, {
|
|
3420
3447
|
default: s(() => [
|
|
3421
|
-
e(r) ? (
|
|
3422
|
-
n(
|
|
3448
|
+
e(r) ? (c(), V("div", js, [
|
|
3449
|
+
n(U, {
|
|
3423
3450
|
class: "pt-6 pb-1",
|
|
3424
3451
|
flat: "",
|
|
3425
3452
|
rounded: "0"
|
|
3426
3453
|
}, {
|
|
3427
3454
|
default: s(() => [
|
|
3428
|
-
v("div",
|
|
3429
|
-
(
|
|
3455
|
+
v("div", Hs, [
|
|
3456
|
+
(c(!0), V(D, null, G(e(l), (g, _) => (c(), m(A, {
|
|
3430
3457
|
key: _,
|
|
3431
3458
|
active: e(o).one.avatar === g,
|
|
3432
3459
|
icon: "",
|
|
3433
3460
|
variant: "flat",
|
|
3434
|
-
onClick: (
|
|
3461
|
+
onClick: (k) => a(g)
|
|
3435
3462
|
}, {
|
|
3436
3463
|
default: s(() => [
|
|
3437
3464
|
n(Q, {
|
|
@@ -3456,8 +3483,8 @@ const $n = /* @__PURE__ */ y({
|
|
|
3456
3483
|
}), qs = /* @__PURE__ */ y({
|
|
3457
3484
|
__name: "VoUserBadges",
|
|
3458
3485
|
setup(p) {
|
|
3459
|
-
const t =
|
|
3460
|
-
return (r, l) => e(o) ? (
|
|
3486
|
+
const t = j(), i = B(), o = b(() => i.github || i.discord || i.isSubscriber || t.user?.isAdmin);
|
|
3487
|
+
return (r, l) => e(o) ? (c(), m(Te, {
|
|
3461
3488
|
key: 0,
|
|
3462
3489
|
class: "align-center position-absolute ms-2 d-flex ga-2 pa-2",
|
|
3463
3490
|
color: "rgba(0,0,0,.54)",
|
|
@@ -3465,52 +3492,52 @@ const $n = /* @__PURE__ */ y({
|
|
|
3465
3492
|
style: { left: "0" }
|
|
3466
3493
|
}, {
|
|
3467
3494
|
default: s(() => [
|
|
3468
|
-
e(t).user?.isAdmin ? (
|
|
3495
|
+
e(t).user?.isAdmin ? (c(), m(ie, {
|
|
3469
3496
|
key: 0,
|
|
3470
3497
|
location: "bottom",
|
|
3471
3498
|
text: "Vuetify Administrator"
|
|
3472
3499
|
}, {
|
|
3473
3500
|
activator: s(({ props: a }) => [
|
|
3474
|
-
n(
|
|
3501
|
+
n(M, P({
|
|
3475
3502
|
color: "blue",
|
|
3476
3503
|
icon: "$vuetify"
|
|
3477
3504
|
}, a, { size: "16" }), null, 16)
|
|
3478
3505
|
]),
|
|
3479
3506
|
_: 1
|
|
3480
3507
|
})) : h("", !0),
|
|
3481
|
-
e(i).isSubscriber ? (
|
|
3508
|
+
e(i).isSubscriber ? (c(), m(ie, {
|
|
3482
3509
|
key: 1,
|
|
3483
3510
|
location: "bottom",
|
|
3484
3511
|
text: "Vuetify One Subscriber"
|
|
3485
3512
|
}, {
|
|
3486
3513
|
activator: s(({ props: a }) => [
|
|
3487
|
-
n(
|
|
3514
|
+
n(M, P({
|
|
3488
3515
|
color: "amber-darken-2",
|
|
3489
3516
|
icon: `svg:${e(Ao)}`
|
|
3490
3517
|
}, a, { size: "16" }), null, 16, ["icon"])
|
|
3491
3518
|
]),
|
|
3492
3519
|
_: 1
|
|
3493
3520
|
})) : h("", !0),
|
|
3494
|
-
e(i).github ? (
|
|
3521
|
+
e(i).github ? (c(), m(ie, {
|
|
3495
3522
|
key: 2,
|
|
3496
3523
|
location: "bottom",
|
|
3497
3524
|
text: "GitHub Sponsor"
|
|
3498
3525
|
}, {
|
|
3499
3526
|
activator: s(({ props: a }) => [
|
|
3500
|
-
n(
|
|
3527
|
+
n(M, P({
|
|
3501
3528
|
color: "white",
|
|
3502
3529
|
icon: "$github"
|
|
3503
3530
|
}, a, { size: "16" }), null, 16)
|
|
3504
3531
|
]),
|
|
3505
3532
|
_: 1
|
|
3506
3533
|
})) : h("", !0),
|
|
3507
|
-
e(i).discord ? (
|
|
3534
|
+
e(i).discord ? (c(), m(ie, {
|
|
3508
3535
|
key: 3,
|
|
3509
3536
|
location: "bottom",
|
|
3510
3537
|
text: "Discord Subscriber"
|
|
3511
3538
|
}, {
|
|
3512
3539
|
activator: s(({ props: a }) => [
|
|
3513
|
-
n(
|
|
3540
|
+
n(M, P({
|
|
3514
3541
|
color: "white",
|
|
3515
3542
|
icon: "$discord"
|
|
3516
3543
|
}, a, { size: "16" }), null, 16)
|
|
@@ -3527,14 +3554,14 @@ const $n = /* @__PURE__ */ y({
|
|
|
3527
3554
|
}, Ks = /* @__PURE__ */ y({
|
|
3528
3555
|
__name: "VoUserColors",
|
|
3529
3556
|
setup(p) {
|
|
3530
|
-
const t =
|
|
3557
|
+
const t = j(), i = B(), o = T(), r = I(!1);
|
|
3531
3558
|
function l() {
|
|
3532
3559
|
o.one.colors.primary = "surface-light";
|
|
3533
3560
|
}
|
|
3534
|
-
return (a,
|
|
3535
|
-
const d = qs, f =
|
|
3536
|
-
return
|
|
3537
|
-
n(
|
|
3561
|
+
return (a, u) => {
|
|
3562
|
+
const d = qs, f = Ve;
|
|
3563
|
+
return c(), V(D, null, [
|
|
3564
|
+
n(oe, {
|
|
3538
3565
|
color: e(t).user ? e(o).one.colors.primary : "surface-light",
|
|
3539
3566
|
"content-class": "d-flex align-start justify-end pa-2",
|
|
3540
3567
|
cover: "",
|
|
@@ -3545,9 +3572,9 @@ const $n = /* @__PURE__ */ y({
|
|
|
3545
3572
|
default: s(() => [
|
|
3546
3573
|
v("div", Ws, [
|
|
3547
3574
|
n(d),
|
|
3548
|
-
n(
|
|
3575
|
+
n(jo, null, {
|
|
3549
3576
|
default: s(() => [
|
|
3550
|
-
|
|
3577
|
+
ee(v("div", Gs, [
|
|
3551
3578
|
n(f, {
|
|
3552
3579
|
class: "ms-2 me-1",
|
|
3553
3580
|
color: "inherit",
|
|
@@ -3564,7 +3591,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
3564
3591
|
]),
|
|
3565
3592
|
_: 1
|
|
3566
3593
|
}),
|
|
3567
|
-
e(i).isSubscriber ? (
|
|
3594
|
+
e(i).isSubscriber ? (c(), m(f, {
|
|
3568
3595
|
key: 0,
|
|
3569
3596
|
active: e(r),
|
|
3570
3597
|
class: "align-self-end",
|
|
@@ -3573,12 +3600,12 @@ const $n = /* @__PURE__ */ y({
|
|
|
3573
3600
|
icon: e(r) ? `svg:${e(he)}` : "$edit",
|
|
3574
3601
|
title: "Edit One Header Color",
|
|
3575
3602
|
variant: e(r) ? "text" : "plain",
|
|
3576
|
-
onClick:
|
|
3603
|
+
onClick: u[0] || (u[0] = (g) => r.value = !e(r))
|
|
3577
3604
|
}, {
|
|
3578
3605
|
default: s(() => [
|
|
3579
3606
|
n(be, { "leave-absolute": "" }, {
|
|
3580
3607
|
default: s(() => [
|
|
3581
|
-
(
|
|
3608
|
+
(c(), m(M, {
|
|
3582
3609
|
key: String(e(r))
|
|
3583
3610
|
}))
|
|
3584
3611
|
]),
|
|
@@ -3593,7 +3620,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
3593
3620
|
}, 8, ["color"]),
|
|
3594
3621
|
n(pe, null, {
|
|
3595
3622
|
default: s(() => [
|
|
3596
|
-
e(r) ? (
|
|
3623
|
+
e(r) ? (c(), m(tn, {
|
|
3597
3624
|
key: 0,
|
|
3598
3625
|
elevation: "0",
|
|
3599
3626
|
height: "250",
|
|
@@ -3605,7 +3632,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
3605
3632
|
"show-swatches": "",
|
|
3606
3633
|
"swatches-max-height": "200",
|
|
3607
3634
|
width: "278",
|
|
3608
|
-
"onUpdate:modelValue":
|
|
3635
|
+
"onUpdate:modelValue": u[1] || (u[1] = (g) => e(o).one.colors.primary = g)
|
|
3609
3636
|
}, null, 8, ["model-value"])) : h("", !0)
|
|
3610
3637
|
]),
|
|
3611
3638
|
_: 1
|
|
@@ -3617,11 +3644,11 @@ const $n = /* @__PURE__ */ y({
|
|
|
3617
3644
|
__name: "VoUserMenu",
|
|
3618
3645
|
setup(p) {
|
|
3619
3646
|
const t = Pe(), i = B(), o = N();
|
|
3620
|
-
return
|
|
3647
|
+
return H(() => t.banner, async () => {
|
|
3621
3648
|
await new Promise((r) => setTimeout(r, 300)), i.isOpen && o.value?.updateLocation?.();
|
|
3622
3649
|
}, { flush: "pre" }), (r, l) => {
|
|
3623
|
-
const a = Ks,
|
|
3624
|
-
return
|
|
3650
|
+
const a = Ks, u = Rs, d = Ns, f = Os, g = St;
|
|
3651
|
+
return c(), m(Qe, {
|
|
3625
3652
|
ref_key: "menu",
|
|
3626
3653
|
ref: o,
|
|
3627
3654
|
modelValue: e(i).isOpen,
|
|
@@ -3633,7 +3660,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
3633
3660
|
location: "bottom end"
|
|
3634
3661
|
}, {
|
|
3635
3662
|
default: s(() => [
|
|
3636
|
-
n(
|
|
3663
|
+
n(U, {
|
|
3637
3664
|
border: "",
|
|
3638
3665
|
rounded: "lg",
|
|
3639
3666
|
width: "280"
|
|
@@ -3641,7 +3668,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
3641
3668
|
default: s(() => [
|
|
3642
3669
|
n(a),
|
|
3643
3670
|
v("div", Qs, [
|
|
3644
|
-
n(
|
|
3671
|
+
n(u),
|
|
3645
3672
|
n(d)
|
|
3646
3673
|
]),
|
|
3647
3674
|
n(Z),
|
|
@@ -3663,14 +3690,14 @@ const $n = /* @__PURE__ */ y({
|
|
|
3663
3690
|
function o(r) {
|
|
3664
3691
|
t.clearTeamQuery(), r.value = !1;
|
|
3665
3692
|
}
|
|
3666
|
-
return (r, l) => e(t).teamInviteDialog ? (
|
|
3693
|
+
return (r, l) => e(t).teamInviteDialog ? (c(), m(De, {
|
|
3667
3694
|
key: 0,
|
|
3668
3695
|
modelValue: e(t).teamInviteDialog,
|
|
3669
3696
|
"onUpdate:modelValue": l[1] || (l[1] = (a) => e(t).teamInviteDialog = a),
|
|
3670
3697
|
"max-width": "500"
|
|
3671
3698
|
}, {
|
|
3672
3699
|
default: s(({ isActive: a }) => [
|
|
3673
|
-
n(
|
|
3700
|
+
n(U, {
|
|
3674
3701
|
"prepend-icon": `svg:${e(Uo)}`,
|
|
3675
3702
|
rounded: "lg",
|
|
3676
3703
|
title: "Join a Team"
|
|
@@ -3681,14 +3708,14 @@ const $n = /* @__PURE__ */ y({
|
|
|
3681
3708
|
icon: "$close",
|
|
3682
3709
|
size: "x-small",
|
|
3683
3710
|
variant: "text",
|
|
3684
|
-
onClick: (
|
|
3711
|
+
onClick: (u) => o(a)
|
|
3685
3712
|
}, null, 8, ["onClick"])
|
|
3686
3713
|
])
|
|
3687
3714
|
]),
|
|
3688
3715
|
text: s(() => [
|
|
3689
|
-
l[2] || (l[2] =
|
|
3716
|
+
l[2] || (l[2] = w(" You have been invited to join ", -1)),
|
|
3690
3717
|
v("strong", null, C(e(i)), 1),
|
|
3691
|
-
l[3] || (l[3] =
|
|
3718
|
+
l[3] || (l[3] = w("! ", -1))
|
|
3692
3719
|
]),
|
|
3693
3720
|
default: s(() => [
|
|
3694
3721
|
n(Z, { opacity: ".2" }),
|
|
@@ -3699,7 +3726,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
3699
3726
|
rounded: "lg",
|
|
3700
3727
|
text: "Cancel",
|
|
3701
3728
|
variant: "plain",
|
|
3702
|
-
onClick: (
|
|
3729
|
+
onClick: (u) => o(a)
|
|
3703
3730
|
}, null, 8, ["disabled", "onClick"]),
|
|
3704
3731
|
n(_t),
|
|
3705
3732
|
n(A, {
|
|
@@ -3709,7 +3736,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
3709
3736
|
rounded: "lg",
|
|
3710
3737
|
text: "Accept",
|
|
3711
3738
|
variant: "flat",
|
|
3712
|
-
onClick: l[0] || (l[0] = (
|
|
3739
|
+
onClick: l[0] || (l[0] = (u) => e(t).joinTeam())
|
|
3713
3740
|
}, null, 8, ["disabled"])
|
|
3714
3741
|
]),
|
|
3715
3742
|
_: 2
|
|
@@ -3727,45 +3754,57 @@ const $n = /* @__PURE__ */ y({
|
|
|
3727
3754
|
external: Boolean
|
|
3728
3755
|
},
|
|
3729
3756
|
setup(p) {
|
|
3730
|
-
const t =
|
|
3731
|
-
return (
|
|
3732
|
-
const f = Ys, g =
|
|
3733
|
-
return
|
|
3734
|
-
n(
|
|
3757
|
+
const t = j(), i = B(), o = T(), { lgAndUp: r } = se(), l = b(() => i.isOpen || !t.user ? o.one.colors.primary === "surface-light" ? "primary" : o.one.colors.primary : "surface-light"), { smAndUp: a } = se();
|
|
3758
|
+
return (u, d) => {
|
|
3759
|
+
const f = Ys, g = Ve, _ = mn, k = wt, $ = an;
|
|
3760
|
+
return c(), V(D, null, [
|
|
3761
|
+
n(Ae, {
|
|
3762
|
+
color: "success",
|
|
3763
|
+
dot: "",
|
|
3764
|
+
location: "end top",
|
|
3765
|
+
"model-value": e(i).isSubscriber && !e(o).ecosystem.mcp.seen,
|
|
3766
|
+
"offset-x": e(t).user ? -2 : 0,
|
|
3735
3767
|
"offset-y": e(t).user ? 5 : 0
|
|
3736
3768
|
}, {
|
|
3737
3769
|
default: s(() => [
|
|
3738
|
-
n(
|
|
3739
|
-
|
|
3770
|
+
n(_, {
|
|
3771
|
+
"offset-y": e(t).user ? 5 : 0
|
|
3740
3772
|
}, {
|
|
3741
|
-
active: "",
|
|
3742
|
-
border: !!e(t).user,
|
|
3743
|
-
class: "vo-auth-btn",
|
|
3744
|
-
color: e(l),
|
|
3745
|
-
icon: e(t).user || e(t).isLoading || !e(a),
|
|
3746
|
-
loading: e(t).isLoading,
|
|
3747
|
-
size: e(a) ? "default" : "small",
|
|
3748
|
-
style: { transition: ".2s ease" },
|
|
3749
|
-
variant: e(t).user ? e(i).isOpen ? "outlined" : "text" : "flat"
|
|
3750
|
-
}), {
|
|
3751
3773
|
default: s(() => [
|
|
3752
|
-
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3774
|
+
n(g, P({
|
|
3775
|
+
[`${e(r) ? "append-" : ""}icon`]: e(t).user ? void 0 : `svg:${e(nt)}`
|
|
3776
|
+
}, {
|
|
3777
|
+
active: "",
|
|
3778
|
+
border: !!e(t).user,
|
|
3779
|
+
class: "vo-auth-btn",
|
|
3780
|
+
color: e(l),
|
|
3781
|
+
icon: e(t).user || e(t).isLoading || !e(a),
|
|
3782
|
+
loading: e(t).isLoading,
|
|
3783
|
+
size: e(a) ? "default" : "small",
|
|
3784
|
+
style: { transition: ".2s ease" },
|
|
3785
|
+
variant: e(t).user ? e(i).isOpen ? "outlined" : "text" : "flat"
|
|
3786
|
+
}), {
|
|
3787
|
+
default: s(() => [
|
|
3788
|
+
e(t).user ? (c(), m(Q, {
|
|
3789
|
+
key: 0,
|
|
3790
|
+
image: e(o).one.avatar || e(t).user.picture || ""
|
|
3791
|
+
}, null, 8, ["image"])) : (c(), V(D, { key: 1 }, [
|
|
3792
|
+
e(a) ? (c(), V("span", ea, "Login")) : (c(), m(M, {
|
|
3793
|
+
key: 1,
|
|
3794
|
+
icon: `svg:${e(nt)}`
|
|
3795
|
+
}, null, 8, ["icon"]))
|
|
3796
|
+
], 64)),
|
|
3797
|
+
n(f)
|
|
3798
|
+
]),
|
|
3799
|
+
_: 1
|
|
3800
|
+
}, 16, ["border", "color", "icon", "loading", "size", "variant"])
|
|
3762
3801
|
]),
|
|
3763
3802
|
_: 1
|
|
3764
|
-
},
|
|
3803
|
+
}, 8, ["offset-y"])
|
|
3765
3804
|
]),
|
|
3766
3805
|
_: 1
|
|
3767
|
-
}, 8, ["offset-y"]),
|
|
3768
|
-
n(
|
|
3806
|
+
}, 8, ["model-value", "offset-x", "offset-y"]),
|
|
3807
|
+
n(k),
|
|
3769
3808
|
n(Js),
|
|
3770
3809
|
n($)
|
|
3771
3810
|
], 64);
|
|
@@ -3786,7 +3825,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
3786
3825
|
emits: ["update:modelValue"],
|
|
3787
3826
|
setup(p) {
|
|
3788
3827
|
const t = E(p, "modelValue"), i = rt();
|
|
3789
|
-
return (o, r) => (
|
|
3828
|
+
return (o, r) => (c(), m(Qe, {
|
|
3790
3829
|
modelValue: t.value,
|
|
3791
3830
|
"onUpdate:modelValue": r[0] || (r[0] = (l) => t.value = l),
|
|
3792
3831
|
"close-on-content-click": !1,
|
|
@@ -3795,20 +3834,20 @@ const $n = /* @__PURE__ */ y({
|
|
|
3795
3834
|
}, {
|
|
3796
3835
|
activator: s(({ props: l }) => [
|
|
3797
3836
|
L(o.$slots, "activator", lt(ut(l)), () => [
|
|
3798
|
-
n(A,
|
|
3837
|
+
n(A, P(l, {
|
|
3799
3838
|
icon: `svg:${e(Bo)}`,
|
|
3800
3839
|
size: "small"
|
|
3801
3840
|
}), null, 16, ["icon"])
|
|
3802
3841
|
])
|
|
3803
3842
|
]),
|
|
3804
3843
|
default: s(() => [
|
|
3805
|
-
n(
|
|
3844
|
+
n(U, { class: "pa-4" }, {
|
|
3806
3845
|
default: s(() => [
|
|
3807
|
-
i.prepend ? (
|
|
3846
|
+
i.prepend ? (c(), V("div", ta, [
|
|
3808
3847
|
L(o.$slots, "prepend")
|
|
3809
3848
|
])) : h("", !0),
|
|
3810
|
-
i.title ? (
|
|
3811
|
-
i.prepend ? (
|
|
3849
|
+
i.title ? (c(), V(D, { key: 1 }, [
|
|
3850
|
+
i.prepend ? (c(), m(Z, {
|
|
3812
3851
|
key: 0,
|
|
3813
3852
|
class: "mb-3"
|
|
3814
3853
|
})) : h("", !0),
|
|
@@ -3817,10 +3856,10 @@ const $n = /* @__PURE__ */ y({
|
|
|
3817
3856
|
])
|
|
3818
3857
|
], 64)) : h("", !0),
|
|
3819
3858
|
i.default ? L(o.$slots, "default", { key: 2 }) : h("", !0),
|
|
3820
|
-
i.extension ? (
|
|
3859
|
+
i.extension ? (c(), V("div", na, [
|
|
3821
3860
|
L(o.$slots, "extension")
|
|
3822
3861
|
])) : h("", !0),
|
|
3823
|
-
i.append ? (
|
|
3862
|
+
i.append ? (c(), V(D, { key: 4 }, [
|
|
3824
3863
|
n(Z, { class: "my-3" }),
|
|
3825
3864
|
v("div", sa, [
|
|
3826
3865
|
L(o.$slots, "append")
|
|
@@ -3844,21 +3883,21 @@ const $n = /* @__PURE__ */ y({
|
|
|
3844
3883
|
}),
|
|
3845
3884
|
emits: ["update:mobileMenu"],
|
|
3846
3885
|
setup(p) {
|
|
3847
|
-
const t = p, i = E(p, "mobileMenu"), o = rt(), r =
|
|
3886
|
+
const t = p, i = E(p, "mobileMenu"), o = rt(), r = Ue(), l = ze(), { mobile: a } = se(), u = b(() => t.responsive == !0 && a.value), d = b(() => `https://cdn.vuetifyjs.com/docs/images/one/logos/${t.logo}-logo-${r.current.value.dark ? "dark" : "light"}.png`);
|
|
3848
3887
|
return (f, g) => {
|
|
3849
|
-
const _ = it("router-link"),
|
|
3850
|
-
return
|
|
3888
|
+
const _ = it("router-link"), k = aa, $ = Dt;
|
|
3889
|
+
return c(), m(Vt, {
|
|
3851
3890
|
class: "border-b",
|
|
3852
3891
|
image: e(l).suit["app-bar"],
|
|
3853
3892
|
name: "vo-app-bar"
|
|
3854
|
-
},
|
|
3893
|
+
}, O({
|
|
3855
3894
|
prepend: s(() => [
|
|
3856
3895
|
n(_, {
|
|
3857
3896
|
class: "ps-2",
|
|
3858
3897
|
to: "/"
|
|
3859
3898
|
}, {
|
|
3860
3899
|
default: s(() => [
|
|
3861
|
-
n(
|
|
3900
|
+
n(oe, {
|
|
3862
3901
|
src: e(d),
|
|
3863
3902
|
width: "128"
|
|
3864
3903
|
}, null, 8, ["src"])
|
|
@@ -3866,28 +3905,28 @@ const $n = /* @__PURE__ */ y({
|
|
|
3866
3905
|
_: 1
|
|
3867
3906
|
}),
|
|
3868
3907
|
L(f.$slots, "prepend-fixed"),
|
|
3869
|
-
e(
|
|
3908
|
+
e(u) ? h("", !0) : L(f.$slots, "prepend", { key: 0 })
|
|
3870
3909
|
]),
|
|
3871
3910
|
append: s(() => [
|
|
3872
3911
|
L(f.$slots, "append-fixed"),
|
|
3873
|
-
e(
|
|
3912
|
+
e(u) ? (c(), m(k, {
|
|
3874
3913
|
key: 0,
|
|
3875
3914
|
modelValue: i.value,
|
|
3876
|
-
"onUpdate:modelValue": g[0] || (g[0] = (
|
|
3877
|
-
},
|
|
3878
|
-
activator: s((
|
|
3879
|
-
L(f.$slots, "menu-activator", lt(ut(
|
|
3915
|
+
"onUpdate:modelValue": g[0] || (g[0] = (S) => i.value = S)
|
|
3916
|
+
}, O({
|
|
3917
|
+
activator: s((S) => [
|
|
3918
|
+
L(f.$slots, "menu-activator", lt(ut(S)))
|
|
3880
3919
|
]),
|
|
3881
3920
|
_: 2
|
|
3882
3921
|
}, [
|
|
3883
|
-
G(o, (
|
|
3884
|
-
name:
|
|
3922
|
+
G(o, (S, F) => ({
|
|
3923
|
+
name: F,
|
|
3885
3924
|
fn: s(() => [
|
|
3886
|
-
L(f.$slots,
|
|
3925
|
+
L(f.$slots, F)
|
|
3887
3926
|
])
|
|
3888
3927
|
}))
|
|
3889
3928
|
]), 1032, ["modelValue"])) : L(f.$slots, "append", { key: 1 }),
|
|
3890
|
-
"append" in o || "append-fixed" in o ? (
|
|
3929
|
+
"append" in o || "append-fixed" in o ? (c(), m(Z, {
|
|
3891
3930
|
key: 2,
|
|
3892
3931
|
class: "align-self-center h-100 mx-2 mx-sm-4",
|
|
3893
3932
|
length: "20",
|
|
@@ -3896,18 +3935,18 @@ const $n = /* @__PURE__ */ y({
|
|
|
3896
3935
|
n($)
|
|
3897
3936
|
]),
|
|
3898
3937
|
default: s(() => [
|
|
3899
|
-
e(
|
|
3938
|
+
e(u) ? h("", !0) : L(f.$slots, "default", { key: 0 })
|
|
3900
3939
|
]),
|
|
3901
3940
|
_: 2
|
|
3902
3941
|
}, [
|
|
3903
|
-
!e(
|
|
3942
|
+
!e(u) && o.title ? {
|
|
3904
3943
|
name: "title",
|
|
3905
3944
|
fn: s(() => [
|
|
3906
3945
|
L(f.$slots, "title")
|
|
3907
3946
|
]),
|
|
3908
3947
|
key: "0"
|
|
3909
3948
|
} : void 0,
|
|
3910
|
-
!e(
|
|
3949
|
+
!e(u) && o.extension ? {
|
|
3911
3950
|
name: "extension",
|
|
3912
3951
|
fn: s(() => [
|
|
3913
3952
|
L(f.$slots, "extension")
|
|
@@ -3936,14 +3975,14 @@ const $n = /* @__PURE__ */ y({
|
|
|
3936
3975
|
emits: ["script:error", "script:load"],
|
|
3937
3976
|
setup(p, { emit: t }) {
|
|
3938
3977
|
const i = p, o = t, r = N(), l = N();
|
|
3939
|
-
return
|
|
3940
|
-
const a = document.createElement("script"),
|
|
3941
|
-
a.type = "text/javascript", a.id = i.scriptId, a.src = i.src, a.addEventListener("load", () => o("script:load")), a.onerror =
|
|
3978
|
+
return Ee(async () => {
|
|
3979
|
+
const a = document.createElement("script"), u = () => o("script:error");
|
|
3980
|
+
a.type = "text/javascript", a.id = i.scriptId, a.src = i.src, a.addEventListener("load", () => o("script:load")), a.onerror = u, l.value = a;
|
|
3942
3981
|
}), He(() => {
|
|
3943
3982
|
l.value && r.value && r.value.append(l.value);
|
|
3944
|
-
}),
|
|
3983
|
+
}), Pt(() => {
|
|
3945
3984
|
l.value && r.value && l.value.remove();
|
|
3946
|
-
}), (a,
|
|
3985
|
+
}), (a, u) => (c(), V("div", {
|
|
3947
3986
|
id: p.id,
|
|
3948
3987
|
ref_key: "rootEl",
|
|
3949
3988
|
ref: r
|
|
@@ -3958,13 +3997,13 @@ const $n = /* @__PURE__ */ y({
|
|
|
3958
3997
|
image: {}
|
|
3959
3998
|
},
|
|
3960
3999
|
setup(p) {
|
|
3961
|
-
return (t, i) => (
|
|
4000
|
+
return (t, i) => (c(), m(on, {
|
|
3962
4001
|
class: "vo-footer",
|
|
3963
4002
|
height: "40"
|
|
3964
4003
|
}, {
|
|
3965
4004
|
default: s(() => [
|
|
3966
|
-
t.image || t.$slots.image ? (
|
|
3967
|
-
t.$slots.image ? L(t.$slots, "image", { key: 0 }, void 0, !0) : (
|
|
4005
|
+
t.image || t.$slots.image ? (c(), V("div", ua, [
|
|
4006
|
+
t.$slots.image ? L(t.$slots, "image", { key: 0 }, void 0, !0) : (c(), m(oe, {
|
|
3968
4007
|
key: 1,
|
|
3969
4008
|
cover: "",
|
|
3970
4009
|
position: "left",
|
|
@@ -3987,7 +4026,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
3987
4026
|
}, ma = /* @__PURE__ */ y({
|
|
3988
4027
|
__name: "VoSocialFooter",
|
|
3989
4028
|
setup(p) {
|
|
3990
|
-
const t =
|
|
4029
|
+
const t = ze(), i = [
|
|
3991
4030
|
{
|
|
3992
4031
|
title: "Vuetify Documentation",
|
|
3993
4032
|
icon: "$vuetify",
|
|
@@ -4021,13 +4060,13 @@ const $n = /* @__PURE__ */ y({
|
|
|
4021
4060
|
];
|
|
4022
4061
|
return (o, r) => {
|
|
4023
4062
|
const l = At;
|
|
4024
|
-
return
|
|
4063
|
+
return c(), m(l, {
|
|
4025
4064
|
class: "vo-footer",
|
|
4026
4065
|
height: "40",
|
|
4027
4066
|
image: e(t).suit.footer
|
|
4028
|
-
},
|
|
4067
|
+
}, O({
|
|
4029
4068
|
default: s(() => [
|
|
4030
|
-
(
|
|
4069
|
+
(c(), V(D, null, G(i, (a) => v("a", {
|
|
4031
4070
|
key: a.title,
|
|
4032
4071
|
class: "d-inline-block mx-2 social-link",
|
|
4033
4072
|
href: a.href,
|
|
@@ -4035,13 +4074,13 @@ const $n = /* @__PURE__ */ y({
|
|
|
4035
4074
|
target: "_blank",
|
|
4036
4075
|
title: a.title
|
|
4037
4076
|
}, [
|
|
4038
|
-
n(
|
|
4077
|
+
n(M, {
|
|
4039
4078
|
icon: a.icon,
|
|
4040
4079
|
size: a.icon === "$vuetify" ? 24 : 16
|
|
4041
4080
|
}, null, 8, ["icon", "size"])
|
|
4042
4081
|
], 8, da)), 64)),
|
|
4043
4082
|
v("div", pa, [
|
|
4044
|
-
|
|
4083
|
+
w(" © 2016-" + C((/* @__PURE__ */ new Date()).getFullYear()) + " ", 1),
|
|
4045
4084
|
r[0] || (r[0] = v("span", { class: "d-none d-sm-inline-block" }, "Vuetify, LLC", -1))
|
|
4046
4085
|
])
|
|
4047
4086
|
]),
|
|
@@ -4066,18 +4105,18 @@ const $n = /* @__PURE__ */ y({
|
|
|
4066
4105
|
Nt(($) => ({
|
|
4067
4106
|
"581d2818": e(a)?.metadata.bg_blur
|
|
4068
4107
|
}));
|
|
4069
|
-
const t = p, { mdAndUp: i } = se(), o = nn(), r =
|
|
4108
|
+
const t = p, { mdAndUp: i } = se(), o = nn(), r = T(), l = Pe(), a = b(() => l.banner), u = b(() => a.value?.metadata.height || (a.value?.metadata.subtext ? 88 : 48)), d = b(() => t.demo ? !0 : !!a.value && !r.one.banners.read.includes(a.value.slug));
|
|
4070
4109
|
function f() {
|
|
4071
4110
|
t.demo || a.value && (r.one.banners.read.push(a.value.slug), r.one.banners.last = (/* @__PURE__ */ new Date()).toISOString());
|
|
4072
4111
|
}
|
|
4073
4112
|
async function g($) {
|
|
4074
4113
|
if (!a.value) return;
|
|
4075
4114
|
r.one.banners.last = (/* @__PURE__ */ new Date()).toISOString();
|
|
4076
|
-
const
|
|
4077
|
-
if (!
|
|
4115
|
+
const S = a.value?.metadata ?? { link: "" };
|
|
4116
|
+
if (!S.link.includes("?one=")) return;
|
|
4078
4117
|
$.preventDefault(), $.stopPropagation();
|
|
4079
|
-
const
|
|
4080
|
-
o.push({ query: { one:
|
|
4118
|
+
const F = S.link.split("?one=")[1];
|
|
4119
|
+
o.push({ query: { one: F } });
|
|
4081
4120
|
}
|
|
4082
4121
|
const _ = b(() => {
|
|
4083
4122
|
const $ = a.value?.metadata ?? { link: "" };
|
|
@@ -4087,37 +4126,37 @@ const $n = /* @__PURE__ */ y({
|
|
|
4087
4126
|
to: $.link.startsWith("http") ? void 0 : $.link,
|
|
4088
4127
|
...a.value?.metadata.attributes
|
|
4089
4128
|
};
|
|
4090
|
-
}),
|
|
4129
|
+
}), k = b(() => {
|
|
4091
4130
|
const $ = a.value?.metadata.images.bg?.url;
|
|
4092
4131
|
if (!$?.startsWith("https://cdn.cosmicjs.com/")) return $;
|
|
4093
|
-
const
|
|
4094
|
-
return
|
|
4132
|
+
const S = new URL($);
|
|
4133
|
+
return S.host = "imgix.cosmicjs.com", S.search = new URLSearchParams({
|
|
4095
4134
|
auto: "format,compress",
|
|
4096
4135
|
q: "10",
|
|
4097
4136
|
fit: "crop",
|
|
4098
4137
|
w: "4096",
|
|
4099
4138
|
h: "256"
|
|
4100
|
-
}).toString(),
|
|
4139
|
+
}).toString(), S.toString();
|
|
4101
4140
|
});
|
|
4102
|
-
return ($,
|
|
4141
|
+
return ($, S) => e(a) ? (c(), m(Vt, {
|
|
4103
4142
|
key: 0,
|
|
4104
4143
|
class: "vo-notifications-banner",
|
|
4105
4144
|
color: e(a).metadata.color,
|
|
4106
4145
|
flat: "",
|
|
4107
|
-
height: e(
|
|
4108
|
-
image: e(
|
|
4146
|
+
height: e(u),
|
|
4147
|
+
image: e(k),
|
|
4109
4148
|
location: $.demo ? "bottom" : void 0,
|
|
4110
4149
|
"model-value": e(d),
|
|
4111
4150
|
order: "-1"
|
|
4112
4151
|
}, {
|
|
4113
4152
|
default: s(() => [
|
|
4114
|
-
n(de,
|
|
4153
|
+
n(de, P({
|
|
4115
4154
|
active: !1,
|
|
4116
4155
|
class: "flex-grow-1 py-6",
|
|
4117
4156
|
lines: "two"
|
|
4118
4157
|
}, e(_), { onClick: g }), {
|
|
4119
4158
|
prepend: s(() => [
|
|
4120
|
-
e(a).metadata.images.logo ? (
|
|
4159
|
+
e(a).metadata.images.logo ? (c(), m(Q, {
|
|
4121
4160
|
key: 0,
|
|
4122
4161
|
icon: "$vuetify",
|
|
4123
4162
|
image: e(a).metadata.images.logo.url,
|
|
@@ -4127,13 +4166,13 @@ const $n = /* @__PURE__ */ y({
|
|
|
4127
4166
|
}, null, 8, ["image"])) : h("", !0)
|
|
4128
4167
|
]),
|
|
4129
4168
|
append: s(() => [
|
|
4130
|
-
e(i) && e(a).metadata.link && e(a).metadata.link_text ? (
|
|
4131
|
-
default: s(({ isHovering:
|
|
4132
|
-
n(A,
|
|
4169
|
+
e(i) && e(a).metadata.link && e(a).metadata.link_text ? (c(), m(ke, { key: 0 }, {
|
|
4170
|
+
default: s(({ isHovering: F, props: X }) => [
|
|
4171
|
+
n(A, P({
|
|
4133
4172
|
"append-icon": `svg:${e(Ie)}`,
|
|
4134
4173
|
class: "text-none me-2",
|
|
4135
4174
|
color: e(a).metadata.link_color,
|
|
4136
|
-
elevation:
|
|
4175
|
+
elevation: F ? 8 : 0,
|
|
4137
4176
|
title: e(a).metadata.link_text
|
|
4138
4177
|
}, {
|
|
4139
4178
|
...X,
|
|
@@ -4143,14 +4182,14 @@ const $n = /* @__PURE__ */ y({
|
|
|
4143
4182
|
onClick: xe(g, ["stop"])
|
|
4144
4183
|
}), {
|
|
4145
4184
|
default: s(() => [
|
|
4146
|
-
|
|
4185
|
+
w(C(e(a).metadata.link_text), 1)
|
|
4147
4186
|
]),
|
|
4148
4187
|
_: 1
|
|
4149
4188
|
}, 16, ["append-icon", "color", "elevation", "title"])
|
|
4150
4189
|
]),
|
|
4151
4190
|
_: 1
|
|
4152
4191
|
})) : h("", !0),
|
|
4153
|
-
e(a).metadata.closable ? (
|
|
4192
|
+
e(a).metadata.closable ? (c(), m(A, {
|
|
4154
4193
|
key: 1,
|
|
4155
4194
|
class: "ms-6 me-2",
|
|
4156
4195
|
density: "comfortable",
|
|
@@ -4161,18 +4200,18 @@ const $n = /* @__PURE__ */ y({
|
|
|
4161
4200
|
})) : h("", !0)
|
|
4162
4201
|
]),
|
|
4163
4202
|
default: s(() => [
|
|
4164
|
-
e(a).metadata.text ? (
|
|
4203
|
+
e(a).metadata.text ? (c(), m(vt, {
|
|
4165
4204
|
key: 0,
|
|
4166
4205
|
class: "text-subtitle-2 text-md-subtitle-1 font-weight-medium"
|
|
4167
4206
|
}, {
|
|
4168
4207
|
default: s(() => [
|
|
4169
|
-
|
|
4208
|
+
w(C(e(a).metadata.text), 1)
|
|
4170
4209
|
]),
|
|
4171
4210
|
_: 1
|
|
4172
4211
|
})) : h("", !0),
|
|
4173
|
-
e(a).metadata.subtext ? (
|
|
4212
|
+
e(a).metadata.subtext ? (c(), m(Fo, { key: 1 }, {
|
|
4174
4213
|
default: s(() => [
|
|
4175
|
-
|
|
4214
|
+
w(C(e(a).metadata.subtext), 1)
|
|
4176
4215
|
]),
|
|
4177
4216
|
_: 1
|
|
4178
4217
|
})) : h("", !0)
|
|
@@ -4194,14 +4233,14 @@ const $n = /* @__PURE__ */ y({
|
|
|
4194
4233
|
minHeight: {}
|
|
4195
4234
|
},
|
|
4196
4235
|
setup(p) {
|
|
4197
|
-
return (t, i) => (
|
|
4236
|
+
return (t, i) => (c(), m(U, {
|
|
4198
4237
|
class: "d-inline-flex flex-child-1 position-relative",
|
|
4199
4238
|
color: "surface-light",
|
|
4200
4239
|
flat: "",
|
|
4201
4240
|
rel: "noopener",
|
|
4202
4241
|
rounded: "",
|
|
4203
4242
|
target: "_blank"
|
|
4204
|
-
},
|
|
4243
|
+
}, O({
|
|
4205
4244
|
default: s(() => [
|
|
4206
4245
|
n(sn, {
|
|
4207
4246
|
"min-height": t.minHeight,
|
|
@@ -4212,7 +4251,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
4212
4251
|
]),
|
|
4213
4252
|
_: 3
|
|
4214
4253
|
}, 8, ["min-height"]),
|
|
4215
|
-
t.caption ? (
|
|
4254
|
+
t.caption ? (c(), V("div", _a, C(t.caption), 1)) : h("", !0)
|
|
4216
4255
|
]),
|
|
4217
4256
|
_: 2
|
|
4218
4257
|
}, [
|
|
@@ -4233,13 +4272,13 @@ const $n = /* @__PURE__ */ y({
|
|
|
4233
4272
|
]), 1024));
|
|
4234
4273
|
}
|
|
4235
4274
|
}), Je = K("promotions", () => {
|
|
4236
|
-
const p = Y(), t =
|
|
4237
|
-
|
|
4275
|
+
const p = Y(), t = te(), i = N([]), o = I(!1), r = I(!1), l = b(() => i.value.filter((d) => d.metadata.discoverable));
|
|
4276
|
+
Ee(u);
|
|
4238
4277
|
function a(d) {
|
|
4239
4278
|
const f = d.filter((g) => g.metadata.active);
|
|
4240
4279
|
return f[Math.floor(Math.random() * f.length)];
|
|
4241
4280
|
}
|
|
4242
|
-
async function
|
|
4281
|
+
async function u() {
|
|
4243
4282
|
try {
|
|
4244
4283
|
o.value = !0;
|
|
4245
4284
|
const d = await p.get("/one/promotions");
|
|
@@ -4256,7 +4295,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
4256
4295
|
isLoading: o,
|
|
4257
4296
|
hasLoaded: r,
|
|
4258
4297
|
discoverable: l,
|
|
4259
|
-
index:
|
|
4298
|
+
index: u,
|
|
4260
4299
|
random: a
|
|
4261
4300
|
};
|
|
4262
4301
|
}), ya = /* @__PURE__ */ y({
|
|
@@ -4265,10 +4304,10 @@ const $n = /* @__PURE__ */ y({
|
|
|
4265
4304
|
slug: {}
|
|
4266
4305
|
},
|
|
4267
4306
|
setup(p) {
|
|
4268
|
-
const t = p, i =
|
|
4307
|
+
const t = p, i = j(), o = Je(), r = Ue(), l = T(), a = b(() => {
|
|
4269
4308
|
if (!(i.user && !l.one.ads.enabled))
|
|
4270
4309
|
return t.slug ? o.all.find((f) => f.slug === t.slug) : o.random(o.all);
|
|
4271
|
-
}),
|
|
4310
|
+
}), u = b(() => {
|
|
4272
4311
|
const f = r.current.value.dark ? "logodark" : "logolight";
|
|
4273
4312
|
return a.value?.metadata.images[f]?.url;
|
|
4274
4313
|
}), d = b(() => {
|
|
@@ -4277,7 +4316,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
4277
4316
|
});
|
|
4278
4317
|
return (f, g) => {
|
|
4279
4318
|
const _ = Tt;
|
|
4280
|
-
return e(a) || !e(o).hasLoaded ? (
|
|
4319
|
+
return e(a) || !e(o).hasLoaded ? (c(), m(_, {
|
|
4281
4320
|
key: 0,
|
|
4282
4321
|
class: "vo-promotions-card-highlight",
|
|
4283
4322
|
color: e(a)?.metadata.color ?? "surface",
|
|
@@ -4285,12 +4324,12 @@ const $n = /* @__PURE__ */ y({
|
|
|
4285
4324
|
href: e(a)?.metadata.url,
|
|
4286
4325
|
image: e(d),
|
|
4287
4326
|
"max-width": "720",
|
|
4288
|
-
"prepend-avatar": e(
|
|
4327
|
+
"prepend-avatar": e(u),
|
|
4289
4328
|
title: e(a)?.metadata.short_text,
|
|
4290
4329
|
width: "100%"
|
|
4291
|
-
},
|
|
4330
|
+
}, O({
|
|
4292
4331
|
default: s(() => [
|
|
4293
|
-
e(o).hasLoaded ? h("", !0) : (
|
|
4332
|
+
e(o).hasLoaded ? h("", !0) : (c(), m(ge, {
|
|
4294
4333
|
key: 0,
|
|
4295
4334
|
class: "flex-1-0 overflow-hidden",
|
|
4296
4335
|
color: "transparent",
|
|
@@ -4315,26 +4354,26 @@ const $n = /* @__PURE__ */ y({
|
|
|
4315
4354
|
e(a) ? {
|
|
4316
4355
|
name: "image",
|
|
4317
4356
|
fn: s(() => [
|
|
4318
|
-
n(
|
|
4357
|
+
n(oe, { position: "right" })
|
|
4319
4358
|
]),
|
|
4320
4359
|
key: "1"
|
|
4321
4360
|
} : void 0
|
|
4322
4361
|
]), 1032, ["color", "href", "image", "prepend-avatar", "title"])) : h("", !0);
|
|
4323
4362
|
};
|
|
4324
4363
|
}
|
|
4325
|
-
}), ha = { class: "d-flex ga-4" }, ba = { class: "d-flex align-start ga-4" },
|
|
4364
|
+
}), ha = { class: "d-flex ga-4" }, ba = { class: "d-flex align-start ga-4" }, ka = { class: "text-caption on-surface-light" }, Va = /* @__PURE__ */ y({
|
|
4326
4365
|
__name: "VoPromotionsCardVuetify",
|
|
4327
4366
|
props: {
|
|
4328
4367
|
slug: {}
|
|
4329
4368
|
},
|
|
4330
4369
|
setup(p) {
|
|
4331
|
-
const t = p, i =
|
|
4370
|
+
const t = p, i = j(), o = Je(), r = T(), l = b(() => {
|
|
4332
4371
|
if (!(i.user && !r.one.ads.enabled && !r.one.ads.house))
|
|
4333
4372
|
return t.slug ? o.all.find((a) => a.slug === t.slug) : o.random(!r.one.ads.enabled && r.one.ads.house ? o.discoverable : o.all);
|
|
4334
4373
|
});
|
|
4335
|
-
return (a,
|
|
4374
|
+
return (a, u) => {
|
|
4336
4375
|
const d = Tt;
|
|
4337
|
-
return e(l) || !e(o).hasLoaded ? (
|
|
4376
|
+
return e(l) || !e(o).hasLoaded ? (c(), m(d, {
|
|
4338
4377
|
key: 0,
|
|
4339
4378
|
border: "",
|
|
4340
4379
|
caption: "ads via vuetify",
|
|
@@ -4344,8 +4383,8 @@ const $n = /* @__PURE__ */ y({
|
|
|
4344
4383
|
}, {
|
|
4345
4384
|
default: s(() => [
|
|
4346
4385
|
v("div", ha, [
|
|
4347
|
-
e(o).hasLoaded ? e(l) ? (
|
|
4348
|
-
n(
|
|
4386
|
+
e(o).hasLoaded ? e(l) ? (c(), V(D, { key: 1 }, [
|
|
4387
|
+
n(oe, {
|
|
4349
4388
|
cover: "",
|
|
4350
4389
|
height: "100",
|
|
4351
4390
|
"max-width": "130",
|
|
@@ -4355,9 +4394,9 @@ const $n = /* @__PURE__ */ y({
|
|
|
4355
4394
|
width: "100%"
|
|
4356
4395
|
}, null, 8, ["src"]),
|
|
4357
4396
|
v("div", ba, [
|
|
4358
|
-
v("div",
|
|
4397
|
+
v("div", ka, C(e(l).metadata?.text), 1)
|
|
4359
4398
|
])
|
|
4360
|
-
], 64)) : h("", !0) : (
|
|
4399
|
+
], 64)) : h("", !0) : (c(), V(D, { key: 0 }, [
|
|
4361
4400
|
n(ge, {
|
|
4362
4401
|
class: "flex-1-0 overflow-hidden",
|
|
4363
4402
|
color: "transparent",
|
|
@@ -4386,10 +4425,10 @@ const $n = /* @__PURE__ */ y({
|
|
|
4386
4425
|
slug: {}
|
|
4387
4426
|
},
|
|
4388
4427
|
setup(p) {
|
|
4389
|
-
const t = p, i =
|
|
4428
|
+
const t = p, i = j(), o = Je(), r = T(), l = Ue(), a = b(() => {
|
|
4390
4429
|
if (!(i.user && !r.one.ads.enabled))
|
|
4391
4430
|
return t.slug ? o.all.find((f) => f.slug === t.slug) : o.random(o.all);
|
|
4392
|
-
}),
|
|
4431
|
+
}), u = b(() => {
|
|
4393
4432
|
const f = l.current.value.dark ? "logodark" : "logolight";
|
|
4394
4433
|
return a.value?.metadata.images[f]?.url;
|
|
4395
4434
|
}), d = b(() => {
|
|
@@ -4398,7 +4437,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
4398
4437
|
});
|
|
4399
4438
|
return (f, g) => {
|
|
4400
4439
|
const _ = At;
|
|
4401
|
-
return
|
|
4440
|
+
return c(), m(_, {
|
|
4402
4441
|
color: e(a)?.metadata.color ?? "surface",
|
|
4403
4442
|
image: e(d),
|
|
4404
4443
|
style: { transform: "translateY(0)" }
|
|
@@ -4414,11 +4453,11 @@ const $n = /* @__PURE__ */ y({
|
|
|
4414
4453
|
n(Q, {
|
|
4415
4454
|
class: "me-4",
|
|
4416
4455
|
icon: "$vuetify",
|
|
4417
|
-
image: e(
|
|
4456
|
+
image: e(u),
|
|
4418
4457
|
size: "24"
|
|
4419
4458
|
}, null, 8, ["image"]),
|
|
4420
4459
|
v("div", null, C(e(a)?.metadata.text), 1),
|
|
4421
|
-
e(a)?.metadata.advertisement ? (
|
|
4460
|
+
e(a)?.metadata.advertisement ? (c(), m(J, {
|
|
4422
4461
|
key: 0,
|
|
4423
4462
|
class: "ms-auto me-n4 align-self-end mb-n2 py-1 ps-3",
|
|
4424
4463
|
rounded: "0 ts-lg",
|
|
@@ -4433,19 +4472,19 @@ const $n = /* @__PURE__ */ y({
|
|
|
4433
4472
|
};
|
|
4434
4473
|
}
|
|
4435
4474
|
}), xa = K("spots", () => {
|
|
4436
|
-
const p = Y(), t = It(), i =
|
|
4475
|
+
const p = Y(), t = It(), i = te(), o = N([]), r = I(!1), l = b(() => o.value.find(({
|
|
4437
4476
|
metadata: {
|
|
4438
|
-
site:
|
|
4477
|
+
site: u,
|
|
4439
4478
|
active: d
|
|
4440
4479
|
}
|
|
4441
|
-
}) => d ?
|
|
4480
|
+
}) => d ? u.includes("dev") && !1 || u.includes("*") ? !0 : u.some((f) => t.id.includes(f)) : !1));
|
|
4442
4481
|
async function a() {
|
|
4443
4482
|
try {
|
|
4444
4483
|
r.value = !0;
|
|
4445
|
-
const
|
|
4446
|
-
o.value =
|
|
4447
|
-
} catch (
|
|
4448
|
-
i.showError(
|
|
4484
|
+
const u = await p.get("/one/spots");
|
|
4485
|
+
o.value = u.spots;
|
|
4486
|
+
} catch (u) {
|
|
4487
|
+
i.showError(u?.message ?? "Error fetching spots");
|
|
4449
4488
|
} finally {
|
|
4450
4489
|
r.value = !1;
|
|
4451
4490
|
}
|
|
@@ -4461,13 +4500,13 @@ const $n = /* @__PURE__ */ y({
|
|
|
4461
4500
|
__name: "VoSpot",
|
|
4462
4501
|
setup(p) {
|
|
4463
4502
|
const t = xa();
|
|
4464
|
-
return (i, o) => e(t).spot ? (
|
|
4503
|
+
return (i, o) => e(t).spot ? (c(), V("a", {
|
|
4465
4504
|
key: 0,
|
|
4466
4505
|
href: e(t).spot.metadata.href,
|
|
4467
4506
|
rel: "noopener noreferrer sponsored",
|
|
4468
4507
|
target: "_blank"
|
|
4469
4508
|
}, [
|
|
4470
|
-
n(
|
|
4509
|
+
n(oe, {
|
|
4471
4510
|
class: "mx-auto",
|
|
4472
4511
|
color: e(t).spot.metadata.image ? void 0 : "surface",
|
|
4473
4512
|
rounded: "",
|
|
@@ -4476,7 +4515,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
4476
4515
|
}, null, 8, ["color", "src"])
|
|
4477
4516
|
], 8, La)) : h("", !0);
|
|
4478
4517
|
}
|
|
4479
|
-
}),
|
|
4518
|
+
}), ki = {
|
|
4480
4519
|
discord: ["M22,24L16.75,19L17.38,21H4.5A2.5,2.5 0 0,1 2,18.5V3.5A2.5,2.5 0 0,1 4.5,1H19.5A2.5,2.5 0 0,1 22,3.5V24M12,6.8C9.32,6.8 7.44,7.95 7.44,7.95C8.47,7.03 10.27,6.5 10.27,6.5L10.1,6.33C8.41,6.36 6.88,7.53 6.88,7.53C5.16,11.12 5.27,14.22 5.27,14.22C6.67,16.03 8.75,15.9 8.75,15.9L9.46,15C8.21,14.73 7.42,13.62 7.42,13.62C7.42,13.62 9.3,14.9 12,14.9C14.7,14.9 16.58,13.62 16.58,13.62C16.58,13.62 15.79,14.73 14.54,15L15.25,15.9C15.25,15.9 17.33,16.03 18.73,14.22C18.73,14.22 18.84,11.12 17.12,7.53C17.12,7.53 15.59,6.36 13.9,6.33L13.73,6.5C13.73,6.5 15.53,7.03 16.56,7.95C16.56,7.95 14.68,6.8 12,6.8M9.93,10.59C10.58,10.59 11.11,11.16 11.1,11.86C11.1,12.55 10.58,13.13 9.93,13.13C9.29,13.13 8.77,12.55 8.77,11.86C8.77,11.16 9.28,10.59 9.93,10.59M14.1,10.59C14.75,10.59 15.27,11.16 15.27,11.86C15.27,12.55 14.75,13.13 14.1,13.13C13.46,13.13 12.94,12.55 12.94,11.86C12.94,11.16 13.45,10.59 14.1,10.59Z"],
|
|
4481
4520
|
github: ["M12,2A10,10 0 0,0 2,12C2,16.42 4.87,20.17 8.84,21.5C9.34,21.58 9.5,21.27 9.5,21C9.5,20.77 9.5,20.14 9.5,19.31C6.73,19.91 6.14,17.97 6.14,17.97C5.68,16.81 5.03,16.5 5.03,16.5C4.12,15.88 5.1,15.9 5.1,15.9C6.1,15.97 6.63,16.93 6.63,16.93C7.5,18.45 8.97,18 9.54,17.76C9.63,17.11 9.89,16.67 10.17,16.42C7.95,16.17 5.62,15.31 5.62,11.5C5.62,10.39 6,9.5 6.65,8.79C6.55,8.54 6.2,7.5 6.75,6.15C6.75,6.15 7.59,5.88 9.5,7.17C10.29,6.95 11.15,6.84 12,6.84C12.85,6.84 13.71,6.95 14.5,7.17C16.41,5.88 17.25,6.15 17.25,6.15C17.8,7.5 17.45,8.54 17.35,8.79C18,9.5 18.38,10.39 18.38,11.5C18.38,15.32 16.04,16.16 13.81,16.41C14.17,16.72 14.5,17.33 14.5,18.26C14.5,19.6 14.5,20.68 14.5,21C14.5,21.27 14.66,21.59 15.17,21.5C19.14,20.16 22,16.42 22,12A10,10 0 0,0 12,2Z"],
|
|
4482
4521
|
reddit: "M14.5 15.41C14.58 15.5 14.58 15.69 14.5 15.8C13.77 16.5 12.41 16.56 12 16.56C11.61 16.56 10.25 16.5 9.54 15.8C9.44 15.69 9.44 15.5 9.54 15.41C9.65 15.31 9.82 15.31 9.92 15.41C10.38 15.87 11.33 16 12 16C12.69 16 13.66 15.87 14.1 15.41C14.21 15.31 14.38 15.31 14.5 15.41M10.75 13.04C10.75 12.47 10.28 12 9.71 12C9.14 12 8.67 12.47 8.67 13.04C8.67 13.61 9.14 14.09 9.71 14.08C10.28 14.08 10.75 13.61 10.75 13.04M14.29 12C13.72 12 13.25 12.5 13.25 13.05S13.72 14.09 14.29 14.09C14.86 14.09 15.33 13.61 15.33 13.05C15.33 12.5 14.86 12 14.29 12M22 12C22 17.5 17.5 22 12 22S2 17.5 2 12C2 6.5 6.5 2 12 2S22 6.5 22 12M18.67 12C18.67 11.19 18 10.54 17.22 10.54C16.82 10.54 16.46 10.7 16.2 10.95C15.2 10.23 13.83 9.77 12.3 9.71L12.97 6.58L15.14 7.05C15.16 7.6 15.62 8.04 16.18 8.04C16.75 8.04 17.22 7.57 17.22 7C17.22 6.43 16.75 5.96 16.18 5.96C15.77 5.96 15.41 6.2 15.25 6.55L12.82 6.03C12.75 6 12.68 6.03 12.63 6.07C12.57 6.11 12.54 6.17 12.53 6.24L11.79 9.72C10.24 9.77 8.84 10.23 7.82 10.96C7.56 10.71 7.2 10.56 6.81 10.56C6 10.56 5.35 11.21 5.35 12C5.35 12.61 5.71 13.11 6.21 13.34C6.19 13.5 6.18 13.62 6.18 13.78C6.18 16 8.79 17.85 12 17.85C15.23 17.85 17.85 16.03 17.85 13.78C17.85 13.64 17.84 13.5 17.81 13.34C18.31 13.11 18.67 12.6 18.67 12Z",
|
|
@@ -4544,15 +4583,15 @@ const $n = /* @__PURE__ */ y({
|
|
|
4544
4583
|
["M10.1201 9.28459H7.99586V4.02767L10.1201 2H14.9586L17.0828 4.02767V9.28459H14.9586V4.02767H10.1201V9.28459Z", 0.6],
|
|
4545
4584
|
["M22 21L18.3734 17.675L14.3133 21H22Z", 0.4]
|
|
4546
4585
|
]
|
|
4547
|
-
},
|
|
4548
|
-
const p = Y(), t =
|
|
4586
|
+
}, Vi = K("bins", () => {
|
|
4587
|
+
const p = Y(), t = te(), i = N([]), o = I(!1), r = b(() => i.value.filter((u) => u.favorite)), l = b(() => i.value.filter((u) => u.pinned));
|
|
4549
4588
|
async function a() {
|
|
4550
4589
|
try {
|
|
4551
4590
|
o.value = !0;
|
|
4552
|
-
const
|
|
4553
|
-
i.value =
|
|
4554
|
-
} catch (
|
|
4555
|
-
t.showError(
|
|
4591
|
+
const u = await p.get("/one/bins");
|
|
4592
|
+
i.value = u.bins;
|
|
4593
|
+
} catch (u) {
|
|
4594
|
+
t.showError(u?.message ?? "Error fetching bins");
|
|
4556
4595
|
} finally {
|
|
4557
4596
|
o.value = !1;
|
|
4558
4597
|
}
|
|
@@ -4566,7 +4605,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
4566
4605
|
index: a
|
|
4567
4606
|
};
|
|
4568
4607
|
}), Ci = K("products", () => {
|
|
4569
|
-
const p = Y(), t =
|
|
4608
|
+
const p = Y(), t = te(), i = N([]), o = b(() => i.value.filter((a) => a.product_type === "Themes"));
|
|
4570
4609
|
async function r() {
|
|
4571
4610
|
if (i.value.length > 0)
|
|
4572
4611
|
return i.value;
|
|
@@ -4588,7 +4627,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
4588
4627
|
randomize: l
|
|
4589
4628
|
};
|
|
4590
4629
|
}), $i = K("sponsors", () => {
|
|
4591
|
-
const p = Y(), t =
|
|
4630
|
+
const p = Y(), t = te(), i = N([]), o = N([]), r = N(!1), l = b(() => {
|
|
4592
4631
|
const d = {};
|
|
4593
4632
|
for (const f of i.value) {
|
|
4594
4633
|
const g = f.metadata.tier;
|
|
@@ -4596,7 +4635,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
4596
4635
|
}
|
|
4597
4636
|
return d;
|
|
4598
4637
|
});
|
|
4599
|
-
Zt(a),
|
|
4638
|
+
Zt(a), Ee(a);
|
|
4600
4639
|
async function a() {
|
|
4601
4640
|
try {
|
|
4602
4641
|
r.value = !0;
|
|
@@ -4609,7 +4648,7 @@ const $n = /* @__PURE__ */ y({
|
|
|
4609
4648
|
}
|
|
4610
4649
|
return o.value;
|
|
4611
4650
|
}
|
|
4612
|
-
function
|
|
4651
|
+
function u(d) {
|
|
4613
4652
|
return i.value.find((f) => f.slug === d);
|
|
4614
4653
|
}
|
|
4615
4654
|
return {
|
|
@@ -4617,13 +4656,13 @@ const $n = /* @__PURE__ */ y({
|
|
|
4617
4656
|
all: o,
|
|
4618
4657
|
sponsors: i,
|
|
4619
4658
|
byTier: l,
|
|
4620
|
-
bySlug:
|
|
4659
|
+
bySlug: u,
|
|
4621
4660
|
index: a
|
|
4622
4661
|
};
|
|
4623
4662
|
});
|
|
4624
4663
|
function xi() {
|
|
4625
4664
|
function p(t) {
|
|
4626
|
-
t.component("VoAppBar", ia), t.component("VoAuthBtn", Dt), t.component("VoAuthCard", Lt), t.component("VoAuthDialog", wt), t.component("VoAuthListItem", St), t.component("VoNotificationsBanner", ga), t.component("VoPromotionsCardHighlight", ya), t.component("VoPromotionsCardVuetify",
|
|
4665
|
+
t.component("VoAppBar", ia), t.component("VoAuthBtn", Dt), t.component("VoAuthCard", Lt), t.component("VoAuthDialog", wt), t.component("VoAuthListItem", St), t.component("VoNotificationsBanner", ga), t.component("VoPromotionsCardHighlight", ya), t.component("VoPromotionsCardVuetify", Va), t.component("VoPromotionsFooter", $a), t.component("VoScript", la), t.component("VoSocialFooter", fa), t.component("VoSpot", wa);
|
|
4627
4666
|
}
|
|
4628
4667
|
return { install: p };
|
|
4629
4668
|
}
|
|
@@ -4634,23 +4673,23 @@ function Li(p, t) {
|
|
|
4634
4673
|
};
|
|
4635
4674
|
}
|
|
4636
4675
|
export {
|
|
4637
|
-
|
|
4676
|
+
ki as aliases,
|
|
4638
4677
|
xi as createOne,
|
|
4639
4678
|
Li as one,
|
|
4640
|
-
|
|
4679
|
+
j as useAuthStore,
|
|
4641
4680
|
Pe as useBannersStore,
|
|
4642
|
-
|
|
4681
|
+
Vi as useBinsStore,
|
|
4643
4682
|
us as useDownloadsStore,
|
|
4644
4683
|
Y as useHttpStore,
|
|
4645
|
-
|
|
4684
|
+
Be as useNotificationsStore,
|
|
4646
4685
|
B as useOneStore,
|
|
4647
4686
|
Ci as useProductsStore,
|
|
4648
4687
|
Je as usePromotionsStore,
|
|
4649
|
-
|
|
4650
|
-
|
|
4688
|
+
te as useQueueStore,
|
|
4689
|
+
ze as useSettingsStore,
|
|
4651
4690
|
It as useSiteStore,
|
|
4652
4691
|
$i as useSponsorsStore,
|
|
4653
4692
|
xa as useSpotsStore,
|
|
4654
4693
|
Me as useTeamStore,
|
|
4655
|
-
|
|
4694
|
+
T as useUserStore
|
|
4656
4695
|
};
|