@vuetify/one 1.0.3 → 1.0.5
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 +49 -43
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { reactive as ot, toRefs as st, ref as ee, shallowRef as I, computed as A, watch as H, defineComponent as V, openBlock as d, createBlock as h, unref as e, createSlots as G, withCtx as n, createElementVNode as v, toDisplayString as S, createVNode as s, withModifiers as Ue, createCommentVNode as C, renderSlot as W, mergeModels as nt, useModel as de, createElementBlock as w, Fragment as
|
|
1
|
+
import { reactive as ot, toRefs as st, ref as ee, shallowRef as I, computed as A, watch as H, defineComponent as V, openBlock as d, createBlock as h, unref as e, createSlots as G, withCtx as n, createElementVNode as v, toDisplayString as S, createVNode as s, withModifiers as Ue, createCommentVNode as C, renderSlot as W, mergeModels as nt, useModel as de, createElementBlock as w, Fragment as j, createTextVNode as F, renderList as te, mergeProps as se, normalizeStyle as Fe, onBeforeMount as it, onMounted as je, resolveComponent as Ne, withDirectives as Se, vShow as Be, normalizeClass as at, pushScopeId as rt, popScopeId as lt } from "vue";
|
|
2
2
|
import { defineStore as X } from "pinia";
|
|
3
3
|
import { merge as be } from "lodash-es";
|
|
4
4
|
import { mdiDiscord as Oe, mdiGithub as ze, mdiSync as ct, mdiSyncOff as ut, mdiLogoutVariant as dt, mdiCheck as K, mdiHome as pt, mdiTextBox as mt, mdiSpaceInvaders as Te, mdiWhiteBalanceSunny as ft, mdiWeatherNight as vt, mdiDesktopTowerMonitor as _t, mdiImageFilterHdr as ht, mdiRocketLaunchOutline as gt, mdiContrastCircle as bt, mdiCog as yt, mdiCogOutline as Vt, mdiFileDocument as kt, mdiCreditCardSettingsOutline as $t, mdiRocketOutline as xt, mdiCheckCircleOutline as ne, mdiCreditCard as wt, mdiReload as St, mdiPlaylistCheck as Ct, mdiCreditCardOutline as Lt, mdiHandHeart as At, mdiInformationOutline as De, mdiMedal as ye, mdiChartLine as It, mdiHandHeartOutline as Dt, mdiEmailOpenOutline as Ut, mdiEmailVariant as Ft, mdiOpenInNew as jt, mdiBell as Nt, mdiInboxOutline as Bt, mdiInboxFullOutline as Ot, mdiBellOutline as zt, mdiViewDashboardOutline as Tt, mdiTrashCan as Rt, mdiBug as Ht, mdiArrowULeftBottom as Mt, mdiLogin as Re, mdiShieldStarOutline as Pt, mdiReddit as Et } from "@mdi/js";
|
|
@@ -515,13 +515,13 @@ const _e = X("http", {
|
|
|
515
515
|
text: {}
|
|
516
516
|
},
|
|
517
517
|
setup(u) {
|
|
518
|
-
return (o, i) => (d(), w(
|
|
518
|
+
return (o, i) => (d(), w(j, null, [
|
|
519
519
|
o.title ? (d(), h($e, {
|
|
520
520
|
key: 0,
|
|
521
521
|
class: "font-weight-black"
|
|
522
522
|
}, {
|
|
523
523
|
default: n(() => [
|
|
524
|
-
|
|
524
|
+
F(S(o.title), 1)
|
|
525
525
|
]),
|
|
526
526
|
_: 1
|
|
527
527
|
})) : C("", !0),
|
|
@@ -551,7 +551,7 @@ const _e = X("http", {
|
|
|
551
551
|
];
|
|
552
552
|
return (t, r) => {
|
|
553
553
|
const a = Qe, c = re;
|
|
554
|
-
return d(), w(
|
|
554
|
+
return d(), w(j, null, [
|
|
555
555
|
s(a, {
|
|
556
556
|
modelValue: e(o).suits.show,
|
|
557
557
|
"onUpdate:modelValue": r[0] || (r[0] = (l) => e(o).suits.show = l),
|
|
@@ -580,7 +580,7 @@ const _e = X("http", {
|
|
|
580
580
|
size: "x-small",
|
|
581
581
|
start: ""
|
|
582
582
|
}, null, 8, ["icon"]),
|
|
583
|
-
|
|
583
|
+
F(" " + S(l.title), 1)
|
|
584
584
|
]),
|
|
585
585
|
_: 1
|
|
586
586
|
}, 8, ["modelValue"]),
|
|
@@ -891,7 +891,7 @@ const Xe = X("settings", () => {
|
|
|
891
891
|
default: n(() => [
|
|
892
892
|
s(fe, { dense: "" }, {
|
|
893
893
|
default: n(() => [
|
|
894
|
-
(d(), w(
|
|
894
|
+
(d(), w(j, null, te(a, (m, k) => s(ie, {
|
|
895
895
|
key: k,
|
|
896
896
|
cols: "6"
|
|
897
897
|
}, {
|
|
@@ -937,7 +937,7 @@ const Xe = X("settings", () => {
|
|
|
937
937
|
]),
|
|
938
938
|
_: 1
|
|
939
939
|
}, 8, ["modelValue"]),
|
|
940
|
-
e(i).isSubscriber ? (d(), w(
|
|
940
|
+
e(i).isSubscriber ? (d(), w(j, { key: 0 }, [
|
|
941
941
|
s(R, { class: "mt-6 mb-4" }),
|
|
942
942
|
s(p)
|
|
943
943
|
], 64)) : C("", !0)
|
|
@@ -1215,7 +1215,7 @@ const Xe = X("settings", () => {
|
|
|
1215
1215
|
v("div", ko, S(e(o).format(new Date(c.date * 1e3), "fullDateWithWeekday")), 1)
|
|
1216
1216
|
]),
|
|
1217
1217
|
"item.amount": n(({ item: c }) => [
|
|
1218
|
-
|
|
1218
|
+
F(" $" + S(c.amount / 100), 1)
|
|
1219
1219
|
]),
|
|
1220
1220
|
"item.status": n(({ item: c }) => [
|
|
1221
1221
|
s(q, {
|
|
@@ -1310,10 +1310,10 @@ const Xe = X("settings", () => {
|
|
|
1310
1310
|
fn: n(() => [
|
|
1311
1311
|
v("div", xo, [
|
|
1312
1312
|
v("span", wo, S(e(t).info.status), 1),
|
|
1313
|
-
e(t).info.items.length ? (d(), w(
|
|
1313
|
+
e(t).info.items.length ? (d(), w(j, { key: 0 }, [
|
|
1314
1314
|
So,
|
|
1315
1315
|
v("span", Co, [
|
|
1316
|
-
|
|
1316
|
+
F(" $" + S(e(t).info.items[0].plan.amount / 100), 1),
|
|
1317
1317
|
v("span", Lo, "/" + S(e(t).interval), 1)
|
|
1318
1318
|
]),
|
|
1319
1319
|
s(p, {
|
|
@@ -1348,14 +1348,14 @@ const Xe = X("settings", () => {
|
|
|
1348
1348
|
]), 1024),
|
|
1349
1349
|
v("div", Ao, [
|
|
1350
1350
|
v("div", null, [
|
|
1351
|
-
((y = e(t).info) == null ? void 0 : y.status) === "active" ? (d(), w(
|
|
1352
|
-
|
|
1351
|
+
((y = e(t).info) == null ? void 0 : y.status) === "active" ? (d(), w(j, { key: 0 }, [
|
|
1352
|
+
F(" Your plan renews on "),
|
|
1353
1353
|
v("span", Io, S(e(i).format(a.value, "fullDateWithWeekday")), 1),
|
|
1354
|
-
|
|
1355
|
-
], 64)) : (d(), w(
|
|
1356
|
-
|
|
1354
|
+
F(". ")
|
|
1355
|
+
], 64)) : (d(), w(j, { key: 1 }, [
|
|
1356
|
+
F(" Your plan ends on "),
|
|
1357
1357
|
v("span", Do, S(e(i).format((D = e(t).info) == null ? void 0 : D.currentPeriodEnd, "fullDateWithWeekday")), 1),
|
|
1358
|
-
|
|
1358
|
+
F(". ")
|
|
1359
1359
|
], 64))
|
|
1360
1360
|
])
|
|
1361
1361
|
])
|
|
@@ -1386,10 +1386,10 @@ const Xe = X("settings", () => {
|
|
|
1386
1386
|
a && r.subscriptionInfo();
|
|
1387
1387
|
}), (a, c) => {
|
|
1388
1388
|
const l = Y;
|
|
1389
|
-
return d(), w(
|
|
1389
|
+
return d(), w(j, null, [
|
|
1390
1390
|
s($e, { class: "font-weight-black" }, {
|
|
1391
1391
|
default: n(() => [
|
|
1392
|
-
|
|
1392
|
+
F("Perks")
|
|
1393
1393
|
]),
|
|
1394
1394
|
_: 1
|
|
1395
1395
|
}),
|
|
@@ -1401,7 +1401,7 @@ const Xe = X("settings", () => {
|
|
|
1401
1401
|
nav: ""
|
|
1402
1402
|
}, {
|
|
1403
1403
|
default: n(() => [
|
|
1404
|
-
(d(), w(
|
|
1404
|
+
(d(), w(j, null, te(o, (f, p) => s(l, {
|
|
1405
1405
|
key: p,
|
|
1406
1406
|
"prepend-icon": `svg:${e(K)}`,
|
|
1407
1407
|
class: "mb-0"
|
|
@@ -1424,7 +1424,7 @@ const Xe = X("settings", () => {
|
|
|
1424
1424
|
No,
|
|
1425
1425
|
s($e, { class: "font-weight-black" }, {
|
|
1426
1426
|
default: n(() => [
|
|
1427
|
-
|
|
1427
|
+
F("Up Next")
|
|
1428
1428
|
]),
|
|
1429
1429
|
_: 1
|
|
1430
1430
|
}),
|
|
@@ -1436,7 +1436,7 @@ const Xe = X("settings", () => {
|
|
|
1436
1436
|
nav: ""
|
|
1437
1437
|
}, {
|
|
1438
1438
|
default: n(() => [
|
|
1439
|
-
(d(), w(
|
|
1439
|
+
(d(), w(j, null, te(i, (f, p) => s(l, {
|
|
1440
1440
|
key: p,
|
|
1441
1441
|
"prepend-icon": `svg:${e(xt)}`,
|
|
1442
1442
|
class: "mb-0"
|
|
@@ -1683,7 +1683,11 @@ const Xe = X("settings", () => {
|
|
|
1683
1683
|
}, 8, ["active", "prepend-icon"]);
|
|
1684
1684
|
};
|
|
1685
1685
|
}
|
|
1686
|
-
}), Wo = { class: "px-3 pb-5 d-flex flex-column" }, Go = { class: "ps-16" }, qo = { class: "text-caption text-end" }, Yo = { class: "font-weight-bold" }, Jo = { class: "ps-16" }, Qo = { class: "text-caption text-end" }, Xo = { class: "font-weight-bold" }, Zo = { class: "ps-16" }, Ko = { class: "text-caption text-end" }, es = { class: "font-weight-bold" }, ts = { class: "py-4" }, os = /* @__PURE__ */ v("div", { class: "text-caption text-medium-emphasis" },
|
|
1686
|
+
}), Wo = { class: "px-3 pb-5 d-flex flex-column" }, Go = { class: "ps-16" }, qo = { class: "text-caption text-end" }, Yo = { class: "font-weight-bold" }, Jo = { class: "ps-16" }, Qo = { class: "text-caption text-end" }, Xo = { class: "font-weight-bold" }, Zo = { class: "ps-16" }, Ko = { class: "text-caption text-end" }, es = { class: "font-weight-bold" }, ts = { class: "py-4" }, os = /* @__PURE__ */ v("div", { class: "text-caption text-medium-emphasis" }, [
|
|
1687
|
+
/* @__PURE__ */ F(" A total of $2.99 or more unlocks "),
|
|
1688
|
+
/* @__PURE__ */ v("span", { class: "font-weight-black" }, "all"),
|
|
1689
|
+
/* @__PURE__ */ F(" Vuetify One benefits ")
|
|
1690
|
+
], -1), ss = /* @__PURE__ */ V({
|
|
1687
1691
|
__name: "VoSponsorshipsDialog",
|
|
1688
1692
|
setup(u) {
|
|
1689
1693
|
const o = me(), i = N(), t = oe(), r = Xe();
|
|
@@ -1731,6 +1735,7 @@ const Xe = X("settings", () => {
|
|
|
1731
1735
|
rounded: "lg",
|
|
1732
1736
|
subtitle: "Support Vuetify through GitHub sponsors.",
|
|
1733
1737
|
title: "GitHub Sponsors",
|
|
1738
|
+
variant: "text",
|
|
1734
1739
|
border: ""
|
|
1735
1740
|
}, {
|
|
1736
1741
|
append: n(() => {
|
|
@@ -1739,10 +1744,10 @@ const Xe = X("settings", () => {
|
|
|
1739
1744
|
v("div", Go, [
|
|
1740
1745
|
s(p, {
|
|
1741
1746
|
color: ($ = e(t).github) != null && $.isActive ? "success" : "primary",
|
|
1742
|
-
href: (T = e(t).github) != null && T.isActive ? "https://github.com/sponsors/johnleider"
|
|
1747
|
+
href: (T = e(t).github) != null && T.isActive ? void 0 : "https://github.com/sponsors/johnleider",
|
|
1743
1748
|
"prepend-icon": `svg:${(M = e(t).github) != null && M.isActive ? e(ne) : e(De)}`,
|
|
1744
1749
|
readonly: (P = e(t).github) == null ? void 0 : P.isActive,
|
|
1745
|
-
target: (_ = e(t).github) != null && _.isActive ? "_blank"
|
|
1750
|
+
target: (_ = e(t).github) != null && _.isActive ? void 0 : "_blank",
|
|
1746
1751
|
text: (b = e(t).github) != null && b.isActive ? "Active" : "Info",
|
|
1747
1752
|
width: "88"
|
|
1748
1753
|
}, null, 8, ["color", "href", "prepend-icon", "readonly", "target", "text"])
|
|
@@ -1752,7 +1757,7 @@ const Xe = X("settings", () => {
|
|
|
1752
1757
|
default: n(() => {
|
|
1753
1758
|
var $;
|
|
1754
1759
|
return [
|
|
1755
|
-
($ = e(t).github) != null && $.isActive ? (d(), w(
|
|
1760
|
+
($ = e(t).github) != null && $.isActive ? (d(), w(j, { key: 0 }, [
|
|
1756
1761
|
s(R),
|
|
1757
1762
|
s(J, { class: "d-flex justify-space-between align-center flex-wrap" }, {
|
|
1758
1763
|
default: n(() => [
|
|
@@ -1765,7 +1770,7 @@ const Xe = X("settings", () => {
|
|
|
1765
1770
|
label: ""
|
|
1766
1771
|
}, null, 8, ["prepend-icon", "text"]),
|
|
1767
1772
|
v("div", qo, [
|
|
1768
|
-
|
|
1773
|
+
F(" Sponsor since "),
|
|
1769
1774
|
v("span", Yo, S(a(e(t).github.createdAt)), 1)
|
|
1770
1775
|
])
|
|
1771
1776
|
]),
|
|
@@ -1800,10 +1805,10 @@ const Xe = X("settings", () => {
|
|
|
1800
1805
|
v("div", Jo, [
|
|
1801
1806
|
s(p, {
|
|
1802
1807
|
color: ($ = e(t).discord) != null && $.isActive ? "success" : "primary",
|
|
1803
|
-
href: (T = e(t).discord) != null && T.isActive ? "https://discord.com/servers/vuetify-340160225338195969"
|
|
1808
|
+
href: (T = e(t).discord) != null && T.isActive ? void 0 : "https://discord.com/servers/vuetify-340160225338195969",
|
|
1804
1809
|
"prepend-icon": `svg:${(M = e(t).discord) != null && M.isActive ? e(ne) : e(De)}`,
|
|
1805
1810
|
readonly: (P = e(t).discord) == null ? void 0 : P.isActive,
|
|
1806
|
-
target: (_ = e(t).discord) != null && _.isActive ? "_blank"
|
|
1811
|
+
target: (_ = e(t).discord) != null && _.isActive ? void 0 : "_blank",
|
|
1807
1812
|
text: (b = e(t).discord) != null && b.isActive ? "Active" : "Info",
|
|
1808
1813
|
width: "88"
|
|
1809
1814
|
}, null, 8, ["color", "href", "prepend-icon", "readonly", "target", "text"])
|
|
@@ -1813,7 +1818,7 @@ const Xe = X("settings", () => {
|
|
|
1813
1818
|
default: n(() => {
|
|
1814
1819
|
var $;
|
|
1815
1820
|
return [
|
|
1816
|
-
($ = e(t).discord) != null && $.isActive ? (d(), w(
|
|
1821
|
+
($ = e(t).discord) != null && $.isActive ? (d(), w(j, { key: 0 }, [
|
|
1817
1822
|
s(R),
|
|
1818
1823
|
s(J, { class: "d-flex justify-space-between align-center flex-wrap" }, {
|
|
1819
1824
|
default: n(() => [
|
|
@@ -1826,7 +1831,7 @@ const Xe = X("settings", () => {
|
|
|
1826
1831
|
label: ""
|
|
1827
1832
|
}, null, 8, ["prepend-icon", "text"]),
|
|
1828
1833
|
v("div", Qo, [
|
|
1829
|
-
|
|
1834
|
+
F(" Subscriber since "),
|
|
1830
1835
|
v("span", Xo, S(a(e(t).discord.createdAt)), 1)
|
|
1831
1836
|
])
|
|
1832
1837
|
]),
|
|
@@ -1850,6 +1855,7 @@ const Xe = X("settings", () => {
|
|
|
1850
1855
|
s(O, {
|
|
1851
1856
|
"prepend-avatar": e(r).CDN_URL + "/logos/patreon.png",
|
|
1852
1857
|
rounded: "lg",
|
|
1858
|
+
subtitle: "Support Vuetify through Patreon.",
|
|
1853
1859
|
title: "Patreon Subscriber",
|
|
1854
1860
|
variant: "text",
|
|
1855
1861
|
border: ""
|
|
@@ -1869,7 +1875,7 @@ const Xe = X("settings", () => {
|
|
|
1869
1875
|
default: n(() => {
|
|
1870
1876
|
var $;
|
|
1871
1877
|
return [
|
|
1872
|
-
($ = e(t).patreon) != null && $.isActive ? (d(), w(
|
|
1878
|
+
($ = e(t).patreon) != null && $.isActive ? (d(), w(j, { key: 0 }, [
|
|
1873
1879
|
s(R),
|
|
1874
1880
|
s(J, { class: "d-flex justify-space-between align-center flex-wrap" }, {
|
|
1875
1881
|
default: n(() => [
|
|
@@ -1881,7 +1887,7 @@ const Xe = X("settings", () => {
|
|
|
1881
1887
|
label: ""
|
|
1882
1888
|
}, null, 8, ["prepend-icon", "text"]),
|
|
1883
1889
|
v("div", Ko, [
|
|
1884
|
-
|
|
1890
|
+
F(" Sponsor since "),
|
|
1885
1891
|
v("span", es, S(a(e(t).patreon.createdAt)), 1)
|
|
1886
1892
|
])
|
|
1887
1893
|
]),
|
|
@@ -1914,10 +1920,10 @@ const Xe = X("settings", () => {
|
|
|
1914
1920
|
]),
|
|
1915
1921
|
headline: n(() => [
|
|
1916
1922
|
v("div", ts, [
|
|
1917
|
-
e(i).isSubscriber ? (d(), w(
|
|
1918
|
-
|
|
1919
|
-
], 64)) : (d(), w(
|
|
1920
|
-
|
|
1923
|
+
e(i).isSubscriber ? (d(), w(j, { key: 0 }, [
|
|
1924
|
+
F(" $" + S(parseFloat(String(e(t).monthlyTotal)).toFixed(2)), 1)
|
|
1925
|
+
], 64)) : (d(), w(j, { key: 1 }, [
|
|
1926
|
+
F(" $0.00 ")
|
|
1921
1927
|
], 64))
|
|
1922
1928
|
])
|
|
1923
1929
|
]),
|
|
@@ -1984,7 +1990,7 @@ const Xe = X("settings", () => {
|
|
|
1984
1990
|
lines: "three"
|
|
1985
1991
|
}, {
|
|
1986
1992
|
default: n(() => [
|
|
1987
|
-
a.items.length ? (d(!0), w(
|
|
1993
|
+
a.items.length ? (d(!0), w(j, { key: 1 }, te(a.items, (p, y) => (d(), h(Ee, {
|
|
1988
1994
|
key: p.slug
|
|
1989
1995
|
}, {
|
|
1990
1996
|
default: n(({ isHovering: D, props: m }) => [
|
|
@@ -2373,7 +2379,7 @@ const Xe = X("settings", () => {
|
|
|
2373
2379
|
}, {
|
|
2374
2380
|
default: n(() => [
|
|
2375
2381
|
v("div", ks, [
|
|
2376
|
-
(d(!0), w(
|
|
2382
|
+
(d(!0), w(j, null, te(r.value, (y, D) => (d(), h(E, {
|
|
2377
2383
|
key: D,
|
|
2378
2384
|
active: e(i).avatar === y,
|
|
2379
2385
|
variant: "flat",
|
|
@@ -2410,7 +2416,7 @@ const Xe = X("settings", () => {
|
|
|
2410
2416
|
}
|
|
2411
2417
|
return (a, c) => {
|
|
2412
2418
|
const l = ge;
|
|
2413
|
-
return d(), w(
|
|
2419
|
+
return d(), w(j, null, [
|
|
2414
2420
|
s(ve, {
|
|
2415
2421
|
color: e(o).user ? e(i).colors.one : "surface-light",
|
|
2416
2422
|
"content-class": "d-flex align-start justify-end pa-2",
|
|
@@ -2618,13 +2624,13 @@ const et = (u, o) => {
|
|
|
2618
2624
|
v("div", Ds, [
|
|
2619
2625
|
s(Gt, { class: "text-h5 mb-1 text-md-h4 font-weight-bold" }, {
|
|
2620
2626
|
default: n(() => [
|
|
2621
|
-
|
|
2627
|
+
F(S(e(o).lastLoginProvider() ? "Welcome Back" : "Log in to Vuetify"), 1)
|
|
2622
2628
|
]),
|
|
2623
2629
|
_: 1
|
|
2624
2630
|
}),
|
|
2625
2631
|
s(qt, { class: "text-wrap" }, {
|
|
2626
2632
|
default: n(() => [
|
|
2627
|
-
|
|
2633
|
+
F(" Sign in with GitHub or Discord to save your settings and unlock exclusive subscriber perks. ")
|
|
2628
2634
|
]),
|
|
2629
2635
|
_: 1
|
|
2630
2636
|
})
|
|
@@ -2691,7 +2697,7 @@ const et = (u, o) => {
|
|
|
2691
2697
|
height: "40"
|
|
2692
2698
|
}, {
|
|
2693
2699
|
default: n(() => [
|
|
2694
|
-
(d(), w(
|
|
2700
|
+
(d(), w(j, null, te(o, (r) => v("a", {
|
|
2695
2701
|
key: r.title,
|
|
2696
2702
|
href: r.href,
|
|
2697
2703
|
title: r.title,
|
|
@@ -2705,7 +2711,7 @@ const et = (u, o) => {
|
|
|
2705
2711
|
}, null, 8, ["icon", "size"])
|
|
2706
2712
|
], 8, js)), 64)),
|
|
2707
2713
|
v("div", Ns, [
|
|
2708
|
-
|
|
2714
|
+
F(" © 2016-" + S((/* @__PURE__ */ new Date()).getFullYear()) + " ", 1),
|
|
2709
2715
|
Bs
|
|
2710
2716
|
])
|
|
2711
2717
|
]),
|