@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-CetF2FW0.js
DELETED
|
@@ -1,230 +0,0 @@
|
|
|
1
|
-
import { m as C } from "./mapFormMixin-Cu_vkTP-.js";
|
|
2
|
-
import { C as b } from "./CCallout-CAjM8-1X.js";
|
|
3
|
-
import { C as $, a as w } from "./CDropdownItem-CN7gSfgY.js";
|
|
4
|
-
import { n as _, b as h } from "./main-BL_yzf2r.js";
|
|
5
|
-
import { C as k } from "./CPhoneFormat-BtBGl8b4.js";
|
|
6
|
-
const x = {
|
|
7
|
-
name: "DocPartiesItem",
|
|
8
|
-
components: {
|
|
9
|
-
CPhoneFormat: k
|
|
10
|
-
},
|
|
11
|
-
props: {
|
|
12
|
-
label: {
|
|
13
|
-
type: String,
|
|
14
|
-
required: !0
|
|
15
|
-
},
|
|
16
|
-
data: {
|
|
17
|
-
type: [String, Object],
|
|
18
|
-
required: !0
|
|
19
|
-
},
|
|
20
|
-
type: {
|
|
21
|
-
type: String,
|
|
22
|
-
default: ""
|
|
23
|
-
},
|
|
24
|
-
canEdit: {
|
|
25
|
-
type: Boolean,
|
|
26
|
-
default: !1
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
var S = function() {
|
|
31
|
-
var e = this, t = e._self._c;
|
|
32
|
-
return t("div", { staticClass: "client-row" }, [t("div", { staticClass: "label" }, [e._v(" " + e._s(e.label) + " ")]), t("div", { staticClass: "data", class: {
|
|
33
|
-
"is-editable": e.canEdit
|
|
34
|
-
} }, [t("span", { on: { click: function(a) {
|
|
35
|
-
return e.$emit("click");
|
|
36
|
-
} } }, [e.type === "phone" ? t("CPhoneFormat", { attrs: { phone: e.data.cellphone, region: e.data.region } }) : [e._v(e._s(e.data))]], 2)])]);
|
|
37
|
-
}, F = [], I = /* @__PURE__ */ _(
|
|
38
|
-
x,
|
|
39
|
-
S,
|
|
40
|
-
F,
|
|
41
|
-
!1,
|
|
42
|
-
null,
|
|
43
|
-
"9bad68ca"
|
|
44
|
-
);
|
|
45
|
-
const D = I.exports, P = {
|
|
46
|
-
client: () => import("./ClientModal-CgUhWZ5L.js").then((n) => n.b),
|
|
47
|
-
company: () => import("./CompanyModal-TLSBFo3U.js")
|
|
48
|
-
}, M = {
|
|
49
|
-
i18nOptions: {
|
|
50
|
-
namespaces: "components"
|
|
51
|
-
},
|
|
52
|
-
name: "DocParties",
|
|
53
|
-
components: {
|
|
54
|
-
DocPartiesItem: D,
|
|
55
|
-
CCallout: b,
|
|
56
|
-
CDropdown: $,
|
|
57
|
-
CDropdownItem: w,
|
|
58
|
-
AddClientCallout: () => import("./AddClientCallout-Br6IhwGH.js")
|
|
59
|
-
},
|
|
60
|
-
mixins: [C()],
|
|
61
|
-
props: {
|
|
62
|
-
// todo: atm custom behaviour for path 'data.sender' through doc-class
|
|
63
|
-
parties: {
|
|
64
|
-
type: [Array, Object],
|
|
65
|
-
default: () => []
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
data() {
|
|
69
|
-
return {
|
|
70
|
-
type: "client",
|
|
71
|
-
hoverIndex: null
|
|
72
|
-
};
|
|
73
|
-
},
|
|
74
|
-
computed: {
|
|
75
|
-
mappedParties() {
|
|
76
|
-
const n = (t, a = {}) => this._document.$t(t, { postProcess: "capitalize", ...a });
|
|
77
|
-
return (Array.isArray(this.parties) ? this.parties : [this.parties]).map((t) => {
|
|
78
|
-
const {
|
|
79
|
-
orgNo: a,
|
|
80
|
-
socialNo: i,
|
|
81
|
-
companyName: o,
|
|
82
|
-
name: r,
|
|
83
|
-
type: d,
|
|
84
|
-
cellphone: m,
|
|
85
|
-
cellphoneRegion: y,
|
|
86
|
-
email: u,
|
|
87
|
-
addresses: l,
|
|
88
|
-
hasFSkatt: v,
|
|
89
|
-
hasInsurance: f
|
|
90
|
-
} = t, c = d === "individual", s = l && (l.standard || l.work);
|
|
91
|
-
s && (s.formKey = l.standard ? "street" : "workStreet");
|
|
92
|
-
const g = [
|
|
93
|
-
o && {
|
|
94
|
-
label: n("company"),
|
|
95
|
-
value: o,
|
|
96
|
-
formKey: "name"
|
|
97
|
-
},
|
|
98
|
-
a && {
|
|
99
|
-
label: n("orgNoShort"),
|
|
100
|
-
value: a,
|
|
101
|
-
formKey: "orgNo"
|
|
102
|
-
},
|
|
103
|
-
r && {
|
|
104
|
-
label: n(c ? "name" : "reference"),
|
|
105
|
-
value: r,
|
|
106
|
-
formKey: c ? "name" : "reference"
|
|
107
|
-
},
|
|
108
|
-
i && c && {
|
|
109
|
-
label: n("socialNo"),
|
|
110
|
-
value: i,
|
|
111
|
-
formKey: "orgNo"
|
|
112
|
-
},
|
|
113
|
-
u && {
|
|
114
|
-
label: n("email"),
|
|
115
|
-
value: u,
|
|
116
|
-
formKey: "email"
|
|
117
|
-
},
|
|
118
|
-
m && {
|
|
119
|
-
label: n("phone"),
|
|
120
|
-
type: "phone",
|
|
121
|
-
value: {
|
|
122
|
-
cellphone: m,
|
|
123
|
-
region: y || h(this._document, "sender.company.region", "")
|
|
124
|
-
},
|
|
125
|
-
formKey: "cellphone"
|
|
126
|
-
},
|
|
127
|
-
s && {
|
|
128
|
-
label: n("address"),
|
|
129
|
-
value: this.parseStreet(s.street, s.city, s.zip),
|
|
130
|
-
formKey: s.formKey
|
|
131
|
-
}
|
|
132
|
-
], p = [];
|
|
133
|
-
return v && p.push({
|
|
134
|
-
label: this._document.$t("chapters.parties.fTax"),
|
|
135
|
-
value: v
|
|
136
|
-
}), f && p.push({
|
|
137
|
-
label: this._document.$t("chapters.parties.allRiskAndLiability"),
|
|
138
|
-
value: f
|
|
139
|
-
}), {
|
|
140
|
-
main: g,
|
|
141
|
-
checks: p
|
|
142
|
-
};
|
|
143
|
-
});
|
|
144
|
-
}
|
|
145
|
-
},
|
|
146
|
-
created() {
|
|
147
|
-
h(this, "_value.parties", "") !== "clients" && (this.type = "company");
|
|
148
|
-
},
|
|
149
|
-
methods: {
|
|
150
|
-
openModal({ formKey: n, index: e } = {}) {
|
|
151
|
-
var i;
|
|
152
|
-
let t = "name", a = !1;
|
|
153
|
-
n && (t = n, ["name", "email", "cellphone", "reference"].includes(n) || (a = !0)), this.$modal.show(P[this.type], {
|
|
154
|
-
inputFocusOnMount: t,
|
|
155
|
-
forceExpand: a,
|
|
156
|
-
documentClientIndex: e,
|
|
157
|
-
signOptions: (i = this._document) == null ? void 0 : i.signOptions,
|
|
158
|
-
setFormValue: this.viewSettings.setFormValue,
|
|
159
|
-
removeFormValue: this.viewSettings.removeFormValue,
|
|
160
|
-
isPublicForm: this.viewSettings.isPublicForm
|
|
161
|
-
});
|
|
162
|
-
},
|
|
163
|
-
removeClient(n) {
|
|
164
|
-
this.parties[n] && this.removeField(`clients[${n}]`);
|
|
165
|
-
},
|
|
166
|
-
parseStreet(n, e, t) {
|
|
167
|
-
let a = "";
|
|
168
|
-
return n && (a += n), n && (t || e) && (a += ", "), t && (a += ` ${t}`), e && (a += ` ${e}`), a;
|
|
169
|
-
},
|
|
170
|
-
searchEndCustomers(n, e) {
|
|
171
|
-
n({
|
|
172
|
-
q: e,
|
|
173
|
-
cb: ({ endCustomer: t }) => {
|
|
174
|
-
this.results = t;
|
|
175
|
-
}
|
|
176
|
-
});
|
|
177
|
-
},
|
|
178
|
-
setClient(n) {
|
|
179
|
-
this.$emit("input", {
|
|
180
|
-
key: `clients[${this.parties.length}]`,
|
|
181
|
-
value: n
|
|
182
|
-
});
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
};
|
|
186
|
-
var z = function() {
|
|
187
|
-
var e = this, t = e._self._c;
|
|
188
|
-
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" }, scopedSlots: e._u([{ key: "trigger", fn: function() {
|
|
189
|
-
return [t("CButton", { attrs: { type: "none", size: "small", pattern: "secondary", "icon-right": "chevron-down" } }, [e._v(" " + e._s(e.$t("_common:more").capitalize()) + " ")])];
|
|
190
|
-
}, proxy: !0 }], null, !1, 2768188015) }, [t("CDropdownItem", { attrs: { "icon-props": {
|
|
191
|
-
class: "text-primary-500"
|
|
192
|
-
}, "icon-left": "plus-circle" }, on: { click: function(a) {
|
|
193
|
-
return e.openModal({ index: e.parties.length });
|
|
194
|
-
} } }, [e._v(" " + e._s(e.$t("components:account.documentForm.clients.add.extra")) + " ")]), t("CDropdownItem", { attrs: { separator: "" } }), e._l(e.parties, function(a, i) {
|
|
195
|
-
return t("CDropdownItem", { key: i, attrs: { "icon-props": {
|
|
196
|
-
class: "text-gray-400"
|
|
197
|
-
}, "icon-left": "edit" }, on: { click: function(o) {
|
|
198
|
-
return e.openModal({ index: i });
|
|
199
|
-
} } }, [e._v(" " + e._s(a.type === "individual" ? a.name : a.companyName || a.name) + " ")]);
|
|
200
|
-
})], 2) : e._e()], 1) : e._e(), e.viewSettings.canEdit ? [e.type === "client" && !(e.parties && e.parties.length) ? t("AddClientCallout", { on: { add: function(a) {
|
|
201
|
-
return e.openModal({ index: e.parties.length });
|
|
202
|
-
}, 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) {
|
|
203
|
-
return t("div", { key: i, staticClass: "party-wrapper print-avoid-break-inside", on: { "&mouseover": function(o) {
|
|
204
|
-
e.hoverIndex = i;
|
|
205
|
-
}, "&mouseleave": function(o) {
|
|
206
|
-
e.hoverIndex = null;
|
|
207
|
-
} } }, [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(o) {
|
|
208
|
-
return e.openModal({ index: i });
|
|
209
|
-
} } }), t("CButton", { attrs: { circle: "", size: "small", icon: "x", type: "none", pattern: "tertiary" }, on: { click: function(o) {
|
|
210
|
-
return e.removeClient(i);
|
|
211
|
-
} } })], 1) : e._e(), e._l(a.main, function(o, r) {
|
|
212
|
-
return [o ? t("DocPartiesItem", { key: r, attrs: { label: o.label, data: o.value, type: o.type, "can-edit": e.viewSettings.canEdit }, on: { click: function(d) {
|
|
213
|
-
e.viewSettings.canEdit && e.openModal({ formKey: o.formKey, index: i });
|
|
214
|
-
} } }) : e._e()];
|
|
215
|
-
}), a.checks && a.checks.length ? t("div", { staticStyle: { width: "100%", "padding-top": "calc(1 * var(--rem))" } }, e._l(a.checks, function(o, r) {
|
|
216
|
-
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(o.label))])]);
|
|
217
|
-
}), 0) : e._e()], 2);
|
|
218
|
-
})], 2);
|
|
219
|
-
}, E = [], K = /* @__PURE__ */ _(
|
|
220
|
-
M,
|
|
221
|
-
z,
|
|
222
|
-
E,
|
|
223
|
-
!1,
|
|
224
|
-
null,
|
|
225
|
-
"6051fd15"
|
|
226
|
-
);
|
|
227
|
-
const V = K.exports;
|
|
228
|
-
export {
|
|
229
|
-
V as default
|
|
230
|
-
};
|
package/dist/Index-Cv6XLM20.js
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { m as t } from "./mapFormMixin-Cu_vkTP-.js";
|
|
2
|
-
import { I as a } from "./InputToggleRow-BmDuSbE2.js";
|
|
3
|
-
import { C as c } from "./CPriceInput-D2c07SXp.js";
|
|
4
|
-
import { n as o } from "./main-BL_yzf2r.js";
|
|
5
|
-
const i = {
|
|
6
|
-
i18nOptions: {
|
|
7
|
-
namespaces: "ExtraWorkConstructionPricingListEdit",
|
|
8
|
-
messages: {
|
|
9
|
-
sv: {
|
|
10
|
-
workPrice: "Arbete",
|
|
11
|
-
managementPrice: "Arbetsledning",
|
|
12
|
-
entrepreneurMarkupPercentage: "Påslag för underentreprenader",
|
|
13
|
-
miscMarkupPercentage: "Påslag för material, varor och övrigt"
|
|
14
|
-
},
|
|
15
|
-
en: {
|
|
16
|
-
workPrice: "Work",
|
|
17
|
-
managementPrice: "Work management",
|
|
18
|
-
entrepreneurMarkupPercentage: "Markup for subcontractors",
|
|
19
|
-
miscMarkupPercentage: "Markup for material, goods and other",
|
|
20
|
-
travelCosts: "Travel costs for extra work"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
name: "ExtraWorkConstructionPricingListEdit",
|
|
25
|
-
components: {
|
|
26
|
-
InputToggleRow: a,
|
|
27
|
-
CPriceInput: c
|
|
28
|
-
},
|
|
29
|
-
mixins: [
|
|
30
|
-
t(
|
|
31
|
-
[
|
|
32
|
-
"workPrice",
|
|
33
|
-
"managementPrice",
|
|
34
|
-
"entrepreneurMarkupPercentage",
|
|
35
|
-
"miscMarkupPercentage"
|
|
36
|
-
],
|
|
37
|
-
{ type: "number" }
|
|
38
|
-
)
|
|
39
|
-
]
|
|
40
|
-
};
|
|
41
|
-
var s = function() {
|
|
42
|
-
var e = this, r = e._self._c;
|
|
43
|
-
return r("div", [r("div", { staticClass: "flex w-full justify-end", staticStyle: { position: "relative" } }, [e.workPrice || e.managementPrice ? r("div", { staticClass: "ex-vat" }, [e._v(" " + e._s(e.$t("_common:vat.exVat", { thing: e.$t("_common:vat.sharedTitle") }).capitalize()) + " ")]) : e._e()]), r("InputToggleRow", { attrs: { "display-value": e.workPrice ? `${e.workPrice / 100} ${e.$t("_common:currency.SEK")}/${e.$t(
|
|
44
|
-
"_common:unitType.hour"
|
|
45
|
-
)}` : e.$t("_common:add"), label: e.$t("workPrice") } }, [r("CPriceInput", { attrs: { currency: "SEK", min: "0", "suffix-class": "text-gray-400" }, scopedSlots: e._u([{ key: "suffix", fn: function() {
|
|
46
|
-
return [e._v(" " + e._s(e.$t("currency.SEK")) + "/" + e._s(e.$t("_common:unitType.hour")) + " ")];
|
|
47
|
-
}, proxy: !0 }]), model: { value: e.workPrice, callback: function(n) {
|
|
48
|
-
e.workPrice = e._n(n);
|
|
49
|
-
}, expression: "workPrice" } })], 1), r("InputToggleRow", { attrs: { "display-value": e.managementPrice ? `${e.managementPrice / 100} kr/h` : e.$t("_common:add"), label: e.$t("managementPrice") } }, [r("CPriceInput", { attrs: { currency: "SEK", min: "0", "suffix-class": "text-gray-400" }, scopedSlots: e._u([{ key: "suffix", fn: function() {
|
|
50
|
-
return [e._v(" " + e._s(e.$t("_common:currency.SEK")) + "/" + e._s(e.$t("unitType.hour")) + " ")];
|
|
51
|
-
}, proxy: !0 }]), model: { value: e.managementPrice, callback: function(n) {
|
|
52
|
-
e.managementPrice = e._n(n);
|
|
53
|
-
}, expression: "managementPrice" } })], 1), r("InputToggleRow", { attrs: { "display-value": e.entrepreneurMarkupPercentage ? `${e.entrepreneurMarkupPercentage} %` : e.$t("_common:add"), label: e.$t("entrepreneurMarkupPercentage") } }, [r("CInput", { scopedSlots: e._u([{ key: "suffix", fn: function() {
|
|
54
|
-
return [e._v("%")];
|
|
55
|
-
}, proxy: !0 }]), model: { value: e.entrepreneurMarkupPercentage, callback: function(n) {
|
|
56
|
-
e.entrepreneurMarkupPercentage = e._n(n);
|
|
57
|
-
}, expression: "entrepreneurMarkupPercentage" } })], 1), r("InputToggleRow", { attrs: { "display-value": e.miscMarkupPercentage ? `${e.miscMarkupPercentage} %` : e.$t("_common:add"), label: e.$t("miscMarkupPercentage") } }, [r("CInput", { scopedSlots: e._u([{ key: "suffix", fn: function() {
|
|
58
|
-
return [e._v("%")];
|
|
59
|
-
}, proxy: !0 }]), model: { value: e.miscMarkupPercentage, callback: function(n) {
|
|
60
|
-
e.miscMarkupPercentage = e._n(n);
|
|
61
|
-
}, expression: "miscMarkupPercentage" } })], 1)], 1);
|
|
62
|
-
}, u = [], m = /* @__PURE__ */ o(
|
|
63
|
-
i,
|
|
64
|
-
s,
|
|
65
|
-
u,
|
|
66
|
-
!1,
|
|
67
|
-
null,
|
|
68
|
-
"3c3dbd58"
|
|
69
|
-
);
|
|
70
|
-
const f = m.exports;
|
|
71
|
-
export {
|
|
72
|
-
f as default
|
|
73
|
-
};
|
package/dist/Index-Cwy8ff76.js
DELETED
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
import { m as n } from "./mapFormMixin-Cu_vkTP-.js";
|
|
2
|
-
import { D as l } from "./DocModalBase-DXHNJ-6i.js";
|
|
3
|
-
import { a as o } from "./DocumentLayout-4q8rmTVT.js";
|
|
4
|
-
import { n as a } from "./main-BL_yzf2r.js";
|
|
5
|
-
const c = {
|
|
6
|
-
name: "TermsModal",
|
|
7
|
-
components: {
|
|
8
|
-
DocModalBase: l,
|
|
9
|
-
DocumentStyleContainer: o
|
|
10
|
-
},
|
|
11
|
-
mixins: [n([])],
|
|
12
|
-
props: {
|
|
13
|
-
text: {
|
|
14
|
-
type: String,
|
|
15
|
-
required: !0
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
var m = function() {
|
|
20
|
-
var i;
|
|
21
|
-
var e = this, t = e._self._c;
|
|
22
|
-
return t("div", [t("div", { staticStyle: { height: "200px", "max-height": "15vh" }, on: { click: function(r) {
|
|
23
|
-
return e.$emit("close");
|
|
24
|
-
} } }), t("DocModalBase", { staticClass: "terms-root" }, [t("div", { staticClass: "sticky-btn" }, [t("CButton", { attrs: { circle: "", icon: "x" }, on: { click: function(r) {
|
|
25
|
-
return e.$emit("close");
|
|
26
|
-
} } })], 1), t("div", { staticStyle: { padding: "0 calc(1 * var(--rem))" } }, [t("DocumentStyleContainer", { staticStyle: { width: "100%", height: "100%" }, attrs: { "input-style": ((i = e._document.data) == null ? void 0 : i.css) || null } }, [t("div", { staticClass: "term-text quill-format", domProps: { innerHTML: e._s(e.text) } })])], 1)])], 1);
|
|
27
|
-
}, d = [], f = /* @__PURE__ */ a(
|
|
28
|
-
c,
|
|
29
|
-
m,
|
|
30
|
-
d,
|
|
31
|
-
!1,
|
|
32
|
-
null,
|
|
33
|
-
null
|
|
34
|
-
);
|
|
35
|
-
const p = f.exports, u = {
|
|
36
|
-
name: "TermsDisclaimer",
|
|
37
|
-
mixins: [n([])],
|
|
38
|
-
inject: {
|
|
39
|
-
isPdf: {
|
|
40
|
-
default: !1
|
|
41
|
-
},
|
|
42
|
-
_firstBlock: {
|
|
43
|
-
default: !1
|
|
44
|
-
},
|
|
45
|
-
_lastBlock: {
|
|
46
|
-
default: !1
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
props: {
|
|
50
|
-
href: {
|
|
51
|
-
type: String,
|
|
52
|
-
default: null
|
|
53
|
-
},
|
|
54
|
-
termType: {
|
|
55
|
-
type: String,
|
|
56
|
-
default: null
|
|
57
|
-
},
|
|
58
|
-
file: {
|
|
59
|
-
type: Object,
|
|
60
|
-
default: () => ({})
|
|
61
|
-
},
|
|
62
|
-
text: {
|
|
63
|
-
type: String,
|
|
64
|
-
default: null
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
computed: {
|
|
68
|
-
printPdfTerms() {
|
|
69
|
-
return this.isPdf ? () => import("./PdfTerms-BH_Nwf2h.js") : void 0;
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
methods: {
|
|
73
|
-
openTerms() {
|
|
74
|
-
this.$modal.show(
|
|
75
|
-
p,
|
|
76
|
-
{
|
|
77
|
-
text: this.text,
|
|
78
|
-
_document: this._document
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
adaptive: !0,
|
|
82
|
-
height: "auto",
|
|
83
|
-
scrollable: !0,
|
|
84
|
-
maxWidth: 700,
|
|
85
|
-
width: "100%",
|
|
86
|
-
classes: "overflow-visible mobile-margin-bottom-0",
|
|
87
|
-
transition: "fade-in-slide-up"
|
|
88
|
-
}
|
|
89
|
-
);
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
render(s) {
|
|
93
|
-
let e = {};
|
|
94
|
-
const t = this.termType;
|
|
95
|
-
if (t === "href" ? e = {
|
|
96
|
-
href: this.href,
|
|
97
|
-
target: "_blank",
|
|
98
|
-
rel: "noopener"
|
|
99
|
-
} : t === "file" && (e = {
|
|
100
|
-
// Some documents with file terms are missing url
|
|
101
|
-
href: (this.file.url || "").replace(/\+/g, "%2B"),
|
|
102
|
-
target: "_blank",
|
|
103
|
-
rel: "noopener"
|
|
104
|
-
}), this.$scopedSlots.default)
|
|
105
|
-
return this.$scopedSlots.default({
|
|
106
|
-
openTerms: t === "text" ? this.openTerms : () => window.open(e.href)
|
|
107
|
-
});
|
|
108
|
-
if (this.printPdfTerms) {
|
|
109
|
-
const r = {
|
|
110
|
-
...t === "text" && { text: this.text },
|
|
111
|
-
...t === "file" && { file: this.file }
|
|
112
|
-
};
|
|
113
|
-
return s(
|
|
114
|
-
"div",
|
|
115
|
-
{
|
|
116
|
-
class: {
|
|
117
|
-
"break-before-page": this.isPdf && !this._firstBlock,
|
|
118
|
-
"break-after-page": this.isPdf && !this._lastBlock
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
[s(this.printPdfTerms, { attrs: r })]
|
|
122
|
-
);
|
|
123
|
-
}
|
|
124
|
-
const i = {};
|
|
125
|
-
return t && (i.attrs = e), t === "text" && (i.on = { click: this.openTerms }), s(
|
|
126
|
-
"div",
|
|
127
|
-
{
|
|
128
|
-
staticClass: "terms-disclaimer"
|
|
129
|
-
},
|
|
130
|
-
[
|
|
131
|
-
s("div", { staticClass: "terms-disclaimer__divider" }),
|
|
132
|
-
this._document.$t("chapters.termsDisclaimer.description"),
|
|
133
|
-
s(
|
|
134
|
-
"a",
|
|
135
|
-
i,
|
|
136
|
-
this._document.$t("chapters.termsDisclaimer.termsAndConditions")
|
|
137
|
-
),
|
|
138
|
-
"."
|
|
139
|
-
]
|
|
140
|
-
);
|
|
141
|
-
}
|
|
142
|
-
}, h = null, _ = null;
|
|
143
|
-
var v = /* @__PURE__ */ a(
|
|
144
|
-
u,
|
|
145
|
-
h,
|
|
146
|
-
_,
|
|
147
|
-
!1,
|
|
148
|
-
null,
|
|
149
|
-
"7623e4d6"
|
|
150
|
-
);
|
|
151
|
-
const k = v.exports;
|
|
152
|
-
export {
|
|
153
|
-
k as default
|
|
154
|
-
};
|
package/dist/Index-D34z4UEY.js
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { m as s } from "./mapFormMixin-Cu_vkTP-.js";
|
|
2
|
-
import { B as c } from "./BlockMedia-Bo3OfNSU.js";
|
|
3
|
-
import { T as a } from "./DocTextEditor-yD9Dt_um.js";
|
|
4
|
-
import { f as n } from "./focusDrawerMixin-CximZA1J.js";
|
|
5
|
-
import { b as i, H as l, J as v, K as d, X as u, n as m } from "./main-BL_yzf2r.js";
|
|
6
|
-
const _ = {
|
|
7
|
-
name: "CoverBlock",
|
|
8
|
-
components: {
|
|
9
|
-
BlockMedia: c,
|
|
10
|
-
TextEditor: a,
|
|
11
|
-
CoverBlockSettings: () => import("./CoverBlockSettings-D99hAa6e.js")
|
|
12
|
-
},
|
|
13
|
-
mixins: [s(["coverBlock"]), n],
|
|
14
|
-
inject: ["parentSize"],
|
|
15
|
-
data() {
|
|
16
|
-
return {
|
|
17
|
-
showControls: !1
|
|
18
|
-
};
|
|
19
|
-
},
|
|
20
|
-
computed: {
|
|
21
|
-
text: {
|
|
22
|
-
get() {
|
|
23
|
-
const o = i(this, "coverBlock.text", "");
|
|
24
|
-
return this.canEdit ? l(
|
|
25
|
-
o,
|
|
26
|
-
this._document.textTemplateMap,
|
|
27
|
-
this._document._doc
|
|
28
|
-
) : v(o, this._document._doc);
|
|
29
|
-
},
|
|
30
|
-
set(o) {
|
|
31
|
-
this.setValue({ key: "text", value: d(o) });
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
media() {
|
|
35
|
-
const { type: o, cover: e } = this.coverBlock || {};
|
|
36
|
-
return { ...e, ...o && { type: o } };
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
methods: {
|
|
40
|
-
setValue({ key: o, value: e }) {
|
|
41
|
-
this.coverBlock = u(this.coverBlock, o, e);
|
|
42
|
-
},
|
|
43
|
-
onAdd() {
|
|
44
|
-
var o;
|
|
45
|
-
this._isNodeRecentlyAdded() && ((o = this.$refs.editor) == null || o.focus());
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
var p = function() {
|
|
50
|
-
var e = this, t = e._self._c;
|
|
51
|
-
return t("div", { staticClass: "cover-root font-inter", class: { "is-700-plus": e.parentSize.width >= 700 }, on: { "&mouseover": function(r) {
|
|
52
|
-
e.showControls = !0;
|
|
53
|
-
}, "&mouseleave": function(r) {
|
|
54
|
-
e.showControls = !1;
|
|
55
|
-
} } }, [t("div", { staticClass: "cover-base" }, [t("BlockMedia", { attrs: { media: e.media } }), t("div", { staticClass: "cover-text-wrapper no-drag" }, [t("div", { staticClass: "cover-text" }, [t("TextEditor", { key: e.canEdit, ref: "editor", attrs: { editable: e.canEdit, mentions: () => e._document.textTemplateItems, snippets: !0, extensions: "all", unstyled: "" }, on: { "hook:mounted": e.onAdd }, model: { value: e.text, callback: function(r) {
|
|
56
|
-
e.text = r;
|
|
57
|
-
}, expression: "text" } })], 1)])], 1), e.isForm ? [e.showDrawer ? t("portal", { attrs: { to: "drawer-content" }, scopedSlots: e._u([{ key: "footer", fn: function() {
|
|
58
|
-
return [t("div", { staticClass: "footer-button" }, [t("CButton", { attrs: { type: "danger", pattern: "tertiary", wide: "" }, on: { click: function(r) {
|
|
59
|
-
return e.$emit("section-remove");
|
|
60
|
-
} } }, [e._v(" " + e._s(e.$t("_common:remove")) + " ")])], 1)];
|
|
61
|
-
}, proxy: !0 }], null, !1, 3361209597) }, [t("CoverBlockSettings", { attrs: { _document: e._document, _value: {
|
|
62
|
-
type: `${e._value.coverBlock}.type`,
|
|
63
|
-
video: `${e._value.coverBlock}.cover.video`,
|
|
64
|
-
resourceUrl: `${e._value.coverBlock}.cover.resourceUrl`,
|
|
65
|
-
filter: `${e._value.coverBlock}.cover.filter`,
|
|
66
|
-
blur: `${e._value.coverBlock}.cover.blur`,
|
|
67
|
-
position: `${e._value.coverBlock}.cover.position`,
|
|
68
|
-
overlay: `${e._value.coverBlock}.cover.overlay`,
|
|
69
|
-
overlayColor: `${e._value.coverBlock}.cover.overlayColor`,
|
|
70
|
-
gradient: `${e._value.coverBlock}.cover.gradient`,
|
|
71
|
-
backgroundColor: `${e._value.coverBlock}.cover.backgroundColor`
|
|
72
|
-
} } })], 1) : e._e()] : e._e()], 2);
|
|
73
|
-
}, f = [], k = /* @__PURE__ */ m(
|
|
74
|
-
_,
|
|
75
|
-
p,
|
|
76
|
-
f,
|
|
77
|
-
!1,
|
|
78
|
-
null,
|
|
79
|
-
"9f9ddddb"
|
|
80
|
-
);
|
|
81
|
-
const y = k.exports;
|
|
82
|
-
export {
|
|
83
|
-
y as default
|
|
84
|
-
};
|
package/dist/Index-DNCei-lp.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { m as o } from "./mapFormMixin-Cu_vkTP-.js";
|
|
2
|
-
import { I as i } from "./InputToggleRow-BmDuSbE2.js";
|
|
3
|
-
import { C as a } from "./CSelect-Cz2IPzxS.js";
|
|
4
|
-
import { n as m } from "./main-BL_yzf2r.js";
|
|
5
|
-
const l = {
|
|
6
|
-
i18nOptions: {
|
|
7
|
-
namespaces: "estimatedTimeToCompleteText",
|
|
8
|
-
messages: {
|
|
9
|
-
en: {
|
|
10
|
-
label: "Time to complete work",
|
|
11
|
-
placeholder: "Time unit"
|
|
12
|
-
},
|
|
13
|
-
sv: {
|
|
14
|
-
label: "Tid för att klargöra arbetet",
|
|
15
|
-
placeholder: "Tidsenhet"
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
name: "EstimatedTimeToCompleteEdit",
|
|
20
|
-
components: {
|
|
21
|
-
InputToggleRow: i,
|
|
22
|
-
CSelect: a
|
|
23
|
-
},
|
|
24
|
-
mixins: [
|
|
25
|
-
o(["timeUnit"]),
|
|
26
|
-
o(["noOfTimeUnits"], { type: "number" })
|
|
27
|
-
],
|
|
28
|
-
created() {
|
|
29
|
-
this.timeUnit || (this.timeUnit = "day");
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
var s = function() {
|
|
33
|
-
var t = this, e = t._self._c;
|
|
34
|
-
return e("InputToggleRow", { attrs: { "display-value": t.noOfTimeUnits && t.timeUnit ? `${t.noOfTimeUnits} ${t.$t(`_common:${t.timeUnit}`, {
|
|
35
|
-
count: t.noOfTimeUnits
|
|
36
|
-
})}` : t.$t("_common:add"), label: t.$t("label"), "show-clear": !!(t.noOfTimeUnits && t.timeUnit) }, on: { remove: function(n) {
|
|
37
|
-
t.noOfTimeUnits = null;
|
|
38
|
-
} } }, [e("CInput", { staticStyle: { width: "calc(15 * var(--rem))" }, attrs: { type: "number" }, scopedSlots: t._u([{ key: "append", fn: function() {
|
|
39
|
-
return [e("CSelect", { staticClass: "select-width plain", staticStyle: { width: "120px" }, attrs: { placeholder: t.$t("placeholder") }, model: { value: t.timeUnit, callback: function(n) {
|
|
40
|
-
t.timeUnit = n;
|
|
41
|
-
}, expression: "timeUnit" } }, [e("option", { attrs: { value: "hour" } }, [t._v(t._s(t.$t("_common:hour_plural")))]), e("option", { attrs: { value: "day" } }, [t._v(t._s(t.$t("_common:day_plural")))]), e("option", { attrs: { value: "week" } }, [t._v(t._s(t.$t("_common:week_plural")))]), e("option", { attrs: { value: "month" } }, [t._v(t._s(t.$t("_common:month_plural")))])])];
|
|
42
|
-
}, proxy: !0 }]), model: { value: t.noOfTimeUnits, callback: function(n) {
|
|
43
|
-
t.noOfTimeUnits = t._n(n);
|
|
44
|
-
}, expression: "noOfTimeUnits" } })], 1);
|
|
45
|
-
}, r = [], c = /* @__PURE__ */ m(
|
|
46
|
-
l,
|
|
47
|
-
s,
|
|
48
|
-
r,
|
|
49
|
-
!1,
|
|
50
|
-
null,
|
|
51
|
-
null
|
|
52
|
-
);
|
|
53
|
-
const v = c.exports;
|
|
54
|
-
export {
|
|
55
|
-
v as default
|
|
56
|
-
};
|