@vuetify/one 1.9.0 → 1.9.1
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.d.ts +24 -1138
- package/dist/index.js +907 -910
- package/dist/style.css +1 -1
- package/package.json +26 -28
package/dist/index.js
CHANGED
|
@@ -1,47 +1,46 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import { defineStore as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { VListItem as me, VList as ae, VListSubheader as So, VListItemTitle as ft, VListItemSubtitle as Co } from "vuetify/lib/components/VList/index.mjs";
|
|
1
|
+
import { ref as D, defineComponent as L, resolveComponent as st, openBlock as u, createBlock as v, unref as t, reactive as It, watch as F, toRefs as Dt, shallowRef as S, computed as k, createSlots as P, withCtx as r, createElementVNode as C, toDisplayString as w, createVNode as i, createTextVNode as O, renderSlot as T, normalizeStyle as at, createCommentVNode as $, withModifiers as qe, mergeModels as Tt, useModel as pe, createElementBlock as M, Fragment as U, onMounted as Ie, nextTick as Ve, renderList as K, mergeProps as R, withDirectives as be, vShow as De, isRef as se, normalizeClass as Ot, onBeforeMount as Qe, onBeforeUnmount as Ut, pushScopeId as Bt, popScopeId as Nt } from "vue";
|
|
2
|
+
import { defineStore as W } from "pinia";
|
|
3
|
+
import { useRouter as Ge, useRoute as Ft } from "vue-router";
|
|
4
|
+
import { merge as Pe } from "lodash-es";
|
|
5
|
+
import { VListItem as me, VList as ae, VListSubheader as Zt, VListItemTitle as it, VListItemSubtitle as zt } from "vuetify/lib/components/VList/index.mjs";
|
|
7
6
|
import { VAvatar as ee } from "vuetify/lib/components/VAvatar/index.mjs";
|
|
8
|
-
import { VCard as
|
|
9
|
-
import { VDialog as
|
|
10
|
-
import { VBadge as
|
|
11
|
-
import { VBtn as
|
|
12
|
-
import { VProgressCircular as
|
|
13
|
-
import { VSheet as
|
|
14
|
-
import { VSwitch as
|
|
15
|
-
import { VFadeTransition as Te, VExpandTransition as fe, VExpandXTransition as
|
|
16
|
-
import { useDisplay as ve, useTheme as
|
|
17
|
-
import { VDivider as
|
|
18
|
-
import { VIcon as
|
|
19
|
-
import { VLabel as
|
|
7
|
+
import { VCard as E, VCardTitle as jt, VCardSubtitle as Pt, VCardText as ue } from "vuetify/lib/components/VCard/index.mjs";
|
|
8
|
+
import { VDialog as rt } from "vuetify/lib/components/VDialog/index.mjs";
|
|
9
|
+
import { VBadge as Ye } from "vuetify/lib/components/VBadge/index.mjs";
|
|
10
|
+
import { VBtn as q } from "vuetify/lib/components/VBtn/index.mjs";
|
|
11
|
+
import { VProgressCircular as Rt } from "vuetify/lib/components/VProgressCircular/index.mjs";
|
|
12
|
+
import { VSheet as Je } from "vuetify/lib/components/VSheet/index.mjs";
|
|
13
|
+
import { VSwitch as lt } from "vuetify/lib/components/VSwitch/index.mjs";
|
|
14
|
+
import { VFadeTransition as Te, VExpandTransition as fe, VExpandXTransition as Et } from "vuetify/lib/components/transitions/index.mjs";
|
|
15
|
+
import { useDisplay as ve, useTheme as Oe, useDate as Ce } from "vuetify";
|
|
16
|
+
import { VDivider as G } from "vuetify/lib/components/VDivider/index.mjs";
|
|
17
|
+
import { VIcon as I } from "vuetify/lib/components/VIcon/index.mjs";
|
|
18
|
+
import { VLabel as Ee } from "vuetify/lib/components/VLabel/index.mjs";
|
|
20
19
|
import { VChip as X } from "vuetify/lib/components/VChip/index.mjs";
|
|
21
|
-
import { VChipGroup as
|
|
22
|
-
import { VSelect as
|
|
23
|
-
import { VRow as
|
|
24
|
-
import { VHover as
|
|
20
|
+
import { VChipGroup as Wt } from "vuetify/lib/components/VChipGroup/index.mjs";
|
|
21
|
+
import { VSelect as qt } from "vuetify/lib/components/VSelect/index.mjs";
|
|
22
|
+
import { VRow as Le, VCol as de } from "vuetify/lib/components/VGrid/index.mjs";
|
|
23
|
+
import { VHover as Ue } from "vuetify/lib/components/VHover/index.mjs";
|
|
25
24
|
import { VImg as te } from "vuetify/lib/components/VImg/index.mjs";
|
|
26
|
-
import { VItemGroup as
|
|
27
|
-
import { VLayout as
|
|
28
|
-
import { VMain as
|
|
29
|
-
import { VDataTableVirtual as
|
|
25
|
+
import { VItemGroup as ct, VItem as We } from "vuetify/lib/components/VItemGroup/index.mjs";
|
|
26
|
+
import { VLayout as He } from "vuetify/lib/components/VLayout/index.mjs";
|
|
27
|
+
import { VMain as ke } from "vuetify/lib/components/VMain/index.mjs";
|
|
28
|
+
import { VDataTableVirtual as ut } from "vuetify/lib/components/VDataTable/index.mjs";
|
|
30
29
|
import { VSkeletonLoader as ye } from "vuetify/lib/components/VSkeletonLoader/index.mjs";
|
|
31
|
-
import { VWindow as
|
|
32
|
-
import { VTimelineItem as
|
|
33
|
-
import { VEmptyState as
|
|
30
|
+
import { VWindow as dt, VWindowItem as ge } from "vuetify/lib/components/VWindow/index.mjs";
|
|
31
|
+
import { VTimelineItem as Qt, VTimeline as Gt } from "vuetify/lib/components/VTimeline/index.mjs";
|
|
32
|
+
import { VEmptyState as Xe } from "vuetify/lib/components/VEmptyState/index.mjs";
|
|
34
33
|
import { VTooltip as J } from "vuetify/lib/components/VTooltip/index.mjs";
|
|
35
|
-
import { VResponsive as
|
|
36
|
-
import { VNavigationDrawer as
|
|
37
|
-
import { Ripple as
|
|
38
|
-
import { VColorPicker as
|
|
39
|
-
import { VMenu as
|
|
40
|
-
import { VAppBar as
|
|
41
|
-
import { VLazy as
|
|
42
|
-
import { VFooter as
|
|
43
|
-
const
|
|
44
|
-
const c =
|
|
34
|
+
import { VResponsive as Yt } from "vuetify/lib/components/VResponsive/index.mjs";
|
|
35
|
+
import { VNavigationDrawer as Jt } from "vuetify/lib/components/VNavigationDrawer/index.mjs";
|
|
36
|
+
import { Ripple as Xt } from "vuetify/lib/directives/index.mjs";
|
|
37
|
+
import { VColorPicker as Kt } from "vuetify/lib/components/VColorPicker/index.mjs";
|
|
38
|
+
import { VMenu as eo } from "vuetify/components";
|
|
39
|
+
import { VAppBar as pt } from "vuetify/lib/components/VAppBar/index.mjs";
|
|
40
|
+
import { VLazy as to } from "vuetify/lib/components/VLazy/index.mjs";
|
|
41
|
+
import { VFooter as oo } from "vuetify/lib/components/VFooter/index.mjs";
|
|
42
|
+
const no = W("Queue", () => {
|
|
43
|
+
const c = D([]);
|
|
45
44
|
function e(n) {
|
|
46
45
|
const o = typeof n == "string" ? { text: n } : n;
|
|
47
46
|
c.value.push(o);
|
|
@@ -50,12 +49,12 @@ const Ro = q("Queue", () => {
|
|
|
50
49
|
queue: c,
|
|
51
50
|
show: e
|
|
52
51
|
};
|
|
53
|
-
}),
|
|
52
|
+
}), so = /* @__PURE__ */ L({
|
|
54
53
|
__name: "VoSnackbarQueue",
|
|
55
54
|
setup(c) {
|
|
56
|
-
const e =
|
|
55
|
+
const e = no();
|
|
57
56
|
return (n, o) => {
|
|
58
|
-
const s =
|
|
57
|
+
const s = st("VSnackbarQueue");
|
|
59
58
|
return u(), v(s, {
|
|
60
59
|
modelValue: t(e).queue,
|
|
61
60
|
"onUpdate:modelValue": o[0] || (o[0] = (a) => t(e).queue = a),
|
|
@@ -64,7 +63,9 @@ const Ro = q("Queue", () => {
|
|
|
64
63
|
}, null, 8, ["modelValue"]);
|
|
65
64
|
};
|
|
66
65
|
}
|
|
67
|
-
})
|
|
66
|
+
});
|
|
67
|
+
var ao = "M20 10.5C20 14.09 17.09 17 13.5 17H7.83L10.92 20.09L9.5 21.5L4 16L9.5 10.5L10.91 11.91L7.83 15H13.5C16 15 18 13 18 10.5S16 6 13.5 6H6V4H13.5C17.09 4 20 6.91 20 10.5Z", io = "M21,19V20H3V19L5,17V11C5,7.9 7.03,5.17 10,4.29C10,4.19 10,4.1 10,4A2,2 0 0,1 12,2A2,2 0 0,1 14,4C14,4.1 14,4.19 14,4.29C16.97,5.17 19,7.9 19,11V17L21,19M14,21A2,2 0 0,1 12,23A2,2 0 0,1 10,21", ro = "M10 21H14C14 22.1 13.1 23 12 23S10 22.1 10 21M21 19V20H3V19L5 17V11C5 7.9 7 5.2 10 4.3V4C10 2.9 10.9 2 12 2S14 2.9 14 4V4.3C17 5.2 19 7.9 19 11V17L21 19M17 11C17 8.2 14.8 6 12 6S7 8.2 7 11V18H17V11Z", lo = "M20 22H18V17H20M6 22H4V17H6M23 4V13A2 2 0 0 1 21 15H3A2 2 0 0 1 1 13V4A2 2 0 0 1 3 2H21A2 2 0 0 1 23 4M21 4H3V13H21M20 6H15V8H20M18 9H15V11H18M14 11H4L6.73 7.36L8.73 10.09L9.46 9.55L8.2 7.82L9.91 5.55Z", Be = "M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z", Ae = "M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M12 20C7.59 20 4 16.41 4 12S7.59 4 12 4 20 7.59 20 12 16.41 20 12 20M16.59 7.58L10 14.17L7.41 11.59L6 13L10 17L18 9L16.59 7.58Z", co = "M6.5 20Q4.22 20 2.61 18.43 1 16.85 1 14.58 1 12.63 2.17 11.1 3.35 9.57 5.25 9.15 5.83 7.13 7.39 5.75 8.95 4.38 11 4.08V12.15L9.4 10.6L8 12L12 16L16 12L14.6 10.6L13 12.15V4.08Q15.58 4.43 17.29 6.39 19 8.35 19 11 20.73 11.2 21.86 12.5 23 13.78 23 15.5 23 17.38 21.69 18.69 20.38 20 18.5 20Z", uo = "M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z", po = "M12,8A4,4 0 0,1 16,12A4,4 0 0,1 12,16A4,4 0 0,1 8,12A4,4 0 0,1 12,8M12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12A2,2 0 0,0 12,10M10,22C9.75,22 9.54,21.82 9.5,21.58L9.13,18.93C8.5,18.68 7.96,18.34 7.44,17.94L4.95,18.95C4.73,19.03 4.46,18.95 4.34,18.73L2.34,15.27C2.21,15.05 2.27,14.78 2.46,14.63L4.57,12.97L4.5,12L4.57,11L2.46,9.37C2.27,9.22 2.21,8.95 2.34,8.73L4.34,5.27C4.46,5.05 4.73,4.96 4.95,5.05L7.44,6.05C7.96,5.66 8.5,5.32 9.13,5.07L9.5,2.42C9.54,2.18 9.75,2 10,2H14C14.25,2 14.46,2.18 14.5,2.42L14.87,5.07C15.5,5.32 16.04,5.66 16.56,6.05L19.05,5.05C19.27,4.96 19.54,5.05 19.66,5.27L21.66,8.73C21.79,8.95 21.73,9.22 21.54,9.37L19.43,11L19.5,12L19.43,13L21.54,14.63C21.73,14.78 21.79,15.05 21.66,15.27L19.66,18.73C19.54,18.95 19.27,19.04 19.05,18.95L16.56,17.95C16.04,18.34 15.5,18.68 14.87,18.93L14.5,21.58C14.46,21.82 14.25,22 14,22H10M11.25,4L10.88,6.61C9.68,6.86 8.62,7.5 7.85,8.39L5.44,7.35L4.69,8.65L6.8,10.2C6.4,11.37 6.4,12.64 6.8,13.8L4.68,15.36L5.43,16.66L7.86,15.62C8.63,16.5 9.68,17.14 10.87,17.38L11.24,20H12.76L13.13,17.39C14.32,17.14 15.37,16.5 16.14,15.62L18.57,16.66L19.32,15.36L17.2,13.81C17.6,12.64 17.6,11.37 17.2,10.2L19.31,8.65L18.56,7.35L16.15,8.39C15.38,7.5 14.32,6.86 13.12,6.62L12.75,4H11.25Z", mo = "M12,20C9.79,20 7.79,19.1 6.34,17.66L17.66,6.34C19.1,7.79 20,9.79 20,12A8,8 0 0,1 12,20M6,8H8V6H9.5V8H11.5V9.5H9.5V11.5H8V9.5H6M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,16H17V14.5H12V16Z", fo = "M20 4H4A2 2 0 0 0 2 6V18A2 2 0 0 0 4 20H20A2 2 0 0 0 22 18V6A2 2 0 0 0 20 4M20 11H4V8H20Z", vo = "M20,8H4V6H20M20,18H4V12H20M20,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6C22,4.89 21.1,4 20,4Z", _o = "M20,8H4V6H20M20,18H4V12H20M20,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6C22,4.89 21.1,4 20,4M7,22H9V24H7V22M11,22H13V24H11V22M15,22H17V24H15V22Z", ho = "M5 16L3 5L8.5 10L12 4L15.5 10L21 5L19 16H5M19 19C19 19.6 18.6 20 18 20H6C5.4 20 5 19.6 5 19V18H19V19Z", go = "M22,18H17A1,1 0 0,1 16,17V7A1,1 0 0,1 17,6H22A1,1 0 0,1 23,7V17A1,1 0 0,1 22,18M22,8H17V9H22V8M22,10H17V11H22V10M9,15V17H10V18H5V17H6V15H2A1,1 0 0,1 1,14V7A1,1 0 0,1 2,6H13A1,1 0 0,1 14,7V14A1,1 0 0,1 13,15H9M12,8H3V13H12V8Z", mt = "M21.03 6.29L12 .64L2.97 6.29C2.39 6.64 2 7.27 2 8V18C2 19.1 2.9 20 4 20H20C21.1 20 22 19.1 22 18V8C22 7.27 21.61 6.64 21.03 6.29M20 18H4V10L12 15L20 10V18M12 13L4 8L12 3L20 8L12 13Z", ft = "M12,13L2,6.76V6C2,4.89 2.89,4 4,4H20A2,2 0 0,1 22,6V6.75L12,13M22,18A2,2 0 0,1 20,20H4C2.89,20 2,19.1 2,18V9.11L4,10.36V18H20V10.36L22,9.11V18Z", yo = "M13,9H18.5L13,3.5V9M6,2H14L20,8V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V4C4,2.89 4.89,2 6,2M15,18V16H6V18H15M18,14V12H6V14H18Z", Vo = "M5,5H10V7H7V10H5V5M14,5H19V10H17V7H14V5M17,14H19V19H14V17H17V14M10,17V19H5V14H7V17H10Z", bo = "M14,14H19V16H16V19H14V14M5,14H10V19H8V16H5V14M8,5H10V10H5V8H8V5M19,8V10H14V5H16V8H19Z", Co = "M20 17Q20.86 17 21.45 17.6T22.03 19L14 22L7 20V11H8.95L16.22 13.69Q17 14 17 14.81 17 15.28 16.66 15.63T15.8 16H13L11.25 15.33L10.92 16.27L13 17H20M16 3.23Q17.06 2 18.7 2 20.06 2 21 3T22 5.3Q22 6.33 21 7.76T19.03 10.15 16 13Q13.92 11.11 12.94 10.15T10.97 7.76 10 5.3Q10 3.94 10.97 3T13.31 2Q14.91 2 16 3.23M.984 11H5V22H.984V11Z", Lo = "M16 3.23C16.71 2.41 17.61 2 18.7 2C19.61 2 20.37 2.33 21 3C21.63 3.67 21.96 4.43 22 5.3C22 6 21.67 6.81 21 7.76S19.68 9.5 19.03 10.15C18.38 10.79 17.37 11.74 16 13C14.61 11.74 13.59 10.79 12.94 10.15S11.63 8.71 10.97 7.76C10.31 6.81 10 6 10 5.3C10 4.39 10.32 3.63 10.97 3C11.62 2.37 12.4 2.04 13.31 2C14.38 2 15.27 2.41 16 3.23M22 19V20L14 22.5L7 20.56V22H1V11H8.97L15.13 13.3C16.25 13.72 17 14.8 17 16H19C20.66 16 22 17.34 22 19M5 20V13H3V20H5M19.9 18.57C19.74 18.24 19.39 18 19 18H13.65C13.11 18 12.58 17.92 12.07 17.75L9.69 16.96L10.32 15.06L12.7 15.85C13 15.95 15 16 15 16C15 15.63 14.77 15.3 14.43 15.17L8.61 13H7V18.5L13.97 20.41L19.9 18.57Z", Ho = "M10,20V14H14V20H19V12H22L12,3L2,12H5V20H10Z", vt = "M14,6L10.25,11L13.1,14.8L11.5,16C9.81,13.75 7,10 7,10L1,18H23L14,6Z", ko = "M19 3C20.1 3 21 3.9 21 5V19C21 20.1 20.1 21 19 21H5C3.9 21 3 20.1 3 19V5C3 3.9 3.9 3 5 3H19M5 19H9.4C8.79 18.47 8.35 17.78 8.13 17H5V19M19 19V17H15.87C15.65 17.78 15.21 18.47 14.6 19H19M19 15V5H5V15H10V16C10 18.67 14 18.67 14 16V15H19M7 7H17V9H7V7M17 11V13H7V11H17Z", $o = "M19 3H5A2 2 0 0 0 3 5V19A2 2 0 0 0 5 21H19A2 2 0 0 0 21 19V5A2 2 0 0 0 19 3M5 19V17H8.13A4.13 4.13 0 0 0 9.4 19M19 19H14.6A4.13 4.13 0 0 0 15.87 17H19M19 15H14V16A2 2 0 0 1 10 16V15H5V5H19Z", wo = "M11 7L9.6 8.4L12.2 11H2V13H12.2L9.6 15.6L11 17L16 12L11 7M20 19H12V21H20C21.1 21 22 20.1 22 19V5C22 3.9 21.1 3 20 3H12V5H20V19Z", xo = "M14.08,15.59L16.67,13H7V11H16.67L14.08,8.41L15.5,7L20.5,12L15.5,17L14.08,15.59M19,3A2,2 0 0,1 21,5V9.67L19,7.67V5H5V19H19V16.33L21,14.33V19A2,2 0 0,1 19,21H5C3.89,21 3,20.1 3,19V5C3,3.89 3.89,3 5,3H19Z", Mo = "M20,2H4V4L9.81,8.36C6.14,9.57 4.14,13.53 5.35,17.2C6.56,20.87 10.5,22.87 14.19,21.66C17.86,20.45 19.86,16.5 18.65,12.82C17.95,10.71 16.3,9.05 14.19,8.36L20,4V2M14.94,19.5L12,17.78L9.06,19.5L9.84,16.17L7.25,13.93L10.66,13.64L12,10.5L13.34,13.64L16.75,13.93L14.16,16.17L14.94,19.5Z", Ne = "M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z", So = "M14 10H3V12H14V10M14 6H3V8H14V6M3 16H10V14H3V16M21.5 11.5L23 13L16 20L11.5 15.5L13 14L16 17L21.5 11.5Z", Ao = "M2 12C2 16.97 6.03 21 11 21C13.39 21 15.68 20.06 17.4 18.4L15.9 16.9C14.63 18.25 12.86 19 11 19C4.76 19 1.64 11.46 6.05 7.05C10.46 2.64 18 5.77 18 12H15L19 16H19.1L23 12H20C20 7.03 15.97 3 11 3C6.03 3 2 7.03 2 12Z", _t = "M13.13 22.19L11.5 18.36C13.07 17.78 14.54 17 15.9 16.09L13.13 22.19M5.64 12.5L1.81 10.87L7.91 8.1C7 9.46 6.22 10.93 5.64 12.5M19.22 4C19.5 4 19.75 4 19.96 4.05C20.13 5.44 19.94 8.3 16.66 11.58C14.96 13.29 12.93 14.6 10.65 15.47L8.5 13.37C9.42 11.06 10.73 9.03 12.42 7.34C15.18 4.58 17.64 4 19.22 4M19.22 2C17.24 2 14.24 2.69 11 5.93C8.81 8.12 7.5 10.53 6.65 12.64C6.37 13.39 6.56 14.21 7.11 14.77L9.24 16.89C9.62 17.27 10.13 17.5 10.66 17.5C10.89 17.5 11.13 17.44 11.36 17.35C13.5 16.53 15.88 15.19 18.07 13C23.73 7.34 21.61 2.39 21.61 2.39S20.7 2 19.22 2M14.54 9.46C13.76 8.68 13.76 7.41 14.54 6.63S16.59 5.85 17.37 6.63C18.14 7.41 18.15 8.68 17.37 9.46C16.59 10.24 15.32 10.24 14.54 9.46M8.88 16.53L7.47 15.12L8.88 16.53M6.24 22L9.88 18.36C9.54 18.27 9.21 18.12 8.91 17.91L4.83 22H6.24M2 22H3.41L8.18 17.24L6.76 15.83L2 20.59V22M2 19.17L6.09 15.09C5.88 14.79 5.73 14.47 5.64 14.12L2 17.76V19.17Z", Io = "M12 2C12 2 7 4 7 12C7 15.1 7.76 17.75 8.67 19.83C9 20.55 9.71 21 10.5 21H13.5C14.29 21 15 20.55 15.33 19.83C16.25 17.75 17 15.1 17 12C17 4 12 2 12 2M13.5 19H10.5C9.5 16.76 9 14.41 9 12C9 7.36 10.9 5.2 12 4.33C13.1 5.2 15 7.36 15 12C15 14.41 14.5 16.76 13.5 19M20 22L16.14 20.45C16.84 18.92 17.34 17.34 17.65 15.73M7.86 20.45L4 22L6.35 15.73C6.66 17.34 7.16 18.92 7.86 20.45M12 12C10.9 12 10 11.1 10 10C10 8.9 10.9 8 12 8C13.1 8 14 8.9 14 10C14 11.1 13.1 12 12 12Z", Do = "M4,3H5V5H3V4A1,1 0 0,1 4,3M20,3A1,1 0 0,1 21,4V5H19V3H20M15,5V3H17V5H15M11,5V3H13V5H11M7,5V3H9V5H7M21,20A1,1 0 0,1 20,21H19V19H21V20M15,21V19H17V21H15M11,21V19H13V21H11M7,21V19H9V21H7M4,21A1,1 0 0,1 3,20V19H5V21H4M3,15H5V17H3V15M21,15V17H19V15H21M3,11H5V13H3V11M21,11V13H19V11H21M3,7H5V9H3V7M21,7V9H19V7H21Z", To = "M21 11C21 16.55 17.16 21.74 12 23C6.84 21.74 3 16.55 3 11V5L12 1L21 5V11M12 21C15.75 20 19 15.54 19 11.22V6.3L12 3.18L5 6.3V11.22C5 15.54 8.25 20 12 21M15.05 16L11.97 14.15L8.9 16L9.71 12.5L7 10.16L10.58 9.85L11.97 6.55L13.37 9.84L16.95 10.15L14.23 12.5L15.05 16", ht = "M7,6H5V4H7V6M17,6H19V4H17V6M23,12V18H21V14H19V18H17V16H7V18H5V14H3V18H1V12H3V10H5V8H7V6H9V8H15V6H17V8H19V10H21V12H23M15,10V12H17V10H15M7,12H9V10H7V12M11,18H7V20H11V18M17,18H13V20H17V18Z", Oo = "M5.06 3C4.63 3 4.22 3.14 3.84 3.42C3.46 3.7 3.24 4.06 3.14 4.5L2.11 8.91C1.86 10 2.06 10.92 2.69 11.73C2.81 11.85 2.93 11.97 3.04 12.07C3.63 12.64 4.28 13 5.22 13C6.16 13 6.91 12.59 7.47 12.05C8.1 12.67 8.86 13 9.8 13C10.64 13 11.44 12.63 12 12.07C12.68 12.7 13.45 13 14.3 13C15.17 13 15.91 12.67 16.54 12.05C17.11 12.62 17.86 13 18.81 13C19.76 13 20.43 12.65 21 12.06C21.09 11.97 21.18 11.87 21.28 11.77C21.94 10.95 22.14 10 21.89 8.91L20.86 4.5C20.73 4.06 20.5 3.7 20.13 3.42C19.77 3.14 19.38 3 18.94 3M18.89 4.97L19.97 9.38C20.06 9.81 19.97 10.2 19.69 10.55C19.44 10.86 19.13 11 18.75 11C18.44 11 18.17 10.9 17.95 10.66C17.73 10.43 17.61 10.16 17.58 9.84L16.97 5M5.06 5H7.03L6.42 9.84C6.3 10.63 5.91 11 5.25 11C4.84 11 4.53 10.86 4.31 10.55C4.03 10.2 3.94 9.81 4.03 9.38M9.05 5H11V9.7C11 10.05 10.89 10.35 10.64 10.62C10.39 10.88 10.08 11 9.7 11C9.36 11 9.07 10.88 8.84 10.59C8.61 10.3 8.5 10 8.5 9.66V9.5M13 5H14.95L15.5 9.5C15.58 9.92 15.5 10.27 15.21 10.57C14.95 10.87 14.61 11 14.2 11C13.89 11 13.61 10.88 13.36 10.62C13.11 10.35 13 10.05 13 9.7M3 14.03V19C3 20.11 3.89 21 5 21C9.67 21 14.33 21 19 21C20.1 21 21 20.11 21 19V14.05C20.45 14.63 19.75 14.96 19 15C18 15.03 17.25 14.74 16.54 14.05C15.94 14.65 15.14 15 14.3 15C13.4 15 12.6 14.64 12 14.07C11.43 14.64 10.65 15 9.78 15C8.87 15 8.07 14.65 7.47 14.05C6.89 14.64 6.1 15 5.23 15C4.33 15 3.66 14.65 3 14.03Z", Uo = "M12,18A6,6 0 0,1 6,12C6,11 6.25,10.03 6.7,9.2L5.24,7.74C4.46,8.97 4,10.43 4,12A8,8 0 0,0 12,20V23L16,19L12,15M12,4V1L8,5L12,9V6A6,6 0 0,1 18,12C18,13 17.75,13.97 17.3,14.8L18.76,16.26C19.54,15.03 20,13.57 20,12A8,8 0 0,0 12,4Z", Bo = "M20,4H14V10L16.24,7.76C17.32,8.85 18,10.34 18,12C18,13 17.75,13.94 17.32,14.77L18.78,16.23C19.55,15 20,13.56 20,12C20,9.79 19.09,7.8 17.64,6.36L20,4M2.86,5.41L5.22,7.77C4.45,9 4,10.44 4,12C4,14.21 4.91,16.2 6.36,17.64L4,20H10V14L7.76,16.24C6.68,15.15 6,13.66 6,12C6,11 6.25,10.06 6.68,9.23L14.76,17.31C14.5,17.44 14.26,17.56 14,17.65V19.74C14.79,19.53 15.54,19.2 16.22,18.78L18.58,21.14L19.85,19.87L4.14,4.14L2.86,5.41M10,6.35V4.26C9.2,4.47 8.45,4.8 7.77,5.22L9.23,6.68C9.5,6.56 9.73,6.44 10,6.35Z", No = "M14,17H7V15H14M17,13H7V11H17M17,9H7V7H17M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z", gt = "M8.28,5.45L6.5,4.55L7.76,2H16.23L17.5,4.55L15.72,5.44L15,4H9L8.28,5.45M18.62,8H14.09L13.3,5H10.7L9.91,8H5.38L4.1,10.55L5.89,11.44L6.62,10H17.38L18.1,11.45L19.89,10.56L18.62,8M17.77,22H15.7L15.46,21.1L12,15.9L8.53,21.1L8.3,22H6.23L9.12,11H11.19L10.83,12.35L12,14.1L13.16,12.35L12.81,11H14.88L17.77,22M11.4,15L10.5,13.65L9.32,18.13L11.4,15M14.68,18.12L13.5,13.64L12.6,15L14.68,18.12Z", nt = "M2 12H4V17H20V12H22V17C22 18.11 21.11 19 20 19H4C2.9 19 2 18.11 2 17V12M12 15L17.55 9.54L16.13 8.13L13 11.25V2H11V11.25L7.88 8.13L6.46 9.55L12 15Z", Fo = "M19,5V7H15V5H19M9,5V11H5V5H9M19,13V19H15V13H19M9,17V19H5V17H9M21,3H13V9H21V3M11,3H3V13H11V3M21,11H13V21H21V11M11,15H3V21H11V15Z", Zo = "M17.75,4.09L15.22,6.03L16.13,9.09L13.5,7.28L10.87,9.09L11.78,6.03L9.25,4.09L12.44,4L13.5,1L14.56,4L17.75,4.09M21.25,11L19.61,12.25L20.2,14.23L18.5,13.06L16.8,14.23L17.39,12.25L15.75,11L17.81,10.95L18.5,9L19.19,10.95L21.25,11M18.97,15.95C19.8,15.87 20.69,17.05 20.16,17.8C19.84,18.25 19.5,18.67 19.08,19.07C15.17,23 8.84,23 4.94,19.07C1.03,15.17 1.03,8.83 4.94,4.93C5.34,4.53 5.76,4.17 6.21,3.85C6.96,3.32 8.14,4.21 8.06,5.04C7.79,7.9 8.75,10.87 10.95,13.06C13.14,15.26 16.1,16.22 18.97,15.95M17.33,17.97C14.5,17.81 11.7,16.64 9.53,14.5C7.36,12.31 6.2,9.5 6.04,6.68C3.23,9.82 3.34,14.64 6.35,17.66C9.37,20.67 14.19,20.78 17.33,17.97Z", zo = "M3.55 19.09L4.96 20.5L6.76 18.71L5.34 17.29M12 6C8.69 6 6 8.69 6 12S8.69 18 12 18 18 15.31 18 12C18 8.68 15.31 6 12 6M20 13H23V11H20M17.24 18.71L19.04 20.5L20.45 19.09L18.66 17.29M20.45 5L19.04 3.6L17.24 5.39L18.66 6.81M13 1H11V4H13M6.76 5.39L4.96 3.6L3.55 5L5.34 6.81L6.76 5.39M1 13H4V11H1M13 20H11V23H13";
|
|
68
|
+
const oe = W("http", {
|
|
68
69
|
state: () => ({
|
|
69
70
|
url: ""
|
|
70
71
|
}),
|
|
@@ -103,7 +104,7 @@ const Ro = q("Queue", () => {
|
|
|
103
104
|
});
|
|
104
105
|
}
|
|
105
106
|
}
|
|
106
|
-
}),
|
|
107
|
+
}), Re = typeof window < "u", Se = {
|
|
107
108
|
v: 5,
|
|
108
109
|
api: "link-only",
|
|
109
110
|
avatar: "",
|
|
@@ -142,34 +143,32 @@ const Ro = q("Queue", () => {
|
|
|
142
143
|
jobs: null
|
|
143
144
|
}
|
|
144
145
|
}
|
|
145
|
-
},
|
|
146
|
-
const c =
|
|
147
|
-
|
|
146
|
+
}, B = W("user", () => {
|
|
147
|
+
const c = It(Pe({}, Se));
|
|
148
|
+
F(c, n);
|
|
148
149
|
function e() {
|
|
149
|
-
if (!
|
|
150
|
-
return;
|
|
150
|
+
if (!Re) return;
|
|
151
151
|
const s = localStorage.getItem("vuetify@user"), a = s ? JSON.parse(s) : {};
|
|
152
152
|
let l = a.v === c.v;
|
|
153
|
-
a.v || (a.pwaRefresh = !0, typeof a.api == "boolean" && (a.api = a.api ? "inline" : "link-only"), typeof a.rtl == "boolean" && (a.direction = a.rtl ? "rtl" : "ltr", delete a.rtl), typeof a.theme == "object" && (a.mixedTheme = a.theme.mixed, a.theme = a.theme.system ? "system" : a.theme.dark ? "dark" : "light"), Array.isArray(a.notifications) && (a.notifications = { read: a.notifications }), typeof a.last == "object" && (a.notifications.last = a.last, delete a.last)), a.v === 1 && (Array.isArray(a.composition) && (a.composition = "composition"), Array.isArray(a.notifications.last.banner) || (a.notifications = a.notifications || {}, a.notifications.last = a.notifications.last || {}, a.notifications.last.banner = [])), a.v === 2 && (a.syncSettings = !0, a.disableAds = !1, a.v = 3), a.v === 3 && (a.quickbar = !1), a.v === 4 && (a.suits =
|
|
153
|
+
a.v || (a.pwaRefresh = !0, typeof a.api == "boolean" && (a.api = a.api ? "inline" : "link-only"), typeof a.rtl == "boolean" && (a.direction = a.rtl ? "rtl" : "ltr", delete a.rtl), typeof a.theme == "object" && (a.mixedTheme = a.theme.mixed, a.theme = a.theme.system ? "system" : a.theme.dark ? "dark" : "light"), Array.isArray(a.notifications) && (a.notifications = { read: a.notifications }), typeof a.last == "object" && (a.notifications.last = a.last, delete a.last)), a.v === 1 && (Array.isArray(a.composition) && (a.composition = "composition"), Array.isArray(a.notifications.last.banner) || (a.notifications = a.notifications || {}, a.notifications.last = a.notifications.last || {}, a.notifications.last.banner = [])), a.v === 2 && (a.syncSettings = !0, a.disableAds = !1, a.v = 3), a.v === 3 && (a.quickbar = !1), a.v === 4 && (a.suits = Se.suits, a.notifications.banners = Se.notifications.banners, l = !0), a.v = c.v, Object.assign(c, Pe(c, a)), l && n();
|
|
154
154
|
}
|
|
155
155
|
function n() {
|
|
156
|
-
|
|
156
|
+
Re && localStorage.setItem("vuetify@user", JSON.stringify(c, null, 2));
|
|
157
157
|
}
|
|
158
158
|
function o() {
|
|
159
|
-
|
|
159
|
+
Re && (Object.assign(c, Pe({}, Se)), n());
|
|
160
160
|
}
|
|
161
161
|
return e(), {
|
|
162
|
-
...
|
|
162
|
+
...Dt(c),
|
|
163
163
|
load: e,
|
|
164
164
|
save: n,
|
|
165
165
|
reset: o
|
|
166
166
|
};
|
|
167
|
-
}),
|
|
168
|
-
const c =
|
|
169
|
-
let l = !!
|
|
170
|
-
|
|
171
|
-
if (!(y != null && y.settings))
|
|
172
|
-
return;
|
|
167
|
+
}), z = W("auth", () => {
|
|
168
|
+
const c = D(!1), e = D(null), n = oe(), o = B(), s = Ge(), a = S(!1);
|
|
169
|
+
let l = !!b();
|
|
170
|
+
F(e, (y) => {
|
|
171
|
+
if (!(y != null && y.settings)) return;
|
|
173
172
|
const _ = localStorage.getItem("vuetify@user") || "{}";
|
|
174
173
|
JSON.stringify(y.settings, null, 2) !== _ && (l = !0, Object.assign(o, y.settings));
|
|
175
174
|
}), o.$subscribe(() => {
|
|
@@ -184,8 +183,7 @@ const Ro = q("Queue", () => {
|
|
|
184
183
|
}
|
|
185
184
|
}
|
|
186
185
|
async function p(y = !1) {
|
|
187
|
-
if (p.promise)
|
|
188
|
-
return p.promise;
|
|
186
|
+
if (p.promise) return p.promise;
|
|
189
187
|
a.value = !0, p.promise = fetch(`${n.url}/auth/verify`, {
|
|
190
188
|
credentials: "include",
|
|
191
189
|
headers: y ? {
|
|
@@ -209,26 +207,26 @@ const Ro = q("Queue", () => {
|
|
|
209
207
|
window.location.assign(_ + "?next=" + encodeURIComponent(window.location.href));
|
|
210
208
|
return;
|
|
211
209
|
}
|
|
212
|
-
const h = 400,
|
|
210
|
+
const h = 400, V = 600, N = window.screenX + (window.innerWidth - h) / 2, A = window.screenY + (window.innerHeight - V) / 2, j = window.open(
|
|
213
211
|
"",
|
|
214
212
|
"vuetify:authorize:popup",
|
|
215
|
-
`popup,left=${
|
|
213
|
+
`popup,left=${N},top=${A},width=${h},height=${V},resizable`
|
|
216
214
|
);
|
|
217
|
-
if (!
|
|
215
|
+
if (!j) {
|
|
218
216
|
console.error("Failed to open popup");
|
|
219
217
|
return;
|
|
220
218
|
}
|
|
221
|
-
|
|
219
|
+
j.location.href = _;
|
|
222
220
|
let ie = -1, re = -1;
|
|
223
221
|
function le(ne) {
|
|
224
222
|
var he;
|
|
225
223
|
ne.origin === n.url && ((he = ne.data) == null ? void 0 : he.type) === "auth-response" && (ne.data.status === "success" ? (e.value || localStorage.setItem("vuetify@lastLoginProvider", y), e.value = ne.data.body.user, d()) : console.error(ne.data.message), ce());
|
|
226
224
|
}
|
|
227
225
|
function ce() {
|
|
228
|
-
window.removeEventListener("message", le), window.clearInterval(ie), window.clearTimeout(re),
|
|
226
|
+
window.removeEventListener("message", le), window.clearInterval(ie), window.clearTimeout(re), j == null || j.close(), a.value = !1;
|
|
229
227
|
}
|
|
230
228
|
window.addEventListener("message", le), ie = window.setInterval(() => {
|
|
231
|
-
!
|
|
229
|
+
!j || j.closed ? (console.error("Auth popup closed"), ce()) : j.postMessage({ type: "auth-request" }, "*");
|
|
232
230
|
}, 1e3), re = window.setTimeout(() => {
|
|
233
231
|
ce(), console.error("Auth timed out");
|
|
234
232
|
}, 120 * 1e3);
|
|
@@ -251,7 +249,7 @@ const Ro = q("Queue", () => {
|
|
|
251
249
|
var _;
|
|
252
250
|
return (_ = e.value) == null ? void 0 : _.identities.find((h) => h.provider === y);
|
|
253
251
|
}
|
|
254
|
-
function
|
|
252
|
+
function b() {
|
|
255
253
|
return localStorage.getItem("vuetify@lastLoginProvider");
|
|
256
254
|
}
|
|
257
255
|
return p(), {
|
|
@@ -263,116 +261,116 @@ const Ro = q("Queue", () => {
|
|
|
263
261
|
verify: p,
|
|
264
262
|
login: m,
|
|
265
263
|
logout: f,
|
|
266
|
-
lastLoginProvider:
|
|
264
|
+
lastLoginProvider: b,
|
|
267
265
|
sync: d
|
|
268
266
|
};
|
|
269
|
-
}),
|
|
267
|
+
}), jo = { class: "text-body-2" }, Po = /* @__PURE__ */ C("div", { class: "text-caption mt-n1" }, "Last Used", -1), yt = /* @__PURE__ */ L({
|
|
270
268
|
__name: "VoAuthShopify",
|
|
271
269
|
setup(c) {
|
|
272
|
-
const e =
|
|
270
|
+
const e = z(), n = k(() => e.user && e.findIdentity("shopify")), o = k(() => e.user ? n.value ? "Connected to Shopify" : "Connect Shopify" : "Login with Shopify");
|
|
273
271
|
return (s, a) => (u(), v(me, {
|
|
274
272
|
"base-color": "#5b8a3c",
|
|
275
|
-
"prepend-icon": `svg:${t(
|
|
273
|
+
"prepend-icon": `svg:${t(Oo)}`,
|
|
276
274
|
rounded: "pill",
|
|
277
275
|
slim: "",
|
|
278
276
|
variant: "flat",
|
|
279
277
|
onClick: a[0] || (a[0] = (l) => t(e).login("shopify"))
|
|
280
|
-
},
|
|
278
|
+
}, P({
|
|
281
279
|
title: r(() => [
|
|
282
|
-
|
|
280
|
+
C("span", jo, w(t(o)), 1)
|
|
283
281
|
]),
|
|
284
282
|
_: 2
|
|
285
283
|
}, [
|
|
286
284
|
!t(e).user && t(e).lastLoginProvider() === "shopify" ? {
|
|
287
285
|
name: "subtitle",
|
|
288
286
|
fn: r(() => [
|
|
289
|
-
|
|
287
|
+
Po
|
|
290
288
|
]),
|
|
291
289
|
key: "0"
|
|
292
290
|
} : void 0
|
|
293
291
|
]), 1032, ["prepend-icon"]));
|
|
294
292
|
}
|
|
295
|
-
}),
|
|
293
|
+
}), Ro = { class: "text-body-2" }, Eo = /* @__PURE__ */ C("div", { class: "text-caption mt-n1" }, "Last Used", -1), Vt = /* @__PURE__ */ L({
|
|
296
294
|
__name: "VoAuthDiscord",
|
|
297
295
|
setup(c) {
|
|
298
|
-
const e =
|
|
296
|
+
const e = z(), n = k(() => e.user && e.findIdentity("discord")), o = k(() => e.user ? n.value ? "Connected to Discord" : "Connect Discord" : "Login with Discord");
|
|
299
297
|
return (s, a) => (u(), v(me, {
|
|
300
298
|
"base-color": "#5865F2",
|
|
301
|
-
"prepend-icon":
|
|
299
|
+
"prepend-icon": "$discord",
|
|
302
300
|
rounded: "pill",
|
|
303
301
|
slim: "",
|
|
304
302
|
variant: "flat",
|
|
305
303
|
onClick: a[0] || (a[0] = (l) => t(e).login("discord"))
|
|
306
|
-
},
|
|
304
|
+
}, P({
|
|
307
305
|
title: r(() => [
|
|
308
|
-
|
|
306
|
+
C("span", Ro, w(t(o)), 1)
|
|
309
307
|
]),
|
|
310
308
|
_: 2
|
|
311
309
|
}, [
|
|
312
310
|
!t(e).user && t(e).lastLoginProvider() === "discord" ? {
|
|
313
311
|
name: "subtitle",
|
|
314
312
|
fn: r(() => [
|
|
315
|
-
|
|
313
|
+
Eo
|
|
316
314
|
]),
|
|
317
315
|
key: "0"
|
|
318
316
|
} : void 0
|
|
319
|
-
]),
|
|
317
|
+
]), 1024));
|
|
320
318
|
}
|
|
321
|
-
}),
|
|
319
|
+
}), Wo = { class: "text-body-2" }, qo = /* @__PURE__ */ C("div", { class: "text-caption mt-n1" }, "Last Used", -1), bt = /* @__PURE__ */ L({
|
|
322
320
|
__name: "VoAuthGithub",
|
|
323
321
|
setup(c) {
|
|
324
|
-
const e =
|
|
322
|
+
const e = z(), n = k(() => e.user && e.findIdentity("github")), o = k(() => e.user ? n.value ? "Connected to GitHub" : "Connect GitHub" : "Login with GitHub");
|
|
325
323
|
return (s, a) => (u(), v(me, {
|
|
326
324
|
"base-color": "#2a2a2a",
|
|
327
|
-
"prepend-icon":
|
|
325
|
+
"prepend-icon": "$github",
|
|
328
326
|
rounded: "pill",
|
|
329
327
|
slim: "",
|
|
330
328
|
variant: "flat",
|
|
331
329
|
onClick: a[0] || (a[0] = (l) => t(e).login("github"))
|
|
332
|
-
},
|
|
330
|
+
}, P({
|
|
333
331
|
title: r(() => [
|
|
334
|
-
|
|
332
|
+
C("span", Wo, w(t(o)), 1)
|
|
335
333
|
]),
|
|
336
334
|
_: 2
|
|
337
335
|
}, [
|
|
338
336
|
!t(e).user && t(e).lastLoginProvider() === "github" ? {
|
|
339
337
|
name: "subtitle",
|
|
340
338
|
fn: r(() => [
|
|
341
|
-
|
|
339
|
+
qo
|
|
342
340
|
]),
|
|
343
341
|
key: "0"
|
|
344
342
|
} : void 0
|
|
345
|
-
]),
|
|
343
|
+
]), 1024));
|
|
346
344
|
}
|
|
347
|
-
}),
|
|
345
|
+
}), Qo = { class: "text-center" }, Go = { class: "text-center mb-6" }, Yo = { class: "text-h6 font-weight-light" }, Jo = /* @__PURE__ */ C("span", { class: "text-h3 font-weight-bold" }, "Vuetify One", -1), Ct = /* @__PURE__ */ L({
|
|
348
346
|
__name: "VoAuthCard",
|
|
349
347
|
setup(c) {
|
|
350
|
-
const e =
|
|
348
|
+
const e = z();
|
|
351
349
|
return (n, o) => {
|
|
352
|
-
const s =
|
|
353
|
-
return u(), v(
|
|
350
|
+
const s = bt, a = Vt, l = yt;
|
|
351
|
+
return u(), v(E, {
|
|
354
352
|
class: "pt-6 pb-8 px-4 px-sm-8 mx-auto",
|
|
355
353
|
"max-width": "480"
|
|
356
354
|
}, {
|
|
357
355
|
default: r(() => [
|
|
358
|
-
|
|
356
|
+
C("div", Qo, [
|
|
359
357
|
i(ee, {
|
|
360
358
|
class: "mx-auto",
|
|
361
359
|
image: "https://vuetifyjs.b-cdn.net/docs/images/avatars/one.png",
|
|
362
360
|
size: "64"
|
|
363
|
-
}
|
|
361
|
+
})
|
|
364
362
|
]),
|
|
365
|
-
|
|
366
|
-
i(
|
|
363
|
+
C("div", Go, [
|
|
364
|
+
i(jt, { class: "text-h5 mb-1 text-md-h4" }, {
|
|
367
365
|
default: r(() => [
|
|
368
|
-
|
|
369
|
-
|
|
366
|
+
C("div", Yo, w(t(e).lastLoginProvider() ? "Welcome back to" : "Login to"), 1),
|
|
367
|
+
Jo
|
|
370
368
|
]),
|
|
371
369
|
_: 1
|
|
372
370
|
}),
|
|
373
|
-
i(
|
|
371
|
+
i(Pt, { class: "text-wrap" }, {
|
|
374
372
|
default: r(() => [
|
|
375
|
-
|
|
373
|
+
O(" Login to save your settings and gain access to exclusive subscriber perks. ")
|
|
376
374
|
]),
|
|
377
375
|
_: 1
|
|
378
376
|
})
|
|
@@ -394,13 +392,13 @@ const Ro = q("Queue", () => {
|
|
|
394
392
|
});
|
|
395
393
|
};
|
|
396
394
|
}
|
|
397
|
-
}),
|
|
395
|
+
}), Lt = /* @__PURE__ */ L({
|
|
398
396
|
__name: "VoAuthDialog",
|
|
399
397
|
setup(c) {
|
|
400
|
-
const e =
|
|
398
|
+
const e = z();
|
|
401
399
|
return (n, o) => {
|
|
402
|
-
const s =
|
|
403
|
-
return u(), v(
|
|
400
|
+
const s = Ct;
|
|
401
|
+
return u(), v(rt, {
|
|
404
402
|
modelValue: t(e).dialog,
|
|
405
403
|
"onUpdate:modelValue": o[0] || (o[0] = (a) => t(e).dialog = a),
|
|
406
404
|
"max-width": "480"
|
|
@@ -412,8 +410,8 @@ const Ro = q("Queue", () => {
|
|
|
412
410
|
}, 8, ["modelValue"]);
|
|
413
411
|
};
|
|
414
412
|
}
|
|
415
|
-
}),
|
|
416
|
-
const c = oe(), e =
|
|
413
|
+
}), Fe = W("notifications", () => {
|
|
414
|
+
const c = oe(), e = B(), n = D([]), o = D([]), s = D(), a = S(!1), l = k(() => n.value.filter((_) => !e.notifications.read.includes(_.slug))), d = k(() => n.value.filter((_) => e.notifications.read.includes(_.slug)));
|
|
417
415
|
async function p() {
|
|
418
416
|
try {
|
|
419
417
|
a.value = !0;
|
|
@@ -451,17 +449,17 @@ const Ro = q("Queue", () => {
|
|
|
451
449
|
async function g(_, h) {
|
|
452
450
|
try {
|
|
453
451
|
a.value = !0;
|
|
454
|
-
const
|
|
452
|
+
const V = await c.form(
|
|
455
453
|
`/one/admin/notifications/${_}`,
|
|
456
454
|
h
|
|
457
455
|
);
|
|
458
|
-
return s.value =
|
|
456
|
+
return s.value = V.notification, V.notification;
|
|
459
457
|
} catch {
|
|
460
458
|
} finally {
|
|
461
459
|
a.value = !1;
|
|
462
460
|
}
|
|
463
461
|
}
|
|
464
|
-
async function
|
|
462
|
+
async function b() {
|
|
465
463
|
}
|
|
466
464
|
async function y() {
|
|
467
465
|
try {
|
|
@@ -484,15 +482,15 @@ const Ro = q("Queue", () => {
|
|
|
484
482
|
show: m,
|
|
485
483
|
store: f,
|
|
486
484
|
update: g,
|
|
487
|
-
destroy:
|
|
485
|
+
destroy: b,
|
|
488
486
|
read: d,
|
|
489
487
|
unread: l
|
|
490
488
|
};
|
|
491
|
-
}),
|
|
489
|
+
}), Xo = /* @__PURE__ */ L({
|
|
492
490
|
__name: "VoNotificationsTotalBadge",
|
|
493
491
|
setup(c) {
|
|
494
|
-
const e =
|
|
495
|
-
return (a, l) => (u(), v(
|
|
492
|
+
const e = z(), n = Fe(), o = B(), s = k(() => o.notifications.show ? n.unread.length : 0);
|
|
493
|
+
return (a, l) => (u(), v(Ye, {
|
|
496
494
|
color: "error",
|
|
497
495
|
content: t(s),
|
|
498
496
|
dot: !!t(e).user,
|
|
@@ -500,68 +498,68 @@ const Ro = q("Queue", () => {
|
|
|
500
498
|
"model-value": t(s) > 0
|
|
501
499
|
}, {
|
|
502
500
|
default: r(() => [
|
|
503
|
-
|
|
501
|
+
T(a.$slots, "default")
|
|
504
502
|
]),
|
|
505
503
|
_: 3
|
|
506
504
|
}, 8, ["content", "dot", "model-value"]));
|
|
507
505
|
}
|
|
508
|
-
}),
|
|
506
|
+
}), $e = /* @__PURE__ */ L({
|
|
509
507
|
__name: "VoBtn",
|
|
510
508
|
props: {
|
|
511
509
|
readonly: { type: Boolean }
|
|
512
510
|
},
|
|
513
511
|
setup(c) {
|
|
514
512
|
const e = c;
|
|
515
|
-
return (n, o) => (u(), v(
|
|
513
|
+
return (n, o) => (u(), v(q, {
|
|
516
514
|
class: "text-none font-weight-regular",
|
|
517
515
|
color: "primary",
|
|
518
516
|
size: "small",
|
|
519
|
-
style:
|
|
517
|
+
style: at({
|
|
520
518
|
pointerEvents: e.readonly ? "none" : void 0
|
|
521
519
|
}),
|
|
522
520
|
tabindex: e.readonly ? -1 : void 0,
|
|
523
521
|
variant: "flat"
|
|
524
|
-
},
|
|
522
|
+
}, P({
|
|
525
523
|
loader: r(() => [
|
|
526
|
-
n.$slots.loader ?
|
|
524
|
+
n.$slots.loader ? $("", !0) : (u(), v(Rt, {
|
|
527
525
|
key: 0,
|
|
528
526
|
indeterminate: "disable-shrink",
|
|
529
527
|
size: "16",
|
|
530
528
|
width: "2"
|
|
531
529
|
})),
|
|
532
|
-
|
|
530
|
+
T(n.$slots, "loader")
|
|
533
531
|
]),
|
|
534
532
|
_: 2
|
|
535
533
|
}, [
|
|
536
534
|
n.$slots.prepend ? {
|
|
537
535
|
name: "prepend",
|
|
538
536
|
fn: r(() => [
|
|
539
|
-
|
|
537
|
+
T(n.$slots, "prepend")
|
|
540
538
|
]),
|
|
541
539
|
key: "0"
|
|
542
540
|
} : void 0,
|
|
543
541
|
n.$slots.default ? {
|
|
544
542
|
name: "default",
|
|
545
543
|
fn: r(() => [
|
|
546
|
-
|
|
544
|
+
T(n.$slots, "default")
|
|
547
545
|
]),
|
|
548
546
|
key: "1"
|
|
549
547
|
} : void 0
|
|
550
548
|
]), 1032, ["style", "tabindex"]));
|
|
551
549
|
}
|
|
552
|
-
}),
|
|
550
|
+
}), Ko = { class: "pa-4 d-flex flex-column ga-4" }, Ht = /* @__PURE__ */ L({
|
|
553
551
|
__name: "VoAuthListItem",
|
|
554
552
|
setup(c) {
|
|
555
|
-
const e =
|
|
556
|
-
|
|
553
|
+
const e = z(), n = B(), o = S(!e.user && !e.isLoading);
|
|
554
|
+
F(() => e.user, (a) => {
|
|
557
555
|
o.value = !a;
|
|
558
556
|
});
|
|
559
557
|
function s() {
|
|
560
558
|
e.user && (o.value = !o.value);
|
|
561
559
|
}
|
|
562
560
|
return (a, l) => {
|
|
563
|
-
const d =
|
|
564
|
-
return u(), v(
|
|
561
|
+
const d = bt, p = Vt, m = yt;
|
|
562
|
+
return u(), v(E, {
|
|
565
563
|
class: "ma-2",
|
|
566
564
|
rounded: "lg",
|
|
567
565
|
variant: t(o) ? "tonal" : "text"
|
|
@@ -573,7 +571,7 @@ const Ro = q("Queue", () => {
|
|
|
573
571
|
class: "mb-0",
|
|
574
572
|
link: !!t(e).user,
|
|
575
573
|
nav: "",
|
|
576
|
-
"prepend-icon": `svg:${t(e).user && t(n).syncSettings ? t(
|
|
574
|
+
"prepend-icon": `svg:${t(e).user && t(n).syncSettings ? t(Uo) : t(Bo)}`,
|
|
577
575
|
rounded: "b-0",
|
|
578
576
|
slim: "",
|
|
579
577
|
title: t(e).user && t(n).syncSettings ? "Sync is on" : "Sync is paused",
|
|
@@ -582,7 +580,7 @@ const Ro = q("Queue", () => {
|
|
|
582
580
|
append: r(() => [
|
|
583
581
|
i(Te, null, {
|
|
584
582
|
default: r(() => [
|
|
585
|
-
t(e).user && (t(o) || !t(n).syncSettings) ? (u(), v(
|
|
583
|
+
t(e).user && (t(o) || !t(n).syncSettings) ? (u(), v(lt, {
|
|
586
584
|
key: 0,
|
|
587
585
|
modelValue: t(n).syncSettings,
|
|
588
586
|
"onUpdate:modelValue": l[0] || (l[0] = (f) => t(n).syncSettings = f),
|
|
@@ -590,7 +588,7 @@ const Ro = q("Queue", () => {
|
|
|
590
588
|
density: "compact",
|
|
591
589
|
"hide-details": "",
|
|
592
590
|
inset: "",
|
|
593
|
-
onClick: l[1] || (l[1] =
|
|
591
|
+
onClick: l[1] || (l[1] = qe(() => {
|
|
594
592
|
}, ["stop"]))
|
|
595
593
|
}, {
|
|
596
594
|
thumb: r(() => [
|
|
@@ -599,7 +597,7 @@ const Ro = q("Queue", () => {
|
|
|
599
597
|
}, null, 8, ["color"])
|
|
600
598
|
]),
|
|
601
599
|
_: 1
|
|
602
|
-
}, 8, ["modelValue", "color"])) :
|
|
600
|
+
}, 8, ["modelValue", "color"])) : $("", !0)
|
|
603
601
|
]),
|
|
604
602
|
_: 1
|
|
605
603
|
})
|
|
@@ -608,13 +606,13 @@ const Ro = q("Queue", () => {
|
|
|
608
606
|
}, 8, ["link", "prepend-icon", "title"]),
|
|
609
607
|
i(fe, null, {
|
|
610
608
|
default: r(() => [
|
|
611
|
-
!t(e).user && !t(e).isLoading || t(o) ? (u(), v(
|
|
609
|
+
!t(e).user && !t(e).isLoading || t(o) ? (u(), v(Je, {
|
|
612
610
|
key: 0,
|
|
613
611
|
border: "t",
|
|
614
612
|
color: "transparent"
|
|
615
613
|
}, {
|
|
616
614
|
default: r(() => [
|
|
617
|
-
|
|
615
|
+
C("div", Ko, [
|
|
618
616
|
i(d, {
|
|
619
617
|
onClick: l[2] || (l[2] = (f) => o.value = !1)
|
|
620
618
|
}),
|
|
@@ -627,7 +625,7 @@ const Ro = q("Queue", () => {
|
|
|
627
625
|
])
|
|
628
626
|
]),
|
|
629
627
|
_: 1
|
|
630
|
-
})) :
|
|
628
|
+
})) : $("", !0)
|
|
631
629
|
]),
|
|
632
630
|
_: 1
|
|
633
631
|
})
|
|
@@ -639,42 +637,42 @@ const Ro = q("Queue", () => {
|
|
|
639
637
|
}, 8, ["variant"]);
|
|
640
638
|
};
|
|
641
639
|
}
|
|
642
|
-
}), Y = /* @__PURE__ */
|
|
640
|
+
}), Y = /* @__PURE__ */ L({
|
|
643
641
|
__name: "VoListItem",
|
|
644
642
|
setup(c) {
|
|
645
|
-
return (e, n) => (u(), v(me, { slim: "" },
|
|
643
|
+
return (e, n) => (u(), v(me, { slim: "" }, P({
|
|
646
644
|
default: r(() => [
|
|
647
|
-
|
|
645
|
+
T(e.$slots, "default")
|
|
648
646
|
]),
|
|
649
647
|
_: 2
|
|
650
648
|
}, [
|
|
651
649
|
e.$slots.prepend ? {
|
|
652
650
|
name: "prepend",
|
|
653
651
|
fn: r(() => [
|
|
654
|
-
|
|
652
|
+
T(e.$slots, "prepend")
|
|
655
653
|
]),
|
|
656
654
|
key: "0"
|
|
657
655
|
} : void 0,
|
|
658
656
|
e.$slots.title ? {
|
|
659
657
|
name: "title",
|
|
660
658
|
fn: r(() => [
|
|
661
|
-
|
|
659
|
+
T(e.$slots, "title")
|
|
662
660
|
]),
|
|
663
661
|
key: "1"
|
|
664
662
|
} : void 0,
|
|
665
663
|
e.$slots.append ? {
|
|
666
664
|
name: "append",
|
|
667
665
|
fn: r(() => [
|
|
668
|
-
|
|
666
|
+
T(e.$slots, "append")
|
|
669
667
|
]),
|
|
670
668
|
key: "2"
|
|
671
669
|
} : void 0
|
|
672
670
|
]), 1024));
|
|
673
671
|
}
|
|
674
|
-
}),
|
|
672
|
+
}), en = /* @__PURE__ */ L({
|
|
675
673
|
__name: "VoAuthLogoutNavItem",
|
|
676
674
|
setup(c) {
|
|
677
|
-
const e =
|
|
675
|
+
const e = z(), n = S(!1);
|
|
678
676
|
async function o() {
|
|
679
677
|
n.value = !0, await e.logout(), n.value = !1;
|
|
680
678
|
}
|
|
@@ -685,13 +683,13 @@ const Ro = q("Queue", () => {
|
|
|
685
683
|
disabled: t(n),
|
|
686
684
|
link: "",
|
|
687
685
|
loading: t(n),
|
|
688
|
-
"prepend-icon": `svg:${t(
|
|
686
|
+
"prepend-icon": `svg:${t(xo)}`,
|
|
689
687
|
title: "Logout",
|
|
690
688
|
onClick: o
|
|
691
689
|
}, null, 8, ["disabled", "loading", "prepend-icon"]);
|
|
692
690
|
};
|
|
693
691
|
}
|
|
694
|
-
}),
|
|
692
|
+
}), we = /* @__PURE__ */ L({
|
|
695
693
|
__name: "VoDialog",
|
|
696
694
|
props: /* @__PURE__ */ Tt({
|
|
697
695
|
prependIcon: {},
|
|
@@ -702,8 +700,8 @@ const Ro = q("Queue", () => {
|
|
|
702
700
|
}),
|
|
703
701
|
emits: ["update:modelValue"],
|
|
704
702
|
setup(c) {
|
|
705
|
-
const e = pe(c, "modelValue"), n = ve(), o =
|
|
706
|
-
return (s, a) => (u(), v(
|
|
703
|
+
const e = pe(c, "modelValue"), n = ve(), o = S(!1);
|
|
704
|
+
return (s, a) => (u(), v(rt, {
|
|
707
705
|
modelValue: e.value,
|
|
708
706
|
"onUpdate:modelValue": a[2] || (a[2] = (l) => e.value = l),
|
|
709
707
|
activator: "parent",
|
|
@@ -713,24 +711,24 @@ const Ro = q("Queue", () => {
|
|
|
713
711
|
"max-width": t(o) || t(n).xs.value ? "100%" : 800
|
|
714
712
|
}, {
|
|
715
713
|
default: r(({ isActive: l }) => [
|
|
716
|
-
i(
|
|
714
|
+
i(E, {
|
|
717
715
|
class: "overflow-hidden",
|
|
718
716
|
height: "inherit",
|
|
719
717
|
"prepend-icon": s.prependIcon,
|
|
720
718
|
title: s.title
|
|
721
|
-
},
|
|
719
|
+
}, P({
|
|
722
720
|
append: r(() => [
|
|
723
|
-
|
|
724
|
-
t(n).xs.value ?
|
|
721
|
+
T(s.$slots, "append"),
|
|
722
|
+
t(n).xs.value ? $("", !0) : (u(), v(q, {
|
|
725
723
|
key: 0,
|
|
726
724
|
class: "me-2",
|
|
727
725
|
density: "comfortable",
|
|
728
|
-
icon: `svg:${t(o) ? t(
|
|
726
|
+
icon: `svg:${t(o) ? t(bo) : t(Vo)}`,
|
|
729
727
|
size: "small",
|
|
730
728
|
variant: "text",
|
|
731
729
|
onClick: a[0] || (a[0] = (d) => o.value = !t(o))
|
|
732
730
|
}, null, 8, ["icon"])),
|
|
733
|
-
i(
|
|
731
|
+
i(q, {
|
|
734
732
|
density: "comfortable",
|
|
735
733
|
icon: "$close",
|
|
736
734
|
size: "small",
|
|
@@ -739,22 +737,22 @@ const Ro = q("Queue", () => {
|
|
|
739
737
|
})
|
|
740
738
|
]),
|
|
741
739
|
default: r(() => [
|
|
742
|
-
i(
|
|
743
|
-
|
|
740
|
+
i(G),
|
|
741
|
+
T(s.$slots, "default")
|
|
744
742
|
]),
|
|
745
743
|
_: 2
|
|
746
744
|
}, [
|
|
747
745
|
s.$slots.prepend ? {
|
|
748
746
|
name: "prepend",
|
|
749
747
|
fn: r(() => [
|
|
750
|
-
|
|
748
|
+
T(s.$slots, "prepend")
|
|
751
749
|
]),
|
|
752
750
|
key: "0"
|
|
753
751
|
} : void 0,
|
|
754
752
|
s.$slots.actions ? {
|
|
755
753
|
name: "actions",
|
|
756
754
|
fn: r(() => [
|
|
757
|
-
|
|
755
|
+
T(s.$slots, "actions", { isActive: l })
|
|
758
756
|
]),
|
|
759
757
|
key: "1"
|
|
760
758
|
} : void 0
|
|
@@ -763,21 +761,21 @@ const Ro = q("Queue", () => {
|
|
|
763
761
|
_: 3
|
|
764
762
|
}, 8, ["modelValue", "fullscreen", "max-height", "max-width"]));
|
|
765
763
|
}
|
|
766
|
-
}),
|
|
764
|
+
}), kt = /* @__PURE__ */ L({
|
|
767
765
|
__name: "VoSwitch",
|
|
768
766
|
props: {
|
|
769
767
|
disabled: { type: Boolean }
|
|
770
768
|
},
|
|
771
769
|
setup(c) {
|
|
772
|
-
return (e, n) => (u(), v(
|
|
770
|
+
return (e, n) => (u(), v(lt, {
|
|
773
771
|
color: "primary",
|
|
774
772
|
density: "compact",
|
|
775
773
|
disabled: e.disabled,
|
|
776
774
|
inset: "",
|
|
777
775
|
"true-icon": `svg:${t(Be)}`
|
|
778
|
-
},
|
|
776
|
+
}, P({
|
|
779
777
|
thumb: r(() => [
|
|
780
|
-
i(
|
|
778
|
+
i(I, {
|
|
781
779
|
color: e.disabled ? void 0 : "primary"
|
|
782
780
|
}, null, 8, ["color"])
|
|
783
781
|
]),
|
|
@@ -786,69 +784,69 @@ const Ro = q("Queue", () => {
|
|
|
786
784
|
e.$slots.label ? {
|
|
787
785
|
name: "label",
|
|
788
786
|
fn: r(() => [
|
|
789
|
-
|
|
787
|
+
T(e.$slots, "label")
|
|
790
788
|
]),
|
|
791
789
|
key: "0"
|
|
792
790
|
} : void 0
|
|
793
791
|
]), 1032, ["disabled", "true-icon"]));
|
|
794
792
|
}
|
|
795
|
-
}),
|
|
793
|
+
}), tn = {
|
|
796
794
|
key: 1,
|
|
797
795
|
class: "mb-3 text-caption text-medium-emphasis"
|
|
798
|
-
}, _e = /* @__PURE__ */
|
|
796
|
+
}, _e = /* @__PURE__ */ L({
|
|
799
797
|
__name: "VoDialogSubheader",
|
|
800
798
|
props: {
|
|
801
799
|
title: {},
|
|
802
800
|
text: {}
|
|
803
801
|
},
|
|
804
802
|
setup(c) {
|
|
805
|
-
return (e, n) => (u(),
|
|
806
|
-
e.title ? (u(), v(
|
|
803
|
+
return (e, n) => (u(), M(U, null, [
|
|
804
|
+
e.title ? (u(), v(Ee, {
|
|
807
805
|
key: 0,
|
|
808
806
|
class: "font-weight-black"
|
|
809
807
|
}, {
|
|
810
808
|
default: r(() => [
|
|
811
|
-
|
|
809
|
+
O(w(e.title), 1)
|
|
812
810
|
]),
|
|
813
811
|
_: 1
|
|
814
|
-
})) :
|
|
815
|
-
e.text ? (u(),
|
|
812
|
+
})) : $("", !0),
|
|
813
|
+
e.text ? (u(), M("div", tn, w(e.text), 1)) : $("", !0)
|
|
816
814
|
], 64));
|
|
817
815
|
}
|
|
818
|
-
}),
|
|
816
|
+
}), on = { key: 0 }, nn = /* @__PURE__ */ L({
|
|
819
817
|
__name: "VoSettingsPageSuitOption",
|
|
820
818
|
setup(c) {
|
|
821
|
-
const e =
|
|
819
|
+
const e = B(), n = [
|
|
822
820
|
{
|
|
823
821
|
title: "Choose a page suit",
|
|
824
822
|
value: "",
|
|
825
|
-
prependIcon: `svg:${
|
|
823
|
+
prependIcon: `svg:${Do}`,
|
|
826
824
|
disabled: !0
|
|
827
825
|
},
|
|
828
826
|
{
|
|
829
827
|
title: "Blackguard",
|
|
830
|
-
prependIcon: `svg:${
|
|
828
|
+
prependIcon: `svg:${ht}`,
|
|
831
829
|
value: "blackguard"
|
|
832
830
|
},
|
|
833
831
|
{
|
|
834
832
|
title: "Polaris",
|
|
835
|
-
prependIcon: `svg:${
|
|
833
|
+
prependIcon: `svg:${vt}`,
|
|
836
834
|
value: "polaris"
|
|
837
835
|
},
|
|
838
836
|
{
|
|
839
837
|
title: "Nebula",
|
|
840
|
-
prependIcon: `svg:${
|
|
838
|
+
prependIcon: `svg:${gt}`,
|
|
841
839
|
value: "nebula"
|
|
842
840
|
},
|
|
843
841
|
{
|
|
844
842
|
title: "Odyssey",
|
|
845
|
-
prependIcon: `svg:${
|
|
843
|
+
prependIcon: `svg:${_t}`,
|
|
846
844
|
value: "odyssey"
|
|
847
845
|
}
|
|
848
846
|
];
|
|
849
847
|
return (o, s) => {
|
|
850
|
-
const a =
|
|
851
|
-
return u(),
|
|
848
|
+
const a = kt, l = _e;
|
|
849
|
+
return u(), M(U, null, [
|
|
852
850
|
i(a, {
|
|
853
851
|
modelValue: t(e).suits.show,
|
|
854
852
|
"onUpdate:modelValue": s[0] || (s[0] = (d) => t(e).suits.show = d),
|
|
@@ -858,8 +856,8 @@ const Ro = q("Queue", () => {
|
|
|
858
856
|
}, null, 8, ["modelValue"]),
|
|
859
857
|
i(fe, null, {
|
|
860
858
|
default: r(() => [
|
|
861
|
-
t(e).suits.show ? (u(),
|
|
862
|
-
i(
|
|
859
|
+
t(e).suits.show ? (u(), M("div", on, [
|
|
860
|
+
i(qt, {
|
|
863
861
|
modelValue: t(e).suits.suit,
|
|
864
862
|
"onUpdate:modelValue": s[1] || (s[1] = (d) => t(e).suits.suit = d),
|
|
865
863
|
clearable: "",
|
|
@@ -872,17 +870,17 @@ const Ro = q("Queue", () => {
|
|
|
872
870
|
variant: "outlined"
|
|
873
871
|
}, {
|
|
874
872
|
selection: r(({ item: d }) => [
|
|
875
|
-
i(
|
|
873
|
+
i(I, {
|
|
876
874
|
icon: d.props.prependIcon,
|
|
877
875
|
size: "x-small",
|
|
878
876
|
start: ""
|
|
879
877
|
}, null, 8, ["icon"]),
|
|
880
|
-
|
|
878
|
+
O(" " + w(d.title), 1)
|
|
881
879
|
]),
|
|
882
880
|
_: 1
|
|
883
881
|
}, 8, ["modelValue"]),
|
|
884
882
|
i(l, { text: "Select your suit elements to display the background image:" }),
|
|
885
|
-
i(
|
|
883
|
+
i(Wt, {
|
|
886
884
|
modelValue: t(e).suits.elements,
|
|
887
885
|
"onUpdate:modelValue": s[2] || (s[2] = (d) => t(e).suits.elements = d),
|
|
888
886
|
color: "primary",
|
|
@@ -891,34 +889,34 @@ const Ro = q("Queue", () => {
|
|
|
891
889
|
}, {
|
|
892
890
|
default: r(() => [
|
|
893
891
|
i(X, {
|
|
894
|
-
"append-icon": `svg:${t(
|
|
892
|
+
"append-icon": `svg:${t(Ho)}`,
|
|
895
893
|
"filter-icon": "$success",
|
|
896
894
|
text: "App Bar",
|
|
897
895
|
value: "app-bar",
|
|
898
896
|
variant: "flat"
|
|
899
897
|
}, {
|
|
900
898
|
append: r(() => [
|
|
901
|
-
i(
|
|
899
|
+
i(G, {
|
|
902
900
|
class: "ms-2 border-opacity-50",
|
|
903
901
|
vertical: ""
|
|
904
902
|
}),
|
|
905
|
-
i(
|
|
903
|
+
i(I, { size: "x-small" })
|
|
906
904
|
]),
|
|
907
905
|
_: 1
|
|
908
906
|
}, 8, ["append-icon"]),
|
|
909
907
|
i(X, {
|
|
910
|
-
"append-icon": `svg:${t(
|
|
908
|
+
"append-icon": `svg:${t(No)}`,
|
|
911
909
|
"filter-icon": "$success",
|
|
912
910
|
text: "Navigation Drawer",
|
|
913
911
|
value: "drawer",
|
|
914
912
|
variant: "flat"
|
|
915
913
|
}, {
|
|
916
914
|
append: r(() => [
|
|
917
|
-
i(
|
|
915
|
+
i(G, {
|
|
918
916
|
class: "ms-2 border-opacity-50",
|
|
919
917
|
vertical: ""
|
|
920
918
|
}),
|
|
921
|
-
i(
|
|
919
|
+
i(I, { size: "x-small" })
|
|
922
920
|
]),
|
|
923
921
|
_: 1
|
|
924
922
|
}, 8, ["append-icon"]),
|
|
@@ -930,18 +928,18 @@ const Ro = q("Queue", () => {
|
|
|
930
928
|
variant: "flat"
|
|
931
929
|
}, {
|
|
932
930
|
append: r(() => [
|
|
933
|
-
i(
|
|
931
|
+
i(G, {
|
|
934
932
|
class: "ms-2 border-opacity-50",
|
|
935
933
|
vertical: ""
|
|
936
934
|
}),
|
|
937
|
-
i(
|
|
935
|
+
i(I, { size: "x-small" })
|
|
938
936
|
]),
|
|
939
937
|
_: 1
|
|
940
938
|
})
|
|
941
939
|
]),
|
|
942
940
|
_: 1
|
|
943
941
|
}, 8, ["modelValue"])
|
|
944
|
-
])) :
|
|
942
|
+
])) : $("", !0)
|
|
945
943
|
]),
|
|
946
944
|
_: 1
|
|
947
945
|
})
|
|
@@ -949,70 +947,68 @@ const Ro = q("Queue", () => {
|
|
|
949
947
|
};
|
|
950
948
|
}
|
|
951
949
|
});
|
|
952
|
-
function
|
|
953
|
-
const c =
|
|
954
|
-
return
|
|
950
|
+
function xe() {
|
|
951
|
+
const c = Ft();
|
|
952
|
+
return k(
|
|
955
953
|
() => c.query
|
|
956
954
|
);
|
|
957
955
|
}
|
|
958
|
-
const
|
|
959
|
-
const c =
|
|
960
|
-
var
|
|
961
|
-
return (
|
|
962
|
-
}), f =
|
|
963
|
-
var
|
|
964
|
-
return (
|
|
965
|
-
}), g =
|
|
966
|
-
var
|
|
967
|
-
return !!((
|
|
968
|
-
}),
|
|
969
|
-
var
|
|
970
|
-
return ((
|
|
971
|
-
if (!
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
return L + Ie / 100;
|
|
956
|
+
const Z = W("one", () => {
|
|
957
|
+
const c = xe(), e = Ge(), n = z(), o = oe(), s = S(!1), a = S(!1), l = D(), d = D([]), p = k(() => c.value.session_id), m = k(() => {
|
|
958
|
+
var H;
|
|
959
|
+
return (H = l.value) == null ? void 0 : H.items[0].plan.interval;
|
|
960
|
+
}), f = k(() => {
|
|
961
|
+
var H;
|
|
962
|
+
return (H = n.user) == null ? void 0 : H.sponsorships.find((x) => x.platform === "stripe" && x.tierName.startsWith("sub_"));
|
|
963
|
+
}), g = k(() => {
|
|
964
|
+
var H;
|
|
965
|
+
return !!((H = f.value) != null && H.tierName);
|
|
966
|
+
}), b = k(() => {
|
|
967
|
+
var H;
|
|
968
|
+
return ((H = n.user) == null ? void 0 : H.sponsorships.reduce((x, Q) => {
|
|
969
|
+
if (!Q.isActive || Q.interval === "once" || Q.platform === "stripe") return x;
|
|
970
|
+
const Me = Q.interval === "month" ? Q.amount : Q.amount / 12;
|
|
971
|
+
return x + Me / 100;
|
|
975
972
|
}, 0)) ?? 0;
|
|
976
|
-
}), y =
|
|
977
|
-
var
|
|
978
|
-
return (
|
|
979
|
-
}), _ =
|
|
980
|
-
var
|
|
981
|
-
return (
|
|
982
|
-
}), h =
|
|
983
|
-
var
|
|
984
|
-
return (
|
|
985
|
-
}),
|
|
986
|
-
var
|
|
987
|
-
return (
|
|
988
|
-
}),
|
|
989
|
-
var
|
|
990
|
-
return (
|
|
991
|
-
}),
|
|
992
|
-
var
|
|
993
|
-
return !o.url || ((
|
|
973
|
+
}), y = k(() => {
|
|
974
|
+
var H;
|
|
975
|
+
return (H = n.user) == null ? void 0 : H.sponsorships.find((x) => x.tierName.startsWith("sub_") && x.isActive);
|
|
976
|
+
}), _ = k(() => {
|
|
977
|
+
var H;
|
|
978
|
+
return (H = n.user) == null ? void 0 : H.sponsorships.find((x) => x.platform === "github" && x.isActive);
|
|
979
|
+
}), h = k(() => {
|
|
980
|
+
var H;
|
|
981
|
+
return (H = n.user) == null ? void 0 : H.sponsorships.find((x) => x.platform === "discord" && x.isActive);
|
|
982
|
+
}), V = k(() => {
|
|
983
|
+
var H;
|
|
984
|
+
return (H = n.user) == null ? void 0 : H.identities.find((x) => x.provider === "shopify");
|
|
985
|
+
}), N = k(() => {
|
|
986
|
+
var H;
|
|
987
|
+
return (H = n.user) == null ? void 0 : H.sponsorships.find((x) => x.platform === "patreon" && x.isActive);
|
|
988
|
+
}), A = k(() => {
|
|
989
|
+
var H, x, Q, Me, ot;
|
|
990
|
+
return !o.url || ((H = n.user) == null ? void 0 : H.isAdmin) || ((x = f.value) == null ? void 0 : x.isActive) || ((Q = _.value) == null ? void 0 : Q.isActive) || ((Me = h.value) == null ? void 0 : Me.isActive) || ((ot = N.value) == null ? void 0 : ot.isActive) || b.value >= 2.99;
|
|
994
991
|
});
|
|
995
|
-
|
|
996
|
-
p.value && await
|
|
997
|
-
}),
|
|
998
|
-
|
|
999
|
-
}, { immediate: !0 }),
|
|
1000
|
-
if (
|
|
1001
|
-
return;
|
|
992
|
+
Ie(async () => {
|
|
993
|
+
p.value && await j();
|
|
994
|
+
}), F(a, tt), F(p, (H) => {
|
|
995
|
+
H && j();
|
|
996
|
+
}, { immediate: !0 }), F(c, (H) => {
|
|
997
|
+
if (H.one !== "subscribe" || n.user) return;
|
|
1002
998
|
n.dialog = !0;
|
|
1003
|
-
const
|
|
1004
|
-
|
|
999
|
+
const x = F(() => n.user, (Q) => {
|
|
1000
|
+
Q && (n.dialog = !1, x());
|
|
1005
1001
|
});
|
|
1006
|
-
}, { immediate: !0 }),
|
|
1007
|
-
|
|
1002
|
+
}, { immediate: !0 }), F(A, (H, x) => {
|
|
1003
|
+
H === !1 && x !== !0 || ne();
|
|
1008
1004
|
});
|
|
1009
|
-
async function
|
|
1005
|
+
async function j() {
|
|
1010
1006
|
try {
|
|
1011
1007
|
s.value = !0;
|
|
1012
|
-
const
|
|
1013
|
-
n.user =
|
|
1014
|
-
const
|
|
1015
|
-
|
|
1008
|
+
const H = await o.post("/one/activate", { sessionId: p.value });
|
|
1009
|
+
n.user = H.user;
|
|
1010
|
+
const x = new URL(window.location.href);
|
|
1011
|
+
x.searchParams.delete("session_id"), history.pushState(null, "", x.toString()), he();
|
|
1016
1012
|
} catch {
|
|
1017
1013
|
} finally {
|
|
1018
1014
|
s.value = !1;
|
|
@@ -1021,46 +1017,46 @@ const P = q("one", () => {
|
|
|
1021
1017
|
async function ie() {
|
|
1022
1018
|
window.open(`${o.url}/one/manage`, "_blank");
|
|
1023
1019
|
}
|
|
1024
|
-
async function re(
|
|
1025
|
-
s.value = !0, window.location.href = `${o.url}/one/subscribe?interval=${
|
|
1020
|
+
async function re(H) {
|
|
1021
|
+
s.value = !0, window.location.href = `${o.url}/one/subscribe?interval=${H}`;
|
|
1026
1022
|
}
|
|
1027
1023
|
async function le() {
|
|
1028
|
-
var
|
|
1024
|
+
var H;
|
|
1029
1025
|
if (f.value)
|
|
1030
1026
|
try {
|
|
1031
1027
|
s.value = !0;
|
|
1032
|
-
const
|
|
1033
|
-
`/one/cancel?subscriptionId=${(
|
|
1028
|
+
const x = await o.post(
|
|
1029
|
+
`/one/cancel?subscriptionId=${(H = f.value) == null ? void 0 : H.tierName}`
|
|
1034
1030
|
);
|
|
1035
|
-
n.user =
|
|
1031
|
+
n.user = x.user;
|
|
1036
1032
|
} catch {
|
|
1037
1033
|
} finally {
|
|
1038
1034
|
s.value = !1;
|
|
1039
1035
|
}
|
|
1040
1036
|
}
|
|
1041
|
-
async function ce(
|
|
1037
|
+
async function ce(H) {
|
|
1042
1038
|
if (f.value)
|
|
1043
1039
|
try {
|
|
1044
1040
|
s.value = !0;
|
|
1045
|
-
const
|
|
1041
|
+
const x = await o.post("/one/modify", {
|
|
1046
1042
|
subscriptionId: f.value.tierName,
|
|
1047
|
-
interval:
|
|
1043
|
+
interval: H
|
|
1048
1044
|
});
|
|
1049
|
-
n.user =
|
|
1045
|
+
n.user = x.user;
|
|
1050
1046
|
} catch {
|
|
1051
1047
|
} finally {
|
|
1052
1048
|
s.value = !1;
|
|
1053
1049
|
}
|
|
1054
1050
|
}
|
|
1055
1051
|
async function ne() {
|
|
1056
|
-
var
|
|
1052
|
+
var H;
|
|
1057
1053
|
if (f.value)
|
|
1058
1054
|
try {
|
|
1059
1055
|
s.value = !0;
|
|
1060
|
-
const
|
|
1061
|
-
`/one/verify?subscriptionId=${(
|
|
1056
|
+
const x = await o.post(
|
|
1057
|
+
`/one/verify?subscriptionId=${(H = f.value) == null ? void 0 : H.tierName}`
|
|
1062
1058
|
);
|
|
1063
|
-
n.user =
|
|
1059
|
+
n.user = x.user;
|
|
1064
1060
|
} catch {
|
|
1065
1061
|
} finally {
|
|
1066
1062
|
s.value = !1;
|
|
@@ -1069,14 +1065,14 @@ const P = q("one", () => {
|
|
|
1069
1065
|
async function he() {
|
|
1070
1066
|
try {
|
|
1071
1067
|
s.value = !0;
|
|
1072
|
-
const
|
|
1073
|
-
return l.value =
|
|
1068
|
+
const H = await o.get("/one/info");
|
|
1069
|
+
return l.value = H.subscription, d.value = H.invoices, H;
|
|
1074
1070
|
} catch {
|
|
1075
1071
|
} finally {
|
|
1076
1072
|
s.value = !1;
|
|
1077
1073
|
}
|
|
1078
1074
|
}
|
|
1079
|
-
function
|
|
1075
|
+
function tt() {
|
|
1080
1076
|
e.push({
|
|
1081
1077
|
query: {
|
|
1082
1078
|
...c.value,
|
|
@@ -1090,27 +1086,27 @@ const P = q("one", () => {
|
|
|
1090
1086
|
invoices: d,
|
|
1091
1087
|
sessionId: p,
|
|
1092
1088
|
subscription: f,
|
|
1093
|
-
monthlyTotal:
|
|
1089
|
+
monthlyTotal: b,
|
|
1094
1090
|
hasBilling: g,
|
|
1095
1091
|
isLoading: s,
|
|
1096
1092
|
isOpen: a,
|
|
1097
|
-
isSubscriber:
|
|
1093
|
+
isSubscriber: A,
|
|
1098
1094
|
github: _,
|
|
1099
|
-
patreon:
|
|
1095
|
+
patreon: N,
|
|
1100
1096
|
discord: h,
|
|
1101
|
-
shopify:
|
|
1097
|
+
shopify: V,
|
|
1102
1098
|
one: y,
|
|
1103
|
-
activate:
|
|
1099
|
+
activate: j,
|
|
1104
1100
|
cancel: le,
|
|
1105
1101
|
manage: ie,
|
|
1106
1102
|
modify: ce,
|
|
1107
|
-
resetQuery:
|
|
1103
|
+
resetQuery: tt,
|
|
1108
1104
|
subscribe: re,
|
|
1109
1105
|
subscriptionInfo: he,
|
|
1110
1106
|
verify: ne
|
|
1111
1107
|
};
|
|
1112
1108
|
});
|
|
1113
|
-
function
|
|
1109
|
+
function sn() {
|
|
1114
1110
|
return {
|
|
1115
1111
|
blackguard: {
|
|
1116
1112
|
dark: !0,
|
|
@@ -1303,8 +1299,8 @@ function ln() {
|
|
|
1303
1299
|
}
|
|
1304
1300
|
};
|
|
1305
1301
|
}
|
|
1306
|
-
const
|
|
1307
|
-
const c = "https://cdn.vuetifyjs.com/docs/images/one/", e =
|
|
1302
|
+
const Ze = W("settings", () => {
|
|
1303
|
+
const c = "https://cdn.vuetifyjs.com/docs/images/one/", e = Z(), n = B(), o = Oe(), s = sn(), a = {
|
|
1308
1304
|
blackguard: {
|
|
1309
1305
|
"app-bar": c + "suits/blackguard/blackguard-app-bar.png",
|
|
1310
1306
|
drawer: c + "suits/blackguard/blackguard-app-drawer.png",
|
|
@@ -1325,9 +1321,8 @@ const Pe = q("settings", () => {
|
|
|
1325
1321
|
drawer: c + "suits/odyssey/odyssey-app-drawer.png",
|
|
1326
1322
|
footer: c + "suits/odyssey/odyssey-app-footer.png"
|
|
1327
1323
|
}
|
|
1328
|
-
}, l =
|
|
1329
|
-
if (!n.suits.suit || !n.suits.show || !e.isSubscriber)
|
|
1330
|
-
return {};
|
|
1324
|
+
}, l = k(() => {
|
|
1325
|
+
if (!n.suits.suit || !n.suits.show || !e.isSubscriber) return {};
|
|
1331
1326
|
const d = a[n.suits.suit.toLowerCase()], p = {};
|
|
1332
1327
|
for (const m of n.suits.elements)
|
|
1333
1328
|
p[m] = d[m];
|
|
@@ -1336,13 +1331,13 @@ const Pe = q("settings", () => {
|
|
|
1336
1331
|
return o.themes.value = {
|
|
1337
1332
|
...o.themes.value,
|
|
1338
1333
|
...s
|
|
1339
|
-
},
|
|
1334
|
+
}, F(() => n.theme, (d) => {
|
|
1340
1335
|
d === "system" ? o.global.name.value = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : (o.global.name.value = d, n.suits.suit = a[d] ? d : ""), n.theme = d;
|
|
1341
1336
|
}, { immediate: !0 }), {
|
|
1342
1337
|
suit: l,
|
|
1343
1338
|
CDN_URL: c
|
|
1344
1339
|
};
|
|
1345
|
-
}),
|
|
1340
|
+
}), an = { class: "ms-5" }, rn = { class: "pb-2" }, ln = /* @__PURE__ */ L({
|
|
1346
1341
|
__name: "VoSettingsDialog",
|
|
1347
1342
|
props: {
|
|
1348
1343
|
modelValue: { type: Boolean },
|
|
@@ -1350,42 +1345,42 @@ const Pe = q("settings", () => {
|
|
|
1350
1345
|
},
|
|
1351
1346
|
emits: ["update:modelValue"],
|
|
1352
1347
|
setup(c) {
|
|
1353
|
-
const e = pe(c, "modelValue"), n =
|
|
1348
|
+
const e = pe(c, "modelValue"), n = Z(), o = Ze(), s = B(), a = k(() => [
|
|
1354
1349
|
{
|
|
1355
1350
|
title: "Light",
|
|
1356
1351
|
subtitle: "A standard light theme.",
|
|
1357
1352
|
image: o.CDN_URL + "themes/light.png",
|
|
1358
|
-
prependIcon: `svg:${
|
|
1353
|
+
prependIcon: `svg:${zo}`,
|
|
1359
1354
|
value: "light"
|
|
1360
1355
|
},
|
|
1361
1356
|
{
|
|
1362
1357
|
title: "Dark",
|
|
1363
1358
|
subtitle: "A standard dark theme.",
|
|
1364
1359
|
image: o.CDN_URL + "themes/dark.png",
|
|
1365
|
-
prependIcon: `svg:${
|
|
1360
|
+
prependIcon: `svg:${Zo}`,
|
|
1366
1361
|
value: "dark"
|
|
1367
1362
|
},
|
|
1368
1363
|
{
|
|
1369
1364
|
title: "System",
|
|
1370
1365
|
subtitle: "A theme based on the system preference.",
|
|
1371
1366
|
image: o.CDN_URL + "themes/system.png",
|
|
1372
|
-
prependIcon: `svg:${
|
|
1367
|
+
prependIcon: `svg:${go}`,
|
|
1373
1368
|
value: "system"
|
|
1374
1369
|
},
|
|
1375
1370
|
{
|
|
1376
1371
|
title: "High Contrast",
|
|
1377
1372
|
subtitle: "A theme for high contrast.",
|
|
1378
1373
|
image: o.CDN_URL + "themes/high-contrast.png",
|
|
1379
|
-
prependIcon: `svg:${
|
|
1374
|
+
prependIcon: `svg:${mo}`,
|
|
1380
1375
|
value: "highContrast",
|
|
1381
1376
|
disabled: !n.isSubscriber
|
|
1382
1377
|
}
|
|
1383
|
-
]), l =
|
|
1378
|
+
]), l = k(() => [
|
|
1384
1379
|
{
|
|
1385
1380
|
title: "Blackguard",
|
|
1386
1381
|
subtitle: "A theme for v3.4 Blackguard.",
|
|
1387
1382
|
image: o.CDN_URL + "themes/blackguard.png",
|
|
1388
|
-
prependIcon: `svg:${
|
|
1383
|
+
prependIcon: `svg:${ht}`,
|
|
1389
1384
|
value: "blackguard",
|
|
1390
1385
|
disabled: !n.isSubscriber
|
|
1391
1386
|
},
|
|
@@ -1393,7 +1388,7 @@ const Pe = q("settings", () => {
|
|
|
1393
1388
|
title: "Polaris",
|
|
1394
1389
|
subtitle: "A theme for v3.5 Polaris.",
|
|
1395
1390
|
image: o.CDN_URL + "themes/polaris.png",
|
|
1396
|
-
prependIcon: `svg:${
|
|
1391
|
+
prependIcon: `svg:${vt}`,
|
|
1397
1392
|
value: "polaris",
|
|
1398
1393
|
disabled: !n.isSubscriber
|
|
1399
1394
|
},
|
|
@@ -1401,7 +1396,7 @@ const Pe = q("settings", () => {
|
|
|
1401
1396
|
title: "Nebula",
|
|
1402
1397
|
subtitle: "A theme for v3.6 Nebula.",
|
|
1403
1398
|
image: o.CDN_URL + "themes/nebula.png",
|
|
1404
|
-
prependIcon: `svg:${
|
|
1399
|
+
prependIcon: `svg:${gt}`,
|
|
1405
1400
|
value: "nebula",
|
|
1406
1401
|
disabled: !n.isSubscriber
|
|
1407
1402
|
},
|
|
@@ -1409,83 +1404,84 @@ const Pe = q("settings", () => {
|
|
|
1409
1404
|
title: "Odyssey",
|
|
1410
1405
|
subtitle: "A theme for v3.7 Odyssey.",
|
|
1411
1406
|
image: o.CDN_URL + "themes/odyssey.png",
|
|
1412
|
-
prependIcon: `svg:${
|
|
1407
|
+
prependIcon: `svg:${_t}`,
|
|
1413
1408
|
value: "odyssey",
|
|
1414
1409
|
disabled: !n.isSubscriber
|
|
1415
1410
|
}
|
|
1416
|
-
]), d =
|
|
1411
|
+
]), d = k(() => [
|
|
1417
1412
|
{ title: "Standard", items: a.value },
|
|
1418
1413
|
{ title: "Releases", items: l.value }
|
|
1419
|
-
]), p =
|
|
1420
|
-
|
|
1421
|
-
p.value.one === "settings" && (n.isOpen = !0, await
|
|
1414
|
+
]), p = xe();
|
|
1415
|
+
F(p, async () => {
|
|
1416
|
+
p.value.one === "settings" && (n.isOpen = !0, await Ve(), e.value = !0);
|
|
1422
1417
|
}, { immediate: !0 });
|
|
1423
1418
|
function m(f, g) {
|
|
1424
1419
|
g.disabled || (s.theme = g.value, f == null || f());
|
|
1425
1420
|
}
|
|
1426
1421
|
return (f, g) => {
|
|
1427
|
-
const
|
|
1422
|
+
const b = _e, y = nn, _ = kt, h = we;
|
|
1428
1423
|
return u(), v(h, {
|
|
1429
1424
|
modelValue: e.value,
|
|
1430
|
-
"onUpdate:modelValue": g[6] || (g[6] = (
|
|
1431
|
-
"prepend-icon": `svg:${t(
|
|
1425
|
+
"onUpdate:modelValue": g[6] || (g[6] = (V) => e.value = V),
|
|
1426
|
+
"prepend-icon": `svg:${t(uo)}`,
|
|
1432
1427
|
title: "Settings"
|
|
1433
1428
|
}, {
|
|
1434
1429
|
default: r(() => [
|
|
1435
|
-
i(
|
|
1430
|
+
i(He, null, {
|
|
1436
1431
|
default: r(() => [
|
|
1437
|
-
i(
|
|
1432
|
+
i(ke, { scrollable: "" }, {
|
|
1438
1433
|
default: r(() => [
|
|
1439
1434
|
i(ue, { class: "px-7" }, {
|
|
1440
1435
|
default: r(() => [
|
|
1441
|
-
i(
|
|
1436
|
+
i(b, {
|
|
1442
1437
|
text: "Customize your documentation experience with light and dark themes, as well as a combination of both named.",
|
|
1443
1438
|
title: "Theme"
|
|
1444
1439
|
}),
|
|
1445
|
-
i(
|
|
1440
|
+
i(ct, {
|
|
1446
1441
|
modelValue: t(s).theme,
|
|
1447
|
-
"onUpdate:modelValue": g[0] || (g[0] = (
|
|
1442
|
+
"onUpdate:modelValue": g[0] || (g[0] = (V) => t(s).theme = V),
|
|
1448
1443
|
mandatory: ""
|
|
1449
1444
|
}, {
|
|
1450
1445
|
default: r(() => [
|
|
1451
|
-
i(
|
|
1446
|
+
i(Le, { dense: "" }, {
|
|
1452
1447
|
default: r(() => [
|
|
1453
|
-
(u(!0),
|
|
1454
|
-
key:
|
|
1448
|
+
(u(!0), M(U, null, K(d.value, (V, N) => (u(), v(de, {
|
|
1449
|
+
key: N,
|
|
1455
1450
|
class: "d-flex flex-column ga-3",
|
|
1456
1451
|
cols: "12",
|
|
1457
1452
|
md: "6"
|
|
1458
1453
|
}, {
|
|
1459
1454
|
default: r(() => [
|
|
1460
|
-
i(
|
|
1455
|
+
i(Zt, { class: "mb-n4" }, {
|
|
1461
1456
|
default: r(() => [
|
|
1462
|
-
|
|
1457
|
+
O(w(V.title), 1)
|
|
1463
1458
|
]),
|
|
1464
1459
|
_: 2
|
|
1465
1460
|
}, 1024),
|
|
1466
|
-
(u(!0),
|
|
1467
|
-
key:
|
|
1468
|
-
value:
|
|
1461
|
+
(u(!0), M(U, null, K(V.items, (A) => (u(), v(We, {
|
|
1462
|
+
key: A.value,
|
|
1463
|
+
value: A.value
|
|
1469
1464
|
}, {
|
|
1470
|
-
default: r(({ toggle:
|
|
1471
|
-
i(
|
|
1465
|
+
default: r(({ toggle: j, isSelected: ie }) => [
|
|
1466
|
+
i(Ue, null, {
|
|
1472
1467
|
default: r(({ props: re, isHovering: le }) => [
|
|
1473
|
-
i(
|
|
1468
|
+
i(E, R({
|
|
1474
1469
|
color: ie ? "primary" : "surface-variant",
|
|
1475
1470
|
height: "76",
|
|
1476
|
-
image:
|
|
1477
|
-
"prepend-icon":
|
|
1478
|
-
readonly:
|
|
1479
|
-
ripple: !
|
|
1480
|
-
subtitle:
|
|
1481
|
-
title:
|
|
1482
|
-
variant: "tonal"
|
|
1471
|
+
image: A.image,
|
|
1472
|
+
"prepend-icon": A.prependIcon,
|
|
1473
|
+
readonly: A.disabled,
|
|
1474
|
+
ripple: !A.disabled,
|
|
1475
|
+
subtitle: A.disabled ? "🔓 Unlock with Vuetify One" : A.subtitle,
|
|
1476
|
+
title: A.title,
|
|
1477
|
+
variant: "tonal",
|
|
1478
|
+
ref_for: !0
|
|
1483
1479
|
}, re, {
|
|
1484
|
-
onClick: (ce) => m(
|
|
1480
|
+
onClick: (ce) => m(j, A)
|
|
1485
1481
|
}), {
|
|
1486
1482
|
image: r(() => [
|
|
1487
1483
|
i(te, {
|
|
1488
|
-
style:
|
|
1484
|
+
style: at({
|
|
1489
1485
|
filter: ie || le ? "none" : "grayscale(100%)"
|
|
1490
1486
|
})
|
|
1491
1487
|
}, null, 8, ["style"])
|
|
@@ -1507,80 +1503,80 @@ const Pe = q("settings", () => {
|
|
|
1507
1503
|
]),
|
|
1508
1504
|
_: 1
|
|
1509
1505
|
}, 8, ["modelValue"]),
|
|
1510
|
-
t(n).isSubscriber ? (u(),
|
|
1511
|
-
i(
|
|
1506
|
+
t(n).isSubscriber ? (u(), M(U, { key: 0 }, [
|
|
1507
|
+
i(G, { class: "mt-6 mb-4" }),
|
|
1512
1508
|
i(y)
|
|
1513
|
-
], 64)) :
|
|
1509
|
+
], 64)) : $("", !0)
|
|
1514
1510
|
]),
|
|
1515
1511
|
_: 1
|
|
1516
1512
|
}),
|
|
1517
|
-
i(
|
|
1513
|
+
i(G),
|
|
1518
1514
|
i(ue, { class: "px-7" }, {
|
|
1519
1515
|
default: r(() => [
|
|
1520
|
-
i(
|
|
1516
|
+
i(b, {
|
|
1521
1517
|
text: "These options change your browsing experience within Vuetify properties",
|
|
1522
1518
|
title: "Experience"
|
|
1523
1519
|
}),
|
|
1524
1520
|
t(n).isSubscriber ? (u(), v(_, {
|
|
1525
1521
|
key: 0,
|
|
1526
1522
|
modelValue: t(s).disableAds,
|
|
1527
|
-
"onUpdate:modelValue": g[1] || (g[1] = (
|
|
1523
|
+
"onUpdate:modelValue": g[1] || (g[1] = (V) => t(s).disableAds = V),
|
|
1528
1524
|
class: "mb-2",
|
|
1529
1525
|
label: "Disable Ads",
|
|
1530
1526
|
messages: "Disable traditional advertisements on all documentation pages."
|
|
1531
|
-
}, null, 8, ["modelValue"])) :
|
|
1527
|
+
}, null, 8, ["modelValue"])) : $("", !0),
|
|
1532
1528
|
i(fe, null, {
|
|
1533
1529
|
default: r(() => [
|
|
1534
|
-
|
|
1535
|
-
|
|
1530
|
+
be(C("div", an, [
|
|
1531
|
+
C("div", rn, [
|
|
1536
1532
|
i(_, {
|
|
1537
1533
|
modelValue: t(s).showHouseAds,
|
|
1538
|
-
"onUpdate:modelValue": g[2] || (g[2] = (
|
|
1534
|
+
"onUpdate:modelValue": g[2] || (g[2] = (V) => t(s).showHouseAds = V),
|
|
1539
1535
|
label: "Show House Ads",
|
|
1540
1536
|
messages: "These advertisements are for Vuetify products and services only."
|
|
1541
1537
|
}, null, 8, ["modelValue"])
|
|
1542
1538
|
])
|
|
1543
1539
|
], 512), [
|
|
1544
|
-
[
|
|
1540
|
+
[De, t(s).disableAds]
|
|
1545
1541
|
])
|
|
1546
1542
|
]),
|
|
1547
1543
|
_: 1
|
|
1548
1544
|
}),
|
|
1549
1545
|
i(_, {
|
|
1550
1546
|
modelValue: t(s).quickbar,
|
|
1551
|
-
"onUpdate:modelValue": g[3] || (g[3] = (
|
|
1547
|
+
"onUpdate:modelValue": g[3] || (g[3] = (V) => t(s).quickbar = V),
|
|
1552
1548
|
label: "Enable Quick Actions",
|
|
1553
1549
|
messages: "Quick actions are located on the Vuetify One user menu and provide quick access to common tasks."
|
|
1554
1550
|
}, null, 8, ["modelValue"])
|
|
1555
1551
|
]),
|
|
1556
1552
|
_: 1
|
|
1557
1553
|
}),
|
|
1558
|
-
i(
|
|
1554
|
+
i(G),
|
|
1559
1555
|
t(n).isSubscriber ? (u(), v(ue, {
|
|
1560
1556
|
key: 0,
|
|
1561
1557
|
class: "px-7"
|
|
1562
1558
|
}, {
|
|
1563
1559
|
default: r(() => [
|
|
1564
|
-
i(
|
|
1560
|
+
i(b, {
|
|
1565
1561
|
text: "Vuetify will communicate with you through banners and notifications. You can disable these features here or reset your local notification cache.",
|
|
1566
1562
|
title: "Communication"
|
|
1567
1563
|
}),
|
|
1568
1564
|
i(_, {
|
|
1569
1565
|
modelValue: t(s).notifications.show,
|
|
1570
|
-
"onUpdate:modelValue": g[4] || (g[4] = (
|
|
1566
|
+
"onUpdate:modelValue": g[4] || (g[4] = (V) => t(s).notifications.show = V),
|
|
1571
1567
|
class: "mb-2",
|
|
1572
1568
|
label: "Enable Notifications",
|
|
1573
1569
|
messages: "Notifications are short form messages that provide information about new releases, updates, and other important information."
|
|
1574
1570
|
}, null, 8, ["modelValue"]),
|
|
1575
1571
|
i(_, {
|
|
1576
1572
|
modelValue: t(s).notifications.banners,
|
|
1577
|
-
"onUpdate:modelValue": g[5] || (g[5] = (
|
|
1573
|
+
"onUpdate:modelValue": g[5] || (g[5] = (V) => t(s).notifications.banners = V),
|
|
1578
1574
|
label: "Enable Banners",
|
|
1579
1575
|
messages: "Banners are located at the top of the screen and provide a callout for important information."
|
|
1580
1576
|
}, null, 8, ["modelValue"])
|
|
1581
1577
|
]),
|
|
1582
1578
|
_: 1
|
|
1583
|
-
})) :
|
|
1579
|
+
})) : $("", !0)
|
|
1584
1580
|
]),
|
|
1585
1581
|
_: 1
|
|
1586
1582
|
})
|
|
@@ -1592,16 +1588,16 @@ const Pe = q("settings", () => {
|
|
|
1592
1588
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
1593
1589
|
};
|
|
1594
1590
|
}
|
|
1595
|
-
}),
|
|
1591
|
+
}), cn = /* @__PURE__ */ L({
|
|
1596
1592
|
__name: "VoSettingsListItem",
|
|
1597
1593
|
setup(c) {
|
|
1598
|
-
const e =
|
|
1594
|
+
const e = S(!1);
|
|
1599
1595
|
return (n, o) => {
|
|
1600
|
-
const s =
|
|
1596
|
+
const s = ln, a = Y;
|
|
1601
1597
|
return u(), v(a, {
|
|
1602
1598
|
active: t(e),
|
|
1603
1599
|
link: "",
|
|
1604
|
-
"prepend-icon": `svg:${t(
|
|
1600
|
+
"prepend-icon": `svg:${t(po)}`,
|
|
1605
1601
|
title: "Settings"
|
|
1606
1602
|
}, {
|
|
1607
1603
|
default: r(() => [
|
|
@@ -1614,13 +1610,13 @@ const Pe = q("settings", () => {
|
|
|
1614
1610
|
}, 8, ["active", "prepend-icon"]);
|
|
1615
1611
|
};
|
|
1616
1612
|
}
|
|
1617
|
-
}),
|
|
1613
|
+
}), un = { class: "text-caption" }, dn = /* @__PURE__ */ L({
|
|
1618
1614
|
__name: "VoSubscriptionInvoices",
|
|
1619
1615
|
setup(c) {
|
|
1620
|
-
const e =
|
|
1616
|
+
const e = Ce(), n = Z();
|
|
1621
1617
|
return (o, s) => {
|
|
1622
1618
|
const a = _e;
|
|
1623
|
-
return u(), v(
|
|
1619
|
+
return u(), v(Le, null, {
|
|
1624
1620
|
default: r(() => [
|
|
1625
1621
|
i(de, { cols: "12" }, {
|
|
1626
1622
|
default: r(() => [
|
|
@@ -1628,22 +1624,22 @@ const Pe = q("settings", () => {
|
|
|
1628
1624
|
text: "View and download your invoice history.",
|
|
1629
1625
|
title: "Invoice History"
|
|
1630
1626
|
}),
|
|
1631
|
-
i(
|
|
1627
|
+
i(E, {
|
|
1632
1628
|
border: "",
|
|
1633
1629
|
height: "450",
|
|
1634
1630
|
rounded: "lg"
|
|
1635
1631
|
}, {
|
|
1636
1632
|
default: r(() => [
|
|
1637
|
-
i(
|
|
1633
|
+
i(ut, {
|
|
1638
1634
|
items: t(n).invoices,
|
|
1639
1635
|
loading: t(n).isLoading,
|
|
1640
1636
|
sticky: ""
|
|
1641
1637
|
}, {
|
|
1642
1638
|
"item.date": r(({ item: l }) => [
|
|
1643
|
-
|
|
1639
|
+
C("div", un, w(t(e).format(new Date(l.date * 1e3), "fullDateWithWeekday")), 1)
|
|
1644
1640
|
]),
|
|
1645
1641
|
"item.amount": r(({ item: l }) => [
|
|
1646
|
-
|
|
1642
|
+
O(" $" + w(l.amount / 100), 1)
|
|
1647
1643
|
]),
|
|
1648
1644
|
"item.status": r(({ item: l }) => [
|
|
1649
1645
|
i(X, {
|
|
@@ -1657,9 +1653,9 @@ const Pe = q("settings", () => {
|
|
|
1657
1653
|
}, null, 8, ["text"])
|
|
1658
1654
|
]),
|
|
1659
1655
|
"item.pdf": r(({ item: l }) => [
|
|
1660
|
-
i(
|
|
1656
|
+
i(q, {
|
|
1661
1657
|
href: l.pdf,
|
|
1662
|
-
icon: `svg:${t(
|
|
1658
|
+
icon: `svg:${t(yo)}`,
|
|
1663
1659
|
size: "small",
|
|
1664
1660
|
target: "_blank",
|
|
1665
1661
|
variant: "text"
|
|
@@ -1678,16 +1674,15 @@ const Pe = q("settings", () => {
|
|
|
1678
1674
|
});
|
|
1679
1675
|
};
|
|
1680
1676
|
}
|
|
1681
|
-
}),
|
|
1677
|
+
}), pn = { class: "d-flex align-center" }, mn = {
|
|
1682
1678
|
key: "status",
|
|
1683
1679
|
class: "text-capitalize hidden-sm-and-down"
|
|
1684
|
-
},
|
|
1680
|
+
}, fn = /* @__PURE__ */ C("span", { class: "mx-1 hidden-sm-and-down" }, "—", -1), vn = { class: "me-1" }, _n = { class: "text-medium-emphasis text-caption" }, hn = { class: "d-flex align-center" }, gn = /* @__PURE__ */ C("span", { class: "mx-1" }, "—", -1), yn = { class: "d-flex align-start justify-space-between text-caption py-2" }, Vn = { class: "font-weight-bold" }, bn = { class: "font-weight-bold" }, Cn = /* @__PURE__ */ L({
|
|
1685
1681
|
__name: "VoSubscriptionStatus",
|
|
1686
1682
|
emits: ["change:subscription"],
|
|
1687
1683
|
setup(c, { emit: e }) {
|
|
1688
|
-
const n =
|
|
1689
|
-
if (!o.info)
|
|
1690
|
-
return;
|
|
1684
|
+
const n = Ce(), o = Z(), s = e, a = k(() => {
|
|
1685
|
+
if (!o.info) return;
|
|
1691
1686
|
const d = new Date(o.info.currentPeriodEnd * 1e3);
|
|
1692
1687
|
return n.format(d, "keyboardDate");
|
|
1693
1688
|
});
|
|
@@ -1695,24 +1690,24 @@ const Pe = q("settings", () => {
|
|
|
1695
1690
|
o.interval && (o.isLoading = !0, o.subscribe(o.interval));
|
|
1696
1691
|
}
|
|
1697
1692
|
return (d, p) => {
|
|
1698
|
-
const m =
|
|
1699
|
-
return u(), v(
|
|
1693
|
+
const m = $e;
|
|
1694
|
+
return u(), v(Le, null, {
|
|
1700
1695
|
default: r(() => [
|
|
1701
1696
|
i(de, { cols: "12" }, {
|
|
1702
1697
|
default: r(() => {
|
|
1703
1698
|
var f, g;
|
|
1704
1699
|
return [
|
|
1705
|
-
i(
|
|
1700
|
+
i(E, {
|
|
1706
1701
|
border: "",
|
|
1707
1702
|
flat: "",
|
|
1708
1703
|
"prepend-icon": "$vuetify",
|
|
1709
1704
|
rounded: "lg",
|
|
1710
1705
|
title: "Subscription Status"
|
|
1711
|
-
},
|
|
1706
|
+
}, P({
|
|
1712
1707
|
append: r(() => {
|
|
1713
|
-
var
|
|
1708
|
+
var b;
|
|
1714
1709
|
return [
|
|
1715
|
-
t(o).hasBilling && ((
|
|
1710
|
+
t(o).hasBilling && ((b = t(o).info) == null ? void 0 : b.status) === "canceled" ? (u(), v(m, {
|
|
1716
1711
|
key: 0,
|
|
1717
1712
|
class: "me-2",
|
|
1718
1713
|
color: "success",
|
|
@@ -1721,14 +1716,14 @@ const Pe = q("settings", () => {
|
|
|
1721
1716
|
text: "Activate",
|
|
1722
1717
|
variant: "outlined",
|
|
1723
1718
|
onClick: l
|
|
1724
|
-
}, null, 8, ["loading"])) :
|
|
1719
|
+
}, null, 8, ["loading"])) : $("", !0),
|
|
1725
1720
|
t(o).hasBilling ? (u(), v(m, {
|
|
1726
1721
|
key: 1,
|
|
1727
1722
|
loading: t(o).isLoading,
|
|
1728
|
-
"prepend-icon": `svg:${t(
|
|
1723
|
+
"prepend-icon": `svg:${t(_o)}`,
|
|
1729
1724
|
text: "Billing",
|
|
1730
1725
|
onClick: t(o).manage
|
|
1731
|
-
}, null, 8, ["loading", "prepend-icon", "onClick"])) :
|
|
1726
|
+
}, null, 8, ["loading", "prepend-icon", "onClick"])) : $("", !0)
|
|
1732
1727
|
];
|
|
1733
1728
|
}),
|
|
1734
1729
|
_: 2
|
|
@@ -1736,34 +1731,34 @@ const Pe = q("settings", () => {
|
|
|
1736
1731
|
t(o).info ? {
|
|
1737
1732
|
name: "subtitle",
|
|
1738
1733
|
fn: r(() => [
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
t(o).info.items.length ? (u(),
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1734
|
+
C("div", pn, [
|
|
1735
|
+
C("span", mn, w(t(o).info.status), 1),
|
|
1736
|
+
t(o).info.items.length ? (u(), M(U, { key: 0 }, [
|
|
1737
|
+
fn,
|
|
1738
|
+
C("span", vn, [
|
|
1739
|
+
O(" $" + w(t(o).info.items[0].plan.amount / 100), 1),
|
|
1740
|
+
C("span", _n, "/" + w(t(o).interval), 1)
|
|
1746
1741
|
]),
|
|
1747
1742
|
i(m, {
|
|
1748
1743
|
size: "x-small",
|
|
1749
1744
|
text: "(Change Subscription)",
|
|
1750
1745
|
variant: "text",
|
|
1751
|
-
onClick: p[0] || (p[0] = (
|
|
1746
|
+
onClick: p[0] || (p[0] = (b) => s("change:subscription"))
|
|
1752
1747
|
})
|
|
1753
|
-
], 64)) :
|
|
1748
|
+
], 64)) : $("", !0)
|
|
1754
1749
|
])
|
|
1755
1750
|
]),
|
|
1756
1751
|
key: "0"
|
|
1757
1752
|
} : {
|
|
1758
1753
|
name: "subtitle",
|
|
1759
1754
|
fn: r(() => [
|
|
1760
|
-
|
|
1755
|
+
C("div", hn, [
|
|
1761
1756
|
i(ye, {
|
|
1762
1757
|
height: "16",
|
|
1763
1758
|
type: "ossein",
|
|
1764
1759
|
width: "40"
|
|
1765
1760
|
}),
|
|
1766
|
-
|
|
1761
|
+
gn,
|
|
1767
1762
|
i(ye, {
|
|
1768
1763
|
height: "16",
|
|
1769
1764
|
type: "ossein",
|
|
@@ -1774,16 +1769,16 @@ const Pe = q("settings", () => {
|
|
|
1774
1769
|
key: "1"
|
|
1775
1770
|
}
|
|
1776
1771
|
]), 1024),
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
((f = t(o).info) == null ? void 0 : f.status) === "active" ? (u(),
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
], 64)) : (u(),
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1772
|
+
C("div", yn, [
|
|
1773
|
+
C("div", null, [
|
|
1774
|
+
((f = t(o).info) == null ? void 0 : f.status) === "active" ? (u(), M(U, { key: 0 }, [
|
|
1775
|
+
O(" Your plan renews on "),
|
|
1776
|
+
C("span", Vn, w(t(n).format(t(a), "fullDateWithWeekday")), 1),
|
|
1777
|
+
O(". ")
|
|
1778
|
+
], 64)) : (u(), M(U, { key: 1 }, [
|
|
1779
|
+
O(" Your plan ends on "),
|
|
1780
|
+
C("span", bn, w(t(n).format((g = t(o).info) == null ? void 0 : g.currentPeriodEnd, "fullDateWithWeekday")), 1),
|
|
1781
|
+
O(". ")
|
|
1787
1782
|
], 64))
|
|
1788
1783
|
])
|
|
1789
1784
|
])
|
|
@@ -1796,7 +1791,7 @@ const Pe = q("settings", () => {
|
|
|
1796
1791
|
});
|
|
1797
1792
|
};
|
|
1798
1793
|
}
|
|
1799
|
-
}),
|
|
1794
|
+
}), Ln = /* @__PURE__ */ C("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The Vuetify One subscription comes with the following perks: ", -1), Hn = ["innerHTML"], kn = /* @__PURE__ */ C("br", null, null, -1), $n = /* @__PURE__ */ C("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The following features are in development and coming soon: ", -1), wn = ["innerHTML"], xn = /* @__PURE__ */ L({
|
|
1800
1795
|
__name: "VoSubscriptionPerks",
|
|
1801
1796
|
setup(c) {
|
|
1802
1797
|
const e = [
|
|
@@ -1810,19 +1805,19 @@ const Pe = q("settings", () => {
|
|
|
1810
1805
|
], n = [
|
|
1811
1806
|
"Early access to Vuetify Studio, a visual editor for Vuetify",
|
|
1812
1807
|
"Receive a special label on GitHub created issues and pull requests"
|
|
1813
|
-
], o =
|
|
1814
|
-
return
|
|
1808
|
+
], o = S(!1), s = Z();
|
|
1809
|
+
return F(o, async (a) => {
|
|
1815
1810
|
a && s.subscriptionInfo();
|
|
1816
1811
|
}), (a, l) => {
|
|
1817
1812
|
const d = Y;
|
|
1818
|
-
return u(),
|
|
1819
|
-
i(
|
|
1813
|
+
return u(), M(U, null, [
|
|
1814
|
+
i(Ee, { class: "font-weight-black" }, {
|
|
1820
1815
|
default: r(() => [
|
|
1821
|
-
|
|
1816
|
+
O("Perks")
|
|
1822
1817
|
]),
|
|
1823
1818
|
_: 1
|
|
1824
1819
|
}),
|
|
1825
|
-
|
|
1820
|
+
Ln,
|
|
1826
1821
|
i(ae, {
|
|
1827
1822
|
class: "py-0",
|
|
1828
1823
|
density: "compact",
|
|
@@ -1830,34 +1825,34 @@ const Pe = q("settings", () => {
|
|
|
1830
1825
|
nav: ""
|
|
1831
1826
|
}, {
|
|
1832
1827
|
default: r(() => [
|
|
1833
|
-
(u(),
|
|
1828
|
+
(u(), M(U, null, K(e, (p, m) => i(d, {
|
|
1834
1829
|
key: m,
|
|
1835
1830
|
class: "mb-0",
|
|
1836
1831
|
"prepend-icon": `svg:${t(Be)}`
|
|
1837
1832
|
}, {
|
|
1838
1833
|
prepend: r(() => [
|
|
1839
|
-
i(
|
|
1834
|
+
i(I, {
|
|
1840
1835
|
class: "mx-n2",
|
|
1841
1836
|
color: "success",
|
|
1842
1837
|
size: "small"
|
|
1843
1838
|
})
|
|
1844
1839
|
]),
|
|
1845
1840
|
title: r(() => [
|
|
1846
|
-
|
|
1841
|
+
C("div", { innerHTML: p }, null, 8, Hn)
|
|
1847
1842
|
]),
|
|
1848
1843
|
_: 2
|
|
1849
1844
|
}, 1032, ["prepend-icon"])), 64))
|
|
1850
1845
|
]),
|
|
1851
1846
|
_: 1
|
|
1852
1847
|
}),
|
|
1853
|
-
|
|
1854
|
-
i(
|
|
1848
|
+
kn,
|
|
1849
|
+
i(Ee, { class: "font-weight-black" }, {
|
|
1855
1850
|
default: r(() => [
|
|
1856
|
-
|
|
1851
|
+
O("Up Next")
|
|
1857
1852
|
]),
|
|
1858
1853
|
_: 1
|
|
1859
1854
|
}),
|
|
1860
|
-
|
|
1855
|
+
$n,
|
|
1861
1856
|
i(ae, {
|
|
1862
1857
|
class: "py-0",
|
|
1863
1858
|
density: "compact",
|
|
@@ -1865,19 +1860,19 @@ const Pe = q("settings", () => {
|
|
|
1865
1860
|
nav: ""
|
|
1866
1861
|
}, {
|
|
1867
1862
|
default: r(() => [
|
|
1868
|
-
(u(),
|
|
1863
|
+
(u(), M(U, null, K(n, (p, m) => i(d, {
|
|
1869
1864
|
key: m,
|
|
1870
1865
|
class: "mb-0",
|
|
1871
|
-
"prepend-icon": `svg:${t(
|
|
1866
|
+
"prepend-icon": `svg:${t(Io)}`
|
|
1872
1867
|
}, {
|
|
1873
1868
|
prepend: r(() => [
|
|
1874
|
-
i(
|
|
1869
|
+
i(I, {
|
|
1875
1870
|
class: "mx-n2",
|
|
1876
1871
|
size: "small"
|
|
1877
1872
|
})
|
|
1878
1873
|
]),
|
|
1879
1874
|
title: r(() => [
|
|
1880
|
-
|
|
1875
|
+
C("div", { innerHTML: p }, null, 8, wn)
|
|
1881
1876
|
]),
|
|
1882
1877
|
_: 2
|
|
1883
1878
|
}, 1032, ["prepend-icon"])), 64))
|
|
@@ -1887,7 +1882,7 @@ const Pe = q("settings", () => {
|
|
|
1887
1882
|
], 64);
|
|
1888
1883
|
};
|
|
1889
1884
|
}
|
|
1890
|
-
}),
|
|
1885
|
+
}), Mn = /* @__PURE__ */ L({
|
|
1891
1886
|
__name: "VoSubscriptionSubscribe",
|
|
1892
1887
|
props: {
|
|
1893
1888
|
modelValue: {
|
|
@@ -1897,30 +1892,30 @@ const Pe = q("settings", () => {
|
|
|
1897
1892
|
},
|
|
1898
1893
|
emits: ["update:modelValue"],
|
|
1899
1894
|
setup(c) {
|
|
1900
|
-
const e =
|
|
1901
|
-
return
|
|
1895
|
+
const e = S(!1), n = pe(c, "modelValue"), o = Z();
|
|
1896
|
+
return F(e, async (s) => {
|
|
1902
1897
|
s && o.subscriptionInfo();
|
|
1903
|
-
}),
|
|
1898
|
+
}), F(() => o.interval, (s) => {
|
|
1904
1899
|
n.value = s;
|
|
1905
|
-
}, { immediate: !0 }), (s, a) => (u(), v(
|
|
1900
|
+
}, { immediate: !0 }), (s, a) => (u(), v(ct, {
|
|
1906
1901
|
modelValue: n.value,
|
|
1907
1902
|
"onUpdate:modelValue": a[0] || (a[0] = (l) => n.value = l),
|
|
1908
1903
|
mandatory: ""
|
|
1909
1904
|
}, {
|
|
1910
1905
|
default: r(() => [
|
|
1911
|
-
i(
|
|
1906
|
+
i(Le, null, {
|
|
1912
1907
|
default: r(() => [
|
|
1913
1908
|
i(de, {
|
|
1914
1909
|
cols: "12",
|
|
1915
1910
|
md: "6"
|
|
1916
1911
|
}, {
|
|
1917
1912
|
default: r(() => [
|
|
1918
|
-
i(
|
|
1913
|
+
i(We, { value: "month" }, {
|
|
1919
1914
|
default: r(({ toggle: l, isSelected: d }) => [
|
|
1920
|
-
i(
|
|
1915
|
+
i(E, {
|
|
1921
1916
|
border: d ? "sm primary opacity-100" : "sm",
|
|
1922
1917
|
color: d ? "primary" : void 0,
|
|
1923
|
-
"prepend-icon": d ? `svg:${t(
|
|
1918
|
+
"prepend-icon": d ? `svg:${t(Ae)}` : "$radioOff",
|
|
1924
1919
|
rounded: "lg",
|
|
1925
1920
|
subtitle: "$2.99/month",
|
|
1926
1921
|
title: "Monthly",
|
|
@@ -1928,7 +1923,7 @@ const Pe = q("settings", () => {
|
|
|
1928
1923
|
onClick: l
|
|
1929
1924
|
}, {
|
|
1930
1925
|
prepend: r(() => [
|
|
1931
|
-
i(
|
|
1926
|
+
i(I, { class: "mt-n6" })
|
|
1932
1927
|
]),
|
|
1933
1928
|
_: 2
|
|
1934
1929
|
}, 1032, ["border", "color", "prepend-icon", "variant", "onClick"])
|
|
@@ -1943,12 +1938,12 @@ const Pe = q("settings", () => {
|
|
|
1943
1938
|
md: "6"
|
|
1944
1939
|
}, {
|
|
1945
1940
|
default: r(() => [
|
|
1946
|
-
i(
|
|
1941
|
+
i(We, { value: "year" }, {
|
|
1947
1942
|
default: r(({ toggle: l, isSelected: d }) => [
|
|
1948
|
-
i(
|
|
1943
|
+
i(E, {
|
|
1949
1944
|
border: d ? "sm primary opacity-100" : "sm",
|
|
1950
1945
|
color: d ? "primary" : void 0,
|
|
1951
|
-
"prepend-icon": d ? `svg:${t(
|
|
1946
|
+
"prepend-icon": d ? `svg:${t(Ae)}` : "$radioOff",
|
|
1952
1947
|
rounded: "lg",
|
|
1953
1948
|
subtitle: "$29.99/year",
|
|
1954
1949
|
title: "Yearly",
|
|
@@ -1956,7 +1951,7 @@ const Pe = q("settings", () => {
|
|
|
1956
1951
|
onClick: l
|
|
1957
1952
|
}, {
|
|
1958
1953
|
prepend: r(() => [
|
|
1959
|
-
i(
|
|
1954
|
+
i(I, { class: "mt-n6" })
|
|
1960
1955
|
]),
|
|
1961
1956
|
append: r(() => [
|
|
1962
1957
|
i(X, {
|
|
@@ -1982,7 +1977,7 @@ const Pe = q("settings", () => {
|
|
|
1982
1977
|
_: 1
|
|
1983
1978
|
}, 8, ["modelValue"]));
|
|
1984
1979
|
}
|
|
1985
|
-
}),
|
|
1980
|
+
}), Sn = { class: "px-3" }, An = /* @__PURE__ */ C("br", null, null, -1), In = { class: "flex-grow-1 px-4 pb-3 overflow-hidden" }, Dn = /* @__PURE__ */ L({
|
|
1986
1981
|
__name: "VoSubscriptionDialog",
|
|
1987
1982
|
props: {
|
|
1988
1983
|
modelValue: { type: Boolean },
|
|
@@ -1993,50 +1988,50 @@ const Pe = q("settings", () => {
|
|
|
1993
1988
|
function e(m) {
|
|
1994
1989
|
return new Promise((f) => setTimeout(f, m));
|
|
1995
1990
|
}
|
|
1996
|
-
const n = pe(c, "modelValue"), o =
|
|
1997
|
-
|
|
1991
|
+
const n = pe(c, "modelValue"), o = Z(), s = xe(), a = S(o.interval), l = S(o.hasBilling ? "status" : "subscribe"), d = S(!1);
|
|
1992
|
+
F(a, (m) => {
|
|
1998
1993
|
!o.isSubscriber || !o.interval || (d.value = m !== o.interval);
|
|
1999
|
-
}),
|
|
1994
|
+
}), F(n, async (m) => {
|
|
2000
1995
|
if (!m || !o.isSubscriber) {
|
|
2001
1996
|
m || o.resetQuery();
|
|
2002
1997
|
return;
|
|
2003
1998
|
}
|
|
2004
1999
|
o.subscriptionInfo();
|
|
2005
|
-
}),
|
|
2006
|
-
!o.sessionId && !["subscribe", "status"].includes(s.value.one) || (l.value = o.sessionId || s.value.one === "status" ? "status" : "subscribe", o.isOpen = !0, await
|
|
2000
|
+
}), F(s, async () => {
|
|
2001
|
+
!o.sessionId && !["subscribe", "status"].includes(s.value.one) || (l.value = o.sessionId || s.value.one === "status" ? "status" : "subscribe", o.isOpen = !0, await Ve(), n.value = !0);
|
|
2007
2002
|
}, { immediate: !0 });
|
|
2008
2003
|
async function p() {
|
|
2009
2004
|
await o.modify(a.value), await o.subscriptionInfo(), d.value = null, await e(3e3), l.value = "status", await e(300), d.value = !1;
|
|
2010
2005
|
}
|
|
2011
2006
|
return (m, f) => {
|
|
2012
|
-
const g = _e,
|
|
2013
|
-
return u(), v(
|
|
2007
|
+
const g = _e, b = Mn, y = xn, _ = Cn, h = dn, V = $e, N = we;
|
|
2008
|
+
return u(), v(N, {
|
|
2014
2009
|
modelValue: n.value,
|
|
2015
|
-
"onUpdate:modelValue": f[4] || (f[4] = (
|
|
2016
|
-
"prepend-icon": `svg:${t(
|
|
2010
|
+
"onUpdate:modelValue": f[4] || (f[4] = (A) => n.value = A),
|
|
2011
|
+
"prepend-icon": `svg:${t(fo)}`,
|
|
2017
2012
|
title: "Subscriptions"
|
|
2018
|
-
},
|
|
2013
|
+
}, P({
|
|
2019
2014
|
default: r(() => [
|
|
2020
|
-
i(
|
|
2015
|
+
i(He, null, {
|
|
2021
2016
|
default: r(() => [
|
|
2022
|
-
i(
|
|
2017
|
+
i(ke, { scrollable: "" }, {
|
|
2023
2018
|
default: r(() => [
|
|
2024
|
-
|
|
2019
|
+
C("div", Sn, [
|
|
2025
2020
|
i(ue, null, {
|
|
2026
2021
|
default: r(() => [
|
|
2027
2022
|
i(g, {
|
|
2028
2023
|
text: "The Vuetify One subscription is a great way to support the Vuetify team and get access to exclusive features and content.",
|
|
2029
2024
|
title: "Vuetify One"
|
|
2030
2025
|
}),
|
|
2031
|
-
i(
|
|
2026
|
+
i(dt, { "model-value": t(l) }, {
|
|
2032
2027
|
default: r(() => [
|
|
2033
2028
|
i(ge, { value: "subscribe" }, {
|
|
2034
2029
|
default: r(() => [
|
|
2035
|
-
i(
|
|
2030
|
+
i(b, {
|
|
2036
2031
|
modelValue: t(a),
|
|
2037
|
-
"onUpdate:modelValue": f[0] || (f[0] = (
|
|
2032
|
+
"onUpdate:modelValue": f[0] || (f[0] = (A) => se(a) ? a.value = A : null)
|
|
2038
2033
|
}, null, 8, ["modelValue"]),
|
|
2039
|
-
|
|
2034
|
+
An,
|
|
2040
2035
|
i(y)
|
|
2041
2036
|
]),
|
|
2042
2037
|
_: 1
|
|
@@ -2044,7 +2039,7 @@ const Pe = q("settings", () => {
|
|
|
2044
2039
|
i(ge, { value: "status" }, {
|
|
2045
2040
|
default: r(() => [
|
|
2046
2041
|
i(_, {
|
|
2047
|
-
"onChange:subscription": f[1] || (f[1] = (
|
|
2042
|
+
"onChange:subscription": f[1] || (f[1] = (A) => l.value = "subscribe")
|
|
2048
2043
|
}),
|
|
2049
2044
|
i(h)
|
|
2050
2045
|
]),
|
|
@@ -2069,25 +2064,25 @@ const Pe = q("settings", () => {
|
|
|
2069
2064
|
t(l) === "subscribe" ? {
|
|
2070
2065
|
name: "actions",
|
|
2071
2066
|
fn: r(() => [
|
|
2072
|
-
|
|
2073
|
-
t(d) !== !1 ? (u(), v(
|
|
2067
|
+
C("div", In, [
|
|
2068
|
+
t(d) !== !1 ? (u(), v(V, {
|
|
2074
2069
|
key: 0,
|
|
2075
2070
|
block: "",
|
|
2076
2071
|
color: "success",
|
|
2077
2072
|
loading: t(o).isLoading,
|
|
2078
|
-
"prepend-icon": `svg:${t(d) !== null ? t(
|
|
2073
|
+
"prepend-icon": `svg:${t(d) !== null ? t(Ao) : t(Ae)}`,
|
|
2079
2074
|
readonly: t(d) === null,
|
|
2080
2075
|
size: "default",
|
|
2081
2076
|
text: t(d) !== null ? "Modify Subscription" : "Success",
|
|
2082
2077
|
onClick: p
|
|
2083
|
-
}, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : t(o).one ? (u(), v(
|
|
2078
|
+
}, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : t(o).one ? (u(), v(V, {
|
|
2084
2079
|
key: 2,
|
|
2085
2080
|
block: "",
|
|
2086
|
-
"prepend-icon": `svg:${t(
|
|
2081
|
+
"prepend-icon": `svg:${t(So)}`,
|
|
2087
2082
|
size: "default",
|
|
2088
2083
|
text: "Manage Subscription",
|
|
2089
|
-
onClick: f[3] || (f[3] = (
|
|
2090
|
-
}, null, 8, ["prepend-icon"])) : (u(), v(
|
|
2084
|
+
onClick: f[3] || (f[3] = (A) => l.value = "status")
|
|
2085
|
+
}, null, 8, ["prepend-icon"])) : (u(), v(V, {
|
|
2091
2086
|
key: 1,
|
|
2092
2087
|
block: "",
|
|
2093
2088
|
color: t(a) ? "primary" : "disabled",
|
|
@@ -2096,7 +2091,7 @@ const Pe = q("settings", () => {
|
|
|
2096
2091
|
"prepend-icon": "$vuetify",
|
|
2097
2092
|
size: "default",
|
|
2098
2093
|
text: "Activate Subscription",
|
|
2099
|
-
onClick: f[2] || (f[2] = (
|
|
2094
|
+
onClick: f[2] || (f[2] = (A) => t(o).subscribe(t(a)))
|
|
2100
2095
|
}, null, 8, ["color", "disabled", "loading"]))
|
|
2101
2096
|
])
|
|
2102
2097
|
]),
|
|
@@ -2105,16 +2100,16 @@ const Pe = q("settings", () => {
|
|
|
2105
2100
|
]), 1032, ["modelValue", "prepend-icon"]);
|
|
2106
2101
|
};
|
|
2107
2102
|
}
|
|
2108
|
-
}),
|
|
2103
|
+
}), Tn = /* @__PURE__ */ L({
|
|
2109
2104
|
__name: "VoSubscriptionListItem",
|
|
2110
2105
|
setup(c) {
|
|
2111
|
-
const e =
|
|
2106
|
+
const e = S(!1);
|
|
2112
2107
|
return (n, o) => {
|
|
2113
|
-
const s =
|
|
2108
|
+
const s = Dn, a = Y;
|
|
2114
2109
|
return u(), v(a, {
|
|
2115
2110
|
active: t(e),
|
|
2116
2111
|
link: "",
|
|
2117
|
-
"prepend-icon": `svg:${t(
|
|
2112
|
+
"prepend-icon": `svg:${t(vo)}`,
|
|
2118
2113
|
title: "Subscriptions"
|
|
2119
2114
|
}, {
|
|
2120
2115
|
default: r(() => [
|
|
@@ -2127,10 +2122,10 @@ const Pe = q("settings", () => {
|
|
|
2127
2122
|
}, 8, ["active", "prepend-icon"]);
|
|
2128
2123
|
};
|
|
2129
2124
|
}
|
|
2130
|
-
}),
|
|
2125
|
+
}), On = {
|
|
2131
2126
|
key: 0,
|
|
2132
2127
|
class: "text-success"
|
|
2133
|
-
},
|
|
2128
|
+
}, ze = /* @__PURE__ */ L({
|
|
2134
2129
|
__name: "VoSponsorshipsTimelineItem",
|
|
2135
2130
|
props: {
|
|
2136
2131
|
title: {},
|
|
@@ -2142,21 +2137,21 @@ const Pe = q("settings", () => {
|
|
|
2142
2137
|
sponsorship: {}
|
|
2143
2138
|
},
|
|
2144
2139
|
setup(c) {
|
|
2145
|
-
const e = c, n =
|
|
2140
|
+
const e = c, n = Ze(), o = k(() => {
|
|
2146
2141
|
var a, l;
|
|
2147
2142
|
return `$${parseFloat(String((((a = e.sponsorship) == null ? void 0 : a.amount) ?? 0) / 100)).toFixed(2)} /${(l = e.sponsorship) == null ? void 0 : l.interval}`;
|
|
2148
2143
|
});
|
|
2149
2144
|
return (s, a) => {
|
|
2150
2145
|
var d, p;
|
|
2151
|
-
const l =
|
|
2152
|
-
return u(), v(
|
|
2146
|
+
const l = $e;
|
|
2147
|
+
return u(), v(Qt, {
|
|
2153
2148
|
"dot-color": (d = s.sponsorship) != null && d.isActive ? "success" : "transparent",
|
|
2154
2149
|
icon: (p = s.sponsorship) != null && p.isActive ? `svg:${t(Be)}` : void 0,
|
|
2155
2150
|
size: "x-small",
|
|
2156
2151
|
width: "100%"
|
|
2157
2152
|
}, {
|
|
2158
2153
|
default: r(() => [
|
|
2159
|
-
i(
|
|
2154
|
+
i(E, {
|
|
2160
2155
|
border: "",
|
|
2161
2156
|
"prepend-avatar": `${t(n).CDN_URL}logos/${s.logo}.png`,
|
|
2162
2157
|
rounded: "lg",
|
|
@@ -2166,19 +2161,19 @@ const Pe = q("settings", () => {
|
|
|
2166
2161
|
subtitle: r(() => {
|
|
2167
2162
|
var m;
|
|
2168
2163
|
return [
|
|
2169
|
-
(m = s.sponsorship) != null && m.isActive ? (u(),
|
|
2170
|
-
i(
|
|
2171
|
-
icon: `svg:${t(
|
|
2164
|
+
(m = s.sponsorship) != null && m.isActive ? (u(), M("div", On, [
|
|
2165
|
+
i(I, {
|
|
2166
|
+
icon: `svg:${t(Mo)}`,
|
|
2172
2167
|
size: "x-small"
|
|
2173
2168
|
}, null, 8, ["icon"]),
|
|
2174
|
-
|
|
2175
|
-
])) : (u(),
|
|
2176
|
-
|
|
2169
|
+
O(" " + w(t(o)), 1)
|
|
2170
|
+
])) : (u(), M(U, { key: 1 }, [
|
|
2171
|
+
O(w(s.text), 1)
|
|
2177
2172
|
], 64))
|
|
2178
2173
|
];
|
|
2179
2174
|
}),
|
|
2180
2175
|
append: r(() => {
|
|
2181
|
-
var m, f, g,
|
|
2176
|
+
var m, f, g, b, y, _;
|
|
2182
2177
|
return [
|
|
2183
2178
|
s.disabled ? (u(), v(l, {
|
|
2184
2179
|
key: 1,
|
|
@@ -2190,8 +2185,8 @@ const Pe = q("settings", () => {
|
|
|
2190
2185
|
active: !1,
|
|
2191
2186
|
color: (m = s.sponsorship) != null && m.isActive ? "success" : "primary",
|
|
2192
2187
|
href: (f = s.sponsorship) != null && f.isActive || s.to ? void 0 : s.href,
|
|
2193
|
-
"prepend-icon": `svg:${(g = s.sponsorship) != null && g.isActive ? t(
|
|
2194
|
-
readonly: (
|
|
2188
|
+
"prepend-icon": `svg:${(g = s.sponsorship) != null && g.isActive ? t(Ae) : t(Ne)}`,
|
|
2189
|
+
readonly: (b = s.sponsorship) == null ? void 0 : b.isActive,
|
|
2195
2190
|
target: (y = s.sponsorship) != null && y.isActive || s.to ? void 0 : "_blank",
|
|
2196
2191
|
text: (_ = s.sponsorship) != null && _.isActive ? "Active" : "Info",
|
|
2197
2192
|
to: s.to,
|
|
@@ -2206,11 +2201,11 @@ const Pe = q("settings", () => {
|
|
|
2206
2201
|
}, 8, ["dot-color", "icon"]);
|
|
2207
2202
|
};
|
|
2208
2203
|
}
|
|
2209
|
-
}),
|
|
2204
|
+
}), Un = /* @__PURE__ */ L({
|
|
2210
2205
|
__name: "VoSponsorshipsTimelineItemPatreon",
|
|
2211
2206
|
setup(c) {
|
|
2212
2207
|
return (e, n) => {
|
|
2213
|
-
const o =
|
|
2208
|
+
const o = ze;
|
|
2214
2209
|
return u(), v(o, {
|
|
2215
2210
|
disabled: "",
|
|
2216
2211
|
logo: "patreon",
|
|
@@ -2219,12 +2214,12 @@ const Pe = q("settings", () => {
|
|
|
2219
2214
|
});
|
|
2220
2215
|
};
|
|
2221
2216
|
}
|
|
2222
|
-
}),
|
|
2217
|
+
}), Bn = /* @__PURE__ */ L({
|
|
2223
2218
|
__name: "VoSponsorshipsTimelineItemDiscord",
|
|
2224
2219
|
setup(c) {
|
|
2225
|
-
const e =
|
|
2220
|
+
const e = Z();
|
|
2226
2221
|
return (n, o) => {
|
|
2227
|
-
const s =
|
|
2222
|
+
const s = ze;
|
|
2228
2223
|
return u(), v(s, {
|
|
2229
2224
|
href: "https://discord.com/servers/vuetify-340160225338195969",
|
|
2230
2225
|
logo: "discord",
|
|
@@ -2234,12 +2229,12 @@ const Pe = q("settings", () => {
|
|
|
2234
2229
|
}, null, 8, ["sponsorship"]);
|
|
2235
2230
|
};
|
|
2236
2231
|
}
|
|
2237
|
-
}),
|
|
2232
|
+
}), Nn = /* @__PURE__ */ L({
|
|
2238
2233
|
__name: "VoSponsorshipsTimelineItemGithub",
|
|
2239
2234
|
setup(c) {
|
|
2240
|
-
const e =
|
|
2235
|
+
const e = Z();
|
|
2241
2236
|
return (n, o) => {
|
|
2242
|
-
const s =
|
|
2237
|
+
const s = ze;
|
|
2243
2238
|
return u(), v(s, {
|
|
2244
2239
|
href: "https://github.com/sponsors/johnleider",
|
|
2245
2240
|
logo: "github",
|
|
@@ -2249,12 +2244,12 @@ const Pe = q("settings", () => {
|
|
|
2249
2244
|
}, null, 8, ["sponsorship"]);
|
|
2250
2245
|
};
|
|
2251
2246
|
}
|
|
2252
|
-
}),
|
|
2247
|
+
}), Fn = /* @__PURE__ */ L({
|
|
2253
2248
|
__name: "VoSponsorshipsTimelineItemOne",
|
|
2254
2249
|
setup(c) {
|
|
2255
|
-
const e =
|
|
2250
|
+
const e = Z();
|
|
2256
2251
|
return (n, o) => {
|
|
2257
|
-
const s =
|
|
2252
|
+
const s = ze;
|
|
2258
2253
|
return u(), v(s, {
|
|
2259
2254
|
logo: "one",
|
|
2260
2255
|
sponsorship: t(e).one,
|
|
@@ -2264,12 +2259,12 @@ const Pe = q("settings", () => {
|
|
|
2264
2259
|
}, null, 8, ["sponsorship"]);
|
|
2265
2260
|
};
|
|
2266
2261
|
}
|
|
2267
|
-
}),
|
|
2262
|
+
}), Zn = /* @__PURE__ */ L({
|
|
2268
2263
|
__name: "VoSponsorshipsTimeline",
|
|
2269
2264
|
setup(c) {
|
|
2270
2265
|
return (e, n) => {
|
|
2271
|
-
const o =
|
|
2272
|
-
return u(), v(
|
|
2266
|
+
const o = Fn, s = Nn, a = Bn, l = Un;
|
|
2267
|
+
return u(), v(Gt, {
|
|
2273
2268
|
class: "justify-start ms-n7",
|
|
2274
2269
|
"line-inset": "12",
|
|
2275
2270
|
side: "end",
|
|
@@ -2286,7 +2281,7 @@ const Pe = q("settings", () => {
|
|
|
2286
2281
|
});
|
|
2287
2282
|
};
|
|
2288
2283
|
}
|
|
2289
|
-
}),
|
|
2284
|
+
}), zn = { class: "px-3 pb-5 d-flex flex-column h-100" }, jn = { class: "font-weight-black" }, Pn = { class: "text-caption text-medium-emphasis" }, Rn = /* @__PURE__ */ L({
|
|
2290
2285
|
__name: "VoSponsorshipsDialog",
|
|
2291
2286
|
props: {
|
|
2292
2287
|
modelValue: { type: Boolean },
|
|
@@ -2294,23 +2289,23 @@ const Pe = q("settings", () => {
|
|
|
2294
2289
|
},
|
|
2295
2290
|
emits: ["update:modelValue"],
|
|
2296
2291
|
setup(c) {
|
|
2297
|
-
const e = pe(c, "modelValue"), n =
|
|
2298
|
-
return
|
|
2299
|
-
n.value.one === "sponsorships" && (o.isOpen = !0, await
|
|
2292
|
+
const e = pe(c, "modelValue"), n = xe(), o = Z();
|
|
2293
|
+
return F(n, async () => {
|
|
2294
|
+
n.value.one === "sponsorships" && (o.isOpen = !0, await Ve(), e.value = !0);
|
|
2300
2295
|
}, { immediate: !0 }), (s, a) => {
|
|
2301
|
-
const l = _e, d =
|
|
2296
|
+
const l = _e, d = Zn, p = we;
|
|
2302
2297
|
return u(), v(p, {
|
|
2303
2298
|
modelValue: e.value,
|
|
2304
2299
|
"onUpdate:modelValue": a[0] || (a[0] = (m) => e.value = m),
|
|
2305
|
-
"prepend-icon": `svg:${t(
|
|
2300
|
+
"prepend-icon": `svg:${t(Co)}`,
|
|
2306
2301
|
title: "Sponsorships"
|
|
2307
2302
|
}, {
|
|
2308
2303
|
default: r(() => [
|
|
2309
|
-
i(
|
|
2304
|
+
i(He, null, {
|
|
2310
2305
|
default: r(() => [
|
|
2311
|
-
i(
|
|
2306
|
+
i(ke, { scrollable: "" }, {
|
|
2312
2307
|
default: r(() => [
|
|
2313
|
-
|
|
2308
|
+
C("div", zn, [
|
|
2314
2309
|
i(ue, { class: "flex-0-0 mb-16 mb-sm-4" }, {
|
|
2315
2310
|
default: r(() => [
|
|
2316
2311
|
i(l, {
|
|
@@ -2321,23 +2316,23 @@ const Pe = q("settings", () => {
|
|
|
2321
2316
|
]),
|
|
2322
2317
|
_: 1
|
|
2323
2318
|
}),
|
|
2324
|
-
i(
|
|
2319
|
+
i(Xe, {
|
|
2325
2320
|
class: "flex-1-0",
|
|
2326
2321
|
icon: "$vuetify",
|
|
2327
2322
|
"min-height": "auto",
|
|
2328
2323
|
size: "128"
|
|
2329
2324
|
}, {
|
|
2330
2325
|
media: r(() => [
|
|
2331
|
-
i(
|
|
2326
|
+
i(I, {
|
|
2332
2327
|
color: t(o).isSubscriber ? "success" : "error"
|
|
2333
2328
|
}, null, 8, ["color"])
|
|
2334
2329
|
]),
|
|
2335
2330
|
title: r(() => [
|
|
2336
|
-
|
|
2337
|
-
|
|
2331
|
+
O(" One Status: "),
|
|
2332
|
+
C("span", jn, w(t(o).isSubscriber ? "Active" : "Inactive"), 1)
|
|
2338
2333
|
]),
|
|
2339
2334
|
text: r(() => [
|
|
2340
|
-
|
|
2335
|
+
C("div", Pn, w(t(o).isSubscriber ? "You are currently receiving benefits of Vuetify One." : "Login to activate Vuetify One benefits"), 1)
|
|
2341
2336
|
]),
|
|
2342
2337
|
_: 1
|
|
2343
2338
|
})
|
|
@@ -2353,16 +2348,16 @@ const Pe = q("settings", () => {
|
|
|
2353
2348
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
2354
2349
|
};
|
|
2355
2350
|
}
|
|
2356
|
-
}),
|
|
2351
|
+
}), En = /* @__PURE__ */ L({
|
|
2357
2352
|
__name: "VoSponsorshipsListItem",
|
|
2358
2353
|
setup(c) {
|
|
2359
|
-
const e =
|
|
2354
|
+
const e = S(!1);
|
|
2360
2355
|
return (n, o) => {
|
|
2361
|
-
const s =
|
|
2356
|
+
const s = Rn, a = Y;
|
|
2362
2357
|
return u(), v(a, {
|
|
2363
2358
|
active: t(e),
|
|
2364
2359
|
link: "",
|
|
2365
|
-
"prepend-icon": `svg:${t(
|
|
2360
|
+
"prepend-icon": `svg:${t(Lo)}`,
|
|
2366
2361
|
title: "Sponsorships"
|
|
2367
2362
|
}, {
|
|
2368
2363
|
default: r(() => [
|
|
@@ -2375,11 +2370,10 @@ const Pe = q("settings", () => {
|
|
|
2375
2370
|
}, 8, ["active", "prepend-icon"]);
|
|
2376
2371
|
};
|
|
2377
2372
|
}
|
|
2378
|
-
}),
|
|
2379
|
-
const c = oe(), e =
|
|
2373
|
+
}), Wn = W("downloads", () => {
|
|
2374
|
+
const c = oe(), e = D([]), n = S(!1);
|
|
2380
2375
|
async function o() {
|
|
2381
|
-
if (e.value.length)
|
|
2382
|
-
return e.value;
|
|
2376
|
+
if (e.value.length) return e.value;
|
|
2383
2377
|
n.value = !0;
|
|
2384
2378
|
try {
|
|
2385
2379
|
const s = await c.get("/one/sendowl/downloads");
|
|
@@ -2395,10 +2389,10 @@ const Pe = q("settings", () => {
|
|
|
2395
2389
|
isLoading: n,
|
|
2396
2390
|
index: o
|
|
2397
2391
|
};
|
|
2398
|
-
}),
|
|
2392
|
+
}), qn = /* @__PURE__ */ L({
|
|
2399
2393
|
__name: "VoDownloadsTable",
|
|
2400
2394
|
setup(c) {
|
|
2401
|
-
const e =
|
|
2395
|
+
const e = Ce(), n = Wn(), o = [
|
|
2402
2396
|
{
|
|
2403
2397
|
title: "Order ID",
|
|
2404
2398
|
value: "order_name"
|
|
@@ -2418,11 +2412,11 @@ const Pe = q("settings", () => {
|
|
|
2418
2412
|
value: "download_url"
|
|
2419
2413
|
}
|
|
2420
2414
|
];
|
|
2421
|
-
return
|
|
2415
|
+
return Ie(async () => {
|
|
2422
2416
|
await n.index();
|
|
2423
2417
|
}), (s, a) => {
|
|
2424
2418
|
const l = _e;
|
|
2425
|
-
return u(), v(
|
|
2419
|
+
return u(), v(Le, null, {
|
|
2426
2420
|
default: r(() => [
|
|
2427
2421
|
i(de, { cols: "12" }, {
|
|
2428
2422
|
default: r(() => [
|
|
@@ -2430,13 +2424,13 @@ const Pe = q("settings", () => {
|
|
|
2430
2424
|
text: "View and download your store purchases.",
|
|
2431
2425
|
title: "Download history"
|
|
2432
2426
|
}),
|
|
2433
|
-
i(
|
|
2427
|
+
i(E, {
|
|
2434
2428
|
border: "",
|
|
2435
2429
|
flat: "",
|
|
2436
2430
|
rounded: "lg"
|
|
2437
2431
|
}, {
|
|
2438
2432
|
default: r(() => [
|
|
2439
|
-
i(
|
|
2433
|
+
i(ut, {
|
|
2440
2434
|
"fixed-header": "",
|
|
2441
2435
|
headers: o,
|
|
2442
2436
|
height: "640",
|
|
@@ -2444,22 +2438,22 @@ const Pe = q("settings", () => {
|
|
|
2444
2438
|
loading: t(n).isLoading
|
|
2445
2439
|
}, {
|
|
2446
2440
|
"item.order_name": r(({ item: d }) => [
|
|
2447
|
-
|
|
2441
|
+
O(" #" + w(d.order_name), 1)
|
|
2448
2442
|
]),
|
|
2449
2443
|
"item.created_at": r(({ item: d }) => [
|
|
2450
|
-
|
|
2444
|
+
O(w(t(e).format(d.created_at, "shortDate")), 1)
|
|
2451
2445
|
]),
|
|
2452
2446
|
"item.download_items": r(({ item: d }) => [
|
|
2453
|
-
(u(!0),
|
|
2447
|
+
(u(!0), M(U, null, K(d.download_items, (p, m) => (u(), M("div", {
|
|
2454
2448
|
key: m,
|
|
2455
2449
|
class: "text-truncate"
|
|
2456
|
-
},
|
|
2450
|
+
}, w(p.name), 1))), 128))
|
|
2457
2451
|
]),
|
|
2458
2452
|
"item.download_url": r(({ item: d }) => [
|
|
2459
|
-
i(
|
|
2453
|
+
i(q, {
|
|
2460
2454
|
color: "medium-emphasis",
|
|
2461
2455
|
href: d.download_url,
|
|
2462
|
-
icon: `svg:${t(
|
|
2456
|
+
icon: `svg:${t(co)}`,
|
|
2463
2457
|
size: "small",
|
|
2464
2458
|
target: "_blank",
|
|
2465
2459
|
variant: "text"
|
|
@@ -2478,31 +2472,31 @@ const Pe = q("settings", () => {
|
|
|
2478
2472
|
});
|
|
2479
2473
|
};
|
|
2480
2474
|
}
|
|
2481
|
-
}), Qn = { class: "px-3" },
|
|
2475
|
+
}), Qn = { class: "px-3" }, Gn = /* @__PURE__ */ L({
|
|
2482
2476
|
__name: "VoDownloadsNavItem",
|
|
2483
2477
|
setup(c) {
|
|
2484
|
-
const e =
|
|
2478
|
+
const e = S(!1);
|
|
2485
2479
|
return (n, o) => {
|
|
2486
|
-
const s =
|
|
2480
|
+
const s = qn, a = we, l = Y;
|
|
2487
2481
|
return u(), v(l, {
|
|
2488
2482
|
active: t(e),
|
|
2489
2483
|
link: "",
|
|
2490
|
-
"prepend-icon": `svg:${t(
|
|
2484
|
+
"prepend-icon": `svg:${t(nt)}`,
|
|
2491
2485
|
title: "Downloads"
|
|
2492
2486
|
}, {
|
|
2493
2487
|
default: r(() => [
|
|
2494
2488
|
i(a, {
|
|
2495
2489
|
modelValue: t(e),
|
|
2496
2490
|
"onUpdate:modelValue": o[0] || (o[0] = (d) => se(e) ? e.value = d : null),
|
|
2497
|
-
"prepend-icon": `svg:${t(
|
|
2491
|
+
"prepend-icon": `svg:${t(nt)}`,
|
|
2498
2492
|
title: "Downloads"
|
|
2499
2493
|
}, {
|
|
2500
2494
|
default: r(() => [
|
|
2501
|
-
i(
|
|
2495
|
+
i(He, null, {
|
|
2502
2496
|
default: r(() => [
|
|
2503
|
-
i(
|
|
2497
|
+
i(ke, { scrollable: "" }, {
|
|
2504
2498
|
default: r(() => [
|
|
2505
|
-
|
|
2499
|
+
C("div", Qn, [
|
|
2506
2500
|
i(ue, null, {
|
|
2507
2501
|
default: r(() => [
|
|
2508
2502
|
i(s)
|
|
@@ -2524,22 +2518,17 @@ const Pe = q("settings", () => {
|
|
|
2524
2518
|
}, 8, ["active", "prepend-icon"]);
|
|
2525
2519
|
};
|
|
2526
2520
|
}
|
|
2527
|
-
}),
|
|
2521
|
+
}), Yn = /* @__PURE__ */ L({
|
|
2528
2522
|
__name: "VoStudioNavItem",
|
|
2529
2523
|
setup(c) {
|
|
2530
|
-
const e =
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
["M2 4L6.87046 12.2799L9.26479 7.61064L2 4Z", 1]
|
|
2535
|
-
];
|
|
2536
|
-
return (o, s) => {
|
|
2537
|
-
const a = Y;
|
|
2538
|
-
return u(), v(a, {
|
|
2524
|
+
const e = S(!1);
|
|
2525
|
+
return (n, o) => {
|
|
2526
|
+
const s = Y;
|
|
2527
|
+
return u(), v(s, {
|
|
2539
2528
|
active: t(e),
|
|
2540
2529
|
href: "https://studio.vuetifyjs.com/",
|
|
2541
2530
|
link: "",
|
|
2542
|
-
"prepend-icon":
|
|
2531
|
+
"prepend-icon": "$vuetify-studio",
|
|
2543
2532
|
target: "_blank",
|
|
2544
2533
|
title: "Vuetify Studio"
|
|
2545
2534
|
}, {
|
|
@@ -2551,7 +2540,7 @@ const Pe = q("settings", () => {
|
|
|
2551
2540
|
variant: "outlined"
|
|
2552
2541
|
}, {
|
|
2553
2542
|
default: r(() => [
|
|
2554
|
-
|
|
2543
|
+
O("Closed Alpha")
|
|
2555
2544
|
]),
|
|
2556
2545
|
_: 1
|
|
2557
2546
|
})
|
|
@@ -2560,25 +2549,25 @@ const Pe = q("settings", () => {
|
|
|
2560
2549
|
}, 8, ["active"]);
|
|
2561
2550
|
};
|
|
2562
2551
|
}
|
|
2563
|
-
}),
|
|
2564
|
-
const c =
|
|
2552
|
+
}), Ke = W("site", () => {
|
|
2553
|
+
const c = D([]), e = D();
|
|
2565
2554
|
return {
|
|
2566
2555
|
id: c,
|
|
2567
2556
|
url: e
|
|
2568
2557
|
};
|
|
2569
|
-
}),
|
|
2558
|
+
}), Jn = {
|
|
2570
2559
|
key: 0,
|
|
2571
2560
|
class: "pt-16"
|
|
2572
|
-
},
|
|
2561
|
+
}, Xn = /* @__PURE__ */ C("div", { class: "text-medium-emphasis" }, " All caught up ", -1), Kn = {
|
|
2573
2562
|
key: 1,
|
|
2574
2563
|
class: "pa-5"
|
|
2575
|
-
},
|
|
2564
|
+
}, es = { class: "text-subtitle-1 font-weight-bold" }, ts = { class: "text-caption font-weight-bold text-medium-emphasis" }, os = { class: "text-disabled text-caption mt-2 mb-3" }, ns = /* @__PURE__ */ L({
|
|
2576
2565
|
__name: "VoNotificationsBannerList",
|
|
2577
2566
|
props: {
|
|
2578
2567
|
items: {}
|
|
2579
2568
|
},
|
|
2580
2569
|
setup(c) {
|
|
2581
|
-
const e =
|
|
2570
|
+
const e = Ce(), n = ve(), o = B(), s = Ke();
|
|
2582
2571
|
function a(d) {
|
|
2583
2572
|
return o.notifications.last.banner.includes(d);
|
|
2584
2573
|
}
|
|
@@ -2591,14 +2580,14 @@ const Pe = q("settings", () => {
|
|
|
2591
2580
|
lines: "three"
|
|
2592
2581
|
}, {
|
|
2593
2582
|
default: r(() => [
|
|
2594
|
-
d.items.length ? (u(),
|
|
2595
|
-
(u(!0),
|
|
2583
|
+
d.items.length ? (u(), M("div", Kn, [
|
|
2584
|
+
(u(!0), M(U, null, K(d.items, (m) => {
|
|
2596
2585
|
var f;
|
|
2597
|
-
return u(),
|
|
2586
|
+
return u(), M("div", {
|
|
2598
2587
|
key: m.slug,
|
|
2599
2588
|
class: "mb-4"
|
|
2600
2589
|
}, [
|
|
2601
|
-
i(
|
|
2590
|
+
i(E, {
|
|
2602
2591
|
color: m.metadata.color,
|
|
2603
2592
|
flat: "",
|
|
2604
2593
|
image: (f = m.metadata.images.bg) == null ? void 0 : f.url,
|
|
@@ -2618,9 +2607,9 @@ const Pe = q("settings", () => {
|
|
|
2618
2607
|
]),
|
|
2619
2608
|
_: 2
|
|
2620
2609
|
}, 1032, ["color", "image", "title"]),
|
|
2621
|
-
i(
|
|
2622
|
-
default: r(({ props: g, isHovering:
|
|
2623
|
-
i(
|
|
2610
|
+
i(Ue, null, {
|
|
2611
|
+
default: r(({ props: g, isHovering: b }) => [
|
|
2612
|
+
i(Je, R({ ref_for: !0 }, g, {
|
|
2624
2613
|
border: "",
|
|
2625
2614
|
class: "px-8 pt-2 pb-4 position-relative",
|
|
2626
2615
|
rounded: "b"
|
|
@@ -2634,26 +2623,26 @@ const Pe = q("settings", () => {
|
|
|
2634
2623
|
activator: r(({ props: y }) => [
|
|
2635
2624
|
i(Te, { "hide-on-leave": "" }, {
|
|
2636
2625
|
default: r(() => [
|
|
2637
|
-
|
|
2626
|
+
be(i(q, R({ ref_for: !0 }, y, {
|
|
2638
2627
|
class: "ms-auto float-right",
|
|
2639
|
-
icon: `svg:${a(m.slug) ? t(
|
|
2628
|
+
icon: `svg:${a(m.slug) ? t(ft) : t(mt)}`,
|
|
2640
2629
|
"mdi-email-variant": "",
|
|
2641
2630
|
size: "small",
|
|
2642
2631
|
variant: "text",
|
|
2643
2632
|
onClick: (_) => l(m)
|
|
2644
2633
|
}), null, 16, ["icon", "onClick"]), [
|
|
2645
|
-
[
|
|
2634
|
+
[De, b || t(n).mobile.value]
|
|
2646
2635
|
])
|
|
2647
2636
|
]),
|
|
2648
2637
|
_: 2
|
|
2649
2638
|
}, 1024)
|
|
2650
2639
|
]),
|
|
2651
2640
|
_: 2
|
|
2652
|
-
}, 1032, ["text"])) :
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
i(X,
|
|
2641
|
+
}, 1032, ["text"])) : $("", !0),
|
|
2642
|
+
C("div", es, w(m.metadata.text), 1),
|
|
2643
|
+
C("div", ts, w(t(e).format(m.created_at, "fullDateWithWeekday")), 1),
|
|
2644
|
+
C("div", os, w(m.metadata.subtext), 1),
|
|
2645
|
+
i(X, R({ ref_for: !0 }, {
|
|
2657
2646
|
href: m.metadata.link.startsWith("http") ? m.metadata.link : void 0,
|
|
2658
2647
|
target: m.metadata.link.startsWith("http") ? "_blank" : void 0,
|
|
2659
2648
|
to: m.metadata.link.startsWith("http") ? void 0 : m.metadata.link
|
|
@@ -2666,7 +2655,7 @@ const Pe = q("settings", () => {
|
|
|
2666
2655
|
variant: "text"
|
|
2667
2656
|
}), {
|
|
2668
2657
|
append: r(() => [
|
|
2669
|
-
i(
|
|
2658
|
+
i(I, { size: "12" })
|
|
2670
2659
|
]),
|
|
2671
2660
|
_: 2
|
|
2672
2661
|
}, 1040, ["append-icon", "text"])
|
|
@@ -2678,16 +2667,16 @@ const Pe = q("settings", () => {
|
|
|
2678
2667
|
}, 1024)
|
|
2679
2668
|
]);
|
|
2680
2669
|
}), 128))
|
|
2681
|
-
])) : (u(),
|
|
2682
|
-
i(
|
|
2670
|
+
])) : (u(), M("div", Jn, [
|
|
2671
|
+
i(Xe, {
|
|
2683
2672
|
icon: "$vuetify",
|
|
2684
2673
|
size: "256"
|
|
2685
2674
|
}, {
|
|
2686
2675
|
media: r(() => [
|
|
2687
|
-
i(
|
|
2676
|
+
i(I, { color: "medium-emphasis" })
|
|
2688
2677
|
]),
|
|
2689
2678
|
title: r(() => [
|
|
2690
|
-
|
|
2679
|
+
Xn
|
|
2691
2680
|
]),
|
|
2692
2681
|
_: 1
|
|
2693
2682
|
})
|
|
@@ -2696,14 +2685,14 @@ const Pe = q("settings", () => {
|
|
|
2696
2685
|
_: 1
|
|
2697
2686
|
}));
|
|
2698
2687
|
}
|
|
2699
|
-
}),
|
|
2688
|
+
}), ss = { class: "ps-3 text-subtitle-2 pe-2" }, as = { class: "text-truncate" }, is = { class: "text-caption font-weight-bold text-medium-emphasis" }, rs = { class: "text-disabled text-caption my-2" }, ls = /* @__PURE__ */ L({
|
|
2700
2689
|
__name: "VoNotificationsListItem",
|
|
2701
2690
|
props: {
|
|
2702
2691
|
demo: { type: Boolean },
|
|
2703
2692
|
notification: {}
|
|
2704
2693
|
},
|
|
2705
2694
|
setup(c) {
|
|
2706
|
-
const e = c, n =
|
|
2695
|
+
const e = c, n = B(), o = Ce(), s = ve(), a = k(() => {
|
|
2707
2696
|
const p = e.notification.metadata ?? { action: "" };
|
|
2708
2697
|
return {
|
|
2709
2698
|
href: p.action.startsWith("http") ? p.action : void 0,
|
|
@@ -2723,14 +2712,14 @@ const Pe = q("settings", () => {
|
|
|
2723
2712
|
}
|
|
2724
2713
|
return (p, m) => {
|
|
2725
2714
|
const f = Y;
|
|
2726
|
-
return u(), v(
|
|
2727
|
-
default: r(({ isHovering: g, props:
|
|
2728
|
-
i(f,
|
|
2715
|
+
return u(), v(Ue, null, {
|
|
2716
|
+
default: r(({ isHovering: g, props: b }) => [
|
|
2717
|
+
i(f, R(b, { class: "py-4 mb-0" }), {
|
|
2729
2718
|
prepend: r(() => [
|
|
2730
|
-
|
|
2719
|
+
C("div", ss, w(p.notification.metadata.emoji), 1)
|
|
2731
2720
|
]),
|
|
2732
2721
|
append: r(() => [
|
|
2733
|
-
i(
|
|
2722
|
+
i(Yt, {
|
|
2734
2723
|
class: "mt-n3",
|
|
2735
2724
|
width: "56"
|
|
2736
2725
|
}, {
|
|
@@ -2742,15 +2731,15 @@ const Pe = q("settings", () => {
|
|
|
2742
2731
|
activator: r(({ props: y }) => [
|
|
2743
2732
|
i(Te, { "hide-on-leave": "" }, {
|
|
2744
2733
|
default: r(() => [
|
|
2745
|
-
|
|
2734
|
+
be(i(q, R(y, {
|
|
2746
2735
|
class: "ms-auto",
|
|
2747
|
-
icon: `svg:${l(p.notification.slug) ? t(
|
|
2736
|
+
icon: `svg:${l(p.notification.slug) ? t(ft) : t(mt)}`,
|
|
2748
2737
|
"mdi-email-variant": "",
|
|
2749
2738
|
size: "small",
|
|
2750
2739
|
variant: "text",
|
|
2751
2740
|
onClick: m[0] || (m[0] = (_) => d(p.notification))
|
|
2752
2741
|
}), null, 16, ["icon"]), [
|
|
2753
|
-
[
|
|
2742
|
+
[De, g || t(s).mobile.value]
|
|
2754
2743
|
])
|
|
2755
2744
|
]),
|
|
2756
2745
|
_: 2
|
|
@@ -2763,15 +2752,15 @@ const Pe = q("settings", () => {
|
|
|
2763
2752
|
}, 1024)
|
|
2764
2753
|
]),
|
|
2765
2754
|
default: r(() => [
|
|
2766
|
-
i(
|
|
2755
|
+
i(it, { class: "text-wrap text-h6 mb-1" }, {
|
|
2767
2756
|
default: r(() => [
|
|
2768
|
-
|
|
2757
|
+
C("div", as, w(p.notification.title), 1)
|
|
2769
2758
|
]),
|
|
2770
2759
|
_: 1
|
|
2771
2760
|
}),
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
i(X,
|
|
2761
|
+
C("div", is, w(t(o).format(p.notification.created_at, "fullDateWithWeekday")), 1),
|
|
2762
|
+
C("div", rs, w(p.notification.metadata.text), 1),
|
|
2763
|
+
i(X, R({
|
|
2775
2764
|
"append-icon": `svg:${t(Ne)}`
|
|
2776
2765
|
}, t(a), {
|
|
2777
2766
|
border: "",
|
|
@@ -2781,7 +2770,7 @@ const Pe = q("settings", () => {
|
|
|
2781
2770
|
variant: "text"
|
|
2782
2771
|
}), {
|
|
2783
2772
|
append: r(() => [
|
|
2784
|
-
i(
|
|
2773
|
+
i(I, { size: "12" })
|
|
2785
2774
|
]),
|
|
2786
2775
|
_: 1
|
|
2787
2776
|
}, 16, ["append-icon", "text"])
|
|
@@ -2793,38 +2782,38 @@ const Pe = q("settings", () => {
|
|
|
2793
2782
|
});
|
|
2794
2783
|
};
|
|
2795
2784
|
}
|
|
2796
|
-
}),
|
|
2785
|
+
}), cs = {
|
|
2797
2786
|
key: 0,
|
|
2798
2787
|
class: "pt-16"
|
|
2799
|
-
},
|
|
2788
|
+
}, us = /* @__PURE__ */ C("div", { class: "text-medium-emphasis" }, " All caught up ", -1), ds = /* @__PURE__ */ L({
|
|
2800
2789
|
__name: "VoNotificationsList",
|
|
2801
2790
|
props: {
|
|
2802
2791
|
items: {}
|
|
2803
2792
|
},
|
|
2804
2793
|
setup(c) {
|
|
2805
2794
|
return (e, n) => {
|
|
2806
|
-
const o =
|
|
2795
|
+
const o = ls;
|
|
2807
2796
|
return u(), v(ae, {
|
|
2808
2797
|
class: "py-0",
|
|
2809
2798
|
height: "100%",
|
|
2810
2799
|
lines: "three"
|
|
2811
2800
|
}, {
|
|
2812
2801
|
default: r(() => [
|
|
2813
|
-
e.items.length ? (u(!0),
|
|
2802
|
+
e.items.length ? (u(!0), M(U, { key: 1 }, K(e.items, (s, a) => (u(), M(U, {
|
|
2814
2803
|
key: s.slug
|
|
2815
2804
|
}, [
|
|
2816
|
-
a !== 0 ? (u(), v(
|
|
2805
|
+
a !== 0 ? (u(), v(G, { key: 0 })) : $("", !0),
|
|
2817
2806
|
i(o, { notification: s }, null, 8, ["notification"])
|
|
2818
|
-
], 64))), 128)) : (u(),
|
|
2819
|
-
i(
|
|
2807
|
+
], 64))), 128)) : (u(), M("div", cs, [
|
|
2808
|
+
i(Xe, {
|
|
2820
2809
|
icon: "$vuetify",
|
|
2821
2810
|
size: "256"
|
|
2822
2811
|
}, {
|
|
2823
2812
|
media: r(() => [
|
|
2824
|
-
i(
|
|
2813
|
+
i(I, { color: "medium-emphasis" })
|
|
2825
2814
|
]),
|
|
2826
2815
|
title: r(() => [
|
|
2827
|
-
|
|
2816
|
+
us
|
|
2828
2817
|
]),
|
|
2829
2818
|
_: 1
|
|
2830
2819
|
})
|
|
@@ -2834,26 +2823,24 @@ const Pe = q("settings", () => {
|
|
|
2834
2823
|
});
|
|
2835
2824
|
};
|
|
2836
2825
|
}
|
|
2837
|
-
}),
|
|
2838
|
-
const c = oe(), e =
|
|
2839
|
-
if (a.value)
|
|
2840
|
-
|
|
2841
|
-
if (p.value)
|
|
2842
|
-
return p.value;
|
|
2826
|
+
}), je = W("banners", () => {
|
|
2827
|
+
const c = oe(), e = Ke(), n = B(), o = D([]), s = D([]), a = D(), l = S(!1), d = k(() => {
|
|
2828
|
+
if (a.value) return a.value;
|
|
2829
|
+
if (p.value) return p.value;
|
|
2843
2830
|
if (n.notifications.banners)
|
|
2844
2831
|
return o.value.find(({
|
|
2845
2832
|
slug: h,
|
|
2846
2833
|
metadata: {
|
|
2847
|
-
site:
|
|
2848
|
-
active:
|
|
2834
|
+
site: V,
|
|
2835
|
+
active: N
|
|
2849
2836
|
}
|
|
2850
|
-
}) => !
|
|
2851
|
-
}), p =
|
|
2837
|
+
}) => !N || n.notifications.last.banner.includes(h) ? !1 : V.includes("dev") && !1 || V.includes("*") ? !0 : V.some((A) => e.id.includes(A)));
|
|
2838
|
+
}), p = k(() => o.value.find(({
|
|
2852
2839
|
metadata: {
|
|
2853
2840
|
site: h,
|
|
2854
|
-
active:
|
|
2841
|
+
active: V
|
|
2855
2842
|
}
|
|
2856
|
-
}) =>
|
|
2843
|
+
}) => V ? h.includes("server") : !1));
|
|
2857
2844
|
async function m() {
|
|
2858
2845
|
try {
|
|
2859
2846
|
l.value = !0;
|
|
@@ -2868,8 +2855,8 @@ const Pe = q("settings", () => {
|
|
|
2868
2855
|
async function f(h) {
|
|
2869
2856
|
try {
|
|
2870
2857
|
l.value = !0;
|
|
2871
|
-
const
|
|
2872
|
-
return a.value =
|
|
2858
|
+
const V = await c.get(`/one/admin/banners/${h}`);
|
|
2859
|
+
return a.value = V.banner, V.banner;
|
|
2873
2860
|
} catch {
|
|
2874
2861
|
} finally {
|
|
2875
2862
|
l.value = !1;
|
|
@@ -2878,24 +2865,24 @@ const Pe = q("settings", () => {
|
|
|
2878
2865
|
async function g(h) {
|
|
2879
2866
|
try {
|
|
2880
2867
|
l.value = !0;
|
|
2881
|
-
const
|
|
2868
|
+
const V = await c.form(
|
|
2882
2869
|
"/one/admin/banners",
|
|
2883
2870
|
h
|
|
2884
2871
|
);
|
|
2885
|
-
return a.value =
|
|
2872
|
+
return a.value = V.banner, V.banner;
|
|
2886
2873
|
} catch {
|
|
2887
2874
|
} finally {
|
|
2888
2875
|
l.value = !1;
|
|
2889
2876
|
}
|
|
2890
2877
|
}
|
|
2891
|
-
async function
|
|
2878
|
+
async function b(h, V) {
|
|
2892
2879
|
try {
|
|
2893
2880
|
l.value = !0;
|
|
2894
|
-
const
|
|
2881
|
+
const N = await c.form(
|
|
2895
2882
|
`/one/admin/banners/${h}`,
|
|
2896
|
-
|
|
2883
|
+
V
|
|
2897
2884
|
);
|
|
2898
|
-
return a.value =
|
|
2885
|
+
return a.value = N.banner, N.banner;
|
|
2899
2886
|
} catch {
|
|
2900
2887
|
} finally {
|
|
2901
2888
|
l.value = !1;
|
|
@@ -2926,9 +2913,9 @@ const Pe = q("settings", () => {
|
|
|
2926
2913
|
index: m,
|
|
2927
2914
|
show: f,
|
|
2928
2915
|
store: g,
|
|
2929
|
-
update:
|
|
2916
|
+
update: b
|
|
2930
2917
|
};
|
|
2931
|
-
}),
|
|
2918
|
+
}), ps = { class: "text-caption" }, ms = { class: "text-caption" }, fs = /* @__PURE__ */ L({
|
|
2932
2919
|
__name: "VoNotificationsDialog",
|
|
2933
2920
|
props: {
|
|
2934
2921
|
modelValue: { type: Boolean },
|
|
@@ -2936,25 +2923,25 @@ const Pe = q("settings", () => {
|
|
|
2936
2923
|
},
|
|
2937
2924
|
emits: ["update:modelValue"],
|
|
2938
2925
|
setup(c) {
|
|
2939
|
-
const e = ve(), n =
|
|
2940
|
-
return
|
|
2926
|
+
const e = ve(), n = xe(), o = je(), s = Fe(), a = Z(), l = B(), d = S(["read"]), p = pe(c, "modelValue");
|
|
2927
|
+
return F(n, async () => {
|
|
2941
2928
|
if (n.value.one !== "notifications") {
|
|
2942
2929
|
p.value && (p.value = !1);
|
|
2943
2930
|
return;
|
|
2944
2931
|
}
|
|
2945
|
-
a.isOpen = !0, await
|
|
2932
|
+
a.isOpen = !0, await Ve(), p.value = !0;
|
|
2946
2933
|
}, { immediate: !0 }), (m, f) => {
|
|
2947
|
-
const g = Y,
|
|
2934
|
+
const g = Y, b = ds, y = ns, _ = we;
|
|
2948
2935
|
return u(), v(_, {
|
|
2949
2936
|
modelValue: p.value,
|
|
2950
2937
|
"onUpdate:modelValue": f[2] || (f[2] = (h) => p.value = h),
|
|
2951
|
-
"prepend-icon": `svg:${t(
|
|
2938
|
+
"prepend-icon": `svg:${t(io)}`,
|
|
2952
2939
|
title: "Notifications"
|
|
2953
2940
|
}, {
|
|
2954
2941
|
default: r(() => [
|
|
2955
|
-
i(
|
|
2942
|
+
i(He, null, {
|
|
2956
2943
|
default: r(() => [
|
|
2957
|
-
i(
|
|
2944
|
+
i(Jt, {
|
|
2958
2945
|
location: t(e).mobile.value ? "top" : "start",
|
|
2959
2946
|
permanent: "",
|
|
2960
2947
|
width: t(e).mobile.value ? 128 : 168
|
|
@@ -2970,61 +2957,61 @@ const Pe = q("settings", () => {
|
|
|
2970
2957
|
}, {
|
|
2971
2958
|
default: r(() => [
|
|
2972
2959
|
i(g, {
|
|
2973
|
-
"prepend-icon": `svg:${t(
|
|
2960
|
+
"prepend-icon": `svg:${t($o)}`,
|
|
2974
2961
|
title: "Unread",
|
|
2975
2962
|
value: "read"
|
|
2976
|
-
},
|
|
2963
|
+
}, P({ _: 2 }, [
|
|
2977
2964
|
t(s).unread.length > 0 ? {
|
|
2978
2965
|
name: "append",
|
|
2979
2966
|
fn: r(() => [
|
|
2980
|
-
|
|
2967
|
+
C("span", ps, w(t(s).unread.length), 1)
|
|
2981
2968
|
]),
|
|
2982
2969
|
key: "0"
|
|
2983
2970
|
} : void 0
|
|
2984
2971
|
]), 1032, ["prepend-icon"]),
|
|
2985
2972
|
i(g, {
|
|
2986
|
-
"prepend-icon": `svg:${t(
|
|
2973
|
+
"prepend-icon": `svg:${t(ko)}`,
|
|
2987
2974
|
title: "Read",
|
|
2988
2975
|
value: "unread"
|
|
2989
|
-
},
|
|
2976
|
+
}, P({ _: 2 }, [
|
|
2990
2977
|
t(s).read.length > 0 ? {
|
|
2991
2978
|
name: "append",
|
|
2992
2979
|
fn: r(() => [
|
|
2993
|
-
|
|
2980
|
+
C("span", ms, w(t(s).read.length), 1)
|
|
2994
2981
|
]),
|
|
2995
2982
|
key: "0"
|
|
2996
2983
|
} : void 0
|
|
2997
2984
|
]), 1032, ["prepend-icon"]),
|
|
2998
2985
|
t(o).all.length > 0 && t(l).notifications.banners ? (u(), v(g, {
|
|
2999
2986
|
key: 0,
|
|
3000
|
-
"prepend-icon": `svg:${t(
|
|
2987
|
+
"prepend-icon": `svg:${t(lo)}`,
|
|
3001
2988
|
title: "Banners",
|
|
3002
2989
|
value: "banners"
|
|
3003
2990
|
}, {
|
|
3004
2991
|
append: r(() => [
|
|
3005
|
-
i(
|
|
2992
|
+
i(Ye, {
|
|
3006
2993
|
dot: "",
|
|
3007
2994
|
"offset-y": "-3"
|
|
3008
2995
|
})
|
|
3009
2996
|
]),
|
|
3010
2997
|
_: 1
|
|
3011
|
-
}, 8, ["prepend-icon"])) :
|
|
2998
|
+
}, 8, ["prepend-icon"])) : $("", !0)
|
|
3012
2999
|
]),
|
|
3013
3000
|
_: 1
|
|
3014
3001
|
}, 8, ["selected"])
|
|
3015
3002
|
]),
|
|
3016
3003
|
_: 1
|
|
3017
3004
|
}, 8, ["location", "width"]),
|
|
3018
|
-
i(
|
|
3005
|
+
i(ke, { scrollable: "" }, {
|
|
3019
3006
|
default: r(() => [
|
|
3020
|
-
i(
|
|
3007
|
+
i(dt, {
|
|
3021
3008
|
modelValue: t(d),
|
|
3022
3009
|
"onUpdate:modelValue": f[1] || (f[1] = (h) => se(d) ? d.value = h : null)
|
|
3023
3010
|
}, {
|
|
3024
3011
|
default: r(() => [
|
|
3025
3012
|
i(ge, { value: "read" }, {
|
|
3026
3013
|
default: r(() => [
|
|
3027
|
-
i(
|
|
3014
|
+
i(b, {
|
|
3028
3015
|
items: t(s).unread
|
|
3029
3016
|
}, null, 8, ["items"])
|
|
3030
3017
|
]),
|
|
@@ -3032,7 +3019,7 @@ const Pe = q("settings", () => {
|
|
|
3032
3019
|
}),
|
|
3033
3020
|
i(ge, { value: "unread" }, {
|
|
3034
3021
|
default: r(() => [
|
|
3035
|
-
i(
|
|
3022
|
+
i(b, {
|
|
3036
3023
|
items: t(s).read
|
|
3037
3024
|
}, null, 8, ["items"])
|
|
3038
3025
|
]),
|
|
@@ -3060,36 +3047,36 @@ const Pe = q("settings", () => {
|
|
|
3060
3047
|
}, 8, ["modelValue", "prepend-icon"]);
|
|
3061
3048
|
};
|
|
3062
3049
|
}
|
|
3063
|
-
}),
|
|
3050
|
+
}), vs = /* @__PURE__ */ L({
|
|
3064
3051
|
__name: "VoNotificationsBadge",
|
|
3065
3052
|
setup(c) {
|
|
3066
|
-
const e =
|
|
3067
|
-
return (o, s) => (u(), v(
|
|
3053
|
+
const e = Fe(), n = B();
|
|
3054
|
+
return (o, s) => (u(), v(Ye, {
|
|
3068
3055
|
color: "error",
|
|
3069
3056
|
content: t(e).unread.length,
|
|
3070
3057
|
"model-value": t(n).notifications.show && t(e).unread.length > 0
|
|
3071
3058
|
}, {
|
|
3072
3059
|
default: r(() => [
|
|
3073
|
-
|
|
3060
|
+
T(o.$slots, "default")
|
|
3074
3061
|
]),
|
|
3075
3062
|
_: 3
|
|
3076
3063
|
}, 8, ["content", "model-value"]));
|
|
3077
3064
|
}
|
|
3078
|
-
}),
|
|
3065
|
+
}), _s = /* @__PURE__ */ L({
|
|
3079
3066
|
__name: "VoNotificationsNavItem",
|
|
3080
3067
|
setup(c) {
|
|
3081
|
-
const e =
|
|
3082
|
-
return
|
|
3068
|
+
const e = je(), n = B(), o = Fe(), s = S(!1);
|
|
3069
|
+
return Ie(async () => {
|
|
3083
3070
|
o.index(), e.index();
|
|
3084
3071
|
}), (a, l) => {
|
|
3085
|
-
const d =
|
|
3072
|
+
const d = vs, p = fs, m = Y;
|
|
3086
3073
|
return t(n).notifications.show ? (u(), v(m, {
|
|
3087
3074
|
key: 0,
|
|
3088
3075
|
active: t(s),
|
|
3089
3076
|
link: "",
|
|
3090
|
-
"prepend-icon": `svg:${t(
|
|
3077
|
+
"prepend-icon": `svg:${t(ro)}`,
|
|
3091
3078
|
title: "Notifications"
|
|
3092
|
-
},
|
|
3079
|
+
}, P({
|
|
3093
3080
|
default: r(() => [
|
|
3094
3081
|
i(p, {
|
|
3095
3082
|
modelValue: t(s),
|
|
@@ -3103,20 +3090,20 @@ const Pe = q("settings", () => {
|
|
|
3103
3090
|
fn: r(() => [
|
|
3104
3091
|
i(d, null, {
|
|
3105
3092
|
default: r(() => [
|
|
3106
|
-
i(
|
|
3093
|
+
i(I)
|
|
3107
3094
|
]),
|
|
3108
3095
|
_: 1
|
|
3109
3096
|
})
|
|
3110
3097
|
]),
|
|
3111
3098
|
key: "0"
|
|
3112
3099
|
} : void 0
|
|
3113
|
-
]), 1032, ["active", "prepend-icon"])) :
|
|
3100
|
+
]), 1032, ["active", "prepend-icon"])) : $("", !0);
|
|
3114
3101
|
};
|
|
3115
3102
|
}
|
|
3116
|
-
}),
|
|
3103
|
+
}), hs = /* @__PURE__ */ L({
|
|
3117
3104
|
__name: "VoDashboardNavItem",
|
|
3118
3105
|
setup(c) {
|
|
3119
|
-
const e =
|
|
3106
|
+
const e = Z();
|
|
3120
3107
|
function n() {
|
|
3121
3108
|
setTimeout(() => {
|
|
3122
3109
|
e.isOpen = !1;
|
|
@@ -3125,39 +3112,39 @@ const Pe = q("settings", () => {
|
|
|
3125
3112
|
return (o, s) => {
|
|
3126
3113
|
const a = Y;
|
|
3127
3114
|
return u(), v(a, {
|
|
3128
|
-
"prepend-icon": `svg:${t(
|
|
3115
|
+
"prepend-icon": `svg:${t(Fo)}`,
|
|
3129
3116
|
title: "Dashboard",
|
|
3130
3117
|
to: "/user/dashboard",
|
|
3131
3118
|
onClick: n
|
|
3132
3119
|
}, null, 8, ["prepend-icon"]);
|
|
3133
3120
|
};
|
|
3134
3121
|
}
|
|
3135
|
-
}),
|
|
3122
|
+
}), gs = /* @__PURE__ */ L({
|
|
3136
3123
|
__name: "VoUserList",
|
|
3137
3124
|
setup(c) {
|
|
3138
|
-
const e =
|
|
3125
|
+
const e = z(), n = Z();
|
|
3139
3126
|
return (o, s) => {
|
|
3140
|
-
const a =
|
|
3127
|
+
const a = hs, l = _s, d = Yn, p = Gn, m = En, f = Tn, g = cn, b = en;
|
|
3141
3128
|
return u(), v(ae, {
|
|
3142
3129
|
density: "compact",
|
|
3143
3130
|
nav: "",
|
|
3144
3131
|
slim: ""
|
|
3145
3132
|
}, {
|
|
3146
3133
|
default: r(() => [
|
|
3147
|
-
|
|
3134
|
+
t(e).user ? (u(), v(a, { key: 0 })) : $("", !0),
|
|
3148
3135
|
i(l),
|
|
3149
3136
|
i(d),
|
|
3150
|
-
t(n).shopify ? (u(), v(p, { key:
|
|
3137
|
+
t(n).shopify ? (u(), v(p, { key: 1 })) : $("", !0),
|
|
3151
3138
|
i(m),
|
|
3152
|
-
t(e).user ? (u(), v(f, { key:
|
|
3139
|
+
t(e).user ? (u(), v(f, { key: 2 })) : $("", !0),
|
|
3153
3140
|
i(g),
|
|
3154
|
-
t(e).user ? (u(), v(
|
|
3141
|
+
t(e).user ? (u(), v(b, { key: 3 })) : $("", !0)
|
|
3155
3142
|
]),
|
|
3156
3143
|
_: 1
|
|
3157
3144
|
});
|
|
3158
3145
|
};
|
|
3159
3146
|
}
|
|
3160
|
-
}),
|
|
3147
|
+
}), $t = /* @__PURE__ */ L({
|
|
3161
3148
|
__name: "VoIconIssues",
|
|
3162
3149
|
setup(c) {
|
|
3163
3150
|
const e = [
|
|
@@ -3165,30 +3152,24 @@ const Pe = q("settings", () => {
|
|
|
3165
3152
|
"M8.63152 12.7367L8.50057 12.5L6 8H11.263L8.63152 12.7367Z",
|
|
3166
3153
|
["M9.11205 13.6004L11 17L16 8H12.223L9.11205 13.6004Z", 0.6]
|
|
3167
3154
|
];
|
|
3168
|
-
return (n, o) => (u(), v(
|
|
3155
|
+
return (n, o) => (u(), v(I, { icon: e }));
|
|
3169
3156
|
}
|
|
3170
|
-
}),
|
|
3157
|
+
}), wt = /* @__PURE__ */ L({
|
|
3171
3158
|
__name: "VoIconBin",
|
|
3172
3159
|
setup(c) {
|
|
3173
|
-
|
|
3174
|
-
["M18.9112 5.03206L3.68692 8.88953C3.68692 8.88953 2.00252 6.21666 2 6.21428C2.02517 6.20794 18.6159 2.00476 18.6394 2L18.8944 4.8489L18.9095 5.01937L18.9112 5.03285V5.03206Z", 0.6],
|
|
3175
|
-
["M19.4556 10.9994C19.4556 10.9994 7.06082 14.1417 7.05915 14.1386L5.3739 11.4641C5.41836 11.453 18.4582 8.14817 18.4993 8.13945L19.1838 7.9658L19.4556 10.9994Z", 1],
|
|
3176
|
-
"M20 17.0652C19.9916 17.0675 14.6826 18.4123 14.6742 18.4147C14.6994 17.3633 14.3353 16.3579 13.712 15.5563L19.7274 14.0331L20 17.066V17.0652Z",
|
|
3177
|
-
["M12.353 16.0368C9.07567 12.843 3.90082 17.0493 6.66818 20.5975C9.94136 24.3844 15.773 19.6984 12.353 16.0368ZM11.1267 19.4129C10.2224 20.7664 7.79139 20.1099 7.82746 18.4686C8.04976 15.4897 12.7112 16.8495 11.1267 19.4129Z", 0.6]
|
|
3178
|
-
];
|
|
3179
|
-
return (n, o) => (u(), v(O, { icon: e }));
|
|
3160
|
+
return (e, n) => (u(), v(I, { icon: "$vuetify-bin" }));
|
|
3180
3161
|
}
|
|
3181
|
-
}),
|
|
3162
|
+
}), ys = { key: 0 }, Vs = { class: "d-flex align-center justify-center pa-1 ga-2" }, bs = /* @__PURE__ */ L({
|
|
3182
3163
|
__name: "VoUserQuickActions",
|
|
3183
3164
|
setup(c) {
|
|
3184
|
-
const e =
|
|
3165
|
+
const e = B();
|
|
3185
3166
|
return (n, o) => {
|
|
3186
|
-
const s =
|
|
3167
|
+
const s = wt, a = $t;
|
|
3187
3168
|
return u(), v(fe, null, {
|
|
3188
3169
|
default: r(() => [
|
|
3189
|
-
t(e).quickbar ? (u(),
|
|
3190
|
-
|
|
3191
|
-
i(
|
|
3170
|
+
t(e).quickbar ? (u(), M("div", ys, [
|
|
3171
|
+
C("div", Vs, [
|
|
3172
|
+
i(q, {
|
|
3192
3173
|
class: "text-caption",
|
|
3193
3174
|
color: t(e).colors.one,
|
|
3194
3175
|
density: "comfortable",
|
|
@@ -3198,7 +3179,7 @@ const Pe = q("settings", () => {
|
|
|
3198
3179
|
target: "_blank"
|
|
3199
3180
|
}, {
|
|
3200
3181
|
default: r(() => [
|
|
3201
|
-
i(
|
|
3182
|
+
i(I),
|
|
3202
3183
|
i(J, {
|
|
3203
3184
|
activator: "parent",
|
|
3204
3185
|
location: "top",
|
|
@@ -3207,7 +3188,7 @@ const Pe = q("settings", () => {
|
|
|
3207
3188
|
]),
|
|
3208
3189
|
_: 1
|
|
3209
3190
|
}, 8, ["color"]),
|
|
3210
|
-
i(
|
|
3191
|
+
i(q, {
|
|
3211
3192
|
class: "text-caption",
|
|
3212
3193
|
color: t(e).colors.one,
|
|
3213
3194
|
density: "comfortable",
|
|
@@ -3226,7 +3207,7 @@ const Pe = q("settings", () => {
|
|
|
3226
3207
|
]),
|
|
3227
3208
|
_: 1
|
|
3228
3209
|
}, 8, ["color"]),
|
|
3229
|
-
i(
|
|
3210
|
+
i(q, {
|
|
3230
3211
|
class: "text-caption",
|
|
3231
3212
|
color: t(e).colors.one,
|
|
3232
3213
|
density: "comfortable",
|
|
@@ -3246,16 +3227,16 @@ const Pe = q("settings", () => {
|
|
|
3246
3227
|
_: 1
|
|
3247
3228
|
}, 8, ["color"])
|
|
3248
3229
|
])
|
|
3249
|
-
])) :
|
|
3230
|
+
])) : $("", !0)
|
|
3250
3231
|
]),
|
|
3251
3232
|
_: 1
|
|
3252
3233
|
});
|
|
3253
3234
|
};
|
|
3254
3235
|
}
|
|
3255
|
-
}),
|
|
3236
|
+
}), Cs = { class: "mb-2" }, Ls = { key: 0 }, Hs = { class: "d-flex ga-4 flex-wrap justify-center mb-4" }, ks = { class: "text-h6" }, $s = /* @__PURE__ */ L({
|
|
3256
3237
|
__name: "VoUserAvatar",
|
|
3257
3238
|
setup(c) {
|
|
3258
|
-
const e =
|
|
3239
|
+
const e = z(), n = Z(), o = B(), s = S(!1), a = k(() => {
|
|
3259
3240
|
const p = [
|
|
3260
3241
|
"https://cdn.vuetifyjs.com/docs/images/avatars/dark.png",
|
|
3261
3242
|
"https://cdn.vuetifyjs.com/docs/images/avatars/blackguard.png",
|
|
@@ -3282,9 +3263,9 @@ const Pe = q("settings", () => {
|
|
|
3282
3263
|
}
|
|
3283
3264
|
return (p, m) => {
|
|
3284
3265
|
var f;
|
|
3285
|
-
return u(),
|
|
3286
|
-
|
|
3287
|
-
class:
|
|
3266
|
+
return u(), M("div", null, [
|
|
3267
|
+
be((u(), v(ee, {
|
|
3268
|
+
class: Ot([
|
|
3288
3269
|
"border-md border-opacity-100 border-surface-light",
|
|
3289
3270
|
{
|
|
3290
3271
|
"cursor-pointer": t(n).isSubscriber
|
|
@@ -3293,14 +3274,14 @@ const Pe = q("settings", () => {
|
|
|
3293
3274
|
color: "surface",
|
|
3294
3275
|
size: "72",
|
|
3295
3276
|
text: "Foobar",
|
|
3296
|
-
onClick:
|
|
3277
|
+
onClick: qe(d, ["prevent", "stop"])
|
|
3297
3278
|
}, {
|
|
3298
3279
|
default: r(() => [
|
|
3299
3280
|
t(e).user && t(o).avatar ? (u(), v(te, {
|
|
3300
3281
|
key: 0,
|
|
3301
3282
|
alt: "User avatar",
|
|
3302
3283
|
src: t(o).avatar
|
|
3303
|
-
}, null, 8, ["src"])) : (u(), v(
|
|
3284
|
+
}, null, 8, ["src"])) : (u(), v(I, {
|
|
3304
3285
|
key: 1,
|
|
3305
3286
|
class: "mt-1",
|
|
3306
3287
|
icon: "$vuetify",
|
|
@@ -3309,21 +3290,21 @@ const Pe = q("settings", () => {
|
|
|
3309
3290
|
]),
|
|
3310
3291
|
_: 1
|
|
3311
3292
|
}, 8, ["class"])), [
|
|
3312
|
-
[
|
|
3293
|
+
[Xt, t(n).isSubscriber]
|
|
3313
3294
|
]),
|
|
3314
|
-
|
|
3295
|
+
C("div", Cs, [
|
|
3315
3296
|
i(fe, null, {
|
|
3316
3297
|
default: r(() => [
|
|
3317
|
-
t(s) ? (u(),
|
|
3318
|
-
i(
|
|
3298
|
+
t(s) ? (u(), M("div", Ls, [
|
|
3299
|
+
i(E, {
|
|
3319
3300
|
class: "pt-6 pb-1",
|
|
3320
3301
|
flat: "",
|
|
3321
3302
|
rounded: "0"
|
|
3322
3303
|
}, {
|
|
3323
3304
|
default: r(() => [
|
|
3324
|
-
|
|
3325
|
-
(u(!0),
|
|
3326
|
-
key:
|
|
3305
|
+
C("div", Hs, [
|
|
3306
|
+
(u(!0), M(U, null, K(t(a), (g, b) => (u(), v(q, {
|
|
3307
|
+
key: b,
|
|
3327
3308
|
active: t(o).avatar === g,
|
|
3328
3309
|
icon: "",
|
|
3329
3310
|
variant: "flat",
|
|
@@ -3341,23 +3322,23 @@ const Pe = q("settings", () => {
|
|
|
3341
3322
|
]),
|
|
3342
3323
|
_: 1
|
|
3343
3324
|
})
|
|
3344
|
-
])) :
|
|
3325
|
+
])) : $("", !0)
|
|
3345
3326
|
]),
|
|
3346
3327
|
_: 1
|
|
3347
3328
|
})
|
|
3348
3329
|
]),
|
|
3349
|
-
|
|
3330
|
+
C("div", ks, w(((f = t(e).user) == null ? void 0 : f.name) ?? "Guest"), 1)
|
|
3350
3331
|
]);
|
|
3351
3332
|
};
|
|
3352
3333
|
}
|
|
3353
|
-
}),
|
|
3334
|
+
}), ws = /* @__PURE__ */ L({
|
|
3354
3335
|
__name: "VoUserBadges",
|
|
3355
3336
|
setup(c) {
|
|
3356
|
-
const e =
|
|
3337
|
+
const e = z(), n = Z(), o = k(() => {
|
|
3357
3338
|
var s;
|
|
3358
3339
|
return n.github || n.discord || n.isSubscriber || ((s = e.user) == null ? void 0 : s.isAdmin);
|
|
3359
3340
|
});
|
|
3360
|
-
return (s, a) => t(o) ? (u(), v(
|
|
3341
|
+
return (s, a) => t(o) ? (u(), v(Je, {
|
|
3361
3342
|
key: 0,
|
|
3362
3343
|
class: "align-center position-absolute ms-2 d-flex ga-2 pa-2",
|
|
3363
3344
|
color: "rgba(0,0,0,.54)",
|
|
@@ -3373,70 +3354,70 @@ const Pe = q("settings", () => {
|
|
|
3373
3354
|
text: "Vuetify Administrator"
|
|
3374
3355
|
}, {
|
|
3375
3356
|
activator: r(({ props: d }) => [
|
|
3376
|
-
i(
|
|
3357
|
+
i(I, R({
|
|
3377
3358
|
color: "blue",
|
|
3378
3359
|
icon: "$vuetify"
|
|
3379
3360
|
}, d, { size: "16" }), null, 16)
|
|
3380
3361
|
]),
|
|
3381
3362
|
_: 1
|
|
3382
|
-
})) :
|
|
3363
|
+
})) : $("", !0),
|
|
3383
3364
|
t(n).isSubscriber ? (u(), v(J, {
|
|
3384
3365
|
key: 1,
|
|
3385
3366
|
location: "bottom",
|
|
3386
3367
|
text: "Vuetify One Subscriber"
|
|
3387
3368
|
}, {
|
|
3388
3369
|
activator: r(({ props: d }) => [
|
|
3389
|
-
i(
|
|
3370
|
+
i(I, R({
|
|
3390
3371
|
color: "amber-darken-2",
|
|
3391
|
-
icon: `svg:${t(
|
|
3372
|
+
icon: `svg:${t(ho)}`
|
|
3392
3373
|
}, d, { size: "16" }), null, 16, ["icon"])
|
|
3393
3374
|
]),
|
|
3394
3375
|
_: 1
|
|
3395
|
-
})) :
|
|
3376
|
+
})) : $("", !0),
|
|
3396
3377
|
t(n).github ? (u(), v(J, {
|
|
3397
3378
|
key: 2,
|
|
3398
3379
|
location: "bottom",
|
|
3399
3380
|
text: "GitHub Sponsor"
|
|
3400
3381
|
}, {
|
|
3401
3382
|
activator: r(({ props: d }) => [
|
|
3402
|
-
i(
|
|
3383
|
+
i(I, R({
|
|
3403
3384
|
color: "white",
|
|
3404
|
-
icon:
|
|
3405
|
-
}, d, { size: "16" }), null, 16
|
|
3385
|
+
icon: "$github"
|
|
3386
|
+
}, d, { size: "16" }), null, 16)
|
|
3406
3387
|
]),
|
|
3407
3388
|
_: 1
|
|
3408
|
-
})) :
|
|
3389
|
+
})) : $("", !0),
|
|
3409
3390
|
t(n).discord ? (u(), v(J, {
|
|
3410
3391
|
key: 3,
|
|
3411
3392
|
location: "bottom",
|
|
3412
3393
|
text: "Discord Subscriber"
|
|
3413
3394
|
}, {
|
|
3414
3395
|
activator: r(({ props: d }) => [
|
|
3415
|
-
i(
|
|
3396
|
+
i(I, R({
|
|
3416
3397
|
color: "white",
|
|
3417
|
-
icon:
|
|
3418
|
-
}, d, { size: "16" }), null, 16
|
|
3398
|
+
icon: "$discord"
|
|
3399
|
+
}, d, { size: "16" }), null, 16)
|
|
3419
3400
|
]),
|
|
3420
3401
|
_: 1
|
|
3421
|
-
})) :
|
|
3402
|
+
})) : $("", !0)
|
|
3422
3403
|
];
|
|
3423
3404
|
}),
|
|
3424
3405
|
_: 1
|
|
3425
|
-
})) :
|
|
3406
|
+
})) : $("", !0);
|
|
3426
3407
|
}
|
|
3427
|
-
}),
|
|
3408
|
+
}), xs = { class: "d-flex flex-grow-1 justify-end fill-height align-start" }, Ms = {
|
|
3428
3409
|
key: "reset",
|
|
3429
3410
|
class: "align-self-end"
|
|
3430
|
-
},
|
|
3411
|
+
}, Ss = /* @__PURE__ */ L({
|
|
3431
3412
|
__name: "VoUserColors",
|
|
3432
3413
|
setup(c) {
|
|
3433
|
-
const e =
|
|
3414
|
+
const e = z(), n = Z(), o = B(), s = S(!1);
|
|
3434
3415
|
function a() {
|
|
3435
3416
|
o.colors.one = "surface-light";
|
|
3436
3417
|
}
|
|
3437
3418
|
return (l, d) => {
|
|
3438
|
-
const p =
|
|
3439
|
-
return u(),
|
|
3419
|
+
const p = ws, m = $e;
|
|
3420
|
+
return u(), M(U, null, [
|
|
3440
3421
|
i(te, {
|
|
3441
3422
|
color: t(e).user ? t(o).colors.one : "surface-light",
|
|
3442
3423
|
"content-class": "d-flex align-start justify-end pa-2",
|
|
@@ -3446,23 +3427,23 @@ const Pe = q("settings", () => {
|
|
|
3446
3427
|
rounded: "0"
|
|
3447
3428
|
}, {
|
|
3448
3429
|
default: r(() => [
|
|
3449
|
-
|
|
3430
|
+
C("div", xs, [
|
|
3450
3431
|
i(p),
|
|
3451
|
-
i(
|
|
3432
|
+
i(Et, null, {
|
|
3452
3433
|
default: r(() => [
|
|
3453
|
-
|
|
3434
|
+
be(C("div", Ms, [
|
|
3454
3435
|
i(m, {
|
|
3455
3436
|
class: "ms-2 me-1",
|
|
3456
3437
|
color: "inherit",
|
|
3457
3438
|
density: "comfortable",
|
|
3458
3439
|
disabled: t(o).colors.one === "surface-light",
|
|
3459
|
-
icon: `svg:${t(
|
|
3440
|
+
icon: `svg:${t(ao)}`,
|
|
3460
3441
|
title: "Revert to Default",
|
|
3461
3442
|
variant: "text",
|
|
3462
3443
|
onClick: a
|
|
3463
3444
|
}, null, 8, ["disabled", "icon"])
|
|
3464
3445
|
], 512), [
|
|
3465
|
-
[
|
|
3446
|
+
[De, t(s)]
|
|
3466
3447
|
])
|
|
3467
3448
|
]),
|
|
3468
3449
|
_: 1
|
|
@@ -3481,7 +3462,7 @@ const Pe = q("settings", () => {
|
|
|
3481
3462
|
default: r(() => [
|
|
3482
3463
|
i(Te, { "leave-absolute": "" }, {
|
|
3483
3464
|
default: r(() => [
|
|
3484
|
-
(u(), v(
|
|
3465
|
+
(u(), v(I, {
|
|
3485
3466
|
key: String(t(s))
|
|
3486
3467
|
}))
|
|
3487
3468
|
]),
|
|
@@ -3489,14 +3470,14 @@ const Pe = q("settings", () => {
|
|
|
3489
3470
|
})
|
|
3490
3471
|
]),
|
|
3491
3472
|
_: 1
|
|
3492
|
-
}, 8, ["active", "icon", "variant"])) :
|
|
3473
|
+
}, 8, ["active", "icon", "variant"])) : $("", !0)
|
|
3493
3474
|
])
|
|
3494
3475
|
]),
|
|
3495
3476
|
_: 1
|
|
3496
3477
|
}, 8, ["color"]),
|
|
3497
3478
|
i(fe, null, {
|
|
3498
3479
|
default: r(() => [
|
|
3499
|
-
t(s) ? (u(), v(
|
|
3480
|
+
t(s) ? (u(), v(Kt, {
|
|
3500
3481
|
key: 0,
|
|
3501
3482
|
elevation: "0",
|
|
3502
3483
|
height: "250",
|
|
@@ -3509,23 +3490,23 @@ const Pe = q("settings", () => {
|
|
|
3509
3490
|
"swatches-max-height": "200",
|
|
3510
3491
|
width: "278",
|
|
3511
3492
|
"onUpdate:modelValue": d[1] || (d[1] = (f) => t(o).colors.one = f)
|
|
3512
|
-
}, null, 8, ["model-value"])) :
|
|
3493
|
+
}, null, 8, ["model-value"])) : $("", !0)
|
|
3513
3494
|
]),
|
|
3514
3495
|
_: 1
|
|
3515
3496
|
})
|
|
3516
3497
|
], 64);
|
|
3517
3498
|
};
|
|
3518
3499
|
}
|
|
3519
|
-
}),
|
|
3500
|
+
}), As = { class: "text-center mt-n9 mb-4" }, Is = /* @__PURE__ */ L({
|
|
3520
3501
|
__name: "VoUserMenu",
|
|
3521
3502
|
setup(c) {
|
|
3522
|
-
const e =
|
|
3523
|
-
return
|
|
3503
|
+
const e = je(), n = Z(), o = D();
|
|
3504
|
+
return F(() => e.banner, async () => {
|
|
3524
3505
|
var s, a;
|
|
3525
3506
|
await new Promise((l) => setTimeout(l, 300)), n.isOpen && ((a = (s = o.value) == null ? void 0 : s.updateLocation) == null || a.call(s));
|
|
3526
3507
|
}, { flush: "pre" }), (s, a) => {
|
|
3527
|
-
const l =
|
|
3528
|
-
return u(), v(t(
|
|
3508
|
+
const l = Ss, d = $s, p = bs, m = gs, f = Ht;
|
|
3509
|
+
return u(), v(t(eo), {
|
|
3529
3510
|
ref_key: "menu",
|
|
3530
3511
|
ref: o,
|
|
3531
3512
|
modelValue: t(n).isOpen,
|
|
@@ -3537,20 +3518,20 @@ const Pe = q("settings", () => {
|
|
|
3537
3518
|
location: "bottom end"
|
|
3538
3519
|
}, {
|
|
3539
3520
|
default: r(() => [
|
|
3540
|
-
i(
|
|
3521
|
+
i(E, {
|
|
3541
3522
|
border: "",
|
|
3542
3523
|
rounded: "lg",
|
|
3543
3524
|
width: "280"
|
|
3544
3525
|
}, {
|
|
3545
3526
|
default: r(() => [
|
|
3546
3527
|
i(l),
|
|
3547
|
-
|
|
3528
|
+
C("div", As, [
|
|
3548
3529
|
i(d),
|
|
3549
3530
|
i(p)
|
|
3550
3531
|
]),
|
|
3551
|
-
i(
|
|
3532
|
+
i(G),
|
|
3552
3533
|
i(m),
|
|
3553
|
-
i(
|
|
3534
|
+
i(G),
|
|
3554
3535
|
i(f)
|
|
3555
3536
|
]),
|
|
3556
3537
|
_: 1
|
|
@@ -3560,22 +3541,22 @@ const Pe = q("settings", () => {
|
|
|
3560
3541
|
}, 8, ["modelValue"]);
|
|
3561
3542
|
};
|
|
3562
3543
|
}
|
|
3563
|
-
}),
|
|
3544
|
+
}), Ds = { key: 0 }, xt = /* @__PURE__ */ L({
|
|
3564
3545
|
__name: "VoAuthBtn",
|
|
3565
3546
|
props: {
|
|
3566
3547
|
external: Boolean
|
|
3567
3548
|
},
|
|
3568
3549
|
setup(c) {
|
|
3569
|
-
const e =
|
|
3550
|
+
const e = z(), n = Z(), o = B(), { lgAndUp: s } = ve(), a = k(() => n.isOpen || !e.user ? o.colors.one === "surface-light" ? "primary" : o.colors.one : "surface-light");
|
|
3570
3551
|
return (l, d) => {
|
|
3571
|
-
const p =
|
|
3572
|
-
return u(),
|
|
3552
|
+
const p = Is, m = $e, f = Xo, g = Lt, b = so;
|
|
3553
|
+
return u(), M(U, null, [
|
|
3573
3554
|
i(f, {
|
|
3574
3555
|
"offset-y": t(e).user ? 5 : 0
|
|
3575
3556
|
}, {
|
|
3576
3557
|
default: r(() => [
|
|
3577
|
-
i(m,
|
|
3578
|
-
[`${t(s) ? "append-" : ""}icon`]: t(e).user ? void 0 : `svg:${t(
|
|
3558
|
+
i(m, R({
|
|
3559
|
+
[`${t(s) ? "append-" : ""}icon`]: t(e).user ? void 0 : `svg:${t(wo)}`
|
|
3579
3560
|
}, {
|
|
3580
3561
|
active: "",
|
|
3581
3562
|
border: !!t(e).user,
|
|
@@ -3588,11 +3569,11 @@ const Pe = q("settings", () => {
|
|
|
3588
3569
|
variant: t(e).user ? t(n).isOpen ? "outlined" : "text" : "flat"
|
|
3589
3570
|
}), {
|
|
3590
3571
|
default: r(() => [
|
|
3591
|
-
t(e).user ?
|
|
3572
|
+
t(e).user ? $("", !0) : (u(), M("span", Ds, "Login")),
|
|
3592
3573
|
t(e).user ? (u(), v(ee, {
|
|
3593
3574
|
key: 1,
|
|
3594
3575
|
image: t(o).avatar || t(e).user.picture || ""
|
|
3595
|
-
}, null, 8, ["image"])) :
|
|
3576
|
+
}, null, 8, ["image"])) : $("", !0),
|
|
3596
3577
|
i(p)
|
|
3597
3578
|
]),
|
|
3598
3579
|
_: 1
|
|
@@ -3601,24 +3582,24 @@ const Pe = q("settings", () => {
|
|
|
3601
3582
|
_: 1
|
|
3602
3583
|
}, 8, ["offset-y"]),
|
|
3603
3584
|
i(g),
|
|
3604
|
-
i(
|
|
3585
|
+
i(b)
|
|
3605
3586
|
], 64);
|
|
3606
3587
|
};
|
|
3607
3588
|
}
|
|
3608
|
-
}),
|
|
3589
|
+
}), Ts = /* @__PURE__ */ L({
|
|
3609
3590
|
__name: "VoAppBar",
|
|
3610
3591
|
props: {
|
|
3611
3592
|
logo: {}
|
|
3612
3593
|
},
|
|
3613
3594
|
setup(c) {
|
|
3614
|
-
const e = c, n =
|
|
3595
|
+
const e = c, n = Oe(), o = Ze(), s = k(() => `https://cdn.vuetifyjs.com/docs/images/one/logos/${e.logo}-logo-${n.current.value.dark ? "dark" : "light"}.png`);
|
|
3615
3596
|
return (a, l) => {
|
|
3616
|
-
const d =
|
|
3617
|
-
return u(), v(
|
|
3597
|
+
const d = st("router-link"), p = xt;
|
|
3598
|
+
return u(), v(pt, {
|
|
3618
3599
|
class: "border-b",
|
|
3619
3600
|
image: t(o).suit["app-bar"],
|
|
3620
3601
|
name: "vo-app-bar"
|
|
3621
|
-
},
|
|
3602
|
+
}, P({
|
|
3622
3603
|
prepend: r(() => [
|
|
3623
3604
|
i(d, {
|
|
3624
3605
|
class: "ps-2",
|
|
@@ -3632,90 +3613,88 @@ const Pe = q("settings", () => {
|
|
|
3632
3613
|
]),
|
|
3633
3614
|
_: 1
|
|
3634
3615
|
}),
|
|
3635
|
-
|
|
3616
|
+
T(a.$slots, "prepend")
|
|
3636
3617
|
]),
|
|
3637
3618
|
append: r(() => [
|
|
3638
|
-
|
|
3639
|
-
a.$slots.append ? (u(), v(
|
|
3619
|
+
T(a.$slots, "append"),
|
|
3620
|
+
a.$slots.append ? (u(), v(G, {
|
|
3640
3621
|
key: 0,
|
|
3641
3622
|
class: "mx-4 align-self-center h-100",
|
|
3642
3623
|
length: "20",
|
|
3643
3624
|
vertical: ""
|
|
3644
|
-
})) :
|
|
3625
|
+
})) : $("", !0),
|
|
3645
3626
|
i(p)
|
|
3646
3627
|
]),
|
|
3647
3628
|
default: r(() => [
|
|
3648
|
-
|
|
3629
|
+
T(a.$slots, "default")
|
|
3649
3630
|
]),
|
|
3650
3631
|
_: 2
|
|
3651
3632
|
}, [
|
|
3652
3633
|
a.$slots.title ? {
|
|
3653
3634
|
name: "title",
|
|
3654
3635
|
fn: r(() => [
|
|
3655
|
-
|
|
3636
|
+
T(a.$slots, "title")
|
|
3656
3637
|
]),
|
|
3657
3638
|
key: "0"
|
|
3658
3639
|
} : void 0,
|
|
3659
3640
|
a.$slots.extension ? {
|
|
3660
3641
|
name: "extension",
|
|
3661
3642
|
fn: r(() => [
|
|
3662
|
-
|
|
3643
|
+
T(a.$slots, "extension")
|
|
3663
3644
|
]),
|
|
3664
3645
|
key: "1"
|
|
3665
3646
|
} : void 0
|
|
3666
3647
|
]), 1032, ["image"]);
|
|
3667
3648
|
};
|
|
3668
3649
|
}
|
|
3669
|
-
}),
|
|
3650
|
+
}), Os = /* @__PURE__ */ L({
|
|
3670
3651
|
__name: "VoNotificationsBanner",
|
|
3671
3652
|
props: {
|
|
3672
3653
|
demo: { type: Boolean }
|
|
3673
3654
|
},
|
|
3674
3655
|
setup(c) {
|
|
3675
|
-
const e = c, { mdAndUp: n } = ve(), o =
|
|
3676
|
-
var
|
|
3677
|
-
return ((
|
|
3678
|
-
}), p =
|
|
3656
|
+
const e = c, { mdAndUp: n } = ve(), o = Ge(), s = B(), a = je(), l = k(() => a.banner), d = k(() => {
|
|
3657
|
+
var b, y;
|
|
3658
|
+
return ((b = l.value) == null ? void 0 : b.metadata.height) || ((y = l.value) != null && y.metadata.subtext ? 88 : 48);
|
|
3659
|
+
}), p = k(() => e.demo ? !0 : !l.value || !s.notifications.last.banner.includes(l.value.slug));
|
|
3679
3660
|
function m() {
|
|
3680
3661
|
l.value && s.notifications.last.banner.push(l.value.slug);
|
|
3681
3662
|
}
|
|
3682
|
-
async function f(
|
|
3663
|
+
async function f(b) {
|
|
3683
3664
|
var h;
|
|
3684
|
-
if (!l.value)
|
|
3685
|
-
|
|
3686
|
-
m(), await be();
|
|
3665
|
+
if (!l.value) return;
|
|
3666
|
+
m(), await Ve();
|
|
3687
3667
|
const y = ((h = l.value) == null ? void 0 : h.metadata) ?? { link: "" };
|
|
3688
|
-
if (y.link.indexOf("?one=") === -1)
|
|
3689
|
-
|
|
3690
|
-
V.preventDefault(), V.stopPropagation();
|
|
3668
|
+
if (y.link.indexOf("?one=") === -1) return;
|
|
3669
|
+
b.preventDefault(), b.stopPropagation();
|
|
3691
3670
|
const _ = y.link.split("?one=")[1];
|
|
3692
3671
|
o.push({ query: { one: _ } });
|
|
3693
3672
|
}
|
|
3694
|
-
const g =
|
|
3673
|
+
const g = k(() => {
|
|
3695
3674
|
var y, _;
|
|
3696
|
-
const
|
|
3675
|
+
const b = ((y = l.value) == null ? void 0 : y.metadata) ?? { link: "" };
|
|
3697
3676
|
return {
|
|
3698
|
-
href:
|
|
3699
|
-
target:
|
|
3700
|
-
to:
|
|
3677
|
+
href: b.link.startsWith("http") ? b.link : void 0,
|
|
3678
|
+
target: b.link.startsWith("http") ? "_blank" : void 0,
|
|
3679
|
+
to: b.link.startsWith("http") ? void 0 : b.link,
|
|
3701
3680
|
...(_ = l.value) == null ? void 0 : _.metadata.attributes,
|
|
3702
3681
|
onClick: f
|
|
3703
3682
|
};
|
|
3704
3683
|
});
|
|
3705
|
-
return (
|
|
3684
|
+
return (b, y) => {
|
|
3706
3685
|
var _;
|
|
3707
|
-
return t(l) ? (u(), v(
|
|
3686
|
+
return t(l) ? (u(), v(pt, {
|
|
3708
3687
|
key: 0,
|
|
3709
3688
|
color: t(l).metadata.color,
|
|
3710
3689
|
flat: "",
|
|
3711
3690
|
height: t(d),
|
|
3712
3691
|
image: (_ = t(l).metadata.images.bg) == null ? void 0 : _.url,
|
|
3713
|
-
location:
|
|
3692
|
+
location: b.demo ? "bottom" : void 0,
|
|
3714
3693
|
"model-value": t(p),
|
|
3715
3694
|
order: "-1"
|
|
3716
3695
|
}, {
|
|
3717
3696
|
default: r(() => [
|
|
3718
|
-
i(me,
|
|
3697
|
+
i(me, R(t(g), {
|
|
3719
3698
|
active: !1,
|
|
3720
3699
|
class: "flex-grow-1 py-6",
|
|
3721
3700
|
lines: "two",
|
|
@@ -3728,13 +3707,13 @@ const Pe = q("settings", () => {
|
|
|
3728
3707
|
image: t(l).metadata.images.logo.url,
|
|
3729
3708
|
size: "x-large",
|
|
3730
3709
|
tile: ""
|
|
3731
|
-
}, null, 8, ["image"])) :
|
|
3710
|
+
}, null, 8, ["image"])) : $("", !0)
|
|
3732
3711
|
]),
|
|
3733
3712
|
append: r(() => [
|
|
3734
|
-
t(n) && t(l).metadata.link && t(l).metadata.link_text ? (u(), v(
|
|
3735
|
-
default: r(({ isHovering: h, props:
|
|
3736
|
-
i(
|
|
3737
|
-
...
|
|
3713
|
+
t(n) && t(l).metadata.link && t(l).metadata.link_text ? (u(), v(Ue, { key: 0 }, {
|
|
3714
|
+
default: r(({ isHovering: h, props: V }) => [
|
|
3715
|
+
i(q, R({
|
|
3716
|
+
...V,
|
|
3738
3717
|
...t(g)
|
|
3739
3718
|
}, {
|
|
3740
3719
|
"append-icon": `svg:${t(Ne)}`,
|
|
@@ -3746,102 +3725,102 @@ const Pe = q("settings", () => {
|
|
|
3746
3725
|
onClick: f
|
|
3747
3726
|
}), {
|
|
3748
3727
|
default: r(() => [
|
|
3749
|
-
|
|
3728
|
+
O(w(t(l).metadata.link_text), 1)
|
|
3750
3729
|
]),
|
|
3751
3730
|
_: 2
|
|
3752
3731
|
}, 1040, ["append-icon", "color", "elevation", "title"])
|
|
3753
3732
|
]),
|
|
3754
3733
|
_: 1
|
|
3755
|
-
})) :
|
|
3756
|
-
t(l).metadata.closable ? (u(), v(
|
|
3734
|
+
})) : $("", !0),
|
|
3735
|
+
t(l).metadata.closable ? (u(), v(q, {
|
|
3757
3736
|
key: 1,
|
|
3758
3737
|
class: "ms-6 me-2",
|
|
3759
3738
|
density: "comfortable",
|
|
3760
|
-
disabled:
|
|
3739
|
+
disabled: b.demo,
|
|
3761
3740
|
icon: "$clear",
|
|
3762
3741
|
size: "small",
|
|
3763
3742
|
variant: "plain",
|
|
3764
|
-
onClick:
|
|
3765
|
-
}, null, 8, ["disabled"])) :
|
|
3743
|
+
onClick: qe(m, ["prevent", "stop"])
|
|
3744
|
+
}, null, 8, ["disabled"])) : $("", !0)
|
|
3766
3745
|
]),
|
|
3767
3746
|
default: r(() => [
|
|
3768
|
-
t(l).metadata.text ? (u(), v(
|
|
3747
|
+
t(l).metadata.text ? (u(), v(it, {
|
|
3769
3748
|
key: 0,
|
|
3770
3749
|
class: "text-subtitle-2 text-md-subtitle-1 font-weight-medium"
|
|
3771
3750
|
}, {
|
|
3772
3751
|
default: r(() => [
|
|
3773
|
-
|
|
3752
|
+
O(w(t(l).metadata.text), 1)
|
|
3774
3753
|
]),
|
|
3775
3754
|
_: 1
|
|
3776
|
-
})) :
|
|
3777
|
-
t(l).metadata.subtext ? (u(), v(
|
|
3755
|
+
})) : $("", !0),
|
|
3756
|
+
t(l).metadata.subtext ? (u(), v(zt, { key: 1 }, {
|
|
3778
3757
|
default: r(() => [
|
|
3779
|
-
|
|
3758
|
+
O(w(t(l).metadata.subtext), 1)
|
|
3780
3759
|
]),
|
|
3781
3760
|
_: 1
|
|
3782
|
-
})) :
|
|
3761
|
+
})) : $("", !0)
|
|
3783
3762
|
]),
|
|
3784
3763
|
_: 1
|
|
3785
3764
|
}, 16)
|
|
3786
3765
|
]),
|
|
3787
3766
|
_: 1
|
|
3788
|
-
}, 8, ["color", "height", "image", "location", "model-value"])) :
|
|
3767
|
+
}, 8, ["color", "height", "image", "location", "model-value"])) : $("", !0);
|
|
3789
3768
|
};
|
|
3790
3769
|
}
|
|
3791
|
-
}),
|
|
3770
|
+
}), Us = {
|
|
3792
3771
|
key: 0,
|
|
3793
3772
|
class: "text-uppercase position-absolute ms-auto font-weight-medium on-surface-light",
|
|
3794
3773
|
style: { right: "12px", bottom: "8px", "font-size": "10px" }
|
|
3795
|
-
},
|
|
3774
|
+
}, Mt = /* @__PURE__ */ L({
|
|
3796
3775
|
__name: "VoPromotionsCard",
|
|
3797
3776
|
props: {
|
|
3798
3777
|
caption: {},
|
|
3799
3778
|
minHeight: {}
|
|
3800
3779
|
},
|
|
3801
3780
|
setup(c) {
|
|
3802
|
-
return (e, n) => (u(), v(
|
|
3781
|
+
return (e, n) => (u(), v(E, {
|
|
3803
3782
|
class: "d-inline-flex flex-child-1 position-relative",
|
|
3804
3783
|
color: "surface-light",
|
|
3805
3784
|
flat: "",
|
|
3806
3785
|
rel: "noopener",
|
|
3807
3786
|
rounded: "",
|
|
3808
3787
|
target: "_blank"
|
|
3809
|
-
},
|
|
3788
|
+
}, P({
|
|
3810
3789
|
default: r(() => [
|
|
3811
|
-
i(
|
|
3790
|
+
i(to, {
|
|
3812
3791
|
"min-height": e.minHeight,
|
|
3813
3792
|
width: "100%"
|
|
3814
3793
|
}, {
|
|
3815
3794
|
default: r(() => [
|
|
3816
|
-
|
|
3795
|
+
T(e.$slots, "default")
|
|
3817
3796
|
]),
|
|
3818
3797
|
_: 3
|
|
3819
3798
|
}, 8, ["min-height"]),
|
|
3820
|
-
e.caption ? (u(),
|
|
3799
|
+
e.caption ? (u(), M("div", Us, w(e.caption), 1)) : $("", !0)
|
|
3821
3800
|
]),
|
|
3822
3801
|
_: 2
|
|
3823
3802
|
}, [
|
|
3824
3803
|
e.$slots.prepend ? {
|
|
3825
3804
|
name: "prepend",
|
|
3826
3805
|
fn: r(() => [
|
|
3827
|
-
|
|
3806
|
+
T(e.$slots, "prepend")
|
|
3828
3807
|
]),
|
|
3829
3808
|
key: "0"
|
|
3830
3809
|
} : void 0,
|
|
3831
3810
|
e.$slots.image ? {
|
|
3832
3811
|
name: "image",
|
|
3833
3812
|
fn: r(() => [
|
|
3834
|
-
|
|
3813
|
+
T(e.$slots, "image")
|
|
3835
3814
|
]),
|
|
3836
3815
|
key: "1"
|
|
3837
3816
|
} : void 0
|
|
3838
3817
|
]), 1024));
|
|
3839
3818
|
}
|
|
3840
|
-
}),
|
|
3841
|
-
const c = oe(), e =
|
|
3842
|
-
|
|
3819
|
+
}), et = W("promotions", () => {
|
|
3820
|
+
const c = oe(), e = D([]), n = D([]), o = D(), s = S(!1), a = S(!1), l = k(() => e.value.filter((_) => _.metadata.discoverable));
|
|
3821
|
+
Qe(p);
|
|
3843
3822
|
function d(_) {
|
|
3844
|
-
const h = _.filter((
|
|
3823
|
+
const h = _.filter((V) => V.metadata.active);
|
|
3845
3824
|
return h[Math.floor(Math.random() * h.length)];
|
|
3846
3825
|
}
|
|
3847
3826
|
async function p() {
|
|
@@ -3881,17 +3860,17 @@ const Pe = q("settings", () => {
|
|
|
3881
3860
|
async function g(_, h) {
|
|
3882
3861
|
try {
|
|
3883
3862
|
s.value = !0;
|
|
3884
|
-
const
|
|
3863
|
+
const V = await c.form(
|
|
3885
3864
|
`/one/admin/promotions/${_}`,
|
|
3886
3865
|
h
|
|
3887
3866
|
);
|
|
3888
|
-
return o.value =
|
|
3867
|
+
return o.value = V.promotion, V.promotion;
|
|
3889
3868
|
} catch {
|
|
3890
3869
|
} finally {
|
|
3891
3870
|
s.value = !1;
|
|
3892
3871
|
}
|
|
3893
3872
|
}
|
|
3894
|
-
async function
|
|
3873
|
+
async function b() {
|
|
3895
3874
|
}
|
|
3896
3875
|
async function y() {
|
|
3897
3876
|
try {
|
|
@@ -3912,40 +3891,39 @@ const Pe = q("settings", () => {
|
|
|
3912
3891
|
discoverable: l,
|
|
3913
3892
|
record: o,
|
|
3914
3893
|
admin: y,
|
|
3915
|
-
destroy:
|
|
3894
|
+
destroy: b,
|
|
3916
3895
|
index: p,
|
|
3917
3896
|
random: d,
|
|
3918
3897
|
show: m,
|
|
3919
3898
|
store: f,
|
|
3920
3899
|
update: g
|
|
3921
3900
|
};
|
|
3922
|
-
}),
|
|
3901
|
+
}), Bs = /* @__PURE__ */ L({
|
|
3923
3902
|
__name: "VoPromotionsCardHighlight",
|
|
3924
3903
|
props: {
|
|
3925
3904
|
slug: {}
|
|
3926
3905
|
},
|
|
3927
3906
|
setup(c) {
|
|
3928
|
-
const e = c, n =
|
|
3929
|
-
if (o.record)
|
|
3930
|
-
return o.record;
|
|
3907
|
+
const e = c, n = z(), o = et(), s = Oe(), a = B(), l = k(() => {
|
|
3908
|
+
if (o.record) return o.record;
|
|
3931
3909
|
if (!(n.user && a.disableAds))
|
|
3932
3910
|
return e.slug ? o.all.find((m) => m.slug === e.slug) : o.random(o.all);
|
|
3933
|
-
}), d =
|
|
3911
|
+
}), d = k(() => {
|
|
3934
3912
|
var f, g;
|
|
3935
3913
|
const m = s.current.value.dark ? "logodark" : "logolight";
|
|
3936
3914
|
return (g = (f = l.value) == null ? void 0 : f.metadata.images[m]) == null ? void 0 : g.url;
|
|
3937
|
-
}), p =
|
|
3915
|
+
}), p = k(() => {
|
|
3938
3916
|
var f, g;
|
|
3939
3917
|
const m = s.current.value.dark ? "bgdark" : "bglight";
|
|
3940
3918
|
return (g = (f = l.value) == null ? void 0 : f.metadata.images[m]) == null ? void 0 : g.url;
|
|
3941
3919
|
});
|
|
3942
3920
|
return (m, f) => {
|
|
3943
|
-
var
|
|
3944
|
-
const g =
|
|
3921
|
+
var b, y, _;
|
|
3922
|
+
const g = Mt;
|
|
3945
3923
|
return t(l) || !t(o).hasLoaded ? (u(), v(g, {
|
|
3946
3924
|
key: 0,
|
|
3947
3925
|
class: "mb-4",
|
|
3948
|
-
color: ((
|
|
3926
|
+
color: ((b = t(l)) == null ? void 0 : b.metadata.color) ?? "surface",
|
|
3949
3927
|
height: "60",
|
|
3950
3928
|
href: (y = t(l)) == null ? void 0 : y.metadata.url,
|
|
3951
3929
|
image: t(p),
|
|
@@ -3953,9 +3931,9 @@ const Pe = q("settings", () => {
|
|
|
3953
3931
|
"prepend-avatar": t(d),
|
|
3954
3932
|
title: (_ = t(l)) == null ? void 0 : _.metadata.short_text,
|
|
3955
3933
|
width: "100%"
|
|
3956
|
-
},
|
|
3934
|
+
}, P({
|
|
3957
3935
|
default: r(() => [
|
|
3958
|
-
t(o).hasLoaded ?
|
|
3936
|
+
t(o).hasLoaded ? $("", !0) : (u(), v(ye, {
|
|
3959
3937
|
key: 0,
|
|
3960
3938
|
class: "flex-1-0 overflow-hidden",
|
|
3961
3939
|
color: "transparent",
|
|
@@ -3984,24 +3962,23 @@ const Pe = q("settings", () => {
|
|
|
3984
3962
|
]),
|
|
3985
3963
|
key: "1"
|
|
3986
3964
|
} : void 0
|
|
3987
|
-
]), 1032, ["color", "href", "image", "prepend-avatar", "title"])) :
|
|
3965
|
+
]), 1032, ["color", "href", "image", "prepend-avatar", "title"])) : $("", !0);
|
|
3988
3966
|
};
|
|
3989
3967
|
}
|
|
3990
|
-
}),
|
|
3968
|
+
}), Ns = { class: "d-flex ga-4" }, Fs = { class: "d-flex align-start ga-4" }, Zs = { class: "text-caption on-surface-light" }, zs = /* @__PURE__ */ L({
|
|
3991
3969
|
__name: "VoPromotionsCardVuetify",
|
|
3992
3970
|
props: {
|
|
3993
3971
|
slug: {}
|
|
3994
3972
|
},
|
|
3995
3973
|
setup(c) {
|
|
3996
|
-
const e = c, n =
|
|
3997
|
-
if (o.record)
|
|
3998
|
-
return o.record;
|
|
3974
|
+
const e = c, n = z(), o = et(), s = B(), a = k(() => {
|
|
3975
|
+
if (o.record) return o.record;
|
|
3999
3976
|
if (!(n.user && s.disableAds && !s.showHouseAds))
|
|
4000
3977
|
return e.slug ? o.all.find((l) => l.slug === e.slug) : o.random(o.all);
|
|
4001
3978
|
});
|
|
4002
3979
|
return (l, d) => {
|
|
4003
3980
|
var m, f;
|
|
4004
|
-
const p =
|
|
3981
|
+
const p = Mt;
|
|
4005
3982
|
return t(a) || !t(o).hasLoaded ? (u(), v(p, {
|
|
4006
3983
|
key: 0,
|
|
4007
3984
|
border: "",
|
|
@@ -4011,23 +3988,23 @@ const Pe = q("settings", () => {
|
|
|
4011
3988
|
width: "360"
|
|
4012
3989
|
}, {
|
|
4013
3990
|
default: r(() => {
|
|
4014
|
-
var g,
|
|
3991
|
+
var g, b, y;
|
|
4015
3992
|
return [
|
|
4016
|
-
|
|
4017
|
-
t(o).hasLoaded ? t(a) ? (u(),
|
|
3993
|
+
C("div", Ns, [
|
|
3994
|
+
t(o).hasLoaded ? t(a) ? (u(), M(U, { key: 1 }, [
|
|
4018
3995
|
i(te, {
|
|
4019
3996
|
cover: "",
|
|
4020
3997
|
height: "100",
|
|
4021
3998
|
"max-width": "130",
|
|
4022
3999
|
position: "right",
|
|
4023
4000
|
rounded: "s",
|
|
4024
|
-
src: (
|
|
4001
|
+
src: (b = (g = t(a).metadata) == null ? void 0 : g.images.default) == null ? void 0 : b.url,
|
|
4025
4002
|
width: "100%"
|
|
4026
4003
|
}, null, 8, ["src"]),
|
|
4027
|
-
|
|
4028
|
-
|
|
4004
|
+
C("div", Fs, [
|
|
4005
|
+
C("div", Zs, w((y = t(a).metadata) == null ? void 0 : y.text), 1)
|
|
4029
4006
|
])
|
|
4030
|
-
], 64)) :
|
|
4007
|
+
], 64)) : $("", !0) : (u(), M(U, { key: 0 }, [
|
|
4031
4008
|
i(ye, {
|
|
4032
4009
|
class: "flex-1-0 overflow-hidden",
|
|
4033
4010
|
color: "transparent",
|
|
@@ -4048,75 +4025,74 @@ const Pe = q("settings", () => {
|
|
|
4048
4025
|
];
|
|
4049
4026
|
}),
|
|
4050
4027
|
_: 1
|
|
4051
|
-
}, 8, ["href"])) :
|
|
4028
|
+
}, 8, ["href"])) : $("", !0);
|
|
4052
4029
|
};
|
|
4053
4030
|
}
|
|
4054
|
-
}),
|
|
4031
|
+
}), js = {
|
|
4055
4032
|
key: 0,
|
|
4056
4033
|
class: "v-footer__image"
|
|
4057
|
-
},
|
|
4034
|
+
}, Ps = /* @__PURE__ */ L({
|
|
4058
4035
|
__name: "VoFooter",
|
|
4059
4036
|
props: {
|
|
4060
4037
|
image: {}
|
|
4061
4038
|
},
|
|
4062
4039
|
setup(c) {
|
|
4063
|
-
return (e, n) => (u(), v(
|
|
4040
|
+
return (e, n) => (u(), v(oo, {
|
|
4064
4041
|
class: "vo-footer",
|
|
4065
4042
|
height: "40"
|
|
4066
4043
|
}, {
|
|
4067
4044
|
default: r(() => [
|
|
4068
|
-
e.image || e.$slots.image ? (u(),
|
|
4069
|
-
e.$slots.image ?
|
|
4045
|
+
e.image || e.$slots.image ? (u(), M("div", js, [
|
|
4046
|
+
e.$slots.image ? T(e.$slots, "image", { key: 0 }, void 0, !0) : (u(), v(te, {
|
|
4070
4047
|
key: 1,
|
|
4071
4048
|
cover: "",
|
|
4072
4049
|
position: "left",
|
|
4073
4050
|
src: e.image
|
|
4074
4051
|
}, null, 8, ["src"]))
|
|
4075
|
-
])) :
|
|
4076
|
-
|
|
4052
|
+
])) : $("", !0),
|
|
4053
|
+
T(e.$slots, "default", {}, void 0, !0)
|
|
4077
4054
|
]),
|
|
4078
4055
|
_: 3
|
|
4079
4056
|
}));
|
|
4080
4057
|
}
|
|
4081
|
-
}),
|
|
4058
|
+
}), St = (c, e) => {
|
|
4082
4059
|
const n = c.__vccOpts || c;
|
|
4083
4060
|
for (const [o, s] of e)
|
|
4084
4061
|
n[o] = s;
|
|
4085
4062
|
return n;
|
|
4086
|
-
},
|
|
4063
|
+
}, At = /* @__PURE__ */ St(Ps, [["__scopeId", "data-v-3135ada5"]]), Rs = ["href"], Es = /* @__PURE__ */ L({
|
|
4087
4064
|
__name: "VoPromotionsFooter",
|
|
4088
4065
|
props: {
|
|
4089
4066
|
slug: {}
|
|
4090
4067
|
},
|
|
4091
4068
|
setup(c) {
|
|
4092
|
-
const e = c, n =
|
|
4093
|
-
if (o.record)
|
|
4094
|
-
return o.record;
|
|
4069
|
+
const e = c, n = z(), o = et(), s = B(), a = Oe(), l = k(() => {
|
|
4070
|
+
if (o.record) return o.record;
|
|
4095
4071
|
if (!(n.user && s.disableAds))
|
|
4096
4072
|
return e.slug ? o.all.find((m) => m.slug === e.slug) : o.random(o.all);
|
|
4097
|
-
}), d =
|
|
4073
|
+
}), d = k(() => {
|
|
4098
4074
|
var f, g;
|
|
4099
4075
|
const m = a.current.value.dark ? "logodark" : "logolight";
|
|
4100
4076
|
return (g = (f = l.value) == null ? void 0 : f.metadata.images[m]) == null ? void 0 : g.url;
|
|
4101
|
-
}), p =
|
|
4077
|
+
}), p = k(() => {
|
|
4102
4078
|
var f, g;
|
|
4103
4079
|
const m = a.current.value.dark ? "bgdark" : "bglight";
|
|
4104
4080
|
return (g = (f = l.value) == null ? void 0 : f.metadata.images[m]) == null ? void 0 : g.url;
|
|
4105
4081
|
});
|
|
4106
|
-
return
|
|
4082
|
+
return Qe(async () => {
|
|
4107
4083
|
e.slug && await o.show(e.slug);
|
|
4108
4084
|
}), (m, f) => {
|
|
4109
|
-
var
|
|
4110
|
-
const g =
|
|
4085
|
+
var b;
|
|
4086
|
+
const g = At;
|
|
4111
4087
|
return u(), v(g, {
|
|
4112
|
-
color: ((
|
|
4088
|
+
color: ((b = t(l)) == null ? void 0 : b.metadata.color) ?? "surface",
|
|
4113
4089
|
image: t(p),
|
|
4114
4090
|
style: { transform: "translateY(0)" }
|
|
4115
4091
|
}, {
|
|
4116
4092
|
default: r(() => {
|
|
4117
4093
|
var y, _, h;
|
|
4118
4094
|
return [
|
|
4119
|
-
|
|
4095
|
+
C("a", {
|
|
4120
4096
|
class: "d-flex align-center text-decoration-none py-2 px-4 ms-n4 flex-1-0 me-n4 position-relative",
|
|
4121
4097
|
href: (y = t(l)) == null ? void 0 : y.metadata.url,
|
|
4122
4098
|
rel: "noopener noreferrer",
|
|
@@ -4129,7 +4105,7 @@ const Pe = q("settings", () => {
|
|
|
4129
4105
|
image: t(d),
|
|
4130
4106
|
size: "24"
|
|
4131
4107
|
}, null, 8, ["image"]),
|
|
4132
|
-
|
|
4108
|
+
C("div", null, w((_ = t(l)) == null ? void 0 : _.metadata.text), 1),
|
|
4133
4109
|
(h = t(l)) != null && h.metadata.advertisement ? (u(), v(X, {
|
|
4134
4110
|
key: 0,
|
|
4135
4111
|
class: "ms-auto me-n4 align-self-end mb-n2 py-1 ps-3",
|
|
@@ -4137,15 +4113,15 @@ const Pe = q("settings", () => {
|
|
|
4137
4113
|
size: "x-small",
|
|
4138
4114
|
text: "SPONSORED",
|
|
4139
4115
|
variant: "flat"
|
|
4140
|
-
})) :
|
|
4141
|
-
], 8,
|
|
4116
|
+
})) : $("", !0)
|
|
4117
|
+
], 8, Rs)
|
|
4142
4118
|
];
|
|
4143
4119
|
}),
|
|
4144
4120
|
_: 1
|
|
4145
4121
|
}, 8, ["color", "image"]);
|
|
4146
4122
|
};
|
|
4147
4123
|
}
|
|
4148
|
-
}),
|
|
4124
|
+
}), Ws = ["id"], qs = /* @__PURE__ */ L({
|
|
4149
4125
|
__name: "VoScript",
|
|
4150
4126
|
props: {
|
|
4151
4127
|
id: {
|
|
@@ -4163,29 +4139,29 @@ const Pe = q("settings", () => {
|
|
|
4163
4139
|
},
|
|
4164
4140
|
emits: ["script:error", "script:load"],
|
|
4165
4141
|
setup(c, { emit: e }) {
|
|
4166
|
-
const n = c, o = e, s =
|
|
4167
|
-
return
|
|
4142
|
+
const n = c, o = e, s = D(), a = D();
|
|
4143
|
+
return Qe(async () => {
|
|
4168
4144
|
const l = document.createElement("script"), d = () => o("script:error");
|
|
4169
4145
|
l.type = "text/javascript", l.id = n.scriptId, l.src = n.src, l.onload = () => o("script:load"), l.onerror = d, a.value = l;
|
|
4170
|
-
}),
|
|
4146
|
+
}), Ie(() => {
|
|
4171
4147
|
var l;
|
|
4172
4148
|
a.value && ((l = s.value) == null || l.appendChild(a.value));
|
|
4173
|
-
}),
|
|
4149
|
+
}), Ut(() => {
|
|
4174
4150
|
var l;
|
|
4175
4151
|
a.value && ((l = s.value) == null || l.removeChild(a.value));
|
|
4176
|
-
}), (l, d) => (u(),
|
|
4152
|
+
}), (l, d) => (u(), M("div", {
|
|
4177
4153
|
id: c.id,
|
|
4178
4154
|
ref_key: "rootEl",
|
|
4179
4155
|
ref: s
|
|
4180
|
-
}, null, 8,
|
|
4156
|
+
}, null, 8, Ws));
|
|
4181
4157
|
}
|
|
4182
|
-
}), Qs = (c) => (
|
|
4158
|
+
}), Qs = (c) => (Bt("data-v-d01d30e4"), c = c(), Nt(), c), Gs = ["href", "title"], Ys = {
|
|
4183
4159
|
class: "text-caption text-disabled",
|
|
4184
4160
|
style: { position: "absolute", right: "16px" }
|
|
4185
|
-
},
|
|
4161
|
+
}, Js = /* @__PURE__ */ Qs(() => /* @__PURE__ */ C("span", { class: "d-none d-sm-inline-block" }, "Vuetify, LLC", -1)), Xs = /* @__PURE__ */ L({
|
|
4186
4162
|
__name: "VoSocialFooter",
|
|
4187
4163
|
setup(c) {
|
|
4188
|
-
const e =
|
|
4164
|
+
const e = Ze(), n = [
|
|
4189
4165
|
{
|
|
4190
4166
|
title: "Vuetify Documentation",
|
|
4191
4167
|
icon: "$vuetify",
|
|
@@ -4193,39 +4169,39 @@ const Pe = q("settings", () => {
|
|
|
4193
4169
|
},
|
|
4194
4170
|
{
|
|
4195
4171
|
title: "Vuetify Support",
|
|
4196
|
-
icon: `svg:${
|
|
4172
|
+
icon: `svg:${To}`,
|
|
4197
4173
|
href: "https://support.vuetifyjs.com/"
|
|
4198
4174
|
},
|
|
4199
4175
|
{
|
|
4200
4176
|
title: "Vuetify X",
|
|
4201
|
-
icon: "
|
|
4177
|
+
icon: "$x",
|
|
4202
4178
|
href: "https://x.com/vuetifyjs"
|
|
4203
4179
|
},
|
|
4204
4180
|
{
|
|
4205
4181
|
title: "Vuetify GitHub",
|
|
4206
|
-
icon:
|
|
4182
|
+
icon: "$github",
|
|
4207
4183
|
href: "https://github.com/vuetifyjs/vuetify"
|
|
4208
4184
|
},
|
|
4209
4185
|
{
|
|
4210
4186
|
title: "Vuetify Discord",
|
|
4211
|
-
icon:
|
|
4187
|
+
icon: "$discord",
|
|
4212
4188
|
href: "https://community.vuetifyjs.com/"
|
|
4213
4189
|
},
|
|
4214
4190
|
{
|
|
4215
4191
|
title: "Vuetify Reddit",
|
|
4216
|
-
icon:
|
|
4192
|
+
icon: "$reddit",
|
|
4217
4193
|
href: "https://reddit.com/r/vuetifyjs"
|
|
4218
4194
|
}
|
|
4219
4195
|
];
|
|
4220
4196
|
return (o, s) => {
|
|
4221
|
-
const a =
|
|
4197
|
+
const a = At;
|
|
4222
4198
|
return u(), v(a, {
|
|
4223
4199
|
class: "vo-footer",
|
|
4224
4200
|
height: "40",
|
|
4225
4201
|
image: t(e).suit.footer
|
|
4226
|
-
},
|
|
4202
|
+
}, P({
|
|
4227
4203
|
default: r(() => [
|
|
4228
|
-
(u(),
|
|
4204
|
+
(u(), M(U, null, K(n, (l) => C("a", {
|
|
4229
4205
|
key: l.title,
|
|
4230
4206
|
class: "d-inline-block mx-2 social-link",
|
|
4231
4207
|
href: l.href,
|
|
@@ -4233,14 +4209,14 @@ const Pe = q("settings", () => {
|
|
|
4233
4209
|
target: "_blank",
|
|
4234
4210
|
title: l.title
|
|
4235
4211
|
}, [
|
|
4236
|
-
i(
|
|
4212
|
+
i(I, {
|
|
4237
4213
|
icon: l.icon,
|
|
4238
4214
|
size: l.icon === "$vuetify" ? 24 : 16
|
|
4239
4215
|
}, null, 8, ["icon", "size"])
|
|
4240
|
-
], 8,
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4216
|
+
], 8, Gs)), 64)),
|
|
4217
|
+
C("div", Ys, [
|
|
4218
|
+
O(" © 2016-" + w((/* @__PURE__ */ new Date()).getFullYear()) + " ", 1),
|
|
4219
|
+
Js
|
|
4244
4220
|
])
|
|
4245
4221
|
]),
|
|
4246
4222
|
_: 2
|
|
@@ -4248,15 +4224,15 @@ const Pe = q("settings", () => {
|
|
|
4248
4224
|
o.$slots.image ? {
|
|
4249
4225
|
name: "image",
|
|
4250
4226
|
fn: r(() => [
|
|
4251
|
-
|
|
4227
|
+
T(o.$slots, "image", {}, void 0, !0)
|
|
4252
4228
|
]),
|
|
4253
4229
|
key: "0"
|
|
4254
4230
|
} : void 0
|
|
4255
4231
|
]), 1032, ["image"]);
|
|
4256
4232
|
};
|
|
4257
4233
|
}
|
|
4258
|
-
}),
|
|
4259
|
-
const c = oe(), e =
|
|
4234
|
+
}), Ks = /* @__PURE__ */ St(Xs, [["__scopeId", "data-v-d01d30e4"]]), ea = W("spots", () => {
|
|
4235
|
+
const c = oe(), e = Ke(), n = D([]), o = D([]), s = D(), a = S(!1), l = k(() => s.value ? s.value : n.value.find(({
|
|
4260
4236
|
metadata: {
|
|
4261
4237
|
site: y,
|
|
4262
4238
|
active: _
|
|
@@ -4311,7 +4287,7 @@ const Pe = q("settings", () => {
|
|
|
4311
4287
|
}
|
|
4312
4288
|
async function g() {
|
|
4313
4289
|
}
|
|
4314
|
-
async function
|
|
4290
|
+
async function b() {
|
|
4315
4291
|
try {
|
|
4316
4292
|
a.value = !0;
|
|
4317
4293
|
const y = await c.get("/one/admin/spots");
|
|
@@ -4328,20 +4304,20 @@ const Pe = q("settings", () => {
|
|
|
4328
4304
|
isLoading: a,
|
|
4329
4305
|
spot: l,
|
|
4330
4306
|
record: s,
|
|
4331
|
-
admin:
|
|
4307
|
+
admin: b,
|
|
4332
4308
|
index: d,
|
|
4333
4309
|
show: p,
|
|
4334
4310
|
store: m,
|
|
4335
4311
|
update: f,
|
|
4336
4312
|
destroy: g
|
|
4337
4313
|
};
|
|
4338
|
-
}),
|
|
4314
|
+
}), ta = ["href"], oa = /* @__PURE__ */ L({
|
|
4339
4315
|
__name: "VoSpot",
|
|
4340
4316
|
setup(c) {
|
|
4341
|
-
const e =
|
|
4317
|
+
const e = ea();
|
|
4342
4318
|
return (n, o) => {
|
|
4343
4319
|
var s;
|
|
4344
|
-
return t(e).spot ? (u(),
|
|
4320
|
+
return t(e).spot ? (u(), M("a", {
|
|
4345
4321
|
key: 0,
|
|
4346
4322
|
href: t(e).spot.metadata.href,
|
|
4347
4323
|
rel: "noopener noreferrer sponsored",
|
|
@@ -4354,14 +4330,35 @@ const Pe = q("settings", () => {
|
|
|
4354
4330
|
src: (s = t(e).spot.metadata.image) == null ? void 0 : s.url,
|
|
4355
4331
|
width: "225"
|
|
4356
4332
|
}, null, 8, ["color", "src"])
|
|
4357
|
-
], 8,
|
|
4333
|
+
], 8, ta)) : $("", !0);
|
|
4358
4334
|
};
|
|
4359
4335
|
}
|
|
4360
|
-
}),
|
|
4361
|
-
|
|
4362
|
-
|
|
4336
|
+
}), Ra = {
|
|
4337
|
+
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"],
|
|
4338
|
+
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"],
|
|
4339
|
+
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",
|
|
4340
|
+
x: ["M2.04875 3.00002L9.77052 13.3248L1.99998 21.7192H3.74882L10.5519 14.3697L16.0486 21.7192H22L13.8437 10.8137L21.0765 3.00002H19.3277L13.0624 9.76874L8.0001 3.00002H2.04875ZM4.62054 4.28821H7.35461L19.4278 20.4308H16.6937L4.62054 4.28821Z"],
|
|
4341
|
+
"vuetify-bin": [
|
|
4342
|
+
["M18.9112 5.03206L3.68692 8.88953C3.68692 8.88953 2.00252 6.21666 2 6.21428C2.02517 6.20794 18.6159 2.00476 18.6394 2L18.8944 4.8489L18.9095 5.01937L18.9112 5.03285V5.03206Z", 0.6],
|
|
4343
|
+
["M19.4556 10.9994C19.4556 10.9994 7.06082 14.1417 7.05915 14.1386L5.3739 11.4641C5.41836 11.453 18.4582 8.14817 18.4993 8.13945L19.1838 7.9658L19.4556 10.9994Z", 1],
|
|
4344
|
+
"M20 17.0652C19.9916 17.0675 14.6826 18.4123 14.6742 18.4147C14.6994 17.3633 14.3353 16.3579 13.712 15.5563L19.7274 14.0331L20 17.066V17.0652Z",
|
|
4345
|
+
["M12.353 16.0368C9.07567 12.843 3.90082 17.0493 6.66818 20.5975C9.94136 24.3844 15.773 19.6984 12.353 16.0368ZM11.1267 19.4129C10.2224 20.7664 7.79139 20.1099 7.82746 18.4686C8.04976 15.4897 12.7112 16.8495 11.1267 19.4129Z", 0.6]
|
|
4346
|
+
],
|
|
4347
|
+
"vuetify-play": [
|
|
4348
|
+
"m6.376 13.184-4.11-7.192C1.505 4.66 2.467 3 4.003 3h8.532l-.953 1.576-.006.01-.396.677c-.429.732-.214 1.507.194 2.015.404.503 1.092.878 1.869.806a3.72 3.72 0 0 1 1.005.022c.276.053.434.143.523.237.138.146.38.635-.25 2.09-.893 1.63-1.553 1.722-1.847 1.677-.213-.033-.468-.158-.756-.406a4.95 4.95 0 0 1-.8-.927c-.39-.564-1.04-.84-1.66-.846-.625-.006-1.316.27-1.693.921l-.478.826-.911 1.506Z",
|
|
4349
|
+
["M9.093 11.552c.046-.079.144-.15.32-.148a.53.53 0 0 1 .43.207c.285.414.636.847 1.046 1.2.405.35.914.662 1.516.754 1.334.205 2.502-.698 3.48-2.495l.014-.028.013-.03c.687-1.574.774-2.852-.005-3.675-.37-.391-.861-.586-1.333-.676a5.243 5.243 0 0 0-1.447-.044c-.173.016-.393-.073-.54-.257-.145-.18-.127-.316-.082-.392l.393-.672L14.287 3h5.71c1.536 0 2.499 1.659 1.737 2.992l-7.997 13.996c-.768 1.344-2.706 1.344-3.473 0l-3.037-5.314 1.377-2.278.004-.006.004-.007.481-.831Z", 0.6]
|
|
4350
|
+
],
|
|
4351
|
+
"vuetify-studio": [
|
|
4352
|
+
["M12.435 14.3194L12 21L6.87046 12.2799L12.435 14.3194Z", 1],
|
|
4353
|
+
["M22 4L12.435 14.3194L6.87046 12.2799L9.26479 7.61064L12.435 14.3194L12 21L22 4Z", 0.5],
|
|
4354
|
+
["M12.435 14.3194L22 4L9.26479 7.61064L12.435 14.3194Z", 1],
|
|
4355
|
+
["M2 4L6.87046 12.2799L9.26479 7.61064L2 4Z", 1]
|
|
4356
|
+
]
|
|
4357
|
+
}, Ea = W("bins", () => {
|
|
4358
|
+
const c = z(), e = oe(), n = D([]), o = D(), s = S(!1), a = S(-1), l = k(() => !c.user || !o.value ? !1 : c.user.id === o.value.owner.id), d = k(() => n.value.filter((h) => h.favorite)), p = k(() => n.value.filter((h) => h.pinned));
|
|
4359
|
+
F(o, () => {
|
|
4363
4360
|
window.clearTimeout(a.value), a.value = window.setTimeout(() => {
|
|
4364
|
-
!o.value || !l.value ||
|
|
4361
|
+
!o.value || !l.value || b(o.value, o.value.id);
|
|
4365
4362
|
}, 100);
|
|
4366
4363
|
}, { deep: !0 });
|
|
4367
4364
|
async function m() {
|
|
@@ -4377,7 +4374,7 @@ const Pe = q("settings", () => {
|
|
|
4377
4374
|
}
|
|
4378
4375
|
async function f(h) {
|
|
4379
4376
|
try {
|
|
4380
|
-
s.value = !0, await e.delete(`/one/bins/${h}`), n.value = n.value.filter((
|
|
4377
|
+
s.value = !0, await e.delete(`/one/bins/${h}`), n.value = n.value.filter((V) => V.id !== h);
|
|
4381
4378
|
} catch {
|
|
4382
4379
|
} finally {
|
|
4383
4380
|
s.value = !1;
|
|
@@ -4387,30 +4384,30 @@ const Pe = q("settings", () => {
|
|
|
4387
4384
|
async function g(h) {
|
|
4388
4385
|
try {
|
|
4389
4386
|
s.value = !0;
|
|
4390
|
-
const
|
|
4391
|
-
return n.value.push(
|
|
4387
|
+
const V = await e.post("/one/bins", { bin: h });
|
|
4388
|
+
return n.value.push(V.bin), o.value = V.bin, V;
|
|
4392
4389
|
} catch {
|
|
4393
4390
|
} finally {
|
|
4394
4391
|
s.value = !1;
|
|
4395
4392
|
}
|
|
4396
4393
|
return { bin: h };
|
|
4397
4394
|
}
|
|
4398
|
-
async function
|
|
4395
|
+
async function b(h, V) {
|
|
4399
4396
|
try {
|
|
4400
4397
|
s.value = !0;
|
|
4401
|
-
const
|
|
4402
|
-
n.value.splice(
|
|
4398
|
+
const N = await e.post(`/one/bins/${V}`, { bin: h }), A = n.value.findIndex((j) => j.id === V);
|
|
4399
|
+
n.value.splice(A, 1, N.bin);
|
|
4403
4400
|
} catch {
|
|
4404
4401
|
} finally {
|
|
4405
4402
|
s.value = !1;
|
|
4406
4403
|
}
|
|
4407
4404
|
return { bin: h };
|
|
4408
4405
|
}
|
|
4409
|
-
async function y(h,
|
|
4406
|
+
async function y(h, V) {
|
|
4410
4407
|
try {
|
|
4411
4408
|
s.value = !0;
|
|
4412
|
-
const
|
|
4413
|
-
o.value =
|
|
4409
|
+
const N = V ? await b(h, V) : await g(h);
|
|
4410
|
+
o.value = N.bin;
|
|
4414
4411
|
} catch {
|
|
4415
4412
|
} finally {
|
|
4416
4413
|
s.value = !1;
|
|
@@ -4420,8 +4417,8 @@ const Pe = q("settings", () => {
|
|
|
4420
4417
|
async function _(h) {
|
|
4421
4418
|
try {
|
|
4422
4419
|
s.value = !0;
|
|
4423
|
-
const
|
|
4424
|
-
o.value =
|
|
4420
|
+
const V = await e.get(`/one/bins/${h}`);
|
|
4421
|
+
o.value = V.bin;
|
|
4425
4422
|
} catch {
|
|
4426
4423
|
} finally {
|
|
4427
4424
|
s.value = !1;
|
|
@@ -4439,14 +4436,13 @@ const Pe = q("settings", () => {
|
|
|
4439
4436
|
current: o,
|
|
4440
4437
|
find: _,
|
|
4441
4438
|
get: m,
|
|
4442
|
-
update:
|
|
4439
|
+
update: b,
|
|
4443
4440
|
updateOrCreate: y
|
|
4444
4441
|
};
|
|
4445
|
-
}),
|
|
4446
|
-
const c = oe(), e =
|
|
4442
|
+
}), Wa = W("products", () => {
|
|
4443
|
+
const c = oe(), e = D([]), n = k(() => e.value.filter((a) => a.product_type === "Themes"));
|
|
4447
4444
|
async function o() {
|
|
4448
|
-
if (e.value.length)
|
|
4449
|
-
return e.value;
|
|
4445
|
+
if (e.value.length) return e.value;
|
|
4450
4446
|
try {
|
|
4451
4447
|
const a = await c.get("/one/shopify/products");
|
|
4452
4448
|
e.value = a.products;
|
|
@@ -4464,9 +4460,9 @@ const Pe = q("settings", () => {
|
|
|
4464
4460
|
randomize: s
|
|
4465
4461
|
};
|
|
4466
4462
|
});
|
|
4467
|
-
function
|
|
4463
|
+
function qa() {
|
|
4468
4464
|
function c(e) {
|
|
4469
|
-
e.component("VoAppBar",
|
|
4465
|
+
e.component("VoAppBar", Ts), e.component("VoAuthBtn", xt), e.component("VoAuthCard", Ct), e.component("VoAuthDialog", Lt), e.component("VoAuthListItem", Ht), e.component("VoIconBin", wt), e.component("VoIconIssues", $t), e.component("VoNotificationsBanner", Os), e.component("VoPromotionsCardHighlight", Bs), e.component("VoPromotionsCardVuetify", zs), e.component("VoPromotionsFooter", Es), e.component("VoScript", qs), e.component("VoSocialFooter", Ks), e.component("VoSpot", oa);
|
|
4470
4466
|
}
|
|
4471
4467
|
return { install: c };
|
|
4472
4468
|
}
|
|
@@ -4477,17 +4473,18 @@ function Qa(c, e) {
|
|
|
4477
4473
|
};
|
|
4478
4474
|
}
|
|
4479
4475
|
export {
|
|
4480
|
-
|
|
4476
|
+
Ra as aliases,
|
|
4477
|
+
qa as createOne,
|
|
4481
4478
|
Qa as one,
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
|
|
4479
|
+
z as useAuthStore,
|
|
4480
|
+
je as useBannersStore,
|
|
4481
|
+
Ea as useBinsStore,
|
|
4485
4482
|
oe as useHttpStore,
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4483
|
+
Z as useOneStore,
|
|
4484
|
+
Wa as useProductsStore,
|
|
4485
|
+
et as usePromotionsStore,
|
|
4486
|
+
no as useQueueStore,
|
|
4487
|
+
Ze as useSettingsStore,
|
|
4488
|
+
ea as useSpotsStore,
|
|
4489
|
+
B as useUserStore
|
|
4493
4490
|
};
|