@vuetify/one 2.6.3 → 2.6.4
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 +1004 -1040
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,74 +1,74 @@
|
|
|
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
|
|
2
|
-
import { u as
|
|
3
|
-
import { VSnackbarQueue as
|
|
4
|
-
import { mdiStorefront as
|
|
5
|
-
import { VListItem as de, VList as
|
|
6
|
-
import { VAvatar as
|
|
7
|
-
import { VCard as T, VCardTitle as Fo, VCardSubtitle as No, VCardText as
|
|
8
|
-
import { VDialog 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 C, createVNode as n, createTextVNode as M, ref as N, shallowRef as I, renderSlot as L, normalizeStyle as st, createCommentVNode as h, watch as j, withModifiers as xe, mergeModels as at, useModel as E, createElementBlock as k, Fragment as D, nextTick as _e, renderList as G, mergeProps as F, withDirectives as J, vShow as Se, isRef as R, readonly as $e, resolveComponent as it, watchEffect as Ot, onMounted as He, normalizeClass as Pt, useSlots as rt, normalizeProps as lt, guardReactiveProps as ut, onBeforeMount as je, onBeforeUnmount as Ft, useCssVars as Nt, onServerPrefetch as Zt } from "vue";
|
|
2
|
+
import { u as ee, a as H, b as Y, c as U, d as B, e as ye, f as Me } from "./auth-CcaMo2zh.js";
|
|
3
|
+
import { VSnackbarQueue as Ht } from "vuetify/components/VSnackbarQueue";
|
|
4
|
+
import { mdiStorefront as jt, mdiSync as Et, mdiSyncOff as Rt, 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 Ee, mdiFileDocument as ft, mdiKey as ao, mdiPlus as io, mdiRefresh as ro, mdiKeyOutline as lo, mdiCreditCardSettingsOutline as uo, mdiRocketOutline as co, mdiCheckCircleOutline as Le, mdiCreditCard as po, mdiReload as mo, mdiPlaylistCheck as fo, mdiCreditCardOutline as vo, mdiOpenInNew as Ie, mdiMedal as go, mdiHandHeart as _o, mdiHandHeartOutline as yo, mdiCloudDownload as ho, mdiTrayArrowDown as tt, mdiAccountGroup as bo, mdiAccount as Vo, mdiLinkVariant as ko, mdiShieldLock as ot, mdiAccountRemoveOutline as Co, mdiExitToApp as $o, mdiAccountGroupOutline as xo, mdiEmailOpenOutline as Re, mdiEmailVariant as qe, mdiBell as Lo, mdiInboxOutline as wo, mdiInboxFullOutline as So, mdiBillboard as Mo, mdiBellOutline as Io, mdiViewDashboardOutline as Do, mdiCrown as Ao, mdiArrowULeftBottom as To, mdiAtomVariant as Uo, mdiLogin as nt, mdiDotsVertical as Bo, mdiShieldStarOutline as zo } from "@mdi/js";
|
|
5
|
+
import { VListItem as de, VList as ne, VListSubheader as Oo, VListItemTitle as vt, VListItemSubtitle as Po } from "vuetify/components/VList";
|
|
6
|
+
import { VAvatar as Q } from "vuetify/components/VAvatar";
|
|
7
|
+
import { VCard as T, VCardTitle as Fo, VCardSubtitle as No, VCardText as W, VCardActions as gt, VCardItem as Fe } from "vuetify/components/VCard";
|
|
8
|
+
import { VDialog as De } 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
|
|
12
|
-
import { VProgressCircular as
|
|
13
|
-
import { VSheet as
|
|
11
|
+
import { VBtn as A } from "vuetify/components/VBtn";
|
|
12
|
+
import { VProgressCircular as Zo } from "vuetify/components/VProgressCircular";
|
|
13
|
+
import { VSheet as Ae } from "vuetify/components/VSheet";
|
|
14
14
|
import { VSwitch as Ge } from "vuetify/components/VSwitch";
|
|
15
|
-
import { VFadeTransition as be, VExpandTransition as pe, VExpandXTransition as
|
|
16
|
-
import { useDisplay as
|
|
17
|
-
import { VDivider as
|
|
18
|
-
import { VIcon as
|
|
15
|
+
import { VFadeTransition as be, VExpandTransition as pe, VExpandXTransition as Ho } from "vuetify/components/transitions";
|
|
16
|
+
import { useDisplay as se, useTheme as Te, useDate as me } from "vuetify";
|
|
17
|
+
import { VDivider as Z } from "vuetify/components/VDivider";
|
|
18
|
+
import { VIcon as S } from "vuetify/components/VIcon";
|
|
19
19
|
import { VLabel as Ne } from "vuetify/components/VLabel";
|
|
20
|
-
import { VChip as
|
|
21
|
-
import { VChipGroup as
|
|
22
|
-
import { VSelect as
|
|
23
|
-
import { VRow as fe, VCol as re, VSpacer as
|
|
24
|
-
import { VHover as
|
|
25
|
-
import { VImg as
|
|
26
|
-
import { VItemGroup as yt, VItem as
|
|
20
|
+
import { VChip as oe } from "vuetify/components/VChip";
|
|
21
|
+
import { VChipGroup as jo } from "vuetify/components/VChipGroup";
|
|
22
|
+
import { VSelect as Eo } from "vuetify/components/VSelect";
|
|
23
|
+
import { VRow as fe, VCol as re, VSpacer as _t } from "vuetify/components/VGrid";
|
|
24
|
+
import { VHover as Ve } from "vuetify/components/VHover";
|
|
25
|
+
import { VImg as te } from "vuetify/components/VImg";
|
|
26
|
+
import { VItemGroup as yt, VItem as Ze } from "vuetify/components/VItemGroup";
|
|
27
27
|
import { VLayout as le } from "vuetify/components/VLayout";
|
|
28
28
|
import { VMain as ue } from "vuetify/components/VMain";
|
|
29
29
|
import { VTextField as ht } from "vuetify/components/VTextField";
|
|
30
|
-
import { VTable as
|
|
31
|
-
import { Tooltip as
|
|
30
|
+
import { VTable as Ro } from "vuetify/components/VTable";
|
|
31
|
+
import { Tooltip as we, Ripple as qo } from "vuetify/directives";
|
|
32
32
|
import { VExpansionPanels as Wo, VExpansionPanel as Go, VExpansionPanelText as Ko } from "vuetify/components/VExpansionPanel";
|
|
33
33
|
import { VDataTableVirtual as bt, VDataTable as Qo } from "vuetify/components/VDataTable";
|
|
34
|
-
import { VSkeletonLoader as
|
|
35
|
-
import { VWindow as
|
|
34
|
+
import { VSkeletonLoader as ge } from "vuetify/components/VSkeletonLoader";
|
|
35
|
+
import { VWindow as Vt, 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 ie } 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";
|
|
43
|
-
import { VAppBar as
|
|
43
|
+
import { VAppBar as kt } from "vuetify/components/VAppBar";
|
|
44
44
|
import { VFooter as on } from "vuetify/components/VFooter";
|
|
45
45
|
import { useRouter as nn } from "vue-router";
|
|
46
46
|
import { VLazy as sn } from "vuetify/components/VLazy";
|
|
47
47
|
const an = /* @__PURE__ */ y({
|
|
48
48
|
__name: "VoSnackbarQueue",
|
|
49
49
|
setup(p) {
|
|
50
|
-
const t =
|
|
51
|
-
return (i,
|
|
50
|
+
const t = ee();
|
|
51
|
+
return (i, o) => (u(), m(Ht, {
|
|
52
52
|
modelValue: e(t).queue,
|
|
53
|
-
"onUpdate:modelValue":
|
|
53
|
+
"onUpdate:modelValue": o[0] || (o[0] = (r) => e(t).queue = r),
|
|
54
54
|
closable: "",
|
|
55
55
|
location: "bottom end"
|
|
56
56
|
}, null, 8, ["modelValue"]));
|
|
57
57
|
}
|
|
58
|
-
}), rn = { class: "text-body-2" },
|
|
58
|
+
}), rn = { class: "text-body-2" }, Ct = /* @__PURE__ */ y({
|
|
59
59
|
__name: "VoAuthShopify",
|
|
60
60
|
setup(p) {
|
|
61
|
-
const t =
|
|
61
|
+
const t = H(), i = b(() => t.user && t.findIdentity("shopify")), o = 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
|
-
"prepend-icon": `svg:${e(
|
|
64
|
+
"prepend-icon": `svg:${e(jt)}`,
|
|
65
65
|
rounded: "pill",
|
|
66
66
|
slim: "",
|
|
67
67
|
variant: "flat",
|
|
68
68
|
onClick: l[0] || (l[0] = (a) => e(t).login("shopify"))
|
|
69
69
|
}, P({
|
|
70
70
|
title: s(() => [
|
|
71
|
-
v("span", rn,
|
|
71
|
+
v("span", rn, C(e(o)), 1)
|
|
72
72
|
]),
|
|
73
73
|
_: 2
|
|
74
74
|
}, [
|
|
@@ -81,10 +81,10 @@ const an = /* @__PURE__ */ y({
|
|
|
81
81
|
} : void 0
|
|
82
82
|
]), 1032, ["prepend-icon"]));
|
|
83
83
|
}
|
|
84
|
-
}), ln = { class: "text-body-2" },
|
|
84
|
+
}), ln = { class: "text-body-2" }, $t = /* @__PURE__ */ y({
|
|
85
85
|
__name: "VoAuthDiscord",
|
|
86
86
|
setup(p) {
|
|
87
|
-
const t =
|
|
87
|
+
const t = H(), i = b(() => t.user && t.findIdentity("discord")), o = 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,
|
|
97
|
+
v("span", ln, C(e(o)), 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 =
|
|
113
|
+
const t = H(), i = b(() => t.user && t.findIdentity("github")), o = 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,
|
|
123
|
+
v("span", un, C(e(o)), 1)
|
|
124
124
|
]),
|
|
125
125
|
_: 2
|
|
126
126
|
}, [
|
|
@@ -133,48 +133,48 @@ const an = /* @__PURE__ */ y({
|
|
|
133
133
|
} : void 0
|
|
134
134
|
]), 1024));
|
|
135
135
|
}
|
|
136
|
-
}), cn = { class: "text-center" }, dn = { class: "text-center mb-6" }, pn = { class: "text-h6 font-weight-light" },
|
|
136
|
+
}), cn = { class: "text-center" }, dn = { class: "text-center mb-6" }, pn = { class: "text-h6 font-weight-light" }, Lt = /* @__PURE__ */ y({
|
|
137
137
|
__name: "VoAuthCard",
|
|
138
138
|
setup(p) {
|
|
139
|
-
const t =
|
|
140
|
-
return (i,
|
|
141
|
-
const r = xt, l =
|
|
139
|
+
const t = H();
|
|
140
|
+
return (i, o) => {
|
|
141
|
+
const r = xt, l = $t, a = Ct;
|
|
142
142
|
return u(), m(T, {
|
|
143
143
|
class: "pt-6 pb-8 px-4 px-sm-8 mx-auto",
|
|
144
144
|
"max-width": "480"
|
|
145
145
|
}, {
|
|
146
146
|
default: s(() => [
|
|
147
147
|
v("div", cn, [
|
|
148
|
-
|
|
148
|
+
n(Q, {
|
|
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
|
+
n(Fo, { class: "text-h5 mb-1 text-md-h4" }, {
|
|
156
156
|
default: s(() => [
|
|
157
|
-
v("div", pn,
|
|
158
|
-
|
|
157
|
+
v("div", pn, C(e(t).lastLoginProvider() ? "Welcome back to" : "Login to"), 1),
|
|
158
|
+
o[0] || (o[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
|
+
n(No, { class: "text-wrap" }, {
|
|
163
|
+
default: s(() => [...o[1] || (o[1] = [
|
|
164
|
+
M(" Login to save your settings and gain access to exclusive subscriber perks. ", -1)
|
|
165
165
|
])]),
|
|
166
166
|
_: 1
|
|
167
167
|
})
|
|
168
168
|
]),
|
|
169
|
-
|
|
169
|
+
n(ne, {
|
|
170
170
|
class: "mx-auto",
|
|
171
171
|
"max-width": "300",
|
|
172
172
|
width: "100%"
|
|
173
173
|
}, {
|
|
174
174
|
default: s(() => [
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
175
|
+
n(r, { class: "mb-3" }),
|
|
176
|
+
n(l, { class: "mb-3" }),
|
|
177
|
+
n(a)
|
|
178
178
|
]),
|
|
179
179
|
_: 1
|
|
180
180
|
})
|
|
@@ -183,41 +183,41 @@ const an = /* @__PURE__ */ y({
|
|
|
183
183
|
});
|
|
184
184
|
};
|
|
185
185
|
}
|
|
186
|
-
}),
|
|
186
|
+
}), wt = /* @__PURE__ */ y({
|
|
187
187
|
__name: "VoAuthDialog",
|
|
188
188
|
setup(p) {
|
|
189
|
-
const t =
|
|
190
|
-
return (i,
|
|
191
|
-
const r =
|
|
192
|
-
return u(), m(
|
|
189
|
+
const t = H();
|
|
190
|
+
return (i, o) => {
|
|
191
|
+
const r = Lt;
|
|
192
|
+
return u(), m(De, {
|
|
193
193
|
modelValue: e(t).dialog,
|
|
194
|
-
"onUpdate:modelValue":
|
|
194
|
+
"onUpdate:modelValue": o[0] || (o[0] = (l) => e(t).dialog = l),
|
|
195
195
|
"max-width": "480"
|
|
196
196
|
}, {
|
|
197
197
|
default: s(() => [
|
|
198
|
-
|
|
198
|
+
n(r)
|
|
199
199
|
]),
|
|
200
200
|
_: 1
|
|
201
201
|
}, 8, ["modelValue"]);
|
|
202
202
|
};
|
|
203
203
|
}
|
|
204
204
|
}), Ue = K("notifications", () => {
|
|
205
|
-
const p =
|
|
205
|
+
const p = Y(), t = U(), i = ee(), o = N([]), r = I(!1), l = b(() => o.value.filter((d) => !t.one.notifications.read.includes(d.slug))), a = b(() => o.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
|
+
o.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 o.value;
|
|
217
217
|
}
|
|
218
218
|
return {
|
|
219
219
|
isLoading: r,
|
|
220
|
-
all:
|
|
220
|
+
all: o,
|
|
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 =
|
|
228
|
+
const t = H(), i = Ue(), o = U(), r = b(() => o.one.notifications.enabled ? i.unread.length : 0);
|
|
229
229
|
return (l, a) => (u(), m(We, {
|
|
230
230
|
color: "error",
|
|
231
231
|
content: e(r),
|
|
@@ -239,14 +239,14 @@ const an = /* @__PURE__ */ y({
|
|
|
239
239
|
_: 3
|
|
240
240
|
}, 8, ["content", "dot", "model-value"]));
|
|
241
241
|
}
|
|
242
|
-
}),
|
|
242
|
+
}), ke = /* @__PURE__ */ y({
|
|
243
243
|
__name: "VoBtn",
|
|
244
244
|
props: {
|
|
245
245
|
readonly: { type: Boolean }
|
|
246
246
|
},
|
|
247
247
|
setup(p) {
|
|
248
248
|
const t = p;
|
|
249
|
-
return (i,
|
|
249
|
+
return (i, o) => (u(), m(A, {
|
|
250
250
|
class: "text-none font-weight-regular",
|
|
251
251
|
color: "primary",
|
|
252
252
|
size: "small",
|
|
@@ -257,7 +257,7 @@ const an = /* @__PURE__ */ y({
|
|
|
257
257
|
variant: "flat"
|
|
258
258
|
}, P({
|
|
259
259
|
loader: s(() => [
|
|
260
|
-
i.$slots.loader ? h("", !0) : (u(), m(
|
|
260
|
+
i.$slots.loader ? h("", !0) : (u(), m(Zo, {
|
|
261
261
|
key: 0,
|
|
262
262
|
indeterminate: "disable-shrink",
|
|
263
263
|
size: "16",
|
|
@@ -286,40 +286,40 @@ 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 =
|
|
290
|
-
|
|
291
|
-
|
|
289
|
+
const t = H(), i = U(), o = I(!t.user && !t.isLoading);
|
|
290
|
+
j(() => t.user, (l) => {
|
|
291
|
+
o.value = !l;
|
|
292
292
|
});
|
|
293
293
|
function r() {
|
|
294
|
-
t.user && (
|
|
294
|
+
t.user && (o.value = !o.value);
|
|
295
295
|
}
|
|
296
296
|
return (l, a) => {
|
|
297
|
-
const c = xt, d =
|
|
297
|
+
const c = xt, d = $t, f = Ct;
|
|
298
298
|
return u(), m(T, {
|
|
299
299
|
class: "ma-2",
|
|
300
300
|
rounded: "lg",
|
|
301
|
-
variant: e(
|
|
301
|
+
variant: e(o) ? "tonal" : "text"
|
|
302
302
|
}, {
|
|
303
303
|
default: s(() => [
|
|
304
|
-
|
|
304
|
+
n(ne, { class: "py-0" }, {
|
|
305
305
|
default: s(() => [
|
|
306
|
-
|
|
306
|
+
n(de, {
|
|
307
307
|
class: "mb-0",
|
|
308
308
|
link: !!e(t).user,
|
|
309
309
|
nav: "",
|
|
310
|
-
"prepend-icon": `svg:${e(t).user && e(i).one.sync ? e(
|
|
310
|
+
"prepend-icon": `svg:${e(t).user && e(i).one.sync ? e(Et) : e(Rt)}`,
|
|
311
311
|
rounded: "b-0",
|
|
312
312
|
slim: "",
|
|
313
313
|
title: e(t).user && e(i).one.sync ? "Sync is on" : "Sync is paused",
|
|
314
314
|
onClick: r
|
|
315
315
|
}, {
|
|
316
316
|
append: s(() => [
|
|
317
|
-
|
|
317
|
+
n(be, null, {
|
|
318
318
|
default: s(() => [
|
|
319
|
-
e(t).user && (e(
|
|
319
|
+
e(t).user && (e(o) || !e(i).one.sync) ? (u(), m(Ge, {
|
|
320
320
|
key: 0,
|
|
321
321
|
modelValue: e(i).one.sync,
|
|
322
|
-
"onUpdate:modelValue": a[0] || (a[0] = (
|
|
322
|
+
"onUpdate:modelValue": a[0] || (a[0] = (g) => e(i).one.sync = g),
|
|
323
323
|
color: e(i).one.sync ? "success" : void 0,
|
|
324
324
|
density: "compact",
|
|
325
325
|
"hide-details": "",
|
|
@@ -328,7 +328,7 @@ const an = /* @__PURE__ */ y({
|
|
|
328
328
|
}, ["stop"]))
|
|
329
329
|
}, {
|
|
330
330
|
thumb: s(() => [
|
|
331
|
-
|
|
331
|
+
n(Q, {
|
|
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
|
+
n(pe, null, {
|
|
344
344
|
default: s(() => [
|
|
345
|
-
!e(t).user && !e(t).isLoading || e(
|
|
345
|
+
!e(t).user && !e(t).isLoading || e(o) ? (u(), m(Ae, {
|
|
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
|
+
n(c, {
|
|
353
|
+
onClick: a[2] || (a[2] = (g) => o.value = !1)
|
|
354
354
|
}),
|
|
355
|
-
|
|
356
|
-
onClick: a[3] || (a[3] = (
|
|
355
|
+
n(d, {
|
|
356
|
+
onClick: a[3] || (a[3] = (g) => o.value = !1)
|
|
357
357
|
}),
|
|
358
|
-
|
|
359
|
-
onClick: a[4] || (a[4] = (
|
|
358
|
+
n(f, {
|
|
359
|
+
onClick: a[4] || (a[4] = (g) => o.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
|
+
}), q = /* @__PURE__ */ y({
|
|
377
377
|
__name: "VoListItem",
|
|
378
378
|
setup(p) {
|
|
379
379
|
return (t, i) => (u(), m(de, { slim: "" }, P({
|
|
@@ -408,12 +408,12 @@ const an = /* @__PURE__ */ y({
|
|
|
408
408
|
}), vn = /* @__PURE__ */ y({
|
|
409
409
|
__name: "VoAuthLogoutNavItem",
|
|
410
410
|
setup(p) {
|
|
411
|
-
const t =
|
|
412
|
-
async function
|
|
411
|
+
const t = H(), i = I(!1);
|
|
412
|
+
async function o() {
|
|
413
413
|
i.value = !0, await t.logout(), i.value = !1;
|
|
414
414
|
}
|
|
415
415
|
return (r, l) => {
|
|
416
|
-
const a =
|
|
416
|
+
const a = q;
|
|
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: o
|
|
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 =
|
|
440
|
-
return (r, l) => (u(), m(
|
|
439
|
+
const t = E(p, "modelValue"), i = se(), o = I(!1);
|
|
440
|
+
return (r, l) => (u(), m(De, {
|
|
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(o) || e(i).xs.value,
|
|
445
445
|
height: "100%",
|
|
446
|
-
"max-height": e(
|
|
447
|
-
"max-width": e(
|
|
446
|
+
"max-height": e(o) || e(i).xs.value ? "100%" : 800,
|
|
447
|
+
"max-width": e(o) || e(i).xs.value ? "100%" : 800
|
|
448
448
|
}, {
|
|
449
449
|
default: s(({ isActive: a }) => [
|
|
450
|
-
|
|
450
|
+
n(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(A, {
|
|
459
459
|
key: 0,
|
|
460
460
|
class: "me-2",
|
|
461
461
|
density: "comfortable",
|
|
462
|
-
icon: `svg:${e(
|
|
462
|
+
icon: `svg:${e(o) ? 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) => o.value = !e(o))
|
|
466
466
|
}, null, 8, ["icon"])),
|
|
467
|
-
|
|
467
|
+
n(A, {
|
|
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
|
+
n(Z),
|
|
477
477
|
L(r.$slots, "default")
|
|
478
478
|
]),
|
|
479
479
|
_: 2
|
|
@@ -497,7 +497,7 @@ const an = /* @__PURE__ */ y({
|
|
|
497
497
|
_: 3
|
|
498
498
|
}, 8, ["modelValue", "fullscreen", "max-height", "max-width"]));
|
|
499
499
|
}
|
|
500
|
-
}),
|
|
500
|
+
}), Mt = /* @__PURE__ */ y({
|
|
501
501
|
__name: "VoSwitch",
|
|
502
502
|
props: {
|
|
503
503
|
disabled: { type: Boolean }
|
|
@@ -511,7 +511,7 @@ const an = /* @__PURE__ */ y({
|
|
|
511
511
|
"true-icon": `svg:${e(he)}`
|
|
512
512
|
}, P({
|
|
513
513
|
thumb: s(() => [
|
|
514
|
-
|
|
514
|
+
n(S, {
|
|
515
515
|
color: t.disabled ? void 0 : "primary"
|
|
516
516
|
}, null, 8, ["color"])
|
|
517
517
|
]),
|
|
@@ -526,30 +526,30 @@ const an = /* @__PURE__ */ y({
|
|
|
526
526
|
} : void 0
|
|
527
527
|
]), 1032, ["disabled", "true-icon"]));
|
|
528
528
|
}
|
|
529
|
-
}),
|
|
529
|
+
}), gn = {
|
|
530
530
|
key: 1,
|
|
531
531
|
class: "mb-3 text-caption text-medium-emphasis"
|
|
532
|
-
},
|
|
532
|
+
}, ae = /* @__PURE__ */ y({
|
|
533
533
|
__name: "VoDialogSubheader",
|
|
534
534
|
props: {
|
|
535
535
|
title: {},
|
|
536
536
|
text: {}
|
|
537
537
|
},
|
|
538
538
|
setup(p) {
|
|
539
|
-
return (t, i) => (u(),
|
|
539
|
+
return (t, i) => (u(), k(D, null, [
|
|
540
540
|
t.title ? (u(), m(Ne, {
|
|
541
541
|
key: 0,
|
|
542
542
|
class: "font-weight-black"
|
|
543
543
|
}, {
|
|
544
544
|
default: s(() => [
|
|
545
|
-
|
|
545
|
+
M(C(t.title), 1)
|
|
546
546
|
]),
|
|
547
547
|
_: 1
|
|
548
548
|
})) : h("", !0),
|
|
549
|
-
t.text ? (u(),
|
|
549
|
+
t.text ? (u(), k("div", gn, C(t.text), 1)) : h("", !0)
|
|
550
550
|
], 64));
|
|
551
551
|
}
|
|
552
|
-
}),
|
|
552
|
+
}), _n = { key: 0 }, yn = /* @__PURE__ */ y({
|
|
553
553
|
__name: "VoSettingsPageSuitOption",
|
|
554
554
|
setup(p) {
|
|
555
555
|
const t = U(), i = [
|
|
@@ -580,20 +580,20 @@ const an = /* @__PURE__ */ y({
|
|
|
580
580
|
value: "odyssey"
|
|
581
581
|
}
|
|
582
582
|
];
|
|
583
|
-
return (
|
|
584
|
-
const l =
|
|
585
|
-
return u(),
|
|
586
|
-
|
|
583
|
+
return (o, r) => {
|
|
584
|
+
const l = Mt, a = ae;
|
|
585
|
+
return u(), k(D, null, [
|
|
586
|
+
n(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
|
+
n(pe, null, {
|
|
594
594
|
default: s(() => [
|
|
595
|
-
e(t).one.suits.enabled ? (u(),
|
|
596
|
-
|
|
595
|
+
e(t).one.suits.enabled ? (u(), k("div", _n, [
|
|
596
|
+
n(Eo, {
|
|
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
|
+
n(S, {
|
|
610
610
|
icon: c.props.prependIcon,
|
|
611
611
|
size: "x-small",
|
|
612
612
|
start: ""
|
|
613
613
|
}, null, 8, ["icon"]),
|
|
614
|
-
|
|
614
|
+
M(" " + C(c.title), 1)
|
|
615
615
|
]),
|
|
616
616
|
_: 1
|
|
617
617
|
}, 8, ["modelValue"]),
|
|
618
|
-
|
|
619
|
-
|
|
618
|
+
n(a, { text: "Select your suit elements to display the background image:" }),
|
|
619
|
+
n(jo, {
|
|
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
|
+
n(oe, {
|
|
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
|
+
n(Z, {
|
|
636
636
|
class: "ms-2 border-opacity-50",
|
|
637
637
|
vertical: ""
|
|
638
638
|
}),
|
|
639
|
-
|
|
639
|
+
n(S, { size: "x-small" })
|
|
640
640
|
]),
|
|
641
641
|
_: 1
|
|
642
642
|
}, 8, ["append-icon"]),
|
|
643
|
-
|
|
643
|
+
n(oe, {
|
|
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
|
+
n(Z, {
|
|
652
652
|
class: "ms-2 border-opacity-50",
|
|
653
653
|
vertical: ""
|
|
654
654
|
}),
|
|
655
|
-
|
|
655
|
+
n(S, { size: "x-small" })
|
|
656
656
|
]),
|
|
657
657
|
_: 1
|
|
658
658
|
}, 8, ["append-icon"]),
|
|
659
|
-
|
|
659
|
+
n(oe, {
|
|
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
|
+
n(Z, {
|
|
668
668
|
class: "ms-2 border-opacity-50",
|
|
669
669
|
vertical: ""
|
|
670
670
|
}),
|
|
671
|
-
|
|
671
|
+
n(S, { 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(), o = 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",
|
|
@@ -903,21 +903,21 @@ const Be = K("settings", () => {
|
|
|
903
903
|
return {};
|
|
904
904
|
const c = l[i.one.suits.suit.toLowerCase()], d = {};
|
|
905
905
|
for (const f of i.one.suits.elements) {
|
|
906
|
-
const
|
|
907
|
-
d[
|
|
906
|
+
const g = f;
|
|
907
|
+
d[g] = c[g];
|
|
908
908
|
}
|
|
909
909
|
return d;
|
|
910
910
|
});
|
|
911
|
-
return
|
|
912
|
-
...
|
|
911
|
+
return o.themes.value = {
|
|
912
|
+
...o.themes.value,
|
|
913
913
|
...r
|
|
914
|
-
},
|
|
915
|
-
c === "system" ?
|
|
914
|
+
}, j(() => i.one.theme, (c) => {
|
|
915
|
+
c === "system" ? o.change(window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light") : (o.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
|
|
919
919
|
};
|
|
920
|
-
}), bn = { class: "ms-5" },
|
|
920
|
+
}), bn = { class: "ms-5" }, Vn = { class: "pb-2" }, kn = /* @__PURE__ */ y({
|
|
921
921
|
__name: "VoSettingsDialog",
|
|
922
922
|
props: {
|
|
923
923
|
modelValue: { type: Boolean },
|
|
@@ -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 = E(p, "modelValue"), i = B(), o = Be(), r = U(), l = b(() => [
|
|
929
929
|
{
|
|
930
930
|
title: "Light",
|
|
931
931
|
subtitle: "A standard light theme.",
|
|
932
|
-
image:
|
|
932
|
+
image: o.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: o.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: o.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: o.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: o.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: o.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: o.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: o.CDN_URL + "themes/odyssey.png",
|
|
987
987
|
prependIcon: `svg:${mt}`,
|
|
988
988
|
value: "odyssey",
|
|
989
989
|
disabled: !i.isSubscriber
|
|
@@ -993,64 +993,64 @@ const Be = K("settings", () => {
|
|
|
993
993
|
{ title: "Releases", items: a.value }
|
|
994
994
|
]), d = b({
|
|
995
995
|
get: () => !r.one.ads.enabled,
|
|
996
|
-
set: (
|
|
997
|
-
r.one.ads.enabled = !
|
|
996
|
+
set: (_) => {
|
|
997
|
+
r.one.ads.enabled = !_;
|
|
998
998
|
}
|
|
999
999
|
}), f = ye();
|
|
1000
|
-
|
|
1001
|
-
f.value.one === "settings" && (i.isOpen = !0, await
|
|
1000
|
+
j(f, async () => {
|
|
1001
|
+
f.value.one === "settings" && (i.isOpen = !0, await _e(), t.value = !0);
|
|
1002
1002
|
}, { immediate: !0 });
|
|
1003
|
-
function _
|
|
1004
|
-
|
|
1003
|
+
function g(_, V) {
|
|
1004
|
+
V.disabled || (r.one.theme = V.value, _?.());
|
|
1005
1005
|
}
|
|
1006
|
-
return (
|
|
1007
|
-
const
|
|
1008
|
-
return u(), m(
|
|
1006
|
+
return (_, V) => {
|
|
1007
|
+
const $ = ae, w = yn, O = Mt, X = ce;
|
|
1008
|
+
return u(), m(X, {
|
|
1009
1009
|
modelValue: t.value,
|
|
1010
|
-
"onUpdate:modelValue":
|
|
1010
|
+
"onUpdate:modelValue": V[6] || (V[6] = (x) => t.value = x),
|
|
1011
1011
|
"prepend-icon": `svg:${e(oo)}`,
|
|
1012
1012
|
title: "Settings"
|
|
1013
1013
|
}, {
|
|
1014
1014
|
default: s(() => [
|
|
1015
|
-
|
|
1015
|
+
n(le, null, {
|
|
1016
1016
|
default: s(() => [
|
|
1017
|
-
|
|
1017
|
+
n(ue, { scrollable: "" }, {
|
|
1018
1018
|
default: s(() => [
|
|
1019
|
-
|
|
1019
|
+
n(W, { class: "px-7" }, {
|
|
1020
1020
|
default: s(() => [
|
|
1021
|
-
|
|
1021
|
+
n($, {
|
|
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
|
+
n(yt, {
|
|
1026
1026
|
modelValue: e(r).one.theme,
|
|
1027
|
-
"onUpdate:modelValue":
|
|
1027
|
+
"onUpdate:modelValue": V[0] || (V[0] = (x) => e(r).one.theme = x),
|
|
1028
1028
|
mandatory: ""
|
|
1029
1029
|
}, {
|
|
1030
1030
|
default: s(() => [
|
|
1031
|
-
|
|
1031
|
+
n(fe, { dense: "" }, {
|
|
1032
1032
|
default: s(() => [
|
|
1033
|
-
(u(!0),
|
|
1034
|
-
key:
|
|
1033
|
+
(u(!0), k(D, null, G(c.value, (x, Ce) => (u(), m(re, {
|
|
1034
|
+
key: Ce,
|
|
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
|
+
n(Oo, { class: "mb-n4" }, {
|
|
1041
1041
|
default: s(() => [
|
|
1042
|
-
|
|
1042
|
+
M(C(x.title), 1)
|
|
1043
1043
|
]),
|
|
1044
1044
|
_: 2
|
|
1045
1045
|
}, 1024),
|
|
1046
|
-
(u(!0),
|
|
1046
|
+
(u(!0), k(D, null, G(x.items, (z) => (u(), m(Ze, {
|
|
1047
1047
|
key: z.value,
|
|
1048
1048
|
value: z.value
|
|
1049
1049
|
}, {
|
|
1050
1050
|
default: s(({ toggle: Ut, isSelected: et }) => [
|
|
1051
|
-
|
|
1051
|
+
n(Ve, null, {
|
|
1052
1052
|
default: s(({ props: Bt, isHovering: zt }) => [
|
|
1053
|
-
|
|
1053
|
+
n(T, F({
|
|
1054
1054
|
color: et ? "primary" : "surface-variant",
|
|
1055
1055
|
height: "76",
|
|
1056
1056
|
image: z.image,
|
|
@@ -1061,10 +1061,10 @@ const Be = K("settings", () => {
|
|
|
1061
1061
|
title: z.title,
|
|
1062
1062
|
variant: "tonal"
|
|
1063
1063
|
}, { ref_for: !0 }, Bt, {
|
|
1064
|
-
onClick: (Sa) =>
|
|
1064
|
+
onClick: (Sa) => g(Ut, z)
|
|
1065
1065
|
}), {
|
|
1066
1066
|
image: s(() => [
|
|
1067
|
-
|
|
1067
|
+
n(te, {
|
|
1068
1068
|
style: st({
|
|
1069
1069
|
filter: et || zt ? "none" : "grayscale(100%)"
|
|
1070
1070
|
})
|
|
@@ -1087,35 +1087,35 @@ const Be = K("settings", () => {
|
|
|
1087
1087
|
]),
|
|
1088
1088
|
_: 1
|
|
1089
1089
|
}, 8, ["modelValue"]),
|
|
1090
|
-
e(i).isSubscriber ? (u(),
|
|
1091
|
-
|
|
1092
|
-
|
|
1090
|
+
e(i).isSubscriber ? (u(), k(D, { key: 0 }, [
|
|
1091
|
+
n(Z, { class: "mt-6 mb-4" }),
|
|
1092
|
+
n(w)
|
|
1093
1093
|
], 64)) : h("", !0)
|
|
1094
1094
|
]),
|
|
1095
1095
|
_: 1
|
|
1096
1096
|
}),
|
|
1097
|
-
|
|
1098
|
-
|
|
1097
|
+
n(Z),
|
|
1098
|
+
n(W, { class: "px-7" }, {
|
|
1099
1099
|
default: s(() => [
|
|
1100
|
-
|
|
1100
|
+
n($, {
|
|
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(O, {
|
|
1105
1105
|
key: 0,
|
|
1106
1106
|
modelValue: d.value,
|
|
1107
|
-
"onUpdate:modelValue":
|
|
1107
|
+
"onUpdate:modelValue": V[1] || (V[1] = (x) => d.value = x),
|
|
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
|
+
n(pe, null, {
|
|
1113
1113
|
default: s(() => [
|
|
1114
|
-
|
|
1115
|
-
v("div",
|
|
1116
|
-
|
|
1114
|
+
J(v("div", bn, [
|
|
1115
|
+
v("div", Vn, [
|
|
1116
|
+
n(O, {
|
|
1117
1117
|
modelValue: e(r).one.ads.house,
|
|
1118
|
-
"onUpdate:modelValue":
|
|
1118
|
+
"onUpdate:modelValue": V[2] || (V[2] = (x) => e(r).one.ads.house = x),
|
|
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
|
+
n(O, {
|
|
1130
1130
|
modelValue: e(r).one.quicklinks,
|
|
1131
|
-
"onUpdate:modelValue":
|
|
1131
|
+
"onUpdate:modelValue": V[3] || (V[3] = (x) => e(r).one.quicklinks = x),
|
|
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
|
-
|
|
1139
|
-
e(i).isSubscriber ? (u(), m(
|
|
1138
|
+
n(Z),
|
|
1139
|
+
e(i).isSubscriber ? (u(), m(W, {
|
|
1140
1140
|
key: 0,
|
|
1141
1141
|
class: "px-7"
|
|
1142
1142
|
}, {
|
|
1143
1143
|
default: s(() => [
|
|
1144
|
-
|
|
1144
|
+
n($, {
|
|
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
|
+
n(O, {
|
|
1149
1149
|
modelValue: e(r).one.notifications.enabled,
|
|
1150
|
-
"onUpdate:modelValue":
|
|
1150
|
+
"onUpdate:modelValue": V[4] || (V[4] = (x) => e(r).one.notifications.enabled = x),
|
|
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
|
+
n(O, {
|
|
1156
1156
|
modelValue: e(r).one.banners.enabled,
|
|
1157
|
-
"onUpdate:modelValue":
|
|
1157
|
+
"onUpdate:modelValue": V[5] || (V[5] = (x) => e(r).one.banners.enabled = x),
|
|
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"])
|
|
@@ -1172,12 +1172,12 @@ const Be = K("settings", () => {
|
|
|
1172
1172
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
1173
1173
|
};
|
|
1174
1174
|
}
|
|
1175
|
-
}),
|
|
1175
|
+
}), Cn = /* @__PURE__ */ y({
|
|
1176
1176
|
__name: "VoSettingsListItem",
|
|
1177
1177
|
setup(p) {
|
|
1178
|
-
const t =
|
|
1179
|
-
return (i,
|
|
1180
|
-
const r =
|
|
1178
|
+
const t = I(!1);
|
|
1179
|
+
return (i, o) => {
|
|
1180
|
+
const r = kn, l = q;
|
|
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
|
+
n(r, {
|
|
1189
1189
|
modelValue: e(t),
|
|
1190
|
-
"onUpdate:modelValue":
|
|
1190
|
+
"onUpdate:modelValue": o[0] || (o[0] = (a) => R(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
|
}), ze = K("api-key", () => {
|
|
1198
|
-
const p =
|
|
1199
|
-
if (!
|
|
1198
|
+
const p = Y(), t = N(null), i = I(!1), o = b(() => t.value?.apiKey || ""), r = b(() => {
|
|
1199
|
+
if (!o.value)
|
|
1200
1200
|
return "";
|
|
1201
|
-
const c =
|
|
1201
|
+
const c = o.value;
|
|
1202
1202
|
return `${c.slice(0, 6)}...${c.slice(-6)}`;
|
|
1203
1203
|
});
|
|
1204
1204
|
async function l(c = !1) {
|
|
@@ -1211,22 +1211,22 @@ const Be = K("settings", () => {
|
|
|
1211
1211
|
return c.apiKey && (t.value = c), c;
|
|
1212
1212
|
}
|
|
1213
1213
|
return {
|
|
1214
|
-
accessToken:
|
|
1215
|
-
key:
|
|
1216
|
-
regenerated:
|
|
1217
|
-
trim:
|
|
1214
|
+
accessToken: $e(t),
|
|
1215
|
+
key: $e(o),
|
|
1216
|
+
regenerated: $e(i),
|
|
1217
|
+
trim: $e(r),
|
|
1218
1218
|
generate: l,
|
|
1219
1219
|
fetch: a
|
|
1220
1220
|
};
|
|
1221
1221
|
});
|
|
1222
1222
|
function Oe(p = 1e3) {
|
|
1223
|
-
const t =
|
|
1224
|
-
async function i(
|
|
1225
|
-
await navigator.clipboard.writeText(
|
|
1223
|
+
const t = I(!1);
|
|
1224
|
+
async function i(o) {
|
|
1225
|
+
await navigator.clipboard.writeText(o), t.value = !0, setTimeout(() => t.value = !1, p);
|
|
1226
1226
|
}
|
|
1227
1227
|
return { copied: t, copy: i };
|
|
1228
1228
|
}
|
|
1229
|
-
const
|
|
1229
|
+
const $n = /* @__PURE__ */ y({
|
|
1230
1230
|
__name: "VoMcpCopyDialog",
|
|
1231
1231
|
props: {
|
|
1232
1232
|
modelValue: { type: Boolean },
|
|
@@ -1234,33 +1234,33 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1234
1234
|
},
|
|
1235
1235
|
emits: ["update:modelValue"],
|
|
1236
1236
|
setup(p) {
|
|
1237
|
-
const t = ze(), { copy: i, copied:
|
|
1237
|
+
const t = ze(), { copy: i, copied: o } = Oe(), r = E(p, "modelValue");
|
|
1238
1238
|
return (l, a) => {
|
|
1239
1239
|
const c = it("v-icon-btn");
|
|
1240
|
-
return u(), m(
|
|
1240
|
+
return u(), m(De, {
|
|
1241
1241
|
modelValue: r.value,
|
|
1242
1242
|
"onUpdate:modelValue": a[2] || (a[2] = (d) => r.value = d),
|
|
1243
1243
|
"max-width": "500"
|
|
1244
1244
|
}, {
|
|
1245
1245
|
default: s(({ isActive: d }) => [
|
|
1246
|
-
|
|
1246
|
+
n(T, {
|
|
1247
1247
|
"prepend-icon": `svg:${e(so)}`,
|
|
1248
1248
|
title: "Save your Key"
|
|
1249
1249
|
}, {
|
|
1250
1250
|
append: s(() => [
|
|
1251
|
-
|
|
1251
|
+
n(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
|
+
n(Z),
|
|
1258
|
+
n(W, null, {
|
|
1259
1259
|
default: s(() => [
|
|
1260
1260
|
a[4] || (a[4] = v("p", { class: "mb-4" }, [
|
|
1261
|
-
|
|
1261
|
+
M(" Please save your secret key in a safe place since "),
|
|
1262
1262
|
v("strong", null, "you won't be able"),
|
|
1263
|
-
|
|
1263
|
+
M(" 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
|
+
n(A, {
|
|
1273
1273
|
class: "text-none",
|
|
1274
1274
|
color: "success",
|
|
1275
|
-
"prepend-icon": e(
|
|
1275
|
+
"prepend-icon": e(o) ? "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
|
+
n(be, { "hide-on-leave": "" }, {
|
|
1282
1282
|
default: s(() => [
|
|
1283
|
-
(u(), m(
|
|
1284
|
-
key: String(e(
|
|
1283
|
+
(u(), m(S, {
|
|
1284
|
+
key: String(e(o))
|
|
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] = M(" 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
|
+
n(gt, null, {
|
|
1302
1302
|
default: s(() => [
|
|
1303
|
-
|
|
1304
|
-
|
|
1303
|
+
n(_t),
|
|
1304
|
+
n(A, {
|
|
1305
1305
|
class: "text-none",
|
|
1306
1306
|
color: "surface-variant",
|
|
1307
1307
|
size: "small",
|
|
@@ -1320,24 +1320,24 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1320
1320
|
}, 8, ["modelValue"]);
|
|
1321
1321
|
};
|
|
1322
1322
|
}
|
|
1323
|
-
}), xn = { class: "d-flex align-center justify-end" },
|
|
1323
|
+
}), xn = { class: "d-flex align-center justify-end" }, Ln = { class: "text-end" }, wn = /* @__PURE__ */ y({
|
|
1324
1324
|
__name: "VoMcpTokenTable",
|
|
1325
1325
|
setup(p) {
|
|
1326
|
-
const t = ze(), { copy: i, copied:
|
|
1327
|
-
return (l, a) => (u(), m(
|
|
1326
|
+
const t = ze(), { copy: i, copied: o } = Oe(2e3), r = me();
|
|
1327
|
+
return (l, a) => (u(), m(Ro, { class: "rounded border mt-4" }, {
|
|
1328
1328
|
default: s(() => [
|
|
1329
1329
|
v("thead", null, [
|
|
1330
1330
|
v("tr", null, [
|
|
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
|
-
|
|
1334
|
+
a[1] || (a[1] = M(" Last Used ", -1)),
|
|
1335
|
+
J(n(S, {
|
|
1336
1336
|
end: "",
|
|
1337
1337
|
icon: "$info",
|
|
1338
1338
|
size: "1em"
|
|
1339
1339
|
}, null, 512), [
|
|
1340
|
-
[
|
|
1340
|
+
[we, "This is updated within the last 10 minutes", "top"]
|
|
1341
1341
|
])
|
|
1342
1342
|
])
|
|
1343
1343
|
])
|
|
@@ -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
|
+
n(Ve, null, {
|
|
1349
1349
|
default: s(({ isHovering: c, props: d }) => [
|
|
1350
|
-
|
|
1351
|
-
color: c || e(
|
|
1350
|
+
n(A, F(d, {
|
|
1351
|
+
color: c || e(o) ? "primary" : void 0,
|
|
1352
1352
|
slim: "",
|
|
1353
1353
|
text: e(t).key ? e(t).trim : "",
|
|
1354
|
-
variant: c || e(
|
|
1354
|
+
variant: c || e(o) ? "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
|
+
n(S, {
|
|
1359
|
+
icon: e(o) ? "$success" : `svg:${e(Ee)}`,
|
|
1360
|
+
opacity: c || e(o) ? 1 : 0
|
|
1361
1361
|
}, null, 8, ["icon", "opacity"])
|
|
1362
1362
|
]),
|
|
1363
1363
|
_: 2
|
|
@@ -1366,45 +1366,45 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1366
1366
|
_: 1
|
|
1367
1367
|
})
|
|
1368
1368
|
]),
|
|
1369
|
-
v("td", null,
|
|
1370
|
-
v("td",
|
|
1369
|
+
v("td", null, C(e(t).accessToken ? e(r).format(e(t).accessToken.createdAt, "fullDate") : ""), 1),
|
|
1370
|
+
v("td", Ln, C(e(t).accessToken ? e(r).format(e(t).accessToken.updatedAt, "fullDate") : ""), 1)
|
|
1371
1371
|
])
|
|
1372
1372
|
])
|
|
1373
1373
|
]),
|
|
1374
1374
|
_: 1
|
|
1375
1375
|
}));
|
|
1376
1376
|
}
|
|
1377
|
-
}), Sn = { class: "my-4" },
|
|
1377
|
+
}), Sn = { class: "my-4" }, Mn = { class: "bg-surface-variant rounded pa-2 d-block" }, In = /* @__PURE__ */ y({
|
|
1378
1378
|
__name: "VoMcpHowTo",
|
|
1379
1379
|
setup(p) {
|
|
1380
|
-
const t = ze(), { copy: i, copied:
|
|
1380
|
+
const t = ze(), { copy: i, copied: o } = Oe(), 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
|
+
n(Go, null, {
|
|
1388
1388
|
title: s(() => [
|
|
1389
|
-
|
|
1389
|
+
n(S, {
|
|
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] = M(" How to Use Your API Key with Vuetify MCP ", -1))
|
|
1395
1395
|
]),
|
|
1396
1396
|
default: s(() => [
|
|
1397
|
-
|
|
1397
|
+
n(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
|
-
v("code",
|
|
1403
|
-
|
|
1404
|
-
|
|
1402
|
+
v("code", Mn, [
|
|
1403
|
+
M(C(e(l)) + " ", 1),
|
|
1404
|
+
n(S, {
|
|
1405
1405
|
class: "ms-2",
|
|
1406
1406
|
end: "",
|
|
1407
|
-
icon: e(
|
|
1407
|
+
icon: e(o) ? "$success" : `svg:${e(Ee)}`,
|
|
1408
1408
|
size: "1em",
|
|
1409
1409
|
onClick: c[0] || (c[0] = (d) => e(i)(e(r)))
|
|
1410
1410
|
}, null, 8, ["icon"])
|
|
@@ -1421,7 +1421,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1421
1421
|
_: 1
|
|
1422
1422
|
}));
|
|
1423
1423
|
}
|
|
1424
|
-
}),
|
|
1424
|
+
}), Dn = { class: "px-3 py-3" }, An = /* @__PURE__ */ y({
|
|
1425
1425
|
__name: "VoMcpDialog",
|
|
1426
1426
|
props: {
|
|
1427
1427
|
modelValue: { type: Boolean },
|
|
@@ -1429,57 +1429,57 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1429
1429
|
},
|
|
1430
1430
|
emits: ["update:modelValue"],
|
|
1431
1431
|
setup(p) {
|
|
1432
|
-
const t = ze(), i =
|
|
1432
|
+
const t = ze(), i = I(!1), o = E(p, "modelValue");
|
|
1433
1433
|
async function r(l = !1) {
|
|
1434
1434
|
await t.generate(l), i.value = !0;
|
|
1435
1435
|
}
|
|
1436
|
-
return
|
|
1436
|
+
return j(o, async (l) => {
|
|
1437
1437
|
l && await t.fetch();
|
|
1438
1438
|
}), (l, a) => {
|
|
1439
|
-
const c =
|
|
1440
|
-
return u(), m(
|
|
1441
|
-
modelValue:
|
|
1442
|
-
"onUpdate:modelValue": a[3] || (a[3] = (
|
|
1439
|
+
const c = ae, d = In, f = wn, g = $n, _ = ce;
|
|
1440
|
+
return u(), m(_, {
|
|
1441
|
+
modelValue: o.value,
|
|
1442
|
+
"onUpdate:modelValue": a[3] || (a[3] = (V) => o.value = V),
|
|
1443
1443
|
height: "auto",
|
|
1444
1444
|
"prepend-icon": `svg:${e(ao)}`,
|
|
1445
1445
|
title: "API Key"
|
|
1446
1446
|
}, {
|
|
1447
1447
|
default: s(() => [
|
|
1448
|
-
|
|
1448
|
+
n(le, null, {
|
|
1449
1449
|
default: s(() => [
|
|
1450
|
-
|
|
1450
|
+
n(ue, null, {
|
|
1451
1451
|
default: s(() => [
|
|
1452
|
-
v("div",
|
|
1453
|
-
|
|
1452
|
+
v("div", Dn, [
|
|
1453
|
+
n(W, null, {
|
|
1454
1454
|
default: s(() => [
|
|
1455
|
-
|
|
1455
|
+
n(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
|
+
n(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
|
+
n(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(A, {
|
|
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
|
-
onClick: a[1] || (a[1] = (
|
|
1476
|
-
}, null, 8, ["prepend-icon"])) : (u(), m(
|
|
1475
|
+
onClick: a[1] || (a[1] = (V) => r(!0))
|
|
1476
|
+
}, null, 8, ["prepend-icon"])) : (u(), m(A, {
|
|
1477
1477
|
key: 0,
|
|
1478
1478
|
color: "success",
|
|
1479
1479
|
"prepend-icon": `svg:${e(io)}`,
|
|
1480
1480
|
text: "Generate API Key",
|
|
1481
1481
|
variant: "flat",
|
|
1482
|
-
onClick: a[0] || (a[0] = (
|
|
1482
|
+
onClick: a[0] || (a[0] = (V) => r(!1))
|
|
1483
1483
|
}, null, 8, ["prepend-icon"]))
|
|
1484
1484
|
]),
|
|
1485
1485
|
_: 1
|
|
@@ -1487,11 +1487,11 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1487
1487
|
]),
|
|
1488
1488
|
_: 1
|
|
1489
1489
|
})) : h("", !0),
|
|
1490
|
-
e(t).key ? (u(),
|
|
1491
|
-
|
|
1492
|
-
|
|
1490
|
+
e(t).key ? (u(), k(D, { key: 1 }, [
|
|
1491
|
+
n(f),
|
|
1492
|
+
n(g, {
|
|
1493
1493
|
modelValue: e(i),
|
|
1494
|
-
"onUpdate:modelValue": a[2] || (a[2] = (
|
|
1494
|
+
"onUpdate:modelValue": a[2] || (a[2] = (V) => R(i) ? i.value = V : null)
|
|
1495
1495
|
}, null, 8, ["modelValue"])
|
|
1496
1496
|
], 64)) : h("", !0)
|
|
1497
1497
|
]),
|
|
@@ -1512,9 +1512,9 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1512
1512
|
}), Tn = /* @__PURE__ */ y({
|
|
1513
1513
|
__name: "VoMcpListItem",
|
|
1514
1514
|
setup(p) {
|
|
1515
|
-
const t =
|
|
1516
|
-
return (i,
|
|
1517
|
-
const r =
|
|
1515
|
+
const t = I(!1);
|
|
1516
|
+
return (i, o) => {
|
|
1517
|
+
const r = An, l = q;
|
|
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
|
+
n(r, {
|
|
1526
1526
|
modelValue: e(t),
|
|
1527
|
-
"onUpdate:modelValue":
|
|
1527
|
+
"onUpdate:modelValue": o[0] || (o[0] = (a) => R(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 (
|
|
1539
|
-
const l =
|
|
1538
|
+
return (o, r) => {
|
|
1539
|
+
const l = ae;
|
|
1540
1540
|
return u(), m(fe, null, {
|
|
1541
1541
|
default: s(() => [
|
|
1542
|
-
|
|
1542
|
+
n(re, { cols: "12" }, {
|
|
1543
1543
|
default: s(() => [
|
|
1544
|
-
|
|
1544
|
+
n(l, {
|
|
1545
1545
|
text: "View and download your invoice history.",
|
|
1546
1546
|
title: "Invoice History"
|
|
1547
1547
|
}),
|
|
1548
|
-
|
|
1548
|
+
n(T, {
|
|
1549
1549
|
border: "",
|
|
1550
1550
|
rounded: "lg"
|
|
1551
1551
|
}, {
|
|
1552
1552
|
default: s(() => [
|
|
1553
|
-
|
|
1553
|
+
n(bt, {
|
|
1554
1554
|
"fixed-header": "",
|
|
1555
1555
|
height: "450",
|
|
1556
1556
|
items: e(i).invoices,
|
|
@@ -1558,13 +1558,13 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1558
1558
|
sticky: ""
|
|
1559
1559
|
}, {
|
|
1560
1560
|
"item.date": s(({ item: a }) => [
|
|
1561
|
-
v("div", Un,
|
|
1561
|
+
v("div", Un, C(e(t).format(new Date(a.date * 1e3), "fullDateWithWeekday")), 1)
|
|
1562
1562
|
]),
|
|
1563
1563
|
"item.amount": s(({ item: a }) => [
|
|
1564
|
-
|
|
1564
|
+
M(" $" + C(a.amount / 100), 1)
|
|
1565
1565
|
]),
|
|
1566
1566
|
"item.status": s(({ item: a }) => [
|
|
1567
|
-
|
|
1567
|
+
n(oe, {
|
|
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
|
+
n(A, {
|
|
1579
1579
|
href: a.pdf,
|
|
1580
1580
|
icon: `svg:${e(ft)}`,
|
|
1581
1581
|
size: "small",
|
|
@@ -1596,25 +1596,25 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1596
1596
|
});
|
|
1597
1597
|
};
|
|
1598
1598
|
}
|
|
1599
|
-
}), zn = { class: "d-flex align-center" }, On = ["textContent"], Pn = { class: "me-1" }, Fn = { class: "text-medium-emphasis text-caption" }, Nn = { class: "d-flex align-center" },
|
|
1599
|
+
}), zn = { class: "d-flex align-center" }, On = ["textContent"], Pn = { class: "me-1" }, Fn = { class: "text-medium-emphasis text-caption" }, Nn = { class: "d-flex align-center" }, Zn = { class: "d-flex align-start justify-space-between text-caption py-2" }, Hn = { class: "font-weight-bold" }, jn = { class: "font-weight-bold" }, En = /* @__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(), o = B(), r = t, l = b(() => {
|
|
1604
|
+
if (!o.info) return;
|
|
1605
|
+
const c = new Date(o.info.currentPeriodEnd * 1e3);
|
|
1606
1606
|
return i.format(c, "keyboardDate");
|
|
1607
1607
|
});
|
|
1608
1608
|
async function a() {
|
|
1609
|
-
!
|
|
1609
|
+
!o.interval || !o.subscriptionType || (o.isLoading = !0, o.subscribe(o.interval, o.subscriptionType));
|
|
1610
1610
|
}
|
|
1611
1611
|
return (c, d) => {
|
|
1612
|
-
const f =
|
|
1612
|
+
const f = ke;
|
|
1613
1613
|
return u(), m(fe, null, {
|
|
1614
1614
|
default: s(() => [
|
|
1615
|
-
|
|
1615
|
+
n(re, { cols: "12" }, {
|
|
1616
1616
|
default: s(() => [
|
|
1617
|
-
|
|
1617
|
+
n(T, {
|
|
1618
1618
|
border: "",
|
|
1619
1619
|
flat: "",
|
|
1620
1620
|
"prepend-icon": "$vuetify",
|
|
@@ -1622,51 +1622,51 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1622
1622
|
title: "Subscription Status"
|
|
1623
1623
|
}, P({
|
|
1624
1624
|
prepend: s(() => [
|
|
1625
|
-
|
|
1626
|
-
color: e(
|
|
1625
|
+
n(S, {
|
|
1626
|
+
color: e(o).isSubscriber ? "success" : void 0
|
|
1627
1627
|
}, null, 8, ["color"])
|
|
1628
1628
|
]),
|
|
1629
1629
|
append: s(() => [
|
|
1630
|
-
e(
|
|
1630
|
+
e(o).hasBilling && e(o).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(o).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(o).hasBilling ? (u(), m(f, {
|
|
1641
1641
|
key: 1,
|
|
1642
|
-
loading: e(
|
|
1642
|
+
loading: e(o).isLoading,
|
|
1643
1643
|
"prepend-icon": `svg:${e(uo)}`,
|
|
1644
1644
|
text: "Billing",
|
|
1645
|
-
onClick: e(
|
|
1645
|
+
onClick: e(o).manage
|
|
1646
1646
|
}, null, 8, ["loading", "prepend-icon", "onClick"])) : h("", !0)
|
|
1647
1647
|
]),
|
|
1648
1648
|
_: 2
|
|
1649
1649
|
}, [
|
|
1650
|
-
e(
|
|
1650
|
+
e(o).info ? {
|
|
1651
1651
|
name: "subtitle",
|
|
1652
1652
|
fn: s(() => [
|
|
1653
1653
|
v("div", zn, [
|
|
1654
1654
|
v("strong", {
|
|
1655
1655
|
key: "status",
|
|
1656
1656
|
class: "text-capitalize hidden-sm-and-down",
|
|
1657
|
-
textContent:
|
|
1657
|
+
textContent: C(e(o).info.status)
|
|
1658
1658
|
}, null, 8, On),
|
|
1659
|
-
e(
|
|
1659
|
+
e(o).info.items.length > 0 ? (u(), k(D, { 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, "/" +
|
|
1662
|
+
M(" $" + C(e(o).info.items[0].plan.amount / 100), 1),
|
|
1663
|
+
v("span", Fn, "/" + C(e(o).interval), 1)
|
|
1664
1664
|
]),
|
|
1665
|
-
|
|
1665
|
+
n(f, {
|
|
1666
1666
|
size: "x-small",
|
|
1667
1667
|
text: "(Change Subscription)",
|
|
1668
1668
|
variant: "text",
|
|
1669
|
-
onClick: d[0] || (d[0] = (
|
|
1669
|
+
onClick: d[0] || (d[0] = (g) => r("change:subscription"))
|
|
1670
1670
|
})
|
|
1671
1671
|
], 64)) : h("", !0)
|
|
1672
1672
|
])
|
|
@@ -1676,13 +1676,13 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1676
1676
|
name: "subtitle",
|
|
1677
1677
|
fn: s(() => [
|
|
1678
1678
|
v("div", Nn, [
|
|
1679
|
-
|
|
1679
|
+
n(ge, {
|
|
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
|
+
n(ge, {
|
|
1686
1686
|
height: "16",
|
|
1687
1687
|
type: "ossein",
|
|
1688
1688
|
width: "80"
|
|
@@ -1692,16 +1692,16 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1692
1692
|
key: "1"
|
|
1693
1693
|
}
|
|
1694
1694
|
]), 1024),
|
|
1695
|
-
v("div",
|
|
1695
|
+
v("div", Zn, [
|
|
1696
1696
|
v("div", null, [
|
|
1697
|
-
e(
|
|
1698
|
-
d[3] || (d[3] =
|
|
1699
|
-
v("span",
|
|
1700
|
-
d[4] || (d[4] =
|
|
1701
|
-
], 64)) : (u(),
|
|
1702
|
-
d[5] || (d[5] =
|
|
1703
|
-
v("span",
|
|
1704
|
-
d[6] || (d[6] =
|
|
1697
|
+
e(o).info?.status === "active" ? (u(), k(D, { key: 0 }, [
|
|
1698
|
+
d[3] || (d[3] = M(" Your plan renews on ", -1)),
|
|
1699
|
+
v("span", Hn, C(e(i).format(e(l), "fullDateWithWeekday")), 1),
|
|
1700
|
+
d[4] || (d[4] = M(". ", -1))
|
|
1701
|
+
], 64)) : (u(), k(D, { key: 1 }, [
|
|
1702
|
+
d[5] || (d[5] = M(" Your plan ends on ", -1)),
|
|
1703
|
+
v("span", jn, C(e(i).format(e(o).info?.currentPeriodEnd, "fullDateWithWeekday")), 1),
|
|
1704
|
+
d[6] || (d[6] = M(". ", -1))
|
|
1705
1705
|
], 64))
|
|
1706
1706
|
])
|
|
1707
1707
|
])
|
|
@@ -1713,7 +1713,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1713
1713
|
});
|
|
1714
1714
|
};
|
|
1715
1715
|
}
|
|
1716
|
-
}),
|
|
1716
|
+
}), Rn = ["innerHTML"], qn = ["innerHTML"], Wn = /* @__PURE__ */ y({
|
|
1717
1717
|
__name: "VoSubscriptionPerks",
|
|
1718
1718
|
props: {
|
|
1719
1719
|
type: {}
|
|
@@ -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 =
|
|
1726
|
+
], i = I(!1), o = 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>',
|
|
@@ -1735,39 +1735,39 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1735
1735
|
];
|
|
1736
1736
|
return p.type === "team" && l.unshift("Invite up to 25 team members"), l;
|
|
1737
1737
|
});
|
|
1738
|
-
return
|
|
1739
|
-
l &&
|
|
1738
|
+
return j(i, async (l) => {
|
|
1739
|
+
l && o.subscriptionInfo();
|
|
1740
1740
|
}), (l, a) => {
|
|
1741
|
-
const c =
|
|
1742
|
-
return u(),
|
|
1743
|
-
|
|
1741
|
+
const c = q;
|
|
1742
|
+
return u(), k(D, null, [
|
|
1743
|
+
n(Ne, { class: "font-weight-black" }, {
|
|
1744
1744
|
default: s(() => [...a[0] || (a[0] = [
|
|
1745
|
-
|
|
1745
|
+
M("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
|
+
n(ne, {
|
|
1751
1751
|
class: "py-0",
|
|
1752
1752
|
density: "compact",
|
|
1753
1753
|
lines: !1,
|
|
1754
1754
|
nav: ""
|
|
1755
1755
|
}, {
|
|
1756
1756
|
default: s(() => [
|
|
1757
|
-
(u(!0),
|
|
1757
|
+
(u(!0), k(D, null, G(e(r), (d, f) => (u(), m(c, {
|
|
1758
1758
|
key: f,
|
|
1759
1759
|
class: "mb-0",
|
|
1760
1760
|
"prepend-icon": `svg:${e(he)}`
|
|
1761
1761
|
}, {
|
|
1762
1762
|
prepend: s(() => [
|
|
1763
|
-
|
|
1763
|
+
n(S, {
|
|
1764
1764
|
class: "mx-n2",
|
|
1765
1765
|
color: "success",
|
|
1766
1766
|
size: "small"
|
|
1767
1767
|
})
|
|
1768
1768
|
]),
|
|
1769
1769
|
title: s(() => [
|
|
1770
|
-
v("div", { innerHTML: d }, null, 8,
|
|
1770
|
+
v("div", { innerHTML: d }, null, 8, Rn)
|
|
1771
1771
|
]),
|
|
1772
1772
|
_: 2
|
|
1773
1773
|
}, 1032, ["prepend-icon"]))), 128))
|
|
@@ -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
|
+
n(Ne, { class: "font-weight-black" }, {
|
|
1779
1779
|
default: s(() => [...a[1] || (a[1] = [
|
|
1780
|
-
|
|
1780
|
+
M("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
|
+
n(ne, {
|
|
1786
1786
|
class: "py-0",
|
|
1787
1787
|
density: "compact",
|
|
1788
1788
|
lines: !1,
|
|
1789
1789
|
nav: ""
|
|
1790
1790
|
}, {
|
|
1791
1791
|
default: s(() => [
|
|
1792
|
-
(u(),
|
|
1792
|
+
(u(), k(D, null, G(t, (d, f) => n(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
|
+
n(S, {
|
|
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 =
|
|
1824
|
+
const t = I(!1), i = E(p, "interval"), o = E(p, "type"), r = B(), l = Me(), a = b(() => l.hasTeamAccess && !l.isTeamOwner), c = {
|
|
1825
1825
|
solo: {
|
|
1826
1826
|
month: "2.99 /month",
|
|
1827
1827
|
year: "29.99 /year"
|
|
@@ -1831,37 +1831,37 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1831
1831
|
year: "299.99 /year"
|
|
1832
1832
|
}
|
|
1833
1833
|
};
|
|
1834
|
-
return
|
|
1834
|
+
return j(t, async (d) => {
|
|
1835
1835
|
d && r.subscriptionInfo();
|
|
1836
|
-
}), (d, f) => (u(),
|
|
1837
|
-
|
|
1838
|
-
modelValue:
|
|
1839
|
-
"onUpdate:modelValue": f[0] || (f[0] = (
|
|
1836
|
+
}), (d, f) => (u(), k(D, null, [
|
|
1837
|
+
n(yt, {
|
|
1838
|
+
modelValue: o.value,
|
|
1839
|
+
"onUpdate:modelValue": f[0] || (f[0] = (g) => o.value = g),
|
|
1840
1840
|
class: "mb-4",
|
|
1841
1841
|
mandatory: ""
|
|
1842
1842
|
}, {
|
|
1843
1843
|
default: s(() => [
|
|
1844
|
-
|
|
1844
|
+
n(fe, null, {
|
|
1845
1845
|
default: s(() => [
|
|
1846
|
-
|
|
1846
|
+
n(re, {
|
|
1847
1847
|
cols: "12",
|
|
1848
1848
|
md: "6"
|
|
1849
1849
|
}, {
|
|
1850
1850
|
default: s(() => [
|
|
1851
|
-
|
|
1852
|
-
default: s(({ toggle:
|
|
1853
|
-
|
|
1854
|
-
border:
|
|
1855
|
-
color:
|
|
1856
|
-
"prepend-icon":
|
|
1851
|
+
n(Ze, { value: "solo" }, {
|
|
1852
|
+
default: s(({ toggle: g, isSelected: _ }) => [
|
|
1853
|
+
n(T, {
|
|
1854
|
+
border: _ ? "sm primary opacity-50" : "sm",
|
|
1855
|
+
color: _ ? "primary" : void 0,
|
|
1856
|
+
"prepend-icon": _ ? `svg:${e(Le)}` : "$radioOff",
|
|
1857
1857
|
rounded: "lg",
|
|
1858
1858
|
subtitle: `$${c.solo[i.value]}`,
|
|
1859
1859
|
title: "Solo Developer",
|
|
1860
|
-
variant:
|
|
1861
|
-
onClick:
|
|
1860
|
+
variant: _ ? "tonal" : "text",
|
|
1861
|
+
onClick: g
|
|
1862
1862
|
}, {
|
|
1863
1863
|
prepend: s(() => [
|
|
1864
|
-
|
|
1864
|
+
n(S, { class: "mt-n6" })
|
|
1865
1865
|
]),
|
|
1866
1866
|
_: 1
|
|
1867
1867
|
}, 8, ["border", "color", "prepend-icon", "subtitle", "variant", "onClick"])
|
|
@@ -1871,26 +1871,26 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1871
1871
|
]),
|
|
1872
1872
|
_: 1
|
|
1873
1873
|
}),
|
|
1874
|
-
|
|
1874
|
+
n(re, {
|
|
1875
1875
|
cols: "12",
|
|
1876
1876
|
md: "6"
|
|
1877
1877
|
}, {
|
|
1878
1878
|
default: s(() => [
|
|
1879
|
-
|
|
1880
|
-
default: s(({ toggle:
|
|
1881
|
-
|
|
1882
|
-
border:
|
|
1883
|
-
color:
|
|
1879
|
+
n(Ze, { value: "team" }, {
|
|
1880
|
+
default: s(({ toggle: g, isSelected: _ }) => [
|
|
1881
|
+
n(T, {
|
|
1882
|
+
border: _ ? "sm primary opacity-50" : "sm",
|
|
1883
|
+
color: _ ? "primary" : void 0,
|
|
1884
1884
|
disabled: e(a),
|
|
1885
|
-
"prepend-icon":
|
|
1885
|
+
"prepend-icon": _ ? `svg:${e(Le)}` : "$radioOff",
|
|
1886
1886
|
rounded: "lg",
|
|
1887
1887
|
subtitle: `$${c.team[i.value]}`,
|
|
1888
1888
|
title: "Team Access",
|
|
1889
|
-
variant:
|
|
1890
|
-
onClick:
|
|
1889
|
+
variant: _ ? "tonal" : "text",
|
|
1890
|
+
onClick: g
|
|
1891
1891
|
}, {
|
|
1892
1892
|
prepend: s(() => [
|
|
1893
|
-
|
|
1893
|
+
n(S, { class: "mt-n6" })
|
|
1894
1894
|
]),
|
|
1895
1895
|
_: 1
|
|
1896
1896
|
}, 8, ["border", "color", "disabled", "prepend-icon", "subtitle", "variant", "onClick"])
|
|
@@ -1906,9 +1906,9 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1906
1906
|
]),
|
|
1907
1907
|
_: 1
|
|
1908
1908
|
}, 8, ["modelValue"]),
|
|
1909
|
-
|
|
1909
|
+
n(Ge, {
|
|
1910
1910
|
modelValue: i.value,
|
|
1911
|
-
"onUpdate:modelValue": f[1] || (f[1] = (
|
|
1911
|
+
"onUpdate:modelValue": f[1] || (f[1] = (g) => i.value = g),
|
|
1912
1912
|
"false-value": "month",
|
|
1913
1913
|
"hide-details": "",
|
|
1914
1914
|
inset: "",
|
|
@@ -1925,67 +1925,67 @@ const Cn = /* @__PURE__ */ y({
|
|
|
1925
1925
|
},
|
|
1926
1926
|
emits: ["update:modelValue"],
|
|
1927
1927
|
setup(p) {
|
|
1928
|
-
function t(
|
|
1929
|
-
return new Promise((
|
|
1928
|
+
function t(g) {
|
|
1929
|
+
return new Promise((_) => setTimeout(_, g));
|
|
1930
1930
|
}
|
|
1931
|
-
const i =
|
|
1932
|
-
|
|
1933
|
-
!
|
|
1934
|
-
}),
|
|
1935
|
-
if (!
|
|
1936
|
-
|
|
1931
|
+
const i = E(p, "modelValue"), o = B(), r = ye(), l = I(o.interval), a = I(o.subscriptionType), c = I(o.hasBilling ? "status" : "subscribe"), d = I(!1);
|
|
1932
|
+
j([l, a], ([g, _]) => {
|
|
1933
|
+
!o.isSubscriber || !o.interval || !o.subscriptionType || (d.value = g !== o.interval || _ !== o.subscriptionType);
|
|
1934
|
+
}), j(i, async (g) => {
|
|
1935
|
+
if (!g || !o.isSubscriber) {
|
|
1936
|
+
g || o.resetQuery();
|
|
1937
1937
|
return;
|
|
1938
1938
|
}
|
|
1939
|
-
|
|
1940
|
-
}),
|
|
1941
|
-
!
|
|
1939
|
+
o.subscriptionInfo();
|
|
1940
|
+
}), j(r, async () => {
|
|
1941
|
+
!o.sessionId && !["subscribe", "status"].includes(r.value.one) || r.value.team || (c.value = o.sessionId || r.value.one === "status" ? "status" : "subscribe", o.isOpen = !0, await _e(), i.value = !0);
|
|
1942
1942
|
}, { immediate: !0 }), Ot(() => {
|
|
1943
|
-
l.value =
|
|
1943
|
+
l.value = o.interval ?? "year", a.value = o.subscriptionType ?? "solo";
|
|
1944
1944
|
});
|
|
1945
1945
|
async function f() {
|
|
1946
|
-
await
|
|
1946
|
+
await o.modify(l.value, a.value), await o.subscriptionInfo(), d.value = null, await t(3e3), c.value = "status", await t(300), d.value = !1;
|
|
1947
1947
|
}
|
|
1948
|
-
return (
|
|
1949
|
-
const
|
|
1950
|
-
return u(), m(
|
|
1948
|
+
return (g, _) => {
|
|
1949
|
+
const V = ae, $ = Gn, w = Wn, O = En, X = Bn, x = ke, Ce = ce;
|
|
1950
|
+
return u(), m(Ce, {
|
|
1951
1951
|
modelValue: i.value,
|
|
1952
|
-
"onUpdate:modelValue":
|
|
1952
|
+
"onUpdate:modelValue": _[5] || (_[5] = (z) => i.value = z),
|
|
1953
1953
|
"prepend-icon": `svg:${e(po)}`,
|
|
1954
1954
|
title: "Subscriptions"
|
|
1955
1955
|
}, P({
|
|
1956
1956
|
default: s(() => [
|
|
1957
|
-
|
|
1957
|
+
n(le, null, {
|
|
1958
1958
|
default: s(() => [
|
|
1959
|
-
|
|
1959
|
+
n(ue, { scrollable: "" }, {
|
|
1960
1960
|
default: s(() => [
|
|
1961
1961
|
v("div", Kn, [
|
|
1962
|
-
|
|
1962
|
+
n(W, null, {
|
|
1963
1963
|
default: s(() => [
|
|
1964
|
-
|
|
1964
|
+
n(V, {
|
|
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
|
+
n(Vt, { "model-value": e(c) }, {
|
|
1969
1969
|
default: s(() => [
|
|
1970
|
-
|
|
1970
|
+
n(ve, { value: "subscribe" }, {
|
|
1971
1971
|
default: s(() => [
|
|
1972
|
-
|
|
1972
|
+
n($, {
|
|
1973
1973
|
interval: e(l),
|
|
1974
|
-
"onUpdate:interval":
|
|
1974
|
+
"onUpdate:interval": _[0] || (_[0] = (z) => R(l) ? l.value = z : null),
|
|
1975
1975
|
type: e(a),
|
|
1976
|
-
"onUpdate:type":
|
|
1976
|
+
"onUpdate:type": _[1] || (_[1] = (z) => R(a) ? a.value = z : null)
|
|
1977
1977
|
}, null, 8, ["interval", "type"]),
|
|
1978
|
-
|
|
1979
|
-
|
|
1978
|
+
_[6] || (_[6] = v("br", null, null, -1)),
|
|
1979
|
+
n(w, { type: e(a) }, null, 8, ["type"])
|
|
1980
1980
|
]),
|
|
1981
1981
|
_: 1
|
|
1982
1982
|
}),
|
|
1983
|
-
|
|
1983
|
+
n(ve, { value: "status" }, {
|
|
1984
1984
|
default: s(() => [
|
|
1985
|
-
|
|
1986
|
-
"onChange:subscription":
|
|
1985
|
+
n(O, {
|
|
1986
|
+
"onChange:subscription": _[2] || (_[2] = (z) => c.value = "subscribe")
|
|
1987
1987
|
}),
|
|
1988
|
-
|
|
1988
|
+
n(X)
|
|
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(x, {
|
|
2013
2013
|
key: 0,
|
|
2014
2014
|
block: "",
|
|
2015
2015
|
color: "success",
|
|
2016
|
-
loading: e(
|
|
2017
|
-
"prepend-icon": `svg:${e(d) !== null ? e(mo) : e(
|
|
2016
|
+
loading: e(o).isLoading,
|
|
2017
|
+
"prepend-icon": `svg:${e(d) !== null ? e(mo) : e(Le)}`,
|
|
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(o).one ? (u(), m(x, {
|
|
2023
2023
|
key: 2,
|
|
2024
2024
|
block: "",
|
|
2025
2025
|
"prepend-icon": `svg:${e(fo)}`,
|
|
2026
2026
|
size: "default",
|
|
2027
2027
|
text: "Manage Subscription",
|
|
2028
|
-
onClick:
|
|
2029
|
-
}, null, 8, ["prepend-icon"])) : (u(), m(
|
|
2028
|
+
onClick: _[4] || (_[4] = (z) => c.value = "status")
|
|
2029
|
+
}, null, 8, ["prepend-icon"])) : (u(), m(x, {
|
|
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(o).isLoading,
|
|
2035
2035
|
"prepend-icon": "$vuetify",
|
|
2036
2036
|
size: "default",
|
|
2037
2037
|
text: "Activate Subscription",
|
|
2038
|
-
onClick:
|
|
2038
|
+
onClick: _[3] || (_[3] = (z) => e(o).subscribe(e(l), e(a)))
|
|
2039
2039
|
}, null, 8, ["color", "disabled", "loading"]))
|
|
2040
2040
|
])
|
|
2041
2041
|
]),
|
|
@@ -2047,9 +2047,9 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2047
2047
|
}), Xn = /* @__PURE__ */ y({
|
|
2048
2048
|
__name: "VoSubscriptionListItem",
|
|
2049
2049
|
setup(p) {
|
|
2050
|
-
const t =
|
|
2051
|
-
return (i,
|
|
2052
|
-
const r = Yn, l =
|
|
2050
|
+
const t = I(!1);
|
|
2051
|
+
return (i, o) => {
|
|
2052
|
+
const r = Yn, l = q;
|
|
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
|
+
n(r, {
|
|
2061
2061
|
modelValue: e(t),
|
|
2062
|
-
"onUpdate:modelValue":
|
|
2062
|
+
"onUpdate:modelValue": o[0] || (o[0] = (a) => R(t) ? t.value = a : null)
|
|
2063
2063
|
}, null, 8, ["modelValue"])
|
|
2064
2064
|
]),
|
|
2065
2065
|
_: 1
|
|
@@ -2081,9 +2081,9 @@ 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(), o = b(() => `$${Number.parseFloat(String((t.sponsorship?.amount ?? 0) / 100)).toFixed(2)} /${t.sponsorship?.interval}`);
|
|
2085
2085
|
return (r, l) => {
|
|
2086
|
-
const a =
|
|
2086
|
+
const a = ke;
|
|
2087
2087
|
return u(), m(Yo, {
|
|
2088
2088
|
"dot-color": r.sponsorship?.isActive ? "success" : "transparent",
|
|
2089
2089
|
icon: r.sponsorship?.isActive ? `svg:${e(he)}` : void 0,
|
|
@@ -2091,7 +2091,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2091
2091
|
width: "100%"
|
|
2092
2092
|
}, {
|
|
2093
2093
|
default: s(() => [
|
|
2094
|
-
|
|
2094
|
+
n(T, {
|
|
2095
2095
|
border: "",
|
|
2096
2096
|
"prepend-avatar": `${e(i).CDN_URL}logos/${r.logo}.png`,
|
|
2097
2097
|
rounded: "lg",
|
|
@@ -2099,14 +2099,14 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2099
2099
|
variant: "text"
|
|
2100
2100
|
}, {
|
|
2101
2101
|
subtitle: s(() => [
|
|
2102
|
-
r.sponsorship?.isActive ? (u(),
|
|
2103
|
-
|
|
2104
|
-
icon: `svg:${e(
|
|
2102
|
+
r.sponsorship?.isActive ? (u(), k("div", Jn, [
|
|
2103
|
+
n(S, {
|
|
2104
|
+
icon: `svg:${e(go)}`,
|
|
2105
2105
|
size: "x-small"
|
|
2106
2106
|
}, null, 8, ["icon"]),
|
|
2107
|
-
|
|
2108
|
-
])) : (u(),
|
|
2109
|
-
|
|
2107
|
+
M(" " + C(e(o)), 1)
|
|
2108
|
+
])) : (u(), k(D, { key: 1 }, [
|
|
2109
|
+
M(C(r.text), 1)
|
|
2110
2110
|
], 64))
|
|
2111
2111
|
]),
|
|
2112
2112
|
append: s(() => [
|
|
@@ -2120,7 +2120,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2120
2120
|
active: !1,
|
|
2121
2121
|
color: r.sponsorship?.isActive ? "success" : "primary",
|
|
2122
2122
|
href: r.sponsorship?.isActive || r.to ? void 0 : r.href,
|
|
2123
|
-
"prepend-icon": `svg:${r.sponsorship?.isActive ? e(
|
|
2123
|
+
"prepend-icon": `svg:${r.sponsorship?.isActive ? e(Le) : e(Ie)}`,
|
|
2124
2124
|
readonly: r.sponsorship?.isActive,
|
|
2125
2125
|
target: r.sponsorship?.isActive || r.to ? void 0 : "_blank",
|
|
2126
2126
|
text: r.sponsorship?.isActive ? "Active" : "Info",
|
|
@@ -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, o) => {
|
|
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, o) => {
|
|
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, o) => {
|
|
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 o = 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
|
-
o
|
|
2197
|
-
|
|
2198
|
-
|
|
2196
|
+
n(o),
|
|
2197
|
+
n(r),
|
|
2198
|
+
n(l)
|
|
2199
2199
|
]),
|
|
2200
2200
|
_: 1
|
|
2201
2201
|
});
|
|
@@ -2209,50 +2209,50 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2209
2209
|
},
|
|
2210
2210
|
emits: ["update:modelValue"],
|
|
2211
2211
|
setup(p) {
|
|
2212
|
-
const t =
|
|
2213
|
-
return
|
|
2214
|
-
i.value.one === "sponsorships" && (
|
|
2212
|
+
const t = E(p, "modelValue"), i = ye(), o = B();
|
|
2213
|
+
return j(i, async () => {
|
|
2214
|
+
i.value.one === "sponsorships" && (o.isOpen = !0, await _e(), t.value = !0);
|
|
2215
2215
|
}, { immediate: !0 }), (r, l) => {
|
|
2216
|
-
const a =
|
|
2216
|
+
const a = ae, c = ns, d = ce;
|
|
2217
2217
|
return u(), m(d, {
|
|
2218
2218
|
modelValue: t.value,
|
|
2219
2219
|
"onUpdate:modelValue": l[0] || (l[0] = (f) => t.value = f),
|
|
2220
|
-
"prepend-icon": `svg:${e(
|
|
2220
|
+
"prepend-icon": `svg:${e(_o)}`,
|
|
2221
2221
|
title: "Sponsorships"
|
|
2222
2222
|
}, {
|
|
2223
2223
|
default: s(() => [
|
|
2224
|
-
|
|
2224
|
+
n(le, null, {
|
|
2225
2225
|
default: s(() => [
|
|
2226
|
-
|
|
2226
|
+
n(ue, { scrollable: "" }, {
|
|
2227
2227
|
default: s(() => [
|
|
2228
2228
|
v("div", ss, [
|
|
2229
|
-
|
|
2229
|
+
n(W, { class: "flex-0-0 mb-16 mb-sm-4" }, {
|
|
2230
2230
|
default: s(() => [
|
|
2231
|
-
|
|
2231
|
+
n(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
|
+
n(c)
|
|
2236
2236
|
]),
|
|
2237
2237
|
_: 1
|
|
2238
2238
|
}),
|
|
2239
|
-
|
|
2239
|
+
n(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
|
+
n(S, {
|
|
2247
|
+
color: e(o).isSubscriber ? "success" : "error"
|
|
2248
2248
|
}, null, 8, ["color"])
|
|
2249
2249
|
]),
|
|
2250
2250
|
title: s(() => [
|
|
2251
|
-
l[1] || (l[1] =
|
|
2252
|
-
v("span", as,
|
|
2251
|
+
l[1] || (l[1] = M(" One Status: ", -1)),
|
|
2252
|
+
v("span", as, C(e(o).isSubscriber ? "Active" : "Inactive"), 1)
|
|
2253
2253
|
]),
|
|
2254
2254
|
text: s(() => [
|
|
2255
|
-
v("div", is,
|
|
2255
|
+
v("div", is, C(e(o).isSubscriber ? "You are currently receiving benefits of Vuetify One." : "Login to activate Vuetify One benefits"), 1)
|
|
2256
2256
|
]),
|
|
2257
2257
|
_: 1
|
|
2258
2258
|
})
|
|
@@ -2271,9 +2271,9 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2271
2271
|
}), ls = /* @__PURE__ */ y({
|
|
2272
2272
|
__name: "VoSponsorshipsListItem",
|
|
2273
2273
|
setup(p) {
|
|
2274
|
-
const t =
|
|
2275
|
-
return (i,
|
|
2276
|
-
const r = rs, l =
|
|
2274
|
+
const t = I(!1);
|
|
2275
|
+
return (i, o) => {
|
|
2276
|
+
const r = rs, l = q;
|
|
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
|
+
n(r, {
|
|
2285
2285
|
modelValue: e(t),
|
|
2286
|
-
"onUpdate:modelValue":
|
|
2286
|
+
"onUpdate:modelValue": o[0] || (o[0] = (a) => R(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 =
|
|
2294
|
+
const p = Y(), t = ee(), i = N([]), o = I(!1);
|
|
2295
2295
|
async function r() {
|
|
2296
2296
|
if (i.value.length > 0)
|
|
2297
2297
|
return i.value;
|
|
2298
|
-
|
|
2298
|
+
o.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
|
+
o.value = !1;
|
|
2306
2306
|
}
|
|
2307
2307
|
return i.value;
|
|
2308
2308
|
}
|
|
2309
2309
|
return {
|
|
2310
2310
|
all: i,
|
|
2311
|
-
isLoading:
|
|
2311
|
+
isLoading: o,
|
|
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(), o = [
|
|
2318
2318
|
{
|
|
2319
2319
|
title: "Order ID",
|
|
2320
2320
|
value: "order_name"
|
|
@@ -2334,45 +2334,45 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2334
2334
|
value: "download_url"
|
|
2335
2335
|
}
|
|
2336
2336
|
];
|
|
2337
|
-
return
|
|
2337
|
+
return He(async () => {
|
|
2338
2338
|
await i.index();
|
|
2339
2339
|
}), (r, l) => {
|
|
2340
|
-
const a =
|
|
2340
|
+
const a = ae;
|
|
2341
2341
|
return u(), m(fe, null, {
|
|
2342
2342
|
default: s(() => [
|
|
2343
|
-
|
|
2343
|
+
n(re, { cols: "12" }, {
|
|
2344
2344
|
default: s(() => [
|
|
2345
|
-
|
|
2345
|
+
n(a, {
|
|
2346
2346
|
text: "View and download your store purchases.",
|
|
2347
2347
|
title: "Download history"
|
|
2348
2348
|
}),
|
|
2349
|
-
|
|
2349
|
+
n(T, {
|
|
2350
2350
|
border: "",
|
|
2351
2351
|
flat: "",
|
|
2352
2352
|
rounded: "lg"
|
|
2353
2353
|
}, {
|
|
2354
2354
|
default: s(() => [
|
|
2355
|
-
|
|
2355
|
+
n(bt, {
|
|
2356
2356
|
"fixed-header": "",
|
|
2357
|
-
headers:
|
|
2357
|
+
headers: o,
|
|
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
|
+
M(" #" + C(c.order_name), 1)
|
|
2364
2364
|
]),
|
|
2365
2365
|
"item.created_at": s(({ item: c }) => [
|
|
2366
|
-
|
|
2366
|
+
M(C(e(t).format(c.created_at, "shortDate")), 1)
|
|
2367
2367
|
]),
|
|
2368
2368
|
"item.download_items": s(({ item: c }) => [
|
|
2369
|
-
(u(!0),
|
|
2369
|
+
(u(!0), k(D, null, G(c.download_items, (d, f) => (u(), k("div", {
|
|
2370
2370
|
key: f,
|
|
2371
2371
|
class: "text-truncate"
|
|
2372
|
-
},
|
|
2372
|
+
}, C(d.name), 1))), 128))
|
|
2373
2373
|
]),
|
|
2374
2374
|
"item.download_url": s(({ item: c }) => [
|
|
2375
|
-
|
|
2375
|
+
n(A, {
|
|
2376
2376
|
color: "medium-emphasis",
|
|
2377
2377
|
href: c.download_url,
|
|
2378
2378
|
icon: `svg:${e(ho)}`,
|
|
@@ -2397,9 +2397,9 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2397
2397
|
}), ds = { class: "px-3" }, ps = /* @__PURE__ */ y({
|
|
2398
2398
|
__name: "VoDownloadsNavItem",
|
|
2399
2399
|
setup(p) {
|
|
2400
|
-
const t =
|
|
2401
|
-
return (i,
|
|
2402
|
-
const r = cs, l = ce, a =
|
|
2400
|
+
const t = I(!1);
|
|
2401
|
+
return (i, o) => {
|
|
2402
|
+
const r = cs, l = ce, a = q;
|
|
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
|
+
n(l, {
|
|
2411
2411
|
modelValue: e(t),
|
|
2412
|
-
"onUpdate:modelValue":
|
|
2412
|
+
"onUpdate:modelValue": o[0] || (o[0] = (c) => R(t) ? t.value = c : null),
|
|
2413
2413
|
"prepend-icon": `svg:${e(tt)}`,
|
|
2414
2414
|
title: "Downloads"
|
|
2415
2415
|
}, {
|
|
2416
2416
|
default: s(() => [
|
|
2417
|
-
|
|
2417
|
+
n(le, null, {
|
|
2418
2418
|
default: s(() => [
|
|
2419
|
-
|
|
2419
|
+
n(ue, { scrollable: "" }, {
|
|
2420
2420
|
default: s(() => [
|
|
2421
2421
|
v("div", ds, [
|
|
2422
|
-
|
|
2422
|
+
n(W, null, {
|
|
2423
2423
|
default: s(() => [
|
|
2424
|
-
|
|
2424
|
+
n(r)
|
|
2425
2425
|
]),
|
|
2426
2426
|
_: 1
|
|
2427
2427
|
})
|
|
@@ -2440,7 +2440,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2440
2440
|
}, 8, ["active", "prepend-icon"]);
|
|
2441
2441
|
};
|
|
2442
2442
|
}
|
|
2443
|
-
}), ms = { class: "px-3" }, fs = { class: "d-flex align-center" }, vs = { class: "d-flex align-center" },
|
|
2443
|
+
}), ms = { class: "px-3" }, fs = { class: "d-flex align-center" }, vs = { class: "d-flex align-center" }, gs = /* @__PURE__ */ y({
|
|
2444
2444
|
__name: "VoTeamDialog",
|
|
2445
2445
|
props: {
|
|
2446
2446
|
modelValue: { type: Boolean },
|
|
@@ -2448,7 +2448,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2448
2448
|
},
|
|
2449
2449
|
emits: ["update:modelValue"],
|
|
2450
2450
|
setup(p) {
|
|
2451
|
-
const t = B(), i =
|
|
2451
|
+
const t = B(), i = Me(), o = Y(), { copy: r, copied: l } = Oe(), a = b(() => i.team), c = ye(), d = I(!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
|
-
],
|
|
2463
|
-
async function
|
|
2462
|
+
], g = b(() => `https://one.vuetifyjs.com/?invite=${i.team?.inviteCode}`), _ = E(p, "modelValue");
|
|
2463
|
+
async function V() {
|
|
2464
2464
|
d.value = !0;
|
|
2465
|
-
const
|
|
2466
|
-
i.team =
|
|
2465
|
+
const $ = await o.post("/one/team/regen");
|
|
2466
|
+
i.team = $.team;
|
|
2467
2467
|
}
|
|
2468
|
-
return
|
|
2469
|
-
!t.sessionId || c.value.one === "subscribe" || c.value.team && (t.isOpen = !0, await
|
|
2470
|
-
}, { immediate: !0 }), (
|
|
2471
|
-
const O =
|
|
2472
|
-
return u(), m(
|
|
2473
|
-
modelValue:
|
|
2474
|
-
"onUpdate:modelValue":
|
|
2468
|
+
return j(c, async () => {
|
|
2469
|
+
!t.sessionId || c.value.one === "subscribe" || c.value.team && (t.isOpen = !0, await _e(), _.value = !0);
|
|
2470
|
+
}, { immediate: !0 }), ($, w) => {
|
|
2471
|
+
const O = ae, X = ce;
|
|
2472
|
+
return u(), m(X, {
|
|
2473
|
+
modelValue: _.value,
|
|
2474
|
+
"onUpdate:modelValue": w[2] || (w[2] = (x) => _.value = x),
|
|
2475
2475
|
"prepend-icon": `svg:${e(bo)}`,
|
|
2476
2476
|
title: "Team"
|
|
2477
2477
|
}, {
|
|
2478
2478
|
default: s(() => [
|
|
2479
|
-
|
|
2479
|
+
n(le, null, {
|
|
2480
2480
|
default: s(() => [
|
|
2481
|
-
|
|
2481
|
+
n(ue, { scrollable: "" }, {
|
|
2482
2482
|
default: s(() => [
|
|
2483
2483
|
v("div", ms, [
|
|
2484
|
-
|
|
2484
|
+
n(W, null, {
|
|
2485
2485
|
default: s(() => [
|
|
2486
|
-
|
|
2486
|
+
n(O, {
|
|
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
|
+
n(Fe, {
|
|
2501
2501
|
class: "bg-surface",
|
|
2502
2502
|
subtitle: `Team - ${e(a)?.members?.length} member(s)`,
|
|
2503
2503
|
title: "Members"
|
|
@@ -2505,17 +2505,17 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2505
2505
|
e(i).isTeamOwner ? {
|
|
2506
2506
|
name: "append",
|
|
2507
2507
|
fn: s(() => [
|
|
2508
|
-
|
|
2508
|
+
n(A, {
|
|
2509
2509
|
border: "",
|
|
2510
2510
|
class: "text-none",
|
|
2511
2511
|
color: "primary",
|
|
2512
|
-
"prepend-icon": `svg:${e(
|
|
2512
|
+
"prepend-icon": `svg:${e(Vo)}`,
|
|
2513
2513
|
rounded: "lg",
|
|
2514
2514
|
variant: "flat"
|
|
2515
2515
|
}, {
|
|
2516
2516
|
default: s(() => [
|
|
2517
|
-
|
|
2518
|
-
|
|
2517
|
+
w[3] || (w[3] = M(" Add member ", -1)),
|
|
2518
|
+
n(Qe, {
|
|
2519
2519
|
activator: "parent",
|
|
2520
2520
|
"close-on-content-click": !1,
|
|
2521
2521
|
location: "bottom end",
|
|
@@ -2524,44 +2524,44 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2524
2524
|
width: "100%"
|
|
2525
2525
|
}, {
|
|
2526
2526
|
default: s(() => [
|
|
2527
|
-
|
|
2527
|
+
n(T, { color: "surface-light" }, {
|
|
2528
2528
|
default: s(() => [
|
|
2529
|
-
|
|
2529
|
+
n(Fe, {
|
|
2530
2530
|
class: "bg-surface",
|
|
2531
|
-
"prepend-icon": `svg:${e(
|
|
2531
|
+
"prepend-icon": `svg:${e(ko)}`,
|
|
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
|
+
n(A, {
|
|
2537
2537
|
class: "text-none",
|
|
2538
2538
|
color: e(d) ? void 0 : "error",
|
|
2539
2539
|
disabled: e(d),
|
|
2540
2540
|
flat: "",
|
|
2541
2541
|
slim: "",
|
|
2542
2542
|
text: "Reset",
|
|
2543
|
-
onClick:
|
|
2543
|
+
onClick: V
|
|
2544
2544
|
}, null, 8, ["color", "disabled"])
|
|
2545
2545
|
]),
|
|
2546
2546
|
_: 1
|
|
2547
2547
|
}, 8, ["prepend-icon"]),
|
|
2548
|
-
|
|
2548
|
+
n(W, { class: "pt-4" }, {
|
|
2549
2549
|
default: s(() => [
|
|
2550
|
-
|
|
2550
|
+
n(ht, {
|
|
2551
2551
|
flat: "",
|
|
2552
2552
|
"hide-details": "",
|
|
2553
2553
|
label: "Invite link",
|
|
2554
|
-
"model-value": e(
|
|
2554
|
+
"model-value": e(g),
|
|
2555
2555
|
readonly: "",
|
|
2556
2556
|
variant: "solo"
|
|
2557
2557
|
}, {
|
|
2558
2558
|
"append-inner": s(() => [
|
|
2559
|
-
|
|
2560
|
-
icon: `svg:${e(l) ? e(he) : e(
|
|
2559
|
+
J(n(S, {
|
|
2560
|
+
icon: `svg:${e(l) ? e(he) : e(Ee)}`,
|
|
2561
2561
|
size: "small",
|
|
2562
|
-
onClick:
|
|
2562
|
+
onClick: w[0] || (w[0] = (x) => e(r)(e(g)))
|
|
2563
2563
|
}, null, 8, ["icon"]), [
|
|
2564
|
-
[
|
|
2564
|
+
[we, "Copy Team link"]
|
|
2565
2565
|
])
|
|
2566
2566
|
]),
|
|
2567
2567
|
_: 1
|
|
@@ -2582,31 +2582,31 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2582
2582
|
key: "0"
|
|
2583
2583
|
} : void 0
|
|
2584
2584
|
]), 1032, ["subtitle"]),
|
|
2585
|
-
|
|
2586
|
-
|
|
2585
|
+
n(Z),
|
|
2586
|
+
n(W, { class: "pa-2" }, {
|
|
2587
2587
|
default: s(() => [
|
|
2588
|
-
|
|
2588
|
+
n(Ae, {
|
|
2589
2589
|
border: "",
|
|
2590
2590
|
rounded: "lg"
|
|
2591
2591
|
}, {
|
|
2592
2592
|
default: s(() => [
|
|
2593
|
-
|
|
2593
|
+
n(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: x }) => [
|
|
2599
2599
|
v("div", fs, [
|
|
2600
|
-
|
|
2601
|
-
image:
|
|
2600
|
+
n(Q, {
|
|
2601
|
+
image: x.picture,
|
|
2602
2602
|
size: "x-small",
|
|
2603
2603
|
start: ""
|
|
2604
2604
|
}, null, 8, ["image"]),
|
|
2605
|
-
v("span", null,
|
|
2605
|
+
v("span", null, C(x.name), 1)
|
|
2606
2606
|
])
|
|
2607
2607
|
]),
|
|
2608
|
-
"item.actions": s(({ item:
|
|
2609
|
-
e(a)?.owner?.id ===
|
|
2608
|
+
"item.actions": s(({ item: x }) => [
|
|
2609
|
+
e(a)?.owner?.id === x.id ? (u(), m(A, {
|
|
2610
2610
|
key: 0,
|
|
2611
2611
|
class: "me-n3",
|
|
2612
2612
|
color: "primary",
|
|
@@ -2616,16 +2616,16 @@ 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(A, {
|
|
2620
2620
|
key: 1,
|
|
2621
2621
|
class: "me-n3",
|
|
2622
2622
|
color: "medium-emphasis",
|
|
2623
2623
|
density: "comfortable",
|
|
2624
|
-
"prepend-icon": `svg:${e(
|
|
2624
|
+
"prepend-icon": `svg:${e(Co)}`,
|
|
2625
2625
|
slim: "",
|
|
2626
2626
|
text: "Revoke",
|
|
2627
2627
|
variant: "text",
|
|
2628
|
-
onClick: (
|
|
2628
|
+
onClick: (Ce) => e(i).removeFromTeam(x.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
|
+
n(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
|
-
|
|
2658
|
-
|
|
2657
|
+
w[4] || (w[4] = M(" My Team Access ", -1)),
|
|
2658
|
+
n(oe, {
|
|
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
|
-
|
|
2670
|
-
"prepend-icon": `svg:${e(
|
|
2669
|
+
n(A, {
|
|
2670
|
+
"prepend-icon": `svg:${e($o)}`,
|
|
2671
2671
|
rounded: "lg",
|
|
2672
2672
|
text: "Leave team",
|
|
2673
2673
|
width: "145",
|
|
2674
|
-
onClick:
|
|
2674
|
+
onClick: w[1] || (w[1] = (x) => e(i).leaveTeam())
|
|
2675
2675
|
}, null, 8, ["prepend-icon"])
|
|
2676
2676
|
]),
|
|
2677
2677
|
_: 1
|
|
@@ -2694,12 +2694,12 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2694
2694
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
2695
2695
|
};
|
|
2696
2696
|
}
|
|
2697
|
-
}),
|
|
2697
|
+
}), _s = /* @__PURE__ */ y({
|
|
2698
2698
|
__name: "VoTeamListItem",
|
|
2699
2699
|
setup(p) {
|
|
2700
|
-
const t =
|
|
2701
|
-
return (i,
|
|
2702
|
-
const r =
|
|
2700
|
+
const t = I(!1);
|
|
2701
|
+
return (i, o) => {
|
|
2702
|
+
const r = gs, l = q;
|
|
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
|
+
n(r, {
|
|
2711
2711
|
modelValue: e(t),
|
|
2712
|
-
"onUpdate:modelValue":
|
|
2712
|
+
"onUpdate:modelValue": o[0] || (o[0] = (a) => R(t) ? t.value = a : null)
|
|
2713
2713
|
}, null, 8, ["modelValue"])
|
|
2714
2714
|
]),
|
|
2715
2715
|
_: 1
|
|
@@ -2722,44 +2722,44 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2722
2722
|
}, hs = {
|
|
2723
2723
|
key: 1,
|
|
2724
2724
|
class: "pa-5"
|
|
2725
|
-
}, bs = { class: "text-subtitle-1 font-weight-bold" },
|
|
2725
|
+
}, bs = { class: "text-subtitle-1 font-weight-bold" }, Vs = { class: "text-caption font-weight-bold text-medium-emphasis" }, ks = { class: "text-disabled text-caption mt-2 mb-3" }, Cs = /* @__PURE__ */ y({
|
|
2726
2726
|
__name: "VoNotificationsBannerList",
|
|
2727
2727
|
props: {
|
|
2728
2728
|
items: {}
|
|
2729
2729
|
},
|
|
2730
2730
|
setup(p) {
|
|
2731
|
-
const t = me(), i =
|
|
2731
|
+
const t = me(), i = se(), o = U();
|
|
2732
2732
|
function r(a) {
|
|
2733
|
-
return
|
|
2733
|
+
return o.one.banners.read.includes(a);
|
|
2734
2734
|
}
|
|
2735
2735
|
function l(a) {
|
|
2736
|
-
r(a.slug) ?
|
|
2736
|
+
r(a.slug) ? o.one.banners.read = o.one.banners.read.filter((c) => c !== a.slug) : o.one.banners.read.push(a.slug);
|
|
2737
2737
|
}
|
|
2738
|
-
return (a, c) => (u(), m(
|
|
2738
|
+
return (a, c) => (u(), m(ne, {
|
|
2739
2739
|
class: "py-0",
|
|
2740
2740
|
height: "100%",
|
|
2741
2741
|
lines: "three"
|
|
2742
2742
|
}, {
|
|
2743
2743
|
default: s(() => [
|
|
2744
|
-
a.items.length === 0 ? (u(),
|
|
2745
|
-
|
|
2744
|
+
a.items.length === 0 ? (u(), k("div", ys, [
|
|
2745
|
+
n(Ke, {
|
|
2746
2746
|
icon: "$vuetify",
|
|
2747
2747
|
size: "256"
|
|
2748
2748
|
}, {
|
|
2749
2749
|
media: s(() => [
|
|
2750
|
-
|
|
2750
|
+
n(S, { 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)
|
|
2754
2754
|
])]),
|
|
2755
2755
|
_: 1
|
|
2756
2756
|
})
|
|
2757
|
-
])) : (u(),
|
|
2758
|
-
(u(!0),
|
|
2757
|
+
])) : (u(), k("div", hs, [
|
|
2758
|
+
(u(!0), k(D, null, G(a.items, (d) => (u(), k("div", {
|
|
2759
2759
|
key: d.slug,
|
|
2760
2760
|
class: "mb-4"
|
|
2761
2761
|
}, [
|
|
2762
|
-
|
|
2762
|
+
n(T, {
|
|
2763
2763
|
color: d.metadata.color,
|
|
2764
2764
|
flat: "",
|
|
2765
2765
|
image: d.metadata.images.bg?.url,
|
|
@@ -2767,38 +2767,38 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2767
2767
|
title: d.title
|
|
2768
2768
|
}, {
|
|
2769
2769
|
prepend: s(() => [
|
|
2770
|
-
|
|
2770
|
+
n(Q, {
|
|
2771
2771
|
image: d.metadata.images.logo?.url
|
|
2772
2772
|
}, null, 8, ["image"])
|
|
2773
2773
|
]),
|
|
2774
2774
|
image: s(() => [
|
|
2775
|
-
|
|
2775
|
+
n(te, { position: "right" })
|
|
2776
2776
|
]),
|
|
2777
2777
|
_: 2
|
|
2778
2778
|
}, 1032, ["color", "image", "title"]),
|
|
2779
|
-
|
|
2780
|
-
default: s(({ props: f, isHovering:
|
|
2781
|
-
|
|
2779
|
+
n(Ve, null, {
|
|
2780
|
+
default: s(({ props: f, isHovering: g }) => [
|
|
2781
|
+
n(Ae, 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
|
+
n(ie, {
|
|
2788
2788
|
location: "bottom",
|
|
2789
2789
|
text: r(d.slug) ? "Mark as unread" : "Mark as read"
|
|
2790
2790
|
}, {
|
|
2791
|
-
activator: s(({ props:
|
|
2792
|
-
|
|
2791
|
+
activator: s(({ props: _ }) => [
|
|
2792
|
+
n(be, { "hide-on-leave": "" }, {
|
|
2793
2793
|
default: s(() => [
|
|
2794
|
-
|
|
2794
|
+
J(n(A, F({ ref_for: !0 }, _, {
|
|
2795
2795
|
class: "ms-auto float-right",
|
|
2796
|
-
icon: `svg:${r(d.slug) ? e(qe) : e(
|
|
2796
|
+
icon: `svg:${r(d.slug) ? e(qe) : e(Re)}`,
|
|
2797
2797
|
size: "small",
|
|
2798
2798
|
variant: "text",
|
|
2799
|
-
onClick: (
|
|
2799
|
+
onClick: (V) => l(d)
|
|
2800
2800
|
}), null, 16, ["icon", "onClick"]), [
|
|
2801
|
-
[Se,
|
|
2801
|
+
[Se, g || e(i).mobile.value]
|
|
2802
2802
|
])
|
|
2803
2803
|
]),
|
|
2804
2804
|
_: 2
|
|
@@ -2806,15 +2806,15 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2806
2806
|
]),
|
|
2807
2807
|
_: 2
|
|
2808
2808
|
}, 1032, ["text"]),
|
|
2809
|
-
v("div", bs,
|
|
2810
|
-
v("div",
|
|
2811
|
-
v("div",
|
|
2812
|
-
|
|
2809
|
+
v("div", bs, C(d.metadata.text), 1),
|
|
2810
|
+
v("div", Vs, C(e(t).format(d.created_at, "fullDateWithWeekday")), 1),
|
|
2811
|
+
v("div", ks, C(d.metadata.subtext), 1),
|
|
2812
|
+
n(oe, 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
|
|
2816
2816
|
}, {
|
|
2817
|
-
"append-icon": `svg:${e(
|
|
2817
|
+
"append-icon": `svg:${e(Ie)}`,
|
|
2818
2818
|
border: "",
|
|
2819
2819
|
label: "",
|
|
2820
2820
|
size: "small",
|
|
@@ -2822,7 +2822,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2822
2822
|
variant: "text"
|
|
2823
2823
|
}), {
|
|
2824
2824
|
append: s(() => [
|
|
2825
|
-
|
|
2825
|
+
n(S, { size: "12" })
|
|
2826
2826
|
]),
|
|
2827
2827
|
_: 1
|
|
2828
2828
|
}, 16, ["append-icon", "text"])
|
|
@@ -2838,14 +2838,14 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2838
2838
|
_: 1
|
|
2839
2839
|
}));
|
|
2840
2840
|
}
|
|
2841
|
-
}),
|
|
2841
|
+
}), $s = { class: "ps-3 text-subtitle-2 pe-2" }, xs = { class: "text-truncate" }, Ls = { class: "text-caption font-weight-bold text-medium-emphasis" }, ws = { class: "text-disabled text-caption my-2" }, Ss = /* @__PURE__ */ y({
|
|
2842
2842
|
__name: "VoNotificationsListItem",
|
|
2843
2843
|
props: {
|
|
2844
2844
|
demo: { type: Boolean },
|
|
2845
2845
|
notification: {}
|
|
2846
2846
|
},
|
|
2847
2847
|
setup(p) {
|
|
2848
|
-
const t = p, i = U(),
|
|
2848
|
+
const t = p, i = U(), o = me(), r = se(), 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,35 +2864,35 @@ 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
|
|
2868
|
-
return u(), m(
|
|
2869
|
-
default: s(({ isHovering:
|
|
2870
|
-
|
|
2867
|
+
const g = q;
|
|
2868
|
+
return u(), m(Ve, null, {
|
|
2869
|
+
default: s(({ isHovering: _, props: V }) => [
|
|
2870
|
+
n(g, F(V, { class: "py-4 mb-0" }), {
|
|
2871
2871
|
prepend: s(() => [
|
|
2872
|
-
v("div",
|
|
2872
|
+
v("div", $s, C(d.notification.metadata.emoji), 1)
|
|
2873
2873
|
]),
|
|
2874
2874
|
append: s(() => [
|
|
2875
|
-
|
|
2875
|
+
n(Jo, {
|
|
2876
2876
|
class: "mt-n3",
|
|
2877
2877
|
width: "56"
|
|
2878
2878
|
}, {
|
|
2879
2879
|
default: s(() => [
|
|
2880
|
-
|
|
2880
|
+
n(ie, {
|
|
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: $ }) => [
|
|
2885
|
+
n(be, { "hide-on-leave": "" }, {
|
|
2886
2886
|
default: s(() => [
|
|
2887
|
-
|
|
2887
|
+
J(n(A, F($, {
|
|
2888
2888
|
class: "ms-auto",
|
|
2889
|
-
icon: `svg:${a(d.notification.slug) ? e(qe) : e(
|
|
2889
|
+
icon: `svg:${a(d.notification.slug) ? e(qe) : e(Re)}`,
|
|
2890
2890
|
"mdi-email-variant": "",
|
|
2891
2891
|
size: "small",
|
|
2892
2892
|
variant: "text",
|
|
2893
|
-
onClick: f[0] || (f[0] = (
|
|
2893
|
+
onClick: f[0] || (f[0] = (w) => c(d.notification))
|
|
2894
2894
|
}), null, 16, ["icon"]), [
|
|
2895
|
-
[Se,
|
|
2895
|
+
[Se, _ || e(r).mobile.value]
|
|
2896
2896
|
])
|
|
2897
2897
|
]),
|
|
2898
2898
|
_: 2
|
|
@@ -2905,16 +2905,16 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2905
2905
|
}, 1024)
|
|
2906
2906
|
]),
|
|
2907
2907
|
default: s(() => [
|
|
2908
|
-
|
|
2908
|
+
n(vt, { class: "text-wrap text-h6 mb-1" }, {
|
|
2909
2909
|
default: s(() => [
|
|
2910
|
-
v("div", xs,
|
|
2910
|
+
v("div", xs, C(d.notification.title), 1)
|
|
2911
2911
|
]),
|
|
2912
2912
|
_: 1
|
|
2913
2913
|
}),
|
|
2914
|
-
v("div",
|
|
2915
|
-
v("div",
|
|
2916
|
-
|
|
2917
|
-
"append-icon": `svg:${e(
|
|
2914
|
+
v("div", Ls, C(e(o).format(d.notification.created_at, "fullDateWithWeekday")), 1),
|
|
2915
|
+
v("div", ws, C(d.notification.metadata.text), 1),
|
|
2916
|
+
n(oe, F({
|
|
2917
|
+
"append-icon": `svg:${e(Ie)}`
|
|
2918
2918
|
}, e(l), {
|
|
2919
2919
|
border: "",
|
|
2920
2920
|
label: "",
|
|
@@ -2923,7 +2923,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2923
2923
|
variant: "text"
|
|
2924
2924
|
}), {
|
|
2925
2925
|
append: s(() => [
|
|
2926
|
-
|
|
2926
|
+
n(S, { size: "12" })
|
|
2927
2927
|
]),
|
|
2928
2928
|
_: 1
|
|
2929
2929
|
}, 16, ["append-icon", "text"])
|
|
@@ -2935,84 +2935,84 @@ const Cn = /* @__PURE__ */ y({
|
|
|
2935
2935
|
});
|
|
2936
2936
|
};
|
|
2937
2937
|
}
|
|
2938
|
-
}),
|
|
2938
|
+
}), Ms = {
|
|
2939
2939
|
key: 0,
|
|
2940
2940
|
class: "pt-16"
|
|
2941
|
-
},
|
|
2941
|
+
}, Is = /* @__PURE__ */ y({
|
|
2942
2942
|
__name: "VoNotificationsList",
|
|
2943
2943
|
props: {
|
|
2944
2944
|
items: {}
|
|
2945
2945
|
},
|
|
2946
2946
|
setup(p) {
|
|
2947
2947
|
return (t, i) => {
|
|
2948
|
-
const
|
|
2949
|
-
return u(), m(
|
|
2948
|
+
const o = Ss;
|
|
2949
|
+
return u(), m(ne, {
|
|
2950
2950
|
class: "py-0",
|
|
2951
2951
|
height: "100%",
|
|
2952
2952
|
lines: "three"
|
|
2953
2953
|
}, {
|
|
2954
2954
|
default: s(() => [
|
|
2955
|
-
t.items.length === 0 ? (u(),
|
|
2956
|
-
|
|
2955
|
+
t.items.length === 0 ? (u(), k("div", Ms, [
|
|
2956
|
+
n(Ke, {
|
|
2957
2957
|
icon: "$vuetify",
|
|
2958
2958
|
size: "256"
|
|
2959
2959
|
}, {
|
|
2960
2960
|
media: s(() => [
|
|
2961
|
-
|
|
2961
|
+
n(S, { 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)
|
|
2965
2965
|
])]),
|
|
2966
2966
|
_: 1
|
|
2967
2967
|
})
|
|
2968
|
-
])) : (u(!0),
|
|
2968
|
+
])) : (u(!0), k(D, { key: 1 }, G(t.items, (r, l) => (u(), k(D, {
|
|
2969
2969
|
key: r.slug
|
|
2970
2970
|
}, [
|
|
2971
|
-
l !== 0 ? (u(), m(
|
|
2972
|
-
o
|
|
2971
|
+
l !== 0 ? (u(), m(Z, { key: 0 })) : h("", !0),
|
|
2972
|
+
n(o, { notification: r }, null, 8, ["notification"])
|
|
2973
2973
|
], 64))), 128))
|
|
2974
2974
|
]),
|
|
2975
2975
|
_: 1
|
|
2976
2976
|
});
|
|
2977
2977
|
};
|
|
2978
2978
|
}
|
|
2979
|
-
}),
|
|
2979
|
+
}), It = K("site", () => {
|
|
2980
2980
|
const p = N([]), t = N();
|
|
2981
2981
|
return {
|
|
2982
2982
|
id: p,
|
|
2983
2983
|
url: t
|
|
2984
2984
|
};
|
|
2985
2985
|
}), Pe = K("banners", () => {
|
|
2986
|
-
const p =
|
|
2986
|
+
const p = Y(), t = It(), i = U(), o = ee(), r = N([]), l = I(!1), a = b(() => {
|
|
2987
2987
|
if (c.value)
|
|
2988
2988
|
return c.value;
|
|
2989
2989
|
if (i.one.banners.enabled) {
|
|
2990
2990
|
if (i.one.banners.last) {
|
|
2991
|
-
const f = new Date(i.one.banners.last),
|
|
2992
|
-
if (f >
|
|
2991
|
+
const f = new Date(i.one.banners.last), g = new Date(Date.now() - 3 * 24 * 60 * 60 * 1e3);
|
|
2992
|
+
if (f > g)
|
|
2993
2993
|
return;
|
|
2994
2994
|
}
|
|
2995
2995
|
return r.value.find(({
|
|
2996
2996
|
slug: f,
|
|
2997
2997
|
metadata: {
|
|
2998
|
-
site:
|
|
2999
|
-
active:
|
|
2998
|
+
site: g,
|
|
2999
|
+
active: _
|
|
3000
3000
|
}
|
|
3001
|
-
}) => !
|
|
3001
|
+
}) => !_ || i.one.banners.read.includes(f) ? !1 : g.includes("dev") && !1 || g.includes("*") ? !0 : g.some((V) => t.id.includes(V)));
|
|
3002
3002
|
}
|
|
3003
3003
|
}), c = b(() => r.value.find(({
|
|
3004
3004
|
metadata: {
|
|
3005
3005
|
site: f,
|
|
3006
|
-
active:
|
|
3006
|
+
active: g
|
|
3007
3007
|
}
|
|
3008
|
-
}) =>
|
|
3008
|
+
}) => g ? f.includes("server") : !1));
|
|
3009
3009
|
async function d() {
|
|
3010
3010
|
try {
|
|
3011
3011
|
l.value = !0;
|
|
3012
3012
|
const f = await p.get("/one/banners");
|
|
3013
3013
|
r.value = f.banners;
|
|
3014
3014
|
} catch (f) {
|
|
3015
|
-
|
|
3015
|
+
o.showError(f?.message ?? "Error fetching banners");
|
|
3016
3016
|
} finally {
|
|
3017
3017
|
l.value = !1;
|
|
3018
3018
|
}
|
|
@@ -3025,7 +3025,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3025
3025
|
banner: a,
|
|
3026
3026
|
index: d
|
|
3027
3027
|
};
|
|
3028
|
-
}),
|
|
3028
|
+
}), Ds = { class: "text-caption" }, As = { class: "text-caption" }, Ts = /* @__PURE__ */ y({
|
|
3029
3029
|
__name: "VoNotificationsDialog",
|
|
3030
3030
|
props: {
|
|
3031
3031
|
modelValue: { type: Boolean },
|
|
@@ -3033,42 +3033,42 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3033
3033
|
},
|
|
3034
3034
|
emits: ["update:modelValue"],
|
|
3035
3035
|
setup(p) {
|
|
3036
|
-
const t =
|
|
3036
|
+
const t = se(), i = ye(), o = Pe(), r = Ue(), l = B(), a = U(), c = I(["read"]), d = E(p, "modelValue");
|
|
3037
3037
|
function f() {
|
|
3038
|
-
const
|
|
3039
|
-
a.one.notifications.read.push(...
|
|
3038
|
+
const _ = r.unread.map((V) => V.slug);
|
|
3039
|
+
a.one.notifications.read.push(..._);
|
|
3040
3040
|
}
|
|
3041
|
-
function
|
|
3041
|
+
function g() {
|
|
3042
3042
|
a.one.notifications.read = [];
|
|
3043
3043
|
}
|
|
3044
|
-
return
|
|
3044
|
+
return j(i, async () => {
|
|
3045
3045
|
if (i.value.one !== "notifications") {
|
|
3046
3046
|
d.value && (d.value = !1);
|
|
3047
3047
|
return;
|
|
3048
3048
|
}
|
|
3049
|
-
l.isOpen = !0, await
|
|
3050
|
-
}, { immediate: !0 }), (
|
|
3051
|
-
const
|
|
3052
|
-
return u(), m(
|
|
3049
|
+
l.isOpen = !0, await _e(), d.value = !0;
|
|
3050
|
+
}, { immediate: !0 }), (_, V) => {
|
|
3051
|
+
const $ = q, w = Is, O = Cs, X = ce;
|
|
3052
|
+
return u(), m(X, {
|
|
3053
3053
|
modelValue: d.value,
|
|
3054
|
-
"onUpdate:modelValue":
|
|
3055
|
-
"prepend-icon": `svg:${e(
|
|
3054
|
+
"onUpdate:modelValue": V[2] || (V[2] = (x) => d.value = x),
|
|
3055
|
+
"prepend-icon": `svg:${e(Lo)}`,
|
|
3056
3056
|
title: "Notifications"
|
|
3057
3057
|
}, {
|
|
3058
3058
|
append: s(() => [
|
|
3059
|
-
e(c)[0] === "read" ?
|
|
3059
|
+
e(c)[0] === "read" ? J((u(), m(A, {
|
|
3060
3060
|
key: 0,
|
|
3061
3061
|
class: "me-2",
|
|
3062
3062
|
density: "comfortable",
|
|
3063
3063
|
disabled: e(r).unread.length === 0,
|
|
3064
|
-
icon: `svg:${e(
|
|
3064
|
+
icon: `svg:${e(Re)}`,
|
|
3065
3065
|
size: "small",
|
|
3066
3066
|
variant: "text",
|
|
3067
3067
|
onClick: f
|
|
3068
3068
|
}, null, 8, ["disabled", "icon"])), [
|
|
3069
|
-
[
|
|
3069
|
+
[we, "Mark All as Read", "start"]
|
|
3070
3070
|
]) : h("", !0),
|
|
3071
|
-
e(c)[0] === "unread" ?
|
|
3071
|
+
e(c)[0] === "unread" ? J((u(), m(A, {
|
|
3072
3072
|
key: 1,
|
|
3073
3073
|
class: "me-2",
|
|
3074
3074
|
density: "comfortable",
|
|
@@ -3076,43 +3076,43 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3076
3076
|
icon: `svg:${e(qe)}`,
|
|
3077
3077
|
size: "small",
|
|
3078
3078
|
variant: "text",
|
|
3079
|
-
onClick:
|
|
3079
|
+
onClick: g
|
|
3080
3080
|
}, null, 8, ["disabled", "icon"])), [
|
|
3081
|
-
[
|
|
3081
|
+
[we, "Mark All as Unread", "start"]
|
|
3082
3082
|
]) : h("", !0)
|
|
3083
3083
|
]),
|
|
3084
3084
|
default: s(() => [
|
|
3085
|
-
|
|
3085
|
+
n(le, null, {
|
|
3086
3086
|
default: s(() => [
|
|
3087
|
-
|
|
3087
|
+
n(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
|
+
n(ne, {
|
|
3094
3094
|
selected: e(c),
|
|
3095
|
-
"onUpdate:selected":
|
|
3095
|
+
"onUpdate:selected": V[0] || (V[0] = (x) => R(c) ? c.value = x : 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
|
-
|
|
3103
|
-
"prepend-icon": `svg:${e(
|
|
3102
|
+
n($, {
|
|
3103
|
+
"prepend-icon": `svg:${e(wo)}`,
|
|
3104
3104
|
title: "Unread",
|
|
3105
3105
|
value: "read"
|
|
3106
3106
|
}, P({ _: 2 }, [
|
|
3107
3107
|
e(r).unread.length > 0 ? {
|
|
3108
3108
|
name: "append",
|
|
3109
3109
|
fn: s(() => [
|
|
3110
|
-
v("span",
|
|
3110
|
+
v("span", Ds, C(e(r).unread.length), 1)
|
|
3111
3111
|
]),
|
|
3112
3112
|
key: "0"
|
|
3113
3113
|
} : void 0
|
|
3114
3114
|
]), 1032, ["prepend-icon"]),
|
|
3115
|
-
|
|
3115
|
+
n($, {
|
|
3116
3116
|
"prepend-icon": `svg:${e(So)}`,
|
|
3117
3117
|
title: "Read",
|
|
3118
3118
|
value: "unread"
|
|
@@ -3120,19 +3120,19 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3120
3120
|
e(r).read.length > 0 ? {
|
|
3121
3121
|
name: "append",
|
|
3122
3122
|
fn: s(() => [
|
|
3123
|
-
v("span",
|
|
3123
|
+
v("span", As, C(e(r).read.length), 1)
|
|
3124
3124
|
]),
|
|
3125
3125
|
key: "0"
|
|
3126
3126
|
} : void 0
|
|
3127
3127
|
]), 1032, ["prepend-icon"]),
|
|
3128
|
-
e(
|
|
3128
|
+
e(o).all.length > 0 && e(a).one.banners.enabled ? (u(), m($, {
|
|
3129
3129
|
key: 0,
|
|
3130
|
-
"prepend-icon": `svg:${e(
|
|
3130
|
+
"prepend-icon": `svg:${e(Mo)}`,
|
|
3131
3131
|
title: "Banners",
|
|
3132
3132
|
value: "banners"
|
|
3133
3133
|
}, {
|
|
3134
3134
|
append: s(() => [
|
|
3135
|
-
|
|
3135
|
+
n(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
|
+
n(ue, { scrollable: "" }, {
|
|
3149
3149
|
default: s(() => [
|
|
3150
|
-
|
|
3150
|
+
n(Vt, {
|
|
3151
3151
|
modelValue: e(c),
|
|
3152
|
-
"onUpdate:modelValue":
|
|
3152
|
+
"onUpdate:modelValue": V[1] || (V[1] = (x) => R(c) ? c.value = x : null)
|
|
3153
3153
|
}, {
|
|
3154
3154
|
default: s(() => [
|
|
3155
|
-
|
|
3155
|
+
n(ve, { value: "read" }, {
|
|
3156
3156
|
default: s(() => [
|
|
3157
|
-
|
|
3157
|
+
n(w, {
|
|
3158
3158
|
items: e(r).unread
|
|
3159
3159
|
}, null, 8, ["items"])
|
|
3160
3160
|
]),
|
|
3161
3161
|
_: 1
|
|
3162
3162
|
}),
|
|
3163
|
-
|
|
3163
|
+
n(ve, { value: "unread" }, {
|
|
3164
3164
|
default: s(() => [
|
|
3165
|
-
|
|
3165
|
+
n(w, {
|
|
3166
3166
|
items: e(r).read
|
|
3167
3167
|
}, null, 8, ["items"])
|
|
3168
3168
|
]),
|
|
3169
3169
|
_: 1
|
|
3170
3170
|
}),
|
|
3171
|
-
|
|
3171
|
+
n(ve, { value: "banners" }, {
|
|
3172
3172
|
default: s(() => [
|
|
3173
|
-
|
|
3174
|
-
items: e(
|
|
3173
|
+
n(O, {
|
|
3174
|
+
items: e(o).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 (o, 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(o.$slots, "default")
|
|
3204
3204
|
]),
|
|
3205
3205
|
_: 3
|
|
3206
3206
|
}, 8, ["content", "model-value"]));
|
|
@@ -3208,32 +3208,32 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3208
3208
|
}), Bs = /* @__PURE__ */ y({
|
|
3209
3209
|
__name: "VoNotificationsNavItem",
|
|
3210
3210
|
setup(p) {
|
|
3211
|
-
const t = Pe(), i = U(),
|
|
3212
|
-
return
|
|
3213
|
-
|
|
3211
|
+
const t = Pe(), i = U(), o = Ue(), r = I(!1);
|
|
3212
|
+
return He(async () => {
|
|
3213
|
+
o.index(), t.index();
|
|
3214
3214
|
}), (l, a) => {
|
|
3215
|
-
const c = Us, d = Ts, f =
|
|
3215
|
+
const c = Us, d = Ts, f = q;
|
|
3216
3216
|
return e(i).one.notifications.enabled ? (u(), m(f, {
|
|
3217
3217
|
key: 0,
|
|
3218
3218
|
active: e(r),
|
|
3219
3219
|
link: "",
|
|
3220
|
-
"prepend-icon": `svg:${e(
|
|
3220
|
+
"prepend-icon": `svg:${e(Io)}`,
|
|
3221
3221
|
title: "Notifications"
|
|
3222
3222
|
}, P({
|
|
3223
3223
|
default: s(() => [
|
|
3224
|
-
|
|
3224
|
+
n(d, {
|
|
3225
3225
|
modelValue: e(r),
|
|
3226
|
-
"onUpdate:modelValue": a[0] || (a[0] = (
|
|
3226
|
+
"onUpdate:modelValue": a[0] || (a[0] = (g) => R(r) ? r.value = g : null)
|
|
3227
3227
|
}, null, 8, ["modelValue"])
|
|
3228
3228
|
]),
|
|
3229
3229
|
_: 2
|
|
3230
3230
|
}, [
|
|
3231
|
-
e(
|
|
3231
|
+
e(o).unread.length > 0 ? {
|
|
3232
3232
|
name: "prepend",
|
|
3233
3233
|
fn: s(() => [
|
|
3234
|
-
|
|
3234
|
+
n(c, null, {
|
|
3235
3235
|
default: s(() => [
|
|
3236
|
-
|
|
3236
|
+
n(S)
|
|
3237
3237
|
]),
|
|
3238
3238
|
_: 1
|
|
3239
3239
|
})
|
|
@@ -3252,10 +3252,10 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3252
3252
|
t.isOpen = !1;
|
|
3253
3253
|
}, 100);
|
|
3254
3254
|
}
|
|
3255
|
-
return (
|
|
3256
|
-
const l =
|
|
3255
|
+
return (o, r) => {
|
|
3256
|
+
const l = q;
|
|
3257
3257
|
return u(), m(l, {
|
|
3258
|
-
"prepend-icon": `svg:${e(
|
|
3258
|
+
"prepend-icon": `svg:${e(Do)}`,
|
|
3259
3259
|
title: "Dashboard",
|
|
3260
3260
|
to: "/user/dashboard",
|
|
3261
3261
|
onClick: i
|
|
@@ -3265,161 +3265,103 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3265
3265
|
}), Os = /* @__PURE__ */ y({
|
|
3266
3266
|
__name: "VoUserList",
|
|
3267
3267
|
setup(p) {
|
|
3268
|
-
const t =
|
|
3268
|
+
const t = H(), i = B(), o = Me();
|
|
3269
3269
|
return (r, l) => {
|
|
3270
|
-
const a = zs, c = Bs, d =
|
|
3271
|
-
return u(), m(
|
|
3270
|
+
const a = zs, c = Bs, d = _s, f = ps, g = ls, _ = Xn, V = Tn, $ = Cn, w = vn;
|
|
3271
|
+
return u(), m(ne, {
|
|
3272
3272
|
density: "compact",
|
|
3273
3273
|
nav: "",
|
|
3274
3274
|
slim: ""
|
|
3275
3275
|
}, {
|
|
3276
3276
|
default: s(() => [
|
|
3277
3277
|
e(t).user ? (u(), m(a, { key: 0 })) : h("", !0),
|
|
3278
|
-
|
|
3279
|
-
e(
|
|
3278
|
+
n(c),
|
|
3279
|
+
e(o).hasTeamAccess ? (u(), m(d, { key: 1 })) : h("", !0),
|
|
3280
3280
|
e(i).shopify ? (u(), m(f, { key: 2 })) : h("", !0),
|
|
3281
|
-
|
|
3282
|
-
e(t).user ? (u(), m(
|
|
3283
|
-
e(t).user?.isAdmin ? (u(), m(
|
|
3284
|
-
|
|
3285
|
-
e(t).user ? (u(), m(
|
|
3281
|
+
n(g),
|
|
3282
|
+
e(t).user ? (u(), m(_, { key: 3 })) : h("", !0),
|
|
3283
|
+
e(t).user?.isAdmin ? (u(), m(V, { key: 4 })) : h("", !0),
|
|
3284
|
+
n($),
|
|
3285
|
+
e(t).user ? (u(), m(w, { 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
|
|
3291
|
+
}), Ps = { key: 0 }, Fs = { class: "d-flex align-center justify-center py-2 px-6 ga-1 flex-wrap" }, Ns = /* @__PURE__ */ y({
|
|
3292
3292
|
__name: "VoUserQuickActions",
|
|
3293
3293
|
setup(p) {
|
|
3294
|
-
const t = U()
|
|
3295
|
-
|
|
3294
|
+
const t = U(), i = [
|
|
3295
|
+
{
|
|
3296
|
+
name: "Vuetify Play",
|
|
3297
|
+
href: "https://play.vuetifyjs.com",
|
|
3298
|
+
icon: "$vuetify-play"
|
|
3299
|
+
},
|
|
3300
|
+
{
|
|
3301
|
+
name: "Vuetify Bin",
|
|
3302
|
+
href: "https://bin.vuetifyjs.com",
|
|
3303
|
+
icon: "$vuetify-bin"
|
|
3304
|
+
},
|
|
3305
|
+
{
|
|
3306
|
+
name: "Vuetify Studio",
|
|
3307
|
+
href: "https://studio.vuetifyjs.com",
|
|
3308
|
+
icon: "$vuetify-studio"
|
|
3309
|
+
},
|
|
3310
|
+
{
|
|
3311
|
+
name: "Vuetify Snips",
|
|
3312
|
+
href: "https://snips.vuetifyjs.com",
|
|
3313
|
+
icon: "$vuetify-snips"
|
|
3314
|
+
},
|
|
3315
|
+
{
|
|
3316
|
+
name: "Vuetify Link",
|
|
3317
|
+
href: "https://link.vuetifyjs.com",
|
|
3318
|
+
icon: "$vuetify-link"
|
|
3319
|
+
},
|
|
3320
|
+
{
|
|
3321
|
+
name: "Vuetify Issues",
|
|
3322
|
+
href: "https://issues.vuetifyjs.com",
|
|
3323
|
+
icon: "$vuetify-issues"
|
|
3324
|
+
},
|
|
3325
|
+
{
|
|
3326
|
+
name: "Vuetify Store",
|
|
3327
|
+
href: "https://store.vuetifyjs.com",
|
|
3328
|
+
icon: "$vuetify-store"
|
|
3329
|
+
}
|
|
3330
|
+
];
|
|
3331
|
+
return (o, r) => (u(), m(pe, null, {
|
|
3296
3332
|
default: s(() => [
|
|
3297
|
-
e(t).one.quicklinks ? (u(),
|
|
3333
|
+
e(t).one.quicklinks ? (u(), k("div", Ps, [
|
|
3298
3334
|
v("div", Fs, [
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
color: e(t).one.colors.primary,
|
|
3302
|
-
density: "comfortable",
|
|
3303
|
-
flat: "",
|
|
3304
|
-
href: "https://play.vuetifyjs.com",
|
|
3305
|
-
icon: "$vuetify-play",
|
|
3306
|
-
target: "_blank"
|
|
3307
|
-
}, {
|
|
3308
|
-
default: s(() => [
|
|
3309
|
-
o(C),
|
|
3310
|
-
o(R, {
|
|
3311
|
-
activator: "parent",
|
|
3312
|
-
location: "top",
|
|
3313
|
-
text: "Vuetify Play"
|
|
3314
|
-
})
|
|
3315
|
-
]),
|
|
3316
|
-
_: 1
|
|
3317
|
-
}, 8, ["color"]),
|
|
3318
|
-
o(I, {
|
|
3319
|
-
class: "text-caption",
|
|
3320
|
-
color: e(t).one.colors.primary,
|
|
3321
|
-
density: "comfortable",
|
|
3322
|
-
flat: "",
|
|
3323
|
-
href: "https://bin.vuetifyjs.com",
|
|
3324
|
-
icon: "$vuetify-bin",
|
|
3325
|
-
target: "_blank"
|
|
3326
|
-
}, {
|
|
3327
|
-
default: s(() => [
|
|
3328
|
-
o(C),
|
|
3329
|
-
o(R, {
|
|
3330
|
-
activator: "parent",
|
|
3331
|
-
location: "top",
|
|
3332
|
-
text: "Vuetify Bin"
|
|
3333
|
-
})
|
|
3334
|
-
]),
|
|
3335
|
-
_: 1
|
|
3336
|
-
}, 8, ["color"]),
|
|
3337
|
-
o(I, {
|
|
3338
|
-
class: "text-caption",
|
|
3339
|
-
color: e(t).one.colors.primary,
|
|
3340
|
-
density: "comfortable",
|
|
3341
|
-
flat: "",
|
|
3342
|
-
href: "https://studio.vuetifyjs.com",
|
|
3343
|
-
icon: "$vuetify-studio",
|
|
3344
|
-
target: "_blank"
|
|
3345
|
-
}, {
|
|
3346
|
-
default: s(() => [
|
|
3347
|
-
o(C),
|
|
3348
|
-
o(R, {
|
|
3349
|
-
activator: "parent",
|
|
3350
|
-
location: "top",
|
|
3351
|
-
text: "Vuetify Studio"
|
|
3352
|
-
})
|
|
3353
|
-
]),
|
|
3354
|
-
_: 1
|
|
3355
|
-
}, 8, ["color"]),
|
|
3356
|
-
o(I, {
|
|
3335
|
+
(u(), k(D, null, G(i, (l) => n(A, {
|
|
3336
|
+
key: l.name,
|
|
3357
3337
|
class: "text-caption",
|
|
3358
3338
|
color: e(t).one.colors.primary,
|
|
3359
3339
|
density: "comfortable",
|
|
3360
3340
|
flat: "",
|
|
3361
|
-
href:
|
|
3362
|
-
icon:
|
|
3341
|
+
href: l.href,
|
|
3342
|
+
icon: l.icon,
|
|
3363
3343
|
target: "_blank"
|
|
3364
3344
|
}, {
|
|
3365
3345
|
default: s(() => [
|
|
3366
|
-
|
|
3367
|
-
|
|
3346
|
+
n(S),
|
|
3347
|
+
n(ie, {
|
|
3368
3348
|
activator: "parent",
|
|
3369
3349
|
location: "top",
|
|
3370
|
-
text:
|
|
3371
|
-
})
|
|
3350
|
+
text: l.name
|
|
3351
|
+
}, null, 8, ["text"])
|
|
3372
3352
|
]),
|
|
3373
|
-
_:
|
|
3374
|
-
},
|
|
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, {
|
|
3395
|
-
class: "text-caption",
|
|
3396
|
-
color: e(t).one.colors.primary,
|
|
3397
|
-
density: "comfortable",
|
|
3398
|
-
flat: "",
|
|
3399
|
-
href: "https://issues.vuetifyjs.com",
|
|
3400
|
-
icon: "$vuetify-issues",
|
|
3401
|
-
target: "_blank"
|
|
3402
|
-
}, {
|
|
3403
|
-
default: s(() => [
|
|
3404
|
-
o(C),
|
|
3405
|
-
o(R, {
|
|
3406
|
-
activator: "parent",
|
|
3407
|
-
location: "top",
|
|
3408
|
-
text: "Vuetify Issues"
|
|
3409
|
-
})
|
|
3410
|
-
]),
|
|
3411
|
-
_: 1
|
|
3412
|
-
}, 8, ["color"])
|
|
3353
|
+
_: 2
|
|
3354
|
+
}, 1032, ["color", "href", "icon"])), 64))
|
|
3413
3355
|
])
|
|
3414
3356
|
])) : h("", !0)
|
|
3415
3357
|
]),
|
|
3416
3358
|
_: 1
|
|
3417
3359
|
}));
|
|
3418
3360
|
}
|
|
3419
|
-
}),
|
|
3361
|
+
}), Zs = { class: "mb-2" }, Hs = { key: 0 }, js = { class: "d-flex ga-4 flex-wrap justify-center mb-4" }, Es = { class: "text-h6" }, Rs = /* @__PURE__ */ y({
|
|
3420
3362
|
__name: "VoUserAvatar",
|
|
3421
3363
|
setup(p) {
|
|
3422
|
-
const t =
|
|
3364
|
+
const t = H(), i = B(), o = U(), r = I(!1), l = b(() => {
|
|
3423
3365
|
const d = [
|
|
3424
3366
|
"https://cdn.vuetifyjs.com/docs/images/avatars/dark.png",
|
|
3425
3367
|
"https://cdn.vuetifyjs.com/docs/images/avatars/blackguard.png",
|
|
@@ -3439,13 +3381,13 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3439
3381
|
return i.isSubscriber && d.unshift("https://cdn.vuetifyjs.com/docs/images/avatars/one.png"), t.user && d.unshift(t.user.picture), d;
|
|
3440
3382
|
});
|
|
3441
3383
|
function a(d) {
|
|
3442
|
-
|
|
3384
|
+
o.one.avatar = d;
|
|
3443
3385
|
}
|
|
3444
3386
|
function c() {
|
|
3445
3387
|
i.isSubscriber && (r.value = !r.value);
|
|
3446
3388
|
}
|
|
3447
|
-
return (d, f) => (u(),
|
|
3448
|
-
|
|
3389
|
+
return (d, f) => (u(), k("div", null, [
|
|
3390
|
+
J((u(), m(Q, {
|
|
3449
3391
|
class: Pt([
|
|
3450
3392
|
"border-md border-opacity-100 border-surface-light",
|
|
3451
3393
|
{
|
|
@@ -3458,11 +3400,11 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3458
3400
|
onClick: xe(c, ["prevent", "stop"])
|
|
3459
3401
|
}, {
|
|
3460
3402
|
default: s(() => [
|
|
3461
|
-
e(t).user && e(
|
|
3403
|
+
e(t).user && e(o).one.avatar ? (u(), m(te, {
|
|
3462
3404
|
key: 0,
|
|
3463
3405
|
alt: "User avatar",
|
|
3464
|
-
src: e(
|
|
3465
|
-
}, null, 8, ["src"])) : (u(), m(
|
|
3406
|
+
src: e(o).one.avatar
|
|
3407
|
+
}, null, 8, ["src"])) : (u(), m(S, {
|
|
3466
3408
|
key: 1,
|
|
3467
3409
|
class: "mt-1",
|
|
3468
3410
|
icon: "$vuetify",
|
|
@@ -3473,28 +3415,28 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3473
3415
|
}, 8, ["class"])), [
|
|
3474
3416
|
[qo, e(i).isSubscriber]
|
|
3475
3417
|
]),
|
|
3476
|
-
v("div",
|
|
3477
|
-
|
|
3418
|
+
v("div", Zs, [
|
|
3419
|
+
n(pe, null, {
|
|
3478
3420
|
default: s(() => [
|
|
3479
|
-
e(r) ? (u(),
|
|
3480
|
-
|
|
3421
|
+
e(r) ? (u(), k("div", Hs, [
|
|
3422
|
+
n(T, {
|
|
3481
3423
|
class: "pt-6 pb-1",
|
|
3482
3424
|
flat: "",
|
|
3483
3425
|
rounded: "0"
|
|
3484
3426
|
}, {
|
|
3485
3427
|
default: s(() => [
|
|
3486
|
-
v("div",
|
|
3487
|
-
(u(!0),
|
|
3488
|
-
key:
|
|
3489
|
-
active: e(
|
|
3428
|
+
v("div", js, [
|
|
3429
|
+
(u(!0), k(D, null, G(e(l), (g, _) => (u(), m(A, {
|
|
3430
|
+
key: _,
|
|
3431
|
+
active: e(o).one.avatar === g,
|
|
3490
3432
|
icon: "",
|
|
3491
3433
|
variant: "flat",
|
|
3492
|
-
onClick: (
|
|
3434
|
+
onClick: (V) => a(g)
|
|
3493
3435
|
}, {
|
|
3494
3436
|
default: s(() => [
|
|
3495
|
-
|
|
3437
|
+
n(Q, {
|
|
3496
3438
|
eager: "",
|
|
3497
|
-
image:
|
|
3439
|
+
image: g
|
|
3498
3440
|
}, null, 8, ["image"])
|
|
3499
3441
|
]),
|
|
3500
3442
|
_: 2
|
|
@@ -3508,14 +3450,14 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3508
3450
|
_: 1
|
|
3509
3451
|
})
|
|
3510
3452
|
]),
|
|
3511
|
-
v("div",
|
|
3453
|
+
v("div", Es, C(e(t).user?.name ?? "Guest"), 1)
|
|
3512
3454
|
]));
|
|
3513
3455
|
}
|
|
3514
3456
|
}), qs = /* @__PURE__ */ y({
|
|
3515
3457
|
__name: "VoUserBadges",
|
|
3516
3458
|
setup(p) {
|
|
3517
|
-
const t =
|
|
3518
|
-
return (r, l) => e(
|
|
3459
|
+
const t = H(), i = B(), o = b(() => i.github || i.discord || i.isSubscriber || t.user?.isAdmin);
|
|
3460
|
+
return (r, l) => e(o) ? (u(), m(Ae, {
|
|
3519
3461
|
key: 0,
|
|
3520
3462
|
class: "align-center position-absolute ms-2 d-flex ga-2 pa-2",
|
|
3521
3463
|
color: "rgba(0,0,0,.54)",
|
|
@@ -3523,52 +3465,52 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3523
3465
|
style: { left: "0" }
|
|
3524
3466
|
}, {
|
|
3525
3467
|
default: s(() => [
|
|
3526
|
-
e(t).user?.isAdmin ? (u(), m(
|
|
3468
|
+
e(t).user?.isAdmin ? (u(), m(ie, {
|
|
3527
3469
|
key: 0,
|
|
3528
3470
|
location: "bottom",
|
|
3529
3471
|
text: "Vuetify Administrator"
|
|
3530
3472
|
}, {
|
|
3531
3473
|
activator: s(({ props: a }) => [
|
|
3532
|
-
|
|
3474
|
+
n(S, F({
|
|
3533
3475
|
color: "blue",
|
|
3534
3476
|
icon: "$vuetify"
|
|
3535
3477
|
}, a, { size: "16" }), null, 16)
|
|
3536
3478
|
]),
|
|
3537
3479
|
_: 1
|
|
3538
3480
|
})) : h("", !0),
|
|
3539
|
-
e(i).isSubscriber ? (u(), m(
|
|
3481
|
+
e(i).isSubscriber ? (u(), m(ie, {
|
|
3540
3482
|
key: 1,
|
|
3541
3483
|
location: "bottom",
|
|
3542
3484
|
text: "Vuetify One Subscriber"
|
|
3543
3485
|
}, {
|
|
3544
3486
|
activator: s(({ props: a }) => [
|
|
3545
|
-
|
|
3487
|
+
n(S, F({
|
|
3546
3488
|
color: "amber-darken-2",
|
|
3547
|
-
icon: `svg:${e(
|
|
3489
|
+
icon: `svg:${e(Ao)}`
|
|
3548
3490
|
}, a, { size: "16" }), null, 16, ["icon"])
|
|
3549
3491
|
]),
|
|
3550
3492
|
_: 1
|
|
3551
3493
|
})) : h("", !0),
|
|
3552
|
-
e(i).github ? (u(), m(
|
|
3494
|
+
e(i).github ? (u(), m(ie, {
|
|
3553
3495
|
key: 2,
|
|
3554
3496
|
location: "bottom",
|
|
3555
3497
|
text: "GitHub Sponsor"
|
|
3556
3498
|
}, {
|
|
3557
3499
|
activator: s(({ props: a }) => [
|
|
3558
|
-
|
|
3500
|
+
n(S, F({
|
|
3559
3501
|
color: "white",
|
|
3560
3502
|
icon: "$github"
|
|
3561
3503
|
}, a, { size: "16" }), null, 16)
|
|
3562
3504
|
]),
|
|
3563
3505
|
_: 1
|
|
3564
3506
|
})) : h("", !0),
|
|
3565
|
-
e(i).discord ? (u(), m(
|
|
3507
|
+
e(i).discord ? (u(), m(ie, {
|
|
3566
3508
|
key: 3,
|
|
3567
3509
|
location: "bottom",
|
|
3568
3510
|
text: "Discord Subscriber"
|
|
3569
3511
|
}, {
|
|
3570
3512
|
activator: s(({ props: a }) => [
|
|
3571
|
-
|
|
3513
|
+
n(S, F({
|
|
3572
3514
|
color: "white",
|
|
3573
3515
|
icon: "$discord"
|
|
3574
3516
|
}, a, { size: "16" }), null, 16)
|
|
@@ -3585,15 +3527,15 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3585
3527
|
}, Ks = /* @__PURE__ */ y({
|
|
3586
3528
|
__name: "VoUserColors",
|
|
3587
3529
|
setup(p) {
|
|
3588
|
-
const t =
|
|
3530
|
+
const t = H(), i = B(), o = U(), r = I(!1);
|
|
3589
3531
|
function l() {
|
|
3590
|
-
|
|
3532
|
+
o.one.colors.primary = "surface-light";
|
|
3591
3533
|
}
|
|
3592
3534
|
return (a, c) => {
|
|
3593
|
-
const d = qs, f =
|
|
3594
|
-
return u(),
|
|
3595
|
-
|
|
3596
|
-
color: e(t).user ? e(
|
|
3535
|
+
const d = qs, f = ke;
|
|
3536
|
+
return u(), k(D, null, [
|
|
3537
|
+
n(te, {
|
|
3538
|
+
color: e(t).user ? e(o).one.colors.primary : "surface-light",
|
|
3597
3539
|
"content-class": "d-flex align-start justify-end pa-2",
|
|
3598
3540
|
cover: "",
|
|
3599
3541
|
flat: "",
|
|
@@ -3602,15 +3544,15 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3602
3544
|
}, {
|
|
3603
3545
|
default: s(() => [
|
|
3604
3546
|
v("div", Ws, [
|
|
3605
|
-
|
|
3606
|
-
|
|
3547
|
+
n(d),
|
|
3548
|
+
n(Ho, null, {
|
|
3607
3549
|
default: s(() => [
|
|
3608
|
-
|
|
3609
|
-
|
|
3550
|
+
J(v("div", Gs, [
|
|
3551
|
+
n(f, {
|
|
3610
3552
|
class: "ms-2 me-1",
|
|
3611
3553
|
color: "inherit",
|
|
3612
3554
|
density: "comfortable",
|
|
3613
|
-
disabled: e(
|
|
3555
|
+
disabled: e(o).one.colors.primary === "surface-light",
|
|
3614
3556
|
icon: `svg:${e(To)}`,
|
|
3615
3557
|
title: "Revert to Default",
|
|
3616
3558
|
variant: "text",
|
|
@@ -3631,12 +3573,12 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3631
3573
|
icon: e(r) ? `svg:${e(he)}` : "$edit",
|
|
3632
3574
|
title: "Edit One Header Color",
|
|
3633
3575
|
variant: e(r) ? "text" : "plain",
|
|
3634
|
-
onClick: c[0] || (c[0] = (
|
|
3576
|
+
onClick: c[0] || (c[0] = (g) => r.value = !e(r))
|
|
3635
3577
|
}, {
|
|
3636
3578
|
default: s(() => [
|
|
3637
|
-
|
|
3579
|
+
n(be, { "leave-absolute": "" }, {
|
|
3638
3580
|
default: s(() => [
|
|
3639
|
-
(u(), m(
|
|
3581
|
+
(u(), m(S, {
|
|
3640
3582
|
key: String(e(r))
|
|
3641
3583
|
}))
|
|
3642
3584
|
]),
|
|
@@ -3649,7 +3591,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3649
3591
|
]),
|
|
3650
3592
|
_: 1
|
|
3651
3593
|
}, 8, ["color"]),
|
|
3652
|
-
|
|
3594
|
+
n(pe, null, {
|
|
3653
3595
|
default: s(() => [
|
|
3654
3596
|
e(r) ? (u(), m(tn, {
|
|
3655
3597
|
key: 0,
|
|
@@ -3658,12 +3600,12 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3658
3600
|
"hide-canvas": "",
|
|
3659
3601
|
"hide-inputs": "",
|
|
3660
3602
|
"hide-sliders": "",
|
|
3661
|
-
"model-value": e(
|
|
3603
|
+
"model-value": e(o).one.colors.primary !== "surface-light" ? e(o).one.colors.primary : void 0,
|
|
3662
3604
|
rounded: "0",
|
|
3663
3605
|
"show-swatches": "",
|
|
3664
3606
|
"swatches-max-height": "200",
|
|
3665
3607
|
width: "278",
|
|
3666
|
-
"onUpdate:modelValue": c[1] || (c[1] = (
|
|
3608
|
+
"onUpdate:modelValue": c[1] || (c[1] = (g) => e(o).one.colors.primary = g)
|
|
3667
3609
|
}, null, 8, ["model-value"])) : h("", !0)
|
|
3668
3610
|
]),
|
|
3669
3611
|
_: 1
|
|
@@ -3674,16 +3616,16 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3674
3616
|
}), Qs = { class: "text-center mt-n9 mb-4" }, Ys = /* @__PURE__ */ y({
|
|
3675
3617
|
__name: "VoUserMenu",
|
|
3676
3618
|
setup(p) {
|
|
3677
|
-
const t = Pe(), i = B(),
|
|
3678
|
-
return
|
|
3679
|
-
await new Promise((r) => setTimeout(r, 300)), i.isOpen &&
|
|
3619
|
+
const t = Pe(), i = B(), o = N();
|
|
3620
|
+
return j(() => t.banner, async () => {
|
|
3621
|
+
await new Promise((r) => setTimeout(r, 300)), i.isOpen && o.value?.updateLocation?.();
|
|
3680
3622
|
}, { flush: "pre" }), (r, l) => {
|
|
3681
|
-
const a = Ks, c =
|
|
3623
|
+
const a = Ks, c = Rs, d = Ns, f = Os, g = St;
|
|
3682
3624
|
return u(), m(Qe, {
|
|
3683
3625
|
ref_key: "menu",
|
|
3684
|
-
ref:
|
|
3626
|
+
ref: o,
|
|
3685
3627
|
modelValue: e(i).isOpen,
|
|
3686
|
-
"onUpdate:modelValue": l[0] || (l[0] = (
|
|
3628
|
+
"onUpdate:modelValue": l[0] || (l[0] = (_) => e(i).isOpen = _),
|
|
3687
3629
|
activator: "parent",
|
|
3688
3630
|
"close-on-click": !1,
|
|
3689
3631
|
"close-on-content-click": !1,
|
|
@@ -3691,21 +3633,21 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3691
3633
|
location: "bottom end"
|
|
3692
3634
|
}, {
|
|
3693
3635
|
default: s(() => [
|
|
3694
|
-
|
|
3636
|
+
n(T, {
|
|
3695
3637
|
border: "",
|
|
3696
3638
|
rounded: "lg",
|
|
3697
3639
|
width: "280"
|
|
3698
3640
|
}, {
|
|
3699
3641
|
default: s(() => [
|
|
3700
|
-
|
|
3642
|
+
n(a),
|
|
3701
3643
|
v("div", Qs, [
|
|
3702
|
-
|
|
3703
|
-
|
|
3644
|
+
n(c),
|
|
3645
|
+
n(d)
|
|
3704
3646
|
]),
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3647
|
+
n(Z),
|
|
3648
|
+
n(f),
|
|
3649
|
+
n(Z),
|
|
3650
|
+
n(g)
|
|
3709
3651
|
]),
|
|
3710
3652
|
_: 1
|
|
3711
3653
|
})
|
|
@@ -3717,50 +3659,50 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3717
3659
|
}), Xs = { class: "me-n3" }, Js = /* @__PURE__ */ y({
|
|
3718
3660
|
__name: "VoTeamInvite",
|
|
3719
3661
|
setup(p) {
|
|
3720
|
-
const t =
|
|
3721
|
-
function
|
|
3662
|
+
const t = Me(), i = b(() => t.team?.name ?? `${t.team?.owner.name}'s team`);
|
|
3663
|
+
function o(r) {
|
|
3722
3664
|
t.clearTeamQuery(), r.value = !1;
|
|
3723
3665
|
}
|
|
3724
|
-
return (r, l) => e(t).teamInviteDialog ? (u(), m(
|
|
3666
|
+
return (r, l) => e(t).teamInviteDialog ? (u(), m(De, {
|
|
3725
3667
|
key: 0,
|
|
3726
3668
|
modelValue: e(t).teamInviteDialog,
|
|
3727
3669
|
"onUpdate:modelValue": l[1] || (l[1] = (a) => e(t).teamInviteDialog = a),
|
|
3728
3670
|
"max-width": "500"
|
|
3729
3671
|
}, {
|
|
3730
3672
|
default: s(({ isActive: a }) => [
|
|
3731
|
-
|
|
3673
|
+
n(T, {
|
|
3732
3674
|
"prepend-icon": `svg:${e(Uo)}`,
|
|
3733
3675
|
rounded: "lg",
|
|
3734
3676
|
title: "Join a Team"
|
|
3735
3677
|
}, {
|
|
3736
3678
|
append: s(() => [
|
|
3737
3679
|
v("div", Xs, [
|
|
3738
|
-
|
|
3680
|
+
n(A, {
|
|
3739
3681
|
icon: "$close",
|
|
3740
3682
|
size: "x-small",
|
|
3741
3683
|
variant: "text",
|
|
3742
|
-
onClick: (c) =>
|
|
3684
|
+
onClick: (c) => o(a)
|
|
3743
3685
|
}, null, 8, ["onClick"])
|
|
3744
3686
|
])
|
|
3745
3687
|
]),
|
|
3746
3688
|
text: s(() => [
|
|
3747
|
-
l[2] || (l[2] =
|
|
3748
|
-
v("strong", null,
|
|
3749
|
-
l[3] || (l[3] =
|
|
3689
|
+
l[2] || (l[2] = M(" You have been invited to join ", -1)),
|
|
3690
|
+
v("strong", null, C(e(i)), 1),
|
|
3691
|
+
l[3] || (l[3] = M("! ", -1))
|
|
3750
3692
|
]),
|
|
3751
3693
|
default: s(() => [
|
|
3752
|
-
|
|
3753
|
-
|
|
3694
|
+
n(Z, { opacity: ".2" }),
|
|
3695
|
+
n(gt, { class: "bg-surface-light" }, {
|
|
3754
3696
|
default: s(() => [
|
|
3755
|
-
|
|
3697
|
+
n(A, {
|
|
3756
3698
|
disabled: e(t).isLoading,
|
|
3757
3699
|
rounded: "lg",
|
|
3758
3700
|
text: "Cancel",
|
|
3759
3701
|
variant: "plain",
|
|
3760
|
-
onClick: (c) =>
|
|
3702
|
+
onClick: (c) => o(a)
|
|
3761
3703
|
}, null, 8, ["disabled", "onClick"]),
|
|
3762
|
-
|
|
3763
|
-
|
|
3704
|
+
n(_t),
|
|
3705
|
+
n(A, {
|
|
3764
3706
|
"append-icon": "$success",
|
|
3765
3707
|
color: "success",
|
|
3766
3708
|
disabled: e(t).isLoading,
|
|
@@ -3779,21 +3721,21 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3779
3721
|
_: 1
|
|
3780
3722
|
}, 8, ["modelValue"])) : h("", !0);
|
|
3781
3723
|
}
|
|
3782
|
-
}), ea = { key: 0 },
|
|
3724
|
+
}), ea = { key: 0 }, Dt = /* @__PURE__ */ y({
|
|
3783
3725
|
__name: "VoAuthBtn",
|
|
3784
3726
|
props: {
|
|
3785
3727
|
external: Boolean
|
|
3786
3728
|
},
|
|
3787
3729
|
setup(p) {
|
|
3788
|
-
const t =
|
|
3730
|
+
const t = H(), i = B(), o = U(), { lgAndUp: r } = se(), l = b(() => i.isOpen || !t.user ? o.one.colors.primary === "surface-light" ? "primary" : o.one.colors.primary : "surface-light"), { smAndUp: a } = se();
|
|
3789
3731
|
return (c, d) => {
|
|
3790
|
-
const f = Ys,
|
|
3791
|
-
return u(),
|
|
3792
|
-
|
|
3732
|
+
const f = Ys, g = ke, _ = mn, V = wt, $ = an;
|
|
3733
|
+
return u(), k(D, null, [
|
|
3734
|
+
n(_, {
|
|
3793
3735
|
"offset-y": e(t).user ? 5 : 0
|
|
3794
3736
|
}, {
|
|
3795
3737
|
default: s(() => [
|
|
3796
|
-
|
|
3738
|
+
n(g, F({
|
|
3797
3739
|
[`${e(r) ? "append-" : ""}icon`]: e(t).user ? void 0 : `svg:${e(nt)}`
|
|
3798
3740
|
}, {
|
|
3799
3741
|
active: "",
|
|
@@ -3807,25 +3749,25 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3807
3749
|
variant: e(t).user ? e(i).isOpen ? "outlined" : "text" : "flat"
|
|
3808
3750
|
}), {
|
|
3809
3751
|
default: s(() => [
|
|
3810
|
-
e(t).user ? (u(), m(
|
|
3752
|
+
e(t).user ? (u(), m(Q, {
|
|
3811
3753
|
key: 0,
|
|
3812
|
-
image: e(
|
|
3813
|
-
}, null, 8, ["image"])) : (u(),
|
|
3814
|
-
e(a) ? (u(),
|
|
3754
|
+
image: e(o).one.avatar || e(t).user.picture || ""
|
|
3755
|
+
}, null, 8, ["image"])) : (u(), k(D, { key: 1 }, [
|
|
3756
|
+
e(a) ? (u(), k("span", ea, "Login")) : (u(), m(S, {
|
|
3815
3757
|
key: 1,
|
|
3816
3758
|
icon: `svg:${e(nt)}`
|
|
3817
3759
|
}, null, 8, ["icon"]))
|
|
3818
3760
|
], 64)),
|
|
3819
|
-
|
|
3761
|
+
n(f)
|
|
3820
3762
|
]),
|
|
3821
3763
|
_: 1
|
|
3822
3764
|
}, 16, ["border", "color", "icon", "loading", "size", "variant"])
|
|
3823
3765
|
]),
|
|
3824
3766
|
_: 1
|
|
3825
3767
|
}, 8, ["offset-y"]),
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3768
|
+
n(V),
|
|
3769
|
+
n(Js),
|
|
3770
|
+
n($)
|
|
3829
3771
|
], 64);
|
|
3830
3772
|
};
|
|
3831
3773
|
}
|
|
@@ -3843,8 +3785,8 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3843
3785
|
},
|
|
3844
3786
|
emits: ["update:modelValue"],
|
|
3845
3787
|
setup(p) {
|
|
3846
|
-
const t =
|
|
3847
|
-
return (
|
|
3788
|
+
const t = E(p, "modelValue"), i = rt();
|
|
3789
|
+
return (o, r) => (u(), m(Qe, {
|
|
3848
3790
|
modelValue: t.value,
|
|
3849
3791
|
"onUpdate:modelValue": r[0] || (r[0] = (l) => t.value = l),
|
|
3850
3792
|
"close-on-content-click": !1,
|
|
@@ -3852,36 +3794,36 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3852
3794
|
"min-width": 300
|
|
3853
3795
|
}, {
|
|
3854
3796
|
activator: s(({ props: l }) => [
|
|
3855
|
-
L(
|
|
3856
|
-
|
|
3797
|
+
L(o.$slots, "activator", lt(ut(l)), () => [
|
|
3798
|
+
n(A, F(l, {
|
|
3857
3799
|
icon: `svg:${e(Bo)}`,
|
|
3858
3800
|
size: "small"
|
|
3859
3801
|
}), null, 16, ["icon"])
|
|
3860
3802
|
])
|
|
3861
3803
|
]),
|
|
3862
3804
|
default: s(() => [
|
|
3863
|
-
|
|
3805
|
+
n(T, { class: "pa-4" }, {
|
|
3864
3806
|
default: s(() => [
|
|
3865
|
-
i.prepend ? (u(),
|
|
3866
|
-
L(
|
|
3807
|
+
i.prepend ? (u(), k("div", ta, [
|
|
3808
|
+
L(o.$slots, "prepend")
|
|
3867
3809
|
])) : h("", !0),
|
|
3868
|
-
i.title ? (u(),
|
|
3869
|
-
i.prepend ? (u(), m(
|
|
3810
|
+
i.title ? (u(), k(D, { key: 1 }, [
|
|
3811
|
+
i.prepend ? (u(), m(Z, {
|
|
3870
3812
|
key: 0,
|
|
3871
3813
|
class: "mb-3"
|
|
3872
3814
|
})) : h("", !0),
|
|
3873
3815
|
v("div", oa, [
|
|
3874
|
-
L(
|
|
3816
|
+
L(o.$slots, "title")
|
|
3875
3817
|
])
|
|
3876
3818
|
], 64)) : h("", !0),
|
|
3877
|
-
i.default ? L(
|
|
3878
|
-
i.extension ? (u(),
|
|
3879
|
-
L(
|
|
3819
|
+
i.default ? L(o.$slots, "default", { key: 2 }) : h("", !0),
|
|
3820
|
+
i.extension ? (u(), k("div", na, [
|
|
3821
|
+
L(o.$slots, "extension")
|
|
3880
3822
|
])) : h("", !0),
|
|
3881
|
-
i.append ? (u(),
|
|
3882
|
-
|
|
3823
|
+
i.append ? (u(), k(D, { key: 4 }, [
|
|
3824
|
+
n(Z, { class: "my-3" }),
|
|
3883
3825
|
v("div", sa, [
|
|
3884
|
-
L(
|
|
3826
|
+
L(o.$slots, "append")
|
|
3885
3827
|
])
|
|
3886
3828
|
], 64)) : h("", !0)
|
|
3887
3829
|
]),
|
|
@@ -3902,21 +3844,21 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3902
3844
|
}),
|
|
3903
3845
|
emits: ["update:mobileMenu"],
|
|
3904
3846
|
setup(p) {
|
|
3905
|
-
const t = p, i =
|
|
3906
|
-
return (f,
|
|
3907
|
-
const
|
|
3908
|
-
return u(), m(
|
|
3847
|
+
const t = p, i = E(p, "mobileMenu"), o = rt(), r = Te(), l = Be(), { mobile: a } = se(), 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`);
|
|
3848
|
+
return (f, g) => {
|
|
3849
|
+
const _ = it("router-link"), V = aa, $ = Dt;
|
|
3850
|
+
return u(), m(kt, {
|
|
3909
3851
|
class: "border-b",
|
|
3910
3852
|
image: e(l).suit["app-bar"],
|
|
3911
3853
|
name: "vo-app-bar"
|
|
3912
3854
|
}, P({
|
|
3913
3855
|
prepend: s(() => [
|
|
3914
|
-
|
|
3856
|
+
n(_, {
|
|
3915
3857
|
class: "ps-2",
|
|
3916
3858
|
to: "/"
|
|
3917
3859
|
}, {
|
|
3918
3860
|
default: s(() => [
|
|
3919
|
-
|
|
3861
|
+
n(te, {
|
|
3920
3862
|
src: e(d),
|
|
3921
3863
|
width: "128"
|
|
3922
3864
|
}, null, 8, ["src"])
|
|
@@ -3928,44 +3870,44 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3928
3870
|
]),
|
|
3929
3871
|
append: s(() => [
|
|
3930
3872
|
L(f.$slots, "append-fixed"),
|
|
3931
|
-
e(c) ? (u(), m(
|
|
3873
|
+
e(c) ? (u(), m(V, {
|
|
3932
3874
|
key: 0,
|
|
3933
3875
|
modelValue: i.value,
|
|
3934
|
-
"onUpdate:modelValue":
|
|
3876
|
+
"onUpdate:modelValue": g[0] || (g[0] = (w) => i.value = w)
|
|
3935
3877
|
}, P({
|
|
3936
|
-
activator: s((
|
|
3937
|
-
L(f.$slots, "menu-activator", lt(ut(
|
|
3878
|
+
activator: s((w) => [
|
|
3879
|
+
L(f.$slots, "menu-activator", lt(ut(w)))
|
|
3938
3880
|
]),
|
|
3939
3881
|
_: 2
|
|
3940
3882
|
}, [
|
|
3941
|
-
|
|
3883
|
+
G(o, (w, O) => ({
|
|
3942
3884
|
name: O,
|
|
3943
3885
|
fn: s(() => [
|
|
3944
3886
|
L(f.$slots, O)
|
|
3945
3887
|
])
|
|
3946
3888
|
}))
|
|
3947
3889
|
]), 1032, ["modelValue"])) : L(f.$slots, "append", { key: 1 }),
|
|
3948
|
-
"append" in
|
|
3890
|
+
"append" in o || "append-fixed" in o ? (u(), m(Z, {
|
|
3949
3891
|
key: 2,
|
|
3950
3892
|
class: "align-self-center h-100 mx-2 mx-sm-4",
|
|
3951
3893
|
length: "20",
|
|
3952
3894
|
vertical: ""
|
|
3953
3895
|
})) : h("", !0),
|
|
3954
|
-
|
|
3896
|
+
n($)
|
|
3955
3897
|
]),
|
|
3956
3898
|
default: s(() => [
|
|
3957
3899
|
e(c) ? h("", !0) : L(f.$slots, "default", { key: 0 })
|
|
3958
3900
|
]),
|
|
3959
3901
|
_: 2
|
|
3960
3902
|
}, [
|
|
3961
|
-
!e(c) &&
|
|
3903
|
+
!e(c) && o.title ? {
|
|
3962
3904
|
name: "title",
|
|
3963
3905
|
fn: s(() => [
|
|
3964
3906
|
L(f.$slots, "title")
|
|
3965
3907
|
]),
|
|
3966
3908
|
key: "0"
|
|
3967
3909
|
} : void 0,
|
|
3968
|
-
!e(c) &&
|
|
3910
|
+
!e(c) && o.extension ? {
|
|
3969
3911
|
name: "extension",
|
|
3970
3912
|
fn: s(() => [
|
|
3971
3913
|
L(f.$slots, "extension")
|
|
@@ -3993,15 +3935,15 @@ const Cn = /* @__PURE__ */ y({
|
|
|
3993
3935
|
},
|
|
3994
3936
|
emits: ["script:error", "script:load"],
|
|
3995
3937
|
setup(p, { emit: t }) {
|
|
3996
|
-
const i = p,
|
|
3997
|
-
return
|
|
3998
|
-
const a = document.createElement("script"), c = () =>
|
|
3999
|
-
a.type = "text/javascript", a.id = i.scriptId, a.src = i.src, a.addEventListener("load", () =>
|
|
4000
|
-
}),
|
|
3938
|
+
const i = p, o = t, r = N(), l = N();
|
|
3939
|
+
return je(async () => {
|
|
3940
|
+
const a = document.createElement("script"), c = () => o("script:error");
|
|
3941
|
+
a.type = "text/javascript", a.id = i.scriptId, a.src = i.src, a.addEventListener("load", () => o("script:load")), a.onerror = c, l.value = a;
|
|
3942
|
+
}), He(() => {
|
|
4001
3943
|
l.value && r.value && r.value.append(l.value);
|
|
4002
3944
|
}), Ft(() => {
|
|
4003
3945
|
l.value && r.value && l.value.remove();
|
|
4004
|
-
}), (a, c) => (u(),
|
|
3946
|
+
}), (a, c) => (u(), k("div", {
|
|
4005
3947
|
id: p.id,
|
|
4006
3948
|
ref_key: "rootEl",
|
|
4007
3949
|
ref: r
|
|
@@ -4021,8 +3963,8 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4021
3963
|
height: "40"
|
|
4022
3964
|
}, {
|
|
4023
3965
|
default: s(() => [
|
|
4024
|
-
t.image || t.$slots.image ? (u(),
|
|
4025
|
-
t.$slots.image ? L(t.$slots, "image", { key: 0 }, void 0, !0) : (u(), m(
|
|
3966
|
+
t.image || t.$slots.image ? (u(), k("div", ua, [
|
|
3967
|
+
t.$slots.image ? L(t.$slots, "image", { key: 0 }, void 0, !0) : (u(), m(te, {
|
|
4026
3968
|
key: 1,
|
|
4027
3969
|
cover: "",
|
|
4028
3970
|
position: "left",
|
|
@@ -4036,10 +3978,10 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4036
3978
|
}
|
|
4037
3979
|
}), Xe = (p, t) => {
|
|
4038
3980
|
const i = p.__vccOpts || p;
|
|
4039
|
-
for (const [
|
|
4040
|
-
i[
|
|
3981
|
+
for (const [o, r] of t)
|
|
3982
|
+
i[o] = r;
|
|
4041
3983
|
return i;
|
|
4042
|
-
},
|
|
3984
|
+
}, At = /* @__PURE__ */ Xe(ca, [["__scopeId", "data-v-31335c0a"]]), da = ["href", "title"], pa = {
|
|
4043
3985
|
class: "text-caption text-disabled",
|
|
4044
3986
|
style: { position: "absolute", right: "16px" }
|
|
4045
3987
|
}, ma = /* @__PURE__ */ y({
|
|
@@ -4077,15 +4019,15 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4077
4019
|
href: "https://reddit.com/r/vuetifyjs"
|
|
4078
4020
|
}
|
|
4079
4021
|
];
|
|
4080
|
-
return (
|
|
4081
|
-
const l =
|
|
4022
|
+
return (o, r) => {
|
|
4023
|
+
const l = At;
|
|
4082
4024
|
return u(), m(l, {
|
|
4083
4025
|
class: "vo-footer",
|
|
4084
4026
|
height: "40",
|
|
4085
4027
|
image: e(t).suit.footer
|
|
4086
4028
|
}, P({
|
|
4087
4029
|
default: s(() => [
|
|
4088
|
-
(u(),
|
|
4030
|
+
(u(), k(D, null, G(i, (a) => v("a", {
|
|
4089
4031
|
key: a.title,
|
|
4090
4032
|
class: "d-inline-block mx-2 social-link",
|
|
4091
4033
|
href: a.href,
|
|
@@ -4093,22 +4035,22 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4093
4035
|
target: "_blank",
|
|
4094
4036
|
title: a.title
|
|
4095
4037
|
}, [
|
|
4096
|
-
|
|
4038
|
+
n(S, {
|
|
4097
4039
|
icon: a.icon,
|
|
4098
4040
|
size: a.icon === "$vuetify" ? 24 : 16
|
|
4099
4041
|
}, null, 8, ["icon", "size"])
|
|
4100
4042
|
], 8, da)), 64)),
|
|
4101
4043
|
v("div", pa, [
|
|
4102
|
-
|
|
4044
|
+
M(" © 2016-" + C((/* @__PURE__ */ new Date()).getFullYear()) + " ", 1),
|
|
4103
4045
|
r[0] || (r[0] = v("span", { class: "d-none d-sm-inline-block" }, "Vuetify, LLC", -1))
|
|
4104
4046
|
])
|
|
4105
4047
|
]),
|
|
4106
4048
|
_: 2
|
|
4107
4049
|
}, [
|
|
4108
|
-
|
|
4050
|
+
o.$slots.image ? {
|
|
4109
4051
|
name: "image",
|
|
4110
4052
|
fn: s(() => [
|
|
4111
|
-
L(
|
|
4053
|
+
L(o.$slots, "image", {}, void 0, !0)
|
|
4112
4054
|
]),
|
|
4113
4055
|
key: "0"
|
|
4114
4056
|
} : void 0
|
|
@@ -4121,61 +4063,61 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4121
4063
|
demo: { type: Boolean }
|
|
4122
4064
|
},
|
|
4123
4065
|
setup(p) {
|
|
4124
|
-
Nt((
|
|
4066
|
+
Nt(($) => ({
|
|
4125
4067
|
"581d2818": e(a)?.metadata.bg_blur
|
|
4126
4068
|
}));
|
|
4127
|
-
const t = p, { mdAndUp: i } =
|
|
4069
|
+
const t = p, { mdAndUp: i } = se(), o = 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));
|
|
4128
4070
|
function f() {
|
|
4129
4071
|
t.demo || a.value && (r.one.banners.read.push(a.value.slug), r.one.banners.last = (/* @__PURE__ */ new Date()).toISOString());
|
|
4130
4072
|
}
|
|
4131
|
-
async function
|
|
4073
|
+
async function g($) {
|
|
4132
4074
|
if (!a.value) return;
|
|
4133
4075
|
r.one.banners.last = (/* @__PURE__ */ new Date()).toISOString();
|
|
4134
|
-
const
|
|
4135
|
-
if (!
|
|
4136
|
-
|
|
4137
|
-
const O =
|
|
4138
|
-
|
|
4076
|
+
const w = a.value?.metadata ?? { link: "" };
|
|
4077
|
+
if (!w.link.includes("?one=")) return;
|
|
4078
|
+
$.preventDefault(), $.stopPropagation();
|
|
4079
|
+
const O = w.link.split("?one=")[1];
|
|
4080
|
+
o.push({ query: { one: O } });
|
|
4139
4081
|
}
|
|
4140
|
-
const
|
|
4141
|
-
const
|
|
4082
|
+
const _ = b(() => {
|
|
4083
|
+
const $ = a.value?.metadata ?? { link: "" };
|
|
4142
4084
|
return {
|
|
4143
|
-
href:
|
|
4144
|
-
target:
|
|
4145
|
-
to:
|
|
4085
|
+
href: $.link.startsWith("http") ? $.link : void 0,
|
|
4086
|
+
target: $.link.startsWith("http") ? "_blank" : void 0,
|
|
4087
|
+
to: $.link.startsWith("http") ? void 0 : $.link,
|
|
4146
4088
|
...a.value?.metadata.attributes
|
|
4147
4089
|
};
|
|
4148
|
-
}),
|
|
4149
|
-
const
|
|
4150
|
-
if (
|
|
4151
|
-
const
|
|
4152
|
-
return
|
|
4090
|
+
}), V = b(() => {
|
|
4091
|
+
const $ = a.value?.metadata.images.bg?.url;
|
|
4092
|
+
if (!$?.startsWith("https://cdn.cosmicjs.com/")) return $;
|
|
4093
|
+
const w = new URL($);
|
|
4094
|
+
return w.host = "imgix.cosmicjs.com", w.search = new URLSearchParams({
|
|
4153
4095
|
auto: "format,compress",
|
|
4154
4096
|
q: "10",
|
|
4155
4097
|
fit: "crop",
|
|
4156
4098
|
w: "4096",
|
|
4157
4099
|
h: "256"
|
|
4158
|
-
}).toString(),
|
|
4100
|
+
}).toString(), w.toString();
|
|
4159
4101
|
});
|
|
4160
|
-
return (
|
|
4102
|
+
return ($, w) => e(a) ? (u(), m(kt, {
|
|
4161
4103
|
key: 0,
|
|
4162
4104
|
class: "vo-notifications-banner",
|
|
4163
4105
|
color: e(a).metadata.color,
|
|
4164
4106
|
flat: "",
|
|
4165
4107
|
height: e(c),
|
|
4166
|
-
image: e(
|
|
4167
|
-
location:
|
|
4108
|
+
image: e(V),
|
|
4109
|
+
location: $.demo ? "bottom" : void 0,
|
|
4168
4110
|
"model-value": e(d),
|
|
4169
4111
|
order: "-1"
|
|
4170
4112
|
}, {
|
|
4171
4113
|
default: s(() => [
|
|
4172
|
-
|
|
4114
|
+
n(de, F({
|
|
4173
4115
|
active: !1,
|
|
4174
4116
|
class: "flex-grow-1 py-6",
|
|
4175
4117
|
lines: "two"
|
|
4176
|
-
}, e(
|
|
4118
|
+
}, e(_), { onClick: g }), {
|
|
4177
4119
|
prepend: s(() => [
|
|
4178
|
-
e(a).metadata.images.logo ? (u(), m(
|
|
4120
|
+
e(a).metadata.images.logo ? (u(), m(Q, {
|
|
4179
4121
|
key: 0,
|
|
4180
4122
|
icon: "$vuetify",
|
|
4181
4123
|
image: e(a).metadata.images.logo.url,
|
|
@@ -4185,30 +4127,30 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4185
4127
|
}, null, 8, ["image"])) : h("", !0)
|
|
4186
4128
|
]),
|
|
4187
4129
|
append: s(() => [
|
|
4188
|
-
e(i) && e(a).metadata.link && e(a).metadata.link_text ? (u(), m(
|
|
4189
|
-
default: s(({ isHovering: O, props:
|
|
4190
|
-
|
|
4191
|
-
"append-icon": `svg:${e(
|
|
4130
|
+
e(i) && e(a).metadata.link && e(a).metadata.link_text ? (u(), m(Ve, { key: 0 }, {
|
|
4131
|
+
default: s(({ isHovering: O, props: X }) => [
|
|
4132
|
+
n(A, F({
|
|
4133
|
+
"append-icon": `svg:${e(Ie)}`,
|
|
4192
4134
|
class: "text-none me-2",
|
|
4193
4135
|
color: e(a).metadata.link_color,
|
|
4194
4136
|
elevation: O ? 8 : 0,
|
|
4195
4137
|
title: e(a).metadata.link_text
|
|
4196
4138
|
}, {
|
|
4197
|
-
...
|
|
4198
|
-
...e(
|
|
4139
|
+
...X,
|
|
4140
|
+
...e(_)
|
|
4199
4141
|
}, {
|
|
4200
4142
|
variant: "elevated",
|
|
4201
|
-
onClick: xe(
|
|
4143
|
+
onClick: xe(g, ["stop"])
|
|
4202
4144
|
}), {
|
|
4203
4145
|
default: s(() => [
|
|
4204
|
-
|
|
4146
|
+
M(C(e(a).metadata.link_text), 1)
|
|
4205
4147
|
]),
|
|
4206
4148
|
_: 1
|
|
4207
4149
|
}, 16, ["append-icon", "color", "elevation", "title"])
|
|
4208
4150
|
]),
|
|
4209
4151
|
_: 1
|
|
4210
4152
|
})) : h("", !0),
|
|
4211
|
-
e(a).metadata.closable ? (u(), m(
|
|
4153
|
+
e(a).metadata.closable ? (u(), m(A, {
|
|
4212
4154
|
key: 1,
|
|
4213
4155
|
class: "ms-6 me-2",
|
|
4214
4156
|
density: "comfortable",
|
|
@@ -4224,13 +4166,13 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4224
4166
|
class: "text-subtitle-2 text-md-subtitle-1 font-weight-medium"
|
|
4225
4167
|
}, {
|
|
4226
4168
|
default: s(() => [
|
|
4227
|
-
|
|
4169
|
+
M(C(e(a).metadata.text), 1)
|
|
4228
4170
|
]),
|
|
4229
4171
|
_: 1
|
|
4230
4172
|
})) : h("", !0),
|
|
4231
4173
|
e(a).metadata.subtext ? (u(), m(Po, { key: 1 }, {
|
|
4232
4174
|
default: s(() => [
|
|
4233
|
-
|
|
4175
|
+
M(C(e(a).metadata.subtext), 1)
|
|
4234
4176
|
]),
|
|
4235
4177
|
_: 1
|
|
4236
4178
|
})) : h("", !0)
|
|
@@ -4241,7 +4183,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4241
4183
|
_: 1
|
|
4242
4184
|
}, 8, ["color", "height", "image", "location", "model-value"])) : h("", !0);
|
|
4243
4185
|
}
|
|
4244
|
-
}),
|
|
4186
|
+
}), ga = /* @__PURE__ */ Xe(va, [["__scopeId", "data-v-dee53f67"]]), _a = {
|
|
4245
4187
|
key: 0,
|
|
4246
4188
|
class: "text-uppercase position-absolute ms-auto font-weight-medium on-surface-light",
|
|
4247
4189
|
style: { right: "12px", bottom: "8px", "font-size": "10px" }
|
|
@@ -4261,7 +4203,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4261
4203
|
target: "_blank"
|
|
4262
4204
|
}, P({
|
|
4263
4205
|
default: s(() => [
|
|
4264
|
-
|
|
4206
|
+
n(sn, {
|
|
4265
4207
|
"min-height": t.minHeight,
|
|
4266
4208
|
width: "100%"
|
|
4267
4209
|
}, {
|
|
@@ -4270,7 +4212,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4270
4212
|
]),
|
|
4271
4213
|
_: 3
|
|
4272
4214
|
}, 8, ["min-height"]),
|
|
4273
|
-
t.caption ? (u(),
|
|
4215
|
+
t.caption ? (u(), k("div", _a, C(t.caption), 1)) : h("", !0)
|
|
4274
4216
|
]),
|
|
4275
4217
|
_: 2
|
|
4276
4218
|
}, [
|
|
@@ -4291,27 +4233,27 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4291
4233
|
]), 1024));
|
|
4292
4234
|
}
|
|
4293
4235
|
}), Je = K("promotions", () => {
|
|
4294
|
-
const p =
|
|
4295
|
-
|
|
4236
|
+
const p = Y(), t = ee(), i = N([]), o = I(!1), r = I(!1), l = b(() => i.value.filter((d) => d.metadata.discoverable));
|
|
4237
|
+
je(c);
|
|
4296
4238
|
function a(d) {
|
|
4297
|
-
const f = d.filter((
|
|
4239
|
+
const f = d.filter((g) => g.metadata.active);
|
|
4298
4240
|
return f[Math.floor(Math.random() * f.length)];
|
|
4299
4241
|
}
|
|
4300
4242
|
async function c() {
|
|
4301
4243
|
try {
|
|
4302
|
-
|
|
4244
|
+
o.value = !0;
|
|
4303
4245
|
const d = await p.get("/one/promotions");
|
|
4304
4246
|
i.value = d.promotions;
|
|
4305
4247
|
} catch (d) {
|
|
4306
4248
|
t.showError(d?.message ?? "Error fetching promotions");
|
|
4307
4249
|
} finally {
|
|
4308
|
-
|
|
4250
|
+
o.value = !1, r.value = !0;
|
|
4309
4251
|
}
|
|
4310
4252
|
return i.value;
|
|
4311
4253
|
}
|
|
4312
4254
|
return {
|
|
4313
4255
|
all: i,
|
|
4314
|
-
isLoading:
|
|
4256
|
+
isLoading: o,
|
|
4315
4257
|
hasLoaded: r,
|
|
4316
4258
|
discoverable: l,
|
|
4317
4259
|
index: c,
|
|
@@ -4323,9 +4265,9 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4323
4265
|
slug: {}
|
|
4324
4266
|
},
|
|
4325
4267
|
setup(p) {
|
|
4326
|
-
const t = p, i =
|
|
4268
|
+
const t = p, i = H(), o = Je(), r = Te(), l = U(), a = b(() => {
|
|
4327
4269
|
if (!(i.user && !l.one.ads.enabled))
|
|
4328
|
-
return t.slug ?
|
|
4270
|
+
return t.slug ? o.all.find((f) => f.slug === t.slug) : o.random(o.all);
|
|
4329
4271
|
}), c = b(() => {
|
|
4330
4272
|
const f = r.current.value.dark ? "logodark" : "logolight";
|
|
4331
4273
|
return a.value?.metadata.images[f]?.url;
|
|
@@ -4333,9 +4275,9 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4333
4275
|
const f = r.current.value.dark ? "bgdark" : "bglight";
|
|
4334
4276
|
return a.value?.metadata.images[f]?.url;
|
|
4335
4277
|
});
|
|
4336
|
-
return (f,
|
|
4337
|
-
const
|
|
4338
|
-
return e(a) || !e(
|
|
4278
|
+
return (f, g) => {
|
|
4279
|
+
const _ = Tt;
|
|
4280
|
+
return e(a) || !e(o).hasLoaded ? (u(), m(_, {
|
|
4339
4281
|
key: 0,
|
|
4340
4282
|
class: "vo-promotions-card-highlight",
|
|
4341
4283
|
color: e(a)?.metadata.color ?? "surface",
|
|
@@ -4348,7 +4290,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4348
4290
|
width: "100%"
|
|
4349
4291
|
}, P({
|
|
4350
4292
|
default: s(() => [
|
|
4351
|
-
e(
|
|
4293
|
+
e(o).hasLoaded ? h("", !0) : (u(), m(ge, {
|
|
4352
4294
|
key: 0,
|
|
4353
4295
|
class: "flex-1-0 overflow-hidden",
|
|
4354
4296
|
color: "transparent",
|
|
@@ -4362,7 +4304,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4362
4304
|
e(a) ? {
|
|
4363
4305
|
name: "prepend",
|
|
4364
4306
|
fn: s(() => [
|
|
4365
|
-
|
|
4307
|
+
n(Q, {
|
|
4366
4308
|
class: "my-n4 me-4",
|
|
4367
4309
|
icon: "$vuetify",
|
|
4368
4310
|
size: "36"
|
|
@@ -4373,26 +4315,26 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4373
4315
|
e(a) ? {
|
|
4374
4316
|
name: "image",
|
|
4375
4317
|
fn: s(() => [
|
|
4376
|
-
|
|
4318
|
+
n(te, { position: "right" })
|
|
4377
4319
|
]),
|
|
4378
4320
|
key: "1"
|
|
4379
4321
|
} : void 0
|
|
4380
4322
|
]), 1032, ["color", "href", "image", "prepend-avatar", "title"])) : h("", !0);
|
|
4381
4323
|
};
|
|
4382
4324
|
}
|
|
4383
|
-
}), ha = { class: "d-flex ga-4" }, ba = { class: "d-flex align-start ga-4" },
|
|
4325
|
+
}), ha = { class: "d-flex ga-4" }, ba = { class: "d-flex align-start ga-4" }, Va = { class: "text-caption on-surface-light" }, ka = /* @__PURE__ */ y({
|
|
4384
4326
|
__name: "VoPromotionsCardVuetify",
|
|
4385
4327
|
props: {
|
|
4386
4328
|
slug: {}
|
|
4387
4329
|
},
|
|
4388
4330
|
setup(p) {
|
|
4389
|
-
const t = p, i =
|
|
4331
|
+
const t = p, i = H(), o = Je(), r = U(), l = b(() => {
|
|
4390
4332
|
if (!(i.user && !r.one.ads.enabled && !r.one.ads.house))
|
|
4391
|
-
return t.slug ?
|
|
4333
|
+
return t.slug ? o.all.find((a) => a.slug === t.slug) : o.random(!r.one.ads.enabled && r.one.ads.house ? o.discoverable : o.all);
|
|
4392
4334
|
});
|
|
4393
4335
|
return (a, c) => {
|
|
4394
4336
|
const d = Tt;
|
|
4395
|
-
return e(l) || !e(
|
|
4337
|
+
return e(l) || !e(o).hasLoaded ? (u(), m(d, {
|
|
4396
4338
|
key: 0,
|
|
4397
4339
|
border: "",
|
|
4398
4340
|
caption: "ads via vuetify",
|
|
@@ -4402,8 +4344,8 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4402
4344
|
}, {
|
|
4403
4345
|
default: s(() => [
|
|
4404
4346
|
v("div", ha, [
|
|
4405
|
-
e(
|
|
4406
|
-
|
|
4347
|
+
e(o).hasLoaded ? e(l) ? (u(), k(D, { key: 1 }, [
|
|
4348
|
+
n(te, {
|
|
4407
4349
|
cover: "",
|
|
4408
4350
|
height: "100",
|
|
4409
4351
|
"max-width": "130",
|
|
@@ -4413,10 +4355,10 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4413
4355
|
width: "100%"
|
|
4414
4356
|
}, null, 8, ["src"]),
|
|
4415
4357
|
v("div", ba, [
|
|
4416
|
-
v("div",
|
|
4358
|
+
v("div", Va, C(e(l).metadata?.text), 1)
|
|
4417
4359
|
])
|
|
4418
|
-
], 64)) : h("", !0) : (u(),
|
|
4419
|
-
|
|
4360
|
+
], 64)) : h("", !0) : (u(), k(D, { key: 0 }, [
|
|
4361
|
+
n(ge, {
|
|
4420
4362
|
class: "flex-1-0 overflow-hidden",
|
|
4421
4363
|
color: "transparent",
|
|
4422
4364
|
loading: "",
|
|
@@ -4424,7 +4366,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4424
4366
|
"min-width": "130",
|
|
4425
4367
|
type: "image"
|
|
4426
4368
|
}),
|
|
4427
|
-
|
|
4369
|
+
n(ge, {
|
|
4428
4370
|
class: "flex-1-0 ms-n3 mt-n3",
|
|
4429
4371
|
color: "transparent",
|
|
4430
4372
|
loading: "",
|
|
@@ -4438,15 +4380,15 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4438
4380
|
}, 8, ["href"])) : h("", !0);
|
|
4439
4381
|
};
|
|
4440
4382
|
}
|
|
4441
|
-
}),
|
|
4383
|
+
}), Ca = ["href"], $a = /* @__PURE__ */ y({
|
|
4442
4384
|
__name: "VoPromotionsFooter",
|
|
4443
4385
|
props: {
|
|
4444
4386
|
slug: {}
|
|
4445
4387
|
},
|
|
4446
4388
|
setup(p) {
|
|
4447
|
-
const t = p, i =
|
|
4389
|
+
const t = p, i = H(), o = Je(), r = U(), l = Te(), a = b(() => {
|
|
4448
4390
|
if (!(i.user && !r.one.ads.enabled))
|
|
4449
|
-
return t.slug ?
|
|
4391
|
+
return t.slug ? o.all.find((f) => f.slug === t.slug) : o.random(o.all);
|
|
4450
4392
|
}), c = b(() => {
|
|
4451
4393
|
const f = l.current.value.dark ? "logodark" : "logolight";
|
|
4452
4394
|
return a.value?.metadata.images[f]?.url;
|
|
@@ -4454,9 +4396,9 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4454
4396
|
const f = l.current.value.dark ? "bgdark" : "bglight";
|
|
4455
4397
|
return a.value?.metadata.images[f]?.url;
|
|
4456
4398
|
});
|
|
4457
|
-
return (f,
|
|
4458
|
-
const
|
|
4459
|
-
return u(), m(
|
|
4399
|
+
return (f, g) => {
|
|
4400
|
+
const _ = At;
|
|
4401
|
+
return u(), m(_, {
|
|
4460
4402
|
color: e(a)?.metadata.color ?? "surface",
|
|
4461
4403
|
image: e(d),
|
|
4462
4404
|
style: { transform: "translateY(0)" }
|
|
@@ -4469,14 +4411,14 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4469
4411
|
style: { color: "inherit" },
|
|
4470
4412
|
target: "_blank"
|
|
4471
4413
|
}, [
|
|
4472
|
-
|
|
4414
|
+
n(Q, {
|
|
4473
4415
|
class: "me-4",
|
|
4474
4416
|
icon: "$vuetify",
|
|
4475
4417
|
image: e(c),
|
|
4476
4418
|
size: "24"
|
|
4477
4419
|
}, null, 8, ["image"]),
|
|
4478
|
-
v("div", null,
|
|
4479
|
-
e(a)?.metadata.advertisement ? (u(), m(
|
|
4420
|
+
v("div", null, C(e(a)?.metadata.text), 1),
|
|
4421
|
+
e(a)?.metadata.advertisement ? (u(), m(oe, {
|
|
4480
4422
|
key: 0,
|
|
4481
4423
|
class: "ms-auto me-n4 align-self-end mb-n2 py-1 ps-3",
|
|
4482
4424
|
rounded: "0 ts-lg",
|
|
@@ -4484,14 +4426,14 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4484
4426
|
text: "SPONSORED",
|
|
4485
4427
|
variant: "flat"
|
|
4486
4428
|
})) : h("", !0)
|
|
4487
|
-
], 8,
|
|
4429
|
+
], 8, Ca)
|
|
4488
4430
|
]),
|
|
4489
4431
|
_: 1
|
|
4490
4432
|
}, 8, ["color", "image"]);
|
|
4491
4433
|
};
|
|
4492
4434
|
}
|
|
4493
4435
|
}), xa = K("spots", () => {
|
|
4494
|
-
const p =
|
|
4436
|
+
const p = Y(), t = It(), i = ee(), o = N([]), r = I(!1), l = b(() => o.value.find(({
|
|
4495
4437
|
metadata: {
|
|
4496
4438
|
site: c,
|
|
4497
4439
|
active: d
|
|
@@ -4501,40 +4443,40 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4501
4443
|
try {
|
|
4502
4444
|
r.value = !0;
|
|
4503
4445
|
const c = await p.get("/one/spots");
|
|
4504
|
-
|
|
4446
|
+
o.value = c.spots;
|
|
4505
4447
|
} catch (c) {
|
|
4506
4448
|
i.showError(c?.message ?? "Error fetching spots");
|
|
4507
4449
|
} finally {
|
|
4508
4450
|
r.value = !1;
|
|
4509
4451
|
}
|
|
4510
|
-
return
|
|
4452
|
+
return o.value;
|
|
4511
4453
|
}
|
|
4512
4454
|
return {
|
|
4513
|
-
all:
|
|
4455
|
+
all: o,
|
|
4514
4456
|
isLoading: r,
|
|
4515
4457
|
spot: l,
|
|
4516
4458
|
index: a
|
|
4517
4459
|
};
|
|
4518
|
-
}),
|
|
4460
|
+
}), La = ["href"], wa = /* @__PURE__ */ y({
|
|
4519
4461
|
__name: "VoSpot",
|
|
4520
4462
|
setup(p) {
|
|
4521
4463
|
const t = xa();
|
|
4522
|
-
return (i,
|
|
4464
|
+
return (i, o) => e(t).spot ? (u(), k("a", {
|
|
4523
4465
|
key: 0,
|
|
4524
4466
|
href: e(t).spot.metadata.href,
|
|
4525
4467
|
rel: "noopener noreferrer sponsored",
|
|
4526
4468
|
target: "_blank"
|
|
4527
4469
|
}, [
|
|
4528
|
-
|
|
4470
|
+
n(te, {
|
|
4529
4471
|
class: "mx-auto",
|
|
4530
4472
|
color: e(t).spot.metadata.image ? void 0 : "surface",
|
|
4531
4473
|
rounded: "",
|
|
4532
4474
|
src: e(t).spot.metadata.image?.url,
|
|
4533
4475
|
width: "225"
|
|
4534
4476
|
}, null, 8, ["color", "src"])
|
|
4535
|
-
], 8,
|
|
4477
|
+
], 8, La)) : h("", !0);
|
|
4536
4478
|
}
|
|
4537
|
-
}),
|
|
4479
|
+
}), Vi = {
|
|
4538
4480
|
discord: ["M22,24L16.75,19L17.38,21H4.5A2.5,2.5 0 0,1 2,18.5V3.5A2.5,2.5 0 0,1 4.5,1H19.5A2.5,2.5 0 0,1 22,3.5V24M12,6.8C9.32,6.8 7.44,7.95 7.44,7.95C8.47,7.03 10.27,6.5 10.27,6.5L10.1,6.33C8.41,6.36 6.88,7.53 6.88,7.53C5.16,11.12 5.27,14.22 5.27,14.22C6.67,16.03 8.75,15.9 8.75,15.9L9.46,15C8.21,14.73 7.42,13.62 7.42,13.62C7.42,13.62 9.3,14.9 12,14.9C14.7,14.9 16.58,13.62 16.58,13.62C16.58,13.62 15.79,14.73 14.54,15L15.25,15.9C15.25,15.9 17.33,16.03 18.73,14.22C18.73,14.22 18.84,11.12 17.12,7.53C17.12,7.53 15.59,6.36 13.9,6.33L13.73,6.5C13.73,6.5 15.53,7.03 16.56,7.95C16.56,7.95 14.68,6.8 12,6.8M9.93,10.59C10.58,10.59 11.11,11.16 11.1,11.86C11.1,12.55 10.58,13.13 9.93,13.13C9.29,13.13 8.77,12.55 8.77,11.86C8.77,11.16 9.28,10.59 9.93,10.59M14.1,10.59C14.75,10.59 15.27,11.16 15.27,11.86C15.27,12.55 14.75,13.13 14.1,13.13C13.46,13.13 12.94,12.55 12.94,11.86C12.94,11.16 13.45,10.59 14.1,10.59Z"],
|
|
4539
4481
|
github: ["M12,2A10,10 0 0,0 2,12C2,16.42 4.87,20.17 8.84,21.5C9.34,21.58 9.5,21.27 9.5,21C9.5,20.77 9.5,20.14 9.5,19.31C6.73,19.91 6.14,17.97 6.14,17.97C5.68,16.81 5.03,16.5 5.03,16.5C4.12,15.88 5.1,15.9 5.1,15.9C6.1,15.97 6.63,16.93 6.63,16.93C7.5,18.45 8.97,18 9.54,17.76C9.63,17.11 9.89,16.67 10.17,16.42C7.95,16.17 5.62,15.31 5.62,11.5C5.62,10.39 6,9.5 6.65,8.79C6.55,8.54 6.2,7.5 6.75,6.15C6.75,6.15 7.59,5.88 9.5,7.17C10.29,6.95 11.15,6.84 12,6.84C12.85,6.84 13.71,6.95 14.5,7.17C16.41,5.88 17.25,6.15 17.25,6.15C17.8,7.5 17.45,8.54 17.35,8.79C18,9.5 18.38,10.39 18.38,11.5C18.38,15.32 16.04,16.16 13.81,16.41C14.17,16.72 14.5,17.33 14.5,18.26C14.5,19.6 14.5,20.68 14.5,21C14.5,21.27 14.66,21.59 15.17,21.5C19.14,20.16 22,16.42 22,12A10,10 0 0,0 12,2Z"],
|
|
4540
4482
|
reddit: "M14.5 15.41C14.58 15.5 14.58 15.69 14.5 15.8C13.77 16.5 12.41 16.56 12 16.56C11.61 16.56 10.25 16.5 9.54 15.8C9.44 15.69 9.44 15.5 9.54 15.41C9.65 15.31 9.82 15.31 9.92 15.41C10.38 15.87 11.33 16 12 16C12.69 16 13.66 15.87 14.1 15.41C14.21 15.31 14.38 15.31 14.5 15.41M10.75 13.04C10.75 12.47 10.28 12 9.71 12C9.14 12 8.67 12.47 8.67 13.04C8.67 13.61 9.14 14.09 9.71 14.08C10.28 14.08 10.75 13.61 10.75 13.04M14.29 12C13.72 12 13.25 12.5 13.25 13.05S13.72 14.09 14.29 14.09C14.86 14.09 15.33 13.61 15.33 13.05C15.33 12.5 14.86 12 14.29 12M22 12C22 17.5 17.5 22 12 22S2 17.5 2 12C2 6.5 6.5 2 12 2S22 6.5 22 12M18.67 12C18.67 11.19 18 10.54 17.22 10.54C16.82 10.54 16.46 10.7 16.2 10.95C15.2 10.23 13.83 9.77 12.3 9.71L12.97 6.58L15.14 7.05C15.16 7.6 15.62 8.04 16.18 8.04C16.75 8.04 17.22 7.57 17.22 7C17.22 6.43 16.75 5.96 16.18 5.96C15.77 5.96 15.41 6.2 15.25 6.55L12.82 6.03C12.75 6 12.68 6.03 12.63 6.07C12.57 6.11 12.54 6.17 12.53 6.24L11.79 9.72C10.24 9.77 8.84 10.23 7.82 10.96C7.56 10.71 7.2 10.56 6.81 10.56C6 10.56 5.35 11.21 5.35 12C5.35 12.61 5.71 13.11 6.21 13.34C6.19 13.5 6.18 13.62 6.18 13.78C6.18 16 8.79 17.85 12 17.85C15.23 17.85 17.85 16.03 17.85 13.78C17.85 13.64 17.84 13.5 17.81 13.34C18.31 13.11 18.67 12.6 18.67 12Z",
|
|
@@ -4561,7 +4503,7 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4561
4503
|
["M9.11205 13.6004L11 17L16 8H12.223L9.11205 13.6004Z", 0.6]
|
|
4562
4504
|
],
|
|
4563
4505
|
"vuetify-snips": [
|
|
4564
|
-
["M18.3252 15.9618C17.4833 16.375 16.9265 17.0615 16.6685 17.8346L15.0662 15.7153C14.7199 15.2554 14.815 14.609 15.2835 14.2691L15.4328 14.1624L5.47931 1C3.8566 2.18628 3.51712 4.43889 4.71888 6.03171L12.4929 16.3084C12.9614 15.9685 13.62 16.0618 13.9663 16.5217L17.0759 20.6403C18.1147 22.0132 20.0905 22.4398 21.5435 21.4867C23.2884 20.3471 23.5328 17.8812 21.9101 16.4417C20.9392 15.582 19.493 15.3954 18.3252 15.9618ZM20.9392 20.4004C20.0565 21.0469 18.8073 20.8669 18.1487 20.0005C17.4901 19.1342 17.6802 17.9079 18.5628 17.2614C19.4455 16.615 20.6948 16.7949 21.3534 17.6613C22.0119 18.5277 21.8218 19.754 20.9392 20.4004Z",
|
|
4506
|
+
["M18.3252 15.9618C17.4833 16.375 16.9265 17.0615 16.6685 17.8346L15.0662 15.7153C14.7199 15.2554 14.815 14.609 15.2835 14.2691L15.4328 14.1624L5.47931 1C3.8566 2.18628 3.51712 4.43889 4.71888 6.03171L12.4929 16.3084C12.9614 15.9685 13.62 16.0618 13.9663 16.5217L17.0759 20.6403C18.1147 22.0132 20.0905 22.4398 21.5435 21.4867C23.2884 20.3471 23.5328 17.8812 21.9101 16.4417C20.9392 15.582 19.493 15.3954 18.3252 15.9618ZM20.9392 20.4004C20.0565 21.0469 18.8073 20.8669 18.1487 20.0005C17.4901 19.1342 17.6802 17.9079 18.5628 17.2614C19.4455 16.615 20.6948 16.7949 21.3534 17.6613C22.0119 18.5277 21.8218 19.754 20.9392 20.4004Z", 0.5],
|
|
4565
4507
|
["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]
|
|
4566
4508
|
],
|
|
4567
4509
|
"vuetify-link": [
|
|
@@ -4573,36 +4515,58 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4573
4515
|
["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],
|
|
4574
4516
|
["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]
|
|
4575
4517
|
],
|
|
4576
|
-
figma: [
|
|
4518
|
+
"vuetify-figma": [
|
|
4577
4519
|
["M11.667 2H8.333a3.333 3.333 0 1 0 0 6.667h3.334z", 0.8],
|
|
4578
4520
|
["M11.667 8.667H8.333a3.333 3.333 0 0 0 0 6.666h3.334z", 0.6],
|
|
4579
4521
|
["M18.333 12a3.333 3.333 0 1 1-6.667 0a3.333 3.333 0 0 1 6.667 0", 1],
|
|
4580
4522
|
["M8.333 15.334h3.334v3.333a3.333 3.333 0 1 1-3.334-3.334", 0.4],
|
|
4581
4523
|
["M11.666 2h3.333a3.333 3.333 0 1 1 0 6.667h-3.333z", 1]
|
|
4524
|
+
],
|
|
4525
|
+
"vuetify-create": [
|
|
4526
|
+
"M15.8922 12.7179C15.8922 14.7359 14.2538 16.3718 12.2328 16.3718C10.2118 16.3718 8.57342 14.7359 8.57342 12.7179C8.57342 10.7 10.2118 9.0641 12.2328 9.0641C14.2538 9.0641 15.8922 10.7 15.8922 12.7179Z",
|
|
4527
|
+
"M13.6966 3.58333C13.6966 4.45778 12.9866 5.16667 12.1108 5.16667C11.2351 5.16667 10.5251 4.45778 10.5251 3.58333C10.5251 2.70888 11.2351 2 12.1108 2C12.9866 2 13.6966 2.70888 13.6966 3.58333ZM11.2545 3.58333C11.2545 4.05554 11.6379 4.43833 12.1108 4.43833C12.5838 4.43833 12.9671 4.05554 12.9671 3.58333C12.9671 3.11113 12.5838 2.72833 12.1108 2.72833C11.6379 2.72833 11.2545 3.11113 11.2545 3.58333Z",
|
|
4528
|
+
"M11.7042 5.08547H12.5174V9.1453H11.7042V5.08547Z",
|
|
4529
|
+
"M21.6659 7.23718C21.6659 8.11163 20.956 8.82051 20.0802 8.82051C19.2044 8.82051 18.4945 8.11163 18.4945 7.23718C18.4945 6.36273 19.2044 5.65385 20.0802 5.65385C20.956 5.65385 21.6659 6.36273 21.6659 7.23718ZM19.2239 7.23718C19.2239 7.70938 19.6073 8.09218 20.0802 8.09218C20.5531 8.09218 20.9365 7.70938 20.9365 7.23718C20.9365 6.76498 20.5531 6.38218 20.0802 6.38218C19.6073 6.38218 19.2239 6.76498 19.2239 7.23718Z",
|
|
4530
|
+
"M18.6002 7.76496L19.0586 8.43566L15.3933 10.9329L14.935 10.2622L18.6002 7.76496Z",
|
|
4531
|
+
"M7.59758 19.3355C7.59758 20.2548 6.85121 21 5.93052 21C5.00983 21 4.26346 20.2548 4.26346 19.3355C4.26346 18.4162 5.00983 17.6709 5.93052 17.6709C6.85121 17.6709 7.59758 18.4162 7.59758 19.3355ZM5.03031 19.3355C5.03031 19.8319 5.43334 20.2343 5.93052 20.2343C6.42769 20.2343 6.83073 19.8319 6.83073 19.3355C6.83073 18.8391 6.42769 18.4366 5.93052 18.4366C5.43334 18.4366 5.03031 18.8391 5.03031 19.3355Z",
|
|
4532
|
+
"M7.29779 18.4332L6.70305 17.8794L9.45113 14.937L10.0459 15.4907L7.29779 18.4332Z",
|
|
4533
|
+
["M8.00418 15.5598C7.5538 14.9071 7.18245 13.9809 7.1329 13.166C7.05726 12.3726 7.16684 11.5726 7.45302 10.8286C7.73921 10.0847 8.19421 9.4171 8.78231 8.87831C9.35808 8.28436 10.2911 7.84537 11.0712 7.68375V8.51531C10.427 8.70085 9.83451 9.03299 9.34043 9.48565C8.84635 9.93831 8.46409 10.4992 8.22365 11.1242C7.98322 11.7492 7.89116 12.4213 7.95471 13.0879C8.01825 13.7544 8.23567 14.3971 8.58989 14.9656L8.00418 15.5598Z", 0.6],
|
|
4534
|
+
["M17.0307 10.5662C17.4939 11.5776 17.6218 12.8816 17.2878 13.9089C17.0308 14.9523 16.4537 15.8895 15.6371 16.5894C14.8206 17.2894 13.8055 17.7171 12.7336 17.8128C11.6593 17.9227 10.433 17.5835 9.5086 17.0214L10.0767 16.4127C10.8563 16.8698 11.7595 17.0723 12.66 16.9918C13.5605 16.9114 14.4134 16.5521 15.0994 15.964C15.7854 15.376 16.2703 14.5886 16.4862 13.712C16.7022 12.8354 16.6384 11.9133 16.3039 11.0746L17.0307 10.5662Z", 0.6],
|
|
4535
|
+
["M13.1503 7.60256C14.0781 7.73839 15.2234 8.2901 15.8109 8.90171L15.0959 9.3877C14.5385 8.91093 13.8691 8.58315 13.1503 8.43504V7.60256Z", 0.6],
|
|
4536
|
+
["M6.4591 9.38889C6.4591 10.8015 5.31224 11.9466 3.89752 11.9466C2.4828 11.9466 1.33594 10.8015 1.33594 9.38889C1.33594 7.97631 2.4828 6.8312 3.89752 6.8312C5.31224 6.8312 6.4591 7.97631 6.4591 9.38889ZM2.51426 9.38889C2.51426 10.1517 3.13357 10.77 3.89752 10.77C4.66147 10.77 5.28077 10.1517 5.28077 9.38889C5.28077 8.6261 4.66147 8.00774 3.89752 8.00774C3.13357 8.00774 2.51426 8.6261 2.51426 9.38889Z", 0.6],
|
|
4537
|
+
["M6.10452 10.688C6.26257 10.4095 6.324 10.2383 6.4045 9.91667L7.6389 10.4229L7.33427 11.1757L6.10452 10.688Z", 0.6],
|
|
4538
|
+
["M20.7714 17.8333C20.7714 19.089 19.752 20.1068 18.4945 20.1068C17.2369 20.1068 16.2175 19.089 16.2175 17.8333C16.2175 16.5777 17.2369 15.5598 18.4945 15.5598C19.752 15.5598 20.7714 16.5777 20.7714 17.8333ZM17.2649 17.8333C17.2649 18.5114 17.8154 19.061 18.4945 19.061C19.1735 19.061 19.724 18.5114 19.724 17.8333C19.724 17.1553 19.1735 16.6056 18.4945 16.6056C17.8154 16.6056 17.2649 17.1553 17.2649 17.8333Z", 0.6],
|
|
4539
|
+
["M15.9514 16.253L16.4733 15.6304L17.0487 16.1112L16.5267 16.7338L15.9514 16.253Z", 0.6]
|
|
4540
|
+
],
|
|
4541
|
+
"vuetify-store": [
|
|
4542
|
+
"M19.5611 6.73123L18.3734 17.675L14.3133 21H3L5.08489 6.73123H19.5611Z",
|
|
4543
|
+
["M19.5611 6.73123L18.3734 17.675L22 21L19.9938 6.73123H19.5611Z", 0.6],
|
|
4544
|
+
["M10.1201 9.28459H7.99586V4.02767L10.1201 2H14.9586L17.0828 4.02767V9.28459H14.9586V4.02767H10.1201V9.28459Z", 0.6],
|
|
4545
|
+
["M22 21L18.3734 17.675L14.3133 21H22Z", 0.4]
|
|
4582
4546
|
]
|
|
4583
|
-
},
|
|
4584
|
-
const p =
|
|
4547
|
+
}, ki = K("bins", () => {
|
|
4548
|
+
const p = Y(), t = ee(), i = N([]), o = I(!1), r = b(() => i.value.filter((c) => c.favorite)), l = b(() => i.value.filter((c) => c.pinned));
|
|
4585
4549
|
async function a() {
|
|
4586
4550
|
try {
|
|
4587
|
-
|
|
4551
|
+
o.value = !0;
|
|
4588
4552
|
const c = await p.get("/one/bins");
|
|
4589
4553
|
i.value = c.bins;
|
|
4590
4554
|
} catch (c) {
|
|
4591
4555
|
t.showError(c?.message ?? "Error fetching bins");
|
|
4592
4556
|
} finally {
|
|
4593
|
-
|
|
4557
|
+
o.value = !1;
|
|
4594
4558
|
}
|
|
4595
4559
|
return i.value;
|
|
4596
4560
|
}
|
|
4597
4561
|
return {
|
|
4598
|
-
isLoading:
|
|
4562
|
+
isLoading: o,
|
|
4599
4563
|
pinned: l,
|
|
4600
4564
|
favorites: r,
|
|
4601
4565
|
all: i,
|
|
4602
4566
|
index: a
|
|
4603
4567
|
};
|
|
4604
|
-
}),
|
|
4605
|
-
const p =
|
|
4568
|
+
}), Ci = K("products", () => {
|
|
4569
|
+
const p = Y(), t = ee(), i = N([]), o = b(() => i.value.filter((a) => a.product_type === "Themes"));
|
|
4606
4570
|
async function r() {
|
|
4607
4571
|
if (i.value.length > 0)
|
|
4608
4572
|
return i.value;
|
|
@@ -4619,38 +4583,38 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4619
4583
|
}
|
|
4620
4584
|
return {
|
|
4621
4585
|
all: i,
|
|
4622
|
-
themes:
|
|
4586
|
+
themes: o,
|
|
4623
4587
|
index: r,
|
|
4624
4588
|
randomize: l
|
|
4625
4589
|
};
|
|
4626
|
-
}),
|
|
4627
|
-
const p =
|
|
4590
|
+
}), $i = K("sponsors", () => {
|
|
4591
|
+
const p = Y(), t = ee(), i = N([]), o = N([]), r = N(!1), l = b(() => {
|
|
4628
4592
|
const d = {};
|
|
4629
4593
|
for (const f of i.value) {
|
|
4630
|
-
const
|
|
4631
|
-
d[
|
|
4594
|
+
const g = f.metadata.tier;
|
|
4595
|
+
d[g] || (d[g] = []), d[g].push(f);
|
|
4632
4596
|
}
|
|
4633
4597
|
return d;
|
|
4634
4598
|
});
|
|
4635
|
-
|
|
4599
|
+
Zt(a), je(a);
|
|
4636
4600
|
async function a() {
|
|
4637
4601
|
try {
|
|
4638
4602
|
r.value = !0;
|
|
4639
4603
|
const d = await p.get("/one/sponsors");
|
|
4640
|
-
|
|
4604
|
+
o.value = d.sponsors;
|
|
4641
4605
|
} catch (d) {
|
|
4642
4606
|
t.showError(d?.message ?? "Error fetching sponsors");
|
|
4643
4607
|
} finally {
|
|
4644
4608
|
r.value = !1;
|
|
4645
4609
|
}
|
|
4646
|
-
return
|
|
4610
|
+
return o.value;
|
|
4647
4611
|
}
|
|
4648
4612
|
function c(d) {
|
|
4649
4613
|
return i.value.find((f) => f.slug === d);
|
|
4650
4614
|
}
|
|
4651
4615
|
return {
|
|
4652
4616
|
isLoading: r,
|
|
4653
|
-
all:
|
|
4617
|
+
all: o,
|
|
4654
4618
|
sponsors: i,
|
|
4655
4619
|
byTier: l,
|
|
4656
4620
|
bySlug: c,
|
|
@@ -4659,34 +4623,34 @@ const Cn = /* @__PURE__ */ y({
|
|
|
4659
4623
|
});
|
|
4660
4624
|
function xi() {
|
|
4661
4625
|
function p(t) {
|
|
4662
|
-
t.component("VoAppBar", ia), t.component("VoAuthBtn",
|
|
4626
|
+
t.component("VoAppBar", ia), t.component("VoAuthBtn", Dt), t.component("VoAuthCard", Lt), t.component("VoAuthDialog", wt), t.component("VoAuthListItem", St), t.component("VoNotificationsBanner", ga), t.component("VoPromotionsCardHighlight", ya), t.component("VoPromotionsCardVuetify", ka), t.component("VoPromotionsFooter", $a), t.component("VoScript", la), t.component("VoSocialFooter", fa), t.component("VoSpot", wa);
|
|
4663
4627
|
}
|
|
4664
4628
|
return { install: p };
|
|
4665
4629
|
}
|
|
4666
|
-
function
|
|
4630
|
+
function Li(p, t) {
|
|
4667
4631
|
return function(i) {
|
|
4668
|
-
const
|
|
4669
|
-
|
|
4632
|
+
const o = i.store;
|
|
4633
|
+
o.url = t, o.$id === "site" && (o.id = p);
|
|
4670
4634
|
};
|
|
4671
4635
|
}
|
|
4672
4636
|
export {
|
|
4673
|
-
|
|
4637
|
+
Vi as aliases,
|
|
4674
4638
|
xi as createOne,
|
|
4675
|
-
|
|
4676
|
-
|
|
4639
|
+
Li as one,
|
|
4640
|
+
H as useAuthStore,
|
|
4677
4641
|
Pe as useBannersStore,
|
|
4678
|
-
|
|
4642
|
+
ki as useBinsStore,
|
|
4679
4643
|
us as useDownloadsStore,
|
|
4680
|
-
|
|
4644
|
+
Y as useHttpStore,
|
|
4681
4645
|
Ue as useNotificationsStore,
|
|
4682
4646
|
B as useOneStore,
|
|
4683
|
-
|
|
4647
|
+
Ci as useProductsStore,
|
|
4684
4648
|
Je as usePromotionsStore,
|
|
4685
|
-
|
|
4649
|
+
ee as useQueueStore,
|
|
4686
4650
|
Be as useSettingsStore,
|
|
4687
|
-
|
|
4688
|
-
|
|
4651
|
+
It as useSiteStore,
|
|
4652
|
+
$i as useSponsorsStore,
|
|
4689
4653
|
xa as useSpotsStore,
|
|
4690
|
-
|
|
4654
|
+
Me as useTeamStore,
|
|
4691
4655
|
U as useUserStore
|
|
4692
4656
|
};
|