@cling-se/widget 0.13.5 → 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-P8T0R-6B.js → AddClientCallout-BP2ip0A4.js} +3 -3
- package/dist/{AnswerModal-BF-ZUpQ9.js → AnswerModal-C8i3ldB_.js} +4 -4
- package/dist/{AttachmentItem-DEC6rjGE.js → AttachmentItem-BrvrAMae.js} +2 -2
- package/dist/{BaseDatePicker-2uhuySby.js → BaseDatePicker-BSkAllLg.js} +556 -556
- package/dist/{BaseUpload-D1OS-EZ-.js → BaseUpload-J2v3G0-q.js} +14 -14
- package/dist/{BlockMedia-BFBeRtJx.js → BlockMedia-CAgKbN_k.js} +21 -17
- package/dist/{CCallout-CsQMsFZO.js → CCallout-D5Nk5DgN.js} +2 -2
- package/dist/CCurrencyDropdown-CGYQfYSD.js +246 -0
- package/dist/{CDropdownItem-BeK9wNHJ.js → CDropdownItem-DGES8E6l.js} +7 -5
- package/dist/{CField-TsZhnNrK.js → CFormField-CE4rV3cr.js} +66 -39
- package/dist/{CPhoneFormat-DPYhElZw.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-Ch2Z-VNr.js → ClientAutocomplete-DPgOfPg1.js} +2 -2
- package/dist/{ClientModal-rdb9TsyH.js → ClientModal-Dznh8Vvn.js} +44 -36
- package/dist/{ColorPicker-2gfbU60o.js → ColorPicker-CWQEE8VR.js} +1 -1
- package/dist/{CompanyModal-CNeySxNi.js → CompanyModal-CeZ3GgLu.js} +4 -4
- package/dist/{ContentWrapper-D27J_sCS.js → ContentWrapper-DW7VHTdA.js} +8 -8
- package/dist/{CoverBlockSettings-BfdJKrsq.js → CoverBlockSettings-DNSdXFgF.js} +5 -5
- package/dist/{DocAnswer-CyHASkhm.js → DocAnswer-CPttkKAJ.js} +2 -2
- package/dist/{DocDetails-8bM9dBxm.js → DocDetails-BCwWW_kM.js} +7 -7
- package/dist/{DocForm-CumvOHwl.js → DocForm-BPjC08Ic.js} +41 -39
- package/dist/{DocFormSend-CdoZy_Q2.js → DocFormSend-BaC8IJCu.js} +2 -2
- package/dist/{DocLinks-BJPADuvd.js → DocLinks-DN-S8MY_.js} +2 -2
- package/dist/{DocModalBase-Cd3zXvH_.js → DocModalBase-bFJp0T2Y.js} +1 -1
- package/dist/{DocPrint-Be4l2pra.js → DocPrint-Ci7Jyh-C.js} +20 -19
- package/dist/{DocReceipt-DmFjo26V.js → DocReceipt-BYlXr6eS.js} +6 -6
- package/dist/{DocSendReminder-CVxh_c7u.js → DocSendReminder-DFx4934a.js} +1 -1
- package/dist/{DocTextEditor-2jhWmmN2.js → DocTextEditor-idQMnlIF.js} +1086 -1057
- package/dist/{DocTimeline-Dvn690cI.js → DocTimeline-ZmGSVRUB.js} +1 -1
- package/dist/{DocumentClient-D3ESmMk1.js → DocumentClient-DTRlyvLO.js} +5 -5
- package/dist/{DocumentLayout-0-y6ChW3.js → DocumentLayout-BJAyNjNa.js} +9 -5
- package/dist/{DocumentLogotype-CHWEVOFb.js → DocumentLogotype-pDJRc6Hj.js} +3 -3
- package/dist/{DocumentVoided-CoJ6YorU.js → DocumentVoided-DfKewfe4.js} +1 -1
- package/dist/{EmbedInput-CGQJdLBd.js → EmbedInput-7hLNsnEV.js} +2 -2
- package/dist/{EmbedSettings-DRfM7EkF.js → EmbedSettings-CpL24RhA.js} +2 -2
- package/dist/{ErrorCallout-pRwrsMwI.js → ErrorCallout-CdJCe67q.js} +1 -1
- package/dist/{FilePreviewModal-4hJnwqeM.js → FilePreviewModal-B7qT3I7F.js} +2 -2
- package/dist/{Flag-CH9jX9p6.js → Flag-DwW19zju.js} +1 -1
- package/dist/{HeaderSettings-DESkxus6.js → HeaderSettings-C8SuuAwv.js} +7 -7
- package/dist/{ImageSelectModal-BczBg7pO.js → ImageSelectModal-CAOh3YHc.js} +3 -3
- package/dist/{ImageUploadWrapper-B7F5UzSa.js → ImageUploadWrapper-21yldsj9.js} +2 -2
- package/dist/{Index-Dj7XQrCX.js → Index-B0BgYtWI.js} +5 -5
- package/dist/{Index-DLX_14JW.js → Index-BC1AhlQ9.js} +6 -6
- package/dist/{Index-B77mpvaJ.js → Index-BZi6r2UN.js} +8 -8
- package/dist/{Index-CPXWFvtI.js → Index-BsD09y_2.js} +6 -6
- package/dist/{Index-DpZ0FVkb.js → Index-Bu9SdKLP.js} +1 -1
- package/dist/{Index-DRdhlnQI.js → Index-BvsqZh2A.js} +4 -4
- package/dist/{Index-Cb7AYMdp.js → Index-Bz4qd9uO.js} +5 -5
- package/dist/{Index-BkDT09xK.js → Index-C--GiPc1.js} +5 -5
- package/dist/{Index-D_21EWlr.js → Index-CC7qF0br.js} +4 -4
- package/dist/{Index-CgugegyD.js → Index-CGxOvTF4.js} +590 -694
- package/dist/{Index-C8Eykyfr.js → Index-CI7_ktvb.js} +5 -5
- package/dist/{Index-D_XxQTHL.js → Index-COJZmxkX.js} +4 -4
- package/dist/{Index-BztAYqwZ.js → Index-CObEQ6G-.js} +3 -3
- package/dist/{Index-Lwrlj4Uo.js → Index-CP2bsXd-.js} +11 -13
- package/dist/{Index-DM8XS-Lc.js → Index-CSvZBLnp.js} +3 -3
- package/dist/{Index-xVss9bbv.js → Index-Ci-hGBbC.js} +4 -4
- package/dist/{Index-CUYcsakk.js → Index-Ckzq1cEJ.js} +22 -18
- package/dist/{Index-euXfMzGE.js → Index-CoIh5y2F.js} +4 -4
- package/dist/{Index-Cs1C7d8_.js → Index-Couda8BX.js} +2 -2
- package/dist/{Index-BSApSN3a.js → Index-CvXt3dm6.js} +24 -24
- package/dist/{Index-CwOwQrDd.js → Index-D95MNzAZ.js} +4 -4
- package/dist/{Index-CRjdza18.js → Index-DB5EG4EI.js} +32 -30
- package/dist/{Index-COFOq65C.js → Index-DDvRihXA.js} +3 -3
- package/dist/{Index-BOIBgNgp.js → Index-DIAntwBs.js} +2 -2
- package/dist/{Index-BCBBrdDY.js → Index-DUdJNcDT.js} +4 -4
- package/dist/{Index-DAuSARq4.js → Index-DfANvO5d.js} +5 -5
- package/dist/{Index-DLwJlsSV.js → Index-Ds1Jv5Mr.js} +6 -6
- package/dist/{Index-CBRWEkz3.js → Index-FIWsRGmh.js} +12 -7
- package/dist/{Index-DXovv3-e.js → Index-M3b7S4YX.js} +4 -4
- package/dist/{Index-McJQllNy.js → Index-NoN1_539.js} +7 -7
- package/dist/{Index-BBWCdaFx.js → Index-UGFm4yxI.js} +14 -32
- package/dist/{Index-Dk7qSZaZ.js → Index-aCBe0dXx.js} +2 -2
- package/dist/{Index-BSizncA1.js → Index-kJFtpJEP.js} +2 -2
- package/dist/{Index-DxT6UrU3.js → Index-rQKoLISX.js} +2 -2
- package/dist/{InputToggleRow-BjSD0lth.js → InputToggleRow-Ct8rvqAF.js} +1 -1
- package/dist/{ManualPopover-CIouE65j.js → ManualPopover-B0vp9ydC.js} +1 -1
- package/dist/{MediaWrapper-DK2fsQP7.js → MediaWrapper-hmofOPLv.js} +3 -3
- package/dist/{NotBindingText-D1IUYEiC.js → NotBindingText-COpJPwHe.js} +2 -2
- package/dist/{PackageGroup-BImsltc7.js → PackageGroup-BdtslJL-.js} +5 -5
- package/dist/{PdfTerms-BzBvvuT6.js → PdfTerms-EDStBDhn.js} +2 -2
- package/dist/PdfViewer-D1_Roqu2.js +374 -0
- package/dist/{PlainHtml-J_nR1ibV.js → PlainHtml-C3JPvt4o.js} +1 -1
- package/dist/{PriceHeader-BZeaKOTy.js → PriceHeader-BdfozyN8.js} +7 -7
- package/dist/{SearchApi-Du-Lqo7R.js → SearchApi-CQtYh98a.js} +2 -2
- package/dist/{Setup-CtSIo_xU.js → Setup-DHHMT6xu.js} +1 -1
- package/dist/{CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-B85IuuQS.js → SmartList-BXeRj5NC.js} +1 -1
- package/dist/{TermsSettings-DDHrUB_S.js → TermsSettings-D1tDAu-r.js} +3 -3
- package/dist/{ThemeColorRow-BiRPYyj_.js → ThemeColorRow-HUN-QPY_.js} +3 -3
- package/dist/{ToggleBinding-Cvd9I0Dw.js → ToggleBinding-CRoVM6Nw.js} +3 -3
- package/dist/{UploadModal-ByJeM98S.js → UploadModal-BD3pIiPT.js} +2 -2
- package/dist/{VideoPlayerInput-C1PiFaBo.js → VideoPlayerInput-QFJfPoCf.js} +3 -3
- package/dist/{VideoPlayerSettings-C9vt7Twd.js → VideoPlayerSettings-CGq--niu.js} +2 -2
- package/dist/{VideoSelectModal-cEDZv03c.js → VideoSelectModal-B61rBqdH.js} +3 -3
- package/dist/{answerDocumentMixin-QbMot2bf.js → answerDocumentMixin-DiONfM1s.js} +3 -3
- package/dist/{debounce-CaZBFRFZ.js → debounce-BIchuVwa.js} +11 -11
- package/dist/dom-CJxkno7i.js +91 -0
- package/dist/{focusDrawerMixin-D-mqPE02.js → focusDrawerMixin-CzvgKsOZ.js} +1 -1
- package/dist/{formComponentsInstall-BdhIOhq5.js → formComponentsInstall-EQLbqYqI.js} +201 -231
- package/dist/{formDrawerState-CcDRv2mi.js → formDrawerState-CiKGHdNH.js} +1 -1
- package/dist/{formValidationMixin-sp3Q6-ER.js → formValidationMixin-5BVcxu38.js} +2 -2
- package/dist/{index-CJTuXpCD.js → index-BYTRIZIz.js} +1 -1
- package/dist/{index-DEWMCZz4.js → index-Be__C37A.js} +1 -1
- package/dist/{index-DuCwf2mg.js → index-CUydiL8B.js} +16 -16
- package/dist/{index-BjZuADtN.js → index-DH6SCEKQ.js} +13 -13
- package/dist/{index-BWmMho6V.js → index-gtVGRKIX.js} +9 -9
- package/dist/{index-BABEaO8N.js → index-tNIrTnCx.js} +35 -35
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +134 -142
- package/dist/{main-DQ6SH_E_.js → main-Bp2qcma0.js} +4209 -4198
- package/dist/{mapFormMixin-2SoyKxW2.js → mapFormMixin-Ce3_WIKw.js} +1 -1
- package/dist/omit-21u5fFMx.js +31 -0
- package/dist/{publicSenderState-CKGe1ejF.js → publicSenderState-BcN9kJJr.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/{throttle-BeZ_TpQb.js → throttle-CfPxqhW_.js} +2 -2
- package/dist/{tinycolor-C3JU9Hqu.js → tinycolor-DNK6zGoq.js} +1 -1
- package/dist/tippy.esm-B5TcTBWX.js +1799 -0
- package/dist/{utils-D2JfcR6v.js → utils-GzwJPAEe.js} +1 -1
- package/dist/{omit-BjdTqooP.js → vuedraggable.umd-2pmrPYml.js} +497 -525
- package/package.json +1 -1
- package/dist/BaseInput-BtgFVDxx.js +0 -364
- package/dist/PdfViewer-Dq0Mc-WC.js +0 -247
- package/dist/dom-CPYqHOIw.js +0 -69
- package/dist/tippy.esm-DowQrfWM.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
|
|
@@ -334,7 +334,7 @@ function V(s) {
|
|
|
334
334
|
height: a
|
|
335
335
|
};
|
|
336
336
|
}
|
|
337
|
-
var Ge = q.ArrayBuffer, Ce = q.FileReader, X = q.URL || q.webkitURL, Ke = /\.\w+$/,
|
|
337
|
+
var Ge = q.ArrayBuffer, Ce = q.FileReader, X = q.URL || q.webkitURL, Ke = /\.\w+$/, Je = q.Compressor, Oe = /* @__PURE__ */ function() {
|
|
338
338
|
function s(n, a) {
|
|
339
339
|
Re(this, s), this.file = n, this.image = new Image(), this.options = le(le({}, ke), a), this.aborted = !1, this.result = null, this.init();
|
|
340
340
|
}
|
|
@@ -435,9 +435,9 @@ var Ge = q.ArrayBuffer, Ce = q.FileReader, X = q.URL || q.webkitURL, Ke = /\.\w+
|
|
|
435
435
|
$ = ae === void 0 ? p : ae;
|
|
436
436
|
}
|
|
437
437
|
D = Math.floor(xe(Math.min(Math.max(D, z), F))), $ = Math.floor(xe(Math.min(Math.max($, W), I)));
|
|
438
|
-
var ce = -D / 2, pe = -$ / 2, he = D, me = $,
|
|
438
|
+
var ce = -D / 2, pe = -$ / 2, he = D, me = $, J = [];
|
|
439
439
|
if (G) {
|
|
440
|
-
var se = 0, oe = 0,
|
|
440
|
+
var se = 0, oe = 0, Y = d, f = p, t = V({
|
|
441
441
|
aspectRatio: L,
|
|
442
442
|
width: d,
|
|
443
443
|
height: p
|
|
@@ -445,15 +445,15 @@ var Ge = q.ArrayBuffer, Ce = q.FileReader, X = q.URL || q.webkitURL, Ke = /\.\w+
|
|
|
445
445
|
contain: "cover",
|
|
446
446
|
cover: "contain"
|
|
447
447
|
}[v.resize]);
|
|
448
|
-
|
|
448
|
+
Y = t.width, f = t.height, se = (d - Y) / 2, oe = (p - f) / 2, J.push(se, oe, Y, f);
|
|
449
449
|
}
|
|
450
|
-
if (
|
|
450
|
+
if (J.push(ce, pe, he, me), H) {
|
|
451
451
|
var r = [$, D];
|
|
452
452
|
D = r[0], $ = r[1];
|
|
453
453
|
}
|
|
454
454
|
S.width = D, S.height = $, ge(v.mimeType) || (v.mimeType = B.type);
|
|
455
455
|
var i = "transparent";
|
|
456
|
-
if (B.size > v.convertSize && v.convertTypes.indexOf(v.mimeType) >= 0 && (v.mimeType = "image/jpeg"), v.mimeType === "image/jpeg" && (i = "#fff"), U.fillStyle = i, U.fillRect(0, 0, D, $), v.beforeDraw && v.beforeDraw.call(this, U, S), !this.aborted && (U.save(), U.translate(D / 2, $ / 2), U.rotate(k * Math.PI / 180), U.scale(b, A), U.drawImage.apply(U, [T].concat(
|
|
456
|
+
if (B.size > v.convertSize && v.convertTypes.indexOf(v.mimeType) >= 0 && (v.mimeType = "image/jpeg"), v.mimeType === "image/jpeg" && (i = "#fff"), U.fillStyle = i, U.fillRect(0, 0, D, $), v.beforeDraw && v.beforeDraw.call(this, U, S), !this.aborted && (U.save(), U.translate(D / 2, $ / 2), U.rotate(k * Math.PI / 180), U.scale(b, A), U.drawImage.apply(U, [T].concat(J)), U.restore(), v.drew && v.drew.call(this, U, S), !this.aborted)) {
|
|
457
457
|
var u = function(h) {
|
|
458
458
|
l.aborted || l.done({
|
|
459
459
|
naturalWidth: d,
|
|
@@ -500,7 +500,7 @@ var Ge = q.ArrayBuffer, Ce = q.FileReader, X = q.URL || q.webkitURL, Ke = /\.\w+
|
|
|
500
500
|
}], [{
|
|
501
501
|
key: "noConflict",
|
|
502
502
|
value: function() {
|
|
503
|
-
return window.Compressor =
|
|
503
|
+
return window.Compressor = Je, s;
|
|
504
504
|
}
|
|
505
505
|
/**
|
|
506
506
|
* Change the default options.
|
|
@@ -1655,18 +1655,18 @@ var Ge = q.ArrayBuffer, Ce = q.FileReader, X = q.URL || q.webkitURL, Ke = /\.\w+
|
|
|
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) {
|
|
1657
1657
|
t && t("data-v-76d380b6_0", { source: ".file-uploads{overflow:hidden;position:relative;text-align:center;display:inline-block}.file-uploads.file-uploads-html4 input,.file-uploads.file-uploads-html5 label{background:#fff;opacity:0;font-size:20em;z-index:1;top:0;left:0;right:0;bottom:0;position:absolute;width:100%;height:100%}.file-uploads.file-uploads-html4 label,.file-uploads.file-uploads-html5 input{background:rgba(255,255,255,0);overflow:hidden;position:fixed;width:1px;height:1px;z-index:-1;opacity:0}", map: void 0, media: void 0 });
|
|
1658
|
-
}, ce = void 0, pe = void 0, he = !1, me = A({ render: ie, staticRenderFns: ne }, ae, re, ce, he, pe, te, void 0),
|
|
1658
|
+
}, ce = void 0, pe = void 0, he = !1, me = A({ render: ie, staticRenderFns: ne }, ae, re, ce, he, pe, te, void 0), J = /* @__PURE__ */ Object.freeze({
|
|
1659
1659
|
default: me
|
|
1660
1660
|
});
|
|
1661
1661
|
function se(f) {
|
|
1662
1662
|
return f && f.default || f;
|
|
1663
1663
|
}
|
|
1664
|
-
var oe = se(
|
|
1665
|
-
return
|
|
1664
|
+
var oe = se(J), Y = oe;
|
|
1665
|
+
return Y;
|
|
1666
1666
|
});
|
|
1667
1667
|
})(we);
|
|
1668
|
-
var
|
|
1669
|
-
const Ve = /* @__PURE__ */ De(
|
|
1668
|
+
var Ye = we.exports;
|
|
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(Je), Qe = {
|
|
|
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
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import { g as
|
|
2
|
-
import { n as
|
|
3
|
-
const
|
|
1
|
+
import { g as d } from "./color-TdtKxwVa.js";
|
|
2
|
+
import { n, b as i, x as c } from "./main-Bp2qcma0.js";
|
|
3
|
+
const u = {
|
|
4
4
|
name: "BlockMedia",
|
|
5
5
|
inject: {
|
|
6
6
|
isPdf: {
|
|
7
7
|
default: !1
|
|
8
|
+
},
|
|
9
|
+
compressImages: {
|
|
10
|
+
default: !1
|
|
8
11
|
}
|
|
9
12
|
},
|
|
10
13
|
props: {
|
|
@@ -40,33 +43,34 @@ const n = {
|
|
|
40
43
|
resourceUrl: r,
|
|
41
44
|
backgroundColor: e,
|
|
42
45
|
position: t = 50,
|
|
43
|
-
filter:
|
|
44
|
-
gradient:
|
|
45
|
-
} = this.media || {},
|
|
46
|
-
|
|
46
|
+
filter: s = "",
|
|
47
|
+
gradient: l = {}
|
|
48
|
+
} = this.media || {}, a = d(l);
|
|
49
|
+
let o;
|
|
50
|
+
return r && (o = this.compressImages ? c(r, { auto: "compress" }) : r), {
|
|
47
51
|
backgroundPosition: `center ${t}%`,
|
|
48
52
|
...!["color", "gradient"].includes(this.type) && {
|
|
49
|
-
filter: `${
|
|
53
|
+
filter: `${s || ""}`
|
|
50
54
|
},
|
|
51
55
|
...e && this.type === "color" && { backgroundColor: e },
|
|
52
|
-
...
|
|
53
|
-
...
|
|
56
|
+
...o && this.type === "image" && { backgroundImage: `url(${o})` },
|
|
57
|
+
...a && this.type === "gradient" && { backgroundImage: a }
|
|
54
58
|
};
|
|
55
59
|
}
|
|
56
60
|
}
|
|
57
61
|
};
|
|
58
|
-
var
|
|
62
|
+
var m = function() {
|
|
59
63
|
var e = this, t = e._self._c;
|
|
60
64
|
return t("div", { staticClass: "media-root" }, [e.overlayColor ? t("div", { staticClass: "media-overlay", style: { backgroundColor: e.overlayColor } }) : e._e(), e.type === "video" && e.video && e.video.url ? t("div", { staticClass: "video-bg__media" }, [e.forceStatic ? t("video", { attrs: { poster: e.video.thumbnail } }) : e.video.provider === "pexels" ? t("video", { attrs: { src: e.video.url, autoplay: "", loop: "", muted: "", playsInline: "" }, domProps: { muted: !0 } }) : t("iframe", { attrs: { src: e.video.url, frameborder: "0" } })]) : t("div", { staticClass: "media-base", style: e.baseStyle }), e.blurStyle ? t("div", { staticClass: "media-blur-area", style: e.blurStyle }) : e._e()]);
|
|
61
|
-
},
|
|
62
|
-
n,
|
|
63
|
-
c,
|
|
65
|
+
}, p = [], v = /* @__PURE__ */ n(
|
|
64
66
|
u,
|
|
67
|
+
m,
|
|
68
|
+
p,
|
|
65
69
|
!1,
|
|
66
70
|
null,
|
|
67
|
-
"
|
|
71
|
+
"0b04f7d1"
|
|
68
72
|
);
|
|
69
|
-
const
|
|
73
|
+
const g = v.exports;
|
|
70
74
|
export {
|
|
71
|
-
|
|
75
|
+
g as B
|
|
72
76
|
};
|
|
@@ -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) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as l } from "./main-
|
|
1
|
+
import { n as i, Q as l } from "./main-Bp2qcma0.js";
|
|
2
2
|
import "./CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js";
|
|
3
|
-
const
|
|
3
|
+
const n = {
|
|
4
4
|
name: "CFieldBody",
|
|
5
5
|
props: {
|
|
6
6
|
message: {
|
|
@@ -12,32 +12,32 @@ const a = {
|
|
|
12
12
|
default: ""
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
|
-
render(
|
|
16
|
-
return
|
|
15
|
+
render(s) {
|
|
16
|
+
return s(
|
|
17
17
|
"div",
|
|
18
18
|
{ attrs: { class: "field-body" } },
|
|
19
|
-
this.$slots.default.map((e) => e.tag ? this.message ?
|
|
19
|
+
this.$slots.default.map((e) => e.tag ? this.message ? s(
|
|
20
20
|
"c-field",
|
|
21
21
|
{ attrs: { message: this.message, type: this.type } },
|
|
22
22
|
[e]
|
|
23
|
-
) :
|
|
23
|
+
) : s("c-field", { attrs: { type: this.type } }, [
|
|
24
24
|
e
|
|
25
25
|
]) : e)
|
|
26
26
|
);
|
|
27
27
|
}
|
|
28
|
-
},
|
|
29
|
-
var
|
|
30
|
-
a,
|
|
28
|
+
}, r = null, o = null;
|
|
29
|
+
var u = /* @__PURE__ */ i(
|
|
31
30
|
n,
|
|
31
|
+
r,
|
|
32
32
|
o,
|
|
33
33
|
!1,
|
|
34
34
|
null,
|
|
35
35
|
null
|
|
36
36
|
);
|
|
37
|
-
const
|
|
37
|
+
const d = u.exports, p = {
|
|
38
38
|
name: "CField",
|
|
39
39
|
components: {
|
|
40
|
-
CFieldBody:
|
|
40
|
+
CFieldBody: d
|
|
41
41
|
},
|
|
42
42
|
props: {
|
|
43
43
|
type: {
|
|
@@ -112,12 +112,12 @@ const u = r.exports, p = {
|
|
|
112
112
|
newPosition() {
|
|
113
113
|
if (this.position === void 0)
|
|
114
114
|
return;
|
|
115
|
-
const
|
|
116
|
-
if (
|
|
115
|
+
const s = this.position.split("-");
|
|
116
|
+
if (s.length < 1)
|
|
117
117
|
return;
|
|
118
118
|
const e = this.grouped ? "is-grouped-" : "has-addons-";
|
|
119
119
|
if (this.position)
|
|
120
|
-
return e +
|
|
120
|
+
return e + s[1];
|
|
121
121
|
},
|
|
122
122
|
/**
|
|
123
123
|
* Formatted message in case it's an array
|
|
@@ -126,19 +126,19 @@ const u = r.exports, p = {
|
|
|
126
126
|
formattedMessage() {
|
|
127
127
|
if (typeof this.newMessage == "string")
|
|
128
128
|
return this.newMessage;
|
|
129
|
-
const
|
|
129
|
+
const s = [];
|
|
130
130
|
if (Array.isArray(this.newMessage))
|
|
131
131
|
this.newMessage.forEach((e) => {
|
|
132
132
|
if (typeof e == "string")
|
|
133
|
-
|
|
133
|
+
s.push(e);
|
|
134
134
|
else
|
|
135
|
-
for (const
|
|
136
|
-
e[
|
|
135
|
+
for (const t in e)
|
|
136
|
+
e[t] && s.push(t);
|
|
137
137
|
});
|
|
138
138
|
else
|
|
139
139
|
for (const e in this.newMessage)
|
|
140
|
-
this.newMessage[e] &&
|
|
141
|
-
return
|
|
140
|
+
this.newMessage[e] && s.push(e);
|
|
141
|
+
return s.filter((e) => {
|
|
142
142
|
if (e)
|
|
143
143
|
return e;
|
|
144
144
|
}).join(" <br> ");
|
|
@@ -148,12 +148,12 @@ const u = r.exports, p = {
|
|
|
148
148
|
},
|
|
149
149
|
numberInputClasses() {
|
|
150
150
|
if (this.$slots.default) {
|
|
151
|
-
const
|
|
151
|
+
const s = this.$slots.default.filter(
|
|
152
152
|
(e) => e.tag && e.tag.toLowerCase().indexOf("numberinput") >= 0
|
|
153
153
|
)[0];
|
|
154
|
-
if (
|
|
155
|
-
const e = ["has-numberinput"],
|
|
156
|
-
return
|
|
154
|
+
if (s) {
|
|
155
|
+
const e = ["has-numberinput"], t = s.componentOptions.propsData.controlsPosition, a = s.componentOptions.propsData.size;
|
|
156
|
+
return t && e.push(`has-numberinput-${t}`), a && e.push(`has-numberinput-${a}`), e;
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
return null;
|
|
@@ -163,14 +163,14 @@ const u = r.exports, p = {
|
|
|
163
163
|
/**
|
|
164
164
|
* Set internal type when prop change.
|
|
165
165
|
*/
|
|
166
|
-
type(
|
|
167
|
-
this.newType =
|
|
166
|
+
type(s) {
|
|
167
|
+
this.newType = s;
|
|
168
168
|
},
|
|
169
169
|
/**
|
|
170
170
|
* Set internal message when prop change.
|
|
171
171
|
*/
|
|
172
|
-
message(
|
|
173
|
-
this.newMessage =
|
|
172
|
+
message(s) {
|
|
173
|
+
this.newMessage = s;
|
|
174
174
|
}
|
|
175
175
|
},
|
|
176
176
|
mounted() {
|
|
@@ -188,27 +188,54 @@ const u = r.exports, p = {
|
|
|
188
188
|
fieldType() {
|
|
189
189
|
if (this.grouped)
|
|
190
190
|
return "is-grouped";
|
|
191
|
-
let
|
|
192
|
-
if (this.$slots.default && (
|
|
193
|
-
(e,
|
|
191
|
+
let s = 0;
|
|
192
|
+
if (this.$slots.default && (s = this.$slots.default.reduce(
|
|
193
|
+
(e, t) => t.tag ? e + 1 : e,
|
|
194
194
|
0
|
|
195
|
-
)),
|
|
195
|
+
)), s > 1 && this.addons && !this.horizontal)
|
|
196
196
|
return "has-addons";
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
199
|
};
|
|
200
|
-
var
|
|
201
|
-
var e = this,
|
|
202
|
-
return
|
|
203
|
-
},
|
|
200
|
+
var f = function() {
|
|
201
|
+
var e = this, t = e._self._c;
|
|
202
|
+
return t("div", { staticClass: "field", class: [e.rootClasses, e.fieldType()] }, [e.horizontal ? t("div", { staticClass: "field-label", class: [e.customClass, e.fieldLabelSize] }, [e.hasLabel ? t("label", { staticClass: "label truncate-text", class: e.customClass, attrs: { for: e.labelFor } }, [e.$slots.label ? e._t("label") : [e._v(e._s(e.label))]], 2) : e._e()]) : [e.hasLabel ? t("label", { staticClass: "label truncate-text", class: e.customClass, attrs: { for: e.labelFor } }, [e.$slots.label ? e._t("label") : [e._v(e._s(e.label))]], 2) : e._e()], e.horizontal ? t("CFieldBody", { attrs: { message: e.newMessage ? e.formattedMessage : "", type: e.newType } }, [e._t("default")], 2) : [e._t("default")], e.newMessage && !e.horizontal ? t("p", { staticClass: "help", class: e.newType, domProps: { innerHTML: e._s(e.formattedMessage) } }) : e._e()], 2);
|
|
203
|
+
}, c = [], h = /* @__PURE__ */ i(
|
|
204
204
|
p,
|
|
205
|
-
d,
|
|
206
205
|
f,
|
|
206
|
+
c,
|
|
207
207
|
!1,
|
|
208
208
|
null,
|
|
209
209
|
null
|
|
210
210
|
);
|
|
211
|
-
const
|
|
211
|
+
const _ = h.exports, g = {
|
|
212
|
+
name: "CFormField",
|
|
213
|
+
components: {
|
|
214
|
+
CField: _
|
|
215
|
+
},
|
|
216
|
+
extends: l,
|
|
217
|
+
computed: {
|
|
218
|
+
type() {
|
|
219
|
+
return this.hasErrors ? "is-danger" : this.isValid ? "is-success" : null;
|
|
220
|
+
},
|
|
221
|
+
customClass() {
|
|
222
|
+
return this.hasErrors ? "text-red-500" : this.isValid ? "text-green-500" : null;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
};
|
|
226
|
+
var m = function() {
|
|
227
|
+
var e = this, t = e._self._c;
|
|
228
|
+
return t("CField", e._b({ attrs: { label: e.label, "custom-class": e.customClass, type: e.type, message: e.firstErrorMessage } }, "CField", { ...e.$attrs, ...e.$props }, !1), [e._t("default")], 2);
|
|
229
|
+
}, b = [], y = /* @__PURE__ */ i(
|
|
230
|
+
g,
|
|
231
|
+
m,
|
|
232
|
+
b,
|
|
233
|
+
!1,
|
|
234
|
+
null,
|
|
235
|
+
null
|
|
236
|
+
);
|
|
237
|
+
const w = y.exports;
|
|
212
238
|
export {
|
|
213
|
-
|
|
239
|
+
w as C,
|
|
240
|
+
_ as a
|
|
214
241
|
};
|