@vuetify/one 2.10.1 → 2.11.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 +13 -2
- package/dist/index.js +630 -594
- package/dist/stores/auth.d.ts +1 -1
- package/package.json +5 -1
package/dist/index.js
CHANGED
|
@@ -1,74 +1,74 @@
|
|
|
1
|
-
import { defineComponent as _, createBlock as m, openBlock as c, unref as e, computed as b, createSlots as
|
|
2
|
-
import { u as ee, a as
|
|
3
|
-
import { VSnackbarQueue as
|
|
4
|
-
import { mdiStorefront as Wt, mdiSync as
|
|
5
|
-
import { VListItem as
|
|
1
|
+
import { defineComponent as _, createBlock as m, openBlock as c, unref as e, computed as b, createSlots as P, withCtx as s, createElementVNode as g, toDisplayString as V, createVNode as n, createTextVNode as S, normalizeStyle as it, createCommentVNode as h, renderSlot as w, shallowRef as M, watch as H, withModifiers as _e, mergeModels as rt, useModel as W, createElementBlock as k, Fragment as D, nextTick as be, renderList as K, mergeProps as R, withDirectives as Z, vShow as Ie, isRef as j, ref as F, readonly as Se, resolveComponent as lt, watchEffect as Nt, onMounted as He, toRef as ge, normalizeClass as Ht, useSlots as ut, normalizeProps as ct, guardReactiveProps as dt, onBeforeMount as je, onBeforeUnmount as jt, useCssVars as Rt, onServerPrefetch as qt } from "vue";
|
|
2
|
+
import { u as ee, a as E, b as T, c as B, d as Ce, e as Y, f as De } from "./auth-DCDisIda.js";
|
|
3
|
+
import { VSnackbarQueue as Gt } from "vuetify/components/VSnackbarQueue";
|
|
4
|
+
import { mdiStorefront as Wt, mdiSync as Kt, mdiSyncOff as Yt, mdiLogoutVariant as Qt, mdiFullscreenExit as Xt, mdiFullscreen as Jt, mdiCheck as ke, mdiSelect as eo, mdiSpaceInvaders as pt, mdiImageFilterHdr as mt, mdiTransmissionTower as ft, mdiRocketLaunchOutline as vt, mdiHome as to, mdiTextBox as oo, mdiWhiteBalanceSunny as no, mdiWeatherNight as so, mdiDesktopTowerMonitor as ao, mdiContrastCircle as io, mdiCog as ro, mdiCogOutline as lo, mdiShieldKeyOutline as uo, mdiContentCopy as Re, mdiFileDocument as gt, mdiKey as co, mdiPlus as po, mdiRefresh as mo, mdiKeyOutline as fo, mdiCreditCardSettingsOutline as vo, mdiRocketOutline as go, mdiCheckCircleOutline as Me, mdiCreditCard as yo, mdiReload as _o, mdiPlaylistCheck as ho, mdiCreditCardOutline as bo, mdiOpenInNew as Ae, mdiMedal as Co, mdiHandHeart as ko, mdiHandHeartOutline as Vo, mdiCloudDownload as $o, mdiTrayArrowDown as tt, mdiAccountGroup as xo, mdiAccount as Lo, mdiLinkVariant as wo, mdiShieldLock as ot, mdiAccountRemoveOutline as So, mdiExitToApp as Mo, mdiAccountGroupOutline as Io, mdiPin as Do, mdiPinOutline as Ao, mdiEmailOpenOutline as qe, mdiEmailVariant as Ge, mdiBell as To, mdiInboxOutline as Uo, mdiInboxFullOutline as Po, mdiBillboard as zo, mdiBellOutline as Bo, mdiViewDashboardOutline as Oo, mdiCrown as Eo, mdiArrowULeftBottom as Fo, mdiAtomVariant as Zo, mdiLogin as nt, mdiDotsVertical as No, mdiShieldStarOutline as Ho } from "@mdi/js";
|
|
5
|
+
import { VListItem as ae, VList as ne, VListSubheader as jo, VListItemTitle as yt, VListItemSubtitle as Ro } from "vuetify/components/VList";
|
|
6
6
|
import { VAvatar as oe } from "vuetify/components/VAvatar";
|
|
7
|
-
import { VCard as
|
|
7
|
+
import { VCard as z, VCardTitle as qo, VCardSubtitle as Go, VCardText as J, VCardActions as _t, VCardItem as Fe } from "vuetify/components/VCard";
|
|
8
8
|
import { VDialog as Ve } from "vuetify/components/VDialog";
|
|
9
9
|
import { VBtn as A } from "vuetify/components/VBtn";
|
|
10
10
|
import { VProgressCircular as Wo } from "vuetify/components/VProgressCircular";
|
|
11
11
|
import { VSheet as $e } from "vuetify/components/VSheet";
|
|
12
|
-
import { VSwitch as
|
|
13
|
-
import { VFadeTransition as xe, VExpandTransition as Le, VExpandXTransition as
|
|
14
|
-
import { useDisplay as
|
|
12
|
+
import { VSwitch as We } from "vuetify/components/VSwitch";
|
|
13
|
+
import { VFadeTransition as xe, VExpandTransition as Le, VExpandXTransition as Ko } from "vuetify/components/transitions";
|
|
14
|
+
import { useDisplay as ie, useTheme as Te, useDate as me } from "vuetify";
|
|
15
15
|
import { VDivider as N } from "vuetify/components/VDivider";
|
|
16
16
|
import { VIcon as I } from "vuetify/components/VIcon";
|
|
17
17
|
import { VLabel as Ze } from "vuetify/components/VLabel";
|
|
18
18
|
import { VChip as te } from "vuetify/components/VChip";
|
|
19
|
-
import { VChipGroup as
|
|
20
|
-
import { VSelect as
|
|
19
|
+
import { VChipGroup as Yo } from "vuetify/components/VChipGroup";
|
|
20
|
+
import { VSelect as Qo } from "vuetify/components/VSelect";
|
|
21
21
|
import { defineStore as q } from "pinia";
|
|
22
|
-
import { VRow as fe, VCol as
|
|
22
|
+
import { VRow as fe, VCol as le, 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";
|
|
25
25
|
import { VItemGroup as bt, VItem as Ne } from "vuetify/components/VItemGroup";
|
|
26
26
|
import { VLayout as ue } from "vuetify/components/VLayout";
|
|
27
27
|
import { VMain as ce } from "vuetify/components/VMain";
|
|
28
28
|
import { VTextField as Ct } from "vuetify/components/VTextField";
|
|
29
|
-
import { VTable as
|
|
30
|
-
import { Tooltip as X, Ripple as
|
|
31
|
-
import { VExpansionPanels as
|
|
32
|
-
import { VDataTableVirtual as kt, VDataTable as
|
|
29
|
+
import { VTable as Xo } from "vuetify/components/VTable";
|
|
30
|
+
import { Tooltip as X, Ripple as Jo } from "vuetify/directives";
|
|
31
|
+
import { VExpansionPanels as en, VExpansionPanel as tn, VExpansionPanelText as on } from "vuetify/components/VExpansionPanel";
|
|
32
|
+
import { VDataTableVirtual as kt, VDataTable as nn } from "vuetify/components/VDataTable";
|
|
33
33
|
import { VSkeletonLoader as he } from "vuetify/components/VSkeletonLoader";
|
|
34
34
|
import { VWindow as Vt, VWindowItem as ye } from "vuetify/components/VWindow";
|
|
35
|
-
import { VTimelineItem as
|
|
35
|
+
import { VTimelineItem as sn, VTimeline as an } from "vuetify/components/VTimeline";
|
|
36
36
|
import { VEmptyState as Ke } from "vuetify/components/VEmptyState";
|
|
37
37
|
import { VMenu as Ue } from "vuetify/components/VMenu";
|
|
38
38
|
import { VTooltip as $t } from "vuetify/components/VTooltip";
|
|
39
|
-
import { VResponsive as
|
|
39
|
+
import { VResponsive as rn } from "vuetify/components/VResponsive";
|
|
40
40
|
import { VBadge as Ye } from "vuetify/components/VBadge";
|
|
41
|
-
import { VNavigationDrawer as
|
|
42
|
-
import { VColorPicker as
|
|
41
|
+
import { VNavigationDrawer as ln } from "vuetify/components/VNavigationDrawer";
|
|
42
|
+
import { VColorPicker as un } from "vuetify/components/VColorPicker";
|
|
43
43
|
import { VAppBar as xt } from "vuetify/components/VAppBar";
|
|
44
|
-
import { VFooter as
|
|
45
|
-
import { useRouter as
|
|
46
|
-
import { VLazy as
|
|
47
|
-
const
|
|
44
|
+
import { VFooter as cn } from "vuetify/components/VFooter";
|
|
45
|
+
import { useRouter as dn } from "vue-router";
|
|
46
|
+
import { VLazy as pn } from "vuetify/components/VLazy";
|
|
47
|
+
const mn = /* @__PURE__ */ _({
|
|
48
48
|
__name: "VoSnackbarQueue",
|
|
49
49
|
setup(p) {
|
|
50
50
|
const t = ee();
|
|
51
|
-
return (a, o) => (c(), m(
|
|
51
|
+
return (a, o) => (c(), m(Gt, {
|
|
52
52
|
modelValue: e(t).queue,
|
|
53
53
|
"onUpdate:modelValue": o[0] || (o[0] = (i) => e(t).queue = i),
|
|
54
54
|
closable: "",
|
|
55
55
|
location: "bottom end"
|
|
56
56
|
}, null, 8, ["modelValue"]));
|
|
57
57
|
}
|
|
58
|
-
}),
|
|
58
|
+
}), fn = { class: "text-body-2" }, Lt = /* @__PURE__ */ _({
|
|
59
59
|
__name: "VoAuthShopify",
|
|
60
60
|
setup(p) {
|
|
61
|
-
const t =
|
|
62
|
-
return (i, u) => (c(), m(
|
|
61
|
+
const t = E(), a = b(() => t.user && t.findIdentity("shopify")), o = b(() => t.user ? a.value ? "Connected to Shopify" : "Connect Shopify" : "Login with Shopify");
|
|
62
|
+
return (i, u) => (c(), m(ae, {
|
|
63
63
|
"base-color": "#5b8a3c",
|
|
64
64
|
"prepend-icon": `svg:${e(Wt)}`,
|
|
65
65
|
rounded: "pill",
|
|
66
66
|
slim: "",
|
|
67
67
|
variant: "flat",
|
|
68
68
|
onClick: u[0] || (u[0] = (r) => e(t).login("shopify"))
|
|
69
|
-
},
|
|
69
|
+
}, P({
|
|
70
70
|
title: s(() => [
|
|
71
|
-
g("span",
|
|
71
|
+
g("span", fn, V(e(o)), 1)
|
|
72
72
|
]),
|
|
73
73
|
_: 2
|
|
74
74
|
}, [
|
|
@@ -81,20 +81,20 @@ const pn = /* @__PURE__ */ _({
|
|
|
81
81
|
} : void 0
|
|
82
82
|
]), 1032, ["prepend-icon"]));
|
|
83
83
|
}
|
|
84
|
-
}),
|
|
84
|
+
}), vn = { class: "text-body-2" }, wt = /* @__PURE__ */ _({
|
|
85
85
|
__name: "VoAuthDiscord",
|
|
86
86
|
setup(p) {
|
|
87
|
-
const t =
|
|
88
|
-
return (i, u) => (c(), m(
|
|
87
|
+
const t = E(), a = b(() => t.user && t.findIdentity("discord")), o = b(() => t.user ? a.value ? "Connected to Discord" : "Connect Discord" : "Login with Discord");
|
|
88
|
+
return (i, u) => (c(), m(ae, {
|
|
89
89
|
"base-color": "#5865F2",
|
|
90
90
|
"prepend-icon": "$discord",
|
|
91
91
|
rounded: "pill",
|
|
92
92
|
slim: "",
|
|
93
93
|
variant: "flat",
|
|
94
94
|
onClick: u[0] || (u[0] = (r) => e(t).login("discord"))
|
|
95
|
-
},
|
|
95
|
+
}, P({
|
|
96
96
|
title: s(() => [
|
|
97
|
-
g("span",
|
|
97
|
+
g("span", vn, V(e(o)), 1)
|
|
98
98
|
]),
|
|
99
99
|
_: 2
|
|
100
100
|
}, [
|
|
@@ -107,20 +107,46 @@ const pn = /* @__PURE__ */ _({
|
|
|
107
107
|
} : void 0
|
|
108
108
|
]), 1024));
|
|
109
109
|
}
|
|
110
|
-
}),
|
|
110
|
+
}), gn = { class: "text-body-2" }, St = /* @__PURE__ */ _({
|
|
111
|
+
__name: "VoAuthGoogle",
|
|
112
|
+
setup(p) {
|
|
113
|
+
const t = E(), a = b(() => t.user && t.findIdentity("google")), o = b(() => t.user ? a.value ? "Connected to Google" : "Connect Google" : "Login with Google");
|
|
114
|
+
return (i, u) => (c(), m(ae, {
|
|
115
|
+
"base-color": "#4285F4",
|
|
116
|
+
"prepend-icon": "mdiGoogle",
|
|
117
|
+
rounded: "pill",
|
|
118
|
+
slim: "",
|
|
119
|
+
variant: "flat",
|
|
120
|
+
onClick: u[0] || (u[0] = (r) => e(t).login("google"))
|
|
121
|
+
}, P({
|
|
122
|
+
title: s(() => [
|
|
123
|
+
g("span", gn, V(e(o)), 1)
|
|
124
|
+
]),
|
|
125
|
+
_: 2
|
|
126
|
+
}, [
|
|
127
|
+
!e(t).user && e(t).lastLoginProvider() === "google" ? {
|
|
128
|
+
name: "subtitle",
|
|
129
|
+
fn: s(() => [
|
|
130
|
+
u[1] || (u[1] = g("div", { class: "text-caption mt-n1" }, "Last Used", -1))
|
|
131
|
+
]),
|
|
132
|
+
key: "0"
|
|
133
|
+
} : void 0
|
|
134
|
+
]), 1024));
|
|
135
|
+
}
|
|
136
|
+
}), yn = { class: "text-body-2" }, Mt = /* @__PURE__ */ _({
|
|
111
137
|
__name: "VoAuthGithub",
|
|
112
138
|
setup(p) {
|
|
113
|
-
const t =
|
|
114
|
-
return (i, u) => (c(), m(
|
|
139
|
+
const t = E(), a = b(() => t.user && t.findIdentity("github")), o = b(() => t.user ? a.value ? "Connected to GitHub" : "Connect GitHub" : "Login with GitHub");
|
|
140
|
+
return (i, u) => (c(), m(ae, {
|
|
115
141
|
"base-color": "#2a2a2a",
|
|
116
142
|
"prepend-icon": "$github",
|
|
117
143
|
rounded: "pill",
|
|
118
144
|
slim: "",
|
|
119
145
|
variant: "flat",
|
|
120
146
|
onClick: u[0] || (u[0] = (r) => e(t).login("github"))
|
|
121
|
-
},
|
|
147
|
+
}, P({
|
|
122
148
|
title: s(() => [
|
|
123
|
-
g("span",
|
|
149
|
+
g("span", yn, V(e(o)), 1)
|
|
124
150
|
]),
|
|
125
151
|
_: 2
|
|
126
152
|
}, [
|
|
@@ -133,34 +159,34 @@ const pn = /* @__PURE__ */ _({
|
|
|
133
159
|
} : void 0
|
|
134
160
|
]), 1024));
|
|
135
161
|
}
|
|
136
|
-
}),
|
|
162
|
+
}), _n = { class: "text-center" }, hn = { class: "text-center mb-6" }, bn = { class: "text-h6 font-weight-light" }, It = /* @__PURE__ */ _({
|
|
137
163
|
__name: "VoAuthCard",
|
|
138
164
|
setup(p) {
|
|
139
|
-
const t =
|
|
165
|
+
const t = E();
|
|
140
166
|
return (a, o) => {
|
|
141
|
-
const i =
|
|
142
|
-
return c(), m(
|
|
167
|
+
const i = Mt, u = St, r = wt, l = Lt;
|
|
168
|
+
return c(), m(z, {
|
|
143
169
|
class: "pt-6 pb-8 px-4 px-sm-8 mx-auto",
|
|
144
170
|
"max-width": "480",
|
|
145
171
|
rounded: "lg"
|
|
146
172
|
}, {
|
|
147
173
|
default: s(() => [
|
|
148
|
-
g("div",
|
|
174
|
+
g("div", _n, [
|
|
149
175
|
n(oe, {
|
|
150
176
|
class: "mx-auto",
|
|
151
177
|
image: "https://vuetifyjs.b-cdn.net/docs/images/avatars/one.png",
|
|
152
178
|
size: "64"
|
|
153
179
|
})
|
|
154
180
|
]),
|
|
155
|
-
g("div",
|
|
156
|
-
n(
|
|
181
|
+
g("div", hn, [
|
|
182
|
+
n(qo, { class: "text-h5 mb-1 text-md-h4" }, {
|
|
157
183
|
default: s(() => [
|
|
158
|
-
g("div",
|
|
184
|
+
g("div", bn, V(e(t).lastLoginProvider() ? "Welcome back to" : "Login to"), 1),
|
|
159
185
|
o[0] || (o[0] = g("span", { class: "text-h3 font-weight-bold" }, "Vuetify One", -1))
|
|
160
186
|
]),
|
|
161
187
|
_: 1
|
|
162
188
|
}),
|
|
163
|
-
n(
|
|
189
|
+
n(Go, { class: "text-wrap" }, {
|
|
164
190
|
default: s(() => [...o[1] || (o[1] = [
|
|
165
191
|
S(" Login to save your settings and gain access to exclusive subscriber perks. ", -1)
|
|
166
192
|
])]),
|
|
@@ -175,7 +201,8 @@ const pn = /* @__PURE__ */ _({
|
|
|
175
201
|
default: s(() => [
|
|
176
202
|
n(i, { class: "mb-3" }),
|
|
177
203
|
n(u, { class: "mb-3" }),
|
|
178
|
-
n(r)
|
|
204
|
+
n(r, { class: "mb-3" }),
|
|
205
|
+
n(l)
|
|
179
206
|
]),
|
|
180
207
|
_: 1
|
|
181
208
|
})
|
|
@@ -184,12 +211,12 @@ const pn = /* @__PURE__ */ _({
|
|
|
184
211
|
});
|
|
185
212
|
};
|
|
186
213
|
}
|
|
187
|
-
}),
|
|
214
|
+
}), Dt = /* @__PURE__ */ _({
|
|
188
215
|
__name: "VoAuthDialog",
|
|
189
216
|
setup(p) {
|
|
190
|
-
const t =
|
|
217
|
+
const t = E();
|
|
191
218
|
return (a, o) => {
|
|
192
|
-
const i =
|
|
219
|
+
const i = It;
|
|
193
220
|
return c(), m(Ve, {
|
|
194
221
|
modelValue: e(t).dialog,
|
|
195
222
|
"onUpdate:modelValue": o[0] || (o[0] = (u) => e(t).dialog = u),
|
|
@@ -218,7 +245,7 @@ const pn = /* @__PURE__ */ _({
|
|
|
218
245
|
}),
|
|
219
246
|
tabindex: t.readonly ? -1 : void 0,
|
|
220
247
|
variant: "flat"
|
|
221
|
-
},
|
|
248
|
+
}, P({
|
|
222
249
|
loader: s(() => [
|
|
223
250
|
a.$slots.loader ? h("", !0) : (c(), m(Wo, {
|
|
224
251
|
key: 0,
|
|
@@ -246,10 +273,10 @@ const pn = /* @__PURE__ */ _({
|
|
|
246
273
|
} : void 0
|
|
247
274
|
]), 1032, ["style", "tabindex"]));
|
|
248
275
|
}
|
|
249
|
-
}),
|
|
276
|
+
}), Cn = { class: "pa-4 d-flex flex-column ga-4" }, At = /* @__PURE__ */ _({
|
|
250
277
|
__name: "VoAuthListItem",
|
|
251
278
|
setup(p) {
|
|
252
|
-
const t =
|
|
279
|
+
const t = E(), a = T(), o = M(!t.user && !t.isLoading);
|
|
253
280
|
H(() => t.user, (u) => {
|
|
254
281
|
o.value = !u;
|
|
255
282
|
});
|
|
@@ -257,8 +284,8 @@ const pn = /* @__PURE__ */ _({
|
|
|
257
284
|
t.user && (o.value = !o.value);
|
|
258
285
|
}
|
|
259
286
|
return (u, r) => {
|
|
260
|
-
const l =
|
|
261
|
-
return c(), m(
|
|
287
|
+
const l = Mt, d = St, f = wt, y = Lt;
|
|
288
|
+
return c(), m(z, {
|
|
262
289
|
class: "ma-2",
|
|
263
290
|
rounded: "lg",
|
|
264
291
|
variant: e(o) ? "tonal" : "text"
|
|
@@ -266,11 +293,11 @@ const pn = /* @__PURE__ */ _({
|
|
|
266
293
|
default: s(() => [
|
|
267
294
|
n(ne, { class: "py-0" }, {
|
|
268
295
|
default: s(() => [
|
|
269
|
-
n(
|
|
296
|
+
n(ae, {
|
|
270
297
|
class: "mb-0",
|
|
271
298
|
link: !!e(t).user,
|
|
272
299
|
nav: "",
|
|
273
|
-
"prepend-icon": `svg:${e(t).user && e(a).one.sync ? e(
|
|
300
|
+
"prepend-icon": `svg:${e(t).user && e(a).one.sync ? e(Kt) : e(Yt)}`,
|
|
274
301
|
rounded: "b-0",
|
|
275
302
|
slim: "",
|
|
276
303
|
title: e(t).user && e(a).one.sync ? "Sync is on" : "Sync is paused",
|
|
@@ -279,7 +306,7 @@ const pn = /* @__PURE__ */ _({
|
|
|
279
306
|
append: s(() => [
|
|
280
307
|
n(xe, null, {
|
|
281
308
|
default: s(() => [
|
|
282
|
-
e(t).user && (e(o) || !e(a).one.sync) ? (c(), m(
|
|
309
|
+
e(t).user && (e(o) || !e(a).one.sync) ? (c(), m(We, {
|
|
283
310
|
key: 0,
|
|
284
311
|
modelValue: e(a).one.sync,
|
|
285
312
|
"onUpdate:modelValue": r[0] || (r[0] = (v) => e(a).one.sync = v),
|
|
@@ -311,7 +338,7 @@ const pn = /* @__PURE__ */ _({
|
|
|
311
338
|
color: "transparent"
|
|
312
339
|
}, {
|
|
313
340
|
default: s(() => [
|
|
314
|
-
g("div",
|
|
341
|
+
g("div", Cn, [
|
|
315
342
|
n(l, {
|
|
316
343
|
onClick: r[2] || (r[2] = (v) => o.value = !1)
|
|
317
344
|
}),
|
|
@@ -320,6 +347,9 @@ const pn = /* @__PURE__ */ _({
|
|
|
320
347
|
}),
|
|
321
348
|
n(f, {
|
|
322
349
|
onClick: r[4] || (r[4] = (v) => o.value = !1)
|
|
350
|
+
}),
|
|
351
|
+
n(y, {
|
|
352
|
+
onClick: r[5] || (r[5] = (v) => o.value = !1)
|
|
323
353
|
})
|
|
324
354
|
])
|
|
325
355
|
]),
|
|
@@ -336,10 +366,10 @@ const pn = /* @__PURE__ */ _({
|
|
|
336
366
|
}, 8, ["variant"]);
|
|
337
367
|
};
|
|
338
368
|
}
|
|
339
|
-
}),
|
|
369
|
+
}), G = /* @__PURE__ */ _({
|
|
340
370
|
__name: "VoListItem",
|
|
341
371
|
setup(p) {
|
|
342
|
-
return (t, a) => (c(), m(
|
|
372
|
+
return (t, a) => (c(), m(ae, { slim: "" }, P({
|
|
343
373
|
default: s(() => [
|
|
344
374
|
w(t.$slots, "default")
|
|
345
375
|
]),
|
|
@@ -368,21 +398,21 @@ const pn = /* @__PURE__ */ _({
|
|
|
368
398
|
} : void 0
|
|
369
399
|
]), 1024));
|
|
370
400
|
}
|
|
371
|
-
}),
|
|
401
|
+
}), kn = /* @__PURE__ */ _({
|
|
372
402
|
__name: "VoAuthLogoutNavItem",
|
|
373
403
|
setup(p) {
|
|
374
|
-
const t =
|
|
404
|
+
const t = E(), a = M(!1);
|
|
375
405
|
async function o() {
|
|
376
406
|
a.value = !0, await t.logout(), a.value = !1;
|
|
377
407
|
}
|
|
378
408
|
return (i, u) => {
|
|
379
|
-
const r =
|
|
409
|
+
const r = G;
|
|
380
410
|
return c(), m(r, {
|
|
381
411
|
class: "mb-0",
|
|
382
412
|
disabled: e(a),
|
|
383
413
|
link: "",
|
|
384
414
|
loading: e(a),
|
|
385
|
-
"prepend-icon": `svg:${e(
|
|
415
|
+
"prepend-icon": `svg:${e(Qt)}`,
|
|
386
416
|
rounded: "lg",
|
|
387
417
|
title: "Logout",
|
|
388
418
|
onClick: o
|
|
@@ -400,7 +430,7 @@ const pn = /* @__PURE__ */ _({
|
|
|
400
430
|
}),
|
|
401
431
|
emits: ["update:modelValue"],
|
|
402
432
|
setup(p) {
|
|
403
|
-
const t =
|
|
433
|
+
const t = W(p, "modelValue"), a = ie(), o = M(!1);
|
|
404
434
|
return (i, u) => (c(), m(Ve, {
|
|
405
435
|
modelValue: t.value,
|
|
406
436
|
"onUpdate:modelValue": u[2] || (u[2] = (r) => t.value = r),
|
|
@@ -411,20 +441,20 @@ const pn = /* @__PURE__ */ _({
|
|
|
411
441
|
"max-width": e(o) || e(a).xs.value ? "100%" : 800
|
|
412
442
|
}, {
|
|
413
443
|
default: s(({ isActive: r }) => [
|
|
414
|
-
n(
|
|
444
|
+
n(z, {
|
|
415
445
|
class: "overflow-hidden",
|
|
416
446
|
height: "inherit",
|
|
417
447
|
"prepend-icon": i.prependIcon,
|
|
418
448
|
rounded: e(o) || e(a).xs.value ? 0 : "lg",
|
|
419
449
|
title: i.title
|
|
420
|
-
},
|
|
450
|
+
}, P({
|
|
421
451
|
append: s(() => [
|
|
422
452
|
w(i.$slots, "append"),
|
|
423
453
|
e(a).xs.value ? h("", !0) : (c(), m(A, {
|
|
424
454
|
key: 0,
|
|
425
455
|
class: "me-2",
|
|
426
456
|
density: "comfortable",
|
|
427
|
-
icon: `svg:${e(o) ? e(
|
|
457
|
+
icon: `svg:${e(o) ? e(Xt) : e(Jt)}`,
|
|
428
458
|
size: "small",
|
|
429
459
|
variant: "text",
|
|
430
460
|
onClick: u[0] || (u[0] = (l) => o.value = !e(o))
|
|
@@ -462,19 +492,19 @@ const pn = /* @__PURE__ */ _({
|
|
|
462
492
|
_: 3
|
|
463
493
|
}, 8, ["modelValue", "fullscreen", "max-height", "max-width"]));
|
|
464
494
|
}
|
|
465
|
-
}),
|
|
495
|
+
}), Tt = /* @__PURE__ */ _({
|
|
466
496
|
__name: "VoSwitch",
|
|
467
497
|
props: {
|
|
468
498
|
disabled: { type: Boolean }
|
|
469
499
|
},
|
|
470
500
|
setup(p) {
|
|
471
|
-
return (t, a) => (c(), m(
|
|
501
|
+
return (t, a) => (c(), m(We, {
|
|
472
502
|
color: "primary",
|
|
473
503
|
density: "compact",
|
|
474
504
|
disabled: t.disabled,
|
|
475
505
|
inset: "",
|
|
476
506
|
"true-icon": `svg:${e(ke)}`
|
|
477
|
-
},
|
|
507
|
+
}, P({
|
|
478
508
|
thumb: s(() => [
|
|
479
509
|
n(I, {
|
|
480
510
|
color: t.disabled ? void 0 : "primary"
|
|
@@ -491,17 +521,17 @@ const pn = /* @__PURE__ */ _({
|
|
|
491
521
|
} : void 0
|
|
492
522
|
]), 1032, ["disabled", "true-icon"]));
|
|
493
523
|
}
|
|
494
|
-
}),
|
|
524
|
+
}), Vn = {
|
|
495
525
|
key: 1,
|
|
496
526
|
class: "mb-3 text-caption text-medium-emphasis"
|
|
497
|
-
},
|
|
527
|
+
}, re = /* @__PURE__ */ _({
|
|
498
528
|
__name: "VoDialogSubheader",
|
|
499
529
|
props: {
|
|
500
530
|
title: {},
|
|
501
531
|
text: {}
|
|
502
532
|
},
|
|
503
533
|
setup(p) {
|
|
504
|
-
return (t, a) => (c(),
|
|
534
|
+
return (t, a) => (c(), k(D, null, [
|
|
505
535
|
t.title ? (c(), m(Ze, {
|
|
506
536
|
key: 0,
|
|
507
537
|
class: "font-weight-black"
|
|
@@ -511,17 +541,17 @@ const pn = /* @__PURE__ */ _({
|
|
|
511
541
|
]),
|
|
512
542
|
_: 1
|
|
513
543
|
})) : h("", !0),
|
|
514
|
-
t.text ? (c(),
|
|
544
|
+
t.text ? (c(), k("div", Vn, V(t.text), 1)) : h("", !0)
|
|
515
545
|
], 64));
|
|
516
546
|
}
|
|
517
|
-
}),
|
|
547
|
+
}), $n = { key: 0 }, xn = /* @__PURE__ */ _({
|
|
518
548
|
__name: "VoSettingsPageSuitOption",
|
|
519
549
|
setup(p) {
|
|
520
550
|
const t = T(), a = [
|
|
521
551
|
{
|
|
522
552
|
title: "Choose a page suit",
|
|
523
553
|
value: "",
|
|
524
|
-
prependIcon: `svg:${
|
|
554
|
+
prependIcon: `svg:${eo}`,
|
|
525
555
|
disabled: !0
|
|
526
556
|
},
|
|
527
557
|
{
|
|
@@ -546,8 +576,8 @@ const pn = /* @__PURE__ */ _({
|
|
|
546
576
|
}
|
|
547
577
|
];
|
|
548
578
|
return (o, i) => {
|
|
549
|
-
const u =
|
|
550
|
-
return c(),
|
|
579
|
+
const u = Tt, r = re;
|
|
580
|
+
return c(), k(D, null, [
|
|
551
581
|
n(u, {
|
|
552
582
|
modelValue: e(t).one.suits.enabled,
|
|
553
583
|
"onUpdate:modelValue": i[0] || (i[0] = (l) => e(t).one.suits.enabled = l),
|
|
@@ -557,8 +587,8 @@ const pn = /* @__PURE__ */ _({
|
|
|
557
587
|
}, null, 8, ["modelValue"]),
|
|
558
588
|
n(Le, null, {
|
|
559
589
|
default: s(() => [
|
|
560
|
-
e(t).one.suits.enabled ? (c(),
|
|
561
|
-
n(
|
|
590
|
+
e(t).one.suits.enabled ? (c(), k("div", $n, [
|
|
591
|
+
n(Qo, {
|
|
562
592
|
modelValue: e(t).one.suits.suit,
|
|
563
593
|
"onUpdate:modelValue": i[1] || (i[1] = (l) => e(t).one.suits.suit = l),
|
|
564
594
|
clearable: "",
|
|
@@ -581,7 +611,7 @@ const pn = /* @__PURE__ */ _({
|
|
|
581
611
|
_: 1
|
|
582
612
|
}, 8, ["modelValue"]),
|
|
583
613
|
n(r, { text: "Select your suit elements to display the background image:" }),
|
|
584
|
-
n(
|
|
614
|
+
n(Yo, {
|
|
585
615
|
modelValue: e(t).one.suits.elements,
|
|
586
616
|
"onUpdate:modelValue": i[2] || (i[2] = (l) => e(t).one.suits.elements = l),
|
|
587
617
|
color: "primary",
|
|
@@ -590,7 +620,7 @@ const pn = /* @__PURE__ */ _({
|
|
|
590
620
|
}, {
|
|
591
621
|
default: s(() => [
|
|
592
622
|
n(te, {
|
|
593
|
-
"append-icon": `svg:${e(
|
|
623
|
+
"append-icon": `svg:${e(to)}`,
|
|
594
624
|
"filter-icon": "$success",
|
|
595
625
|
text: "App Bar",
|
|
596
626
|
value: "app-bar",
|
|
@@ -606,7 +636,7 @@ const pn = /* @__PURE__ */ _({
|
|
|
606
636
|
_: 1
|
|
607
637
|
}, 8, ["append-icon"]),
|
|
608
638
|
n(te, {
|
|
609
|
-
"append-icon": `svg:${e(
|
|
639
|
+
"append-icon": `svg:${e(oo)}`,
|
|
610
640
|
"filter-icon": "$success",
|
|
611
641
|
text: "Navigation Drawer",
|
|
612
642
|
value: "drawer",
|
|
@@ -648,7 +678,7 @@ const pn = /* @__PURE__ */ _({
|
|
|
648
678
|
};
|
|
649
679
|
}
|
|
650
680
|
});
|
|
651
|
-
function
|
|
681
|
+
function Ln() {
|
|
652
682
|
return {
|
|
653
683
|
blackguard: {
|
|
654
684
|
dark: !0,
|
|
@@ -842,7 +872,7 @@ function $n() {
|
|
|
842
872
|
};
|
|
843
873
|
}
|
|
844
874
|
const Pe = q("settings", () => {
|
|
845
|
-
const p = "https://cdn.vuetifyjs.com/docs/images/one/", t =
|
|
875
|
+
const p = "https://cdn.vuetifyjs.com/docs/images/one/", t = B(), a = T(), o = Te(), i = Ln(), u = {
|
|
846
876
|
blackguard: {
|
|
847
877
|
"app-bar": p + "suits/blackguard/blackguard-app-bar.png",
|
|
848
878
|
drawer: p + "suits/blackguard/blackguard-app-drawer.png",
|
|
@@ -868,8 +898,8 @@ const Pe = q("settings", () => {
|
|
|
868
898
|
return {};
|
|
869
899
|
const l = u[a.one.suits.suit.toLowerCase()], d = {};
|
|
870
900
|
for (const f of a.one.suits.elements) {
|
|
871
|
-
const
|
|
872
|
-
d[
|
|
901
|
+
const y = f;
|
|
902
|
+
d[y] = l[y];
|
|
873
903
|
}
|
|
874
904
|
return d;
|
|
875
905
|
});
|
|
@@ -882,7 +912,7 @@ const Pe = q("settings", () => {
|
|
|
882
912
|
suit: r,
|
|
883
913
|
CDN_URL: p
|
|
884
914
|
};
|
|
885
|
-
}),
|
|
915
|
+
}), wn = { class: "ms-5" }, Sn = { class: "pb-2" }, Mn = /* @__PURE__ */ _({
|
|
886
916
|
__name: "VoSettingsDialog",
|
|
887
917
|
props: {
|
|
888
918
|
modelValue: { type: Boolean },
|
|
@@ -890,33 +920,33 @@ const Pe = q("settings", () => {
|
|
|
890
920
|
},
|
|
891
921
|
emits: ["update:modelValue"],
|
|
892
922
|
setup(p) {
|
|
893
|
-
const t =
|
|
923
|
+
const t = W(p, "modelValue"), a = B(), o = Pe(), i = T(), u = b(() => [
|
|
894
924
|
{
|
|
895
925
|
title: "Light",
|
|
896
926
|
subtitle: "A standard light theme.",
|
|
897
927
|
image: o.CDN_URL + "themes/light.png",
|
|
898
|
-
prependIcon: `svg:${
|
|
928
|
+
prependIcon: `svg:${no}`,
|
|
899
929
|
value: "light"
|
|
900
930
|
},
|
|
901
931
|
{
|
|
902
932
|
title: "Dark",
|
|
903
933
|
subtitle: "A standard dark theme.",
|
|
904
934
|
image: o.CDN_URL + "themes/dark.png",
|
|
905
|
-
prependIcon: `svg:${
|
|
935
|
+
prependIcon: `svg:${so}`,
|
|
906
936
|
value: "dark"
|
|
907
937
|
},
|
|
908
938
|
{
|
|
909
939
|
title: "System",
|
|
910
940
|
subtitle: "A theme based on the system preference.",
|
|
911
941
|
image: o.CDN_URL + "themes/system.png",
|
|
912
|
-
prependIcon: `svg:${
|
|
942
|
+
prependIcon: `svg:${ao}`,
|
|
913
943
|
value: "system"
|
|
914
944
|
},
|
|
915
945
|
{
|
|
916
946
|
title: "High Contrast",
|
|
917
947
|
subtitle: "A theme for high contrast.",
|
|
918
948
|
image: o.CDN_URL + "themes/high-contrast.png",
|
|
919
|
-
prependIcon: `svg:${
|
|
949
|
+
prependIcon: `svg:${io}`,
|
|
920
950
|
value: "highContrast",
|
|
921
951
|
disabled: !a.isSubscriber
|
|
922
952
|
}
|
|
@@ -958,22 +988,22 @@ const Pe = q("settings", () => {
|
|
|
958
988
|
{ title: "Releases", items: r.value }
|
|
959
989
|
]), d = b({
|
|
960
990
|
get: () => !i.one.ads.enabled,
|
|
961
|
-
set: (
|
|
962
|
-
i.one.ads.enabled = !
|
|
991
|
+
set: (v) => {
|
|
992
|
+
i.one.ads.enabled = !v;
|
|
963
993
|
}
|
|
964
994
|
}), f = Ce();
|
|
965
995
|
H(f, async () => {
|
|
966
996
|
f.value.one === "settings" && (a.isOpen = !0, await be(), t.value = !0);
|
|
967
997
|
}, { immediate: !0 });
|
|
968
|
-
function v
|
|
969
|
-
|
|
998
|
+
function y(v, C) {
|
|
999
|
+
C.disabled || (i.one.theme = C.value, v?.());
|
|
970
1000
|
}
|
|
971
|
-
return (
|
|
972
|
-
const $ =
|
|
1001
|
+
return (v, C) => {
|
|
1002
|
+
const $ = re, L = xn, U = Tt, Q = de;
|
|
973
1003
|
return c(), m(Q, {
|
|
974
1004
|
modelValue: t.value,
|
|
975
|
-
"onUpdate:modelValue":
|
|
976
|
-
"prepend-icon": `svg:${e(
|
|
1005
|
+
"onUpdate:modelValue": C[6] || (C[6] = (x) => t.value = x),
|
|
1006
|
+
"prepend-icon": `svg:${e(ro)}`,
|
|
977
1007
|
title: "Settings"
|
|
978
1008
|
}, {
|
|
979
1009
|
default: s(() => [
|
|
@@ -989,49 +1019,49 @@ const Pe = q("settings", () => {
|
|
|
989
1019
|
}),
|
|
990
1020
|
n(bt, {
|
|
991
1021
|
modelValue: e(i).one.theme,
|
|
992
|
-
"onUpdate:modelValue":
|
|
1022
|
+
"onUpdate:modelValue": C[0] || (C[0] = (x) => e(i).one.theme = x),
|
|
993
1023
|
mandatory: ""
|
|
994
1024
|
}, {
|
|
995
1025
|
default: s(() => [
|
|
996
1026
|
n(fe, { dense: "" }, {
|
|
997
1027
|
default: s(() => [
|
|
998
|
-
(c(!0),
|
|
1028
|
+
(c(!0), k(D, null, K(l.value, (x, pe) => (c(), m(le, {
|
|
999
1029
|
key: pe,
|
|
1000
1030
|
class: "d-flex flex-column ga-3",
|
|
1001
1031
|
cols: "12",
|
|
1002
1032
|
md: "6"
|
|
1003
1033
|
}, {
|
|
1004
1034
|
default: s(() => [
|
|
1005
|
-
n(
|
|
1035
|
+
n(jo, { class: "mb-n4" }, {
|
|
1006
1036
|
default: s(() => [
|
|
1007
1037
|
S(V(x.title), 1)
|
|
1008
1038
|
]),
|
|
1009
1039
|
_: 2
|
|
1010
1040
|
}, 1024),
|
|
1011
|
-
(c(!0),
|
|
1012
|
-
key:
|
|
1013
|
-
value:
|
|
1041
|
+
(c(!0), k(D, null, K(x.items, (O) => (c(), m(Ne, {
|
|
1042
|
+
key: O.value,
|
|
1043
|
+
value: O.value
|
|
1014
1044
|
}, {
|
|
1015
|
-
default: s(({ toggle:
|
|
1045
|
+
default: s(({ toggle: Et, isSelected: et }) => [
|
|
1016
1046
|
n(ve, null, {
|
|
1017
|
-
default: s(({ props:
|
|
1018
|
-
n(
|
|
1047
|
+
default: s(({ props: Ft, isHovering: Zt }) => [
|
|
1048
|
+
n(z, R({
|
|
1019
1049
|
color: et ? "primary" : "surface-variant",
|
|
1020
1050
|
height: "76",
|
|
1021
|
-
image:
|
|
1022
|
-
"prepend-icon":
|
|
1023
|
-
readonly:
|
|
1024
|
-
ripple: !
|
|
1025
|
-
subtitle:
|
|
1026
|
-
title:
|
|
1051
|
+
image: O.image,
|
|
1052
|
+
"prepend-icon": O.prependIcon,
|
|
1053
|
+
readonly: O.disabled,
|
|
1054
|
+
ripple: !O.disabled,
|
|
1055
|
+
subtitle: O.disabled ? "🔓 Unlock with Vuetify One" : O.subtitle,
|
|
1056
|
+
title: O.title,
|
|
1027
1057
|
variant: "tonal"
|
|
1028
|
-
}, { ref_for: !0 },
|
|
1029
|
-
onClick: (
|
|
1058
|
+
}, { ref_for: !0 }, Ft, {
|
|
1059
|
+
onClick: (Pa) => y(Et, O)
|
|
1030
1060
|
}), {
|
|
1031
1061
|
image: s(() => [
|
|
1032
1062
|
n(se, {
|
|
1033
1063
|
style: it({
|
|
1034
|
-
filter: et ||
|
|
1064
|
+
filter: et || Zt ? "none" : "grayscale(100%)"
|
|
1035
1065
|
})
|
|
1036
1066
|
}, null, 8, ["style"])
|
|
1037
1067
|
]),
|
|
@@ -1052,7 +1082,7 @@ const Pe = q("settings", () => {
|
|
|
1052
1082
|
]),
|
|
1053
1083
|
_: 1
|
|
1054
1084
|
}, 8, ["modelValue"]),
|
|
1055
|
-
e(a).isSubscriber ? (c(),
|
|
1085
|
+
e(a).isSubscriber ? (c(), k(D, { key: 0 }, [
|
|
1056
1086
|
n(N, { class: "mt-6 mb-4" }),
|
|
1057
1087
|
n(L)
|
|
1058
1088
|
], 64)) : h("", !0)
|
|
@@ -1069,18 +1099,18 @@ const Pe = q("settings", () => {
|
|
|
1069
1099
|
e(a).isSubscriber ? (c(), m(U, {
|
|
1070
1100
|
key: 0,
|
|
1071
1101
|
modelValue: d.value,
|
|
1072
|
-
"onUpdate:modelValue":
|
|
1102
|
+
"onUpdate:modelValue": C[1] || (C[1] = (x) => d.value = x),
|
|
1073
1103
|
class: "mb-2",
|
|
1074
1104
|
label: "Disable Ads",
|
|
1075
1105
|
messages: "Disable traditional advertisements on all documentation pages."
|
|
1076
1106
|
}, null, 8, ["modelValue"])) : h("", !0),
|
|
1077
1107
|
n(Le, null, {
|
|
1078
1108
|
default: s(() => [
|
|
1079
|
-
Z(g("div",
|
|
1080
|
-
g("div",
|
|
1109
|
+
Z(g("div", wn, [
|
|
1110
|
+
g("div", Sn, [
|
|
1081
1111
|
n(U, {
|
|
1082
1112
|
modelValue: e(i).one.ads.house,
|
|
1083
|
-
"onUpdate:modelValue":
|
|
1113
|
+
"onUpdate:modelValue": C[2] || (C[2] = (x) => e(i).one.ads.house = x),
|
|
1084
1114
|
label: "Show House Ads",
|
|
1085
1115
|
messages: "These advertisements are for Vuetify products and services only."
|
|
1086
1116
|
}, null, 8, ["modelValue"])
|
|
@@ -1093,7 +1123,7 @@ const Pe = q("settings", () => {
|
|
|
1093
1123
|
}),
|
|
1094
1124
|
n(U, {
|
|
1095
1125
|
modelValue: e(i).one.quicklinks,
|
|
1096
|
-
"onUpdate:modelValue":
|
|
1126
|
+
"onUpdate:modelValue": C[3] || (C[3] = (x) => e(i).one.quicklinks = x),
|
|
1097
1127
|
label: "Show Pinned Ecosystem Links",
|
|
1098
1128
|
messages: "Display your pinned ecosystem links below your avatar in the user menu."
|
|
1099
1129
|
}, null, 8, ["modelValue"])
|
|
@@ -1112,14 +1142,14 @@ const Pe = q("settings", () => {
|
|
|
1112
1142
|
}),
|
|
1113
1143
|
n(U, {
|
|
1114
1144
|
modelValue: e(i).one.notifications.enabled,
|
|
1115
|
-
"onUpdate:modelValue":
|
|
1145
|
+
"onUpdate:modelValue": C[4] || (C[4] = (x) => e(i).one.notifications.enabled = x),
|
|
1116
1146
|
class: "mb-2",
|
|
1117
1147
|
label: "Enable Notifications",
|
|
1118
1148
|
messages: "Notifications are short form messages that provide information about new releases, updates, and other important information."
|
|
1119
1149
|
}, null, 8, ["modelValue"]),
|
|
1120
1150
|
n(U, {
|
|
1121
1151
|
modelValue: e(i).one.banners.enabled,
|
|
1122
|
-
"onUpdate:modelValue":
|
|
1152
|
+
"onUpdate:modelValue": C[5] || (C[5] = (x) => e(i).one.banners.enabled = x),
|
|
1123
1153
|
label: "Enable Banners",
|
|
1124
1154
|
messages: "Banners are located at the top of the screen and provide a callout for important information."
|
|
1125
1155
|
}, null, 8, ["modelValue"])
|
|
@@ -1137,16 +1167,16 @@ const Pe = q("settings", () => {
|
|
|
1137
1167
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
1138
1168
|
};
|
|
1139
1169
|
}
|
|
1140
|
-
}),
|
|
1170
|
+
}), In = /* @__PURE__ */ _({
|
|
1141
1171
|
__name: "VoSettingsListItem",
|
|
1142
1172
|
setup(p) {
|
|
1143
1173
|
const t = M(!1);
|
|
1144
1174
|
return (a, o) => {
|
|
1145
|
-
const i =
|
|
1175
|
+
const i = Mn, u = G;
|
|
1146
1176
|
return c(), m(u, {
|
|
1147
1177
|
active: e(t),
|
|
1148
1178
|
link: "",
|
|
1149
|
-
"prepend-icon": `svg:${e(
|
|
1179
|
+
"prepend-icon": `svg:${e(lo)}`,
|
|
1150
1180
|
rounded: "lg",
|
|
1151
1181
|
title: "Settings"
|
|
1152
1182
|
}, {
|
|
@@ -1161,7 +1191,7 @@ const Pe = q("settings", () => {
|
|
|
1161
1191
|
};
|
|
1162
1192
|
}
|
|
1163
1193
|
}), ze = q("api-key", () => {
|
|
1164
|
-
const p = Y(), t =
|
|
1194
|
+
const p = Y(), t = F(null), a = M(!1), o = b(() => t.value?.apiKey || ""), i = b(() => {
|
|
1165
1195
|
if (!o.value)
|
|
1166
1196
|
return "";
|
|
1167
1197
|
const l = o.value;
|
|
@@ -1185,14 +1215,14 @@ const Pe = q("settings", () => {
|
|
|
1185
1215
|
fetch: r
|
|
1186
1216
|
};
|
|
1187
1217
|
});
|
|
1188
|
-
function
|
|
1218
|
+
function Be(p = 1e3) {
|
|
1189
1219
|
const t = M(!1);
|
|
1190
1220
|
async function a(o) {
|
|
1191
1221
|
await navigator.clipboard.writeText(o), t.value = !0, setTimeout(() => t.value = !1, p);
|
|
1192
1222
|
}
|
|
1193
1223
|
return { copied: t, copy: a };
|
|
1194
1224
|
}
|
|
1195
|
-
const
|
|
1225
|
+
const Dn = /* @__PURE__ */ _({
|
|
1196
1226
|
__name: "VoMcpCopyDialog",
|
|
1197
1227
|
props: {
|
|
1198
1228
|
modelValue: { type: Boolean },
|
|
@@ -1200,7 +1230,7 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1200
1230
|
},
|
|
1201
1231
|
emits: ["update:modelValue"],
|
|
1202
1232
|
setup(p) {
|
|
1203
|
-
const t = ze(), { copy: a, copied: o } =
|
|
1233
|
+
const t = ze(), { copy: a, copied: o } = Be(), i = W(p, "modelValue");
|
|
1204
1234
|
return (u, r) => {
|
|
1205
1235
|
const l = lt("v-icon-btn");
|
|
1206
1236
|
return c(), m(Ve, {
|
|
@@ -1209,8 +1239,8 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1209
1239
|
"max-width": "500"
|
|
1210
1240
|
}, {
|
|
1211
1241
|
default: s(({ isActive: d }) => [
|
|
1212
|
-
n(
|
|
1213
|
-
"prepend-icon": `svg:${e(
|
|
1242
|
+
n(z, {
|
|
1243
|
+
"prepend-icon": `svg:${e(uo)}`,
|
|
1214
1244
|
rounded: "lg",
|
|
1215
1245
|
title: "Save your Key"
|
|
1216
1246
|
}, {
|
|
@@ -1287,17 +1317,17 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1287
1317
|
}, 8, ["modelValue"]);
|
|
1288
1318
|
};
|
|
1289
1319
|
}
|
|
1290
|
-
}),
|
|
1320
|
+
}), An = { class: "d-flex align-center justify-end" }, Tn = { class: "text-end" }, Un = /* @__PURE__ */ _({
|
|
1291
1321
|
__name: "VoMcpTokenTable",
|
|
1292
1322
|
setup(p) {
|
|
1293
|
-
const t = ze(), { copy: a, copied: o } =
|
|
1294
|
-
return (u, r) => (c(), m(
|
|
1323
|
+
const t = ze(), { copy: a, copied: o } = Be(2e3), i = me();
|
|
1324
|
+
return (u, r) => (c(), m(Xo, { class: "rounded border mt-4" }, {
|
|
1295
1325
|
default: s(() => [
|
|
1296
1326
|
g("thead", null, [
|
|
1297
1327
|
g("tr", null, [
|
|
1298
1328
|
r[2] || (r[2] = g("th", { class: "ps-6" }, "Secret Key", -1)),
|
|
1299
1329
|
r[3] || (r[3] = g("th", null, "Created", -1)),
|
|
1300
|
-
g("th",
|
|
1330
|
+
g("th", An, [
|
|
1301
1331
|
r[1] || (r[1] = S(" Last Used ", -1)),
|
|
1302
1332
|
Z(n(I, {
|
|
1303
1333
|
end: "",
|
|
@@ -1334,24 +1364,24 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1334
1364
|
})
|
|
1335
1365
|
]),
|
|
1336
1366
|
g("td", null, V(e(t).accessToken ? e(i).format(e(t).accessToken.createdAt, "fullDate") : ""), 1),
|
|
1337
|
-
g("td",
|
|
1367
|
+
g("td", Tn, V(e(t).accessToken ? e(i).format(e(t).accessToken.updatedAt, "fullDate") : ""), 1)
|
|
1338
1368
|
])
|
|
1339
1369
|
])
|
|
1340
1370
|
]),
|
|
1341
1371
|
_: 1
|
|
1342
1372
|
}));
|
|
1343
1373
|
}
|
|
1344
|
-
}),
|
|
1374
|
+
}), Pn = { class: "my-4" }, zn = { class: "bg-surface-variant rounded pa-2 d-block" }, Bn = /* @__PURE__ */ _({
|
|
1345
1375
|
__name: "VoMcpHowTo",
|
|
1346
1376
|
setup(p) {
|
|
1347
|
-
const t = ze(), { copy: a, copied: o } =
|
|
1348
|
-
return (r, l) => (c(), m(
|
|
1377
|
+
const t = ze(), { copy: a, copied: o } = Be(), i = b(() => `npx -y @vuetify/mcp config --api-key="${t.key || "YOUR_KEY"}"`), u = b(() => t.key ? `npx -y @vuetify/mcp config --api-key="${t.trim}"` : i.value);
|
|
1378
|
+
return (r, l) => (c(), m(en, {
|
|
1349
1379
|
"bg-color": "surface-variant",
|
|
1350
1380
|
class: "mb-4",
|
|
1351
1381
|
variant: "accordion"
|
|
1352
1382
|
}, {
|
|
1353
1383
|
default: s(() => [
|
|
1354
|
-
n(
|
|
1384
|
+
n(tn, null, {
|
|
1355
1385
|
title: s(() => [
|
|
1356
1386
|
n(I, {
|
|
1357
1387
|
icon: `svg:${e(gt)}`,
|
|
@@ -1361,12 +1391,12 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1361
1391
|
l[1] || (l[1] = S(" How to Use Your API Key with Vuetify MCP ", -1))
|
|
1362
1392
|
]),
|
|
1363
1393
|
default: s(() => [
|
|
1364
|
-
n(
|
|
1394
|
+
n(on, { class: "bg-surface-light rounded-b" }, {
|
|
1365
1395
|
default: s(() => [
|
|
1366
1396
|
l[2] || (l[2] = g("strong", null, "Quick Setup", -1)),
|
|
1367
1397
|
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",
|
|
1369
|
-
g("code",
|
|
1398
|
+
g("div", Pn, [
|
|
1399
|
+
g("code", zn, [
|
|
1370
1400
|
S(V(e(u)) + " ", 1),
|
|
1371
1401
|
n(I, {
|
|
1372
1402
|
class: "ms-2",
|
|
@@ -1398,7 +1428,7 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1398
1428
|
_: 1
|
|
1399
1429
|
}));
|
|
1400
1430
|
}
|
|
1401
|
-
}),
|
|
1431
|
+
}), On = { class: "px-3 py-3" }, En = /* @__PURE__ */ _({
|
|
1402
1432
|
__name: "VoMcpDialog",
|
|
1403
1433
|
props: {
|
|
1404
1434
|
modelValue: { type: Boolean },
|
|
@@ -1406,19 +1436,19 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1406
1436
|
},
|
|
1407
1437
|
emits: ["update:modelValue"],
|
|
1408
1438
|
setup(p) {
|
|
1409
|
-
const t = ze(), a = T(), o = M(!1), i =
|
|
1439
|
+
const t = ze(), a = T(), o = M(!1), i = W(p, "modelValue");
|
|
1410
1440
|
async function u(r = !1) {
|
|
1411
1441
|
await t.generate(r), o.value = !0;
|
|
1412
1442
|
}
|
|
1413
1443
|
return H(i, async (r) => {
|
|
1414
1444
|
r && (a.ecosystem.mcp.seen = !0, await t.fetch());
|
|
1415
1445
|
}), (r, l) => {
|
|
1416
|
-
const d =
|
|
1417
|
-
return c(), m(
|
|
1446
|
+
const d = re, f = Bn, y = Un, v = Dn, C = de;
|
|
1447
|
+
return c(), m(C, {
|
|
1418
1448
|
modelValue: i.value,
|
|
1419
1449
|
"onUpdate:modelValue": l[3] || (l[3] = ($) => i.value = $),
|
|
1420
1450
|
height: "auto",
|
|
1421
|
-
"prepend-icon": `svg:${e(
|
|
1451
|
+
"prepend-icon": `svg:${e(co)}`,
|
|
1422
1452
|
title: "API Key"
|
|
1423
1453
|
}, {
|
|
1424
1454
|
default: s(() => [
|
|
@@ -1426,7 +1456,7 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1426
1456
|
default: s(() => [
|
|
1427
1457
|
n(ce, null, {
|
|
1428
1458
|
default: s(() => [
|
|
1429
|
-
g("div",
|
|
1459
|
+
g("div", On, [
|
|
1430
1460
|
n(J, null, {
|
|
1431
1461
|
default: s(() => [
|
|
1432
1462
|
n(d, {
|
|
@@ -1441,19 +1471,19 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1441
1471
|
justify: "center"
|
|
1442
1472
|
}, {
|
|
1443
1473
|
default: s(() => [
|
|
1444
|
-
n(
|
|
1474
|
+
n(le, { cols: "auto" }, {
|
|
1445
1475
|
default: s(() => [
|
|
1446
1476
|
e(t).key ? e(t).regenerated ? h("", !0) : (c(), m(A, {
|
|
1447
1477
|
key: 1,
|
|
1448
1478
|
color: "success",
|
|
1449
|
-
"prepend-icon": `svg:${e(
|
|
1479
|
+
"prepend-icon": `svg:${e(mo)}`,
|
|
1450
1480
|
text: "Regenerate API Key",
|
|
1451
1481
|
variant: "flat",
|
|
1452
1482
|
onClick: l[1] || (l[1] = ($) => u(!0))
|
|
1453
1483
|
}, null, 8, ["prepend-icon"])) : (c(), m(A, {
|
|
1454
1484
|
key: 0,
|
|
1455
1485
|
color: "success",
|
|
1456
|
-
"prepend-icon": `svg:${e(
|
|
1486
|
+
"prepend-icon": `svg:${e(po)}`,
|
|
1457
1487
|
text: "Generate API Key",
|
|
1458
1488
|
variant: "flat",
|
|
1459
1489
|
onClick: l[0] || (l[0] = ($) => u(!1))
|
|
@@ -1464,9 +1494,9 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1464
1494
|
]),
|
|
1465
1495
|
_: 1
|
|
1466
1496
|
})) : h("", !0),
|
|
1467
|
-
e(t).key ? (c(),
|
|
1468
|
-
n(
|
|
1469
|
-
n(
|
|
1497
|
+
e(t).key ? (c(), k(D, { key: 1 }, [
|
|
1498
|
+
n(y),
|
|
1499
|
+
n(v, {
|
|
1470
1500
|
modelValue: e(o),
|
|
1471
1501
|
"onUpdate:modelValue": l[2] || (l[2] = ($) => j(o) ? o.value = $ : null)
|
|
1472
1502
|
}, null, 8, ["modelValue"])
|
|
@@ -1486,19 +1516,19 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1486
1516
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
1487
1517
|
};
|
|
1488
1518
|
}
|
|
1489
|
-
}),
|
|
1519
|
+
}), Fn = /* @__PURE__ */ _({
|
|
1490
1520
|
__name: "VoMcpListItem",
|
|
1491
1521
|
setup(p) {
|
|
1492
1522
|
const t = T(), a = M(!1);
|
|
1493
1523
|
return (o, i) => {
|
|
1494
|
-
const u =
|
|
1524
|
+
const u = En, r = G;
|
|
1495
1525
|
return c(), m(r, {
|
|
1496
1526
|
active: e(a),
|
|
1497
1527
|
link: "",
|
|
1498
|
-
"prepend-icon": `svg:${e(
|
|
1528
|
+
"prepend-icon": `svg:${e(fo)}`,
|
|
1499
1529
|
rounded: "lg",
|
|
1500
1530
|
title: "MCP API Key"
|
|
1501
|
-
},
|
|
1531
|
+
}, P({
|
|
1502
1532
|
default: s(() => [
|
|
1503
1533
|
n(u, {
|
|
1504
1534
|
modelValue: e(a),
|
|
@@ -1526,21 +1556,21 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1526
1556
|
]), 1032, ["active", "prepend-icon"]);
|
|
1527
1557
|
};
|
|
1528
1558
|
}
|
|
1529
|
-
}),
|
|
1559
|
+
}), Zn = { class: "text-caption" }, Nn = /* @__PURE__ */ _({
|
|
1530
1560
|
__name: "VoSubscriptionInvoices",
|
|
1531
1561
|
setup(p) {
|
|
1532
|
-
const t = me(), a =
|
|
1562
|
+
const t = me(), a = B();
|
|
1533
1563
|
return (o, i) => {
|
|
1534
|
-
const u =
|
|
1564
|
+
const u = re;
|
|
1535
1565
|
return c(), m(fe, null, {
|
|
1536
1566
|
default: s(() => [
|
|
1537
|
-
n(
|
|
1567
|
+
n(le, { cols: "12" }, {
|
|
1538
1568
|
default: s(() => [
|
|
1539
1569
|
n(u, {
|
|
1540
1570
|
text: "View and download your invoice history.",
|
|
1541
1571
|
title: "Invoice History"
|
|
1542
1572
|
}),
|
|
1543
|
-
n(
|
|
1573
|
+
n(z, {
|
|
1544
1574
|
border: "",
|
|
1545
1575
|
rounded: "lg"
|
|
1546
1576
|
}, {
|
|
@@ -1553,7 +1583,7 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1553
1583
|
sticky: ""
|
|
1554
1584
|
}, {
|
|
1555
1585
|
"item.date": s(({ item: r }) => [
|
|
1556
|
-
g("div",
|
|
1586
|
+
g("div", Zn, V(e(t).format(new Date(r.date * 1e3), "fullDateWithWeekday")), 1)
|
|
1557
1587
|
]),
|
|
1558
1588
|
"item.amount": s(({ item: r }) => [
|
|
1559
1589
|
S(" $" + V(r.amount / 100), 1)
|
|
@@ -1591,11 +1621,11 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1591
1621
|
});
|
|
1592
1622
|
};
|
|
1593
1623
|
}
|
|
1594
|
-
}),
|
|
1624
|
+
}), Hn = { class: "d-flex align-center" }, jn = ["textContent"], Rn = { class: "me-1" }, qn = { class: "text-medium-emphasis text-caption" }, Gn = { class: "d-flex align-center" }, Wn = { class: "d-flex align-start justify-space-between text-caption py-2" }, Kn = { class: "font-weight-bold" }, Yn = { class: "font-weight-bold" }, Qn = /* @__PURE__ */ _({
|
|
1595
1625
|
__name: "VoSubscriptionStatus",
|
|
1596
1626
|
emits: ["change:subscription"],
|
|
1597
1627
|
setup(p, { emit: t }) {
|
|
1598
|
-
const a = me(), o =
|
|
1628
|
+
const a = me(), o = B(), i = t, u = b(() => {
|
|
1599
1629
|
if (!o.info) return;
|
|
1600
1630
|
const l = new Date(o.info.currentPeriodEnd * 1e3);
|
|
1601
1631
|
return a.format(l, "keyboardDate");
|
|
@@ -1607,15 +1637,15 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1607
1637
|
const f = we;
|
|
1608
1638
|
return c(), m(fe, null, {
|
|
1609
1639
|
default: s(() => [
|
|
1610
|
-
n(
|
|
1640
|
+
n(le, { cols: "12" }, {
|
|
1611
1641
|
default: s(() => [
|
|
1612
|
-
n(
|
|
1642
|
+
n(z, {
|
|
1613
1643
|
border: "",
|
|
1614
1644
|
flat: "",
|
|
1615
1645
|
"prepend-icon": "$vuetify",
|
|
1616
1646
|
rounded: "lg",
|
|
1617
1647
|
title: "Subscription Status"
|
|
1618
|
-
},
|
|
1648
|
+
}, P({
|
|
1619
1649
|
prepend: s(() => [
|
|
1620
1650
|
n(I, {
|
|
1621
1651
|
color: e(o).isSubscriber ? "success" : void 0
|
|
@@ -1635,7 +1665,7 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1635
1665
|
e(o).hasBilling ? (c(), m(f, {
|
|
1636
1666
|
key: 1,
|
|
1637
1667
|
loading: e(o).isLoading,
|
|
1638
|
-
"prepend-icon": `svg:${e(
|
|
1668
|
+
"prepend-icon": `svg:${e(vo)}`,
|
|
1639
1669
|
text: "Billing",
|
|
1640
1670
|
onClick: e(o).manage
|
|
1641
1671
|
}, null, 8, ["loading", "prepend-icon", "onClick"])) : h("", !0)
|
|
@@ -1645,23 +1675,23 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1645
1675
|
e(o).info ? {
|
|
1646
1676
|
name: "subtitle",
|
|
1647
1677
|
fn: s(() => [
|
|
1648
|
-
g("div",
|
|
1678
|
+
g("div", Hn, [
|
|
1649
1679
|
g("strong", {
|
|
1650
1680
|
key: "status",
|
|
1651
1681
|
class: "text-capitalize hidden-sm-and-down",
|
|
1652
1682
|
textContent: V(e(o).info.status)
|
|
1653
|
-
}, null, 8,
|
|
1654
|
-
e(o).info.items.length > 0 ? (c(),
|
|
1683
|
+
}, null, 8, jn),
|
|
1684
|
+
e(o).info.items.length > 0 ? (c(), k(D, { key: 0 }, [
|
|
1655
1685
|
d[1] || (d[1] = g("span", { class: "mx-1 hidden-sm-and-down" }, "—", -1)),
|
|
1656
|
-
g("span",
|
|
1686
|
+
g("span", Rn, [
|
|
1657
1687
|
S(" $" + V(e(o).info.items[0].plan.amount / 100), 1),
|
|
1658
|
-
g("span",
|
|
1688
|
+
g("span", qn, "/" + V(e(o).interval), 1)
|
|
1659
1689
|
]),
|
|
1660
1690
|
n(f, {
|
|
1661
1691
|
size: "x-small",
|
|
1662
1692
|
text: "(Change Subscription)",
|
|
1663
1693
|
variant: "text",
|
|
1664
|
-
onClick: d[0] || (d[0] = (
|
|
1694
|
+
onClick: d[0] || (d[0] = (y) => i("change:subscription"))
|
|
1665
1695
|
})
|
|
1666
1696
|
], 64)) : h("", !0)
|
|
1667
1697
|
])
|
|
@@ -1670,7 +1700,7 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1670
1700
|
} : {
|
|
1671
1701
|
name: "subtitle",
|
|
1672
1702
|
fn: s(() => [
|
|
1673
|
-
g("div",
|
|
1703
|
+
g("div", Gn, [
|
|
1674
1704
|
n(he, {
|
|
1675
1705
|
height: "16",
|
|
1676
1706
|
type: "ossein",
|
|
@@ -1687,15 +1717,15 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1687
1717
|
key: "1"
|
|
1688
1718
|
}
|
|
1689
1719
|
]), 1024),
|
|
1690
|
-
g("div",
|
|
1720
|
+
g("div", Wn, [
|
|
1691
1721
|
g("div", null, [
|
|
1692
|
-
e(o).info?.status === "active" ? (c(),
|
|
1722
|
+
e(o).info?.status === "active" ? (c(), k(D, { key: 0 }, [
|
|
1693
1723
|
d[3] || (d[3] = S(" Your plan renews on ", -1)),
|
|
1694
|
-
g("span",
|
|
1724
|
+
g("span", Kn, V(e(a).format(e(u), "fullDateWithWeekday")), 1),
|
|
1695
1725
|
d[4] || (d[4] = S(". ", -1))
|
|
1696
|
-
], 64)) : (c(),
|
|
1726
|
+
], 64)) : (c(), k(D, { key: 1 }, [
|
|
1697
1727
|
d[5] || (d[5] = S(" Your plan ends on ", -1)),
|
|
1698
|
-
g("span",
|
|
1728
|
+
g("span", Yn, V(e(a).format(e(o).info?.currentPeriodEnd, "fullDateWithWeekday")), 1),
|
|
1699
1729
|
d[6] || (d[6] = S(". ", -1))
|
|
1700
1730
|
], 64))
|
|
1701
1731
|
])
|
|
@@ -1708,7 +1738,7 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1708
1738
|
});
|
|
1709
1739
|
};
|
|
1710
1740
|
}
|
|
1711
|
-
}),
|
|
1741
|
+
}), Xn = ["innerHTML"], Jn = ["innerHTML"], es = /* @__PURE__ */ _({
|
|
1712
1742
|
__name: "VoSubscriptionPerks",
|
|
1713
1743
|
props: {
|
|
1714
1744
|
type: {}
|
|
@@ -1718,7 +1748,7 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1718
1748
|
"Embeddable playgrounds for your own documentation",
|
|
1719
1749
|
"Team shared workspaces for bins and playgrounds",
|
|
1720
1750
|
"Real-time collaboration on bins and playgrounds"
|
|
1721
|
-
], a = M(!1), o =
|
|
1751
|
+
], a = M(!1), o = B(), i = b(() => {
|
|
1722
1752
|
const u = [
|
|
1723
1753
|
"Ad-free experience on all Vuetify properties",
|
|
1724
1754
|
'Save and share across <a href="https://play.vuetifyjs.com" target="_blank">Vuetify Play</a>, <a href="https://bin.vuetifyjs.com" target="_blank">Vuetify Bin</a>, <a href="https://studio.vuetifyjs.com" target="_blank">Vuetify Studio</a>, and <a href="https://link.vuetifyjs.com" target="_blank">Vuetify Link</a>',
|
|
@@ -1730,8 +1760,8 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1730
1760
|
return H(a, async (u) => {
|
|
1731
1761
|
u && o.subscriptionInfo();
|
|
1732
1762
|
}), (u, r) => {
|
|
1733
|
-
const l =
|
|
1734
|
-
return c(),
|
|
1763
|
+
const l = G;
|
|
1764
|
+
return c(), k(D, null, [
|
|
1735
1765
|
n(Ze, { class: "font-weight-black" }, {
|
|
1736
1766
|
default: s(() => [...r[0] || (r[0] = [
|
|
1737
1767
|
S("Perks", -1)
|
|
@@ -1746,7 +1776,7 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1746
1776
|
nav: ""
|
|
1747
1777
|
}, {
|
|
1748
1778
|
default: s(() => [
|
|
1749
|
-
(c(!0),
|
|
1779
|
+
(c(!0), k(D, null, K(e(i), (d, f) => (c(), m(l, {
|
|
1750
1780
|
key: f,
|
|
1751
1781
|
class: "mb-0",
|
|
1752
1782
|
"prepend-icon": `svg:${e(ke)}`
|
|
@@ -1759,7 +1789,7 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1759
1789
|
})
|
|
1760
1790
|
]),
|
|
1761
1791
|
title: s(() => [
|
|
1762
|
-
g("div", { innerHTML: d }, null, 8,
|
|
1792
|
+
g("div", { innerHTML: d }, null, 8, Xn)
|
|
1763
1793
|
]),
|
|
1764
1794
|
_: 2
|
|
1765
1795
|
}, 1032, ["prepend-icon"]))), 128))
|
|
@@ -1781,10 +1811,10 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1781
1811
|
nav: ""
|
|
1782
1812
|
}, {
|
|
1783
1813
|
default: s(() => [
|
|
1784
|
-
(c(),
|
|
1814
|
+
(c(), k(D, null, K(t, (d, f) => n(l, {
|
|
1785
1815
|
key: f,
|
|
1786
1816
|
class: "mb-0",
|
|
1787
|
-
"prepend-icon": `svg:${e(
|
|
1817
|
+
"prepend-icon": `svg:${e(go)}`
|
|
1788
1818
|
}, {
|
|
1789
1819
|
prepend: s(() => [
|
|
1790
1820
|
n(I, {
|
|
@@ -1793,7 +1823,7 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1793
1823
|
})
|
|
1794
1824
|
]),
|
|
1795
1825
|
title: s(() => [
|
|
1796
|
-
g("div", { innerHTML: d }, null, 8,
|
|
1826
|
+
g("div", { innerHTML: d }, null, 8, Jn)
|
|
1797
1827
|
]),
|
|
1798
1828
|
_: 2
|
|
1799
1829
|
}, 1032, ["prepend-icon"])), 64))
|
|
@@ -1803,7 +1833,7 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1803
1833
|
], 64);
|
|
1804
1834
|
};
|
|
1805
1835
|
}
|
|
1806
|
-
}),
|
|
1836
|
+
}), ts = /* @__PURE__ */ _({
|
|
1807
1837
|
__name: "VoSubscriptionSubscribe",
|
|
1808
1838
|
props: {
|
|
1809
1839
|
interval: { default: "year" },
|
|
@@ -1813,7 +1843,7 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1813
1843
|
},
|
|
1814
1844
|
emits: ["update:interval", "update:type"],
|
|
1815
1845
|
setup(p) {
|
|
1816
|
-
const t = M(!1), a =
|
|
1846
|
+
const t = M(!1), a = W(p, "interval"), o = W(p, "type"), i = B(), u = De(), r = b(() => u.hasTeamAccess && !u.isTeamOwner), l = {
|
|
1817
1847
|
solo: {
|
|
1818
1848
|
month: "2.99 /month",
|
|
1819
1849
|
year: "29.99 /year"
|
|
@@ -1825,32 +1855,32 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1825
1855
|
};
|
|
1826
1856
|
return H(t, async (d) => {
|
|
1827
1857
|
d && i.subscriptionInfo();
|
|
1828
|
-
}), (d, f) => (c(),
|
|
1858
|
+
}), (d, f) => (c(), k(D, null, [
|
|
1829
1859
|
n(bt, {
|
|
1830
1860
|
modelValue: o.value,
|
|
1831
|
-
"onUpdate:modelValue": f[0] || (f[0] = (
|
|
1861
|
+
"onUpdate:modelValue": f[0] || (f[0] = (y) => o.value = y),
|
|
1832
1862
|
class: "mb-4",
|
|
1833
1863
|
mandatory: ""
|
|
1834
1864
|
}, {
|
|
1835
1865
|
default: s(() => [
|
|
1836
1866
|
n(fe, null, {
|
|
1837
1867
|
default: s(() => [
|
|
1838
|
-
n(
|
|
1868
|
+
n(le, {
|
|
1839
1869
|
cols: "12",
|
|
1840
1870
|
md: "6"
|
|
1841
1871
|
}, {
|
|
1842
1872
|
default: s(() => [
|
|
1843
1873
|
n(Ne, { value: "solo" }, {
|
|
1844
|
-
default: s(({ toggle:
|
|
1845
|
-
n(
|
|
1846
|
-
border:
|
|
1847
|
-
color:
|
|
1848
|
-
"prepend-icon":
|
|
1874
|
+
default: s(({ toggle: y, isSelected: v }) => [
|
|
1875
|
+
n(z, {
|
|
1876
|
+
border: v ? "sm primary opacity-50" : "sm",
|
|
1877
|
+
color: v ? "primary" : void 0,
|
|
1878
|
+
"prepend-icon": v ? `svg:${e(Me)}` : "$radioOff",
|
|
1849
1879
|
rounded: "lg",
|
|
1850
1880
|
subtitle: `$${l.solo[a.value]}`,
|
|
1851
1881
|
title: "Solo Developer",
|
|
1852
|
-
variant:
|
|
1853
|
-
onClick:
|
|
1882
|
+
variant: v ? "tonal" : "text",
|
|
1883
|
+
onClick: y
|
|
1854
1884
|
}, {
|
|
1855
1885
|
prepend: s(() => [
|
|
1856
1886
|
n(I, { class: "mt-n6" })
|
|
@@ -1863,23 +1893,23 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1863
1893
|
]),
|
|
1864
1894
|
_: 1
|
|
1865
1895
|
}),
|
|
1866
|
-
n(
|
|
1896
|
+
n(le, {
|
|
1867
1897
|
cols: "12",
|
|
1868
1898
|
md: "6"
|
|
1869
1899
|
}, {
|
|
1870
1900
|
default: s(() => [
|
|
1871
1901
|
n(Ne, { value: "team" }, {
|
|
1872
|
-
default: s(({ toggle:
|
|
1873
|
-
n(
|
|
1874
|
-
border:
|
|
1875
|
-
color:
|
|
1902
|
+
default: s(({ toggle: y, isSelected: v }) => [
|
|
1903
|
+
n(z, {
|
|
1904
|
+
border: v ? "sm primary opacity-50" : "sm",
|
|
1905
|
+
color: v ? "primary" : void 0,
|
|
1876
1906
|
disabled: e(r),
|
|
1877
|
-
"prepend-icon":
|
|
1907
|
+
"prepend-icon": v ? `svg:${e(Me)}` : "$radioOff",
|
|
1878
1908
|
rounded: "lg",
|
|
1879
1909
|
subtitle: `$${l.team[a.value]}`,
|
|
1880
1910
|
title: "Team Access",
|
|
1881
|
-
variant:
|
|
1882
|
-
onClick:
|
|
1911
|
+
variant: v ? "tonal" : "text",
|
|
1912
|
+
onClick: y
|
|
1883
1913
|
}, {
|
|
1884
1914
|
prepend: s(() => [
|
|
1885
1915
|
n(I, { class: "mt-n6" })
|
|
@@ -1898,9 +1928,9 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1898
1928
|
]),
|
|
1899
1929
|
_: 1
|
|
1900
1930
|
}, 8, ["modelValue"]),
|
|
1901
|
-
n(
|
|
1931
|
+
n(We, {
|
|
1902
1932
|
modelValue: a.value,
|
|
1903
|
-
"onUpdate:modelValue": f[1] || (f[1] = (
|
|
1933
|
+
"onUpdate:modelValue": f[1] || (f[1] = (y) => a.value = y),
|
|
1904
1934
|
"false-value": "month",
|
|
1905
1935
|
"hide-details": "",
|
|
1906
1936
|
inset: "",
|
|
@@ -1909,7 +1939,7 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1909
1939
|
}, null, 8, ["modelValue"])
|
|
1910
1940
|
], 64));
|
|
1911
1941
|
}
|
|
1912
|
-
}),
|
|
1942
|
+
}), os = { class: "px-3" }, ns = { class: "flex-grow-1 px-4 pb-3 overflow-hidden" }, ss = /* @__PURE__ */ _({
|
|
1913
1943
|
__name: "VoSubscriptionDialog",
|
|
1914
1944
|
props: {
|
|
1915
1945
|
modelValue: { type: Boolean },
|
|
@@ -1917,43 +1947,43 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1917
1947
|
},
|
|
1918
1948
|
emits: ["update:modelValue"],
|
|
1919
1949
|
setup(p) {
|
|
1920
|
-
function t(
|
|
1921
|
-
return new Promise((
|
|
1950
|
+
function t(y) {
|
|
1951
|
+
return new Promise((v) => setTimeout(v, y));
|
|
1922
1952
|
}
|
|
1923
|
-
const a =
|
|
1924
|
-
H([u, r], ([
|
|
1925
|
-
!o.isSubscriber || !o.interval || !o.subscriptionType || (d.value =
|
|
1926
|
-
}), H(a, async (
|
|
1927
|
-
if (!
|
|
1928
|
-
|
|
1953
|
+
const a = W(p, "modelValue"), o = B(), i = Ce(), u = M(o.interval), r = M(o.subscriptionType), l = M(o.hasBilling ? "status" : "subscribe"), d = M(!1);
|
|
1954
|
+
H([u, r], ([y, v]) => {
|
|
1955
|
+
!o.isSubscriber || !o.interval || !o.subscriptionType || (d.value = y !== o.interval || v !== o.subscriptionType);
|
|
1956
|
+
}), H(a, async (y) => {
|
|
1957
|
+
if (!y || !o.isSubscriber) {
|
|
1958
|
+
y || o.resetQuery();
|
|
1929
1959
|
return;
|
|
1930
1960
|
}
|
|
1931
1961
|
o.subscriptionInfo();
|
|
1932
1962
|
}), H(i, async () => {
|
|
1933
1963
|
!o.sessionId && !["subscribe", "status"].includes(i.value.one) || i.value.team || (l.value = o.sessionId || i.value.one === "status" ? "status" : "subscribe", o.isOpen = !0, await be(), a.value = !0);
|
|
1934
|
-
}, { immediate: !0 }),
|
|
1964
|
+
}, { immediate: !0 }), Nt(() => {
|
|
1935
1965
|
u.value = o.interval ?? "year", r.value = o.subscriptionType ?? "solo";
|
|
1936
1966
|
});
|
|
1937
1967
|
async function f() {
|
|
1938
1968
|
await o.modify(u.value, r.value), await o.subscriptionInfo(), d.value = null, await t(3e3), l.value = "status", await t(300), d.value = !1;
|
|
1939
1969
|
}
|
|
1940
|
-
return (
|
|
1941
|
-
const
|
|
1970
|
+
return (y, v) => {
|
|
1971
|
+
const C = re, $ = ts, L = es, U = Qn, Q = Nn, x = we, pe = de;
|
|
1942
1972
|
return c(), m(pe, {
|
|
1943
1973
|
modelValue: a.value,
|
|
1944
|
-
"onUpdate:modelValue":
|
|
1945
|
-
"prepend-icon": `svg:${e(
|
|
1974
|
+
"onUpdate:modelValue": v[5] || (v[5] = (O) => a.value = O),
|
|
1975
|
+
"prepend-icon": `svg:${e(yo)}`,
|
|
1946
1976
|
title: "Subscriptions"
|
|
1947
|
-
},
|
|
1977
|
+
}, P({
|
|
1948
1978
|
default: s(() => [
|
|
1949
1979
|
n(ue, null, {
|
|
1950
1980
|
default: s(() => [
|
|
1951
1981
|
n(ce, { scrollable: "" }, {
|
|
1952
1982
|
default: s(() => [
|
|
1953
|
-
g("div",
|
|
1983
|
+
g("div", os, [
|
|
1954
1984
|
n(J, null, {
|
|
1955
1985
|
default: s(() => [
|
|
1956
|
-
n(
|
|
1986
|
+
n(C, {
|
|
1957
1987
|
text: "The Vuetify One subscription is a great way to support the Vuetify team and get access to exclusive features and content.",
|
|
1958
1988
|
title: "Vuetify One"
|
|
1959
1989
|
}),
|
|
@@ -1963,11 +1993,11 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1963
1993
|
default: s(() => [
|
|
1964
1994
|
n($, {
|
|
1965
1995
|
interval: e(u),
|
|
1966
|
-
"onUpdate:interval":
|
|
1996
|
+
"onUpdate:interval": v[0] || (v[0] = (O) => j(u) ? u.value = O : null),
|
|
1967
1997
|
type: e(r),
|
|
1968
|
-
"onUpdate:type":
|
|
1998
|
+
"onUpdate:type": v[1] || (v[1] = (O) => j(r) ? r.value = O : null)
|
|
1969
1999
|
}, null, 8, ["interval", "type"]),
|
|
1970
|
-
|
|
2000
|
+
v[6] || (v[6] = g("br", null, null, -1)),
|
|
1971
2001
|
n(L, { type: e(r) }, null, 8, ["type"])
|
|
1972
2002
|
]),
|
|
1973
2003
|
_: 1
|
|
@@ -1975,7 +2005,7 @@ const Mn = /* @__PURE__ */ _({
|
|
|
1975
2005
|
n(ye, { value: "status" }, {
|
|
1976
2006
|
default: s(() => [
|
|
1977
2007
|
n(U, {
|
|
1978
|
-
"onChange:subscription":
|
|
2008
|
+
"onChange:subscription": v[2] || (v[2] = (O) => l.value = "subscribe")
|
|
1979
2009
|
}),
|
|
1980
2010
|
n(Q)
|
|
1981
2011
|
]),
|
|
@@ -2000,13 +2030,13 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2000
2030
|
e(l) === "subscribe" ? {
|
|
2001
2031
|
name: "actions",
|
|
2002
2032
|
fn: s(() => [
|
|
2003
|
-
g("div",
|
|
2033
|
+
g("div", ns, [
|
|
2004
2034
|
e(d) !== !1 ? (c(), m(x, {
|
|
2005
2035
|
key: 0,
|
|
2006
2036
|
block: "",
|
|
2007
2037
|
color: "success",
|
|
2008
2038
|
loading: e(o).isLoading,
|
|
2009
|
-
"prepend-icon": `svg:${e(d) !== null ? e(
|
|
2039
|
+
"prepend-icon": `svg:${e(d) !== null ? e(_o) : e(Me)}`,
|
|
2010
2040
|
readonly: e(d) === null,
|
|
2011
2041
|
size: "default",
|
|
2012
2042
|
text: e(d) !== null ? "Modify Subscription" : "Success",
|
|
@@ -2014,10 +2044,10 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2014
2044
|
}, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : e(o).one ? (c(), m(x, {
|
|
2015
2045
|
key: 2,
|
|
2016
2046
|
block: "",
|
|
2017
|
-
"prepend-icon": `svg:${e(
|
|
2047
|
+
"prepend-icon": `svg:${e(ho)}`,
|
|
2018
2048
|
size: "default",
|
|
2019
2049
|
text: "Manage Subscription",
|
|
2020
|
-
onClick:
|
|
2050
|
+
onClick: v[4] || (v[4] = (O) => l.value = "status")
|
|
2021
2051
|
}, null, 8, ["prepend-icon"])) : (c(), m(x, {
|
|
2022
2052
|
key: 1,
|
|
2023
2053
|
block: "",
|
|
@@ -2027,7 +2057,7 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2027
2057
|
"prepend-icon": "$vuetify",
|
|
2028
2058
|
size: "default",
|
|
2029
2059
|
text: "Activate Subscription",
|
|
2030
|
-
onClick:
|
|
2060
|
+
onClick: v[3] || (v[3] = (O) => e(o).subscribe(e(u), e(r)))
|
|
2031
2061
|
}, null, 8, ["color", "disabled", "loading"]))
|
|
2032
2062
|
])
|
|
2033
2063
|
]),
|
|
@@ -2036,16 +2066,16 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2036
2066
|
]), 1032, ["modelValue", "prepend-icon"]);
|
|
2037
2067
|
};
|
|
2038
2068
|
}
|
|
2039
|
-
}),
|
|
2069
|
+
}), as = /* @__PURE__ */ _({
|
|
2040
2070
|
__name: "VoSubscriptionListItem",
|
|
2041
2071
|
setup(p) {
|
|
2042
2072
|
const t = M(!1);
|
|
2043
2073
|
return (a, o) => {
|
|
2044
|
-
const i =
|
|
2074
|
+
const i = ss, u = G;
|
|
2045
2075
|
return c(), m(u, {
|
|
2046
2076
|
active: e(t),
|
|
2047
2077
|
link: "",
|
|
2048
|
-
"prepend-icon": `svg:${e(
|
|
2078
|
+
"prepend-icon": `svg:${e(bo)}`,
|
|
2049
2079
|
rounded: "lg",
|
|
2050
2080
|
title: "Subscriptions"
|
|
2051
2081
|
}, {
|
|
@@ -2059,7 +2089,7 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2059
2089
|
}, 8, ["active", "prepend-icon"]);
|
|
2060
2090
|
};
|
|
2061
2091
|
}
|
|
2062
|
-
}),
|
|
2092
|
+
}), is = {
|
|
2063
2093
|
key: 0,
|
|
2064
2094
|
class: "text-success"
|
|
2065
2095
|
}, Qe = /* @__PURE__ */ _({
|
|
@@ -2077,14 +2107,14 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2077
2107
|
const t = p, a = Pe(), o = b(() => `$${Number.parseFloat(String((t.sponsorship?.amount ?? 0) / 100)).toFixed(2)} /${t.sponsorship?.interval}`);
|
|
2078
2108
|
return (i, u) => {
|
|
2079
2109
|
const r = we;
|
|
2080
|
-
return c(), m(
|
|
2110
|
+
return c(), m(sn, {
|
|
2081
2111
|
"dot-color": i.sponsorship?.isActive ? "success" : "transparent",
|
|
2082
2112
|
icon: i.sponsorship?.isActive ? `svg:${e(ke)}` : void 0,
|
|
2083
2113
|
size: "x-small",
|
|
2084
2114
|
width: "100%"
|
|
2085
2115
|
}, {
|
|
2086
2116
|
default: s(() => [
|
|
2087
|
-
n(
|
|
2117
|
+
n(z, {
|
|
2088
2118
|
border: "",
|
|
2089
2119
|
"prepend-avatar": `${e(a).CDN_URL}logos/${i.logo}.png`,
|
|
2090
2120
|
rounded: "lg",
|
|
@@ -2092,13 +2122,13 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2092
2122
|
variant: "text"
|
|
2093
2123
|
}, {
|
|
2094
2124
|
subtitle: s(() => [
|
|
2095
|
-
i.sponsorship?.isActive ? (c(),
|
|
2125
|
+
i.sponsorship?.isActive ? (c(), k("div", is, [
|
|
2096
2126
|
n(I, {
|
|
2097
|
-
icon: `svg:${e(
|
|
2127
|
+
icon: `svg:${e(Co)}`,
|
|
2098
2128
|
size: "x-small"
|
|
2099
2129
|
}, null, 8, ["icon"]),
|
|
2100
2130
|
S(" " + V(e(o)), 1)
|
|
2101
|
-
])) : (c(),
|
|
2131
|
+
])) : (c(), k(D, { key: 1 }, [
|
|
2102
2132
|
S(V(i.text), 1)
|
|
2103
2133
|
], 64))
|
|
2104
2134
|
]),
|
|
@@ -2128,10 +2158,10 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2128
2158
|
}, 8, ["dot-color", "icon"]);
|
|
2129
2159
|
};
|
|
2130
2160
|
}
|
|
2131
|
-
}),
|
|
2161
|
+
}), rs = /* @__PURE__ */ _({
|
|
2132
2162
|
__name: "VoSponsorshipsTimelineItemDiscord",
|
|
2133
2163
|
setup(p) {
|
|
2134
|
-
const t =
|
|
2164
|
+
const t = B();
|
|
2135
2165
|
return (a, o) => {
|
|
2136
2166
|
const i = Qe;
|
|
2137
2167
|
return c(), m(i, {
|
|
@@ -2143,10 +2173,10 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2143
2173
|
}, null, 8, ["sponsorship"]);
|
|
2144
2174
|
};
|
|
2145
2175
|
}
|
|
2146
|
-
}),
|
|
2176
|
+
}), ls = /* @__PURE__ */ _({
|
|
2147
2177
|
__name: "VoSponsorshipsTimelineItemGithub",
|
|
2148
2178
|
setup(p) {
|
|
2149
|
-
const t =
|
|
2179
|
+
const t = B();
|
|
2150
2180
|
return (a, o) => {
|
|
2151
2181
|
const i = Qe;
|
|
2152
2182
|
return c(), m(i, {
|
|
@@ -2158,10 +2188,10 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2158
2188
|
}, null, 8, ["sponsorship"]);
|
|
2159
2189
|
};
|
|
2160
2190
|
}
|
|
2161
|
-
}),
|
|
2191
|
+
}), us = /* @__PURE__ */ _({
|
|
2162
2192
|
__name: "VoSponsorshipsTimelineItemOne",
|
|
2163
2193
|
setup(p) {
|
|
2164
|
-
const t =
|
|
2194
|
+
const t = B();
|
|
2165
2195
|
return (a, o) => {
|
|
2166
2196
|
const i = Qe;
|
|
2167
2197
|
return c(), m(i, {
|
|
@@ -2173,12 +2203,12 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2173
2203
|
}, null, 8, ["sponsorship"]);
|
|
2174
2204
|
};
|
|
2175
2205
|
}
|
|
2176
|
-
}),
|
|
2206
|
+
}), cs = /* @__PURE__ */ _({
|
|
2177
2207
|
__name: "VoSponsorshipsTimeline",
|
|
2178
2208
|
setup(p) {
|
|
2179
2209
|
return (t, a) => {
|
|
2180
|
-
const o =
|
|
2181
|
-
return c(), m(
|
|
2210
|
+
const o = us, i = ls, u = rs;
|
|
2211
|
+
return c(), m(an, {
|
|
2182
2212
|
class: "justify-start ms-n7",
|
|
2183
2213
|
"line-inset": "12",
|
|
2184
2214
|
side: "end",
|
|
@@ -2194,7 +2224,7 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2194
2224
|
});
|
|
2195
2225
|
};
|
|
2196
2226
|
}
|
|
2197
|
-
}),
|
|
2227
|
+
}), ds = { class: "px-3 pb-5 d-flex flex-column h-100" }, ps = { class: "font-weight-black" }, ms = { class: "text-caption text-medium-emphasis" }, fs = /* @__PURE__ */ _({
|
|
2198
2228
|
__name: "VoSponsorshipsDialog",
|
|
2199
2229
|
props: {
|
|
2200
2230
|
modelValue: { type: Boolean },
|
|
@@ -2202,15 +2232,15 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2202
2232
|
},
|
|
2203
2233
|
emits: ["update:modelValue"],
|
|
2204
2234
|
setup(p) {
|
|
2205
|
-
const t =
|
|
2235
|
+
const t = W(p, "modelValue"), a = Ce(), o = B();
|
|
2206
2236
|
return H(a, async () => {
|
|
2207
2237
|
a.value.one === "sponsorships" && (o.isOpen = !0, await be(), t.value = !0);
|
|
2208
2238
|
}, { immediate: !0 }), (i, u) => {
|
|
2209
|
-
const r =
|
|
2239
|
+
const r = re, l = cs, d = de;
|
|
2210
2240
|
return c(), m(d, {
|
|
2211
2241
|
modelValue: t.value,
|
|
2212
2242
|
"onUpdate:modelValue": u[0] || (u[0] = (f) => t.value = f),
|
|
2213
|
-
"prepend-icon": `svg:${e(
|
|
2243
|
+
"prepend-icon": `svg:${e(ko)}`,
|
|
2214
2244
|
title: "Sponsorships"
|
|
2215
2245
|
}, {
|
|
2216
2246
|
default: s(() => [
|
|
@@ -2218,7 +2248,7 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2218
2248
|
default: s(() => [
|
|
2219
2249
|
n(ce, { scrollable: "" }, {
|
|
2220
2250
|
default: s(() => [
|
|
2221
|
-
g("div",
|
|
2251
|
+
g("div", ds, [
|
|
2222
2252
|
n(J, { class: "flex-0-0 mb-16 mb-sm-4" }, {
|
|
2223
2253
|
default: s(() => [
|
|
2224
2254
|
n(r, {
|
|
@@ -2242,10 +2272,10 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2242
2272
|
]),
|
|
2243
2273
|
title: s(() => [
|
|
2244
2274
|
u[1] || (u[1] = S(" One Status: ", -1)),
|
|
2245
|
-
g("span",
|
|
2275
|
+
g("span", ps, V(e(o).isSubscriber ? "Active" : "Inactive"), 1)
|
|
2246
2276
|
]),
|
|
2247
2277
|
text: s(() => [
|
|
2248
|
-
g("div",
|
|
2278
|
+
g("div", ms, V(e(o).isSubscriber ? "You are currently receiving benefits of Vuetify One." : "Login to activate Vuetify One benefits"), 1)
|
|
2249
2279
|
]),
|
|
2250
2280
|
_: 1
|
|
2251
2281
|
})
|
|
@@ -2261,16 +2291,16 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2261
2291
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
2262
2292
|
};
|
|
2263
2293
|
}
|
|
2264
|
-
}),
|
|
2294
|
+
}), vs = /* @__PURE__ */ _({
|
|
2265
2295
|
__name: "VoSponsorshipsListItem",
|
|
2266
2296
|
setup(p) {
|
|
2267
2297
|
const t = M(!1);
|
|
2268
2298
|
return (a, o) => {
|
|
2269
|
-
const i =
|
|
2299
|
+
const i = fs, u = G;
|
|
2270
2300
|
return c(), m(u, {
|
|
2271
2301
|
active: e(t),
|
|
2272
2302
|
link: "",
|
|
2273
|
-
"prepend-icon": `svg:${e(
|
|
2303
|
+
"prepend-icon": `svg:${e(Vo)}`,
|
|
2274
2304
|
rounded: "lg",
|
|
2275
2305
|
title: "Sponsorships"
|
|
2276
2306
|
}, {
|
|
@@ -2284,8 +2314,8 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2284
2314
|
}, 8, ["active", "prepend-icon"]);
|
|
2285
2315
|
};
|
|
2286
2316
|
}
|
|
2287
|
-
}),
|
|
2288
|
-
const p = Y(), t = ee(), a =
|
|
2317
|
+
}), gs = q("downloads", () => {
|
|
2318
|
+
const p = Y(), t = ee(), a = F([]), o = M(!1);
|
|
2289
2319
|
async function i() {
|
|
2290
2320
|
if (a.value.length > 0)
|
|
2291
2321
|
return a.value;
|
|
@@ -2305,10 +2335,10 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2305
2335
|
isLoading: o,
|
|
2306
2336
|
index: i
|
|
2307
2337
|
};
|
|
2308
|
-
}),
|
|
2338
|
+
}), ys = /* @__PURE__ */ _({
|
|
2309
2339
|
__name: "VoDownloadsTable",
|
|
2310
2340
|
setup(p) {
|
|
2311
|
-
const t = me(), a =
|
|
2341
|
+
const t = me(), a = gs(), o = [
|
|
2312
2342
|
{
|
|
2313
2343
|
title: "Order ID",
|
|
2314
2344
|
value: "order_name"
|
|
@@ -2331,16 +2361,16 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2331
2361
|
return He(async () => {
|
|
2332
2362
|
await a.index();
|
|
2333
2363
|
}), (i, u) => {
|
|
2334
|
-
const r =
|
|
2364
|
+
const r = re;
|
|
2335
2365
|
return c(), m(fe, null, {
|
|
2336
2366
|
default: s(() => [
|
|
2337
|
-
n(
|
|
2367
|
+
n(le, { cols: "12" }, {
|
|
2338
2368
|
default: s(() => [
|
|
2339
2369
|
n(r, {
|
|
2340
2370
|
text: "View and download your store purchases.",
|
|
2341
2371
|
title: "Download history"
|
|
2342
2372
|
}),
|
|
2343
|
-
n(
|
|
2373
|
+
n(z, {
|
|
2344
2374
|
border: "",
|
|
2345
2375
|
flat: "",
|
|
2346
2376
|
rounded: "lg"
|
|
@@ -2360,7 +2390,7 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2360
2390
|
S(V(e(t).format(l.created_at, "shortDate")), 1)
|
|
2361
2391
|
]),
|
|
2362
2392
|
"item.download_items": s(({ item: l }) => [
|
|
2363
|
-
(c(!0),
|
|
2393
|
+
(c(!0), k(D, null, K(l.download_items, (d, f) => (c(), k("div", {
|
|
2364
2394
|
key: f,
|
|
2365
2395
|
class: "text-truncate"
|
|
2366
2396
|
}, V(d.name), 1))), 128))
|
|
@@ -2369,7 +2399,7 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2369
2399
|
n(A, {
|
|
2370
2400
|
color: "medium-emphasis",
|
|
2371
2401
|
href: l.download_url,
|
|
2372
|
-
icon: `svg:${e(
|
|
2402
|
+
icon: `svg:${e($o)}`,
|
|
2373
2403
|
size: "small",
|
|
2374
2404
|
target: "_blank",
|
|
2375
2405
|
variant: "text"
|
|
@@ -2388,12 +2418,12 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2388
2418
|
});
|
|
2389
2419
|
};
|
|
2390
2420
|
}
|
|
2391
|
-
}),
|
|
2421
|
+
}), _s = { class: "px-3" }, hs = /* @__PURE__ */ _({
|
|
2392
2422
|
__name: "VoDownloadsNavItem",
|
|
2393
2423
|
setup(p) {
|
|
2394
2424
|
const t = M(!1);
|
|
2395
2425
|
return (a, o) => {
|
|
2396
|
-
const i =
|
|
2426
|
+
const i = ys, u = de, r = G;
|
|
2397
2427
|
return c(), m(r, {
|
|
2398
2428
|
active: e(t),
|
|
2399
2429
|
link: "",
|
|
@@ -2413,7 +2443,7 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2413
2443
|
default: s(() => [
|
|
2414
2444
|
n(ce, { scrollable: "" }, {
|
|
2415
2445
|
default: s(() => [
|
|
2416
|
-
g("div",
|
|
2446
|
+
g("div", _s, [
|
|
2417
2447
|
n(J, null, {
|
|
2418
2448
|
default: s(() => [
|
|
2419
2449
|
n(i)
|
|
@@ -2435,7 +2465,7 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2435
2465
|
}, 8, ["active", "prepend-icon"]);
|
|
2436
2466
|
};
|
|
2437
2467
|
}
|
|
2438
|
-
}),
|
|
2468
|
+
}), bs = { class: "px-3" }, Cs = { class: "d-flex align-center" }, ks = { class: "d-flex align-center" }, Vs = /* @__PURE__ */ _({
|
|
2439
2469
|
__name: "VoTeamDialog",
|
|
2440
2470
|
props: {
|
|
2441
2471
|
modelValue: { type: Boolean },
|
|
@@ -2443,7 +2473,7 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2443
2473
|
},
|
|
2444
2474
|
emits: ["update:modelValue"],
|
|
2445
2475
|
setup(p) {
|
|
2446
|
-
const t =
|
|
2476
|
+
const t = B(), a = De(), o = Y(), { copy: i, copied: u } = Be(), r = b(() => a.team), l = Ce(), d = M(!1), f = [
|
|
2447
2477
|
{
|
|
2448
2478
|
title: "Name",
|
|
2449
2479
|
key: "name"
|
|
@@ -2454,20 +2484,20 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2454
2484
|
align: "end",
|
|
2455
2485
|
sortable: !1
|
|
2456
2486
|
}
|
|
2457
|
-
],
|
|
2458
|
-
async function
|
|
2487
|
+
], y = b(() => `https://one.vuetifyjs.com/?invite=${a.team?.inviteCode}`), v = W(p, "modelValue");
|
|
2488
|
+
async function C() {
|
|
2459
2489
|
d.value = !0;
|
|
2460
2490
|
const $ = await o.post("/one/team/regen");
|
|
2461
2491
|
a.team = $.team;
|
|
2462
2492
|
}
|
|
2463
2493
|
return H(l, async () => {
|
|
2464
|
-
!t.sessionId || l.value.one === "subscribe" || l.value.team && (t.isOpen = !0, await be(),
|
|
2494
|
+
!t.sessionId || l.value.one === "subscribe" || l.value.team && (t.isOpen = !0, await be(), v.value = !0);
|
|
2465
2495
|
}, { immediate: !0 }), ($, L) => {
|
|
2466
|
-
const U =
|
|
2496
|
+
const U = re, Q = de;
|
|
2467
2497
|
return c(), m(Q, {
|
|
2468
|
-
modelValue:
|
|
2469
|
-
"onUpdate:modelValue": L[2] || (L[2] = (x) =>
|
|
2470
|
-
"prepend-icon": `svg:${e(
|
|
2498
|
+
modelValue: v.value,
|
|
2499
|
+
"onUpdate:modelValue": L[2] || (L[2] = (x) => v.value = x),
|
|
2500
|
+
"prepend-icon": `svg:${e(xo)}`,
|
|
2471
2501
|
title: "Team"
|
|
2472
2502
|
}, {
|
|
2473
2503
|
default: s(() => [
|
|
@@ -2475,14 +2505,14 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2475
2505
|
default: s(() => [
|
|
2476
2506
|
n(ce, { scrollable: "" }, {
|
|
2477
2507
|
default: s(() => [
|
|
2478
|
-
g("div",
|
|
2508
|
+
g("div", bs, [
|
|
2479
2509
|
n(J, null, {
|
|
2480
2510
|
default: s(() => [
|
|
2481
2511
|
n(U, {
|
|
2482
2512
|
text: "Share access to Vuetify One with up to 25 team members.",
|
|
2483
2513
|
title: "Manage your team"
|
|
2484
2514
|
}),
|
|
2485
|
-
e(a).isTeamOwner ? (c(), m(
|
|
2515
|
+
e(a).isTeamOwner ? (c(), m(z, {
|
|
2486
2516
|
key: 0,
|
|
2487
2517
|
border: "",
|
|
2488
2518
|
class: "mb-4",
|
|
@@ -2496,7 +2526,7 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2496
2526
|
class: "bg-surface",
|
|
2497
2527
|
subtitle: `Team - ${e(r)?.members?.length} member(s)`,
|
|
2498
2528
|
title: "Members"
|
|
2499
|
-
},
|
|
2529
|
+
}, P({ _: 2 }, [
|
|
2500
2530
|
e(a).isTeamOwner ? {
|
|
2501
2531
|
name: "append",
|
|
2502
2532
|
fn: s(() => [
|
|
@@ -2504,7 +2534,7 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2504
2534
|
border: "",
|
|
2505
2535
|
class: "text-none",
|
|
2506
2536
|
color: "primary",
|
|
2507
|
-
"prepend-icon": `svg:${e(
|
|
2537
|
+
"prepend-icon": `svg:${e(Lo)}`,
|
|
2508
2538
|
rounded: "lg",
|
|
2509
2539
|
variant: "flat"
|
|
2510
2540
|
}, {
|
|
@@ -2519,11 +2549,11 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2519
2549
|
width: "100%"
|
|
2520
2550
|
}, {
|
|
2521
2551
|
default: s(() => [
|
|
2522
|
-
n(
|
|
2552
|
+
n(z, { color: "surface-light" }, {
|
|
2523
2553
|
default: s(() => [
|
|
2524
2554
|
n(Fe, {
|
|
2525
2555
|
class: "bg-surface",
|
|
2526
|
-
"prepend-icon": `svg:${e(
|
|
2556
|
+
"prepend-icon": `svg:${e(wo)}`,
|
|
2527
2557
|
subtitle: "Provide this link to invite your team members",
|
|
2528
2558
|
title: "Member invite link"
|
|
2529
2559
|
}, {
|
|
@@ -2535,7 +2565,7 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2535
2565
|
flat: "",
|
|
2536
2566
|
slim: "",
|
|
2537
2567
|
text: "Reset",
|
|
2538
|
-
onClick:
|
|
2568
|
+
onClick: C
|
|
2539
2569
|
}, null, 8, ["color", "disabled"])
|
|
2540
2570
|
]),
|
|
2541
2571
|
_: 1
|
|
@@ -2546,7 +2576,7 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2546
2576
|
flat: "",
|
|
2547
2577
|
"hide-details": "",
|
|
2548
2578
|
label: "Invite link",
|
|
2549
|
-
"model-value": e(
|
|
2579
|
+
"model-value": e(y),
|
|
2550
2580
|
readonly: "",
|
|
2551
2581
|
variant: "solo"
|
|
2552
2582
|
}, {
|
|
@@ -2554,7 +2584,7 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2554
2584
|
Z(n(I, {
|
|
2555
2585
|
icon: `svg:${e(u) ? e(ke) : e(Re)}`,
|
|
2556
2586
|
size: "small",
|
|
2557
|
-
onClick: L[0] || (L[0] = (x) => e(i)(e(
|
|
2587
|
+
onClick: L[0] || (L[0] = (x) => e(i)(e(y)))
|
|
2558
2588
|
}, null, 8, ["icon"]), [
|
|
2559
2589
|
[X, "Copy Team link"]
|
|
2560
2590
|
])
|
|
@@ -2585,13 +2615,13 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2585
2615
|
rounded: "lg"
|
|
2586
2616
|
}, {
|
|
2587
2617
|
default: s(() => [
|
|
2588
|
-
n(
|
|
2618
|
+
n(nn, {
|
|
2589
2619
|
headers: f,
|
|
2590
2620
|
"hide-default-footer": e(r)?.members?.length < 10,
|
|
2591
2621
|
items: e(r)?.members
|
|
2592
2622
|
}, {
|
|
2593
2623
|
"item.name": s(({ item: x }) => [
|
|
2594
|
-
g("div",
|
|
2624
|
+
g("div", Cs, [
|
|
2595
2625
|
n(oe, {
|
|
2596
2626
|
image: x.picture,
|
|
2597
2627
|
size: "x-small",
|
|
@@ -2616,7 +2646,7 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2616
2646
|
class: "me-n3",
|
|
2617
2647
|
color: "medium-emphasis",
|
|
2618
2648
|
density: "comfortable",
|
|
2619
|
-
"prepend-icon": `svg:${e(
|
|
2649
|
+
"prepend-icon": `svg:${e(So)}`,
|
|
2620
2650
|
slim: "",
|
|
2621
2651
|
text: "Revoke",
|
|
2622
2652
|
variant: "text",
|
|
@@ -2633,7 +2663,7 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2633
2663
|
})
|
|
2634
2664
|
]),
|
|
2635
2665
|
_: 1
|
|
2636
|
-
})) : (c(), m(
|
|
2666
|
+
})) : (c(), m(z, {
|
|
2637
2667
|
key: 1,
|
|
2638
2668
|
border: "",
|
|
2639
2669
|
color: "surface-light",
|
|
@@ -2648,7 +2678,7 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2648
2678
|
title: "My Team access"
|
|
2649
2679
|
}, {
|
|
2650
2680
|
title: s(() => [
|
|
2651
|
-
g("div",
|
|
2681
|
+
g("div", ks, [
|
|
2652
2682
|
L[4] || (L[4] = S(" My Team Access ", -1)),
|
|
2653
2683
|
n(te, {
|
|
2654
2684
|
border: "thin opacity-25 success",
|
|
@@ -2662,7 +2692,7 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2662
2692
|
]),
|
|
2663
2693
|
append: s(() => [
|
|
2664
2694
|
n(A, {
|
|
2665
|
-
"prepend-icon": `svg:${e(
|
|
2695
|
+
"prepend-icon": `svg:${e(Mo)}`,
|
|
2666
2696
|
rounded: "lg",
|
|
2667
2697
|
text: "Leave team",
|
|
2668
2698
|
width: "145",
|
|
@@ -2689,16 +2719,16 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2689
2719
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
2690
2720
|
};
|
|
2691
2721
|
}
|
|
2692
|
-
}),
|
|
2722
|
+
}), $s = /* @__PURE__ */ _({
|
|
2693
2723
|
__name: "VoTeamListItem",
|
|
2694
2724
|
setup(p) {
|
|
2695
2725
|
const t = M(!1);
|
|
2696
2726
|
return (a, o) => {
|
|
2697
|
-
const i =
|
|
2727
|
+
const i = Vs, u = G;
|
|
2698
2728
|
return c(), m(u, {
|
|
2699
2729
|
active: e(t),
|
|
2700
2730
|
link: "",
|
|
2701
|
-
"prepend-icon": `svg:${e(
|
|
2731
|
+
"prepend-icon": `svg:${e(Io)}`,
|
|
2702
2732
|
rounded: "lg",
|
|
2703
2733
|
title: "My Team"
|
|
2704
2734
|
}, {
|
|
@@ -2784,7 +2814,7 @@ const Mn = /* @__PURE__ */ _({
|
|
|
2784
2814
|
icon: "$vuetify-figma"
|
|
2785
2815
|
}
|
|
2786
2816
|
];
|
|
2787
|
-
function
|
|
2817
|
+
function Ut() {
|
|
2788
2818
|
const p = T(), t = ge(() => st.filter((i) => p.one.ecosystem.pinned.includes(i.id)));
|
|
2789
2819
|
H(() => p.one.quicklinks, (i) => {
|
|
2790
2820
|
!i && p.one.ecosystem.pinned.length > 0 && (p.one.ecosystem.pinned = []);
|
|
@@ -2806,8 +2836,8 @@ function Tt() {
|
|
|
2806
2836
|
const at = /* @__PURE__ */ _({
|
|
2807
2837
|
__name: "VoEcosystemMenu",
|
|
2808
2838
|
setup(p) {
|
|
2809
|
-
const t =
|
|
2810
|
-
return (u, r) => (c(), m(
|
|
2839
|
+
const t = E(), { actions: a, isPinned: o, togglePin: i } = Ut();
|
|
2840
|
+
return (u, r) => (c(), m(z, {
|
|
2811
2841
|
border: "",
|
|
2812
2842
|
"min-width": "240",
|
|
2813
2843
|
rounded: "lg"
|
|
@@ -2818,19 +2848,19 @@ const at = /* @__PURE__ */ _({
|
|
|
2818
2848
|
nav: ""
|
|
2819
2849
|
}, {
|
|
2820
2850
|
default: s(() => [
|
|
2821
|
-
(c(!0),
|
|
2851
|
+
(c(!0), k(D, null, K(e(a), (l) => Z((c(), m(ae, {
|
|
2822
2852
|
key: l.id,
|
|
2823
2853
|
href: l.href,
|
|
2824
2854
|
"prepend-icon": l.icon,
|
|
2825
2855
|
rounded: "lg",
|
|
2826
2856
|
target: "_blank",
|
|
2827
2857
|
title: l.name
|
|
2828
|
-
},
|
|
2858
|
+
}, P({ _: 2 }, [
|
|
2829
2859
|
e(t).user ? {
|
|
2830
2860
|
name: "append",
|
|
2831
2861
|
fn: s(() => [
|
|
2832
2862
|
Z(n(A, {
|
|
2833
|
-
icon: `svg:${e(o)(l.id) ? e(
|
|
2863
|
+
icon: `svg:${e(o)(l.id) ? e(Do) : e(Ao)}`,
|
|
2834
2864
|
size: "x-small",
|
|
2835
2865
|
variant: "text",
|
|
2836
2866
|
onClick: _e((d) => e(i)(l.id), ["prevent", "stop"])
|
|
@@ -2850,20 +2880,20 @@ const at = /* @__PURE__ */ _({
|
|
|
2850
2880
|
_: 1
|
|
2851
2881
|
}));
|
|
2852
2882
|
}
|
|
2853
|
-
}),
|
|
2883
|
+
}), xs = /* @__PURE__ */ _({
|
|
2854
2884
|
__name: "VoEcosystemListItem",
|
|
2855
2885
|
setup(p) {
|
|
2856
|
-
const t = T(), { mobile: a } =
|
|
2886
|
+
const t = T(), { mobile: a } = ie(), o = M(!1);
|
|
2857
2887
|
return H(o, (i) => {
|
|
2858
2888
|
i && !t.one.ecosystem.seen && (t.one.ecosystem.seen = !0);
|
|
2859
2889
|
}), (i, u) => {
|
|
2860
|
-
const r =
|
|
2890
|
+
const r = G;
|
|
2861
2891
|
return c(), m(r, {
|
|
2862
2892
|
link: "",
|
|
2863
2893
|
"prepend-icon": "$vuetify-outline",
|
|
2864
2894
|
rounded: "lg",
|
|
2865
2895
|
title: "Vuetify Ecosystem"
|
|
2866
|
-
},
|
|
2896
|
+
}, P({
|
|
2867
2897
|
default: s(() => [
|
|
2868
2898
|
e(a) ? (c(), m(Ve, {
|
|
2869
2899
|
key: 0,
|
|
@@ -2908,19 +2938,19 @@ const at = /* @__PURE__ */ _({
|
|
|
2908
2938
|
]), 1024);
|
|
2909
2939
|
};
|
|
2910
2940
|
}
|
|
2911
|
-
}),
|
|
2941
|
+
}), Ls = {
|
|
2912
2942
|
key: 0,
|
|
2913
2943
|
class: "pt-16"
|
|
2914
|
-
},
|
|
2944
|
+
}, ws = {
|
|
2915
2945
|
key: 1,
|
|
2916
2946
|
class: "pa-5"
|
|
2917
|
-
},
|
|
2947
|
+
}, Ss = { class: "text-subtitle-1 font-weight-bold" }, Ms = { class: "text-caption font-weight-bold text-medium-emphasis" }, Is = { class: "text-disabled text-caption mt-2 mb-3" }, Ds = /* @__PURE__ */ _({
|
|
2918
2948
|
__name: "VoNotificationsBannerList",
|
|
2919
2949
|
props: {
|
|
2920
2950
|
items: {}
|
|
2921
2951
|
},
|
|
2922
2952
|
setup(p) {
|
|
2923
|
-
const t = me(), a =
|
|
2953
|
+
const t = me(), a = ie(), o = T();
|
|
2924
2954
|
function i(r) {
|
|
2925
2955
|
return o.one.banners.read.includes(r);
|
|
2926
2956
|
}
|
|
@@ -2933,7 +2963,7 @@ const at = /* @__PURE__ */ _({
|
|
|
2933
2963
|
lines: "three"
|
|
2934
2964
|
}, {
|
|
2935
2965
|
default: s(() => [
|
|
2936
|
-
r.items.length === 0 ? (c(),
|
|
2966
|
+
r.items.length === 0 ? (c(), k("div", Ls, [
|
|
2937
2967
|
n(Ke, {
|
|
2938
2968
|
icon: "$vuetify",
|
|
2939
2969
|
size: "256"
|
|
@@ -2946,12 +2976,12 @@ const at = /* @__PURE__ */ _({
|
|
|
2946
2976
|
])]),
|
|
2947
2977
|
_: 1
|
|
2948
2978
|
})
|
|
2949
|
-
])) : (c(),
|
|
2950
|
-
(c(!0),
|
|
2979
|
+
])) : (c(), k("div", ws, [
|
|
2980
|
+
(c(!0), k(D, null, K(r.items, (d) => (c(), k("div", {
|
|
2951
2981
|
key: d.slug,
|
|
2952
2982
|
class: "mb-4"
|
|
2953
2983
|
}, [
|
|
2954
|
-
n(
|
|
2984
|
+
n(z, {
|
|
2955
2985
|
color: d.metadata.color,
|
|
2956
2986
|
flat: "",
|
|
2957
2987
|
image: d.metadata.images.bg?.url,
|
|
@@ -2969,7 +2999,7 @@ const at = /* @__PURE__ */ _({
|
|
|
2969
2999
|
_: 2
|
|
2970
3000
|
}, 1032, ["color", "image", "title"]),
|
|
2971
3001
|
n(ve, null, {
|
|
2972
|
-
default: s(({ props: f, isHovering:
|
|
3002
|
+
default: s(({ props: f, isHovering: y }) => [
|
|
2973
3003
|
n($e, R({ ref_for: !0 }, f, {
|
|
2974
3004
|
border: "",
|
|
2975
3005
|
class: "px-8 pt-2 pb-4 position-relative",
|
|
@@ -2980,17 +3010,17 @@ const at = /* @__PURE__ */ _({
|
|
|
2980
3010
|
location: "bottom",
|
|
2981
3011
|
text: i(d.slug) ? "Mark as unread" : "Mark as read"
|
|
2982
3012
|
}, {
|
|
2983
|
-
activator: s(({ props:
|
|
3013
|
+
activator: s(({ props: v }) => [
|
|
2984
3014
|
n(xe, { "hide-on-leave": "" }, {
|
|
2985
3015
|
default: s(() => [
|
|
2986
|
-
Z(n(A, R({ ref_for: !0 },
|
|
3016
|
+
Z(n(A, R({ ref_for: !0 }, v, {
|
|
2987
3017
|
class: "ms-auto float-right",
|
|
2988
|
-
icon: `svg:${i(d.slug) ? e(
|
|
3018
|
+
icon: `svg:${i(d.slug) ? e(Ge) : e(qe)}`,
|
|
2989
3019
|
size: "small",
|
|
2990
3020
|
variant: "text",
|
|
2991
|
-
onClick: (
|
|
3021
|
+
onClick: (C) => u(d)
|
|
2992
3022
|
}), null, 16, ["icon", "onClick"]), [
|
|
2993
|
-
[Ie,
|
|
3023
|
+
[Ie, y || e(a).mobile.value]
|
|
2994
3024
|
])
|
|
2995
3025
|
]),
|
|
2996
3026
|
_: 2
|
|
@@ -2998,9 +3028,9 @@ const at = /* @__PURE__ */ _({
|
|
|
2998
3028
|
]),
|
|
2999
3029
|
_: 2
|
|
3000
3030
|
}, 1032, ["text"]),
|
|
3001
|
-
g("div",
|
|
3002
|
-
g("div",
|
|
3003
|
-
g("div",
|
|
3031
|
+
g("div", Ss, V(d.metadata.text), 1),
|
|
3032
|
+
g("div", Ms, V(e(t).format(d.created_at, "fullDateWithWeekday")), 1),
|
|
3033
|
+
g("div", Is, V(d.metadata.subtext), 1),
|
|
3004
3034
|
n(te, R({ ref_for: !0 }, {
|
|
3005
3035
|
href: d.metadata.link.startsWith("http") ? d.metadata.link : void 0,
|
|
3006
3036
|
target: d.metadata.link.startsWith("http") ? "_blank" : void 0,
|
|
@@ -3030,14 +3060,14 @@ const at = /* @__PURE__ */ _({
|
|
|
3030
3060
|
_: 1
|
|
3031
3061
|
}));
|
|
3032
3062
|
}
|
|
3033
|
-
}),
|
|
3063
|
+
}), As = { class: "ps-3 text-subtitle-2 pe-2" }, Ts = { class: "text-truncate" }, Us = { class: "text-caption font-weight-bold text-medium-emphasis" }, Ps = { class: "text-disabled text-caption my-2" }, zs = /* @__PURE__ */ _({
|
|
3034
3064
|
__name: "VoNotificationsListItem",
|
|
3035
3065
|
props: {
|
|
3036
3066
|
demo: { type: Boolean },
|
|
3037
3067
|
notification: {}
|
|
3038
3068
|
},
|
|
3039
3069
|
setup(p) {
|
|
3040
|
-
const t = p, a = T(), o = me(), i =
|
|
3070
|
+
const t = p, a = T(), o = me(), i = ie(), u = b(() => {
|
|
3041
3071
|
const d = t.notification.metadata ?? { action: "" };
|
|
3042
3072
|
return {
|
|
3043
3073
|
href: d.action.startsWith("http") ? d.action : void 0,
|
|
@@ -3056,15 +3086,15 @@ const at = /* @__PURE__ */ _({
|
|
|
3056
3086
|
t.demo || (r(d.slug) ? a.one.notifications.read = a.one.notifications.read.filter((f) => f !== d.slug) : a.one.notifications.read.push(d.slug));
|
|
3057
3087
|
}
|
|
3058
3088
|
return (d, f) => {
|
|
3059
|
-
const
|
|
3089
|
+
const y = G;
|
|
3060
3090
|
return c(), m(ve, null, {
|
|
3061
|
-
default: s(({ isHovering:
|
|
3062
|
-
n(
|
|
3091
|
+
default: s(({ isHovering: v, props: C }) => [
|
|
3092
|
+
n(y, R(C, { class: "py-4 mb-0" }), {
|
|
3063
3093
|
prepend: s(() => [
|
|
3064
|
-
g("div",
|
|
3094
|
+
g("div", As, V(d.notification.metadata.emoji), 1)
|
|
3065
3095
|
]),
|
|
3066
3096
|
append: s(() => [
|
|
3067
|
-
n(
|
|
3097
|
+
n(rn, {
|
|
3068
3098
|
class: "mt-n3",
|
|
3069
3099
|
width: "56"
|
|
3070
3100
|
}, {
|
|
@@ -3078,13 +3108,13 @@ const at = /* @__PURE__ */ _({
|
|
|
3078
3108
|
default: s(() => [
|
|
3079
3109
|
Z(n(A, R($, {
|
|
3080
3110
|
class: "ms-auto",
|
|
3081
|
-
icon: `svg:${r(d.notification.slug) ? e(
|
|
3111
|
+
icon: `svg:${r(d.notification.slug) ? e(Ge) : e(qe)}`,
|
|
3082
3112
|
"mdi-email-variant": "",
|
|
3083
3113
|
size: "small",
|
|
3084
3114
|
variant: "text",
|
|
3085
3115
|
onClick: f[0] || (f[0] = (L) => l(d.notification))
|
|
3086
3116
|
}), null, 16, ["icon"]), [
|
|
3087
|
-
[Ie,
|
|
3117
|
+
[Ie, v || e(i).mobile.value]
|
|
3088
3118
|
])
|
|
3089
3119
|
]),
|
|
3090
3120
|
_: 2
|
|
@@ -3099,12 +3129,12 @@ const at = /* @__PURE__ */ _({
|
|
|
3099
3129
|
default: s(() => [
|
|
3100
3130
|
n(yt, { class: "text-wrap text-h6 mb-1" }, {
|
|
3101
3131
|
default: s(() => [
|
|
3102
|
-
g("div",
|
|
3132
|
+
g("div", Ts, V(d.notification.title), 1)
|
|
3103
3133
|
]),
|
|
3104
3134
|
_: 1
|
|
3105
3135
|
}),
|
|
3106
|
-
g("div",
|
|
3107
|
-
g("div",
|
|
3136
|
+
g("div", Us, V(e(o).format(d.notification.created_at, "fullDateWithWeekday")), 1),
|
|
3137
|
+
g("div", Ps, V(d.notification.metadata.text), 1),
|
|
3108
3138
|
n(te, R({
|
|
3109
3139
|
"append-icon": `svg:${e(Ae)}`
|
|
3110
3140
|
}, e(u), {
|
|
@@ -3127,24 +3157,24 @@ const at = /* @__PURE__ */ _({
|
|
|
3127
3157
|
});
|
|
3128
3158
|
};
|
|
3129
3159
|
}
|
|
3130
|
-
}),
|
|
3160
|
+
}), Bs = {
|
|
3131
3161
|
key: 0,
|
|
3132
3162
|
class: "pt-16"
|
|
3133
|
-
},
|
|
3163
|
+
}, Os = /* @__PURE__ */ _({
|
|
3134
3164
|
__name: "VoNotificationsList",
|
|
3135
3165
|
props: {
|
|
3136
3166
|
items: {}
|
|
3137
3167
|
},
|
|
3138
3168
|
setup(p) {
|
|
3139
3169
|
return (t, a) => {
|
|
3140
|
-
const o =
|
|
3170
|
+
const o = zs;
|
|
3141
3171
|
return c(), m(ne, {
|
|
3142
3172
|
class: "py-0",
|
|
3143
3173
|
height: "100%",
|
|
3144
3174
|
lines: "three"
|
|
3145
3175
|
}, {
|
|
3146
3176
|
default: s(() => [
|
|
3147
|
-
t.items.length === 0 ? (c(),
|
|
3177
|
+
t.items.length === 0 ? (c(), k("div", Bs, [
|
|
3148
3178
|
n(Ke, {
|
|
3149
3179
|
icon: "$vuetify",
|
|
3150
3180
|
size: "256"
|
|
@@ -3157,7 +3187,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3157
3187
|
])]),
|
|
3158
3188
|
_: 1
|
|
3159
3189
|
})
|
|
3160
|
-
])) : (c(!0),
|
|
3190
|
+
])) : (c(!0), k(D, { key: 1 }, K(t.items, (i, u) => (c(), k(D, {
|
|
3161
3191
|
key: i.slug
|
|
3162
3192
|
}, [
|
|
3163
3193
|
u !== 0 ? (c(), m(N, { key: 0 })) : h("", !0),
|
|
@@ -3168,36 +3198,36 @@ const at = /* @__PURE__ */ _({
|
|
|
3168
3198
|
});
|
|
3169
3199
|
};
|
|
3170
3200
|
}
|
|
3171
|
-
}),
|
|
3172
|
-
const p =
|
|
3201
|
+
}), Pt = q("site", () => {
|
|
3202
|
+
const p = F([]), t = F();
|
|
3173
3203
|
return {
|
|
3174
3204
|
id: p,
|
|
3175
3205
|
url: t
|
|
3176
3206
|
};
|
|
3177
|
-
}),
|
|
3178
|
-
const p = Y(), t =
|
|
3207
|
+
}), Oe = q("banners", () => {
|
|
3208
|
+
const p = Y(), t = Pt(), a = T(), o = ee(), i = F([]), u = M(!1), r = b(() => {
|
|
3179
3209
|
if (l.value)
|
|
3180
3210
|
return l.value;
|
|
3181
3211
|
if (a.one.banners.enabled) {
|
|
3182
3212
|
if (a.one.banners.last) {
|
|
3183
|
-
const f = new Date(a.one.banners.last),
|
|
3184
|
-
if (f >
|
|
3213
|
+
const f = new Date(a.one.banners.last), y = new Date(Date.now() - 3 * 24 * 60 * 60 * 1e3);
|
|
3214
|
+
if (f > y)
|
|
3185
3215
|
return;
|
|
3186
3216
|
}
|
|
3187
3217
|
return i.value.find(({
|
|
3188
3218
|
slug: f,
|
|
3189
3219
|
metadata: {
|
|
3190
|
-
site:
|
|
3191
|
-
active:
|
|
3220
|
+
site: y,
|
|
3221
|
+
active: v
|
|
3192
3222
|
}
|
|
3193
|
-
}) => !
|
|
3223
|
+
}) => !v || a.one.banners.read.includes(f) ? !1 : y.includes("dev") && !1 || y.includes("*") ? !0 : y.some((C) => t.id.includes(C)));
|
|
3194
3224
|
}
|
|
3195
3225
|
}), l = b(() => i.value.find(({
|
|
3196
3226
|
metadata: {
|
|
3197
3227
|
site: f,
|
|
3198
|
-
active:
|
|
3228
|
+
active: y
|
|
3199
3229
|
}
|
|
3200
|
-
}) =>
|
|
3230
|
+
}) => y ? f.includes("server") : !1));
|
|
3201
3231
|
async function d() {
|
|
3202
3232
|
try {
|
|
3203
3233
|
u.value = !0;
|
|
@@ -3218,7 +3248,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3218
3248
|
index: d
|
|
3219
3249
|
};
|
|
3220
3250
|
}), Ee = q("notifications", () => {
|
|
3221
|
-
const p = Y(), t = T(), a = ee(), o =
|
|
3251
|
+
const p = Y(), t = T(), a = ee(), o = F([]), i = M(!1), u = b(() => o.value.filter((d) => !t.one.notifications.read.includes(d.slug))), r = b(() => o.value.filter((d) => t.one.notifications.read.includes(d.slug)));
|
|
3222
3252
|
async function l() {
|
|
3223
3253
|
try {
|
|
3224
3254
|
i.value = !0;
|
|
@@ -3238,7 +3268,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3238
3268
|
unread: u,
|
|
3239
3269
|
index: l
|
|
3240
3270
|
};
|
|
3241
|
-
}),
|
|
3271
|
+
}), Es = { class: "text-caption" }, Fs = { class: "text-caption" }, Zs = /* @__PURE__ */ _({
|
|
3242
3272
|
__name: "VoNotificationsDialog",
|
|
3243
3273
|
props: {
|
|
3244
3274
|
modelValue: { type: Boolean },
|
|
@@ -3246,12 +3276,12 @@ const at = /* @__PURE__ */ _({
|
|
|
3246
3276
|
},
|
|
3247
3277
|
emits: ["update:modelValue"],
|
|
3248
3278
|
setup(p) {
|
|
3249
|
-
const t =
|
|
3279
|
+
const t = ie(), a = Ce(), o = Oe(), i = Ee(), u = B(), r = T(), l = M(["read"]), d = W(p, "modelValue");
|
|
3250
3280
|
function f() {
|
|
3251
|
-
const
|
|
3252
|
-
r.one.notifications.read.push(...
|
|
3281
|
+
const v = i.unread.map((C) => C.slug);
|
|
3282
|
+
r.one.notifications.read.push(...v);
|
|
3253
3283
|
}
|
|
3254
|
-
function
|
|
3284
|
+
function y() {
|
|
3255
3285
|
r.one.notifications.read = [];
|
|
3256
3286
|
}
|
|
3257
3287
|
return H(a, async () => {
|
|
@@ -3260,12 +3290,12 @@ const at = /* @__PURE__ */ _({
|
|
|
3260
3290
|
return;
|
|
3261
3291
|
}
|
|
3262
3292
|
u.isOpen = !0, await be(), d.value = !0;
|
|
3263
|
-
}, { immediate: !0 }), (
|
|
3264
|
-
const $ =
|
|
3293
|
+
}, { immediate: !0 }), (v, C) => {
|
|
3294
|
+
const $ = G, L = Os, U = Ds, Q = de;
|
|
3265
3295
|
return c(), m(Q, {
|
|
3266
3296
|
modelValue: d.value,
|
|
3267
|
-
"onUpdate:modelValue":
|
|
3268
|
-
"prepend-icon": `svg:${e(
|
|
3297
|
+
"onUpdate:modelValue": C[2] || (C[2] = (x) => d.value = x),
|
|
3298
|
+
"prepend-icon": `svg:${e(To)}`,
|
|
3269
3299
|
title: "Notifications"
|
|
3270
3300
|
}, {
|
|
3271
3301
|
append: s(() => [
|
|
@@ -3286,10 +3316,10 @@ const at = /* @__PURE__ */ _({
|
|
|
3286
3316
|
class: "me-2",
|
|
3287
3317
|
density: "comfortable",
|
|
3288
3318
|
disabled: e(i).read.length === 0,
|
|
3289
|
-
icon: `svg:${e(
|
|
3319
|
+
icon: `svg:${e(Ge)}`,
|
|
3290
3320
|
size: "small",
|
|
3291
3321
|
variant: "text",
|
|
3292
|
-
onClick:
|
|
3322
|
+
onClick: y
|
|
3293
3323
|
}, null, 8, ["disabled", "icon"])), [
|
|
3294
3324
|
[X, "Mark All as Unread", "start"]
|
|
3295
3325
|
]) : h("", !0)
|
|
@@ -3297,7 +3327,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3297
3327
|
default: s(() => [
|
|
3298
3328
|
n(ue, null, {
|
|
3299
3329
|
default: s(() => [
|
|
3300
|
-
n(
|
|
3330
|
+
n(ln, {
|
|
3301
3331
|
location: e(t).mobile.value ? "top" : "start",
|
|
3302
3332
|
permanent: "",
|
|
3303
3333
|
width: e(t).mobile.value ? 128 : 168
|
|
@@ -3305,7 +3335,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3305
3335
|
default: s(() => [
|
|
3306
3336
|
n(ne, {
|
|
3307
3337
|
selected: e(l),
|
|
3308
|
-
"onUpdate:selected":
|
|
3338
|
+
"onUpdate:selected": C[0] || (C[0] = (x) => j(l) ? l.value = x : null),
|
|
3309
3339
|
class: "px-4 pt-4",
|
|
3310
3340
|
density: "compact",
|
|
3311
3341
|
mandatory: "",
|
|
@@ -3313,34 +3343,34 @@ const at = /* @__PURE__ */ _({
|
|
|
3313
3343
|
}, {
|
|
3314
3344
|
default: s(() => [
|
|
3315
3345
|
n($, {
|
|
3316
|
-
"prepend-icon": `svg:${e(
|
|
3346
|
+
"prepend-icon": `svg:${e(Uo)}`,
|
|
3317
3347
|
title: "Unread",
|
|
3318
3348
|
value: "read"
|
|
3319
|
-
},
|
|
3349
|
+
}, P({ _: 2 }, [
|
|
3320
3350
|
e(i).unread.length > 0 ? {
|
|
3321
3351
|
name: "append",
|
|
3322
3352
|
fn: s(() => [
|
|
3323
|
-
g("span",
|
|
3353
|
+
g("span", Es, V(e(i).unread.length), 1)
|
|
3324
3354
|
]),
|
|
3325
3355
|
key: "0"
|
|
3326
3356
|
} : void 0
|
|
3327
3357
|
]), 1032, ["prepend-icon"]),
|
|
3328
3358
|
n($, {
|
|
3329
|
-
"prepend-icon": `svg:${e(
|
|
3359
|
+
"prepend-icon": `svg:${e(Po)}`,
|
|
3330
3360
|
title: "Read",
|
|
3331
3361
|
value: "unread"
|
|
3332
|
-
},
|
|
3362
|
+
}, P({ _: 2 }, [
|
|
3333
3363
|
e(i).read.length > 0 ? {
|
|
3334
3364
|
name: "append",
|
|
3335
3365
|
fn: s(() => [
|
|
3336
|
-
g("span",
|
|
3366
|
+
g("span", Fs, V(e(i).read.length), 1)
|
|
3337
3367
|
]),
|
|
3338
3368
|
key: "0"
|
|
3339
3369
|
} : void 0
|
|
3340
3370
|
]), 1032, ["prepend-icon"]),
|
|
3341
3371
|
e(o).all.length > 0 && e(r).one.banners.enabled ? (c(), m($, {
|
|
3342
3372
|
key: 0,
|
|
3343
|
-
"prepend-icon": `svg:${e(
|
|
3373
|
+
"prepend-icon": `svg:${e(zo)}`,
|
|
3344
3374
|
title: "Banners",
|
|
3345
3375
|
value: "banners"
|
|
3346
3376
|
}, {
|
|
@@ -3362,7 +3392,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3362
3392
|
default: s(() => [
|
|
3363
3393
|
n(Vt, {
|
|
3364
3394
|
modelValue: e(l),
|
|
3365
|
-
"onUpdate:modelValue":
|
|
3395
|
+
"onUpdate:modelValue": C[1] || (C[1] = (x) => j(l) ? l.value = x : null)
|
|
3366
3396
|
}, {
|
|
3367
3397
|
default: s(() => [
|
|
3368
3398
|
n(ye, { value: "read" }, {
|
|
@@ -3403,7 +3433,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3403
3433
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
3404
3434
|
};
|
|
3405
3435
|
}
|
|
3406
|
-
}),
|
|
3436
|
+
}), Ns = /* @__PURE__ */ _({
|
|
3407
3437
|
__name: "VoNotificationsBadge",
|
|
3408
3438
|
setup(p) {
|
|
3409
3439
|
const t = Ee(), a = T();
|
|
@@ -3418,26 +3448,26 @@ const at = /* @__PURE__ */ _({
|
|
|
3418
3448
|
_: 3
|
|
3419
3449
|
}, 8, ["content", "model-value"]));
|
|
3420
3450
|
}
|
|
3421
|
-
}),
|
|
3451
|
+
}), Hs = /* @__PURE__ */ _({
|
|
3422
3452
|
__name: "VoNotificationsNavItem",
|
|
3423
3453
|
setup(p) {
|
|
3424
|
-
const t =
|
|
3454
|
+
const t = Oe(), a = T(), o = Ee(), i = M(!1);
|
|
3425
3455
|
return He(async () => {
|
|
3426
3456
|
o.index(), t.index();
|
|
3427
3457
|
}), (u, r) => {
|
|
3428
|
-
const l =
|
|
3458
|
+
const l = Ns, d = Zs, f = G;
|
|
3429
3459
|
return e(a).one.notifications.enabled ? (c(), m(f, {
|
|
3430
3460
|
key: 0,
|
|
3431
3461
|
active: e(i),
|
|
3432
3462
|
link: "",
|
|
3433
|
-
"prepend-icon": `svg:${e(
|
|
3463
|
+
"prepend-icon": `svg:${e(Bo)}`,
|
|
3434
3464
|
rounded: "lg",
|
|
3435
3465
|
title: "Notifications"
|
|
3436
|
-
},
|
|
3466
|
+
}, P({
|
|
3437
3467
|
default: s(() => [
|
|
3438
3468
|
n(d, {
|
|
3439
3469
|
modelValue: e(i),
|
|
3440
|
-
"onUpdate:modelValue": r[0] || (r[0] = (
|
|
3470
|
+
"onUpdate:modelValue": r[0] || (r[0] = (y) => j(i) ? i.value = y : null)
|
|
3441
3471
|
}, null, 8, ["modelValue"])
|
|
3442
3472
|
]),
|
|
3443
3473
|
_: 2
|
|
@@ -3457,17 +3487,17 @@ const at = /* @__PURE__ */ _({
|
|
|
3457
3487
|
]), 1032, ["active", "prepend-icon"])) : h("", !0);
|
|
3458
3488
|
};
|
|
3459
3489
|
}
|
|
3460
|
-
}),
|
|
3490
|
+
}), js = /* @__PURE__ */ _({
|
|
3461
3491
|
__name: "VoDashboardNavItem",
|
|
3462
3492
|
setup(p) {
|
|
3463
|
-
const t =
|
|
3493
|
+
const t = B();
|
|
3464
3494
|
function a() {
|
|
3465
3495
|
setTimeout(() => {
|
|
3466
3496
|
t.isOpen = !1;
|
|
3467
3497
|
}, 100);
|
|
3468
3498
|
}
|
|
3469
3499
|
return (o, i) => {
|
|
3470
|
-
const u =
|
|
3500
|
+
const u = G;
|
|
3471
3501
|
return c(), m(u, {
|
|
3472
3502
|
"prepend-icon": `svg:${e(Oo)}`,
|
|
3473
3503
|
rounded: "lg",
|
|
@@ -3477,12 +3507,12 @@ const at = /* @__PURE__ */ _({
|
|
|
3477
3507
|
}, null, 8, ["prepend-icon"]);
|
|
3478
3508
|
};
|
|
3479
3509
|
}
|
|
3480
|
-
}),
|
|
3510
|
+
}), Rs = /* @__PURE__ */ _({
|
|
3481
3511
|
__name: "VoUserList",
|
|
3482
3512
|
setup(p) {
|
|
3483
|
-
const t =
|
|
3513
|
+
const t = E(), a = B(), o = De();
|
|
3484
3514
|
return (i, u) => {
|
|
3485
|
-
const r =
|
|
3515
|
+
const r = js, l = Hs, d = xs, f = $s, y = hs, v = vs, C = as, $ = Fn, L = In, U = kn;
|
|
3486
3516
|
return c(), m(ne, {
|
|
3487
3517
|
density: "compact",
|
|
3488
3518
|
nav: "",
|
|
@@ -3493,9 +3523,9 @@ const at = /* @__PURE__ */ _({
|
|
|
3493
3523
|
n(l),
|
|
3494
3524
|
n(d),
|
|
3495
3525
|
e(o).hasTeamAccess ? (c(), m(f, { key: 1 })) : h("", !0),
|
|
3496
|
-
e(a).shopify ? (c(), m(
|
|
3497
|
-
n(
|
|
3498
|
-
e(t).user ? (c(), m(
|
|
3526
|
+
e(a).shopify ? (c(), m(y, { key: 2 })) : h("", !0),
|
|
3527
|
+
n(v),
|
|
3528
|
+
e(t).user ? (c(), m(C, { key: 3 })) : h("", !0),
|
|
3499
3529
|
e(a).isSubscriber ? (c(), m($, { key: 4 })) : h("", !0),
|
|
3500
3530
|
n(L),
|
|
3501
3531
|
e(t).user ? (c(), m(U, { key: 5 })) : h("", !0)
|
|
@@ -3504,10 +3534,10 @@ const at = /* @__PURE__ */ _({
|
|
|
3504
3534
|
});
|
|
3505
3535
|
};
|
|
3506
3536
|
}
|
|
3507
|
-
}),
|
|
3537
|
+
}), qs = { class: "mb-2" }, Gs = { key: 0 }, Ws = { class: "d-flex ga-4 flex-wrap justify-center mb-4" }, Ks = { class: "text-h6" }, Ys = /* @__PURE__ */ _({
|
|
3508
3538
|
__name: "VoUserAvatar",
|
|
3509
3539
|
setup(p) {
|
|
3510
|
-
const t =
|
|
3540
|
+
const t = E(), a = B(), o = T(), i = M(!1), u = b(() => {
|
|
3511
3541
|
const d = [
|
|
3512
3542
|
"https://cdn.vuetifyjs.com/docs/images/avatars/dark.png",
|
|
3513
3543
|
"https://cdn.vuetifyjs.com/docs/images/avatars/blackguard.png",
|
|
@@ -3532,9 +3562,9 @@ const at = /* @__PURE__ */ _({
|
|
|
3532
3562
|
function l() {
|
|
3533
3563
|
a.isSubscriber && (i.value = !i.value);
|
|
3534
3564
|
}
|
|
3535
|
-
return (d, f) => (c(),
|
|
3565
|
+
return (d, f) => (c(), k("div", null, [
|
|
3536
3566
|
Z((c(), m(oe, {
|
|
3537
|
-
class:
|
|
3567
|
+
class: Ht([
|
|
3538
3568
|
"border-md border-opacity-100 border-surface-light",
|
|
3539
3569
|
{
|
|
3540
3570
|
"cursor-pointer": e(a).isSubscriber
|
|
@@ -3559,30 +3589,30 @@ const at = /* @__PURE__ */ _({
|
|
|
3559
3589
|
]),
|
|
3560
3590
|
_: 1
|
|
3561
3591
|
}, 8, ["class"])), [
|
|
3562
|
-
[
|
|
3592
|
+
[Jo, e(a).isSubscriber]
|
|
3563
3593
|
]),
|
|
3564
|
-
g("div",
|
|
3594
|
+
g("div", qs, [
|
|
3565
3595
|
n(Le, null, {
|
|
3566
3596
|
default: s(() => [
|
|
3567
|
-
e(i) ? (c(),
|
|
3568
|
-
n(
|
|
3597
|
+
e(i) ? (c(), k("div", Gs, [
|
|
3598
|
+
n(z, {
|
|
3569
3599
|
class: "pt-6 pb-1",
|
|
3570
3600
|
flat: "",
|
|
3571
3601
|
rounded: "0"
|
|
3572
3602
|
}, {
|
|
3573
3603
|
default: s(() => [
|
|
3574
|
-
g("div",
|
|
3575
|
-
(c(!0),
|
|
3576
|
-
key:
|
|
3577
|
-
active: e(o).one.avatar ===
|
|
3604
|
+
g("div", Ws, [
|
|
3605
|
+
(c(!0), k(D, null, K(e(u), (y, v) => (c(), m(A, {
|
|
3606
|
+
key: v,
|
|
3607
|
+
active: e(o).one.avatar === y,
|
|
3578
3608
|
icon: "",
|
|
3579
3609
|
variant: "flat",
|
|
3580
|
-
onClick: (
|
|
3610
|
+
onClick: (C) => r(y)
|
|
3581
3611
|
}, {
|
|
3582
3612
|
default: s(() => [
|
|
3583
3613
|
n(oe, {
|
|
3584
3614
|
eager: "",
|
|
3585
|
-
image:
|
|
3615
|
+
image: y
|
|
3586
3616
|
}, null, 8, ["image"])
|
|
3587
3617
|
]),
|
|
3588
3618
|
_: 2
|
|
@@ -3596,13 +3626,13 @@ const at = /* @__PURE__ */ _({
|
|
|
3596
3626
|
_: 1
|
|
3597
3627
|
})
|
|
3598
3628
|
]),
|
|
3599
|
-
g("div",
|
|
3629
|
+
g("div", Ks, V(e(t).user?.name ?? "Guest"), 1)
|
|
3600
3630
|
]));
|
|
3601
3631
|
}
|
|
3602
|
-
}),
|
|
3632
|
+
}), Qs = ["href"], Xs = /* @__PURE__ */ _({
|
|
3603
3633
|
__name: "VoUserPinnedEcosystem",
|
|
3604
3634
|
setup(p) {
|
|
3605
|
-
const t = T(), { pinned: a } =
|
|
3635
|
+
const t = T(), { pinned: a } = Ut();
|
|
3606
3636
|
return (o, i) => e(t).one.quicklinks && e(a).length > 0 ? (c(), m($e, {
|
|
3607
3637
|
key: 0,
|
|
3608
3638
|
class: "align-center position-absolute d-flex ga-2 pa-2 me-2",
|
|
@@ -3611,11 +3641,11 @@ const at = /* @__PURE__ */ _({
|
|
|
3611
3641
|
style: { right: "0", top: "8px" }
|
|
3612
3642
|
}, {
|
|
3613
3643
|
default: s(() => [
|
|
3614
|
-
(c(!0),
|
|
3644
|
+
(c(!0), k(D, null, K(e(a), (u) => (c(), m(ve, {
|
|
3615
3645
|
key: u.id
|
|
3616
3646
|
}, {
|
|
3617
3647
|
default: s(({ isHovering: r, props: l }) => [
|
|
3618
|
-
Z((c(),
|
|
3648
|
+
Z((c(), k("a", R({
|
|
3619
3649
|
class: "d-inline-flex",
|
|
3620
3650
|
href: u.href,
|
|
3621
3651
|
target: "_blank"
|
|
@@ -3625,7 +3655,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3625
3655
|
icon: u.icon,
|
|
3626
3656
|
size: "16"
|
|
3627
3657
|
}, null, 8, ["color", "icon"])
|
|
3628
|
-
], 16,
|
|
3658
|
+
], 16, Qs)), [
|
|
3629
3659
|
[X, u.name, "start"]
|
|
3630
3660
|
])
|
|
3631
3661
|
]),
|
|
@@ -3635,10 +3665,10 @@ const at = /* @__PURE__ */ _({
|
|
|
3635
3665
|
_: 1
|
|
3636
3666
|
})) : h("", !0);
|
|
3637
3667
|
}
|
|
3638
|
-
}),
|
|
3668
|
+
}), Js = /* @__PURE__ */ _({
|
|
3639
3669
|
__name: "VoUserBadges",
|
|
3640
3670
|
setup(p) {
|
|
3641
|
-
const t =
|
|
3671
|
+
const t = E(), a = B(), o = b(() => a.github || a.discord || a.isSubscriber || t.user?.isAdmin);
|
|
3642
3672
|
return (i, u) => e(o) ? (c(), m($e, {
|
|
3643
3673
|
key: 0,
|
|
3644
3674
|
class: "align-center position-absolute ms-2 d-flex ga-2 pa-2",
|
|
@@ -3658,7 +3688,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3658
3688
|
e(a).isSubscriber ? Z((c(), m(I, {
|
|
3659
3689
|
key: 1,
|
|
3660
3690
|
color: "amber-darken-2",
|
|
3661
|
-
icon: `svg:${e(
|
|
3691
|
+
icon: `svg:${e(Eo)}`,
|
|
3662
3692
|
size: "16"
|
|
3663
3693
|
}, null, 8, ["icon"])), [
|
|
3664
3694
|
[X, "Vuetify One Subscriber", "bottom"]
|
|
@@ -3683,19 +3713,19 @@ const at = /* @__PURE__ */ _({
|
|
|
3683
3713
|
_: 1
|
|
3684
3714
|
})) : h("", !0);
|
|
3685
3715
|
}
|
|
3686
|
-
}),
|
|
3716
|
+
}), ea = { class: "d-flex flex-grow-1 justify-end fill-height align-start" }, ta = {
|
|
3687
3717
|
key: "reset",
|
|
3688
3718
|
class: "align-self-end"
|
|
3689
|
-
},
|
|
3719
|
+
}, oa = /* @__PURE__ */ _({
|
|
3690
3720
|
__name: "VoUserColors",
|
|
3691
3721
|
setup(p) {
|
|
3692
|
-
const t =
|
|
3722
|
+
const t = E(), a = B(), o = T(), i = M(!1);
|
|
3693
3723
|
function u() {
|
|
3694
3724
|
o.one.colors.primary = "surface-light";
|
|
3695
3725
|
}
|
|
3696
3726
|
return (r, l) => {
|
|
3697
|
-
const d =
|
|
3698
|
-
return c(),
|
|
3727
|
+
const d = Js, f = Xs, y = we;
|
|
3728
|
+
return c(), k(D, null, [
|
|
3699
3729
|
n(se, {
|
|
3700
3730
|
color: e(t).user ? e(o).one.colors.primary : "surface-light",
|
|
3701
3731
|
"content-class": "d-flex align-start justify-end pa-2",
|
|
@@ -3705,18 +3735,18 @@ const at = /* @__PURE__ */ _({
|
|
|
3705
3735
|
rounded: "0"
|
|
3706
3736
|
}, {
|
|
3707
3737
|
default: s(() => [
|
|
3708
|
-
g("div",
|
|
3738
|
+
g("div", ea, [
|
|
3709
3739
|
n(d),
|
|
3710
3740
|
n(f),
|
|
3711
|
-
n(
|
|
3741
|
+
n(Ko, null, {
|
|
3712
3742
|
default: s(() => [
|
|
3713
|
-
Z(g("div",
|
|
3714
|
-
n(
|
|
3743
|
+
Z(g("div", ta, [
|
|
3744
|
+
n(y, {
|
|
3715
3745
|
class: "ms-2 me-1",
|
|
3716
3746
|
color: "inherit",
|
|
3717
3747
|
density: "comfortable",
|
|
3718
3748
|
disabled: e(o).one.colors.primary === "surface-light",
|
|
3719
|
-
icon: `svg:${e(
|
|
3749
|
+
icon: `svg:${e(Fo)}`,
|
|
3720
3750
|
title: "Revert to Default",
|
|
3721
3751
|
variant: "text",
|
|
3722
3752
|
onClick: u
|
|
@@ -3727,7 +3757,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3727
3757
|
]),
|
|
3728
3758
|
_: 1
|
|
3729
3759
|
}),
|
|
3730
|
-
e(a).isSubscriber ? (c(), m(
|
|
3760
|
+
e(a).isSubscriber ? (c(), m(y, {
|
|
3731
3761
|
key: 0,
|
|
3732
3762
|
active: e(i),
|
|
3733
3763
|
class: "align-self-end",
|
|
@@ -3736,7 +3766,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3736
3766
|
icon: e(i) ? `svg:${e(ke)}` : "$edit",
|
|
3737
3767
|
title: "Edit One Header Color",
|
|
3738
3768
|
variant: e(i) ? "text" : "plain",
|
|
3739
|
-
onClick: l[0] || (l[0] = (
|
|
3769
|
+
onClick: l[0] || (l[0] = (v) => i.value = !e(i))
|
|
3740
3770
|
}, {
|
|
3741
3771
|
default: s(() => [
|
|
3742
3772
|
n(xe, { "leave-absolute": "" }, {
|
|
@@ -3756,7 +3786,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3756
3786
|
}, 8, ["color"]),
|
|
3757
3787
|
n(Le, null, {
|
|
3758
3788
|
default: s(() => [
|
|
3759
|
-
e(i) ? (c(), m(
|
|
3789
|
+
e(i) ? (c(), m(un, {
|
|
3760
3790
|
key: 0,
|
|
3761
3791
|
elevation: "0",
|
|
3762
3792
|
height: "250",
|
|
@@ -3768,7 +3798,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3768
3798
|
"show-swatches": "",
|
|
3769
3799
|
"swatches-max-height": "200",
|
|
3770
3800
|
width: "278",
|
|
3771
|
-
"onUpdate:modelValue": l[1] || (l[1] = (
|
|
3801
|
+
"onUpdate:modelValue": l[1] || (l[1] = (v) => e(o).one.colors.primary = v)
|
|
3772
3802
|
}, null, 8, ["model-value"])) : h("", !0)
|
|
3773
3803
|
]),
|
|
3774
3804
|
_: 1
|
|
@@ -3776,19 +3806,19 @@ const at = /* @__PURE__ */ _({
|
|
|
3776
3806
|
], 64);
|
|
3777
3807
|
};
|
|
3778
3808
|
}
|
|
3779
|
-
}),
|
|
3809
|
+
}), na = { class: "text-center mt-n9 mb-4" }, sa = /* @__PURE__ */ _({
|
|
3780
3810
|
__name: "VoUserMenu",
|
|
3781
3811
|
setup(p) {
|
|
3782
|
-
const t =
|
|
3812
|
+
const t = Oe(), a = B(), o = F();
|
|
3783
3813
|
return H(() => t.banner, async () => {
|
|
3784
3814
|
await new Promise((i) => setTimeout(i, 300)), a.isOpen && o.value?.updateLocation?.();
|
|
3785
3815
|
}, { flush: "pre" }), (i, u) => {
|
|
3786
|
-
const r =
|
|
3816
|
+
const r = oa, l = Ys, d = Rs, f = At;
|
|
3787
3817
|
return c(), m(Ue, {
|
|
3788
3818
|
ref_key: "menu",
|
|
3789
3819
|
ref: o,
|
|
3790
3820
|
modelValue: e(a).isOpen,
|
|
3791
|
-
"onUpdate:modelValue": u[0] || (u[0] = (
|
|
3821
|
+
"onUpdate:modelValue": u[0] || (u[0] = (y) => e(a).isOpen = y),
|
|
3792
3822
|
activator: "parent",
|
|
3793
3823
|
"close-on-click": !1,
|
|
3794
3824
|
"close-on-content-click": !1,
|
|
@@ -3796,14 +3826,14 @@ const at = /* @__PURE__ */ _({
|
|
|
3796
3826
|
location: "bottom end"
|
|
3797
3827
|
}, {
|
|
3798
3828
|
default: s(() => [
|
|
3799
|
-
n(
|
|
3829
|
+
n(z, {
|
|
3800
3830
|
border: "",
|
|
3801
3831
|
rounded: "lg",
|
|
3802
3832
|
width: "280"
|
|
3803
3833
|
}, {
|
|
3804
3834
|
default: s(() => [
|
|
3805
3835
|
n(r),
|
|
3806
|
-
g("div",
|
|
3836
|
+
g("div", na, [
|
|
3807
3837
|
n(l)
|
|
3808
3838
|
]),
|
|
3809
3839
|
n(N),
|
|
@@ -3818,7 +3848,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3818
3848
|
}, 8, ["modelValue"]);
|
|
3819
3849
|
};
|
|
3820
3850
|
}
|
|
3821
|
-
}),
|
|
3851
|
+
}), aa = { class: "me-n3" }, ia = /* @__PURE__ */ _({
|
|
3822
3852
|
__name: "VoTeamInvite",
|
|
3823
3853
|
setup(p) {
|
|
3824
3854
|
const t = De(), a = b(() => t.team?.name ?? `${t.team?.owner.name}'s team`);
|
|
@@ -3832,13 +3862,13 @@ const at = /* @__PURE__ */ _({
|
|
|
3832
3862
|
"max-width": "500"
|
|
3833
3863
|
}, {
|
|
3834
3864
|
default: s(({ isActive: r }) => [
|
|
3835
|
-
n(
|
|
3836
|
-
"prepend-icon": `svg:${e(
|
|
3865
|
+
n(z, {
|
|
3866
|
+
"prepend-icon": `svg:${e(Zo)}`,
|
|
3837
3867
|
rounded: "lg",
|
|
3838
3868
|
title: "Join a Team"
|
|
3839
3869
|
}, {
|
|
3840
3870
|
append: s(() => [
|
|
3841
|
-
g("div",
|
|
3871
|
+
g("div", aa, [
|
|
3842
3872
|
n(A, {
|
|
3843
3873
|
icon: "$close",
|
|
3844
3874
|
size: "x-small",
|
|
@@ -3883,24 +3913,24 @@ const at = /* @__PURE__ */ _({
|
|
|
3883
3913
|
_: 1
|
|
3884
3914
|
}, 8, ["modelValue"])) : h("", !0);
|
|
3885
3915
|
}
|
|
3886
|
-
}),
|
|
3916
|
+
}), ra = { key: 0 }, zt = /* @__PURE__ */ _({
|
|
3887
3917
|
__name: "VoAuthBtn",
|
|
3888
3918
|
props: {
|
|
3889
3919
|
external: Boolean
|
|
3890
3920
|
},
|
|
3891
3921
|
setup(p) {
|
|
3892
|
-
const t =
|
|
3893
|
-
function
|
|
3922
|
+
const t = E(), a = Ee(), o = B(), i = T(), { lgAndUp: u, smAndUp: r } = ie(), 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), y = ge(() => !!t.user && (d.value || f.value)), v = ge(() => f.value ? "success" : "error");
|
|
3923
|
+
function C() {
|
|
3894
3924
|
t.user || (t.dialog = !0);
|
|
3895
3925
|
}
|
|
3896
3926
|
return ($, L) => {
|
|
3897
|
-
const U =
|
|
3898
|
-
return c(),
|
|
3927
|
+
const U = sa, Q = we, x = Dt, pe = mn;
|
|
3928
|
+
return c(), k(D, null, [
|
|
3899
3929
|
n(Ye, {
|
|
3900
|
-
color: e(
|
|
3930
|
+
color: e(v),
|
|
3901
3931
|
dot: "",
|
|
3902
3932
|
location: "end top",
|
|
3903
|
-
"model-value": e(
|
|
3933
|
+
"model-value": e(y),
|
|
3904
3934
|
"offset-x": e(t).user ? -2 : 0,
|
|
3905
3935
|
"offset-y": e(t).user ? 5 : 0
|
|
3906
3936
|
}, {
|
|
@@ -3917,14 +3947,14 @@ const at = /* @__PURE__ */ _({
|
|
|
3917
3947
|
size: e(r) ? "default" : "small",
|
|
3918
3948
|
style: { transition: ".2s ease" },
|
|
3919
3949
|
variant: e(t).user ? e(o).isOpen ? "outlined" : "text" : "flat",
|
|
3920
|
-
onClick:
|
|
3950
|
+
onClick: C
|
|
3921
3951
|
}), {
|
|
3922
3952
|
default: s(() => [
|
|
3923
3953
|
e(t).user ? (c(), m(oe, {
|
|
3924
3954
|
key: 0,
|
|
3925
3955
|
image: e(i).one.avatar || e(t).user.picture || ""
|
|
3926
|
-
}, null, 8, ["image"])) : (c(),
|
|
3927
|
-
e(r) ? (c(),
|
|
3956
|
+
}, null, 8, ["image"])) : (c(), k(D, { key: 1 }, [
|
|
3957
|
+
e(r) ? (c(), k("span", ra, "Login")) : (c(), m(I, {
|
|
3928
3958
|
key: 1,
|
|
3929
3959
|
icon: `svg:${e(nt)}`
|
|
3930
3960
|
}, null, 8, ["icon"]))
|
|
@@ -3937,18 +3967,18 @@ const at = /* @__PURE__ */ _({
|
|
|
3937
3967
|
_: 1
|
|
3938
3968
|
}, 8, ["color", "model-value", "offset-x", "offset-y"]),
|
|
3939
3969
|
n(x),
|
|
3940
|
-
n(
|
|
3970
|
+
n(ia),
|
|
3941
3971
|
n(pe)
|
|
3942
3972
|
], 64);
|
|
3943
3973
|
};
|
|
3944
3974
|
}
|
|
3945
|
-
}),
|
|
3975
|
+
}), la = {
|
|
3946
3976
|
key: 0,
|
|
3947
3977
|
class: "mb-3"
|
|
3948
|
-
},
|
|
3978
|
+
}, ua = { class: "text-h6 mb-3" }, ca = {
|
|
3949
3979
|
key: 3,
|
|
3950
3980
|
class: "mt-2"
|
|
3951
|
-
},
|
|
3981
|
+
}, da = { class: "mt-2" }, pa = /* @__PURE__ */ _({
|
|
3952
3982
|
__name: "VoMobileMenu",
|
|
3953
3983
|
props: {
|
|
3954
3984
|
modelValue: { type: Boolean },
|
|
@@ -3956,7 +3986,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3956
3986
|
},
|
|
3957
3987
|
emits: ["update:modelValue"],
|
|
3958
3988
|
setup(p) {
|
|
3959
|
-
const t =
|
|
3989
|
+
const t = W(p, "modelValue"), a = ut();
|
|
3960
3990
|
return (o, i) => (c(), m(Ue, {
|
|
3961
3991
|
modelValue: t.value,
|
|
3962
3992
|
"onUpdate:modelValue": i[0] || (i[0] = (u) => t.value = u),
|
|
@@ -3967,36 +3997,36 @@ const at = /* @__PURE__ */ _({
|
|
|
3967
3997
|
activator: s(({ props: u }) => [
|
|
3968
3998
|
w(o.$slots, "activator", ct(dt(u)), () => [
|
|
3969
3999
|
n(A, R(u, {
|
|
3970
|
-
icon: `svg:${e(
|
|
4000
|
+
icon: `svg:${e(No)}`,
|
|
3971
4001
|
size: "small"
|
|
3972
4002
|
}), null, 16, ["icon"])
|
|
3973
4003
|
])
|
|
3974
4004
|
]),
|
|
3975
4005
|
default: s(() => [
|
|
3976
|
-
n(
|
|
4006
|
+
n(z, {
|
|
3977
4007
|
class: "pa-4",
|
|
3978
4008
|
rounded: "lg"
|
|
3979
4009
|
}, {
|
|
3980
4010
|
default: s(() => [
|
|
3981
|
-
a.prepend ? (c(),
|
|
4011
|
+
a.prepend ? (c(), k("div", la, [
|
|
3982
4012
|
w(o.$slots, "prepend")
|
|
3983
4013
|
])) : h("", !0),
|
|
3984
|
-
a.title ? (c(),
|
|
4014
|
+
a.title ? (c(), k(D, { key: 1 }, [
|
|
3985
4015
|
a.prepend ? (c(), m(N, {
|
|
3986
4016
|
key: 0,
|
|
3987
4017
|
class: "mb-3"
|
|
3988
4018
|
})) : h("", !0),
|
|
3989
|
-
g("div",
|
|
4019
|
+
g("div", ua, [
|
|
3990
4020
|
w(o.$slots, "title")
|
|
3991
4021
|
])
|
|
3992
4022
|
], 64)) : h("", !0),
|
|
3993
4023
|
a.default ? w(o.$slots, "default", { key: 2 }) : h("", !0),
|
|
3994
|
-
a.extension ? (c(),
|
|
4024
|
+
a.extension ? (c(), k("div", ca, [
|
|
3995
4025
|
w(o.$slots, "extension")
|
|
3996
4026
|
])) : h("", !0),
|
|
3997
|
-
a.append ? (c(),
|
|
4027
|
+
a.append ? (c(), k(D, { key: 4 }, [
|
|
3998
4028
|
n(N, { class: "my-3" }),
|
|
3999
|
-
g("div",
|
|
4029
|
+
g("div", da, [
|
|
4000
4030
|
w(o.$slots, "append")
|
|
4001
4031
|
])
|
|
4002
4032
|
], 64)) : h("", !0)
|
|
@@ -4007,7 +4037,7 @@ const at = /* @__PURE__ */ _({
|
|
|
4007
4037
|
_: 3
|
|
4008
4038
|
}, 8, ["modelValue"]));
|
|
4009
4039
|
}
|
|
4010
|
-
}),
|
|
4040
|
+
}), ma = /* @__PURE__ */ _({
|
|
4011
4041
|
__name: "VoAppBar",
|
|
4012
4042
|
props: /* @__PURE__ */ rt({
|
|
4013
4043
|
logo: {},
|
|
@@ -4018,16 +4048,16 @@ const at = /* @__PURE__ */ _({
|
|
|
4018
4048
|
}),
|
|
4019
4049
|
emits: ["update:mobileMenu"],
|
|
4020
4050
|
setup(p) {
|
|
4021
|
-
const t = p, a =
|
|
4022
|
-
return (f,
|
|
4023
|
-
const
|
|
4051
|
+
const t = p, a = W(p, "mobileMenu"), o = ut(), i = Te(), u = Pe(), { mobile: r } = ie(), 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`);
|
|
4052
|
+
return (f, y) => {
|
|
4053
|
+
const v = lt("router-link"), C = pa, $ = zt;
|
|
4024
4054
|
return c(), m(xt, {
|
|
4025
4055
|
class: "border-b",
|
|
4026
4056
|
image: e(u).suit["app-bar"],
|
|
4027
4057
|
name: "vo-app-bar"
|
|
4028
|
-
},
|
|
4058
|
+
}, P({
|
|
4029
4059
|
prepend: s(() => [
|
|
4030
|
-
n(
|
|
4060
|
+
n(v, {
|
|
4031
4061
|
class: "ps-2 ps-md-5",
|
|
4032
4062
|
to: "/"
|
|
4033
4063
|
}, {
|
|
@@ -4044,11 +4074,11 @@ const at = /* @__PURE__ */ _({
|
|
|
4044
4074
|
]),
|
|
4045
4075
|
append: s(() => [
|
|
4046
4076
|
w(f.$slots, "append-fixed"),
|
|
4047
|
-
e(l) ? (c(), m(
|
|
4077
|
+
e(l) ? (c(), m(C, {
|
|
4048
4078
|
key: 0,
|
|
4049
4079
|
modelValue: a.value,
|
|
4050
|
-
"onUpdate:modelValue":
|
|
4051
|
-
},
|
|
4080
|
+
"onUpdate:modelValue": y[0] || (y[0] = (L) => a.value = L)
|
|
4081
|
+
}, P({
|
|
4052
4082
|
activator: s((L) => [
|
|
4053
4083
|
w(f.$slots, "menu-activator", ct(dt(L)))
|
|
4054
4084
|
]),
|
|
@@ -4068,7 +4098,7 @@ const at = /* @__PURE__ */ _({
|
|
|
4068
4098
|
vertical: ""
|
|
4069
4099
|
})) : h("", !0),
|
|
4070
4100
|
n($),
|
|
4071
|
-
|
|
4101
|
+
y[1] || (y[1] = g("div", { class: "pe-md-3" }, null, -1))
|
|
4072
4102
|
]),
|
|
4073
4103
|
default: s(() => [
|
|
4074
4104
|
e(l) ? h("", !0) : w(f.$slots, "default", { key: 0 })
|
|
@@ -4092,7 +4122,7 @@ const at = /* @__PURE__ */ _({
|
|
|
4092
4122
|
]), 1032, ["image"]);
|
|
4093
4123
|
};
|
|
4094
4124
|
}
|
|
4095
|
-
}),
|
|
4125
|
+
}), fa = ["id"], va = /* @__PURE__ */ _({
|
|
4096
4126
|
__name: "VoScript",
|
|
4097
4127
|
props: {
|
|
4098
4128
|
id: {
|
|
@@ -4110,35 +4140,35 @@ const at = /* @__PURE__ */ _({
|
|
|
4110
4140
|
},
|
|
4111
4141
|
emits: ["script:error", "script:load"],
|
|
4112
4142
|
setup(p, { emit: t }) {
|
|
4113
|
-
const a = p, o = t, i =
|
|
4143
|
+
const a = p, o = t, i = F(), u = F();
|
|
4114
4144
|
return je(async () => {
|
|
4115
4145
|
const r = document.createElement("script"), l = () => o("script:error");
|
|
4116
4146
|
r.type = "text/javascript", r.id = a.scriptId, r.src = a.src, r.addEventListener("load", () => o("script:load")), r.onerror = l, u.value = r;
|
|
4117
4147
|
}), He(() => {
|
|
4118
4148
|
u.value && i.value && i.value.append(u.value);
|
|
4119
|
-
}),
|
|
4149
|
+
}), jt(() => {
|
|
4120
4150
|
u.value && i.value && u.value.remove();
|
|
4121
|
-
}), (r, l) => (c(),
|
|
4151
|
+
}), (r, l) => (c(), k("div", {
|
|
4122
4152
|
id: p.id,
|
|
4123
4153
|
ref_key: "rootEl",
|
|
4124
4154
|
ref: i
|
|
4125
|
-
}, null, 8,
|
|
4155
|
+
}, null, 8, fa));
|
|
4126
4156
|
}
|
|
4127
|
-
}),
|
|
4157
|
+
}), ga = {
|
|
4128
4158
|
key: 0,
|
|
4129
4159
|
class: "v-footer__image"
|
|
4130
|
-
},
|
|
4160
|
+
}, ya = /* @__PURE__ */ _({
|
|
4131
4161
|
__name: "VoFooter",
|
|
4132
4162
|
props: {
|
|
4133
4163
|
image: {}
|
|
4134
4164
|
},
|
|
4135
4165
|
setup(p) {
|
|
4136
|
-
return (t, a) => (c(), m(
|
|
4166
|
+
return (t, a) => (c(), m(cn, {
|
|
4137
4167
|
class: "vo-footer",
|
|
4138
4168
|
height: "40"
|
|
4139
4169
|
}, {
|
|
4140
4170
|
default: s(() => [
|
|
4141
|
-
t.image || t.$slots.image ? (c(),
|
|
4171
|
+
t.image || t.$slots.image ? (c(), k("div", ga, [
|
|
4142
4172
|
t.$slots.image ? w(t.$slots, "image", { key: 0 }, void 0, !0) : (c(), m(se, {
|
|
4143
4173
|
key: 1,
|
|
4144
4174
|
cover: "",
|
|
@@ -4156,10 +4186,10 @@ const at = /* @__PURE__ */ _({
|
|
|
4156
4186
|
for (const [o, i] of t)
|
|
4157
4187
|
a[o] = i;
|
|
4158
4188
|
return a;
|
|
4159
|
-
},
|
|
4189
|
+
}, Bt = /* @__PURE__ */ Xe(ya, [["__scopeId", "data-v-31335c0a"]]), _a = ["href", "title"], ha = {
|
|
4160
4190
|
class: "text-caption text-disabled",
|
|
4161
4191
|
style: { position: "absolute", right: "16px" }
|
|
4162
|
-
},
|
|
4192
|
+
}, ba = /* @__PURE__ */ _({
|
|
4163
4193
|
__name: "VoSocialFooter",
|
|
4164
4194
|
setup(p) {
|
|
4165
4195
|
const t = Pe(), a = [
|
|
@@ -4170,7 +4200,7 @@ const at = /* @__PURE__ */ _({
|
|
|
4170
4200
|
},
|
|
4171
4201
|
{
|
|
4172
4202
|
title: "Vuetify Support",
|
|
4173
|
-
icon: `svg:${
|
|
4203
|
+
icon: `svg:${Ho}`,
|
|
4174
4204
|
href: "https://support.vuetifyjs.com/"
|
|
4175
4205
|
},
|
|
4176
4206
|
{
|
|
@@ -4195,14 +4225,14 @@ const at = /* @__PURE__ */ _({
|
|
|
4195
4225
|
}
|
|
4196
4226
|
];
|
|
4197
4227
|
return (o, i) => {
|
|
4198
|
-
const u =
|
|
4228
|
+
const u = Bt;
|
|
4199
4229
|
return c(), m(u, {
|
|
4200
4230
|
class: "vo-footer",
|
|
4201
4231
|
height: "40",
|
|
4202
4232
|
image: e(t).suit.footer
|
|
4203
|
-
},
|
|
4233
|
+
}, P({
|
|
4204
4234
|
default: s(() => [
|
|
4205
|
-
(c(),
|
|
4235
|
+
(c(), k(D, null, K(a, (r) => g("a", {
|
|
4206
4236
|
key: r.title,
|
|
4207
4237
|
class: "d-inline-block mx-2 social-link",
|
|
4208
4238
|
href: r.href,
|
|
@@ -4214,8 +4244,8 @@ const at = /* @__PURE__ */ _({
|
|
|
4214
4244
|
icon: r.icon,
|
|
4215
4245
|
size: r.icon === "$vuetify" ? 24 : 16
|
|
4216
4246
|
}, null, 8, ["icon", "size"])
|
|
4217
|
-
], 8,
|
|
4218
|
-
g("div",
|
|
4247
|
+
], 8, _a)), 64)),
|
|
4248
|
+
g("div", ha, [
|
|
4219
4249
|
S(" © 2016-" + V((/* @__PURE__ */ new Date()).getFullYear()) + " ", 1),
|
|
4220
4250
|
i[0] || (i[0] = g("span", { class: "d-none d-sm-inline-block" }, "Vuetify, LLC", -1))
|
|
4221
4251
|
])
|
|
@@ -4232,20 +4262,20 @@ const at = /* @__PURE__ */ _({
|
|
|
4232
4262
|
]), 1032, ["image"]);
|
|
4233
4263
|
};
|
|
4234
4264
|
}
|
|
4235
|
-
}),
|
|
4265
|
+
}), Ca = /* @__PURE__ */ Xe(ba, [["__scopeId", "data-v-7a9688b8"]]), ka = /* @__PURE__ */ _({
|
|
4236
4266
|
__name: "VoNotificationsBanner",
|
|
4237
4267
|
props: {
|
|
4238
4268
|
demo: { type: Boolean }
|
|
4239
4269
|
},
|
|
4240
4270
|
setup(p) {
|
|
4241
|
-
|
|
4271
|
+
Rt(($) => ({
|
|
4242
4272
|
"581d2818": e(r)?.metadata.bg_blur
|
|
4243
4273
|
}));
|
|
4244
|
-
const t = p, { mdAndUp: a } =
|
|
4274
|
+
const t = p, { mdAndUp: a } = ie(), o = dn(), i = T(), u = Oe(), r = b(() => u.banner), l = b(() => r.value?.metadata.height || (r.value?.metadata.subtext ? 88 : 48)), d = b(() => t.demo ? !0 : !!r.value && !i.one.banners.read.includes(r.value.slug));
|
|
4245
4275
|
function f() {
|
|
4246
4276
|
t.demo || r.value && (i.one.banners.read.push(r.value.slug), i.one.banners.last = (/* @__PURE__ */ new Date()).toISOString());
|
|
4247
4277
|
}
|
|
4248
|
-
async function
|
|
4278
|
+
async function y($) {
|
|
4249
4279
|
if (!r.value) return;
|
|
4250
4280
|
i.one.banners.last = (/* @__PURE__ */ new Date()).toISOString();
|
|
4251
4281
|
const L = r.value?.metadata ?? { link: "" };
|
|
@@ -4254,7 +4284,7 @@ const at = /* @__PURE__ */ _({
|
|
|
4254
4284
|
const U = L.link.split("?one=")[1];
|
|
4255
4285
|
o.push({ query: { one: U } });
|
|
4256
4286
|
}
|
|
4257
|
-
const
|
|
4287
|
+
const v = b(() => {
|
|
4258
4288
|
const $ = r.value?.metadata ?? { link: "" };
|
|
4259
4289
|
return {
|
|
4260
4290
|
href: $.link.startsWith("http") ? $.link : void 0,
|
|
@@ -4262,7 +4292,7 @@ const at = /* @__PURE__ */ _({
|
|
|
4262
4292
|
to: $.link.startsWith("http") ? void 0 : $.link,
|
|
4263
4293
|
...r.value?.metadata.attributes
|
|
4264
4294
|
};
|
|
4265
|
-
}),
|
|
4295
|
+
}), C = b(() => {
|
|
4266
4296
|
const $ = r.value?.metadata.images.bg?.url;
|
|
4267
4297
|
if (!$?.startsWith("https://cdn.cosmicjs.com/")) return $;
|
|
4268
4298
|
const L = new URL($);
|
|
@@ -4280,17 +4310,17 @@ const at = /* @__PURE__ */ _({
|
|
|
4280
4310
|
color: e(r).metadata.color,
|
|
4281
4311
|
flat: "",
|
|
4282
4312
|
height: e(l),
|
|
4283
|
-
image: e(
|
|
4313
|
+
image: e(C),
|
|
4284
4314
|
location: $.demo ? "bottom" : void 0,
|
|
4285
4315
|
"model-value": e(d),
|
|
4286
4316
|
order: "-1"
|
|
4287
4317
|
}, {
|
|
4288
4318
|
default: s(() => [
|
|
4289
|
-
n(
|
|
4319
|
+
n(ae, R({
|
|
4290
4320
|
active: !1,
|
|
4291
4321
|
class: "flex-grow-1 py-6",
|
|
4292
4322
|
lines: "two"
|
|
4293
|
-
}, e(
|
|
4323
|
+
}, e(v), { onClick: y }), {
|
|
4294
4324
|
prepend: s(() => [
|
|
4295
4325
|
e(r).metadata.images.logo ? (c(), m(oe, {
|
|
4296
4326
|
key: 0,
|
|
@@ -4312,10 +4342,10 @@ const at = /* @__PURE__ */ _({
|
|
|
4312
4342
|
title: e(r).metadata.link_text
|
|
4313
4343
|
}, {
|
|
4314
4344
|
...Q,
|
|
4315
|
-
...e(
|
|
4345
|
+
...e(v)
|
|
4316
4346
|
}, {
|
|
4317
4347
|
variant: "elevated",
|
|
4318
|
-
onClick: _e(
|
|
4348
|
+
onClick: _e(y, ["stop"])
|
|
4319
4349
|
}), {
|
|
4320
4350
|
default: s(() => [
|
|
4321
4351
|
S(V(e(r).metadata.link_text), 1)
|
|
@@ -4345,7 +4375,7 @@ const at = /* @__PURE__ */ _({
|
|
|
4345
4375
|
]),
|
|
4346
4376
|
_: 1
|
|
4347
4377
|
})) : h("", !0),
|
|
4348
|
-
e(r).metadata.subtext ? (c(), m(
|
|
4378
|
+
e(r).metadata.subtext ? (c(), m(Ro, { key: 1 }, {
|
|
4349
4379
|
default: s(() => [
|
|
4350
4380
|
S(V(e(r).metadata.subtext), 1)
|
|
4351
4381
|
]),
|
|
@@ -4358,7 +4388,7 @@ const at = /* @__PURE__ */ _({
|
|
|
4358
4388
|
_: 1
|
|
4359
4389
|
}, 8, ["color", "height", "image", "location", "model-value"])) : h("", !0);
|
|
4360
4390
|
}
|
|
4361
|
-
}),
|
|
4391
|
+
}), Va = /* @__PURE__ */ Xe(ka, [["__scopeId", "data-v-dee53f67"]]), $a = {
|
|
4362
4392
|
key: 0,
|
|
4363
4393
|
class: "text-uppercase position-absolute ms-auto font-weight-medium on-surface-light",
|
|
4364
4394
|
style: { right: "12px", bottom: "8px", "font-size": "10px" }
|
|
@@ -4369,16 +4399,16 @@ const at = /* @__PURE__ */ _({
|
|
|
4369
4399
|
minHeight: {}
|
|
4370
4400
|
},
|
|
4371
4401
|
setup(p) {
|
|
4372
|
-
return (t, a) => (c(), m(
|
|
4402
|
+
return (t, a) => (c(), m(z, {
|
|
4373
4403
|
class: "d-inline-flex flex-child-1 position-relative",
|
|
4374
4404
|
color: "surface-light",
|
|
4375
4405
|
flat: "",
|
|
4376
4406
|
rel: "noopener",
|
|
4377
4407
|
rounded: "",
|
|
4378
4408
|
target: "_blank"
|
|
4379
|
-
},
|
|
4409
|
+
}, P({
|
|
4380
4410
|
default: s(() => [
|
|
4381
|
-
n(
|
|
4411
|
+
n(pn, {
|
|
4382
4412
|
"min-height": t.minHeight,
|
|
4383
4413
|
width: "100%"
|
|
4384
4414
|
}, {
|
|
@@ -4387,7 +4417,7 @@ const at = /* @__PURE__ */ _({
|
|
|
4387
4417
|
]),
|
|
4388
4418
|
_: 3
|
|
4389
4419
|
}, 8, ["min-height"]),
|
|
4390
|
-
t.caption ? (c(),
|
|
4420
|
+
t.caption ? (c(), k("div", $a, V(t.caption), 1)) : h("", !0)
|
|
4391
4421
|
]),
|
|
4392
4422
|
_: 2
|
|
4393
4423
|
}, [
|
|
@@ -4408,10 +4438,10 @@ const at = /* @__PURE__ */ _({
|
|
|
4408
4438
|
]), 1024));
|
|
4409
4439
|
}
|
|
4410
4440
|
}), Je = q("promotions", () => {
|
|
4411
|
-
const p = Y(), t = ee(), a =
|
|
4441
|
+
const p = Y(), t = ee(), a = F([]), o = M(!1), i = M(!1), u = b(() => a.value.filter((d) => d.metadata.discoverable));
|
|
4412
4442
|
je(l);
|
|
4413
4443
|
function r(d) {
|
|
4414
|
-
const f = d.filter((
|
|
4444
|
+
const f = d.filter((y) => y.metadata.active);
|
|
4415
4445
|
return f[Math.floor(Math.random() * f.length)];
|
|
4416
4446
|
}
|
|
4417
4447
|
async function l() {
|
|
@@ -4434,13 +4464,13 @@ const at = /* @__PURE__ */ _({
|
|
|
4434
4464
|
index: l,
|
|
4435
4465
|
random: r
|
|
4436
4466
|
};
|
|
4437
|
-
}),
|
|
4467
|
+
}), xa = /* @__PURE__ */ _({
|
|
4438
4468
|
__name: "VoPromotionsCardHighlight",
|
|
4439
4469
|
props: {
|
|
4440
4470
|
slug: {}
|
|
4441
4471
|
},
|
|
4442
4472
|
setup(p) {
|
|
4443
|
-
const t = p, a =
|
|
4473
|
+
const t = p, a = E(), o = Je(), i = Te(), u = T(), r = b(() => {
|
|
4444
4474
|
if (!(a.user && !u.one.ads.enabled))
|
|
4445
4475
|
return t.slug ? o.all.find((f) => f.slug === t.slug) : o.random(o.all);
|
|
4446
4476
|
}), l = b(() => {
|
|
@@ -4450,9 +4480,9 @@ const at = /* @__PURE__ */ _({
|
|
|
4450
4480
|
const f = i.current.value.dark ? "bgdark" : "bglight";
|
|
4451
4481
|
return r.value?.metadata.images[f]?.url;
|
|
4452
4482
|
});
|
|
4453
|
-
return (f,
|
|
4454
|
-
const
|
|
4455
|
-
return e(r) || !e(o).hasLoaded ? (c(), m(
|
|
4483
|
+
return (f, y) => {
|
|
4484
|
+
const v = Ot;
|
|
4485
|
+
return e(r) || !e(o).hasLoaded ? (c(), m(v, {
|
|
4456
4486
|
key: 0,
|
|
4457
4487
|
class: "vo-promotions-card-highlight",
|
|
4458
4488
|
color: e(r)?.metadata.color ?? "surface",
|
|
@@ -4463,7 +4493,7 @@ const at = /* @__PURE__ */ _({
|
|
|
4463
4493
|
"prepend-avatar": e(l),
|
|
4464
4494
|
title: e(r)?.metadata.short_text,
|
|
4465
4495
|
width: "100%"
|
|
4466
|
-
},
|
|
4496
|
+
}, P({
|
|
4467
4497
|
default: s(() => [
|
|
4468
4498
|
e(o).hasLoaded ? h("", !0) : (c(), m(he, {
|
|
4469
4499
|
key: 0,
|
|
@@ -4497,13 +4527,13 @@ const at = /* @__PURE__ */ _({
|
|
|
4497
4527
|
]), 1032, ["color", "href", "image", "prepend-avatar", "title"])) : h("", !0);
|
|
4498
4528
|
};
|
|
4499
4529
|
}
|
|
4500
|
-
}),
|
|
4530
|
+
}), La = { class: "d-flex ga-4" }, wa = { class: "d-flex align-start ga-4" }, Sa = { class: "text-caption on-surface-light" }, Ma = /* @__PURE__ */ _({
|
|
4501
4531
|
__name: "VoPromotionsCardVuetify",
|
|
4502
4532
|
props: {
|
|
4503
4533
|
slug: {}
|
|
4504
4534
|
},
|
|
4505
4535
|
setup(p) {
|
|
4506
|
-
const t = p, a =
|
|
4536
|
+
const t = p, a = E(), o = Je(), i = T(), u = b(() => {
|
|
4507
4537
|
if (!(a.user && !i.one.ads.enabled && !i.one.ads.house))
|
|
4508
4538
|
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);
|
|
4509
4539
|
});
|
|
@@ -4518,8 +4548,8 @@ const at = /* @__PURE__ */ _({
|
|
|
4518
4548
|
width: "360"
|
|
4519
4549
|
}, {
|
|
4520
4550
|
default: s(() => [
|
|
4521
|
-
g("div",
|
|
4522
|
-
e(o).hasLoaded ? e(u) ? (c(),
|
|
4551
|
+
g("div", La, [
|
|
4552
|
+
e(o).hasLoaded ? e(u) ? (c(), k(D, { key: 1 }, [
|
|
4523
4553
|
n(se, {
|
|
4524
4554
|
cover: "",
|
|
4525
4555
|
height: "100",
|
|
@@ -4529,10 +4559,10 @@ const at = /* @__PURE__ */ _({
|
|
|
4529
4559
|
src: e(u).metadata?.images.default?.url,
|
|
4530
4560
|
width: "100%"
|
|
4531
4561
|
}, null, 8, ["src"]),
|
|
4532
|
-
g("div",
|
|
4533
|
-
g("div",
|
|
4562
|
+
g("div", wa, [
|
|
4563
|
+
g("div", Sa, V(e(u).metadata?.text), 1)
|
|
4534
4564
|
])
|
|
4535
|
-
], 64)) : h("", !0) : (c(),
|
|
4565
|
+
], 64)) : h("", !0) : (c(), k(D, { key: 0 }, [
|
|
4536
4566
|
n(he, {
|
|
4537
4567
|
class: "flex-1-0 overflow-hidden",
|
|
4538
4568
|
color: "transparent",
|
|
@@ -4555,13 +4585,13 @@ const at = /* @__PURE__ */ _({
|
|
|
4555
4585
|
}, 8, ["href"])) : h("", !0);
|
|
4556
4586
|
};
|
|
4557
4587
|
}
|
|
4558
|
-
}),
|
|
4588
|
+
}), Ia = ["href"], Da = /* @__PURE__ */ _({
|
|
4559
4589
|
__name: "VoPromotionsFooter",
|
|
4560
4590
|
props: {
|
|
4561
4591
|
slug: {}
|
|
4562
4592
|
},
|
|
4563
4593
|
setup(p) {
|
|
4564
|
-
const t = p, a =
|
|
4594
|
+
const t = p, a = E(), o = Je(), i = T(), u = Te(), r = b(() => {
|
|
4565
4595
|
if (!(a.user && !i.one.ads.enabled))
|
|
4566
4596
|
return t.slug ? o.all.find((f) => f.slug === t.slug) : o.random(o.all);
|
|
4567
4597
|
}), l = b(() => {
|
|
@@ -4571,9 +4601,9 @@ const at = /* @__PURE__ */ _({
|
|
|
4571
4601
|
const f = u.current.value.dark ? "bgdark" : "bglight";
|
|
4572
4602
|
return r.value?.metadata.images[f]?.url;
|
|
4573
4603
|
});
|
|
4574
|
-
return (f,
|
|
4575
|
-
const
|
|
4576
|
-
return c(), m(
|
|
4604
|
+
return (f, y) => {
|
|
4605
|
+
const v = Bt;
|
|
4606
|
+
return c(), m(v, {
|
|
4577
4607
|
color: e(r)?.metadata.color ?? "surface",
|
|
4578
4608
|
image: e(d),
|
|
4579
4609
|
style: { transform: "translateY(0)" }
|
|
@@ -4601,14 +4631,14 @@ const at = /* @__PURE__ */ _({
|
|
|
4601
4631
|
text: "SPONSORED",
|
|
4602
4632
|
variant: "flat"
|
|
4603
4633
|
})) : h("", !0)
|
|
4604
|
-
], 8,
|
|
4634
|
+
], 8, Ia)
|
|
4605
4635
|
]),
|
|
4606
4636
|
_: 1
|
|
4607
4637
|
}, 8, ["color", "image"]);
|
|
4608
4638
|
};
|
|
4609
4639
|
}
|
|
4610
|
-
}),
|
|
4611
|
-
const p = Y(), t =
|
|
4640
|
+
}), Aa = q("spots", () => {
|
|
4641
|
+
const p = Y(), t = Pt(), a = ee(), o = F([]), i = M(!1), u = b(() => o.value.find(({
|
|
4612
4642
|
metadata: {
|
|
4613
4643
|
site: l,
|
|
4614
4644
|
active: d
|
|
@@ -4632,11 +4662,11 @@ const at = /* @__PURE__ */ _({
|
|
|
4632
4662
|
spot: u,
|
|
4633
4663
|
index: r
|
|
4634
4664
|
};
|
|
4635
|
-
}),
|
|
4665
|
+
}), Ta = ["href"], Ua = /* @__PURE__ */ _({
|
|
4636
4666
|
__name: "VoSpot",
|
|
4637
4667
|
setup(p) {
|
|
4638
|
-
const t =
|
|
4639
|
-
return (a, o) => e(t).spot ? (c(),
|
|
4668
|
+
const t = Aa();
|
|
4669
|
+
return (a, o) => e(t).spot ? (c(), k("a", {
|
|
4640
4670
|
key: 0,
|
|
4641
4671
|
href: e(t).spot.metadata.href,
|
|
4642
4672
|
rel: "noopener noreferrer sponsored",
|
|
@@ -4649,9 +4679,9 @@ const at = /* @__PURE__ */ _({
|
|
|
4649
4679
|
src: e(t).spot.metadata.image?.url,
|
|
4650
4680
|
width: "225"
|
|
4651
4681
|
}, null, 8, ["color", "src"])
|
|
4652
|
-
], 8,
|
|
4682
|
+
], 8, Ta)) : h("", !0);
|
|
4653
4683
|
}
|
|
4654
|
-
}),
|
|
4684
|
+
}), Si = {
|
|
4655
4685
|
discord: ["M22,24L16.75,19L17.38,21H4.5A2.5,2.5 0 0,1 2,18.5V3.5A2.5,2.5 0 0,1 4.5,1H19.5A2.5,2.5 0 0,1 22,3.5V24M12,6.8C9.32,6.8 7.44,7.95 7.44,7.95C8.47,7.03 10.27,6.5 10.27,6.5L10.1,6.33C8.41,6.36 6.88,7.53 6.88,7.53C5.16,11.12 5.27,14.22 5.27,14.22C6.67,16.03 8.75,15.9 8.75,15.9L9.46,15C8.21,14.73 7.42,13.62 7.42,13.62C7.42,13.62 9.3,14.9 12,14.9C14.7,14.9 16.58,13.62 16.58,13.62C16.58,13.62 15.79,14.73 14.54,15L15.25,15.9C15.25,15.9 17.33,16.03 18.73,14.22C18.73,14.22 18.84,11.12 17.12,7.53C17.12,7.53 15.59,6.36 13.9,6.33L13.73,6.5C13.73,6.5 15.53,7.03 16.56,7.95C16.56,7.95 14.68,6.8 12,6.8M9.93,10.59C10.58,10.59 11.11,11.16 11.1,11.86C11.1,12.55 10.58,13.13 9.93,13.13C9.29,13.13 8.77,12.55 8.77,11.86C8.77,11.16 9.28,10.59 9.93,10.59M14.1,10.59C14.75,10.59 15.27,11.16 15.27,11.86C15.27,12.55 14.75,13.13 14.1,13.13C13.46,13.13 12.94,12.55 12.94,11.86C12.94,11.16 13.45,10.59 14.1,10.59Z"],
|
|
4656
4686
|
github: ["M12,2A10,10 0 0,0 2,12C2,16.42 4.87,20.17 8.84,21.5C9.34,21.58 9.5,21.27 9.5,21C9.5,20.77 9.5,20.14 9.5,19.31C6.73,19.91 6.14,17.97 6.14,17.97C5.68,16.81 5.03,16.5 5.03,16.5C4.12,15.88 5.1,15.9 5.1,15.9C6.1,15.97 6.63,16.93 6.63,16.93C7.5,18.45 8.97,18 9.54,17.76C9.63,17.11 9.89,16.67 10.17,16.42C7.95,16.17 5.62,15.31 5.62,11.5C5.62,10.39 6,9.5 6.65,8.79C6.55,8.54 6.2,7.5 6.75,6.15C6.75,6.15 7.59,5.88 9.5,7.17C10.29,6.95 11.15,6.84 12,6.84C12.85,6.84 13.71,6.95 14.5,7.17C16.41,5.88 17.25,6.15 17.25,6.15C17.8,7.5 17.45,8.54 17.35,8.79C18,9.5 18.38,10.39 18.38,11.5C18.38,15.32 16.04,16.16 13.81,16.41C14.17,16.72 14.5,17.33 14.5,18.26C14.5,19.6 14.5,20.68 14.5,21C14.5,21.27 14.66,21.59 15.17,21.5C19.14,20.16 22,16.42 22,12A10,10 0 0,0 12,2Z"],
|
|
4657
4687
|
reddit: "M14.5 15.41C14.58 15.5 14.58 15.69 14.5 15.8C13.77 16.5 12.41 16.56 12 16.56C11.61 16.56 10.25 16.5 9.54 15.8C9.44 15.69 9.44 15.5 9.54 15.41C9.65 15.31 9.82 15.31 9.92 15.41C10.38 15.87 11.33 16 12 16C12.69 16 13.66 15.87 14.1 15.41C14.21 15.31 14.38 15.31 14.5 15.41M10.75 13.04C10.75 12.47 10.28 12 9.71 12C9.14 12 8.67 12.47 8.67 13.04C8.67 13.61 9.14 14.09 9.71 14.08C10.28 14.08 10.75 13.61 10.75 13.04M14.29 12C13.72 12 13.25 12.5 13.25 13.05S13.72 14.09 14.29 14.09C14.86 14.09 15.33 13.61 15.33 13.05C15.33 12.5 14.86 12 14.29 12M22 12C22 17.5 17.5 22 12 22S2 17.5 2 12C2 6.5 6.5 2 12 2S22 6.5 22 12M18.67 12C18.67 11.19 18 10.54 17.22 10.54C16.82 10.54 16.46 10.7 16.2 10.95C15.2 10.23 13.83 9.77 12.3 9.71L12.97 6.58L15.14 7.05C15.16 7.6 15.62 8.04 16.18 8.04C16.75 8.04 17.22 7.57 17.22 7C17.22 6.43 16.75 5.96 16.18 5.96C15.77 5.96 15.41 6.2 15.25 6.55L12.82 6.03C12.75 6 12.68 6.03 12.63 6.07C12.57 6.11 12.54 6.17 12.53 6.24L11.79 9.72C10.24 9.77 8.84 10.23 7.82 10.96C7.56 10.71 7.2 10.56 6.81 10.56C6 10.56 5.35 11.21 5.35 12C5.35 12.61 5.71 13.11 6.21 13.34C6.19 13.5 6.18 13.62 6.18 13.78C6.18 16 8.79 17.85 12 17.85C15.23 17.85 17.85 16.03 17.85 13.78C17.85 13.64 17.84 13.5 17.81 13.34C18.31 13.11 18.67 12.6 18.67 12Z",
|
|
@@ -4725,8 +4755,8 @@ const at = /* @__PURE__ */ _({
|
|
|
4725
4755
|
["M12.0886 19.775C9.85039 19.7657 7.8983 19.4309 6.39591 18.845C5.48629 18.4823 4.79131 18.0824 4.50514 17.4872C4.33139 17.1339 4.32117 15.5529 4.34161 14.5299C4.34161 13.5814 4.64822 10.8379 5.05704 10.466C5.68048 9.88937 9.75841 9.77777 12.1091 9.77777H12.1193C14.4598 9.77777 18.5479 9.88937 19.1714 10.466C19.57 10.8379 19.8766 13.5814 19.8868 14.5299C19.897 15.5529 19.8868 17.1339 19.713 17.4872C19.4269 18.0824 18.7319 18.4823 17.8223 18.845C16.0076 19.4951 14.0692 19.8112 12.1193 19.775H12.0886Z", 0.2],
|
|
4726
4756
|
["M8.57405 12C9.68004 12 10.5812 12.8658 10.5812 14.2222C10.5812 15.444 9.721 16.4444 8.57405 16.4444C7.45782 16.4348 6.55664 15.444 6.55664 14.2222C6.55664 12.8754 7.45782 12 8.57405 12ZM15.6606 12C14.5444 12 13.6432 12.8658 13.6432 14.2222C13.6432 15.444 14.5136 16.4444 15.6606 16.4444C16.7666 16.4348 17.6678 15.444 17.6678 14.2222C17.6678 12.8754 16.7666 12 15.6606 12Z", 1]
|
|
4727
4757
|
]
|
|
4728
|
-
},
|
|
4729
|
-
const p = Y(), t = ee(), a =
|
|
4758
|
+
}, Mi = q("bins", () => {
|
|
4759
|
+
const p = Y(), t = ee(), a = F([]), o = M(!1), i = b(() => a.value.filter((l) => l.favorite)), u = b(() => a.value.filter((l) => l.pinned));
|
|
4730
4760
|
async function r() {
|
|
4731
4761
|
try {
|
|
4732
4762
|
o.value = !0;
|
|
@@ -4746,12 +4776,12 @@ const at = /* @__PURE__ */ _({
|
|
|
4746
4776
|
all: a,
|
|
4747
4777
|
index: r
|
|
4748
4778
|
};
|
|
4749
|
-
}),
|
|
4750
|
-
const p = Y(), t = ee(), a =
|
|
4751
|
-
const v =
|
|
4752
|
-
return v.user?.isAdmin ||
|
|
4779
|
+
}), Ii = q("links", () => {
|
|
4780
|
+
const p = Y(), t = ee(), a = F([]), o = M(!1), i = M(!1), u = b(() => a.value.filter((v) => v.favorite)), r = b(() => a.value.filter((v) => v.pinned)), l = b(() => !!E().user), d = b(() => {
|
|
4781
|
+
const v = E(), C = B();
|
|
4782
|
+
return v.user?.isAdmin || C.isSubscriber;
|
|
4753
4783
|
});
|
|
4754
|
-
async function
|
|
4784
|
+
async function f() {
|
|
4755
4785
|
try {
|
|
4756
4786
|
o.value = !0;
|
|
4757
4787
|
const v = await p.get("/one/links");
|
|
@@ -4763,14 +4793,14 @@ const at = /* @__PURE__ */ _({
|
|
|
4763
4793
|
}
|
|
4764
4794
|
return a.value;
|
|
4765
4795
|
}
|
|
4766
|
-
async function
|
|
4796
|
+
async function y(v) {
|
|
4767
4797
|
if (!l.value) {
|
|
4768
|
-
t.showError("Must be
|
|
4798
|
+
t.showError("Must be signed in to create links");
|
|
4769
4799
|
return;
|
|
4770
4800
|
}
|
|
4771
4801
|
try {
|
|
4772
4802
|
i.value = !0;
|
|
4773
|
-
const
|
|
4803
|
+
const C = await p.post("/one/links", {
|
|
4774
4804
|
link: {
|
|
4775
4805
|
title: v.title,
|
|
4776
4806
|
url: v.url,
|
|
@@ -4781,12 +4811,17 @@ const at = /* @__PURE__ */ _({
|
|
|
4781
4811
|
passwordProtection: v.passwordProtection ?? !1,
|
|
4782
4812
|
password: v.password ?? null,
|
|
4783
4813
|
timer: v.timer ?? null,
|
|
4784
|
-
expiresAt: v.expiresAt ?? null
|
|
4814
|
+
expiresAt: v.expiresAt ?? null,
|
|
4815
|
+
// Content link fields
|
|
4816
|
+
contentType: v.contentType,
|
|
4817
|
+
payload: v.payload,
|
|
4818
|
+
language: v.language,
|
|
4819
|
+
source: v.source
|
|
4785
4820
|
}
|
|
4786
4821
|
});
|
|
4787
|
-
return a.value.unshift(
|
|
4788
|
-
} catch (
|
|
4789
|
-
t.showError(
|
|
4822
|
+
return a.value.unshift(C.link), C.link;
|
|
4823
|
+
} catch (C) {
|
|
4824
|
+
t.showError(C?.message ?? "Error creating link");
|
|
4790
4825
|
} finally {
|
|
4791
4826
|
i.value = !1;
|
|
4792
4827
|
}
|
|
@@ -4795,14 +4830,15 @@ const at = /* @__PURE__ */ _({
|
|
|
4795
4830
|
isLoading: o,
|
|
4796
4831
|
isSaving: i,
|
|
4797
4832
|
canCreate: l,
|
|
4833
|
+
canUseCustomSlug: d,
|
|
4798
4834
|
pinned: r,
|
|
4799
4835
|
favorites: u,
|
|
4800
4836
|
all: a,
|
|
4801
|
-
index:
|
|
4802
|
-
create:
|
|
4837
|
+
index: f,
|
|
4838
|
+
create: y
|
|
4803
4839
|
};
|
|
4804
|
-
}),
|
|
4805
|
-
const p = Y(), t = ee(), a =
|
|
4840
|
+
}), Di = q("plays", () => {
|
|
4841
|
+
const p = Y(), t = ee(), a = F([]), o = M(!1), i = b(() => a.value.filter((l) => l.favorite)), u = b(() => a.value.filter((l) => l.pinned));
|
|
4806
4842
|
async function r() {
|
|
4807
4843
|
try {
|
|
4808
4844
|
o.value = !0;
|
|
@@ -4822,8 +4858,8 @@ const at = /* @__PURE__ */ _({
|
|
|
4822
4858
|
all: a,
|
|
4823
4859
|
index: r
|
|
4824
4860
|
};
|
|
4825
|
-
}),
|
|
4826
|
-
const p = Y(), t = ee(), a =
|
|
4861
|
+
}), Ai = q("products", () => {
|
|
4862
|
+
const p = Y(), t = ee(), a = F([]), o = b(() => a.value.filter((r) => r.product_type === "Themes"));
|
|
4827
4863
|
async function i() {
|
|
4828
4864
|
if (a.value.length > 0)
|
|
4829
4865
|
return a.value;
|
|
@@ -4844,16 +4880,16 @@ const at = /* @__PURE__ */ _({
|
|
|
4844
4880
|
index: i,
|
|
4845
4881
|
randomize: u
|
|
4846
4882
|
};
|
|
4847
|
-
}),
|
|
4848
|
-
const p = Y(), t = ee(), a =
|
|
4883
|
+
}), Ti = q("sponsors", () => {
|
|
4884
|
+
const p = Y(), t = ee(), a = F([]), o = F([]), i = F(!1), u = b(() => {
|
|
4849
4885
|
const d = {};
|
|
4850
4886
|
for (const f of a.value) {
|
|
4851
|
-
const
|
|
4852
|
-
d[
|
|
4887
|
+
const y = f.metadata.tier;
|
|
4888
|
+
d[y] || (d[y] = []), d[y].push(f);
|
|
4853
4889
|
}
|
|
4854
4890
|
return d;
|
|
4855
4891
|
});
|
|
4856
|
-
|
|
4892
|
+
qt(r), je(r);
|
|
4857
4893
|
async function r() {
|
|
4858
4894
|
try {
|
|
4859
4895
|
i.value = !0;
|
|
@@ -4878,38 +4914,38 @@ const at = /* @__PURE__ */ _({
|
|
|
4878
4914
|
index: r
|
|
4879
4915
|
};
|
|
4880
4916
|
});
|
|
4881
|
-
function
|
|
4917
|
+
function Ui() {
|
|
4882
4918
|
function p(t) {
|
|
4883
|
-
t.component("VoAppBar",
|
|
4919
|
+
t.component("VoAppBar", ma), t.component("VoAuthBtn", zt), t.component("VoAuthCard", It), t.component("VoAuthDialog", Dt), t.component("VoAuthListItem", At), t.component("VoNotificationsBanner", Va), t.component("VoPromotionsCardHighlight", xa), t.component("VoPromotionsCardVuetify", Ma), t.component("VoPromotionsFooter", Da), t.component("VoScript", va), t.component("VoSocialFooter", Ca), t.component("VoSpot", Ua);
|
|
4884
4920
|
}
|
|
4885
4921
|
return { install: p };
|
|
4886
4922
|
}
|
|
4887
|
-
function
|
|
4923
|
+
function Pi(p, t) {
|
|
4888
4924
|
return function(a) {
|
|
4889
4925
|
const o = a.store;
|
|
4890
4926
|
o.url = t, o.$id === "site" && (o.id = p);
|
|
4891
4927
|
};
|
|
4892
4928
|
}
|
|
4893
4929
|
export {
|
|
4894
|
-
|
|
4895
|
-
|
|
4896
|
-
|
|
4897
|
-
|
|
4898
|
-
|
|
4899
|
-
|
|
4900
|
-
|
|
4930
|
+
Si as aliases,
|
|
4931
|
+
Ui as createOne,
|
|
4932
|
+
Pi as one,
|
|
4933
|
+
E as useAuthStore,
|
|
4934
|
+
Oe as useBannersStore,
|
|
4935
|
+
Mi as useBinsStore,
|
|
4936
|
+
gs as useDownloadsStore,
|
|
4901
4937
|
Y as useHttpStore,
|
|
4902
|
-
|
|
4938
|
+
Ii as useLinksStore,
|
|
4903
4939
|
Ee as useNotificationsStore,
|
|
4904
|
-
|
|
4905
|
-
|
|
4906
|
-
|
|
4940
|
+
B as useOneStore,
|
|
4941
|
+
Di as usePlaysStore,
|
|
4942
|
+
Ai as useProductsStore,
|
|
4907
4943
|
Je as usePromotionsStore,
|
|
4908
4944
|
ee as useQueueStore,
|
|
4909
4945
|
Pe as useSettingsStore,
|
|
4910
|
-
|
|
4911
|
-
|
|
4912
|
-
|
|
4946
|
+
Pt as useSiteStore,
|
|
4947
|
+
Ti as useSponsorsStore,
|
|
4948
|
+
Aa as useSpotsStore,
|
|
4913
4949
|
De as useTeamStore,
|
|
4914
4950
|
T as useUserStore
|
|
4915
4951
|
};
|