@cling-se/widget 0.19.7 → 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 +8 -0
- package/dist/{AddClientCallout-BdGevuQo.js → AddClientCallout-sPxYX5tQ.js} +19 -19
- package/dist/{AnswerModal-DfjF-RVP.js → AnswerModal-o8OHHulg.js} +80 -80
- package/dist/{AttachmentItem-BEd3qVAo.js → AttachmentItem-CzzOlHB-.js} +14 -14
- package/dist/{BaseUpload-Zm4EX8ir.js → BaseUpload-oZQfFwOj.js} +256 -256
- package/dist/{BlockMedia-ZHaA4OMV.js → BlockMedia-BGPxfM2X.js} +11 -11
- package/dist/{CCallout-BlglVZrm.js → CCallout-CrbMGTIj.js} +15 -15
- package/dist/{CCurrencyDropdown-BzvKsm1N.js → CCurrencyDropdown-BnNDP51j.js} +13 -13
- package/dist/{CDropdownItem-B5rgSee7.js → CDropdownItem-E-kRDIiy.js} +11 -11
- package/dist/{CFormField.vue_vue_type_script_setup_true_lang-CVy64zGe.js → CFormField.vue_vue_type_script_setup_true_lang-Bi0MjQdW.js} +17 -17
- package/dist/{CPhoneFormat-DaDNMlmK.js → CPhoneFormat-CIQAVdsB.js} +1 -1
- package/dist/{CPhoneInput-BUogm59J.js → CPhoneInput-9AwTJm-0.js} +23 -23
- package/dist/{CPriceInput-Cd5OHMJS.js → CPriceInput-agFahtr1.js} +12 -12
- package/dist/{CSelect-CmoAbVkP.js → CSelect-BpautzPq.js} +15 -15
- package/dist/{CSkeleton-BF6EYj8H.js → CSkeleton-GIqd-JU4.js} +18 -18
- package/dist/{ClientAutocomplete-CHfp4YiV.js → ClientAutocomplete-DOHX9Igy.js} +24 -24
- package/dist/{ClientModal-Com23Qgc.js → ClientModal-DAXKN_b3.js} +49 -49
- package/dist/{ColorPicker-BzdHtZep.js → ColorPicker-B9F8znY_.js} +66 -66
- package/dist/{CompanyModal-CGjSgTEJ.js → CompanyModal-BvIMVys6.js} +18 -18
- package/dist/{ContentWrapper-CS-Bh4Bk.js → ContentWrapper-DB22RaUr.js} +20 -20
- package/dist/{CoverBlockSettings-DDHQzLdc.js → CoverBlockSettings--l4fH9mr.js} +39 -39
- package/dist/{DocAnswer-Cmdsw_CW.js → DocAnswer-Bq-4uVbe.js} +4 -4
- package/dist/{DocDetails-C5Vzh550.js → DocDetails-yxmchgO5.js} +56 -56
- package/dist/{DocForm-DEUVV11n.js → DocForm-CzrR8o22.js} +819 -825
- package/dist/{DocFormSend-Dt7N3wCz.js → DocFormSend-Bjc1QDcK.js} +11 -11
- package/dist/{DocLinks-C6-Er0rk.js → DocLinks-BXbC-6v3.js} +6 -6
- package/dist/{DocModalBase-DbuJwHXi.js → DocModalBase-axX_Rlp3.js} +1 -1
- package/dist/{DocPrint-D_uxg7qD.js → DocPrint-D0IdWsUM.js} +15 -15
- package/dist/{DocReceipt-D6LP9UAa.js → DocReceipt-4e-RmgeQ.js} +23 -23
- package/dist/{DocSendReminder-DopLhyjz.js → DocSendReminder-L35eZxgk.js} +10 -10
- package/dist/{DocTextEditor-DeZtzbgm.js → DocTextEditor-KrfylSV6.js} +4493 -4435
- package/dist/{DocTimeline-DAWZu_KT.js → DocTimeline-Be5CvtcQ.js} +16 -16
- package/dist/{DocumentClient-kxnT6k9s.js → DocumentClient-Bc4kf2q9.js} +12 -12
- package/dist/DocumentLayout-Oe-ZsHML.js +595 -0
- package/dist/{DocumentLogotype-G-a7gBIC.js → DocumentLogotype-BFo5UEWS.js} +18 -18
- package/dist/{DocumentVoided-SG_ShMmc.js → DocumentVoided-DlQtlO7G.js} +4 -4
- package/dist/{EmbedInput-CJL5y3Zj.js → EmbedInput-B29usQZZ.js} +8 -8
- package/dist/{EmbedSettings-B0X6A9Uy.js → EmbedSettings-D-9rcSn0.js} +12 -12
- package/dist/{ErrorCallout-xCSfpQWV.js → ErrorCallout--EnH1Ezu.js} +10 -10
- package/dist/{FilePreviewModal-Da_pMUoO.js → FilePreviewModal-H5Ilg9xN.js} +7 -7
- package/dist/{Flag-wXawyyMO.js → Flag-DgZVh3Lf.js} +4 -4
- package/dist/{HeaderSettings-CD3y6-uY.js → HeaderSettings-HuM_JwJw.js} +36 -36
- package/dist/{ImageSelectModal-DatnXHH1.js → ImageSelectModal-CJ-DstAf.js} +16 -16
- package/dist/{ImageUploadWrapper-CwKe3Iq7.js → ImageUploadWrapper-TYs37LIQ.js} +72 -72
- package/dist/{Index-ezY0DbcB.js → Index-6N_iRlrQ.js} +5 -5
- package/dist/{Index-BJf4YdYB.js → Index-B-PDcQKh.js} +29 -29
- package/dist/{Index-C-EUJjuk.js → Index-B942Auag.js} +2 -2
- package/dist/{Index-NnBwJv9v.js → Index-BLdFyt-s.js} +9 -9
- package/dist/{Index-CXjLkK_n.js → Index-BMpHXgR4.js} +15 -15
- package/dist/{Index-COF0evH4.js → Index-BZ6ZDf9T.js} +6 -6
- package/dist/{Index-y_AJP61r.js → Index-BdnFLjgV.js} +9 -9
- package/dist/{Index-DAkq_7Ws.js → Index-BeOtRIzZ.js} +18 -18
- package/dist/{Index-CTrX3VRa.js → Index-BsRxY7vc.js} +5 -5
- package/dist/{Index-D-gJQEAD.js → Index-CAMAtPVL.js} +6 -6
- package/dist/{Index-C2-s62x7.js → Index-CC4E2CmH.js} +11 -11
- package/dist/{Index-Dxg4gEKd.js → Index-CGus-YwW.js} +18 -18
- package/dist/{Index-Ciy9lnhS.js → Index-CLgN5Jzf.js} +2 -2
- package/dist/{Index-Cjg3X74T.js → Index-CTlB43yV.js} +7 -7
- package/dist/{Index-DkQ8_VkX.js → Index-CY2sRfaY.js} +194 -218
- package/dist/{Index-DfuzxXzD.js → Index-CnrSvy6E.js} +2 -2
- package/dist/{Index-DjfbgA_7.js → Index-CrdSdXWN.js} +19 -19
- package/dist/{Index-Ct735UtM.js → Index-CtJfMiZW.js} +2 -2
- package/dist/Index-D4HNTocO.js +4 -0
- package/dist/{Index-Ck-_9woY.js → Index-D5_GLLQH.js} +501 -506
- package/dist/{Index-DzdEqsZB.js → Index-D9sceHk5.js} +16 -16
- package/dist/{Index-Dfy0PsiW.js → Index-DJ11Zra_.js} +29 -29
- package/dist/{Index-DOeHci16.js → Index-DMIjuWSa.js} +7 -7
- package/dist/{Index-Bb6JZC8l.js → Index-DTm59e-A.js} +11 -11
- package/dist/{Index-CQboLS2e.js → Index-DXT_IMjq.js} +8 -8
- package/dist/{Index-GPliVrhC.js → Index-DYUvtCff.js} +7 -7
- package/dist/{Index-BvAqglwa.js → Index-DYW8T0Hl.js} +27 -27
- package/dist/{Index-BTDQax0X.js → Index-Dg4dwlh_.js} +60 -59
- package/dist/{Index-BlownK7_.js → Index-N88Abomf.js} +7 -7
- package/dist/{Index-9ZFW8Ka7.js → Index-W-Q19E3a.js} +7 -7
- package/dist/{Index-BbVHxVFJ.js → Index-edWEg_rF.js} +33 -33
- package/dist/{Index-B53eUt7Y.js → Index-nRqNPZ3B.js} +15 -15
- package/dist/{Index-1WPEpaVr.js → Index-nTp9wEni.js} +7 -7
- package/dist/{Index-yS5OPrJJ.js → Index-yJRtT77X.js} +2 -2
- package/dist/{Index.vue_vue_type_script_lang-B3RoDZmC.js → Index.vue_vue_type_script_lang-PJPQMT2c.js} +2 -2
- package/dist/{InputToggleRow-D5rvQpAw.js → InputToggleRow-DCr_DEm4.js} +15 -15
- package/dist/{ManualPopover-Bd-GsLGT.js → ManualPopover-CpVsmQvn.js} +6 -6
- package/dist/{MediaWrapper-Ci0XPCcb.js → MediaWrapper-Cj3LBhdR.js} +4 -4
- package/dist/{NotBindingText-DhndGZE3.js → NotBindingText-1J0p_k4u.js} +5 -5
- package/dist/{PackageGroup-4Jt9ClVO.js → PackageGroup-CqrWEfCT.js} +29 -29
- package/dist/{PdfTerms-CGeJDJpQ.js → PdfTerms-DmrPDtae.js} +9 -9
- package/dist/{PdfViewer-o2vb6Fya.js → PdfViewer-C2EEwUBa.js} +71 -71
- package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-BtnMqKcE.js → PlainHtml.vue_vue_type_script_setup_true_lang-B6pRo08V.js} +2 -2
- package/dist/{PriceHeader-BsObxLHK.js → PriceHeader-BaREzUxI.js} +31 -31
- package/dist/{SearchApi-ZczKsBb7.js → SearchApi-Bf4jeQVr.js} +6 -6
- package/dist/{SendForm-D5jqkofo.js → SendForm-D5qpHxNU.js} +713 -711
- package/dist/{Setup-CdZzn0qW.js → Setup-Bw8ViFxw.js} +4 -4
- package/dist/{SmartList-B36ffGAZ.js → SmartList-CzylvV8N.js} +1 -1
- package/dist/{Sortable.vue_vue_type_script_setup_true_lang-Di1urzqu.js → Sortable.vue_vue_type_script_setup_true_lang-DleoAiSK.js} +118 -118
- package/dist/{TermsSettings-CmAHVOuX.js → TermsSettings-EoJvsPqK.js} +16 -16
- package/dist/{ThemeColorRow-CScTIcPB.js → ThemeColorRow-D3blQMiD.js} +13 -13
- package/dist/{ToggleBinding-CVZZlpBR.js → ToggleBinding-BteBsRYr.js} +7 -7
- package/dist/{UploadModal-2tXsmGMM.js → UploadModal-Cr5sF3M-.js} +19 -19
- package/dist/{VideoPlayerInput-BDzjZ2St.js → VideoPlayerInput-BBycKv9w.js} +10 -10
- package/dist/{VideoPlayerSettings-BLAEZw4C.js → VideoPlayerSettings-BXXpTWBf.js} +9 -9
- package/dist/{VideoSelectModal-iqgmg85K.js → VideoSelectModal-B2VPO6q4.js} +19 -19
- package/dist/{focusDrawerMixin-BmyahQiE.js → focusDrawerMixin-CCAEZjWO.js} +1 -1
- package/dist/{formDrawerState-B7ASfNsk.js → formDrawerState-CJyP4ce1.js} +1 -1
- package/dist/{helpers-BVP2Pul1.js → helpers-Cf9s0P7o.js} +4 -4
- package/dist/{index-B86TZXOh.js → index-C3pnyYI4.js} +94 -94
- package/dist/{index-D0Qee2OX.js → index-CBn1mHmK.js} +30 -30
- package/dist/{index-DXNrJnEc.js → index-DAJmNac8.js} +10 -10
- package/dist/{index-Cd4S4J-L.js → index-DYJN9yoF.js} +56 -56
- package/dist/{index-BDb4bM0D.js → index-DuXECcGq.js} +25 -25
- package/dist/{index-BH5vwOzR.js → index-XzoHqJIR.js} +9 -9
- package/dist/{index-CsbYpQqP.js → index-_MfZEYgE.js} +57 -57
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +153 -158
- package/dist/{main-C2Q8_T2Y.js → main-BayUZ9OO.js} +13620 -13669
- package/dist/{mapFormMixin-CjfqZnmd.js → mapFormMixin-Bx5_nE7g.js} +40 -46
- package/dist/omit-BKJdPM2H.js +56 -0
- package/dist/{publicSenderState-C3ELW8Cw.js → publicSenderState-CblTasKp.js} +4 -4
- package/dist/{splitpanes-CuxtOZyV.js → splitpanes-DFkgBT3z.js} +6 -6
- package/dist/{template-DzrGrOEa.js → template-CvGgzazD.js} +5 -5
- package/dist/{tippy.esm-Bf86qEue.js → tippy.esm-CYKcJaqz.js} +273 -275
- package/dist/{useTermsModal-Be4HLDDm.js → useTermsModal-DFmdeFRm.js} +7 -7
- package/dist/{utils-a_Odlqb5.js → utils-DTwXcY8_.js} +1 -1
- package/dist/{validation-38muBV6x.js → validation-d_jonAPy.js} +4 -4
- package/dist/widget.css +1 -1
- package/package.json +2 -2
- package/dist/DocumentLayout-DaVz9SGF.js +0 -1434
- package/dist/Index-qFx0G3fC.js +0 -4
- package/dist/omit-DzlbtNCX.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,13 +48,13 @@ function J(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);
|
|
@@ -70,29 +70,29 @@ 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
|
-
const c =
|
|
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 = X(t, a,
|
|
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
|
-
let [
|
|
311
|
-
|
|
310
|
+
let [C, E] = R;
|
|
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,16 +326,16 @@ 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;
|
|
334
|
-
const
|
|
335
|
-
E && (E[e] = y[e]), A(
|
|
334
|
+
const C = g(n), E = g(l);
|
|
335
|
+
E && (E[e] = y[e]), A(C[e]) ? C[e].value = R : C[e] = R;
|
|
336
336
|
}
|
|
337
337
|
}) : null;
|
|
338
|
-
e && c.$autoDirty &&
|
|
338
|
+
e && c.$autoDirty && P(o, () => {
|
|
339
339
|
V.value || I();
|
|
340
340
|
const R = g(l);
|
|
341
341
|
R && (R[e] = y[e]);
|
|
@@ -343,10 +343,10 @@ 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
|
-
const
|
|
349
|
-
R(!x.value),
|
|
348
|
+
const C = P(L, () => {
|
|
349
|
+
R(!x.value), C();
|
|
350
350
|
});
|
|
351
351
|
});
|
|
352
352
|
}
|
|
@@ -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,30 +409,30 @@ class be {
|
|
|
409
409
|
const j = {
|
|
410
410
|
COLLECT_ALL: !0,
|
|
411
411
|
COLLECT_NONE: !1
|
|
412
|
-
}, K = Symbol("vuelidate#injectChildResults"),
|
|
413
|
-
function
|
|
412
|
+
}, K = Symbol("vuelidate#injectChildResults"), U = Symbol("vuelidate#removeChildResults");
|
|
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 =
|
|
433
|
-
|
|
434
|
-
const l =
|
|
435
|
-
return
|
|
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
|
|
@@ -457,26 +457,26 @@ 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),
|
|
460
|
+
const l = d || ((n = ie()) === null || n === void 0 ? void 0 : n.proxy), v = l ? l.$options : {};
|
|
461
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
|
-
} = l ?
|
|
466
|
+
} = l ? Ce({
|
|
467
467
|
$scope: u,
|
|
468
468
|
instance: l
|
|
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,
|
|
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 :
|
|
491
|
-
|
|
492
|
-
$.value =
|
|
490
|
+
const o = A(t) || ge(t) ? t : S(t || {});
|
|
491
|
+
P(o, (y) => {
|
|
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 $ } from "./Flag-
|
|
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 z = {
|
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
components: {
|
|
22
|
-
Simplebar:
|
|
22
|
+
Simplebar: B,
|
|
23
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 z = {
|
|
|
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 z = {
|
|
|
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,13 +115,13 @@ const z = {
|
|
|
115
115
|
e && (e.readyState === 4 ? e.pause() : e.addEventListener("playing", () => e.pause(), { once: !0 }));
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
|
-
},
|
|
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
|
-
}, D = { class: "photo__credit" },
|
|
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 = {
|
|
@@ -131,11 +131,11 @@ const z = {
|
|
|
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"),
|
|
137
|
-
return o(), i("div",
|
|
138
|
-
n("div",
|
|
136
|
+
const f = a("CInput"), p = a("CIcon"), I = a("Flag"), M = a("Simplebar"), S = a("CButton");
|
|
137
|
+
return o(), i("div", z, [
|
|
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),
|
|
@@ -149,13 +149,13 @@ function Z(s, e, d, C, t, c) {
|
|
|
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",
|
|
158
|
+
n("div", O, [
|
|
159
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",
|
|
@@ -166,7 +166,7 @@ function Z(s, e, d, C, t, c) {
|
|
|
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
|
}, [
|
|
@@ -184,18 +184,18 @@ function Z(s, e, d, C, t, c) {
|
|
|
184
184
|
muted: "",
|
|
185
185
|
playsInline: "",
|
|
186
186
|
preload: "none"
|
|
187
|
-
}, null, 8,
|
|
188
|
-
], 40,
|
|
187
|
+
}, null, 8, G)
|
|
188
|
+
], 40, U)) : r("", !0),
|
|
189
189
|
t.selectedIndex === u ? (o(), i("div", Q)) : r("", !0),
|
|
190
190
|
n("div", D, m(l.userName), 1)
|
|
191
|
-
], 12,
|
|
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, {
|
|
@@ -211,14 +211,14 @@ function Z(s, e, d, C, t, c) {
|
|
|
211
211
|
}, 512)
|
|
212
212
|
]),
|
|
213
213
|
n("div", J, [
|
|
214
|
-
n("div",
|
|
214
|
+
n("div", K, [
|
|
215
215
|
s.mq !== "sm" ? (o(), i(y, { key: 0 }, [
|
|
216
|
-
t.query && t.noOfResults && t.noOfResults > 0 ? (o(), i("div",
|
|
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
|
};
|
|
@@ -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
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as u,
|
|
1
|
+
import { _ as u, b as h, d as i, o as a, j as e, f as l, t as c, q as g, w as m, ak as b, F as k, n as f, W as v, an as n } from "./main-BayUZ9OO.js";
|
|
2
2
|
const y = {
|
|
3
3
|
name: "DocumentGuide",
|
|
4
4
|
i18nOptions: {
|
|
@@ -58,10 +58,10 @@ const y = {
|
|
|
58
58
|
class: "max-w-[95%] md:max-w-lg",
|
|
59
59
|
style: { "background-color": "hsl(212, 90%, 15%)", padding: `calc(3 * var(--rem)) calc(2.5 * var(--rem))
|
|
60
60
|
calc(2.5 * var(--rem)) calc(2.5 * var(--rem))`, "border-radius": "8px", color: "hsla(0, 0%, 100%, 0.8)", "font-size": "16px", position: "relative" }
|
|
61
|
-
}, w = { style: { "padding-left": "calc(1 * var(--rem))" } }, B = { style: { "text-transform": "uppercase", "font-size": "0.75em", "padding-bottom": "0.7em", color: "hsl(321, 100%, 78%)" } }, C = { style: { "font-size": "1.5em", "padding-bottom": "1em", "line-height": "1.4", "font-weight": "500", color: "white", "min-height": "100px" } }, z = ["innerHTML"], S = { style: { width: "100%", "background-color": "hsla(0, 0%, 100%, 0.2)", "line-height": "0", "border-radius": "8px", overflow: "hidden", position: "relative", "padding-bottom": "60%" } }, F = ["src"],
|
|
62
|
-
function
|
|
61
|
+
}, w = { style: { "padding-left": "calc(1 * var(--rem))" } }, B = { style: { "text-transform": "uppercase", "font-size": "0.75em", "padding-bottom": "0.7em", color: "hsl(321, 100%, 78%)" } }, C = { style: { "font-size": "1.5em", "padding-bottom": "1em", "line-height": "1.4", "font-weight": "500", color: "white", "min-height": "100px" } }, z = ["innerHTML"], S = { style: { width: "100%", "background-color": "hsla(0, 0%, 100%, 0.2)", "line-height": "0", "border-radius": "8px", overflow: "hidden", position: "relative", "padding-bottom": "60%" } }, F = ["src"], L = { style: { "margin-top": "calc(3 * var(--rem))", display: "flex", "justify-content": "flex-end", position: "relative" } }, N = { style: { position: "absolute", display: "grid", gap: "10px", "grid-template-columns": "repeat(5, 1fr)", top: "50%", left: "50%", transform: "translate(-50%, -50%)" } }, T = ["onClick"];
|
|
62
|
+
function j(s, o, A, D, t, G) {
|
|
63
63
|
const p = h("CButton");
|
|
64
|
-
return
|
|
64
|
+
return a(), i("div", _, [
|
|
65
65
|
e("div", x, [
|
|
66
66
|
l(p, {
|
|
67
67
|
size: "small",
|
|
@@ -84,7 +84,7 @@ function N(s, o, T, j, t, D) {
|
|
|
84
84
|
e("div", S, [
|
|
85
85
|
l(b, { name: "slide-prev" }, {
|
|
86
86
|
default: m(() => [
|
|
87
|
-
(
|
|
87
|
+
(a(), i("img", {
|
|
88
88
|
key: t.step,
|
|
89
89
|
src: t.steps[t.step].img,
|
|
90
90
|
style: { position: "absolute", left: "0", top: "0", width: "100%", height: "100%" }
|
|
@@ -93,15 +93,15 @@ function N(s, o, T, j, t, D) {
|
|
|
93
93
|
_: 1
|
|
94
94
|
})
|
|
95
95
|
]),
|
|
96
|
-
e("div",
|
|
97
|
-
e("div",
|
|
98
|
-
(
|
|
96
|
+
e("div", L, [
|
|
97
|
+
e("div", N, [
|
|
98
|
+
(a(!0), i(k, null, f(t.steps, (d, r) => (a(), i("div", {
|
|
99
99
|
key: r,
|
|
100
100
|
style: v([{
|
|
101
101
|
backgroundColor: t.step === r ? "white" : "hsla(0, 0%, 100%, 0.4)"
|
|
102
102
|
}, { width: "8px", height: "8px", "border-radius": "8px", cursor: "pointer" }]),
|
|
103
103
|
onClick: (M) => t.step = r
|
|
104
|
-
}, null, 12,
|
|
104
|
+
}, null, 12, T))), 128))
|
|
105
105
|
]),
|
|
106
106
|
l(p, {
|
|
107
107
|
class: "pulse",
|
|
@@ -119,7 +119,7 @@ function N(s, o, T, j, t, D) {
|
|
|
119
119
|
])
|
|
120
120
|
]);
|
|
121
121
|
}
|
|
122
|
-
const V = /* @__PURE__ */ u(y, [["render",
|
|
122
|
+
const V = /* @__PURE__ */ u(y, [["render", j]]);
|
|
123
123
|
export {
|
|
124
124
|
V as default
|
|
125
125
|
};
|