@vuetify/one 2.7.0 → 2.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +44 -2
- package/dist/index.js +414 -358
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as y, createBlock as m, openBlock as c, unref as e, computed as b, createSlots as z, withCtx as s, createElementVNode as
|
|
2
|
-
import { u as
|
|
1
|
+
import { defineComponent as y, createBlock as m, openBlock as c, unref as e, computed as b, createSlots as z, withCtx as s, createElementVNode as g, toDisplayString as C, createVNode as n, createTextVNode as S, normalizeStyle as it, createCommentVNode as h, renderSlot as w, shallowRef as M, watch as H, withModifiers as ye, mergeModels as rt, useModel as W, createElementBlock as k, Fragment as D, nextTick as be, renderList as G, mergeProps as R, withDirectives as N, vShow as Ie, isRef as j, ref as E, readonly as Se, resolveComponent as lt, watchEffect as Nt, onMounted as He, toRef as ge, normalizeClass as Zt, 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 oe, a as F, b as T, c as O, d as ke, e as J, f as De } from "./auth-QWWxnYQv.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 Ve, 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 _o, mdiPlaylistCheck as yo, mdiCreditCardOutline as ho, mdiOpenInNew as Ae, mdiMedal as bo, mdiHandHeart as ko, mdiHandHeartOutline as Vo, mdiCloudDownload as Co, 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
|
|
5
|
-
import { VListItem as le, VList 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 Ve, 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 _o, mdiPlaylistCheck as yo, mdiCreditCardOutline as ho, mdiOpenInNew as Ae, mdiMedal as bo, mdiHandHeart as ko, mdiHandHeartOutline as Vo, mdiCloudDownload as Co, 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 No, mdiShieldStarOutline as Zo } from "@mdi/js";
|
|
5
|
+
import { VListItem as le, VList as ne, VListSubheader as Ho, VListItemTitle as _t, VListItemSubtitle as jo } from "vuetify/components/VList";
|
|
6
|
+
import { VAvatar as te } from "vuetify/components/VAvatar";
|
|
7
|
+
import { VCard as P, VCardTitle as Ro, VCardSubtitle as qo, VCardText as X, VCardActions as yt, VCardItem as Fe } from "vuetify/components/VCard";
|
|
8
8
|
import { VDialog as Ce } from "vuetify/components/VDialog";
|
|
9
9
|
import { VBtn as A } from "vuetify/components/VBtn";
|
|
10
10
|
import { VProgressCircular as Wo } from "vuetify/components/VProgressCircular";
|
|
@@ -12,13 +12,13 @@ import { VSheet as $e } from "vuetify/components/VSheet";
|
|
|
12
12
|
import { VSwitch as Ge } from "vuetify/components/VSwitch";
|
|
13
13
|
import { VFadeTransition as xe, VExpandTransition as Le, VExpandXTransition as Go } from "vuetify/components/transitions";
|
|
14
14
|
import { useDisplay as ae, useTheme as Te, useDate as me } from "vuetify";
|
|
15
|
-
import { VDivider as
|
|
16
|
-
import { VIcon as
|
|
15
|
+
import { VDivider as Z } from "vuetify/components/VDivider";
|
|
16
|
+
import { VIcon as I } from "vuetify/components/VIcon";
|
|
17
17
|
import { VLabel as Ne } from "vuetify/components/VLabel";
|
|
18
|
-
import { VChip as
|
|
18
|
+
import { VChip as ee } 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 K } 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,7 +27,7 @@ import { VLayout as ue } from "vuetify/components/VLayout";
|
|
|
27
27
|
import { VMain as ce } from "vuetify/components/VMain";
|
|
28
28
|
import { VTextField as kt } from "vuetify/components/VTextField";
|
|
29
29
|
import { VTable as Qo } from "vuetify/components/VTable";
|
|
30
|
-
import { Tooltip as
|
|
30
|
+
import { Tooltip as Q, 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 Vt, VDataTable as on } from "vuetify/components/VDataTable";
|
|
33
33
|
import { VSkeletonLoader as he } from "vuetify/components/VSkeletonLoader";
|
|
@@ -47,7 +47,7 @@ import { VLazy as dn } from "vuetify/components/VLazy";
|
|
|
47
47
|
const pn = /* @__PURE__ */ y({
|
|
48
48
|
__name: "VoSnackbarQueue",
|
|
49
49
|
setup(p) {
|
|
50
|
-
const t =
|
|
50
|
+
const t = oe();
|
|
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),
|
|
@@ -58,7 +58,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
58
58
|
}), mn = { class: "text-body-2" }, Lt = /* @__PURE__ */ y({
|
|
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)}`,
|
|
@@ -68,14 +68,14 @@ const pn = /* @__PURE__ */ y({
|
|
|
68
68
|
onClick: u[0] || (u[0] = (r) => e(t).login("shopify"))
|
|
69
69
|
}, z({
|
|
70
70
|
title: s(() => [
|
|
71
|
-
|
|
71
|
+
g("span", mn, C(e(o)), 1)
|
|
72
72
|
]),
|
|
73
73
|
_: 2
|
|
74
74
|
}, [
|
|
75
75
|
!e(t).user && e(t).lastLoginProvider() === "shopify" ? {
|
|
76
76
|
name: "subtitle",
|
|
77
77
|
fn: s(() => [
|
|
78
|
-
u[1] || (u[1] =
|
|
78
|
+
u[1] || (u[1] = g("div", { class: "text-caption mt-n1" }, "Last Used", -1))
|
|
79
79
|
]),
|
|
80
80
|
key: "0"
|
|
81
81
|
} : void 0
|
|
@@ -84,7 +84,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
84
84
|
}), fn = { class: "text-body-2" }, wt = /* @__PURE__ */ y({
|
|
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",
|
|
@@ -94,14 +94,14 @@ const pn = /* @__PURE__ */ y({
|
|
|
94
94
|
onClick: u[0] || (u[0] = (r) => e(t).login("discord"))
|
|
95
95
|
}, z({
|
|
96
96
|
title: s(() => [
|
|
97
|
-
|
|
97
|
+
g("span", fn, C(e(o)), 1)
|
|
98
98
|
]),
|
|
99
99
|
_: 2
|
|
100
100
|
}, [
|
|
101
101
|
!e(t).user && e(t).lastLoginProvider() === "discord" ? {
|
|
102
102
|
name: "subtitle",
|
|
103
103
|
fn: s(() => [
|
|
104
|
-
u[1] || (u[1] =
|
|
104
|
+
u[1] || (u[1] = g("div", { class: "text-caption mt-n1" }, "Last Used", -1))
|
|
105
105
|
]),
|
|
106
106
|
key: "0"
|
|
107
107
|
} : void 0
|
|
@@ -110,7 +110,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
110
110
|
}), vn = { class: "text-body-2" }, St = /* @__PURE__ */ y({
|
|
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",
|
|
@@ -120,14 +120,14 @@ const pn = /* @__PURE__ */ y({
|
|
|
120
120
|
onClick: u[0] || (u[0] = (r) => e(t).login("github"))
|
|
121
121
|
}, z({
|
|
122
122
|
title: s(() => [
|
|
123
|
-
|
|
123
|
+
g("span", vn, C(e(o)), 1)
|
|
124
124
|
]),
|
|
125
125
|
_: 2
|
|
126
126
|
}, [
|
|
127
127
|
!e(t).user && e(t).lastLoginProvider() === "github" ? {
|
|
128
128
|
name: "subtitle",
|
|
129
129
|
fn: s(() => [
|
|
130
|
-
u[1] || (u[1] =
|
|
130
|
+
u[1] || (u[1] = g("div", { class: "text-caption mt-n1" }, "Last Used", -1))
|
|
131
131
|
]),
|
|
132
132
|
key: "0"
|
|
133
133
|
} : void 0
|
|
@@ -136,7 +136,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
136
136
|
}), gn = { class: "text-center" }, _n = { class: "text-center mb-6" }, yn = { class: "text-h6 font-weight-light" }, Mt = /* @__PURE__ */ y({
|
|
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, {
|
|
@@ -145,18 +145,18 @@ const pn = /* @__PURE__ */ y({
|
|
|
145
145
|
rounded: "lg"
|
|
146
146
|
}, {
|
|
147
147
|
default: s(() => [
|
|
148
|
-
|
|
149
|
-
n(
|
|
148
|
+
g("div", gn, [
|
|
149
|
+
n(te, {
|
|
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
|
-
|
|
155
|
+
g("div", _n, [
|
|
156
156
|
n(Ro, { class: "text-h5 mb-1 text-md-h4" }, {
|
|
157
157
|
default: s(() => [
|
|
158
|
-
|
|
159
|
-
o[0] || (o[0] =
|
|
158
|
+
g("div", yn, C(e(t).lastLoginProvider() ? "Welcome back to" : "Login to"), 1),
|
|
159
|
+
o[0] || (o[0] = g("span", { class: "text-h3 font-weight-bold" }, "Vuetify One", -1))
|
|
160
160
|
]),
|
|
161
161
|
_: 1
|
|
162
162
|
}),
|
|
@@ -167,7 +167,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
167
167
|
_: 1
|
|
168
168
|
})
|
|
169
169
|
]),
|
|
170
|
-
n(
|
|
170
|
+
n(ne, {
|
|
171
171
|
class: "mx-auto",
|
|
172
172
|
"max-width": "300",
|
|
173
173
|
width: "100%"
|
|
@@ -187,7 +187,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
187
187
|
}), It = /* @__PURE__ */ y({
|
|
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(Ce, {
|
|
@@ -249,7 +249,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
249
249
|
}), hn = { class: "pa-4 d-flex flex-column ga-4" }, Dt = /* @__PURE__ */ y({
|
|
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
|
});
|
|
@@ -264,7 +264,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
264
264
|
variant: e(o) ? "tonal" : "text"
|
|
265
265
|
}, {
|
|
266
266
|
default: s(() => [
|
|
267
|
-
n(
|
|
267
|
+
n(ne, { class: "py-0" }, {
|
|
268
268
|
default: s(() => [
|
|
269
269
|
n(le, {
|
|
270
270
|
class: "mb-0",
|
|
@@ -282,7 +282,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
282
282
|
e(t).user && (e(o) || !e(a).one.sync) ? (c(), m(Ge, {
|
|
283
283
|
key: 0,
|
|
284
284
|
modelValue: e(a).one.sync,
|
|
285
|
-
"onUpdate:modelValue": r[0] || (r[0] = (
|
|
285
|
+
"onUpdate:modelValue": r[0] || (r[0] = (v) => e(a).one.sync = v),
|
|
286
286
|
color: e(a).one.sync ? "success" : void 0,
|
|
287
287
|
density: "compact",
|
|
288
288
|
"hide-details": "",
|
|
@@ -291,7 +291,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
291
291
|
}, ["stop"]))
|
|
292
292
|
}, {
|
|
293
293
|
thumb: s(() => [
|
|
294
|
-
n(
|
|
294
|
+
n(te, {
|
|
295
295
|
color: e(a).one.sync ? "success" : void 0
|
|
296
296
|
}, null, 8, ["color"])
|
|
297
297
|
]),
|
|
@@ -311,15 +311,15 @@ const pn = /* @__PURE__ */ y({
|
|
|
311
311
|
color: "transparent"
|
|
312
312
|
}, {
|
|
313
313
|
default: s(() => [
|
|
314
|
-
|
|
314
|
+
g("div", hn, [
|
|
315
315
|
n(l, {
|
|
316
|
-
onClick: r[2] || (r[2] = (
|
|
316
|
+
onClick: r[2] || (r[2] = (v) => o.value = !1)
|
|
317
317
|
}),
|
|
318
318
|
n(d, {
|
|
319
|
-
onClick: r[3] || (r[3] = (
|
|
319
|
+
onClick: r[3] || (r[3] = (v) => o.value = !1)
|
|
320
320
|
}),
|
|
321
321
|
n(f, {
|
|
322
|
-
onClick: r[4] || (r[4] = (
|
|
322
|
+
onClick: r[4] || (r[4] = (v) => o.value = !1)
|
|
323
323
|
})
|
|
324
324
|
])
|
|
325
325
|
]),
|
|
@@ -371,7 +371,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
371
371
|
}), bn = /* @__PURE__ */ y({
|
|
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
|
}
|
|
@@ -400,7 +400,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
400
400
|
}),
|
|
401
401
|
emits: ["update:modelValue"],
|
|
402
402
|
setup(p) {
|
|
403
|
-
const t = W(p, "modelValue"), a = ae(), o =
|
|
403
|
+
const t = W(p, "modelValue"), a = ae(), o = M(!1);
|
|
404
404
|
return (i, u) => (c(), m(Ce, {
|
|
405
405
|
modelValue: t.value,
|
|
406
406
|
"onUpdate:modelValue": u[2] || (u[2] = (r) => t.value = r),
|
|
@@ -438,7 +438,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
438
438
|
})
|
|
439
439
|
]),
|
|
440
440
|
default: s(() => [
|
|
441
|
-
n(
|
|
441
|
+
n(Z),
|
|
442
442
|
w(i.$slots, "default")
|
|
443
443
|
]),
|
|
444
444
|
_: 2
|
|
@@ -476,7 +476,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
476
476
|
"true-icon": `svg:${e(Ve)}`
|
|
477
477
|
}, z({
|
|
478
478
|
thumb: s(() => [
|
|
479
|
-
n(
|
|
479
|
+
n(I, {
|
|
480
480
|
color: t.disabled ? void 0 : "primary"
|
|
481
481
|
}, null, 8, ["color"])
|
|
482
482
|
]),
|
|
@@ -571,7 +571,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
571
571
|
variant: "outlined"
|
|
572
572
|
}, {
|
|
573
573
|
selection: s(({ item: l }) => [
|
|
574
|
-
n(
|
|
574
|
+
n(I, {
|
|
575
575
|
icon: l.props.prependIcon,
|
|
576
576
|
size: "x-small",
|
|
577
577
|
start: ""
|
|
@@ -589,7 +589,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
589
589
|
multiple: ""
|
|
590
590
|
}, {
|
|
591
591
|
default: s(() => [
|
|
592
|
-
n(
|
|
592
|
+
n(ee, {
|
|
593
593
|
"append-icon": `svg:${e(eo)}`,
|
|
594
594
|
"filter-icon": "$success",
|
|
595
595
|
text: "App Bar",
|
|
@@ -597,15 +597,15 @@ const pn = /* @__PURE__ */ y({
|
|
|
597
597
|
variant: "flat"
|
|
598
598
|
}, {
|
|
599
599
|
append: s(() => [
|
|
600
|
-
n(
|
|
600
|
+
n(Z, {
|
|
601
601
|
class: "ms-2 border-opacity-50",
|
|
602
602
|
vertical: ""
|
|
603
603
|
}),
|
|
604
|
-
n(
|
|
604
|
+
n(I, { size: "x-small" })
|
|
605
605
|
]),
|
|
606
606
|
_: 1
|
|
607
607
|
}, 8, ["append-icon"]),
|
|
608
|
-
n(
|
|
608
|
+
n(ee, {
|
|
609
609
|
"append-icon": `svg:${e(to)}`,
|
|
610
610
|
"filter-icon": "$success",
|
|
611
611
|
text: "Navigation Drawer",
|
|
@@ -613,15 +613,15 @@ const pn = /* @__PURE__ */ y({
|
|
|
613
613
|
variant: "flat"
|
|
614
614
|
}, {
|
|
615
615
|
append: s(() => [
|
|
616
|
-
n(
|
|
616
|
+
n(Z, {
|
|
617
617
|
class: "ms-2 border-opacity-50",
|
|
618
618
|
vertical: ""
|
|
619
619
|
}),
|
|
620
|
-
n(
|
|
620
|
+
n(I, { size: "x-small" })
|
|
621
621
|
]),
|
|
622
622
|
_: 1
|
|
623
623
|
}, 8, ["append-icon"]),
|
|
624
|
-
n(
|
|
624
|
+
n(ee, {
|
|
625
625
|
"append-icon": "$info",
|
|
626
626
|
"filter-icon": "$success",
|
|
627
627
|
text: "Footer",
|
|
@@ -629,11 +629,11 @@ const pn = /* @__PURE__ */ y({
|
|
|
629
629
|
variant: "flat"
|
|
630
630
|
}, {
|
|
631
631
|
append: s(() => [
|
|
632
|
-
n(
|
|
632
|
+
n(Z, {
|
|
633
633
|
class: "ms-2 border-opacity-50",
|
|
634
634
|
vertical: ""
|
|
635
635
|
}),
|
|
636
|
-
n(
|
|
636
|
+
n(I, { size: "x-small" })
|
|
637
637
|
]),
|
|
638
638
|
_: 1
|
|
639
639
|
})
|
|
@@ -841,7 +841,7 @@ function $n() {
|
|
|
841
841
|
}
|
|
842
842
|
};
|
|
843
843
|
}
|
|
844
|
-
const Pe =
|
|
844
|
+
const Pe = K("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",
|
|
@@ -868,8 +868,8 @@ const Pe = X("settings", () => {
|
|
|
868
868
|
return {};
|
|
869
869
|
const l = u[a.one.suits.suit.toLowerCase()], d = {};
|
|
870
870
|
for (const f of a.one.suits.elements) {
|
|
871
|
-
const
|
|
872
|
-
d[
|
|
871
|
+
const v = f;
|
|
872
|
+
d[v] = l[v];
|
|
873
873
|
}
|
|
874
874
|
return d;
|
|
875
875
|
});
|
|
@@ -965,12 +965,12 @@ const Pe = X("settings", () => {
|
|
|
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
|
|
968
|
+
function v(_, V) {
|
|
969
969
|
V.disabled || (i.one.theme = V.value, _?.());
|
|
970
970
|
}
|
|
971
971
|
return (_, V) => {
|
|
972
|
-
const $ = ie, L = Cn, U = At,
|
|
973
|
-
return c(), m(
|
|
972
|
+
const $ = ie, L = Cn, U = At, Y = de;
|
|
973
|
+
return c(), m(Y, {
|
|
974
974
|
modelValue: t.value,
|
|
975
975
|
"onUpdate:modelValue": V[6] || (V[6] = (x) => t.value = x),
|
|
976
976
|
"prepend-icon": `svg:${e(io)}`,
|
|
@@ -981,7 +981,7 @@ const Pe = X("settings", () => {
|
|
|
981
981
|
default: s(() => [
|
|
982
982
|
n(ce, { scrollable: "" }, {
|
|
983
983
|
default: s(() => [
|
|
984
|
-
n(
|
|
984
|
+
n(X, { 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.",
|
|
@@ -1014,7 +1014,7 @@ const Pe = X("settings", () => {
|
|
|
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 = X("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 },
|
|
1029
|
-
onClick: (Ta) =>
|
|
1028
|
+
}, { ref_for: !0 }, Et, {
|
|
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
|
]),
|
|
@@ -1053,14 +1053,14 @@ const Pe = X("settings", () => {
|
|
|
1053
1053
|
_: 1
|
|
1054
1054
|
}, 8, ["modelValue"]),
|
|
1055
1055
|
e(a).isSubscriber ? (c(), k(D, { key: 0 }, [
|
|
1056
|
-
n(
|
|
1056
|
+
n(Z, { class: "mt-6 mb-4" }),
|
|
1057
1057
|
n(L)
|
|
1058
1058
|
], 64)) : h("", !0)
|
|
1059
1059
|
]),
|
|
1060
1060
|
_: 1
|
|
1061
1061
|
}),
|
|
1062
|
-
n(
|
|
1063
|
-
n(
|
|
1062
|
+
n(Z),
|
|
1063
|
+
n(X, { class: "px-7" }, {
|
|
1064
1064
|
default: s(() => [
|
|
1065
1065
|
n($, {
|
|
1066
1066
|
text: "These options change your browsing experience within Vuetify properties",
|
|
@@ -1076,8 +1076,8 @@ const Pe = X("settings", () => {
|
|
|
1076
1076
|
}, null, 8, ["modelValue"])) : h("", !0),
|
|
1077
1077
|
n(Le, null, {
|
|
1078
1078
|
default: s(() => [
|
|
1079
|
-
|
|
1080
|
-
|
|
1079
|
+
N(g("div", xn, [
|
|
1080
|
+
g("div", Ln, [
|
|
1081
1081
|
n(U, {
|
|
1082
1082
|
modelValue: e(i).one.ads.house,
|
|
1083
1083
|
"onUpdate:modelValue": V[2] || (V[2] = (x) => e(i).one.ads.house = x),
|
|
@@ -1100,8 +1100,8 @@ const Pe = X("settings", () => {
|
|
|
1100
1100
|
]),
|
|
1101
1101
|
_: 1
|
|
1102
1102
|
}),
|
|
1103
|
-
n(
|
|
1104
|
-
e(a).isSubscriber ? (c(), m(
|
|
1103
|
+
n(Z),
|
|
1104
|
+
e(a).isSubscriber ? (c(), m(X, {
|
|
1105
1105
|
key: 0,
|
|
1106
1106
|
class: "px-7"
|
|
1107
1107
|
}, {
|
|
@@ -1140,7 +1140,7 @@ const Pe = X("settings", () => {
|
|
|
1140
1140
|
}), Sn = /* @__PURE__ */ y({
|
|
1141
1141
|
__name: "VoSettingsListItem",
|
|
1142
1142
|
setup(p) {
|
|
1143
|
-
const t =
|
|
1143
|
+
const t = M(!1);
|
|
1144
1144
|
return (a, o) => {
|
|
1145
1145
|
const i = wn, u = q;
|
|
1146
1146
|
return c(), m(u, {
|
|
@@ -1160,8 +1160,8 @@ const Pe = X("settings", () => {
|
|
|
1160
1160
|
}, 8, ["active", "prepend-icon"]);
|
|
1161
1161
|
};
|
|
1162
1162
|
}
|
|
1163
|
-
}), ze =
|
|
1164
|
-
const p =
|
|
1163
|
+
}), ze = K("api-key", () => {
|
|
1164
|
+
const p = J(), 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;
|
|
@@ -1186,7 +1186,7 @@ const Pe = X("settings", () => {
|
|
|
1186
1186
|
};
|
|
1187
1187
|
});
|
|
1188
1188
|
function Oe(p = 1e3) {
|
|
1189
|
-
const t =
|
|
1189
|
+
const t = M(!1);
|
|
1190
1190
|
async function a(o) {
|
|
1191
1191
|
await navigator.clipboard.writeText(o), t.value = !0, setTimeout(() => t.value = !1, p);
|
|
1192
1192
|
}
|
|
@@ -1221,12 +1221,12 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1221
1221
|
}, null, 8, ["onClick"])
|
|
1222
1222
|
]),
|
|
1223
1223
|
default: s(() => [
|
|
1224
|
-
n(
|
|
1225
|
-
n(
|
|
1224
|
+
n(Z),
|
|
1225
|
+
n(X, null, {
|
|
1226
1226
|
default: s(() => [
|
|
1227
|
-
r[4] || (r[4] =
|
|
1227
|
+
r[4] || (r[4] = g("p", { class: "mb-4" }, [
|
|
1228
1228
|
S(" Please save your secret key in a safe place since "),
|
|
1229
|
-
|
|
1229
|
+
g("strong", null, "you won't be able"),
|
|
1230
1230
|
S(" to view it again. Keep it secure, as anyone with your API key can make requests on your behalf. If you do lose it, you'll need to generate a new one. ")
|
|
1231
1231
|
], -1)),
|
|
1232
1232
|
e(t).key ? (c(), m(kt, {
|
|
@@ -1247,7 +1247,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1247
1247
|
prepend: s(() => [
|
|
1248
1248
|
n(xe, { "hide-on-leave": "" }, {
|
|
1249
1249
|
default: s(() => [
|
|
1250
|
-
(c(), m(
|
|
1250
|
+
(c(), m(I, {
|
|
1251
1251
|
key: String(e(o))
|
|
1252
1252
|
}))
|
|
1253
1253
|
]),
|
|
@@ -1293,25 +1293,25 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1293
1293
|
const t = ze(), { copy: a, copied: o } = Oe(2e3), i = me();
|
|
1294
1294
|
return (u, r) => (c(), m(Qo, { class: "rounded border mt-4" }, {
|
|
1295
1295
|
default: s(() => [
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
r[2] || (r[2] =
|
|
1299
|
-
r[3] || (r[3] =
|
|
1300
|
-
|
|
1296
|
+
g("thead", null, [
|
|
1297
|
+
g("tr", null, [
|
|
1298
|
+
r[2] || (r[2] = g("th", { class: "ps-6" }, "Secret Key", -1)),
|
|
1299
|
+
r[3] || (r[3] = g("th", null, "Created", -1)),
|
|
1300
|
+
g("th", In, [
|
|
1301
1301
|
r[1] || (r[1] = S(" Last Used ", -1)),
|
|
1302
|
-
|
|
1302
|
+
N(n(I, {
|
|
1303
1303
|
end: "",
|
|
1304
1304
|
icon: "$info",
|
|
1305
1305
|
size: "1em"
|
|
1306
1306
|
}, null, 512), [
|
|
1307
|
-
[
|
|
1307
|
+
[Q, "This is updated within the last 10 minutes", "top"]
|
|
1308
1308
|
])
|
|
1309
1309
|
])
|
|
1310
1310
|
])
|
|
1311
1311
|
]),
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1312
|
+
g("tbody", null, [
|
|
1313
|
+
g("tr", null, [
|
|
1314
|
+
g("td", null, [
|
|
1315
1315
|
n(ve, null, {
|
|
1316
1316
|
default: s(({ isHovering: l, props: d }) => [
|
|
1317
1317
|
n(A, R(d, {
|
|
@@ -1322,7 +1322,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1322
1322
|
onClick: r[0] || (r[0] = (f) => e(a)(e(t).key))
|
|
1323
1323
|
}), {
|
|
1324
1324
|
append: s(() => [
|
|
1325
|
-
n(
|
|
1325
|
+
n(I, {
|
|
1326
1326
|
icon: e(o) ? "$success" : `svg:${e(Re)}`,
|
|
1327
1327
|
opacity: l || e(o) ? 1 : 0
|
|
1328
1328
|
}, null, 8, ["icon", "opacity"])
|
|
@@ -1333,8 +1333,8 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1333
1333
|
_: 1
|
|
1334
1334
|
})
|
|
1335
1335
|
]),
|
|
1336
|
-
|
|
1337
|
-
|
|
1336
|
+
g("td", null, C(e(t).accessToken ? e(i).format(e(t).accessToken.createdAt, "fullDate") : ""), 1),
|
|
1337
|
+
g("td", Dn, C(e(t).accessToken ? e(i).format(e(t).accessToken.updatedAt, "fullDate") : ""), 1)
|
|
1338
1338
|
])
|
|
1339
1339
|
])
|
|
1340
1340
|
]),
|
|
@@ -1353,7 +1353,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1353
1353
|
default: s(() => [
|
|
1354
1354
|
n(en, null, {
|
|
1355
1355
|
title: s(() => [
|
|
1356
|
-
n(
|
|
1356
|
+
n(I, {
|
|
1357
1357
|
icon: `svg:${e(gt)}`,
|
|
1358
1358
|
opacity: "0.6",
|
|
1359
1359
|
start: ""
|
|
@@ -1363,12 +1363,12 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1363
1363
|
default: s(() => [
|
|
1364
1364
|
n(tn, { class: "bg-surface-light rounded-b" }, {
|
|
1365
1365
|
default: s(() => [
|
|
1366
|
-
l[2] || (l[2] =
|
|
1367
|
-
l[3] || (l[3] =
|
|
1368
|
-
|
|
1369
|
-
|
|
1366
|
+
l[2] || (l[2] = g("strong", null, "Quick Setup", -1)),
|
|
1367
|
+
l[3] || (l[3] = g("p", { class: "mb-4 mt-2" }, " Run the following command to configure your favorite IDE or AI agent: ", -1)),
|
|
1368
|
+
g("div", Tn, [
|
|
1369
|
+
g("code", Un, [
|
|
1370
1370
|
S(C(e(u)) + " ", 1),
|
|
1371
|
-
n(
|
|
1371
|
+
n(I, {
|
|
1372
1372
|
class: "ms-2",
|
|
1373
1373
|
end: "",
|
|
1374
1374
|
icon: e(o) ? "$success" : `svg:${e(Re)}`,
|
|
@@ -1377,10 +1377,10 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1377
1377
|
}, null, 8, ["icon"])
|
|
1378
1378
|
])
|
|
1379
1379
|
]),
|
|
1380
|
-
l[4] || (l[4] =
|
|
1381
|
-
l[5] || (l[5] =
|
|
1380
|
+
l[4] || (l[4] = g("p", { class: "mb-2" }, "Follow the on-screen prompts to complete the setup.", -1)),
|
|
1381
|
+
l[5] || (l[5] = g("p", null, [
|
|
1382
1382
|
S(" For hosted server setup, manual configuration, or troubleshooting, see the "),
|
|
1383
|
-
|
|
1383
|
+
g("a", {
|
|
1384
1384
|
class: "text-primary",
|
|
1385
1385
|
href: "https://github.com/vuetifyjs/mcp#authentication",
|
|
1386
1386
|
rel: "noopener",
|
|
@@ -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 =
|
|
1409
|
+
const t = ze(), a = T(), o = M(!1), i = W(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,
|
|
1416
|
+
const d = ie, f = Pn, v = An, _ = Mn, V = de;
|
|
1417
1417
|
return c(), m(V, {
|
|
1418
1418
|
modelValue: i.value,
|
|
1419
1419
|
"onUpdate:modelValue": l[3] || (l[3] = ($) => i.value = $),
|
|
@@ -1426,14 +1426,14 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1426
1426
|
default: s(() => [
|
|
1427
1427
|
n(ce, null, {
|
|
1428
1428
|
default: s(() => [
|
|
1429
|
-
|
|
1430
|
-
n(
|
|
1429
|
+
g("div", zn, [
|
|
1430
|
+
n(X, 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.",
|
|
1434
1434
|
title: "MCP Access Token"
|
|
1435
1435
|
}),
|
|
1436
|
-
l[4] || (l[4] =
|
|
1436
|
+
l[4] || (l[4] = g("p", { class: "mb-2" }, " Do not share your API key with others or expose it in the browser or other client-side code. To protect your account's security, Vuetify may disable any API key that has leaked publicly. ", -1)),
|
|
1437
1437
|
n(f),
|
|
1438
1438
|
!e(t).key || !e(t).regenerated ? (c(), m(fe, {
|
|
1439
1439
|
key: 0,
|
|
@@ -1465,7 +1465,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1465
1465
|
_: 1
|
|
1466
1466
|
})) : h("", !0),
|
|
1467
1467
|
e(t).key ? (c(), k(D, { key: 1 }, [
|
|
1468
|
-
n(
|
|
1468
|
+
n(v),
|
|
1469
1469
|
n(_, {
|
|
1470
1470
|
modelValue: e(o),
|
|
1471
1471
|
"onUpdate:modelValue": l[2] || (l[2] = ($) => j(o) ? o.value = $ : null)
|
|
@@ -1489,7 +1489,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1489
1489
|
}), Bn = /* @__PURE__ */ y({
|
|
1490
1490
|
__name: "VoMcpListItem",
|
|
1491
1491
|
setup(p) {
|
|
1492
|
-
const t = T(), a =
|
|
1492
|
+
const t = T(), a = M(!1);
|
|
1493
1493
|
return (o, i) => {
|
|
1494
1494
|
const u = On, r = q;
|
|
1495
1495
|
return c(), m(r, {
|
|
@@ -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(ee, {
|
|
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__ */ y({
|
|
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
|
-
|
|
1556
|
+
g("div", En, C(e(t).format(new Date(r.date * 1e3), "fullDateWithWeekday")), 1)
|
|
1557
1557
|
]),
|
|
1558
1558
|
"item.amount": s(({ item: r }) => [
|
|
1559
1559
|
S(" $" + C(r.amount / 100), 1)
|
|
1560
1560
|
]),
|
|
1561
1561
|
"item.status": s(({ item: r }) => [
|
|
1562
|
-
n(
|
|
1562
|
+
n(ee, {
|
|
1563
1563
|
border: "success sm",
|
|
1564
1564
|
class: "text-capitalize",
|
|
1565
1565
|
color: "success",
|
|
@@ -1617,7 +1617,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1617
1617
|
title: "Subscription Status"
|
|
1618
1618
|
}, z({
|
|
1619
1619
|
prepend: s(() => [
|
|
1620
|
-
n(
|
|
1620
|
+
n(I, {
|
|
1621
1621
|
color: e(o).isSubscriber ? "success" : void 0
|
|
1622
1622
|
}, null, 8, ["color"])
|
|
1623
1623
|
]),
|
|
@@ -1645,23 +1645,23 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1645
1645
|
e(o).info ? {
|
|
1646
1646
|
name: "subtitle",
|
|
1647
1647
|
fn: s(() => [
|
|
1648
|
-
|
|
1649
|
-
|
|
1648
|
+
g("div", Nn, [
|
|
1649
|
+
g("strong", {
|
|
1650
1650
|
key: "status",
|
|
1651
1651
|
class: "text-capitalize hidden-sm-and-down",
|
|
1652
1652
|
textContent: C(e(o).info.status)
|
|
1653
1653
|
}, null, 8, Zn),
|
|
1654
1654
|
e(o).info.items.length > 0 ? (c(), k(D, { key: 0 }, [
|
|
1655
|
-
d[1] || (d[1] =
|
|
1656
|
-
|
|
1655
|
+
d[1] || (d[1] = g("span", { class: "mx-1 hidden-sm-and-down" }, "—", -1)),
|
|
1656
|
+
g("span", Hn, [
|
|
1657
1657
|
S(" $" + C(e(o).info.items[0].plan.amount / 100), 1),
|
|
1658
|
-
|
|
1658
|
+
g("span", jn, "/" + C(e(o).interval), 1)
|
|
1659
1659
|
]),
|
|
1660
1660
|
n(f, {
|
|
1661
1661
|
size: "x-small",
|
|
1662
1662
|
text: "(Change Subscription)",
|
|
1663
1663
|
variant: "text",
|
|
1664
|
-
onClick: d[0] || (d[0] = (
|
|
1664
|
+
onClick: d[0] || (d[0] = (v) => i("change:subscription"))
|
|
1665
1665
|
})
|
|
1666
1666
|
], 64)) : h("", !0)
|
|
1667
1667
|
])
|
|
@@ -1670,13 +1670,13 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1670
1670
|
} : {
|
|
1671
1671
|
name: "subtitle",
|
|
1672
1672
|
fn: s(() => [
|
|
1673
|
-
|
|
1673
|
+
g("div", Rn, [
|
|
1674
1674
|
n(he, {
|
|
1675
1675
|
height: "16",
|
|
1676
1676
|
type: "ossein",
|
|
1677
1677
|
width: "40"
|
|
1678
1678
|
}),
|
|
1679
|
-
d[2] || (d[2] =
|
|
1679
|
+
d[2] || (d[2] = g("span", { class: "mx-1" }, "—", -1)),
|
|
1680
1680
|
n(he, {
|
|
1681
1681
|
height: "16",
|
|
1682
1682
|
type: "ossein",
|
|
@@ -1687,15 +1687,15 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1687
1687
|
key: "1"
|
|
1688
1688
|
}
|
|
1689
1689
|
]), 1024),
|
|
1690
|
-
|
|
1691
|
-
|
|
1690
|
+
g("div", qn, [
|
|
1691
|
+
g("div", null, [
|
|
1692
1692
|
e(o).info?.status === "active" ? (c(), k(D, { key: 0 }, [
|
|
1693
1693
|
d[3] || (d[3] = S(" Your plan renews on ", -1)),
|
|
1694
|
-
|
|
1694
|
+
g("span", Wn, C(e(a).format(e(u), "fullDateWithWeekday")), 1),
|
|
1695
1695
|
d[4] || (d[4] = S(". ", -1))
|
|
1696
1696
|
], 64)) : (c(), k(D, { key: 1 }, [
|
|
1697
1697
|
d[5] || (d[5] = S(" Your plan ends on ", -1)),
|
|
1698
|
-
|
|
1698
|
+
g("span", Gn, C(e(a).format(e(o).info?.currentPeriodEnd, "fullDateWithWeekday")), 1),
|
|
1699
1699
|
d[6] || (d[6] = S(". ", -1))
|
|
1700
1700
|
], 64))
|
|
1701
1701
|
])
|
|
@@ -1718,7 +1718,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1718
1718
|
"Access to the Vuetify MCP server",
|
|
1719
1719
|
"Team wide Playgrounds, Bins, and Studios",
|
|
1720
1720
|
"Receive a special label on GitHub created issues and pull requests"
|
|
1721
|
-
], a =
|
|
1721
|
+
], a = M(!1), o = O(), i = b(() => {
|
|
1722
1722
|
const u = [
|
|
1723
1723
|
"Ad Free Experience on all Vuetify properties",
|
|
1724
1724
|
'Save and share across our platforms <a href="https://play.vuetifyjs.com" target="_blank">VPlay</a>, <a href="https://bin.vuetifyjs.com" target="_blank">VBin</a>, and <a href="https://studio.vuetifyjs.com" target="_blank">VStudio</a>',
|
|
@@ -1741,8 +1741,8 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1741
1741
|
])]),
|
|
1742
1742
|
_: 1
|
|
1743
1743
|
}),
|
|
1744
|
-
r[2] || (r[2] =
|
|
1745
|
-
n(
|
|
1744
|
+
r[2] || (r[2] = g("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The Vuetify One subscription comes with the following perks: ", -1)),
|
|
1745
|
+
n(ne, {
|
|
1746
1746
|
class: "py-0",
|
|
1747
1747
|
density: "compact",
|
|
1748
1748
|
lines: !1,
|
|
@@ -1755,29 +1755,29 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1755
1755
|
"prepend-icon": `svg:${e(Ve)}`
|
|
1756
1756
|
}, {
|
|
1757
1757
|
prepend: s(() => [
|
|
1758
|
-
n(
|
|
1758
|
+
n(I, {
|
|
1759
1759
|
class: "mx-n2",
|
|
1760
1760
|
color: "success",
|
|
1761
1761
|
size: "small"
|
|
1762
1762
|
})
|
|
1763
1763
|
]),
|
|
1764
1764
|
title: s(() => [
|
|
1765
|
-
|
|
1765
|
+
g("div", { innerHTML: d }, null, 8, Yn)
|
|
1766
1766
|
]),
|
|
1767
1767
|
_: 2
|
|
1768
1768
|
}, 1032, ["prepend-icon"]))), 128))
|
|
1769
1769
|
]),
|
|
1770
1770
|
_: 1
|
|
1771
1771
|
}),
|
|
1772
|
-
r[3] || (r[3] =
|
|
1772
|
+
r[3] || (r[3] = g("br", null, null, -1)),
|
|
1773
1773
|
n(Ne, { class: "font-weight-black" }, {
|
|
1774
1774
|
default: s(() => [...r[1] || (r[1] = [
|
|
1775
1775
|
S("Up Next", -1)
|
|
1776
1776
|
])]),
|
|
1777
1777
|
_: 1
|
|
1778
1778
|
}),
|
|
1779
|
-
r[4] || (r[4] =
|
|
1780
|
-
n(
|
|
1779
|
+
r[4] || (r[4] = g("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The following features are in development and coming soon: ", -1)),
|
|
1780
|
+
n(ne, {
|
|
1781
1781
|
class: "py-0",
|
|
1782
1782
|
density: "compact",
|
|
1783
1783
|
lines: !1,
|
|
@@ -1790,13 +1790,13 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1790
1790
|
"prepend-icon": `svg:${e(vo)}`
|
|
1791
1791
|
}, {
|
|
1792
1792
|
prepend: s(() => [
|
|
1793
|
-
n(
|
|
1793
|
+
n(I, {
|
|
1794
1794
|
class: "mx-n2",
|
|
1795
1795
|
size: "small"
|
|
1796
1796
|
})
|
|
1797
1797
|
]),
|
|
1798
1798
|
title: s(() => [
|
|
1799
|
-
|
|
1799
|
+
g("div", { innerHTML: d }, null, 8, Qn)
|
|
1800
1800
|
]),
|
|
1801
1801
|
_: 2
|
|
1802
1802
|
}, 1032, ["prepend-icon"])), 64))
|
|
@@ -1816,7 +1816,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1816
1816
|
},
|
|
1817
1817
|
emits: ["update:interval", "update:type"],
|
|
1818
1818
|
setup(p) {
|
|
1819
|
-
const t =
|
|
1819
|
+
const t = M(!1), a = W(p, "interval"), o = W(p, "type"), i = O(), u = De(), r = b(() => u.hasTeamAccess && !u.isTeamOwner), l = {
|
|
1820
1820
|
solo: {
|
|
1821
1821
|
month: "2.99 /month",
|
|
1822
1822
|
year: "29.99 /year"
|
|
@@ -1831,7 +1831,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1831
1831
|
}), (d, f) => (c(), k(D, null, [
|
|
1832
1832
|
n(bt, {
|
|
1833
1833
|
modelValue: o.value,
|
|
1834
|
-
"onUpdate:modelValue": f[0] || (f[0] = (
|
|
1834
|
+
"onUpdate:modelValue": f[0] || (f[0] = (v) => o.value = v),
|
|
1835
1835
|
class: "mb-4",
|
|
1836
1836
|
mandatory: ""
|
|
1837
1837
|
}, {
|
|
@@ -1844,7 +1844,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1844
1844
|
}, {
|
|
1845
1845
|
default: s(() => [
|
|
1846
1846
|
n(Ze, { value: "solo" }, {
|
|
1847
|
-
default: s(({ toggle:
|
|
1847
|
+
default: s(({ toggle: v, isSelected: _ }) => [
|
|
1848
1848
|
n(P, {
|
|
1849
1849
|
border: _ ? "sm primary opacity-50" : "sm",
|
|
1850
1850
|
color: _ ? "primary" : void 0,
|
|
@@ -1853,10 +1853,10 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1853
1853
|
subtitle: `$${l.solo[a.value]}`,
|
|
1854
1854
|
title: "Solo Developer",
|
|
1855
1855
|
variant: _ ? "tonal" : "text",
|
|
1856
|
-
onClick:
|
|
1856
|
+
onClick: v
|
|
1857
1857
|
}, {
|
|
1858
1858
|
prepend: s(() => [
|
|
1859
|
-
n(
|
|
1859
|
+
n(I, { class: "mt-n6" })
|
|
1860
1860
|
]),
|
|
1861
1861
|
_: 1
|
|
1862
1862
|
}, 8, ["border", "color", "prepend-icon", "subtitle", "variant", "onClick"])
|
|
@@ -1872,7 +1872,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1872
1872
|
}, {
|
|
1873
1873
|
default: s(() => [
|
|
1874
1874
|
n(Ze, { value: "team" }, {
|
|
1875
|
-
default: s(({ toggle:
|
|
1875
|
+
default: s(({ toggle: v, isSelected: _ }) => [
|
|
1876
1876
|
n(P, {
|
|
1877
1877
|
border: _ ? "sm primary opacity-50" : "sm",
|
|
1878
1878
|
color: _ ? "primary" : void 0,
|
|
@@ -1882,10 +1882,10 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1882
1882
|
subtitle: `$${l.team[a.value]}`,
|
|
1883
1883
|
title: "Team Access",
|
|
1884
1884
|
variant: _ ? "tonal" : "text",
|
|
1885
|
-
onClick:
|
|
1885
|
+
onClick: v
|
|
1886
1886
|
}, {
|
|
1887
1887
|
prepend: s(() => [
|
|
1888
|
-
n(
|
|
1888
|
+
n(I, { class: "mt-n6" })
|
|
1889
1889
|
]),
|
|
1890
1890
|
_: 1
|
|
1891
1891
|
}, 8, ["border", "color", "disabled", "prepend-icon", "subtitle", "variant", "onClick"])
|
|
@@ -1903,7 +1903,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1903
1903
|
}, 8, ["modelValue"]),
|
|
1904
1904
|
n(Ge, {
|
|
1905
1905
|
modelValue: a.value,
|
|
1906
|
-
"onUpdate:modelValue": f[1] || (f[1] = (
|
|
1906
|
+
"onUpdate:modelValue": f[1] || (f[1] = (v) => a.value = v),
|
|
1907
1907
|
"false-value": "month",
|
|
1908
1908
|
"hide-details": "",
|
|
1909
1909
|
inset: "",
|
|
@@ -1920,15 +1920,15 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1920
1920
|
},
|
|
1921
1921
|
emits: ["update:modelValue"],
|
|
1922
1922
|
setup(p) {
|
|
1923
|
-
function t(
|
|
1924
|
-
return new Promise((_) => setTimeout(_,
|
|
1923
|
+
function t(v) {
|
|
1924
|
+
return new Promise((_) => setTimeout(_, v));
|
|
1925
1925
|
}
|
|
1926
|
-
const a = W(p, "modelValue"), o = O(), i = ke(), u =
|
|
1927
|
-
H([u, r], ([
|
|
1928
|
-
!o.isSubscriber || !o.interval || !o.subscriptionType || (d.value =
|
|
1929
|
-
}), H(a, async (
|
|
1930
|
-
if (!
|
|
1931
|
-
|
|
1926
|
+
const a = W(p, "modelValue"), o = O(), i = ke(), u = M(o.interval), r = M(o.subscriptionType), l = M(o.hasBilling ? "status" : "subscribe"), d = M(!1);
|
|
1927
|
+
H([u, r], ([v, _]) => {
|
|
1928
|
+
!o.isSubscriber || !o.interval || !o.subscriptionType || (d.value = v !== o.interval || _ !== o.subscriptionType);
|
|
1929
|
+
}), H(a, async (v) => {
|
|
1930
|
+
if (!v || !o.isSubscriber) {
|
|
1931
|
+
v || o.resetQuery();
|
|
1932
1932
|
return;
|
|
1933
1933
|
}
|
|
1934
1934
|
o.subscriptionInfo();
|
|
@@ -1940,8 +1940,8 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1940
1940
|
async function f() {
|
|
1941
1941
|
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;
|
|
1942
1942
|
}
|
|
1943
|
-
return (
|
|
1944
|
-
const V = ie, $ = Jn, L = Xn, U = Kn,
|
|
1943
|
+
return (v, _) => {
|
|
1944
|
+
const V = ie, $ = Jn, L = Xn, U = Kn, Y = Fn, x = we, pe = de;
|
|
1945
1945
|
return c(), m(pe, {
|
|
1946
1946
|
modelValue: a.value,
|
|
1947
1947
|
"onUpdate:modelValue": _[5] || (_[5] = (B) => a.value = B),
|
|
@@ -1953,8 +1953,8 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1953
1953
|
default: s(() => [
|
|
1954
1954
|
n(ce, { scrollable: "" }, {
|
|
1955
1955
|
default: s(() => [
|
|
1956
|
-
|
|
1957
|
-
n(
|
|
1956
|
+
g("div", es, [
|
|
1957
|
+
n(X, null, {
|
|
1958
1958
|
default: s(() => [
|
|
1959
1959
|
n(V, {
|
|
1960
1960
|
text: "The Vuetify One subscription is a great way to support the Vuetify team and get access to exclusive features and content.",
|
|
@@ -1970,7 +1970,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1970
1970
|
type: e(r),
|
|
1971
1971
|
"onUpdate:type": _[1] || (_[1] = (B) => j(r) ? r.value = B : null)
|
|
1972
1972
|
}, null, 8, ["interval", "type"]),
|
|
1973
|
-
_[6] || (_[6] =
|
|
1973
|
+
_[6] || (_[6] = g("br", null, null, -1)),
|
|
1974
1974
|
n(L, { type: e(r) }, null, 8, ["type"])
|
|
1975
1975
|
]),
|
|
1976
1976
|
_: 1
|
|
@@ -1980,7 +1980,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1980
1980
|
n(U, {
|
|
1981
1981
|
"onChange:subscription": _[2] || (_[2] = (B) => l.value = "subscribe")
|
|
1982
1982
|
}),
|
|
1983
|
-
n(
|
|
1983
|
+
n(Y)
|
|
1984
1984
|
]),
|
|
1985
1985
|
_: 1
|
|
1986
1986
|
})
|
|
@@ -2003,7 +2003,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2003
2003
|
e(l) === "subscribe" ? {
|
|
2004
2004
|
name: "actions",
|
|
2005
2005
|
fn: s(() => [
|
|
2006
|
-
|
|
2006
|
+
g("div", ts, [
|
|
2007
2007
|
e(d) !== !1 ? (c(), m(x, {
|
|
2008
2008
|
key: 0,
|
|
2009
2009
|
block: "",
|
|
@@ -2042,7 +2042,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2042
2042
|
}), ns = /* @__PURE__ */ y({
|
|
2043
2043
|
__name: "VoSubscriptionListItem",
|
|
2044
2044
|
setup(p) {
|
|
2045
|
-
const t =
|
|
2045
|
+
const t = M(!1);
|
|
2046
2046
|
return (a, o) => {
|
|
2047
2047
|
const i = os, u = q;
|
|
2048
2048
|
return c(), m(u, {
|
|
@@ -2096,7 +2096,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2096
2096
|
}, {
|
|
2097
2097
|
subtitle: s(() => [
|
|
2098
2098
|
i.sponsorship?.isActive ? (c(), k("div", ss, [
|
|
2099
|
-
n(
|
|
2099
|
+
n(I, {
|
|
2100
2100
|
icon: `svg:${e(bo)}`,
|
|
2101
2101
|
size: "x-small"
|
|
2102
2102
|
}, null, 8, ["icon"]),
|
|
@@ -2221,8 +2221,8 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2221
2221
|
default: s(() => [
|
|
2222
2222
|
n(ce, { scrollable: "" }, {
|
|
2223
2223
|
default: s(() => [
|
|
2224
|
-
|
|
2225
|
-
n(
|
|
2224
|
+
g("div", us, [
|
|
2225
|
+
n(X, { class: "flex-0-0 mb-16 mb-sm-4" }, {
|
|
2226
2226
|
default: s(() => [
|
|
2227
2227
|
n(r, {
|
|
2228
2228
|
text: "Support Vuetify through GitHub Sponsors or Discord to unlock exclusive benefits and content.",
|
|
@@ -2239,16 +2239,16 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2239
2239
|
size: "128"
|
|
2240
2240
|
}, {
|
|
2241
2241
|
media: s(() => [
|
|
2242
|
-
n(
|
|
2242
|
+
n(I, {
|
|
2243
2243
|
color: e(o).isSubscriber ? "success" : "error"
|
|
2244
2244
|
}, null, 8, ["color"])
|
|
2245
2245
|
]),
|
|
2246
2246
|
title: s(() => [
|
|
2247
2247
|
u[1] || (u[1] = S(" One Status: ", -1)),
|
|
2248
|
-
|
|
2248
|
+
g("span", cs, C(e(o).isSubscriber ? "Active" : "Inactive"), 1)
|
|
2249
2249
|
]),
|
|
2250
2250
|
text: s(() => [
|
|
2251
|
-
|
|
2251
|
+
g("div", ds, C(e(o).isSubscriber ? "You are currently receiving benefits of Vuetify One." : "Login to activate Vuetify One benefits"), 1)
|
|
2252
2252
|
]),
|
|
2253
2253
|
_: 1
|
|
2254
2254
|
})
|
|
@@ -2267,7 +2267,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2267
2267
|
}), ms = /* @__PURE__ */ y({
|
|
2268
2268
|
__name: "VoSponsorshipsListItem",
|
|
2269
2269
|
setup(p) {
|
|
2270
|
-
const t =
|
|
2270
|
+
const t = M(!1);
|
|
2271
2271
|
return (a, o) => {
|
|
2272
2272
|
const i = ps, u = q;
|
|
2273
2273
|
return c(), m(u, {
|
|
@@ -2287,8 +2287,8 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2287
2287
|
}, 8, ["active", "prepend-icon"]);
|
|
2288
2288
|
};
|
|
2289
2289
|
}
|
|
2290
|
-
}), fs =
|
|
2291
|
-
const p =
|
|
2290
|
+
}), fs = K("downloads", () => {
|
|
2291
|
+
const p = J(), t = oe(), a = E([]), o = M(!1);
|
|
2292
2292
|
async function i() {
|
|
2293
2293
|
if (a.value.length > 0)
|
|
2294
2294
|
return a.value;
|
|
@@ -2394,7 +2394,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2394
2394
|
}), gs = { class: "px-3" }, _s = /* @__PURE__ */ y({
|
|
2395
2395
|
__name: "VoDownloadsNavItem",
|
|
2396
2396
|
setup(p) {
|
|
2397
|
-
const t =
|
|
2397
|
+
const t = M(!1);
|
|
2398
2398
|
return (a, o) => {
|
|
2399
2399
|
const i = vs, u = de, r = q;
|
|
2400
2400
|
return c(), m(r, {
|
|
@@ -2416,8 +2416,8 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2416
2416
|
default: s(() => [
|
|
2417
2417
|
n(ce, { scrollable: "" }, {
|
|
2418
2418
|
default: s(() => [
|
|
2419
|
-
|
|
2420
|
-
n(
|
|
2419
|
+
g("div", gs, [
|
|
2420
|
+
n(X, null, {
|
|
2421
2421
|
default: s(() => [
|
|
2422
2422
|
n(i)
|
|
2423
2423
|
]),
|
|
@@ -2446,7 +2446,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2446
2446
|
},
|
|
2447
2447
|
emits: ["update:modelValue"],
|
|
2448
2448
|
setup(p) {
|
|
2449
|
-
const t = O(), a = De(), o =
|
|
2449
|
+
const t = O(), a = De(), o = J(), { copy: i, copied: u } = Oe(), r = b(() => a.team), l = ke(), d = M(!1), f = [
|
|
2450
2450
|
{
|
|
2451
2451
|
title: "Name",
|
|
2452
2452
|
key: "name"
|
|
@@ -2457,7 +2457,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2457
2457
|
align: "end",
|
|
2458
2458
|
sortable: !1
|
|
2459
2459
|
}
|
|
2460
|
-
],
|
|
2460
|
+
], v = b(() => `https://one.vuetifyjs.com/?invite=${a.team?.inviteCode}`), _ = W(p, "modelValue");
|
|
2461
2461
|
async function V() {
|
|
2462
2462
|
d.value = !0;
|
|
2463
2463
|
const $ = await o.post("/one/team/regen");
|
|
@@ -2466,8 +2466,8 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2466
2466
|
return H(l, async () => {
|
|
2467
2467
|
!t.sessionId || l.value.one === "subscribe" || l.value.team && (t.isOpen = !0, await be(), _.value = !0);
|
|
2468
2468
|
}, { immediate: !0 }), ($, L) => {
|
|
2469
|
-
const U = ie,
|
|
2470
|
-
return c(), m(
|
|
2469
|
+
const U = ie, Y = de;
|
|
2470
|
+
return c(), m(Y, {
|
|
2471
2471
|
modelValue: _.value,
|
|
2472
2472
|
"onUpdate:modelValue": L[2] || (L[2] = (x) => _.value = x),
|
|
2473
2473
|
"prepend-icon": `svg:${e($o)}`,
|
|
@@ -2478,8 +2478,8 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2478
2478
|
default: s(() => [
|
|
2479
2479
|
n(ce, { scrollable: "" }, {
|
|
2480
2480
|
default: s(() => [
|
|
2481
|
-
|
|
2482
|
-
n(
|
|
2481
|
+
g("div", ys, [
|
|
2482
|
+
n(X, null, {
|
|
2483
2483
|
default: s(() => [
|
|
2484
2484
|
n(U, {
|
|
2485
2485
|
text: "Share access to Vuetify One with up to 25 team members.",
|
|
@@ -2495,7 +2495,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2495
2495
|
rounded: "lg"
|
|
2496
2496
|
}, {
|
|
2497
2497
|
default: s(() => [
|
|
2498
|
-
n(
|
|
2498
|
+
n(Fe, {
|
|
2499
2499
|
class: "bg-surface",
|
|
2500
2500
|
subtitle: `Team - ${e(r)?.members?.length} member(s)`,
|
|
2501
2501
|
title: "Members"
|
|
@@ -2524,7 +2524,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2524
2524
|
default: s(() => [
|
|
2525
2525
|
n(P, { color: "surface-light" }, {
|
|
2526
2526
|
default: s(() => [
|
|
2527
|
-
n(
|
|
2527
|
+
n(Fe, {
|
|
2528
2528
|
class: "bg-surface",
|
|
2529
2529
|
"prepend-icon": `svg:${e(Lo)}`,
|
|
2530
2530
|
subtitle: "Provide this link to invite your team members",
|
|
@@ -2543,23 +2543,23 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2543
2543
|
]),
|
|
2544
2544
|
_: 1
|
|
2545
2545
|
}, 8, ["prepend-icon"]),
|
|
2546
|
-
n(
|
|
2546
|
+
n(X, { class: "pt-4" }, {
|
|
2547
2547
|
default: s(() => [
|
|
2548
2548
|
n(kt, {
|
|
2549
2549
|
flat: "",
|
|
2550
2550
|
"hide-details": "",
|
|
2551
2551
|
label: "Invite link",
|
|
2552
|
-
"model-value": e(
|
|
2552
|
+
"model-value": e(v),
|
|
2553
2553
|
readonly: "",
|
|
2554
2554
|
variant: "solo"
|
|
2555
2555
|
}, {
|
|
2556
2556
|
"append-inner": s(() => [
|
|
2557
|
-
|
|
2557
|
+
N(n(I, {
|
|
2558
2558
|
icon: `svg:${e(u) ? e(Ve) : e(Re)}`,
|
|
2559
2559
|
size: "small",
|
|
2560
|
-
onClick: L[0] || (L[0] = (x) => e(i)(e(
|
|
2560
|
+
onClick: L[0] || (L[0] = (x) => e(i)(e(v)))
|
|
2561
2561
|
}, null, 8, ["icon"]), [
|
|
2562
|
-
[
|
|
2562
|
+
[Q, "Copy Team link"]
|
|
2563
2563
|
])
|
|
2564
2564
|
]),
|
|
2565
2565
|
_: 1
|
|
@@ -2580,8 +2580,8 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2580
2580
|
key: "0"
|
|
2581
2581
|
} : void 0
|
|
2582
2582
|
]), 1032, ["subtitle"]),
|
|
2583
|
-
n(
|
|
2584
|
-
n(
|
|
2583
|
+
n(Z),
|
|
2584
|
+
n(X, { class: "pa-2" }, {
|
|
2585
2585
|
default: s(() => [
|
|
2586
2586
|
n($e, {
|
|
2587
2587
|
border: "",
|
|
@@ -2594,13 +2594,13 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2594
2594
|
items: e(r)?.members
|
|
2595
2595
|
}, {
|
|
2596
2596
|
"item.name": s(({ item: x }) => [
|
|
2597
|
-
|
|
2598
|
-
n(
|
|
2597
|
+
g("div", hs, [
|
|
2598
|
+
n(te, {
|
|
2599
2599
|
image: x.picture,
|
|
2600
2600
|
size: "x-small",
|
|
2601
2601
|
start: ""
|
|
2602
2602
|
}, null, 8, ["image"]),
|
|
2603
|
-
|
|
2603
|
+
g("span", null, C(x.name), 1)
|
|
2604
2604
|
])
|
|
2605
2605
|
]),
|
|
2606
2606
|
"item.actions": s(({ item: x }) => [
|
|
@@ -2645,15 +2645,15 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2645
2645
|
rounded: "lg"
|
|
2646
2646
|
}, {
|
|
2647
2647
|
default: s(() => [
|
|
2648
|
-
n(
|
|
2648
|
+
n(Fe, {
|
|
2649
2649
|
"prepend-icon": `svg:${e(ot)}`,
|
|
2650
2650
|
subtitle: "You are currently a member of a team with an All-access Pass.",
|
|
2651
2651
|
title: "My Team access"
|
|
2652
2652
|
}, {
|
|
2653
2653
|
title: s(() => [
|
|
2654
|
-
|
|
2654
|
+
g("div", bs, [
|
|
2655
2655
|
L[4] || (L[4] = S(" My Team Access ", -1)),
|
|
2656
|
-
n(
|
|
2656
|
+
n(ee, {
|
|
2657
2657
|
border: "thin opacity-25 success",
|
|
2658
2658
|
class: "ms-2",
|
|
2659
2659
|
color: "success",
|
|
@@ -2695,7 +2695,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2695
2695
|
}), Vs = /* @__PURE__ */ y({
|
|
2696
2696
|
__name: "VoTeamListItem",
|
|
2697
2697
|
setup(p) {
|
|
2698
|
-
const t =
|
|
2698
|
+
const t = M(!1);
|
|
2699
2699
|
return (a, o) => {
|
|
2700
2700
|
const i = ks, u = q;
|
|
2701
2701
|
return c(), m(u, {
|
|
@@ -2788,19 +2788,19 @@ function Tt() {
|
|
|
2788
2788
|
const at = /* @__PURE__ */ y({
|
|
2789
2789
|
__name: "VoEcosystemMenu",
|
|
2790
2790
|
setup(p) {
|
|
2791
|
-
const t =
|
|
2791
|
+
const t = F(), { actions: a, isPinned: o, togglePin: i } = Tt();
|
|
2792
2792
|
return (u, r) => (c(), m(P, {
|
|
2793
2793
|
border: "",
|
|
2794
2794
|
"min-width": "240",
|
|
2795
2795
|
rounded: "lg"
|
|
2796
2796
|
}, {
|
|
2797
2797
|
default: s(() => [
|
|
2798
|
-
n(
|
|
2798
|
+
n(ne, {
|
|
2799
2799
|
density: "compact",
|
|
2800
2800
|
nav: ""
|
|
2801
2801
|
}, {
|
|
2802
2802
|
default: s(() => [
|
|
2803
|
-
(c(!0), k(D, null, G(e(a), (l) =>
|
|
2803
|
+
(c(!0), k(D, null, G(e(a), (l) => N((c(), m(le, {
|
|
2804
2804
|
key: l.id,
|
|
2805
2805
|
href: l.href,
|
|
2806
2806
|
"prepend-icon": l.icon,
|
|
@@ -2811,19 +2811,19 @@ const at = /* @__PURE__ */ y({
|
|
|
2811
2811
|
e(t).user ? {
|
|
2812
2812
|
name: "append",
|
|
2813
2813
|
fn: s(() => [
|
|
2814
|
-
|
|
2814
|
+
N(n(A, {
|
|
2815
2815
|
icon: `svg:${e(o)(l.id) ? e(Io) : e(Do)}`,
|
|
2816
2816
|
size: "x-small",
|
|
2817
2817
|
variant: "text",
|
|
2818
2818
|
onClick: ye((d) => e(i)(l.id), ["prevent", "stop"])
|
|
2819
2819
|
}, null, 8, ["icon", "onClick"]), [
|
|
2820
|
-
[
|
|
2820
|
+
[Q, e(o)(l.id) ? "Unpin" : "Pin", "top"]
|
|
2821
2821
|
])
|
|
2822
2822
|
]),
|
|
2823
2823
|
key: "0"
|
|
2824
2824
|
} : void 0
|
|
2825
2825
|
]), 1032, ["href", "prepend-icon", "title"])), [
|
|
2826
|
-
[
|
|
2826
|
+
[Q, l.description, "start"]
|
|
2827
2827
|
])), 128))
|
|
2828
2828
|
]),
|
|
2829
2829
|
_: 1
|
|
@@ -2835,7 +2835,7 @@ const at = /* @__PURE__ */ y({
|
|
|
2835
2835
|
}), Cs = /* @__PURE__ */ y({
|
|
2836
2836
|
__name: "VoEcosystemListItem",
|
|
2837
2837
|
setup(p) {
|
|
2838
|
-
const t = T(), { mobile: a } = ae(), o =
|
|
2838
|
+
const t = T(), { mobile: a } = ae(), o = M(!1);
|
|
2839
2839
|
return H(o, (i) => {
|
|
2840
2840
|
i && !t.one.ecosystem.seen && (t.one.ecosystem.seen = !0);
|
|
2841
2841
|
}), (i, u) => {
|
|
@@ -2878,7 +2878,7 @@ const at = /* @__PURE__ */ y({
|
|
|
2878
2878
|
e(t).one.ecosystem.seen ? void 0 : {
|
|
2879
2879
|
name: "append",
|
|
2880
2880
|
fn: s(() => [
|
|
2881
|
-
n(
|
|
2881
|
+
n(ee, {
|
|
2882
2882
|
color: "success",
|
|
2883
2883
|
size: "x-small",
|
|
2884
2884
|
text: "NEW",
|
|
@@ -2909,7 +2909,7 @@ const at = /* @__PURE__ */ y({
|
|
|
2909
2909
|
function u(r) {
|
|
2910
2910
|
i(r.slug) ? o.one.banners.read = o.one.banners.read.filter((l) => l !== r.slug) : o.one.banners.read.push(r.slug);
|
|
2911
2911
|
}
|
|
2912
|
-
return (r, l) => (c(), m(
|
|
2912
|
+
return (r, l) => (c(), m(ne, {
|
|
2913
2913
|
class: "py-0",
|
|
2914
2914
|
height: "100%",
|
|
2915
2915
|
lines: "three"
|
|
@@ -2921,10 +2921,10 @@ const at = /* @__PURE__ */ y({
|
|
|
2921
2921
|
size: "256"
|
|
2922
2922
|
}, {
|
|
2923
2923
|
media: s(() => [
|
|
2924
|
-
n(
|
|
2924
|
+
n(I, { color: "medium-emphasis" })
|
|
2925
2925
|
]),
|
|
2926
2926
|
title: s(() => [...l[0] || (l[0] = [
|
|
2927
|
-
|
|
2927
|
+
g("div", { class: "text-medium-emphasis" }, " All caught up ", -1)
|
|
2928
2928
|
])]),
|
|
2929
2929
|
_: 1
|
|
2930
2930
|
})
|
|
@@ -2941,7 +2941,7 @@ const at = /* @__PURE__ */ y({
|
|
|
2941
2941
|
title: d.title
|
|
2942
2942
|
}, {
|
|
2943
2943
|
prepend: s(() => [
|
|
2944
|
-
n(
|
|
2944
|
+
n(te, {
|
|
2945
2945
|
image: d.metadata.images.logo?.url
|
|
2946
2946
|
}, null, 8, ["image"])
|
|
2947
2947
|
]),
|
|
@@ -2951,7 +2951,7 @@ const at = /* @__PURE__ */ y({
|
|
|
2951
2951
|
_: 2
|
|
2952
2952
|
}, 1032, ["color", "image", "title"]),
|
|
2953
2953
|
n(ve, null, {
|
|
2954
|
-
default: s(({ props: f, isHovering:
|
|
2954
|
+
default: s(({ props: f, isHovering: v }) => [
|
|
2955
2955
|
n($e, R({ ref_for: !0 }, f, {
|
|
2956
2956
|
border: "",
|
|
2957
2957
|
class: "px-8 pt-2 pb-4 position-relative",
|
|
@@ -2965,14 +2965,14 @@ const at = /* @__PURE__ */ y({
|
|
|
2965
2965
|
activator: s(({ props: _ }) => [
|
|
2966
2966
|
n(xe, { "hide-on-leave": "" }, {
|
|
2967
2967
|
default: s(() => [
|
|
2968
|
-
|
|
2968
|
+
N(n(A, R({ ref_for: !0 }, _, {
|
|
2969
2969
|
class: "ms-auto float-right",
|
|
2970
2970
|
icon: `svg:${i(d.slug) ? e(We) : e(qe)}`,
|
|
2971
2971
|
size: "small",
|
|
2972
2972
|
variant: "text",
|
|
2973
2973
|
onClick: (V) => u(d)
|
|
2974
2974
|
}), null, 16, ["icon", "onClick"]), [
|
|
2975
|
-
[Ie,
|
|
2975
|
+
[Ie, v || e(a).mobile.value]
|
|
2976
2976
|
])
|
|
2977
2977
|
]),
|
|
2978
2978
|
_: 2
|
|
@@ -2980,10 +2980,10 @@ const at = /* @__PURE__ */ y({
|
|
|
2980
2980
|
]),
|
|
2981
2981
|
_: 2
|
|
2982
2982
|
}, 1032, ["text"]),
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
n(
|
|
2983
|
+
g("div", Ls, C(d.metadata.text), 1),
|
|
2984
|
+
g("div", ws, C(e(t).format(d.created_at, "fullDateWithWeekday")), 1),
|
|
2985
|
+
g("div", Ss, C(d.metadata.subtext), 1),
|
|
2986
|
+
n(ee, R({ ref_for: !0 }, {
|
|
2987
2987
|
href: d.metadata.link.startsWith("http") ? d.metadata.link : void 0,
|
|
2988
2988
|
target: d.metadata.link.startsWith("http") ? "_blank" : void 0,
|
|
2989
2989
|
to: d.metadata.link.startsWith("http") ? void 0 : d.metadata.link
|
|
@@ -2996,7 +2996,7 @@ const at = /* @__PURE__ */ y({
|
|
|
2996
2996
|
variant: "text"
|
|
2997
2997
|
}), {
|
|
2998
2998
|
append: s(() => [
|
|
2999
|
-
n(
|
|
2999
|
+
n(I, { size: "12" })
|
|
3000
3000
|
]),
|
|
3001
3001
|
_: 1
|
|
3002
3002
|
}, 16, ["append-icon", "text"])
|
|
@@ -3038,12 +3038,12 @@ const at = /* @__PURE__ */ y({
|
|
|
3038
3038
|
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));
|
|
3039
3039
|
}
|
|
3040
3040
|
return (d, f) => {
|
|
3041
|
-
const
|
|
3041
|
+
const v = q;
|
|
3042
3042
|
return c(), m(ve, null, {
|
|
3043
3043
|
default: s(({ isHovering: _, props: V }) => [
|
|
3044
|
-
n(
|
|
3044
|
+
n(v, R(V, { class: "py-4 mb-0" }), {
|
|
3045
3045
|
prepend: s(() => [
|
|
3046
|
-
|
|
3046
|
+
g("div", Is, C(d.notification.metadata.emoji), 1)
|
|
3047
3047
|
]),
|
|
3048
3048
|
append: s(() => [
|
|
3049
3049
|
n(an, {
|
|
@@ -3058,7 +3058,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3058
3058
|
activator: s(({ props: $ }) => [
|
|
3059
3059
|
n(xe, { "hide-on-leave": "" }, {
|
|
3060
3060
|
default: s(() => [
|
|
3061
|
-
|
|
3061
|
+
N(n(A, R($, {
|
|
3062
3062
|
class: "ms-auto",
|
|
3063
3063
|
icon: `svg:${r(d.notification.slug) ? e(We) : e(qe)}`,
|
|
3064
3064
|
"mdi-email-variant": "",
|
|
@@ -3081,13 +3081,13 @@ const at = /* @__PURE__ */ y({
|
|
|
3081
3081
|
default: s(() => [
|
|
3082
3082
|
n(_t, { class: "text-wrap text-h6 mb-1" }, {
|
|
3083
3083
|
default: s(() => [
|
|
3084
|
-
|
|
3084
|
+
g("div", Ds, C(d.notification.title), 1)
|
|
3085
3085
|
]),
|
|
3086
3086
|
_: 1
|
|
3087
3087
|
}),
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
n(
|
|
3088
|
+
g("div", As, C(e(o).format(d.notification.created_at, "fullDateWithWeekday")), 1),
|
|
3089
|
+
g("div", Ts, C(d.notification.metadata.text), 1),
|
|
3090
|
+
n(ee, R({
|
|
3091
3091
|
"append-icon": `svg:${e(Ae)}`
|
|
3092
3092
|
}, e(u), {
|
|
3093
3093
|
border: "",
|
|
@@ -3097,7 +3097,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3097
3097
|
variant: "text"
|
|
3098
3098
|
}), {
|
|
3099
3099
|
append: s(() => [
|
|
3100
|
-
n(
|
|
3100
|
+
n(I, { size: "12" })
|
|
3101
3101
|
]),
|
|
3102
3102
|
_: 1
|
|
3103
3103
|
}, 16, ["append-icon", "text"])
|
|
@@ -3120,7 +3120,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3120
3120
|
setup(p) {
|
|
3121
3121
|
return (t, a) => {
|
|
3122
3122
|
const o = Us;
|
|
3123
|
-
return c(), m(
|
|
3123
|
+
return c(), m(ne, {
|
|
3124
3124
|
class: "py-0",
|
|
3125
3125
|
height: "100%",
|
|
3126
3126
|
lines: "three"
|
|
@@ -3132,17 +3132,17 @@ const at = /* @__PURE__ */ y({
|
|
|
3132
3132
|
size: "256"
|
|
3133
3133
|
}, {
|
|
3134
3134
|
media: s(() => [
|
|
3135
|
-
n(
|
|
3135
|
+
n(I, { color: "medium-emphasis" })
|
|
3136
3136
|
]),
|
|
3137
3137
|
title: s(() => [...a[0] || (a[0] = [
|
|
3138
|
-
|
|
3138
|
+
g("div", { class: "text-medium-emphasis" }, " All caught up ", -1)
|
|
3139
3139
|
])]),
|
|
3140
3140
|
_: 1
|
|
3141
3141
|
})
|
|
3142
3142
|
])) : (c(!0), k(D, { key: 1 }, G(t.items, (i, u) => (c(), k(D, {
|
|
3143
3143
|
key: i.slug
|
|
3144
3144
|
}, [
|
|
3145
|
-
u !== 0 ? (c(), m(
|
|
3145
|
+
u !== 0 ? (c(), m(Z, { key: 0 })) : h("", !0),
|
|
3146
3146
|
n(o, { notification: i }, null, 8, ["notification"])
|
|
3147
3147
|
], 64))), 128))
|
|
3148
3148
|
]),
|
|
@@ -3150,36 +3150,36 @@ const at = /* @__PURE__ */ y({
|
|
|
3150
3150
|
});
|
|
3151
3151
|
};
|
|
3152
3152
|
}
|
|
3153
|
-
}), Ut =
|
|
3153
|
+
}), Ut = K("site", () => {
|
|
3154
3154
|
const p = E([]), t = E();
|
|
3155
3155
|
return {
|
|
3156
3156
|
id: p,
|
|
3157
3157
|
url: t
|
|
3158
3158
|
};
|
|
3159
|
-
}), Be =
|
|
3160
|
-
const p =
|
|
3159
|
+
}), Be = K("banners", () => {
|
|
3160
|
+
const p = J(), t = Ut(), a = T(), o = oe(), i = E([]), u = M(!1), r = b(() => {
|
|
3161
3161
|
if (l.value)
|
|
3162
3162
|
return l.value;
|
|
3163
3163
|
if (a.one.banners.enabled) {
|
|
3164
3164
|
if (a.one.banners.last) {
|
|
3165
|
-
const f = new Date(a.one.banners.last),
|
|
3166
|
-
if (f >
|
|
3165
|
+
const f = new Date(a.one.banners.last), v = new Date(Date.now() - 3 * 24 * 60 * 60 * 1e3);
|
|
3166
|
+
if (f > v)
|
|
3167
3167
|
return;
|
|
3168
3168
|
}
|
|
3169
3169
|
return i.value.find(({
|
|
3170
3170
|
slug: f,
|
|
3171
3171
|
metadata: {
|
|
3172
|
-
site:
|
|
3172
|
+
site: v,
|
|
3173
3173
|
active: _
|
|
3174
3174
|
}
|
|
3175
|
-
}) => !_ || a.one.banners.read.includes(f) ? !1 :
|
|
3175
|
+
}) => !_ || a.one.banners.read.includes(f) ? !1 : v.includes("dev") && !1 || v.includes("*") ? !0 : v.some((V) => t.id.includes(V)));
|
|
3176
3176
|
}
|
|
3177
3177
|
}), l = b(() => i.value.find(({
|
|
3178
3178
|
metadata: {
|
|
3179
3179
|
site: f,
|
|
3180
|
-
active:
|
|
3180
|
+
active: v
|
|
3181
3181
|
}
|
|
3182
|
-
}) =>
|
|
3182
|
+
}) => v ? f.includes("server") : !1));
|
|
3183
3183
|
async function d() {
|
|
3184
3184
|
try {
|
|
3185
3185
|
u.value = !0;
|
|
@@ -3199,8 +3199,8 @@ const at = /* @__PURE__ */ y({
|
|
|
3199
3199
|
banner: r,
|
|
3200
3200
|
index: d
|
|
3201
3201
|
};
|
|
3202
|
-
}),
|
|
3203
|
-
const p =
|
|
3202
|
+
}), Ee = K("notifications", () => {
|
|
3203
|
+
const p = J(), t = T(), a = oe(), 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)));
|
|
3204
3204
|
async function l() {
|
|
3205
3205
|
try {
|
|
3206
3206
|
i.value = !0;
|
|
@@ -3220,7 +3220,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3220
3220
|
unread: u,
|
|
3221
3221
|
index: l
|
|
3222
3222
|
};
|
|
3223
|
-
}), Os = { class: "text-caption" }, Bs = { class: "text-caption" },
|
|
3223
|
+
}), Os = { class: "text-caption" }, Bs = { class: "text-caption" }, Es = /* @__PURE__ */ y({
|
|
3224
3224
|
__name: "VoNotificationsDialog",
|
|
3225
3225
|
props: {
|
|
3226
3226
|
modelValue: { type: Boolean },
|
|
@@ -3228,12 +3228,12 @@ const at = /* @__PURE__ */ y({
|
|
|
3228
3228
|
},
|
|
3229
3229
|
emits: ["update:modelValue"],
|
|
3230
3230
|
setup(p) {
|
|
3231
|
-
const t = ae(), a = ke(), o = Be(), i =
|
|
3231
|
+
const t = ae(), a = ke(), o = Be(), i = Ee(), u = O(), r = T(), l = M(["read"]), d = W(p, "modelValue");
|
|
3232
3232
|
function f() {
|
|
3233
3233
|
const _ = i.unread.map((V) => V.slug);
|
|
3234
3234
|
r.one.notifications.read.push(..._);
|
|
3235
3235
|
}
|
|
3236
|
-
function
|
|
3236
|
+
function v() {
|
|
3237
3237
|
r.one.notifications.read = [];
|
|
3238
3238
|
}
|
|
3239
3239
|
return H(a, async () => {
|
|
@@ -3243,15 +3243,15 @@ const at = /* @__PURE__ */ y({
|
|
|
3243
3243
|
}
|
|
3244
3244
|
u.isOpen = !0, await be(), d.value = !0;
|
|
3245
3245
|
}, { immediate: !0 }), (_, V) => {
|
|
3246
|
-
const $ = q, L = zs, U = Ms,
|
|
3247
|
-
return c(), m(
|
|
3246
|
+
const $ = q, L = zs, U = Ms, Y = de;
|
|
3247
|
+
return c(), m(Y, {
|
|
3248
3248
|
modelValue: d.value,
|
|
3249
3249
|
"onUpdate:modelValue": V[2] || (V[2] = (x) => d.value = x),
|
|
3250
3250
|
"prepend-icon": `svg:${e(Ao)}`,
|
|
3251
3251
|
title: "Notifications"
|
|
3252
3252
|
}, {
|
|
3253
3253
|
append: s(() => [
|
|
3254
|
-
e(l)[0] === "read" ?
|
|
3254
|
+
e(l)[0] === "read" ? N((c(), m(A, {
|
|
3255
3255
|
key: 0,
|
|
3256
3256
|
class: "me-2",
|
|
3257
3257
|
density: "comfortable",
|
|
@@ -3261,9 +3261,9 @@ const at = /* @__PURE__ */ y({
|
|
|
3261
3261
|
variant: "text",
|
|
3262
3262
|
onClick: f
|
|
3263
3263
|
}, null, 8, ["disabled", "icon"])), [
|
|
3264
|
-
[
|
|
3264
|
+
[Q, "Mark All as Read", "start"]
|
|
3265
3265
|
]) : h("", !0),
|
|
3266
|
-
e(l)[0] === "unread" ?
|
|
3266
|
+
e(l)[0] === "unread" ? N((c(), m(A, {
|
|
3267
3267
|
key: 1,
|
|
3268
3268
|
class: "me-2",
|
|
3269
3269
|
density: "comfortable",
|
|
@@ -3271,9 +3271,9 @@ const at = /* @__PURE__ */ y({
|
|
|
3271
3271
|
icon: `svg:${e(We)}`,
|
|
3272
3272
|
size: "small",
|
|
3273
3273
|
variant: "text",
|
|
3274
|
-
onClick:
|
|
3274
|
+
onClick: v
|
|
3275
3275
|
}, null, 8, ["disabled", "icon"])), [
|
|
3276
|
-
[
|
|
3276
|
+
[Q, "Mark All as Unread", "start"]
|
|
3277
3277
|
]) : h("", !0)
|
|
3278
3278
|
]),
|
|
3279
3279
|
default: s(() => [
|
|
@@ -3285,7 +3285,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3285
3285
|
width: e(t).mobile.value ? 128 : 168
|
|
3286
3286
|
}, {
|
|
3287
3287
|
default: s(() => [
|
|
3288
|
-
n(
|
|
3288
|
+
n(ne, {
|
|
3289
3289
|
selected: e(l),
|
|
3290
3290
|
"onUpdate:selected": V[0] || (V[0] = (x) => j(l) ? l.value = x : null),
|
|
3291
3291
|
class: "px-4 pt-4",
|
|
@@ -3302,7 +3302,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3302
3302
|
e(i).unread.length > 0 ? {
|
|
3303
3303
|
name: "append",
|
|
3304
3304
|
fn: s(() => [
|
|
3305
|
-
|
|
3305
|
+
g("span", Os, C(e(i).unread.length), 1)
|
|
3306
3306
|
]),
|
|
3307
3307
|
key: "0"
|
|
3308
3308
|
} : void 0
|
|
@@ -3315,7 +3315,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3315
3315
|
e(i).read.length > 0 ? {
|
|
3316
3316
|
name: "append",
|
|
3317
3317
|
fn: s(() => [
|
|
3318
|
-
|
|
3318
|
+
g("span", Bs, C(e(i).read.length), 1)
|
|
3319
3319
|
]),
|
|
3320
3320
|
key: "0"
|
|
3321
3321
|
} : void 0
|
|
@@ -3385,10 +3385,10 @@ const at = /* @__PURE__ */ y({
|
|
|
3385
3385
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
3386
3386
|
};
|
|
3387
3387
|
}
|
|
3388
|
-
}),
|
|
3388
|
+
}), Fs = /* @__PURE__ */ y({
|
|
3389
3389
|
__name: "VoNotificationsBadge",
|
|
3390
3390
|
setup(p) {
|
|
3391
|
-
const t =
|
|
3391
|
+
const t = Ee(), a = T();
|
|
3392
3392
|
return (o, i) => (c(), m(Ye, {
|
|
3393
3393
|
color: "error",
|
|
3394
3394
|
content: e(t).unread.length,
|
|
@@ -3403,11 +3403,11 @@ const at = /* @__PURE__ */ y({
|
|
|
3403
3403
|
}), Ns = /* @__PURE__ */ y({
|
|
3404
3404
|
__name: "VoNotificationsNavItem",
|
|
3405
3405
|
setup(p) {
|
|
3406
|
-
const t = Be(), a = T(), o =
|
|
3406
|
+
const t = Be(), a = T(), o = Ee(), i = M(!1);
|
|
3407
3407
|
return He(async () => {
|
|
3408
3408
|
o.index(), t.index();
|
|
3409
3409
|
}), (u, r) => {
|
|
3410
|
-
const l =
|
|
3410
|
+
const l = Fs, d = Es, f = q;
|
|
3411
3411
|
return e(a).one.notifications.enabled ? (c(), m(f, {
|
|
3412
3412
|
key: 0,
|
|
3413
3413
|
active: e(i),
|
|
@@ -3419,7 +3419,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3419
3419
|
default: s(() => [
|
|
3420
3420
|
n(d, {
|
|
3421
3421
|
modelValue: e(i),
|
|
3422
|
-
"onUpdate:modelValue": r[0] || (r[0] = (
|
|
3422
|
+
"onUpdate:modelValue": r[0] || (r[0] = (v) => j(i) ? i.value = v : null)
|
|
3423
3423
|
}, null, 8, ["modelValue"])
|
|
3424
3424
|
]),
|
|
3425
3425
|
_: 2
|
|
@@ -3429,7 +3429,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3429
3429
|
fn: s(() => [
|
|
3430
3430
|
n(l, null, {
|
|
3431
3431
|
default: s(() => [
|
|
3432
|
-
n(
|
|
3432
|
+
n(I)
|
|
3433
3433
|
]),
|
|
3434
3434
|
_: 1
|
|
3435
3435
|
})
|
|
@@ -3462,10 +3462,10 @@ const at = /* @__PURE__ */ y({
|
|
|
3462
3462
|
}), Hs = /* @__PURE__ */ y({
|
|
3463
3463
|
__name: "VoUserList",
|
|
3464
3464
|
setup(p) {
|
|
3465
|
-
const t =
|
|
3465
|
+
const t = F(), a = O(), o = De();
|
|
3466
3466
|
return (i, u) => {
|
|
3467
|
-
const r = Zs, l = Ns, d = Cs, f = Vs,
|
|
3468
|
-
return c(), m(
|
|
3467
|
+
const r = Zs, l = Ns, d = Cs, f = Vs, v = _s, _ = ms, V = ns, $ = Bn, L = Sn, U = bn;
|
|
3468
|
+
return c(), m(ne, {
|
|
3469
3469
|
density: "compact",
|
|
3470
3470
|
nav: "",
|
|
3471
3471
|
slim: ""
|
|
@@ -3475,7 +3475,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3475
3475
|
n(l),
|
|
3476
3476
|
n(d),
|
|
3477
3477
|
e(o).hasTeamAccess ? (c(), m(f, { key: 1 })) : h("", !0),
|
|
3478
|
-
e(a).shopify ? (c(), m(
|
|
3478
|
+
e(a).shopify ? (c(), m(v, { key: 2 })) : h("", !0),
|
|
3479
3479
|
n(_),
|
|
3480
3480
|
e(t).user ? (c(), m(V, { key: 3 })) : h("", !0),
|
|
3481
3481
|
e(a).isSubscriber ? (c(), m($, { key: 4 })) : h("", !0),
|
|
@@ -3489,7 +3489,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3489
3489
|
}), 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__ */ y({
|
|
3490
3490
|
__name: "VoUserAvatar",
|
|
3491
3491
|
setup(p) {
|
|
3492
|
-
const t =
|
|
3492
|
+
const t = F(), a = O(), o = T(), i = M(!1), u = b(() => {
|
|
3493
3493
|
const d = [
|
|
3494
3494
|
"https://cdn.vuetifyjs.com/docs/images/avatars/dark.png",
|
|
3495
3495
|
"https://cdn.vuetifyjs.com/docs/images/avatars/blackguard.png",
|
|
@@ -3515,7 +3515,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3515
3515
|
a.isSubscriber && (i.value = !i.value);
|
|
3516
3516
|
}
|
|
3517
3517
|
return (d, f) => (c(), k("div", null, [
|
|
3518
|
-
|
|
3518
|
+
N((c(), m(te, {
|
|
3519
3519
|
class: Zt([
|
|
3520
3520
|
"border-md border-opacity-100 border-surface-light",
|
|
3521
3521
|
{
|
|
@@ -3532,7 +3532,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3532
3532
|
key: 0,
|
|
3533
3533
|
alt: "User avatar",
|
|
3534
3534
|
src: e(o).one.avatar
|
|
3535
|
-
}, null, 8, ["src"])) : (c(), m(
|
|
3535
|
+
}, null, 8, ["src"])) : (c(), m(I, {
|
|
3536
3536
|
key: 1,
|
|
3537
3537
|
class: "mt-1",
|
|
3538
3538
|
icon: "$vuetify",
|
|
@@ -3543,7 +3543,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3543
3543
|
}, 8, ["class"])), [
|
|
3544
3544
|
[Xo, e(a).isSubscriber]
|
|
3545
3545
|
]),
|
|
3546
|
-
|
|
3546
|
+
g("div", js, [
|
|
3547
3547
|
n(Le, null, {
|
|
3548
3548
|
default: s(() => [
|
|
3549
3549
|
e(i) ? (c(), k("div", Rs, [
|
|
@@ -3553,18 +3553,18 @@ const at = /* @__PURE__ */ y({
|
|
|
3553
3553
|
rounded: "0"
|
|
3554
3554
|
}, {
|
|
3555
3555
|
default: s(() => [
|
|
3556
|
-
|
|
3557
|
-
(c(!0), k(D, null, G(e(u), (
|
|
3556
|
+
g("div", qs, [
|
|
3557
|
+
(c(!0), k(D, null, G(e(u), (v, _) => (c(), m(A, {
|
|
3558
3558
|
key: _,
|
|
3559
|
-
active: e(o).one.avatar ===
|
|
3559
|
+
active: e(o).one.avatar === v,
|
|
3560
3560
|
icon: "",
|
|
3561
3561
|
variant: "flat",
|
|
3562
|
-
onClick: (V) => r(
|
|
3562
|
+
onClick: (V) => r(v)
|
|
3563
3563
|
}, {
|
|
3564
3564
|
default: s(() => [
|
|
3565
|
-
n(
|
|
3565
|
+
n(te, {
|
|
3566
3566
|
eager: "",
|
|
3567
|
-
image:
|
|
3567
|
+
image: v
|
|
3568
3568
|
}, null, 8, ["image"])
|
|
3569
3569
|
]),
|
|
3570
3570
|
_: 2
|
|
@@ -3578,7 +3578,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3578
3578
|
_: 1
|
|
3579
3579
|
})
|
|
3580
3580
|
]),
|
|
3581
|
-
|
|
3581
|
+
g("div", Ws, C(e(t).user?.name ?? "Guest"), 1)
|
|
3582
3582
|
]));
|
|
3583
3583
|
}
|
|
3584
3584
|
}), Ks = ["href"], Ys = /* @__PURE__ */ y({
|
|
@@ -3597,18 +3597,18 @@ const at = /* @__PURE__ */ y({
|
|
|
3597
3597
|
key: u.id
|
|
3598
3598
|
}, {
|
|
3599
3599
|
default: s(({ isHovering: r, props: l }) => [
|
|
3600
|
-
|
|
3600
|
+
N((c(), k("a", R({
|
|
3601
3601
|
class: "d-inline-flex",
|
|
3602
3602
|
href: u.href,
|
|
3603
3603
|
target: "_blank"
|
|
3604
3604
|
}, { ref_for: !0 }, l), [
|
|
3605
|
-
n(
|
|
3605
|
+
n(I, {
|
|
3606
3606
|
color: r ? "primary" : "white",
|
|
3607
3607
|
icon: u.icon,
|
|
3608
3608
|
size: "16"
|
|
3609
3609
|
}, null, 8, ["color", "icon"])
|
|
3610
3610
|
], 16, Ks)), [
|
|
3611
|
-
[
|
|
3611
|
+
[Q, u.name, "start"]
|
|
3612
3612
|
])
|
|
3613
3613
|
]),
|
|
3614
3614
|
_: 2
|
|
@@ -3620,7 +3620,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3620
3620
|
}), Qs = /* @__PURE__ */ y({
|
|
3621
3621
|
__name: "VoUserBadges",
|
|
3622
3622
|
setup(p) {
|
|
3623
|
-
const t =
|
|
3623
|
+
const t = F(), a = O(), o = b(() => a.github || a.discord || a.isSubscriber || t.user?.isAdmin);
|
|
3624
3624
|
return (i, u) => e(o) ? (c(), m($e, {
|
|
3625
3625
|
key: 0,
|
|
3626
3626
|
class: "align-center position-absolute ms-2 d-flex ga-2 pa-2",
|
|
@@ -3629,37 +3629,37 @@ const at = /* @__PURE__ */ y({
|
|
|
3629
3629
|
style: { left: "0", top: "8px" }
|
|
3630
3630
|
}, {
|
|
3631
3631
|
default: s(() => [
|
|
3632
|
-
e(t).user?.isAdmin ?
|
|
3632
|
+
e(t).user?.isAdmin ? N((c(), m(I, {
|
|
3633
3633
|
key: 0,
|
|
3634
3634
|
color: "blue",
|
|
3635
3635
|
icon: "$vuetify",
|
|
3636
3636
|
size: "16"
|
|
3637
3637
|
}, null, 512)), [
|
|
3638
|
-
[
|
|
3638
|
+
[Q, "Vuetify Administrator", "bottom"]
|
|
3639
3639
|
]) : h("", !0),
|
|
3640
|
-
e(a).isSubscriber ?
|
|
3640
|
+
e(a).isSubscriber ? N((c(), m(I, {
|
|
3641
3641
|
key: 1,
|
|
3642
3642
|
color: "amber-darken-2",
|
|
3643
3643
|
icon: `svg:${e(Bo)}`,
|
|
3644
3644
|
size: "16"
|
|
3645
3645
|
}, null, 8, ["icon"])), [
|
|
3646
|
-
[
|
|
3646
|
+
[Q, "Vuetify One Subscriber", "bottom"]
|
|
3647
3647
|
]) : h("", !0),
|
|
3648
|
-
e(a).github ?
|
|
3648
|
+
e(a).github ? N((c(), m(I, {
|
|
3649
3649
|
key: 2,
|
|
3650
3650
|
color: "white",
|
|
3651
3651
|
icon: "$github",
|
|
3652
3652
|
size: "16"
|
|
3653
3653
|
}, null, 512)), [
|
|
3654
|
-
[
|
|
3654
|
+
[Q, "GitHub Sponsor", "bottom"]
|
|
3655
3655
|
]) : h("", !0),
|
|
3656
|
-
e(a).discord ?
|
|
3656
|
+
e(a).discord ? N((c(), m(I, {
|
|
3657
3657
|
key: 3,
|
|
3658
3658
|
color: "white",
|
|
3659
3659
|
icon: "$discord",
|
|
3660
3660
|
size: "16"
|
|
3661
3661
|
}, null, 512)), [
|
|
3662
|
-
[
|
|
3662
|
+
[Q, "Discord Subscriber", "bottom"]
|
|
3663
3663
|
]) : h("", !0)
|
|
3664
3664
|
]),
|
|
3665
3665
|
_: 1
|
|
@@ -3671,12 +3671,12 @@ const at = /* @__PURE__ */ y({
|
|
|
3671
3671
|
}, ea = /* @__PURE__ */ y({
|
|
3672
3672
|
__name: "VoUserColors",
|
|
3673
3673
|
setup(p) {
|
|
3674
|
-
const t =
|
|
3674
|
+
const t = F(), a = O(), o = T(), i = M(!1);
|
|
3675
3675
|
function u() {
|
|
3676
3676
|
o.one.colors.primary = "surface-light";
|
|
3677
3677
|
}
|
|
3678
3678
|
return (r, l) => {
|
|
3679
|
-
const d = Qs, f = Ys,
|
|
3679
|
+
const d = Qs, f = Ys, v = we;
|
|
3680
3680
|
return c(), k(D, null, [
|
|
3681
3681
|
n(se, {
|
|
3682
3682
|
color: e(t).user ? e(o).one.colors.primary : "surface-light",
|
|
@@ -3687,18 +3687,18 @@ const at = /* @__PURE__ */ y({
|
|
|
3687
3687
|
rounded: "0"
|
|
3688
3688
|
}, {
|
|
3689
3689
|
default: s(() => [
|
|
3690
|
-
|
|
3690
|
+
g("div", Xs, [
|
|
3691
3691
|
n(d),
|
|
3692
3692
|
n(f),
|
|
3693
3693
|
n(Go, null, {
|
|
3694
3694
|
default: s(() => [
|
|
3695
|
-
|
|
3696
|
-
n(
|
|
3695
|
+
N(g("div", Js, [
|
|
3696
|
+
n(v, {
|
|
3697
3697
|
class: "ms-2 me-1",
|
|
3698
3698
|
color: "inherit",
|
|
3699
3699
|
density: "comfortable",
|
|
3700
3700
|
disabled: e(o).one.colors.primary === "surface-light",
|
|
3701
|
-
icon: `svg:${e(
|
|
3701
|
+
icon: `svg:${e(Eo)}`,
|
|
3702
3702
|
title: "Revert to Default",
|
|
3703
3703
|
variant: "text",
|
|
3704
3704
|
onClick: u
|
|
@@ -3709,7 +3709,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3709
3709
|
]),
|
|
3710
3710
|
_: 1
|
|
3711
3711
|
}),
|
|
3712
|
-
e(a).isSubscriber ? (c(), m(
|
|
3712
|
+
e(a).isSubscriber ? (c(), m(v, {
|
|
3713
3713
|
key: 0,
|
|
3714
3714
|
active: e(i),
|
|
3715
3715
|
class: "align-self-end",
|
|
@@ -3723,7 +3723,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3723
3723
|
default: s(() => [
|
|
3724
3724
|
n(xe, { "leave-absolute": "" }, {
|
|
3725
3725
|
default: s(() => [
|
|
3726
|
-
(c(), m(
|
|
3726
|
+
(c(), m(I, {
|
|
3727
3727
|
key: String(e(i))
|
|
3728
3728
|
}))
|
|
3729
3729
|
]),
|
|
@@ -3770,7 +3770,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3770
3770
|
ref_key: "menu",
|
|
3771
3771
|
ref: o,
|
|
3772
3772
|
modelValue: e(a).isOpen,
|
|
3773
|
-
"onUpdate:modelValue": u[0] || (u[0] = (
|
|
3773
|
+
"onUpdate:modelValue": u[0] || (u[0] = (v) => e(a).isOpen = v),
|
|
3774
3774
|
activator: "parent",
|
|
3775
3775
|
"close-on-click": !1,
|
|
3776
3776
|
"close-on-content-click": !1,
|
|
@@ -3785,12 +3785,12 @@ const at = /* @__PURE__ */ y({
|
|
|
3785
3785
|
}, {
|
|
3786
3786
|
default: s(() => [
|
|
3787
3787
|
n(r),
|
|
3788
|
-
|
|
3788
|
+
g("div", ta, [
|
|
3789
3789
|
n(l)
|
|
3790
3790
|
]),
|
|
3791
|
-
n(
|
|
3791
|
+
n(Z),
|
|
3792
3792
|
n(d),
|
|
3793
|
-
n(
|
|
3793
|
+
n(Z),
|
|
3794
3794
|
n(f)
|
|
3795
3795
|
]),
|
|
3796
3796
|
_: 1
|
|
@@ -3815,12 +3815,12 @@ const at = /* @__PURE__ */ y({
|
|
|
3815
3815
|
}, {
|
|
3816
3816
|
default: s(({ isActive: r }) => [
|
|
3817
3817
|
n(P, {
|
|
3818
|
-
"prepend-icon": `svg:${e(
|
|
3818
|
+
"prepend-icon": `svg:${e(Fo)}`,
|
|
3819
3819
|
rounded: "lg",
|
|
3820
3820
|
title: "Join a Team"
|
|
3821
3821
|
}, {
|
|
3822
3822
|
append: s(() => [
|
|
3823
|
-
|
|
3823
|
+
g("div", na, [
|
|
3824
3824
|
n(A, {
|
|
3825
3825
|
icon: "$close",
|
|
3826
3826
|
size: "x-small",
|
|
@@ -3831,11 +3831,11 @@ const at = /* @__PURE__ */ y({
|
|
|
3831
3831
|
]),
|
|
3832
3832
|
text: s(() => [
|
|
3833
3833
|
u[2] || (u[2] = S(" You have been invited to join ", -1)),
|
|
3834
|
-
|
|
3834
|
+
g("strong", null, C(e(a)), 1),
|
|
3835
3835
|
u[3] || (u[3] = S("! ", -1))
|
|
3836
3836
|
]),
|
|
3837
3837
|
default: s(() => [
|
|
3838
|
-
n(
|
|
3838
|
+
n(Z, { opacity: ".2" }),
|
|
3839
3839
|
n(yt, { class: "bg-surface-light" }, {
|
|
3840
3840
|
default: s(() => [
|
|
3841
3841
|
n(A, {
|
|
@@ -3871,23 +3871,23 @@ const at = /* @__PURE__ */ y({
|
|
|
3871
3871
|
external: Boolean
|
|
3872
3872
|
},
|
|
3873
3873
|
setup(p) {
|
|
3874
|
-
const t =
|
|
3874
|
+
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)), _ = ge(() => f.value ? "success" : "error");
|
|
3875
3875
|
function V() {
|
|
3876
3876
|
t.user || (t.dialog = !0);
|
|
3877
3877
|
}
|
|
3878
3878
|
return ($, L) => {
|
|
3879
|
-
const U = oa,
|
|
3879
|
+
const U = oa, Y = we, x = It, pe = pn;
|
|
3880
3880
|
return c(), k(D, null, [
|
|
3881
3881
|
n(Ye, {
|
|
3882
3882
|
color: e(_),
|
|
3883
3883
|
dot: "",
|
|
3884
3884
|
location: "end top",
|
|
3885
|
-
"model-value": e(
|
|
3885
|
+
"model-value": e(v),
|
|
3886
3886
|
"offset-x": e(t).user ? -2 : 0,
|
|
3887
3887
|
"offset-y": e(t).user ? 5 : 0
|
|
3888
3888
|
}, {
|
|
3889
3889
|
default: s(() => [
|
|
3890
|
-
n(
|
|
3890
|
+
n(Y, R({
|
|
3891
3891
|
[`${e(u) ? "append-" : ""}icon`]: e(t).user ? void 0 : `svg:${e(nt)}`
|
|
3892
3892
|
}, {
|
|
3893
3893
|
active: "",
|
|
@@ -3902,11 +3902,11 @@ const at = /* @__PURE__ */ y({
|
|
|
3902
3902
|
onClick: V
|
|
3903
3903
|
}), {
|
|
3904
3904
|
default: s(() => [
|
|
3905
|
-
e(t).user ? (c(), m(
|
|
3905
|
+
e(t).user ? (c(), m(te, {
|
|
3906
3906
|
key: 0,
|
|
3907
3907
|
image: e(i).one.avatar || e(t).user.picture || ""
|
|
3908
3908
|
}, null, 8, ["image"])) : (c(), k(D, { key: 1 }, [
|
|
3909
|
-
e(r) ? (c(), k("span", aa, "Login")) : (c(), m(
|
|
3909
|
+
e(r) ? (c(), k("span", aa, "Login")) : (c(), m(I, {
|
|
3910
3910
|
key: 1,
|
|
3911
3911
|
icon: `svg:${e(nt)}`
|
|
3912
3912
|
}, null, 8, ["icon"]))
|
|
@@ -3964,11 +3964,11 @@ const at = /* @__PURE__ */ y({
|
|
|
3964
3964
|
w(o.$slots, "prepend")
|
|
3965
3965
|
])) : h("", !0),
|
|
3966
3966
|
a.title ? (c(), k(D, { key: 1 }, [
|
|
3967
|
-
a.prepend ? (c(), m(
|
|
3967
|
+
a.prepend ? (c(), m(Z, {
|
|
3968
3968
|
key: 0,
|
|
3969
3969
|
class: "mb-3"
|
|
3970
3970
|
})) : h("", !0),
|
|
3971
|
-
|
|
3971
|
+
g("div", ra, [
|
|
3972
3972
|
w(o.$slots, "title")
|
|
3973
3973
|
])
|
|
3974
3974
|
], 64)) : h("", !0),
|
|
@@ -3977,8 +3977,8 @@ const at = /* @__PURE__ */ y({
|
|
|
3977
3977
|
w(o.$slots, "extension")
|
|
3978
3978
|
])) : h("", !0),
|
|
3979
3979
|
a.append ? (c(), k(D, { key: 4 }, [
|
|
3980
|
-
n(
|
|
3981
|
-
|
|
3980
|
+
n(Z, { class: "my-3" }),
|
|
3981
|
+
g("div", ua, [
|
|
3982
3982
|
w(o.$slots, "append")
|
|
3983
3983
|
])
|
|
3984
3984
|
], 64)) : h("", !0)
|
|
@@ -4001,7 +4001,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4001
4001
|
emits: ["update:mobileMenu"],
|
|
4002
4002
|
setup(p) {
|
|
4003
4003
|
const t = p, a = W(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`);
|
|
4004
|
-
return (f,
|
|
4004
|
+
return (f, v) => {
|
|
4005
4005
|
const _ = lt("router-link"), V = ca, $ = Pt;
|
|
4006
4006
|
return c(), m(xt, {
|
|
4007
4007
|
class: "border-b",
|
|
@@ -4029,7 +4029,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4029
4029
|
e(l) ? (c(), m(V, {
|
|
4030
4030
|
key: 0,
|
|
4031
4031
|
modelValue: a.value,
|
|
4032
|
-
"onUpdate:modelValue":
|
|
4032
|
+
"onUpdate:modelValue": v[0] || (v[0] = (L) => a.value = L)
|
|
4033
4033
|
}, z({
|
|
4034
4034
|
activator: s((L) => [
|
|
4035
4035
|
w(f.$slots, "menu-activator", ct(dt(L)))
|
|
@@ -4043,7 +4043,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4043
4043
|
])
|
|
4044
4044
|
}))
|
|
4045
4045
|
]), 1032, ["modelValue"])) : w(f.$slots, "append", { key: 1 }),
|
|
4046
|
-
"append" in o || "append-fixed" in o ? (c(), m(
|
|
4046
|
+
"append" in o || "append-fixed" in o ? (c(), m(Z, {
|
|
4047
4047
|
key: 2,
|
|
4048
4048
|
class: "align-self-center h-100 mx-2 mx-sm-4",
|
|
4049
4049
|
length: "20",
|
|
@@ -4183,7 +4183,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4183
4183
|
image: e(t).suit.footer
|
|
4184
4184
|
}, z({
|
|
4185
4185
|
default: s(() => [
|
|
4186
|
-
(c(), k(D, null, G(a, (r) =>
|
|
4186
|
+
(c(), k(D, null, G(a, (r) => g("a", {
|
|
4187
4187
|
key: r.title,
|
|
4188
4188
|
class: "d-inline-block mx-2 social-link",
|
|
4189
4189
|
href: r.href,
|
|
@@ -4191,14 +4191,14 @@ const at = /* @__PURE__ */ y({
|
|
|
4191
4191
|
target: "_blank",
|
|
4192
4192
|
title: r.title
|
|
4193
4193
|
}, [
|
|
4194
|
-
n(
|
|
4194
|
+
n(I, {
|
|
4195
4195
|
icon: r.icon,
|
|
4196
4196
|
size: r.icon === "$vuetify" ? 24 : 16
|
|
4197
4197
|
}, null, 8, ["icon", "size"])
|
|
4198
4198
|
], 8, ga)), 64)),
|
|
4199
|
-
|
|
4199
|
+
g("div", _a, [
|
|
4200
4200
|
S(" © 2016-" + C((/* @__PURE__ */ new Date()).getFullYear()) + " ", 1),
|
|
4201
|
-
i[0] || (i[0] =
|
|
4201
|
+
i[0] || (i[0] = g("span", { class: "d-none d-sm-inline-block" }, "Vuetify, LLC", -1))
|
|
4202
4202
|
])
|
|
4203
4203
|
]),
|
|
4204
4204
|
_: 2
|
|
@@ -4226,7 +4226,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4226
4226
|
function f() {
|
|
4227
4227
|
t.demo || r.value && (i.one.banners.read.push(r.value.slug), i.one.banners.last = (/* @__PURE__ */ new Date()).toISOString());
|
|
4228
4228
|
}
|
|
4229
|
-
async function
|
|
4229
|
+
async function v($) {
|
|
4230
4230
|
if (!r.value) return;
|
|
4231
4231
|
i.one.banners.last = (/* @__PURE__ */ new Date()).toISOString();
|
|
4232
4232
|
const L = r.value?.metadata ?? { link: "" };
|
|
@@ -4271,9 +4271,9 @@ const at = /* @__PURE__ */ y({
|
|
|
4271
4271
|
active: !1,
|
|
4272
4272
|
class: "flex-grow-1 py-6",
|
|
4273
4273
|
lines: "two"
|
|
4274
|
-
}, e(_), { onClick:
|
|
4274
|
+
}, e(_), { onClick: v }), {
|
|
4275
4275
|
prepend: s(() => [
|
|
4276
|
-
e(r).metadata.images.logo ? (c(), m(
|
|
4276
|
+
e(r).metadata.images.logo ? (c(), m(te, {
|
|
4277
4277
|
key: 0,
|
|
4278
4278
|
icon: "$vuetify",
|
|
4279
4279
|
image: e(r).metadata.images.logo.url,
|
|
@@ -4284,7 +4284,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4284
4284
|
]),
|
|
4285
4285
|
append: s(() => [
|
|
4286
4286
|
e(a) && e(r).metadata.link && e(r).metadata.link_text ? (c(), m(ve, { key: 0 }, {
|
|
4287
|
-
default: s(({ isHovering: U, props:
|
|
4287
|
+
default: s(({ isHovering: U, props: Y }) => [
|
|
4288
4288
|
n(A, R({
|
|
4289
4289
|
"append-icon": `svg:${e(Ae)}`,
|
|
4290
4290
|
class: "text-none me-2",
|
|
@@ -4292,11 +4292,11 @@ const at = /* @__PURE__ */ y({
|
|
|
4292
4292
|
elevation: U ? 8 : 0,
|
|
4293
4293
|
title: e(r).metadata.link_text
|
|
4294
4294
|
}, {
|
|
4295
|
-
...
|
|
4295
|
+
...Y,
|
|
4296
4296
|
...e(_)
|
|
4297
4297
|
}, {
|
|
4298
4298
|
variant: "elevated",
|
|
4299
|
-
onClick: ye(
|
|
4299
|
+
onClick: ye(v, ["stop"])
|
|
4300
4300
|
}), {
|
|
4301
4301
|
default: s(() => [
|
|
4302
4302
|
S(C(e(r).metadata.link_text), 1)
|
|
@@ -4388,11 +4388,11 @@ const at = /* @__PURE__ */ y({
|
|
|
4388
4388
|
} : void 0
|
|
4389
4389
|
]), 1024));
|
|
4390
4390
|
}
|
|
4391
|
-
}), Je =
|
|
4392
|
-
const p =
|
|
4391
|
+
}), Je = K("promotions", () => {
|
|
4392
|
+
const p = J(), t = oe(), a = E([]), o = M(!1), i = M(!1), u = b(() => a.value.filter((d) => d.metadata.discoverable));
|
|
4393
4393
|
je(l);
|
|
4394
4394
|
function r(d) {
|
|
4395
|
-
const f = d.filter((
|
|
4395
|
+
const f = d.filter((v) => v.metadata.active);
|
|
4396
4396
|
return f[Math.floor(Math.random() * f.length)];
|
|
4397
4397
|
}
|
|
4398
4398
|
async function l() {
|
|
@@ -4421,7 +4421,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4421
4421
|
slug: {}
|
|
4422
4422
|
},
|
|
4423
4423
|
setup(p) {
|
|
4424
|
-
const t = p, a =
|
|
4424
|
+
const t = p, a = F(), o = Je(), i = Te(), u = T(), r = b(() => {
|
|
4425
4425
|
if (!(a.user && !u.one.ads.enabled))
|
|
4426
4426
|
return t.slug ? o.all.find((f) => f.slug === t.slug) : o.random(o.all);
|
|
4427
4427
|
}), l = b(() => {
|
|
@@ -4431,7 +4431,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4431
4431
|
const f = i.current.value.dark ? "bgdark" : "bglight";
|
|
4432
4432
|
return r.value?.metadata.images[f]?.url;
|
|
4433
4433
|
});
|
|
4434
|
-
return (f,
|
|
4434
|
+
return (f, v) => {
|
|
4435
4435
|
const _ = Ot;
|
|
4436
4436
|
return e(r) || !e(o).hasLoaded ? (c(), m(_, {
|
|
4437
4437
|
key: 0,
|
|
@@ -4460,7 +4460,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4460
4460
|
e(r) ? {
|
|
4461
4461
|
name: "prepend",
|
|
4462
4462
|
fn: s(() => [
|
|
4463
|
-
n(
|
|
4463
|
+
n(te, {
|
|
4464
4464
|
class: "my-n4 me-4",
|
|
4465
4465
|
icon: "$vuetify",
|
|
4466
4466
|
size: "36"
|
|
@@ -4484,7 +4484,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4484
4484
|
slug: {}
|
|
4485
4485
|
},
|
|
4486
4486
|
setup(p) {
|
|
4487
|
-
const t = p, a =
|
|
4487
|
+
const t = p, a = F(), o = Je(), i = T(), u = b(() => {
|
|
4488
4488
|
if (!(a.user && !i.one.ads.enabled && !i.one.ads.house))
|
|
4489
4489
|
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);
|
|
4490
4490
|
});
|
|
@@ -4499,7 +4499,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4499
4499
|
width: "360"
|
|
4500
4500
|
}, {
|
|
4501
4501
|
default: s(() => [
|
|
4502
|
-
|
|
4502
|
+
g("div", $a, [
|
|
4503
4503
|
e(o).hasLoaded ? e(u) ? (c(), k(D, { key: 1 }, [
|
|
4504
4504
|
n(se, {
|
|
4505
4505
|
cover: "",
|
|
@@ -4510,8 +4510,8 @@ const at = /* @__PURE__ */ y({
|
|
|
4510
4510
|
src: e(u).metadata?.images.default?.url,
|
|
4511
4511
|
width: "100%"
|
|
4512
4512
|
}, null, 8, ["src"]),
|
|
4513
|
-
|
|
4514
|
-
|
|
4513
|
+
g("div", xa, [
|
|
4514
|
+
g("div", La, C(e(u).metadata?.text), 1)
|
|
4515
4515
|
])
|
|
4516
4516
|
], 64)) : h("", !0) : (c(), k(D, { key: 0 }, [
|
|
4517
4517
|
n(he, {
|
|
@@ -4542,7 +4542,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4542
4542
|
slug: {}
|
|
4543
4543
|
},
|
|
4544
4544
|
setup(p) {
|
|
4545
|
-
const t = p, a =
|
|
4545
|
+
const t = p, a = F(), o = Je(), i = T(), u = Te(), r = b(() => {
|
|
4546
4546
|
if (!(a.user && !i.one.ads.enabled))
|
|
4547
4547
|
return t.slug ? o.all.find((f) => f.slug === t.slug) : o.random(o.all);
|
|
4548
4548
|
}), l = b(() => {
|
|
@@ -4552,7 +4552,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4552
4552
|
const f = u.current.value.dark ? "bgdark" : "bglight";
|
|
4553
4553
|
return r.value?.metadata.images[f]?.url;
|
|
4554
4554
|
});
|
|
4555
|
-
return (f,
|
|
4555
|
+
return (f, v) => {
|
|
4556
4556
|
const _ = zt;
|
|
4557
4557
|
return c(), m(_, {
|
|
4558
4558
|
color: e(r)?.metadata.color ?? "surface",
|
|
@@ -4560,21 +4560,21 @@ const at = /* @__PURE__ */ y({
|
|
|
4560
4560
|
style: { transform: "translateY(0)" }
|
|
4561
4561
|
}, {
|
|
4562
4562
|
default: s(() => [
|
|
4563
|
-
|
|
4563
|
+
g("a", {
|
|
4564
4564
|
class: "d-flex align-center text-decoration-none py-2 px-4 ms-n4 flex-1-0 me-n4 position-relative",
|
|
4565
4565
|
href: e(r)?.metadata.url,
|
|
4566
4566
|
rel: "noopener noreferrer",
|
|
4567
4567
|
style: { color: "inherit" },
|
|
4568
4568
|
target: "_blank"
|
|
4569
4569
|
}, [
|
|
4570
|
-
n(
|
|
4570
|
+
n(te, {
|
|
4571
4571
|
class: "me-4",
|
|
4572
4572
|
icon: "$vuetify",
|
|
4573
4573
|
image: e(l),
|
|
4574
4574
|
size: "24"
|
|
4575
4575
|
}, null, 8, ["image"]),
|
|
4576
|
-
|
|
4577
|
-
e(r)?.metadata.advertisement ? (c(), m(
|
|
4576
|
+
g("div", null, C(e(r)?.metadata.text), 1),
|
|
4577
|
+
e(r)?.metadata.advertisement ? (c(), m(ee, {
|
|
4578
4578
|
key: 0,
|
|
4579
4579
|
class: "ms-auto me-n4 align-self-end mb-n2 py-1 ps-3",
|
|
4580
4580
|
rounded: "0 ts-lg",
|
|
@@ -4588,8 +4588,8 @@ const at = /* @__PURE__ */ y({
|
|
|
4588
4588
|
}, 8, ["color", "image"]);
|
|
4589
4589
|
};
|
|
4590
4590
|
}
|
|
4591
|
-
}), Ia =
|
|
4592
|
-
const p =
|
|
4591
|
+
}), Ia = K("spots", () => {
|
|
4592
|
+
const p = J(), t = Ut(), a = oe(), o = E([]), i = M(!1), u = b(() => o.value.find(({
|
|
4593
4593
|
metadata: {
|
|
4594
4594
|
site: l,
|
|
4595
4595
|
active: d
|
|
@@ -4700,8 +4700,8 @@ const at = /* @__PURE__ */ y({
|
|
|
4700
4700
|
["M10.1201 9.28459H7.99586V4.02767L10.1201 2H14.9586L17.0828 4.02767V9.28459H14.9586V4.02767H10.1201V9.28459Z", 0.6],
|
|
4701
4701
|
["M22 21L18.3734 17.675L14.3133 21H22Z", 0.4]
|
|
4702
4702
|
]
|
|
4703
|
-
}, wi =
|
|
4704
|
-
const p =
|
|
4703
|
+
}, wi = K("bins", () => {
|
|
4704
|
+
const p = J(), t = oe(), a = E([]), o = M(!1), i = b(() => a.value.filter((l) => l.favorite)), u = b(() => a.value.filter((l) => l.pinned));
|
|
4705
4705
|
async function r() {
|
|
4706
4706
|
try {
|
|
4707
4707
|
o.value = !0;
|
|
@@ -4721,8 +4721,63 @@ const at = /* @__PURE__ */ y({
|
|
|
4721
4721
|
all: a,
|
|
4722
4722
|
index: r
|
|
4723
4723
|
};
|
|
4724
|
-
}), Si =
|
|
4725
|
-
const p =
|
|
4724
|
+
}), Si = K("links", () => {
|
|
4725
|
+
const p = J(), t = oe(), 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(() => {
|
|
4726
|
+
const v = F(), _ = O();
|
|
4727
|
+
return v.user?.isAdmin || _.isSubscriber;
|
|
4728
|
+
});
|
|
4729
|
+
async function d() {
|
|
4730
|
+
try {
|
|
4731
|
+
o.value = !0;
|
|
4732
|
+
const v = await p.get("/one/links");
|
|
4733
|
+
a.value = v.links;
|
|
4734
|
+
} catch (v) {
|
|
4735
|
+
t.showError(v?.message ?? "Error fetching links");
|
|
4736
|
+
} finally {
|
|
4737
|
+
o.value = !1;
|
|
4738
|
+
}
|
|
4739
|
+
return a.value;
|
|
4740
|
+
}
|
|
4741
|
+
async function f(v) {
|
|
4742
|
+
if (!l.value) {
|
|
4743
|
+
t.showError("Must be a Vuetify One subscriber to create links");
|
|
4744
|
+
return;
|
|
4745
|
+
}
|
|
4746
|
+
try {
|
|
4747
|
+
i.value = !0;
|
|
4748
|
+
const _ = await p.post("/one/links", {
|
|
4749
|
+
link: {
|
|
4750
|
+
title: v.title,
|
|
4751
|
+
url: v.url,
|
|
4752
|
+
slug: v.slug || "",
|
|
4753
|
+
favorite: v.favorite ?? !1,
|
|
4754
|
+
pinned: v.pinned ?? !1,
|
|
4755
|
+
scoped: v.scoped ?? !1,
|
|
4756
|
+
passwordProtection: v.passwordProtection ?? !1,
|
|
4757
|
+
password: v.password ?? null,
|
|
4758
|
+
timer: v.timer ?? null,
|
|
4759
|
+
expiresAt: v.expiresAt ?? null
|
|
4760
|
+
}
|
|
4761
|
+
});
|
|
4762
|
+
return a.value.unshift(_.link), _.link;
|
|
4763
|
+
} catch (_) {
|
|
4764
|
+
t.showError(_?.message ?? "Error creating link");
|
|
4765
|
+
} finally {
|
|
4766
|
+
i.value = !1;
|
|
4767
|
+
}
|
|
4768
|
+
}
|
|
4769
|
+
return {
|
|
4770
|
+
isLoading: o,
|
|
4771
|
+
isSaving: i,
|
|
4772
|
+
canCreate: l,
|
|
4773
|
+
pinned: r,
|
|
4774
|
+
favorites: u,
|
|
4775
|
+
all: a,
|
|
4776
|
+
index: d,
|
|
4777
|
+
create: f
|
|
4778
|
+
};
|
|
4779
|
+
}), Mi = K("products", () => {
|
|
4780
|
+
const p = J(), t = oe(), a = E([]), o = b(() => a.value.filter((r) => r.product_type === "Themes"));
|
|
4726
4781
|
async function i() {
|
|
4727
4782
|
if (a.value.length > 0)
|
|
4728
4783
|
return a.value;
|
|
@@ -4743,12 +4798,12 @@ const at = /* @__PURE__ */ y({
|
|
|
4743
4798
|
index: i,
|
|
4744
4799
|
randomize: u
|
|
4745
4800
|
};
|
|
4746
|
-
}),
|
|
4747
|
-
const p =
|
|
4801
|
+
}), Ii = K("sponsors", () => {
|
|
4802
|
+
const p = J(), t = oe(), a = E([]), o = E([]), i = E(!1), u = b(() => {
|
|
4748
4803
|
const d = {};
|
|
4749
4804
|
for (const f of a.value) {
|
|
4750
|
-
const
|
|
4751
|
-
d[
|
|
4805
|
+
const v = f.metadata.tier;
|
|
4806
|
+
d[v] || (d[v] = []), d[v].push(f);
|
|
4752
4807
|
}
|
|
4753
4808
|
return d;
|
|
4754
4809
|
});
|
|
@@ -4777,13 +4832,13 @@ const at = /* @__PURE__ */ y({
|
|
|
4777
4832
|
index: r
|
|
4778
4833
|
};
|
|
4779
4834
|
});
|
|
4780
|
-
function
|
|
4835
|
+
function Di() {
|
|
4781
4836
|
function p(t) {
|
|
4782
4837
|
t.component("VoAppBar", da), t.component("VoAuthBtn", Pt), t.component("VoAuthCard", Mt), t.component("VoAuthDialog", It), t.component("VoAuthListItem", Dt), t.component("VoNotificationsBanner", ka), t.component("VoPromotionsCardHighlight", Ca), t.component("VoPromotionsCardVuetify", wa), t.component("VoPromotionsFooter", Ma), t.component("VoScript", ma), t.component("VoSocialFooter", ha), t.component("VoSpot", Aa);
|
|
4783
4838
|
}
|
|
4784
4839
|
return { install: p };
|
|
4785
4840
|
}
|
|
4786
|
-
function
|
|
4841
|
+
function Ai(p, t) {
|
|
4787
4842
|
return function(a) {
|
|
4788
4843
|
const o = a.store;
|
|
4789
4844
|
o.url = t, o.$id === "site" && (o.id = p);
|
|
@@ -4791,21 +4846,22 @@ function Di(p, t) {
|
|
|
4791
4846
|
}
|
|
4792
4847
|
export {
|
|
4793
4848
|
Li as aliases,
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4849
|
+
Di as createOne,
|
|
4850
|
+
Ai as one,
|
|
4851
|
+
F as useAuthStore,
|
|
4797
4852
|
Be as useBannersStore,
|
|
4798
4853
|
wi as useBinsStore,
|
|
4799
4854
|
fs as useDownloadsStore,
|
|
4800
|
-
|
|
4801
|
-
|
|
4855
|
+
J as useHttpStore,
|
|
4856
|
+
Si as useLinksStore,
|
|
4857
|
+
Ee as useNotificationsStore,
|
|
4802
4858
|
O as useOneStore,
|
|
4803
|
-
|
|
4859
|
+
Mi as useProductsStore,
|
|
4804
4860
|
Je as usePromotionsStore,
|
|
4805
|
-
|
|
4861
|
+
oe as useQueueStore,
|
|
4806
4862
|
Pe as useSettingsStore,
|
|
4807
4863
|
Ut as useSiteStore,
|
|
4808
|
-
|
|
4864
|
+
Ii as useSponsorsStore,
|
|
4809
4865
|
Ia as useSpotsStore,
|
|
4810
4866
|
De as useTeamStore,
|
|
4811
4867
|
T as useUserStore
|