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