@vuetify/one 2.11.1 → 2.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +84 -80
- package/dist/one.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as _, createBlock as m, openBlock as c, unref as e, computed as b, createSlots as P, withCtx as s, createElementVNode as g, toDisplayString as V, createVNode as n, createTextVNode as S, normalizeStyle as it, createCommentVNode as h, renderSlot as w, shallowRef as M, watch as H, withModifiers as _e, mergeModels as rt, useModel as W, createElementBlock as k, Fragment as D, nextTick as be, renderList as K, mergeProps as R, withDirectives as Z, vShow as Ie, isRef as j, ref as F, readonly as Se, resolveComponent as lt, watchEffect as Nt, onMounted as
|
|
2
|
-
import { u as ee, a as E, b as T, c as B, d as Ce, e as Y, f as
|
|
1
|
+
import { defineComponent as _, createBlock as m, openBlock as c, unref as e, computed as b, createSlots as P, withCtx as s, createElementVNode as g, toDisplayString as V, createVNode as n, createTextVNode as S, normalizeStyle as it, createCommentVNode as h, renderSlot as w, shallowRef as M, watch as H, withModifiers as _e, mergeModels as rt, useModel as W, createElementBlock as k, Fragment as D, nextTick as be, renderList as K, mergeProps as R, withDirectives as Z, vShow as Ie, isRef as j, ref as F, readonly as Se, resolveComponent as lt, watchEffect as Nt, onMounted as De, toRef as ge, normalizeClass as Ht, useSlots as ut, normalizeProps as ct, guardReactiveProps as dt, onBeforeMount as He, onBeforeUnmount as jt, useCssVars as Rt, onServerPrefetch as qt } from "vue";
|
|
2
|
+
import { u as ee, a as E, b as T, c as B, d as Ce, e as Y, f as Ae } from "./auth-DCDisIda.js";
|
|
3
3
|
import { VSnackbarQueue as Gt } from "vuetify/components/VSnackbarQueue";
|
|
4
|
-
import { mdiStorefront as Wt, mdiSync as Kt, mdiSyncOff as Yt, mdiLogoutVariant as Qt, mdiFullscreenExit as Xt, mdiFullscreen as Jt, mdiCheck as ke, mdiSelect as eo, mdiSpaceInvaders as pt, mdiImageFilterHdr as mt, mdiTransmissionTower as ft, mdiRocketLaunchOutline as vt, mdiHome as to, mdiTextBox as oo, mdiWhiteBalanceSunny as no, mdiWeatherNight as so, mdiDesktopTowerMonitor as ao, mdiContrastCircle as io, mdiCog as ro, mdiCogOutline as lo, mdiShieldKeyOutline as uo, mdiContentCopy as
|
|
4
|
+
import { mdiStorefront as Wt, mdiSync as Kt, mdiSyncOff as Yt, mdiLogoutVariant as Qt, mdiFullscreenExit as Xt, mdiFullscreen as Jt, mdiCheck as ke, mdiSelect as eo, mdiSpaceInvaders as pt, mdiImageFilterHdr as mt, mdiTransmissionTower as ft, mdiRocketLaunchOutline as vt, mdiHome as to, mdiTextBox as oo, mdiWhiteBalanceSunny as no, mdiWeatherNight as so, mdiDesktopTowerMonitor as ao, mdiContrastCircle as io, mdiCog as ro, mdiCogOutline as lo, mdiShieldKeyOutline as uo, mdiContentCopy as je, mdiFileDocument as gt, mdiKey as co, mdiPlus as po, mdiRefresh as mo, mdiKeyOutline as fo, mdiCreditCardSettingsOutline as vo, mdiRocketOutline as go, mdiCheckCircleOutline as Me, mdiCreditCard as yo, mdiReload as _o, mdiPlaylistCheck as ho, mdiCreditCardOutline as bo, mdiOpenInNew as Te, mdiMedal as Co, mdiHandHeart as ko, mdiHandHeartOutline as Vo, mdiCloudDownload as $o, mdiTrayArrowDown as tt, mdiAccountGroup as xo, mdiAccount as Lo, mdiLinkVariant as wo, mdiShieldLock as ot, mdiAccountRemoveOutline as So, mdiExitToApp as Mo, mdiAccountGroupOutline as Io, mdiPin as Do, mdiPinOutline as Ao, mdiEmailOpenOutline as Re, mdiEmailVariant as qe, mdiBell as To, mdiInboxOutline as Uo, mdiInboxFullOutline as Po, mdiBillboard as zo, mdiBellOutline as Bo, mdiViewDashboardOutline as Oo, mdiCrown as Eo, mdiArrowULeftBottom as Fo, mdiAtomVariant as Zo, mdiLogin as nt, mdiDotsVertical as No, mdiShieldStarOutline as Ho } from "@mdi/js";
|
|
5
5
|
import { VListItem as ae, VList as ne, VListSubheader as jo, VListItemTitle as yt, VListItemSubtitle as Ro } from "vuetify/components/VList";
|
|
6
6
|
import { VAvatar as oe } from "vuetify/components/VAvatar";
|
|
7
7
|
import { VCard as z, VCardTitle as qo, VCardSubtitle as Go, VCardText as J, VCardActions as _t, VCardItem as Fe } from "vuetify/components/VCard";
|
|
@@ -9,9 +9,9 @@ import { VDialog as Ve } from "vuetify/components/VDialog";
|
|
|
9
9
|
import { VBtn as A } from "vuetify/components/VBtn";
|
|
10
10
|
import { VProgressCircular as Wo } from "vuetify/components/VProgressCircular";
|
|
11
11
|
import { VSheet as $e } from "vuetify/components/VSheet";
|
|
12
|
-
import { VSwitch as
|
|
12
|
+
import { VSwitch as Ge } from "vuetify/components/VSwitch";
|
|
13
13
|
import { VFadeTransition as xe, VExpandTransition as Le, VExpandXTransition as Ko } from "vuetify/components/transitions";
|
|
14
|
-
import { useDisplay as ie, useTheme as
|
|
14
|
+
import { useDisplay as ie, useTheme as Ue, useDate as me } from "vuetify";
|
|
15
15
|
import { VDivider as N } from "vuetify/components/VDivider";
|
|
16
16
|
import { VIcon as I } from "vuetify/components/VIcon";
|
|
17
17
|
import { VLabel as Ze } from "vuetify/components/VLabel";
|
|
@@ -33,11 +33,11 @@ import { VDataTableVirtual as kt, VDataTable as nn } from "vuetify/components/VD
|
|
|
33
33
|
import { VSkeletonLoader as he } from "vuetify/components/VSkeletonLoader";
|
|
34
34
|
import { VWindow as Vt, VWindowItem as ye } from "vuetify/components/VWindow";
|
|
35
35
|
import { VTimelineItem as sn, VTimeline as an } from "vuetify/components/VTimeline";
|
|
36
|
-
import { VEmptyState as
|
|
37
|
-
import { VMenu as
|
|
36
|
+
import { VEmptyState as We } from "vuetify/components/VEmptyState";
|
|
37
|
+
import { VMenu as Pe } from "vuetify/components/VMenu";
|
|
38
38
|
import { VTooltip as $t } from "vuetify/components/VTooltip";
|
|
39
39
|
import { VResponsive as rn } from "vuetify/components/VResponsive";
|
|
40
|
-
import { VBadge as
|
|
40
|
+
import { VBadge as Ke } from "vuetify/components/VBadge";
|
|
41
41
|
import { VNavigationDrawer as ln } from "vuetify/components/VNavigationDrawer";
|
|
42
42
|
import { VColorPicker as un } from "vuetify/components/VColorPicker";
|
|
43
43
|
import { VAppBar as xt } from "vuetify/components/VAppBar";
|
|
@@ -306,7 +306,7 @@ const mn = /* @__PURE__ */ _({
|
|
|
306
306
|
append: s(() => [
|
|
307
307
|
n(xe, null, {
|
|
308
308
|
default: s(() => [
|
|
309
|
-
e(t).user && (e(o) || !e(a).one.sync) ? (c(), m(
|
|
309
|
+
e(t).user && (e(o) || !e(a).one.sync) ? (c(), m(Ge, {
|
|
310
310
|
key: 0,
|
|
311
311
|
modelValue: e(a).one.sync,
|
|
312
312
|
"onUpdate:modelValue": r[0] || (r[0] = (v) => e(a).one.sync = v),
|
|
@@ -498,7 +498,7 @@ const mn = /* @__PURE__ */ _({
|
|
|
498
498
|
disabled: { type: Boolean }
|
|
499
499
|
},
|
|
500
500
|
setup(p) {
|
|
501
|
-
return (t, a) => (c(), m(
|
|
501
|
+
return (t, a) => (c(), m(Ge, {
|
|
502
502
|
color: "primary",
|
|
503
503
|
density: "compact",
|
|
504
504
|
disabled: t.disabled,
|
|
@@ -871,8 +871,8 @@ function Ln() {
|
|
|
871
871
|
}
|
|
872
872
|
};
|
|
873
873
|
}
|
|
874
|
-
const
|
|
875
|
-
const p = "https://cdn.vuetifyjs.com/docs/images/one/", t = B(), a = T(), o =
|
|
874
|
+
const ze = q("settings", () => {
|
|
875
|
+
const p = "https://cdn.vuetifyjs.com/docs/images/one/", t = B(), a = T(), o = Ue(), i = Ln(), u = {
|
|
876
876
|
blackguard: {
|
|
877
877
|
"app-bar": p + "suits/blackguard/blackguard-app-bar.png",
|
|
878
878
|
drawer: p + "suits/blackguard/blackguard-app-drawer.png",
|
|
@@ -920,7 +920,7 @@ const Pe = q("settings", () => {
|
|
|
920
920
|
},
|
|
921
921
|
emits: ["update:modelValue"],
|
|
922
922
|
setup(p) {
|
|
923
|
-
const t = W(p, "modelValue"), a = B(), o =
|
|
923
|
+
const t = W(p, "modelValue"), a = B(), o = ze(), i = T(), u = b(() => [
|
|
924
924
|
{
|
|
925
925
|
title: "Light",
|
|
926
926
|
subtitle: "A standard light theme.",
|
|
@@ -1190,7 +1190,7 @@ const Pe = q("settings", () => {
|
|
|
1190
1190
|
}, 8, ["active", "prepend-icon"]);
|
|
1191
1191
|
};
|
|
1192
1192
|
}
|
|
1193
|
-
}),
|
|
1193
|
+
}), Be = q("api-key", () => {
|
|
1194
1194
|
const p = Y(), t = F(null), a = M(!1), o = b(() => t.value?.apiKey || ""), i = b(() => {
|
|
1195
1195
|
if (!o.value)
|
|
1196
1196
|
return "";
|
|
@@ -1215,7 +1215,7 @@ const Pe = q("settings", () => {
|
|
|
1215
1215
|
fetch: r
|
|
1216
1216
|
};
|
|
1217
1217
|
});
|
|
1218
|
-
function
|
|
1218
|
+
function Oe(p = 1e3) {
|
|
1219
1219
|
const t = M(!1);
|
|
1220
1220
|
async function a(o) {
|
|
1221
1221
|
await navigator.clipboard.writeText(o), t.value = !0, setTimeout(() => t.value = !1, p);
|
|
@@ -1230,7 +1230,7 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1230
1230
|
},
|
|
1231
1231
|
emits: ["update:modelValue"],
|
|
1232
1232
|
setup(p) {
|
|
1233
|
-
const t =
|
|
1233
|
+
const t = Be(), { copy: a, copied: o } = Oe(), i = W(p, "modelValue");
|
|
1234
1234
|
return (u, r) => {
|
|
1235
1235
|
const l = lt("v-icon-btn");
|
|
1236
1236
|
return c(), m(Ve, {
|
|
@@ -1320,7 +1320,7 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1320
1320
|
}), An = { class: "d-flex align-center justify-end" }, Tn = { class: "text-end" }, Un = /* @__PURE__ */ _({
|
|
1321
1321
|
__name: "VoMcpTokenTable",
|
|
1322
1322
|
setup(p) {
|
|
1323
|
-
const t =
|
|
1323
|
+
const t = Be(), { copy: a, copied: o } = Oe(2e3), i = me();
|
|
1324
1324
|
return (u, r) => (c(), m(Xo, { class: "rounded border mt-4" }, {
|
|
1325
1325
|
default: s(() => [
|
|
1326
1326
|
g("thead", null, [
|
|
@@ -1353,7 +1353,7 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1353
1353
|
}), {
|
|
1354
1354
|
append: s(() => [
|
|
1355
1355
|
n(I, {
|
|
1356
|
-
icon: e(o) ? "$success" : `svg:${e(
|
|
1356
|
+
icon: e(o) ? "$success" : `svg:${e(je)}`,
|
|
1357
1357
|
opacity: l || e(o) ? 1 : 0
|
|
1358
1358
|
}, null, 8, ["icon", "opacity"])
|
|
1359
1359
|
]),
|
|
@@ -1374,7 +1374,7 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1374
1374
|
}), Pn = { class: "my-4" }, zn = { class: "bg-surface-variant rounded pa-2 d-block" }, Bn = /* @__PURE__ */ _({
|
|
1375
1375
|
__name: "VoMcpHowTo",
|
|
1376
1376
|
setup(p) {
|
|
1377
|
-
const t =
|
|
1377
|
+
const t = Be(), { copy: a, copied: o } = Oe(), i = b(() => `npx -y @vuetify/mcp config --api-key="${t.key || "YOUR_KEY"}"`), u = b(() => t.key ? `npx -y @vuetify/mcp config --api-key="${t.trim}"` : i.value);
|
|
1378
1378
|
return (r, l) => (c(), m(en, {
|
|
1379
1379
|
"bg-color": "surface-variant",
|
|
1380
1380
|
class: "mb-4",
|
|
@@ -1401,7 +1401,7 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1401
1401
|
n(I, {
|
|
1402
1402
|
class: "ms-2",
|
|
1403
1403
|
end: "",
|
|
1404
|
-
icon: e(o) ? "$success" : `svg:${e(
|
|
1404
|
+
icon: e(o) ? "$success" : `svg:${e(je)}`,
|
|
1405
1405
|
size: "1em",
|
|
1406
1406
|
onClick: l[0] || (l[0] = (d) => e(a)(e(i)))
|
|
1407
1407
|
}, null, 8, ["icon"])
|
|
@@ -1436,7 +1436,7 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1436
1436
|
},
|
|
1437
1437
|
emits: ["update:modelValue"],
|
|
1438
1438
|
setup(p) {
|
|
1439
|
-
const t =
|
|
1439
|
+
const t = Be(), a = T(), o = M(!1), i = W(p, "modelValue");
|
|
1440
1440
|
async function u(r = !1) {
|
|
1441
1441
|
await t.generate(r), o.value = !0;
|
|
1442
1442
|
}
|
|
@@ -1843,7 +1843,7 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1843
1843
|
},
|
|
1844
1844
|
emits: ["update:interval", "update:type"],
|
|
1845
1845
|
setup(p) {
|
|
1846
|
-
const t = M(!1), a = W(p, "interval"), o = W(p, "type"), i = B(), u =
|
|
1846
|
+
const t = M(!1), a = W(p, "interval"), o = W(p, "type"), i = B(), u = Ae(), r = b(() => u.hasTeamAccess && !u.isTeamOwner), l = {
|
|
1847
1847
|
solo: {
|
|
1848
1848
|
month: "2.99 /month",
|
|
1849
1849
|
year: "29.99 /year"
|
|
@@ -1928,7 +1928,7 @@ const Dn = /* @__PURE__ */ _({
|
|
|
1928
1928
|
]),
|
|
1929
1929
|
_: 1
|
|
1930
1930
|
}, 8, ["modelValue"]),
|
|
1931
|
-
n(
|
|
1931
|
+
n(Ge, {
|
|
1932
1932
|
modelValue: a.value,
|
|
1933
1933
|
"onUpdate:modelValue": f[1] || (f[1] = (y) => a.value = y),
|
|
1934
1934
|
"false-value": "month",
|
|
@@ -2092,7 +2092,7 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2092
2092
|
}), is = {
|
|
2093
2093
|
key: 0,
|
|
2094
2094
|
class: "text-success"
|
|
2095
|
-
},
|
|
2095
|
+
}, Ye = /* @__PURE__ */ _({
|
|
2096
2096
|
__name: "VoSponsorshipsTimelineItem",
|
|
2097
2097
|
props: {
|
|
2098
2098
|
title: {},
|
|
@@ -2104,7 +2104,7 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2104
2104
|
sponsorship: {}
|
|
2105
2105
|
},
|
|
2106
2106
|
setup(p) {
|
|
2107
|
-
const t = p, a =
|
|
2107
|
+
const t = p, a = ze(), o = b(() => `$${Number.parseFloat(String((t.sponsorship?.amount ?? 0) / 100)).toFixed(2)} /${t.sponsorship?.interval}`);
|
|
2108
2108
|
return (i, u) => {
|
|
2109
2109
|
const r = we;
|
|
2110
2110
|
return c(), m(sn, {
|
|
@@ -2143,7 +2143,7 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2143
2143
|
active: !1,
|
|
2144
2144
|
color: i.sponsorship?.isActive ? "success" : "primary",
|
|
2145
2145
|
href: i.sponsorship?.isActive || i.to ? void 0 : i.href,
|
|
2146
|
-
"prepend-icon": `svg:${i.sponsorship?.isActive ? e(Me) : e(
|
|
2146
|
+
"prepend-icon": `svg:${i.sponsorship?.isActive ? e(Me) : e(Te)}`,
|
|
2147
2147
|
readonly: i.sponsorship?.isActive,
|
|
2148
2148
|
target: i.sponsorship?.isActive || i.to ? void 0 : "_blank",
|
|
2149
2149
|
text: i.sponsorship?.isActive ? "Active" : "Info",
|
|
@@ -2163,7 +2163,7 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2163
2163
|
setup(p) {
|
|
2164
2164
|
const t = B();
|
|
2165
2165
|
return (a, o) => {
|
|
2166
|
-
const i =
|
|
2166
|
+
const i = Ye;
|
|
2167
2167
|
return c(), m(i, {
|
|
2168
2168
|
href: "https://discord.com/servers/vuetify-340160225338195969",
|
|
2169
2169
|
logo: "discord",
|
|
@@ -2178,7 +2178,7 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2178
2178
|
setup(p) {
|
|
2179
2179
|
const t = B();
|
|
2180
2180
|
return (a, o) => {
|
|
2181
|
-
const i =
|
|
2181
|
+
const i = Ye;
|
|
2182
2182
|
return c(), m(i, {
|
|
2183
2183
|
href: "https://github.com/sponsors/johnleider",
|
|
2184
2184
|
logo: "github",
|
|
@@ -2193,7 +2193,7 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2193
2193
|
setup(p) {
|
|
2194
2194
|
const t = B();
|
|
2195
2195
|
return (a, o) => {
|
|
2196
|
-
const i =
|
|
2196
|
+
const i = Ye;
|
|
2197
2197
|
return c(), m(i, {
|
|
2198
2198
|
logo: "one",
|
|
2199
2199
|
sponsorship: e(t).one,
|
|
@@ -2259,7 +2259,7 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2259
2259
|
]),
|
|
2260
2260
|
_: 1
|
|
2261
2261
|
}),
|
|
2262
|
-
n(
|
|
2262
|
+
n(We, {
|
|
2263
2263
|
class: "flex-1-0",
|
|
2264
2264
|
icon: "$vuetify",
|
|
2265
2265
|
"min-height": "auto",
|
|
@@ -2358,7 +2358,7 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2358
2358
|
value: "download_url"
|
|
2359
2359
|
}
|
|
2360
2360
|
];
|
|
2361
|
-
return
|
|
2361
|
+
return De(async () => {
|
|
2362
2362
|
await a.index();
|
|
2363
2363
|
}), (i, u) => {
|
|
2364
2364
|
const r = re;
|
|
@@ -2473,7 +2473,7 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2473
2473
|
},
|
|
2474
2474
|
emits: ["update:modelValue"],
|
|
2475
2475
|
setup(p) {
|
|
2476
|
-
const t = B(), a =
|
|
2476
|
+
const t = B(), a = Ae(), o = Y(), { copy: i, copied: u } = Oe(), r = b(() => a.team), l = Ce(), d = M(!1), f = [
|
|
2477
2477
|
{
|
|
2478
2478
|
title: "Name",
|
|
2479
2479
|
key: "name"
|
|
@@ -2540,7 +2540,7 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2540
2540
|
}, {
|
|
2541
2541
|
default: s(() => [
|
|
2542
2542
|
L[3] || (L[3] = S(" Add member ", -1)),
|
|
2543
|
-
n(
|
|
2543
|
+
n(Pe, {
|
|
2544
2544
|
activator: "parent",
|
|
2545
2545
|
"close-on-content-click": !1,
|
|
2546
2546
|
location: "bottom end",
|
|
@@ -2582,7 +2582,7 @@ const Dn = /* @__PURE__ */ _({
|
|
|
2582
2582
|
}, {
|
|
2583
2583
|
"append-inner": s(() => [
|
|
2584
2584
|
Z(n(I, {
|
|
2585
|
-
icon: `svg:${e(u) ? e(ke) : e(
|
|
2585
|
+
icon: `svg:${e(u) ? e(ke) : e(je)}`,
|
|
2586
2586
|
size: "small",
|
|
2587
2587
|
onClick: L[0] || (L[0] = (x) => e(i)(e(y)))
|
|
2588
2588
|
}, null, 8, ["icon"]), [
|
|
@@ -2906,7 +2906,7 @@ const at = /* @__PURE__ */ _({
|
|
|
2906
2906
|
n(at)
|
|
2907
2907
|
]),
|
|
2908
2908
|
_: 1
|
|
2909
|
-
}, 8, ["modelValue"])) : (c(), m(
|
|
2909
|
+
}, 8, ["modelValue"])) : (c(), m(Pe, {
|
|
2910
2910
|
key: 1,
|
|
2911
2911
|
modelValue: e(o),
|
|
2912
2912
|
"onUpdate:modelValue": u[1] || (u[1] = (l) => j(o) ? o.value = l : null),
|
|
@@ -2964,7 +2964,7 @@ const at = /* @__PURE__ */ _({
|
|
|
2964
2964
|
}, {
|
|
2965
2965
|
default: s(() => [
|
|
2966
2966
|
r.items.length === 0 ? (c(), k("div", Ls, [
|
|
2967
|
-
n(
|
|
2967
|
+
n(We, {
|
|
2968
2968
|
icon: "$vuetify",
|
|
2969
2969
|
size: "256"
|
|
2970
2970
|
}, {
|
|
@@ -3015,7 +3015,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3015
3015
|
default: s(() => [
|
|
3016
3016
|
Z(n(A, R({ ref_for: !0 }, v, {
|
|
3017
3017
|
class: "ms-auto float-right",
|
|
3018
|
-
icon: `svg:${i(d.slug) ? e(
|
|
3018
|
+
icon: `svg:${i(d.slug) ? e(qe) : e(Re)}`,
|
|
3019
3019
|
size: "small",
|
|
3020
3020
|
variant: "text",
|
|
3021
3021
|
onClick: (C) => u(d)
|
|
@@ -3036,7 +3036,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3036
3036
|
target: d.metadata.link.startsWith("http") ? "_blank" : void 0,
|
|
3037
3037
|
to: d.metadata.link.startsWith("http") ? void 0 : d.metadata.link
|
|
3038
3038
|
}, {
|
|
3039
|
-
"append-icon": `svg:${e(
|
|
3039
|
+
"append-icon": `svg:${e(Te)}`,
|
|
3040
3040
|
border: "",
|
|
3041
3041
|
label: "",
|
|
3042
3042
|
size: "small",
|
|
@@ -3108,7 +3108,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3108
3108
|
default: s(() => [
|
|
3109
3109
|
Z(n(A, R($, {
|
|
3110
3110
|
class: "ms-auto",
|
|
3111
|
-
icon: `svg:${r(d.notification.slug) ? e(
|
|
3111
|
+
icon: `svg:${r(d.notification.slug) ? e(qe) : e(Re)}`,
|
|
3112
3112
|
"mdi-email-variant": "",
|
|
3113
3113
|
size: "small",
|
|
3114
3114
|
variant: "text",
|
|
@@ -3136,7 +3136,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3136
3136
|
g("div", Us, V(e(o).format(d.notification.created_at, "fullDateWithWeekday")), 1),
|
|
3137
3137
|
g("div", Ps, V(d.notification.metadata.text), 1),
|
|
3138
3138
|
n(te, R({
|
|
3139
|
-
"append-icon": `svg:${e(
|
|
3139
|
+
"append-icon": `svg:${e(Te)}`
|
|
3140
3140
|
}, e(u), {
|
|
3141
3141
|
border: "",
|
|
3142
3142
|
label: "",
|
|
@@ -3175,7 +3175,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3175
3175
|
}, {
|
|
3176
3176
|
default: s(() => [
|
|
3177
3177
|
t.items.length === 0 ? (c(), k("div", Bs, [
|
|
3178
|
-
n(
|
|
3178
|
+
n(We, {
|
|
3179
3179
|
icon: "$vuetify",
|
|
3180
3180
|
size: "256"
|
|
3181
3181
|
}, {
|
|
@@ -3204,7 +3204,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3204
3204
|
id: p,
|
|
3205
3205
|
url: t
|
|
3206
3206
|
};
|
|
3207
|
-
}),
|
|
3207
|
+
}), Qe = q("banners", () => {
|
|
3208
3208
|
const p = Y(), t = Pt(), a = T(), o = ee(), i = F([]), u = M(!1), r = b(() => {
|
|
3209
3209
|
if (l.value)
|
|
3210
3210
|
return l.value;
|
|
@@ -3276,7 +3276,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3276
3276
|
},
|
|
3277
3277
|
emits: ["update:modelValue"],
|
|
3278
3278
|
setup(p) {
|
|
3279
|
-
const t = ie(), a = Ce(), o =
|
|
3279
|
+
const t = ie(), a = Ce(), o = Qe(), i = Ee(), u = B(), r = T(), l = M(["read"]), d = W(p, "modelValue");
|
|
3280
3280
|
function f() {
|
|
3281
3281
|
const v = i.unread.map((C) => C.slug);
|
|
3282
3282
|
r.one.notifications.read.push(...v);
|
|
@@ -3304,7 +3304,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3304
3304
|
class: "me-2",
|
|
3305
3305
|
density: "comfortable",
|
|
3306
3306
|
disabled: e(i).unread.length === 0,
|
|
3307
|
-
icon: `svg:${e(
|
|
3307
|
+
icon: `svg:${e(Re)}`,
|
|
3308
3308
|
size: "small",
|
|
3309
3309
|
variant: "text",
|
|
3310
3310
|
onClick: f
|
|
@@ -3316,7 +3316,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3316
3316
|
class: "me-2",
|
|
3317
3317
|
density: "comfortable",
|
|
3318
3318
|
disabled: e(i).read.length === 0,
|
|
3319
|
-
icon: `svg:${e(
|
|
3319
|
+
icon: `svg:${e(qe)}`,
|
|
3320
3320
|
size: "small",
|
|
3321
3321
|
variant: "text",
|
|
3322
3322
|
onClick: y
|
|
@@ -3375,7 +3375,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3375
3375
|
value: "banners"
|
|
3376
3376
|
}, {
|
|
3377
3377
|
append: s(() => [
|
|
3378
|
-
n(
|
|
3378
|
+
n(Ke, {
|
|
3379
3379
|
dot: "",
|
|
3380
3380
|
"offset-y": "-3"
|
|
3381
3381
|
})
|
|
@@ -3437,7 +3437,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3437
3437
|
__name: "VoNotificationsBadge",
|
|
3438
3438
|
setup(p) {
|
|
3439
3439
|
const t = Ee(), a = T();
|
|
3440
|
-
return (o, i) => (c(), m(
|
|
3440
|
+
return (o, i) => (c(), m(Ke, {
|
|
3441
3441
|
color: "error",
|
|
3442
3442
|
content: e(t).unread.length,
|
|
3443
3443
|
"model-value": e(a).one.notifications.enabled && e(t).unread.length > 0
|
|
@@ -3451,31 +3451,31 @@ const at = /* @__PURE__ */ _({
|
|
|
3451
3451
|
}), Hs = /* @__PURE__ */ _({
|
|
3452
3452
|
__name: "VoNotificationsNavItem",
|
|
3453
3453
|
setup(p) {
|
|
3454
|
-
const t =
|
|
3455
|
-
return
|
|
3456
|
-
|
|
3457
|
-
}), (
|
|
3458
|
-
const
|
|
3459
|
-
return e(
|
|
3454
|
+
const t = T(), a = Ee(), o = M(!1);
|
|
3455
|
+
return De(() => {
|
|
3456
|
+
a.index();
|
|
3457
|
+
}), (i, u) => {
|
|
3458
|
+
const r = Ns, l = Zs, d = G;
|
|
3459
|
+
return e(t).one.notifications.enabled ? (c(), m(d, {
|
|
3460
3460
|
key: 0,
|
|
3461
|
-
active: e(
|
|
3461
|
+
active: e(o),
|
|
3462
3462
|
link: "",
|
|
3463
3463
|
"prepend-icon": `svg:${e(Bo)}`,
|
|
3464
3464
|
rounded: "lg",
|
|
3465
3465
|
title: "Notifications"
|
|
3466
3466
|
}, P({
|
|
3467
3467
|
default: s(() => [
|
|
3468
|
-
n(
|
|
3469
|
-
modelValue: e(
|
|
3470
|
-
"onUpdate:modelValue":
|
|
3468
|
+
n(l, {
|
|
3469
|
+
modelValue: e(o),
|
|
3470
|
+
"onUpdate:modelValue": u[0] || (u[0] = (f) => j(o) ? o.value = f : null)
|
|
3471
3471
|
}, null, 8, ["modelValue"])
|
|
3472
3472
|
]),
|
|
3473
3473
|
_: 2
|
|
3474
3474
|
}, [
|
|
3475
|
-
e(
|
|
3475
|
+
e(a).unread.length > 0 ? {
|
|
3476
3476
|
name: "prepend",
|
|
3477
3477
|
fn: s(() => [
|
|
3478
|
-
n(
|
|
3478
|
+
n(r, null, {
|
|
3479
3479
|
default: s(() => [
|
|
3480
3480
|
n(I)
|
|
3481
3481
|
]),
|
|
@@ -3510,7 +3510,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3510
3510
|
}), Rs = /* @__PURE__ */ _({
|
|
3511
3511
|
__name: "VoUserList",
|
|
3512
3512
|
setup(p) {
|
|
3513
|
-
const t = E(), a = B(), o =
|
|
3513
|
+
const t = E(), a = B(), o = Ae();
|
|
3514
3514
|
return (i, u) => {
|
|
3515
3515
|
const r = js, l = Hs, d = xs, f = $s, y = hs, v = vs, C = as, $ = Fn, L = In, U = kn;
|
|
3516
3516
|
return c(), m(ne, {
|
|
@@ -3809,12 +3809,12 @@ const at = /* @__PURE__ */ _({
|
|
|
3809
3809
|
}), na = { class: "text-center mt-n9 mb-4" }, sa = /* @__PURE__ */ _({
|
|
3810
3810
|
__name: "VoUserMenu",
|
|
3811
3811
|
setup(p) {
|
|
3812
|
-
const t =
|
|
3812
|
+
const t = Qe(), a = B(), o = F();
|
|
3813
3813
|
return H(() => t.banner, async () => {
|
|
3814
3814
|
await new Promise((i) => setTimeout(i, 300)), a.isOpen && o.value?.updateLocation?.();
|
|
3815
3815
|
}, { flush: "pre" }), (i, u) => {
|
|
3816
3816
|
const r = oa, l = Ys, d = Rs, f = At;
|
|
3817
|
-
return c(), m(
|
|
3817
|
+
return c(), m(Pe, {
|
|
3818
3818
|
ref_key: "menu",
|
|
3819
3819
|
ref: o,
|
|
3820
3820
|
modelValue: e(a).isOpen,
|
|
@@ -3851,7 +3851,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3851
3851
|
}), aa = { class: "me-n3" }, ia = /* @__PURE__ */ _({
|
|
3852
3852
|
__name: "VoTeamInvite",
|
|
3853
3853
|
setup(p) {
|
|
3854
|
-
const t =
|
|
3854
|
+
const t = Ae(), a = b(() => t.team?.name ?? `${t.team?.owner.name}'s team`);
|
|
3855
3855
|
function o(i) {
|
|
3856
3856
|
t.clearTeamQuery(), i.value = !1;
|
|
3857
3857
|
}
|
|
@@ -3926,7 +3926,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3926
3926
|
return ($, L) => {
|
|
3927
3927
|
const U = sa, Q = we, x = Dt, pe = mn;
|
|
3928
3928
|
return c(), k(D, null, [
|
|
3929
|
-
n(
|
|
3929
|
+
n(Ke, {
|
|
3930
3930
|
color: e(v),
|
|
3931
3931
|
dot: "",
|
|
3932
3932
|
location: "end top",
|
|
@@ -3987,7 +3987,7 @@ const at = /* @__PURE__ */ _({
|
|
|
3987
3987
|
emits: ["update:modelValue"],
|
|
3988
3988
|
setup(p) {
|
|
3989
3989
|
const t = W(p, "modelValue"), a = ut();
|
|
3990
|
-
return (o, i) => (c(), m(
|
|
3990
|
+
return (o, i) => (c(), m(Pe, {
|
|
3991
3991
|
modelValue: t.value,
|
|
3992
3992
|
"onUpdate:modelValue": i[0] || (i[0] = (u) => t.value = u),
|
|
3993
3993
|
"close-on-content-click": !1,
|
|
@@ -4048,7 +4048,7 @@ const at = /* @__PURE__ */ _({
|
|
|
4048
4048
|
}),
|
|
4049
4049
|
emits: ["update:mobileMenu"],
|
|
4050
4050
|
setup(p) {
|
|
4051
|
-
const t = p, a = W(p, "mobileMenu"), o = ut(), i =
|
|
4051
|
+
const t = p, a = W(p, "mobileMenu"), o = ut(), i = Ue(), u = ze(), { mobile: r } = ie(), l = b(() => t.responsive == !0 && r.value), d = b(() => `https://cdn.vuetifyjs.com/docs/images/one/logos/${t.logo}-logo-${i.current.value.dark ? "dark" : "light"}.png`);
|
|
4052
4052
|
return (f, y) => {
|
|
4053
4053
|
const v = lt("router-link"), C = pa, $ = zt;
|
|
4054
4054
|
return c(), m(xt, {
|
|
@@ -4141,10 +4141,10 @@ const at = /* @__PURE__ */ _({
|
|
|
4141
4141
|
emits: ["script:error", "script:load"],
|
|
4142
4142
|
setup(p, { emit: t }) {
|
|
4143
4143
|
const a = p, o = t, i = F(), u = F();
|
|
4144
|
-
return
|
|
4144
|
+
return He(async () => {
|
|
4145
4145
|
const r = document.createElement("script"), l = () => o("script:error");
|
|
4146
4146
|
r.type = "text/javascript", r.id = a.scriptId, r.src = a.src, r.addEventListener("load", () => o("script:load")), r.onerror = l, u.value = r;
|
|
4147
|
-
}),
|
|
4147
|
+
}), De(() => {
|
|
4148
4148
|
u.value && i.value && i.value.append(u.value);
|
|
4149
4149
|
}), jt(() => {
|
|
4150
4150
|
u.value && i.value && u.value.remove();
|
|
@@ -4192,7 +4192,7 @@ const at = /* @__PURE__ */ _({
|
|
|
4192
4192
|
}, ba = /* @__PURE__ */ _({
|
|
4193
4193
|
__name: "VoSocialFooter",
|
|
4194
4194
|
setup(p) {
|
|
4195
|
-
const t =
|
|
4195
|
+
const t = ze(), a = [
|
|
4196
4196
|
{
|
|
4197
4197
|
title: "Vuetify Documentation",
|
|
4198
4198
|
icon: "$vuetify",
|
|
@@ -4269,9 +4269,13 @@ const at = /* @__PURE__ */ _({
|
|
|
4269
4269
|
},
|
|
4270
4270
|
setup(p) {
|
|
4271
4271
|
Rt(($) => ({
|
|
4272
|
-
"
|
|
4272
|
+
"1092baee": e(r)?.metadata.bg_blur
|
|
4273
4273
|
}));
|
|
4274
|
-
const t = p, { mdAndUp: a } = ie(), o = dn(), i = T(), u =
|
|
4274
|
+
const t = p, { mdAndUp: a } = ie(), o = dn(), i = T(), u = Qe();
|
|
4275
|
+
De(() => {
|
|
4276
|
+
u.index();
|
|
4277
|
+
});
|
|
4278
|
+
const r = b(() => u.banner), l = b(() => r.value?.metadata.height || (r.value?.metadata.subtext ? 88 : 48)), d = b(() => t.demo ? !0 : !!r.value && !i.one.banners.read.includes(r.value.slug));
|
|
4275
4279
|
function f() {
|
|
4276
4280
|
t.demo || r.value && (i.one.banners.read.push(r.value.slug), i.one.banners.last = (/* @__PURE__ */ new Date()).toISOString());
|
|
4277
4281
|
}
|
|
@@ -4335,7 +4339,7 @@ const at = /* @__PURE__ */ _({
|
|
|
4335
4339
|
e(a) && e(r).metadata.link && e(r).metadata.link_text ? (c(), m(ve, { key: 0 }, {
|
|
4336
4340
|
default: s(({ isHovering: U, props: Q }) => [
|
|
4337
4341
|
n(A, R({
|
|
4338
|
-
"append-icon": `svg:${e(
|
|
4342
|
+
"append-icon": `svg:${e(Te)}`,
|
|
4339
4343
|
class: "text-none me-2",
|
|
4340
4344
|
color: e(r).metadata.link_color,
|
|
4341
4345
|
elevation: U ? 8 : 0,
|
|
@@ -4388,7 +4392,7 @@ const at = /* @__PURE__ */ _({
|
|
|
4388
4392
|
_: 1
|
|
4389
4393
|
}, 8, ["color", "height", "image", "location", "model-value"])) : h("", !0);
|
|
4390
4394
|
}
|
|
4391
|
-
}), Va = /* @__PURE__ */ Xe(ka, [["__scopeId", "data-v-
|
|
4395
|
+
}), Va = /* @__PURE__ */ Xe(ka, [["__scopeId", "data-v-65dfb9be"]]), $a = {
|
|
4392
4396
|
key: 0,
|
|
4393
4397
|
class: "text-uppercase position-absolute ms-auto font-weight-medium on-surface-light",
|
|
4394
4398
|
style: { right: "12px", bottom: "8px", "font-size": "10px" }
|
|
@@ -4439,7 +4443,7 @@ const at = /* @__PURE__ */ _({
|
|
|
4439
4443
|
}
|
|
4440
4444
|
}), Je = q("promotions", () => {
|
|
4441
4445
|
const p = Y(), t = ee(), a = F([]), o = M(!1), i = M(!1), u = b(() => a.value.filter((d) => d.metadata.discoverable));
|
|
4442
|
-
|
|
4446
|
+
He(l);
|
|
4443
4447
|
function r(d) {
|
|
4444
4448
|
const f = d.filter((y) => y.metadata.active);
|
|
4445
4449
|
return f[Math.floor(Math.random() * f.length)];
|
|
@@ -4470,7 +4474,7 @@ const at = /* @__PURE__ */ _({
|
|
|
4470
4474
|
slug: {}
|
|
4471
4475
|
},
|
|
4472
4476
|
setup(p) {
|
|
4473
|
-
const t = p, a = E(), o = Je(), i =
|
|
4477
|
+
const t = p, a = E(), o = Je(), i = Ue(), u = T(), r = b(() => {
|
|
4474
4478
|
if (!(a.user && !u.one.ads.enabled))
|
|
4475
4479
|
return t.slug ? o.all.find((f) => f.slug === t.slug) : o.random(o.all);
|
|
4476
4480
|
}), l = b(() => {
|
|
@@ -4591,7 +4595,7 @@ const at = /* @__PURE__ */ _({
|
|
|
4591
4595
|
slug: {}
|
|
4592
4596
|
},
|
|
4593
4597
|
setup(p) {
|
|
4594
|
-
const t = p, a = E(), o = Je(), i = T(), u =
|
|
4598
|
+
const t = p, a = E(), o = Je(), i = T(), u = Ue(), r = b(() => {
|
|
4595
4599
|
if (!(a.user && !i.one.ads.enabled))
|
|
4596
4600
|
return t.slug ? o.all.find((f) => f.slug === t.slug) : o.random(o.all);
|
|
4597
4601
|
}), l = b(() => {
|
|
@@ -4889,7 +4893,7 @@ const at = /* @__PURE__ */ _({
|
|
|
4889
4893
|
}
|
|
4890
4894
|
return d;
|
|
4891
4895
|
});
|
|
4892
|
-
qt(r),
|
|
4896
|
+
qt(r), He(r);
|
|
4893
4897
|
async function r() {
|
|
4894
4898
|
try {
|
|
4895
4899
|
i.value = !0;
|
|
@@ -4931,7 +4935,7 @@ export {
|
|
|
4931
4935
|
Ui as createOne,
|
|
4932
4936
|
Pi as one,
|
|
4933
4937
|
E as useAuthStore,
|
|
4934
|
-
|
|
4938
|
+
Qe as useBannersStore,
|
|
4935
4939
|
Mi as useBinsStore,
|
|
4936
4940
|
gs as useDownloadsStore,
|
|
4937
4941
|
Y as useHttpStore,
|
|
@@ -4942,10 +4946,10 @@ export {
|
|
|
4942
4946
|
Ai as useProductsStore,
|
|
4943
4947
|
Je as usePromotionsStore,
|
|
4944
4948
|
ee as useQueueStore,
|
|
4945
|
-
|
|
4949
|
+
ze as useSettingsStore,
|
|
4946
4950
|
Pt as useSiteStore,
|
|
4947
4951
|
Ti as useSponsorsStore,
|
|
4948
4952
|
Aa as useSpotsStore,
|
|
4949
|
-
|
|
4953
|
+
Ae as useTeamStore,
|
|
4950
4954
|
T as useUserStore
|
|
4951
4955
|
};
|
package/dist/one.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.v-footer__image[data-v-31335c0a]{display:flex;height:40px;flex:1 1 auto;left:0;overflow:hidden;position:absolute;top:0;width:100%;z-index:-1}.social-link[data-v-7a9688b8] .v-icon{color:rgba(var(--v-theme-on-background),var(--v-disabled-opacity));text-decoration:none;transition:.2s ease-in-out}.social-link[data-v-7a9688b8] .v-icon:hover{color:rgb(var(--v-theme-primary))}.v-app-bar[data-v-
|
|
1
|
+
.v-footer__image[data-v-31335c0a]{display:flex;height:40px;flex:1 1 auto;left:0;overflow:hidden;position:absolute;top:0;width:100%;z-index:-1}.social-link[data-v-7a9688b8] .v-icon{color:rgba(var(--v-theme-on-background),var(--v-disabled-opacity));text-decoration:none;transition:.2s ease-in-out}.social-link[data-v-7a9688b8] .v-icon:hover{color:rgb(var(--v-theme-primary))}.v-app-bar[data-v-65dfb9be] .v-toolbar__image:after{content:"";position:absolute;inset:0;-webkit-backdrop-filter:blur(calc(var(--1092baee) * 1px));backdrop-filter:blur(calc(var(--1092baee) * 1px));background:linear-gradient(15deg,#000000a6,#00000092,#0000007f,#0000006d,#0000005d,#0000004e,#00000041,#00000034,#00000029,#00000020,#00000017,#00000010,#0000000a,#00000006,#00000003,#00000001,#0000)}.v-list-item-subtitle[data-v-65dfb9be]{color:currentColor;opacity:var(--v-high-emphasis-opacity)}
|