@cling-se/widget 0.19.6 → 0.19.8
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/CHANGELOG.md +15 -1
- package/dist/{AddClientCallout-DtVRTCr_.js → AddClientCallout-sPxYX5tQ.js} +18 -18
- package/dist/{AnswerModal-ClyWtHBj.js → AnswerModal-o8OHHulg.js} +80 -80
- package/dist/{AttachmentItem-COoLlAum.js → AttachmentItem-CzzOlHB-.js} +16 -16
- package/dist/{BaseUpload-DlaYaxxr.js → BaseUpload-oZQfFwOj.js} +256 -256
- package/dist/{BlockMedia-IMu4YO3J.js → BlockMedia-BGPxfM2X.js} +16 -16
- package/dist/{CCallout-C32zwICP.js → CCallout-CrbMGTIj.js} +15 -15
- package/dist/{CCurrencyDropdown-D4ZxTioo.js → CCurrencyDropdown-BnNDP51j.js} +13 -13
- package/dist/{CDropdownItem-BuQONogL.js → CDropdownItem-E-kRDIiy.js} +6 -6
- package/dist/{CFormField.vue_vue_type_script_setup_true_lang-KdkAe_wn.js → CFormField.vue_vue_type_script_setup_true_lang-Bi0MjQdW.js} +25 -25
- package/dist/{CPhoneFormat-C2K78cmZ.js → CPhoneFormat-CIQAVdsB.js} +1 -1
- package/dist/{CPhoneInput-DolVFzrL.js → CPhoneInput-9AwTJm-0.js} +21 -21
- package/dist/{CPriceInput-SbRlrDnD.js → CPriceInput-agFahtr1.js} +11 -11
- package/dist/CSelect-BpautzPq.js +129 -0
- package/dist/CSkeleton-GIqd-JU4.js +47 -0
- package/dist/{ClientAutocomplete-vgxEGqNU.js → ClientAutocomplete-DOHX9Igy.js} +26 -26
- package/dist/{ClientModal-B8ip7v99.js → ClientModal-DAXKN_b3.js} +35 -35
- package/dist/{ColorPicker-BrfM9S1s.js → ColorPicker-B9F8znY_.js} +82 -82
- package/dist/{CompanyModal-DJZezqM5.js → CompanyModal-BvIMVys6.js} +27 -27
- package/dist/{ContentWrapper-zJ4MCnSC.js → ContentWrapper-DB22RaUr.js} +24 -24
- package/dist/{CoverBlockSettings-Cz0NUYXX.js → CoverBlockSettings--l4fH9mr.js} +32 -32
- package/dist/{DocAnswer-EWarWnbt.js → DocAnswer-Bq-4uVbe.js} +4 -4
- package/dist/{DocDetails-CGHN3tbO.js → DocDetails-yxmchgO5.js} +59 -59
- package/dist/{DocForm-BLTap-Bb.js → DocForm-CzrR8o22.js} +1208 -1180
- package/dist/{DocFormSend-_jCPFI9r.js → DocFormSend-Bjc1QDcK.js} +11 -11
- package/dist/{DocLinks-D9Ok4HvN.js → DocLinks-BXbC-6v3.js} +6 -6
- package/dist/{DocModalBase-fQz5UuCF.js → DocModalBase-axX_Rlp3.js} +1 -1
- package/dist/{DocPrint-Cua_U7zt.js → DocPrint-D0IdWsUM.js} +19 -19
- package/dist/{DocReceipt-Cg2hiSby.js → DocReceipt-4e-RmgeQ.js} +19 -19
- package/dist/{DocSendReminder-Dh7G9kbZ.js → DocSendReminder-L35eZxgk.js} +12 -12
- package/dist/{DocTextEditor-Ds4Cbg-2.js → DocTextEditor-KrfylSV6.js} +4493 -4435
- package/dist/{DocTimeline-DpWUMwJE.js → DocTimeline-Be5CvtcQ.js} +18 -18
- package/dist/{DocumentClient-DUqHQVSe.js → DocumentClient-Bc4kf2q9.js} +10 -10
- package/dist/DocumentLayout-Oe-ZsHML.js +595 -0
- package/dist/{DocumentLogotype-BiekV9-j.js → DocumentLogotype-BFo5UEWS.js} +20 -20
- package/dist/{DocumentVoided-D_YMyeV8.js → DocumentVoided-DlQtlO7G.js} +7 -7
- package/dist/{EmbedInput-Crx-LEGc.js → EmbedInput-B29usQZZ.js} +10 -10
- package/dist/{EmbedSettings-xIGtEN7L.js → EmbedSettings-D-9rcSn0.js} +16 -16
- package/dist/{ErrorCallout-D_fUVD4I.js → ErrorCallout--EnH1Ezu.js} +9 -9
- package/dist/{FilePreviewModal-av2lE91B.js → FilePreviewModal-H5Ilg9xN.js} +9 -9
- package/dist/{Flag-CI52SH_9.js → Flag-DgZVh3Lf.js} +4 -4
- package/dist/{HeaderSettings-Ip634NWe.js → HeaderSettings-HuM_JwJw.js} +27 -27
- package/dist/{ImageSelectModal-DNtR86H7.js → ImageSelectModal-CJ-DstAf.js} +14 -14
- package/dist/{ImageUploadWrapper-Co43CWCP.js → ImageUploadWrapper-TYs37LIQ.js} +76 -76
- package/dist/{Index-C6KPbnAq.js → Index-6N_iRlrQ.js} +10 -10
- package/dist/{Index-bvCcp9l6.js → Index-B-PDcQKh.js} +34 -34
- package/dist/{Index-CTQyX_63.js → Index-B942Auag.js} +2 -2
- package/dist/{Index-4ZURK6a8.js → Index-BLdFyt-s.js} +12 -12
- package/dist/{Index-CZqJYh7u.js → Index-BMpHXgR4.js} +16 -16
- package/dist/{Index-DGwF2cvQ.js → Index-BZ6ZDf9T.js} +11 -11
- package/dist/{Index-Ci_PUYqE.js → Index-BdnFLjgV.js} +11 -11
- package/dist/{Index-BdW5_mV-.js → Index-BeOtRIzZ.js} +21 -21
- package/dist/Index-BsRxY7vc.js +21 -0
- package/dist/{Index-xVX7aGXv.js → Index-CAMAtPVL.js} +6 -6
- package/dist/{Index-uDG1i8F-.js → Index-CC4E2CmH.js} +11 -11
- package/dist/{Index-CJi8Remu.js → Index-CGus-YwW.js} +26 -26
- package/dist/{Index-C-Suk6Qs.js → Index-CLgN5Jzf.js} +3 -3
- package/dist/{Index-C92jPUcy.js → Index-CTlB43yV.js} +7 -7
- package/dist/{Index-CmLvcWe3.js → Index-CY2sRfaY.js} +194 -218
- package/dist/{Index-PzcQhAgF.js → Index-CnrSvy6E.js} +2 -2
- package/dist/{Index-Bgm5PHos.js → Index-CrdSdXWN.js} +18 -18
- package/dist/{Index-Bj81gIof.js → Index-CtJfMiZW.js} +2 -2
- package/dist/Index-D4HNTocO.js +4 -0
- package/dist/{Index-chiZsMLh.js → Index-D5_GLLQH.js} +507 -512
- package/dist/{Index-DOiPKAhk.js → Index-D9sceHk5.js} +17 -17
- package/dist/{Index-CV5RbQn5.js → Index-DJ11Zra_.js} +42 -42
- package/dist/{Index-DQbbxV0m.js → Index-DMIjuWSa.js} +9 -9
- package/dist/{Index-BMwBpYpa.js → Index-DTm59e-A.js} +11 -11
- package/dist/{Index-CxAd29-m.js → Index-DXT_IMjq.js} +8 -8
- package/dist/{Index-BF1bZUso.js → Index-DYUvtCff.js} +8 -8
- package/dist/{Index-DKuTOk0t.js → Index-DYW8T0Hl.js} +18 -18
- package/dist/{Index-DWIpdRX-.js → Index-Dg4dwlh_.js} +59 -58
- package/dist/{Index-DOCeODtL.js → Index-N88Abomf.js} +11 -11
- package/dist/{Index-BY2kaUsM.js → Index-W-Q19E3a.js} +7 -7
- package/dist/{Index-DwIfORsz.js → Index-edWEg_rF.js} +29 -29
- package/dist/{Index-DlGSVN83.js → Index-nRqNPZ3B.js} +18 -18
- package/dist/{Index-CeJRMtmh.js → Index-nTp9wEni.js} +7 -7
- package/dist/{Index-D_X2OZA3.js → Index-yJRtT77X.js} +2 -2
- package/dist/{Index.vue_vue_type_script_lang-WK-YdZ30.js → Index.vue_vue_type_script_lang-PJPQMT2c.js} +2 -2
- package/dist/{InputToggleRow-CWvEi0HF.js → InputToggleRow-DCr_DEm4.js} +9 -9
- package/dist/{ManualPopover-BSX3bOr0.js → ManualPopover-CpVsmQvn.js} +4 -4
- package/dist/{MediaWrapper-D8BXMoDz.js → MediaWrapper-Cj3LBhdR.js} +4 -4
- package/dist/{NotBindingText-V-8_5Pln.js → NotBindingText-1J0p_k4u.js} +5 -5
- package/dist/{PackageGroup-BN5njJA7.js → PackageGroup-CqrWEfCT.js} +17 -17
- package/dist/{PdfTerms-DarzYw1g.js → PdfTerms-DmrPDtae.js} +6 -6
- package/dist/{PdfViewer-DYN758PA.js → PdfViewer-C2EEwUBa.js} +37 -37
- package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-B3g18l5G.js → PlainHtml.vue_vue_type_script_setup_true_lang-B6pRo08V.js} +2 -2
- package/dist/{PriceHeader-B7QoQ2ZO.js → PriceHeader-BaREzUxI.js} +32 -32
- package/dist/{SearchApi-rcvoh3Av.js → SearchApi-Bf4jeQVr.js} +6 -6
- package/dist/{SendForm-DHRq76pb.js → SendForm-D5qpHxNU.js} +713 -711
- package/dist/{Setup-BWMY9S__.js → Setup-Bw8ViFxw.js} +4 -4
- package/dist/{SmartList-BpNfmUMA.js → SmartList-CzylvV8N.js} +1 -1
- package/dist/{Sortable.vue_vue_type_script_setup_true_lang-B_f6Nh_O.js → Sortable.vue_vue_type_script_setup_true_lang-DleoAiSK.js} +92 -92
- package/dist/{TermsSettings-BTv1dj63.js → TermsSettings-EoJvsPqK.js} +20 -20
- package/dist/{ThemeColorRow-r1ECSrBU.js → ThemeColorRow-D3blQMiD.js} +12 -12
- package/dist/{ToggleBinding-BBF1duBh.js → ToggleBinding-BteBsRYr.js} +7 -7
- package/dist/{UploadModal-B_l6gvuJ.js → UploadModal-Cr5sF3M-.js} +19 -19
- package/dist/{VideoPlayerInput-8e9ooR1p.js → VideoPlayerInput-BBycKv9w.js} +5 -5
- package/dist/{VideoPlayerSettings-CFOPAFlE.js → VideoPlayerSettings-BXXpTWBf.js} +12 -12
- package/dist/{VideoSelectModal-QWkNrFQC.js → VideoSelectModal-B2VPO6q4.js} +15 -15
- package/dist/{focusDrawerMixin-hy76kTBG.js → focusDrawerMixin-CCAEZjWO.js} +1 -1
- package/dist/{formDrawerState-s4ySD850.js → formDrawerState-CJyP4ce1.js} +1 -1
- package/dist/{helpers-BHIbXt8q.js → helpers-Cf9s0P7o.js} +3 -3
- package/dist/{index-Dbe2ueXc.js → index-C3pnyYI4.js} +90 -90
- package/dist/{index-CGXCI2G7.js → index-CBn1mHmK.js} +36 -36
- package/dist/{index-BTw8ZC8k.js → index-DAJmNac8.js} +6 -6
- package/dist/{index-DpubWmXg.js → index-DYJN9yoF.js} +37 -37
- package/dist/{index-ByEyJueq.js → index-DuXECcGq.js} +31 -31
- package/dist/{index-Cwf2aXw3.js → index-XzoHqJIR.js} +9 -9
- package/dist/{index-DjHfCViH.js → index-_MfZEYgE.js} +28 -27
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +154 -159
- package/dist/{main-WDVYC60Z.js → main-BayUZ9OO.js} +14904 -14950
- package/dist/{mapFormMixin-B8xN9LiX.js → mapFormMixin-Bx5_nE7g.js} +36 -42
- package/dist/omit-BKJdPM2H.js +56 -0
- package/dist/{publicSenderState-CtB0-WJX.js → publicSenderState-CblTasKp.js} +3 -3
- package/dist/{splitpanes-CwgWVXfp.js → splitpanes-DFkgBT3z.js} +6 -6
- package/dist/{template-fVxhQbOu.js → template-CvGgzazD.js} +5 -5
- package/dist/{tippy.esm-Ikv5_i_g.js → tippy.esm-CYKcJaqz.js} +222 -224
- package/dist/{useTermsModal-DxXjznop.js → useTermsModal-DFmdeFRm.js} +5 -5
- package/dist/{utils-fXD4AHot.js → utils-DTwXcY8_.js} +1 -1
- package/dist/{validation-Bf4rZ8pa.js → validation-d_jonAPy.js} +4 -4
- package/dist/widget.css +1 -1
- package/package.json +2 -2
- package/dist/CSelect-BQsWYh8F.js +0 -98
- package/dist/CSkeleton.vue_vue_type_script_setup_true_lang-aq47QhPF.js +0 -51
- package/dist/DocumentLayout-Bth5tpry.js +0 -1434
- package/dist/Index-CFSuI-QL.js +0 -21
- package/dist/Index-DHzaqQH0.js +0 -4
- package/dist/omit-BhJ-wiH8.js +0 -56
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
1
|
+
import { z as ie, A as O, B as ce, D as P, E as A, r as S, G as de, H as h, I as g, J as z, p as B, K as $e, L as ve, M } from "./main-BayUZ9OO.js";
|
|
2
|
+
function H(t, a) {
|
|
3
3
|
var n = Object.keys(t);
|
|
4
4
|
if (Object.getOwnPropertySymbols) {
|
|
5
5
|
var e = Object.getOwnPropertySymbols(t);
|
|
@@ -12,15 +12,15 @@ function W(t, a) {
|
|
|
12
12
|
function w(t) {
|
|
13
13
|
for (var a = 1; a < arguments.length; a++) {
|
|
14
14
|
var n = arguments[a] != null ? arguments[a] : {};
|
|
15
|
-
a % 2 ?
|
|
16
|
-
|
|
17
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) :
|
|
15
|
+
a % 2 ? H(Object(n), !0).forEach(function(e) {
|
|
16
|
+
fe(t, e, n[e]);
|
|
17
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : H(Object(n)).forEach(function(e) {
|
|
18
18
|
Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(n, e));
|
|
19
19
|
});
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function fe(t, a, n) {
|
|
24
24
|
return a in t ? Object.defineProperty(t, a, {
|
|
25
25
|
value: n,
|
|
26
26
|
enumerable: !0,
|
|
@@ -28,7 +28,7 @@ function ve(t, a, n) {
|
|
|
28
28
|
writable: !0
|
|
29
29
|
}) : t[a] = n, t;
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function W(t) {
|
|
32
32
|
let a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
|
|
33
33
|
return Object.keys(t).reduce((n, e) => (a.includes(e) || (n[e] = g(t[e])), n), {});
|
|
34
34
|
}
|
|
@@ -36,9 +36,9 @@ function _(t) {
|
|
|
36
36
|
return typeof t == "function";
|
|
37
37
|
}
|
|
38
38
|
function ge(t) {
|
|
39
|
-
return $e(t) ||
|
|
39
|
+
return $e(t) || ve(t);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function Q(t, a, n) {
|
|
42
42
|
let e = t;
|
|
43
43
|
const s = a.split(".");
|
|
44
44
|
for (let u = 0; u < s.length; u++) {
|
|
@@ -48,51 +48,51 @@ function Z(t, a, n) {
|
|
|
48
48
|
return e;
|
|
49
49
|
}
|
|
50
50
|
function T(t, a, n) {
|
|
51
|
-
return h(() => t.some((e) =>
|
|
51
|
+
return h(() => t.some((e) => Q(a, e, {
|
|
52
52
|
[n]: !1
|
|
53
53
|
})[n]));
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function J(t, a, n) {
|
|
56
56
|
return h(() => t.reduce((e, s) => {
|
|
57
|
-
const u =
|
|
57
|
+
const u = Q(a, s, {
|
|
58
58
|
[n]: !1
|
|
59
59
|
})[n] || [];
|
|
60
60
|
return e.concat(u);
|
|
61
61
|
}, []));
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function X(t, a, n, e) {
|
|
64
64
|
return t.call(e, g(a), g(n), e);
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function Y(t) {
|
|
67
67
|
return t.$valid !== void 0 ? !t.$valid : !t;
|
|
68
68
|
}
|
|
69
69
|
function me(t, a, n, e, s, u, m) {
|
|
70
70
|
let {
|
|
71
71
|
$lazy: i,
|
|
72
72
|
$rewardEarly: d
|
|
73
|
-
} = s, l = arguments.length > 7 && arguments[7] !== void 0 ? arguments[7] : [],
|
|
74
|
-
const
|
|
73
|
+
} = s, l = arguments.length > 7 && arguments[7] !== void 0 ? arguments[7] : [], v = arguments.length > 8 ? arguments[8] : void 0, $ = arguments.length > 9 ? arguments[9] : void 0, p = arguments.length > 10 ? arguments[10] : void 0;
|
|
74
|
+
const f = O(!!e.value), r = O(0);
|
|
75
75
|
n.value = !1;
|
|
76
76
|
const c = P([a, e].concat(l, p), () => {
|
|
77
77
|
if (i && !e.value || d && !$.value && !n.value)
|
|
78
78
|
return;
|
|
79
79
|
let o;
|
|
80
80
|
try {
|
|
81
|
-
o =
|
|
81
|
+
o = X(t, a, v, m);
|
|
82
82
|
} catch (y) {
|
|
83
83
|
o = Promise.reject(y);
|
|
84
84
|
}
|
|
85
|
-
r.value++, n.value = !!r.value,
|
|
86
|
-
r.value--, n.value = !!r.value, u.value = y,
|
|
85
|
+
r.value++, n.value = !!r.value, f.value = !1, Promise.resolve(o).then((y) => {
|
|
86
|
+
r.value--, n.value = !!r.value, u.value = y, f.value = Y(y);
|
|
87
87
|
}).catch((y) => {
|
|
88
|
-
r.value--, n.value = !!r.value, u.value = y,
|
|
88
|
+
r.value--, n.value = !!r.value, u.value = y, f.value = !0;
|
|
89
89
|
});
|
|
90
90
|
}, {
|
|
91
91
|
immediate: !0,
|
|
92
92
|
deep: typeof a == "object"
|
|
93
93
|
});
|
|
94
94
|
return {
|
|
95
|
-
$invalid:
|
|
95
|
+
$invalid: f,
|
|
96
96
|
$unwatch: c
|
|
97
97
|
};
|
|
98
98
|
}
|
|
@@ -101,41 +101,41 @@ function he(t, a, n, e, s, u, m, i) {
|
|
|
101
101
|
$lazy: d,
|
|
102
102
|
$rewardEarly: l
|
|
103
103
|
} = e;
|
|
104
|
-
const
|
|
104
|
+
const v = () => ({}), $ = h(() => {
|
|
105
105
|
if (d && !n.value || l && !i.value)
|
|
106
106
|
return !1;
|
|
107
107
|
let p = !0;
|
|
108
108
|
try {
|
|
109
|
-
const
|
|
110
|
-
s.value =
|
|
111
|
-
} catch (
|
|
112
|
-
s.value =
|
|
109
|
+
const f = X(t, a, m, u);
|
|
110
|
+
s.value = f, p = Y(f);
|
|
111
|
+
} catch (f) {
|
|
112
|
+
s.value = f;
|
|
113
113
|
}
|
|
114
114
|
return p;
|
|
115
115
|
});
|
|
116
116
|
return {
|
|
117
|
-
$unwatch:
|
|
117
|
+
$unwatch: v,
|
|
118
118
|
$invalid: $
|
|
119
119
|
};
|
|
120
120
|
}
|
|
121
|
-
function pe(t, a, n, e, s, u, m, i, d, l,
|
|
122
|
-
const $ = O(!1), p = t.$params || {},
|
|
121
|
+
function pe(t, a, n, e, s, u, m, i, d, l, v) {
|
|
122
|
+
const $ = O(!1), p = t.$params || {}, f = O(null);
|
|
123
123
|
let r, c;
|
|
124
124
|
t.$async ? {
|
|
125
125
|
$invalid: r,
|
|
126
126
|
$unwatch: c
|
|
127
|
-
} = me(t.$validator, a, $, n, e,
|
|
127
|
+
} = me(t.$validator, a, $, n, e, f, s, t.$watchTargets, d, l, v) : {
|
|
128
128
|
$invalid: r,
|
|
129
129
|
$unwatch: c
|
|
130
|
-
} = he(t.$validator, a, n, e,
|
|
130
|
+
} = he(t.$validator, a, n, e, f, s, d, l);
|
|
131
131
|
const o = t.$message;
|
|
132
132
|
return {
|
|
133
|
-
$message: _(o) ? h(() => o(
|
|
133
|
+
$message: _(o) ? h(() => o(W({
|
|
134
134
|
$pending: $,
|
|
135
135
|
$invalid: r,
|
|
136
|
-
$params:
|
|
136
|
+
$params: W(p),
|
|
137
137
|
$model: a,
|
|
138
|
-
$response:
|
|
138
|
+
$response: f,
|
|
139
139
|
$validator: u,
|
|
140
140
|
$propertyPath: i,
|
|
141
141
|
$property: m
|
|
@@ -143,7 +143,7 @@ function pe(t, a, n, e, s, u, m, i, d, l, f) {
|
|
|
143
143
|
$params: p,
|
|
144
144
|
$pending: $,
|
|
145
145
|
$invalid: r,
|
|
146
|
-
$response:
|
|
146
|
+
$response: f,
|
|
147
147
|
$unwatch: c
|
|
148
148
|
};
|
|
149
149
|
}
|
|
@@ -180,10 +180,10 @@ function ye() {
|
|
|
180
180
|
}
|
|
181
181
|
const Re = "__root";
|
|
182
182
|
function Oe(t, a, n, e, s, u, m, i, d) {
|
|
183
|
-
const l = Object.keys(t),
|
|
184
|
-
if (
|
|
185
|
-
if (!
|
|
186
|
-
|
|
183
|
+
const l = Object.keys(t), v = e.get(s, t), $ = O(!1), p = O(!1), f = O(0);
|
|
184
|
+
if (v) {
|
|
185
|
+
if (!v.$partial) return v;
|
|
186
|
+
v.$unwatch(), $.value = v.$dirty.value;
|
|
187
187
|
}
|
|
188
188
|
const r = {
|
|
189
189
|
$dirty: $,
|
|
@@ -198,7 +198,7 @@ function Oe(t, a, n, e, s, u, m, i, d) {
|
|
|
198
198
|
}
|
|
199
199
|
};
|
|
200
200
|
return l.length ? (l.forEach((c) => {
|
|
201
|
-
r[c] = pe(t[c], a, r.$dirty, u, m, c, n, s, d, p,
|
|
201
|
+
r[c] = pe(t[c], a, r.$dirty, u, m, c, n, s, d, p, f);
|
|
202
202
|
}), r.$externalResults = h(() => i.value ? [].concat(i.value).map((c, o) => ({
|
|
203
203
|
$propertyPath: s,
|
|
204
204
|
$property: n,
|
|
@@ -213,7 +213,7 @@ function Oe(t, a, n, e, s, u, m, i, d) {
|
|
|
213
213
|
return p.value = c, !!r.$externalResults.value.length || c;
|
|
214
214
|
}), r.$pending = h(() => l.some((c) => g(r[c].$pending))), r.$error = h(() => r.$dirty.value ? r.$pending.value || r.$invalid.value : !1), r.$silentErrors = h(() => l.filter((c) => g(r[c].$invalid)).map((c) => {
|
|
215
215
|
const o = r[c];
|
|
216
|
-
return
|
|
216
|
+
return S({
|
|
217
217
|
$propertyPath: s,
|
|
218
218
|
$property: n,
|
|
219
219
|
$validator: c,
|
|
@@ -226,12 +226,12 @@ function Oe(t, a, n, e, s, u, m, i, d) {
|
|
|
226
226
|
}).concat(r.$externalResults.value)), r.$errors = h(() => r.$dirty.value ? r.$silentErrors.value : []), r.$unwatch = () => l.forEach((c) => {
|
|
227
227
|
r[c].$unwatch();
|
|
228
228
|
}), r.$commit = () => {
|
|
229
|
-
p.value = !0,
|
|
230
|
-
}, e.set(s, t, r), r) : (
|
|
229
|
+
p.value = !0, f.value = Date.now();
|
|
230
|
+
}, e.set(s, t, r), r) : (v && e.set(s, t, r), r);
|
|
231
231
|
}
|
|
232
232
|
function Ee(t, a, n, e, s, u, m) {
|
|
233
233
|
const i = Object.keys(t);
|
|
234
|
-
return i.length ? i.reduce((d, l) => (d[l] =
|
|
234
|
+
return i.length ? i.reduce((d, l) => (d[l] = D({
|
|
235
235
|
validations: t[l],
|
|
236
236
|
state: a,
|
|
237
237
|
key: l,
|
|
@@ -256,7 +256,7 @@ function we(t, a, n) {
|
|
|
256
256
|
}), m = h(() => {
|
|
257
257
|
const r = g(t.$errors) || [], c = e.value.filter((o) => (g(o).$errors || []).length).reduce((o, y) => o.concat(...y.$errors), []);
|
|
258
258
|
return r.concat(c);
|
|
259
|
-
}), i = h(() => e.value.some((r) => r.$invalid) || g(t.$invalid) || !1), d = h(() => e.value.some((r) => g(r.$pending)) || g(t.$pending) || !1), l = h(() => e.value.some((r) => r.$dirty) || e.value.some((r) => r.$anyDirty) || s.value),
|
|
259
|
+
}), i = h(() => e.value.some((r) => r.$invalid) || g(t.$invalid) || !1), d = h(() => e.value.some((r) => g(r.$pending)) || g(t.$pending) || !1), l = h(() => e.value.some((r) => r.$dirty) || e.value.some((r) => r.$anyDirty) || s.value), v = h(() => s.value ? d.value || i.value : !1), $ = () => {
|
|
260
260
|
t.$touch(), e.value.forEach((r) => {
|
|
261
261
|
r.$touch();
|
|
262
262
|
});
|
|
@@ -264,7 +264,7 @@ function we(t, a, n) {
|
|
|
264
264
|
t.$commit(), e.value.forEach((r) => {
|
|
265
265
|
r.$commit();
|
|
266
266
|
});
|
|
267
|
-
},
|
|
267
|
+
}, f = () => {
|
|
268
268
|
t.$reset(), e.value.forEach((r) => {
|
|
269
269
|
r.$reset();
|
|
270
270
|
});
|
|
@@ -274,15 +274,15 @@ function we(t, a, n) {
|
|
|
274
274
|
$errors: m,
|
|
275
275
|
$invalid: i,
|
|
276
276
|
$anyDirty: l,
|
|
277
|
-
$error:
|
|
277
|
+
$error: v,
|
|
278
278
|
$pending: d,
|
|
279
279
|
$touch: $,
|
|
280
|
-
$reset:
|
|
280
|
+
$reset: f,
|
|
281
281
|
$silentErrors: u,
|
|
282
282
|
$commit: p
|
|
283
283
|
};
|
|
284
284
|
}
|
|
285
|
-
function
|
|
285
|
+
function D(t) {
|
|
286
286
|
let {
|
|
287
287
|
validations: a,
|
|
288
288
|
state: n,
|
|
@@ -294,26 +294,26 @@ function S(t) {
|
|
|
294
294
|
instance: d,
|
|
295
295
|
externalResults: l
|
|
296
296
|
} = t;
|
|
297
|
-
const
|
|
297
|
+
const v = s ? `${s}.${e}` : e, {
|
|
298
298
|
rules: $,
|
|
299
299
|
nestedValidators: p,
|
|
300
|
-
config:
|
|
300
|
+
config: f,
|
|
301
301
|
validationGroups: r
|
|
302
|
-
} = ye(a), c = w(w({}, i),
|
|
302
|
+
} = ye(a), c = w(w({}, i), f), o = e ? h(() => {
|
|
303
303
|
const R = g(n);
|
|
304
304
|
return R ? g(R[e]) : void 0;
|
|
305
305
|
}) : n, y = w({}, g(l) || {}), F = h(() => {
|
|
306
306
|
const R = g(l);
|
|
307
307
|
return e ? R ? g(R[e]) : void 0 : R;
|
|
308
|
-
}),
|
|
308
|
+
}), G = Oe($, o, e, m, v, c, d, F, n), b = Ee(p, o, v, m, c, d, F), N = {};
|
|
309
309
|
r && Object.entries(r).forEach((R) => {
|
|
310
310
|
let [C, E] = R;
|
|
311
|
-
|
|
311
|
+
N[C] = {
|
|
312
312
|
$invalid: T(E, b, "$invalid"),
|
|
313
313
|
$error: T(E, b, "$error"),
|
|
314
314
|
$pending: T(E, b, "$pending"),
|
|
315
|
-
$errors:
|
|
316
|
-
$silentErrors:
|
|
315
|
+
$errors: J(E, b, "$errors"),
|
|
316
|
+
$silentErrors: J(E, b, "$silentErrors")
|
|
317
317
|
};
|
|
318
318
|
});
|
|
319
319
|
const {
|
|
@@ -326,8 +326,8 @@ function S(t) {
|
|
|
326
326
|
$touch: I,
|
|
327
327
|
$reset: re,
|
|
328
328
|
$silentErrors: ae,
|
|
329
|
-
$commit:
|
|
330
|
-
} = we(
|
|
329
|
+
$commit: k
|
|
330
|
+
} = we(G, b, u), se = e ? h({
|
|
331
331
|
get: () => g(o),
|
|
332
332
|
set: (R) => {
|
|
333
333
|
V.value = !0;
|
|
@@ -343,7 +343,7 @@ function S(t) {
|
|
|
343
343
|
flush: "sync"
|
|
344
344
|
});
|
|
345
345
|
async function le() {
|
|
346
|
-
return I(), c.$rewardEarly && (
|
|
346
|
+
return I(), c.$rewardEarly && (k(), await M()), await M(), new Promise((R) => {
|
|
347
347
|
if (!L.value) return R(!x.value);
|
|
348
348
|
const C = P(L, () => {
|
|
349
349
|
R(!x.value), C();
|
|
@@ -358,7 +358,7 @@ function S(t) {
|
|
|
358
358
|
delete l[R];
|
|
359
359
|
}) : Object.assign(l, y);
|
|
360
360
|
}
|
|
361
|
-
return
|
|
361
|
+
return S(w(w(w({}, G), {}, {
|
|
362
362
|
$model: se,
|
|
363
363
|
$dirty: V,
|
|
364
364
|
$error: ne,
|
|
@@ -368,14 +368,14 @@ function S(t) {
|
|
|
368
368
|
$pending: L,
|
|
369
369
|
$touch: I,
|
|
370
370
|
$reset: re,
|
|
371
|
-
$path:
|
|
371
|
+
$path: v || Re,
|
|
372
372
|
$silentErrors: ae,
|
|
373
373
|
$validate: le,
|
|
374
|
-
$commit:
|
|
374
|
+
$commit: k
|
|
375
375
|
}, u && {
|
|
376
376
|
$getResultsForChild: ue,
|
|
377
377
|
$clearExternalResults: oe,
|
|
378
|
-
$validationGroups:
|
|
378
|
+
$validationGroups: N
|
|
379
379
|
}), b));
|
|
380
380
|
}
|
|
381
381
|
class be {
|
|
@@ -409,43 +409,43 @@ class be {
|
|
|
409
409
|
const j = {
|
|
410
410
|
COLLECT_ALL: !0,
|
|
411
411
|
COLLECT_NONE: !1
|
|
412
|
-
},
|
|
412
|
+
}, K = Symbol("vuelidate#injectChildResults"), U = Symbol("vuelidate#removeChildResults");
|
|
413
413
|
function Ce(t) {
|
|
414
414
|
let {
|
|
415
415
|
$scope: a,
|
|
416
416
|
instance: n
|
|
417
417
|
} = t;
|
|
418
|
-
const e = {}, s = O([]), u = h(() => s.value.reduce((
|
|
419
|
-
function m(
|
|
418
|
+
const e = {}, s = O([]), u = h(() => s.value.reduce((v, $) => (v[$] = g(e[$]), v), {}));
|
|
419
|
+
function m(v, $) {
|
|
420
420
|
let {
|
|
421
421
|
$registerAs: p,
|
|
422
|
-
$scope:
|
|
422
|
+
$scope: f,
|
|
423
423
|
$stopPropagation: r
|
|
424
424
|
} = $;
|
|
425
|
-
r || a === j.COLLECT_NONE ||
|
|
425
|
+
r || a === j.COLLECT_NONE || f === j.COLLECT_NONE || a !== j.COLLECT_ALL && a !== f || (e[p] = v, s.value.push(p));
|
|
426
426
|
}
|
|
427
427
|
n.__vuelidateInjectInstances = [].concat(n.__vuelidateInjectInstances || [], m);
|
|
428
|
-
function i(
|
|
429
|
-
s.value = s.value.filter(($) => $ !==
|
|
428
|
+
function i(v) {
|
|
429
|
+
s.value = s.value.filter(($) => $ !== v), delete e[v];
|
|
430
430
|
}
|
|
431
431
|
n.__vuelidateRemoveInstances = [].concat(n.__vuelidateRemoveInstances || [], i);
|
|
432
|
-
const d = z(
|
|
433
|
-
B(
|
|
434
|
-
const l = z(
|
|
435
|
-
return B(
|
|
432
|
+
const d = z(K, []);
|
|
433
|
+
B(K, n.__vuelidateInjectInstances);
|
|
434
|
+
const l = z(U, []);
|
|
435
|
+
return B(U, n.__vuelidateRemoveInstances), {
|
|
436
436
|
childResults: u,
|
|
437
437
|
sendValidationResultsToParent: d,
|
|
438
438
|
removeValidationResultsFromParent: l
|
|
439
439
|
};
|
|
440
440
|
}
|
|
441
|
-
function
|
|
441
|
+
function Z(t) {
|
|
442
442
|
return new Proxy(t, {
|
|
443
443
|
get(a, n) {
|
|
444
|
-
return typeof a[n] == "object" ?
|
|
444
|
+
return typeof a[n] == "object" ? Z(a[n]) : h(() => a[n]);
|
|
445
445
|
}
|
|
446
446
|
});
|
|
447
447
|
}
|
|
448
|
-
let
|
|
448
|
+
let q = 0;
|
|
449
449
|
function je(t, a) {
|
|
450
450
|
var n;
|
|
451
451
|
let e = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
@@ -457,10 +457,10 @@ function je(t, a) {
|
|
|
457
457
|
$externalResults: i,
|
|
458
458
|
currentVueInstance: d
|
|
459
459
|
} = e;
|
|
460
|
-
const l = d || ((n = ie()) === null || n === void 0 ? void 0 : n.proxy),
|
|
461
|
-
s || (
|
|
460
|
+
const l = d || ((n = ie()) === null || n === void 0 ? void 0 : n.proxy), v = l ? l.$options : {};
|
|
461
|
+
s || (q += 1, s = `_vuelidate_${q}`);
|
|
462
462
|
const $ = O({}), p = new be(), {
|
|
463
|
-
childResults:
|
|
463
|
+
childResults: f,
|
|
464
464
|
sendValidationResultsToParent: r,
|
|
465
465
|
removeValidationResultsFromParent: c
|
|
466
466
|
} = l ? Ce({
|
|
@@ -469,14 +469,14 @@ function je(t, a) {
|
|
|
469
469
|
}) : {
|
|
470
470
|
childResults: O({})
|
|
471
471
|
};
|
|
472
|
-
if (!t &&
|
|
473
|
-
const o =
|
|
472
|
+
if (!t && v.validations) {
|
|
473
|
+
const o = v.validations;
|
|
474
474
|
a = O({}), ce(() => {
|
|
475
|
-
a.value = l, P(() => _(o) ? o.call(a.value, new
|
|
476
|
-
$.value =
|
|
475
|
+
a.value = l, P(() => _(o) ? o.call(a.value, new Z(a.value)) : o, (y) => {
|
|
476
|
+
$.value = D({
|
|
477
477
|
validations: y,
|
|
478
478
|
state: a,
|
|
479
|
-
childResults:
|
|
479
|
+
childResults: f,
|
|
480
480
|
resultsCache: p,
|
|
481
481
|
globalConfig: e,
|
|
482
482
|
instance: l,
|
|
@@ -485,14 +485,14 @@ function je(t, a) {
|
|
|
485
485
|
}, {
|
|
486
486
|
immediate: !0
|
|
487
487
|
});
|
|
488
|
-
}), e =
|
|
488
|
+
}), e = v.validationsConfig || e;
|
|
489
489
|
} else {
|
|
490
|
-
const o = A(t) || ge(t) ? t :
|
|
490
|
+
const o = A(t) || ge(t) ? t : S(t || {});
|
|
491
491
|
P(o, (y) => {
|
|
492
|
-
$.value =
|
|
492
|
+
$.value = D({
|
|
493
493
|
validations: y,
|
|
494
494
|
state: a,
|
|
495
|
-
childResults:
|
|
495
|
+
childResults: f,
|
|
496
496
|
resultsCache: p,
|
|
497
497
|
globalConfig: e,
|
|
498
498
|
instance: l ?? {},
|
|
@@ -506,7 +506,7 @@ function je(t, a) {
|
|
|
506
506
|
$registerAs: s,
|
|
507
507
|
$scope: u,
|
|
508
508
|
$stopPropagation: m
|
|
509
|
-
})), de(() => c.forEach((o) => o(s)))), h(() => w(w({}, g($.value)),
|
|
509
|
+
})), de(() => c.forEach((o) => o(s)))), h(() => w(w({}, g($.value)), f.value));
|
|
510
510
|
}
|
|
511
511
|
export {
|
|
512
512
|
je as u
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { F as
|
|
2
|
-
import { w as
|
|
3
|
-
import {
|
|
1
|
+
import { F as $ } from "./Flag-DgZVh3Lf.js";
|
|
2
|
+
import { w as L } from "./CDropdownItem-E-kRDIiy.js";
|
|
3
|
+
import { _ as b, aS as V, aT as B, X as E, a2 as R, b as a, d as i, o, j as n, f as h, am as v, w as x, e as r, F as y, n as k, W as q, t as m, c as F, q as w, T as g } from "./main-BayUZ9OO.js";
|
|
4
4
|
import { i as P } from "./dom-DOcGU3-g.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
const
|
|
6
|
+
const T = {
|
|
7
7
|
name: "BackgroundsModalList",
|
|
8
8
|
i18nOptions: {
|
|
9
9
|
namespaces: "backgroundsModalList",
|
|
@@ -19,11 +19,11 @@ const H = {
|
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
components: {
|
|
22
|
-
Simplebar:
|
|
23
|
-
Flag:
|
|
22
|
+
Simplebar: B,
|
|
23
|
+
Flag: $
|
|
24
24
|
},
|
|
25
25
|
emits: ["select", "save"],
|
|
26
|
-
mixins: [
|
|
26
|
+
mixins: [L],
|
|
27
27
|
props: {
|
|
28
28
|
/**
|
|
29
29
|
* @param {Object} options Input arguments
|
|
@@ -52,7 +52,7 @@ const H = {
|
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
setup() {
|
|
55
|
-
return { listElements:
|
|
55
|
+
return { listElements: R("listElements") };
|
|
56
56
|
},
|
|
57
57
|
data() {
|
|
58
58
|
return {
|
|
@@ -97,7 +97,7 @@ const H = {
|
|
|
97
97
|
const s = this.query ? this.query : this.defaultQuery, { items: e, total: d } = await this.fetch({ query: s, page: this.page++ });
|
|
98
98
|
this.isLoading = !1, this.noOfResults = this.query ? d : null, this.items == null ? (this.selectedIndex = null, this.items = e) : this.items = [...this.items, ...e], this.allowMoreResults = d >= this.page * 12;
|
|
99
99
|
},
|
|
100
|
-
scrollHandler:
|
|
100
|
+
scrollHandler: V(async function() {
|
|
101
101
|
const e = this.listElements[this.listElements.length - 9 || 0];
|
|
102
102
|
e && P(e) && this.handleFetch();
|
|
103
103
|
}, 50),
|
|
@@ -115,27 +115,27 @@ const H = {
|
|
|
115
115
|
e && (e.readyState === 4 ? e.pause() : e.addEventListener("playing", () => e.pause(), { once: !0 }));
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
|
-
}, z = { style: { "min-height": "0", display: "flex", "flex-direction": "column", height: "100%" } },
|
|
118
|
+
}, z = { style: { "min-height": "0", display: "flex", "flex-direction": "column", height: "100%" } }, H = { class: "relative flex w-full shrink-0 py-1" }, N = { style: { overflow: "hidden", flex: "1", height: "100%" } }, O = { style: { display: "grid", "grid-template-columns": "repeat(auto-fit, minmax(210px, 1fr))", gap: "2px" } }, j = ["onClick"], U = ["onMouseenterPassive", "onMouseleavePassive"], G = ["src"], Q = {
|
|
119
119
|
key: 1,
|
|
120
120
|
class: "select-wrapper"
|
|
121
|
-
},
|
|
121
|
+
}, D = { class: "photo__credit" }, W = {
|
|
122
122
|
class: "flex w-full items-center justify-center",
|
|
123
123
|
style: { padding: "2em 1em" }
|
|
124
|
-
},
|
|
124
|
+
}, X = {
|
|
125
125
|
key: 1,
|
|
126
126
|
class: "flex w-full flex-col items-center justify-center text-gray-400"
|
|
127
127
|
}, A = {
|
|
128
128
|
key: 0,
|
|
129
129
|
class: "flex flex-col items-center text-center",
|
|
130
130
|
style: { "padding-top": "3.2rem" }
|
|
131
|
-
},
|
|
131
|
+
}, J = {
|
|
132
132
|
class: "flex w-full items-center justify-end",
|
|
133
133
|
style: { padding: "4px 4px 4px 8px", "flex-shrink": "0" }
|
|
134
|
-
},
|
|
134
|
+
}, K = { class: "flex-grow text-gray-400" }, Y = { key: 0 };
|
|
135
135
|
function Z(s, e, d, C, t, c) {
|
|
136
|
-
const f = a("CInput"), p = a("CIcon"), I = a("Flag"), M = a("Simplebar"),
|
|
136
|
+
const f = a("CInput"), p = a("CIcon"), I = a("Flag"), M = a("Simplebar"), S = a("CButton");
|
|
137
137
|
return o(), i("div", z, [
|
|
138
|
-
n("div",
|
|
138
|
+
n("div", H, [
|
|
139
139
|
h(f, {
|
|
140
140
|
modelValue: t.query,
|
|
141
141
|
"onUpdate:modelValue": e[0] || (e[0] = (l) => t.query = l),
|
|
@@ -145,28 +145,28 @@ function Z(s, e, d, C, t, c) {
|
|
|
145
145
|
size: "medium",
|
|
146
146
|
class: "flex-grow",
|
|
147
147
|
style: { "border-bottom": "1px solid hsl(0, 0%, 92%)" },
|
|
148
|
-
onInput: e[1] || (e[1] =
|
|
148
|
+
onInput: e[1] || (e[1] = v(() => {
|
|
149
149
|
}, ["stop"]))
|
|
150
150
|
}, null, 8, ["modelValue", "placeholder"])
|
|
151
151
|
]),
|
|
152
|
-
n("div",
|
|
152
|
+
n("div", N, [
|
|
153
153
|
h(M, {
|
|
154
154
|
ref: "scrollbar",
|
|
155
155
|
style: { width: "100%", height: "100%", padding: "3px 4px" }
|
|
156
156
|
}, {
|
|
157
157
|
default: x(() => [
|
|
158
|
-
n("div",
|
|
159
|
-
!t.items.length && t.isLoading ? (o(), i(
|
|
158
|
+
n("div", O, [
|
|
159
|
+
!t.items.length && t.isLoading ? (o(), i(y, { key: 0 }, k(12, (l) => n("div", {
|
|
160
160
|
ref_for: !0,
|
|
161
161
|
ref: "listElements",
|
|
162
162
|
key: l,
|
|
163
163
|
class: "photo"
|
|
164
164
|
})), 64)) : r("", !0),
|
|
165
|
-
(o(!0), i(
|
|
165
|
+
(o(!0), i(y, null, k(t.items, (l, u) => (o(), i("div", {
|
|
166
166
|
ref_for: !0,
|
|
167
167
|
ref: "listElements",
|
|
168
168
|
key: u,
|
|
169
|
-
style:
|
|
169
|
+
style: q({ backgroundImage: `url(${l.minImage})` }),
|
|
170
170
|
class: "photo",
|
|
171
171
|
onClick: (_) => c.selectItem(l, u)
|
|
172
172
|
}, [
|
|
@@ -186,16 +186,16 @@ function Z(s, e, d, C, t, c) {
|
|
|
186
186
|
preload: "none"
|
|
187
187
|
}, null, 8, G)
|
|
188
188
|
], 40, U)) : r("", !0),
|
|
189
|
-
t.selectedIndex === u ? (o(), i("div",
|
|
190
|
-
n("div",
|
|
189
|
+
t.selectedIndex === u ? (o(), i("div", Q)) : r("", !0),
|
|
190
|
+
n("div", D, m(l.userName), 1)
|
|
191
191
|
], 12, j))), 128))
|
|
192
192
|
]),
|
|
193
|
-
n("div",
|
|
194
|
-
t.isLoading ? (o(),
|
|
193
|
+
n("div", W, [
|
|
194
|
+
t.isLoading ? (o(), F(p, {
|
|
195
195
|
key: 0,
|
|
196
196
|
type: "loader",
|
|
197
197
|
class: "rotateSpin"
|
|
198
|
-
})) : t.allowMoreResults ? r("", !0) : (o(), i("div",
|
|
198
|
+
})) : t.allowMoreResults ? r("", !0) : (o(), i("div", X, [
|
|
199
199
|
n("div", null, m(s.$t("noMoreResults")), 1),
|
|
200
200
|
s.$i18n.lang !== "en" ? (o(), i("div", A, [
|
|
201
201
|
h(I, {
|
|
@@ -210,15 +210,15 @@ function Z(s, e, d, C, t, c) {
|
|
|
210
210
|
_: 1
|
|
211
211
|
}, 512)
|
|
212
212
|
]),
|
|
213
|
-
n("div",
|
|
214
|
-
n("div",
|
|
215
|
-
s.mq !== "sm" ? (o(), i(
|
|
213
|
+
n("div", J, [
|
|
214
|
+
n("div", K, [
|
|
215
|
+
s.mq !== "sm" ? (o(), i(y, { key: 0 }, [
|
|
216
216
|
t.query && t.noOfResults && t.noOfResults > 0 ? (o(), i("div", Y, m(s.$tc("_common:result", { count: t.noOfResults })), 1)) : r("", !0),
|
|
217
217
|
n("div", null, m(d.creditText), 1)
|
|
218
218
|
], 64)) : r("", !0)
|
|
219
219
|
]),
|
|
220
220
|
g(s.$slots, "footer", {}, () => [
|
|
221
|
-
h(
|
|
221
|
+
h(S, {
|
|
222
222
|
style: { "margin-left": "0.5em" },
|
|
223
223
|
type: "secondary",
|
|
224
224
|
onClick: c.onSave
|
|
@@ -232,7 +232,7 @@ function Z(s, e, d, C, t, c) {
|
|
|
232
232
|
])
|
|
233
233
|
]);
|
|
234
234
|
}
|
|
235
|
-
const ee = /* @__PURE__ */ b(
|
|
235
|
+
const ee = /* @__PURE__ */ b(T, [["render", Z], ["__scopeId", "data-v-03e5d6b0"]]), se = {
|
|
236
236
|
name: "BackgroundsModal",
|
|
237
237
|
emits: ["close"]
|
|
238
238
|
};
|
|
@@ -240,11 +240,11 @@ function te(s, e, d, C, t, c) {
|
|
|
240
240
|
const f = a("CButton");
|
|
241
241
|
return o(), i("div", {
|
|
242
242
|
class: "font-primary fixed inset-0 z-[1000] flex items-center justify-center overflow-auto bg-black bg-opacity-10 max-sm:block max-sm:min-h-full max-sm:w-full max-sm:overflow-auto",
|
|
243
|
-
onClick: e[2] || (e[2] =
|
|
243
|
+
onClick: e[2] || (e[2] = v((p) => s.$emit("close"), ["self"]))
|
|
244
244
|
}, [
|
|
245
245
|
n("div", {
|
|
246
246
|
class: "relative flex h-[90%] max-h-[700px] w-[90%] max-w-3xl flex-col rounded-lg bg-white max-sm:h-full max-sm:max-h-full max-sm:w-full max-sm:rounded-none",
|
|
247
|
-
onClick: e[1] || (e[1] =
|
|
247
|
+
onClick: e[1] || (e[1] = v(() => {
|
|
248
248
|
}, ["stop"]))
|
|
249
249
|
}, [
|
|
250
250
|
h(f, {
|
|
@@ -263,6 +263,6 @@ function te(s, e, d, C, t, c) {
|
|
|
263
263
|
}
|
|
264
264
|
const le = /* @__PURE__ */ b(se, [["render", te]]), de = ee, ce = le;
|
|
265
265
|
export {
|
|
266
|
-
|
|
267
|
-
|
|
266
|
+
de as B,
|
|
267
|
+
ce as a
|
|
268
268
|
};
|