@cling-se/widget 0.21.4 → 0.22.0
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/CHANGELOG.md +10 -0
- package/dist/{AddClientCallout-BjeE7RY6.js → AddClientCallout-CxbvK6ZG.js} +7 -7
- package/dist/{AnswerModal-BLo3hOrK.js → AnswerModal-vTetGwVn.js} +935 -651
- package/dist/{AttachmentItem-B4T7akns.js → AttachmentItem-DSHNRIq_.js} +9 -9
- package/dist/{BaseUpload-B-_Rpir0.js → BaseUpload-CWaM_bb7.js} +2 -2
- package/dist/{BlockMedia-szLlyTVn.js → BlockMedia-B1T85G4R.js} +9 -9
- package/dist/{CCallout-wp8bWld3.js → CCallout-BieMmWa4.js} +5 -5
- package/dist/{CCurrencyDropdown-CH0M7LFZ.js → CCurrencyDropdown-DKWtCUE_.js} +3 -3
- package/dist/{CDropdownItem-llOP71-u.js → CDropdownItem-pNNH9fV3.js} +13 -13
- package/dist/{CFormField.vue_vue_type_script_setup_true_lang-B2c0pGnW.js → CFormField.vue_vue_type_script_setup_true_lang-B57OaS--.js} +14 -14
- package/dist/{CPhoneFormat-BqLsCDaG.js → CPhoneFormat-CyrQRGmd.js} +1 -1
- package/dist/{CPhoneInput-DDnmhr17.js → CPhoneInput-BQHgpUCY.js} +5 -5
- package/dist/{CPriceInput-eaRaU9Ey.js → CPriceInput-DnFN-I6p.js} +2 -2
- package/dist/{CSelect-DDYAe8O9.js → CSelect-DB4-JxH8.js} +5 -5
- package/dist/{CSkeleton-BORdEFf8.js → CSkeleton-DpRDxR6D.js} +7 -7
- package/dist/{ClientAutocomplete-DAwttq8D.js → ClientAutocomplete-BjwvkuJ-.js} +19 -19
- package/dist/{ClientModal-C3UbUFjz.js → ClientModal-oBN2VSio.js} +138 -130
- package/dist/{ColorPicker-D4Y4g8RF.js → ColorPicker-B5rSvXLV.js} +21 -21
- package/dist/{CompanyModal-BvzLn9gU.js → CompanyModal-QrsUL6Et.js} +13 -13
- package/dist/{ContentWrapper-oh1FnZea.js → ContentWrapper-Yx-KMsfH.js} +22 -22
- package/dist/{CoverBlockSettings-CW7PisRO.js → CoverBlockSettings-C8giTiEZ.js} +19 -19
- package/dist/{DocAnswer-scOVyvez.js → DocAnswer-Djyhwfrp.js} +2 -2
- package/dist/{DocDetails-BKudQ3RU.js → DocDetails-Dv6noPvB.js} +100 -94
- package/dist/{DocForm-YI0UG4lv.js → DocForm-BFHchJ6w.js} +24 -24
- package/dist/{DocFormSend-DK7zxycs.js → DocFormSend-K2rbjklj.js} +2 -2
- package/dist/{DocLinks-CPhh8hox.js → DocLinks-DpUl89XR.js} +2 -2
- package/dist/{DocModalBase-C7vrvkFq.js → DocModalBase-BlTZ8CY3.js} +1 -1
- package/dist/{DocPrint-tfB_Hw8V.js → DocPrint-Bmfl4Abk.js} +9 -9
- package/dist/{DocReceipt-DoWB1suw.js → DocReceipt-3wi5YXqR.js} +111 -81
- package/dist/{DocSendReminder-DcezTbmh.js → DocSendReminder-CHqgC_wM.js} +1 -1
- package/dist/{DocTextEditor-Ci_Wegua.js → DocTextEditor-BGzwRwjt.js} +8 -8
- package/dist/{DocTimeline-DwZyNRtc.js → DocTimeline-BG7ldFgR.js} +12 -12
- package/dist/{DocumentClient-BZPHT4vS.js → DocumentClient-CLCAh4lI.js} +5 -5
- package/dist/{DocumentLayout-DwifYYit.js → DocumentLayout-DHSEYClM.js} +32 -32
- package/dist/{DocumentLogotype-D6DPT-i9.js → DocumentLogotype-0jH2-sr7.js} +8 -8
- package/dist/{DocumentVoided--b4zfli2.js → DocumentVoided-BAS8mATO.js} +1 -1
- package/dist/{EmbedInput-DmAlziaD.js → EmbedInput-DnSz1tbL.js} +18 -18
- package/dist/{EmbedSettings-DZuM3vpE.js → EmbedSettings-BQ1kKupC.js} +5 -5
- package/dist/{ErrorCallout-DT3qQJOP.js → ErrorCallout-XMtdcNvE.js} +4 -4
- package/dist/{FilePreviewModal-BuPbzrFy.js → FilePreviewModal-Bv28RVrN.js} +20 -20
- package/dist/{Flag-U3wm6frF.js → Flag-CcF7qtHi.js} +1 -1
- package/dist/{HeaderSettings-CC5rJ-UY.js → HeaderSettings-SKEJyM9y.js} +20 -20
- package/dist/{ImageSelectModal-BiWCVyYs.js → ImageSelectModal-BNXs_Rfh.js} +3 -3
- package/dist/{ImageUploadWrapper-CLJwtgVQ.js → ImageUploadWrapper-BmlB0qHZ.js} +23 -23
- package/dist/{Index-Bh58_V98.js → Index-B1mvOHsr.js} +5 -5
- package/dist/{Index-DIfpkUtR.js → Index-B4EqZ9op.js} +8 -8
- package/dist/{Index-ZNidoNys.js → Index-B8soD6pI.js} +2 -2
- package/dist/{Index-gZpXuLSM.js → Index-BDW4tvrc.js} +2 -2
- package/dist/{Index-z6FhBfRg.js → Index-BLC_eYvf.js} +2 -2
- package/dist/{Index-cb83jmmP.js → Index-BNetDL7G.js} +4 -4
- package/dist/{Index-C8tXlpnc.js → Index-BRIv1n05.js} +4 -4
- package/dist/{Index-Lr-w-2nq.js → Index-BS-ERsZ7.js} +28 -28
- package/dist/{Index-Dmd9h-QW.js → Index-BS1J5b8c.js} +3 -3
- package/dist/{Index-BbINQ0SU.js → Index-B_R1p7cp.js} +1 -1
- package/dist/{Index-C9yjlO_o.js → Index-BbEj20KG.js} +13 -13
- package/dist/{Index-BNrnEteM.js → Index-Bd3gjqXz.js} +6 -6
- package/dist/{Index-011UWI-5.js → Index-Bxi4pinD.js} +3 -3
- package/dist/{Index-HpvIqyQK.js → Index-Bz6vrP4D.js} +4 -4
- package/dist/{Index-BZ3G8u4L.js → Index-C2Jql1QC.js} +16 -16
- package/dist/{Index-C6eCTYlb.js → Index-C6r2p8Qd.js} +7 -7
- package/dist/{Index-BOxSyAOT.js → Index-C9k2n-HK.js} +4 -4
- package/dist/{Index-D8T4ZAGK.js → Index-CDdxLKdQ.js} +4 -4
- package/dist/{Index-DspgGnIy.js → Index-CQSkYi57.js} +6 -6
- package/dist/{Index-BBnlZtoe.js → Index-CVoJGfTj.js} +5 -5
- package/dist/{Index-AOzEiDJ6.js → Index-CYjEFdMF.js} +2 -2
- package/dist/{Index-hzFkpPtu.js → Index-Ca6-XJ1q.js} +23 -23
- package/dist/{Index-jCDreJV4.js → Index-CfpNMWEI.js} +5 -5
- package/dist/{Index-BQUdVuCj.js → Index-Coef67Wb.js} +8 -8
- package/dist/{Index-B0js1lQ9.js → Index-DRadSzmh.js} +11 -11
- package/dist/{Index-DND_3eOV.js → Index-DU19comM.js} +14 -14
- package/dist/{Index-06RLiHU7.js → Index-DquGwrE6.js} +11 -11
- package/dist/{Index-DZzmEObV.js → Index-Dz3beMLO.js} +5 -5
- package/dist/{Index-UkLmXQf7.js → Index-GmMgg4ZI.js} +10 -10
- package/dist/{Index-BPE5xozF.js → Index-LNHTL5EH.js} +1 -1
- package/dist/Index-Ra_-tX11.js +106 -0
- package/dist/Index-aOBMRrRj.js +4 -0
- package/dist/{Index-DwAyOR71.js → Index-ec9osPpw.js} +4 -4
- package/dist/{Index-C-Y_FGIG.js → Index-mcDMCki9.js} +30 -30
- package/dist/{Index.vue_vue_type_script_lang-FRTEgjSK.js → Index.vue_vue_type_script_lang-DOtAXSQl.js} +2 -2
- package/dist/{InputToggleRow-DrAFt_YF.js → InputToggleRow-DH7USYPf.js} +9 -9
- package/dist/{ManualPopover-BZr_lfqJ.js → ManualPopover-JDRhdC8G.js} +3 -3
- package/dist/{MediaWrapper-CuCltxOM.js → MediaWrapper-DdbmCwGw.js} +3 -3
- package/dist/{NotBindingText-D6QNyf03.js → NotBindingText-CwV-MkgL.js} +2 -2
- package/dist/{PackageGroup-DonphykF.js → PackageGroup-CH-8hyAF.js} +10 -10
- package/dist/{PdfTerms-BRwmINkR.js → PdfTerms-BBeN_k6I.js} +4 -4
- package/dist/{PdfViewer-DpmlfAfl.js → PdfViewer-Du_M79jv.js} +27 -27
- package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-BeenXnHV.js → PlainHtml.vue_vue_type_script_setup_true_lang-BKJdTPrg.js} +1 -1
- package/dist/{PriceHeader-Cdh8apAZ.js → PriceHeader-Be2QwWzs.js} +25 -25
- package/dist/{SearchApi-B2ED3FdK.js → SearchApi-dNunyqch.js} +1 -1
- package/dist/{SendForm-Bz1AN65o.js → SendForm-BIIwVZwY.js} +136 -127
- package/dist/{Setup-BIa-5REE.js → Setup-DBbHXz4_.js} +1 -1
- package/dist/{SmartList-C9DXNnNX.js → SmartList-C2JUKK2W.js} +1 -1
- package/dist/{Sortable.vue_vue_type_script_setup_true_lang-DPxTkygS.js → Sortable.vue_vue_type_script_setup_true_lang-CzrvSsIg.js} +35 -35
- package/dist/{TermsSettings-BQC-y2g4.js → TermsSettings-BZBWd3c9.js} +11 -11
- package/dist/{ThemeColorRow-B1L2qfGx.js → ThemeColorRow-7KF7icN8.js} +5 -5
- package/dist/{ToggleBinding-C2ct7wmC.js → ToggleBinding-w8lNunzO.js} +4 -4
- package/dist/{UploadModal-CCy7i-cN.js → UploadModal-BRdimOyC.js} +2 -2
- package/dist/{VideoPlayerInput-BluC_uCy.js → VideoPlayerInput-BHmr7HvX.js} +6 -6
- package/dist/{VideoPlayerSettings-DvoFmiks.js → VideoPlayerSettings-fI8gpjks.js} +6 -6
- package/dist/{VideoSelectModal-yfI6keDu.js → VideoSelectModal-Beq5yE0M.js} +9 -9
- package/dist/{focusDrawerMixin-BS0v03Pf.js → focusDrawerMixin-vhY6JO7g.js} +1 -1
- package/dist/{formDrawerState-DNNzOR3a.js → formDrawerState-ChHVYfc3.js} +1 -1
- package/dist/{fortnoxTheme-DbdQ_k4_.js → fortnoxTheme-BGyYnb8i.js} +1 -1
- package/dist/{helpers-vOT4bDZk.js → helpers-Dw4CluFv.js} +1 -1
- package/dist/{index-DSDwk2v_.js → index-BUPqyA87.js} +6 -6
- package/dist/{index-DIxSHthq.js → index-BcnDsk0Z.js} +1 -1
- package/dist/{index-C_k-2pHu.js → index-C-tsPusW.js} +7 -7
- package/dist/{index-BtZlk67X.js → index-CPfrJsi9.js} +13 -13
- package/dist/{index-Cm9MF5Ro.js → index-DJYVhEQt.js} +22 -22
- package/dist/{index-aqgR0F9F.js → index-DihGX5od.js} +30 -30
- package/dist/{index-BinehglS.js → index-syUJ22zc.js} +24 -24
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +139 -137
- package/dist/{main-CCA1EgK_.js → main-BBhJGb7I.js} +4894 -4633
- package/dist/{mapFormMixin-DarsdTYn.js → mapFormMixin-CCKubywa.js} +2 -2
- package/dist/omit-Cdd54eFA.js +56 -0
- package/dist/{publicSenderState-CSYveOTQ.js → publicSenderState-LkIY-kEl.js} +1 -1
- package/dist/{splitpanes-B5GGsG65.js → splitpanes-nCfEUpmu.js} +1 -1
- package/dist/{template-BTmi3cQk.js → template-B-Ds8x_U.js} +1 -1
- package/dist/{tippy.esm-Cc-sUEuY.js → tippy.esm-DdYqbHFh.js} +66 -66
- package/dist/{useTermsModal-CdnGQsw8.js → useTermsModal-Z_pZQ4H2.js} +4 -4
- package/dist/{utils-DLVtsRRz.js → utils-C3tvmZHk.js} +1 -1
- package/dist/validation-CWxbj-wT.js +40 -0
- package/dist/widget.css +1 -1
- package/package.json +1 -1
- package/dist/Index-1MRJMA0V.js +0 -4
- package/dist/Index-DGkk540X.js +0 -87
- package/dist/omit-sqUJ46Re.js +0 -56
- package/dist/validation-DGxGtXMe.js +0 -40
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as P } from "./Index.vue_vue_type_script_lang-
|
|
2
|
-
import { C as B, a as E } from "./CDropdownItem-
|
|
3
|
-
import { _ as F } from "./CFormField.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { _ as D, b as i, c as u, o as l, w as r, j as m,
|
|
5
|
-
const
|
|
1
|
+
import { _ as P } from "./Index.vue_vue_type_script_lang-DOtAXSQl.js";
|
|
2
|
+
import { C as B, a as E } from "./CDropdownItem-pNNH9fV3.js";
|
|
3
|
+
import { _ as F } from "./CFormField.vue_vue_type_script_setup_true_lang-B57OaS--.js";
|
|
4
|
+
import { _ as D, b as i, c as u, o as l, w as r, j as m, ao as f, d as c, f as a, F as b, e as _, t as d, s as p, y as z, aj as N, aq as V } from "./main-BBhJGb7I.js";
|
|
5
|
+
const j = {
|
|
6
6
|
name: "AttachmentsItem",
|
|
7
7
|
components: {
|
|
8
8
|
FileIcon: P,
|
|
@@ -40,7 +40,7 @@ const H = {
|
|
|
40
40
|
isEditing: !1
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
|
-
},
|
|
43
|
+
}, H = ["src"], O = {
|
|
44
44
|
key: 1,
|
|
45
45
|
class: "attachment-icon pointer-events-none"
|
|
46
46
|
}, M = { class: "attachment-data pointer-events-none w-full truncate" }, A = { class: "w-full truncate" }, K = {
|
|
@@ -67,7 +67,7 @@ function S(t, e, n, U, s, v) {
|
|
|
67
67
|
key: 0,
|
|
68
68
|
src: n.attachment.url,
|
|
69
69
|
class: "attachment-preview pointer-events-none"
|
|
70
|
-
}, null, 8,
|
|
70
|
+
}, null, 8, H)) : (l(), c("div", O, [
|
|
71
71
|
a(h, {
|
|
72
72
|
mime: n.attachment.mime,
|
|
73
73
|
size: 40
|
|
@@ -165,7 +165,7 @@ function S(t, e, n, U, s, v) {
|
|
|
165
165
|
_: 1
|
|
166
166
|
}, 40, ["href"]);
|
|
167
167
|
}
|
|
168
|
-
const
|
|
168
|
+
const Q = /* @__PURE__ */ D(j, [["render", S], ["__scopeId", "data-v-3f324deb"]]);
|
|
169
169
|
export {
|
|
170
|
-
|
|
170
|
+
Q as default
|
|
171
171
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bC as tt, bD as be, bE as Y, bF as pt, bG as dn, bH as Rr, bI as Ti, bJ as De, bK as Dr, bL as bi, bM as Pr, bN as Ce, bO as Ni, bP as zn, bQ as Mr, bR as Lr, bS as kr, bT as wr, bU as xr, bV as wt, bW as Ur, bX as mn, bY as Vr, bZ as Br, aL as Fr, _ as Xr, n as $r, b as dt, c as Zt, o as Ze, w as en, U as Hr, v as jr, e as tn, d as qn, y as zr, f as nn, s as rn, t as Gn, x as qr, j as Wn, ao as Gr, aq as Wr, aC as sn, b_ as Kn } from "./main-BBhJGb7I.js";
|
|
2
2
|
/*!
|
|
3
3
|
* Compressor.js v1.1.1
|
|
4
4
|
* https://fengyuanchen.github.io/compressorjs
|
|
@@ -6161,7 +6161,7 @@ const ga = /* @__PURE__ */ Fr(ma), Ea = {
|
|
|
6161
6161
|
components: {
|
|
6162
6162
|
FileUpload: ga,
|
|
6163
6163
|
UploadModal: $r(
|
|
6164
|
-
() => import("./UploadModal-
|
|
6164
|
+
() => import("./UploadModal-BRdimOyC.js")
|
|
6165
6165
|
)
|
|
6166
6166
|
},
|
|
6167
6167
|
emits: ["input", "upload-success", "has-mounted"],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as u,
|
|
2
|
-
import { g as
|
|
1
|
+
import { _ as u, an as y, ag as c, d as t, o as a, e as n, X as o } from "./main-BBhJGb7I.js";
|
|
2
|
+
import { g as m } from "./color-HetJPhlA.js";
|
|
3
3
|
const v = {
|
|
4
4
|
name: "BlockMedia",
|
|
5
5
|
inject: {
|
|
@@ -45,7 +45,7 @@ const v = {
|
|
|
45
45
|
position: s = 50,
|
|
46
46
|
filter: i = "",
|
|
47
47
|
gradient: d = {}
|
|
48
|
-
} = this.media || {}, e =
|
|
48
|
+
} = this.media || {}, e = m(d);
|
|
49
49
|
return {
|
|
50
50
|
backgroundPosition: `center ${s}%`,
|
|
51
51
|
...!["color", "gradient"].includes(this.type) && {
|
|
@@ -53,16 +53,16 @@ const v = {
|
|
|
53
53
|
},
|
|
54
54
|
...l && this.type === "color" && { backgroundColor: l },
|
|
55
55
|
...r && this.type === "image" && {
|
|
56
|
-
backgroundImage: `url(${
|
|
56
|
+
backgroundImage: `url(${y(r, this.compressImages ? { auto: "compress" } : {})})`
|
|
57
57
|
},
|
|
58
58
|
...e && this.type === "gradient" && { backgroundImage: e }
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
}, p = { class: "media-root" },
|
|
62
|
+
}, p = { class: "media-root" }, g = {
|
|
63
63
|
key: 1,
|
|
64
64
|
class: "video-bg__media"
|
|
65
|
-
},
|
|
65
|
+
}, _ = ["poster"], f = ["src"], h = ["src"];
|
|
66
66
|
function b(r, l, s, i, d, e) {
|
|
67
67
|
return a(), t("div", p, [
|
|
68
68
|
e.overlayColor ? (a(), t("div", {
|
|
@@ -70,18 +70,18 @@ function b(r, l, s, i, d, e) {
|
|
|
70
70
|
style: o({ backgroundColor: e.overlayColor }),
|
|
71
71
|
class: "media-overlay"
|
|
72
72
|
}, null, 4)) : n("", !0),
|
|
73
|
-
e.type === "video" && e.video && e.video.url ? (a(), t("div",
|
|
73
|
+
e.type === "video" && e.video && e.video.url ? (a(), t("div", g, [
|
|
74
74
|
e.forceStatic ? (a(), t("video", {
|
|
75
75
|
key: 0,
|
|
76
76
|
poster: e.video.thumbnail
|
|
77
|
-
}, null, 8,
|
|
77
|
+
}, null, 8, _)) : e.video.provider === "pexels" ? (a(), t("video", {
|
|
78
78
|
key: 1,
|
|
79
79
|
src: e.video.url,
|
|
80
80
|
autoplay: "",
|
|
81
81
|
loop: "",
|
|
82
82
|
muted: "",
|
|
83
83
|
playsInline: ""
|
|
84
|
-
}, null, 8,
|
|
84
|
+
}, null, 8, f)) : (a(), t("iframe", {
|
|
85
85
|
key: 2,
|
|
86
86
|
src: e.video.url,
|
|
87
87
|
frameborder: "0"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as g,
|
|
1
|
+
import { _ as g, a1 as f, b as c, c as r, o as a, w as _, d as n, y as p, j as t, e as o, X as b, t as i, U as d, f as x, am as C } from "./main-BBhJGb7I.js";
|
|
2
2
|
const v = {
|
|
3
3
|
name: "CCallout",
|
|
4
4
|
components: {
|
|
@@ -66,7 +66,7 @@ const v = {
|
|
|
66
66
|
key: 0,
|
|
67
67
|
class: "-mt-px mr-3"
|
|
68
68
|
}, w = { class: "font-medium" }, I = { class: "text-gray-800" }, N = { class: "mb-2 text-gray-500" };
|
|
69
|
-
function V(s, l, e, j,
|
|
69
|
+
function V(s, l, e, j, D, u) {
|
|
70
70
|
const m = c("CButton"), y = c("CIcon");
|
|
71
71
|
return a(), r(C, { name: "fade" }, {
|
|
72
72
|
default: _(() => [
|
|
@@ -92,7 +92,7 @@ function V(s, l, e, j, T, u) {
|
|
|
92
92
|
circle: "",
|
|
93
93
|
icon: "x",
|
|
94
94
|
style: { right: "calc(0.5 * var(--rem))", position: "absolute", top: "calc(0.5 * var(--rem))" },
|
|
95
|
-
onClick: l[0] || (l[0] = (
|
|
95
|
+
onClick: l[0] || (l[0] = (E) => s.$emit("close"))
|
|
96
96
|
}, null, 8, ["type"])) : o("", !0)
|
|
97
97
|
], 2)) : (a(), n("div", z, [
|
|
98
98
|
e.icon ? (a(), n("div", S, [
|
|
@@ -118,7 +118,7 @@ function V(s, l, e, j, T, u) {
|
|
|
118
118
|
_: 3
|
|
119
119
|
});
|
|
120
120
|
}
|
|
121
|
-
const
|
|
121
|
+
const U = /* @__PURE__ */ g(v, [["render", V], ["__scopeId", "data-v-208f4e15"]]);
|
|
122
122
|
export {
|
|
123
|
-
|
|
123
|
+
U as C
|
|
124
124
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as g, a as R } from "./CDropdownItem-
|
|
2
|
-
import { _ as y,
|
|
3
|
-
import { S as T } from "./SmartList-
|
|
1
|
+
import { C as g, a as R } from "./CDropdownItem-pNNH9fV3.js";
|
|
2
|
+
import { _ as y, a9 as D, a2 as B, b as l, c, o as s, w as r, f as u, d as N, F as M, q as b, j as m, t as d, U as K, s as A, T as L } from "./main-BBhJGb7I.js";
|
|
3
|
+
import { S as T } from "./SmartList-C2JUKK2W.js";
|
|
4
4
|
const F = {
|
|
5
5
|
AED: "United Arab Emirates Dirham",
|
|
6
6
|
AFN: "Afghan Afghani",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as I, c as D } from "./helpers-
|
|
2
|
-
import { r as M, _ as O,
|
|
1
|
+
import { r as I, c as D } from "./helpers-Dw4CluFv.js";
|
|
2
|
+
import { r as M, _ as O, a5 as _, d as c, o as d, e as u, f as B, U as h, w as k, v as y, x as S, am as T, X as x, F as V, j as b, y as p, t as z, be as R, ao as A, aj as P, b as E, c as f, T as g, aq as H } from "./main-BBhJGb7I.js";
|
|
3
3
|
const v = M({
|
|
4
4
|
width: window.innerWidth || 800,
|
|
5
5
|
height: window.innerHeight || 600,
|
|
@@ -24,7 +24,7 @@ const v = M({
|
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
26
|
v.init();
|
|
27
|
-
const
|
|
27
|
+
const j = {
|
|
28
28
|
computed: {
|
|
29
29
|
windowWidth() {
|
|
30
30
|
return v.width;
|
|
@@ -59,7 +59,7 @@ const N = {
|
|
|
59
59
|
*[tabindex]:not([tabindex="-1"]),
|
|
60
60
|
*[contenteditable]`) : null;
|
|
61
61
|
let C;
|
|
62
|
-
const
|
|
62
|
+
const N = (e, { value: i = !0 }) => {
|
|
63
63
|
if (i) {
|
|
64
64
|
let t = w(e), l = w(e, !0);
|
|
65
65
|
t && t.length > 0 && (C = (n) => {
|
|
@@ -71,14 +71,14 @@ const j = (e, { value: i = !0 }) => {
|
|
|
71
71
|
}, F = (e) => {
|
|
72
72
|
e.removeEventListener("keydown", C);
|
|
73
73
|
}, q = {
|
|
74
|
-
beforeMount:
|
|
74
|
+
beforeMount: N,
|
|
75
75
|
unmounted: F
|
|
76
|
-
}, W = ["escape", "outside"], L = Symbol("cdropdown"),
|
|
76
|
+
}, W = ["escape", "outside"], L = Symbol("cdropdown"), U = {
|
|
77
77
|
name: "CDropdown",
|
|
78
78
|
directives: {
|
|
79
79
|
trapFocus: q
|
|
80
80
|
},
|
|
81
|
-
mixins: [
|
|
81
|
+
mixins: [j],
|
|
82
82
|
provide() {
|
|
83
83
|
return {
|
|
84
84
|
[L]: this
|
|
@@ -372,7 +372,7 @@ const j = (e, { value: i = !0 }) => {
|
|
|
372
372
|
return (e == null ? void 0 : e.toString()) === "[object ShadowRoot]" ? e : document;
|
|
373
373
|
}
|
|
374
374
|
}
|
|
375
|
-
},
|
|
375
|
+
}, K = ["aria-hidden"], Y = ["aria-hidden"], X = ["role"], J = { class: "dropdown-content-label" };
|
|
376
376
|
function G(e, i, t, l, n, s) {
|
|
377
377
|
const a = _("trap-focus");
|
|
378
378
|
return d(), c("div", {
|
|
@@ -400,7 +400,7 @@ function G(e, i, t, l, n, s) {
|
|
|
400
400
|
ref: "mobileBackground",
|
|
401
401
|
"aria-hidden": !n.isActive,
|
|
402
402
|
class: "dropdown-backdrop fixed inset-0 z-40 bg-black/40"
|
|
403
|
-
}, null, 8,
|
|
403
|
+
}, null, 8, K)), [
|
|
404
404
|
[S, n.isActive]
|
|
405
405
|
]) : u("", !0)
|
|
406
406
|
]),
|
|
@@ -427,10 +427,10 @@ function G(e, i, t, l, n, s) {
|
|
|
427
427
|
class: p([`${n.uniquePopoverClass}`, "dropdown-content"])
|
|
428
428
|
}, [
|
|
429
429
|
s.isMobileModal && t.mobileLabel ? h(e.$slots, "mobileLabel", { key: 0 }, () => [
|
|
430
|
-
b("div",
|
|
430
|
+
b("div", J, z(t.mobileLabel), 1)
|
|
431
431
|
]) : u("", !0),
|
|
432
432
|
h(e.$slots, "default")
|
|
433
|
-
], 14,
|
|
433
|
+
], 14, X),
|
|
434
434
|
h(e.$slots, "footer")
|
|
435
435
|
], 64)) : u("", !0)
|
|
436
436
|
], 12, Y)), [
|
|
@@ -442,7 +442,7 @@ function G(e, i, t, l, n, s) {
|
|
|
442
442
|
}, 8, ["name"])
|
|
443
443
|
], 2);
|
|
444
444
|
}
|
|
445
|
-
const re = /* @__PURE__ */ O(
|
|
445
|
+
const re = /* @__PURE__ */ O(U, [["render", G]]), Q = {
|
|
446
446
|
name: "CSwitch",
|
|
447
447
|
props: {
|
|
448
448
|
modelValue: {
|
|
@@ -745,5 +745,5 @@ export {
|
|
|
745
745
|
ue as C,
|
|
746
746
|
re as a,
|
|
747
747
|
ie as b,
|
|
748
|
-
|
|
748
|
+
j as w
|
|
749
749
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as S, a as _ } from "./helpers-
|
|
2
|
-
import { F as f,
|
|
3
|
-
const
|
|
1
|
+
import { i as S, a as _ } from "./helpers-Dw4CluFv.js";
|
|
2
|
+
import { F as f, al as g, aM as v, aN as F, b as C, _ as k, d as i, o as r, c as w, U as d, e as h, y as u, s as m, t as b, w as M, a8 as z, I as p, T as B, J as T } from "./main-BBhJGb7I.js";
|
|
3
|
+
const $ = {
|
|
4
4
|
name: "CFieldBody",
|
|
5
5
|
inject: {
|
|
6
6
|
parent: {
|
|
@@ -20,15 +20,15 @@ const L = {
|
|
|
20
20
|
},
|
|
21
21
|
render() {
|
|
22
22
|
let s = !0, e = typeof this.$slots.default == "function" ? this.$slots.default() : this.$slots.default;
|
|
23
|
-
return e != null && e.length === 1 && e[0].type === f && (e = e[0].children),
|
|
23
|
+
return e != null && e.length === 1 && e[0].type === f && (e = e[0].children), g(
|
|
24
24
|
"div",
|
|
25
25
|
{ class: "field-body" },
|
|
26
26
|
{
|
|
27
27
|
default: () => e != null && e.map((t) => {
|
|
28
|
-
if (t.type ===
|
|
28
|
+
if (t.type === v || t.type === F)
|
|
29
29
|
return t;
|
|
30
30
|
let o;
|
|
31
|
-
return s && (o = this.message, s = !1),
|
|
31
|
+
return s && (o = this.message, s = !1), g(
|
|
32
32
|
this.parent ? this.parent.$.type : C("c-field"),
|
|
33
33
|
{
|
|
34
34
|
type: this.type,
|
|
@@ -40,10 +40,10 @@ const L = {
|
|
|
40
40
|
}
|
|
41
41
|
);
|
|
42
42
|
}
|
|
43
|
-
},
|
|
43
|
+
}, L = {
|
|
44
44
|
name: "CField",
|
|
45
45
|
components: {
|
|
46
|
-
CFieldBody:
|
|
46
|
+
CFieldBody: $
|
|
47
47
|
},
|
|
48
48
|
provide() {
|
|
49
49
|
return {
|
|
@@ -201,7 +201,7 @@ const L = {
|
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
203
|
}, N = ["for"], A = ["for"], j = ["innerHTML"];
|
|
204
|
-
function
|
|
204
|
+
function O(s, e, t, o, n, a) {
|
|
205
205
|
const l = C("CFieldBody");
|
|
206
206
|
return r(), i("div", {
|
|
207
207
|
class: u([[a.rootClasses, a.fieldType()], "field"])
|
|
@@ -247,7 +247,7 @@ function x(s, e, t, o, n, a) {
|
|
|
247
247
|
}, null, 10, j)) : h("", !0)
|
|
248
248
|
], 2);
|
|
249
249
|
}
|
|
250
|
-
const
|
|
250
|
+
const P = /* @__PURE__ */ k(L, [["render", O]]), E = /* @__PURE__ */ z({
|
|
251
251
|
__name: "CFormField",
|
|
252
252
|
props: {
|
|
253
253
|
label: {},
|
|
@@ -268,12 +268,12 @@ const O = /* @__PURE__ */ F($, [["render", x]]), E = /* @__PURE__ */ z({
|
|
|
268
268
|
if ((l = e.validator) != null && l.$dirty)
|
|
269
269
|
return "text-green-500";
|
|
270
270
|
}), n = p(() => {
|
|
271
|
-
var c,
|
|
271
|
+
var c, y;
|
|
272
272
|
if (!((c = e.validator) != null && c.$errors.length)) return "";
|
|
273
273
|
const l = e.validator.$errors[0].$validator;
|
|
274
|
-
return ((
|
|
274
|
+
return ((y = e.messages) == null ? void 0 : y[l]) ?? "";
|
|
275
275
|
});
|
|
276
|
-
return (a, l) => (r(), w(T(
|
|
276
|
+
return (a, l) => (r(), w(T(P), B({ ...a.$attrs, ...a.$props }, {
|
|
277
277
|
label: a.label,
|
|
278
278
|
"custom-class": o.value,
|
|
279
279
|
type: t.value,
|
|
@@ -287,6 +287,6 @@ const O = /* @__PURE__ */ F($, [["render", x]]), E = /* @__PURE__ */ z({
|
|
|
287
287
|
}
|
|
288
288
|
});
|
|
289
289
|
export {
|
|
290
|
-
|
|
290
|
+
P as C,
|
|
291
291
|
E as _
|
|
292
292
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as w,
|
|
2
|
-
import { C as D, a as j } from "./CDropdownItem-
|
|
3
|
-
import { C as q } from "./CFormField.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { F as v } from "./Flag-
|
|
5
|
-
import { S as K } from "./SmartList-
|
|
1
|
+
import { _ as w, a1 as B, a2 as S, b as s, c as y, o as m, w as i, j as V, f as o, d as z, F, q as I, t as p, s as $, T as k } from "./main-BBhJGb7I.js";
|
|
2
|
+
import { C as D, a as j } from "./CDropdownItem-pNNH9fV3.js";
|
|
3
|
+
import { C as q } from "./CFormField.vue_vue_type_script_setup_true_lang-B57OaS--.js";
|
|
4
|
+
import { F as v } from "./Flag-CcF7qtHi.js";
|
|
5
|
+
import { S as K } from "./SmartList-C2JUKK2W.js";
|
|
6
6
|
import { r as l } from "./regions-BdZt9Srn.js";
|
|
7
7
|
const L = {
|
|
8
8
|
name: "CPhoneInput",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as h } from "./CCurrencyDropdown-
|
|
2
|
-
import { _ as C,
|
|
1
|
+
import { C as h } from "./CCurrencyDropdown-DKWtCUE_.js";
|
|
2
|
+
import { _ as C, a2 as V, a9 as g, b as a, c as l, o as s, w as i, d as u, U as p, f as w, s as I, t as d, e as k, T as _ } from "./main-BBhJGb7I.js";
|
|
3
3
|
const $ = {
|
|
4
4
|
name: "CPriceInput",
|
|
5
5
|
inheritAttrs: !1,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as y, S as f, N as g, O as b, P as i, b as n, d, o as r, j as u,
|
|
2
|
-
const
|
|
1
|
+
import { _ as y, S as f, N as g, O as b, P as i, b as n, d, o as r, j as u, v as V, c, e as o, Q as C, T as m, U as S, t as v, y as k } from "./main-BBhJGb7I.js";
|
|
2
|
+
const w = {
|
|
3
3
|
name: "CSelect",
|
|
4
4
|
mixins: [g, b],
|
|
5
5
|
inheritAttrs: !1,
|
|
@@ -80,7 +80,7 @@ const x = {
|
|
|
80
80
|
this.selected = e, !this.isValid && this.checkHtml5Validity();
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
-
},
|
|
83
|
+
}, x = ["multiple", "size"], z = {
|
|
84
84
|
key: 0,
|
|
85
85
|
value: null,
|
|
86
86
|
disabled: "",
|
|
@@ -105,7 +105,7 @@ function B(e, t, l, A, N, s) {
|
|
|
105
105
|
}), [
|
|
106
106
|
l.placeholder && s.computedValue == null ? (r(), d("option", z, v(l.placeholder), 1)) : o("", !0),
|
|
107
107
|
S(e.$slots, "default")
|
|
108
|
-
], 16,
|
|
108
|
+
], 16, x), [
|
|
109
109
|
[C, s.computedValue]
|
|
110
110
|
]),
|
|
111
111
|
!l.multiple && !e.loading ? (r(), c(p, {
|
|
@@ -123,7 +123,7 @@ function B(e, t, l, A, N, s) {
|
|
|
123
123
|
], 2)
|
|
124
124
|
], 16);
|
|
125
125
|
}
|
|
126
|
-
const F = /* @__PURE__ */ y(
|
|
126
|
+
const F = /* @__PURE__ */ y(w, [["render", B]]);
|
|
127
127
|
export {
|
|
128
128
|
F as C
|
|
129
129
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
1
|
+
import { a8 as B, az as C, I as l, aA as N, d as o, e as w, J as e, o as s, F as x, q as S, X as d, y as r, _ as z } from "./main-BBhJGb7I.js";
|
|
2
|
+
const A = /* @__PURE__ */ B({
|
|
3
3
|
__name: "CSkeleton",
|
|
4
4
|
props: {
|
|
5
5
|
active: { type: Boolean, default: !0 },
|
|
@@ -29,19 +29,19 @@ const F = /* @__PURE__ */ B({
|
|
|
29
29
|
borderRadius: m.value ? "50%" : void 0,
|
|
30
30
|
background: n.value ? n.value : void 0
|
|
31
31
|
})), u = N(), g = l(() => u.style), k = l(() => u.class);
|
|
32
|
-
return (
|
|
32
|
+
return (F, I) => e(v) ? (s(), o("div", {
|
|
33
33
|
key: 0,
|
|
34
34
|
class: r(["w-full", { invisible: e(h) }, k.value]),
|
|
35
35
|
style: d(g.value)
|
|
36
36
|
}, [
|
|
37
|
-
(s(!0), o(
|
|
37
|
+
(s(!0), o(x, null, S(e(y), (b) => (s(), o("div", {
|
|
38
38
|
key: b,
|
|
39
39
|
class: r(["mt-2 w-full bg-gray-100 bg-[length:400%_100%] leading-none after:content-['\\00a0']", { "rounded-sm": e(p), "animate-skeleton": e(f) }]),
|
|
40
40
|
style: d(_.value)
|
|
41
41
|
}, null, 6))), 128))
|
|
42
|
-
], 6)) :
|
|
42
|
+
], 6)) : w("", !0);
|
|
43
43
|
}
|
|
44
|
-
}),
|
|
44
|
+
}), $ = /* @__PURE__ */ z(A, [["__scopeId", "data-v-74e9d99e"]]);
|
|
45
45
|
export {
|
|
46
|
-
|
|
46
|
+
$ as C
|
|
47
47
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { S as O } from "./SearchApi-
|
|
2
|
-
import { _ as I, N as
|
|
3
|
-
import { g as P, r as N, c as q } from "./helpers-
|
|
1
|
+
import { S as O } from "./SearchApi-dNunyqch.js";
|
|
2
|
+
import { _ as I, N as H, O as E, a2 as F, b as g, d as c, o as d, f as V, T as S, aj as m, ao as v, w as p, v as $, j as w, X as T, y as C, e as f, U as y, F as x, q as _, t as h, x as A, am as L, aH as D, c as b, s as R } from "./main-BBhJGb7I.js";
|
|
3
|
+
import { g as P, r as N, c as q } from "./helpers-Dw4CluFv.js";
|
|
4
4
|
const z = {
|
|
5
5
|
name: "CAutocomplete",
|
|
6
6
|
components: {
|
|
7
7
|
CInput: F
|
|
8
8
|
},
|
|
9
|
-
mixins: [
|
|
9
|
+
mixins: [H, E],
|
|
10
10
|
props: {
|
|
11
11
|
modelValue: {
|
|
12
12
|
type: [Number, String],
|
|
@@ -341,14 +341,14 @@ const z = {
|
|
|
341
341
|
}, M = {
|
|
342
342
|
key: 0,
|
|
343
343
|
class: "dropdown-item"
|
|
344
|
-
},
|
|
344
|
+
}, U = ["onClick"], K = { key: 1 }, Q = {
|
|
345
345
|
key: 1,
|
|
346
346
|
class: "dropdown-item is-disabled"
|
|
347
|
-
},
|
|
347
|
+
}, j = {
|
|
348
348
|
key: 2,
|
|
349
349
|
class: "dropdown-item"
|
|
350
350
|
};
|
|
351
|
-
function
|
|
351
|
+
function W(e, t, i, l, s, o) {
|
|
352
352
|
const a = g("CInput");
|
|
353
353
|
return d(), c("div", S({
|
|
354
354
|
class: ["autocomplete control", { "is-expanded": e.expanded }]
|
|
@@ -405,12 +405,12 @@ function j(e, t, i, l, s, o) {
|
|
|
405
405
|
key: 0,
|
|
406
406
|
option: n,
|
|
407
407
|
index: u
|
|
408
|
-
}) : (d(), c("span",
|
|
409
|
-
], 10,
|
|
410
|
-
i.data.length === 0 && o.hasEmptySlot ? (d(), c("div",
|
|
408
|
+
}) : (d(), c("span", K, h(o.getValue(n, !0)), 1))
|
|
409
|
+
], 10, U))), 128)),
|
|
410
|
+
i.data.length === 0 && o.hasEmptySlot ? (d(), c("div", Q, [
|
|
411
411
|
y(e.$slots, "empty")
|
|
412
412
|
])) : f("", !0),
|
|
413
|
-
o.hasFooterSlot ? (d(), c("div",
|
|
413
|
+
o.hasFooterSlot ? (d(), c("div", j, [
|
|
414
414
|
y(e.$slots, "footer")
|
|
415
415
|
])) : f("", !0)
|
|
416
416
|
], 4), [
|
|
@@ -424,7 +424,7 @@ function j(e, t, i, l, s, o) {
|
|
|
424
424
|
})
|
|
425
425
|
], 16);
|
|
426
426
|
}
|
|
427
|
-
const
|
|
427
|
+
const X = /* @__PURE__ */ I(z, [["render", W]]), Y = {
|
|
428
428
|
i18nOptions: {
|
|
429
429
|
namespaces: "components",
|
|
430
430
|
keyPrefix: "account.documentForm.clients"
|
|
@@ -432,7 +432,7 @@ const G = /* @__PURE__ */ I(z, [["render", j]]), X = {
|
|
|
432
432
|
name: "ClientAutocomplete",
|
|
433
433
|
components: {
|
|
434
434
|
SearchApi: O,
|
|
435
|
-
CAutocomplete:
|
|
435
|
+
CAutocomplete: X
|
|
436
436
|
},
|
|
437
437
|
props: {
|
|
438
438
|
searchEnabled: {
|
|
@@ -455,7 +455,7 @@ const G = /* @__PURE__ */ I(z, [["render", j]]), X = {
|
|
|
455
455
|
emits: ["input", "setClient", "add"],
|
|
456
456
|
data() {
|
|
457
457
|
return {
|
|
458
|
-
convertToNewClient:
|
|
458
|
+
convertToNewClient: D,
|
|
459
459
|
results: [],
|
|
460
460
|
// results when searching for existing endCustomer
|
|
461
461
|
searchQuery: ""
|
|
@@ -472,7 +472,7 @@ const G = /* @__PURE__ */ I(z, [["render", j]]), X = {
|
|
|
472
472
|
}));
|
|
473
473
|
}
|
|
474
474
|
}
|
|
475
|
-
},
|
|
475
|
+
}, G = { style: { "line-height": "1.5" } }, J = { style: { "font-weight": "500" } }, Z = {
|
|
476
476
|
class: "text-gray-600",
|
|
477
477
|
style: { "font-size": "14px" }
|
|
478
478
|
}, ee = { key: 0 }, te = { key: 0 };
|
|
@@ -494,7 +494,7 @@ function ie(e, t, i, l, s, o) {
|
|
|
494
494
|
onSelect: t[1] || (t[1] = (r) => e.$emit("setClient", s.convertToNewClient(r)))
|
|
495
495
|
}), {
|
|
496
496
|
default: p(({ option: r }) => [
|
|
497
|
-
w("div",
|
|
497
|
+
w("div", G, [
|
|
498
498
|
w("div", J, h(r.name || r.email), 1),
|
|
499
499
|
w("div", Z, h(r.reference ? `${r.reference} · ` : "") + " " + h(r.workStreet || r.street || " "), 1)
|
|
500
500
|
])
|
|
@@ -510,7 +510,7 @@ function ie(e, t, i, l, s, o) {
|
|
|
510
510
|
onClick: t[0] || (t[0] = (r) => e.$emit("add"))
|
|
511
511
|
}, {
|
|
512
512
|
default: p(() => [
|
|
513
|
-
|
|
513
|
+
R(h(e.$t("_common:add")), 1)
|
|
514
514
|
]),
|
|
515
515
|
_: 1
|
|
516
516
|
})) : f("", !0)
|
|
@@ -525,8 +525,8 @@ function ie(e, t, i, l, s, o) {
|
|
|
525
525
|
_: 1
|
|
526
526
|
});
|
|
527
527
|
}
|
|
528
|
-
const le = /* @__PURE__ */ I(
|
|
528
|
+
const le = /* @__PURE__ */ I(Y, [["render", ie]]);
|
|
529
529
|
export {
|
|
530
530
|
le as C,
|
|
531
|
-
|
|
531
|
+
X as a
|
|
532
532
|
};
|