@cling-se/widget 0.14.5 → 1.0.0-beta.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/{AddClientCallout-BMc-v9rJ.js → AddClientCallout-BWnvyBcK.js} +3 -3
- package/dist/{AnswerModal-Cu0Ke5pl.js → AnswerModal-CLGRdSnK.js} +3 -3
- package/dist/{AttachmentItem-Co8pVvtv.js → AttachmentItem-BPS0-wyc.js} +2 -2
- package/dist/{BaseDatePicker-P5iq-XAp.js → BaseDatePicker-BbmV_GdD.js} +2 -2
- package/dist/{BaseUpload-BDWnWTxr.js → BaseUpload-9gPgI7r6.js} +2 -2
- package/dist/{BlockMedia-B_UiePCr.js → BlockMedia-DkPFWiYL.js} +1 -1
- package/dist/{CCallout-Bbp9ya9n.js → CCallout-T26jwUby.js} +1 -1
- package/dist/{CCurrencyDropdown-Cw39vJWw.js → CCurrencyDropdown-qH-3m2eP.js} +3 -3
- package/dist/{CDropdownItem-BjYnhZJr.js → CDropdownItem-BE8BAMD1.js} +167 -69
- package/dist/{CFormField-CeJ58aN2.js → CFormField-DECEfoVq.js} +1 -1
- package/dist/{CPhoneFormat-BZnmeEeW.js → CPhoneFormat-CfQayFxw.js} +1 -1
- package/dist/{CPriceInput-B07d19qq.js → CPriceInput-C4SOB-P5.js} +2 -2
- package/dist/{ClientAutocomplete-9iM1pR9l.js → ClientAutocomplete-DSebA1Mx.js} +2 -2
- package/dist/{ClientModal-fw8f6UvL.js → ClientModal-BXFYvYCF.js} +5 -5
- package/dist/{ColorPicker-uu6vKe8o.js → ColorPicker-CZ_bJabP.js} +1 -1
- package/dist/{CompanyModal-5t4yhKL4.js → CompanyModal-CDr3t28n.js} +4 -4
- package/dist/{ContentWrapper-DwcOQ21l.js → ContentWrapper-BwmMoe4W.js} +6 -6
- package/dist/{CoverBlockSettings-cCCXzAZ0.js → CoverBlockSettings-_F11-DGc.js} +5 -5
- package/dist/{DocAnswer-9lbgqHRX.js → DocAnswer-BR59xzkT.js} +2 -2
- package/dist/{DocDetails-CoLL_tHs.js → DocDetails-D1qbCbps.js} +42 -29
- package/dist/{DocForm-DUjcuHJe.js → DocForm-DBc2a7z5.js} +68 -69
- package/dist/{DocFormSend-LawcXcM2.js → DocFormSend-Casix-yG.js} +4 -3
- package/dist/{DocLinks-pJT9HpjR.js → DocLinks-DGTaewyX.js} +2 -2
- package/dist/{DocModalBase-xUoskL63.js → DocModalBase-BbS_qvSv.js} +1 -1
- package/dist/{DocPrint-ClEJBiAg.js → DocPrint-0PqX3mbJ.js} +1 -1
- package/dist/{DocReceipt-x_YsXPnG.js → DocReceipt-CU3VD5pt.js} +1 -1
- package/dist/{DocSendReminder-Dbz8CkAz.js → DocSendReminder-CuycBspr.js} +1 -1
- package/dist/{DocTextEditor-AqBE7jZj.js → DocTextEditor-CntS2Bd-.js} +16 -17
- package/dist/{DocTimeline-hq2asPzr.js → DocTimeline-DJuv3yBe.js} +1 -1
- package/dist/{DocumentClient-TmtHqfiw.js → DocumentClient-C25XXzz6.js} +5 -5
- package/dist/{DocumentLayout-CRAp8mfk.js → DocumentLayout-B7afHRMr.js} +4 -4
- package/dist/{DocumentLogotype-emSjQ21f.js → DocumentLogotype-sqI51wvM.js} +3 -3
- package/dist/{DocumentVoided-BOjiWBK6.js → DocumentVoided-TahdTSMn.js} +1 -1
- package/dist/{EmbedInput-B3LFGEee.js → EmbedInput-BY-wHSfc.js} +2 -2
- package/dist/{EmbedSettings-BYPJTGQf.js → EmbedSettings-8pfjk4NP.js} +2 -2
- package/dist/{ErrorCallout-CwgYHBkg.js → ErrorCallout-Dsr8PNsU.js} +1 -1
- package/dist/{FilePreviewModal-81sSrDGg.js → FilePreviewModal-CcEinEFg.js} +2 -2
- package/dist/{Flag-DGFvUTQZ.js → Flag-PJKrghi9.js} +1 -1
- package/dist/{HeaderSettings-BGpkzcbj.js → HeaderSettings-BqczIOsG.js} +7 -7
- package/dist/{ImageSelectModal-Cimviyuy.js → ImageSelectModal-Cd-HhKnH.js} +3 -3
- package/dist/{ImageUploadWrapper-qJDHCf8T.js → ImageUploadWrapper-Dv43rGdb.js} +2 -2
- package/dist/{Index-BpyYa9LR.js → Index--qPMWUMT.js} +3 -3
- package/dist/{Index-BkUzlQaQ.js → Index-6b5VBKE-.js} +5 -5
- package/dist/{Index-BKoXW7GK.js → Index-B4pRJnbw.js} +6 -6
- package/dist/{Index-CObGPoQv.js → Index-B69f8qgZ.js} +4 -4
- package/dist/{Index-Sr3emNkE.js → Index-B79YN9RO.js} +4 -4
- package/dist/{Index-CrOD4_xj.js → Index-BBrlPoe8.js} +4 -4
- package/dist/{Index-C1lsSfnX.js → Index-BXfWJCuq.js} +3 -3
- package/dist/{Index-CqImx-rG.js → Index-Bd76vb37.js} +5 -5
- package/dist/{Index-BXAqgXVi.js → Index-BmbtQO5F.js} +5 -5
- package/dist/{Index-DGG1S8uJ.js → Index-Bu0MGrj6.js} +6 -6
- package/dist/{Index-9_R8_myc.js → Index-ByV_kJaH.js} +1 -1
- package/dist/{Index-Dr7mVlBb.js → Index-CDV5rhWS.js} +3 -3
- package/dist/{Index-BOxSvAug.js → Index-CIx4OOK-.js} +8 -8
- package/dist/{Index-C9sq_RDg.js → Index-CL1OWLt6.js} +6 -6
- package/dist/{Index-CoSt-Bws.js → Index-Caow0eZu.js} +1 -1
- package/dist/{Index-DRWS2z82.js → Index-Cd3-3PEK.js} +11 -11
- package/dist/{Index-CegW1Rim.js → Index-CdpZBEKU.js} +6 -6
- package/dist/{Index-DY5gAUnE.js → Index-CmU3Sys-.js} +2 -2
- package/dist/{Index-VshOfaom.js → Index-CtRtgnpm.js} +4 -4
- package/dist/{Index-BgK_WC0d.js → Index-Cukkr33D.js} +3 -3
- package/dist/{Index-CPNUsaOS.js → Index-Cuqw0ios.js} +2 -2
- package/dist/{Index-18w_qMQH.js → Index-Czm_WdqC.js} +4 -4
- package/dist/{Index-DXRgZZNj.js → Index-D4XgxmbD.js} +2 -2
- package/dist/{Index-BQgW1jlH.js → Index-DIOiMm9f.js} +2 -2
- package/dist/{Index-CMUg61_b.js → Index-DNdYXHgr.js} +4 -4
- package/dist/{Index-Eq3JlTKK.js → Index-DcQbh-z2.js} +2 -2
- package/dist/{Index-BL3-tRGt.js → Index-DcuBxutp.js} +7 -7
- package/dist/{Index-ByzGXUoc.js → Index-DpWNWiyY.js} +12 -13
- package/dist/{Index-DBCNVVm5.js → Index-DzS1rZdF.js} +3 -3
- package/dist/{Index-CDEh3GAi.js → Index-N6s5pZxv.js} +4 -4
- package/dist/{Index-CEG-Hiv6.js → Index-g_DNu4mt.js} +4 -4
- package/dist/{Index-BNfAA-ZJ.js → Index-mJ8F41GY.js} +5 -5
- package/dist/{Index-Dx944wv-.js → Index-q7W9KA8m.js} +2 -2
- package/dist/{Index-CpDgldnz.js → Index-rtzblZp4.js} +5 -5
- package/dist/{InputToggleRow-CQsaayf-.js → InputToggleRow-CZjxsDOQ.js} +1 -1
- package/dist/{ManualPopover-CFXm5cQy.js → ManualPopover-CZrWiT-P.js} +1 -1
- package/dist/{MediaWrapper-Cn0Yr4ce.js → MediaWrapper-D37qK4KR.js} +3 -3
- package/dist/{NotBindingText-CNiszGqn.js → NotBindingText-CNV2Wmdx.js} +2 -2
- package/dist/{PackageGroup-BVys9ouj.js → PackageGroup-Heo_s8ct.js} +5 -5
- package/dist/{PdfTerms-Bbns-jMY.js → PdfTerms-AB9tXAtU.js} +2 -2
- package/dist/{PdfViewer-B1zzZU4Y.js → PdfViewer-CIVkvOBr.js} +5 -6
- package/dist/{PlainHtml-CARRbTxi.js → PlainHtml-CPmIebjY.js} +1 -1
- package/dist/{PriceHeader-CqeC9Lhb.js → PriceHeader-DhDAruwX.js} +7 -7
- package/dist/{SearchApi-bB9FLxUq.js → SearchApi-BMgdaI4s.js} +2 -2
- package/dist/{Setup-p3Du_uf8.js → Setup-VIaIV9uT.js} +1 -1
- package/dist/{SmartList-P5ZfTWBb.js → SmartList-Qgu0rMrI.js} +1 -1
- package/dist/{TermsSettings-CQ8TGwBV.js → TermsSettings-CE3h_xkm.js} +3 -3
- package/dist/{ThemeColorRow-DMWVlFRU.js → ThemeColorRow-DYJNgk6S.js} +3 -3
- package/dist/{ToggleBinding-BPaYWgqP.js → ToggleBinding-CuwCeYpO.js} +3 -3
- package/dist/{UploadModal-9O4HTVZm.js → UploadModal-BITcxG-J.js} +2 -2
- package/dist/{VideoPlayerInput-5KybfY7N.js → VideoPlayerInput-8szEX_8L.js} +3 -3
- package/dist/{VideoPlayerSettings-xSW8tcTZ.js → VideoPlayerSettings-BIPytm6w.js} +2 -2
- package/dist/{VideoSelectModal-BbaNAxGH.js → VideoSelectModal-B-Pe34nb.js} +3 -3
- package/dist/{answerDocumentMixin-S-Bmv15G.js → answerDocumentMixin-W7vE1Gp4.js} +3 -3
- package/dist/{debounce-B_0g8OVh.js → debounce-C1AuSpOZ.js} +1 -1
- package/dist/{focusDrawerMixin-DhsqWZUo.js → focusDrawerMixin-Be6BAK8-.js} +1 -1
- package/dist/{formComponentsInstall-UG7a9vjZ.js → formComponentsInstall-Bm3VMOh6.js} +42 -34
- package/dist/{formDrawerState-BMQrWaBt.js → formDrawerState-DRbg5rVI.js} +1 -1
- package/dist/{formValidationMixin-DUu0omWT.js → formValidationMixin-COkY8COk.js} +2 -2
- package/dist/{index-myOYAnwV.js → index-BFvjENMH.js} +1 -1
- package/dist/{index-Czyda2Ej.js → index-BV2nGWay.js} +1 -1
- package/dist/{index-B4aiQXsr.js → index-BgJ05dYc.js} +8 -9
- package/dist/{index-B3R_uKML.js → index-CMPAXxzs.js} +5 -5
- package/dist/{index-C50JSDKO.js → index-DNDjI5uI.js} +3 -3
- package/dist/{index-CJ9AvuZH.js → index-aoff9oUi.js} +1 -1
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +101 -101
- package/dist/{main-B9t0ybqW.js → main-WKzC-Dnu.js} +881 -880
- package/dist/{mapFormMixin-ETYhBLl2.js → mapFormMixin-QbevCwJK.js} +1 -1
- package/dist/{omit-DtTfKAed.js → omit-CTp9CXoU.js} +1 -1
- package/dist/{publicSenderState-DD1lN9CR.js → publicSenderState-BujjYsZZ.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{throttle-qziKkJJX.js → throttle-CWPJmFid.js} +2 -2
- package/dist/{tinycolor-CMC8Xp7x.js → tinycolor-kTl0yxzz.js} +1 -1
- package/dist/{tippy.esm-DjbYjfS2.js → tippy.esm-sS5koDSU.js} +5 -5
- package/dist/{utils-C5Rg0fQC.js → utils-CA_Zy6u1.js} +1 -1
- package/dist/{vuedraggable.umd-CE3WmaEQ.js → vuedraggable.umd-BA3ZDRAp.js} +1 -1
- package/package.json +1 -1
- package/vite.config.ts +0 -1
- package/dist/dom-CJxkno7i.js +0 -91
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as o } from "./mapFormMixin-
|
|
2
|
-
import { C as s } from "./ClientAutocomplete-
|
|
3
|
-
import { n as r } from "./main-
|
|
1
|
+
import { m as o } from "./mapFormMixin-QbevCwJK.js";
|
|
2
|
+
import { C as s } from "./ClientAutocomplete-DSebA1Mx.js";
|
|
3
|
+
import { n as r } from "./main-WKzC-Dnu.js";
|
|
4
4
|
const a = {
|
|
5
5
|
i18nOptions: {
|
|
6
6
|
namespaces: "components",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { m as ft } from "./mapFormMixin-
|
|
2
|
-
import { at as It, O as Tt, h as Et, au as Mt, av as Rt, aw as $t, n as ot, ax as Dt, g as yt, e as At, M as Bt } from "./main-
|
|
1
|
+
import { m as ft } from "./mapFormMixin-QbevCwJK.js";
|
|
2
|
+
import { at as It, O as Tt, h as Et, au as Mt, av as Rt, aw as $t, n as ot, ax as Dt, g as yt, e as At, M as Bt } from "./main-WKzC-Dnu.js";
|
|
3
3
|
import { a as nt } from "./anime.es-BrPTThYb.js";
|
|
4
4
|
import { a as Ut } from "./vuex.esm-DKGl8mcw.js";
|
|
5
|
-
import { C as Lt } from "./CFormField-
|
|
5
|
+
import { C as Lt } from "./CFormField-DECEfoVq.js";
|
|
6
6
|
/*!
|
|
7
7
|
* vue-qrcode v1.0.2
|
|
8
8
|
* https://fengyuanchen.github.io/vue-qrcode
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a4 as ki, a5 as vi, k as Mi, n as Si, q as bi, ak as Yi, al as Oi, ac as xi } from "./main-
|
|
2
|
-
import { w as Ti } from "./CDropdownItem-
|
|
1
|
+
import { a4 as ki, a5 as vi, k as Mi, n as Si, q as bi, ak as Yi, al as Oi, ac as xi } from "./main-WKzC-Dnu.js";
|
|
2
|
+
import { w as Ti } from "./CDropdownItem-BE8BAMD1.js";
|
|
3
3
|
var fs = { exports: {} };
|
|
4
4
|
//! moment.js
|
|
5
5
|
//! version : 2.29.4
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a5 as Ue, k as De, n as $e, af as ye, O as ve } from "./main-
|
|
1
|
+
import { a5 as Ue, k as De, n as $e, af as ye, O as ve } from "./main-WKzC-Dnu.js";
|
|
2
2
|
/*!
|
|
3
3
|
* Compressor.js v1.1.1
|
|
4
4
|
* https://fengyuanchen.github.io/compressorjs
|
|
@@ -1697,7 +1697,7 @@ const Ve = /* @__PURE__ */ De(Ye), Qe = {
|
|
|
1697
1697
|
name: "BaseUpload",
|
|
1698
1698
|
components: {
|
|
1699
1699
|
FileUpload: Ve,
|
|
1700
|
-
UploadModal: () => import("./UploadModal-
|
|
1700
|
+
UploadModal: () => import("./UploadModal-BITcxG-J.js")
|
|
1701
1701
|
},
|
|
1702
1702
|
props: {
|
|
1703
1703
|
// Optional function to handle any errors
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as t, a as l } from "./CDropdownItem-
|
|
2
|
-
import { n as s, q as u, r } from "./main-
|
|
3
|
-
import { S as c } from "./SmartList-
|
|
1
|
+
import { C as t, a as l } from "./CDropdownItem-BE8BAMD1.js";
|
|
2
|
+
import { n as s, q as u, r } from "./main-WKzC-Dnu.js";
|
|
3
|
+
import { S as c } from "./SmartList-Qgu0rMrI.js";
|
|
4
4
|
const d = {
|
|
5
5
|
AED: "United Arab Emirates Dirham",
|
|
6
6
|
AFN: "Afghan Afghani",
|
|
@@ -1,5 +1,89 @@
|
|
|
1
|
-
import { V as
|
|
2
|
-
|
|
1
|
+
import { V as g, k as y, n as b } from "./main-WKzC-Dnu.js";
|
|
2
|
+
const d = {}, h = {};
|
|
3
|
+
function v(t) {
|
|
4
|
+
if (h[t])
|
|
5
|
+
return;
|
|
6
|
+
if (d[t])
|
|
7
|
+
return d[t];
|
|
8
|
+
let e;
|
|
9
|
+
const i = new Promise((o, s) => {
|
|
10
|
+
e = window.setTimeout(() => {
|
|
11
|
+
d[t] = null, s(new Error(`Failed to load ${t} in 20s`));
|
|
12
|
+
}, 2e4), import(
|
|
13
|
+
/* @vite-ignore */
|
|
14
|
+
t
|
|
15
|
+
).then(() => {
|
|
16
|
+
e && window.clearTimeout(e), h[t] = !0, d[t] = null, o();
|
|
17
|
+
}).catch((a) => {
|
|
18
|
+
e && window.clearTimeout(e), d[t] = null, s(a);
|
|
19
|
+
});
|
|
20
|
+
});
|
|
21
|
+
return d[t] = i, i;
|
|
22
|
+
}
|
|
23
|
+
function W(t) {
|
|
24
|
+
if (t.endsWith(".mjs"))
|
|
25
|
+
return v(t);
|
|
26
|
+
if (h[t])
|
|
27
|
+
return;
|
|
28
|
+
if (d[t])
|
|
29
|
+
return d[t];
|
|
30
|
+
const e = new Promise((i, o) => {
|
|
31
|
+
const s = document.createElement("script"), a = window.setTimeout(() => {
|
|
32
|
+
d[t] = null, o(new Error(`Failed to load ${t} in 20s`));
|
|
33
|
+
}, 2e4);
|
|
34
|
+
s.onload = (l) => {
|
|
35
|
+
a && window.clearTimeout(a), h[t] = !0, d[t] = null, i();
|
|
36
|
+
}, s.onerror = (l) => {
|
|
37
|
+
a && window.clearTimeout(a), d[t] = null, o(l);
|
|
38
|
+
}, s.src = t, document.body.appendChild(s);
|
|
39
|
+
});
|
|
40
|
+
return d[t] = e, e;
|
|
41
|
+
}
|
|
42
|
+
function q(t) {
|
|
43
|
+
const e = t.getBoundingClientRect(), i = window.innerHeight || document.documentElement.clientHeight, o = window.innerWidth || document.documentElement.clientWidth, s = e.top <= i && e.top + e.height >= 0, a = e.left <= o && e.left + e.width >= 0;
|
|
44
|
+
return s && a;
|
|
45
|
+
}
|
|
46
|
+
const _ = (t) => {
|
|
47
|
+
const e = /(auto|scroll)/, i = (n, r) => n.parentNode === null ? r : i(n.parentNode, r.concat([n])), o = (n, r) => getComputedStyle(n, null).getPropertyValue(r), s = (n) => o(n, "overflow") + o(n, "overflow-y") + o(n, "overflow-x"), a = (n) => e.test(s(n));
|
|
48
|
+
return ((n) => {
|
|
49
|
+
if (!(n instanceof HTMLElement || n instanceof SVGElement))
|
|
50
|
+
return null;
|
|
51
|
+
const r = i(n.parentNode, []);
|
|
52
|
+
for (let c = 0; c < r.length; c += 1)
|
|
53
|
+
if (a(r[c]))
|
|
54
|
+
return r[c];
|
|
55
|
+
return document.scrollingElement || document.documentElement;
|
|
56
|
+
})(t);
|
|
57
|
+
}, C = (t) => {
|
|
58
|
+
let e = 0;
|
|
59
|
+
for (; t; )
|
|
60
|
+
e += t.offsetTop, t = t.offsetParent;
|
|
61
|
+
return e;
|
|
62
|
+
};
|
|
63
|
+
function V(t, e) {
|
|
64
|
+
let i = t;
|
|
65
|
+
typeof i == "string" && (i = document.querySelector(i));
|
|
66
|
+
const o = {
|
|
67
|
+
offset: 0,
|
|
68
|
+
behavior: "smooth",
|
|
69
|
+
body: _(i),
|
|
70
|
+
// custom option used for choosing parent scroll element
|
|
71
|
+
...e
|
|
72
|
+
}, s = C(i);
|
|
73
|
+
HTMLElement.prototype.scrollTo ? o.body.scrollTo({
|
|
74
|
+
behavior: o.behavior,
|
|
75
|
+
top: s - o.offset
|
|
76
|
+
}) : o.body.scrollTop = s - o.offset;
|
|
77
|
+
}
|
|
78
|
+
const w = (t) => {
|
|
79
|
+
var o;
|
|
80
|
+
const e = (o = t == null ? void 0 : t.getRootNode) == null ? void 0 : o.call(t), i = (e == null ? void 0 : e.toString()) === "[object ShadowRoot]";
|
|
81
|
+
return {
|
|
82
|
+
isShadow: i,
|
|
83
|
+
el: i ? e : document
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
class x {
|
|
3
87
|
constructor({ defaults: e = { width: 800, height: 600 }, delay: i = 50 } = {}) {
|
|
4
88
|
this._width = e.width, this._height = e.height, this._delay = i, this._timer = null, this._initialized = !1, this._handler = this._handleResize.bind(this);
|
|
5
89
|
}
|
|
@@ -30,16 +114,16 @@ class b {
|
|
|
30
114
|
return this.initialized ? (window.removeEventListener("resize", this._handler, { passive: !0 }), this._initialized = !1, this) : this;
|
|
31
115
|
}
|
|
32
116
|
}
|
|
33
|
-
const
|
|
117
|
+
const S = new x().init(), p = new g({ data: { windowSize: S } }), $ = {
|
|
34
118
|
computed: {
|
|
35
119
|
windowWidth() {
|
|
36
|
-
return
|
|
120
|
+
return p.windowSize.width;
|
|
37
121
|
},
|
|
38
122
|
windowHeight() {
|
|
39
|
-
return
|
|
123
|
+
return p.windowSize.height;
|
|
40
124
|
},
|
|
41
125
|
mq() {
|
|
42
|
-
const { width: t } =
|
|
126
|
+
const { width: t } = p.windowSize, e = {
|
|
43
127
|
sm: 640,
|
|
44
128
|
md: 768,
|
|
45
129
|
lg: 1024,
|
|
@@ -54,7 +138,7 @@ const v = new b().init(), c = new f({ data: { windowSize: v } }), y = {
|
|
|
54
138
|
}
|
|
55
139
|
}
|
|
56
140
|
};
|
|
57
|
-
var
|
|
141
|
+
var f = { exports: {} };
|
|
58
142
|
(function(t, e) {
|
|
59
143
|
Object.defineProperty(e, "__esModule", {
|
|
60
144
|
value: !0
|
|
@@ -63,26 +147,26 @@ var h = { exports: {} };
|
|
|
63
147
|
return !!(typeof window < "u" && ("ontouchstart" in window || window.DocumentTouch && typeof document < "u" && document instanceof window.DocumentTouch)) || !!(typeof navigator < "u" && (navigator.maxTouchPoints || navigator.msMaxTouchPoints));
|
|
64
148
|
}
|
|
65
149
|
t.exports = e.default;
|
|
66
|
-
})(
|
|
67
|
-
var
|
|
68
|
-
const
|
|
69
|
-
function
|
|
150
|
+
})(f, f.exports);
|
|
151
|
+
var k = f.exports;
|
|
152
|
+
const E = /* @__PURE__ */ y(k), K = E();
|
|
153
|
+
function Y(t, e) {
|
|
70
154
|
return e.split(".").reduce((o, s) => o ? o[s] : null, t);
|
|
71
155
|
}
|
|
72
|
-
function
|
|
156
|
+
function T(t) {
|
|
73
157
|
typeof t.remove < "u" ? t.remove() : typeof t.parentNode < "u" && t.parentNode !== null && t.parentNode.removeChild(t);
|
|
74
158
|
}
|
|
75
|
-
function
|
|
76
|
-
var
|
|
77
|
-
const e = (
|
|
159
|
+
function L(t) {
|
|
160
|
+
var l;
|
|
161
|
+
const e = (l = t.getRootNode) == null ? void 0 : l.call(t), o = (e == null ? void 0 : e.toString()) === "[object ShadowRoot]" ? e : document.body, s = document.createElement("div");
|
|
78
162
|
s.style.position = "absolute", s.style.left = "0px", s.style.top = "0px";
|
|
79
163
|
const a = document.createElement("div");
|
|
80
164
|
return s.appendChild(a), a.appendChild(t), o.appendChild(s), s;
|
|
81
165
|
}
|
|
82
|
-
function
|
|
166
|
+
function G(t, e, i) {
|
|
83
167
|
return Math.max(e, Math.min(i, t));
|
|
84
168
|
}
|
|
85
|
-
const
|
|
169
|
+
const u = (t, e = !1) => t ? e ? t.querySelectorAll('*[tabindex="-1"]') : t.querySelectorAll(`a[href]:not([tabindex="-1"]),
|
|
86
170
|
area[href],
|
|
87
171
|
input:not([disabled]),
|
|
88
172
|
select:not([disabled]),
|
|
@@ -93,27 +177,27 @@ const r = (t, e = !1) => t ? e ? t.querySelectorAll('*[tabindex="-1"]') : t.quer
|
|
|
93
177
|
embed,
|
|
94
178
|
*[tabindex]:not([tabindex="-1"]),
|
|
95
179
|
*[contenteditable]`) : null;
|
|
96
|
-
let
|
|
97
|
-
const
|
|
180
|
+
let m;
|
|
181
|
+
const O = (t, { value: e = !0 }) => {
|
|
98
182
|
if (e) {
|
|
99
|
-
let i =
|
|
100
|
-
i && i.length > 0 && (
|
|
101
|
-
i =
|
|
102
|
-
const a = i[0],
|
|
103
|
-
s.target === a && s.shiftKey && s.key === "Tab" ? (s.preventDefault(),
|
|
104
|
-
}, t.addEventListener("keydown",
|
|
183
|
+
let i = u(t), o = u(t, !0);
|
|
184
|
+
i && i.length > 0 && (m = (s) => {
|
|
185
|
+
i = u(t), o = u(t, !0);
|
|
186
|
+
const a = i[0], l = i[i.length - 1];
|
|
187
|
+
s.target === a && s.shiftKey && s.key === "Tab" ? (s.preventDefault(), l.focus()) : (s.target === l || Array.from(o).indexOf(s.target) >= 0) && !s.shiftKey && s.key === "Tab" && (s.preventDefault(), a.focus());
|
|
188
|
+
}, t.addEventListener("keydown", m));
|
|
105
189
|
}
|
|
106
|
-
},
|
|
107
|
-
t.removeEventListener("keydown",
|
|
108
|
-
},
|
|
109
|
-
bind:
|
|
110
|
-
unbind:
|
|
111
|
-
},
|
|
190
|
+
}, A = (t) => {
|
|
191
|
+
t.removeEventListener("keydown", m);
|
|
192
|
+
}, B = {
|
|
193
|
+
bind: O,
|
|
194
|
+
unbind: A
|
|
195
|
+
}, I = ["escape", "outside"], P = {
|
|
112
196
|
name: "CDropdown",
|
|
113
197
|
directives: {
|
|
114
|
-
trapFocus:
|
|
198
|
+
trapFocus: B
|
|
115
199
|
},
|
|
116
|
-
mixins: [
|
|
200
|
+
mixins: [$],
|
|
117
201
|
props: {
|
|
118
202
|
value: {
|
|
119
203
|
type: [String, Number, Boolean, Object, Array, Function],
|
|
@@ -241,7 +325,7 @@ const x = (t, { value: e = !0 }) => {
|
|
|
241
325
|
return this.mobileModal && this.mq === "sm";
|
|
242
326
|
},
|
|
243
327
|
cancelOptions() {
|
|
244
|
-
return typeof this.canClose == "boolean" ? this.canClose ?
|
|
328
|
+
return typeof this.canClose == "boolean" ? this.canClose ? I : [] : this.canClose;
|
|
245
329
|
},
|
|
246
330
|
contentStyle() {
|
|
247
331
|
return {
|
|
@@ -268,12 +352,20 @@ const x = (t, { value: e = !0 }) => {
|
|
|
268
352
|
}
|
|
269
353
|
},
|
|
270
354
|
mounted() {
|
|
271
|
-
typeof window < "u"
|
|
355
|
+
if (typeof window < "u") {
|
|
356
|
+
const { el: t, isShadow: e } = w(this.$el);
|
|
357
|
+
t.addEventListener("click", this.clickedOutside), e && document.addEventListener("click", this.clickedOutsideShadow(t)), document.addEventListener("keyup", this.keyPress);
|
|
358
|
+
}
|
|
359
|
+
this.appendToBody && (this.$data._bodyEl = L(this.$refs.dropdownMenu), this.$data._bodyEl.style.zIndex = Number(
|
|
272
360
|
window.getComputedStyle(this.$el).getPropertyValue("--app-z-index")
|
|
273
361
|
) + 9999, this.isMobileModal && this.$data._bodyEl.appendChild(this.$refs.mobileBackground), this.updateAppendToBody());
|
|
274
362
|
},
|
|
275
363
|
beforeDestroy() {
|
|
276
|
-
typeof window < "u"
|
|
364
|
+
if (typeof window < "u") {
|
|
365
|
+
const { el: t, isShadow: e } = w(this.$el);
|
|
366
|
+
t.removeEventListener("click", this.clickedOutside(t)), e && document.removeEventListener("click", this.clickedOutsideShadow(t)), document.removeEventListener("keyup", this.keyPress);
|
|
367
|
+
}
|
|
368
|
+
this.appendToBody && T(this.$data._bodyEl);
|
|
277
369
|
},
|
|
278
370
|
methods: {
|
|
279
371
|
/**
|
|
@@ -324,6 +416,11 @@ const x = (t, { value: e = !0 }) => {
|
|
|
324
416
|
const e = ((i = t.path) == null ? void 0 : i[0]) || t.target;
|
|
325
417
|
this.isInWhiteList(e) || (this.isActive = !1);
|
|
326
418
|
},
|
|
419
|
+
clickedOutsideShadow(t) {
|
|
420
|
+
return (e) => {
|
|
421
|
+
e != null && e.target && e.target !== (t == null ? void 0 : t.host) && (this.isActive = !1);
|
|
422
|
+
};
|
|
423
|
+
},
|
|
327
424
|
/**
|
|
328
425
|
* Keypress event that is bound to the document
|
|
329
426
|
*/
|
|
@@ -350,14 +447,14 @@ const x = (t, { value: e = !0 }) => {
|
|
|
350
447
|
const t = this.$refs.dropdownMenu, e = this.$refs.trigger;
|
|
351
448
|
if (t && e) {
|
|
352
449
|
const i = this.$data._bodyEl.children[0];
|
|
353
|
-
if (i.classList.forEach((
|
|
354
|
-
if (
|
|
355
|
-
for (const
|
|
356
|
-
n
|
|
450
|
+
if (i.classList.forEach((l) => i.classList.remove(l)), i.classList.add("dropdown"), i.classList.add("dropdown-menu-animation"), this.$vnode && this.$vnode.data && this.$vnode.data.staticClass && i.classList.add(this.$vnode.data.staticClass), this.rootClasses.forEach((l) => {
|
|
451
|
+
if (l && typeof l == "object")
|
|
452
|
+
for (const n in l)
|
|
453
|
+
l[n] && i.classList.add(n);
|
|
357
454
|
}), this.appendToBodyCopyParent) {
|
|
358
|
-
const
|
|
359
|
-
|
|
360
|
-
|
|
455
|
+
const l = this.$refs.dropdown.parentNode, n = this.$data._bodyEl;
|
|
456
|
+
n.classList.forEach((r) => n.classList.remove(r)), l.classList.forEach((r) => {
|
|
457
|
+
n.classList.add(r);
|
|
361
458
|
});
|
|
362
459
|
}
|
|
363
460
|
const o = e.getBoundingClientRect();
|
|
@@ -366,18 +463,14 @@ const x = (t, { value: e = !0 }) => {
|
|
|
366
463
|
position: "absolute",
|
|
367
464
|
top: `${s}px`,
|
|
368
465
|
left: `${a}px`,
|
|
369
|
-
zIndex: "1001"
|
|
466
|
+
zIndex: "1001",
|
|
467
|
+
...this.expanded && { width: `${e.clientWidth}px` }
|
|
370
468
|
};
|
|
371
469
|
}
|
|
372
|
-
},
|
|
373
|
-
getRootElm() {
|
|
374
|
-
var i, o;
|
|
375
|
-
const t = (o = (i = this.$el).getRootNode) == null ? void 0 : o.call(i);
|
|
376
|
-
return (t == null ? void 0 : t.toString()) === "[object ShadowRoot]" ? t : document;
|
|
377
470
|
}
|
|
378
471
|
}
|
|
379
472
|
};
|
|
380
|
-
var
|
|
473
|
+
var M = function() {
|
|
381
474
|
var e = this, i = e._self._c;
|
|
382
475
|
return i("div", { ref: "dropdown", staticClass: "dropdown dropdown-menu-animation", class: e.rootClasses }, [e.inline ? e._e() : i("div", { ref: "trigger", staticClass: "dropdown-trigger", attrs: { role: "button", "aria-haspopup": "true" }, on: { click: e.toggle, mouseenter: e.checkHoverable } }, [e._t("trigger", null, { active: e.isActive })], 2), i("transition", { attrs: { name: "fade-in" } }, [e.isMobileModal ? i("div", { directives: [{ name: "show", rawName: "v-show", value: e.isActive, expression: "isActive" }], ref: "mobileBackground", staticClass: "fixed inset-0 z-40 bg-black/40", attrs: { "aria-hidden": !e.isActive } }) : e._e()]), i("transition", { attrs: { name: e.isMobileModal ? "slide-in-bottom" : e.animation } }, [i("div", { directives: [{ name: "show", rawName: "v-show", value: !e.disabled && (e.isActive || e.isHoverable) || e.inline, expression: "(!disabled && (isActive || isHoverable)) || inline" }, { name: "trap-focus", rawName: "v-trap-focus", value: e.trapFocus, expression: "trapFocus" }], ref: "dropdownMenu", staticClass: "dropdown-menu", style: {
|
|
383
476
|
...e.style,
|
|
@@ -385,15 +478,15 @@ var B = function() {
|
|
|
385
478
|
}, attrs: { "aria-hidden": !e.isActive } }, [e.isActive ? [e._t("header"), i("div", { staticClass: "dropdown-content", class: `${e.uniquePopoverClass}`, style: e.contentStyle, attrs: { role: e.ariaRole } }, [e.isMobileModal && e.mobileLabel ? e._t("mobileLabel", function() {
|
|
386
479
|
return [i("div", { staticClass: "dropdown-content-label" }, [e._v(e._s(e.mobileLabel))])];
|
|
387
480
|
}) : e._e(), e._t("default")], 2), e._t("footer")] : e._e()], 2)])], 1);
|
|
388
|
-
},
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
481
|
+
}, z = [], H = /* @__PURE__ */ b(
|
|
482
|
+
P,
|
|
483
|
+
M,
|
|
484
|
+
z,
|
|
392
485
|
!1,
|
|
393
486
|
null,
|
|
394
487
|
null
|
|
395
488
|
);
|
|
396
|
-
const
|
|
489
|
+
const U = H.exports, R = {
|
|
397
490
|
name: "CDropdownItem",
|
|
398
491
|
props: {
|
|
399
492
|
value: {
|
|
@@ -514,25 +607,30 @@ const H = O.exports, E = {
|
|
|
514
607
|
}
|
|
515
608
|
}
|
|
516
609
|
};
|
|
517
|
-
var
|
|
610
|
+
var D = function() {
|
|
518
611
|
var e = this, i = e._self._c;
|
|
519
612
|
return e.separator ? i("hr", { staticClass: "dropdown-divider" }) : !e.custom && !e.hasLink ? i(e.to && !e.disabled ? "router-link" : "a", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.tooltipItem, expression: "tooltipItem" }], tag: "component", staticClass: "dropdown-item truncate-text", class: [e.anchorClasses, `is-${e.type}`], attrs: { to: e.to, role: e.ariaRoleItem, tabindex: e.isFocusable ? 0 : null }, on: { click: e.selectItem } }, [e.iconLeft ? i("CIcon", e._b({ staticClass: "icon dropdown-item-icon", attrs: { type: e.iconLeft } }, "CIcon", { size: 18, ...e.iconProps }, !1)) : e._e(), e._t("default"), e.toggle ? i("CSwitch", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.tooltipItem, expression: "tooltipItem" }], staticStyle: { display: "inline-flex", "pointer-events": "none", position: "absolute", right: "0", top: "50%", transform: "translateY(-50%)", "margin-right": "0" }, attrs: { value: e.value, size: "tiny", type: "success" } }) : e._e(), e.iconRight ? i("CIcon", e._b({ staticClass: "icon dropdown-item-icon is-right", attrs: { type: e.iconRight || "chevron-up-down" } }, "CIcon", { size: 18, ...e.iconProps }, !1)) : e._e()], 2) : i("div", { staticClass: "truncate-text", class: [e.itemClasses, `is-${e.type}`], attrs: { role: e.ariaRoleItem, tabindex: e.isFocusable ? 0 : null }, on: { click: e.selectItem } }, [e.iconLeft ? i("CIcon", e._b({ staticClass: "icon dropdown-item-icon", attrs: { type: e.iconLeft } }, "CIcon", { size: 18, ...e.iconProps }, !1)) : e._e(), e._t("default"), e.iconRight ? i("CIcon", e._b({ staticClass: "icon dropdown-item-icon is-right", attrs: { type: e.iconRight } }, "CIcon", { size: 18, ...e.iconProps }, !1)) : e._e()], 2);
|
|
520
|
-
},
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
613
|
+
}, N = [], F = /* @__PURE__ */ b(
|
|
614
|
+
R,
|
|
615
|
+
D,
|
|
616
|
+
N,
|
|
524
617
|
!1,
|
|
525
618
|
null,
|
|
526
619
|
null
|
|
527
620
|
);
|
|
528
|
-
const
|
|
621
|
+
const X = F.exports;
|
|
529
622
|
export {
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
623
|
+
U as C,
|
|
624
|
+
X as a,
|
|
625
|
+
G as b,
|
|
626
|
+
L as c,
|
|
627
|
+
K as d,
|
|
628
|
+
W as e,
|
|
629
|
+
w as f,
|
|
630
|
+
Y as g,
|
|
631
|
+
_ as h,
|
|
632
|
+
q as i,
|
|
633
|
+
T as r,
|
|
634
|
+
V as s,
|
|
635
|
+
$ as w
|
|
538
636
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as s } from "./CCurrencyDropdown-
|
|
2
|
-
import { n as i, q as u, r as a } from "./main-
|
|
1
|
+
import { C as s } from "./CCurrencyDropdown-qH-3m2eP.js";
|
|
2
|
+
import { n as i, q as u, r as a } from "./main-WKzC-Dnu.js";
|
|
3
3
|
const l = {
|
|
4
4
|
name: "CPriceInput",
|
|
5
5
|
components: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as o } from "./SearchApi-
|
|
2
|
-
import { n as l, y as c } from "./main-
|
|
1
|
+
import { S as o } from "./SearchApi-BMgdaI4s.js";
|
|
2
|
+
import { n as l, y as c } from "./main-WKzC-Dnu.js";
|
|
3
3
|
const i = {
|
|
4
4
|
i18nOptions: {
|
|
5
5
|
namespaces: "components",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { C as v } from "./ClientAutocomplete-
|
|
2
|
-
import { E as p, a9 as y, I as C, n as u, b as l, d as b, c as _, g as c, aa as $, y as w } from "./main-
|
|
3
|
-
import { w as f } from "./CDropdownItem-
|
|
4
|
-
import { v as r } from "./index-
|
|
1
|
+
import { C as v } from "./ClientAutocomplete-DSebA1Mx.js";
|
|
2
|
+
import { E as p, a9 as y, I as C, n as u, b as l, d as b, c as _, g as c, aa as $, y as w } from "./main-WKzC-Dnu.js";
|
|
3
|
+
import { w as f } from "./CDropdownItem-BE8BAMD1.js";
|
|
4
|
+
import { v as r } from "./index-BV2nGWay.js";
|
|
5
5
|
import { m as g, b as x, a as k } from "./vuex.esm-DKGl8mcw.js";
|
|
6
|
-
import { o as N } from "./omit-
|
|
6
|
+
import { o as N } from "./omit-CTp9CXoU.js";
|
|
7
7
|
function h(a) {
|
|
8
8
|
if (typeof a > "u")
|
|
9
9
|
throw Error("Missing param inputParam");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { w as r } from "./CDropdownItem-
|
|
2
|
-
import { E as l, g as s, n as c } from "./main-
|
|
3
|
-
import { v as o } from "./index-
|
|
1
|
+
import { w as r } from "./CDropdownItem-BE8BAMD1.js";
|
|
2
|
+
import { E as l, g as s, n as c } from "./main-WKzC-Dnu.js";
|
|
3
|
+
import { v as o } from "./index-BV2nGWay.js";
|
|
4
4
|
import { m as p, b as n, a as d } from "./vuex.esm-DKGl8mcw.js";
|
|
5
|
-
import { s as m, a as u } from "./publicSenderState-
|
|
5
|
+
import { s as m, a as u } from "./publicSenderState-BujjYsZZ.js";
|
|
6
6
|
const { mapFields: f } = l({
|
|
7
7
|
getterType: "forms/getField",
|
|
8
8
|
mutationType: "forms/updateField"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { m as n } from "./mapFormMixin-
|
|
2
|
-
import { B as l } from "./BlockMedia-
|
|
3
|
-
import { t as r } from "./tinycolor-
|
|
4
|
-
import { T as i } from "./DocTextEditor-
|
|
5
|
-
import { n as s, ab as c, z as u, B as m, A as p } from "./main-
|
|
1
|
+
import { m as n } from "./mapFormMixin-QbevCwJK.js";
|
|
2
|
+
import { B as l } from "./BlockMedia-DkPFWiYL.js";
|
|
3
|
+
import { t as r } from "./tinycolor-kTl0yxzz.js";
|
|
4
|
+
import { T as i } from "./DocTextEditor-CntS2Bd-.js";
|
|
5
|
+
import { n as s, ab as c, z as u, B as m, A as p } from "./main-WKzC-Dnu.js";
|
|
6
6
|
import { i as d } from "./i18nMessages-Chz_lxGG.js";
|
|
7
7
|
const _ = {
|
|
8
8
|
name: "StaticComboLayout",
|
|
@@ -33,7 +33,7 @@ const h = y.exports, v = {
|
|
|
33
33
|
messages: d
|
|
34
34
|
},
|
|
35
35
|
components: {
|
|
36
|
-
DocumentLogotype: () => import("./DocumentLogotype-
|
|
36
|
+
DocumentLogotype: () => import("./DocumentLogotype-sqI51wvM.js"),
|
|
37
37
|
StaticComboLayout: h,
|
|
38
38
|
TextEditor: i
|
|
39
39
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as d } from "./mapFormMixin-
|
|
2
|
-
import { T as l } from "./ThemeColorRow-
|
|
3
|
-
import { n as s, P as p, H as u } from "./main-
|
|
1
|
+
import { m as d } from "./mapFormMixin-QbevCwJK.js";
|
|
2
|
+
import { T as l } from "./ThemeColorRow-DYJNgk6S.js";
|
|
3
|
+
import { n as s, P as p, H as u } from "./main-WKzC-Dnu.js";
|
|
4
4
|
const m = (i, e, t, o) => Math.atan2(i - t, e - o) * (180 / Math.PI) * -1 + 180, v = {
|
|
5
5
|
name: "DegreePicker",
|
|
6
6
|
props: {
|
|
@@ -135,8 +135,8 @@ var C = function() {
|
|
|
135
135
|
"e22a6b42"
|
|
136
136
|
);
|
|
137
137
|
const $ = w.exports, x = {
|
|
138
|
-
image: () => import("./ImageSelectModal-
|
|
139
|
-
video: () => import("./VideoSelectModal-
|
|
138
|
+
image: () => import("./ImageSelectModal-Cd-HhKnH.js"),
|
|
139
|
+
video: () => import("./VideoSelectModal-B-Pe34nb.js")
|
|
140
140
|
}, S = {
|
|
141
141
|
name: "CoverBlockSettings",
|
|
142
142
|
i18nOptions: {
|