@cling-se/widget 0.13.1 → 0.13.2

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 (136) hide show
  1. package/README.md +27 -22
  2. package/dist/{AddClientCallout-fd6dc000.js → AddClientCallout-7LpWNu29.js} +11 -16
  3. package/dist/{AnswerModal-7c83d608.js → AnswerModal-DnTU4eo8.js} +1931 -1948
  4. package/dist/{AttachmentItem-468fd65c.js → AttachmentItem-DcwbrFUh.js} +15 -18
  5. package/dist/{BaseDatePicker-1975be7c.js → BaseDatePicker-BpyeJH3N.js} +139 -142
  6. package/dist/{BaseInput-2ca68242.js → BaseInput-DJreiE5M.js} +77 -56
  7. package/dist/{BaseUpload-a37ee3a3.js → BaseUpload-iosxX2-N.js} +208 -212
  8. package/dist/{BlockMedia-9fa610ce.js → BlockMedia-DnbdVEZz.js} +6 -8
  9. package/dist/{CCallout-4c253200.js → CCallout-CgviPbdr.js} +26 -16
  10. package/dist/{CDropdownItem-7e71da85.js → CDropdownItem-CTJ55d4m.js} +51 -50
  11. package/dist/{CField-823448be.js → CField-FGP7ehRq.js} +75 -58
  12. package/dist/{CPhoneFormat-54baa501.js → CPhoneFormat-8u5dmTPd.js} +5 -7
  13. package/dist/{CSlider.vue_vue_type_style_index_0_lang-ceb19661.js → CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-Dc_pbPEA.js} +6 -8
  14. package/dist/{ClientAutocomplete-186cc118.js → ClientAutocomplete-hcl0bJxO.js} +11 -13
  15. package/dist/{ClientModal-c5ee3885.js → ClientModal-B8PkUqY2.js} +25 -32
  16. package/dist/{ColorPicker-65a47379.js → ColorPicker-6AIHrfJ5.js} +5 -7
  17. package/dist/{CompanyModal-564e2b35.js → CompanyModal-H4hHfy7Y.js} +28 -30
  18. package/dist/{ContentWrapper-ac56e749.js → ContentWrapper-CHZtfhFI.js} +25 -43
  19. package/dist/{CoverBlockSettings-8949a330.js → CoverBlockSettings-etwL5N5l.js} +20 -31
  20. package/dist/{DocAnswer-2c0cb58f.js → DocAnswer-Udn1ItYd.js} +5 -12
  21. package/dist/{DocDetails-6522bb1b.js → DocDetails-BQz-is7P.js} +47 -59
  22. package/dist/{DocForm-983d41f5.js → DocForm-Cvuxr89v.js} +4869 -4944
  23. package/dist/{DocFormSend-787ce614.js → DocFormSend-Bo6YPSMr.js} +15 -33
  24. package/dist/DocLinks-DlWyanFQ.js +38 -0
  25. package/dist/{DocModalBase-60c69c7f.js → DocModalBase-BnuOPozg.js} +8 -10
  26. package/dist/{DocPrint-78c501ca.js → DocPrint-Uw8zz2tr.js} +6 -10
  27. package/dist/{DocReceipt-ac44b93f.js → DocReceipt-DsRzRjD8.js} +11 -15
  28. package/dist/{DocSendReminder-6cf2424c.js → DocSendReminder-BEEEh-L9.js} +2 -6
  29. package/dist/{DocTextEditor-81f63135.js → DocTextEditor-C-qeLSQa.js} +2509 -2529
  30. package/dist/{DocTimeline-35106a94.js → DocTimeline-Bz29bHJu.js} +26 -37
  31. package/dist/{DocumentClient-eda56a3c.js → DocumentClient-1O7wxh-X.js} +15 -22
  32. package/dist/{DocumentLayout-4005baa4.js → DocumentLayout-BrN5peVY.js} +4510 -4527
  33. package/dist/{DocumentLogotype-0d7d5080.js → DocumentLogotype-Bbas4MsY.js} +20 -22
  34. package/dist/DocumentVoided-Dy-pp_ng.js +25 -0
  35. package/dist/{EmbedInput-8c301d27.js → EmbedInput-bXXwMP4u.js} +9 -12
  36. package/dist/{EmbedSettings-05ab2762.js → EmbedSettings-BA2THNrd.js} +6 -9
  37. package/dist/ErrorCallout-Dvy9895L.js +28 -0
  38. package/dist/{FilePreviewModal-743fe489.js → FilePreviewModal-r84Ah3lE.js} +8 -14
  39. package/dist/{Flag-a6b545e0.js → Flag-CDN9A_59.js} +18 -20
  40. package/dist/{HeaderSettings-b739ddbb.js → HeaderSettings-DoDFhLcR.js} +34 -49
  41. package/dist/{ImageSelectModal-b626ef57.js → ImageSelectModal-D6ifkvIw.js} +12 -20
  42. package/dist/{ImageUploadWrapper-be047810.js → ImageUploadWrapper-K0-MmL-L.js} +356 -384
  43. package/dist/{Index-071b97c8.js → Index-3p6X7Ln-.js} +24 -26
  44. package/dist/{Index-c049a6e2.js → Index-B26J4tXQ.js} +7 -9
  45. package/dist/{Index-8f237754.js → Index-B6gB5CD3.js} +6 -8
  46. package/dist/{Index-b56a2d94.js → Index-B6u3OUGH.js} +20 -23
  47. package/dist/{Index-ecbffb52.js → Index-BN64idjX.js} +18 -31
  48. package/dist/{Index-a52df5e2.js → Index-BNGaREiU.js} +14 -21
  49. package/dist/{Index-4298f3e2.js → Index-BNeg0lcx.js} +13 -15
  50. package/dist/{Index-56e4127a.js → Index-BQVjSt_5.js} +29 -29
  51. package/dist/Index-BVNgUe07.js +21 -0
  52. package/dist/{Index-3f02e8ca.js → Index-Be-J2RvQ.js} +8 -11
  53. package/dist/{Index-848bb05c.js → Index-Btlub0dK.js} +11 -13
  54. package/dist/{Index-4f119d80.js → Index-BtzGGZEN.js} +459 -510
  55. package/dist/{Index-8ea1a895.js → Index-ByCpvqCC.js} +16 -21
  56. package/dist/{Index-5bf8b9b7.js → Index-CSg7HLqX.js} +8 -10
  57. package/dist/{Index-54f457ee.js → Index-CUZJomAi.js} +10 -12
  58. package/dist/{Index-63aea2b8.js → Index-Cj_3udAp.js} +12 -21
  59. package/dist/{Index-6b66b9ff.js → Index-CnOdi4ux.js} +4 -6
  60. package/dist/{Index-8e82da74.js → Index-DT9AWIQ2.js} +12 -15
  61. package/dist/Index-DWHl_jys.js +24 -0
  62. package/dist/{Index-fe0e805b.js → Index-Di3ibm8r.js} +51 -58
  63. package/dist/Index-Dk-kPbWy.js +52 -0
  64. package/dist/Index-Dl87oWQa.js +49 -0
  65. package/dist/{Index-a3920b7b.js → Index-DnDY3FUU.js} +9 -11
  66. package/dist/{Index-8ebe3371.js → Index-DoKh3I_O.js} +19 -26
  67. package/dist/{Index-c349151b.js → Index-DvA5sZ1U.js} +7 -9
  68. package/dist/{Index-01224b38.js → Index-DwlzPadK.js} +233 -273
  69. package/dist/{Index-b2de3af8.js → Index-ID37TIgR.js} +2 -4
  70. package/dist/Index-TPRXPN4a.js +26 -0
  71. package/dist/{Index-8cfeac73.js → Index-YdyeCcFX.js} +80 -90
  72. package/dist/{Index-97c18be1.js → Index-b0dDsObZ.js} +5 -9
  73. package/dist/{Index-caebb616.js → Index-bIYFzizT.js} +4 -6
  74. package/dist/{Index-4b09d0fa.js → Index-d5iMi4y5.js} +116 -118
  75. package/dist/{Index-ea1e223d.js → Index-oYQ9EfP9.js} +16 -18
  76. package/dist/{Index-f1bf6520.js → Index-phsroK51.js} +6 -8
  77. package/dist/{InputToggleRow-f86fdf91.js → InputToggleRow-ClHkgn7s.js} +3 -5
  78. package/dist/{ManualPopover-d7c2a780.js → ManualPopover-DrhgZvGC.js} +1 -3
  79. package/dist/{MediaWrapper-2381bc95.js → MediaWrapper-BxNEJOT7.js} +3 -6
  80. package/dist/{NotBindingText-a9eae0b2.js → NotBindingText-BhKMdYBN.js} +5 -7
  81. package/dist/{PackageGroup-95d99d03.js → PackageGroup--pDNkIMj.js} +35 -59
  82. package/dist/{PdfTerms-4a6d6067.js → PdfTerms-BL34ex7f.js} +11 -18
  83. package/dist/{PdfViewer-8d7f2143.js → PdfViewer-CPSINxc8.js} +25 -29
  84. package/dist/{PlainHtml-9d3f71d6.js → PlainHtml-Dc76U4EV.js} +5 -7
  85. package/dist/{PriceHeader-f2cb6529.js → PriceHeader-CEGF-DO3.js} +113 -130
  86. package/dist/SearchApi-D4yY2KZj.js +161 -0
  87. package/dist/{Setup-74c47337.js → Setup-BJIY_mWN.js} +9 -11
  88. package/dist/{TermsSettings-0c5a6cad.js → TermsSettings-DM4pvL-n.js} +6 -12
  89. package/dist/{ThemeColorRow-bbf4f527.js → ThemeColorRow-D7TCU3ap.js} +8 -10
  90. package/dist/{ToggleBinding-50af6f0f.js → ToggleBinding-CSgFUF6o.js} +7 -9
  91. package/dist/{UploadModal-d2757015.js → UploadModal-Cz7o7DeT.js} +16 -19
  92. package/dist/{VideoPlayerInput-cb6c91e8.js → VideoPlayerInput-Db0RRtb5.js} +6 -8
  93. package/dist/{VideoPlayerSettings-bff30628.js → VideoPlayerSettings-BgbNuWbP.js} +7 -11
  94. package/dist/{VideoSelectModal-9ec9ecfc.js → VideoSelectModal-BIKeCzUZ.js} +20 -28
  95. package/dist/{answerDocumentMixin-9368852c.js → answerDocumentMixin-Bqg9Of1S.js} +5 -5
  96. package/dist/{debounce-f8aeabc5.js → debounce-DceKdgy2.js} +3 -3
  97. package/dist/{dom-962579a6.js → dom-CPYqHOIw.js} +2 -2
  98. package/dist/{focusDrawerMixin-e2312605.js → focusDrawerMixin-Cx41U1xU.js} +1 -1
  99. package/dist/{formComponentsInstall-6894b988.js → formComponentsInstall-CWgaR4yB.js} +1198 -1171
  100. package/dist/{formDrawerState-b99be3a7.js → formDrawerState-DLCSwrgc.js} +1 -1
  101. package/dist/{formValidationMixin-a9a35060.js → formValidationMixin-CsLym0iM.js} +2 -2
  102. package/dist/{index-b2348f09.js → index-0kj8-T7-.js} +39 -44
  103. package/dist/{index-9d1ade78.js → index-4MqvoLi4.js} +3 -5
  104. package/dist/{index-96e9db00.js → index-By9c7IPL.js} +41 -59
  105. package/dist/{index-d35e9363.js → index-C16hoSRM.js} +5 -3
  106. package/dist/{index-c9186403.js → index-C6C4uskP.js} +14 -16
  107. package/dist/{IsPremiumPreStep-27645ee9.js → index-Cp7dG8Zm.js} +531 -566
  108. package/dist/index.es.js +3 -3
  109. package/dist/index.umd.js +1019 -1028
  110. package/dist/{main-b9ea9725.js → main-DBw231uy.js} +21733 -21943
  111. package/dist/{mapFormMixin-de4a37c3.js → mapFormMixin-BrtcYsT9.js} +1 -2
  112. package/dist/{vuedraggable.umd-1b113186.js → omit-DQqb9hkZ.js} +143 -133
  113. package/dist/{publicSenderState-a2c0cc9d.js → publicSenderState-BysO0Mzz.js} +1 -1
  114. package/dist/{splitpanes-ba7897bf.js → splitpanes-BHUVsCZF.js} +38 -42
  115. package/dist/style.css +2 -2
  116. package/dist/{throttle-53a6c735.js → throttle-DKrISvLg.js} +2 -2
  117. package/dist/{tinycolor-071e269c.js → tinycolor-Be3bF6zy.js} +6 -6
  118. package/dist/{tippy.esm-1b89bf69.js → tippy.esm-yjYH8SnL.js} +226 -232
  119. package/dist/{utils-44a35f52.js → utils-DP30AdJH.js} +1 -1
  120. package/package.json +2 -2
  121. package/dist/DocLinks-d6b1b080.js +0 -41
  122. package/dist/DocumentVoided-fe1bd505.js +0 -27
  123. package/dist/ErrorCallout-87033b39.js +0 -30
  124. package/dist/Index-6bfbbbd2.js +0 -61
  125. package/dist/Index-6c21af02.js +0 -28
  126. package/dist/Index-cbd0f3f6.js +0 -23
  127. package/dist/Index-f006e9fe.js +0 -26
  128. package/dist/Index-fc0516f6.js +0 -54
  129. package/dist/SearchApi-2a59cdc7.js +0 -167
  130. package/dist/index-3671e1b7.js +0 -14
  131. package/dist/index-805c56e4.js +0 -4
  132. /package/dist/{CField.vue_vue_type_style_index_0_lang-4ed993c7.js → CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js} +0 -0
  133. /package/dist/{anime.es-e284c852.js → anime.es-BrPTThYb.js} +0 -0
  134. /package/dist/{color-c1606adc.js → color-TdtKxwVa.js} +0 -0
  135. /package/dist/{i18nMessages-6b279c15.js → i18nMessages-Chz_lxGG.js} +0 -0
  136. /package/dist/{vuex.esm-4a0fff7c.js → vuex.esm-DKGl8mcw.js} +0 -0
@@ -1,12 +1,12 @@
1
- import { m as s } from "./mapFormMixin-de4a37c3.js";
2
- import { n as o } from "./main-b9ea9725.js";
3
- const u = {
1
+ import { m as o } from "./mapFormMixin-BrtcYsT9.js";
2
+ import { n as s } from "./main-DBw231uy.js";
3
+ const i = {
4
4
  name: "PackageGroupBlock",
5
5
  components: {
6
- PackageGroupRead: () => import("./PackageGroup-95d99d03.js"),
7
- PackageGroupEdit: () => import("./Index-4f119d80.js")
6
+ PackageGroupRead: () => import("./PackageGroup--pDNkIMj.js"),
7
+ PackageGroupEdit: () => import("./Index-BtzGGZEN.js")
8
8
  },
9
- mixins: [s(["type", "packages"])],
9
+ mixins: [o(["type", "packages"])],
10
10
  data() {
11
11
  return {
12
12
  persistedGroup: {
@@ -42,21 +42,19 @@ const u = {
42
42
  }
43
43
  };
44
44
  var p = function() {
45
- var e = this, a = e._self._c;
46
- return e.canEdit ? a("PackageGroupEdit", e._g({ attrs: { _document: e._document, _value: e.valuePaths, "persisted-group": e.persistedGroup, validator: e.$v }, on: { "update:persistedGroup": function(t) {
47
- e.persistedGroup = t;
48
- }, "update:persisted-group": function(t) {
49
- e.persistedGroup = t;
50
- } } }, e.$listeners)) : a("PackageGroupRead", { attrs: { _document: e._document, _value: e.valuePaths, validator: e.$v } });
51
- }, i = [], n = /* @__PURE__ */ o(
52
- u,
53
- p,
45
+ var e = this, t = e._self._c;
46
+ return e.canEdit ? t("PackageGroupEdit", e._g({ attrs: { _document: e._document, _value: e.valuePaths, "persisted-group": e.persistedGroup, validator: e.$v }, on: { "update:persistedGroup": function(a) {
47
+ e.persistedGroup = a;
48
+ }, "update:persisted-group": function(a) {
49
+ e.persistedGroup = a;
50
+ } } }, e.$listeners)) : t("PackageGroupRead", { attrs: { _document: e._document, _value: e.valuePaths, validator: e.$v } });
51
+ }, u = [], n = /* @__PURE__ */ s(
54
52
  i,
53
+ p,
54
+ u,
55
55
  !1,
56
56
  null,
57
- "7cd7cb23",
58
- null,
59
- null
57
+ "7cd7cb23"
60
58
  );
61
59
  const _ = n.exports;
62
60
  export {
@@ -1,10 +1,10 @@
1
- import { m as e } from "./mapFormMixin-de4a37c3.js";
2
- import { n as i } from "./main-b9ea9725.js";
1
+ import { m as e } from "./mapFormMixin-BrtcYsT9.js";
2
+ import { n as i } from "./main-DBw231uy.js";
3
3
  const m = {
4
4
  name: "EstimatedTimeToComplete",
5
5
  components: {
6
- Read: () => import("./Index-b2de3af8.js"),
7
- Edit: () => import("./Index-5bf8b9b7.js")
6
+ Read: () => import("./Index-ID37TIgR.js"),
7
+ Edit: () => import("./Index-CSg7HLqX.js")
8
8
  },
9
9
  mixins: [e(["noOfTimeUnits", "timeUnit"])]
10
10
  };
@@ -17,11 +17,9 @@ var o = function() {
17
17
  r,
18
18
  !1,
19
19
  null,
20
- null,
21
- null,
22
20
  null
23
21
  );
24
- const c = s.exports;
22
+ const d = s.exports;
25
23
  export {
26
- c as default
24
+ d as default
27
25
  };
@@ -1,4 +1,4 @@
1
- import { n as s } from "./main-b9ea9725.js";
1
+ import { n as s } from "./main-DBw231uy.js";
2
2
  const n = {
3
3
  name: "InputCompactRow",
4
4
  props: {
@@ -37,7 +37,7 @@ var l = function() {
37
37
  return e("div", { staticClass: "input-row" }, [e("div", { staticClass: "flex w-full justify-between" }, [e("div", { staticClass: "input-label" }, [t._t("label", function() {
38
38
  return [t._v(t._s(t.label))];
39
39
  })], 2), e("div", { staticClass: "flex w-full justify-end", staticStyle: { width: "initial" } }, [t._t("toggle", function() {
40
- return [t.showClear ? e("CButton", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: t.$t("remove"), expression: "$t('remove')" }], staticClass: "clear-input-button", attrs: { size: "small", icon: "x" }, on: { click: function(c) {
40
+ return [t.showClear ? e("CButton", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: t.$t("remove"), expression: "$t('remove')" }], staticClass: "clear-input-button", attrs: { size: "small", icon: "x" }, on: { click: function(r) {
41
41
  return t.$emit("remove");
42
42
  } } }) : t._e(), t.isEditing ? t.$scopedSlots.bottom ? t._e() : e("div", { directives: [{ name: "click-outside", rawName: "v-click-outside", value: t.closeEdit, expression: "closeEdit" }], ref: "inputContainer" }, [t._t("default")], 2) : e("CButton", { staticClass: "input-toggle-button", class: { "is-edit": t.isEditing }, attrs: { type: "none", pattern: "secondary", size: "small" }, on: { click: t.openEdit } }, [t._t("displayValue", function() {
43
43
  return [t._v(t._s(t.displayValue))];
@@ -49,9 +49,7 @@ var l = function() {
49
49
  o,
50
50
  !1,
51
51
  null,
52
- "f5349dac",
53
- null,
54
- null
52
+ "089f7e86"
55
53
  );
56
54
  const d = a.exports;
57
55
  export {
@@ -1,4 +1,4 @@
1
- import { n as s } from "./main-b9ea9725.js";
1
+ import { n as s } from "./main-DBw231uy.js";
2
2
  const r = {
3
3
  name: "ManualPopover",
4
4
  data() {
@@ -46,8 +46,6 @@ var i = function() {
46
46
  l,
47
47
  !1,
48
48
  null,
49
- null,
50
- null,
51
49
  null
52
50
  );
53
51
  const p = a.exports;
@@ -1,7 +1,6 @@
1
- import { B as n } from "./BlockMedia-9fa610ce.js";
2
- import { m as a } from "./mapFormMixin-de4a37c3.js";
3
- import { n as m } from "./main-b9ea9725.js";
4
- import "./color-c1606adc.js";
1
+ import { m as a } from "./mapFormMixin-BrtcYsT9.js";
2
+ import { B as n } from "./BlockMedia-DnbdVEZz.js";
3
+ import { n as m } from "./main-DBw231uy.js";
5
4
  const o = {
6
5
  name: "MediaWrapper",
7
6
  components: { BlockMedia: n },
@@ -16,8 +15,6 @@ var i = function() {
16
15
  t,
17
16
  !1,
18
17
  null,
19
- null,
20
- null,
21
18
  null
22
19
  );
23
20
  const f = s.exports;
@@ -1,5 +1,5 @@
1
- import { P as t } from "./PlainHtml-9d3f71d6.js";
2
- import { n as e } from "./main-b9ea9725.js";
1
+ import { P as e } from "./PlainHtml-Dc76U4EV.js";
2
+ import { n } from "./main-DBw231uy.js";
3
3
  const r = {
4
4
  name: "NotBindingText",
5
5
  i18nOptions: {
@@ -14,18 +14,16 @@ const r = {
14
14
  }
15
15
  },
16
16
  // eslint-disable-next-line no-unused-vars
17
- render(n) {
18
- return n(t, [this.$t("description")]);
17
+ render(t) {
18
+ return t(e, [this.$t("description")]);
19
19
  }
20
20
  }, i = null, o = null;
21
- var s = /* @__PURE__ */ e(
21
+ var s = /* @__PURE__ */ n(
22
22
  r,
23
23
  i,
24
24
  o,
25
25
  !1,
26
26
  null,
27
- null,
28
- null,
29
27
  null
30
28
  );
31
29
  const c = s.exports;
@@ -1,21 +1,11 @@
1
- import { t as m } from "./tinycolor-071e269c.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-b9ea9725.js";
3
- import { E as $ } from "./ErrorCallout-87033b39.js";
4
- import { m as _ } from "./mapFormMixin-de4a37c3.js";
5
- import { T as x } from "./DocTextEditor-81f63135.js";
6
- import "./tippy.esm-1b89bf69.js";
7
- import "./ColorPicker-65a47379.js";
8
- import "./DocumentLayout-4005baa4.js";
9
- import "./debounce-f8aeabc5.js";
10
- import "./CDropdownItem-7e71da85.js";
11
- import "./CSlider.vue_vue_type_style_index_0_lang-ceb19661.js";
12
- import "./dom-962579a6.js";
13
- import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
14
- import "./ManualPopover-d7c2a780.js";
15
- import "./color-c1606adc.js";
16
- const b = {
1
+ import { m as g } from "./mapFormMixin-BrtcYsT9.js";
2
+ import { E as y } from "./ErrorCallout-Dvy9895L.js";
3
+ import { al as f, am as v, u as _, n as d, an as k, x as w, b as p, d as P, c as $ } from "./main-DBw231uy.js";
4
+ import { t as m } from "./tinycolor-Be3bF6zy.js";
5
+ import { T as b } from "./DocTextEditor-C-qeLSQa.js";
6
+ const x = {
17
7
  name: "ArticleItem",
18
- mixins: [_([])],
8
+ mixins: [g([])],
19
9
  props: {
20
10
  title: {
21
11
  type: String,
@@ -78,7 +68,7 @@ const b = {
78
68
  default: null
79
69
  }
80
70
  },
81
- docLang: v,
71
+ docLang: f,
82
72
  computed: {
83
73
  fixQuantity() {
84
74
  return this.priceType === "openAcc" ? 1 : this.quantity;
@@ -109,7 +99,7 @@ const b = {
109
99
  let i = this.totalAmount;
110
100
  this.showPricesIncVat && this.priceType !== "markup" && (i *= (100 + this.vat) / 100);
111
101
  let e = "";
112
- return this.priceType === "openAcc" && (e = `/${y(this.unitType, {
102
+ return this.priceType === "openAcc" && (e = `/${v(this.unitType, {
113
103
  lng: this._document.language
114
104
  })}`, this.houseWorkType && (i *= {
115
105
  rot: 0.7,
@@ -141,8 +131,8 @@ const b = {
141
131
  }
142
132
  },
143
133
  methods: {
144
- articleUnitLabel: y,
145
- priceFormat: g
134
+ articleUnitLabel: v,
135
+ priceFormat: _
146
136
  }
147
137
  };
148
138
  var T = function() {
@@ -151,22 +141,19 @@ var T = function() {
151
141
  "no-border-top": e.position === 0
152
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)]);
153
143
  }, S = [], V = /* @__PURE__ */ d(
154
- b,
144
+ x,
155
145
  T,
156
146
  S,
157
147
  !1,
158
148
  null,
159
- "02fda1bd",
160
- null,
161
- null
149
+ "cf33c521"
162
150
  );
163
- const C = V.exports;
164
- const I = {
151
+ const C = V.exports, I = {
165
152
  name: "ArticleList",
166
153
  components: {
167
154
  DocChapterArticleItem: C
168
155
  },
169
- mixins: [_([])],
156
+ mixins: [g([])],
170
157
  props: {
171
158
  articles: {
172
159
  type: Array,
@@ -199,7 +186,7 @@ const I = {
199
186
  }
200
187
  },
201
188
  methods: {
202
- articleHouseWorkType: f
189
+ articleHouseWorkType: k
203
190
  }
204
191
  };
205
192
  var A = function() {
@@ -213,18 +200,15 @@ var A = function() {
213
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) {
214
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 } });
215
202
  })], 2);
216
- }, D = [], F = /* @__PURE__ */ d(
203
+ }, F = [], D = /* @__PURE__ */ d(
217
204
  I,
218
205
  A,
219
- D,
206
+ F,
220
207
  !1,
221
208
  null,
222
- "6dc2c1e9",
223
- null,
224
- null
209
+ "cb0dfa52"
225
210
  );
226
- const z = F.exports;
227
- const B = {
211
+ const z = D.exports, B = {
228
212
  name: "PackageItem",
229
213
  i18nOptions: {
230
214
  namespaces: "PackageItem",
@@ -239,7 +223,7 @@ const B = {
239
223
  },
240
224
  components: {
241
225
  ArticleList: z,
242
- TextEditor: x
226
+ TextEditor: b
243
227
  },
244
228
  inject: {
245
229
  isPdf: {
@@ -307,7 +291,7 @@ const B = {
307
291
  },
308
292
  description() {
309
293
  const i = this._document ? this._document._doc : {};
310
- return k(this.workPackage.data.description, i);
294
+ return w(this.workPackage.data.description, i);
311
295
  },
312
296
  useVat() {
313
297
  return this._document ? this._document.useVat : !1;
@@ -318,7 +302,7 @@ const B = {
318
302
  },
319
303
  methods: {
320
304
  priceFormat(i, e = {}) {
321
- return g(i, {
305
+ return _(i, {
322
306
  currency: this.prices.currency,
323
307
  decimals: 2,
324
308
  hideZeroDecimals: !0,
@@ -359,12 +343,9 @@ var M = function() {
359
343
  W,
360
344
  !1,
361
345
  null,
362
- "739ac8d8",
363
- null,
364
- null
346
+ "597f71fb"
365
347
  );
366
- const Z = O.exports;
367
- const q = {
348
+ const Z = O.exports, q = {
368
349
  name: "PackagePricingSummary",
369
350
  props: {
370
351
  // PackageGroup.prices (format: calcPrices of one group)
@@ -495,7 +476,7 @@ const q = {
495
476
  },
496
477
  methods: {
497
478
  priceFormat(i, e = { showZero: !0 }) {
498
- return g(i, e);
479
+ return _(i, e);
499
480
  },
500
481
  deductionText(i = !0) {
501
482
  let e = "";
@@ -608,27 +589,24 @@ var L = function() {
608
589
  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
590
  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))])]);
610
591
  }), 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()]);
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();
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();
612
593
  }, E = [], j = /* @__PURE__ */ d(
613
594
  q,
614
595
  L,
615
596
  E,
616
597
  !1,
617
598
  null,
618
- "5c6089dd",
619
- null,
620
- null
599
+ "a3ec6611"
621
600
  );
622
- const G = j.exports;
623
- const N = {
601
+ const G = j.exports, N = {
624
602
  name: "PackageGroup",
625
603
  components: {
626
604
  PackageItem: Z,
627
605
  PackagePricingSummary: G,
628
- ErrorCallout: $
606
+ ErrorCallout: y
629
607
  },
630
608
  mixins: [
631
- _(["type", "packages", "hideGroupPrice"], { useEmit: !1 })
609
+ g(["type", "packages", "hideGroupPrice"], { useEmit: !1 })
632
610
  ],
633
611
  props: {
634
612
  validator: {
@@ -675,7 +653,7 @@ const N = {
675
653
  const {
676
654
  isPreview: i,
677
655
  setPricesIncVat: e = null,
678
- useVat: t = w[P.brand].defaultRegion === "SE"
656
+ useVat: t = P[$.brand].defaultRegion === "SE"
679
657
  } = p(this, "_document", {});
680
658
  i && e !== null ? this.showPricesIncVat = e : this.showPricesIncVat = p(this, "_document.prices.helpers.isIndivid", !0) && t;
681
659
  },
@@ -713,11 +691,9 @@ var R = function() {
713
691
  H,
714
692
  !1,
715
693
  null,
716
- "73b9e180",
717
- null,
718
- null
694
+ "f50d442e"
719
695
  );
720
- const ue = U.exports;
696
+ const ee = U.exports;
721
697
  export {
722
- ue as default
698
+ ee as default
723
699
  };
@@ -1,10 +1,6 @@
1
- import { V as t } from "./PdfViewer-8d7f2143.js";
2
- import { n as s } from "./main-b9ea9725.js";
3
- import "./dom-962579a6.js";
4
- import "./DocumentLayout-4005baa4.js";
5
- import "./debounce-f8aeabc5.js";
6
- import "./CDropdownItem-7e71da85.js";
7
- const o = {
1
+ import { V as s } from "./PdfViewer-CPSINxc8.js";
2
+ import { n as t } from "./main-DBw231uy.js";
3
+ const n = {
8
4
  name: "PdfTerms",
9
5
  functional: !0,
10
6
  render(r, e) {
@@ -17,7 +13,7 @@ const o = {
17
13
  domProps: {
18
14
  innerHTML: e.props.text
19
15
  }
20
- })]) : e.props.file ? r("div", [r(t, {
16
+ })]) : e.props.file ? r("div", [r(s, {
21
17
  attrs: {
22
18
  src: e.props.file.url,
23
19
  docFilePath: "data.terms.file.url"
@@ -25,19 +21,16 @@ const o = {
25
21
  class: "pdf-container"
26
22
  })]) : r("div");
27
23
  }
28
- };
29
- const n = null, l = null;
30
- var a = /* @__PURE__ */ s(
31
- o,
24
+ }, o = null, a = null;
25
+ var l = /* @__PURE__ */ t(
32
26
  n,
33
- l,
27
+ o,
28
+ a,
34
29
  !1,
35
30
  null,
36
- "d1cc4fe9",
37
- null,
38
- null
31
+ "d1cc4fe9"
39
32
  );
40
- const _ = a.exports;
33
+ const m = l.exports;
41
34
  export {
42
- _ as default
35
+ m as default
43
36
  };
@@ -1,12 +1,15 @@
1
- import { n as h, Q as m, c as n } from "./main-b9ea9725.js";
2
- import { e as o } from "./dom-962579a6.js";
3
- import { W as w } from "./DocumentLayout-4005baa4.js";
4
- let l, f, c, p, u;
1
+ import { n as u, Q as m, c as n } from "./main-DBw231uy.js";
2
+ import { e as o } from "./dom-CPYqHOIw.js";
3
+ import { W as w } from "./DocumentLayout-BrN5peVY.js";
4
+ let l, f, c, p, h;
5
5
  function _(t) {
6
6
  return typeof t == "object" && t !== null && t.__PDFDocumentLoadingTask === !0;
7
7
  }
8
8
  const P = {
9
9
  name: "PdfPage",
10
+ components: {
11
+ WithDimensions: w
12
+ },
10
13
  props: {
11
14
  src: {
12
15
  type: [String, Object, Promise],
@@ -41,9 +44,6 @@ const P = {
41
44
  default: ""
42
45
  }
43
46
  },
44
- components: {
45
- WithDimensions: w
46
- },
47
47
  data() {
48
48
  return {
49
49
  internalSrc: this.src,
@@ -70,7 +70,7 @@ const P = {
70
70
  }
71
71
  },
72
72
  mounted() {
73
- l = window.pdfjsViewer.DefaultTextLayerFactory, f = window.pdfjsViewer.PDFFindController, c = window.pdfjsViewer.PDFLinkService, p = window.pdfjsViewer.PDFPageView, u = window.pdfjsViewer.EventBus, this.init();
73
+ l = window.pdfjsViewer.DefaultTextLayerFactory, f = window.pdfjsViewer.PDFFindController, c = window.pdfjsViewer.PDFLinkService, p = window.pdfjsViewer.PDFPageView, h = window.pdfjsViewer.EventBus, this.init();
74
74
  },
75
75
  beforeDestroy() {
76
76
  this.pdfViewer && (this.pdfViewer.destroy(), this.pdfViewer = null);
@@ -78,7 +78,7 @@ const P = {
78
78
  methods: {
79
79
  init() {
80
80
  _(this.internalSrc) || (this.internalSrc = this.pdfLoadingTask, this.$emit("loading", !0));
81
- const t = this.$refs.container, e = new u();
81
+ const t = this.$refs.container, e = new h();
82
82
  e.on("pagerendered", (s) => {
83
83
  this.$emit("pagerendered", s);
84
84
  }), this.pdfLinkService = new c({
@@ -129,14 +129,12 @@ const P = {
129
129
  var v = function() {
130
130
  var e = this, i = e._self._c;
131
131
  return i("div", [e.loading ? e._t("loading") : e._e(), i("WithDimensions", { on: { resize: e.resizeScale } }, [i("div", { ref: "container", staticClass: "pdfViewer", class: e.containerClass })])], 2);
132
- }, y = [], V = /* @__PURE__ */ h(
132
+ }, y = [], V = /* @__PURE__ */ u(
133
133
  P,
134
134
  v,
135
135
  y,
136
136
  !1,
137
137
  null,
138
- null,
139
- null,
140
138
  null
141
139
  );
142
140
  const L = V.exports, a = new m();
@@ -167,6 +165,14 @@ const d = {
167
165
  a.on("remove", t);
168
166
  }
169
167
  }, k = {
168
+ components: {
169
+ VuePdf: L
170
+ },
171
+ inject: {
172
+ isPdf: {
173
+ default: !1
174
+ }
175
+ },
170
176
  props: {
171
177
  src: {
172
178
  type: String,
@@ -177,14 +183,6 @@ const d = {
177
183
  default: null
178
184
  }
179
185
  },
180
- components: {
181
- VuePdf: L
182
- },
183
- inject: {
184
- isPdf: {
185
- default: !1
186
- }
187
- },
188
186
  data() {
189
187
  return {
190
188
  numPages: void 0,
@@ -194,9 +192,6 @@ const d = {
194
192
  pdfRenderBus: d
195
193
  };
196
194
  },
197
- created() {
198
- this.isPdf || d.add(this._uid);
199
- },
200
195
  watch: {
201
196
  src: {
202
197
  immediate: !0,
@@ -209,6 +204,9 @@ const d = {
209
204
  }
210
205
  }
211
206
  },
207
+ created() {
208
+ this.isPdf || d.add(this._uid);
209
+ },
212
210
  methods: {
213
211
  createLoadingTask: $,
214
212
  async setPdf(t) {
@@ -222,9 +220,9 @@ const d = {
222
220
  };
223
221
  var S = function() {
224
222
  var e = this, i = e._self._c;
225
- return i("div", { key: e.src }, [e.isPdf ? i("pre", [e._v(" ClingPDFReplaceStart:[" + e._s(this.docFilePath) + `]ClingPDFReplaceEnd
223
+ return i("div", { key: e.src }, [e.isPdf ? i("pre", [e._v(" ClingPDFReplaceStart:[" + e._s(e.docFilePath) + `]ClingPDFReplaceEnd
226
224
  `), 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 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) {
225
+ `)]) : i("div", [e.loading ? i("div", { staticClass: "mb-4 grid aspect-[210/297] place-items-center border border-gray-100 bg-gray-50" }, [i("CIcon", { staticClass: "animate-spin text-gray-400", attrs: { type: "loader", size: "28" } })], 1) : e._e(), e._l(e.numPages, function(s) {
228
226
  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
227
  return e.pdfRenderBus.add(`${e._uid}-${s}`);
230
228
  }, loading: (r) => r ? null : e.pdfRenderBus.remove(`${e._uid}-${s}`) } }, "VuePdf", {
@@ -232,17 +230,15 @@ var S = function() {
232
230
  ...e.$props,
233
231
  pdfLoadingTask: e.pdfLoadingTask
234
232
  }, !1), [e._t("loading", function() {
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)];
233
+ 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("CIcon", { staticClass: "animate-spin text-gray-400", attrs: { type: "loader", size: "28" } })], 1)];
236
234
  })], 2);
237
235
  })], 2)]);
238
- }, b = [], F = /* @__PURE__ */ h(
236
+ }, b = [], F = /* @__PURE__ */ u(
239
237
  k,
240
238
  S,
241
239
  b,
242
240
  !1,
243
241
  null,
244
- null,
245
- null,
246
242
  null
247
243
  );
248
244
  const j = F.exports;
@@ -1,4 +1,4 @@
1
- import { n as r } from "./main-b9ea9725.js";
1
+ import { n as r } from "./main-DBw231uy.js";
2
2
  const e = {
3
3
  name: "PlainHtml"
4
4
  };
@@ -6,17 +6,15 @@ var o = function(t, n) {
6
6
  return t("div", { staticClass: "quill-format" }, [n._t("default", function() {
7
7
  return [t("div", { domProps: { innerHTML: n._s(n.props.content) } })];
8
8
  })], 2);
9
- }, l = [], s = /* @__PURE__ */ r(
9
+ }, s = [], a = /* @__PURE__ */ r(
10
10
  e,
11
11
  o,
12
- l,
12
+ s,
13
13
  !0,
14
14
  null,
15
- null,
16
- null,
17
15
  null
18
16
  );
19
- const u = s.exports;
17
+ const c = a.exports;
20
18
  export {
21
- u as P
19
+ c as P
22
20
  };