@cling-se/widget 0.14.4 → 0.14.6
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-C7abPZ87.js +46 -0
- package/dist/AnswerModal-CsA2pl2P.js +3874 -0
- package/dist/AttachmentItem-Da1-7xwf.js +78 -0
- package/dist/BaseDatePicker-k9zlSi5J.js +3183 -0
- package/dist/BaseUpload-BUrXX3fT.js +1977 -0
- package/dist/BlockMedia-CYI07qAn.js +76 -0
- package/dist/CCallout-Qwae66vo.js +59 -0
- package/dist/CCurrencyDropdown-Y_u0hgBx.js +246 -0
- package/dist/CDropdownItem-CXJ4xD8W.js +538 -0
- package/dist/CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js +1 -0
- package/dist/CFormField--m3PvQuT.js +241 -0
- package/dist/CPhoneFormat-Qg6MkDVP.js +62 -0
- package/dist/CPriceInput-Dlx44UrR.js +112 -0
- package/dist/CTabs.vue_vue_type_style_index_0_scoped_b7262014_lang-l0sNRNKZ.js +1 -0
- package/dist/ClientAutocomplete-BKKc_br6.js +78 -0
- package/dist/ClientModal-CVZFb1Br.js +625 -0
- package/dist/ColorPicker-Bo3s3Esp.js +2879 -0
- package/dist/CompanyModal-DadjAioS.js +141 -0
- package/dist/ContentWrapper-BC3ZBQW9.js +183 -0
- package/dist/CoverBlockSettings-B484eE4g.js +275 -0
- package/dist/DocAnswer-CcYryOWI.js +36 -0
- package/dist/DocDetails-BigsoEWL.js +246 -0
- package/dist/DocForm-DlN0eNWt.js +7273 -0
- package/dist/DocFormSend-TqKo210I.js +143 -0
- package/dist/DocLinks-DSo54vDn.js +38 -0
- package/dist/DocModalBase-XlM1SThW.js +28 -0
- package/dist/DocPrint-tD0Vd9Sw.js +240 -0
- package/dist/DocReceipt-CDHPrhXM.js +210 -0
- package/dist/DocSendReminder-C62RhltH.js +137 -0
- package/dist/DocTextEditor-VjhV9IRp.js +17181 -0
- package/dist/DocTimeline-LcW4z3nC.js +481 -0
- package/dist/DocumentClient-CqbTRdpB.js +136 -0
- package/dist/DocumentLayout-Dbf8_01r.js +4909 -0
- package/dist/DocumentLogotype-DXYnBedV.js +87 -0
- package/dist/DocumentVoided-vH1Ti5lZ.js +25 -0
- package/dist/EmbedInput-D9qP8OnY.js +113 -0
- package/dist/EmbedSettings-DISuNqJT.js +72 -0
- package/dist/ErrorCallout-CCtCVwSh.js +28 -0
- package/dist/FilePreviewModal-BjhNyb6L.js +81 -0
- package/dist/Flag-Dhukv9_J.js +114 -0
- package/dist/HeaderSettings-CK4SkB1x.js +392 -0
- package/dist/ImageSelectModal-DnvPZzXx.js +84 -0
- package/dist/ImageUploadWrapper-B7cNMu5a.js +1604 -0
- package/dist/Index-B3HoK_cZ.js +84 -0
- package/dist/Index-B3aucNji.js +25 -0
- package/dist/Index-B9H5MMHb.js +62 -0
- package/dist/Index-BAYdvT-t.js +754 -0
- package/dist/Index-BLeQprjq.js +46 -0
- package/dist/Index-BOyvQlng.js +154 -0
- package/dist/Index-BVsw2tak.js +70 -0
- package/dist/Index-BY1UKGEO.js +98 -0
- package/dist/Index-Bh0kMSsA.js +107 -0
- package/dist/Index-BlQSM7tC.js +144 -0
- package/dist/Index-BpcJBGGd.js +642 -0
- package/dist/Index-Bs8wprXw.js +58 -0
- package/dist/Index-BvZZAvFd.js +21 -0
- package/dist/Index-CFo-3Y5Q.js +26 -0
- package/dist/Index-CNvp5K3L.js +559 -0
- package/dist/Index-CPJVx14x.js +171 -0
- package/dist/Index-CQ325eVT.js +140 -0
- package/dist/Index-CWrDtcfT.js +49 -0
- package/dist/Index-CyJnSvDR.js +223 -0
- package/dist/Index-D6bc7lg4.js +52 -0
- package/dist/Index-DCR8ev4U.js +33 -0
- package/dist/Index-DGQSB9cH.js +24 -0
- package/dist/Index-DXAvlq74.js +292 -0
- package/dist/Index-D_rfst8y.js +45 -0
- package/dist/Index-Dm8xMFGg.js +61 -0
- package/dist/Index-DtSSgtxB.js +55 -0
- package/dist/Index-DuTw9vhb.js +77 -0
- package/dist/Index-Dw26jtGV.js +31 -0
- package/dist/Index-OxN73_fO.js +32 -0
- package/dist/Index-S-FHG7_k.js +2402 -0
- package/dist/Index-ZFkitzfq.js +69 -0
- package/dist/Index-dyWK9jgr.js +25 -0
- package/dist/Index-gb11ngPS.js +57 -0
- package/dist/Index-lKk_XKJ3.js +150 -0
- package/dist/InputToggleRow-DSSvhPKA.js +57 -0
- package/dist/ManualPopover-lpJYSkw5.js +58 -0
- package/dist/MediaWrapper-BQ22FA2B.js +23 -0
- package/dist/NotBindingText-JxwzZLPP.js +32 -0
- package/dist/PackageGroup-BLSMSUDz.js +699 -0
- package/dist/PdfTerms-DtutjM5Y.js +36 -0
- package/dist/PdfViewer-BsxcZI_x.js +374 -0
- package/dist/PlainHtml-BMPZs2fT.js +20 -0
- package/dist/PriceHeader-BRYY01H2.js +339 -0
- package/dist/SearchApi-6001iFxU.js +161 -0
- package/dist/Setup-cw6jMI9M.js +50 -0
- package/dist/SmartList-q6H-uLbm.js +83 -0
- package/dist/TermsSettings-DWvaPneu.js +102 -0
- package/dist/ThemeColorRow-BXWnvfz-.js +67 -0
- package/dist/ToggleBinding-DydtwpNG.js +38 -0
- package/dist/UploadModal-D_EDKHGD.js +95 -0
- package/dist/VideoPlayerInput-B9yzUeBW.js +93 -0
- package/dist/VideoPlayerSettings-Bvp9l0yj.js +61 -0
- package/dist/VideoSelectModal-DY3N4JiS.js +100 -0
- package/dist/anime.es-BrPTThYb.js +858 -0
- package/dist/answerDocumentMixin-BYZPU_R-.js +51 -0
- package/dist/color-TdtKxwVa.js +19 -0
- package/dist/debounce-BPnlzNwd.js +84 -0
- package/dist/dom-CJxkno7i.js +91 -0
- package/dist/favicon.ico +0 -0
- package/dist/focusDrawerMixin-DC9Oa1i7.js +22 -0
- package/dist/formComponentsInstall-CEW6TK6z.js +2499 -0
- package/dist/formDrawerState-CAzvSMiQ.js +20 -0
- package/dist/formValidationMixin-D7zXxCpC.js +49 -0
- package/dist/i18nMessages-Chz_lxGG.js +17 -0
- package/dist/index-B9WDC3Xe.js +166 -0
- package/dist/index-BCMaUC5r.js +3916 -0
- package/dist/index-BDMI4NVY.js +492 -0
- package/dist/index-BbscgdRg.js +81 -0
- package/dist/index-CLUljEDI.js +347 -0
- package/dist/index-SxyZvewN.js +102 -0
- package/dist/index.es.js +35 -0
- package/dist/index.umd.js +3148 -0
- package/dist/main-CQBEuZk9.js +56739 -0
- package/dist/mapFormMixin-DlFcgwhm.js +72 -0
- package/dist/omit-BWy0Zhd3.js +31 -0
- package/dist/publicSenderState-CvOcFv2U.js +21 -0
- package/dist/splitpanes-BHUVsCZF.js +382 -0
- package/dist/style.css +4 -0
- package/dist/throttle-BrC8eGjQ.js +18 -0
- package/dist/tinycolor-PhFP695w.js +633 -0
- package/dist/tippy.esm-7dmKOUvu.js +1799 -0
- package/dist/utils-NBLgNGHR.js +108 -0
- package/dist/vuedraggable.umd-ByfH7ZxC.js +3161 -0
- package/dist/vuex.esm-DKGl8mcw.js +467 -0
- package/package.json +1 -1
- package/vite.config.ts +0 -1
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { w as a } from "./CDropdownItem-CXJ4xD8W.js";
|
|
2
|
+
import { b as r } from "./main-CQBEuZk9.js";
|
|
3
|
+
const m = ({ documentKey: s = "document" } = {}) => ({
|
|
4
|
+
mixins: [a],
|
|
5
|
+
inject: {
|
|
6
|
+
formValidation: { default: null }
|
|
7
|
+
},
|
|
8
|
+
methods: {
|
|
9
|
+
isValid() {
|
|
10
|
+
const { isFormValid: t, scrollToInvalidInput: i } = this.formValidation || this;
|
|
11
|
+
return !t || !i || t() ? !0 : i({ offset: 120 });
|
|
12
|
+
},
|
|
13
|
+
isAnswerModalOpen() {
|
|
14
|
+
const t = this.$modal.getOpenInstances();
|
|
15
|
+
return t && t.length && t.some((i) => {
|
|
16
|
+
var e;
|
|
17
|
+
return ((e = i.modalAttrs) == null ? void 0 : e.name) === "AnswerModal";
|
|
18
|
+
});
|
|
19
|
+
},
|
|
20
|
+
onAnswer(t = "accept", i = {}) {
|
|
21
|
+
if (this.isAnswerModalOpen())
|
|
22
|
+
return;
|
|
23
|
+
const e = r(this, s);
|
|
24
|
+
if (!e || e.isPreview || !(t === "decline" ? !0 : this.isValid()))
|
|
25
|
+
return;
|
|
26
|
+
const o = this.mq === "sm" ? "100%" : "auto", n = () => import("./AnswerModal-CsA2pl2P.js");
|
|
27
|
+
this.$modal.show(
|
|
28
|
+
n,
|
|
29
|
+
{
|
|
30
|
+
mode: t,
|
|
31
|
+
_document: e,
|
|
32
|
+
fullScreen: o === "100%",
|
|
33
|
+
calcHeight: !!i.calcHeight
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
name: "AnswerModal",
|
|
37
|
+
adaptive: !0,
|
|
38
|
+
height: "auto",
|
|
39
|
+
width: "90%",
|
|
40
|
+
maxWidth: 420,
|
|
41
|
+
classes: "overflow-visible",
|
|
42
|
+
transition: "modal-soft",
|
|
43
|
+
clickToClose: !1
|
|
44
|
+
}
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
export {
|
|
50
|
+
m as a
|
|
51
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const l = ({
|
|
2
|
+
type: n = "linear",
|
|
3
|
+
degree: r = 0,
|
|
4
|
+
colors: e = []
|
|
5
|
+
}) => {
|
|
6
|
+
let t = "";
|
|
7
|
+
return !e || e.length < 2 || (t = n === "linear" ? `linear-gradient(${r}deg,` : "radial-gradient(", e.forEach(({ color: a, percent: h }, i) => {
|
|
8
|
+
t += `${a} ${h}%`, i !== e.length - 1 && (t += ",");
|
|
9
|
+
}), t += ")"), t;
|
|
10
|
+
}, s = (n) => {
|
|
11
|
+
if (!n)
|
|
12
|
+
return "";
|
|
13
|
+
const r = Math.round(n.h * 100) / 100, e = Math.round(n.s * 100 * 100) / 100, t = Math.round(n.l * 100 * 100) / 100, a = Math.round(n.a * 100 * 100) / 100 / 100;
|
|
14
|
+
return `hsla(${r},${e}%,${t}%,${a})`;
|
|
15
|
+
};
|
|
16
|
+
export {
|
|
17
|
+
l as g,
|
|
18
|
+
s as h
|
|
19
|
+
};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { a7 as C, l as k, a8 as j, k as A } from "./main-CQBEuZk9.js";
|
|
2
|
+
var L = C, M = function() {
|
|
3
|
+
return L.Date.now();
|
|
4
|
+
}, B = M, F = /\s/;
|
|
5
|
+
function R(e) {
|
|
6
|
+
for (var r = e.length; r-- && F.test(e.charAt(r)); )
|
|
7
|
+
;
|
|
8
|
+
return r;
|
|
9
|
+
}
|
|
10
|
+
var D = R, H = D, P = /^\s+/;
|
|
11
|
+
function U(e) {
|
|
12
|
+
return e && e.slice(0, H(e) + 1).replace(P, "");
|
|
13
|
+
}
|
|
14
|
+
var X = U, q = X, y = k, w = j, _ = NaN, z = /^[-+]0x[0-9a-f]+$/i, G = /^0b[01]+$/i, J = /^0o[0-7]+$/i, K = parseInt;
|
|
15
|
+
function Q(e) {
|
|
16
|
+
if (typeof e == "number")
|
|
17
|
+
return e;
|
|
18
|
+
if (w(e))
|
|
19
|
+
return _;
|
|
20
|
+
if (y(e)) {
|
|
21
|
+
var r = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
22
|
+
e = y(r) ? r + "" : r;
|
|
23
|
+
}
|
|
24
|
+
if (typeof e != "string")
|
|
25
|
+
return e === 0 ? e : +e;
|
|
26
|
+
e = q(e);
|
|
27
|
+
var i = G.test(e);
|
|
28
|
+
return i || J.test(e) ? K(e.slice(2), i ? 2 : 8) : z.test(e) ? _ : +e;
|
|
29
|
+
}
|
|
30
|
+
var V = Q, Y = k, T = B, $ = V, Z = "Expected a function", ee = Math.max, ne = Math.min;
|
|
31
|
+
function re(e, r, i) {
|
|
32
|
+
var u, o, l, s, t, f, d = 0, I = !1, c = !1, b = !0;
|
|
33
|
+
if (typeof e != "function")
|
|
34
|
+
throw new TypeError(Z);
|
|
35
|
+
r = $(r) || 0, Y(i) && (I = !!i.leading, c = "maxWait" in i, l = c ? ee($(i.maxWait) || 0, r) : l, b = "trailing" in i ? !!i.trailing : b);
|
|
36
|
+
function g(n) {
|
|
37
|
+
var a = u, m = o;
|
|
38
|
+
return u = o = void 0, d = n, s = e.apply(m, a), s;
|
|
39
|
+
}
|
|
40
|
+
function O(n) {
|
|
41
|
+
return d = n, t = setTimeout(v, r), I ? g(n) : s;
|
|
42
|
+
}
|
|
43
|
+
function S(n) {
|
|
44
|
+
var a = n - f, m = n - d, p = r - a;
|
|
45
|
+
return c ? ne(p, l - m) : p;
|
|
46
|
+
}
|
|
47
|
+
function h(n) {
|
|
48
|
+
var a = n - f, m = n - d;
|
|
49
|
+
return f === void 0 || a >= r || a < 0 || c && m >= l;
|
|
50
|
+
}
|
|
51
|
+
function v() {
|
|
52
|
+
var n = T();
|
|
53
|
+
if (h(n))
|
|
54
|
+
return E(n);
|
|
55
|
+
t = setTimeout(v, S(n));
|
|
56
|
+
}
|
|
57
|
+
function E(n) {
|
|
58
|
+
return t = void 0, b && u ? g(n) : (u = o = void 0, s);
|
|
59
|
+
}
|
|
60
|
+
function N() {
|
|
61
|
+
t !== void 0 && clearTimeout(t), d = 0, u = f = o = t = void 0;
|
|
62
|
+
}
|
|
63
|
+
function W() {
|
|
64
|
+
return t === void 0 ? s : E(T());
|
|
65
|
+
}
|
|
66
|
+
function x() {
|
|
67
|
+
var n = T(), a = h(n);
|
|
68
|
+
if (u = arguments, o = this, f = n, a) {
|
|
69
|
+
if (t === void 0)
|
|
70
|
+
return O(f);
|
|
71
|
+
if (c)
|
|
72
|
+
return clearTimeout(t), t = setTimeout(v, r), g(f);
|
|
73
|
+
}
|
|
74
|
+
return t === void 0 && (t = setTimeout(v, r)), s;
|
|
75
|
+
}
|
|
76
|
+
return x.cancel = N, x.flush = W, x;
|
|
77
|
+
}
|
|
78
|
+
var te = re;
|
|
79
|
+
const ae = /* @__PURE__ */ A(te);
|
|
80
|
+
export {
|
|
81
|
+
te as a,
|
|
82
|
+
ae as d,
|
|
83
|
+
V as t
|
|
84
|
+
};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
const s = {}, a = {};
|
|
2
|
+
function u(t) {
|
|
3
|
+
if (a[t])
|
|
4
|
+
return;
|
|
5
|
+
if (s[t])
|
|
6
|
+
return s[t];
|
|
7
|
+
let o;
|
|
8
|
+
const n = new Promise((e, r) => {
|
|
9
|
+
o = window.setTimeout(() => {
|
|
10
|
+
s[t] = null, r(new Error(`Failed to load ${t} in 20s`));
|
|
11
|
+
}, 2e4), import(
|
|
12
|
+
/* @vite-ignore */
|
|
13
|
+
t
|
|
14
|
+
).then(() => {
|
|
15
|
+
o && window.clearTimeout(o), a[t] = !0, s[t] = null, e();
|
|
16
|
+
}).catch((c) => {
|
|
17
|
+
o && window.clearTimeout(o), s[t] = null, r(c);
|
|
18
|
+
});
|
|
19
|
+
});
|
|
20
|
+
return s[t] = n, n;
|
|
21
|
+
}
|
|
22
|
+
function p(t) {
|
|
23
|
+
if (t.endsWith(".mjs"))
|
|
24
|
+
return u(t);
|
|
25
|
+
if (a[t])
|
|
26
|
+
return;
|
|
27
|
+
if (s[t])
|
|
28
|
+
return s[t];
|
|
29
|
+
const o = new Promise((n, e) => {
|
|
30
|
+
const r = document.createElement("script"), c = window.setTimeout(() => {
|
|
31
|
+
s[t] = null, e(new Error(`Failed to load ${t} in 20s`));
|
|
32
|
+
}, 2e4);
|
|
33
|
+
r.onload = (f) => {
|
|
34
|
+
c && window.clearTimeout(c), a[t] = !0, s[t] = null, n();
|
|
35
|
+
}, r.onerror = (f) => {
|
|
36
|
+
c && window.clearTimeout(c), s[t] = null, e(f);
|
|
37
|
+
}, r.src = t, document.body.appendChild(r);
|
|
38
|
+
});
|
|
39
|
+
return s[t] = o, o;
|
|
40
|
+
}
|
|
41
|
+
function h(t) {
|
|
42
|
+
const o = t.getBoundingClientRect(), n = window.innerHeight || document.documentElement.clientHeight, e = window.innerWidth || document.documentElement.clientWidth, r = o.top <= n && o.top + o.height >= 0, c = o.left <= e && o.left + o.width >= 0;
|
|
43
|
+
return r && c;
|
|
44
|
+
}
|
|
45
|
+
const m = (t) => {
|
|
46
|
+
const o = /(auto|scroll)/, n = (i, l) => i.parentNode === null ? l : n(i.parentNode, l.concat([i])), e = (i, l) => getComputedStyle(i, null).getPropertyValue(l), r = (i) => e(i, "overflow") + e(i, "overflow-y") + e(i, "overflow-x"), c = (i) => o.test(r(i));
|
|
47
|
+
return ((i) => {
|
|
48
|
+
if (!(i instanceof HTMLElement || i instanceof SVGElement))
|
|
49
|
+
return null;
|
|
50
|
+
const l = n(i.parentNode, []);
|
|
51
|
+
for (let d = 0; d < l.length; d += 1)
|
|
52
|
+
if (c(l[d]))
|
|
53
|
+
return l[d];
|
|
54
|
+
return document.scrollingElement || document.documentElement;
|
|
55
|
+
})(t);
|
|
56
|
+
}, w = (t) => {
|
|
57
|
+
let o = 0;
|
|
58
|
+
for (; t; )
|
|
59
|
+
o += t.offsetTop, t = t.offsetParent;
|
|
60
|
+
return o;
|
|
61
|
+
};
|
|
62
|
+
function g(t, o) {
|
|
63
|
+
let n = t;
|
|
64
|
+
typeof n == "string" && (n = document.querySelector(n));
|
|
65
|
+
const e = {
|
|
66
|
+
offset: 0,
|
|
67
|
+
behavior: "smooth",
|
|
68
|
+
body: m(n),
|
|
69
|
+
// custom option used for choosing parent scroll element
|
|
70
|
+
...o
|
|
71
|
+
}, r = w(n);
|
|
72
|
+
HTMLElement.prototype.scrollTo ? e.body.scrollTo({
|
|
73
|
+
behavior: e.behavior,
|
|
74
|
+
top: r - e.offset
|
|
75
|
+
}) : e.body.scrollTop = r - e.offset;
|
|
76
|
+
}
|
|
77
|
+
const T = (t) => {
|
|
78
|
+
var e;
|
|
79
|
+
const o = (e = t == null ? void 0 : t.getRootNode) == null ? void 0 : e.call(t), n = (o == null ? void 0 : o.toString()) === "[object ShadowRoot]";
|
|
80
|
+
return {
|
|
81
|
+
isShadow: n,
|
|
82
|
+
el: n ? o : document
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
export {
|
|
86
|
+
m as a,
|
|
87
|
+
p as e,
|
|
88
|
+
T as g,
|
|
89
|
+
h as i,
|
|
90
|
+
g as s
|
|
91
|
+
};
|
package/dist/favicon.ico
ADDED
|
Binary file
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { s as o } from "./formDrawerState-CAzvSMiQ.js";
|
|
2
|
+
const t = {
|
|
3
|
+
inject: {
|
|
4
|
+
sectionTopNode: {
|
|
5
|
+
type: [String, Number],
|
|
6
|
+
default: null
|
|
7
|
+
}
|
|
8
|
+
},
|
|
9
|
+
computed: {
|
|
10
|
+
showDrawer() {
|
|
11
|
+
return this.sectionTopNode && o.openSection && this.sectionTopNode === o.openSection;
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
methods: {
|
|
15
|
+
openDrawer() {
|
|
16
|
+
this.sectionTopNode && (o.openSection = this.sectionTopNode);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
export {
|
|
21
|
+
t as f
|
|
22
|
+
};
|