@vuetify/one 2.6.0 → 2.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +648 -625
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as y, createBlock as m, openBlock as u, unref as e, computed as b, createSlots as P, withCtx as s, createElementVNode as v, toDisplayString as $, createVNode as
|
|
1
|
+
import { defineComponent as y, createBlock as m, openBlock as u, unref as e, computed as b, createSlots as P, withCtx as s, createElementVNode as v, toDisplayString as $, createVNode as o, createTextVNode as D, ref as N, shallowRef as A, renderSlot as L, normalizeStyle as st, createCommentVNode as h, watch as H, withModifiers as xe, mergeModels as at, useModel as Z, createElementBlock as V, Fragment as M, nextTick as ge, renderList as Q, mergeProps as F, withDirectives as ee, vShow as Se, isRef as q, readonly as Ce, resolveComponent as it, watchEffect as zt, onMounted as Ee, normalizeClass as Pt, useSlots as rt, normalizeProps as lt, guardReactiveProps as ut, onBeforeMount as He, onBeforeUnmount as Ft, useCssVars as Nt, onServerPrefetch as jt } from "vue";
|
|
2
2
|
import { u as te, a as E, b as X, c as U, d as B, e as ye, f as Ie } from "./auth-CcaMo2zh.js";
|
|
3
3
|
import { VSnackbarQueue as Et } from "vuetify/components/VSnackbarQueue";
|
|
4
4
|
import { mdiStorefront as Ht, mdiSync as Rt, mdiSyncOff as Zt, mdiLogoutVariant as qt, mdiFullscreenExit as Wt, mdiFullscreen as Gt, mdiCheck as he, mdiSelect as Kt, mdiSpaceInvaders as ct, mdiImageFilterHdr as dt, mdiTransmissionTower as pt, mdiRocketLaunchOutline as mt, mdiHome as Qt, mdiTextBox as Yt, mdiWhiteBalanceSunny as Xt, mdiWeatherNight as Jt, mdiDesktopTowerMonitor as eo, mdiContrastCircle as to, mdiCog as oo, mdiCogOutline as no, mdiShieldKeyOutline as so, mdiContentCopy as Re, mdiFileDocument as ft, mdiKey as ao, mdiPlus as io, mdiRefresh as ro, mdiKeyOutline as lo, mdiCreditCardSettingsOutline as uo, mdiRocketOutline as co, mdiCheckCircleOutline as we, mdiCreditCard as po, mdiReload as mo, mdiPlaylistCheck as fo, mdiCreditCardOutline as vo, mdiOpenInNew as De, mdiMedal as _o, mdiHandHeart as go, mdiHandHeartOutline as yo, mdiCloudDownload as ho, mdiTrayArrowDown as tt, mdiAccountGroup as bo, mdiAccount as ko, mdiLinkVariant as Vo, mdiShieldLock as ot, mdiAccountRemoveOutline as $o, mdiExitToApp as Co, mdiAccountGroupOutline as xo, mdiEmailOpenOutline as Ze, mdiEmailVariant as qe, mdiBell as wo, mdiInboxOutline as Lo, mdiInboxFullOutline as So, mdiBillboard as Io, mdiBellOutline as Do, mdiViewDashboardOutline as Ao, mdiCrown as Mo, mdiArrowULeftBottom as To, mdiAtomVariant as Uo, mdiLogin as nt, mdiDotsVertical as Bo, mdiShieldStarOutline as Oo } from "@mdi/js";
|
|
@@ -8,14 +8,14 @@ import { VCard as T, VCardTitle as Fo, VCardSubtitle as No, VCardText as G, VCar
|
|
|
8
8
|
import { VDialog as Ae } from "vuetify/components/VDialog";
|
|
9
9
|
import { defineStore as K } from "pinia";
|
|
10
10
|
import { VBadge as We } from "vuetify/components/VBadge";
|
|
11
|
-
import { VBtn as
|
|
11
|
+
import { VBtn as I } from "vuetify/components/VBtn";
|
|
12
12
|
import { VProgressCircular as jo } from "vuetify/components/VProgressCircular";
|
|
13
13
|
import { VSheet as Me } from "vuetify/components/VSheet";
|
|
14
14
|
import { VSwitch as Ge } from "vuetify/components/VSwitch";
|
|
15
15
|
import { VFadeTransition as be, VExpandTransition as pe, VExpandXTransition as Eo } from "vuetify/components/transitions";
|
|
16
16
|
import { useDisplay as ae, useTheme as Te, useDate as me } from "vuetify";
|
|
17
17
|
import { VDivider as j } from "vuetify/components/VDivider";
|
|
18
|
-
import { VIcon as
|
|
18
|
+
import { VIcon as C } from "vuetify/components/VIcon";
|
|
19
19
|
import { VLabel as Ne } from "vuetify/components/VLabel";
|
|
20
20
|
import { VChip as ne } from "vuetify/components/VChip";
|
|
21
21
|
import { VChipGroup as Ho } from "vuetify/components/VChipGroup";
|
|
@@ -36,7 +36,7 @@ import { VWindow as kt, VWindowItem as ve } from "vuetify/components/VWindow";
|
|
|
36
36
|
import { VTimelineItem as Yo, VTimeline as Xo } from "vuetify/components/VTimeline";
|
|
37
37
|
import { VEmptyState as Ke } from "vuetify/components/VEmptyState";
|
|
38
38
|
import { VMenu as Qe } from "vuetify/components/VMenu";
|
|
39
|
-
import { VTooltip as
|
|
39
|
+
import { VTooltip as R } from "vuetify/components/VTooltip";
|
|
40
40
|
import { VResponsive as Jo } from "vuetify/components/VResponsive";
|
|
41
41
|
import { VNavigationDrawer as en } from "vuetify/components/VNavigationDrawer";
|
|
42
42
|
import { VColorPicker as tn } from "vuetify/components/VColorPicker";
|
|
@@ -48,9 +48,9 @@ const an = /* @__PURE__ */ y({
|
|
|
48
48
|
__name: "VoSnackbarQueue",
|
|
49
49
|
setup(p) {
|
|
50
50
|
const t = te();
|
|
51
|
-
return (i,
|
|
51
|
+
return (i, n) => (u(), m(Et, {
|
|
52
52
|
modelValue: e(t).queue,
|
|
53
|
-
"onUpdate:modelValue":
|
|
53
|
+
"onUpdate:modelValue": n[0] || (n[0] = (r) => e(t).queue = r),
|
|
54
54
|
closable: "",
|
|
55
55
|
location: "bottom end"
|
|
56
56
|
}, null, 8, ["modelValue"]));
|
|
@@ -58,7 +58,7 @@ const an = /* @__PURE__ */ y({
|
|
|
58
58
|
}), rn = { class: "text-body-2" }, $t = /* @__PURE__ */ y({
|
|
59
59
|
__name: "VoAuthShopify",
|
|
60
60
|
setup(p) {
|
|
61
|
-
const t = E(), i = b(() => t.user && t.findIdentity("shopify")),
|
|
61
|
+
const t = E(), i = b(() => t.user && t.findIdentity("shopify")), n = b(() => t.user ? i.value ? "Connected to Shopify" : "Connect Shopify" : "Login with Shopify");
|
|
62
62
|
return (r, l) => (u(), m(de, {
|
|
63
63
|
"base-color": "#5b8a3c",
|
|
64
64
|
"prepend-icon": `svg:${e(Ht)}`,
|
|
@@ -68,7 +68,7 @@ const an = /* @__PURE__ */ y({
|
|
|
68
68
|
onClick: l[0] || (l[0] = (a) => e(t).login("shopify"))
|
|
69
69
|
}, P({
|
|
70
70
|
title: s(() => [
|
|
71
|
-
v("span", rn, $(e(
|
|
71
|
+
v("span", rn, $(e(n)), 1)
|
|
72
72
|
]),
|
|
73
73
|
_: 2
|
|
74
74
|
}, [
|
|
@@ -84,7 +84,7 @@ const an = /* @__PURE__ */ y({
|
|
|
84
84
|
}), ln = { class: "text-body-2" }, Ct = /* @__PURE__ */ y({
|
|
85
85
|
__name: "VoAuthDiscord",
|
|
86
86
|
setup(p) {
|
|
87
|
-
const t = E(), i = b(() => t.user && t.findIdentity("discord")),
|
|
87
|
+
const t = E(), i = b(() => t.user && t.findIdentity("discord")), n = b(() => t.user ? i.value ? "Connected to Discord" : "Connect Discord" : "Login with Discord");
|
|
88
88
|
return (r, l) => (u(), m(de, {
|
|
89
89
|
"base-color": "#5865F2",
|
|
90
90
|
"prepend-icon": "$discord",
|
|
@@ -94,7 +94,7 @@ const an = /* @__PURE__ */ y({
|
|
|
94
94
|
onClick: l[0] || (l[0] = (a) => e(t).login("discord"))
|
|
95
95
|
}, P({
|
|
96
96
|
title: s(() => [
|
|
97
|
-
v("span", ln, $(e(
|
|
97
|
+
v("span", ln, $(e(n)), 1)
|
|
98
98
|
]),
|
|
99
99
|
_: 2
|
|
100
100
|
}, [
|
|
@@ -110,7 +110,7 @@ const an = /* @__PURE__ */ y({
|
|
|
110
110
|
}), un = { class: "text-body-2" }, xt = /* @__PURE__ */ y({
|
|
111
111
|
__name: "VoAuthGithub",
|
|
112
112
|
setup(p) {
|
|
113
|
-
const t = E(), i = b(() => t.user && t.findIdentity("github")),
|
|
113
|
+
const t = E(), i = b(() => t.user && t.findIdentity("github")), n = b(() => t.user ? i.value ? "Connected to GitHub" : "Connect GitHub" : "Login with GitHub");
|
|
114
114
|
return (r, l) => (u(), m(de, {
|
|
115
115
|
"base-color": "#2a2a2a",
|
|
116
116
|
"prepend-icon": "$github",
|
|
@@ -120,7 +120,7 @@ const an = /* @__PURE__ */ y({
|
|
|
120
120
|
onClick: l[0] || (l[0] = (a) => e(t).login("github"))
|
|
121
121
|
}, P({
|
|
122
122
|
title: s(() => [
|
|
123
|
-
v("span", un, $(e(
|
|
123
|
+
v("span", un, $(e(n)), 1)
|
|
124
124
|
]),
|
|
125
125
|
_: 2
|
|
126
126
|
}, [
|
|
@@ -137,7 +137,7 @@ const an = /* @__PURE__ */ y({
|
|
|
137
137
|
__name: "VoAuthCard",
|
|
138
138
|
setup(p) {
|
|
139
139
|
const t = E();
|
|
140
|
-
return (i,
|
|
140
|
+
return (i, n) => {
|
|
141
141
|
const r = xt, l = Ct, a = $t;
|
|
142
142
|
return u(), m(T, {
|
|
143
143
|
class: "pt-6 pb-8 px-4 px-sm-8 mx-auto",
|
|
@@ -145,36 +145,36 @@ const an = /* @__PURE__ */ y({
|
|
|
145
145
|
}, {
|
|
146
146
|
default: s(() => [
|
|
147
147
|
v("div", cn, [
|
|
148
|
-
|
|
148
|
+
o(Y, {
|
|
149
149
|
class: "mx-auto",
|
|
150
150
|
image: "https://vuetifyjs.b-cdn.net/docs/images/avatars/one.png",
|
|
151
151
|
size: "64"
|
|
152
152
|
})
|
|
153
153
|
]),
|
|
154
154
|
v("div", dn, [
|
|
155
|
-
|
|
155
|
+
o(Fo, { class: "text-h5 mb-1 text-md-h4" }, {
|
|
156
156
|
default: s(() => [
|
|
157
157
|
v("div", pn, $(e(t).lastLoginProvider() ? "Welcome back to" : "Login to"), 1),
|
|
158
|
-
|
|
158
|
+
n[0] || (n[0] = v("span", { class: "text-h3 font-weight-bold" }, "Vuetify One", -1))
|
|
159
159
|
]),
|
|
160
160
|
_: 1
|
|
161
161
|
}),
|
|
162
|
-
|
|
163
|
-
default: s(() => [...
|
|
164
|
-
|
|
162
|
+
o(No, { class: "text-wrap" }, {
|
|
163
|
+
default: s(() => [...n[1] || (n[1] = [
|
|
164
|
+
D(" Login to save your settings and gain access to exclusive subscriber perks. ", -1)
|
|
165
165
|
])]),
|
|
166
166
|
_: 1
|
|
167
167
|
})
|
|
168
168
|
]),
|
|
169
|
-
|
|
169
|
+
o(se, {
|
|
170
170
|
class: "mx-auto",
|
|
171
171
|
"max-width": "300",
|
|
172
172
|
width: "100%"
|
|
173
173
|
}, {
|
|
174
174
|
default: s(() => [
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
175
|
+
o(r, { class: "mb-3" }),
|
|
176
|
+
o(l, { class: "mb-3" }),
|
|
177
|
+
o(a)
|
|
178
178
|
]),
|
|
179
179
|
_: 1
|
|
180
180
|
})
|
|
@@ -187,37 +187,37 @@ const an = /* @__PURE__ */ y({
|
|
|
187
187
|
__name: "VoAuthDialog",
|
|
188
188
|
setup(p) {
|
|
189
189
|
const t = E();
|
|
190
|
-
return (i,
|
|
190
|
+
return (i, n) => {
|
|
191
191
|
const r = wt;
|
|
192
192
|
return u(), m(Ae, {
|
|
193
193
|
modelValue: e(t).dialog,
|
|
194
|
-
"onUpdate:modelValue":
|
|
194
|
+
"onUpdate:modelValue": n[0] || (n[0] = (l) => e(t).dialog = l),
|
|
195
195
|
"max-width": "480"
|
|
196
196
|
}, {
|
|
197
197
|
default: s(() => [
|
|
198
|
-
|
|
198
|
+
o(r)
|
|
199
199
|
]),
|
|
200
200
|
_: 1
|
|
201
201
|
}, 8, ["modelValue"]);
|
|
202
202
|
};
|
|
203
203
|
}
|
|
204
204
|
}), Ue = K("notifications", () => {
|
|
205
|
-
const p = X(), t = U(), i = te(),
|
|
205
|
+
const p = X(), t = U(), i = te(), n = N([]), r = A(!1), l = b(() => n.value.filter((d) => !t.one.notifications.read.includes(d.slug))), a = b(() => n.value.filter((d) => t.one.notifications.read.includes(d.slug)));
|
|
206
206
|
async function c() {
|
|
207
207
|
try {
|
|
208
208
|
r.value = !0;
|
|
209
209
|
const d = await p.get("/one/notifications");
|
|
210
|
-
|
|
210
|
+
n.value = d.notifications;
|
|
211
211
|
} catch (d) {
|
|
212
212
|
i.showError(d?.message ?? "Error fetching notifications");
|
|
213
213
|
} finally {
|
|
214
214
|
r.value = !1;
|
|
215
215
|
}
|
|
216
|
-
return
|
|
216
|
+
return n.value;
|
|
217
217
|
}
|
|
218
218
|
return {
|
|
219
219
|
isLoading: r,
|
|
220
|
-
all:
|
|
220
|
+
all: n,
|
|
221
221
|
read: a,
|
|
222
222
|
unread: l,
|
|
223
223
|
index: c
|
|
@@ -225,7 +225,7 @@ const an = /* @__PURE__ */ y({
|
|
|
225
225
|
}), mn = /* @__PURE__ */ y({
|
|
226
226
|
__name: "VoNotificationsTotalBadge",
|
|
227
227
|
setup(p) {
|
|
228
|
-
const t = E(), i = Ue(),
|
|
228
|
+
const t = E(), i = Ue(), n = U(), r = b(() => n.one.notifications.enabled ? i.unread.length : 0);
|
|
229
229
|
return (l, a) => (u(), m(We, {
|
|
230
230
|
color: "error",
|
|
231
231
|
content: e(r),
|
|
@@ -246,7 +246,7 @@ const an = /* @__PURE__ */ y({
|
|
|
246
246
|
},
|
|
247
247
|
setup(p) {
|
|
248
248
|
const t = p;
|
|
249
|
-
return (i,
|
|
249
|
+
return (i, n) => (u(), m(I, {
|
|
250
250
|
class: "text-none font-weight-regular",
|
|
251
251
|
color: "primary",
|
|
252
252
|
size: "small",
|
|
@@ -286,24 +286,24 @@ const an = /* @__PURE__ */ y({
|
|
|
286
286
|
}), fn = { class: "pa-4 d-flex flex-column ga-4" }, St = /* @__PURE__ */ y({
|
|
287
287
|
__name: "VoAuthListItem",
|
|
288
288
|
setup(p) {
|
|
289
|
-
const t = E(), i = U(),
|
|
289
|
+
const t = E(), i = U(), n = A(!t.user && !t.isLoading);
|
|
290
290
|
H(() => t.user, (l) => {
|
|
291
|
-
|
|
291
|
+
n.value = !l;
|
|
292
292
|
});
|
|
293
293
|
function r() {
|
|
294
|
-
t.user && (
|
|
294
|
+
t.user && (n.value = !n.value);
|
|
295
295
|
}
|
|
296
296
|
return (l, a) => {
|
|
297
297
|
const c = xt, d = Ct, f = $t;
|
|
298
298
|
return u(), m(T, {
|
|
299
299
|
class: "ma-2",
|
|
300
300
|
rounded: "lg",
|
|
301
|
-
variant: e(
|
|
301
|
+
variant: e(n) ? "tonal" : "text"
|
|
302
302
|
}, {
|
|
303
303
|
default: s(() => [
|
|
304
|
-
|
|
304
|
+
o(se, { class: "py-0" }, {
|
|
305
305
|
default: s(() => [
|
|
306
|
-
|
|
306
|
+
o(de, {
|
|
307
307
|
class: "mb-0",
|
|
308
308
|
link: !!e(t).user,
|
|
309
309
|
nav: "",
|
|
@@ -314,9 +314,9 @@ const an = /* @__PURE__ */ y({
|
|
|
314
314
|
onClick: r
|
|
315
315
|
}, {
|
|
316
316
|
append: s(() => [
|
|
317
|
-
|
|
317
|
+
o(be, null, {
|
|
318
318
|
default: s(() => [
|
|
319
|
-
e(t).user && (e(
|
|
319
|
+
e(t).user && (e(n) || !e(i).one.sync) ? (u(), m(Ge, {
|
|
320
320
|
key: 0,
|
|
321
321
|
modelValue: e(i).one.sync,
|
|
322
322
|
"onUpdate:modelValue": a[0] || (a[0] = (_) => e(i).one.sync = _),
|
|
@@ -328,7 +328,7 @@ const an = /* @__PURE__ */ y({
|
|
|
328
328
|
}, ["stop"]))
|
|
329
329
|
}, {
|
|
330
330
|
thumb: s(() => [
|
|
331
|
-
|
|
331
|
+
o(Y, {
|
|
332
332
|
color: e(i).one.sync ? "success" : void 0
|
|
333
333
|
}, null, 8, ["color"])
|
|
334
334
|
]),
|
|
@@ -340,23 +340,23 @@ const an = /* @__PURE__ */ y({
|
|
|
340
340
|
]),
|
|
341
341
|
_: 1
|
|
342
342
|
}, 8, ["link", "prepend-icon", "title"]),
|
|
343
|
-
|
|
343
|
+
o(pe, null, {
|
|
344
344
|
default: s(() => [
|
|
345
|
-
!e(t).user && !e(t).isLoading || e(
|
|
345
|
+
!e(t).user && !e(t).isLoading || e(n) ? (u(), m(Me, {
|
|
346
346
|
key: 0,
|
|
347
347
|
border: "t",
|
|
348
348
|
color: "transparent"
|
|
349
349
|
}, {
|
|
350
350
|
default: s(() => [
|
|
351
351
|
v("div", fn, [
|
|
352
|
-
|
|
353
|
-
onClick: a[2] || (a[2] = (_) =>
|
|
352
|
+
o(c, {
|
|
353
|
+
onClick: a[2] || (a[2] = (_) => n.value = !1)
|
|
354
354
|
}),
|
|
355
|
-
|
|
356
|
-
onClick: a[3] || (a[3] = (_) =>
|
|
355
|
+
o(d, {
|
|
356
|
+
onClick: a[3] || (a[3] = (_) => n.value = !1)
|
|
357
357
|
}),
|
|
358
|
-
|
|
359
|
-
onClick: a[4] || (a[4] = (_) =>
|
|
358
|
+
o(f, {
|
|
359
|
+
onClick: a[4] || (a[4] = (_) => n.value = !1)
|
|
360
360
|
})
|
|
361
361
|
])
|
|
362
362
|
]),
|
|
@@ -373,7 +373,7 @@ const an = /* @__PURE__ */ y({
|
|
|
373
373
|
}, 8, ["variant"]);
|
|
374
374
|
};
|
|
375
375
|
}
|
|
376
|
-
}),
|
|
376
|
+
}), W = /* @__PURE__ */ y({
|
|
377
377
|
__name: "VoListItem",
|
|
378
378
|
setup(p) {
|
|
379
379
|
return (t, i) => (u(), m(de, { slim: "" }, P({
|
|
@@ -409,11 +409,11 @@ const an = /* @__PURE__ */ y({
|
|
|
409
409
|
__name: "VoAuthLogoutNavItem",
|
|
410
410
|
setup(p) {
|
|
411
411
|
const t = E(), i = A(!1);
|
|
412
|
-
async function
|
|
412
|
+
async function n() {
|
|
413
413
|
i.value = !0, await t.logout(), i.value = !1;
|
|
414
414
|
}
|
|
415
415
|
return (r, l) => {
|
|
416
|
-
const a =
|
|
416
|
+
const a = W;
|
|
417
417
|
return u(), m(a, {
|
|
418
418
|
class: "mb-0",
|
|
419
419
|
disabled: e(i),
|
|
@@ -421,7 +421,7 @@ const an = /* @__PURE__ */ y({
|
|
|
421
421
|
loading: e(i),
|
|
422
422
|
"prepend-icon": `svg:${e(qt)}`,
|
|
423
423
|
title: "Logout",
|
|
424
|
-
onClick:
|
|
424
|
+
onClick: n
|
|
425
425
|
}, null, 8, ["disabled", "loading", "prepend-icon"]);
|
|
426
426
|
};
|
|
427
427
|
}
|
|
@@ -436,18 +436,18 @@ const an = /* @__PURE__ */ y({
|
|
|
436
436
|
}),
|
|
437
437
|
emits: ["update:modelValue"],
|
|
438
438
|
setup(p) {
|
|
439
|
-
const t =
|
|
439
|
+
const t = Z(p, "modelValue"), i = ae(), n = A(!1);
|
|
440
440
|
return (r, l) => (u(), m(Ae, {
|
|
441
441
|
modelValue: t.value,
|
|
442
442
|
"onUpdate:modelValue": l[2] || (l[2] = (a) => t.value = a),
|
|
443
443
|
activator: "parent",
|
|
444
|
-
fullscreen: e(
|
|
444
|
+
fullscreen: e(n) || e(i).xs.value,
|
|
445
445
|
height: "100%",
|
|
446
|
-
"max-height": e(
|
|
447
|
-
"max-width": e(
|
|
446
|
+
"max-height": e(n) || e(i).xs.value ? "100%" : 800,
|
|
447
|
+
"max-width": e(n) || e(i).xs.value ? "100%" : 800
|
|
448
448
|
}, {
|
|
449
449
|
default: s(({ isActive: a }) => [
|
|
450
|
-
|
|
450
|
+
o(T, {
|
|
451
451
|
class: "overflow-hidden",
|
|
452
452
|
height: "inherit",
|
|
453
453
|
"prepend-icon": r.prependIcon,
|
|
@@ -455,16 +455,16 @@ const an = /* @__PURE__ */ y({
|
|
|
455
455
|
}, P({
|
|
456
456
|
append: s(() => [
|
|
457
457
|
L(r.$slots, "append"),
|
|
458
|
-
e(i).xs.value ? h("", !0) : (u(), m(
|
|
458
|
+
e(i).xs.value ? h("", !0) : (u(), m(I, {
|
|
459
459
|
key: 0,
|
|
460
460
|
class: "me-2",
|
|
461
461
|
density: "comfortable",
|
|
462
|
-
icon: `svg:${e(
|
|
462
|
+
icon: `svg:${e(n) ? e(Wt) : e(Gt)}`,
|
|
463
463
|
size: "small",
|
|
464
464
|
variant: "text",
|
|
465
|
-
onClick: l[0] || (l[0] = (c) =>
|
|
465
|
+
onClick: l[0] || (l[0] = (c) => n.value = !e(n))
|
|
466
466
|
}, null, 8, ["icon"])),
|
|
467
|
-
|
|
467
|
+
o(I, {
|
|
468
468
|
density: "comfortable",
|
|
469
469
|
icon: "$close",
|
|
470
470
|
size: "small",
|
|
@@ -473,7 +473,7 @@ const an = /* @__PURE__ */ y({
|
|
|
473
473
|
})
|
|
474
474
|
]),
|
|
475
475
|
default: s(() => [
|
|
476
|
-
|
|
476
|
+
o(j),
|
|
477
477
|
L(r.$slots, "default")
|
|
478
478
|
]),
|
|
479
479
|
_: 2
|
|
@@ -511,7 +511,7 @@ const an = /* @__PURE__ */ y({
|
|
|
511
511
|
"true-icon": `svg:${e(he)}`
|
|
512
512
|
}, P({
|
|
513
513
|
thumb: s(() => [
|
|
514
|
-
|
|
514
|
+
o(C, {
|
|
515
515
|
color: t.disabled ? void 0 : "primary"
|
|
516
516
|
}, null, 8, ["color"])
|
|
517
517
|
]),
|
|
@@ -542,7 +542,7 @@ const an = /* @__PURE__ */ y({
|
|
|
542
542
|
class: "font-weight-black"
|
|
543
543
|
}, {
|
|
544
544
|
default: s(() => [
|
|
545
|
-
|
|
545
|
+
D($(t.title), 1)
|
|
546
546
|
]),
|
|
547
547
|
_: 1
|
|
548
548
|
})) : h("", !0),
|
|
@@ -580,20 +580,20 @@ const an = /* @__PURE__ */ y({
|
|
|
580
580
|
value: "odyssey"
|
|
581
581
|
}
|
|
582
582
|
];
|
|
583
|
-
return (
|
|
583
|
+
return (n, r) => {
|
|
584
584
|
const l = It, a = ie;
|
|
585
585
|
return u(), V(M, null, [
|
|
586
|
-
|
|
586
|
+
o(l, {
|
|
587
587
|
modelValue: e(t).one.suits.enabled,
|
|
588
588
|
"onUpdate:modelValue": r[0] || (r[0] = (c) => e(t).one.suits.enabled = c),
|
|
589
589
|
class: "mb-2",
|
|
590
590
|
label: "Enable Page suits",
|
|
591
591
|
messages: "Customize layout elements with a unique background, styled after one of our themed releases."
|
|
592
592
|
}, null, 8, ["modelValue"]),
|
|
593
|
-
|
|
593
|
+
o(pe, null, {
|
|
594
594
|
default: s(() => [
|
|
595
595
|
e(t).one.suits.enabled ? (u(), V("div", gn, [
|
|
596
|
-
|
|
596
|
+
o(Ro, {
|
|
597
597
|
modelValue: e(t).one.suits.suit,
|
|
598
598
|
"onUpdate:modelValue": r[1] || (r[1] = (c) => e(t).one.suits.suit = c),
|
|
599
599
|
clearable: "",
|
|
@@ -606,17 +606,17 @@ const an = /* @__PURE__ */ y({
|
|
|
606
606
|
variant: "outlined"
|
|
607
607
|
}, {
|
|
608
608
|
selection: s(({ item: c }) => [
|
|
609
|
-
|
|
609
|
+
o(C, {
|
|
610
610
|
icon: c.props.prependIcon,
|
|
611
611
|
size: "x-small",
|
|
612
612
|
start: ""
|
|
613
613
|
}, null, 8, ["icon"]),
|
|
614
|
-
|
|
614
|
+
D(" " + $(c.title), 1)
|
|
615
615
|
]),
|
|
616
616
|
_: 1
|
|
617
617
|
}, 8, ["modelValue"]),
|
|
618
|
-
|
|
619
|
-
|
|
618
|
+
o(a, { text: "Select your suit elements to display the background image:" }),
|
|
619
|
+
o(Ho, {
|
|
620
620
|
modelValue: e(t).one.suits.elements,
|
|
621
621
|
"onUpdate:modelValue": r[2] || (r[2] = (c) => e(t).one.suits.elements = c),
|
|
622
622
|
color: "primary",
|
|
@@ -624,7 +624,7 @@ const an = /* @__PURE__ */ y({
|
|
|
624
624
|
multiple: ""
|
|
625
625
|
}, {
|
|
626
626
|
default: s(() => [
|
|
627
|
-
|
|
627
|
+
o(ne, {
|
|
628
628
|
"append-icon": `svg:${e(Qt)}`,
|
|
629
629
|
"filter-icon": "$success",
|
|
630
630
|
text: "App Bar",
|
|
@@ -632,15 +632,15 @@ const an = /* @__PURE__ */ y({
|
|
|
632
632
|
variant: "flat"
|
|
633
633
|
}, {
|
|
634
634
|
append: s(() => [
|
|
635
|
-
|
|
635
|
+
o(j, {
|
|
636
636
|
class: "ms-2 border-opacity-50",
|
|
637
637
|
vertical: ""
|
|
638
638
|
}),
|
|
639
|
-
|
|
639
|
+
o(C, { size: "x-small" })
|
|
640
640
|
]),
|
|
641
641
|
_: 1
|
|
642
642
|
}, 8, ["append-icon"]),
|
|
643
|
-
|
|
643
|
+
o(ne, {
|
|
644
644
|
"append-icon": `svg:${e(Yt)}`,
|
|
645
645
|
"filter-icon": "$success",
|
|
646
646
|
text: "Navigation Drawer",
|
|
@@ -648,15 +648,15 @@ const an = /* @__PURE__ */ y({
|
|
|
648
648
|
variant: "flat"
|
|
649
649
|
}, {
|
|
650
650
|
append: s(() => [
|
|
651
|
-
|
|
651
|
+
o(j, {
|
|
652
652
|
class: "ms-2 border-opacity-50",
|
|
653
653
|
vertical: ""
|
|
654
654
|
}),
|
|
655
|
-
|
|
655
|
+
o(C, { size: "x-small" })
|
|
656
656
|
]),
|
|
657
657
|
_: 1
|
|
658
658
|
}, 8, ["append-icon"]),
|
|
659
|
-
|
|
659
|
+
o(ne, {
|
|
660
660
|
"append-icon": "$info",
|
|
661
661
|
"filter-icon": "$success",
|
|
662
662
|
text: "Footer",
|
|
@@ -664,11 +664,11 @@ const an = /* @__PURE__ */ y({
|
|
|
664
664
|
variant: "flat"
|
|
665
665
|
}, {
|
|
666
666
|
append: s(() => [
|
|
667
|
-
|
|
667
|
+
o(j, {
|
|
668
668
|
class: "ms-2 border-opacity-50",
|
|
669
669
|
vertical: ""
|
|
670
670
|
}),
|
|
671
|
-
|
|
671
|
+
o(C, { size: "x-small" })
|
|
672
672
|
]),
|
|
673
673
|
_: 1
|
|
674
674
|
})
|
|
@@ -877,7 +877,7 @@ function hn() {
|
|
|
877
877
|
};
|
|
878
878
|
}
|
|
879
879
|
const Be = K("settings", () => {
|
|
880
|
-
const p = "https://cdn.vuetifyjs.com/docs/images/one/", t = B(), i = U(),
|
|
880
|
+
const p = "https://cdn.vuetifyjs.com/docs/images/one/", t = B(), i = U(), n = Te(), r = hn(), l = {
|
|
881
881
|
blackguard: {
|
|
882
882
|
"app-bar": p + "suits/blackguard/blackguard-app-bar.png",
|
|
883
883
|
drawer: p + "suits/blackguard/blackguard-app-drawer.png",
|
|
@@ -908,11 +908,11 @@ const Be = K("settings", () => {
|
|
|
908
908
|
}
|
|
909
909
|
return d;
|
|
910
910
|
});
|
|
911
|
-
return
|
|
912
|
-
...
|
|
911
|
+
return n.themes.value = {
|
|
912
|
+
...n.themes.value,
|
|
913
913
|
...r
|
|
914
914
|
}, H(() => i.one.theme, (c) => {
|
|
915
|
-
c === "system" ?
|
|
915
|
+
c === "system" ? n.change(window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light") : (n.change(c), i.one.suits.suit = l[c] ? c : ""), i.one.theme = c;
|
|
916
916
|
}, { immediate: !0 }), {
|
|
917
917
|
suit: a,
|
|
918
918
|
CDN_URL: p
|
|
@@ -925,32 +925,32 @@ const Be = K("settings", () => {
|
|
|
925
925
|
},
|
|
926
926
|
emits: ["update:modelValue"],
|
|
927
927
|
setup(p) {
|
|
928
|
-
const t =
|
|
928
|
+
const t = Z(p, "modelValue"), i = B(), n = Be(), r = U(), l = b(() => [
|
|
929
929
|
{
|
|
930
930
|
title: "Light",
|
|
931
931
|
subtitle: "A standard light theme.",
|
|
932
|
-
image:
|
|
932
|
+
image: n.CDN_URL + "themes/light.png",
|
|
933
933
|
prependIcon: `svg:${Xt}`,
|
|
934
934
|
value: "light"
|
|
935
935
|
},
|
|
936
936
|
{
|
|
937
937
|
title: "Dark",
|
|
938
938
|
subtitle: "A standard dark theme.",
|
|
939
|
-
image:
|
|
939
|
+
image: n.CDN_URL + "themes/dark.png",
|
|
940
940
|
prependIcon: `svg:${Jt}`,
|
|
941
941
|
value: "dark"
|
|
942
942
|
},
|
|
943
943
|
{
|
|
944
944
|
title: "System",
|
|
945
945
|
subtitle: "A theme based on the system preference.",
|
|
946
|
-
image:
|
|
946
|
+
image: n.CDN_URL + "themes/system.png",
|
|
947
947
|
prependIcon: `svg:${eo}`,
|
|
948
948
|
value: "system"
|
|
949
949
|
},
|
|
950
950
|
{
|
|
951
951
|
title: "High Contrast",
|
|
952
952
|
subtitle: "A theme for high contrast.",
|
|
953
|
-
image:
|
|
953
|
+
image: n.CDN_URL + "themes/high-contrast.png",
|
|
954
954
|
prependIcon: `svg:${to}`,
|
|
955
955
|
value: "highContrast",
|
|
956
956
|
disabled: !i.isSubscriber
|
|
@@ -959,7 +959,7 @@ const Be = K("settings", () => {
|
|
|
959
959
|
{
|
|
960
960
|
title: "Blackguard",
|
|
961
961
|
subtitle: "A theme for v3.4 Blackguard.",
|
|
962
|
-
image:
|
|
962
|
+
image: n.CDN_URL + "themes/blackguard.png",
|
|
963
963
|
prependIcon: `svg:${ct}`,
|
|
964
964
|
value: "blackguard",
|
|
965
965
|
disabled: !i.isSubscriber
|
|
@@ -967,7 +967,7 @@ const Be = K("settings", () => {
|
|
|
967
967
|
{
|
|
968
968
|
title: "Polaris",
|
|
969
969
|
subtitle: "A theme for v3.5 Polaris.",
|
|
970
|
-
image:
|
|
970
|
+
image: n.CDN_URL + "themes/polaris.png",
|
|
971
971
|
prependIcon: `svg:${dt}`,
|
|
972
972
|
value: "polaris",
|
|
973
973
|
disabled: !i.isSubscriber
|
|
@@ -975,7 +975,7 @@ const Be = K("settings", () => {
|
|
|
975
975
|
{
|
|
976
976
|
title: "Nebula",
|
|
977
977
|
subtitle: "A theme for v3.6 Nebula.",
|
|
978
|
-
image:
|
|
978
|
+
image: n.CDN_URL + "themes/nebula.png",
|
|
979
979
|
prependIcon: `svg:${pt}`,
|
|
980
980
|
value: "nebula",
|
|
981
981
|
disabled: !i.isSubscriber
|
|
@@ -983,7 +983,7 @@ const Be = K("settings", () => {
|
|
|
983
983
|
{
|
|
984
984
|
title: "Odyssey",
|
|
985
985
|
subtitle: "A theme for v3.7 Odyssey.",
|
|
986
|
-
image:
|
|
986
|
+
image: n.CDN_URL + "themes/odyssey.png",
|
|
987
987
|
prependIcon: `svg:${mt}`,
|
|
988
988
|
value: "odyssey",
|
|
989
989
|
disabled: !i.isSubscriber
|
|
@@ -1004,53 +1004,53 @@ const Be = K("settings", () => {
|
|
|
1004
1004
|
k.disabled || (r.one.theme = k.value, g?.());
|
|
1005
1005
|
}
|
|
1006
1006
|
return (g, k) => {
|
|
1007
|
-
const
|
|
1007
|
+
const x = ie, S = yn, z = It, J = ce;
|
|
1008
1008
|
return u(), m(J, {
|
|
1009
1009
|
modelValue: t.value,
|
|
1010
|
-
"onUpdate:modelValue": k[6] || (k[6] = (
|
|
1010
|
+
"onUpdate:modelValue": k[6] || (k[6] = (w) => t.value = w),
|
|
1011
1011
|
"prepend-icon": `svg:${e(oo)}`,
|
|
1012
1012
|
title: "Settings"
|
|
1013
1013
|
}, {
|
|
1014
1014
|
default: s(() => [
|
|
1015
|
-
|
|
1015
|
+
o(le, null, {
|
|
1016
1016
|
default: s(() => [
|
|
1017
|
-
|
|
1017
|
+
o(ue, { scrollable: "" }, {
|
|
1018
1018
|
default: s(() => [
|
|
1019
|
-
|
|
1019
|
+
o(G, { class: "px-7" }, {
|
|
1020
1020
|
default: s(() => [
|
|
1021
|
-
|
|
1021
|
+
o(x, {
|
|
1022
1022
|
text: "Customize your documentation experience with light and dark themes, as well as a combination of both named.",
|
|
1023
1023
|
title: "Theme"
|
|
1024
1024
|
}),
|
|
1025
|
-
|
|
1025
|
+
o(yt, {
|
|
1026
1026
|
modelValue: e(r).one.theme,
|
|
1027
|
-
"onUpdate:modelValue": k[0] || (k[0] = (
|
|
1027
|
+
"onUpdate:modelValue": k[0] || (k[0] = (w) => e(r).one.theme = w),
|
|
1028
1028
|
mandatory: ""
|
|
1029
1029
|
}, {
|
|
1030
1030
|
default: s(() => [
|
|
1031
|
-
|
|
1031
|
+
o(fe, { dense: "" }, {
|
|
1032
1032
|
default: s(() => [
|
|
1033
|
-
(u(!0), V(M, null, Q(c.value, (
|
|
1033
|
+
(u(!0), V(M, null, Q(c.value, (w, $e) => (u(), m(re, {
|
|
1034
1034
|
key: $e,
|
|
1035
1035
|
class: "d-flex flex-column ga-3",
|
|
1036
1036
|
cols: "12",
|
|
1037
1037
|
md: "6"
|
|
1038
1038
|
}, {
|
|
1039
1039
|
default: s(() => [
|
|
1040
|
-
|
|
1040
|
+
o(zo, { class: "mb-n4" }, {
|
|
1041
1041
|
default: s(() => [
|
|
1042
|
-
|
|
1042
|
+
D($(w.title), 1)
|
|
1043
1043
|
]),
|
|
1044
1044
|
_: 2
|
|
1045
1045
|
}, 1024),
|
|
1046
|
-
(u(!0), V(M, null, Q(
|
|
1046
|
+
(u(!0), V(M, null, Q(w.items, (O) => (u(), m(je, {
|
|
1047
1047
|
key: O.value,
|
|
1048
1048
|
value: O.value
|
|
1049
1049
|
}, {
|
|
1050
1050
|
default: s(({ toggle: Ut, isSelected: et }) => [
|
|
1051
|
-
|
|
1051
|
+
o(ke, null, {
|
|
1052
1052
|
default: s(({ props: Bt, isHovering: Ot }) => [
|
|
1053
|
-
|
|
1053
|
+
o(T, F({
|
|
1054
1054
|
color: et ? "primary" : "surface-variant",
|
|
1055
1055
|
height: "76",
|
|
1056
1056
|
image: O.image,
|
|
@@ -1064,7 +1064,7 @@ const Be = K("settings", () => {
|
|
|
1064
1064
|
onClick: (Sa) => _(Ut, O)
|
|
1065
1065
|
}), {
|
|
1066
1066
|
image: s(() => [
|
|
1067
|
-
|
|
1067
|
+
o(oe, {
|
|
1068
1068
|
style: st({
|
|
1069
1069
|
filter: et || Ot ? "none" : "grayscale(100%)"
|
|
1070
1070
|
})
|
|
@@ -1088,34 +1088,34 @@ const Be = K("settings", () => {
|
|
|
1088
1088
|
_: 1
|
|
1089
1089
|
}, 8, ["modelValue"]),
|
|
1090
1090
|
e(i).isSubscriber ? (u(), V(M, { key: 0 }, [
|
|
1091
|
-
|
|
1092
|
-
|
|
1091
|
+
o(j, { class: "mt-6 mb-4" }),
|
|
1092
|
+
o(S)
|
|
1093
1093
|
], 64)) : h("", !0)
|
|
1094
1094
|
]),
|
|
1095
1095
|
_: 1
|
|
1096
1096
|
}),
|
|
1097
|
-
|
|
1098
|
-
|
|
1097
|
+
o(j),
|
|
1098
|
+
o(G, { class: "px-7" }, {
|
|
1099
1099
|
default: s(() => [
|
|
1100
|
-
|
|
1100
|
+
o(x, {
|
|
1101
1101
|
text: "These options change your browsing experience within Vuetify properties",
|
|
1102
1102
|
title: "Experience"
|
|
1103
1103
|
}),
|
|
1104
1104
|
e(i).isSubscriber ? (u(), m(z, {
|
|
1105
1105
|
key: 0,
|
|
1106
1106
|
modelValue: d.value,
|
|
1107
|
-
"onUpdate:modelValue": k[1] || (k[1] = (
|
|
1107
|
+
"onUpdate:modelValue": k[1] || (k[1] = (w) => d.value = w),
|
|
1108
1108
|
class: "mb-2",
|
|
1109
1109
|
label: "Disable Ads",
|
|
1110
1110
|
messages: "Disable traditional advertisements on all documentation pages."
|
|
1111
1111
|
}, null, 8, ["modelValue"])) : h("", !0),
|
|
1112
|
-
|
|
1112
|
+
o(pe, null, {
|
|
1113
1113
|
default: s(() => [
|
|
1114
1114
|
ee(v("div", bn, [
|
|
1115
1115
|
v("div", kn, [
|
|
1116
|
-
|
|
1116
|
+
o(z, {
|
|
1117
1117
|
modelValue: e(r).one.ads.house,
|
|
1118
|
-
"onUpdate:modelValue": k[2] || (k[2] = (
|
|
1118
|
+
"onUpdate:modelValue": k[2] || (k[2] = (w) => e(r).one.ads.house = w),
|
|
1119
1119
|
label: "Show House Ads",
|
|
1120
1120
|
messages: "These advertisements are for Vuetify products and services only."
|
|
1121
1121
|
}, null, 8, ["modelValue"])
|
|
@@ -1126,35 +1126,35 @@ const Be = K("settings", () => {
|
|
|
1126
1126
|
]),
|
|
1127
1127
|
_: 1
|
|
1128
1128
|
}),
|
|
1129
|
-
|
|
1129
|
+
o(z, {
|
|
1130
1130
|
modelValue: e(r).one.quicklinks,
|
|
1131
|
-
"onUpdate:modelValue": k[3] || (k[3] = (
|
|
1131
|
+
"onUpdate:modelValue": k[3] || (k[3] = (w) => e(r).one.quicklinks = w),
|
|
1132
1132
|
label: "Enable Quick Actions",
|
|
1133
1133
|
messages: "Quick actions are located on the Vuetify One user menu and provide quick access to common tasks."
|
|
1134
1134
|
}, null, 8, ["modelValue"])
|
|
1135
1135
|
]),
|
|
1136
1136
|
_: 1
|
|
1137
1137
|
}),
|
|
1138
|
-
|
|
1138
|
+
o(j),
|
|
1139
1139
|
e(i).isSubscriber ? (u(), m(G, {
|
|
1140
1140
|
key: 0,
|
|
1141
1141
|
class: "px-7"
|
|
1142
1142
|
}, {
|
|
1143
1143
|
default: s(() => [
|
|
1144
|
-
|
|
1144
|
+
o(x, {
|
|
1145
1145
|
text: "Vuetify will communicate with you through banners and notifications. You can disable these features here or reset your local notification cache.",
|
|
1146
1146
|
title: "Communication"
|
|
1147
1147
|
}),
|
|
1148
|
-
|
|
1148
|
+
o(z, {
|
|
1149
1149
|
modelValue: e(r).one.notifications.enabled,
|
|
1150
|
-
"onUpdate:modelValue": k[4] || (k[4] = (
|
|
1150
|
+
"onUpdate:modelValue": k[4] || (k[4] = (w) => e(r).one.notifications.enabled = w),
|
|
1151
1151
|
class: "mb-2",
|
|
1152
1152
|
label: "Enable Notifications",
|
|
1153
1153
|
messages: "Notifications are short form messages that provide information about new releases, updates, and other important information."
|
|
1154
1154
|
}, null, 8, ["modelValue"]),
|
|
1155
|
-
|
|
1155
|
+
o(z, {
|
|
1156
1156
|
modelValue: e(r).one.banners.enabled,
|
|
1157
|
-
"onUpdate:modelValue": k[5] || (k[5] = (
|
|
1157
|
+
"onUpdate:modelValue": k[5] || (k[5] = (w) => e(r).one.banners.enabled = w),
|
|
1158
1158
|
label: "Enable Banners",
|
|
1159
1159
|
messages: "Banners are located at the top of the screen and provide a callout for important information."
|
|
1160
1160
|
}, null, 8, ["modelValue"])
|
|
@@ -1176,8 +1176,8 @@ const Be = K("settings", () => {
|
|
|
1176
1176
|
__name: "VoSettingsListItem",
|
|
1177
1177
|
setup(p) {
|
|
1178
1178
|
const t = A(!1);
|
|
1179
|
-
return (i,
|
|
1180
|
-
const r = Vn, l =
|
|
1179
|
+
return (i, n) => {
|
|
1180
|
+
const r = Vn, l = W;
|
|
1181
1181
|
return u(), m(l, {
|
|
1182
1182
|
active: e(t),
|
|
1183
1183
|
link: "",
|
|
@@ -1185,9 +1185,9 @@ const Be = K("settings", () => {
|
|
|
1185
1185
|
title: "Settings"
|
|
1186
1186
|
}, {
|
|
1187
1187
|
default: s(() => [
|
|
1188
|
-
|
|
1188
|
+
o(r, {
|
|
1189
1189
|
modelValue: e(t),
|
|
1190
|
-
"onUpdate:modelValue":
|
|
1190
|
+
"onUpdate:modelValue": n[0] || (n[0] = (a) => q(t) ? t.value = a : null)
|
|
1191
1191
|
}, null, 8, ["modelValue"])
|
|
1192
1192
|
]),
|
|
1193
1193
|
_: 1
|
|
@@ -1195,10 +1195,10 @@ const Be = K("settings", () => {
|
|
|
1195
1195
|
};
|
|
1196
1196
|
}
|
|
1197
1197
|
}), Oe = K("api-key", () => {
|
|
1198
|
-
const p = X(), t = N(null), i = A(!1),
|
|
1199
|
-
if (!
|
|
1198
|
+
const p = X(), t = N(null), i = A(!1), n = b(() => t.value?.apiKey || ""), r = b(() => {
|
|
1199
|
+
if (!n.value)
|
|
1200
1200
|
return "";
|
|
1201
|
-
const c =
|
|
1201
|
+
const c = n.value;
|
|
1202
1202
|
return `${c.slice(0, 6)}...${c.slice(-6)}`;
|
|
1203
1203
|
});
|
|
1204
1204
|
async function l(c = !1) {
|
|
@@ -1212,7 +1212,7 @@ const Be = K("settings", () => {
|
|
|
1212
1212
|
}
|
|
1213
1213
|
return {
|
|
1214
1214
|
accessToken: Ce(t),
|
|
1215
|
-
key: Ce(
|
|
1215
|
+
key: Ce(n),
|
|
1216
1216
|
regenerated: Ce(i),
|
|
1217
1217
|
trim: Ce(r),
|
|
1218
1218
|
generate: l,
|
|
@@ -1221,8 +1221,8 @@ const Be = K("settings", () => {
|
|
|
1221
1221
|
});
|
|
1222
1222
|
function ze(p = 1e3) {
|
|
1223
1223
|
const t = A(!1);
|
|
1224
|
-
async function i(
|
|
1225
|
-
await navigator.clipboard.writeText(
|
|
1224
|
+
async function i(n) {
|
|
1225
|
+
await navigator.clipboard.writeText(n), t.value = !0, setTimeout(() => t.value = !1, p);
|
|
1226
1226
|
}
|
|
1227
1227
|
return { copied: t, copy: i };
|
|
1228
1228
|
}
|
|
@@ -1234,7 +1234,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1234
1234
|
},
|
|
1235
1235
|
emits: ["update:modelValue"],
|
|
1236
1236
|
setup(p) {
|
|
1237
|
-
const t = Oe(), { copy: i, copied:
|
|
1237
|
+
const t = Oe(), { copy: i, copied: n } = ze(), r = Z(p, "modelValue");
|
|
1238
1238
|
return (l, a) => {
|
|
1239
1239
|
const c = it("v-icon-btn");
|
|
1240
1240
|
return u(), m(Ae, {
|
|
@@ -1243,24 +1243,24 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1243
1243
|
"max-width": "500"
|
|
1244
1244
|
}, {
|
|
1245
1245
|
default: s(({ isActive: d }) => [
|
|
1246
|
-
|
|
1246
|
+
o(T, {
|
|
1247
1247
|
"prepend-icon": `svg:${e(so)}`,
|
|
1248
1248
|
title: "Save your Key"
|
|
1249
1249
|
}, {
|
|
1250
1250
|
append: s(() => [
|
|
1251
|
-
|
|
1251
|
+
o(c, {
|
|
1252
1252
|
icon: "mdi-close",
|
|
1253
1253
|
onClick: (f) => d.value = !1
|
|
1254
1254
|
}, null, 8, ["onClick"])
|
|
1255
1255
|
]),
|
|
1256
1256
|
default: s(() => [
|
|
1257
|
-
|
|
1258
|
-
|
|
1257
|
+
o(j),
|
|
1258
|
+
o(G, null, {
|
|
1259
1259
|
default: s(() => [
|
|
1260
1260
|
a[4] || (a[4] = v("p", { class: "mb-4" }, [
|
|
1261
|
-
|
|
1261
|
+
D(" Please save your secret key in a safe place since "),
|
|
1262
1262
|
v("strong", null, "you won't be able"),
|
|
1263
|
-
|
|
1263
|
+
D(" to view it again. Keep it secure, as anyone with your API key can make requests on your behalf. If you do lose it, you'll need to generate a new one. ")
|
|
1264
1264
|
], -1)),
|
|
1265
1265
|
e(t).key ? (u(), m(ht, {
|
|
1266
1266
|
key: 0,
|
|
@@ -1269,26 +1269,26 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1269
1269
|
variant: "outlined"
|
|
1270
1270
|
}, {
|
|
1271
1271
|
"append-inner": s(() => [
|
|
1272
|
-
|
|
1272
|
+
o(I, {
|
|
1273
1273
|
class: "text-none",
|
|
1274
1274
|
color: "success",
|
|
1275
|
-
"prepend-icon": e(
|
|
1275
|
+
"prepend-icon": e(n) ? "mdi-check" : "mdi-content-copy",
|
|
1276
1276
|
size: "small",
|
|
1277
1277
|
variant: "flat",
|
|
1278
1278
|
onClick: a[0] || (a[0] = (f) => e(i)(e(t).key))
|
|
1279
1279
|
}, {
|
|
1280
1280
|
prepend: s(() => [
|
|
1281
|
-
|
|
1281
|
+
o(be, { "hide-on-leave": "" }, {
|
|
1282
1282
|
default: s(() => [
|
|
1283
|
-
(u(), m(
|
|
1284
|
-
key: String(e(
|
|
1283
|
+
(u(), m(C, {
|
|
1284
|
+
key: String(e(n))
|
|
1285
1285
|
}))
|
|
1286
1286
|
]),
|
|
1287
1287
|
_: 1
|
|
1288
1288
|
})
|
|
1289
1289
|
]),
|
|
1290
1290
|
default: s(() => [
|
|
1291
|
-
a[3] || (a[3] =
|
|
1291
|
+
a[3] || (a[3] = D(" Copy ", -1))
|
|
1292
1292
|
]),
|
|
1293
1293
|
_: 1
|
|
1294
1294
|
}, 8, ["prepend-icon"])
|
|
@@ -1298,10 +1298,10 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1298
1298
|
]),
|
|
1299
1299
|
_: 1
|
|
1300
1300
|
}),
|
|
1301
|
-
|
|
1301
|
+
o(_t, null, {
|
|
1302
1302
|
default: s(() => [
|
|
1303
|
-
|
|
1304
|
-
|
|
1303
|
+
o(gt),
|
|
1304
|
+
o(I, {
|
|
1305
1305
|
class: "text-none",
|
|
1306
1306
|
color: "surface-variant",
|
|
1307
1307
|
size: "small",
|
|
@@ -1323,7 +1323,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1323
1323
|
}), xn = { class: "d-flex align-center justify-end" }, wn = { class: "text-end" }, Ln = /* @__PURE__ */ y({
|
|
1324
1324
|
__name: "VoMcpTokenTable",
|
|
1325
1325
|
setup(p) {
|
|
1326
|
-
const t = Oe(), { copy: i, copied:
|
|
1326
|
+
const t = Oe(), { copy: i, copied: n } = ze(2e3), r = me();
|
|
1327
1327
|
return (l, a) => (u(), m(Zo, { class: "rounded border mt-4" }, {
|
|
1328
1328
|
default: s(() => [
|
|
1329
1329
|
v("thead", null, [
|
|
@@ -1331,8 +1331,8 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1331
1331
|
a[2] || (a[2] = v("th", { class: "ps-6" }, "Secret Key", -1)),
|
|
1332
1332
|
a[3] || (a[3] = v("th", null, "Created", -1)),
|
|
1333
1333
|
v("th", xn, [
|
|
1334
|
-
a[1] || (a[1] =
|
|
1335
|
-
ee(
|
|
1334
|
+
a[1] || (a[1] = D(" Last Used ", -1)),
|
|
1335
|
+
ee(o(C, {
|
|
1336
1336
|
end: "",
|
|
1337
1337
|
icon: "$info",
|
|
1338
1338
|
size: "1em"
|
|
@@ -1345,19 +1345,19 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1345
1345
|
v("tbody", null, [
|
|
1346
1346
|
v("tr", null, [
|
|
1347
1347
|
v("td", null, [
|
|
1348
|
-
|
|
1348
|
+
o(ke, null, {
|
|
1349
1349
|
default: s(({ isHovering: c, props: d }) => [
|
|
1350
|
-
|
|
1351
|
-
color: c || e(
|
|
1350
|
+
o(I, F(d, {
|
|
1351
|
+
color: c || e(n) ? "primary" : void 0,
|
|
1352
1352
|
slim: "",
|
|
1353
1353
|
text: e(t).key ? e(t).trim : "",
|
|
1354
|
-
variant: c || e(
|
|
1354
|
+
variant: c || e(n) ? "tonal" : "text",
|
|
1355
1355
|
onClick: a[0] || (a[0] = (f) => e(i)(e(t).key))
|
|
1356
1356
|
}), {
|
|
1357
1357
|
append: s(() => [
|
|
1358
|
-
|
|
1359
|
-
icon: e(
|
|
1360
|
-
opacity: c || e(
|
|
1358
|
+
o(C, {
|
|
1359
|
+
icon: e(n) ? "$success" : `svg:${e(Re)}`,
|
|
1360
|
+
opacity: c || e(n) ? 1 : 0
|
|
1361
1361
|
}, null, 8, ["icon", "opacity"])
|
|
1362
1362
|
]),
|
|
1363
1363
|
_: 2
|
|
@@ -1377,34 +1377,34 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1377
1377
|
}), Sn = { class: "my-4" }, In = { class: "bg-surface-variant rounded pa-2 d-block" }, Dn = /* @__PURE__ */ y({
|
|
1378
1378
|
__name: "VoMcpHowTo",
|
|
1379
1379
|
setup(p) {
|
|
1380
|
-
const t = Oe(), { copy: i, copied:
|
|
1380
|
+
const t = Oe(), { copy: i, copied: n } = ze(), r = b(() => `npx -y @vuetify/mcp config --api-key="${t.key || "YOUR_KEY"}"`), l = b(() => t.key ? `npx -y @vuetify/mcp config --api-key="${t.trim}"` : r.value);
|
|
1381
1381
|
return (a, c) => (u(), m(Wo, {
|
|
1382
1382
|
"bg-color": "surface-variant",
|
|
1383
1383
|
class: "mb-4",
|
|
1384
1384
|
variant: "accordion"
|
|
1385
1385
|
}, {
|
|
1386
1386
|
default: s(() => [
|
|
1387
|
-
|
|
1387
|
+
o(Go, null, {
|
|
1388
1388
|
title: s(() => [
|
|
1389
|
-
|
|
1389
|
+
o(C, {
|
|
1390
1390
|
icon: `svg:${e(ft)}`,
|
|
1391
1391
|
opacity: "0.6",
|
|
1392
1392
|
start: ""
|
|
1393
1393
|
}, null, 8, ["icon"]),
|
|
1394
|
-
c[1] || (c[1] =
|
|
1394
|
+
c[1] || (c[1] = D(" How to Use Your API Key with Vuetify MCP ", -1))
|
|
1395
1395
|
]),
|
|
1396
1396
|
default: s(() => [
|
|
1397
|
-
|
|
1397
|
+
o(Ko, { class: "bg-surface-light rounded-b" }, {
|
|
1398
1398
|
default: s(() => [
|
|
1399
1399
|
c[2] || (c[2] = v("strong", null, "View setup instructions for your local MCP tools", -1)),
|
|
1400
1400
|
c[3] || (c[3] = v("p", { class: "mb-4 mt-2" }, " To get started with your favorite IDE or AI agent, simply run the following command from your home directory: ", -1)),
|
|
1401
1401
|
v("div", Sn, [
|
|
1402
1402
|
v("code", In, [
|
|
1403
|
-
|
|
1404
|
-
|
|
1403
|
+
D($(e(l)) + " ", 1),
|
|
1404
|
+
o(C, {
|
|
1405
1405
|
class: "ms-2",
|
|
1406
1406
|
end: "",
|
|
1407
|
-
icon: e(
|
|
1407
|
+
icon: e(n) ? "$success" : `svg:${e(Re)}`,
|
|
1408
1408
|
size: "1em",
|
|
1409
1409
|
onClick: c[0] || (c[0] = (d) => e(i)(e(r)))
|
|
1410
1410
|
}, null, 8, ["icon"])
|
|
@@ -1429,51 +1429,51 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1429
1429
|
},
|
|
1430
1430
|
emits: ["update:modelValue"],
|
|
1431
1431
|
setup(p) {
|
|
1432
|
-
const t = Oe(), i = A(!1),
|
|
1432
|
+
const t = Oe(), i = A(!1), n = Z(p, "modelValue");
|
|
1433
1433
|
async function r(l = !1) {
|
|
1434
1434
|
await t.generate(l), i.value = !0;
|
|
1435
1435
|
}
|
|
1436
|
-
return H(
|
|
1436
|
+
return H(n, async (l) => {
|
|
1437
1437
|
l && await t.fetch();
|
|
1438
1438
|
}), (l, a) => {
|
|
1439
1439
|
const c = ie, d = Dn, f = Ln, _ = Cn, g = ce;
|
|
1440
1440
|
return u(), m(g, {
|
|
1441
|
-
modelValue:
|
|
1442
|
-
"onUpdate:modelValue": a[3] || (a[3] = (k) =>
|
|
1441
|
+
modelValue: n.value,
|
|
1442
|
+
"onUpdate:modelValue": a[3] || (a[3] = (k) => n.value = k),
|
|
1443
1443
|
height: "auto",
|
|
1444
1444
|
"prepend-icon": `svg:${e(ao)}`,
|
|
1445
1445
|
title: "API Key"
|
|
1446
1446
|
}, {
|
|
1447
1447
|
default: s(() => [
|
|
1448
|
-
|
|
1448
|
+
o(le, null, {
|
|
1449
1449
|
default: s(() => [
|
|
1450
|
-
|
|
1450
|
+
o(ue, null, {
|
|
1451
1451
|
default: s(() => [
|
|
1452
1452
|
v("div", An, [
|
|
1453
|
-
|
|
1453
|
+
o(G, null, {
|
|
1454
1454
|
default: s(() => [
|
|
1455
|
-
|
|
1455
|
+
o(c, {
|
|
1456
1456
|
text: "As a subscriber of Vuetify One, you have access to create a personal MCP API key.",
|
|
1457
1457
|
title: "MCP Access Token"
|
|
1458
1458
|
}),
|
|
1459
1459
|
a[4] || (a[4] = v("p", { class: "mb-2" }, " Do not share your API key with others or expose it in the browser or other client-side code. To protect your account's security, Vuetify may disable any API key that has leaked publicly. ", -1)),
|
|
1460
|
-
|
|
1460
|
+
o(d),
|
|
1461
1461
|
!e(t).key || !e(t).regenerated ? (u(), m(fe, {
|
|
1462
1462
|
key: 0,
|
|
1463
1463
|
class: "my-4",
|
|
1464
1464
|
justify: "center"
|
|
1465
1465
|
}, {
|
|
1466
1466
|
default: s(() => [
|
|
1467
|
-
|
|
1467
|
+
o(re, { cols: "auto" }, {
|
|
1468
1468
|
default: s(() => [
|
|
1469
|
-
e(t).key ? e(t).regenerated ? h("", !0) : (u(), m(
|
|
1469
|
+
e(t).key ? e(t).regenerated ? h("", !0) : (u(), m(I, {
|
|
1470
1470
|
key: 1,
|
|
1471
1471
|
color: "success",
|
|
1472
1472
|
"prepend-icon": `svg:${e(ro)}`,
|
|
1473
1473
|
text: "Regenerate API Key",
|
|
1474
1474
|
variant: "flat",
|
|
1475
1475
|
onClick: a[1] || (a[1] = (k) => r(!0))
|
|
1476
|
-
}, null, 8, ["prepend-icon"])) : (u(), m(
|
|
1476
|
+
}, null, 8, ["prepend-icon"])) : (u(), m(I, {
|
|
1477
1477
|
key: 0,
|
|
1478
1478
|
color: "success",
|
|
1479
1479
|
"prepend-icon": `svg:${e(io)}`,
|
|
@@ -1488,10 +1488,10 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1488
1488
|
_: 1
|
|
1489
1489
|
})) : h("", !0),
|
|
1490
1490
|
e(t).key ? (u(), V(M, { key: 1 }, [
|
|
1491
|
-
|
|
1492
|
-
|
|
1491
|
+
o(f),
|
|
1492
|
+
o(_, {
|
|
1493
1493
|
modelValue: e(i),
|
|
1494
|
-
"onUpdate:modelValue": a[2] || (a[2] = (k) =>
|
|
1494
|
+
"onUpdate:modelValue": a[2] || (a[2] = (k) => q(i) ? i.value = k : null)
|
|
1495
1495
|
}, null, 8, ["modelValue"])
|
|
1496
1496
|
], 64)) : h("", !0)
|
|
1497
1497
|
]),
|
|
@@ -1513,8 +1513,8 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1513
1513
|
__name: "VoMcpListItem",
|
|
1514
1514
|
setup(p) {
|
|
1515
1515
|
const t = A(!1);
|
|
1516
|
-
return (i,
|
|
1517
|
-
const r = Mn, l =
|
|
1516
|
+
return (i, n) => {
|
|
1517
|
+
const r = Mn, l = W;
|
|
1518
1518
|
return u(), m(l, {
|
|
1519
1519
|
active: e(t),
|
|
1520
1520
|
link: "",
|
|
@@ -1522,9 +1522,9 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1522
1522
|
title: "API Key"
|
|
1523
1523
|
}, {
|
|
1524
1524
|
default: s(() => [
|
|
1525
|
-
|
|
1525
|
+
o(r, {
|
|
1526
1526
|
modelValue: e(t),
|
|
1527
|
-
"onUpdate:modelValue":
|
|
1527
|
+
"onUpdate:modelValue": n[0] || (n[0] = (a) => q(t) ? t.value = a : null)
|
|
1528
1528
|
}, null, 8, ["modelValue"])
|
|
1529
1529
|
]),
|
|
1530
1530
|
_: 1
|
|
@@ -1535,22 +1535,22 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1535
1535
|
__name: "VoSubscriptionInvoices",
|
|
1536
1536
|
setup(p) {
|
|
1537
1537
|
const t = me(), i = B();
|
|
1538
|
-
return (
|
|
1538
|
+
return (n, r) => {
|
|
1539
1539
|
const l = ie;
|
|
1540
1540
|
return u(), m(fe, null, {
|
|
1541
1541
|
default: s(() => [
|
|
1542
|
-
|
|
1542
|
+
o(re, { cols: "12" }, {
|
|
1543
1543
|
default: s(() => [
|
|
1544
|
-
|
|
1544
|
+
o(l, {
|
|
1545
1545
|
text: "View and download your invoice history.",
|
|
1546
1546
|
title: "Invoice History"
|
|
1547
1547
|
}),
|
|
1548
|
-
|
|
1548
|
+
o(T, {
|
|
1549
1549
|
border: "",
|
|
1550
1550
|
rounded: "lg"
|
|
1551
1551
|
}, {
|
|
1552
1552
|
default: s(() => [
|
|
1553
|
-
|
|
1553
|
+
o(bt, {
|
|
1554
1554
|
"fixed-header": "",
|
|
1555
1555
|
height: "450",
|
|
1556
1556
|
items: e(i).invoices,
|
|
@@ -1561,10 +1561,10 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1561
1561
|
v("div", Un, $(e(t).format(new Date(a.date * 1e3), "fullDateWithWeekday")), 1)
|
|
1562
1562
|
]),
|
|
1563
1563
|
"item.amount": s(({ item: a }) => [
|
|
1564
|
-
|
|
1564
|
+
D(" $" + $(a.amount / 100), 1)
|
|
1565
1565
|
]),
|
|
1566
1566
|
"item.status": s(({ item: a }) => [
|
|
1567
|
-
|
|
1567
|
+
o(ne, {
|
|
1568
1568
|
border: "success sm",
|
|
1569
1569
|
class: "text-capitalize",
|
|
1570
1570
|
color: "success",
|
|
@@ -1575,7 +1575,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1575
1575
|
}, null, 8, ["text"])
|
|
1576
1576
|
]),
|
|
1577
1577
|
"item.pdf": s(({ item: a }) => [
|
|
1578
|
-
|
|
1578
|
+
o(I, {
|
|
1579
1579
|
href: a.pdf,
|
|
1580
1580
|
icon: `svg:${e(ft)}`,
|
|
1581
1581
|
size: "small",
|
|
@@ -1600,21 +1600,21 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1600
1600
|
__name: "VoSubscriptionStatus",
|
|
1601
1601
|
emits: ["change:subscription"],
|
|
1602
1602
|
setup(p, { emit: t }) {
|
|
1603
|
-
const i = me(),
|
|
1604
|
-
if (!
|
|
1605
|
-
const c = new Date(
|
|
1603
|
+
const i = me(), n = B(), r = t, l = b(() => {
|
|
1604
|
+
if (!n.info) return;
|
|
1605
|
+
const c = new Date(n.info.currentPeriodEnd * 1e3);
|
|
1606
1606
|
return i.format(c, "keyboardDate");
|
|
1607
1607
|
});
|
|
1608
1608
|
async function a() {
|
|
1609
|
-
!
|
|
1609
|
+
!n.interval || !n.subscriptionType || (n.isLoading = !0, n.subscribe(n.interval, n.subscriptionType));
|
|
1610
1610
|
}
|
|
1611
1611
|
return (c, d) => {
|
|
1612
1612
|
const f = Ve;
|
|
1613
1613
|
return u(), m(fe, null, {
|
|
1614
1614
|
default: s(() => [
|
|
1615
|
-
|
|
1615
|
+
o(re, { cols: "12" }, {
|
|
1616
1616
|
default: s(() => [
|
|
1617
|
-
|
|
1617
|
+
o(T, {
|
|
1618
1618
|
border: "",
|
|
1619
1619
|
flat: "",
|
|
1620
1620
|
"prepend-icon": "$vuetify",
|
|
@@ -1622,47 +1622,47 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1622
1622
|
title: "Subscription Status"
|
|
1623
1623
|
}, P({
|
|
1624
1624
|
prepend: s(() => [
|
|
1625
|
-
|
|
1626
|
-
color: e(
|
|
1625
|
+
o(C, {
|
|
1626
|
+
color: e(n).isSubscriber ? "success" : void 0
|
|
1627
1627
|
}, null, 8, ["color"])
|
|
1628
1628
|
]),
|
|
1629
1629
|
append: s(() => [
|
|
1630
|
-
e(
|
|
1630
|
+
e(n).hasBilling && e(n).info?.status === "canceled" ? (u(), m(f, {
|
|
1631
1631
|
key: 0,
|
|
1632
1632
|
class: "me-2",
|
|
1633
1633
|
color: "success",
|
|
1634
|
-
loading: e(
|
|
1634
|
+
loading: e(n).isLoading,
|
|
1635
1635
|
"prepend-icon": "$success",
|
|
1636
1636
|
text: "Activate",
|
|
1637
1637
|
variant: "outlined",
|
|
1638
1638
|
onClick: a
|
|
1639
1639
|
}, null, 8, ["loading"])) : h("", !0),
|
|
1640
|
-
e(
|
|
1640
|
+
e(n).hasBilling ? (u(), m(f, {
|
|
1641
1641
|
key: 1,
|
|
1642
|
-
loading: e(
|
|
1642
|
+
loading: e(n).isLoading,
|
|
1643
1643
|
"prepend-icon": `svg:${e(uo)}`,
|
|
1644
1644
|
text: "Billing",
|
|
1645
|
-
onClick: e(
|
|
1645
|
+
onClick: e(n).manage
|
|
1646
1646
|
}, null, 8, ["loading", "prepend-icon", "onClick"])) : h("", !0)
|
|
1647
1647
|
]),
|
|
1648
1648
|
_: 2
|
|
1649
1649
|
}, [
|
|
1650
|
-
e(
|
|
1650
|
+
e(n).info ? {
|
|
1651
1651
|
name: "subtitle",
|
|
1652
1652
|
fn: s(() => [
|
|
1653
1653
|
v("div", On, [
|
|
1654
1654
|
v("strong", {
|
|
1655
1655
|
key: "status",
|
|
1656
1656
|
class: "text-capitalize hidden-sm-and-down",
|
|
1657
|
-
textContent: $(e(
|
|
1657
|
+
textContent: $(e(n).info.status)
|
|
1658
1658
|
}, null, 8, zn),
|
|
1659
|
-
e(
|
|
1659
|
+
e(n).info.items.length > 0 ? (u(), V(M, { key: 0 }, [
|
|
1660
1660
|
d[1] || (d[1] = v("span", { class: "mx-1 hidden-sm-and-down" }, "—", -1)),
|
|
1661
1661
|
v("span", Pn, [
|
|
1662
|
-
|
|
1663
|
-
v("span", Fn, "/" + $(e(
|
|
1662
|
+
D(" $" + $(e(n).info.items[0].plan.amount / 100), 1),
|
|
1663
|
+
v("span", Fn, "/" + $(e(n).interval), 1)
|
|
1664
1664
|
]),
|
|
1665
|
-
|
|
1665
|
+
o(f, {
|
|
1666
1666
|
size: "x-small",
|
|
1667
1667
|
text: "(Change Subscription)",
|
|
1668
1668
|
variant: "text",
|
|
@@ -1676,13 +1676,13 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1676
1676
|
name: "subtitle",
|
|
1677
1677
|
fn: s(() => [
|
|
1678
1678
|
v("div", Nn, [
|
|
1679
|
-
|
|
1679
|
+
o(_e, {
|
|
1680
1680
|
height: "16",
|
|
1681
1681
|
type: "ossein",
|
|
1682
1682
|
width: "40"
|
|
1683
1683
|
}),
|
|
1684
1684
|
d[2] || (d[2] = v("span", { class: "mx-1" }, "—", -1)),
|
|
1685
|
-
|
|
1685
|
+
o(_e, {
|
|
1686
1686
|
height: "16",
|
|
1687
1687
|
type: "ossein",
|
|
1688
1688
|
width: "80"
|
|
@@ -1694,14 +1694,14 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1694
1694
|
]), 1024),
|
|
1695
1695
|
v("div", jn, [
|
|
1696
1696
|
v("div", null, [
|
|
1697
|
-
e(
|
|
1698
|
-
d[3] || (d[3] =
|
|
1697
|
+
e(n).info?.status === "active" ? (u(), V(M, { key: 0 }, [
|
|
1698
|
+
d[3] || (d[3] = D(" Your plan renews on ", -1)),
|
|
1699
1699
|
v("span", En, $(e(i).format(e(l), "fullDateWithWeekday")), 1),
|
|
1700
|
-
d[4] || (d[4] =
|
|
1700
|
+
d[4] || (d[4] = D(". ", -1))
|
|
1701
1701
|
], 64)) : (u(), V(M, { key: 1 }, [
|
|
1702
|
-
d[5] || (d[5] =
|
|
1703
|
-
v("span", Hn, $(e(i).format(e(
|
|
1704
|
-
d[6] || (d[6] =
|
|
1702
|
+
d[5] || (d[5] = D(" Your plan ends on ", -1)),
|
|
1703
|
+
v("span", Hn, $(e(i).format(e(n).info?.currentPeriodEnd, "fullDateWithWeekday")), 1),
|
|
1704
|
+
d[6] || (d[6] = D(". ", -1))
|
|
1705
1705
|
], 64))
|
|
1706
1706
|
])
|
|
1707
1707
|
])
|
|
@@ -1723,7 +1723,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1723
1723
|
"Access to the Vuetify MCP server",
|
|
1724
1724
|
"Team wide Playgrounds, Bins, and Studios",
|
|
1725
1725
|
"Receive a special label on GitHub created issues and pull requests"
|
|
1726
|
-
], i = A(!1),
|
|
1726
|
+
], i = A(!1), n = B(), r = b(() => {
|
|
1727
1727
|
const l = [
|
|
1728
1728
|
"Ad Free Experience on all Vuetify properties",
|
|
1729
1729
|
'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>',
|
|
@@ -1736,18 +1736,18 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1736
1736
|
return p.type === "team" && l.unshift("Invite up to 25 team members"), l;
|
|
1737
1737
|
});
|
|
1738
1738
|
return H(i, async (l) => {
|
|
1739
|
-
l &&
|
|
1739
|
+
l && n.subscriptionInfo();
|
|
1740
1740
|
}), (l, a) => {
|
|
1741
|
-
const c =
|
|
1741
|
+
const c = W;
|
|
1742
1742
|
return u(), V(M, null, [
|
|
1743
|
-
|
|
1743
|
+
o(Ne, { class: "font-weight-black" }, {
|
|
1744
1744
|
default: s(() => [...a[0] || (a[0] = [
|
|
1745
|
-
|
|
1745
|
+
D("Perks", -1)
|
|
1746
1746
|
])]),
|
|
1747
1747
|
_: 1
|
|
1748
1748
|
}),
|
|
1749
1749
|
a[2] || (a[2] = v("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The Vuetify One subscription comes with the following perks: ", -1)),
|
|
1750
|
-
|
|
1750
|
+
o(se, {
|
|
1751
1751
|
class: "py-0",
|
|
1752
1752
|
density: "compact",
|
|
1753
1753
|
lines: !1,
|
|
@@ -1760,7 +1760,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1760
1760
|
"prepend-icon": `svg:${e(he)}`
|
|
1761
1761
|
}, {
|
|
1762
1762
|
prepend: s(() => [
|
|
1763
|
-
|
|
1763
|
+
o(C, {
|
|
1764
1764
|
class: "mx-n2",
|
|
1765
1765
|
color: "success",
|
|
1766
1766
|
size: "small"
|
|
@@ -1775,27 +1775,27 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1775
1775
|
_: 1
|
|
1776
1776
|
}),
|
|
1777
1777
|
a[3] || (a[3] = v("br", null, null, -1)),
|
|
1778
|
-
|
|
1778
|
+
o(Ne, { class: "font-weight-black" }, {
|
|
1779
1779
|
default: s(() => [...a[1] || (a[1] = [
|
|
1780
|
-
|
|
1780
|
+
D("Up Next", -1)
|
|
1781
1781
|
])]),
|
|
1782
1782
|
_: 1
|
|
1783
1783
|
}),
|
|
1784
1784
|
a[4] || (a[4] = v("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The following features are in development and coming soon: ", -1)),
|
|
1785
|
-
|
|
1785
|
+
o(se, {
|
|
1786
1786
|
class: "py-0",
|
|
1787
1787
|
density: "compact",
|
|
1788
1788
|
lines: !1,
|
|
1789
1789
|
nav: ""
|
|
1790
1790
|
}, {
|
|
1791
1791
|
default: s(() => [
|
|
1792
|
-
(u(), V(M, null, Q(t, (d, f) =>
|
|
1792
|
+
(u(), V(M, null, Q(t, (d, f) => o(c, {
|
|
1793
1793
|
key: f,
|
|
1794
1794
|
class: "mb-0",
|
|
1795
1795
|
"prepend-icon": `svg:${e(co)}`
|
|
1796
1796
|
}, {
|
|
1797
1797
|
prepend: s(() => [
|
|
1798
|
-
|
|
1798
|
+
o(C, {
|
|
1799
1799
|
class: "mx-n2",
|
|
1800
1800
|
size: "small"
|
|
1801
1801
|
})
|
|
@@ -1821,7 +1821,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1821
1821
|
},
|
|
1822
1822
|
emits: ["update:interval", "update:type"],
|
|
1823
1823
|
setup(p) {
|
|
1824
|
-
const t = A(!1), i =
|
|
1824
|
+
const t = A(!1), i = Z(p, "interval"), n = Z(p, "type"), r = B(), l = Ie(), a = b(() => l.hasTeamAccess && !l.isTeamOwner), c = {
|
|
1825
1825
|
solo: {
|
|
1826
1826
|
month: "2.99 /month",
|
|
1827
1827
|
year: "29.99 /year"
|
|
@@ -1834,23 +1834,23 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1834
1834
|
return H(t, async (d) => {
|
|
1835
1835
|
d && r.subscriptionInfo();
|
|
1836
1836
|
}), (d, f) => (u(), V(M, null, [
|
|
1837
|
-
|
|
1838
|
-
modelValue:
|
|
1839
|
-
"onUpdate:modelValue": f[0] || (f[0] = (_) =>
|
|
1837
|
+
o(yt, {
|
|
1838
|
+
modelValue: n.value,
|
|
1839
|
+
"onUpdate:modelValue": f[0] || (f[0] = (_) => n.value = _),
|
|
1840
1840
|
class: "mb-4",
|
|
1841
1841
|
mandatory: ""
|
|
1842
1842
|
}, {
|
|
1843
1843
|
default: s(() => [
|
|
1844
|
-
|
|
1844
|
+
o(fe, null, {
|
|
1845
1845
|
default: s(() => [
|
|
1846
|
-
|
|
1846
|
+
o(re, {
|
|
1847
1847
|
cols: "12",
|
|
1848
1848
|
md: "6"
|
|
1849
1849
|
}, {
|
|
1850
1850
|
default: s(() => [
|
|
1851
|
-
|
|
1851
|
+
o(je, { value: "solo" }, {
|
|
1852
1852
|
default: s(({ toggle: _, isSelected: g }) => [
|
|
1853
|
-
|
|
1853
|
+
o(T, {
|
|
1854
1854
|
border: g ? "sm primary opacity-50" : "sm",
|
|
1855
1855
|
color: g ? "primary" : void 0,
|
|
1856
1856
|
"prepend-icon": g ? `svg:${e(we)}` : "$radioOff",
|
|
@@ -1861,7 +1861,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1861
1861
|
onClick: _
|
|
1862
1862
|
}, {
|
|
1863
1863
|
prepend: s(() => [
|
|
1864
|
-
|
|
1864
|
+
o(C, { class: "mt-n6" })
|
|
1865
1865
|
]),
|
|
1866
1866
|
_: 1
|
|
1867
1867
|
}, 8, ["border", "color", "prepend-icon", "subtitle", "variant", "onClick"])
|
|
@@ -1871,14 +1871,14 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1871
1871
|
]),
|
|
1872
1872
|
_: 1
|
|
1873
1873
|
}),
|
|
1874
|
-
|
|
1874
|
+
o(re, {
|
|
1875
1875
|
cols: "12",
|
|
1876
1876
|
md: "6"
|
|
1877
1877
|
}, {
|
|
1878
1878
|
default: s(() => [
|
|
1879
|
-
|
|
1879
|
+
o(je, { value: "team" }, {
|
|
1880
1880
|
default: s(({ toggle: _, isSelected: g }) => [
|
|
1881
|
-
|
|
1881
|
+
o(T, {
|
|
1882
1882
|
border: g ? "sm primary opacity-50" : "sm",
|
|
1883
1883
|
color: g ? "primary" : void 0,
|
|
1884
1884
|
disabled: e(a),
|
|
@@ -1890,7 +1890,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1890
1890
|
onClick: _
|
|
1891
1891
|
}, {
|
|
1892
1892
|
prepend: s(() => [
|
|
1893
|
-
|
|
1893
|
+
o(C, { class: "mt-n6" })
|
|
1894
1894
|
]),
|
|
1895
1895
|
_: 1
|
|
1896
1896
|
}, 8, ["border", "color", "disabled", "prepend-icon", "subtitle", "variant", "onClick"])
|
|
@@ -1906,7 +1906,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1906
1906
|
]),
|
|
1907
1907
|
_: 1
|
|
1908
1908
|
}, 8, ["modelValue"]),
|
|
1909
|
-
|
|
1909
|
+
o(Ge, {
|
|
1910
1910
|
modelValue: i.value,
|
|
1911
1911
|
"onUpdate:modelValue": f[1] || (f[1] = (_) => i.value = _),
|
|
1912
1912
|
"false-value": "month",
|
|
@@ -1928,25 +1928,25 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1928
1928
|
function t(_) {
|
|
1929
1929
|
return new Promise((g) => setTimeout(g, _));
|
|
1930
1930
|
}
|
|
1931
|
-
const i =
|
|
1931
|
+
const i = Z(p, "modelValue"), n = B(), r = ye(), l = A(n.interval), a = A(n.subscriptionType), c = A(n.hasBilling ? "status" : "subscribe"), d = A(!1);
|
|
1932
1932
|
H([l, a], ([_, g]) => {
|
|
1933
|
-
!
|
|
1933
|
+
!n.isSubscriber || !n.interval || !n.subscriptionType || (d.value = _ !== n.interval || g !== n.subscriptionType);
|
|
1934
1934
|
}), H(i, async (_) => {
|
|
1935
|
-
if (!_ || !
|
|
1936
|
-
_ ||
|
|
1935
|
+
if (!_ || !n.isSubscriber) {
|
|
1936
|
+
_ || n.resetQuery();
|
|
1937
1937
|
return;
|
|
1938
1938
|
}
|
|
1939
|
-
|
|
1939
|
+
n.subscriptionInfo();
|
|
1940
1940
|
}), H(r, async () => {
|
|
1941
|
-
!
|
|
1941
|
+
!n.sessionId && !["subscribe", "status"].includes(r.value.one) || r.value.team || (c.value = n.sessionId || r.value.one === "status" ? "status" : "subscribe", n.isOpen = !0, await ge(), i.value = !0);
|
|
1942
1942
|
}, { immediate: !0 }), zt(() => {
|
|
1943
|
-
l.value =
|
|
1943
|
+
l.value = n.interval ?? "year", a.value = n.subscriptionType ?? "solo";
|
|
1944
1944
|
});
|
|
1945
1945
|
async function f() {
|
|
1946
|
-
await
|
|
1946
|
+
await n.modify(l.value, a.value), await n.subscriptionInfo(), d.value = null, await t(3e3), c.value = "status", await t(300), d.value = !1;
|
|
1947
1947
|
}
|
|
1948
1948
|
return (_, g) => {
|
|
1949
|
-
const k = ie,
|
|
1949
|
+
const k = ie, x = Gn, S = Wn, z = Rn, J = Bn, w = Ve, $e = ce;
|
|
1950
1950
|
return u(), m($e, {
|
|
1951
1951
|
modelValue: i.value,
|
|
1952
1952
|
"onUpdate:modelValue": g[5] || (g[5] = (O) => i.value = O),
|
|
@@ -1954,38 +1954,38 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1954
1954
|
title: "Subscriptions"
|
|
1955
1955
|
}, P({
|
|
1956
1956
|
default: s(() => [
|
|
1957
|
-
|
|
1957
|
+
o(le, null, {
|
|
1958
1958
|
default: s(() => [
|
|
1959
|
-
|
|
1959
|
+
o(ue, { scrollable: "" }, {
|
|
1960
1960
|
default: s(() => [
|
|
1961
1961
|
v("div", Kn, [
|
|
1962
|
-
|
|
1962
|
+
o(G, null, {
|
|
1963
1963
|
default: s(() => [
|
|
1964
|
-
|
|
1964
|
+
o(k, {
|
|
1965
1965
|
text: "The Vuetify One subscription is a great way to support the Vuetify team and get access to exclusive features and content.",
|
|
1966
1966
|
title: "Vuetify One"
|
|
1967
1967
|
}),
|
|
1968
|
-
|
|
1968
|
+
o(kt, { "model-value": e(c) }, {
|
|
1969
1969
|
default: s(() => [
|
|
1970
|
-
|
|
1970
|
+
o(ve, { value: "subscribe" }, {
|
|
1971
1971
|
default: s(() => [
|
|
1972
|
-
|
|
1972
|
+
o(x, {
|
|
1973
1973
|
interval: e(l),
|
|
1974
|
-
"onUpdate:interval": g[0] || (g[0] = (O) =>
|
|
1974
|
+
"onUpdate:interval": g[0] || (g[0] = (O) => q(l) ? l.value = O : null),
|
|
1975
1975
|
type: e(a),
|
|
1976
|
-
"onUpdate:type": g[1] || (g[1] = (O) =>
|
|
1976
|
+
"onUpdate:type": g[1] || (g[1] = (O) => q(a) ? a.value = O : null)
|
|
1977
1977
|
}, null, 8, ["interval", "type"]),
|
|
1978
1978
|
g[6] || (g[6] = v("br", null, null, -1)),
|
|
1979
|
-
|
|
1979
|
+
o(S, { type: e(a) }, null, 8, ["type"])
|
|
1980
1980
|
]),
|
|
1981
1981
|
_: 1
|
|
1982
1982
|
}),
|
|
1983
|
-
|
|
1983
|
+
o(ve, { value: "status" }, {
|
|
1984
1984
|
default: s(() => [
|
|
1985
|
-
|
|
1985
|
+
o(z, {
|
|
1986
1986
|
"onChange:subscription": g[2] || (g[2] = (O) => c.value = "subscribe")
|
|
1987
1987
|
}),
|
|
1988
|
-
|
|
1988
|
+
o(J)
|
|
1989
1989
|
]),
|
|
1990
1990
|
_: 1
|
|
1991
1991
|
})
|
|
@@ -2009,33 +2009,33 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2009
2009
|
name: "actions",
|
|
2010
2010
|
fn: s(() => [
|
|
2011
2011
|
v("div", Qn, [
|
|
2012
|
-
e(d) !== !1 ? (u(), m(
|
|
2012
|
+
e(d) !== !1 ? (u(), m(w, {
|
|
2013
2013
|
key: 0,
|
|
2014
2014
|
block: "",
|
|
2015
2015
|
color: "success",
|
|
2016
|
-
loading: e(
|
|
2016
|
+
loading: e(n).isLoading,
|
|
2017
2017
|
"prepend-icon": `svg:${e(d) !== null ? e(mo) : e(we)}`,
|
|
2018
2018
|
readonly: e(d) === null,
|
|
2019
2019
|
size: "default",
|
|
2020
2020
|
text: e(d) !== null ? "Modify Subscription" : "Success",
|
|
2021
2021
|
onClick: f
|
|
2022
|
-
}, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : e(
|
|
2022
|
+
}, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : e(n).one ? (u(), m(w, {
|
|
2023
2023
|
key: 2,
|
|
2024
2024
|
block: "",
|
|
2025
2025
|
"prepend-icon": `svg:${e(fo)}`,
|
|
2026
2026
|
size: "default",
|
|
2027
2027
|
text: "Manage Subscription",
|
|
2028
2028
|
onClick: g[4] || (g[4] = (O) => c.value = "status")
|
|
2029
|
-
}, null, 8, ["prepend-icon"])) : (u(), m(
|
|
2029
|
+
}, null, 8, ["prepend-icon"])) : (u(), m(w, {
|
|
2030
2030
|
key: 1,
|
|
2031
2031
|
block: "",
|
|
2032
2032
|
color: e(l) && e(a) ? "success" : "disabled",
|
|
2033
2033
|
disabled: !(e(l) && e(a)),
|
|
2034
|
-
loading: e(
|
|
2034
|
+
loading: e(n).isLoading,
|
|
2035
2035
|
"prepend-icon": "$vuetify",
|
|
2036
2036
|
size: "default",
|
|
2037
2037
|
text: "Activate Subscription",
|
|
2038
|
-
onClick: g[3] || (g[3] = (O) => e(
|
|
2038
|
+
onClick: g[3] || (g[3] = (O) => e(n).subscribe(e(l), e(a)))
|
|
2039
2039
|
}, null, 8, ["color", "disabled", "loading"]))
|
|
2040
2040
|
])
|
|
2041
2041
|
]),
|
|
@@ -2048,8 +2048,8 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2048
2048
|
__name: "VoSubscriptionListItem",
|
|
2049
2049
|
setup(p) {
|
|
2050
2050
|
const t = A(!1);
|
|
2051
|
-
return (i,
|
|
2052
|
-
const r = Yn, l =
|
|
2051
|
+
return (i, n) => {
|
|
2052
|
+
const r = Yn, l = W;
|
|
2053
2053
|
return u(), m(l, {
|
|
2054
2054
|
active: e(t),
|
|
2055
2055
|
link: "",
|
|
@@ -2057,9 +2057,9 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2057
2057
|
title: "Subscriptions"
|
|
2058
2058
|
}, {
|
|
2059
2059
|
default: s(() => [
|
|
2060
|
-
|
|
2060
|
+
o(r, {
|
|
2061
2061
|
modelValue: e(t),
|
|
2062
|
-
"onUpdate:modelValue":
|
|
2062
|
+
"onUpdate:modelValue": n[0] || (n[0] = (a) => q(t) ? t.value = a : null)
|
|
2063
2063
|
}, null, 8, ["modelValue"])
|
|
2064
2064
|
]),
|
|
2065
2065
|
_: 1
|
|
@@ -2081,7 +2081,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2081
2081
|
sponsorship: {}
|
|
2082
2082
|
},
|
|
2083
2083
|
setup(p) {
|
|
2084
|
-
const t = p, i = Be(),
|
|
2084
|
+
const t = p, i = Be(), n = b(() => `$${Number.parseFloat(String((t.sponsorship?.amount ?? 0) / 100)).toFixed(2)} /${t.sponsorship?.interval}`);
|
|
2085
2085
|
return (r, l) => {
|
|
2086
2086
|
const a = Ve;
|
|
2087
2087
|
return u(), m(Yo, {
|
|
@@ -2091,7 +2091,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2091
2091
|
width: "100%"
|
|
2092
2092
|
}, {
|
|
2093
2093
|
default: s(() => [
|
|
2094
|
-
|
|
2094
|
+
o(T, {
|
|
2095
2095
|
border: "",
|
|
2096
2096
|
"prepend-avatar": `${e(i).CDN_URL}logos/${r.logo}.png`,
|
|
2097
2097
|
rounded: "lg",
|
|
@@ -2100,13 +2100,13 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2100
2100
|
}, {
|
|
2101
2101
|
subtitle: s(() => [
|
|
2102
2102
|
r.sponsorship?.isActive ? (u(), V("div", Jn, [
|
|
2103
|
-
|
|
2103
|
+
o(C, {
|
|
2104
2104
|
icon: `svg:${e(_o)}`,
|
|
2105
2105
|
size: "x-small"
|
|
2106
2106
|
}, null, 8, ["icon"]),
|
|
2107
|
-
|
|
2107
|
+
D(" " + $(e(n)), 1)
|
|
2108
2108
|
])) : (u(), V(M, { key: 1 }, [
|
|
2109
|
-
|
|
2109
|
+
D($(r.text), 1)
|
|
2110
2110
|
], 64))
|
|
2111
2111
|
]),
|
|
2112
2112
|
append: s(() => [
|
|
@@ -2139,7 +2139,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2139
2139
|
__name: "VoSponsorshipsTimelineItemDiscord",
|
|
2140
2140
|
setup(p) {
|
|
2141
2141
|
const t = B();
|
|
2142
|
-
return (i,
|
|
2142
|
+
return (i, n) => {
|
|
2143
2143
|
const r = Ye;
|
|
2144
2144
|
return u(), m(r, {
|
|
2145
2145
|
href: "https://discord.com/servers/vuetify-340160225338195969",
|
|
@@ -2154,7 +2154,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2154
2154
|
__name: "VoSponsorshipsTimelineItemGithub",
|
|
2155
2155
|
setup(p) {
|
|
2156
2156
|
const t = B();
|
|
2157
|
-
return (i,
|
|
2157
|
+
return (i, n) => {
|
|
2158
2158
|
const r = Ye;
|
|
2159
2159
|
return u(), m(r, {
|
|
2160
2160
|
href: "https://github.com/sponsors/johnleider",
|
|
@@ -2169,7 +2169,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2169
2169
|
__name: "VoSponsorshipsTimelineItemOne",
|
|
2170
2170
|
setup(p) {
|
|
2171
2171
|
const t = B();
|
|
2172
|
-
return (i,
|
|
2172
|
+
return (i, n) => {
|
|
2173
2173
|
const r = Ye;
|
|
2174
2174
|
return u(), m(r, {
|
|
2175
2175
|
logo: "one",
|
|
@@ -2184,7 +2184,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2184
2184
|
__name: "VoSponsorshipsTimeline",
|
|
2185
2185
|
setup(p) {
|
|
2186
2186
|
return (t, i) => {
|
|
2187
|
-
const
|
|
2187
|
+
const n = os, r = ts, l = es;
|
|
2188
2188
|
return u(), m(Xo, {
|
|
2189
2189
|
class: "justify-start ms-n7",
|
|
2190
2190
|
"line-inset": "12",
|
|
@@ -2193,9 +2193,9 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2193
2193
|
"truncate-line": "both"
|
|
2194
2194
|
}, {
|
|
2195
2195
|
default: s(() => [
|
|
2196
|
-
n
|
|
2197
|
-
|
|
2198
|
-
|
|
2196
|
+
o(n),
|
|
2197
|
+
o(r),
|
|
2198
|
+
o(l)
|
|
2199
2199
|
]),
|
|
2200
2200
|
_: 1
|
|
2201
2201
|
});
|
|
@@ -2209,9 +2209,9 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2209
2209
|
},
|
|
2210
2210
|
emits: ["update:modelValue"],
|
|
2211
2211
|
setup(p) {
|
|
2212
|
-
const t =
|
|
2212
|
+
const t = Z(p, "modelValue"), i = ye(), n = B();
|
|
2213
2213
|
return H(i, async () => {
|
|
2214
|
-
i.value.one === "sponsorships" && (
|
|
2214
|
+
i.value.one === "sponsorships" && (n.isOpen = !0, await ge(), t.value = !0);
|
|
2215
2215
|
}, { immediate: !0 }), (r, l) => {
|
|
2216
2216
|
const a = ie, c = ns, d = ce;
|
|
2217
2217
|
return u(), m(d, {
|
|
@@ -2221,38 +2221,38 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2221
2221
|
title: "Sponsorships"
|
|
2222
2222
|
}, {
|
|
2223
2223
|
default: s(() => [
|
|
2224
|
-
|
|
2224
|
+
o(le, null, {
|
|
2225
2225
|
default: s(() => [
|
|
2226
|
-
|
|
2226
|
+
o(ue, { scrollable: "" }, {
|
|
2227
2227
|
default: s(() => [
|
|
2228
2228
|
v("div", ss, [
|
|
2229
|
-
|
|
2229
|
+
o(G, { class: "flex-0-0 mb-16 mb-sm-4" }, {
|
|
2230
2230
|
default: s(() => [
|
|
2231
|
-
|
|
2231
|
+
o(a, {
|
|
2232
2232
|
text: "Support Vuetify through GitHub Sponsors or Discord to unlock exclusive benefits and content.",
|
|
2233
2233
|
title: "Support Vuetify"
|
|
2234
2234
|
}),
|
|
2235
|
-
|
|
2235
|
+
o(c)
|
|
2236
2236
|
]),
|
|
2237
2237
|
_: 1
|
|
2238
2238
|
}),
|
|
2239
|
-
|
|
2239
|
+
o(Ke, {
|
|
2240
2240
|
class: "flex-1-0",
|
|
2241
2241
|
icon: "$vuetify",
|
|
2242
2242
|
"min-height": "auto",
|
|
2243
2243
|
size: "128"
|
|
2244
2244
|
}, {
|
|
2245
2245
|
media: s(() => [
|
|
2246
|
-
|
|
2247
|
-
color: e(
|
|
2246
|
+
o(C, {
|
|
2247
|
+
color: e(n).isSubscriber ? "success" : "error"
|
|
2248
2248
|
}, null, 8, ["color"])
|
|
2249
2249
|
]),
|
|
2250
2250
|
title: s(() => [
|
|
2251
|
-
l[1] || (l[1] =
|
|
2252
|
-
v("span", as, $(e(
|
|
2251
|
+
l[1] || (l[1] = D(" One Status: ", -1)),
|
|
2252
|
+
v("span", as, $(e(n).isSubscriber ? "Active" : "Inactive"), 1)
|
|
2253
2253
|
]),
|
|
2254
2254
|
text: s(() => [
|
|
2255
|
-
v("div", is, $(e(
|
|
2255
|
+
v("div", is, $(e(n).isSubscriber ? "You are currently receiving benefits of Vuetify One." : "Login to activate Vuetify One benefits"), 1)
|
|
2256
2256
|
]),
|
|
2257
2257
|
_: 1
|
|
2258
2258
|
})
|
|
@@ -2272,8 +2272,8 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2272
2272
|
__name: "VoSponsorshipsListItem",
|
|
2273
2273
|
setup(p) {
|
|
2274
2274
|
const t = A(!1);
|
|
2275
|
-
return (i,
|
|
2276
|
-
const r = rs, l =
|
|
2275
|
+
return (i, n) => {
|
|
2276
|
+
const r = rs, l = W;
|
|
2277
2277
|
return u(), m(l, {
|
|
2278
2278
|
active: e(t),
|
|
2279
2279
|
link: "",
|
|
@@ -2281,9 +2281,9 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2281
2281
|
title: "Sponsorships"
|
|
2282
2282
|
}, {
|
|
2283
2283
|
default: s(() => [
|
|
2284
|
-
|
|
2284
|
+
o(r, {
|
|
2285
2285
|
modelValue: e(t),
|
|
2286
|
-
"onUpdate:modelValue":
|
|
2286
|
+
"onUpdate:modelValue": n[0] || (n[0] = (a) => q(t) ? t.value = a : null)
|
|
2287
2287
|
}, null, 8, ["modelValue"])
|
|
2288
2288
|
]),
|
|
2289
2289
|
_: 1
|
|
@@ -2291,30 +2291,30 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2291
2291
|
};
|
|
2292
2292
|
}
|
|
2293
2293
|
}), us = K("downloads", () => {
|
|
2294
|
-
const p = X(), t = te(), i = N([]),
|
|
2294
|
+
const p = X(), t = te(), i = N([]), n = A(!1);
|
|
2295
2295
|
async function r() {
|
|
2296
2296
|
if (i.value.length > 0)
|
|
2297
2297
|
return i.value;
|
|
2298
|
-
|
|
2298
|
+
n.value = !0;
|
|
2299
2299
|
try {
|
|
2300
2300
|
const l = await p.get("/one/sendowl/downloads");
|
|
2301
2301
|
i.value = l.downloads;
|
|
2302
2302
|
} catch (l) {
|
|
2303
2303
|
t.showError(l?.message ?? "Error fetching downloads");
|
|
2304
2304
|
} finally {
|
|
2305
|
-
|
|
2305
|
+
n.value = !1;
|
|
2306
2306
|
}
|
|
2307
2307
|
return i.value;
|
|
2308
2308
|
}
|
|
2309
2309
|
return {
|
|
2310
2310
|
all: i,
|
|
2311
|
-
isLoading:
|
|
2311
|
+
isLoading: n,
|
|
2312
2312
|
index: r
|
|
2313
2313
|
};
|
|
2314
2314
|
}), cs = /* @__PURE__ */ y({
|
|
2315
2315
|
__name: "VoDownloadsTable",
|
|
2316
2316
|
setup(p) {
|
|
2317
|
-
const t = me(), i = us(),
|
|
2317
|
+
const t = me(), i = us(), n = [
|
|
2318
2318
|
{
|
|
2319
2319
|
title: "Order ID",
|
|
2320
2320
|
value: "order_name"
|
|
@@ -2340,30 +2340,30 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2340
2340
|
const a = ie;
|
|
2341
2341
|
return u(), m(fe, null, {
|
|
2342
2342
|
default: s(() => [
|
|
2343
|
-
|
|
2343
|
+
o(re, { cols: "12" }, {
|
|
2344
2344
|
default: s(() => [
|
|
2345
|
-
|
|
2345
|
+
o(a, {
|
|
2346
2346
|
text: "View and download your store purchases.",
|
|
2347
2347
|
title: "Download history"
|
|
2348
2348
|
}),
|
|
2349
|
-
|
|
2349
|
+
o(T, {
|
|
2350
2350
|
border: "",
|
|
2351
2351
|
flat: "",
|
|
2352
2352
|
rounded: "lg"
|
|
2353
2353
|
}, {
|
|
2354
2354
|
default: s(() => [
|
|
2355
|
-
|
|
2355
|
+
o(bt, {
|
|
2356
2356
|
"fixed-header": "",
|
|
2357
|
-
headers:
|
|
2357
|
+
headers: n,
|
|
2358
2358
|
height: "640",
|
|
2359
2359
|
items: e(i).all,
|
|
2360
2360
|
loading: e(i).isLoading
|
|
2361
2361
|
}, {
|
|
2362
2362
|
"item.order_name": s(({ item: c }) => [
|
|
2363
|
-
|
|
2363
|
+
D(" #" + $(c.order_name), 1)
|
|
2364
2364
|
]),
|
|
2365
2365
|
"item.created_at": s(({ item: c }) => [
|
|
2366
|
-
|
|
2366
|
+
D($(e(t).format(c.created_at, "shortDate")), 1)
|
|
2367
2367
|
]),
|
|
2368
2368
|
"item.download_items": s(({ item: c }) => [
|
|
2369
2369
|
(u(!0), V(M, null, Q(c.download_items, (d, f) => (u(), V("div", {
|
|
@@ -2372,7 +2372,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2372
2372
|
}, $(d.name), 1))), 128))
|
|
2373
2373
|
]),
|
|
2374
2374
|
"item.download_url": s(({ item: c }) => [
|
|
2375
|
-
|
|
2375
|
+
o(I, {
|
|
2376
2376
|
color: "medium-emphasis",
|
|
2377
2377
|
href: c.download_url,
|
|
2378
2378
|
icon: `svg:${e(ho)}`,
|
|
@@ -2398,8 +2398,8 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2398
2398
|
__name: "VoDownloadsNavItem",
|
|
2399
2399
|
setup(p) {
|
|
2400
2400
|
const t = A(!1);
|
|
2401
|
-
return (i,
|
|
2402
|
-
const r = cs, l = ce, a =
|
|
2401
|
+
return (i, n) => {
|
|
2402
|
+
const r = cs, l = ce, a = W;
|
|
2403
2403
|
return u(), m(a, {
|
|
2404
2404
|
active: e(t),
|
|
2405
2405
|
link: "",
|
|
@@ -2407,21 +2407,21 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2407
2407
|
title: "Downloads"
|
|
2408
2408
|
}, {
|
|
2409
2409
|
default: s(() => [
|
|
2410
|
-
|
|
2410
|
+
o(l, {
|
|
2411
2411
|
modelValue: e(t),
|
|
2412
|
-
"onUpdate:modelValue":
|
|
2412
|
+
"onUpdate:modelValue": n[0] || (n[0] = (c) => q(t) ? t.value = c : null),
|
|
2413
2413
|
"prepend-icon": `svg:${e(tt)}`,
|
|
2414
2414
|
title: "Downloads"
|
|
2415
2415
|
}, {
|
|
2416
2416
|
default: s(() => [
|
|
2417
|
-
|
|
2417
|
+
o(le, null, {
|
|
2418
2418
|
default: s(() => [
|
|
2419
|
-
|
|
2419
|
+
o(ue, { scrollable: "" }, {
|
|
2420
2420
|
default: s(() => [
|
|
2421
2421
|
v("div", ds, [
|
|
2422
|
-
|
|
2422
|
+
o(G, null, {
|
|
2423
2423
|
default: s(() => [
|
|
2424
|
-
|
|
2424
|
+
o(r)
|
|
2425
2425
|
]),
|
|
2426
2426
|
_: 1
|
|
2427
2427
|
})
|
|
@@ -2448,7 +2448,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2448
2448
|
},
|
|
2449
2449
|
emits: ["update:modelValue"],
|
|
2450
2450
|
setup(p) {
|
|
2451
|
-
const t = B(), i = Ie(),
|
|
2451
|
+
const t = B(), i = Ie(), n = X(), { copy: r, copied: l } = ze(), a = b(() => i.team), c = ye(), d = A(!1), f = [
|
|
2452
2452
|
{
|
|
2453
2453
|
title: "Name",
|
|
2454
2454
|
key: "name"
|
|
@@ -2459,31 +2459,31 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2459
2459
|
align: "end",
|
|
2460
2460
|
sortable: !1
|
|
2461
2461
|
}
|
|
2462
|
-
], _ = b(() => `https://one.vuetifyjs.com/?invite=${i.team?.inviteCode}`), g =
|
|
2462
|
+
], _ = b(() => `https://one.vuetifyjs.com/?invite=${i.team?.inviteCode}`), g = Z(p, "modelValue");
|
|
2463
2463
|
async function k() {
|
|
2464
2464
|
d.value = !0;
|
|
2465
|
-
const
|
|
2466
|
-
i.team =
|
|
2465
|
+
const x = await n.post("/one/team/regen");
|
|
2466
|
+
i.team = x.team;
|
|
2467
2467
|
}
|
|
2468
2468
|
return H(c, async () => {
|
|
2469
2469
|
!t.sessionId || c.value.one === "subscribe" || c.value.team && (t.isOpen = !0, await ge(), g.value = !0);
|
|
2470
|
-
}, { immediate: !0 }), (
|
|
2470
|
+
}, { immediate: !0 }), (x, S) => {
|
|
2471
2471
|
const z = ie, J = ce;
|
|
2472
2472
|
return u(), m(J, {
|
|
2473
2473
|
modelValue: g.value,
|
|
2474
|
-
"onUpdate:modelValue": S[2] || (S[2] = (
|
|
2474
|
+
"onUpdate:modelValue": S[2] || (S[2] = (w) => g.value = w),
|
|
2475
2475
|
"prepend-icon": `svg:${e(bo)}`,
|
|
2476
2476
|
title: "Team"
|
|
2477
2477
|
}, {
|
|
2478
2478
|
default: s(() => [
|
|
2479
|
-
|
|
2479
|
+
o(le, null, {
|
|
2480
2480
|
default: s(() => [
|
|
2481
|
-
|
|
2481
|
+
o(ue, { scrollable: "" }, {
|
|
2482
2482
|
default: s(() => [
|
|
2483
2483
|
v("div", ms, [
|
|
2484
|
-
|
|
2484
|
+
o(G, null, {
|
|
2485
2485
|
default: s(() => [
|
|
2486
|
-
|
|
2486
|
+
o(z, {
|
|
2487
2487
|
text: "Share access to Vuetify One with up to 25 team members.",
|
|
2488
2488
|
title: "Manage your team"
|
|
2489
2489
|
}),
|
|
@@ -2497,7 +2497,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2497
2497
|
rounded: "lg"
|
|
2498
2498
|
}, {
|
|
2499
2499
|
default: s(() => [
|
|
2500
|
-
|
|
2500
|
+
o(Fe, {
|
|
2501
2501
|
class: "bg-surface",
|
|
2502
2502
|
subtitle: `Team - ${e(a)?.members?.length} member(s)`,
|
|
2503
2503
|
title: "Members"
|
|
@@ -2505,7 +2505,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2505
2505
|
e(i).isTeamOwner ? {
|
|
2506
2506
|
name: "append",
|
|
2507
2507
|
fn: s(() => [
|
|
2508
|
-
|
|
2508
|
+
o(I, {
|
|
2509
2509
|
border: "",
|
|
2510
2510
|
class: "text-none",
|
|
2511
2511
|
color: "primary",
|
|
@@ -2514,8 +2514,8 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2514
2514
|
variant: "flat"
|
|
2515
2515
|
}, {
|
|
2516
2516
|
default: s(() => [
|
|
2517
|
-
S[3] || (S[3] =
|
|
2518
|
-
|
|
2517
|
+
S[3] || (S[3] = D(" Add member ", -1)),
|
|
2518
|
+
o(Qe, {
|
|
2519
2519
|
activator: "parent",
|
|
2520
2520
|
"close-on-content-click": !1,
|
|
2521
2521
|
location: "bottom end",
|
|
@@ -2524,16 +2524,16 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2524
2524
|
width: "100%"
|
|
2525
2525
|
}, {
|
|
2526
2526
|
default: s(() => [
|
|
2527
|
-
|
|
2527
|
+
o(T, { color: "surface-light" }, {
|
|
2528
2528
|
default: s(() => [
|
|
2529
|
-
|
|
2529
|
+
o(Fe, {
|
|
2530
2530
|
class: "bg-surface",
|
|
2531
2531
|
"prepend-icon": `svg:${e(Vo)}`,
|
|
2532
2532
|
subtitle: "Provide this link to invite your team members",
|
|
2533
2533
|
title: "Member invite link"
|
|
2534
2534
|
}, {
|
|
2535
2535
|
append: s(() => [
|
|
2536
|
-
|
|
2536
|
+
o(I, {
|
|
2537
2537
|
class: "text-none",
|
|
2538
2538
|
color: e(d) ? void 0 : "error",
|
|
2539
2539
|
disabled: e(d),
|
|
@@ -2545,9 +2545,9 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2545
2545
|
]),
|
|
2546
2546
|
_: 1
|
|
2547
2547
|
}, 8, ["prepend-icon"]),
|
|
2548
|
-
|
|
2548
|
+
o(G, { class: "pt-4" }, {
|
|
2549
2549
|
default: s(() => [
|
|
2550
|
-
|
|
2550
|
+
o(ht, {
|
|
2551
2551
|
flat: "",
|
|
2552
2552
|
"hide-details": "",
|
|
2553
2553
|
label: "Invite link",
|
|
@@ -2556,10 +2556,10 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2556
2556
|
variant: "solo"
|
|
2557
2557
|
}, {
|
|
2558
2558
|
"append-inner": s(() => [
|
|
2559
|
-
ee(
|
|
2559
|
+
ee(o(C, {
|
|
2560
2560
|
icon: `svg:${e(l) ? e(he) : e(Re)}`,
|
|
2561
2561
|
size: "small",
|
|
2562
|
-
onClick: S[0] || (S[0] = (
|
|
2562
|
+
onClick: S[0] || (S[0] = (w) => e(r)(e(_)))
|
|
2563
2563
|
}, null, 8, ["icon"]), [
|
|
2564
2564
|
[Le, "Copy Team link"]
|
|
2565
2565
|
])
|
|
@@ -2582,31 +2582,31 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2582
2582
|
key: "0"
|
|
2583
2583
|
} : void 0
|
|
2584
2584
|
]), 1032, ["subtitle"]),
|
|
2585
|
-
|
|
2586
|
-
|
|
2585
|
+
o(j),
|
|
2586
|
+
o(G, { class: "pa-2" }, {
|
|
2587
2587
|
default: s(() => [
|
|
2588
|
-
|
|
2588
|
+
o(Me, {
|
|
2589
2589
|
border: "",
|
|
2590
2590
|
rounded: "lg"
|
|
2591
2591
|
}, {
|
|
2592
2592
|
default: s(() => [
|
|
2593
|
-
|
|
2593
|
+
o(Qo, {
|
|
2594
2594
|
headers: f,
|
|
2595
2595
|
"hide-default-footer": e(a)?.members?.length < 10,
|
|
2596
2596
|
items: e(a)?.members
|
|
2597
2597
|
}, {
|
|
2598
|
-
"item.name": s(({ item:
|
|
2598
|
+
"item.name": s(({ item: w }) => [
|
|
2599
2599
|
v("div", fs, [
|
|
2600
|
-
|
|
2601
|
-
image:
|
|
2600
|
+
o(Y, {
|
|
2601
|
+
image: w.picture,
|
|
2602
2602
|
size: "x-small",
|
|
2603
2603
|
start: ""
|
|
2604
2604
|
}, null, 8, ["image"]),
|
|
2605
|
-
v("span", null, $(
|
|
2605
|
+
v("span", null, $(w.name), 1)
|
|
2606
2606
|
])
|
|
2607
2607
|
]),
|
|
2608
|
-
"item.actions": s(({ item:
|
|
2609
|
-
e(a)?.owner?.id ===
|
|
2608
|
+
"item.actions": s(({ item: w }) => [
|
|
2609
|
+
e(a)?.owner?.id === w.id ? (u(), m(I, {
|
|
2610
2610
|
key: 0,
|
|
2611
2611
|
class: "me-n3",
|
|
2612
2612
|
color: "primary",
|
|
@@ -2616,7 +2616,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2616
2616
|
slim: "",
|
|
2617
2617
|
text: "Team owner",
|
|
2618
2618
|
variant: "tonal"
|
|
2619
|
-
}, null, 8, ["prepend-icon"])) : (u(), m(
|
|
2619
|
+
}, null, 8, ["prepend-icon"])) : (u(), m(I, {
|
|
2620
2620
|
key: 1,
|
|
2621
2621
|
class: "me-n3",
|
|
2622
2622
|
color: "medium-emphasis",
|
|
@@ -2625,7 +2625,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2625
2625
|
slim: "",
|
|
2626
2626
|
text: "Revoke",
|
|
2627
2627
|
variant: "text",
|
|
2628
|
-
onClick: ($e) => e(i).removeFromTeam(
|
|
2628
|
+
onClick: ($e) => e(i).removeFromTeam(w.id)
|
|
2629
2629
|
}, null, 8, ["prepend-icon", "onClick"]))
|
|
2630
2630
|
]),
|
|
2631
2631
|
_: 1
|
|
@@ -2647,15 +2647,15 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2647
2647
|
rounded: "lg"
|
|
2648
2648
|
}, {
|
|
2649
2649
|
default: s(() => [
|
|
2650
|
-
|
|
2650
|
+
o(Fe, {
|
|
2651
2651
|
"prepend-icon": `svg:${e(ot)}`,
|
|
2652
2652
|
subtitle: "You are currently a member of a team with an All-access Pass.",
|
|
2653
2653
|
title: "My Team access"
|
|
2654
2654
|
}, {
|
|
2655
2655
|
title: s(() => [
|
|
2656
2656
|
v("div", vs, [
|
|
2657
|
-
S[4] || (S[4] =
|
|
2658
|
-
|
|
2657
|
+
S[4] || (S[4] = D(" My Team Access ", -1)),
|
|
2658
|
+
o(ne, {
|
|
2659
2659
|
border: "thin opacity-25 success",
|
|
2660
2660
|
class: "ms-2",
|
|
2661
2661
|
color: "success",
|
|
@@ -2666,12 +2666,12 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2666
2666
|
])
|
|
2667
2667
|
]),
|
|
2668
2668
|
append: s(() => [
|
|
2669
|
-
|
|
2669
|
+
o(I, {
|
|
2670
2670
|
"prepend-icon": `svg:${e(Co)}`,
|
|
2671
2671
|
rounded: "lg",
|
|
2672
2672
|
text: "Leave team",
|
|
2673
2673
|
width: "145",
|
|
2674
|
-
onClick: S[1] || (S[1] = (
|
|
2674
|
+
onClick: S[1] || (S[1] = (w) => e(i).leaveTeam())
|
|
2675
2675
|
}, null, 8, ["prepend-icon"])
|
|
2676
2676
|
]),
|
|
2677
2677
|
_: 1
|
|
@@ -2698,8 +2698,8 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2698
2698
|
__name: "VoTeamListItem",
|
|
2699
2699
|
setup(p) {
|
|
2700
2700
|
const t = A(!1);
|
|
2701
|
-
return (i,
|
|
2702
|
-
const r = _s, l =
|
|
2701
|
+
return (i, n) => {
|
|
2702
|
+
const r = _s, l = W;
|
|
2703
2703
|
return u(), m(l, {
|
|
2704
2704
|
active: e(t),
|
|
2705
2705
|
link: "",
|
|
@@ -2707,9 +2707,9 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2707
2707
|
title: "My Team"
|
|
2708
2708
|
}, {
|
|
2709
2709
|
default: s(() => [
|
|
2710
|
-
|
|
2710
|
+
o(r, {
|
|
2711
2711
|
modelValue: e(t),
|
|
2712
|
-
"onUpdate:modelValue":
|
|
2712
|
+
"onUpdate:modelValue": n[0] || (n[0] = (a) => q(t) ? t.value = a : null)
|
|
2713
2713
|
}, null, 8, ["modelValue"])
|
|
2714
2714
|
]),
|
|
2715
2715
|
_: 1
|
|
@@ -2728,12 +2728,12 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2728
2728
|
items: {}
|
|
2729
2729
|
},
|
|
2730
2730
|
setup(p) {
|
|
2731
|
-
const t = me(), i = ae(),
|
|
2731
|
+
const t = me(), i = ae(), n = U();
|
|
2732
2732
|
function r(a) {
|
|
2733
|
-
return
|
|
2733
|
+
return n.one.banners.read.includes(a);
|
|
2734
2734
|
}
|
|
2735
2735
|
function l(a) {
|
|
2736
|
-
r(a.slug) ?
|
|
2736
|
+
r(a.slug) ? n.one.banners.read = n.one.banners.read.filter((c) => c !== a.slug) : n.one.banners.read.push(a.slug);
|
|
2737
2737
|
}
|
|
2738
2738
|
return (a, c) => (u(), m(se, {
|
|
2739
2739
|
class: "py-0",
|
|
@@ -2742,12 +2742,12 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2742
2742
|
}, {
|
|
2743
2743
|
default: s(() => [
|
|
2744
2744
|
a.items.length === 0 ? (u(), V("div", ys, [
|
|
2745
|
-
|
|
2745
|
+
o(Ke, {
|
|
2746
2746
|
icon: "$vuetify",
|
|
2747
2747
|
size: "256"
|
|
2748
2748
|
}, {
|
|
2749
2749
|
media: s(() => [
|
|
2750
|
-
|
|
2750
|
+
o(C, { color: "medium-emphasis" })
|
|
2751
2751
|
]),
|
|
2752
2752
|
title: s(() => [...c[0] || (c[0] = [
|
|
2753
2753
|
v("div", { class: "text-medium-emphasis" }, " All caught up ", -1)
|
|
@@ -2759,7 +2759,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2759
2759
|
key: d.slug,
|
|
2760
2760
|
class: "mb-4"
|
|
2761
2761
|
}, [
|
|
2762
|
-
|
|
2762
|
+
o(T, {
|
|
2763
2763
|
color: d.metadata.color,
|
|
2764
2764
|
flat: "",
|
|
2765
2765
|
image: d.metadata.images.bg?.url,
|
|
@@ -2767,31 +2767,31 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2767
2767
|
title: d.title
|
|
2768
2768
|
}, {
|
|
2769
2769
|
prepend: s(() => [
|
|
2770
|
-
|
|
2770
|
+
o(Y, {
|
|
2771
2771
|
image: d.metadata.images.logo?.url
|
|
2772
2772
|
}, null, 8, ["image"])
|
|
2773
2773
|
]),
|
|
2774
2774
|
image: s(() => [
|
|
2775
|
-
|
|
2775
|
+
o(oe, { position: "right" })
|
|
2776
2776
|
]),
|
|
2777
2777
|
_: 2
|
|
2778
2778
|
}, 1032, ["color", "image", "title"]),
|
|
2779
|
-
|
|
2779
|
+
o(ke, null, {
|
|
2780
2780
|
default: s(({ props: f, isHovering: _ }) => [
|
|
2781
|
-
|
|
2781
|
+
o(Me, F({ ref_for: !0 }, f, {
|
|
2782
2782
|
border: "",
|
|
2783
2783
|
class: "px-8 pt-2 pb-4 position-relative",
|
|
2784
2784
|
rounded: "b"
|
|
2785
2785
|
}), {
|
|
2786
2786
|
default: s(() => [
|
|
2787
|
-
|
|
2787
|
+
o(R, {
|
|
2788
2788
|
location: "bottom",
|
|
2789
2789
|
text: r(d.slug) ? "Mark as unread" : "Mark as read"
|
|
2790
2790
|
}, {
|
|
2791
2791
|
activator: s(({ props: g }) => [
|
|
2792
|
-
|
|
2792
|
+
o(be, { "hide-on-leave": "" }, {
|
|
2793
2793
|
default: s(() => [
|
|
2794
|
-
ee(
|
|
2794
|
+
ee(o(I, F({ ref_for: !0 }, g, {
|
|
2795
2795
|
class: "ms-auto float-right",
|
|
2796
2796
|
icon: `svg:${r(d.slug) ? e(qe) : e(Ze)}`,
|
|
2797
2797
|
size: "small",
|
|
@@ -2809,7 +2809,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2809
2809
|
v("div", bs, $(d.metadata.text), 1),
|
|
2810
2810
|
v("div", ks, $(e(t).format(d.created_at, "fullDateWithWeekday")), 1),
|
|
2811
2811
|
v("div", Vs, $(d.metadata.subtext), 1),
|
|
2812
|
-
|
|
2812
|
+
o(ne, F({ ref_for: !0 }, {
|
|
2813
2813
|
href: d.metadata.link.startsWith("http") ? d.metadata.link : void 0,
|
|
2814
2814
|
target: d.metadata.link.startsWith("http") ? "_blank" : void 0,
|
|
2815
2815
|
to: d.metadata.link.startsWith("http") ? void 0 : d.metadata.link
|
|
@@ -2822,7 +2822,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2822
2822
|
variant: "text"
|
|
2823
2823
|
}), {
|
|
2824
2824
|
append: s(() => [
|
|
2825
|
-
|
|
2825
|
+
o(C, { size: "12" })
|
|
2826
2826
|
]),
|
|
2827
2827
|
_: 1
|
|
2828
2828
|
}, 16, ["append-icon", "text"])
|
|
@@ -2845,7 +2845,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2845
2845
|
notification: {}
|
|
2846
2846
|
},
|
|
2847
2847
|
setup(p) {
|
|
2848
|
-
const t = p, i = U(),
|
|
2848
|
+
const t = p, i = U(), n = me(), r = ae(), l = b(() => {
|
|
2849
2849
|
const d = t.notification.metadata ?? { action: "" };
|
|
2850
2850
|
return {
|
|
2851
2851
|
href: d.action.startsWith("http") ? d.action : void 0,
|
|
@@ -2864,27 +2864,27 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2864
2864
|
t.demo || (a(d.slug) ? i.one.notifications.read = i.one.notifications.read.filter((f) => f !== d.slug) : i.one.notifications.read.push(d.slug));
|
|
2865
2865
|
}
|
|
2866
2866
|
return (d, f) => {
|
|
2867
|
-
const _ =
|
|
2867
|
+
const _ = W;
|
|
2868
2868
|
return u(), m(ke, null, {
|
|
2869
2869
|
default: s(({ isHovering: g, props: k }) => [
|
|
2870
|
-
|
|
2870
|
+
o(_, F(k, { class: "py-4 mb-0" }), {
|
|
2871
2871
|
prepend: s(() => [
|
|
2872
2872
|
v("div", Cs, $(d.notification.metadata.emoji), 1)
|
|
2873
2873
|
]),
|
|
2874
2874
|
append: s(() => [
|
|
2875
|
-
|
|
2875
|
+
o(Jo, {
|
|
2876
2876
|
class: "mt-n3",
|
|
2877
2877
|
width: "56"
|
|
2878
2878
|
}, {
|
|
2879
2879
|
default: s(() => [
|
|
2880
|
-
|
|
2880
|
+
o(R, {
|
|
2881
2881
|
location: "bottom",
|
|
2882
2882
|
text: a(d.notification.slug) ? "Mark as unread" : "Mark as read"
|
|
2883
2883
|
}, {
|
|
2884
|
-
activator: s(({ props:
|
|
2885
|
-
|
|
2884
|
+
activator: s(({ props: x }) => [
|
|
2885
|
+
o(be, { "hide-on-leave": "" }, {
|
|
2886
2886
|
default: s(() => [
|
|
2887
|
-
ee(
|
|
2887
|
+
ee(o(I, F(x, {
|
|
2888
2888
|
class: "ms-auto",
|
|
2889
2889
|
icon: `svg:${a(d.notification.slug) ? e(qe) : e(Ze)}`,
|
|
2890
2890
|
"mdi-email-variant": "",
|
|
@@ -2905,15 +2905,15 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2905
2905
|
}, 1024)
|
|
2906
2906
|
]),
|
|
2907
2907
|
default: s(() => [
|
|
2908
|
-
|
|
2908
|
+
o(vt, { class: "text-wrap text-h6 mb-1" }, {
|
|
2909
2909
|
default: s(() => [
|
|
2910
2910
|
v("div", xs, $(d.notification.title), 1)
|
|
2911
2911
|
]),
|
|
2912
2912
|
_: 1
|
|
2913
2913
|
}),
|
|
2914
|
-
v("div", ws, $(e(
|
|
2914
|
+
v("div", ws, $(e(n).format(d.notification.created_at, "fullDateWithWeekday")), 1),
|
|
2915
2915
|
v("div", Ls, $(d.notification.metadata.text), 1),
|
|
2916
|
-
|
|
2916
|
+
o(ne, F({
|
|
2917
2917
|
"append-icon": `svg:${e(De)}`
|
|
2918
2918
|
}, e(l), {
|
|
2919
2919
|
border: "",
|
|
@@ -2923,7 +2923,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2923
2923
|
variant: "text"
|
|
2924
2924
|
}), {
|
|
2925
2925
|
append: s(() => [
|
|
2926
|
-
|
|
2926
|
+
o(C, { size: "12" })
|
|
2927
2927
|
]),
|
|
2928
2928
|
_: 1
|
|
2929
2929
|
}, 16, ["append-icon", "text"])
|
|
@@ -2945,7 +2945,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2945
2945
|
},
|
|
2946
2946
|
setup(p) {
|
|
2947
2947
|
return (t, i) => {
|
|
2948
|
-
const
|
|
2948
|
+
const n = Ss;
|
|
2949
2949
|
return u(), m(se, {
|
|
2950
2950
|
class: "py-0",
|
|
2951
2951
|
height: "100%",
|
|
@@ -2953,12 +2953,12 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2953
2953
|
}, {
|
|
2954
2954
|
default: s(() => [
|
|
2955
2955
|
t.items.length === 0 ? (u(), V("div", Is, [
|
|
2956
|
-
|
|
2956
|
+
o(Ke, {
|
|
2957
2957
|
icon: "$vuetify",
|
|
2958
2958
|
size: "256"
|
|
2959
2959
|
}, {
|
|
2960
2960
|
media: s(() => [
|
|
2961
|
-
|
|
2961
|
+
o(C, { color: "medium-emphasis" })
|
|
2962
2962
|
]),
|
|
2963
2963
|
title: s(() => [...i[0] || (i[0] = [
|
|
2964
2964
|
v("div", { class: "text-medium-emphasis" }, " All caught up ", -1)
|
|
@@ -2969,7 +2969,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2969
2969
|
key: r.slug
|
|
2970
2970
|
}, [
|
|
2971
2971
|
l !== 0 ? (u(), m(j, { key: 0 })) : h("", !0),
|
|
2972
|
-
n
|
|
2972
|
+
o(n, { notification: r }, null, 8, ["notification"])
|
|
2973
2973
|
], 64))), 128))
|
|
2974
2974
|
]),
|
|
2975
2975
|
_: 1
|
|
@@ -2983,7 +2983,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2983
2983
|
url: t
|
|
2984
2984
|
};
|
|
2985
2985
|
}), Pe = K("banners", () => {
|
|
2986
|
-
const p = X(), t = Dt(), i = U(),
|
|
2986
|
+
const p = X(), t = Dt(), i = U(), n = te(), r = N([]), l = A(!1), a = b(() => {
|
|
2987
2987
|
if (c.value)
|
|
2988
2988
|
return c.value;
|
|
2989
2989
|
if (i.one.banners.enabled) {
|
|
@@ -3012,7 +3012,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3012
3012
|
const f = await p.get("/one/banners");
|
|
3013
3013
|
r.value = f.banners;
|
|
3014
3014
|
} catch (f) {
|
|
3015
|
-
|
|
3015
|
+
n.showError(f?.message ?? "Error fetching banners");
|
|
3016
3016
|
} finally {
|
|
3017
3017
|
l.value = !1;
|
|
3018
3018
|
}
|
|
@@ -3033,7 +3033,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3033
3033
|
},
|
|
3034
3034
|
emits: ["update:modelValue"],
|
|
3035
3035
|
setup(p) {
|
|
3036
|
-
const t = ae(), i = ye(),
|
|
3036
|
+
const t = ae(), i = ye(), n = Pe(), r = Ue(), l = B(), a = U(), c = A(["read"]), d = Z(p, "modelValue");
|
|
3037
3037
|
function f() {
|
|
3038
3038
|
const g = r.unread.map((k) => k.slug);
|
|
3039
3039
|
a.one.notifications.read.push(...g);
|
|
@@ -3048,15 +3048,15 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3048
3048
|
}
|
|
3049
3049
|
l.isOpen = !0, await ge(), d.value = !0;
|
|
3050
3050
|
}, { immediate: !0 }), (g, k) => {
|
|
3051
|
-
const
|
|
3051
|
+
const x = W, S = Ds, z = $s, J = ce;
|
|
3052
3052
|
return u(), m(J, {
|
|
3053
3053
|
modelValue: d.value,
|
|
3054
|
-
"onUpdate:modelValue": k[2] || (k[2] = (
|
|
3054
|
+
"onUpdate:modelValue": k[2] || (k[2] = (w) => d.value = w),
|
|
3055
3055
|
"prepend-icon": `svg:${e(wo)}`,
|
|
3056
3056
|
title: "Notifications"
|
|
3057
3057
|
}, {
|
|
3058
3058
|
append: s(() => [
|
|
3059
|
-
e(c)[0] === "read" ? ee((u(), m(
|
|
3059
|
+
e(c)[0] === "read" ? ee((u(), m(I, {
|
|
3060
3060
|
key: 0,
|
|
3061
3061
|
class: "me-2",
|
|
3062
3062
|
density: "comfortable",
|
|
@@ -3068,7 +3068,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3068
3068
|
}, null, 8, ["disabled", "icon"])), [
|
|
3069
3069
|
[Le, "Mark All as Read", "start"]
|
|
3070
3070
|
]) : h("", !0),
|
|
3071
|
-
e(c)[0] === "unread" ? ee((u(), m(
|
|
3071
|
+
e(c)[0] === "unread" ? ee((u(), m(I, {
|
|
3072
3072
|
key: 1,
|
|
3073
3073
|
class: "me-2",
|
|
3074
3074
|
density: "comfortable",
|
|
@@ -3082,24 +3082,24 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3082
3082
|
]) : h("", !0)
|
|
3083
3083
|
]),
|
|
3084
3084
|
default: s(() => [
|
|
3085
|
-
|
|
3085
|
+
o(le, null, {
|
|
3086
3086
|
default: s(() => [
|
|
3087
|
-
|
|
3087
|
+
o(en, {
|
|
3088
3088
|
location: e(t).mobile.value ? "top" : "start",
|
|
3089
3089
|
permanent: "",
|
|
3090
3090
|
width: e(t).mobile.value ? 128 : 168
|
|
3091
3091
|
}, {
|
|
3092
3092
|
default: s(() => [
|
|
3093
|
-
|
|
3093
|
+
o(se, {
|
|
3094
3094
|
selected: e(c),
|
|
3095
|
-
"onUpdate:selected": k[0] || (k[0] = (
|
|
3095
|
+
"onUpdate:selected": k[0] || (k[0] = (w) => q(c) ? c.value = w : null),
|
|
3096
3096
|
class: "px-4 pt-4",
|
|
3097
3097
|
density: "compact",
|
|
3098
3098
|
mandatory: "",
|
|
3099
3099
|
nav: ""
|
|
3100
3100
|
}, {
|
|
3101
3101
|
default: s(() => [
|
|
3102
|
-
|
|
3102
|
+
o(x, {
|
|
3103
3103
|
"prepend-icon": `svg:${e(Lo)}`,
|
|
3104
3104
|
title: "Unread",
|
|
3105
3105
|
value: "read"
|
|
@@ -3112,7 +3112,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3112
3112
|
key: "0"
|
|
3113
3113
|
} : void 0
|
|
3114
3114
|
]), 1032, ["prepend-icon"]),
|
|
3115
|
-
|
|
3115
|
+
o(x, {
|
|
3116
3116
|
"prepend-icon": `svg:${e(So)}`,
|
|
3117
3117
|
title: "Read",
|
|
3118
3118
|
value: "unread"
|
|
@@ -3125,14 +3125,14 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3125
3125
|
key: "0"
|
|
3126
3126
|
} : void 0
|
|
3127
3127
|
]), 1032, ["prepend-icon"]),
|
|
3128
|
-
e(
|
|
3128
|
+
e(n).all.length > 0 && e(a).one.banners.enabled ? (u(), m(x, {
|
|
3129
3129
|
key: 0,
|
|
3130
3130
|
"prepend-icon": `svg:${e(Io)}`,
|
|
3131
3131
|
title: "Banners",
|
|
3132
3132
|
value: "banners"
|
|
3133
3133
|
}, {
|
|
3134
3134
|
append: s(() => [
|
|
3135
|
-
|
|
3135
|
+
o(We, {
|
|
3136
3136
|
dot: "",
|
|
3137
3137
|
"offset-y": "-3"
|
|
3138
3138
|
})
|
|
@@ -3145,33 +3145,33 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3145
3145
|
]),
|
|
3146
3146
|
_: 1
|
|
3147
3147
|
}, 8, ["location", "width"]),
|
|
3148
|
-
|
|
3148
|
+
o(ue, { scrollable: "" }, {
|
|
3149
3149
|
default: s(() => [
|
|
3150
|
-
|
|
3150
|
+
o(kt, {
|
|
3151
3151
|
modelValue: e(c),
|
|
3152
|
-
"onUpdate:modelValue": k[1] || (k[1] = (
|
|
3152
|
+
"onUpdate:modelValue": k[1] || (k[1] = (w) => q(c) ? c.value = w : null)
|
|
3153
3153
|
}, {
|
|
3154
3154
|
default: s(() => [
|
|
3155
|
-
|
|
3155
|
+
o(ve, { value: "read" }, {
|
|
3156
3156
|
default: s(() => [
|
|
3157
|
-
|
|
3157
|
+
o(S, {
|
|
3158
3158
|
items: e(r).unread
|
|
3159
3159
|
}, null, 8, ["items"])
|
|
3160
3160
|
]),
|
|
3161
3161
|
_: 1
|
|
3162
3162
|
}),
|
|
3163
|
-
|
|
3163
|
+
o(ve, { value: "unread" }, {
|
|
3164
3164
|
default: s(() => [
|
|
3165
|
-
|
|
3165
|
+
o(S, {
|
|
3166
3166
|
items: e(r).read
|
|
3167
3167
|
}, null, 8, ["items"])
|
|
3168
3168
|
]),
|
|
3169
3169
|
_: 1
|
|
3170
3170
|
}),
|
|
3171
|
-
|
|
3171
|
+
o(ve, { value: "banners" }, {
|
|
3172
3172
|
default: s(() => [
|
|
3173
|
-
|
|
3174
|
-
items: e(
|
|
3173
|
+
o(z, {
|
|
3174
|
+
items: e(n).all
|
|
3175
3175
|
}, null, 8, ["items"])
|
|
3176
3176
|
]),
|
|
3177
3177
|
_: 1
|
|
@@ -3194,13 +3194,13 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3194
3194
|
__name: "VoNotificationsBadge",
|
|
3195
3195
|
setup(p) {
|
|
3196
3196
|
const t = Ue(), i = U();
|
|
3197
|
-
return (
|
|
3197
|
+
return (n, r) => (u(), m(We, {
|
|
3198
3198
|
color: "error",
|
|
3199
3199
|
content: e(t).unread.length,
|
|
3200
3200
|
"model-value": e(i).one.notifications.enabled && e(t).unread.length > 0
|
|
3201
3201
|
}, {
|
|
3202
3202
|
default: s(() => [
|
|
3203
|
-
L(
|
|
3203
|
+
L(n.$slots, "default")
|
|
3204
3204
|
]),
|
|
3205
3205
|
_: 3
|
|
3206
3206
|
}, 8, ["content", "model-value"]));
|
|
@@ -3208,11 +3208,11 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3208
3208
|
}), Bs = /* @__PURE__ */ y({
|
|
3209
3209
|
__name: "VoNotificationsNavItem",
|
|
3210
3210
|
setup(p) {
|
|
3211
|
-
const t = Pe(), i = U(),
|
|
3211
|
+
const t = Pe(), i = U(), n = Ue(), r = A(!1);
|
|
3212
3212
|
return Ee(async () => {
|
|
3213
|
-
|
|
3213
|
+
n.index(), t.index();
|
|
3214
3214
|
}), (l, a) => {
|
|
3215
|
-
const c = Us, d = Ts, f =
|
|
3215
|
+
const c = Us, d = Ts, f = W;
|
|
3216
3216
|
return e(i).one.notifications.enabled ? (u(), m(f, {
|
|
3217
3217
|
key: 0,
|
|
3218
3218
|
active: e(r),
|
|
@@ -3221,19 +3221,19 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3221
3221
|
title: "Notifications"
|
|
3222
3222
|
}, P({
|
|
3223
3223
|
default: s(() => [
|
|
3224
|
-
|
|
3224
|
+
o(d, {
|
|
3225
3225
|
modelValue: e(r),
|
|
3226
|
-
"onUpdate:modelValue": a[0] || (a[0] = (_) =>
|
|
3226
|
+
"onUpdate:modelValue": a[0] || (a[0] = (_) => q(r) ? r.value = _ : null)
|
|
3227
3227
|
}, null, 8, ["modelValue"])
|
|
3228
3228
|
]),
|
|
3229
3229
|
_: 2
|
|
3230
3230
|
}, [
|
|
3231
|
-
e(
|
|
3231
|
+
e(n).unread.length > 0 ? {
|
|
3232
3232
|
name: "prepend",
|
|
3233
3233
|
fn: s(() => [
|
|
3234
|
-
|
|
3234
|
+
o(c, null, {
|
|
3235
3235
|
default: s(() => [
|
|
3236
|
-
|
|
3236
|
+
o(C)
|
|
3237
3237
|
]),
|
|
3238
3238
|
_: 1
|
|
3239
3239
|
})
|
|
@@ -3252,8 +3252,8 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3252
3252
|
t.isOpen = !1;
|
|
3253
3253
|
}, 100);
|
|
3254
3254
|
}
|
|
3255
|
-
return (
|
|
3256
|
-
const l =
|
|
3255
|
+
return (n, r) => {
|
|
3256
|
+
const l = W;
|
|
3257
3257
|
return u(), m(l, {
|
|
3258
3258
|
"prepend-icon": `svg:${e(Ao)}`,
|
|
3259
3259
|
title: "Dashboard",
|
|
@@ -3265,9 +3265,9 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3265
3265
|
}), zs = /* @__PURE__ */ y({
|
|
3266
3266
|
__name: "VoUserList",
|
|
3267
3267
|
setup(p) {
|
|
3268
|
-
const t = E(), i = B(),
|
|
3268
|
+
const t = E(), i = B(), n = Ie();
|
|
3269
3269
|
return (r, l) => {
|
|
3270
|
-
const a = Os, c = Bs, d = gs, f = ps, _ = ls, g = Xn, k = Tn,
|
|
3270
|
+
const a = Os, c = Bs, d = gs, f = ps, _ = ls, g = Xn, k = Tn, x = $n, S = vn;
|
|
3271
3271
|
return u(), m(se, {
|
|
3272
3272
|
density: "compact",
|
|
3273
3273
|
nav: "",
|
|
@@ -3275,28 +3275,28 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3275
3275
|
}, {
|
|
3276
3276
|
default: s(() => [
|
|
3277
3277
|
e(t).user ? (u(), m(a, { key: 0 })) : h("", !0),
|
|
3278
|
-
|
|
3279
|
-
e(
|
|
3278
|
+
o(c),
|
|
3279
|
+
e(n).hasTeamAccess ? (u(), m(d, { key: 1 })) : h("", !0),
|
|
3280
3280
|
e(i).shopify ? (u(), m(f, { key: 2 })) : h("", !0),
|
|
3281
|
-
|
|
3281
|
+
o(_),
|
|
3282
3282
|
e(t).user ? (u(), m(g, { key: 3 })) : h("", !0),
|
|
3283
3283
|
e(t).user?.isAdmin ? (u(), m(k, { key: 4 })) : h("", !0),
|
|
3284
|
-
|
|
3284
|
+
o(x),
|
|
3285
3285
|
e(t).user ? (u(), m(S, { key: 5 })) : h("", !0)
|
|
3286
3286
|
]),
|
|
3287
3287
|
_: 1
|
|
3288
3288
|
});
|
|
3289
3289
|
};
|
|
3290
3290
|
}
|
|
3291
|
-
}), Ps = { key: 0 }, Fs = { class: "d-flex align-center justify-center pa-1 ga-
|
|
3291
|
+
}), Ps = { key: 0 }, Fs = { class: "d-flex align-center justify-center pa-1 ga-1" }, Ns = /* @__PURE__ */ y({
|
|
3292
3292
|
__name: "VoUserQuickActions",
|
|
3293
3293
|
setup(p) {
|
|
3294
3294
|
const t = U();
|
|
3295
|
-
return (i,
|
|
3295
|
+
return (i, n) => (u(), m(pe, null, {
|
|
3296
3296
|
default: s(() => [
|
|
3297
3297
|
e(t).one.quicklinks ? (u(), V("div", Ps, [
|
|
3298
3298
|
v("div", Fs, [
|
|
3299
|
-
|
|
3299
|
+
o(I, {
|
|
3300
3300
|
class: "text-caption",
|
|
3301
3301
|
color: e(t).one.colors.primary,
|
|
3302
3302
|
density: "comfortable",
|
|
@@ -3306,8 +3306,8 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3306
3306
|
target: "_blank"
|
|
3307
3307
|
}, {
|
|
3308
3308
|
default: s(() => [
|
|
3309
|
-
|
|
3310
|
-
|
|
3309
|
+
o(C),
|
|
3310
|
+
o(R, {
|
|
3311
3311
|
activator: "parent",
|
|
3312
3312
|
location: "top",
|
|
3313
3313
|
text: "Vuetify Play"
|
|
@@ -3315,7 +3315,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3315
3315
|
]),
|
|
3316
3316
|
_: 1
|
|
3317
3317
|
}, 8, ["color"]),
|
|
3318
|
-
|
|
3318
|
+
o(I, {
|
|
3319
3319
|
class: "text-caption",
|
|
3320
3320
|
color: e(t).one.colors.primary,
|
|
3321
3321
|
density: "comfortable",
|
|
@@ -3325,8 +3325,8 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3325
3325
|
target: "_blank"
|
|
3326
3326
|
}, {
|
|
3327
3327
|
default: s(() => [
|
|
3328
|
-
|
|
3329
|
-
|
|
3328
|
+
o(C),
|
|
3329
|
+
o(R, {
|
|
3330
3330
|
activator: "parent",
|
|
3331
3331
|
location: "top",
|
|
3332
3332
|
text: "Vuetify Bin"
|
|
@@ -3334,7 +3334,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3334
3334
|
]),
|
|
3335
3335
|
_: 1
|
|
3336
3336
|
}, 8, ["color"]),
|
|
3337
|
-
|
|
3337
|
+
o(I, {
|
|
3338
3338
|
class: "text-caption",
|
|
3339
3339
|
color: e(t).one.colors.primary,
|
|
3340
3340
|
density: "comfortable",
|
|
@@ -3344,8 +3344,8 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3344
3344
|
target: "_blank"
|
|
3345
3345
|
}, {
|
|
3346
3346
|
default: s(() => [
|
|
3347
|
-
|
|
3348
|
-
|
|
3347
|
+
o(C),
|
|
3348
|
+
o(R, {
|
|
3349
3349
|
activator: "parent",
|
|
3350
3350
|
location: "top",
|
|
3351
3351
|
text: "Vuetify Studio"
|
|
@@ -3353,7 +3353,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3353
3353
|
]),
|
|
3354
3354
|
_: 1
|
|
3355
3355
|
}, 8, ["color"]),
|
|
3356
|
-
|
|
3356
|
+
o(I, {
|
|
3357
3357
|
class: "text-caption",
|
|
3358
3358
|
color: e(t).one.colors.primary,
|
|
3359
3359
|
density: "comfortable",
|
|
@@ -3363,8 +3363,8 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3363
3363
|
target: "_blank"
|
|
3364
3364
|
}, {
|
|
3365
3365
|
default: s(() => [
|
|
3366
|
-
|
|
3367
|
-
|
|
3366
|
+
o(C),
|
|
3367
|
+
o(R, {
|
|
3368
3368
|
activator: "parent",
|
|
3369
3369
|
location: "top",
|
|
3370
3370
|
text: "Vuetify Snips"
|
|
@@ -3372,7 +3372,26 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3372
3372
|
]),
|
|
3373
3373
|
_: 1
|
|
3374
3374
|
}, 8, ["color"]),
|
|
3375
|
-
|
|
3375
|
+
o(I, {
|
|
3376
|
+
class: "text-caption",
|
|
3377
|
+
color: e(t).one.colors.primary,
|
|
3378
|
+
density: "comfortable",
|
|
3379
|
+
flat: "",
|
|
3380
|
+
href: "https://link.vuetifyjs.com",
|
|
3381
|
+
icon: "$vuetify-link",
|
|
3382
|
+
target: "_blank"
|
|
3383
|
+
}, {
|
|
3384
|
+
default: s(() => [
|
|
3385
|
+
o(C),
|
|
3386
|
+
o(R, {
|
|
3387
|
+
activator: "parent",
|
|
3388
|
+
location: "top",
|
|
3389
|
+
text: "Vuetify Link"
|
|
3390
|
+
})
|
|
3391
|
+
]),
|
|
3392
|
+
_: 1
|
|
3393
|
+
}, 8, ["color"]),
|
|
3394
|
+
o(I, {
|
|
3376
3395
|
class: "text-caption",
|
|
3377
3396
|
color: e(t).one.colors.primary,
|
|
3378
3397
|
density: "comfortable",
|
|
@@ -3382,8 +3401,8 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3382
3401
|
target: "_blank"
|
|
3383
3402
|
}, {
|
|
3384
3403
|
default: s(() => [
|
|
3385
|
-
|
|
3386
|
-
|
|
3404
|
+
o(C),
|
|
3405
|
+
o(R, {
|
|
3387
3406
|
activator: "parent",
|
|
3388
3407
|
location: "top",
|
|
3389
3408
|
text: "Vuetify Issues"
|
|
@@ -3400,7 +3419,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3400
3419
|
}), js = { class: "mb-2" }, Es = { key: 0 }, Hs = { class: "d-flex ga-4 flex-wrap justify-center mb-4" }, Rs = { class: "text-h6" }, Zs = /* @__PURE__ */ y({
|
|
3401
3420
|
__name: "VoUserAvatar",
|
|
3402
3421
|
setup(p) {
|
|
3403
|
-
const t = E(), i = B(),
|
|
3422
|
+
const t = E(), i = B(), n = U(), r = A(!1), l = b(() => {
|
|
3404
3423
|
const d = [
|
|
3405
3424
|
"https://cdn.vuetifyjs.com/docs/images/avatars/dark.png",
|
|
3406
3425
|
"https://cdn.vuetifyjs.com/docs/images/avatars/blackguard.png",
|
|
@@ -3420,7 +3439,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3420
3439
|
return i.isSubscriber && d.unshift("https://cdn.vuetifyjs.com/docs/images/avatars/one.png"), t.user && d.unshift(t.user.picture), d;
|
|
3421
3440
|
});
|
|
3422
3441
|
function a(d) {
|
|
3423
|
-
|
|
3442
|
+
n.one.avatar = d;
|
|
3424
3443
|
}
|
|
3425
3444
|
function c() {
|
|
3426
3445
|
i.isSubscriber && (r.value = !r.value);
|
|
@@ -3439,11 +3458,11 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3439
3458
|
onClick: xe(c, ["prevent", "stop"])
|
|
3440
3459
|
}, {
|
|
3441
3460
|
default: s(() => [
|
|
3442
|
-
e(t).user && e(
|
|
3461
|
+
e(t).user && e(n).one.avatar ? (u(), m(oe, {
|
|
3443
3462
|
key: 0,
|
|
3444
3463
|
alt: "User avatar",
|
|
3445
|
-
src: e(
|
|
3446
|
-
}, null, 8, ["src"])) : (u(), m(
|
|
3464
|
+
src: e(n).one.avatar
|
|
3465
|
+
}, null, 8, ["src"])) : (u(), m(C, {
|
|
3447
3466
|
key: 1,
|
|
3448
3467
|
class: "mt-1",
|
|
3449
3468
|
icon: "$vuetify",
|
|
@@ -3455,25 +3474,25 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3455
3474
|
[qo, e(i).isSubscriber]
|
|
3456
3475
|
]),
|
|
3457
3476
|
v("div", js, [
|
|
3458
|
-
|
|
3477
|
+
o(pe, null, {
|
|
3459
3478
|
default: s(() => [
|
|
3460
3479
|
e(r) ? (u(), V("div", Es, [
|
|
3461
|
-
|
|
3480
|
+
o(T, {
|
|
3462
3481
|
class: "pt-6 pb-1",
|
|
3463
3482
|
flat: "",
|
|
3464
3483
|
rounded: "0"
|
|
3465
3484
|
}, {
|
|
3466
3485
|
default: s(() => [
|
|
3467
3486
|
v("div", Hs, [
|
|
3468
|
-
(u(!0), V(M, null, Q(e(l), (_, g) => (u(), m(
|
|
3487
|
+
(u(!0), V(M, null, Q(e(l), (_, g) => (u(), m(I, {
|
|
3469
3488
|
key: g,
|
|
3470
|
-
active: e(
|
|
3489
|
+
active: e(n).one.avatar === _,
|
|
3471
3490
|
icon: "",
|
|
3472
3491
|
variant: "flat",
|
|
3473
3492
|
onClick: (k) => a(_)
|
|
3474
3493
|
}, {
|
|
3475
3494
|
default: s(() => [
|
|
3476
|
-
|
|
3495
|
+
o(Y, {
|
|
3477
3496
|
eager: "",
|
|
3478
3497
|
image: _
|
|
3479
3498
|
}, null, 8, ["image"])
|
|
@@ -3495,8 +3514,8 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3495
3514
|
}), qs = /* @__PURE__ */ y({
|
|
3496
3515
|
__name: "VoUserBadges",
|
|
3497
3516
|
setup(p) {
|
|
3498
|
-
const t = E(), i = B(),
|
|
3499
|
-
return (r, l) => e(
|
|
3517
|
+
const t = E(), i = B(), n = b(() => i.github || i.discord || i.isSubscriber || t.user?.isAdmin);
|
|
3518
|
+
return (r, l) => e(n) ? (u(), m(Me, {
|
|
3500
3519
|
key: 0,
|
|
3501
3520
|
class: "align-center position-absolute ms-2 d-flex ga-2 pa-2",
|
|
3502
3521
|
color: "rgba(0,0,0,.54)",
|
|
@@ -3504,52 +3523,52 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3504
3523
|
style: { left: "0" }
|
|
3505
3524
|
}, {
|
|
3506
3525
|
default: s(() => [
|
|
3507
|
-
e(t).user?.isAdmin ? (u(), m(
|
|
3526
|
+
e(t).user?.isAdmin ? (u(), m(R, {
|
|
3508
3527
|
key: 0,
|
|
3509
3528
|
location: "bottom",
|
|
3510
3529
|
text: "Vuetify Administrator"
|
|
3511
3530
|
}, {
|
|
3512
3531
|
activator: s(({ props: a }) => [
|
|
3513
|
-
|
|
3532
|
+
o(C, F({
|
|
3514
3533
|
color: "blue",
|
|
3515
3534
|
icon: "$vuetify"
|
|
3516
3535
|
}, a, { size: "16" }), null, 16)
|
|
3517
3536
|
]),
|
|
3518
3537
|
_: 1
|
|
3519
3538
|
})) : h("", !0),
|
|
3520
|
-
e(i).isSubscriber ? (u(), m(
|
|
3539
|
+
e(i).isSubscriber ? (u(), m(R, {
|
|
3521
3540
|
key: 1,
|
|
3522
3541
|
location: "bottom",
|
|
3523
3542
|
text: "Vuetify One Subscriber"
|
|
3524
3543
|
}, {
|
|
3525
3544
|
activator: s(({ props: a }) => [
|
|
3526
|
-
|
|
3545
|
+
o(C, F({
|
|
3527
3546
|
color: "amber-darken-2",
|
|
3528
3547
|
icon: `svg:${e(Mo)}`
|
|
3529
3548
|
}, a, { size: "16" }), null, 16, ["icon"])
|
|
3530
3549
|
]),
|
|
3531
3550
|
_: 1
|
|
3532
3551
|
})) : h("", !0),
|
|
3533
|
-
e(i).github ? (u(), m(
|
|
3552
|
+
e(i).github ? (u(), m(R, {
|
|
3534
3553
|
key: 2,
|
|
3535
3554
|
location: "bottom",
|
|
3536
3555
|
text: "GitHub Sponsor"
|
|
3537
3556
|
}, {
|
|
3538
3557
|
activator: s(({ props: a }) => [
|
|
3539
|
-
|
|
3558
|
+
o(C, F({
|
|
3540
3559
|
color: "white",
|
|
3541
3560
|
icon: "$github"
|
|
3542
3561
|
}, a, { size: "16" }), null, 16)
|
|
3543
3562
|
]),
|
|
3544
3563
|
_: 1
|
|
3545
3564
|
})) : h("", !0),
|
|
3546
|
-
e(i).discord ? (u(), m(
|
|
3565
|
+
e(i).discord ? (u(), m(R, {
|
|
3547
3566
|
key: 3,
|
|
3548
3567
|
location: "bottom",
|
|
3549
3568
|
text: "Discord Subscriber"
|
|
3550
3569
|
}, {
|
|
3551
3570
|
activator: s(({ props: a }) => [
|
|
3552
|
-
|
|
3571
|
+
o(C, F({
|
|
3553
3572
|
color: "white",
|
|
3554
3573
|
icon: "$discord"
|
|
3555
3574
|
}, a, { size: "16" }), null, 16)
|
|
@@ -3566,15 +3585,15 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3566
3585
|
}, Ks = /* @__PURE__ */ y({
|
|
3567
3586
|
__name: "VoUserColors",
|
|
3568
3587
|
setup(p) {
|
|
3569
|
-
const t = E(), i = B(),
|
|
3588
|
+
const t = E(), i = B(), n = U(), r = A(!1);
|
|
3570
3589
|
function l() {
|
|
3571
|
-
|
|
3590
|
+
n.one.colors.primary = "surface-light";
|
|
3572
3591
|
}
|
|
3573
3592
|
return (a, c) => {
|
|
3574
3593
|
const d = qs, f = Ve;
|
|
3575
3594
|
return u(), V(M, null, [
|
|
3576
|
-
|
|
3577
|
-
color: e(t).user ? e(
|
|
3595
|
+
o(oe, {
|
|
3596
|
+
color: e(t).user ? e(n).one.colors.primary : "surface-light",
|
|
3578
3597
|
"content-class": "d-flex align-start justify-end pa-2",
|
|
3579
3598
|
cover: "",
|
|
3580
3599
|
flat: "",
|
|
@@ -3583,15 +3602,15 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3583
3602
|
}, {
|
|
3584
3603
|
default: s(() => [
|
|
3585
3604
|
v("div", Ws, [
|
|
3586
|
-
|
|
3587
|
-
|
|
3605
|
+
o(d),
|
|
3606
|
+
o(Eo, null, {
|
|
3588
3607
|
default: s(() => [
|
|
3589
3608
|
ee(v("div", Gs, [
|
|
3590
|
-
|
|
3609
|
+
o(f, {
|
|
3591
3610
|
class: "ms-2 me-1",
|
|
3592
3611
|
color: "inherit",
|
|
3593
3612
|
density: "comfortable",
|
|
3594
|
-
disabled: e(
|
|
3613
|
+
disabled: e(n).one.colors.primary === "surface-light",
|
|
3595
3614
|
icon: `svg:${e(To)}`,
|
|
3596
3615
|
title: "Revert to Default",
|
|
3597
3616
|
variant: "text",
|
|
@@ -3615,9 +3634,9 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3615
3634
|
onClick: c[0] || (c[0] = (_) => r.value = !e(r))
|
|
3616
3635
|
}, {
|
|
3617
3636
|
default: s(() => [
|
|
3618
|
-
|
|
3637
|
+
o(be, { "leave-absolute": "" }, {
|
|
3619
3638
|
default: s(() => [
|
|
3620
|
-
(u(), m(
|
|
3639
|
+
(u(), m(C, {
|
|
3621
3640
|
key: String(e(r))
|
|
3622
3641
|
}))
|
|
3623
3642
|
]),
|
|
@@ -3630,7 +3649,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3630
3649
|
]),
|
|
3631
3650
|
_: 1
|
|
3632
3651
|
}, 8, ["color"]),
|
|
3633
|
-
|
|
3652
|
+
o(pe, null, {
|
|
3634
3653
|
default: s(() => [
|
|
3635
3654
|
e(r) ? (u(), m(tn, {
|
|
3636
3655
|
key: 0,
|
|
@@ -3639,12 +3658,12 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3639
3658
|
"hide-canvas": "",
|
|
3640
3659
|
"hide-inputs": "",
|
|
3641
3660
|
"hide-sliders": "",
|
|
3642
|
-
"model-value": e(
|
|
3661
|
+
"model-value": e(n).one.colors.primary !== "surface-light" ? e(n).one.colors.primary : void 0,
|
|
3643
3662
|
rounded: "0",
|
|
3644
3663
|
"show-swatches": "",
|
|
3645
3664
|
"swatches-max-height": "200",
|
|
3646
3665
|
width: "278",
|
|
3647
|
-
"onUpdate:modelValue": c[1] || (c[1] = (_) => e(
|
|
3666
|
+
"onUpdate:modelValue": c[1] || (c[1] = (_) => e(n).one.colors.primary = _)
|
|
3648
3667
|
}, null, 8, ["model-value"])) : h("", !0)
|
|
3649
3668
|
]),
|
|
3650
3669
|
_: 1
|
|
@@ -3655,14 +3674,14 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3655
3674
|
}), Qs = { class: "text-center mt-n9 mb-4" }, Ys = /* @__PURE__ */ y({
|
|
3656
3675
|
__name: "VoUserMenu",
|
|
3657
3676
|
setup(p) {
|
|
3658
|
-
const t = Pe(), i = B(),
|
|
3677
|
+
const t = Pe(), i = B(), n = N();
|
|
3659
3678
|
return H(() => t.banner, async () => {
|
|
3660
|
-
await new Promise((r) => setTimeout(r, 300)), i.isOpen &&
|
|
3679
|
+
await new Promise((r) => setTimeout(r, 300)), i.isOpen && n.value?.updateLocation?.();
|
|
3661
3680
|
}, { flush: "pre" }), (r, l) => {
|
|
3662
3681
|
const a = Ks, c = Zs, d = Ns, f = zs, _ = St;
|
|
3663
3682
|
return u(), m(Qe, {
|
|
3664
3683
|
ref_key: "menu",
|
|
3665
|
-
ref:
|
|
3684
|
+
ref: n,
|
|
3666
3685
|
modelValue: e(i).isOpen,
|
|
3667
3686
|
"onUpdate:modelValue": l[0] || (l[0] = (g) => e(i).isOpen = g),
|
|
3668
3687
|
activator: "parent",
|
|
@@ -3672,21 +3691,21 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3672
3691
|
location: "bottom end"
|
|
3673
3692
|
}, {
|
|
3674
3693
|
default: s(() => [
|
|
3675
|
-
|
|
3694
|
+
o(T, {
|
|
3676
3695
|
border: "",
|
|
3677
3696
|
rounded: "lg",
|
|
3678
3697
|
width: "280"
|
|
3679
3698
|
}, {
|
|
3680
3699
|
default: s(() => [
|
|
3681
|
-
|
|
3700
|
+
o(a),
|
|
3682
3701
|
v("div", Qs, [
|
|
3683
|
-
|
|
3684
|
-
|
|
3702
|
+
o(c),
|
|
3703
|
+
o(d)
|
|
3685
3704
|
]),
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3705
|
+
o(j),
|
|
3706
|
+
o(f),
|
|
3707
|
+
o(j),
|
|
3708
|
+
o(_)
|
|
3690
3709
|
]),
|
|
3691
3710
|
_: 1
|
|
3692
3711
|
})
|
|
@@ -3699,7 +3718,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3699
3718
|
__name: "VoTeamInvite",
|
|
3700
3719
|
setup(p) {
|
|
3701
3720
|
const t = Ie(), i = b(() => t.team?.name ?? `${t.team?.owner.name}'s team`);
|
|
3702
|
-
function
|
|
3721
|
+
function n(r) {
|
|
3703
3722
|
t.clearTeamQuery(), r.value = !1;
|
|
3704
3723
|
}
|
|
3705
3724
|
return (r, l) => e(t).teamInviteDialog ? (u(), m(Ae, {
|
|
@@ -3709,39 +3728,39 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3709
3728
|
"max-width": "500"
|
|
3710
3729
|
}, {
|
|
3711
3730
|
default: s(({ isActive: a }) => [
|
|
3712
|
-
|
|
3731
|
+
o(T, {
|
|
3713
3732
|
"prepend-icon": `svg:${e(Uo)}`,
|
|
3714
3733
|
rounded: "lg",
|
|
3715
3734
|
title: "Join a Team"
|
|
3716
3735
|
}, {
|
|
3717
3736
|
append: s(() => [
|
|
3718
3737
|
v("div", Xs, [
|
|
3719
|
-
|
|
3738
|
+
o(I, {
|
|
3720
3739
|
icon: "$close",
|
|
3721
3740
|
size: "x-small",
|
|
3722
3741
|
variant: "text",
|
|
3723
|
-
onClick: (c) =>
|
|
3742
|
+
onClick: (c) => n(a)
|
|
3724
3743
|
}, null, 8, ["onClick"])
|
|
3725
3744
|
])
|
|
3726
3745
|
]),
|
|
3727
3746
|
text: s(() => [
|
|
3728
|
-
l[2] || (l[2] =
|
|
3747
|
+
l[2] || (l[2] = D(" You have been invited to join ", -1)),
|
|
3729
3748
|
v("strong", null, $(e(i)), 1),
|
|
3730
|
-
l[3] || (l[3] =
|
|
3749
|
+
l[3] || (l[3] = D("! ", -1))
|
|
3731
3750
|
]),
|
|
3732
3751
|
default: s(() => [
|
|
3733
|
-
|
|
3734
|
-
|
|
3752
|
+
o(j, { opacity: ".2" }),
|
|
3753
|
+
o(_t, { class: "bg-surface-light" }, {
|
|
3735
3754
|
default: s(() => [
|
|
3736
|
-
|
|
3755
|
+
o(I, {
|
|
3737
3756
|
disabled: e(t).isLoading,
|
|
3738
3757
|
rounded: "lg",
|
|
3739
3758
|
text: "Cancel",
|
|
3740
3759
|
variant: "plain",
|
|
3741
|
-
onClick: (c) =>
|
|
3760
|
+
onClick: (c) => n(a)
|
|
3742
3761
|
}, null, 8, ["disabled", "onClick"]),
|
|
3743
|
-
|
|
3744
|
-
|
|
3762
|
+
o(gt),
|
|
3763
|
+
o(I, {
|
|
3745
3764
|
"append-icon": "$success",
|
|
3746
3765
|
color: "success",
|
|
3747
3766
|
disabled: e(t).isLoading,
|
|
@@ -3766,15 +3785,15 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3766
3785
|
external: Boolean
|
|
3767
3786
|
},
|
|
3768
3787
|
setup(p) {
|
|
3769
|
-
const t = E(), i = B(),
|
|
3788
|
+
const t = E(), i = B(), n = U(), { lgAndUp: r } = ae(), l = b(() => i.isOpen || !t.user ? n.one.colors.primary === "surface-light" ? "primary" : n.one.colors.primary : "surface-light"), { smAndUp: a } = ae();
|
|
3770
3789
|
return (c, d) => {
|
|
3771
|
-
const f = Ys, _ = Ve, g = mn, k = Lt,
|
|
3790
|
+
const f = Ys, _ = Ve, g = mn, k = Lt, x = an;
|
|
3772
3791
|
return u(), V(M, null, [
|
|
3773
|
-
|
|
3792
|
+
o(g, {
|
|
3774
3793
|
"offset-y": e(t).user ? 5 : 0
|
|
3775
3794
|
}, {
|
|
3776
3795
|
default: s(() => [
|
|
3777
|
-
|
|
3796
|
+
o(_, F({
|
|
3778
3797
|
[`${e(r) ? "append-" : ""}icon`]: e(t).user ? void 0 : `svg:${e(nt)}`
|
|
3779
3798
|
}, {
|
|
3780
3799
|
active: "",
|
|
@@ -3790,23 +3809,23 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3790
3809
|
default: s(() => [
|
|
3791
3810
|
e(t).user ? (u(), m(Y, {
|
|
3792
3811
|
key: 0,
|
|
3793
|
-
image: e(
|
|
3812
|
+
image: e(n).one.avatar || e(t).user.picture || ""
|
|
3794
3813
|
}, null, 8, ["image"])) : (u(), V(M, { key: 1 }, [
|
|
3795
|
-
e(a) ? (u(), V("span", ea, "Login")) : (u(), m(
|
|
3814
|
+
e(a) ? (u(), V("span", ea, "Login")) : (u(), m(C, {
|
|
3796
3815
|
key: 1,
|
|
3797
3816
|
icon: `svg:${e(nt)}`
|
|
3798
3817
|
}, null, 8, ["icon"]))
|
|
3799
3818
|
], 64)),
|
|
3800
|
-
|
|
3819
|
+
o(f)
|
|
3801
3820
|
]),
|
|
3802
3821
|
_: 1
|
|
3803
3822
|
}, 16, ["border", "color", "icon", "loading", "size", "variant"])
|
|
3804
3823
|
]),
|
|
3805
3824
|
_: 1
|
|
3806
3825
|
}, 8, ["offset-y"]),
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3826
|
+
o(k),
|
|
3827
|
+
o(Js),
|
|
3828
|
+
o(x)
|
|
3810
3829
|
], 64);
|
|
3811
3830
|
};
|
|
3812
3831
|
}
|
|
@@ -3824,8 +3843,8 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3824
3843
|
},
|
|
3825
3844
|
emits: ["update:modelValue"],
|
|
3826
3845
|
setup(p) {
|
|
3827
|
-
const t =
|
|
3828
|
-
return (
|
|
3846
|
+
const t = Z(p, "modelValue"), i = rt();
|
|
3847
|
+
return (n, r) => (u(), m(Qe, {
|
|
3829
3848
|
modelValue: t.value,
|
|
3830
3849
|
"onUpdate:modelValue": r[0] || (r[0] = (l) => t.value = l),
|
|
3831
3850
|
"close-on-content-click": !1,
|
|
@@ -3833,18 +3852,18 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3833
3852
|
"min-width": 300
|
|
3834
3853
|
}, {
|
|
3835
3854
|
activator: s(({ props: l }) => [
|
|
3836
|
-
L(
|
|
3837
|
-
|
|
3855
|
+
L(n.$slots, "activator", lt(ut(l)), () => [
|
|
3856
|
+
o(I, F(l, {
|
|
3838
3857
|
icon: `svg:${e(Bo)}`,
|
|
3839
3858
|
size: "small"
|
|
3840
3859
|
}), null, 16, ["icon"])
|
|
3841
3860
|
])
|
|
3842
3861
|
]),
|
|
3843
3862
|
default: s(() => [
|
|
3844
|
-
|
|
3863
|
+
o(T, { class: "pa-4" }, {
|
|
3845
3864
|
default: s(() => [
|
|
3846
3865
|
i.prepend ? (u(), V("div", ta, [
|
|
3847
|
-
L(
|
|
3866
|
+
L(n.$slots, "prepend")
|
|
3848
3867
|
])) : h("", !0),
|
|
3849
3868
|
i.title ? (u(), V(M, { key: 1 }, [
|
|
3850
3869
|
i.prepend ? (u(), m(j, {
|
|
@@ -3852,17 +3871,17 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3852
3871
|
class: "mb-3"
|
|
3853
3872
|
})) : h("", !0),
|
|
3854
3873
|
v("div", oa, [
|
|
3855
|
-
L(
|
|
3874
|
+
L(n.$slots, "title")
|
|
3856
3875
|
])
|
|
3857
3876
|
], 64)) : h("", !0),
|
|
3858
|
-
i.default ? L(
|
|
3877
|
+
i.default ? L(n.$slots, "default", { key: 2 }) : h("", !0),
|
|
3859
3878
|
i.extension ? (u(), V("div", na, [
|
|
3860
|
-
L(
|
|
3879
|
+
L(n.$slots, "extension")
|
|
3861
3880
|
])) : h("", !0),
|
|
3862
3881
|
i.append ? (u(), V(M, { key: 4 }, [
|
|
3863
|
-
|
|
3882
|
+
o(j, { class: "my-3" }),
|
|
3864
3883
|
v("div", sa, [
|
|
3865
|
-
L(
|
|
3884
|
+
L(n.$slots, "append")
|
|
3866
3885
|
])
|
|
3867
3886
|
], 64)) : h("", !0)
|
|
3868
3887
|
]),
|
|
@@ -3883,21 +3902,21 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3883
3902
|
}),
|
|
3884
3903
|
emits: ["update:mobileMenu"],
|
|
3885
3904
|
setup(p) {
|
|
3886
|
-
const t = p, i =
|
|
3905
|
+
const t = p, i = Z(p, "mobileMenu"), n = rt(), r = Te(), l = Be(), { mobile: a } = ae(), c = b(() => t.responsive == !0 && a.value), d = b(() => `https://cdn.vuetifyjs.com/docs/images/one/logos/${t.logo}-logo-${r.current.value.dark ? "dark" : "light"}.png`);
|
|
3887
3906
|
return (f, _) => {
|
|
3888
|
-
const g = it("router-link"), k = aa,
|
|
3907
|
+
const g = it("router-link"), k = aa, x = At;
|
|
3889
3908
|
return u(), m(Vt, {
|
|
3890
3909
|
class: "border-b",
|
|
3891
3910
|
image: e(l).suit["app-bar"],
|
|
3892
3911
|
name: "vo-app-bar"
|
|
3893
3912
|
}, P({
|
|
3894
3913
|
prepend: s(() => [
|
|
3895
|
-
|
|
3914
|
+
o(g, {
|
|
3896
3915
|
class: "ps-2",
|
|
3897
3916
|
to: "/"
|
|
3898
3917
|
}, {
|
|
3899
3918
|
default: s(() => [
|
|
3900
|
-
|
|
3919
|
+
o(oe, {
|
|
3901
3920
|
src: e(d),
|
|
3902
3921
|
width: "128"
|
|
3903
3922
|
}, null, 8, ["src"])
|
|
@@ -3919,34 +3938,34 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3919
3938
|
]),
|
|
3920
3939
|
_: 2
|
|
3921
3940
|
}, [
|
|
3922
|
-
Q(
|
|
3941
|
+
Q(n, (S, z) => ({
|
|
3923
3942
|
name: z,
|
|
3924
3943
|
fn: s(() => [
|
|
3925
3944
|
L(f.$slots, z)
|
|
3926
3945
|
])
|
|
3927
3946
|
}))
|
|
3928
3947
|
]), 1032, ["modelValue"])) : L(f.$slots, "append", { key: 1 }),
|
|
3929
|
-
"append" in
|
|
3948
|
+
"append" in n || "append-fixed" in n ? (u(), m(j, {
|
|
3930
3949
|
key: 2,
|
|
3931
3950
|
class: "align-self-center h-100 mx-2 mx-sm-4",
|
|
3932
3951
|
length: "20",
|
|
3933
3952
|
vertical: ""
|
|
3934
3953
|
})) : h("", !0),
|
|
3935
|
-
|
|
3954
|
+
o(x)
|
|
3936
3955
|
]),
|
|
3937
3956
|
default: s(() => [
|
|
3938
3957
|
e(c) ? h("", !0) : L(f.$slots, "default", { key: 0 })
|
|
3939
3958
|
]),
|
|
3940
3959
|
_: 2
|
|
3941
3960
|
}, [
|
|
3942
|
-
!e(c) &&
|
|
3961
|
+
!e(c) && n.title ? {
|
|
3943
3962
|
name: "title",
|
|
3944
3963
|
fn: s(() => [
|
|
3945
3964
|
L(f.$slots, "title")
|
|
3946
3965
|
]),
|
|
3947
3966
|
key: "0"
|
|
3948
3967
|
} : void 0,
|
|
3949
|
-
!e(c) &&
|
|
3968
|
+
!e(c) && n.extension ? {
|
|
3950
3969
|
name: "extension",
|
|
3951
3970
|
fn: s(() => [
|
|
3952
3971
|
L(f.$slots, "extension")
|
|
@@ -3974,10 +3993,10 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3974
3993
|
},
|
|
3975
3994
|
emits: ["script:error", "script:load"],
|
|
3976
3995
|
setup(p, { emit: t }) {
|
|
3977
|
-
const i = p,
|
|
3996
|
+
const i = p, n = t, r = N(), l = N();
|
|
3978
3997
|
return He(async () => {
|
|
3979
|
-
const a = document.createElement("script"), c = () =>
|
|
3980
|
-
a.type = "text/javascript", a.id = i.scriptId, a.src = i.src, a.addEventListener("load", () =>
|
|
3998
|
+
const a = document.createElement("script"), c = () => n("script:error");
|
|
3999
|
+
a.type = "text/javascript", a.id = i.scriptId, a.src = i.src, a.addEventListener("load", () => n("script:load")), a.onerror = c, l.value = a;
|
|
3981
4000
|
}), Ee(() => {
|
|
3982
4001
|
l.value && r.value && r.value.append(l.value);
|
|
3983
4002
|
}), Ft(() => {
|
|
@@ -4017,8 +4036,8 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4017
4036
|
}
|
|
4018
4037
|
}), Xe = (p, t) => {
|
|
4019
4038
|
const i = p.__vccOpts || p;
|
|
4020
|
-
for (const [
|
|
4021
|
-
i[
|
|
4039
|
+
for (const [n, r] of t)
|
|
4040
|
+
i[n] = r;
|
|
4022
4041
|
return i;
|
|
4023
4042
|
}, Mt = /* @__PURE__ */ Xe(ca, [["__scopeId", "data-v-31335c0a"]]), da = ["href", "title"], pa = {
|
|
4024
4043
|
class: "text-caption text-disabled",
|
|
@@ -4058,7 +4077,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4058
4077
|
href: "https://reddit.com/r/vuetifyjs"
|
|
4059
4078
|
}
|
|
4060
4079
|
];
|
|
4061
|
-
return (
|
|
4080
|
+
return (n, r) => {
|
|
4062
4081
|
const l = Mt;
|
|
4063
4082
|
return u(), m(l, {
|
|
4064
4083
|
class: "vo-footer",
|
|
@@ -4074,22 +4093,22 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4074
4093
|
target: "_blank",
|
|
4075
4094
|
title: a.title
|
|
4076
4095
|
}, [
|
|
4077
|
-
|
|
4096
|
+
o(C, {
|
|
4078
4097
|
icon: a.icon,
|
|
4079
4098
|
size: a.icon === "$vuetify" ? 24 : 16
|
|
4080
4099
|
}, null, 8, ["icon", "size"])
|
|
4081
4100
|
], 8, da)), 64)),
|
|
4082
4101
|
v("div", pa, [
|
|
4083
|
-
|
|
4102
|
+
D(" © 2016-" + $((/* @__PURE__ */ new Date()).getFullYear()) + " ", 1),
|
|
4084
4103
|
r[0] || (r[0] = v("span", { class: "d-none d-sm-inline-block" }, "Vuetify, LLC", -1))
|
|
4085
4104
|
])
|
|
4086
4105
|
]),
|
|
4087
4106
|
_: 2
|
|
4088
4107
|
}, [
|
|
4089
|
-
|
|
4108
|
+
n.$slots.image ? {
|
|
4090
4109
|
name: "image",
|
|
4091
4110
|
fn: s(() => [
|
|
4092
|
-
L(
|
|
4111
|
+
L(n.$slots, "image", {}, void 0, !0)
|
|
4093
4112
|
]),
|
|
4094
4113
|
key: "0"
|
|
4095
4114
|
} : void 0
|
|
@@ -4102,34 +4121,34 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4102
4121
|
demo: { type: Boolean }
|
|
4103
4122
|
},
|
|
4104
4123
|
setup(p) {
|
|
4105
|
-
Nt((
|
|
4124
|
+
Nt((x) => ({
|
|
4106
4125
|
"3ce3c21e": e(a)?.metadata.bg_blur
|
|
4107
4126
|
}));
|
|
4108
|
-
const t = p, { mdAndUp: i } = ae(),
|
|
4127
|
+
const t = p, { mdAndUp: i } = ae(), n = nn(), r = U(), l = Pe(), a = b(() => l.banner), c = b(() => a.value?.metadata.height || (a.value?.metadata.subtext ? 88 : 48)), d = b(() => t.demo ? !0 : !!a.value && !r.one.banners.read.includes(a.value.slug));
|
|
4109
4128
|
function f() {
|
|
4110
4129
|
t.demo || a.value && (r.one.banners.read.push(a.value.slug), r.one.banners.last = (/* @__PURE__ */ new Date()).toISOString());
|
|
4111
4130
|
}
|
|
4112
|
-
async function _(
|
|
4131
|
+
async function _(x) {
|
|
4113
4132
|
if (!a.value) return;
|
|
4114
4133
|
r.one.banners.last = (/* @__PURE__ */ new Date()).toISOString();
|
|
4115
4134
|
const S = a.value?.metadata ?? { link: "" };
|
|
4116
4135
|
if (!S.link.includes("?one=")) return;
|
|
4117
|
-
|
|
4136
|
+
x.preventDefault(), x.stopPropagation();
|
|
4118
4137
|
const z = S.link.split("?one=")[1];
|
|
4119
|
-
|
|
4138
|
+
n.push({ query: { one: z } });
|
|
4120
4139
|
}
|
|
4121
4140
|
const g = b(() => {
|
|
4122
|
-
const
|
|
4141
|
+
const x = a.value?.metadata ?? { link: "" };
|
|
4123
4142
|
return {
|
|
4124
|
-
href:
|
|
4125
|
-
target:
|
|
4126
|
-
to:
|
|
4143
|
+
href: x.link.startsWith("http") ? x.link : void 0,
|
|
4144
|
+
target: x.link.startsWith("http") ? "_blank" : void 0,
|
|
4145
|
+
to: x.link.startsWith("http") ? void 0 : x.link,
|
|
4127
4146
|
...a.value?.metadata.attributes
|
|
4128
4147
|
};
|
|
4129
4148
|
}), k = b(() => {
|
|
4130
|
-
const
|
|
4131
|
-
if (!
|
|
4132
|
-
const S = new URL(
|
|
4149
|
+
const x = a.value?.metadata.images.bg?.url;
|
|
4150
|
+
if (!x?.startsWith("https://cdn.cosmicjs.com/")) return x;
|
|
4151
|
+
const S = new URL(x);
|
|
4133
4152
|
return S.host = "imgix.cosmicjs.com", S.search = new URLSearchParams({
|
|
4134
4153
|
auto: "format,compress",
|
|
4135
4154
|
q: "10",
|
|
@@ -4138,19 +4157,19 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4138
4157
|
h: "256"
|
|
4139
4158
|
}).toString(), S.toString();
|
|
4140
4159
|
});
|
|
4141
|
-
return (
|
|
4160
|
+
return (x, S) => e(a) ? (u(), m(Vt, {
|
|
4142
4161
|
key: 0,
|
|
4143
4162
|
class: "vo-notifications-banner",
|
|
4144
4163
|
color: e(a).metadata.color,
|
|
4145
4164
|
flat: "",
|
|
4146
4165
|
height: e(c),
|
|
4147
4166
|
image: e(k),
|
|
4148
|
-
location:
|
|
4167
|
+
location: x.demo ? "bottom" : void 0,
|
|
4149
4168
|
"model-value": e(d),
|
|
4150
4169
|
order: "-1"
|
|
4151
4170
|
}, {
|
|
4152
4171
|
default: s(() => [
|
|
4153
|
-
|
|
4172
|
+
o(de, F({
|
|
4154
4173
|
active: !1,
|
|
4155
4174
|
class: "flex-grow-1 py-6",
|
|
4156
4175
|
lines: "two"
|
|
@@ -4167,7 +4186,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4167
4186
|
append: s(() => [
|
|
4168
4187
|
e(i) && e(a).metadata.link && e(a).metadata.link_text ? (u(), m(ke, { key: 0 }, {
|
|
4169
4188
|
default: s(({ isHovering: z, props: J }) => [
|
|
4170
|
-
|
|
4189
|
+
o(I, F({
|
|
4171
4190
|
"append-icon": `svg:${e(De)}`,
|
|
4172
4191
|
class: "text-none me-2",
|
|
4173
4192
|
color: e(a).metadata.link_color,
|
|
@@ -4181,14 +4200,14 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4181
4200
|
onClick: xe(_, ["stop"])
|
|
4182
4201
|
}), {
|
|
4183
4202
|
default: s(() => [
|
|
4184
|
-
|
|
4203
|
+
D($(e(a).metadata.link_text), 1)
|
|
4185
4204
|
]),
|
|
4186
4205
|
_: 1
|
|
4187
4206
|
}, 16, ["append-icon", "color", "elevation", "title"])
|
|
4188
4207
|
]),
|
|
4189
4208
|
_: 1
|
|
4190
4209
|
})) : h("", !0),
|
|
4191
|
-
e(a).metadata.closable ? (u(), m(
|
|
4210
|
+
e(a).metadata.closable ? (u(), m(I, {
|
|
4192
4211
|
key: 1,
|
|
4193
4212
|
class: "ms-6 me-2",
|
|
4194
4213
|
density: "comfortable",
|
|
@@ -4204,13 +4223,13 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4204
4223
|
class: "text-subtitle-2 text-md-subtitle-1 font-weight-medium"
|
|
4205
4224
|
}, {
|
|
4206
4225
|
default: s(() => [
|
|
4207
|
-
|
|
4226
|
+
D($(e(a).metadata.text), 1)
|
|
4208
4227
|
]),
|
|
4209
4228
|
_: 1
|
|
4210
4229
|
})) : h("", !0),
|
|
4211
4230
|
e(a).metadata.subtext ? (u(), m(Po, { key: 1 }, {
|
|
4212
4231
|
default: s(() => [
|
|
4213
|
-
|
|
4232
|
+
D($(e(a).metadata.subtext), 1)
|
|
4214
4233
|
]),
|
|
4215
4234
|
_: 1
|
|
4216
4235
|
})) : h("", !0)
|
|
@@ -4241,7 +4260,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4241
4260
|
target: "_blank"
|
|
4242
4261
|
}, P({
|
|
4243
4262
|
default: s(() => [
|
|
4244
|
-
|
|
4263
|
+
o(sn, {
|
|
4245
4264
|
"min-height": t.minHeight,
|
|
4246
4265
|
width: "100%"
|
|
4247
4266
|
}, {
|
|
@@ -4271,7 +4290,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4271
4290
|
]), 1024));
|
|
4272
4291
|
}
|
|
4273
4292
|
}), Je = K("promotions", () => {
|
|
4274
|
-
const p = X(), t = te(), i = N([]),
|
|
4293
|
+
const p = X(), t = te(), i = N([]), n = A(!1), r = A(!1), l = b(() => i.value.filter((d) => d.metadata.discoverable));
|
|
4275
4294
|
He(c);
|
|
4276
4295
|
function a(d) {
|
|
4277
4296
|
const f = d.filter((_) => _.metadata.active);
|
|
@@ -4279,19 +4298,19 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4279
4298
|
}
|
|
4280
4299
|
async function c() {
|
|
4281
4300
|
try {
|
|
4282
|
-
|
|
4301
|
+
n.value = !0;
|
|
4283
4302
|
const d = await p.get("/one/promotions");
|
|
4284
4303
|
i.value = d.promotions;
|
|
4285
4304
|
} catch (d) {
|
|
4286
4305
|
t.showError(d?.message ?? "Error fetching promotions");
|
|
4287
4306
|
} finally {
|
|
4288
|
-
|
|
4307
|
+
n.value = !1, r.value = !0;
|
|
4289
4308
|
}
|
|
4290
4309
|
return i.value;
|
|
4291
4310
|
}
|
|
4292
4311
|
return {
|
|
4293
4312
|
all: i,
|
|
4294
|
-
isLoading:
|
|
4313
|
+
isLoading: n,
|
|
4295
4314
|
hasLoaded: r,
|
|
4296
4315
|
discoverable: l,
|
|
4297
4316
|
index: c,
|
|
@@ -4303,9 +4322,9 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4303
4322
|
slug: {}
|
|
4304
4323
|
},
|
|
4305
4324
|
setup(p) {
|
|
4306
|
-
const t = p, i = E(),
|
|
4325
|
+
const t = p, i = E(), n = Je(), r = Te(), l = U(), a = b(() => {
|
|
4307
4326
|
if (!(i.user && !l.one.ads.enabled))
|
|
4308
|
-
return t.slug ?
|
|
4327
|
+
return t.slug ? n.all.find((f) => f.slug === t.slug) : n.random(n.all);
|
|
4309
4328
|
}), c = b(() => {
|
|
4310
4329
|
const f = r.current.value.dark ? "logodark" : "logolight";
|
|
4311
4330
|
return a.value?.metadata.images[f]?.url;
|
|
@@ -4315,7 +4334,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4315
4334
|
});
|
|
4316
4335
|
return (f, _) => {
|
|
4317
4336
|
const g = Tt;
|
|
4318
|
-
return e(a) || !e(
|
|
4337
|
+
return e(a) || !e(n).hasLoaded ? (u(), m(g, {
|
|
4319
4338
|
key: 0,
|
|
4320
4339
|
class: "vo-promotions-card-highlight",
|
|
4321
4340
|
color: e(a)?.metadata.color ?? "surface",
|
|
@@ -4328,7 +4347,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4328
4347
|
width: "100%"
|
|
4329
4348
|
}, P({
|
|
4330
4349
|
default: s(() => [
|
|
4331
|
-
e(
|
|
4350
|
+
e(n).hasLoaded ? h("", !0) : (u(), m(_e, {
|
|
4332
4351
|
key: 0,
|
|
4333
4352
|
class: "flex-1-0 overflow-hidden",
|
|
4334
4353
|
color: "transparent",
|
|
@@ -4342,7 +4361,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4342
4361
|
e(a) ? {
|
|
4343
4362
|
name: "prepend",
|
|
4344
4363
|
fn: s(() => [
|
|
4345
|
-
|
|
4364
|
+
o(Y, {
|
|
4346
4365
|
class: "my-n4 me-4",
|
|
4347
4366
|
icon: "$vuetify",
|
|
4348
4367
|
size: "36"
|
|
@@ -4353,7 +4372,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4353
4372
|
e(a) ? {
|
|
4354
4373
|
name: "image",
|
|
4355
4374
|
fn: s(() => [
|
|
4356
|
-
|
|
4375
|
+
o(oe, { position: "right" })
|
|
4357
4376
|
]),
|
|
4358
4377
|
key: "1"
|
|
4359
4378
|
} : void 0
|
|
@@ -4366,13 +4385,13 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4366
4385
|
slug: {}
|
|
4367
4386
|
},
|
|
4368
4387
|
setup(p) {
|
|
4369
|
-
const t = p, i = E(),
|
|
4388
|
+
const t = p, i = E(), n = Je(), r = U(), l = b(() => {
|
|
4370
4389
|
if (!(i.user && !r.one.ads.enabled && !r.one.ads.house))
|
|
4371
|
-
return t.slug ?
|
|
4390
|
+
return t.slug ? n.all.find((a) => a.slug === t.slug) : n.random(!r.one.ads.enabled && r.one.ads.house ? n.discoverable : n.all);
|
|
4372
4391
|
});
|
|
4373
4392
|
return (a, c) => {
|
|
4374
4393
|
const d = Tt;
|
|
4375
|
-
return e(l) || !e(
|
|
4394
|
+
return e(l) || !e(n).hasLoaded ? (u(), m(d, {
|
|
4376
4395
|
key: 0,
|
|
4377
4396
|
border: "",
|
|
4378
4397
|
caption: "ads via vuetify",
|
|
@@ -4382,8 +4401,8 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4382
4401
|
}, {
|
|
4383
4402
|
default: s(() => [
|
|
4384
4403
|
v("div", ha, [
|
|
4385
|
-
e(
|
|
4386
|
-
|
|
4404
|
+
e(n).hasLoaded ? e(l) ? (u(), V(M, { key: 1 }, [
|
|
4405
|
+
o(oe, {
|
|
4387
4406
|
cover: "",
|
|
4388
4407
|
height: "100",
|
|
4389
4408
|
"max-width": "130",
|
|
@@ -4396,7 +4415,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4396
4415
|
v("div", ka, $(e(l).metadata?.text), 1)
|
|
4397
4416
|
])
|
|
4398
4417
|
], 64)) : h("", !0) : (u(), V(M, { key: 0 }, [
|
|
4399
|
-
|
|
4418
|
+
o(_e, {
|
|
4400
4419
|
class: "flex-1-0 overflow-hidden",
|
|
4401
4420
|
color: "transparent",
|
|
4402
4421
|
loading: "",
|
|
@@ -4404,7 +4423,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4404
4423
|
"min-width": "130",
|
|
4405
4424
|
type: "image"
|
|
4406
4425
|
}),
|
|
4407
|
-
|
|
4426
|
+
o(_e, {
|
|
4408
4427
|
class: "flex-1-0 ms-n3 mt-n3",
|
|
4409
4428
|
color: "transparent",
|
|
4410
4429
|
loading: "",
|
|
@@ -4424,9 +4443,9 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4424
4443
|
slug: {}
|
|
4425
4444
|
},
|
|
4426
4445
|
setup(p) {
|
|
4427
|
-
const t = p, i = E(),
|
|
4446
|
+
const t = p, i = E(), n = Je(), r = U(), l = Te(), a = b(() => {
|
|
4428
4447
|
if (!(i.user && !r.one.ads.enabled))
|
|
4429
|
-
return t.slug ?
|
|
4448
|
+
return t.slug ? n.all.find((f) => f.slug === t.slug) : n.random(n.all);
|
|
4430
4449
|
}), c = b(() => {
|
|
4431
4450
|
const f = l.current.value.dark ? "logodark" : "logolight";
|
|
4432
4451
|
return a.value?.metadata.images[f]?.url;
|
|
@@ -4449,7 +4468,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4449
4468
|
style: { color: "inherit" },
|
|
4450
4469
|
target: "_blank"
|
|
4451
4470
|
}, [
|
|
4452
|
-
|
|
4471
|
+
o(Y, {
|
|
4453
4472
|
class: "me-4",
|
|
4454
4473
|
icon: "$vuetify",
|
|
4455
4474
|
image: e(c),
|
|
@@ -4471,7 +4490,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4471
4490
|
};
|
|
4472
4491
|
}
|
|
4473
4492
|
}), xa = K("spots", () => {
|
|
4474
|
-
const p = X(), t = Dt(), i = te(),
|
|
4493
|
+
const p = X(), t = Dt(), i = te(), n = N([]), r = A(!1), l = b(() => n.value.find(({
|
|
4475
4494
|
metadata: {
|
|
4476
4495
|
site: c,
|
|
4477
4496
|
active: d
|
|
@@ -4481,16 +4500,16 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4481
4500
|
try {
|
|
4482
4501
|
r.value = !0;
|
|
4483
4502
|
const c = await p.get("/one/spots");
|
|
4484
|
-
|
|
4503
|
+
n.value = c.spots;
|
|
4485
4504
|
} catch (c) {
|
|
4486
4505
|
i.showError(c?.message ?? "Error fetching spots");
|
|
4487
4506
|
} finally {
|
|
4488
4507
|
r.value = !1;
|
|
4489
4508
|
}
|
|
4490
|
-
return
|
|
4509
|
+
return n.value;
|
|
4491
4510
|
}
|
|
4492
4511
|
return {
|
|
4493
|
-
all:
|
|
4512
|
+
all: n,
|
|
4494
4513
|
isLoading: r,
|
|
4495
4514
|
spot: l,
|
|
4496
4515
|
index: a
|
|
@@ -4499,13 +4518,13 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4499
4518
|
__name: "VoSpot",
|
|
4500
4519
|
setup(p) {
|
|
4501
4520
|
const t = xa();
|
|
4502
|
-
return (i,
|
|
4521
|
+
return (i, n) => e(t).spot ? (u(), V("a", {
|
|
4503
4522
|
key: 0,
|
|
4504
4523
|
href: e(t).spot.metadata.href,
|
|
4505
4524
|
rel: "noopener noreferrer sponsored",
|
|
4506
4525
|
target: "_blank"
|
|
4507
4526
|
}, [
|
|
4508
|
-
|
|
4527
|
+
o(oe, {
|
|
4509
4528
|
class: "mx-auto",
|
|
4510
4529
|
color: e(t).spot.metadata.image ? void 0 : "surface",
|
|
4511
4530
|
rounded: "",
|
|
@@ -4545,33 +4564,37 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4545
4564
|
["M3.08175 16.4865C1.45983 17.9295 1.71879 20.3898 3.47701 21.5202C4.9013 22.4311 6.95255 21.9923 7.96114 20.6491L11.0619 16.5264C11.4094 16.0676 12.0705 15.9679 12.5407 16.307L20.2891 6.01368C21.4885 4.41781 21.1341 2.1703 19.4986 1L9.57624 14.1725L9.72616 14.2789C10.1964 14.6181 10.2986 15.263 9.95105 15.7152L8.34958 17.843C8.0838 17.0717 7.52499 16.3935 6.67996 15.9878C5.501 15.4226 4.04945 15.6221 3.08175 16.4865ZM3.64738 17.6967C4.3016 16.8257 5.55552 16.6395 6.44825 17.2778C7.34099 17.9162 7.5318 19.1397 6.87759 20.0107C6.22337 20.8818 4.96944 21.068 4.07671 20.4297C3.18397 19.7913 2.99316 18.5678 3.64738 17.6967Z", 1]
|
|
4546
4565
|
],
|
|
4547
4566
|
"vuetify-link": [
|
|
4548
|
-
["M14.615 3.68558C15.796 1.29003 18.7478 0.258299 21.2029 1.38284C23.6579 2.50752 24.6923 5.36589 23.5115 7.76175L21.4021 12.0293L21.3992 12.0342L21.407 12.0381L20.1492 14.5967C18.97 16.994 16.0205 18.0256 13.5671 16.8994C11.1137 15.7733 10.0794 12.9122 11.2585 10.5147L13.3621 6.24612L13.3542 6.24319L14.615 3.68558ZM19.9958 3.83109C18.9204 3.33853 17.6274 3.79134 17.1101 4.84085L15.8542 7.38773L15.6462 7.29202L15.8621 7.39163L13.7605 11.6524C13.2441 12.7025 13.6975 13.9558 14.7722 14.4492C14.7866 14.4558 14.8017 14.4606 14.8162 14.4668L14.8181 14.4659C15.882 14.917 17.1391 14.4627 17.6472 13.4317L18.9021 10.8838L21.0076 6.62601C21.5248 5.57646 21.0713 4.3237 19.9958 3.83109Z"],
|
|
4549
|
-
["M7.31348 7.61203C9.57781 6.03521 12.7005 6.58783 14.2822 8.84543L17.6572 13.6648C19.236 15.9183 18.6865 19.0234 16.4326 20.6032L16.4365 20.6091C14.1722 22.1861 11.0494 21.6334 9.46777 19.3757L6.0918 14.5564C4.5133 12.3028 5.06245 9.19664 7.31641 7.61691L7.31348 7.61203ZM11.9824 10.4607C11.2926 9.47581 9.93327 9.23081 8.94238 9.91086L8.94531 9.91574C7.95345 10.6064 7.71067 11.9706 8.40332 12.9597L11.7666 17.7614C12.4564 18.746 13.8149 18.9889 14.8057 18.3093L14.8037 18.3054C15.7957 17.6146 16.0385 16.2505 15.3457 15.2614L11.9824 10.4607Z"],
|
|
4550
|
-
["M2.00562 1.47452C4.22362 -0.166901 7.36143 0.296244 9.00757 2.50772L12.5203 7.22745C14.1633 9.43489 13.7033 12.5544 11.4958 14.1982L11.4998 14.204C9.2818 15.8454 6.14496 15.3823 4.49878 13.1708L0.985107 8.45108C-0.657884 6.24372 -0.198733 3.12323 2.00854 1.4794L2.00562 1.47452ZM6.75562 4.18741C6.0375 3.22266 4.67181 3.01814 3.70093 3.72647L3.70386 3.73038C2.73225 4.44941 2.52862 5.82027 3.24976 6.78897L6.75073 11.4911C7.46878 12.4556 8.83361 12.6604 9.80444 11.9521L9.80151 11.9482C10.7731 11.2292 10.9766 9.85922 10.2556 8.89053L6.75562 4.18741Z"]
|
|
4567
|
+
["M14.615 3.68558C15.796 1.29003 18.7478 0.258299 21.2029 1.38284C23.6579 2.50752 24.6923 5.36589 23.5115 7.76175L21.4021 12.0293L21.3992 12.0342L21.407 12.0381L20.1492 14.5967C18.97 16.994 16.0205 18.0256 13.5671 16.8994C11.1137 15.7733 10.0794 12.9122 11.2585 10.5147L13.3621 6.24612L13.3542 6.24319L14.615 3.68558ZM19.9958 3.83109C18.9204 3.33853 17.6274 3.79134 17.1101 4.84085L15.8542 7.38773L15.6462 7.29202L15.8621 7.39163L13.7605 11.6524C13.2441 12.7025 13.6975 13.9558 14.7722 14.4492C14.7866 14.4558 14.8017 14.4606 14.8162 14.4668L14.8181 14.4659C15.882 14.917 17.1391 14.4627 17.6472 13.4317L18.9021 10.8838L21.0076 6.62601C21.5248 5.57646 21.0713 4.3237 19.9958 3.83109Z", 0.4],
|
|
4568
|
+
["M7.31348 7.61203C9.57781 6.03521 12.7005 6.58783 14.2822 8.84543L17.6572 13.6648C19.236 15.9183 18.6865 19.0234 16.4326 20.6032L16.4365 20.6091C14.1722 22.1861 11.0494 21.6334 9.46777 19.3757L6.0918 14.5564C4.5133 12.3028 5.06245 9.19664 7.31641 7.61691L7.31348 7.61203ZM11.9824 10.4607C11.2926 9.47581 9.93327 9.23081 8.94238 9.91086L8.94531 9.91574C7.95345 10.6064 7.71067 11.9706 8.40332 12.9597L11.7666 17.7614C12.4564 18.746 13.8149 18.9889 14.8057 18.3093L14.8037 18.3054C15.7957 17.6146 16.0385 16.2505 15.3457 15.2614L11.9824 10.4607Z", 1],
|
|
4569
|
+
["M2.00562 1.47452C4.22362 -0.166901 7.36143 0.296244 9.00757 2.50772L12.5203 7.22745C14.1633 9.43489 13.7033 12.5544 11.4958 14.1982L11.4998 14.204C9.2818 15.8454 6.14496 15.3823 4.49878 13.1708L0.985107 8.45108C-0.657884 6.24372 -0.198733 3.12323 2.00854 1.4794L2.00562 1.47452ZM6.75562 4.18741C6.0375 3.22266 4.67181 3.01814 3.70093 3.72647L3.70386 3.73038C2.73225 4.44941 2.52862 5.82027 3.24976 6.78897L6.75073 11.4911C7.46878 12.4556 8.83361 12.6604 9.80444 11.9521L9.80151 11.9482C10.7731 11.2292 10.9766 9.85922 10.2556 8.89053L6.75562 4.18741Z", 0.6]
|
|
4570
|
+
],
|
|
4571
|
+
"vuetify-0": [
|
|
4572
|
+
["M18 13.5192L13.0623 22L2 3H13.6499C12.49 4.11314 11.7685 5.67266 11.7685 7.39793C11.7685 10.7765 14.5353 13.5195 17.9432 13.5195C17.9622 13.5195 17.9811 13.5194 18 13.5192V13.5192Z", 1],
|
|
4573
|
+
["M18 11C20.2091 11 22 9.20914 22 7C22 4.79086 20.2091 3 18 3C15.7909 3 14 4.79086 14 7C14 9.20914 15.7909 11 18 11Z", 0.6]
|
|
4551
4574
|
]
|
|
4552
4575
|
}, Vi = K("bins", () => {
|
|
4553
|
-
const p = X(), t = te(), i = N([]),
|
|
4576
|
+
const p = X(), t = te(), i = N([]), n = A(!1), r = b(() => i.value.filter((c) => c.favorite)), l = b(() => i.value.filter((c) => c.pinned));
|
|
4554
4577
|
async function a() {
|
|
4555
4578
|
try {
|
|
4556
|
-
|
|
4579
|
+
n.value = !0;
|
|
4557
4580
|
const c = await p.get("/one/bins");
|
|
4558
4581
|
i.value = c.bins;
|
|
4559
4582
|
} catch (c) {
|
|
4560
4583
|
t.showError(c?.message ?? "Error fetching bins");
|
|
4561
4584
|
} finally {
|
|
4562
|
-
|
|
4585
|
+
n.value = !1;
|
|
4563
4586
|
}
|
|
4564
4587
|
return i.value;
|
|
4565
4588
|
}
|
|
4566
4589
|
return {
|
|
4567
|
-
isLoading:
|
|
4590
|
+
isLoading: n,
|
|
4568
4591
|
pinned: l,
|
|
4569
4592
|
favorites: r,
|
|
4570
4593
|
all: i,
|
|
4571
4594
|
index: a
|
|
4572
4595
|
};
|
|
4573
4596
|
}), $i = K("products", () => {
|
|
4574
|
-
const p = X(), t = te(), i = N([]),
|
|
4597
|
+
const p = X(), t = te(), i = N([]), n = b(() => i.value.filter((a) => a.product_type === "Themes"));
|
|
4575
4598
|
async function r() {
|
|
4576
4599
|
if (i.value.length > 0)
|
|
4577
4600
|
return i.value;
|
|
@@ -4588,12 +4611,12 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4588
4611
|
}
|
|
4589
4612
|
return {
|
|
4590
4613
|
all: i,
|
|
4591
|
-
themes:
|
|
4614
|
+
themes: n,
|
|
4592
4615
|
index: r,
|
|
4593
4616
|
randomize: l
|
|
4594
4617
|
};
|
|
4595
4618
|
}), Ci = K("sponsors", () => {
|
|
4596
|
-
const p = X(), t = te(), i = N([]),
|
|
4619
|
+
const p = X(), t = te(), i = N([]), n = N([]), r = N(!1), l = b(() => {
|
|
4597
4620
|
const d = {};
|
|
4598
4621
|
for (const f of i.value) {
|
|
4599
4622
|
const _ = f.metadata.tier;
|
|
@@ -4606,20 +4629,20 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4606
4629
|
try {
|
|
4607
4630
|
r.value = !0;
|
|
4608
4631
|
const d = await p.get("/one/sponsors");
|
|
4609
|
-
|
|
4632
|
+
n.value = d.sponsors;
|
|
4610
4633
|
} catch (d) {
|
|
4611
4634
|
t.showError(d?.message ?? "Error fetching sponsors");
|
|
4612
4635
|
} finally {
|
|
4613
4636
|
r.value = !1;
|
|
4614
4637
|
}
|
|
4615
|
-
return
|
|
4638
|
+
return n.value;
|
|
4616
4639
|
}
|
|
4617
4640
|
function c(d) {
|
|
4618
4641
|
return i.value.find((f) => f.slug === d);
|
|
4619
4642
|
}
|
|
4620
4643
|
return {
|
|
4621
4644
|
isLoading: r,
|
|
4622
|
-
all:
|
|
4645
|
+
all: n,
|
|
4623
4646
|
sponsors: i,
|
|
4624
4647
|
byTier: l,
|
|
4625
4648
|
bySlug: c,
|
|
@@ -4634,8 +4657,8 @@ function xi() {
|
|
|
4634
4657
|
}
|
|
4635
4658
|
function wi(p, t) {
|
|
4636
4659
|
return function(i) {
|
|
4637
|
-
const
|
|
4638
|
-
|
|
4660
|
+
const n = i.store;
|
|
4661
|
+
n.url = t, n.$id === "site" && (n.id = p);
|
|
4639
4662
|
};
|
|
4640
4663
|
}
|
|
4641
4664
|
export {
|