@cling-se/widget 0.17.3 → 0.18.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 +7 -0
- package/dist/AddClientCallout-Bod9Eqx4.js +101 -0
- package/dist/AnswerModal-a2cyKFbt.js +3371 -0
- package/dist/AttachmentItem-DBUqckCS.js +171 -0
- package/dist/BaseUpload-DrWzuvbS.js +6503 -0
- package/dist/BlockMedia-DuE_K9hR.js +103 -0
- package/dist/CCallout-CM1VsH30.js +104 -0
- package/dist/{CCurrencyDropdown-CXXQu8th.js → CCurrencyDropdown-C_lAaq4P.js} +91 -53
- package/dist/CDropdownItem-DMUAJ90n.js +749 -0
- package/dist/CFormField.vue_vue_type_script_setup_true_lang-BqAyWe3T.js +292 -0
- package/dist/{CPhoneFormat-BtBGl8b4.js → CPhoneFormat-Dnn_cKk7.js} +13 -21
- package/dist/CPhoneInput-DuGkDiv-.js +207 -0
- package/dist/CPriceInput-B7DYzKcF.js +142 -0
- package/dist/CSelect-BZZDr27O.js +98 -0
- package/dist/CSkeleton.vue_vue_type_script_setup_true_lang-D2jDhnYI.js +51 -0
- package/dist/ClientAutocomplete-DuaJ5zDf.js +532 -0
- package/dist/ClientModal-CaMSjLkD.js +1188 -0
- package/dist/ColorPicker-BISZPQ6j.js +1408 -0
- package/dist/CompanyModal-ClTcmU4Y.js +250 -0
- package/dist/ContentWrapper-Bj7jbWU0.js +265 -0
- package/dist/CoverBlockSettings-AXyiLxrF.js +861 -0
- package/dist/DocAnswer-Bu09V33D.js +33 -0
- package/dist/DocDetails-B6-2LKsO.js +452 -0
- package/dist/DocForm-CFN8LWSd.js +6772 -0
- package/dist/DocFormSend-D1CUhy4n.js +171 -0
- package/dist/DocLinks-CuliFqtN.js +36 -0
- package/dist/DocModalBase-BxKsnwN-.js +29 -0
- package/dist/DocPrint-B_HJ_RET.js +399 -0
- package/dist/DocReceipt-D-A1TaTI.js +341 -0
- package/dist/DocSendReminder-BKTJonzh.js +181 -0
- package/dist/{DocTextEditor-yD9Dt_um.js → DocTextEditor-CEPcJT2o.js} +7907 -5579
- package/dist/DocTimeline-CF9S4YDZ.js +537 -0
- package/dist/DocumentClient-7mbq2QA4.js +90 -0
- package/dist/DocumentLayout-DkFlHgW6.js +1434 -0
- package/dist/DocumentLogotype-BTYMdpNi.js +162 -0
- package/dist/DocumentVoided-CWr5WMUv.js +33 -0
- package/dist/EmbedInput-SevVEpwc.js +156 -0
- package/dist/EmbedSettings-YMbUmp1O.js +103 -0
- package/dist/ErrorCallout-CQo2iF9c.js +34 -0
- package/dist/FilePreviewModal-C0xBeoAz.js +202 -0
- package/dist/Flag-BObij6SN.js +41 -0
- package/dist/HeaderSettings-C77pR78n.js +720 -0
- package/dist/ImageSelectModal-DKdU-0uq.js +119 -0
- package/dist/ImageUploadWrapper-BGkS5Cll.js +1585 -0
- package/dist/Index-B3y-jq9s.js +1098 -0
- package/dist/Index-B41pUREi.js +47 -0
- package/dist/Index-BEyeS1OG.js +52 -0
- package/dist/Index-BG5j8ZFP.js +93 -0
- package/dist/Index-BOT65yQR.js +68 -0
- package/dist/Index-BQNl-cXP.js +28 -0
- package/dist/Index-BY6xsS7C.js +38 -0
- package/dist/Index-Bh0Xv5ry.js +163 -0
- package/dist/Index-Bn4FSQcx.js +228 -0
- package/dist/Index-BrRIAede.js +87 -0
- package/dist/Index-C-6um0kX.js +76 -0
- package/dist/{Index-C_aIQ908.js → Index-C-gHa5xk.js} +319 -214
- package/dist/Index-C0wcjKCH.js +629 -0
- package/dist/Index-C6BbUFYw.js +160 -0
- package/dist/Index-C8xwJ0m1.js +200 -0
- package/dist/Index-CKgFEJF4.js +140 -0
- package/dist/{Index-Dfq7egc1.js → Index-CQwmu4f1.js} +47 -60
- package/dist/Index-CXchTpBa.js +74 -0
- package/dist/{Index-Ch9r5yhG.js → Index-CYoRt8PA.js} +9 -17
- package/dist/Index-CZZNQ4q5.js +39 -0
- package/dist/Index-CkaAs5ms.js +136 -0
- package/dist/Index-CtpXaBz8.js +363 -0
- package/dist/Index-CxDsSGtZ.js +126 -0
- package/dist/Index-DFkTBm02.js +102 -0
- package/dist/Index-DP3ll8F-.js +70 -0
- package/dist/{Index-RWMPRDAE.js → Index-DPDzMKQa.js} +10 -18
- package/dist/Index-DvxSig3z.js +25 -0
- package/dist/Index-Dzrn3Y6p.js +16 -0
- package/dist/{Index-CRiATiQn.js → Index-LQb0omFE.js} +10 -18
- package/dist/Index-Mt4mSaNT.js +4 -0
- package/dist/Index-_xN_cczo.js +3477 -0
- package/dist/Index-gAz45qgR.js +21 -0
- package/dist/Index-xXLFalgR.js +49 -0
- package/dist/Index-zyZRPz3H.js +28 -0
- package/dist/Index.vue_vue_type_script_lang-Ddo1wo-D.js +671 -0
- package/dist/InputToggleRow-CokEYwm2.js +99 -0
- package/dist/ManualPopover-Dukly7GP.js +65 -0
- package/dist/MediaWrapper-B8msCrQm.js +18 -0
- package/dist/{NotBindingText-CC7TxUqg.js → NotBindingText-DcQd8Eej.js} +13 -17
- package/dist/PackageGroup-clUIUoik.js +1060 -0
- package/dist/PdfTerms-DpzMVRfN.js +34 -0
- package/dist/PdfViewer-CSf4Rtbj.js +392 -0
- package/dist/PlainHtml.vue_vue_type_script_setup_true_lang-D6KSjjMA.js +17 -0
- package/dist/PriceHeader-Dyweu8aH.js +488 -0
- package/dist/{SearchApi-G2Hvp0Dd.js → SearchApi-Y1fDQn0u.js} +37 -49
- package/dist/SendForm-B9l24WwR.js +6689 -0
- package/dist/Setup-DyzbPFM4.js +47 -0
- package/dist/{SmartList-BynTuXtB.js → SmartList-CWGKoAJh.js} +16 -24
- package/dist/Sortable.vue_vue_type_script_setup_true_lang-C2Gwp6Q-.js +1349 -0
- package/dist/{TermsSettings-cA5YAO77.js → TermsSettings-BeQH307A.js} +169 -56
- package/dist/ThemeColorRow-DFIsPy55.js +105 -0
- package/dist/ToggleBinding-DlH4y1IM.js +44 -0
- package/dist/UploadModal-BZ0mPBBB.js +134 -0
- package/dist/VideoPlayerInput-DBxcTUb7.js +134 -0
- package/dist/VideoPlayerSettings-Dg1OxjOa.js +78 -0
- package/dist/VideoSelectModal-BhbanMix.js +217 -0
- package/dist/{anime.es-BrPTThYb.js → anime.es-4wvNItHq.js} +205 -201
- package/dist/{color-TdtKxwVa.js → color-HetJPhlA.js} +1 -2
- package/dist/{dom-Ds4ypDrd.js → dom-CkTGWrfu.js} +3 -6
- package/dist/{focusDrawerMixin-CximZA1J.js → focusDrawerMixin-BVbTYOGr.js} +1 -1
- package/dist/{formDrawerState-CkNGdxn5.js → formDrawerState-CogZ-GVm.js} +2 -2
- package/dist/helpers-B4GUxtdD.js +46 -0
- package/dist/index-BZDey7B-.js +268 -0
- package/dist/index-Bd8_ZHHq.js +188 -0
- package/dist/index-BvyoYp1e.js +508 -0
- package/dist/index-CJZoubA3.js +3525 -0
- package/dist/index-D7yQWP4d.js +125 -0
- package/dist/index-D8hGHka6.js +513 -0
- package/dist/index-Dxy4tf7x.js +149 -0
- package/dist/index.es.js +2 -5
- package/dist/index.umd.js +303 -1486
- package/dist/main-Bn5XkQPb.js +57570 -0
- package/dist/mapFormMixin-C7FJLnbO.js +1528 -0
- package/dist/omit-DrWpFvRJ.js +56 -0
- package/dist/{publicSenderState-CGEm9EYe.js → publicSenderState-tdtCFPMx.js} +4 -4
- package/dist/splitpanes-BApidgjj.js +342 -0
- package/dist/template-CHdf2K2I.js +1572 -0
- package/dist/tippy.esm-Co6FYzEM.js +1994 -0
- package/dist/useTermsModal-VDnO1Lro.js +87 -0
- package/dist/{utils-Dr4AcaE9.js → utils-DZkn0Q9c.js} +8 -11
- package/dist/validation-CqBkar3f.js +40 -0
- package/dist/widget.css +1 -0
- package/package.json +20 -25
- package/dist/AddClientCallout-Br6IhwGH.js +0 -48
- package/dist/AnswerModal-CsWltR6j.js +0 -3879
- package/dist/AttachmentItem-BG7FuSCD.js +0 -85
- package/dist/BaseDatePicker-PSNBtUIh.js +0 -3187
- package/dist/BaseUpload-BfEurAAV.js +0 -1977
- package/dist/BlockMedia-Bo3OfNSU.js +0 -76
- package/dist/CCallout-CAjM8-1X.js +0 -58
- package/dist/CDropdownItem-CN7gSfgY.js +0 -640
- package/dist/CFormField-Clvcf2Jh.js +0 -240
- package/dist/CPhoneInput-CEHXh5jM.js +0 -138
- package/dist/CPriceInput-D2c07SXp.js +0 -116
- package/dist/CSelect-Cz2IPzxS.js +0 -91
- package/dist/CSkeleton-AsnvnD-m.js +0 -55
- package/dist/ClientAutocomplete-CZ55-DKe.js +0 -438
- package/dist/ClientModal-CgUhWZ5L.js +0 -666
- package/dist/ColorPicker-IFGHqH-u.js +0 -2879
- package/dist/CompanyModal-TLSBFo3U.js +0 -147
- package/dist/ContentWrapper-HClxKPuT.js +0 -190
- package/dist/CoverBlockSettings-D99hAa6e.js +0 -659
- package/dist/DocAnswer-CTV_Bpt7.js +0 -36
- package/dist/DocDetails-CQe5htXj.js +0 -263
- package/dist/DocForm-6Efv5_oz.js +0 -5017
- package/dist/DocFormSend-DbXcklxU.js +0 -146
- package/dist/DocLinks-BO545zbL.js +0 -38
- package/dist/DocModalBase-DXHNJ-6i.js +0 -28
- package/dist/DocPrint-Bf2U4FQN.js +0 -240
- package/dist/DocReceipt-CWXvC7bY.js +0 -217
- package/dist/DocSendReminder-CRzBM2NJ.js +0 -140
- package/dist/DocTimeline-DGVOk8-2.js +0 -485
- package/dist/DocumentClient-Das9BaJ7.js +0 -136
- package/dist/DocumentLayout-4q8rmTVT.js +0 -4880
- package/dist/DocumentLogotype-DLncJJAB.js +0 -92
- package/dist/DocumentVoided-CcI9lX27.js +0 -25
- package/dist/EmbedInput-BPdy0lGS.js +0 -117
- package/dist/EmbedSettings-L2iwYLQK.js +0 -74
- package/dist/ErrorCallout-Ds_tBT02.js +0 -27
- package/dist/FilePreviewModal-hxUu330p.js +0 -81
- package/dist/Flag-1-HcT5Dz.js +0 -46
- package/dist/HeaderSettings-C27fMugK.js +0 -440
- package/dist/ImageSelectModal-BKDIyxF4.js +0 -86
- package/dist/ImageUploadWrapper-BiYzUQur.js +0 -1604
- package/dist/Index-5BOWxcPG.js +0 -26
- package/dist/Index-B1Odktov.js +0 -754
- package/dist/Index-B3d5BjEn.js +0 -25
- package/dist/Index-B3sSU_4X.js +0 -54
- package/dist/Index-B5Dqsh3K.js +0 -150
- package/dist/Index-B6aO1c_w.js +0 -62
- package/dist/Index-BGfICxJQ.js +0 -643
- package/dist/Index-BHopC0hv.js +0 -24
- package/dist/Index-BJXcSmp_.js +0 -55
- package/dist/Index-BQe6QjQZ.js +0 -25
- package/dist/Index-BmXx_x6t.js +0 -77
- package/dist/Index-C692qMTG.js +0 -294
- package/dist/Index-CEvbw-3i.js +0 -41
- package/dist/Index-CYSULnpn.js +0 -32
- package/dist/Index-CdtYzwAM.js +0 -107
- package/dist/Index-CetF2FW0.js +0 -230
- package/dist/Index-Cv6XLM20.js +0 -73
- package/dist/Index-Cwy8ff76.js +0 -154
- package/dist/Index-D34z4UEY.js +0 -84
- package/dist/Index-DNCei-lp.js +0 -56
- package/dist/Index-DUbxgIYB.js +0 -2445
- package/dist/Index-DVwn_LLf.js +0 -28
- package/dist/Index-Dla-mesV.js +0 -146
- package/dist/Index-KtUkOPI2.js +0 -58
- package/dist/Index-LjnOTVJk.js +0 -66
- package/dist/Index-ky1SRtfY.js +0 -94
- package/dist/Index-mceZW2NX.js +0 -41
- package/dist/Index-tD3hZjh8.js +0 -144
- package/dist/Index-vM5kDtC2.js +0 -33
- package/dist/InputToggleRow-BmDuSbE2.js +0 -57
- package/dist/ManualPopover-CQfjPvFe.js +0 -60
- package/dist/MediaWrapper-DDzcjR6V.js +0 -23
- package/dist/PackageGroup-mAGXfZDv.js +0 -704
- package/dist/PdfTerms-BH_Nwf2h.js +0 -31
- package/dist/PdfViewer-mBLxI8bA.js +0 -383
- package/dist/PlainHtml-B7gUNNZd.js +0 -27
- package/dist/PriceHeader-DClYMPcq.js +0 -338
- package/dist/SendForm-Cxv_m8Rq.js +0 -1023
- package/dist/Setup-B90VDZTG.js +0 -50
- package/dist/ThemeColorRow-D-Z7w4Wk.js +0 -69
- package/dist/ToggleBinding-DOeTcWzi.js +0 -42
- package/dist/UploadModal-DOPLVEpV.js +0 -95
- package/dist/VideoPlayerInput-1zG06elO.js +0 -97
- package/dist/VideoPlayerSettings-O-4rAYYh.js +0 -61
- package/dist/VideoSelectModal-DzqFrqCg.js +0 -104
- package/dist/answerDocumentMixin-HBiNWYCH.js +0 -51
- package/dist/debounce-Ch1d3526.js +0 -84
- package/dist/formValidationMixin-D_MzsHsR.js +0 -49
- package/dist/index-BNdbPq4J.js +0 -492
- package/dist/index-BXzugeJ6.js +0 -81
- package/dist/index-C5wcxrC6.js +0 -167
- package/dist/index-CgDOs7t4.js +0 -2700
- package/dist/index-Cj-_2coz.js +0 -351
- package/dist/index-DpqV5y0K.js +0 -102
- package/dist/main-BL_yzf2r.js +0 -57357
- package/dist/mapFormMixin-Cu_vkTP-.js +0 -3028
- package/dist/omit-Dfe_H1Ft.js +0 -31
- package/dist/simplebar.min-CRlLD1Oz.js +0 -71
- package/dist/splitpanes-BHUVsCZF.js +0 -382
- package/dist/style.css +0 -4
- package/dist/throttle-BX_w77tW.js +0 -18
- package/dist/tippy.esm-n4arfVzA.js +0 -1805
- package/dist/vuedraggable.umd-DW4PJoZ3.js +0 -3161
- package/dist/vuex.esm-DKGl8mcw.js +0 -467
package/dist/Index-BGfICxJQ.js
DELETED
|
@@ -1,643 +0,0 @@
|
|
|
1
|
-
import { n, al as f, g as d, c as v, b as o, aL as l } from "./main-BL_yzf2r.js";
|
|
2
|
-
import { m } from "./mapFormMixin-Cu_vkTP-.js";
|
|
3
|
-
import { C as u } from "./CCallout-CAjM8-1X.js";
|
|
4
|
-
import { T as h } from "./DocTextEditor-yD9Dt_um.js";
|
|
5
|
-
import { m as _, a as b } from "./vuex.esm-DKGl8mcw.js";
|
|
6
|
-
import { w } from "./CDropdownItem-CN7gSfgY.js";
|
|
7
|
-
const y = {
|
|
8
|
-
i18nOptions: {
|
|
9
|
-
namespaces: "components",
|
|
10
|
-
messages: {
|
|
11
|
-
sv: {
|
|
12
|
-
visitOur: "Besök vår {{type}}",
|
|
13
|
-
seeTypeReviews: "Se våra {{type}} recensioner"
|
|
14
|
-
},
|
|
15
|
-
en: {
|
|
16
|
-
visitOur: "Visit our {{type}}",
|
|
17
|
-
seeTypeReviews: "See our {{type}} reviews"
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
name: "SocialMediaButton",
|
|
22
|
-
props: {
|
|
23
|
-
type: {
|
|
24
|
-
type: String,
|
|
25
|
-
required: !0
|
|
26
|
-
},
|
|
27
|
-
url: {
|
|
28
|
-
type: String,
|
|
29
|
-
required: !0
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
computed: {
|
|
33
|
-
tooltipText() {
|
|
34
|
-
let { type: a } = this;
|
|
35
|
-
return a === "google" ? this.$t("seeTypeReviews", { type: a.capitalize() }) : (a === "website" && (a = this.$t("_common:website").capitalize()), ["facebook", "instagram", "reco", "linkedin"].includes(a) && (a = a.capitalize()), this.$t("visitOur", { type: a }));
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
var C = function() {
|
|
40
|
-
var e = this, t = e._self._c;
|
|
41
|
-
return t("a", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: {
|
|
42
|
-
content: e.tooltipText,
|
|
43
|
-
classes: "simple small",
|
|
44
|
-
placement: "top",
|
|
45
|
-
offset: 2
|
|
46
|
-
}, expression: `{
|
|
47
|
-
content: tooltipText,
|
|
48
|
-
classes: 'simple small',
|
|
49
|
-
placement: 'top',
|
|
50
|
-
offset: 2
|
|
51
|
-
}` }], staticClass: "social-media-button", attrs: { href: e.url.toLowerCase().startsWith("http") ? e.url : `//${e.url}`, target: "_blank", rel: "noopener" } }, [t("CButton", { staticClass: "text-gray-400", attrs: { circle: "", type: "none", pattern: "secondary" } }, [e.type === "website" ? t("svg", { staticClass: "website-icon", attrs: { width: "18", height: "18", viewBox: "0 0 146 146", xmlns: "http://www.w3.org/2000/svg" } }, [t("g", { attrs: { transform: "translate(8 8)", fill: "none", "fill-rule": "evenodd" } }, [t("path", { attrs: { d: "M10.508537 0C4.704832 0 0 4.70357 0 10.500874v108.998252C0 125.298599 4.70357 130 10.500874 130h108.998252C125.298599 130 130 125.29643 130 119.499126V10.500874C130 4.7014 125.300178 0 119.497413 0H10.508537zM2.5 50.5h124.016128", stroke: "#3E8EFF", "stroke-width": "16", "stroke-linecap": "square" } }), t("circle", { attrs: { fill: "#3E8EFF", cx: "27", cy: "26", r: "7" } }), t("circle", { attrs: { fill: "#3E8EFF", cx: "51", cy: "26", r: "7" } }), t("circle", { attrs: { fill: "#3E8EFF", cx: "75", cy: "26", r: "7" } })])]) : e._e(), e.type === "linkedin" ? t("CIcon", { staticClass: "linkedin-icon", attrs: { size: 18, type: "linkedin" } }) : e._e(), e.type === "instagram" ? t("svg", { staticClass: "instagram-icon", attrs: { width: "18", height: "18", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512" } }, [t("path", { attrs: { d: "M256 49.471c67.266 0 75.233.257 101.8 1.469 24.562 1.121 37.9 5.224 46.778 8.674a78.052 78.052 0 0 1 28.966 18.845 78.052 78.052 0 0 1 18.845 28.966c3.45 8.877 7.554 22.216 8.674 46.778 1.212 26.565 1.469 34.532 1.469 101.8s-.257 75.233-1.469 101.8c-1.121 24.562-5.225 37.9-8.674 46.778a83.427 83.427 0 0 1-47.811 47.811c-8.877 3.45-22.216 7.554-46.778 8.674-26.56 1.212-34.527 1.469-101.8 1.469s-75.237-.257-101.8-1.469c-24.562-1.121-37.9-5.225-46.778-8.674a78.051 78.051 0 0 1-28.966-18.845 78.053 78.053 0 0 1-18.845-28.966c-3.45-8.877-7.554-22.216-8.674-46.778-1.212-26.564-1.469-34.532-1.469-101.8s.257-75.233 1.469-101.8c1.121-24.562 5.224-37.9 8.674-46.778a78.052 78.052 0 0 1 18.847-28.967 78.053 78.053 0 0 1 28.966-18.845c8.877-3.45 22.216-7.554 46.778-8.674 26.565-1.212 34.532-1.469 101.8-1.469m0-45.391c-68.418 0-77 .29-103.866 1.516-26.815 1.224-45.127 5.482-61.151 11.71a123.488 123.488 0 0 0-44.62 29.057A123.488 123.488 0 0 0 17.3 90.982c-6.223 16.025-10.481 34.337-11.7 61.152C4.369 179 4.079 187.582 4.079 256s.29 77 1.521 103.866c1.224 26.815 5.482 45.127 11.71 61.151a123.489 123.489 0 0 0 29.057 44.62 123.486 123.486 0 0 0 44.62 29.057c16.025 6.228 34.337 10.486 61.151 11.71 26.87 1.226 35.449 1.516 103.866 1.516s77-.29 103.866-1.516c26.815-1.224 45.127-5.482 61.151-11.71a128.817 128.817 0 0 0 73.677-73.677c6.228-16.025 10.486-34.337 11.71-61.151 1.226-26.87 1.516-35.449 1.516-103.866s-.29-77-1.516-103.866c-1.224-26.815-5.482-45.127-11.71-61.151a123.486 123.486 0 0 0-29.057-44.62A123.487 123.487 0 0 0 421.018 17.3c-16.025-6.223-34.337-10.481-61.152-11.7C333 4.369 324.418 4.079 256 4.079z" } }), t("path", { attrs: { d: "M256 126.635A129.365 129.365 0 1 0 385.365 256 129.365 129.365 0 0 0 256 126.635zm0 213.338A83.973 83.973 0 1 1 339.974 256 83.974 83.974 0 0 1 256 339.973z" } }), t("circle", { attrs: { cx: "390.476", cy: "121.524", r: "30.23" } })]) : e._e(), e.type === "facebook" ? t("svg", { staticClass: "facebook-icon", attrs: { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18", viewBox: "0 0 24 24" } }, [t("path", { attrs: { d: "M22.675 0H1.325C.593 0 0 .593 0 1.325v21.351C0 23.407.593 24 1.325 24H12.82v-9.294H9.692v-3.622h3.128V8.413c0-3.1 1.893-4.788 4.659-4.788 1.325 0 2.463.099 2.795.143v3.24l-1.918.001c-1.504 0-1.795.715-1.795 1.763v2.313h3.587l-.467 3.622h-3.12V24h6.116c.73 0 1.323-.593 1.323-1.325V1.325C24 .593 23.407 0 22.675 0z" } })]) : e._e(), e.type === "google" ? t("svg", { staticClass: "google-icon", attrs: { width: "20", height: "20", xmlns: "http://www.w3.org/2000/svg", "aria-label": "Google", role: "img", viewBox: "0 0 512 512" } }, [t("rect", { attrs: { width: "512", height: "512", rx: "15%", fill: "none" } }), t("path", { attrs: { fill: "#5a6886", d: "M386 400c45-42 65-112 53-179H260v74h102c-4 24-18 44-38 57z" } }), t("path", { attrs: { fill: "#5a6886", d: "M90 341a192 192 0 0 0 296 59l-62-48c-53 35-141 22-171-60z" } }), t("path", { attrs: { fill: "#5a6886", d: "M153 292c-8-25-8-48 0-73l-63-49c-23 46-30 111 0 171z" } }), t("path", { attrs: { fill: "#5a6886", d: "M153 219c22-69 116-109 179-50l55-54c-78-75-230-72-297 55z" } })]) : e._e(), e.type === "reco" ? t("svg", { staticClass: "reco-icon", attrs: { width: "20", height: "20", viewBox: "0 0 188 163", xmlns: "http://www.w3.org/2000/svg" } }, [t("path", { attrs: { d: "M17.035792 77.21013c.134576 3.81669.650037 7.69152 1.569666 11.59061 8.363034 35.45799 47.039175 59.7296 88.485526 55.77833L89.860598 67.77959l-72.824806 9.43054zm.973286-12.68806l69.398537-7.67594-9.671508-43.10794C45.59368 17.85816 22.942511 38.77825 18.009081 64.52207zm143.02734-15.81978c-14.905342-21.89837-43.103385-36.14241-73.073905-35.69191L99.84883 55.47005l61.187588-6.76776zm5.240304 9.18169l-63.451888 8.21679 21.060817 75.23232c33.769528-10.10888 54.05118-39.73898 46.562981-71.4878-.976607-4.14067-2.383129-8.13748-4.17191-11.96131zm-54.317558 104.49575C61.065612 167.89817 11.730953 136.16134 1.767118 91.49354-8.196717 46.82575 24.983374 6.14176 75.876925.62332c50.893551-5.51844 100.22821 26.21839 110.192045 70.88619 9.963835 44.66779-23.216255 85.35178-74.109806 90.87022z", fill: "#000", "fill-rule": "evenodd" } })]) : e._e()], 1)], 1);
|
|
52
|
-
}, k = [], x = /* @__PURE__ */ n(
|
|
53
|
-
y,
|
|
54
|
-
C,
|
|
55
|
-
k,
|
|
56
|
-
!1,
|
|
57
|
-
null,
|
|
58
|
-
"f04b5d88"
|
|
59
|
-
);
|
|
60
|
-
const $ = x.exports, M = {
|
|
61
|
-
components: {
|
|
62
|
-
SocialMediaButton: $
|
|
63
|
-
},
|
|
64
|
-
props: {
|
|
65
|
-
text: {
|
|
66
|
-
type: String,
|
|
67
|
-
required: !0
|
|
68
|
-
},
|
|
69
|
-
websites: {
|
|
70
|
-
type: Object,
|
|
71
|
-
default: null
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
};
|
|
75
|
-
var S = function() {
|
|
76
|
-
var e = this, t = e._self._c;
|
|
77
|
-
return t("div", [t("div", { staticClass: "quill-format", domProps: { innerHTML: e._s(e.text) } }), t("div", { staticClass: "website-wrapper" }, [e.websites.website ? t("SocialMediaButton", { attrs: { url: e.websites.website, type: "website" } }) : e._e(), e.websites.linkedin ? t("SocialMediaButton", { attrs: { url: e.websites.linkedin, type: "linkedin" } }) : e._e(), e.websites.facebook ? t("SocialMediaButton", { attrs: { url: e.websites.facebook, type: "facebook" } }) : e._e(), e.websites.instagram ? t("SocialMediaButton", { attrs: { url: e.websites.instagram, type: "instagram" } }) : e._e(), e.websites.google ? t("SocialMediaButton", { attrs: { url: e.websites.google, type: "google" } }) : e._e(), e.websites.reco ? t("SocialMediaButton", { attrs: { url: e.websites.reco, type: "reco" } }) : e._e()], 1)]);
|
|
78
|
-
}, B = [], P = /* @__PURE__ */ n(
|
|
79
|
-
M,
|
|
80
|
-
S,
|
|
81
|
-
B,
|
|
82
|
-
!1,
|
|
83
|
-
null,
|
|
84
|
-
"62fcb46b"
|
|
85
|
-
);
|
|
86
|
-
const I = P.exports, z = {
|
|
87
|
-
name: "DocPresentationCertificates",
|
|
88
|
-
i18nOptions: {
|
|
89
|
-
namespaces: "components",
|
|
90
|
-
messages: {
|
|
91
|
-
en: {
|
|
92
|
-
certificateDisclaimer: "The sender specifies their own certificates. On each webpage it is often possible to verify membership."
|
|
93
|
-
},
|
|
94
|
-
sv: {
|
|
95
|
-
certificateDisclaimer: "Företagen lägger själva upp sina certifikat. På respektive webbplats går det ofta att verifiera medlemskap."
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
components: {
|
|
100
|
-
Animation: f,
|
|
101
|
-
CCallout: u
|
|
102
|
-
},
|
|
103
|
-
props: {
|
|
104
|
-
content: {
|
|
105
|
-
type: Array,
|
|
106
|
-
default: () => []
|
|
107
|
-
},
|
|
108
|
-
showDisclaimer: {
|
|
109
|
-
type: Boolean,
|
|
110
|
-
default: !1
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
data() {
|
|
114
|
-
return {
|
|
115
|
-
expandCert: null
|
|
116
|
-
};
|
|
117
|
-
}
|
|
118
|
-
};
|
|
119
|
-
var F = function() {
|
|
120
|
-
var e = this, t = e._self._c;
|
|
121
|
-
return t("div", [e._l(e.content, function(s, i) {
|
|
122
|
-
return t("div", { key: i, staticClass: "cert-container" }, [t("div", { staticClass: "cert-wrapper", class: [e.expandCert === i ? "active" : ""], on: { click: function(r) {
|
|
123
|
-
e.expandCert = e.expandCert === i ? null : i;
|
|
124
|
-
} } }, [t("div", { staticClass: "cert-img", style: { backgroundImage: "url(" + s.img + ")" } }), t("div", { staticClass: "cert-wrapper-title" }, [t("div", { staticClass: "cert-title" }, [e._v(e._s(s.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(s.description))]), s.website ? t("a", { staticClass: "cert-link", attrs: { href: s.website.toLowerCase().startsWith("http") ? s.website : `//${s.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
|
-
}), e.showDisclaimer ? t("CCallout", { attrs: { size: "small" } }, [e._v(" " + e._s(e.$t("certificateDisclaimer")) + " ")]) : e._e()], 2);
|
|
126
|
-
}, D = [], T = /* @__PURE__ */ n(
|
|
127
|
-
z,
|
|
128
|
-
F,
|
|
129
|
-
D,
|
|
130
|
-
!1,
|
|
131
|
-
null,
|
|
132
|
-
"30ce5bbb"
|
|
133
|
-
);
|
|
134
|
-
const j = T.exports, E = {
|
|
135
|
-
name: "AvatarContact",
|
|
136
|
-
i18nOptions: {
|
|
137
|
-
namespaces: "AvatarContact",
|
|
138
|
-
messages: {
|
|
139
|
-
en: {
|
|
140
|
-
bestRegards: "Best regards, "
|
|
141
|
-
},
|
|
142
|
-
sv: {
|
|
143
|
-
bestRegards: "Hälsningar, "
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
},
|
|
147
|
-
props: {
|
|
148
|
-
avatarUrl: {
|
|
149
|
-
type: String,
|
|
150
|
-
default: null
|
|
151
|
-
},
|
|
152
|
-
name: {
|
|
153
|
-
type: String,
|
|
154
|
-
default: null
|
|
155
|
-
},
|
|
156
|
-
cellphone: {
|
|
157
|
-
type: [Number, String],
|
|
158
|
-
default: null
|
|
159
|
-
},
|
|
160
|
-
email: {
|
|
161
|
-
type: [Number, String],
|
|
162
|
-
default: null
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
};
|
|
166
|
-
var R = function() {
|
|
167
|
-
var e = this, t = e._self._c;
|
|
168
|
-
return t("div", { staticClass: "flex w-full" }, [e.avatarUrl ? t("div", [t("div", { staticStyle: { width: "45px", height: "45px", "border-radius": "50%", "background-position": "center", "background-size": "cover", "margin-right": "calc(1.2 * var(--rem))" }, style: { backgroundImage: `url(${e.avatarUrl})` } })]) : e._e(), t("div", { staticClass: "flex w-full flex-grow" }, [t("div", [t("div", { staticStyle: { "font-size": "calc(calc(1 * var(--rem)) - 1px)", color: "#73758c", "font-weight": "500" } }, [e._v(" " + e._s(e.$t("bestRegards")) + " ")]), t("div", { staticStyle: { "font-size": "calc(calc(1 * var(--rem)) + 1px)", "font-weight": "500" } }, [e._v(" " + e._s(e.name) + " ")])]), e.cellphone || e.email ? t("div", { staticClass: "contact-wrapper" }, [e.cellphone ? t("a", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: {
|
|
169
|
-
content: e.cellphone,
|
|
170
|
-
autoHide: !1
|
|
171
|
-
}, expression: `{
|
|
172
|
-
content: cellphone,
|
|
173
|
-
autoHide: false
|
|
174
|
-
}` }], attrs: { href: `tel:${e.cellphone}` } }, [t("CButton", { staticClass: "text-gray-400", attrs: { circle: "", type: "none", pattern: "secondary", icon: "phone" } })], 1) : e._e(), e.email ? t("a", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: {
|
|
175
|
-
content: e.email,
|
|
176
|
-
autoHide: !1
|
|
177
|
-
}, expression: `{
|
|
178
|
-
content: email,
|
|
179
|
-
autoHide: false
|
|
180
|
-
}` }], attrs: { href: `mailto:${e.email}` } }, [t("CButton", { staticClass: "text-gray-400", attrs: { circle: "", type: "none", pattern: "secondary", icon: "email" } })], 1) : e._e()]) : e._e()])]);
|
|
181
|
-
}, O = [], V = /* @__PURE__ */ n(
|
|
182
|
-
E,
|
|
183
|
-
R,
|
|
184
|
-
O,
|
|
185
|
-
!1,
|
|
186
|
-
null,
|
|
187
|
-
"9f5d2e66"
|
|
188
|
-
);
|
|
189
|
-
const A = V.exports, q = {
|
|
190
|
-
i18nOptions: {
|
|
191
|
-
namespaces: "DocPresentationMessageModal",
|
|
192
|
-
messages: {
|
|
193
|
-
en: {
|
|
194
|
-
title: "Personal message",
|
|
195
|
-
placeholder: "Write a personal message for your client. Increase your chances of acquiring the job by making it personal, putting the client in focus."
|
|
196
|
-
},
|
|
197
|
-
sv: {
|
|
198
|
-
title: "Personligt meddelande",
|
|
199
|
-
placeholder: "Skriv en personlig hälsning till din kund. Öka dina vinstchanser genom att göra den personlig och sätt din kund i fokus."
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
},
|
|
203
|
-
name: "DocPresentationMessageModal",
|
|
204
|
-
components: {
|
|
205
|
-
TextEditor: h
|
|
206
|
-
},
|
|
207
|
-
provide: () => ({ viewSettings: { canEdit: !0 } }),
|
|
208
|
-
props: {
|
|
209
|
-
_document: {
|
|
210
|
-
type: Object,
|
|
211
|
-
default: () => ({})
|
|
212
|
-
},
|
|
213
|
-
setFormValue: {
|
|
214
|
-
type: Function,
|
|
215
|
-
required: !0
|
|
216
|
-
},
|
|
217
|
-
removeFormValue: {
|
|
218
|
-
type: Function,
|
|
219
|
-
required: !0
|
|
220
|
-
}
|
|
221
|
-
},
|
|
222
|
-
data() {
|
|
223
|
-
return {
|
|
224
|
-
placeholder: "Skriv en personlig hälsning till din kund. Nämn exempelvis att du är glad över att få möjligheten och att ni har goda erfarenheter av att göra liknande arbeten.",
|
|
225
|
-
internalValue: ""
|
|
226
|
-
};
|
|
227
|
-
},
|
|
228
|
-
computed: {
|
|
229
|
-
..._({
|
|
230
|
-
isPostingDocument: "documents2/isPosting"
|
|
231
|
-
})
|
|
232
|
-
},
|
|
233
|
-
created() {
|
|
234
|
-
this.internalValue = this._document.personalMessage || "";
|
|
235
|
-
},
|
|
236
|
-
methods: {
|
|
237
|
-
...b({
|
|
238
|
-
saveDocument: d.DO_SAVE_DYNDOC,
|
|
239
|
-
// DO SAVE ACTION TO AVOID FORM CLEAR
|
|
240
|
-
loadDocumentForm: d.LOAD_DOCUMENT2_FORM
|
|
241
|
-
}),
|
|
242
|
-
async saveMessage() {
|
|
243
|
-
if (this.internalValue ? this.setFormValue({
|
|
244
|
-
key: "data.personalMessage",
|
|
245
|
-
value: this.internalValue
|
|
246
|
-
}) : this.removeFormValue("data.personalMessage"), this._document.id) {
|
|
247
|
-
const a = await this.saveDocument();
|
|
248
|
-
this.loadDocumentForm({ documentId: a });
|
|
249
|
-
}
|
|
250
|
-
this.$emit("close");
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
};
|
|
254
|
-
var H = function() {
|
|
255
|
-
var e = this, t = e._self._c;
|
|
256
|
-
return t("div", { staticClass: "bg-white", staticStyle: { padding: "calc(2 * var(--rem))", "border-radius": "0.75em" } }, [t("div", { staticStyle: { "font-size": "calc(calc(1 * var(--rem)) + 4px)", "font-weight": "900", "margin-bottom": "calc(1 * var(--rem))" } }, [e._v(" " + e._s(e.$t("title")) + " ")]), t("TextEditor", { ref: "textEditor", staticStyle: { "margin-bottom": "1em" }, attrs: { extensions: {
|
|
257
|
-
blockquote: !0,
|
|
258
|
-
highlight: !0,
|
|
259
|
-
image: !0,
|
|
260
|
-
table: !1
|
|
261
|
-
}, placeholder: e.$t("placeholder") }, model: { value: e.internalValue, callback: function(s) {
|
|
262
|
-
e.internalValue = s;
|
|
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
|
-
}, U = [], L = /* @__PURE__ */ n(
|
|
265
|
-
q,
|
|
266
|
-
H,
|
|
267
|
-
U,
|
|
268
|
-
!1,
|
|
269
|
-
null,
|
|
270
|
-
null
|
|
271
|
-
);
|
|
272
|
-
const N = L.exports, W = {
|
|
273
|
-
i18nOptions: {
|
|
274
|
-
namespaces: "components",
|
|
275
|
-
messages: {
|
|
276
|
-
en: {
|
|
277
|
-
changeMessage: "Change message",
|
|
278
|
-
addMessage: "Add a message",
|
|
279
|
-
writeMessage: "Write message",
|
|
280
|
-
pmPlaceholder: "Write a personal message for your client. Increase your chances of acquiring the job by making it personal, putting the client in focus."
|
|
281
|
-
},
|
|
282
|
-
sv: {
|
|
283
|
-
changeMessage: "Ändra meddelande",
|
|
284
|
-
addMessage: "Lägg till en hälsning",
|
|
285
|
-
writeMessage: "Skriv en hälsning",
|
|
286
|
-
pmPlaceholder: "Skriv en personlig hälsning till din kund. Öka dina vinstchanser genom att göra den personlig och sätt din kund i fokus."
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
},
|
|
290
|
-
name: "DocPresentationMessage",
|
|
291
|
-
components: {
|
|
292
|
-
AvatarContact: A,
|
|
293
|
-
CCallout: u,
|
|
294
|
-
IsPremium: () => import("./index-CgDOs7t4.js").then((a) => a.i).then((a) => a.IsPremium),
|
|
295
|
-
IsPremiumPreStep: () => import("./index-CgDOs7t4.js").then((a) => a.i).then((a) => a.IsPremiumPreStep)
|
|
296
|
-
},
|
|
297
|
-
mixins: [m([])],
|
|
298
|
-
props: {
|
|
299
|
-
content: {
|
|
300
|
-
type: String,
|
|
301
|
-
default: ""
|
|
302
|
-
},
|
|
303
|
-
avatar: {
|
|
304
|
-
type: Object,
|
|
305
|
-
default: () => null
|
|
306
|
-
},
|
|
307
|
-
creator: {
|
|
308
|
-
type: Object,
|
|
309
|
-
default: () => ({})
|
|
310
|
-
},
|
|
311
|
-
editable: {
|
|
312
|
-
type: Boolean,
|
|
313
|
-
default: !1
|
|
314
|
-
}
|
|
315
|
-
},
|
|
316
|
-
methods: {
|
|
317
|
-
openEditModal() {
|
|
318
|
-
this.$modal.show(
|
|
319
|
-
N,
|
|
320
|
-
{
|
|
321
|
-
_document: this._document,
|
|
322
|
-
setFormValue: this.viewSettings.setFormValue,
|
|
323
|
-
removeFormValue: this.viewSettings.removeFormValue
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
adaptive: !0,
|
|
327
|
-
scrollable: !0,
|
|
328
|
-
height: "auto",
|
|
329
|
-
width: "90%",
|
|
330
|
-
maxWidth: 450
|
|
331
|
-
}
|
|
332
|
-
);
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
};
|
|
336
|
-
var G = function() {
|
|
337
|
-
var e = this, t = e._self._c;
|
|
338
|
-
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: s }) {
|
|
339
|
-
return [t("IsPremiumPreStep", { attrs: { feature: "personalMessage" }, scopedSlots: e._u([{ key: "default", fn: function({ onClick: i }) {
|
|
340
|
-
return [t("CButton", { staticStyle: { "margin-top": "calc(1.5 * var(--rem))" }, attrs: { type: "secondary", size: "normal" }, on: { click: function(r) {
|
|
341
|
-
s ? e.openEditModal() : i({ callback: e.openEditModal });
|
|
342
|
-
} } }, [e._v(" " + e._s(e.$t("writeMessage")) + " ")])];
|
|
343
|
-
} }], null, !0) })];
|
|
344
|
-
} }]) })], 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);
|
|
345
|
-
}, Q = [], X = /* @__PURE__ */ n(
|
|
346
|
-
W,
|
|
347
|
-
G,
|
|
348
|
-
Q,
|
|
349
|
-
!1,
|
|
350
|
-
null,
|
|
351
|
-
"c63b47aa"
|
|
352
|
-
);
|
|
353
|
-
const Y = X.exports, J = {
|
|
354
|
-
name: "ModalReference",
|
|
355
|
-
mixins: [w],
|
|
356
|
-
props: {
|
|
357
|
-
title: {
|
|
358
|
-
type: String,
|
|
359
|
-
required: !0
|
|
360
|
-
},
|
|
361
|
-
content: {
|
|
362
|
-
type: String,
|
|
363
|
-
required: !0
|
|
364
|
-
},
|
|
365
|
-
transition: {
|
|
366
|
-
type: String,
|
|
367
|
-
required: !0
|
|
368
|
-
},
|
|
369
|
-
/**
|
|
370
|
-
* Array with full url paths
|
|
371
|
-
*/
|
|
372
|
-
images: {
|
|
373
|
-
type: Array,
|
|
374
|
-
required: !0
|
|
375
|
-
}
|
|
376
|
-
},
|
|
377
|
-
data() {
|
|
378
|
-
return {
|
|
379
|
-
currIndex: 0
|
|
380
|
-
};
|
|
381
|
-
}
|
|
382
|
-
};
|
|
383
|
-
var K = function() {
|
|
384
|
-
var e = this, t = e._self._c;
|
|
385
|
-
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(s) {
|
|
386
|
-
return e.$emit("close");
|
|
387
|
-
} } }, [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(s, i) {
|
|
388
|
-
return [e.currIndex === i ? t("div", { key: i, staticClass: "relative overflow-hidden" }, [t("div", { staticClass: "image-background-fill", style: [{ backgroundImage: `url(${s})` }] }), t("div", { staticClass: "image", style: [{ backgroundImage: `url(${s}` }] })]) : e._e()];
|
|
389
|
-
}), 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(s) {
|
|
390
|
-
e.currIndex - 1 < 0 ? e.currIndex = e.images.length - 1 : e.currIndex--;
|
|
391
|
-
} } }), 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(s) {
|
|
392
|
-
e.currIndex + 1 > e.images.length - 1 ? e.currIndex = 0 : e.currIndex++;
|
|
393
|
-
} } })], 1), t("div", { staticClass: "absolute bottom-2 left-0 right-0 flex justify-center gap-2" }, e._l(e.images, function(s, i) {
|
|
394
|
-
return t("div", { key: "dot" + i, staticClass: "h-1.5 w-1.5 rounded-full", class: [e.currIndex === i ? "bg-white" : "bg-white/50"] });
|
|
395
|
-
}), 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) } })])])]);
|
|
396
|
-
}, Z = [], ee = /* @__PURE__ */ n(
|
|
397
|
-
J,
|
|
398
|
-
K,
|
|
399
|
-
Z,
|
|
400
|
-
!1,
|
|
401
|
-
null,
|
|
402
|
-
"11972073"
|
|
403
|
-
);
|
|
404
|
-
const te = ee.exports, p = v.api.baseUrl, ae = {
|
|
405
|
-
props: {
|
|
406
|
-
albums: {
|
|
407
|
-
type: Array,
|
|
408
|
-
default: null
|
|
409
|
-
}
|
|
410
|
-
},
|
|
411
|
-
methods: {
|
|
412
|
-
show(a) {
|
|
413
|
-
this.$nextTick(() => {
|
|
414
|
-
this.$modal.show(
|
|
415
|
-
te,
|
|
416
|
-
{
|
|
417
|
-
title: a.name,
|
|
418
|
-
content: a.description || "",
|
|
419
|
-
transition: "fade-in-slide-up",
|
|
420
|
-
images: a.CompanyReferenceItems.map(
|
|
421
|
-
(e) => e.Image.href || `${p}/file/${e.Image.publicId}/download`
|
|
422
|
-
)
|
|
423
|
-
},
|
|
424
|
-
{
|
|
425
|
-
adaptive: !0,
|
|
426
|
-
height: "auto",
|
|
427
|
-
scrollable: !0,
|
|
428
|
-
classes: "overflow-visible",
|
|
429
|
-
width: "90%",
|
|
430
|
-
maxWidth: 600,
|
|
431
|
-
transition: ""
|
|
432
|
-
}
|
|
433
|
-
);
|
|
434
|
-
});
|
|
435
|
-
},
|
|
436
|
-
getThumbnailPath(a) {
|
|
437
|
-
const e = a.CompanyReferenceItems[0].Thumbnail;
|
|
438
|
-
return e.href || `${p}/file/${e.publicId}/download`;
|
|
439
|
-
}
|
|
440
|
-
}
|
|
441
|
-
};
|
|
442
|
-
var se = function() {
|
|
443
|
-
var e = this, t = e._self._c;
|
|
444
|
-
return t("div", { staticClass: "album-wrapper" }, e._l(e.albums, function(s, i) {
|
|
445
|
-
return t("div", { key: i, staticStyle: { flex: "1 0 50%" }, on: { click: function(r) {
|
|
446
|
-
return e.show(s);
|
|
447
|
-
} } }, [t("div", { staticClass: "ref-wrapper" }, [t("div", { staticClass: "ref-bg-wrapper" }, [t("div", { staticClass: "ref-bg", style: { backgroundImage: `url(${e.getThumbnailPath(s)})` } })]), t("div", { staticClass: "ref-title" }, [e._v(e._s(s.name))]), t("div", { staticClass: "ref-data" }, [e._v(" " + e._s(e.$tc("image", { count: s.CompanyReferenceItems.length })) + " ")])])]);
|
|
448
|
-
}), 0);
|
|
449
|
-
}, ie = [], ne = /* @__PURE__ */ n(
|
|
450
|
-
ae,
|
|
451
|
-
se,
|
|
452
|
-
ie,
|
|
453
|
-
!1,
|
|
454
|
-
null,
|
|
455
|
-
"d12cce90"
|
|
456
|
-
);
|
|
457
|
-
const re = ne.exports, oe = {
|
|
458
|
-
i18nOptions: {
|
|
459
|
-
namespaces: "Presentation",
|
|
460
|
-
messages: {
|
|
461
|
-
en: {
|
|
462
|
-
personalMessage: "Personal message"
|
|
463
|
-
},
|
|
464
|
-
sv: {
|
|
465
|
-
personalMessage: "Personligt meddelande"
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
},
|
|
469
|
-
name: "Presentation",
|
|
470
|
-
components: {
|
|
471
|
-
DocPresentationMessage: Y,
|
|
472
|
-
DocPresentationPhotos: re,
|
|
473
|
-
DocPresentationAboutUs: I,
|
|
474
|
-
DocPresentationCertificates: j
|
|
475
|
-
},
|
|
476
|
-
mixins: [m()],
|
|
477
|
-
inject: ["parentSize"],
|
|
478
|
-
data() {
|
|
479
|
-
return {
|
|
480
|
-
activeTab: 0,
|
|
481
|
-
certificates: [],
|
|
482
|
-
references: [],
|
|
483
|
-
about: ""
|
|
484
|
-
};
|
|
485
|
-
},
|
|
486
|
-
computed: {
|
|
487
|
-
company() {
|
|
488
|
-
return o(this, "_document._doc.company", {});
|
|
489
|
-
},
|
|
490
|
-
creator() {
|
|
491
|
-
return o(this, "_document.sender.user", {});
|
|
492
|
-
},
|
|
493
|
-
message() {
|
|
494
|
-
return o(this, "_document.personalMessage", "");
|
|
495
|
-
},
|
|
496
|
-
presentationBlocks() {
|
|
497
|
-
const a = [];
|
|
498
|
-
try {
|
|
499
|
-
if (this.message || this.canEdit) {
|
|
500
|
-
const e = {
|
|
501
|
-
title: this.$t("personalMessage").capitalize(),
|
|
502
|
-
component: "DocPresentationMessage",
|
|
503
|
-
style: {
|
|
504
|
-
backgroundImage: "url(https://images.unsplash.com/photo-1471107340929-a87cd0f5b5f3?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=395debe4f66b27cd8fb346d73cffb70c&auto=format&fit=crop&w=1932&q=80)"
|
|
505
|
-
},
|
|
506
|
-
props: {
|
|
507
|
-
content: this.message || "",
|
|
508
|
-
avatar: {
|
|
509
|
-
name: this.creator.name,
|
|
510
|
-
image: this.creator.avatar,
|
|
511
|
-
cellphone: this.creator.cellphone,
|
|
512
|
-
email: this.creator.email
|
|
513
|
-
},
|
|
514
|
-
creator: this.creator,
|
|
515
|
-
editable: this.canEdit
|
|
516
|
-
}
|
|
517
|
-
};
|
|
518
|
-
a.push(e);
|
|
519
|
-
}
|
|
520
|
-
} catch {
|
|
521
|
-
}
|
|
522
|
-
try {
|
|
523
|
-
if (this.about) {
|
|
524
|
-
const {
|
|
525
|
-
website: e,
|
|
526
|
-
recoUrl: t,
|
|
527
|
-
instagramUrl: s,
|
|
528
|
-
linkedinUrl: i,
|
|
529
|
-
facebookUrl: r,
|
|
530
|
-
googleUrl: c
|
|
531
|
-
} = this.company, g = {
|
|
532
|
-
title: this.$t("_common:aboutUs").capitalize(),
|
|
533
|
-
component: "DocPresentationAboutUs",
|
|
534
|
-
style: {
|
|
535
|
-
backgroundImage: "url(https://images.unsplash.com/photo-1452860606245-08befc0ff44b?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=b41f5ead560bfa3348de161f8174e35d&auto=format&fit=crop&w=1350&q=80)"
|
|
536
|
-
},
|
|
537
|
-
props: {
|
|
538
|
-
text: this.about,
|
|
539
|
-
websites: {
|
|
540
|
-
website: e,
|
|
541
|
-
linkedin: i,
|
|
542
|
-
reco: t,
|
|
543
|
-
instagram: s,
|
|
544
|
-
facebook: r,
|
|
545
|
-
google: c
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
};
|
|
549
|
-
a.push(g);
|
|
550
|
-
}
|
|
551
|
-
} catch {
|
|
552
|
-
}
|
|
553
|
-
try {
|
|
554
|
-
if (this.certificates && this.certificates.length) {
|
|
555
|
-
const e = this.certificates.map(
|
|
556
|
-
({ name: s, description: i, imageUrl: r, website: c }) => ({
|
|
557
|
-
title: s,
|
|
558
|
-
description: i,
|
|
559
|
-
img: r,
|
|
560
|
-
website: c
|
|
561
|
-
})
|
|
562
|
-
), t = {
|
|
563
|
-
title: this.$t("_common:certificate", { count: 0 }).capitalize(),
|
|
564
|
-
component: "DocPresentationCertificates",
|
|
565
|
-
style: {
|
|
566
|
-
backgroundImage: "url(https://t4.ftcdn.net/jpg/01/15/80/49/240_F_115804912_5RdHBXm7aGBzQGSGaO6g0kbwlGiXNKBI.jpg)"
|
|
567
|
-
},
|
|
568
|
-
props: {
|
|
569
|
-
content: e,
|
|
570
|
-
showDisclaimer: !0
|
|
571
|
-
// TODO: How to only enable on client route
|
|
572
|
-
}
|
|
573
|
-
};
|
|
574
|
-
a.push(t);
|
|
575
|
-
}
|
|
576
|
-
} catch {
|
|
577
|
-
}
|
|
578
|
-
try {
|
|
579
|
-
if (this.references && this.references.length) {
|
|
580
|
-
const e = {
|
|
581
|
-
title: this.$t("_common:reference", { count: 0 }).capitalize(),
|
|
582
|
-
component: "DocPresentationPhotos",
|
|
583
|
-
style: {
|
|
584
|
-
backgroundImage: "url(https://t4.ftcdn.net/jpg/01/04/71/39/240_F_104713904_IXEtofsNpmsg5ZAjYjiC2brHvnFrsNY0.jpg)"
|
|
585
|
-
},
|
|
586
|
-
props: {
|
|
587
|
-
albums: this.references
|
|
588
|
-
}
|
|
589
|
-
};
|
|
590
|
-
a.push(e);
|
|
591
|
-
}
|
|
592
|
-
} catch {
|
|
593
|
-
}
|
|
594
|
-
return a;
|
|
595
|
-
},
|
|
596
|
-
activeBlock() {
|
|
597
|
-
return this.presentationBlocks[this.activeTab];
|
|
598
|
-
},
|
|
599
|
-
isSmallScreen() {
|
|
600
|
-
return this.parentSize.width <= 576;
|
|
601
|
-
}
|
|
602
|
-
},
|
|
603
|
-
created() {
|
|
604
|
-
this.fetchCompanyData();
|
|
605
|
-
},
|
|
606
|
-
methods: {
|
|
607
|
-
async fetchCompanyData() {
|
|
608
|
-
if (!this.company.publicId)
|
|
609
|
-
return;
|
|
610
|
-
const { data: a = [] } = await l.getCertificates(
|
|
611
|
-
this.company.publicId
|
|
612
|
-
), { data: e = [] } = await l.getReferences(
|
|
613
|
-
this.company.publicId
|
|
614
|
-
), { data: t } = await l.get(
|
|
615
|
-
this.company.publicId
|
|
616
|
-
);
|
|
617
|
-
this.certificates = a, this.references = e, this.about = o(t, "company.CompanyBranding.about", "");
|
|
618
|
-
}
|
|
619
|
-
}
|
|
620
|
-
};
|
|
621
|
-
var ce = function() {
|
|
622
|
-
var e = this, t = e._self._c;
|
|
623
|
-
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(s, i) {
|
|
624
|
-
return t("div", { key: i, staticClass: "presentation-button slide-item snap-center", class: [{ active: e.activeTab === i }], on: { click: function(r) {
|
|
625
|
-
e.activeTab = i;
|
|
626
|
-
} } }, [t("div", { staticClass: "presentation-button-bg", style: [s.style] }), t("div", { staticClass: "presentation-button-title" }, [e._v(e._s(s.title))])]);
|
|
627
|
-
}), 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(s, i) {
|
|
628
|
-
return t("div", { key: i, staticClass: "presentation-button", class: [{ active: e.activeTab === i }], on: { click: function(r) {
|
|
629
|
-
e.activeTab = i;
|
|
630
|
-
} } }, [t("div", { staticClass: "presentation-button-bg", style: [s.style] }), t("div", { staticClass: "presentation-button-title" }, [e._v(e._s(s.title))])]);
|
|
631
|
-
}), 0)])]) : e._e();
|
|
632
|
-
}, le = [], de = /* @__PURE__ */ n(
|
|
633
|
-
oe,
|
|
634
|
-
ce,
|
|
635
|
-
le,
|
|
636
|
-
!1,
|
|
637
|
-
null,
|
|
638
|
-
"538aed60"
|
|
639
|
-
);
|
|
640
|
-
const he = de.exports;
|
|
641
|
-
export {
|
|
642
|
-
he as default
|
|
643
|
-
};
|
package/dist/Index-BHopC0hv.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { m as r } from "./mapFormMixin-Cu_vkTP-.js";
|
|
2
|
-
import { n } from "./main-BL_yzf2r.js";
|
|
3
|
-
const s = {
|
|
4
|
-
name: "WorkAddressText",
|
|
5
|
-
components: {
|
|
6
|
-
Read: () => import("./Index-DVwn_LLf.js")
|
|
7
|
-
},
|
|
8
|
-
mixins: [r(["street", "city", "zip"])]
|
|
9
|
-
};
|
|
10
|
-
var o = function() {
|
|
11
|
-
var e = this, t = e._self._c;
|
|
12
|
-
return t("Read", { attrs: { street: e.street, city: e.city, zip: e.zip } });
|
|
13
|
-
}, i = [], a = /* @__PURE__ */ n(
|
|
14
|
-
s,
|
|
15
|
-
o,
|
|
16
|
-
i,
|
|
17
|
-
!1,
|
|
18
|
-
null,
|
|
19
|
-
null
|
|
20
|
-
);
|
|
21
|
-
const p = a.exports;
|
|
22
|
-
export {
|
|
23
|
-
p as default
|
|
24
|
-
};
|