@cling-se/widget 0.9.4 → 0.9.6

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 (131) hide show
  1. package/dist/{AddClientCallout-d472aa84.js → AddClientCallout-d8f5bc53.js} +5 -5
  2. package/dist/{AnswerModal-06487437.js → AnswerModal-5f83562b.js} +248 -248
  3. package/dist/{AttachmentItem-d98488ee.js → AttachmentItem-79eb718b.js} +8 -8
  4. package/dist/{BaseDatePicker-8c098701.js → BaseDatePicker-ae7aebf1.js} +43 -43
  5. package/dist/{BaseInput-2723d613.js → BaseInput-2c476604.js} +1 -1
  6. package/dist/{BaseUpload-996d74b3.js → BaseUpload-9e15729d.js} +3 -3
  7. package/dist/{BlockMedia-00907fb6.js → BlockMedia-a3f00a2f.js} +1 -1
  8. package/dist/{CCallout-ffa95028.js → CCallout-04e2c8c6.js} +6 -6
  9. package/dist/{CDropdownItem-74672842.js → CDropdownItem-5532f8af.js} +76 -75
  10. package/dist/{CField-06dd50f1.js → CField-0bc9de28.js} +1 -1
  11. package/dist/{CSlider.vue_vue_type_style_index_0_lang-f49d85e0.js → CSlider.vue_vue_type_style_index_0_lang-d9c2f582.js} +1 -1
  12. package/dist/{ClientAutocomplete-f65643dd.js → ClientAutocomplete-e13c2753.js} +4 -4
  13. package/dist/{ClientModal-d276aabd.js → ClientModal-da9fddf9.js} +16 -16
  14. package/dist/{ColorPicker-4f6b70af.js → ColorPicker-06b731b7.js} +2 -2
  15. package/dist/{CompanyModal-30c54ce3.js → CompanyModal-b7c42f2a.js} +8 -8
  16. package/dist/{ContentWrapper-d5653fef.js → ContentWrapper-fe4a67bc.js} +19 -19
  17. package/dist/{CoverBlockSettings-2335f3a8.js → CoverBlockSettings-2024e993.js} +19 -19
  18. package/dist/DocForm-af03179d.js +7012 -0
  19. package/dist/{DocFormSend-d0c6fa1d.js → DocFormSend-44161541.js} +14 -14
  20. package/dist/{DocModalBase-f4915a62.js → DocModalBase-9eb0f26f.js} +4 -4
  21. package/dist/DocPrint-92d12950.js +222 -0
  22. package/dist/{DocReceipt-d192000e.js → DocReceipt-4df57e1d.js} +1 -1
  23. package/dist/{DocSendReminder-06d5b34c.js → DocSendReminder-041af744.js} +1 -1
  24. package/dist/{DocTextEditor-c6d1df3c.js → DocTextEditor-b07dd391.js} +19 -19
  25. package/dist/{DocTimeline-b4c20f93.js → DocTimeline-2ae2ca63.js} +7 -7
  26. package/dist/{DocumentClient-c2319f00.js → DocumentClient-3a1aecf2.js} +8 -6
  27. package/dist/{formValidationMixin-4920ab53.js → DocumentLayout-ae49ac7a.js} +1617 -1709
  28. package/dist/{DocumentLogotype-1efd1ce9.js → DocumentLogotype-91436523.js} +3 -3
  29. package/dist/{EmbedInput-654c0477.js → EmbedInput-05e22228.js} +2 -2
  30. package/dist/{EmbedSettings-b81ec734.js → EmbedSettings-9dabb6d4.js} +10 -10
  31. package/dist/ErrorCallout-c7f69cd9.js +30 -0
  32. package/dist/{FilePreviewModal-895bd1bd.js → FilePreviewModal-167a40c8.js} +8 -7
  33. package/dist/{HeaderSettings-c6dac755.js → HeaderSettings-e9b177e0.js} +29 -29
  34. package/dist/{ImageSelectModal-7cece54e.js → ImageSelectModal-8565c461.js} +11 -11
  35. package/dist/{ImageUploadWrapper-53afd31d.js → ImageUploadWrapper-1e61e8da.js} +3 -3
  36. package/dist/{Index-5cc51230.js → Index-0708b238.js} +12 -12
  37. package/dist/{Index-82574a41.js → Index-0799eaba.js} +18 -19
  38. package/dist/{Index-1a7e98d7.js → Index-1f3de208.js} +11 -10
  39. package/dist/{Index-d8879ca9.js → Index-27a05d76.js} +2 -2
  40. package/dist/{Index-b15cfd62.js → Index-43899daf.js} +13 -13
  41. package/dist/{Index-c4de05aa.js → Index-4446581c.js} +10 -9
  42. package/dist/{Index-01c63c88.js → Index-49766088.js} +2 -2
  43. package/dist/{Index-caf5cf44.js → Index-630600c9.js} +94 -94
  44. package/dist/{Index-b14d0f03.js → Index-6b63686e.js} +4 -4
  45. package/dist/{Index-34c84bab.js → Index-716dbe24.js} +10 -10
  46. package/dist/{Index-f935c492.js → Index-72bcad54.js} +10 -10
  47. package/dist/{Index-61f7dc92.js → Index-84820d3d.js} +2 -2
  48. package/dist/{Index-e749f6f1.js → Index-85e8119e.js} +14 -14
  49. package/dist/Index-88e175bf.js +54 -0
  50. package/dist/{Index-e45a0c32.js → Index-89addabd.js} +27 -27
  51. package/dist/{Index-701f0d05.js → Index-8b29bd10.js} +2 -2
  52. package/dist/{Index-d45a1eff.js → Index-8d1c62be.js} +4 -4
  53. package/dist/{Index-63805642.js → Index-96a07794.js} +9 -9
  54. package/dist/{Index-60fc8a6e.js → Index-9bbfa37b.js} +3 -3
  55. package/dist/{Index-7443e91c.js → Index-a7a6f91c.js} +31 -31
  56. package/dist/{Index-8bca2d87.js → Index-a987a099.js} +9 -9
  57. package/dist/{Index-98e8bb86.js → Index-b6b60b81.js} +8 -8
  58. package/dist/{Index-5e35f4a2.js → Index-ba0c8eaa.js} +8 -8
  59. package/dist/{Index-9aaf8b90.js → Index-c038406f.js} +26 -26
  60. package/dist/Index-c53330d6.js +79 -0
  61. package/dist/{Index-9233cc83.js → Index-c58260f8.js} +15 -15
  62. package/dist/{Index-2535f58f.js → Index-c893d091.js} +2 -2
  63. package/dist/{Index-1d361d01.js → Index-ca112d97.js} +4 -4
  64. package/dist/{Index-cd76b120.js → Index-e728d2f7.js} +7 -7
  65. package/dist/{Index-6ef78b7a.js → Index-ecf93915.js} +2 -2
  66. package/dist/{Index-c7e68382.js → Index-eda700f4.js} +4 -4
  67. package/dist/{Index-82b5de12.js → Index-ee75e74a.js} +4 -4
  68. package/dist/{Index-c67218ce.js → Index-f75b1dd5.js} +15 -15
  69. package/dist/{Index-66c8cbfa.js → Index-fc722547.js} +4 -4
  70. package/dist/{InputToggleRow-9d8a7da4.js → InputToggleRow-483acc75.js} +5 -5
  71. package/dist/{IsPremiumPreStep-3a087524.js → IsPremiumPreStep-aa08f8c8.js} +856 -432
  72. package/dist/{MediaWrapper-d4a4b66f.js → MediaWrapper-ed7db800.js} +3 -3
  73. package/dist/{NotBindingText-b199006c.js → NotBindingText-a99b4f85.js} +2 -2
  74. package/dist/{PackageGroup-37ac99b1.js → PackageGroup-8cae78f1.js} +56 -56
  75. package/dist/{PdfTerms-8b52bb6e.js → PdfTerms-9c1c806e.js} +8 -7
  76. package/dist/{PdfViewer-38bd8439.js → PdfViewer-1227dda6.js} +5 -4
  77. package/dist/{PlainHtml-9174cbf6.js → PlainHtml-647219e9.js} +1 -1
  78. package/dist/PriceHeader-cfb22169.js +337 -0
  79. package/dist/{SearchApi-2e286be6.js → SearchApi-c0067742.js} +2 -2
  80. package/dist/{TermsSettings-c74eec79.js → TermsSettings-a0282ad7.js} +11 -11
  81. package/dist/{ThemeColorRow-3558367b.js → ThemeColorRow-71af67bd.js} +3 -3
  82. package/dist/{ToggleBinding-6c9c1ac3.js → ToggleBinding-16c2879e.js} +3 -3
  83. package/dist/{UploadModal-6d0abd77.js → UploadModal-084e3c2e.js} +16 -16
  84. package/dist/{VideoPlayerInput-77cd86aa.js → VideoPlayerInput-fe87698e.js} +3 -3
  85. package/dist/{VideoPlayerSettings-b7eb781c.js → VideoPlayerSettings-06cfaccc.js} +12 -12
  86. package/dist/VideoSelectModal-fa81fb92.js +111 -0
  87. package/dist/{answerDocumentMixin-66023e62.js → answerDocumentMixin-ef48c7eb.js} +3 -3
  88. package/dist/{cssMode-8552fc56.js → cssMode-916ae2c1.js} +7 -7
  89. package/dist/dom-068d1a7b.js +59 -0
  90. package/dist/{focusDrawerMixin-67462262.js → focusDrawerMixin-24942dd1.js} +1 -1
  91. package/dist/{formComponentsInstall-ad9c2a83.js → formComponentsInstall-2dfa2def.js} +25 -25
  92. package/dist/formValidationMixin-82793652.js +49 -0
  93. package/dist/{freemarker2-7e10a65d.js → freemarker2-6fd30e77.js} +7 -7
  94. package/dist/{handlebars-8045bfa8.js → handlebars-ff07e526.js} +7 -7
  95. package/dist/{html-8afcb633.js → html-5ad143f9.js} +7 -7
  96. package/dist/{htmlMode-1a2d1b48.js → htmlMode-adc834ff.js} +7 -7
  97. package/dist/{index-3d6d7a03.js → index-045c9c73.js} +31 -31
  98. package/dist/{index-c48c5eb4.js → index-1f068e8e.js} +3 -3
  99. package/dist/{index-bf93d7c2.js → index-6eda8be0.js} +7 -7
  100. package/dist/{index-f805bfce.js → index-b3fb8f92.js} +45 -45
  101. package/dist/index.es.js +8 -8
  102. package/dist/index.umd.js +565 -561
  103. package/dist/{javascript-dad5561e.js → javascript-9c241e8d.js} +8 -8
  104. package/dist/{jsonMode-ce09245f.js → jsonMode-36a8e1fd.js} +7 -7
  105. package/dist/{liquid-05247459.js → liquid-da99d7af.js} +7 -7
  106. package/dist/{main-04025a56.js → main-2dc98356.js} +15380 -12891
  107. package/dist/{mapFormMixin-8d073f99.js → mapFormMixin-4ac649c2.js} +1 -1
  108. package/dist/{publicSenderState-97108de1.js → publicSenderState-1db8a50c.js} +1 -1
  109. package/dist/{python-3f3513c5.js → python-15d86041.js} +7 -7
  110. package/dist/{razor-1f3e9c4e.js → razor-19e0207f.js} +7 -7
  111. package/dist/simplebar.min-9f5e0b8a.js +71 -0
  112. package/dist/style.css +2 -2
  113. package/dist/{template-42a1d852.js → template-069f0890.js} +1 -1
  114. package/dist/{throttle-a2c1f34d.js → throttle-f8ef830f.js} +2 -2
  115. package/dist/{tinycolor-88fa380f.js → tinycolor-78c3e3d5.js} +1 -1
  116. package/dist/{FormInputRow-9819eb71.js → tippy.esm-d2a6f864.js} +285 -285
  117. package/dist/{tsMode-4c026047.js → tsMode-7fcdffc4.js} +7 -7
  118. package/dist/{typescript-baf56f67.js → typescript-f492bdab.js} +7 -7
  119. package/dist/{utils-6670dea6.js → utils-aab0bc31.js} +1 -1
  120. package/dist/{vuedraggable.umd-d7138234.js → vuedraggable.umd-eb01eee5.js} +41 -41
  121. package/dist/{xml-ffc6146a.js → xml-976a8723.js} +7 -7
  122. package/package.json +3 -2
  123. package/stats.html +1 -1
  124. package/vite-plugin-library-asset-external/index.js +134 -0
  125. package/dist/DocForm-9ca24de4.js +0 -6772
  126. package/dist/ErrorCallout-60d0b3ab.js +0 -30
  127. package/dist/Index-b020a80c.js +0 -47
  128. package/dist/Index-e80f5f9c.js +0 -79
  129. package/dist/PriceHeader-e357afe9.js +0 -336
  130. package/dist/VideoSelectModal-d2299552.js +0 -111
  131. package/dist/simplebar.min-3af55aab.js +0 -2429
@@ -1,6 +1,6 @@
1
- import { B as n } from "./BlockMedia-00907fb6.js";
2
- import { m as a } from "./mapFormMixin-8d073f99.js";
3
- import { n as m } from "./main-04025a56.js";
1
+ import { B as n } from "./BlockMedia-a3f00a2f.js";
2
+ import { m as a } from "./mapFormMixin-4ac649c2.js";
3
+ import { n as m } from "./main-2dc98356.js";
4
4
  import "./color-71c20583.js";
5
5
  const o = {
6
6
  name: "MediaWrapper",
@@ -1,5 +1,5 @@
1
- import { P as t } from "./PlainHtml-9174cbf6.js";
2
- import { n as e } from "./main-04025a56.js";
1
+ import { P as t } from "./PlainHtml-647219e9.js";
2
+ import { n as e } from "./main-2dc98356.js";
3
3
  const r = {
4
4
  name: "NotBindingText",
5
5
  i18nOptions: {
@@ -1,13 +1,13 @@
1
- import { t as m } from "./tinycolor-88fa380f.js";
2
- import { a4 as v, a5 as y, o as g, n as p, a6 as f, r as k, b as u, a7 as w } from "./main-04025a56.js";
3
- import { E as P } from "./ErrorCallout-60d0b3ab.js";
4
- import { m as _ } from "./mapFormMixin-8d073f99.js";
5
- import { T as x } from "./DocTextEditor-c6d1df3c.js";
6
- import "./FormInputRow-9819eb71.js";
7
- import "./ColorPicker-4f6b70af.js";
8
- import "./formValidationMixin-4920ab53.js";
9
- import "./CDropdownItem-74672842.js";
10
- import "./CSlider.vue_vue_type_style_index_0_lang-f49d85e0.js";
1
+ import { t as m } from "./tinycolor-78c3e3d5.js";
2
+ import { a9 as y, aa as v, q as g, n as p, ab as f, s as k, b as u, ac as w, k as P } from "./main-2dc98356.js";
3
+ import { E as b } from "./ErrorCallout-c7f69cd9.js";
4
+ import { m as _ } from "./mapFormMixin-4ac649c2.js";
5
+ import { T as x } from "./DocTextEditor-b07dd391.js";
6
+ import "./tippy.esm-d2a6f864.js";
7
+ import "./ColorPicker-06b731b7.js";
8
+ import "./DocumentLayout-ae49ac7a.js";
9
+ import "./CDropdownItem-5532f8af.js";
10
+ import "./CSlider.vue_vue_type_style_index_0_lang-d9c2f582.js";
11
11
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
12
12
  import "./color-71c20583.js";
13
13
  const $ = {
@@ -75,7 +75,7 @@ const $ = {
75
75
  default: null
76
76
  }
77
77
  },
78
- docLang: v,
78
+ docLang: y,
79
79
  computed: {
80
80
  fixQuantity() {
81
81
  return this.priceType === "openAcc" ? 1 : this.quantity;
@@ -102,7 +102,7 @@ const $ = {
102
102
  let i = this.totalAmount;
103
103
  this.showPricesIncVat && this.priceType !== "markup" && (i *= (100 + this.vat) / 100);
104
104
  let e = "";
105
- return this.priceType === "openAcc" && (e = `/${y(this.unitType, { lng: this._document.language })}`, this.houseWorkType && (i *= {
105
+ return this.priceType === "openAcc" && (e = `/${v(this.unitType, { lng: this._document.language })}`, this.houseWorkType && (i *= {
106
106
  rot: 0.7,
107
107
  rut: 0.5,
108
108
  greenRot15: 0.85,
@@ -121,30 +121,30 @@ const $ = {
121
121
  }
122
122
  },
123
123
  methods: {
124
- articleUnitLabel: y,
124
+ articleUnitLabel: v,
125
125
  priceFormat: g
126
126
  }
127
127
  };
128
- var b = function() {
128
+ var T = function() {
129
129
  var e = this, t = e._self._c;
130
130
  return t("div", { staticClass: "article-wrapper print-avoid-break-inside", class: {
131
131
  "no-border-top": e.position === 0
132
132
  } }, [t("div", { staticClass: "article-text" }, [t("div", { staticClass: "article-text-title hyphens-auto break-all" }, [e._v(e._s(e.title))]), e.showDetails ? t("div", { staticClass: "article-text-sub" }, [e.priceType === "openAcc" || e.priceType === "markup" ? t("div", [e._v(e._s(e._document.$t(`price.${e.priceType}`)) + " ")]) : e._e(), e.priceType !== "openAcc" && e.priceType !== "markup" ? t("div", [e._v(e._s(e.fixQuantity) + " " + e._s(e.articleUnitLabel(e.unitType, { count: e.fixQuantity, lng: e._document.language, instance: e.$options.docLang })))]) : e._e(), e.atPrice ? t("svg", { staticStyle: { margin: "0 4px" }, attrs: { width: "6", height: "6", viewBox: "0 0 148 141", xmlns: "http://www.w3.org/2000/svg" } }, [t("path", { attrs: { d: "M73.742787 92.65535l-34.444359 47.40859-18.607391-13.51906 34.060775-46.88064L0 61.8743 7.107391 40 62 57.83569V0h23v57.99346L140.378182 40l7.107391 21.8743-54.751812 17.78994 34.060775 46.88064-18.607391 13.51906-34.444358-47.40859z", fill: "#000", "fill-rule": "evenodd" } })]) : e._e(), e.atPrice ? t("div", [e._v(e._s(e.atPrice))]) : e._e()]) : e._e()]), t("div", { staticClass: "article-price" }, [e.showPrice ? [e.discount ? t("div", { domProps: { innerHTML: e._s(e.discountLabels) } }) : e._e(), t("div", [e._v(" " + e._s(e.totalPrice) + " ")])] : e._e(), e.houseWorkType ? t("div", { staticClass: "article-price-sub" }, [e.houseWorkType && e.priceType === "openAcc" ? [e._v(e._s(e._document.$t("deduction.afterType", { type: `${e.houseWorkType}_percentage` })))] : e.houseWorkType ? [e._v(e._s(e._document.$t("chapters.articleItem.eligibleForDeduction", { type: `${e.houseWorkType}_percentage` })))] : e._e()], 2) : e._e()], 2)]);
133
- }, T = [], S = /* @__PURE__ */ p(
133
+ }, S = [], V = /* @__PURE__ */ p(
134
134
  $,
135
- b,
136
135
  T,
136
+ S,
137
137
  !1,
138
138
  null,
139
- "85391800",
139
+ "24e9f828",
140
140
  null,
141
141
  null
142
142
  );
143
- const V = S.exports;
144
- const C = {
143
+ const C = V.exports;
144
+ const I = {
145
145
  name: "ArticleList",
146
146
  components: {
147
- DocChapterArticleItem: V
147
+ DocChapterArticleItem: C
148
148
  },
149
149
  mixins: [_([])],
150
150
  props: {
@@ -182,25 +182,25 @@ const C = {
182
182
  articleHouseWorkType: f
183
183
  }
184
184
  };
185
- var I = function() {
185
+ var A = function() {
186
186
  var e = this, t = e._self._c;
187
187
  return t("div", { staticClass: "article-list-wrapper" }, [t("div", { staticClass: "article-head" }, [t("div", [e._v(e._s(e._document.$t("chapters.articleList.title")))]), e.showPrices && e.showVatToggle ? t("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e._document.$t("chapters.articleList.changeShowVatTooltip", { type: e._document.$t(`vat.${e.showPricesIncVat ? "exVat" : "incVat"}`, { thing: e._document.$t(`vat.${e.vatType}`) }) }), expression: "_document.$t('chapters.articleList.changeShowVatTooltip', { type: _document.$t(`vat.${showPricesIncVat ? 'exVat' : 'incVat'}`, { thing: _document.$t(`vat.${vatType}`) }) })" }], staticStyle: { "text-decoration": "underline", cursor: "pointer" }, on: { click: function(r) {
188
188
  return e.$emit("toggle-show-vat", !e.showPricesIncVat);
189
189
  } } }, [e._v(" " + e._s(e._document.$t(`vat.${e.showPricesIncVat ? "incVat" : "exVat"}`, { thing: e._document.$t(`vat.${e.vatType}`) })) + " ")]) : e._e()]), e._l(e.articles, function(r, n) {
190
190
  return t("DocChapterArticleItem", { key: n, attrs: { _document: e._document, title: r.name, quantity: r.quantity, unit: r.unit, "unit-type": r.unitType, "article-no": r.article_no, "house-work-type": e.articleHouseWorkType(r), price: e.showPrices ? r.price : null, currency: r.currency, vat: r.vat, "price-type": r.priceType, "show-price": r.showPrice, position: r.position, "show-prices-inc-vat": e.showPricesIncVat, discount: r.discount, "discount-type": r.discountType, "total-amount": r.totalAmount } });
191
191
  })], 2);
192
- }, A = [], D = /* @__PURE__ */ p(
193
- C,
192
+ }, D = [], F = /* @__PURE__ */ p(
194
193
  I,
195
194
  A,
195
+ D,
196
196
  !1,
197
197
  null,
198
- "fe312947",
198
+ "0814223b",
199
199
  null,
200
200
  null
201
201
  );
202
- const F = D.exports;
203
- const z = {
202
+ const z = F.exports;
203
+ const B = {
204
204
  name: "PackageItem",
205
205
  i18nOptions: {
206
206
  namespaces: "PackageItem",
@@ -214,7 +214,7 @@ const z = {
214
214
  }
215
215
  },
216
216
  components: {
217
- ArticleList: F,
217
+ ArticleList: z,
218
218
  TextEditor: x
219
219
  },
220
220
  inject: {
@@ -303,7 +303,7 @@ const z = {
303
303
  }
304
304
  }
305
305
  };
306
- var B = function() {
306
+ var M = function() {
307
307
  var e = this, t = e._self._c;
308
308
  return t("div", { staticClass: "package-container font-inter", class: {
309
309
  "single-package": e.type === "single" || e.workPackage.isSelected && !e.workPackage.toggable
@@ -311,9 +311,9 @@ var B = function() {
311
311
  ...e.workPackage.isSelected && {
312
312
  boxShadow: `0 0 0 2px ${e.headingColor}`
313
313
  }
314
- } }, [t("div", { staticClass: "top-container" }, [e.workPackage.data.name ? t("div", { staticStyle: { "font-weight": "800", "font-size": "calc(1rem + 4px)", "margin-bottom": "0.5rem" } }, [e._v(" " + e._s(e.workPackage.data.name) + " ")]) : e._e(), t("div", [t("TextEditor", { staticStyle: { "margin-bottom": "1em" }, attrs: { value: e.description } })], 1)]), t("Animation", [t("ArticleList", { directives: [{ name: "show", rawName: "v-show", value: e.showDetails && e.workPackage.articles.length, expression: "showDetails && workPackage.articles.length" }], staticClass: "articles-container", attrs: { _document: e._document, articles: e.workPackage.articles, "show-prices-inc-vat": e.showPricesIncVat, "use-vat": e.useVat, "vat-type": e.vatType, parent: "packageGroup" }, on: { "toggle-show-vat": function(r) {
314
+ } }, [t("div", { staticClass: "top-container" }, [e.workPackage.data.name ? t("div", { staticStyle: { "font-weight": "800", "font-size": "calc(calc(1 * var(--rem)) + 4px)", "margin-bottom": "calc(0.5 * var(--rem))" } }, [e._v(" " + e._s(e.workPackage.data.name) + " ")]) : e._e(), t("div", [t("TextEditor", { staticStyle: { "margin-bottom": "1em" }, attrs: { value: e.description } })], 1)]), t("Animation", [t("ArticleList", { directives: [{ name: "show", rawName: "v-show", value: e.showDetails && e.workPackage.articles.length, expression: "showDetails && workPackage.articles.length" }], staticClass: "articles-container", attrs: { _document: e._document, articles: e.workPackage.articles, "show-prices-inc-vat": e.showPricesIncVat, "use-vat": e.useVat, "vat-type": e.vatType, parent: "packageGroup" }, on: { "toggle-show-vat": function(r) {
315
315
  return e.$emit("toggle-show-vat", r);
316
- } } })], 1), e.type !== "single" && (e.workPackage.toggable || e.isPreview) && (e.prices.total || e.prices.type === "openAcc") ? t("div", { staticClass: "flex justify-end w-full", staticStyle: { "margin-top": "3rem" } }, [t("div", { staticStyle: { padding: "0.75rem 1rem 0.75rem 3rem", "text-align": "right" } }, [e.prices.helpers.discount ? t("div", { staticClass: "price-total", staticStyle: { color: "red", "text-decoration": "line-through", "font-size": "16px", "font-weight": "600" } }, [e._v(" " + e._s(e.priceFormat(e.showPricesIncVat ? e.totalBeforeDiscount : e.prices.subTotal + e.prices.helpers.discount)) + " ")]) : e._e(), e.prices.type === "openAcc" ? [t("div", { staticStyle: { "line-height": "1.2", "font-size": "13px" } }, [e._v(" " + e._s(e._document.$t("price.pricing")) + " ")]), t("div", { staticClass: "price-total", staticStyle: { padding: "2px 0 3px 0" } }, [e._v(" " + e._s(e._document.$t("price.openAccPrice")) + " ")])] : [t("div", { staticClass: "price-total" }, [e.type === "checkbox" ? t("span", { staticClass: "primary-text-color", staticStyle: { "font-weight": "900" } }, [e._v("+")]) : e._e(), e._v(" " + e._s(e.priceFormat(e.showPricesIncVat ? e.prices.total : e.prices.subTotal)) + " ")]), e.useVat ? t("div", { staticStyle: { "line-height": "1.2", "font-size": "13px", padding: "2px 0 3px 0" } }, [e._v(" " + e._s(e._document.$t("price.price").capitalize()) + " " + e._s(e._document.$t(`vat.${e.showPricesIncVat ? "incVat" : "exVat"}`, { thing: e._document.$t(`vat.${e.vatType}`) })) + " ")]) : e._e()]], 2)]) : e._e(), e.showToggle ? t("div", { staticClass: "flex items-center justify-end w-full", staticStyle: { "background-color": "hsl(215, 10%, 95%)" } }, [e.isPdf ? e._e() : [t("CButton", { staticClass: "package-button", attrs: { pattern: "tertiary", type: "text", icon: e.showDetails ? "arrow-up" : "arrow-down", "icon-props": { size: 20 } }, on: { click: function(r) {
316
+ } } })], 1), e.type !== "single" && (e.workPackage.toggable || e.isPreview) && (e.prices.total || e.prices.type === "openAcc") ? t("div", { staticClass: "flex justify-end w-full", staticStyle: { "margin-top": "calc(3 * var(--rem))" } }, [t("div", { staticStyle: { padding: "calc(0.75 * var(--rem)) calc(1 * var(--rem)) calc(0.75 * var(--rem)) calc(3 * var(--rem))", "text-align": "right" } }, [e.prices.helpers.discount ? t("div", { staticClass: "price-total", staticStyle: { color: "red", "text-decoration": "line-through", "font-size": "16px", "font-weight": "600" } }, [e._v(" " + e._s(e.priceFormat(e.showPricesIncVat ? e.totalBeforeDiscount : e.prices.subTotal + e.prices.helpers.discount)) + " ")]) : e._e(), e.prices.type === "openAcc" ? [t("div", { staticStyle: { "line-height": "1.2", "font-size": "13px" } }, [e._v(" " + e._s(e._document.$t("price.pricing")) + " ")]), t("div", { staticClass: "price-total", staticStyle: { padding: "2px 0 3px 0" } }, [e._v(" " + e._s(e._document.$t("price.openAccPrice")) + " ")])] : [t("div", { staticClass: "price-total" }, [e.type === "checkbox" ? t("span", { staticClass: "primary-text-color", staticStyle: { "font-weight": "900" } }, [e._v("+")]) : e._e(), e._v(" " + e._s(e.priceFormat(e.showPricesIncVat ? e.prices.total : e.prices.subTotal)) + " ")]), e.useVat ? t("div", { staticStyle: { "line-height": "1.2", "font-size": "13px", padding: "2px 0 3px 0" } }, [e._v(" " + e._s(e._document.$t("price.price").capitalize()) + " " + e._s(e._document.$t(`vat.${e.showPricesIncVat ? "incVat" : "exVat"}`, { thing: e._document.$t(`vat.${e.vatType}`) })) + " ")]) : e._e()]], 2)]) : e._e(), e.showToggle ? t("div", { staticClass: "flex items-center justify-end w-full", staticStyle: { "background-color": "hsl(215, 10%, 95%)" } }, [e.isPdf ? e._e() : [t("CButton", { staticClass: "package-button", attrs: { pattern: "tertiary", type: "text", icon: e.showDetails ? "arrow-up" : "arrow-down", "icon-props": { size: 20 } }, on: { click: function(r) {
317
317
  e.showDetails = !e.showDetails;
318
318
  } } }, [e._v(" " + e._s(e._document.$t("show", { thing: e._document.$t(`${e.showDetails ? "less" : "detail_plural"}`) })) + " ")]), e.canToggle || e.isPreview ? t("CButton", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.isPreview && {
319
319
  content: e.$t("selectTooltip"),
@@ -328,19 +328,19 @@ var B = function() {
328
328
  color: e.tinycolor.readability(e.headingColor, "#FFF") > 2.2 ? "#FFF" : "#000"
329
329
  }, attrs: { type: "text" }, on: { click: function(r) {
330
330
  e.canToggle && e.$emit("toggle", e.workPackage.packageId);
331
- } } }, [e.workPackage.isSelected ? [t("svg", { staticStyle: { "margin-right": "0.5rem" }, attrs: { viewBox: "0 0 24 24", width: "18", height: "18", stroke: "currentColor", "stroke-width": "3.5", fill: "none", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [t("polyline", { attrs: { points: "20 6 9 17 4 12" } })]), e._v(" " + e._s(e._document.$t("chapters.packageItem.selected")) + " ")] : [e._v(" " + e._s(e._document.$t(`chapters.packageItem.${e.type === "radio" ? "select" : "add"}`)) + " ")]], 2) : e._e()]], 2) : e._e()], 1);
332
- }, M = [], W = /* @__PURE__ */ p(
333
- z,
331
+ } } }, [e.workPackage.isSelected ? [t("svg", { staticStyle: { "margin-right": "calc(0.5 * var(--rem))" }, attrs: { viewBox: "0 0 24 24", width: "18", height: "18", stroke: "currentColor", "stroke-width": "3.5", fill: "none", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [t("polyline", { attrs: { points: "20 6 9 17 4 12" } })]), e._v(" " + e._s(e._document.$t("chapters.packageItem.selected")) + " ")] : [e._v(" " + e._s(e._document.$t(`chapters.packageItem.${e.type === "radio" ? "select" : "add"}`)) + " ")]], 2) : e._e()]], 2) : e._e()], 1);
332
+ }, W = [], O = /* @__PURE__ */ p(
334
333
  B,
335
334
  M,
335
+ W,
336
336
  !1,
337
337
  null,
338
- "1f0a634b",
338
+ "1b1d9599",
339
339
  null,
340
340
  null
341
341
  );
342
- const O = W.exports;
343
- const q = {
342
+ const q = O.exports;
343
+ const L = {
344
344
  name: "PackagePricingSummary",
345
345
  props: {
346
346
  // PackageGroup.prices (format: calcPrices of one group)
@@ -477,30 +477,30 @@ const q = {
477
477
  }
478
478
  }
479
479
  };
480
- var L = function() {
480
+ var Z = function() {
481
481
  var e = this, t = e._self._c;
482
- return e._document.readPrices ? t("div", { staticClass: "font-inter", staticStyle: { "margin-top": "2rem", "margin-bottom": "2rem", position: "relative" }, attrs: { id: "price" } }, [e.showPricingCard ? t("div", { staticClass: "pricing-container", class: { faded: e.placeholder } }, [e._l(e.blocks, function({ header: r, items: n, footer: s }, a) {
482
+ return e._document.readPrices ? t("div", { staticClass: "font-inter", staticStyle: { "margin-top": "calc(2 * var(--rem))", "margin-bottom": "calc(2 * var(--rem))", position: "relative" }, attrs: { id: "price" } }, [e.showPricingCard ? t("div", { staticClass: "pricing-container", class: { faded: e.placeholder } }, [e._l(e.blocks, function({ header: r, items: n, footer: s }, a) {
483
483
  return t("div", { key: a, staticClass: "block-container print-avoid-break-inside", class: { first: a === 0 } }, [t("div", { staticClass: "block-header" }, [r.title ? t("div", { staticStyle: { "font-weight": "800" } }, [e._v(e._s(r.title))]) : e._e(), r.subTitle ? t("div", { staticStyle: { "font-size": "16px", "margin-left": "0.5em" } }, [e._v(e._s(r.subTitle))]) : e._e()]), n.length || s ? t("div", { staticClass: "block-body" }, [e._l(n, function({ label: c, value: l }, o) {
484
484
  return t("div", { key: `item-${o}-${a}`, staticClass: "block-body-item", class: a === 0 && "primary-light-background", style: a !== 0 && { borderBottom: "1px solid hsl(210, 15%, 85%)" } }, [t("div", [e._v(e._s(c))]), t("div", [e._v(e._s(l))])]);
485
485
  }), s ? t("div", { staticClass: "block-body-footer", style: { "border-top": `4px solid ${e.primaryColor}` } }, [t("div", [e._v(" " + e._s(s.title) + " "), s.subTitle ? t("div", { staticStyle: { "font-weight": "500", "font-size": "calc(1em - 2px)" } }, [e._v(" " + e._s(s.subTitle) + " ")]) : e._e()]), t("div", { staticClass: "text-right" }, [t("div", [e._v(e._s(s.value))]), s.subValue ? t("div", { staticClass: "block-body-footer-hint" }, [e._v(" " + e._s(s.subValue) + " ")]) : e._e()])]) : e._e()], 2) : e._e()]);
486
- }), e.prices.region && e.prices.region.reverseVat ? [t("div", { staticClass: "terms-text" }, [e._v(" " + e._s(e._document.$t("chapters.pricingSummary.terms.reverseVat")) + " ")])] : e._e(), e.prices.region && e.prices.region.houseWorkType ? t("div", { staticClass: "terms-text", attrs: { id: "villkor-avdrag" } }, [e._v(" " + e._s(e._document.$t("chapters.pricingSummary.terms.houseWork", { type: `${e.prices.region.houseWorkType}_percentage` })) + " ")]) : e._e(), e.prices.type === "approx" && e.prices.region && e.prices.region.houseWorkType === "rot" ? t("div", { staticClass: "terms-text" }, [e._v(" " + e._s(e._document.$t("chapters.pricingSummary.terms.houseWorkApprox")) + " ")]) : e._e()], 2) : e._e(), e.placeholder ? t("div", { staticClass: "flex flex-col items-center justify-center w-full", staticStyle: { position: "absolute", top: "1rem", left: "50%", transform: "translate(-50%, 0%)", "background-color": "white", width: "350px", "max-width": "90%", "border-radius": "3px", padding: "2rem", "box-shadow": "0 1px rgba(0,0,0,0.1), 0 0.5rem 2rem -0.5rem rgba(0,0,0,0.3)", "text-align": "center", "font-size": "16px" } }, [t("svg", { attrs: { width: "200", height: "100", viewBox: "0 0 418 211", xmlns: "http://www.w3.org/2000/svg" } }, [t("defs", [t("filter", { attrs: { x: "-30.7%", y: "-26.2%", width: "160%", height: "155%", filterUnits: "objectBoundingBox", id: "a" } }, [t("feOffset", { attrs: { dy: "3", in: "SourceAlpha", result: "shadowOffsetOuter1" } }), t("feGaussianBlur", { attrs: { stdDeviation: "1", in: "shadowOffsetOuter1", result: "shadowBlurOuter1" } }), t("feColorMatrix", { attrs: { values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0", in: "shadowBlurOuter1", result: "shadowMatrixOuter1" } }), t("feMerge", [t("feMergeNode", { attrs: { in: "shadowMatrixOuter1" } }), t("feMergeNode", { attrs: { in: "SourceGraphic" } })], 1)], 1)]), t("g", { attrs: { fill: "none", "fill-rule": "evenodd" } }, [t("path", { attrs: { stroke: "#E4E4E4", "stroke-width": "3", d: "M1.5 1.5h415v187H1.5z" } }), t("path", { attrs: { fill: e.primaryColor, "fill-rule": "nonzero", d: "M282 139h136v51H282z" } }), t("g", { attrs: { filter: "url(#a)", transform: "translate(365.5 165)" } }, [t("path", { attrs: { d: "M8.2 30.7c-.7-.9-1.6-2.7-3.1-5-.9-1.3-3-3.6-3.7-4.8a3.3 3.3 0 013.2-5c1.3.2 2.5.8 3.4 1.8a16 16 0 011.8 2l.9 1.2c.5.6.8 1.2.5.3-.1-1.3-.4-3.3-.9-5.2l-.7-2.8c-.3-1-.4-2-.8-3.1l-.7-3.7a7 7 0 01.7-4.6 3 3 0 013.2-.6c1.1.8 2 2 2.4 3.3.6 1.6 1 3.3 1.3 5 .4 2.5 1.2 6.1 1.2 6.9 0-1-.2-2.9 0-3.8.1-.9.8-1.6 1.7-2a5 5 0 012.3-.1c.7.1 1.4.6 1.9 1.2.6 1.5.9 3 1 4.6 0-1.4.2-2.7.6-4 .4-.6 1-1 1.8-1.3a7 7 0 012.4 0c.7.3 1.3.7 1.8 1.3.5 1.3.8 2.7.9 4.1 0 .4.2-1 .7-1.8a2.5 2.5 0 114.8 1.6v5.6c-.1 1.5-.3 3-.6 4.4-.5 1.2-1 2.4-1.8 3.6a18 18 0 00-3 4.5 10 10 0 000 4.8h-3c-1-.2-2.2-2.1-2.5-2.7a1 1 0 00-1.7 0c-.6 1-1.8 2.6-2.6 2.8h-7.9s.5-2.6-.6-3.5l-2.8-2.6-2.1-2.4z", fill: "#FFF", "fill-rule": "nonzero" } }), t("path", { attrs: { d: "M8.2 30.7c-.7-.9-1.6-2.7-3.1-5-.9-1.3-3-3.6-3.7-4.8a3.3 3.3 0 013.2-5c1.3.2 2.5.8 3.4 1.8a16 16 0 011.8 2l.9 1.2c.5.6.8 1.2.5.3-.1-1.3-.4-3.3-.9-5.2l-.7-2.8c-.3-1-.4-2-.8-3.1l-.7-3.7a7 7 0 01.7-4.6 3 3 0 013.2-.6c1.1.8 2 2 2.4 3.3.6 1.6 1 3.3 1.3 5 .4 2.5 1.2 6.1 1.2 6.9 0-1-.2-2.9 0-3.8.1-.9.8-1.6 1.7-2a5 5 0 012.3-.1c.7.1 1.4.6 1.9 1.2.6 1.5.9 3 1 4.6 0-1.4.2-2.7.6-4 .4-.6 1-1 1.8-1.3a7 7 0 012.4 0c.7.3 1.3.7 1.8 1.3.5 1.3.8 2.7.9 4.1 0 .4.2-1 .7-1.8a2.5 2.5 0 114.8 1.6v5.6c-.1 1.5-.3 3-.6 4.4-.5 1.2-1 2.4-1.8 3.6a18 18 0 00-3 4.5 10 10 0 000 4.8h-3c-1-.2-2.2-2.1-2.5-2.7a1 1 0 00-1.7 0c-.6 1-1.8 2.6-2.6 2.8h-7.9s.5-2.6-.6-3.5l-2.8-2.6-2.1-2.4z", stroke: "#000", "stroke-width": "1.9", "stroke-linecap": "round", "stroke-linejoin": "round" } }), t("path", { attrs: { d: "M29.4 32v-8.6a1 1 0 00-1.9 0v8.7a1 1 0 001.9 0zM24.4 32v-8.6a1 1 0 00-1.9 0v8.7a1 1 0 002 0zM17.5 23.4v8.7a1 1 0 102 0l-.1-8.7a1 1 0 10-1.9 0z", fill: "#000", "fill-rule": "nonzero" } })]), t("text", { attrs: { "font-family": "Inter-Regular, Inter", "font-size": "24", fill: "#FFF" } }, [t("tspan", { attrs: { x: "332.4", y: "173" } }, [e._v(e._s(e._document.$t("select")))])]), t("path", { attrs: { fill: "#E4E4E4", "fill-rule": "nonzero", d: "M28 27h124v24H28zM28 64h355v11H28zM28 82h355v12H28zM28 103h178v12H28z" } })])]), t("div", { staticStyle: { "padding-top": "1em", "font-weight": "600", "font-size": "18px" } }, [e._v(e._s(e._document.$t("chapters.pricingSummary.placeholder.title")))]), t("div", [e._v(e._s(e._document.$t("chapters.pricingSummary.placeholder.description"))), t("span", { staticStyle: { "font-weight": "600" } }, [e._v(e._s(e._document.$t("chapters.pricingSummary.placeholder.descriptionBold")))]), e._v(".")])]) : e._e()]) : e._e();
487
- }, Z = [], E = /* @__PURE__ */ p(
488
- q,
486
+ }), e.prices.region && e.prices.region.reverseVat ? [t("div", { staticClass: "terms-text" }, [e._v(" " + e._s(e._document.$t("chapters.pricingSummary.terms.reverseVat")) + " ")])] : e._e(), e.prices.region && e.prices.region.houseWorkType ? t("div", { staticClass: "terms-text", attrs: { id: "villkor-avdrag" } }, [e._v(" " + e._s(e._document.$t("chapters.pricingSummary.terms.houseWork", { type: `${e.prices.region.houseWorkType}_percentage` })) + " ")]) : e._e(), e.prices.type === "approx" && e.prices.region && e.prices.region.houseWorkType === "rot" ? t("div", { staticClass: "terms-text" }, [e._v(" " + e._s(e._document.$t("chapters.pricingSummary.terms.houseWorkApprox")) + " ")]) : e._e()], 2) : e._e(), e.placeholder ? t("div", { staticClass: "flex flex-col items-center justify-center w-full", staticStyle: { position: "absolute", top: "calc(1 * var(--rem))", left: "50%", transform: "translate(-50%, 0%)", "background-color": "white", width: "350px", "max-width": "90%", "border-radius": "3px", padding: "calc(2 * var(--rem))", "box-shadow": "0 1px rgba(0,0,0,0.1), 0 calc(0.5 * var(--rem)) calc(2 * var(--rem)) calc(-0.5 * var(--rem)) rgba(0,0,0,0.3)", "text-align": "center", "font-size": "16px" } }, [t("svg", { attrs: { width: "200", height: "100", viewBox: "0 0 418 211", xmlns: "http://www.w3.org/2000/svg" } }, [t("defs", [t("filter", { attrs: { x: "-30.7%", y: "-26.2%", width: "160%", height: "155%", filterUnits: "objectBoundingBox", id: "a" } }, [t("feOffset", { attrs: { dy: "3", in: "SourceAlpha", result: "shadowOffsetOuter1" } }), t("feGaussianBlur", { attrs: { stdDeviation: "1", in: "shadowOffsetOuter1", result: "shadowBlurOuter1" } }), t("feColorMatrix", { attrs: { values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0", in: "shadowBlurOuter1", result: "shadowMatrixOuter1" } }), t("feMerge", [t("feMergeNode", { attrs: { in: "shadowMatrixOuter1" } }), t("feMergeNode", { attrs: { in: "SourceGraphic" } })], 1)], 1)]), t("g", { attrs: { fill: "none", "fill-rule": "evenodd" } }, [t("path", { attrs: { stroke: "#E4E4E4", "stroke-width": "3", d: "M1.5 1.5h415v187H1.5z" } }), t("path", { attrs: { fill: e.primaryColor, "fill-rule": "nonzero", d: "M282 139h136v51H282z" } }), t("g", { attrs: { filter: "url(#a)", transform: "translate(365.5 165)" } }, [t("path", { attrs: { d: "M8.2 30.7c-.7-.9-1.6-2.7-3.1-5-.9-1.3-3-3.6-3.7-4.8a3.3 3.3 0 013.2-5c1.3.2 2.5.8 3.4 1.8a16 16 0 011.8 2l.9 1.2c.5.6.8 1.2.5.3-.1-1.3-.4-3.3-.9-5.2l-.7-2.8c-.3-1-.4-2-.8-3.1l-.7-3.7a7 7 0 01.7-4.6 3 3 0 013.2-.6c1.1.8 2 2 2.4 3.3.6 1.6 1 3.3 1.3 5 .4 2.5 1.2 6.1 1.2 6.9 0-1-.2-2.9 0-3.8.1-.9.8-1.6 1.7-2a5 5 0 012.3-.1c.7.1 1.4.6 1.9 1.2.6 1.5.9 3 1 4.6 0-1.4.2-2.7.6-4 .4-.6 1-1 1.8-1.3a7 7 0 012.4 0c.7.3 1.3.7 1.8 1.3.5 1.3.8 2.7.9 4.1 0 .4.2-1 .7-1.8a2.5 2.5 0 114.8 1.6v5.6c-.1 1.5-.3 3-.6 4.4-.5 1.2-1 2.4-1.8 3.6a18 18 0 00-3 4.5 10 10 0 000 4.8h-3c-1-.2-2.2-2.1-2.5-2.7a1 1 0 00-1.7 0c-.6 1-1.8 2.6-2.6 2.8h-7.9s.5-2.6-.6-3.5l-2.8-2.6-2.1-2.4z", fill: "#FFF", "fill-rule": "nonzero" } }), t("path", { attrs: { d: "M8.2 30.7c-.7-.9-1.6-2.7-3.1-5-.9-1.3-3-3.6-3.7-4.8a3.3 3.3 0 013.2-5c1.3.2 2.5.8 3.4 1.8a16 16 0 011.8 2l.9 1.2c.5.6.8 1.2.5.3-.1-1.3-.4-3.3-.9-5.2l-.7-2.8c-.3-1-.4-2-.8-3.1l-.7-3.7a7 7 0 01.7-4.6 3 3 0 013.2-.6c1.1.8 2 2 2.4 3.3.6 1.6 1 3.3 1.3 5 .4 2.5 1.2 6.1 1.2 6.9 0-1-.2-2.9 0-3.8.1-.9.8-1.6 1.7-2a5 5 0 012.3-.1c.7.1 1.4.6 1.9 1.2.6 1.5.9 3 1 4.6 0-1.4.2-2.7.6-4 .4-.6 1-1 1.8-1.3a7 7 0 012.4 0c.7.3 1.3.7 1.8 1.3.5 1.3.8 2.7.9 4.1 0 .4.2-1 .7-1.8a2.5 2.5 0 114.8 1.6v5.6c-.1 1.5-.3 3-.6 4.4-.5 1.2-1 2.4-1.8 3.6a18 18 0 00-3 4.5 10 10 0 000 4.8h-3c-1-.2-2.2-2.1-2.5-2.7a1 1 0 00-1.7 0c-.6 1-1.8 2.6-2.6 2.8h-7.9s.5-2.6-.6-3.5l-2.8-2.6-2.1-2.4z", stroke: "#000", "stroke-width": "1.9", "stroke-linecap": "round", "stroke-linejoin": "round" } }), t("path", { attrs: { d: "M29.4 32v-8.6a1 1 0 00-1.9 0v8.7a1 1 0 001.9 0zM24.4 32v-8.6a1 1 0 00-1.9 0v8.7a1 1 0 002 0zM17.5 23.4v8.7a1 1 0 102 0l-.1-8.7a1 1 0 10-1.9 0z", fill: "#000", "fill-rule": "nonzero" } })]), t("text", { attrs: { "font-family": "Inter-Regular, Inter", "font-size": "24", fill: "#FFF" } }, [t("tspan", { attrs: { x: "332.4", y: "173" } }, [e._v(e._s(e._document.$t("select")))])]), t("path", { attrs: { fill: "#E4E4E4", "fill-rule": "nonzero", d: "M28 27h124v24H28zM28 64h355v11H28zM28 82h355v12H28zM28 103h178v12H28z" } })])]), t("div", { staticStyle: { "padding-top": "1em", "font-weight": "600", "font-size": "18px" } }, [e._v(e._s(e._document.$t("chapters.pricingSummary.placeholder.title")))]), t("div", [e._v(e._s(e._document.$t("chapters.pricingSummary.placeholder.description"))), t("span", { staticStyle: { "font-weight": "600" } }, [e._v(e._s(e._document.$t("chapters.pricingSummary.placeholder.descriptionBold")))]), e._v(".")])]) : e._e()]) : e._e();
487
+ }, E = [], G = /* @__PURE__ */ p(
489
488
  L,
490
489
  Z,
490
+ E,
491
491
  !1,
492
492
  null,
493
- "99330ef9",
493
+ "03965578",
494
494
  null,
495
495
  null
496
496
  );
497
- const G = E.exports;
498
- const j = {
497
+ const j = G.exports;
498
+ const N = {
499
499
  name: "PackageGroup",
500
500
  components: {
501
- PackageItem: O,
502
- PackagePricingSummary: G,
503
- ErrorCallout: P
501
+ PackageItem: q,
502
+ PackagePricingSummary: j,
503
+ ErrorCallout: b
504
504
  },
505
505
  mixins: [_([
506
506
  "type",
@@ -547,7 +547,7 @@ const j = {
547
547
  }
548
548
  },
549
549
  created() {
550
- const { isPreview: i, setPricesIncVat: e = null, useVat: t = w[this.$brand].defaultRegion === "SE" } = u(this, "_document", {});
550
+ const { isPreview: i, setPricesIncVat: e = null, useVat: t = w[P.brand].defaultRegion === "SE" } = u(this, "_document", {});
551
551
  i && e !== null ? this.showPricesIncVat = e : this.showPricesIncVat = u(this, "_document.prices.helpers.isIndivid", !0) && t;
552
552
  },
553
553
  methods: {
@@ -564,28 +564,28 @@ const j = {
564
564
  }
565
565
  }
566
566
  };
567
- var N = function() {
567
+ var R = function() {
568
568
  var e = this, t = e._self._c;
569
569
  return t("div", { staticStyle: { position: "relative" } }, [e._l(e.fixedPackages, function(r, n) {
570
570
  return t("PackageItem", { key: n, attrs: { type: e.type, "work-package": e._document.packageGroups.getPackageById(r.packageId), "heading-color": e.primaryColor, "can-toggle": e.canToggle, "show-prices-inc-vat": e.showPricesIncVat, _document: e._document }, on: { toggle: e.onToggle, "toggle-show-vat": function(s) {
571
571
  e.showPricesIncVat = s;
572
572
  } } });
573
- }), e.toggablePackages.length ? t("div", [e.fixedPackages.length && e.toggablePackages.length ? t("div", { staticStyle: { padding: "0.5rem", "line-height": "2", color: "hsla(0, 0%, 0%, 0.65)", "font-weight": "600", "font-size": "1rem" } }, [e._v(" " + e._s(e._document.$t("chapters.packageGroup.selectableOptions")) + " ")]) : e._e(), e._l(e.toggablePackages, function(r, n) {
573
+ }), e.toggablePackages.length ? t("div", [e.fixedPackages.length && e.toggablePackages.length ? t("div", { staticStyle: { padding: "calc(0.5 * var(--rem))", "line-height": "2", color: "hsla(0, 0%, 0%, 0.65)", "font-weight": "600", "font-size": "calc(1 * var(--rem))" } }, [e._v(" " + e._s(e._document.$t("chapters.packageGroup.selectableOptions")) + " ")]) : e._e(), e._l(e.toggablePackages, function(r, n) {
574
574
  return t("PackageItem", { key: `fixed-${n}`, attrs: { "work-package": e._document.packageGroups.getPackageById(r.packageId), type: e.type, "heading-color": e.primaryColor, "show-toggle": e.showToggle, "can-toggle": e.canToggle, "is-preview": e._document.isPreview, "show-prices-inc-vat": e.showPricesIncVat, _document: e._document }, on: { toggle: e.onToggle, "toggle-show-vat": function(s) {
575
575
  e.showPricesIncVat = s;
576
576
  } } });
577
- })], 2) : e._e(), e.validator.$invalid && e.validator.$dirty ? t("ErrorCallout", { staticStyle: { "padding-bottom": "1.5rem" }, attrs: { message: e._document.$t("chapters.packageGroup.errorCallout") } }) : e._e(), e.hideGroupPrice ? e._e() : t("PackagePricingSummary", { attrs: { prices: e.prices, _document: e._document, "show-prices-inc-vat": e.showPricesIncVat, "primary-color": e.primaryColor, placeholder: !e.selectedPackages.length } })], 2);
578
- }, R = [], H = /* @__PURE__ */ p(
579
- j,
577
+ })], 2) : e._e(), e.validator.$invalid && e.validator.$dirty ? t("ErrorCallout", { staticStyle: { "padding-bottom": "calc(1.5 * var(--rem))" }, attrs: { message: e._document.$t("chapters.packageGroup.errorCallout") } }) : e._e(), e.hideGroupPrice ? e._e() : t("PackagePricingSummary", { attrs: { prices: e.prices, _document: e._document, "show-prices-inc-vat": e.showPricesIncVat, "primary-color": e.primaryColor, placeholder: !e.selectedPackages.length } })], 2);
578
+ }, H = [], U = /* @__PURE__ */ p(
580
579
  N,
581
580
  R,
581
+ H,
582
582
  !1,
583
583
  null,
584
- "2e69761a",
584
+ "949caf8b",
585
585
  null,
586
586
  null
587
587
  );
588
- const ce = H.exports;
588
+ const oe = U.exports;
589
589
  export {
590
- ce as default
590
+ oe as default
591
591
  };
@@ -1,7 +1,8 @@
1
- import { V as s } from "./PdfViewer-38bd8439.js";
2
- import { n as t } from "./main-04025a56.js";
3
- import "./formValidationMixin-4920ab53.js";
4
- import "./CDropdownItem-74672842.js";
1
+ import { V as s } from "./PdfViewer-1227dda6.js";
2
+ import { n as t } from "./main-2dc98356.js";
3
+ import "./dom-068d1a7b.js";
4
+ import "./DocumentLayout-ae49ac7a.js";
5
+ import "./CDropdownItem-5532f8af.js";
5
6
  const n = {
6
7
  name: "PdfTerms",
7
8
  functional: !0,
@@ -30,11 +31,11 @@ var a = /* @__PURE__ */ t(
30
31
  l,
31
32
  !1,
32
33
  null,
33
- "94855606",
34
+ "5d832f2b",
34
35
  null,
35
36
  null
36
37
  );
37
- const f = a.exports;
38
+ const d = a.exports;
38
39
  export {
39
- f as default
40
+ d as default
40
41
  };
@@ -1,5 +1,6 @@
1
- import { n as u, E as g } from "./main-04025a56.js";
2
- import { W as m, e as d } from "./formValidationMixin-4920ab53.js";
1
+ import { n as u, K as g } from "./main-2dc98356.js";
2
+ import { e as d } from "./dom-068d1a7b.js";
3
+ import { W as m } from "./DocumentLayout-ae49ac7a.js";
3
4
  let o, l, f, c, p;
4
5
  function w(e) {
5
6
  return typeof e == "object" && e !== null && e.__PDFDocumentLoadingTask === !0;
@@ -238,7 +239,7 @@ var $ = function() {
238
239
  null,
239
240
  null
240
241
  );
241
- const x = b.exports;
242
+ const T = b.exports;
242
243
  export {
243
- x as V
244
+ T as V
244
245
  };
@@ -1,4 +1,4 @@
1
- import { n as r } from "./main-04025a56.js";
1
+ import { n as r } from "./main-2dc98356.js";
2
2
  const e = {
3
3
  name: "PlainHtml"
4
4
  };