@vuetify/one 1.5.2 → 1.5.3
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 +58 -51
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { reactive as Ct, watch as U, toRefs as Lt, ref as
|
|
1
|
+
import { reactive as Ct, watch as U, toRefs as Lt, ref as O, shallowRef as B, computed as w, defineComponent as $, openBlock as d, createBlock as _, unref as t, createSlots as H, withCtx as r, createElementVNode as b, toDisplayString as C, createVNode as a, createTextVNode as F, renderSlot as D, normalizeStyle as ot, createCommentVNode as S, withModifiers as Ze, mergeModels as nt, useModel as le, createElementBlock as L, Fragment as z, onMounted as Qe, nextTick as pe, renderList as ne, mergeProps as R, withDirectives as Ve, vShow as De, isRef as se, resolveComponent as Oe, normalizeClass as It, pushScopeId as At, popScopeId as Dt, onBeforeMount as Ye, onBeforeUnmount as Ot } from "vue";
|
|
2
2
|
import { mdiDiscord as Je, mdiGithub as Xe, mdiSync as Bt, mdiSyncOff as Nt, mdiLogoutVariant as Ut, mdiFullscreenExit as zt, mdiFullscreen as Tt, mdiCheck as Be, mdiHome as Ft, mdiTextBox as jt, mdiSelect as Mt, mdiSpaceInvaders as st, mdiImageFilterHdr as at, mdiRocketLaunchOutline as it, mdiWhiteBalanceSunny as Pt, mdiWeatherNight as Ht, mdiDesktopTowerMonitor as Rt, mdiContrastCircle as Et, mdiCog as qt, mdiCogOutline as Wt, mdiFileDocument as Gt, mdiCreditCardSettingsOutline as Zt, mdiRocketOutline as Qt, mdiCheckCircleOutline as Ae, mdiCreditCard as Yt, mdiReload as Jt, mdiPlaylistCheck as Xt, mdiCreditCardOutline as Kt, mdiMedal as eo, mdiOpenInNew as Ne, mdiHandHeart as to, mdiHandHeartOutline as oo, mdiEmailOpenOutline as rt, mdiEmailVariant as lt, mdiBell as no, mdiInboxOutline as so, mdiInboxFullOutline as ao, mdiBillboard as io, mdiBellOutline as ro, mdiViewDashboardOutline as lo, mdiCrown as co, mdiArrowULeftBottom as uo, mdiLogin as po, mdiShieldStarOutline as mo, mdiReddit as fo } from "@mdi/js";
|
|
3
3
|
import { useRouter as Ue, useRoute as vo } from "vue-router";
|
|
4
4
|
import { defineStore as W } from "pinia";
|
|
@@ -140,7 +140,7 @@ const ie = W("http", {
|
|
|
140
140
|
reset: i
|
|
141
141
|
};
|
|
142
142
|
}), M = W("auth", () => {
|
|
143
|
-
const c =
|
|
143
|
+
const c = O(!1), e = O(null), n = ie(), i = T(), s = Ue(), o = B(!1), l = w(() => {
|
|
144
144
|
var p, v;
|
|
145
145
|
return !n.url || ((p = e.value) == null ? void 0 : p.isAdmin) || !!((v = e.value) != null && v.sponsorships.some((V) => V.isActive));
|
|
146
146
|
});
|
|
@@ -363,7 +363,7 @@ const ie = W("http", {
|
|
|
363
363
|
};
|
|
364
364
|
}
|
|
365
365
|
}), Me = W("notifications", () => {
|
|
366
|
-
const c = ie(), e = T(), n =
|
|
366
|
+
const c = ie(), e = T(), n = O([]), i = O([]), s = O(), o = B(!1), l = w(() => n.value.filter((p) => !e.notifications.read.includes(p.slug))), m = w(() => n.value.filter((p) => e.notifications.read.includes(p.slug)));
|
|
367
367
|
async function f() {
|
|
368
368
|
try {
|
|
369
369
|
o.value = !0;
|
|
@@ -450,7 +450,7 @@ const ie = W("http", {
|
|
|
450
450
|
"model-value": t(s) > 0
|
|
451
451
|
}, {
|
|
452
452
|
default: r(() => [
|
|
453
|
-
|
|
453
|
+
D(o.$slots, "default")
|
|
454
454
|
]),
|
|
455
455
|
_: 3
|
|
456
456
|
}, 8, ["content", "dot", "model-value"]));
|
|
@@ -479,21 +479,21 @@ const ie = W("http", {
|
|
|
479
479
|
size: "16",
|
|
480
480
|
width: "2"
|
|
481
481
|
})),
|
|
482
|
-
|
|
482
|
+
D(n.$slots, "loader")
|
|
483
483
|
]),
|
|
484
484
|
_: 2
|
|
485
485
|
}, [
|
|
486
486
|
n.$slots.prepend ? {
|
|
487
487
|
name: "prepend",
|
|
488
488
|
fn: r(() => [
|
|
489
|
-
|
|
489
|
+
D(n.$slots, "prepend")
|
|
490
490
|
]),
|
|
491
491
|
key: "0"
|
|
492
492
|
} : void 0,
|
|
493
493
|
n.$slots.default ? {
|
|
494
494
|
name: "default",
|
|
495
495
|
fn: r(() => [
|
|
496
|
-
|
|
496
|
+
D(n.$slots, "default")
|
|
497
497
|
]),
|
|
498
498
|
key: "1"
|
|
499
499
|
} : void 0
|
|
@@ -502,7 +502,7 @@ const ie = W("http", {
|
|
|
502
502
|
}), Ho = { class: "pa-4 d-flex flex-column ga-4" }, yt = /* @__PURE__ */ $({
|
|
503
503
|
__name: "VoAuthListItem",
|
|
504
504
|
setup(c) {
|
|
505
|
-
const e = M(), n = T(), i =
|
|
505
|
+
const e = M(), n = T(), i = B(!e.user && !e.isLoading);
|
|
506
506
|
U(() => e.user, (o) => {
|
|
507
507
|
i.value = !o;
|
|
508
508
|
});
|
|
@@ -591,28 +591,28 @@ const ie = W("http", {
|
|
|
591
591
|
setup(c) {
|
|
592
592
|
return (e, n) => (d(), _(ke, { slim: "" }, H({
|
|
593
593
|
default: r(() => [
|
|
594
|
-
|
|
594
|
+
D(e.$slots, "default")
|
|
595
595
|
]),
|
|
596
596
|
_: 2
|
|
597
597
|
}, [
|
|
598
598
|
e.$slots.prepend ? {
|
|
599
599
|
name: "prepend",
|
|
600
600
|
fn: r(() => [
|
|
601
|
-
|
|
601
|
+
D(e.$slots, "prepend")
|
|
602
602
|
]),
|
|
603
603
|
key: "0"
|
|
604
604
|
} : void 0,
|
|
605
605
|
e.$slots.title ? {
|
|
606
606
|
name: "title",
|
|
607
607
|
fn: r(() => [
|
|
608
|
-
|
|
608
|
+
D(e.$slots, "title")
|
|
609
609
|
]),
|
|
610
610
|
key: "1"
|
|
611
611
|
} : void 0,
|
|
612
612
|
e.$slots.append ? {
|
|
613
613
|
name: "append",
|
|
614
614
|
fn: r(() => [
|
|
615
|
-
|
|
615
|
+
D(e.$slots, "append")
|
|
616
616
|
]),
|
|
617
617
|
key: "2"
|
|
618
618
|
} : void 0
|
|
@@ -621,7 +621,7 @@ const ie = W("http", {
|
|
|
621
621
|
}), Ro = /* @__PURE__ */ $({
|
|
622
622
|
__name: "VoAuthLogoutNavItem",
|
|
623
623
|
setup(c) {
|
|
624
|
-
const e = M(), n =
|
|
624
|
+
const e = M(), n = B(!1);
|
|
625
625
|
async function i() {
|
|
626
626
|
n.value = !0, await e.logout(), n.value = !1;
|
|
627
627
|
}
|
|
@@ -649,7 +649,7 @@ const ie = W("http", {
|
|
|
649
649
|
}),
|
|
650
650
|
emits: ["update:modelValue"],
|
|
651
651
|
setup(c) {
|
|
652
|
-
const e = le(c, "modelValue"), n = ce(), i =
|
|
652
|
+
const e = le(c, "modelValue"), n = ce(), i = B(!1);
|
|
653
653
|
return (s, o) => (d(), _(ut, {
|
|
654
654
|
modelValue: e.value,
|
|
655
655
|
"onUpdate:modelValue": o[2] || (o[2] = (l) => e.value = l),
|
|
@@ -667,7 +667,7 @@ const ie = W("http", {
|
|
|
667
667
|
title: s.title
|
|
668
668
|
}, H({
|
|
669
669
|
append: r(() => [
|
|
670
|
-
|
|
670
|
+
D(s.$slots, "append"),
|
|
671
671
|
t(n).xs.value ? S("", !0) : (d(), _(q, {
|
|
672
672
|
key: 0,
|
|
673
673
|
class: "me-2",
|
|
@@ -687,21 +687,21 @@ const ie = W("http", {
|
|
|
687
687
|
]),
|
|
688
688
|
default: r(() => [
|
|
689
689
|
a(G, { class: "mt-4" }),
|
|
690
|
-
|
|
690
|
+
D(s.$slots, "default")
|
|
691
691
|
]),
|
|
692
692
|
_: 2
|
|
693
693
|
}, [
|
|
694
694
|
s.$slots.prepend ? {
|
|
695
695
|
name: "prepend",
|
|
696
696
|
fn: r(() => [
|
|
697
|
-
|
|
697
|
+
D(s.$slots, "prepend")
|
|
698
698
|
]),
|
|
699
699
|
key: "0"
|
|
700
700
|
} : void 0,
|
|
701
701
|
s.$slots.actions ? {
|
|
702
702
|
name: "actions",
|
|
703
703
|
fn: r(() => [
|
|
704
|
-
|
|
704
|
+
D(s.$slots, "actions", { isActive: l })
|
|
705
705
|
]),
|
|
706
706
|
key: "1"
|
|
707
707
|
} : void 0
|
|
@@ -733,7 +733,7 @@ const ie = W("http", {
|
|
|
733
733
|
e.$slots.label ? {
|
|
734
734
|
name: "label",
|
|
735
735
|
fn: r(() => [
|
|
736
|
-
|
|
736
|
+
D(e.$slots, "label")
|
|
737
737
|
]),
|
|
738
738
|
key: "0"
|
|
739
739
|
} : void 0
|
|
@@ -898,7 +898,7 @@ function ve() {
|
|
|
898
898
|
);
|
|
899
899
|
}
|
|
900
900
|
const P = W("one", () => {
|
|
901
|
-
const c = ve(), e = Ue(), n = M(), i = ie(), s =
|
|
901
|
+
const c = ve(), e = Ue(), n = M(), i = ie(), s = B(!1), o = O(!1), l = O(), m = O([]), f = w(() => c.value.session_id), u = w(() => {
|
|
902
902
|
var x;
|
|
903
903
|
return (x = l.value) == null ? void 0 : x.items[0].plan.interval;
|
|
904
904
|
}), h = w(() => {
|
|
@@ -1460,7 +1460,7 @@ const Pe = W("settings", () => {
|
|
|
1460
1460
|
}), Yo = /* @__PURE__ */ $({
|
|
1461
1461
|
__name: "VoSettingsListItem",
|
|
1462
1462
|
setup(c) {
|
|
1463
|
-
const e =
|
|
1463
|
+
const e = B(!1);
|
|
1464
1464
|
return (n, i) => {
|
|
1465
1465
|
const s = Qo, o = J;
|
|
1466
1466
|
return d(), _(o, {
|
|
@@ -1675,7 +1675,7 @@ const Pe = W("settings", () => {
|
|
|
1675
1675
|
"Early access to Vuetify Studio, a visual editor for Vuetify",
|
|
1676
1676
|
'Special role in the <a href="https://discord.vuetifyjs.com/" target="_blank">Vuetify Discord</a>',
|
|
1677
1677
|
"Receive a special label on GitHub created issues and pull requests"
|
|
1678
|
-
], i =
|
|
1678
|
+
], i = B(!1), s = P();
|
|
1679
1679
|
return U(i, async (o) => {
|
|
1680
1680
|
o && s.subscriptionInfo();
|
|
1681
1681
|
}), (o, l) => {
|
|
@@ -1762,7 +1762,7 @@ const Pe = W("settings", () => {
|
|
|
1762
1762
|
},
|
|
1763
1763
|
emits: ["update:modelValue"],
|
|
1764
1764
|
setup(c) {
|
|
1765
|
-
const e =
|
|
1765
|
+
const e = B(!1), n = le(c, "modelValue"), i = P();
|
|
1766
1766
|
return U(e, async (s) => {
|
|
1767
1767
|
s && i.subscriptionInfo();
|
|
1768
1768
|
}), U(() => i.interval, (s) => {
|
|
@@ -1858,7 +1858,7 @@ const Pe = W("settings", () => {
|
|
|
1858
1858
|
function e(u) {
|
|
1859
1859
|
return new Promise((h) => setTimeout(h, u));
|
|
1860
1860
|
}
|
|
1861
|
-
const n = le(c, "modelValue"), i = P(), s = ve(), o =
|
|
1861
|
+
const n = le(c, "modelValue"), i = P(), s = ve(), o = B(i.interval), l = B(i.hasBilling ? "status" : "subscribe"), m = B(!1);
|
|
1862
1862
|
U(o, (u) => {
|
|
1863
1863
|
!i.isSubscriber || !i.interval || (m.value = u !== i.interval);
|
|
1864
1864
|
}), U(n, async (u) => {
|
|
@@ -1973,7 +1973,7 @@ const Pe = W("settings", () => {
|
|
|
1973
1973
|
}), bn = /* @__PURE__ */ $({
|
|
1974
1974
|
__name: "VoSubscriptionListItem",
|
|
1975
1975
|
setup(c) {
|
|
1976
|
-
const e =
|
|
1976
|
+
const e = B(!1);
|
|
1977
1977
|
return (n, i) => {
|
|
1978
1978
|
const s = yn, o = J;
|
|
1979
1979
|
return d(), _(o, {
|
|
@@ -2221,7 +2221,7 @@ const Pe = W("settings", () => {
|
|
|
2221
2221
|
}), Dn = /* @__PURE__ */ $({
|
|
2222
2222
|
__name: "VoSponsorshipsListItem",
|
|
2223
2223
|
setup(c) {
|
|
2224
|
-
const e =
|
|
2224
|
+
const e = B(!1);
|
|
2225
2225
|
return (n, i) => {
|
|
2226
2226
|
const s = An, o = J;
|
|
2227
2227
|
return d(), _(o, {
|
|
@@ -2421,7 +2421,7 @@ const Pe = W("settings", () => {
|
|
|
2421
2421
|
}), jn = /* @__PURE__ */ $({
|
|
2422
2422
|
__name: "VoStudioNavItem",
|
|
2423
2423
|
setup(c) {
|
|
2424
|
-
const e =
|
|
2424
|
+
const e = B(!1), n = [
|
|
2425
2425
|
["M12.435 14.3194L12 21L6.87046 12.2799L12.435 14.3194Z", 1],
|
|
2426
2426
|
["M22 4L12.435 14.3194L6.87046 12.2799L9.26479 7.61064L12.435 14.3194L12 21L22 4Z", 0.5],
|
|
2427
2427
|
["M12.435 14.3194L22 4L9.26479 7.61064L12.435 14.3194Z", 1],
|
|
@@ -2728,13 +2728,13 @@ const Pe = W("settings", () => {
|
|
|
2728
2728
|
};
|
|
2729
2729
|
}
|
|
2730
2730
|
}), Vt = W("site", () => {
|
|
2731
|
-
const c =
|
|
2731
|
+
const c = O([]), e = O();
|
|
2732
2732
|
return {
|
|
2733
2733
|
id: c,
|
|
2734
2734
|
url: e
|
|
2735
2735
|
};
|
|
2736
2736
|
}), Re = W("banners", () => {
|
|
2737
|
-
const c = ie(), e = Vt(), n = T(), i =
|
|
2737
|
+
const c = ie(), e = Vt(), n = T(), i = O([]), s = O([]), o = O(), l = B(!1), m = w(() => {
|
|
2738
2738
|
if (o.value)
|
|
2739
2739
|
return o.value;
|
|
2740
2740
|
if (f.value)
|
|
@@ -2835,7 +2835,7 @@ const Pe = W("settings", () => {
|
|
|
2835
2835
|
},
|
|
2836
2836
|
emits: ["update:modelValue"],
|
|
2837
2837
|
setup(c) {
|
|
2838
|
-
const e = ce(), n = ve(), i = Re(), s = Me(), o = P(), l = T(), m =
|
|
2838
|
+
const e = ce(), n = ve(), i = Re(), s = Me(), o = P(), l = T(), m = B(["read"]), f = le(c, "modelValue");
|
|
2839
2839
|
return U(n, async () => {
|
|
2840
2840
|
if (n.value.one !== "notifications") {
|
|
2841
2841
|
f.value && (f.value = !1);
|
|
@@ -2969,7 +2969,7 @@ const Pe = W("settings", () => {
|
|
|
2969
2969
|
"model-value": t(n).notifications.show && t(e).unread.length > 0
|
|
2970
2970
|
}, {
|
|
2971
2971
|
default: r(() => [
|
|
2972
|
-
|
|
2972
|
+
D(i.$slots, "default")
|
|
2973
2973
|
]),
|
|
2974
2974
|
_: 3
|
|
2975
2975
|
}, 8, ["content", "model-value"]));
|
|
@@ -2977,7 +2977,7 @@ const Pe = W("settings", () => {
|
|
|
2977
2977
|
}), as = /* @__PURE__ */ $({
|
|
2978
2978
|
__name: "VoNotificationsNavItem",
|
|
2979
2979
|
setup(c) {
|
|
2980
|
-
const e = Re(), n = T(), i = Me(), s =
|
|
2980
|
+
const e = Re(), n = T(), i = Me(), s = B(!1);
|
|
2981
2981
|
return Qe(async () => {
|
|
2982
2982
|
i.index(), e.index();
|
|
2983
2983
|
}), (o, l) => {
|
|
@@ -3135,7 +3135,7 @@ const Pe = W("settings", () => {
|
|
|
3135
3135
|
}), ds = { class: "mb-2" }, ps = { key: 0 }, ms = { class: "d-flex ga-4 flex-wrap justify-center mb-4" }, fs = { class: "text-h6" }, vs = /* @__PURE__ */ $({
|
|
3136
3136
|
__name: "VoUserAvatar",
|
|
3137
3137
|
setup(c) {
|
|
3138
|
-
const e = M(), n = P(), i = T(), s =
|
|
3138
|
+
const e = M(), n = P(), i = T(), s = B(!1), o = w(() => {
|
|
3139
3139
|
const f = [
|
|
3140
3140
|
"https://cdn.vuetifyjs.com/docs/images/avatars/dark.png",
|
|
3141
3141
|
"https://cdn.vuetifyjs.com/docs/images/avatars/blackguard.png",
|
|
@@ -3310,7 +3310,7 @@ const Pe = W("settings", () => {
|
|
|
3310
3310
|
}, ys = /* @__PURE__ */ $({
|
|
3311
3311
|
__name: "VoUserColors",
|
|
3312
3312
|
setup(c) {
|
|
3313
|
-
const e = M(), n = T(), i =
|
|
3313
|
+
const e = M(), n = T(), i = B(!1);
|
|
3314
3314
|
function s() {
|
|
3315
3315
|
n.colors.one = "surface-light";
|
|
3316
3316
|
}
|
|
@@ -3399,7 +3399,7 @@ const Pe = W("settings", () => {
|
|
|
3399
3399
|
}), bs = { class: "text-center mt-n9 mb-4" }, Vs = /* @__PURE__ */ $({
|
|
3400
3400
|
__name: "VoUserMenu",
|
|
3401
3401
|
setup(c) {
|
|
3402
|
-
const e = Re(), n = P(), i =
|
|
3402
|
+
const e = Re(), n = P(), i = O();
|
|
3403
3403
|
return U(() => e.banner, async () => {
|
|
3404
3404
|
var s, o;
|
|
3405
3405
|
await new Promise((l) => setTimeout(l, 300)), n.isOpen && ((o = (s = i.value) == null ? void 0 : s.updateLocation) == null || o.call(s));
|
|
@@ -3508,10 +3508,10 @@ const Pe = W("settings", () => {
|
|
|
3508
3508
|
]),
|
|
3509
3509
|
_: 1
|
|
3510
3510
|
}),
|
|
3511
|
-
|
|
3511
|
+
D(o.$slots, "prepend")
|
|
3512
3512
|
]),
|
|
3513
3513
|
append: r(() => [
|
|
3514
|
-
|
|
3514
|
+
D(o.$slots, "append"),
|
|
3515
3515
|
o.$slots.append ? (d(), _(G, {
|
|
3516
3516
|
key: 0,
|
|
3517
3517
|
class: "mx-4 align-self-center h-100",
|
|
@@ -3521,16 +3521,23 @@ const Pe = W("settings", () => {
|
|
|
3521
3521
|
a(f)
|
|
3522
3522
|
]),
|
|
3523
3523
|
default: r(() => [
|
|
3524
|
-
|
|
3524
|
+
D(o.$slots, "default")
|
|
3525
3525
|
]),
|
|
3526
3526
|
_: 2
|
|
3527
3527
|
}, [
|
|
3528
|
+
o.$slots.title ? {
|
|
3529
|
+
name: "title",
|
|
3530
|
+
fn: r(() => [
|
|
3531
|
+
D(o.$slots, "title")
|
|
3532
|
+
]),
|
|
3533
|
+
key: "0"
|
|
3534
|
+
} : void 0,
|
|
3528
3535
|
o.$slots.extension ? {
|
|
3529
3536
|
name: "extension",
|
|
3530
3537
|
fn: r(() => [
|
|
3531
|
-
|
|
3538
|
+
D(o.$slots, "extension")
|
|
3532
3539
|
]),
|
|
3533
|
-
key: "
|
|
3540
|
+
key: "1"
|
|
3534
3541
|
} : void 0
|
|
3535
3542
|
]), 1032, ["image"]);
|
|
3536
3543
|
};
|
|
@@ -3550,14 +3557,14 @@ const Pe = W("settings", () => {
|
|
|
3550
3557
|
}, {
|
|
3551
3558
|
default: r(() => [
|
|
3552
3559
|
e.image || e.$slots.image ? (d(), L("div", xs, [
|
|
3553
|
-
e.$slots.image ?
|
|
3560
|
+
e.$slots.image ? D(e.$slots, "image", { key: 0 }, void 0, !0) : (d(), _(Z, {
|
|
3554
3561
|
key: 1,
|
|
3555
3562
|
cover: "",
|
|
3556
3563
|
position: "left",
|
|
3557
3564
|
src: e.image
|
|
3558
3565
|
}, null, 8, ["src"]))
|
|
3559
3566
|
])) : S("", !0),
|
|
3560
|
-
|
|
3567
|
+
D(e.$slots, "default", {}, void 0, !0)
|
|
3561
3568
|
]),
|
|
3562
3569
|
_: 3
|
|
3563
3570
|
}));
|
|
@@ -3636,7 +3643,7 @@ const Pe = W("settings", () => {
|
|
|
3636
3643
|
i.$slots.image ? {
|
|
3637
3644
|
name: "image",
|
|
3638
3645
|
fn: r(() => [
|
|
3639
|
-
|
|
3646
|
+
D(i.$slots, "image", {}, void 0, !0)
|
|
3640
3647
|
]),
|
|
3641
3648
|
key: "0"
|
|
3642
3649
|
} : void 0
|
|
@@ -3790,7 +3797,7 @@ const Pe = W("settings", () => {
|
|
|
3790
3797
|
width: "100%"
|
|
3791
3798
|
}, {
|
|
3792
3799
|
default: r(() => [
|
|
3793
|
-
|
|
3800
|
+
D(e.$slots, "default")
|
|
3794
3801
|
]),
|
|
3795
3802
|
_: 3
|
|
3796
3803
|
}, 8, ["min-height"]),
|
|
@@ -3801,21 +3808,21 @@ const Pe = W("settings", () => {
|
|
|
3801
3808
|
e.$slots.prepend ? {
|
|
3802
3809
|
name: "prepend",
|
|
3803
3810
|
fn: r(() => [
|
|
3804
|
-
|
|
3811
|
+
D(e.$slots, "prepend")
|
|
3805
3812
|
]),
|
|
3806
3813
|
key: "0"
|
|
3807
3814
|
} : void 0,
|
|
3808
3815
|
e.$slots.image ? {
|
|
3809
3816
|
name: "image",
|
|
3810
3817
|
fn: r(() => [
|
|
3811
|
-
|
|
3818
|
+
D(e.$slots, "image")
|
|
3812
3819
|
]),
|
|
3813
3820
|
key: "1"
|
|
3814
3821
|
} : void 0
|
|
3815
3822
|
]), 1024));
|
|
3816
3823
|
}
|
|
3817
3824
|
}), et = W("promotions", () => {
|
|
3818
|
-
const c = ie(), e =
|
|
3825
|
+
const c = ie(), e = O([]), n = O([]), i = O(), s = B(!1), o = B(!1), l = w(() => e.value.filter((p) => p.metadata.discoverable));
|
|
3819
3826
|
Ye(f);
|
|
3820
3827
|
function m(p) {
|
|
3821
3828
|
const v = p.filter((V) => V.metadata.active);
|
|
@@ -4108,7 +4115,7 @@ const Pe = W("settings", () => {
|
|
|
4108
4115
|
},
|
|
4109
4116
|
emits: ["script:error", "script:load"],
|
|
4110
4117
|
setup(c, { emit: e }) {
|
|
4111
|
-
const n = c, i = e, s =
|
|
4118
|
+
const n = c, i = e, s = O(), o = O();
|
|
4112
4119
|
return Ye(async () => {
|
|
4113
4120
|
const l = document.createElement("script"), m = () => i("script:error");
|
|
4114
4121
|
l.type = "text/javascript", l.id = n.scriptId, l.src = n.src, l.onload = () => i("script:load"), l.onerror = m, o.value = l;
|
|
@@ -4125,7 +4132,7 @@ const Pe = W("settings", () => {
|
|
|
4125
4132
|
}, null, 8, Ps));
|
|
4126
4133
|
}
|
|
4127
4134
|
}), Rs = W("spots", () => {
|
|
4128
|
-
const c = ie(), e = Vt(), n =
|
|
4135
|
+
const c = ie(), e = Vt(), n = O([]), i = O([]), s = O(), o = B(!1), l = w(() => s.value ? s.value : n.value.find(({
|
|
4129
4136
|
metadata: {
|
|
4130
4137
|
site: y,
|
|
4131
4138
|
active: p
|
|
@@ -4227,7 +4234,7 @@ const Pe = W("settings", () => {
|
|
|
4227
4234
|
};
|
|
4228
4235
|
}
|
|
4229
4236
|
}), Ba = W("bins", () => {
|
|
4230
|
-
const c = M(), e = ie(), n =
|
|
4237
|
+
const c = M(), e = ie(), n = O([]), i = O(), s = B(!1), o = B(-1), l = w(() => !c.user || !i.value ? !1 : c.user.id === i.value.owner.id), m = w(() => n.value.filter((v) => v.favorite)), f = w(() => n.value.filter((v) => v.pinned));
|
|
4231
4238
|
U(i, () => {
|
|
4232
4239
|
window.clearTimeout(o.value), o.value = window.setTimeout(() => {
|
|
4233
4240
|
!i.value || !l.value || g(i.value, i.value.id);
|
|
@@ -4312,7 +4319,7 @@ const Pe = W("settings", () => {
|
|
|
4312
4319
|
updateOrCreate: y
|
|
4313
4320
|
};
|
|
4314
4321
|
}), Na = W("products", () => {
|
|
4315
|
-
const c = ie(), e =
|
|
4322
|
+
const c = ie(), e = O([]), n = w(() => e.value.filter((o) => o.product_type === "Themes"));
|
|
4316
4323
|
async function i() {
|
|
4317
4324
|
if (e.value.length)
|
|
4318
4325
|
return e.value;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuetify/one",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"build:one": "vite build --config vite.build.config.ts && yarn build:types",
|
|
27
27
|
"build:dev": "vite build --mode development --config vite.build.config.ts ",
|
|
28
28
|
"build:types": "rimraf types-temp && vue-tsc --pretty -p tsconfig.json && rollup --config rollup.types.config.js && rimraf types-temp",
|
|
29
|
+
"release": "yarn build:dev && yarn version && git push --follow-tags",
|
|
29
30
|
"watch": "yarn build:dev --watch",
|
|
30
31
|
"preview": "vite preview",
|
|
31
32
|
"lint": "eslint . --ext .ts,.vue --fix --ignore-path .gitignore",
|