@cling-se/widget 0.12.2 → 0.12.4

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 (120) hide show
  1. package/dist/{AddClientCallout-55d62947.js → AddClientCallout-96e94ad9.js} +7 -7
  2. package/dist/{AnswerModal-b6711c04.js → AnswerModal-6990ea17.js} +225 -266
  3. package/dist/{AttachmentItem-ae30a5f1.js → AttachmentItem-0d327381.js} +6 -6
  4. package/dist/{BaseDatePicker-eb8f882d.js → BaseDatePicker-e2e1ea6e.js} +2 -2
  5. package/dist/{BaseInput-2937b370.js → BaseInput-d9c734b0.js} +1 -1
  6. package/dist/{BaseUpload-43e14bd0.js → BaseUpload-9efbce6d.js} +2 -2
  7. package/dist/{BlockMedia-8360c785.js → BlockMedia-70d92534.js} +1 -1
  8. package/dist/{CCallout-0151c27a.js → CCallout-419f1eac.js} +4 -4
  9. package/dist/{CDropdownItem-b1e4c6f3.js → CDropdownItem-60893039.js} +2 -2
  10. package/dist/{CField-fdd6dcfd.js → CField-2e027461.js} +1 -1
  11. package/dist/{CPhoneFormat-df833bce.js → CPhoneFormat-b0670312.js} +1 -1
  12. package/dist/{CSlider.vue_vue_type_style_index_0_lang-55e6c2fe.js → CSlider.vue_vue_type_style_index_0_lang-852dfd0e.js} +1 -1
  13. package/dist/{ClientAutocomplete-205a7590.js → ClientAutocomplete-44998c42.js} +2 -2
  14. package/dist/{ClientModal-68127a2f.js → ClientModal-d4ebef77.js} +11 -11
  15. package/dist/{ColorPicker-43c3cfaf.js → ColorPicker-cd9e1cc0.js} +2 -2
  16. package/dist/{CompanyModal-71ebe768.js → CompanyModal-36820c26.js} +3 -3
  17. package/dist/{ContentWrapper-8f8bee09.js → ContentWrapper-520e4761.js} +19 -19
  18. package/dist/{CoverBlockSettings-d5369ff3.js → CoverBlockSettings-0251d18f.js} +17 -17
  19. package/dist/{DocAnswer-5e76d312.js → DocAnswer-dad0bf7f.js} +4 -4
  20. package/dist/{DocDetails-66a88018.js → DocDetails-31009b60.js} +29 -29
  21. package/dist/{DocForm-6bd82138.js → DocForm-3e6d9d83.js} +88 -85
  22. package/dist/{DocFormSend-c216bd22.js → DocFormSend-3b8e9604.js} +19 -19
  23. package/dist/{DocLinks-c970a046.js → DocLinks-1467ba01.js} +2 -2
  24. package/dist/{DocModalBase-cbaaa05d.js → DocModalBase-c596787a.js} +7 -7
  25. package/dist/{DocPrint-8151565c.js → DocPrint-3970f8e8.js} +13 -13
  26. package/dist/{DocReceipt-493488a1.js → DocReceipt-dd5c7d5b.js} +7 -7
  27. package/dist/{DocSendReminder-ffc469ba.js → DocSendReminder-a3909a71.js} +6 -6
  28. package/dist/{DocTextEditor-4892f553.js → DocTextEditor-f0223af8.js} +16 -16
  29. package/dist/{DocTimeline-7a10530a.js → DocTimeline-9b29e5f6.js} +4 -4
  30. package/dist/{DocumentClient-414f097b.js → DocumentClient-f77bc578.js} +46 -32
  31. package/dist/{DocumentLayout-2cca22a1.js → DocumentLayout-9cc2a08e.js} +6 -6
  32. package/dist/{DocumentLogotype-e77e7f40.js → DocumentLogotype-20216f74.js} +9 -9
  33. package/dist/{DocumentVoided-09d10c10.js → DocumentVoided-1198114e.js} +2 -2
  34. package/dist/{EmbedInput-25566df2.js → EmbedInput-df3aa286.js} +2 -2
  35. package/dist/{EmbedSettings-167509c0.js → EmbedSettings-b71e059b.js} +3 -3
  36. package/dist/{ErrorCallout-42eae3f2.js → ErrorCallout-a39eba4d.js} +1 -1
  37. package/dist/{FilePreviewModal-8e1122db.js → FilePreviewModal-b5edeee0.js} +8 -8
  38. package/dist/{Flag-38700bb4.js → Flag-c7a354cd.js} +1 -1
  39. package/dist/{HeaderSettings-081d2355.js → HeaderSettings-db6e32c8.js} +24 -24
  40. package/dist/{ImageSelectModal-6a1cd80d.js → ImageSelectModal-856e363b.js} +8 -8
  41. package/dist/{ImageUploadWrapper-9a6f033f.js → ImageUploadWrapper-24dadc15.js} +5 -5
  42. package/dist/{Index-0e0ad8c0.js → Index-007a1233.js} +5 -5
  43. package/dist/{Index-a934610b.js → Index-0099e82e.js} +1 -1
  44. package/dist/{Index-9502eaff.js → Index-014d0ac2.js} +47 -41
  45. package/dist/{Index-39261a3a.js → Index-12ea21c5.js} +1 -1
  46. package/dist/{Index-3e206913.js → Index-139b1013.js} +2 -2
  47. package/dist/{Index-79894831.js → Index-1bf76a16.js} +4 -4
  48. package/dist/{Index-8e921bc3.js → Index-3378fcf6.js} +4 -4
  49. package/dist/{Index-c25f3084.js → Index-34978d11.js} +2 -2
  50. package/dist/{Index-54fd8589.js → Index-3889e134.js} +4 -4
  51. package/dist/{Index-d1ab5e5c.js → Index-40083942.js} +14 -14
  52. package/dist/{Index-8f01dd46.js → Index-4e675d8a.js} +4 -4
  53. package/dist/{Index-bf5c0b5b.js → Index-4f25825f.js} +10 -10
  54. package/dist/{Index-b62d0ef2.js → Index-4f9afe72.js} +6 -6
  55. package/dist/{Index-1273cdc7.js → Index-5355b449.js} +7 -7
  56. package/dist/{Index-7114ff1a.js → Index-54a78fad.js} +6 -6
  57. package/dist/{Index-34195119.js → Index-607f6640.js} +6 -6
  58. package/dist/{Index-4a8142d1.js → Index-6d22d9d1.js} +2 -2
  59. package/dist/{Index-b925e767.js → Index-73cee68c.js} +5 -5
  60. package/dist/{Index-fdaebd99.js → Index-75368b48.js} +2 -2
  61. package/dist/{Index-7c04c559.js → Index-7b2e5ac5.js} +24 -24
  62. package/dist/{Index-a75ce263.js → Index-8ac2ed05.js} +4 -4
  63. package/dist/{Index-4369488e.js → Index-9891ee1a.js} +6 -6
  64. package/dist/{Index-915af180.js → Index-99ac0ac2.js} +4 -4
  65. package/dist/{Index-2c33f7e6.js → Index-a5a82682.js} +9 -9
  66. package/dist/{Index-a8e9faf7.js → Index-b5480383.js} +9 -9
  67. package/dist/{Index-ddb1face.js → Index-bc5f3ca9.js} +4 -4
  68. package/dist/{Index-88084849.js → Index-c551781f.js} +6 -6
  69. package/dist/{Index-c55a7553.js → Index-cada810e.js} +7 -7
  70. package/dist/{Index-860a7def.js → Index-d689466d.js} +2 -2
  71. package/dist/{Index-ba70d622.js → Index-dcbfb822.js} +2 -2
  72. package/dist/{Index-614cfe86.js → Index-dd5f8fc7.js} +9 -9
  73. package/dist/{Index-b0b08a5f.js → Index-ef955a66.js} +3 -3
  74. package/dist/{Index-f5620e99.js → Index-f05fe2a1.js} +4 -4
  75. package/dist/{Index-ae9bb0e5.js → Index-f06fcb76.js} +48 -38
  76. package/dist/{InputToggleRow-afcabf8b.js → InputToggleRow-a9229972.js} +6 -6
  77. package/dist/{IsPremiumPreStep-231700e7.js → IsPremiumPreStep-4e9e2883.js} +27 -27
  78. package/dist/{ManualPopover-07af41a9.js → ManualPopover-720770bb.js} +1 -1
  79. package/dist/{MediaWrapper-3f16a687.js → MediaWrapper-90c72ae5.js} +3 -3
  80. package/dist/{NotBindingText-4ba4eb33.js → NotBindingText-832d5350.js} +2 -2
  81. package/dist/{PackageGroup-bb70a242.js → PackageGroup-22cbb76c.js} +87 -73
  82. package/dist/{PdfTerms-73cdcc78.js → PdfTerms-ce2d5d5e.js} +5 -5
  83. package/dist/{PdfViewer-0ca6548a.js → PdfViewer-ebff4b6c.js} +4 -4
  84. package/dist/{PlainHtml-834d9eb9.js → PlainHtml-faae67a3.js} +1 -1
  85. package/dist/{PriceHeader-27bc4ab4.js → PriceHeader-67ac2108.js} +37 -37
  86. package/dist/{SearchApi-e24cb043.js → SearchApi-d90fd0d2.js} +2 -2
  87. package/dist/{Setup-38eb90ad.js → Setup-88387515.js} +2 -2
  88. package/dist/{TermsSettings-0566ebc2.js → TermsSettings-82f18edc.js} +7 -7
  89. package/dist/{ThemeColorRow-6bb39c8c.js → ThemeColorRow-ca0c7f34.js} +4 -4
  90. package/dist/{ToggleBinding-b399a2d3.js → ToggleBinding-87b13b54.js} +3 -3
  91. package/dist/{UploadModal-69feba8c.js → UploadModal-9c6b64dc.js} +8 -8
  92. package/dist/{VideoPlayerInput-0289e1ad.js → VideoPlayerInput-87ae1e67.js} +3 -3
  93. package/dist/{VideoPlayerSettings-cc63392e.js → VideoPlayerSettings-ab7c9dd9.js} +4 -4
  94. package/dist/{VideoSelectModal-c98090a3.js → VideoSelectModal-b9c128a2.js} +15 -15
  95. package/dist/answerDocumentMixin-1a04710f.js +51 -0
  96. package/dist/{debounce-ceac3c0c.js → debounce-5f4cc346.js} +1 -1
  97. package/dist/{focusDrawerMixin-6b40c0e4.js → focusDrawerMixin-fcfab690.js} +1 -1
  98. package/dist/{formComponentsInstall-4bc1ca62.js → formComponentsInstall-f2198c99.js} +41 -41
  99. package/dist/{formDrawerState-2389a9f5.js → formDrawerState-6ff961ac.js} +1 -1
  100. package/dist/{formValidationMixin-198347ab.js → formValidationMixin-5882b9a7.js} +1 -1
  101. package/dist/{i18nMessages-45c6bfd6.js → i18nMessages-6b279c15.js} +4 -2
  102. package/dist/{index-4e8daf4c.js → index-069b282b.js} +3 -3
  103. package/dist/{index-323657a2.js → index-09727136.js} +1 -1
  104. package/dist/{index-2e4624f0.js → index-383fefaf.js} +1 -1
  105. package/dist/{index-df8dbf78.js → index-525e4866.js} +13 -13
  106. package/dist/{index-f44b504d.js → index-7fa7534f.js} +14 -14
  107. package/dist/{index-e3f717e9.js → index-9d8996e9.js} +1 -1
  108. package/dist/index.es.js +3 -3
  109. package/dist/index.umd.js +144 -144
  110. package/dist/{main-e7c2bb1b.js → main-0ba93efc.js} +6037 -6233
  111. package/dist/{mapFormMixin-cb52494b.js → mapFormMixin-46fe94a8.js} +1 -1
  112. package/dist/{publicSenderState-60a99040.js → publicSenderState-644bb177.js} +1 -1
  113. package/dist/style.css +2 -2
  114. package/dist/{throttle-27be8808.js → throttle-61f5ee70.js} +2 -2
  115. package/dist/{tinycolor-314fba6f.js → tinycolor-4773d945.js} +1 -1
  116. package/dist/{tippy.esm-4fc6fa67.js → tippy.esm-b5320973.js} +6 -6
  117. package/dist/{utils-e42920bb.js → utils-8d533496.js} +1 -1
  118. package/dist/{vuedraggable.umd-945498e7.js → vuedraggable.umd-37bf712b.js} +1 -1
  119. package/package.json +2 -2
  120. package/dist/answerDocumentMixin-a2c8c0c9.js +0 -54
@@ -1,19 +1,19 @@
1
- import { t as m } from "./tinycolor-314fba6f.js";
2
- import { aj as v, ak as y, v as g, n as p, al as f, y as k, b as u, l as w, c as P } from "./main-e7c2bb1b.js";
3
- import { E as b } from "./ErrorCallout-42eae3f2.js";
4
- import { m as _ } from "./mapFormMixin-cb52494b.js";
5
- import { T as x } from "./DocTextEditor-4892f553.js";
6
- import "./tippy.esm-4fc6fa67.js";
7
- import "./ColorPicker-43c3cfaf.js";
8
- import "./DocumentLayout-2cca22a1.js";
9
- import "./debounce-ceac3c0c.js";
10
- import "./CDropdownItem-b1e4c6f3.js";
11
- import "./CSlider.vue_vue_type_style_index_0_lang-55e6c2fe.js";
1
+ import { t as m } from "./tinycolor-4773d945.js";
2
+ import { aj as v, ak as y, v as g, n as d, al as f, y as k, b as p, l as w, c as P } from "./main-0ba93efc.js";
3
+ import { E as $ } from "./ErrorCallout-a39eba4d.js";
4
+ import { m as _ } from "./mapFormMixin-46fe94a8.js";
5
+ import { T as x } from "./DocTextEditor-f0223af8.js";
6
+ import "./tippy.esm-b5320973.js";
7
+ import "./ColorPicker-cd9e1cc0.js";
8
+ import "./DocumentLayout-9cc2a08e.js";
9
+ import "./debounce-5f4cc346.js";
10
+ import "./CDropdownItem-60893039.js";
11
+ import "./CSlider.vue_vue_type_style_index_0_lang-852dfd0e.js";
12
12
  import "./dom-962579a6.js";
13
13
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
14
- import "./ManualPopover-07af41a9.js";
14
+ import "./ManualPopover-720770bb.js";
15
15
  import "./color-71c20583.js";
16
- const $ = {
16
+ const b = {
17
17
  name: "ArticleItem",
18
18
  mixins: [_([])],
19
19
  props: {
@@ -150,8 +150,8 @@ var T = function() {
150
150
  return t("div", { staticClass: "article-wrapper print-avoid-break-inside", class: {
151
151
  "no-border-top": e.position === 0
152
152
  } }, [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)]);
153
- }, S = [], V = /* @__PURE__ */ p(
154
- $,
153
+ }, S = [], V = /* @__PURE__ */ d(
154
+ b,
155
155
  T,
156
156
  S,
157
157
  !1,
@@ -210,10 +210,10 @@ var A = function() {
210
210
  })
211
211
  }), expression: "\n _document.$t('chapters.articleList.changeShowVatTooltip', {\n type: _document.$t(`vat.${showPricesIncVat ? 'exVat' : 'incVat'}`, {\n thing: _document.$t(`vat.${vatType}`)\n })\n })\n " }], staticStyle: { "text-decoration": "underline", cursor: "pointer" }, on: { click: function(r) {
212
212
  return e.$emit("toggle-show-vat", !e.showPricesIncVat);
213
- } } }, [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) {
214
- 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 } });
213
+ } } }, [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, o) {
214
+ return t("DocChapterArticleItem", { key: o, 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 } });
215
215
  })], 2);
216
- }, D = [], F = /* @__PURE__ */ p(
216
+ }, D = [], F = /* @__PURE__ */ d(
217
217
  I,
218
218
  A,
219
219
  D,
@@ -337,7 +337,7 @@ var M = function() {
337
337
  }
338
338
  } }, [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", [e.description ? t("TextEditor", { staticStyle: { "margin-bottom": "1em" }, attrs: { value: e.description } }) : e._e()], 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) {
339
339
  return e.$emit("toggle-show-vat", r);
340
- } } })], 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))", "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) {
340
+ } } })], 1), e.type !== "single" && (e.workPackage.toggable || e.isPreview) && (e.prices.total || e.prices.type === "openAcc") ? t("div", { staticClass: "flex w-full justify-end", staticStyle: { "margin-top": "calc(3 * var(--rem))" } }, [t("div", { staticStyle: { padding: "calc(0.75 * var(--rem)) calc(1 * 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 w-full items-center justify-end", 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) {
341
341
  e.showDetails = !e.showDetails;
342
342
  } } }, [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 && {
343
343
  content: e.$t("selectTooltip"),
@@ -353,18 +353,18 @@ var M = function() {
353
353
  }, attrs: { type: "text" }, on: { click: function(r) {
354
354
  e.canToggle && e.$emit("toggle", e.workPackage.packageId);
355
355
  } } }, [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);
356
- }, W = [], O = /* @__PURE__ */ p(
356
+ }, W = [], O = /* @__PURE__ */ d(
357
357
  B,
358
358
  M,
359
359
  W,
360
360
  !1,
361
361
  null,
362
- "6dcf4b42",
362
+ "739ac8d8",
363
363
  null,
364
364
  null
365
365
  );
366
- const q = O.exports;
367
- const L = {
366
+ const Z = O.exports;
367
+ const q = {
368
368
  name: "PackagePricingSummary",
369
369
  props: {
370
370
  // PackageGroup.prices (format: calcPrices of one group)
@@ -400,35 +400,35 @@ const L = {
400
400
  total: e,
401
401
  maxTotal: t,
402
402
  subTotal: r,
403
- taxAmount: n,
403
+ taxAmount: o,
404
404
  roundingAmount: s,
405
405
  currency: a
406
406
  } = this.prices, c = [];
407
407
  if (!a)
408
408
  return c;
409
- const l = {
409
+ const n = {
410
410
  title: this._document.$t("chapters.pricingSummary.blocks.price"),
411
411
  subTitle: this._document.$t("chapters.pricingSummary.blocks.summary")
412
- }, o = this.getPricingInfo({
412
+ }, u = this.getPricingInfo({
413
413
  includeFixedCosts: !this.isOpenAccPricing
414
414
  });
415
- let d = this.hasDeductions ? this._document.$t(
415
+ let l = this.hasDeductions ? this._document.$t(
416
416
  "chapters.pricingSummary.blocks.deductionSubValue",
417
417
  {
418
- price: this.priceFormat(r + n + s, {
418
+ price: this.priceFormat(r + o + s, {
419
419
  currency: a,
420
420
  decimals: 2,
421
421
  hideZeroDecimals: !0
422
422
  })
423
423
  }
424
424
  ) : null, h = e;
425
- return this.prices.useVat && !this.showPricesIncVat && !this.hasDeductions && (h = r, d = `${this.priceFormat(e, {
425
+ return this.prices.useVat && !this.showPricesIncVat && !this.hasDeductions && (h = r, l = `${this.priceFormat(e, {
426
426
  currency: a,
427
427
  decimals: 2,
428
428
  hideZeroDecimals: !0
429
429
  })} ${this._document.$t("vat.incVat")}`), ["fixed", "approx"].includes(i) && c.push({
430
- header: l,
431
- items: o,
430
+ header: n,
431
+ items: u,
432
432
  footer: {
433
433
  title: this._document.$t("chapters.pricingSummary.blocks.total"),
434
434
  subTitle: i === "approx" ? this._document.$t("chapters.pricingSummary.blocks.approx") : null,
@@ -437,11 +437,11 @@ const L = {
437
437
  decimals: 2,
438
438
  hideZeroDecimals: !0
439
439
  }),
440
- subValue: d
440
+ subValue: l
441
441
  }
442
442
  }), this.isOpenAccPricing && (c.push({
443
- header: l,
444
- items: o,
443
+ header: n,
444
+ items: u,
445
445
  footer: t ? {
446
446
  title: this._document.$t(
447
447
  "chapters.pricingSummary.blocks.maxPrice"
@@ -469,7 +469,7 @@ const L = {
469
469
  decimals: 2,
470
470
  hideZeroDecimals: !0
471
471
  }),
472
- subValue: d
472
+ subValue: l
473
473
  }
474
474
  })), c;
475
475
  },
@@ -477,7 +477,7 @@ const L = {
477
477
  return ["openAcc", "openAccMaxPrice"].includes(this.prices.type);
478
478
  },
479
479
  showIncVat() {
480
- return u(this._document, "prices.helpers.isIndivid", !0);
480
+ return p(this._document, "prices.helpers.isIndivid", !0);
481
481
  },
482
482
  calcMaxPrice() {
483
483
  return this.prices.maxTotal ? this.showIncVat ? this.prices.maxTotal * 1.25 : this.prices.maxTotal : null;
@@ -490,7 +490,7 @@ const L = {
490
490
  return this.prices.region && this.prices.region.houseWorkAmount;
491
491
  },
492
492
  vatType() {
493
- return u(this, "_document.vatType");
493
+ return p(this, "_document.vatType");
494
494
  }
495
495
  },
496
496
  methods: {
@@ -508,47 +508,48 @@ const L = {
508
508
  const {
509
509
  type: t,
510
510
  subTotal: r,
511
- roundingAmount: n,
511
+ roundingAmount: o,
512
512
  taxAmount: s,
513
513
  maxTotal: a,
514
514
  region: c = {},
515
- currency: l
515
+ currency: n,
516
+ helpers: { discount: u }
516
517
  } = this.prices;
517
- let o = [];
518
- return c.country === "sweden" && (t === "openAccMaxPrice" && a && !i && (o.push({
518
+ let l = [];
519
+ return c.country === "sweden" && (t === "openAccMaxPrice" && a && !i && (l.push({
519
520
  label: this._document.$t(
520
521
  "chapters.pricingSummary.blocks.maxPriceVat",
521
522
  { vat: this._document.$t("vat.exVat") }
522
523
  ),
523
524
  value: this.priceFormat(a, {
524
- currency: l,
525
+ currency: n,
525
526
  decimals: 2,
526
527
  hideZeroDecimals: !0
527
528
  })
528
- }), c.reverseVat || o.push({
529
+ }), c.reverseVat || l.push({
529
530
  label: this._document.$t(
530
531
  "chapters.pricingSummary.blocks.maxPriceVat",
531
532
  { vat: this._document.$t("vat.incVat") }
532
533
  ),
533
534
  value: this.priceFormat(a * 1.25, {
534
- currency: l,
535
+ currency: n,
535
536
  decimals: 2,
536
537
  hideZeroDecimals: !0
537
538
  })
538
- })), c.houseWorkType && c.houseWorkAmount && i && o.push({
539
+ })), c.houseWorkType && c.houseWorkAmount && i && l.push({
539
540
  label: this._document.$t("deduction.type", {
540
541
  type: `${c.houseWorkType}${c.houseWorkManualAmount === null ? "_percentage" : ""}`
541
542
  }),
542
543
  value: this.priceFormat(-1 * c.houseWorkAmount, {
543
- currency: l,
544
+ currency: n,
544
545
  decimals: 2,
545
546
  hideZeroDecimals: !0
546
547
  })
547
- })), i && (o = [
548
+ })), i && (l = [
548
549
  {
549
550
  label: this._document.$t("chapters.pricingSummary.blocks.net"),
550
551
  value: this.priceFormat(r, {
551
- currency: l,
552
+ currency: n,
552
553
  decimals: 2,
553
554
  hideZeroDecimals: !0
554
555
  })
@@ -558,50 +559,63 @@ const L = {
558
559
  label: this._document.$t(`vat.${this.vatType}`).capitalize(),
559
560
  value: this.priceFormat(c.reverseVat ? 0 : s, {
560
561
  showZero: !0,
561
- currency: l,
562
+ currency: n,
562
563
  decimals: 2,
563
564
  hideZeroDecimals: !0
564
565
  })
565
566
  }
566
567
  ] : [],
567
- ...o,
568
+ ...l,
568
569
  ...this.prices.rounding.enabled && this.prices.rounding.show ? [
569
570
  {
570
571
  label: this._document.$t(
571
572
  "chapters.pricingSummary.blocks.rounding"
572
573
  ),
573
- value: this.priceFormat(n, {
574
+ value: this.priceFormat(o, {
574
575
  decimals: 2,
575
576
  showZero: !0,
576
- currency: l,
577
+ currency: n,
577
578
  hideZeroDecimals: !0
578
579
  })
579
580
  }
581
+ ] : [],
582
+ ...this.prices.helpers.discount ? [
583
+ {
584
+ label: this._document.$t(
585
+ "chapters.pricingSummary.blocks.discount"
586
+ ),
587
+ value: `-${this.priceFormat(u, {
588
+ decimals: 2,
589
+ showZero: !0,
590
+ currency: n,
591
+ hideZeroDecimals: !0
592
+ })}`
593
+ }
580
594
  ] : []
581
- ]), e && t !== "fixed" && (o = [
595
+ ]), e && t !== "fixed" && (l = [
582
596
  {
583
597
  label: this._document.$t("price.pricing").capitalize(),
584
598
  value: this._document.$t(`price.${t}`)
585
599
  },
586
- ...o
587
- ]), o;
600
+ ...l
601
+ ]), l;
588
602
  }
589
603
  }
590
604
  };
591
- var Z = function() {
605
+ var L = function() {
592
606
  var e = this, t = e._self._c;
593
- 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) {
594
- 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) {
595
- 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))])]);
607
+ 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: o, footer: s }, a) {
608
+ 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()]), o.length || s ? t("div", { staticClass: "block-body" }, [e._l(o, function({ label: c, value: n }, u) {
609
+ return t("div", { key: `item-${u}-${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(n))])]);
596
610
  }), 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()]);
597
- }), 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),", "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();
598
- }, E = [], j = /* @__PURE__ */ p(
611
+ }), 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 w-full flex-col items-center justify-center", 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))", "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();
612
+ }, E = [], j = /* @__PURE__ */ d(
613
+ q,
599
614
  L,
600
- Z,
601
615
  E,
602
616
  !1,
603
617
  null,
604
- "cfcdda7b",
618
+ "5c6089dd",
605
619
  null,
606
620
  null
607
621
  );
@@ -609,9 +623,9 @@ const G = j.exports;
609
623
  const N = {
610
624
  name: "PackageGroup",
611
625
  components: {
612
- PackageItem: q,
626
+ PackageItem: Z,
613
627
  PackagePricingSummary: G,
614
- ErrorCallout: b
628
+ ErrorCallout: $
615
629
  },
616
630
  mixins: [
617
631
  _(["type", "packages", "hideGroupPrice"], { useEmit: !1 })
@@ -647,7 +661,7 @@ const N = {
647
661
  return this.packages.filter((i) => !(!i.toggable && i.isSelected));
648
662
  },
649
663
  primaryColor() {
650
- let i = u(this, '_document.data.css[".chapter"]["--accentColor"]') || u(this, "_document.theme.headingColor");
664
+ let i = p(this, '_document.data.css[".chapter"]["--accentColor"]') || p(this, "_document.theme.headingColor");
651
665
  function e() {
652
666
  m.readability(i, "#fff") < 1.8 && (i = m(i).darken(5).toString(), e());
653
667
  }
@@ -662,8 +676,8 @@ const N = {
662
676
  isPreview: i,
663
677
  setPricesIncVat: e = null,
664
678
  useVat: t = w[P.brand].defaultRegion === "SE"
665
- } = u(this, "_document", {});
666
- i && e !== null ? this.showPricesIncVat = e : this.showPricesIncVat = u(this, "_document.prices.helpers.isIndivid", !0) && t;
679
+ } = p(this, "_document", {});
680
+ i && e !== null ? this.showPricesIncVat = e : this.showPricesIncVat = p(this, "_document.prices.helpers.isIndivid", !0) && t;
667
681
  },
668
682
  methods: {
669
683
  onToggle(i) {
@@ -684,16 +698,16 @@ const N = {
684
698
  };
685
699
  var R = function() {
686
700
  var e = this, t = e._self._c;
687
- return t("div", { staticStyle: { position: "relative" } }, [e._l(e.fixedPackages, function(r, n) {
688
- 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) {
701
+ return t("div", { staticStyle: { position: "relative" } }, [e._l(e.fixedPackages, function(r, o) {
702
+ return t("PackageItem", { key: o, 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) {
689
703
  e.showPricesIncVat = s;
690
704
  } } });
691
- }), 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) {
692
- 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) {
705
+ }), 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, o) {
706
+ return t("PackageItem", { key: `fixed-${o}`, 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) {
693
707
  e.showPricesIncVat = s;
694
708
  } } });
695
709
  })], 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);
696
- }, H = [], U = /* @__PURE__ */ p(
710
+ }, H = [], U = /* @__PURE__ */ d(
697
711
  N,
698
712
  R,
699
713
  H,
@@ -1,9 +1,9 @@
1
- import { V as t } from "./PdfViewer-0ca6548a.js";
2
- import { n as s } from "./main-e7c2bb1b.js";
1
+ import { V as t } from "./PdfViewer-ebff4b6c.js";
2
+ import { n as s } from "./main-0ba93efc.js";
3
3
  import "./dom-962579a6.js";
4
- import "./DocumentLayout-2cca22a1.js";
5
- import "./debounce-ceac3c0c.js";
6
- import "./CDropdownItem-b1e4c6f3.js";
4
+ import "./DocumentLayout-9cc2a08e.js";
5
+ import "./debounce-5f4cc346.js";
6
+ import "./CDropdownItem-60893039.js";
7
7
  const o = {
8
8
  name: "PdfTerms",
9
9
  functional: !0,
@@ -1,6 +1,6 @@
1
- import { n as h, Q as m, c as n } from "./main-e7c2bb1b.js";
1
+ import { n as h, Q as m, c as n } from "./main-0ba93efc.js";
2
2
  import { e as o } from "./dom-962579a6.js";
3
- import { W as w } from "./DocumentLayout-2cca22a1.js";
3
+ import { W as w } from "./DocumentLayout-9cc2a08e.js";
4
4
  let l, f, c, p, u;
5
5
  function _(t) {
6
6
  return typeof t == "object" && t !== null && t.__PDFDocumentLoadingTask === !0;
@@ -224,7 +224,7 @@ var S = function() {
224
224
  var e = this, i = e._self._c;
225
225
  return i("div", { key: e.src }, [e.isPdf ? i("pre", [e._v(" ClingPDFReplaceStart:[" + e._s(this.docFilePath) + `]ClingPDFReplaceEnd
226
226
  `), i("div", [e._v("This page should have been replaced with URL: " + e._s(e.src))]), e._v(`
227
- `)]) : i("div", [e.loading ? i("div", { staticClass: "mb-4 border border-gray-100 bg-gray-50 aspect-[210/297] grid place-items-center" }, [i("BaseIcon", { staticClass: "animate-spin text-gray-400", attrs: { type: "loader", size: "28" } })], 1) : e._e(), e._l(e.numPages, function(s) {
227
+ `)]) : i("div", [e.loading ? i("div", { staticClass: "mb-4 grid aspect-[210/297] place-items-center border border-gray-100 bg-gray-50" }, [i("BaseIcon", { staticClass: "animate-spin text-gray-400", attrs: { type: "loader", size: "28" } })], 1) : e._e(), e._l(e.numPages, function(s) {
228
228
  return i("VuePdf", e._b({ key: s, ref: "vuePdf", refInFor: !0, attrs: { page: s, "container-class": e.isPdf ? "" : "mb-4 shadow-[0_2px_4px_hsla(0,0%,0%,0.25)]" }, on: { "hook:created": function(r) {
229
229
  return e.pdfRenderBus.add(`${e._uid}-${s}`);
230
230
  }, loading: (r) => r ? null : e.pdfRenderBus.remove(`${e._uid}-${s}`) } }, "VuePdf", {
@@ -232,7 +232,7 @@ var S = function() {
232
232
  ...e.$props,
233
233
  pdfLoadingTask: e.pdfLoadingTask
234
234
  }, !1), [e._t("loading", function() {
235
- return [i("div", { staticClass: "mb-4 border border-gray-100 bg-gray-50 aspect-[210/297] grid place-items-center", attrs: { slot: "loading" }, slot: "loading" }, [i("BaseIcon", { staticClass: "animate-spin text-gray-400", attrs: { type: "loader", size: "28" } })], 1)];
235
+ return [i("div", { staticClass: "mb-4 grid aspect-[210/297] place-items-center border border-gray-100 bg-gray-50", attrs: { slot: "loading" }, slot: "loading" }, [i("BaseIcon", { staticClass: "animate-spin text-gray-400", attrs: { type: "loader", size: "28" } })], 1)];
236
236
  })], 2);
237
237
  })], 2)]);
238
238
  }, b = [], F = /* @__PURE__ */ h(
@@ -1,4 +1,4 @@
1
- import { n as r } from "./main-e7c2bb1b.js";
1
+ import { n as r } from "./main-0ba93efc.js";
2
2
  const e = {
3
3
  name: "PlainHtml"
4
4
  };