@vuetify/one 3.1.1 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{auth-DK4fBwyp.js → auth-DItQv4ut.js} +173 -179
- package/dist/index.d.ts +7 -162
- package/dist/index.js +987 -1195
- package/dist/one.css +1 -1
- package/dist/stores/auth.d.ts +3 -3
- package/dist/stores/auth.js +1 -1
- package/dist/styles.d.ts +1 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,245 +1,217 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { u as
|
|
3
|
-
import { g as
|
|
4
|
-
import { VSnackbarQueue as
|
|
5
|
-
import { mdiAccountGroupOutline as
|
|
6
|
-
import { VListItem as
|
|
7
|
-
import { VAvatar as
|
|
8
|
-
import { VCard as
|
|
9
|
-
import { VDialog as
|
|
1
|
+
import { defineComponent as _, openBlock as d, createBlock as p, unref as e, computed as y, createSlots as U, withCtx as i, createElementVNode as b, toDisplayString as L, createVNode as a, createTextVNode as H, normalizeStyle as Ze, createCommentVNode as h, renderSlot as $, shallowRef as Z, watch as te, withModifiers as ae, useModel as ie, mergeModels as Fe, createElementBlock as V, Fragment as M, renderList as q, mergeProps as E, withDirectives as P, vShow as ce, nextTick as Be, isRef as ne, toRef as se, ref as F, onMounted as _e, normalizeClass as ht, useSlots as Pe, normalizeProps as Ne, guardReactiveProps as Ee, resolveComponent as yt, onBeforeMount as be, onBeforeUnmount as _t, useCssVars as bt, onServerPrefetch as Ct } from "vue";
|
|
2
|
+
import { u as W, a as D, b as S, c as j, d as ze, e as Y, f as kt } from "./auth-DItQv4ut.js";
|
|
3
|
+
import { g as e1, h as t1 } from "./auth-DItQv4ut.js";
|
|
4
|
+
import { VSnackbarQueue as Vt } from "vuetify/components/VSnackbarQueue";
|
|
5
|
+
import { mdiAccountGroupOutline as $t, mdiGoogle as xt, mdiSync as Lt, mdiSyncOff as wt, mdiLogoutVariant as St, mdiFullscreenExit as Mt, mdiFullscreen as At, mdiCheck as je, mdiSelect as It, mdiSpaceInvaders as Oe, mdiImageFilterHdr as He, mdiTransmissionTower as Te, mdiRocketLaunchOutline as Re, mdiHome as Dt, mdiTextBox as Ut, mdiWhiteBalanceSunny as Zt, mdiWeatherNight as Ft, mdiDesktopTowerMonitor as Bt, mdiContrastCircle as Pt, mdiCog as Nt, mdiCogOutline as Et, mdiPin as zt, mdiPinOutline as jt, mdiEmailOpenOutline as Ce, mdiEmailVariant as ke, mdiOpenInNew as Ve, mdiBell as Ot, mdiInboxOutline as Ht, mdiInboxFullOutline as Tt, mdiBillboard as Rt, mdiBellOutline as qt, mdiAccountOutline as Gt, mdiViewDashboardOutline as Wt, mdiCrown as Qt, mdiArrowULeftBottom as Yt, mdiAtomVariant as Jt, mdiLogin as Ie, mdiDotsVertical as Kt, mdiShieldStarOutline as Xt } from "@mdi/js";
|
|
6
|
+
import { VListItem as J, VList as oe, VListSubheader as eo, VListItemTitle as qe, VListItemSubtitle as to } from "vuetify/components/VList";
|
|
7
|
+
import { VAvatar as G } from "vuetify/components/VAvatar";
|
|
8
|
+
import { VCard as O, VCardTitle as oo, VCardSubtitle as no, VCardText as ve, VCardActions as so } from "vuetify/components/VCard";
|
|
9
|
+
import { VDialog as de } from "vuetify/components/VDialog";
|
|
10
10
|
import { VBtn as B } from "vuetify/components/VBtn";
|
|
11
|
-
import { VProgressCircular as
|
|
12
|
-
import { VSheet as
|
|
13
|
-
import { VSwitch as
|
|
14
|
-
import { VFadeTransition as
|
|
15
|
-
import { useDisplay as
|
|
16
|
-
import { VDivider as
|
|
17
|
-
import { VIcon as
|
|
18
|
-
import { VLabel as
|
|
11
|
+
import { VProgressCircular as ao } from "vuetify/components/VProgressCircular";
|
|
12
|
+
import { VSheet as me } from "vuetify/components/VSheet";
|
|
13
|
+
import { VSwitch as Ge } from "vuetify/components/VSwitch";
|
|
14
|
+
import { VFadeTransition as pe, VExpandTransition as re, VExpandXTransition as io } from "vuetify/components/transitions";
|
|
15
|
+
import { useDisplay as K, useTheme as fe, useDate as We } from "vuetify";
|
|
16
|
+
import { VDivider as N } from "vuetify/components/VDivider";
|
|
17
|
+
import { VIcon as I } from "vuetify/components/VIcon";
|
|
18
|
+
import { VLabel as ro } from "vuetify/components/VLabel";
|
|
19
19
|
import { VChip as ee } from "vuetify/components/VChip";
|
|
20
|
-
import { VChipGroup as
|
|
21
|
-
import { VSelect as
|
|
22
|
-
import { defineStore as
|
|
23
|
-
import { VRow as
|
|
20
|
+
import { VChipGroup as lo } from "vuetify/components/VChipGroup";
|
|
21
|
+
import { VSelect as uo } from "vuetify/components/VSelect";
|
|
22
|
+
import { defineStore as T } from "pinia";
|
|
23
|
+
import { VRow as co, VCol as mo, VSpacer as po } from "vuetify/components/VGrid";
|
|
24
24
|
import { VHover as le } from "vuetify/components/VHover";
|
|
25
|
-
import { VImg as
|
|
26
|
-
import { VItemGroup as
|
|
27
|
-
import { VLayout as
|
|
28
|
-
import { VMain as
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import { VLazy as So } from "vuetify/components/VLazy";
|
|
25
|
+
import { VImg as Q } from "vuetify/components/VImg";
|
|
26
|
+
import { VItemGroup as fo, VItem as go } from "vuetify/components/VItemGroup";
|
|
27
|
+
import { VLayout as Qe } from "vuetify/components/VLayout";
|
|
28
|
+
import { VMain as Ye } from "vuetify/components/VMain";
|
|
29
|
+
import { Tooltip as R, Ripple as vo } from "vuetify/directives";
|
|
30
|
+
import { VMenu as $e } from "vuetify/components/VMenu";
|
|
31
|
+
import { VEmptyState as Je } from "vuetify/components/VEmptyState";
|
|
32
|
+
import { VTooltip as Ke } from "vuetify/components/VTooltip";
|
|
33
|
+
import { VResponsive as ho } from "vuetify/components/VResponsive";
|
|
34
|
+
import { VBadge as xe } from "vuetify/components/VBadge";
|
|
35
|
+
import { VNavigationDrawer as yo } from "vuetify/components/VNavigationDrawer";
|
|
36
|
+
import { VWindow as _o, VWindowItem as he } from "vuetify/components/VWindow";
|
|
37
|
+
import { VColorPicker as bo } from "vuetify/components/VColorPicker";
|
|
38
|
+
import { VAppBar as Xe } from "vuetify/components/VAppBar";
|
|
39
|
+
import { VFooter as Co } from "vuetify/components/VFooter";
|
|
40
|
+
import { useRouter as ko } from "vue-router";
|
|
41
|
+
import { VLazy as Vo } from "vuetify/components/VLazy";
|
|
43
42
|
import { VSkeletonLoader as ye } from "vuetify/components/VSkeletonLoader";
|
|
44
|
-
const
|
|
43
|
+
const $o = /* @__PURE__ */ _({
|
|
45
44
|
__name: "VoSnackbarQueue",
|
|
46
|
-
setup(
|
|
47
|
-
const t =
|
|
48
|
-
return (n, o) => (d(), p(
|
|
45
|
+
setup(l) {
|
|
46
|
+
const t = W();
|
|
47
|
+
return (n, o) => (d(), p(Vt, {
|
|
49
48
|
modelValue: e(t).queue,
|
|
50
|
-
"onUpdate:modelValue": o[0] || (o[0] = (
|
|
49
|
+
"onUpdate:modelValue": o[0] || (o[0] = (s) => e(t).queue = s),
|
|
51
50
|
closable: "",
|
|
52
51
|
location: "bottom end"
|
|
53
52
|
}, null, 8, ["modelValue"]));
|
|
54
53
|
}
|
|
55
54
|
});
|
|
56
|
-
function
|
|
55
|
+
function xo(l) {
|
|
57
56
|
return function(n) {
|
|
58
|
-
n.store.$id === "http" && (n.store.url =
|
|
57
|
+
n.store.$id === "http" && (n.store.url = l.apiUrl);
|
|
59
58
|
};
|
|
60
59
|
}
|
|
61
|
-
function
|
|
60
|
+
function Ts(l) {
|
|
62
61
|
return {
|
|
63
62
|
install: (t) => {
|
|
64
63
|
},
|
|
65
|
-
piniaPlugin:
|
|
64
|
+
piniaPlugin: xo(l)
|
|
66
65
|
};
|
|
67
66
|
}
|
|
68
|
-
const
|
|
67
|
+
const Lo = { class: "text-body-medium" }, et = /* @__PURE__ */ _({
|
|
69
68
|
__name: "VoAuthOpenCollective",
|
|
70
|
-
setup(
|
|
71
|
-
const t = D(), n =
|
|
72
|
-
return (
|
|
69
|
+
setup(l) {
|
|
70
|
+
const t = D(), n = y(() => t.user && t.findIdentity("opencollective")), o = y(() => t.user ? n.value ? "Connected to Open Collective" : "Connect Open Collective" : "Login with Open Collective");
|
|
71
|
+
return (s, u) => (d(), p(J, {
|
|
73
72
|
"base-color": "#1258e2",
|
|
74
|
-
"prepend-icon": `svg:${e(
|
|
73
|
+
"prepend-icon": `svg:${e($t)}`,
|
|
75
74
|
rounded: "pill",
|
|
76
75
|
slim: "",
|
|
77
76
|
variant: "flat",
|
|
78
|
-
onClick:
|
|
79
|
-
},
|
|
80
|
-
title:
|
|
81
|
-
b("span",
|
|
77
|
+
onClick: u[0] || (u[0] = (c) => e(t).login("opencollective"))
|
|
78
|
+
}, U({
|
|
79
|
+
title: i(() => [
|
|
80
|
+
b("span", Lo, L(e(o)), 1)
|
|
82
81
|
]),
|
|
83
82
|
_: 2
|
|
84
83
|
}, [
|
|
85
84
|
!e(t).user && e(t).lastLoginProvider() === "openCollective" ? {
|
|
86
85
|
name: "subtitle",
|
|
87
|
-
fn:
|
|
88
|
-
|
|
86
|
+
fn: i(() => [
|
|
87
|
+
u[1] || (u[1] = b("div", { class: "text-body-small mt-n1" }, "Last Used", -1))
|
|
89
88
|
]),
|
|
90
89
|
key: "0"
|
|
91
90
|
} : void 0
|
|
92
91
|
]), 1032, ["prepend-icon"]));
|
|
93
92
|
}
|
|
94
|
-
}),
|
|
95
|
-
__name: "VoAuthShopify",
|
|
96
|
-
setup(u) {
|
|
97
|
-
const t = D(), n = _(() => t.user && t.findIdentity("shopify")), o = _(() => t.user ? n.value ? "Connected to Shopify" : "Connect Shopify" : "Login with Shopify");
|
|
98
|
-
return (i, l) => (d(), p(Y, {
|
|
99
|
-
"base-color": "#5b8a3c",
|
|
100
|
-
"prepend-icon": `svg:${e(Mt)}`,
|
|
101
|
-
rounded: "pill",
|
|
102
|
-
slim: "",
|
|
103
|
-
variant: "flat",
|
|
104
|
-
onClick: l[0] || (l[0] = (c) => e(t).login("shopify"))
|
|
105
|
-
}, Z({
|
|
106
|
-
title: s(() => [
|
|
107
|
-
b("span", Io, x(e(o)), 1)
|
|
108
|
-
]),
|
|
109
|
-
_: 2
|
|
110
|
-
}, [
|
|
111
|
-
!e(t).user && e(t).lastLoginProvider() === "shopify" ? {
|
|
112
|
-
name: "subtitle",
|
|
113
|
-
fn: s(() => [
|
|
114
|
-
l[1] || (l[1] = b("div", { class: "text-caption mt-n1" }, "Last Used", -1))
|
|
115
|
-
]),
|
|
116
|
-
key: "0"
|
|
117
|
-
} : void 0
|
|
118
|
-
]), 1032, ["prepend-icon"]));
|
|
119
|
-
}
|
|
120
|
-
}), Uo = { class: "text-body-2" }, rt = /* @__PURE__ */ y({
|
|
93
|
+
}), wo = { class: "text-body-medium" }, tt = /* @__PURE__ */ _({
|
|
121
94
|
__name: "VoAuthDiscord",
|
|
122
|
-
setup(
|
|
123
|
-
const t = D(), n =
|
|
124
|
-
return (
|
|
95
|
+
setup(l) {
|
|
96
|
+
const t = D(), n = y(() => t.user && t.findIdentity("discord")), o = y(() => t.user ? n.value ? "Connected to Discord" : "Connect Discord" : "Login with Discord");
|
|
97
|
+
return (s, u) => (d(), p(J, {
|
|
125
98
|
"base-color": "#5865F2",
|
|
126
99
|
"prepend-icon": "$discord",
|
|
127
100
|
rounded: "pill",
|
|
128
101
|
slim: "",
|
|
129
102
|
variant: "flat",
|
|
130
|
-
onClick:
|
|
131
|
-
},
|
|
132
|
-
title:
|
|
133
|
-
b("span",
|
|
103
|
+
onClick: u[0] || (u[0] = (c) => e(t).login("discord"))
|
|
104
|
+
}, U({
|
|
105
|
+
title: i(() => [
|
|
106
|
+
b("span", wo, L(e(o)), 1)
|
|
134
107
|
]),
|
|
135
108
|
_: 2
|
|
136
109
|
}, [
|
|
137
110
|
!e(t).user && e(t).lastLoginProvider() === "discord" ? {
|
|
138
111
|
name: "subtitle",
|
|
139
|
-
fn:
|
|
140
|
-
|
|
112
|
+
fn: i(() => [
|
|
113
|
+
u[1] || (u[1] = b("div", { class: "text-body-small mt-n1" }, "Last Used", -1))
|
|
141
114
|
]),
|
|
142
115
|
key: "0"
|
|
143
116
|
} : void 0
|
|
144
117
|
]), 1024));
|
|
145
118
|
}
|
|
146
|
-
}),
|
|
119
|
+
}), So = { class: "text-body-medium" }, ot = /* @__PURE__ */ _({
|
|
147
120
|
__name: "VoAuthGoogle",
|
|
148
|
-
setup(
|
|
149
|
-
const t = D(), n =
|
|
150
|
-
return (
|
|
121
|
+
setup(l) {
|
|
122
|
+
const t = D(), n = y(() => t.user && t.findIdentity("google")), o = y(() => t.user ? n.value ? "Connected to Google" : "Connect Google" : "Login with Google");
|
|
123
|
+
return (s, u) => (d(), p(J, {
|
|
151
124
|
"base-color": "#4285F4",
|
|
152
|
-
"prepend-icon": `svg:${e(
|
|
125
|
+
"prepend-icon": `svg:${e(xt)}`,
|
|
153
126
|
rounded: "pill",
|
|
154
127
|
slim: "",
|
|
155
128
|
variant: "flat",
|
|
156
|
-
onClick:
|
|
157
|
-
},
|
|
158
|
-
title:
|
|
159
|
-
b("span",
|
|
129
|
+
onClick: u[0] || (u[0] = (c) => e(t).login("google"))
|
|
130
|
+
}, U({
|
|
131
|
+
title: i(() => [
|
|
132
|
+
b("span", So, L(e(o)), 1)
|
|
160
133
|
]),
|
|
161
134
|
_: 2
|
|
162
135
|
}, [
|
|
163
136
|
!e(t).user && e(t).lastLoginProvider() === "google" ? {
|
|
164
137
|
name: "subtitle",
|
|
165
|
-
fn:
|
|
166
|
-
|
|
138
|
+
fn: i(() => [
|
|
139
|
+
u[1] || (u[1] = b("div", { class: "text-body-small mt-n1" }, "Last Used", -1))
|
|
167
140
|
]),
|
|
168
141
|
key: "0"
|
|
169
142
|
} : void 0
|
|
170
143
|
]), 1032, ["prepend-icon"]));
|
|
171
144
|
}
|
|
172
|
-
}),
|
|
145
|
+
}), Mo = { class: "text-body-medium" }, nt = /* @__PURE__ */ _({
|
|
173
146
|
__name: "VoAuthGithub",
|
|
174
|
-
setup(
|
|
175
|
-
const t = D(), n =
|
|
176
|
-
return (
|
|
147
|
+
setup(l) {
|
|
148
|
+
const t = D(), n = y(() => t.user && t.findIdentity("github")), o = y(() => t.user ? n.value ? "Connected to GitHub" : "Connect GitHub" : "Login with GitHub");
|
|
149
|
+
return (s, u) => (d(), p(J, {
|
|
177
150
|
"base-color": "#2a2a2a",
|
|
178
151
|
"prepend-icon": "$github",
|
|
179
152
|
rounded: "pill",
|
|
180
153
|
slim: "",
|
|
181
154
|
variant: "flat",
|
|
182
|
-
onClick:
|
|
183
|
-
},
|
|
184
|
-
title:
|
|
185
|
-
b("span",
|
|
155
|
+
onClick: u[0] || (u[0] = (c) => e(t).login("github"))
|
|
156
|
+
}, U({
|
|
157
|
+
title: i(() => [
|
|
158
|
+
b("span", Mo, L(e(o)), 1)
|
|
186
159
|
]),
|
|
187
160
|
_: 2
|
|
188
161
|
}, [
|
|
189
162
|
!e(t).user && e(t).lastLoginProvider() === "github" ? {
|
|
190
163
|
name: "subtitle",
|
|
191
|
-
fn:
|
|
192
|
-
|
|
164
|
+
fn: i(() => [
|
|
165
|
+
u[1] || (u[1] = b("div", { class: "text-body-small mt-n1" }, "Last Used", -1))
|
|
193
166
|
]),
|
|
194
167
|
key: "0"
|
|
195
168
|
} : void 0
|
|
196
169
|
]), 1024));
|
|
197
170
|
}
|
|
198
|
-
}),
|
|
171
|
+
}), Ao = { class: "text-center" }, Io = { class: "text-center mb-6" }, Do = { class: "text-title-large font-weight-light" }, st = /* @__PURE__ */ _({
|
|
199
172
|
__name: "VoAuthCard",
|
|
200
|
-
setup(
|
|
173
|
+
setup(l) {
|
|
201
174
|
const t = D();
|
|
202
175
|
return (n, o) => {
|
|
203
|
-
const
|
|
204
|
-
return d(), p(
|
|
176
|
+
const s = nt, u = ot, c = tt, r = et;
|
|
177
|
+
return d(), p(O, {
|
|
205
178
|
class: "pt-6 pb-8 px-4 px-sm-8 mx-auto",
|
|
206
179
|
"max-width": "480",
|
|
207
180
|
rounded: "lg"
|
|
208
181
|
}, {
|
|
209
|
-
default:
|
|
210
|
-
b("div",
|
|
211
|
-
a(
|
|
182
|
+
default: i(() => [
|
|
183
|
+
b("div", Ao, [
|
|
184
|
+
a(G, {
|
|
212
185
|
class: "mx-auto",
|
|
213
186
|
image: "https://vuetifyjs.b-cdn.net/docs/images/avatars/one.png",
|
|
214
187
|
size: "64"
|
|
215
188
|
})
|
|
216
189
|
]),
|
|
217
|
-
b("div",
|
|
218
|
-
a(
|
|
219
|
-
default:
|
|
220
|
-
b("div",
|
|
221
|
-
o[0] || (o[0] = b("span", { class: "text-
|
|
190
|
+
b("div", Io, [
|
|
191
|
+
a(oo, { class: "text-headline-small mb-1 text-md-headline-large" }, {
|
|
192
|
+
default: i(() => [
|
|
193
|
+
b("div", Do, L(e(t).lastLoginProvider() ? "Welcome back to" : "Login to"), 1),
|
|
194
|
+
o[0] || (o[0] = b("span", { class: "text-display-medium font-weight-bold" }, "Vuetify One", -1))
|
|
222
195
|
]),
|
|
223
196
|
_: 1
|
|
224
197
|
}),
|
|
225
|
-
a(
|
|
226
|
-
default:
|
|
227
|
-
|
|
198
|
+
a(no, { class: "text-wrap" }, {
|
|
199
|
+
default: i(() => [...o[1] || (o[1] = [
|
|
200
|
+
H(" Login to save your settings and gain access to exclusive subscriber perks. ", -1)
|
|
228
201
|
])]),
|
|
229
202
|
_: 1
|
|
230
203
|
})
|
|
231
204
|
]),
|
|
232
|
-
a(
|
|
205
|
+
a(oe, {
|
|
233
206
|
class: "mx-auto",
|
|
234
207
|
"max-width": "300",
|
|
235
208
|
width: "100%"
|
|
236
209
|
}, {
|
|
237
|
-
default:
|
|
238
|
-
a(
|
|
239
|
-
a(
|
|
210
|
+
default: i(() => [
|
|
211
|
+
a(s, { class: "mb-3" }),
|
|
212
|
+
a(u, { class: "mb-3" }),
|
|
240
213
|
a(c, { class: "mb-3" }),
|
|
241
|
-
a(r
|
|
242
|
-
a(m)
|
|
214
|
+
a(r)
|
|
243
215
|
]),
|
|
244
216
|
_: 1
|
|
245
217
|
})
|
|
@@ -248,43 +220,42 @@ const Do = { class: "text-body-2" }, at = /* @__PURE__ */ y({
|
|
|
248
220
|
});
|
|
249
221
|
};
|
|
250
222
|
}
|
|
251
|
-
}),
|
|
223
|
+
}), at = /* @__PURE__ */ _({
|
|
252
224
|
__name: "VoAuthDialog",
|
|
253
|
-
setup(
|
|
225
|
+
setup(l) {
|
|
254
226
|
const t = D();
|
|
255
227
|
return (n, o) => {
|
|
256
|
-
const
|
|
257
|
-
return d(), p(
|
|
228
|
+
const s = st;
|
|
229
|
+
return d(), p(de, {
|
|
258
230
|
modelValue: e(t).dialog,
|
|
259
|
-
"onUpdate:modelValue": o[0] || (o[0] = (
|
|
231
|
+
"onUpdate:modelValue": o[0] || (o[0] = (u) => e(t).dialog = u),
|
|
260
232
|
"max-width": "480"
|
|
261
233
|
}, {
|
|
262
|
-
default:
|
|
263
|
-
a(
|
|
234
|
+
default: i(() => [
|
|
235
|
+
a(s)
|
|
264
236
|
]),
|
|
265
237
|
_: 1
|
|
266
238
|
}, 8, ["modelValue"]);
|
|
267
239
|
};
|
|
268
240
|
}
|
|
269
|
-
}),
|
|
241
|
+
}), it = /* @__PURE__ */ _({
|
|
270
242
|
__name: "VoBtn",
|
|
271
243
|
props: {
|
|
272
244
|
readonly: { type: Boolean }
|
|
273
245
|
},
|
|
274
|
-
setup(
|
|
275
|
-
const t =
|
|
246
|
+
setup(l) {
|
|
247
|
+
const t = l;
|
|
276
248
|
return (n, o) => (d(), p(B, {
|
|
277
|
-
class: "text-none font-weight-regular",
|
|
278
249
|
color: "primary",
|
|
279
250
|
size: "small",
|
|
280
|
-
style:
|
|
251
|
+
style: Ze({
|
|
281
252
|
pointerEvents: t.readonly ? "none" : void 0
|
|
282
253
|
}),
|
|
283
254
|
tabindex: t.readonly ? -1 : void 0,
|
|
284
255
|
variant: "flat"
|
|
285
|
-
},
|
|
286
|
-
loader:
|
|
287
|
-
n.$slots.loader ? h("", !0) : (d(), p(
|
|
256
|
+
}, U({
|
|
257
|
+
loader: i(() => [
|
|
258
|
+
n.$slots.loader ? h("", !0) : (d(), p(ao, {
|
|
288
259
|
key: 0,
|
|
289
260
|
indeterminate: "disable-shrink",
|
|
290
261
|
size: "16",
|
|
@@ -296,57 +267,57 @@ const Do = { class: "text-body-2" }, at = /* @__PURE__ */ y({
|
|
|
296
267
|
}, [
|
|
297
268
|
n.$slots.prepend ? {
|
|
298
269
|
name: "prepend",
|
|
299
|
-
fn:
|
|
270
|
+
fn: i(() => [
|
|
300
271
|
$(n.$slots, "prepend")
|
|
301
272
|
]),
|
|
302
273
|
key: "0"
|
|
303
274
|
} : void 0,
|
|
304
275
|
n.$slots.default ? {
|
|
305
276
|
name: "default",
|
|
306
|
-
fn:
|
|
277
|
+
fn: i(() => [
|
|
307
278
|
$(n.$slots, "default")
|
|
308
279
|
]),
|
|
309
280
|
key: "1"
|
|
310
281
|
} : void 0
|
|
311
282
|
]), 1032, ["style", "tabindex"]));
|
|
312
283
|
}
|
|
313
|
-
}),
|
|
284
|
+
}), Uo = { class: "pa-4 d-flex flex-column ga-4" }, rt = /* @__PURE__ */ _({
|
|
314
285
|
__name: "VoAuthListItem",
|
|
315
|
-
setup(
|
|
316
|
-
const t = D(), n =
|
|
317
|
-
|
|
318
|
-
o.value = !
|
|
286
|
+
setup(l) {
|
|
287
|
+
const t = D(), n = S(), o = Z(!t.user && !t.isLoading);
|
|
288
|
+
te(() => t.user, (u) => {
|
|
289
|
+
o.value = !u;
|
|
319
290
|
});
|
|
320
|
-
function
|
|
291
|
+
function s() {
|
|
321
292
|
t.user && (o.value = !o.value);
|
|
322
293
|
}
|
|
323
|
-
return (
|
|
324
|
-
const r =
|
|
325
|
-
return d(), p(
|
|
294
|
+
return (u, c) => {
|
|
295
|
+
const r = nt, m = ot, f = tt, v = et;
|
|
296
|
+
return d(), p(O, {
|
|
326
297
|
class: "ma-2",
|
|
327
298
|
rounded: "lg",
|
|
328
299
|
variant: e(o) ? "tonal" : "text"
|
|
329
300
|
}, {
|
|
330
|
-
default:
|
|
331
|
-
a(
|
|
332
|
-
default:
|
|
333
|
-
a(
|
|
301
|
+
default: i(() => [
|
|
302
|
+
a(oe, { class: "py-0" }, {
|
|
303
|
+
default: i(() => [
|
|
304
|
+
a(J, {
|
|
334
305
|
class: "mb-0",
|
|
335
306
|
link: !!e(t).user,
|
|
336
307
|
nav: "",
|
|
337
|
-
"prepend-icon": `svg:${e(t).user && e(n).one.sync ? e(
|
|
308
|
+
"prepend-icon": `svg:${e(t).user && e(n).one.sync ? e(Lt) : e(wt)}`,
|
|
338
309
|
rounded: "b-0",
|
|
339
310
|
slim: "",
|
|
340
311
|
title: e(t).user && e(n).one.sync ? "Sync is on" : "Sync is paused",
|
|
341
|
-
onClick:
|
|
312
|
+
onClick: s
|
|
342
313
|
}, {
|
|
343
|
-
append:
|
|
344
|
-
a(
|
|
345
|
-
default:
|
|
346
|
-
e(t).user && (e(o) || !e(n).one.sync) ? (d(), p(
|
|
314
|
+
append: i(() => [
|
|
315
|
+
a(pe, null, {
|
|
316
|
+
default: i(() => [
|
|
317
|
+
e(t).user && (e(o) || !e(n).one.sync) ? (d(), p(Ge, {
|
|
347
318
|
key: 0,
|
|
348
319
|
modelValue: e(n).one.sync,
|
|
349
|
-
"onUpdate:modelValue": c[0] || (c[0] = (
|
|
320
|
+
"onUpdate:modelValue": c[0] || (c[0] = (g) => e(n).one.sync = g),
|
|
350
321
|
color: e(n).one.sync ? "success" : void 0,
|
|
351
322
|
density: "compact",
|
|
352
323
|
"hide-details": "",
|
|
@@ -354,8 +325,8 @@ const Do = { class: "text-body-2" }, at = /* @__PURE__ */ y({
|
|
|
354
325
|
onClick: c[1] || (c[1] = ae(() => {
|
|
355
326
|
}, ["stop"]))
|
|
356
327
|
}, {
|
|
357
|
-
thumb:
|
|
358
|
-
a(
|
|
328
|
+
thumb: i(() => [
|
|
329
|
+
a(G, {
|
|
359
330
|
color: e(n).one.sync ? "success" : void 0
|
|
360
331
|
}, null, 8, ["color"])
|
|
361
332
|
]),
|
|
@@ -368,28 +339,25 @@ const Do = { class: "text-body-2" }, at = /* @__PURE__ */ y({
|
|
|
368
339
|
_: 1
|
|
369
340
|
}, 8, ["link", "prepend-icon", "title"]),
|
|
370
341
|
a(re, null, {
|
|
371
|
-
default:
|
|
372
|
-
!e(t).user && !e(t).isLoading || e(o) ? (d(), p(
|
|
342
|
+
default: i(() => [
|
|
343
|
+
!e(t).user && !e(t).isLoading || e(o) ? (d(), p(me, {
|
|
373
344
|
key: 0,
|
|
374
345
|
border: "t",
|
|
375
346
|
color: "transparent"
|
|
376
347
|
}, {
|
|
377
|
-
default:
|
|
378
|
-
b("div",
|
|
348
|
+
default: i(() => [
|
|
349
|
+
b("div", Uo, [
|
|
379
350
|
a(r, {
|
|
380
|
-
onClick: c[2] || (c[2] = (
|
|
351
|
+
onClick: c[2] || (c[2] = (g) => o.value = !1)
|
|
381
352
|
}),
|
|
382
353
|
a(m, {
|
|
383
|
-
onClick: c[3] || (c[3] = (
|
|
354
|
+
onClick: c[3] || (c[3] = (g) => o.value = !1)
|
|
384
355
|
}),
|
|
385
356
|
a(f, {
|
|
386
|
-
onClick: c[4] || (c[4] = (
|
|
357
|
+
onClick: c[4] || (c[4] = (g) => o.value = !1)
|
|
387
358
|
}),
|
|
388
359
|
a(v, {
|
|
389
|
-
onClick: c[5] || (c[5] = (
|
|
390
|
-
}),
|
|
391
|
-
a(g, {
|
|
392
|
-
onClick: c[6] || (c[6] = (k) => o.value = !1)
|
|
360
|
+
onClick: c[5] || (c[5] = (g) => o.value = !1)
|
|
393
361
|
})
|
|
394
362
|
])
|
|
395
363
|
]),
|
|
@@ -406,62 +374,62 @@ const Do = { class: "text-body-2" }, at = /* @__PURE__ */ y({
|
|
|
406
374
|
}, 8, ["variant"]);
|
|
407
375
|
};
|
|
408
376
|
}
|
|
409
|
-
}),
|
|
377
|
+
}), X = /* @__PURE__ */ _({
|
|
410
378
|
__name: "VoListItem",
|
|
411
|
-
setup(
|
|
412
|
-
return (t, n) => (d(), p(
|
|
413
|
-
default:
|
|
379
|
+
setup(l) {
|
|
380
|
+
return (t, n) => (d(), p(J, { slim: "" }, U({
|
|
381
|
+
default: i(() => [
|
|
414
382
|
$(t.$slots, "default")
|
|
415
383
|
]),
|
|
416
384
|
_: 2
|
|
417
385
|
}, [
|
|
418
386
|
t.$slots.prepend ? {
|
|
419
387
|
name: "prepend",
|
|
420
|
-
fn:
|
|
388
|
+
fn: i(() => [
|
|
421
389
|
$(t.$slots, "prepend")
|
|
422
390
|
]),
|
|
423
391
|
key: "0"
|
|
424
392
|
} : void 0,
|
|
425
393
|
t.$slots.title ? {
|
|
426
394
|
name: "title",
|
|
427
|
-
fn:
|
|
395
|
+
fn: i(() => [
|
|
428
396
|
$(t.$slots, "title")
|
|
429
397
|
]),
|
|
430
398
|
key: "1"
|
|
431
399
|
} : void 0,
|
|
432
400
|
t.$slots.append ? {
|
|
433
401
|
name: "append",
|
|
434
|
-
fn:
|
|
402
|
+
fn: i(() => [
|
|
435
403
|
$(t.$slots, "append")
|
|
436
404
|
]),
|
|
437
405
|
key: "2"
|
|
438
406
|
} : void 0
|
|
439
407
|
]), 1024));
|
|
440
408
|
}
|
|
441
|
-
}),
|
|
409
|
+
}), Zo = /* @__PURE__ */ _({
|
|
442
410
|
__name: "VoAuthLogoutNavItem",
|
|
443
|
-
setup(
|
|
444
|
-
const t = D(), n =
|
|
411
|
+
setup(l) {
|
|
412
|
+
const t = D(), n = Z(!1);
|
|
445
413
|
async function o() {
|
|
446
414
|
n.value = !0, await t.logout(), n.value = !1;
|
|
447
415
|
}
|
|
448
|
-
return (
|
|
449
|
-
const c =
|
|
416
|
+
return (s, u) => {
|
|
417
|
+
const c = X;
|
|
450
418
|
return d(), p(c, {
|
|
451
419
|
class: "mb-0",
|
|
452
420
|
disabled: e(n),
|
|
453
421
|
link: "",
|
|
454
422
|
loading: e(n),
|
|
455
|
-
"prepend-icon": `svg:${e(
|
|
423
|
+
"prepend-icon": `svg:${e(St)}`,
|
|
456
424
|
rounded: "lg",
|
|
457
425
|
title: "Logout",
|
|
458
426
|
onClick: o
|
|
459
427
|
}, null, 8, ["disabled", "loading", "prepend-icon"]);
|
|
460
428
|
};
|
|
461
429
|
}
|
|
462
|
-
}),
|
|
430
|
+
}), lt = /* @__PURE__ */ _({
|
|
463
431
|
__name: "VoDialog",
|
|
464
|
-
props: /* @__PURE__ */
|
|
432
|
+
props: /* @__PURE__ */ Fe({
|
|
465
433
|
prependIcon: {},
|
|
466
434
|
title: {}
|
|
467
435
|
}, {
|
|
@@ -469,61 +437,61 @@ const Do = { class: "text-body-2" }, at = /* @__PURE__ */ y({
|
|
|
469
437
|
modelModifiers: {}
|
|
470
438
|
}),
|
|
471
439
|
emits: ["update:modelValue"],
|
|
472
|
-
setup(
|
|
473
|
-
const t = ie(
|
|
474
|
-
return (
|
|
440
|
+
setup(l) {
|
|
441
|
+
const t = ie(l, "modelValue"), n = K(), o = Z(!1);
|
|
442
|
+
return (s, u) => (d(), p(de, {
|
|
475
443
|
modelValue: t.value,
|
|
476
|
-
"onUpdate:modelValue":
|
|
444
|
+
"onUpdate:modelValue": u[2] || (u[2] = (c) => t.value = c),
|
|
477
445
|
activator: "parent",
|
|
478
446
|
fullscreen: e(o) || e(n).xs.value,
|
|
479
447
|
height: "100%",
|
|
480
448
|
"max-height": e(o) || e(n).xs.value ? "100%" : 800,
|
|
481
449
|
"max-width": e(o) || e(n).xs.value ? "100%" : 800
|
|
482
450
|
}, {
|
|
483
|
-
default:
|
|
484
|
-
a(
|
|
451
|
+
default: i(({ isActive: c }) => [
|
|
452
|
+
a(O, {
|
|
485
453
|
class: "overflow-hidden",
|
|
486
454
|
height: "inherit",
|
|
487
|
-
"prepend-icon":
|
|
455
|
+
"prepend-icon": l.prependIcon,
|
|
488
456
|
rounded: e(o) || e(n).xs.value ? 0 : "lg",
|
|
489
|
-
title:
|
|
490
|
-
},
|
|
491
|
-
append:
|
|
492
|
-
$(
|
|
457
|
+
title: l.title
|
|
458
|
+
}, U({
|
|
459
|
+
append: i(() => [
|
|
460
|
+
$(s.$slots, "append"),
|
|
493
461
|
e(n).xs.value ? h("", !0) : (d(), p(B, {
|
|
494
462
|
key: 0,
|
|
495
463
|
class: "me-2",
|
|
496
464
|
density: "comfortable",
|
|
497
|
-
icon: `svg:${e(o) ? e(
|
|
465
|
+
icon: `svg:${e(o) ? e(Mt) : e(At)}`,
|
|
498
466
|
size: "small",
|
|
499
467
|
variant: "text",
|
|
500
|
-
onClick:
|
|
468
|
+
onClick: u[0] || (u[0] = (r) => o.value = !e(o))
|
|
501
469
|
}, null, 8, ["icon"])),
|
|
502
470
|
a(B, {
|
|
503
471
|
density: "comfortable",
|
|
504
472
|
icon: "$close",
|
|
505
473
|
size: "small",
|
|
506
474
|
variant: "text",
|
|
507
|
-
onClick:
|
|
475
|
+
onClick: u[1] || (u[1] = (r) => t.value = !t.value)
|
|
508
476
|
})
|
|
509
477
|
]),
|
|
510
|
-
default:
|
|
511
|
-
a(
|
|
512
|
-
$(
|
|
478
|
+
default: i(() => [
|
|
479
|
+
a(N),
|
|
480
|
+
$(s.$slots, "default")
|
|
513
481
|
]),
|
|
514
482
|
_: 2
|
|
515
483
|
}, [
|
|
516
|
-
|
|
484
|
+
s.$slots.prepend ? {
|
|
517
485
|
name: "prepend",
|
|
518
|
-
fn:
|
|
519
|
-
$(
|
|
486
|
+
fn: i(() => [
|
|
487
|
+
$(s.$slots, "prepend")
|
|
520
488
|
]),
|
|
521
489
|
key: "0"
|
|
522
490
|
} : void 0,
|
|
523
|
-
|
|
491
|
+
s.$slots.actions ? {
|
|
524
492
|
name: "actions",
|
|
525
|
-
fn:
|
|
526
|
-
$(
|
|
493
|
+
fn: i(() => [
|
|
494
|
+
$(s.$slots, "actions", { isActive: c })
|
|
527
495
|
]),
|
|
528
496
|
key: "1"
|
|
529
497
|
} : void 0
|
|
@@ -532,105 +500,105 @@ const Do = { class: "text-body-2" }, at = /* @__PURE__ */ y({
|
|
|
532
500
|
_: 3
|
|
533
501
|
}, 8, ["modelValue", "fullscreen", "max-height", "max-width"]));
|
|
534
502
|
}
|
|
535
|
-
}),
|
|
503
|
+
}), ut = /* @__PURE__ */ _({
|
|
536
504
|
__name: "VoSwitch",
|
|
537
505
|
props: {
|
|
538
506
|
disabled: { type: Boolean }
|
|
539
507
|
},
|
|
540
|
-
setup(
|
|
541
|
-
return (t, n) => (d(), p(
|
|
508
|
+
setup(l) {
|
|
509
|
+
return (t, n) => (d(), p(Ge, {
|
|
542
510
|
color: "primary",
|
|
543
511
|
density: "compact",
|
|
544
|
-
disabled:
|
|
512
|
+
disabled: l.disabled,
|
|
545
513
|
inset: "",
|
|
546
|
-
"true-icon": `svg:${e(
|
|
547
|
-
},
|
|
548
|
-
thumb:
|
|
549
|
-
a(
|
|
550
|
-
color:
|
|
514
|
+
"true-icon": `svg:${e(je)}`
|
|
515
|
+
}, U({
|
|
516
|
+
thumb: i(() => [
|
|
517
|
+
a(I, {
|
|
518
|
+
color: l.disabled ? void 0 : "primary"
|
|
551
519
|
}, null, 8, ["color"])
|
|
552
520
|
]),
|
|
553
521
|
_: 2
|
|
554
522
|
}, [
|
|
555
523
|
t.$slots.label ? {
|
|
556
524
|
name: "label",
|
|
557
|
-
fn:
|
|
525
|
+
fn: i(() => [
|
|
558
526
|
$(t.$slots, "label")
|
|
559
527
|
]),
|
|
560
528
|
key: "0"
|
|
561
529
|
} : void 0
|
|
562
530
|
]), 1032, ["disabled", "true-icon"]));
|
|
563
531
|
}
|
|
564
|
-
}),
|
|
532
|
+
}), Fo = {
|
|
565
533
|
key: 1,
|
|
566
|
-
class: "mb-3 text-
|
|
567
|
-
},
|
|
534
|
+
class: "mb-3 text-body-small text-medium-emphasis"
|
|
535
|
+
}, ct = /* @__PURE__ */ _({
|
|
568
536
|
__name: "VoDialogSubheader",
|
|
569
537
|
props: {
|
|
570
538
|
title: {},
|
|
571
539
|
text: {}
|
|
572
540
|
},
|
|
573
|
-
setup(
|
|
574
|
-
return (t, n) => (d(), V(
|
|
575
|
-
|
|
541
|
+
setup(l) {
|
|
542
|
+
return (t, n) => (d(), V(M, null, [
|
|
543
|
+
l.title ? (d(), p(ro, {
|
|
576
544
|
key: 0,
|
|
577
545
|
class: "font-weight-black"
|
|
578
546
|
}, {
|
|
579
|
-
default:
|
|
580
|
-
|
|
547
|
+
default: i(() => [
|
|
548
|
+
H(L(l.title), 1)
|
|
581
549
|
]),
|
|
582
550
|
_: 1
|
|
583
551
|
})) : h("", !0),
|
|
584
|
-
|
|
552
|
+
l.text ? (d(), V("div", Fo, L(l.text), 1)) : h("", !0)
|
|
585
553
|
], 64));
|
|
586
554
|
}
|
|
587
|
-
}),
|
|
555
|
+
}), Bo = { key: 0 }, Po = /* @__PURE__ */ _({
|
|
588
556
|
__name: "VoSettingsPageSuitOption",
|
|
589
|
-
setup(
|
|
590
|
-
const t =
|
|
557
|
+
setup(l) {
|
|
558
|
+
const t = S(), n = [
|
|
591
559
|
{
|
|
592
560
|
title: "Choose a page suit",
|
|
593
561
|
value: "",
|
|
594
|
-
prependIcon: `svg:${
|
|
562
|
+
prependIcon: `svg:${It}`,
|
|
595
563
|
disabled: !0
|
|
596
564
|
},
|
|
597
565
|
{
|
|
598
566
|
title: "Blackguard",
|
|
599
|
-
prependIcon: `svg:${
|
|
567
|
+
prependIcon: `svg:${Oe}`,
|
|
600
568
|
value: "blackguard"
|
|
601
569
|
},
|
|
602
570
|
{
|
|
603
571
|
title: "Polaris",
|
|
604
|
-
prependIcon: `svg:${
|
|
572
|
+
prependIcon: `svg:${He}`,
|
|
605
573
|
value: "polaris"
|
|
606
574
|
},
|
|
607
575
|
{
|
|
608
576
|
title: "Nebula",
|
|
609
|
-
prependIcon: `svg:${
|
|
577
|
+
prependIcon: `svg:${Te}`,
|
|
610
578
|
value: "nebula"
|
|
611
579
|
},
|
|
612
580
|
{
|
|
613
581
|
title: "Odyssey",
|
|
614
|
-
prependIcon: `svg:${
|
|
582
|
+
prependIcon: `svg:${Re}`,
|
|
615
583
|
value: "odyssey"
|
|
616
584
|
}
|
|
617
585
|
];
|
|
618
|
-
return (o,
|
|
619
|
-
const
|
|
620
|
-
return d(), V(
|
|
621
|
-
a(
|
|
586
|
+
return (o, s) => {
|
|
587
|
+
const u = ut, c = ct;
|
|
588
|
+
return d(), V(M, null, [
|
|
589
|
+
a(u, {
|
|
622
590
|
modelValue: e(t).one.suits.enabled,
|
|
623
|
-
"onUpdate:modelValue":
|
|
591
|
+
"onUpdate:modelValue": s[0] || (s[0] = (r) => e(t).one.suits.enabled = r),
|
|
624
592
|
class: "mb-2",
|
|
625
593
|
label: "Enable Page suits",
|
|
626
594
|
messages: "Customize layout elements with a unique background, styled after one of our themed releases."
|
|
627
595
|
}, null, 8, ["modelValue"]),
|
|
628
596
|
a(re, null, {
|
|
629
|
-
default:
|
|
630
|
-
e(t).one.suits.enabled ? (d(), V("div",
|
|
631
|
-
a(
|
|
597
|
+
default: i(() => [
|
|
598
|
+
e(t).one.suits.enabled ? (d(), V("div", Bo, [
|
|
599
|
+
a(uo, {
|
|
632
600
|
modelValue: e(t).one.suits.suit,
|
|
633
|
-
"onUpdate:modelValue":
|
|
601
|
+
"onUpdate:modelValue": s[1] || (s[1] = (r) => e(t).one.suits.suit = r),
|
|
634
602
|
clearable: "",
|
|
635
603
|
density: "compact",
|
|
636
604
|
"item-props": "",
|
|
@@ -640,54 +608,54 @@ const Do = { class: "text-body-2" }, at = /* @__PURE__ */ y({
|
|
|
640
608
|
style: { "max-width": "300px" },
|
|
641
609
|
variant: "outlined"
|
|
642
610
|
}, {
|
|
643
|
-
selection:
|
|
644
|
-
a(
|
|
611
|
+
selection: i(({ item: r, internalItem: m }) => [
|
|
612
|
+
a(I, {
|
|
645
613
|
icon: m.props.prependIcon,
|
|
646
614
|
size: "x-small",
|
|
647
615
|
start: ""
|
|
648
616
|
}, null, 8, ["icon"]),
|
|
649
|
-
|
|
617
|
+
H(" " + L(m.title), 1)
|
|
650
618
|
]),
|
|
651
619
|
_: 1
|
|
652
620
|
}, 8, ["modelValue"]),
|
|
653
621
|
a(c, { text: "Select your suit elements to display the background image:" }),
|
|
654
|
-
a(
|
|
622
|
+
a(lo, {
|
|
655
623
|
modelValue: e(t).one.suits.elements,
|
|
656
|
-
"onUpdate:modelValue":
|
|
624
|
+
"onUpdate:modelValue": s[2] || (s[2] = (r) => e(t).one.suits.elements = r),
|
|
657
625
|
color: "primary",
|
|
658
626
|
filter: "",
|
|
659
627
|
multiple: ""
|
|
660
628
|
}, {
|
|
661
|
-
default:
|
|
629
|
+
default: i(() => [
|
|
662
630
|
a(ee, {
|
|
663
|
-
"append-icon": `svg:${e(
|
|
631
|
+
"append-icon": `svg:${e(Dt)}`,
|
|
664
632
|
"filter-icon": "$success",
|
|
665
633
|
text: "App Bar",
|
|
666
634
|
value: "app-bar",
|
|
667
635
|
variant: "flat"
|
|
668
636
|
}, {
|
|
669
|
-
append:
|
|
670
|
-
a(
|
|
637
|
+
append: i(() => [
|
|
638
|
+
a(N, {
|
|
671
639
|
class: "ms-2 border-opacity-50",
|
|
672
640
|
vertical: ""
|
|
673
641
|
}),
|
|
674
|
-
a(
|
|
642
|
+
a(I, { size: "x-small" })
|
|
675
643
|
]),
|
|
676
644
|
_: 1
|
|
677
645
|
}, 8, ["append-icon"]),
|
|
678
646
|
a(ee, {
|
|
679
|
-
"append-icon": `svg:${e(
|
|
647
|
+
"append-icon": `svg:${e(Ut)}`,
|
|
680
648
|
"filter-icon": "$success",
|
|
681
649
|
text: "Navigation Drawer",
|
|
682
650
|
value: "drawer",
|
|
683
651
|
variant: "flat"
|
|
684
652
|
}, {
|
|
685
|
-
append:
|
|
686
|
-
a(
|
|
653
|
+
append: i(() => [
|
|
654
|
+
a(N, {
|
|
687
655
|
class: "ms-2 border-opacity-50",
|
|
688
656
|
vertical: ""
|
|
689
657
|
}),
|
|
690
|
-
a(
|
|
658
|
+
a(I, { size: "x-small" })
|
|
691
659
|
]),
|
|
692
660
|
_: 1
|
|
693
661
|
}, 8, ["append-icon"]),
|
|
@@ -698,12 +666,12 @@ const Do = { class: "text-body-2" }, at = /* @__PURE__ */ y({
|
|
|
698
666
|
value: "footer",
|
|
699
667
|
variant: "flat"
|
|
700
668
|
}, {
|
|
701
|
-
append:
|
|
702
|
-
a(
|
|
669
|
+
append: i(() => [
|
|
670
|
+
a(N, {
|
|
703
671
|
class: "ms-2 border-opacity-50",
|
|
704
672
|
vertical: ""
|
|
705
673
|
}),
|
|
706
|
-
a(
|
|
674
|
+
a(I, { size: "x-small" })
|
|
707
675
|
]),
|
|
708
676
|
_: 1
|
|
709
677
|
})
|
|
@@ -718,7 +686,7 @@ const Do = { class: "text-body-2" }, at = /* @__PURE__ */ y({
|
|
|
718
686
|
};
|
|
719
687
|
}
|
|
720
688
|
});
|
|
721
|
-
function
|
|
689
|
+
function No() {
|
|
722
690
|
return {
|
|
723
691
|
blackguard: {
|
|
724
692
|
dark: !0,
|
|
@@ -911,32 +879,32 @@ function To() {
|
|
|
911
879
|
}
|
|
912
880
|
};
|
|
913
881
|
}
|
|
914
|
-
const
|
|
915
|
-
const
|
|
882
|
+
const Le = T("settings", () => {
|
|
883
|
+
const l = "https://cdn.vuetifyjs.com/docs/images/one/", t = j(), n = S(), o = fe(), s = No(), u = {
|
|
916
884
|
blackguard: {
|
|
917
|
-
"app-bar":
|
|
918
|
-
drawer:
|
|
919
|
-
footer:
|
|
885
|
+
"app-bar": l + "suits/blackguard/blackguard-app-bar.png",
|
|
886
|
+
drawer: l + "suits/blackguard/blackguard-app-drawer.png",
|
|
887
|
+
footer: l + "suits/blackguard/blackguard-app-footer.png"
|
|
920
888
|
},
|
|
921
889
|
polaris: {
|
|
922
|
-
"app-bar":
|
|
923
|
-
drawer:
|
|
924
|
-
footer:
|
|
890
|
+
"app-bar": l + "suits/polaris/polaris-app-bar.png",
|
|
891
|
+
drawer: l + "suits/polaris/polaris-app-drawer.png",
|
|
892
|
+
footer: l + "suits/polaris/polaris-app-footer.png"
|
|
925
893
|
},
|
|
926
894
|
nebula: {
|
|
927
|
-
"app-bar":
|
|
928
|
-
drawer:
|
|
929
|
-
footer:
|
|
895
|
+
"app-bar": l + "suits/nebula/nebula-app-bar.png",
|
|
896
|
+
drawer: l + "suits/nebula/nebula-app-drawer.png",
|
|
897
|
+
footer: l + "suits/nebula/nebula-app-footer.png"
|
|
930
898
|
},
|
|
931
899
|
odyssey: {
|
|
932
|
-
"app-bar":
|
|
933
|
-
drawer:
|
|
934
|
-
footer:
|
|
900
|
+
"app-bar": l + "suits/odyssey/odyssey-app-bar.png",
|
|
901
|
+
drawer: l + "suits/odyssey/odyssey-app-drawer.png",
|
|
902
|
+
footer: l + "suits/odyssey/odyssey-app-footer.png"
|
|
935
903
|
}
|
|
936
|
-
}, c =
|
|
904
|
+
}, c = y(() => {
|
|
937
905
|
if (!n.one.suits.suit || !n.one.suits.enabled || !t.isSubscriber)
|
|
938
906
|
return {};
|
|
939
|
-
const r =
|
|
907
|
+
const r = u[n.one.suits.suit.toLowerCase()], m = {};
|
|
940
908
|
for (const f of n.one.suits.elements) {
|
|
941
909
|
const v = f;
|
|
942
910
|
m[v] = r[v];
|
|
@@ -945,52 +913,52 @@ const De = H("settings", () => {
|
|
|
945
913
|
});
|
|
946
914
|
return o.themes.value = {
|
|
947
915
|
...o.themes.value,
|
|
948
|
-
...
|
|
949
|
-
},
|
|
950
|
-
r === "system" ? o.change(window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light") : (o.change(r), n.one.suits.suit =
|
|
916
|
+
...s
|
|
917
|
+
}, te(() => n.one.theme, (r) => {
|
|
918
|
+
r === "system" ? o.change(window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light") : (o.change(r), n.one.suits.suit = u[r] ? r : ""), n.one.theme = r;
|
|
951
919
|
}, { immediate: !0 }), {
|
|
952
920
|
suit: c,
|
|
953
|
-
CDN_URL:
|
|
921
|
+
CDN_URL: l
|
|
954
922
|
};
|
|
955
|
-
}),
|
|
923
|
+
}), Eo = { class: "ms-5" }, zo = { class: "pb-2" }, jo = /* @__PURE__ */ _({
|
|
956
924
|
__name: "VoSettingsPanel",
|
|
957
|
-
setup(
|
|
958
|
-
const t =
|
|
925
|
+
setup(l) {
|
|
926
|
+
const t = j(), n = Le(), o = S(), s = y(() => [
|
|
959
927
|
{
|
|
960
928
|
title: "Light",
|
|
961
929
|
subtitle: "A standard light theme.",
|
|
962
930
|
image: n.CDN_URL + "themes/light.png",
|
|
963
|
-
prependIcon: `svg:${
|
|
931
|
+
prependIcon: `svg:${Zt}`,
|
|
964
932
|
value: "light"
|
|
965
933
|
},
|
|
966
934
|
{
|
|
967
935
|
title: "Dark",
|
|
968
936
|
subtitle: "A standard dark theme.",
|
|
969
937
|
image: n.CDN_URL + "themes/dark.png",
|
|
970
|
-
prependIcon: `svg:${
|
|
938
|
+
prependIcon: `svg:${Ft}`,
|
|
971
939
|
value: "dark"
|
|
972
940
|
},
|
|
973
941
|
{
|
|
974
942
|
title: "System",
|
|
975
943
|
subtitle: "A theme based on the system preference.",
|
|
976
944
|
image: n.CDN_URL + "themes/system.png",
|
|
977
|
-
prependIcon: `svg:${
|
|
945
|
+
prependIcon: `svg:${Bt}`,
|
|
978
946
|
value: "system"
|
|
979
947
|
},
|
|
980
948
|
{
|
|
981
949
|
title: "High Contrast",
|
|
982
950
|
subtitle: "A theme for high contrast.",
|
|
983
951
|
image: n.CDN_URL + "themes/high-contrast.png",
|
|
984
|
-
prependIcon: `svg:${
|
|
952
|
+
prependIcon: `svg:${Pt}`,
|
|
985
953
|
value: "highContrast",
|
|
986
954
|
disabled: !t.isSubscriber
|
|
987
955
|
}
|
|
988
|
-
]),
|
|
956
|
+
]), u = y(() => [
|
|
989
957
|
{
|
|
990
958
|
title: "Blackguard",
|
|
991
959
|
subtitle: "A theme for v3.4 Blackguard.",
|
|
992
960
|
image: n.CDN_URL + "themes/blackguard.png",
|
|
993
|
-
prependIcon: `svg:${
|
|
961
|
+
prependIcon: `svg:${Oe}`,
|
|
994
962
|
value: "blackguard",
|
|
995
963
|
disabled: !t.isSubscriber
|
|
996
964
|
},
|
|
@@ -998,7 +966,7 @@ const De = H("settings", () => {
|
|
|
998
966
|
title: "Polaris",
|
|
999
967
|
subtitle: "A theme for v3.5 Polaris.",
|
|
1000
968
|
image: n.CDN_URL + "themes/polaris.png",
|
|
1001
|
-
prependIcon: `svg:${
|
|
969
|
+
prependIcon: `svg:${He}`,
|
|
1002
970
|
value: "polaris",
|
|
1003
971
|
disabled: !t.isSubscriber
|
|
1004
972
|
},
|
|
@@ -1006,7 +974,7 @@ const De = H("settings", () => {
|
|
|
1006
974
|
title: "Nebula",
|
|
1007
975
|
subtitle: "A theme for v3.6 Nebula.",
|
|
1008
976
|
image: n.CDN_URL + "themes/nebula.png",
|
|
1009
|
-
prependIcon: `svg:${
|
|
977
|
+
prependIcon: `svg:${Te}`,
|
|
1010
978
|
value: "nebula",
|
|
1011
979
|
disabled: !t.isSubscriber
|
|
1012
980
|
},
|
|
@@ -1014,14 +982,14 @@ const De = H("settings", () => {
|
|
|
1014
982
|
title: "Odyssey",
|
|
1015
983
|
subtitle: "A theme for v3.7 Odyssey.",
|
|
1016
984
|
image: n.CDN_URL + "themes/odyssey.png",
|
|
1017
|
-
prependIcon: `svg:${
|
|
985
|
+
prependIcon: `svg:${Re}`,
|
|
1018
986
|
value: "odyssey",
|
|
1019
987
|
disabled: !t.isSubscriber
|
|
1020
988
|
}
|
|
1021
|
-
]), c =
|
|
1022
|
-
{ title: "Standard", items:
|
|
1023
|
-
{ title: "Releases", items:
|
|
1024
|
-
]), r =
|
|
989
|
+
]), c = y(() => [
|
|
990
|
+
{ title: "Standard", items: s.value },
|
|
991
|
+
{ title: "Releases", items: u.value }
|
|
992
|
+
]), r = y({
|
|
1025
993
|
get: () => !o.one.ads.enabled,
|
|
1026
994
|
set: (f) => {
|
|
1027
995
|
o.one.ads.enabled = !f;
|
|
@@ -1031,59 +999,59 @@ const De = H("settings", () => {
|
|
|
1031
999
|
v.disabled || (o.one.theme = v.value, f?.());
|
|
1032
1000
|
}
|
|
1033
1001
|
return (f, v) => {
|
|
1034
|
-
const g =
|
|
1035
|
-
return d(), V(
|
|
1036
|
-
a(
|
|
1037
|
-
default:
|
|
1002
|
+
const g = ct, k = Po, w = ut;
|
|
1003
|
+
return d(), V(M, null, [
|
|
1004
|
+
a(ve, { class: "px-7" }, {
|
|
1005
|
+
default: i(() => [
|
|
1038
1006
|
a(g, {
|
|
1039
1007
|
text: "Customize your documentation experience with light and dark themes, as well as a combination of both named.",
|
|
1040
1008
|
title: "Theme"
|
|
1041
1009
|
}),
|
|
1042
|
-
a(
|
|
1010
|
+
a(fo, {
|
|
1043
1011
|
modelValue: e(o).one.theme,
|
|
1044
1012
|
"onUpdate:modelValue": v[0] || (v[0] = (C) => e(o).one.theme = C),
|
|
1045
1013
|
mandatory: ""
|
|
1046
1014
|
}, {
|
|
1047
|
-
default:
|
|
1048
|
-
a(
|
|
1049
|
-
default:
|
|
1050
|
-
(d(!0), V(
|
|
1051
|
-
key:
|
|
1015
|
+
default: i(() => [
|
|
1016
|
+
a(co, { density: "compact" }, {
|
|
1017
|
+
default: i(() => [
|
|
1018
|
+
(d(!0), V(M, null, q(c.value, (C, A) => (d(), p(mo, {
|
|
1019
|
+
key: A,
|
|
1052
1020
|
class: "d-flex flex-column ga-3",
|
|
1053
1021
|
cols: "12",
|
|
1054
1022
|
md: "6"
|
|
1055
1023
|
}, {
|
|
1056
|
-
default:
|
|
1057
|
-
a(
|
|
1058
|
-
default:
|
|
1059
|
-
|
|
1024
|
+
default: i(() => [
|
|
1025
|
+
a(eo, { class: "mb-n4" }, {
|
|
1026
|
+
default: i(() => [
|
|
1027
|
+
H(L(C.title), 1)
|
|
1060
1028
|
]),
|
|
1061
1029
|
_: 2
|
|
1062
1030
|
}, 1024),
|
|
1063
|
-
(d(!0), V(
|
|
1064
|
-
key:
|
|
1065
|
-
value:
|
|
1031
|
+
(d(!0), V(M, null, q(C.items, (x) => (d(), p(go, {
|
|
1032
|
+
key: x.value,
|
|
1033
|
+
value: x.value
|
|
1066
1034
|
}, {
|
|
1067
|
-
default:
|
|
1035
|
+
default: i(({ toggle: z, isSelected: ue }) => [
|
|
1068
1036
|
a(le, null, {
|
|
1069
|
-
default:
|
|
1070
|
-
a(
|
|
1037
|
+
default: i(({ props: gt, isHovering: vt }) => [
|
|
1038
|
+
a(O, E({
|
|
1071
1039
|
color: ue ? "primary" : "surface-variant",
|
|
1072
1040
|
height: "76",
|
|
1073
|
-
image:
|
|
1074
|
-
"prepend-icon":
|
|
1075
|
-
readonly:
|
|
1076
|
-
ripple: !
|
|
1077
|
-
subtitle:
|
|
1078
|
-
title:
|
|
1041
|
+
image: x.image,
|
|
1042
|
+
"prepend-icon": x.prependIcon,
|
|
1043
|
+
readonly: x.disabled,
|
|
1044
|
+
ripple: !x.disabled,
|
|
1045
|
+
subtitle: x.disabled ? "Unlock with Vuetify One" : x.subtitle,
|
|
1046
|
+
title: x.title,
|
|
1079
1047
|
variant: "tonal"
|
|
1080
|
-
}, { ref_for: !0 },
|
|
1081
|
-
onClick: (
|
|
1048
|
+
}, { ref_for: !0 }, gt, {
|
|
1049
|
+
onClick: (os) => m(z, x)
|
|
1082
1050
|
}), {
|
|
1083
|
-
image:
|
|
1084
|
-
a(
|
|
1085
|
-
style:
|
|
1086
|
-
filter: ue ||
|
|
1051
|
+
image: i(() => [
|
|
1052
|
+
a(Q, {
|
|
1053
|
+
style: Ze({
|
|
1054
|
+
filter: ue || vt ? "none" : "grayscale(100%)"
|
|
1087
1055
|
})
|
|
1088
1056
|
}, null, 8, ["style"])
|
|
1089
1057
|
]),
|
|
@@ -1104,16 +1072,16 @@ const De = H("settings", () => {
|
|
|
1104
1072
|
]),
|
|
1105
1073
|
_: 1
|
|
1106
1074
|
}, 8, ["modelValue"]),
|
|
1107
|
-
e(t).isSubscriber ? (d(), V(
|
|
1108
|
-
a(
|
|
1075
|
+
e(t).isSubscriber ? (d(), V(M, { key: 0 }, [
|
|
1076
|
+
a(N, { class: "mt-6 mb-4" }),
|
|
1109
1077
|
a(k)
|
|
1110
1078
|
], 64)) : h("", !0)
|
|
1111
1079
|
]),
|
|
1112
1080
|
_: 1
|
|
1113
1081
|
}),
|
|
1114
|
-
a(
|
|
1115
|
-
a(
|
|
1116
|
-
default:
|
|
1082
|
+
a(N),
|
|
1083
|
+
a(ve, { class: "px-7" }, {
|
|
1084
|
+
default: i(() => [
|
|
1117
1085
|
a(g, {
|
|
1118
1086
|
text: "These options change your browsing experience within Vuetify properties",
|
|
1119
1087
|
title: "Experience"
|
|
@@ -1127,9 +1095,9 @@ const De = H("settings", () => {
|
|
|
1127
1095
|
messages: "Disable traditional advertisements on all documentation pages."
|
|
1128
1096
|
}, null, 8, ["modelValue"])) : h("", !0),
|
|
1129
1097
|
a(re, null, {
|
|
1130
|
-
default:
|
|
1131
|
-
|
|
1132
|
-
b("div",
|
|
1098
|
+
default: i(() => [
|
|
1099
|
+
P(b("div", Eo, [
|
|
1100
|
+
b("div", zo, [
|
|
1133
1101
|
a(w, {
|
|
1134
1102
|
modelValue: e(o).one.ads.house,
|
|
1135
1103
|
"onUpdate:modelValue": v[2] || (v[2] = (C) => e(o).one.ads.house = C),
|
|
@@ -1138,7 +1106,7 @@ const De = H("settings", () => {
|
|
|
1138
1106
|
}, null, 8, ["modelValue"])
|
|
1139
1107
|
])
|
|
1140
1108
|
], 512), [
|
|
1141
|
-
[
|
|
1109
|
+
[ce, r.value]
|
|
1142
1110
|
])
|
|
1143
1111
|
]),
|
|
1144
1112
|
_: 1
|
|
@@ -1152,12 +1120,12 @@ const De = H("settings", () => {
|
|
|
1152
1120
|
]),
|
|
1153
1121
|
_: 1
|
|
1154
1122
|
}),
|
|
1155
|
-
a(
|
|
1156
|
-
e(t).isSubscriber ? (d(), p(
|
|
1123
|
+
a(N),
|
|
1124
|
+
e(t).isSubscriber ? (d(), p(ve, {
|
|
1157
1125
|
key: 0,
|
|
1158
1126
|
class: "px-7"
|
|
1159
1127
|
}, {
|
|
1160
|
-
default:
|
|
1128
|
+
default: i(() => [
|
|
1161
1129
|
a(g, {
|
|
1162
1130
|
text: "Vuetify will communicate with you through banners and notifications. You can disable these features here or reset your local notification cache.",
|
|
1163
1131
|
title: "Communication"
|
|
@@ -1181,30 +1149,30 @@ const De = H("settings", () => {
|
|
|
1181
1149
|
], 64);
|
|
1182
1150
|
};
|
|
1183
1151
|
}
|
|
1184
|
-
}),
|
|
1152
|
+
}), Oo = /* @__PURE__ */ _({
|
|
1185
1153
|
__name: "VoSettingsDialog",
|
|
1186
1154
|
props: {
|
|
1187
1155
|
modelValue: { type: Boolean },
|
|
1188
1156
|
modelModifiers: {}
|
|
1189
1157
|
},
|
|
1190
1158
|
emits: ["update:modelValue"],
|
|
1191
|
-
setup(
|
|
1192
|
-
const t = ie(
|
|
1193
|
-
return
|
|
1194
|
-
o.value.one === "settings" && (n.isOpen = !0, await
|
|
1195
|
-
}, { immediate: !0 }), (
|
|
1196
|
-
const c =
|
|
1159
|
+
setup(l) {
|
|
1160
|
+
const t = ie(l, "modelValue"), n = j(), o = ze();
|
|
1161
|
+
return te(o, async () => {
|
|
1162
|
+
o.value.one === "settings" && (n.isOpen = !0, await Be(), t.value = !0);
|
|
1163
|
+
}, { immediate: !0 }), (s, u) => {
|
|
1164
|
+
const c = jo, r = lt;
|
|
1197
1165
|
return d(), p(r, {
|
|
1198
1166
|
modelValue: t.value,
|
|
1199
|
-
"onUpdate:modelValue":
|
|
1200
|
-
"prepend-icon": `svg:${e(
|
|
1167
|
+
"onUpdate:modelValue": u[0] || (u[0] = (m) => t.value = m),
|
|
1168
|
+
"prepend-icon": `svg:${e(Nt)}`,
|
|
1201
1169
|
title: "Settings"
|
|
1202
1170
|
}, {
|
|
1203
|
-
default:
|
|
1204
|
-
a(
|
|
1205
|
-
default:
|
|
1206
|
-
a(
|
|
1207
|
-
default:
|
|
1171
|
+
default: i(() => [
|
|
1172
|
+
a(Qe, null, {
|
|
1173
|
+
default: i(() => [
|
|
1174
|
+
a(Ye, { scrollable: "" }, {
|
|
1175
|
+
default: i(() => [
|
|
1208
1176
|
a(c)
|
|
1209
1177
|
]),
|
|
1210
1178
|
_: 1
|
|
@@ -1217,181 +1185,30 @@ const De = H("settings", () => {
|
|
|
1217
1185
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
1218
1186
|
};
|
|
1219
1187
|
}
|
|
1220
|
-
}),
|
|
1188
|
+
}), Ho = /* @__PURE__ */ _({
|
|
1221
1189
|
__name: "VoSettingsListItem",
|
|
1222
|
-
setup(
|
|
1223
|
-
const t =
|
|
1190
|
+
setup(l) {
|
|
1191
|
+
const t = Z(!1);
|
|
1224
1192
|
return (n, o) => {
|
|
1225
|
-
const
|
|
1226
|
-
return d(), p(
|
|
1193
|
+
const s = Oo, u = X;
|
|
1194
|
+
return d(), p(u, {
|
|
1227
1195
|
active: e(t),
|
|
1228
1196
|
link: "",
|
|
1229
|
-
"prepend-icon": `svg:${e(
|
|
1197
|
+
"prepend-icon": `svg:${e(Et)}`,
|
|
1230
1198
|
rounded: "lg",
|
|
1231
1199
|
title: "Settings"
|
|
1232
1200
|
}, {
|
|
1233
|
-
default:
|
|
1234
|
-
a(
|
|
1201
|
+
default: i(() => [
|
|
1202
|
+
a(s, {
|
|
1235
1203
|
modelValue: e(t),
|
|
1236
|
-
"onUpdate:modelValue": o[0] || (o[0] = (c) =>
|
|
1204
|
+
"onUpdate:modelValue": o[0] || (o[0] = (c) => ne(t) ? t.value = c : null)
|
|
1237
1205
|
}, null, 8, ["modelValue"])
|
|
1238
1206
|
]),
|
|
1239
1207
|
_: 1
|
|
1240
1208
|
}, 8, ["active", "prepend-icon"]);
|
|
1241
1209
|
};
|
|
1242
1210
|
}
|
|
1243
|
-
}),
|
|
1244
|
-
const u = G(), t = R(), n = F([]), o = A(!1);
|
|
1245
|
-
async function i() {
|
|
1246
|
-
if (n.value.length > 0)
|
|
1247
|
-
return n.value;
|
|
1248
|
-
o.value = !0;
|
|
1249
|
-
try {
|
|
1250
|
-
const l = await u.get("/one/sendowl/downloads");
|
|
1251
|
-
n.value = l.downloads;
|
|
1252
|
-
} catch (l) {
|
|
1253
|
-
t.showError(l?.message ?? "Error fetching downloads");
|
|
1254
|
-
} finally {
|
|
1255
|
-
o.value = !1;
|
|
1256
|
-
}
|
|
1257
|
-
return n.value;
|
|
1258
|
-
}
|
|
1259
|
-
return {
|
|
1260
|
-
all: n,
|
|
1261
|
-
isLoading: o,
|
|
1262
|
-
index: i
|
|
1263
|
-
};
|
|
1264
|
-
}), Jo = /* @__PURE__ */ y({
|
|
1265
|
-
__name: "VoDownloadsTable",
|
|
1266
|
-
setup(u) {
|
|
1267
|
-
const t = $e(), n = Yo(), o = [
|
|
1268
|
-
{
|
|
1269
|
-
title: "Order ID",
|
|
1270
|
-
value: "order_name"
|
|
1271
|
-
},
|
|
1272
|
-
{
|
|
1273
|
-
title: "Items",
|
|
1274
|
-
value: "download_items"
|
|
1275
|
-
},
|
|
1276
|
-
{
|
|
1277
|
-
title: "Order date",
|
|
1278
|
-
value: "created_at",
|
|
1279
|
-
align: "end"
|
|
1280
|
-
},
|
|
1281
|
-
{
|
|
1282
|
-
title: "Download",
|
|
1283
|
-
align: "end",
|
|
1284
|
-
value: "download_url"
|
|
1285
|
-
}
|
|
1286
|
-
];
|
|
1287
|
-
return me(async () => {
|
|
1288
|
-
await n.index();
|
|
1289
|
-
}), (i, l) => {
|
|
1290
|
-
const c = Ae;
|
|
1291
|
-
return d(), p(et, null, {
|
|
1292
|
-
default: s(() => [
|
|
1293
|
-
a(tt, { cols: "12" }, {
|
|
1294
|
-
default: s(() => [
|
|
1295
|
-
a(c, {
|
|
1296
|
-
text: "View and download your store purchases.",
|
|
1297
|
-
title: "Download history"
|
|
1298
|
-
}),
|
|
1299
|
-
a(j, {
|
|
1300
|
-
border: "",
|
|
1301
|
-
flat: "",
|
|
1302
|
-
rounded: "lg"
|
|
1303
|
-
}, {
|
|
1304
|
-
default: s(() => [
|
|
1305
|
-
a(bo, {
|
|
1306
|
-
"fixed-header": "",
|
|
1307
|
-
headers: o,
|
|
1308
|
-
height: "640",
|
|
1309
|
-
items: e(n).all,
|
|
1310
|
-
loading: e(n).isLoading
|
|
1311
|
-
}, {
|
|
1312
|
-
"item.order_name": s(({ item: r }) => [
|
|
1313
|
-
E(" #" + x(r.order_name), 1)
|
|
1314
|
-
]),
|
|
1315
|
-
"item.created_at": s(({ item: r }) => [
|
|
1316
|
-
E(x(e(t).format(r.created_at, "shortDate")), 1)
|
|
1317
|
-
]),
|
|
1318
|
-
"item.download_items": s(({ item: r }) => [
|
|
1319
|
-
(d(!0), V(S, null, q(r.download_items, (m, f) => (d(), V("div", {
|
|
1320
|
-
key: f,
|
|
1321
|
-
class: "text-truncate"
|
|
1322
|
-
}, x(m.name), 1))), 128))
|
|
1323
|
-
]),
|
|
1324
|
-
"item.download_url": s(({ item: r }) => [
|
|
1325
|
-
a(B, {
|
|
1326
|
-
color: "medium-emphasis",
|
|
1327
|
-
href: r.download_url,
|
|
1328
|
-
icon: `svg:${e(Rt)}`,
|
|
1329
|
-
size: "small",
|
|
1330
|
-
target: "_blank",
|
|
1331
|
-
variant: "text"
|
|
1332
|
-
}, null, 8, ["href", "icon"])
|
|
1333
|
-
]),
|
|
1334
|
-
_: 1
|
|
1335
|
-
}, 8, ["items", "loading"])
|
|
1336
|
-
]),
|
|
1337
|
-
_: 1
|
|
1338
|
-
})
|
|
1339
|
-
]),
|
|
1340
|
-
_: 1
|
|
1341
|
-
})
|
|
1342
|
-
]),
|
|
1343
|
-
_: 1
|
|
1344
|
-
});
|
|
1345
|
-
};
|
|
1346
|
-
}
|
|
1347
|
-
}), Ko = { class: "px-3" }, Xo = /* @__PURE__ */ y({
|
|
1348
|
-
__name: "VoDownloadsNavItem",
|
|
1349
|
-
setup(u) {
|
|
1350
|
-
const t = A(!1);
|
|
1351
|
-
return (n, o) => {
|
|
1352
|
-
const i = Jo, l = Me, c = K;
|
|
1353
|
-
return d(), p(c, {
|
|
1354
|
-
active: e(t),
|
|
1355
|
-
link: "",
|
|
1356
|
-
"prepend-icon": `svg:${e(Be)}`,
|
|
1357
|
-
rounded: "lg",
|
|
1358
|
-
title: "Downloads"
|
|
1359
|
-
}, {
|
|
1360
|
-
default: s(() => [
|
|
1361
|
-
a(l, {
|
|
1362
|
-
modelValue: e(t),
|
|
1363
|
-
"onUpdate:modelValue": o[0] || (o[0] = (r) => te(t) ? t.value = r : null),
|
|
1364
|
-
"prepend-icon": `svg:${e(Be)}`,
|
|
1365
|
-
title: "Downloads"
|
|
1366
|
-
}, {
|
|
1367
|
-
default: s(() => [
|
|
1368
|
-
a(xe, null, {
|
|
1369
|
-
default: s(() => [
|
|
1370
|
-
a(Le, { scrollable: "" }, {
|
|
1371
|
-
default: s(() => [
|
|
1372
|
-
b("div", Ko, [
|
|
1373
|
-
a(ce, null, {
|
|
1374
|
-
default: s(() => [
|
|
1375
|
-
a(i)
|
|
1376
|
-
]),
|
|
1377
|
-
_: 1
|
|
1378
|
-
})
|
|
1379
|
-
])
|
|
1380
|
-
]),
|
|
1381
|
-
_: 1
|
|
1382
|
-
})
|
|
1383
|
-
]),
|
|
1384
|
-
_: 1
|
|
1385
|
-
})
|
|
1386
|
-
]),
|
|
1387
|
-
_: 1
|
|
1388
|
-
}, 8, ["modelValue", "prepend-icon"])
|
|
1389
|
-
]),
|
|
1390
|
-
_: 1
|
|
1391
|
-
}, 8, ["active", "prepend-icon"]);
|
|
1392
|
-
};
|
|
1393
|
-
}
|
|
1394
|
-
}), Pe = [
|
|
1211
|
+
}), De = [
|
|
1395
1212
|
{
|
|
1396
1213
|
id: "play",
|
|
1397
1214
|
name: "Vuetify Play",
|
|
@@ -1463,64 +1280,64 @@ const De = H("settings", () => {
|
|
|
1463
1280
|
icon: "$vuetify-figma"
|
|
1464
1281
|
}
|
|
1465
1282
|
];
|
|
1466
|
-
function
|
|
1467
|
-
const
|
|
1468
|
-
|
|
1469
|
-
!
|
|
1283
|
+
function dt() {
|
|
1284
|
+
const l = S(), t = se(() => De.filter((s) => l.one.ecosystem.pinned.includes(s.id)));
|
|
1285
|
+
te(() => l.one.quicklinks, (s) => {
|
|
1286
|
+
!s && l.one.ecosystem.pinned.length > 0 && (l.one.ecosystem.pinned = []);
|
|
1470
1287
|
});
|
|
1471
|
-
function n(
|
|
1472
|
-
return
|
|
1288
|
+
function n(s) {
|
|
1289
|
+
return l.one.ecosystem.pinned.includes(s);
|
|
1473
1290
|
}
|
|
1474
|
-
function o(
|
|
1475
|
-
const
|
|
1476
|
-
|
|
1291
|
+
function o(s) {
|
|
1292
|
+
const u = l.one.ecosystem.pinned.indexOf(s);
|
|
1293
|
+
u === -1 ? (l.one.ecosystem.pinned.push(s), l.one.quicklinks || (l.one.quicklinks = !0)) : l.one.ecosystem.pinned.splice(u, 1);
|
|
1477
1294
|
}
|
|
1478
1295
|
return {
|
|
1479
|
-
actions:
|
|
1296
|
+
actions: De,
|
|
1480
1297
|
pinned: t,
|
|
1481
1298
|
isPinned: n,
|
|
1482
1299
|
togglePin: o
|
|
1483
1300
|
};
|
|
1484
1301
|
}
|
|
1485
|
-
const
|
|
1302
|
+
const Ue = /* @__PURE__ */ _({
|
|
1486
1303
|
__name: "VoEcosystemMenu",
|
|
1487
|
-
setup(
|
|
1488
|
-
const t = D(), { actions: n, isPinned: o, togglePin:
|
|
1489
|
-
return (
|
|
1304
|
+
setup(l) {
|
|
1305
|
+
const t = D(), { actions: n, isPinned: o, togglePin: s } = dt();
|
|
1306
|
+
return (u, c) => (d(), p(O, {
|
|
1490
1307
|
border: "",
|
|
1491
1308
|
"min-width": "240",
|
|
1492
1309
|
rounded: "lg"
|
|
1493
1310
|
}, {
|
|
1494
|
-
default:
|
|
1495
|
-
a(
|
|
1311
|
+
default: i(() => [
|
|
1312
|
+
a(oe, {
|
|
1496
1313
|
density: "compact",
|
|
1497
1314
|
nav: ""
|
|
1498
1315
|
}, {
|
|
1499
|
-
default:
|
|
1500
|
-
(d(!0), V(
|
|
1316
|
+
default: i(() => [
|
|
1317
|
+
(d(!0), V(M, null, q(e(n), (r) => P((d(), p(J, {
|
|
1501
1318
|
key: r.id,
|
|
1502
1319
|
href: r.href,
|
|
1503
1320
|
"prepend-icon": r.icon,
|
|
1504
1321
|
rounded: "lg",
|
|
1505
1322
|
target: "_blank",
|
|
1506
1323
|
title: r.name
|
|
1507
|
-
},
|
|
1324
|
+
}, U({ _: 2 }, [
|
|
1508
1325
|
e(t).user ? {
|
|
1509
1326
|
name: "append",
|
|
1510
|
-
fn:
|
|
1511
|
-
|
|
1512
|
-
icon: `svg:${e(o)(r.id) ? e(
|
|
1327
|
+
fn: i(() => [
|
|
1328
|
+
P(a(B, {
|
|
1329
|
+
icon: `svg:${e(o)(r.id) ? e(zt) : e(jt)}`,
|
|
1513
1330
|
size: "x-small",
|
|
1514
1331
|
variant: "text",
|
|
1515
|
-
onClick: ae((m) => e(
|
|
1332
|
+
onClick: ae((m) => e(s)(r.id), ["prevent", "stop"])
|
|
1516
1333
|
}, null, 8, ["icon", "onClick"]), [
|
|
1517
|
-
[
|
|
1334
|
+
[R, e(o)(r.id) ? "Unpin" : "Pin", "top"]
|
|
1518
1335
|
])
|
|
1519
1336
|
]),
|
|
1520
1337
|
key: "0"
|
|
1521
1338
|
} : void 0
|
|
1522
1339
|
]), 1032, ["href", "prepend-icon", "title"])), [
|
|
1523
|
-
[
|
|
1340
|
+
[R, r.description, "start"]
|
|
1524
1341
|
])), 128))
|
|
1525
1342
|
]),
|
|
1526
1343
|
_: 1
|
|
@@ -1529,43 +1346,43 @@ const Ee = /* @__PURE__ */ y({
|
|
|
1529
1346
|
_: 1
|
|
1530
1347
|
}));
|
|
1531
1348
|
}
|
|
1532
|
-
}),
|
|
1349
|
+
}), To = /* @__PURE__ */ _({
|
|
1533
1350
|
__name: "VoEcosystemListItem",
|
|
1534
|
-
setup(
|
|
1535
|
-
const t =
|
|
1536
|
-
return
|
|
1537
|
-
|
|
1538
|
-
}), (
|
|
1539
|
-
const c =
|
|
1351
|
+
setup(l) {
|
|
1352
|
+
const t = S(), { mobile: n } = K(), o = Z(!1);
|
|
1353
|
+
return te(o, (s) => {
|
|
1354
|
+
s && !t.one.ecosystem.seen && (t.one.ecosystem.seen = !0);
|
|
1355
|
+
}), (s, u) => {
|
|
1356
|
+
const c = X;
|
|
1540
1357
|
return d(), p(c, {
|
|
1541
1358
|
link: "",
|
|
1542
1359
|
"prepend-icon": "$vuetify-outline",
|
|
1543
1360
|
rounded: "lg",
|
|
1544
1361
|
title: "Vuetify Ecosystem"
|
|
1545
|
-
},
|
|
1546
|
-
default:
|
|
1547
|
-
e(n) ? (d(), p(
|
|
1362
|
+
}, U({
|
|
1363
|
+
default: i(() => [
|
|
1364
|
+
e(n) ? (d(), p(de, {
|
|
1548
1365
|
key: 0,
|
|
1549
1366
|
modelValue: e(o),
|
|
1550
|
-
"onUpdate:modelValue":
|
|
1367
|
+
"onUpdate:modelValue": u[0] || (u[0] = (r) => ne(o) ? o.value = r : null),
|
|
1551
1368
|
activator: "parent",
|
|
1552
1369
|
"max-width": "320"
|
|
1553
1370
|
}, {
|
|
1554
|
-
default:
|
|
1555
|
-
a(
|
|
1371
|
+
default: i(() => [
|
|
1372
|
+
a(Ue)
|
|
1556
1373
|
]),
|
|
1557
1374
|
_: 1
|
|
1558
|
-
}, 8, ["modelValue"])) : (d(), p(
|
|
1375
|
+
}, 8, ["modelValue"])) : (d(), p($e, {
|
|
1559
1376
|
key: 1,
|
|
1560
1377
|
modelValue: e(o),
|
|
1561
|
-
"onUpdate:modelValue":
|
|
1378
|
+
"onUpdate:modelValue": u[1] || (u[1] = (r) => ne(o) ? o.value = r : null),
|
|
1562
1379
|
activator: "parent",
|
|
1563
1380
|
"close-on-content-click": !1,
|
|
1564
1381
|
offset: [16, 16],
|
|
1565
1382
|
submenu: ""
|
|
1566
1383
|
}, {
|
|
1567
|
-
default:
|
|
1568
|
-
a(
|
|
1384
|
+
default: i(() => [
|
|
1385
|
+
a(Ue)
|
|
1569
1386
|
]),
|
|
1570
1387
|
_: 1
|
|
1571
1388
|
}, 8, ["modelValue"]))
|
|
@@ -1574,7 +1391,7 @@ const Ee = /* @__PURE__ */ y({
|
|
|
1574
1391
|
}, [
|
|
1575
1392
|
e(t).one.ecosystem.seen ? void 0 : {
|
|
1576
1393
|
name: "append",
|
|
1577
|
-
fn:
|
|
1394
|
+
fn: i(() => [
|
|
1578
1395
|
a(ee, {
|
|
1579
1396
|
color: "success",
|
|
1580
1397
|
size: "x-small",
|
|
@@ -1587,89 +1404,89 @@ const Ee = /* @__PURE__ */ y({
|
|
|
1587
1404
|
]), 1024);
|
|
1588
1405
|
};
|
|
1589
1406
|
}
|
|
1590
|
-
}),
|
|
1407
|
+
}), Ro = {
|
|
1591
1408
|
key: 0,
|
|
1592
1409
|
class: "pt-16"
|
|
1593
|
-
},
|
|
1410
|
+
}, qo = {
|
|
1594
1411
|
key: 1,
|
|
1595
1412
|
class: "pa-5"
|
|
1596
|
-
},
|
|
1413
|
+
}, Go = { class: "text-body-large font-weight-bold" }, Wo = { class: "text-body-small font-weight-bold text-medium-emphasis" }, Qo = { class: "text-disabled text-body-small mt-2 mb-3" }, Yo = /* @__PURE__ */ _({
|
|
1597
1414
|
__name: "VoNotificationsBannerList",
|
|
1598
1415
|
props: {
|
|
1599
1416
|
items: {}
|
|
1600
1417
|
},
|
|
1601
|
-
setup(
|
|
1602
|
-
const t =
|
|
1603
|
-
function
|
|
1418
|
+
setup(l) {
|
|
1419
|
+
const t = We(), n = K(), o = S();
|
|
1420
|
+
function s(c) {
|
|
1604
1421
|
return o.one.banners.read.includes(c);
|
|
1605
1422
|
}
|
|
1606
|
-
function
|
|
1607
|
-
|
|
1423
|
+
function u(c) {
|
|
1424
|
+
s(c.slug) ? o.one.banners.read = o.one.banners.read.filter((r) => r !== c.slug) : o.one.banners.read.push(c.slug);
|
|
1608
1425
|
}
|
|
1609
|
-
return (c, r) => (d(), p(
|
|
1426
|
+
return (c, r) => (d(), p(oe, {
|
|
1610
1427
|
class: "py-0",
|
|
1611
1428
|
height: "100%",
|
|
1612
1429
|
lines: "three"
|
|
1613
1430
|
}, {
|
|
1614
|
-
default:
|
|
1615
|
-
|
|
1616
|
-
a(
|
|
1431
|
+
default: i(() => [
|
|
1432
|
+
l.items.length === 0 ? (d(), V("div", Ro, [
|
|
1433
|
+
a(Je, {
|
|
1617
1434
|
icon: "$vuetify",
|
|
1618
1435
|
size: "256"
|
|
1619
1436
|
}, {
|
|
1620
|
-
media:
|
|
1621
|
-
a(
|
|
1437
|
+
media: i(() => [
|
|
1438
|
+
a(I, { color: "medium-emphasis" })
|
|
1622
1439
|
]),
|
|
1623
|
-
title:
|
|
1440
|
+
title: i(() => [...r[0] || (r[0] = [
|
|
1624
1441
|
b("div", { class: "text-medium-emphasis" }, " All caught up ", -1)
|
|
1625
1442
|
])]),
|
|
1626
1443
|
_: 1
|
|
1627
1444
|
})
|
|
1628
|
-
])) : (d(), V("div",
|
|
1629
|
-
(d(!0), V(
|
|
1445
|
+
])) : (d(), V("div", qo, [
|
|
1446
|
+
(d(!0), V(M, null, q(l.items, (m) => (d(), V("div", {
|
|
1630
1447
|
key: m.slug,
|
|
1631
1448
|
class: "mb-4"
|
|
1632
1449
|
}, [
|
|
1633
|
-
a(
|
|
1450
|
+
a(O, {
|
|
1634
1451
|
color: m.metadata.color,
|
|
1635
1452
|
flat: "",
|
|
1636
1453
|
image: m.metadata.images.bg?.url,
|
|
1637
1454
|
rounded: "b-0",
|
|
1638
1455
|
title: m.title
|
|
1639
1456
|
}, {
|
|
1640
|
-
prepend:
|
|
1641
|
-
a(
|
|
1457
|
+
prepend: i(() => [
|
|
1458
|
+
a(G, {
|
|
1642
1459
|
image: m.metadata.images.logo?.url
|
|
1643
1460
|
}, null, 8, ["image"])
|
|
1644
1461
|
]),
|
|
1645
|
-
image:
|
|
1646
|
-
a(
|
|
1462
|
+
image: i(() => [
|
|
1463
|
+
a(Q, { position: "right" })
|
|
1647
1464
|
]),
|
|
1648
1465
|
_: 2
|
|
1649
1466
|
}, 1032, ["color", "image", "title"]),
|
|
1650
1467
|
a(le, null, {
|
|
1651
|
-
default:
|
|
1652
|
-
a(
|
|
1468
|
+
default: i(({ props: f, isHovering: v }) => [
|
|
1469
|
+
a(me, E({ ref_for: !0 }, f, {
|
|
1653
1470
|
border: "",
|
|
1654
1471
|
class: "px-8 pt-2 pb-4 position-relative",
|
|
1655
1472
|
rounded: "b"
|
|
1656
1473
|
}), {
|
|
1657
|
-
default:
|
|
1658
|
-
a(
|
|
1474
|
+
default: i(() => [
|
|
1475
|
+
a(Ke, {
|
|
1659
1476
|
location: "bottom",
|
|
1660
|
-
text:
|
|
1477
|
+
text: s(m.slug) ? "Mark as unread" : "Mark as read"
|
|
1661
1478
|
}, {
|
|
1662
|
-
activator:
|
|
1663
|
-
a(
|
|
1664
|
-
default:
|
|
1665
|
-
|
|
1479
|
+
activator: i(({ props: g }) => [
|
|
1480
|
+
a(pe, { "hide-on-leave": "" }, {
|
|
1481
|
+
default: i(() => [
|
|
1482
|
+
P(a(B, E({ ref_for: !0 }, g, {
|
|
1666
1483
|
class: "ms-auto float-right",
|
|
1667
|
-
icon: `svg:${
|
|
1484
|
+
icon: `svg:${s(m.slug) ? e(ke) : e(Ce)}`,
|
|
1668
1485
|
size: "small",
|
|
1669
1486
|
variant: "text",
|
|
1670
|
-
onClick: (k) =>
|
|
1487
|
+
onClick: (k) => u(m)
|
|
1671
1488
|
}), null, 16, ["icon", "onClick"]), [
|
|
1672
|
-
[
|
|
1489
|
+
[ce, v || e(n).mobile.value]
|
|
1673
1490
|
])
|
|
1674
1491
|
]),
|
|
1675
1492
|
_: 2
|
|
@@ -1677,10 +1494,10 @@ const Ee = /* @__PURE__ */ y({
|
|
|
1677
1494
|
]),
|
|
1678
1495
|
_: 2
|
|
1679
1496
|
}, 1032, ["text"]),
|
|
1680
|
-
b("div",
|
|
1681
|
-
b("div",
|
|
1682
|
-
b("div",
|
|
1683
|
-
a(ee,
|
|
1497
|
+
b("div", Go, L(m.metadata.text), 1),
|
|
1498
|
+
b("div", Wo, L(e(t).format(m.created_at, "fullDateWithWeekday")), 1),
|
|
1499
|
+
b("div", Qo, L(m.metadata.subtext), 1),
|
|
1500
|
+
a(ee, E({ ref_for: !0 }, {
|
|
1684
1501
|
href: m.metadata.link.startsWith("http") ? m.metadata.link : void 0,
|
|
1685
1502
|
target: m.metadata.link.startsWith("http") ? "_blank" : void 0,
|
|
1686
1503
|
to: m.metadata.link.startsWith("http") ? void 0 : m.metadata.link
|
|
@@ -1692,8 +1509,8 @@ const Ee = /* @__PURE__ */ y({
|
|
|
1692
1509
|
text: m.metadata.link_text,
|
|
1693
1510
|
variant: "text"
|
|
1694
1511
|
}), {
|
|
1695
|
-
append:
|
|
1696
|
-
a(
|
|
1512
|
+
append: i(() => [
|
|
1513
|
+
a(I, { size: "12" })
|
|
1697
1514
|
]),
|
|
1698
1515
|
_: 1
|
|
1699
1516
|
}, 16, ["append-icon", "text"])
|
|
@@ -1709,14 +1526,14 @@ const Ee = /* @__PURE__ */ y({
|
|
|
1709
1526
|
_: 1
|
|
1710
1527
|
}));
|
|
1711
1528
|
}
|
|
1712
|
-
}),
|
|
1529
|
+
}), Jo = { class: "ps-3 text-title-small pe-2" }, Ko = { class: "text-truncate" }, Xo = { class: "text-body-small font-weight-bold text-medium-emphasis" }, en = { class: "text-disabled text-body-small my-2" }, tn = /* @__PURE__ */ _({
|
|
1713
1530
|
__name: "VoNotificationsListItem",
|
|
1714
1531
|
props: {
|
|
1715
1532
|
demo: { type: Boolean },
|
|
1716
1533
|
notification: {}
|
|
1717
1534
|
},
|
|
1718
|
-
setup(
|
|
1719
|
-
const t =
|
|
1535
|
+
setup(l) {
|
|
1536
|
+
const t = l, n = S(), o = We(), s = K(), u = y(() => {
|
|
1720
1537
|
const m = t.notification.metadata ?? { action: "" };
|
|
1721
1538
|
return {
|
|
1722
1539
|
href: m.action.startsWith("http") ? m.action : void 0,
|
|
@@ -1735,35 +1552,35 @@ const Ee = /* @__PURE__ */ y({
|
|
|
1735
1552
|
t.demo || (c(m.slug) ? n.one.notifications.read = n.one.notifications.read.filter((f) => f !== m.slug) : n.one.notifications.read.push(m.slug));
|
|
1736
1553
|
}
|
|
1737
1554
|
return (m, f) => {
|
|
1738
|
-
const v =
|
|
1555
|
+
const v = X;
|
|
1739
1556
|
return d(), p(le, null, {
|
|
1740
|
-
default:
|
|
1741
|
-
a(v,
|
|
1742
|
-
prepend:
|
|
1743
|
-
b("div",
|
|
1557
|
+
default: i(({ isHovering: g, props: k }) => [
|
|
1558
|
+
a(v, E(k, { class: "py-4 mb-0" }), {
|
|
1559
|
+
prepend: i(() => [
|
|
1560
|
+
b("div", Jo, L(l.notification.metadata.emoji), 1)
|
|
1744
1561
|
]),
|
|
1745
|
-
append:
|
|
1746
|
-
a(
|
|
1562
|
+
append: i(() => [
|
|
1563
|
+
a(ho, {
|
|
1747
1564
|
class: "mt-n3",
|
|
1748
1565
|
width: "56"
|
|
1749
1566
|
}, {
|
|
1750
|
-
default:
|
|
1751
|
-
a(
|
|
1567
|
+
default: i(() => [
|
|
1568
|
+
a(Ke, {
|
|
1752
1569
|
location: "bottom",
|
|
1753
|
-
text: c(
|
|
1570
|
+
text: c(l.notification.slug) ? "Mark as unread" : "Mark as read"
|
|
1754
1571
|
}, {
|
|
1755
|
-
activator:
|
|
1756
|
-
a(
|
|
1757
|
-
default:
|
|
1758
|
-
|
|
1572
|
+
activator: i(({ props: w }) => [
|
|
1573
|
+
a(pe, { "hide-on-leave": "" }, {
|
|
1574
|
+
default: i(() => [
|
|
1575
|
+
P(a(B, E(w, {
|
|
1759
1576
|
class: "ms-auto",
|
|
1760
|
-
icon: `svg:${c(
|
|
1577
|
+
icon: `svg:${c(l.notification.slug) ? e(ke) : e(Ce)}`,
|
|
1761
1578
|
"mdi-email-variant": "",
|
|
1762
1579
|
size: "small",
|
|
1763
1580
|
variant: "text",
|
|
1764
|
-
onClick: f[0] || (f[0] = (C) => r(
|
|
1581
|
+
onClick: f[0] || (f[0] = (C) => r(l.notification))
|
|
1765
1582
|
}), null, 16, ["icon"]), [
|
|
1766
|
-
[
|
|
1583
|
+
[ce, g || e(s).mobile.value]
|
|
1767
1584
|
])
|
|
1768
1585
|
]),
|
|
1769
1586
|
_: 2
|
|
@@ -1775,26 +1592,26 @@ const Ee = /* @__PURE__ */ y({
|
|
|
1775
1592
|
_: 2
|
|
1776
1593
|
}, 1024)
|
|
1777
1594
|
]),
|
|
1778
|
-
default:
|
|
1779
|
-
a(
|
|
1780
|
-
default:
|
|
1781
|
-
b("div",
|
|
1595
|
+
default: i(() => [
|
|
1596
|
+
a(qe, { class: "text-wrap text-title-large mb-1" }, {
|
|
1597
|
+
default: i(() => [
|
|
1598
|
+
b("div", Ko, L(l.notification.title), 1)
|
|
1782
1599
|
]),
|
|
1783
1600
|
_: 1
|
|
1784
1601
|
}),
|
|
1785
|
-
b("div",
|
|
1786
|
-
b("div",
|
|
1787
|
-
a(ee,
|
|
1602
|
+
b("div", Xo, L(e(o).format(l.notification.created_at, "fullDateWithWeekday")), 1),
|
|
1603
|
+
b("div", en, L(l.notification.metadata.text), 1),
|
|
1604
|
+
a(ee, E({
|
|
1788
1605
|
"append-icon": `svg:${e(Ve)}`
|
|
1789
|
-
}, e(
|
|
1606
|
+
}, e(u), {
|
|
1790
1607
|
border: "",
|
|
1791
1608
|
label: "",
|
|
1792
1609
|
size: "small",
|
|
1793
|
-
text:
|
|
1610
|
+
text: l.notification.metadata.action_text,
|
|
1794
1611
|
variant: "text"
|
|
1795
1612
|
}), {
|
|
1796
|
-
append:
|
|
1797
|
-
a(
|
|
1613
|
+
append: i(() => [
|
|
1614
|
+
a(I, { size: "12" })
|
|
1798
1615
|
]),
|
|
1799
1616
|
_: 1
|
|
1800
1617
|
}, 16, ["append-icon", "text"])
|
|
@@ -1806,55 +1623,55 @@ const Ee = /* @__PURE__ */ y({
|
|
|
1806
1623
|
});
|
|
1807
1624
|
};
|
|
1808
1625
|
}
|
|
1809
|
-
}),
|
|
1626
|
+
}), on = {
|
|
1810
1627
|
key: 0,
|
|
1811
1628
|
class: "pt-16"
|
|
1812
|
-
},
|
|
1629
|
+
}, nn = /* @__PURE__ */ _({
|
|
1813
1630
|
__name: "VoNotificationsList",
|
|
1814
1631
|
props: {
|
|
1815
1632
|
items: {}
|
|
1816
1633
|
},
|
|
1817
|
-
setup(
|
|
1634
|
+
setup(l) {
|
|
1818
1635
|
return (t, n) => {
|
|
1819
|
-
const o =
|
|
1820
|
-
return d(), p(
|
|
1636
|
+
const o = tn;
|
|
1637
|
+
return d(), p(oe, {
|
|
1821
1638
|
class: "py-0",
|
|
1822
1639
|
height: "100%",
|
|
1823
1640
|
lines: "three"
|
|
1824
1641
|
}, {
|
|
1825
|
-
default:
|
|
1826
|
-
|
|
1827
|
-
a(
|
|
1642
|
+
default: i(() => [
|
|
1643
|
+
l.items.length === 0 ? (d(), V("div", on, [
|
|
1644
|
+
a(Je, {
|
|
1828
1645
|
icon: "$vuetify",
|
|
1829
1646
|
size: "256"
|
|
1830
1647
|
}, {
|
|
1831
|
-
media:
|
|
1832
|
-
a(
|
|
1648
|
+
media: i(() => [
|
|
1649
|
+
a(I, { color: "medium-emphasis" })
|
|
1833
1650
|
]),
|
|
1834
|
-
title:
|
|
1651
|
+
title: i(() => [...n[0] || (n[0] = [
|
|
1835
1652
|
b("div", { class: "text-medium-emphasis" }, " All caught up ", -1)
|
|
1836
1653
|
])]),
|
|
1837
1654
|
_: 1
|
|
1838
1655
|
})
|
|
1839
|
-
])) : (d(!0), V(
|
|
1840
|
-
key:
|
|
1656
|
+
])) : (d(!0), V(M, { key: 1 }, q(l.items, (s, u) => (d(), V(M, {
|
|
1657
|
+
key: s.slug
|
|
1841
1658
|
}, [
|
|
1842
|
-
|
|
1843
|
-
a(o, { notification:
|
|
1659
|
+
u !== 0 ? (d(), p(N, { key: 0 })) : h("", !0),
|
|
1660
|
+
a(o, { notification: s }, null, 8, ["notification"])
|
|
1844
1661
|
], 64))), 128))
|
|
1845
1662
|
]),
|
|
1846
1663
|
_: 1
|
|
1847
1664
|
});
|
|
1848
1665
|
};
|
|
1849
1666
|
}
|
|
1850
|
-
}),
|
|
1851
|
-
const
|
|
1667
|
+
}), we = T("site", () => {
|
|
1668
|
+
const l = F([]), t = F();
|
|
1852
1669
|
return {
|
|
1853
|
-
id:
|
|
1670
|
+
id: l,
|
|
1854
1671
|
url: t
|
|
1855
1672
|
};
|
|
1856
|
-
}),
|
|
1857
|
-
const
|
|
1673
|
+
}), Se = T("banners", () => {
|
|
1674
|
+
const l = Y(), t = we(), n = S(), o = W(), s = F([]), u = Z(!1), c = y(() => {
|
|
1858
1675
|
if (r.value)
|
|
1859
1676
|
return r.value;
|
|
1860
1677
|
if (!n.one.banners.enabled)
|
|
@@ -1864,20 +1681,20 @@ const Ee = /* @__PURE__ */ y({
|
|
|
1864
1681
|
if (g > w)
|
|
1865
1682
|
return;
|
|
1866
1683
|
}
|
|
1867
|
-
return
|
|
1684
|
+
return s.value.filter(({
|
|
1868
1685
|
slug: g,
|
|
1869
1686
|
metadata: {
|
|
1870
1687
|
site: k,
|
|
1871
1688
|
active: w
|
|
1872
1689
|
}
|
|
1873
1690
|
}) => !w || n.one.banners.read.includes(g) ? !1 : k.includes("*") ? !0 : k.some((C) => t.id.includes(C))).toSorted((g, k) => {
|
|
1874
|
-
function w(
|
|
1875
|
-
return typeof
|
|
1691
|
+
function w(x) {
|
|
1692
|
+
return typeof x == "number" ? x : typeof x == "string" ? Number(x) || 0 : x && typeof x == "object" && "key" in x && Number(x.key) || 0;
|
|
1876
1693
|
}
|
|
1877
|
-
const C = w(g.metadata.priority),
|
|
1878
|
-
return
|
|
1694
|
+
const C = w(g.metadata.priority), A = w(k.metadata.priority);
|
|
1695
|
+
return A !== C ? A - C : new Date(k.created_at).getTime() - new Date(g.created_at).getTime();
|
|
1879
1696
|
})[0];
|
|
1880
|
-
}), r =
|
|
1697
|
+
}), r = y(() => s.value.find(({
|
|
1881
1698
|
metadata: {
|
|
1882
1699
|
site: f,
|
|
1883
1700
|
active: v
|
|
@@ -1885,152 +1702,152 @@ const Ee = /* @__PURE__ */ y({
|
|
|
1885
1702
|
}) => v ? f.includes("server") : !1));
|
|
1886
1703
|
async function m() {
|
|
1887
1704
|
try {
|
|
1888
|
-
|
|
1889
|
-
const f = await
|
|
1890
|
-
|
|
1705
|
+
u.value = !0;
|
|
1706
|
+
const f = await l.get("/one/banners");
|
|
1707
|
+
s.value = f.banners;
|
|
1891
1708
|
} catch (f) {
|
|
1892
1709
|
o.showError(f?.message ?? "Error fetching banners");
|
|
1893
1710
|
} finally {
|
|
1894
|
-
|
|
1711
|
+
u.value = !1;
|
|
1895
1712
|
}
|
|
1896
|
-
return
|
|
1713
|
+
return s.value;
|
|
1897
1714
|
}
|
|
1898
1715
|
return {
|
|
1899
|
-
all:
|
|
1900
|
-
isLoading:
|
|
1716
|
+
all: s,
|
|
1717
|
+
isLoading: u,
|
|
1901
1718
|
server: r,
|
|
1902
1719
|
banner: c,
|
|
1903
1720
|
index: m
|
|
1904
1721
|
};
|
|
1905
|
-
}),
|
|
1906
|
-
const
|
|
1722
|
+
}), ge = T("notifications", () => {
|
|
1723
|
+
const l = Y(), t = S(), n = W(), o = F([]), s = Z(!1), u = y(() => o.value.filter((m) => !t.one.notifications.read.includes(m.slug))), c = y(() => o.value.filter((m) => t.one.notifications.read.includes(m.slug)));
|
|
1907
1724
|
async function r() {
|
|
1908
1725
|
try {
|
|
1909
|
-
|
|
1910
|
-
const m = await
|
|
1726
|
+
s.value = !0;
|
|
1727
|
+
const m = await l.get("/one/notifications");
|
|
1911
1728
|
o.value = m.notifications;
|
|
1912
1729
|
} catch (m) {
|
|
1913
1730
|
n.showError(m?.message ?? "Error fetching notifications");
|
|
1914
1731
|
} finally {
|
|
1915
|
-
|
|
1732
|
+
s.value = !1;
|
|
1916
1733
|
}
|
|
1917
1734
|
return o.value;
|
|
1918
1735
|
}
|
|
1919
1736
|
return {
|
|
1920
|
-
isLoading:
|
|
1737
|
+
isLoading: s,
|
|
1921
1738
|
all: o,
|
|
1922
1739
|
read: c,
|
|
1923
|
-
unread:
|
|
1740
|
+
unread: u,
|
|
1924
1741
|
index: r
|
|
1925
1742
|
};
|
|
1926
|
-
}),
|
|
1743
|
+
}), sn = { class: "text-body-small" }, an = { class: "text-body-small" }, rn = /* @__PURE__ */ _({
|
|
1927
1744
|
__name: "VoNotificationsDialog",
|
|
1928
1745
|
props: {
|
|
1929
1746
|
modelValue: { type: Boolean },
|
|
1930
1747
|
modelModifiers: {}
|
|
1931
1748
|
},
|
|
1932
1749
|
emits: ["update:modelValue"],
|
|
1933
|
-
setup(
|
|
1934
|
-
const t =
|
|
1750
|
+
setup(l) {
|
|
1751
|
+
const t = K(), n = ze(), o = Se(), s = ge(), u = j(), c = S(), r = Z(["read"]), m = ie(l, "modelValue");
|
|
1935
1752
|
function f() {
|
|
1936
|
-
const g =
|
|
1753
|
+
const g = s.unread.map((k) => k.slug);
|
|
1937
1754
|
c.one.notifications.read.push(...g);
|
|
1938
1755
|
}
|
|
1939
1756
|
function v() {
|
|
1940
1757
|
c.one.notifications.read = [];
|
|
1941
1758
|
}
|
|
1942
|
-
return
|
|
1759
|
+
return te(n, async () => {
|
|
1943
1760
|
if (n.value.one !== "notifications") {
|
|
1944
1761
|
m.value && (m.value = !1);
|
|
1945
1762
|
return;
|
|
1946
1763
|
}
|
|
1947
|
-
|
|
1764
|
+
u.isOpen = !0, await Be(), m.value = !0;
|
|
1948
1765
|
}, { immediate: !0 }), (g, k) => {
|
|
1949
|
-
const w =
|
|
1950
|
-
return d(), p(
|
|
1766
|
+
const w = X, C = nn, A = Yo, x = lt;
|
|
1767
|
+
return d(), p(x, {
|
|
1951
1768
|
modelValue: m.value,
|
|
1952
|
-
"onUpdate:modelValue": k[2] || (k[2] = (
|
|
1953
|
-
"prepend-icon": `svg:${e(
|
|
1769
|
+
"onUpdate:modelValue": k[2] || (k[2] = (z) => m.value = z),
|
|
1770
|
+
"prepend-icon": `svg:${e(Ot)}`,
|
|
1954
1771
|
title: "Notifications"
|
|
1955
1772
|
}, {
|
|
1956
|
-
append:
|
|
1957
|
-
e(r)[0] === "read" ?
|
|
1773
|
+
append: i(() => [
|
|
1774
|
+
e(r)[0] === "read" ? P((d(), p(B, {
|
|
1958
1775
|
key: 0,
|
|
1959
1776
|
class: "me-2",
|
|
1960
1777
|
density: "comfortable",
|
|
1961
|
-
disabled: e(
|
|
1778
|
+
disabled: e(s).unread.length === 0,
|
|
1962
1779
|
icon: `svg:${e(Ce)}`,
|
|
1963
1780
|
size: "small",
|
|
1964
1781
|
variant: "text",
|
|
1965
1782
|
onClick: f
|
|
1966
1783
|
}, null, 8, ["disabled", "icon"])), [
|
|
1967
|
-
[
|
|
1784
|
+
[R, "Mark All as Read", "start"]
|
|
1968
1785
|
]) : h("", !0),
|
|
1969
|
-
e(r)[0] === "unread" ?
|
|
1786
|
+
e(r)[0] === "unread" ? P((d(), p(B, {
|
|
1970
1787
|
key: 1,
|
|
1971
1788
|
class: "me-2",
|
|
1972
1789
|
density: "comfortable",
|
|
1973
|
-
disabled: e(
|
|
1790
|
+
disabled: e(s).read.length === 0,
|
|
1974
1791
|
icon: `svg:${e(ke)}`,
|
|
1975
1792
|
size: "small",
|
|
1976
1793
|
variant: "text",
|
|
1977
1794
|
onClick: v
|
|
1978
1795
|
}, null, 8, ["disabled", "icon"])), [
|
|
1979
|
-
[
|
|
1796
|
+
[R, "Mark All as Unread", "start"]
|
|
1980
1797
|
]) : h("", !0)
|
|
1981
1798
|
]),
|
|
1982
|
-
default:
|
|
1983
|
-
a(
|
|
1984
|
-
default:
|
|
1985
|
-
a(
|
|
1799
|
+
default: i(() => [
|
|
1800
|
+
a(Qe, null, {
|
|
1801
|
+
default: i(() => [
|
|
1802
|
+
a(yo, {
|
|
1986
1803
|
location: e(t).mobile.value ? "top" : "start",
|
|
1987
1804
|
permanent: "",
|
|
1988
1805
|
width: e(t).mobile.value ? 128 : 168
|
|
1989
1806
|
}, {
|
|
1990
|
-
default:
|
|
1991
|
-
a(
|
|
1807
|
+
default: i(() => [
|
|
1808
|
+
a(oe, {
|
|
1992
1809
|
selected: e(r),
|
|
1993
|
-
"onUpdate:selected": k[0] || (k[0] = (
|
|
1810
|
+
"onUpdate:selected": k[0] || (k[0] = (z) => ne(r) ? r.value = z : null),
|
|
1994
1811
|
class: "px-4 pt-4",
|
|
1995
1812
|
density: "compact",
|
|
1996
1813
|
mandatory: "",
|
|
1997
1814
|
nav: ""
|
|
1998
1815
|
}, {
|
|
1999
|
-
default:
|
|
1816
|
+
default: i(() => [
|
|
2000
1817
|
a(w, {
|
|
2001
|
-
"prepend-icon": `svg:${e(
|
|
1818
|
+
"prepend-icon": `svg:${e(Ht)}`,
|
|
2002
1819
|
title: "Unread",
|
|
2003
1820
|
value: "read"
|
|
2004
|
-
},
|
|
2005
|
-
e(
|
|
1821
|
+
}, U({ _: 2 }, [
|
|
1822
|
+
e(s).unread.length > 0 ? {
|
|
2006
1823
|
name: "append",
|
|
2007
|
-
fn:
|
|
2008
|
-
b("span",
|
|
1824
|
+
fn: i(() => [
|
|
1825
|
+
b("span", sn, L(e(s).unread.length), 1)
|
|
2009
1826
|
]),
|
|
2010
1827
|
key: "0"
|
|
2011
1828
|
} : void 0
|
|
2012
1829
|
]), 1032, ["prepend-icon"]),
|
|
2013
1830
|
a(w, {
|
|
2014
|
-
"prepend-icon": `svg:${e(
|
|
1831
|
+
"prepend-icon": `svg:${e(Tt)}`,
|
|
2015
1832
|
title: "Read",
|
|
2016
1833
|
value: "unread"
|
|
2017
|
-
},
|
|
2018
|
-
e(
|
|
1834
|
+
}, U({ _: 2 }, [
|
|
1835
|
+
e(s).read.length > 0 ? {
|
|
2019
1836
|
name: "append",
|
|
2020
|
-
fn:
|
|
2021
|
-
b("span",
|
|
1837
|
+
fn: i(() => [
|
|
1838
|
+
b("span", an, L(e(s).read.length), 1)
|
|
2022
1839
|
]),
|
|
2023
1840
|
key: "0"
|
|
2024
1841
|
} : void 0
|
|
2025
1842
|
]), 1032, ["prepend-icon"]),
|
|
2026
1843
|
e(o).all.length > 0 && e(c).one.banners.enabled ? (d(), p(w, {
|
|
2027
1844
|
key: 0,
|
|
2028
|
-
"prepend-icon": `svg:${e(
|
|
1845
|
+
"prepend-icon": `svg:${e(Rt)}`,
|
|
2029
1846
|
title: "Banners",
|
|
2030
1847
|
value: "banners"
|
|
2031
1848
|
}, {
|
|
2032
|
-
append:
|
|
2033
|
-
a(
|
|
1849
|
+
append: i(() => [
|
|
1850
|
+
a(xe, {
|
|
2034
1851
|
dot: "",
|
|
2035
1852
|
"offset-y": "-3"
|
|
2036
1853
|
})
|
|
@@ -2043,32 +1860,32 @@ const Ee = /* @__PURE__ */ y({
|
|
|
2043
1860
|
]),
|
|
2044
1861
|
_: 1
|
|
2045
1862
|
}, 8, ["location", "width"]),
|
|
2046
|
-
a(
|
|
2047
|
-
default:
|
|
2048
|
-
a(
|
|
1863
|
+
a(Ye, { scrollable: "" }, {
|
|
1864
|
+
default: i(() => [
|
|
1865
|
+
a(_o, {
|
|
2049
1866
|
modelValue: e(r),
|
|
2050
|
-
"onUpdate:modelValue": k[1] || (k[1] = (
|
|
1867
|
+
"onUpdate:modelValue": k[1] || (k[1] = (z) => ne(r) ? r.value = z : null)
|
|
2051
1868
|
}, {
|
|
2052
|
-
default:
|
|
2053
|
-
a(
|
|
2054
|
-
default:
|
|
1869
|
+
default: i(() => [
|
|
1870
|
+
a(he, { value: "read" }, {
|
|
1871
|
+
default: i(() => [
|
|
2055
1872
|
a(C, {
|
|
2056
|
-
items: e(
|
|
1873
|
+
items: e(s).unread
|
|
2057
1874
|
}, null, 8, ["items"])
|
|
2058
1875
|
]),
|
|
2059
1876
|
_: 1
|
|
2060
1877
|
}),
|
|
2061
|
-
a(
|
|
2062
|
-
default:
|
|
1878
|
+
a(he, { value: "unread" }, {
|
|
1879
|
+
default: i(() => [
|
|
2063
1880
|
a(C, {
|
|
2064
|
-
items: e(
|
|
1881
|
+
items: e(s).read
|
|
2065
1882
|
}, null, 8, ["items"])
|
|
2066
1883
|
]),
|
|
2067
1884
|
_: 1
|
|
2068
1885
|
}),
|
|
2069
|
-
a(
|
|
2070
|
-
default:
|
|
2071
|
-
a(
|
|
1886
|
+
a(he, { value: "banners" }, {
|
|
1887
|
+
default: i(() => [
|
|
1888
|
+
a(A, {
|
|
2072
1889
|
items: e(o).all
|
|
2073
1890
|
}, null, 8, ["items"])
|
|
2074
1891
|
]),
|
|
@@ -2088,51 +1905,51 @@ const Ee = /* @__PURE__ */ y({
|
|
|
2088
1905
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
2089
1906
|
};
|
|
2090
1907
|
}
|
|
2091
|
-
}),
|
|
1908
|
+
}), ln = /* @__PURE__ */ _({
|
|
2092
1909
|
__name: "VoNotificationsBadge",
|
|
2093
|
-
setup(
|
|
2094
|
-
const t =
|
|
2095
|
-
return (o,
|
|
1910
|
+
setup(l) {
|
|
1911
|
+
const t = ge(), n = S();
|
|
1912
|
+
return (o, s) => (d(), p(xe, {
|
|
2096
1913
|
color: "error",
|
|
2097
1914
|
content: e(t).unread.length,
|
|
2098
1915
|
"model-value": e(n).one.notifications.enabled && e(t).unread.length > 0
|
|
2099
1916
|
}, {
|
|
2100
|
-
default:
|
|
1917
|
+
default: i(() => [
|
|
2101
1918
|
$(o.$slots, "default")
|
|
2102
1919
|
]),
|
|
2103
1920
|
_: 3
|
|
2104
1921
|
}, 8, ["content", "model-value"]));
|
|
2105
1922
|
}
|
|
2106
|
-
}),
|
|
1923
|
+
}), un = /* @__PURE__ */ _({
|
|
2107
1924
|
__name: "VoNotificationsNavItem",
|
|
2108
|
-
setup(
|
|
2109
|
-
const t =
|
|
2110
|
-
return
|
|
1925
|
+
setup(l) {
|
|
1926
|
+
const t = S(), n = ge(), o = Z(!1);
|
|
1927
|
+
return _e(() => {
|
|
2111
1928
|
n.index();
|
|
2112
|
-
}), (
|
|
2113
|
-
const c =
|
|
1929
|
+
}), (s, u) => {
|
|
1930
|
+
const c = ln, r = rn, m = X;
|
|
2114
1931
|
return e(t).one.notifications.enabled ? (d(), p(m, {
|
|
2115
1932
|
key: 0,
|
|
2116
1933
|
active: e(o),
|
|
2117
1934
|
link: "",
|
|
2118
|
-
"prepend-icon": `svg:${e(
|
|
1935
|
+
"prepend-icon": `svg:${e(qt)}`,
|
|
2119
1936
|
rounded: "lg",
|
|
2120
1937
|
title: "Notifications"
|
|
2121
|
-
},
|
|
2122
|
-
default:
|
|
1938
|
+
}, U({
|
|
1939
|
+
default: i(() => [
|
|
2123
1940
|
a(r, {
|
|
2124
1941
|
modelValue: e(o),
|
|
2125
|
-
"onUpdate:modelValue":
|
|
1942
|
+
"onUpdate:modelValue": u[0] || (u[0] = (f) => ne(o) ? o.value = f : null)
|
|
2126
1943
|
}, null, 8, ["modelValue"])
|
|
2127
1944
|
]),
|
|
2128
1945
|
_: 2
|
|
2129
1946
|
}, [
|
|
2130
1947
|
e(n).unread.length > 0 ? {
|
|
2131
1948
|
name: "prepend",
|
|
2132
|
-
fn:
|
|
1949
|
+
fn: i(() => [
|
|
2133
1950
|
a(c, null, {
|
|
2134
|
-
default:
|
|
2135
|
-
a(
|
|
1951
|
+
default: i(() => [
|
|
1952
|
+
a(I)
|
|
2136
1953
|
]),
|
|
2137
1954
|
_: 1
|
|
2138
1955
|
})
|
|
@@ -2142,32 +1959,32 @@ const Ee = /* @__PURE__ */ y({
|
|
|
2142
1959
|
]), 1032, ["active", "prepend-icon"])) : h("", !0);
|
|
2143
1960
|
};
|
|
2144
1961
|
}
|
|
2145
|
-
}),
|
|
1962
|
+
}), cn = /* @__PURE__ */ _({
|
|
2146
1963
|
__name: "VoAccountNavItem",
|
|
2147
|
-
setup(
|
|
1964
|
+
setup(l) {
|
|
2148
1965
|
return (t, n) => {
|
|
2149
|
-
const o =
|
|
1966
|
+
const o = X;
|
|
2150
1967
|
return d(), p(o, {
|
|
2151
|
-
"prepend-icon": `svg:${e(
|
|
1968
|
+
"prepend-icon": `svg:${e(Gt)}`,
|
|
2152
1969
|
rounded: "lg",
|
|
2153
1970
|
title: "My Account",
|
|
2154
1971
|
href: "https://one.vuetifyjs.com/user/dashboard"
|
|
2155
1972
|
}, null, 8, ["prepend-icon"]);
|
|
2156
1973
|
};
|
|
2157
1974
|
}
|
|
2158
|
-
}),
|
|
1975
|
+
}), dn = /* @__PURE__ */ _({
|
|
2159
1976
|
__name: "VoDashboardNavItem",
|
|
2160
|
-
setup(
|
|
2161
|
-
const t =
|
|
1977
|
+
setup(l) {
|
|
1978
|
+
const t = j();
|
|
2162
1979
|
function n() {
|
|
2163
1980
|
setTimeout(() => {
|
|
2164
1981
|
t.isOpen = !1;
|
|
2165
1982
|
}, 100);
|
|
2166
1983
|
}
|
|
2167
|
-
return (o,
|
|
2168
|
-
const
|
|
2169
|
-
return d(), p(
|
|
2170
|
-
"prepend-icon": `svg:${e(
|
|
1984
|
+
return (o, s) => {
|
|
1985
|
+
const u = X;
|
|
1986
|
+
return d(), p(u, {
|
|
1987
|
+
"prepend-icon": `svg:${e(Wt)}`,
|
|
2171
1988
|
rounded: "lg",
|
|
2172
1989
|
title: "Dashboard",
|
|
2173
1990
|
to: "/user/dashboard",
|
|
@@ -2175,34 +1992,33 @@ const Ee = /* @__PURE__ */ y({
|
|
|
2175
1992
|
}, null, 8, ["prepend-icon"]);
|
|
2176
1993
|
};
|
|
2177
1994
|
}
|
|
2178
|
-
}),
|
|
1995
|
+
}), mn = /* @__PURE__ */ _({
|
|
2179
1996
|
__name: "VoUserList",
|
|
2180
|
-
setup(
|
|
2181
|
-
const t = D()
|
|
2182
|
-
return (
|
|
2183
|
-
const
|
|
2184
|
-
return d(), p(
|
|
1997
|
+
setup(l) {
|
|
1998
|
+
const t = D();
|
|
1999
|
+
return (n, o) => {
|
|
2000
|
+
const s = dn, u = cn, c = un, r = To, m = Ho, f = Zo;
|
|
2001
|
+
return d(), p(oe, {
|
|
2185
2002
|
density: "compact",
|
|
2186
2003
|
nav: "",
|
|
2187
2004
|
slim: ""
|
|
2188
2005
|
}, {
|
|
2189
|
-
default:
|
|
2190
|
-
e(t).user ? (d(), p(
|
|
2191
|
-
e(t).user ? (d(), p(
|
|
2006
|
+
default: i(() => [
|
|
2007
|
+
e(t).user ? (d(), p(s, { key: 0 })) : h("", !0),
|
|
2008
|
+
e(t).user ? (d(), p(u, { key: 1 })) : h("", !0),
|
|
2009
|
+
a(c),
|
|
2192
2010
|
a(r),
|
|
2193
2011
|
a(m),
|
|
2194
|
-
e(
|
|
2195
|
-
a(v),
|
|
2196
|
-
e(t).user ? (d(), p(g, { key: 3 })) : h("", !0)
|
|
2012
|
+
e(t).user ? (d(), p(f, { key: 2 })) : h("", !0)
|
|
2197
2013
|
]),
|
|
2198
2014
|
_: 1
|
|
2199
2015
|
});
|
|
2200
2016
|
};
|
|
2201
2017
|
}
|
|
2202
|
-
}),
|
|
2018
|
+
}), pn = { class: "mb-2" }, fn = { key: 0 }, gn = { class: "d-flex ga-4 flex-wrap justify-center mb-4" }, vn = { class: "text-title-large" }, hn = /* @__PURE__ */ _({
|
|
2203
2019
|
__name: "VoUserAvatar",
|
|
2204
|
-
setup(
|
|
2205
|
-
const t = D(), n =
|
|
2020
|
+
setup(l) {
|
|
2021
|
+
const t = D(), n = j(), o = S(), s = Z(!1), u = y(() => {
|
|
2206
2022
|
const m = [
|
|
2207
2023
|
"https://cdn.vuetifyjs.com/docs/images/avatars/dark.png",
|
|
2208
2024
|
"https://cdn.vuetifyjs.com/docs/images/avatars/blackguard.png",
|
|
@@ -2225,11 +2041,11 @@ const Ee = /* @__PURE__ */ y({
|
|
|
2225
2041
|
o.one.avatar = m;
|
|
2226
2042
|
}
|
|
2227
2043
|
function r() {
|
|
2228
|
-
n.isSubscriber && (
|
|
2044
|
+
n.isSubscriber && (s.value = !s.value);
|
|
2229
2045
|
}
|
|
2230
2046
|
return (m, f) => (d(), V("div", null, [
|
|
2231
|
-
|
|
2232
|
-
class:
|
|
2047
|
+
P((d(), p(G, {
|
|
2048
|
+
class: ht([
|
|
2233
2049
|
"border-md border-opacity-100 border-surface-light",
|
|
2234
2050
|
{
|
|
2235
2051
|
"cursor-pointer": e(n).isSubscriber
|
|
@@ -2240,12 +2056,12 @@ const Ee = /* @__PURE__ */ y({
|
|
|
2240
2056
|
text: "Foobar",
|
|
2241
2057
|
onClick: ae(r, ["prevent", "stop"])
|
|
2242
2058
|
}, {
|
|
2243
|
-
default:
|
|
2244
|
-
e(t).user && e(o).one.avatar ? (d(), p(
|
|
2059
|
+
default: i(() => [
|
|
2060
|
+
e(t).user && e(o).one.avatar ? (d(), p(Q, {
|
|
2245
2061
|
key: 0,
|
|
2246
2062
|
alt: "User avatar",
|
|
2247
2063
|
src: e(o).one.avatar
|
|
2248
|
-
}, null, 8, ["src"])) : (d(), p(
|
|
2064
|
+
}, null, 8, ["src"])) : (d(), p(I, {
|
|
2249
2065
|
key: 1,
|
|
2250
2066
|
class: "mt-1",
|
|
2251
2067
|
icon: "$vuetify",
|
|
@@ -2254,28 +2070,28 @@ const Ee = /* @__PURE__ */ y({
|
|
|
2254
2070
|
]),
|
|
2255
2071
|
_: 1
|
|
2256
2072
|
}, 8, ["class"])), [
|
|
2257
|
-
[
|
|
2073
|
+
[vo, e(n).isSubscriber]
|
|
2258
2074
|
]),
|
|
2259
|
-
b("div",
|
|
2075
|
+
b("div", pn, [
|
|
2260
2076
|
a(re, null, {
|
|
2261
|
-
default:
|
|
2262
|
-
e(
|
|
2263
|
-
a(
|
|
2077
|
+
default: i(() => [
|
|
2078
|
+
e(s) ? (d(), V("div", fn, [
|
|
2079
|
+
a(O, {
|
|
2264
2080
|
class: "pt-6 pb-1",
|
|
2265
2081
|
flat: "",
|
|
2266
2082
|
rounded: "0"
|
|
2267
2083
|
}, {
|
|
2268
|
-
default:
|
|
2269
|
-
b("div",
|
|
2270
|
-
(d(!0), V(
|
|
2084
|
+
default: i(() => [
|
|
2085
|
+
b("div", gn, [
|
|
2086
|
+
(d(!0), V(M, null, q(e(u), (v, g) => (d(), p(B, {
|
|
2271
2087
|
key: g,
|
|
2272
2088
|
active: e(o).one.avatar === v,
|
|
2273
2089
|
icon: "",
|
|
2274
2090
|
variant: "flat",
|
|
2275
2091
|
onClick: (k) => c(v)
|
|
2276
2092
|
}, {
|
|
2277
|
-
default:
|
|
2278
|
-
a(
|
|
2093
|
+
default: i(() => [
|
|
2094
|
+
a(G, {
|
|
2279
2095
|
eager: "",
|
|
2280
2096
|
image: v
|
|
2281
2097
|
}, null, 8, ["image"])
|
|
@@ -2291,37 +2107,37 @@ const Ee = /* @__PURE__ */ y({
|
|
|
2291
2107
|
_: 1
|
|
2292
2108
|
})
|
|
2293
2109
|
]),
|
|
2294
|
-
b("div",
|
|
2110
|
+
b("div", vn, L(e(t).user?.name ?? "Guest"), 1)
|
|
2295
2111
|
]));
|
|
2296
2112
|
}
|
|
2297
|
-
}),
|
|
2113
|
+
}), yn = ["href"], _n = /* @__PURE__ */ _({
|
|
2298
2114
|
__name: "VoUserPinnedEcosystem",
|
|
2299
|
-
setup(
|
|
2300
|
-
const t =
|
|
2301
|
-
return (o,
|
|
2115
|
+
setup(l) {
|
|
2116
|
+
const t = S(), { pinned: n } = dt();
|
|
2117
|
+
return (o, s) => e(t).one.quicklinks && e(n).length > 0 ? (d(), p(me, {
|
|
2302
2118
|
key: 0,
|
|
2303
2119
|
class: "align-center position-absolute d-flex ga-2 pa-2 me-2",
|
|
2304
2120
|
color: "rgba(0,0,0,.54)",
|
|
2305
2121
|
rounded: "lg",
|
|
2306
2122
|
style: { right: "0", top: "8px" }
|
|
2307
2123
|
}, {
|
|
2308
|
-
default:
|
|
2309
|
-
(d(!0), V(
|
|
2310
|
-
key:
|
|
2124
|
+
default: i(() => [
|
|
2125
|
+
(d(!0), V(M, null, q(e(n), (u) => (d(), p(le, {
|
|
2126
|
+
key: u.id
|
|
2311
2127
|
}, {
|
|
2312
|
-
default:
|
|
2313
|
-
|
|
2128
|
+
default: i(({ isHovering: c, props: r }) => [
|
|
2129
|
+
P((d(), V("a", E({
|
|
2314
2130
|
class: "d-inline-flex",
|
|
2315
|
-
href:
|
|
2131
|
+
href: u.href,
|
|
2316
2132
|
target: "_blank"
|
|
2317
2133
|
}, { ref_for: !0 }, r), [
|
|
2318
|
-
a(
|
|
2134
|
+
a(I, {
|
|
2319
2135
|
color: c ? "primary" : "white",
|
|
2320
|
-
icon:
|
|
2136
|
+
icon: u.icon,
|
|
2321
2137
|
size: "16"
|
|
2322
2138
|
}, null, 8, ["color", "icon"])
|
|
2323
|
-
], 16,
|
|
2324
|
-
[
|
|
2139
|
+
], 16, yn)), [
|
|
2140
|
+
[R, u.name, "start"]
|
|
2325
2141
|
])
|
|
2326
2142
|
]),
|
|
2327
2143
|
_: 2
|
|
@@ -2330,68 +2146,68 @@ const Ee = /* @__PURE__ */ y({
|
|
|
2330
2146
|
_: 1
|
|
2331
2147
|
})) : h("", !0);
|
|
2332
2148
|
}
|
|
2333
|
-
}),
|
|
2149
|
+
}), bn = /* @__PURE__ */ _({
|
|
2334
2150
|
__name: "VoUserBadges",
|
|
2335
|
-
setup(
|
|
2336
|
-
const t = D(), n =
|
|
2337
|
-
return (
|
|
2151
|
+
setup(l) {
|
|
2152
|
+
const t = D(), n = j(), o = y(() => n.github || n.discord || n.isSubscriber || t.user?.isAdmin);
|
|
2153
|
+
return (s, u) => e(o) ? (d(), p(me, {
|
|
2338
2154
|
key: 0,
|
|
2339
2155
|
class: "align-center position-absolute ms-2 d-flex ga-2 pa-2",
|
|
2340
2156
|
color: "rgba(0,0,0,.54)",
|
|
2341
2157
|
rounded: "lg",
|
|
2342
2158
|
style: { left: "0", top: "8px" }
|
|
2343
2159
|
}, {
|
|
2344
|
-
default:
|
|
2345
|
-
e(t).user?.isAdmin ?
|
|
2160
|
+
default: i(() => [
|
|
2161
|
+
e(t).user?.isAdmin ? P((d(), p(I, {
|
|
2346
2162
|
key: 0,
|
|
2347
2163
|
color: "blue",
|
|
2348
2164
|
icon: "$vuetify",
|
|
2349
2165
|
size: "16"
|
|
2350
2166
|
}, null, 512)), [
|
|
2351
|
-
[
|
|
2167
|
+
[R, "Vuetify Administrator", "bottom"]
|
|
2352
2168
|
]) : h("", !0),
|
|
2353
|
-
e(n).isSubscriber ?
|
|
2169
|
+
e(n).isSubscriber ? P((d(), p(I, {
|
|
2354
2170
|
key: 1,
|
|
2355
2171
|
color: "amber-darken-2",
|
|
2356
|
-
icon: `svg:${e(
|
|
2172
|
+
icon: `svg:${e(Qt)}`,
|
|
2357
2173
|
size: "16"
|
|
2358
2174
|
}, null, 8, ["icon"])), [
|
|
2359
|
-
[
|
|
2175
|
+
[R, "Vuetify One Subscriber", "bottom"]
|
|
2360
2176
|
]) : h("", !0),
|
|
2361
|
-
e(n).github ?
|
|
2177
|
+
e(n).github ? P((d(), p(I, {
|
|
2362
2178
|
key: 2,
|
|
2363
2179
|
color: "white",
|
|
2364
2180
|
icon: "$github",
|
|
2365
2181
|
size: "16"
|
|
2366
2182
|
}, null, 512)), [
|
|
2367
|
-
[
|
|
2183
|
+
[R, "GitHub Sponsor", "bottom"]
|
|
2368
2184
|
]) : h("", !0),
|
|
2369
|
-
e(n).discord ?
|
|
2185
|
+
e(n).discord ? P((d(), p(I, {
|
|
2370
2186
|
key: 3,
|
|
2371
2187
|
color: "white",
|
|
2372
2188
|
icon: "$discord",
|
|
2373
2189
|
size: "16"
|
|
2374
2190
|
}, null, 512)), [
|
|
2375
|
-
[
|
|
2191
|
+
[R, "Discord Subscriber", "bottom"]
|
|
2376
2192
|
]) : h("", !0)
|
|
2377
2193
|
]),
|
|
2378
2194
|
_: 1
|
|
2379
2195
|
})) : h("", !0);
|
|
2380
2196
|
}
|
|
2381
|
-
}),
|
|
2197
|
+
}), Cn = { class: "d-flex flex-grow-1 justify-end fill-height align-start" }, kn = {
|
|
2382
2198
|
key: "reset",
|
|
2383
2199
|
class: "align-self-end"
|
|
2384
|
-
},
|
|
2200
|
+
}, Vn = /* @__PURE__ */ _({
|
|
2385
2201
|
__name: "VoUserColors",
|
|
2386
|
-
setup(
|
|
2387
|
-
const t = D(), n =
|
|
2388
|
-
function
|
|
2202
|
+
setup(l) {
|
|
2203
|
+
const t = D(), n = j(), o = S(), s = Z(!1);
|
|
2204
|
+
function u() {
|
|
2389
2205
|
o.one.colors.primary = "surface-light";
|
|
2390
2206
|
}
|
|
2391
2207
|
return (c, r) => {
|
|
2392
|
-
const m =
|
|
2393
|
-
return d(), V(
|
|
2394
|
-
a(
|
|
2208
|
+
const m = bn, f = _n, v = it;
|
|
2209
|
+
return d(), V(M, null, [
|
|
2210
|
+
a(Q, {
|
|
2395
2211
|
color: e(t).user ? e(o).one.colors.primary : "surface-light",
|
|
2396
2212
|
"content-class": "d-flex align-start justify-end pa-2",
|
|
2397
2213
|
cover: "",
|
|
@@ -2399,45 +2215,45 @@ const Ee = /* @__PURE__ */ y({
|
|
|
2399
2215
|
height: "84",
|
|
2400
2216
|
rounded: "0"
|
|
2401
2217
|
}, {
|
|
2402
|
-
default:
|
|
2403
|
-
b("div",
|
|
2218
|
+
default: i(() => [
|
|
2219
|
+
b("div", Cn, [
|
|
2404
2220
|
a(m),
|
|
2405
2221
|
a(f),
|
|
2406
|
-
a(
|
|
2407
|
-
default:
|
|
2408
|
-
|
|
2222
|
+
a(io, null, {
|
|
2223
|
+
default: i(() => [
|
|
2224
|
+
P(b("div", kn, [
|
|
2409
2225
|
a(v, {
|
|
2410
2226
|
class: "ms-2 me-1",
|
|
2411
2227
|
color: "inherit",
|
|
2412
2228
|
density: "comfortable",
|
|
2413
2229
|
disabled: e(o).one.colors.primary === "surface-light",
|
|
2414
|
-
icon: `svg:${e(
|
|
2230
|
+
icon: `svg:${e(Yt)}`,
|
|
2415
2231
|
title: "Revert to Default",
|
|
2416
2232
|
variant: "text",
|
|
2417
|
-
onClick:
|
|
2233
|
+
onClick: u
|
|
2418
2234
|
}, null, 8, ["disabled", "icon"])
|
|
2419
2235
|
], 512), [
|
|
2420
|
-
[
|
|
2236
|
+
[ce, e(s)]
|
|
2421
2237
|
])
|
|
2422
2238
|
]),
|
|
2423
2239
|
_: 1
|
|
2424
2240
|
}),
|
|
2425
2241
|
e(n).isSubscriber ? (d(), p(v, {
|
|
2426
2242
|
key: 0,
|
|
2427
|
-
active: e(
|
|
2243
|
+
active: e(s),
|
|
2428
2244
|
class: "align-self-end",
|
|
2429
2245
|
color: "inherit",
|
|
2430
2246
|
density: "comfortable",
|
|
2431
|
-
icon: e(
|
|
2247
|
+
icon: e(s) ? `svg:${e(je)}` : "$edit",
|
|
2432
2248
|
title: "Edit One Header Color",
|
|
2433
|
-
variant: e(
|
|
2434
|
-
onClick: r[0] || (r[0] = (g) =>
|
|
2249
|
+
variant: e(s) ? "text" : "plain",
|
|
2250
|
+
onClick: r[0] || (r[0] = (g) => s.value = !e(s))
|
|
2435
2251
|
}, {
|
|
2436
|
-
default:
|
|
2437
|
-
a(
|
|
2438
|
-
default:
|
|
2439
|
-
(d(), p(
|
|
2440
|
-
key: String(e(
|
|
2252
|
+
default: i(() => [
|
|
2253
|
+
a(pe, { "leave-absolute": "" }, {
|
|
2254
|
+
default: i(() => [
|
|
2255
|
+
(d(), p(I, {
|
|
2256
|
+
key: String(e(s))
|
|
2441
2257
|
}))
|
|
2442
2258
|
]),
|
|
2443
2259
|
_: 1
|
|
@@ -2450,8 +2266,8 @@ const Ee = /* @__PURE__ */ y({
|
|
|
2450
2266
|
_: 1
|
|
2451
2267
|
}, 8, ["color"]),
|
|
2452
2268
|
a(re, null, {
|
|
2453
|
-
default:
|
|
2454
|
-
e(
|
|
2269
|
+
default: i(() => [
|
|
2270
|
+
e(s) ? (d(), p(bo, {
|
|
2455
2271
|
key: 0,
|
|
2456
2272
|
elevation: "0",
|
|
2457
2273
|
height: "250",
|
|
@@ -2471,39 +2287,39 @@ const Ee = /* @__PURE__ */ y({
|
|
|
2471
2287
|
], 64);
|
|
2472
2288
|
};
|
|
2473
2289
|
}
|
|
2474
|
-
}),
|
|
2290
|
+
}), $n = { class: "text-center mt-n9 mb-4" }, xn = /* @__PURE__ */ _({
|
|
2475
2291
|
__name: "VoUserMenu",
|
|
2476
|
-
setup(
|
|
2477
|
-
const t =
|
|
2478
|
-
return
|
|
2479
|
-
await new Promise((
|
|
2480
|
-
}, { flush: "pre" }), (
|
|
2481
|
-
const c =
|
|
2482
|
-
return d(), p(
|
|
2292
|
+
setup(l) {
|
|
2293
|
+
const t = Se(), n = j(), o = F();
|
|
2294
|
+
return te(() => t.banner, async () => {
|
|
2295
|
+
await new Promise((s) => setTimeout(s, 300)), n.isOpen && o.value?.updateLocation?.();
|
|
2296
|
+
}, { flush: "pre" }), (s, u) => {
|
|
2297
|
+
const c = Vn, r = hn, m = mn, f = rt;
|
|
2298
|
+
return d(), p($e, {
|
|
2483
2299
|
ref_key: "menu",
|
|
2484
2300
|
ref: o,
|
|
2485
2301
|
modelValue: e(n).isOpen,
|
|
2486
|
-
"onUpdate:modelValue":
|
|
2302
|
+
"onUpdate:modelValue": u[0] || (u[0] = (v) => e(n).isOpen = v),
|
|
2487
2303
|
activator: "parent",
|
|
2488
2304
|
"close-on-click": !1,
|
|
2489
2305
|
"close-on-content-click": !1,
|
|
2490
2306
|
eager: "",
|
|
2491
2307
|
location: "bottom end"
|
|
2492
2308
|
}, {
|
|
2493
|
-
default:
|
|
2494
|
-
a(
|
|
2309
|
+
default: i(() => [
|
|
2310
|
+
a(O, {
|
|
2495
2311
|
border: "",
|
|
2496
2312
|
rounded: "lg",
|
|
2497
2313
|
width: "280"
|
|
2498
2314
|
}, {
|
|
2499
|
-
default:
|
|
2315
|
+
default: i(() => [
|
|
2500
2316
|
a(c),
|
|
2501
|
-
b("div",
|
|
2317
|
+
b("div", $n, [
|
|
2502
2318
|
a(r)
|
|
2503
2319
|
]),
|
|
2504
|
-
a(
|
|
2320
|
+
a(N),
|
|
2505
2321
|
a(m),
|
|
2506
|
-
a(
|
|
2322
|
+
a(N),
|
|
2507
2323
|
a(f)
|
|
2508
2324
|
]),
|
|
2509
2325
|
_: 1
|
|
@@ -2513,27 +2329,27 @@ const Ee = /* @__PURE__ */ y({
|
|
|
2513
2329
|
}, 8, ["modelValue"]);
|
|
2514
2330
|
};
|
|
2515
2331
|
}
|
|
2516
|
-
}),
|
|
2332
|
+
}), Ln = { class: "me-n3" }, wn = /* @__PURE__ */ _({
|
|
2517
2333
|
__name: "VoTeamInvite",
|
|
2518
|
-
setup(
|
|
2519
|
-
const t =
|
|
2520
|
-
function o(
|
|
2521
|
-
t.clearTeamQuery(),
|
|
2334
|
+
setup(l) {
|
|
2335
|
+
const t = kt(), n = y(() => t.team?.name ?? `${t.team?.owner.name}'s team`);
|
|
2336
|
+
function o(s) {
|
|
2337
|
+
t.clearTeamQuery(), s.value = !1;
|
|
2522
2338
|
}
|
|
2523
|
-
return (
|
|
2339
|
+
return (s, u) => e(t).teamInviteDialog ? (d(), p(de, {
|
|
2524
2340
|
key: 0,
|
|
2525
2341
|
modelValue: e(t).teamInviteDialog,
|
|
2526
|
-
"onUpdate:modelValue":
|
|
2342
|
+
"onUpdate:modelValue": u[1] || (u[1] = (c) => e(t).teamInviteDialog = c),
|
|
2527
2343
|
"max-width": "500"
|
|
2528
2344
|
}, {
|
|
2529
|
-
default:
|
|
2530
|
-
a(
|
|
2531
|
-
"prepend-icon": `svg:${e(
|
|
2345
|
+
default: i(({ isActive: c }) => [
|
|
2346
|
+
a(O, {
|
|
2347
|
+
"prepend-icon": `svg:${e(Jt)}`,
|
|
2532
2348
|
rounded: "lg",
|
|
2533
2349
|
title: "Join a Team"
|
|
2534
2350
|
}, {
|
|
2535
|
-
append:
|
|
2536
|
-
b("div",
|
|
2351
|
+
append: i(() => [
|
|
2352
|
+
b("div", Ln, [
|
|
2537
2353
|
a(B, {
|
|
2538
2354
|
icon: "$close",
|
|
2539
2355
|
size: "x-small",
|
|
@@ -2542,15 +2358,15 @@ const Ee = /* @__PURE__ */ y({
|
|
|
2542
2358
|
}, null, 8, ["onClick"])
|
|
2543
2359
|
])
|
|
2544
2360
|
]),
|
|
2545
|
-
text:
|
|
2546
|
-
|
|
2547
|
-
b("strong", null,
|
|
2548
|
-
|
|
2361
|
+
text: i(() => [
|
|
2362
|
+
u[2] || (u[2] = H(" You have been invited to join ", -1)),
|
|
2363
|
+
b("strong", null, L(e(n)), 1),
|
|
2364
|
+
u[3] || (u[3] = H("! ", -1))
|
|
2549
2365
|
]),
|
|
2550
|
-
default:
|
|
2551
|
-
a(
|
|
2552
|
-
a(
|
|
2553
|
-
default:
|
|
2366
|
+
default: i(() => [
|
|
2367
|
+
a(N, { opacity: ".2" }),
|
|
2368
|
+
a(so, { class: "bg-surface-light" }, {
|
|
2369
|
+
default: i(() => [
|
|
2554
2370
|
a(B, {
|
|
2555
2371
|
disabled: e(t).isLoading,
|
|
2556
2372
|
rounded: "lg",
|
|
@@ -2558,7 +2374,7 @@ const Ee = /* @__PURE__ */ y({
|
|
|
2558
2374
|
variant: "plain",
|
|
2559
2375
|
onClick: (r) => o(c)
|
|
2560
2376
|
}, null, 8, ["disabled", "onClick"]),
|
|
2561
|
-
a(
|
|
2377
|
+
a(po),
|
|
2562
2378
|
a(B, {
|
|
2563
2379
|
"append-icon": "$success",
|
|
2564
2380
|
color: "success",
|
|
@@ -2566,7 +2382,7 @@ const Ee = /* @__PURE__ */ y({
|
|
|
2566
2382
|
rounded: "lg",
|
|
2567
2383
|
text: "Accept",
|
|
2568
2384
|
variant: "flat",
|
|
2569
|
-
onClick:
|
|
2385
|
+
onClick: u[0] || (u[0] = (r) => e(t).joinTeam())
|
|
2570
2386
|
}, null, 8, ["disabled"])
|
|
2571
2387
|
]),
|
|
2572
2388
|
_: 2
|
|
@@ -2578,20 +2394,20 @@ const Ee = /* @__PURE__ */ y({
|
|
|
2578
2394
|
_: 1
|
|
2579
2395
|
}, 8, ["modelValue"])) : h("", !0);
|
|
2580
2396
|
}
|
|
2581
|
-
}),
|
|
2397
|
+
}), Sn = { key: 0 }, mt = /* @__PURE__ */ _({
|
|
2582
2398
|
__name: "VoAuthBtn",
|
|
2583
2399
|
props: {
|
|
2584
2400
|
external: Boolean
|
|
2585
2401
|
},
|
|
2586
|
-
setup(
|
|
2587
|
-
const t = D(), n =
|
|
2402
|
+
setup(l) {
|
|
2403
|
+
const t = D(), n = ge(), o = j(), s = S(), { lgAndUp: u, smAndUp: c } = K(), r = y(() => o.isOpen || !t.user ? s.one.colors.primary === "surface-light" ? "primary" : s.one.colors.primary : "surface-light"), m = se(() => s.one.notifications.enabled && n.unread.length > 0), f = se(() => o.isSubscriber && !s.ecosystem.mcp.seen), v = se(() => !!t.user && (m.value || f.value)), g = se(() => f.value ? "success" : "error");
|
|
2588
2404
|
function k() {
|
|
2589
2405
|
t.user || (t.dialog = !0);
|
|
2590
2406
|
}
|
|
2591
2407
|
return (w, C) => {
|
|
2592
|
-
const
|
|
2593
|
-
return d(), V(
|
|
2594
|
-
a(
|
|
2408
|
+
const A = xn, x = it, z = at, ue = $o;
|
|
2409
|
+
return d(), V(M, null, [
|
|
2410
|
+
a(xe, {
|
|
2595
2411
|
color: e(g),
|
|
2596
2412
|
dot: "",
|
|
2597
2413
|
location: "end top",
|
|
@@ -2599,9 +2415,9 @@ const Ee = /* @__PURE__ */ y({
|
|
|
2599
2415
|
"offset-x": e(t).user ? -2 : 0,
|
|
2600
2416
|
"offset-y": e(t).user ? 5 : 0
|
|
2601
2417
|
}, {
|
|
2602
|
-
default:
|
|
2603
|
-
a(
|
|
2604
|
-
[`${e(
|
|
2418
|
+
default: i(() => [
|
|
2419
|
+
a(x, E({
|
|
2420
|
+
[`${e(u) ? "append-" : ""}icon`]: e(t).user ? void 0 : `svg:${e(Ie)}`
|
|
2605
2421
|
}, {
|
|
2606
2422
|
active: "",
|
|
2607
2423
|
border: !!e(t).user,
|
|
@@ -2614,84 +2430,84 @@ const Ee = /* @__PURE__ */ y({
|
|
|
2614
2430
|
variant: e(t).user ? e(o).isOpen ? "outlined" : "text" : "flat",
|
|
2615
2431
|
onClick: k
|
|
2616
2432
|
}), {
|
|
2617
|
-
default:
|
|
2618
|
-
e(t).user ? (d(), p(
|
|
2433
|
+
default: i(() => [
|
|
2434
|
+
e(t).user ? (d(), p(G, {
|
|
2619
2435
|
key: 0,
|
|
2620
|
-
image: e(
|
|
2621
|
-
}, null, 8, ["image"])) : (d(), V(
|
|
2622
|
-
e(c) ? (d(), V("span",
|
|
2436
|
+
image: e(s).one.avatar || e(t).user.picture || ""
|
|
2437
|
+
}, null, 8, ["image"])) : (d(), V(M, { key: 1 }, [
|
|
2438
|
+
e(c) ? (d(), V("span", Sn, "Login")) : (d(), p(I, {
|
|
2623
2439
|
key: 1,
|
|
2624
|
-
icon: `svg:${e(
|
|
2440
|
+
icon: `svg:${e(Ie)}`
|
|
2625
2441
|
}, null, 8, ["icon"]))
|
|
2626
2442
|
], 64)),
|
|
2627
|
-
e(t).user ? (d(), p(
|
|
2443
|
+
e(t).user ? (d(), p(A, { key: 2 })) : h("", !0)
|
|
2628
2444
|
]),
|
|
2629
2445
|
_: 1
|
|
2630
2446
|
}, 16, ["border", "color", "icon", "loading", "size", "variant"])
|
|
2631
2447
|
]),
|
|
2632
2448
|
_: 1
|
|
2633
2449
|
}, 8, ["color", "model-value", "offset-x", "offset-y"]),
|
|
2634
|
-
a(
|
|
2635
|
-
a(
|
|
2450
|
+
a(z),
|
|
2451
|
+
a(wn),
|
|
2636
2452
|
a(ue)
|
|
2637
2453
|
], 64);
|
|
2638
2454
|
};
|
|
2639
2455
|
}
|
|
2640
|
-
}),
|
|
2456
|
+
}), Mn = {
|
|
2641
2457
|
key: 0,
|
|
2642
2458
|
class: "mb-3"
|
|
2643
|
-
},
|
|
2459
|
+
}, An = { class: "text-title-large mb-3" }, In = {
|
|
2644
2460
|
key: 3,
|
|
2645
2461
|
class: "mt-2"
|
|
2646
|
-
},
|
|
2462
|
+
}, Dn = { class: "mt-2" }, Un = /* @__PURE__ */ _({
|
|
2647
2463
|
__name: "VoMobileMenu",
|
|
2648
2464
|
props: {
|
|
2649
2465
|
modelValue: { type: Boolean },
|
|
2650
2466
|
modelModifiers: {}
|
|
2651
2467
|
},
|
|
2652
2468
|
emits: ["update:modelValue"],
|
|
2653
|
-
setup(
|
|
2654
|
-
const t = ie(
|
|
2655
|
-
return (o,
|
|
2469
|
+
setup(l) {
|
|
2470
|
+
const t = ie(l, "modelValue"), n = Pe();
|
|
2471
|
+
return (o, s) => (d(), p($e, {
|
|
2656
2472
|
modelValue: t.value,
|
|
2657
|
-
"onUpdate:modelValue":
|
|
2473
|
+
"onUpdate:modelValue": s[0] || (s[0] = (u) => t.value = u),
|
|
2658
2474
|
"close-on-content-click": !1,
|
|
2659
2475
|
"max-height": 500,
|
|
2660
2476
|
"min-width": 300
|
|
2661
2477
|
}, {
|
|
2662
|
-
activator:
|
|
2663
|
-
$(o.$slots, "activator",
|
|
2664
|
-
a(B,
|
|
2665
|
-
icon: `svg:${e(
|
|
2478
|
+
activator: i(({ props: u }) => [
|
|
2479
|
+
$(o.$slots, "activator", Ne(Ee(u)), () => [
|
|
2480
|
+
a(B, E(u, {
|
|
2481
|
+
icon: `svg:${e(Kt)}`,
|
|
2666
2482
|
size: "small"
|
|
2667
2483
|
}), null, 16, ["icon"])
|
|
2668
2484
|
])
|
|
2669
2485
|
]),
|
|
2670
|
-
default:
|
|
2671
|
-
a(
|
|
2486
|
+
default: i(() => [
|
|
2487
|
+
a(O, {
|
|
2672
2488
|
class: "pa-4",
|
|
2673
2489
|
rounded: "lg"
|
|
2674
2490
|
}, {
|
|
2675
|
-
default:
|
|
2676
|
-
n.prepend ? (d(), V("div",
|
|
2491
|
+
default: i(() => [
|
|
2492
|
+
n.prepend ? (d(), V("div", Mn, [
|
|
2677
2493
|
$(o.$slots, "prepend")
|
|
2678
2494
|
])) : h("", !0),
|
|
2679
|
-
n.title ? (d(), V(
|
|
2680
|
-
n.prepend ? (d(), p(
|
|
2495
|
+
n.title ? (d(), V(M, { key: 1 }, [
|
|
2496
|
+
n.prepend ? (d(), p(N, {
|
|
2681
2497
|
key: 0,
|
|
2682
2498
|
class: "mb-3"
|
|
2683
2499
|
})) : h("", !0),
|
|
2684
|
-
b("div",
|
|
2500
|
+
b("div", An, [
|
|
2685
2501
|
$(o.$slots, "title")
|
|
2686
2502
|
])
|
|
2687
2503
|
], 64)) : h("", !0),
|
|
2688
2504
|
n.default ? $(o.$slots, "default", { key: 2 }) : h("", !0),
|
|
2689
|
-
n.extension ? (d(), V("div",
|
|
2505
|
+
n.extension ? (d(), V("div", In, [
|
|
2690
2506
|
$(o.$slots, "extension")
|
|
2691
2507
|
])) : h("", !0),
|
|
2692
|
-
n.append ? (d(), V(
|
|
2693
|
-
a(
|
|
2694
|
-
b("div",
|
|
2508
|
+
n.append ? (d(), V(M, { key: 4 }, [
|
|
2509
|
+
a(N, { class: "my-3" }),
|
|
2510
|
+
b("div", Dn, [
|
|
2695
2511
|
$(o.$slots, "append")
|
|
2696
2512
|
])
|
|
2697
2513
|
], 64)) : h("", !0)
|
|
@@ -2702,9 +2518,9 @@ const Ee = /* @__PURE__ */ y({
|
|
|
2702
2518
|
_: 3
|
|
2703
2519
|
}, 8, ["modelValue"]));
|
|
2704
2520
|
}
|
|
2705
|
-
}),
|
|
2521
|
+
}), Zn = /* @__PURE__ */ _({
|
|
2706
2522
|
__name: "VoAppBar",
|
|
2707
|
-
props: /* @__PURE__ */
|
|
2523
|
+
props: /* @__PURE__ */ Fe({
|
|
2708
2524
|
logo: {},
|
|
2709
2525
|
responsive: { type: Boolean }
|
|
2710
2526
|
}, {
|
|
@@ -2712,22 +2528,22 @@ const Ee = /* @__PURE__ */ y({
|
|
|
2712
2528
|
mobileMenuModifiers: {}
|
|
2713
2529
|
}),
|
|
2714
2530
|
emits: ["update:mobileMenu"],
|
|
2715
|
-
setup(
|
|
2716
|
-
const t =
|
|
2531
|
+
setup(l) {
|
|
2532
|
+
const t = l, n = ie(l, "mobileMenu"), o = Pe(), s = fe(), u = Le(), { mobile: c } = K(), r = y(() => t.responsive == !0 && c.value), m = y(() => `https://cdn.vuetifyjs.com/docs/images/one/logos/${t.logo}-logo-${s.current.value.dark ? "dark" : "light"}.png`);
|
|
2717
2533
|
return (f, v) => {
|
|
2718
|
-
const g =
|
|
2719
|
-
return d(), p(
|
|
2534
|
+
const g = yt("router-link"), k = Un, w = mt;
|
|
2535
|
+
return d(), p(Xe, {
|
|
2720
2536
|
class: "border-b",
|
|
2721
|
-
image: e(
|
|
2537
|
+
image: e(u).suit["app-bar"],
|
|
2722
2538
|
name: "vo-app-bar"
|
|
2723
|
-
},
|
|
2724
|
-
prepend:
|
|
2539
|
+
}, U({
|
|
2540
|
+
prepend: i(() => [
|
|
2725
2541
|
a(g, {
|
|
2726
2542
|
class: "ps-2 ps-md-5",
|
|
2727
2543
|
to: "/"
|
|
2728
2544
|
}, {
|
|
2729
|
-
default:
|
|
2730
|
-
a(
|
|
2545
|
+
default: i(() => [
|
|
2546
|
+
a(Q, {
|
|
2731
2547
|
src: e(m),
|
|
2732
2548
|
width: "128"
|
|
2733
2549
|
}, null, 8, ["src"])
|
|
@@ -2737,26 +2553,26 @@ const Ee = /* @__PURE__ */ y({
|
|
|
2737
2553
|
$(f.$slots, "prepend-fixed"),
|
|
2738
2554
|
e(r) ? h("", !0) : $(f.$slots, "prepend", { key: 0 })
|
|
2739
2555
|
]),
|
|
2740
|
-
append:
|
|
2556
|
+
append: i(() => [
|
|
2741
2557
|
$(f.$slots, "append-fixed"),
|
|
2742
2558
|
e(r) ? (d(), p(k, {
|
|
2743
2559
|
key: 0,
|
|
2744
2560
|
modelValue: n.value,
|
|
2745
2561
|
"onUpdate:modelValue": v[0] || (v[0] = (C) => n.value = C)
|
|
2746
|
-
},
|
|
2747
|
-
activator:
|
|
2748
|
-
$(f.$slots, "menu-activator",
|
|
2562
|
+
}, U({
|
|
2563
|
+
activator: i((C) => [
|
|
2564
|
+
$(f.$slots, "menu-activator", Ne(Ee(C)))
|
|
2749
2565
|
]),
|
|
2750
2566
|
_: 2
|
|
2751
2567
|
}, [
|
|
2752
|
-
q(o, (C,
|
|
2753
|
-
name:
|
|
2754
|
-
fn:
|
|
2755
|
-
$(f.$slots,
|
|
2568
|
+
q(o, (C, A) => ({
|
|
2569
|
+
name: A,
|
|
2570
|
+
fn: i(() => [
|
|
2571
|
+
$(f.$slots, A)
|
|
2756
2572
|
])
|
|
2757
2573
|
}))
|
|
2758
2574
|
]), 1032, ["modelValue"])) : $(f.$slots, "append", { key: 1 }),
|
|
2759
|
-
"append" in o || "append-fixed" in o ? (d(), p(
|
|
2575
|
+
"append" in o || "append-fixed" in o ? (d(), p(N, {
|
|
2760
2576
|
key: 2,
|
|
2761
2577
|
class: "align-self-center h-100 mx-2 mx-sm-4",
|
|
2762
2578
|
length: "20",
|
|
@@ -2765,21 +2581,21 @@ const Ee = /* @__PURE__ */ y({
|
|
|
2765
2581
|
a(w),
|
|
2766
2582
|
v[1] || (v[1] = b("div", { class: "pe-md-3" }, null, -1))
|
|
2767
2583
|
]),
|
|
2768
|
-
default:
|
|
2584
|
+
default: i(() => [
|
|
2769
2585
|
e(r) ? h("", !0) : $(f.$slots, "default", { key: 0 })
|
|
2770
2586
|
]),
|
|
2771
2587
|
_: 2
|
|
2772
2588
|
}, [
|
|
2773
2589
|
!e(r) && o.title ? {
|
|
2774
2590
|
name: "title",
|
|
2775
|
-
fn:
|
|
2591
|
+
fn: i(() => [
|
|
2776
2592
|
$(f.$slots, "title")
|
|
2777
2593
|
]),
|
|
2778
2594
|
key: "0"
|
|
2779
2595
|
} : void 0,
|
|
2780
2596
|
!e(r) && o.extension ? {
|
|
2781
2597
|
name: "extension",
|
|
2782
|
-
fn:
|
|
2598
|
+
fn: i(() => [
|
|
2783
2599
|
$(f.$slots, "extension")
|
|
2784
2600
|
]),
|
|
2785
2601
|
key: "1"
|
|
@@ -2787,7 +2603,7 @@ const Ee = /* @__PURE__ */ y({
|
|
|
2787
2603
|
]), 1032, ["image"]);
|
|
2788
2604
|
};
|
|
2789
2605
|
}
|
|
2790
|
-
}),
|
|
2606
|
+
}), Fn = ["id"], Bn = /* @__PURE__ */ _({
|
|
2791
2607
|
__name: "VoScript",
|
|
2792
2608
|
props: {
|
|
2793
2609
|
id: {
|
|
@@ -2804,41 +2620,41 @@ const Ee = /* @__PURE__ */ y({
|
|
|
2804
2620
|
}
|
|
2805
2621
|
},
|
|
2806
2622
|
emits: ["script:error", "script:load"],
|
|
2807
|
-
setup(
|
|
2808
|
-
const n =
|
|
2623
|
+
setup(l, { emit: t }) {
|
|
2624
|
+
const n = l, o = t, s = F(), u = F();
|
|
2809
2625
|
return be(async () => {
|
|
2810
2626
|
const c = document.createElement("script"), r = () => o("script:error");
|
|
2811
|
-
c.type = "text/javascript", c.id = n.scriptId, c.src = n.src, c.addEventListener("load", () => o("script:load")), c.onerror = r,
|
|
2812
|
-
}),
|
|
2813
|
-
|
|
2814
|
-
}),
|
|
2815
|
-
|
|
2627
|
+
c.type = "text/javascript", c.id = n.scriptId, c.src = n.src, c.addEventListener("load", () => o("script:load")), c.onerror = r, u.value = c;
|
|
2628
|
+
}), _e(() => {
|
|
2629
|
+
u.value && s.value && s.value.append(u.value);
|
|
2630
|
+
}), _t(() => {
|
|
2631
|
+
u.value && s.value && u.value.remove();
|
|
2816
2632
|
}), (c, r) => (d(), V("div", {
|
|
2817
|
-
id:
|
|
2633
|
+
id: l.id,
|
|
2818
2634
|
ref_key: "rootEl",
|
|
2819
|
-
ref:
|
|
2820
|
-
}, null, 8,
|
|
2635
|
+
ref: s
|
|
2636
|
+
}, null, 8, Fn));
|
|
2821
2637
|
}
|
|
2822
|
-
}),
|
|
2638
|
+
}), Pn = {
|
|
2823
2639
|
key: 0,
|
|
2824
2640
|
class: "v-footer__image"
|
|
2825
|
-
},
|
|
2641
|
+
}, Nn = /* @__PURE__ */ _({
|
|
2826
2642
|
__name: "VoFooter",
|
|
2827
2643
|
props: {
|
|
2828
2644
|
image: {}
|
|
2829
2645
|
},
|
|
2830
|
-
setup(
|
|
2831
|
-
return (t, n) => (d(), p(
|
|
2646
|
+
setup(l) {
|
|
2647
|
+
return (t, n) => (d(), p(Co, {
|
|
2832
2648
|
class: "vo-footer",
|
|
2833
2649
|
height: "40"
|
|
2834
2650
|
}, {
|
|
2835
|
-
default:
|
|
2836
|
-
|
|
2837
|
-
t.$slots.image ? $(t.$slots, "image", { key: 0 }, void 0, !0) : (d(), p(
|
|
2651
|
+
default: i(() => [
|
|
2652
|
+
l.image || t.$slots.image ? (d(), V("div", Pn, [
|
|
2653
|
+
t.$slots.image ? $(t.$slots, "image", { key: 0 }, void 0, !0) : (d(), p(Q, {
|
|
2838
2654
|
key: 1,
|
|
2839
2655
|
cover: "",
|
|
2840
2656
|
position: "left",
|
|
2841
|
-
src:
|
|
2657
|
+
src: l.image
|
|
2842
2658
|
}, null, 8, ["src"]))
|
|
2843
2659
|
])) : h("", !0),
|
|
2844
2660
|
$(t.$slots, "default", {}, void 0, !0)
|
|
@@ -2846,18 +2662,18 @@ const Ee = /* @__PURE__ */ y({
|
|
|
2846
2662
|
_: 3
|
|
2847
2663
|
}));
|
|
2848
2664
|
}
|
|
2849
|
-
}),
|
|
2850
|
-
const n =
|
|
2851
|
-
for (const [o,
|
|
2852
|
-
n[o] =
|
|
2665
|
+
}), Me = (l, t) => {
|
|
2666
|
+
const n = l.__vccOpts || l;
|
|
2667
|
+
for (const [o, s] of t)
|
|
2668
|
+
n[o] = s;
|
|
2853
2669
|
return n;
|
|
2854
|
-
},
|
|
2855
|
-
class: "text-
|
|
2670
|
+
}, pt = /* @__PURE__ */ Me(Nn, [["__scopeId", "data-v-31335c0a"]]), En = ["href", "title"], zn = {
|
|
2671
|
+
class: "text-body-small text-disabled",
|
|
2856
2672
|
style: { position: "absolute", right: "16px" }
|
|
2857
|
-
},
|
|
2673
|
+
}, jn = /* @__PURE__ */ _({
|
|
2858
2674
|
__name: "VoSocialFooter",
|
|
2859
|
-
setup(
|
|
2860
|
-
const t =
|
|
2675
|
+
setup(l) {
|
|
2676
|
+
const t = Le(), n = [
|
|
2861
2677
|
{
|
|
2862
2678
|
title: "Vuetify Documentation",
|
|
2863
2679
|
icon: "$vuetify",
|
|
@@ -2865,7 +2681,7 @@ const Ee = /* @__PURE__ */ y({
|
|
|
2865
2681
|
},
|
|
2866
2682
|
{
|
|
2867
2683
|
title: "Vuetify Support",
|
|
2868
|
-
icon: `svg:${
|
|
2684
|
+
icon: `svg:${Xt}`,
|
|
2869
2685
|
href: "https://support.vuetifyjs.com/"
|
|
2870
2686
|
},
|
|
2871
2687
|
{
|
|
@@ -2889,15 +2705,15 @@ const Ee = /* @__PURE__ */ y({
|
|
|
2889
2705
|
href: "https://reddit.com/r/vuetifyjs"
|
|
2890
2706
|
}
|
|
2891
2707
|
];
|
|
2892
|
-
return (o,
|
|
2893
|
-
const
|
|
2894
|
-
return d(), p(
|
|
2708
|
+
return (o, s) => {
|
|
2709
|
+
const u = pt;
|
|
2710
|
+
return d(), p(u, {
|
|
2895
2711
|
class: "vo-footer",
|
|
2896
2712
|
height: "40",
|
|
2897
2713
|
image: e(t).suit.footer
|
|
2898
|
-
},
|
|
2899
|
-
default:
|
|
2900
|
-
(d(), V(
|
|
2714
|
+
}, U({
|
|
2715
|
+
default: i(() => [
|
|
2716
|
+
(d(), V(M, null, q(n, (c) => b("a", {
|
|
2901
2717
|
key: c.title,
|
|
2902
2718
|
class: "d-inline-block mx-2 social-link",
|
|
2903
2719
|
href: c.href,
|
|
@@ -2905,21 +2721,21 @@ const Ee = /* @__PURE__ */ y({
|
|
|
2905
2721
|
target: "_blank",
|
|
2906
2722
|
title: c.title
|
|
2907
2723
|
}, [
|
|
2908
|
-
a(
|
|
2724
|
+
a(I, {
|
|
2909
2725
|
icon: c.icon,
|
|
2910
2726
|
size: c.icon === "$vuetify" ? 24 : 16
|
|
2911
2727
|
}, null, 8, ["icon", "size"])
|
|
2912
|
-
], 8,
|
|
2913
|
-
b("div",
|
|
2914
|
-
|
|
2915
|
-
|
|
2728
|
+
], 8, En)), 64)),
|
|
2729
|
+
b("div", zn, [
|
|
2730
|
+
H(" © 2016-" + L((/* @__PURE__ */ new Date()).getFullYear()) + " ", 1),
|
|
2731
|
+
s[0] || (s[0] = b("span", { class: "d-none d-sm-inline-block" }, "Vuetify, LLC", -1))
|
|
2916
2732
|
])
|
|
2917
2733
|
]),
|
|
2918
2734
|
_: 2
|
|
2919
2735
|
}, [
|
|
2920
2736
|
o.$slots.image ? {
|
|
2921
2737
|
name: "image",
|
|
2922
|
-
fn:
|
|
2738
|
+
fn: i(() => [
|
|
2923
2739
|
$(o.$slots, "image", {}, void 0, !0)
|
|
2924
2740
|
]),
|
|
2925
2741
|
key: "0"
|
|
@@ -2927,72 +2743,72 @@ const Ee = /* @__PURE__ */ y({
|
|
|
2927
2743
|
]), 1032, ["image"]);
|
|
2928
2744
|
};
|
|
2929
2745
|
}
|
|
2930
|
-
}),
|
|
2746
|
+
}), On = /* @__PURE__ */ Me(jn, [["__scopeId", "data-v-a233ba74"]]), Hn = /* @__PURE__ */ _({
|
|
2931
2747
|
__name: "VoNotificationsBanner",
|
|
2932
2748
|
props: {
|
|
2933
2749
|
demo: { type: Boolean },
|
|
2934
2750
|
site: {}
|
|
2935
2751
|
},
|
|
2936
|
-
setup(
|
|
2937
|
-
|
|
2938
|
-
|
|
2752
|
+
setup(l) {
|
|
2753
|
+
bt((C) => ({
|
|
2754
|
+
v19eb7108: e(r)?.metadata.bg_blur
|
|
2939
2755
|
}));
|
|
2940
|
-
const t =
|
|
2941
|
-
|
|
2942
|
-
t.site && !
|
|
2756
|
+
const t = l, { mdAndUp: n } = K(), o = ko(), s = S(), u = we(), c = Se();
|
|
2757
|
+
_e(() => {
|
|
2758
|
+
t.site && !u.id.includes(t.site) && u.id.push(t.site), c.index();
|
|
2943
2759
|
});
|
|
2944
|
-
const r =
|
|
2760
|
+
const r = y(() => c.banner), m = y(() => r.value?.metadata.height || (r.value?.metadata.subtext ? 88 : 48)), f = y(() => t.demo ? !0 : !!r.value && !s.one.banners.read.includes(r.value.slug));
|
|
2945
2761
|
function v() {
|
|
2946
|
-
t.demo || r.value && (
|
|
2762
|
+
t.demo || r.value && (s.one.banners.read.push(r.value.slug), s.one.banners.last = (/* @__PURE__ */ new Date()).toISOString());
|
|
2947
2763
|
}
|
|
2948
2764
|
async function g(C) {
|
|
2949
2765
|
if (!r.value) return;
|
|
2950
|
-
|
|
2951
|
-
const
|
|
2952
|
-
if (!
|
|
2766
|
+
s.one.banners.last = (/* @__PURE__ */ new Date()).toISOString();
|
|
2767
|
+
const A = r.value?.metadata ?? { link: "" };
|
|
2768
|
+
if (!A.link.includes("?one=")) return;
|
|
2953
2769
|
C.preventDefault(), C.stopPropagation();
|
|
2954
|
-
const
|
|
2955
|
-
o.push({ query: { one:
|
|
2770
|
+
const x = A.link.split("?one=")[1];
|
|
2771
|
+
o.push({ query: { one: x } });
|
|
2956
2772
|
}
|
|
2957
|
-
const k =
|
|
2773
|
+
const k = y(() => {
|
|
2958
2774
|
const C = r.value?.metadata ?? { link: "" };
|
|
2959
2775
|
return {
|
|
2960
|
-
href: C.link
|
|
2961
|
-
target: C.link
|
|
2962
|
-
to: C.link
|
|
2776
|
+
href: C.link?.startsWith("http") ? C.link : void 0,
|
|
2777
|
+
target: C.link?.startsWith("http") ? "_blank" : void 0,
|
|
2778
|
+
to: C.link?.startsWith("http") ? void 0 : C.link,
|
|
2963
2779
|
...r.value?.metadata.attributes
|
|
2964
2780
|
};
|
|
2965
|
-
}), w =
|
|
2781
|
+
}), w = y(() => {
|
|
2966
2782
|
const C = r.value?.metadata.images.bg?.url;
|
|
2967
2783
|
if (!C?.startsWith("https://cdn.cosmicjs.com/")) return C;
|
|
2968
|
-
const
|
|
2969
|
-
return
|
|
2784
|
+
const A = new URL(C);
|
|
2785
|
+
return A.host = "imgix.cosmicjs.com", A.search = new URLSearchParams({
|
|
2970
2786
|
auto: "format,compress",
|
|
2971
2787
|
q: "10",
|
|
2972
2788
|
fit: "crop",
|
|
2973
2789
|
w: "4096",
|
|
2974
2790
|
h: "256"
|
|
2975
|
-
}).toString(),
|
|
2791
|
+
}).toString(), A.toString();
|
|
2976
2792
|
});
|
|
2977
|
-
return (C,
|
|
2793
|
+
return (C, A) => e(r) ? (d(), p(Xe, {
|
|
2978
2794
|
key: 0,
|
|
2979
2795
|
class: "vo-notifications-banner",
|
|
2980
2796
|
color: e(r).metadata.color,
|
|
2981
2797
|
flat: "",
|
|
2982
2798
|
height: e(m),
|
|
2983
2799
|
image: e(w),
|
|
2984
|
-
location:
|
|
2800
|
+
location: l.demo ? "bottom" : void 0,
|
|
2985
2801
|
"model-value": e(f),
|
|
2986
2802
|
order: "-1"
|
|
2987
2803
|
}, {
|
|
2988
|
-
default:
|
|
2989
|
-
a(
|
|
2804
|
+
default: i(() => [
|
|
2805
|
+
a(J, E({
|
|
2990
2806
|
active: !1,
|
|
2991
2807
|
class: "flex-grow-1 py-6",
|
|
2992
2808
|
lines: "two"
|
|
2993
2809
|
}, e(k), { onClick: g }), {
|
|
2994
|
-
prepend:
|
|
2995
|
-
e(r).metadata.images.logo ? (d(), p(
|
|
2810
|
+
prepend: i(() => [
|
|
2811
|
+
e(r).metadata.images.logo ? (d(), p(G, {
|
|
2996
2812
|
key: 0,
|
|
2997
2813
|
icon: "$vuetify",
|
|
2998
2814
|
image: e(r).metadata.images.logo.url,
|
|
@@ -3001,24 +2817,24 @@ const Ee = /* @__PURE__ */ y({
|
|
|
3001
2817
|
variant: "text"
|
|
3002
2818
|
}, null, 8, ["image"])) : h("", !0)
|
|
3003
2819
|
]),
|
|
3004
|
-
append:
|
|
2820
|
+
append: i(() => [
|
|
3005
2821
|
e(n) && e(r).metadata.link && e(r).metadata.link_text ? (d(), p(le, { key: 0 }, {
|
|
3006
|
-
default:
|
|
3007
|
-
a(B,
|
|
2822
|
+
default: i(({ isHovering: x, props: z }) => [
|
|
2823
|
+
a(B, E({
|
|
3008
2824
|
"append-icon": `svg:${e(Ve)}`,
|
|
3009
2825
|
class: "text-none ms-4 me-2",
|
|
3010
2826
|
color: e(r).metadata.link_color,
|
|
3011
|
-
elevation:
|
|
2827
|
+
elevation: x ? 8 : 0,
|
|
3012
2828
|
title: e(r).metadata.link_text
|
|
3013
2829
|
}, {
|
|
3014
|
-
...
|
|
2830
|
+
...z,
|
|
3015
2831
|
...e(k)
|
|
3016
2832
|
}, {
|
|
3017
2833
|
variant: "elevated",
|
|
3018
2834
|
onClick: ae(g, ["stop"])
|
|
3019
2835
|
}), {
|
|
3020
|
-
default:
|
|
3021
|
-
|
|
2836
|
+
default: i(() => [
|
|
2837
|
+
H(L(e(r).metadata.link_text), 1)
|
|
3022
2838
|
]),
|
|
3023
2839
|
_: 1
|
|
3024
2840
|
}, 16, ["append-icon", "color", "elevation", "title"])
|
|
@@ -3035,19 +2851,19 @@ const Ee = /* @__PURE__ */ y({
|
|
|
3035
2851
|
onClick: ae(v, ["prevent", "stop"])
|
|
3036
2852
|
})) : h("", !0)
|
|
3037
2853
|
]),
|
|
3038
|
-
default:
|
|
3039
|
-
e(r).metadata.text ? (d(), p(
|
|
2854
|
+
default: i(() => [
|
|
2855
|
+
e(r).metadata.text ? (d(), p(qe, {
|
|
3040
2856
|
key: 0,
|
|
3041
|
-
class: "text-
|
|
2857
|
+
class: "text-title-small text-md-body-large font-weight-medium"
|
|
3042
2858
|
}, {
|
|
3043
|
-
default:
|
|
3044
|
-
|
|
2859
|
+
default: i(() => [
|
|
2860
|
+
H(L(e(r).metadata.text), 1)
|
|
3045
2861
|
]),
|
|
3046
2862
|
_: 1
|
|
3047
2863
|
})) : h("", !0),
|
|
3048
|
-
e(r).metadata.subtext ? (d(), p(
|
|
3049
|
-
default:
|
|
3050
|
-
|
|
2864
|
+
e(r).metadata.subtext ? (d(), p(to, { key: 1 }, {
|
|
2865
|
+
default: i(() => [
|
|
2866
|
+
H(L(e(r).metadata.subtext), 1)
|
|
3051
2867
|
]),
|
|
3052
2868
|
_: 1
|
|
3053
2869
|
})) : h("", !0)
|
|
@@ -3058,57 +2874,57 @@ const Ee = /* @__PURE__ */ y({
|
|
|
3058
2874
|
_: 1
|
|
3059
2875
|
}, 8, ["color", "height", "image", "location", "model-value"])) : h("", !0);
|
|
3060
2876
|
}
|
|
3061
|
-
}),
|
|
2877
|
+
}), Tn = /* @__PURE__ */ Me(Hn, [["__scopeId", "data-v-0c0ee7f5"]]), Rn = {
|
|
3062
2878
|
key: 0,
|
|
3063
2879
|
class: "text-uppercase position-absolute ms-auto font-weight-medium on-surface-light",
|
|
3064
2880
|
style: { right: "12px", bottom: "8px", "font-size": "10px" }
|
|
3065
|
-
},
|
|
2881
|
+
}, ft = /* @__PURE__ */ _({
|
|
3066
2882
|
__name: "VoPromotionsCard",
|
|
3067
2883
|
props: {
|
|
3068
2884
|
caption: {},
|
|
3069
2885
|
minHeight: {}
|
|
3070
2886
|
},
|
|
3071
|
-
setup(
|
|
3072
|
-
return (t, n) => (d(), p(
|
|
2887
|
+
setup(l) {
|
|
2888
|
+
return (t, n) => (d(), p(O, {
|
|
3073
2889
|
class: "d-inline-flex flex-child-1 position-relative",
|
|
3074
2890
|
color: "surface-light",
|
|
3075
2891
|
flat: "",
|
|
3076
2892
|
rel: "noopener",
|
|
3077
2893
|
rounded: "",
|
|
3078
2894
|
target: "_blank"
|
|
3079
|
-
},
|
|
3080
|
-
default:
|
|
3081
|
-
a(
|
|
3082
|
-
"min-height":
|
|
2895
|
+
}, U({
|
|
2896
|
+
default: i(() => [
|
|
2897
|
+
a(Vo, {
|
|
2898
|
+
"min-height": l.minHeight,
|
|
3083
2899
|
width: "100%"
|
|
3084
2900
|
}, {
|
|
3085
|
-
default:
|
|
2901
|
+
default: i(() => [
|
|
3086
2902
|
$(t.$slots, "default")
|
|
3087
2903
|
]),
|
|
3088
2904
|
_: 3
|
|
3089
2905
|
}, 8, ["min-height"]),
|
|
3090
|
-
|
|
2906
|
+
l.caption ? (d(), V("div", Rn, L(l.caption), 1)) : h("", !0)
|
|
3091
2907
|
]),
|
|
3092
2908
|
_: 2
|
|
3093
2909
|
}, [
|
|
3094
2910
|
t.$slots.prepend ? {
|
|
3095
2911
|
name: "prepend",
|
|
3096
|
-
fn:
|
|
2912
|
+
fn: i(() => [
|
|
3097
2913
|
$(t.$slots, "prepend")
|
|
3098
2914
|
]),
|
|
3099
2915
|
key: "0"
|
|
3100
2916
|
} : void 0,
|
|
3101
2917
|
t.$slots.image ? {
|
|
3102
2918
|
name: "image",
|
|
3103
|
-
fn:
|
|
2919
|
+
fn: i(() => [
|
|
3104
2920
|
$(t.$slots, "image")
|
|
3105
2921
|
]),
|
|
3106
2922
|
key: "1"
|
|
3107
2923
|
} : void 0
|
|
3108
2924
|
]), 1024));
|
|
3109
2925
|
}
|
|
3110
|
-
}),
|
|
3111
|
-
const
|
|
2926
|
+
}), Ae = T("promotions", () => {
|
|
2927
|
+
const l = Y(), t = W(), n = F([]), o = Z(!1), s = Z(!1), u = y(() => n.value.filter((m) => m.metadata.discoverable));
|
|
3112
2928
|
be(r);
|
|
3113
2929
|
function c(m) {
|
|
3114
2930
|
const f = m.filter((v) => v.metadata.active);
|
|
@@ -3117,41 +2933,41 @@ const Ee = /* @__PURE__ */ y({
|
|
|
3117
2933
|
async function r() {
|
|
3118
2934
|
try {
|
|
3119
2935
|
o.value = !0;
|
|
3120
|
-
const m = await
|
|
2936
|
+
const m = await l.get("/one/promotions");
|
|
3121
2937
|
n.value = m.promotions;
|
|
3122
2938
|
} catch (m) {
|
|
3123
2939
|
t.showError(m?.message ?? "Error fetching promotions");
|
|
3124
2940
|
} finally {
|
|
3125
|
-
o.value = !1,
|
|
2941
|
+
o.value = !1, s.value = !0;
|
|
3126
2942
|
}
|
|
3127
2943
|
return n.value;
|
|
3128
2944
|
}
|
|
3129
2945
|
return {
|
|
3130
2946
|
all: n,
|
|
3131
2947
|
isLoading: o,
|
|
3132
|
-
hasLoaded:
|
|
3133
|
-
discoverable:
|
|
2948
|
+
hasLoaded: s,
|
|
2949
|
+
discoverable: u,
|
|
3134
2950
|
index: r,
|
|
3135
2951
|
random: c
|
|
3136
2952
|
};
|
|
3137
|
-
}),
|
|
2953
|
+
}), qn = /* @__PURE__ */ _({
|
|
3138
2954
|
__name: "VoPromotionsCardHighlight",
|
|
3139
2955
|
props: {
|
|
3140
2956
|
slug: {}
|
|
3141
2957
|
},
|
|
3142
|
-
setup(
|
|
3143
|
-
const t =
|
|
3144
|
-
if (!(n.user && !
|
|
2958
|
+
setup(l) {
|
|
2959
|
+
const t = l, n = D(), o = Ae(), s = fe(), u = S(), c = y(() => {
|
|
2960
|
+
if (!(n.user && !u.one.ads.enabled))
|
|
3145
2961
|
return t.slug ? o.all.find((f) => f.slug === t.slug) : o.random(o.all);
|
|
3146
|
-
}), r =
|
|
3147
|
-
const f =
|
|
2962
|
+
}), r = y(() => {
|
|
2963
|
+
const f = s.current.value.dark ? "logodark" : "logolight";
|
|
3148
2964
|
return c.value?.metadata.images[f]?.url;
|
|
3149
|
-
}), m =
|
|
3150
|
-
const f =
|
|
2965
|
+
}), m = y(() => {
|
|
2966
|
+
const f = s.current.value.dark ? "bgdark" : "bglight";
|
|
3151
2967
|
return c.value?.metadata.images[f]?.url;
|
|
3152
2968
|
});
|
|
3153
2969
|
return (f, v) => {
|
|
3154
|
-
const g =
|
|
2970
|
+
const g = ft;
|
|
3155
2971
|
return e(c) || !e(o).hasLoaded ? (d(), p(g, {
|
|
3156
2972
|
key: 0,
|
|
3157
2973
|
class: "vo-promotions-card-highlight",
|
|
@@ -3163,8 +2979,8 @@ const Ee = /* @__PURE__ */ y({
|
|
|
3163
2979
|
"prepend-avatar": e(r),
|
|
3164
2980
|
title: e(c)?.metadata.short_text,
|
|
3165
2981
|
width: "100%"
|
|
3166
|
-
},
|
|
3167
|
-
default:
|
|
2982
|
+
}, U({
|
|
2983
|
+
default: i(() => [
|
|
3168
2984
|
e(o).hasLoaded ? h("", !0) : (d(), p(ye, {
|
|
3169
2985
|
key: 0,
|
|
3170
2986
|
class: "flex-1-0 overflow-hidden",
|
|
@@ -3178,8 +2994,8 @@ const Ee = /* @__PURE__ */ y({
|
|
|
3178
2994
|
}, [
|
|
3179
2995
|
e(c) ? {
|
|
3180
2996
|
name: "prepend",
|
|
3181
|
-
fn:
|
|
3182
|
-
a(
|
|
2997
|
+
fn: i(() => [
|
|
2998
|
+
a(G, {
|
|
3183
2999
|
class: "my-n4 me-4",
|
|
3184
3000
|
icon: "$vuetify",
|
|
3185
3001
|
size: "36"
|
|
@@ -3189,50 +3005,50 @@ const Ee = /* @__PURE__ */ y({
|
|
|
3189
3005
|
} : void 0,
|
|
3190
3006
|
e(c) ? {
|
|
3191
3007
|
name: "image",
|
|
3192
|
-
fn:
|
|
3193
|
-
a(
|
|
3008
|
+
fn: i(() => [
|
|
3009
|
+
a(Q, { position: "right" })
|
|
3194
3010
|
]),
|
|
3195
3011
|
key: "1"
|
|
3196
3012
|
} : void 0
|
|
3197
3013
|
]), 1032, ["color", "href", "image", "prepend-avatar", "title"])) : h("", !0);
|
|
3198
3014
|
};
|
|
3199
3015
|
}
|
|
3200
|
-
}),
|
|
3016
|
+
}), Gn = { class: "d-flex ga-4" }, Wn = { class: "d-flex align-start ga-4" }, Qn = { class: "text-body-small on-surface-light" }, Yn = /* @__PURE__ */ _({
|
|
3201
3017
|
__name: "VoPromotionsCardVuetify",
|
|
3202
3018
|
props: {
|
|
3203
3019
|
slug: {}
|
|
3204
3020
|
},
|
|
3205
|
-
setup(
|
|
3206
|
-
const t =
|
|
3207
|
-
if (!(n.user && !
|
|
3208
|
-
return t.slug ? o.all.find((c) => c.slug === t.slug) : o.random(!
|
|
3021
|
+
setup(l) {
|
|
3022
|
+
const t = l, n = D(), o = Ae(), s = S(), u = y(() => {
|
|
3023
|
+
if (!(n.user && !s.one.ads.enabled && !s.one.ads.house))
|
|
3024
|
+
return t.slug ? o.all.find((c) => c.slug === t.slug) : o.random(!s.one.ads.enabled && s.one.ads.house ? o.discoverable : o.all);
|
|
3209
3025
|
});
|
|
3210
3026
|
return (c, r) => {
|
|
3211
|
-
const m =
|
|
3212
|
-
return e(
|
|
3027
|
+
const m = ft;
|
|
3028
|
+
return e(u) || !e(o).hasLoaded ? (d(), p(m, {
|
|
3213
3029
|
key: 0,
|
|
3214
3030
|
border: "",
|
|
3215
3031
|
caption: "ads via vuetify",
|
|
3216
3032
|
class: "vo-promotions-card-vuetify pa-2",
|
|
3217
|
-
href: e(
|
|
3033
|
+
href: e(u)?.metadata?.url,
|
|
3218
3034
|
width: "360"
|
|
3219
3035
|
}, {
|
|
3220
|
-
default:
|
|
3221
|
-
b("div",
|
|
3222
|
-
e(o).hasLoaded ? e(
|
|
3223
|
-
a(
|
|
3036
|
+
default: i(() => [
|
|
3037
|
+
b("div", Gn, [
|
|
3038
|
+
e(o).hasLoaded ? e(u) ? (d(), V(M, { key: 1 }, [
|
|
3039
|
+
a(Q, {
|
|
3224
3040
|
cover: "",
|
|
3225
3041
|
height: "100",
|
|
3226
3042
|
"max-width": "130",
|
|
3227
3043
|
position: "right",
|
|
3228
3044
|
rounded: "s",
|
|
3229
|
-
src: e(
|
|
3045
|
+
src: e(u).metadata?.images.default?.url,
|
|
3230
3046
|
width: "100%"
|
|
3231
3047
|
}, null, 8, ["src"]),
|
|
3232
|
-
b("div",
|
|
3233
|
-
b("div",
|
|
3048
|
+
b("div", Wn, [
|
|
3049
|
+
b("div", Qn, L(e(u).metadata?.text), 1)
|
|
3234
3050
|
])
|
|
3235
|
-
], 64)) : h("", !0) : (d(), V(
|
|
3051
|
+
], 64)) : h("", !0) : (d(), V(M, { key: 0 }, [
|
|
3236
3052
|
a(ye, {
|
|
3237
3053
|
class: "flex-1-0 overflow-hidden",
|
|
3238
3054
|
color: "transparent",
|
|
@@ -3255,30 +3071,30 @@ const Ee = /* @__PURE__ */ y({
|
|
|
3255
3071
|
}, 8, ["href"])) : h("", !0);
|
|
3256
3072
|
};
|
|
3257
3073
|
}
|
|
3258
|
-
}),
|
|
3074
|
+
}), Jn = ["href"], Kn = /* @__PURE__ */ _({
|
|
3259
3075
|
__name: "VoPromotionsFooter",
|
|
3260
3076
|
props: {
|
|
3261
3077
|
slug: {}
|
|
3262
3078
|
},
|
|
3263
|
-
setup(
|
|
3264
|
-
const t =
|
|
3265
|
-
if (!(n.user && !
|
|
3079
|
+
setup(l) {
|
|
3080
|
+
const t = l, n = D(), o = Ae(), s = S(), u = fe(), c = y(() => {
|
|
3081
|
+
if (!(n.user && !s.one.ads.enabled))
|
|
3266
3082
|
return t.slug ? o.all.find((f) => f.slug === t.slug) : o.random(o.all);
|
|
3267
|
-
}), r =
|
|
3268
|
-
const f =
|
|
3083
|
+
}), r = y(() => {
|
|
3084
|
+
const f = u.current.value.dark ? "logodark" : "logolight";
|
|
3269
3085
|
return c.value?.metadata.images[f]?.url;
|
|
3270
|
-
}), m =
|
|
3271
|
-
const f =
|
|
3086
|
+
}), m = y(() => {
|
|
3087
|
+
const f = u.current.value.dark ? "bgdark" : "bglight";
|
|
3272
3088
|
return c.value?.metadata.images[f]?.url;
|
|
3273
3089
|
});
|
|
3274
3090
|
return (f, v) => {
|
|
3275
|
-
const g =
|
|
3091
|
+
const g = pt;
|
|
3276
3092
|
return d(), p(g, {
|
|
3277
3093
|
color: e(c)?.metadata.color ?? "surface",
|
|
3278
3094
|
image: e(m),
|
|
3279
3095
|
style: { transform: "translateY(0)" }
|
|
3280
3096
|
}, {
|
|
3281
|
-
default:
|
|
3097
|
+
default: i(() => [
|
|
3282
3098
|
b("a", {
|
|
3283
3099
|
class: "d-flex align-center text-decoration-none py-2 px-4 ms-n4 flex-1-0 me-n4 position-relative",
|
|
3284
3100
|
href: e(c)?.metadata.url,
|
|
@@ -3286,13 +3102,13 @@ const Ee = /* @__PURE__ */ y({
|
|
|
3286
3102
|
style: { color: "inherit" },
|
|
3287
3103
|
target: "_blank"
|
|
3288
3104
|
}, [
|
|
3289
|
-
a(
|
|
3105
|
+
a(G, {
|
|
3290
3106
|
class: "me-4",
|
|
3291
3107
|
icon: "$vuetify",
|
|
3292
3108
|
image: e(r),
|
|
3293
3109
|
size: "24"
|
|
3294
3110
|
}, null, 8, ["image"]),
|
|
3295
|
-
b("div", null,
|
|
3111
|
+
b("div", null, L(e(c)?.metadata.text), 1),
|
|
3296
3112
|
e(c)?.metadata.advertisement ? (d(), p(ee, {
|
|
3297
3113
|
key: 0,
|
|
3298
3114
|
class: "ms-auto me-n4 align-self-end mb-n2 py-1 ps-3",
|
|
@@ -3301,14 +3117,14 @@ const Ee = /* @__PURE__ */ y({
|
|
|
3301
3117
|
text: "SPONSORED",
|
|
3302
3118
|
variant: "flat"
|
|
3303
3119
|
})) : h("", !0)
|
|
3304
|
-
], 8,
|
|
3120
|
+
], 8, Jn)
|
|
3305
3121
|
]),
|
|
3306
3122
|
_: 1
|
|
3307
3123
|
}, 8, ["color", "image"]);
|
|
3308
3124
|
};
|
|
3309
3125
|
}
|
|
3310
|
-
}),
|
|
3311
|
-
const
|
|
3126
|
+
}), Xn = T("spots", () => {
|
|
3127
|
+
const l = Y(), t = we(), n = W(), o = F([]), s = Z(!1), u = y(() => o.value.find(({
|
|
3312
3128
|
metadata: {
|
|
3313
3129
|
site: r,
|
|
3314
3130
|
active: m
|
|
@@ -3316,45 +3132,45 @@ const Ee = /* @__PURE__ */ y({
|
|
|
3316
3132
|
}) => m ? r.includes("dev") && !1 || r.includes("*") ? !0 : r.some((f) => t.id.includes(f)) : !1));
|
|
3317
3133
|
async function c() {
|
|
3318
3134
|
try {
|
|
3319
|
-
|
|
3320
|
-
const r = await
|
|
3135
|
+
s.value = !0;
|
|
3136
|
+
const r = await l.get("/one/spots");
|
|
3321
3137
|
o.value = r.spots;
|
|
3322
3138
|
} catch (r) {
|
|
3323
3139
|
n.showError(r?.message ?? "Error fetching spots");
|
|
3324
3140
|
} finally {
|
|
3325
|
-
|
|
3141
|
+
s.value = !1;
|
|
3326
3142
|
}
|
|
3327
3143
|
return o.value;
|
|
3328
3144
|
}
|
|
3329
3145
|
return {
|
|
3330
3146
|
all: o,
|
|
3331
|
-
isLoading:
|
|
3332
|
-
spot:
|
|
3147
|
+
isLoading: s,
|
|
3148
|
+
spot: u,
|
|
3333
3149
|
index: c
|
|
3334
3150
|
};
|
|
3335
|
-
}),
|
|
3151
|
+
}), es = ["href"], ts = /* @__PURE__ */ _({
|
|
3336
3152
|
__name: "VoSpot",
|
|
3337
|
-
setup(
|
|
3338
|
-
const t =
|
|
3153
|
+
setup(l) {
|
|
3154
|
+
const t = Xn();
|
|
3339
3155
|
return (n, o) => e(t).spot ? (d(), V("a", {
|
|
3340
3156
|
key: 0,
|
|
3341
3157
|
href: e(t).spot.metadata.href,
|
|
3342
3158
|
rel: "noopener noreferrer sponsored",
|
|
3343
3159
|
target: "_blank"
|
|
3344
3160
|
}, [
|
|
3345
|
-
a(
|
|
3161
|
+
a(Q, {
|
|
3346
3162
|
class: "mx-auto",
|
|
3347
3163
|
color: e(t).spot.metadata.image ? void 0 : "surface",
|
|
3348
3164
|
rounded: "",
|
|
3349
3165
|
src: e(t).spot.metadata.image?.url,
|
|
3350
3166
|
width: "225"
|
|
3351
3167
|
}, null, 8, ["color", "src"])
|
|
3352
|
-
], 8,
|
|
3168
|
+
], 8, es)) : h("", !0);
|
|
3353
3169
|
}
|
|
3354
|
-
}),
|
|
3170
|
+
}), Rs = {
|
|
3355
3171
|
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"],
|
|
3356
3172
|
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"],
|
|
3357
|
-
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",
|
|
3173
|
+
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"],
|
|
3358
3174
|
x: ["M2.04875 3.00002L9.77052 13.3248L1.99998 21.7192H3.74882L10.5519 14.3697L16.0486 21.7192H22L13.8437 10.8137L21.0765 3.00002H19.3277L13.0624 9.76874L8.0001 3.00002H2.04875ZM4.62054 4.28821H7.35461L19.4278 20.4308H16.6937L4.62054 4.28821Z"],
|
|
3359
3175
|
"vuetify-bin": [
|
|
3360
3176
|
["M18.9112 5.03206L3.68692 8.88953C3.68692 8.88953 2.00252 6.21666 2 6.21428C2.02517 6.20794 18.6159 2.00476 18.6394 2L18.8944 4.8489L18.9095 5.01937L18.9112 5.03285V5.03206Z", 0.6],
|
|
@@ -3425,12 +3241,12 @@ const Ee = /* @__PURE__ */ y({
|
|
|
3425
3241
|
["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],
|
|
3426
3242
|
["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]
|
|
3427
3243
|
]
|
|
3428
|
-
},
|
|
3429
|
-
const
|
|
3244
|
+
}, qs = T("bins", () => {
|
|
3245
|
+
const l = Y(), t = W(), n = F([]), o = Z(!1), s = y(() => n.value.filter((r) => r.favorite)), u = y(() => n.value.filter((r) => r.pinned));
|
|
3430
3246
|
async function c() {
|
|
3431
3247
|
try {
|
|
3432
3248
|
o.value = !0;
|
|
3433
|
-
const r = await
|
|
3249
|
+
const r = await l.get("/one/bins");
|
|
3434
3250
|
n.value = r.bins;
|
|
3435
3251
|
} catch (r) {
|
|
3436
3252
|
t.showError(r?.message ?? "Error fetching bins");
|
|
@@ -3441,20 +3257,20 @@ const Ee = /* @__PURE__ */ y({
|
|
|
3441
3257
|
}
|
|
3442
3258
|
return {
|
|
3443
3259
|
isLoading: o,
|
|
3444
|
-
pinned:
|
|
3445
|
-
favorites:
|
|
3260
|
+
pinned: u,
|
|
3261
|
+
favorites: s,
|
|
3446
3262
|
all: n,
|
|
3447
3263
|
index: c
|
|
3448
3264
|
};
|
|
3449
|
-
}),
|
|
3450
|
-
const
|
|
3451
|
-
const g = D(), k =
|
|
3265
|
+
}), Gs = T("links", () => {
|
|
3266
|
+
const l = Y(), t = W(), n = F([]), o = Z(!1), s = Z(!1), u = y(() => n.value.filter((g) => g.favorite)), c = y(() => n.value.filter((g) => g.pinned)), r = y(() => !!D().user), m = y(() => {
|
|
3267
|
+
const g = D(), k = j();
|
|
3452
3268
|
return g.user?.isAdmin || k.isSubscriber;
|
|
3453
3269
|
});
|
|
3454
3270
|
async function f() {
|
|
3455
3271
|
try {
|
|
3456
3272
|
o.value = !0;
|
|
3457
|
-
const g = await
|
|
3273
|
+
const g = await l.get("/one/links");
|
|
3458
3274
|
n.value = g.links;
|
|
3459
3275
|
} catch (g) {
|
|
3460
3276
|
t.showError(g?.message ?? "Error fetching links");
|
|
@@ -3469,8 +3285,8 @@ const Ee = /* @__PURE__ */ y({
|
|
|
3469
3285
|
return;
|
|
3470
3286
|
}
|
|
3471
3287
|
try {
|
|
3472
|
-
|
|
3473
|
-
const k = await
|
|
3288
|
+
s.value = !0;
|
|
3289
|
+
const k = await l.post("/one/links", {
|
|
3474
3290
|
link: {
|
|
3475
3291
|
title: g.title,
|
|
3476
3292
|
url: g.url,
|
|
@@ -3493,26 +3309,26 @@ const Ee = /* @__PURE__ */ y({
|
|
|
3493
3309
|
} catch (k) {
|
|
3494
3310
|
t.showError(k?.message ?? "Error creating link");
|
|
3495
3311
|
} finally {
|
|
3496
|
-
|
|
3312
|
+
s.value = !1;
|
|
3497
3313
|
}
|
|
3498
3314
|
}
|
|
3499
3315
|
return {
|
|
3500
3316
|
isLoading: o,
|
|
3501
|
-
isSaving:
|
|
3317
|
+
isSaving: s,
|
|
3502
3318
|
canCreate: r,
|
|
3503
3319
|
canUseCustomSlug: m,
|
|
3504
3320
|
pinned: c,
|
|
3505
|
-
favorites:
|
|
3321
|
+
favorites: u,
|
|
3506
3322
|
all: n,
|
|
3507
3323
|
index: f,
|
|
3508
3324
|
create: v
|
|
3509
3325
|
};
|
|
3510
|
-
}),
|
|
3511
|
-
const
|
|
3326
|
+
}), Ws = T("plays", () => {
|
|
3327
|
+
const l = Y(), t = W(), n = F([]), o = Z(!1), s = y(() => n.value.filter((r) => r.favorite)), u = y(() => n.value.filter((r) => r.pinned));
|
|
3512
3328
|
async function c() {
|
|
3513
3329
|
try {
|
|
3514
3330
|
o.value = !0;
|
|
3515
|
-
const r = await
|
|
3331
|
+
const r = await l.get("/one/playgrounds");
|
|
3516
3332
|
n.value = r.playgrounds;
|
|
3517
3333
|
} catch (r) {
|
|
3518
3334
|
t.showError(r?.message ?? "Error fetching playgrounds");
|
|
@@ -3523,35 +3339,13 @@ const Ee = /* @__PURE__ */ y({
|
|
|
3523
3339
|
}
|
|
3524
3340
|
return {
|
|
3525
3341
|
isLoading: o,
|
|
3526
|
-
pinned:
|
|
3527
|
-
favorites:
|
|
3342
|
+
pinned: u,
|
|
3343
|
+
favorites: s,
|
|
3528
3344
|
all: n,
|
|
3529
3345
|
index: c
|
|
3530
3346
|
};
|
|
3531
|
-
}),
|
|
3532
|
-
const
|
|
3533
|
-
async function i() {
|
|
3534
|
-
if (n.value.length > 0)
|
|
3535
|
-
return n.value;
|
|
3536
|
-
try {
|
|
3537
|
-
const c = await u.get("/one/shopify/products");
|
|
3538
|
-
n.value = c.products;
|
|
3539
|
-
} catch (c) {
|
|
3540
|
-
t.showError(c?.message ?? "Error fetching products");
|
|
3541
|
-
}
|
|
3542
|
-
return n.value;
|
|
3543
|
-
}
|
|
3544
|
-
function l(c) {
|
|
3545
|
-
return c.slice().toSorted(() => Math.random() - 0.5);
|
|
3546
|
-
}
|
|
3547
|
-
return {
|
|
3548
|
-
all: n,
|
|
3549
|
-
themes: o,
|
|
3550
|
-
index: i,
|
|
3551
|
-
randomize: l
|
|
3552
|
-
};
|
|
3553
|
-
}), ra = H("sponsors", () => {
|
|
3554
|
-
const u = G(), t = R(), n = F([]), o = F([]), i = F(!1), l = _(() => {
|
|
3347
|
+
}), Qs = T("sponsors", () => {
|
|
3348
|
+
const l = Y(), t = W(), n = F([]), o = F([]), s = F(!1), u = y(() => {
|
|
3555
3349
|
const m = {};
|
|
3556
3350
|
for (const f of n.value) {
|
|
3557
3351
|
const v = f.metadata.tier;
|
|
@@ -3559,16 +3353,16 @@ const Ee = /* @__PURE__ */ y({
|
|
|
3559
3353
|
}
|
|
3560
3354
|
return m;
|
|
3561
3355
|
});
|
|
3562
|
-
|
|
3356
|
+
Ct(c), be(c);
|
|
3563
3357
|
async function c() {
|
|
3564
3358
|
try {
|
|
3565
|
-
|
|
3566
|
-
const m = await
|
|
3359
|
+
s.value = !0;
|
|
3360
|
+
const m = await l.get("/one/sponsors");
|
|
3567
3361
|
o.value = m.sponsors, n.value = m.sponsors.filter((f) => f.metadata.active && f.status === "published");
|
|
3568
3362
|
} catch (m) {
|
|
3569
3363
|
t.showError(m?.message ?? "Error fetching sponsors");
|
|
3570
3364
|
} finally {
|
|
3571
|
-
|
|
3365
|
+
s.value = !1;
|
|
3572
3366
|
}
|
|
3573
3367
|
return o.value;
|
|
3574
3368
|
}
|
|
@@ -3576,54 +3370,52 @@ const Ee = /* @__PURE__ */ y({
|
|
|
3576
3370
|
return n.value.find((f) => f.slug === m);
|
|
3577
3371
|
}
|
|
3578
3372
|
return {
|
|
3579
|
-
isLoading:
|
|
3373
|
+
isLoading: s,
|
|
3580
3374
|
all: o,
|
|
3581
3375
|
sponsors: n,
|
|
3582
|
-
byTier:
|
|
3376
|
+
byTier: u,
|
|
3583
3377
|
bySlug: r,
|
|
3584
3378
|
index: c
|
|
3585
3379
|
};
|
|
3586
3380
|
});
|
|
3587
|
-
function
|
|
3588
|
-
function
|
|
3589
|
-
t.component("VoAppBar",
|
|
3381
|
+
function Ys() {
|
|
3382
|
+
function l(t) {
|
|
3383
|
+
t.component("VoAppBar", Zn), t.component("VoAuthBtn", mt), t.component("VoAuthCard", st), t.component("VoAuthDialog", at), t.component("VoAuthListItem", rt), t.component("VoNotificationsBanner", Tn), t.component("VoPromotionsCardHighlight", qn), t.component("VoPromotionsCardVuetify", Yn), t.component("VoPromotionsFooter", Kn), t.component("VoScript", Bn), t.component("VoSocialFooter", On), t.component("VoSpot", ts);
|
|
3590
3384
|
}
|
|
3591
|
-
return { install:
|
|
3385
|
+
return { install: l };
|
|
3592
3386
|
}
|
|
3593
|
-
function
|
|
3387
|
+
function Js(l, t) {
|
|
3594
3388
|
return function(n) {
|
|
3595
3389
|
const o = n.store;
|
|
3596
3390
|
if (o.$id === "http") {
|
|
3597
3391
|
o.url = t;
|
|
3598
3392
|
return;
|
|
3599
3393
|
}
|
|
3600
|
-
o.$id === "site" && (o.id =
|
|
3394
|
+
o.$id === "site" && (o.id = l);
|
|
3601
3395
|
};
|
|
3602
3396
|
}
|
|
3603
3397
|
export {
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3398
|
+
Rs as aliases,
|
|
3399
|
+
Ts as createAuth,
|
|
3400
|
+
xo as createAuthPlugin,
|
|
3401
|
+
Ys as createOne,
|
|
3402
|
+
Js as one,
|
|
3403
|
+
e1 as useApiKeyStore,
|
|
3610
3404
|
D as useAuthStore,
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
Lt as useTeamStore,
|
|
3628
|
-
M as useUserStore
|
|
3405
|
+
Se as useBannersStore,
|
|
3406
|
+
qs as useBinsStore,
|
|
3407
|
+
t1 as useDeviceStore,
|
|
3408
|
+
Y as useHttpStore,
|
|
3409
|
+
Gs as useLinksStore,
|
|
3410
|
+
ge as useNotificationsStore,
|
|
3411
|
+
j as useOneStore,
|
|
3412
|
+
Ws as usePlaysStore,
|
|
3413
|
+
Ae as usePromotionsStore,
|
|
3414
|
+
W as useQueueStore,
|
|
3415
|
+
Le as useSettingsStore,
|
|
3416
|
+
we as useSiteStore,
|
|
3417
|
+
Qs as useSponsorsStore,
|
|
3418
|
+
Xn as useSpotsStore,
|
|
3419
|
+
kt as useTeamStore,
|
|
3420
|
+
S as useUserStore
|
|
3629
3421
|
};
|