@cling-se/widget 0.14.6 → 0.15.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/.env.local +14 -0
- package/README.md +43 -40
- package/dist/{AddClientCallout-C7abPZ87.js → AddClientCallout-AzRpL0vT.js} +3 -3
- package/dist/{AnswerModal-CsA2pl2P.js → AnswerModal-CDvyRytm.js} +9 -9
- package/dist/{AttachmentItem-Da1-7xwf.js → AttachmentItem-CSF4W4Xu.js} +3 -3
- package/dist/{BaseDatePicker-k9zlSi5J.js → BaseDatePicker-SxYuhQ3d.js} +2 -2
- package/dist/{BaseUpload-BUrXX3fT.js → BaseUpload-ZaLcRmJi.js} +3 -3
- package/dist/{BlockMedia-CYI07qAn.js → BlockMedia-iYNGqCP-.js} +2 -2
- package/dist/{CCallout-Qwae66vo.js → CCallout-DzwZ6iEQ.js} +4 -4
- package/dist/{CCurrencyDropdown-Y_u0hgBx.js → CCurrencyDropdown-CcjeZr0M.js} +4 -4
- package/dist/{CDropdownItem-CXJ4xD8W.js → CDropdownItem-C_Q1Rz8L.js} +1 -1
- package/dist/{CFormField--m3PvQuT.js → CFormField-DagN3ANJ.js} +1 -1
- package/dist/{CPhoneFormat-Qg6MkDVP.js → CPhoneFormat-BabexkZC.js} +1 -1
- package/dist/{CPriceInput-Dlx44UrR.js → CPriceInput-4SWAt4-e.js} +2 -2
- package/dist/{ClientAutocomplete-BKKc_br6.js → ClientAutocomplete-BfLr3svj.js} +3 -3
- package/dist/{ClientModal-CVZFb1Br.js → ClientModal-BfqyNmGa.js} +6 -6
- package/dist/{ColorPicker-Bo3s3Esp.js → ColorPicker-DsWa5-ky.js} +2 -2
- package/dist/{CompanyModal-DadjAioS.js → CompanyModal-BX27IyQz.js} +5 -5
- package/dist/{ContentWrapper-BC3ZBQW9.js → ContentWrapper-Cs9WIbLC.js} +9 -9
- package/dist/{CoverBlockSettings-B484eE4g.js → CoverBlockSettings-C4szZ3l6.js} +11 -11
- package/dist/{DocAnswer-CcYryOWI.js → DocAnswer-_wiaHtar.js} +2 -2
- package/dist/{DocDetails-BigsoEWL.js → DocDetails-Cn1F4Xml.js} +43 -30
- package/dist/{DocForm-DlN0eNWt.js → DocForm-DCGLCf5f.js} +44 -44
- package/dist/{DocFormSend-TqKo210I.js → DocFormSend-B_NOZOA_.js} +2 -2
- package/dist/{DocLinks-DSo54vDn.js → DocLinks-B5hDdjxz.js} +2 -2
- package/dist/{DocModalBase-XlM1SThW.js → DocModalBase-BM0QeAB4.js} +2 -2
- package/dist/{DocPrint-tD0Vd9Sw.js → DocPrint-tjYvjnDX.js} +2 -2
- package/dist/{DocReceipt-CDHPrhXM.js → DocReceipt-CNDUYcIB.js} +1 -1
- package/dist/{DocSendReminder-C62RhltH.js → DocSendReminder-NRTpZv2P.js} +1 -1
- package/dist/{DocTextEditor-VjhV9IRp.js → DocTextEditor-BclZr0JD.js} +12 -12
- package/dist/{DocTimeline-LcW4z3nC.js → DocTimeline-ClCG-Hq0.js} +1 -1
- package/dist/{DocumentClient-CqbTRdpB.js → DocumentClient-DEhDXlwK.js} +5 -5
- package/dist/{DocumentLayout-Dbf8_01r.js → DocumentLayout-C--Lin9F.js} +6 -6
- package/dist/{DocumentLogotype-DXYnBedV.js → DocumentLogotype-RvsC35wt.js} +4 -4
- package/dist/{DocumentVoided-vH1Ti5lZ.js → DocumentVoided-BrABKjEB.js} +1 -1
- package/dist/{EmbedInput-D9qP8OnY.js → EmbedInput-Bv7hF0VQ.js} +2 -2
- package/dist/{EmbedSettings-DISuNqJT.js → EmbedSettings-Y_hwE4vJ.js} +3 -3
- package/dist/{ErrorCallout-CCtCVwSh.js → ErrorCallout-B6fESwgE.js} +5 -5
- package/dist/{FilePreviewModal-BjhNyb6L.js → FilePreviewModal-Bdb8TBf5.js} +3 -3
- package/dist/{Flag-Dhukv9_J.js → Flag-2ApHWZ3T.js} +1 -1
- package/dist/{HeaderSettings-CK4SkB1x.js → HeaderSettings-Blsq72_Z.js} +9 -9
- package/dist/{ImageSelectModal-DnvPZzXx.js → ImageSelectModal-DHN8lKYM.js} +4 -4
- package/dist/{ImageUploadWrapper-B7cNMu5a.js → ImageUploadWrapper-CWZZ5hGk.js} +3 -3
- package/dist/{Index-CPJVx14x.js → Index-6duNBl8Y.js} +3 -3
- package/dist/{Index-BlQSM7tC.js → Index-B6OAvING.js} +9 -9
- package/dist/{Index-CQ325eVT.js → Index-B8PV5t8X.js} +4 -4
- package/dist/{Index-B3aucNji.js → Index-BRvn7zVo.js} +4 -4
- package/dist/{Index-Bh0kMSsA.js → Index-BX12AMrG.js} +5 -5
- package/dist/{Index-BLeQprjq.js → Index-B_zFq-f8.js} +2 -2
- package/dist/{Index-Dm8xMFGg.js → Index-BbF-ZO2M.js} +2 -2
- package/dist/{Index-Bs8wprXw.js → Index-Blr5zPZh.js} +4 -4
- package/dist/{Index-dyWK9jgr.js → Index-Bwjd-uTn.js} +4 -4
- package/dist/{Index-lKk_XKJ3.js → Index-C26_o49t.js} +5 -5
- package/dist/{Index-D_rfst8y.js → Index-CCacVjly.js} +2 -2
- package/dist/{Index-DXAvlq74.js → Index-CIiCElst.js} +6 -6
- package/dist/{Index-D6bc7lg4.js → Index-CJVwSkIr.js} +3 -3
- package/dist/{Index-B3HoK_cZ.js → Index-Cjm8COEb.js} +9 -9
- package/dist/{Index-Dw26jtGV.js → Index-CtXJvgOl.js} +5 -5
- package/dist/{Index-BvZZAvFd.js → Index-CyjmLDpa.js} +2 -2
- package/dist/{Index-B9H5MMHb.js → Index-D8WCevxd.js} +5 -5
- package/dist/{Index-DCR8ev4U.js → Index-D9KmhTIR.js} +4 -4
- package/dist/{Index-DuTw9vhb.js → Index-DGbe0pWa.js} +15 -15
- package/dist/{Index-BpcJBGGd.js → Index-DR8L-lAn.js} +59 -59
- package/dist/{Index-CFo-3Y5Q.js → Index-DU60X_YS.js} +7 -7
- package/dist/{Index-CyJnSvDR.js → Index-DU_gzJQ3.js} +38 -38
- package/dist/{Index-ZFkitzfq.js → Index-DcS0YAIG.js} +5 -5
- package/dist/{Index-BY1UKGEO.js → Index-DgwozWoF.js} +7 -7
- package/dist/{Index-OxN73_fO.js → Index-DppKk62J.js} +5 -5
- package/dist/{Index-BOyvQlng.js → Index-G79ulgs-.js} +6 -6
- package/dist/{Index-CWrDtcfT.js → Index-L8zfJrbV.js} +4 -4
- package/dist/{Index-gb11ngPS.js → Index-QjqQg_tR.js} +3 -3
- package/dist/{Index-BVsw2tak.js → Index-TNmLMHsS.js} +6 -6
- package/dist/{Index-BAYdvT-t.js → Index-VsEdNKtz.js} +2 -2
- package/dist/{Index-CNvp5K3L.js → Index-gjT3U8H0.js} +7 -7
- package/dist/{Index-DtSSgtxB.js → Index-jFlqwlJS.js} +5 -5
- package/dist/{Index-DGQSB9cH.js → Index-u26vgCKd.js} +3 -3
- package/dist/{Index-S-FHG7_k.js → Index-xbWE2bCU.js} +316 -316
- package/dist/{InputToggleRow-DSSvhPKA.js → InputToggleRow-DhMmDXY_.js} +2 -2
- package/dist/{ManualPopover-lpJYSkw5.js → ManualPopover-DVz0whtf.js} +1 -1
- package/dist/{MediaWrapper-BQ22FA2B.js → MediaWrapper-_D2ofQ4x.js} +3 -3
- package/dist/{NotBindingText-JxwzZLPP.js → NotBindingText-t1LrCNkl.js} +2 -2
- package/dist/{PackageGroup-BLSMSUDz.js → PackageGroup-Cz4jwdKy.js} +10 -10
- package/dist/{PdfTerms-DtutjM5Y.js → PdfTerms-ySMcVtMw.js} +3 -3
- package/dist/{PdfViewer-BsxcZI_x.js → PdfViewer-DmVphxuU.js} +11 -11
- package/dist/{PlainHtml-BMPZs2fT.js → PlainHtml-DVDqzrtb.js} +1 -1
- package/dist/{PriceHeader-BRYY01H2.js → PriceHeader-CcrU27jC.js} +12 -12
- package/dist/{SearchApi-6001iFxU.js → SearchApi-BcgYuHnp.js} +2 -2
- package/dist/{Setup-cw6jMI9M.js → Setup-BYgi8rB6.js} +1 -1
- package/dist/{SmartList-q6H-uLbm.js → SmartList-BQy76HbF.js} +1 -1
- package/dist/{TermsSettings-DWvaPneu.js → TermsSettings-Cff48hRO.js} +4 -4
- package/dist/{ThemeColorRow-BXWnvfz-.js → ThemeColorRow-BP3B1_0d.js} +4 -4
- package/dist/{ToggleBinding-DydtwpNG.js → ToggleBinding-CmyqBk_I.js} +3 -3
- package/dist/{UploadModal-D_EDKHGD.js → UploadModal-CyF28dJu.js} +3 -3
- package/dist/{VideoPlayerInput-B9yzUeBW.js → VideoPlayerInput-DZSIBBno.js} +3 -3
- package/dist/{VideoPlayerSettings-Bvp9l0yj.js → VideoPlayerSettings-B18BNVLk.js} +3 -3
- package/dist/{VideoSelectModal-DY3N4JiS.js → VideoSelectModal-DLYDXqLD.js} +4 -4
- package/dist/{answerDocumentMixin-BYZPU_R-.js → answerDocumentMixin-DMmpKyET.js} +3 -3
- package/dist/{debounce-BPnlzNwd.js → debounce-D1yOPGgu.js} +1 -1
- package/dist/{focusDrawerMixin-DC9Oa1i7.js → focusDrawerMixin-Br-QslLb.js} +1 -1
- package/dist/{formComponentsInstall-CEW6TK6z.js → formComponentsInstall-BiLkH6wQ.js} +22 -22
- package/dist/{formDrawerState-CAzvSMiQ.js → formDrawerState-Js81vZJy.js} +1 -1
- package/dist/{formValidationMixin-D7zXxCpC.js → formValidationMixin-53auWWhq.js} +1 -1
- package/dist/{index-SxyZvewN.js → index-BRWVACzY.js} +2 -2
- package/dist/{index-BbscgdRg.js → index-B_UJMy_K.js} +1 -1
- package/dist/{index-BCMaUC5r.js → index-Cft0QOP8.js} +8 -8
- package/dist/{index-BDMI4NVY.js → index-CihfdSBG.js} +1 -1
- package/dist/{index-B9WDC3Xe.js → index-NmlBSVwA.js} +8 -8
- package/dist/{index-CLUljEDI.js → index-VgcL-RmW.js} +8 -8
- package/dist/index.es.js +10 -10
- package/dist/index.umd.js +111 -111
- package/dist/{main-CQBEuZk9.js → main-Bw3hbSQ-.js} +3110 -3029
- package/dist/{mapFormMixin-DlFcgwhm.js → mapFormMixin-BinelLUg.js} +1 -1
- package/dist/{omit-BWy0Zhd3.js → omit-C4GTWP3u.js} +1 -1
- package/dist/{publicSenderState-CvOcFv2U.js → publicSenderState-DORLbMvq.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/{throttle-BrC8eGjQ.js → throttle-CuGCM8jm.js} +2 -2
- package/dist/{tinycolor-PhFP695w.js → tinycolor-BFvkceNf.js} +1 -1
- package/dist/{tippy.esm-7dmKOUvu.js → tippy.esm-BK3Nmf2L.js} +6 -6
- package/dist/{utils-NBLgNGHR.js → utils-DYvxV57L.js} +1 -1
- package/dist/{vuedraggable.umd-ByfH7ZxC.js → vuedraggable.umd-BT5Am26_.js} +1 -1
- package/package.json +1 -1
- package/.eslintrc.cjs +0 -4
- package/public/favicon.ico +0 -0
- package/tsconfig.json +0 -26
- package/tsconfig.node.json +0 -10
- package/tsconfig.paths.json +0 -17
- package/vite.config.ts +0 -60
- /package/dist/{CTabs.vue_vue_type_style_index_0_scoped_b7262014_lang-l0sNRNKZ.js → CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n, a9 as u, g as d, b as o, ay as l } from "./main-
|
|
2
|
-
import { m as p } from "./mapFormMixin-
|
|
3
|
-
import { C as g } from "./CCallout-
|
|
4
|
-
import { T as f } from "./DocTextEditor-
|
|
1
|
+
import { n, a9 as u, g as d, b as o, ay as l } from "./main-Bw3hbSQ-.js";
|
|
2
|
+
import { m as p } from "./mapFormMixin-BinelLUg.js";
|
|
3
|
+
import { C as g } from "./CCallout-DzwZ6iEQ.js";
|
|
4
|
+
import { T as f } from "./DocTextEditor-BclZr0JD.js";
|
|
5
5
|
import { m as v, a as h } from "./vuex.esm-DKGl8mcw.js";
|
|
6
|
-
import { w as _ } from "./CDropdownItem-
|
|
6
|
+
import { w as _ } from "./CDropdownItem-C_Q1Rz8L.js";
|
|
7
7
|
const b = {
|
|
8
8
|
i18nOptions: {
|
|
9
9
|
namespaces: "components",
|
|
@@ -31,8 +31,8 @@ const b = {
|
|
|
31
31
|
},
|
|
32
32
|
computed: {
|
|
33
33
|
tooltipText() {
|
|
34
|
-
let { type:
|
|
35
|
-
return
|
|
34
|
+
let { type: s } = this;
|
|
35
|
+
return s === "google" ? this.$t("seeTypeReviews", { type: s.capitalize() }) : (s === "website" && (s = this.$t("_common:website").capitalize()), ["facebook", "instagram", "reco", "linkedin"].includes(s) && (s = s.capitalize()), this.$t("visitOur", { type: s }));
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
};
|
|
@@ -55,7 +55,7 @@ var w = function() {
|
|
|
55
55
|
y,
|
|
56
56
|
!1,
|
|
57
57
|
null,
|
|
58
|
-
"
|
|
58
|
+
"f04b5d88"
|
|
59
59
|
);
|
|
60
60
|
const k = C.exports, x = {
|
|
61
61
|
components: {
|
|
@@ -81,7 +81,7 @@ var $ = function() {
|
|
|
81
81
|
M,
|
|
82
82
|
!1,
|
|
83
83
|
null,
|
|
84
|
-
"
|
|
84
|
+
"62fcb46b"
|
|
85
85
|
);
|
|
86
86
|
const B = S.exports, P = {
|
|
87
87
|
name: "DocPresentationCertificates",
|
|
@@ -118,10 +118,10 @@ const B = S.exports, P = {
|
|
|
118
118
|
};
|
|
119
119
|
var I = function() {
|
|
120
120
|
var e = this, t = e._self._c;
|
|
121
|
-
return t("div", [e._l(e.content, function(
|
|
121
|
+
return t("div", [e._l(e.content, function(a, i) {
|
|
122
122
|
return t("div", { key: i, staticClass: "cert-container" }, [t("div", { staticClass: "cert-wrapper", class: [e.expandCert === i ? "active" : ""], on: { click: function(r) {
|
|
123
123
|
e.expandCert = e.expandCert === i ? null : i;
|
|
124
|
-
} } }, [t("div", { staticClass: "cert-img", style: { backgroundImage: "url(" +
|
|
124
|
+
} } }, [t("div", { staticClass: "cert-img", style: { backgroundImage: "url(" + a.img + ")" } }), t("div", { staticClass: "cert-wrapper-title" }, [t("div", { staticClass: "cert-title" }, [e._v(e._s(a.title))])]), t("div", { staticClass: "cert-toggle" }, [t("svg", { attrs: { width: "13", height: "10", viewBox: "0 0 33 19", xmlns: "http://www.w3.org/2000/svg" } }, [t("path", { attrs: { d: "M2.357864 2.61571l14.142135 14.142135L30.642135 2.61571", "stroke-width": "4", stroke: "#929cb7", fill: "none", "fill-rule": "evenodd", "stroke-linecap": "round", "stroke-linejoin": "round" } })])])]), t("Animation", [e.expandCert === i ? t("div", { staticClass: "cert-description" }, [t("div", [e._v(e._s(a.description))]), a.website ? t("a", { staticClass: "cert-link", attrs: { href: a.website.toLowerCase().startsWith("http") ? a.website : `//${a.website}`, target: "_blank", rel: "noopener" } }, [t("svg", { attrs: { name: "new-window", width: "15", height: "15", viewBox: "0 0 113 113", xmlns: "http://www.w3.org/2000/svg" } }, [t("g", { attrs: { stroke: "#2143ff", "stroke-width": "14.4", fill: "none", "fill-rule": "evenodd", "stroke-linecap": "round" } }, [t("path", { attrs: { d: "M70.986736 7.947575h33.854117-33.854117zM54.374951 58.413476l50.465902-50.465901L54.37495 58.413476zM105 40l-.159147-32.052425L105 40z", "stroke-linejoin": "round" } }), t("path", { attrs: { d: "M48.476363 8H26.00398C16.060657 8 8 16.05386 8 26.007354v61.389452c0 9.945187 8.06184 18.007354 18.003453 18.007354h60.993094C96.93958 105.40416 105 97.346548 105 87.394835V62.498611" } })])]), e._v(" " + e._s(e.$t("_common:website", { postProcess: "capitalize" })) + " ")]) : e._e()]) : e._e()])], 1);
|
|
125
125
|
}), e.showDisclaimer ? t("CCallout", { attrs: { size: "small" } }, [e._v(" " + e._s(e.$t("certificateDisclaimer")) + " ")]) : e._e()], 2);
|
|
126
126
|
}, z = [], F = /* @__PURE__ */ n(
|
|
127
127
|
P,
|
|
@@ -129,7 +129,7 @@ var I = function() {
|
|
|
129
129
|
z,
|
|
130
130
|
!1,
|
|
131
131
|
null,
|
|
132
|
-
"
|
|
132
|
+
"30ce5bbb"
|
|
133
133
|
);
|
|
134
134
|
const D = F.exports, T = {
|
|
135
135
|
name: "AvatarContact",
|
|
@@ -184,7 +184,7 @@ var j = function() {
|
|
|
184
184
|
E,
|
|
185
185
|
!1,
|
|
186
186
|
null,
|
|
187
|
-
"
|
|
187
|
+
"9f5d2e66"
|
|
188
188
|
);
|
|
189
189
|
const O = R.exports, V = {
|
|
190
190
|
i18nOptions: {
|
|
@@ -244,8 +244,8 @@ const O = R.exports, V = {
|
|
|
244
244
|
key: "data.personalMessage",
|
|
245
245
|
value: this.internalValue
|
|
246
246
|
}) : this.removeFormValue("data.personalMessage"), this._document.id) {
|
|
247
|
-
const
|
|
248
|
-
this.loadDocumentForm({ documentId:
|
|
247
|
+
const s = await this.saveDocument();
|
|
248
|
+
this.loadDocumentForm({ documentId: s });
|
|
249
249
|
}
|
|
250
250
|
this.$emit("close");
|
|
251
251
|
}
|
|
@@ -258,8 +258,8 @@ var A = function() {
|
|
|
258
258
|
highlight: !0,
|
|
259
259
|
image: !0,
|
|
260
260
|
table: !1
|
|
261
|
-
}, placeholder: e.$t("placeholder") }, model: { value: e.internalValue, callback: function(
|
|
262
|
-
e.internalValue =
|
|
261
|
+
}, placeholder: e.$t("placeholder") }, model: { value: e.internalValue, callback: function(a) {
|
|
262
|
+
e.internalValue = a;
|
|
263
263
|
}, expression: "internalValue" } }), t("CButton", { attrs: { loading: e.isPostingDocument, type: "primary", expanded: "" }, on: { click: e.saveMessage } }, [e._v(" " + e._s(e.$t("_common:save")) + " ")])], 1);
|
|
264
264
|
}, q = [], H = /* @__PURE__ */ n(
|
|
265
265
|
V,
|
|
@@ -290,8 +290,8 @@ const U = H.exports, L = {
|
|
|
290
290
|
name: "DocPresentationMessage",
|
|
291
291
|
components: {
|
|
292
292
|
AvatarContact: O,
|
|
293
|
-
IsPremium: () => import("./index-
|
|
294
|
-
IsPremiumPreStep: () => import("./index-
|
|
293
|
+
IsPremium: () => import("./index-Cft0QOP8.js").then((s) => s.i).then((s) => s.IsPremium),
|
|
294
|
+
IsPremiumPreStep: () => import("./index-Cft0QOP8.js").then((s) => s.i).then((s) => s.IsPremiumPreStep)
|
|
295
295
|
},
|
|
296
296
|
mixins: [p([])],
|
|
297
297
|
props: {
|
|
@@ -334,10 +334,10 @@ const U = H.exports, L = {
|
|
|
334
334
|
};
|
|
335
335
|
var N = function() {
|
|
336
336
|
var e = this, t = e._self._c;
|
|
337
|
-
return t("div", { staticClass: "presentation-message" }, [e.content ? t("div", { staticClass: "quill-format", domProps: { innerHTML: e._s(e.content) } }) : e._e(), e.editable && e.content ? t("div", { staticStyle: { "margin-top": "calc(2 * var(--rem))" } }, [t("CButton", { attrs: { type: "none", pattern: "secondary", size: "normal", "icon-left": "edit" }, on: { click: e.openEditModal } }, [e._v(" " + e._s(e.$t("changeMessage")) + " ")])], 1) : !e.content && e.editable ? t("CCallout", { attrs: { title: e.$t("addMessage") } }, [t("div", [e._v(e._s(e.$t("pmPlaceholder")))]), t("IsPremium", { scopedSlots: e._u([{ key: "default", fn: function({ allowPremiumFeatures:
|
|
337
|
+
return t("div", { staticClass: "presentation-message" }, [e.content ? t("div", { staticClass: "quill-format", domProps: { innerHTML: e._s(e.content) } }) : e._e(), e.editable && e.content ? t("div", { staticStyle: { "margin-top": "calc(2 * var(--rem))" } }, [t("CButton", { attrs: { type: "none", pattern: "secondary", size: "normal", "icon-left": "edit" }, on: { click: e.openEditModal } }, [e._v(" " + e._s(e.$t("changeMessage")) + " ")])], 1) : !e.content && e.editable ? t("CCallout", { attrs: { title: e.$t("addMessage") } }, [t("div", [e._v(e._s(e.$t("pmPlaceholder")))]), t("IsPremium", { scopedSlots: e._u([{ key: "default", fn: function({ allowPremiumFeatures: a }) {
|
|
338
338
|
return [t("IsPremiumPreStep", { attrs: { feature: "personalMessage" }, scopedSlots: e._u([{ key: "default", fn: function({ onClick: i }) {
|
|
339
339
|
return [t("CButton", { staticStyle: { "margin-top": "calc(1.5 * var(--rem))" }, attrs: { type: "secondary", size: "normal" }, on: { click: function(r) {
|
|
340
|
-
|
|
340
|
+
a ? e.openEditModal() : i({ callback: e.openEditModal });
|
|
341
341
|
} } }, [e._v(" " + e._s(e.$t("writeMessage")) + " ")])];
|
|
342
342
|
} }], null, !0) })];
|
|
343
343
|
} }]) })], 1) : e._e(), e.avatar ? t("AvatarContact", { staticStyle: { "margin-top": "calc(2.5 * var(--rem))" }, attrs: { "avatar-url": e.creator.image, name: e.creator.name, cellphone: e.creator.cellphone, email: e.creator.email } }) : e._e()], 1);
|
|
@@ -347,7 +347,7 @@ var N = function() {
|
|
|
347
347
|
W,
|
|
348
348
|
!1,
|
|
349
349
|
null,
|
|
350
|
-
"
|
|
350
|
+
"b453656f"
|
|
351
351
|
);
|
|
352
352
|
const Q = G.exports, X = {
|
|
353
353
|
name: "ModalReference",
|
|
@@ -381,15 +381,15 @@ const Q = G.exports, X = {
|
|
|
381
381
|
};
|
|
382
382
|
var Y = function() {
|
|
383
383
|
var e = this, t = e._self._c;
|
|
384
|
-
return t("transition", { attrs: { name: e.transition } }, [t("div", { staticClass: "photo-container duration-300ms" }, [e.mq === "sm" ? t("div", { staticClass: "reference-close-button", attrs: { circle: "" }, on: { click: function(
|
|
384
|
+
return t("transition", { attrs: { name: e.transition } }, [t("div", { staticClass: "photo-container duration-300ms" }, [e.mq === "sm" ? t("div", { staticClass: "reference-close-button", attrs: { circle: "" }, on: { click: function(a) {
|
|
385
385
|
return e.$emit("close");
|
|
386
|
-
} } }, [t("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 24 24", fill: "none", stroke: "#FFF", "stroke-width": "2.5", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [t("line", { attrs: { x1: "18", y1: "6", x2: "6", y2: "18" } }), t("line", { attrs: { x1: "6", y1: "6", x2: "18", y2: "18" } })])]) : e._e(), t("div", { staticClass: "relative" }, [e._l(e.images, function(
|
|
387
|
-
return [e.currIndex === i ? t("div", { key: i, staticClass: "relative overflow-hidden" }, [t("div", { staticClass: "image-background-fill", style: [{ backgroundImage: `url(${
|
|
388
|
-
}), e.images.length > 1 ? [t("div", { staticClass: "absolute inset-0 flex items-center justify-between p-1" }, [t("CButton", { staticClass: "bg-white/10 text-gray-100", attrs: { icon: "chevron-left", circle: "", type: "none", pattern: "tertiary", "icon-props": { size: 24 } }, on: { click: function(
|
|
386
|
+
} } }, [t("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 24 24", fill: "none", stroke: "#FFF", "stroke-width": "2.5", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [t("line", { attrs: { x1: "18", y1: "6", x2: "6", y2: "18" } }), t("line", { attrs: { x1: "6", y1: "6", x2: "18", y2: "18" } })])]) : e._e(), t("div", { staticClass: "relative" }, [e._l(e.images, function(a, i) {
|
|
387
|
+
return [e.currIndex === i ? t("div", { key: i, staticClass: "relative overflow-hidden" }, [t("div", { staticClass: "image-background-fill", style: [{ backgroundImage: `url(${a})` }] }), t("div", { staticClass: "image", style: [{ backgroundImage: `url(${a}` }] })]) : e._e()];
|
|
388
|
+
}), e.images.length > 1 ? [t("div", { staticClass: "absolute inset-0 flex items-center justify-between p-1" }, [t("CButton", { staticClass: "bg-white/10 text-gray-100", attrs: { icon: "chevron-left", circle: "", type: "none", pattern: "tertiary", "icon-props": { size: 24 } }, on: { click: function(a) {
|
|
389
389
|
e.currIndex - 1 < 0 ? e.currIndex = e.images.length - 1 : e.currIndex--;
|
|
390
|
-
} } }), t("CButton", { staticClass: "bg-white/10 text-gray-100", attrs: { icon: "chevron-right", circle: "", type: "none", pattern: "tertiary", "icon-props": { size: 24 } }, on: { click: function(
|
|
390
|
+
} } }), t("CButton", { staticClass: "bg-white/10 text-gray-100", attrs: { icon: "chevron-right", circle: "", type: "none", pattern: "tertiary", "icon-props": { size: 24 } }, on: { click: function(a) {
|
|
391
391
|
e.currIndex + 1 > e.images.length - 1 ? e.currIndex = 0 : e.currIndex++;
|
|
392
|
-
} } })], 1), t("div", { staticClass: "absolute bottom-2 left-0 right-0 flex justify-center gap-2" }, e._l(e.images, function(
|
|
392
|
+
} } })], 1), t("div", { staticClass: "absolute bottom-2 left-0 right-0 flex justify-center gap-2" }, e._l(e.images, function(a, i) {
|
|
393
393
|
return t("div", { key: "dot" + i, staticClass: "h-1.5 w-1.5 rounded-full", class: [e.currIndex === i ? "bg-white" : "bg-white/50"] });
|
|
394
394
|
}), 0)] : e._e()], 2), t("div", { staticClass: "content" }, [t("div", { staticClass: "text-lg font-bold" }, [e._v(e._s(e.title))]), t("div", { staticClass: "text-base", domProps: { innerHTML: e._s(e.content) } })])])]);
|
|
395
395
|
}, J = [], K = /* @__PURE__ */ n(
|
|
@@ -398,7 +398,7 @@ var Y = function() {
|
|
|
398
398
|
J,
|
|
399
399
|
!1,
|
|
400
400
|
null,
|
|
401
|
-
"
|
|
401
|
+
"11972073"
|
|
402
402
|
);
|
|
403
403
|
const Z = K.exports, ee = {
|
|
404
404
|
props: {
|
|
@@ -408,15 +408,15 @@ const Z = K.exports, ee = {
|
|
|
408
408
|
}
|
|
409
409
|
},
|
|
410
410
|
methods: {
|
|
411
|
-
show(
|
|
411
|
+
show(s) {
|
|
412
412
|
this.$nextTick(() => {
|
|
413
413
|
this.$modal.show(
|
|
414
414
|
Z,
|
|
415
415
|
{
|
|
416
|
-
title:
|
|
417
|
-
content:
|
|
416
|
+
title: s.name,
|
|
417
|
+
content: s.description || "",
|
|
418
418
|
transition: "fade-in-slide-up",
|
|
419
|
-
images:
|
|
419
|
+
images: s.CompanyReferenceItems.map(
|
|
420
420
|
(e) => e.Image.href || `${this.$apiUrl}/file/${e.Image.publicId}/download`
|
|
421
421
|
)
|
|
422
422
|
},
|
|
@@ -432,28 +432,28 @@ const Z = K.exports, ee = {
|
|
|
432
432
|
);
|
|
433
433
|
});
|
|
434
434
|
},
|
|
435
|
-
getThumbnailPath(
|
|
436
|
-
const e =
|
|
435
|
+
getThumbnailPath(s) {
|
|
436
|
+
const e = s.CompanyReferenceItems[0].Thumbnail;
|
|
437
437
|
return e.href || `${this.$apiUrl}/file/${e.publicId}/download`;
|
|
438
438
|
}
|
|
439
439
|
}
|
|
440
440
|
};
|
|
441
441
|
var te = function() {
|
|
442
442
|
var e = this, t = e._self._c;
|
|
443
|
-
return t("div", { staticClass: "album-wrapper" }, e._l(e.albums, function(
|
|
443
|
+
return t("div", { staticClass: "album-wrapper" }, e._l(e.albums, function(a, i) {
|
|
444
444
|
return t("div", { key: i, staticStyle: { flex: "1 0 50%" }, on: { click: function(r) {
|
|
445
|
-
return e.show(
|
|
446
|
-
} } }, [t("div", { staticClass: "ref-wrapper" }, [t("div", { staticClass: "ref-bg-wrapper" }, [t("div", { staticClass: "ref-bg", style: { backgroundImage: `url(${e.getThumbnailPath(
|
|
445
|
+
return e.show(a);
|
|
446
|
+
} } }, [t("div", { staticClass: "ref-wrapper" }, [t("div", { staticClass: "ref-bg-wrapper" }, [t("div", { staticClass: "ref-bg", style: { backgroundImage: `url(${e.getThumbnailPath(a)})` } })]), t("div", { staticClass: "ref-title" }, [e._v(e._s(a.name))]), t("div", { staticClass: "ref-data" }, [e._v(" " + e._s(e.$tc("image", { count: a.CompanyReferenceItems.length })) + " ")])])]);
|
|
447
447
|
}), 0);
|
|
448
|
-
},
|
|
448
|
+
}, se = [], ae = /* @__PURE__ */ n(
|
|
449
449
|
ee,
|
|
450
450
|
te,
|
|
451
|
-
|
|
451
|
+
se,
|
|
452
452
|
!1,
|
|
453
453
|
null,
|
|
454
|
-
"
|
|
454
|
+
"2ab67b90"
|
|
455
455
|
);
|
|
456
|
-
const ie =
|
|
456
|
+
const ie = ae.exports, ne = {
|
|
457
457
|
i18nOptions: {
|
|
458
458
|
namespaces: "Presentation",
|
|
459
459
|
messages: {
|
|
@@ -493,7 +493,7 @@ const ie = se.exports, ne = {
|
|
|
493
493
|
return o(this, "_document.personalMessage", "");
|
|
494
494
|
},
|
|
495
495
|
presentationBlocks() {
|
|
496
|
-
const
|
|
496
|
+
const s = [];
|
|
497
497
|
try {
|
|
498
498
|
if (this.message || this.canEdit) {
|
|
499
499
|
const e = {
|
|
@@ -514,7 +514,7 @@ const ie = se.exports, ne = {
|
|
|
514
514
|
editable: this.canEdit
|
|
515
515
|
}
|
|
516
516
|
};
|
|
517
|
-
|
|
517
|
+
s.push(e);
|
|
518
518
|
}
|
|
519
519
|
} catch {
|
|
520
520
|
}
|
|
@@ -523,7 +523,7 @@ const ie = se.exports, ne = {
|
|
|
523
523
|
const {
|
|
524
524
|
website: e,
|
|
525
525
|
recoUrl: t,
|
|
526
|
-
instagramUrl:
|
|
526
|
+
instagramUrl: a,
|
|
527
527
|
linkedinUrl: i,
|
|
528
528
|
facebookUrl: r,
|
|
529
529
|
googleUrl: c
|
|
@@ -539,21 +539,21 @@ const ie = se.exports, ne = {
|
|
|
539
539
|
website: e,
|
|
540
540
|
linkedin: i,
|
|
541
541
|
reco: t,
|
|
542
|
-
instagram:
|
|
542
|
+
instagram: a,
|
|
543
543
|
facebook: r,
|
|
544
544
|
google: c
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
547
|
};
|
|
548
|
-
|
|
548
|
+
s.push(m);
|
|
549
549
|
}
|
|
550
550
|
} catch {
|
|
551
551
|
}
|
|
552
552
|
try {
|
|
553
553
|
if (this.certificates && this.certificates.length) {
|
|
554
554
|
const e = this.certificates.map(
|
|
555
|
-
({ name:
|
|
556
|
-
title:
|
|
555
|
+
({ name: a, description: i, imageUrl: r, website: c }) => ({
|
|
556
|
+
title: a,
|
|
557
557
|
description: i,
|
|
558
558
|
img: r,
|
|
559
559
|
website: c
|
|
@@ -570,7 +570,7 @@ const ie = se.exports, ne = {
|
|
|
570
570
|
// TODO: How to only enable on client route
|
|
571
571
|
}
|
|
572
572
|
};
|
|
573
|
-
|
|
573
|
+
s.push(t);
|
|
574
574
|
}
|
|
575
575
|
} catch {
|
|
576
576
|
}
|
|
@@ -586,11 +586,11 @@ const ie = se.exports, ne = {
|
|
|
586
586
|
albums: this.references
|
|
587
587
|
}
|
|
588
588
|
};
|
|
589
|
-
|
|
589
|
+
s.push(e);
|
|
590
590
|
}
|
|
591
591
|
} catch {
|
|
592
592
|
}
|
|
593
|
-
return
|
|
593
|
+
return s;
|
|
594
594
|
},
|
|
595
595
|
activeBlock() {
|
|
596
596
|
return this.presentationBlocks[this.activeTab];
|
|
@@ -606,27 +606,27 @@ const ie = se.exports, ne = {
|
|
|
606
606
|
async fetchCompanyData() {
|
|
607
607
|
if (!this.company.publicId)
|
|
608
608
|
return;
|
|
609
|
-
const { data:
|
|
609
|
+
const { data: s = [] } = await l.getCertificates(
|
|
610
610
|
this.company.publicId
|
|
611
611
|
), { data: e = [] } = await l.getReferences(
|
|
612
612
|
this.company.publicId
|
|
613
613
|
), { data: t } = await l.get(
|
|
614
614
|
this.company.publicId
|
|
615
615
|
);
|
|
616
|
-
this.certificates =
|
|
616
|
+
this.certificates = s, this.references = e, this.about = o(t, "company.CompanyBranding.about", "");
|
|
617
617
|
}
|
|
618
618
|
}
|
|
619
619
|
};
|
|
620
620
|
var re = function() {
|
|
621
621
|
var e = this, t = e._self._c;
|
|
622
|
-
return e.presentationBlocks.length ? t("section", { staticClass: "presentation font-inter", class: [{ sm: e.isSmallScreen }] }, [e.isSmallScreen ? t("div", { staticClass: "relative flex w-full snap-x gap-2 overflow-x-auto px-4" }, e._l(e.presentationBlocks, function(
|
|
622
|
+
return e.presentationBlocks.length ? t("section", { staticClass: "presentation font-inter", class: [{ sm: e.isSmallScreen }] }, [e.isSmallScreen ? t("div", { staticClass: "relative flex w-full snap-x gap-2 overflow-x-auto px-4" }, e._l(e.presentationBlocks, function(a, i) {
|
|
623
623
|
return t("div", { key: i, staticClass: "presentation-button slide-item snap-center", class: [{ active: e.activeTab === i }], on: { click: function(r) {
|
|
624
624
|
e.activeTab = i;
|
|
625
|
-
} } }, [t("div", { staticClass: "presentation-button-bg", style: [
|
|
626
|
-
}), 0) : e._e(), t("div", { staticClass: "no-drag flex w-full justify-between", staticStyle: { position: "relative" } }, [t("div", { staticClass: "presentation-content-wrapper", class: [{ sm: e.isSmallScreen }] }, [t("transition", { attrs: { name: "slide-fade" } }, [e.activeBlock ? t("div", { key: e.activeTab, staticClass: "presentation-wrapper" }, [t("div", { staticClass: "presentation-title" }, [e._v(e._s(e.activeBlock.title))]), t(e.activeBlock.component, e._b({ tag: "component" }, "component", { ...e.activeBlock.props, _document: e._document }, !1))], 1) : e._e()])], 1), e.isSmallScreen ? e._e() : t("div", { staticStyle: { flex: "1 0 180px", "padding-top": "calc(27px + 21px)" } }, e._l(e.presentationBlocks, function(
|
|
625
|
+
} } }, [t("div", { staticClass: "presentation-button-bg", style: [a.style] }), t("div", { staticClass: "presentation-button-title" }, [e._v(e._s(a.title))])]);
|
|
626
|
+
}), 0) : e._e(), t("div", { staticClass: "no-drag flex w-full justify-between", staticStyle: { position: "relative" } }, [t("div", { staticClass: "presentation-content-wrapper", class: [{ sm: e.isSmallScreen }] }, [t("transition", { attrs: { name: "slide-fade" } }, [e.activeBlock ? t("div", { key: e.activeTab, staticClass: "presentation-wrapper" }, [t("div", { staticClass: "presentation-title" }, [e._v(e._s(e.activeBlock.title))]), t(e.activeBlock.component, e._b({ tag: "component" }, "component", { ...e.activeBlock.props, _document: e._document }, !1))], 1) : e._e()])], 1), e.isSmallScreen ? e._e() : t("div", { staticStyle: { flex: "1 0 180px", "padding-top": "calc(27px + 21px)" } }, e._l(e.presentationBlocks, function(a, i) {
|
|
627
627
|
return t("div", { key: i, staticClass: "presentation-button", class: [{ active: e.activeTab === i }], on: { click: function(r) {
|
|
628
628
|
e.activeTab = i;
|
|
629
|
-
} } }, [t("div", { staticClass: "presentation-button-bg", style: [
|
|
629
|
+
} } }, [t("div", { staticClass: "presentation-button-bg", style: [a.style] }), t("div", { staticClass: "presentation-button-title" }, [e._v(e._s(a.title))])]);
|
|
630
630
|
}), 0)])]) : e._e();
|
|
631
631
|
}, oe = [], ce = /* @__PURE__ */ n(
|
|
632
632
|
ne,
|
|
@@ -634,7 +634,7 @@ var re = function() {
|
|
|
634
634
|
oe,
|
|
635
635
|
!1,
|
|
636
636
|
null,
|
|
637
|
-
"
|
|
637
|
+
"538aed60"
|
|
638
638
|
);
|
|
639
639
|
const fe = ce.exports;
|
|
640
640
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { m as o } from "./mapFormMixin-
|
|
2
|
-
import { n as i } from "./main-
|
|
1
|
+
import { m as o } from "./mapFormMixin-BinelLUg.js";
|
|
2
|
+
import { n as i } from "./main-Bw3hbSQ-.js";
|
|
3
3
|
const a = {
|
|
4
4
|
name: "NotBinding",
|
|
5
5
|
components: {
|
|
6
|
-
Edit: () => import("./ToggleBinding-
|
|
7
|
-
Read: () => import("./NotBindingText-
|
|
6
|
+
Edit: () => import("./ToggleBinding-CmyqBk_I.js"),
|
|
7
|
+
Read: () => import("./NotBindingText-t1LrCNkl.js")
|
|
8
8
|
},
|
|
9
9
|
mixins: [o()]
|
|
10
10
|
};
|
|
@@ -18,9 +18,9 @@ var r = function() {
|
|
|
18
18
|
m,
|
|
19
19
|
!1,
|
|
20
20
|
null,
|
|
21
|
-
"
|
|
21
|
+
"a3b56101"
|
|
22
22
|
);
|
|
23
|
-
const
|
|
23
|
+
const p = _.exports;
|
|
24
24
|
export {
|
|
25
|
-
|
|
25
|
+
p as default
|
|
26
26
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as C } from "./mapFormMixin-
|
|
2
|
-
import { n as f, b as _ } from "./main-
|
|
3
|
-
import { C as b } from "./CPhoneFormat-
|
|
1
|
+
import { m as C } from "./mapFormMixin-BinelLUg.js";
|
|
2
|
+
import { n as f, b as _ } from "./main-Bw3hbSQ-.js";
|
|
3
|
+
import { C as b } from "./CPhoneFormat-BabexkZC.js";
|
|
4
4
|
const $ = {
|
|
5
5
|
name: "DocPartiesItem",
|
|
6
6
|
components: {
|
|
@@ -29,7 +29,7 @@ var w = function() {
|
|
|
29
29
|
var e = this, t = e._self._c;
|
|
30
30
|
return t("div", { staticClass: "client-row" }, [t("div", { staticClass: "label" }, [e._v(" " + e._s(e.label) + " ")]), t("div", { staticClass: "data", class: {
|
|
31
31
|
"is-editable": e.canEdit
|
|
32
|
-
} }, [t("span", { on: { click: function(
|
|
32
|
+
} }, [t("span", { on: { click: function(a) {
|
|
33
33
|
return e.$emit("click");
|
|
34
34
|
} } }, [e.type === "phone" ? t("CPhoneFormat", { attrs: { phone: e.data.cellphone, region: e.data.region } }) : [e._v(e._s(e.data))]], 2)])]);
|
|
35
35
|
}, k = [], x = /* @__PURE__ */ f(
|
|
@@ -38,11 +38,11 @@ var w = function() {
|
|
|
38
38
|
k,
|
|
39
39
|
!1,
|
|
40
40
|
null,
|
|
41
|
-
"
|
|
41
|
+
"9bad68ca"
|
|
42
42
|
);
|
|
43
43
|
const S = x.exports, F = {
|
|
44
|
-
client: () => import("./ClientModal-
|
|
45
|
-
company: () => import("./CompanyModal-
|
|
44
|
+
client: () => import("./ClientModal-BfqyNmGa.js"),
|
|
45
|
+
company: () => import("./CompanyModal-BX27IyQz.js")
|
|
46
46
|
}, I = {
|
|
47
47
|
i18nOptions: {
|
|
48
48
|
namespaces: "components"
|
|
@@ -50,7 +50,7 @@ const S = x.exports, F = {
|
|
|
50
50
|
name: "DocParties",
|
|
51
51
|
components: {
|
|
52
52
|
DocPartiesItem: S,
|
|
53
|
-
AddClientCallout: () => import("./AddClientCallout-
|
|
53
|
+
AddClientCallout: () => import("./AddClientCallout-AzRpL0vT.js")
|
|
54
54
|
},
|
|
55
55
|
mixins: [C()],
|
|
56
56
|
props: {
|
|
@@ -68,11 +68,11 @@ const S = x.exports, F = {
|
|
|
68
68
|
},
|
|
69
69
|
computed: {
|
|
70
70
|
mappedParties() {
|
|
71
|
-
const n = (t,
|
|
71
|
+
const n = (t, a = {}) => this._document.$t(t, { postProcess: "capitalize", ...a });
|
|
72
72
|
return (Array.isArray(this.parties) ? this.parties : [this.parties]).map((t) => {
|
|
73
73
|
const {
|
|
74
|
-
orgNo:
|
|
75
|
-
socialNo:
|
|
74
|
+
orgNo: a,
|
|
75
|
+
socialNo: i,
|
|
76
76
|
companyName: s,
|
|
77
77
|
name: r,
|
|
78
78
|
type: d,
|
|
@@ -90,9 +90,9 @@ const S = x.exports, F = {
|
|
|
90
90
|
value: s,
|
|
91
91
|
formKey: "name"
|
|
92
92
|
},
|
|
93
|
-
|
|
93
|
+
a && {
|
|
94
94
|
label: n("orgNoShort"),
|
|
95
|
-
value:
|
|
95
|
+
value: a,
|
|
96
96
|
formKey: "orgNo"
|
|
97
97
|
},
|
|
98
98
|
r && {
|
|
@@ -100,9 +100,9 @@ const S = x.exports, F = {
|
|
|
100
100
|
value: r,
|
|
101
101
|
formKey: c ? "name" : "reference"
|
|
102
102
|
},
|
|
103
|
-
|
|
103
|
+
i && c && {
|
|
104
104
|
label: n("socialNo"),
|
|
105
|
-
value:
|
|
105
|
+
value: i,
|
|
106
106
|
formKey: "orgNo"
|
|
107
107
|
},
|
|
108
108
|
u && {
|
|
@@ -143,13 +143,13 @@ const S = x.exports, F = {
|
|
|
143
143
|
},
|
|
144
144
|
methods: {
|
|
145
145
|
openModal({ formKey: n, index: e } = {}) {
|
|
146
|
-
var
|
|
147
|
-
let t = "name",
|
|
148
|
-
n && (t = n, ["name", "email", "cellphone", "reference"].includes(n) || (
|
|
146
|
+
var i;
|
|
147
|
+
let t = "name", a = !1;
|
|
148
|
+
n && (t = n, ["name", "email", "cellphone", "reference"].includes(n) || (a = !0)), this.$modal.show(F[this.type], {
|
|
149
149
|
inputFocusOnMount: t,
|
|
150
|
-
forceExpand:
|
|
150
|
+
forceExpand: a,
|
|
151
151
|
documentClientIndex: e,
|
|
152
|
-
signOptions: (
|
|
152
|
+
signOptions: (i = this._document) == null ? void 0 : i.signOptions,
|
|
153
153
|
setFormValue: this.viewSettings.setFormValue,
|
|
154
154
|
removeFormValue: this.viewSettings.removeFormValue,
|
|
155
155
|
isPublicForm: this.viewSettings.isPublicForm
|
|
@@ -159,8 +159,8 @@ const S = x.exports, F = {
|
|
|
159
159
|
this.parties[n] && this.removeField(`clients[${n}]`);
|
|
160
160
|
},
|
|
161
161
|
parseStreet(n, e, t) {
|
|
162
|
-
let
|
|
163
|
-
return n && (
|
|
162
|
+
let a = "";
|
|
163
|
+
return n && (a += n), n && (t || e) && (a += ", "), t && (a += ` ${t}`), e && (a += ` ${e}`), a;
|
|
164
164
|
},
|
|
165
165
|
searchEndCustomers(n, e) {
|
|
166
166
|
n({
|
|
@@ -182,30 +182,30 @@ var P = function() {
|
|
|
182
182
|
var e = this, t = e._self._c;
|
|
183
183
|
return t("div", { staticStyle: { position: "relative" } }, [e.viewSettings.canEdit ? t("div", { staticClass: "edit-button" }, [e.type === "company" ? t("CButton", { attrs: { type: "none", size: "small", pattern: "secondary" }, on: { click: e.openModal } }, [e._v(" " + e._s(e.$t("_common:edit").capitalize()) + " ")]) : e.parties.length && e.type === "client" ? t("CDropdown", { ref: "dropdown", attrs: { position: "is-bottom-left" } }, [t("CButton", { attrs: { slot: "trigger", type: "none", size: "small", pattern: "secondary", "icon-right": "chevron-down" }, slot: "trigger" }, [e._v(" " + e._s(e.$t("_common:more").capitalize()) + " ")]), t("CDropdownItem", { attrs: { "icon-props": {
|
|
184
184
|
class: "text-primary-500"
|
|
185
|
-
}, "icon-left": "plus-circle" }, on: { click: function(
|
|
185
|
+
}, "icon-left": "plus-circle" }, on: { click: function(a) {
|
|
186
186
|
return e.openModal({ index: e.parties.length });
|
|
187
|
-
} } }, [e._v(" " + e._s(e.$t("components:account.documentForm.clients.add.extra")) + " ")]), t("CDropdownItem", { attrs: { separator: "" } }), e._l(e.parties, function(
|
|
188
|
-
return t("CDropdownItem", { key:
|
|
187
|
+
} } }, [e._v(" " + e._s(e.$t("components:account.documentForm.clients.add.extra")) + " ")]), t("CDropdownItem", { attrs: { separator: "" } }), e._l(e.parties, function(a, i) {
|
|
188
|
+
return t("CDropdownItem", { key: i, attrs: { "icon-props": {
|
|
189
189
|
class: "text-gray-400"
|
|
190
190
|
}, "icon-left": "edit" }, on: { click: function(s) {
|
|
191
|
-
return e.openModal({ index:
|
|
192
|
-
} } }, [e._v(" " + e._s(
|
|
193
|
-
})], 2) : e._e()], 1) : e._e(), e.viewSettings.canEdit ? [e.type === "client" && !(e.parties && e.parties.length) ? t("AddClientCallout", { on: { add: function(
|
|
191
|
+
return e.openModal({ index: i });
|
|
192
|
+
} } }, [e._v(" " + e._s(a.type === "individual" ? a.name : a.companyName || a.name) + " ")]);
|
|
193
|
+
})], 2) : e._e()], 1) : e._e(), e.viewSettings.canEdit ? [e.type === "client" && !(e.parties && e.parties.length) ? t("AddClientCallout", { on: { add: function(a) {
|
|
194
194
|
return e.openModal({ index: e.parties.length });
|
|
195
|
-
}, setClient: e.setClient } }) : e._e(), e.type === "company" && e.viewSettings.isPublicForm && !(e.parties.companyName || e.parties.email) ? t("CCallout", { attrs: { title: e.$t("document.chapters.parties.missingSender.title") } }, [t("div", { staticStyle: { "padding-bottom": "1em" } }, [e._v(" " + e._s(e.$t("document.chapters.parties.missingSender.description")) + " ")]), t("CButton", { attrs: { "icon-left": "plus", type: "secondary" }, on: { click: e.openModal } }, [e._v(" " + e._s(e.$t("_common:add", { thing: e.$t("_common:info") })) + " ")])], 1) : e._e()] : e._e(), e._l(e.mappedParties, function(
|
|
196
|
-
return t("div", { key:
|
|
197
|
-
e.hoverIndex =
|
|
195
|
+
}, setClient: e.setClient } }) : e._e(), e.type === "company" && e.viewSettings.isPublicForm && !(e.parties.companyName || e.parties.email) ? t("CCallout", { attrs: { title: e.$t("document.chapters.parties.missingSender.title") } }, [t("div", { staticStyle: { "padding-bottom": "1em" } }, [e._v(" " + e._s(e.$t("document.chapters.parties.missingSender.description")) + " ")]), t("CButton", { attrs: { "icon-left": "plus", type: "secondary" }, on: { click: e.openModal } }, [e._v(" " + e._s(e.$t("_common:add", { thing: e.$t("_common:info") })) + " ")])], 1) : e._e()] : e._e(), e._l(e.mappedParties, function(a, i) {
|
|
196
|
+
return t("div", { key: i, staticClass: "party-wrapper print-avoid-break-inside", on: { "&mouseover": function(s) {
|
|
197
|
+
e.hoverIndex = i;
|
|
198
198
|
}, "&mouseleave": function(s) {
|
|
199
199
|
e.hoverIndex = null;
|
|
200
|
-
} } }, [e.viewSettings.canEdit && e.type !== "company" && e.hoverIndex ===
|
|
201
|
-
return e.openModal({ index:
|
|
200
|
+
} } }, [e.viewSettings.canEdit && e.type !== "company" && e.hoverIndex === i ? t("div", { staticClass: "controls", staticStyle: { position: "absolute", left: "100%", top: "0", "padding-left": "calc(0.5 * var(--rem))" } }, [t("CButton", { attrs: { circle: "", size: "small", icon: "edit", type: "none", pattern: "tertiary" }, on: { click: function(s) {
|
|
201
|
+
return e.openModal({ index: i });
|
|
202
202
|
} } }), t("CButton", { attrs: { circle: "", size: "small", icon: "x", type: "none", pattern: "tertiary" }, on: { click: function(s) {
|
|
203
|
-
return e.removeClient(
|
|
204
|
-
} } })], 1) : e._e(), e._l(
|
|
203
|
+
return e.removeClient(i);
|
|
204
|
+
} } })], 1) : e._e(), e._l(a.main, function(s, r) {
|
|
205
205
|
return [s ? t("DocPartiesItem", { key: r, attrs: { label: s.label, data: s.value, type: s.type, "can-edit": e.viewSettings.canEdit }, on: { click: function(d) {
|
|
206
|
-
e.viewSettings.canEdit && e.openModal({ formKey: s.formKey, index:
|
|
206
|
+
e.viewSettings.canEdit && e.openModal({ formKey: s.formKey, index: i });
|
|
207
207
|
} } }) : e._e()];
|
|
208
|
-
}),
|
|
208
|
+
}), a.checks && a.checks.length ? t("div", { staticStyle: { width: "100%", "padding-top": "calc(1 * var(--rem))" } }, e._l(a.checks, function(s, r) {
|
|
209
209
|
return t("div", { key: r, staticClass: "check-text" }, [t("svg", { attrs: { width: "11", height: "11", viewBox: "0 0 218 185", xmlns: "http://www.w3.org/2000/svg" } }, [t("path", { staticClass: "primary-svg-fill", attrs: { d: "M217.931476 30.821773L180.506583.515692 85.82601 117.436462 29.993388 72.224097.068524 109.178227l93.257515 75.518447z", fill: "#D8D8D8", "fill-rule": "evenodd" } })]), t("div", [e._v(e._s(s.label))])]);
|
|
210
210
|
}), 0) : e._e()], 2);
|
|
211
211
|
})], 2);
|
|
@@ -215,7 +215,7 @@ var P = function() {
|
|
|
215
215
|
D,
|
|
216
216
|
!1,
|
|
217
217
|
null,
|
|
218
|
-
"
|
|
218
|
+
"b2458bb1"
|
|
219
219
|
);
|
|
220
220
|
const N = M.exports;
|
|
221
221
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { m as n } from "./mapFormMixin-
|
|
2
|
-
import { I as a } from "./InputToggleRow-
|
|
3
|
-
import { C as c } from "./CPriceInput-
|
|
4
|
-
import { n as o } from "./main-
|
|
1
|
+
import { m as n } from "./mapFormMixin-BinelLUg.js";
|
|
2
|
+
import { I as a } from "./InputToggleRow-DhMmDXY_.js";
|
|
3
|
+
import { C as c } from "./CPriceInput-4SWAt4-e.js";
|
|
4
|
+
import { n as o } from "./main-Bw3hbSQ-.js";
|
|
5
5
|
const i = {
|
|
6
6
|
i18nOptions: {
|
|
7
7
|
namespaces: "ExtraWorkConstructionPricingListEdit",
|
|
@@ -61,7 +61,7 @@ var s = function() {
|
|
|
61
61
|
u,
|
|
62
62
|
!1,
|
|
63
63
|
null,
|
|
64
|
-
"
|
|
64
|
+
"ee274c7d"
|
|
65
65
|
);
|
|
66
66
|
const _ = m.exports;
|
|
67
67
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { m as o } from "./mapFormMixin-
|
|
2
|
-
import { f as r } from "./focusDrawerMixin-
|
|
3
|
-
import { g as a } from "./utils-
|
|
4
|
-
import { n } from "./main-
|
|
1
|
+
import { m as o } from "./mapFormMixin-BinelLUg.js";
|
|
2
|
+
import { f as r } from "./focusDrawerMixin-Br-QslLb.js";
|
|
3
|
+
import { g as a } from "./utils-DYvxV57L.js";
|
|
4
|
+
import { n } from "./main-Bw3hbSQ-.js";
|
|
5
5
|
const d = {
|
|
6
6
|
name: "VideoPlayer",
|
|
7
7
|
i18nOptions: {
|
|
@@ -9,8 +9,8 @@ const d = {
|
|
|
9
9
|
keyPrefix: "document.videoPlayer"
|
|
10
10
|
},
|
|
11
11
|
components: {
|
|
12
|
-
VideoPlayerSettings: () => import("./VideoPlayerSettings-
|
|
13
|
-
VideoPlayerInput: () => import("./VideoPlayerInput-
|
|
12
|
+
VideoPlayerSettings: () => import("./VideoPlayerSettings-B18BNVLk.js"),
|
|
13
|
+
VideoPlayerInput: () => import("./VideoPlayerInput-DZSIBBno.js")
|
|
14
14
|
},
|
|
15
15
|
mixins: [o(["videoPlayer"]), r],
|
|
16
16
|
data() {
|
|
@@ -90,7 +90,7 @@ var l = function() {
|
|
|
90
90
|
c,
|
|
91
91
|
!1,
|
|
92
92
|
null,
|
|
93
|
-
"
|
|
93
|
+
"018a61e3"
|
|
94
94
|
);
|
|
95
95
|
const f = u.exports;
|
|
96
96
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { m as n } from "./mapFormMixin-
|
|
2
|
-
import { n as t } from "./main-
|
|
1
|
+
import { m as n } from "./mapFormMixin-BinelLUg.js";
|
|
2
|
+
import { n as t } from "./main-Bw3hbSQ-.js";
|
|
3
3
|
const a = {
|
|
4
4
|
name: "ExtraWorkConstructionPricingList",
|
|
5
5
|
components: {
|
|
6
|
-
Read: () => import("./Index-
|
|
7
|
-
Edit: () => import("./Index-
|
|
6
|
+
Read: () => import("./Index-6duNBl8Y.js"),
|
|
7
|
+
Edit: () => import("./Index-DcS0YAIG.js")
|
|
8
8
|
},
|
|
9
9
|
mixins: [
|
|
10
10
|
n([
|
|
@@ -24,7 +24,7 @@ var c = function() {
|
|
|
24
24
|
m,
|
|
25
25
|
!1,
|
|
26
26
|
null,
|
|
27
|
-
"
|
|
27
|
+
"b31d846d"
|
|
28
28
|
);
|
|
29
29
|
const _ = i.exports;
|
|
30
30
|
export {
|