@vuetify/one 2.13.0 → 2.13.2
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-DkYOaeOy.js → auth-Zr1gGj1z.js} +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.js +733 -727
- package/dist/one.css +1 -1
- package/dist/stores/auth.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { u as ee, a as
|
|
1
|
+
import { defineComponent as _, createBlock as m, openBlock as c, unref as e, computed as C, createSlots as U, withCtx as s, createElementVNode as g, toDisplayString as $, createVNode as n, createTextVNode as S, normalizeStyle as it, createCommentVNode as b, renderSlot as w, shallowRef as M, watch as H, withModifiers as ye, mergeModels as rt, useModel as K, createElementBlock as V, Fragment as D, nextTick as be, renderList as Y, mergeProps as q, withDirectives as N, vShow as Ie, isRef as R, ref as Z, readonly as Se, resolveComponent as lt, watchEffect as Ht, onMounted as De, toRef as ge, normalizeClass as Rt, useSlots as ut, normalizeProps as ct, guardReactiveProps as dt, onBeforeMount as He, onBeforeUnmount as qt, useCssVars as Gt, onServerPrefetch as Wt } from "vue";
|
|
2
|
+
import { u as ee, a as E, b as P, c as O, d as Ce, e as Q, f as Ae } from "./auth-Zr1gGj1z.js";
|
|
3
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
|
|
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 Do, mdiExitToApp as Ao, 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 jo, mdiLogin as nt, mdiDotsVertical as Ho, mdiShieldStarOutline as Ro } from "@mdi/js";
|
|
5
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
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
|
|
9
|
+
import { VBtn as A } from "vuetify/components/VBtn";
|
|
10
10
|
import { VProgressCircular as Yo } from "vuetify/components/VProgressCircular";
|
|
11
11
|
import { VSheet as $e } from "vuetify/components/VSheet";
|
|
12
12
|
import { VSwitch as We } from "vuetify/components/VSwitch";
|
|
13
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
|
-
import { VDivider as
|
|
15
|
+
import { VDivider as j } from "vuetify/components/VDivider";
|
|
16
16
|
import { VIcon as I } from "vuetify/components/VIcon";
|
|
17
17
|
import { VLabel as Ne } from "vuetify/components/VLabel";
|
|
18
18
|
import { VChip as te } from "vuetify/components/VChip";
|
|
19
19
|
import { VChipGroup as Xo } from "vuetify/components/VChipGroup";
|
|
20
20
|
import { VSelect as Jo } from "vuetify/components/VSelect";
|
|
21
|
-
import { defineStore as
|
|
21
|
+
import { defineStore as G } from "pinia";
|
|
22
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
24
|
import { VImg as ae } from "vuetify/components/VImg";
|
|
25
|
-
import { VItemGroup as Ct, VItem as
|
|
25
|
+
import { VItemGroup as Ct, VItem as je } from "vuetify/components/VItemGroup";
|
|
26
26
|
import { VLayout as ue } from "vuetify/components/VLayout";
|
|
27
27
|
import { VMain as ce } from "vuetify/components/VMain";
|
|
28
28
|
import { VTextField as kt } from "vuetify/components/VTextField";
|
|
@@ -44,7 +44,7 @@ import { VAppBar as Lt } from "vuetify/components/VAppBar";
|
|
|
44
44
|
import { VFooter as pn } from "vuetify/components/VFooter";
|
|
45
45
|
import { useRouter as mn } from "vue-router";
|
|
46
46
|
import { VLazy as fn } from "vuetify/components/VLazy";
|
|
47
|
-
const vn = /* @__PURE__ */
|
|
47
|
+
const vn = /* @__PURE__ */ _({
|
|
48
48
|
__name: "VoSnackbarQueue",
|
|
49
49
|
setup(p) {
|
|
50
50
|
const t = ee();
|
|
@@ -55,10 +55,10 @@ const vn = /* @__PURE__ */ y({
|
|
|
55
55
|
location: "bottom end"
|
|
56
56
|
}, null, 8, ["modelValue"]));
|
|
57
57
|
}
|
|
58
|
-
}), gn = { class: "text-body-2" }, wt = /* @__PURE__ */
|
|
58
|
+
}), gn = { class: "text-body-2" }, wt = /* @__PURE__ */ _({
|
|
59
59
|
__name: "VoAuthOpenCollective",
|
|
60
60
|
setup(p) {
|
|
61
|
-
const t =
|
|
61
|
+
const t = E(), 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
62
|
return (r, u) => (c(), m(se, {
|
|
63
63
|
"base-color": "#1258e2",
|
|
64
64
|
"prepend-icon": `svg:${e(pt)}`,
|
|
@@ -66,25 +66,25 @@ const vn = /* @__PURE__ */ y({
|
|
|
66
66
|
slim: "",
|
|
67
67
|
variant: "flat",
|
|
68
68
|
onClick: u[0] || (u[0] = (i) => e(t).login("opencollective"))
|
|
69
|
-
},
|
|
69
|
+
}, U({
|
|
70
70
|
title: s(() => [
|
|
71
|
-
|
|
71
|
+
g("span", gn, $(e(o)), 1)
|
|
72
72
|
]),
|
|
73
73
|
_: 2
|
|
74
74
|
}, [
|
|
75
75
|
!e(t).user && e(t).lastLoginProvider() === "openCollective" ? {
|
|
76
76
|
name: "subtitle",
|
|
77
77
|
fn: s(() => [
|
|
78
|
-
u[1] || (u[1] =
|
|
78
|
+
u[1] || (u[1] = g("div", { class: "text-caption mt-n1" }, "Last Used", -1))
|
|
79
79
|
]),
|
|
80
80
|
key: "0"
|
|
81
81
|
} : void 0
|
|
82
82
|
]), 1032, ["prepend-icon"]));
|
|
83
83
|
}
|
|
84
|
-
}), _n = { class: "text-body-2" }, St = /* @__PURE__ */
|
|
84
|
+
}), _n = { class: "text-body-2" }, St = /* @__PURE__ */ _({
|
|
85
85
|
__name: "VoAuthShopify",
|
|
86
86
|
setup(p) {
|
|
87
|
-
const t =
|
|
87
|
+
const t = E(), a = C(() => t.user && t.findIdentity("shopify")), o = C(() => t.user ? a.value ? "Connected to Shopify" : "Connect Shopify" : "Login with Shopify");
|
|
88
88
|
return (r, u) => (c(), m(se, {
|
|
89
89
|
"base-color": "#5b8a3c",
|
|
90
90
|
"prepend-icon": `svg:${e(Yt)}`,
|
|
@@ -92,25 +92,25 @@ const vn = /* @__PURE__ */ y({
|
|
|
92
92
|
slim: "",
|
|
93
93
|
variant: "flat",
|
|
94
94
|
onClick: u[0] || (u[0] = (i) => e(t).login("shopify"))
|
|
95
|
-
},
|
|
95
|
+
}, U({
|
|
96
96
|
title: s(() => [
|
|
97
|
-
|
|
97
|
+
g("span", _n, $(e(o)), 1)
|
|
98
98
|
]),
|
|
99
99
|
_: 2
|
|
100
100
|
}, [
|
|
101
101
|
!e(t).user && e(t).lastLoginProvider() === "shopify" ? {
|
|
102
102
|
name: "subtitle",
|
|
103
103
|
fn: s(() => [
|
|
104
|
-
u[1] || (u[1] =
|
|
104
|
+
u[1] || (u[1] = g("div", { class: "text-caption mt-n1" }, "Last Used", -1))
|
|
105
105
|
]),
|
|
106
106
|
key: "0"
|
|
107
107
|
} : void 0
|
|
108
108
|
]), 1032, ["prepend-icon"]));
|
|
109
109
|
}
|
|
110
|
-
}), yn = { class: "text-body-2" }, Mt = /* @__PURE__ */
|
|
110
|
+
}), yn = { class: "text-body-2" }, Mt = /* @__PURE__ */ _({
|
|
111
111
|
__name: "VoAuthDiscord",
|
|
112
112
|
setup(p) {
|
|
113
|
-
const t =
|
|
113
|
+
const t = E(), a = C(() => t.user && t.findIdentity("discord")), o = C(() => t.user ? a.value ? "Connected to Discord" : "Connect Discord" : "Login with Discord");
|
|
114
114
|
return (r, u) => (c(), m(se, {
|
|
115
115
|
"base-color": "#5865F2",
|
|
116
116
|
"prepend-icon": "$discord",
|
|
@@ -118,25 +118,25 @@ const vn = /* @__PURE__ */ y({
|
|
|
118
118
|
slim: "",
|
|
119
119
|
variant: "flat",
|
|
120
120
|
onClick: u[0] || (u[0] = (i) => e(t).login("discord"))
|
|
121
|
-
},
|
|
121
|
+
}, U({
|
|
122
122
|
title: s(() => [
|
|
123
|
-
|
|
123
|
+
g("span", yn, $(e(o)), 1)
|
|
124
124
|
]),
|
|
125
125
|
_: 2
|
|
126
126
|
}, [
|
|
127
127
|
!e(t).user && e(t).lastLoginProvider() === "discord" ? {
|
|
128
128
|
name: "subtitle",
|
|
129
129
|
fn: s(() => [
|
|
130
|
-
u[1] || (u[1] =
|
|
130
|
+
u[1] || (u[1] = g("div", { class: "text-caption mt-n1" }, "Last Used", -1))
|
|
131
131
|
]),
|
|
132
132
|
key: "0"
|
|
133
133
|
} : void 0
|
|
134
134
|
]), 1024));
|
|
135
135
|
}
|
|
136
|
-
}), hn = { class: "text-body-2" }, It = /* @__PURE__ */
|
|
136
|
+
}), hn = { class: "text-body-2" }, It = /* @__PURE__ */ _({
|
|
137
137
|
__name: "VoAuthGoogle",
|
|
138
138
|
setup(p) {
|
|
139
|
-
const t =
|
|
139
|
+
const t = E(), a = C(() => t.user && t.findIdentity("google")), o = C(() => t.user ? a.value ? "Connected to Google" : "Connect Google" : "Login with Google");
|
|
140
140
|
return (r, u) => (c(), m(se, {
|
|
141
141
|
"base-color": "#4285F4",
|
|
142
142
|
"prepend-icon": `svg:${e(Qt)}`,
|
|
@@ -144,25 +144,25 @@ const vn = /* @__PURE__ */ y({
|
|
|
144
144
|
slim: "",
|
|
145
145
|
variant: "flat",
|
|
146
146
|
onClick: u[0] || (u[0] = (i) => e(t).login("google"))
|
|
147
|
-
},
|
|
147
|
+
}, U({
|
|
148
148
|
title: s(() => [
|
|
149
|
-
|
|
149
|
+
g("span", hn, $(e(o)), 1)
|
|
150
150
|
]),
|
|
151
151
|
_: 2
|
|
152
152
|
}, [
|
|
153
153
|
!e(t).user && e(t).lastLoginProvider() === "google" ? {
|
|
154
154
|
name: "subtitle",
|
|
155
155
|
fn: s(() => [
|
|
156
|
-
u[1] || (u[1] =
|
|
156
|
+
u[1] || (u[1] = g("div", { class: "text-caption mt-n1" }, "Last Used", -1))
|
|
157
157
|
]),
|
|
158
158
|
key: "0"
|
|
159
159
|
} : void 0
|
|
160
160
|
]), 1032, ["prepend-icon"]));
|
|
161
161
|
}
|
|
162
|
-
}), bn = { class: "text-body-2" },
|
|
162
|
+
}), bn = { class: "text-body-2" }, Dt = /* @__PURE__ */ _({
|
|
163
163
|
__name: "VoAuthGithub",
|
|
164
164
|
setup(p) {
|
|
165
|
-
const t =
|
|
165
|
+
const t = E(), a = C(() => t.user && t.findIdentity("github")), o = C(() => t.user ? a.value ? "Connected to GitHub" : "Connect GitHub" : "Login with GitHub");
|
|
166
166
|
return (r, u) => (c(), m(se, {
|
|
167
167
|
"base-color": "#2a2a2a",
|
|
168
168
|
"prepend-icon": "$github",
|
|
@@ -170,45 +170,45 @@ const vn = /* @__PURE__ */ y({
|
|
|
170
170
|
slim: "",
|
|
171
171
|
variant: "flat",
|
|
172
172
|
onClick: u[0] || (u[0] = (i) => e(t).login("github"))
|
|
173
|
-
},
|
|
173
|
+
}, U({
|
|
174
174
|
title: s(() => [
|
|
175
|
-
|
|
175
|
+
g("span", bn, $(e(o)), 1)
|
|
176
176
|
]),
|
|
177
177
|
_: 2
|
|
178
178
|
}, [
|
|
179
179
|
!e(t).user && e(t).lastLoginProvider() === "github" ? {
|
|
180
180
|
name: "subtitle",
|
|
181
181
|
fn: s(() => [
|
|
182
|
-
u[1] || (u[1] =
|
|
182
|
+
u[1] || (u[1] = g("div", { class: "text-caption mt-n1" }, "Last Used", -1))
|
|
183
183
|
]),
|
|
184
184
|
key: "0"
|
|
185
185
|
} : void 0
|
|
186
186
|
]), 1024));
|
|
187
187
|
}
|
|
188
|
-
}), Cn = { class: "text-center" }, kn = { class: "text-center mb-6" }, Vn = { class: "text-h6 font-weight-light" },
|
|
188
|
+
}), Cn = { class: "text-center" }, kn = { class: "text-center mb-6" }, Vn = { class: "text-h6 font-weight-light" }, At = /* @__PURE__ */ _({
|
|
189
189
|
__name: "VoAuthCard",
|
|
190
190
|
setup(p) {
|
|
191
|
-
const t =
|
|
191
|
+
const t = E();
|
|
192
192
|
return (a, o) => {
|
|
193
|
-
const r =
|
|
193
|
+
const r = Dt, u = It, i = Mt, l = St, d = wt;
|
|
194
194
|
return c(), m(z, {
|
|
195
195
|
class: "pt-6 pb-8 px-4 px-sm-8 mx-auto",
|
|
196
196
|
"max-width": "480",
|
|
197
197
|
rounded: "lg"
|
|
198
198
|
}, {
|
|
199
199
|
default: s(() => [
|
|
200
|
-
|
|
200
|
+
g("div", Cn, [
|
|
201
201
|
n(oe, {
|
|
202
202
|
class: "mx-auto",
|
|
203
203
|
image: "https://vuetifyjs.b-cdn.net/docs/images/avatars/one.png",
|
|
204
204
|
size: "64"
|
|
205
205
|
})
|
|
206
206
|
]),
|
|
207
|
-
|
|
207
|
+
g("div", kn, [
|
|
208
208
|
n(Wo, { class: "text-h5 mb-1 text-md-h4" }, {
|
|
209
209
|
default: s(() => [
|
|
210
|
-
|
|
211
|
-
o[0] || (o[0] =
|
|
210
|
+
g("div", Vn, $(e(t).lastLoginProvider() ? "Welcome back to" : "Login to"), 1),
|
|
211
|
+
o[0] || (o[0] = g("span", { class: "text-h3 font-weight-bold" }, "Vuetify One", -1))
|
|
212
212
|
]),
|
|
213
213
|
_: 1
|
|
214
214
|
}),
|
|
@@ -238,12 +238,12 @@ const vn = /* @__PURE__ */ y({
|
|
|
238
238
|
});
|
|
239
239
|
};
|
|
240
240
|
}
|
|
241
|
-
}), Tt = /* @__PURE__ */
|
|
241
|
+
}), Tt = /* @__PURE__ */ _({
|
|
242
242
|
__name: "VoAuthDialog",
|
|
243
243
|
setup(p) {
|
|
244
|
-
const t =
|
|
244
|
+
const t = E();
|
|
245
245
|
return (a, o) => {
|
|
246
|
-
const r =
|
|
246
|
+
const r = At;
|
|
247
247
|
return c(), m(Ve, {
|
|
248
248
|
modelValue: e(t).dialog,
|
|
249
249
|
"onUpdate:modelValue": o[0] || (o[0] = (u) => e(t).dialog = u),
|
|
@@ -256,14 +256,14 @@ const vn = /* @__PURE__ */ y({
|
|
|
256
256
|
}, 8, ["modelValue"]);
|
|
257
257
|
};
|
|
258
258
|
}
|
|
259
|
-
}), we = /* @__PURE__ */
|
|
259
|
+
}), we = /* @__PURE__ */ _({
|
|
260
260
|
__name: "VoBtn",
|
|
261
261
|
props: {
|
|
262
262
|
readonly: { type: Boolean }
|
|
263
263
|
},
|
|
264
264
|
setup(p) {
|
|
265
265
|
const t = p;
|
|
266
|
-
return (a, o) => (c(), m(
|
|
266
|
+
return (a, o) => (c(), m(A, {
|
|
267
267
|
class: "text-none font-weight-regular",
|
|
268
268
|
color: "primary",
|
|
269
269
|
size: "small",
|
|
@@ -272,9 +272,9 @@ const vn = /* @__PURE__ */ y({
|
|
|
272
272
|
}),
|
|
273
273
|
tabindex: t.readonly ? -1 : void 0,
|
|
274
274
|
variant: "flat"
|
|
275
|
-
},
|
|
275
|
+
}, U({
|
|
276
276
|
loader: s(() => [
|
|
277
|
-
a.$slots.loader ?
|
|
277
|
+
a.$slots.loader ? b("", !0) : (c(), m(Yo, {
|
|
278
278
|
key: 0,
|
|
279
279
|
indeterminate: "disable-shrink",
|
|
280
280
|
size: "16",
|
|
@@ -300,10 +300,10 @@ const vn = /* @__PURE__ */ y({
|
|
|
300
300
|
} : void 0
|
|
301
301
|
]), 1032, ["style", "tabindex"]));
|
|
302
302
|
}
|
|
303
|
-
}), $n = { class: "pa-4 d-flex flex-column ga-4" }, Ut = /* @__PURE__ */
|
|
303
|
+
}), $n = { class: "pa-4 d-flex flex-column ga-4" }, Ut = /* @__PURE__ */ _({
|
|
304
304
|
__name: "VoAuthListItem",
|
|
305
305
|
setup(p) {
|
|
306
|
-
const t =
|
|
306
|
+
const t = E(), a = P(), o = M(!t.user && !t.isLoading);
|
|
307
307
|
H(() => t.user, (u) => {
|
|
308
308
|
o.value = !u;
|
|
309
309
|
});
|
|
@@ -311,7 +311,7 @@ const vn = /* @__PURE__ */ y({
|
|
|
311
311
|
t.user && (o.value = !o.value);
|
|
312
312
|
}
|
|
313
313
|
return (u, i) => {
|
|
314
|
-
const l =
|
|
314
|
+
const l = Dt, d = It, f = Mt, y = St, v = wt;
|
|
315
315
|
return c(), m(z, {
|
|
316
316
|
class: "ma-2",
|
|
317
317
|
rounded: "lg",
|
|
@@ -336,7 +336,7 @@ const vn = /* @__PURE__ */ y({
|
|
|
336
336
|
e(t).user && (e(o) || !e(a).one.sync) ? (c(), m(We, {
|
|
337
337
|
key: 0,
|
|
338
338
|
modelValue: e(a).one.sync,
|
|
339
|
-
"onUpdate:modelValue": i[0] || (i[0] = (
|
|
339
|
+
"onUpdate:modelValue": i[0] || (i[0] = (h) => e(a).one.sync = h),
|
|
340
340
|
color: e(a).one.sync ? "success" : void 0,
|
|
341
341
|
density: "compact",
|
|
342
342
|
"hide-details": "",
|
|
@@ -350,7 +350,7 @@ const vn = /* @__PURE__ */ y({
|
|
|
350
350
|
}, null, 8, ["color"])
|
|
351
351
|
]),
|
|
352
352
|
_: 1
|
|
353
|
-
}, 8, ["modelValue", "color"])) :
|
|
353
|
+
}, 8, ["modelValue", "color"])) : b("", !0)
|
|
354
354
|
]),
|
|
355
355
|
_: 1
|
|
356
356
|
})
|
|
@@ -365,26 +365,26 @@ const vn = /* @__PURE__ */ y({
|
|
|
365
365
|
color: "transparent"
|
|
366
366
|
}, {
|
|
367
367
|
default: s(() => [
|
|
368
|
-
|
|
368
|
+
g("div", $n, [
|
|
369
369
|
n(l, {
|
|
370
|
-
onClick: i[2] || (i[2] = (
|
|
370
|
+
onClick: i[2] || (i[2] = (h) => o.value = !1)
|
|
371
371
|
}),
|
|
372
372
|
n(d, {
|
|
373
|
-
onClick: i[3] || (i[3] = (
|
|
373
|
+
onClick: i[3] || (i[3] = (h) => o.value = !1)
|
|
374
374
|
}),
|
|
375
375
|
n(f, {
|
|
376
|
-
onClick: i[4] || (i[4] = (
|
|
376
|
+
onClick: i[4] || (i[4] = (h) => o.value = !1)
|
|
377
377
|
}),
|
|
378
|
-
n(
|
|
379
|
-
onClick: i[5] || (i[5] = (
|
|
378
|
+
n(y, {
|
|
379
|
+
onClick: i[5] || (i[5] = (h) => o.value = !1)
|
|
380
380
|
}),
|
|
381
|
-
n(
|
|
382
|
-
onClick: i[6] || (i[6] = (
|
|
381
|
+
n(v, {
|
|
382
|
+
onClick: i[6] || (i[6] = (h) => o.value = !1)
|
|
383
383
|
})
|
|
384
384
|
])
|
|
385
385
|
]),
|
|
386
386
|
_: 1
|
|
387
|
-
})) :
|
|
387
|
+
})) : b("", !0)
|
|
388
388
|
]),
|
|
389
389
|
_: 1
|
|
390
390
|
})
|
|
@@ -396,10 +396,10 @@ const vn = /* @__PURE__ */ y({
|
|
|
396
396
|
}, 8, ["variant"]);
|
|
397
397
|
};
|
|
398
398
|
}
|
|
399
|
-
}),
|
|
399
|
+
}), W = /* @__PURE__ */ _({
|
|
400
400
|
__name: "VoListItem",
|
|
401
401
|
setup(p) {
|
|
402
|
-
return (t, a) => (c(), m(se, { slim: "" },
|
|
402
|
+
return (t, a) => (c(), m(se, { slim: "" }, U({
|
|
403
403
|
default: s(() => [
|
|
404
404
|
w(t.$slots, "default")
|
|
405
405
|
]),
|
|
@@ -428,15 +428,15 @@ const vn = /* @__PURE__ */ y({
|
|
|
428
428
|
} : void 0
|
|
429
429
|
]), 1024));
|
|
430
430
|
}
|
|
431
|
-
}), xn = /* @__PURE__ */
|
|
431
|
+
}), xn = /* @__PURE__ */ _({
|
|
432
432
|
__name: "VoAuthLogoutNavItem",
|
|
433
433
|
setup(p) {
|
|
434
|
-
const t =
|
|
434
|
+
const t = E(), a = M(!1);
|
|
435
435
|
async function o() {
|
|
436
436
|
a.value = !0, await t.logout(), a.value = !1;
|
|
437
437
|
}
|
|
438
438
|
return (r, u) => {
|
|
439
|
-
const i =
|
|
439
|
+
const i = W;
|
|
440
440
|
return c(), m(i, {
|
|
441
441
|
class: "mb-0",
|
|
442
442
|
disabled: e(a),
|
|
@@ -449,7 +449,7 @@ const vn = /* @__PURE__ */ y({
|
|
|
449
449
|
}, null, 8, ["disabled", "loading", "prepend-icon"]);
|
|
450
450
|
};
|
|
451
451
|
}
|
|
452
|
-
}), de = /* @__PURE__ */
|
|
452
|
+
}), de = /* @__PURE__ */ _({
|
|
453
453
|
__name: "VoDialog",
|
|
454
454
|
props: /* @__PURE__ */ rt({
|
|
455
455
|
prependIcon: {},
|
|
@@ -460,7 +460,7 @@ const vn = /* @__PURE__ */ y({
|
|
|
460
460
|
}),
|
|
461
461
|
emits: ["update:modelValue"],
|
|
462
462
|
setup(p) {
|
|
463
|
-
const t =
|
|
463
|
+
const t = K(p, "modelValue"), a = ie(), o = M(!1);
|
|
464
464
|
return (r, u) => (c(), m(Ve, {
|
|
465
465
|
modelValue: t.value,
|
|
466
466
|
"onUpdate:modelValue": u[2] || (u[2] = (i) => t.value = i),
|
|
@@ -477,10 +477,10 @@ const vn = /* @__PURE__ */ y({
|
|
|
477
477
|
"prepend-icon": r.prependIcon,
|
|
478
478
|
rounded: e(o) || e(a).xs.value ? 0 : "lg",
|
|
479
479
|
title: r.title
|
|
480
|
-
},
|
|
480
|
+
}, U({
|
|
481
481
|
append: s(() => [
|
|
482
482
|
w(r.$slots, "append"),
|
|
483
|
-
e(a).xs.value ?
|
|
483
|
+
e(a).xs.value ? b("", !0) : (c(), m(A, {
|
|
484
484
|
key: 0,
|
|
485
485
|
class: "me-2",
|
|
486
486
|
density: "comfortable",
|
|
@@ -489,7 +489,7 @@ const vn = /* @__PURE__ */ y({
|
|
|
489
489
|
variant: "text",
|
|
490
490
|
onClick: u[0] || (u[0] = (l) => o.value = !e(o))
|
|
491
491
|
}, null, 8, ["icon"])),
|
|
492
|
-
n(
|
|
492
|
+
n(A, {
|
|
493
493
|
density: "comfortable",
|
|
494
494
|
icon: "$close",
|
|
495
495
|
size: "small",
|
|
@@ -498,7 +498,7 @@ const vn = /* @__PURE__ */ y({
|
|
|
498
498
|
})
|
|
499
499
|
]),
|
|
500
500
|
default: s(() => [
|
|
501
|
-
n(
|
|
501
|
+
n(j),
|
|
502
502
|
w(r.$slots, "default")
|
|
503
503
|
]),
|
|
504
504
|
_: 2
|
|
@@ -522,7 +522,7 @@ const vn = /* @__PURE__ */ y({
|
|
|
522
522
|
_: 3
|
|
523
523
|
}, 8, ["modelValue", "fullscreen", "max-height", "max-width"]));
|
|
524
524
|
}
|
|
525
|
-
}), Pt = /* @__PURE__ */
|
|
525
|
+
}), Pt = /* @__PURE__ */ _({
|
|
526
526
|
__name: "VoSwitch",
|
|
527
527
|
props: {
|
|
528
528
|
disabled: { type: Boolean }
|
|
@@ -534,7 +534,7 @@ const vn = /* @__PURE__ */ y({
|
|
|
534
534
|
disabled: t.disabled,
|
|
535
535
|
inset: "",
|
|
536
536
|
"true-icon": `svg:${e(ke)}`
|
|
537
|
-
},
|
|
537
|
+
}, U({
|
|
538
538
|
thumb: s(() => [
|
|
539
539
|
n(I, {
|
|
540
540
|
color: t.disabled ? void 0 : "primary"
|
|
@@ -554,30 +554,30 @@ const vn = /* @__PURE__ */ y({
|
|
|
554
554
|
}), Ln = {
|
|
555
555
|
key: 1,
|
|
556
556
|
class: "mb-3 text-caption text-medium-emphasis"
|
|
557
|
-
}, re = /* @__PURE__ */
|
|
557
|
+
}, re = /* @__PURE__ */ _({
|
|
558
558
|
__name: "VoDialogSubheader",
|
|
559
559
|
props: {
|
|
560
560
|
title: {},
|
|
561
561
|
text: {}
|
|
562
562
|
},
|
|
563
563
|
setup(p) {
|
|
564
|
-
return (t, a) => (c(),
|
|
564
|
+
return (t, a) => (c(), V(D, null, [
|
|
565
565
|
t.title ? (c(), m(Ne, {
|
|
566
566
|
key: 0,
|
|
567
567
|
class: "font-weight-black"
|
|
568
568
|
}, {
|
|
569
569
|
default: s(() => [
|
|
570
|
-
S(
|
|
570
|
+
S($(t.title), 1)
|
|
571
571
|
]),
|
|
572
572
|
_: 1
|
|
573
|
-
})) :
|
|
574
|
-
t.text ? (c(),
|
|
573
|
+
})) : b("", !0),
|
|
574
|
+
t.text ? (c(), V("div", Ln, $(t.text), 1)) : b("", !0)
|
|
575
575
|
], 64));
|
|
576
576
|
}
|
|
577
|
-
}), wn = { key: 0 }, Sn = /* @__PURE__ */
|
|
577
|
+
}), wn = { key: 0 }, Sn = /* @__PURE__ */ _({
|
|
578
578
|
__name: "VoSettingsPageSuitOption",
|
|
579
579
|
setup(p) {
|
|
580
|
-
const t =
|
|
580
|
+
const t = P(), a = [
|
|
581
581
|
{
|
|
582
582
|
title: "Choose a page suit",
|
|
583
583
|
value: "",
|
|
@@ -607,7 +607,7 @@ const vn = /* @__PURE__ */ y({
|
|
|
607
607
|
];
|
|
608
608
|
return (o, r) => {
|
|
609
609
|
const u = Pt, i = re;
|
|
610
|
-
return c(),
|
|
610
|
+
return c(), V(D, null, [
|
|
611
611
|
n(u, {
|
|
612
612
|
modelValue: e(t).one.suits.enabled,
|
|
613
613
|
"onUpdate:modelValue": r[0] || (r[0] = (l) => e(t).one.suits.enabled = l),
|
|
@@ -617,7 +617,7 @@ const vn = /* @__PURE__ */ y({
|
|
|
617
617
|
}, null, 8, ["modelValue"]),
|
|
618
618
|
n(Le, null, {
|
|
619
619
|
default: s(() => [
|
|
620
|
-
e(t).one.suits.enabled ? (c(),
|
|
620
|
+
e(t).one.suits.enabled ? (c(), V("div", wn, [
|
|
621
621
|
n(Jo, {
|
|
622
622
|
modelValue: e(t).one.suits.suit,
|
|
623
623
|
"onUpdate:modelValue": r[1] || (r[1] = (l) => e(t).one.suits.suit = l),
|
|
@@ -636,7 +636,7 @@ const vn = /* @__PURE__ */ y({
|
|
|
636
636
|
size: "x-small",
|
|
637
637
|
start: ""
|
|
638
638
|
}, null, 8, ["icon"]),
|
|
639
|
-
S(" " +
|
|
639
|
+
S(" " + $(l.title), 1)
|
|
640
640
|
]),
|
|
641
641
|
_: 1
|
|
642
642
|
}, 8, ["modelValue"]),
|
|
@@ -657,7 +657,7 @@ const vn = /* @__PURE__ */ y({
|
|
|
657
657
|
variant: "flat"
|
|
658
658
|
}, {
|
|
659
659
|
append: s(() => [
|
|
660
|
-
n(
|
|
660
|
+
n(j, {
|
|
661
661
|
class: "ms-2 border-opacity-50",
|
|
662
662
|
vertical: ""
|
|
663
663
|
}),
|
|
@@ -673,7 +673,7 @@ const vn = /* @__PURE__ */ y({
|
|
|
673
673
|
variant: "flat"
|
|
674
674
|
}, {
|
|
675
675
|
append: s(() => [
|
|
676
|
-
n(
|
|
676
|
+
n(j, {
|
|
677
677
|
class: "ms-2 border-opacity-50",
|
|
678
678
|
vertical: ""
|
|
679
679
|
}),
|
|
@@ -689,7 +689,7 @@ const vn = /* @__PURE__ */ y({
|
|
|
689
689
|
variant: "flat"
|
|
690
690
|
}, {
|
|
691
691
|
append: s(() => [
|
|
692
|
-
n(
|
|
692
|
+
n(j, {
|
|
693
693
|
class: "ms-2 border-opacity-50",
|
|
694
694
|
vertical: ""
|
|
695
695
|
}),
|
|
@@ -700,7 +700,7 @@ const vn = /* @__PURE__ */ y({
|
|
|
700
700
|
]),
|
|
701
701
|
_: 1
|
|
702
702
|
}, 8, ["modelValue"])
|
|
703
|
-
])) :
|
|
703
|
+
])) : b("", !0)
|
|
704
704
|
]),
|
|
705
705
|
_: 1
|
|
706
706
|
})
|
|
@@ -901,8 +901,8 @@ function Mn() {
|
|
|
901
901
|
}
|
|
902
902
|
};
|
|
903
903
|
}
|
|
904
|
-
const Oe =
|
|
905
|
-
const p = "https://cdn.vuetifyjs.com/docs/images/one/", t = O(), a =
|
|
904
|
+
const Oe = G("settings", () => {
|
|
905
|
+
const p = "https://cdn.vuetifyjs.com/docs/images/one/", t = O(), a = P(), o = Ue(), r = Mn(), u = {
|
|
906
906
|
blackguard: {
|
|
907
907
|
"app-bar": p + "suits/blackguard/blackguard-app-bar.png",
|
|
908
908
|
drawer: p + "suits/blackguard/blackguard-app-drawer.png",
|
|
@@ -928,8 +928,8 @@ const Oe = q("settings", () => {
|
|
|
928
928
|
return {};
|
|
929
929
|
const l = u[a.one.suits.suit.toLowerCase()], d = {};
|
|
930
930
|
for (const f of a.one.suits.elements) {
|
|
931
|
-
const
|
|
932
|
-
d[
|
|
931
|
+
const y = f;
|
|
932
|
+
d[y] = l[y];
|
|
933
933
|
}
|
|
934
934
|
return d;
|
|
935
935
|
});
|
|
@@ -942,7 +942,7 @@ const Oe = q("settings", () => {
|
|
|
942
942
|
suit: i,
|
|
943
943
|
CDN_URL: p
|
|
944
944
|
};
|
|
945
|
-
}), In = { class: "ms-5" },
|
|
945
|
+
}), In = { class: "ms-5" }, Dn = { class: "pb-2" }, An = /* @__PURE__ */ _({
|
|
946
946
|
__name: "VoSettingsDialog",
|
|
947
947
|
props: {
|
|
948
948
|
modelValue: { type: Boolean },
|
|
@@ -950,7 +950,7 @@ const Oe = q("settings", () => {
|
|
|
950
950
|
},
|
|
951
951
|
emits: ["update:modelValue"],
|
|
952
952
|
setup(p) {
|
|
953
|
-
const t =
|
|
953
|
+
const t = K(p, "modelValue"), a = O(), o = Oe(), r = P(), u = C(() => [
|
|
954
954
|
{
|
|
955
955
|
title: "Light",
|
|
956
956
|
subtitle: "A standard light theme.",
|
|
@@ -1018,21 +1018,21 @@ const Oe = q("settings", () => {
|
|
|
1018
1018
|
{ title: "Releases", items: i.value }
|
|
1019
1019
|
]), d = C({
|
|
1020
1020
|
get: () => !r.one.ads.enabled,
|
|
1021
|
-
set: (
|
|
1022
|
-
r.one.ads.enabled = !
|
|
1021
|
+
set: (v) => {
|
|
1022
|
+
r.one.ads.enabled = !v;
|
|
1023
1023
|
}
|
|
1024
1024
|
}), f = Ce();
|
|
1025
1025
|
H(f, async () => {
|
|
1026
1026
|
f.value.one === "settings" && (a.isOpen = !0, await be(), t.value = !0);
|
|
1027
1027
|
}, { immediate: !0 });
|
|
1028
|
-
function
|
|
1029
|
-
|
|
1028
|
+
function y(v, h) {
|
|
1029
|
+
h.disabled || (r.one.theme = h.value, v?.());
|
|
1030
1030
|
}
|
|
1031
|
-
return (
|
|
1032
|
-
const
|
|
1033
|
-
return c(), m(
|
|
1031
|
+
return (v, h) => {
|
|
1032
|
+
const k = re, x = Sn, T = Pt, B = de;
|
|
1033
|
+
return c(), m(B, {
|
|
1034
1034
|
modelValue: t.value,
|
|
1035
|
-
"onUpdate:modelValue":
|
|
1035
|
+
"onUpdate:modelValue": h[6] || (h[6] = (L) => t.value = L),
|
|
1036
1036
|
"prepend-icon": `svg:${e(co)}`,
|
|
1037
1037
|
title: "Settings"
|
|
1038
1038
|
}, {
|
|
@@ -1043,19 +1043,19 @@ const Oe = q("settings", () => {
|
|
|
1043
1043
|
default: s(() => [
|
|
1044
1044
|
n(J, { class: "px-7" }, {
|
|
1045
1045
|
default: s(() => [
|
|
1046
|
-
n(
|
|
1046
|
+
n(k, {
|
|
1047
1047
|
text: "Customize your documentation experience with light and dark themes, as well as a combination of both named.",
|
|
1048
1048
|
title: "Theme"
|
|
1049
1049
|
}),
|
|
1050
1050
|
n(Ct, {
|
|
1051
1051
|
modelValue: e(r).one.theme,
|
|
1052
|
-
"onUpdate:modelValue":
|
|
1052
|
+
"onUpdate:modelValue": h[0] || (h[0] = (L) => e(r).one.theme = L),
|
|
1053
1053
|
mandatory: ""
|
|
1054
1054
|
}, {
|
|
1055
1055
|
default: s(() => [
|
|
1056
1056
|
n(fe, { dense: "" }, {
|
|
1057
1057
|
default: s(() => [
|
|
1058
|
-
(c(!0),
|
|
1058
|
+
(c(!0), V(D, null, Y(l.value, (L, pe) => (c(), m(le, {
|
|
1059
1059
|
key: pe,
|
|
1060
1060
|
class: "d-flex flex-column ga-3",
|
|
1061
1061
|
cols: "12",
|
|
@@ -1064,34 +1064,34 @@ const Oe = q("settings", () => {
|
|
|
1064
1064
|
default: s(() => [
|
|
1065
1065
|
n(qo, { class: "mb-n4" }, {
|
|
1066
1066
|
default: s(() => [
|
|
1067
|
-
S(
|
|
1067
|
+
S($(L.title), 1)
|
|
1068
1068
|
]),
|
|
1069
1069
|
_: 2
|
|
1070
1070
|
}, 1024),
|
|
1071
|
-
(c(!0),
|
|
1072
|
-
key:
|
|
1073
|
-
value:
|
|
1071
|
+
(c(!0), V(D, null, Y(L.items, (F) => (c(), m(je, {
|
|
1072
|
+
key: F.value,
|
|
1073
|
+
value: F.value
|
|
1074
1074
|
}, {
|
|
1075
1075
|
default: s(({ toggle: Zt, isSelected: et }) => [
|
|
1076
1076
|
n(ve, null, {
|
|
1077
|
-
default: s(({ props: Nt, isHovering:
|
|
1078
|
-
n(z,
|
|
1077
|
+
default: s(({ props: Nt, isHovering: jt }) => [
|
|
1078
|
+
n(z, q({
|
|
1079
1079
|
color: et ? "primary" : "surface-variant",
|
|
1080
1080
|
height: "76",
|
|
1081
|
-
image:
|
|
1082
|
-
"prepend-icon":
|
|
1083
|
-
readonly:
|
|
1084
|
-
ripple: !
|
|
1085
|
-
subtitle:
|
|
1086
|
-
title:
|
|
1081
|
+
image: F.image,
|
|
1082
|
+
"prepend-icon": F.prependIcon,
|
|
1083
|
+
readonly: F.disabled,
|
|
1084
|
+
ripple: !F.disabled,
|
|
1085
|
+
subtitle: F.disabled ? "🔓 Unlock with Vuetify One" : F.subtitle,
|
|
1086
|
+
title: F.title,
|
|
1087
1087
|
variant: "tonal"
|
|
1088
1088
|
}, { ref_for: !0 }, Nt, {
|
|
1089
|
-
onClick: (Ea) =>
|
|
1089
|
+
onClick: (Ea) => y(Zt, F)
|
|
1090
1090
|
}), {
|
|
1091
1091
|
image: s(() => [
|
|
1092
1092
|
n(ae, {
|
|
1093
1093
|
style: it({
|
|
1094
|
-
filter: et ||
|
|
1094
|
+
filter: et || jt ? "none" : "grayscale(100%)"
|
|
1095
1095
|
})
|
|
1096
1096
|
}, null, 8, ["style"])
|
|
1097
1097
|
]),
|
|
@@ -1112,35 +1112,35 @@ const Oe = q("settings", () => {
|
|
|
1112
1112
|
]),
|
|
1113
1113
|
_: 1
|
|
1114
1114
|
}, 8, ["modelValue"]),
|
|
1115
|
-
e(a).isSubscriber ? (c(),
|
|
1116
|
-
n(
|
|
1117
|
-
n(
|
|
1118
|
-
], 64)) :
|
|
1115
|
+
e(a).isSubscriber ? (c(), V(D, { key: 0 }, [
|
|
1116
|
+
n(j, { class: "mt-6 mb-4" }),
|
|
1117
|
+
n(x)
|
|
1118
|
+
], 64)) : b("", !0)
|
|
1119
1119
|
]),
|
|
1120
1120
|
_: 1
|
|
1121
1121
|
}),
|
|
1122
|
-
n(
|
|
1122
|
+
n(j),
|
|
1123
1123
|
n(J, { class: "px-7" }, {
|
|
1124
1124
|
default: s(() => [
|
|
1125
|
-
n(
|
|
1125
|
+
n(k, {
|
|
1126
1126
|
text: "These options change your browsing experience within Vuetify properties",
|
|
1127
1127
|
title: "Experience"
|
|
1128
1128
|
}),
|
|
1129
|
-
e(a).isSubscriber ? (c(), m(
|
|
1129
|
+
e(a).isSubscriber ? (c(), m(T, {
|
|
1130
1130
|
key: 0,
|
|
1131
1131
|
modelValue: d.value,
|
|
1132
|
-
"onUpdate:modelValue":
|
|
1132
|
+
"onUpdate:modelValue": h[1] || (h[1] = (L) => d.value = L),
|
|
1133
1133
|
class: "mb-2",
|
|
1134
1134
|
label: "Disable Ads",
|
|
1135
1135
|
messages: "Disable traditional advertisements on all documentation pages."
|
|
1136
|
-
}, null, 8, ["modelValue"])) :
|
|
1136
|
+
}, null, 8, ["modelValue"])) : b("", !0),
|
|
1137
1137
|
n(Le, null, {
|
|
1138
1138
|
default: s(() => [
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
n(
|
|
1139
|
+
N(g("div", In, [
|
|
1140
|
+
g("div", Dn, [
|
|
1141
|
+
n(T, {
|
|
1142
1142
|
modelValue: e(r).one.ads.house,
|
|
1143
|
-
"onUpdate:modelValue":
|
|
1143
|
+
"onUpdate:modelValue": h[2] || (h[2] = (L) => e(r).one.ads.house = L),
|
|
1144
1144
|
label: "Show House Ads",
|
|
1145
1145
|
messages: "These advertisements are for Vuetify products and services only."
|
|
1146
1146
|
}, null, 8, ["modelValue"])
|
|
@@ -1151,41 +1151,41 @@ const Oe = q("settings", () => {
|
|
|
1151
1151
|
]),
|
|
1152
1152
|
_: 1
|
|
1153
1153
|
}),
|
|
1154
|
-
n(
|
|
1154
|
+
n(T, {
|
|
1155
1155
|
modelValue: e(r).one.quicklinks,
|
|
1156
|
-
"onUpdate:modelValue":
|
|
1156
|
+
"onUpdate:modelValue": h[3] || (h[3] = (L) => e(r).one.quicklinks = L),
|
|
1157
1157
|
label: "Show Pinned Ecosystem Links",
|
|
1158
1158
|
messages: "Display your pinned ecosystem links below your avatar in the user menu."
|
|
1159
1159
|
}, null, 8, ["modelValue"])
|
|
1160
1160
|
]),
|
|
1161
1161
|
_: 1
|
|
1162
1162
|
}),
|
|
1163
|
-
n(
|
|
1163
|
+
n(j),
|
|
1164
1164
|
e(a).isSubscriber ? (c(), m(J, {
|
|
1165
1165
|
key: 0,
|
|
1166
1166
|
class: "px-7"
|
|
1167
1167
|
}, {
|
|
1168
1168
|
default: s(() => [
|
|
1169
|
-
n(
|
|
1169
|
+
n(k, {
|
|
1170
1170
|
text: "Vuetify will communicate with you through banners and notifications. You can disable these features here or reset your local notification cache.",
|
|
1171
1171
|
title: "Communication"
|
|
1172
1172
|
}),
|
|
1173
|
-
n(
|
|
1173
|
+
n(T, {
|
|
1174
1174
|
modelValue: e(r).one.notifications.enabled,
|
|
1175
|
-
"onUpdate:modelValue":
|
|
1175
|
+
"onUpdate:modelValue": h[4] || (h[4] = (L) => e(r).one.notifications.enabled = L),
|
|
1176
1176
|
class: "mb-2",
|
|
1177
1177
|
label: "Enable Notifications",
|
|
1178
1178
|
messages: "Notifications are short form messages that provide information about new releases, updates, and other important information."
|
|
1179
1179
|
}, null, 8, ["modelValue"]),
|
|
1180
|
-
n(
|
|
1180
|
+
n(T, {
|
|
1181
1181
|
modelValue: e(r).one.banners.enabled,
|
|
1182
|
-
"onUpdate:modelValue":
|
|
1182
|
+
"onUpdate:modelValue": h[5] || (h[5] = (L) => e(r).one.banners.enabled = L),
|
|
1183
1183
|
label: "Enable Banners",
|
|
1184
1184
|
messages: "Banners are located at the top of the screen and provide a callout for important information."
|
|
1185
1185
|
}, null, 8, ["modelValue"])
|
|
1186
1186
|
]),
|
|
1187
1187
|
_: 1
|
|
1188
|
-
})) :
|
|
1188
|
+
})) : b("", !0)
|
|
1189
1189
|
]),
|
|
1190
1190
|
_: 1
|
|
1191
1191
|
})
|
|
@@ -1197,12 +1197,12 @@ const Oe = q("settings", () => {
|
|
|
1197
1197
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
1198
1198
|
};
|
|
1199
1199
|
}
|
|
1200
|
-
}), Tn = /* @__PURE__ */
|
|
1200
|
+
}), Tn = /* @__PURE__ */ _({
|
|
1201
1201
|
__name: "VoSettingsListItem",
|
|
1202
1202
|
setup(p) {
|
|
1203
1203
|
const t = M(!1);
|
|
1204
1204
|
return (a, o) => {
|
|
1205
|
-
const r =
|
|
1205
|
+
const r = An, u = W;
|
|
1206
1206
|
return c(), m(u, {
|
|
1207
1207
|
active: e(t),
|
|
1208
1208
|
link: "",
|
|
@@ -1213,15 +1213,15 @@ const Oe = q("settings", () => {
|
|
|
1213
1213
|
default: s(() => [
|
|
1214
1214
|
n(r, {
|
|
1215
1215
|
modelValue: e(t),
|
|
1216
|
-
"onUpdate:modelValue": o[0] || (o[0] = (i) =>
|
|
1216
|
+
"onUpdate:modelValue": o[0] || (o[0] = (i) => R(t) ? t.value = i : null)
|
|
1217
1217
|
}, null, 8, ["modelValue"])
|
|
1218
1218
|
]),
|
|
1219
1219
|
_: 1
|
|
1220
1220
|
}, 8, ["active", "prepend-icon"]);
|
|
1221
1221
|
};
|
|
1222
1222
|
}
|
|
1223
|
-
}), ze =
|
|
1224
|
-
const p =
|
|
1223
|
+
}), ze = G("api-key", () => {
|
|
1224
|
+
const p = Q(), t = Z(null), a = M(!1), o = C(() => t.value?.apiKey || ""), r = C(() => {
|
|
1225
1225
|
if (!o.value)
|
|
1226
1226
|
return "";
|
|
1227
1227
|
const l = o.value;
|
|
@@ -1252,7 +1252,7 @@ function Be(p = 1e3) {
|
|
|
1252
1252
|
}
|
|
1253
1253
|
return { copied: t, copy: a };
|
|
1254
1254
|
}
|
|
1255
|
-
const Un = /* @__PURE__ */
|
|
1255
|
+
const Un = /* @__PURE__ */ _({
|
|
1256
1256
|
__name: "VoMcpCopyDialog",
|
|
1257
1257
|
props: {
|
|
1258
1258
|
modelValue: { type: Boolean },
|
|
@@ -1260,7 +1260,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
1260
1260
|
},
|
|
1261
1261
|
emits: ["update:modelValue"],
|
|
1262
1262
|
setup(p) {
|
|
1263
|
-
const t = ze(), { copy: a, copied: o } = Be(), r =
|
|
1263
|
+
const t = ze(), { copy: a, copied: o } = Be(), r = K(p, "modelValue");
|
|
1264
1264
|
return (u, i) => {
|
|
1265
1265
|
const l = lt("v-icon-btn");
|
|
1266
1266
|
return c(), m(Ve, {
|
|
@@ -1281,12 +1281,12 @@ const Un = /* @__PURE__ */ y({
|
|
|
1281
1281
|
}, null, 8, ["onClick"])
|
|
1282
1282
|
]),
|
|
1283
1283
|
default: s(() => [
|
|
1284
|
-
n(
|
|
1284
|
+
n(j),
|
|
1285
1285
|
n(J, null, {
|
|
1286
1286
|
default: s(() => [
|
|
1287
|
-
i[4] || (i[4] =
|
|
1287
|
+
i[4] || (i[4] = g("p", { class: "mb-4" }, [
|
|
1288
1288
|
S(" Please save your secret key in a safe place since "),
|
|
1289
|
-
|
|
1289
|
+
g("strong", null, "you won't be able"),
|
|
1290
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. ")
|
|
1291
1291
|
], -1)),
|
|
1292
1292
|
e(t).key ? (c(), m(kt, {
|
|
@@ -1296,7 +1296,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
1296
1296
|
variant: "outlined"
|
|
1297
1297
|
}, {
|
|
1298
1298
|
"append-inner": s(() => [
|
|
1299
|
-
n(
|
|
1299
|
+
n(A, {
|
|
1300
1300
|
class: "text-none",
|
|
1301
1301
|
color: "success",
|
|
1302
1302
|
"prepend-icon": e(o) ? "mdi-check" : "mdi-content-copy",
|
|
@@ -1321,14 +1321,14 @@ const Un = /* @__PURE__ */ y({
|
|
|
1321
1321
|
}, 8, ["prepend-icon"])
|
|
1322
1322
|
]),
|
|
1323
1323
|
_: 1
|
|
1324
|
-
}, 8, ["model-value"])) :
|
|
1324
|
+
}, 8, ["model-value"])) : b("", !0)
|
|
1325
1325
|
]),
|
|
1326
1326
|
_: 1
|
|
1327
1327
|
}),
|
|
1328
1328
|
n(ht, null, {
|
|
1329
1329
|
default: s(() => [
|
|
1330
1330
|
n(bt),
|
|
1331
|
-
n(
|
|
1331
|
+
n(A, {
|
|
1332
1332
|
class: "text-none",
|
|
1333
1333
|
color: "surface-variant",
|
|
1334
1334
|
size: "small",
|
|
@@ -1347,19 +1347,19 @@ const Un = /* @__PURE__ */ y({
|
|
|
1347
1347
|
}, 8, ["modelValue"]);
|
|
1348
1348
|
};
|
|
1349
1349
|
}
|
|
1350
|
-
}), Pn = { class: "d-flex align-center justify-end" }, On = { class: "text-end" }, zn = /* @__PURE__ */
|
|
1350
|
+
}), Pn = { class: "d-flex align-center justify-end" }, On = { class: "text-end" }, zn = /* @__PURE__ */ _({
|
|
1351
1351
|
__name: "VoMcpTokenTable",
|
|
1352
1352
|
setup(p) {
|
|
1353
1353
|
const t = ze(), { copy: a, copied: o } = Be(2e3), r = me();
|
|
1354
1354
|
return (u, i) => (c(), m(en, { class: "rounded border mt-4" }, {
|
|
1355
1355
|
default: s(() => [
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
i[2] || (i[2] =
|
|
1359
|
-
i[3] || (i[3] =
|
|
1360
|
-
|
|
1356
|
+
g("thead", null, [
|
|
1357
|
+
g("tr", null, [
|
|
1358
|
+
i[2] || (i[2] = g("th", { class: "ps-6" }, "Secret Key", -1)),
|
|
1359
|
+
i[3] || (i[3] = g("th", null, "Created", -1)),
|
|
1360
|
+
g("th", Pn, [
|
|
1361
1361
|
i[1] || (i[1] = S(" Last Used ", -1)),
|
|
1362
|
-
|
|
1362
|
+
N(n(I, {
|
|
1363
1363
|
end: "",
|
|
1364
1364
|
icon: "$info",
|
|
1365
1365
|
size: "1em"
|
|
@@ -1369,12 +1369,12 @@ const Un = /* @__PURE__ */ y({
|
|
|
1369
1369
|
])
|
|
1370
1370
|
])
|
|
1371
1371
|
]),
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1372
|
+
g("tbody", null, [
|
|
1373
|
+
g("tr", null, [
|
|
1374
|
+
g("td", null, [
|
|
1375
1375
|
n(ve, null, {
|
|
1376
1376
|
default: s(({ isHovering: l, props: d }) => [
|
|
1377
|
-
n(
|
|
1377
|
+
n(A, q(d, {
|
|
1378
1378
|
color: l || e(o) ? "primary" : void 0,
|
|
1379
1379
|
slim: "",
|
|
1380
1380
|
text: e(t).key ? e(t).trim : "",
|
|
@@ -1393,15 +1393,15 @@ const Un = /* @__PURE__ */ y({
|
|
|
1393
1393
|
_: 1
|
|
1394
1394
|
})
|
|
1395
1395
|
]),
|
|
1396
|
-
|
|
1397
|
-
|
|
1396
|
+
g("td", null, $(e(t).accessToken ? e(r).format(e(t).accessToken.createdAt, "fullDate") : ""), 1),
|
|
1397
|
+
g("td", On, $(e(t).accessToken ? e(r).format(e(t).accessToken.updatedAt, "fullDate") : ""), 1)
|
|
1398
1398
|
])
|
|
1399
1399
|
])
|
|
1400
1400
|
]),
|
|
1401
1401
|
_: 1
|
|
1402
1402
|
}));
|
|
1403
1403
|
}
|
|
1404
|
-
}), Bn = { class: "my-4" }, En = { class: "bg-surface-variant rounded pa-2 d-block" }, Fn = /* @__PURE__ */
|
|
1404
|
+
}), Bn = { class: "my-4" }, En = { class: "bg-surface-variant rounded pa-2 d-block" }, Fn = /* @__PURE__ */ _({
|
|
1405
1405
|
__name: "VoMcpHowTo",
|
|
1406
1406
|
setup(p) {
|
|
1407
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);
|
|
@@ -1423,11 +1423,11 @@ const Un = /* @__PURE__ */ y({
|
|
|
1423
1423
|
default: s(() => [
|
|
1424
1424
|
n(sn, { class: "bg-surface-light rounded-b" }, {
|
|
1425
1425
|
default: s(() => [
|
|
1426
|
-
l[2] || (l[2] =
|
|
1427
|
-
l[3] || (l[3] =
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
S(
|
|
1426
|
+
l[2] || (l[2] = g("strong", null, "Quick Setup", -1)),
|
|
1427
|
+
l[3] || (l[3] = g("p", { class: "mb-4 mt-2" }, " Run the following command to configure your favorite IDE or AI agent: ", -1)),
|
|
1428
|
+
g("div", Bn, [
|
|
1429
|
+
g("code", En, [
|
|
1430
|
+
S($(e(u)) + " ", 1),
|
|
1431
1431
|
n(I, {
|
|
1432
1432
|
class: "ms-2",
|
|
1433
1433
|
end: "",
|
|
@@ -1437,10 +1437,10 @@ const Un = /* @__PURE__ */ y({
|
|
|
1437
1437
|
}, null, 8, ["icon"])
|
|
1438
1438
|
])
|
|
1439
1439
|
]),
|
|
1440
|
-
l[4] || (l[4] =
|
|
1441
|
-
l[5] || (l[5] =
|
|
1440
|
+
l[4] || (l[4] = g("p", { class: "mb-2" }, "Follow the on-screen prompts to complete the setup.", -1)),
|
|
1441
|
+
l[5] || (l[5] = g("p", null, [
|
|
1442
1442
|
S(" For hosted server setup, manual configuration, or troubleshooting, see the "),
|
|
1443
|
-
|
|
1443
|
+
g("a", {
|
|
1444
1444
|
class: "text-primary",
|
|
1445
1445
|
href: "https://github.com/vuetifyjs/mcp#authentication",
|
|
1446
1446
|
rel: "noopener",
|
|
@@ -1458,7 +1458,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
1458
1458
|
_: 1
|
|
1459
1459
|
}));
|
|
1460
1460
|
}
|
|
1461
|
-
}), Zn = { class: "px-3 py-3" }, Nn = /* @__PURE__ */
|
|
1461
|
+
}), Zn = { class: "px-3 py-3" }, Nn = /* @__PURE__ */ _({
|
|
1462
1462
|
__name: "VoMcpDialog",
|
|
1463
1463
|
props: {
|
|
1464
1464
|
modelValue: { type: Boolean },
|
|
@@ -1466,17 +1466,17 @@ const Un = /* @__PURE__ */ y({
|
|
|
1466
1466
|
},
|
|
1467
1467
|
emits: ["update:modelValue"],
|
|
1468
1468
|
setup(p) {
|
|
1469
|
-
const t = ze(), a =
|
|
1469
|
+
const t = ze(), a = P(), o = M(!1), r = K(p, "modelValue");
|
|
1470
1470
|
async function u(i = !1) {
|
|
1471
1471
|
await t.generate(i), o.value = !0;
|
|
1472
1472
|
}
|
|
1473
1473
|
return H(r, async (i) => {
|
|
1474
1474
|
i && (a.ecosystem.mcp.seen = !0, await t.fetch());
|
|
1475
1475
|
}), (i, l) => {
|
|
1476
|
-
const d = re, f = Fn,
|
|
1477
|
-
return c(), m(
|
|
1476
|
+
const d = re, f = Fn, y = zn, v = Un, h = de;
|
|
1477
|
+
return c(), m(h, {
|
|
1478
1478
|
modelValue: r.value,
|
|
1479
|
-
"onUpdate:modelValue": l[3] || (l[3] = (
|
|
1479
|
+
"onUpdate:modelValue": l[3] || (l[3] = (k) => r.value = k),
|
|
1480
1480
|
height: "auto",
|
|
1481
1481
|
"prepend-icon": `svg:${e(fo)}`,
|
|
1482
1482
|
title: "API Key"
|
|
@@ -1486,14 +1486,14 @@ const Un = /* @__PURE__ */ y({
|
|
|
1486
1486
|
default: s(() => [
|
|
1487
1487
|
n(ce, null, {
|
|
1488
1488
|
default: s(() => [
|
|
1489
|
-
|
|
1489
|
+
g("div", Zn, [
|
|
1490
1490
|
n(J, null, {
|
|
1491
1491
|
default: s(() => [
|
|
1492
1492
|
n(d, {
|
|
1493
1493
|
text: "As a subscriber of Vuetify One, you have access to create a personal MCP API key.",
|
|
1494
1494
|
title: "MCP Access Token"
|
|
1495
1495
|
}),
|
|
1496
|
-
l[4] || (l[4] =
|
|
1496
|
+
l[4] || (l[4] = g("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)),
|
|
1497
1497
|
n(f),
|
|
1498
1498
|
!e(t).key || !e(t).regenerated ? (c(), m(fe, {
|
|
1499
1499
|
key: 0,
|
|
@@ -1503,34 +1503,34 @@ const Un = /* @__PURE__ */ y({
|
|
|
1503
1503
|
default: s(() => [
|
|
1504
1504
|
n(le, { cols: "auto" }, {
|
|
1505
1505
|
default: s(() => [
|
|
1506
|
-
e(t).key ? e(t).regenerated ?
|
|
1506
|
+
e(t).key ? e(t).regenerated ? b("", !0) : (c(), m(A, {
|
|
1507
1507
|
key: 1,
|
|
1508
1508
|
color: "success",
|
|
1509
1509
|
"prepend-icon": `svg:${e(go)}`,
|
|
1510
1510
|
text: "Regenerate API Key",
|
|
1511
1511
|
variant: "flat",
|
|
1512
|
-
onClick: l[1] || (l[1] = (
|
|
1513
|
-
}, null, 8, ["prepend-icon"])) : (c(), m(
|
|
1512
|
+
onClick: l[1] || (l[1] = (k) => u(!0))
|
|
1513
|
+
}, null, 8, ["prepend-icon"])) : (c(), m(A, {
|
|
1514
1514
|
key: 0,
|
|
1515
1515
|
color: "success",
|
|
1516
1516
|
"prepend-icon": `svg:${e(vo)}`,
|
|
1517
1517
|
text: "Generate API Key",
|
|
1518
1518
|
variant: "flat",
|
|
1519
|
-
onClick: l[0] || (l[0] = (
|
|
1519
|
+
onClick: l[0] || (l[0] = (k) => u(!1))
|
|
1520
1520
|
}, null, 8, ["prepend-icon"]))
|
|
1521
1521
|
]),
|
|
1522
1522
|
_: 1
|
|
1523
1523
|
})
|
|
1524
1524
|
]),
|
|
1525
1525
|
_: 1
|
|
1526
|
-
})) :
|
|
1527
|
-
e(t).key ? (c(),
|
|
1528
|
-
n(
|
|
1529
|
-
n(
|
|
1526
|
+
})) : b("", !0),
|
|
1527
|
+
e(t).key ? (c(), V(D, { key: 1 }, [
|
|
1528
|
+
n(y),
|
|
1529
|
+
n(v, {
|
|
1530
1530
|
modelValue: e(o),
|
|
1531
|
-
"onUpdate:modelValue": l[2] || (l[2] = (
|
|
1531
|
+
"onUpdate:modelValue": l[2] || (l[2] = (k) => R(o) ? o.value = k : null)
|
|
1532
1532
|
}, null, 8, ["modelValue"])
|
|
1533
|
-
], 64)) :
|
|
1533
|
+
], 64)) : b("", !0)
|
|
1534
1534
|
]),
|
|
1535
1535
|
_: 1
|
|
1536
1536
|
})
|
|
@@ -1546,23 +1546,23 @@ const Un = /* @__PURE__ */ y({
|
|
|
1546
1546
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
1547
1547
|
};
|
|
1548
1548
|
}
|
|
1549
|
-
}),
|
|
1549
|
+
}), jn = /* @__PURE__ */ _({
|
|
1550
1550
|
__name: "VoMcpListItem",
|
|
1551
1551
|
setup(p) {
|
|
1552
|
-
const t =
|
|
1552
|
+
const t = P(), a = M(!1);
|
|
1553
1553
|
return (o, r) => {
|
|
1554
|
-
const u = Nn, i =
|
|
1554
|
+
const u = Nn, i = W;
|
|
1555
1555
|
return c(), m(i, {
|
|
1556
1556
|
active: e(a),
|
|
1557
1557
|
link: "",
|
|
1558
1558
|
"prepend-icon": `svg:${e(_o)}`,
|
|
1559
1559
|
rounded: "lg",
|
|
1560
1560
|
title: "MCP API Key"
|
|
1561
|
-
},
|
|
1561
|
+
}, U({
|
|
1562
1562
|
default: s(() => [
|
|
1563
1563
|
n(u, {
|
|
1564
1564
|
modelValue: e(a),
|
|
1565
|
-
"onUpdate:modelValue": r[0] || (r[0] = (l) =>
|
|
1565
|
+
"onUpdate:modelValue": r[0] || (r[0] = (l) => R(a) ? a.value = l : null)
|
|
1566
1566
|
}, null, 8, ["modelValue"])
|
|
1567
1567
|
]),
|
|
1568
1568
|
_: 2
|
|
@@ -1586,7 +1586,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
1586
1586
|
]), 1032, ["active", "prepend-icon"]);
|
|
1587
1587
|
};
|
|
1588
1588
|
}
|
|
1589
|
-
}),
|
|
1589
|
+
}), Hn = { class: "text-caption" }, Rn = /* @__PURE__ */ _({
|
|
1590
1590
|
__name: "VoSubscriptionInvoices",
|
|
1591
1591
|
setup(p) {
|
|
1592
1592
|
const t = me(), a = O();
|
|
@@ -1613,10 +1613,10 @@ const Un = /* @__PURE__ */ y({
|
|
|
1613
1613
|
sticky: ""
|
|
1614
1614
|
}, {
|
|
1615
1615
|
"item.date": s(({ item: i }) => [
|
|
1616
|
-
|
|
1616
|
+
g("div", Hn, $(e(t).format(new Date(i.date * 1e3), "fullDateWithWeekday")), 1)
|
|
1617
1617
|
]),
|
|
1618
1618
|
"item.amount": s(({ item: i }) => [
|
|
1619
|
-
S(" $" +
|
|
1619
|
+
S(" $" + $(i.amount / 100), 1)
|
|
1620
1620
|
]),
|
|
1621
1621
|
"item.status": s(({ item: i }) => [
|
|
1622
1622
|
n(te, {
|
|
@@ -1630,7 +1630,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
1630
1630
|
}, null, 8, ["text"])
|
|
1631
1631
|
]),
|
|
1632
1632
|
"item.pdf": s(({ item: i }) => [
|
|
1633
|
-
n(
|
|
1633
|
+
n(A, {
|
|
1634
1634
|
href: i.pdf,
|
|
1635
1635
|
icon: `svg:${e(_t)}`,
|
|
1636
1636
|
size: "small",
|
|
@@ -1651,7 +1651,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
1651
1651
|
});
|
|
1652
1652
|
};
|
|
1653
1653
|
}
|
|
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__ */
|
|
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__ */ _({
|
|
1655
1655
|
__name: "VoSubscriptionStatus",
|
|
1656
1656
|
emits: ["change:subscription"],
|
|
1657
1657
|
setup(p, { emit: t }) {
|
|
@@ -1675,7 +1675,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
1675
1675
|
"prepend-icon": "$vuetify",
|
|
1676
1676
|
rounded: "lg",
|
|
1677
1677
|
title: "Subscription Status"
|
|
1678
|
-
},
|
|
1678
|
+
}, U({
|
|
1679
1679
|
prepend: s(() => [
|
|
1680
1680
|
n(I, {
|
|
1681
1681
|
color: e(o).isSubscriber ? "success" : void 0
|
|
@@ -1691,52 +1691,52 @@ const Un = /* @__PURE__ */ y({
|
|
|
1691
1691
|
text: "Activate",
|
|
1692
1692
|
variant: "outlined",
|
|
1693
1693
|
onClick: i
|
|
1694
|
-
}, null, 8, ["loading"])) :
|
|
1694
|
+
}, null, 8, ["loading"])) : b("", !0),
|
|
1695
1695
|
e(o).hasBilling ? (c(), m(f, {
|
|
1696
1696
|
key: 1,
|
|
1697
1697
|
loading: e(o).isLoading,
|
|
1698
1698
|
"prepend-icon": `svg:${e(yo)}`,
|
|
1699
1699
|
text: "Billing",
|
|
1700
1700
|
onClick: e(o).manage
|
|
1701
|
-
}, null, 8, ["loading", "prepend-icon", "onClick"])) :
|
|
1701
|
+
}, null, 8, ["loading", "prepend-icon", "onClick"])) : b("", !0)
|
|
1702
1702
|
]),
|
|
1703
1703
|
_: 2
|
|
1704
1704
|
}, [
|
|
1705
1705
|
e(o).info ? {
|
|
1706
1706
|
name: "subtitle",
|
|
1707
1707
|
fn: s(() => [
|
|
1708
|
-
|
|
1709
|
-
|
|
1708
|
+
g("div", qn, [
|
|
1709
|
+
g("strong", {
|
|
1710
1710
|
key: "status",
|
|
1711
1711
|
class: "text-capitalize hidden-sm-and-down",
|
|
1712
|
-
textContent:
|
|
1712
|
+
textContent: $(e(o).info.status)
|
|
1713
1713
|
}, null, 8, Gn),
|
|
1714
|
-
e(o).info.items.length > 0 ? (c(),
|
|
1715
|
-
d[1] || (d[1] =
|
|
1716
|
-
|
|
1717
|
-
S(" $" +
|
|
1718
|
-
|
|
1714
|
+
e(o).info.items.length > 0 ? (c(), V(D, { key: 0 }, [
|
|
1715
|
+
d[1] || (d[1] = g("span", { class: "mx-1 hidden-sm-and-down" }, "—", -1)),
|
|
1716
|
+
g("span", Wn, [
|
|
1717
|
+
S(" $" + $(e(o).info.items[0].plan.amount / 100), 1),
|
|
1718
|
+
g("span", Kn, "/" + $(e(o).interval), 1)
|
|
1719
1719
|
]),
|
|
1720
1720
|
n(f, {
|
|
1721
1721
|
size: "x-small",
|
|
1722
1722
|
text: "(Change Subscription)",
|
|
1723
1723
|
variant: "text",
|
|
1724
|
-
onClick: d[0] || (d[0] = (
|
|
1724
|
+
onClick: d[0] || (d[0] = (y) => r("change:subscription"))
|
|
1725
1725
|
})
|
|
1726
|
-
], 64)) :
|
|
1726
|
+
], 64)) : b("", !0)
|
|
1727
1727
|
])
|
|
1728
1728
|
]),
|
|
1729
1729
|
key: "0"
|
|
1730
1730
|
} : {
|
|
1731
1731
|
name: "subtitle",
|
|
1732
1732
|
fn: s(() => [
|
|
1733
|
-
|
|
1733
|
+
g("div", Yn, [
|
|
1734
1734
|
n(he, {
|
|
1735
1735
|
height: "16",
|
|
1736
1736
|
type: "ossein",
|
|
1737
1737
|
width: "40"
|
|
1738
1738
|
}),
|
|
1739
|
-
d[2] || (d[2] =
|
|
1739
|
+
d[2] || (d[2] = g("span", { class: "mx-1" }, "—", -1)),
|
|
1740
1740
|
n(he, {
|
|
1741
1741
|
height: "16",
|
|
1742
1742
|
type: "ossein",
|
|
@@ -1747,15 +1747,15 @@ const Un = /* @__PURE__ */ y({
|
|
|
1747
1747
|
key: "1"
|
|
1748
1748
|
}
|
|
1749
1749
|
]), 1024),
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
e(o).info?.status === "active" ? (c(),
|
|
1750
|
+
g("div", Qn, [
|
|
1751
|
+
g("div", null, [
|
|
1752
|
+
e(o).info?.status === "active" ? (c(), V(D, { key: 0 }, [
|
|
1753
1753
|
d[3] || (d[3] = S(" Your plan renews on ", -1)),
|
|
1754
|
-
|
|
1754
|
+
g("span", Xn, $(e(a).format(e(u), "fullDateWithWeekday")), 1),
|
|
1755
1755
|
d[4] || (d[4] = S(". ", -1))
|
|
1756
|
-
], 64)) : (c(),
|
|
1756
|
+
], 64)) : (c(), V(D, { key: 1 }, [
|
|
1757
1757
|
d[5] || (d[5] = S(" Your plan ends on ", -1)),
|
|
1758
|
-
|
|
1758
|
+
g("span", Jn, $(e(a).format(e(o).info?.currentPeriodEnd, "fullDateWithWeekday")), 1),
|
|
1759
1759
|
d[6] || (d[6] = S(". ", -1))
|
|
1760
1760
|
], 64))
|
|
1761
1761
|
])
|
|
@@ -1768,7 +1768,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
1768
1768
|
});
|
|
1769
1769
|
};
|
|
1770
1770
|
}
|
|
1771
|
-
}), ts = ["innerHTML"], os = ["innerHTML"], ns = /* @__PURE__ */
|
|
1771
|
+
}), ts = ["innerHTML"], os = ["innerHTML"], ns = /* @__PURE__ */ _({
|
|
1772
1772
|
__name: "VoSubscriptionPerks",
|
|
1773
1773
|
props: {
|
|
1774
1774
|
type: {}
|
|
@@ -1790,15 +1790,15 @@ const Un = /* @__PURE__ */ y({
|
|
|
1790
1790
|
return H(a, async (u) => {
|
|
1791
1791
|
u && o.subscriptionInfo();
|
|
1792
1792
|
}), (u, i) => {
|
|
1793
|
-
const l =
|
|
1794
|
-
return c(),
|
|
1793
|
+
const l = W;
|
|
1794
|
+
return c(), V(D, null, [
|
|
1795
1795
|
n(Ne, { class: "font-weight-black" }, {
|
|
1796
1796
|
default: s(() => [...i[0] || (i[0] = [
|
|
1797
1797
|
S("Perks", -1)
|
|
1798
1798
|
])]),
|
|
1799
1799
|
_: 1
|
|
1800
1800
|
}),
|
|
1801
|
-
i[2] || (i[2] =
|
|
1801
|
+
i[2] || (i[2] = g("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The Vuetify One subscription comes with the following perks: ", -1)),
|
|
1802
1802
|
n(ne, {
|
|
1803
1803
|
class: "py-0",
|
|
1804
1804
|
density: "compact",
|
|
@@ -1806,7 +1806,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
1806
1806
|
nav: ""
|
|
1807
1807
|
}, {
|
|
1808
1808
|
default: s(() => [
|
|
1809
|
-
(c(!0),
|
|
1809
|
+
(c(!0), V(D, null, Y(e(r), (d, f) => (c(), m(l, {
|
|
1810
1810
|
key: f,
|
|
1811
1811
|
class: "mb-0",
|
|
1812
1812
|
"prepend-icon": `svg:${e(ke)}`
|
|
@@ -1819,21 +1819,21 @@ const Un = /* @__PURE__ */ y({
|
|
|
1819
1819
|
})
|
|
1820
1820
|
]),
|
|
1821
1821
|
title: s(() => [
|
|
1822
|
-
|
|
1822
|
+
g("div", { innerHTML: d }, null, 8, ts)
|
|
1823
1823
|
]),
|
|
1824
1824
|
_: 2
|
|
1825
1825
|
}, 1032, ["prepend-icon"]))), 128))
|
|
1826
1826
|
]),
|
|
1827
1827
|
_: 1
|
|
1828
1828
|
}),
|
|
1829
|
-
i[3] || (i[3] =
|
|
1829
|
+
i[3] || (i[3] = g("br", null, null, -1)),
|
|
1830
1830
|
n(Ne, { class: "font-weight-black" }, {
|
|
1831
1831
|
default: s(() => [...i[1] || (i[1] = [
|
|
1832
1832
|
S("Up Next", -1)
|
|
1833
1833
|
])]),
|
|
1834
1834
|
_: 1
|
|
1835
1835
|
}),
|
|
1836
|
-
i[4] || (i[4] =
|
|
1836
|
+
i[4] || (i[4] = g("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The following features are in development and coming soon: ", -1)),
|
|
1837
1837
|
n(ne, {
|
|
1838
1838
|
class: "py-0",
|
|
1839
1839
|
density: "compact",
|
|
@@ -1841,7 +1841,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
1841
1841
|
nav: ""
|
|
1842
1842
|
}, {
|
|
1843
1843
|
default: s(() => [
|
|
1844
|
-
(c(),
|
|
1844
|
+
(c(), V(D, null, Y(t, (d, f) => n(l, {
|
|
1845
1845
|
key: f,
|
|
1846
1846
|
class: "mb-0",
|
|
1847
1847
|
"prepend-icon": `svg:${e(ho)}`
|
|
@@ -1853,7 +1853,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
1853
1853
|
})
|
|
1854
1854
|
]),
|
|
1855
1855
|
title: s(() => [
|
|
1856
|
-
|
|
1856
|
+
g("div", { innerHTML: d }, null, 8, os)
|
|
1857
1857
|
]),
|
|
1858
1858
|
_: 2
|
|
1859
1859
|
}, 1032, ["prepend-icon"])), 64))
|
|
@@ -1863,7 +1863,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
1863
1863
|
], 64);
|
|
1864
1864
|
};
|
|
1865
1865
|
}
|
|
1866
|
-
}), ss = /* @__PURE__ */
|
|
1866
|
+
}), ss = /* @__PURE__ */ _({
|
|
1867
1867
|
__name: "VoSubscriptionSubscribe",
|
|
1868
1868
|
props: {
|
|
1869
1869
|
interval: { default: "year" },
|
|
@@ -1873,7 +1873,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
1873
1873
|
},
|
|
1874
1874
|
emits: ["update:interval", "update:type"],
|
|
1875
1875
|
setup(p) {
|
|
1876
|
-
const t = M(!1), a =
|
|
1876
|
+
const t = M(!1), a = K(p, "interval"), o = K(p, "type"), r = O(), u = Ae(), i = C(() => u.hasTeamAccess && !u.isTeamOwner), l = {
|
|
1877
1877
|
solo: {
|
|
1878
1878
|
month: "2.99 /month",
|
|
1879
1879
|
year: "29.99 /year"
|
|
@@ -1885,10 +1885,10 @@ const Un = /* @__PURE__ */ y({
|
|
|
1885
1885
|
};
|
|
1886
1886
|
return H(t, async (d) => {
|
|
1887
1887
|
d && r.subscriptionInfo();
|
|
1888
|
-
}), (d, f) => (c(),
|
|
1888
|
+
}), (d, f) => (c(), V(D, null, [
|
|
1889
1889
|
n(Ct, {
|
|
1890
1890
|
modelValue: o.value,
|
|
1891
|
-
"onUpdate:modelValue": f[0] || (f[0] = (
|
|
1891
|
+
"onUpdate:modelValue": f[0] || (f[0] = (y) => o.value = y),
|
|
1892
1892
|
class: "mb-4",
|
|
1893
1893
|
mandatory: ""
|
|
1894
1894
|
}, {
|
|
@@ -1900,17 +1900,17 @@ const Un = /* @__PURE__ */ y({
|
|
|
1900
1900
|
md: "6"
|
|
1901
1901
|
}, {
|
|
1902
1902
|
default: s(() => [
|
|
1903
|
-
n(
|
|
1904
|
-
default: s(({ toggle:
|
|
1903
|
+
n(je, { value: "solo" }, {
|
|
1904
|
+
default: s(({ toggle: y, isSelected: v }) => [
|
|
1905
1905
|
n(z, {
|
|
1906
|
-
border:
|
|
1907
|
-
color:
|
|
1908
|
-
"prepend-icon":
|
|
1906
|
+
border: v ? "sm primary opacity-50" : "sm",
|
|
1907
|
+
color: v ? "primary" : void 0,
|
|
1908
|
+
"prepend-icon": v ? `svg:${e(Me)}` : "$radioOff",
|
|
1909
1909
|
rounded: "lg",
|
|
1910
1910
|
subtitle: `$${l.solo[a.value]}`,
|
|
1911
1911
|
title: "Solo Developer",
|
|
1912
|
-
variant:
|
|
1913
|
-
onClick:
|
|
1912
|
+
variant: v ? "tonal" : "text",
|
|
1913
|
+
onClick: y
|
|
1914
1914
|
}, {
|
|
1915
1915
|
prepend: s(() => [
|
|
1916
1916
|
n(I, { class: "mt-n6" })
|
|
@@ -1928,18 +1928,18 @@ const Un = /* @__PURE__ */ y({
|
|
|
1928
1928
|
md: "6"
|
|
1929
1929
|
}, {
|
|
1930
1930
|
default: s(() => [
|
|
1931
|
-
n(
|
|
1932
|
-
default: s(({ toggle:
|
|
1931
|
+
n(je, { value: "team" }, {
|
|
1932
|
+
default: s(({ toggle: y, isSelected: v }) => [
|
|
1933
1933
|
n(z, {
|
|
1934
|
-
border:
|
|
1935
|
-
color:
|
|
1934
|
+
border: v ? "sm primary opacity-50" : "sm",
|
|
1935
|
+
color: v ? "primary" : void 0,
|
|
1936
1936
|
disabled: e(i),
|
|
1937
|
-
"prepend-icon":
|
|
1937
|
+
"prepend-icon": v ? `svg:${e(Me)}` : "$radioOff",
|
|
1938
1938
|
rounded: "lg",
|
|
1939
1939
|
subtitle: `$${l.team[a.value]}`,
|
|
1940
1940
|
title: "Team Access",
|
|
1941
|
-
variant:
|
|
1942
|
-
onClick:
|
|
1941
|
+
variant: v ? "tonal" : "text",
|
|
1942
|
+
onClick: y
|
|
1943
1943
|
}, {
|
|
1944
1944
|
prepend: s(() => [
|
|
1945
1945
|
n(I, { class: "mt-n6" })
|
|
@@ -1960,7 +1960,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
1960
1960
|
}, 8, ["modelValue"]),
|
|
1961
1961
|
n(We, {
|
|
1962
1962
|
modelValue: a.value,
|
|
1963
|
-
"onUpdate:modelValue": f[1] || (f[1] = (
|
|
1963
|
+
"onUpdate:modelValue": f[1] || (f[1] = (y) => a.value = y),
|
|
1964
1964
|
"false-value": "month",
|
|
1965
1965
|
"hide-details": "",
|
|
1966
1966
|
inset: "",
|
|
@@ -1969,7 +1969,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
1969
1969
|
}, null, 8, ["modelValue"])
|
|
1970
1970
|
], 64));
|
|
1971
1971
|
}
|
|
1972
|
-
}), as = { class: "px-3" }, is = { class: "flex-grow-1 px-4 pb-3 overflow-hidden" }, rs = /* @__PURE__ */
|
|
1972
|
+
}), as = { class: "px-3" }, is = { class: "flex-grow-1 px-4 pb-3 overflow-hidden" }, rs = /* @__PURE__ */ _({
|
|
1973
1973
|
__name: "VoSubscriptionDialog",
|
|
1974
1974
|
props: {
|
|
1975
1975
|
modelValue: { type: Boolean },
|
|
@@ -1977,43 +1977,43 @@ const Un = /* @__PURE__ */ y({
|
|
|
1977
1977
|
},
|
|
1978
1978
|
emits: ["update:modelValue"],
|
|
1979
1979
|
setup(p) {
|
|
1980
|
-
function t(
|
|
1981
|
-
return new Promise((
|
|
1980
|
+
function t(y) {
|
|
1981
|
+
return new Promise((v) => setTimeout(v, y));
|
|
1982
1982
|
}
|
|
1983
|
-
const a =
|
|
1984
|
-
H([u, i], ([
|
|
1985
|
-
!o.isSubscriber || !o.interval || !o.subscriptionType || (d.value =
|
|
1986
|
-
}), H(a, async (
|
|
1987
|
-
if (!
|
|
1988
|
-
|
|
1983
|
+
const a = K(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], ([y, v]) => {
|
|
1985
|
+
!o.isSubscriber || !o.interval || !o.subscriptionType || (d.value = y !== o.interval || v !== o.subscriptionType);
|
|
1986
|
+
}), H(a, async (y) => {
|
|
1987
|
+
if (!y || !o.isSubscriber) {
|
|
1988
|
+
y || o.resetQuery();
|
|
1989
1989
|
return;
|
|
1990
1990
|
}
|
|
1991
1991
|
o.subscriptionInfo();
|
|
1992
1992
|
}), H(r, async () => {
|
|
1993
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 }),
|
|
1994
|
+
}, { immediate: !0 }), Ht(() => {
|
|
1995
1995
|
u.value = o.interval ?? "year", i.value = o.subscriptionType ?? "solo";
|
|
1996
1996
|
});
|
|
1997
1997
|
async function f() {
|
|
1998
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;
|
|
1999
1999
|
}
|
|
2000
|
-
return (
|
|
2001
|
-
const
|
|
2000
|
+
return (y, v) => {
|
|
2001
|
+
const h = re, k = ss, x = ns, T = es, B = Rn, L = we, pe = de;
|
|
2002
2002
|
return c(), m(pe, {
|
|
2003
2003
|
modelValue: a.value,
|
|
2004
|
-
"onUpdate:modelValue":
|
|
2004
|
+
"onUpdate:modelValue": v[5] || (v[5] = (F) => a.value = F),
|
|
2005
2005
|
"prepend-icon": `svg:${e(bo)}`,
|
|
2006
2006
|
title: "Subscriptions"
|
|
2007
|
-
},
|
|
2007
|
+
}, U({
|
|
2008
2008
|
default: s(() => [
|
|
2009
2009
|
n(ue, null, {
|
|
2010
2010
|
default: s(() => [
|
|
2011
2011
|
n(ce, { scrollable: "" }, {
|
|
2012
2012
|
default: s(() => [
|
|
2013
|
-
|
|
2013
|
+
g("div", as, [
|
|
2014
2014
|
n(J, null, {
|
|
2015
2015
|
default: s(() => [
|
|
2016
|
-
n(
|
|
2016
|
+
n(h, {
|
|
2017
2017
|
text: "The Vuetify One subscription is a great way to support the Vuetify team and get access to exclusive features and content.",
|
|
2018
2018
|
title: "Vuetify One"
|
|
2019
2019
|
}),
|
|
@@ -2021,23 +2021,23 @@ const Un = /* @__PURE__ */ y({
|
|
|
2021
2021
|
default: s(() => [
|
|
2022
2022
|
n(_e, { value: "subscribe" }, {
|
|
2023
2023
|
default: s(() => [
|
|
2024
|
-
n(
|
|
2024
|
+
n(k, {
|
|
2025
2025
|
interval: e(u),
|
|
2026
|
-
"onUpdate:interval":
|
|
2026
|
+
"onUpdate:interval": v[0] || (v[0] = (F) => R(u) ? u.value = F : null),
|
|
2027
2027
|
type: e(i),
|
|
2028
|
-
"onUpdate:type":
|
|
2028
|
+
"onUpdate:type": v[1] || (v[1] = (F) => R(i) ? i.value = F : null)
|
|
2029
2029
|
}, null, 8, ["interval", "type"]),
|
|
2030
|
-
|
|
2031
|
-
n(
|
|
2030
|
+
v[6] || (v[6] = g("br", null, null, -1)),
|
|
2031
|
+
n(x, { type: e(i) }, null, 8, ["type"])
|
|
2032
2032
|
]),
|
|
2033
2033
|
_: 1
|
|
2034
2034
|
}),
|
|
2035
2035
|
n(_e, { value: "status" }, {
|
|
2036
2036
|
default: s(() => [
|
|
2037
|
-
n(
|
|
2038
|
-
"onChange:subscription":
|
|
2037
|
+
n(T, {
|
|
2038
|
+
"onChange:subscription": v[2] || (v[2] = (F) => l.value = "subscribe")
|
|
2039
2039
|
}),
|
|
2040
|
-
n(
|
|
2040
|
+
n(B)
|
|
2041
2041
|
]),
|
|
2042
2042
|
_: 1
|
|
2043
2043
|
})
|
|
@@ -2060,8 +2060,8 @@ const Un = /* @__PURE__ */ y({
|
|
|
2060
2060
|
e(l) === "subscribe" ? {
|
|
2061
2061
|
name: "actions",
|
|
2062
2062
|
fn: s(() => [
|
|
2063
|
-
|
|
2064
|
-
e(d) !== !1 ? (c(), m(
|
|
2063
|
+
g("div", is, [
|
|
2064
|
+
e(d) !== !1 ? (c(), m(L, {
|
|
2065
2065
|
key: 0,
|
|
2066
2066
|
block: "",
|
|
2067
2067
|
color: "success",
|
|
@@ -2071,14 +2071,14 @@ const Un = /* @__PURE__ */ y({
|
|
|
2071
2071
|
size: "default",
|
|
2072
2072
|
text: e(d) !== null ? "Modify Subscription" : "Success",
|
|
2073
2073
|
onClick: f
|
|
2074
|
-
}, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : e(o).one ? (c(), m(
|
|
2074
|
+
}, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : e(o).one ? (c(), m(L, {
|
|
2075
2075
|
key: 2,
|
|
2076
2076
|
block: "",
|
|
2077
2077
|
"prepend-icon": `svg:${e(ko)}`,
|
|
2078
2078
|
size: "default",
|
|
2079
2079
|
text: "Manage Subscription",
|
|
2080
|
-
onClick:
|
|
2081
|
-
}, null, 8, ["prepend-icon"])) : (c(), m(
|
|
2080
|
+
onClick: v[4] || (v[4] = (F) => l.value = "status")
|
|
2081
|
+
}, null, 8, ["prepend-icon"])) : (c(), m(L, {
|
|
2082
2082
|
key: 1,
|
|
2083
2083
|
block: "",
|
|
2084
2084
|
color: e(u) && e(i) ? "success" : "disabled",
|
|
@@ -2087,7 +2087,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
2087
2087
|
"prepend-icon": "$vuetify",
|
|
2088
2088
|
size: "default",
|
|
2089
2089
|
text: "Activate Subscription",
|
|
2090
|
-
onClick:
|
|
2090
|
+
onClick: v[3] || (v[3] = (F) => e(o).subscribe(e(u), e(i)))
|
|
2091
2091
|
}, null, 8, ["color", "disabled", "loading"]))
|
|
2092
2092
|
])
|
|
2093
2093
|
]),
|
|
@@ -2096,12 +2096,12 @@ const Un = /* @__PURE__ */ y({
|
|
|
2096
2096
|
]), 1032, ["modelValue", "prepend-icon"]);
|
|
2097
2097
|
};
|
|
2098
2098
|
}
|
|
2099
|
-
}), ls = /* @__PURE__ */
|
|
2099
|
+
}), ls = /* @__PURE__ */ _({
|
|
2100
2100
|
__name: "VoSubscriptionListItem",
|
|
2101
2101
|
setup(p) {
|
|
2102
2102
|
const t = M(!1);
|
|
2103
2103
|
return (a, o) => {
|
|
2104
|
-
const r = rs, u =
|
|
2104
|
+
const r = rs, u = W;
|
|
2105
2105
|
return c(), m(u, {
|
|
2106
2106
|
active: e(t),
|
|
2107
2107
|
link: "",
|
|
@@ -2112,7 +2112,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
2112
2112
|
default: s(() => [
|
|
2113
2113
|
n(r, {
|
|
2114
2114
|
modelValue: e(t),
|
|
2115
|
-
"onUpdate:modelValue": o[0] || (o[0] = (i) =>
|
|
2115
|
+
"onUpdate:modelValue": o[0] || (o[0] = (i) => R(t) ? t.value = i : null)
|
|
2116
2116
|
}, null, 8, ["modelValue"])
|
|
2117
2117
|
]),
|
|
2118
2118
|
_: 1
|
|
@@ -2122,7 +2122,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
2122
2122
|
}), us = {
|
|
2123
2123
|
key: 0,
|
|
2124
2124
|
class: "text-success"
|
|
2125
|
-
}, Ee = /* @__PURE__ */
|
|
2125
|
+
}, Ee = /* @__PURE__ */ _({
|
|
2126
2126
|
__name: "VoSponsorshipsTimelineItem",
|
|
2127
2127
|
props: {
|
|
2128
2128
|
title: {},
|
|
@@ -2152,14 +2152,14 @@ const Un = /* @__PURE__ */ y({
|
|
|
2152
2152
|
variant: "text"
|
|
2153
2153
|
}, {
|
|
2154
2154
|
subtitle: s(() => [
|
|
2155
|
-
r.sponsorship?.isActive ? (c(),
|
|
2155
|
+
r.sponsorship?.isActive ? (c(), V("div", us, [
|
|
2156
2156
|
n(I, {
|
|
2157
2157
|
icon: `svg:${e($o)}`,
|
|
2158
2158
|
size: "x-small"
|
|
2159
2159
|
}, null, 8, ["icon"]),
|
|
2160
|
-
S(" " +
|
|
2161
|
-
])) : (c(),
|
|
2162
|
-
S(
|
|
2160
|
+
S(" " + $(e(o)), 1)
|
|
2161
|
+
])) : (c(), V(D, { key: 1 }, [
|
|
2162
|
+
S($(r.text), 1)
|
|
2163
2163
|
], 64))
|
|
2164
2164
|
]),
|
|
2165
2165
|
append: s(() => [
|
|
@@ -2188,7 +2188,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
2188
2188
|
}, 8, ["dot-color", "icon"]);
|
|
2189
2189
|
};
|
|
2190
2190
|
}
|
|
2191
|
-
}), cs = /* @__PURE__ */
|
|
2191
|
+
}), cs = /* @__PURE__ */ _({
|
|
2192
2192
|
__name: "VoSponsorshipsTimelineItemOpencollective",
|
|
2193
2193
|
setup(p) {
|
|
2194
2194
|
const t = O();
|
|
@@ -2203,7 +2203,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
2203
2203
|
}, null, 8, ["sponsorship"]);
|
|
2204
2204
|
};
|
|
2205
2205
|
}
|
|
2206
|
-
}), ds = /* @__PURE__ */
|
|
2206
|
+
}), ds = /* @__PURE__ */ _({
|
|
2207
2207
|
__name: "VoSponsorshipsTimelineItemDiscord",
|
|
2208
2208
|
setup(p) {
|
|
2209
2209
|
const t = O();
|
|
@@ -2218,7 +2218,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
2218
2218
|
}, null, 8, ["sponsorship"]);
|
|
2219
2219
|
};
|
|
2220
2220
|
}
|
|
2221
|
-
}), ps = /* @__PURE__ */
|
|
2221
|
+
}), ps = /* @__PURE__ */ _({
|
|
2222
2222
|
__name: "VoSponsorshipsTimelineItemGithub",
|
|
2223
2223
|
setup(p) {
|
|
2224
2224
|
const t = O();
|
|
@@ -2233,7 +2233,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
2233
2233
|
}, null, 8, ["sponsorship"]);
|
|
2234
2234
|
};
|
|
2235
2235
|
}
|
|
2236
|
-
}), ms = /* @__PURE__ */
|
|
2236
|
+
}), ms = /* @__PURE__ */ _({
|
|
2237
2237
|
__name: "VoSponsorshipsTimelineItemOne",
|
|
2238
2238
|
setup(p) {
|
|
2239
2239
|
const t = O();
|
|
@@ -2248,7 +2248,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
2248
2248
|
}, null, 8, ["sponsorship"]);
|
|
2249
2249
|
};
|
|
2250
2250
|
}
|
|
2251
|
-
}), fs = /* @__PURE__ */
|
|
2251
|
+
}), fs = /* @__PURE__ */ _({
|
|
2252
2252
|
__name: "VoSponsorshipsTimeline",
|
|
2253
2253
|
setup(p) {
|
|
2254
2254
|
return (t, a) => {
|
|
@@ -2270,7 +2270,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
2270
2270
|
});
|
|
2271
2271
|
};
|
|
2272
2272
|
}
|
|
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__ */
|
|
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__ */ _({
|
|
2274
2274
|
__name: "VoSponsorshipsDialog",
|
|
2275
2275
|
props: {
|
|
2276
2276
|
modelValue: { type: Boolean },
|
|
@@ -2278,7 +2278,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
2278
2278
|
},
|
|
2279
2279
|
emits: ["update:modelValue"],
|
|
2280
2280
|
setup(p) {
|
|
2281
|
-
const t =
|
|
2281
|
+
const t = K(p, "modelValue"), a = Ce(), o = O();
|
|
2282
2282
|
return H(a, async () => {
|
|
2283
2283
|
a.value.one === "sponsorships" && (o.isOpen = !0, await be(), t.value = !0);
|
|
2284
2284
|
}, { immediate: !0 }), (r, u) => {
|
|
@@ -2294,7 +2294,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
2294
2294
|
default: s(() => [
|
|
2295
2295
|
n(ce, { scrollable: "" }, {
|
|
2296
2296
|
default: s(() => [
|
|
2297
|
-
|
|
2297
|
+
g("div", vs, [
|
|
2298
2298
|
n(J, { class: "flex-0-0 mb-16 mb-sm-4" }, {
|
|
2299
2299
|
default: s(() => [
|
|
2300
2300
|
n(i, {
|
|
@@ -2318,10 +2318,10 @@ const Un = /* @__PURE__ */ y({
|
|
|
2318
2318
|
]),
|
|
2319
2319
|
title: s(() => [
|
|
2320
2320
|
u[1] || (u[1] = S(" One Status: ", -1)),
|
|
2321
|
-
|
|
2321
|
+
g("span", gs, $(e(o).isSubscriber ? "Active" : "Inactive"), 1)
|
|
2322
2322
|
]),
|
|
2323
2323
|
text: s(() => [
|
|
2324
|
-
|
|
2324
|
+
g("div", _s, $(e(o).isSubscriber ? "You are currently receiving benefits of Vuetify One." : "Login to activate Vuetify One benefits"), 1)
|
|
2325
2325
|
]),
|
|
2326
2326
|
_: 1
|
|
2327
2327
|
})
|
|
@@ -2337,12 +2337,12 @@ const Un = /* @__PURE__ */ y({
|
|
|
2337
2337
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
2338
2338
|
};
|
|
2339
2339
|
}
|
|
2340
|
-
}), hs = /* @__PURE__ */
|
|
2340
|
+
}), hs = /* @__PURE__ */ _({
|
|
2341
2341
|
__name: "VoSponsorshipsListItem",
|
|
2342
2342
|
setup(p) {
|
|
2343
2343
|
const t = M(!1);
|
|
2344
2344
|
return (a, o) => {
|
|
2345
|
-
const r = ys, u =
|
|
2345
|
+
const r = ys, u = W;
|
|
2346
2346
|
return c(), m(u, {
|
|
2347
2347
|
active: e(t),
|
|
2348
2348
|
link: "",
|
|
@@ -2353,15 +2353,15 @@ const Un = /* @__PURE__ */ y({
|
|
|
2353
2353
|
default: s(() => [
|
|
2354
2354
|
n(r, {
|
|
2355
2355
|
modelValue: e(t),
|
|
2356
|
-
"onUpdate:modelValue": o[0] || (o[0] = (i) =>
|
|
2356
|
+
"onUpdate:modelValue": o[0] || (o[0] = (i) => R(t) ? t.value = i : null)
|
|
2357
2357
|
}, null, 8, ["modelValue"])
|
|
2358
2358
|
]),
|
|
2359
2359
|
_: 1
|
|
2360
2360
|
}, 8, ["active", "prepend-icon"]);
|
|
2361
2361
|
};
|
|
2362
2362
|
}
|
|
2363
|
-
}), bs =
|
|
2364
|
-
const p =
|
|
2363
|
+
}), bs = G("downloads", () => {
|
|
2364
|
+
const p = Q(), t = ee(), a = Z([]), o = M(!1);
|
|
2365
2365
|
async function r() {
|
|
2366
2366
|
if (a.value.length > 0)
|
|
2367
2367
|
return a.value;
|
|
@@ -2381,7 +2381,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
2381
2381
|
isLoading: o,
|
|
2382
2382
|
index: r
|
|
2383
2383
|
};
|
|
2384
|
-
}), Cs = /* @__PURE__ */
|
|
2384
|
+
}), Cs = /* @__PURE__ */ _({
|
|
2385
2385
|
__name: "VoDownloadsTable",
|
|
2386
2386
|
setup(p) {
|
|
2387
2387
|
const t = me(), a = bs(), o = [
|
|
@@ -2404,7 +2404,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
2404
2404
|
value: "download_url"
|
|
2405
2405
|
}
|
|
2406
2406
|
];
|
|
2407
|
-
return
|
|
2407
|
+
return De(async () => {
|
|
2408
2408
|
await a.index();
|
|
2409
2409
|
}), (r, u) => {
|
|
2410
2410
|
const i = re;
|
|
@@ -2430,19 +2430,19 @@ const Un = /* @__PURE__ */ y({
|
|
|
2430
2430
|
loading: e(a).isLoading
|
|
2431
2431
|
}, {
|
|
2432
2432
|
"item.order_name": s(({ item: l }) => [
|
|
2433
|
-
S(" #" +
|
|
2433
|
+
S(" #" + $(l.order_name), 1)
|
|
2434
2434
|
]),
|
|
2435
2435
|
"item.created_at": s(({ item: l }) => [
|
|
2436
|
-
S(
|
|
2436
|
+
S($(e(t).format(l.created_at, "shortDate")), 1)
|
|
2437
2437
|
]),
|
|
2438
2438
|
"item.download_items": s(({ item: l }) => [
|
|
2439
|
-
(c(!0),
|
|
2439
|
+
(c(!0), V(D, null, Y(l.download_items, (d, f) => (c(), V("div", {
|
|
2440
2440
|
key: f,
|
|
2441
2441
|
class: "text-truncate"
|
|
2442
|
-
},
|
|
2442
|
+
}, $(d.name), 1))), 128))
|
|
2443
2443
|
]),
|
|
2444
2444
|
"item.download_url": s(({ item: l }) => [
|
|
2445
|
-
n(
|
|
2445
|
+
n(A, {
|
|
2446
2446
|
color: "medium-emphasis",
|
|
2447
2447
|
href: l.download_url,
|
|
2448
2448
|
icon: `svg:${e(wo)}`,
|
|
@@ -2464,12 +2464,12 @@ const Un = /* @__PURE__ */ y({
|
|
|
2464
2464
|
});
|
|
2465
2465
|
};
|
|
2466
2466
|
}
|
|
2467
|
-
}), ks = { class: "px-3" }, Vs = /* @__PURE__ */
|
|
2467
|
+
}), ks = { class: "px-3" }, Vs = /* @__PURE__ */ _({
|
|
2468
2468
|
__name: "VoDownloadsNavItem",
|
|
2469
2469
|
setup(p) {
|
|
2470
2470
|
const t = M(!1);
|
|
2471
2471
|
return (a, o) => {
|
|
2472
|
-
const r = Cs, u = de, i =
|
|
2472
|
+
const r = Cs, u = de, i = W;
|
|
2473
2473
|
return c(), m(i, {
|
|
2474
2474
|
active: e(t),
|
|
2475
2475
|
link: "",
|
|
@@ -2480,7 +2480,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
2480
2480
|
default: s(() => [
|
|
2481
2481
|
n(u, {
|
|
2482
2482
|
modelValue: e(t),
|
|
2483
|
-
"onUpdate:modelValue": o[0] || (o[0] = (l) =>
|
|
2483
|
+
"onUpdate:modelValue": o[0] || (o[0] = (l) => R(t) ? t.value = l : null),
|
|
2484
2484
|
"prepend-icon": `svg:${e(tt)}`,
|
|
2485
2485
|
title: "Downloads"
|
|
2486
2486
|
}, {
|
|
@@ -2489,7 +2489,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
2489
2489
|
default: s(() => [
|
|
2490
2490
|
n(ce, { scrollable: "" }, {
|
|
2491
2491
|
default: s(() => [
|
|
2492
|
-
|
|
2492
|
+
g("div", ks, [
|
|
2493
2493
|
n(J, null, {
|
|
2494
2494
|
default: s(() => [
|
|
2495
2495
|
n(r)
|
|
@@ -2511,7 +2511,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
2511
2511
|
}, 8, ["active", "prepend-icon"]);
|
|
2512
2512
|
};
|
|
2513
2513
|
}
|
|
2514
|
-
}), $s = { class: "px-3" }, xs = { class: "d-flex align-center" }, Ls = { class: "d-flex align-center" }, ws = /* @__PURE__ */
|
|
2514
|
+
}), $s = { class: "px-3" }, xs = { class: "d-flex align-center" }, Ls = { class: "d-flex align-center" }, ws = /* @__PURE__ */ _({
|
|
2515
2515
|
__name: "VoTeamDialog",
|
|
2516
2516
|
props: {
|
|
2517
2517
|
modelValue: { type: Boolean },
|
|
@@ -2519,7 +2519,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
2519
2519
|
},
|
|
2520
2520
|
emits: ["update:modelValue"],
|
|
2521
2521
|
setup(p) {
|
|
2522
|
-
const t = O(), a =
|
|
2522
|
+
const t = O(), a = Ae(), o = Q(), { copy: r, copied: u } = Be(), i = C(() => a.team), l = Ce(), d = M(!1), f = [
|
|
2523
2523
|
{
|
|
2524
2524
|
title: "Name",
|
|
2525
2525
|
key: "name"
|
|
@@ -2530,19 +2530,19 @@ const Un = /* @__PURE__ */ y({
|
|
|
2530
2530
|
align: "end",
|
|
2531
2531
|
sortable: !1
|
|
2532
2532
|
}
|
|
2533
|
-
],
|
|
2534
|
-
async function
|
|
2533
|
+
], y = C(() => `https://one.vuetifyjs.com/?invite=${a.team?.inviteCode}`), v = K(p, "modelValue");
|
|
2534
|
+
async function h() {
|
|
2535
2535
|
d.value = !0;
|
|
2536
|
-
const
|
|
2537
|
-
a.team =
|
|
2536
|
+
const k = await o.post("/one/team/regen");
|
|
2537
|
+
a.team = k.team;
|
|
2538
2538
|
}
|
|
2539
2539
|
return H(l, async () => {
|
|
2540
|
-
!t.sessionId || l.value.one === "subscribe" || l.value.team && (t.isOpen = !0, await be(),
|
|
2541
|
-
}, { immediate: !0 }), (
|
|
2542
|
-
const
|
|
2543
|
-
return c(), m(
|
|
2544
|
-
modelValue:
|
|
2545
|
-
"onUpdate:modelValue":
|
|
2540
|
+
!t.sessionId || l.value.one === "subscribe" || l.value.team && (t.isOpen = !0, await be(), v.value = !0);
|
|
2541
|
+
}, { immediate: !0 }), (k, x) => {
|
|
2542
|
+
const T = re, B = de;
|
|
2543
|
+
return c(), m(B, {
|
|
2544
|
+
modelValue: v.value,
|
|
2545
|
+
"onUpdate:modelValue": x[2] || (x[2] = (L) => v.value = L),
|
|
2546
2546
|
"prepend-icon": `svg:${e(So)}`,
|
|
2547
2547
|
title: "Team"
|
|
2548
2548
|
}, {
|
|
@@ -2551,10 +2551,10 @@ const Un = /* @__PURE__ */ y({
|
|
|
2551
2551
|
default: s(() => [
|
|
2552
2552
|
n(ce, { scrollable: "" }, {
|
|
2553
2553
|
default: s(() => [
|
|
2554
|
-
|
|
2554
|
+
g("div", $s, [
|
|
2555
2555
|
n(J, null, {
|
|
2556
2556
|
default: s(() => [
|
|
2557
|
-
n(
|
|
2557
|
+
n(T, {
|
|
2558
2558
|
text: "Share access to Vuetify One with up to 25 team members.",
|
|
2559
2559
|
title: "Manage your team"
|
|
2560
2560
|
}),
|
|
@@ -2572,11 +2572,11 @@ const Un = /* @__PURE__ */ y({
|
|
|
2572
2572
|
class: "bg-surface",
|
|
2573
2573
|
subtitle: `Team - ${e(i)?.members?.length} member(s)`,
|
|
2574
2574
|
title: "Members"
|
|
2575
|
-
},
|
|
2575
|
+
}, U({ _: 2 }, [
|
|
2576
2576
|
e(a).isTeamOwner ? {
|
|
2577
2577
|
name: "append",
|
|
2578
2578
|
fn: s(() => [
|
|
2579
|
-
n(
|
|
2579
|
+
n(A, {
|
|
2580
2580
|
border: "",
|
|
2581
2581
|
class: "text-none",
|
|
2582
2582
|
color: "primary",
|
|
@@ -2585,7 +2585,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
2585
2585
|
variant: "flat"
|
|
2586
2586
|
}, {
|
|
2587
2587
|
default: s(() => [
|
|
2588
|
-
|
|
2588
|
+
x[3] || (x[3] = S(" Add member ", -1)),
|
|
2589
2589
|
n(Pe, {
|
|
2590
2590
|
activator: "parent",
|
|
2591
2591
|
"close-on-content-click": !1,
|
|
@@ -2604,14 +2604,14 @@ const Un = /* @__PURE__ */ y({
|
|
|
2604
2604
|
title: "Member invite link"
|
|
2605
2605
|
}, {
|
|
2606
2606
|
append: s(() => [
|
|
2607
|
-
n(
|
|
2607
|
+
n(A, {
|
|
2608
2608
|
class: "text-none",
|
|
2609
2609
|
color: e(d) ? void 0 : "error",
|
|
2610
2610
|
disabled: e(d),
|
|
2611
2611
|
flat: "",
|
|
2612
2612
|
slim: "",
|
|
2613
2613
|
text: "Reset",
|
|
2614
|
-
onClick:
|
|
2614
|
+
onClick: h
|
|
2615
2615
|
}, null, 8, ["color", "disabled"])
|
|
2616
2616
|
]),
|
|
2617
2617
|
_: 1
|
|
@@ -2622,15 +2622,15 @@ const Un = /* @__PURE__ */ y({
|
|
|
2622
2622
|
flat: "",
|
|
2623
2623
|
"hide-details": "",
|
|
2624
2624
|
label: "Invite link",
|
|
2625
|
-
"model-value": e(
|
|
2625
|
+
"model-value": e(y),
|
|
2626
2626
|
readonly: "",
|
|
2627
2627
|
variant: "solo"
|
|
2628
2628
|
}, {
|
|
2629
2629
|
"append-inner": s(() => [
|
|
2630
|
-
|
|
2630
|
+
N(n(I, {
|
|
2631
2631
|
icon: `svg:${e(u) ? e(ke) : e(Re)}`,
|
|
2632
2632
|
size: "small",
|
|
2633
|
-
onClick:
|
|
2633
|
+
onClick: x[0] || (x[0] = (L) => e(r)(e(y)))
|
|
2634
2634
|
}, null, 8, ["icon"]), [
|
|
2635
2635
|
[X, "Copy Team link"]
|
|
2636
2636
|
])
|
|
@@ -2653,7 +2653,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
2653
2653
|
key: "0"
|
|
2654
2654
|
} : void 0
|
|
2655
2655
|
]), 1032, ["subtitle"]),
|
|
2656
|
-
n(
|
|
2656
|
+
n(j),
|
|
2657
2657
|
n(J, { class: "pa-2" }, {
|
|
2658
2658
|
default: s(() => [
|
|
2659
2659
|
n($e, {
|
|
@@ -2666,18 +2666,18 @@ const Un = /* @__PURE__ */ y({
|
|
|
2666
2666
|
"hide-default-footer": e(i)?.members?.length < 10,
|
|
2667
2667
|
items: e(i)?.members
|
|
2668
2668
|
}, {
|
|
2669
|
-
"item.name": s(({ item:
|
|
2670
|
-
|
|
2669
|
+
"item.name": s(({ item: L }) => [
|
|
2670
|
+
g("div", xs, [
|
|
2671
2671
|
n(oe, {
|
|
2672
|
-
image:
|
|
2672
|
+
image: L.picture,
|
|
2673
2673
|
size: "x-small",
|
|
2674
2674
|
start: ""
|
|
2675
2675
|
}, null, 8, ["image"]),
|
|
2676
|
-
|
|
2676
|
+
g("span", null, $(L.name), 1)
|
|
2677
2677
|
])
|
|
2678
2678
|
]),
|
|
2679
|
-
"item.actions": s(({ item:
|
|
2680
|
-
e(i)?.owner?.id ===
|
|
2679
|
+
"item.actions": s(({ item: L }) => [
|
|
2680
|
+
e(i)?.owner?.id === L.id ? (c(), m(A, {
|
|
2681
2681
|
key: 0,
|
|
2682
2682
|
class: "me-n3",
|
|
2683
2683
|
color: "primary",
|
|
@@ -2687,16 +2687,16 @@ const Un = /* @__PURE__ */ y({
|
|
|
2687
2687
|
slim: "",
|
|
2688
2688
|
text: "Team owner",
|
|
2689
2689
|
variant: "tonal"
|
|
2690
|
-
}, null, 8, ["prepend-icon"])) : (c(), m(
|
|
2690
|
+
}, null, 8, ["prepend-icon"])) : (c(), m(A, {
|
|
2691
2691
|
key: 1,
|
|
2692
2692
|
class: "me-n3",
|
|
2693
2693
|
color: "medium-emphasis",
|
|
2694
2694
|
density: "comfortable",
|
|
2695
|
-
"prepend-icon": `svg:${e(
|
|
2695
|
+
"prepend-icon": `svg:${e(Do)}`,
|
|
2696
2696
|
slim: "",
|
|
2697
2697
|
text: "Revoke",
|
|
2698
2698
|
variant: "text",
|
|
2699
|
-
onClick: (pe) => e(a).removeFromTeam(
|
|
2699
|
+
onClick: (pe) => e(a).removeFromTeam(L.id)
|
|
2700
2700
|
}, null, 8, ["prepend-icon", "onClick"]))
|
|
2701
2701
|
]),
|
|
2702
2702
|
_: 1
|
|
@@ -2724,8 +2724,8 @@ const Un = /* @__PURE__ */ y({
|
|
|
2724
2724
|
title: "My Team access"
|
|
2725
2725
|
}, {
|
|
2726
2726
|
title: s(() => [
|
|
2727
|
-
|
|
2728
|
-
|
|
2727
|
+
g("div", Ls, [
|
|
2728
|
+
x[4] || (x[4] = S(" My Team Access ", -1)),
|
|
2729
2729
|
n(te, {
|
|
2730
2730
|
border: "thin opacity-25 success",
|
|
2731
2731
|
class: "ms-2",
|
|
@@ -2737,12 +2737,12 @@ const Un = /* @__PURE__ */ y({
|
|
|
2737
2737
|
])
|
|
2738
2738
|
]),
|
|
2739
2739
|
append: s(() => [
|
|
2740
|
-
n(
|
|
2741
|
-
"prepend-icon": `svg:${e(
|
|
2740
|
+
n(A, {
|
|
2741
|
+
"prepend-icon": `svg:${e(Ao)}`,
|
|
2742
2742
|
rounded: "lg",
|
|
2743
2743
|
text: "Leave team",
|
|
2744
2744
|
width: "145",
|
|
2745
|
-
onClick:
|
|
2745
|
+
onClick: x[1] || (x[1] = (L) => e(a).leaveTeam())
|
|
2746
2746
|
}, null, 8, ["prepend-icon"])
|
|
2747
2747
|
]),
|
|
2748
2748
|
_: 1
|
|
@@ -2765,12 +2765,12 @@ const Un = /* @__PURE__ */ y({
|
|
|
2765
2765
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
2766
2766
|
};
|
|
2767
2767
|
}
|
|
2768
|
-
}), Ss = /* @__PURE__ */
|
|
2768
|
+
}), Ss = /* @__PURE__ */ _({
|
|
2769
2769
|
__name: "VoTeamListItem",
|
|
2770
2770
|
setup(p) {
|
|
2771
2771
|
const t = M(!1);
|
|
2772
2772
|
return (a, o) => {
|
|
2773
|
-
const r = ws, u =
|
|
2773
|
+
const r = ws, u = W;
|
|
2774
2774
|
return c(), m(u, {
|
|
2775
2775
|
active: e(t),
|
|
2776
2776
|
link: "",
|
|
@@ -2781,7 +2781,7 @@ const Un = /* @__PURE__ */ y({
|
|
|
2781
2781
|
default: s(() => [
|
|
2782
2782
|
n(r, {
|
|
2783
2783
|
modelValue: e(t),
|
|
2784
|
-
"onUpdate:modelValue": o[0] || (o[0] = (i) =>
|
|
2784
|
+
"onUpdate:modelValue": o[0] || (o[0] = (i) => R(t) ? t.value = i : null)
|
|
2785
2785
|
}, null, 8, ["modelValue"])
|
|
2786
2786
|
]),
|
|
2787
2787
|
_: 1
|
|
@@ -2856,12 +2856,12 @@ const Un = /* @__PURE__ */ y({
|
|
|
2856
2856
|
id: "figma",
|
|
2857
2857
|
name: "Vuetify Figma",
|
|
2858
2858
|
description: "Figma design resources",
|
|
2859
|
-
href: "https://
|
|
2859
|
+
href: "https://store.vuetifyjs.com/products/vuetify-ui-kit-figma",
|
|
2860
2860
|
icon: "$vuetify-figma"
|
|
2861
2861
|
}
|
|
2862
2862
|
];
|
|
2863
2863
|
function Ot() {
|
|
2864
|
-
const p =
|
|
2864
|
+
const p = P(), t = ge(() => st.filter((r) => p.one.ecosystem.pinned.includes(r.id)));
|
|
2865
2865
|
H(() => p.one.quicklinks, (r) => {
|
|
2866
2866
|
!r && p.one.ecosystem.pinned.length > 0 && (p.one.ecosystem.pinned = []);
|
|
2867
2867
|
});
|
|
@@ -2879,10 +2879,10 @@ function Ot() {
|
|
|
2879
2879
|
togglePin: o
|
|
2880
2880
|
};
|
|
2881
2881
|
}
|
|
2882
|
-
const at = /* @__PURE__ */
|
|
2882
|
+
const at = /* @__PURE__ */ _({
|
|
2883
2883
|
__name: "VoEcosystemMenu",
|
|
2884
2884
|
setup(p) {
|
|
2885
|
-
const t =
|
|
2885
|
+
const t = E(), { actions: a, isPinned: o, togglePin: r } = Ot();
|
|
2886
2886
|
return (u, i) => (c(), m(z, {
|
|
2887
2887
|
border: "",
|
|
2888
2888
|
"min-width": "240",
|
|
@@ -2894,18 +2894,18 @@ const at = /* @__PURE__ */ y({
|
|
|
2894
2894
|
nav: ""
|
|
2895
2895
|
}, {
|
|
2896
2896
|
default: s(() => [
|
|
2897
|
-
(c(!0),
|
|
2897
|
+
(c(!0), V(D, null, Y(e(a), (l) => N((c(), m(se, {
|
|
2898
2898
|
key: l.id,
|
|
2899
2899
|
href: l.href,
|
|
2900
2900
|
"prepend-icon": l.icon,
|
|
2901
2901
|
rounded: "lg",
|
|
2902
2902
|
target: "_blank",
|
|
2903
2903
|
title: l.name
|
|
2904
|
-
},
|
|
2904
|
+
}, U({ _: 2 }, [
|
|
2905
2905
|
e(t).user ? {
|
|
2906
2906
|
name: "append",
|
|
2907
2907
|
fn: s(() => [
|
|
2908
|
-
|
|
2908
|
+
N(n(A, {
|
|
2909
2909
|
icon: `svg:${e(o)(l.id) ? e(To) : e(Uo)}`,
|
|
2910
2910
|
size: "x-small",
|
|
2911
2911
|
variant: "text",
|
|
@@ -2926,25 +2926,25 @@ const at = /* @__PURE__ */ y({
|
|
|
2926
2926
|
_: 1
|
|
2927
2927
|
}));
|
|
2928
2928
|
}
|
|
2929
|
-
}), Ms = /* @__PURE__ */
|
|
2929
|
+
}), Ms = /* @__PURE__ */ _({
|
|
2930
2930
|
__name: "VoEcosystemListItem",
|
|
2931
2931
|
setup(p) {
|
|
2932
|
-
const t =
|
|
2932
|
+
const t = P(), { mobile: a } = ie(), o = M(!1);
|
|
2933
2933
|
return H(o, (r) => {
|
|
2934
2934
|
r && !t.one.ecosystem.seen && (t.one.ecosystem.seen = !0);
|
|
2935
2935
|
}), (r, u) => {
|
|
2936
|
-
const i =
|
|
2936
|
+
const i = W;
|
|
2937
2937
|
return c(), m(i, {
|
|
2938
2938
|
link: "",
|
|
2939
2939
|
"prepend-icon": "$vuetify-outline",
|
|
2940
2940
|
rounded: "lg",
|
|
2941
2941
|
title: "Vuetify Ecosystem"
|
|
2942
|
-
},
|
|
2942
|
+
}, U({
|
|
2943
2943
|
default: s(() => [
|
|
2944
2944
|
e(a) ? (c(), m(Ve, {
|
|
2945
2945
|
key: 0,
|
|
2946
2946
|
modelValue: e(o),
|
|
2947
|
-
"onUpdate:modelValue": u[0] || (u[0] = (l) =>
|
|
2947
|
+
"onUpdate:modelValue": u[0] || (u[0] = (l) => R(o) ? o.value = l : null),
|
|
2948
2948
|
activator: "parent",
|
|
2949
2949
|
"max-width": "320"
|
|
2950
2950
|
}, {
|
|
@@ -2955,7 +2955,7 @@ const at = /* @__PURE__ */ y({
|
|
|
2955
2955
|
}, 8, ["modelValue"])) : (c(), m(Pe, {
|
|
2956
2956
|
key: 1,
|
|
2957
2957
|
modelValue: e(o),
|
|
2958
|
-
"onUpdate:modelValue": u[1] || (u[1] = (l) =>
|
|
2958
|
+
"onUpdate:modelValue": u[1] || (u[1] = (l) => R(o) ? o.value = l : null),
|
|
2959
2959
|
activator: "parent",
|
|
2960
2960
|
"close-on-content-click": !1,
|
|
2961
2961
|
offset: [16, 16],
|
|
@@ -2987,16 +2987,16 @@ const at = /* @__PURE__ */ y({
|
|
|
2987
2987
|
}), Is = {
|
|
2988
2988
|
key: 0,
|
|
2989
2989
|
class: "pt-16"
|
|
2990
|
-
},
|
|
2990
|
+
}, Ds = {
|
|
2991
2991
|
key: 1,
|
|
2992
2992
|
class: "pa-5"
|
|
2993
|
-
},
|
|
2993
|
+
}, As = { 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__ */ _({
|
|
2994
2994
|
__name: "VoNotificationsBannerList",
|
|
2995
2995
|
props: {
|
|
2996
2996
|
items: {}
|
|
2997
2997
|
},
|
|
2998
2998
|
setup(p) {
|
|
2999
|
-
const t = me(), a = ie(), o =
|
|
2999
|
+
const t = me(), a = ie(), o = P();
|
|
3000
3000
|
function r(i) {
|
|
3001
3001
|
return o.one.banners.read.includes(i);
|
|
3002
3002
|
}
|
|
@@ -3009,7 +3009,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3009
3009
|
lines: "three"
|
|
3010
3010
|
}, {
|
|
3011
3011
|
default: s(() => [
|
|
3012
|
-
i.items.length === 0 ? (c(),
|
|
3012
|
+
i.items.length === 0 ? (c(), V("div", Is, [
|
|
3013
3013
|
n(Ke, {
|
|
3014
3014
|
icon: "$vuetify",
|
|
3015
3015
|
size: "256"
|
|
@@ -3018,12 +3018,12 @@ const at = /* @__PURE__ */ y({
|
|
|
3018
3018
|
n(I, { color: "medium-emphasis" })
|
|
3019
3019
|
]),
|
|
3020
3020
|
title: s(() => [...l[0] || (l[0] = [
|
|
3021
|
-
|
|
3021
|
+
g("div", { class: "text-medium-emphasis" }, " All caught up ", -1)
|
|
3022
3022
|
])]),
|
|
3023
3023
|
_: 1
|
|
3024
3024
|
})
|
|
3025
|
-
])) : (c(),
|
|
3026
|
-
(c(!0),
|
|
3025
|
+
])) : (c(), V("div", Ds, [
|
|
3026
|
+
(c(!0), V(D, null, Y(i.items, (d) => (c(), V("div", {
|
|
3027
3027
|
key: d.slug,
|
|
3028
3028
|
class: "mb-4"
|
|
3029
3029
|
}, [
|
|
@@ -3045,8 +3045,8 @@ const at = /* @__PURE__ */ y({
|
|
|
3045
3045
|
_: 2
|
|
3046
3046
|
}, 1032, ["color", "image", "title"]),
|
|
3047
3047
|
n(ve, null, {
|
|
3048
|
-
default: s(({ props: f, isHovering:
|
|
3049
|
-
n($e,
|
|
3048
|
+
default: s(({ props: f, isHovering: y }) => [
|
|
3049
|
+
n($e, q({ ref_for: !0 }, f, {
|
|
3050
3050
|
border: "",
|
|
3051
3051
|
class: "px-8 pt-2 pb-4 position-relative",
|
|
3052
3052
|
rounded: "b"
|
|
@@ -3056,17 +3056,17 @@ const at = /* @__PURE__ */ y({
|
|
|
3056
3056
|
location: "bottom",
|
|
3057
3057
|
text: r(d.slug) ? "Mark as unread" : "Mark as read"
|
|
3058
3058
|
}, {
|
|
3059
|
-
activator: s(({ props:
|
|
3059
|
+
activator: s(({ props: v }) => [
|
|
3060
3060
|
n(xe, { "hide-on-leave": "" }, {
|
|
3061
3061
|
default: s(() => [
|
|
3062
|
-
|
|
3062
|
+
N(n(A, q({ ref_for: !0 }, v, {
|
|
3063
3063
|
class: "ms-auto float-right",
|
|
3064
3064
|
icon: `svg:${r(d.slug) ? e(Ge) : e(qe)}`,
|
|
3065
3065
|
size: "small",
|
|
3066
3066
|
variant: "text",
|
|
3067
|
-
onClick: (
|
|
3067
|
+
onClick: (h) => u(d)
|
|
3068
3068
|
}), null, 16, ["icon", "onClick"]), [
|
|
3069
|
-
[Ie,
|
|
3069
|
+
[Ie, y || e(a).mobile.value]
|
|
3070
3070
|
])
|
|
3071
3071
|
]),
|
|
3072
3072
|
_: 2
|
|
@@ -3074,10 +3074,10 @@ const at = /* @__PURE__ */ y({
|
|
|
3074
3074
|
]),
|
|
3075
3075
|
_: 2
|
|
3076
3076
|
}, 1032, ["text"]),
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
n(te,
|
|
3077
|
+
g("div", As, $(d.metadata.text), 1),
|
|
3078
|
+
g("div", Ts, $(e(t).format(d.created_at, "fullDateWithWeekday")), 1),
|
|
3079
|
+
g("div", Us, $(d.metadata.subtext), 1),
|
|
3080
|
+
n(te, q({ ref_for: !0 }, {
|
|
3081
3081
|
href: d.metadata.link.startsWith("http") ? d.metadata.link : void 0,
|
|
3082
3082
|
target: d.metadata.link.startsWith("http") ? "_blank" : void 0,
|
|
3083
3083
|
to: d.metadata.link.startsWith("http") ? void 0 : d.metadata.link
|
|
@@ -3106,14 +3106,14 @@ const at = /* @__PURE__ */ y({
|
|
|
3106
3106
|
_: 1
|
|
3107
3107
|
}));
|
|
3108
3108
|
}
|
|
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__ */
|
|
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__ */ _({
|
|
3110
3110
|
__name: "VoNotificationsListItem",
|
|
3111
3111
|
props: {
|
|
3112
3112
|
demo: { type: Boolean },
|
|
3113
3113
|
notification: {}
|
|
3114
3114
|
},
|
|
3115
3115
|
setup(p) {
|
|
3116
|
-
const t = p, a =
|
|
3116
|
+
const t = p, a = P(), o = me(), r = ie(), u = C(() => {
|
|
3117
3117
|
const d = t.notification.metadata ?? { action: "" };
|
|
3118
3118
|
return {
|
|
3119
3119
|
href: d.action.startsWith("http") ? d.action : void 0,
|
|
@@ -3132,12 +3132,12 @@ const at = /* @__PURE__ */ y({
|
|
|
3132
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));
|
|
3133
3133
|
}
|
|
3134
3134
|
return (d, f) => {
|
|
3135
|
-
const
|
|
3135
|
+
const y = W;
|
|
3136
3136
|
return c(), m(ve, null, {
|
|
3137
|
-
default: s(({ isHovering:
|
|
3138
|
-
n(
|
|
3137
|
+
default: s(({ isHovering: v, props: h }) => [
|
|
3138
|
+
n(y, q(h, { class: "py-4 mb-0" }), {
|
|
3139
3139
|
prepend: s(() => [
|
|
3140
|
-
|
|
3140
|
+
g("div", Os, $(d.notification.metadata.emoji), 1)
|
|
3141
3141
|
]),
|
|
3142
3142
|
append: s(() => [
|
|
3143
3143
|
n(un, {
|
|
@@ -3149,18 +3149,18 @@ const at = /* @__PURE__ */ y({
|
|
|
3149
3149
|
location: "bottom",
|
|
3150
3150
|
text: i(d.notification.slug) ? "Mark as unread" : "Mark as read"
|
|
3151
3151
|
}, {
|
|
3152
|
-
activator: s(({ props:
|
|
3152
|
+
activator: s(({ props: k }) => [
|
|
3153
3153
|
n(xe, { "hide-on-leave": "" }, {
|
|
3154
3154
|
default: s(() => [
|
|
3155
|
-
|
|
3155
|
+
N(n(A, q(k, {
|
|
3156
3156
|
class: "ms-auto",
|
|
3157
3157
|
icon: `svg:${i(d.notification.slug) ? e(Ge) : e(qe)}`,
|
|
3158
3158
|
"mdi-email-variant": "",
|
|
3159
3159
|
size: "small",
|
|
3160
3160
|
variant: "text",
|
|
3161
|
-
onClick: f[0] || (f[0] = (
|
|
3161
|
+
onClick: f[0] || (f[0] = (x) => l(d.notification))
|
|
3162
3162
|
}), null, 16, ["icon"]), [
|
|
3163
|
-
[Ie,
|
|
3163
|
+
[Ie, v || e(r).mobile.value]
|
|
3164
3164
|
])
|
|
3165
3165
|
]),
|
|
3166
3166
|
_: 2
|
|
@@ -3175,13 +3175,13 @@ const at = /* @__PURE__ */ y({
|
|
|
3175
3175
|
default: s(() => [
|
|
3176
3176
|
n(yt, { class: "text-wrap text-h6 mb-1" }, {
|
|
3177
3177
|
default: s(() => [
|
|
3178
|
-
|
|
3178
|
+
g("div", zs, $(d.notification.title), 1)
|
|
3179
3179
|
]),
|
|
3180
3180
|
_: 1
|
|
3181
3181
|
}),
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
n(te,
|
|
3182
|
+
g("div", Bs, $(e(o).format(d.notification.created_at, "fullDateWithWeekday")), 1),
|
|
3183
|
+
g("div", Es, $(d.notification.metadata.text), 1),
|
|
3184
|
+
n(te, q({
|
|
3185
3185
|
"append-icon": `svg:${e(Te)}`
|
|
3186
3186
|
}, e(u), {
|
|
3187
3187
|
border: "",
|
|
@@ -3206,7 +3206,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3206
3206
|
}), Zs = {
|
|
3207
3207
|
key: 0,
|
|
3208
3208
|
class: "pt-16"
|
|
3209
|
-
}, Ns = /* @__PURE__ */
|
|
3209
|
+
}, Ns = /* @__PURE__ */ _({
|
|
3210
3210
|
__name: "VoNotificationsList",
|
|
3211
3211
|
props: {
|
|
3212
3212
|
items: {}
|
|
@@ -3220,7 +3220,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3220
3220
|
lines: "three"
|
|
3221
3221
|
}, {
|
|
3222
3222
|
default: s(() => [
|
|
3223
|
-
t.items.length === 0 ? (c(),
|
|
3223
|
+
t.items.length === 0 ? (c(), V("div", Zs, [
|
|
3224
3224
|
n(Ke, {
|
|
3225
3225
|
icon: "$vuetify",
|
|
3226
3226
|
size: "256"
|
|
@@ -3229,14 +3229,14 @@ const at = /* @__PURE__ */ y({
|
|
|
3229
3229
|
n(I, { color: "medium-emphasis" })
|
|
3230
3230
|
]),
|
|
3231
3231
|
title: s(() => [...a[0] || (a[0] = [
|
|
3232
|
-
|
|
3232
|
+
g("div", { class: "text-medium-emphasis" }, " All caught up ", -1)
|
|
3233
3233
|
])]),
|
|
3234
3234
|
_: 1
|
|
3235
3235
|
})
|
|
3236
|
-
])) : (c(!0),
|
|
3236
|
+
])) : (c(!0), V(D, { key: 1 }, Y(t.items, (r, u) => (c(), V(D, {
|
|
3237
3237
|
key: r.slug
|
|
3238
3238
|
}, [
|
|
3239
|
-
u !== 0 ? (c(), m(
|
|
3239
|
+
u !== 0 ? (c(), m(j, { key: 0 })) : b("", !0),
|
|
3240
3240
|
n(o, { notification: r }, null, 8, ["notification"])
|
|
3241
3241
|
], 64))), 128))
|
|
3242
3242
|
]),
|
|
@@ -3244,36 +3244,42 @@ const at = /* @__PURE__ */ y({
|
|
|
3244
3244
|
});
|
|
3245
3245
|
};
|
|
3246
3246
|
}
|
|
3247
|
-
}), zt =
|
|
3248
|
-
const p =
|
|
3247
|
+
}), zt = G("site", () => {
|
|
3248
|
+
const p = Z([]), t = Z();
|
|
3249
3249
|
return {
|
|
3250
3250
|
id: p,
|
|
3251
3251
|
url: t
|
|
3252
3252
|
};
|
|
3253
|
-
}), Qe =
|
|
3254
|
-
const p =
|
|
3253
|
+
}), Qe = G("banners", () => {
|
|
3254
|
+
const p = Q(), t = zt(), a = P(), o = ee(), r = Z([]), u = M(!1), i = C(() => {
|
|
3255
3255
|
if (l.value)
|
|
3256
3256
|
return l.value;
|
|
3257
|
-
if (a.one.banners.enabled)
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
return r.value.find(({
|
|
3264
|
-
slug: f,
|
|
3265
|
-
metadata: {
|
|
3266
|
-
site: _,
|
|
3267
|
-
active: g
|
|
3268
|
-
}
|
|
3269
|
-
}) => !g || a.one.banners.read.includes(f) ? !1 : _.includes("dev") && !1 || _.includes("*") ? !0 : _.some((b) => t.id.includes(b)));
|
|
3257
|
+
if (!a.one.banners.enabled)
|
|
3258
|
+
return;
|
|
3259
|
+
if (a.one.banners.last) {
|
|
3260
|
+
const v = new Date(a.one.banners.last), h = 3 * 24 * 60 * 60 * 1e3, k = new Date(Date.now() - h);
|
|
3261
|
+
if (v > k)
|
|
3262
|
+
return;
|
|
3270
3263
|
}
|
|
3264
|
+
return r.value.filter(({
|
|
3265
|
+
slug: v,
|
|
3266
|
+
metadata: {
|
|
3267
|
+
site: h,
|
|
3268
|
+
active: k
|
|
3269
|
+
}
|
|
3270
|
+
}) => !k || a.one.banners.read.includes(v) ? !1 : h.includes("*") ? !0 : h.some((x) => t.id.includes(x))).toSorted((v, h) => {
|
|
3271
|
+
function k(B) {
|
|
3272
|
+
return typeof B == "number" ? B : typeof B == "string" ? Number(B) || 0 : B && typeof B == "object" && "key" in B && Number(B.key) || 0;
|
|
3273
|
+
}
|
|
3274
|
+
const x = k(v.metadata.priority), T = k(h.metadata.priority);
|
|
3275
|
+
return T !== x ? T - x : new Date(h.created_at).getTime() - new Date(v.created_at).getTime();
|
|
3276
|
+
})[0];
|
|
3271
3277
|
}), l = C(() => r.value.find(({
|
|
3272
3278
|
metadata: {
|
|
3273
3279
|
site: f,
|
|
3274
|
-
active:
|
|
3280
|
+
active: y
|
|
3275
3281
|
}
|
|
3276
|
-
}) =>
|
|
3282
|
+
}) => y ? f.includes("server") : !1));
|
|
3277
3283
|
async function d() {
|
|
3278
3284
|
try {
|
|
3279
3285
|
u.value = !0;
|
|
@@ -3293,8 +3299,8 @@ const at = /* @__PURE__ */ y({
|
|
|
3293
3299
|
banner: i,
|
|
3294
3300
|
index: d
|
|
3295
3301
|
};
|
|
3296
|
-
}), Fe =
|
|
3297
|
-
const p =
|
|
3302
|
+
}), Fe = G("notifications", () => {
|
|
3303
|
+
const p = Q(), t = P(), a = ee(), o = Z([]), 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)));
|
|
3298
3304
|
async function l() {
|
|
3299
3305
|
try {
|
|
3300
3306
|
r.value = !0;
|
|
@@ -3314,7 +3320,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3314
3320
|
unread: u,
|
|
3315
3321
|
index: l
|
|
3316
3322
|
};
|
|
3317
|
-
}),
|
|
3323
|
+
}), js = { class: "text-caption" }, Hs = { class: "text-caption" }, Rs = /* @__PURE__ */ _({
|
|
3318
3324
|
__name: "VoNotificationsDialog",
|
|
3319
3325
|
props: {
|
|
3320
3326
|
modelValue: { type: Boolean },
|
|
@@ -3322,12 +3328,12 @@ const at = /* @__PURE__ */ y({
|
|
|
3322
3328
|
},
|
|
3323
3329
|
emits: ["update:modelValue"],
|
|
3324
3330
|
setup(p) {
|
|
3325
|
-
const t = ie(), a = Ce(), o = Qe(), r = Fe(), u = O(), i =
|
|
3331
|
+
const t = ie(), a = Ce(), o = Qe(), r = Fe(), u = O(), i = P(), l = M(["read"]), d = K(p, "modelValue");
|
|
3326
3332
|
function f() {
|
|
3327
|
-
const
|
|
3328
|
-
i.one.notifications.read.push(...
|
|
3333
|
+
const v = r.unread.map((h) => h.slug);
|
|
3334
|
+
i.one.notifications.read.push(...v);
|
|
3329
3335
|
}
|
|
3330
|
-
function
|
|
3336
|
+
function y() {
|
|
3331
3337
|
i.one.notifications.read = [];
|
|
3332
3338
|
}
|
|
3333
3339
|
return H(a, async () => {
|
|
@@ -3336,16 +3342,16 @@ const at = /* @__PURE__ */ y({
|
|
|
3336
3342
|
return;
|
|
3337
3343
|
}
|
|
3338
3344
|
u.isOpen = !0, await be(), d.value = !0;
|
|
3339
|
-
}, { immediate: !0 }), (
|
|
3340
|
-
const
|
|
3341
|
-
return c(), m(
|
|
3345
|
+
}, { immediate: !0 }), (v, h) => {
|
|
3346
|
+
const k = W, x = Ns, T = Ps, B = de;
|
|
3347
|
+
return c(), m(B, {
|
|
3342
3348
|
modelValue: d.value,
|
|
3343
|
-
"onUpdate:modelValue":
|
|
3349
|
+
"onUpdate:modelValue": h[2] || (h[2] = (L) => d.value = L),
|
|
3344
3350
|
"prepend-icon": `svg:${e(Po)}`,
|
|
3345
3351
|
title: "Notifications"
|
|
3346
3352
|
}, {
|
|
3347
3353
|
append: s(() => [
|
|
3348
|
-
e(l)[0] === "read" ?
|
|
3354
|
+
e(l)[0] === "read" ? N((c(), m(A, {
|
|
3349
3355
|
key: 0,
|
|
3350
3356
|
class: "me-2",
|
|
3351
3357
|
density: "comfortable",
|
|
@@ -3356,8 +3362,8 @@ const at = /* @__PURE__ */ y({
|
|
|
3356
3362
|
onClick: f
|
|
3357
3363
|
}, null, 8, ["disabled", "icon"])), [
|
|
3358
3364
|
[X, "Mark All as Read", "start"]
|
|
3359
|
-
]) :
|
|
3360
|
-
e(l)[0] === "unread" ?
|
|
3365
|
+
]) : b("", !0),
|
|
3366
|
+
e(l)[0] === "unread" ? N((c(), m(A, {
|
|
3361
3367
|
key: 1,
|
|
3362
3368
|
class: "me-2",
|
|
3363
3369
|
density: "comfortable",
|
|
@@ -3365,10 +3371,10 @@ const at = /* @__PURE__ */ y({
|
|
|
3365
3371
|
icon: `svg:${e(Ge)}`,
|
|
3366
3372
|
size: "small",
|
|
3367
3373
|
variant: "text",
|
|
3368
|
-
onClick:
|
|
3374
|
+
onClick: y
|
|
3369
3375
|
}, null, 8, ["disabled", "icon"])), [
|
|
3370
3376
|
[X, "Mark All as Unread", "start"]
|
|
3371
|
-
]) :
|
|
3377
|
+
]) : b("", !0)
|
|
3372
3378
|
]),
|
|
3373
3379
|
default: s(() => [
|
|
3374
3380
|
n(ue, null, {
|
|
@@ -3381,40 +3387,40 @@ const at = /* @__PURE__ */ y({
|
|
|
3381
3387
|
default: s(() => [
|
|
3382
3388
|
n(ne, {
|
|
3383
3389
|
selected: e(l),
|
|
3384
|
-
"onUpdate:selected":
|
|
3390
|
+
"onUpdate:selected": h[0] || (h[0] = (L) => R(l) ? l.value = L : null),
|
|
3385
3391
|
class: "px-4 pt-4",
|
|
3386
3392
|
density: "compact",
|
|
3387
3393
|
mandatory: "",
|
|
3388
3394
|
nav: ""
|
|
3389
3395
|
}, {
|
|
3390
3396
|
default: s(() => [
|
|
3391
|
-
n(
|
|
3397
|
+
n(k, {
|
|
3392
3398
|
"prepend-icon": `svg:${e(Oo)}`,
|
|
3393
3399
|
title: "Unread",
|
|
3394
3400
|
value: "read"
|
|
3395
|
-
},
|
|
3401
|
+
}, U({ _: 2 }, [
|
|
3396
3402
|
e(r).unread.length > 0 ? {
|
|
3397
3403
|
name: "append",
|
|
3398
3404
|
fn: s(() => [
|
|
3399
|
-
|
|
3405
|
+
g("span", js, $(e(r).unread.length), 1)
|
|
3400
3406
|
]),
|
|
3401
3407
|
key: "0"
|
|
3402
3408
|
} : void 0
|
|
3403
3409
|
]), 1032, ["prepend-icon"]),
|
|
3404
|
-
n(
|
|
3410
|
+
n(k, {
|
|
3405
3411
|
"prepend-icon": `svg:${e(zo)}`,
|
|
3406
3412
|
title: "Read",
|
|
3407
3413
|
value: "unread"
|
|
3408
|
-
},
|
|
3414
|
+
}, U({ _: 2 }, [
|
|
3409
3415
|
e(r).read.length > 0 ? {
|
|
3410
3416
|
name: "append",
|
|
3411
3417
|
fn: s(() => [
|
|
3412
|
-
|
|
3418
|
+
g("span", Hs, $(e(r).read.length), 1)
|
|
3413
3419
|
]),
|
|
3414
3420
|
key: "0"
|
|
3415
3421
|
} : void 0
|
|
3416
3422
|
]), 1032, ["prepend-icon"]),
|
|
3417
|
-
e(o).all.length > 0 && e(i).one.banners.enabled ? (c(), m(
|
|
3423
|
+
e(o).all.length > 0 && e(i).one.banners.enabled ? (c(), m(k, {
|
|
3418
3424
|
key: 0,
|
|
3419
3425
|
"prepend-icon": `svg:${e(Bo)}`,
|
|
3420
3426
|
title: "Banners",
|
|
@@ -3427,7 +3433,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3427
3433
|
})
|
|
3428
3434
|
]),
|
|
3429
3435
|
_: 1
|
|
3430
|
-
}, 8, ["prepend-icon"])) :
|
|
3436
|
+
}, 8, ["prepend-icon"])) : b("", !0)
|
|
3431
3437
|
]),
|
|
3432
3438
|
_: 1
|
|
3433
3439
|
}, 8, ["selected"])
|
|
@@ -3438,12 +3444,12 @@ const at = /* @__PURE__ */ y({
|
|
|
3438
3444
|
default: s(() => [
|
|
3439
3445
|
n($t, {
|
|
3440
3446
|
modelValue: e(l),
|
|
3441
|
-
"onUpdate:modelValue":
|
|
3447
|
+
"onUpdate:modelValue": h[1] || (h[1] = (L) => R(l) ? l.value = L : null)
|
|
3442
3448
|
}, {
|
|
3443
3449
|
default: s(() => [
|
|
3444
3450
|
n(_e, { value: "read" }, {
|
|
3445
3451
|
default: s(() => [
|
|
3446
|
-
n(
|
|
3452
|
+
n(x, {
|
|
3447
3453
|
items: e(r).unread
|
|
3448
3454
|
}, null, 8, ["items"])
|
|
3449
3455
|
]),
|
|
@@ -3451,7 +3457,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3451
3457
|
}),
|
|
3452
3458
|
n(_e, { value: "unread" }, {
|
|
3453
3459
|
default: s(() => [
|
|
3454
|
-
n(
|
|
3460
|
+
n(x, {
|
|
3455
3461
|
items: e(r).read
|
|
3456
3462
|
}, null, 8, ["items"])
|
|
3457
3463
|
]),
|
|
@@ -3459,7 +3465,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3459
3465
|
}),
|
|
3460
3466
|
n(_e, { value: "banners" }, {
|
|
3461
3467
|
default: s(() => [
|
|
3462
|
-
n(
|
|
3468
|
+
n(T, {
|
|
3463
3469
|
items: e(o).all
|
|
3464
3470
|
}, null, 8, ["items"])
|
|
3465
3471
|
]),
|
|
@@ -3479,10 +3485,10 @@ const at = /* @__PURE__ */ y({
|
|
|
3479
3485
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
3480
3486
|
};
|
|
3481
3487
|
}
|
|
3482
|
-
}), qs = /* @__PURE__ */
|
|
3488
|
+
}), qs = /* @__PURE__ */ _({
|
|
3483
3489
|
__name: "VoNotificationsBadge",
|
|
3484
3490
|
setup(p) {
|
|
3485
|
-
const t = Fe(), a =
|
|
3491
|
+
const t = Fe(), a = P();
|
|
3486
3492
|
return (o, r) => (c(), m(Ye, {
|
|
3487
3493
|
color: "error",
|
|
3488
3494
|
content: e(t).unread.length,
|
|
@@ -3494,14 +3500,14 @@ const at = /* @__PURE__ */ y({
|
|
|
3494
3500
|
_: 3
|
|
3495
3501
|
}, 8, ["content", "model-value"]));
|
|
3496
3502
|
}
|
|
3497
|
-
}), Gs = /* @__PURE__ */
|
|
3503
|
+
}), Gs = /* @__PURE__ */ _({
|
|
3498
3504
|
__name: "VoNotificationsNavItem",
|
|
3499
3505
|
setup(p) {
|
|
3500
|
-
const t =
|
|
3501
|
-
return
|
|
3506
|
+
const t = P(), a = Fe(), o = M(!1);
|
|
3507
|
+
return De(() => {
|
|
3502
3508
|
a.index();
|
|
3503
3509
|
}), (r, u) => {
|
|
3504
|
-
const i = qs, l = Rs, d =
|
|
3510
|
+
const i = qs, l = Rs, d = W;
|
|
3505
3511
|
return e(t).one.notifications.enabled ? (c(), m(d, {
|
|
3506
3512
|
key: 0,
|
|
3507
3513
|
active: e(o),
|
|
@@ -3509,11 +3515,11 @@ const at = /* @__PURE__ */ y({
|
|
|
3509
3515
|
"prepend-icon": `svg:${e(Eo)}`,
|
|
3510
3516
|
rounded: "lg",
|
|
3511
3517
|
title: "Notifications"
|
|
3512
|
-
},
|
|
3518
|
+
}, U({
|
|
3513
3519
|
default: s(() => [
|
|
3514
3520
|
n(l, {
|
|
3515
3521
|
modelValue: e(o),
|
|
3516
|
-
"onUpdate:modelValue": u[0] || (u[0] = (f) =>
|
|
3522
|
+
"onUpdate:modelValue": u[0] || (u[0] = (f) => R(o) ? o.value = f : null)
|
|
3517
3523
|
}, null, 8, ["modelValue"])
|
|
3518
3524
|
]),
|
|
3519
3525
|
_: 2
|
|
@@ -3530,10 +3536,10 @@ const at = /* @__PURE__ */ y({
|
|
|
3530
3536
|
]),
|
|
3531
3537
|
key: "0"
|
|
3532
3538
|
} : void 0
|
|
3533
|
-
]), 1032, ["active", "prepend-icon"])) :
|
|
3539
|
+
]), 1032, ["active", "prepend-icon"])) : b("", !0);
|
|
3534
3540
|
};
|
|
3535
3541
|
}
|
|
3536
|
-
}), Ws = /* @__PURE__ */
|
|
3542
|
+
}), Ws = /* @__PURE__ */ _({
|
|
3537
3543
|
__name: "VoDashboardNavItem",
|
|
3538
3544
|
setup(p) {
|
|
3539
3545
|
const t = O();
|
|
@@ -3543,7 +3549,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3543
3549
|
}, 100);
|
|
3544
3550
|
}
|
|
3545
3551
|
return (o, r) => {
|
|
3546
|
-
const u =
|
|
3552
|
+
const u = W;
|
|
3547
3553
|
return c(), m(u, {
|
|
3548
3554
|
"prepend-icon": `svg:${e(Fo)}`,
|
|
3549
3555
|
rounded: "lg",
|
|
@@ -3553,37 +3559,37 @@ const at = /* @__PURE__ */ y({
|
|
|
3553
3559
|
}, null, 8, ["prepend-icon"]);
|
|
3554
3560
|
};
|
|
3555
3561
|
}
|
|
3556
|
-
}), Ks = /* @__PURE__ */
|
|
3562
|
+
}), Ks = /* @__PURE__ */ _({
|
|
3557
3563
|
__name: "VoUserList",
|
|
3558
3564
|
setup(p) {
|
|
3559
|
-
const t =
|
|
3565
|
+
const t = E(), a = O(), o = Ae();
|
|
3560
3566
|
return (r, u) => {
|
|
3561
|
-
const i = Ws, l = Gs, d = Ms, f = Ss,
|
|
3567
|
+
const i = Ws, l = Gs, d = Ms, f = Ss, y = Vs, v = hs, h = ls, k = jn, x = Tn, T = xn;
|
|
3562
3568
|
return c(), m(ne, {
|
|
3563
3569
|
density: "compact",
|
|
3564
3570
|
nav: "",
|
|
3565
3571
|
slim: ""
|
|
3566
3572
|
}, {
|
|
3567
3573
|
default: s(() => [
|
|
3568
|
-
e(t).user ? (c(), m(i, { key: 0 })) :
|
|
3574
|
+
e(t).user ? (c(), m(i, { key: 0 })) : b("", !0),
|
|
3569
3575
|
n(l),
|
|
3570
3576
|
n(d),
|
|
3571
|
-
e(o).hasTeamAccess ? (c(), m(f, { key: 1 })) :
|
|
3572
|
-
e(a).shopify ? (c(), m(
|
|
3573
|
-
n(
|
|
3574
|
-
e(t).user ? (c(), m(
|
|
3575
|
-
e(a).isSubscriber ? (c(), m(
|
|
3576
|
-
n(
|
|
3577
|
-
e(t).user ? (c(), m(
|
|
3577
|
+
e(o).hasTeamAccess ? (c(), m(f, { key: 1 })) : b("", !0),
|
|
3578
|
+
e(a).shopify ? (c(), m(y, { key: 2 })) : b("", !0),
|
|
3579
|
+
n(v),
|
|
3580
|
+
e(t).user ? (c(), m(h, { key: 3 })) : b("", !0),
|
|
3581
|
+
e(a).isSubscriber ? (c(), m(k, { key: 4 })) : b("", !0),
|
|
3582
|
+
n(x),
|
|
3583
|
+
e(t).user ? (c(), m(T, { key: 5 })) : b("", !0)
|
|
3578
3584
|
]),
|
|
3579
3585
|
_: 1
|
|
3580
3586
|
});
|
|
3581
3587
|
};
|
|
3582
3588
|
}
|
|
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__ */
|
|
3589
|
+
}), 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__ */ _({
|
|
3584
3590
|
__name: "VoUserAvatar",
|
|
3585
3591
|
setup(p) {
|
|
3586
|
-
const t =
|
|
3592
|
+
const t = E(), a = O(), o = P(), r = M(!1), u = C(() => {
|
|
3587
3593
|
const d = [
|
|
3588
3594
|
"https://cdn.vuetifyjs.com/docs/images/avatars/dark.png",
|
|
3589
3595
|
"https://cdn.vuetifyjs.com/docs/images/avatars/blackguard.png",
|
|
@@ -3608,8 +3614,8 @@ const at = /* @__PURE__ */ y({
|
|
|
3608
3614
|
function l() {
|
|
3609
3615
|
a.isSubscriber && (r.value = !r.value);
|
|
3610
3616
|
}
|
|
3611
|
-
return (d, f) => (c(),
|
|
3612
|
-
|
|
3617
|
+
return (d, f) => (c(), V("div", null, [
|
|
3618
|
+
N((c(), m(oe, {
|
|
3613
3619
|
class: Rt([
|
|
3614
3620
|
"border-md border-opacity-100 border-surface-light",
|
|
3615
3621
|
{
|
|
@@ -3637,28 +3643,28 @@ const at = /* @__PURE__ */ y({
|
|
|
3637
3643
|
}, 8, ["class"])), [
|
|
3638
3644
|
[tn, e(a).isSubscriber]
|
|
3639
3645
|
]),
|
|
3640
|
-
|
|
3646
|
+
g("div", Ys, [
|
|
3641
3647
|
n(Le, null, {
|
|
3642
3648
|
default: s(() => [
|
|
3643
|
-
e(r) ? (c(),
|
|
3649
|
+
e(r) ? (c(), V("div", Qs, [
|
|
3644
3650
|
n(z, {
|
|
3645
3651
|
class: "pt-6 pb-1",
|
|
3646
3652
|
flat: "",
|
|
3647
3653
|
rounded: "0"
|
|
3648
3654
|
}, {
|
|
3649
3655
|
default: s(() => [
|
|
3650
|
-
|
|
3651
|
-
(c(!0),
|
|
3652
|
-
key:
|
|
3653
|
-
active: e(o).one.avatar ===
|
|
3656
|
+
g("div", Xs, [
|
|
3657
|
+
(c(!0), V(D, null, Y(e(u), (y, v) => (c(), m(A, {
|
|
3658
|
+
key: v,
|
|
3659
|
+
active: e(o).one.avatar === y,
|
|
3654
3660
|
icon: "",
|
|
3655
3661
|
variant: "flat",
|
|
3656
|
-
onClick: (
|
|
3662
|
+
onClick: (h) => i(y)
|
|
3657
3663
|
}, {
|
|
3658
3664
|
default: s(() => [
|
|
3659
3665
|
n(oe, {
|
|
3660
3666
|
eager: "",
|
|
3661
|
-
image:
|
|
3667
|
+
image: y
|
|
3662
3668
|
}, null, 8, ["image"])
|
|
3663
3669
|
]),
|
|
3664
3670
|
_: 2
|
|
@@ -3667,18 +3673,18 @@ const at = /* @__PURE__ */ y({
|
|
|
3667
3673
|
]),
|
|
3668
3674
|
_: 1
|
|
3669
3675
|
})
|
|
3670
|
-
])) :
|
|
3676
|
+
])) : b("", !0)
|
|
3671
3677
|
]),
|
|
3672
3678
|
_: 1
|
|
3673
3679
|
})
|
|
3674
3680
|
]),
|
|
3675
|
-
|
|
3681
|
+
g("div", Js, $(e(t).user?.name ?? "Guest"), 1)
|
|
3676
3682
|
]));
|
|
3677
3683
|
}
|
|
3678
|
-
}), ta = ["href"], oa = /* @__PURE__ */
|
|
3684
|
+
}), ta = ["href"], oa = /* @__PURE__ */ _({
|
|
3679
3685
|
__name: "VoUserPinnedEcosystem",
|
|
3680
3686
|
setup(p) {
|
|
3681
|
-
const t =
|
|
3687
|
+
const t = P(), { pinned: a } = Ot();
|
|
3682
3688
|
return (o, r) => e(t).one.quicklinks && e(a).length > 0 ? (c(), m($e, {
|
|
3683
3689
|
key: 0,
|
|
3684
3690
|
class: "align-center position-absolute d-flex ga-2 pa-2 me-2",
|
|
@@ -3687,11 +3693,11 @@ const at = /* @__PURE__ */ y({
|
|
|
3687
3693
|
style: { right: "0", top: "8px" }
|
|
3688
3694
|
}, {
|
|
3689
3695
|
default: s(() => [
|
|
3690
|
-
(c(!0),
|
|
3696
|
+
(c(!0), V(D, null, Y(e(a), (u) => (c(), m(ve, {
|
|
3691
3697
|
key: u.id
|
|
3692
3698
|
}, {
|
|
3693
3699
|
default: s(({ isHovering: i, props: l }) => [
|
|
3694
|
-
|
|
3700
|
+
N((c(), V("a", q({
|
|
3695
3701
|
class: "d-inline-flex",
|
|
3696
3702
|
href: u.href,
|
|
3697
3703
|
target: "_blank"
|
|
@@ -3709,12 +3715,12 @@ const at = /* @__PURE__ */ y({
|
|
|
3709
3715
|
}, 1024))), 128))
|
|
3710
3716
|
]),
|
|
3711
3717
|
_: 1
|
|
3712
|
-
})) :
|
|
3718
|
+
})) : b("", !0);
|
|
3713
3719
|
}
|
|
3714
|
-
}), na = /* @__PURE__ */
|
|
3720
|
+
}), na = /* @__PURE__ */ _({
|
|
3715
3721
|
__name: "VoUserBadges",
|
|
3716
3722
|
setup(p) {
|
|
3717
|
-
const t =
|
|
3723
|
+
const t = E(), a = O(), o = C(() => a.github || a.discord || a.isSubscriber || t.user?.isAdmin);
|
|
3718
3724
|
return (r, u) => e(o) ? (c(), m($e, {
|
|
3719
3725
|
key: 0,
|
|
3720
3726
|
class: "align-center position-absolute ms-2 d-flex ga-2 pa-2",
|
|
@@ -3723,55 +3729,55 @@ const at = /* @__PURE__ */ y({
|
|
|
3723
3729
|
style: { left: "0", top: "8px" }
|
|
3724
3730
|
}, {
|
|
3725
3731
|
default: s(() => [
|
|
3726
|
-
e(t).user?.isAdmin ?
|
|
3732
|
+
e(t).user?.isAdmin ? N((c(), m(I, {
|
|
3727
3733
|
key: 0,
|
|
3728
3734
|
color: "blue",
|
|
3729
3735
|
icon: "$vuetify",
|
|
3730
3736
|
size: "16"
|
|
3731
3737
|
}, null, 512)), [
|
|
3732
3738
|
[X, "Vuetify Administrator", "bottom"]
|
|
3733
|
-
]) :
|
|
3734
|
-
e(a).isSubscriber ?
|
|
3739
|
+
]) : b("", !0),
|
|
3740
|
+
e(a).isSubscriber ? N((c(), m(I, {
|
|
3735
3741
|
key: 1,
|
|
3736
3742
|
color: "amber-darken-2",
|
|
3737
3743
|
icon: `svg:${e(Zo)}`,
|
|
3738
3744
|
size: "16"
|
|
3739
3745
|
}, null, 8, ["icon"])), [
|
|
3740
3746
|
[X, "Vuetify One Subscriber", "bottom"]
|
|
3741
|
-
]) :
|
|
3742
|
-
e(a).github ?
|
|
3747
|
+
]) : b("", !0),
|
|
3748
|
+
e(a).github ? N((c(), m(I, {
|
|
3743
3749
|
key: 2,
|
|
3744
3750
|
color: "white",
|
|
3745
3751
|
icon: "$github",
|
|
3746
3752
|
size: "16"
|
|
3747
3753
|
}, null, 512)), [
|
|
3748
3754
|
[X, "GitHub Sponsor", "bottom"]
|
|
3749
|
-
]) :
|
|
3750
|
-
e(a).discord ?
|
|
3755
|
+
]) : b("", !0),
|
|
3756
|
+
e(a).discord ? N((c(), m(I, {
|
|
3751
3757
|
key: 3,
|
|
3752
3758
|
color: "white",
|
|
3753
3759
|
icon: "$discord",
|
|
3754
3760
|
size: "16"
|
|
3755
3761
|
}, null, 512)), [
|
|
3756
3762
|
[X, "Discord Subscriber", "bottom"]
|
|
3757
|
-
]) :
|
|
3763
|
+
]) : b("", !0)
|
|
3758
3764
|
]),
|
|
3759
3765
|
_: 1
|
|
3760
|
-
})) :
|
|
3766
|
+
})) : b("", !0);
|
|
3761
3767
|
}
|
|
3762
3768
|
}), sa = { class: "d-flex flex-grow-1 justify-end fill-height align-start" }, aa = {
|
|
3763
3769
|
key: "reset",
|
|
3764
3770
|
class: "align-self-end"
|
|
3765
|
-
}, ia = /* @__PURE__ */
|
|
3771
|
+
}, ia = /* @__PURE__ */ _({
|
|
3766
3772
|
__name: "VoUserColors",
|
|
3767
3773
|
setup(p) {
|
|
3768
|
-
const t =
|
|
3774
|
+
const t = E(), a = O(), o = P(), r = M(!1);
|
|
3769
3775
|
function u() {
|
|
3770
3776
|
o.one.colors.primary = "surface-light";
|
|
3771
3777
|
}
|
|
3772
3778
|
return (i, l) => {
|
|
3773
|
-
const d = na, f = oa,
|
|
3774
|
-
return c(),
|
|
3779
|
+
const d = na, f = oa, y = we;
|
|
3780
|
+
return c(), V(D, null, [
|
|
3775
3781
|
n(ae, {
|
|
3776
3782
|
color: e(t).user ? e(o).one.colors.primary : "surface-light",
|
|
3777
3783
|
"content-class": "d-flex align-start justify-end pa-2",
|
|
@@ -3781,13 +3787,13 @@ const at = /* @__PURE__ */ y({
|
|
|
3781
3787
|
rounded: "0"
|
|
3782
3788
|
}, {
|
|
3783
3789
|
default: s(() => [
|
|
3784
|
-
|
|
3790
|
+
g("div", sa, [
|
|
3785
3791
|
n(d),
|
|
3786
3792
|
n(f),
|
|
3787
3793
|
n(Qo, null, {
|
|
3788
3794
|
default: s(() => [
|
|
3789
|
-
|
|
3790
|
-
n(
|
|
3795
|
+
N(g("div", aa, [
|
|
3796
|
+
n(y, {
|
|
3791
3797
|
class: "ms-2 me-1",
|
|
3792
3798
|
color: "inherit",
|
|
3793
3799
|
density: "comfortable",
|
|
@@ -3803,7 +3809,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3803
3809
|
]),
|
|
3804
3810
|
_: 1
|
|
3805
3811
|
}),
|
|
3806
|
-
e(a).isSubscriber ? (c(), m(
|
|
3812
|
+
e(a).isSubscriber ? (c(), m(y, {
|
|
3807
3813
|
key: 0,
|
|
3808
3814
|
active: e(r),
|
|
3809
3815
|
class: "align-self-end",
|
|
@@ -3812,7 +3818,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3812
3818
|
icon: e(r) ? `svg:${e(ke)}` : "$edit",
|
|
3813
3819
|
title: "Edit One Header Color",
|
|
3814
3820
|
variant: e(r) ? "text" : "plain",
|
|
3815
|
-
onClick: l[0] || (l[0] = (
|
|
3821
|
+
onClick: l[0] || (l[0] = (v) => r.value = !e(r))
|
|
3816
3822
|
}, {
|
|
3817
3823
|
default: s(() => [
|
|
3818
3824
|
n(xe, { "leave-absolute": "" }, {
|
|
@@ -3825,7 +3831,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3825
3831
|
})
|
|
3826
3832
|
]),
|
|
3827
3833
|
_: 1
|
|
3828
|
-
}, 8, ["active", "icon", "variant"])) :
|
|
3834
|
+
}, 8, ["active", "icon", "variant"])) : b("", !0)
|
|
3829
3835
|
])
|
|
3830
3836
|
]),
|
|
3831
3837
|
_: 1
|
|
@@ -3844,18 +3850,18 @@ const at = /* @__PURE__ */ y({
|
|
|
3844
3850
|
"show-swatches": "",
|
|
3845
3851
|
"swatches-max-height": "200",
|
|
3846
3852
|
width: "278",
|
|
3847
|
-
"onUpdate:modelValue": l[1] || (l[1] = (
|
|
3848
|
-
}, null, 8, ["model-value"])) :
|
|
3853
|
+
"onUpdate:modelValue": l[1] || (l[1] = (v) => e(o).one.colors.primary = v)
|
|
3854
|
+
}, null, 8, ["model-value"])) : b("", !0)
|
|
3849
3855
|
]),
|
|
3850
3856
|
_: 1
|
|
3851
3857
|
})
|
|
3852
3858
|
], 64);
|
|
3853
3859
|
};
|
|
3854
3860
|
}
|
|
3855
|
-
}), ra = { class: "text-center mt-n9 mb-4" }, la = /* @__PURE__ */
|
|
3861
|
+
}), ra = { class: "text-center mt-n9 mb-4" }, la = /* @__PURE__ */ _({
|
|
3856
3862
|
__name: "VoUserMenu",
|
|
3857
3863
|
setup(p) {
|
|
3858
|
-
const t = Qe(), a = O(), o =
|
|
3864
|
+
const t = Qe(), a = O(), o = Z();
|
|
3859
3865
|
return H(() => t.banner, async () => {
|
|
3860
3866
|
await new Promise((r) => setTimeout(r, 300)), a.isOpen && o.value?.updateLocation?.();
|
|
3861
3867
|
}, { flush: "pre" }), (r, u) => {
|
|
@@ -3864,7 +3870,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3864
3870
|
ref_key: "menu",
|
|
3865
3871
|
ref: o,
|
|
3866
3872
|
modelValue: e(a).isOpen,
|
|
3867
|
-
"onUpdate:modelValue": u[0] || (u[0] = (
|
|
3873
|
+
"onUpdate:modelValue": u[0] || (u[0] = (y) => e(a).isOpen = y),
|
|
3868
3874
|
activator: "parent",
|
|
3869
3875
|
"close-on-click": !1,
|
|
3870
3876
|
"close-on-content-click": !1,
|
|
@@ -3879,12 +3885,12 @@ const at = /* @__PURE__ */ y({
|
|
|
3879
3885
|
}, {
|
|
3880
3886
|
default: s(() => [
|
|
3881
3887
|
n(i),
|
|
3882
|
-
|
|
3888
|
+
g("div", ra, [
|
|
3883
3889
|
n(l)
|
|
3884
3890
|
]),
|
|
3885
|
-
n(
|
|
3891
|
+
n(j),
|
|
3886
3892
|
n(d),
|
|
3887
|
-
n(
|
|
3893
|
+
n(j),
|
|
3888
3894
|
n(f)
|
|
3889
3895
|
]),
|
|
3890
3896
|
_: 1
|
|
@@ -3894,10 +3900,10 @@ const at = /* @__PURE__ */ y({
|
|
|
3894
3900
|
}, 8, ["modelValue"]);
|
|
3895
3901
|
};
|
|
3896
3902
|
}
|
|
3897
|
-
}), ua = { class: "me-n3" }, ca = /* @__PURE__ */
|
|
3903
|
+
}), ua = { class: "me-n3" }, ca = /* @__PURE__ */ _({
|
|
3898
3904
|
__name: "VoTeamInvite",
|
|
3899
3905
|
setup(p) {
|
|
3900
|
-
const t =
|
|
3906
|
+
const t = Ae(), a = C(() => t.team?.name ?? `${t.team?.owner.name}'s team`);
|
|
3901
3907
|
function o(r) {
|
|
3902
3908
|
t.clearTeamQuery(), r.value = !1;
|
|
3903
3909
|
}
|
|
@@ -3909,13 +3915,13 @@ const at = /* @__PURE__ */ y({
|
|
|
3909
3915
|
}, {
|
|
3910
3916
|
default: s(({ isActive: i }) => [
|
|
3911
3917
|
n(z, {
|
|
3912
|
-
"prepend-icon": `svg:${e(
|
|
3918
|
+
"prepend-icon": `svg:${e(jo)}`,
|
|
3913
3919
|
rounded: "lg",
|
|
3914
3920
|
title: "Join a Team"
|
|
3915
3921
|
}, {
|
|
3916
3922
|
append: s(() => [
|
|
3917
|
-
|
|
3918
|
-
n(
|
|
3923
|
+
g("div", ua, [
|
|
3924
|
+
n(A, {
|
|
3919
3925
|
icon: "$close",
|
|
3920
3926
|
size: "x-small",
|
|
3921
3927
|
variant: "text",
|
|
@@ -3925,14 +3931,14 @@ const at = /* @__PURE__ */ y({
|
|
|
3925
3931
|
]),
|
|
3926
3932
|
text: s(() => [
|
|
3927
3933
|
u[2] || (u[2] = S(" You have been invited to join ", -1)),
|
|
3928
|
-
|
|
3934
|
+
g("strong", null, $(e(a)), 1),
|
|
3929
3935
|
u[3] || (u[3] = S("! ", -1))
|
|
3930
3936
|
]),
|
|
3931
3937
|
default: s(() => [
|
|
3932
|
-
n(
|
|
3938
|
+
n(j, { opacity: ".2" }),
|
|
3933
3939
|
n(ht, { class: "bg-surface-light" }, {
|
|
3934
3940
|
default: s(() => [
|
|
3935
|
-
n(
|
|
3941
|
+
n(A, {
|
|
3936
3942
|
disabled: e(t).isLoading,
|
|
3937
3943
|
rounded: "lg",
|
|
3938
3944
|
text: "Cancel",
|
|
@@ -3940,7 +3946,7 @@ const at = /* @__PURE__ */ y({
|
|
|
3940
3946
|
onClick: (l) => o(i)
|
|
3941
3947
|
}, null, 8, ["disabled", "onClick"]),
|
|
3942
3948
|
n(bt),
|
|
3943
|
-
n(
|
|
3949
|
+
n(A, {
|
|
3944
3950
|
"append-icon": "$success",
|
|
3945
3951
|
color: "success",
|
|
3946
3952
|
disabled: e(t).isLoading,
|
|
@@ -3957,31 +3963,31 @@ const at = /* @__PURE__ */ y({
|
|
|
3957
3963
|
}, 1032, ["prepend-icon"])
|
|
3958
3964
|
]),
|
|
3959
3965
|
_: 1
|
|
3960
|
-
}, 8, ["modelValue"])) :
|
|
3966
|
+
}, 8, ["modelValue"])) : b("", !0);
|
|
3961
3967
|
}
|
|
3962
|
-
}), da = { key: 0 }, Bt = /* @__PURE__ */
|
|
3968
|
+
}), da = { key: 0 }, Bt = /* @__PURE__ */ _({
|
|
3963
3969
|
__name: "VoAuthBtn",
|
|
3964
3970
|
props: {
|
|
3965
3971
|
external: Boolean
|
|
3966
3972
|
},
|
|
3967
3973
|
setup(p) {
|
|
3968
|
-
const t =
|
|
3969
|
-
function
|
|
3974
|
+
const t = E(), a = Fe(), o = O(), r = P(), { 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), y = ge(() => !!t.user && (d.value || f.value)), v = ge(() => f.value ? "success" : "error");
|
|
3975
|
+
function h() {
|
|
3970
3976
|
t.user || (t.dialog = !0);
|
|
3971
3977
|
}
|
|
3972
|
-
return (
|
|
3973
|
-
const
|
|
3974
|
-
return c(),
|
|
3978
|
+
return (k, x) => {
|
|
3979
|
+
const T = la, B = we, L = Tt, pe = vn;
|
|
3980
|
+
return c(), V(D, null, [
|
|
3975
3981
|
n(Ye, {
|
|
3976
|
-
color: e(
|
|
3982
|
+
color: e(v),
|
|
3977
3983
|
dot: "",
|
|
3978
3984
|
location: "end top",
|
|
3979
|
-
"model-value": e(
|
|
3985
|
+
"model-value": e(y),
|
|
3980
3986
|
"offset-x": e(t).user ? -2 : 0,
|
|
3981
3987
|
"offset-y": e(t).user ? 5 : 0
|
|
3982
3988
|
}, {
|
|
3983
3989
|
default: s(() => [
|
|
3984
|
-
n(
|
|
3990
|
+
n(B, q({
|
|
3985
3991
|
[`${e(u) ? "append-" : ""}icon`]: e(t).user ? void 0 : `svg:${e(nt)}`
|
|
3986
3992
|
}, {
|
|
3987
3993
|
active: "",
|
|
@@ -3993,26 +3999,26 @@ const at = /* @__PURE__ */ y({
|
|
|
3993
3999
|
size: e(i) ? "default" : "small",
|
|
3994
4000
|
style: { transition: ".2s ease" },
|
|
3995
4001
|
variant: e(t).user ? e(o).isOpen ? "outlined" : "text" : "flat",
|
|
3996
|
-
onClick:
|
|
4002
|
+
onClick: h
|
|
3997
4003
|
}), {
|
|
3998
4004
|
default: s(() => [
|
|
3999
4005
|
e(t).user ? (c(), m(oe, {
|
|
4000
4006
|
key: 0,
|
|
4001
4007
|
image: e(r).one.avatar || e(t).user.picture || ""
|
|
4002
|
-
}, null, 8, ["image"])) : (c(),
|
|
4003
|
-
e(i) ? (c(),
|
|
4008
|
+
}, null, 8, ["image"])) : (c(), V(D, { key: 1 }, [
|
|
4009
|
+
e(i) ? (c(), V("span", da, "Login")) : (c(), m(I, {
|
|
4004
4010
|
key: 1,
|
|
4005
4011
|
icon: `svg:${e(nt)}`
|
|
4006
4012
|
}, null, 8, ["icon"]))
|
|
4007
4013
|
], 64)),
|
|
4008
|
-
e(t).user ? (c(), m(
|
|
4014
|
+
e(t).user ? (c(), m(T, { key: 2 })) : b("", !0)
|
|
4009
4015
|
]),
|
|
4010
4016
|
_: 1
|
|
4011
4017
|
}, 16, ["border", "color", "icon", "loading", "size", "variant"])
|
|
4012
4018
|
]),
|
|
4013
4019
|
_: 1
|
|
4014
4020
|
}, 8, ["color", "model-value", "offset-x", "offset-y"]),
|
|
4015
|
-
n(
|
|
4021
|
+
n(L),
|
|
4016
4022
|
n(ca),
|
|
4017
4023
|
n(pe)
|
|
4018
4024
|
], 64);
|
|
@@ -4024,7 +4030,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4024
4030
|
}, ma = { class: "text-h6 mb-3" }, fa = {
|
|
4025
4031
|
key: 3,
|
|
4026
4032
|
class: "mt-2"
|
|
4027
|
-
}, va = { class: "mt-2" }, ga = /* @__PURE__ */
|
|
4033
|
+
}, va = { class: "mt-2" }, ga = /* @__PURE__ */ _({
|
|
4028
4034
|
__name: "VoMobileMenu",
|
|
4029
4035
|
props: {
|
|
4030
4036
|
modelValue: { type: Boolean },
|
|
@@ -4032,7 +4038,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4032
4038
|
},
|
|
4033
4039
|
emits: ["update:modelValue"],
|
|
4034
4040
|
setup(p) {
|
|
4035
|
-
const t =
|
|
4041
|
+
const t = K(p, "modelValue"), a = ut();
|
|
4036
4042
|
return (o, r) => (c(), m(Pe, {
|
|
4037
4043
|
modelValue: t.value,
|
|
4038
4044
|
"onUpdate:modelValue": r[0] || (r[0] = (u) => t.value = u),
|
|
@@ -4042,8 +4048,8 @@ const at = /* @__PURE__ */ y({
|
|
|
4042
4048
|
}, {
|
|
4043
4049
|
activator: s(({ props: u }) => [
|
|
4044
4050
|
w(o.$slots, "activator", ct(dt(u)), () => [
|
|
4045
|
-
n(
|
|
4046
|
-
icon: `svg:${e(
|
|
4051
|
+
n(A, q(u, {
|
|
4052
|
+
icon: `svg:${e(Ho)}`,
|
|
4047
4053
|
size: "small"
|
|
4048
4054
|
}), null, 16, ["icon"])
|
|
4049
4055
|
])
|
|
@@ -4054,28 +4060,28 @@ const at = /* @__PURE__ */ y({
|
|
|
4054
4060
|
rounded: "lg"
|
|
4055
4061
|
}, {
|
|
4056
4062
|
default: s(() => [
|
|
4057
|
-
a.prepend ? (c(),
|
|
4063
|
+
a.prepend ? (c(), V("div", pa, [
|
|
4058
4064
|
w(o.$slots, "prepend")
|
|
4059
|
-
])) :
|
|
4060
|
-
a.title ? (c(),
|
|
4061
|
-
a.prepend ? (c(), m(
|
|
4065
|
+
])) : b("", !0),
|
|
4066
|
+
a.title ? (c(), V(D, { key: 1 }, [
|
|
4067
|
+
a.prepend ? (c(), m(j, {
|
|
4062
4068
|
key: 0,
|
|
4063
4069
|
class: "mb-3"
|
|
4064
|
-
})) :
|
|
4065
|
-
|
|
4070
|
+
})) : b("", !0),
|
|
4071
|
+
g("div", ma, [
|
|
4066
4072
|
w(o.$slots, "title")
|
|
4067
4073
|
])
|
|
4068
|
-
], 64)) :
|
|
4069
|
-
a.default ? w(o.$slots, "default", { key: 2 }) :
|
|
4070
|
-
a.extension ? (c(),
|
|
4074
|
+
], 64)) : b("", !0),
|
|
4075
|
+
a.default ? w(o.$slots, "default", { key: 2 }) : b("", !0),
|
|
4076
|
+
a.extension ? (c(), V("div", fa, [
|
|
4071
4077
|
w(o.$slots, "extension")
|
|
4072
|
-
])) :
|
|
4073
|
-
a.append ? (c(),
|
|
4074
|
-
n(
|
|
4075
|
-
|
|
4078
|
+
])) : b("", !0),
|
|
4079
|
+
a.append ? (c(), V(D, { key: 4 }, [
|
|
4080
|
+
n(j, { class: "my-3" }),
|
|
4081
|
+
g("div", va, [
|
|
4076
4082
|
w(o.$slots, "append")
|
|
4077
4083
|
])
|
|
4078
|
-
], 64)) :
|
|
4084
|
+
], 64)) : b("", !0)
|
|
4079
4085
|
]),
|
|
4080
4086
|
_: 3
|
|
4081
4087
|
})
|
|
@@ -4083,7 +4089,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4083
4089
|
_: 3
|
|
4084
4090
|
}, 8, ["modelValue"]));
|
|
4085
4091
|
}
|
|
4086
|
-
}), _a = /* @__PURE__ */
|
|
4092
|
+
}), _a = /* @__PURE__ */ _({
|
|
4087
4093
|
__name: "VoAppBar",
|
|
4088
4094
|
props: /* @__PURE__ */ rt({
|
|
4089
4095
|
logo: {},
|
|
@@ -4094,16 +4100,16 @@ const at = /* @__PURE__ */ y({
|
|
|
4094
4100
|
}),
|
|
4095
4101
|
emits: ["update:mobileMenu"],
|
|
4096
4102
|
setup(p) {
|
|
4097
|
-
const t = p, a =
|
|
4098
|
-
return (f,
|
|
4099
|
-
const
|
|
4103
|
+
const t = p, a = K(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`);
|
|
4104
|
+
return (f, y) => {
|
|
4105
|
+
const v = lt("router-link"), h = ga, k = Bt;
|
|
4100
4106
|
return c(), m(Lt, {
|
|
4101
4107
|
class: "border-b",
|
|
4102
4108
|
image: e(u).suit["app-bar"],
|
|
4103
4109
|
name: "vo-app-bar"
|
|
4104
|
-
},
|
|
4110
|
+
}, U({
|
|
4105
4111
|
prepend: s(() => [
|
|
4106
|
-
n(
|
|
4112
|
+
n(v, {
|
|
4107
4113
|
class: "ps-2 ps-md-5",
|
|
4108
4114
|
to: "/"
|
|
4109
4115
|
}, {
|
|
@@ -4116,38 +4122,38 @@ const at = /* @__PURE__ */ y({
|
|
|
4116
4122
|
_: 1
|
|
4117
4123
|
}),
|
|
4118
4124
|
w(f.$slots, "prepend-fixed"),
|
|
4119
|
-
e(l) ?
|
|
4125
|
+
e(l) ? b("", !0) : w(f.$slots, "prepend", { key: 0 })
|
|
4120
4126
|
]),
|
|
4121
4127
|
append: s(() => [
|
|
4122
4128
|
w(f.$slots, "append-fixed"),
|
|
4123
|
-
e(l) ? (c(), m(
|
|
4129
|
+
e(l) ? (c(), m(h, {
|
|
4124
4130
|
key: 0,
|
|
4125
4131
|
modelValue: a.value,
|
|
4126
|
-
"onUpdate:modelValue":
|
|
4127
|
-
},
|
|
4128
|
-
activator: s((
|
|
4129
|
-
w(f.$slots, "menu-activator", ct(dt(
|
|
4132
|
+
"onUpdate:modelValue": y[0] || (y[0] = (x) => a.value = x)
|
|
4133
|
+
}, U({
|
|
4134
|
+
activator: s((x) => [
|
|
4135
|
+
w(f.$slots, "menu-activator", ct(dt(x)))
|
|
4130
4136
|
]),
|
|
4131
4137
|
_: 2
|
|
4132
4138
|
}, [
|
|
4133
|
-
|
|
4134
|
-
name:
|
|
4139
|
+
Y(o, (x, T) => ({
|
|
4140
|
+
name: T,
|
|
4135
4141
|
fn: s(() => [
|
|
4136
|
-
w(f.$slots,
|
|
4142
|
+
w(f.$slots, T)
|
|
4137
4143
|
])
|
|
4138
4144
|
}))
|
|
4139
4145
|
]), 1032, ["modelValue"])) : w(f.$slots, "append", { key: 1 }),
|
|
4140
|
-
"append" in o || "append-fixed" in o ? (c(), m(
|
|
4146
|
+
"append" in o || "append-fixed" in o ? (c(), m(j, {
|
|
4141
4147
|
key: 2,
|
|
4142
4148
|
class: "align-self-center h-100 mx-2 mx-sm-4",
|
|
4143
4149
|
length: "20",
|
|
4144
4150
|
vertical: ""
|
|
4145
|
-
})) :
|
|
4146
|
-
n(
|
|
4147
|
-
|
|
4151
|
+
})) : b("", !0),
|
|
4152
|
+
n(k),
|
|
4153
|
+
y[1] || (y[1] = g("div", { class: "pe-md-3" }, null, -1))
|
|
4148
4154
|
]),
|
|
4149
4155
|
default: s(() => [
|
|
4150
|
-
e(l) ?
|
|
4156
|
+
e(l) ? b("", !0) : w(f.$slots, "default", { key: 0 })
|
|
4151
4157
|
]),
|
|
4152
4158
|
_: 2
|
|
4153
4159
|
}, [
|
|
@@ -4168,7 +4174,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4168
4174
|
]), 1032, ["image"]);
|
|
4169
4175
|
};
|
|
4170
4176
|
}
|
|
4171
|
-
}), ya = ["id"], ha = /* @__PURE__ */
|
|
4177
|
+
}), ya = ["id"], ha = /* @__PURE__ */ _({
|
|
4172
4178
|
__name: "VoScript",
|
|
4173
4179
|
props: {
|
|
4174
4180
|
id: {
|
|
@@ -4186,15 +4192,15 @@ const at = /* @__PURE__ */ y({
|
|
|
4186
4192
|
},
|
|
4187
4193
|
emits: ["script:error", "script:load"],
|
|
4188
4194
|
setup(p, { emit: t }) {
|
|
4189
|
-
const a = p, o = t, r =
|
|
4190
|
-
return
|
|
4195
|
+
const a = p, o = t, r = Z(), u = Z();
|
|
4196
|
+
return He(async () => {
|
|
4191
4197
|
const i = document.createElement("script"), l = () => o("script:error");
|
|
4192
4198
|
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
|
-
}),
|
|
4199
|
+
}), De(() => {
|
|
4194
4200
|
u.value && r.value && r.value.append(u.value);
|
|
4195
4201
|
}), qt(() => {
|
|
4196
4202
|
u.value && r.value && u.value.remove();
|
|
4197
|
-
}), (i, l) => (c(),
|
|
4203
|
+
}), (i, l) => (c(), V("div", {
|
|
4198
4204
|
id: p.id,
|
|
4199
4205
|
ref_key: "rootEl",
|
|
4200
4206
|
ref: r
|
|
@@ -4203,7 +4209,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4203
4209
|
}), ba = {
|
|
4204
4210
|
key: 0,
|
|
4205
4211
|
class: "v-footer__image"
|
|
4206
|
-
}, Ca = /* @__PURE__ */
|
|
4212
|
+
}, Ca = /* @__PURE__ */ _({
|
|
4207
4213
|
__name: "VoFooter",
|
|
4208
4214
|
props: {
|
|
4209
4215
|
image: {}
|
|
@@ -4214,14 +4220,14 @@ const at = /* @__PURE__ */ y({
|
|
|
4214
4220
|
height: "40"
|
|
4215
4221
|
}, {
|
|
4216
4222
|
default: s(() => [
|
|
4217
|
-
t.image || t.$slots.image ? (c(),
|
|
4223
|
+
t.image || t.$slots.image ? (c(), V("div", ba, [
|
|
4218
4224
|
t.$slots.image ? w(t.$slots, "image", { key: 0 }, void 0, !0) : (c(), m(ae, {
|
|
4219
4225
|
key: 1,
|
|
4220
4226
|
cover: "",
|
|
4221
4227
|
position: "left",
|
|
4222
4228
|
src: t.image
|
|
4223
4229
|
}, null, 8, ["src"]))
|
|
4224
|
-
])) :
|
|
4230
|
+
])) : b("", !0),
|
|
4225
4231
|
w(t.$slots, "default", {}, void 0, !0)
|
|
4226
4232
|
]),
|
|
4227
4233
|
_: 3
|
|
@@ -4235,7 +4241,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4235
4241
|
}, Et = /* @__PURE__ */ Xe(Ca, [["__scopeId", "data-v-31335c0a"]]), ka = ["href", "title"], Va = {
|
|
4236
4242
|
class: "text-caption text-disabled",
|
|
4237
4243
|
style: { position: "absolute", right: "16px" }
|
|
4238
|
-
}, $a = /* @__PURE__ */
|
|
4244
|
+
}, $a = /* @__PURE__ */ _({
|
|
4239
4245
|
__name: "VoSocialFooter",
|
|
4240
4246
|
setup(p) {
|
|
4241
4247
|
const t = Oe(), a = [
|
|
@@ -4276,9 +4282,9 @@ const at = /* @__PURE__ */ y({
|
|
|
4276
4282
|
class: "vo-footer",
|
|
4277
4283
|
height: "40",
|
|
4278
4284
|
image: e(t).suit.footer
|
|
4279
|
-
},
|
|
4285
|
+
}, U({
|
|
4280
4286
|
default: s(() => [
|
|
4281
|
-
(c(),
|
|
4287
|
+
(c(), V(D, null, Y(a, (i) => g("a", {
|
|
4282
4288
|
key: i.title,
|
|
4283
4289
|
class: "d-inline-block mx-2 social-link",
|
|
4284
4290
|
href: i.href,
|
|
@@ -4291,9 +4297,9 @@ const at = /* @__PURE__ */ y({
|
|
|
4291
4297
|
size: i.icon === "$vuetify" ? 24 : 16
|
|
4292
4298
|
}, null, 8, ["icon", "size"])
|
|
4293
4299
|
], 8, ka)), 64)),
|
|
4294
|
-
|
|
4295
|
-
S(" © 2016-" +
|
|
4296
|
-
r[0] || (r[0] =
|
|
4300
|
+
g("div", Va, [
|
|
4301
|
+
S(" © 2016-" + $((/* @__PURE__ */ new Date()).getFullYear()) + " ", 1),
|
|
4302
|
+
r[0] || (r[0] = g("span", { class: "d-none d-sm-inline-block" }, "Vuetify, LLC", -1))
|
|
4297
4303
|
])
|
|
4298
4304
|
]),
|
|
4299
4305
|
_: 2
|
|
@@ -4308,69 +4314,69 @@ const at = /* @__PURE__ */ y({
|
|
|
4308
4314
|
]), 1032, ["image"]);
|
|
4309
4315
|
};
|
|
4310
4316
|
}
|
|
4311
|
-
}), xa = /* @__PURE__ */ Xe($a, [["__scopeId", "data-v-7a9688b8"]]), La = /* @__PURE__ */
|
|
4317
|
+
}), xa = /* @__PURE__ */ Xe($a, [["__scopeId", "data-v-7a9688b8"]]), La = /* @__PURE__ */ _({
|
|
4312
4318
|
__name: "VoNotificationsBanner",
|
|
4313
4319
|
props: {
|
|
4314
4320
|
demo: { type: Boolean }
|
|
4315
4321
|
},
|
|
4316
4322
|
setup(p) {
|
|
4317
|
-
Gt((
|
|
4318
|
-
"
|
|
4323
|
+
Gt((k) => ({
|
|
4324
|
+
"043a97ed": e(i)?.metadata.bg_blur
|
|
4319
4325
|
}));
|
|
4320
|
-
const t = p, { mdAndUp: a } = ie(), o = mn(), r =
|
|
4321
|
-
|
|
4326
|
+
const t = p, { mdAndUp: a } = ie(), o = mn(), r = P(), u = Qe();
|
|
4327
|
+
De(() => {
|
|
4322
4328
|
u.index();
|
|
4323
4329
|
});
|
|
4324
4330
|
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));
|
|
4325
4331
|
function f() {
|
|
4326
4332
|
t.demo || i.value && (r.one.banners.read.push(i.value.slug), r.one.banners.last = (/* @__PURE__ */ new Date()).toISOString());
|
|
4327
4333
|
}
|
|
4328
|
-
async function
|
|
4334
|
+
async function y(k) {
|
|
4329
4335
|
if (!i.value) return;
|
|
4330
4336
|
r.one.banners.last = (/* @__PURE__ */ new Date()).toISOString();
|
|
4331
|
-
const
|
|
4332
|
-
if (!
|
|
4333
|
-
|
|
4334
|
-
const
|
|
4335
|
-
o.push({ query: { one:
|
|
4337
|
+
const x = i.value?.metadata ?? { link: "" };
|
|
4338
|
+
if (!x.link.includes("?one=")) return;
|
|
4339
|
+
k.preventDefault(), k.stopPropagation();
|
|
4340
|
+
const T = x.link.split("?one=")[1];
|
|
4341
|
+
o.push({ query: { one: T } });
|
|
4336
4342
|
}
|
|
4337
|
-
const
|
|
4338
|
-
const
|
|
4343
|
+
const v = C(() => {
|
|
4344
|
+
const k = i.value?.metadata ?? { link: "" };
|
|
4339
4345
|
return {
|
|
4340
|
-
href:
|
|
4341
|
-
target:
|
|
4342
|
-
to:
|
|
4346
|
+
href: k.link.startsWith("http") ? k.link : void 0,
|
|
4347
|
+
target: k.link.startsWith("http") ? "_blank" : void 0,
|
|
4348
|
+
to: k.link.startsWith("http") ? void 0 : k.link,
|
|
4343
4349
|
...i.value?.metadata.attributes
|
|
4344
4350
|
};
|
|
4345
|
-
}),
|
|
4346
|
-
const
|
|
4347
|
-
if (
|
|
4348
|
-
const
|
|
4349
|
-
return
|
|
4351
|
+
}), h = C(() => {
|
|
4352
|
+
const k = i.value?.metadata.images.bg?.url;
|
|
4353
|
+
if (!k?.startsWith("https://cdn.cosmicjs.com/")) return k;
|
|
4354
|
+
const x = new URL(k);
|
|
4355
|
+
return x.host = "imgix.cosmicjs.com", x.search = new URLSearchParams({
|
|
4350
4356
|
auto: "format,compress",
|
|
4351
4357
|
q: "10",
|
|
4352
4358
|
fit: "crop",
|
|
4353
4359
|
w: "4096",
|
|
4354
4360
|
h: "256"
|
|
4355
|
-
}).toString(),
|
|
4361
|
+
}).toString(), x.toString();
|
|
4356
4362
|
});
|
|
4357
|
-
return (
|
|
4363
|
+
return (k, x) => e(i) ? (c(), m(Lt, {
|
|
4358
4364
|
key: 0,
|
|
4359
4365
|
class: "vo-notifications-banner",
|
|
4360
4366
|
color: e(i).metadata.color,
|
|
4361
4367
|
flat: "",
|
|
4362
4368
|
height: e(l),
|
|
4363
|
-
image: e(
|
|
4364
|
-
location:
|
|
4369
|
+
image: e(h),
|
|
4370
|
+
location: k.demo ? "bottom" : void 0,
|
|
4365
4371
|
"model-value": e(d),
|
|
4366
4372
|
order: "-1"
|
|
4367
4373
|
}, {
|
|
4368
4374
|
default: s(() => [
|
|
4369
|
-
n(se,
|
|
4375
|
+
n(se, q({
|
|
4370
4376
|
active: !1,
|
|
4371
4377
|
class: "flex-grow-1 py-6",
|
|
4372
4378
|
lines: "two"
|
|
4373
|
-
}, e(
|
|
4379
|
+
}, e(v), { onClick: y }), {
|
|
4374
4380
|
prepend: s(() => [
|
|
4375
4381
|
e(i).metadata.images.logo ? (c(), m(oe, {
|
|
4376
4382
|
key: 0,
|
|
@@ -4379,33 +4385,33 @@ const at = /* @__PURE__ */ y({
|
|
|
4379
4385
|
size: "x-large",
|
|
4380
4386
|
tile: "",
|
|
4381
4387
|
variant: "text"
|
|
4382
|
-
}, null, 8, ["image"])) :
|
|
4388
|
+
}, null, 8, ["image"])) : b("", !0)
|
|
4383
4389
|
]),
|
|
4384
4390
|
append: s(() => [
|
|
4385
4391
|
e(a) && e(i).metadata.link && e(i).metadata.link_text ? (c(), m(ve, { key: 0 }, {
|
|
4386
|
-
default: s(({ isHovering:
|
|
4387
|
-
n(
|
|
4392
|
+
default: s(({ isHovering: T, props: B }) => [
|
|
4393
|
+
n(A, q({
|
|
4388
4394
|
"append-icon": `svg:${e(Te)}`,
|
|
4389
|
-
class: "text-none me-2",
|
|
4395
|
+
class: "text-none ms-4 me-2",
|
|
4390
4396
|
color: e(i).metadata.link_color,
|
|
4391
|
-
elevation:
|
|
4397
|
+
elevation: T ? 8 : 0,
|
|
4392
4398
|
title: e(i).metadata.link_text
|
|
4393
4399
|
}, {
|
|
4394
|
-
...
|
|
4395
|
-
...e(
|
|
4400
|
+
...B,
|
|
4401
|
+
...e(v)
|
|
4396
4402
|
}, {
|
|
4397
4403
|
variant: "elevated",
|
|
4398
|
-
onClick: ye(
|
|
4404
|
+
onClick: ye(y, ["stop"])
|
|
4399
4405
|
}), {
|
|
4400
4406
|
default: s(() => [
|
|
4401
|
-
S(
|
|
4407
|
+
S($(e(i).metadata.link_text), 1)
|
|
4402
4408
|
]),
|
|
4403
4409
|
_: 1
|
|
4404
4410
|
}, 16, ["append-icon", "color", "elevation", "title"])
|
|
4405
4411
|
]),
|
|
4406
4412
|
_: 1
|
|
4407
|
-
})) :
|
|
4408
|
-
e(i).metadata.closable ? (c(), m(
|
|
4413
|
+
})) : b("", !0),
|
|
4414
|
+
e(i).metadata.closable ? (c(), m(A, {
|
|
4409
4415
|
key: 1,
|
|
4410
4416
|
class: "ms-6 me-2",
|
|
4411
4417
|
density: "comfortable",
|
|
@@ -4413,7 +4419,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4413
4419
|
size: "small",
|
|
4414
4420
|
variant: "plain",
|
|
4415
4421
|
onClick: ye(f, ["prevent", "stop"])
|
|
4416
|
-
})) :
|
|
4422
|
+
})) : b("", !0)
|
|
4417
4423
|
]),
|
|
4418
4424
|
default: s(() => [
|
|
4419
4425
|
e(i).metadata.text ? (c(), m(yt, {
|
|
@@ -4421,28 +4427,28 @@ const at = /* @__PURE__ */ y({
|
|
|
4421
4427
|
class: "text-subtitle-2 text-md-subtitle-1 font-weight-medium"
|
|
4422
4428
|
}, {
|
|
4423
4429
|
default: s(() => [
|
|
4424
|
-
S(
|
|
4430
|
+
S($(e(i).metadata.text), 1)
|
|
4425
4431
|
]),
|
|
4426
4432
|
_: 1
|
|
4427
|
-
})) :
|
|
4433
|
+
})) : b("", !0),
|
|
4428
4434
|
e(i).metadata.subtext ? (c(), m(Go, { key: 1 }, {
|
|
4429
4435
|
default: s(() => [
|
|
4430
|
-
S(
|
|
4436
|
+
S($(e(i).metadata.subtext), 1)
|
|
4431
4437
|
]),
|
|
4432
4438
|
_: 1
|
|
4433
|
-
})) :
|
|
4439
|
+
})) : b("", !0)
|
|
4434
4440
|
]),
|
|
4435
4441
|
_: 1
|
|
4436
4442
|
}, 16)
|
|
4437
4443
|
]),
|
|
4438
4444
|
_: 1
|
|
4439
|
-
}, 8, ["color", "height", "image", "location", "model-value"])) :
|
|
4445
|
+
}, 8, ["color", "height", "image", "location", "model-value"])) : b("", !0);
|
|
4440
4446
|
}
|
|
4441
|
-
}), wa = /* @__PURE__ */ Xe(La, [["__scopeId", "data-v-
|
|
4447
|
+
}), wa = /* @__PURE__ */ Xe(La, [["__scopeId", "data-v-686192bf"]]), Sa = {
|
|
4442
4448
|
key: 0,
|
|
4443
4449
|
class: "text-uppercase position-absolute ms-auto font-weight-medium on-surface-light",
|
|
4444
4450
|
style: { right: "12px", bottom: "8px", "font-size": "10px" }
|
|
4445
|
-
}, Ft = /* @__PURE__ */
|
|
4451
|
+
}, Ft = /* @__PURE__ */ _({
|
|
4446
4452
|
__name: "VoPromotionsCard",
|
|
4447
4453
|
props: {
|
|
4448
4454
|
caption: {},
|
|
@@ -4456,7 +4462,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4456
4462
|
rel: "noopener",
|
|
4457
4463
|
rounded: "",
|
|
4458
4464
|
target: "_blank"
|
|
4459
|
-
},
|
|
4465
|
+
}, U({
|
|
4460
4466
|
default: s(() => [
|
|
4461
4467
|
n(fn, {
|
|
4462
4468
|
"min-height": t.minHeight,
|
|
@@ -4467,7 +4473,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4467
4473
|
]),
|
|
4468
4474
|
_: 3
|
|
4469
4475
|
}, 8, ["min-height"]),
|
|
4470
|
-
t.caption ? (c(),
|
|
4476
|
+
t.caption ? (c(), V("div", Sa, $(t.caption), 1)) : b("", !0)
|
|
4471
4477
|
]),
|
|
4472
4478
|
_: 2
|
|
4473
4479
|
}, [
|
|
@@ -4487,11 +4493,11 @@ const at = /* @__PURE__ */ y({
|
|
|
4487
4493
|
} : void 0
|
|
4488
4494
|
]), 1024));
|
|
4489
4495
|
}
|
|
4490
|
-
}), Je =
|
|
4491
|
-
const p =
|
|
4492
|
-
|
|
4496
|
+
}), Je = G("promotions", () => {
|
|
4497
|
+
const p = Q(), t = ee(), a = Z([]), o = M(!1), r = M(!1), u = C(() => a.value.filter((d) => d.metadata.discoverable));
|
|
4498
|
+
He(l);
|
|
4493
4499
|
function i(d) {
|
|
4494
|
-
const f = d.filter((
|
|
4500
|
+
const f = d.filter((y) => y.metadata.active);
|
|
4495
4501
|
return f[Math.floor(Math.random() * f.length)];
|
|
4496
4502
|
}
|
|
4497
4503
|
async function l() {
|
|
@@ -4514,13 +4520,13 @@ const at = /* @__PURE__ */ y({
|
|
|
4514
4520
|
index: l,
|
|
4515
4521
|
random: i
|
|
4516
4522
|
};
|
|
4517
|
-
}), Ma = /* @__PURE__ */
|
|
4523
|
+
}), Ma = /* @__PURE__ */ _({
|
|
4518
4524
|
__name: "VoPromotionsCardHighlight",
|
|
4519
4525
|
props: {
|
|
4520
4526
|
slug: {}
|
|
4521
4527
|
},
|
|
4522
4528
|
setup(p) {
|
|
4523
|
-
const t = p, a =
|
|
4529
|
+
const t = p, a = E(), o = Je(), r = Ue(), u = P(), i = C(() => {
|
|
4524
4530
|
if (!(a.user && !u.one.ads.enabled))
|
|
4525
4531
|
return t.slug ? o.all.find((f) => f.slug === t.slug) : o.random(o.all);
|
|
4526
4532
|
}), l = C(() => {
|
|
@@ -4530,9 +4536,9 @@ const at = /* @__PURE__ */ y({
|
|
|
4530
4536
|
const f = r.current.value.dark ? "bgdark" : "bglight";
|
|
4531
4537
|
return i.value?.metadata.images[f]?.url;
|
|
4532
4538
|
});
|
|
4533
|
-
return (f,
|
|
4534
|
-
const
|
|
4535
|
-
return e(i) || !e(o).hasLoaded ? (c(), m(
|
|
4539
|
+
return (f, y) => {
|
|
4540
|
+
const v = Ft;
|
|
4541
|
+
return e(i) || !e(o).hasLoaded ? (c(), m(v, {
|
|
4536
4542
|
key: 0,
|
|
4537
4543
|
class: "vo-promotions-card-highlight",
|
|
4538
4544
|
color: e(i)?.metadata.color ?? "surface",
|
|
@@ -4543,9 +4549,9 @@ const at = /* @__PURE__ */ y({
|
|
|
4543
4549
|
"prepend-avatar": e(l),
|
|
4544
4550
|
title: e(i)?.metadata.short_text,
|
|
4545
4551
|
width: "100%"
|
|
4546
|
-
},
|
|
4552
|
+
}, U({
|
|
4547
4553
|
default: s(() => [
|
|
4548
|
-
e(o).hasLoaded ?
|
|
4554
|
+
e(o).hasLoaded ? b("", !0) : (c(), m(he, {
|
|
4549
4555
|
key: 0,
|
|
4550
4556
|
class: "flex-1-0 overflow-hidden",
|
|
4551
4557
|
color: "transparent",
|
|
@@ -4574,16 +4580,16 @@ const at = /* @__PURE__ */ y({
|
|
|
4574
4580
|
]),
|
|
4575
4581
|
key: "1"
|
|
4576
4582
|
} : void 0
|
|
4577
|
-
]), 1032, ["color", "href", "image", "prepend-avatar", "title"])) :
|
|
4583
|
+
]), 1032, ["color", "href", "image", "prepend-avatar", "title"])) : b("", !0);
|
|
4578
4584
|
};
|
|
4579
4585
|
}
|
|
4580
|
-
}), Ia = { class: "d-flex ga-4" },
|
|
4586
|
+
}), Ia = { class: "d-flex ga-4" }, Da = { class: "d-flex align-start ga-4" }, Aa = { class: "text-caption on-surface-light" }, Ta = /* @__PURE__ */ _({
|
|
4581
4587
|
__name: "VoPromotionsCardVuetify",
|
|
4582
4588
|
props: {
|
|
4583
4589
|
slug: {}
|
|
4584
4590
|
},
|
|
4585
4591
|
setup(p) {
|
|
4586
|
-
const t = p, a =
|
|
4592
|
+
const t = p, a = E(), o = Je(), r = P(), u = C(() => {
|
|
4587
4593
|
if (!(a.user && !r.one.ads.enabled && !r.one.ads.house))
|
|
4588
4594
|
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);
|
|
4589
4595
|
});
|
|
@@ -4598,8 +4604,8 @@ const at = /* @__PURE__ */ y({
|
|
|
4598
4604
|
width: "360"
|
|
4599
4605
|
}, {
|
|
4600
4606
|
default: s(() => [
|
|
4601
|
-
|
|
4602
|
-
e(o).hasLoaded ? e(u) ? (c(),
|
|
4607
|
+
g("div", Ia, [
|
|
4608
|
+
e(o).hasLoaded ? e(u) ? (c(), V(D, { key: 1 }, [
|
|
4603
4609
|
n(ae, {
|
|
4604
4610
|
cover: "",
|
|
4605
4611
|
height: "100",
|
|
@@ -4609,10 +4615,10 @@ const at = /* @__PURE__ */ y({
|
|
|
4609
4615
|
src: e(u).metadata?.images.default?.url,
|
|
4610
4616
|
width: "100%"
|
|
4611
4617
|
}, null, 8, ["src"]),
|
|
4612
|
-
|
|
4613
|
-
|
|
4618
|
+
g("div", Da, [
|
|
4619
|
+
g("div", Aa, $(e(u).metadata?.text), 1)
|
|
4614
4620
|
])
|
|
4615
|
-
], 64)) :
|
|
4621
|
+
], 64)) : b("", !0) : (c(), V(D, { key: 0 }, [
|
|
4616
4622
|
n(he, {
|
|
4617
4623
|
class: "flex-1-0 overflow-hidden",
|
|
4618
4624
|
color: "transparent",
|
|
@@ -4632,16 +4638,16 @@ const at = /* @__PURE__ */ y({
|
|
|
4632
4638
|
])
|
|
4633
4639
|
]),
|
|
4634
4640
|
_: 1
|
|
4635
|
-
}, 8, ["href"])) :
|
|
4641
|
+
}, 8, ["href"])) : b("", !0);
|
|
4636
4642
|
};
|
|
4637
4643
|
}
|
|
4638
|
-
}), Ua = ["href"], Pa = /* @__PURE__ */
|
|
4644
|
+
}), Ua = ["href"], Pa = /* @__PURE__ */ _({
|
|
4639
4645
|
__name: "VoPromotionsFooter",
|
|
4640
4646
|
props: {
|
|
4641
4647
|
slug: {}
|
|
4642
4648
|
},
|
|
4643
4649
|
setup(p) {
|
|
4644
|
-
const t = p, a =
|
|
4650
|
+
const t = p, a = E(), o = Je(), r = P(), u = Ue(), i = C(() => {
|
|
4645
4651
|
if (!(a.user && !r.one.ads.enabled))
|
|
4646
4652
|
return t.slug ? o.all.find((f) => f.slug === t.slug) : o.random(o.all);
|
|
4647
4653
|
}), l = C(() => {
|
|
@@ -4651,15 +4657,15 @@ const at = /* @__PURE__ */ y({
|
|
|
4651
4657
|
const f = u.current.value.dark ? "bgdark" : "bglight";
|
|
4652
4658
|
return i.value?.metadata.images[f]?.url;
|
|
4653
4659
|
});
|
|
4654
|
-
return (f,
|
|
4655
|
-
const
|
|
4656
|
-
return c(), m(
|
|
4660
|
+
return (f, y) => {
|
|
4661
|
+
const v = Et;
|
|
4662
|
+
return c(), m(v, {
|
|
4657
4663
|
color: e(i)?.metadata.color ?? "surface",
|
|
4658
4664
|
image: e(d),
|
|
4659
4665
|
style: { transform: "translateY(0)" }
|
|
4660
4666
|
}, {
|
|
4661
4667
|
default: s(() => [
|
|
4662
|
-
|
|
4668
|
+
g("a", {
|
|
4663
4669
|
class: "d-flex align-center text-decoration-none py-2 px-4 ms-n4 flex-1-0 me-n4 position-relative",
|
|
4664
4670
|
href: e(i)?.metadata.url,
|
|
4665
4671
|
rel: "noopener noreferrer",
|
|
@@ -4672,7 +4678,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4672
4678
|
image: e(l),
|
|
4673
4679
|
size: "24"
|
|
4674
4680
|
}, null, 8, ["image"]),
|
|
4675
|
-
|
|
4681
|
+
g("div", null, $(e(i)?.metadata.text), 1),
|
|
4676
4682
|
e(i)?.metadata.advertisement ? (c(), m(te, {
|
|
4677
4683
|
key: 0,
|
|
4678
4684
|
class: "ms-auto me-n4 align-self-end mb-n2 py-1 ps-3",
|
|
@@ -4680,15 +4686,15 @@ const at = /* @__PURE__ */ y({
|
|
|
4680
4686
|
size: "x-small",
|
|
4681
4687
|
text: "SPONSORED",
|
|
4682
4688
|
variant: "flat"
|
|
4683
|
-
})) :
|
|
4689
|
+
})) : b("", !0)
|
|
4684
4690
|
], 8, Ua)
|
|
4685
4691
|
]),
|
|
4686
4692
|
_: 1
|
|
4687
4693
|
}, 8, ["color", "image"]);
|
|
4688
4694
|
};
|
|
4689
4695
|
}
|
|
4690
|
-
}), Oa =
|
|
4691
|
-
const p =
|
|
4696
|
+
}), Oa = G("spots", () => {
|
|
4697
|
+
const p = Q(), t = zt(), a = ee(), o = Z([]), r = M(!1), u = C(() => o.value.find(({
|
|
4692
4698
|
metadata: {
|
|
4693
4699
|
site: l,
|
|
4694
4700
|
active: d
|
|
@@ -4712,11 +4718,11 @@ const at = /* @__PURE__ */ y({
|
|
|
4712
4718
|
spot: u,
|
|
4713
4719
|
index: i
|
|
4714
4720
|
};
|
|
4715
|
-
}), za = ["href"], Ba = /* @__PURE__ */
|
|
4721
|
+
}), za = ["href"], Ba = /* @__PURE__ */ _({
|
|
4716
4722
|
__name: "VoSpot",
|
|
4717
4723
|
setup(p) {
|
|
4718
4724
|
const t = Oa();
|
|
4719
|
-
return (a, o) => e(t).spot ? (c(),
|
|
4725
|
+
return (a, o) => e(t).spot ? (c(), V("a", {
|
|
4720
4726
|
key: 0,
|
|
4721
4727
|
href: e(t).spot.metadata.href,
|
|
4722
4728
|
rel: "noopener noreferrer sponsored",
|
|
@@ -4729,9 +4735,9 @@ const at = /* @__PURE__ */ y({
|
|
|
4729
4735
|
src: e(t).spot.metadata.image?.url,
|
|
4730
4736
|
width: "225"
|
|
4731
4737
|
}, null, 8, ["color", "src"])
|
|
4732
|
-
], 8, za)) :
|
|
4738
|
+
], 8, za)) : b("", !0);
|
|
4733
4739
|
}
|
|
4734
|
-
}),
|
|
4740
|
+
}), Ai = {
|
|
4735
4741
|
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"],
|
|
4736
4742
|
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"],
|
|
4737
4743
|
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",
|
|
@@ -4805,8 +4811,8 @@ const at = /* @__PURE__ */ y({
|
|
|
4805
4811
|
["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],
|
|
4806
4812
|
["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]
|
|
4807
4813
|
]
|
|
4808
|
-
}, Ti =
|
|
4809
|
-
const p =
|
|
4814
|
+
}, Ti = G("bins", () => {
|
|
4815
|
+
const p = Q(), t = ee(), a = Z([]), o = M(!1), r = C(() => a.value.filter((l) => l.favorite)), u = C(() => a.value.filter((l) => l.pinned));
|
|
4810
4816
|
async function i() {
|
|
4811
4817
|
try {
|
|
4812
4818
|
o.value = !0;
|
|
@@ -4826,52 +4832,52 @@ const at = /* @__PURE__ */ y({
|
|
|
4826
4832
|
all: a,
|
|
4827
4833
|
index: i
|
|
4828
4834
|
};
|
|
4829
|
-
}), Ui =
|
|
4830
|
-
const p =
|
|
4831
|
-
const
|
|
4832
|
-
return
|
|
4835
|
+
}), Ui = G("links", () => {
|
|
4836
|
+
const p = Q(), t = ee(), a = Z([]), o = M(!1), r = M(!1), u = C(() => a.value.filter((v) => v.favorite)), i = C(() => a.value.filter((v) => v.pinned)), l = C(() => !!E().user), d = C(() => {
|
|
4837
|
+
const v = E(), h = O();
|
|
4838
|
+
return v.user?.isAdmin || h.isSubscriber;
|
|
4833
4839
|
});
|
|
4834
4840
|
async function f() {
|
|
4835
4841
|
try {
|
|
4836
4842
|
o.value = !0;
|
|
4837
|
-
const
|
|
4838
|
-
a.value =
|
|
4839
|
-
} catch (
|
|
4840
|
-
t.showError(
|
|
4843
|
+
const v = await p.get("/one/links");
|
|
4844
|
+
a.value = v.links;
|
|
4845
|
+
} catch (v) {
|
|
4846
|
+
t.showError(v?.message ?? "Error fetching links");
|
|
4841
4847
|
} finally {
|
|
4842
4848
|
o.value = !1;
|
|
4843
4849
|
}
|
|
4844
4850
|
return a.value;
|
|
4845
4851
|
}
|
|
4846
|
-
async function
|
|
4852
|
+
async function y(v) {
|
|
4847
4853
|
if (!l.value) {
|
|
4848
4854
|
t.showError("Must be signed in to create links");
|
|
4849
4855
|
return;
|
|
4850
4856
|
}
|
|
4851
4857
|
try {
|
|
4852
4858
|
r.value = !0;
|
|
4853
|
-
const
|
|
4859
|
+
const h = await p.post("/one/links", {
|
|
4854
4860
|
link: {
|
|
4855
|
-
title:
|
|
4856
|
-
url:
|
|
4857
|
-
slug:
|
|
4858
|
-
favorite:
|
|
4859
|
-
pinned:
|
|
4860
|
-
scoped:
|
|
4861
|
-
passwordProtection:
|
|
4862
|
-
password:
|
|
4863
|
-
timer:
|
|
4864
|
-
expiresAt:
|
|
4861
|
+
title: v.title,
|
|
4862
|
+
url: v.url,
|
|
4863
|
+
slug: v.slug || "",
|
|
4864
|
+
favorite: v.favorite ?? !1,
|
|
4865
|
+
pinned: v.pinned ?? !1,
|
|
4866
|
+
scoped: v.scoped ?? !1,
|
|
4867
|
+
passwordProtection: v.passwordProtection ?? !1,
|
|
4868
|
+
password: v.password ?? null,
|
|
4869
|
+
timer: v.timer ?? null,
|
|
4870
|
+
expiresAt: v.expiresAt ?? null,
|
|
4865
4871
|
// Content link fields
|
|
4866
|
-
contentType:
|
|
4867
|
-
payload:
|
|
4868
|
-
language:
|
|
4869
|
-
source:
|
|
4872
|
+
contentType: v.contentType,
|
|
4873
|
+
payload: v.payload,
|
|
4874
|
+
language: v.language,
|
|
4875
|
+
source: v.source
|
|
4870
4876
|
}
|
|
4871
4877
|
});
|
|
4872
|
-
return a.value.unshift(
|
|
4873
|
-
} catch (
|
|
4874
|
-
t.showError(
|
|
4878
|
+
return a.value.unshift(h.link), h.link;
|
|
4879
|
+
} catch (h) {
|
|
4880
|
+
t.showError(h?.message ?? "Error creating link");
|
|
4875
4881
|
} finally {
|
|
4876
4882
|
r.value = !1;
|
|
4877
4883
|
}
|
|
@@ -4885,10 +4891,10 @@ const at = /* @__PURE__ */ y({
|
|
|
4885
4891
|
favorites: u,
|
|
4886
4892
|
all: a,
|
|
4887
4893
|
index: f,
|
|
4888
|
-
create:
|
|
4894
|
+
create: y
|
|
4889
4895
|
};
|
|
4890
|
-
}), Pi =
|
|
4891
|
-
const p =
|
|
4896
|
+
}), Pi = G("plays", () => {
|
|
4897
|
+
const p = Q(), t = ee(), a = Z([]), o = M(!1), r = C(() => a.value.filter((l) => l.favorite)), u = C(() => a.value.filter((l) => l.pinned));
|
|
4892
4898
|
async function i() {
|
|
4893
4899
|
try {
|
|
4894
4900
|
o.value = !0;
|
|
@@ -4908,8 +4914,8 @@ const at = /* @__PURE__ */ y({
|
|
|
4908
4914
|
all: a,
|
|
4909
4915
|
index: i
|
|
4910
4916
|
};
|
|
4911
|
-
}), Oi =
|
|
4912
|
-
const p =
|
|
4917
|
+
}), Oi = G("products", () => {
|
|
4918
|
+
const p = Q(), t = ee(), a = Z([]), o = C(() => a.value.filter((i) => i.product_type === "Themes"));
|
|
4913
4919
|
async function r() {
|
|
4914
4920
|
if (a.value.length > 0)
|
|
4915
4921
|
return a.value;
|
|
@@ -4930,16 +4936,16 @@ const at = /* @__PURE__ */ y({
|
|
|
4930
4936
|
index: r,
|
|
4931
4937
|
randomize: u
|
|
4932
4938
|
};
|
|
4933
|
-
}), zi =
|
|
4934
|
-
const p =
|
|
4939
|
+
}), zi = G("sponsors", () => {
|
|
4940
|
+
const p = Q(), t = ee(), a = Z([]), o = Z([]), r = Z(!1), u = C(() => {
|
|
4935
4941
|
const d = {};
|
|
4936
4942
|
for (const f of a.value) {
|
|
4937
|
-
const
|
|
4938
|
-
d[
|
|
4943
|
+
const y = f.metadata.tier;
|
|
4944
|
+
d[y] || (d[y] = []), d[y].push(f);
|
|
4939
4945
|
}
|
|
4940
4946
|
return d;
|
|
4941
4947
|
});
|
|
4942
|
-
Wt(i),
|
|
4948
|
+
Wt(i), He(i);
|
|
4943
4949
|
async function i() {
|
|
4944
4950
|
try {
|
|
4945
4951
|
r.value = !0;
|
|
@@ -4966,7 +4972,7 @@ const at = /* @__PURE__ */ y({
|
|
|
4966
4972
|
});
|
|
4967
4973
|
function Bi() {
|
|
4968
4974
|
function p(t) {
|
|
4969
|
-
t.component("VoAppBar", _a), t.component("VoAuthBtn", Bt), t.component("VoAuthCard",
|
|
4975
|
+
t.component("VoAppBar", _a), t.component("VoAuthBtn", Bt), t.component("VoAuthCard", At), 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);
|
|
4970
4976
|
}
|
|
4971
4977
|
return { install: p };
|
|
4972
4978
|
}
|
|
@@ -4977,14 +4983,14 @@ function Ei(p, t) {
|
|
|
4977
4983
|
};
|
|
4978
4984
|
}
|
|
4979
4985
|
export {
|
|
4980
|
-
|
|
4986
|
+
Ai as aliases,
|
|
4981
4987
|
Bi as createOne,
|
|
4982
4988
|
Ei as one,
|
|
4983
|
-
|
|
4989
|
+
E as useAuthStore,
|
|
4984
4990
|
Qe as useBannersStore,
|
|
4985
4991
|
Ti as useBinsStore,
|
|
4986
4992
|
bs as useDownloadsStore,
|
|
4987
|
-
|
|
4993
|
+
Q as useHttpStore,
|
|
4988
4994
|
Ui as useLinksStore,
|
|
4989
4995
|
Fe as useNotificationsStore,
|
|
4990
4996
|
O as useOneStore,
|
|
@@ -4996,6 +5002,6 @@ export {
|
|
|
4996
5002
|
zt as useSiteStore,
|
|
4997
5003
|
zi as useSponsorsStore,
|
|
4998
5004
|
Oa as useSpotsStore,
|
|
4999
|
-
|
|
5000
|
-
|
|
5005
|
+
Ae as useTeamStore,
|
|
5006
|
+
P as useUserStore
|
|
5001
5007
|
};
|