@cling-se/widget 0.14.0 → 0.14.2
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-C7BLDW6Y.js → AddClientCallout-BP2ip0A4.js} +3 -3
- package/dist/{AnswerModal-KWFteFV9.js → AnswerModal-C8i3ldB_.js} +3 -3
- package/dist/{AttachmentItem-CSerklBS.js → AttachmentItem-BrvrAMae.js} +2 -2
- package/dist/{BaseDatePicker-BOxfHGS8.js → BaseDatePicker-BSkAllLg.js} +481 -481
- package/dist/{BaseUpload-B-CktrCH.js → BaseUpload-J2v3G0-q.js} +13 -13
- package/dist/{BlockMedia-T4OxMb4n.js → BlockMedia-CAgKbN_k.js} +1 -1
- package/dist/{CCallout-yFt7TFJa.js → CCallout-D5Nk5DgN.js} +2 -2
- package/dist/CCurrencyDropdown-CGYQfYSD.js +246 -0
- package/dist/{CDropdownItem-DhEpCmQt.js → CDropdownItem-DGES8E6l.js} +7 -5
- package/dist/{CFormField-DDLf5YY4.js → CFormField-CE4rV3cr.js} +1 -1
- package/dist/{CPhoneFormat-B88rkuf0.js → CPhoneFormat-DXPrTit9.js} +1 -1
- package/dist/CPriceInput-CYsf1n6T.js +112 -0
- package/dist/CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js +1 -0
- package/dist/{ClientAutocomplete-DmRl3SUj.js → ClientAutocomplete-DPgOfPg1.js} +2 -2
- package/dist/{ClientModal-Dn3WDhGU.js → ClientModal-Dznh8Vvn.js} +44 -36
- package/dist/{ColorPicker-DX6JAsTn.js → ColorPicker-CWQEE8VR.js} +1 -1
- package/dist/{CompanyModal-BbO2nTd5.js → CompanyModal-CeZ3GgLu.js} +4 -4
- package/dist/{ContentWrapper-BvbmcTXK.js → ContentWrapper-DW7VHTdA.js} +6 -6
- package/dist/{CoverBlockSettings-C8FDwx7i.js → CoverBlockSettings-DNSdXFgF.js} +5 -5
- package/dist/{DocAnswer-OttbybQs.js → DocAnswer-CPttkKAJ.js} +2 -2
- package/dist/{DocDetails-J7O26zqa.js → DocDetails-BCwWW_kM.js} +7 -7
- package/dist/{DocForm-Bgbesq79.js → DocForm-BPjC08Ic.js} +54 -53
- package/dist/{DocFormSend-D_U3ztgw.js → DocFormSend-BaC8IJCu.js} +2 -2
- package/dist/{DocLinks-Dp-iQ-B_.js → DocLinks-DN-S8MY_.js} +2 -2
- package/dist/{DocModalBase-F-wlPg7j.js → DocModalBase-bFJp0T2Y.js} +1 -1
- package/dist/{DocPrint-B45voy0W.js → DocPrint-Ci7Jyh-C.js} +11 -17
- package/dist/{DocReceipt-jKVK5U-a.js → DocReceipt-BYlXr6eS.js} +6 -6
- package/dist/{DocSendReminder-BersSNb1.js → DocSendReminder-DFx4934a.js} +1 -1
- package/dist/{DocTextEditor-CYe_jWZ8.js → DocTextEditor-idQMnlIF.js} +281 -270
- package/dist/{DocTimeline-yyzh51yB.js → DocTimeline-ZmGSVRUB.js} +1 -1
- package/dist/{DocumentClient-CS_EVjK9.js → DocumentClient-DTRlyvLO.js} +5 -5
- package/dist/{DocumentLayout-Ba121Zro.js → DocumentLayout-BJAyNjNa.js} +4 -4
- package/dist/{DocumentLogotype-DUVhl9xC.js → DocumentLogotype-pDJRc6Hj.js} +3 -3
- package/dist/{DocumentVoided-D5ePc-a5.js → DocumentVoided-DfKewfe4.js} +1 -1
- package/dist/{EmbedInput-Ds-Z-0J2.js → EmbedInput-7hLNsnEV.js} +2 -2
- package/dist/{EmbedSettings-C8BP4YuY.js → EmbedSettings-CpL24RhA.js} +2 -2
- package/dist/{ErrorCallout-B_QrRAm6.js → ErrorCallout-CdJCe67q.js} +1 -1
- package/dist/{FilePreviewModal-B105PxLD.js → FilePreviewModal-B7qT3I7F.js} +2 -2
- package/dist/{Flag-hg61To9C.js → Flag-DwW19zju.js} +1 -1
- package/dist/{HeaderSettings-DIBiJc4I.js → HeaderSettings-C8SuuAwv.js} +7 -7
- package/dist/{ImageSelectModal-D2g42vWJ.js → ImageSelectModal-CAOh3YHc.js} +3 -3
- package/dist/{ImageUploadWrapper-CREUMKh3.js → ImageUploadWrapper-21yldsj9.js} +2 -2
- package/dist/{Index-8DAfMA_s.js → Index-B0BgYtWI.js} +5 -5
- package/dist/{Index-4NdatdH2.js → Index-BC1AhlQ9.js} +6 -6
- package/dist/{Index-CwulQoRG.js → Index-BZi6r2UN.js} +8 -8
- package/dist/{Index-agYFtWMw.js → Index-BsD09y_2.js} +6 -6
- package/dist/{Index-BZM-FsHY.js → Index-Bu9SdKLP.js} +1 -1
- package/dist/{Index-YkoWXviW.js → Index-BvsqZh2A.js} +4 -4
- package/dist/{Index-DeNpUKh8.js → Index-Bz4qd9uO.js} +5 -5
- package/dist/{Index-BLQwYzIX.js → Index-C--GiPc1.js} +4 -4
- package/dist/{Index-DDj3_T_m.js → Index-CC7qF0br.js} +4 -4
- package/dist/{Index-Dy7K8KMB.js → Index-CGxOvTF4.js} +590 -694
- package/dist/{Index-7rbX01Io.js → Index-CI7_ktvb.js} +5 -5
- package/dist/{Index-DRgVg0CH.js → Index-COJZmxkX.js} +4 -4
- package/dist/{Index-Bu6aOCmM.js → Index-CObEQ6G-.js} +3 -3
- package/dist/{Index-CpWW7m5F.js → Index-CP2bsXd-.js} +11 -13
- package/dist/{Index-lKo8z-71.js → Index-CSvZBLnp.js} +3 -3
- package/dist/{Index-BuDj2yrd.js → Index-Ci-hGBbC.js} +4 -4
- package/dist/{Index-CL12KArA.js → Index-Ckzq1cEJ.js} +22 -18
- package/dist/{Index-C56fTFO3.js → Index-CoIh5y2F.js} +4 -4
- package/dist/{Index-BiK7PqAm.js → Index-Couda8BX.js} +2 -2
- package/dist/{Index-D_MonVUx.js → Index-CvXt3dm6.js} +23 -23
- package/dist/{Index-D0gS476H.js → Index-D95MNzAZ.js} +4 -4
- package/dist/{Index-Dqp7TmnQ.js → Index-DB5EG4EI.js} +32 -30
- package/dist/{Index-02IKjPth.js → Index-DDvRihXA.js} +3 -3
- package/dist/{Index-sltQx4D3.js → Index-DIAntwBs.js} +2 -2
- package/dist/{Index-CYHxrllv.js → Index-DUdJNcDT.js} +4 -4
- package/dist/{Index-BG9x90V0.js → Index-DfANvO5d.js} +5 -5
- package/dist/{Index-DVQ6ZsHz.js → Index-Ds1Jv5Mr.js} +5 -5
- package/dist/{Index-B8xcDVQ1.js → Index-FIWsRGmh.js} +5 -5
- package/dist/{Index-bTXYCG9Y.js → Index-M3b7S4YX.js} +4 -4
- package/dist/{Index-kAu-7TWv.js → Index-NoN1_539.js} +10 -10
- package/dist/{Index-CUxvKTfn.js → Index-UGFm4yxI.js} +5 -5
- package/dist/{Index-BUTYZCat.js → Index-aCBe0dXx.js} +2 -2
- package/dist/{Index-DIg77V9c.js → Index-kJFtpJEP.js} +2 -2
- package/dist/{Index-BqBi-EmE.js → Index-rQKoLISX.js} +2 -2
- package/dist/{InputToggleRow-C7aWJpUF.js → InputToggleRow-Ct8rvqAF.js} +1 -1
- package/dist/{ManualPopover-CK9Xp-mo.js → ManualPopover-B0vp9ydC.js} +1 -1
- package/dist/{MediaWrapper-v87wlFnj.js → MediaWrapper-hmofOPLv.js} +3 -3
- package/dist/{NotBindingText-BGy3SnK3.js → NotBindingText-COpJPwHe.js} +2 -2
- package/dist/{PackageGroup-CrsOkWIb.js → PackageGroup-BdtslJL-.js} +8 -8
- package/dist/{PdfTerms-UmEmlI0Y.js → PdfTerms-EDStBDhn.js} +2 -2
- package/dist/{PdfViewer-C6VBu4tT.js → PdfViewer-D1_Roqu2.js} +3 -3
- package/dist/{PlainHtml-Dsaxrq3D.js → PlainHtml-C3JPvt4o.js} +1 -1
- package/dist/{PriceHeader-DQ615L9Q.js → PriceHeader-BdfozyN8.js} +9 -9
- package/dist/{SearchApi-CbWFQfoc.js → SearchApi-CQtYh98a.js} +2 -2
- package/dist/{Setup-Byd-0W7U.js → Setup-DHHMT6xu.js} +1 -1
- package/dist/{CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-DbBb6ZId.js → SmartList-BXeRj5NC.js} +1 -1
- package/dist/{TermsSettings-Cah7_3Ba.js → TermsSettings-D1tDAu-r.js} +3 -3
- package/dist/{ThemeColorRow-DqsjvQfY.js → ThemeColorRow-HUN-QPY_.js} +3 -3
- package/dist/{ToggleBinding-DFr6xW2B.js → ToggleBinding-CRoVM6Nw.js} +3 -3
- package/dist/{UploadModal-jRI9ITty.js → UploadModal-BD3pIiPT.js} +2 -2
- package/dist/{VideoPlayerInput-C5_Ft8-4.js → VideoPlayerInput-QFJfPoCf.js} +3 -3
- package/dist/{VideoPlayerSettings-LZluC-Tg.js → VideoPlayerSettings-CGq--niu.js} +2 -2
- package/dist/{VideoSelectModal-OGDq_lwv.js → VideoSelectModal-B61rBqdH.js} +3 -3
- package/dist/{answerDocumentMixin-D8BXcPWt.js → answerDocumentMixin-DiONfM1s.js} +3 -3
- package/dist/{debounce-BQXg61RJ.js → debounce-BIchuVwa.js} +11 -11
- package/dist/{focusDrawerMixin-D3Pzr0P-.js → focusDrawerMixin-CzvgKsOZ.js} +1 -1
- package/dist/{formComponentsInstall-D1VBPt9o.js → formComponentsInstall-EQLbqYqI.js} +74 -76
- package/dist/{formDrawerState-wG6RdIXD.js → formDrawerState-CiKGHdNH.js} +1 -1
- package/dist/{formValidationMixin-D9qFZJf9.js → formValidationMixin-5BVcxu38.js} +1 -1
- package/dist/{index-BFnwm62-.js → index-BYTRIZIz.js} +1 -1
- package/dist/{index-Dnp3LAf2.js → index-Be__C37A.js} +1 -1
- package/dist/{index-DETqm8Jy.js → index-CUydiL8B.js} +15 -15
- package/dist/{index-1DmXjcSN.js → index-DH6SCEKQ.js} +12 -12
- package/dist/{index-BEOnzeEr.js → index-gtVGRKIX.js} +5 -5
- package/dist/{index-M-GXl2PO.js → index-tNIrTnCx.js} +20 -20
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +133 -141
- package/dist/{main-CWRB9q-W.js → main-Bp2qcma0.js} +4022 -4031
- package/dist/{mapFormMixin-BOmDynJ-.js → mapFormMixin-Ce3_WIKw.js} +1 -1
- package/dist/omit-21u5fFMx.js +31 -0
- package/dist/{publicSenderState-D_VhSyXD.js → publicSenderState-BcN9kJJr.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/{throttle-Bixql7MZ.js → throttle-CfPxqhW_.js} +2 -2
- package/dist/{tinycolor-CIjZZX-6.js → tinycolor-DNK6zGoq.js} +1 -1
- package/dist/tippy.esm-B5TcTBWX.js +1799 -0
- package/dist/{utils-1ypnMuRv.js → utils-GzwJPAEe.js} +1 -1
- package/dist/{omit-CMqxXOLn.js → vuedraggable.umd-2pmrPYml.js} +526 -554
- package/package.json +1 -1
- package/dist/BaseInput-BDjhI5P9.js +0 -364
- package/dist/tippy.esm-BcAHvKwR.js +0 -2039
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a5 as Ue, k as De, n as $e, af as ye, O as ve } from "./main-Bp2qcma0.js";
|
|
2
2
|
/*!
|
|
3
3
|
* Compressor.js v1.1.1
|
|
4
4
|
* https://fengyuanchen.github.io/compressorjs
|
|
@@ -398,10 +398,10 @@ var Ge = q.ArrayBuffer, Ce = q.FileReader, X = q.URL || q.webkitURL, Ke = /\.\w+
|
|
|
398
398
|
value: function(a) {
|
|
399
399
|
var l = this, d = a.naturalWidth, p = a.naturalHeight, m = a.rotate, k = m === void 0 ? 0 : m, g = a.scaleX, b = g === void 0 ? 1 : g, w = a.scaleY, A = w === void 0 ? 1 : w, B = this.file, T = this.image, v = this.options, S = document.createElement("canvas"), U = S.getContext("2d"), H = Math.abs(k) % 180 === 90, G = (v.resize === "contain" || v.resize === "cover") && de(v.width) && de(v.height), F = Math.max(v.maxWidth, 0) || 1 / 0, I = Math.max(v.maxHeight, 0) || 1 / 0, z = Math.max(v.minWidth, 0) || 0, W = Math.max(v.minHeight, 0) || 0, L = d / p, D = v.width, $ = v.height;
|
|
400
400
|
if (H) {
|
|
401
|
-
var
|
|
402
|
-
F =
|
|
403
|
-
var
|
|
404
|
-
z =
|
|
401
|
+
var Q = [I, F];
|
|
402
|
+
F = Q[0], I = Q[1];
|
|
403
|
+
var Z = [W, z];
|
|
404
|
+
z = Z[0], W = Z[1];
|
|
405
405
|
var K = [$, D];
|
|
406
406
|
D = K[0], $ = K[1];
|
|
407
407
|
}
|
|
@@ -1625,12 +1625,12 @@ var Ge = q.ArrayBuffer, Ce = q.FileReader, X = q.URL || q.webkitURL, Ke = /\.\w+
|
|
|
1625
1625
|
}
|
|
1626
1626
|
}
|
|
1627
1627
|
}, $ = typeof navigator < "u" && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
1628
|
-
function
|
|
1628
|
+
function Q(f) {
|
|
1629
1629
|
return function(t, r) {
|
|
1630
1630
|
return ee(t, r);
|
|
1631
1631
|
};
|
|
1632
1632
|
}
|
|
1633
|
-
var
|
|
1633
|
+
var Z = document.head || document.getElementsByTagName("head")[0], K = {};
|
|
1634
1634
|
function ee(f, t) {
|
|
1635
1635
|
var r = $ ? t.media || "default" : f, i = K[r] || (K[r] = {
|
|
1636
1636
|
ids: /* @__PURE__ */ new Set(),
|
|
@@ -1641,7 +1641,7 @@ var Ge = q.ArrayBuffer, Ce = q.FileReader, X = q.URL || q.webkitURL, Ke = /\.\w+
|
|
|
1641
1641
|
var u = t.source;
|
|
1642
1642
|
if (t.map && (u += `
|
|
1643
1643
|
/*# sourceURL=` + t.map.sources[0] + " */", u += `
|
|
1644
|
-
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(t.map)))) + " */"), i.element || (i.element = document.createElement("style"), i.element.type = "text/css", t.media && i.element.setAttribute("media", t.media),
|
|
1644
|
+
/*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(t.map)))) + " */"), i.element || (i.element = document.createElement("style"), i.element.type = "text/css", t.media && i.element.setAttribute("media", t.media), Z.appendChild(i.element)), "styleSheet" in i.element)
|
|
1645
1645
|
i.styles.push(u), i.element.styleSheet.cssText = i.styles.filter(Boolean).join(`
|
|
1646
1646
|
`);
|
|
1647
1647
|
else {
|
|
@@ -1650,7 +1650,7 @@ var Ge = q.ArrayBuffer, Ce = q.FileReader, X = q.URL || q.webkitURL, Ke = /\.\w+
|
|
|
1650
1650
|
}
|
|
1651
1651
|
}
|
|
1652
1652
|
}
|
|
1653
|
-
var te =
|
|
1653
|
+
var te = Q, re = D, ie = function() {
|
|
1654
1654
|
var t = this, r = t.$createElement, i = t._self._c || r;
|
|
1655
1655
|
return i("span", { class: t.className }, [t._t("default"), t._v(" "), i("label", { attrs: { for: t.inputId || t.name } }), t._v(" "), i("input-file")], 2);
|
|
1656
1656
|
}, ne = [], ae = function(t) {
|
|
@@ -1666,7 +1666,7 @@ var Ge = q.ArrayBuffer, Ce = q.FileReader, X = q.URL || q.webkitURL, Ke = /\.\w+
|
|
|
1666
1666
|
});
|
|
1667
1667
|
})(we);
|
|
1668
1668
|
var Ye = we.exports;
|
|
1669
|
-
const Ve = /* @__PURE__ */ De(Ye),
|
|
1669
|
+
const Ve = /* @__PURE__ */ De(Ye), Qe = {
|
|
1670
1670
|
i18nOptions: {
|
|
1671
1671
|
namespaces: "baseUpload",
|
|
1672
1672
|
messages: {
|
|
@@ -1697,7 +1697,7 @@ const Ve = /* @__PURE__ */ De(Ye), Ze = {
|
|
|
1697
1697
|
name: "BaseUpload",
|
|
1698
1698
|
components: {
|
|
1699
1699
|
FileUpload: Ve,
|
|
1700
|
-
UploadModal: () => import("./UploadModal-
|
|
1700
|
+
UploadModal: () => import("./UploadModal-BD3pIiPT.js")
|
|
1701
1701
|
},
|
|
1702
1702
|
props: {
|
|
1703
1703
|
// Optional function to handle any errors
|
|
@@ -1949,7 +1949,7 @@ const Ve = /* @__PURE__ */ De(Ye), Ze = {
|
|
|
1949
1949
|
}
|
|
1950
1950
|
}
|
|
1951
1951
|
};
|
|
1952
|
-
var
|
|
1952
|
+
var Ze = function() {
|
|
1953
1953
|
var l, d, p;
|
|
1954
1954
|
var n = this, a = n._self._c;
|
|
1955
1955
|
return a("FileUpload", { ref: "upload", staticClass: "btn btn-primary white-list", attrs: { maximum: n.maximum, "custom-action": n.postAction, extensions: n.extensions, multiple: n.multiple, drop: n.drop || n.modalOpen, size: n.maxSize, thread: 1, accept: n.accept }, on: { input: function(m) {
|
|
@@ -1964,8 +1964,8 @@ var Qe = function() {
|
|
|
1964
1964
|
n.$emit("upload-success", { response: m }), n.modalOpen = !1;
|
|
1965
1965
|
} } })], 1)]), (p = n.$refs.upload) != null && p.dropActive ? a("div", { staticClass: "drop-active font-inter", staticStyle: { "pointer-events": "none" } }, [a("style", { tag: "component", attrs: { type: "text/css" } }, [n._v(" * { pointer-events: none !important; } .white-list { pointer-events: initial !important; } ")]), a("CIcon", { attrs: { type: "upload-cloud", size: "60" } }), n._v(" " + n._s(n.$t("dropActive")) + " ")], 1) : n._e()]) : n._e()], 2);
|
|
1966
1966
|
}, et = [], tt = /* @__PURE__ */ $e(
|
|
1967
|
-
Ze,
|
|
1968
1967
|
Qe,
|
|
1968
|
+
Ze,
|
|
1969
1969
|
et,
|
|
1970
1970
|
!1,
|
|
1971
1971
|
null,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as a, f as s } from "./main-
|
|
2
|
-
import "./CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-
|
|
1
|
+
import { n as a, f as s } from "./main-Bp2qcma0.js";
|
|
2
|
+
import "./CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js";
|
|
3
3
|
const i = {
|
|
4
4
|
name: "CCallout",
|
|
5
5
|
components: {
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
import { C as t, a as l } from "./CDropdownItem-DGES8E6l.js";
|
|
2
|
+
import { n as s, q as u, r } from "./main-Bp2qcma0.js";
|
|
3
|
+
import { S as c } from "./SmartList-BXeRj5NC.js";
|
|
4
|
+
const d = {
|
|
5
|
+
AED: "United Arab Emirates Dirham",
|
|
6
|
+
AFN: "Afghan Afghani",
|
|
7
|
+
ALL: "Albanian Lek",
|
|
8
|
+
AMD: "Armenian Dram",
|
|
9
|
+
ANG: "Netherlands Antillean Guilder",
|
|
10
|
+
AOA: "Angolan Kwanza",
|
|
11
|
+
ARS: "Argentine Peso",
|
|
12
|
+
AUD: "Australian Dollar",
|
|
13
|
+
AWG: "Aruban Florin",
|
|
14
|
+
AZN: "Azerbaijani Manat",
|
|
15
|
+
BAM: "Bosnia-Herzegovina Convertible Mark",
|
|
16
|
+
BBD: "Barbadian Dollar",
|
|
17
|
+
BDT: "Bangladeshi Taka",
|
|
18
|
+
BGN: "Bulgarian Lev",
|
|
19
|
+
BHD: "Bahraini Dinar",
|
|
20
|
+
BIF: "Burundian Franc",
|
|
21
|
+
BMD: "Bermudan Dollar",
|
|
22
|
+
BND: "Brunei Dollar",
|
|
23
|
+
BOB: "Bolivian Boliviano",
|
|
24
|
+
BRL: "Brazilian Real",
|
|
25
|
+
BSD: "Bahamian Dollar",
|
|
26
|
+
BTC: "Bitcoin",
|
|
27
|
+
BTN: "Bhutanese Ngultrum",
|
|
28
|
+
BWP: "Botswanan Pula",
|
|
29
|
+
BYN: "Belarusian Ruble",
|
|
30
|
+
BZD: "Belize Dollar",
|
|
31
|
+
CAD: "Canadian Dollar",
|
|
32
|
+
CDF: "Congolese Franc",
|
|
33
|
+
CHF: "Swiss Franc",
|
|
34
|
+
CLF: "Chilean Unit of Account (UF)",
|
|
35
|
+
CLP: "Chilean Peso",
|
|
36
|
+
CNH: "Chinese Yuan (Offshore)",
|
|
37
|
+
CNY: "Chinese Yuan",
|
|
38
|
+
COP: "Colombian Peso",
|
|
39
|
+
CRC: "Costa Rican Colón",
|
|
40
|
+
CUC: "Cuban Convertible Peso",
|
|
41
|
+
CUP: "Cuban Peso",
|
|
42
|
+
CVE: "Cape Verdean Escudo",
|
|
43
|
+
CZK: "Czech Republic Koruna",
|
|
44
|
+
DJF: "Djiboutian Franc",
|
|
45
|
+
DKK: "Danish Krone",
|
|
46
|
+
DOP: "Dominican Peso",
|
|
47
|
+
DZD: "Algerian Dinar",
|
|
48
|
+
EGP: "Egyptian Pound",
|
|
49
|
+
ERN: "Eritrean Nakfa",
|
|
50
|
+
ETB: "Ethiopian Birr",
|
|
51
|
+
EUR: "Euro",
|
|
52
|
+
FJD: "Fijian Dollar",
|
|
53
|
+
FKP: "Falkland Islands Pound",
|
|
54
|
+
GBP: "British Pound Sterling",
|
|
55
|
+
GEL: "Georgian Lari",
|
|
56
|
+
GGP: "Guernsey Pound",
|
|
57
|
+
GHS: "Ghanaian Cedi",
|
|
58
|
+
GIP: "Gibraltar Pound",
|
|
59
|
+
GMD: "Gambian Dalasi",
|
|
60
|
+
GNF: "Guinean Franc",
|
|
61
|
+
GTQ: "Guatemalan Quetzal",
|
|
62
|
+
GYD: "Guyanaese Dollar",
|
|
63
|
+
HKD: "Hong Kong Dollar",
|
|
64
|
+
HNL: "Honduran Lempira",
|
|
65
|
+
HRK: "Croatian Kuna",
|
|
66
|
+
HTG: "Haitian Gourde",
|
|
67
|
+
HUF: "Hungarian Forint",
|
|
68
|
+
IDR: "Indonesian Rupiah",
|
|
69
|
+
ILS: "Israeli New Sheqel",
|
|
70
|
+
IMP: "Manx pound",
|
|
71
|
+
INR: "Indian Rupee",
|
|
72
|
+
IQD: "Iraqi Dinar",
|
|
73
|
+
IRR: "Iranian Rial",
|
|
74
|
+
ISK: "Icelandic Króna",
|
|
75
|
+
JEP: "Jersey Pound",
|
|
76
|
+
JMD: "Jamaican Dollar",
|
|
77
|
+
JOD: "Jordanian Dinar",
|
|
78
|
+
JPY: "Japanese Yen",
|
|
79
|
+
KES: "Kenyan Shilling",
|
|
80
|
+
KGS: "Kyrgystani Som",
|
|
81
|
+
KHR: "Cambodian Riel",
|
|
82
|
+
KMF: "Comorian Franc",
|
|
83
|
+
KPW: "North Korean Won",
|
|
84
|
+
KRW: "South Korean Won",
|
|
85
|
+
KWD: "Kuwaiti Dinar",
|
|
86
|
+
KYD: "Cayman Islands Dollar",
|
|
87
|
+
KZT: "Kazakhstani Tenge",
|
|
88
|
+
LAK: "Laotian Kip",
|
|
89
|
+
LBP: "Lebanese Pound",
|
|
90
|
+
LKR: "Sri Lankan Rupee",
|
|
91
|
+
LRD: "Liberian Dollar",
|
|
92
|
+
LSL: "Lesotho Loti",
|
|
93
|
+
LYD: "Libyan Dinar",
|
|
94
|
+
MAD: "Moroccan Dirham",
|
|
95
|
+
MDL: "Moldovan Leu",
|
|
96
|
+
MGA: "Malagasy Ariary",
|
|
97
|
+
MKD: "Macedonian Denar",
|
|
98
|
+
MMK: "Myanma Kyat",
|
|
99
|
+
MNT: "Mongolian Tugrik",
|
|
100
|
+
MOP: "Macanese Pataca",
|
|
101
|
+
MRO: "Mauritanian Ouguiya (pre-2018)",
|
|
102
|
+
MRU: "Mauritanian Ouguiya",
|
|
103
|
+
MUR: "Mauritian Rupee",
|
|
104
|
+
MVR: "Maldivian Rufiyaa",
|
|
105
|
+
MWK: "Malawian Kwacha",
|
|
106
|
+
MXN: "Mexican Peso",
|
|
107
|
+
MYR: "Malaysian Ringgit",
|
|
108
|
+
MZN: "Mozambican Metical",
|
|
109
|
+
NAD: "Namibian Dollar",
|
|
110
|
+
NGN: "Nigerian Naira",
|
|
111
|
+
NIO: "Nicaraguan Córdoba",
|
|
112
|
+
NOK: "Norwegian Krone",
|
|
113
|
+
NPR: "Nepalese Rupee",
|
|
114
|
+
NZD: "New Zealand Dollar",
|
|
115
|
+
OMR: "Omani Rial",
|
|
116
|
+
PAB: "Panamanian Balboa",
|
|
117
|
+
PEN: "Peruvian Nuevo Sol",
|
|
118
|
+
PGK: "Papua New Guinean Kina",
|
|
119
|
+
PHP: "Philippine Peso",
|
|
120
|
+
PKR: "Pakistani Rupee",
|
|
121
|
+
PLN: "Polish Zloty",
|
|
122
|
+
PYG: "Paraguayan Guarani",
|
|
123
|
+
QAR: "Qatari Rial",
|
|
124
|
+
RON: "Romanian Leu",
|
|
125
|
+
RSD: "Serbian Dinar",
|
|
126
|
+
RUB: "Russian Ruble",
|
|
127
|
+
RWF: "Rwandan Franc",
|
|
128
|
+
SAR: "Saudi Riyal",
|
|
129
|
+
SBD: "Solomon Islands Dollar",
|
|
130
|
+
SCR: "Seychellois Rupee",
|
|
131
|
+
SDG: "Sudanese Pound",
|
|
132
|
+
SEK: "Swedish Krona",
|
|
133
|
+
SGD: "Singapore Dollar",
|
|
134
|
+
SHP: "Saint Helena Pound",
|
|
135
|
+
SLL: "Sierra Leonean Leone",
|
|
136
|
+
SOS: "Somali Shilling",
|
|
137
|
+
SRD: "Surinamese Dollar",
|
|
138
|
+
SSP: "South Sudanese Pound",
|
|
139
|
+
STD: "São Tomé and Príncipe Dobra (pre-2018)",
|
|
140
|
+
STN: "São Tomé and Príncipe Dobra",
|
|
141
|
+
SVC: "Salvadoran Colón",
|
|
142
|
+
SYP: "Syrian Pound",
|
|
143
|
+
SZL: "Swazi Lilangeni",
|
|
144
|
+
THB: "Thai Baht",
|
|
145
|
+
TJS: "Tajikistani Somoni",
|
|
146
|
+
TMT: "Turkmenistani Manat",
|
|
147
|
+
TND: "Tunisian Dinar",
|
|
148
|
+
TOP: "Tongan Pa'anga",
|
|
149
|
+
TRY: "Turkish Lira",
|
|
150
|
+
TTD: "Trinidad and Tobago Dollar",
|
|
151
|
+
TWD: "New Taiwan Dollar",
|
|
152
|
+
TZS: "Tanzanian Shilling",
|
|
153
|
+
UAH: "Ukrainian Hryvnia",
|
|
154
|
+
UGX: "Ugandan Shilling",
|
|
155
|
+
USD: "United States Dollar",
|
|
156
|
+
UYU: "Uruguayan Peso",
|
|
157
|
+
UZS: "Uzbekistan Som",
|
|
158
|
+
VEF: "Venezuelan Bolívar Fuerte (Old)",
|
|
159
|
+
VES: "Venezuelan Bolívar Soberano",
|
|
160
|
+
VND: "Vietnamese Dong",
|
|
161
|
+
VUV: "Vanuatu Vatu",
|
|
162
|
+
WST: "Samoan Tala",
|
|
163
|
+
XAF: "CFA Franc BEAC",
|
|
164
|
+
XCD: "East Caribbean Dollar",
|
|
165
|
+
XOF: "CFA Franc BCEAO",
|
|
166
|
+
XPF: "CFP Franc",
|
|
167
|
+
YER: "Yemeni Rial",
|
|
168
|
+
ZAR: "South African Rand",
|
|
169
|
+
ZMW: "Zambian Kwacha",
|
|
170
|
+
ZWL: "Zimbabwean Dollar"
|
|
171
|
+
}, D = {
|
|
172
|
+
name: "CCurrencyDropdown",
|
|
173
|
+
components: {
|
|
174
|
+
CInput: u,
|
|
175
|
+
CDropdown: t,
|
|
176
|
+
CDropdownItem: l,
|
|
177
|
+
SmartList: c
|
|
178
|
+
},
|
|
179
|
+
props: {
|
|
180
|
+
value: {
|
|
181
|
+
type: String,
|
|
182
|
+
required: !0
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
data() {
|
|
186
|
+
return {
|
|
187
|
+
currencies: d,
|
|
188
|
+
isCurrencyDropdownOpen: !1,
|
|
189
|
+
searchQuery: ""
|
|
190
|
+
};
|
|
191
|
+
},
|
|
192
|
+
computed: {
|
|
193
|
+
internalCurrency: {
|
|
194
|
+
get() {
|
|
195
|
+
return this.value;
|
|
196
|
+
},
|
|
197
|
+
set(i) {
|
|
198
|
+
this.$emit("input", i);
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
selectedValue() {
|
|
202
|
+
return this.internalCurrency ? r(this.internalCurrency) : "";
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
watch: {
|
|
206
|
+
isCurrencyDropdownOpen(i) {
|
|
207
|
+
this.$emit("active-change", i), i ? this.$refs.searchCurrencyInput && this.$refs.searchCurrencyInput.focus() : this.searchQuery = "";
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
methods: {
|
|
211
|
+
getCurrencySymbol: r
|
|
212
|
+
}
|
|
213
|
+
};
|
|
214
|
+
var S = function() {
|
|
215
|
+
var a = this, e = a._self._c;
|
|
216
|
+
return e("SmartList", { attrs: { query: a.searchQuery, items: Object.keys(a.currencies), "default-sort": "asc" }, scopedSlots: a._u([{ key: "default", fn: function({ items: o }) {
|
|
217
|
+
return [e("CDropdown", a._b({ staticClass: "control", attrs: { size: a.$attrs.size, disabled: a.$attrs.disabled, "menu-styling": {
|
|
218
|
+
maxWidth: "300px"
|
|
219
|
+
}, scrollable: !0, "max-height": 200 }, on: { "active-change": function(n) {
|
|
220
|
+
a.isCurrencyDropdownOpen = n;
|
|
221
|
+
} }, model: { value: a.internalCurrency, callback: function(n) {
|
|
222
|
+
a.internalCurrency = n;
|
|
223
|
+
}, expression: "internalCurrency" } }, "CDropdown", {
|
|
224
|
+
position: "is-bottom-left",
|
|
225
|
+
...a.$attrs,
|
|
226
|
+
...a.$props
|
|
227
|
+
}, !1), [a._t("default", function() {
|
|
228
|
+
return [e("CButton", { staticClass: "is-left", staticStyle: { width: "100%", "text-align": "left", "min-width": "7em" }, attrs: { "dropdown-icon": !0, raised: "" } }, [a._v(" " + a._s(a.selectedValue) + " ")])];
|
|
229
|
+
}, { slot: "trigger", selectedValue: a.selectedValue }), e("CInput", { ref: "searchCurrencyInput", staticStyle: { "margin-bottom": "0.25em" }, attrs: { slot: "header", placeholder: a.$t("_common:search"), filled: "" }, slot: "header", model: { value: a.searchQuery, callback: function(n) {
|
|
230
|
+
a.searchQuery = n;
|
|
231
|
+
}, expression: "searchQuery" } }), a._l(o, function(n) {
|
|
232
|
+
return e("CDropdownItem", { key: n, staticClass: "truncate-text", staticStyle: { "padding-right": "0.5em" }, attrs: { value: n } }, [e("div", { staticStyle: { "margin-right": "auto" } }, [a._v(a._s(n))]), e("div", { staticStyle: { opacity: "0.7" } }, [a._v(" " + a._s(a.getCurrencySymbol(n)) + " ")])]);
|
|
233
|
+
})], 2)];
|
|
234
|
+
} }], null, !0) });
|
|
235
|
+
}, C = [], m = /* @__PURE__ */ s(
|
|
236
|
+
D,
|
|
237
|
+
S,
|
|
238
|
+
C,
|
|
239
|
+
!1,
|
|
240
|
+
null,
|
|
241
|
+
"6508b8fc"
|
|
242
|
+
);
|
|
243
|
+
const R = m.exports;
|
|
244
|
+
export {
|
|
245
|
+
R as C
|
|
246
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { V as f, k as m, n as p } from "./main-
|
|
1
|
+
import { V as f, k as m, n as p } from "./main-Bp2qcma0.js";
|
|
2
2
|
class b {
|
|
3
3
|
constructor({ defaults: e = { width: 800, height: 600 }, delay: i = 50 } = {}) {
|
|
4
4
|
this._width = e.width, this._height = e.height, this._delay = i, this._timer = null, this._initialized = !1, this._handler = this._handleResize.bind(this);
|
|
@@ -40,10 +40,12 @@ const v = new b().init(), c = new f({ data: { windowSize: v } }), y = {
|
|
|
40
40
|
},
|
|
41
41
|
mq() {
|
|
42
42
|
const { width: t } = c.windowSize, e = {
|
|
43
|
-
sm:
|
|
44
|
-
md:
|
|
45
|
-
lg:
|
|
46
|
-
xl:
|
|
43
|
+
sm: 640,
|
|
44
|
+
md: 768,
|
|
45
|
+
lg: 1024,
|
|
46
|
+
xl: 1280,
|
|
47
|
+
"2xl": 1536,
|
|
48
|
+
"3xl": 1 / 0
|
|
47
49
|
};
|
|
48
50
|
let i = "lg";
|
|
49
51
|
return Object.keys(e).reverse().forEach((o) => {
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { C as s } from "./CCurrencyDropdown-CGYQfYSD.js";
|
|
2
|
+
import { n as i, q as u, r as a } from "./main-Bp2qcma0.js";
|
|
3
|
+
const l = {
|
|
4
|
+
name: "CPriceInput",
|
|
5
|
+
components: {
|
|
6
|
+
CInput: u,
|
|
7
|
+
CCurrencyDropdown: s
|
|
8
|
+
},
|
|
9
|
+
props: {
|
|
10
|
+
value: {
|
|
11
|
+
type: Number,
|
|
12
|
+
default: 0
|
|
13
|
+
},
|
|
14
|
+
currency: {
|
|
15
|
+
type: String,
|
|
16
|
+
required: !0
|
|
17
|
+
},
|
|
18
|
+
priceType: {
|
|
19
|
+
type: String,
|
|
20
|
+
default: "fixed",
|
|
21
|
+
validator: (t) => ["fixed", "markup", "openAcc", "approx"].includes(t)
|
|
22
|
+
},
|
|
23
|
+
unitLabel: {
|
|
24
|
+
type: String,
|
|
25
|
+
default: ""
|
|
26
|
+
},
|
|
27
|
+
isIncVat: {
|
|
28
|
+
type: Boolean,
|
|
29
|
+
default: !1
|
|
30
|
+
},
|
|
31
|
+
// Vat in percentage
|
|
32
|
+
vat: {
|
|
33
|
+
type: Number,
|
|
34
|
+
default: null
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
data() {
|
|
38
|
+
return {
|
|
39
|
+
isCurrencyDropdownOpen: !1
|
|
40
|
+
};
|
|
41
|
+
},
|
|
42
|
+
computed: {
|
|
43
|
+
internalValue: {
|
|
44
|
+
get() {
|
|
45
|
+
if (!Number.isNaN(parseFloat(this.value)) && Number.isFinite(this.value)) {
|
|
46
|
+
if (!this.value && !this.showZero)
|
|
47
|
+
return "";
|
|
48
|
+
let t = this.value;
|
|
49
|
+
return this.isIncVat && (t *= (100 + this.vat) / 100), Math.round(t) / 100;
|
|
50
|
+
}
|
|
51
|
+
return this.value;
|
|
52
|
+
},
|
|
53
|
+
set(t) {
|
|
54
|
+
let e = t;
|
|
55
|
+
e = t * 100, this.isIncVat && (e /= (100 + this.vat) / 100), e = Math.round(e), this.$emit("input", e);
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
internalCurrency: {
|
|
59
|
+
get() {
|
|
60
|
+
return this.currency;
|
|
61
|
+
},
|
|
62
|
+
set(t) {
|
|
63
|
+
this.$emit("update:currency", t);
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
suffixValue() {
|
|
67
|
+
const t = a(this.internalCurrency);
|
|
68
|
+
switch (this.priceType) {
|
|
69
|
+
case "openAcc":
|
|
70
|
+
return `${t}/${this.unitLabel || this.$t("_common:unitType.unit")}`;
|
|
71
|
+
case "markup":
|
|
72
|
+
return "%";
|
|
73
|
+
default:
|
|
74
|
+
return t;
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
showCurrencyDropdown() {
|
|
78
|
+
return !["markup"].includes(this.priceType);
|
|
79
|
+
},
|
|
80
|
+
eventListeners() {
|
|
81
|
+
return { ...this.$listeners, onInput: () => ({}), input: () => ({}) };
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
methods: {
|
|
85
|
+
focus() {
|
|
86
|
+
this.$refs.priceInput && typeof this.$refs.priceInput.focus == "function" && this.$refs.priceInput.focus();
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
var o = function() {
|
|
91
|
+
var e = this, r = e._self._c;
|
|
92
|
+
return r("CInput", e._g(e._b({ key: e.internalCurrency + e.priceType, ref: "priceInput", style: e.isCurrencyDropdownOpen && { zIndex: 99 }, attrs: { size: e.$attrs.size, placeholder: e.$attrs.placeholder, type: "number" }, model: { value: e.internalValue, callback: function(n) {
|
|
93
|
+
e.internalValue = n;
|
|
94
|
+
}, expression: "internalValue" } }, "CInput", { ...e.$attrs, ...e.$props }, !1), e.eventListeners), [e.$slots.prefix ? r("div", { attrs: { slot: "prefix" }, slot: "prefix" }, [e._t("prefix")], 2) : e._e(), e.$slots.suffix ? r("div", { attrs: { slot: "suffix" }, slot: "suffix" }, [e._t("suffix")], 2) : r("template", { slot: "suffix" }, [e.showCurrencyDropdown ? r("CCurrencyDropdown", { on: { "active-change": function(n) {
|
|
95
|
+
e.isCurrencyDropdownOpen = n;
|
|
96
|
+
} }, scopedSlots: e._u([{ key: "default", fn: function({ selectedValue: n }) {
|
|
97
|
+
return [r("CButton", { staticClass: "is-thinner", staticStyle: { "padding-left": "0.5em", "padding-right": "0.5em", "border-radius": "0.25em" }, attrs: { size: e.$attrs.size, type: "none", pattern: "tertiary" } }, [e._v(" " + e._s(n) + " ")])];
|
|
98
|
+
} }], null, !1, 1723986040), model: { value: e.internalCurrency, callback: function(n) {
|
|
99
|
+
e.internalCurrency = n;
|
|
100
|
+
}, expression: "internalCurrency" } }) : r("div", [e._v(e._s(e.suffixValue))])], 1)], 2);
|
|
101
|
+
}, p = [], c = /* @__PURE__ */ i(
|
|
102
|
+
l,
|
|
103
|
+
o,
|
|
104
|
+
p,
|
|
105
|
+
!1,
|
|
106
|
+
null,
|
|
107
|
+
null
|
|
108
|
+
);
|
|
109
|
+
const y = c.exports;
|
|
110
|
+
export {
|
|
111
|
+
y as C
|
|
112
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as o } from "./SearchApi-
|
|
2
|
-
import { n as l,
|
|
1
|
+
import { S as o } from "./SearchApi-CQtYh98a.js";
|
|
2
|
+
import { n as l, y as c } from "./main-Bp2qcma0.js";
|
|
3
3
|
const i = {
|
|
4
4
|
i18nOptions: {
|
|
5
5
|
namespaces: "components",
|