@vuetify/one 2.7.0 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +44 -2
- package/dist/index.js +789 -736
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as y, createBlock as m, openBlock as c, unref as e, computed as
|
|
2
|
-
import { u as
|
|
1
|
+
import { defineComponent as y, createBlock as m, openBlock as c, unref as e, computed as k, createSlots as z, withCtx as s, createElementVNode as v, toDisplayString as $, createVNode as n, createTextVNode as S, normalizeStyle as it, createCommentVNode as b, renderSlot as w, shallowRef as M, watch as H, withModifiers as ye, mergeModels as rt, useModel as W, createElementBlock as V, Fragment as D, nextTick as be, renderList as G, mergeProps as R, withDirectives as N, vShow as Ie, isRef as j, ref as E, readonly as Se, resolveComponent as lt, watchEffect as Nt, onMounted as He, toRef as ge, normalizeClass as Zt, useSlots as ut, normalizeProps as ct, guardReactiveProps as dt, onBeforeMount as je, onBeforeUnmount as Ht, useCssVars as jt, onServerPrefetch as Rt } from "vue";
|
|
2
|
+
import { u as oe, a as F, b as T, c as O, d as ke, e as J, f as De } from "./auth-QWWxnYQv.js";
|
|
3
3
|
import { VSnackbarQueue as qt } from "vuetify/components/VSnackbarQueue";
|
|
4
|
-
import { mdiStorefront as Wt, mdiSync as Gt, mdiSyncOff as Kt, mdiLogoutVariant as Yt, mdiFullscreenExit as Qt, mdiFullscreen as Xt, mdiCheck as Ve, mdiSelect as Jt, mdiSpaceInvaders as pt, mdiImageFilterHdr as mt, mdiTransmissionTower as ft, mdiRocketLaunchOutline as vt, mdiHome as eo, mdiTextBox as to, mdiWhiteBalanceSunny as oo, mdiWeatherNight as no, mdiDesktopTowerMonitor as so, mdiContrastCircle as ao, mdiCog as io, mdiCogOutline as ro, mdiShieldKeyOutline as lo, mdiContentCopy as Re, mdiFileDocument as gt, mdiKey as uo, mdiPlus as co, mdiRefresh as po, mdiKeyOutline as mo, mdiCreditCardSettingsOutline as fo, mdiRocketOutline as vo, mdiCheckCircleOutline as Me, mdiCreditCard as go, mdiReload as _o, mdiPlaylistCheck as yo, mdiCreditCardOutline as ho, mdiOpenInNew as Ae, mdiMedal as bo, mdiHandHeart as ko, mdiHandHeartOutline as Vo, mdiCloudDownload as Co, mdiTrayArrowDown as tt, mdiAccountGroup as $o, mdiAccount as xo, mdiLinkVariant as Lo, mdiShieldLock as ot, mdiAccountRemoveOutline as wo, mdiExitToApp as So, mdiAccountGroupOutline as Mo, mdiPin as Io, mdiPinOutline as Do, mdiEmailOpenOutline as qe, mdiEmailVariant as We, mdiBell as Ao, mdiInboxOutline as To, mdiInboxFullOutline as Uo, mdiBillboard as Po, mdiBellOutline as zo, mdiViewDashboardOutline as Oo, mdiCrown as Bo, mdiArrowULeftBottom as
|
|
5
|
-
import { VListItem as le, VList as
|
|
6
|
-
import { VAvatar as
|
|
7
|
-
import { VCard as P, VCardTitle as Ro, VCardSubtitle as qo, VCardText as
|
|
4
|
+
import { mdiStorefront as Wt, mdiSync as Gt, mdiSyncOff as Kt, mdiLogoutVariant as Yt, mdiFullscreenExit as Qt, mdiFullscreen as Xt, mdiCheck as Ve, mdiSelect as Jt, mdiSpaceInvaders as pt, mdiImageFilterHdr as mt, mdiTransmissionTower as ft, mdiRocketLaunchOutline as vt, mdiHome as eo, mdiTextBox as to, mdiWhiteBalanceSunny as oo, mdiWeatherNight as no, mdiDesktopTowerMonitor as so, mdiContrastCircle as ao, mdiCog as io, mdiCogOutline as ro, mdiShieldKeyOutline as lo, mdiContentCopy as Re, mdiFileDocument as gt, mdiKey as uo, mdiPlus as co, mdiRefresh as po, mdiKeyOutline as mo, mdiCreditCardSettingsOutline as fo, mdiRocketOutline as vo, mdiCheckCircleOutline as Me, mdiCreditCard as go, mdiReload as _o, mdiPlaylistCheck as yo, mdiCreditCardOutline as ho, mdiOpenInNew as Ae, mdiMedal as bo, mdiHandHeart as ko, mdiHandHeartOutline as Vo, mdiCloudDownload as Co, mdiTrayArrowDown as tt, mdiAccountGroup as $o, mdiAccount as xo, mdiLinkVariant as Lo, mdiShieldLock as ot, mdiAccountRemoveOutline as wo, mdiExitToApp as So, mdiAccountGroupOutline as Mo, mdiPin as Io, mdiPinOutline as Do, mdiEmailOpenOutline as qe, mdiEmailVariant as We, mdiBell as Ao, mdiInboxOutline as To, mdiInboxFullOutline as Uo, mdiBillboard as Po, mdiBellOutline as zo, mdiViewDashboardOutline as Oo, mdiCrown as Bo, mdiArrowULeftBottom as Eo, mdiAtomVariant as Fo, mdiLogin as nt, mdiDotsVertical as No, mdiShieldStarOutline as Zo } from "@mdi/js";
|
|
5
|
+
import { VListItem as le, VList as ne, VListSubheader as Ho, VListItemTitle as _t, VListItemSubtitle as jo } from "vuetify/components/VList";
|
|
6
|
+
import { VAvatar as te } from "vuetify/components/VAvatar";
|
|
7
|
+
import { VCard as P, VCardTitle as Ro, VCardSubtitle as qo, VCardText as X, VCardActions as yt, VCardItem as Fe } from "vuetify/components/VCard";
|
|
8
8
|
import { VDialog as Ce } from "vuetify/components/VDialog";
|
|
9
9
|
import { VBtn as A } from "vuetify/components/VBtn";
|
|
10
10
|
import { VProgressCircular as Wo } from "vuetify/components/VProgressCircular";
|
|
@@ -12,13 +12,13 @@ import { VSheet as $e } from "vuetify/components/VSheet";
|
|
|
12
12
|
import { VSwitch as Ge } from "vuetify/components/VSwitch";
|
|
13
13
|
import { VFadeTransition as xe, VExpandTransition as Le, VExpandXTransition as Go } from "vuetify/components/transitions";
|
|
14
14
|
import { useDisplay as ae, useTheme as Te, useDate as me } from "vuetify";
|
|
15
|
-
import { VDivider as
|
|
16
|
-
import { VIcon as
|
|
15
|
+
import { VDivider as Z } from "vuetify/components/VDivider";
|
|
16
|
+
import { VIcon as I } from "vuetify/components/VIcon";
|
|
17
17
|
import { VLabel as Ne } from "vuetify/components/VLabel";
|
|
18
|
-
import { VChip as
|
|
18
|
+
import { VChip as ee } from "vuetify/components/VChip";
|
|
19
19
|
import { VChipGroup as Ko } from "vuetify/components/VChipGroup";
|
|
20
20
|
import { VSelect as Yo } from "vuetify/components/VSelect";
|
|
21
|
-
import { defineStore as
|
|
21
|
+
import { defineStore as K } from "pinia";
|
|
22
22
|
import { VRow as fe, VCol as re, VSpacer as ht } from "vuetify/components/VGrid";
|
|
23
23
|
import { VHover as ve } from "vuetify/components/VHover";
|
|
24
24
|
import { VImg as se } from "vuetify/components/VImg";
|
|
@@ -27,7 +27,7 @@ import { VLayout as ue } from "vuetify/components/VLayout";
|
|
|
27
27
|
import { VMain as ce } from "vuetify/components/VMain";
|
|
28
28
|
import { VTextField as kt } from "vuetify/components/VTextField";
|
|
29
29
|
import { VTable as Qo } from "vuetify/components/VTable";
|
|
30
|
-
import { Tooltip as
|
|
30
|
+
import { Tooltip as Q, Ripple as Xo } from "vuetify/directives";
|
|
31
31
|
import { VExpansionPanels as Jo, VExpansionPanel as en, VExpansionPanelText as tn } from "vuetify/components/VExpansionPanel";
|
|
32
32
|
import { VDataTableVirtual as Vt, VDataTable as on } from "vuetify/components/VDataTable";
|
|
33
33
|
import { VSkeletonLoader as he } from "vuetify/components/VSkeletonLoader";
|
|
@@ -47,10 +47,10 @@ import { VLazy as dn } from "vuetify/components/VLazy";
|
|
|
47
47
|
const pn = /* @__PURE__ */ y({
|
|
48
48
|
__name: "VoSnackbarQueue",
|
|
49
49
|
setup(p) {
|
|
50
|
-
const t =
|
|
51
|
-
return (
|
|
50
|
+
const t = oe();
|
|
51
|
+
return (i, o) => (c(), m(qt, {
|
|
52
52
|
modelValue: e(t).queue,
|
|
53
|
-
"onUpdate:modelValue": o[0] || (o[0] = (
|
|
53
|
+
"onUpdate:modelValue": o[0] || (o[0] = (a) => e(t).queue = a),
|
|
54
54
|
closable: "",
|
|
55
55
|
location: "bottom end"
|
|
56
56
|
}, null, 8, ["modelValue"]));
|
|
@@ -58,8 +58,8 @@ const pn = /* @__PURE__ */ y({
|
|
|
58
58
|
}), mn = { class: "text-body-2" }, Lt = /* @__PURE__ */ y({
|
|
59
59
|
__name: "VoAuthShopify",
|
|
60
60
|
setup(p) {
|
|
61
|
-
const t =
|
|
62
|
-
return (
|
|
61
|
+
const t = F(), i = k(() => t.user && t.findIdentity("shopify")), o = k(() => t.user ? i.value ? "Connected to Shopify" : "Connect Shopify" : "Login with Shopify");
|
|
62
|
+
return (a, u) => (c(), m(le, {
|
|
63
63
|
"base-color": "#5b8a3c",
|
|
64
64
|
"prepend-icon": `svg:${e(Wt)}`,
|
|
65
65
|
rounded: "pill",
|
|
@@ -68,7 +68,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
68
68
|
onClick: u[0] || (u[0] = (r) => e(t).login("shopify"))
|
|
69
69
|
}, z({
|
|
70
70
|
title: s(() => [
|
|
71
|
-
v("span", mn,
|
|
71
|
+
v("span", mn, $(e(o)), 1)
|
|
72
72
|
]),
|
|
73
73
|
_: 2
|
|
74
74
|
}, [
|
|
@@ -84,8 +84,8 @@ const pn = /* @__PURE__ */ y({
|
|
|
84
84
|
}), fn = { class: "text-body-2" }, wt = /* @__PURE__ */ y({
|
|
85
85
|
__name: "VoAuthDiscord",
|
|
86
86
|
setup(p) {
|
|
87
|
-
const t =
|
|
88
|
-
return (
|
|
87
|
+
const t = F(), i = k(() => t.user && t.findIdentity("discord")), o = k(() => t.user ? i.value ? "Connected to Discord" : "Connect Discord" : "Login with Discord");
|
|
88
|
+
return (a, u) => (c(), m(le, {
|
|
89
89
|
"base-color": "#5865F2",
|
|
90
90
|
"prepend-icon": "$discord",
|
|
91
91
|
rounded: "pill",
|
|
@@ -94,7 +94,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
94
94
|
onClick: u[0] || (u[0] = (r) => e(t).login("discord"))
|
|
95
95
|
}, z({
|
|
96
96
|
title: s(() => [
|
|
97
|
-
v("span", fn,
|
|
97
|
+
v("span", fn, $(e(o)), 1)
|
|
98
98
|
]),
|
|
99
99
|
_: 2
|
|
100
100
|
}, [
|
|
@@ -110,8 +110,8 @@ const pn = /* @__PURE__ */ y({
|
|
|
110
110
|
}), vn = { class: "text-body-2" }, St = /* @__PURE__ */ y({
|
|
111
111
|
__name: "VoAuthGithub",
|
|
112
112
|
setup(p) {
|
|
113
|
-
const t =
|
|
114
|
-
return (
|
|
113
|
+
const t = F(), i = k(() => t.user && t.findIdentity("github")), o = k(() => t.user ? i.value ? "Connected to GitHub" : "Connect GitHub" : "Login with GitHub");
|
|
114
|
+
return (a, u) => (c(), m(le, {
|
|
115
115
|
"base-color": "#2a2a2a",
|
|
116
116
|
"prepend-icon": "$github",
|
|
117
117
|
rounded: "pill",
|
|
@@ -120,7 +120,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
120
120
|
onClick: u[0] || (u[0] = (r) => e(t).login("github"))
|
|
121
121
|
}, z({
|
|
122
122
|
title: s(() => [
|
|
123
|
-
v("span", vn,
|
|
123
|
+
v("span", vn, $(e(o)), 1)
|
|
124
124
|
]),
|
|
125
125
|
_: 2
|
|
126
126
|
}, [
|
|
@@ -136,9 +136,9 @@ const pn = /* @__PURE__ */ y({
|
|
|
136
136
|
}), gn = { class: "text-center" }, _n = { class: "text-center mb-6" }, yn = { class: "text-h6 font-weight-light" }, Mt = /* @__PURE__ */ y({
|
|
137
137
|
__name: "VoAuthCard",
|
|
138
138
|
setup(p) {
|
|
139
|
-
const t =
|
|
140
|
-
return (
|
|
141
|
-
const
|
|
139
|
+
const t = F();
|
|
140
|
+
return (i, o) => {
|
|
141
|
+
const a = St, u = wt, r = Lt;
|
|
142
142
|
return c(), m(P, {
|
|
143
143
|
class: "pt-6 pb-8 px-4 px-sm-8 mx-auto",
|
|
144
144
|
"max-width": "480",
|
|
@@ -146,7 +146,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
146
146
|
}, {
|
|
147
147
|
default: s(() => [
|
|
148
148
|
v("div", gn, [
|
|
149
|
-
n(
|
|
149
|
+
n(te, {
|
|
150
150
|
class: "mx-auto",
|
|
151
151
|
image: "https://vuetifyjs.b-cdn.net/docs/images/avatars/one.png",
|
|
152
152
|
size: "64"
|
|
@@ -155,7 +155,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
155
155
|
v("div", _n, [
|
|
156
156
|
n(Ro, { class: "text-h5 mb-1 text-md-h4" }, {
|
|
157
157
|
default: s(() => [
|
|
158
|
-
v("div", yn,
|
|
158
|
+
v("div", yn, $(e(t).lastLoginProvider() ? "Welcome back to" : "Login to"), 1),
|
|
159
159
|
o[0] || (o[0] = v("span", { class: "text-h3 font-weight-bold" }, "Vuetify One", -1))
|
|
160
160
|
]),
|
|
161
161
|
_: 1
|
|
@@ -167,13 +167,13 @@ const pn = /* @__PURE__ */ y({
|
|
|
167
167
|
_: 1
|
|
168
168
|
})
|
|
169
169
|
]),
|
|
170
|
-
n(
|
|
170
|
+
n(ne, {
|
|
171
171
|
class: "mx-auto",
|
|
172
172
|
"max-width": "300",
|
|
173
173
|
width: "100%"
|
|
174
174
|
}, {
|
|
175
175
|
default: s(() => [
|
|
176
|
-
n(
|
|
176
|
+
n(a, { class: "mb-3" }),
|
|
177
177
|
n(u, { class: "mb-3" }),
|
|
178
178
|
n(r)
|
|
179
179
|
]),
|
|
@@ -187,16 +187,16 @@ const pn = /* @__PURE__ */ y({
|
|
|
187
187
|
}), It = /* @__PURE__ */ y({
|
|
188
188
|
__name: "VoAuthDialog",
|
|
189
189
|
setup(p) {
|
|
190
|
-
const t =
|
|
191
|
-
return (
|
|
192
|
-
const
|
|
190
|
+
const t = F();
|
|
191
|
+
return (i, o) => {
|
|
192
|
+
const a = Mt;
|
|
193
193
|
return c(), m(Ce, {
|
|
194
194
|
modelValue: e(t).dialog,
|
|
195
195
|
"onUpdate:modelValue": o[0] || (o[0] = (u) => e(t).dialog = u),
|
|
196
196
|
"max-width": "480"
|
|
197
197
|
}, {
|
|
198
198
|
default: s(() => [
|
|
199
|
-
n(
|
|
199
|
+
n(a)
|
|
200
200
|
]),
|
|
201
201
|
_: 1
|
|
202
202
|
}, 8, ["modelValue"]);
|
|
@@ -209,7 +209,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
209
209
|
},
|
|
210
210
|
setup(p) {
|
|
211
211
|
const t = p;
|
|
212
|
-
return (
|
|
212
|
+
return (i, o) => (c(), m(A, {
|
|
213
213
|
class: "text-none font-weight-regular",
|
|
214
214
|
color: "primary",
|
|
215
215
|
size: "small",
|
|
@@ -220,27 +220,27 @@ const pn = /* @__PURE__ */ y({
|
|
|
220
220
|
variant: "flat"
|
|
221
221
|
}, z({
|
|
222
222
|
loader: s(() => [
|
|
223
|
-
|
|
223
|
+
i.$slots.loader ? b("", !0) : (c(), m(Wo, {
|
|
224
224
|
key: 0,
|
|
225
225
|
indeterminate: "disable-shrink",
|
|
226
226
|
size: "16",
|
|
227
227
|
width: "2"
|
|
228
228
|
})),
|
|
229
|
-
w(
|
|
229
|
+
w(i.$slots, "loader")
|
|
230
230
|
]),
|
|
231
231
|
_: 2
|
|
232
232
|
}, [
|
|
233
|
-
|
|
233
|
+
i.$slots.prepend ? {
|
|
234
234
|
name: "prepend",
|
|
235
235
|
fn: s(() => [
|
|
236
|
-
w(
|
|
236
|
+
w(i.$slots, "prepend")
|
|
237
237
|
]),
|
|
238
238
|
key: "0"
|
|
239
239
|
} : void 0,
|
|
240
|
-
|
|
240
|
+
i.$slots.default ? {
|
|
241
241
|
name: "default",
|
|
242
242
|
fn: s(() => [
|
|
243
|
-
w(
|
|
243
|
+
w(i.$slots, "default")
|
|
244
244
|
]),
|
|
245
245
|
key: "1"
|
|
246
246
|
} : void 0
|
|
@@ -249,11 +249,11 @@ const pn = /* @__PURE__ */ y({
|
|
|
249
249
|
}), hn = { class: "pa-4 d-flex flex-column ga-4" }, Dt = /* @__PURE__ */ y({
|
|
250
250
|
__name: "VoAuthListItem",
|
|
251
251
|
setup(p) {
|
|
252
|
-
const t =
|
|
252
|
+
const t = F(), i = T(), o = M(!t.user && !t.isLoading);
|
|
253
253
|
H(() => t.user, (u) => {
|
|
254
254
|
o.value = !u;
|
|
255
255
|
});
|
|
256
|
-
function
|
|
256
|
+
function a() {
|
|
257
257
|
t.user && (o.value = !o.value);
|
|
258
258
|
}
|
|
259
259
|
return (u, r) => {
|
|
@@ -264,26 +264,26 @@ const pn = /* @__PURE__ */ y({
|
|
|
264
264
|
variant: e(o) ? "tonal" : "text"
|
|
265
265
|
}, {
|
|
266
266
|
default: s(() => [
|
|
267
|
-
n(
|
|
267
|
+
n(ne, { class: "py-0" }, {
|
|
268
268
|
default: s(() => [
|
|
269
269
|
n(le, {
|
|
270
270
|
class: "mb-0",
|
|
271
271
|
link: !!e(t).user,
|
|
272
272
|
nav: "",
|
|
273
|
-
"prepend-icon": `svg:${e(t).user && e(
|
|
273
|
+
"prepend-icon": `svg:${e(t).user && e(i).one.sync ? e(Gt) : e(Kt)}`,
|
|
274
274
|
rounded: "b-0",
|
|
275
275
|
slim: "",
|
|
276
|
-
title: e(t).user && e(
|
|
277
|
-
onClick:
|
|
276
|
+
title: e(t).user && e(i).one.sync ? "Sync is on" : "Sync is paused",
|
|
277
|
+
onClick: a
|
|
278
278
|
}, {
|
|
279
279
|
append: s(() => [
|
|
280
280
|
n(xe, null, {
|
|
281
281
|
default: s(() => [
|
|
282
|
-
e(t).user && (e(o) || !e(
|
|
282
|
+
e(t).user && (e(o) || !e(i).one.sync) ? (c(), m(Ge, {
|
|
283
283
|
key: 0,
|
|
284
|
-
modelValue: e(
|
|
285
|
-
"onUpdate:modelValue": r[0] || (r[0] = (g) => e(
|
|
286
|
-
color: e(
|
|
284
|
+
modelValue: e(i).one.sync,
|
|
285
|
+
"onUpdate:modelValue": r[0] || (r[0] = (g) => e(i).one.sync = g),
|
|
286
|
+
color: e(i).one.sync ? "success" : void 0,
|
|
287
287
|
density: "compact",
|
|
288
288
|
"hide-details": "",
|
|
289
289
|
inset: "",
|
|
@@ -291,12 +291,12 @@ const pn = /* @__PURE__ */ y({
|
|
|
291
291
|
}, ["stop"]))
|
|
292
292
|
}, {
|
|
293
293
|
thumb: s(() => [
|
|
294
|
-
n(
|
|
295
|
-
color: e(
|
|
294
|
+
n(te, {
|
|
295
|
+
color: e(i).one.sync ? "success" : void 0
|
|
296
296
|
}, null, 8, ["color"])
|
|
297
297
|
]),
|
|
298
298
|
_: 1
|
|
299
|
-
}, 8, ["modelValue", "color"])) :
|
|
299
|
+
}, 8, ["modelValue", "color"])) : b("", !0)
|
|
300
300
|
]),
|
|
301
301
|
_: 1
|
|
302
302
|
})
|
|
@@ -324,7 +324,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
324
324
|
])
|
|
325
325
|
]),
|
|
326
326
|
_: 1
|
|
327
|
-
})) :
|
|
327
|
+
})) : b("", !0)
|
|
328
328
|
]),
|
|
329
329
|
_: 1
|
|
330
330
|
})
|
|
@@ -339,7 +339,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
339
339
|
}), q = /* @__PURE__ */ y({
|
|
340
340
|
__name: "VoListItem",
|
|
341
341
|
setup(p) {
|
|
342
|
-
return (t,
|
|
342
|
+
return (t, i) => (c(), m(le, { slim: "" }, z({
|
|
343
343
|
default: s(() => [
|
|
344
344
|
w(t.$slots, "default")
|
|
345
345
|
]),
|
|
@@ -371,17 +371,17 @@ const pn = /* @__PURE__ */ y({
|
|
|
371
371
|
}), bn = /* @__PURE__ */ y({
|
|
372
372
|
__name: "VoAuthLogoutNavItem",
|
|
373
373
|
setup(p) {
|
|
374
|
-
const t =
|
|
374
|
+
const t = F(), i = M(!1);
|
|
375
375
|
async function o() {
|
|
376
|
-
|
|
376
|
+
i.value = !0, await t.logout(), i.value = !1;
|
|
377
377
|
}
|
|
378
|
-
return (
|
|
378
|
+
return (a, u) => {
|
|
379
379
|
const r = q;
|
|
380
380
|
return c(), m(r, {
|
|
381
381
|
class: "mb-0",
|
|
382
|
-
disabled: e(
|
|
382
|
+
disabled: e(i),
|
|
383
383
|
link: "",
|
|
384
|
-
loading: e(
|
|
384
|
+
loading: e(i),
|
|
385
385
|
"prepend-icon": `svg:${e(Yt)}`,
|
|
386
386
|
rounded: "lg",
|
|
387
387
|
title: "Logout",
|
|
@@ -400,27 +400,27 @@ const pn = /* @__PURE__ */ y({
|
|
|
400
400
|
}),
|
|
401
401
|
emits: ["update:modelValue"],
|
|
402
402
|
setup(p) {
|
|
403
|
-
const t = W(p, "modelValue"),
|
|
404
|
-
return (
|
|
403
|
+
const t = W(p, "modelValue"), i = ae(), o = M(!1);
|
|
404
|
+
return (a, u) => (c(), m(Ce, {
|
|
405
405
|
modelValue: t.value,
|
|
406
406
|
"onUpdate:modelValue": u[2] || (u[2] = (r) => t.value = r),
|
|
407
407
|
activator: "parent",
|
|
408
|
-
fullscreen: e(o) || e(
|
|
408
|
+
fullscreen: e(o) || e(i).xs.value,
|
|
409
409
|
height: "100%",
|
|
410
|
-
"max-height": e(o) || e(
|
|
411
|
-
"max-width": e(o) || e(
|
|
410
|
+
"max-height": e(o) || e(i).xs.value ? "100%" : 800,
|
|
411
|
+
"max-width": e(o) || e(i).xs.value ? "100%" : 800
|
|
412
412
|
}, {
|
|
413
413
|
default: s(({ isActive: r }) => [
|
|
414
414
|
n(P, {
|
|
415
415
|
class: "overflow-hidden",
|
|
416
416
|
height: "inherit",
|
|
417
|
-
"prepend-icon":
|
|
418
|
-
rounded: e(o) || e(
|
|
419
|
-
title:
|
|
417
|
+
"prepend-icon": a.prependIcon,
|
|
418
|
+
rounded: e(o) || e(i).xs.value ? 0 : "lg",
|
|
419
|
+
title: a.title
|
|
420
420
|
}, z({
|
|
421
421
|
append: s(() => [
|
|
422
|
-
w(
|
|
423
|
-
e(
|
|
422
|
+
w(a.$slots, "append"),
|
|
423
|
+
e(i).xs.value ? b("", !0) : (c(), m(A, {
|
|
424
424
|
key: 0,
|
|
425
425
|
class: "me-2",
|
|
426
426
|
density: "comfortable",
|
|
@@ -438,22 +438,22 @@ const pn = /* @__PURE__ */ y({
|
|
|
438
438
|
})
|
|
439
439
|
]),
|
|
440
440
|
default: s(() => [
|
|
441
|
-
n(
|
|
442
|
-
w(
|
|
441
|
+
n(Z),
|
|
442
|
+
w(a.$slots, "default")
|
|
443
443
|
]),
|
|
444
444
|
_: 2
|
|
445
445
|
}, [
|
|
446
|
-
|
|
446
|
+
a.$slots.prepend ? {
|
|
447
447
|
name: "prepend",
|
|
448
448
|
fn: s(() => [
|
|
449
|
-
w(
|
|
449
|
+
w(a.$slots, "prepend")
|
|
450
450
|
]),
|
|
451
451
|
key: "0"
|
|
452
452
|
} : void 0,
|
|
453
|
-
|
|
453
|
+
a.$slots.actions ? {
|
|
454
454
|
name: "actions",
|
|
455
455
|
fn: s(() => [
|
|
456
|
-
w(
|
|
456
|
+
w(a.$slots, "actions", { isActive: r })
|
|
457
457
|
]),
|
|
458
458
|
key: "1"
|
|
459
459
|
} : void 0
|
|
@@ -468,7 +468,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
468
468
|
disabled: { type: Boolean }
|
|
469
469
|
},
|
|
470
470
|
setup(p) {
|
|
471
|
-
return (t,
|
|
471
|
+
return (t, i) => (c(), m(Ge, {
|
|
472
472
|
color: "primary",
|
|
473
473
|
density: "compact",
|
|
474
474
|
disabled: t.disabled,
|
|
@@ -476,7 +476,7 @@ const pn = /* @__PURE__ */ y({
|
|
|
476
476
|
"true-icon": `svg:${e(Ve)}`
|
|
477
477
|
}, z({
|
|
478
478
|
thumb: s(() => [
|
|
479
|
-
n(
|
|
479
|
+
n(I, {
|
|
480
480
|
color: t.disabled ? void 0 : "primary"
|
|
481
481
|
}, null, 8, ["color"])
|
|
482
482
|
]),
|
|
@@ -501,23 +501,23 @@ const pn = /* @__PURE__ */ y({
|
|
|
501
501
|
text: {}
|
|
502
502
|
},
|
|
503
503
|
setup(p) {
|
|
504
|
-
return (t,
|
|
504
|
+
return (t, i) => (c(), V(D, null, [
|
|
505
505
|
t.title ? (c(), m(Ne, {
|
|
506
506
|
key: 0,
|
|
507
507
|
class: "font-weight-black"
|
|
508
508
|
}, {
|
|
509
509
|
default: s(() => [
|
|
510
|
-
S(
|
|
510
|
+
S($(t.title), 1)
|
|
511
511
|
]),
|
|
512
512
|
_: 1
|
|
513
|
-
})) :
|
|
514
|
-
t.text ? (c(),
|
|
513
|
+
})) : b("", !0),
|
|
514
|
+
t.text ? (c(), V("div", kn, $(t.text), 1)) : b("", !0)
|
|
515
515
|
], 64));
|
|
516
516
|
}
|
|
517
517
|
}), Vn = { key: 0 }, Cn = /* @__PURE__ */ y({
|
|
518
518
|
__name: "VoSettingsPageSuitOption",
|
|
519
519
|
setup(p) {
|
|
520
|
-
const t = T(),
|
|
520
|
+
const t = T(), i = [
|
|
521
521
|
{
|
|
522
522
|
title: "Choose a page suit",
|
|
523
523
|
value: "",
|
|
@@ -545,51 +545,51 @@ const pn = /* @__PURE__ */ y({
|
|
|
545
545
|
value: "odyssey"
|
|
546
546
|
}
|
|
547
547
|
];
|
|
548
|
-
return (o,
|
|
548
|
+
return (o, a) => {
|
|
549
549
|
const u = At, r = ie;
|
|
550
|
-
return c(),
|
|
550
|
+
return c(), V(D, null, [
|
|
551
551
|
n(u, {
|
|
552
552
|
modelValue: e(t).one.suits.enabled,
|
|
553
|
-
"onUpdate:modelValue":
|
|
553
|
+
"onUpdate:modelValue": a[0] || (a[0] = (l) => e(t).one.suits.enabled = l),
|
|
554
554
|
class: "mb-2",
|
|
555
555
|
label: "Enable Page suits",
|
|
556
556
|
messages: "Customize layout elements with a unique background, styled after one of our themed releases."
|
|
557
557
|
}, null, 8, ["modelValue"]),
|
|
558
558
|
n(Le, null, {
|
|
559
559
|
default: s(() => [
|
|
560
|
-
e(t).one.suits.enabled ? (c(),
|
|
560
|
+
e(t).one.suits.enabled ? (c(), V("div", Vn, [
|
|
561
561
|
n(Yo, {
|
|
562
562
|
modelValue: e(t).one.suits.suit,
|
|
563
|
-
"onUpdate:modelValue":
|
|
563
|
+
"onUpdate:modelValue": a[1] || (a[1] = (l) => e(t).one.suits.suit = l),
|
|
564
564
|
clearable: "",
|
|
565
565
|
density: "compact",
|
|
566
566
|
"item-props": "",
|
|
567
|
-
items:
|
|
567
|
+
items: i,
|
|
568
568
|
placeholder: "Choose a page suit",
|
|
569
569
|
"single-line": "",
|
|
570
570
|
style: { "max-width": "300px" },
|
|
571
571
|
variant: "outlined"
|
|
572
572
|
}, {
|
|
573
573
|
selection: s(({ item: l }) => [
|
|
574
|
-
n(
|
|
574
|
+
n(I, {
|
|
575
575
|
icon: l.props.prependIcon,
|
|
576
576
|
size: "x-small",
|
|
577
577
|
start: ""
|
|
578
578
|
}, null, 8, ["icon"]),
|
|
579
|
-
S(" " +
|
|
579
|
+
S(" " + $(l.title), 1)
|
|
580
580
|
]),
|
|
581
581
|
_: 1
|
|
582
582
|
}, 8, ["modelValue"]),
|
|
583
583
|
n(r, { text: "Select your suit elements to display the background image:" }),
|
|
584
584
|
n(Ko, {
|
|
585
585
|
modelValue: e(t).one.suits.elements,
|
|
586
|
-
"onUpdate:modelValue":
|
|
586
|
+
"onUpdate:modelValue": a[2] || (a[2] = (l) => e(t).one.suits.elements = l),
|
|
587
587
|
color: "primary",
|
|
588
588
|
filter: "",
|
|
589
589
|
multiple: ""
|
|
590
590
|
}, {
|
|
591
591
|
default: s(() => [
|
|
592
|
-
n(
|
|
592
|
+
n(ee, {
|
|
593
593
|
"append-icon": `svg:${e(eo)}`,
|
|
594
594
|
"filter-icon": "$success",
|
|
595
595
|
text: "App Bar",
|
|
@@ -597,15 +597,15 @@ const pn = /* @__PURE__ */ y({
|
|
|
597
597
|
variant: "flat"
|
|
598
598
|
}, {
|
|
599
599
|
append: s(() => [
|
|
600
|
-
n(
|
|
600
|
+
n(Z, {
|
|
601
601
|
class: "ms-2 border-opacity-50",
|
|
602
602
|
vertical: ""
|
|
603
603
|
}),
|
|
604
|
-
n(
|
|
604
|
+
n(I, { size: "x-small" })
|
|
605
605
|
]),
|
|
606
606
|
_: 1
|
|
607
607
|
}, 8, ["append-icon"]),
|
|
608
|
-
n(
|
|
608
|
+
n(ee, {
|
|
609
609
|
"append-icon": `svg:${e(to)}`,
|
|
610
610
|
"filter-icon": "$success",
|
|
611
611
|
text: "Navigation Drawer",
|
|
@@ -613,15 +613,15 @@ const pn = /* @__PURE__ */ y({
|
|
|
613
613
|
variant: "flat"
|
|
614
614
|
}, {
|
|
615
615
|
append: s(() => [
|
|
616
|
-
n(
|
|
616
|
+
n(Z, {
|
|
617
617
|
class: "ms-2 border-opacity-50",
|
|
618
618
|
vertical: ""
|
|
619
619
|
}),
|
|
620
|
-
n(
|
|
620
|
+
n(I, { size: "x-small" })
|
|
621
621
|
]),
|
|
622
622
|
_: 1
|
|
623
623
|
}, 8, ["append-icon"]),
|
|
624
|
-
n(
|
|
624
|
+
n(ee, {
|
|
625
625
|
"append-icon": "$info",
|
|
626
626
|
"filter-icon": "$success",
|
|
627
627
|
text: "Footer",
|
|
@@ -629,18 +629,18 @@ const pn = /* @__PURE__ */ y({
|
|
|
629
629
|
variant: "flat"
|
|
630
630
|
}, {
|
|
631
631
|
append: s(() => [
|
|
632
|
-
n(
|
|
632
|
+
n(Z, {
|
|
633
633
|
class: "ms-2 border-opacity-50",
|
|
634
634
|
vertical: ""
|
|
635
635
|
}),
|
|
636
|
-
n(
|
|
636
|
+
n(I, { size: "x-small" })
|
|
637
637
|
]),
|
|
638
638
|
_: 1
|
|
639
639
|
})
|
|
640
640
|
]),
|
|
641
641
|
_: 1
|
|
642
642
|
}, 8, ["modelValue"])
|
|
643
|
-
])) :
|
|
643
|
+
])) : b("", !0)
|
|
644
644
|
]),
|
|
645
645
|
_: 1
|
|
646
646
|
})
|
|
@@ -841,8 +841,8 @@ function $n() {
|
|
|
841
841
|
}
|
|
842
842
|
};
|
|
843
843
|
}
|
|
844
|
-
const Pe =
|
|
845
|
-
const p = "https://cdn.vuetifyjs.com/docs/images/one/", t = O(),
|
|
844
|
+
const Pe = K("settings", () => {
|
|
845
|
+
const p = "https://cdn.vuetifyjs.com/docs/images/one/", t = O(), i = T(), o = Te(), a = $n(), u = {
|
|
846
846
|
blackguard: {
|
|
847
847
|
"app-bar": p + "suits/blackguard/blackguard-app-bar.png",
|
|
848
848
|
drawer: p + "suits/blackguard/blackguard-app-drawer.png",
|
|
@@ -863,11 +863,11 @@ const Pe = X("settings", () => {
|
|
|
863
863
|
drawer: p + "suits/odyssey/odyssey-app-drawer.png",
|
|
864
864
|
footer: p + "suits/odyssey/odyssey-app-footer.png"
|
|
865
865
|
}
|
|
866
|
-
}, r =
|
|
867
|
-
if (!
|
|
866
|
+
}, r = k(() => {
|
|
867
|
+
if (!i.one.suits.suit || !i.one.suits.enabled || !t.isSubscriber)
|
|
868
868
|
return {};
|
|
869
|
-
const l = u[
|
|
870
|
-
for (const f of
|
|
869
|
+
const l = u[i.one.suits.suit.toLowerCase()], d = {};
|
|
870
|
+
for (const f of i.one.suits.elements) {
|
|
871
871
|
const g = f;
|
|
872
872
|
d[g] = l[g];
|
|
873
873
|
}
|
|
@@ -875,9 +875,9 @@ const Pe = X("settings", () => {
|
|
|
875
875
|
});
|
|
876
876
|
return o.themes.value = {
|
|
877
877
|
...o.themes.value,
|
|
878
|
-
...
|
|
879
|
-
}, H(() =>
|
|
880
|
-
l === "system" ? o.change(window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light") : (o.change(l),
|
|
878
|
+
...a
|
|
879
|
+
}, H(() => i.one.theme, (l) => {
|
|
880
|
+
l === "system" ? o.change(window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light") : (o.change(l), i.one.suits.suit = u[l] ? l : ""), i.one.theme = l;
|
|
881
881
|
}, { immediate: !0 }), {
|
|
882
882
|
suit: r,
|
|
883
883
|
CDN_URL: p
|
|
@@ -890,7 +890,7 @@ const Pe = X("settings", () => {
|
|
|
890
890
|
},
|
|
891
891
|
emits: ["update:modelValue"],
|
|
892
892
|
setup(p) {
|
|
893
|
-
const t = W(p, "modelValue"),
|
|
893
|
+
const t = W(p, "modelValue"), i = O(), o = Pe(), a = T(), u = k(() => [
|
|
894
894
|
{
|
|
895
895
|
title: "Light",
|
|
896
896
|
subtitle: "A standard light theme.",
|
|
@@ -918,16 +918,16 @@ const Pe = X("settings", () => {
|
|
|
918
918
|
image: o.CDN_URL + "themes/high-contrast.png",
|
|
919
919
|
prependIcon: `svg:${ao}`,
|
|
920
920
|
value: "highContrast",
|
|
921
|
-
disabled: !
|
|
921
|
+
disabled: !i.isSubscriber
|
|
922
922
|
}
|
|
923
|
-
]), r =
|
|
923
|
+
]), r = k(() => [
|
|
924
924
|
{
|
|
925
925
|
title: "Blackguard",
|
|
926
926
|
subtitle: "A theme for v3.4 Blackguard.",
|
|
927
927
|
image: o.CDN_URL + "themes/blackguard.png",
|
|
928
928
|
prependIcon: `svg:${pt}`,
|
|
929
929
|
value: "blackguard",
|
|
930
|
-
disabled: !
|
|
930
|
+
disabled: !i.isSubscriber
|
|
931
931
|
},
|
|
932
932
|
{
|
|
933
933
|
title: "Polaris",
|
|
@@ -935,7 +935,7 @@ const Pe = X("settings", () => {
|
|
|
935
935
|
image: o.CDN_URL + "themes/polaris.png",
|
|
936
936
|
prependIcon: `svg:${mt}`,
|
|
937
937
|
value: "polaris",
|
|
938
|
-
disabled: !
|
|
938
|
+
disabled: !i.isSubscriber
|
|
939
939
|
},
|
|
940
940
|
{
|
|
941
941
|
title: "Nebula",
|
|
@@ -943,7 +943,7 @@ const Pe = X("settings", () => {
|
|
|
943
943
|
image: o.CDN_URL + "themes/nebula.png",
|
|
944
944
|
prependIcon: `svg:${ft}`,
|
|
945
945
|
value: "nebula",
|
|
946
|
-
disabled: !
|
|
946
|
+
disabled: !i.isSubscriber
|
|
947
947
|
},
|
|
948
948
|
{
|
|
949
949
|
title: "Odyssey",
|
|
@@ -951,28 +951,28 @@ const Pe = X("settings", () => {
|
|
|
951
951
|
image: o.CDN_URL + "themes/odyssey.png",
|
|
952
952
|
prependIcon: `svg:${vt}`,
|
|
953
953
|
value: "odyssey",
|
|
954
|
-
disabled: !
|
|
954
|
+
disabled: !i.isSubscriber
|
|
955
955
|
}
|
|
956
|
-
]), l =
|
|
956
|
+
]), l = k(() => [
|
|
957
957
|
{ title: "Standard", items: u.value },
|
|
958
958
|
{ title: "Releases", items: r.value }
|
|
959
|
-
]), d =
|
|
960
|
-
get: () => !
|
|
959
|
+
]), d = k({
|
|
960
|
+
get: () => !a.one.ads.enabled,
|
|
961
961
|
set: (_) => {
|
|
962
|
-
|
|
962
|
+
a.one.ads.enabled = !_;
|
|
963
963
|
}
|
|
964
964
|
}), f = ke();
|
|
965
965
|
H(f, async () => {
|
|
966
|
-
f.value.one === "settings" && (
|
|
966
|
+
f.value.one === "settings" && (i.isOpen = !0, await be(), t.value = !0);
|
|
967
967
|
}, { immediate: !0 });
|
|
968
|
-
function g(_,
|
|
969
|
-
|
|
968
|
+
function g(_, h) {
|
|
969
|
+
h.disabled || (a.one.theme = h.value, _?.());
|
|
970
970
|
}
|
|
971
|
-
return (_,
|
|
972
|
-
const
|
|
973
|
-
return c(), m(
|
|
971
|
+
return (_, h) => {
|
|
972
|
+
const C = ie, L = Cn, U = At, Y = de;
|
|
973
|
+
return c(), m(Y, {
|
|
974
974
|
modelValue: t.value,
|
|
975
|
-
"onUpdate:modelValue":
|
|
975
|
+
"onUpdate:modelValue": h[6] || (h[6] = (x) => t.value = x),
|
|
976
976
|
"prepend-icon": `svg:${e(io)}`,
|
|
977
977
|
title: "Settings"
|
|
978
978
|
}, {
|
|
@@ -981,21 +981,21 @@ const Pe = X("settings", () => {
|
|
|
981
981
|
default: s(() => [
|
|
982
982
|
n(ce, { scrollable: "" }, {
|
|
983
983
|
default: s(() => [
|
|
984
|
-
n(
|
|
984
|
+
n(X, { class: "px-7" }, {
|
|
985
985
|
default: s(() => [
|
|
986
|
-
n(
|
|
986
|
+
n(C, {
|
|
987
987
|
text: "Customize your documentation experience with light and dark themes, as well as a combination of both named.",
|
|
988
988
|
title: "Theme"
|
|
989
989
|
}),
|
|
990
990
|
n(bt, {
|
|
991
|
-
modelValue: e(
|
|
992
|
-
"onUpdate:modelValue":
|
|
991
|
+
modelValue: e(a).one.theme,
|
|
992
|
+
"onUpdate:modelValue": h[0] || (h[0] = (x) => e(a).one.theme = x),
|
|
993
993
|
mandatory: ""
|
|
994
994
|
}, {
|
|
995
995
|
default: s(() => [
|
|
996
996
|
n(fe, { dense: "" }, {
|
|
997
997
|
default: s(() => [
|
|
998
|
-
(c(!0),
|
|
998
|
+
(c(!0), V(D, null, G(l.value, (x, pe) => (c(), m(re, {
|
|
999
999
|
key: pe,
|
|
1000
1000
|
class: "d-flex flex-column ga-3",
|
|
1001
1001
|
cols: "12",
|
|
@@ -1004,17 +1004,17 @@ const Pe = X("settings", () => {
|
|
|
1004
1004
|
default: s(() => [
|
|
1005
1005
|
n(Ho, { class: "mb-n4" }, {
|
|
1006
1006
|
default: s(() => [
|
|
1007
|
-
S(
|
|
1007
|
+
S($(x.title), 1)
|
|
1008
1008
|
]),
|
|
1009
1009
|
_: 2
|
|
1010
1010
|
}, 1024),
|
|
1011
|
-
(c(!0),
|
|
1011
|
+
(c(!0), V(D, null, G(x.items, (B) => (c(), m(Ze, {
|
|
1012
1012
|
key: B.value,
|
|
1013
1013
|
value: B.value
|
|
1014
1014
|
}, {
|
|
1015
1015
|
default: s(({ toggle: Bt, isSelected: et }) => [
|
|
1016
1016
|
n(ve, null, {
|
|
1017
|
-
default: s(({ props:
|
|
1017
|
+
default: s(({ props: Et, isHovering: Ft }) => [
|
|
1018
1018
|
n(P, R({
|
|
1019
1019
|
color: et ? "primary" : "surface-variant",
|
|
1020
1020
|
height: "76",
|
|
@@ -1025,13 +1025,13 @@ const Pe = X("settings", () => {
|
|
|
1025
1025
|
subtitle: B.disabled ? "🔓 Unlock with Vuetify One" : B.subtitle,
|
|
1026
1026
|
title: B.title,
|
|
1027
1027
|
variant: "tonal"
|
|
1028
|
-
}, { ref_for: !0 },
|
|
1028
|
+
}, { ref_for: !0 }, Et, {
|
|
1029
1029
|
onClick: (Ta) => g(Bt, B)
|
|
1030
1030
|
}), {
|
|
1031
1031
|
image: s(() => [
|
|
1032
1032
|
n(se, {
|
|
1033
1033
|
style: it({
|
|
1034
|
-
filter: et ||
|
|
1034
|
+
filter: et || Ft ? "none" : "grayscale(100%)"
|
|
1035
1035
|
})
|
|
1036
1036
|
}, null, 8, ["style"])
|
|
1037
1037
|
]),
|
|
@@ -1052,35 +1052,35 @@ const Pe = X("settings", () => {
|
|
|
1052
1052
|
]),
|
|
1053
1053
|
_: 1
|
|
1054
1054
|
}, 8, ["modelValue"]),
|
|
1055
|
-
e(
|
|
1056
|
-
n(
|
|
1055
|
+
e(i).isSubscriber ? (c(), V(D, { key: 0 }, [
|
|
1056
|
+
n(Z, { class: "mt-6 mb-4" }),
|
|
1057
1057
|
n(L)
|
|
1058
|
-
], 64)) :
|
|
1058
|
+
], 64)) : b("", !0)
|
|
1059
1059
|
]),
|
|
1060
1060
|
_: 1
|
|
1061
1061
|
}),
|
|
1062
|
-
n(
|
|
1063
|
-
n(
|
|
1062
|
+
n(Z),
|
|
1063
|
+
n(X, { class: "px-7" }, {
|
|
1064
1064
|
default: s(() => [
|
|
1065
|
-
n(
|
|
1065
|
+
n(C, {
|
|
1066
1066
|
text: "These options change your browsing experience within Vuetify properties",
|
|
1067
1067
|
title: "Experience"
|
|
1068
1068
|
}),
|
|
1069
|
-
e(
|
|
1069
|
+
e(i).isSubscriber ? (c(), m(U, {
|
|
1070
1070
|
key: 0,
|
|
1071
1071
|
modelValue: d.value,
|
|
1072
|
-
"onUpdate:modelValue":
|
|
1072
|
+
"onUpdate:modelValue": h[1] || (h[1] = (x) => d.value = x),
|
|
1073
1073
|
class: "mb-2",
|
|
1074
1074
|
label: "Disable Ads",
|
|
1075
1075
|
messages: "Disable traditional advertisements on all documentation pages."
|
|
1076
|
-
}, null, 8, ["modelValue"])) :
|
|
1076
|
+
}, null, 8, ["modelValue"])) : b("", !0),
|
|
1077
1077
|
n(Le, null, {
|
|
1078
1078
|
default: s(() => [
|
|
1079
|
-
|
|
1079
|
+
N(v("div", xn, [
|
|
1080
1080
|
v("div", Ln, [
|
|
1081
1081
|
n(U, {
|
|
1082
|
-
modelValue: e(
|
|
1083
|
-
"onUpdate:modelValue":
|
|
1082
|
+
modelValue: e(a).one.ads.house,
|
|
1083
|
+
"onUpdate:modelValue": h[2] || (h[2] = (x) => e(a).one.ads.house = x),
|
|
1084
1084
|
label: "Show House Ads",
|
|
1085
1085
|
messages: "These advertisements are for Vuetify products and services only."
|
|
1086
1086
|
}, null, 8, ["modelValue"])
|
|
@@ -1092,40 +1092,40 @@ const Pe = X("settings", () => {
|
|
|
1092
1092
|
_: 1
|
|
1093
1093
|
}),
|
|
1094
1094
|
n(U, {
|
|
1095
|
-
modelValue: e(
|
|
1096
|
-
"onUpdate:modelValue":
|
|
1095
|
+
modelValue: e(a).one.quicklinks,
|
|
1096
|
+
"onUpdate:modelValue": h[3] || (h[3] = (x) => e(a).one.quicklinks = x),
|
|
1097
1097
|
label: "Show Pinned Ecosystem Links",
|
|
1098
1098
|
messages: "Display your pinned ecosystem links below your avatar in the user menu."
|
|
1099
1099
|
}, null, 8, ["modelValue"])
|
|
1100
1100
|
]),
|
|
1101
1101
|
_: 1
|
|
1102
1102
|
}),
|
|
1103
|
-
n(
|
|
1104
|
-
e(
|
|
1103
|
+
n(Z),
|
|
1104
|
+
e(i).isSubscriber ? (c(), m(X, {
|
|
1105
1105
|
key: 0,
|
|
1106
1106
|
class: "px-7"
|
|
1107
1107
|
}, {
|
|
1108
1108
|
default: s(() => [
|
|
1109
|
-
n(
|
|
1109
|
+
n(C, {
|
|
1110
1110
|
text: "Vuetify will communicate with you through banners and notifications. You can disable these features here or reset your local notification cache.",
|
|
1111
1111
|
title: "Communication"
|
|
1112
1112
|
}),
|
|
1113
1113
|
n(U, {
|
|
1114
|
-
modelValue: e(
|
|
1115
|
-
"onUpdate:modelValue":
|
|
1114
|
+
modelValue: e(a).one.notifications.enabled,
|
|
1115
|
+
"onUpdate:modelValue": h[4] || (h[4] = (x) => e(a).one.notifications.enabled = x),
|
|
1116
1116
|
class: "mb-2",
|
|
1117
1117
|
label: "Enable Notifications",
|
|
1118
1118
|
messages: "Notifications are short form messages that provide information about new releases, updates, and other important information."
|
|
1119
1119
|
}, null, 8, ["modelValue"]),
|
|
1120
1120
|
n(U, {
|
|
1121
|
-
modelValue: e(
|
|
1122
|
-
"onUpdate:modelValue":
|
|
1121
|
+
modelValue: e(a).one.banners.enabled,
|
|
1122
|
+
"onUpdate:modelValue": h[5] || (h[5] = (x) => e(a).one.banners.enabled = x),
|
|
1123
1123
|
label: "Enable Banners",
|
|
1124
1124
|
messages: "Banners are located at the top of the screen and provide a callout for important information."
|
|
1125
1125
|
}, null, 8, ["modelValue"])
|
|
1126
1126
|
]),
|
|
1127
1127
|
_: 1
|
|
1128
|
-
})) :
|
|
1128
|
+
})) : b("", !0)
|
|
1129
1129
|
]),
|
|
1130
1130
|
_: 1
|
|
1131
1131
|
})
|
|
@@ -1140,9 +1140,9 @@ const Pe = X("settings", () => {
|
|
|
1140
1140
|
}), Sn = /* @__PURE__ */ y({
|
|
1141
1141
|
__name: "VoSettingsListItem",
|
|
1142
1142
|
setup(p) {
|
|
1143
|
-
const t =
|
|
1144
|
-
return (
|
|
1145
|
-
const
|
|
1143
|
+
const t = M(!1);
|
|
1144
|
+
return (i, o) => {
|
|
1145
|
+
const a = wn, u = q;
|
|
1146
1146
|
return c(), m(u, {
|
|
1147
1147
|
active: e(t),
|
|
1148
1148
|
link: "",
|
|
@@ -1151,7 +1151,7 @@ const Pe = X("settings", () => {
|
|
|
1151
1151
|
title: "Settings"
|
|
1152
1152
|
}, {
|
|
1153
1153
|
default: s(() => [
|
|
1154
|
-
n(
|
|
1154
|
+
n(a, {
|
|
1155
1155
|
modelValue: e(t),
|
|
1156
1156
|
"onUpdate:modelValue": o[0] || (o[0] = (r) => j(t) ? t.value = r : null)
|
|
1157
1157
|
}, null, 8, ["modelValue"])
|
|
@@ -1160,15 +1160,15 @@ const Pe = X("settings", () => {
|
|
|
1160
1160
|
}, 8, ["active", "prepend-icon"]);
|
|
1161
1161
|
};
|
|
1162
1162
|
}
|
|
1163
|
-
}), ze =
|
|
1164
|
-
const p =
|
|
1163
|
+
}), ze = K("api-key", () => {
|
|
1164
|
+
const p = J(), t = E(null), i = M(!1), o = k(() => t.value?.apiKey || ""), a = k(() => {
|
|
1165
1165
|
if (!o.value)
|
|
1166
1166
|
return "";
|
|
1167
1167
|
const l = o.value;
|
|
1168
1168
|
return `${l.slice(0, 6)}...${l.slice(-6)}`;
|
|
1169
1169
|
});
|
|
1170
1170
|
async function u(l = !1) {
|
|
1171
|
-
!
|
|
1171
|
+
!i.value && l && (i.value = !0);
|
|
1172
1172
|
const d = l ? "regenerate" : "generate", f = await p[l ? "post" : "fetch"](`/one/mcp/${d}`);
|
|
1173
1173
|
return t.value = f, f;
|
|
1174
1174
|
}
|
|
@@ -1179,18 +1179,18 @@ const Pe = X("settings", () => {
|
|
|
1179
1179
|
return {
|
|
1180
1180
|
accessToken: Se(t),
|
|
1181
1181
|
key: Se(o),
|
|
1182
|
-
regenerated: Se(
|
|
1183
|
-
trim: Se(
|
|
1182
|
+
regenerated: Se(i),
|
|
1183
|
+
trim: Se(a),
|
|
1184
1184
|
generate: u,
|
|
1185
1185
|
fetch: r
|
|
1186
1186
|
};
|
|
1187
1187
|
});
|
|
1188
1188
|
function Oe(p = 1e3) {
|
|
1189
|
-
const t =
|
|
1190
|
-
async function
|
|
1189
|
+
const t = M(!1);
|
|
1190
|
+
async function i(o) {
|
|
1191
1191
|
await navigator.clipboard.writeText(o), t.value = !0, setTimeout(() => t.value = !1, p);
|
|
1192
1192
|
}
|
|
1193
|
-
return { copied: t, copy:
|
|
1193
|
+
return { copied: t, copy: i };
|
|
1194
1194
|
}
|
|
1195
1195
|
const Mn = /* @__PURE__ */ y({
|
|
1196
1196
|
__name: "VoMcpCopyDialog",
|
|
@@ -1200,12 +1200,12 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1200
1200
|
},
|
|
1201
1201
|
emits: ["update:modelValue"],
|
|
1202
1202
|
setup(p) {
|
|
1203
|
-
const t = ze(), { copy:
|
|
1203
|
+
const t = ze(), { copy: i, copied: o } = Oe(), a = W(p, "modelValue");
|
|
1204
1204
|
return (u, r) => {
|
|
1205
1205
|
const l = lt("v-icon-btn");
|
|
1206
1206
|
return c(), m(Ce, {
|
|
1207
|
-
modelValue:
|
|
1208
|
-
"onUpdate:modelValue": r[2] || (r[2] = (d) =>
|
|
1207
|
+
modelValue: a.value,
|
|
1208
|
+
"onUpdate:modelValue": r[2] || (r[2] = (d) => a.value = d),
|
|
1209
1209
|
"max-width": "500"
|
|
1210
1210
|
}, {
|
|
1211
1211
|
default: s(({ isActive: d }) => [
|
|
@@ -1221,8 +1221,8 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1221
1221
|
}, null, 8, ["onClick"])
|
|
1222
1222
|
]),
|
|
1223
1223
|
default: s(() => [
|
|
1224
|
-
n(
|
|
1225
|
-
n(
|
|
1224
|
+
n(Z),
|
|
1225
|
+
n(X, null, {
|
|
1226
1226
|
default: s(() => [
|
|
1227
1227
|
r[4] || (r[4] = v("p", { class: "mb-4" }, [
|
|
1228
1228
|
S(" Please save your secret key in a safe place since "),
|
|
@@ -1242,12 +1242,12 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1242
1242
|
"prepend-icon": e(o) ? "mdi-check" : "mdi-content-copy",
|
|
1243
1243
|
size: "small",
|
|
1244
1244
|
variant: "flat",
|
|
1245
|
-
onClick: r[0] || (r[0] = (f) => e(
|
|
1245
|
+
onClick: r[0] || (r[0] = (f) => e(i)(e(t).key))
|
|
1246
1246
|
}, {
|
|
1247
1247
|
prepend: s(() => [
|
|
1248
1248
|
n(xe, { "hide-on-leave": "" }, {
|
|
1249
1249
|
default: s(() => [
|
|
1250
|
-
(c(), m(
|
|
1250
|
+
(c(), m(I, {
|
|
1251
1251
|
key: String(e(o))
|
|
1252
1252
|
}))
|
|
1253
1253
|
]),
|
|
@@ -1261,7 +1261,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1261
1261
|
}, 8, ["prepend-icon"])
|
|
1262
1262
|
]),
|
|
1263
1263
|
_: 1
|
|
1264
|
-
}, 8, ["model-value"])) :
|
|
1264
|
+
}, 8, ["model-value"])) : b("", !0)
|
|
1265
1265
|
]),
|
|
1266
1266
|
_: 1
|
|
1267
1267
|
}),
|
|
@@ -1274,7 +1274,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1274
1274
|
size: "small",
|
|
1275
1275
|
text: "Done",
|
|
1276
1276
|
variant: "flat",
|
|
1277
|
-
onClick: r[1] || (r[1] = (f) =>
|
|
1277
|
+
onClick: r[1] || (r[1] = (f) => a.value = !1)
|
|
1278
1278
|
})
|
|
1279
1279
|
]),
|
|
1280
1280
|
_: 1
|
|
@@ -1290,7 +1290,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1290
1290
|
}), In = { class: "d-flex align-center justify-end" }, Dn = { class: "text-end" }, An = /* @__PURE__ */ y({
|
|
1291
1291
|
__name: "VoMcpTokenTable",
|
|
1292
1292
|
setup(p) {
|
|
1293
|
-
const t = ze(), { copy:
|
|
1293
|
+
const t = ze(), { copy: i, copied: o } = Oe(2e3), a = me();
|
|
1294
1294
|
return (u, r) => (c(), m(Qo, { class: "rounded border mt-4" }, {
|
|
1295
1295
|
default: s(() => [
|
|
1296
1296
|
v("thead", null, [
|
|
@@ -1299,12 +1299,12 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1299
1299
|
r[3] || (r[3] = v("th", null, "Created", -1)),
|
|
1300
1300
|
v("th", In, [
|
|
1301
1301
|
r[1] || (r[1] = S(" Last Used ", -1)),
|
|
1302
|
-
|
|
1302
|
+
N(n(I, {
|
|
1303
1303
|
end: "",
|
|
1304
1304
|
icon: "$info",
|
|
1305
1305
|
size: "1em"
|
|
1306
1306
|
}, null, 512), [
|
|
1307
|
-
[
|
|
1307
|
+
[Q, "This is updated within the last 10 minutes", "top"]
|
|
1308
1308
|
])
|
|
1309
1309
|
])
|
|
1310
1310
|
])
|
|
@@ -1319,10 +1319,10 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1319
1319
|
slim: "",
|
|
1320
1320
|
text: e(t).key ? e(t).trim : "",
|
|
1321
1321
|
variant: l || e(o) ? "tonal" : "text",
|
|
1322
|
-
onClick: r[0] || (r[0] = (f) => e(
|
|
1322
|
+
onClick: r[0] || (r[0] = (f) => e(i)(e(t).key))
|
|
1323
1323
|
}), {
|
|
1324
1324
|
append: s(() => [
|
|
1325
|
-
n(
|
|
1325
|
+
n(I, {
|
|
1326
1326
|
icon: e(o) ? "$success" : `svg:${e(Re)}`,
|
|
1327
1327
|
opacity: l || e(o) ? 1 : 0
|
|
1328
1328
|
}, null, 8, ["icon", "opacity"])
|
|
@@ -1333,8 +1333,8 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1333
1333
|
_: 1
|
|
1334
1334
|
})
|
|
1335
1335
|
]),
|
|
1336
|
-
v("td", null,
|
|
1337
|
-
v("td", Dn,
|
|
1336
|
+
v("td", null, $(e(t).accessToken ? e(a).format(e(t).accessToken.createdAt, "fullDate") : ""), 1),
|
|
1337
|
+
v("td", Dn, $(e(t).accessToken ? e(a).format(e(t).accessToken.updatedAt, "fullDate") : ""), 1)
|
|
1338
1338
|
])
|
|
1339
1339
|
])
|
|
1340
1340
|
]),
|
|
@@ -1344,7 +1344,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1344
1344
|
}), Tn = { class: "my-4" }, Un = { class: "bg-surface-variant rounded pa-2 d-block" }, Pn = /* @__PURE__ */ y({
|
|
1345
1345
|
__name: "VoMcpHowTo",
|
|
1346
1346
|
setup(p) {
|
|
1347
|
-
const t = ze(), { copy:
|
|
1347
|
+
const t = ze(), { copy: i, copied: o } = Oe(), a = k(() => `npx -y @vuetify/mcp config --api-key="${t.key || "YOUR_KEY"}"`), u = k(() => t.key ? `npx -y @vuetify/mcp config --api-key="${t.trim}"` : a.value);
|
|
1348
1348
|
return (r, l) => (c(), m(Jo, {
|
|
1349
1349
|
"bg-color": "surface-variant",
|
|
1350
1350
|
class: "mb-4",
|
|
@@ -1353,7 +1353,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1353
1353
|
default: s(() => [
|
|
1354
1354
|
n(en, null, {
|
|
1355
1355
|
title: s(() => [
|
|
1356
|
-
n(
|
|
1356
|
+
n(I, {
|
|
1357
1357
|
icon: `svg:${e(gt)}`,
|
|
1358
1358
|
opacity: "0.6",
|
|
1359
1359
|
start: ""
|
|
@@ -1367,13 +1367,13 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1367
1367
|
l[3] || (l[3] = v("p", { class: "mb-4 mt-2" }, " Run the following command to configure your favorite IDE or AI agent: ", -1)),
|
|
1368
1368
|
v("div", Tn, [
|
|
1369
1369
|
v("code", Un, [
|
|
1370
|
-
S(
|
|
1371
|
-
n(
|
|
1370
|
+
S($(e(u)) + " ", 1),
|
|
1371
|
+
n(I, {
|
|
1372
1372
|
class: "ms-2",
|
|
1373
1373
|
end: "",
|
|
1374
1374
|
icon: e(o) ? "$success" : `svg:${e(Re)}`,
|
|
1375
1375
|
size: "1em",
|
|
1376
|
-
onClick: l[0] || (l[0] = (d) => e(
|
|
1376
|
+
onClick: l[0] || (l[0] = (d) => e(i)(e(a)))
|
|
1377
1377
|
}, null, 8, ["icon"])
|
|
1378
1378
|
])
|
|
1379
1379
|
]),
|
|
@@ -1406,17 +1406,17 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1406
1406
|
},
|
|
1407
1407
|
emits: ["update:modelValue"],
|
|
1408
1408
|
setup(p) {
|
|
1409
|
-
const t = ze(),
|
|
1409
|
+
const t = ze(), i = T(), o = M(!1), a = W(p, "modelValue");
|
|
1410
1410
|
async function u(r = !1) {
|
|
1411
1411
|
await t.generate(r), o.value = !0;
|
|
1412
1412
|
}
|
|
1413
|
-
return H(
|
|
1414
|
-
r && (
|
|
1413
|
+
return H(a, async (r) => {
|
|
1414
|
+
r && (i.ecosystem.mcp.seen = !0, await t.fetch());
|
|
1415
1415
|
}), (r, l) => {
|
|
1416
|
-
const d = ie, f = Pn, g = An, _ = Mn,
|
|
1417
|
-
return c(), m(
|
|
1418
|
-
modelValue:
|
|
1419
|
-
"onUpdate:modelValue": l[3] || (l[3] = (
|
|
1416
|
+
const d = ie, f = Pn, g = An, _ = Mn, h = de;
|
|
1417
|
+
return c(), m(h, {
|
|
1418
|
+
modelValue: a.value,
|
|
1419
|
+
"onUpdate:modelValue": l[3] || (l[3] = (C) => a.value = C),
|
|
1420
1420
|
height: "auto",
|
|
1421
1421
|
"prepend-icon": `svg:${e(uo)}`,
|
|
1422
1422
|
title: "API Key"
|
|
@@ -1427,7 +1427,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1427
1427
|
n(ce, null, {
|
|
1428
1428
|
default: s(() => [
|
|
1429
1429
|
v("div", zn, [
|
|
1430
|
-
n(
|
|
1430
|
+
n(X, null, {
|
|
1431
1431
|
default: s(() => [
|
|
1432
1432
|
n(d, {
|
|
1433
1433
|
text: "As a subscriber of Vuetify One, you have access to create a personal MCP API key.",
|
|
@@ -1443,34 +1443,34 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1443
1443
|
default: s(() => [
|
|
1444
1444
|
n(re, { cols: "auto" }, {
|
|
1445
1445
|
default: s(() => [
|
|
1446
|
-
e(t).key ? e(t).regenerated ?
|
|
1446
|
+
e(t).key ? e(t).regenerated ? b("", !0) : (c(), m(A, {
|
|
1447
1447
|
key: 1,
|
|
1448
1448
|
color: "success",
|
|
1449
1449
|
"prepend-icon": `svg:${e(po)}`,
|
|
1450
1450
|
text: "Regenerate API Key",
|
|
1451
1451
|
variant: "flat",
|
|
1452
|
-
onClick: l[1] || (l[1] = (
|
|
1452
|
+
onClick: l[1] || (l[1] = (C) => u(!0))
|
|
1453
1453
|
}, null, 8, ["prepend-icon"])) : (c(), m(A, {
|
|
1454
1454
|
key: 0,
|
|
1455
1455
|
color: "success",
|
|
1456
1456
|
"prepend-icon": `svg:${e(co)}`,
|
|
1457
1457
|
text: "Generate API Key",
|
|
1458
1458
|
variant: "flat",
|
|
1459
|
-
onClick: l[0] || (l[0] = (
|
|
1459
|
+
onClick: l[0] || (l[0] = (C) => u(!1))
|
|
1460
1460
|
}, null, 8, ["prepend-icon"]))
|
|
1461
1461
|
]),
|
|
1462
1462
|
_: 1
|
|
1463
1463
|
})
|
|
1464
1464
|
]),
|
|
1465
1465
|
_: 1
|
|
1466
|
-
})) :
|
|
1467
|
-
e(t).key ? (c(),
|
|
1466
|
+
})) : b("", !0),
|
|
1467
|
+
e(t).key ? (c(), V(D, { key: 1 }, [
|
|
1468
1468
|
n(g),
|
|
1469
1469
|
n(_, {
|
|
1470
1470
|
modelValue: e(o),
|
|
1471
|
-
"onUpdate:modelValue": l[2] || (l[2] = (
|
|
1471
|
+
"onUpdate:modelValue": l[2] || (l[2] = (C) => j(o) ? o.value = C : null)
|
|
1472
1472
|
}, null, 8, ["modelValue"])
|
|
1473
|
-
], 64)) :
|
|
1473
|
+
], 64)) : b("", !0)
|
|
1474
1474
|
]),
|
|
1475
1475
|
_: 1
|
|
1476
1476
|
})
|
|
@@ -1489,11 +1489,11 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1489
1489
|
}), Bn = /* @__PURE__ */ y({
|
|
1490
1490
|
__name: "VoMcpListItem",
|
|
1491
1491
|
setup(p) {
|
|
1492
|
-
const t = T(),
|
|
1493
|
-
return (o,
|
|
1492
|
+
const t = T(), i = M(!1);
|
|
1493
|
+
return (o, a) => {
|
|
1494
1494
|
const u = On, r = q;
|
|
1495
1495
|
return c(), m(r, {
|
|
1496
|
-
active: e(
|
|
1496
|
+
active: e(i),
|
|
1497
1497
|
link: "",
|
|
1498
1498
|
"prepend-icon": `svg:${e(mo)}`,
|
|
1499
1499
|
rounded: "lg",
|
|
@@ -1501,8 +1501,8 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1501
1501
|
}, z({
|
|
1502
1502
|
default: s(() => [
|
|
1503
1503
|
n(u, {
|
|
1504
|
-
modelValue: e(
|
|
1505
|
-
"onUpdate:modelValue":
|
|
1504
|
+
modelValue: e(i),
|
|
1505
|
+
"onUpdate:modelValue": a[0] || (a[0] = (l) => j(i) ? i.value = l : null)
|
|
1506
1506
|
}, null, 8, ["modelValue"])
|
|
1507
1507
|
]),
|
|
1508
1508
|
_: 2
|
|
@@ -1510,12 +1510,12 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1510
1510
|
e(t).ecosystem.mcp.seen ? void 0 : {
|
|
1511
1511
|
name: "append",
|
|
1512
1512
|
fn: s(() => [
|
|
1513
|
-
n(
|
|
1513
|
+
n(ee, {
|
|
1514
1514
|
color: "success",
|
|
1515
1515
|
size: "x-small",
|
|
1516
1516
|
variant: "flat"
|
|
1517
1517
|
}, {
|
|
1518
|
-
default: s(() => [...
|
|
1518
|
+
default: s(() => [...a[1] || (a[1] = [
|
|
1519
1519
|
S("NEW", -1)
|
|
1520
1520
|
])]),
|
|
1521
1521
|
_: 1
|
|
@@ -1526,11 +1526,11 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1526
1526
|
]), 1032, ["active", "prepend-icon"]);
|
|
1527
1527
|
};
|
|
1528
1528
|
}
|
|
1529
|
-
}),
|
|
1529
|
+
}), En = { class: "text-caption" }, Fn = /* @__PURE__ */ y({
|
|
1530
1530
|
__name: "VoSubscriptionInvoices",
|
|
1531
1531
|
setup(p) {
|
|
1532
|
-
const t = me(),
|
|
1533
|
-
return (o,
|
|
1532
|
+
const t = me(), i = O();
|
|
1533
|
+
return (o, a) => {
|
|
1534
1534
|
const u = ie;
|
|
1535
1535
|
return c(), m(fe, null, {
|
|
1536
1536
|
default: s(() => [
|
|
@@ -1548,18 +1548,18 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1548
1548
|
n(Vt, {
|
|
1549
1549
|
"fixed-header": "",
|
|
1550
1550
|
height: "450",
|
|
1551
|
-
items: e(
|
|
1552
|
-
loading: e(
|
|
1551
|
+
items: e(i).invoices,
|
|
1552
|
+
loading: e(i).isLoading,
|
|
1553
1553
|
sticky: ""
|
|
1554
1554
|
}, {
|
|
1555
1555
|
"item.date": s(({ item: r }) => [
|
|
1556
|
-
v("div",
|
|
1556
|
+
v("div", En, $(e(t).format(new Date(r.date * 1e3), "fullDateWithWeekday")), 1)
|
|
1557
1557
|
]),
|
|
1558
1558
|
"item.amount": s(({ item: r }) => [
|
|
1559
|
-
S(" $" +
|
|
1559
|
+
S(" $" + $(r.amount / 100), 1)
|
|
1560
1560
|
]),
|
|
1561
1561
|
"item.status": s(({ item: r }) => [
|
|
1562
|
-
n(
|
|
1562
|
+
n(ee, {
|
|
1563
1563
|
border: "success sm",
|
|
1564
1564
|
class: "text-capitalize",
|
|
1565
1565
|
color: "success",
|
|
@@ -1595,10 +1595,10 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1595
1595
|
__name: "VoSubscriptionStatus",
|
|
1596
1596
|
emits: ["change:subscription"],
|
|
1597
1597
|
setup(p, { emit: t }) {
|
|
1598
|
-
const
|
|
1598
|
+
const i = me(), o = O(), a = t, u = k(() => {
|
|
1599
1599
|
if (!o.info) return;
|
|
1600
1600
|
const l = new Date(o.info.currentPeriodEnd * 1e3);
|
|
1601
|
-
return
|
|
1601
|
+
return i.format(l, "keyboardDate");
|
|
1602
1602
|
});
|
|
1603
1603
|
async function r() {
|
|
1604
1604
|
!o.interval || !o.subscriptionType || (o.isLoading = !0, o.subscribe(o.interval, o.subscriptionType));
|
|
@@ -1617,7 +1617,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1617
1617
|
title: "Subscription Status"
|
|
1618
1618
|
}, z({
|
|
1619
1619
|
prepend: s(() => [
|
|
1620
|
-
n(
|
|
1620
|
+
n(I, {
|
|
1621
1621
|
color: e(o).isSubscriber ? "success" : void 0
|
|
1622
1622
|
}, null, 8, ["color"])
|
|
1623
1623
|
]),
|
|
@@ -1631,14 +1631,14 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1631
1631
|
text: "Activate",
|
|
1632
1632
|
variant: "outlined",
|
|
1633
1633
|
onClick: r
|
|
1634
|
-
}, null, 8, ["loading"])) :
|
|
1634
|
+
}, null, 8, ["loading"])) : b("", !0),
|
|
1635
1635
|
e(o).hasBilling ? (c(), m(f, {
|
|
1636
1636
|
key: 1,
|
|
1637
1637
|
loading: e(o).isLoading,
|
|
1638
1638
|
"prepend-icon": `svg:${e(fo)}`,
|
|
1639
1639
|
text: "Billing",
|
|
1640
1640
|
onClick: e(o).manage
|
|
1641
|
-
}, null, 8, ["loading", "prepend-icon", "onClick"])) :
|
|
1641
|
+
}, null, 8, ["loading", "prepend-icon", "onClick"])) : b("", !0)
|
|
1642
1642
|
]),
|
|
1643
1643
|
_: 2
|
|
1644
1644
|
}, [
|
|
@@ -1649,21 +1649,21 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1649
1649
|
v("strong", {
|
|
1650
1650
|
key: "status",
|
|
1651
1651
|
class: "text-capitalize hidden-sm-and-down",
|
|
1652
|
-
textContent:
|
|
1652
|
+
textContent: $(e(o).info.status)
|
|
1653
1653
|
}, null, 8, Zn),
|
|
1654
|
-
e(o).info.items.length > 0 ? (c(),
|
|
1654
|
+
e(o).info.items.length > 0 ? (c(), V(D, { key: 0 }, [
|
|
1655
1655
|
d[1] || (d[1] = v("span", { class: "mx-1 hidden-sm-and-down" }, "—", -1)),
|
|
1656
1656
|
v("span", Hn, [
|
|
1657
|
-
S(" $" +
|
|
1658
|
-
v("span", jn, "/" +
|
|
1657
|
+
S(" $" + $(e(o).info.items[0].plan.amount / 100), 1),
|
|
1658
|
+
v("span", jn, "/" + $(e(o).interval), 1)
|
|
1659
1659
|
]),
|
|
1660
1660
|
n(f, {
|
|
1661
1661
|
size: "x-small",
|
|
1662
1662
|
text: "(Change Subscription)",
|
|
1663
1663
|
variant: "text",
|
|
1664
|
-
onClick: d[0] || (d[0] = (g) =>
|
|
1664
|
+
onClick: d[0] || (d[0] = (g) => a("change:subscription"))
|
|
1665
1665
|
})
|
|
1666
|
-
], 64)) :
|
|
1666
|
+
], 64)) : b("", !0)
|
|
1667
1667
|
])
|
|
1668
1668
|
]),
|
|
1669
1669
|
key: "0"
|
|
@@ -1689,13 +1689,13 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1689
1689
|
]), 1024),
|
|
1690
1690
|
v("div", qn, [
|
|
1691
1691
|
v("div", null, [
|
|
1692
|
-
e(o).info?.status === "active" ? (c(),
|
|
1692
|
+
e(o).info?.status === "active" ? (c(), V(D, { key: 0 }, [
|
|
1693
1693
|
d[3] || (d[3] = S(" Your plan renews on ", -1)),
|
|
1694
|
-
v("span", Wn,
|
|
1694
|
+
v("span", Wn, $(e(i).format(e(u), "fullDateWithWeekday")), 1),
|
|
1695
1695
|
d[4] || (d[4] = S(". ", -1))
|
|
1696
|
-
], 64)) : (c(),
|
|
1696
|
+
], 64)) : (c(), V(D, { key: 1 }, [
|
|
1697
1697
|
d[5] || (d[5] = S(" Your plan ends on ", -1)),
|
|
1698
|
-
v("span", Gn,
|
|
1698
|
+
v("span", Gn, $(e(i).format(e(o).info?.currentPeriodEnd, "fullDateWithWeekday")), 1),
|
|
1699
1699
|
d[6] || (d[6] = S(". ", -1))
|
|
1700
1700
|
], 64))
|
|
1701
1701
|
])
|
|
@@ -1718,7 +1718,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1718
1718
|
"Access to the Vuetify MCP server",
|
|
1719
1719
|
"Team wide Playgrounds, Bins, and Studios",
|
|
1720
1720
|
"Receive a special label on GitHub created issues and pull requests"
|
|
1721
|
-
],
|
|
1721
|
+
], i = M(!1), o = O(), a = k(() => {
|
|
1722
1722
|
const u = [
|
|
1723
1723
|
"Ad Free Experience on all Vuetify properties",
|
|
1724
1724
|
'Save and share across our platforms <a href="https://play.vuetifyjs.com" target="_blank">VPlay</a>, <a href="https://bin.vuetifyjs.com" target="_blank">VBin</a>, and <a href="https://studio.vuetifyjs.com" target="_blank">VStudio</a>',
|
|
@@ -1730,11 +1730,11 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1730
1730
|
];
|
|
1731
1731
|
return p.type === "team" && u.unshift("Invite up to 25 team members"), u;
|
|
1732
1732
|
});
|
|
1733
|
-
return H(
|
|
1733
|
+
return H(i, async (u) => {
|
|
1734
1734
|
u && o.subscriptionInfo();
|
|
1735
1735
|
}), (u, r) => {
|
|
1736
1736
|
const l = q;
|
|
1737
|
-
return c(),
|
|
1737
|
+
return c(), V(D, null, [
|
|
1738
1738
|
n(Ne, { class: "font-weight-black" }, {
|
|
1739
1739
|
default: s(() => [...r[0] || (r[0] = [
|
|
1740
1740
|
S("Perks", -1)
|
|
@@ -1742,20 +1742,20 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1742
1742
|
_: 1
|
|
1743
1743
|
}),
|
|
1744
1744
|
r[2] || (r[2] = v("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The Vuetify One subscription comes with the following perks: ", -1)),
|
|
1745
|
-
n(
|
|
1745
|
+
n(ne, {
|
|
1746
1746
|
class: "py-0",
|
|
1747
1747
|
density: "compact",
|
|
1748
1748
|
lines: !1,
|
|
1749
1749
|
nav: ""
|
|
1750
1750
|
}, {
|
|
1751
1751
|
default: s(() => [
|
|
1752
|
-
(c(!0),
|
|
1752
|
+
(c(!0), V(D, null, G(e(a), (d, f) => (c(), m(l, {
|
|
1753
1753
|
key: f,
|
|
1754
1754
|
class: "mb-0",
|
|
1755
1755
|
"prepend-icon": `svg:${e(Ve)}`
|
|
1756
1756
|
}, {
|
|
1757
1757
|
prepend: s(() => [
|
|
1758
|
-
n(
|
|
1758
|
+
n(I, {
|
|
1759
1759
|
class: "mx-n2",
|
|
1760
1760
|
color: "success",
|
|
1761
1761
|
size: "small"
|
|
@@ -1777,20 +1777,20 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1777
1777
|
_: 1
|
|
1778
1778
|
}),
|
|
1779
1779
|
r[4] || (r[4] = v("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The following features are in development and coming soon: ", -1)),
|
|
1780
|
-
n(
|
|
1780
|
+
n(ne, {
|
|
1781
1781
|
class: "py-0",
|
|
1782
1782
|
density: "compact",
|
|
1783
1783
|
lines: !1,
|
|
1784
1784
|
nav: ""
|
|
1785
1785
|
}, {
|
|
1786
1786
|
default: s(() => [
|
|
1787
|
-
(c(),
|
|
1787
|
+
(c(), V(D, null, G(t, (d, f) => n(l, {
|
|
1788
1788
|
key: f,
|
|
1789
1789
|
class: "mb-0",
|
|
1790
1790
|
"prepend-icon": `svg:${e(vo)}`
|
|
1791
1791
|
}, {
|
|
1792
1792
|
prepend: s(() => [
|
|
1793
|
-
n(
|
|
1793
|
+
n(I, {
|
|
1794
1794
|
class: "mx-n2",
|
|
1795
1795
|
size: "small"
|
|
1796
1796
|
})
|
|
@@ -1816,7 +1816,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1816
1816
|
},
|
|
1817
1817
|
emits: ["update:interval", "update:type"],
|
|
1818
1818
|
setup(p) {
|
|
1819
|
-
const t =
|
|
1819
|
+
const t = M(!1), i = W(p, "interval"), o = W(p, "type"), a = O(), u = De(), r = k(() => u.hasTeamAccess && !u.isTeamOwner), l = {
|
|
1820
1820
|
solo: {
|
|
1821
1821
|
month: "2.99 /month",
|
|
1822
1822
|
year: "29.99 /year"
|
|
@@ -1827,8 +1827,8 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1827
1827
|
}
|
|
1828
1828
|
};
|
|
1829
1829
|
return H(t, async (d) => {
|
|
1830
|
-
d &&
|
|
1831
|
-
}), (d, f) => (c(),
|
|
1830
|
+
d && a.subscriptionInfo();
|
|
1831
|
+
}), (d, f) => (c(), V(D, null, [
|
|
1832
1832
|
n(bt, {
|
|
1833
1833
|
modelValue: o.value,
|
|
1834
1834
|
"onUpdate:modelValue": f[0] || (f[0] = (g) => o.value = g),
|
|
@@ -1850,13 +1850,13 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1850
1850
|
color: _ ? "primary" : void 0,
|
|
1851
1851
|
"prepend-icon": _ ? `svg:${e(Me)}` : "$radioOff",
|
|
1852
1852
|
rounded: "lg",
|
|
1853
|
-
subtitle: `$${l.solo[
|
|
1853
|
+
subtitle: `$${l.solo[i.value]}`,
|
|
1854
1854
|
title: "Solo Developer",
|
|
1855
1855
|
variant: _ ? "tonal" : "text",
|
|
1856
1856
|
onClick: g
|
|
1857
1857
|
}, {
|
|
1858
1858
|
prepend: s(() => [
|
|
1859
|
-
n(
|
|
1859
|
+
n(I, { class: "mt-n6" })
|
|
1860
1860
|
]),
|
|
1861
1861
|
_: 1
|
|
1862
1862
|
}, 8, ["border", "color", "prepend-icon", "subtitle", "variant", "onClick"])
|
|
@@ -1879,13 +1879,13 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1879
1879
|
disabled: e(r),
|
|
1880
1880
|
"prepend-icon": _ ? `svg:${e(Me)}` : "$radioOff",
|
|
1881
1881
|
rounded: "lg",
|
|
1882
|
-
subtitle: `$${l.team[
|
|
1882
|
+
subtitle: `$${l.team[i.value]}`,
|
|
1883
1883
|
title: "Team Access",
|
|
1884
1884
|
variant: _ ? "tonal" : "text",
|
|
1885
1885
|
onClick: g
|
|
1886
1886
|
}, {
|
|
1887
1887
|
prepend: s(() => [
|
|
1888
|
-
n(
|
|
1888
|
+
n(I, { class: "mt-n6" })
|
|
1889
1889
|
]),
|
|
1890
1890
|
_: 1
|
|
1891
1891
|
}, 8, ["border", "color", "disabled", "prepend-icon", "subtitle", "variant", "onClick"])
|
|
@@ -1902,8 +1902,8 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1902
1902
|
_: 1
|
|
1903
1903
|
}, 8, ["modelValue"]),
|
|
1904
1904
|
n(Ge, {
|
|
1905
|
-
modelValue:
|
|
1906
|
-
"onUpdate:modelValue": f[1] || (f[1] = (g) =>
|
|
1905
|
+
modelValue: i.value,
|
|
1906
|
+
"onUpdate:modelValue": f[1] || (f[1] = (g) => i.value = g),
|
|
1907
1907
|
"false-value": "month",
|
|
1908
1908
|
"hide-details": "",
|
|
1909
1909
|
inset: "",
|
|
@@ -1923,17 +1923,17 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1923
1923
|
function t(g) {
|
|
1924
1924
|
return new Promise((_) => setTimeout(_, g));
|
|
1925
1925
|
}
|
|
1926
|
-
const
|
|
1926
|
+
const i = W(p, "modelValue"), o = O(), a = ke(), u = M(o.interval), r = M(o.subscriptionType), l = M(o.hasBilling ? "status" : "subscribe"), d = M(!1);
|
|
1927
1927
|
H([u, r], ([g, _]) => {
|
|
1928
1928
|
!o.isSubscriber || !o.interval || !o.subscriptionType || (d.value = g !== o.interval || _ !== o.subscriptionType);
|
|
1929
|
-
}), H(
|
|
1929
|
+
}), H(i, async (g) => {
|
|
1930
1930
|
if (!g || !o.isSubscriber) {
|
|
1931
1931
|
g || o.resetQuery();
|
|
1932
1932
|
return;
|
|
1933
1933
|
}
|
|
1934
1934
|
o.subscriptionInfo();
|
|
1935
|
-
}), H(
|
|
1936
|
-
!o.sessionId && !["subscribe", "status"].includes(
|
|
1935
|
+
}), H(a, async () => {
|
|
1936
|
+
!o.sessionId && !["subscribe", "status"].includes(a.value.one) || a.value.team || (l.value = o.sessionId || a.value.one === "status" ? "status" : "subscribe", o.isOpen = !0, await be(), i.value = !0);
|
|
1937
1937
|
}, { immediate: !0 }), Nt(() => {
|
|
1938
1938
|
u.value = o.interval ?? "year", r.value = o.subscriptionType ?? "solo";
|
|
1939
1939
|
});
|
|
@@ -1941,10 +1941,10 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1941
1941
|
await o.modify(u.value, r.value), await o.subscriptionInfo(), d.value = null, await t(3e3), l.value = "status", await t(300), d.value = !1;
|
|
1942
1942
|
}
|
|
1943
1943
|
return (g, _) => {
|
|
1944
|
-
const
|
|
1944
|
+
const h = ie, C = Jn, L = Xn, U = Kn, Y = Fn, x = we, pe = de;
|
|
1945
1945
|
return c(), m(pe, {
|
|
1946
|
-
modelValue:
|
|
1947
|
-
"onUpdate:modelValue": _[5] || (_[5] = (B) =>
|
|
1946
|
+
modelValue: i.value,
|
|
1947
|
+
"onUpdate:modelValue": _[5] || (_[5] = (B) => i.value = B),
|
|
1948
1948
|
"prepend-icon": `svg:${e(go)}`,
|
|
1949
1949
|
title: "Subscriptions"
|
|
1950
1950
|
}, z({
|
|
@@ -1954,9 +1954,9 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1954
1954
|
n(ce, { scrollable: "" }, {
|
|
1955
1955
|
default: s(() => [
|
|
1956
1956
|
v("div", es, [
|
|
1957
|
-
n(
|
|
1957
|
+
n(X, null, {
|
|
1958
1958
|
default: s(() => [
|
|
1959
|
-
n(
|
|
1959
|
+
n(h, {
|
|
1960
1960
|
text: "The Vuetify One subscription is a great way to support the Vuetify team and get access to exclusive features and content.",
|
|
1961
1961
|
title: "Vuetify One"
|
|
1962
1962
|
}),
|
|
@@ -1964,7 +1964,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1964
1964
|
default: s(() => [
|
|
1965
1965
|
n(_e, { value: "subscribe" }, {
|
|
1966
1966
|
default: s(() => [
|
|
1967
|
-
n(
|
|
1967
|
+
n(C, {
|
|
1968
1968
|
interval: e(u),
|
|
1969
1969
|
"onUpdate:interval": _[0] || (_[0] = (B) => j(u) ? u.value = B : null),
|
|
1970
1970
|
type: e(r),
|
|
@@ -1980,7 +1980,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
1980
1980
|
n(U, {
|
|
1981
1981
|
"onChange:subscription": _[2] || (_[2] = (B) => l.value = "subscribe")
|
|
1982
1982
|
}),
|
|
1983
|
-
n(
|
|
1983
|
+
n(Y)
|
|
1984
1984
|
]),
|
|
1985
1985
|
_: 1
|
|
1986
1986
|
})
|
|
@@ -2042,9 +2042,9 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2042
2042
|
}), ns = /* @__PURE__ */ y({
|
|
2043
2043
|
__name: "VoSubscriptionListItem",
|
|
2044
2044
|
setup(p) {
|
|
2045
|
-
const t =
|
|
2046
|
-
return (
|
|
2047
|
-
const
|
|
2045
|
+
const t = M(!1);
|
|
2046
|
+
return (i, o) => {
|
|
2047
|
+
const a = os, u = q;
|
|
2048
2048
|
return c(), m(u, {
|
|
2049
2049
|
active: e(t),
|
|
2050
2050
|
link: "",
|
|
@@ -2053,7 +2053,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2053
2053
|
title: "Subscriptions"
|
|
2054
2054
|
}, {
|
|
2055
2055
|
default: s(() => [
|
|
2056
|
-
n(
|
|
2056
|
+
n(a, {
|
|
2057
2057
|
modelValue: e(t),
|
|
2058
2058
|
"onUpdate:modelValue": o[0] || (o[0] = (r) => j(t) ? t.value = r : null)
|
|
2059
2059
|
}, null, 8, ["modelValue"])
|
|
@@ -2077,36 +2077,36 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2077
2077
|
sponsorship: {}
|
|
2078
2078
|
},
|
|
2079
2079
|
setup(p) {
|
|
2080
|
-
const t = p,
|
|
2081
|
-
return (
|
|
2080
|
+
const t = p, i = Pe(), o = k(() => `$${Number.parseFloat(String((t.sponsorship?.amount ?? 0) / 100)).toFixed(2)} /${t.sponsorship?.interval}`);
|
|
2081
|
+
return (a, u) => {
|
|
2082
2082
|
const r = we;
|
|
2083
2083
|
return c(), m(nn, {
|
|
2084
|
-
"dot-color":
|
|
2085
|
-
icon:
|
|
2084
|
+
"dot-color": a.sponsorship?.isActive ? "success" : "transparent",
|
|
2085
|
+
icon: a.sponsorship?.isActive ? `svg:${e(Ve)}` : void 0,
|
|
2086
2086
|
size: "x-small",
|
|
2087
2087
|
width: "100%"
|
|
2088
2088
|
}, {
|
|
2089
2089
|
default: s(() => [
|
|
2090
2090
|
n(P, {
|
|
2091
2091
|
border: "",
|
|
2092
|
-
"prepend-avatar": `${e(
|
|
2092
|
+
"prepend-avatar": `${e(i).CDN_URL}logos/${a.logo}.png`,
|
|
2093
2093
|
rounded: "lg",
|
|
2094
|
-
title:
|
|
2094
|
+
title: a.title,
|
|
2095
2095
|
variant: "text"
|
|
2096
2096
|
}, {
|
|
2097
2097
|
subtitle: s(() => [
|
|
2098
|
-
|
|
2099
|
-
n(
|
|
2098
|
+
a.sponsorship?.isActive ? (c(), V("div", ss, [
|
|
2099
|
+
n(I, {
|
|
2100
2100
|
icon: `svg:${e(bo)}`,
|
|
2101
2101
|
size: "x-small"
|
|
2102
2102
|
}, null, 8, ["icon"]),
|
|
2103
|
-
S(" " +
|
|
2104
|
-
])) : (c(),
|
|
2105
|
-
S(
|
|
2103
|
+
S(" " + $(e(o)), 1)
|
|
2104
|
+
])) : (c(), V(D, { key: 1 }, [
|
|
2105
|
+
S($(a.text), 1)
|
|
2106
2106
|
], 64))
|
|
2107
2107
|
]),
|
|
2108
2108
|
append: s(() => [
|
|
2109
|
-
|
|
2109
|
+
a.disabled ? (c(), m(r, {
|
|
2110
2110
|
key: 1,
|
|
2111
2111
|
color: "surface-variant",
|
|
2112
2112
|
readonly: "",
|
|
@@ -2114,13 +2114,13 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2114
2114
|
})) : (c(), m(r, {
|
|
2115
2115
|
key: 0,
|
|
2116
2116
|
active: !1,
|
|
2117
|
-
color:
|
|
2118
|
-
href:
|
|
2119
|
-
"prepend-icon": `svg:${
|
|
2120
|
-
readonly:
|
|
2121
|
-
target:
|
|
2122
|
-
text:
|
|
2123
|
-
to:
|
|
2117
|
+
color: a.sponsorship?.isActive ? "success" : "primary",
|
|
2118
|
+
href: a.sponsorship?.isActive || a.to ? void 0 : a.href,
|
|
2119
|
+
"prepend-icon": `svg:${a.sponsorship?.isActive ? e(Me) : e(Ae)}`,
|
|
2120
|
+
readonly: a.sponsorship?.isActive,
|
|
2121
|
+
target: a.sponsorship?.isActive || a.to ? void 0 : "_blank",
|
|
2122
|
+
text: a.sponsorship?.isActive ? "Active" : "Info",
|
|
2123
|
+
to: a.to,
|
|
2124
2124
|
width: "88"
|
|
2125
2125
|
}, null, 8, ["color", "href", "prepend-icon", "readonly", "target", "text", "to"]))
|
|
2126
2126
|
]),
|
|
@@ -2135,9 +2135,9 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2135
2135
|
__name: "VoSponsorshipsTimelineItemDiscord",
|
|
2136
2136
|
setup(p) {
|
|
2137
2137
|
const t = O();
|
|
2138
|
-
return (
|
|
2139
|
-
const
|
|
2140
|
-
return c(), m(
|
|
2138
|
+
return (i, o) => {
|
|
2139
|
+
const a = Qe;
|
|
2140
|
+
return c(), m(a, {
|
|
2141
2141
|
href: "https://discord.com/servers/vuetify-340160225338195969",
|
|
2142
2142
|
logo: "discord",
|
|
2143
2143
|
sponsorship: e(t).discord,
|
|
@@ -2150,9 +2150,9 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2150
2150
|
__name: "VoSponsorshipsTimelineItemGithub",
|
|
2151
2151
|
setup(p) {
|
|
2152
2152
|
const t = O();
|
|
2153
|
-
return (
|
|
2154
|
-
const
|
|
2155
|
-
return c(), m(
|
|
2153
|
+
return (i, o) => {
|
|
2154
|
+
const a = Qe;
|
|
2155
|
+
return c(), m(a, {
|
|
2156
2156
|
href: "https://github.com/sponsors/johnleider",
|
|
2157
2157
|
logo: "github",
|
|
2158
2158
|
sponsorship: e(t).github,
|
|
@@ -2165,9 +2165,9 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2165
2165
|
__name: "VoSponsorshipsTimelineItemOne",
|
|
2166
2166
|
setup(p) {
|
|
2167
2167
|
const t = O();
|
|
2168
|
-
return (
|
|
2169
|
-
const
|
|
2170
|
-
return c(), m(
|
|
2168
|
+
return (i, o) => {
|
|
2169
|
+
const a = Qe;
|
|
2170
|
+
return c(), m(a, {
|
|
2171
2171
|
logo: "one",
|
|
2172
2172
|
sponsorship: e(t).one,
|
|
2173
2173
|
text: "Support Vuetify through Vuetify One.",
|
|
@@ -2179,8 +2179,8 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2179
2179
|
}), ls = /* @__PURE__ */ y({
|
|
2180
2180
|
__name: "VoSponsorshipsTimeline",
|
|
2181
2181
|
setup(p) {
|
|
2182
|
-
return (t,
|
|
2183
|
-
const o = rs,
|
|
2182
|
+
return (t, i) => {
|
|
2183
|
+
const o = rs, a = is, u = as;
|
|
2184
2184
|
return c(), m(sn, {
|
|
2185
2185
|
class: "justify-start ms-n7",
|
|
2186
2186
|
"line-inset": "12",
|
|
@@ -2190,7 +2190,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2190
2190
|
}, {
|
|
2191
2191
|
default: s(() => [
|
|
2192
2192
|
n(o),
|
|
2193
|
-
n(
|
|
2193
|
+
n(a),
|
|
2194
2194
|
n(u)
|
|
2195
2195
|
]),
|
|
2196
2196
|
_: 1
|
|
@@ -2205,10 +2205,10 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2205
2205
|
},
|
|
2206
2206
|
emits: ["update:modelValue"],
|
|
2207
2207
|
setup(p) {
|
|
2208
|
-
const t = W(p, "modelValue"),
|
|
2209
|
-
return H(
|
|
2210
|
-
|
|
2211
|
-
}, { immediate: !0 }), (
|
|
2208
|
+
const t = W(p, "modelValue"), i = ke(), o = O();
|
|
2209
|
+
return H(i, async () => {
|
|
2210
|
+
i.value.one === "sponsorships" && (o.isOpen = !0, await be(), t.value = !0);
|
|
2211
|
+
}, { immediate: !0 }), (a, u) => {
|
|
2212
2212
|
const r = ie, l = ls, d = de;
|
|
2213
2213
|
return c(), m(d, {
|
|
2214
2214
|
modelValue: t.value,
|
|
@@ -2222,7 +2222,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2222
2222
|
n(ce, { scrollable: "" }, {
|
|
2223
2223
|
default: s(() => [
|
|
2224
2224
|
v("div", us, [
|
|
2225
|
-
n(
|
|
2225
|
+
n(X, { class: "flex-0-0 mb-16 mb-sm-4" }, {
|
|
2226
2226
|
default: s(() => [
|
|
2227
2227
|
n(r, {
|
|
2228
2228
|
text: "Support Vuetify through GitHub Sponsors or Discord to unlock exclusive benefits and content.",
|
|
@@ -2239,16 +2239,16 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2239
2239
|
size: "128"
|
|
2240
2240
|
}, {
|
|
2241
2241
|
media: s(() => [
|
|
2242
|
-
n(
|
|
2242
|
+
n(I, {
|
|
2243
2243
|
color: e(o).isSubscriber ? "success" : "error"
|
|
2244
2244
|
}, null, 8, ["color"])
|
|
2245
2245
|
]),
|
|
2246
2246
|
title: s(() => [
|
|
2247
2247
|
u[1] || (u[1] = S(" One Status: ", -1)),
|
|
2248
|
-
v("span", cs,
|
|
2248
|
+
v("span", cs, $(e(o).isSubscriber ? "Active" : "Inactive"), 1)
|
|
2249
2249
|
]),
|
|
2250
2250
|
text: s(() => [
|
|
2251
|
-
v("div", ds,
|
|
2251
|
+
v("div", ds, $(e(o).isSubscriber ? "You are currently receiving benefits of Vuetify One." : "Login to activate Vuetify One benefits"), 1)
|
|
2252
2252
|
]),
|
|
2253
2253
|
_: 1
|
|
2254
2254
|
})
|
|
@@ -2267,9 +2267,9 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2267
2267
|
}), ms = /* @__PURE__ */ y({
|
|
2268
2268
|
__name: "VoSponsorshipsListItem",
|
|
2269
2269
|
setup(p) {
|
|
2270
|
-
const t =
|
|
2271
|
-
return (
|
|
2272
|
-
const
|
|
2270
|
+
const t = M(!1);
|
|
2271
|
+
return (i, o) => {
|
|
2272
|
+
const a = ps, u = q;
|
|
2273
2273
|
return c(), m(u, {
|
|
2274
2274
|
active: e(t),
|
|
2275
2275
|
link: "",
|
|
@@ -2278,7 +2278,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2278
2278
|
title: "Sponsorships"
|
|
2279
2279
|
}, {
|
|
2280
2280
|
default: s(() => [
|
|
2281
|
-
n(
|
|
2281
|
+
n(a, {
|
|
2282
2282
|
modelValue: e(t),
|
|
2283
2283
|
"onUpdate:modelValue": o[0] || (o[0] = (r) => j(t) ? t.value = r : null)
|
|
2284
2284
|
}, null, 8, ["modelValue"])
|
|
@@ -2287,31 +2287,31 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2287
2287
|
}, 8, ["active", "prepend-icon"]);
|
|
2288
2288
|
};
|
|
2289
2289
|
}
|
|
2290
|
-
}), fs =
|
|
2291
|
-
const p =
|
|
2292
|
-
async function
|
|
2293
|
-
if (
|
|
2294
|
-
return
|
|
2290
|
+
}), fs = K("downloads", () => {
|
|
2291
|
+
const p = J(), t = oe(), i = E([]), o = M(!1);
|
|
2292
|
+
async function a() {
|
|
2293
|
+
if (i.value.length > 0)
|
|
2294
|
+
return i.value;
|
|
2295
2295
|
o.value = !0;
|
|
2296
2296
|
try {
|
|
2297
2297
|
const u = await p.get("/one/sendowl/downloads");
|
|
2298
|
-
|
|
2298
|
+
i.value = u.downloads;
|
|
2299
2299
|
} catch (u) {
|
|
2300
2300
|
t.showError(u?.message ?? "Error fetching downloads");
|
|
2301
2301
|
} finally {
|
|
2302
2302
|
o.value = !1;
|
|
2303
2303
|
}
|
|
2304
|
-
return
|
|
2304
|
+
return i.value;
|
|
2305
2305
|
}
|
|
2306
2306
|
return {
|
|
2307
|
-
all:
|
|
2307
|
+
all: i,
|
|
2308
2308
|
isLoading: o,
|
|
2309
|
-
index:
|
|
2309
|
+
index: a
|
|
2310
2310
|
};
|
|
2311
2311
|
}), vs = /* @__PURE__ */ y({
|
|
2312
2312
|
__name: "VoDownloadsTable",
|
|
2313
2313
|
setup(p) {
|
|
2314
|
-
const t = me(),
|
|
2314
|
+
const t = me(), i = fs(), o = [
|
|
2315
2315
|
{
|
|
2316
2316
|
title: "Order ID",
|
|
2317
2317
|
value: "order_name"
|
|
@@ -2332,8 +2332,8 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2332
2332
|
}
|
|
2333
2333
|
];
|
|
2334
2334
|
return He(async () => {
|
|
2335
|
-
await
|
|
2336
|
-
}), (
|
|
2335
|
+
await i.index();
|
|
2336
|
+
}), (a, u) => {
|
|
2337
2337
|
const r = ie;
|
|
2338
2338
|
return c(), m(fe, null, {
|
|
2339
2339
|
default: s(() => [
|
|
@@ -2353,20 +2353,20 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2353
2353
|
"fixed-header": "",
|
|
2354
2354
|
headers: o,
|
|
2355
2355
|
height: "640",
|
|
2356
|
-
items: e(
|
|
2357
|
-
loading: e(
|
|
2356
|
+
items: e(i).all,
|
|
2357
|
+
loading: e(i).isLoading
|
|
2358
2358
|
}, {
|
|
2359
2359
|
"item.order_name": s(({ item: l }) => [
|
|
2360
|
-
S(" #" +
|
|
2360
|
+
S(" #" + $(l.order_name), 1)
|
|
2361
2361
|
]),
|
|
2362
2362
|
"item.created_at": s(({ item: l }) => [
|
|
2363
|
-
S(
|
|
2363
|
+
S($(e(t).format(l.created_at, "shortDate")), 1)
|
|
2364
2364
|
]),
|
|
2365
2365
|
"item.download_items": s(({ item: l }) => [
|
|
2366
|
-
(c(!0),
|
|
2366
|
+
(c(!0), V(D, null, G(l.download_items, (d, f) => (c(), V("div", {
|
|
2367
2367
|
key: f,
|
|
2368
2368
|
class: "text-truncate"
|
|
2369
|
-
},
|
|
2369
|
+
}, $(d.name), 1))), 128))
|
|
2370
2370
|
]),
|
|
2371
2371
|
"item.download_url": s(({ item: l }) => [
|
|
2372
2372
|
n(A, {
|
|
@@ -2394,9 +2394,9 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2394
2394
|
}), gs = { class: "px-3" }, _s = /* @__PURE__ */ y({
|
|
2395
2395
|
__name: "VoDownloadsNavItem",
|
|
2396
2396
|
setup(p) {
|
|
2397
|
-
const t =
|
|
2398
|
-
return (
|
|
2399
|
-
const
|
|
2397
|
+
const t = M(!1);
|
|
2398
|
+
return (i, o) => {
|
|
2399
|
+
const a = vs, u = de, r = q;
|
|
2400
2400
|
return c(), m(r, {
|
|
2401
2401
|
active: e(t),
|
|
2402
2402
|
link: "",
|
|
@@ -2417,9 +2417,9 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2417
2417
|
n(ce, { scrollable: "" }, {
|
|
2418
2418
|
default: s(() => [
|
|
2419
2419
|
v("div", gs, [
|
|
2420
|
-
n(
|
|
2420
|
+
n(X, null, {
|
|
2421
2421
|
default: s(() => [
|
|
2422
|
-
n(
|
|
2422
|
+
n(a)
|
|
2423
2423
|
]),
|
|
2424
2424
|
_: 1
|
|
2425
2425
|
})
|
|
@@ -2446,7 +2446,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2446
2446
|
},
|
|
2447
2447
|
emits: ["update:modelValue"],
|
|
2448
2448
|
setup(p) {
|
|
2449
|
-
const t = O(),
|
|
2449
|
+
const t = O(), i = De(), o = J(), { copy: a, copied: u } = Oe(), r = k(() => i.team), l = ke(), d = M(!1), f = [
|
|
2450
2450
|
{
|
|
2451
2451
|
title: "Name",
|
|
2452
2452
|
key: "name"
|
|
@@ -2457,17 +2457,17 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2457
2457
|
align: "end",
|
|
2458
2458
|
sortable: !1
|
|
2459
2459
|
}
|
|
2460
|
-
], g =
|
|
2461
|
-
async function
|
|
2460
|
+
], g = k(() => `https://one.vuetifyjs.com/?invite=${i.team?.inviteCode}`), _ = W(p, "modelValue");
|
|
2461
|
+
async function h() {
|
|
2462
2462
|
d.value = !0;
|
|
2463
|
-
const
|
|
2464
|
-
|
|
2463
|
+
const C = await o.post("/one/team/regen");
|
|
2464
|
+
i.team = C.team;
|
|
2465
2465
|
}
|
|
2466
2466
|
return H(l, async () => {
|
|
2467
2467
|
!t.sessionId || l.value.one === "subscribe" || l.value.team && (t.isOpen = !0, await be(), _.value = !0);
|
|
2468
|
-
}, { immediate: !0 }), (
|
|
2469
|
-
const U = ie,
|
|
2470
|
-
return c(), m(
|
|
2468
|
+
}, { immediate: !0 }), (C, L) => {
|
|
2469
|
+
const U = ie, Y = de;
|
|
2470
|
+
return c(), m(Y, {
|
|
2471
2471
|
modelValue: _.value,
|
|
2472
2472
|
"onUpdate:modelValue": L[2] || (L[2] = (x) => _.value = x),
|
|
2473
2473
|
"prepend-icon": `svg:${e($o)}`,
|
|
@@ -2479,13 +2479,13 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2479
2479
|
n(ce, { scrollable: "" }, {
|
|
2480
2480
|
default: s(() => [
|
|
2481
2481
|
v("div", ys, [
|
|
2482
|
-
n(
|
|
2482
|
+
n(X, null, {
|
|
2483
2483
|
default: s(() => [
|
|
2484
2484
|
n(U, {
|
|
2485
2485
|
text: "Share access to Vuetify One with up to 25 team members.",
|
|
2486
2486
|
title: "Manage your team"
|
|
2487
2487
|
}),
|
|
2488
|
-
e(
|
|
2488
|
+
e(i).isTeamOwner ? (c(), m(P, {
|
|
2489
2489
|
key: 0,
|
|
2490
2490
|
border: "",
|
|
2491
2491
|
class: "mb-4",
|
|
@@ -2495,12 +2495,12 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2495
2495
|
rounded: "lg"
|
|
2496
2496
|
}, {
|
|
2497
2497
|
default: s(() => [
|
|
2498
|
-
n(
|
|
2498
|
+
n(Fe, {
|
|
2499
2499
|
class: "bg-surface",
|
|
2500
2500
|
subtitle: `Team - ${e(r)?.members?.length} member(s)`,
|
|
2501
2501
|
title: "Members"
|
|
2502
2502
|
}, z({ _: 2 }, [
|
|
2503
|
-
e(
|
|
2503
|
+
e(i).isTeamOwner ? {
|
|
2504
2504
|
name: "append",
|
|
2505
2505
|
fn: s(() => [
|
|
2506
2506
|
n(A, {
|
|
@@ -2524,7 +2524,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2524
2524
|
default: s(() => [
|
|
2525
2525
|
n(P, { color: "surface-light" }, {
|
|
2526
2526
|
default: s(() => [
|
|
2527
|
-
n(
|
|
2527
|
+
n(Fe, {
|
|
2528
2528
|
class: "bg-surface",
|
|
2529
2529
|
"prepend-icon": `svg:${e(Lo)}`,
|
|
2530
2530
|
subtitle: "Provide this link to invite your team members",
|
|
@@ -2538,12 +2538,12 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2538
2538
|
flat: "",
|
|
2539
2539
|
slim: "",
|
|
2540
2540
|
text: "Reset",
|
|
2541
|
-
onClick:
|
|
2541
|
+
onClick: h
|
|
2542
2542
|
}, null, 8, ["color", "disabled"])
|
|
2543
2543
|
]),
|
|
2544
2544
|
_: 1
|
|
2545
2545
|
}, 8, ["prepend-icon"]),
|
|
2546
|
-
n(
|
|
2546
|
+
n(X, { class: "pt-4" }, {
|
|
2547
2547
|
default: s(() => [
|
|
2548
2548
|
n(kt, {
|
|
2549
2549
|
flat: "",
|
|
@@ -2554,12 +2554,12 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2554
2554
|
variant: "solo"
|
|
2555
2555
|
}, {
|
|
2556
2556
|
"append-inner": s(() => [
|
|
2557
|
-
|
|
2557
|
+
N(n(I, {
|
|
2558
2558
|
icon: `svg:${e(u) ? e(Ve) : e(Re)}`,
|
|
2559
2559
|
size: "small",
|
|
2560
|
-
onClick: L[0] || (L[0] = (x) => e(
|
|
2560
|
+
onClick: L[0] || (L[0] = (x) => e(a)(e(g)))
|
|
2561
2561
|
}, null, 8, ["icon"]), [
|
|
2562
|
-
[
|
|
2562
|
+
[Q, "Copy Team link"]
|
|
2563
2563
|
])
|
|
2564
2564
|
]),
|
|
2565
2565
|
_: 1
|
|
@@ -2580,8 +2580,8 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2580
2580
|
key: "0"
|
|
2581
2581
|
} : void 0
|
|
2582
2582
|
]), 1032, ["subtitle"]),
|
|
2583
|
-
n(
|
|
2584
|
-
n(
|
|
2583
|
+
n(Z),
|
|
2584
|
+
n(X, { class: "pa-2" }, {
|
|
2585
2585
|
default: s(() => [
|
|
2586
2586
|
n($e, {
|
|
2587
2587
|
border: "",
|
|
@@ -2595,12 +2595,12 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2595
2595
|
}, {
|
|
2596
2596
|
"item.name": s(({ item: x }) => [
|
|
2597
2597
|
v("div", hs, [
|
|
2598
|
-
n(
|
|
2598
|
+
n(te, {
|
|
2599
2599
|
image: x.picture,
|
|
2600
2600
|
size: "x-small",
|
|
2601
2601
|
start: ""
|
|
2602
2602
|
}, null, 8, ["image"]),
|
|
2603
|
-
v("span", null,
|
|
2603
|
+
v("span", null, $(x.name), 1)
|
|
2604
2604
|
])
|
|
2605
2605
|
]),
|
|
2606
2606
|
"item.actions": s(({ item: x }) => [
|
|
@@ -2623,7 +2623,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2623
2623
|
slim: "",
|
|
2624
2624
|
text: "Revoke",
|
|
2625
2625
|
variant: "text",
|
|
2626
|
-
onClick: (pe) => e(
|
|
2626
|
+
onClick: (pe) => e(i).removeFromTeam(x.id)
|
|
2627
2627
|
}, null, 8, ["prepend-icon", "onClick"]))
|
|
2628
2628
|
]),
|
|
2629
2629
|
_: 1
|
|
@@ -2645,7 +2645,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2645
2645
|
rounded: "lg"
|
|
2646
2646
|
}, {
|
|
2647
2647
|
default: s(() => [
|
|
2648
|
-
n(
|
|
2648
|
+
n(Fe, {
|
|
2649
2649
|
"prepend-icon": `svg:${e(ot)}`,
|
|
2650
2650
|
subtitle: "You are currently a member of a team with an All-access Pass.",
|
|
2651
2651
|
title: "My Team access"
|
|
@@ -2653,7 +2653,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2653
2653
|
title: s(() => [
|
|
2654
2654
|
v("div", bs, [
|
|
2655
2655
|
L[4] || (L[4] = S(" My Team Access ", -1)),
|
|
2656
|
-
n(
|
|
2656
|
+
n(ee, {
|
|
2657
2657
|
border: "thin opacity-25 success",
|
|
2658
2658
|
class: "ms-2",
|
|
2659
2659
|
color: "success",
|
|
@@ -2669,7 +2669,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2669
2669
|
rounded: "lg",
|
|
2670
2670
|
text: "Leave team",
|
|
2671
2671
|
width: "145",
|
|
2672
|
-
onClick: L[1] || (L[1] = (x) => e(
|
|
2672
|
+
onClick: L[1] || (L[1] = (x) => e(i).leaveTeam())
|
|
2673
2673
|
}, null, 8, ["prepend-icon"])
|
|
2674
2674
|
]),
|
|
2675
2675
|
_: 1
|
|
@@ -2695,9 +2695,9 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2695
2695
|
}), Vs = /* @__PURE__ */ y({
|
|
2696
2696
|
__name: "VoTeamListItem",
|
|
2697
2697
|
setup(p) {
|
|
2698
|
-
const t =
|
|
2699
|
-
return (
|
|
2700
|
-
const
|
|
2698
|
+
const t = M(!1);
|
|
2699
|
+
return (i, o) => {
|
|
2700
|
+
const a = ks, u = q;
|
|
2701
2701
|
return c(), m(u, {
|
|
2702
2702
|
active: e(t),
|
|
2703
2703
|
link: "",
|
|
@@ -2706,7 +2706,7 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2706
2706
|
title: "My Team"
|
|
2707
2707
|
}, {
|
|
2708
2708
|
default: s(() => [
|
|
2709
|
-
n(
|
|
2709
|
+
n(a, {
|
|
2710
2710
|
modelValue: e(t),
|
|
2711
2711
|
"onUpdate:modelValue": o[0] || (o[0] = (r) => j(t) ? t.value = r : null)
|
|
2712
2712
|
}, null, 8, ["modelValue"])
|
|
@@ -2767,40 +2767,40 @@ const Mn = /* @__PURE__ */ y({
|
|
|
2767
2767
|
}
|
|
2768
2768
|
];
|
|
2769
2769
|
function Tt() {
|
|
2770
|
-
const p = T(), t = ge(() => st.filter((
|
|
2771
|
-
H(() => p.one.quicklinks, (
|
|
2772
|
-
!
|
|
2770
|
+
const p = T(), t = ge(() => st.filter((a) => p.one.ecosystem.pinned.includes(a.id)));
|
|
2771
|
+
H(() => p.one.quicklinks, (a) => {
|
|
2772
|
+
!a && p.one.ecosystem.pinned.length > 0 && (p.one.ecosystem.pinned = []);
|
|
2773
2773
|
});
|
|
2774
|
-
function a
|
|
2775
|
-
return p.one.ecosystem.pinned.includes(
|
|
2774
|
+
function i(a) {
|
|
2775
|
+
return p.one.ecosystem.pinned.includes(a);
|
|
2776
2776
|
}
|
|
2777
|
-
function o(
|
|
2778
|
-
const u = p.one.ecosystem.pinned.indexOf(
|
|
2779
|
-
u === -1 ? (p.one.ecosystem.pinned.push(
|
|
2777
|
+
function o(a) {
|
|
2778
|
+
const u = p.one.ecosystem.pinned.indexOf(a);
|
|
2779
|
+
u === -1 ? (p.one.ecosystem.pinned.push(a), p.one.quicklinks || (p.one.quicklinks = !0)) : p.one.ecosystem.pinned.splice(u, 1);
|
|
2780
2780
|
}
|
|
2781
2781
|
return {
|
|
2782
2782
|
actions: st,
|
|
2783
2783
|
pinned: t,
|
|
2784
|
-
isPinned:
|
|
2784
|
+
isPinned: i,
|
|
2785
2785
|
togglePin: o
|
|
2786
2786
|
};
|
|
2787
2787
|
}
|
|
2788
2788
|
const at = /* @__PURE__ */ y({
|
|
2789
2789
|
__name: "VoEcosystemMenu",
|
|
2790
2790
|
setup(p) {
|
|
2791
|
-
const t =
|
|
2791
|
+
const t = F(), { actions: i, isPinned: o, togglePin: a } = Tt();
|
|
2792
2792
|
return (u, r) => (c(), m(P, {
|
|
2793
2793
|
border: "",
|
|
2794
2794
|
"min-width": "240",
|
|
2795
2795
|
rounded: "lg"
|
|
2796
2796
|
}, {
|
|
2797
2797
|
default: s(() => [
|
|
2798
|
-
n(
|
|
2798
|
+
n(ne, {
|
|
2799
2799
|
density: "compact",
|
|
2800
2800
|
nav: ""
|
|
2801
2801
|
}, {
|
|
2802
2802
|
default: s(() => [
|
|
2803
|
-
(c(!0),
|
|
2803
|
+
(c(!0), V(D, null, G(e(i), (l) => N((c(), m(le, {
|
|
2804
2804
|
key: l.id,
|
|
2805
2805
|
href: l.href,
|
|
2806
2806
|
"prepend-icon": l.icon,
|
|
@@ -2811,19 +2811,19 @@ const at = /* @__PURE__ */ y({
|
|
|
2811
2811
|
e(t).user ? {
|
|
2812
2812
|
name: "append",
|
|
2813
2813
|
fn: s(() => [
|
|
2814
|
-
|
|
2814
|
+
N(n(A, {
|
|
2815
2815
|
icon: `svg:${e(o)(l.id) ? e(Io) : e(Do)}`,
|
|
2816
2816
|
size: "x-small",
|
|
2817
2817
|
variant: "text",
|
|
2818
|
-
onClick: ye((d) => e(
|
|
2818
|
+
onClick: ye((d) => e(a)(l.id), ["prevent", "stop"])
|
|
2819
2819
|
}, null, 8, ["icon", "onClick"]), [
|
|
2820
|
-
[
|
|
2820
|
+
[Q, e(o)(l.id) ? "Unpin" : "Pin", "top"]
|
|
2821
2821
|
])
|
|
2822
2822
|
]),
|
|
2823
2823
|
key: "0"
|
|
2824
2824
|
} : void 0
|
|
2825
2825
|
]), 1032, ["href", "prepend-icon", "title"])), [
|
|
2826
|
-
[
|
|
2826
|
+
[Q, l.description, "start"]
|
|
2827
2827
|
])), 128))
|
|
2828
2828
|
]),
|
|
2829
2829
|
_: 1
|
|
@@ -2835,10 +2835,10 @@ const at = /* @__PURE__ */ y({
|
|
|
2835
2835
|
}), Cs = /* @__PURE__ */ y({
|
|
2836
2836
|
__name: "VoEcosystemListItem",
|
|
2837
2837
|
setup(p) {
|
|
2838
|
-
const t = T(), { mobile:
|
|
2839
|
-
return H(o, (
|
|
2840
|
-
|
|
2841
|
-
}), (
|
|
2838
|
+
const t = T(), { mobile: i } = ae(), o = M(!1);
|
|
2839
|
+
return H(o, (a) => {
|
|
2840
|
+
a && !t.one.ecosystem.seen && (t.one.ecosystem.seen = !0);
|
|
2841
|
+
}), (a, u) => {
|
|
2842
2842
|
const r = q;
|
|
2843
2843
|
return c(), m(r, {
|
|
2844
2844
|
link: "",
|
|
@@ -2847,7 +2847,7 @@ const at = /* @__PURE__ */ y({
|
|
|
2847
2847
|
title: "Vuetify Ecosystem"
|
|
2848
2848
|
}, z({
|
|
2849
2849
|
default: s(() => [
|
|
2850
|
-
e(
|
|
2850
|
+
e(i) ? (c(), m(Ce, {
|
|
2851
2851
|
key: 0,
|
|
2852
2852
|
modelValue: e(o),
|
|
2853
2853
|
"onUpdate:modelValue": u[0] || (u[0] = (l) => j(o) ? o.value = l : null),
|
|
@@ -2878,7 +2878,7 @@ const at = /* @__PURE__ */ y({
|
|
|
2878
2878
|
e(t).one.ecosystem.seen ? void 0 : {
|
|
2879
2879
|
name: "append",
|
|
2880
2880
|
fn: s(() => [
|
|
2881
|
-
n(
|
|
2881
|
+
n(ee, {
|
|
2882
2882
|
color: "success",
|
|
2883
2883
|
size: "x-small",
|
|
2884
2884
|
text: "NEW",
|
|
@@ -2902,34 +2902,34 @@ const at = /* @__PURE__ */ y({
|
|
|
2902
2902
|
items: {}
|
|
2903
2903
|
},
|
|
2904
2904
|
setup(p) {
|
|
2905
|
-
const t = me(),
|
|
2906
|
-
function
|
|
2905
|
+
const t = me(), i = ae(), o = T();
|
|
2906
|
+
function a(r) {
|
|
2907
2907
|
return o.one.banners.read.includes(r);
|
|
2908
2908
|
}
|
|
2909
2909
|
function u(r) {
|
|
2910
|
-
|
|
2910
|
+
a(r.slug) ? o.one.banners.read = o.one.banners.read.filter((l) => l !== r.slug) : o.one.banners.read.push(r.slug);
|
|
2911
2911
|
}
|
|
2912
|
-
return (r, l) => (c(), m(
|
|
2912
|
+
return (r, l) => (c(), m(ne, {
|
|
2913
2913
|
class: "py-0",
|
|
2914
2914
|
height: "100%",
|
|
2915
2915
|
lines: "three"
|
|
2916
2916
|
}, {
|
|
2917
2917
|
default: s(() => [
|
|
2918
|
-
r.items.length === 0 ? (c(),
|
|
2918
|
+
r.items.length === 0 ? (c(), V("div", $s, [
|
|
2919
2919
|
n(Ke, {
|
|
2920
2920
|
icon: "$vuetify",
|
|
2921
2921
|
size: "256"
|
|
2922
2922
|
}, {
|
|
2923
2923
|
media: s(() => [
|
|
2924
|
-
n(
|
|
2924
|
+
n(I, { color: "medium-emphasis" })
|
|
2925
2925
|
]),
|
|
2926
2926
|
title: s(() => [...l[0] || (l[0] = [
|
|
2927
2927
|
v("div", { class: "text-medium-emphasis" }, " All caught up ", -1)
|
|
2928
2928
|
])]),
|
|
2929
2929
|
_: 1
|
|
2930
2930
|
})
|
|
2931
|
-
])) : (c(),
|
|
2932
|
-
(c(!0),
|
|
2931
|
+
])) : (c(), V("div", xs, [
|
|
2932
|
+
(c(!0), V(D, null, G(r.items, (d) => (c(), V("div", {
|
|
2933
2933
|
key: d.slug,
|
|
2934
2934
|
class: "mb-4"
|
|
2935
2935
|
}, [
|
|
@@ -2941,7 +2941,7 @@ const at = /* @__PURE__ */ y({
|
|
|
2941
2941
|
title: d.title
|
|
2942
2942
|
}, {
|
|
2943
2943
|
prepend: s(() => [
|
|
2944
|
-
n(
|
|
2944
|
+
n(te, {
|
|
2945
2945
|
image: d.metadata.images.logo?.url
|
|
2946
2946
|
}, null, 8, ["image"])
|
|
2947
2947
|
]),
|
|
@@ -2960,19 +2960,19 @@ const at = /* @__PURE__ */ y({
|
|
|
2960
2960
|
default: s(() => [
|
|
2961
2961
|
n($t, {
|
|
2962
2962
|
location: "bottom",
|
|
2963
|
-
text:
|
|
2963
|
+
text: a(d.slug) ? "Mark as unread" : "Mark as read"
|
|
2964
2964
|
}, {
|
|
2965
2965
|
activator: s(({ props: _ }) => [
|
|
2966
2966
|
n(xe, { "hide-on-leave": "" }, {
|
|
2967
2967
|
default: s(() => [
|
|
2968
|
-
|
|
2968
|
+
N(n(A, R({ ref_for: !0 }, _, {
|
|
2969
2969
|
class: "ms-auto float-right",
|
|
2970
|
-
icon: `svg:${
|
|
2970
|
+
icon: `svg:${a(d.slug) ? e(We) : e(qe)}`,
|
|
2971
2971
|
size: "small",
|
|
2972
2972
|
variant: "text",
|
|
2973
|
-
onClick: (
|
|
2973
|
+
onClick: (h) => u(d)
|
|
2974
2974
|
}), null, 16, ["icon", "onClick"]), [
|
|
2975
|
-
[Ie, g || e(
|
|
2975
|
+
[Ie, g || e(i).mobile.value]
|
|
2976
2976
|
])
|
|
2977
2977
|
]),
|
|
2978
2978
|
_: 2
|
|
@@ -2980,10 +2980,10 @@ const at = /* @__PURE__ */ y({
|
|
|
2980
2980
|
]),
|
|
2981
2981
|
_: 2
|
|
2982
2982
|
}, 1032, ["text"]),
|
|
2983
|
-
v("div", Ls,
|
|
2984
|
-
v("div", ws,
|
|
2985
|
-
v("div", Ss,
|
|
2986
|
-
n(
|
|
2983
|
+
v("div", Ls, $(d.metadata.text), 1),
|
|
2984
|
+
v("div", ws, $(e(t).format(d.created_at, "fullDateWithWeekday")), 1),
|
|
2985
|
+
v("div", Ss, $(d.metadata.subtext), 1),
|
|
2986
|
+
n(ee, R({ ref_for: !0 }, {
|
|
2987
2987
|
href: d.metadata.link.startsWith("http") ? d.metadata.link : void 0,
|
|
2988
2988
|
target: d.metadata.link.startsWith("http") ? "_blank" : void 0,
|
|
2989
2989
|
to: d.metadata.link.startsWith("http") ? void 0 : d.metadata.link
|
|
@@ -2996,7 +2996,7 @@ const at = /* @__PURE__ */ y({
|
|
|
2996
2996
|
variant: "text"
|
|
2997
2997
|
}), {
|
|
2998
2998
|
append: s(() => [
|
|
2999
|
-
n(
|
|
2999
|
+
n(I, { size: "12" })
|
|
3000
3000
|
]),
|
|
3001
3001
|
_: 1
|
|
3002
3002
|
}, 16, ["append-icon", "text"])
|
|
@@ -3019,7 +3019,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3019
3019
|
notification: {}
|
|
3020
3020
|
},
|
|
3021
3021
|
setup(p) {
|
|
3022
|
-
const t = p,
|
|
3022
|
+
const t = p, i = T(), o = me(), a = ae(), u = k(() => {
|
|
3023
3023
|
const d = t.notification.metadata ?? { action: "" };
|
|
3024
3024
|
return {
|
|
3025
3025
|
href: d.action.startsWith("http") ? d.action : void 0,
|
|
@@ -3027,23 +3027,23 @@ const at = /* @__PURE__ */ y({
|
|
|
3027
3027
|
to: d.action.startsWith("http") ? void 0 : d.action,
|
|
3028
3028
|
...t.notification.metadata.attributes,
|
|
3029
3029
|
onClick() {
|
|
3030
|
-
t.demo ||
|
|
3030
|
+
t.demo || i.one.notifications.read.includes(t.notification.slug) || i.one.notifications.read.push(t.notification.slug);
|
|
3031
3031
|
}
|
|
3032
3032
|
};
|
|
3033
3033
|
});
|
|
3034
3034
|
function r(d) {
|
|
3035
|
-
return
|
|
3035
|
+
return i.one.notifications.read.includes(d);
|
|
3036
3036
|
}
|
|
3037
3037
|
function l(d) {
|
|
3038
|
-
t.demo || (r(d.slug) ?
|
|
3038
|
+
t.demo || (r(d.slug) ? i.one.notifications.read = i.one.notifications.read.filter((f) => f !== d.slug) : i.one.notifications.read.push(d.slug));
|
|
3039
3039
|
}
|
|
3040
3040
|
return (d, f) => {
|
|
3041
3041
|
const g = q;
|
|
3042
3042
|
return c(), m(ve, null, {
|
|
3043
|
-
default: s(({ isHovering: _, props:
|
|
3044
|
-
n(g, R(
|
|
3043
|
+
default: s(({ isHovering: _, props: h }) => [
|
|
3044
|
+
n(g, R(h, { class: "py-4 mb-0" }), {
|
|
3045
3045
|
prepend: s(() => [
|
|
3046
|
-
v("div", Is,
|
|
3046
|
+
v("div", Is, $(d.notification.metadata.emoji), 1)
|
|
3047
3047
|
]),
|
|
3048
3048
|
append: s(() => [
|
|
3049
3049
|
n(an, {
|
|
@@ -3055,10 +3055,10 @@ const at = /* @__PURE__ */ y({
|
|
|
3055
3055
|
location: "bottom",
|
|
3056
3056
|
text: r(d.notification.slug) ? "Mark as unread" : "Mark as read"
|
|
3057
3057
|
}, {
|
|
3058
|
-
activator: s(({ props:
|
|
3058
|
+
activator: s(({ props: C }) => [
|
|
3059
3059
|
n(xe, { "hide-on-leave": "" }, {
|
|
3060
3060
|
default: s(() => [
|
|
3061
|
-
|
|
3061
|
+
N(n(A, R(C, {
|
|
3062
3062
|
class: "ms-auto",
|
|
3063
3063
|
icon: `svg:${r(d.notification.slug) ? e(We) : e(qe)}`,
|
|
3064
3064
|
"mdi-email-variant": "",
|
|
@@ -3066,7 +3066,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3066
3066
|
variant: "text",
|
|
3067
3067
|
onClick: f[0] || (f[0] = (L) => l(d.notification))
|
|
3068
3068
|
}), null, 16, ["icon"]), [
|
|
3069
|
-
[Ie, _ || e(
|
|
3069
|
+
[Ie, _ || e(a).mobile.value]
|
|
3070
3070
|
])
|
|
3071
3071
|
]),
|
|
3072
3072
|
_: 2
|
|
@@ -3081,13 +3081,13 @@ const at = /* @__PURE__ */ y({
|
|
|
3081
3081
|
default: s(() => [
|
|
3082
3082
|
n(_t, { class: "text-wrap text-h6 mb-1" }, {
|
|
3083
3083
|
default: s(() => [
|
|
3084
|
-
v("div", Ds,
|
|
3084
|
+
v("div", Ds, $(d.notification.title), 1)
|
|
3085
3085
|
]),
|
|
3086
3086
|
_: 1
|
|
3087
3087
|
}),
|
|
3088
|
-
v("div", As,
|
|
3089
|
-
v("div", Ts,
|
|
3090
|
-
n(
|
|
3088
|
+
v("div", As, $(e(o).format(d.notification.created_at, "fullDateWithWeekday")), 1),
|
|
3089
|
+
v("div", Ts, $(d.notification.metadata.text), 1),
|
|
3090
|
+
n(ee, R({
|
|
3091
3091
|
"append-icon": `svg:${e(Ae)}`
|
|
3092
3092
|
}, e(u), {
|
|
3093
3093
|
border: "",
|
|
@@ -3097,7 +3097,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3097
3097
|
variant: "text"
|
|
3098
3098
|
}), {
|
|
3099
3099
|
append: s(() => [
|
|
3100
|
-
n(
|
|
3100
|
+
n(I, { size: "12" })
|
|
3101
3101
|
]),
|
|
3102
3102
|
_: 1
|
|
3103
3103
|
}, 16, ["append-icon", "text"])
|
|
@@ -3118,63 +3118,63 @@ const at = /* @__PURE__ */ y({
|
|
|
3118
3118
|
items: {}
|
|
3119
3119
|
},
|
|
3120
3120
|
setup(p) {
|
|
3121
|
-
return (t,
|
|
3121
|
+
return (t, i) => {
|
|
3122
3122
|
const o = Us;
|
|
3123
|
-
return c(), m(
|
|
3123
|
+
return c(), m(ne, {
|
|
3124
3124
|
class: "py-0",
|
|
3125
3125
|
height: "100%",
|
|
3126
3126
|
lines: "three"
|
|
3127
3127
|
}, {
|
|
3128
3128
|
default: s(() => [
|
|
3129
|
-
t.items.length === 0 ? (c(),
|
|
3129
|
+
t.items.length === 0 ? (c(), V("div", Ps, [
|
|
3130
3130
|
n(Ke, {
|
|
3131
3131
|
icon: "$vuetify",
|
|
3132
3132
|
size: "256"
|
|
3133
3133
|
}, {
|
|
3134
3134
|
media: s(() => [
|
|
3135
|
-
n(
|
|
3135
|
+
n(I, { color: "medium-emphasis" })
|
|
3136
3136
|
]),
|
|
3137
|
-
title: s(() => [...
|
|
3137
|
+
title: s(() => [...i[0] || (i[0] = [
|
|
3138
3138
|
v("div", { class: "text-medium-emphasis" }, " All caught up ", -1)
|
|
3139
3139
|
])]),
|
|
3140
3140
|
_: 1
|
|
3141
3141
|
})
|
|
3142
|
-
])) : (c(!0),
|
|
3143
|
-
key:
|
|
3142
|
+
])) : (c(!0), V(D, { key: 1 }, G(t.items, (a, u) => (c(), V(D, {
|
|
3143
|
+
key: a.slug
|
|
3144
3144
|
}, [
|
|
3145
|
-
u !== 0 ? (c(), m(
|
|
3146
|
-
n(o, { notification:
|
|
3145
|
+
u !== 0 ? (c(), m(Z, { key: 0 })) : b("", !0),
|
|
3146
|
+
n(o, { notification: a }, null, 8, ["notification"])
|
|
3147
3147
|
], 64))), 128))
|
|
3148
3148
|
]),
|
|
3149
3149
|
_: 1
|
|
3150
3150
|
});
|
|
3151
3151
|
};
|
|
3152
3152
|
}
|
|
3153
|
-
}), Ut =
|
|
3153
|
+
}), Ut = K("site", () => {
|
|
3154
3154
|
const p = E([]), t = E();
|
|
3155
3155
|
return {
|
|
3156
3156
|
id: p,
|
|
3157
3157
|
url: t
|
|
3158
3158
|
};
|
|
3159
|
-
}), Be =
|
|
3160
|
-
const p =
|
|
3159
|
+
}), Be = K("banners", () => {
|
|
3160
|
+
const p = J(), t = Ut(), i = T(), o = oe(), a = E([]), u = M(!1), r = k(() => {
|
|
3161
3161
|
if (l.value)
|
|
3162
3162
|
return l.value;
|
|
3163
|
-
if (
|
|
3164
|
-
if (
|
|
3165
|
-
const f = new Date(
|
|
3163
|
+
if (i.one.banners.enabled) {
|
|
3164
|
+
if (i.one.banners.last) {
|
|
3165
|
+
const f = new Date(i.one.banners.last), g = new Date(Date.now() - 3 * 24 * 60 * 60 * 1e3);
|
|
3166
3166
|
if (f > g)
|
|
3167
3167
|
return;
|
|
3168
3168
|
}
|
|
3169
|
-
return
|
|
3169
|
+
return a.value.find(({
|
|
3170
3170
|
slug: f,
|
|
3171
3171
|
metadata: {
|
|
3172
3172
|
site: g,
|
|
3173
3173
|
active: _
|
|
3174
3174
|
}
|
|
3175
|
-
}) => !_ ||
|
|
3175
|
+
}) => !_ || i.one.banners.read.includes(f) ? !1 : g.includes("dev") && !1 || g.includes("*") ? !0 : g.some((h) => t.id.includes(h)));
|
|
3176
3176
|
}
|
|
3177
|
-
}), l =
|
|
3177
|
+
}), l = k(() => a.value.find(({
|
|
3178
3178
|
metadata: {
|
|
3179
3179
|
site: f,
|
|
3180
3180
|
active: g
|
|
@@ -3184,43 +3184,43 @@ const at = /* @__PURE__ */ y({
|
|
|
3184
3184
|
try {
|
|
3185
3185
|
u.value = !0;
|
|
3186
3186
|
const f = await p.get("/one/banners");
|
|
3187
|
-
|
|
3187
|
+
a.value = f.banners;
|
|
3188
3188
|
} catch (f) {
|
|
3189
3189
|
o.showError(f?.message ?? "Error fetching banners");
|
|
3190
3190
|
} finally {
|
|
3191
3191
|
u.value = !1;
|
|
3192
3192
|
}
|
|
3193
|
-
return
|
|
3193
|
+
return a.value;
|
|
3194
3194
|
}
|
|
3195
3195
|
return {
|
|
3196
|
-
all:
|
|
3196
|
+
all: a,
|
|
3197
3197
|
isLoading: u,
|
|
3198
3198
|
server: l,
|
|
3199
3199
|
banner: r,
|
|
3200
3200
|
index: d
|
|
3201
3201
|
};
|
|
3202
|
-
}),
|
|
3203
|
-
const p =
|
|
3202
|
+
}), Ee = K("notifications", () => {
|
|
3203
|
+
const p = J(), t = T(), i = oe(), o = E([]), a = M(!1), u = k(() => o.value.filter((d) => !t.one.notifications.read.includes(d.slug))), r = k(() => o.value.filter((d) => t.one.notifications.read.includes(d.slug)));
|
|
3204
3204
|
async function l() {
|
|
3205
3205
|
try {
|
|
3206
|
-
|
|
3206
|
+
a.value = !0;
|
|
3207
3207
|
const d = await p.get("/one/notifications");
|
|
3208
3208
|
o.value = d.notifications;
|
|
3209
3209
|
} catch (d) {
|
|
3210
|
-
|
|
3210
|
+
i.showError(d?.message ?? "Error fetching notifications");
|
|
3211
3211
|
} finally {
|
|
3212
|
-
|
|
3212
|
+
a.value = !1;
|
|
3213
3213
|
}
|
|
3214
3214
|
return o.value;
|
|
3215
3215
|
}
|
|
3216
3216
|
return {
|
|
3217
|
-
isLoading:
|
|
3217
|
+
isLoading: a,
|
|
3218
3218
|
all: o,
|
|
3219
3219
|
read: r,
|
|
3220
3220
|
unread: u,
|
|
3221
3221
|
index: l
|
|
3222
3222
|
};
|
|
3223
|
-
}), Os = { class: "text-caption" }, Bs = { class: "text-caption" },
|
|
3223
|
+
}), Os = { class: "text-caption" }, Bs = { class: "text-caption" }, Es = /* @__PURE__ */ y({
|
|
3224
3224
|
__name: "VoNotificationsDialog",
|
|
3225
3225
|
props: {
|
|
3226
3226
|
modelValue: { type: Boolean },
|
|
@@ -3228,53 +3228,53 @@ const at = /* @__PURE__ */ y({
|
|
|
3228
3228
|
},
|
|
3229
3229
|
emits: ["update:modelValue"],
|
|
3230
3230
|
setup(p) {
|
|
3231
|
-
const t = ae(),
|
|
3231
|
+
const t = ae(), i = ke(), o = Be(), a = Ee(), u = O(), r = T(), l = M(["read"]), d = W(p, "modelValue");
|
|
3232
3232
|
function f() {
|
|
3233
|
-
const _ =
|
|
3233
|
+
const _ = a.unread.map((h) => h.slug);
|
|
3234
3234
|
r.one.notifications.read.push(..._);
|
|
3235
3235
|
}
|
|
3236
3236
|
function g() {
|
|
3237
3237
|
r.one.notifications.read = [];
|
|
3238
3238
|
}
|
|
3239
|
-
return H(
|
|
3240
|
-
if (
|
|
3239
|
+
return H(i, async () => {
|
|
3240
|
+
if (i.value.one !== "notifications") {
|
|
3241
3241
|
d.value && (d.value = !1);
|
|
3242
3242
|
return;
|
|
3243
3243
|
}
|
|
3244
3244
|
u.isOpen = !0, await be(), d.value = !0;
|
|
3245
|
-
}, { immediate: !0 }), (_,
|
|
3246
|
-
const
|
|
3247
|
-
return c(), m(
|
|
3245
|
+
}, { immediate: !0 }), (_, h) => {
|
|
3246
|
+
const C = q, L = zs, U = Ms, Y = de;
|
|
3247
|
+
return c(), m(Y, {
|
|
3248
3248
|
modelValue: d.value,
|
|
3249
|
-
"onUpdate:modelValue":
|
|
3249
|
+
"onUpdate:modelValue": h[2] || (h[2] = (x) => d.value = x),
|
|
3250
3250
|
"prepend-icon": `svg:${e(Ao)}`,
|
|
3251
3251
|
title: "Notifications"
|
|
3252
3252
|
}, {
|
|
3253
3253
|
append: s(() => [
|
|
3254
|
-
e(l)[0] === "read" ?
|
|
3254
|
+
e(l)[0] === "read" ? N((c(), m(A, {
|
|
3255
3255
|
key: 0,
|
|
3256
3256
|
class: "me-2",
|
|
3257
3257
|
density: "comfortable",
|
|
3258
|
-
disabled: e(
|
|
3258
|
+
disabled: e(a).unread.length === 0,
|
|
3259
3259
|
icon: `svg:${e(qe)}`,
|
|
3260
3260
|
size: "small",
|
|
3261
3261
|
variant: "text",
|
|
3262
3262
|
onClick: f
|
|
3263
3263
|
}, null, 8, ["disabled", "icon"])), [
|
|
3264
|
-
[
|
|
3265
|
-
]) :
|
|
3266
|
-
e(l)[0] === "unread" ?
|
|
3264
|
+
[Q, "Mark All as Read", "start"]
|
|
3265
|
+
]) : b("", !0),
|
|
3266
|
+
e(l)[0] === "unread" ? N((c(), m(A, {
|
|
3267
3267
|
key: 1,
|
|
3268
3268
|
class: "me-2",
|
|
3269
3269
|
density: "comfortable",
|
|
3270
|
-
disabled: e(
|
|
3270
|
+
disabled: e(a).read.length === 0,
|
|
3271
3271
|
icon: `svg:${e(We)}`,
|
|
3272
3272
|
size: "small",
|
|
3273
3273
|
variant: "text",
|
|
3274
3274
|
onClick: g
|
|
3275
3275
|
}, null, 8, ["disabled", "icon"])), [
|
|
3276
|
-
[
|
|
3277
|
-
]) :
|
|
3276
|
+
[Q, "Mark All as Unread", "start"]
|
|
3277
|
+
]) : b("", !0)
|
|
3278
3278
|
]),
|
|
3279
3279
|
default: s(() => [
|
|
3280
3280
|
n(ue, null, {
|
|
@@ -3285,42 +3285,42 @@ const at = /* @__PURE__ */ y({
|
|
|
3285
3285
|
width: e(t).mobile.value ? 128 : 168
|
|
3286
3286
|
}, {
|
|
3287
3287
|
default: s(() => [
|
|
3288
|
-
n(
|
|
3288
|
+
n(ne, {
|
|
3289
3289
|
selected: e(l),
|
|
3290
|
-
"onUpdate:selected":
|
|
3290
|
+
"onUpdate:selected": h[0] || (h[0] = (x) => j(l) ? l.value = x : null),
|
|
3291
3291
|
class: "px-4 pt-4",
|
|
3292
3292
|
density: "compact",
|
|
3293
3293
|
mandatory: "",
|
|
3294
3294
|
nav: ""
|
|
3295
3295
|
}, {
|
|
3296
3296
|
default: s(() => [
|
|
3297
|
-
n(
|
|
3297
|
+
n(C, {
|
|
3298
3298
|
"prepend-icon": `svg:${e(To)}`,
|
|
3299
3299
|
title: "Unread",
|
|
3300
3300
|
value: "read"
|
|
3301
3301
|
}, z({ _: 2 }, [
|
|
3302
|
-
e(
|
|
3302
|
+
e(a).unread.length > 0 ? {
|
|
3303
3303
|
name: "append",
|
|
3304
3304
|
fn: s(() => [
|
|
3305
|
-
v("span", Os,
|
|
3305
|
+
v("span", Os, $(e(a).unread.length), 1)
|
|
3306
3306
|
]),
|
|
3307
3307
|
key: "0"
|
|
3308
3308
|
} : void 0
|
|
3309
3309
|
]), 1032, ["prepend-icon"]),
|
|
3310
|
-
n(
|
|
3310
|
+
n(C, {
|
|
3311
3311
|
"prepend-icon": `svg:${e(Uo)}`,
|
|
3312
3312
|
title: "Read",
|
|
3313
3313
|
value: "unread"
|
|
3314
3314
|
}, z({ _: 2 }, [
|
|
3315
|
-
e(
|
|
3315
|
+
e(a).read.length > 0 ? {
|
|
3316
3316
|
name: "append",
|
|
3317
3317
|
fn: s(() => [
|
|
3318
|
-
v("span", Bs,
|
|
3318
|
+
v("span", Bs, $(e(a).read.length), 1)
|
|
3319
3319
|
]),
|
|
3320
3320
|
key: "0"
|
|
3321
3321
|
} : void 0
|
|
3322
3322
|
]), 1032, ["prepend-icon"]),
|
|
3323
|
-
e(o).all.length > 0 && e(r).one.banners.enabled ? (c(), m(
|
|
3323
|
+
e(o).all.length > 0 && e(r).one.banners.enabled ? (c(), m(C, {
|
|
3324
3324
|
key: 0,
|
|
3325
3325
|
"prepend-icon": `svg:${e(Po)}`,
|
|
3326
3326
|
title: "Banners",
|
|
@@ -3333,7 +3333,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3333
3333
|
})
|
|
3334
3334
|
]),
|
|
3335
3335
|
_: 1
|
|
3336
|
-
}, 8, ["prepend-icon"])) :
|
|
3336
|
+
}, 8, ["prepend-icon"])) : b("", !0)
|
|
3337
3337
|
]),
|
|
3338
3338
|
_: 1
|
|
3339
3339
|
}, 8, ["selected"])
|
|
@@ -3344,13 +3344,13 @@ const at = /* @__PURE__ */ y({
|
|
|
3344
3344
|
default: s(() => [
|
|
3345
3345
|
n(Ct, {
|
|
3346
3346
|
modelValue: e(l),
|
|
3347
|
-
"onUpdate:modelValue":
|
|
3347
|
+
"onUpdate:modelValue": h[1] || (h[1] = (x) => j(l) ? l.value = x : null)
|
|
3348
3348
|
}, {
|
|
3349
3349
|
default: s(() => [
|
|
3350
3350
|
n(_e, { value: "read" }, {
|
|
3351
3351
|
default: s(() => [
|
|
3352
3352
|
n(L, {
|
|
3353
|
-
items: e(
|
|
3353
|
+
items: e(a).unread
|
|
3354
3354
|
}, null, 8, ["items"])
|
|
3355
3355
|
]),
|
|
3356
3356
|
_: 1
|
|
@@ -3358,7 +3358,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3358
3358
|
n(_e, { value: "unread" }, {
|
|
3359
3359
|
default: s(() => [
|
|
3360
3360
|
n(L, {
|
|
3361
|
-
items: e(
|
|
3361
|
+
items: e(a).read
|
|
3362
3362
|
}, null, 8, ["items"])
|
|
3363
3363
|
]),
|
|
3364
3364
|
_: 1
|
|
@@ -3385,14 +3385,14 @@ const at = /* @__PURE__ */ y({
|
|
|
3385
3385
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
3386
3386
|
};
|
|
3387
3387
|
}
|
|
3388
|
-
}),
|
|
3388
|
+
}), Fs = /* @__PURE__ */ y({
|
|
3389
3389
|
__name: "VoNotificationsBadge",
|
|
3390
3390
|
setup(p) {
|
|
3391
|
-
const t =
|
|
3392
|
-
return (o,
|
|
3391
|
+
const t = Ee(), i = T();
|
|
3392
|
+
return (o, a) => (c(), m(Ye, {
|
|
3393
3393
|
color: "error",
|
|
3394
3394
|
content: e(t).unread.length,
|
|
3395
|
-
"model-value": e(
|
|
3395
|
+
"model-value": e(i).one.notifications.enabled && e(t).unread.length > 0
|
|
3396
3396
|
}, {
|
|
3397
3397
|
default: s(() => [
|
|
3398
3398
|
w(o.$slots, "default")
|
|
@@ -3403,14 +3403,14 @@ const at = /* @__PURE__ */ y({
|
|
|
3403
3403
|
}), Ns = /* @__PURE__ */ y({
|
|
3404
3404
|
__name: "VoNotificationsNavItem",
|
|
3405
3405
|
setup(p) {
|
|
3406
|
-
const t = Be(),
|
|
3406
|
+
const t = Be(), i = T(), o = Ee(), a = M(!1);
|
|
3407
3407
|
return He(async () => {
|
|
3408
3408
|
o.index(), t.index();
|
|
3409
3409
|
}), (u, r) => {
|
|
3410
|
-
const l =
|
|
3411
|
-
return e(
|
|
3410
|
+
const l = Fs, d = Es, f = q;
|
|
3411
|
+
return e(i).one.notifications.enabled ? (c(), m(f, {
|
|
3412
3412
|
key: 0,
|
|
3413
|
-
active: e(
|
|
3413
|
+
active: e(a),
|
|
3414
3414
|
link: "",
|
|
3415
3415
|
"prepend-icon": `svg:${e(zo)}`,
|
|
3416
3416
|
rounded: "lg",
|
|
@@ -3418,8 +3418,8 @@ const at = /* @__PURE__ */ y({
|
|
|
3418
3418
|
}, z({
|
|
3419
3419
|
default: s(() => [
|
|
3420
3420
|
n(d, {
|
|
3421
|
-
modelValue: e(
|
|
3422
|
-
"onUpdate:modelValue": r[0] || (r[0] = (g) => j(
|
|
3421
|
+
modelValue: e(a),
|
|
3422
|
+
"onUpdate:modelValue": r[0] || (r[0] = (g) => j(a) ? a.value = g : null)
|
|
3423
3423
|
}, null, 8, ["modelValue"])
|
|
3424
3424
|
]),
|
|
3425
3425
|
_: 2
|
|
@@ -3429,58 +3429,58 @@ const at = /* @__PURE__ */ y({
|
|
|
3429
3429
|
fn: s(() => [
|
|
3430
3430
|
n(l, null, {
|
|
3431
3431
|
default: s(() => [
|
|
3432
|
-
n(
|
|
3432
|
+
n(I)
|
|
3433
3433
|
]),
|
|
3434
3434
|
_: 1
|
|
3435
3435
|
})
|
|
3436
3436
|
]),
|
|
3437
3437
|
key: "0"
|
|
3438
3438
|
} : void 0
|
|
3439
|
-
]), 1032, ["active", "prepend-icon"])) :
|
|
3439
|
+
]), 1032, ["active", "prepend-icon"])) : b("", !0);
|
|
3440
3440
|
};
|
|
3441
3441
|
}
|
|
3442
3442
|
}), Zs = /* @__PURE__ */ y({
|
|
3443
3443
|
__name: "VoDashboardNavItem",
|
|
3444
3444
|
setup(p) {
|
|
3445
3445
|
const t = O();
|
|
3446
|
-
function
|
|
3446
|
+
function i() {
|
|
3447
3447
|
setTimeout(() => {
|
|
3448
3448
|
t.isOpen = !1;
|
|
3449
3449
|
}, 100);
|
|
3450
3450
|
}
|
|
3451
|
-
return (o,
|
|
3451
|
+
return (o, a) => {
|
|
3452
3452
|
const u = q;
|
|
3453
3453
|
return c(), m(u, {
|
|
3454
3454
|
"prepend-icon": `svg:${e(Oo)}`,
|
|
3455
3455
|
rounded: "lg",
|
|
3456
3456
|
title: "Dashboard",
|
|
3457
3457
|
to: "/user/dashboard",
|
|
3458
|
-
onClick:
|
|
3458
|
+
onClick: i
|
|
3459
3459
|
}, null, 8, ["prepend-icon"]);
|
|
3460
3460
|
};
|
|
3461
3461
|
}
|
|
3462
3462
|
}), Hs = /* @__PURE__ */ y({
|
|
3463
3463
|
__name: "VoUserList",
|
|
3464
3464
|
setup(p) {
|
|
3465
|
-
const t =
|
|
3466
|
-
return (
|
|
3467
|
-
const r = Zs, l = Ns, d = Cs, f = Vs, g = _s, _ = ms,
|
|
3468
|
-
return c(), m(
|
|
3465
|
+
const t = F(), i = O(), o = De();
|
|
3466
|
+
return (a, u) => {
|
|
3467
|
+
const r = Zs, l = Ns, d = Cs, f = Vs, g = _s, _ = ms, h = ns, C = Bn, L = Sn, U = bn;
|
|
3468
|
+
return c(), m(ne, {
|
|
3469
3469
|
density: "compact",
|
|
3470
3470
|
nav: "",
|
|
3471
3471
|
slim: ""
|
|
3472
3472
|
}, {
|
|
3473
3473
|
default: s(() => [
|
|
3474
|
-
e(t).user ? (c(), m(r, { key: 0 })) :
|
|
3474
|
+
e(t).user ? (c(), m(r, { key: 0 })) : b("", !0),
|
|
3475
3475
|
n(l),
|
|
3476
3476
|
n(d),
|
|
3477
|
-
e(o).hasTeamAccess ? (c(), m(f, { key: 1 })) :
|
|
3478
|
-
e(
|
|
3477
|
+
e(o).hasTeamAccess ? (c(), m(f, { key: 1 })) : b("", !0),
|
|
3478
|
+
e(i).shopify ? (c(), m(g, { key: 2 })) : b("", !0),
|
|
3479
3479
|
n(_),
|
|
3480
|
-
e(t).user ? (c(), m(
|
|
3481
|
-
e(
|
|
3480
|
+
e(t).user ? (c(), m(h, { key: 3 })) : b("", !0),
|
|
3481
|
+
e(i).isSubscriber ? (c(), m(C, { key: 4 })) : b("", !0),
|
|
3482
3482
|
n(L),
|
|
3483
|
-
e(t).user ? (c(), m(U, { key: 5 })) :
|
|
3483
|
+
e(t).user ? (c(), m(U, { key: 5 })) : b("", !0)
|
|
3484
3484
|
]),
|
|
3485
3485
|
_: 1
|
|
3486
3486
|
});
|
|
@@ -3489,7 +3489,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3489
3489
|
}), js = { class: "mb-2" }, Rs = { key: 0 }, qs = { class: "d-flex ga-4 flex-wrap justify-center mb-4" }, Ws = { class: "text-h6" }, Gs = /* @__PURE__ */ y({
|
|
3490
3490
|
__name: "VoUserAvatar",
|
|
3491
3491
|
setup(p) {
|
|
3492
|
-
const t =
|
|
3492
|
+
const t = F(), i = O(), o = T(), a = M(!1), u = k(() => {
|
|
3493
3493
|
const d = [
|
|
3494
3494
|
"https://cdn.vuetifyjs.com/docs/images/avatars/dark.png",
|
|
3495
3495
|
"https://cdn.vuetifyjs.com/docs/images/avatars/blackguard.png",
|
|
@@ -3506,20 +3506,20 @@ const at = /* @__PURE__ */ y({
|
|
|
3506
3506
|
"https://cdn.vuetifyjs.com/docs/images/avatars/blackhole.png",
|
|
3507
3507
|
"https://cdn.vuetifyjs.com/docs/images/avatars/meteor.png"
|
|
3508
3508
|
];
|
|
3509
|
-
return
|
|
3509
|
+
return i.isSubscriber && d.unshift("https://cdn.vuetifyjs.com/docs/images/avatars/one.png"), t.user && d.unshift(t.user.picture), d;
|
|
3510
3510
|
});
|
|
3511
3511
|
function r(d) {
|
|
3512
3512
|
o.one.avatar = d;
|
|
3513
3513
|
}
|
|
3514
3514
|
function l() {
|
|
3515
|
-
|
|
3515
|
+
i.isSubscriber && (a.value = !a.value);
|
|
3516
3516
|
}
|
|
3517
|
-
return (d, f) => (c(),
|
|
3518
|
-
|
|
3517
|
+
return (d, f) => (c(), V("div", null, [
|
|
3518
|
+
N((c(), m(te, {
|
|
3519
3519
|
class: Zt([
|
|
3520
3520
|
"border-md border-opacity-100 border-surface-light",
|
|
3521
3521
|
{
|
|
3522
|
-
"cursor-pointer": e(
|
|
3522
|
+
"cursor-pointer": e(i).isSubscriber
|
|
3523
3523
|
}
|
|
3524
3524
|
]),
|
|
3525
3525
|
color: "surface",
|
|
@@ -3532,7 +3532,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3532
3532
|
key: 0,
|
|
3533
3533
|
alt: "User avatar",
|
|
3534
3534
|
src: e(o).one.avatar
|
|
3535
|
-
}, null, 8, ["src"])) : (c(), m(
|
|
3535
|
+
}, null, 8, ["src"])) : (c(), m(I, {
|
|
3536
3536
|
key: 1,
|
|
3537
3537
|
class: "mt-1",
|
|
3538
3538
|
icon: "$vuetify",
|
|
@@ -3541,12 +3541,12 @@ const at = /* @__PURE__ */ y({
|
|
|
3541
3541
|
]),
|
|
3542
3542
|
_: 1
|
|
3543
3543
|
}, 8, ["class"])), [
|
|
3544
|
-
[Xo, e(
|
|
3544
|
+
[Xo, e(i).isSubscriber]
|
|
3545
3545
|
]),
|
|
3546
3546
|
v("div", js, [
|
|
3547
3547
|
n(Le, null, {
|
|
3548
3548
|
default: s(() => [
|
|
3549
|
-
e(
|
|
3549
|
+
e(a) ? (c(), V("div", Rs, [
|
|
3550
3550
|
n(P, {
|
|
3551
3551
|
class: "pt-6 pb-1",
|
|
3552
3552
|
flat: "",
|
|
@@ -3554,15 +3554,15 @@ const at = /* @__PURE__ */ y({
|
|
|
3554
3554
|
}, {
|
|
3555
3555
|
default: s(() => [
|
|
3556
3556
|
v("div", qs, [
|
|
3557
|
-
(c(!0),
|
|
3557
|
+
(c(!0), V(D, null, G(e(u), (g, _) => (c(), m(A, {
|
|
3558
3558
|
key: _,
|
|
3559
3559
|
active: e(o).one.avatar === g,
|
|
3560
3560
|
icon: "",
|
|
3561
3561
|
variant: "flat",
|
|
3562
|
-
onClick: (
|
|
3562
|
+
onClick: (h) => r(g)
|
|
3563
3563
|
}, {
|
|
3564
3564
|
default: s(() => [
|
|
3565
|
-
n(
|
|
3565
|
+
n(te, {
|
|
3566
3566
|
eager: "",
|
|
3567
3567
|
image: g
|
|
3568
3568
|
}, null, 8, ["image"])
|
|
@@ -3573,19 +3573,19 @@ const at = /* @__PURE__ */ y({
|
|
|
3573
3573
|
]),
|
|
3574
3574
|
_: 1
|
|
3575
3575
|
})
|
|
3576
|
-
])) :
|
|
3576
|
+
])) : b("", !0)
|
|
3577
3577
|
]),
|
|
3578
3578
|
_: 1
|
|
3579
3579
|
})
|
|
3580
3580
|
]),
|
|
3581
|
-
v("div", Ws,
|
|
3581
|
+
v("div", Ws, $(e(t).user?.name ?? "Guest"), 1)
|
|
3582
3582
|
]));
|
|
3583
3583
|
}
|
|
3584
3584
|
}), Ks = ["href"], Ys = /* @__PURE__ */ y({
|
|
3585
3585
|
__name: "VoUserPinnedEcosystem",
|
|
3586
3586
|
setup(p) {
|
|
3587
|
-
const t = T(), { pinned:
|
|
3588
|
-
return (o,
|
|
3587
|
+
const t = T(), { pinned: i } = Tt();
|
|
3588
|
+
return (o, a) => e(t).one.quicklinks && e(i).length > 0 ? (c(), m($e, {
|
|
3589
3589
|
key: 0,
|
|
3590
3590
|
class: "align-center position-absolute d-flex ga-2 pa-2 me-2",
|
|
3591
3591
|
color: "rgba(0,0,0,.54)",
|
|
@@ -3593,35 +3593,35 @@ const at = /* @__PURE__ */ y({
|
|
|
3593
3593
|
style: { right: "0", top: "8px" }
|
|
3594
3594
|
}, {
|
|
3595
3595
|
default: s(() => [
|
|
3596
|
-
(c(!0),
|
|
3596
|
+
(c(!0), V(D, null, G(e(i), (u) => (c(), m(ve, {
|
|
3597
3597
|
key: u.id
|
|
3598
3598
|
}, {
|
|
3599
3599
|
default: s(({ isHovering: r, props: l }) => [
|
|
3600
|
-
|
|
3600
|
+
N((c(), V("a", R({
|
|
3601
3601
|
class: "d-inline-flex",
|
|
3602
3602
|
href: u.href,
|
|
3603
3603
|
target: "_blank"
|
|
3604
3604
|
}, { ref_for: !0 }, l), [
|
|
3605
|
-
n(
|
|
3605
|
+
n(I, {
|
|
3606
3606
|
color: r ? "primary" : "white",
|
|
3607
3607
|
icon: u.icon,
|
|
3608
3608
|
size: "16"
|
|
3609
3609
|
}, null, 8, ["color", "icon"])
|
|
3610
3610
|
], 16, Ks)), [
|
|
3611
|
-
[
|
|
3611
|
+
[Q, u.name, "start"]
|
|
3612
3612
|
])
|
|
3613
3613
|
]),
|
|
3614
3614
|
_: 2
|
|
3615
3615
|
}, 1024))), 128))
|
|
3616
3616
|
]),
|
|
3617
3617
|
_: 1
|
|
3618
|
-
})) :
|
|
3618
|
+
})) : b("", !0);
|
|
3619
3619
|
}
|
|
3620
3620
|
}), Qs = /* @__PURE__ */ y({
|
|
3621
3621
|
__name: "VoUserBadges",
|
|
3622
3622
|
setup(p) {
|
|
3623
|
-
const t =
|
|
3624
|
-
return (
|
|
3623
|
+
const t = F(), i = O(), o = k(() => i.github || i.discord || i.isSubscriber || t.user?.isAdmin);
|
|
3624
|
+
return (a, u) => e(o) ? (c(), m($e, {
|
|
3625
3625
|
key: 0,
|
|
3626
3626
|
class: "align-center position-absolute ms-2 d-flex ga-2 pa-2",
|
|
3627
3627
|
color: "rgba(0,0,0,.54)",
|
|
@@ -3629,41 +3629,41 @@ const at = /* @__PURE__ */ y({
|
|
|
3629
3629
|
style: { left: "0", top: "8px" }
|
|
3630
3630
|
}, {
|
|
3631
3631
|
default: s(() => [
|
|
3632
|
-
e(t).user?.isAdmin ?
|
|
3632
|
+
e(t).user?.isAdmin ? N((c(), m(I, {
|
|
3633
3633
|
key: 0,
|
|
3634
3634
|
color: "blue",
|
|
3635
3635
|
icon: "$vuetify",
|
|
3636
3636
|
size: "16"
|
|
3637
3637
|
}, null, 512)), [
|
|
3638
|
-
[
|
|
3639
|
-
]) :
|
|
3640
|
-
e(
|
|
3638
|
+
[Q, "Vuetify Administrator", "bottom"]
|
|
3639
|
+
]) : b("", !0),
|
|
3640
|
+
e(i).isSubscriber ? N((c(), m(I, {
|
|
3641
3641
|
key: 1,
|
|
3642
3642
|
color: "amber-darken-2",
|
|
3643
3643
|
icon: `svg:${e(Bo)}`,
|
|
3644
3644
|
size: "16"
|
|
3645
3645
|
}, null, 8, ["icon"])), [
|
|
3646
|
-
[
|
|
3647
|
-
]) :
|
|
3648
|
-
e(
|
|
3646
|
+
[Q, "Vuetify One Subscriber", "bottom"]
|
|
3647
|
+
]) : b("", !0),
|
|
3648
|
+
e(i).github ? N((c(), m(I, {
|
|
3649
3649
|
key: 2,
|
|
3650
3650
|
color: "white",
|
|
3651
3651
|
icon: "$github",
|
|
3652
3652
|
size: "16"
|
|
3653
3653
|
}, null, 512)), [
|
|
3654
|
-
[
|
|
3655
|
-
]) :
|
|
3656
|
-
e(
|
|
3654
|
+
[Q, "GitHub Sponsor", "bottom"]
|
|
3655
|
+
]) : b("", !0),
|
|
3656
|
+
e(i).discord ? N((c(), m(I, {
|
|
3657
3657
|
key: 3,
|
|
3658
3658
|
color: "white",
|
|
3659
3659
|
icon: "$discord",
|
|
3660
3660
|
size: "16"
|
|
3661
3661
|
}, null, 512)), [
|
|
3662
|
-
[
|
|
3663
|
-
]) :
|
|
3662
|
+
[Q, "Discord Subscriber", "bottom"]
|
|
3663
|
+
]) : b("", !0)
|
|
3664
3664
|
]),
|
|
3665
3665
|
_: 1
|
|
3666
|
-
})) :
|
|
3666
|
+
})) : b("", !0);
|
|
3667
3667
|
}
|
|
3668
3668
|
}), Xs = { class: "d-flex flex-grow-1 justify-end fill-height align-start" }, Js = {
|
|
3669
3669
|
key: "reset",
|
|
@@ -3671,13 +3671,13 @@ const at = /* @__PURE__ */ y({
|
|
|
3671
3671
|
}, ea = /* @__PURE__ */ y({
|
|
3672
3672
|
__name: "VoUserColors",
|
|
3673
3673
|
setup(p) {
|
|
3674
|
-
const t =
|
|
3674
|
+
const t = F(), i = O(), o = T(), a = M(!1);
|
|
3675
3675
|
function u() {
|
|
3676
3676
|
o.one.colors.primary = "surface-light";
|
|
3677
3677
|
}
|
|
3678
3678
|
return (r, l) => {
|
|
3679
3679
|
const d = Qs, f = Ys, g = we;
|
|
3680
|
-
return c(),
|
|
3680
|
+
return c(), V(D, null, [
|
|
3681
3681
|
n(se, {
|
|
3682
3682
|
color: e(t).user ? e(o).one.colors.primary : "surface-light",
|
|
3683
3683
|
"content-class": "d-flex align-start justify-end pa-2",
|
|
@@ -3692,53 +3692,53 @@ const at = /* @__PURE__ */ y({
|
|
|
3692
3692
|
n(f),
|
|
3693
3693
|
n(Go, null, {
|
|
3694
3694
|
default: s(() => [
|
|
3695
|
-
|
|
3695
|
+
N(v("div", Js, [
|
|
3696
3696
|
n(g, {
|
|
3697
3697
|
class: "ms-2 me-1",
|
|
3698
3698
|
color: "inherit",
|
|
3699
3699
|
density: "comfortable",
|
|
3700
3700
|
disabled: e(o).one.colors.primary === "surface-light",
|
|
3701
|
-
icon: `svg:${e(
|
|
3701
|
+
icon: `svg:${e(Eo)}`,
|
|
3702
3702
|
title: "Revert to Default",
|
|
3703
3703
|
variant: "text",
|
|
3704
3704
|
onClick: u
|
|
3705
3705
|
}, null, 8, ["disabled", "icon"])
|
|
3706
3706
|
], 512), [
|
|
3707
|
-
[Ie, e(
|
|
3707
|
+
[Ie, e(a)]
|
|
3708
3708
|
])
|
|
3709
3709
|
]),
|
|
3710
3710
|
_: 1
|
|
3711
3711
|
}),
|
|
3712
|
-
e(
|
|
3712
|
+
e(i).isSubscriber ? (c(), m(g, {
|
|
3713
3713
|
key: 0,
|
|
3714
|
-
active: e(
|
|
3714
|
+
active: e(a),
|
|
3715
3715
|
class: "align-self-end",
|
|
3716
3716
|
color: "inherit",
|
|
3717
3717
|
density: "comfortable",
|
|
3718
|
-
icon: e(
|
|
3718
|
+
icon: e(a) ? `svg:${e(Ve)}` : "$edit",
|
|
3719
3719
|
title: "Edit One Header Color",
|
|
3720
|
-
variant: e(
|
|
3721
|
-
onClick: l[0] || (l[0] = (_) =>
|
|
3720
|
+
variant: e(a) ? "text" : "plain",
|
|
3721
|
+
onClick: l[0] || (l[0] = (_) => a.value = !e(a))
|
|
3722
3722
|
}, {
|
|
3723
3723
|
default: s(() => [
|
|
3724
3724
|
n(xe, { "leave-absolute": "" }, {
|
|
3725
3725
|
default: s(() => [
|
|
3726
|
-
(c(), m(
|
|
3727
|
-
key: String(e(
|
|
3726
|
+
(c(), m(I, {
|
|
3727
|
+
key: String(e(a))
|
|
3728
3728
|
}))
|
|
3729
3729
|
]),
|
|
3730
3730
|
_: 1
|
|
3731
3731
|
})
|
|
3732
3732
|
]),
|
|
3733
3733
|
_: 1
|
|
3734
|
-
}, 8, ["active", "icon", "variant"])) :
|
|
3734
|
+
}, 8, ["active", "icon", "variant"])) : b("", !0)
|
|
3735
3735
|
])
|
|
3736
3736
|
]),
|
|
3737
3737
|
_: 1
|
|
3738
3738
|
}, 8, ["color"]),
|
|
3739
3739
|
n(Le, null, {
|
|
3740
3740
|
default: s(() => [
|
|
3741
|
-
e(
|
|
3741
|
+
e(a) ? (c(), m(ln, {
|
|
3742
3742
|
key: 0,
|
|
3743
3743
|
elevation: "0",
|
|
3744
3744
|
height: "250",
|
|
@@ -3751,7 +3751,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3751
3751
|
"swatches-max-height": "200",
|
|
3752
3752
|
width: "278",
|
|
3753
3753
|
"onUpdate:modelValue": l[1] || (l[1] = (_) => e(o).one.colors.primary = _)
|
|
3754
|
-
}, null, 8, ["model-value"])) :
|
|
3754
|
+
}, null, 8, ["model-value"])) : b("", !0)
|
|
3755
3755
|
]),
|
|
3756
3756
|
_: 1
|
|
3757
3757
|
})
|
|
@@ -3761,16 +3761,16 @@ const at = /* @__PURE__ */ y({
|
|
|
3761
3761
|
}), ta = { class: "text-center mt-n9 mb-4" }, oa = /* @__PURE__ */ y({
|
|
3762
3762
|
__name: "VoUserMenu",
|
|
3763
3763
|
setup(p) {
|
|
3764
|
-
const t = Be(),
|
|
3764
|
+
const t = Be(), i = O(), o = E();
|
|
3765
3765
|
return H(() => t.banner, async () => {
|
|
3766
|
-
await new Promise((
|
|
3767
|
-
}, { flush: "pre" }), (
|
|
3766
|
+
await new Promise((a) => setTimeout(a, 300)), i.isOpen && o.value?.updateLocation?.();
|
|
3767
|
+
}, { flush: "pre" }), (a, u) => {
|
|
3768
3768
|
const r = ea, l = Gs, d = Hs, f = Dt;
|
|
3769
3769
|
return c(), m(Ue, {
|
|
3770
3770
|
ref_key: "menu",
|
|
3771
3771
|
ref: o,
|
|
3772
|
-
modelValue: e(
|
|
3773
|
-
"onUpdate:modelValue": u[0] || (u[0] = (g) => e(
|
|
3772
|
+
modelValue: e(i).isOpen,
|
|
3773
|
+
"onUpdate:modelValue": u[0] || (u[0] = (g) => e(i).isOpen = g),
|
|
3774
3774
|
activator: "parent",
|
|
3775
3775
|
"close-on-click": !1,
|
|
3776
3776
|
"close-on-content-click": !1,
|
|
@@ -3788,9 +3788,9 @@ const at = /* @__PURE__ */ y({
|
|
|
3788
3788
|
v("div", ta, [
|
|
3789
3789
|
n(l)
|
|
3790
3790
|
]),
|
|
3791
|
-
n(
|
|
3791
|
+
n(Z),
|
|
3792
3792
|
n(d),
|
|
3793
|
-
n(
|
|
3793
|
+
n(Z),
|
|
3794
3794
|
n(f)
|
|
3795
3795
|
]),
|
|
3796
3796
|
_: 1
|
|
@@ -3803,11 +3803,11 @@ const at = /* @__PURE__ */ y({
|
|
|
3803
3803
|
}), na = { class: "me-n3" }, sa = /* @__PURE__ */ y({
|
|
3804
3804
|
__name: "VoTeamInvite",
|
|
3805
3805
|
setup(p) {
|
|
3806
|
-
const t = De(),
|
|
3807
|
-
function o(
|
|
3808
|
-
t.clearTeamQuery(),
|
|
3806
|
+
const t = De(), i = k(() => t.team?.name ?? `${t.team?.owner.name}'s team`);
|
|
3807
|
+
function o(a) {
|
|
3808
|
+
t.clearTeamQuery(), a.value = !1;
|
|
3809
3809
|
}
|
|
3810
|
-
return (
|
|
3810
|
+
return (a, u) => e(t).teamInviteDialog ? (c(), m(Ce, {
|
|
3811
3811
|
key: 0,
|
|
3812
3812
|
modelValue: e(t).teamInviteDialog,
|
|
3813
3813
|
"onUpdate:modelValue": u[1] || (u[1] = (r) => e(t).teamInviteDialog = r),
|
|
@@ -3815,7 +3815,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3815
3815
|
}, {
|
|
3816
3816
|
default: s(({ isActive: r }) => [
|
|
3817
3817
|
n(P, {
|
|
3818
|
-
"prepend-icon": `svg:${e(
|
|
3818
|
+
"prepend-icon": `svg:${e(Fo)}`,
|
|
3819
3819
|
rounded: "lg",
|
|
3820
3820
|
title: "Join a Team"
|
|
3821
3821
|
}, {
|
|
@@ -3831,11 +3831,11 @@ const at = /* @__PURE__ */ y({
|
|
|
3831
3831
|
]),
|
|
3832
3832
|
text: s(() => [
|
|
3833
3833
|
u[2] || (u[2] = S(" You have been invited to join ", -1)),
|
|
3834
|
-
v("strong", null,
|
|
3834
|
+
v("strong", null, $(e(i)), 1),
|
|
3835
3835
|
u[3] || (u[3] = S("! ", -1))
|
|
3836
3836
|
]),
|
|
3837
3837
|
default: s(() => [
|
|
3838
|
-
n(
|
|
3838
|
+
n(Z, { opacity: ".2" }),
|
|
3839
3839
|
n(yt, { class: "bg-surface-light" }, {
|
|
3840
3840
|
default: s(() => [
|
|
3841
3841
|
n(A, {
|
|
@@ -3863,7 +3863,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3863
3863
|
}, 1032, ["prepend-icon"])
|
|
3864
3864
|
]),
|
|
3865
3865
|
_: 1
|
|
3866
|
-
}, 8, ["modelValue"])) :
|
|
3866
|
+
}, 8, ["modelValue"])) : b("", !0);
|
|
3867
3867
|
}
|
|
3868
3868
|
}), aa = { key: 0 }, Pt = /* @__PURE__ */ y({
|
|
3869
3869
|
__name: "VoAuthBtn",
|
|
@@ -3871,13 +3871,13 @@ const at = /* @__PURE__ */ y({
|
|
|
3871
3871
|
external: Boolean
|
|
3872
3872
|
},
|
|
3873
3873
|
setup(p) {
|
|
3874
|
-
const t =
|
|
3875
|
-
function
|
|
3874
|
+
const t = F(), i = Ee(), o = O(), a = T(), { lgAndUp: u, smAndUp: r } = ae(), l = k(() => o.isOpen || !t.user ? a.one.colors.primary === "surface-light" ? "primary" : a.one.colors.primary : "surface-light"), d = ge(() => a.one.notifications.enabled && i.unread.length > 0), f = ge(() => o.isSubscriber && !a.ecosystem.mcp.seen), g = ge(() => !!t.user && (d.value || f.value)), _ = ge(() => f.value ? "success" : "error");
|
|
3875
|
+
function h() {
|
|
3876
3876
|
t.user || (t.dialog = !0);
|
|
3877
3877
|
}
|
|
3878
|
-
return (
|
|
3879
|
-
const U = oa,
|
|
3880
|
-
return c(),
|
|
3878
|
+
return (C, L) => {
|
|
3879
|
+
const U = oa, Y = we, x = It, pe = pn;
|
|
3880
|
+
return c(), V(D, null, [
|
|
3881
3881
|
n(Ye, {
|
|
3882
3882
|
color: e(_),
|
|
3883
3883
|
dot: "",
|
|
@@ -3887,7 +3887,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3887
3887
|
"offset-y": e(t).user ? 5 : 0
|
|
3888
3888
|
}, {
|
|
3889
3889
|
default: s(() => [
|
|
3890
|
-
n(
|
|
3890
|
+
n(Y, R({
|
|
3891
3891
|
[`${e(u) ? "append-" : ""}icon`]: e(t).user ? void 0 : `svg:${e(nt)}`
|
|
3892
3892
|
}, {
|
|
3893
3893
|
active: "",
|
|
@@ -3899,19 +3899,19 @@ const at = /* @__PURE__ */ y({
|
|
|
3899
3899
|
size: e(r) ? "default" : "small",
|
|
3900
3900
|
style: { transition: ".2s ease" },
|
|
3901
3901
|
variant: e(t).user ? e(o).isOpen ? "outlined" : "text" : "flat",
|
|
3902
|
-
onClick:
|
|
3902
|
+
onClick: h
|
|
3903
3903
|
}), {
|
|
3904
3904
|
default: s(() => [
|
|
3905
|
-
e(t).user ? (c(), m(
|
|
3905
|
+
e(t).user ? (c(), m(te, {
|
|
3906
3906
|
key: 0,
|
|
3907
|
-
image: e(
|
|
3908
|
-
}, null, 8, ["image"])) : (c(),
|
|
3909
|
-
e(r) ? (c(),
|
|
3907
|
+
image: e(a).one.avatar || e(t).user.picture || ""
|
|
3908
|
+
}, null, 8, ["image"])) : (c(), V(D, { key: 1 }, [
|
|
3909
|
+
e(r) ? (c(), V("span", aa, "Login")) : (c(), m(I, {
|
|
3910
3910
|
key: 1,
|
|
3911
3911
|
icon: `svg:${e(nt)}`
|
|
3912
3912
|
}, null, 8, ["icon"]))
|
|
3913
3913
|
], 64)),
|
|
3914
|
-
e(t).user ? (c(), m(U, { key: 2 })) :
|
|
3914
|
+
e(t).user ? (c(), m(U, { key: 2 })) : b("", !0)
|
|
3915
3915
|
]),
|
|
3916
3916
|
_: 1
|
|
3917
3917
|
}, 16, ["border", "color", "icon", "loading", "size", "variant"])
|
|
@@ -3938,10 +3938,10 @@ const at = /* @__PURE__ */ y({
|
|
|
3938
3938
|
},
|
|
3939
3939
|
emits: ["update:modelValue"],
|
|
3940
3940
|
setup(p) {
|
|
3941
|
-
const t = W(p, "modelValue"),
|
|
3942
|
-
return (o,
|
|
3941
|
+
const t = W(p, "modelValue"), i = ut();
|
|
3942
|
+
return (o, a) => (c(), m(Ue, {
|
|
3943
3943
|
modelValue: t.value,
|
|
3944
|
-
"onUpdate:modelValue":
|
|
3944
|
+
"onUpdate:modelValue": a[0] || (a[0] = (u) => t.value = u),
|
|
3945
3945
|
"close-on-content-click": !1,
|
|
3946
3946
|
"max-height": 500,
|
|
3947
3947
|
"min-width": 300
|
|
@@ -3960,28 +3960,28 @@ const at = /* @__PURE__ */ y({
|
|
|
3960
3960
|
rounded: "lg"
|
|
3961
3961
|
}, {
|
|
3962
3962
|
default: s(() => [
|
|
3963
|
-
|
|
3963
|
+
i.prepend ? (c(), V("div", ia, [
|
|
3964
3964
|
w(o.$slots, "prepend")
|
|
3965
|
-
])) :
|
|
3966
|
-
|
|
3967
|
-
|
|
3965
|
+
])) : b("", !0),
|
|
3966
|
+
i.title ? (c(), V(D, { key: 1 }, [
|
|
3967
|
+
i.prepend ? (c(), m(Z, {
|
|
3968
3968
|
key: 0,
|
|
3969
3969
|
class: "mb-3"
|
|
3970
|
-
})) :
|
|
3970
|
+
})) : b("", !0),
|
|
3971
3971
|
v("div", ra, [
|
|
3972
3972
|
w(o.$slots, "title")
|
|
3973
3973
|
])
|
|
3974
|
-
], 64)) :
|
|
3975
|
-
|
|
3976
|
-
|
|
3974
|
+
], 64)) : b("", !0),
|
|
3975
|
+
i.default ? w(o.$slots, "default", { key: 2 }) : b("", !0),
|
|
3976
|
+
i.extension ? (c(), V("div", la, [
|
|
3977
3977
|
w(o.$slots, "extension")
|
|
3978
|
-
])) :
|
|
3979
|
-
|
|
3980
|
-
n(
|
|
3978
|
+
])) : b("", !0),
|
|
3979
|
+
i.append ? (c(), V(D, { key: 4 }, [
|
|
3980
|
+
n(Z, { class: "my-3" }),
|
|
3981
3981
|
v("div", ua, [
|
|
3982
3982
|
w(o.$slots, "append")
|
|
3983
3983
|
])
|
|
3984
|
-
], 64)) :
|
|
3984
|
+
], 64)) : b("", !0)
|
|
3985
3985
|
]),
|
|
3986
3986
|
_: 3
|
|
3987
3987
|
})
|
|
@@ -4000,9 +4000,9 @@ const at = /* @__PURE__ */ y({
|
|
|
4000
4000
|
}),
|
|
4001
4001
|
emits: ["update:mobileMenu"],
|
|
4002
4002
|
setup(p) {
|
|
4003
|
-
const t = p,
|
|
4003
|
+
const t = p, i = W(p, "mobileMenu"), o = ut(), a = Te(), u = Pe(), { mobile: r } = ae(), l = k(() => t.responsive == !0 && r.value), d = k(() => `https://cdn.vuetifyjs.com/docs/images/one/logos/${t.logo}-logo-${a.current.value.dark ? "dark" : "light"}.png`);
|
|
4004
4004
|
return (f, g) => {
|
|
4005
|
-
const _ = lt("router-link"),
|
|
4005
|
+
const _ = lt("router-link"), h = ca, C = Pt;
|
|
4006
4006
|
return c(), m(xt, {
|
|
4007
4007
|
class: "border-b",
|
|
4008
4008
|
image: e(u).suit["app-bar"],
|
|
@@ -4022,14 +4022,14 @@ const at = /* @__PURE__ */ y({
|
|
|
4022
4022
|
_: 1
|
|
4023
4023
|
}),
|
|
4024
4024
|
w(f.$slots, "prepend-fixed"),
|
|
4025
|
-
e(l) ?
|
|
4025
|
+
e(l) ? b("", !0) : w(f.$slots, "prepend", { key: 0 })
|
|
4026
4026
|
]),
|
|
4027
4027
|
append: s(() => [
|
|
4028
4028
|
w(f.$slots, "append-fixed"),
|
|
4029
|
-
e(l) ? (c(), m(
|
|
4029
|
+
e(l) ? (c(), m(h, {
|
|
4030
4030
|
key: 0,
|
|
4031
|
-
modelValue:
|
|
4032
|
-
"onUpdate:modelValue": g[0] || (g[0] = (L) =>
|
|
4031
|
+
modelValue: i.value,
|
|
4032
|
+
"onUpdate:modelValue": g[0] || (g[0] = (L) => i.value = L)
|
|
4033
4033
|
}, z({
|
|
4034
4034
|
activator: s((L) => [
|
|
4035
4035
|
w(f.$slots, "menu-activator", ct(dt(L)))
|
|
@@ -4043,16 +4043,16 @@ const at = /* @__PURE__ */ y({
|
|
|
4043
4043
|
])
|
|
4044
4044
|
}))
|
|
4045
4045
|
]), 1032, ["modelValue"])) : w(f.$slots, "append", { key: 1 }),
|
|
4046
|
-
"append" in o || "append-fixed" in o ? (c(), m(
|
|
4046
|
+
"append" in o || "append-fixed" in o ? (c(), m(Z, {
|
|
4047
4047
|
key: 2,
|
|
4048
4048
|
class: "align-self-center h-100 mx-2 mx-sm-4",
|
|
4049
4049
|
length: "20",
|
|
4050
4050
|
vertical: ""
|
|
4051
|
-
})) :
|
|
4052
|
-
n(
|
|
4051
|
+
})) : b("", !0),
|
|
4052
|
+
n(C)
|
|
4053
4053
|
]),
|
|
4054
4054
|
default: s(() => [
|
|
4055
|
-
e(l) ?
|
|
4055
|
+
e(l) ? b("", !0) : w(f.$slots, "default", { key: 0 })
|
|
4056
4056
|
]),
|
|
4057
4057
|
_: 2
|
|
4058
4058
|
}, [
|
|
@@ -4091,18 +4091,18 @@ const at = /* @__PURE__ */ y({
|
|
|
4091
4091
|
},
|
|
4092
4092
|
emits: ["script:error", "script:load"],
|
|
4093
4093
|
setup(p, { emit: t }) {
|
|
4094
|
-
const
|
|
4094
|
+
const i = p, o = t, a = E(), u = E();
|
|
4095
4095
|
return je(async () => {
|
|
4096
4096
|
const r = document.createElement("script"), l = () => o("script:error");
|
|
4097
|
-
r.type = "text/javascript", r.id =
|
|
4097
|
+
r.type = "text/javascript", r.id = i.scriptId, r.src = i.src, r.addEventListener("load", () => o("script:load")), r.onerror = l, u.value = r;
|
|
4098
4098
|
}), He(() => {
|
|
4099
|
-
u.value &&
|
|
4099
|
+
u.value && a.value && a.value.append(u.value);
|
|
4100
4100
|
}), Ht(() => {
|
|
4101
|
-
u.value &&
|
|
4102
|
-
}), (r, l) => (c(),
|
|
4101
|
+
u.value && a.value && u.value.remove();
|
|
4102
|
+
}), (r, l) => (c(), V("div", {
|
|
4103
4103
|
id: p.id,
|
|
4104
4104
|
ref_key: "rootEl",
|
|
4105
|
-
ref:
|
|
4105
|
+
ref: a
|
|
4106
4106
|
}, null, 8, pa));
|
|
4107
4107
|
}
|
|
4108
4108
|
}), fa = {
|
|
@@ -4114,36 +4114,36 @@ const at = /* @__PURE__ */ y({
|
|
|
4114
4114
|
image: {}
|
|
4115
4115
|
},
|
|
4116
4116
|
setup(p) {
|
|
4117
|
-
return (t,
|
|
4117
|
+
return (t, i) => (c(), m(un, {
|
|
4118
4118
|
class: "vo-footer",
|
|
4119
4119
|
height: "40"
|
|
4120
4120
|
}, {
|
|
4121
4121
|
default: s(() => [
|
|
4122
|
-
t.image || t.$slots.image ? (c(),
|
|
4122
|
+
t.image || t.$slots.image ? (c(), V("div", fa, [
|
|
4123
4123
|
t.$slots.image ? w(t.$slots, "image", { key: 0 }, void 0, !0) : (c(), m(se, {
|
|
4124
4124
|
key: 1,
|
|
4125
4125
|
cover: "",
|
|
4126
4126
|
position: "left",
|
|
4127
4127
|
src: t.image
|
|
4128
4128
|
}, null, 8, ["src"]))
|
|
4129
|
-
])) :
|
|
4129
|
+
])) : b("", !0),
|
|
4130
4130
|
w(t.$slots, "default", {}, void 0, !0)
|
|
4131
4131
|
]),
|
|
4132
4132
|
_: 3
|
|
4133
4133
|
}));
|
|
4134
4134
|
}
|
|
4135
4135
|
}), Xe = (p, t) => {
|
|
4136
|
-
const
|
|
4137
|
-
for (const [o,
|
|
4138
|
-
|
|
4139
|
-
return
|
|
4136
|
+
const i = p.__vccOpts || p;
|
|
4137
|
+
for (const [o, a] of t)
|
|
4138
|
+
i[o] = a;
|
|
4139
|
+
return i;
|
|
4140
4140
|
}, zt = /* @__PURE__ */ Xe(va, [["__scopeId", "data-v-31335c0a"]]), ga = ["href", "title"], _a = {
|
|
4141
4141
|
class: "text-caption text-disabled",
|
|
4142
4142
|
style: { position: "absolute", right: "16px" }
|
|
4143
4143
|
}, ya = /* @__PURE__ */ y({
|
|
4144
4144
|
__name: "VoSocialFooter",
|
|
4145
4145
|
setup(p) {
|
|
4146
|
-
const t = Pe(),
|
|
4146
|
+
const t = Pe(), i = [
|
|
4147
4147
|
{
|
|
4148
4148
|
title: "Vuetify Documentation",
|
|
4149
4149
|
icon: "$vuetify",
|
|
@@ -4175,7 +4175,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4175
4175
|
href: "https://reddit.com/r/vuetifyjs"
|
|
4176
4176
|
}
|
|
4177
4177
|
];
|
|
4178
|
-
return (o,
|
|
4178
|
+
return (o, a) => {
|
|
4179
4179
|
const u = zt;
|
|
4180
4180
|
return c(), m(u, {
|
|
4181
4181
|
class: "vo-footer",
|
|
@@ -4183,7 +4183,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4183
4183
|
image: e(t).suit.footer
|
|
4184
4184
|
}, z({
|
|
4185
4185
|
default: s(() => [
|
|
4186
|
-
(c(),
|
|
4186
|
+
(c(), V(D, null, G(i, (r) => v("a", {
|
|
4187
4187
|
key: r.title,
|
|
4188
4188
|
class: "d-inline-block mx-2 social-link",
|
|
4189
4189
|
href: r.href,
|
|
@@ -4191,14 +4191,14 @@ const at = /* @__PURE__ */ y({
|
|
|
4191
4191
|
target: "_blank",
|
|
4192
4192
|
title: r.title
|
|
4193
4193
|
}, [
|
|
4194
|
-
n(
|
|
4194
|
+
n(I, {
|
|
4195
4195
|
icon: r.icon,
|
|
4196
4196
|
size: r.icon === "$vuetify" ? 24 : 16
|
|
4197
4197
|
}, null, 8, ["icon", "size"])
|
|
4198
4198
|
], 8, ga)), 64)),
|
|
4199
4199
|
v("div", _a, [
|
|
4200
|
-
S(" © 2016-" +
|
|
4201
|
-
|
|
4200
|
+
S(" © 2016-" + $((/* @__PURE__ */ new Date()).getFullYear()) + " ", 1),
|
|
4201
|
+
a[0] || (a[0] = v("span", { class: "d-none d-sm-inline-block" }, "Vuetify, LLC", -1))
|
|
4202
4202
|
])
|
|
4203
4203
|
]),
|
|
4204
4204
|
_: 2
|
|
@@ -4219,34 +4219,34 @@ const at = /* @__PURE__ */ y({
|
|
|
4219
4219
|
demo: { type: Boolean }
|
|
4220
4220
|
},
|
|
4221
4221
|
setup(p) {
|
|
4222
|
-
jt((
|
|
4222
|
+
jt((C) => ({
|
|
4223
4223
|
"581d2818": e(r)?.metadata.bg_blur
|
|
4224
4224
|
}));
|
|
4225
|
-
const t = p, { mdAndUp:
|
|
4225
|
+
const t = p, { mdAndUp: i } = ae(), o = cn(), a = T(), u = Be(), r = k(() => u.banner), l = k(() => r.value?.metadata.height || (r.value?.metadata.subtext ? 88 : 48)), d = k(() => t.demo ? !0 : !!r.value && !a.one.banners.read.includes(r.value.slug));
|
|
4226
4226
|
function f() {
|
|
4227
|
-
t.demo || r.value && (
|
|
4227
|
+
t.demo || r.value && (a.one.banners.read.push(r.value.slug), a.one.banners.last = (/* @__PURE__ */ new Date()).toISOString());
|
|
4228
4228
|
}
|
|
4229
|
-
async function g(
|
|
4229
|
+
async function g(C) {
|
|
4230
4230
|
if (!r.value) return;
|
|
4231
|
-
|
|
4231
|
+
a.one.banners.last = (/* @__PURE__ */ new Date()).toISOString();
|
|
4232
4232
|
const L = r.value?.metadata ?? { link: "" };
|
|
4233
4233
|
if (!L.link.includes("?one=")) return;
|
|
4234
|
-
|
|
4234
|
+
C.preventDefault(), C.stopPropagation();
|
|
4235
4235
|
const U = L.link.split("?one=")[1];
|
|
4236
4236
|
o.push({ query: { one: U } });
|
|
4237
4237
|
}
|
|
4238
|
-
const _ =
|
|
4239
|
-
const
|
|
4238
|
+
const _ = k(() => {
|
|
4239
|
+
const C = r.value?.metadata ?? { link: "" };
|
|
4240
4240
|
return {
|
|
4241
|
-
href:
|
|
4242
|
-
target:
|
|
4243
|
-
to:
|
|
4241
|
+
href: C.link.startsWith("http") ? C.link : void 0,
|
|
4242
|
+
target: C.link.startsWith("http") ? "_blank" : void 0,
|
|
4243
|
+
to: C.link.startsWith("http") ? void 0 : C.link,
|
|
4244
4244
|
...r.value?.metadata.attributes
|
|
4245
4245
|
};
|
|
4246
|
-
}),
|
|
4247
|
-
const
|
|
4248
|
-
if (
|
|
4249
|
-
const L = new URL(
|
|
4246
|
+
}), h = k(() => {
|
|
4247
|
+
const C = r.value?.metadata.images.bg?.url;
|
|
4248
|
+
if (!C?.startsWith("https://cdn.cosmicjs.com/")) return C;
|
|
4249
|
+
const L = new URL(C);
|
|
4250
4250
|
return L.host = "imgix.cosmicjs.com", L.search = new URLSearchParams({
|
|
4251
4251
|
auto: "format,compress",
|
|
4252
4252
|
q: "10",
|
|
@@ -4255,14 +4255,14 @@ const at = /* @__PURE__ */ y({
|
|
|
4255
4255
|
h: "256"
|
|
4256
4256
|
}).toString(), L.toString();
|
|
4257
4257
|
});
|
|
4258
|
-
return (
|
|
4258
|
+
return (C, L) => e(r) ? (c(), m(xt, {
|
|
4259
4259
|
key: 0,
|
|
4260
4260
|
class: "vo-notifications-banner",
|
|
4261
4261
|
color: e(r).metadata.color,
|
|
4262
4262
|
flat: "",
|
|
4263
4263
|
height: e(l),
|
|
4264
|
-
image: e(
|
|
4265
|
-
location:
|
|
4264
|
+
image: e(h),
|
|
4265
|
+
location: C.demo ? "bottom" : void 0,
|
|
4266
4266
|
"model-value": e(d),
|
|
4267
4267
|
order: "-1"
|
|
4268
4268
|
}, {
|
|
@@ -4273,18 +4273,18 @@ const at = /* @__PURE__ */ y({
|
|
|
4273
4273
|
lines: "two"
|
|
4274
4274
|
}, e(_), { onClick: g }), {
|
|
4275
4275
|
prepend: s(() => [
|
|
4276
|
-
e(r).metadata.images.logo ? (c(), m(
|
|
4276
|
+
e(r).metadata.images.logo ? (c(), m(te, {
|
|
4277
4277
|
key: 0,
|
|
4278
4278
|
icon: "$vuetify",
|
|
4279
4279
|
image: e(r).metadata.images.logo.url,
|
|
4280
4280
|
size: "x-large",
|
|
4281
4281
|
tile: "",
|
|
4282
4282
|
variant: "text"
|
|
4283
|
-
}, null, 8, ["image"])) :
|
|
4283
|
+
}, null, 8, ["image"])) : b("", !0)
|
|
4284
4284
|
]),
|
|
4285
4285
|
append: s(() => [
|
|
4286
|
-
e(
|
|
4287
|
-
default: s(({ isHovering: U, props:
|
|
4286
|
+
e(i) && e(r).metadata.link && e(r).metadata.link_text ? (c(), m(ve, { key: 0 }, {
|
|
4287
|
+
default: s(({ isHovering: U, props: Y }) => [
|
|
4288
4288
|
n(A, R({
|
|
4289
4289
|
"append-icon": `svg:${e(Ae)}`,
|
|
4290
4290
|
class: "text-none me-2",
|
|
@@ -4292,20 +4292,20 @@ const at = /* @__PURE__ */ y({
|
|
|
4292
4292
|
elevation: U ? 8 : 0,
|
|
4293
4293
|
title: e(r).metadata.link_text
|
|
4294
4294
|
}, {
|
|
4295
|
-
...
|
|
4295
|
+
...Y,
|
|
4296
4296
|
...e(_)
|
|
4297
4297
|
}, {
|
|
4298
4298
|
variant: "elevated",
|
|
4299
4299
|
onClick: ye(g, ["stop"])
|
|
4300
4300
|
}), {
|
|
4301
4301
|
default: s(() => [
|
|
4302
|
-
S(
|
|
4302
|
+
S($(e(r).metadata.link_text), 1)
|
|
4303
4303
|
]),
|
|
4304
4304
|
_: 1
|
|
4305
4305
|
}, 16, ["append-icon", "color", "elevation", "title"])
|
|
4306
4306
|
]),
|
|
4307
4307
|
_: 1
|
|
4308
|
-
})) :
|
|
4308
|
+
})) : b("", !0),
|
|
4309
4309
|
e(r).metadata.closable ? (c(), m(A, {
|
|
4310
4310
|
key: 1,
|
|
4311
4311
|
class: "ms-6 me-2",
|
|
@@ -4314,7 +4314,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4314
4314
|
size: "small",
|
|
4315
4315
|
variant: "plain",
|
|
4316
4316
|
onClick: ye(f, ["prevent", "stop"])
|
|
4317
|
-
})) :
|
|
4317
|
+
})) : b("", !0)
|
|
4318
4318
|
]),
|
|
4319
4319
|
default: s(() => [
|
|
4320
4320
|
e(r).metadata.text ? (c(), m(_t, {
|
|
@@ -4322,22 +4322,22 @@ const at = /* @__PURE__ */ y({
|
|
|
4322
4322
|
class: "text-subtitle-2 text-md-subtitle-1 font-weight-medium"
|
|
4323
4323
|
}, {
|
|
4324
4324
|
default: s(() => [
|
|
4325
|
-
S(
|
|
4325
|
+
S($(e(r).metadata.text), 1)
|
|
4326
4326
|
]),
|
|
4327
4327
|
_: 1
|
|
4328
|
-
})) :
|
|
4328
|
+
})) : b("", !0),
|
|
4329
4329
|
e(r).metadata.subtext ? (c(), m(jo, { key: 1 }, {
|
|
4330
4330
|
default: s(() => [
|
|
4331
|
-
S(
|
|
4331
|
+
S($(e(r).metadata.subtext), 1)
|
|
4332
4332
|
]),
|
|
4333
4333
|
_: 1
|
|
4334
|
-
})) :
|
|
4334
|
+
})) : b("", !0)
|
|
4335
4335
|
]),
|
|
4336
4336
|
_: 1
|
|
4337
4337
|
}, 16)
|
|
4338
4338
|
]),
|
|
4339
4339
|
_: 1
|
|
4340
|
-
}, 8, ["color", "height", "image", "location", "model-value"])) :
|
|
4340
|
+
}, 8, ["color", "height", "image", "location", "model-value"])) : b("", !0);
|
|
4341
4341
|
}
|
|
4342
4342
|
}), ka = /* @__PURE__ */ Xe(ba, [["__scopeId", "data-v-dee53f67"]]), Va = {
|
|
4343
4343
|
key: 0,
|
|
@@ -4350,7 +4350,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4350
4350
|
minHeight: {}
|
|
4351
4351
|
},
|
|
4352
4352
|
setup(p) {
|
|
4353
|
-
return (t,
|
|
4353
|
+
return (t, i) => (c(), m(P, {
|
|
4354
4354
|
class: "d-inline-flex flex-child-1 position-relative",
|
|
4355
4355
|
color: "surface-light",
|
|
4356
4356
|
flat: "",
|
|
@@ -4368,7 +4368,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4368
4368
|
]),
|
|
4369
4369
|
_: 3
|
|
4370
4370
|
}, 8, ["min-height"]),
|
|
4371
|
-
t.caption ? (c(),
|
|
4371
|
+
t.caption ? (c(), V("div", Va, $(t.caption), 1)) : b("", !0)
|
|
4372
4372
|
]),
|
|
4373
4373
|
_: 2
|
|
4374
4374
|
}, [
|
|
@@ -4388,8 +4388,8 @@ const at = /* @__PURE__ */ y({
|
|
|
4388
4388
|
} : void 0
|
|
4389
4389
|
]), 1024));
|
|
4390
4390
|
}
|
|
4391
|
-
}), Je =
|
|
4392
|
-
const p =
|
|
4391
|
+
}), Je = K("promotions", () => {
|
|
4392
|
+
const p = J(), t = oe(), i = E([]), o = M(!1), a = M(!1), u = k(() => i.value.filter((d) => d.metadata.discoverable));
|
|
4393
4393
|
je(l);
|
|
4394
4394
|
function r(d) {
|
|
4395
4395
|
const f = d.filter((g) => g.metadata.active);
|
|
@@ -4399,18 +4399,18 @@ const at = /* @__PURE__ */ y({
|
|
|
4399
4399
|
try {
|
|
4400
4400
|
o.value = !0;
|
|
4401
4401
|
const d = await p.get("/one/promotions");
|
|
4402
|
-
|
|
4402
|
+
i.value = d.promotions;
|
|
4403
4403
|
} catch (d) {
|
|
4404
4404
|
t.showError(d?.message ?? "Error fetching promotions");
|
|
4405
4405
|
} finally {
|
|
4406
|
-
o.value = !1,
|
|
4406
|
+
o.value = !1, a.value = !0;
|
|
4407
4407
|
}
|
|
4408
|
-
return
|
|
4408
|
+
return i.value;
|
|
4409
4409
|
}
|
|
4410
4410
|
return {
|
|
4411
|
-
all:
|
|
4411
|
+
all: i,
|
|
4412
4412
|
isLoading: o,
|
|
4413
|
-
hasLoaded:
|
|
4413
|
+
hasLoaded: a,
|
|
4414
4414
|
discoverable: u,
|
|
4415
4415
|
index: l,
|
|
4416
4416
|
random: r
|
|
@@ -4421,14 +4421,14 @@ const at = /* @__PURE__ */ y({
|
|
|
4421
4421
|
slug: {}
|
|
4422
4422
|
},
|
|
4423
4423
|
setup(p) {
|
|
4424
|
-
const t = p,
|
|
4425
|
-
if (!(
|
|
4424
|
+
const t = p, i = F(), o = Je(), a = Te(), u = T(), r = k(() => {
|
|
4425
|
+
if (!(i.user && !u.one.ads.enabled))
|
|
4426
4426
|
return t.slug ? o.all.find((f) => f.slug === t.slug) : o.random(o.all);
|
|
4427
|
-
}), l =
|
|
4428
|
-
const f =
|
|
4427
|
+
}), l = k(() => {
|
|
4428
|
+
const f = a.current.value.dark ? "logodark" : "logolight";
|
|
4429
4429
|
return r.value?.metadata.images[f]?.url;
|
|
4430
|
-
}), d =
|
|
4431
|
-
const f =
|
|
4430
|
+
}), d = k(() => {
|
|
4431
|
+
const f = a.current.value.dark ? "bgdark" : "bglight";
|
|
4432
4432
|
return r.value?.metadata.images[f]?.url;
|
|
4433
4433
|
});
|
|
4434
4434
|
return (f, g) => {
|
|
@@ -4446,7 +4446,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4446
4446
|
width: "100%"
|
|
4447
4447
|
}, z({
|
|
4448
4448
|
default: s(() => [
|
|
4449
|
-
e(o).hasLoaded ?
|
|
4449
|
+
e(o).hasLoaded ? b("", !0) : (c(), m(he, {
|
|
4450
4450
|
key: 0,
|
|
4451
4451
|
class: "flex-1-0 overflow-hidden",
|
|
4452
4452
|
color: "transparent",
|
|
@@ -4460,7 +4460,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4460
4460
|
e(r) ? {
|
|
4461
4461
|
name: "prepend",
|
|
4462
4462
|
fn: s(() => [
|
|
4463
|
-
n(
|
|
4463
|
+
n(te, {
|
|
4464
4464
|
class: "my-n4 me-4",
|
|
4465
4465
|
icon: "$vuetify",
|
|
4466
4466
|
size: "36"
|
|
@@ -4475,7 +4475,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4475
4475
|
]),
|
|
4476
4476
|
key: "1"
|
|
4477
4477
|
} : void 0
|
|
4478
|
-
]), 1032, ["color", "href", "image", "prepend-avatar", "title"])) :
|
|
4478
|
+
]), 1032, ["color", "href", "image", "prepend-avatar", "title"])) : b("", !0);
|
|
4479
4479
|
};
|
|
4480
4480
|
}
|
|
4481
4481
|
}), $a = { class: "d-flex ga-4" }, xa = { class: "d-flex align-start ga-4" }, La = { class: "text-caption on-surface-light" }, wa = /* @__PURE__ */ y({
|
|
@@ -4484,9 +4484,9 @@ const at = /* @__PURE__ */ y({
|
|
|
4484
4484
|
slug: {}
|
|
4485
4485
|
},
|
|
4486
4486
|
setup(p) {
|
|
4487
|
-
const t = p,
|
|
4488
|
-
if (!(
|
|
4489
|
-
return t.slug ? o.all.find((r) => r.slug === t.slug) : o.random(!
|
|
4487
|
+
const t = p, i = F(), o = Je(), a = T(), u = k(() => {
|
|
4488
|
+
if (!(i.user && !a.one.ads.enabled && !a.one.ads.house))
|
|
4489
|
+
return t.slug ? o.all.find((r) => r.slug === t.slug) : o.random(!a.one.ads.enabled && a.one.ads.house ? o.discoverable : o.all);
|
|
4490
4490
|
});
|
|
4491
4491
|
return (r, l) => {
|
|
4492
4492
|
const d = Ot;
|
|
@@ -4500,7 +4500,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4500
4500
|
}, {
|
|
4501
4501
|
default: s(() => [
|
|
4502
4502
|
v("div", $a, [
|
|
4503
|
-
e(o).hasLoaded ? e(u) ? (c(),
|
|
4503
|
+
e(o).hasLoaded ? e(u) ? (c(), V(D, { key: 1 }, [
|
|
4504
4504
|
n(se, {
|
|
4505
4505
|
cover: "",
|
|
4506
4506
|
height: "100",
|
|
@@ -4511,9 +4511,9 @@ const at = /* @__PURE__ */ y({
|
|
|
4511
4511
|
width: "100%"
|
|
4512
4512
|
}, null, 8, ["src"]),
|
|
4513
4513
|
v("div", xa, [
|
|
4514
|
-
v("div", La,
|
|
4514
|
+
v("div", La, $(e(u).metadata?.text), 1)
|
|
4515
4515
|
])
|
|
4516
|
-
], 64)) :
|
|
4516
|
+
], 64)) : b("", !0) : (c(), V(D, { key: 0 }, [
|
|
4517
4517
|
n(he, {
|
|
4518
4518
|
class: "flex-1-0 overflow-hidden",
|
|
4519
4519
|
color: "transparent",
|
|
@@ -4533,7 +4533,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4533
4533
|
])
|
|
4534
4534
|
]),
|
|
4535
4535
|
_: 1
|
|
4536
|
-
}, 8, ["href"])) :
|
|
4536
|
+
}, 8, ["href"])) : b("", !0);
|
|
4537
4537
|
};
|
|
4538
4538
|
}
|
|
4539
4539
|
}), Sa = ["href"], Ma = /* @__PURE__ */ y({
|
|
@@ -4542,13 +4542,13 @@ const at = /* @__PURE__ */ y({
|
|
|
4542
4542
|
slug: {}
|
|
4543
4543
|
},
|
|
4544
4544
|
setup(p) {
|
|
4545
|
-
const t = p,
|
|
4546
|
-
if (!(
|
|
4545
|
+
const t = p, i = F(), o = Je(), a = T(), u = Te(), r = k(() => {
|
|
4546
|
+
if (!(i.user && !a.one.ads.enabled))
|
|
4547
4547
|
return t.slug ? o.all.find((f) => f.slug === t.slug) : o.random(o.all);
|
|
4548
|
-
}), l =
|
|
4548
|
+
}), l = k(() => {
|
|
4549
4549
|
const f = u.current.value.dark ? "logodark" : "logolight";
|
|
4550
4550
|
return r.value?.metadata.images[f]?.url;
|
|
4551
|
-
}), d =
|
|
4551
|
+
}), d = k(() => {
|
|
4552
4552
|
const f = u.current.value.dark ? "bgdark" : "bglight";
|
|
4553
4553
|
return r.value?.metadata.images[f]?.url;
|
|
4554
4554
|
});
|
|
@@ -4567,29 +4567,29 @@ const at = /* @__PURE__ */ y({
|
|
|
4567
4567
|
style: { color: "inherit" },
|
|
4568
4568
|
target: "_blank"
|
|
4569
4569
|
}, [
|
|
4570
|
-
n(
|
|
4570
|
+
n(te, {
|
|
4571
4571
|
class: "me-4",
|
|
4572
4572
|
icon: "$vuetify",
|
|
4573
4573
|
image: e(l),
|
|
4574
4574
|
size: "24"
|
|
4575
4575
|
}, null, 8, ["image"]),
|
|
4576
|
-
v("div", null,
|
|
4577
|
-
e(r)?.metadata.advertisement ? (c(), m(
|
|
4576
|
+
v("div", null, $(e(r)?.metadata.text), 1),
|
|
4577
|
+
e(r)?.metadata.advertisement ? (c(), m(ee, {
|
|
4578
4578
|
key: 0,
|
|
4579
4579
|
class: "ms-auto me-n4 align-self-end mb-n2 py-1 ps-3",
|
|
4580
4580
|
rounded: "0 ts-lg",
|
|
4581
4581
|
size: "x-small",
|
|
4582
4582
|
text: "SPONSORED",
|
|
4583
4583
|
variant: "flat"
|
|
4584
|
-
})) :
|
|
4584
|
+
})) : b("", !0)
|
|
4585
4585
|
], 8, Sa)
|
|
4586
4586
|
]),
|
|
4587
4587
|
_: 1
|
|
4588
4588
|
}, 8, ["color", "image"]);
|
|
4589
4589
|
};
|
|
4590
4590
|
}
|
|
4591
|
-
}), Ia =
|
|
4592
|
-
const p =
|
|
4591
|
+
}), Ia = K("spots", () => {
|
|
4592
|
+
const p = J(), t = Ut(), i = oe(), o = E([]), a = M(!1), u = k(() => o.value.find(({
|
|
4593
4593
|
metadata: {
|
|
4594
4594
|
site: l,
|
|
4595
4595
|
active: d
|
|
@@ -4597,19 +4597,19 @@ const at = /* @__PURE__ */ y({
|
|
|
4597
4597
|
}) => d ? l.includes("dev") && !1 || l.includes("*") ? !0 : l.some((f) => t.id.includes(f)) : !1));
|
|
4598
4598
|
async function r() {
|
|
4599
4599
|
try {
|
|
4600
|
-
|
|
4600
|
+
a.value = !0;
|
|
4601
4601
|
const l = await p.get("/one/spots");
|
|
4602
4602
|
o.value = l.spots;
|
|
4603
4603
|
} catch (l) {
|
|
4604
|
-
|
|
4604
|
+
i.showError(l?.message ?? "Error fetching spots");
|
|
4605
4605
|
} finally {
|
|
4606
|
-
|
|
4606
|
+
a.value = !1;
|
|
4607
4607
|
}
|
|
4608
4608
|
return o.value;
|
|
4609
4609
|
}
|
|
4610
4610
|
return {
|
|
4611
4611
|
all: o,
|
|
4612
|
-
isLoading:
|
|
4612
|
+
isLoading: a,
|
|
4613
4613
|
spot: u,
|
|
4614
4614
|
index: r
|
|
4615
4615
|
};
|
|
@@ -4617,7 +4617,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4617
4617
|
__name: "VoSpot",
|
|
4618
4618
|
setup(p) {
|
|
4619
4619
|
const t = Ia();
|
|
4620
|
-
return (
|
|
4620
|
+
return (i, o) => e(t).spot ? (c(), V("a", {
|
|
4621
4621
|
key: 0,
|
|
4622
4622
|
href: e(t).spot.metadata.href,
|
|
4623
4623
|
rel: "noopener noreferrer sponsored",
|
|
@@ -4630,7 +4630,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4630
4630
|
src: e(t).spot.metadata.image?.url,
|
|
4631
4631
|
width: "225"
|
|
4632
4632
|
}, null, 8, ["color", "src"])
|
|
4633
|
-
], 8, Da)) :
|
|
4633
|
+
], 8, Da)) : b("", !0);
|
|
4634
4634
|
}
|
|
4635
4635
|
}), Li = {
|
|
4636
4636
|
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"],
|
|
@@ -4700,53 +4700,105 @@ const at = /* @__PURE__ */ y({
|
|
|
4700
4700
|
["M10.1201 9.28459H7.99586V4.02767L10.1201 2H14.9586L17.0828 4.02767V9.28459H14.9586V4.02767H10.1201V9.28459Z", 0.6],
|
|
4701
4701
|
["M22 21L18.3734 17.675L14.3133 21H22Z", 0.4]
|
|
4702
4702
|
]
|
|
4703
|
-
}, wi =
|
|
4704
|
-
const p =
|
|
4703
|
+
}, wi = K("bins", () => {
|
|
4704
|
+
const p = J(), t = oe(), i = E([]), o = M(!1), a = k(() => i.value.filter((l) => l.favorite)), u = k(() => i.value.filter((l) => l.pinned));
|
|
4705
4705
|
async function r() {
|
|
4706
4706
|
try {
|
|
4707
4707
|
o.value = !0;
|
|
4708
4708
|
const l = await p.get("/one/bins");
|
|
4709
|
-
|
|
4709
|
+
i.value = l.bins;
|
|
4710
4710
|
} catch (l) {
|
|
4711
4711
|
t.showError(l?.message ?? "Error fetching bins");
|
|
4712
4712
|
} finally {
|
|
4713
4713
|
o.value = !1;
|
|
4714
4714
|
}
|
|
4715
|
-
return
|
|
4715
|
+
return i.value;
|
|
4716
4716
|
}
|
|
4717
4717
|
return {
|
|
4718
4718
|
isLoading: o,
|
|
4719
4719
|
pinned: u,
|
|
4720
|
-
favorites:
|
|
4721
|
-
all:
|
|
4720
|
+
favorites: a,
|
|
4721
|
+
all: i,
|
|
4722
4722
|
index: r
|
|
4723
4723
|
};
|
|
4724
|
-
}), Si =
|
|
4725
|
-
const p =
|
|
4726
|
-
async function
|
|
4727
|
-
|
|
4728
|
-
|
|
4724
|
+
}), Si = K("links", () => {
|
|
4725
|
+
const p = J(), t = oe(), i = F(), o = O(), a = E([]), u = M(!1), r = M(!1), l = k(() => a.value.filter((h) => h.favorite)), d = k(() => a.value.filter((h) => h.pinned)), f = k(() => i.user?.isAdmin || o.isSubscriber);
|
|
4726
|
+
async function g() {
|
|
4727
|
+
try {
|
|
4728
|
+
u.value = !0;
|
|
4729
|
+
const h = await p.get("/one/links");
|
|
4730
|
+
a.value = h.links;
|
|
4731
|
+
} catch (h) {
|
|
4732
|
+
t.showError(h?.message ?? "Error fetching links");
|
|
4733
|
+
} finally {
|
|
4734
|
+
u.value = !1;
|
|
4735
|
+
}
|
|
4736
|
+
return a.value;
|
|
4737
|
+
}
|
|
4738
|
+
async function _(h) {
|
|
4739
|
+
if (!f.value) {
|
|
4740
|
+
t.showError("Must be a Vuetify One subscriber to create links");
|
|
4741
|
+
return;
|
|
4742
|
+
}
|
|
4743
|
+
try {
|
|
4744
|
+
r.value = !0;
|
|
4745
|
+
const C = await p.post("/one/links", {
|
|
4746
|
+
link: {
|
|
4747
|
+
title: h.title,
|
|
4748
|
+
url: h.url,
|
|
4749
|
+
slug: h.slug || "",
|
|
4750
|
+
favorite: h.favorite ?? !1,
|
|
4751
|
+
pinned: h.pinned ?? !1,
|
|
4752
|
+
scoped: h.scoped ?? !1,
|
|
4753
|
+
passwordProtection: h.passwordProtection ?? !1,
|
|
4754
|
+
password: h.password ?? null,
|
|
4755
|
+
timer: h.timer ?? null,
|
|
4756
|
+
expiresAt: h.expiresAt ?? null
|
|
4757
|
+
}
|
|
4758
|
+
});
|
|
4759
|
+
return a.value.unshift(C.link), C.link;
|
|
4760
|
+
} catch (C) {
|
|
4761
|
+
t.showError(C?.message ?? "Error creating link");
|
|
4762
|
+
} finally {
|
|
4763
|
+
r.value = !1;
|
|
4764
|
+
}
|
|
4765
|
+
}
|
|
4766
|
+
return {
|
|
4767
|
+
isLoading: u,
|
|
4768
|
+
isSaving: r,
|
|
4769
|
+
canCreate: f,
|
|
4770
|
+
pinned: d,
|
|
4771
|
+
favorites: l,
|
|
4772
|
+
all: a,
|
|
4773
|
+
index: g,
|
|
4774
|
+
create: _
|
|
4775
|
+
};
|
|
4776
|
+
}), Mi = K("products", () => {
|
|
4777
|
+
const p = J(), t = oe(), i = E([]), o = k(() => i.value.filter((r) => r.product_type === "Themes"));
|
|
4778
|
+
async function a() {
|
|
4779
|
+
if (i.value.length > 0)
|
|
4780
|
+
return i.value;
|
|
4729
4781
|
try {
|
|
4730
4782
|
const r = await p.get("/one/shopify/products");
|
|
4731
|
-
|
|
4783
|
+
i.value = r.products;
|
|
4732
4784
|
} catch (r) {
|
|
4733
4785
|
t.showError(r?.message ?? "Error fetching products");
|
|
4734
4786
|
}
|
|
4735
|
-
return
|
|
4787
|
+
return i.value;
|
|
4736
4788
|
}
|
|
4737
4789
|
function u(r) {
|
|
4738
4790
|
return r.slice().sort(() => Math.random() - 0.5);
|
|
4739
4791
|
}
|
|
4740
4792
|
return {
|
|
4741
|
-
all:
|
|
4793
|
+
all: i,
|
|
4742
4794
|
themes: o,
|
|
4743
|
-
index:
|
|
4795
|
+
index: a,
|
|
4744
4796
|
randomize: u
|
|
4745
4797
|
};
|
|
4746
|
-
}),
|
|
4747
|
-
const p =
|
|
4798
|
+
}), Ii = K("sponsors", () => {
|
|
4799
|
+
const p = J(), t = oe(), i = E([]), o = E([]), a = E(!1), u = k(() => {
|
|
4748
4800
|
const d = {};
|
|
4749
|
-
for (const f of
|
|
4801
|
+
for (const f of i.value) {
|
|
4750
4802
|
const g = f.metadata.tier;
|
|
4751
4803
|
d[g] || (d[g] = []), d[g].push(f);
|
|
4752
4804
|
}
|
|
@@ -4755,57 +4807,58 @@ const at = /* @__PURE__ */ y({
|
|
|
4755
4807
|
Rt(r), je(r);
|
|
4756
4808
|
async function r() {
|
|
4757
4809
|
try {
|
|
4758
|
-
|
|
4810
|
+
a.value = !0;
|
|
4759
4811
|
const d = await p.get("/one/sponsors");
|
|
4760
4812
|
o.value = d.sponsors;
|
|
4761
4813
|
} catch (d) {
|
|
4762
4814
|
t.showError(d?.message ?? "Error fetching sponsors");
|
|
4763
4815
|
} finally {
|
|
4764
|
-
|
|
4816
|
+
a.value = !1;
|
|
4765
4817
|
}
|
|
4766
4818
|
return o.value;
|
|
4767
4819
|
}
|
|
4768
4820
|
function l(d) {
|
|
4769
|
-
return
|
|
4821
|
+
return i.value.find((f) => f.slug === d);
|
|
4770
4822
|
}
|
|
4771
4823
|
return {
|
|
4772
|
-
isLoading:
|
|
4824
|
+
isLoading: a,
|
|
4773
4825
|
all: o,
|
|
4774
|
-
sponsors:
|
|
4826
|
+
sponsors: i,
|
|
4775
4827
|
byTier: u,
|
|
4776
4828
|
bySlug: l,
|
|
4777
4829
|
index: r
|
|
4778
4830
|
};
|
|
4779
4831
|
});
|
|
4780
|
-
function
|
|
4832
|
+
function Di() {
|
|
4781
4833
|
function p(t) {
|
|
4782
4834
|
t.component("VoAppBar", da), t.component("VoAuthBtn", Pt), t.component("VoAuthCard", Mt), t.component("VoAuthDialog", It), t.component("VoAuthListItem", Dt), t.component("VoNotificationsBanner", ka), t.component("VoPromotionsCardHighlight", Ca), t.component("VoPromotionsCardVuetify", wa), t.component("VoPromotionsFooter", Ma), t.component("VoScript", ma), t.component("VoSocialFooter", ha), t.component("VoSpot", Aa);
|
|
4783
4835
|
}
|
|
4784
4836
|
return { install: p };
|
|
4785
4837
|
}
|
|
4786
|
-
function
|
|
4787
|
-
return function(
|
|
4788
|
-
const o =
|
|
4838
|
+
function Ai(p, t) {
|
|
4839
|
+
return function(i) {
|
|
4840
|
+
const o = i.store;
|
|
4789
4841
|
o.url = t, o.$id === "site" && (o.id = p);
|
|
4790
4842
|
};
|
|
4791
4843
|
}
|
|
4792
4844
|
export {
|
|
4793
4845
|
Li as aliases,
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4846
|
+
Di as createOne,
|
|
4847
|
+
Ai as one,
|
|
4848
|
+
F as useAuthStore,
|
|
4797
4849
|
Be as useBannersStore,
|
|
4798
4850
|
wi as useBinsStore,
|
|
4799
4851
|
fs as useDownloadsStore,
|
|
4800
|
-
|
|
4801
|
-
|
|
4852
|
+
J as useHttpStore,
|
|
4853
|
+
Si as useLinksStore,
|
|
4854
|
+
Ee as useNotificationsStore,
|
|
4802
4855
|
O as useOneStore,
|
|
4803
|
-
|
|
4856
|
+
Mi as useProductsStore,
|
|
4804
4857
|
Je as usePromotionsStore,
|
|
4805
|
-
|
|
4858
|
+
oe as useQueueStore,
|
|
4806
4859
|
Pe as useSettingsStore,
|
|
4807
4860
|
Ut as useSiteStore,
|
|
4808
|
-
|
|
4861
|
+
Ii as useSponsorsStore,
|
|
4809
4862
|
Ia as useSpotsStore,
|
|
4810
4863
|
De as useTeamStore,
|
|
4811
4864
|
T as useUserStore
|