@cling-se/widget 0.15.2 → 0.15.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +43 -43
- package/dist/{AddClientCallout-CSxN7XFh.js → AddClientCallout-CrZF5j7A.js} +15 -13
- package/dist/{AnswerModal-DEwMlsT8.js → AnswerModal-C3r9vyki.js} +71 -71
- package/dist/{AttachmentItem-R7YMKqQ2.js → AttachmentItem-BVXrxCnv.js} +20 -13
- package/dist/{BaseDatePicker-Bd1maWgF.js → BaseDatePicker-DxL2l3QC.js} +561 -557
- package/dist/{BaseUpload-C9Jd1JBo.js → BaseUpload-B7259IaQ.js} +3 -3
- package/dist/{BlockMedia-CUCZYVdZ.js → BlockMedia-BSKtZMwa.js} +2 -2
- package/dist/{CCallout-_k7FPbsE.js → CCallout-BNvM6gNJ.js} +4 -5
- package/dist/{CCurrencyDropdown-DejfeYVY.js → CCurrencyDropdown-xmqmb8gW.js} +24 -20
- package/dist/{CDropdownItem-b6ZzOnv-.js → CDropdownItem-DiLisSei.js} +139 -37
- package/dist/{CFormField-BjGICSv5.js → CFormField-DcZVdj3a.js} +3 -4
- package/dist/{CPhoneFormat-Bf2fgYtr.js → CPhoneFormat-BeYxRN0i.js} +1 -1
- package/dist/CPhoneInput-UzZkxbC6.js +138 -0
- package/dist/{CPriceInput-myrETXfz.js → CPriceInput-C2y_3PM7.js} +20 -16
- package/dist/CSelect-BmP1UsQA.js +91 -0
- package/dist/CSkeleton-BNbft-NE.js +55 -0
- package/dist/ClientAutocomplete-BnredOme.js +438 -0
- package/dist/{ClientModal-DSmFJ9bu.js → ClientModal-DNcf4APF.js} +92 -51
- package/dist/{ColorPicker-B1MJicqo.js → ColorPicker-BupC4jvI.js} +2 -2
- package/dist/{CompanyModal-BXs3aAYm.js → CompanyModal-Bh8mEHE1.js} +25 -19
- package/dist/{ContentWrapper-BKWZy4Bp.js → ContentWrapper-Bs3nrJda.js} +63 -55
- package/dist/CoverBlockSettings-WYZsCdky.js +659 -0
- package/dist/{DocAnswer-CaoTYUNh.js → DocAnswer--FfsnnTB.js} +2 -2
- package/dist/{DocDetails-C9EEpNg2.js → DocDetails-Ce7bj-qO.js} +43 -39
- package/dist/{DocForm-Dww8Ust9.js → DocForm-FR_Vlq_C.js} +801 -755
- package/dist/{DocFormSend-DKAqaT50.js → DocFormSend-DcSv3JNg.js} +18 -15
- package/dist/{DocLinks-DFUO03dk.js → DocLinks-Bvhc62aJ.js} +2 -2
- package/dist/{DocModalBase-QZosNhiK.js → DocModalBase-DkfUBRi3.js} +2 -2
- package/dist/{DocPrint--T278pDE.js → DocPrint-BrKY6rOy.js} +3 -3
- package/dist/{DocReceipt-CPg45_I7.js → DocReceipt-oGrM6t_k.js} +29 -22
- package/dist/{DocSendReminder-DQAaiUrs.js → DocSendReminder-veEC_yHK.js} +19 -16
- package/dist/{DocTextEditor-CM1f8eMD.js → DocTextEditor-CNRwxPEx.js} +72 -70
- package/dist/{DocTimeline-Ce0OZgGP.js → DocTimeline-e2Xf_QZ7.js} +38 -34
- package/dist/{DocumentClient-DHU-Rg3r.js → DocumentClient-Dx4Uyxkh.js} +5 -5
- package/dist/{DocumentLayout-GYCBw2F_.js → DocumentLayout-DmjmsTcx.js} +1506 -1538
- package/dist/{DocumentLogotype-Cilc0ElE.js → DocumentLogotype-ddYHM9wn.js} +25 -20
- package/dist/{DocumentVoided-BH8pkv85.js → DocumentVoided-WCk7XuxH.js} +1 -1
- package/dist/{EmbedInput-lMSVQSey.js → EmbedInput-CMueXdFs.js} +25 -21
- package/dist/{EmbedSettings-D65Y2AZL.js → EmbedSettings-BRuLCWr0.js} +13 -11
- package/dist/{ErrorCallout-BBNHzuhf.js → ErrorCallout-CDtZceLU.js} +6 -6
- package/dist/{FilePreviewModal-iPIuaIor.js → FilePreviewModal-BzAUuY58.js} +3 -3
- package/dist/Flag-DkJgyDQK.js +46 -0
- package/dist/{HeaderSettings-WKUIBCfF.js → HeaderSettings-CoKK5Mbt.js} +159 -110
- package/dist/{ImageSelectModal-BTMFM3o9.js → ImageSelectModal-De64vGSr.js} +15 -13
- package/dist/{ImageUploadWrapper-BaLjUZF5.js → ImageUploadWrapper-CE6KTze0.js} +3 -3
- package/dist/{Index-DS1PwlDq.js → Index-50KxppUS.js} +4 -4
- package/dist/{Index-DJeZiYxr.js → Index-B7vVIRFn.js} +7 -7
- package/dist/{Index-ivhPuQy5.js → Index-BUQ75xOU.js} +6 -6
- package/dist/{Index-BUEXgHEE.js → Index-BVKCCkQY.js} +57 -50
- package/dist/{Index-BBTn35Kj.js → Index-BiGT3iEX.js} +21 -17
- package/dist/{Index-B-UWz1IM.js → Index-BoDKKVvL.js} +4 -4
- package/dist/{Index-DrSgVUyo.js → Index-BotY9nbP.js} +2 -2
- package/dist/{Index-B-YqdbQX.js → Index-BwaJW9CY.js} +3 -3
- package/dist/{Index-BepvyGqo.js → Index-ByqCyUgx.js} +9 -9
- package/dist/{Index-Bsv15ctO.js → Index-C7pge7E9.js} +23 -21
- package/dist/{Index-CEaZgZqg.js → Index-CBRJ-AZi.js} +2 -2
- package/dist/{Index-GrrsUUz1.js → Index-CFQMtx5w.js} +5 -5
- package/dist/{Index-CtQo0b8t.js → Index-CJKyHWiO.js} +15 -15
- package/dist/{Index-Dv1fkHWQ.js → Index-CK_5l1kP.js} +2 -2
- package/dist/{Index-BVt3pj58.js → Index-CLc_11Bc.js} +276 -232
- package/dist/{Index-cPIqnY80.js → Index-CTokKHJA.js} +5 -5
- package/dist/Index-Cf45UGbc.js +28 -0
- package/dist/{Index-B51tj7qY.js → Index-CfLPq-yA.js} +5 -5
- package/dist/{Index-B_ta4yT_.js → Index-Ci7y3O0G.js} +7 -7
- package/dist/{Index-ZKkQzVOj.js → Index-CmV8oF4Q.js} +4 -4
- package/dist/{Index-C6tGNKAk.js → Index-CoRuYEYW.js} +5 -5
- package/dist/Index-CtKNyVUB.js +56 -0
- package/dist/{Index-rL3fz1Ew.js → Index-DCf6_Zd2.js} +2 -2
- package/dist/{Index-CEHhYmLe.js → Index-DGdlZzVO.js} +7 -7
- package/dist/{Index-B5XaBVyJ.js → Index-DbKB8sTh.js} +18 -12
- package/dist/{Index-9PMrT3eB.js → Index-DgBOq2MJ.js} +3 -3
- package/dist/{Index-BBOJRRgx.js → Index-DvNxOHHu.js} +6 -6
- package/dist/{Index-DS7xellB.js → Index-M2Mce2_m.js} +124 -123
- package/dist/{Index-2PGn8Pnv.js → Index-QMkjG7hk.js} +4 -4
- package/dist/{Index-oKRUWCcJ.js → Index-QmX5pv-V.js} +17 -15
- package/dist/{Index-0aZtDWyk.js → Index-h5xDFYM9.js} +4 -4
- package/dist/{Index-CtZMlBfK.js → Index-hkGYloih.js} +5 -5
- package/dist/{Index-DK3b6Cv-.js → Index-q3gLm4b1.js} +6 -6
- package/dist/{Index-BQ3kapHk.js → Index-sqI1TF7Z.js} +2 -2
- package/dist/{InputToggleRow-CJF0vwk3.js → InputToggleRow-DLFIMIdx.js} +2 -2
- package/dist/{ManualPopover-CEF7LMpn.js → ManualPopover-Cf8DotlW.js} +13 -11
- package/dist/{MediaWrapper-CM6vWCoZ.js → MediaWrapper-BgWmA3kS.js} +3 -3
- package/dist/{NotBindingText-Cee9yA0M.js → NotBindingText-DhsHxvkX.js} +2 -2
- package/dist/{PackageGroup-CFXogKPM.js → PackageGroup-EbOSxv69.js} +26 -20
- package/dist/PdfTerms-im6uTd5E.js +31 -0
- package/dist/{PdfViewer-Cd0Jm2VB.js → PdfViewer-DY0rcZjo.js} +22 -22
- package/dist/{PlainHtml-CucWAcOU.js → PlainHtml-o031pfp-.js} +1 -1
- package/dist/{PriceHeader-DdMZUaq5.js → PriceHeader-NdFa0Sqs.js} +15 -15
- package/dist/{SearchApi-knNqVduO.js → SearchApi-Bw5E9IPj.js} +2 -2
- package/dist/SendForm-BDY5VDkS.js +1023 -0
- package/dist/{Setup-7HIAWuiK.js → Setup-BsYqPmOm.js} +1 -1
- package/dist/{SmartList-cSmGbybV.js → SmartList-CP2wHig-.js} +1 -1
- package/dist/{TermsSettings-CAB-08E3.js → TermsSettings-CUlSayCJ.js} +20 -13
- package/dist/{ThemeColorRow-DxcMvBGq.js → ThemeColorRow-D3fav4Sl.js} +14 -12
- package/dist/ToggleBinding-B715OVl2.js +42 -0
- package/dist/{UploadModal-CvoSMExA.js → UploadModal-THDJ-UNp.js} +6 -6
- package/dist/{VideoPlayerInput-X5baUH3q.js → VideoPlayerInput-Cm3KoRnR.js} +15 -11
- package/dist/{VideoPlayerSettings-DsIvpufB.js → VideoPlayerSettings-BFAjczuw.js} +3 -3
- package/dist/VideoSelectModal-CzO8EMg9.js +104 -0
- package/dist/{answerDocumentMixin-B8HB1WAX.js → answerDocumentMixin-D12xJRhx.js} +3 -3
- package/dist/{debounce-B2lqFJg2.js → debounce-DLiv1sQX.js} +16 -16
- package/dist/{focusDrawerMixin-B2djM7ql.js → focusDrawerMixin-khaScuSu.js} +1 -1
- package/dist/{formDrawerState-CchCpZRc.js → formDrawerState-CJ6kjaD_.js} +1 -1
- package/dist/{formValidationMixin-Dz9Mabvi.js → formValidationMixin-Bri1WflH.js} +1 -1
- package/dist/{index-Dk6sZCYv.js → index-B0Zu30kF.js} +2 -2
- package/dist/{index-twnaU4rC.js → index-C1Ngv-v3.js} +1 -1
- package/dist/{index-BCrDgR_4.js → index-CMT3coT-.js} +785 -2001
- package/dist/{index-H1Kx9sJM.js → index-DJOUQneq.js} +42 -38
- package/dist/{index-BaGtbWcA.js → index-DLa3QER7.js} +18 -17
- package/dist/{index-kV9OZ5y0.js → index-Dygy9XlG.js} +1 -1
- package/dist/index.es.js +10 -10
- package/dist/index.umd.js +179 -175
- package/dist/{main-CerYX9PA.js → main-U22_wtg0.js} +13008 -11358
- package/dist/{mapFormMixin-Hj1Y7rVt.js → mapFormMixin-BZf4RJIE.js} +1 -1
- package/dist/omit-RBXmF_Fo.js +31 -0
- package/dist/{publicSenderState-t7Gu53cA.js → publicSenderState-DKuvxj4_.js} +1 -1
- package/dist/regions-BdZt9Srn.js +1250 -0
- package/dist/simplebar.min-Bnrne5ZK.js +71 -0
- package/dist/style.css +2 -2
- package/dist/{throttle-B8hI9bkk.js → throttle-Fkuqk26x.js} +2 -2
- package/dist/{tinycolor-BaK26Ky-.js → tinycolor-BZ8wGctU.js} +1 -1
- package/dist/{tippy.esm-BuWRbveV.js → tippy.esm-BJe845c1.js} +246 -240
- package/dist/{utils-Pmm0DT8o.js → utils-BOWVR87A.js} +1 -1
- package/dist/{vuedraggable.umd-Besz6Tlv.js → vuedraggable.umd-CJL8TWxZ.js} +1 -1
- package/package.json +2 -11
- package/dist/CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js +0 -1
- package/dist/CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js +0 -1
- package/dist/ClientAutocomplete-DyXQEfcS.js +0 -78
- package/dist/CoverBlockSettings-7Ivt9zN0.js +0 -275
- package/dist/Flag-CwnrA4SV.js +0 -114
- package/dist/Index-B0pgh8nR.js +0 -21
- package/dist/Index-Ccx9wHcb.js +0 -52
- package/dist/PdfTerms-ChtDfzne.js +0 -36
- package/dist/ToggleBinding-CTTYdrkp.js +0 -38
- package/dist/VideoSelectModal-VMcSU3bM.js +0 -100
- package/dist/formComponentsInstall-CdjgjI6y.js +0 -2495
- package/dist/omit-DGBewD2h.js +0 -31
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { m as C } from "./mapFormMixin-
|
|
2
|
-
import {
|
|
3
|
-
import { C as
|
|
4
|
-
|
|
1
|
+
import { m as C } from "./mapFormMixin-BZf4RJIE.js";
|
|
2
|
+
import { C as b } from "./CCallout-BNvM6gNJ.js";
|
|
3
|
+
import { C as $, a as w } from "./CDropdownItem-DiLisSei.js";
|
|
4
|
+
import { n as _, b as h } from "./main-U22_wtg0.js";
|
|
5
|
+
import { C as k } from "./CPhoneFormat-BeYxRN0i.js";
|
|
6
|
+
const x = {
|
|
5
7
|
name: "DocPartiesItem",
|
|
6
8
|
components: {
|
|
7
|
-
CPhoneFormat:
|
|
9
|
+
CPhoneFormat: k
|
|
8
10
|
},
|
|
9
11
|
props: {
|
|
10
12
|
label: {
|
|
@@ -25,32 +27,35 @@ const $ = {
|
|
|
25
27
|
}
|
|
26
28
|
}
|
|
27
29
|
};
|
|
28
|
-
var
|
|
30
|
+
var S = function() {
|
|
29
31
|
var e = this, t = e._self._c;
|
|
30
32
|
return t("div", { staticClass: "client-row" }, [t("div", { staticClass: "label" }, [e._v(" " + e._s(e.label) + " ")]), t("div", { staticClass: "data", class: {
|
|
31
33
|
"is-editable": e.canEdit
|
|
32
34
|
} }, [t("span", { on: { click: function(a) {
|
|
33
35
|
return e.$emit("click");
|
|
34
36
|
} } }, [e.type === "phone" ? t("CPhoneFormat", { attrs: { phone: e.data.cellphone, region: e.data.region } }) : [e._v(e._s(e.data))]], 2)])]);
|
|
35
|
-
},
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
}, F = [], I = /* @__PURE__ */ _(
|
|
38
|
+
x,
|
|
39
|
+
S,
|
|
40
|
+
F,
|
|
39
41
|
!1,
|
|
40
42
|
null,
|
|
41
|
-
"
|
|
43
|
+
"4c4b7148"
|
|
42
44
|
);
|
|
43
|
-
const
|
|
44
|
-
client: () => import("./ClientModal-
|
|
45
|
-
company: () => import("./CompanyModal-
|
|
46
|
-
},
|
|
45
|
+
const D = I.exports, P = {
|
|
46
|
+
client: () => import("./ClientModal-DNcf4APF.js").then((n) => n.b),
|
|
47
|
+
company: () => import("./CompanyModal-Bh8mEHE1.js")
|
|
48
|
+
}, M = {
|
|
47
49
|
i18nOptions: {
|
|
48
50
|
namespaces: "components"
|
|
49
51
|
},
|
|
50
52
|
name: "DocParties",
|
|
51
53
|
components: {
|
|
52
|
-
DocPartiesItem:
|
|
53
|
-
|
|
54
|
+
DocPartiesItem: D,
|
|
55
|
+
CCallout: b,
|
|
56
|
+
CDropdown: $,
|
|
57
|
+
CDropdownItem: w,
|
|
58
|
+
AddClientCallout: () => import("./AddClientCallout-CrZF5j7A.js")
|
|
54
59
|
},
|
|
55
60
|
mixins: [C()],
|
|
56
61
|
props: {
|
|
@@ -73,7 +78,7 @@ const S = x.exports, F = {
|
|
|
73
78
|
const {
|
|
74
79
|
orgNo: a,
|
|
75
80
|
socialNo: i,
|
|
76
|
-
companyName:
|
|
81
|
+
companyName: o,
|
|
77
82
|
name: r,
|
|
78
83
|
type: d,
|
|
79
84
|
cellphone: m,
|
|
@@ -81,13 +86,13 @@ const S = x.exports, F = {
|
|
|
81
86
|
email: u,
|
|
82
87
|
addresses: l,
|
|
83
88
|
hasFSkatt: v,
|
|
84
|
-
hasInsurance:
|
|
85
|
-
} = t, c = d === "individual",
|
|
86
|
-
|
|
89
|
+
hasInsurance: f
|
|
90
|
+
} = t, c = d === "individual", s = l && (l.standard || l.work);
|
|
91
|
+
s && (s.formKey = l.standard ? "street" : "workStreet");
|
|
87
92
|
const g = [
|
|
88
|
-
|
|
93
|
+
o && {
|
|
89
94
|
label: n("company"),
|
|
90
|
-
value:
|
|
95
|
+
value: o,
|
|
91
96
|
formKey: "name"
|
|
92
97
|
},
|
|
93
98
|
a && {
|
|
@@ -115,22 +120,22 @@ const S = x.exports, F = {
|
|
|
115
120
|
type: "phone",
|
|
116
121
|
value: {
|
|
117
122
|
cellphone: m,
|
|
118
|
-
region: y ||
|
|
123
|
+
region: y || h(this._document, "sender.company.region", "")
|
|
119
124
|
},
|
|
120
125
|
formKey: "cellphone"
|
|
121
126
|
},
|
|
122
|
-
|
|
127
|
+
s && {
|
|
123
128
|
label: n("address"),
|
|
124
|
-
value: this.parseStreet(
|
|
125
|
-
formKey:
|
|
129
|
+
value: this.parseStreet(s.street, s.city, s.zip),
|
|
130
|
+
formKey: s.formKey
|
|
126
131
|
}
|
|
127
132
|
], p = [];
|
|
128
133
|
return v && p.push({
|
|
129
134
|
label: this._document.$t("chapters.parties.fTax"),
|
|
130
135
|
value: v
|
|
131
|
-
}),
|
|
136
|
+
}), f && p.push({
|
|
132
137
|
label: this._document.$t("chapters.parties.allRiskAndLiability"),
|
|
133
|
-
value:
|
|
138
|
+
value: f
|
|
134
139
|
}), {
|
|
135
140
|
main: g,
|
|
136
141
|
checks: p
|
|
@@ -139,13 +144,13 @@ const S = x.exports, F = {
|
|
|
139
144
|
}
|
|
140
145
|
},
|
|
141
146
|
created() {
|
|
142
|
-
|
|
147
|
+
h(this, "_value.parties", "") !== "clients" && (this.type = "company");
|
|
143
148
|
},
|
|
144
149
|
methods: {
|
|
145
150
|
openModal({ formKey: n, index: e } = {}) {
|
|
146
151
|
var i;
|
|
147
152
|
let t = "name", a = !1;
|
|
148
|
-
n && (t = n, ["name", "email", "cellphone", "reference"].includes(n) || (a = !0)), this.$modal.show(
|
|
153
|
+
n && (t = n, ["name", "email", "cellphone", "reference"].includes(n) || (a = !0)), this.$modal.show(P[this.type], {
|
|
149
154
|
inputFocusOnMount: t,
|
|
150
155
|
forceExpand: a,
|
|
151
156
|
documentClientIndex: e,
|
|
@@ -178,46 +183,48 @@ const S = x.exports, F = {
|
|
|
178
183
|
}
|
|
179
184
|
}
|
|
180
185
|
};
|
|
181
|
-
var
|
|
186
|
+
var z = function() {
|
|
182
187
|
var e = this, t = e._self._c;
|
|
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" }
|
|
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": {
|
|
184
191
|
class: "text-primary-500"
|
|
185
192
|
}, "icon-left": "plus-circle" }, on: { click: function(a) {
|
|
186
193
|
return e.openModal({ index: e.parties.length });
|
|
187
194
|
} } }, [e._v(" " + e._s(e.$t("components:account.documentForm.clients.add.extra")) + " ")]), t("CDropdownItem", { attrs: { separator: "" } }), e._l(e.parties, function(a, i) {
|
|
188
195
|
return t("CDropdownItem", { key: i, attrs: { "icon-props": {
|
|
189
196
|
class: "text-gray-400"
|
|
190
|
-
}, "icon-left": "edit" }, on: { click: function(
|
|
197
|
+
}, "icon-left": "edit" }, on: { click: function(o) {
|
|
191
198
|
return e.openModal({ index: i });
|
|
192
199
|
} } }, [e._v(" " + e._s(a.type === "individual" ? a.name : a.companyName || a.name) + " ")]);
|
|
193
200
|
})], 2) : e._e()], 1) : e._e(), e.viewSettings.canEdit ? [e.type === "client" && !(e.parties && e.parties.length) ? t("AddClientCallout", { on: { add: function(a) {
|
|
194
201
|
return e.openModal({ index: e.parties.length });
|
|
195
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) {
|
|
196
|
-
return t("div", { key: i, staticClass: "party-wrapper print-avoid-break-inside", on: { "&mouseover": function(
|
|
203
|
+
return t("div", { key: i, staticClass: "party-wrapper print-avoid-break-inside", on: { "&mouseover": function(o) {
|
|
197
204
|
e.hoverIndex = i;
|
|
198
|
-
}, "&mouseleave": function(
|
|
205
|
+
}, "&mouseleave": function(o) {
|
|
199
206
|
e.hoverIndex = null;
|
|
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(
|
|
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) {
|
|
201
208
|
return e.openModal({ index: i });
|
|
202
|
-
} } }), t("CButton", { attrs: { circle: "", size: "small", icon: "x", type: "none", pattern: "tertiary" }, on: { click: function(
|
|
209
|
+
} } }), t("CButton", { attrs: { circle: "", size: "small", icon: "x", type: "none", pattern: "tertiary" }, on: { click: function(o) {
|
|
203
210
|
return e.removeClient(i);
|
|
204
|
-
} } })], 1) : e._e(), e._l(a.main, function(
|
|
205
|
-
return [
|
|
206
|
-
e.viewSettings.canEdit && e.openModal({ formKey:
|
|
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 });
|
|
207
214
|
} } }) : e._e()];
|
|
208
|
-
}), a.checks && a.checks.length ? t("div", { staticStyle: { width: "100%", "padding-top": "calc(1 * var(--rem))" } }, e._l(a.checks, function(
|
|
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(
|
|
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))])]);
|
|
210
217
|
}), 0) : e._e()], 2);
|
|
211
218
|
})], 2);
|
|
212
|
-
},
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
219
|
+
}, E = [], K = /* @__PURE__ */ _(
|
|
220
|
+
M,
|
|
221
|
+
z,
|
|
222
|
+
E,
|
|
216
223
|
!1,
|
|
217
224
|
null,
|
|
218
|
-
"
|
|
225
|
+
"ffe04187"
|
|
219
226
|
);
|
|
220
|
-
const
|
|
227
|
+
const V = K.exports;
|
|
221
228
|
export {
|
|
222
|
-
|
|
229
|
+
V as default
|
|
223
230
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { m as
|
|
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 t } from "./mapFormMixin-BZf4RJIE.js";
|
|
2
|
+
import { I as a } from "./InputToggleRow-DLFIMIdx.js";
|
|
3
|
+
import { C as c } from "./CPriceInput-C2y_3PM7.js";
|
|
4
|
+
import { n as o } from "./main-U22_wtg0.js";
|
|
5
5
|
const i = {
|
|
6
6
|
i18nOptions: {
|
|
7
7
|
namespaces: "ExtraWorkConstructionPricingListEdit",
|
|
@@ -27,7 +27,7 @@ const i = {
|
|
|
27
27
|
CPriceInput: c
|
|
28
28
|
},
|
|
29
29
|
mixins: [
|
|
30
|
-
|
|
30
|
+
t(
|
|
31
31
|
[
|
|
32
32
|
"workPrice",
|
|
33
33
|
"managementPrice",
|
|
@@ -44,26 +44,30 @@ var s = function() {
|
|
|
44
44
|
"_common:unitType.hour"
|
|
45
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
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(
|
|
48
|
-
e.workPrice = e._n(
|
|
47
|
+
}, proxy: !0 }]), model: { value: e.workPrice, callback: function(n) {
|
|
48
|
+
e.workPrice = e._n(n);
|
|
49
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
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(
|
|
52
|
-
e.managementPrice = e._n(
|
|
53
|
-
}, expression: "managementPrice" } })], 1), r("InputToggleRow", { attrs: { "display-value": e.entrepreneurMarkupPercentage ? `${e.entrepreneurMarkupPercentage} %` : e.$t("_common:add"), label: e.$t("entrepreneurMarkupPercentage") } }, [r("CInput", {
|
|
54
|
-
|
|
55
|
-
},
|
|
56
|
-
e.
|
|
57
|
-
}, expression: "
|
|
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);
|
|
58
62
|
}, u = [], m = /* @__PURE__ */ o(
|
|
59
63
|
i,
|
|
60
64
|
s,
|
|
61
65
|
u,
|
|
62
66
|
!1,
|
|
63
67
|
null,
|
|
64
|
-
"
|
|
68
|
+
"4647f895"
|
|
65
69
|
);
|
|
66
|
-
const
|
|
70
|
+
const k = m.exports;
|
|
67
71
|
export {
|
|
68
|
-
|
|
72
|
+
k as default
|
|
69
73
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { m as r } from "./mapFormMixin-
|
|
2
|
-
import { I as n } from "./InputToggleRow-
|
|
3
|
-
import { B as s } from "./BaseDatePicker-
|
|
4
|
-
import { n as l } from "./main-
|
|
1
|
+
import { m as r } from "./mapFormMixin-BZf4RJIE.js";
|
|
2
|
+
import { I as n } from "./InputToggleRow-DLFIMIdx.js";
|
|
3
|
+
import { B as s } from "./BaseDatePicker-DxL2l3QC.js";
|
|
4
|
+
import { n as l } from "./main-U22_wtg0.js";
|
|
5
5
|
const c = {
|
|
6
6
|
i18nOptions: {
|
|
7
7
|
namespaces: "estimatedTimeStartEnd",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { u, Y as d, x as l, n as _ } from "./main-U22_wtg0.js";
|
|
2
2
|
const p = /* @__PURE__ */ u({
|
|
3
3
|
__name: "Index",
|
|
4
4
|
props: {
|
|
@@ -33,7 +33,7 @@ var f = function() {
|
|
|
33
33
|
m,
|
|
34
34
|
!1,
|
|
35
35
|
null,
|
|
36
|
-
"
|
|
36
|
+
"566e86c8"
|
|
37
37
|
);
|
|
38
38
|
const C = v.exports;
|
|
39
39
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { m as r } from "./mapFormMixin-
|
|
2
|
-
import { n } from "./main-
|
|
1
|
+
import { m as r } from "./mapFormMixin-BZf4RJIE.js";
|
|
2
|
+
import { n } from "./main-U22_wtg0.js";
|
|
3
3
|
const s = {
|
|
4
4
|
name: "WorkAddressText",
|
|
5
5
|
components: {
|
|
6
|
-
Read: () => import("./Index-
|
|
6
|
+
Read: () => import("./Index-Cf45UGbc.js")
|
|
7
7
|
},
|
|
8
8
|
mixins: [r(["street", "city", "zip"])]
|
|
9
9
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { m as r } from "./mapFormMixin-
|
|
2
|
-
import { f as l } from "./focusDrawerMixin-
|
|
3
|
-
import { d as c } from "./debounce-
|
|
1
|
+
import { m as r } from "./mapFormMixin-BZf4RJIE.js";
|
|
2
|
+
import { f as l } from "./focusDrawerMixin-khaScuSu.js";
|
|
3
|
+
import { d as c } from "./debounce-DLiv1sQX.js";
|
|
4
4
|
import { s as m, p as u } from "./splitpanes-BHUVsCZF.js";
|
|
5
|
-
import { n } from "./main-
|
|
5
|
+
import { n } from "./main-U22_wtg0.js";
|
|
6
6
|
const d = {
|
|
7
7
|
name: "HeaderItems",
|
|
8
8
|
components: {
|
|
9
|
-
MediaWrapper: () => import("./MediaWrapper-
|
|
10
|
-
ContentWrapper: () => import("./ContentWrapper-
|
|
9
|
+
MediaWrapper: () => import("./MediaWrapper-BgWmA3kS.js"),
|
|
10
|
+
ContentWrapper: () => import("./ContentWrapper-Bs3nrJda.js"),
|
|
11
11
|
Splitpanes: m,
|
|
12
12
|
Pane: u
|
|
13
13
|
},
|
|
@@ -67,13 +67,13 @@ var h = function() {
|
|
|
67
67
|
_,
|
|
68
68
|
!1,
|
|
69
69
|
null,
|
|
70
|
-
"
|
|
70
|
+
"f9074e87"
|
|
71
71
|
);
|
|
72
72
|
const v = p.exports, f = {
|
|
73
73
|
name: "HeaderBlock",
|
|
74
74
|
components: {
|
|
75
|
-
PriceHeader: () => import("./PriceHeader-
|
|
76
|
-
HeaderSettings: () => import("./HeaderSettings-
|
|
75
|
+
PriceHeader: () => import("./PriceHeader-NdFa0Sqs.js"),
|
|
76
|
+
HeaderSettings: () => import("./HeaderSettings-CoKK5Mbt.js"),
|
|
77
77
|
HeaderItems: v
|
|
78
78
|
},
|
|
79
79
|
mixins: [r(["header"]), l],
|
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
import { w as c } from "./CDropdownItem-
|
|
2
|
-
import { g as a, h as m, n as d, b as l, e as u } from "./main-
|
|
1
|
+
import { w as c } from "./CDropdownItem-DiLisSei.js";
|
|
2
|
+
import { g as a, h as m, n as d, b as l, e as u } from "./main-U22_wtg0.js";
|
|
3
3
|
import { s as p, i as v } from "./dom-CJxkno7i.js";
|
|
4
|
-
import { D as _ } from "./DocModalBase-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { a as h } from "./
|
|
8
|
-
|
|
4
|
+
import { D as _ } from "./DocModalBase-DkfUBRi3.js";
|
|
5
|
+
import { C as g } from "./CFormField-DcZVdj3a.js";
|
|
6
|
+
import { v as n } from "./index-C1Ngv-v3.js";
|
|
7
|
+
import { a as h } from "./vuex.esm-DKGl8mcw.js";
|
|
8
|
+
import { a as C } from "./answerDocumentMixin-D12xJRhx.js";
|
|
9
|
+
const w = {
|
|
9
10
|
i18nOptions: {
|
|
10
11
|
namespaces: "components",
|
|
11
12
|
keyPrefix: "document.propertyDesignationModal"
|
|
12
13
|
},
|
|
13
14
|
components: {
|
|
14
|
-
DocModalBase: _
|
|
15
|
+
DocModalBase: _,
|
|
16
|
+
CField: g
|
|
15
17
|
},
|
|
16
18
|
mixins: [c],
|
|
17
19
|
props: {
|
|
@@ -99,7 +101,7 @@ const C = {
|
|
|
99
101
|
).borderRadius;
|
|
100
102
|
},
|
|
101
103
|
methods: {
|
|
102
|
-
...
|
|
104
|
+
...h({
|
|
103
105
|
putCurrentDoc: a.PUT_CURRENT_PUBLIC_DOCUMENT,
|
|
104
106
|
reloadCurrentDocument: a.RELOAD_CURRENT_DOCUMENT
|
|
105
107
|
}),
|
|
@@ -125,7 +127,7 @@ const C = {
|
|
|
125
127
|
}
|
|
126
128
|
}
|
|
127
129
|
};
|
|
128
|
-
var
|
|
130
|
+
var f = function() {
|
|
129
131
|
var e = this, t = e._self._c;
|
|
130
132
|
return t("doc-modal-base", { ref: "root", class: [{ "full-screen": e.mq === "sm" }] }, [e.fullScreen ? t("CButton", { staticClass: "absolute right-4 top-4 z-50", attrs: { icon: "x", circle: "" }, on: { click: function(s) {
|
|
131
133
|
return e.$emit("close");
|
|
@@ -148,15 +150,15 @@ var w = function() {
|
|
|
148
150
|
}, expression: "condominiumOrgNo" } })], 1) : e._e(), t("div", [t("CButton", { attrs: { type: "secondary", wide: "" }, on: { click: e.updateClientPropertyDesignation } }, [e._v(" " + e._s(e.$t("_common:save")) + " ")])], 1)], 1)]) : e._e(), e.view === "complete" ? t("div", { key: 3 }, [t("div", { staticClass: "flex flex-col items-center justify-center text-center" }, [t("div", { staticClass: "bg-primary-50 mb-4 flex h-12 w-12 items-center justify-center rounded-full" }, [t("CIcon", { staticClass: "text-primary-500", attrs: { type: "check" } })], 1), t("div", { staticClass: "mb-1 text-base font-semibold" }, [e._v(" " + e._s(e.$t("savedTitle")) + " ")]), t("div", { staticClass: "mb-6 text-base text-gray-700" }, [e._v(" " + e._s(e.$t("savedSubTitle", { senderName: e.senderName })) + " ")]), t("div", { staticClass: "mt-4 w-full" }, [t("CButton", { attrs: { type: "secondary", wide: "" }, on: { click: function(s) {
|
|
149
151
|
return e.$emit("close");
|
|
150
152
|
} } }, [e._v(" " + e._s(e.$t("_common:close")) + " ")])], 1)])]) : e._e()])], 1);
|
|
151
|
-
},
|
|
152
|
-
C,
|
|
153
|
+
}, y = [], $ = /* @__PURE__ */ d(
|
|
153
154
|
w,
|
|
154
155
|
f,
|
|
156
|
+
y,
|
|
155
157
|
!1,
|
|
156
158
|
null,
|
|
157
159
|
null
|
|
158
160
|
);
|
|
159
|
-
const
|
|
161
|
+
const b = $.exports, x = {
|
|
160
162
|
i18nOptions: {
|
|
161
163
|
namespaces: "docAnswer",
|
|
162
164
|
messages: {
|
|
@@ -169,7 +171,7 @@ const $ = y.exports, b = {
|
|
|
169
171
|
}
|
|
170
172
|
},
|
|
171
173
|
name: "DocumentAnswerRead",
|
|
172
|
-
mixins: [
|
|
174
|
+
mixins: [C({ documentKey: "_document" }), c],
|
|
173
175
|
inject: {
|
|
174
176
|
isPdf: {
|
|
175
177
|
default: !1
|
|
@@ -246,7 +248,7 @@ const $ = y.exports, b = {
|
|
|
246
248
|
},
|
|
247
249
|
showPropertyDesignation() {
|
|
248
250
|
this.$modal.show(
|
|
249
|
-
|
|
251
|
+
b,
|
|
250
252
|
{
|
|
251
253
|
senderName: this._document.sender.user.name,
|
|
252
254
|
propertyDesignation: this.propertyDesignation,
|
|
@@ -264,7 +266,7 @@ const $ = y.exports, b = {
|
|
|
264
266
|
}
|
|
265
267
|
}
|
|
266
268
|
};
|
|
267
|
-
var
|
|
269
|
+
var H = function() {
|
|
268
270
|
var s, o;
|
|
269
271
|
var e = this, t = e._self._c;
|
|
270
272
|
return e._document.answerActions.showActions && !e.isPdf ? t("div", { staticStyle: { padding: "calc(3 * var(--rem)) 0" } }, [t("div", { ref: "answerButtons", staticClass: "flex w-full justify-center" }, [t("transition", { attrs: { name: "fade", mode: "out-in" } }, [((o = (s = e._document.viewer) == null ? void 0 : s.answerMethod) == null ? void 0 : o.accept) === "inPerson" ? t("div", { key: 0, staticStyle: { "max-width": "720px", margin: "0 auto", padding: "0 calc(3 * var(--rem))" }, style: e.mq === "sm" ? { padding: "0 calc(1.5 * var(--rem))" } : null }, [e._v(" " + e._s(e._document.$t("chapters.answerButtons.inPersonSignatureHint")) + " "), t(e._document.sender.user.email ? "a" : "span", { tag: "component", attrs: { href: `mailto:${e._document.sender.user.email}` } }, [e._v(" " + e._s(e._document.sender.company.name || e._document.$t("theSender")) + " ")])], 1) : (e._document.answerActions.canAnswer || e.isPreview) && e._document.answerActions.showActions ? t("div", { key: 1, staticClass: "flex w-full justify-center" }, [e.customHtmlDeny ? t("div", { domProps: { innerHTML: e._s(e.customHtmlDeny) }, on: { click: function(r) {
|
|
@@ -278,15 +280,15 @@ var x = function() {
|
|
|
278
280
|
} } }, [e._v(" " + e._s(e._document.$t("sign").capitalize()) + " ")])], 1) : e._document.answerActions.hasAnswered && e._document.answerActions.waitingForOthers ? t("div", { key: 2, staticClass: "text-center" }, [t("div", { staticStyle: { "font-weight": "600", "font-size": "calc(calc(1 * var(--rem)) + 2px)", "margin-bottom": "calc(0.5 * var(--rem))" } }, [e._v(" " + e._s(e._document.$t("chapters.answerButtons.youHave")) + " "), t("span", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: `${e.$formatDate(e._document.viewer.answer.didAnswerAt, "Pp")}`, expression: "\n `${$formatDate(_document.viewer.answer.didAnswerAt, 'Pp')}`\n " }], staticStyle: { "text-decoration": "underline" } }, [e._v(e._s(e._document.viewer.answer.didAccept ? e._document.$t("approved") : e._document.$t("denied")))]), e._v(" " + e._s(" " + e._document.$t("theDocument")) + ". ")]), t("div", [e._v(" " + e._s(e._document.$t("chapters.answerButtons.waitingDescription", { remaining: e._document.remainingSignatures })) + " ")])]) : e._document.status === "accepted" ? t("div", { key: 3 }, [t("div", { staticClass: "callout accepted" }, [t("div", { staticClass: "title" }, [e._v(" " + e._s(e._document.$t("chapters.answerButtons.approveTitle")) + " ")]), t("div", [e._v(" " + e._s(e._document.$t("chapters.answerButtons.approveDescription", { sender: e._document.sender.company.name || e._document.$t("theSender") })) + " ")])])]) : e._document.status === "denied" ? t("div", { key: 4, staticClass: "callout denied" }, [t("div", { staticClass: "title" }, [e._v(" " + e._s(e._document.$t("chapters.answerButtons.denyTitle")) + " ")]), t("div", [e._v(" " + e._s(e._document.$t("chapters.answerButtons.denyDescription", { sender: e._document.sender.company.name || e._document.$t("theSender") })) + " ")])]) : e._document.status === "expired" ? t("div", { key: 5, staticClass: "callout expired" }, [t("div", { staticClass: "title" }, [e._v(" " + e._s(e._document.$t("chapters.answerButtons.expiredTitle")) + " ")]), t("div", [e._v(" " + e._s(e._document.$t("chapters.answerButtons.expiredDescription", { sender: e._document.sender.company.name || e._document.$t("theSender") })) + " ")])]) : e._e()])], 1), e._document.status === "accepted" && e.allowPropertyDesignation && e._document.answerActions.hasAnswered ? t("div", { staticClass: "flex justify-center" }, [t("div", { staticClass: "answer button accept", staticStyle: { "padding-left": "calc(1.5 * var(--rem))", "padding-right": "calc(1.5 * var(--rem))" }, on: { click: function(r) {
|
|
279
281
|
return e.showPropertyDesignation();
|
|
280
282
|
} } }, [e._v(" " + e._s(e._document.$t(`chapters.answerButtons.${e.propertyDesignation ? "editPropDes" : "enterPropDes"}`)) + " ")])]) : e._e()]) : e._e();
|
|
281
|
-
},
|
|
282
|
-
b,
|
|
283
|
+
}, D = [], I = /* @__PURE__ */ d(
|
|
283
284
|
x,
|
|
284
285
|
H,
|
|
286
|
+
D,
|
|
285
287
|
!1,
|
|
286
288
|
null,
|
|
287
|
-
"
|
|
289
|
+
"1a7731c6"
|
|
288
290
|
);
|
|
289
|
-
const
|
|
291
|
+
const B = I.exports;
|
|
290
292
|
export {
|
|
291
|
-
|
|
293
|
+
B as default
|
|
292
294
|
};
|
|
@@ -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-BZf4RJIE.js";
|
|
2
|
+
import { n as t } from "./main-U22_wtg0.js";
|
|
3
3
|
const a = {
|
|
4
4
|
name: "ExtraWorkConstructionPricingList",
|
|
5
5
|
components: {
|
|
6
|
-
Read: () => import("./Index-
|
|
7
|
-
Edit: () => import("./Index-
|
|
6
|
+
Read: () => import("./Index-q3gLm4b1.js"),
|
|
7
|
+
Edit: () => import("./Index-BiGT3iEX.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
|
+
"5dbb0a73"
|
|
28
28
|
);
|
|
29
29
|
const _ = i.exports;
|
|
30
30
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n,
|
|
2
|
-
const
|
|
1
|
+
import { n, D as l } from "./main-U22_wtg0.js";
|
|
2
|
+
const p = {
|
|
3
3
|
name: "MultiGroupPricing",
|
|
4
4
|
props: {
|
|
5
5
|
_document: {
|
|
@@ -9,7 +9,7 @@ const d = {
|
|
|
9
9
|
},
|
|
10
10
|
computed: {
|
|
11
11
|
docPriceItems() {
|
|
12
|
-
const { total:
|
|
12
|
+
const { total: a, subTotal: t } = this._document.prices || {};
|
|
13
13
|
return [
|
|
14
14
|
{
|
|
15
15
|
label: this._document.$t("price.net"),
|
|
@@ -17,14 +17,14 @@ const d = {
|
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
label: this._document.$t("price.total"),
|
|
20
|
-
value: this.priceFormat(
|
|
20
|
+
value: this.priceFormat(a)
|
|
21
21
|
}
|
|
22
22
|
];
|
|
23
23
|
},
|
|
24
24
|
pkgGroups() {
|
|
25
25
|
var t;
|
|
26
26
|
return (((t = this._document.packageGroups) == null ? void 0 : t.groups) || []).map(({ title: e, prices: r, selectedPackages: i }) => {
|
|
27
|
-
const { total:
|
|
27
|
+
const { total: c, subTotal: s } = r || {};
|
|
28
28
|
return {
|
|
29
29
|
title: e,
|
|
30
30
|
noOfSelectedPackages: i.length,
|
|
@@ -35,7 +35,7 @@ const d = {
|
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
label: this._document.$t("price.total"),
|
|
38
|
-
value: this.priceFormat(
|
|
38
|
+
value: this.priceFormat(c)
|
|
39
39
|
}
|
|
40
40
|
]
|
|
41
41
|
};
|
|
@@ -43,8 +43,8 @@ const d = {
|
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
methods: {
|
|
46
|
-
priceFormat(
|
|
47
|
-
return l(
|
|
46
|
+
priceFormat(a, t) {
|
|
47
|
+
return l(a, {
|
|
48
48
|
currency: this._document.currency,
|
|
49
49
|
showZero: !0,
|
|
50
50
|
decimals: 2,
|
|
@@ -54,22 +54,22 @@ const d = {
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
|
-
var
|
|
57
|
+
var d = function() {
|
|
58
58
|
var t = this, e = t._self._c;
|
|
59
59
|
return e("div", [t._l(t.pkgGroups, function(r, i) {
|
|
60
|
-
return e("div", { key: i, staticStyle: { padding: "calc(0.5 * var(--rem)) 0" } }, [e("div", { staticStyle: { display: "flex", "font-size": "calc(1.1 * var(--rem))", "font-weight": "600", "padding-bottom": "3px", "border-bottom": "1px solid rgba(0, 0, 0, 0.2)" } }, [t._v(" " + t._s(r.title) + " "), e("span", { staticClass: "text-gray-400", staticStyle: { "margin-left": "auto", "font-size": "calc(1 * var(--rem))" } }, [t._v(" " + t._s(r.noOfSelectedPackages) + " paket ")])]), t._l(r.priceItems, function({ label:
|
|
61
|
-
return e("div", { key:
|
|
60
|
+
return e("div", { key: i, staticStyle: { padding: "calc(0.5 * var(--rem)) 0" } }, [e("div", { staticStyle: { display: "flex", "font-size": "calc(1.1 * var(--rem))", "font-weight": "600", "padding-bottom": "3px", "border-bottom": "1px solid rgba(0, 0, 0, 0.2)" } }, [t._v(" " + t._s(r.title) + " "), e("span", { staticClass: "text-gray-400", staticStyle: { "margin-left": "auto", "font-size": "calc(1 * var(--rem))" } }, [t._v(" " + t._s(r.noOfSelectedPackages) + " paket ")])]), t._l(r.priceItems, function({ label: c, value: s }, o) {
|
|
61
|
+
return e("div", { key: c + o, staticStyle: { display: "flex", "justify-content": "space-between", "font-size": "calc(1 * var(--rem))" } }, [e("div", [t._v(t._s(c))]), e("div", [t._v(t._s(s))])]);
|
|
62
62
|
})], 2);
|
|
63
|
-
}), e("div", { staticStyle: { "margin-top": "calc(1 * var(--rem))" } }, [e("div", { staticStyle: { "font-size": "calc(1.1 * var(--rem))", "font-weight": "600", "padding-bottom": "3px", "border-bottom": "1px solid rgba(0, 0, 0, 0.2)" } }, [t._v(" Doc summary ")]), t._l(t.docPriceItems, function({ label: r, value: i },
|
|
64
|
-
return e("div", { key:
|
|
63
|
+
}), e("div", { staticStyle: { "margin-top": "calc(1 * var(--rem))" } }, [e("div", { staticStyle: { "font-size": "calc(1.1 * var(--rem))", "font-weight": "600", "padding-bottom": "3px", "border-bottom": "1px solid rgba(0, 0, 0, 0.2)" } }, [t._v(" Doc summary ")]), t._l(t.docPriceItems, function({ label: r, value: i }, c) {
|
|
64
|
+
return e("div", { key: c + r, staticStyle: { display: "flex", "justify-content": "space-between", "font-size": "calc(1 * var(--rem))" } }, [e("div", [t._v(t._s(r))]), e("div", [t._v(t._s(i))])]);
|
|
65
65
|
})], 2)], 2);
|
|
66
66
|
}, m = [], u = /* @__PURE__ */ n(
|
|
67
|
-
d,
|
|
68
67
|
p,
|
|
68
|
+
d,
|
|
69
69
|
m,
|
|
70
70
|
!1,
|
|
71
71
|
null,
|
|
72
|
-
"
|
|
72
|
+
"e8731f43"
|
|
73
73
|
);
|
|
74
74
|
const v = u.exports;
|
|
75
75
|
export {
|