@cling-se/widget 0.13.1 → 0.13.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/README.md +27 -22
- package/dist/{AddClientCallout-fd6dc000.js → AddClientCallout-7LpWNu29.js} +11 -16
- package/dist/{AnswerModal-7c83d608.js → AnswerModal-DnTU4eo8.js} +1931 -1948
- package/dist/{AttachmentItem-468fd65c.js → AttachmentItem-DcwbrFUh.js} +15 -18
- package/dist/{BaseDatePicker-1975be7c.js → BaseDatePicker-BpyeJH3N.js} +139 -142
- package/dist/{BaseInput-2ca68242.js → BaseInput-DJreiE5M.js} +77 -56
- package/dist/{BaseUpload-a37ee3a3.js → BaseUpload-iosxX2-N.js} +208 -212
- package/dist/{BlockMedia-9fa610ce.js → BlockMedia-DnbdVEZz.js} +6 -8
- package/dist/{CCallout-4c253200.js → CCallout-CgviPbdr.js} +26 -16
- package/dist/{CDropdownItem-7e71da85.js → CDropdownItem-CTJ55d4m.js} +51 -50
- package/dist/{CField-823448be.js → CField-FGP7ehRq.js} +75 -58
- package/dist/{CPhoneFormat-54baa501.js → CPhoneFormat-8u5dmTPd.js} +5 -7
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-ceb19661.js → CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-Dc_pbPEA.js} +6 -8
- package/dist/{ClientAutocomplete-186cc118.js → ClientAutocomplete-hcl0bJxO.js} +11 -13
- package/dist/{ClientModal-c5ee3885.js → ClientModal-B8PkUqY2.js} +25 -32
- package/dist/{ColorPicker-65a47379.js → ColorPicker-6AIHrfJ5.js} +5 -7
- package/dist/{CompanyModal-564e2b35.js → CompanyModal-H4hHfy7Y.js} +28 -30
- package/dist/{ContentWrapper-ac56e749.js → ContentWrapper-CHZtfhFI.js} +25 -43
- package/dist/{CoverBlockSettings-8949a330.js → CoverBlockSettings-etwL5N5l.js} +20 -31
- package/dist/{DocAnswer-2c0cb58f.js → DocAnswer-Udn1ItYd.js} +5 -12
- package/dist/{DocDetails-6522bb1b.js → DocDetails-BQz-is7P.js} +47 -59
- package/dist/{DocForm-983d41f5.js → DocForm-Cvuxr89v.js} +4869 -4944
- package/dist/{DocFormSend-787ce614.js → DocFormSend-Bo6YPSMr.js} +15 -33
- package/dist/DocLinks-DlWyanFQ.js +38 -0
- package/dist/{DocModalBase-60c69c7f.js → DocModalBase-BnuOPozg.js} +8 -10
- package/dist/{DocPrint-78c501ca.js → DocPrint-Uw8zz2tr.js} +6 -10
- package/dist/{DocReceipt-ac44b93f.js → DocReceipt-DsRzRjD8.js} +11 -15
- package/dist/{DocSendReminder-6cf2424c.js → DocSendReminder-BEEEh-L9.js} +2 -6
- package/dist/{DocTextEditor-81f63135.js → DocTextEditor-C-qeLSQa.js} +2509 -2529
- package/dist/{DocTimeline-35106a94.js → DocTimeline-Bz29bHJu.js} +26 -37
- package/dist/{DocumentClient-eda56a3c.js → DocumentClient-1O7wxh-X.js} +15 -22
- package/dist/{DocumentLayout-4005baa4.js → DocumentLayout-BrN5peVY.js} +4510 -4527
- package/dist/{DocumentLogotype-0d7d5080.js → DocumentLogotype-Bbas4MsY.js} +20 -22
- package/dist/DocumentVoided-Dy-pp_ng.js +25 -0
- package/dist/{EmbedInput-8c301d27.js → EmbedInput-bXXwMP4u.js} +9 -12
- package/dist/{EmbedSettings-05ab2762.js → EmbedSettings-BA2THNrd.js} +6 -9
- package/dist/ErrorCallout-Dvy9895L.js +28 -0
- package/dist/{FilePreviewModal-743fe489.js → FilePreviewModal-r84Ah3lE.js} +8 -14
- package/dist/{Flag-a6b545e0.js → Flag-CDN9A_59.js} +18 -20
- package/dist/{HeaderSettings-b739ddbb.js → HeaderSettings-DoDFhLcR.js} +34 -49
- package/dist/{ImageSelectModal-b626ef57.js → ImageSelectModal-D6ifkvIw.js} +12 -20
- package/dist/{ImageUploadWrapper-be047810.js → ImageUploadWrapper-K0-MmL-L.js} +356 -384
- package/dist/{Index-071b97c8.js → Index-3p6X7Ln-.js} +24 -26
- package/dist/{Index-c049a6e2.js → Index-B26J4tXQ.js} +7 -9
- package/dist/{Index-8f237754.js → Index-B6gB5CD3.js} +6 -8
- package/dist/{Index-b56a2d94.js → Index-B6u3OUGH.js} +20 -23
- package/dist/{Index-ecbffb52.js → Index-BN64idjX.js} +18 -31
- package/dist/{Index-a52df5e2.js → Index-BNGaREiU.js} +14 -21
- package/dist/{Index-4298f3e2.js → Index-BNeg0lcx.js} +13 -15
- package/dist/{Index-56e4127a.js → Index-BQVjSt_5.js} +29 -29
- package/dist/Index-BVNgUe07.js +21 -0
- package/dist/{Index-3f02e8ca.js → Index-Be-J2RvQ.js} +8 -11
- package/dist/{Index-848bb05c.js → Index-Btlub0dK.js} +11 -13
- package/dist/{Index-4f119d80.js → Index-BtzGGZEN.js} +459 -510
- package/dist/{Index-8ea1a895.js → Index-ByCpvqCC.js} +16 -21
- package/dist/{Index-5bf8b9b7.js → Index-CSg7HLqX.js} +8 -10
- package/dist/{Index-54f457ee.js → Index-CUZJomAi.js} +10 -12
- package/dist/{Index-63aea2b8.js → Index-Cj_3udAp.js} +12 -21
- package/dist/{Index-6b66b9ff.js → Index-CnOdi4ux.js} +4 -6
- package/dist/{Index-8e82da74.js → Index-DT9AWIQ2.js} +12 -15
- package/dist/Index-DWHl_jys.js +24 -0
- package/dist/{Index-fe0e805b.js → Index-Di3ibm8r.js} +51 -58
- package/dist/Index-Dk-kPbWy.js +52 -0
- package/dist/Index-Dl87oWQa.js +49 -0
- package/dist/{Index-a3920b7b.js → Index-DnDY3FUU.js} +9 -11
- package/dist/{Index-8ebe3371.js → Index-DoKh3I_O.js} +19 -26
- package/dist/{Index-c349151b.js → Index-DvA5sZ1U.js} +7 -9
- package/dist/{Index-01224b38.js → Index-DwlzPadK.js} +233 -273
- package/dist/{Index-b2de3af8.js → Index-ID37TIgR.js} +2 -4
- package/dist/Index-TPRXPN4a.js +26 -0
- package/dist/{Index-8cfeac73.js → Index-YdyeCcFX.js} +80 -90
- package/dist/{Index-97c18be1.js → Index-b0dDsObZ.js} +5 -9
- package/dist/{Index-caebb616.js → Index-bIYFzizT.js} +4 -6
- package/dist/{Index-4b09d0fa.js → Index-d5iMi4y5.js} +116 -118
- package/dist/{Index-ea1e223d.js → Index-oYQ9EfP9.js} +16 -18
- package/dist/{Index-f1bf6520.js → Index-phsroK51.js} +6 -8
- package/dist/{InputToggleRow-f86fdf91.js → InputToggleRow-ClHkgn7s.js} +3 -5
- package/dist/{ManualPopover-d7c2a780.js → ManualPopover-DrhgZvGC.js} +1 -3
- package/dist/{MediaWrapper-2381bc95.js → MediaWrapper-BxNEJOT7.js} +3 -6
- package/dist/{NotBindingText-a9eae0b2.js → NotBindingText-BhKMdYBN.js} +5 -7
- package/dist/{PackageGroup-95d99d03.js → PackageGroup--pDNkIMj.js} +35 -59
- package/dist/{PdfTerms-4a6d6067.js → PdfTerms-BL34ex7f.js} +11 -18
- package/dist/{PdfViewer-8d7f2143.js → PdfViewer-CPSINxc8.js} +25 -29
- package/dist/{PlainHtml-9d3f71d6.js → PlainHtml-Dc76U4EV.js} +5 -7
- package/dist/{PriceHeader-f2cb6529.js → PriceHeader-CEGF-DO3.js} +113 -130
- package/dist/SearchApi-D4yY2KZj.js +161 -0
- package/dist/{Setup-74c47337.js → Setup-BJIY_mWN.js} +9 -11
- package/dist/{TermsSettings-0c5a6cad.js → TermsSettings-DM4pvL-n.js} +6 -12
- package/dist/{ThemeColorRow-bbf4f527.js → ThemeColorRow-D7TCU3ap.js} +8 -10
- package/dist/{ToggleBinding-50af6f0f.js → ToggleBinding-CSgFUF6o.js} +7 -9
- package/dist/{UploadModal-d2757015.js → UploadModal-Cz7o7DeT.js} +16 -19
- package/dist/{VideoPlayerInput-cb6c91e8.js → VideoPlayerInput-Db0RRtb5.js} +6 -8
- package/dist/{VideoPlayerSettings-bff30628.js → VideoPlayerSettings-BgbNuWbP.js} +7 -11
- package/dist/{VideoSelectModal-9ec9ecfc.js → VideoSelectModal-BIKeCzUZ.js} +20 -28
- package/dist/{answerDocumentMixin-9368852c.js → answerDocumentMixin-Bqg9Of1S.js} +5 -5
- package/dist/{debounce-f8aeabc5.js → debounce-DceKdgy2.js} +3 -3
- package/dist/{dom-962579a6.js → dom-CPYqHOIw.js} +2 -2
- package/dist/{focusDrawerMixin-e2312605.js → focusDrawerMixin-Cx41U1xU.js} +1 -1
- package/dist/{formComponentsInstall-6894b988.js → formComponentsInstall-CWgaR4yB.js} +1198 -1171
- package/dist/{formDrawerState-b99be3a7.js → formDrawerState-DLCSwrgc.js} +1 -1
- package/dist/{formValidationMixin-a9a35060.js → formValidationMixin-CsLym0iM.js} +2 -2
- package/dist/{index-b2348f09.js → index-0kj8-T7-.js} +39 -44
- package/dist/{index-9d1ade78.js → index-4MqvoLi4.js} +3 -5
- package/dist/{index-96e9db00.js → index-By9c7IPL.js} +41 -59
- package/dist/{index-d35e9363.js → index-C16hoSRM.js} +5 -3
- package/dist/{index-c9186403.js → index-C6C4uskP.js} +14 -16
- package/dist/{IsPremiumPreStep-27645ee9.js → index-Cp7dG8Zm.js} +531 -566
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +1019 -1028
- package/dist/{main-b9ea9725.js → main-DBw231uy.js} +21733 -21943
- package/dist/{mapFormMixin-de4a37c3.js → mapFormMixin-BrtcYsT9.js} +1 -2
- package/dist/{vuedraggable.umd-1b113186.js → omit-DQqb9hkZ.js} +143 -133
- package/dist/{publicSenderState-a2c0cc9d.js → publicSenderState-BysO0Mzz.js} +1 -1
- package/dist/{splitpanes-ba7897bf.js → splitpanes-BHUVsCZF.js} +38 -42
- package/dist/style.css +2 -2
- package/dist/{throttle-53a6c735.js → throttle-DKrISvLg.js} +2 -2
- package/dist/{tinycolor-071e269c.js → tinycolor-Be3bF6zy.js} +6 -6
- package/dist/{tippy.esm-1b89bf69.js → tippy.esm-yjYH8SnL.js} +226 -232
- package/dist/{utils-44a35f52.js → utils-DP30AdJH.js} +1 -1
- package/package.json +2 -2
- package/dist/DocLinks-d6b1b080.js +0 -41
- package/dist/DocumentVoided-fe1bd505.js +0 -27
- package/dist/ErrorCallout-87033b39.js +0 -30
- package/dist/Index-6bfbbbd2.js +0 -61
- package/dist/Index-6c21af02.js +0 -28
- package/dist/Index-cbd0f3f6.js +0 -23
- package/dist/Index-f006e9fe.js +0 -26
- package/dist/Index-fc0516f6.js +0 -54
- package/dist/SearchApi-2a59cdc7.js +0 -167
- package/dist/index-3671e1b7.js +0 -14
- package/dist/index-805c56e4.js +0 -4
- /package/dist/{CField.vue_vue_type_style_index_0_lang-4ed993c7.js → CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js} +0 -0
- /package/dist/{anime.es-e284c852.js → anime.es-BrPTThYb.js} +0 -0
- /package/dist/{color-c1606adc.js → color-TdtKxwVa.js} +0 -0
- /package/dist/{i18nMessages-6b279c15.js → i18nMessages-Chz_lxGG.js} +0 -0
- /package/dist/{vuex.esm-4a0fff7c.js → vuex.esm-DKGl8mcw.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { g as l } from "./color-TdtKxwVa.js";
|
|
2
|
+
import { n as d, b as i } from "./main-DBw231uy.js";
|
|
3
3
|
const n = {
|
|
4
4
|
name: "BlockMedia",
|
|
5
5
|
inject: {
|
|
@@ -41,8 +41,8 @@ const n = {
|
|
|
41
41
|
backgroundColor: e,
|
|
42
42
|
position: t = 50,
|
|
43
43
|
filter: a = "",
|
|
44
|
-
gradient:
|
|
45
|
-
} = this.media || {}, o =
|
|
44
|
+
gradient: s = {}
|
|
45
|
+
} = this.media || {}, o = l(s);
|
|
46
46
|
return {
|
|
47
47
|
backgroundPosition: `center ${t}%`,
|
|
48
48
|
...!["color", "gradient"].includes(this.type) && {
|
|
@@ -58,15 +58,13 @@ const n = {
|
|
|
58
58
|
var c = function() {
|
|
59
59
|
var e = this, t = e._self._c;
|
|
60
60
|
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
|
-
}, u = [], p = /* @__PURE__ */
|
|
61
|
+
}, u = [], p = /* @__PURE__ */ d(
|
|
62
62
|
n,
|
|
63
63
|
c,
|
|
64
64
|
u,
|
|
65
65
|
!1,
|
|
66
66
|
null,
|
|
67
|
-
"
|
|
68
|
-
null,
|
|
69
|
-
null
|
|
67
|
+
"ea4334fb"
|
|
70
68
|
);
|
|
71
69
|
const y = p.exports;
|
|
72
70
|
export {
|
|
@@ -1,15 +1,27 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
import "./
|
|
1
|
+
import { n as a, f as s } from "./main-DBw231uy.js";
|
|
2
|
+
import "./CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-Dc_pbPEA.js";
|
|
3
3
|
const i = {
|
|
4
4
|
name: "CCallout",
|
|
5
5
|
components: {
|
|
6
|
-
CButton:
|
|
6
|
+
CButton: s
|
|
7
7
|
},
|
|
8
8
|
props: {
|
|
9
|
-
title:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
title: {
|
|
10
|
+
type: String,
|
|
11
|
+
default: null
|
|
12
|
+
},
|
|
13
|
+
size: {
|
|
14
|
+
type: String,
|
|
15
|
+
default: null
|
|
16
|
+
},
|
|
17
|
+
type: {
|
|
18
|
+
type: String,
|
|
19
|
+
default: null
|
|
20
|
+
},
|
|
21
|
+
padding: {
|
|
22
|
+
type: String,
|
|
23
|
+
default: null
|
|
24
|
+
},
|
|
13
25
|
closable: {
|
|
14
26
|
type: Boolean,
|
|
15
27
|
default: !1
|
|
@@ -24,26 +36,24 @@ const i = {
|
|
|
24
36
|
}
|
|
25
37
|
}
|
|
26
38
|
};
|
|
27
|
-
var
|
|
39
|
+
var l = function() {
|
|
28
40
|
var t = this, e = t._self._c;
|
|
29
41
|
return e("transition", { attrs: { name: "fade" } }, [t.legacy ? e("article", { staticClass: "message", class: [`is-${t.type}`, `is-${t.size}`] }, [e("section", { staticClass: "message-body", style: { padding: t.padding } }, [t.title ? e("header", { staticClass: "message-header" }, [t._v(" " + t._s(t.title) + " ")]) : t._e(), e("div", { staticClass: "media" }, [e("div", { staticClass: "media-content" }, [t._t("default")], 2)])]), t.closable ? e("CButton", { staticStyle: { right: "calc(0.5 * var(--rem))", position: "absolute", top: "calc(0.5 * var(--rem))" }, attrs: { type: t.type, size: "small", pattern: "secondary", circle: "", icon: "x" }, on: { click: function(o) {
|
|
30
42
|
return t.$emit("close");
|
|
31
|
-
} } }) : t._e()], 1) : e("div", { staticClass: "flex rounded-md border border-gray-200 bg-gray-50 p-4" }, [t.icon ? e("div", { staticClass: "-mt-px mr-3" }, [e("
|
|
43
|
+
} } }) : t._e()], 1) : e("div", { staticClass: "flex rounded-md border border-gray-200 bg-gray-50 p-4" }, [t.icon ? e("div", { staticClass: "-mt-px mr-3" }, [e("CIcon", { attrs: { type: t.icon, size: "16" } })], 1) : t._e(), e("div", [e("div", [t._t("title", function() {
|
|
32
44
|
return [e("div", { staticClass: "font-medium" }, [t._v(t._s(t.title))])];
|
|
33
45
|
})], 2), e("div", { staticClass: "text-gray-800" }, [t._t("default", function() {
|
|
34
46
|
return [e("div", { staticClass: "mb-2 text-gray-500" }, [t._v(t._s(t.text))])];
|
|
35
47
|
})], 2)])])]);
|
|
36
|
-
},
|
|
48
|
+
}, n = [], r = /* @__PURE__ */ a(
|
|
37
49
|
i,
|
|
38
|
-
n,
|
|
39
50
|
l,
|
|
51
|
+
n,
|
|
40
52
|
!1,
|
|
41
53
|
null,
|
|
42
|
-
"
|
|
43
|
-
null,
|
|
44
|
-
null
|
|
54
|
+
"2e9e865c"
|
|
45
55
|
);
|
|
46
|
-
const
|
|
56
|
+
const p = r.exports;
|
|
47
57
|
export {
|
|
48
|
-
|
|
58
|
+
p as C
|
|
49
59
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { V as f,
|
|
1
|
+
import { V as f, k as m, n as p } from "./main-DBw231uy.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);
|
|
@@ -51,32 +51,6 @@ const v = new b().init(), c = new f({ data: { windowSize: v } }), y = {
|
|
|
51
51
|
}), i;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
}, r = (t, e = !1) => t ? e ? t.querySelectorAll('*[tabindex="-1"]') : t.querySelectorAll(`a[href]:not([tabindex="-1"]),
|
|
55
|
-
area[href],
|
|
56
|
-
input:not([disabled]),
|
|
57
|
-
select:not([disabled]),
|
|
58
|
-
textarea:not([disabled]),
|
|
59
|
-
button:not([disabled]),
|
|
60
|
-
iframe,
|
|
61
|
-
object,
|
|
62
|
-
embed,
|
|
63
|
-
*[tabindex]:not([tabindex="-1"]),
|
|
64
|
-
*[contenteditable]`) : null;
|
|
65
|
-
let u;
|
|
66
|
-
const g = (t, { value: e = !0 }) => {
|
|
67
|
-
if (e) {
|
|
68
|
-
let i = r(t), o = r(t, !0);
|
|
69
|
-
i && i.length > 0 && (u = (s) => {
|
|
70
|
-
i = r(t), o = r(t, !0);
|
|
71
|
-
const a = i[0], n = i[i.length - 1];
|
|
72
|
-
s.target === a && s.shiftKey && s.key === "Tab" ? (s.preventDefault(), n.focus()) : (s.target === n || Array.from(o).indexOf(s.target) >= 0) && !s.shiftKey && s.key === "Tab" && (s.preventDefault(), a.focus());
|
|
73
|
-
}, t.addEventListener("keydown", u));
|
|
74
|
-
}
|
|
75
|
-
}, w = (t) => {
|
|
76
|
-
t.removeEventListener("keydown", u);
|
|
77
|
-
}, _ = {
|
|
78
|
-
bind: g,
|
|
79
|
-
unbind: w
|
|
80
54
|
};
|
|
81
55
|
var h = { exports: {} };
|
|
82
56
|
(function(t, e) {
|
|
@@ -88,15 +62,15 @@ var h = { exports: {} };
|
|
|
88
62
|
}
|
|
89
63
|
t.exports = e.default;
|
|
90
64
|
})(h, h.exports);
|
|
91
|
-
var
|
|
92
|
-
const
|
|
65
|
+
var g = h.exports;
|
|
66
|
+
const w = /* @__PURE__ */ m(g), T = w();
|
|
93
67
|
function M(t, e) {
|
|
94
68
|
return e.split(".").reduce((o, s) => o ? o[s] : null, t);
|
|
95
69
|
}
|
|
96
|
-
function
|
|
70
|
+
function _(t) {
|
|
97
71
|
typeof t.remove < "u" ? t.remove() : typeof t.parentNode < "u" && t.parentNode !== null && t.parentNode.removeChild(t);
|
|
98
72
|
}
|
|
99
|
-
function
|
|
73
|
+
function C(t) {
|
|
100
74
|
var n;
|
|
101
75
|
const e = (n = t.getRootNode) == null ? void 0 : n.call(t), o = (e == null ? void 0 : e.toString()) === "[object ShadowRoot]" ? e : document.body, s = document.createElement("div");
|
|
102
76
|
s.style.position = "absolute", s.style.left = "0px", s.style.top = "0px";
|
|
@@ -106,10 +80,36 @@ function k(t) {
|
|
|
106
80
|
function D(t, e, i) {
|
|
107
81
|
return Math.max(e, Math.min(i, t));
|
|
108
82
|
}
|
|
109
|
-
const
|
|
83
|
+
const r = (t, e = !1) => t ? e ? t.querySelectorAll('*[tabindex="-1"]') : t.querySelectorAll(`a[href]:not([tabindex="-1"]),
|
|
84
|
+
area[href],
|
|
85
|
+
input:not([disabled]),
|
|
86
|
+
select:not([disabled]),
|
|
87
|
+
textarea:not([disabled]),
|
|
88
|
+
button:not([disabled]),
|
|
89
|
+
iframe,
|
|
90
|
+
object,
|
|
91
|
+
embed,
|
|
92
|
+
*[tabindex]:not([tabindex="-1"]),
|
|
93
|
+
*[contenteditable]`) : null;
|
|
94
|
+
let u;
|
|
95
|
+
const x = (t, { value: e = !0 }) => {
|
|
96
|
+
if (e) {
|
|
97
|
+
let i = r(t), o = r(t, !0);
|
|
98
|
+
i && i.length > 0 && (u = (s) => {
|
|
99
|
+
i = r(t), o = r(t, !0);
|
|
100
|
+
const a = i[0], n = i[i.length - 1];
|
|
101
|
+
s.target === a && s.shiftKey && s.key === "Tab" ? (s.preventDefault(), n.focus()) : (s.target === n || Array.from(o).indexOf(s.target) >= 0) && !s.shiftKey && s.key === "Tab" && (s.preventDefault(), a.focus());
|
|
102
|
+
}, t.addEventListener("keydown", u));
|
|
103
|
+
}
|
|
104
|
+
}, $ = (t) => {
|
|
105
|
+
t.removeEventListener("keydown", u);
|
|
106
|
+
}, k = {
|
|
107
|
+
bind: x,
|
|
108
|
+
unbind: $
|
|
109
|
+
}, S = ["escape", "outside"], A = {
|
|
110
110
|
name: "CDropdown",
|
|
111
111
|
directives: {
|
|
112
|
-
trapFocus:
|
|
112
|
+
trapFocus: k
|
|
113
113
|
},
|
|
114
114
|
mixins: [y],
|
|
115
115
|
props: {
|
|
@@ -239,7 +239,7 @@ const B = ["escape", "outside"], S = {
|
|
|
239
239
|
return this.mobileModal && this.mq === "sm";
|
|
240
240
|
},
|
|
241
241
|
cancelOptions() {
|
|
242
|
-
return typeof this.canClose == "boolean" ? this.canClose ?
|
|
242
|
+
return typeof this.canClose == "boolean" ? this.canClose ? S : [] : this.canClose;
|
|
243
243
|
},
|
|
244
244
|
contentStyle() {
|
|
245
245
|
return {
|
|
@@ -266,12 +266,12 @@ const B = ["escape", "outside"], S = {
|
|
|
266
266
|
}
|
|
267
267
|
},
|
|
268
268
|
mounted() {
|
|
269
|
-
typeof window < "u" && (this.getRootElm().addEventListener("click", this.clickedOutside), document.addEventListener("keyup", this.keyPress)), this.appendToBody && (this.$data._bodyEl =
|
|
269
|
+
typeof window < "u" && (this.getRootElm().addEventListener("click", this.clickedOutside), document.addEventListener("keyup", this.keyPress)), this.appendToBody && (this.$data._bodyEl = C(this.$refs.dropdownMenu), this.$data._bodyEl.style.zIndex = Number(
|
|
270
270
|
window.getComputedStyle(this.$el).getPropertyValue("--app-z-index")
|
|
271
271
|
) + 9999, this.isMobileModal && this.$data._bodyEl.appendChild(this.$refs.mobileBackground), this.updateAppendToBody());
|
|
272
272
|
},
|
|
273
273
|
beforeDestroy() {
|
|
274
|
-
typeof window < "u" && (this.getRootElm().removeEventListener("click", this.clickedOutside), document.removeEventListener("keyup", this.keyPress)), this.appendToBody &&
|
|
274
|
+
typeof window < "u" && (this.getRootElm().removeEventListener("click", this.clickedOutside), document.removeEventListener("keyup", this.keyPress)), this.appendToBody && _(this.$data._bodyEl);
|
|
275
275
|
},
|
|
276
276
|
methods: {
|
|
277
277
|
/**
|
|
@@ -375,26 +375,23 @@ const B = ["escape", "outside"], S = {
|
|
|
375
375
|
}
|
|
376
376
|
}
|
|
377
377
|
};
|
|
378
|
-
var
|
|
378
|
+
var B = function() {
|
|
379
379
|
var e = this, i = e._self._c;
|
|
380
|
-
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: "
|
|
380
|
+
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: {
|
|
381
381
|
...e.style,
|
|
382
382
|
...e.menuStyling
|
|
383
383
|
}, 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() {
|
|
384
384
|
return [i("div", { staticClass: "dropdown-content-label" }, [e._v(e._s(e.mobileLabel))])];
|
|
385
385
|
}) : e._e(), e._t("default")], 2), e._t("footer")] : e._e()], 2)])], 1);
|
|
386
386
|
}, L = [], O = /* @__PURE__ */ p(
|
|
387
|
-
S,
|
|
388
387
|
A,
|
|
388
|
+
B,
|
|
389
389
|
L,
|
|
390
390
|
!1,
|
|
391
391
|
null,
|
|
392
|
-
null,
|
|
393
|
-
null,
|
|
394
392
|
null
|
|
395
393
|
);
|
|
396
|
-
const H = O.exports
|
|
397
|
-
const E = {
|
|
394
|
+
const H = O.exports, E = {
|
|
398
395
|
name: "CDropdownItem",
|
|
399
396
|
props: {
|
|
400
397
|
value: {
|
|
@@ -434,8 +431,14 @@ const E = {
|
|
|
434
431
|
type: Boolean,
|
|
435
432
|
default: !0
|
|
436
433
|
},
|
|
437
|
-
iconLeft:
|
|
438
|
-
|
|
434
|
+
iconLeft: {
|
|
435
|
+
type: String,
|
|
436
|
+
default: null
|
|
437
|
+
},
|
|
438
|
+
iconRight: {
|
|
439
|
+
type: String,
|
|
440
|
+
default: null
|
|
441
|
+
},
|
|
439
442
|
iconProps: {
|
|
440
443
|
type: Object,
|
|
441
444
|
default: () => ({})
|
|
@@ -511,15 +514,13 @@ const E = {
|
|
|
511
514
|
};
|
|
512
515
|
var I = function() {
|
|
513
516
|
var e = this, i = e._self._c;
|
|
514
|
-
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("
|
|
517
|
+
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);
|
|
515
518
|
}, z = [], P = /* @__PURE__ */ p(
|
|
516
519
|
E,
|
|
517
520
|
I,
|
|
518
521
|
z,
|
|
519
522
|
!1,
|
|
520
523
|
null,
|
|
521
|
-
null,
|
|
522
|
-
null,
|
|
523
524
|
null
|
|
524
525
|
);
|
|
525
526
|
const N = P.exports;
|
|
@@ -527,9 +528,9 @@ export {
|
|
|
527
528
|
H as C,
|
|
528
529
|
N as a,
|
|
529
530
|
D as b,
|
|
530
|
-
|
|
531
|
+
C as c,
|
|
531
532
|
M as g,
|
|
532
533
|
T as i,
|
|
533
|
-
|
|
534
|
+
_ as r,
|
|
534
535
|
y as w
|
|
535
536
|
};
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { n } from "./main-
|
|
2
|
-
import "./CField.vue_vue_type_style_index_0_lang-
|
|
3
|
-
const
|
|
1
|
+
import { n as l } from "./main-DBw231uy.js";
|
|
2
|
+
import "./CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js";
|
|
3
|
+
const a = {
|
|
4
4
|
name: "CFieldBody",
|
|
5
5
|
props: {
|
|
6
6
|
message: {
|
|
7
|
-
type: String
|
|
7
|
+
type: String,
|
|
8
|
+
default: ""
|
|
8
9
|
},
|
|
9
10
|
type: {
|
|
10
|
-
type: [String, Object]
|
|
11
|
+
type: [String, Object],
|
|
12
|
+
default: ""
|
|
11
13
|
}
|
|
12
14
|
},
|
|
13
|
-
render(
|
|
14
|
-
return
|
|
15
|
+
render(t) {
|
|
16
|
+
return t(
|
|
15
17
|
"div",
|
|
16
18
|
{ attrs: { class: "field-body" } },
|
|
17
|
-
this.$slots.default.map((
|
|
19
|
+
this.$slots.default.map((e) => e.tag ? this.message ? t(
|
|
18
20
|
"c-field",
|
|
19
21
|
{ attrs: { message: this.message, type: this.type } },
|
|
20
|
-
[
|
|
21
|
-
) :
|
|
22
|
-
|
|
23
|
-
]) :
|
|
22
|
+
[e]
|
|
23
|
+
) : t("c-field", { attrs: { type: this.type } }, [
|
|
24
|
+
e
|
|
25
|
+
]) : e)
|
|
24
26
|
);
|
|
25
27
|
}
|
|
26
|
-
},
|
|
27
|
-
var r = /* @__PURE__ */
|
|
28
|
-
l,
|
|
28
|
+
}, n = null, o = null;
|
|
29
|
+
var r = /* @__PURE__ */ l(
|
|
29
30
|
a,
|
|
31
|
+
n,
|
|
30
32
|
o,
|
|
31
33
|
!1,
|
|
32
34
|
null,
|
|
33
|
-
null,
|
|
34
|
-
null,
|
|
35
35
|
null
|
|
36
36
|
);
|
|
37
37
|
const u = r.exports, p = {
|
|
@@ -40,20 +40,38 @@ const u = r.exports, p = {
|
|
|
40
40
|
CFieldBody: u
|
|
41
41
|
},
|
|
42
42
|
props: {
|
|
43
|
-
type:
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
43
|
+
type: {
|
|
44
|
+
type: [String, Object],
|
|
45
|
+
default: ""
|
|
46
|
+
},
|
|
47
|
+
label: {
|
|
48
|
+
type: String,
|
|
49
|
+
default: ""
|
|
50
|
+
},
|
|
51
|
+
labelFor: {
|
|
52
|
+
type: String,
|
|
53
|
+
default: ""
|
|
54
|
+
},
|
|
55
|
+
message: {
|
|
56
|
+
type: [String, Array, Object],
|
|
57
|
+
default: ""
|
|
58
|
+
},
|
|
47
59
|
grouped: Boolean,
|
|
48
60
|
groupMultiline: Boolean,
|
|
49
|
-
position:
|
|
61
|
+
position: {
|
|
62
|
+
type: String,
|
|
63
|
+
default: ""
|
|
64
|
+
},
|
|
50
65
|
expanded: Boolean,
|
|
51
66
|
horizontal: Boolean,
|
|
52
67
|
addons: {
|
|
53
68
|
type: Boolean,
|
|
54
69
|
default: !0
|
|
55
70
|
},
|
|
56
|
-
customClass:
|
|
71
|
+
customClass: {
|
|
72
|
+
type: String,
|
|
73
|
+
default: ""
|
|
74
|
+
},
|
|
57
75
|
labelPosition: {
|
|
58
76
|
type: String,
|
|
59
77
|
default: () => "top"
|
|
@@ -90,15 +108,16 @@ const u = r.exports, p = {
|
|
|
90
108
|
* because since 'has-addons' is set automatically it
|
|
91
109
|
* doesn't make sense to teach users what addons are exactly.
|
|
92
110
|
*/
|
|
111
|
+
// eslint-disable-next-line vue/return-in-computed-property
|
|
93
112
|
newPosition() {
|
|
94
113
|
if (this.position === void 0)
|
|
95
114
|
return;
|
|
96
|
-
const
|
|
97
|
-
if (
|
|
115
|
+
const t = this.position.split("-");
|
|
116
|
+
if (t.length < 1)
|
|
98
117
|
return;
|
|
99
|
-
const
|
|
118
|
+
const e = this.grouped ? "is-grouped-" : "has-addons-";
|
|
100
119
|
if (this.position)
|
|
101
|
-
return
|
|
120
|
+
return e + t[1];
|
|
102
121
|
},
|
|
103
122
|
/**
|
|
104
123
|
* Formatted message in case it's an array
|
|
@@ -107,21 +126,21 @@ const u = r.exports, p = {
|
|
|
107
126
|
formattedMessage() {
|
|
108
127
|
if (typeof this.newMessage == "string")
|
|
109
128
|
return this.newMessage;
|
|
110
|
-
const
|
|
129
|
+
const t = [];
|
|
111
130
|
if (Array.isArray(this.newMessage))
|
|
112
|
-
this.newMessage.forEach((
|
|
113
|
-
if (typeof
|
|
114
|
-
|
|
131
|
+
this.newMessage.forEach((e) => {
|
|
132
|
+
if (typeof e == "string")
|
|
133
|
+
t.push(e);
|
|
115
134
|
else
|
|
116
|
-
for (const
|
|
117
|
-
s
|
|
135
|
+
for (const s in e)
|
|
136
|
+
e[s] && t.push(s);
|
|
118
137
|
});
|
|
119
138
|
else
|
|
120
|
-
for (const
|
|
121
|
-
this.newMessage[
|
|
122
|
-
return
|
|
123
|
-
if (
|
|
124
|
-
return
|
|
139
|
+
for (const e in this.newMessage)
|
|
140
|
+
this.newMessage[e] && t.push(e);
|
|
141
|
+
return t.filter((e) => {
|
|
142
|
+
if (e)
|
|
143
|
+
return e;
|
|
125
144
|
}).join(" <br> ");
|
|
126
145
|
},
|
|
127
146
|
hasLabel() {
|
|
@@ -129,12 +148,12 @@ const u = r.exports, p = {
|
|
|
129
148
|
},
|
|
130
149
|
numberInputClasses() {
|
|
131
150
|
if (this.$slots.default) {
|
|
132
|
-
const
|
|
133
|
-
(
|
|
151
|
+
const t = this.$slots.default.filter(
|
|
152
|
+
(e) => e.tag && e.tag.toLowerCase().indexOf("numberinput") >= 0
|
|
134
153
|
)[0];
|
|
135
|
-
if (
|
|
136
|
-
const
|
|
137
|
-
return
|
|
154
|
+
if (t) {
|
|
155
|
+
const e = ["has-numberinput"], s = t.componentOptions.propsData.controlsPosition, i = t.componentOptions.propsData.size;
|
|
156
|
+
return s && e.push(`has-numberinput-${s}`), i && e.push(`has-numberinput-${i}`), e;
|
|
138
157
|
}
|
|
139
158
|
}
|
|
140
159
|
return null;
|
|
@@ -144,14 +163,14 @@ const u = r.exports, p = {
|
|
|
144
163
|
/**
|
|
145
164
|
* Set internal type when prop change.
|
|
146
165
|
*/
|
|
147
|
-
type(
|
|
148
|
-
this.newType =
|
|
166
|
+
type(t) {
|
|
167
|
+
this.newType = t;
|
|
149
168
|
},
|
|
150
169
|
/**
|
|
151
170
|
* Set internal message when prop change.
|
|
152
171
|
*/
|
|
153
|
-
message(
|
|
154
|
-
this.newMessage =
|
|
172
|
+
message(t) {
|
|
173
|
+
this.newMessage = t;
|
|
155
174
|
}
|
|
156
175
|
},
|
|
157
176
|
mounted() {
|
|
@@ -169,29 +188,27 @@ const u = r.exports, p = {
|
|
|
169
188
|
fieldType() {
|
|
170
189
|
if (this.grouped)
|
|
171
190
|
return "is-grouped";
|
|
172
|
-
let
|
|
173
|
-
if (this.$slots.default && (
|
|
174
|
-
(
|
|
191
|
+
let t = 0;
|
|
192
|
+
if (this.$slots.default && (t = this.$slots.default.reduce(
|
|
193
|
+
(e, s) => s.tag ? e + 1 : e,
|
|
175
194
|
0
|
|
176
|
-
)),
|
|
195
|
+
)), t > 1 && this.addons && !this.horizontal)
|
|
177
196
|
return "has-addons";
|
|
178
197
|
}
|
|
179
198
|
}
|
|
180
199
|
};
|
|
181
200
|
var d = function() {
|
|
182
|
-
var
|
|
183
|
-
return
|
|
184
|
-
},
|
|
201
|
+
var e = this, s = e._self._c;
|
|
202
|
+
return s("div", { staticClass: "field", class: [e.rootClasses, e.fieldType()] }, [e.horizontal ? s("div", { staticClass: "field-label", class: [e.customClass, e.fieldLabelSize] }, [e.hasLabel ? s("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 ? s("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 ? s("CFieldBody", { attrs: { message: e.newMessage ? e.formattedMessage : "", type: e.newType } }, [e._t("default")], 2) : [e._t("default")], e.newMessage && !e.horizontal ? s("p", { staticClass: "help", class: e.newType, domProps: { innerHTML: e._s(e.formattedMessage) } }) : e._e()], 2);
|
|
203
|
+
}, f = [], h = /* @__PURE__ */ l(
|
|
185
204
|
p,
|
|
186
205
|
d,
|
|
187
|
-
|
|
206
|
+
f,
|
|
188
207
|
!1,
|
|
189
208
|
null,
|
|
190
|
-
null,
|
|
191
|
-
null,
|
|
192
209
|
null
|
|
193
210
|
);
|
|
194
|
-
const b =
|
|
211
|
+
const b = h.exports;
|
|
195
212
|
export {
|
|
196
213
|
b as C
|
|
197
214
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { s as e, t as o, n } from "./main-DBw231uy.js";
|
|
2
2
|
const r = {
|
|
3
3
|
name: "CPhoneFormat",
|
|
4
4
|
props: {
|
|
@@ -45,20 +45,18 @@ const r = {
|
|
|
45
45
|
render() {
|
|
46
46
|
return this.$scopedSlots.default ? this.$scopedSlots.default({
|
|
47
47
|
formattedValue: this.formattedPhone
|
|
48
|
-
}) :
|
|
48
|
+
}) : o("span", [this.formattedPhone]);
|
|
49
49
|
}
|
|
50
50
|
}, a = null, s = null;
|
|
51
|
-
var h = /* @__PURE__ */
|
|
51
|
+
var h = /* @__PURE__ */ n(
|
|
52
52
|
r,
|
|
53
53
|
a,
|
|
54
54
|
s,
|
|
55
55
|
!1,
|
|
56
56
|
null,
|
|
57
|
-
null,
|
|
58
|
-
null,
|
|
59
57
|
null
|
|
60
58
|
);
|
|
61
|
-
const
|
|
59
|
+
const d = h.exports;
|
|
62
60
|
export {
|
|
63
|
-
|
|
61
|
+
d as C
|
|
64
62
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as s,
|
|
1
|
+
import { n as s, ak as r } from "./main-DBw231uy.js";
|
|
2
2
|
const o = {
|
|
3
3
|
name: "SmartList",
|
|
4
4
|
props: {
|
|
@@ -68,18 +68,16 @@ const o = {
|
|
|
68
68
|
}
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
|
-
}, i = null,
|
|
72
|
-
var
|
|
71
|
+
}, i = null, d = null;
|
|
72
|
+
var h = /* @__PURE__ */ s(
|
|
73
73
|
o,
|
|
74
74
|
i,
|
|
75
|
-
|
|
75
|
+
d,
|
|
76
76
|
!1,
|
|
77
77
|
null,
|
|
78
|
-
null,
|
|
79
|
-
null,
|
|
80
78
|
null
|
|
81
79
|
);
|
|
82
|
-
const
|
|
80
|
+
const u = h.exports;
|
|
83
81
|
export {
|
|
84
|
-
|
|
82
|
+
u as S
|
|
85
83
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as o } from "./SearchApi-
|
|
2
|
-
import { n as l,
|
|
1
|
+
import { S as o } from "./SearchApi-D4yY2KZj.js";
|
|
2
|
+
import { n as l, v as c } from "./main-DBw231uy.js";
|
|
3
3
|
const i = {
|
|
4
4
|
i18nOptions: {
|
|
5
5
|
namespaces: "components",
|
|
@@ -37,8 +37,8 @@ const i = {
|
|
|
37
37
|
};
|
|
38
38
|
},
|
|
39
39
|
methods: {
|
|
40
|
-
search(
|
|
41
|
-
this.$emit("input", e), this.searchEnabled && (this.searchQuery = e,
|
|
40
|
+
search(r, e) {
|
|
41
|
+
this.$emit("input", e), this.searchEnabled && (this.searchQuery = e, r({
|
|
42
42
|
q: e,
|
|
43
43
|
cb: ({ endCustomer: s }) => {
|
|
44
44
|
this.results = s;
|
|
@@ -49,9 +49,9 @@ const i = {
|
|
|
49
49
|
};
|
|
50
50
|
var u = function() {
|
|
51
51
|
var e = this, s = e._self._c;
|
|
52
|
-
return s("SearchApi", { attrs: { "custom-search": { endCustomer: !0 } }, scopedSlots: e._u([{ key: "default", fn: function({ fetch:
|
|
53
|
-
return [s("CAutocomplete", e._b({ attrs: { data: e.results, loading: e.showLoading &&
|
|
54
|
-
return e.search(
|
|
52
|
+
return s("SearchApi", { attrs: { "custom-search": { endCustomer: !0 } }, scopedSlots: e._u([{ key: "default", fn: function({ fetch: a, isLoading: n }) {
|
|
53
|
+
return [s("CAutocomplete", e._b({ attrs: { data: e.results, loading: e.showLoading && n, filled: e.filled, expanded: "", "keep-first": "" }, on: { typing: function(t) {
|
|
54
|
+
return e.search(a, t);
|
|
55
55
|
}, select: function(t) {
|
|
56
56
|
e.$emit("setClient", e.convertToNewClient(t));
|
|
57
57
|
} }, scopedSlots: e._u([{ key: "default", fn: function({ option: t }) {
|
|
@@ -64,17 +64,15 @@ var u = function() {
|
|
|
64
64
|
return e.$emit("add");
|
|
65
65
|
} } }, [e._v(" " + e._s(e.$t("_common:add")) + " ")]) : e._e()], 1), s("template", { slot: "empty" }, [e._v(" " + e._s(e.$t("search.empty")) + " " + e._s(e.searchQuery) + " ")])] : e._e()], 2)];
|
|
66
66
|
} }]) });
|
|
67
|
-
}, d = [],
|
|
67
|
+
}, d = [], f = /* @__PURE__ */ l(
|
|
68
68
|
i,
|
|
69
69
|
u,
|
|
70
70
|
d,
|
|
71
71
|
!1,
|
|
72
72
|
null,
|
|
73
|
-
"7407276e"
|
|
74
|
-
null,
|
|
75
|
-
null
|
|
73
|
+
"7407276e"
|
|
76
74
|
);
|
|
77
|
-
const
|
|
75
|
+
const h = f.exports;
|
|
78
76
|
export {
|
|
79
|
-
|
|
77
|
+
h as C
|
|
80
78
|
};
|