@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.
Files changed (137) hide show
  1. package/README.md +43 -43
  2. package/dist/{AddClientCallout-CSxN7XFh.js → AddClientCallout-CrZF5j7A.js} +15 -13
  3. package/dist/{AnswerModal-DEwMlsT8.js → AnswerModal-C3r9vyki.js} +71 -71
  4. package/dist/{AttachmentItem-R7YMKqQ2.js → AttachmentItem-BVXrxCnv.js} +20 -13
  5. package/dist/{BaseDatePicker-Bd1maWgF.js → BaseDatePicker-DxL2l3QC.js} +561 -557
  6. package/dist/{BaseUpload-C9Jd1JBo.js → BaseUpload-B7259IaQ.js} +3 -3
  7. package/dist/{BlockMedia-CUCZYVdZ.js → BlockMedia-BSKtZMwa.js} +2 -2
  8. package/dist/{CCallout-_k7FPbsE.js → CCallout-BNvM6gNJ.js} +4 -5
  9. package/dist/{CCurrencyDropdown-DejfeYVY.js → CCurrencyDropdown-xmqmb8gW.js} +24 -20
  10. package/dist/{CDropdownItem-b6ZzOnv-.js → CDropdownItem-DiLisSei.js} +139 -37
  11. package/dist/{CFormField-BjGICSv5.js → CFormField-DcZVdj3a.js} +3 -4
  12. package/dist/{CPhoneFormat-Bf2fgYtr.js → CPhoneFormat-BeYxRN0i.js} +1 -1
  13. package/dist/CPhoneInput-UzZkxbC6.js +138 -0
  14. package/dist/{CPriceInput-myrETXfz.js → CPriceInput-C2y_3PM7.js} +20 -16
  15. package/dist/CSelect-BmP1UsQA.js +91 -0
  16. package/dist/CSkeleton-BNbft-NE.js +55 -0
  17. package/dist/ClientAutocomplete-BnredOme.js +438 -0
  18. package/dist/{ClientModal-DSmFJ9bu.js → ClientModal-DNcf4APF.js} +92 -51
  19. package/dist/{ColorPicker-B1MJicqo.js → ColorPicker-BupC4jvI.js} +2 -2
  20. package/dist/{CompanyModal-BXs3aAYm.js → CompanyModal-Bh8mEHE1.js} +25 -19
  21. package/dist/{ContentWrapper-BKWZy4Bp.js → ContentWrapper-Bs3nrJda.js} +63 -55
  22. package/dist/CoverBlockSettings-WYZsCdky.js +659 -0
  23. package/dist/{DocAnswer-CaoTYUNh.js → DocAnswer--FfsnnTB.js} +2 -2
  24. package/dist/{DocDetails-C9EEpNg2.js → DocDetails-Ce7bj-qO.js} +43 -39
  25. package/dist/{DocForm-Dww8Ust9.js → DocForm-FR_Vlq_C.js} +801 -755
  26. package/dist/{DocFormSend-DKAqaT50.js → DocFormSend-DcSv3JNg.js} +18 -15
  27. package/dist/{DocLinks-DFUO03dk.js → DocLinks-Bvhc62aJ.js} +2 -2
  28. package/dist/{DocModalBase-QZosNhiK.js → DocModalBase-DkfUBRi3.js} +2 -2
  29. package/dist/{DocPrint--T278pDE.js → DocPrint-BrKY6rOy.js} +3 -3
  30. package/dist/{DocReceipt-CPg45_I7.js → DocReceipt-oGrM6t_k.js} +29 -22
  31. package/dist/{DocSendReminder-DQAaiUrs.js → DocSendReminder-veEC_yHK.js} +19 -16
  32. package/dist/{DocTextEditor-CM1f8eMD.js → DocTextEditor-CNRwxPEx.js} +72 -70
  33. package/dist/{DocTimeline-Ce0OZgGP.js → DocTimeline-e2Xf_QZ7.js} +38 -34
  34. package/dist/{DocumentClient-DHU-Rg3r.js → DocumentClient-Dx4Uyxkh.js} +5 -5
  35. package/dist/{DocumentLayout-GYCBw2F_.js → DocumentLayout-DmjmsTcx.js} +1506 -1538
  36. package/dist/{DocumentLogotype-Cilc0ElE.js → DocumentLogotype-ddYHM9wn.js} +25 -20
  37. package/dist/{DocumentVoided-BH8pkv85.js → DocumentVoided-WCk7XuxH.js} +1 -1
  38. package/dist/{EmbedInput-lMSVQSey.js → EmbedInput-CMueXdFs.js} +25 -21
  39. package/dist/{EmbedSettings-D65Y2AZL.js → EmbedSettings-BRuLCWr0.js} +13 -11
  40. package/dist/{ErrorCallout-BBNHzuhf.js → ErrorCallout-CDtZceLU.js} +6 -6
  41. package/dist/{FilePreviewModal-iPIuaIor.js → FilePreviewModal-BzAUuY58.js} +3 -3
  42. package/dist/Flag-DkJgyDQK.js +46 -0
  43. package/dist/{HeaderSettings-WKUIBCfF.js → HeaderSettings-CoKK5Mbt.js} +159 -110
  44. package/dist/{ImageSelectModal-BTMFM3o9.js → ImageSelectModal-De64vGSr.js} +15 -13
  45. package/dist/{ImageUploadWrapper-BaLjUZF5.js → ImageUploadWrapper-CE6KTze0.js} +3 -3
  46. package/dist/{Index-DS1PwlDq.js → Index-50KxppUS.js} +4 -4
  47. package/dist/{Index-DJeZiYxr.js → Index-B7vVIRFn.js} +7 -7
  48. package/dist/{Index-ivhPuQy5.js → Index-BUQ75xOU.js} +6 -6
  49. package/dist/{Index-BUEXgHEE.js → Index-BVKCCkQY.js} +57 -50
  50. package/dist/{Index-BBTn35Kj.js → Index-BiGT3iEX.js} +21 -17
  51. package/dist/{Index-B-UWz1IM.js → Index-BoDKKVvL.js} +4 -4
  52. package/dist/{Index-DrSgVUyo.js → Index-BotY9nbP.js} +2 -2
  53. package/dist/{Index-B-YqdbQX.js → Index-BwaJW9CY.js} +3 -3
  54. package/dist/{Index-BepvyGqo.js → Index-ByqCyUgx.js} +9 -9
  55. package/dist/{Index-Bsv15ctO.js → Index-C7pge7E9.js} +23 -21
  56. package/dist/{Index-CEaZgZqg.js → Index-CBRJ-AZi.js} +2 -2
  57. package/dist/{Index-GrrsUUz1.js → Index-CFQMtx5w.js} +5 -5
  58. package/dist/{Index-CtQo0b8t.js → Index-CJKyHWiO.js} +15 -15
  59. package/dist/{Index-Dv1fkHWQ.js → Index-CK_5l1kP.js} +2 -2
  60. package/dist/{Index-BVt3pj58.js → Index-CLc_11Bc.js} +276 -232
  61. package/dist/{Index-cPIqnY80.js → Index-CTokKHJA.js} +5 -5
  62. package/dist/Index-Cf45UGbc.js +28 -0
  63. package/dist/{Index-B51tj7qY.js → Index-CfLPq-yA.js} +5 -5
  64. package/dist/{Index-B_ta4yT_.js → Index-Ci7y3O0G.js} +7 -7
  65. package/dist/{Index-ZKkQzVOj.js → Index-CmV8oF4Q.js} +4 -4
  66. package/dist/{Index-C6tGNKAk.js → Index-CoRuYEYW.js} +5 -5
  67. package/dist/Index-CtKNyVUB.js +56 -0
  68. package/dist/{Index-rL3fz1Ew.js → Index-DCf6_Zd2.js} +2 -2
  69. package/dist/{Index-CEHhYmLe.js → Index-DGdlZzVO.js} +7 -7
  70. package/dist/{Index-B5XaBVyJ.js → Index-DbKB8sTh.js} +18 -12
  71. package/dist/{Index-9PMrT3eB.js → Index-DgBOq2MJ.js} +3 -3
  72. package/dist/{Index-BBOJRRgx.js → Index-DvNxOHHu.js} +6 -6
  73. package/dist/{Index-DS7xellB.js → Index-M2Mce2_m.js} +124 -123
  74. package/dist/{Index-2PGn8Pnv.js → Index-QMkjG7hk.js} +4 -4
  75. package/dist/{Index-oKRUWCcJ.js → Index-QmX5pv-V.js} +17 -15
  76. package/dist/{Index-0aZtDWyk.js → Index-h5xDFYM9.js} +4 -4
  77. package/dist/{Index-CtZMlBfK.js → Index-hkGYloih.js} +5 -5
  78. package/dist/{Index-DK3b6Cv-.js → Index-q3gLm4b1.js} +6 -6
  79. package/dist/{Index-BQ3kapHk.js → Index-sqI1TF7Z.js} +2 -2
  80. package/dist/{InputToggleRow-CJF0vwk3.js → InputToggleRow-DLFIMIdx.js} +2 -2
  81. package/dist/{ManualPopover-CEF7LMpn.js → ManualPopover-Cf8DotlW.js} +13 -11
  82. package/dist/{MediaWrapper-CM6vWCoZ.js → MediaWrapper-BgWmA3kS.js} +3 -3
  83. package/dist/{NotBindingText-Cee9yA0M.js → NotBindingText-DhsHxvkX.js} +2 -2
  84. package/dist/{PackageGroup-CFXogKPM.js → PackageGroup-EbOSxv69.js} +26 -20
  85. package/dist/PdfTerms-im6uTd5E.js +31 -0
  86. package/dist/{PdfViewer-Cd0Jm2VB.js → PdfViewer-DY0rcZjo.js} +22 -22
  87. package/dist/{PlainHtml-CucWAcOU.js → PlainHtml-o031pfp-.js} +1 -1
  88. package/dist/{PriceHeader-DdMZUaq5.js → PriceHeader-NdFa0Sqs.js} +15 -15
  89. package/dist/{SearchApi-knNqVduO.js → SearchApi-Bw5E9IPj.js} +2 -2
  90. package/dist/SendForm-BDY5VDkS.js +1023 -0
  91. package/dist/{Setup-7HIAWuiK.js → Setup-BsYqPmOm.js} +1 -1
  92. package/dist/{SmartList-cSmGbybV.js → SmartList-CP2wHig-.js} +1 -1
  93. package/dist/{TermsSettings-CAB-08E3.js → TermsSettings-CUlSayCJ.js} +20 -13
  94. package/dist/{ThemeColorRow-DxcMvBGq.js → ThemeColorRow-D3fav4Sl.js} +14 -12
  95. package/dist/ToggleBinding-B715OVl2.js +42 -0
  96. package/dist/{UploadModal-CvoSMExA.js → UploadModal-THDJ-UNp.js} +6 -6
  97. package/dist/{VideoPlayerInput-X5baUH3q.js → VideoPlayerInput-Cm3KoRnR.js} +15 -11
  98. package/dist/{VideoPlayerSettings-DsIvpufB.js → VideoPlayerSettings-BFAjczuw.js} +3 -3
  99. package/dist/VideoSelectModal-CzO8EMg9.js +104 -0
  100. package/dist/{answerDocumentMixin-B8HB1WAX.js → answerDocumentMixin-D12xJRhx.js} +3 -3
  101. package/dist/{debounce-B2lqFJg2.js → debounce-DLiv1sQX.js} +16 -16
  102. package/dist/{focusDrawerMixin-B2djM7ql.js → focusDrawerMixin-khaScuSu.js} +1 -1
  103. package/dist/{formDrawerState-CchCpZRc.js → formDrawerState-CJ6kjaD_.js} +1 -1
  104. package/dist/{formValidationMixin-Dz9Mabvi.js → formValidationMixin-Bri1WflH.js} +1 -1
  105. package/dist/{index-Dk6sZCYv.js → index-B0Zu30kF.js} +2 -2
  106. package/dist/{index-twnaU4rC.js → index-C1Ngv-v3.js} +1 -1
  107. package/dist/{index-BCrDgR_4.js → index-CMT3coT-.js} +785 -2001
  108. package/dist/{index-H1Kx9sJM.js → index-DJOUQneq.js} +42 -38
  109. package/dist/{index-BaGtbWcA.js → index-DLa3QER7.js} +18 -17
  110. package/dist/{index-kV9OZ5y0.js → index-Dygy9XlG.js} +1 -1
  111. package/dist/index.es.js +10 -10
  112. package/dist/index.umd.js +179 -175
  113. package/dist/{main-CerYX9PA.js → main-U22_wtg0.js} +13008 -11358
  114. package/dist/{mapFormMixin-Hj1Y7rVt.js → mapFormMixin-BZf4RJIE.js} +1 -1
  115. package/dist/omit-RBXmF_Fo.js +31 -0
  116. package/dist/{publicSenderState-t7Gu53cA.js → publicSenderState-DKuvxj4_.js} +1 -1
  117. package/dist/regions-BdZt9Srn.js +1250 -0
  118. package/dist/simplebar.min-Bnrne5ZK.js +71 -0
  119. package/dist/style.css +2 -2
  120. package/dist/{throttle-B8hI9bkk.js → throttle-Fkuqk26x.js} +2 -2
  121. package/dist/{tinycolor-BaK26Ky-.js → tinycolor-BZ8wGctU.js} +1 -1
  122. package/dist/{tippy.esm-BuWRbveV.js → tippy.esm-BJe845c1.js} +246 -240
  123. package/dist/{utils-Pmm0DT8o.js → utils-BOWVR87A.js} +1 -1
  124. package/dist/{vuedraggable.umd-Besz6Tlv.js → vuedraggable.umd-CJL8TWxZ.js} +1 -1
  125. package/package.json +2 -11
  126. package/dist/CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js +0 -1
  127. package/dist/CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js +0 -1
  128. package/dist/ClientAutocomplete-DyXQEfcS.js +0 -78
  129. package/dist/CoverBlockSettings-7Ivt9zN0.js +0 -275
  130. package/dist/Flag-CwnrA4SV.js +0 -114
  131. package/dist/Index-B0pgh8nR.js +0 -21
  132. package/dist/Index-Ccx9wHcb.js +0 -52
  133. package/dist/PdfTerms-ChtDfzne.js +0 -36
  134. package/dist/ToggleBinding-CTTYdrkp.js +0 -38
  135. package/dist/VideoSelectModal-VMcSU3bM.js +0 -100
  136. package/dist/formComponentsInstall-CdjgjI6y.js +0 -2495
  137. package/dist/omit-DGBewD2h.js +0 -31
@@ -1,10 +1,12 @@
1
- import { m as C } from "./mapFormMixin-Hj1Y7rVt.js";
2
- import { n as f, b as _ } from "./main-CerYX9PA.js";
3
- import { C as b } from "./CPhoneFormat-Bf2fgYtr.js";
4
- const $ = {
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: b
9
+ CPhoneFormat: k
8
10
  },
9
11
  props: {
10
12
  label: {
@@ -25,32 +27,35 @@ const $ = {
25
27
  }
26
28
  }
27
29
  };
28
- var w = function() {
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
- }, k = [], x = /* @__PURE__ */ f(
36
- $,
37
- w,
38
- k,
37
+ }, F = [], I = /* @__PURE__ */ _(
38
+ x,
39
+ S,
40
+ F,
39
41
  !1,
40
42
  null,
41
- "9bad68ca"
43
+ "4c4b7148"
42
44
  );
43
- const S = x.exports, F = {
44
- client: () => import("./ClientModal-DSmFJ9bu.js"),
45
- company: () => import("./CompanyModal-BXs3aAYm.js")
46
- }, I = {
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: S,
53
- AddClientCallout: () => import("./AddClientCallout-CSxN7XFh.js")
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: s,
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: h
85
- } = t, c = d === "individual", o = l && (l.standard || l.work);
86
- o && (o.formKey = l.standard ? "street" : "workStreet");
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
- s && {
93
+ o && {
89
94
  label: n("company"),
90
- value: s,
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 || _(this._document, "sender.company.region", "")
123
+ region: y || h(this._document, "sender.company.region", "")
119
124
  },
120
125
  formKey: "cellphone"
121
126
  },
122
- o && {
127
+ s && {
123
128
  label: n("address"),
124
- value: this.parseStreet(o.street, o.city, o.zip),
125
- formKey: o.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
- }), h && p.push({
136
+ }), f && p.push({
132
137
  label: this._document.$t("chapters.parties.allRiskAndLiability"),
133
- value: h
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
- _(this, "_value.parties", "") !== "clients" && (this.type = "company");
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(F[this.type], {
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 P = function() {
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" } }, [t("CButton", { attrs: { slot: "trigger", type: "none", size: "small", pattern: "secondary", "icon-right": "chevron-down" }, slot: "trigger" }, [e._v(" " + e._s(e.$t("_common:more").capitalize()) + " ")]), t("CDropdownItem", { attrs: { "icon-props": {
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(s) {
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(s) {
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(s) {
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(s) {
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(s) {
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(s, r) {
205
- return [s ? t("DocPartiesItem", { key: r, attrs: { label: s.label, data: s.value, type: s.type, "can-edit": e.viewSettings.canEdit }, on: { click: function(d) {
206
- e.viewSettings.canEdit && e.openModal({ formKey: s.formKey, index: 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 });
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(s, r) {
209
- return t("div", { key: r, staticClass: "check-text" }, [t("svg", { attrs: { width: "11", height: "11", viewBox: "0 0 218 185", xmlns: "http://www.w3.org/2000/svg" } }, [t("path", { staticClass: "primary-svg-fill", attrs: { d: "M217.931476 30.821773L180.506583.515692 85.82601 117.436462 29.993388 72.224097.068524 109.178227l93.257515 75.518447z", fill: "#D8D8D8", "fill-rule": "evenodd" } })]), t("div", [e._v(e._s(s.label))])]);
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
- }, D = [], M = /* @__PURE__ */ f(
213
- I,
214
- P,
215
- D,
219
+ }, E = [], K = /* @__PURE__ */ _(
220
+ M,
221
+ z,
222
+ E,
216
223
  !1,
217
224
  null,
218
- "b2458bb1"
225
+ "ffe04187"
219
226
  );
220
- const N = M.exports;
227
+ const V = K.exports;
221
228
  export {
222
- N as default
229
+ V as default
223
230
  };
@@ -1,7 +1,7 @@
1
- import { m as n } from "./mapFormMixin-Hj1Y7rVt.js";
2
- import { I as a } from "./InputToggleRow-CJF0vwk3.js";
3
- import { C as c } from "./CPriceInput-myrETXfz.js";
4
- import { n as o } from "./main-CerYX9PA.js";
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
- n(
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(t) {
48
- e.workPrice = e._n(t);
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(t) {
52
- e.managementPrice = e._n(t);
53
- }, expression: "managementPrice" } })], 1), r("InputToggleRow", { attrs: { "display-value": e.entrepreneurMarkupPercentage ? `${e.entrepreneurMarkupPercentage} %` : e.$t("_common:add"), label: e.$t("entrepreneurMarkupPercentage") } }, [r("CInput", { model: { value: e.entrepreneurMarkupPercentage, callback: function(t) {
54
- e.entrepreneurMarkupPercentage = e._n(t);
55
- }, expression: "entrepreneurMarkupPercentage" } }, [r("template", { slot: "suffix" }, [e._v("%")])], 2)], 1), r("InputToggleRow", { attrs: { "display-value": e.miscMarkupPercentage ? `${e.miscMarkupPercentage} %` : e.$t("_common:add"), label: e.$t("miscMarkupPercentage") } }, [r("CInput", { model: { value: e.miscMarkupPercentage, callback: function(t) {
56
- e.miscMarkupPercentage = e._n(t);
57
- }, expression: "miscMarkupPercentage" } }, [r("template", { slot: "suffix" }, [e._v("%")])], 2)], 1)], 1);
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
- "ee274c7d"
68
+ "4647f895"
65
69
  );
66
- const _ = m.exports;
70
+ const k = m.exports;
67
71
  export {
68
- _ as default
72
+ k as default
69
73
  };
@@ -1,7 +1,7 @@
1
- import { m as r } from "./mapFormMixin-Hj1Y7rVt.js";
2
- import { I as n } from "./InputToggleRow-CJF0vwk3.js";
3
- import { B as s } from "./BaseDatePicker-Bd1maWgF.js";
4
- import { n as l } from "./main-CerYX9PA.js";
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 { F as u, R as d, T as l, n as _ } from "./main-CerYX9PA.js";
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
- "5ec34827"
36
+ "566e86c8"
37
37
  );
38
38
  const C = v.exports;
39
39
  export {
@@ -1,9 +1,9 @@
1
- import { m as r } from "./mapFormMixin-Hj1Y7rVt.js";
2
- import { n } from "./main-CerYX9PA.js";
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-B0pgh8nR.js")
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-Hj1Y7rVt.js";
2
- import { f as l } from "./focusDrawerMixin-B2djM7ql.js";
3
- import { d as c } from "./debounce-B2lqFJg2.js";
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-CerYX9PA.js";
5
+ import { n } from "./main-U22_wtg0.js";
6
6
  const d = {
7
7
  name: "HeaderItems",
8
8
  components: {
9
- MediaWrapper: () => import("./MediaWrapper-CM6vWCoZ.js"),
10
- ContentWrapper: () => import("./ContentWrapper-BKWZy4Bp.js"),
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
- "683ee6d3"
70
+ "f9074e87"
71
71
  );
72
72
  const v = p.exports, f = {
73
73
  name: "HeaderBlock",
74
74
  components: {
75
- PriceHeader: () => import("./PriceHeader-DdMZUaq5.js"),
76
- HeaderSettings: () => import("./HeaderSettings-WKUIBCfF.js"),
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-b6ZzOnv-.js";
2
- import { g as a, h as m, n as d, b as l, e as u } from "./main-CerYX9PA.js";
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-QZosNhiK.js";
5
- import { v as n } from "./index-twnaU4rC.js";
6
- import { a as g } from "./vuex.esm-DKGl8mcw.js";
7
- import { a as h } from "./answerDocumentMixin-B8HB1WAX.js";
8
- const C = {
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
- ...g({
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 w = function() {
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
- }, f = [], y = /* @__PURE__ */ d(
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 $ = y.exports, b = {
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: [h({ documentKey: "_document" }), c],
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 x = function() {
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
- }, H = [], D = /* @__PURE__ */ d(
282
- b,
283
+ }, D = [], I = /* @__PURE__ */ d(
283
284
  x,
284
285
  H,
286
+ D,
285
287
  !1,
286
288
  null,
287
- "a09f8d01"
289
+ "1a7731c6"
288
290
  );
289
- const N = D.exports;
291
+ const B = I.exports;
290
292
  export {
291
- N as default
293
+ B as default
292
294
  };
@@ -1,5 +1,5 @@
1
- import { P as e } from "./PlainHtml-CucWAcOU.js";
2
- import { n } from "./main-CerYX9PA.js";
1
+ import { P as e } from "./PlainHtml-o031pfp-.js";
2
+ import { n } from "./main-U22_wtg0.js";
3
3
  const s = {
4
4
  name: "EstimatedWorkStartAndEndAtTextRead",
5
5
  props: {
@@ -1,10 +1,10 @@
1
- import { m as n } from "./mapFormMixin-Hj1Y7rVt.js";
2
- import { n as t } from "./main-CerYX9PA.js";
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-DK3b6Cv-.js"),
7
- Edit: () => import("./Index-BBTn35Kj.js")
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
- "b31d846d"
27
+ "5dbb0a73"
28
28
  );
29
29
  const _ = i.exports;
30
30
  export {
@@ -1,5 +1,5 @@
1
- import { n, w as l } from "./main-CerYX9PA.js";
2
- const d = {
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: c, subTotal: t } = this._document.prices || {};
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(c)
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: a, subTotal: s } = r || {};
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(a)
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(c, t) {
47
- return l(c, {
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 p = function() {
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: a, value: s }, o) {
61
- return e("div", { key: a + o, staticStyle: { display: "flex", "justify-content": "space-between", "font-size": "calc(1 * var(--rem))" } }, [e("div", [t._v(t._s(a))]), e("div", [t._v(t._s(s))])]);
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 }, a) {
64
- return e("div", { key: a + 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))])]);
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
- "adf5d470"
72
+ "e8731f43"
73
73
  );
74
74
  const v = u.exports;
75
75
  export {
@@ -1,5 +1,5 @@
1
- import { P as r } from "./PlainHtml-CucWAcOU.js";
2
- import { n as o } from "./main-CerYX9PA.js";
1
+ import { P as r } from "./PlainHtml-o031pfp-.js";
2
+ import { n as o } from "./main-U22_wtg0.js";
3
3
  const s = {
4
4
  name: "ExtraWorkTimeImpactTextRead",
5
5
  props: {