@vuetify/one 2.11.2 → 2.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{auth-DCDisIda.js → auth-D7s7dIcr.js} +188 -187
- package/dist/index.d.ts +3 -2
- package/dist/index.js +1095 -1049
- package/dist/stores/auth.d.ts +1 -1
- package/dist/stores/auth.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,192 +1,218 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { u as ee, a as
|
|
3
|
-
import { VSnackbarQueue as
|
|
4
|
-
import { mdiStorefront as
|
|
5
|
-
import { VListItem as
|
|
1
|
+
import { defineComponent as y, createBlock as m, openBlock as c, unref as e, computed as C, createSlots as T, withCtx as s, createElementVNode as v, toDisplayString as V, createVNode as n, createTextVNode as S, normalizeStyle as it, createCommentVNode as h, renderSlot as w, shallowRef as M, watch as H, withModifiers as ye, mergeModels as rt, useModel as W, createElementBlock as k, Fragment as A, nextTick as be, renderList as K, mergeProps as R, withDirectives as Z, vShow as Ie, isRef as j, ref as F, readonly as Se, resolveComponent as lt, watchEffect as jt, onMounted as Ae, toRef as ge, normalizeClass as Rt, useSlots as ut, normalizeProps as ct, guardReactiveProps as dt, onBeforeMount as je, onBeforeUnmount as qt, useCssVars as Gt, onServerPrefetch as Wt } from "vue";
|
|
2
|
+
import { u as ee, a as B, b as U, c as O, d as Ce, e as Y, f as De } from "./auth-D7s7dIcr.js";
|
|
3
|
+
import { VSnackbarQueue as Kt } from "vuetify/components/VSnackbarQueue";
|
|
4
|
+
import { mdiAccountGroupOutline as pt, mdiStorefront as Yt, mdiGoogle as Qt, mdiSync as Xt, mdiSyncOff as Jt, mdiLogoutVariant as eo, mdiFullscreenExit as to, mdiFullscreen as oo, mdiCheck as ke, mdiSelect as no, mdiSpaceInvaders as mt, mdiImageFilterHdr as ft, mdiTransmissionTower as vt, mdiRocketLaunchOutline as gt, mdiHome as so, mdiTextBox as ao, mdiWhiteBalanceSunny as io, mdiWeatherNight as ro, mdiDesktopTowerMonitor as lo, mdiContrastCircle as uo, mdiCog as co, mdiCogOutline as po, mdiShieldKeyOutline as mo, mdiContentCopy as Re, mdiFileDocument as _t, mdiKey as fo, mdiPlus as vo, mdiRefresh as go, mdiKeyOutline as _o, mdiCreditCardSettingsOutline as yo, mdiRocketOutline as ho, mdiCheckCircleOutline as Me, mdiCreditCard as bo, mdiReload as Co, mdiPlaylistCheck as ko, mdiCreditCardOutline as Vo, mdiOpenInNew as Te, mdiMedal as $o, mdiHandHeart as xo, mdiHandHeartOutline as Lo, mdiCloudDownload as wo, mdiTrayArrowDown as tt, mdiAccountGroup as So, mdiAccount as Mo, mdiLinkVariant as Io, mdiShieldLock as ot, mdiAccountRemoveOutline as Ao, mdiExitToApp as Do, mdiPin as To, mdiPinOutline as Uo, mdiEmailOpenOutline as qe, mdiEmailVariant as Ge, mdiBell as Po, mdiInboxOutline as Oo, mdiInboxFullOutline as zo, mdiBillboard as Bo, mdiBellOutline as Eo, mdiViewDashboardOutline as Fo, mdiCrown as Zo, mdiArrowULeftBottom as No, mdiAtomVariant as Ho, mdiLogin as nt, mdiDotsVertical as jo, mdiShieldStarOutline as Ro } from "@mdi/js";
|
|
5
|
+
import { VListItem as se, VList as ne, VListSubheader as qo, VListItemTitle as yt, VListItemSubtitle as Go } from "vuetify/components/VList";
|
|
6
6
|
import { VAvatar as oe } from "vuetify/components/VAvatar";
|
|
7
|
-
import { VCard as z, VCardTitle as
|
|
7
|
+
import { VCard as z, VCardTitle as Wo, VCardSubtitle as Ko, VCardText as J, VCardActions as ht, VCardItem as Ze } from "vuetify/components/VCard";
|
|
8
8
|
import { VDialog as Ve } from "vuetify/components/VDialog";
|
|
9
|
-
import { VBtn as
|
|
10
|
-
import { VProgressCircular as
|
|
9
|
+
import { VBtn as D } from "vuetify/components/VBtn";
|
|
10
|
+
import { VProgressCircular as Yo } from "vuetify/components/VProgressCircular";
|
|
11
11
|
import { VSheet as $e } from "vuetify/components/VSheet";
|
|
12
|
-
import { VSwitch as
|
|
13
|
-
import { VFadeTransition as xe, VExpandTransition as Le, VExpandXTransition as
|
|
12
|
+
import { VSwitch as We } from "vuetify/components/VSwitch";
|
|
13
|
+
import { VFadeTransition as xe, VExpandTransition as Le, VExpandXTransition as Qo } from "vuetify/components/transitions";
|
|
14
14
|
import { useDisplay as ie, useTheme as Ue, useDate as me } from "vuetify";
|
|
15
15
|
import { VDivider as N } from "vuetify/components/VDivider";
|
|
16
16
|
import { VIcon as I } from "vuetify/components/VIcon";
|
|
17
|
-
import { VLabel as
|
|
17
|
+
import { VLabel as Ne } from "vuetify/components/VLabel";
|
|
18
18
|
import { VChip as te } from "vuetify/components/VChip";
|
|
19
|
-
import { VChipGroup as
|
|
20
|
-
import { VSelect as
|
|
19
|
+
import { VChipGroup as Xo } from "vuetify/components/VChipGroup";
|
|
20
|
+
import { VSelect as Jo } from "vuetify/components/VSelect";
|
|
21
21
|
import { defineStore as q } from "pinia";
|
|
22
|
-
import { VRow as fe, VCol as le, VSpacer as
|
|
22
|
+
import { VRow as fe, VCol as le, VSpacer as bt } from "vuetify/components/VGrid";
|
|
23
23
|
import { VHover as ve } from "vuetify/components/VHover";
|
|
24
|
-
import { VImg as
|
|
25
|
-
import { VItemGroup as
|
|
24
|
+
import { VImg as ae } from "vuetify/components/VImg";
|
|
25
|
+
import { VItemGroup as Ct, VItem as He } from "vuetify/components/VItemGroup";
|
|
26
26
|
import { VLayout as ue } from "vuetify/components/VLayout";
|
|
27
27
|
import { VMain as ce } from "vuetify/components/VMain";
|
|
28
|
-
import { VTextField as
|
|
29
|
-
import { VTable as
|
|
30
|
-
import { Tooltip as X, Ripple as
|
|
31
|
-
import { VExpansionPanels as
|
|
32
|
-
import { VDataTableVirtual as
|
|
28
|
+
import { VTextField as kt } from "vuetify/components/VTextField";
|
|
29
|
+
import { VTable as en } from "vuetify/components/VTable";
|
|
30
|
+
import { Tooltip as X, Ripple as tn } from "vuetify/directives";
|
|
31
|
+
import { VExpansionPanels as on, VExpansionPanel as nn, VExpansionPanelText as sn } from "vuetify/components/VExpansionPanel";
|
|
32
|
+
import { VDataTableVirtual as Vt, VDataTable as an } from "vuetify/components/VDataTable";
|
|
33
33
|
import { VSkeletonLoader as he } from "vuetify/components/VSkeletonLoader";
|
|
34
|
-
import { VWindow as
|
|
35
|
-
import { VTimelineItem as
|
|
36
|
-
import { VEmptyState as
|
|
34
|
+
import { VWindow as $t, VWindowItem as _e } from "vuetify/components/VWindow";
|
|
35
|
+
import { VTimelineItem as rn, VTimeline as ln } from "vuetify/components/VTimeline";
|
|
36
|
+
import { VEmptyState as Ke } from "vuetify/components/VEmptyState";
|
|
37
37
|
import { VMenu as Pe } from "vuetify/components/VMenu";
|
|
38
|
-
import { VTooltip as
|
|
39
|
-
import { VResponsive as
|
|
40
|
-
import { VBadge as
|
|
41
|
-
import { VNavigationDrawer as
|
|
42
|
-
import { VColorPicker as
|
|
43
|
-
import { VAppBar as
|
|
44
|
-
import { VFooter as
|
|
45
|
-
import { useRouter as
|
|
46
|
-
import { VLazy as
|
|
47
|
-
const
|
|
38
|
+
import { VTooltip as xt } from "vuetify/components/VTooltip";
|
|
39
|
+
import { VResponsive as un } from "vuetify/components/VResponsive";
|
|
40
|
+
import { VBadge as Ye } from "vuetify/components/VBadge";
|
|
41
|
+
import { VNavigationDrawer as cn } from "vuetify/components/VNavigationDrawer";
|
|
42
|
+
import { VColorPicker as dn } from "vuetify/components/VColorPicker";
|
|
43
|
+
import { VAppBar as Lt } from "vuetify/components/VAppBar";
|
|
44
|
+
import { VFooter as pn } from "vuetify/components/VFooter";
|
|
45
|
+
import { useRouter as mn } from "vue-router";
|
|
46
|
+
import { VLazy as fn } from "vuetify/components/VLazy";
|
|
47
|
+
const vn = /* @__PURE__ */ y({
|
|
48
48
|
__name: "VoSnackbarQueue",
|
|
49
49
|
setup(p) {
|
|
50
50
|
const t = ee();
|
|
51
|
-
return (a, o) => (c(), m(
|
|
51
|
+
return (a, o) => (c(), m(Kt, {
|
|
52
52
|
modelValue: e(t).queue,
|
|
53
|
-
"onUpdate:modelValue": o[0] || (o[0] = (
|
|
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
|
-
}),
|
|
58
|
+
}), gn = { class: "text-body-2" }, wt = /* @__PURE__ */ y({
|
|
59
|
+
__name: "VoAuthOpenCollective",
|
|
60
|
+
setup(p) {
|
|
61
|
+
const t = B(), a = C(() => t.user && t.findIdentity("opencollective")), o = C(() => t.user ? a.value ? "Connected to Open Collective" : "Connect Open Collective" : "Login with Open Collective");
|
|
62
|
+
return (r, u) => (c(), m(se, {
|
|
63
|
+
"base-color": "#1258e2",
|
|
64
|
+
"prepend-icon": `svg:${e(pt)}`,
|
|
65
|
+
rounded: "pill",
|
|
66
|
+
slim: "",
|
|
67
|
+
variant: "flat",
|
|
68
|
+
onClick: u[0] || (u[0] = (i) => e(t).login("opencollective"))
|
|
69
|
+
}, T({
|
|
70
|
+
title: s(() => [
|
|
71
|
+
v("span", gn, V(e(o)), 1)
|
|
72
|
+
]),
|
|
73
|
+
_: 2
|
|
74
|
+
}, [
|
|
75
|
+
!e(t).user && e(t).lastLoginProvider() === "openCollective" ? {
|
|
76
|
+
name: "subtitle",
|
|
77
|
+
fn: s(() => [
|
|
78
|
+
u[1] || (u[1] = v("div", { class: "text-caption mt-n1" }, "Last Used", -1))
|
|
79
|
+
]),
|
|
80
|
+
key: "0"
|
|
81
|
+
} : void 0
|
|
82
|
+
]), 1032, ["prepend-icon"]));
|
|
83
|
+
}
|
|
84
|
+
}), _n = { class: "text-body-2" }, St = /* @__PURE__ */ y({
|
|
59
85
|
__name: "VoAuthShopify",
|
|
60
86
|
setup(p) {
|
|
61
|
-
const t =
|
|
62
|
-
return (
|
|
87
|
+
const t = B(), a = C(() => t.user && t.findIdentity("shopify")), o = C(() => t.user ? a.value ? "Connected to Shopify" : "Connect Shopify" : "Login with Shopify");
|
|
88
|
+
return (r, u) => (c(), m(se, {
|
|
63
89
|
"base-color": "#5b8a3c",
|
|
64
|
-
"prepend-icon": `svg:${e(
|
|
90
|
+
"prepend-icon": `svg:${e(Yt)}`,
|
|
65
91
|
rounded: "pill",
|
|
66
92
|
slim: "",
|
|
67
93
|
variant: "flat",
|
|
68
|
-
onClick: u[0] || (u[0] = (
|
|
69
|
-
},
|
|
94
|
+
onClick: u[0] || (u[0] = (i) => e(t).login("shopify"))
|
|
95
|
+
}, T({
|
|
70
96
|
title: s(() => [
|
|
71
|
-
|
|
97
|
+
v("span", _n, V(e(o)), 1)
|
|
72
98
|
]),
|
|
73
99
|
_: 2
|
|
74
100
|
}, [
|
|
75
101
|
!e(t).user && e(t).lastLoginProvider() === "shopify" ? {
|
|
76
102
|
name: "subtitle",
|
|
77
103
|
fn: s(() => [
|
|
78
|
-
u[1] || (u[1] =
|
|
104
|
+
u[1] || (u[1] = v("div", { class: "text-caption mt-n1" }, "Last Used", -1))
|
|
79
105
|
]),
|
|
80
106
|
key: "0"
|
|
81
107
|
} : void 0
|
|
82
108
|
]), 1032, ["prepend-icon"]));
|
|
83
109
|
}
|
|
84
|
-
}),
|
|
110
|
+
}), yn = { class: "text-body-2" }, Mt = /* @__PURE__ */ y({
|
|
85
111
|
__name: "VoAuthDiscord",
|
|
86
112
|
setup(p) {
|
|
87
|
-
const t =
|
|
88
|
-
return (
|
|
113
|
+
const t = B(), a = C(() => t.user && t.findIdentity("discord")), o = C(() => t.user ? a.value ? "Connected to Discord" : "Connect Discord" : "Login with Discord");
|
|
114
|
+
return (r, u) => (c(), m(se, {
|
|
89
115
|
"base-color": "#5865F2",
|
|
90
116
|
"prepend-icon": "$discord",
|
|
91
117
|
rounded: "pill",
|
|
92
118
|
slim: "",
|
|
93
119
|
variant: "flat",
|
|
94
|
-
onClick: u[0] || (u[0] = (
|
|
95
|
-
},
|
|
120
|
+
onClick: u[0] || (u[0] = (i) => e(t).login("discord"))
|
|
121
|
+
}, T({
|
|
96
122
|
title: s(() => [
|
|
97
|
-
|
|
123
|
+
v("span", yn, V(e(o)), 1)
|
|
98
124
|
]),
|
|
99
125
|
_: 2
|
|
100
126
|
}, [
|
|
101
127
|
!e(t).user && e(t).lastLoginProvider() === "discord" ? {
|
|
102
128
|
name: "subtitle",
|
|
103
129
|
fn: s(() => [
|
|
104
|
-
u[1] || (u[1] =
|
|
130
|
+
u[1] || (u[1] = v("div", { class: "text-caption mt-n1" }, "Last Used", -1))
|
|
105
131
|
]),
|
|
106
132
|
key: "0"
|
|
107
133
|
} : void 0
|
|
108
134
|
]), 1024));
|
|
109
135
|
}
|
|
110
|
-
}),
|
|
136
|
+
}), hn = { class: "text-body-2" }, It = /* @__PURE__ */ y({
|
|
111
137
|
__name: "VoAuthGoogle",
|
|
112
138
|
setup(p) {
|
|
113
|
-
const t =
|
|
114
|
-
return (
|
|
139
|
+
const t = B(), a = C(() => t.user && t.findIdentity("google")), o = C(() => t.user ? a.value ? "Connected to Google" : "Connect Google" : "Login with Google");
|
|
140
|
+
return (r, u) => (c(), m(se, {
|
|
115
141
|
"base-color": "#4285F4",
|
|
116
|
-
"prepend-icon":
|
|
142
|
+
"prepend-icon": `svg:${e(Qt)}`,
|
|
117
143
|
rounded: "pill",
|
|
118
144
|
slim: "",
|
|
119
145
|
variant: "flat",
|
|
120
|
-
onClick: u[0] || (u[0] = (
|
|
121
|
-
},
|
|
146
|
+
onClick: u[0] || (u[0] = (i) => e(t).login("google"))
|
|
147
|
+
}, T({
|
|
122
148
|
title: s(() => [
|
|
123
|
-
|
|
149
|
+
v("span", hn, V(e(o)), 1)
|
|
124
150
|
]),
|
|
125
151
|
_: 2
|
|
126
152
|
}, [
|
|
127
153
|
!e(t).user && e(t).lastLoginProvider() === "google" ? {
|
|
128
154
|
name: "subtitle",
|
|
129
155
|
fn: s(() => [
|
|
130
|
-
u[1] || (u[1] =
|
|
156
|
+
u[1] || (u[1] = v("div", { class: "text-caption mt-n1" }, "Last Used", -1))
|
|
131
157
|
]),
|
|
132
158
|
key: "0"
|
|
133
159
|
} : void 0
|
|
134
|
-
]),
|
|
160
|
+
]), 1032, ["prepend-icon"]));
|
|
135
161
|
}
|
|
136
|
-
}),
|
|
162
|
+
}), bn = { class: "text-body-2" }, At = /* @__PURE__ */ y({
|
|
137
163
|
__name: "VoAuthGithub",
|
|
138
164
|
setup(p) {
|
|
139
|
-
const t =
|
|
140
|
-
return (
|
|
165
|
+
const t = B(), a = C(() => t.user && t.findIdentity("github")), o = C(() => t.user ? a.value ? "Connected to GitHub" : "Connect GitHub" : "Login with GitHub");
|
|
166
|
+
return (r, u) => (c(), m(se, {
|
|
141
167
|
"base-color": "#2a2a2a",
|
|
142
168
|
"prepend-icon": "$github",
|
|
143
169
|
rounded: "pill",
|
|
144
170
|
slim: "",
|
|
145
171
|
variant: "flat",
|
|
146
|
-
onClick: u[0] || (u[0] = (
|
|
147
|
-
},
|
|
172
|
+
onClick: u[0] || (u[0] = (i) => e(t).login("github"))
|
|
173
|
+
}, T({
|
|
148
174
|
title: s(() => [
|
|
149
|
-
|
|
175
|
+
v("span", bn, V(e(o)), 1)
|
|
150
176
|
]),
|
|
151
177
|
_: 2
|
|
152
178
|
}, [
|
|
153
179
|
!e(t).user && e(t).lastLoginProvider() === "github" ? {
|
|
154
180
|
name: "subtitle",
|
|
155
181
|
fn: s(() => [
|
|
156
|
-
u[1] || (u[1] =
|
|
182
|
+
u[1] || (u[1] = v("div", { class: "text-caption mt-n1" }, "Last Used", -1))
|
|
157
183
|
]),
|
|
158
184
|
key: "0"
|
|
159
185
|
} : void 0
|
|
160
186
|
]), 1024));
|
|
161
187
|
}
|
|
162
|
-
}),
|
|
188
|
+
}), Cn = { class: "text-center" }, kn = { class: "text-center mb-6" }, Vn = { class: "text-h6 font-weight-light" }, Dt = /* @__PURE__ */ y({
|
|
163
189
|
__name: "VoAuthCard",
|
|
164
190
|
setup(p) {
|
|
165
|
-
const t =
|
|
191
|
+
const t = B();
|
|
166
192
|
return (a, o) => {
|
|
167
|
-
const
|
|
193
|
+
const r = At, u = It, i = Mt, l = St, d = wt;
|
|
168
194
|
return c(), m(z, {
|
|
169
195
|
class: "pt-6 pb-8 px-4 px-sm-8 mx-auto",
|
|
170
196
|
"max-width": "480",
|
|
171
197
|
rounded: "lg"
|
|
172
198
|
}, {
|
|
173
199
|
default: s(() => [
|
|
174
|
-
|
|
200
|
+
v("div", Cn, [
|
|
175
201
|
n(oe, {
|
|
176
202
|
class: "mx-auto",
|
|
177
203
|
image: "https://vuetifyjs.b-cdn.net/docs/images/avatars/one.png",
|
|
178
204
|
size: "64"
|
|
179
205
|
})
|
|
180
206
|
]),
|
|
181
|
-
|
|
182
|
-
n(
|
|
207
|
+
v("div", kn, [
|
|
208
|
+
n(Wo, { class: "text-h5 mb-1 text-md-h4" }, {
|
|
183
209
|
default: s(() => [
|
|
184
|
-
|
|
185
|
-
o[0] || (o[0] =
|
|
210
|
+
v("div", Vn, V(e(t).lastLoginProvider() ? "Welcome back to" : "Login to"), 1),
|
|
211
|
+
o[0] || (o[0] = v("span", { class: "text-h3 font-weight-bold" }, "Vuetify One", -1))
|
|
186
212
|
]),
|
|
187
213
|
_: 1
|
|
188
214
|
}),
|
|
189
|
-
n(
|
|
215
|
+
n(Ko, { class: "text-wrap" }, {
|
|
190
216
|
default: s(() => [...o[1] || (o[1] = [
|
|
191
217
|
S(" Login to save your settings and gain access to exclusive subscriber perks. ", -1)
|
|
192
218
|
])]),
|
|
@@ -199,10 +225,11 @@ const mn = /* @__PURE__ */ _({
|
|
|
199
225
|
width: "100%"
|
|
200
226
|
}, {
|
|
201
227
|
default: s(() => [
|
|
202
|
-
n(i, { class: "mb-3" }),
|
|
203
|
-
n(u, { class: "mb-3" }),
|
|
204
228
|
n(r, { class: "mb-3" }),
|
|
205
|
-
n(
|
|
229
|
+
n(u, { class: "mb-3" }),
|
|
230
|
+
n(i, { class: "mb-3" }),
|
|
231
|
+
n(l, { class: "mb-3" }),
|
|
232
|
+
n(d)
|
|
206
233
|
]),
|
|
207
234
|
_: 1
|
|
208
235
|
})
|
|
@@ -211,32 +238,32 @@ const mn = /* @__PURE__ */ _({
|
|
|
211
238
|
});
|
|
212
239
|
};
|
|
213
240
|
}
|
|
214
|
-
}),
|
|
241
|
+
}), Tt = /* @__PURE__ */ y({
|
|
215
242
|
__name: "VoAuthDialog",
|
|
216
243
|
setup(p) {
|
|
217
|
-
const t =
|
|
244
|
+
const t = B();
|
|
218
245
|
return (a, o) => {
|
|
219
|
-
const
|
|
246
|
+
const r = Dt;
|
|
220
247
|
return c(), m(Ve, {
|
|
221
248
|
modelValue: e(t).dialog,
|
|
222
249
|
"onUpdate:modelValue": o[0] || (o[0] = (u) => e(t).dialog = u),
|
|
223
250
|
"max-width": "480"
|
|
224
251
|
}, {
|
|
225
252
|
default: s(() => [
|
|
226
|
-
n(
|
|
253
|
+
n(r)
|
|
227
254
|
]),
|
|
228
255
|
_: 1
|
|
229
256
|
}, 8, ["modelValue"]);
|
|
230
257
|
};
|
|
231
258
|
}
|
|
232
|
-
}), we = /* @__PURE__ */
|
|
259
|
+
}), we = /* @__PURE__ */ y({
|
|
233
260
|
__name: "VoBtn",
|
|
234
261
|
props: {
|
|
235
262
|
readonly: { type: Boolean }
|
|
236
263
|
},
|
|
237
264
|
setup(p) {
|
|
238
265
|
const t = p;
|
|
239
|
-
return (a, o) => (c(), m(
|
|
266
|
+
return (a, o) => (c(), m(D, {
|
|
240
267
|
class: "text-none font-weight-regular",
|
|
241
268
|
color: "primary",
|
|
242
269
|
size: "small",
|
|
@@ -245,9 +272,9 @@ const mn = /* @__PURE__ */ _({
|
|
|
245
272
|
}),
|
|
246
273
|
tabindex: t.readonly ? -1 : void 0,
|
|
247
274
|
variant: "flat"
|
|
248
|
-
},
|
|
275
|
+
}, T({
|
|
249
276
|
loader: s(() => [
|
|
250
|
-
a.$slots.loader ? h("", !0) : (c(), m(
|
|
277
|
+
a.$slots.loader ? h("", !0) : (c(), m(Yo, {
|
|
251
278
|
key: 0,
|
|
252
279
|
indeterminate: "disable-shrink",
|
|
253
280
|
size: "16",
|
|
@@ -273,18 +300,18 @@ const mn = /* @__PURE__ */ _({
|
|
|
273
300
|
} : void 0
|
|
274
301
|
]), 1032, ["style", "tabindex"]));
|
|
275
302
|
}
|
|
276
|
-
}),
|
|
303
|
+
}), $n = { class: "pa-4 d-flex flex-column ga-4" }, Ut = /* @__PURE__ */ y({
|
|
277
304
|
__name: "VoAuthListItem",
|
|
278
305
|
setup(p) {
|
|
279
|
-
const t =
|
|
306
|
+
const t = B(), a = U(), o = M(!t.user && !t.isLoading);
|
|
280
307
|
H(() => t.user, (u) => {
|
|
281
308
|
o.value = !u;
|
|
282
309
|
});
|
|
283
|
-
function
|
|
310
|
+
function r() {
|
|
284
311
|
t.user && (o.value = !o.value);
|
|
285
312
|
}
|
|
286
|
-
return (u,
|
|
287
|
-
const l =
|
|
313
|
+
return (u, i) => {
|
|
314
|
+
const l = At, d = It, f = Mt, _ = St, g = wt;
|
|
288
315
|
return c(), m(z, {
|
|
289
316
|
class: "ma-2",
|
|
290
317
|
rounded: "lg",
|
|
@@ -293,28 +320,28 @@ const mn = /* @__PURE__ */ _({
|
|
|
293
320
|
default: s(() => [
|
|
294
321
|
n(ne, { class: "py-0" }, {
|
|
295
322
|
default: s(() => [
|
|
296
|
-
n(
|
|
323
|
+
n(se, {
|
|
297
324
|
class: "mb-0",
|
|
298
325
|
link: !!e(t).user,
|
|
299
326
|
nav: "",
|
|
300
|
-
"prepend-icon": `svg:${e(t).user && e(a).one.sync ? e(
|
|
327
|
+
"prepend-icon": `svg:${e(t).user && e(a).one.sync ? e(Xt) : e(Jt)}`,
|
|
301
328
|
rounded: "b-0",
|
|
302
329
|
slim: "",
|
|
303
330
|
title: e(t).user && e(a).one.sync ? "Sync is on" : "Sync is paused",
|
|
304
|
-
onClick:
|
|
331
|
+
onClick: r
|
|
305
332
|
}, {
|
|
306
333
|
append: s(() => [
|
|
307
334
|
n(xe, null, {
|
|
308
335
|
default: s(() => [
|
|
309
|
-
e(t).user && (e(o) || !e(a).one.sync) ? (c(), m(
|
|
336
|
+
e(t).user && (e(o) || !e(a).one.sync) ? (c(), m(We, {
|
|
310
337
|
key: 0,
|
|
311
338
|
modelValue: e(a).one.sync,
|
|
312
|
-
"onUpdate:modelValue":
|
|
339
|
+
"onUpdate:modelValue": i[0] || (i[0] = (b) => e(a).one.sync = b),
|
|
313
340
|
color: e(a).one.sync ? "success" : void 0,
|
|
314
341
|
density: "compact",
|
|
315
342
|
"hide-details": "",
|
|
316
343
|
inset: "",
|
|
317
|
-
onClick:
|
|
344
|
+
onClick: i[1] || (i[1] = ye(() => {
|
|
318
345
|
}, ["stop"]))
|
|
319
346
|
}, {
|
|
320
347
|
thumb: s(() => [
|
|
@@ -338,18 +365,21 @@ const mn = /* @__PURE__ */ _({
|
|
|
338
365
|
color: "transparent"
|
|
339
366
|
}, {
|
|
340
367
|
default: s(() => [
|
|
341
|
-
|
|
368
|
+
v("div", $n, [
|
|
342
369
|
n(l, {
|
|
343
|
-
onClick:
|
|
370
|
+
onClick: i[2] || (i[2] = (b) => o.value = !1)
|
|
344
371
|
}),
|
|
345
372
|
n(d, {
|
|
346
|
-
onClick:
|
|
373
|
+
onClick: i[3] || (i[3] = (b) => o.value = !1)
|
|
347
374
|
}),
|
|
348
375
|
n(f, {
|
|
349
|
-
onClick:
|
|
376
|
+
onClick: i[4] || (i[4] = (b) => o.value = !1)
|
|
350
377
|
}),
|
|
351
|
-
n(
|
|
352
|
-
onClick:
|
|
378
|
+
n(_, {
|
|
379
|
+
onClick: i[5] || (i[5] = (b) => o.value = !1)
|
|
380
|
+
}),
|
|
381
|
+
n(g, {
|
|
382
|
+
onClick: i[6] || (i[6] = (b) => o.value = !1)
|
|
353
383
|
})
|
|
354
384
|
])
|
|
355
385
|
]),
|
|
@@ -366,10 +396,10 @@ const mn = /* @__PURE__ */ _({
|
|
|
366
396
|
}, 8, ["variant"]);
|
|
367
397
|
};
|
|
368
398
|
}
|
|
369
|
-
}), G = /* @__PURE__ */
|
|
399
|
+
}), G = /* @__PURE__ */ y({
|
|
370
400
|
__name: "VoListItem",
|
|
371
401
|
setup(p) {
|
|
372
|
-
return (t, a) => (c(), m(
|
|
402
|
+
return (t, a) => (c(), m(se, { slim: "" }, T({
|
|
373
403
|
default: s(() => [
|
|
374
404
|
w(t.$slots, "default")
|
|
375
405
|
]),
|
|
@@ -398,28 +428,28 @@ const mn = /* @__PURE__ */ _({
|
|
|
398
428
|
} : void 0
|
|
399
429
|
]), 1024));
|
|
400
430
|
}
|
|
401
|
-
}),
|
|
431
|
+
}), xn = /* @__PURE__ */ y({
|
|
402
432
|
__name: "VoAuthLogoutNavItem",
|
|
403
433
|
setup(p) {
|
|
404
|
-
const t =
|
|
434
|
+
const t = B(), a = M(!1);
|
|
405
435
|
async function o() {
|
|
406
436
|
a.value = !0, await t.logout(), a.value = !1;
|
|
407
437
|
}
|
|
408
|
-
return (
|
|
409
|
-
const
|
|
410
|
-
return c(), m(
|
|
438
|
+
return (r, u) => {
|
|
439
|
+
const i = G;
|
|
440
|
+
return c(), m(i, {
|
|
411
441
|
class: "mb-0",
|
|
412
442
|
disabled: e(a),
|
|
413
443
|
link: "",
|
|
414
444
|
loading: e(a),
|
|
415
|
-
"prepend-icon": `svg:${e(
|
|
445
|
+
"prepend-icon": `svg:${e(eo)}`,
|
|
416
446
|
rounded: "lg",
|
|
417
447
|
title: "Logout",
|
|
418
448
|
onClick: o
|
|
419
449
|
}, null, 8, ["disabled", "loading", "prepend-icon"]);
|
|
420
450
|
};
|
|
421
451
|
}
|
|
422
|
-
}), de = /* @__PURE__ */
|
|
452
|
+
}), de = /* @__PURE__ */ y({
|
|
423
453
|
__name: "VoDialog",
|
|
424
454
|
props: /* @__PURE__ */ rt({
|
|
425
455
|
prependIcon: {},
|
|
@@ -431,35 +461,35 @@ const mn = /* @__PURE__ */ _({
|
|
|
431
461
|
emits: ["update:modelValue"],
|
|
432
462
|
setup(p) {
|
|
433
463
|
const t = W(p, "modelValue"), a = ie(), o = M(!1);
|
|
434
|
-
return (
|
|
464
|
+
return (r, u) => (c(), m(Ve, {
|
|
435
465
|
modelValue: t.value,
|
|
436
|
-
"onUpdate:modelValue": u[2] || (u[2] = (
|
|
466
|
+
"onUpdate:modelValue": u[2] || (u[2] = (i) => t.value = i),
|
|
437
467
|
activator: "parent",
|
|
438
468
|
fullscreen: e(o) || e(a).xs.value,
|
|
439
469
|
height: "100%",
|
|
440
470
|
"max-height": e(o) || e(a).xs.value ? "100%" : 800,
|
|
441
471
|
"max-width": e(o) || e(a).xs.value ? "100%" : 800
|
|
442
472
|
}, {
|
|
443
|
-
default: s(({ isActive:
|
|
473
|
+
default: s(({ isActive: i }) => [
|
|
444
474
|
n(z, {
|
|
445
475
|
class: "overflow-hidden",
|
|
446
476
|
height: "inherit",
|
|
447
|
-
"prepend-icon":
|
|
477
|
+
"prepend-icon": r.prependIcon,
|
|
448
478
|
rounded: e(o) || e(a).xs.value ? 0 : "lg",
|
|
449
|
-
title:
|
|
450
|
-
},
|
|
479
|
+
title: r.title
|
|
480
|
+
}, T({
|
|
451
481
|
append: s(() => [
|
|
452
|
-
w(
|
|
453
|
-
e(a).xs.value ? h("", !0) : (c(), m(
|
|
482
|
+
w(r.$slots, "append"),
|
|
483
|
+
e(a).xs.value ? h("", !0) : (c(), m(D, {
|
|
454
484
|
key: 0,
|
|
455
485
|
class: "me-2",
|
|
456
486
|
density: "comfortable",
|
|
457
|
-
icon: `svg:${e(o) ? e(
|
|
487
|
+
icon: `svg:${e(o) ? e(to) : e(oo)}`,
|
|
458
488
|
size: "small",
|
|
459
489
|
variant: "text",
|
|
460
490
|
onClick: u[0] || (u[0] = (l) => o.value = !e(o))
|
|
461
491
|
}, null, 8, ["icon"])),
|
|
462
|
-
n(
|
|
492
|
+
n(D, {
|
|
463
493
|
density: "comfortable",
|
|
464
494
|
icon: "$close",
|
|
465
495
|
size: "small",
|
|
@@ -469,21 +499,21 @@ const mn = /* @__PURE__ */ _({
|
|
|
469
499
|
]),
|
|
470
500
|
default: s(() => [
|
|
471
501
|
n(N),
|
|
472
|
-
w(
|
|
502
|
+
w(r.$slots, "default")
|
|
473
503
|
]),
|
|
474
504
|
_: 2
|
|
475
505
|
}, [
|
|
476
|
-
|
|
506
|
+
r.$slots.prepend ? {
|
|
477
507
|
name: "prepend",
|
|
478
508
|
fn: s(() => [
|
|
479
|
-
w(
|
|
509
|
+
w(r.$slots, "prepend")
|
|
480
510
|
]),
|
|
481
511
|
key: "0"
|
|
482
512
|
} : void 0,
|
|
483
|
-
|
|
513
|
+
r.$slots.actions ? {
|
|
484
514
|
name: "actions",
|
|
485
515
|
fn: s(() => [
|
|
486
|
-
w(
|
|
516
|
+
w(r.$slots, "actions", { isActive: i })
|
|
487
517
|
]),
|
|
488
518
|
key: "1"
|
|
489
519
|
} : void 0
|
|
@@ -492,19 +522,19 @@ const mn = /* @__PURE__ */ _({
|
|
|
492
522
|
_: 3
|
|
493
523
|
}, 8, ["modelValue", "fullscreen", "max-height", "max-width"]));
|
|
494
524
|
}
|
|
495
|
-
}),
|
|
525
|
+
}), Pt = /* @__PURE__ */ y({
|
|
496
526
|
__name: "VoSwitch",
|
|
497
527
|
props: {
|
|
498
528
|
disabled: { type: Boolean }
|
|
499
529
|
},
|
|
500
530
|
setup(p) {
|
|
501
|
-
return (t, a) => (c(), m(
|
|
531
|
+
return (t, a) => (c(), m(We, {
|
|
502
532
|
color: "primary",
|
|
503
533
|
density: "compact",
|
|
504
534
|
disabled: t.disabled,
|
|
505
535
|
inset: "",
|
|
506
536
|
"true-icon": `svg:${e(ke)}`
|
|
507
|
-
},
|
|
537
|
+
}, T({
|
|
508
538
|
thumb: s(() => [
|
|
509
539
|
n(I, {
|
|
510
540
|
color: t.disabled ? void 0 : "primary"
|
|
@@ -521,18 +551,18 @@ const mn = /* @__PURE__ */ _({
|
|
|
521
551
|
} : void 0
|
|
522
552
|
]), 1032, ["disabled", "true-icon"]));
|
|
523
553
|
}
|
|
524
|
-
}),
|
|
554
|
+
}), Ln = {
|
|
525
555
|
key: 1,
|
|
526
556
|
class: "mb-3 text-caption text-medium-emphasis"
|
|
527
|
-
}, re = /* @__PURE__ */
|
|
557
|
+
}, re = /* @__PURE__ */ y({
|
|
528
558
|
__name: "VoDialogSubheader",
|
|
529
559
|
props: {
|
|
530
560
|
title: {},
|
|
531
561
|
text: {}
|
|
532
562
|
},
|
|
533
563
|
setup(p) {
|
|
534
|
-
return (t, a) => (c(), k(
|
|
535
|
-
t.title ? (c(), m(
|
|
564
|
+
return (t, a) => (c(), k(A, null, [
|
|
565
|
+
t.title ? (c(), m(Ne, {
|
|
536
566
|
key: 0,
|
|
537
567
|
class: "font-weight-black"
|
|
538
568
|
}, {
|
|
@@ -541,56 +571,56 @@ const mn = /* @__PURE__ */ _({
|
|
|
541
571
|
]),
|
|
542
572
|
_: 1
|
|
543
573
|
})) : h("", !0),
|
|
544
|
-
t.text ? (c(), k("div",
|
|
574
|
+
t.text ? (c(), k("div", Ln, V(t.text), 1)) : h("", !0)
|
|
545
575
|
], 64));
|
|
546
576
|
}
|
|
547
|
-
}),
|
|
577
|
+
}), wn = { key: 0 }, Sn = /* @__PURE__ */ y({
|
|
548
578
|
__name: "VoSettingsPageSuitOption",
|
|
549
579
|
setup(p) {
|
|
550
|
-
const t =
|
|
580
|
+
const t = U(), a = [
|
|
551
581
|
{
|
|
552
582
|
title: "Choose a page suit",
|
|
553
583
|
value: "",
|
|
554
|
-
prependIcon: `svg:${
|
|
584
|
+
prependIcon: `svg:${no}`,
|
|
555
585
|
disabled: !0
|
|
556
586
|
},
|
|
557
587
|
{
|
|
558
588
|
title: "Blackguard",
|
|
559
|
-
prependIcon: `svg:${
|
|
589
|
+
prependIcon: `svg:${mt}`,
|
|
560
590
|
value: "blackguard"
|
|
561
591
|
},
|
|
562
592
|
{
|
|
563
593
|
title: "Polaris",
|
|
564
|
-
prependIcon: `svg:${
|
|
594
|
+
prependIcon: `svg:${ft}`,
|
|
565
595
|
value: "polaris"
|
|
566
596
|
},
|
|
567
597
|
{
|
|
568
598
|
title: "Nebula",
|
|
569
|
-
prependIcon: `svg:${
|
|
599
|
+
prependIcon: `svg:${vt}`,
|
|
570
600
|
value: "nebula"
|
|
571
601
|
},
|
|
572
602
|
{
|
|
573
603
|
title: "Odyssey",
|
|
574
|
-
prependIcon: `svg:${
|
|
604
|
+
prependIcon: `svg:${gt}`,
|
|
575
605
|
value: "odyssey"
|
|
576
606
|
}
|
|
577
607
|
];
|
|
578
|
-
return (o,
|
|
579
|
-
const u =
|
|
580
|
-
return c(), k(
|
|
608
|
+
return (o, r) => {
|
|
609
|
+
const u = Pt, i = re;
|
|
610
|
+
return c(), k(A, null, [
|
|
581
611
|
n(u, {
|
|
582
612
|
modelValue: e(t).one.suits.enabled,
|
|
583
|
-
"onUpdate:modelValue":
|
|
613
|
+
"onUpdate:modelValue": r[0] || (r[0] = (l) => e(t).one.suits.enabled = l),
|
|
584
614
|
class: "mb-2",
|
|
585
615
|
label: "Enable Page suits",
|
|
586
616
|
messages: "Customize layout elements with a unique background, styled after one of our themed releases."
|
|
587
617
|
}, null, 8, ["modelValue"]),
|
|
588
618
|
n(Le, null, {
|
|
589
619
|
default: s(() => [
|
|
590
|
-
e(t).one.suits.enabled ? (c(), k("div",
|
|
591
|
-
n(
|
|
620
|
+
e(t).one.suits.enabled ? (c(), k("div", wn, [
|
|
621
|
+
n(Jo, {
|
|
592
622
|
modelValue: e(t).one.suits.suit,
|
|
593
|
-
"onUpdate:modelValue":
|
|
623
|
+
"onUpdate:modelValue": r[1] || (r[1] = (l) => e(t).one.suits.suit = l),
|
|
594
624
|
clearable: "",
|
|
595
625
|
density: "compact",
|
|
596
626
|
"item-props": "",
|
|
@@ -610,17 +640,17 @@ const mn = /* @__PURE__ */ _({
|
|
|
610
640
|
]),
|
|
611
641
|
_: 1
|
|
612
642
|
}, 8, ["modelValue"]),
|
|
613
|
-
n(
|
|
614
|
-
n(
|
|
643
|
+
n(i, { text: "Select your suit elements to display the background image:" }),
|
|
644
|
+
n(Xo, {
|
|
615
645
|
modelValue: e(t).one.suits.elements,
|
|
616
|
-
"onUpdate:modelValue":
|
|
646
|
+
"onUpdate:modelValue": r[2] || (r[2] = (l) => e(t).one.suits.elements = l),
|
|
617
647
|
color: "primary",
|
|
618
648
|
filter: "",
|
|
619
649
|
multiple: ""
|
|
620
650
|
}, {
|
|
621
651
|
default: s(() => [
|
|
622
652
|
n(te, {
|
|
623
|
-
"append-icon": `svg:${e(
|
|
653
|
+
"append-icon": `svg:${e(so)}`,
|
|
624
654
|
"filter-icon": "$success",
|
|
625
655
|
text: "App Bar",
|
|
626
656
|
value: "app-bar",
|
|
@@ -636,7 +666,7 @@ const mn = /* @__PURE__ */ _({
|
|
|
636
666
|
_: 1
|
|
637
667
|
}, 8, ["append-icon"]),
|
|
638
668
|
n(te, {
|
|
639
|
-
"append-icon": `svg:${e(
|
|
669
|
+
"append-icon": `svg:${e(ao)}`,
|
|
640
670
|
"filter-icon": "$success",
|
|
641
671
|
text: "Navigation Drawer",
|
|
642
672
|
value: "drawer",
|
|
@@ -678,7 +708,7 @@ const mn = /* @__PURE__ */ _({
|
|
|
678
708
|
};
|
|
679
709
|
}
|
|
680
710
|
});
|
|
681
|
-
function
|
|
711
|
+
function Mn() {
|
|
682
712
|
return {
|
|
683
713
|
blackguard: {
|
|
684
714
|
dark: !0,
|
|
@@ -871,8 +901,8 @@ function Ln() {
|
|
|
871
901
|
}
|
|
872
902
|
};
|
|
873
903
|
}
|
|
874
|
-
const
|
|
875
|
-
const p = "https://cdn.vuetifyjs.com/docs/images/one/", t =
|
|
904
|
+
const Oe = q("settings", () => {
|
|
905
|
+
const p = "https://cdn.vuetifyjs.com/docs/images/one/", t = O(), a = U(), o = Ue(), r = Mn(), u = {
|
|
876
906
|
blackguard: {
|
|
877
907
|
"app-bar": p + "suits/blackguard/blackguard-app-bar.png",
|
|
878
908
|
drawer: p + "suits/blackguard/blackguard-app-drawer.png",
|
|
@@ -893,26 +923,26 @@ const ze = q("settings", () => {
|
|
|
893
923
|
drawer: p + "suits/odyssey/odyssey-app-drawer.png",
|
|
894
924
|
footer: p + "suits/odyssey/odyssey-app-footer.png"
|
|
895
925
|
}
|
|
896
|
-
},
|
|
926
|
+
}, i = C(() => {
|
|
897
927
|
if (!a.one.suits.suit || !a.one.suits.enabled || !t.isSubscriber)
|
|
898
928
|
return {};
|
|
899
929
|
const l = u[a.one.suits.suit.toLowerCase()], d = {};
|
|
900
930
|
for (const f of a.one.suits.elements) {
|
|
901
|
-
const
|
|
902
|
-
d[
|
|
931
|
+
const _ = f;
|
|
932
|
+
d[_] = l[_];
|
|
903
933
|
}
|
|
904
934
|
return d;
|
|
905
935
|
});
|
|
906
936
|
return o.themes.value = {
|
|
907
937
|
...o.themes.value,
|
|
908
|
-
...
|
|
938
|
+
...r
|
|
909
939
|
}, H(() => a.one.theme, (l) => {
|
|
910
940
|
l === "system" ? o.change(window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light") : (o.change(l), a.one.suits.suit = u[l] ? l : ""), a.one.theme = l;
|
|
911
941
|
}, { immediate: !0 }), {
|
|
912
|
-
suit:
|
|
942
|
+
suit: i,
|
|
913
943
|
CDN_URL: p
|
|
914
944
|
};
|
|
915
|
-
}),
|
|
945
|
+
}), In = { class: "ms-5" }, An = { class: "pb-2" }, Dn = /* @__PURE__ */ y({
|
|
916
946
|
__name: "VoSettingsDialog",
|
|
917
947
|
props: {
|
|
918
948
|
modelValue: { type: Boolean },
|
|
@@ -920,42 +950,42 @@ const ze = q("settings", () => {
|
|
|
920
950
|
},
|
|
921
951
|
emits: ["update:modelValue"],
|
|
922
952
|
setup(p) {
|
|
923
|
-
const t = W(p, "modelValue"), a =
|
|
953
|
+
const t = W(p, "modelValue"), a = O(), o = Oe(), r = U(), u = C(() => [
|
|
924
954
|
{
|
|
925
955
|
title: "Light",
|
|
926
956
|
subtitle: "A standard light theme.",
|
|
927
957
|
image: o.CDN_URL + "themes/light.png",
|
|
928
|
-
prependIcon: `svg:${
|
|
958
|
+
prependIcon: `svg:${io}`,
|
|
929
959
|
value: "light"
|
|
930
960
|
},
|
|
931
961
|
{
|
|
932
962
|
title: "Dark",
|
|
933
963
|
subtitle: "A standard dark theme.",
|
|
934
964
|
image: o.CDN_URL + "themes/dark.png",
|
|
935
|
-
prependIcon: `svg:${
|
|
965
|
+
prependIcon: `svg:${ro}`,
|
|
936
966
|
value: "dark"
|
|
937
967
|
},
|
|
938
968
|
{
|
|
939
969
|
title: "System",
|
|
940
970
|
subtitle: "A theme based on the system preference.",
|
|
941
971
|
image: o.CDN_URL + "themes/system.png",
|
|
942
|
-
prependIcon: `svg:${
|
|
972
|
+
prependIcon: `svg:${lo}`,
|
|
943
973
|
value: "system"
|
|
944
974
|
},
|
|
945
975
|
{
|
|
946
976
|
title: "High Contrast",
|
|
947
977
|
subtitle: "A theme for high contrast.",
|
|
948
978
|
image: o.CDN_URL + "themes/high-contrast.png",
|
|
949
|
-
prependIcon: `svg:${
|
|
979
|
+
prependIcon: `svg:${uo}`,
|
|
950
980
|
value: "highContrast",
|
|
951
981
|
disabled: !a.isSubscriber
|
|
952
982
|
}
|
|
953
|
-
]),
|
|
983
|
+
]), i = C(() => [
|
|
954
984
|
{
|
|
955
985
|
title: "Blackguard",
|
|
956
986
|
subtitle: "A theme for v3.4 Blackguard.",
|
|
957
987
|
image: o.CDN_URL + "themes/blackguard.png",
|
|
958
|
-
prependIcon: `svg:${
|
|
988
|
+
prependIcon: `svg:${mt}`,
|
|
959
989
|
value: "blackguard",
|
|
960
990
|
disabled: !a.isSubscriber
|
|
961
991
|
},
|
|
@@ -963,7 +993,7 @@ const ze = q("settings", () => {
|
|
|
963
993
|
title: "Polaris",
|
|
964
994
|
subtitle: "A theme for v3.5 Polaris.",
|
|
965
995
|
image: o.CDN_URL + "themes/polaris.png",
|
|
966
|
-
prependIcon: `svg:${
|
|
996
|
+
prependIcon: `svg:${ft}`,
|
|
967
997
|
value: "polaris",
|
|
968
998
|
disabled: !a.isSubscriber
|
|
969
999
|
},
|
|
@@ -971,7 +1001,7 @@ const ze = q("settings", () => {
|
|
|
971
1001
|
title: "Nebula",
|
|
972
1002
|
subtitle: "A theme for v3.6 Nebula.",
|
|
973
1003
|
image: o.CDN_URL + "themes/nebula.png",
|
|
974
|
-
prependIcon: `svg:${
|
|
1004
|
+
prependIcon: `svg:${vt}`,
|
|
975
1005
|
value: "nebula",
|
|
976
1006
|
disabled: !a.isSubscriber
|
|
977
1007
|
},
|
|
@@ -979,31 +1009,31 @@ const ze = q("settings", () => {
|
|
|
979
1009
|
title: "Odyssey",
|
|
980
1010
|
subtitle: "A theme for v3.7 Odyssey.",
|
|
981
1011
|
image: o.CDN_URL + "themes/odyssey.png",
|
|
982
|
-
prependIcon: `svg:${
|
|
1012
|
+
prependIcon: `svg:${gt}`,
|
|
983
1013
|
value: "odyssey",
|
|
984
1014
|
disabled: !a.isSubscriber
|
|
985
1015
|
}
|
|
986
|
-
]), l =
|
|
1016
|
+
]), l = C(() => [
|
|
987
1017
|
{ title: "Standard", items: u.value },
|
|
988
|
-
{ title: "Releases", items:
|
|
989
|
-
]), d =
|
|
990
|
-
get: () => !
|
|
991
|
-
set: (
|
|
992
|
-
|
|
1018
|
+
{ title: "Releases", items: i.value }
|
|
1019
|
+
]), d = C({
|
|
1020
|
+
get: () => !r.one.ads.enabled,
|
|
1021
|
+
set: (g) => {
|
|
1022
|
+
r.one.ads.enabled = !g;
|
|
993
1023
|
}
|
|
994
1024
|
}), f = Ce();
|
|
995
1025
|
H(f, async () => {
|
|
996
1026
|
f.value.one === "settings" && (a.isOpen = !0, await be(), t.value = !0);
|
|
997
1027
|
}, { immediate: !0 });
|
|
998
|
-
function
|
|
999
|
-
|
|
1028
|
+
function _(g, b) {
|
|
1029
|
+
b.disabled || (r.one.theme = b.value, g?.());
|
|
1000
1030
|
}
|
|
1001
|
-
return (
|
|
1002
|
-
const $ = re, L =
|
|
1031
|
+
return (g, b) => {
|
|
1032
|
+
const $ = re, L = Sn, P = Pt, Q = de;
|
|
1003
1033
|
return c(), m(Q, {
|
|
1004
1034
|
modelValue: t.value,
|
|
1005
|
-
"onUpdate:modelValue":
|
|
1006
|
-
"prepend-icon": `svg:${e(
|
|
1035
|
+
"onUpdate:modelValue": b[6] || (b[6] = (x) => t.value = x),
|
|
1036
|
+
"prepend-icon": `svg:${e(co)}`,
|
|
1007
1037
|
title: "Settings"
|
|
1008
1038
|
}, {
|
|
1009
1039
|
default: s(() => [
|
|
@@ -1017,51 +1047,51 @@ const ze = q("settings", () => {
|
|
|
1017
1047
|
text: "Customize your documentation experience with light and dark themes, as well as a combination of both named.",
|
|
1018
1048
|
title: "Theme"
|
|
1019
1049
|
}),
|
|
1020
|
-
n(
|
|
1021
|
-
modelValue: e(
|
|
1022
|
-
"onUpdate:modelValue":
|
|
1050
|
+
n(Ct, {
|
|
1051
|
+
modelValue: e(r).one.theme,
|
|
1052
|
+
"onUpdate:modelValue": b[0] || (b[0] = (x) => e(r).one.theme = x),
|
|
1023
1053
|
mandatory: ""
|
|
1024
1054
|
}, {
|
|
1025
1055
|
default: s(() => [
|
|
1026
1056
|
n(fe, { dense: "" }, {
|
|
1027
1057
|
default: s(() => [
|
|
1028
|
-
(c(!0), k(
|
|
1058
|
+
(c(!0), k(A, null, K(l.value, (x, pe) => (c(), m(le, {
|
|
1029
1059
|
key: pe,
|
|
1030
1060
|
class: "d-flex flex-column ga-3",
|
|
1031
1061
|
cols: "12",
|
|
1032
1062
|
md: "6"
|
|
1033
1063
|
}, {
|
|
1034
1064
|
default: s(() => [
|
|
1035
|
-
n(
|
|
1065
|
+
n(qo, { class: "mb-n4" }, {
|
|
1036
1066
|
default: s(() => [
|
|
1037
1067
|
S(V(x.title), 1)
|
|
1038
1068
|
]),
|
|
1039
1069
|
_: 2
|
|
1040
1070
|
}, 1024),
|
|
1041
|
-
(c(!0), k(
|
|
1042
|
-
key:
|
|
1043
|
-
value:
|
|
1071
|
+
(c(!0), k(A, null, K(x.items, (E) => (c(), m(He, {
|
|
1072
|
+
key: E.value,
|
|
1073
|
+
value: E.value
|
|
1044
1074
|
}, {
|
|
1045
|
-
default: s(({ toggle:
|
|
1075
|
+
default: s(({ toggle: Zt, isSelected: et }) => [
|
|
1046
1076
|
n(ve, null, {
|
|
1047
|
-
default: s(({ props:
|
|
1077
|
+
default: s(({ props: Nt, isHovering: Ht }) => [
|
|
1048
1078
|
n(z, R({
|
|
1049
1079
|
color: et ? "primary" : "surface-variant",
|
|
1050
1080
|
height: "76",
|
|
1051
|
-
image:
|
|
1052
|
-
"prepend-icon":
|
|
1053
|
-
readonly:
|
|
1054
|
-
ripple: !
|
|
1055
|
-
subtitle:
|
|
1056
|
-
title:
|
|
1081
|
+
image: E.image,
|
|
1082
|
+
"prepend-icon": E.prependIcon,
|
|
1083
|
+
readonly: E.disabled,
|
|
1084
|
+
ripple: !E.disabled,
|
|
1085
|
+
subtitle: E.disabled ? "🔓 Unlock with Vuetify One" : E.subtitle,
|
|
1086
|
+
title: E.title,
|
|
1057
1087
|
variant: "tonal"
|
|
1058
|
-
}, { ref_for: !0 },
|
|
1059
|
-
onClick: (
|
|
1088
|
+
}, { ref_for: !0 }, Nt, {
|
|
1089
|
+
onClick: (Ea) => _(Zt, E)
|
|
1060
1090
|
}), {
|
|
1061
1091
|
image: s(() => [
|
|
1062
|
-
n(
|
|
1092
|
+
n(ae, {
|
|
1063
1093
|
style: it({
|
|
1064
|
-
filter: et ||
|
|
1094
|
+
filter: et || Ht ? "none" : "grayscale(100%)"
|
|
1065
1095
|
})
|
|
1066
1096
|
}, null, 8, ["style"])
|
|
1067
1097
|
]),
|
|
@@ -1082,7 +1112,7 @@ const ze = q("settings", () => {
|
|
|
1082
1112
|
]),
|
|
1083
1113
|
_: 1
|
|
1084
1114
|
}, 8, ["modelValue"]),
|
|
1085
|
-
e(a).isSubscriber ? (c(), k(
|
|
1115
|
+
e(a).isSubscriber ? (c(), k(A, { key: 0 }, [
|
|
1086
1116
|
n(N, { class: "mt-6 mb-4" }),
|
|
1087
1117
|
n(L)
|
|
1088
1118
|
], 64)) : h("", !0)
|
|
@@ -1096,21 +1126,21 @@ const ze = q("settings", () => {
|
|
|
1096
1126
|
text: "These options change your browsing experience within Vuetify properties",
|
|
1097
1127
|
title: "Experience"
|
|
1098
1128
|
}),
|
|
1099
|
-
e(a).isSubscriber ? (c(), m(
|
|
1129
|
+
e(a).isSubscriber ? (c(), m(P, {
|
|
1100
1130
|
key: 0,
|
|
1101
1131
|
modelValue: d.value,
|
|
1102
|
-
"onUpdate:modelValue":
|
|
1132
|
+
"onUpdate:modelValue": b[1] || (b[1] = (x) => d.value = x),
|
|
1103
1133
|
class: "mb-2",
|
|
1104
1134
|
label: "Disable Ads",
|
|
1105
1135
|
messages: "Disable traditional advertisements on all documentation pages."
|
|
1106
1136
|
}, null, 8, ["modelValue"])) : h("", !0),
|
|
1107
1137
|
n(Le, null, {
|
|
1108
1138
|
default: s(() => [
|
|
1109
|
-
Z(
|
|
1110
|
-
|
|
1111
|
-
n(
|
|
1112
|
-
modelValue: e(
|
|
1113
|
-
"onUpdate:modelValue":
|
|
1139
|
+
Z(v("div", In, [
|
|
1140
|
+
v("div", An, [
|
|
1141
|
+
n(P, {
|
|
1142
|
+
modelValue: e(r).one.ads.house,
|
|
1143
|
+
"onUpdate:modelValue": b[2] || (b[2] = (x) => e(r).one.ads.house = x),
|
|
1114
1144
|
label: "Show House Ads",
|
|
1115
1145
|
messages: "These advertisements are for Vuetify products and services only."
|
|
1116
1146
|
}, null, 8, ["modelValue"])
|
|
@@ -1121,9 +1151,9 @@ const ze = q("settings", () => {
|
|
|
1121
1151
|
]),
|
|
1122
1152
|
_: 1
|
|
1123
1153
|
}),
|
|
1124
|
-
n(
|
|
1125
|
-
modelValue: e(
|
|
1126
|
-
"onUpdate:modelValue":
|
|
1154
|
+
n(P, {
|
|
1155
|
+
modelValue: e(r).one.quicklinks,
|
|
1156
|
+
"onUpdate:modelValue": b[3] || (b[3] = (x) => e(r).one.quicklinks = x),
|
|
1127
1157
|
label: "Show Pinned Ecosystem Links",
|
|
1128
1158
|
messages: "Display your pinned ecosystem links below your avatar in the user menu."
|
|
1129
1159
|
}, null, 8, ["modelValue"])
|
|
@@ -1140,16 +1170,16 @@ const ze = q("settings", () => {
|
|
|
1140
1170
|
text: "Vuetify will communicate with you through banners and notifications. You can disable these features here or reset your local notification cache.",
|
|
1141
1171
|
title: "Communication"
|
|
1142
1172
|
}),
|
|
1143
|
-
n(
|
|
1144
|
-
modelValue: e(
|
|
1145
|
-
"onUpdate:modelValue":
|
|
1173
|
+
n(P, {
|
|
1174
|
+
modelValue: e(r).one.notifications.enabled,
|
|
1175
|
+
"onUpdate:modelValue": b[4] || (b[4] = (x) => e(r).one.notifications.enabled = x),
|
|
1146
1176
|
class: "mb-2",
|
|
1147
1177
|
label: "Enable Notifications",
|
|
1148
1178
|
messages: "Notifications are short form messages that provide information about new releases, updates, and other important information."
|
|
1149
1179
|
}, null, 8, ["modelValue"]),
|
|
1150
|
-
n(
|
|
1151
|
-
modelValue: e(
|
|
1152
|
-
"onUpdate:modelValue":
|
|
1180
|
+
n(P, {
|
|
1181
|
+
modelValue: e(r).one.banners.enabled,
|
|
1182
|
+
"onUpdate:modelValue": b[5] || (b[5] = (x) => e(r).one.banners.enabled = x),
|
|
1153
1183
|
label: "Enable Banners",
|
|
1154
1184
|
messages: "Banners are located at the top of the screen and provide a callout for important information."
|
|
1155
1185
|
}, null, 8, ["modelValue"])
|
|
@@ -1167,31 +1197,31 @@ const ze = q("settings", () => {
|
|
|
1167
1197
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
1168
1198
|
};
|
|
1169
1199
|
}
|
|
1170
|
-
}),
|
|
1200
|
+
}), Tn = /* @__PURE__ */ y({
|
|
1171
1201
|
__name: "VoSettingsListItem",
|
|
1172
1202
|
setup(p) {
|
|
1173
1203
|
const t = M(!1);
|
|
1174
1204
|
return (a, o) => {
|
|
1175
|
-
const
|
|
1205
|
+
const r = Dn, u = G;
|
|
1176
1206
|
return c(), m(u, {
|
|
1177
1207
|
active: e(t),
|
|
1178
1208
|
link: "",
|
|
1179
|
-
"prepend-icon": `svg:${e(
|
|
1209
|
+
"prepend-icon": `svg:${e(po)}`,
|
|
1180
1210
|
rounded: "lg",
|
|
1181
1211
|
title: "Settings"
|
|
1182
1212
|
}, {
|
|
1183
1213
|
default: s(() => [
|
|
1184
|
-
n(
|
|
1214
|
+
n(r, {
|
|
1185
1215
|
modelValue: e(t),
|
|
1186
|
-
"onUpdate:modelValue": o[0] || (o[0] = (
|
|
1216
|
+
"onUpdate:modelValue": o[0] || (o[0] = (i) => j(t) ? t.value = i : null)
|
|
1187
1217
|
}, null, 8, ["modelValue"])
|
|
1188
1218
|
]),
|
|
1189
1219
|
_: 1
|
|
1190
1220
|
}, 8, ["active", "prepend-icon"]);
|
|
1191
1221
|
};
|
|
1192
1222
|
}
|
|
1193
|
-
}),
|
|
1194
|
-
const p = Y(), t = F(null), a = M(!1), o =
|
|
1223
|
+
}), ze = q("api-key", () => {
|
|
1224
|
+
const p = Y(), t = F(null), a = M(!1), o = C(() => t.value?.apiKey || ""), r = C(() => {
|
|
1195
1225
|
if (!o.value)
|
|
1196
1226
|
return "";
|
|
1197
1227
|
const l = o.value;
|
|
@@ -1202,7 +1232,7 @@ const ze = q("settings", () => {
|
|
|
1202
1232
|
const d = l ? "regenerate" : "generate", f = await p[l ? "post" : "fetch"](`/one/mcp/${d}`);
|
|
1203
1233
|
return t.value = f, f;
|
|
1204
1234
|
}
|
|
1205
|
-
async function
|
|
1235
|
+
async function i() {
|
|
1206
1236
|
const l = await p.fetch("/one/mcp/getToken");
|
|
1207
1237
|
return l.apiKey && (t.value = l), l;
|
|
1208
1238
|
}
|
|
@@ -1210,19 +1240,19 @@ const ze = q("settings", () => {
|
|
|
1210
1240
|
accessToken: Se(t),
|
|
1211
1241
|
key: Se(o),
|
|
1212
1242
|
regenerated: Se(a),
|
|
1213
|
-
trim: Se(
|
|
1243
|
+
trim: Se(r),
|
|
1214
1244
|
generate: u,
|
|
1215
|
-
fetch:
|
|
1245
|
+
fetch: i
|
|
1216
1246
|
};
|
|
1217
1247
|
});
|
|
1218
|
-
function
|
|
1248
|
+
function Be(p = 1e3) {
|
|
1219
1249
|
const t = M(!1);
|
|
1220
1250
|
async function a(o) {
|
|
1221
1251
|
await navigator.clipboard.writeText(o), t.value = !0, setTimeout(() => t.value = !1, p);
|
|
1222
1252
|
}
|
|
1223
1253
|
return { copied: t, copy: a };
|
|
1224
1254
|
}
|
|
1225
|
-
const
|
|
1255
|
+
const Un = /* @__PURE__ */ y({
|
|
1226
1256
|
__name: "VoMcpCopyDialog",
|
|
1227
1257
|
props: {
|
|
1228
1258
|
modelValue: { type: Boolean },
|
|
@@ -1230,17 +1260,17 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1230
1260
|
},
|
|
1231
1261
|
emits: ["update:modelValue"],
|
|
1232
1262
|
setup(p) {
|
|
1233
|
-
const t =
|
|
1234
|
-
return (u,
|
|
1263
|
+
const t = ze(), { copy: a, copied: o } = Be(), r = W(p, "modelValue");
|
|
1264
|
+
return (u, i) => {
|
|
1235
1265
|
const l = lt("v-icon-btn");
|
|
1236
1266
|
return c(), m(Ve, {
|
|
1237
|
-
modelValue:
|
|
1238
|
-
"onUpdate:modelValue":
|
|
1267
|
+
modelValue: r.value,
|
|
1268
|
+
"onUpdate:modelValue": i[2] || (i[2] = (d) => r.value = d),
|
|
1239
1269
|
"max-width": "500"
|
|
1240
1270
|
}, {
|
|
1241
1271
|
default: s(({ isActive: d }) => [
|
|
1242
1272
|
n(z, {
|
|
1243
|
-
"prepend-icon": `svg:${e(
|
|
1273
|
+
"prepend-icon": `svg:${e(mo)}`,
|
|
1244
1274
|
rounded: "lg",
|
|
1245
1275
|
title: "Save your Key"
|
|
1246
1276
|
}, {
|
|
@@ -1254,25 +1284,25 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1254
1284
|
n(N),
|
|
1255
1285
|
n(J, null, {
|
|
1256
1286
|
default: s(() => [
|
|
1257
|
-
|
|
1287
|
+
i[4] || (i[4] = v("p", { class: "mb-4" }, [
|
|
1258
1288
|
S(" Please save your secret key in a safe place since "),
|
|
1259
|
-
|
|
1289
|
+
v("strong", null, "you won't be able"),
|
|
1260
1290
|
S(" to view it again. Keep it secure, as anyone with your API key can make requests on your behalf. If you do lose it, you'll need to generate a new one. ")
|
|
1261
1291
|
], -1)),
|
|
1262
|
-
e(t).key ? (c(), m(
|
|
1292
|
+
e(t).key ? (c(), m(kt, {
|
|
1263
1293
|
key: 0,
|
|
1264
1294
|
color: "success",
|
|
1265
1295
|
"model-value": e(t).key,
|
|
1266
1296
|
variant: "outlined"
|
|
1267
1297
|
}, {
|
|
1268
1298
|
"append-inner": s(() => [
|
|
1269
|
-
n(
|
|
1299
|
+
n(D, {
|
|
1270
1300
|
class: "text-none",
|
|
1271
1301
|
color: "success",
|
|
1272
1302
|
"prepend-icon": e(o) ? "mdi-check" : "mdi-content-copy",
|
|
1273
1303
|
size: "small",
|
|
1274
1304
|
variant: "flat",
|
|
1275
|
-
onClick:
|
|
1305
|
+
onClick: i[0] || (i[0] = (f) => e(a)(e(t).key))
|
|
1276
1306
|
}, {
|
|
1277
1307
|
prepend: s(() => [
|
|
1278
1308
|
n(xe, { "hide-on-leave": "" }, {
|
|
@@ -1285,7 +1315,7 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1285
1315
|
})
|
|
1286
1316
|
]),
|
|
1287
1317
|
default: s(() => [
|
|
1288
|
-
|
|
1318
|
+
i[3] || (i[3] = S(" Copy ", -1))
|
|
1289
1319
|
]),
|
|
1290
1320
|
_: 1
|
|
1291
1321
|
}, 8, ["prepend-icon"])
|
|
@@ -1295,16 +1325,16 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1295
1325
|
]),
|
|
1296
1326
|
_: 1
|
|
1297
1327
|
}),
|
|
1298
|
-
n(
|
|
1328
|
+
n(ht, null, {
|
|
1299
1329
|
default: s(() => [
|
|
1300
|
-
n(
|
|
1301
|
-
n(
|
|
1330
|
+
n(bt),
|
|
1331
|
+
n(D, {
|
|
1302
1332
|
class: "text-none",
|
|
1303
1333
|
color: "surface-variant",
|
|
1304
1334
|
size: "small",
|
|
1305
1335
|
text: "Done",
|
|
1306
1336
|
variant: "flat",
|
|
1307
|
-
onClick:
|
|
1337
|
+
onClick: i[1] || (i[1] = (f) => r.value = !1)
|
|
1308
1338
|
})
|
|
1309
1339
|
]),
|
|
1310
1340
|
_: 1
|
|
@@ -1317,18 +1347,18 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1317
1347
|
}, 8, ["modelValue"]);
|
|
1318
1348
|
};
|
|
1319
1349
|
}
|
|
1320
|
-
}),
|
|
1350
|
+
}), Pn = { class: "d-flex align-center justify-end" }, On = { class: "text-end" }, zn = /* @__PURE__ */ y({
|
|
1321
1351
|
__name: "VoMcpTokenTable",
|
|
1322
1352
|
setup(p) {
|
|
1323
|
-
const t =
|
|
1324
|
-
return (u,
|
|
1353
|
+
const t = ze(), { copy: a, copied: o } = Be(2e3), r = me();
|
|
1354
|
+
return (u, i) => (c(), m(en, { class: "rounded border mt-4" }, {
|
|
1325
1355
|
default: s(() => [
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1356
|
+
v("thead", null, [
|
|
1357
|
+
v("tr", null, [
|
|
1358
|
+
i[2] || (i[2] = v("th", { class: "ps-6" }, "Secret Key", -1)),
|
|
1359
|
+
i[3] || (i[3] = v("th", null, "Created", -1)),
|
|
1360
|
+
v("th", Pn, [
|
|
1361
|
+
i[1] || (i[1] = S(" Last Used ", -1)),
|
|
1332
1362
|
Z(n(I, {
|
|
1333
1363
|
end: "",
|
|
1334
1364
|
icon: "$info",
|
|
@@ -1339,21 +1369,21 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1339
1369
|
])
|
|
1340
1370
|
])
|
|
1341
1371
|
]),
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1372
|
+
v("tbody", null, [
|
|
1373
|
+
v("tr", null, [
|
|
1374
|
+
v("td", null, [
|
|
1345
1375
|
n(ve, null, {
|
|
1346
1376
|
default: s(({ isHovering: l, props: d }) => [
|
|
1347
|
-
n(
|
|
1377
|
+
n(D, R(d, {
|
|
1348
1378
|
color: l || e(o) ? "primary" : void 0,
|
|
1349
1379
|
slim: "",
|
|
1350
1380
|
text: e(t).key ? e(t).trim : "",
|
|
1351
1381
|
variant: l || e(o) ? "tonal" : "text",
|
|
1352
|
-
onClick:
|
|
1382
|
+
onClick: i[0] || (i[0] = (f) => e(a)(e(t).key))
|
|
1353
1383
|
}), {
|
|
1354
1384
|
append: s(() => [
|
|
1355
1385
|
n(I, {
|
|
1356
|
-
icon: e(o) ? "$success" : `svg:${e(
|
|
1386
|
+
icon: e(o) ? "$success" : `svg:${e(Re)}`,
|
|
1357
1387
|
opacity: l || e(o) ? 1 : 0
|
|
1358
1388
|
}, null, 8, ["icon", "opacity"])
|
|
1359
1389
|
]),
|
|
@@ -1363,54 +1393,54 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1363
1393
|
_: 1
|
|
1364
1394
|
})
|
|
1365
1395
|
]),
|
|
1366
|
-
|
|
1367
|
-
|
|
1396
|
+
v("td", null, V(e(t).accessToken ? e(r).format(e(t).accessToken.createdAt, "fullDate") : ""), 1),
|
|
1397
|
+
v("td", On, V(e(t).accessToken ? e(r).format(e(t).accessToken.updatedAt, "fullDate") : ""), 1)
|
|
1368
1398
|
])
|
|
1369
1399
|
])
|
|
1370
1400
|
]),
|
|
1371
1401
|
_: 1
|
|
1372
1402
|
}));
|
|
1373
1403
|
}
|
|
1374
|
-
}),
|
|
1404
|
+
}), Bn = { class: "my-4" }, En = { class: "bg-surface-variant rounded pa-2 d-block" }, Fn = /* @__PURE__ */ y({
|
|
1375
1405
|
__name: "VoMcpHowTo",
|
|
1376
1406
|
setup(p) {
|
|
1377
|
-
const t =
|
|
1378
|
-
return (
|
|
1407
|
+
const t = ze(), { copy: a, copied: o } = Be(), r = C(() => `npx -y @vuetify/mcp config --api-key="${t.key || "YOUR_KEY"}"`), u = C(() => t.key ? `npx -y @vuetify/mcp config --api-key="${t.trim}"` : r.value);
|
|
1408
|
+
return (i, l) => (c(), m(on, {
|
|
1379
1409
|
"bg-color": "surface-variant",
|
|
1380
1410
|
class: "mb-4",
|
|
1381
1411
|
variant: "accordion"
|
|
1382
1412
|
}, {
|
|
1383
1413
|
default: s(() => [
|
|
1384
|
-
n(
|
|
1414
|
+
n(nn, null, {
|
|
1385
1415
|
title: s(() => [
|
|
1386
1416
|
n(I, {
|
|
1387
|
-
icon: `svg:${e(
|
|
1417
|
+
icon: `svg:${e(_t)}`,
|
|
1388
1418
|
opacity: "0.6",
|
|
1389
1419
|
start: ""
|
|
1390
1420
|
}, null, 8, ["icon"]),
|
|
1391
1421
|
l[1] || (l[1] = S(" How to Use Your API Key with Vuetify MCP ", -1))
|
|
1392
1422
|
]),
|
|
1393
1423
|
default: s(() => [
|
|
1394
|
-
n(
|
|
1424
|
+
n(sn, { class: "bg-surface-light rounded-b" }, {
|
|
1395
1425
|
default: s(() => [
|
|
1396
|
-
l[2] || (l[2] =
|
|
1397
|
-
l[3] || (l[3] =
|
|
1398
|
-
|
|
1399
|
-
|
|
1426
|
+
l[2] || (l[2] = v("strong", null, "Quick Setup", -1)),
|
|
1427
|
+
l[3] || (l[3] = v("p", { class: "mb-4 mt-2" }, " Run the following command to configure your favorite IDE or AI agent: ", -1)),
|
|
1428
|
+
v("div", Bn, [
|
|
1429
|
+
v("code", En, [
|
|
1400
1430
|
S(V(e(u)) + " ", 1),
|
|
1401
1431
|
n(I, {
|
|
1402
1432
|
class: "ms-2",
|
|
1403
1433
|
end: "",
|
|
1404
|
-
icon: e(o) ? "$success" : `svg:${e(
|
|
1434
|
+
icon: e(o) ? "$success" : `svg:${e(Re)}`,
|
|
1405
1435
|
size: "1em",
|
|
1406
|
-
onClick: l[0] || (l[0] = (d) => e(a)(e(
|
|
1436
|
+
onClick: l[0] || (l[0] = (d) => e(a)(e(r)))
|
|
1407
1437
|
}, null, 8, ["icon"])
|
|
1408
1438
|
])
|
|
1409
1439
|
]),
|
|
1410
|
-
l[4] || (l[4] =
|
|
1411
|
-
l[5] || (l[5] =
|
|
1440
|
+
l[4] || (l[4] = v("p", { class: "mb-2" }, "Follow the on-screen prompts to complete the setup.", -1)),
|
|
1441
|
+
l[5] || (l[5] = v("p", null, [
|
|
1412
1442
|
S(" For hosted server setup, manual configuration, or troubleshooting, see the "),
|
|
1413
|
-
|
|
1443
|
+
v("a", {
|
|
1414
1444
|
class: "text-primary",
|
|
1415
1445
|
href: "https://github.com/vuetifyjs/mcp#authentication",
|
|
1416
1446
|
rel: "noopener",
|
|
@@ -1428,7 +1458,7 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1428
1458
|
_: 1
|
|
1429
1459
|
}));
|
|
1430
1460
|
}
|
|
1431
|
-
}),
|
|
1461
|
+
}), Zn = { class: "px-3 py-3" }, Nn = /* @__PURE__ */ y({
|
|
1432
1462
|
__name: "VoMcpDialog",
|
|
1433
1463
|
props: {
|
|
1434
1464
|
modelValue: { type: Boolean },
|
|
@@ -1436,19 +1466,19 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1436
1466
|
},
|
|
1437
1467
|
emits: ["update:modelValue"],
|
|
1438
1468
|
setup(p) {
|
|
1439
|
-
const t =
|
|
1440
|
-
async function u(
|
|
1441
|
-
await t.generate(
|
|
1469
|
+
const t = ze(), a = U(), o = M(!1), r = W(p, "modelValue");
|
|
1470
|
+
async function u(i = !1) {
|
|
1471
|
+
await t.generate(i), o.value = !0;
|
|
1442
1472
|
}
|
|
1443
|
-
return H(
|
|
1444
|
-
|
|
1445
|
-
}), (
|
|
1446
|
-
const d = re, f =
|
|
1447
|
-
return c(), m(
|
|
1448
|
-
modelValue:
|
|
1449
|
-
"onUpdate:modelValue": l[3] || (l[3] = ($) =>
|
|
1473
|
+
return H(r, async (i) => {
|
|
1474
|
+
i && (a.ecosystem.mcp.seen = !0, await t.fetch());
|
|
1475
|
+
}), (i, l) => {
|
|
1476
|
+
const d = re, f = Fn, _ = zn, g = Un, b = de;
|
|
1477
|
+
return c(), m(b, {
|
|
1478
|
+
modelValue: r.value,
|
|
1479
|
+
"onUpdate:modelValue": l[3] || (l[3] = ($) => r.value = $),
|
|
1450
1480
|
height: "auto",
|
|
1451
|
-
"prepend-icon": `svg:${e(
|
|
1481
|
+
"prepend-icon": `svg:${e(fo)}`,
|
|
1452
1482
|
title: "API Key"
|
|
1453
1483
|
}, {
|
|
1454
1484
|
default: s(() => [
|
|
@@ -1456,14 +1486,14 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1456
1486
|
default: s(() => [
|
|
1457
1487
|
n(ce, null, {
|
|
1458
1488
|
default: s(() => [
|
|
1459
|
-
|
|
1489
|
+
v("div", Zn, [
|
|
1460
1490
|
n(J, null, {
|
|
1461
1491
|
default: s(() => [
|
|
1462
1492
|
n(d, {
|
|
1463
1493
|
text: "As a subscriber of Vuetify One, you have access to create a personal MCP API key.",
|
|
1464
1494
|
title: "MCP Access Token"
|
|
1465
1495
|
}),
|
|
1466
|
-
l[4] || (l[4] =
|
|
1496
|
+
l[4] || (l[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)),
|
|
1467
1497
|
n(f),
|
|
1468
1498
|
!e(t).key || !e(t).regenerated ? (c(), m(fe, {
|
|
1469
1499
|
key: 0,
|
|
@@ -1473,17 +1503,17 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1473
1503
|
default: s(() => [
|
|
1474
1504
|
n(le, { cols: "auto" }, {
|
|
1475
1505
|
default: s(() => [
|
|
1476
|
-
e(t).key ? e(t).regenerated ? h("", !0) : (c(), m(
|
|
1506
|
+
e(t).key ? e(t).regenerated ? h("", !0) : (c(), m(D, {
|
|
1477
1507
|
key: 1,
|
|
1478
1508
|
color: "success",
|
|
1479
|
-
"prepend-icon": `svg:${e(
|
|
1509
|
+
"prepend-icon": `svg:${e(go)}`,
|
|
1480
1510
|
text: "Regenerate API Key",
|
|
1481
1511
|
variant: "flat",
|
|
1482
1512
|
onClick: l[1] || (l[1] = ($) => u(!0))
|
|
1483
|
-
}, null, 8, ["prepend-icon"])) : (c(), m(
|
|
1513
|
+
}, null, 8, ["prepend-icon"])) : (c(), m(D, {
|
|
1484
1514
|
key: 0,
|
|
1485
1515
|
color: "success",
|
|
1486
|
-
"prepend-icon": `svg:${e(
|
|
1516
|
+
"prepend-icon": `svg:${e(vo)}`,
|
|
1487
1517
|
text: "Generate API Key",
|
|
1488
1518
|
variant: "flat",
|
|
1489
1519
|
onClick: l[0] || (l[0] = ($) => u(!1))
|
|
@@ -1494,9 +1524,9 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1494
1524
|
]),
|
|
1495
1525
|
_: 1
|
|
1496
1526
|
})) : h("", !0),
|
|
1497
|
-
e(t).key ? (c(), k(
|
|
1498
|
-
n(
|
|
1499
|
-
n(
|
|
1527
|
+
e(t).key ? (c(), k(A, { key: 1 }, [
|
|
1528
|
+
n(_),
|
|
1529
|
+
n(g, {
|
|
1500
1530
|
modelValue: e(o),
|
|
1501
1531
|
"onUpdate:modelValue": l[2] || (l[2] = ($) => j(o) ? o.value = $ : null)
|
|
1502
1532
|
}, null, 8, ["modelValue"])
|
|
@@ -1516,23 +1546,23 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1516
1546
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
1517
1547
|
};
|
|
1518
1548
|
}
|
|
1519
|
-
}),
|
|
1549
|
+
}), Hn = /* @__PURE__ */ y({
|
|
1520
1550
|
__name: "VoMcpListItem",
|
|
1521
1551
|
setup(p) {
|
|
1522
|
-
const t =
|
|
1523
|
-
return (o,
|
|
1524
|
-
const u =
|
|
1525
|
-
return c(), m(
|
|
1552
|
+
const t = U(), a = M(!1);
|
|
1553
|
+
return (o, r) => {
|
|
1554
|
+
const u = Nn, i = G;
|
|
1555
|
+
return c(), m(i, {
|
|
1526
1556
|
active: e(a),
|
|
1527
1557
|
link: "",
|
|
1528
|
-
"prepend-icon": `svg:${e(
|
|
1558
|
+
"prepend-icon": `svg:${e(_o)}`,
|
|
1529
1559
|
rounded: "lg",
|
|
1530
1560
|
title: "MCP API Key"
|
|
1531
|
-
},
|
|
1561
|
+
}, T({
|
|
1532
1562
|
default: s(() => [
|
|
1533
1563
|
n(u, {
|
|
1534
1564
|
modelValue: e(a),
|
|
1535
|
-
"onUpdate:modelValue":
|
|
1565
|
+
"onUpdate:modelValue": r[0] || (r[0] = (l) => j(a) ? a.value = l : null)
|
|
1536
1566
|
}, null, 8, ["modelValue"])
|
|
1537
1567
|
]),
|
|
1538
1568
|
_: 2
|
|
@@ -1545,7 +1575,7 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1545
1575
|
size: "x-small",
|
|
1546
1576
|
variant: "flat"
|
|
1547
1577
|
}, {
|
|
1548
|
-
default: s(() => [...
|
|
1578
|
+
default: s(() => [...r[1] || (r[1] = [
|
|
1549
1579
|
S("NEW", -1)
|
|
1550
1580
|
])]),
|
|
1551
1581
|
_: 1
|
|
@@ -1556,11 +1586,11 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1556
1586
|
]), 1032, ["active", "prepend-icon"]);
|
|
1557
1587
|
};
|
|
1558
1588
|
}
|
|
1559
|
-
}),
|
|
1589
|
+
}), jn = { class: "text-caption" }, Rn = /* @__PURE__ */ y({
|
|
1560
1590
|
__name: "VoSubscriptionInvoices",
|
|
1561
1591
|
setup(p) {
|
|
1562
|
-
const t = me(), a =
|
|
1563
|
-
return (o,
|
|
1592
|
+
const t = me(), a = O();
|
|
1593
|
+
return (o, r) => {
|
|
1564
1594
|
const u = re;
|
|
1565
1595
|
return c(), m(fe, null, {
|
|
1566
1596
|
default: s(() => [
|
|
@@ -1575,34 +1605,34 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1575
1605
|
rounded: "lg"
|
|
1576
1606
|
}, {
|
|
1577
1607
|
default: s(() => [
|
|
1578
|
-
n(
|
|
1608
|
+
n(Vt, {
|
|
1579
1609
|
"fixed-header": "",
|
|
1580
1610
|
height: "450",
|
|
1581
1611
|
items: e(a).invoices,
|
|
1582
1612
|
loading: e(a).isLoading,
|
|
1583
1613
|
sticky: ""
|
|
1584
1614
|
}, {
|
|
1585
|
-
"item.date": s(({ item:
|
|
1586
|
-
|
|
1615
|
+
"item.date": s(({ item: i }) => [
|
|
1616
|
+
v("div", jn, V(e(t).format(new Date(i.date * 1e3), "fullDateWithWeekday")), 1)
|
|
1587
1617
|
]),
|
|
1588
|
-
"item.amount": s(({ item:
|
|
1589
|
-
S(" $" + V(
|
|
1618
|
+
"item.amount": s(({ item: i }) => [
|
|
1619
|
+
S(" $" + V(i.amount / 100), 1)
|
|
1590
1620
|
]),
|
|
1591
|
-
"item.status": s(({ item:
|
|
1621
|
+
"item.status": s(({ item: i }) => [
|
|
1592
1622
|
n(te, {
|
|
1593
1623
|
border: "success sm",
|
|
1594
1624
|
class: "text-capitalize",
|
|
1595
1625
|
color: "success",
|
|
1596
1626
|
label: "",
|
|
1597
1627
|
size: "small",
|
|
1598
|
-
text:
|
|
1628
|
+
text: i.status,
|
|
1599
1629
|
variant: "tonal"
|
|
1600
1630
|
}, null, 8, ["text"])
|
|
1601
1631
|
]),
|
|
1602
|
-
"item.pdf": s(({ item:
|
|
1603
|
-
n(
|
|
1604
|
-
href:
|
|
1605
|
-
icon: `svg:${e(
|
|
1632
|
+
"item.pdf": s(({ item: i }) => [
|
|
1633
|
+
n(D, {
|
|
1634
|
+
href: i.pdf,
|
|
1635
|
+
icon: `svg:${e(_t)}`,
|
|
1606
1636
|
size: "small",
|
|
1607
1637
|
target: "_blank",
|
|
1608
1638
|
variant: "text"
|
|
@@ -1621,16 +1651,16 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1621
1651
|
});
|
|
1622
1652
|
};
|
|
1623
1653
|
}
|
|
1624
|
-
}),
|
|
1654
|
+
}), qn = { class: "d-flex align-center" }, Gn = ["textContent"], Wn = { class: "me-1" }, Kn = { class: "text-medium-emphasis text-caption" }, Yn = { class: "d-flex align-center" }, Qn = { class: "d-flex align-start justify-space-between text-caption py-2" }, Xn = { class: "font-weight-bold" }, Jn = { class: "font-weight-bold" }, es = /* @__PURE__ */ y({
|
|
1625
1655
|
__name: "VoSubscriptionStatus",
|
|
1626
1656
|
emits: ["change:subscription"],
|
|
1627
1657
|
setup(p, { emit: t }) {
|
|
1628
|
-
const a = me(), o =
|
|
1658
|
+
const a = me(), o = O(), r = t, u = C(() => {
|
|
1629
1659
|
if (!o.info) return;
|
|
1630
1660
|
const l = new Date(o.info.currentPeriodEnd * 1e3);
|
|
1631
1661
|
return a.format(l, "keyboardDate");
|
|
1632
1662
|
});
|
|
1633
|
-
async function
|
|
1663
|
+
async function i() {
|
|
1634
1664
|
!o.interval || !o.subscriptionType || (o.isLoading = !0, o.subscribe(o.interval, o.subscriptionType));
|
|
1635
1665
|
}
|
|
1636
1666
|
return (l, d) => {
|
|
@@ -1645,7 +1675,7 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1645
1675
|
"prepend-icon": "$vuetify",
|
|
1646
1676
|
rounded: "lg",
|
|
1647
1677
|
title: "Subscription Status"
|
|
1648
|
-
},
|
|
1678
|
+
}, T({
|
|
1649
1679
|
prepend: s(() => [
|
|
1650
1680
|
n(I, {
|
|
1651
1681
|
color: e(o).isSubscriber ? "success" : void 0
|
|
@@ -1660,12 +1690,12 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1660
1690
|
"prepend-icon": "$success",
|
|
1661
1691
|
text: "Activate",
|
|
1662
1692
|
variant: "outlined",
|
|
1663
|
-
onClick:
|
|
1693
|
+
onClick: i
|
|
1664
1694
|
}, null, 8, ["loading"])) : h("", !0),
|
|
1665
1695
|
e(o).hasBilling ? (c(), m(f, {
|
|
1666
1696
|
key: 1,
|
|
1667
1697
|
loading: e(o).isLoading,
|
|
1668
|
-
"prepend-icon": `svg:${e(
|
|
1698
|
+
"prepend-icon": `svg:${e(yo)}`,
|
|
1669
1699
|
text: "Billing",
|
|
1670
1700
|
onClick: e(o).manage
|
|
1671
1701
|
}, null, 8, ["loading", "prepend-icon", "onClick"])) : h("", !0)
|
|
@@ -1675,23 +1705,23 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1675
1705
|
e(o).info ? {
|
|
1676
1706
|
name: "subtitle",
|
|
1677
1707
|
fn: s(() => [
|
|
1678
|
-
|
|
1679
|
-
|
|
1708
|
+
v("div", qn, [
|
|
1709
|
+
v("strong", {
|
|
1680
1710
|
key: "status",
|
|
1681
1711
|
class: "text-capitalize hidden-sm-and-down",
|
|
1682
1712
|
textContent: V(e(o).info.status)
|
|
1683
|
-
}, null, 8,
|
|
1684
|
-
e(o).info.items.length > 0 ? (c(), k(
|
|
1685
|
-
d[1] || (d[1] =
|
|
1686
|
-
|
|
1713
|
+
}, null, 8, Gn),
|
|
1714
|
+
e(o).info.items.length > 0 ? (c(), k(A, { key: 0 }, [
|
|
1715
|
+
d[1] || (d[1] = v("span", { class: "mx-1 hidden-sm-and-down" }, "—", -1)),
|
|
1716
|
+
v("span", Wn, [
|
|
1687
1717
|
S(" $" + V(e(o).info.items[0].plan.amount / 100), 1),
|
|
1688
|
-
|
|
1718
|
+
v("span", Kn, "/" + V(e(o).interval), 1)
|
|
1689
1719
|
]),
|
|
1690
1720
|
n(f, {
|
|
1691
1721
|
size: "x-small",
|
|
1692
1722
|
text: "(Change Subscription)",
|
|
1693
1723
|
variant: "text",
|
|
1694
|
-
onClick: d[0] || (d[0] = (
|
|
1724
|
+
onClick: d[0] || (d[0] = (_) => r("change:subscription"))
|
|
1695
1725
|
})
|
|
1696
1726
|
], 64)) : h("", !0)
|
|
1697
1727
|
])
|
|
@@ -1700,13 +1730,13 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1700
1730
|
} : {
|
|
1701
1731
|
name: "subtitle",
|
|
1702
1732
|
fn: s(() => [
|
|
1703
|
-
|
|
1733
|
+
v("div", Yn, [
|
|
1704
1734
|
n(he, {
|
|
1705
1735
|
height: "16",
|
|
1706
1736
|
type: "ossein",
|
|
1707
1737
|
width: "40"
|
|
1708
1738
|
}),
|
|
1709
|
-
d[2] || (d[2] =
|
|
1739
|
+
d[2] || (d[2] = v("span", { class: "mx-1" }, "—", -1)),
|
|
1710
1740
|
n(he, {
|
|
1711
1741
|
height: "16",
|
|
1712
1742
|
type: "ossein",
|
|
@@ -1717,15 +1747,15 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1717
1747
|
key: "1"
|
|
1718
1748
|
}
|
|
1719
1749
|
]), 1024),
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
e(o).info?.status === "active" ? (c(), k(
|
|
1750
|
+
v("div", Qn, [
|
|
1751
|
+
v("div", null, [
|
|
1752
|
+
e(o).info?.status === "active" ? (c(), k(A, { key: 0 }, [
|
|
1723
1753
|
d[3] || (d[3] = S(" Your plan renews on ", -1)),
|
|
1724
|
-
|
|
1754
|
+
v("span", Xn, V(e(a).format(e(u), "fullDateWithWeekday")), 1),
|
|
1725
1755
|
d[4] || (d[4] = S(". ", -1))
|
|
1726
|
-
], 64)) : (c(), k(
|
|
1756
|
+
], 64)) : (c(), k(A, { key: 1 }, [
|
|
1727
1757
|
d[5] || (d[5] = S(" Your plan ends on ", -1)),
|
|
1728
|
-
|
|
1758
|
+
v("span", Jn, V(e(a).format(e(o).info?.currentPeriodEnd, "fullDateWithWeekday")), 1),
|
|
1729
1759
|
d[6] || (d[6] = S(". ", -1))
|
|
1730
1760
|
], 64))
|
|
1731
1761
|
])
|
|
@@ -1738,7 +1768,7 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1738
1768
|
});
|
|
1739
1769
|
};
|
|
1740
1770
|
}
|
|
1741
|
-
}),
|
|
1771
|
+
}), ts = ["innerHTML"], os = ["innerHTML"], ns = /* @__PURE__ */ y({
|
|
1742
1772
|
__name: "VoSubscriptionPerks",
|
|
1743
1773
|
props: {
|
|
1744
1774
|
type: {}
|
|
@@ -1748,7 +1778,7 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1748
1778
|
"Embeddable playgrounds for your own documentation",
|
|
1749
1779
|
"Team shared workspaces for bins and playgrounds",
|
|
1750
1780
|
"Real-time collaboration on bins and playgrounds"
|
|
1751
|
-
], a = M(!1), o =
|
|
1781
|
+
], a = M(!1), o = O(), r = C(() => {
|
|
1752
1782
|
const u = [
|
|
1753
1783
|
"Ad-free experience on all Vuetify properties",
|
|
1754
1784
|
'Save and share across <a href="https://play.vuetifyjs.com" target="_blank">Vuetify Play</a>, <a href="https://bin.vuetifyjs.com" target="_blank">Vuetify Bin</a>, <a href="https://studio.vuetifyjs.com" target="_blank">Vuetify Studio</a>, and <a href="https://link.vuetifyjs.com" target="_blank">Vuetify Link</a>',
|
|
@@ -1759,16 +1789,16 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1759
1789
|
});
|
|
1760
1790
|
return H(a, async (u) => {
|
|
1761
1791
|
u && o.subscriptionInfo();
|
|
1762
|
-
}), (u,
|
|
1792
|
+
}), (u, i) => {
|
|
1763
1793
|
const l = G;
|
|
1764
|
-
return c(), k(
|
|
1765
|
-
n(
|
|
1766
|
-
default: s(() => [...
|
|
1794
|
+
return c(), k(A, null, [
|
|
1795
|
+
n(Ne, { class: "font-weight-black" }, {
|
|
1796
|
+
default: s(() => [...i[0] || (i[0] = [
|
|
1767
1797
|
S("Perks", -1)
|
|
1768
1798
|
])]),
|
|
1769
1799
|
_: 1
|
|
1770
1800
|
}),
|
|
1771
|
-
|
|
1801
|
+
i[2] || (i[2] = v("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The Vuetify One subscription comes with the following perks: ", -1)),
|
|
1772
1802
|
n(ne, {
|
|
1773
1803
|
class: "py-0",
|
|
1774
1804
|
density: "compact",
|
|
@@ -1776,7 +1806,7 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1776
1806
|
nav: ""
|
|
1777
1807
|
}, {
|
|
1778
1808
|
default: s(() => [
|
|
1779
|
-
(c(!0), k(
|
|
1809
|
+
(c(!0), k(A, null, K(e(r), (d, f) => (c(), m(l, {
|
|
1780
1810
|
key: f,
|
|
1781
1811
|
class: "mb-0",
|
|
1782
1812
|
"prepend-icon": `svg:${e(ke)}`
|
|
@@ -1789,21 +1819,21 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1789
1819
|
})
|
|
1790
1820
|
]),
|
|
1791
1821
|
title: s(() => [
|
|
1792
|
-
|
|
1822
|
+
v("div", { innerHTML: d }, null, 8, ts)
|
|
1793
1823
|
]),
|
|
1794
1824
|
_: 2
|
|
1795
1825
|
}, 1032, ["prepend-icon"]))), 128))
|
|
1796
1826
|
]),
|
|
1797
1827
|
_: 1
|
|
1798
1828
|
}),
|
|
1799
|
-
|
|
1800
|
-
n(
|
|
1801
|
-
default: s(() => [...
|
|
1829
|
+
i[3] || (i[3] = v("br", null, null, -1)),
|
|
1830
|
+
n(Ne, { class: "font-weight-black" }, {
|
|
1831
|
+
default: s(() => [...i[1] || (i[1] = [
|
|
1802
1832
|
S("Up Next", -1)
|
|
1803
1833
|
])]),
|
|
1804
1834
|
_: 1
|
|
1805
1835
|
}),
|
|
1806
|
-
|
|
1836
|
+
i[4] || (i[4] = v("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The following features are in development and coming soon: ", -1)),
|
|
1807
1837
|
n(ne, {
|
|
1808
1838
|
class: "py-0",
|
|
1809
1839
|
density: "compact",
|
|
@@ -1811,10 +1841,10 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1811
1841
|
nav: ""
|
|
1812
1842
|
}, {
|
|
1813
1843
|
default: s(() => [
|
|
1814
|
-
(c(), k(
|
|
1844
|
+
(c(), k(A, null, K(t, (d, f) => n(l, {
|
|
1815
1845
|
key: f,
|
|
1816
1846
|
class: "mb-0",
|
|
1817
|
-
"prepend-icon": `svg:${e(
|
|
1847
|
+
"prepend-icon": `svg:${e(ho)}`
|
|
1818
1848
|
}, {
|
|
1819
1849
|
prepend: s(() => [
|
|
1820
1850
|
n(I, {
|
|
@@ -1823,7 +1853,7 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1823
1853
|
})
|
|
1824
1854
|
]),
|
|
1825
1855
|
title: s(() => [
|
|
1826
|
-
|
|
1856
|
+
v("div", { innerHTML: d }, null, 8, os)
|
|
1827
1857
|
]),
|
|
1828
1858
|
_: 2
|
|
1829
1859
|
}, 1032, ["prepend-icon"])), 64))
|
|
@@ -1833,7 +1863,7 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1833
1863
|
], 64);
|
|
1834
1864
|
};
|
|
1835
1865
|
}
|
|
1836
|
-
}),
|
|
1866
|
+
}), ss = /* @__PURE__ */ y({
|
|
1837
1867
|
__name: "VoSubscriptionSubscribe",
|
|
1838
1868
|
props: {
|
|
1839
1869
|
interval: { default: "year" },
|
|
@@ -1843,7 +1873,7 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1843
1873
|
},
|
|
1844
1874
|
emits: ["update:interval", "update:type"],
|
|
1845
1875
|
setup(p) {
|
|
1846
|
-
const t = M(!1), a = W(p, "interval"), o = W(p, "type"),
|
|
1876
|
+
const t = M(!1), a = W(p, "interval"), o = W(p, "type"), r = O(), u = De(), i = C(() => u.hasTeamAccess && !u.isTeamOwner), l = {
|
|
1847
1877
|
solo: {
|
|
1848
1878
|
month: "2.99 /month",
|
|
1849
1879
|
year: "29.99 /year"
|
|
@@ -1854,11 +1884,11 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1854
1884
|
}
|
|
1855
1885
|
};
|
|
1856
1886
|
return H(t, async (d) => {
|
|
1857
|
-
d &&
|
|
1858
|
-
}), (d, f) => (c(), k(
|
|
1859
|
-
n(
|
|
1887
|
+
d && r.subscriptionInfo();
|
|
1888
|
+
}), (d, f) => (c(), k(A, null, [
|
|
1889
|
+
n(Ct, {
|
|
1860
1890
|
modelValue: o.value,
|
|
1861
|
-
"onUpdate:modelValue": f[0] || (f[0] = (
|
|
1891
|
+
"onUpdate:modelValue": f[0] || (f[0] = (_) => o.value = _),
|
|
1862
1892
|
class: "mb-4",
|
|
1863
1893
|
mandatory: ""
|
|
1864
1894
|
}, {
|
|
@@ -1870,17 +1900,17 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1870
1900
|
md: "6"
|
|
1871
1901
|
}, {
|
|
1872
1902
|
default: s(() => [
|
|
1873
|
-
n(
|
|
1874
|
-
default: s(({ toggle:
|
|
1903
|
+
n(He, { value: "solo" }, {
|
|
1904
|
+
default: s(({ toggle: _, isSelected: g }) => [
|
|
1875
1905
|
n(z, {
|
|
1876
|
-
border:
|
|
1877
|
-
color:
|
|
1878
|
-
"prepend-icon":
|
|
1906
|
+
border: g ? "sm primary opacity-50" : "sm",
|
|
1907
|
+
color: g ? "primary" : void 0,
|
|
1908
|
+
"prepend-icon": g ? `svg:${e(Me)}` : "$radioOff",
|
|
1879
1909
|
rounded: "lg",
|
|
1880
1910
|
subtitle: `$${l.solo[a.value]}`,
|
|
1881
1911
|
title: "Solo Developer",
|
|
1882
|
-
variant:
|
|
1883
|
-
onClick:
|
|
1912
|
+
variant: g ? "tonal" : "text",
|
|
1913
|
+
onClick: _
|
|
1884
1914
|
}, {
|
|
1885
1915
|
prepend: s(() => [
|
|
1886
1916
|
n(I, { class: "mt-n6" })
|
|
@@ -1898,18 +1928,18 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1898
1928
|
md: "6"
|
|
1899
1929
|
}, {
|
|
1900
1930
|
default: s(() => [
|
|
1901
|
-
n(
|
|
1902
|
-
default: s(({ toggle:
|
|
1931
|
+
n(He, { value: "team" }, {
|
|
1932
|
+
default: s(({ toggle: _, isSelected: g }) => [
|
|
1903
1933
|
n(z, {
|
|
1904
|
-
border:
|
|
1905
|
-
color:
|
|
1906
|
-
disabled: e(
|
|
1907
|
-
"prepend-icon":
|
|
1934
|
+
border: g ? "sm primary opacity-50" : "sm",
|
|
1935
|
+
color: g ? "primary" : void 0,
|
|
1936
|
+
disabled: e(i),
|
|
1937
|
+
"prepend-icon": g ? `svg:${e(Me)}` : "$radioOff",
|
|
1908
1938
|
rounded: "lg",
|
|
1909
1939
|
subtitle: `$${l.team[a.value]}`,
|
|
1910
1940
|
title: "Team Access",
|
|
1911
|
-
variant:
|
|
1912
|
-
onClick:
|
|
1941
|
+
variant: g ? "tonal" : "text",
|
|
1942
|
+
onClick: _
|
|
1913
1943
|
}, {
|
|
1914
1944
|
prepend: s(() => [
|
|
1915
1945
|
n(I, { class: "mt-n6" })
|
|
@@ -1928,9 +1958,9 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1928
1958
|
]),
|
|
1929
1959
|
_: 1
|
|
1930
1960
|
}, 8, ["modelValue"]),
|
|
1931
|
-
n(
|
|
1961
|
+
n(We, {
|
|
1932
1962
|
modelValue: a.value,
|
|
1933
|
-
"onUpdate:modelValue": f[1] || (f[1] = (
|
|
1963
|
+
"onUpdate:modelValue": f[1] || (f[1] = (_) => a.value = _),
|
|
1934
1964
|
"false-value": "month",
|
|
1935
1965
|
"hide-details": "",
|
|
1936
1966
|
inset: "",
|
|
@@ -1939,7 +1969,7 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1939
1969
|
}, null, 8, ["modelValue"])
|
|
1940
1970
|
], 64));
|
|
1941
1971
|
}
|
|
1942
|
-
}),
|
|
1972
|
+
}), as = { class: "px-3" }, is = { class: "flex-grow-1 px-4 pb-3 overflow-hidden" }, rs = /* @__PURE__ */ y({
|
|
1943
1973
|
__name: "VoSubscriptionDialog",
|
|
1944
1974
|
props: {
|
|
1945
1975
|
modelValue: { type: Boolean },
|
|
@@ -1947,65 +1977,65 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1947
1977
|
},
|
|
1948
1978
|
emits: ["update:modelValue"],
|
|
1949
1979
|
setup(p) {
|
|
1950
|
-
function t(
|
|
1951
|
-
return new Promise((
|
|
1980
|
+
function t(_) {
|
|
1981
|
+
return new Promise((g) => setTimeout(g, _));
|
|
1952
1982
|
}
|
|
1953
|
-
const a = W(p, "modelValue"), o =
|
|
1954
|
-
H([u,
|
|
1955
|
-
!o.isSubscriber || !o.interval || !o.subscriptionType || (d.value =
|
|
1956
|
-
}), H(a, async (
|
|
1957
|
-
if (!
|
|
1958
|
-
|
|
1983
|
+
const a = W(p, "modelValue"), o = O(), r = Ce(), u = M(o.interval), i = M(o.subscriptionType), l = M(o.hasBilling ? "status" : "subscribe"), d = M(!1);
|
|
1984
|
+
H([u, i], ([_, g]) => {
|
|
1985
|
+
!o.isSubscriber || !o.interval || !o.subscriptionType || (d.value = _ !== o.interval || g !== o.subscriptionType);
|
|
1986
|
+
}), H(a, async (_) => {
|
|
1987
|
+
if (!_ || !o.isSubscriber) {
|
|
1988
|
+
_ || o.resetQuery();
|
|
1959
1989
|
return;
|
|
1960
1990
|
}
|
|
1961
1991
|
o.subscriptionInfo();
|
|
1962
|
-
}), H(
|
|
1963
|
-
!o.sessionId && !["subscribe", "status"].includes(
|
|
1964
|
-
}, { immediate: !0 }),
|
|
1965
|
-
u.value = o.interval ?? "year",
|
|
1992
|
+
}), H(r, async () => {
|
|
1993
|
+
!o.sessionId && !["subscribe", "status"].includes(r.value.one) || r.value.team || (l.value = o.sessionId || r.value.one === "status" ? "status" : "subscribe", o.isOpen = !0, await be(), a.value = !0);
|
|
1994
|
+
}, { immediate: !0 }), jt(() => {
|
|
1995
|
+
u.value = o.interval ?? "year", i.value = o.subscriptionType ?? "solo";
|
|
1966
1996
|
});
|
|
1967
1997
|
async function f() {
|
|
1968
|
-
await o.modify(u.value,
|
|
1998
|
+
await o.modify(u.value, i.value), await o.subscriptionInfo(), d.value = null, await t(3e3), l.value = "status", await t(300), d.value = !1;
|
|
1969
1999
|
}
|
|
1970
|
-
return (
|
|
1971
|
-
const
|
|
2000
|
+
return (_, g) => {
|
|
2001
|
+
const b = re, $ = ss, L = ns, P = es, Q = Rn, x = we, pe = de;
|
|
1972
2002
|
return c(), m(pe, {
|
|
1973
2003
|
modelValue: a.value,
|
|
1974
|
-
"onUpdate:modelValue":
|
|
1975
|
-
"prepend-icon": `svg:${e(
|
|
2004
|
+
"onUpdate:modelValue": g[5] || (g[5] = (E) => a.value = E),
|
|
2005
|
+
"prepend-icon": `svg:${e(bo)}`,
|
|
1976
2006
|
title: "Subscriptions"
|
|
1977
|
-
},
|
|
2007
|
+
}, T({
|
|
1978
2008
|
default: s(() => [
|
|
1979
2009
|
n(ue, null, {
|
|
1980
2010
|
default: s(() => [
|
|
1981
2011
|
n(ce, { scrollable: "" }, {
|
|
1982
2012
|
default: s(() => [
|
|
1983
|
-
|
|
2013
|
+
v("div", as, [
|
|
1984
2014
|
n(J, null, {
|
|
1985
2015
|
default: s(() => [
|
|
1986
|
-
n(
|
|
2016
|
+
n(b, {
|
|
1987
2017
|
text: "The Vuetify One subscription is a great way to support the Vuetify team and get access to exclusive features and content.",
|
|
1988
2018
|
title: "Vuetify One"
|
|
1989
2019
|
}),
|
|
1990
|
-
n(
|
|
2020
|
+
n($t, { "model-value": e(l) }, {
|
|
1991
2021
|
default: s(() => [
|
|
1992
|
-
n(
|
|
2022
|
+
n(_e, { value: "subscribe" }, {
|
|
1993
2023
|
default: s(() => [
|
|
1994
2024
|
n($, {
|
|
1995
2025
|
interval: e(u),
|
|
1996
|
-
"onUpdate:interval":
|
|
1997
|
-
type: e(
|
|
1998
|
-
"onUpdate:type":
|
|
2026
|
+
"onUpdate:interval": g[0] || (g[0] = (E) => j(u) ? u.value = E : null),
|
|
2027
|
+
type: e(i),
|
|
2028
|
+
"onUpdate:type": g[1] || (g[1] = (E) => j(i) ? i.value = E : null)
|
|
1999
2029
|
}, null, 8, ["interval", "type"]),
|
|
2000
|
-
|
|
2001
|
-
n(L, { type: e(
|
|
2030
|
+
g[6] || (g[6] = v("br", null, null, -1)),
|
|
2031
|
+
n(L, { type: e(i) }, null, 8, ["type"])
|
|
2002
2032
|
]),
|
|
2003
2033
|
_: 1
|
|
2004
2034
|
}),
|
|
2005
|
-
n(
|
|
2035
|
+
n(_e, { value: "status" }, {
|
|
2006
2036
|
default: s(() => [
|
|
2007
|
-
n(
|
|
2008
|
-
"onChange:subscription":
|
|
2037
|
+
n(P, {
|
|
2038
|
+
"onChange:subscription": g[2] || (g[2] = (E) => l.value = "subscribe")
|
|
2009
2039
|
}),
|
|
2010
2040
|
n(Q)
|
|
2011
2041
|
]),
|
|
@@ -2030,13 +2060,13 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2030
2060
|
e(l) === "subscribe" ? {
|
|
2031
2061
|
name: "actions",
|
|
2032
2062
|
fn: s(() => [
|
|
2033
|
-
|
|
2063
|
+
v("div", is, [
|
|
2034
2064
|
e(d) !== !1 ? (c(), m(x, {
|
|
2035
2065
|
key: 0,
|
|
2036
2066
|
block: "",
|
|
2037
2067
|
color: "success",
|
|
2038
2068
|
loading: e(o).isLoading,
|
|
2039
|
-
"prepend-icon": `svg:${e(d) !== null ? e(
|
|
2069
|
+
"prepend-icon": `svg:${e(d) !== null ? e(Co) : e(Me)}`,
|
|
2040
2070
|
readonly: e(d) === null,
|
|
2041
2071
|
size: "default",
|
|
2042
2072
|
text: e(d) !== null ? "Modify Subscription" : "Success",
|
|
@@ -2044,20 +2074,20 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2044
2074
|
}, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : e(o).one ? (c(), m(x, {
|
|
2045
2075
|
key: 2,
|
|
2046
2076
|
block: "",
|
|
2047
|
-
"prepend-icon": `svg:${e(
|
|
2077
|
+
"prepend-icon": `svg:${e(ko)}`,
|
|
2048
2078
|
size: "default",
|
|
2049
2079
|
text: "Manage Subscription",
|
|
2050
|
-
onClick:
|
|
2080
|
+
onClick: g[4] || (g[4] = (E) => l.value = "status")
|
|
2051
2081
|
}, null, 8, ["prepend-icon"])) : (c(), m(x, {
|
|
2052
2082
|
key: 1,
|
|
2053
2083
|
block: "",
|
|
2054
|
-
color: e(u) && e(
|
|
2055
|
-
disabled: !(e(u) && e(
|
|
2084
|
+
color: e(u) && e(i) ? "success" : "disabled",
|
|
2085
|
+
disabled: !(e(u) && e(i)),
|
|
2056
2086
|
loading: e(o).isLoading,
|
|
2057
2087
|
"prepend-icon": "$vuetify",
|
|
2058
2088
|
size: "default",
|
|
2059
2089
|
text: "Activate Subscription",
|
|
2060
|
-
onClick:
|
|
2090
|
+
onClick: g[3] || (g[3] = (E) => e(o).subscribe(e(u), e(i)))
|
|
2061
2091
|
}, null, 8, ["color", "disabled", "loading"]))
|
|
2062
2092
|
])
|
|
2063
2093
|
]),
|
|
@@ -2066,33 +2096,33 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2066
2096
|
]), 1032, ["modelValue", "prepend-icon"]);
|
|
2067
2097
|
};
|
|
2068
2098
|
}
|
|
2069
|
-
}),
|
|
2099
|
+
}), ls = /* @__PURE__ */ y({
|
|
2070
2100
|
__name: "VoSubscriptionListItem",
|
|
2071
2101
|
setup(p) {
|
|
2072
2102
|
const t = M(!1);
|
|
2073
2103
|
return (a, o) => {
|
|
2074
|
-
const
|
|
2104
|
+
const r = rs, u = G;
|
|
2075
2105
|
return c(), m(u, {
|
|
2076
2106
|
active: e(t),
|
|
2077
2107
|
link: "",
|
|
2078
|
-
"prepend-icon": `svg:${e(
|
|
2108
|
+
"prepend-icon": `svg:${e(Vo)}`,
|
|
2079
2109
|
rounded: "lg",
|
|
2080
2110
|
title: "Subscriptions"
|
|
2081
2111
|
}, {
|
|
2082
2112
|
default: s(() => [
|
|
2083
|
-
n(
|
|
2113
|
+
n(r, {
|
|
2084
2114
|
modelValue: e(t),
|
|
2085
|
-
"onUpdate:modelValue": o[0] || (o[0] = (
|
|
2115
|
+
"onUpdate:modelValue": o[0] || (o[0] = (i) => j(t) ? t.value = i : null)
|
|
2086
2116
|
}, null, 8, ["modelValue"])
|
|
2087
2117
|
]),
|
|
2088
2118
|
_: 1
|
|
2089
2119
|
}, 8, ["active", "prepend-icon"]);
|
|
2090
2120
|
};
|
|
2091
2121
|
}
|
|
2092
|
-
}),
|
|
2122
|
+
}), us = {
|
|
2093
2123
|
key: 0,
|
|
2094
2124
|
class: "text-success"
|
|
2095
|
-
},
|
|
2125
|
+
}, Ee = /* @__PURE__ */ y({
|
|
2096
2126
|
__name: "VoSponsorshipsTimelineItem",
|
|
2097
2127
|
props: {
|
|
2098
2128
|
title: {},
|
|
@@ -2104,50 +2134,50 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2104
2134
|
sponsorship: {}
|
|
2105
2135
|
},
|
|
2106
2136
|
setup(p) {
|
|
2107
|
-
const t = p, a =
|
|
2108
|
-
return (
|
|
2109
|
-
const
|
|
2110
|
-
return c(), m(
|
|
2111
|
-
"dot-color":
|
|
2112
|
-
icon:
|
|
2137
|
+
const t = p, a = Oe(), o = C(() => `$${Number.parseFloat(String((t.sponsorship?.amount ?? 0) / 100)).toFixed(2)} /${t.sponsorship?.interval}`);
|
|
2138
|
+
return (r, u) => {
|
|
2139
|
+
const i = we;
|
|
2140
|
+
return c(), m(rn, {
|
|
2141
|
+
"dot-color": r.sponsorship?.isActive ? "success" : "transparent",
|
|
2142
|
+
icon: r.sponsorship?.isActive ? `svg:${e(ke)}` : void 0,
|
|
2113
2143
|
size: "x-small",
|
|
2114
2144
|
width: "100%"
|
|
2115
2145
|
}, {
|
|
2116
2146
|
default: s(() => [
|
|
2117
2147
|
n(z, {
|
|
2118
2148
|
border: "",
|
|
2119
|
-
"prepend-avatar": `${e(a).CDN_URL}logos/${
|
|
2149
|
+
"prepend-avatar": `${e(a).CDN_URL}logos/${r.logo}.png`,
|
|
2120
2150
|
rounded: "lg",
|
|
2121
|
-
title:
|
|
2151
|
+
title: r.title,
|
|
2122
2152
|
variant: "text"
|
|
2123
2153
|
}, {
|
|
2124
2154
|
subtitle: s(() => [
|
|
2125
|
-
|
|
2155
|
+
r.sponsorship?.isActive ? (c(), k("div", us, [
|
|
2126
2156
|
n(I, {
|
|
2127
|
-
icon: `svg:${e(
|
|
2157
|
+
icon: `svg:${e($o)}`,
|
|
2128
2158
|
size: "x-small"
|
|
2129
2159
|
}, null, 8, ["icon"]),
|
|
2130
2160
|
S(" " + V(e(o)), 1)
|
|
2131
|
-
])) : (c(), k(
|
|
2132
|
-
S(V(
|
|
2161
|
+
])) : (c(), k(A, { key: 1 }, [
|
|
2162
|
+
S(V(r.text), 1)
|
|
2133
2163
|
], 64))
|
|
2134
2164
|
]),
|
|
2135
2165
|
append: s(() => [
|
|
2136
|
-
|
|
2166
|
+
r.disabled ? (c(), m(i, {
|
|
2137
2167
|
key: 1,
|
|
2138
2168
|
color: "surface-variant",
|
|
2139
2169
|
readonly: "",
|
|
2140
2170
|
text: "Coming Soon"
|
|
2141
|
-
})) : (c(), m(
|
|
2171
|
+
})) : (c(), m(i, {
|
|
2142
2172
|
key: 0,
|
|
2143
2173
|
active: !1,
|
|
2144
|
-
color:
|
|
2145
|
-
href:
|
|
2146
|
-
"prepend-icon": `svg:${
|
|
2147
|
-
readonly:
|
|
2148
|
-
target:
|
|
2149
|
-
text:
|
|
2150
|
-
to:
|
|
2174
|
+
color: r.sponsorship?.isActive ? "success" : "primary",
|
|
2175
|
+
href: r.sponsorship?.isActive || r.to ? void 0 : r.href,
|
|
2176
|
+
"prepend-icon": `svg:${r.sponsorship?.isActive ? e(Me) : e(Te)}`,
|
|
2177
|
+
readonly: r.sponsorship?.isActive,
|
|
2178
|
+
target: r.sponsorship?.isActive || r.to ? void 0 : "_blank",
|
|
2179
|
+
text: r.sponsorship?.isActive ? "Active" : "Info",
|
|
2180
|
+
to: r.to,
|
|
2151
2181
|
width: "88"
|
|
2152
2182
|
}, null, 8, ["color", "href", "prepend-icon", "readonly", "target", "text", "to"]))
|
|
2153
2183
|
]),
|
|
@@ -2158,13 +2188,28 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2158
2188
|
}, 8, ["dot-color", "icon"]);
|
|
2159
2189
|
};
|
|
2160
2190
|
}
|
|
2161
|
-
}),
|
|
2191
|
+
}), cs = /* @__PURE__ */ y({
|
|
2192
|
+
__name: "VoSponsorshipsTimelineItemOpencollective",
|
|
2193
|
+
setup(p) {
|
|
2194
|
+
const t = O();
|
|
2195
|
+
return (a, o) => {
|
|
2196
|
+
const r = Ee;
|
|
2197
|
+
return c(), m(r, {
|
|
2198
|
+
href: "https://opencollective.com/vuetify",
|
|
2199
|
+
logo: "opencollective",
|
|
2200
|
+
sponsorship: e(t).opencollective,
|
|
2201
|
+
text: "Support Vuetify through Open Collective.",
|
|
2202
|
+
title: "Open Collective Subscriber"
|
|
2203
|
+
}, null, 8, ["sponsorship"]);
|
|
2204
|
+
};
|
|
2205
|
+
}
|
|
2206
|
+
}), ds = /* @__PURE__ */ y({
|
|
2162
2207
|
__name: "VoSponsorshipsTimelineItemDiscord",
|
|
2163
2208
|
setup(p) {
|
|
2164
|
-
const t =
|
|
2209
|
+
const t = O();
|
|
2165
2210
|
return (a, o) => {
|
|
2166
|
-
const
|
|
2167
|
-
return c(), m(
|
|
2211
|
+
const r = Ee;
|
|
2212
|
+
return c(), m(r, {
|
|
2168
2213
|
href: "https://discord.com/servers/vuetify-340160225338195969",
|
|
2169
2214
|
logo: "discord",
|
|
2170
2215
|
sponsorship: e(t).discord,
|
|
@@ -2173,13 +2218,13 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2173
2218
|
}, null, 8, ["sponsorship"]);
|
|
2174
2219
|
};
|
|
2175
2220
|
}
|
|
2176
|
-
}),
|
|
2221
|
+
}), ps = /* @__PURE__ */ y({
|
|
2177
2222
|
__name: "VoSponsorshipsTimelineItemGithub",
|
|
2178
2223
|
setup(p) {
|
|
2179
|
-
const t =
|
|
2224
|
+
const t = O();
|
|
2180
2225
|
return (a, o) => {
|
|
2181
|
-
const
|
|
2182
|
-
return c(), m(
|
|
2226
|
+
const r = Ee;
|
|
2227
|
+
return c(), m(r, {
|
|
2183
2228
|
href: "https://github.com/sponsors/johnleider",
|
|
2184
2229
|
logo: "github",
|
|
2185
2230
|
sponsorship: e(t).github,
|
|
@@ -2188,13 +2233,13 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2188
2233
|
}, null, 8, ["sponsorship"]);
|
|
2189
2234
|
};
|
|
2190
2235
|
}
|
|
2191
|
-
}),
|
|
2236
|
+
}), ms = /* @__PURE__ */ y({
|
|
2192
2237
|
__name: "VoSponsorshipsTimelineItemOne",
|
|
2193
2238
|
setup(p) {
|
|
2194
|
-
const t =
|
|
2239
|
+
const t = O();
|
|
2195
2240
|
return (a, o) => {
|
|
2196
|
-
const
|
|
2197
|
-
return c(), m(
|
|
2241
|
+
const r = Ee;
|
|
2242
|
+
return c(), m(r, {
|
|
2198
2243
|
logo: "one",
|
|
2199
2244
|
sponsorship: e(t).one,
|
|
2200
2245
|
text: "Support Vuetify through Vuetify One.",
|
|
@@ -2203,12 +2248,12 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2203
2248
|
}, null, 8, ["sponsorship"]);
|
|
2204
2249
|
};
|
|
2205
2250
|
}
|
|
2206
|
-
}),
|
|
2251
|
+
}), fs = /* @__PURE__ */ y({
|
|
2207
2252
|
__name: "VoSponsorshipsTimeline",
|
|
2208
2253
|
setup(p) {
|
|
2209
2254
|
return (t, a) => {
|
|
2210
|
-
const o =
|
|
2211
|
-
return c(), m(
|
|
2255
|
+
const o = ms, r = ps, u = ds, i = cs;
|
|
2256
|
+
return c(), m(ln, {
|
|
2212
2257
|
class: "justify-start ms-n7",
|
|
2213
2258
|
"line-inset": "12",
|
|
2214
2259
|
side: "end",
|
|
@@ -2217,14 +2262,15 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2217
2262
|
}, {
|
|
2218
2263
|
default: s(() => [
|
|
2219
2264
|
n(o),
|
|
2220
|
-
n(
|
|
2221
|
-
n(u)
|
|
2265
|
+
n(r),
|
|
2266
|
+
n(u),
|
|
2267
|
+
n(i)
|
|
2222
2268
|
]),
|
|
2223
2269
|
_: 1
|
|
2224
2270
|
});
|
|
2225
2271
|
};
|
|
2226
2272
|
}
|
|
2227
|
-
}),
|
|
2273
|
+
}), vs = { class: "px-3 pb-5 d-flex flex-column h-100" }, gs = { class: "font-weight-black" }, _s = { class: "text-caption text-medium-emphasis" }, ys = /* @__PURE__ */ y({
|
|
2228
2274
|
__name: "VoSponsorshipsDialog",
|
|
2229
2275
|
props: {
|
|
2230
2276
|
modelValue: { type: Boolean },
|
|
@@ -2232,15 +2278,15 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2232
2278
|
},
|
|
2233
2279
|
emits: ["update:modelValue"],
|
|
2234
2280
|
setup(p) {
|
|
2235
|
-
const t = W(p, "modelValue"), a = Ce(), o =
|
|
2281
|
+
const t = W(p, "modelValue"), a = Ce(), o = O();
|
|
2236
2282
|
return H(a, async () => {
|
|
2237
2283
|
a.value.one === "sponsorships" && (o.isOpen = !0, await be(), t.value = !0);
|
|
2238
|
-
}, { immediate: !0 }), (
|
|
2239
|
-
const
|
|
2284
|
+
}, { immediate: !0 }), (r, u) => {
|
|
2285
|
+
const i = re, l = fs, d = de;
|
|
2240
2286
|
return c(), m(d, {
|
|
2241
2287
|
modelValue: t.value,
|
|
2242
2288
|
"onUpdate:modelValue": u[0] || (u[0] = (f) => t.value = f),
|
|
2243
|
-
"prepend-icon": `svg:${e(
|
|
2289
|
+
"prepend-icon": `svg:${e(xo)}`,
|
|
2244
2290
|
title: "Sponsorships"
|
|
2245
2291
|
}, {
|
|
2246
2292
|
default: s(() => [
|
|
@@ -2248,10 +2294,10 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2248
2294
|
default: s(() => [
|
|
2249
2295
|
n(ce, { scrollable: "" }, {
|
|
2250
2296
|
default: s(() => [
|
|
2251
|
-
|
|
2297
|
+
v("div", vs, [
|
|
2252
2298
|
n(J, { class: "flex-0-0 mb-16 mb-sm-4" }, {
|
|
2253
2299
|
default: s(() => [
|
|
2254
|
-
n(
|
|
2300
|
+
n(i, {
|
|
2255
2301
|
text: "Support Vuetify through GitHub Sponsors or Discord to unlock exclusive benefits and content.",
|
|
2256
2302
|
title: "Support Vuetify"
|
|
2257
2303
|
}),
|
|
@@ -2259,7 +2305,7 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2259
2305
|
]),
|
|
2260
2306
|
_: 1
|
|
2261
2307
|
}),
|
|
2262
|
-
n(
|
|
2308
|
+
n(Ke, {
|
|
2263
2309
|
class: "flex-1-0",
|
|
2264
2310
|
icon: "$vuetify",
|
|
2265
2311
|
"min-height": "auto",
|
|
@@ -2272,10 +2318,10 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2272
2318
|
]),
|
|
2273
2319
|
title: s(() => [
|
|
2274
2320
|
u[1] || (u[1] = S(" One Status: ", -1)),
|
|
2275
|
-
|
|
2321
|
+
v("span", gs, V(e(o).isSubscriber ? "Active" : "Inactive"), 1)
|
|
2276
2322
|
]),
|
|
2277
2323
|
text: s(() => [
|
|
2278
|
-
|
|
2324
|
+
v("div", _s, V(e(o).isSubscriber ? "You are currently receiving benefits of Vuetify One." : "Login to activate Vuetify One benefits"), 1)
|
|
2279
2325
|
]),
|
|
2280
2326
|
_: 1
|
|
2281
2327
|
})
|
|
@@ -2291,32 +2337,32 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2291
2337
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
2292
2338
|
};
|
|
2293
2339
|
}
|
|
2294
|
-
}),
|
|
2340
|
+
}), hs = /* @__PURE__ */ y({
|
|
2295
2341
|
__name: "VoSponsorshipsListItem",
|
|
2296
2342
|
setup(p) {
|
|
2297
2343
|
const t = M(!1);
|
|
2298
2344
|
return (a, o) => {
|
|
2299
|
-
const
|
|
2345
|
+
const r = ys, u = G;
|
|
2300
2346
|
return c(), m(u, {
|
|
2301
2347
|
active: e(t),
|
|
2302
2348
|
link: "",
|
|
2303
|
-
"prepend-icon": `svg:${e(
|
|
2349
|
+
"prepend-icon": `svg:${e(Lo)}`,
|
|
2304
2350
|
rounded: "lg",
|
|
2305
2351
|
title: "Sponsorships"
|
|
2306
2352
|
}, {
|
|
2307
2353
|
default: s(() => [
|
|
2308
|
-
n(
|
|
2354
|
+
n(r, {
|
|
2309
2355
|
modelValue: e(t),
|
|
2310
|
-
"onUpdate:modelValue": o[0] || (o[0] = (
|
|
2356
|
+
"onUpdate:modelValue": o[0] || (o[0] = (i) => j(t) ? t.value = i : null)
|
|
2311
2357
|
}, null, 8, ["modelValue"])
|
|
2312
2358
|
]),
|
|
2313
2359
|
_: 1
|
|
2314
2360
|
}, 8, ["active", "prepend-icon"]);
|
|
2315
2361
|
};
|
|
2316
2362
|
}
|
|
2317
|
-
}),
|
|
2363
|
+
}), bs = q("downloads", () => {
|
|
2318
2364
|
const p = Y(), t = ee(), a = F([]), o = M(!1);
|
|
2319
|
-
async function
|
|
2365
|
+
async function r() {
|
|
2320
2366
|
if (a.value.length > 0)
|
|
2321
2367
|
return a.value;
|
|
2322
2368
|
o.value = !0;
|
|
@@ -2333,12 +2379,12 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2333
2379
|
return {
|
|
2334
2380
|
all: a,
|
|
2335
2381
|
isLoading: o,
|
|
2336
|
-
index:
|
|
2382
|
+
index: r
|
|
2337
2383
|
};
|
|
2338
|
-
}),
|
|
2384
|
+
}), Cs = /* @__PURE__ */ y({
|
|
2339
2385
|
__name: "VoDownloadsTable",
|
|
2340
2386
|
setup(p) {
|
|
2341
|
-
const t = me(), a =
|
|
2387
|
+
const t = me(), a = bs(), o = [
|
|
2342
2388
|
{
|
|
2343
2389
|
title: "Order ID",
|
|
2344
2390
|
value: "order_name"
|
|
@@ -2358,15 +2404,15 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2358
2404
|
value: "download_url"
|
|
2359
2405
|
}
|
|
2360
2406
|
];
|
|
2361
|
-
return
|
|
2407
|
+
return Ae(async () => {
|
|
2362
2408
|
await a.index();
|
|
2363
|
-
}), (
|
|
2364
|
-
const
|
|
2409
|
+
}), (r, u) => {
|
|
2410
|
+
const i = re;
|
|
2365
2411
|
return c(), m(fe, null, {
|
|
2366
2412
|
default: s(() => [
|
|
2367
2413
|
n(le, { cols: "12" }, {
|
|
2368
2414
|
default: s(() => [
|
|
2369
|
-
n(
|
|
2415
|
+
n(i, {
|
|
2370
2416
|
text: "View and download your store purchases.",
|
|
2371
2417
|
title: "Download history"
|
|
2372
2418
|
}),
|
|
@@ -2376,7 +2422,7 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2376
2422
|
rounded: "lg"
|
|
2377
2423
|
}, {
|
|
2378
2424
|
default: s(() => [
|
|
2379
|
-
n(
|
|
2425
|
+
n(Vt, {
|
|
2380
2426
|
"fixed-header": "",
|
|
2381
2427
|
headers: o,
|
|
2382
2428
|
height: "640",
|
|
@@ -2390,16 +2436,16 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2390
2436
|
S(V(e(t).format(l.created_at, "shortDate")), 1)
|
|
2391
2437
|
]),
|
|
2392
2438
|
"item.download_items": s(({ item: l }) => [
|
|
2393
|
-
(c(!0), k(
|
|
2439
|
+
(c(!0), k(A, null, K(l.download_items, (d, f) => (c(), k("div", {
|
|
2394
2440
|
key: f,
|
|
2395
2441
|
class: "text-truncate"
|
|
2396
2442
|
}, V(d.name), 1))), 128))
|
|
2397
2443
|
]),
|
|
2398
2444
|
"item.download_url": s(({ item: l }) => [
|
|
2399
|
-
n(
|
|
2445
|
+
n(D, {
|
|
2400
2446
|
color: "medium-emphasis",
|
|
2401
2447
|
href: l.download_url,
|
|
2402
|
-
icon: `svg:${e(
|
|
2448
|
+
icon: `svg:${e(wo)}`,
|
|
2403
2449
|
size: "small",
|
|
2404
2450
|
target: "_blank",
|
|
2405
2451
|
variant: "text"
|
|
@@ -2418,13 +2464,13 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2418
2464
|
});
|
|
2419
2465
|
};
|
|
2420
2466
|
}
|
|
2421
|
-
}),
|
|
2467
|
+
}), ks = { class: "px-3" }, Vs = /* @__PURE__ */ y({
|
|
2422
2468
|
__name: "VoDownloadsNavItem",
|
|
2423
2469
|
setup(p) {
|
|
2424
2470
|
const t = M(!1);
|
|
2425
2471
|
return (a, o) => {
|
|
2426
|
-
const
|
|
2427
|
-
return c(), m(
|
|
2472
|
+
const r = Cs, u = de, i = G;
|
|
2473
|
+
return c(), m(i, {
|
|
2428
2474
|
active: e(t),
|
|
2429
2475
|
link: "",
|
|
2430
2476
|
"prepend-icon": `svg:${e(tt)}`,
|
|
@@ -2443,10 +2489,10 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2443
2489
|
default: s(() => [
|
|
2444
2490
|
n(ce, { scrollable: "" }, {
|
|
2445
2491
|
default: s(() => [
|
|
2446
|
-
|
|
2492
|
+
v("div", ks, [
|
|
2447
2493
|
n(J, null, {
|
|
2448
2494
|
default: s(() => [
|
|
2449
|
-
n(
|
|
2495
|
+
n(r)
|
|
2450
2496
|
]),
|
|
2451
2497
|
_: 1
|
|
2452
2498
|
})
|
|
@@ -2465,7 +2511,7 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2465
2511
|
}, 8, ["active", "prepend-icon"]);
|
|
2466
2512
|
};
|
|
2467
2513
|
}
|
|
2468
|
-
}),
|
|
2514
|
+
}), $s = { class: "px-3" }, xs = { class: "d-flex align-center" }, Ls = { class: "d-flex align-center" }, ws = /* @__PURE__ */ y({
|
|
2469
2515
|
__name: "VoTeamDialog",
|
|
2470
2516
|
props: {
|
|
2471
2517
|
modelValue: { type: Boolean },
|
|
@@ -2473,7 +2519,7 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2473
2519
|
},
|
|
2474
2520
|
emits: ["update:modelValue"],
|
|
2475
2521
|
setup(p) {
|
|
2476
|
-
const t =
|
|
2522
|
+
const t = O(), a = De(), o = Y(), { copy: r, copied: u } = Be(), i = C(() => a.team), l = Ce(), d = M(!1), f = [
|
|
2477
2523
|
{
|
|
2478
2524
|
title: "Name",
|
|
2479
2525
|
key: "name"
|
|
@@ -2484,20 +2530,20 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2484
2530
|
align: "end",
|
|
2485
2531
|
sortable: !1
|
|
2486
2532
|
}
|
|
2487
|
-
],
|
|
2488
|
-
async function
|
|
2533
|
+
], _ = C(() => `https://one.vuetifyjs.com/?invite=${a.team?.inviteCode}`), g = W(p, "modelValue");
|
|
2534
|
+
async function b() {
|
|
2489
2535
|
d.value = !0;
|
|
2490
2536
|
const $ = await o.post("/one/team/regen");
|
|
2491
2537
|
a.team = $.team;
|
|
2492
2538
|
}
|
|
2493
2539
|
return H(l, async () => {
|
|
2494
|
-
!t.sessionId || l.value.one === "subscribe" || l.value.team && (t.isOpen = !0, await be(),
|
|
2540
|
+
!t.sessionId || l.value.one === "subscribe" || l.value.team && (t.isOpen = !0, await be(), g.value = !0);
|
|
2495
2541
|
}, { immediate: !0 }), ($, L) => {
|
|
2496
|
-
const
|
|
2542
|
+
const P = re, Q = de;
|
|
2497
2543
|
return c(), m(Q, {
|
|
2498
|
-
modelValue:
|
|
2499
|
-
"onUpdate:modelValue": L[2] || (L[2] = (x) =>
|
|
2500
|
-
"prepend-icon": `svg:${e(
|
|
2544
|
+
modelValue: g.value,
|
|
2545
|
+
"onUpdate:modelValue": L[2] || (L[2] = (x) => g.value = x),
|
|
2546
|
+
"prepend-icon": `svg:${e(So)}`,
|
|
2501
2547
|
title: "Team"
|
|
2502
2548
|
}, {
|
|
2503
2549
|
default: s(() => [
|
|
@@ -2505,10 +2551,10 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2505
2551
|
default: s(() => [
|
|
2506
2552
|
n(ce, { scrollable: "" }, {
|
|
2507
2553
|
default: s(() => [
|
|
2508
|
-
|
|
2554
|
+
v("div", $s, [
|
|
2509
2555
|
n(J, null, {
|
|
2510
2556
|
default: s(() => [
|
|
2511
|
-
n(
|
|
2557
|
+
n(P, {
|
|
2512
2558
|
text: "Share access to Vuetify One with up to 25 team members.",
|
|
2513
2559
|
title: "Manage your team"
|
|
2514
2560
|
}),
|
|
@@ -2522,19 +2568,19 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2522
2568
|
rounded: "lg"
|
|
2523
2569
|
}, {
|
|
2524
2570
|
default: s(() => [
|
|
2525
|
-
n(
|
|
2571
|
+
n(Ze, {
|
|
2526
2572
|
class: "bg-surface",
|
|
2527
|
-
subtitle: `Team - ${e(
|
|
2573
|
+
subtitle: `Team - ${e(i)?.members?.length} member(s)`,
|
|
2528
2574
|
title: "Members"
|
|
2529
|
-
},
|
|
2575
|
+
}, T({ _: 2 }, [
|
|
2530
2576
|
e(a).isTeamOwner ? {
|
|
2531
2577
|
name: "append",
|
|
2532
2578
|
fn: s(() => [
|
|
2533
|
-
n(
|
|
2579
|
+
n(D, {
|
|
2534
2580
|
border: "",
|
|
2535
2581
|
class: "text-none",
|
|
2536
2582
|
color: "primary",
|
|
2537
|
-
"prepend-icon": `svg:${e(
|
|
2583
|
+
"prepend-icon": `svg:${e(Mo)}`,
|
|
2538
2584
|
rounded: "lg",
|
|
2539
2585
|
variant: "flat"
|
|
2540
2586
|
}, {
|
|
@@ -2551,40 +2597,40 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2551
2597
|
default: s(() => [
|
|
2552
2598
|
n(z, { color: "surface-light" }, {
|
|
2553
2599
|
default: s(() => [
|
|
2554
|
-
n(
|
|
2600
|
+
n(Ze, {
|
|
2555
2601
|
class: "bg-surface",
|
|
2556
|
-
"prepend-icon": `svg:${e(
|
|
2602
|
+
"prepend-icon": `svg:${e(Io)}`,
|
|
2557
2603
|
subtitle: "Provide this link to invite your team members",
|
|
2558
2604
|
title: "Member invite link"
|
|
2559
2605
|
}, {
|
|
2560
2606
|
append: s(() => [
|
|
2561
|
-
n(
|
|
2607
|
+
n(D, {
|
|
2562
2608
|
class: "text-none",
|
|
2563
2609
|
color: e(d) ? void 0 : "error",
|
|
2564
2610
|
disabled: e(d),
|
|
2565
2611
|
flat: "",
|
|
2566
2612
|
slim: "",
|
|
2567
2613
|
text: "Reset",
|
|
2568
|
-
onClick:
|
|
2614
|
+
onClick: b
|
|
2569
2615
|
}, null, 8, ["color", "disabled"])
|
|
2570
2616
|
]),
|
|
2571
2617
|
_: 1
|
|
2572
2618
|
}, 8, ["prepend-icon"]),
|
|
2573
2619
|
n(J, { class: "pt-4" }, {
|
|
2574
2620
|
default: s(() => [
|
|
2575
|
-
n(
|
|
2621
|
+
n(kt, {
|
|
2576
2622
|
flat: "",
|
|
2577
2623
|
"hide-details": "",
|
|
2578
2624
|
label: "Invite link",
|
|
2579
|
-
"model-value": e(
|
|
2625
|
+
"model-value": e(_),
|
|
2580
2626
|
readonly: "",
|
|
2581
2627
|
variant: "solo"
|
|
2582
2628
|
}, {
|
|
2583
2629
|
"append-inner": s(() => [
|
|
2584
2630
|
Z(n(I, {
|
|
2585
|
-
icon: `svg:${e(u) ? e(ke) : e(
|
|
2631
|
+
icon: `svg:${e(u) ? e(ke) : e(Re)}`,
|
|
2586
2632
|
size: "small",
|
|
2587
|
-
onClick: L[0] || (L[0] = (x) => e(
|
|
2633
|
+
onClick: L[0] || (L[0] = (x) => e(r)(e(_)))
|
|
2588
2634
|
}, null, 8, ["icon"]), [
|
|
2589
2635
|
[X, "Copy Team link"]
|
|
2590
2636
|
])
|
|
@@ -2615,23 +2661,23 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2615
2661
|
rounded: "lg"
|
|
2616
2662
|
}, {
|
|
2617
2663
|
default: s(() => [
|
|
2618
|
-
n(
|
|
2664
|
+
n(an, {
|
|
2619
2665
|
headers: f,
|
|
2620
|
-
"hide-default-footer": e(
|
|
2621
|
-
items: e(
|
|
2666
|
+
"hide-default-footer": e(i)?.members?.length < 10,
|
|
2667
|
+
items: e(i)?.members
|
|
2622
2668
|
}, {
|
|
2623
2669
|
"item.name": s(({ item: x }) => [
|
|
2624
|
-
|
|
2670
|
+
v("div", xs, [
|
|
2625
2671
|
n(oe, {
|
|
2626
2672
|
image: x.picture,
|
|
2627
2673
|
size: "x-small",
|
|
2628
2674
|
start: ""
|
|
2629
2675
|
}, null, 8, ["image"]),
|
|
2630
|
-
|
|
2676
|
+
v("span", null, V(x.name), 1)
|
|
2631
2677
|
])
|
|
2632
2678
|
]),
|
|
2633
2679
|
"item.actions": s(({ item: x }) => [
|
|
2634
|
-
e(
|
|
2680
|
+
e(i)?.owner?.id === x.id ? (c(), m(D, {
|
|
2635
2681
|
key: 0,
|
|
2636
2682
|
class: "me-n3",
|
|
2637
2683
|
color: "primary",
|
|
@@ -2641,12 +2687,12 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2641
2687
|
slim: "",
|
|
2642
2688
|
text: "Team owner",
|
|
2643
2689
|
variant: "tonal"
|
|
2644
|
-
}, null, 8, ["prepend-icon"])) : (c(), m(
|
|
2690
|
+
}, null, 8, ["prepend-icon"])) : (c(), m(D, {
|
|
2645
2691
|
key: 1,
|
|
2646
2692
|
class: "me-n3",
|
|
2647
2693
|
color: "medium-emphasis",
|
|
2648
2694
|
density: "comfortable",
|
|
2649
|
-
"prepend-icon": `svg:${e(
|
|
2695
|
+
"prepend-icon": `svg:${e(Ao)}`,
|
|
2650
2696
|
slim: "",
|
|
2651
2697
|
text: "Revoke",
|
|
2652
2698
|
variant: "text",
|
|
@@ -2672,13 +2718,13 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2672
2718
|
rounded: "lg"
|
|
2673
2719
|
}, {
|
|
2674
2720
|
default: s(() => [
|
|
2675
|
-
n(
|
|
2721
|
+
n(Ze, {
|
|
2676
2722
|
"prepend-icon": `svg:${e(ot)}`,
|
|
2677
2723
|
subtitle: "You are currently a member of a team with an All-access Pass.",
|
|
2678
2724
|
title: "My Team access"
|
|
2679
2725
|
}, {
|
|
2680
2726
|
title: s(() => [
|
|
2681
|
-
|
|
2727
|
+
v("div", Ls, [
|
|
2682
2728
|
L[4] || (L[4] = S(" My Team Access ", -1)),
|
|
2683
2729
|
n(te, {
|
|
2684
2730
|
border: "thin opacity-25 success",
|
|
@@ -2691,8 +2737,8 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2691
2737
|
])
|
|
2692
2738
|
]),
|
|
2693
2739
|
append: s(() => [
|
|
2694
|
-
n(
|
|
2695
|
-
"prepend-icon": `svg:${e(
|
|
2740
|
+
n(D, {
|
|
2741
|
+
"prepend-icon": `svg:${e(Do)}`,
|
|
2696
2742
|
rounded: "lg",
|
|
2697
2743
|
text: "Leave team",
|
|
2698
2744
|
width: "145",
|
|
@@ -2719,23 +2765,23 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2719
2765
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
2720
2766
|
};
|
|
2721
2767
|
}
|
|
2722
|
-
}),
|
|
2768
|
+
}), Ss = /* @__PURE__ */ y({
|
|
2723
2769
|
__name: "VoTeamListItem",
|
|
2724
2770
|
setup(p) {
|
|
2725
2771
|
const t = M(!1);
|
|
2726
2772
|
return (a, o) => {
|
|
2727
|
-
const
|
|
2773
|
+
const r = ws, u = G;
|
|
2728
2774
|
return c(), m(u, {
|
|
2729
2775
|
active: e(t),
|
|
2730
2776
|
link: "",
|
|
2731
|
-
"prepend-icon": `svg:${e(
|
|
2777
|
+
"prepend-icon": `svg:${e(pt)}`,
|
|
2732
2778
|
rounded: "lg",
|
|
2733
2779
|
title: "My Team"
|
|
2734
2780
|
}, {
|
|
2735
2781
|
default: s(() => [
|
|
2736
|
-
n(
|
|
2782
|
+
n(r, {
|
|
2737
2783
|
modelValue: e(t),
|
|
2738
|
-
"onUpdate:modelValue": o[0] || (o[0] = (
|
|
2784
|
+
"onUpdate:modelValue": o[0] || (o[0] = (i) => j(t) ? t.value = i : null)
|
|
2739
2785
|
}, null, 8, ["modelValue"])
|
|
2740
2786
|
]),
|
|
2741
2787
|
_: 1
|
|
@@ -2814,17 +2860,17 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2814
2860
|
icon: "$vuetify-figma"
|
|
2815
2861
|
}
|
|
2816
2862
|
];
|
|
2817
|
-
function
|
|
2818
|
-
const p =
|
|
2819
|
-
H(() => p.one.quicklinks, (
|
|
2820
|
-
!
|
|
2863
|
+
function Ot() {
|
|
2864
|
+
const p = U(), t = ge(() => st.filter((r) => p.one.ecosystem.pinned.includes(r.id)));
|
|
2865
|
+
H(() => p.one.quicklinks, (r) => {
|
|
2866
|
+
!r && p.one.ecosystem.pinned.length > 0 && (p.one.ecosystem.pinned = []);
|
|
2821
2867
|
});
|
|
2822
|
-
function a(
|
|
2823
|
-
return p.one.ecosystem.pinned.includes(
|
|
2868
|
+
function a(r) {
|
|
2869
|
+
return p.one.ecosystem.pinned.includes(r);
|
|
2824
2870
|
}
|
|
2825
|
-
function o(
|
|
2826
|
-
const u = p.one.ecosystem.pinned.indexOf(
|
|
2827
|
-
u === -1 ? (p.one.ecosystem.pinned.push(
|
|
2871
|
+
function o(r) {
|
|
2872
|
+
const u = p.one.ecosystem.pinned.indexOf(r);
|
|
2873
|
+
u === -1 ? (p.one.ecosystem.pinned.push(r), p.one.quicklinks || (p.one.quicklinks = !0)) : p.one.ecosystem.pinned.splice(u, 1);
|
|
2828
2874
|
}
|
|
2829
2875
|
return {
|
|
2830
2876
|
actions: st,
|
|
@@ -2833,11 +2879,11 @@ function Ut() {
|
|
|
2833
2879
|
togglePin: o
|
|
2834
2880
|
};
|
|
2835
2881
|
}
|
|
2836
|
-
const at = /* @__PURE__ */
|
|
2882
|
+
const at = /* @__PURE__ */ y({
|
|
2837
2883
|
__name: "VoEcosystemMenu",
|
|
2838
2884
|
setup(p) {
|
|
2839
|
-
const t =
|
|
2840
|
-
return (u,
|
|
2885
|
+
const t = B(), { actions: a, isPinned: o, togglePin: r } = Ot();
|
|
2886
|
+
return (u, i) => (c(), m(z, {
|
|
2841
2887
|
border: "",
|
|
2842
2888
|
"min-width": "240",
|
|
2843
2889
|
rounded: "lg"
|
|
@@ -2848,22 +2894,22 @@ const at = /* @__PURE__ */ _({
|
|
|
2848
2894
|
nav: ""
|
|
2849
2895
|
}, {
|
|
2850
2896
|
default: s(() => [
|
|
2851
|
-
(c(!0), k(
|
|
2897
|
+
(c(!0), k(A, null, K(e(a), (l) => Z((c(), m(se, {
|
|
2852
2898
|
key: l.id,
|
|
2853
2899
|
href: l.href,
|
|
2854
2900
|
"prepend-icon": l.icon,
|
|
2855
2901
|
rounded: "lg",
|
|
2856
2902
|
target: "_blank",
|
|
2857
2903
|
title: l.name
|
|
2858
|
-
},
|
|
2904
|
+
}, T({ _: 2 }, [
|
|
2859
2905
|
e(t).user ? {
|
|
2860
2906
|
name: "append",
|
|
2861
2907
|
fn: s(() => [
|
|
2862
|
-
Z(n(
|
|
2863
|
-
icon: `svg:${e(o)(l.id) ? e(
|
|
2908
|
+
Z(n(D, {
|
|
2909
|
+
icon: `svg:${e(o)(l.id) ? e(To) : e(Uo)}`,
|
|
2864
2910
|
size: "x-small",
|
|
2865
2911
|
variant: "text",
|
|
2866
|
-
onClick:
|
|
2912
|
+
onClick: ye((d) => e(r)(l.id), ["prevent", "stop"])
|
|
2867
2913
|
}, null, 8, ["icon", "onClick"]), [
|
|
2868
2914
|
[X, e(o)(l.id) ? "Unpin" : "Pin", "top"]
|
|
2869
2915
|
])
|
|
@@ -2880,20 +2926,20 @@ const at = /* @__PURE__ */ _({
|
|
|
2880
2926
|
_: 1
|
|
2881
2927
|
}));
|
|
2882
2928
|
}
|
|
2883
|
-
}),
|
|
2929
|
+
}), Ms = /* @__PURE__ */ y({
|
|
2884
2930
|
__name: "VoEcosystemListItem",
|
|
2885
2931
|
setup(p) {
|
|
2886
|
-
const t =
|
|
2887
|
-
return H(o, (
|
|
2888
|
-
|
|
2889
|
-
}), (
|
|
2890
|
-
const
|
|
2891
|
-
return c(), m(
|
|
2932
|
+
const t = U(), { mobile: a } = ie(), o = M(!1);
|
|
2933
|
+
return H(o, (r) => {
|
|
2934
|
+
r && !t.one.ecosystem.seen && (t.one.ecosystem.seen = !0);
|
|
2935
|
+
}), (r, u) => {
|
|
2936
|
+
const i = G;
|
|
2937
|
+
return c(), m(i, {
|
|
2892
2938
|
link: "",
|
|
2893
2939
|
"prepend-icon": "$vuetify-outline",
|
|
2894
2940
|
rounded: "lg",
|
|
2895
2941
|
title: "Vuetify Ecosystem"
|
|
2896
|
-
},
|
|
2942
|
+
}, T({
|
|
2897
2943
|
default: s(() => [
|
|
2898
2944
|
e(a) ? (c(), m(Ve, {
|
|
2899
2945
|
key: 0,
|
|
@@ -2938,33 +2984,33 @@ const at = /* @__PURE__ */ _({
|
|
|
2938
2984
|
]), 1024);
|
|
2939
2985
|
};
|
|
2940
2986
|
}
|
|
2941
|
-
}),
|
|
2987
|
+
}), Is = {
|
|
2942
2988
|
key: 0,
|
|
2943
2989
|
class: "pt-16"
|
|
2944
|
-
},
|
|
2990
|
+
}, As = {
|
|
2945
2991
|
key: 1,
|
|
2946
2992
|
class: "pa-5"
|
|
2947
|
-
},
|
|
2993
|
+
}, Ds = { class: "text-subtitle-1 font-weight-bold" }, Ts = { class: "text-caption font-weight-bold text-medium-emphasis" }, Us = { class: "text-disabled text-caption mt-2 mb-3" }, Ps = /* @__PURE__ */ y({
|
|
2948
2994
|
__name: "VoNotificationsBannerList",
|
|
2949
2995
|
props: {
|
|
2950
2996
|
items: {}
|
|
2951
2997
|
},
|
|
2952
2998
|
setup(p) {
|
|
2953
|
-
const t = me(), a = ie(), o =
|
|
2954
|
-
function i
|
|
2955
|
-
return o.one.banners.read.includes(
|
|
2999
|
+
const t = me(), a = ie(), o = U();
|
|
3000
|
+
function r(i) {
|
|
3001
|
+
return o.one.banners.read.includes(i);
|
|
2956
3002
|
}
|
|
2957
|
-
function u(
|
|
2958
|
-
i
|
|
3003
|
+
function u(i) {
|
|
3004
|
+
r(i.slug) ? o.one.banners.read = o.one.banners.read.filter((l) => l !== i.slug) : o.one.banners.read.push(i.slug);
|
|
2959
3005
|
}
|
|
2960
|
-
return (
|
|
3006
|
+
return (i, l) => (c(), m(ne, {
|
|
2961
3007
|
class: "py-0",
|
|
2962
3008
|
height: "100%",
|
|
2963
3009
|
lines: "three"
|
|
2964
3010
|
}, {
|
|
2965
3011
|
default: s(() => [
|
|
2966
|
-
|
|
2967
|
-
n(
|
|
3012
|
+
i.items.length === 0 ? (c(), k("div", Is, [
|
|
3013
|
+
n(Ke, {
|
|
2968
3014
|
icon: "$vuetify",
|
|
2969
3015
|
size: "256"
|
|
2970
3016
|
}, {
|
|
@@ -2972,12 +3018,12 @@ const at = /* @__PURE__ */ _({
|
|
|
2972
3018
|
n(I, { color: "medium-emphasis" })
|
|
2973
3019
|
]),
|
|
2974
3020
|
title: s(() => [...l[0] || (l[0] = [
|
|
2975
|
-
|
|
3021
|
+
v("div", { class: "text-medium-emphasis" }, " All caught up ", -1)
|
|
2976
3022
|
])]),
|
|
2977
3023
|
_: 1
|
|
2978
3024
|
})
|
|
2979
|
-
])) : (c(), k("div",
|
|
2980
|
-
(c(!0), k(
|
|
3025
|
+
])) : (c(), k("div", As, [
|
|
3026
|
+
(c(!0), k(A, null, K(i.items, (d) => (c(), k("div", {
|
|
2981
3027
|
key: d.slug,
|
|
2982
3028
|
class: "mb-4"
|
|
2983
3029
|
}, [
|
|
@@ -2994,33 +3040,33 @@ const at = /* @__PURE__ */ _({
|
|
|
2994
3040
|
}, null, 8, ["image"])
|
|
2995
3041
|
]),
|
|
2996
3042
|
image: s(() => [
|
|
2997
|
-
n(
|
|
3043
|
+
n(ae, { position: "right" })
|
|
2998
3044
|
]),
|
|
2999
3045
|
_: 2
|
|
3000
3046
|
}, 1032, ["color", "image", "title"]),
|
|
3001
3047
|
n(ve, null, {
|
|
3002
|
-
default: s(({ props: f, isHovering:
|
|
3048
|
+
default: s(({ props: f, isHovering: _ }) => [
|
|
3003
3049
|
n($e, R({ ref_for: !0 }, f, {
|
|
3004
3050
|
border: "",
|
|
3005
3051
|
class: "px-8 pt-2 pb-4 position-relative",
|
|
3006
3052
|
rounded: "b"
|
|
3007
3053
|
}), {
|
|
3008
3054
|
default: s(() => [
|
|
3009
|
-
n(
|
|
3055
|
+
n(xt, {
|
|
3010
3056
|
location: "bottom",
|
|
3011
|
-
text:
|
|
3057
|
+
text: r(d.slug) ? "Mark as unread" : "Mark as read"
|
|
3012
3058
|
}, {
|
|
3013
|
-
activator: s(({ props:
|
|
3059
|
+
activator: s(({ props: g }) => [
|
|
3014
3060
|
n(xe, { "hide-on-leave": "" }, {
|
|
3015
3061
|
default: s(() => [
|
|
3016
|
-
Z(n(
|
|
3062
|
+
Z(n(D, R({ ref_for: !0 }, g, {
|
|
3017
3063
|
class: "ms-auto float-right",
|
|
3018
|
-
icon: `svg:${
|
|
3064
|
+
icon: `svg:${r(d.slug) ? e(Ge) : e(qe)}`,
|
|
3019
3065
|
size: "small",
|
|
3020
3066
|
variant: "text",
|
|
3021
|
-
onClick: (
|
|
3067
|
+
onClick: (b) => u(d)
|
|
3022
3068
|
}), null, 16, ["icon", "onClick"]), [
|
|
3023
|
-
[Ie,
|
|
3069
|
+
[Ie, _ || e(a).mobile.value]
|
|
3024
3070
|
])
|
|
3025
3071
|
]),
|
|
3026
3072
|
_: 2
|
|
@@ -3028,9 +3074,9 @@ const at = /* @__PURE__ */ _({
|
|
|
3028
3074
|
]),
|
|
3029
3075
|
_: 2
|
|
3030
3076
|
}, 1032, ["text"]),
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3077
|
+
v("div", Ds, V(d.metadata.text), 1),
|
|
3078
|
+
v("div", Ts, V(e(t).format(d.created_at, "fullDateWithWeekday")), 1),
|
|
3079
|
+
v("div", Us, V(d.metadata.subtext), 1),
|
|
3034
3080
|
n(te, R({ ref_for: !0 }, {
|
|
3035
3081
|
href: d.metadata.link.startsWith("http") ? d.metadata.link : void 0,
|
|
3036
3082
|
target: d.metadata.link.startsWith("http") ? "_blank" : void 0,
|
|
@@ -3060,14 +3106,14 @@ const at = /* @__PURE__ */ _({
|
|
|
3060
3106
|
_: 1
|
|
3061
3107
|
}));
|
|
3062
3108
|
}
|
|
3063
|
-
}),
|
|
3109
|
+
}), Os = { class: "ps-3 text-subtitle-2 pe-2" }, zs = { class: "text-truncate" }, Bs = { class: "text-caption font-weight-bold text-medium-emphasis" }, Es = { class: "text-disabled text-caption my-2" }, Fs = /* @__PURE__ */ y({
|
|
3064
3110
|
__name: "VoNotificationsListItem",
|
|
3065
3111
|
props: {
|
|
3066
3112
|
demo: { type: Boolean },
|
|
3067
3113
|
notification: {}
|
|
3068
3114
|
},
|
|
3069
3115
|
setup(p) {
|
|
3070
|
-
const t = p, a =
|
|
3116
|
+
const t = p, a = U(), o = me(), r = ie(), u = C(() => {
|
|
3071
3117
|
const d = t.notification.metadata ?? { action: "" };
|
|
3072
3118
|
return {
|
|
3073
3119
|
href: d.action.startsWith("http") ? d.action : void 0,
|
|
@@ -3079,42 +3125,42 @@ const at = /* @__PURE__ */ _({
|
|
|
3079
3125
|
}
|
|
3080
3126
|
};
|
|
3081
3127
|
});
|
|
3082
|
-
function
|
|
3128
|
+
function i(d) {
|
|
3083
3129
|
return a.one.notifications.read.includes(d);
|
|
3084
3130
|
}
|
|
3085
3131
|
function l(d) {
|
|
3086
|
-
t.demo || (
|
|
3132
|
+
t.demo || (i(d.slug) ? a.one.notifications.read = a.one.notifications.read.filter((f) => f !== d.slug) : a.one.notifications.read.push(d.slug));
|
|
3087
3133
|
}
|
|
3088
3134
|
return (d, f) => {
|
|
3089
|
-
const
|
|
3135
|
+
const _ = G;
|
|
3090
3136
|
return c(), m(ve, null, {
|
|
3091
|
-
default: s(({ isHovering:
|
|
3092
|
-
n(
|
|
3137
|
+
default: s(({ isHovering: g, props: b }) => [
|
|
3138
|
+
n(_, R(b, { class: "py-4 mb-0" }), {
|
|
3093
3139
|
prepend: s(() => [
|
|
3094
|
-
|
|
3140
|
+
v("div", Os, V(d.notification.metadata.emoji), 1)
|
|
3095
3141
|
]),
|
|
3096
3142
|
append: s(() => [
|
|
3097
|
-
n(
|
|
3143
|
+
n(un, {
|
|
3098
3144
|
class: "mt-n3",
|
|
3099
3145
|
width: "56"
|
|
3100
3146
|
}, {
|
|
3101
3147
|
default: s(() => [
|
|
3102
|
-
n(
|
|
3148
|
+
n(xt, {
|
|
3103
3149
|
location: "bottom",
|
|
3104
|
-
text:
|
|
3150
|
+
text: i(d.notification.slug) ? "Mark as unread" : "Mark as read"
|
|
3105
3151
|
}, {
|
|
3106
3152
|
activator: s(({ props: $ }) => [
|
|
3107
3153
|
n(xe, { "hide-on-leave": "" }, {
|
|
3108
3154
|
default: s(() => [
|
|
3109
|
-
Z(n(
|
|
3155
|
+
Z(n(D, R($, {
|
|
3110
3156
|
class: "ms-auto",
|
|
3111
|
-
icon: `svg:${
|
|
3157
|
+
icon: `svg:${i(d.notification.slug) ? e(Ge) : e(qe)}`,
|
|
3112
3158
|
"mdi-email-variant": "",
|
|
3113
3159
|
size: "small",
|
|
3114
3160
|
variant: "text",
|
|
3115
3161
|
onClick: f[0] || (f[0] = (L) => l(d.notification))
|
|
3116
3162
|
}), null, 16, ["icon"]), [
|
|
3117
|
-
[Ie,
|
|
3163
|
+
[Ie, g || e(r).mobile.value]
|
|
3118
3164
|
])
|
|
3119
3165
|
]),
|
|
3120
3166
|
_: 2
|
|
@@ -3129,12 +3175,12 @@ const at = /* @__PURE__ */ _({
|
|
|
3129
3175
|
default: s(() => [
|
|
3130
3176
|
n(yt, { class: "text-wrap text-h6 mb-1" }, {
|
|
3131
3177
|
default: s(() => [
|
|
3132
|
-
|
|
3178
|
+
v("div", zs, V(d.notification.title), 1)
|
|
3133
3179
|
]),
|
|
3134
3180
|
_: 1
|
|
3135
3181
|
}),
|
|
3136
|
-
|
|
3137
|
-
|
|
3182
|
+
v("div", Bs, V(e(o).format(d.notification.created_at, "fullDateWithWeekday")), 1),
|
|
3183
|
+
v("div", Es, V(d.notification.metadata.text), 1),
|
|
3138
3184
|
n(te, R({
|
|
3139
3185
|
"append-icon": `svg:${e(Te)}`
|
|
3140
3186
|
}, e(u), {
|
|
@@ -3157,25 +3203,25 @@ const at = /* @__PURE__ */ _({
|
|
|
3157
3203
|
});
|
|
3158
3204
|
};
|
|
3159
3205
|
}
|
|
3160
|
-
}),
|
|
3206
|
+
}), Zs = {
|
|
3161
3207
|
key: 0,
|
|
3162
3208
|
class: "pt-16"
|
|
3163
|
-
},
|
|
3209
|
+
}, Ns = /* @__PURE__ */ y({
|
|
3164
3210
|
__name: "VoNotificationsList",
|
|
3165
3211
|
props: {
|
|
3166
3212
|
items: {}
|
|
3167
3213
|
},
|
|
3168
3214
|
setup(p) {
|
|
3169
3215
|
return (t, a) => {
|
|
3170
|
-
const o =
|
|
3216
|
+
const o = Fs;
|
|
3171
3217
|
return c(), m(ne, {
|
|
3172
3218
|
class: "py-0",
|
|
3173
3219
|
height: "100%",
|
|
3174
3220
|
lines: "three"
|
|
3175
3221
|
}, {
|
|
3176
3222
|
default: s(() => [
|
|
3177
|
-
t.items.length === 0 ? (c(), k("div",
|
|
3178
|
-
n(
|
|
3223
|
+
t.items.length === 0 ? (c(), k("div", Zs, [
|
|
3224
|
+
n(Ke, {
|
|
3179
3225
|
icon: "$vuetify",
|
|
3180
3226
|
size: "256"
|
|
3181
3227
|
}, {
|
|
@@ -3183,92 +3229,92 @@ const at = /* @__PURE__ */ _({
|
|
|
3183
3229
|
n(I, { color: "medium-emphasis" })
|
|
3184
3230
|
]),
|
|
3185
3231
|
title: s(() => [...a[0] || (a[0] = [
|
|
3186
|
-
|
|
3232
|
+
v("div", { class: "text-medium-emphasis" }, " All caught up ", -1)
|
|
3187
3233
|
])]),
|
|
3188
3234
|
_: 1
|
|
3189
3235
|
})
|
|
3190
|
-
])) : (c(!0), k(
|
|
3191
|
-
key:
|
|
3236
|
+
])) : (c(!0), k(A, { key: 1 }, K(t.items, (r, u) => (c(), k(A, {
|
|
3237
|
+
key: r.slug
|
|
3192
3238
|
}, [
|
|
3193
3239
|
u !== 0 ? (c(), m(N, { key: 0 })) : h("", !0),
|
|
3194
|
-
n(o, { notification:
|
|
3240
|
+
n(o, { notification: r }, null, 8, ["notification"])
|
|
3195
3241
|
], 64))), 128))
|
|
3196
3242
|
]),
|
|
3197
3243
|
_: 1
|
|
3198
3244
|
});
|
|
3199
3245
|
};
|
|
3200
3246
|
}
|
|
3201
|
-
}),
|
|
3247
|
+
}), zt = q("site", () => {
|
|
3202
3248
|
const p = F([]), t = F();
|
|
3203
3249
|
return {
|
|
3204
3250
|
id: p,
|
|
3205
3251
|
url: t
|
|
3206
3252
|
};
|
|
3207
3253
|
}), Qe = q("banners", () => {
|
|
3208
|
-
const p = Y(), t =
|
|
3254
|
+
const p = Y(), t = zt(), a = U(), o = ee(), r = F([]), u = M(!1), i = C(() => {
|
|
3209
3255
|
if (l.value)
|
|
3210
3256
|
return l.value;
|
|
3211
3257
|
if (a.one.banners.enabled) {
|
|
3212
3258
|
if (a.one.banners.last) {
|
|
3213
|
-
const f = new Date(a.one.banners.last),
|
|
3214
|
-
if (f >
|
|
3259
|
+
const f = new Date(a.one.banners.last), _ = new Date(Date.now() - 3 * 24 * 60 * 60 * 1e3);
|
|
3260
|
+
if (f > _)
|
|
3215
3261
|
return;
|
|
3216
3262
|
}
|
|
3217
|
-
return
|
|
3263
|
+
return r.value.find(({
|
|
3218
3264
|
slug: f,
|
|
3219
3265
|
metadata: {
|
|
3220
|
-
site:
|
|
3221
|
-
active:
|
|
3266
|
+
site: _,
|
|
3267
|
+
active: g
|
|
3222
3268
|
}
|
|
3223
|
-
}) => !
|
|
3269
|
+
}) => !g || a.one.banners.read.includes(f) ? !1 : _.includes("dev") && !1 || _.includes("*") ? !0 : _.some((b) => t.id.includes(b)));
|
|
3224
3270
|
}
|
|
3225
|
-
}), l =
|
|
3271
|
+
}), l = C(() => r.value.find(({
|
|
3226
3272
|
metadata: {
|
|
3227
3273
|
site: f,
|
|
3228
|
-
active:
|
|
3274
|
+
active: _
|
|
3229
3275
|
}
|
|
3230
|
-
}) =>
|
|
3276
|
+
}) => _ ? f.includes("server") : !1));
|
|
3231
3277
|
async function d() {
|
|
3232
3278
|
try {
|
|
3233
3279
|
u.value = !0;
|
|
3234
3280
|
const f = await p.get("/one/banners");
|
|
3235
|
-
|
|
3281
|
+
r.value = f.banners;
|
|
3236
3282
|
} catch (f) {
|
|
3237
3283
|
o.showError(f?.message ?? "Error fetching banners");
|
|
3238
3284
|
} finally {
|
|
3239
3285
|
u.value = !1;
|
|
3240
3286
|
}
|
|
3241
|
-
return
|
|
3287
|
+
return r.value;
|
|
3242
3288
|
}
|
|
3243
3289
|
return {
|
|
3244
|
-
all:
|
|
3290
|
+
all: r,
|
|
3245
3291
|
isLoading: u,
|
|
3246
3292
|
server: l,
|
|
3247
|
-
banner:
|
|
3293
|
+
banner: i,
|
|
3248
3294
|
index: d
|
|
3249
3295
|
};
|
|
3250
|
-
}),
|
|
3251
|
-
const p = Y(), t =
|
|
3296
|
+
}), Fe = q("notifications", () => {
|
|
3297
|
+
const p = Y(), t = U(), a = ee(), o = F([]), r = M(!1), u = C(() => o.value.filter((d) => !t.one.notifications.read.includes(d.slug))), i = C(() => o.value.filter((d) => t.one.notifications.read.includes(d.slug)));
|
|
3252
3298
|
async function l() {
|
|
3253
3299
|
try {
|
|
3254
|
-
|
|
3300
|
+
r.value = !0;
|
|
3255
3301
|
const d = await p.get("/one/notifications");
|
|
3256
3302
|
o.value = d.notifications;
|
|
3257
3303
|
} catch (d) {
|
|
3258
3304
|
a.showError(d?.message ?? "Error fetching notifications");
|
|
3259
3305
|
} finally {
|
|
3260
|
-
|
|
3306
|
+
r.value = !1;
|
|
3261
3307
|
}
|
|
3262
3308
|
return o.value;
|
|
3263
3309
|
}
|
|
3264
3310
|
return {
|
|
3265
|
-
isLoading:
|
|
3311
|
+
isLoading: r,
|
|
3266
3312
|
all: o,
|
|
3267
|
-
read:
|
|
3313
|
+
read: i,
|
|
3268
3314
|
unread: u,
|
|
3269
3315
|
index: l
|
|
3270
3316
|
};
|
|
3271
|
-
}),
|
|
3317
|
+
}), Hs = { class: "text-caption" }, js = { class: "text-caption" }, Rs = /* @__PURE__ */ y({
|
|
3272
3318
|
__name: "VoNotificationsDialog",
|
|
3273
3319
|
props: {
|
|
3274
3320
|
modelValue: { type: Boolean },
|
|
@@ -3276,13 +3322,13 @@ const at = /* @__PURE__ */ _({
|
|
|
3276
3322
|
},
|
|
3277
3323
|
emits: ["update:modelValue"],
|
|
3278
3324
|
setup(p) {
|
|
3279
|
-
const t = ie(), a = Ce(), o = Qe(),
|
|
3325
|
+
const t = ie(), a = Ce(), o = Qe(), r = Fe(), u = O(), i = U(), l = M(["read"]), d = W(p, "modelValue");
|
|
3280
3326
|
function f() {
|
|
3281
|
-
const
|
|
3282
|
-
|
|
3327
|
+
const g = r.unread.map((b) => b.slug);
|
|
3328
|
+
i.one.notifications.read.push(...g);
|
|
3283
3329
|
}
|
|
3284
|
-
function
|
|
3285
|
-
|
|
3330
|
+
function _() {
|
|
3331
|
+
i.one.notifications.read = [];
|
|
3286
3332
|
}
|
|
3287
3333
|
return H(a, async () => {
|
|
3288
3334
|
if (a.value.one !== "notifications") {
|
|
@@ -3290,36 +3336,36 @@ const at = /* @__PURE__ */ _({
|
|
|
3290
3336
|
return;
|
|
3291
3337
|
}
|
|
3292
3338
|
u.isOpen = !0, await be(), d.value = !0;
|
|
3293
|
-
}, { immediate: !0 }), (
|
|
3294
|
-
const $ = G, L =
|
|
3339
|
+
}, { immediate: !0 }), (g, b) => {
|
|
3340
|
+
const $ = G, L = Ns, P = Ps, Q = de;
|
|
3295
3341
|
return c(), m(Q, {
|
|
3296
3342
|
modelValue: d.value,
|
|
3297
|
-
"onUpdate:modelValue":
|
|
3298
|
-
"prepend-icon": `svg:${e(
|
|
3343
|
+
"onUpdate:modelValue": b[2] || (b[2] = (x) => d.value = x),
|
|
3344
|
+
"prepend-icon": `svg:${e(Po)}`,
|
|
3299
3345
|
title: "Notifications"
|
|
3300
3346
|
}, {
|
|
3301
3347
|
append: s(() => [
|
|
3302
|
-
e(l)[0] === "read" ? Z((c(), m(
|
|
3348
|
+
e(l)[0] === "read" ? Z((c(), m(D, {
|
|
3303
3349
|
key: 0,
|
|
3304
3350
|
class: "me-2",
|
|
3305
3351
|
density: "comfortable",
|
|
3306
|
-
disabled: e(
|
|
3307
|
-
icon: `svg:${e(
|
|
3352
|
+
disabled: e(r).unread.length === 0,
|
|
3353
|
+
icon: `svg:${e(qe)}`,
|
|
3308
3354
|
size: "small",
|
|
3309
3355
|
variant: "text",
|
|
3310
3356
|
onClick: f
|
|
3311
3357
|
}, null, 8, ["disabled", "icon"])), [
|
|
3312
3358
|
[X, "Mark All as Read", "start"]
|
|
3313
3359
|
]) : h("", !0),
|
|
3314
|
-
e(l)[0] === "unread" ? Z((c(), m(
|
|
3360
|
+
e(l)[0] === "unread" ? Z((c(), m(D, {
|
|
3315
3361
|
key: 1,
|
|
3316
3362
|
class: "me-2",
|
|
3317
3363
|
density: "comfortable",
|
|
3318
|
-
disabled: e(
|
|
3319
|
-
icon: `svg:${e(
|
|
3364
|
+
disabled: e(r).read.length === 0,
|
|
3365
|
+
icon: `svg:${e(Ge)}`,
|
|
3320
3366
|
size: "small",
|
|
3321
3367
|
variant: "text",
|
|
3322
|
-
onClick:
|
|
3368
|
+
onClick: _
|
|
3323
3369
|
}, null, 8, ["disabled", "icon"])), [
|
|
3324
3370
|
[X, "Mark All as Unread", "start"]
|
|
3325
3371
|
]) : h("", !0)
|
|
@@ -3327,7 +3373,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3327
3373
|
default: s(() => [
|
|
3328
3374
|
n(ue, null, {
|
|
3329
3375
|
default: s(() => [
|
|
3330
|
-
n(
|
|
3376
|
+
n(cn, {
|
|
3331
3377
|
location: e(t).mobile.value ? "top" : "start",
|
|
3332
3378
|
permanent: "",
|
|
3333
3379
|
width: e(t).mobile.value ? 128 : 168
|
|
@@ -3335,7 +3381,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3335
3381
|
default: s(() => [
|
|
3336
3382
|
n(ne, {
|
|
3337
3383
|
selected: e(l),
|
|
3338
|
-
"onUpdate:selected":
|
|
3384
|
+
"onUpdate:selected": b[0] || (b[0] = (x) => j(l) ? l.value = x : null),
|
|
3339
3385
|
class: "px-4 pt-4",
|
|
3340
3386
|
density: "compact",
|
|
3341
3387
|
mandatory: "",
|
|
@@ -3343,39 +3389,39 @@ const at = /* @__PURE__ */ _({
|
|
|
3343
3389
|
}, {
|
|
3344
3390
|
default: s(() => [
|
|
3345
3391
|
n($, {
|
|
3346
|
-
"prepend-icon": `svg:${e(
|
|
3392
|
+
"prepend-icon": `svg:${e(Oo)}`,
|
|
3347
3393
|
title: "Unread",
|
|
3348
3394
|
value: "read"
|
|
3349
|
-
},
|
|
3350
|
-
e(
|
|
3395
|
+
}, T({ _: 2 }, [
|
|
3396
|
+
e(r).unread.length > 0 ? {
|
|
3351
3397
|
name: "append",
|
|
3352
3398
|
fn: s(() => [
|
|
3353
|
-
|
|
3399
|
+
v("span", Hs, V(e(r).unread.length), 1)
|
|
3354
3400
|
]),
|
|
3355
3401
|
key: "0"
|
|
3356
3402
|
} : void 0
|
|
3357
3403
|
]), 1032, ["prepend-icon"]),
|
|
3358
3404
|
n($, {
|
|
3359
|
-
"prepend-icon": `svg:${e(
|
|
3405
|
+
"prepend-icon": `svg:${e(zo)}`,
|
|
3360
3406
|
title: "Read",
|
|
3361
3407
|
value: "unread"
|
|
3362
|
-
},
|
|
3363
|
-
e(
|
|
3408
|
+
}, T({ _: 2 }, [
|
|
3409
|
+
e(r).read.length > 0 ? {
|
|
3364
3410
|
name: "append",
|
|
3365
3411
|
fn: s(() => [
|
|
3366
|
-
|
|
3412
|
+
v("span", js, V(e(r).read.length), 1)
|
|
3367
3413
|
]),
|
|
3368
3414
|
key: "0"
|
|
3369
3415
|
} : void 0
|
|
3370
3416
|
]), 1032, ["prepend-icon"]),
|
|
3371
|
-
e(o).all.length > 0 && e(
|
|
3417
|
+
e(o).all.length > 0 && e(i).one.banners.enabled ? (c(), m($, {
|
|
3372
3418
|
key: 0,
|
|
3373
|
-
"prepend-icon": `svg:${e(
|
|
3419
|
+
"prepend-icon": `svg:${e(Bo)}`,
|
|
3374
3420
|
title: "Banners",
|
|
3375
3421
|
value: "banners"
|
|
3376
3422
|
}, {
|
|
3377
3423
|
append: s(() => [
|
|
3378
|
-
n(
|
|
3424
|
+
n(Ye, {
|
|
3379
3425
|
dot: "",
|
|
3380
3426
|
"offset-y": "-3"
|
|
3381
3427
|
})
|
|
@@ -3390,30 +3436,30 @@ const at = /* @__PURE__ */ _({
|
|
|
3390
3436
|
}, 8, ["location", "width"]),
|
|
3391
3437
|
n(ce, { scrollable: "" }, {
|
|
3392
3438
|
default: s(() => [
|
|
3393
|
-
n(
|
|
3439
|
+
n($t, {
|
|
3394
3440
|
modelValue: e(l),
|
|
3395
|
-
"onUpdate:modelValue":
|
|
3441
|
+
"onUpdate:modelValue": b[1] || (b[1] = (x) => j(l) ? l.value = x : null)
|
|
3396
3442
|
}, {
|
|
3397
3443
|
default: s(() => [
|
|
3398
|
-
n(
|
|
3444
|
+
n(_e, { value: "read" }, {
|
|
3399
3445
|
default: s(() => [
|
|
3400
3446
|
n(L, {
|
|
3401
|
-
items: e(
|
|
3447
|
+
items: e(r).unread
|
|
3402
3448
|
}, null, 8, ["items"])
|
|
3403
3449
|
]),
|
|
3404
3450
|
_: 1
|
|
3405
3451
|
}),
|
|
3406
|
-
n(
|
|
3452
|
+
n(_e, { value: "unread" }, {
|
|
3407
3453
|
default: s(() => [
|
|
3408
3454
|
n(L, {
|
|
3409
|
-
items: e(
|
|
3455
|
+
items: e(r).read
|
|
3410
3456
|
}, null, 8, ["items"])
|
|
3411
3457
|
]),
|
|
3412
3458
|
_: 1
|
|
3413
3459
|
}),
|
|
3414
|
-
n(
|
|
3460
|
+
n(_e, { value: "banners" }, {
|
|
3415
3461
|
default: s(() => [
|
|
3416
|
-
n(
|
|
3462
|
+
n(P, {
|
|
3417
3463
|
items: e(o).all
|
|
3418
3464
|
}, null, 8, ["items"])
|
|
3419
3465
|
]),
|
|
@@ -3433,11 +3479,11 @@ const at = /* @__PURE__ */ _({
|
|
|
3433
3479
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
3434
3480
|
};
|
|
3435
3481
|
}
|
|
3436
|
-
}),
|
|
3482
|
+
}), qs = /* @__PURE__ */ y({
|
|
3437
3483
|
__name: "VoNotificationsBadge",
|
|
3438
3484
|
setup(p) {
|
|
3439
|
-
const t =
|
|
3440
|
-
return (o,
|
|
3485
|
+
const t = Fe(), a = U();
|
|
3486
|
+
return (o, r) => (c(), m(Ye, {
|
|
3441
3487
|
color: "error",
|
|
3442
3488
|
content: e(t).unread.length,
|
|
3443
3489
|
"model-value": e(a).one.notifications.enabled && e(t).unread.length > 0
|
|
@@ -3448,22 +3494,22 @@ const at = /* @__PURE__ */ _({
|
|
|
3448
3494
|
_: 3
|
|
3449
3495
|
}, 8, ["content", "model-value"]));
|
|
3450
3496
|
}
|
|
3451
|
-
}),
|
|
3497
|
+
}), Gs = /* @__PURE__ */ y({
|
|
3452
3498
|
__name: "VoNotificationsNavItem",
|
|
3453
3499
|
setup(p) {
|
|
3454
|
-
const t =
|
|
3455
|
-
return
|
|
3500
|
+
const t = U(), a = Fe(), o = M(!1);
|
|
3501
|
+
return Ae(() => {
|
|
3456
3502
|
a.index();
|
|
3457
|
-
}), (
|
|
3458
|
-
const
|
|
3503
|
+
}), (r, u) => {
|
|
3504
|
+
const i = qs, l = Rs, d = G;
|
|
3459
3505
|
return e(t).one.notifications.enabled ? (c(), m(d, {
|
|
3460
3506
|
key: 0,
|
|
3461
3507
|
active: e(o),
|
|
3462
3508
|
link: "",
|
|
3463
|
-
"prepend-icon": `svg:${e(
|
|
3509
|
+
"prepend-icon": `svg:${e(Eo)}`,
|
|
3464
3510
|
rounded: "lg",
|
|
3465
3511
|
title: "Notifications"
|
|
3466
|
-
},
|
|
3512
|
+
}, T({
|
|
3467
3513
|
default: s(() => [
|
|
3468
3514
|
n(l, {
|
|
3469
3515
|
modelValue: e(o),
|
|
@@ -3475,7 +3521,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3475
3521
|
e(a).unread.length > 0 ? {
|
|
3476
3522
|
name: "prepend",
|
|
3477
3523
|
fn: s(() => [
|
|
3478
|
-
n(
|
|
3524
|
+
n(i, null, {
|
|
3479
3525
|
default: s(() => [
|
|
3480
3526
|
n(I)
|
|
3481
3527
|
]),
|
|
@@ -3487,19 +3533,19 @@ const at = /* @__PURE__ */ _({
|
|
|
3487
3533
|
]), 1032, ["active", "prepend-icon"])) : h("", !0);
|
|
3488
3534
|
};
|
|
3489
3535
|
}
|
|
3490
|
-
}),
|
|
3536
|
+
}), Ws = /* @__PURE__ */ y({
|
|
3491
3537
|
__name: "VoDashboardNavItem",
|
|
3492
3538
|
setup(p) {
|
|
3493
|
-
const t =
|
|
3539
|
+
const t = O();
|
|
3494
3540
|
function a() {
|
|
3495
3541
|
setTimeout(() => {
|
|
3496
3542
|
t.isOpen = !1;
|
|
3497
3543
|
}, 100);
|
|
3498
3544
|
}
|
|
3499
|
-
return (o,
|
|
3545
|
+
return (o, r) => {
|
|
3500
3546
|
const u = G;
|
|
3501
3547
|
return c(), m(u, {
|
|
3502
|
-
"prepend-icon": `svg:${e(
|
|
3548
|
+
"prepend-icon": `svg:${e(Fo)}`,
|
|
3503
3549
|
rounded: "lg",
|
|
3504
3550
|
title: "Dashboard",
|
|
3505
3551
|
to: "/user/dashboard",
|
|
@@ -3507,37 +3553,37 @@ const at = /* @__PURE__ */ _({
|
|
|
3507
3553
|
}, null, 8, ["prepend-icon"]);
|
|
3508
3554
|
};
|
|
3509
3555
|
}
|
|
3510
|
-
}),
|
|
3556
|
+
}), Ks = /* @__PURE__ */ y({
|
|
3511
3557
|
__name: "VoUserList",
|
|
3512
3558
|
setup(p) {
|
|
3513
|
-
const t =
|
|
3514
|
-
return (
|
|
3515
|
-
const
|
|
3559
|
+
const t = B(), a = O(), o = De();
|
|
3560
|
+
return (r, u) => {
|
|
3561
|
+
const i = Ws, l = Gs, d = Ms, f = Ss, _ = Vs, g = hs, b = ls, $ = Hn, L = Tn, P = xn;
|
|
3516
3562
|
return c(), m(ne, {
|
|
3517
3563
|
density: "compact",
|
|
3518
3564
|
nav: "",
|
|
3519
3565
|
slim: ""
|
|
3520
3566
|
}, {
|
|
3521
3567
|
default: s(() => [
|
|
3522
|
-
e(t).user ? (c(), m(
|
|
3568
|
+
e(t).user ? (c(), m(i, { key: 0 })) : h("", !0),
|
|
3523
3569
|
n(l),
|
|
3524
3570
|
n(d),
|
|
3525
3571
|
e(o).hasTeamAccess ? (c(), m(f, { key: 1 })) : h("", !0),
|
|
3526
|
-
e(a).shopify ? (c(), m(
|
|
3527
|
-
n(
|
|
3528
|
-
e(t).user ? (c(), m(
|
|
3572
|
+
e(a).shopify ? (c(), m(_, { key: 2 })) : h("", !0),
|
|
3573
|
+
n(g),
|
|
3574
|
+
e(t).user ? (c(), m(b, { key: 3 })) : h("", !0),
|
|
3529
3575
|
e(a).isSubscriber ? (c(), m($, { key: 4 })) : h("", !0),
|
|
3530
3576
|
n(L),
|
|
3531
|
-
e(t).user ? (c(), m(
|
|
3577
|
+
e(t).user ? (c(), m(P, { key: 5 })) : h("", !0)
|
|
3532
3578
|
]),
|
|
3533
3579
|
_: 1
|
|
3534
3580
|
});
|
|
3535
3581
|
};
|
|
3536
3582
|
}
|
|
3537
|
-
}),
|
|
3583
|
+
}), Ys = { class: "mb-2" }, Qs = { key: 0 }, Xs = { class: "d-flex ga-4 flex-wrap justify-center mb-4" }, Js = { class: "text-h6" }, ea = /* @__PURE__ */ y({
|
|
3538
3584
|
__name: "VoUserAvatar",
|
|
3539
3585
|
setup(p) {
|
|
3540
|
-
const t =
|
|
3586
|
+
const t = B(), a = O(), o = U(), r = M(!1), u = C(() => {
|
|
3541
3587
|
const d = [
|
|
3542
3588
|
"https://cdn.vuetifyjs.com/docs/images/avatars/dark.png",
|
|
3543
3589
|
"https://cdn.vuetifyjs.com/docs/images/avatars/blackguard.png",
|
|
@@ -3556,15 +3602,15 @@ const at = /* @__PURE__ */ _({
|
|
|
3556
3602
|
];
|
|
3557
3603
|
return a.isSubscriber && d.unshift("https://cdn.vuetifyjs.com/docs/images/avatars/one.png"), t.user && d.unshift(t.user.picture), d;
|
|
3558
3604
|
});
|
|
3559
|
-
function
|
|
3605
|
+
function i(d) {
|
|
3560
3606
|
o.one.avatar = d;
|
|
3561
3607
|
}
|
|
3562
3608
|
function l() {
|
|
3563
|
-
a.isSubscriber && (
|
|
3609
|
+
a.isSubscriber && (r.value = !r.value);
|
|
3564
3610
|
}
|
|
3565
3611
|
return (d, f) => (c(), k("div", null, [
|
|
3566
3612
|
Z((c(), m(oe, {
|
|
3567
|
-
class:
|
|
3613
|
+
class: Rt([
|
|
3568
3614
|
"border-md border-opacity-100 border-surface-light",
|
|
3569
3615
|
{
|
|
3570
3616
|
"cursor-pointer": e(a).isSubscriber
|
|
@@ -3573,10 +3619,10 @@ const at = /* @__PURE__ */ _({
|
|
|
3573
3619
|
color: "surface",
|
|
3574
3620
|
size: "72",
|
|
3575
3621
|
text: "Foobar",
|
|
3576
|
-
onClick:
|
|
3622
|
+
onClick: ye(l, ["prevent", "stop"])
|
|
3577
3623
|
}, {
|
|
3578
3624
|
default: s(() => [
|
|
3579
|
-
e(t).user && e(o).one.avatar ? (c(), m(
|
|
3625
|
+
e(t).user && e(o).one.avatar ? (c(), m(ae, {
|
|
3580
3626
|
key: 0,
|
|
3581
3627
|
alt: "User avatar",
|
|
3582
3628
|
src: e(o).one.avatar
|
|
@@ -3589,30 +3635,30 @@ const at = /* @__PURE__ */ _({
|
|
|
3589
3635
|
]),
|
|
3590
3636
|
_: 1
|
|
3591
3637
|
}, 8, ["class"])), [
|
|
3592
|
-
[
|
|
3638
|
+
[tn, e(a).isSubscriber]
|
|
3593
3639
|
]),
|
|
3594
|
-
|
|
3640
|
+
v("div", Ys, [
|
|
3595
3641
|
n(Le, null, {
|
|
3596
3642
|
default: s(() => [
|
|
3597
|
-
e(
|
|
3643
|
+
e(r) ? (c(), k("div", Qs, [
|
|
3598
3644
|
n(z, {
|
|
3599
3645
|
class: "pt-6 pb-1",
|
|
3600
3646
|
flat: "",
|
|
3601
3647
|
rounded: "0"
|
|
3602
3648
|
}, {
|
|
3603
3649
|
default: s(() => [
|
|
3604
|
-
|
|
3605
|
-
(c(!0), k(
|
|
3606
|
-
key:
|
|
3607
|
-
active: e(o).one.avatar ===
|
|
3650
|
+
v("div", Xs, [
|
|
3651
|
+
(c(!0), k(A, null, K(e(u), (_, g) => (c(), m(D, {
|
|
3652
|
+
key: g,
|
|
3653
|
+
active: e(o).one.avatar === _,
|
|
3608
3654
|
icon: "",
|
|
3609
3655
|
variant: "flat",
|
|
3610
|
-
onClick: (
|
|
3656
|
+
onClick: (b) => i(_)
|
|
3611
3657
|
}, {
|
|
3612
3658
|
default: s(() => [
|
|
3613
3659
|
n(oe, {
|
|
3614
3660
|
eager: "",
|
|
3615
|
-
image:
|
|
3661
|
+
image: _
|
|
3616
3662
|
}, null, 8, ["image"])
|
|
3617
3663
|
]),
|
|
3618
3664
|
_: 2
|
|
@@ -3626,14 +3672,14 @@ const at = /* @__PURE__ */ _({
|
|
|
3626
3672
|
_: 1
|
|
3627
3673
|
})
|
|
3628
3674
|
]),
|
|
3629
|
-
|
|
3675
|
+
v("div", Js, V(e(t).user?.name ?? "Guest"), 1)
|
|
3630
3676
|
]));
|
|
3631
3677
|
}
|
|
3632
|
-
}),
|
|
3678
|
+
}), ta = ["href"], oa = /* @__PURE__ */ y({
|
|
3633
3679
|
__name: "VoUserPinnedEcosystem",
|
|
3634
3680
|
setup(p) {
|
|
3635
|
-
const t =
|
|
3636
|
-
return (o,
|
|
3681
|
+
const t = U(), { pinned: a } = Ot();
|
|
3682
|
+
return (o, r) => e(t).one.quicklinks && e(a).length > 0 ? (c(), m($e, {
|
|
3637
3683
|
key: 0,
|
|
3638
3684
|
class: "align-center position-absolute d-flex ga-2 pa-2 me-2",
|
|
3639
3685
|
color: "rgba(0,0,0,.54)",
|
|
@@ -3641,21 +3687,21 @@ const at = /* @__PURE__ */ _({
|
|
|
3641
3687
|
style: { right: "0", top: "8px" }
|
|
3642
3688
|
}, {
|
|
3643
3689
|
default: s(() => [
|
|
3644
|
-
(c(!0), k(
|
|
3690
|
+
(c(!0), k(A, null, K(e(a), (u) => (c(), m(ve, {
|
|
3645
3691
|
key: u.id
|
|
3646
3692
|
}, {
|
|
3647
|
-
default: s(({ isHovering:
|
|
3693
|
+
default: s(({ isHovering: i, props: l }) => [
|
|
3648
3694
|
Z((c(), k("a", R({
|
|
3649
3695
|
class: "d-inline-flex",
|
|
3650
3696
|
href: u.href,
|
|
3651
3697
|
target: "_blank"
|
|
3652
3698
|
}, { ref_for: !0 }, l), [
|
|
3653
3699
|
n(I, {
|
|
3654
|
-
color:
|
|
3700
|
+
color: i ? "primary" : "white",
|
|
3655
3701
|
icon: u.icon,
|
|
3656
3702
|
size: "16"
|
|
3657
3703
|
}, null, 8, ["color", "icon"])
|
|
3658
|
-
], 16,
|
|
3704
|
+
], 16, ta)), [
|
|
3659
3705
|
[X, u.name, "start"]
|
|
3660
3706
|
])
|
|
3661
3707
|
]),
|
|
@@ -3665,11 +3711,11 @@ const at = /* @__PURE__ */ _({
|
|
|
3665
3711
|
_: 1
|
|
3666
3712
|
})) : h("", !0);
|
|
3667
3713
|
}
|
|
3668
|
-
}),
|
|
3714
|
+
}), na = /* @__PURE__ */ y({
|
|
3669
3715
|
__name: "VoUserBadges",
|
|
3670
3716
|
setup(p) {
|
|
3671
|
-
const t =
|
|
3672
|
-
return (
|
|
3717
|
+
const t = B(), a = O(), o = C(() => a.github || a.discord || a.isSubscriber || t.user?.isAdmin);
|
|
3718
|
+
return (r, u) => e(o) ? (c(), m($e, {
|
|
3673
3719
|
key: 0,
|
|
3674
3720
|
class: "align-center position-absolute ms-2 d-flex ga-2 pa-2",
|
|
3675
3721
|
color: "rgba(0,0,0,.54)",
|
|
@@ -3688,7 +3734,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3688
3734
|
e(a).isSubscriber ? Z((c(), m(I, {
|
|
3689
3735
|
key: 1,
|
|
3690
3736
|
color: "amber-darken-2",
|
|
3691
|
-
icon: `svg:${e(
|
|
3737
|
+
icon: `svg:${e(Zo)}`,
|
|
3692
3738
|
size: "16"
|
|
3693
3739
|
}, null, 8, ["icon"])), [
|
|
3694
3740
|
[X, "Vuetify One Subscriber", "bottom"]
|
|
@@ -3713,20 +3759,20 @@ const at = /* @__PURE__ */ _({
|
|
|
3713
3759
|
_: 1
|
|
3714
3760
|
})) : h("", !0);
|
|
3715
3761
|
}
|
|
3716
|
-
}),
|
|
3762
|
+
}), sa = { class: "d-flex flex-grow-1 justify-end fill-height align-start" }, aa = {
|
|
3717
3763
|
key: "reset",
|
|
3718
3764
|
class: "align-self-end"
|
|
3719
|
-
},
|
|
3765
|
+
}, ia = /* @__PURE__ */ y({
|
|
3720
3766
|
__name: "VoUserColors",
|
|
3721
3767
|
setup(p) {
|
|
3722
|
-
const t =
|
|
3768
|
+
const t = B(), a = O(), o = U(), r = M(!1);
|
|
3723
3769
|
function u() {
|
|
3724
3770
|
o.one.colors.primary = "surface-light";
|
|
3725
3771
|
}
|
|
3726
|
-
return (
|
|
3727
|
-
const d =
|
|
3728
|
-
return c(), k(
|
|
3729
|
-
n(
|
|
3772
|
+
return (i, l) => {
|
|
3773
|
+
const d = na, f = oa, _ = we;
|
|
3774
|
+
return c(), k(A, null, [
|
|
3775
|
+
n(ae, {
|
|
3730
3776
|
color: e(t).user ? e(o).one.colors.primary : "surface-light",
|
|
3731
3777
|
"content-class": "d-flex align-start justify-end pa-2",
|
|
3732
3778
|
cover: "",
|
|
@@ -3735,44 +3781,44 @@ const at = /* @__PURE__ */ _({
|
|
|
3735
3781
|
rounded: "0"
|
|
3736
3782
|
}, {
|
|
3737
3783
|
default: s(() => [
|
|
3738
|
-
|
|
3784
|
+
v("div", sa, [
|
|
3739
3785
|
n(d),
|
|
3740
3786
|
n(f),
|
|
3741
|
-
n(
|
|
3787
|
+
n(Qo, null, {
|
|
3742
3788
|
default: s(() => [
|
|
3743
|
-
Z(
|
|
3744
|
-
n(
|
|
3789
|
+
Z(v("div", aa, [
|
|
3790
|
+
n(_, {
|
|
3745
3791
|
class: "ms-2 me-1",
|
|
3746
3792
|
color: "inherit",
|
|
3747
3793
|
density: "comfortable",
|
|
3748
3794
|
disabled: e(o).one.colors.primary === "surface-light",
|
|
3749
|
-
icon: `svg:${e(
|
|
3795
|
+
icon: `svg:${e(No)}`,
|
|
3750
3796
|
title: "Revert to Default",
|
|
3751
3797
|
variant: "text",
|
|
3752
3798
|
onClick: u
|
|
3753
3799
|
}, null, 8, ["disabled", "icon"])
|
|
3754
3800
|
], 512), [
|
|
3755
|
-
[Ie, e(
|
|
3801
|
+
[Ie, e(r)]
|
|
3756
3802
|
])
|
|
3757
3803
|
]),
|
|
3758
3804
|
_: 1
|
|
3759
3805
|
}),
|
|
3760
|
-
e(a).isSubscriber ? (c(), m(
|
|
3806
|
+
e(a).isSubscriber ? (c(), m(_, {
|
|
3761
3807
|
key: 0,
|
|
3762
|
-
active: e(
|
|
3808
|
+
active: e(r),
|
|
3763
3809
|
class: "align-self-end",
|
|
3764
3810
|
color: "inherit",
|
|
3765
3811
|
density: "comfortable",
|
|
3766
|
-
icon: e(
|
|
3812
|
+
icon: e(r) ? `svg:${e(ke)}` : "$edit",
|
|
3767
3813
|
title: "Edit One Header Color",
|
|
3768
|
-
variant: e(
|
|
3769
|
-
onClick: l[0] || (l[0] = (
|
|
3814
|
+
variant: e(r) ? "text" : "plain",
|
|
3815
|
+
onClick: l[0] || (l[0] = (g) => r.value = !e(r))
|
|
3770
3816
|
}, {
|
|
3771
3817
|
default: s(() => [
|
|
3772
3818
|
n(xe, { "leave-absolute": "" }, {
|
|
3773
3819
|
default: s(() => [
|
|
3774
3820
|
(c(), m(I, {
|
|
3775
|
-
key: String(e(
|
|
3821
|
+
key: String(e(r))
|
|
3776
3822
|
}))
|
|
3777
3823
|
]),
|
|
3778
3824
|
_: 1
|
|
@@ -3786,7 +3832,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3786
3832
|
}, 8, ["color"]),
|
|
3787
3833
|
n(Le, null, {
|
|
3788
3834
|
default: s(() => [
|
|
3789
|
-
e(
|
|
3835
|
+
e(r) ? (c(), m(dn, {
|
|
3790
3836
|
key: 0,
|
|
3791
3837
|
elevation: "0",
|
|
3792
3838
|
height: "250",
|
|
@@ -3798,7 +3844,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3798
3844
|
"show-swatches": "",
|
|
3799
3845
|
"swatches-max-height": "200",
|
|
3800
3846
|
width: "278",
|
|
3801
|
-
"onUpdate:modelValue": l[1] || (l[1] = (
|
|
3847
|
+
"onUpdate:modelValue": l[1] || (l[1] = (g) => e(o).one.colors.primary = g)
|
|
3802
3848
|
}, null, 8, ["model-value"])) : h("", !0)
|
|
3803
3849
|
]),
|
|
3804
3850
|
_: 1
|
|
@@ -3806,19 +3852,19 @@ const at = /* @__PURE__ */ _({
|
|
|
3806
3852
|
], 64);
|
|
3807
3853
|
};
|
|
3808
3854
|
}
|
|
3809
|
-
}),
|
|
3855
|
+
}), ra = { class: "text-center mt-n9 mb-4" }, la = /* @__PURE__ */ y({
|
|
3810
3856
|
__name: "VoUserMenu",
|
|
3811
3857
|
setup(p) {
|
|
3812
|
-
const t = Qe(), a =
|
|
3858
|
+
const t = Qe(), a = O(), o = F();
|
|
3813
3859
|
return H(() => t.banner, async () => {
|
|
3814
|
-
await new Promise((
|
|
3815
|
-
}, { flush: "pre" }), (
|
|
3816
|
-
const
|
|
3860
|
+
await new Promise((r) => setTimeout(r, 300)), a.isOpen && o.value?.updateLocation?.();
|
|
3861
|
+
}, { flush: "pre" }), (r, u) => {
|
|
3862
|
+
const i = ia, l = ea, d = Ks, f = Ut;
|
|
3817
3863
|
return c(), m(Pe, {
|
|
3818
3864
|
ref_key: "menu",
|
|
3819
3865
|
ref: o,
|
|
3820
3866
|
modelValue: e(a).isOpen,
|
|
3821
|
-
"onUpdate:modelValue": u[0] || (u[0] = (
|
|
3867
|
+
"onUpdate:modelValue": u[0] || (u[0] = (_) => e(a).isOpen = _),
|
|
3822
3868
|
activator: "parent",
|
|
3823
3869
|
"close-on-click": !1,
|
|
3824
3870
|
"close-on-content-click": !1,
|
|
@@ -3832,8 +3878,8 @@ const at = /* @__PURE__ */ _({
|
|
|
3832
3878
|
width: "280"
|
|
3833
3879
|
}, {
|
|
3834
3880
|
default: s(() => [
|
|
3835
|
-
n(
|
|
3836
|
-
|
|
3881
|
+
n(i),
|
|
3882
|
+
v("div", ra, [
|
|
3837
3883
|
n(l)
|
|
3838
3884
|
]),
|
|
3839
3885
|
n(N),
|
|
@@ -3848,53 +3894,53 @@ const at = /* @__PURE__ */ _({
|
|
|
3848
3894
|
}, 8, ["modelValue"]);
|
|
3849
3895
|
};
|
|
3850
3896
|
}
|
|
3851
|
-
}),
|
|
3897
|
+
}), ua = { class: "me-n3" }, ca = /* @__PURE__ */ y({
|
|
3852
3898
|
__name: "VoTeamInvite",
|
|
3853
3899
|
setup(p) {
|
|
3854
|
-
const t =
|
|
3855
|
-
function o(
|
|
3856
|
-
t.clearTeamQuery(),
|
|
3900
|
+
const t = De(), a = C(() => t.team?.name ?? `${t.team?.owner.name}'s team`);
|
|
3901
|
+
function o(r) {
|
|
3902
|
+
t.clearTeamQuery(), r.value = !1;
|
|
3857
3903
|
}
|
|
3858
|
-
return (
|
|
3904
|
+
return (r, u) => e(t).teamInviteDialog ? (c(), m(Ve, {
|
|
3859
3905
|
key: 0,
|
|
3860
3906
|
modelValue: e(t).teamInviteDialog,
|
|
3861
|
-
"onUpdate:modelValue": u[1] || (u[1] = (
|
|
3907
|
+
"onUpdate:modelValue": u[1] || (u[1] = (i) => e(t).teamInviteDialog = i),
|
|
3862
3908
|
"max-width": "500"
|
|
3863
3909
|
}, {
|
|
3864
|
-
default: s(({ isActive:
|
|
3910
|
+
default: s(({ isActive: i }) => [
|
|
3865
3911
|
n(z, {
|
|
3866
|
-
"prepend-icon": `svg:${e(
|
|
3912
|
+
"prepend-icon": `svg:${e(Ho)}`,
|
|
3867
3913
|
rounded: "lg",
|
|
3868
3914
|
title: "Join a Team"
|
|
3869
3915
|
}, {
|
|
3870
3916
|
append: s(() => [
|
|
3871
|
-
|
|
3872
|
-
n(
|
|
3917
|
+
v("div", ua, [
|
|
3918
|
+
n(D, {
|
|
3873
3919
|
icon: "$close",
|
|
3874
3920
|
size: "x-small",
|
|
3875
3921
|
variant: "text",
|
|
3876
|
-
onClick: (l) => o(
|
|
3922
|
+
onClick: (l) => o(i)
|
|
3877
3923
|
}, null, 8, ["onClick"])
|
|
3878
3924
|
])
|
|
3879
3925
|
]),
|
|
3880
3926
|
text: s(() => [
|
|
3881
3927
|
u[2] || (u[2] = S(" You have been invited to join ", -1)),
|
|
3882
|
-
|
|
3928
|
+
v("strong", null, V(e(a)), 1),
|
|
3883
3929
|
u[3] || (u[3] = S("! ", -1))
|
|
3884
3930
|
]),
|
|
3885
3931
|
default: s(() => [
|
|
3886
3932
|
n(N, { opacity: ".2" }),
|
|
3887
|
-
n(
|
|
3933
|
+
n(ht, { class: "bg-surface-light" }, {
|
|
3888
3934
|
default: s(() => [
|
|
3889
|
-
n(
|
|
3935
|
+
n(D, {
|
|
3890
3936
|
disabled: e(t).isLoading,
|
|
3891
3937
|
rounded: "lg",
|
|
3892
3938
|
text: "Cancel",
|
|
3893
3939
|
variant: "plain",
|
|
3894
|
-
onClick: (l) => o(
|
|
3940
|
+
onClick: (l) => o(i)
|
|
3895
3941
|
}, null, 8, ["disabled", "onClick"]),
|
|
3896
|
-
n(
|
|
3897
|
-
n(
|
|
3942
|
+
n(bt),
|
|
3943
|
+
n(D, {
|
|
3898
3944
|
"append-icon": "$success",
|
|
3899
3945
|
color: "success",
|
|
3900
3946
|
disabled: e(t).isLoading,
|
|
@@ -3913,24 +3959,24 @@ const at = /* @__PURE__ */ _({
|
|
|
3913
3959
|
_: 1
|
|
3914
3960
|
}, 8, ["modelValue"])) : h("", !0);
|
|
3915
3961
|
}
|
|
3916
|
-
}),
|
|
3962
|
+
}), da = { key: 0 }, Bt = /* @__PURE__ */ y({
|
|
3917
3963
|
__name: "VoAuthBtn",
|
|
3918
3964
|
props: {
|
|
3919
3965
|
external: Boolean
|
|
3920
3966
|
},
|
|
3921
3967
|
setup(p) {
|
|
3922
|
-
const t =
|
|
3923
|
-
function
|
|
3968
|
+
const t = B(), a = Fe(), o = O(), r = U(), { lgAndUp: u, smAndUp: i } = ie(), l = C(() => o.isOpen || !t.user ? r.one.colors.primary === "surface-light" ? "primary" : r.one.colors.primary : "surface-light"), d = ge(() => r.one.notifications.enabled && a.unread.length > 0), f = ge(() => o.isSubscriber && !r.ecosystem.mcp.seen), _ = ge(() => !!t.user && (d.value || f.value)), g = ge(() => f.value ? "success" : "error");
|
|
3969
|
+
function b() {
|
|
3924
3970
|
t.user || (t.dialog = !0);
|
|
3925
3971
|
}
|
|
3926
3972
|
return ($, L) => {
|
|
3927
|
-
const
|
|
3928
|
-
return c(), k(
|
|
3929
|
-
n(
|
|
3930
|
-
color: e(
|
|
3973
|
+
const P = la, Q = we, x = Tt, pe = vn;
|
|
3974
|
+
return c(), k(A, null, [
|
|
3975
|
+
n(Ye, {
|
|
3976
|
+
color: e(g),
|
|
3931
3977
|
dot: "",
|
|
3932
3978
|
location: "end top",
|
|
3933
|
-
"model-value": e(
|
|
3979
|
+
"model-value": e(_),
|
|
3934
3980
|
"offset-x": e(t).user ? -2 : 0,
|
|
3935
3981
|
"offset-y": e(t).user ? 5 : 0
|
|
3936
3982
|
}, {
|
|
@@ -3942,24 +3988,24 @@ const at = /* @__PURE__ */ _({
|
|
|
3942
3988
|
border: !!e(t).user,
|
|
3943
3989
|
class: "vo-auth-btn",
|
|
3944
3990
|
color: e(l),
|
|
3945
|
-
icon: e(t).user || e(t).isLoading || !e(
|
|
3991
|
+
icon: e(t).user || e(t).isLoading || !e(i),
|
|
3946
3992
|
loading: e(t).isLoading,
|
|
3947
|
-
size: e(
|
|
3993
|
+
size: e(i) ? "default" : "small",
|
|
3948
3994
|
style: { transition: ".2s ease" },
|
|
3949
3995
|
variant: e(t).user ? e(o).isOpen ? "outlined" : "text" : "flat",
|
|
3950
|
-
onClick:
|
|
3996
|
+
onClick: b
|
|
3951
3997
|
}), {
|
|
3952
3998
|
default: s(() => [
|
|
3953
3999
|
e(t).user ? (c(), m(oe, {
|
|
3954
4000
|
key: 0,
|
|
3955
|
-
image: e(
|
|
3956
|
-
}, null, 8, ["image"])) : (c(), k(
|
|
3957
|
-
e(
|
|
4001
|
+
image: e(r).one.avatar || e(t).user.picture || ""
|
|
4002
|
+
}, null, 8, ["image"])) : (c(), k(A, { key: 1 }, [
|
|
4003
|
+
e(i) ? (c(), k("span", da, "Login")) : (c(), m(I, {
|
|
3958
4004
|
key: 1,
|
|
3959
4005
|
icon: `svg:${e(nt)}`
|
|
3960
4006
|
}, null, 8, ["icon"]))
|
|
3961
4007
|
], 64)),
|
|
3962
|
-
e(t).user ? (c(), m(
|
|
4008
|
+
e(t).user ? (c(), m(P, { key: 2 })) : h("", !0)
|
|
3963
4009
|
]),
|
|
3964
4010
|
_: 1
|
|
3965
4011
|
}, 16, ["border", "color", "icon", "loading", "size", "variant"])
|
|
@@ -3967,18 +4013,18 @@ const at = /* @__PURE__ */ _({
|
|
|
3967
4013
|
_: 1
|
|
3968
4014
|
}, 8, ["color", "model-value", "offset-x", "offset-y"]),
|
|
3969
4015
|
n(x),
|
|
3970
|
-
n(
|
|
4016
|
+
n(ca),
|
|
3971
4017
|
n(pe)
|
|
3972
4018
|
], 64);
|
|
3973
4019
|
};
|
|
3974
4020
|
}
|
|
3975
|
-
}),
|
|
4021
|
+
}), pa = {
|
|
3976
4022
|
key: 0,
|
|
3977
4023
|
class: "mb-3"
|
|
3978
|
-
},
|
|
4024
|
+
}, ma = { class: "text-h6 mb-3" }, fa = {
|
|
3979
4025
|
key: 3,
|
|
3980
4026
|
class: "mt-2"
|
|
3981
|
-
},
|
|
4027
|
+
}, va = { class: "mt-2" }, ga = /* @__PURE__ */ y({
|
|
3982
4028
|
__name: "VoMobileMenu",
|
|
3983
4029
|
props: {
|
|
3984
4030
|
modelValue: { type: Boolean },
|
|
@@ -3987,17 +4033,17 @@ const at = /* @__PURE__ */ _({
|
|
|
3987
4033
|
emits: ["update:modelValue"],
|
|
3988
4034
|
setup(p) {
|
|
3989
4035
|
const t = W(p, "modelValue"), a = ut();
|
|
3990
|
-
return (o,
|
|
4036
|
+
return (o, r) => (c(), m(Pe, {
|
|
3991
4037
|
modelValue: t.value,
|
|
3992
|
-
"onUpdate:modelValue":
|
|
4038
|
+
"onUpdate:modelValue": r[0] || (r[0] = (u) => t.value = u),
|
|
3993
4039
|
"close-on-content-click": !1,
|
|
3994
4040
|
"max-height": 500,
|
|
3995
4041
|
"min-width": 300
|
|
3996
4042
|
}, {
|
|
3997
4043
|
activator: s(({ props: u }) => [
|
|
3998
4044
|
w(o.$slots, "activator", ct(dt(u)), () => [
|
|
3999
|
-
n(
|
|
4000
|
-
icon: `svg:${e(
|
|
4045
|
+
n(D, R(u, {
|
|
4046
|
+
icon: `svg:${e(jo)}`,
|
|
4001
4047
|
size: "small"
|
|
4002
4048
|
}), null, 16, ["icon"])
|
|
4003
4049
|
])
|
|
@@ -4008,25 +4054,25 @@ const at = /* @__PURE__ */ _({
|
|
|
4008
4054
|
rounded: "lg"
|
|
4009
4055
|
}, {
|
|
4010
4056
|
default: s(() => [
|
|
4011
|
-
a.prepend ? (c(), k("div",
|
|
4057
|
+
a.prepend ? (c(), k("div", pa, [
|
|
4012
4058
|
w(o.$slots, "prepend")
|
|
4013
4059
|
])) : h("", !0),
|
|
4014
|
-
a.title ? (c(), k(
|
|
4060
|
+
a.title ? (c(), k(A, { key: 1 }, [
|
|
4015
4061
|
a.prepend ? (c(), m(N, {
|
|
4016
4062
|
key: 0,
|
|
4017
4063
|
class: "mb-3"
|
|
4018
4064
|
})) : h("", !0),
|
|
4019
|
-
|
|
4065
|
+
v("div", ma, [
|
|
4020
4066
|
w(o.$slots, "title")
|
|
4021
4067
|
])
|
|
4022
4068
|
], 64)) : h("", !0),
|
|
4023
4069
|
a.default ? w(o.$slots, "default", { key: 2 }) : h("", !0),
|
|
4024
|
-
a.extension ? (c(), k("div",
|
|
4070
|
+
a.extension ? (c(), k("div", fa, [
|
|
4025
4071
|
w(o.$slots, "extension")
|
|
4026
4072
|
])) : h("", !0),
|
|
4027
|
-
a.append ? (c(), k(
|
|
4073
|
+
a.append ? (c(), k(A, { key: 4 }, [
|
|
4028
4074
|
n(N, { class: "my-3" }),
|
|
4029
|
-
|
|
4075
|
+
v("div", va, [
|
|
4030
4076
|
w(o.$slots, "append")
|
|
4031
4077
|
])
|
|
4032
4078
|
], 64)) : h("", !0)
|
|
@@ -4037,7 +4083,7 @@ const at = /* @__PURE__ */ _({
|
|
|
4037
4083
|
_: 3
|
|
4038
4084
|
}, 8, ["modelValue"]));
|
|
4039
4085
|
}
|
|
4040
|
-
}),
|
|
4086
|
+
}), _a = /* @__PURE__ */ y({
|
|
4041
4087
|
__name: "VoAppBar",
|
|
4042
4088
|
props: /* @__PURE__ */ rt({
|
|
4043
4089
|
logo: {},
|
|
@@ -4048,21 +4094,21 @@ const at = /* @__PURE__ */ _({
|
|
|
4048
4094
|
}),
|
|
4049
4095
|
emits: ["update:mobileMenu"],
|
|
4050
4096
|
setup(p) {
|
|
4051
|
-
const t = p, a = W(p, "mobileMenu"), o = ut(),
|
|
4052
|
-
return (f,
|
|
4053
|
-
const
|
|
4054
|
-
return c(), m(
|
|
4097
|
+
const t = p, a = W(p, "mobileMenu"), o = ut(), r = Ue(), u = Oe(), { mobile: i } = ie(), l = C(() => t.responsive == !0 && i.value), d = C(() => `https://cdn.vuetifyjs.com/docs/images/one/logos/${t.logo}-logo-${r.current.value.dark ? "dark" : "light"}.png`);
|
|
4098
|
+
return (f, _) => {
|
|
4099
|
+
const g = lt("router-link"), b = ga, $ = Bt;
|
|
4100
|
+
return c(), m(Lt, {
|
|
4055
4101
|
class: "border-b",
|
|
4056
4102
|
image: e(u).suit["app-bar"],
|
|
4057
4103
|
name: "vo-app-bar"
|
|
4058
|
-
},
|
|
4104
|
+
}, T({
|
|
4059
4105
|
prepend: s(() => [
|
|
4060
|
-
n(
|
|
4106
|
+
n(g, {
|
|
4061
4107
|
class: "ps-2 ps-md-5",
|
|
4062
4108
|
to: "/"
|
|
4063
4109
|
}, {
|
|
4064
4110
|
default: s(() => [
|
|
4065
|
-
n(
|
|
4111
|
+
n(ae, {
|
|
4066
4112
|
src: e(d),
|
|
4067
4113
|
width: "128"
|
|
4068
4114
|
}, null, 8, ["src"])
|
|
@@ -4074,20 +4120,20 @@ const at = /* @__PURE__ */ _({
|
|
|
4074
4120
|
]),
|
|
4075
4121
|
append: s(() => [
|
|
4076
4122
|
w(f.$slots, "append-fixed"),
|
|
4077
|
-
e(l) ? (c(), m(
|
|
4123
|
+
e(l) ? (c(), m(b, {
|
|
4078
4124
|
key: 0,
|
|
4079
4125
|
modelValue: a.value,
|
|
4080
|
-
"onUpdate:modelValue":
|
|
4081
|
-
},
|
|
4126
|
+
"onUpdate:modelValue": _[0] || (_[0] = (L) => a.value = L)
|
|
4127
|
+
}, T({
|
|
4082
4128
|
activator: s((L) => [
|
|
4083
4129
|
w(f.$slots, "menu-activator", ct(dt(L)))
|
|
4084
4130
|
]),
|
|
4085
4131
|
_: 2
|
|
4086
4132
|
}, [
|
|
4087
|
-
K(o, (L,
|
|
4088
|
-
name:
|
|
4133
|
+
K(o, (L, P) => ({
|
|
4134
|
+
name: P,
|
|
4089
4135
|
fn: s(() => [
|
|
4090
|
-
w(f.$slots,
|
|
4136
|
+
w(f.$slots, P)
|
|
4091
4137
|
])
|
|
4092
4138
|
}))
|
|
4093
4139
|
]), 1032, ["modelValue"])) : w(f.$slots, "append", { key: 1 }),
|
|
@@ -4098,7 +4144,7 @@ const at = /* @__PURE__ */ _({
|
|
|
4098
4144
|
vertical: ""
|
|
4099
4145
|
})) : h("", !0),
|
|
4100
4146
|
n($),
|
|
4101
|
-
|
|
4147
|
+
_[1] || (_[1] = v("div", { class: "pe-md-3" }, null, -1))
|
|
4102
4148
|
]),
|
|
4103
4149
|
default: s(() => [
|
|
4104
4150
|
e(l) ? h("", !0) : w(f.$slots, "default", { key: 0 })
|
|
@@ -4122,7 +4168,7 @@ const at = /* @__PURE__ */ _({
|
|
|
4122
4168
|
]), 1032, ["image"]);
|
|
4123
4169
|
};
|
|
4124
4170
|
}
|
|
4125
|
-
}),
|
|
4171
|
+
}), ya = ["id"], ha = /* @__PURE__ */ y({
|
|
4126
4172
|
__name: "VoScript",
|
|
4127
4173
|
props: {
|
|
4128
4174
|
id: {
|
|
@@ -4140,36 +4186,36 @@ const at = /* @__PURE__ */ _({
|
|
|
4140
4186
|
},
|
|
4141
4187
|
emits: ["script:error", "script:load"],
|
|
4142
4188
|
setup(p, { emit: t }) {
|
|
4143
|
-
const a = p, o = t,
|
|
4144
|
-
return
|
|
4145
|
-
const
|
|
4146
|
-
|
|
4147
|
-
}),
|
|
4148
|
-
u.value &&
|
|
4149
|
-
}),
|
|
4150
|
-
u.value &&
|
|
4151
|
-
}), (
|
|
4189
|
+
const a = p, o = t, r = F(), u = F();
|
|
4190
|
+
return je(async () => {
|
|
4191
|
+
const i = document.createElement("script"), l = () => o("script:error");
|
|
4192
|
+
i.type = "text/javascript", i.id = a.scriptId, i.src = a.src, i.addEventListener("load", () => o("script:load")), i.onerror = l, u.value = i;
|
|
4193
|
+
}), Ae(() => {
|
|
4194
|
+
u.value && r.value && r.value.append(u.value);
|
|
4195
|
+
}), qt(() => {
|
|
4196
|
+
u.value && r.value && u.value.remove();
|
|
4197
|
+
}), (i, l) => (c(), k("div", {
|
|
4152
4198
|
id: p.id,
|
|
4153
4199
|
ref_key: "rootEl",
|
|
4154
|
-
ref:
|
|
4155
|
-
}, null, 8,
|
|
4200
|
+
ref: r
|
|
4201
|
+
}, null, 8, ya));
|
|
4156
4202
|
}
|
|
4157
|
-
}),
|
|
4203
|
+
}), ba = {
|
|
4158
4204
|
key: 0,
|
|
4159
4205
|
class: "v-footer__image"
|
|
4160
|
-
},
|
|
4206
|
+
}, Ca = /* @__PURE__ */ y({
|
|
4161
4207
|
__name: "VoFooter",
|
|
4162
4208
|
props: {
|
|
4163
4209
|
image: {}
|
|
4164
4210
|
},
|
|
4165
4211
|
setup(p) {
|
|
4166
|
-
return (t, a) => (c(), m(
|
|
4212
|
+
return (t, a) => (c(), m(pn, {
|
|
4167
4213
|
class: "vo-footer",
|
|
4168
4214
|
height: "40"
|
|
4169
4215
|
}, {
|
|
4170
4216
|
default: s(() => [
|
|
4171
|
-
t.image || t.$slots.image ? (c(), k("div",
|
|
4172
|
-
t.$slots.image ? w(t.$slots, "image", { key: 0 }, void 0, !0) : (c(), m(
|
|
4217
|
+
t.image || t.$slots.image ? (c(), k("div", ba, [
|
|
4218
|
+
t.$slots.image ? w(t.$slots, "image", { key: 0 }, void 0, !0) : (c(), m(ae, {
|
|
4173
4219
|
key: 1,
|
|
4174
4220
|
cover: "",
|
|
4175
4221
|
position: "left",
|
|
@@ -4183,16 +4229,16 @@ const at = /* @__PURE__ */ _({
|
|
|
4183
4229
|
}
|
|
4184
4230
|
}), Xe = (p, t) => {
|
|
4185
4231
|
const a = p.__vccOpts || p;
|
|
4186
|
-
for (const [o,
|
|
4187
|
-
a[o] =
|
|
4232
|
+
for (const [o, r] of t)
|
|
4233
|
+
a[o] = r;
|
|
4188
4234
|
return a;
|
|
4189
|
-
},
|
|
4235
|
+
}, Et = /* @__PURE__ */ Xe(Ca, [["__scopeId", "data-v-31335c0a"]]), ka = ["href", "title"], Va = {
|
|
4190
4236
|
class: "text-caption text-disabled",
|
|
4191
4237
|
style: { position: "absolute", right: "16px" }
|
|
4192
|
-
},
|
|
4238
|
+
}, $a = /* @__PURE__ */ y({
|
|
4193
4239
|
__name: "VoSocialFooter",
|
|
4194
4240
|
setup(p) {
|
|
4195
|
-
const t =
|
|
4241
|
+
const t = Oe(), a = [
|
|
4196
4242
|
{
|
|
4197
4243
|
title: "Vuetify Documentation",
|
|
4198
4244
|
icon: "$vuetify",
|
|
@@ -4200,7 +4246,7 @@ const at = /* @__PURE__ */ _({
|
|
|
4200
4246
|
},
|
|
4201
4247
|
{
|
|
4202
4248
|
title: "Vuetify Support",
|
|
4203
|
-
icon: `svg:${
|
|
4249
|
+
icon: `svg:${Ro}`,
|
|
4204
4250
|
href: "https://support.vuetifyjs.com/"
|
|
4205
4251
|
},
|
|
4206
4252
|
{
|
|
@@ -4224,30 +4270,30 @@ const at = /* @__PURE__ */ _({
|
|
|
4224
4270
|
href: "https://reddit.com/r/vuetifyjs"
|
|
4225
4271
|
}
|
|
4226
4272
|
];
|
|
4227
|
-
return (o,
|
|
4228
|
-
const u =
|
|
4273
|
+
return (o, r) => {
|
|
4274
|
+
const u = Et;
|
|
4229
4275
|
return c(), m(u, {
|
|
4230
4276
|
class: "vo-footer",
|
|
4231
4277
|
height: "40",
|
|
4232
4278
|
image: e(t).suit.footer
|
|
4233
|
-
},
|
|
4279
|
+
}, T({
|
|
4234
4280
|
default: s(() => [
|
|
4235
|
-
(c(), k(
|
|
4236
|
-
key:
|
|
4281
|
+
(c(), k(A, null, K(a, (i) => v("a", {
|
|
4282
|
+
key: i.title,
|
|
4237
4283
|
class: "d-inline-block mx-2 social-link",
|
|
4238
|
-
href:
|
|
4284
|
+
href: i.href,
|
|
4239
4285
|
rel: "noopener noreferrer",
|
|
4240
4286
|
target: "_blank",
|
|
4241
|
-
title:
|
|
4287
|
+
title: i.title
|
|
4242
4288
|
}, [
|
|
4243
4289
|
n(I, {
|
|
4244
|
-
icon:
|
|
4245
|
-
size:
|
|
4290
|
+
icon: i.icon,
|
|
4291
|
+
size: i.icon === "$vuetify" ? 24 : 16
|
|
4246
4292
|
}, null, 8, ["icon", "size"])
|
|
4247
|
-
], 8,
|
|
4248
|
-
|
|
4293
|
+
], 8, ka)), 64)),
|
|
4294
|
+
v("div", Va, [
|
|
4249
4295
|
S(" © 2016-" + V((/* @__PURE__ */ new Date()).getFullYear()) + " ", 1),
|
|
4250
|
-
|
|
4296
|
+
r[0] || (r[0] = v("span", { class: "d-none d-sm-inline-block" }, "Vuetify, LLC", -1))
|
|
4251
4297
|
])
|
|
4252
4298
|
]),
|
|
4253
4299
|
_: 2
|
|
@@ -4262,42 +4308,42 @@ const at = /* @__PURE__ */ _({
|
|
|
4262
4308
|
]), 1032, ["image"]);
|
|
4263
4309
|
};
|
|
4264
4310
|
}
|
|
4265
|
-
}),
|
|
4311
|
+
}), xa = /* @__PURE__ */ Xe($a, [["__scopeId", "data-v-7a9688b8"]]), La = /* @__PURE__ */ y({
|
|
4266
4312
|
__name: "VoNotificationsBanner",
|
|
4267
4313
|
props: {
|
|
4268
4314
|
demo: { type: Boolean }
|
|
4269
4315
|
},
|
|
4270
4316
|
setup(p) {
|
|
4271
|
-
|
|
4272
|
-
"1092baee": e(
|
|
4317
|
+
Gt(($) => ({
|
|
4318
|
+
"1092baee": e(i)?.metadata.bg_blur
|
|
4273
4319
|
}));
|
|
4274
|
-
const t = p, { mdAndUp: a } = ie(), o =
|
|
4275
|
-
|
|
4320
|
+
const t = p, { mdAndUp: a } = ie(), o = mn(), r = U(), u = Qe();
|
|
4321
|
+
Ae(() => {
|
|
4276
4322
|
u.index();
|
|
4277
4323
|
});
|
|
4278
|
-
const
|
|
4324
|
+
const i = C(() => u.banner), l = C(() => i.value?.metadata.height || (i.value?.metadata.subtext ? 88 : 48)), d = C(() => t.demo ? !0 : !!i.value && !r.one.banners.read.includes(i.value.slug));
|
|
4279
4325
|
function f() {
|
|
4280
|
-
t.demo ||
|
|
4326
|
+
t.demo || i.value && (r.one.banners.read.push(i.value.slug), r.one.banners.last = (/* @__PURE__ */ new Date()).toISOString());
|
|
4281
4327
|
}
|
|
4282
|
-
async function
|
|
4283
|
-
if (!
|
|
4284
|
-
|
|
4285
|
-
const L =
|
|
4328
|
+
async function _($) {
|
|
4329
|
+
if (!i.value) return;
|
|
4330
|
+
r.one.banners.last = (/* @__PURE__ */ new Date()).toISOString();
|
|
4331
|
+
const L = i.value?.metadata ?? { link: "" };
|
|
4286
4332
|
if (!L.link.includes("?one=")) return;
|
|
4287
4333
|
$.preventDefault(), $.stopPropagation();
|
|
4288
|
-
const
|
|
4289
|
-
o.push({ query: { one:
|
|
4334
|
+
const P = L.link.split("?one=")[1];
|
|
4335
|
+
o.push({ query: { one: P } });
|
|
4290
4336
|
}
|
|
4291
|
-
const
|
|
4292
|
-
const $ =
|
|
4337
|
+
const g = C(() => {
|
|
4338
|
+
const $ = i.value?.metadata ?? { link: "" };
|
|
4293
4339
|
return {
|
|
4294
4340
|
href: $.link.startsWith("http") ? $.link : void 0,
|
|
4295
4341
|
target: $.link.startsWith("http") ? "_blank" : void 0,
|
|
4296
4342
|
to: $.link.startsWith("http") ? void 0 : $.link,
|
|
4297
|
-
...
|
|
4343
|
+
...i.value?.metadata.attributes
|
|
4298
4344
|
};
|
|
4299
|
-
}),
|
|
4300
|
-
const $ =
|
|
4345
|
+
}), b = C(() => {
|
|
4346
|
+
const $ = i.value?.metadata.images.bg?.url;
|
|
4301
4347
|
if (!$?.startsWith("https://cdn.cosmicjs.com/")) return $;
|
|
4302
4348
|
const L = new URL($);
|
|
4303
4349
|
return L.host = "imgix.cosmicjs.com", L.search = new URLSearchParams({
|
|
@@ -4308,80 +4354,80 @@ const at = /* @__PURE__ */ _({
|
|
|
4308
4354
|
h: "256"
|
|
4309
4355
|
}).toString(), L.toString();
|
|
4310
4356
|
});
|
|
4311
|
-
return ($, L) => e(
|
|
4357
|
+
return ($, L) => e(i) ? (c(), m(Lt, {
|
|
4312
4358
|
key: 0,
|
|
4313
4359
|
class: "vo-notifications-banner",
|
|
4314
|
-
color: e(
|
|
4360
|
+
color: e(i).metadata.color,
|
|
4315
4361
|
flat: "",
|
|
4316
4362
|
height: e(l),
|
|
4317
|
-
image: e(
|
|
4363
|
+
image: e(b),
|
|
4318
4364
|
location: $.demo ? "bottom" : void 0,
|
|
4319
4365
|
"model-value": e(d),
|
|
4320
4366
|
order: "-1"
|
|
4321
4367
|
}, {
|
|
4322
4368
|
default: s(() => [
|
|
4323
|
-
n(
|
|
4369
|
+
n(se, R({
|
|
4324
4370
|
active: !1,
|
|
4325
4371
|
class: "flex-grow-1 py-6",
|
|
4326
4372
|
lines: "two"
|
|
4327
|
-
}, e(
|
|
4373
|
+
}, e(g), { onClick: _ }), {
|
|
4328
4374
|
prepend: s(() => [
|
|
4329
|
-
e(
|
|
4375
|
+
e(i).metadata.images.logo ? (c(), m(oe, {
|
|
4330
4376
|
key: 0,
|
|
4331
4377
|
icon: "$vuetify",
|
|
4332
|
-
image: e(
|
|
4378
|
+
image: e(i).metadata.images.logo.url,
|
|
4333
4379
|
size: "x-large",
|
|
4334
4380
|
tile: "",
|
|
4335
4381
|
variant: "text"
|
|
4336
4382
|
}, null, 8, ["image"])) : h("", !0)
|
|
4337
4383
|
]),
|
|
4338
4384
|
append: s(() => [
|
|
4339
|
-
e(a) && e(
|
|
4340
|
-
default: s(({ isHovering:
|
|
4341
|
-
n(
|
|
4385
|
+
e(a) && e(i).metadata.link && e(i).metadata.link_text ? (c(), m(ve, { key: 0 }, {
|
|
4386
|
+
default: s(({ isHovering: P, props: Q }) => [
|
|
4387
|
+
n(D, R({
|
|
4342
4388
|
"append-icon": `svg:${e(Te)}`,
|
|
4343
4389
|
class: "text-none me-2",
|
|
4344
|
-
color: e(
|
|
4345
|
-
elevation:
|
|
4346
|
-
title: e(
|
|
4390
|
+
color: e(i).metadata.link_color,
|
|
4391
|
+
elevation: P ? 8 : 0,
|
|
4392
|
+
title: e(i).metadata.link_text
|
|
4347
4393
|
}, {
|
|
4348
4394
|
...Q,
|
|
4349
|
-
...e(
|
|
4395
|
+
...e(g)
|
|
4350
4396
|
}, {
|
|
4351
4397
|
variant: "elevated",
|
|
4352
|
-
onClick:
|
|
4398
|
+
onClick: ye(_, ["stop"])
|
|
4353
4399
|
}), {
|
|
4354
4400
|
default: s(() => [
|
|
4355
|
-
S(V(e(
|
|
4401
|
+
S(V(e(i).metadata.link_text), 1)
|
|
4356
4402
|
]),
|
|
4357
4403
|
_: 1
|
|
4358
4404
|
}, 16, ["append-icon", "color", "elevation", "title"])
|
|
4359
4405
|
]),
|
|
4360
4406
|
_: 1
|
|
4361
4407
|
})) : h("", !0),
|
|
4362
|
-
e(
|
|
4408
|
+
e(i).metadata.closable ? (c(), m(D, {
|
|
4363
4409
|
key: 1,
|
|
4364
4410
|
class: "ms-6 me-2",
|
|
4365
4411
|
density: "comfortable",
|
|
4366
4412
|
icon: "$clear",
|
|
4367
4413
|
size: "small",
|
|
4368
4414
|
variant: "plain",
|
|
4369
|
-
onClick:
|
|
4415
|
+
onClick: ye(f, ["prevent", "stop"])
|
|
4370
4416
|
})) : h("", !0)
|
|
4371
4417
|
]),
|
|
4372
4418
|
default: s(() => [
|
|
4373
|
-
e(
|
|
4419
|
+
e(i).metadata.text ? (c(), m(yt, {
|
|
4374
4420
|
key: 0,
|
|
4375
4421
|
class: "text-subtitle-2 text-md-subtitle-1 font-weight-medium"
|
|
4376
4422
|
}, {
|
|
4377
4423
|
default: s(() => [
|
|
4378
|
-
S(V(e(
|
|
4424
|
+
S(V(e(i).metadata.text), 1)
|
|
4379
4425
|
]),
|
|
4380
4426
|
_: 1
|
|
4381
4427
|
})) : h("", !0),
|
|
4382
|
-
e(
|
|
4428
|
+
e(i).metadata.subtext ? (c(), m(Go, { key: 1 }, {
|
|
4383
4429
|
default: s(() => [
|
|
4384
|
-
S(V(e(
|
|
4430
|
+
S(V(e(i).metadata.subtext), 1)
|
|
4385
4431
|
]),
|
|
4386
4432
|
_: 1
|
|
4387
4433
|
})) : h("", !0)
|
|
@@ -4392,11 +4438,11 @@ const at = /* @__PURE__ */ _({
|
|
|
4392
4438
|
_: 1
|
|
4393
4439
|
}, 8, ["color", "height", "image", "location", "model-value"])) : h("", !0);
|
|
4394
4440
|
}
|
|
4395
|
-
}),
|
|
4441
|
+
}), wa = /* @__PURE__ */ Xe(La, [["__scopeId", "data-v-65dfb9be"]]), Sa = {
|
|
4396
4442
|
key: 0,
|
|
4397
4443
|
class: "text-uppercase position-absolute ms-auto font-weight-medium on-surface-light",
|
|
4398
4444
|
style: { right: "12px", bottom: "8px", "font-size": "10px" }
|
|
4399
|
-
},
|
|
4445
|
+
}, Ft = /* @__PURE__ */ y({
|
|
4400
4446
|
__name: "VoPromotionsCard",
|
|
4401
4447
|
props: {
|
|
4402
4448
|
caption: {},
|
|
@@ -4410,9 +4456,9 @@ const at = /* @__PURE__ */ _({
|
|
|
4410
4456
|
rel: "noopener",
|
|
4411
4457
|
rounded: "",
|
|
4412
4458
|
target: "_blank"
|
|
4413
|
-
},
|
|
4459
|
+
}, T({
|
|
4414
4460
|
default: s(() => [
|
|
4415
|
-
n(
|
|
4461
|
+
n(fn, {
|
|
4416
4462
|
"min-height": t.minHeight,
|
|
4417
4463
|
width: "100%"
|
|
4418
4464
|
}, {
|
|
@@ -4421,7 +4467,7 @@ const at = /* @__PURE__ */ _({
|
|
|
4421
4467
|
]),
|
|
4422
4468
|
_: 3
|
|
4423
4469
|
}, 8, ["min-height"]),
|
|
4424
|
-
t.caption ? (c(), k("div",
|
|
4470
|
+
t.caption ? (c(), k("div", Sa, V(t.caption), 1)) : h("", !0)
|
|
4425
4471
|
]),
|
|
4426
4472
|
_: 2
|
|
4427
4473
|
}, [
|
|
@@ -4442,10 +4488,10 @@ const at = /* @__PURE__ */ _({
|
|
|
4442
4488
|
]), 1024));
|
|
4443
4489
|
}
|
|
4444
4490
|
}), Je = q("promotions", () => {
|
|
4445
|
-
const p = Y(), t = ee(), a = F([]), o = M(!1),
|
|
4446
|
-
|
|
4447
|
-
function
|
|
4448
|
-
const f = d.filter((
|
|
4491
|
+
const p = Y(), t = ee(), a = F([]), o = M(!1), r = M(!1), u = C(() => a.value.filter((d) => d.metadata.discoverable));
|
|
4492
|
+
je(l);
|
|
4493
|
+
function i(d) {
|
|
4494
|
+
const f = d.filter((_) => _.metadata.active);
|
|
4449
4495
|
return f[Math.floor(Math.random() * f.length)];
|
|
4450
4496
|
}
|
|
4451
4497
|
async function l() {
|
|
@@ -4456,48 +4502,48 @@ const at = /* @__PURE__ */ _({
|
|
|
4456
4502
|
} catch (d) {
|
|
4457
4503
|
t.showError(d?.message ?? "Error fetching promotions");
|
|
4458
4504
|
} finally {
|
|
4459
|
-
o.value = !1,
|
|
4505
|
+
o.value = !1, r.value = !0;
|
|
4460
4506
|
}
|
|
4461
4507
|
return a.value;
|
|
4462
4508
|
}
|
|
4463
4509
|
return {
|
|
4464
4510
|
all: a,
|
|
4465
4511
|
isLoading: o,
|
|
4466
|
-
hasLoaded:
|
|
4512
|
+
hasLoaded: r,
|
|
4467
4513
|
discoverable: u,
|
|
4468
4514
|
index: l,
|
|
4469
|
-
random:
|
|
4515
|
+
random: i
|
|
4470
4516
|
};
|
|
4471
|
-
}),
|
|
4517
|
+
}), Ma = /* @__PURE__ */ y({
|
|
4472
4518
|
__name: "VoPromotionsCardHighlight",
|
|
4473
4519
|
props: {
|
|
4474
4520
|
slug: {}
|
|
4475
4521
|
},
|
|
4476
4522
|
setup(p) {
|
|
4477
|
-
const t = p, a =
|
|
4523
|
+
const t = p, a = B(), o = Je(), r = Ue(), u = U(), i = C(() => {
|
|
4478
4524
|
if (!(a.user && !u.one.ads.enabled))
|
|
4479
4525
|
return t.slug ? o.all.find((f) => f.slug === t.slug) : o.random(o.all);
|
|
4480
|
-
}), l =
|
|
4481
|
-
const f =
|
|
4482
|
-
return
|
|
4483
|
-
}), d =
|
|
4484
|
-
const f =
|
|
4485
|
-
return
|
|
4526
|
+
}), l = C(() => {
|
|
4527
|
+
const f = r.current.value.dark ? "logodark" : "logolight";
|
|
4528
|
+
return i.value?.metadata.images[f]?.url;
|
|
4529
|
+
}), d = C(() => {
|
|
4530
|
+
const f = r.current.value.dark ? "bgdark" : "bglight";
|
|
4531
|
+
return i.value?.metadata.images[f]?.url;
|
|
4486
4532
|
});
|
|
4487
|
-
return (f,
|
|
4488
|
-
const
|
|
4489
|
-
return e(
|
|
4533
|
+
return (f, _) => {
|
|
4534
|
+
const g = Ft;
|
|
4535
|
+
return e(i) || !e(o).hasLoaded ? (c(), m(g, {
|
|
4490
4536
|
key: 0,
|
|
4491
4537
|
class: "vo-promotions-card-highlight",
|
|
4492
|
-
color: e(
|
|
4538
|
+
color: e(i)?.metadata.color ?? "surface",
|
|
4493
4539
|
height: "60",
|
|
4494
|
-
href: e(
|
|
4540
|
+
href: e(i)?.metadata.url,
|
|
4495
4541
|
image: e(d),
|
|
4496
4542
|
"max-width": "720",
|
|
4497
4543
|
"prepend-avatar": e(l),
|
|
4498
|
-
title: e(
|
|
4544
|
+
title: e(i)?.metadata.short_text,
|
|
4499
4545
|
width: "100%"
|
|
4500
|
-
},
|
|
4546
|
+
}, T({
|
|
4501
4547
|
default: s(() => [
|
|
4502
4548
|
e(o).hasLoaded ? h("", !0) : (c(), m(he, {
|
|
4503
4549
|
key: 0,
|
|
@@ -4510,7 +4556,7 @@ const at = /* @__PURE__ */ _({
|
|
|
4510
4556
|
]),
|
|
4511
4557
|
_: 2
|
|
4512
4558
|
}, [
|
|
4513
|
-
e(
|
|
4559
|
+
e(i) ? {
|
|
4514
4560
|
name: "prepend",
|
|
4515
4561
|
fn: s(() => [
|
|
4516
4562
|
n(oe, {
|
|
@@ -4521,28 +4567,28 @@ const at = /* @__PURE__ */ _({
|
|
|
4521
4567
|
]),
|
|
4522
4568
|
key: "0"
|
|
4523
4569
|
} : void 0,
|
|
4524
|
-
e(
|
|
4570
|
+
e(i) ? {
|
|
4525
4571
|
name: "image",
|
|
4526
4572
|
fn: s(() => [
|
|
4527
|
-
n(
|
|
4573
|
+
n(ae, { position: "right" })
|
|
4528
4574
|
]),
|
|
4529
4575
|
key: "1"
|
|
4530
4576
|
} : void 0
|
|
4531
4577
|
]), 1032, ["color", "href", "image", "prepend-avatar", "title"])) : h("", !0);
|
|
4532
4578
|
};
|
|
4533
4579
|
}
|
|
4534
|
-
}),
|
|
4580
|
+
}), Ia = { class: "d-flex ga-4" }, Aa = { class: "d-flex align-start ga-4" }, Da = { class: "text-caption on-surface-light" }, Ta = /* @__PURE__ */ y({
|
|
4535
4581
|
__name: "VoPromotionsCardVuetify",
|
|
4536
4582
|
props: {
|
|
4537
4583
|
slug: {}
|
|
4538
4584
|
},
|
|
4539
4585
|
setup(p) {
|
|
4540
|
-
const t = p, a =
|
|
4541
|
-
if (!(a.user && !
|
|
4542
|
-
return t.slug ? o.all.find((
|
|
4586
|
+
const t = p, a = B(), o = Je(), r = U(), u = C(() => {
|
|
4587
|
+
if (!(a.user && !r.one.ads.enabled && !r.one.ads.house))
|
|
4588
|
+
return t.slug ? o.all.find((i) => i.slug === t.slug) : o.random(!r.one.ads.enabled && r.one.ads.house ? o.discoverable : o.all);
|
|
4543
4589
|
});
|
|
4544
|
-
return (
|
|
4545
|
-
const d =
|
|
4590
|
+
return (i, l) => {
|
|
4591
|
+
const d = Ft;
|
|
4546
4592
|
return e(u) || !e(o).hasLoaded ? (c(), m(d, {
|
|
4547
4593
|
key: 0,
|
|
4548
4594
|
border: "",
|
|
@@ -4552,9 +4598,9 @@ const at = /* @__PURE__ */ _({
|
|
|
4552
4598
|
width: "360"
|
|
4553
4599
|
}, {
|
|
4554
4600
|
default: s(() => [
|
|
4555
|
-
|
|
4556
|
-
e(o).hasLoaded ? e(u) ? (c(), k(
|
|
4557
|
-
n(
|
|
4601
|
+
v("div", Ia, [
|
|
4602
|
+
e(o).hasLoaded ? e(u) ? (c(), k(A, { key: 1 }, [
|
|
4603
|
+
n(ae, {
|
|
4558
4604
|
cover: "",
|
|
4559
4605
|
height: "100",
|
|
4560
4606
|
"max-width": "130",
|
|
@@ -4563,10 +4609,10 @@ const at = /* @__PURE__ */ _({
|
|
|
4563
4609
|
src: e(u).metadata?.images.default?.url,
|
|
4564
4610
|
width: "100%"
|
|
4565
4611
|
}, null, 8, ["src"]),
|
|
4566
|
-
|
|
4567
|
-
|
|
4612
|
+
v("div", Aa, [
|
|
4613
|
+
v("div", Da, V(e(u).metadata?.text), 1)
|
|
4568
4614
|
])
|
|
4569
|
-
], 64)) : h("", !0) : (c(), k(
|
|
4615
|
+
], 64)) : h("", !0) : (c(), k(A, { key: 0 }, [
|
|
4570
4616
|
n(he, {
|
|
4571
4617
|
class: "flex-1-0 overflow-hidden",
|
|
4572
4618
|
color: "transparent",
|
|
@@ -4589,33 +4635,33 @@ const at = /* @__PURE__ */ _({
|
|
|
4589
4635
|
}, 8, ["href"])) : h("", !0);
|
|
4590
4636
|
};
|
|
4591
4637
|
}
|
|
4592
|
-
}),
|
|
4638
|
+
}), Ua = ["href"], Pa = /* @__PURE__ */ y({
|
|
4593
4639
|
__name: "VoPromotionsFooter",
|
|
4594
4640
|
props: {
|
|
4595
4641
|
slug: {}
|
|
4596
4642
|
},
|
|
4597
4643
|
setup(p) {
|
|
4598
|
-
const t = p, a =
|
|
4599
|
-
if (!(a.user && !
|
|
4644
|
+
const t = p, a = B(), o = Je(), r = U(), u = Ue(), i = C(() => {
|
|
4645
|
+
if (!(a.user && !r.one.ads.enabled))
|
|
4600
4646
|
return t.slug ? o.all.find((f) => f.slug === t.slug) : o.random(o.all);
|
|
4601
|
-
}), l =
|
|
4647
|
+
}), l = C(() => {
|
|
4602
4648
|
const f = u.current.value.dark ? "logodark" : "logolight";
|
|
4603
|
-
return
|
|
4604
|
-
}), d =
|
|
4649
|
+
return i.value?.metadata.images[f]?.url;
|
|
4650
|
+
}), d = C(() => {
|
|
4605
4651
|
const f = u.current.value.dark ? "bgdark" : "bglight";
|
|
4606
|
-
return
|
|
4652
|
+
return i.value?.metadata.images[f]?.url;
|
|
4607
4653
|
});
|
|
4608
|
-
return (f,
|
|
4609
|
-
const
|
|
4610
|
-
return c(), m(
|
|
4611
|
-
color: e(
|
|
4654
|
+
return (f, _) => {
|
|
4655
|
+
const g = Et;
|
|
4656
|
+
return c(), m(g, {
|
|
4657
|
+
color: e(i)?.metadata.color ?? "surface",
|
|
4612
4658
|
image: e(d),
|
|
4613
4659
|
style: { transform: "translateY(0)" }
|
|
4614
4660
|
}, {
|
|
4615
4661
|
default: s(() => [
|
|
4616
|
-
|
|
4662
|
+
v("a", {
|
|
4617
4663
|
class: "d-flex align-center text-decoration-none py-2 px-4 ms-n4 flex-1-0 me-n4 position-relative",
|
|
4618
|
-
href: e(
|
|
4664
|
+
href: e(i)?.metadata.url,
|
|
4619
4665
|
rel: "noopener noreferrer",
|
|
4620
4666
|
style: { color: "inherit" },
|
|
4621
4667
|
target: "_blank"
|
|
@@ -4626,8 +4672,8 @@ const at = /* @__PURE__ */ _({
|
|
|
4626
4672
|
image: e(l),
|
|
4627
4673
|
size: "24"
|
|
4628
4674
|
}, null, 8, ["image"]),
|
|
4629
|
-
|
|
4630
|
-
e(
|
|
4675
|
+
v("div", null, V(e(i)?.metadata.text), 1),
|
|
4676
|
+
e(i)?.metadata.advertisement ? (c(), m(te, {
|
|
4631
4677
|
key: 0,
|
|
4632
4678
|
class: "ms-auto me-n4 align-self-end mb-n2 py-1 ps-3",
|
|
4633
4679
|
rounded: "0 ts-lg",
|
|
@@ -4635,57 +4681,57 @@ const at = /* @__PURE__ */ _({
|
|
|
4635
4681
|
text: "SPONSORED",
|
|
4636
4682
|
variant: "flat"
|
|
4637
4683
|
})) : h("", !0)
|
|
4638
|
-
], 8,
|
|
4684
|
+
], 8, Ua)
|
|
4639
4685
|
]),
|
|
4640
4686
|
_: 1
|
|
4641
4687
|
}, 8, ["color", "image"]);
|
|
4642
4688
|
};
|
|
4643
4689
|
}
|
|
4644
|
-
}),
|
|
4645
|
-
const p = Y(), t =
|
|
4690
|
+
}), Oa = q("spots", () => {
|
|
4691
|
+
const p = Y(), t = zt(), a = ee(), o = F([]), r = M(!1), u = C(() => o.value.find(({
|
|
4646
4692
|
metadata: {
|
|
4647
4693
|
site: l,
|
|
4648
4694
|
active: d
|
|
4649
4695
|
}
|
|
4650
4696
|
}) => d ? l.includes("dev") && !1 || l.includes("*") ? !0 : l.some((f) => t.id.includes(f)) : !1));
|
|
4651
|
-
async function
|
|
4697
|
+
async function i() {
|
|
4652
4698
|
try {
|
|
4653
|
-
|
|
4699
|
+
r.value = !0;
|
|
4654
4700
|
const l = await p.get("/one/spots");
|
|
4655
4701
|
o.value = l.spots;
|
|
4656
4702
|
} catch (l) {
|
|
4657
4703
|
a.showError(l?.message ?? "Error fetching spots");
|
|
4658
4704
|
} finally {
|
|
4659
|
-
|
|
4705
|
+
r.value = !1;
|
|
4660
4706
|
}
|
|
4661
4707
|
return o.value;
|
|
4662
4708
|
}
|
|
4663
4709
|
return {
|
|
4664
4710
|
all: o,
|
|
4665
|
-
isLoading:
|
|
4711
|
+
isLoading: r,
|
|
4666
4712
|
spot: u,
|
|
4667
|
-
index:
|
|
4713
|
+
index: i
|
|
4668
4714
|
};
|
|
4669
|
-
}),
|
|
4715
|
+
}), za = ["href"], Ba = /* @__PURE__ */ y({
|
|
4670
4716
|
__name: "VoSpot",
|
|
4671
4717
|
setup(p) {
|
|
4672
|
-
const t =
|
|
4718
|
+
const t = Oa();
|
|
4673
4719
|
return (a, o) => e(t).spot ? (c(), k("a", {
|
|
4674
4720
|
key: 0,
|
|
4675
4721
|
href: e(t).spot.metadata.href,
|
|
4676
4722
|
rel: "noopener noreferrer sponsored",
|
|
4677
4723
|
target: "_blank"
|
|
4678
4724
|
}, [
|
|
4679
|
-
n(
|
|
4725
|
+
n(ae, {
|
|
4680
4726
|
class: "mx-auto",
|
|
4681
4727
|
color: e(t).spot.metadata.image ? void 0 : "surface",
|
|
4682
4728
|
rounded: "",
|
|
4683
4729
|
src: e(t).spot.metadata.image?.url,
|
|
4684
4730
|
width: "225"
|
|
4685
4731
|
}, null, 8, ["color", "src"])
|
|
4686
|
-
], 8,
|
|
4732
|
+
], 8, za)) : h("", !0);
|
|
4687
4733
|
}
|
|
4688
|
-
}),
|
|
4734
|
+
}), Di = {
|
|
4689
4735
|
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"],
|
|
4690
4736
|
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"],
|
|
4691
4737
|
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",
|
|
@@ -4759,9 +4805,9 @@ const at = /* @__PURE__ */ _({
|
|
|
4759
4805
|
["M12.0886 19.775C9.85039 19.7657 7.8983 19.4309 6.39591 18.845C5.48629 18.4823 4.79131 18.0824 4.50514 17.4872C4.33139 17.1339 4.32117 15.5529 4.34161 14.5299C4.34161 13.5814 4.64822 10.8379 5.05704 10.466C5.68048 9.88937 9.75841 9.77777 12.1091 9.77777H12.1193C14.4598 9.77777 18.5479 9.88937 19.1714 10.466C19.57 10.8379 19.8766 13.5814 19.8868 14.5299C19.897 15.5529 19.8868 17.1339 19.713 17.4872C19.4269 18.0824 18.7319 18.4823 17.8223 18.845C16.0076 19.4951 14.0692 19.8112 12.1193 19.775H12.0886Z", 0.2],
|
|
4760
4806
|
["M8.57405 12C9.68004 12 10.5812 12.8658 10.5812 14.2222C10.5812 15.444 9.721 16.4444 8.57405 16.4444C7.45782 16.4348 6.55664 15.444 6.55664 14.2222C6.55664 12.8754 7.45782 12 8.57405 12ZM15.6606 12C14.5444 12 13.6432 12.8658 13.6432 14.2222C13.6432 15.444 14.5136 16.4444 15.6606 16.4444C16.7666 16.4348 17.6678 15.444 17.6678 14.2222C17.6678 12.8754 16.7666 12 15.6606 12Z", 1]
|
|
4761
4807
|
]
|
|
4762
|
-
},
|
|
4763
|
-
const p = Y(), t = ee(), a = F([]), o = M(!1),
|
|
4764
|
-
async function
|
|
4808
|
+
}, Ti = q("bins", () => {
|
|
4809
|
+
const p = Y(), t = ee(), a = F([]), o = M(!1), r = C(() => a.value.filter((l) => l.favorite)), u = C(() => a.value.filter((l) => l.pinned));
|
|
4810
|
+
async function i() {
|
|
4765
4811
|
try {
|
|
4766
4812
|
o.value = !0;
|
|
4767
4813
|
const l = await p.get("/one/bins");
|
|
@@ -4776,74 +4822,74 @@ const at = /* @__PURE__ */ _({
|
|
|
4776
4822
|
return {
|
|
4777
4823
|
isLoading: o,
|
|
4778
4824
|
pinned: u,
|
|
4779
|
-
favorites:
|
|
4825
|
+
favorites: r,
|
|
4780
4826
|
all: a,
|
|
4781
|
-
index:
|
|
4827
|
+
index: i
|
|
4782
4828
|
};
|
|
4783
|
-
}),
|
|
4784
|
-
const p = Y(), t = ee(), a = F([]), o = M(!1),
|
|
4785
|
-
const
|
|
4786
|
-
return
|
|
4829
|
+
}), Ui = q("links", () => {
|
|
4830
|
+
const p = Y(), t = ee(), a = F([]), o = M(!1), r = M(!1), u = C(() => a.value.filter((g) => g.favorite)), i = C(() => a.value.filter((g) => g.pinned)), l = C(() => !!B().user), d = C(() => {
|
|
4831
|
+
const g = B(), b = O();
|
|
4832
|
+
return g.user?.isAdmin || b.isSubscriber;
|
|
4787
4833
|
});
|
|
4788
4834
|
async function f() {
|
|
4789
4835
|
try {
|
|
4790
4836
|
o.value = !0;
|
|
4791
|
-
const
|
|
4792
|
-
a.value =
|
|
4793
|
-
} catch (
|
|
4794
|
-
t.showError(
|
|
4837
|
+
const g = await p.get("/one/links");
|
|
4838
|
+
a.value = g.links;
|
|
4839
|
+
} catch (g) {
|
|
4840
|
+
t.showError(g?.message ?? "Error fetching links");
|
|
4795
4841
|
} finally {
|
|
4796
4842
|
o.value = !1;
|
|
4797
4843
|
}
|
|
4798
4844
|
return a.value;
|
|
4799
4845
|
}
|
|
4800
|
-
async function
|
|
4846
|
+
async function _(g) {
|
|
4801
4847
|
if (!l.value) {
|
|
4802
4848
|
t.showError("Must be signed in to create links");
|
|
4803
4849
|
return;
|
|
4804
4850
|
}
|
|
4805
4851
|
try {
|
|
4806
|
-
|
|
4807
|
-
const
|
|
4852
|
+
r.value = !0;
|
|
4853
|
+
const b = await p.post("/one/links", {
|
|
4808
4854
|
link: {
|
|
4809
|
-
title:
|
|
4810
|
-
url:
|
|
4811
|
-
slug:
|
|
4812
|
-
favorite:
|
|
4813
|
-
pinned:
|
|
4814
|
-
scoped:
|
|
4815
|
-
passwordProtection:
|
|
4816
|
-
password:
|
|
4817
|
-
timer:
|
|
4818
|
-
expiresAt:
|
|
4855
|
+
title: g.title,
|
|
4856
|
+
url: g.url,
|
|
4857
|
+
slug: g.slug || "",
|
|
4858
|
+
favorite: g.favorite ?? !1,
|
|
4859
|
+
pinned: g.pinned ?? !1,
|
|
4860
|
+
scoped: g.scoped ?? !1,
|
|
4861
|
+
passwordProtection: g.passwordProtection ?? !1,
|
|
4862
|
+
password: g.password ?? null,
|
|
4863
|
+
timer: g.timer ?? null,
|
|
4864
|
+
expiresAt: g.expiresAt ?? null,
|
|
4819
4865
|
// Content link fields
|
|
4820
|
-
contentType:
|
|
4821
|
-
payload:
|
|
4822
|
-
language:
|
|
4823
|
-
source:
|
|
4866
|
+
contentType: g.contentType,
|
|
4867
|
+
payload: g.payload,
|
|
4868
|
+
language: g.language,
|
|
4869
|
+
source: g.source
|
|
4824
4870
|
}
|
|
4825
4871
|
});
|
|
4826
|
-
return a.value.unshift(
|
|
4827
|
-
} catch (
|
|
4828
|
-
t.showError(
|
|
4872
|
+
return a.value.unshift(b.link), b.link;
|
|
4873
|
+
} catch (b) {
|
|
4874
|
+
t.showError(b?.message ?? "Error creating link");
|
|
4829
4875
|
} finally {
|
|
4830
|
-
|
|
4876
|
+
r.value = !1;
|
|
4831
4877
|
}
|
|
4832
4878
|
}
|
|
4833
4879
|
return {
|
|
4834
4880
|
isLoading: o,
|
|
4835
|
-
isSaving:
|
|
4881
|
+
isSaving: r,
|
|
4836
4882
|
canCreate: l,
|
|
4837
4883
|
canUseCustomSlug: d,
|
|
4838
|
-
pinned:
|
|
4884
|
+
pinned: i,
|
|
4839
4885
|
favorites: u,
|
|
4840
4886
|
all: a,
|
|
4841
4887
|
index: f,
|
|
4842
|
-
create:
|
|
4888
|
+
create: _
|
|
4843
4889
|
};
|
|
4844
|
-
}),
|
|
4845
|
-
const p = Y(), t = ee(), a = F([]), o = M(!1),
|
|
4846
|
-
async function
|
|
4890
|
+
}), Pi = q("plays", () => {
|
|
4891
|
+
const p = Y(), t = ee(), a = F([]), o = M(!1), r = C(() => a.value.filter((l) => l.favorite)), u = C(() => a.value.filter((l) => l.pinned));
|
|
4892
|
+
async function i() {
|
|
4847
4893
|
try {
|
|
4848
4894
|
o.value = !0;
|
|
4849
4895
|
const l = await p.get("/one/playgrounds");
|
|
@@ -4858,51 +4904,51 @@ const at = /* @__PURE__ */ _({
|
|
|
4858
4904
|
return {
|
|
4859
4905
|
isLoading: o,
|
|
4860
4906
|
pinned: u,
|
|
4861
|
-
favorites:
|
|
4907
|
+
favorites: r,
|
|
4862
4908
|
all: a,
|
|
4863
|
-
index:
|
|
4909
|
+
index: i
|
|
4864
4910
|
};
|
|
4865
|
-
}),
|
|
4866
|
-
const p = Y(), t = ee(), a = F([]), o =
|
|
4867
|
-
async function
|
|
4911
|
+
}), Oi = q("products", () => {
|
|
4912
|
+
const p = Y(), t = ee(), a = F([]), o = C(() => a.value.filter((i) => i.product_type === "Themes"));
|
|
4913
|
+
async function r() {
|
|
4868
4914
|
if (a.value.length > 0)
|
|
4869
4915
|
return a.value;
|
|
4870
4916
|
try {
|
|
4871
|
-
const
|
|
4872
|
-
a.value =
|
|
4873
|
-
} catch (
|
|
4874
|
-
t.showError(
|
|
4917
|
+
const i = await p.get("/one/shopify/products");
|
|
4918
|
+
a.value = i.products;
|
|
4919
|
+
} catch (i) {
|
|
4920
|
+
t.showError(i?.message ?? "Error fetching products");
|
|
4875
4921
|
}
|
|
4876
4922
|
return a.value;
|
|
4877
4923
|
}
|
|
4878
|
-
function u(
|
|
4879
|
-
return
|
|
4924
|
+
function u(i) {
|
|
4925
|
+
return i.slice().sort(() => Math.random() - 0.5);
|
|
4880
4926
|
}
|
|
4881
4927
|
return {
|
|
4882
4928
|
all: a,
|
|
4883
4929
|
themes: o,
|
|
4884
|
-
index:
|
|
4930
|
+
index: r,
|
|
4885
4931
|
randomize: u
|
|
4886
4932
|
};
|
|
4887
|
-
}),
|
|
4888
|
-
const p = Y(), t = ee(), a = F([]), o = F([]),
|
|
4933
|
+
}), zi = q("sponsors", () => {
|
|
4934
|
+
const p = Y(), t = ee(), a = F([]), o = F([]), r = F(!1), u = C(() => {
|
|
4889
4935
|
const d = {};
|
|
4890
4936
|
for (const f of a.value) {
|
|
4891
|
-
const
|
|
4892
|
-
d[
|
|
4937
|
+
const _ = f.metadata.tier;
|
|
4938
|
+
d[_] || (d[_] = []), d[_].push(f);
|
|
4893
4939
|
}
|
|
4894
4940
|
return d;
|
|
4895
4941
|
});
|
|
4896
|
-
|
|
4897
|
-
async function
|
|
4942
|
+
Wt(i), je(i);
|
|
4943
|
+
async function i() {
|
|
4898
4944
|
try {
|
|
4899
|
-
|
|
4945
|
+
r.value = !0;
|
|
4900
4946
|
const d = await p.get("/one/sponsors");
|
|
4901
4947
|
o.value = d.sponsors;
|
|
4902
4948
|
} catch (d) {
|
|
4903
4949
|
t.showError(d?.message ?? "Error fetching sponsors");
|
|
4904
4950
|
} finally {
|
|
4905
|
-
|
|
4951
|
+
r.value = !1;
|
|
4906
4952
|
}
|
|
4907
4953
|
return o.value;
|
|
4908
4954
|
}
|
|
@@ -4910,46 +4956,46 @@ const at = /* @__PURE__ */ _({
|
|
|
4910
4956
|
return a.value.find((f) => f.slug === d);
|
|
4911
4957
|
}
|
|
4912
4958
|
return {
|
|
4913
|
-
isLoading:
|
|
4959
|
+
isLoading: r,
|
|
4914
4960
|
all: o,
|
|
4915
4961
|
sponsors: a,
|
|
4916
4962
|
byTier: u,
|
|
4917
4963
|
bySlug: l,
|
|
4918
|
-
index:
|
|
4964
|
+
index: i
|
|
4919
4965
|
};
|
|
4920
4966
|
});
|
|
4921
|
-
function
|
|
4967
|
+
function Bi() {
|
|
4922
4968
|
function p(t) {
|
|
4923
|
-
t.component("VoAppBar",
|
|
4969
|
+
t.component("VoAppBar", _a), t.component("VoAuthBtn", Bt), t.component("VoAuthCard", Dt), t.component("VoAuthDialog", Tt), t.component("VoAuthListItem", Ut), t.component("VoNotificationsBanner", wa), t.component("VoPromotionsCardHighlight", Ma), t.component("VoPromotionsCardVuetify", Ta), t.component("VoPromotionsFooter", Pa), t.component("VoScript", ha), t.component("VoSocialFooter", xa), t.component("VoSpot", Ba);
|
|
4924
4970
|
}
|
|
4925
4971
|
return { install: p };
|
|
4926
4972
|
}
|
|
4927
|
-
function
|
|
4973
|
+
function Ei(p, t) {
|
|
4928
4974
|
return function(a) {
|
|
4929
4975
|
const o = a.store;
|
|
4930
4976
|
o.url = t, o.$id === "site" && (o.id = p);
|
|
4931
4977
|
};
|
|
4932
4978
|
}
|
|
4933
4979
|
export {
|
|
4934
|
-
|
|
4935
|
-
|
|
4936
|
-
|
|
4937
|
-
|
|
4980
|
+
Di as aliases,
|
|
4981
|
+
Bi as createOne,
|
|
4982
|
+
Ei as one,
|
|
4983
|
+
B as useAuthStore,
|
|
4938
4984
|
Qe as useBannersStore,
|
|
4939
|
-
|
|
4940
|
-
|
|
4985
|
+
Ti as useBinsStore,
|
|
4986
|
+
bs as useDownloadsStore,
|
|
4941
4987
|
Y as useHttpStore,
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
4988
|
+
Ui as useLinksStore,
|
|
4989
|
+
Fe as useNotificationsStore,
|
|
4990
|
+
O as useOneStore,
|
|
4991
|
+
Pi as usePlaysStore,
|
|
4992
|
+
Oi as useProductsStore,
|
|
4947
4993
|
Je as usePromotionsStore,
|
|
4948
4994
|
ee as useQueueStore,
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
|
|
4953
|
-
|
|
4954
|
-
|
|
4995
|
+
Oe as useSettingsStore,
|
|
4996
|
+
zt as useSiteStore,
|
|
4997
|
+
zi as useSponsorsStore,
|
|
4998
|
+
Oa as useSpotsStore,
|
|
4999
|
+
De as useTeamStore,
|
|
5000
|
+
U as useUserStore
|
|
4955
5001
|
};
|