@vuetify/one 2.9.1 → 2.10.0
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-CXrXnM17.js → auth-DCDisIda.js} +56 -56
- package/dist/index.d.ts +23 -2
- package/dist/index.js +333 -311
- package/dist/stores/auth.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { u as
|
|
1
|
+
import { defineComponent as _, createBlock as m, openBlock as c, unref as e, computed as b, createSlots as z, withCtx as s, createElementVNode as g, toDisplayString as V, createVNode as n, createTextVNode as S, normalizeStyle as it, createCommentVNode as h, renderSlot as w, shallowRef as M, watch as H, withModifiers as _e, mergeModels as rt, useModel as G, createElementBlock as C, Fragment as D, nextTick as be, renderList as K, mergeProps as R, withDirectives as Z, vShow as Ie, isRef as j, ref as E, readonly as Se, resolveComponent as lt, watchEffect as Zt, onMounted as He, toRef as ge, normalizeClass as Nt, useSlots as ut, normalizeProps as ct, guardReactiveProps as dt, onBeforeMount as je, onBeforeUnmount as Ht, useCssVars as jt, onServerPrefetch as Rt } from "vue";
|
|
2
|
+
import { u as ee, a as F, b as T, c as O, d as Ce, e as Y, f as De } from "./auth-DCDisIda.js";
|
|
3
3
|
import { VSnackbarQueue as qt } from "vuetify/components/VSnackbarQueue";
|
|
4
|
-
import { mdiStorefront as Wt, mdiSync as Gt, mdiSyncOff as Kt, mdiLogoutVariant as Yt, mdiFullscreenExit as Qt, mdiFullscreen as Xt, mdiCheck as ke, mdiSelect as Jt, mdiSpaceInvaders as pt, mdiImageFilterHdr as mt, mdiTransmissionTower as ft, mdiRocketLaunchOutline as vt, mdiHome as eo, mdiTextBox as to, mdiWhiteBalanceSunny as oo, mdiWeatherNight as no, mdiDesktopTowerMonitor as so, mdiContrastCircle as ao, mdiCog as io, mdiCogOutline as ro, mdiShieldKeyOutline as lo, mdiContentCopy as Re, mdiFileDocument as gt, mdiKey as uo, mdiPlus as co, mdiRefresh as po, mdiKeyOutline as mo, mdiCreditCardSettingsOutline as fo, mdiRocketOutline as vo, mdiCheckCircleOutline as Me, mdiCreditCard as go, mdiReload as
|
|
5
|
-
import { VListItem as le, VList as ne, VListSubheader as Ho, VListItemTitle as
|
|
6
|
-
import { VAvatar as
|
|
7
|
-
import { VCard as P, VCardTitle as Ro, VCardSubtitle as qo, VCardText as
|
|
4
|
+
import { mdiStorefront as Wt, mdiSync as Gt, mdiSyncOff as Kt, mdiLogoutVariant as Yt, mdiFullscreenExit as Qt, mdiFullscreen as Xt, mdiCheck as ke, mdiSelect as Jt, mdiSpaceInvaders as pt, mdiImageFilterHdr as mt, mdiTransmissionTower as ft, mdiRocketLaunchOutline as vt, mdiHome as eo, mdiTextBox as to, mdiWhiteBalanceSunny as oo, mdiWeatherNight as no, mdiDesktopTowerMonitor as so, mdiContrastCircle as ao, mdiCog as io, mdiCogOutline as ro, mdiShieldKeyOutline as lo, mdiContentCopy as Re, mdiFileDocument as gt, mdiKey as uo, mdiPlus as co, mdiRefresh as po, mdiKeyOutline as mo, mdiCreditCardSettingsOutline as fo, mdiRocketOutline as vo, mdiCheckCircleOutline as Me, mdiCreditCard as go, mdiReload as yo, mdiPlaylistCheck as _o, mdiCreditCardOutline as ho, mdiOpenInNew as Ae, mdiMedal as bo, mdiHandHeart as Co, mdiHandHeartOutline as ko, mdiCloudDownload as Vo, mdiTrayArrowDown as tt, mdiAccountGroup as $o, mdiAccount as xo, mdiLinkVariant as Lo, mdiShieldLock as ot, mdiAccountRemoveOutline as wo, mdiExitToApp as So, mdiAccountGroupOutline as Mo, mdiPin as Io, mdiPinOutline as Do, mdiEmailOpenOutline as qe, mdiEmailVariant as We, mdiBell as Ao, mdiInboxOutline as To, mdiInboxFullOutline as Uo, mdiBillboard as Po, mdiBellOutline as zo, mdiViewDashboardOutline as Oo, mdiCrown as Bo, mdiArrowULeftBottom as Eo, mdiAtomVariant as Fo, mdiLogin as nt, mdiDotsVertical as Zo, mdiShieldStarOutline as No } from "@mdi/js";
|
|
5
|
+
import { VListItem as le, VList as ne, VListSubheader as Ho, VListItemTitle as yt, VListItemSubtitle as jo } from "vuetify/components/VList";
|
|
6
|
+
import { VAvatar as oe } from "vuetify/components/VAvatar";
|
|
7
|
+
import { VCard as P, VCardTitle as Ro, VCardSubtitle as qo, VCardText as J, VCardActions as _t, VCardItem as Fe } from "vuetify/components/VCard";
|
|
8
8
|
import { VDialog as Ve } from "vuetify/components/VDialog";
|
|
9
9
|
import { VBtn as A } from "vuetify/components/VBtn";
|
|
10
10
|
import { VProgressCircular as Wo } from "vuetify/components/VProgressCircular";
|
|
@@ -15,10 +15,10 @@ import { useDisplay as ae, useTheme as Te, useDate as me } from "vuetify";
|
|
|
15
15
|
import { VDivider as N } from "vuetify/components/VDivider";
|
|
16
16
|
import { VIcon as I } from "vuetify/components/VIcon";
|
|
17
17
|
import { VLabel as Ze } from "vuetify/components/VLabel";
|
|
18
|
-
import { VChip as
|
|
18
|
+
import { VChip as te } from "vuetify/components/VChip";
|
|
19
19
|
import { VChipGroup as Ko } from "vuetify/components/VChipGroup";
|
|
20
20
|
import { VSelect as Yo } from "vuetify/components/VSelect";
|
|
21
|
-
import { defineStore as
|
|
21
|
+
import { defineStore as q } from "pinia";
|
|
22
22
|
import { VRow as fe, VCol as re, VSpacer as ht } from "vuetify/components/VGrid";
|
|
23
23
|
import { VHover as ve } from "vuetify/components/VHover";
|
|
24
24
|
import { VImg as se } from "vuetify/components/VImg";
|
|
@@ -27,11 +27,11 @@ import { VLayout as ue } from "vuetify/components/VLayout";
|
|
|
27
27
|
import { VMain as ce } from "vuetify/components/VMain";
|
|
28
28
|
import { VTextField as Ct } from "vuetify/components/VTextField";
|
|
29
29
|
import { VTable as Qo } from "vuetify/components/VTable";
|
|
30
|
-
import { Tooltip as
|
|
30
|
+
import { Tooltip as X, Ripple as Xo } from "vuetify/directives";
|
|
31
31
|
import { VExpansionPanels as Jo, VExpansionPanel as en, VExpansionPanelText as tn } from "vuetify/components/VExpansionPanel";
|
|
32
32
|
import { VDataTableVirtual as kt, VDataTable as on } from "vuetify/components/VDataTable";
|
|
33
33
|
import { VSkeletonLoader as he } from "vuetify/components/VSkeletonLoader";
|
|
34
|
-
import { VWindow as Vt, VWindowItem as
|
|
34
|
+
import { VWindow as Vt, VWindowItem as ye } from "vuetify/components/VWindow";
|
|
35
35
|
import { VTimelineItem as nn, VTimeline as sn } from "vuetify/components/VTimeline";
|
|
36
36
|
import { VEmptyState as Ke } from "vuetify/components/VEmptyState";
|
|
37
37
|
import { VMenu as Ue } from "vuetify/components/VMenu";
|
|
@@ -44,10 +44,10 @@ import { VAppBar as xt } from "vuetify/components/VAppBar";
|
|
|
44
44
|
import { VFooter as un } from "vuetify/components/VFooter";
|
|
45
45
|
import { useRouter as cn } from "vue-router";
|
|
46
46
|
import { VLazy as dn } from "vuetify/components/VLazy";
|
|
47
|
-
const pn = /* @__PURE__ */
|
|
47
|
+
const pn = /* @__PURE__ */ _({
|
|
48
48
|
__name: "VoSnackbarQueue",
|
|
49
49
|
setup(p) {
|
|
50
|
-
const t =
|
|
50
|
+
const t = ee();
|
|
51
51
|
return (a, o) => (c(), m(qt, {
|
|
52
52
|
modelValue: e(t).queue,
|
|
53
53
|
"onUpdate:modelValue": o[0] || (o[0] = (i) => e(t).queue = i),
|
|
@@ -55,10 +55,10 @@ const pn = /* @__PURE__ */ y({
|
|
|
55
55
|
location: "bottom end"
|
|
56
56
|
}, null, 8, ["modelValue"]));
|
|
57
57
|
}
|
|
58
|
-
}), mn = { class: "text-body-2" }, Lt = /* @__PURE__ */
|
|
58
|
+
}), mn = { class: "text-body-2" }, Lt = /* @__PURE__ */ _({
|
|
59
59
|
__name: "VoAuthShopify",
|
|
60
60
|
setup(p) {
|
|
61
|
-
const t =
|
|
61
|
+
const t = F(), a = b(() => t.user && t.findIdentity("shopify")), o = b(() => t.user ? a.value ? "Connected to Shopify" : "Connect Shopify" : "Login with Shopify");
|
|
62
62
|
return (i, u) => (c(), m(le, {
|
|
63
63
|
"base-color": "#5b8a3c",
|
|
64
64
|
"prepend-icon": `svg:${e(Wt)}`,
|
|
@@ -81,10 +81,10 @@ const pn = /* @__PURE__ */ y({
|
|
|
81
81
|
} : void 0
|
|
82
82
|
]), 1032, ["prepend-icon"]));
|
|
83
83
|
}
|
|
84
|
-
}), fn = { class: "text-body-2" }, wt = /* @__PURE__ */
|
|
84
|
+
}), fn = { class: "text-body-2" }, wt = /* @__PURE__ */ _({
|
|
85
85
|
__name: "VoAuthDiscord",
|
|
86
86
|
setup(p) {
|
|
87
|
-
const t =
|
|
87
|
+
const t = F(), a = b(() => t.user && t.findIdentity("discord")), o = b(() => t.user ? a.value ? "Connected to Discord" : "Connect Discord" : "Login with Discord");
|
|
88
88
|
return (i, u) => (c(), m(le, {
|
|
89
89
|
"base-color": "#5865F2",
|
|
90
90
|
"prepend-icon": "$discord",
|
|
@@ -107,10 +107,10 @@ const pn = /* @__PURE__ */ y({
|
|
|
107
107
|
} : void 0
|
|
108
108
|
]), 1024));
|
|
109
109
|
}
|
|
110
|
-
}), vn = { class: "text-body-2" }, St = /* @__PURE__ */
|
|
110
|
+
}), vn = { class: "text-body-2" }, St = /* @__PURE__ */ _({
|
|
111
111
|
__name: "VoAuthGithub",
|
|
112
112
|
setup(p) {
|
|
113
|
-
const t =
|
|
113
|
+
const t = F(), a = b(() => t.user && t.findIdentity("github")), o = b(() => t.user ? a.value ? "Connected to GitHub" : "Connect GitHub" : "Login with GitHub");
|
|
114
114
|
return (i, u) => (c(), m(le, {
|
|
115
115
|
"base-color": "#2a2a2a",
|
|
116
116
|
"prepend-icon": "$github",
|
|
@@ -133,10 +133,10 @@ const pn = /* @__PURE__ */ y({
|
|
|
133
133
|
} : void 0
|
|
134
134
|
]), 1024));
|
|
135
135
|
}
|
|
136
|
-
}), gn = { class: "text-center" },
|
|
136
|
+
}), gn = { class: "text-center" }, yn = { class: "text-center mb-6" }, _n = { class: "text-h6 font-weight-light" }, Mt = /* @__PURE__ */ _({
|
|
137
137
|
__name: "VoAuthCard",
|
|
138
138
|
setup(p) {
|
|
139
|
-
const t =
|
|
139
|
+
const t = F();
|
|
140
140
|
return (a, o) => {
|
|
141
141
|
const i = St, u = wt, r = Lt;
|
|
142
142
|
return c(), m(P, {
|
|
@@ -146,16 +146,16 @@ const pn = /* @__PURE__ */ y({
|
|
|
146
146
|
}, {
|
|
147
147
|
default: s(() => [
|
|
148
148
|
g("div", gn, [
|
|
149
|
-
n(
|
|
149
|
+
n(oe, {
|
|
150
150
|
class: "mx-auto",
|
|
151
151
|
image: "https://vuetifyjs.b-cdn.net/docs/images/avatars/one.png",
|
|
152
152
|
size: "64"
|
|
153
153
|
})
|
|
154
154
|
]),
|
|
155
|
-
g("div",
|
|
155
|
+
g("div", yn, [
|
|
156
156
|
n(Ro, { class: "text-h5 mb-1 text-md-h4" }, {
|
|
157
157
|
default: s(() => [
|
|
158
|
-
g("div",
|
|
158
|
+
g("div", _n, V(e(t).lastLoginProvider() ? "Welcome back to" : "Login to"), 1),
|
|
159
159
|
o[0] || (o[0] = g("span", { class: "text-h3 font-weight-bold" }, "Vuetify One", -1))
|
|
160
160
|
]),
|
|
161
161
|
_: 1
|
|
@@ -184,10 +184,10 @@ const pn = /* @__PURE__ */ y({
|
|
|
184
184
|
});
|
|
185
185
|
};
|
|
186
186
|
}
|
|
187
|
-
}), It = /* @__PURE__ */
|
|
187
|
+
}), It = /* @__PURE__ */ _({
|
|
188
188
|
__name: "VoAuthDialog",
|
|
189
189
|
setup(p) {
|
|
190
|
-
const t =
|
|
190
|
+
const t = F();
|
|
191
191
|
return (a, o) => {
|
|
192
192
|
const i = Mt;
|
|
193
193
|
return c(), m(Ve, {
|
|
@@ -202,7 +202,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
202
202
|
}, 8, ["modelValue"]);
|
|
203
203
|
};
|
|
204
204
|
}
|
|
205
|
-
}), we = /* @__PURE__ */
|
|
205
|
+
}), we = /* @__PURE__ */ _({
|
|
206
206
|
__name: "VoBtn",
|
|
207
207
|
props: {
|
|
208
208
|
readonly: { type: Boolean }
|
|
@@ -246,10 +246,10 @@ const pn = /* @__PURE__ */ y({
|
|
|
246
246
|
} : void 0
|
|
247
247
|
]), 1032, ["style", "tabindex"]));
|
|
248
248
|
}
|
|
249
|
-
}), hn = { class: "pa-4 d-flex flex-column ga-4" }, Dt = /* @__PURE__ */
|
|
249
|
+
}), hn = { class: "pa-4 d-flex flex-column ga-4" }, Dt = /* @__PURE__ */ _({
|
|
250
250
|
__name: "VoAuthListItem",
|
|
251
251
|
setup(p) {
|
|
252
|
-
const t =
|
|
252
|
+
const t = F(), a = T(), o = M(!t.user && !t.isLoading);
|
|
253
253
|
H(() => t.user, (u) => {
|
|
254
254
|
o.value = !u;
|
|
255
255
|
});
|
|
@@ -287,11 +287,11 @@ const pn = /* @__PURE__ */ y({
|
|
|
287
287
|
density: "compact",
|
|
288
288
|
"hide-details": "",
|
|
289
289
|
inset: "",
|
|
290
|
-
onClick: r[1] || (r[1] =
|
|
290
|
+
onClick: r[1] || (r[1] = _e(() => {
|
|
291
291
|
}, ["stop"]))
|
|
292
292
|
}, {
|
|
293
293
|
thumb: s(() => [
|
|
294
|
-
n(
|
|
294
|
+
n(oe, {
|
|
295
295
|
color: e(a).one.sync ? "success" : void 0
|
|
296
296
|
}, null, 8, ["color"])
|
|
297
297
|
]),
|
|
@@ -336,7 +336,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
336
336
|
}, 8, ["variant"]);
|
|
337
337
|
};
|
|
338
338
|
}
|
|
339
|
-
}),
|
|
339
|
+
}), W = /* @__PURE__ */ _({
|
|
340
340
|
__name: "VoListItem",
|
|
341
341
|
setup(p) {
|
|
342
342
|
return (t, a) => (c(), m(le, { slim: "" }, z({
|
|
@@ -368,15 +368,15 @@ const pn = /* @__PURE__ */ y({
|
|
|
368
368
|
} : void 0
|
|
369
369
|
]), 1024));
|
|
370
370
|
}
|
|
371
|
-
}), bn = /* @__PURE__ */
|
|
371
|
+
}), bn = /* @__PURE__ */ _({
|
|
372
372
|
__name: "VoAuthLogoutNavItem",
|
|
373
373
|
setup(p) {
|
|
374
|
-
const t =
|
|
374
|
+
const t = F(), a = M(!1);
|
|
375
375
|
async function o() {
|
|
376
376
|
a.value = !0, await t.logout(), a.value = !1;
|
|
377
377
|
}
|
|
378
378
|
return (i, u) => {
|
|
379
|
-
const r =
|
|
379
|
+
const r = W;
|
|
380
380
|
return c(), m(r, {
|
|
381
381
|
class: "mb-0",
|
|
382
382
|
disabled: e(a),
|
|
@@ -389,7 +389,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
389
389
|
}, null, 8, ["disabled", "loading", "prepend-icon"]);
|
|
390
390
|
};
|
|
391
391
|
}
|
|
392
|
-
}), de = /* @__PURE__ */
|
|
392
|
+
}), de = /* @__PURE__ */ _({
|
|
393
393
|
__name: "VoDialog",
|
|
394
394
|
props: /* @__PURE__ */ rt({
|
|
395
395
|
prependIcon: {},
|
|
@@ -400,7 +400,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
400
400
|
}),
|
|
401
401
|
emits: ["update:modelValue"],
|
|
402
402
|
setup(p) {
|
|
403
|
-
const t =
|
|
403
|
+
const t = G(p, "modelValue"), a = ae(), o = M(!1);
|
|
404
404
|
return (i, u) => (c(), m(Ve, {
|
|
405
405
|
modelValue: t.value,
|
|
406
406
|
"onUpdate:modelValue": u[2] || (u[2] = (r) => t.value = r),
|
|
@@ -462,7 +462,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
462
462
|
_: 3
|
|
463
463
|
}, 8, ["modelValue", "fullscreen", "max-height", "max-width"]));
|
|
464
464
|
}
|
|
465
|
-
}), At = /* @__PURE__ */
|
|
465
|
+
}), At = /* @__PURE__ */ _({
|
|
466
466
|
__name: "VoSwitch",
|
|
467
467
|
props: {
|
|
468
468
|
disabled: { type: Boolean }
|
|
@@ -494,7 +494,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
494
494
|
}), Cn = {
|
|
495
495
|
key: 1,
|
|
496
496
|
class: "mb-3 text-caption text-medium-emphasis"
|
|
497
|
-
}, ie = /* @__PURE__ */
|
|
497
|
+
}, ie = /* @__PURE__ */ _({
|
|
498
498
|
__name: "VoDialogSubheader",
|
|
499
499
|
props: {
|
|
500
500
|
title: {},
|
|
@@ -514,7 +514,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
514
514
|
t.text ? (c(), C("div", Cn, V(t.text), 1)) : h("", !0)
|
|
515
515
|
], 64));
|
|
516
516
|
}
|
|
517
|
-
}), kn = { key: 0 }, Vn = /* @__PURE__ */
|
|
517
|
+
}), kn = { key: 0 }, Vn = /* @__PURE__ */ _({
|
|
518
518
|
__name: "VoSettingsPageSuitOption",
|
|
519
519
|
setup(p) {
|
|
520
520
|
const t = T(), a = [
|
|
@@ -589,7 +589,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
589
589
|
multiple: ""
|
|
590
590
|
}, {
|
|
591
591
|
default: s(() => [
|
|
592
|
-
n(
|
|
592
|
+
n(te, {
|
|
593
593
|
"append-icon": `svg:${e(eo)}`,
|
|
594
594
|
"filter-icon": "$success",
|
|
595
595
|
text: "App Bar",
|
|
@@ -605,7 +605,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
605
605
|
]),
|
|
606
606
|
_: 1
|
|
607
607
|
}, 8, ["append-icon"]),
|
|
608
|
-
n(
|
|
608
|
+
n(te, {
|
|
609
609
|
"append-icon": `svg:${e(to)}`,
|
|
610
610
|
"filter-icon": "$success",
|
|
611
611
|
text: "Navigation Drawer",
|
|
@@ -621,7 +621,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
621
621
|
]),
|
|
622
622
|
_: 1
|
|
623
623
|
}, 8, ["append-icon"]),
|
|
624
|
-
n(
|
|
624
|
+
n(te, {
|
|
625
625
|
"append-icon": "$info",
|
|
626
626
|
"filter-icon": "$success",
|
|
627
627
|
text: "Footer",
|
|
@@ -841,7 +841,7 @@ function $n() {
|
|
|
841
841
|
}
|
|
842
842
|
};
|
|
843
843
|
}
|
|
844
|
-
const Pe =
|
|
844
|
+
const Pe = q("settings", () => {
|
|
845
845
|
const p = "https://cdn.vuetifyjs.com/docs/images/one/", t = O(), a = T(), o = Te(), i = $n(), u = {
|
|
846
846
|
blackguard: {
|
|
847
847
|
"app-bar": p + "suits/blackguard/blackguard-app-bar.png",
|
|
@@ -882,7 +882,7 @@ const Pe = K("settings", () => {
|
|
|
882
882
|
suit: r,
|
|
883
883
|
CDN_URL: p
|
|
884
884
|
};
|
|
885
|
-
}), xn = { class: "ms-5" }, Ln = { class: "pb-2" }, wn = /* @__PURE__ */
|
|
885
|
+
}), xn = { class: "ms-5" }, Ln = { class: "pb-2" }, wn = /* @__PURE__ */ _({
|
|
886
886
|
__name: "VoSettingsDialog",
|
|
887
887
|
props: {
|
|
888
888
|
modelValue: { type: Boolean },
|
|
@@ -890,7 +890,7 @@ const Pe = K("settings", () => {
|
|
|
890
890
|
},
|
|
891
891
|
emits: ["update:modelValue"],
|
|
892
892
|
setup(p) {
|
|
893
|
-
const t =
|
|
893
|
+
const t = G(p, "modelValue"), a = O(), o = Pe(), i = T(), u = b(() => [
|
|
894
894
|
{
|
|
895
895
|
title: "Light",
|
|
896
896
|
subtitle: "A standard light theme.",
|
|
@@ -958,19 +958,19 @@ const Pe = K("settings", () => {
|
|
|
958
958
|
{ title: "Releases", items: r.value }
|
|
959
959
|
]), d = b({
|
|
960
960
|
get: () => !i.one.ads.enabled,
|
|
961
|
-
set: (
|
|
962
|
-
i.one.ads.enabled = !
|
|
961
|
+
set: (y) => {
|
|
962
|
+
i.one.ads.enabled = !y;
|
|
963
963
|
}
|
|
964
964
|
}), f = Ce();
|
|
965
965
|
H(f, async () => {
|
|
966
966
|
f.value.one === "settings" && (a.isOpen = !0, await be(), t.value = !0);
|
|
967
967
|
}, { immediate: !0 });
|
|
968
|
-
function v(
|
|
969
|
-
k.disabled || (i.one.theme = k.value,
|
|
968
|
+
function v(y, k) {
|
|
969
|
+
k.disabled || (i.one.theme = k.value, y?.());
|
|
970
970
|
}
|
|
971
|
-
return (
|
|
972
|
-
const $ = ie, L = Vn, U = At,
|
|
973
|
-
return c(), m(
|
|
971
|
+
return (y, k) => {
|
|
972
|
+
const $ = ie, L = Vn, U = At, Q = de;
|
|
973
|
+
return c(), m(Q, {
|
|
974
974
|
modelValue: t.value,
|
|
975
975
|
"onUpdate:modelValue": k[6] || (k[6] = (x) => t.value = x),
|
|
976
976
|
"prepend-icon": `svg:${e(io)}`,
|
|
@@ -981,7 +981,7 @@ const Pe = K("settings", () => {
|
|
|
981
981
|
default: s(() => [
|
|
982
982
|
n(ce, { scrollable: "" }, {
|
|
983
983
|
default: s(() => [
|
|
984
|
-
n(
|
|
984
|
+
n(J, { class: "px-7" }, {
|
|
985
985
|
default: s(() => [
|
|
986
986
|
n($, {
|
|
987
987
|
text: "Customize your documentation experience with light and dark themes, as well as a combination of both named.",
|
|
@@ -995,7 +995,7 @@ const Pe = K("settings", () => {
|
|
|
995
995
|
default: s(() => [
|
|
996
996
|
n(fe, { dense: "" }, {
|
|
997
997
|
default: s(() => [
|
|
998
|
-
(c(!0), C(D, null,
|
|
998
|
+
(c(!0), C(D, null, K(l.value, (x, pe) => (c(), m(re, {
|
|
999
999
|
key: pe,
|
|
1000
1000
|
class: "d-flex flex-column ga-3",
|
|
1001
1001
|
cols: "12",
|
|
@@ -1008,13 +1008,13 @@ const Pe = K("settings", () => {
|
|
|
1008
1008
|
]),
|
|
1009
1009
|
_: 2
|
|
1010
1010
|
}, 1024),
|
|
1011
|
-
(c(!0), C(D, null,
|
|
1011
|
+
(c(!0), C(D, null, K(x.items, (B) => (c(), m(Ne, {
|
|
1012
1012
|
key: B.value,
|
|
1013
1013
|
value: B.value
|
|
1014
1014
|
}, {
|
|
1015
1015
|
default: s(({ toggle: Bt, isSelected: et }) => [
|
|
1016
1016
|
n(ve, null, {
|
|
1017
|
-
default: s(({ props:
|
|
1017
|
+
default: s(({ props: Et, isHovering: Ft }) => [
|
|
1018
1018
|
n(P, R({
|
|
1019
1019
|
color: et ? "primary" : "surface-variant",
|
|
1020
1020
|
height: "76",
|
|
@@ -1025,13 +1025,13 @@ const Pe = K("settings", () => {
|
|
|
1025
1025
|
subtitle: B.disabled ? "🔓 Unlock with Vuetify One" : B.subtitle,
|
|
1026
1026
|
title: B.title,
|
|
1027
1027
|
variant: "tonal"
|
|
1028
|
-
}, { ref_for: !0 },
|
|
1028
|
+
}, { ref_for: !0 }, Et, {
|
|
1029
1029
|
onClick: (Ta) => v(Bt, B)
|
|
1030
1030
|
}), {
|
|
1031
1031
|
image: s(() => [
|
|
1032
1032
|
n(se, {
|
|
1033
1033
|
style: it({
|
|
1034
|
-
filter: et ||
|
|
1034
|
+
filter: et || Ft ? "none" : "grayscale(100%)"
|
|
1035
1035
|
})
|
|
1036
1036
|
}, null, 8, ["style"])
|
|
1037
1037
|
]),
|
|
@@ -1060,7 +1060,7 @@ const Pe = K("settings", () => {
|
|
|
1060
1060
|
_: 1
|
|
1061
1061
|
}),
|
|
1062
1062
|
n(N),
|
|
1063
|
-
n(
|
|
1063
|
+
n(J, { class: "px-7" }, {
|
|
1064
1064
|
default: s(() => [
|
|
1065
1065
|
n($, {
|
|
1066
1066
|
text: "These options change your browsing experience within Vuetify properties",
|
|
@@ -1101,7 +1101,7 @@ const Pe = K("settings", () => {
|
|
|
1101
1101
|
_: 1
|
|
1102
1102
|
}),
|
|
1103
1103
|
n(N),
|
|
1104
|
-
e(a).isSubscriber ? (c(), m(
|
|
1104
|
+
e(a).isSubscriber ? (c(), m(J, {
|
|
1105
1105
|
key: 0,
|
|
1106
1106
|
class: "px-7"
|
|
1107
1107
|
}, {
|
|
@@ -1137,12 +1137,12 @@ const Pe = K("settings", () => {
|
|
|
1137
1137
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
1138
1138
|
};
|
|
1139
1139
|
}
|
|
1140
|
-
}), Sn = /* @__PURE__ */
|
|
1140
|
+
}), Sn = /* @__PURE__ */ _({
|
|
1141
1141
|
__name: "VoSettingsListItem",
|
|
1142
1142
|
setup(p) {
|
|
1143
1143
|
const t = M(!1);
|
|
1144
1144
|
return (a, o) => {
|
|
1145
|
-
const i = wn, u =
|
|
1145
|
+
const i = wn, u = W;
|
|
1146
1146
|
return c(), m(u, {
|
|
1147
1147
|
active: e(t),
|
|
1148
1148
|
link: "",
|
|
@@ -1160,8 +1160,8 @@ const Pe = K("settings", () => {
|
|
|
1160
1160
|
}, 8, ["active", "prepend-icon"]);
|
|
1161
1161
|
};
|
|
1162
1162
|
}
|
|
1163
|
-
}), ze =
|
|
1164
|
-
const p =
|
|
1163
|
+
}), ze = q("api-key", () => {
|
|
1164
|
+
const p = Y(), t = E(null), a = M(!1), o = b(() => t.value?.apiKey || ""), i = b(() => {
|
|
1165
1165
|
if (!o.value)
|
|
1166
1166
|
return "";
|
|
1167
1167
|
const l = o.value;
|
|
@@ -1192,7 +1192,7 @@ function Oe(p = 1e3) {
|
|
|
1192
1192
|
}
|
|
1193
1193
|
return { copied: t, copy: a };
|
|
1194
1194
|
}
|
|
1195
|
-
const Mn = /* @__PURE__ */
|
|
1195
|
+
const Mn = /* @__PURE__ */ _({
|
|
1196
1196
|
__name: "VoMcpCopyDialog",
|
|
1197
1197
|
props: {
|
|
1198
1198
|
modelValue: { type: Boolean },
|
|
@@ -1200,7 +1200,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1200
1200
|
},
|
|
1201
1201
|
emits: ["update:modelValue"],
|
|
1202
1202
|
setup(p) {
|
|
1203
|
-
const t = ze(), { copy: a, copied: o } = Oe(), i =
|
|
1203
|
+
const t = ze(), { copy: a, copied: o } = Oe(), i = G(p, "modelValue");
|
|
1204
1204
|
return (u, r) => {
|
|
1205
1205
|
const l = lt("v-icon-btn");
|
|
1206
1206
|
return c(), m(Ve, {
|
|
@@ -1222,7 +1222,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1222
1222
|
]),
|
|
1223
1223
|
default: s(() => [
|
|
1224
1224
|
n(N),
|
|
1225
|
-
n(
|
|
1225
|
+
n(J, null, {
|
|
1226
1226
|
default: s(() => [
|
|
1227
1227
|
r[4] || (r[4] = g("p", { class: "mb-4" }, [
|
|
1228
1228
|
S(" Please save your secret key in a safe place since "),
|
|
@@ -1265,7 +1265,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1265
1265
|
]),
|
|
1266
1266
|
_: 1
|
|
1267
1267
|
}),
|
|
1268
|
-
n(
|
|
1268
|
+
n(_t, null, {
|
|
1269
1269
|
default: s(() => [
|
|
1270
1270
|
n(ht),
|
|
1271
1271
|
n(A, {
|
|
@@ -1287,7 +1287,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1287
1287
|
}, 8, ["modelValue"]);
|
|
1288
1288
|
};
|
|
1289
1289
|
}
|
|
1290
|
-
}), In = { class: "d-flex align-center justify-end" }, Dn = { class: "text-end" }, An = /* @__PURE__ */
|
|
1290
|
+
}), In = { class: "d-flex align-center justify-end" }, Dn = { class: "text-end" }, An = /* @__PURE__ */ _({
|
|
1291
1291
|
__name: "VoMcpTokenTable",
|
|
1292
1292
|
setup(p) {
|
|
1293
1293
|
const t = ze(), { copy: a, copied: o } = Oe(2e3), i = me();
|
|
@@ -1304,7 +1304,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1304
1304
|
icon: "$info",
|
|
1305
1305
|
size: "1em"
|
|
1306
1306
|
}, null, 512), [
|
|
1307
|
-
[
|
|
1307
|
+
[X, "This is updated within the last 10 minutes", "top"]
|
|
1308
1308
|
])
|
|
1309
1309
|
])
|
|
1310
1310
|
])
|
|
@@ -1341,7 +1341,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1341
1341
|
_: 1
|
|
1342
1342
|
}));
|
|
1343
1343
|
}
|
|
1344
|
-
}), Tn = { class: "my-4" }, Un = { class: "bg-surface-variant rounded pa-2 d-block" }, Pn = /* @__PURE__ */
|
|
1344
|
+
}), Tn = { class: "my-4" }, Un = { class: "bg-surface-variant rounded pa-2 d-block" }, Pn = /* @__PURE__ */ _({
|
|
1345
1345
|
__name: "VoMcpHowTo",
|
|
1346
1346
|
setup(p) {
|
|
1347
1347
|
const t = ze(), { copy: a, copied: o } = Oe(), i = b(() => `npx -y @vuetify/mcp config --api-key="${t.key || "YOUR_KEY"}"`), u = b(() => t.key ? `npx -y @vuetify/mcp config --api-key="${t.trim}"` : i.value);
|
|
@@ -1398,7 +1398,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1398
1398
|
_: 1
|
|
1399
1399
|
}));
|
|
1400
1400
|
}
|
|
1401
|
-
}), zn = { class: "px-3 py-3" }, On = /* @__PURE__ */
|
|
1401
|
+
}), zn = { class: "px-3 py-3" }, On = /* @__PURE__ */ _({
|
|
1402
1402
|
__name: "VoMcpDialog",
|
|
1403
1403
|
props: {
|
|
1404
1404
|
modelValue: { type: Boolean },
|
|
@@ -1406,14 +1406,14 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1406
1406
|
},
|
|
1407
1407
|
emits: ["update:modelValue"],
|
|
1408
1408
|
setup(p) {
|
|
1409
|
-
const t = ze(), a = T(), o = M(!1), i =
|
|
1409
|
+
const t = ze(), a = T(), o = M(!1), i = G(p, "modelValue");
|
|
1410
1410
|
async function u(r = !1) {
|
|
1411
1411
|
await t.generate(r), o.value = !0;
|
|
1412
1412
|
}
|
|
1413
1413
|
return H(i, async (r) => {
|
|
1414
1414
|
r && (a.ecosystem.mcp.seen = !0, await t.fetch());
|
|
1415
1415
|
}), (r, l) => {
|
|
1416
|
-
const d = ie, f = Pn, v = An,
|
|
1416
|
+
const d = ie, f = Pn, v = An, y = Mn, k = de;
|
|
1417
1417
|
return c(), m(k, {
|
|
1418
1418
|
modelValue: i.value,
|
|
1419
1419
|
"onUpdate:modelValue": l[3] || (l[3] = ($) => i.value = $),
|
|
@@ -1427,7 +1427,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1427
1427
|
n(ce, null, {
|
|
1428
1428
|
default: s(() => [
|
|
1429
1429
|
g("div", zn, [
|
|
1430
|
-
n(
|
|
1430
|
+
n(J, null, {
|
|
1431
1431
|
default: s(() => [
|
|
1432
1432
|
n(d, {
|
|
1433
1433
|
text: "As a subscriber of Vuetify One, you have access to create a personal MCP API key.",
|
|
@@ -1466,7 +1466,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1466
1466
|
})) : h("", !0),
|
|
1467
1467
|
e(t).key ? (c(), C(D, { key: 1 }, [
|
|
1468
1468
|
n(v),
|
|
1469
|
-
n(
|
|
1469
|
+
n(y, {
|
|
1470
1470
|
modelValue: e(o),
|
|
1471
1471
|
"onUpdate:modelValue": l[2] || (l[2] = ($) => j(o) ? o.value = $ : null)
|
|
1472
1472
|
}, null, 8, ["modelValue"])
|
|
@@ -1486,12 +1486,12 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1486
1486
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
1487
1487
|
};
|
|
1488
1488
|
}
|
|
1489
|
-
}), Bn = /* @__PURE__ */
|
|
1489
|
+
}), Bn = /* @__PURE__ */ _({
|
|
1490
1490
|
__name: "VoMcpListItem",
|
|
1491
1491
|
setup(p) {
|
|
1492
1492
|
const t = T(), a = M(!1);
|
|
1493
1493
|
return (o, i) => {
|
|
1494
|
-
const u = On, r =
|
|
1494
|
+
const u = On, r = W;
|
|
1495
1495
|
return c(), m(r, {
|
|
1496
1496
|
active: e(a),
|
|
1497
1497
|
link: "",
|
|
@@ -1510,7 +1510,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1510
1510
|
e(t).ecosystem.mcp.seen ? void 0 : {
|
|
1511
1511
|
name: "append",
|
|
1512
1512
|
fn: s(() => [
|
|
1513
|
-
n(
|
|
1513
|
+
n(te, {
|
|
1514
1514
|
color: "success",
|
|
1515
1515
|
size: "x-small",
|
|
1516
1516
|
variant: "flat"
|
|
@@ -1526,7 +1526,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1526
1526
|
]), 1032, ["active", "prepend-icon"]);
|
|
1527
1527
|
};
|
|
1528
1528
|
}
|
|
1529
|
-
}),
|
|
1529
|
+
}), En = { class: "text-caption" }, Fn = /* @__PURE__ */ _({
|
|
1530
1530
|
__name: "VoSubscriptionInvoices",
|
|
1531
1531
|
setup(p) {
|
|
1532
1532
|
const t = me(), a = O();
|
|
@@ -1553,13 +1553,13 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1553
1553
|
sticky: ""
|
|
1554
1554
|
}, {
|
|
1555
1555
|
"item.date": s(({ item: r }) => [
|
|
1556
|
-
g("div",
|
|
1556
|
+
g("div", En, V(e(t).format(new Date(r.date * 1e3), "fullDateWithWeekday")), 1)
|
|
1557
1557
|
]),
|
|
1558
1558
|
"item.amount": s(({ item: r }) => [
|
|
1559
1559
|
S(" $" + V(r.amount / 100), 1)
|
|
1560
1560
|
]),
|
|
1561
1561
|
"item.status": s(({ item: r }) => [
|
|
1562
|
-
n(
|
|
1562
|
+
n(te, {
|
|
1563
1563
|
border: "success sm",
|
|
1564
1564
|
class: "text-capitalize",
|
|
1565
1565
|
color: "success",
|
|
@@ -1591,7 +1591,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1591
1591
|
});
|
|
1592
1592
|
};
|
|
1593
1593
|
}
|
|
1594
|
-
}), Zn = { class: "d-flex align-center" }, Nn = ["textContent"], Hn = { class: "me-1" }, jn = { class: "text-medium-emphasis text-caption" }, Rn = { class: "d-flex align-center" }, qn = { class: "d-flex align-start justify-space-between text-caption py-2" }, Wn = { class: "font-weight-bold" }, Gn = { class: "font-weight-bold" }, Kn = /* @__PURE__ */
|
|
1594
|
+
}), Zn = { class: "d-flex align-center" }, Nn = ["textContent"], Hn = { class: "me-1" }, jn = { class: "text-medium-emphasis text-caption" }, Rn = { class: "d-flex align-center" }, qn = { class: "d-flex align-start justify-space-between text-caption py-2" }, Wn = { class: "font-weight-bold" }, Gn = { class: "font-weight-bold" }, Kn = /* @__PURE__ */ _({
|
|
1595
1595
|
__name: "VoSubscriptionStatus",
|
|
1596
1596
|
emits: ["change:subscription"],
|
|
1597
1597
|
setup(p, { emit: t }) {
|
|
@@ -1708,7 +1708,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1708
1708
|
});
|
|
1709
1709
|
};
|
|
1710
1710
|
}
|
|
1711
|
-
}), Yn = ["innerHTML"], Qn = ["innerHTML"], Xn = /* @__PURE__ */
|
|
1711
|
+
}), Yn = ["innerHTML"], Qn = ["innerHTML"], Xn = /* @__PURE__ */ _({
|
|
1712
1712
|
__name: "VoSubscriptionPerks",
|
|
1713
1713
|
props: {
|
|
1714
1714
|
type: {}
|
|
@@ -1730,7 +1730,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1730
1730
|
return H(a, async (u) => {
|
|
1731
1731
|
u && o.subscriptionInfo();
|
|
1732
1732
|
}), (u, r) => {
|
|
1733
|
-
const l =
|
|
1733
|
+
const l = W;
|
|
1734
1734
|
return c(), C(D, null, [
|
|
1735
1735
|
n(Ze, { class: "font-weight-black" }, {
|
|
1736
1736
|
default: s(() => [...r[0] || (r[0] = [
|
|
@@ -1746,7 +1746,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1746
1746
|
nav: ""
|
|
1747
1747
|
}, {
|
|
1748
1748
|
default: s(() => [
|
|
1749
|
-
(c(!0), C(D, null,
|
|
1749
|
+
(c(!0), C(D, null, K(e(i), (d, f) => (c(), m(l, {
|
|
1750
1750
|
key: f,
|
|
1751
1751
|
class: "mb-0",
|
|
1752
1752
|
"prepend-icon": `svg:${e(ke)}`
|
|
@@ -1781,7 +1781,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1781
1781
|
nav: ""
|
|
1782
1782
|
}, {
|
|
1783
1783
|
default: s(() => [
|
|
1784
|
-
(c(), C(D, null,
|
|
1784
|
+
(c(), C(D, null, K(t, (d, f) => n(l, {
|
|
1785
1785
|
key: f,
|
|
1786
1786
|
class: "mb-0",
|
|
1787
1787
|
"prepend-icon": `svg:${e(vo)}`
|
|
@@ -1803,7 +1803,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1803
1803
|
], 64);
|
|
1804
1804
|
};
|
|
1805
1805
|
}
|
|
1806
|
-
}), Jn = /* @__PURE__ */
|
|
1806
|
+
}), Jn = /* @__PURE__ */ _({
|
|
1807
1807
|
__name: "VoSubscriptionSubscribe",
|
|
1808
1808
|
props: {
|
|
1809
1809
|
interval: { default: "year" },
|
|
@@ -1813,7 +1813,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1813
1813
|
},
|
|
1814
1814
|
emits: ["update:interval", "update:type"],
|
|
1815
1815
|
setup(p) {
|
|
1816
|
-
const t = M(!1), a =
|
|
1816
|
+
const t = M(!1), a = G(p, "interval"), o = G(p, "type"), i = O(), u = De(), r = b(() => u.hasTeamAccess && !u.isTeamOwner), l = {
|
|
1817
1817
|
solo: {
|
|
1818
1818
|
month: "2.99 /month",
|
|
1819
1819
|
year: "29.99 /year"
|
|
@@ -1841,15 +1841,15 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1841
1841
|
}, {
|
|
1842
1842
|
default: s(() => [
|
|
1843
1843
|
n(Ne, { value: "solo" }, {
|
|
1844
|
-
default: s(({ toggle: v, isSelected:
|
|
1844
|
+
default: s(({ toggle: v, isSelected: y }) => [
|
|
1845
1845
|
n(P, {
|
|
1846
|
-
border:
|
|
1847
|
-
color:
|
|
1848
|
-
"prepend-icon":
|
|
1846
|
+
border: y ? "sm primary opacity-50" : "sm",
|
|
1847
|
+
color: y ? "primary" : void 0,
|
|
1848
|
+
"prepend-icon": y ? `svg:${e(Me)}` : "$radioOff",
|
|
1849
1849
|
rounded: "lg",
|
|
1850
1850
|
subtitle: `$${l.solo[a.value]}`,
|
|
1851
1851
|
title: "Solo Developer",
|
|
1852
|
-
variant:
|
|
1852
|
+
variant: y ? "tonal" : "text",
|
|
1853
1853
|
onClick: v
|
|
1854
1854
|
}, {
|
|
1855
1855
|
prepend: s(() => [
|
|
@@ -1869,16 +1869,16 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1869
1869
|
}, {
|
|
1870
1870
|
default: s(() => [
|
|
1871
1871
|
n(Ne, { value: "team" }, {
|
|
1872
|
-
default: s(({ toggle: v, isSelected:
|
|
1872
|
+
default: s(({ toggle: v, isSelected: y }) => [
|
|
1873
1873
|
n(P, {
|
|
1874
|
-
border:
|
|
1875
|
-
color:
|
|
1874
|
+
border: y ? "sm primary opacity-50" : "sm",
|
|
1875
|
+
color: y ? "primary" : void 0,
|
|
1876
1876
|
disabled: e(r),
|
|
1877
|
-
"prepend-icon":
|
|
1877
|
+
"prepend-icon": y ? `svg:${e(Me)}` : "$radioOff",
|
|
1878
1878
|
rounded: "lg",
|
|
1879
1879
|
subtitle: `$${l.team[a.value]}`,
|
|
1880
1880
|
title: "Team Access",
|
|
1881
|
-
variant:
|
|
1881
|
+
variant: y ? "tonal" : "text",
|
|
1882
1882
|
onClick: v
|
|
1883
1883
|
}, {
|
|
1884
1884
|
prepend: s(() => [
|
|
@@ -1909,7 +1909,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1909
1909
|
}, null, 8, ["modelValue"])
|
|
1910
1910
|
], 64));
|
|
1911
1911
|
}
|
|
1912
|
-
}), es = { class: "px-3" }, ts = { class: "flex-grow-1 px-4 pb-3 overflow-hidden" }, os = /* @__PURE__ */
|
|
1912
|
+
}), es = { class: "px-3" }, ts = { class: "flex-grow-1 px-4 pb-3 overflow-hidden" }, os = /* @__PURE__ */ _({
|
|
1913
1913
|
__name: "VoSubscriptionDialog",
|
|
1914
1914
|
props: {
|
|
1915
1915
|
modelValue: { type: Boolean },
|
|
@@ -1918,11 +1918,11 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1918
1918
|
emits: ["update:modelValue"],
|
|
1919
1919
|
setup(p) {
|
|
1920
1920
|
function t(v) {
|
|
1921
|
-
return new Promise((
|
|
1921
|
+
return new Promise((y) => setTimeout(y, v));
|
|
1922
1922
|
}
|
|
1923
|
-
const a =
|
|
1924
|
-
H([u, r], ([v,
|
|
1925
|
-
!o.isSubscriber || !o.interval || !o.subscriptionType || (d.value = v !== o.interval ||
|
|
1923
|
+
const a = G(p, "modelValue"), o = O(), i = Ce(), u = M(o.interval), r = M(o.subscriptionType), l = M(o.hasBilling ? "status" : "subscribe"), d = M(!1);
|
|
1924
|
+
H([u, r], ([v, y]) => {
|
|
1925
|
+
!o.isSubscriber || !o.interval || !o.subscriptionType || (d.value = v !== o.interval || y !== o.subscriptionType);
|
|
1926
1926
|
}), H(a, async (v) => {
|
|
1927
1927
|
if (!v || !o.isSubscriber) {
|
|
1928
1928
|
v || o.resetQuery();
|
|
@@ -1937,11 +1937,11 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1937
1937
|
async function f() {
|
|
1938
1938
|
await o.modify(u.value, r.value), await o.subscriptionInfo(), d.value = null, await t(3e3), l.value = "status", await t(300), d.value = !1;
|
|
1939
1939
|
}
|
|
1940
|
-
return (v,
|
|
1941
|
-
const k = ie, $ = Jn, L = Xn, U = Kn,
|
|
1940
|
+
return (v, y) => {
|
|
1941
|
+
const k = ie, $ = Jn, L = Xn, U = Kn, Q = Fn, x = we, pe = de;
|
|
1942
1942
|
return c(), m(pe, {
|
|
1943
1943
|
modelValue: a.value,
|
|
1944
|
-
"onUpdate:modelValue":
|
|
1944
|
+
"onUpdate:modelValue": y[5] || (y[5] = (B) => a.value = B),
|
|
1945
1945
|
"prepend-icon": `svg:${e(go)}`,
|
|
1946
1946
|
title: "Subscriptions"
|
|
1947
1947
|
}, z({
|
|
@@ -1951,7 +1951,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1951
1951
|
n(ce, { scrollable: "" }, {
|
|
1952
1952
|
default: s(() => [
|
|
1953
1953
|
g("div", es, [
|
|
1954
|
-
n(
|
|
1954
|
+
n(J, null, {
|
|
1955
1955
|
default: s(() => [
|
|
1956
1956
|
n(k, {
|
|
1957
1957
|
text: "The Vuetify One subscription is a great way to support the Vuetify team and get access to exclusive features and content.",
|
|
@@ -1959,25 +1959,25 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1959
1959
|
}),
|
|
1960
1960
|
n(Vt, { "model-value": e(l) }, {
|
|
1961
1961
|
default: s(() => [
|
|
1962
|
-
n(
|
|
1962
|
+
n(ye, { value: "subscribe" }, {
|
|
1963
1963
|
default: s(() => [
|
|
1964
1964
|
n($, {
|
|
1965
1965
|
interval: e(u),
|
|
1966
|
-
"onUpdate:interval":
|
|
1966
|
+
"onUpdate:interval": y[0] || (y[0] = (B) => j(u) ? u.value = B : null),
|
|
1967
1967
|
type: e(r),
|
|
1968
|
-
"onUpdate:type":
|
|
1968
|
+
"onUpdate:type": y[1] || (y[1] = (B) => j(r) ? r.value = B : null)
|
|
1969
1969
|
}, null, 8, ["interval", "type"]),
|
|
1970
|
-
|
|
1970
|
+
y[6] || (y[6] = g("br", null, null, -1)),
|
|
1971
1971
|
n(L, { type: e(r) }, null, 8, ["type"])
|
|
1972
1972
|
]),
|
|
1973
1973
|
_: 1
|
|
1974
1974
|
}),
|
|
1975
|
-
n(
|
|
1975
|
+
n(ye, { value: "status" }, {
|
|
1976
1976
|
default: s(() => [
|
|
1977
1977
|
n(U, {
|
|
1978
|
-
"onChange:subscription":
|
|
1978
|
+
"onChange:subscription": y[2] || (y[2] = (B) => l.value = "subscribe")
|
|
1979
1979
|
}),
|
|
1980
|
-
n(
|
|
1980
|
+
n(Q)
|
|
1981
1981
|
]),
|
|
1982
1982
|
_: 1
|
|
1983
1983
|
})
|
|
@@ -2006,7 +2006,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2006
2006
|
block: "",
|
|
2007
2007
|
color: "success",
|
|
2008
2008
|
loading: e(o).isLoading,
|
|
2009
|
-
"prepend-icon": `svg:${e(d) !== null ? e(
|
|
2009
|
+
"prepend-icon": `svg:${e(d) !== null ? e(yo) : e(Me)}`,
|
|
2010
2010
|
readonly: e(d) === null,
|
|
2011
2011
|
size: "default",
|
|
2012
2012
|
text: e(d) !== null ? "Modify Subscription" : "Success",
|
|
@@ -2014,10 +2014,10 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2014
2014
|
}, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : e(o).one ? (c(), m(x, {
|
|
2015
2015
|
key: 2,
|
|
2016
2016
|
block: "",
|
|
2017
|
-
"prepend-icon": `svg:${e(
|
|
2017
|
+
"prepend-icon": `svg:${e(_o)}`,
|
|
2018
2018
|
size: "default",
|
|
2019
2019
|
text: "Manage Subscription",
|
|
2020
|
-
onClick:
|
|
2020
|
+
onClick: y[4] || (y[4] = (B) => l.value = "status")
|
|
2021
2021
|
}, null, 8, ["prepend-icon"])) : (c(), m(x, {
|
|
2022
2022
|
key: 1,
|
|
2023
2023
|
block: "",
|
|
@@ -2027,7 +2027,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2027
2027
|
"prepend-icon": "$vuetify",
|
|
2028
2028
|
size: "default",
|
|
2029
2029
|
text: "Activate Subscription",
|
|
2030
|
-
onClick:
|
|
2030
|
+
onClick: y[3] || (y[3] = (B) => e(o).subscribe(e(u), e(r)))
|
|
2031
2031
|
}, null, 8, ["color", "disabled", "loading"]))
|
|
2032
2032
|
])
|
|
2033
2033
|
]),
|
|
@@ -2036,12 +2036,12 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2036
2036
|
]), 1032, ["modelValue", "prepend-icon"]);
|
|
2037
2037
|
};
|
|
2038
2038
|
}
|
|
2039
|
-
}), ns = /* @__PURE__ */
|
|
2039
|
+
}), ns = /* @__PURE__ */ _({
|
|
2040
2040
|
__name: "VoSubscriptionListItem",
|
|
2041
2041
|
setup(p) {
|
|
2042
2042
|
const t = M(!1);
|
|
2043
2043
|
return (a, o) => {
|
|
2044
|
-
const i = os, u =
|
|
2044
|
+
const i = os, u = W;
|
|
2045
2045
|
return c(), m(u, {
|
|
2046
2046
|
active: e(t),
|
|
2047
2047
|
link: "",
|
|
@@ -2062,7 +2062,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2062
2062
|
}), ss = {
|
|
2063
2063
|
key: 0,
|
|
2064
2064
|
class: "text-success"
|
|
2065
|
-
}, Qe = /* @__PURE__ */
|
|
2065
|
+
}, Qe = /* @__PURE__ */ _({
|
|
2066
2066
|
__name: "VoSponsorshipsTimelineItem",
|
|
2067
2067
|
props: {
|
|
2068
2068
|
title: {},
|
|
@@ -2128,7 +2128,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2128
2128
|
}, 8, ["dot-color", "icon"]);
|
|
2129
2129
|
};
|
|
2130
2130
|
}
|
|
2131
|
-
}), as = /* @__PURE__ */
|
|
2131
|
+
}), as = /* @__PURE__ */ _({
|
|
2132
2132
|
__name: "VoSponsorshipsTimelineItemDiscord",
|
|
2133
2133
|
setup(p) {
|
|
2134
2134
|
const t = O();
|
|
@@ -2143,7 +2143,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2143
2143
|
}, null, 8, ["sponsorship"]);
|
|
2144
2144
|
};
|
|
2145
2145
|
}
|
|
2146
|
-
}), is = /* @__PURE__ */
|
|
2146
|
+
}), is = /* @__PURE__ */ _({
|
|
2147
2147
|
__name: "VoSponsorshipsTimelineItemGithub",
|
|
2148
2148
|
setup(p) {
|
|
2149
2149
|
const t = O();
|
|
@@ -2158,7 +2158,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2158
2158
|
}, null, 8, ["sponsorship"]);
|
|
2159
2159
|
};
|
|
2160
2160
|
}
|
|
2161
|
-
}), rs = /* @__PURE__ */
|
|
2161
|
+
}), rs = /* @__PURE__ */ _({
|
|
2162
2162
|
__name: "VoSponsorshipsTimelineItemOne",
|
|
2163
2163
|
setup(p) {
|
|
2164
2164
|
const t = O();
|
|
@@ -2173,7 +2173,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2173
2173
|
}, null, 8, ["sponsorship"]);
|
|
2174
2174
|
};
|
|
2175
2175
|
}
|
|
2176
|
-
}), ls = /* @__PURE__ */
|
|
2176
|
+
}), ls = /* @__PURE__ */ _({
|
|
2177
2177
|
__name: "VoSponsorshipsTimeline",
|
|
2178
2178
|
setup(p) {
|
|
2179
2179
|
return (t, a) => {
|
|
@@ -2194,7 +2194,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2194
2194
|
});
|
|
2195
2195
|
};
|
|
2196
2196
|
}
|
|
2197
|
-
}), us = { class: "px-3 pb-5 d-flex flex-column h-100" }, cs = { class: "font-weight-black" }, ds = { class: "text-caption text-medium-emphasis" }, ps = /* @__PURE__ */
|
|
2197
|
+
}), us = { class: "px-3 pb-5 d-flex flex-column h-100" }, cs = { class: "font-weight-black" }, ds = { class: "text-caption text-medium-emphasis" }, ps = /* @__PURE__ */ _({
|
|
2198
2198
|
__name: "VoSponsorshipsDialog",
|
|
2199
2199
|
props: {
|
|
2200
2200
|
modelValue: { type: Boolean },
|
|
@@ -2202,7 +2202,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2202
2202
|
},
|
|
2203
2203
|
emits: ["update:modelValue"],
|
|
2204
2204
|
setup(p) {
|
|
2205
|
-
const t =
|
|
2205
|
+
const t = G(p, "modelValue"), a = Ce(), o = O();
|
|
2206
2206
|
return H(a, async () => {
|
|
2207
2207
|
a.value.one === "sponsorships" && (o.isOpen = !0, await be(), t.value = !0);
|
|
2208
2208
|
}, { immediate: !0 }), (i, u) => {
|
|
@@ -2219,7 +2219,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2219
2219
|
n(ce, { scrollable: "" }, {
|
|
2220
2220
|
default: s(() => [
|
|
2221
2221
|
g("div", us, [
|
|
2222
|
-
n(
|
|
2222
|
+
n(J, { class: "flex-0-0 mb-16 mb-sm-4" }, {
|
|
2223
2223
|
default: s(() => [
|
|
2224
2224
|
n(r, {
|
|
2225
2225
|
text: "Support Vuetify through GitHub Sponsors or Discord to unlock exclusive benefits and content.",
|
|
@@ -2261,12 +2261,12 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2261
2261
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
2262
2262
|
};
|
|
2263
2263
|
}
|
|
2264
|
-
}), ms = /* @__PURE__ */
|
|
2264
|
+
}), ms = /* @__PURE__ */ _({
|
|
2265
2265
|
__name: "VoSponsorshipsListItem",
|
|
2266
2266
|
setup(p) {
|
|
2267
2267
|
const t = M(!1);
|
|
2268
2268
|
return (a, o) => {
|
|
2269
|
-
const i = ps, u =
|
|
2269
|
+
const i = ps, u = W;
|
|
2270
2270
|
return c(), m(u, {
|
|
2271
2271
|
active: e(t),
|
|
2272
2272
|
link: "",
|
|
@@ -2284,8 +2284,8 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2284
2284
|
}, 8, ["active", "prepend-icon"]);
|
|
2285
2285
|
};
|
|
2286
2286
|
}
|
|
2287
|
-
}), fs =
|
|
2288
|
-
const p =
|
|
2287
|
+
}), fs = q("downloads", () => {
|
|
2288
|
+
const p = Y(), t = ee(), a = E([]), o = M(!1);
|
|
2289
2289
|
async function i() {
|
|
2290
2290
|
if (a.value.length > 0)
|
|
2291
2291
|
return a.value;
|
|
@@ -2305,7 +2305,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2305
2305
|
isLoading: o,
|
|
2306
2306
|
index: i
|
|
2307
2307
|
};
|
|
2308
|
-
}), vs = /* @__PURE__ */
|
|
2308
|
+
}), vs = /* @__PURE__ */ _({
|
|
2309
2309
|
__name: "VoDownloadsTable",
|
|
2310
2310
|
setup(p) {
|
|
2311
2311
|
const t = me(), a = fs(), o = [
|
|
@@ -2360,7 +2360,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2360
2360
|
S(V(e(t).format(l.created_at, "shortDate")), 1)
|
|
2361
2361
|
]),
|
|
2362
2362
|
"item.download_items": s(({ item: l }) => [
|
|
2363
|
-
(c(!0), C(D, null,
|
|
2363
|
+
(c(!0), C(D, null, K(l.download_items, (d, f) => (c(), C("div", {
|
|
2364
2364
|
key: f,
|
|
2365
2365
|
class: "text-truncate"
|
|
2366
2366
|
}, V(d.name), 1))), 128))
|
|
@@ -2388,12 +2388,12 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2388
2388
|
});
|
|
2389
2389
|
};
|
|
2390
2390
|
}
|
|
2391
|
-
}), gs = { class: "px-3" },
|
|
2391
|
+
}), gs = { class: "px-3" }, ys = /* @__PURE__ */ _({
|
|
2392
2392
|
__name: "VoDownloadsNavItem",
|
|
2393
2393
|
setup(p) {
|
|
2394
2394
|
const t = M(!1);
|
|
2395
2395
|
return (a, o) => {
|
|
2396
|
-
const i = vs, u = de, r =
|
|
2396
|
+
const i = vs, u = de, r = W;
|
|
2397
2397
|
return c(), m(r, {
|
|
2398
2398
|
active: e(t),
|
|
2399
2399
|
link: "",
|
|
@@ -2414,7 +2414,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2414
2414
|
n(ce, { scrollable: "" }, {
|
|
2415
2415
|
default: s(() => [
|
|
2416
2416
|
g("div", gs, [
|
|
2417
|
-
n(
|
|
2417
|
+
n(J, null, {
|
|
2418
2418
|
default: s(() => [
|
|
2419
2419
|
n(i)
|
|
2420
2420
|
]),
|
|
@@ -2435,7 +2435,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2435
2435
|
}, 8, ["active", "prepend-icon"]);
|
|
2436
2436
|
};
|
|
2437
2437
|
}
|
|
2438
|
-
}),
|
|
2438
|
+
}), _s = { class: "px-3" }, hs = { class: "d-flex align-center" }, bs = { class: "d-flex align-center" }, Cs = /* @__PURE__ */ _({
|
|
2439
2439
|
__name: "VoTeamDialog",
|
|
2440
2440
|
props: {
|
|
2441
2441
|
modelValue: { type: Boolean },
|
|
@@ -2443,7 +2443,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2443
2443
|
},
|
|
2444
2444
|
emits: ["update:modelValue"],
|
|
2445
2445
|
setup(p) {
|
|
2446
|
-
const t = O(), a = De(), o =
|
|
2446
|
+
const t = O(), a = De(), o = Y(), { copy: i, copied: u } = Oe(), r = b(() => a.team), l = Ce(), d = M(!1), f = [
|
|
2447
2447
|
{
|
|
2448
2448
|
title: "Name",
|
|
2449
2449
|
key: "name"
|
|
@@ -2454,19 +2454,19 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2454
2454
|
align: "end",
|
|
2455
2455
|
sortable: !1
|
|
2456
2456
|
}
|
|
2457
|
-
], v = b(() => `https://one.vuetifyjs.com/?invite=${a.team?.inviteCode}`),
|
|
2457
|
+
], v = b(() => `https://one.vuetifyjs.com/?invite=${a.team?.inviteCode}`), y = G(p, "modelValue");
|
|
2458
2458
|
async function k() {
|
|
2459
2459
|
d.value = !0;
|
|
2460
2460
|
const $ = await o.post("/one/team/regen");
|
|
2461
2461
|
a.team = $.team;
|
|
2462
2462
|
}
|
|
2463
2463
|
return H(l, async () => {
|
|
2464
|
-
!t.sessionId || l.value.one === "subscribe" || l.value.team && (t.isOpen = !0, await be(),
|
|
2464
|
+
!t.sessionId || l.value.one === "subscribe" || l.value.team && (t.isOpen = !0, await be(), y.value = !0);
|
|
2465
2465
|
}, { immediate: !0 }), ($, L) => {
|
|
2466
|
-
const U = ie,
|
|
2467
|
-
return c(), m(
|
|
2468
|
-
modelValue:
|
|
2469
|
-
"onUpdate:modelValue": L[2] || (L[2] = (x) =>
|
|
2466
|
+
const U = ie, Q = de;
|
|
2467
|
+
return c(), m(Q, {
|
|
2468
|
+
modelValue: y.value,
|
|
2469
|
+
"onUpdate:modelValue": L[2] || (L[2] = (x) => y.value = x),
|
|
2470
2470
|
"prepend-icon": `svg:${e($o)}`,
|
|
2471
2471
|
title: "Team"
|
|
2472
2472
|
}, {
|
|
@@ -2475,8 +2475,8 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2475
2475
|
default: s(() => [
|
|
2476
2476
|
n(ce, { scrollable: "" }, {
|
|
2477
2477
|
default: s(() => [
|
|
2478
|
-
g("div",
|
|
2479
|
-
n(
|
|
2478
|
+
g("div", _s, [
|
|
2479
|
+
n(J, null, {
|
|
2480
2480
|
default: s(() => [
|
|
2481
2481
|
n(U, {
|
|
2482
2482
|
text: "Share access to Vuetify One with up to 25 team members.",
|
|
@@ -2492,7 +2492,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2492
2492
|
rounded: "lg"
|
|
2493
2493
|
}, {
|
|
2494
2494
|
default: s(() => [
|
|
2495
|
-
n(
|
|
2495
|
+
n(Fe, {
|
|
2496
2496
|
class: "bg-surface",
|
|
2497
2497
|
subtitle: `Team - ${e(r)?.members?.length} member(s)`,
|
|
2498
2498
|
title: "Members"
|
|
@@ -2521,7 +2521,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2521
2521
|
default: s(() => [
|
|
2522
2522
|
n(P, { color: "surface-light" }, {
|
|
2523
2523
|
default: s(() => [
|
|
2524
|
-
n(
|
|
2524
|
+
n(Fe, {
|
|
2525
2525
|
class: "bg-surface",
|
|
2526
2526
|
"prepend-icon": `svg:${e(Lo)}`,
|
|
2527
2527
|
subtitle: "Provide this link to invite your team members",
|
|
@@ -2540,7 +2540,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2540
2540
|
]),
|
|
2541
2541
|
_: 1
|
|
2542
2542
|
}, 8, ["prepend-icon"]),
|
|
2543
|
-
n(
|
|
2543
|
+
n(J, { class: "pt-4" }, {
|
|
2544
2544
|
default: s(() => [
|
|
2545
2545
|
n(Ct, {
|
|
2546
2546
|
flat: "",
|
|
@@ -2556,7 +2556,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2556
2556
|
size: "small",
|
|
2557
2557
|
onClick: L[0] || (L[0] = (x) => e(i)(e(v)))
|
|
2558
2558
|
}, null, 8, ["icon"]), [
|
|
2559
|
-
[
|
|
2559
|
+
[X, "Copy Team link"]
|
|
2560
2560
|
])
|
|
2561
2561
|
]),
|
|
2562
2562
|
_: 1
|
|
@@ -2578,7 +2578,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2578
2578
|
} : void 0
|
|
2579
2579
|
]), 1032, ["subtitle"]),
|
|
2580
2580
|
n(N),
|
|
2581
|
-
n(
|
|
2581
|
+
n(J, { class: "pa-2" }, {
|
|
2582
2582
|
default: s(() => [
|
|
2583
2583
|
n($e, {
|
|
2584
2584
|
border: "",
|
|
@@ -2592,7 +2592,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2592
2592
|
}, {
|
|
2593
2593
|
"item.name": s(({ item: x }) => [
|
|
2594
2594
|
g("div", hs, [
|
|
2595
|
-
n(
|
|
2595
|
+
n(oe, {
|
|
2596
2596
|
image: x.picture,
|
|
2597
2597
|
size: "x-small",
|
|
2598
2598
|
start: ""
|
|
@@ -2642,7 +2642,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2642
2642
|
rounded: "lg"
|
|
2643
2643
|
}, {
|
|
2644
2644
|
default: s(() => [
|
|
2645
|
-
n(
|
|
2645
|
+
n(Fe, {
|
|
2646
2646
|
"prepend-icon": `svg:${e(ot)}`,
|
|
2647
2647
|
subtitle: "You are currently a member of a team with an All-access Pass.",
|
|
2648
2648
|
title: "My Team access"
|
|
@@ -2650,7 +2650,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2650
2650
|
title: s(() => [
|
|
2651
2651
|
g("div", bs, [
|
|
2652
2652
|
L[4] || (L[4] = S(" My Team Access ", -1)),
|
|
2653
|
-
n(
|
|
2653
|
+
n(te, {
|
|
2654
2654
|
border: "thin opacity-25 success",
|
|
2655
2655
|
class: "ms-2",
|
|
2656
2656
|
color: "success",
|
|
@@ -2689,12 +2689,12 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2689
2689
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
2690
2690
|
};
|
|
2691
2691
|
}
|
|
2692
|
-
}), ks = /* @__PURE__ */
|
|
2692
|
+
}), ks = /* @__PURE__ */ _({
|
|
2693
2693
|
__name: "VoTeamListItem",
|
|
2694
2694
|
setup(p) {
|
|
2695
2695
|
const t = M(!1);
|
|
2696
2696
|
return (a, o) => {
|
|
2697
|
-
const i = Cs, u =
|
|
2697
|
+
const i = Cs, u = W;
|
|
2698
2698
|
return c(), m(u, {
|
|
2699
2699
|
active: e(t),
|
|
2700
2700
|
link: "",
|
|
@@ -2803,10 +2803,10 @@ function Tt() {
|
|
|
2803
2803
|
togglePin: o
|
|
2804
2804
|
};
|
|
2805
2805
|
}
|
|
2806
|
-
const at = /* @__PURE__ */
|
|
2806
|
+
const at = /* @__PURE__ */ _({
|
|
2807
2807
|
__name: "VoEcosystemMenu",
|
|
2808
2808
|
setup(p) {
|
|
2809
|
-
const t =
|
|
2809
|
+
const t = F(), { actions: a, isPinned: o, togglePin: i } = Tt();
|
|
2810
2810
|
return (u, r) => (c(), m(P, {
|
|
2811
2811
|
border: "",
|
|
2812
2812
|
"min-width": "240",
|
|
@@ -2818,7 +2818,7 @@ const at = /* @__PURE__ */ y({
|
|
|
2818
2818
|
nav: ""
|
|
2819
2819
|
}, {
|
|
2820
2820
|
default: s(() => [
|
|
2821
|
-
(c(!0), C(D, null,
|
|
2821
|
+
(c(!0), C(D, null, K(e(a), (l) => Z((c(), m(le, {
|
|
2822
2822
|
key: l.id,
|
|
2823
2823
|
href: l.href,
|
|
2824
2824
|
"prepend-icon": l.icon,
|
|
@@ -2833,15 +2833,15 @@ const at = /* @__PURE__ */ y({
|
|
|
2833
2833
|
icon: `svg:${e(o)(l.id) ? e(Io) : e(Do)}`,
|
|
2834
2834
|
size: "x-small",
|
|
2835
2835
|
variant: "text",
|
|
2836
|
-
onClick:
|
|
2836
|
+
onClick: _e((d) => e(i)(l.id), ["prevent", "stop"])
|
|
2837
2837
|
}, null, 8, ["icon", "onClick"]), [
|
|
2838
|
-
[
|
|
2838
|
+
[X, e(o)(l.id) ? "Unpin" : "Pin", "top"]
|
|
2839
2839
|
])
|
|
2840
2840
|
]),
|
|
2841
2841
|
key: "0"
|
|
2842
2842
|
} : void 0
|
|
2843
2843
|
]), 1032, ["href", "prepend-icon", "title"])), [
|
|
2844
|
-
[
|
|
2844
|
+
[X, l.description, "start"]
|
|
2845
2845
|
])), 128))
|
|
2846
2846
|
]),
|
|
2847
2847
|
_: 1
|
|
@@ -2850,14 +2850,14 @@ const at = /* @__PURE__ */ y({
|
|
|
2850
2850
|
_: 1
|
|
2851
2851
|
}));
|
|
2852
2852
|
}
|
|
2853
|
-
}), Vs = /* @__PURE__ */
|
|
2853
|
+
}), Vs = /* @__PURE__ */ _({
|
|
2854
2854
|
__name: "VoEcosystemListItem",
|
|
2855
2855
|
setup(p) {
|
|
2856
2856
|
const t = T(), { mobile: a } = ae(), o = M(!1);
|
|
2857
2857
|
return H(o, (i) => {
|
|
2858
2858
|
i && !t.one.ecosystem.seen && (t.one.ecosystem.seen = !0);
|
|
2859
2859
|
}), (i, u) => {
|
|
2860
|
-
const r =
|
|
2860
|
+
const r = W;
|
|
2861
2861
|
return c(), m(r, {
|
|
2862
2862
|
link: "",
|
|
2863
2863
|
"prepend-icon": "$vuetify-outline",
|
|
@@ -2896,7 +2896,7 @@ const at = /* @__PURE__ */ y({
|
|
|
2896
2896
|
e(t).one.ecosystem.seen ? void 0 : {
|
|
2897
2897
|
name: "append",
|
|
2898
2898
|
fn: s(() => [
|
|
2899
|
-
n(
|
|
2899
|
+
n(te, {
|
|
2900
2900
|
color: "success",
|
|
2901
2901
|
size: "x-small",
|
|
2902
2902
|
text: "NEW",
|
|
@@ -2914,7 +2914,7 @@ const at = /* @__PURE__ */ y({
|
|
|
2914
2914
|
}, xs = {
|
|
2915
2915
|
key: 1,
|
|
2916
2916
|
class: "pa-5"
|
|
2917
|
-
}, Ls = { class: "text-subtitle-1 font-weight-bold" }, ws = { class: "text-caption font-weight-bold text-medium-emphasis" }, Ss = { class: "text-disabled text-caption mt-2 mb-3" }, Ms = /* @__PURE__ */
|
|
2917
|
+
}, Ls = { class: "text-subtitle-1 font-weight-bold" }, ws = { class: "text-caption font-weight-bold text-medium-emphasis" }, Ss = { class: "text-disabled text-caption mt-2 mb-3" }, Ms = /* @__PURE__ */ _({
|
|
2918
2918
|
__name: "VoNotificationsBannerList",
|
|
2919
2919
|
props: {
|
|
2920
2920
|
items: {}
|
|
@@ -2947,7 +2947,7 @@ const at = /* @__PURE__ */ y({
|
|
|
2947
2947
|
_: 1
|
|
2948
2948
|
})
|
|
2949
2949
|
])) : (c(), C("div", xs, [
|
|
2950
|
-
(c(!0), C(D, null,
|
|
2950
|
+
(c(!0), C(D, null, K(r.items, (d) => (c(), C("div", {
|
|
2951
2951
|
key: d.slug,
|
|
2952
2952
|
class: "mb-4"
|
|
2953
2953
|
}, [
|
|
@@ -2959,7 +2959,7 @@ const at = /* @__PURE__ */ y({
|
|
|
2959
2959
|
title: d.title
|
|
2960
2960
|
}, {
|
|
2961
2961
|
prepend: s(() => [
|
|
2962
|
-
n(
|
|
2962
|
+
n(oe, {
|
|
2963
2963
|
image: d.metadata.images.logo?.url
|
|
2964
2964
|
}, null, 8, ["image"])
|
|
2965
2965
|
]),
|
|
@@ -2980,10 +2980,10 @@ const at = /* @__PURE__ */ y({
|
|
|
2980
2980
|
location: "bottom",
|
|
2981
2981
|
text: i(d.slug) ? "Mark as unread" : "Mark as read"
|
|
2982
2982
|
}, {
|
|
2983
|
-
activator: s(({ props:
|
|
2983
|
+
activator: s(({ props: y }) => [
|
|
2984
2984
|
n(xe, { "hide-on-leave": "" }, {
|
|
2985
2985
|
default: s(() => [
|
|
2986
|
-
Z(n(A, R({ ref_for: !0 },
|
|
2986
|
+
Z(n(A, R({ ref_for: !0 }, y, {
|
|
2987
2987
|
class: "ms-auto float-right",
|
|
2988
2988
|
icon: `svg:${i(d.slug) ? e(We) : e(qe)}`,
|
|
2989
2989
|
size: "small",
|
|
@@ -3001,7 +3001,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3001
3001
|
g("div", Ls, V(d.metadata.text), 1),
|
|
3002
3002
|
g("div", ws, V(e(t).format(d.created_at, "fullDateWithWeekday")), 1),
|
|
3003
3003
|
g("div", Ss, V(d.metadata.subtext), 1),
|
|
3004
|
-
n(
|
|
3004
|
+
n(te, R({ ref_for: !0 }, {
|
|
3005
3005
|
href: d.metadata.link.startsWith("http") ? d.metadata.link : void 0,
|
|
3006
3006
|
target: d.metadata.link.startsWith("http") ? "_blank" : void 0,
|
|
3007
3007
|
to: d.metadata.link.startsWith("http") ? void 0 : d.metadata.link
|
|
@@ -3030,7 +3030,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3030
3030
|
_: 1
|
|
3031
3031
|
}));
|
|
3032
3032
|
}
|
|
3033
|
-
}), Is = { class: "ps-3 text-subtitle-2 pe-2" }, Ds = { class: "text-truncate" }, As = { class: "text-caption font-weight-bold text-medium-emphasis" }, Ts = { class: "text-disabled text-caption my-2" }, Us = /* @__PURE__ */
|
|
3033
|
+
}), Is = { class: "ps-3 text-subtitle-2 pe-2" }, Ds = { class: "text-truncate" }, As = { class: "text-caption font-weight-bold text-medium-emphasis" }, Ts = { class: "text-disabled text-caption my-2" }, Us = /* @__PURE__ */ _({
|
|
3034
3034
|
__name: "VoNotificationsListItem",
|
|
3035
3035
|
props: {
|
|
3036
3036
|
demo: { type: Boolean },
|
|
@@ -3056,9 +3056,9 @@ const at = /* @__PURE__ */ y({
|
|
|
3056
3056
|
t.demo || (r(d.slug) ? a.one.notifications.read = a.one.notifications.read.filter((f) => f !== d.slug) : a.one.notifications.read.push(d.slug));
|
|
3057
3057
|
}
|
|
3058
3058
|
return (d, f) => {
|
|
3059
|
-
const v =
|
|
3059
|
+
const v = W;
|
|
3060
3060
|
return c(), m(ve, null, {
|
|
3061
|
-
default: s(({ isHovering:
|
|
3061
|
+
default: s(({ isHovering: y, props: k }) => [
|
|
3062
3062
|
n(v, R(k, { class: "py-4 mb-0" }), {
|
|
3063
3063
|
prepend: s(() => [
|
|
3064
3064
|
g("div", Is, V(d.notification.metadata.emoji), 1)
|
|
@@ -3084,7 +3084,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3084
3084
|
variant: "text",
|
|
3085
3085
|
onClick: f[0] || (f[0] = (L) => l(d.notification))
|
|
3086
3086
|
}), null, 16, ["icon"]), [
|
|
3087
|
-
[Ie,
|
|
3087
|
+
[Ie, y || e(i).mobile.value]
|
|
3088
3088
|
])
|
|
3089
3089
|
]),
|
|
3090
3090
|
_: 2
|
|
@@ -3097,7 +3097,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3097
3097
|
}, 1024)
|
|
3098
3098
|
]),
|
|
3099
3099
|
default: s(() => [
|
|
3100
|
-
n(
|
|
3100
|
+
n(yt, { class: "text-wrap text-h6 mb-1" }, {
|
|
3101
3101
|
default: s(() => [
|
|
3102
3102
|
g("div", Ds, V(d.notification.title), 1)
|
|
3103
3103
|
]),
|
|
@@ -3105,7 +3105,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3105
3105
|
}),
|
|
3106
3106
|
g("div", As, V(e(o).format(d.notification.created_at, "fullDateWithWeekday")), 1),
|
|
3107
3107
|
g("div", Ts, V(d.notification.metadata.text), 1),
|
|
3108
|
-
n(
|
|
3108
|
+
n(te, R({
|
|
3109
3109
|
"append-icon": `svg:${e(Ae)}`
|
|
3110
3110
|
}, e(u), {
|
|
3111
3111
|
border: "",
|
|
@@ -3130,7 +3130,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3130
3130
|
}), Ps = {
|
|
3131
3131
|
key: 0,
|
|
3132
3132
|
class: "pt-16"
|
|
3133
|
-
}, zs = /* @__PURE__ */
|
|
3133
|
+
}, zs = /* @__PURE__ */ _({
|
|
3134
3134
|
__name: "VoNotificationsList",
|
|
3135
3135
|
props: {
|
|
3136
3136
|
items: {}
|
|
@@ -3157,7 +3157,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3157
3157
|
])]),
|
|
3158
3158
|
_: 1
|
|
3159
3159
|
})
|
|
3160
|
-
])) : (c(!0), C(D, { key: 1 },
|
|
3160
|
+
])) : (c(!0), C(D, { key: 1 }, K(t.items, (i, u) => (c(), C(D, {
|
|
3161
3161
|
key: i.slug
|
|
3162
3162
|
}, [
|
|
3163
3163
|
u !== 0 ? (c(), m(N, { key: 0 })) : h("", !0),
|
|
@@ -3168,14 +3168,14 @@ const at = /* @__PURE__ */ y({
|
|
|
3168
3168
|
});
|
|
3169
3169
|
};
|
|
3170
3170
|
}
|
|
3171
|
-
}), Ut =
|
|
3172
|
-
const p =
|
|
3171
|
+
}), Ut = q("site", () => {
|
|
3172
|
+
const p = E([]), t = E();
|
|
3173
3173
|
return {
|
|
3174
3174
|
id: p,
|
|
3175
3175
|
url: t
|
|
3176
3176
|
};
|
|
3177
|
-
}), Be =
|
|
3178
|
-
const p =
|
|
3177
|
+
}), Be = q("banners", () => {
|
|
3178
|
+
const p = Y(), t = Ut(), a = T(), o = ee(), i = E([]), u = M(!1), r = b(() => {
|
|
3179
3179
|
if (l.value)
|
|
3180
3180
|
return l.value;
|
|
3181
3181
|
if (a.one.banners.enabled) {
|
|
@@ -3188,9 +3188,9 @@ const at = /* @__PURE__ */ y({
|
|
|
3188
3188
|
slug: f,
|
|
3189
3189
|
metadata: {
|
|
3190
3190
|
site: v,
|
|
3191
|
-
active:
|
|
3191
|
+
active: y
|
|
3192
3192
|
}
|
|
3193
|
-
}) => !
|
|
3193
|
+
}) => !y || a.one.banners.read.includes(f) ? !1 : v.includes("dev") && !1 || v.includes("*") ? !0 : v.some((k) => t.id.includes(k)));
|
|
3194
3194
|
}
|
|
3195
3195
|
}), l = b(() => i.value.find(({
|
|
3196
3196
|
metadata: {
|
|
@@ -3217,8 +3217,8 @@ const at = /* @__PURE__ */ y({
|
|
|
3217
3217
|
banner: r,
|
|
3218
3218
|
index: d
|
|
3219
3219
|
};
|
|
3220
|
-
}),
|
|
3221
|
-
const p =
|
|
3220
|
+
}), Ee = q("notifications", () => {
|
|
3221
|
+
const p = Y(), t = T(), a = ee(), o = E([]), i = M(!1), u = b(() => o.value.filter((d) => !t.one.notifications.read.includes(d.slug))), r = b(() => o.value.filter((d) => t.one.notifications.read.includes(d.slug)));
|
|
3222
3222
|
async function l() {
|
|
3223
3223
|
try {
|
|
3224
3224
|
i.value = !0;
|
|
@@ -3238,7 +3238,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3238
3238
|
unread: u,
|
|
3239
3239
|
index: l
|
|
3240
3240
|
};
|
|
3241
|
-
}), Os = { class: "text-caption" }, Bs = { class: "text-caption" },
|
|
3241
|
+
}), Os = { class: "text-caption" }, Bs = { class: "text-caption" }, Es = /* @__PURE__ */ _({
|
|
3242
3242
|
__name: "VoNotificationsDialog",
|
|
3243
3243
|
props: {
|
|
3244
3244
|
modelValue: { type: Boolean },
|
|
@@ -3246,10 +3246,10 @@ const at = /* @__PURE__ */ y({
|
|
|
3246
3246
|
},
|
|
3247
3247
|
emits: ["update:modelValue"],
|
|
3248
3248
|
setup(p) {
|
|
3249
|
-
const t = ae(), a = Ce(), o = Be(), i =
|
|
3249
|
+
const t = ae(), a = Ce(), o = Be(), i = Ee(), u = O(), r = T(), l = M(["read"]), d = G(p, "modelValue");
|
|
3250
3250
|
function f() {
|
|
3251
|
-
const
|
|
3252
|
-
r.one.notifications.read.push(...
|
|
3251
|
+
const y = i.unread.map((k) => k.slug);
|
|
3252
|
+
r.one.notifications.read.push(...y);
|
|
3253
3253
|
}
|
|
3254
3254
|
function v() {
|
|
3255
3255
|
r.one.notifications.read = [];
|
|
@@ -3260,9 +3260,9 @@ const at = /* @__PURE__ */ y({
|
|
|
3260
3260
|
return;
|
|
3261
3261
|
}
|
|
3262
3262
|
u.isOpen = !0, await be(), d.value = !0;
|
|
3263
|
-
}, { immediate: !0 }), (
|
|
3264
|
-
const $ =
|
|
3265
|
-
return c(), m(
|
|
3263
|
+
}, { immediate: !0 }), (y, k) => {
|
|
3264
|
+
const $ = W, L = zs, U = Ms, Q = de;
|
|
3265
|
+
return c(), m(Q, {
|
|
3266
3266
|
modelValue: d.value,
|
|
3267
3267
|
"onUpdate:modelValue": k[2] || (k[2] = (x) => d.value = x),
|
|
3268
3268
|
"prepend-icon": `svg:${e(Ao)}`,
|
|
@@ -3279,7 +3279,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3279
3279
|
variant: "text",
|
|
3280
3280
|
onClick: f
|
|
3281
3281
|
}, null, 8, ["disabled", "icon"])), [
|
|
3282
|
-
[
|
|
3282
|
+
[X, "Mark All as Read", "start"]
|
|
3283
3283
|
]) : h("", !0),
|
|
3284
3284
|
e(l)[0] === "unread" ? Z((c(), m(A, {
|
|
3285
3285
|
key: 1,
|
|
@@ -3291,7 +3291,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3291
3291
|
variant: "text",
|
|
3292
3292
|
onClick: v
|
|
3293
3293
|
}, null, 8, ["disabled", "icon"])), [
|
|
3294
|
-
[
|
|
3294
|
+
[X, "Mark All as Unread", "start"]
|
|
3295
3295
|
]) : h("", !0)
|
|
3296
3296
|
]),
|
|
3297
3297
|
default: s(() => [
|
|
@@ -3365,7 +3365,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3365
3365
|
"onUpdate:modelValue": k[1] || (k[1] = (x) => j(l) ? l.value = x : null)
|
|
3366
3366
|
}, {
|
|
3367
3367
|
default: s(() => [
|
|
3368
|
-
n(
|
|
3368
|
+
n(ye, { value: "read" }, {
|
|
3369
3369
|
default: s(() => [
|
|
3370
3370
|
n(L, {
|
|
3371
3371
|
items: e(i).unread
|
|
@@ -3373,7 +3373,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3373
3373
|
]),
|
|
3374
3374
|
_: 1
|
|
3375
3375
|
}),
|
|
3376
|
-
n(
|
|
3376
|
+
n(ye, { value: "unread" }, {
|
|
3377
3377
|
default: s(() => [
|
|
3378
3378
|
n(L, {
|
|
3379
3379
|
items: e(i).read
|
|
@@ -3381,7 +3381,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3381
3381
|
]),
|
|
3382
3382
|
_: 1
|
|
3383
3383
|
}),
|
|
3384
|
-
n(
|
|
3384
|
+
n(ye, { value: "banners" }, {
|
|
3385
3385
|
default: s(() => [
|
|
3386
3386
|
n(U, {
|
|
3387
3387
|
items: e(o).all
|
|
@@ -3403,10 +3403,10 @@ const at = /* @__PURE__ */ y({
|
|
|
3403
3403
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
3404
3404
|
};
|
|
3405
3405
|
}
|
|
3406
|
-
}),
|
|
3406
|
+
}), Fs = /* @__PURE__ */ _({
|
|
3407
3407
|
__name: "VoNotificationsBadge",
|
|
3408
3408
|
setup(p) {
|
|
3409
|
-
const t =
|
|
3409
|
+
const t = Ee(), a = T();
|
|
3410
3410
|
return (o, i) => (c(), m(Ye, {
|
|
3411
3411
|
color: "error",
|
|
3412
3412
|
content: e(t).unread.length,
|
|
@@ -3418,14 +3418,14 @@ const at = /* @__PURE__ */ y({
|
|
|
3418
3418
|
_: 3
|
|
3419
3419
|
}, 8, ["content", "model-value"]));
|
|
3420
3420
|
}
|
|
3421
|
-
}), Zs = /* @__PURE__ */
|
|
3421
|
+
}), Zs = /* @__PURE__ */ _({
|
|
3422
3422
|
__name: "VoNotificationsNavItem",
|
|
3423
3423
|
setup(p) {
|
|
3424
|
-
const t = Be(), a = T(), o =
|
|
3424
|
+
const t = Be(), a = T(), o = Ee(), i = M(!1);
|
|
3425
3425
|
return He(async () => {
|
|
3426
3426
|
o.index(), t.index();
|
|
3427
3427
|
}), (u, r) => {
|
|
3428
|
-
const l =
|
|
3428
|
+
const l = Fs, d = Es, f = W;
|
|
3429
3429
|
return e(a).one.notifications.enabled ? (c(), m(f, {
|
|
3430
3430
|
key: 0,
|
|
3431
3431
|
active: e(i),
|
|
@@ -3457,7 +3457,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3457
3457
|
]), 1032, ["active", "prepend-icon"])) : h("", !0);
|
|
3458
3458
|
};
|
|
3459
3459
|
}
|
|
3460
|
-
}), Ns = /* @__PURE__ */
|
|
3460
|
+
}), Ns = /* @__PURE__ */ _({
|
|
3461
3461
|
__name: "VoDashboardNavItem",
|
|
3462
3462
|
setup(p) {
|
|
3463
3463
|
const t = O();
|
|
@@ -3467,7 +3467,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3467
3467
|
}, 100);
|
|
3468
3468
|
}
|
|
3469
3469
|
return (o, i) => {
|
|
3470
|
-
const u =
|
|
3470
|
+
const u = W;
|
|
3471
3471
|
return c(), m(u, {
|
|
3472
3472
|
"prepend-icon": `svg:${e(Oo)}`,
|
|
3473
3473
|
rounded: "lg",
|
|
@@ -3477,12 +3477,12 @@ const at = /* @__PURE__ */ y({
|
|
|
3477
3477
|
}, null, 8, ["prepend-icon"]);
|
|
3478
3478
|
};
|
|
3479
3479
|
}
|
|
3480
|
-
}), Hs = /* @__PURE__ */
|
|
3480
|
+
}), Hs = /* @__PURE__ */ _({
|
|
3481
3481
|
__name: "VoUserList",
|
|
3482
3482
|
setup(p) {
|
|
3483
|
-
const t =
|
|
3483
|
+
const t = F(), a = O(), o = De();
|
|
3484
3484
|
return (i, u) => {
|
|
3485
|
-
const r = Ns, l = Zs, d = Vs, f = ks, v =
|
|
3485
|
+
const r = Ns, l = Zs, d = Vs, f = ks, v = ys, y = ms, k = ns, $ = Bn, L = Sn, U = bn;
|
|
3486
3486
|
return c(), m(ne, {
|
|
3487
3487
|
density: "compact",
|
|
3488
3488
|
nav: "",
|
|
@@ -3494,7 +3494,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3494
3494
|
n(d),
|
|
3495
3495
|
e(o).hasTeamAccess ? (c(), m(f, { key: 1 })) : h("", !0),
|
|
3496
3496
|
e(a).shopify ? (c(), m(v, { key: 2 })) : h("", !0),
|
|
3497
|
-
n(
|
|
3497
|
+
n(y),
|
|
3498
3498
|
e(t).user ? (c(), m(k, { key: 3 })) : h("", !0),
|
|
3499
3499
|
e(a).isSubscriber ? (c(), m($, { key: 4 })) : h("", !0),
|
|
3500
3500
|
n(L),
|
|
@@ -3504,10 +3504,10 @@ const at = /* @__PURE__ */ y({
|
|
|
3504
3504
|
});
|
|
3505
3505
|
};
|
|
3506
3506
|
}
|
|
3507
|
-
}), js = { class: "mb-2" }, Rs = { key: 0 }, qs = { class: "d-flex ga-4 flex-wrap justify-center mb-4" }, Ws = { class: "text-h6" }, Gs = /* @__PURE__ */
|
|
3507
|
+
}), js = { class: "mb-2" }, Rs = { key: 0 }, qs = { class: "d-flex ga-4 flex-wrap justify-center mb-4" }, Ws = { class: "text-h6" }, Gs = /* @__PURE__ */ _({
|
|
3508
3508
|
__name: "VoUserAvatar",
|
|
3509
3509
|
setup(p) {
|
|
3510
|
-
const t =
|
|
3510
|
+
const t = F(), a = O(), o = T(), i = M(!1), u = b(() => {
|
|
3511
3511
|
const d = [
|
|
3512
3512
|
"https://cdn.vuetifyjs.com/docs/images/avatars/dark.png",
|
|
3513
3513
|
"https://cdn.vuetifyjs.com/docs/images/avatars/blackguard.png",
|
|
@@ -3533,7 +3533,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3533
3533
|
a.isSubscriber && (i.value = !i.value);
|
|
3534
3534
|
}
|
|
3535
3535
|
return (d, f) => (c(), C("div", null, [
|
|
3536
|
-
Z((c(), m(
|
|
3536
|
+
Z((c(), m(oe, {
|
|
3537
3537
|
class: Nt([
|
|
3538
3538
|
"border-md border-opacity-100 border-surface-light",
|
|
3539
3539
|
{
|
|
@@ -3543,7 +3543,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3543
3543
|
color: "surface",
|
|
3544
3544
|
size: "72",
|
|
3545
3545
|
text: "Foobar",
|
|
3546
|
-
onClick:
|
|
3546
|
+
onClick: _e(l, ["prevent", "stop"])
|
|
3547
3547
|
}, {
|
|
3548
3548
|
default: s(() => [
|
|
3549
3549
|
e(t).user && e(o).one.avatar ? (c(), m(se, {
|
|
@@ -3572,15 +3572,15 @@ const at = /* @__PURE__ */ y({
|
|
|
3572
3572
|
}, {
|
|
3573
3573
|
default: s(() => [
|
|
3574
3574
|
g("div", qs, [
|
|
3575
|
-
(c(!0), C(D, null,
|
|
3576
|
-
key:
|
|
3575
|
+
(c(!0), C(D, null, K(e(u), (v, y) => (c(), m(A, {
|
|
3576
|
+
key: y,
|
|
3577
3577
|
active: e(o).one.avatar === v,
|
|
3578
3578
|
icon: "",
|
|
3579
3579
|
variant: "flat",
|
|
3580
3580
|
onClick: (k) => r(v)
|
|
3581
3581
|
}, {
|
|
3582
3582
|
default: s(() => [
|
|
3583
|
-
n(
|
|
3583
|
+
n(oe, {
|
|
3584
3584
|
eager: "",
|
|
3585
3585
|
image: v
|
|
3586
3586
|
}, null, 8, ["image"])
|
|
@@ -3599,7 +3599,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3599
3599
|
g("div", Ws, V(e(t).user?.name ?? "Guest"), 1)
|
|
3600
3600
|
]));
|
|
3601
3601
|
}
|
|
3602
|
-
}), Ks = ["href"], Ys = /* @__PURE__ */
|
|
3602
|
+
}), Ks = ["href"], Ys = /* @__PURE__ */ _({
|
|
3603
3603
|
__name: "VoUserPinnedEcosystem",
|
|
3604
3604
|
setup(p) {
|
|
3605
3605
|
const t = T(), { pinned: a } = Tt();
|
|
@@ -3611,7 +3611,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3611
3611
|
style: { right: "0", top: "8px" }
|
|
3612
3612
|
}, {
|
|
3613
3613
|
default: s(() => [
|
|
3614
|
-
(c(!0), C(D, null,
|
|
3614
|
+
(c(!0), C(D, null, K(e(a), (u) => (c(), m(ve, {
|
|
3615
3615
|
key: u.id
|
|
3616
3616
|
}, {
|
|
3617
3617
|
default: s(({ isHovering: r, props: l }) => [
|
|
@@ -3626,7 +3626,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3626
3626
|
size: "16"
|
|
3627
3627
|
}, null, 8, ["color", "icon"])
|
|
3628
3628
|
], 16, Ks)), [
|
|
3629
|
-
[
|
|
3629
|
+
[X, u.name, "start"]
|
|
3630
3630
|
])
|
|
3631
3631
|
]),
|
|
3632
3632
|
_: 2
|
|
@@ -3635,10 +3635,10 @@ const at = /* @__PURE__ */ y({
|
|
|
3635
3635
|
_: 1
|
|
3636
3636
|
})) : h("", !0);
|
|
3637
3637
|
}
|
|
3638
|
-
}), Qs = /* @__PURE__ */
|
|
3638
|
+
}), Qs = /* @__PURE__ */ _({
|
|
3639
3639
|
__name: "VoUserBadges",
|
|
3640
3640
|
setup(p) {
|
|
3641
|
-
const t =
|
|
3641
|
+
const t = F(), a = O(), o = b(() => a.github || a.discord || a.isSubscriber || t.user?.isAdmin);
|
|
3642
3642
|
return (i, u) => e(o) ? (c(), m($e, {
|
|
3643
3643
|
key: 0,
|
|
3644
3644
|
class: "align-center position-absolute ms-2 d-flex ga-2 pa-2",
|
|
@@ -3653,7 +3653,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3653
3653
|
icon: "$vuetify",
|
|
3654
3654
|
size: "16"
|
|
3655
3655
|
}, null, 512)), [
|
|
3656
|
-
[
|
|
3656
|
+
[X, "Vuetify Administrator", "bottom"]
|
|
3657
3657
|
]) : h("", !0),
|
|
3658
3658
|
e(a).isSubscriber ? Z((c(), m(I, {
|
|
3659
3659
|
key: 1,
|
|
@@ -3661,7 +3661,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3661
3661
|
icon: `svg:${e(Bo)}`,
|
|
3662
3662
|
size: "16"
|
|
3663
3663
|
}, null, 8, ["icon"])), [
|
|
3664
|
-
[
|
|
3664
|
+
[X, "Vuetify One Subscriber", "bottom"]
|
|
3665
3665
|
]) : h("", !0),
|
|
3666
3666
|
e(a).github ? Z((c(), m(I, {
|
|
3667
3667
|
key: 2,
|
|
@@ -3669,7 +3669,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3669
3669
|
icon: "$github",
|
|
3670
3670
|
size: "16"
|
|
3671
3671
|
}, null, 512)), [
|
|
3672
|
-
[
|
|
3672
|
+
[X, "GitHub Sponsor", "bottom"]
|
|
3673
3673
|
]) : h("", !0),
|
|
3674
3674
|
e(a).discord ? Z((c(), m(I, {
|
|
3675
3675
|
key: 3,
|
|
@@ -3677,7 +3677,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3677
3677
|
icon: "$discord",
|
|
3678
3678
|
size: "16"
|
|
3679
3679
|
}, null, 512)), [
|
|
3680
|
-
[
|
|
3680
|
+
[X, "Discord Subscriber", "bottom"]
|
|
3681
3681
|
]) : h("", !0)
|
|
3682
3682
|
]),
|
|
3683
3683
|
_: 1
|
|
@@ -3686,10 +3686,10 @@ const at = /* @__PURE__ */ y({
|
|
|
3686
3686
|
}), Xs = { class: "d-flex flex-grow-1 justify-end fill-height align-start" }, Js = {
|
|
3687
3687
|
key: "reset",
|
|
3688
3688
|
class: "align-self-end"
|
|
3689
|
-
}, ea = /* @__PURE__ */
|
|
3689
|
+
}, ea = /* @__PURE__ */ _({
|
|
3690
3690
|
__name: "VoUserColors",
|
|
3691
3691
|
setup(p) {
|
|
3692
|
-
const t =
|
|
3692
|
+
const t = F(), a = O(), o = T(), i = M(!1);
|
|
3693
3693
|
function u() {
|
|
3694
3694
|
o.one.colors.primary = "surface-light";
|
|
3695
3695
|
}
|
|
@@ -3716,7 +3716,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3716
3716
|
color: "inherit",
|
|
3717
3717
|
density: "comfortable",
|
|
3718
3718
|
disabled: e(o).one.colors.primary === "surface-light",
|
|
3719
|
-
icon: `svg:${e(
|
|
3719
|
+
icon: `svg:${e(Eo)}`,
|
|
3720
3720
|
title: "Revert to Default",
|
|
3721
3721
|
variant: "text",
|
|
3722
3722
|
onClick: u
|
|
@@ -3736,7 +3736,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3736
3736
|
icon: e(i) ? `svg:${e(ke)}` : "$edit",
|
|
3737
3737
|
title: "Edit One Header Color",
|
|
3738
3738
|
variant: e(i) ? "text" : "plain",
|
|
3739
|
-
onClick: l[0] || (l[0] = (
|
|
3739
|
+
onClick: l[0] || (l[0] = (y) => i.value = !e(i))
|
|
3740
3740
|
}, {
|
|
3741
3741
|
default: s(() => [
|
|
3742
3742
|
n(xe, { "leave-absolute": "" }, {
|
|
@@ -3768,7 +3768,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3768
3768
|
"show-swatches": "",
|
|
3769
3769
|
"swatches-max-height": "200",
|
|
3770
3770
|
width: "278",
|
|
3771
|
-
"onUpdate:modelValue": l[1] || (l[1] = (
|
|
3771
|
+
"onUpdate:modelValue": l[1] || (l[1] = (y) => e(o).one.colors.primary = y)
|
|
3772
3772
|
}, null, 8, ["model-value"])) : h("", !0)
|
|
3773
3773
|
]),
|
|
3774
3774
|
_: 1
|
|
@@ -3776,10 +3776,10 @@ const at = /* @__PURE__ */ y({
|
|
|
3776
3776
|
], 64);
|
|
3777
3777
|
};
|
|
3778
3778
|
}
|
|
3779
|
-
}), ta = { class: "text-center mt-n9 mb-4" }, oa = /* @__PURE__ */
|
|
3779
|
+
}), ta = { class: "text-center mt-n9 mb-4" }, oa = /* @__PURE__ */ _({
|
|
3780
3780
|
__name: "VoUserMenu",
|
|
3781
3781
|
setup(p) {
|
|
3782
|
-
const t = Be(), a = O(), o =
|
|
3782
|
+
const t = Be(), a = O(), o = E();
|
|
3783
3783
|
return H(() => t.banner, async () => {
|
|
3784
3784
|
await new Promise((i) => setTimeout(i, 300)), a.isOpen && o.value?.updateLocation?.();
|
|
3785
3785
|
}, { flush: "pre" }), (i, u) => {
|
|
@@ -3818,7 +3818,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3818
3818
|
}, 8, ["modelValue"]);
|
|
3819
3819
|
};
|
|
3820
3820
|
}
|
|
3821
|
-
}), na = { class: "me-n3" }, sa = /* @__PURE__ */
|
|
3821
|
+
}), na = { class: "me-n3" }, sa = /* @__PURE__ */ _({
|
|
3822
3822
|
__name: "VoTeamInvite",
|
|
3823
3823
|
setup(p) {
|
|
3824
3824
|
const t = De(), a = b(() => t.team?.name ?? `${t.team?.owner.name}'s team`);
|
|
@@ -3833,7 +3833,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3833
3833
|
}, {
|
|
3834
3834
|
default: s(({ isActive: r }) => [
|
|
3835
3835
|
n(P, {
|
|
3836
|
-
"prepend-icon": `svg:${e(
|
|
3836
|
+
"prepend-icon": `svg:${e(Fo)}`,
|
|
3837
3837
|
rounded: "lg",
|
|
3838
3838
|
title: "Join a Team"
|
|
3839
3839
|
}, {
|
|
@@ -3854,7 +3854,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3854
3854
|
]),
|
|
3855
3855
|
default: s(() => [
|
|
3856
3856
|
n(N, { opacity: ".2" }),
|
|
3857
|
-
n(
|
|
3857
|
+
n(_t, { class: "bg-surface-light" }, {
|
|
3858
3858
|
default: s(() => [
|
|
3859
3859
|
n(A, {
|
|
3860
3860
|
disabled: e(t).isLoading,
|
|
@@ -3883,21 +3883,21 @@ const at = /* @__PURE__ */ y({
|
|
|
3883
3883
|
_: 1
|
|
3884
3884
|
}, 8, ["modelValue"])) : h("", !0);
|
|
3885
3885
|
}
|
|
3886
|
-
}), aa = { key: 0 }, Pt = /* @__PURE__ */
|
|
3886
|
+
}), aa = { key: 0 }, Pt = /* @__PURE__ */ _({
|
|
3887
3887
|
__name: "VoAuthBtn",
|
|
3888
3888
|
props: {
|
|
3889
3889
|
external: Boolean
|
|
3890
3890
|
},
|
|
3891
3891
|
setup(p) {
|
|
3892
|
-
const t =
|
|
3892
|
+
const t = F(), a = Ee(), o = O(), i = T(), { lgAndUp: u, smAndUp: r } = ae(), l = b(() => o.isOpen || !t.user ? i.one.colors.primary === "surface-light" ? "primary" : i.one.colors.primary : "surface-light"), d = ge(() => i.one.notifications.enabled && a.unread.length > 0), f = ge(() => o.isSubscriber && !i.ecosystem.mcp.seen), v = ge(() => !!t.user && (d.value || f.value)), y = ge(() => f.value ? "success" : "error");
|
|
3893
3893
|
function k() {
|
|
3894
3894
|
t.user || (t.dialog = !0);
|
|
3895
3895
|
}
|
|
3896
3896
|
return ($, L) => {
|
|
3897
|
-
const U = oa,
|
|
3897
|
+
const U = oa, Q = we, x = It, pe = pn;
|
|
3898
3898
|
return c(), C(D, null, [
|
|
3899
3899
|
n(Ye, {
|
|
3900
|
-
color: e(
|
|
3900
|
+
color: e(y),
|
|
3901
3901
|
dot: "",
|
|
3902
3902
|
location: "end top",
|
|
3903
3903
|
"model-value": e(v),
|
|
@@ -3905,7 +3905,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3905
3905
|
"offset-y": e(t).user ? 5 : 0
|
|
3906
3906
|
}, {
|
|
3907
3907
|
default: s(() => [
|
|
3908
|
-
n(
|
|
3908
|
+
n(Q, R({
|
|
3909
3909
|
[`${e(u) ? "append-" : ""}icon`]: e(t).user ? void 0 : `svg:${e(nt)}`
|
|
3910
3910
|
}, {
|
|
3911
3911
|
active: "",
|
|
@@ -3920,7 +3920,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3920
3920
|
onClick: k
|
|
3921
3921
|
}), {
|
|
3922
3922
|
default: s(() => [
|
|
3923
|
-
e(t).user ? (c(), m(
|
|
3923
|
+
e(t).user ? (c(), m(oe, {
|
|
3924
3924
|
key: 0,
|
|
3925
3925
|
image: e(i).one.avatar || e(t).user.picture || ""
|
|
3926
3926
|
}, null, 8, ["image"])) : (c(), C(D, { key: 1 }, [
|
|
@@ -3948,7 +3948,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3948
3948
|
}, ra = { class: "text-h6 mb-3" }, la = {
|
|
3949
3949
|
key: 3,
|
|
3950
3950
|
class: "mt-2"
|
|
3951
|
-
}, ua = { class: "mt-2" }, ca = /* @__PURE__ */
|
|
3951
|
+
}, ua = { class: "mt-2" }, ca = /* @__PURE__ */ _({
|
|
3952
3952
|
__name: "VoMobileMenu",
|
|
3953
3953
|
props: {
|
|
3954
3954
|
modelValue: { type: Boolean },
|
|
@@ -3956,7 +3956,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3956
3956
|
},
|
|
3957
3957
|
emits: ["update:modelValue"],
|
|
3958
3958
|
setup(p) {
|
|
3959
|
-
const t =
|
|
3959
|
+
const t = G(p, "modelValue"), a = ut();
|
|
3960
3960
|
return (o, i) => (c(), m(Ue, {
|
|
3961
3961
|
modelValue: t.value,
|
|
3962
3962
|
"onUpdate:modelValue": i[0] || (i[0] = (u) => t.value = u),
|
|
@@ -4007,7 +4007,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4007
4007
|
_: 3
|
|
4008
4008
|
}, 8, ["modelValue"]));
|
|
4009
4009
|
}
|
|
4010
|
-
}), da = /* @__PURE__ */
|
|
4010
|
+
}), da = /* @__PURE__ */ _({
|
|
4011
4011
|
__name: "VoAppBar",
|
|
4012
4012
|
props: /* @__PURE__ */ rt({
|
|
4013
4013
|
logo: {},
|
|
@@ -4018,16 +4018,16 @@ const at = /* @__PURE__ */ y({
|
|
|
4018
4018
|
}),
|
|
4019
4019
|
emits: ["update:mobileMenu"],
|
|
4020
4020
|
setup(p) {
|
|
4021
|
-
const t = p, a =
|
|
4021
|
+
const t = p, a = G(p, "mobileMenu"), o = ut(), i = Te(), u = Pe(), { mobile: r } = ae(), l = b(() => t.responsive == !0 && r.value), d = b(() => `https://cdn.vuetifyjs.com/docs/images/one/logos/${t.logo}-logo-${i.current.value.dark ? "dark" : "light"}.png`);
|
|
4022
4022
|
return (f, v) => {
|
|
4023
|
-
const
|
|
4023
|
+
const y = lt("router-link"), k = ca, $ = Pt;
|
|
4024
4024
|
return c(), m(xt, {
|
|
4025
4025
|
class: "border-b",
|
|
4026
4026
|
image: e(u).suit["app-bar"],
|
|
4027
4027
|
name: "vo-app-bar"
|
|
4028
4028
|
}, z({
|
|
4029
4029
|
prepend: s(() => [
|
|
4030
|
-
n(
|
|
4030
|
+
n(y, {
|
|
4031
4031
|
class: "ps-2",
|
|
4032
4032
|
to: "/"
|
|
4033
4033
|
}, {
|
|
@@ -4054,7 +4054,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4054
4054
|
]),
|
|
4055
4055
|
_: 2
|
|
4056
4056
|
}, [
|
|
4057
|
-
|
|
4057
|
+
K(o, (L, U) => ({
|
|
4058
4058
|
name: U,
|
|
4059
4059
|
fn: s(() => [
|
|
4060
4060
|
w(f.$slots, U)
|
|
@@ -4091,7 +4091,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4091
4091
|
]), 1032, ["image"]);
|
|
4092
4092
|
};
|
|
4093
4093
|
}
|
|
4094
|
-
}), pa = ["id"], ma = /* @__PURE__ */
|
|
4094
|
+
}), pa = ["id"], ma = /* @__PURE__ */ _({
|
|
4095
4095
|
__name: "VoScript",
|
|
4096
4096
|
props: {
|
|
4097
4097
|
id: {
|
|
@@ -4109,7 +4109,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4109
4109
|
},
|
|
4110
4110
|
emits: ["script:error", "script:load"],
|
|
4111
4111
|
setup(p, { emit: t }) {
|
|
4112
|
-
const a = p, o = t, i =
|
|
4112
|
+
const a = p, o = t, i = E(), u = E();
|
|
4113
4113
|
return je(async () => {
|
|
4114
4114
|
const r = document.createElement("script"), l = () => o("script:error");
|
|
4115
4115
|
r.type = "text/javascript", r.id = a.scriptId, r.src = a.src, r.addEventListener("load", () => o("script:load")), r.onerror = l, u.value = r;
|
|
@@ -4126,7 +4126,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4126
4126
|
}), fa = {
|
|
4127
4127
|
key: 0,
|
|
4128
4128
|
class: "v-footer__image"
|
|
4129
|
-
}, va = /* @__PURE__ */
|
|
4129
|
+
}, va = /* @__PURE__ */ _({
|
|
4130
4130
|
__name: "VoFooter",
|
|
4131
4131
|
props: {
|
|
4132
4132
|
image: {}
|
|
@@ -4155,10 +4155,10 @@ const at = /* @__PURE__ */ y({
|
|
|
4155
4155
|
for (const [o, i] of t)
|
|
4156
4156
|
a[o] = i;
|
|
4157
4157
|
return a;
|
|
4158
|
-
}, zt = /* @__PURE__ */ Xe(va, [["__scopeId", "data-v-31335c0a"]]), ga = ["href", "title"],
|
|
4158
|
+
}, zt = /* @__PURE__ */ Xe(va, [["__scopeId", "data-v-31335c0a"]]), ga = ["href", "title"], ya = {
|
|
4159
4159
|
class: "text-caption text-disabled",
|
|
4160
4160
|
style: { position: "absolute", right: "16px" }
|
|
4161
|
-
},
|
|
4161
|
+
}, _a = /* @__PURE__ */ _({
|
|
4162
4162
|
__name: "VoSocialFooter",
|
|
4163
4163
|
setup(p) {
|
|
4164
4164
|
const t = Pe(), a = [
|
|
@@ -4201,7 +4201,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4201
4201
|
image: e(t).suit.footer
|
|
4202
4202
|
}, z({
|
|
4203
4203
|
default: s(() => [
|
|
4204
|
-
(c(), C(D, null,
|
|
4204
|
+
(c(), C(D, null, K(a, (r) => g("a", {
|
|
4205
4205
|
key: r.title,
|
|
4206
4206
|
class: "d-inline-block mx-2 social-link",
|
|
4207
4207
|
href: r.href,
|
|
@@ -4214,7 +4214,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4214
4214
|
size: r.icon === "$vuetify" ? 24 : 16
|
|
4215
4215
|
}, null, 8, ["icon", "size"])
|
|
4216
4216
|
], 8, ga)), 64)),
|
|
4217
|
-
g("div",
|
|
4217
|
+
g("div", ya, [
|
|
4218
4218
|
S(" © 2016-" + V((/* @__PURE__ */ new Date()).getFullYear()) + " ", 1),
|
|
4219
4219
|
i[0] || (i[0] = g("span", { class: "d-none d-sm-inline-block" }, "Vuetify, LLC", -1))
|
|
4220
4220
|
])
|
|
@@ -4231,7 +4231,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4231
4231
|
]), 1032, ["image"]);
|
|
4232
4232
|
};
|
|
4233
4233
|
}
|
|
4234
|
-
}), ha = /* @__PURE__ */ Xe(
|
|
4234
|
+
}), ha = /* @__PURE__ */ Xe(_a, [["__scopeId", "data-v-7a9688b8"]]), ba = /* @__PURE__ */ _({
|
|
4235
4235
|
__name: "VoNotificationsBanner",
|
|
4236
4236
|
props: {
|
|
4237
4237
|
demo: { type: Boolean }
|
|
@@ -4253,7 +4253,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4253
4253
|
const U = L.link.split("?one=")[1];
|
|
4254
4254
|
o.push({ query: { one: U } });
|
|
4255
4255
|
}
|
|
4256
|
-
const
|
|
4256
|
+
const y = b(() => {
|
|
4257
4257
|
const $ = r.value?.metadata ?? { link: "" };
|
|
4258
4258
|
return {
|
|
4259
4259
|
href: $.link.startsWith("http") ? $.link : void 0,
|
|
@@ -4289,9 +4289,9 @@ const at = /* @__PURE__ */ y({
|
|
|
4289
4289
|
active: !1,
|
|
4290
4290
|
class: "flex-grow-1 py-6",
|
|
4291
4291
|
lines: "two"
|
|
4292
|
-
}, e(
|
|
4292
|
+
}, e(y), { onClick: v }), {
|
|
4293
4293
|
prepend: s(() => [
|
|
4294
|
-
e(r).metadata.images.logo ? (c(), m(
|
|
4294
|
+
e(r).metadata.images.logo ? (c(), m(oe, {
|
|
4295
4295
|
key: 0,
|
|
4296
4296
|
icon: "$vuetify",
|
|
4297
4297
|
image: e(r).metadata.images.logo.url,
|
|
@@ -4302,7 +4302,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4302
4302
|
]),
|
|
4303
4303
|
append: s(() => [
|
|
4304
4304
|
e(a) && e(r).metadata.link && e(r).metadata.link_text ? (c(), m(ve, { key: 0 }, {
|
|
4305
|
-
default: s(({ isHovering: U, props:
|
|
4305
|
+
default: s(({ isHovering: U, props: Q }) => [
|
|
4306
4306
|
n(A, R({
|
|
4307
4307
|
"append-icon": `svg:${e(Ae)}`,
|
|
4308
4308
|
class: "text-none me-2",
|
|
@@ -4310,11 +4310,11 @@ const at = /* @__PURE__ */ y({
|
|
|
4310
4310
|
elevation: U ? 8 : 0,
|
|
4311
4311
|
title: e(r).metadata.link_text
|
|
4312
4312
|
}, {
|
|
4313
|
-
...
|
|
4314
|
-
...e(
|
|
4313
|
+
...Q,
|
|
4314
|
+
...e(y)
|
|
4315
4315
|
}, {
|
|
4316
4316
|
variant: "elevated",
|
|
4317
|
-
onClick:
|
|
4317
|
+
onClick: _e(v, ["stop"])
|
|
4318
4318
|
}), {
|
|
4319
4319
|
default: s(() => [
|
|
4320
4320
|
S(V(e(r).metadata.link_text), 1)
|
|
@@ -4331,11 +4331,11 @@ const at = /* @__PURE__ */ y({
|
|
|
4331
4331
|
icon: "$clear",
|
|
4332
4332
|
size: "small",
|
|
4333
4333
|
variant: "plain",
|
|
4334
|
-
onClick:
|
|
4334
|
+
onClick: _e(f, ["prevent", "stop"])
|
|
4335
4335
|
})) : h("", !0)
|
|
4336
4336
|
]),
|
|
4337
4337
|
default: s(() => [
|
|
4338
|
-
e(r).metadata.text ? (c(), m(
|
|
4338
|
+
e(r).metadata.text ? (c(), m(yt, {
|
|
4339
4339
|
key: 0,
|
|
4340
4340
|
class: "text-subtitle-2 text-md-subtitle-1 font-weight-medium"
|
|
4341
4341
|
}, {
|
|
@@ -4361,7 +4361,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4361
4361
|
key: 0,
|
|
4362
4362
|
class: "text-uppercase position-absolute ms-auto font-weight-medium on-surface-light",
|
|
4363
4363
|
style: { right: "12px", bottom: "8px", "font-size": "10px" }
|
|
4364
|
-
}, Ot = /* @__PURE__ */
|
|
4364
|
+
}, Ot = /* @__PURE__ */ _({
|
|
4365
4365
|
__name: "VoPromotionsCard",
|
|
4366
4366
|
props: {
|
|
4367
4367
|
caption: {},
|
|
@@ -4406,8 +4406,8 @@ const at = /* @__PURE__ */ y({
|
|
|
4406
4406
|
} : void 0
|
|
4407
4407
|
]), 1024));
|
|
4408
4408
|
}
|
|
4409
|
-
}), Je =
|
|
4410
|
-
const p =
|
|
4409
|
+
}), Je = q("promotions", () => {
|
|
4410
|
+
const p = Y(), t = ee(), a = E([]), o = M(!1), i = M(!1), u = b(() => a.value.filter((d) => d.metadata.discoverable));
|
|
4411
4411
|
je(l);
|
|
4412
4412
|
function r(d) {
|
|
4413
4413
|
const f = d.filter((v) => v.metadata.active);
|
|
@@ -4433,13 +4433,13 @@ const at = /* @__PURE__ */ y({
|
|
|
4433
4433
|
index: l,
|
|
4434
4434
|
random: r
|
|
4435
4435
|
};
|
|
4436
|
-
}), Va = /* @__PURE__ */
|
|
4436
|
+
}), Va = /* @__PURE__ */ _({
|
|
4437
4437
|
__name: "VoPromotionsCardHighlight",
|
|
4438
4438
|
props: {
|
|
4439
4439
|
slug: {}
|
|
4440
4440
|
},
|
|
4441
4441
|
setup(p) {
|
|
4442
|
-
const t = p, a =
|
|
4442
|
+
const t = p, a = F(), o = Je(), i = Te(), u = T(), r = b(() => {
|
|
4443
4443
|
if (!(a.user && !u.one.ads.enabled))
|
|
4444
4444
|
return t.slug ? o.all.find((f) => f.slug === t.slug) : o.random(o.all);
|
|
4445
4445
|
}), l = b(() => {
|
|
@@ -4450,8 +4450,8 @@ const at = /* @__PURE__ */ y({
|
|
|
4450
4450
|
return r.value?.metadata.images[f]?.url;
|
|
4451
4451
|
});
|
|
4452
4452
|
return (f, v) => {
|
|
4453
|
-
const
|
|
4454
|
-
return e(r) || !e(o).hasLoaded ? (c(), m(
|
|
4453
|
+
const y = Ot;
|
|
4454
|
+
return e(r) || !e(o).hasLoaded ? (c(), m(y, {
|
|
4455
4455
|
key: 0,
|
|
4456
4456
|
class: "vo-promotions-card-highlight",
|
|
4457
4457
|
color: e(r)?.metadata.color ?? "surface",
|
|
@@ -4478,7 +4478,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4478
4478
|
e(r) ? {
|
|
4479
4479
|
name: "prepend",
|
|
4480
4480
|
fn: s(() => [
|
|
4481
|
-
n(
|
|
4481
|
+
n(oe, {
|
|
4482
4482
|
class: "my-n4 me-4",
|
|
4483
4483
|
icon: "$vuetify",
|
|
4484
4484
|
size: "36"
|
|
@@ -4496,13 +4496,13 @@ const at = /* @__PURE__ */ y({
|
|
|
4496
4496
|
]), 1032, ["color", "href", "image", "prepend-avatar", "title"])) : h("", !0);
|
|
4497
4497
|
};
|
|
4498
4498
|
}
|
|
4499
|
-
}), $a = { class: "d-flex ga-4" }, xa = { class: "d-flex align-start ga-4" }, La = { class: "text-caption on-surface-light" }, wa = /* @__PURE__ */
|
|
4499
|
+
}), $a = { class: "d-flex ga-4" }, xa = { class: "d-flex align-start ga-4" }, La = { class: "text-caption on-surface-light" }, wa = /* @__PURE__ */ _({
|
|
4500
4500
|
__name: "VoPromotionsCardVuetify",
|
|
4501
4501
|
props: {
|
|
4502
4502
|
slug: {}
|
|
4503
4503
|
},
|
|
4504
4504
|
setup(p) {
|
|
4505
|
-
const t = p, a =
|
|
4505
|
+
const t = p, a = F(), o = Je(), i = T(), u = b(() => {
|
|
4506
4506
|
if (!(a.user && !i.one.ads.enabled && !i.one.ads.house))
|
|
4507
4507
|
return t.slug ? o.all.find((r) => r.slug === t.slug) : o.random(!i.one.ads.enabled && i.one.ads.house ? o.discoverable : o.all);
|
|
4508
4508
|
});
|
|
@@ -4554,13 +4554,13 @@ const at = /* @__PURE__ */ y({
|
|
|
4554
4554
|
}, 8, ["href"])) : h("", !0);
|
|
4555
4555
|
};
|
|
4556
4556
|
}
|
|
4557
|
-
}), Sa = ["href"], Ma = /* @__PURE__ */
|
|
4557
|
+
}), Sa = ["href"], Ma = /* @__PURE__ */ _({
|
|
4558
4558
|
__name: "VoPromotionsFooter",
|
|
4559
4559
|
props: {
|
|
4560
4560
|
slug: {}
|
|
4561
4561
|
},
|
|
4562
4562
|
setup(p) {
|
|
4563
|
-
const t = p, a =
|
|
4563
|
+
const t = p, a = F(), o = Je(), i = T(), u = Te(), r = b(() => {
|
|
4564
4564
|
if (!(a.user && !i.one.ads.enabled))
|
|
4565
4565
|
return t.slug ? o.all.find((f) => f.slug === t.slug) : o.random(o.all);
|
|
4566
4566
|
}), l = b(() => {
|
|
@@ -4571,8 +4571,8 @@ const at = /* @__PURE__ */ y({
|
|
|
4571
4571
|
return r.value?.metadata.images[f]?.url;
|
|
4572
4572
|
});
|
|
4573
4573
|
return (f, v) => {
|
|
4574
|
-
const
|
|
4575
|
-
return c(), m(
|
|
4574
|
+
const y = zt;
|
|
4575
|
+
return c(), m(y, {
|
|
4576
4576
|
color: e(r)?.metadata.color ?? "surface",
|
|
4577
4577
|
image: e(d),
|
|
4578
4578
|
style: { transform: "translateY(0)" }
|
|
@@ -4585,14 +4585,14 @@ const at = /* @__PURE__ */ y({
|
|
|
4585
4585
|
style: { color: "inherit" },
|
|
4586
4586
|
target: "_blank"
|
|
4587
4587
|
}, [
|
|
4588
|
-
n(
|
|
4588
|
+
n(oe, {
|
|
4589
4589
|
class: "me-4",
|
|
4590
4590
|
icon: "$vuetify",
|
|
4591
4591
|
image: e(l),
|
|
4592
4592
|
size: "24"
|
|
4593
4593
|
}, null, 8, ["image"]),
|
|
4594
4594
|
g("div", null, V(e(r)?.metadata.text), 1),
|
|
4595
|
-
e(r)?.metadata.advertisement ? (c(), m(
|
|
4595
|
+
e(r)?.metadata.advertisement ? (c(), m(te, {
|
|
4596
4596
|
key: 0,
|
|
4597
4597
|
class: "ms-auto me-n4 align-self-end mb-n2 py-1 ps-3",
|
|
4598
4598
|
rounded: "0 ts-lg",
|
|
@@ -4606,8 +4606,8 @@ const at = /* @__PURE__ */ y({
|
|
|
4606
4606
|
}, 8, ["color", "image"]);
|
|
4607
4607
|
};
|
|
4608
4608
|
}
|
|
4609
|
-
}), Ia =
|
|
4610
|
-
const p =
|
|
4609
|
+
}), Ia = q("spots", () => {
|
|
4610
|
+
const p = Y(), t = Ut(), a = ee(), o = E([]), i = M(!1), u = b(() => o.value.find(({
|
|
4611
4611
|
metadata: {
|
|
4612
4612
|
site: l,
|
|
4613
4613
|
active: d
|
|
@@ -4631,7 +4631,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4631
4631
|
spot: u,
|
|
4632
4632
|
index: r
|
|
4633
4633
|
};
|
|
4634
|
-
}), Da = ["href"], Aa = /* @__PURE__ */
|
|
4634
|
+
}), Da = ["href"], Aa = /* @__PURE__ */ _({
|
|
4635
4635
|
__name: "VoSpot",
|
|
4636
4636
|
setup(p) {
|
|
4637
4637
|
const t = Ia();
|
|
@@ -4724,8 +4724,8 @@ const at = /* @__PURE__ */ y({
|
|
|
4724
4724
|
["M12.0886 19.775C9.85039 19.7657 7.8983 19.4309 6.39591 18.845C5.48629 18.4823 4.79131 18.0824 4.50514 17.4872C4.33139 17.1339 4.32117 15.5529 4.34161 14.5299C4.34161 13.5814 4.64822 10.8379 5.05704 10.466C5.68048 9.88937 9.75841 9.77777 12.1091 9.77777H12.1193C14.4598 9.77777 18.5479 9.88937 19.1714 10.466C19.57 10.8379 19.8766 13.5814 19.8868 14.5299C19.897 15.5529 19.8868 17.1339 19.713 17.4872C19.4269 18.0824 18.7319 18.4823 17.8223 18.845C16.0076 19.4951 14.0692 19.8112 12.1193 19.775H12.0886Z", 0.2],
|
|
4725
4725
|
["M8.57405 12C9.68004 12 10.5812 12.8658 10.5812 14.2222C10.5812 15.444 9.721 16.4444 8.57405 16.4444C7.45782 16.4348 6.55664 15.444 6.55664 14.2222C6.55664 12.8754 7.45782 12 8.57405 12ZM15.6606 12C14.5444 12 13.6432 12.8658 13.6432 14.2222C13.6432 15.444 14.5136 16.4444 15.6606 16.4444C16.7666 16.4348 17.6678 15.444 17.6678 14.2222C17.6678 12.8754 16.7666 12 15.6606 12Z", 1]
|
|
4726
4726
|
]
|
|
4727
|
-
}, wi =
|
|
4728
|
-
const p =
|
|
4727
|
+
}, wi = q("bins", () => {
|
|
4728
|
+
const p = Y(), t = ee(), a = E([]), o = M(!1), i = b(() => a.value.filter((l) => l.favorite)), u = b(() => a.value.filter((l) => l.pinned));
|
|
4729
4729
|
async function r() {
|
|
4730
4730
|
try {
|
|
4731
4731
|
o.value = !0;
|
|
@@ -4745,10 +4745,10 @@ const at = /* @__PURE__ */ y({
|
|
|
4745
4745
|
all: a,
|
|
4746
4746
|
index: r
|
|
4747
4747
|
};
|
|
4748
|
-
}), Si =
|
|
4749
|
-
const p =
|
|
4750
|
-
const v =
|
|
4751
|
-
return v.user?.isAdmin ||
|
|
4748
|
+
}), Si = q("links", () => {
|
|
4749
|
+
const p = Y(), t = ee(), a = E([]), o = M(!1), i = M(!1), u = b(() => a.value.filter((v) => v.favorite)), r = b(() => a.value.filter((v) => v.pinned)), l = b(() => {
|
|
4750
|
+
const v = F(), y = O();
|
|
4751
|
+
return v.user?.isAdmin || y.isSubscriber;
|
|
4752
4752
|
});
|
|
4753
4753
|
async function d() {
|
|
4754
4754
|
try {
|
|
@@ -4769,7 +4769,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4769
4769
|
}
|
|
4770
4770
|
try {
|
|
4771
4771
|
i.value = !0;
|
|
4772
|
-
const
|
|
4772
|
+
const y = await p.post("/one/links", {
|
|
4773
4773
|
link: {
|
|
4774
4774
|
title: v.title,
|
|
4775
4775
|
url: v.url,
|
|
@@ -4783,9 +4783,9 @@ const at = /* @__PURE__ */ y({
|
|
|
4783
4783
|
expiresAt: v.expiresAt ?? null
|
|
4784
4784
|
}
|
|
4785
4785
|
});
|
|
4786
|
-
return a.value.unshift(
|
|
4787
|
-
} catch (
|
|
4788
|
-
t.showError(
|
|
4786
|
+
return a.value.unshift(y.link), y.link;
|
|
4787
|
+
} catch (y) {
|
|
4788
|
+
t.showError(y?.message ?? "Error creating link");
|
|
4789
4789
|
} finally {
|
|
4790
4790
|
i.value = !1;
|
|
4791
4791
|
}
|
|
@@ -4800,8 +4800,29 @@ const at = /* @__PURE__ */ y({
|
|
|
4800
4800
|
index: d,
|
|
4801
4801
|
create: f
|
|
4802
4802
|
};
|
|
4803
|
-
}), Mi =
|
|
4804
|
-
const p =
|
|
4803
|
+
}), Mi = q("plays", () => {
|
|
4804
|
+
const p = Y(), t = ee(), a = E([]), o = M(!1), i = b(() => a.value.filter((l) => l.favorite)), u = b(() => a.value.filter((l) => l.pinned));
|
|
4805
|
+
async function r() {
|
|
4806
|
+
try {
|
|
4807
|
+
o.value = !0;
|
|
4808
|
+
const l = await p.get("/one/playgrounds");
|
|
4809
|
+
a.value = l.playgrounds;
|
|
4810
|
+
} catch (l) {
|
|
4811
|
+
t.showError(l?.message ?? "Error fetching playgrounds");
|
|
4812
|
+
} finally {
|
|
4813
|
+
o.value = !1;
|
|
4814
|
+
}
|
|
4815
|
+
return a.value;
|
|
4816
|
+
}
|
|
4817
|
+
return {
|
|
4818
|
+
isLoading: o,
|
|
4819
|
+
pinned: u,
|
|
4820
|
+
favorites: i,
|
|
4821
|
+
all: a,
|
|
4822
|
+
index: r
|
|
4823
|
+
};
|
|
4824
|
+
}), Ii = q("products", () => {
|
|
4825
|
+
const p = Y(), t = ee(), a = E([]), o = b(() => a.value.filter((r) => r.product_type === "Themes"));
|
|
4805
4826
|
async function i() {
|
|
4806
4827
|
if (a.value.length > 0)
|
|
4807
4828
|
return a.value;
|
|
@@ -4822,8 +4843,8 @@ const at = /* @__PURE__ */ y({
|
|
|
4822
4843
|
index: i,
|
|
4823
4844
|
randomize: u
|
|
4824
4845
|
};
|
|
4825
|
-
}),
|
|
4826
|
-
const p =
|
|
4846
|
+
}), Di = q("sponsors", () => {
|
|
4847
|
+
const p = Y(), t = ee(), a = E([]), o = E([]), i = E(!1), u = b(() => {
|
|
4827
4848
|
const d = {};
|
|
4828
4849
|
for (const f of a.value) {
|
|
4829
4850
|
const v = f.metadata.tier;
|
|
@@ -4856,13 +4877,13 @@ const at = /* @__PURE__ */ y({
|
|
|
4856
4877
|
index: r
|
|
4857
4878
|
};
|
|
4858
4879
|
});
|
|
4859
|
-
function
|
|
4880
|
+
function Ai() {
|
|
4860
4881
|
function p(t) {
|
|
4861
4882
|
t.component("VoAppBar", da), t.component("VoAuthBtn", Pt), t.component("VoAuthCard", Mt), t.component("VoAuthDialog", It), t.component("VoAuthListItem", Dt), t.component("VoNotificationsBanner", Ca), t.component("VoPromotionsCardHighlight", Va), t.component("VoPromotionsCardVuetify", wa), t.component("VoPromotionsFooter", Ma), t.component("VoScript", ma), t.component("VoSocialFooter", ha), t.component("VoSpot", Aa);
|
|
4862
4883
|
}
|
|
4863
4884
|
return { install: p };
|
|
4864
4885
|
}
|
|
4865
|
-
function
|
|
4886
|
+
function Ti(p, t) {
|
|
4866
4887
|
return function(a) {
|
|
4867
4888
|
const o = a.store;
|
|
4868
4889
|
o.url = t, o.$id === "site" && (o.id = p);
|
|
@@ -4870,22 +4891,23 @@ function Ai(p, t) {
|
|
|
4870
4891
|
}
|
|
4871
4892
|
export {
|
|
4872
4893
|
Li as aliases,
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
|
|
4894
|
+
Ai as createOne,
|
|
4895
|
+
Ti as one,
|
|
4896
|
+
F as useAuthStore,
|
|
4876
4897
|
Be as useBannersStore,
|
|
4877
4898
|
wi as useBinsStore,
|
|
4878
4899
|
fs as useDownloadsStore,
|
|
4879
|
-
|
|
4900
|
+
Y as useHttpStore,
|
|
4880
4901
|
Si as useLinksStore,
|
|
4881
|
-
|
|
4902
|
+
Ee as useNotificationsStore,
|
|
4882
4903
|
O as useOneStore,
|
|
4883
|
-
Mi as
|
|
4904
|
+
Mi as usePlaysStore,
|
|
4905
|
+
Ii as useProductsStore,
|
|
4884
4906
|
Je as usePromotionsStore,
|
|
4885
|
-
|
|
4907
|
+
ee as useQueueStore,
|
|
4886
4908
|
Pe as useSettingsStore,
|
|
4887
4909
|
Ut as useSiteStore,
|
|
4888
|
-
|
|
4910
|
+
Di as useSponsorsStore,
|
|
4889
4911
|
Ia as useSpotsStore,
|
|
4890
4912
|
De as useTeamStore,
|
|
4891
4913
|
T as useUserStore
|