@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,10 @@
1
- import { m as n } from "./mapFormMixin-Hj1Y7rVt.js";
2
- import { n as i } from "./main-CerYX9PA.js";
1
+ import { m as n } from "./mapFormMixin-BZf4RJIE.js";
2
+ import { n as i } from "./main-U22_wtg0.js";
3
3
  const r = {
4
4
  name: "ExtraWorkTimeImpactText",
5
5
  components: {
6
- Read: () => import("./Index-Dv1fkHWQ.js"),
7
- Edit: () => import("./Index-B5XaBVyJ.js")
6
+ Read: () => import("./Index-CK_5l1kP.js"),
7
+ Edit: () => import("./Index-DbKB8sTh.js")
8
8
  },
9
9
  mixins: [
10
10
  n([
@@ -1,6 +1,6 @@
1
- import { m as n } from "./mapFormMixin-Hj1Y7rVt.js";
2
- import { f as o } from "./focusDrawerMixin-B2djM7ql.js";
3
- import { n as i } from "./main-CerYX9PA.js";
1
+ import { m as n } from "./mapFormMixin-BZf4RJIE.js";
2
+ import { f as o } from "./focusDrawerMixin-khaScuSu.js";
3
+ import { n as i } from "./main-U22_wtg0.js";
4
4
  const a = {
5
5
  name: "Terms",
6
6
  i18nOptions: {
@@ -15,8 +15,8 @@ const a = {
15
15
  }
16
16
  },
17
17
  components: {
18
- Read: () => import("./Index-ivhPuQy5.js"),
19
- TermsSettings: () => import("./TermsSettings-CAB-08E3.js")
18
+ Read: () => import("./Index-BUQ75xOU.js"),
19
+ TermsSettings: () => import("./TermsSettings-CUlSayCJ.js")
20
20
  },
21
21
  mixins: [
22
22
  n(["href", "termType", "file", "text"]),
@@ -1,5 +1,5 @@
1
- import { P as m } from "./PlainHtml-CucWAcOU.js";
2
- import { Y as c, w as u, n as p } from "./main-CerYX9PA.js";
1
+ import { P as m } from "./PlainHtml-o031pfp-.js";
2
+ import { Z as c, D as u, n as p } from "./main-U22_wtg0.js";
3
3
  import { s as g } from "./dom-CJxkno7i.js";
4
4
  const h = {
5
5
  name: "ExtraWorkConstructionPricingListRead",
@@ -86,7 +86,7 @@ const h = {
86
86
  n && (s *= 1.25), n && t[i] && (s *= t[i]);
87
87
  }
88
88
  const d = () => i ? this.$t("deduction.afterType", {
89
- type: i
89
+ type: this.$t(`deduction.${i}`)
90
90
  }) : n ? "" : `${this.$t("vat.exVat", {
91
91
  thing: this.$t("_common:vat.sharedTitle")
92
92
  })} `, l = this.$t("subPriceString", {
@@ -163,9 +163,9 @@ var k = /* @__PURE__ */ p(
163
163
  b,
164
164
  !1,
165
165
  null,
166
- "fc277004"
166
+ "fae3b360"
167
167
  );
168
- const w = k.exports;
168
+ const y = k.exports;
169
169
  export {
170
- w as default
170
+ y as default
171
171
  };
@@ -1,5 +1,5 @@
1
- import { t as i } from "./tinycolor-BaK26Ky-.js";
2
- import { aa as d, n } from "./main-CerYX9PA.js";
1
+ import { t as i } from "./tinycolor-BZ8wGctU.js";
2
+ import { ae as d, n } from "./main-U22_wtg0.js";
3
3
  const c = {
4
4
  "x-world/x-3dmf": {
5
5
  labelColor: "#8D1A11",
@@ -1,4 +1,4 @@
1
- import { n as s } from "./main-CerYX9PA.js";
1
+ import { n as s } from "./main-U22_wtg0.js";
2
2
  const n = {
3
3
  name: "InputCompactRow",
4
4
  props: {
@@ -49,7 +49,7 @@ var l = function() {
49
49
  o,
50
50
  !1,
51
51
  null,
52
- "089f7e86"
52
+ "7c177475"
53
53
  );
54
54
  const d = a.exports;
55
55
  export {
@@ -1,5 +1,5 @@
1
- import { n as i } from "./main-CerYX9PA.js";
2
- const n = {
1
+ import { n as s } from "./main-U22_wtg0.js";
2
+ const i = {
3
3
  name: "ManualPopover",
4
4
  data() {
5
5
  return {
@@ -33,26 +33,28 @@ const n = {
33
33
  this.getRootElm().removeEventListener("click", this.onClickOutside);
34
34
  },
35
35
  getRootElm() {
36
- var o, s;
37
- const t = (s = (o = this.$el).getRootNode) == null ? void 0 : s.call(o);
36
+ var o, n;
37
+ const t = (n = (o = this.$el).getRootNode) == null ? void 0 : n.call(o);
38
38
  return (t == null ? void 0 : t.toString()) === "[object ShadowRoot]" ? t : document;
39
39
  }
40
40
  }
41
41
  };
42
42
  var r = function() {
43
43
  var e = this, o = e._self._c;
44
- return o("v-popover", e._g(e._b({ ref: "popover", attrs: { trigger: "manual", open: e.open, "auto-hide": !1 }, on: { "update:open": function(s) {
45
- e.open = s;
46
- } } }, "v-popover", e.$attrs, !1), e.$listeners), [e._t("default"), o("div", { attrs: { slot: "popover" }, slot: "popover" }, [e._t("popover")], 2)], 2);
47
- }, l = [], a = /* @__PURE__ */ i(
48
- n,
44
+ return o("v-popover", e._g(e._b({ ref: "popover", attrs: { trigger: "manual", open: e.open, "auto-hide": !1 }, on: { "update:open": function(n) {
45
+ e.open = n;
46
+ } }, scopedSlots: e._u([{ key: "popover", fn: function() {
47
+ return [o("div", [e._t("popover")], 2)];
48
+ }, proxy: !0 }], null, !0) }, "v-popover", e.$attrs, !1), e.$listeners), [e._t("default")], 2);
49
+ }, l = [], a = /* @__PURE__ */ s(
50
+ i,
49
51
  r,
50
52
  l,
51
53
  !1,
52
54
  null,
53
55
  null
54
56
  );
55
- const d = a.exports;
57
+ const u = a.exports;
56
58
  export {
57
- d as M
59
+ u as M
58
60
  };
@@ -1,6 +1,6 @@
1
- import { m as a } from "./mapFormMixin-Hj1Y7rVt.js";
2
- import { B as n } from "./BlockMedia-CUCZYVdZ.js";
3
- import { n as m } from "./main-CerYX9PA.js";
1
+ import { m as a } from "./mapFormMixin-BZf4RJIE.js";
2
+ import { B as n } from "./BlockMedia-BSKtZMwa.js";
3
+ import { n as m } from "./main-U22_wtg0.js";
4
4
  const o = {
5
5
  name: "MediaWrapper",
6
6
  components: { BlockMedia: n },
@@ -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 r = {
4
4
  name: "NotBindingText",
5
5
  i18nOptions: {
@@ -1,8 +1,8 @@
1
- import { m as g } from "./mapFormMixin-Hj1Y7rVt.js";
2
- import { E as y } from "./ErrorCallout-BBNHzuhf.js";
3
- import { aq as f, ar as v, w as _, n as d, as as k, A as w, b as p, d as P, c as $ } from "./main-CerYX9PA.js";
4
- import { t as m } from "./tinycolor-BaK26Ky-.js";
5
- import { T as b } from "./DocTextEditor-CM1f8eMD.js";
1
+ import { m as g } from "./mapFormMixin-BZf4RJIE.js";
2
+ import { E as y } from "./ErrorCallout-CDtZceLU.js";
3
+ import { au as f, av as v, D as _, n as d, aw as k, J as w, b as p, d as P, c as $ } from "./main-U22_wtg0.js";
4
+ import { t as m } from "./tinycolor-BZ8wGctU.js";
5
+ import { T as b } from "./DocTextEditor-CNRwxPEx.js";
6
6
  const x = {
7
7
  name: "ArticleItem",
8
8
  mixins: [g([])],
@@ -139,14 +139,14 @@ var T = function() {
139
139
  var e = this, t = e._self._c;
140
140
  return t("div", { staticClass: "article-wrapper print-avoid-break-inside", class: {
141
141
  "no-border-top": e.position === 0
142
- } }, [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)]);
142
+ } }, [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._document.$t(`deduction.${e.houseWorkType}_percentage`) })))] : e.houseWorkType ? [e._v(e._s(e._document.$t("chapters.articleItem.eligibleForDeduction", { type: e._document.$t(`deduction.${e.houseWorkType}_percentage`) })))] : e._e()], 2) : e._e()], 2)]);
143
143
  }, S = [], V = /* @__PURE__ */ d(
144
144
  x,
145
145
  T,
146
146
  S,
147
147
  !1,
148
148
  null,
149
- "cf33c521"
149
+ "5e820f8f"
150
150
  );
151
151
  const C = V.exports, I = {
152
152
  name: "ArticleList",
@@ -200,15 +200,15 @@ var A = function() {
200
200
  } } }, [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) {
201
201
  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 } });
202
202
  })], 2);
203
- }, F = [], D = /* @__PURE__ */ d(
203
+ }, D = [], F = /* @__PURE__ */ d(
204
204
  I,
205
205
  A,
206
- F,
206
+ D,
207
207
  !1,
208
208
  null,
209
- "cb0dfa52"
209
+ "10ef4c10"
210
210
  );
211
- const z = D.exports, B = {
211
+ const z = F.exports, B = {
212
212
  name: "PackageItem",
213
213
  i18nOptions: {
214
214
  namespaces: "PackageItem",
@@ -343,9 +343,9 @@ var M = function() {
343
343
  W,
344
344
  !1,
345
345
  null,
346
- "597f71fb"
346
+ "3033be89"
347
347
  );
348
- const q = O.exports, Z = {
348
+ const Z = O.exports, q = {
349
349
  name: "PackagePricingSummary",
350
350
  props: {
351
351
  // PackageGroup.prices (format: calcPrices of one group)
@@ -482,7 +482,11 @@ const q = O.exports, Z = {
482
482
  let e = "";
483
483
  return this.hasDeductions && (e = this._document.$t(
484
484
  "chapters.pricingSummary.blocks.typeDeduction",
485
- { type: `${this.prices.region.houseWorkType}_percentage` }
485
+ {
486
+ type: this._document.$t(
487
+ `deduction.${this.prices.region.houseWorkType}_percentage`
488
+ )
489
+ }
486
490
  )), i || (e = e.charAt(0).toLowerCase() + e.slice(1)), e;
487
491
  },
488
492
  getPricingInfo({ includeFixedCosts: i = !0, showType: e = !0 }) {
@@ -519,7 +523,9 @@ const q = O.exports, Z = {
519
523
  })
520
524
  })), c.houseWorkType && c.houseWorkAmount && i && l.push({
521
525
  label: this._document.$t("deduction.type", {
522
- type: `${c.houseWorkType}${c.houseWorkManualAmount === null ? "_percentage" : ""}`
526
+ type: this._document.$t(
527
+ `deduction.${c.houseWorkType}${c.houseWorkManualAmount === null ? "_percentage" : ""}`
528
+ )
523
529
  }),
524
530
  value: this.priceFormat(-1 * c.houseWorkAmount, {
525
531
  currency: n,
@@ -589,19 +595,19 @@ var L = function() {
589
595
  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) {
590
596
  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))])]);
591
597
  }), 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()]);
592
- }), 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: { id: "a", x: "-30.7%", y: "-26.2%", width: "160%", height: "155%", filterUnits: "objectBoundingBox" } }, [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.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._document.$t(`deduction.${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: { id: "a", x: "-30.7%", y: "-26.2%", width: "160%", height: "155%", filterUnits: "objectBoundingBox" } }, [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();
593
599
  }, E = [], j = /* @__PURE__ */ d(
594
- Z,
600
+ q,
595
601
  L,
596
602
  E,
597
603
  !1,
598
604
  null,
599
- "a3ec6611"
605
+ "f2daa4c8"
600
606
  );
601
607
  const G = j.exports, N = {
602
608
  name: "PackageGroup",
603
609
  components: {
604
- PackageItem: q,
610
+ PackageItem: Z,
605
611
  PackagePricingSummary: G,
606
612
  ErrorCallout: y
607
613
  },
@@ -691,7 +697,7 @@ var R = function() {
691
697
  H,
692
698
  !1,
693
699
  null,
694
- "f50d442e"
700
+ "510f0afb"
695
701
  );
696
702
  const ee = U.exports;
697
703
  export {
@@ -0,0 +1,31 @@
1
+ import { u as c, x as r, $ as i, n as _ } from "./main-U22_wtg0.js";
2
+ import { V as l } from "./PdfViewer-DY0rcZjo.js";
3
+ const f = /* @__PURE__ */ c({
4
+ __name: "PdfTerms",
5
+ props: {
6
+ text: null,
7
+ file: null
8
+ },
9
+ setup(n) {
10
+ const t = n, s = r(() => t.text), e = r(() => {
11
+ var o;
12
+ return (o = t.file) == null ? void 0 : o.url;
13
+ }), a = r(() => i.t("_common:terms.general"));
14
+ return { __sfc: !0, props: t, text: s, src: e, terms: a, VuePdf: l };
15
+ }
16
+ });
17
+ var m = function() {
18
+ var t = this, s = t._self._c, e = t._self._setupProxy;
19
+ return e.text ? s("div", { staticClass: "root" }, [s("div", { staticClass: "root-title page-break" }, [t._v(" " + t._s(e.terms) + " ")]), s("div", { staticClass: "term-text quill-format", domProps: { innerHTML: t._s(e.text) } })]) : t.file ? s("div", [s(e.VuePdf, { staticClass: "pdf-container", attrs: { src: e.src, "doc-file-path": e.src } })], 1) : s("div");
20
+ }, p = [], d = /* @__PURE__ */ _(
21
+ f,
22
+ m,
23
+ p,
24
+ !1,
25
+ null,
26
+ "54e86667"
27
+ );
28
+ const x = d.exports;
29
+ export {
30
+ x as default
31
+ };
@@ -1,12 +1,12 @@
1
- import { n as d, c as n, P as g } from "./main-CerYX9PA.js";
2
- import { e as l } from "./dom-CJxkno7i.js";
3
- import { W as m } from "./DocumentLayout-GYCBw2F_.js";
4
- import { w as h } from "./CDropdownItem-b6ZzOnv-.js";
1
+ import { n as l, c as n, W as g } from "./main-U22_wtg0.js";
2
+ import { e as d } from "./dom-CJxkno7i.js";
3
+ import { W as m } from "./DocumentLayout-DmjmsTcx.js";
4
+ import { w as h } from "./CDropdownItem-DiLisSei.js";
5
5
  let c, u, p, f;
6
6
  function w(a) {
7
7
  return typeof a == "object" && a !== null && a.__PDFDocumentLoadingTask === !0;
8
8
  }
9
- const b = {
9
+ const y = {
10
10
  name: "PdfPage",
11
11
  components: {
12
12
  WithDimensions: m
@@ -132,13 +132,13 @@ const b = {
132
132
  }
133
133
  }
134
134
  };
135
- var v = function() {
135
+ var b = function() {
136
136
  var e = this, t = e._self._c;
137
137
  return t("div", [e.loading ? e._t("loading") : e._e(), t("div", { ref: "container", staticClass: "pdfViewer tracking-normal", class: e.containerClass }), t("WithDimensions", { on: { resize: e.resizeScale } }, [t("div", { staticClass: "w-full" })])], 2);
138
- }, y = [], P = /* @__PURE__ */ d(
138
+ }, v = [], P = /* @__PURE__ */ l(
139
+ y,
139
140
  b,
140
141
  v,
141
- y,
142
142
  !1,
143
143
  null,
144
144
  null
@@ -212,16 +212,16 @@ var x = function() {
212
212
  } } }, [t("CIcon", { attrs: { type: "download", size: "20" } })], 1)]) : e._e()])], 1), e.mq === "sm" ? t("button", { staticClass: "h-10 w-10 rounded-full text-gray-400", on: { click: function(s) {
213
213
  e.compactExpand = !e.compactExpand;
214
214
  } } }, [t("CIcon", { staticClass: "duration-500", class: { "rotate-180": e.compactExpand }, attrs: { type: "chevron-right", size: "20" } })], 1) : e._e()])]);
215
- }, C = [], $ = /* @__PURE__ */ d(
215
+ }, C = [], $ = /* @__PURE__ */ l(
216
216
  k,
217
217
  x,
218
218
  C,
219
219
  !1,
220
220
  null,
221
- "c18582b3"
221
+ "b2c8c8be"
222
222
  );
223
223
  const V = $.exports;
224
- function L(a, e) {
224
+ function S(a, e) {
225
225
  let t;
226
226
  if (typeof a == "string")
227
227
  t = {
@@ -234,7 +234,7 @@ function L(a, e) {
234
234
  const s = window.pdfjsLib.getDocument(t).promise;
235
235
  return s.__PDFDocumentLoadingTask = !0, e && e.onPassword && (s.onPassword = e.onPassword), e && e.onProgress && (s.onProgress = e.onProgress), s;
236
236
  }
237
- const o = "4.0.379", S = {
237
+ const o = "4.0.379", L = {
238
238
  components: {
239
239
  VuePdf: _,
240
240
  PDFToolbar: V
@@ -277,10 +277,10 @@ const o = "4.0.379", S = {
277
277
  src: {
278
278
  immediate: !0,
279
279
  async handler(a) {
280
- this.hasLoadedScripts || (await l(
280
+ this.hasLoadedScripts || (await d(
281
281
  // `https://unpkg.com/pdfjs-dist@${pdfjsVersion}/build/pdf.min.mjs`
282
282
  `${n.api.baseUrl}/js/pdfjs-dist@${o}/build/pdf.min.mjs`
283
- ), await l(
283
+ ), await d(
284
284
  // `https://unpkg.com/pdfjs-dist@${pdfjsVersion}/web/pdf_viewer.mjs`
285
285
  `${n.api.baseUrl}/js/pdfjs-dist@${o}/web/pdf_viewer.mjs`
286
286
  ), window.pdfjsLib.GlobalWorkerOptions.workerSrc = `${n.api.baseUrl}/js/pdfjs-dist@${o}/build/pdf.worker.min.mjs`, this.hasLoadedScripts = !0), this.setPdf(a);
@@ -291,7 +291,7 @@ const o = "4.0.379", S = {
291
291
  this.observer && (this.observer.disconnect(), this.observer = null);
292
292
  },
293
293
  methods: {
294
- createLoadingTask: L,
294
+ createLoadingTask: S,
295
295
  async setPdf(a) {
296
296
  a && (this.loading = !0, this.pdfLoadingTask = this.createLoadingTask(a), this.$nextTick(() => {
297
297
  this.pdfLoadingTask.then((e) => {
@@ -352,21 +352,21 @@ var F = function() {
352
352
  }, download: e.download, "navigate-to-page": e.navigateToPage } }) : e._e(), t("div", { staticClass: "mx-auto", class: { "chapter-spacing-x max-w-full": e.autoZoom } }, [e.loading ? t("div", { staticClass: "mb-4 grid aspect-[210/297] w-full place-items-center border border-gray-100 bg-gray-50" }, [t("CIcon", { staticClass: "animate-spin text-gray-400", attrs: { type: "loader", size: "28" } })], 1) : e._e(), t("div", { class: { "overflow-x-auto": !e.autoZoom } }, e._l(e.numPages, function(s) {
353
353
  return t("VuePdf", e._b({ key: s, ref: "pageComponent", refInFor: !0, staticClass: "page-shadow", attrs: { page: s, "data-page": s, scale: e.scale, resize: e.autoZoom, "container-class": "mb-4" }, on: { "update:scale": function(i) {
354
354
  e.scale = i;
355
- } } }, "VuePdf", {
355
+ } }, scopedSlots: e._u([{ key: "loading", fn: function() {
356
+ return [t("div", { staticClass: "mb-4 grid aspect-[210/297] place-items-center border border-gray-100 bg-gray-50" }, [t("CIcon", { staticClass: "animate-spin text-gray-400", attrs: { type: "loader", size: "28" } })], 1)];
357
+ }, proxy: !0 }], null, !0) }, "VuePdf", {
356
358
  ...e.$attrs,
357
359
  ...e.$props,
358
360
  pdfLoadingTask: e.pdfLoadingTask
359
- }, !1), [e._t("loading", function() {
360
- return [t("div", { staticClass: "mb-4 grid aspect-[210/297] place-items-center border border-gray-100 bg-gray-50", attrs: { slot: "loading" }, slot: "loading" }, [t("CIcon", { staticClass: "animate-spin text-gray-400", attrs: { type: "loader", size: "28" } })], 1)];
361
- })], 2);
361
+ }, !1));
362
362
  }), 1)])]], 2);
363
- }, T = [], D = /* @__PURE__ */ d(
364
- S,
363
+ }, T = [], D = /* @__PURE__ */ l(
364
+ L,
365
365
  F,
366
366
  T,
367
367
  !1,
368
368
  null,
369
- "065d6b5d"
369
+ "d485188f"
370
370
  );
371
371
  const N = D.exports;
372
372
  export {
@@ -1,4 +1,4 @@
1
- import { F as r, n as s } from "./main-CerYX9PA.js";
1
+ import { u as r, n as s } from "./main-U22_wtg0.js";
2
2
  const _ = /* @__PURE__ */ r({
3
3
  __name: "PlainHtml",
4
4
  props: {
@@ -1,9 +1,9 @@
1
- import { m as c } from "./mapFormMixin-Hj1Y7rVt.js";
2
- import { B as l } from "./BlockMedia-CUCZYVdZ.js";
3
- import { b as r, w as d, n, af as m } from "./main-CerYX9PA.js";
4
- import { t as u } from "./tinycolor-BaK26Ky-.js";
1
+ import { m as c } from "./mapFormMixin-BZf4RJIE.js";
2
+ import { B as l } from "./BlockMedia-BSKtZMwa.js";
3
+ import { b as r, D as d, n, ah as m } from "./main-U22_wtg0.js";
4
+ import { t as u } from "./tinycolor-BZ8wGctU.js";
5
5
  import { s as p } from "./dom-CJxkno7i.js";
6
- import { T as y } from "./DocTextEditor-CM1f8eMD.js";
6
+ import { T as y } from "./DocTextEditor-CNRwxPEx.js";
7
7
  import { i as h } from "./i18nMessages-Chz_lxGG.js";
8
8
  const _ = {
9
9
  name: "SummaryBottom",
@@ -78,7 +78,7 @@ const _ = {
78
78
  return i = this._document.$t("summaryBottom.reverseVat", { amount: t }), i;
79
79
  }
80
80
  return this.houseWorkType && (i = this._document.$t("deduction.afterType", {
81
- type: `${this.houseWorkType}_percentage`
81
+ type: this.$t(`deduction.${this.houseWorkType}_percentage`)
82
82
  })), this.showIncVat && (i += ` ${this._document.$t("vat.incVat", {
83
83
  thing: this._document.$t(`vat.${this.vatType}`)
84
84
  })}`), this.showIncVat || (i += ` ${this._document.$t("vat.exVat", {
@@ -128,7 +128,7 @@ var v = function() {
128
128
  g,
129
129
  !1,
130
130
  null,
131
- "625c1189"
131
+ "8526f626"
132
132
  );
133
133
  const S = f.exports, x = {
134
134
  name: "SummaryTop",
@@ -138,7 +138,7 @@ const S = f.exports, x = {
138
138
  },
139
139
  components: {
140
140
  TextEditor: y,
141
- DocumentLogotype: () => import("./DocumentLogotype-Cilc0ElE.js")
141
+ DocumentLogotype: () => import("./DocumentLogotype-ddYHM9wn.js")
142
142
  },
143
143
  mixins: [c([])],
144
144
  inject: ["parentSize"],
@@ -215,15 +215,15 @@ var b = function() {
215
215
  }, unstyled: "", static: "" }, on: { input: function(s) {
216
216
  return t.$emit("update:doc-name", s);
217
217
  } } }) : e("div", { staticClass: "quill-custom", domProps: { innerHTML: t._s(t.docName) } })], 1), e("div", { staticClass: "flex w-full justify-between" }, [t.expiresAt ? e("div", { staticClass: "data-group" }, [e("div", { staticClass: "label-text caps" }, [t._v(t._s(t._document.$t("replyBy")))]), e("div", { staticClass: "data-text" }, [t._v(t._s(t.$formatDate(t.expiresAt)))])]) : t._e(), t.docType !== "document" ? e("div", { staticClass: "data-group" }, [e("div", { staticClass: "label-text caps" }, [t._v(" " + t._s(t._document.$t("document").capitalize()) + " ")]), e("div", { staticClass: "data-text" }, [t._v(" " + t._s(t._document.$t(`series.${t.docType}`).capitalize()) + " ")])]) : t._e(), t.parentSize.width >= 576 ? [t.estimatedTime ? e("div", { staticClass: "data-group" }, [e("div", { staticClass: "label-text caps" }, [t._v(t._s(t.$t("estimatedTime")))]), e("div", { staticClass: "data-text" }, [t._v(" " + t._s(t._document.$t("approx")) + " " + t._s(t.estimatedTime) + " ")])]) : t._e()] : t._e()], 2)])]);
218
- }, C = [], $ = /* @__PURE__ */ n(
218
+ }, $ = [], C = /* @__PURE__ */ n(
219
219
  x,
220
220
  b,
221
- C,
221
+ $,
222
222
  !1,
223
223
  null,
224
- "29bec6e5"
224
+ "181b75e7"
225
225
  );
226
- const w = $.exports, T = {
226
+ const w = C.exports, T = {
227
227
  name: "PriceHeader",
228
228
  components: {
229
229
  SummaryTop: w,
@@ -331,9 +331,9 @@ var k = function() {
331
331
  A,
332
332
  !1,
333
333
  null,
334
- "e3b73dd6"
334
+ "202cc03f"
335
335
  );
336
- const D = B.exports;
336
+ const V = B.exports;
337
337
  export {
338
- D as default
338
+ V as default
339
339
  };
@@ -1,5 +1,5 @@
1
- import { g as u, p as h, i as f, j as d, n as m } from "./main-CerYX9PA.js";
2
- import { d as p } from "./debounce-B2lqFJg2.js";
1
+ import { g as u, p as h, f, i as d, n as m } from "./main-U22_wtg0.js";
2
+ import { d as p } from "./debounce-DLiv1sQX.js";
3
3
  import { m as y, a as g } from "./vuex.esm-DKGl8mcw.js";
4
4
  const A = {
5
5
  name: "SearchApi",