@cling-se/widget 0.13.5 → 0.14.0

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-P8T0R-6B.js → AddClientCallout-C7BLDW6Y.js} +3 -3
  2. package/dist/{AnswerModal-BF-ZUpQ9.js → AnswerModal-KWFteFV9.js} +4 -4
  3. package/dist/{AttachmentItem-DEC6rjGE.js → AttachmentItem-CSerklBS.js} +2 -2
  4. package/dist/{BaseDatePicker-2uhuySby.js → BaseDatePicker-BOxfHGS8.js} +102 -102
  5. package/dist/{BaseInput-BtgFVDxx.js → BaseInput-BDjhI5P9.js} +1 -1
  6. package/dist/{BaseUpload-D1OS-EZ-.js → BaseUpload-B-CktrCH.js} +24 -24
  7. package/dist/{BlockMedia-BFBeRtJx.js → BlockMedia-T4OxMb4n.js} +21 -17
  8. package/dist/{CCallout-CsQMsFZO.js → CCallout-yFt7TFJa.js} +2 -2
  9. package/dist/{CDropdownItem-BeK9wNHJ.js → CDropdownItem-DhEpCmQt.js} +1 -1
  10. package/dist/{CField-TsZhnNrK.js → CFormField-DDLf5YY4.js} +66 -39
  11. package/dist/{CPhoneFormat-DPYhElZw.js → CPhoneFormat-B88rkuf0.js} +1 -1
  12. package/dist/{CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-B85IuuQS.js → CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-DbBb6ZId.js} +1 -1
  13. package/dist/{ClientAutocomplete-Ch2Z-VNr.js → ClientAutocomplete-DmRl3SUj.js} +2 -2
  14. package/dist/{ClientModal-rdb9TsyH.js → ClientModal-Dn3WDhGU.js} +4 -4
  15. package/dist/{ColorPicker-2gfbU60o.js → ColorPicker-DX6JAsTn.js} +1 -1
  16. package/dist/{CompanyModal-CNeySxNi.js → CompanyModal-BbO2nTd5.js} +4 -4
  17. package/dist/{ContentWrapper-D27J_sCS.js → ContentWrapper-BvbmcTXK.js} +8 -8
  18. package/dist/{CoverBlockSettings-BfdJKrsq.js → CoverBlockSettings-C8FDwx7i.js} +5 -5
  19. package/dist/{DocAnswer-CyHASkhm.js → DocAnswer-OttbybQs.js} +2 -2
  20. package/dist/{DocDetails-8bM9dBxm.js → DocDetails-J7O26zqa.js} +4 -4
  21. package/dist/{DocForm-CumvOHwl.js → DocForm-Bgbesq79.js} +46 -45
  22. package/dist/{DocFormSend-CdoZy_Q2.js → DocFormSend-D_U3ztgw.js} +2 -2
  23. package/dist/{DocLinks-BJPADuvd.js → DocLinks-Dp-iQ-B_.js} +2 -2
  24. package/dist/{DocModalBase-Cd3zXvH_.js → DocModalBase-F-wlPg7j.js} +1 -1
  25. package/dist/{DocPrint-Be4l2pra.js → DocPrint-B45voy0W.js} +22 -15
  26. package/dist/{DocReceipt-DmFjo26V.js → DocReceipt-jKVK5U-a.js} +1 -1
  27. package/dist/{DocSendReminder-CVxh_c7u.js → DocSendReminder-BersSNb1.js} +1 -1
  28. package/dist/{DocTextEditor-2jhWmmN2.js → DocTextEditor-CYe_jWZ8.js} +834 -816
  29. package/dist/{DocTimeline-Dvn690cI.js → DocTimeline-yyzh51yB.js} +1 -1
  30. package/dist/{DocumentClient-D3ESmMk1.js → DocumentClient-CS_EVjK9.js} +5 -5
  31. package/dist/{DocumentLayout-0-y6ChW3.js → DocumentLayout-Ba121Zro.js} +9 -5
  32. package/dist/{DocumentLogotype-CHWEVOFb.js → DocumentLogotype-DUVhl9xC.js} +3 -3
  33. package/dist/{DocumentVoided-CoJ6YorU.js → DocumentVoided-D5ePc-a5.js} +1 -1
  34. package/dist/{EmbedInput-CGQJdLBd.js → EmbedInput-Ds-Z-0J2.js} +2 -2
  35. package/dist/{EmbedSettings-DRfM7EkF.js → EmbedSettings-C8BP4YuY.js} +2 -2
  36. package/dist/{ErrorCallout-pRwrsMwI.js → ErrorCallout-B_QrRAm6.js} +1 -1
  37. package/dist/{FilePreviewModal-4hJnwqeM.js → FilePreviewModal-B105PxLD.js} +2 -2
  38. package/dist/{Flag-CH9jX9p6.js → Flag-hg61To9C.js} +1 -1
  39. package/dist/{HeaderSettings-DESkxus6.js → HeaderSettings-DIBiJc4I.js} +7 -7
  40. package/dist/{ImageSelectModal-BczBg7pO.js → ImageSelectModal-D2g42vWJ.js} +3 -3
  41. package/dist/{ImageUploadWrapper-B7F5UzSa.js → ImageUploadWrapper-CREUMKh3.js} +2 -2
  42. package/dist/{Index-COFOq65C.js → Index-02IKjPth.js} +3 -3
  43. package/dist/{Index-DLX_14JW.js → Index-4NdatdH2.js} +6 -6
  44. package/dist/{Index-C8Eykyfr.js → Index-7rbX01Io.js} +5 -5
  45. package/dist/{Index-Dj7XQrCX.js → Index-8DAfMA_s.js} +5 -5
  46. package/dist/{Index-CBRWEkz3.js → Index-B8xcDVQ1.js} +9 -4
  47. package/dist/{Index-DAuSARq4.js → Index-BG9x90V0.js} +5 -5
  48. package/dist/{Index-BkDT09xK.js → Index-BLQwYzIX.js} +3 -3
  49. package/dist/{Index-Dk7qSZaZ.js → Index-BUTYZCat.js} +2 -2
  50. package/dist/{Index-DpZ0FVkb.js → Index-BZM-FsHY.js} +1 -1
  51. package/dist/{Index-Cs1C7d8_.js → Index-BiK7PqAm.js} +2 -2
  52. package/dist/{Index-DxT6UrU3.js → Index-BqBi-EmE.js} +2 -2
  53. package/dist/{Index-BztAYqwZ.js → Index-Bu6aOCmM.js} +3 -3
  54. package/dist/{Index-xVss9bbv.js → Index-BuDj2yrd.js} +4 -4
  55. package/dist/{Index-euXfMzGE.js → Index-C56fTFO3.js} +4 -4
  56. package/dist/{Index-CUYcsakk.js → Index-CL12KArA.js} +4 -4
  57. package/dist/{Index-BBWCdaFx.js → Index-CUxvKTfn.js} +14 -32
  58. package/dist/{Index-BCBBrdDY.js → Index-CYHxrllv.js} +4 -4
  59. package/dist/{Index-Lwrlj4Uo.js → Index-CpWW7m5F.js} +4 -4
  60. package/dist/{Index-B77mpvaJ.js → Index-CwulQoRG.js} +8 -8
  61. package/dist/{Index-CwOwQrDd.js → Index-D0gS476H.js} +4 -4
  62. package/dist/{Index-D_21EWlr.js → Index-DDj3_T_m.js} +1 -1
  63. package/dist/{Index-BSizncA1.js → Index-DIg77V9c.js} +2 -2
  64. package/dist/{Index-D_XxQTHL.js → Index-DRgVg0CH.js} +4 -4
  65. package/dist/{Index-DLwJlsSV.js → Index-DVQ6ZsHz.js} +6 -6
  66. package/dist/{Index-BSApSN3a.js → Index-D_MonVUx.js} +6 -6
  67. package/dist/{Index-Cb7AYMdp.js → Index-DeNpUKh8.js} +5 -5
  68. package/dist/{Index-CRjdza18.js → Index-Dqp7TmnQ.js} +6 -6
  69. package/dist/{Index-CgugegyD.js → Index-Dy7K8KMB.js} +11 -11
  70. package/dist/{Index-DRdhlnQI.js → Index-YkoWXviW.js} +4 -4
  71. package/dist/{Index-CPXWFvtI.js → Index-agYFtWMw.js} +6 -6
  72. package/dist/{Index-DXovv3-e.js → Index-bTXYCG9Y.js} +4 -4
  73. package/dist/{Index-McJQllNy.js → Index-kAu-7TWv.js} +10 -10
  74. package/dist/{Index-DM8XS-Lc.js → Index-lKo8z-71.js} +3 -3
  75. package/dist/{Index-BOIBgNgp.js → Index-sltQx4D3.js} +2 -2
  76. package/dist/{InputToggleRow-BjSD0lth.js → InputToggleRow-C7aWJpUF.js} +1 -1
  77. package/dist/{ManualPopover-CIouE65j.js → ManualPopover-CK9Xp-mo.js} +1 -1
  78. package/dist/{MediaWrapper-DK2fsQP7.js → MediaWrapper-v87wlFnj.js} +3 -3
  79. package/dist/{NotBindingText-D1IUYEiC.js → NotBindingText-BGy3SnK3.js} +2 -2
  80. package/dist/{PackageGroup-BImsltc7.js → PackageGroup-CrsOkWIb.js} +8 -8
  81. package/dist/{PdfTerms-BzBvvuT6.js → PdfTerms-UmEmlI0Y.js} +2 -2
  82. package/dist/PdfViewer-C6VBu4tT.js +374 -0
  83. package/dist/{PlainHtml-J_nR1ibV.js → PlainHtml-Dsaxrq3D.js} +1 -1
  84. package/dist/{PriceHeader-BZeaKOTy.js → PriceHeader-DQ615L9Q.js} +10 -10
  85. package/dist/{SearchApi-Du-Lqo7R.js → SearchApi-CbWFQfoc.js} +2 -2
  86. package/dist/{Setup-CtSIo_xU.js → Setup-Byd-0W7U.js} +1 -1
  87. package/dist/{TermsSettings-DDHrUB_S.js → TermsSettings-Cah7_3Ba.js} +3 -3
  88. package/dist/{ThemeColorRow-BiRPYyj_.js → ThemeColorRow-DqsjvQfY.js} +3 -3
  89. package/dist/{ToggleBinding-Cvd9I0Dw.js → ToggleBinding-DFr6xW2B.js} +3 -3
  90. package/dist/{UploadModal-ByJeM98S.js → UploadModal-jRI9ITty.js} +2 -2
  91. package/dist/{VideoPlayerInput-C1PiFaBo.js → VideoPlayerInput-C5_Ft8-4.js} +3 -3
  92. package/dist/{VideoPlayerSettings-C9vt7Twd.js → VideoPlayerSettings-LZluC-Tg.js} +2 -2
  93. package/dist/{VideoSelectModal-cEDZv03c.js → VideoSelectModal-OGDq_lwv.js} +3 -3
  94. package/dist/{answerDocumentMixin-QbMot2bf.js → answerDocumentMixin-D8BXcPWt.js} +3 -3
  95. package/dist/{debounce-CaZBFRFZ.js → debounce-BQXg61RJ.js} +8 -8
  96. package/dist/dom-CJxkno7i.js +91 -0
  97. package/dist/{focusDrawerMixin-D-mqPE02.js → focusDrawerMixin-D3Pzr0P-.js} +1 -1
  98. package/dist/{formComponentsInstall-BdhIOhq5.js → formComponentsInstall-D1VBPt9o.js} +173 -201
  99. package/dist/{formDrawerState-CcDRv2mi.js → formDrawerState-wG6RdIXD.js} +1 -1
  100. package/dist/{formValidationMixin-sp3Q6-ER.js → formValidationMixin-D9qFZJf9.js} +2 -2
  101. package/dist/{index-BjZuADtN.js → index-1DmXjcSN.js} +6 -6
  102. package/dist/{index-BWmMho6V.js → index-BEOnzeEr.js} +9 -9
  103. package/dist/{index-CJTuXpCD.js → index-BFnwm62-.js} +1 -1
  104. package/dist/{index-DuCwf2mg.js → index-DETqm8Jy.js} +3 -3
  105. package/dist/{index-DEWMCZz4.js → index-Dnp3LAf2.js} +1 -1
  106. package/dist/{index-BABEaO8N.js → index-M-GXl2PO.js} +48 -48
  107. package/dist/index.es.js +3 -3
  108. package/dist/index.umd.js +135 -135
  109. package/dist/{main-DQ6SH_E_.js → main-CWRB9q-W.js} +332 -312
  110. package/dist/{mapFormMixin-2SoyKxW2.js → mapFormMixin-BOmDynJ-.js} +1 -1
  111. package/dist/{omit-BjdTqooP.js → omit-CMqxXOLn.js} +47 -47
  112. package/dist/{publicSenderState-CKGe1ejF.js → publicSenderState-D_VhSyXD.js} +1 -1
  113. package/dist/style.css +2 -2
  114. package/dist/{throttle-BeZ_TpQb.js → throttle-Bixql7MZ.js} +2 -2
  115. package/dist/{tinycolor-C3JU9Hqu.js → tinycolor-CIjZZX-6.js} +1 -1
  116. package/dist/{tippy.esm-DowQrfWM.js → tippy.esm-BcAHvKwR.js} +5 -5
  117. package/dist/{utils-D2JfcR6v.js → utils-1ypnMuRv.js} +1 -1
  118. package/package.json +1 -1
  119. package/dist/PdfViewer-Dq0Mc-WC.js +0 -247
  120. package/dist/dom-CPYqHOIw.js +0 -69
@@ -1,23 +1,24 @@
1
- import se from "./AnswerModal-BF-ZUpQ9.js";
2
- import { o as ne } from "./index-DEWMCZz4.js";
3
- import { w as x } from "./CDropdownItem-BeK9wNHJ.js";
4
- import { aU as I, g as m, n as d, c as f, b as u, d as oe, aV as le, S as re, u as U, j as $, aA as ce, aO as y, R as p, L as H, h as D, a1 as h, aW as de, aX as pe, aY as ue, aZ as me, a_ as he, a$ as fe, V as A, aQ as O, aR as R, I as E, b0 as B, aS as ge, b1 as Ce, F as ve, b2 as ye, f as xe, k as G, b3 as we, b4 as be, B as ke, b5 as _e, C as W, b6 as Le, b7 as $e, K as q, b8 as Se, b9 as Te, aT as De, ba as Ve, bb as Be, bc as Me, ah as Ie, bd as Fe, m as He, a as Ae, be as Pe } from "./main-DQ6SH_E_.js";
1
+ import se from "./AnswerModal-KWFteFV9.js";
2
+ import { o as ne } from "./index-Dnp3LAf2.js";
3
+ import { w as x } from "./CDropdownItem-DhEpCmQt.js";
4
+ import { aU as I, g as m, n as d, c as f, b as u, d as oe, aV as le, S as re, u as U, j as $, aA as ce, aO as y, T as p, M as H, h as D, a2 as h, aW as de, aX as pe, aY as ue, aZ as me, a_ as he, a$ as fe, V as A, aQ as O, aR as R, I as E, b0 as M, aS as ge, b1 as Ce, G as ve, b2 as ye, f as xe, k as G, b3 as we, b4 as be, D as ke, b5 as _e, C as W, b6 as Le, b7 as $e, L as q, b8 as Se, b9 as Te, aT as De, ba as Ve, bb as Me, bc as Be, ai as Ie, bd as Fe, m as He, a as Ae, be as Pe } from "./main-CWRB9q-W.js";
5
5
  import { a as w, m as g } from "./vuex.esm-DKGl8mcw.js";
6
- import { s as k } from "./Flag-CH9jX9p6.js";
7
- import { l as Ee, g as ze, W as Ze, b as Ue, a as Oe, D as Re } from "./DocumentLayout-0-y6ChW3.js";
8
- import { F as N, d as Ge } from "./tippy.esm-DowQrfWM.js";
9
- import { m as S } from "./mapFormMixin-2SoyKxW2.js";
10
- import { d as P, t as We } from "./debounce-CaZBFRFZ.js";
11
- import { d as qe, o as Ne, _ as je } from "./omit-BjdTqooP.js";
12
- import { C as Ke, I as _, a as L, s as Ye } from "./index-DuCwf2mg.js";
13
- import { C as j, S as Qe, i as Je } from "./formComponentsInstall-BdhIOhq5.js";
14
- import { S as Xe } from "./CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-B85IuuQS.js";
15
- import { v as F } from "./index-BABEaO8N.js";
16
- import { t as et } from "./tinycolor-C3JU9Hqu.js";
17
- import { s as v } from "./formDrawerState-CcDRv2mi.js";
18
- import { s as tt } from "./dom-CPYqHOIw.js";
19
- import { f as it } from "./formValidationMixin-sp3Q6-ER.js";
20
- import { B as at } from "./BlockMedia-BFBeRtJx.js";
6
+ import { s as k } from "./Flag-hg61To9C.js";
7
+ import { l as Ee, g as ze, W as Ze, b as Ue, a as Oe, D as Re } from "./DocumentLayout-Ba121Zro.js";
8
+ import { F as N, d as Ge } from "./tippy.esm-BcAHvKwR.js";
9
+ import { m as S } from "./mapFormMixin-BOmDynJ-.js";
10
+ import { d as P, t as We } from "./debounce-BQXg61RJ.js";
11
+ import { d as qe, o as Ne, _ as je } from "./omit-CMqxXOLn.js";
12
+ import { C as Ke, I as _, a as L, s as Ye } from "./index-DETqm8Jy.js";
13
+ import { C as j } from "./CFormField-DDLf5YY4.js";
14
+ import { S as Qe } from "./CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-DbBb6ZId.js";
15
+ import { v as F } from "./index-M-GXl2PO.js";
16
+ import { t as Je } from "./tinycolor-CIjZZX-6.js";
17
+ import { s as v } from "./formDrawerState-wG6RdIXD.js";
18
+ import { s as Xe } from "./dom-CJxkno7i.js";
19
+ import { S as et, i as tt } from "./formComponentsInstall-D1VBPt9o.js";
20
+ import { f as it } from "./formValidationMixin-D9qFZJf9.js";
21
+ import { B as at } from "./BlockMedia-T4OxMb4n.js";
21
22
  const st = {
22
23
  name: "DocumentPostSendStep",
23
24
  mixins: [x],
@@ -351,7 +352,7 @@ var Dt = function() {
351
352
  } } }, [t("CIcon", { attrs: { type: "chevron-down", size: "16" } })], 1)]), t("div", { staticClass: "control-button remove", on: { click: function(a) {
352
353
  return e.$emit("remove");
353
354
  } } }, [t("CIcon", { attrs: { type: "x", size: "16" } })], 1)]) : e._e()], 2);
354
- }, Vt = [], Bt = /* @__PURE__ */ d(
355
+ }, Vt = [], Mt = /* @__PURE__ */ d(
355
356
  Tt,
356
357
  Dt,
357
358
  Vt,
@@ -359,10 +360,10 @@ var Dt = function() {
359
360
  null,
360
361
  "bfd61212"
361
362
  );
362
- const Mt = Bt.exports, It = {
363
+ const Bt = Mt.exports, It = {
363
364
  name: "DynamicBlock",
364
365
  components: {
365
- BlockControlButtons: Mt
366
+ BlockControlButtons: Bt
366
367
  },
367
368
  provide() {
368
369
  return {
@@ -1927,7 +1928,7 @@ const v1 = C1.exports, y1 = {
1927
1928
  },
1928
1929
  name: "DocumentFormFields",
1929
1930
  components: {
1930
- SmartList: Xe,
1931
+ SmartList: Qe,
1931
1932
  CAccordion: Ke,
1932
1933
  CField: j
1933
1934
  },
@@ -2182,7 +2183,7 @@ const k1 = b1.exports, _1 = (i) => {
2182
2183
  validation: T1(a, s),
2183
2184
  ...n && { data: n }
2184
2185
  };
2185
- }, B1 = ({ language: i = "en" } = {}) => {
2186
+ }, M1 = ({ language: i = "en" } = {}) => {
2186
2187
  const e = (t) => h.t(`components:account.documentForm.contentItems.coverBlock.${t}`, {
2187
2188
  lng: i
2188
2189
  });
@@ -2327,7 +2328,7 @@ const k1 = b1.exports, _1 = (i) => {
2327
2328
  })
2328
2329
  }
2329
2330
  ];
2330
- }, M1 = () => {
2331
+ }, B1 = () => {
2331
2332
  const i = Array(5).fill().map(() => p());
2332
2333
  return [
2333
2334
  {
@@ -2404,7 +2405,7 @@ const k1 = b1.exports, _1 = (i) => {
2404
2405
  const { language: a } = e || {};
2405
2406
  let s = null;
2406
2407
  return typeof t == "function" ? s = t() : i && (s = I1()), {
2407
- readView: M1(),
2408
+ readView: B1(),
2408
2409
  validation: F1(a),
2409
2410
  // Client / company will for now always exist on doc and in validation
2410
2411
  ...s && { data: s }
@@ -3038,7 +3039,7 @@ const Z1 = ({ language: i = "en" } = {}) => [
3038
3039
  background: o,
3039
3040
  priceSummaryBackground: l,
3040
3041
  backgroundFilter: r
3041
- } = s || {}, c = l || "hsl(228, 52%, 18%)", C = et.readability(c, "#fff") < 1.8 ? "#111111" : "#FFFFFF";
3042
+ } = s || {}, c = l || "hsl(228, 52%, 18%)", C = Je.readability(c, "#fff") < 1.8 ? "#111111" : "#FFFFFF";
3042
3043
  return [
3043
3044
  {
3044
3045
  key: `header-${i}`,
@@ -4374,7 +4375,7 @@ const f2 = ({
4374
4375
  extraWorkTimeImpactText: X1,
4375
4376
  notBinding: d2
4376
4377
  }, Z = {
4377
- coverBlock: B1,
4378
+ coverBlock: M1,
4378
4379
  header: s2,
4379
4380
  packageGroup: f2,
4380
4381
  embed: Z1,
@@ -4409,11 +4410,11 @@ const f2 = ({
4409
4410
  )
4410
4411
  });
4411
4412
  }
4412
- }, B2 = null, M2 = null;
4413
+ }, M2 = null, B2 = null;
4413
4414
  var I2 = /* @__PURE__ */ d(
4414
4415
  V2,
4415
- B2,
4416
4416
  M2,
4417
+ B2,
4417
4418
  !1,
4418
4419
  null,
4419
4420
  null
@@ -5053,7 +5054,7 @@ const G2 = R2.exports, W2 = {
5053
5054
  Fields: k1,
5054
5055
  ExtensionTab: m1,
5055
5056
  DocumentGeneralSettings: r1,
5056
- DocumentGuide: () => import("./index-CJTuXpCD.js"),
5057
+ DocumentGuide: () => import("./index-BFnwm62-.js"),
5057
5058
  MenuBlocks: G2,
5058
5059
  Simplebar: k
5059
5060
  },
@@ -5345,7 +5346,7 @@ const K2 = j2.exports, J = (i, e, t = "$children") => {
5345
5346
  },
5346
5347
  methods: {
5347
5348
  onAddBlockMount(i, e) {
5348
- !this.onAddRedis[i] || !e || (e.$el && this.$nextTick(() => tt(e.$el, { offset: 100 })), typeof e[this.onAddRedis[i]] == "function" && e[this.onAddRedis[i]](), delete this.onAddRedis[i]);
5349
+ !this.onAddRedis[i] || !e || (e.$el && this.$nextTick(() => Xe(e.$el, { offset: 100 })), typeof e[this.onAddRedis[i]] == "function" && e[this.onAddRedis[i]](), delete this.onAddRedis[i]);
5349
5350
  },
5350
5351
  onBlockToggleVisible(i, e) {
5351
5352
  const a = [...this.readLayout].findIndex(
@@ -5382,7 +5383,7 @@ const K2 = j2.exports, J = (i, e, t = "$children") => {
5382
5383
  this.removeFormKeyValue(r);
5383
5384
  });
5384
5385
  }, "children");
5385
- B([this.nestedReadLayout[e]]).forEach((a) => {
5386
+ M([this.nestedReadLayout[e]]).forEach((a) => {
5386
5387
  const s = this.readLayout.findIndex((n) => n.nodeId === a.nodeId);
5387
5388
  this.removeFormValue(`template.views.read.nodes[${s}]`);
5388
5389
  });
@@ -5416,7 +5417,7 @@ const K2 = j2.exports, J = (i, e, t = "$children") => {
5416
5417
  );
5417
5418
  this.setFormValue({
5418
5419
  key: "template.views.read.nodes",
5419
- value: B(s)
5420
+ value: M(s)
5420
5421
  });
5421
5422
  } else if (!e && t !== null) {
5422
5423
  const { sectionKey: s, createNewSection: n, addValidation: o, contentData: l } = a, {
@@ -5437,7 +5438,7 @@ const K2 = j2.exports, J = (i, e, t = "$children") => {
5437
5438
  ];
5438
5439
  this.setFormValue({
5439
5440
  key: "template.views.read.nodes",
5440
- value: B(ie)
5441
+ value: M(ie)
5441
5442
  });
5442
5443
  const [{ nodeId: ae }] = r;
5443
5444
  this.onAddRedis[ae] = V;
@@ -5558,7 +5559,7 @@ const ei = X2.exports, ti = {
5558
5559
  components: {
5559
5560
  AddBlock: Q,
5560
5561
  Drawer: K,
5561
- SendForm: Qe,
5562
+ SendForm: et,
5562
5563
  CCheckbox: ve,
5563
5564
  CIcon: ye,
5564
5565
  CButton: xe,
@@ -5848,9 +5849,9 @@ const X = ci.exports;
5848
5849
  function di(i, e, t) {
5849
5850
  return i === i && (t !== void 0 && (i = i <= t ? i : t), e !== void 0 && (i = i >= e ? i : e)), i;
5850
5851
  }
5851
- var pi = di, ui = pi, M = We;
5852
+ var pi = di, ui = pi, B = We;
5852
5853
  function mi(i, e, t) {
5853
- return t === void 0 && (t = e, e = void 0), t !== void 0 && (t = M(t), t = t === t ? t : 0), e !== void 0 && (e = M(e), e = e === e ? e : 0), ui(M(i), e, t);
5854
+ return t === void 0 && (t = e, e = void 0), t !== void 0 && (t = B(t), t = t === t ? t : 0), e !== void 0 && (e = B(e), e = e === e ? e : 0), ui(B(i), e, t);
5854
5855
  }
5855
5856
  var hi = mi;
5856
5857
  const fi = /* @__PURE__ */ G(hi), gi = {
@@ -6188,7 +6189,7 @@ var Si = function() {
6188
6189
  null,
6189
6190
  "9c78dbb6"
6190
6191
  );
6191
- const Vi = Di.exports, Bi = {
6192
+ const Vi = Di.exports, Mi = {
6192
6193
  name: "DocumentIcon",
6193
6194
  truncate: ke,
6194
6195
  inject: {
@@ -6199,7 +6200,7 @@ const Vi = Di.exports, Bi = {
6199
6200
  }
6200
6201
  }
6201
6202
  };
6202
- var Mi = function(e, t) {
6203
+ var Bi = function(e, t) {
6203
6204
  return e("div", t._b({ key: t.data.key, staticClass: "item", class: [
6204
6205
  t.data.staticClass,
6205
6206
  t.data.class,
@@ -6216,8 +6217,8 @@ var Mi = function(e, t) {
6216
6217
  t.parent.$t("_common:empty", { thing: t.parent.$t("_common:template") })
6217
6218
  ) } }) : t.props.name ? [e("div", { staticClass: "item-text", domProps: { textContent: t._s(t.$options.truncate(t.props.name, 60)) } }), t._t("default")] : t._e()], 2)]);
6218
6219
  }, Ii = [], Fi = /* @__PURE__ */ d(
6219
- Bi,
6220
6220
  Mi,
6221
+ Bi,
6221
6222
  Ii,
6222
6223
  !0,
6223
6224
  null,
@@ -7051,7 +7052,7 @@ var ea = function() {
7051
7052
  "5c1a776a"
7052
7053
  );
7053
7054
  const aa = ia.exports;
7054
- var sa = Be, na = Me, oa = Ie;
7055
+ var sa = Me, na = Be, oa = Ie;
7055
7056
  function la(i, e, t) {
7056
7057
  for (var a = -1, s = e.length, n = {}; ++a < s; ) {
7057
7058
  var o = e[a], l = sa(i, o);
@@ -7069,7 +7070,7 @@ var ua = pa, ma = ua, ha = je, fa = ha(function(i, e) {
7069
7070
  return i == null ? {} : ma(i, e);
7070
7071
  }), ga = fa;
7071
7072
  const Ca = /* @__PURE__ */ G(ga);
7072
- A.use(Je);
7073
+ A.use(tt);
7073
7074
  const va = {
7074
7075
  name: "DocForm",
7075
7076
  i18nOptions: {
@@ -7265,7 +7266,7 @@ var ya = function() {
7265
7266
  null,
7266
7267
  "2c3d4461"
7267
7268
  );
7268
- const Oa = wa.exports;
7269
+ const Ra = wa.exports;
7269
7270
  export {
7270
- Oa as default
7271
+ Ra as default
7271
7272
  };
@@ -1,5 +1,5 @@
1
- import { i as s, S as l } from "./formComponentsInstall-BdhIOhq5.js";
2
- import { V as n, m as r, a as i, g as u, C as c, n as m } from "./main-DQ6SH_E_.js";
1
+ import { i as s, S as l } from "./formComponentsInstall-D1VBPt9o.js";
2
+ import { V as n, m as r, a as i, g as u, C as c, n as m } from "./main-CWRB9q-W.js";
3
3
  n.use(s);
4
4
  const a = n.observable({
5
5
  canEdit: !1,
@@ -1,5 +1,5 @@
1
- import { C as o } from "./index-DEWMCZz4.js";
2
- import { n as s } from "./main-DQ6SH_E_.js";
1
+ import { C as o } from "./index-Dnp3LAf2.js";
2
+ import { n as s } from "./main-CWRB9q-W.js";
3
3
  const t = {
4
4
  name: "DocLinks",
5
5
  components: {
@@ -1,4 +1,4 @@
1
- import { n as o } from "./main-DQ6SH_E_.js";
1
+ import { n as o } from "./main-CWRB9q-W.js";
2
2
  const s = {
3
3
  name: "DocModalBase",
4
4
  components: {},
@@ -1,4 +1,4 @@
1
- import { n as d, F as h, c, I as l, G as p, H as a, J as m } from "./main-DQ6SH_E_.js";
1
+ import { n as d, G as h, c, I as l, H as p, J as a, K as m } from "./main-CWRB9q-W.js";
2
2
  const u = {
3
3
  i18nOptions: {
4
4
  namespaces: "documentPrint",
@@ -59,6 +59,8 @@ const u = {
59
59
  showLast4ssn: !0,
60
60
  forceDoCreatePdf: !1,
61
61
  // Only for superuser
62
+ compressImages: !1,
63
+ // Only for superuser
62
64
  debugPage: !1,
63
65
  // Only for superuser
64
66
  extraTimeout: 0
@@ -175,28 +177,33 @@ var f = function() {
175
177
  var t = this, e = t._self._c;
176
178
  return e("div", [e("div", { staticClass: "options-wrapper" }, [e("div", { staticClass: "pb-4 text-lg font-semibold" }, [t._v(t._s(t.$t("title")))]), e("div", { staticClass: "print-options" }, [e("div", { staticClass: "select-none pb-1 text-sm font-medium text-gray-800" }, [t._v(" " + t._s(t.$t("_common:document")) + " ")]), e("div", { staticClass: "option-item" }, [e("div", { staticClass: "option-item__inner bg-gray-100 hover:bg-gray-200", class: { disabled: !t.document.attachedFiles.length }, on: { click: function(i) {
177
179
  t.options.appendAttachments = !t.options.appendAttachments;
178
- } } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.document.attachedFiles.length ? t.options.appendAttachments : !1, type: "secondary", size: "small" } }), e("div", [e("div", [t._v(t._s(t.$t("appendAttachments")))]), e("div", { staticClass: "has-text-grey-dark", staticStyle: { "font-size": "13px" } }, [t._v(" " + t._s(t.$tc("_common:attachment", { count: t.document.attachedFiles.length })) + " ")])])], 1), e("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: t.omitAttachmentBlockTooltip, expression: "omitAttachmentBlockTooltip" }] }, [e("div", { staticClass: "option-item__inner bg-gray-100 hover:bg-gray-200", class: {
180
+ } } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.document.attachedFiles.length ? t.options.appendAttachments : !1, type: "secondary", size: "small" } }), e("div", [e("div", [t._v(t._s(t.$t("appendAttachments")))]), e("div", { staticClass: "has-text-grey-dark", staticStyle: { "font-size": "13px" } }, [t._v(" " + t._s(t.$tc("_common:attachment", { count: t.document.attachedFiles.length })) + " ")])])], 1), e("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: t.omitAttachmentBlockTooltip, expression: "omitAttachmentBlockTooltip" }] }, [e("div", { staticClass: "option-item__inner border-t-2 border-white bg-gray-100 hover:bg-gray-200", class: {
179
181
  disabled: !t.document.getAllNodesWithType("attachments").length
180
- }, staticStyle: { "border-top": "2px solid hsl(0, 0%, 100%)" }, on: { click: function(i) {
182
+ }, on: { click: function(i) {
181
183
  t.options.hideDocumentAttachmentBlocks = !t.options.hideDocumentAttachmentBlocks;
182
184
  } } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.document.getAllNodesWithType("attachments").length ? t.options.hideDocumentAttachmentBlocks : !1, type: "secondary", size: "small" } }), e("div", [e("div", [t._v(t._s(t.$t("hideDocumentAttachmentBlocks")))]), e("div", { staticClass: "has-text-grey-dark", staticStyle: { "font-size": "13px" } }, [t._v(" " + t._s(t.$tc("_common:block", { count: t.document.getAllNodesWithType("attachments").length })) + " ")])])], 1)])]), e("div", { staticStyle: { height: "1.25rem" } }), e("div", { staticClass: "select-none pb-1 text-sm font-medium text-gray-800" }, [t._v(" " + t._s(t.$t("_common:verification").capitalize()) + " ")]), e("div", { staticClass: "option-item", class: { disabled: !t.allowVerification } }, [e("div", { staticClass: "option-item__inner bg-gray-100 hover:bg-gray-200", on: { click: function(i) {
183
185
  t.options.showVerification = !t.options.showVerification;
184
- } } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.showVerification, type: "secondary", size: "small" } }), e("div", [e("div", [t._v(t._s(t.$t("showVerification")))]), e("div", { staticClass: "has-text-grey-dark", staticStyle: { "font-size": "13px" } }, [t._v(" " + t._s(t.$t("showVerificationSub")) + " ")])])], 1), t.options.showVerification ? e("div", { staticClass: "option-item__inner bg-gray-100 hover:bg-gray-200", staticStyle: { "padding-left": "2rem", "border-top": "2px solid hsl(0, 0%, 100%)" }, on: { click: function(i) {
186
+ } } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.showVerification, type: "secondary", size: "small" } }), e("div", [e("div", [t._v(t._s(t.$t("showVerification")))]), e("div", { staticClass: "has-text-grey-dark", staticStyle: { "font-size": "13px" } }, [t._v(" " + t._s(t.$t("showVerificationSub")) + " ")])])], 1), t.options.showVerification ? e("div", { staticClass: "option-item__inner border-t-2 border-white bg-gray-100 pl-8 hover:bg-gray-200", on: { click: function(i) {
185
187
  t.options.showEvents = !t.options.showEvents;
186
188
  } } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.showEvents, type: "secondary", size: "small" } }), e("div", [e("div", [t._v(t._s(t.$t("showEvents")))])])], 1) : t._e(), t.options.showVerification && t.hasBankIdSignatures ? e("div", [e("div", { staticClass: "mb-1 mt-3 inline-flex cursor-pointer select-none items-center rounded p-2 text-xs font-medium leading-none text-gray-500 hover:bg-gray-100", on: { click: function(i) {
187
189
  t.showMoreOptions = !t.showMoreOptions;
188
190
  } } }, [t._v(" " + t._s(t.$t("_common:more").capitalize()) + " "), e("CIcon", { staticClass: "ml-0.5 transition-transform", class: { "rotate-90": t.showMoreOptions }, attrs: { type: "chevron-right", "stroke-width": "2.25", size: "12" } })], 1), e("Animation", [t.showMoreOptions ? e("div", { staticClass: "option-item__inner bg-gray-100 hover:bg-gray-200", on: { click: function(i) {
189
191
  t.options.showLast4ssn = !t.options.showLast4ssn;
190
- } } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.showLast4ssn, type: "secondary", size: "small" } }), e("div", [e("div", [t._v(t._s(t.$t("showLast4ssn")))])])], 1) : t._e()])], 1) : t._e()]), t.showAdminOptions ? e("div", [e("div", { staticStyle: { height: "1.25rem" } }), e("div", { staticClass: "select-none pb-1 text-sm font-medium text-gray-800" }, [t._v(" Superuser + VPN ")]), e("div", { staticClass: "option-item__inner bg-gray-100 hover:bg-gray-200", staticStyle: { "border-top": "2px solid hsl(0, 0%, 100%)", opacity: "0.8", "font-size": "10px" }, on: { click: function(i) {
192
+ } } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.showLast4ssn, type: "secondary", size: "small" } }), e("div", [e("div", [t._v(t._s(t.$t("showLast4ssn")))])])], 1) : t._e()])], 1) : t._e()]), t.showAdminOptions ? e("div", [e("div", { staticStyle: { height: "1.25rem" } }), e("div", { staticClass: "select-none pb-1 text-sm font-medium text-gray-800" }, [t._v(" Superuser + VPN ")]), e("div", { staticClass: "option-item__inner border-t-2 border-white bg-gray-100 text-xs opacity-80 hover:bg-gray-200", on: { click: function(i) {
191
193
  t.options.forceDoCreatePdf = !t.options.forceDoCreatePdf;
192
- } } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.forceDoCreatePdf, type: "secondary", size: "small" } }), t._m(0)], 1), e("div", { staticClass: "option-item__inner bg-gray-100 hover:bg-gray-200", staticStyle: { "border-top": "2px solid hsl(0, 0%, 100%)", opacity: "0.8", "font-size": "10px" }, on: { click: function(i) {
194
+ } } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.forceDoCreatePdf, type: "secondary", size: "small" } }), t._m(0)], 1), e("div", { staticClass: "option-item__inner border-t-2 border-white bg-gray-100 text-xs opacity-80 hover:bg-gray-200", on: { click: function(i) {
195
+ t.options.compressImages = !t.options.compressImages;
196
+ } } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.compressImages, type: "secondary", size: "small" } }), t._m(1)], 1), e("div", { staticClass: "option-item__inner border-t-2 border-white bg-gray-100 text-xs opacity-80 hover:bg-gray-200", on: { click: function(i) {
193
197
  t.options.debugPage = !t.options.debugPage;
194
- } } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.debugPage, type: "secondary", size: "small" } }), t._m(1)], 1), e("div", { staticClass: "bg-gray-100 hover:bg-gray-200", staticStyle: { "border-top": "2px solid hsl(0, 0%, 100%)", opacity: "0.8", "font-size": "10px" } }, [e("CInput", { attrs: { type: "number", filled: "", size: "small", placeholder: "Optional extra timeout (ms)" }, model: { value: t.extraTimeout, callback: function(i) {
198
+ } } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.debugPage, type: "secondary", size: "small" } }), t._m(2)], 1), e("div", { staticClass: "border-t-2 border-white bg-gray-100 text-xs opacity-80 hover:bg-gray-200" }, [e("CInput", { attrs: { type: "number", filled: "", size: "small", placeholder: "Optional extra timeout (ms)" }, model: { value: t.extraTimeout, callback: function(i) {
195
199
  t.extraTimeout = t._n(i);
196
200
  }, expression: "extraTimeout" } })], 1)]) : t._e()])]), e("CButton", { attrs: { type: "secondary", size: "medium", wide: "" }, on: { click: t.generatePdf } }, [t._v(" " + t._s(t.$t("buttonText")) + " ")])], 1);
197
201
  }, g = [function() {
198
202
  var s = this, t = s._self._c;
199
203
  return t("div", [t("div", [s._v("Force re-create PDF")])]);
204
+ }, function() {
205
+ var s = this, t = s._self._c;
206
+ return t("div", [t("div", [s._v("Compress images")])]);
200
207
  }, function() {
201
208
  var s = this, t = s._self._c;
202
209
  return t("div", [t("div", [s._v("Debug page output")])]);
@@ -206,12 +213,12 @@ var f = function() {
206
213
  g,
207
214
  !1,
208
215
  null,
209
- "cb05cb91"
216
+ "f435986a"
210
217
  );
211
- const y = v.exports, _ = {
218
+ const _ = v.exports, y = {
212
219
  name: "DocPrint",
213
220
  components: {
214
- DocumentPrint: y
221
+ DocumentPrint: _
215
222
  },
216
223
  props: {
217
224
  document: {
@@ -220,20 +227,20 @@ const y = v.exports, _ = {
220
227
  }
221
228
  }
222
229
  };
223
- var x = function() {
230
+ var b = function() {
224
231
  var t = this, e = t._self._c;
225
232
  return e("div", { staticClass: "h-full w-full overflow-auto px-8 py-12" }, [e("DocumentPrint", { attrs: { document: t.document }, on: { close: function(i) {
226
233
  return t.$router.push("/");
227
234
  } } })], 1);
228
- }, w = [], b = /* @__PURE__ */ d(
229
- _,
230
- x,
235
+ }, w = [], x = /* @__PURE__ */ d(
236
+ y,
237
+ b,
231
238
  w,
232
239
  !1,
233
240
  null,
234
241
  null
235
242
  );
236
- const C = b.exports;
243
+ const C = x.exports;
237
244
  export {
238
245
  C as default
239
246
  };
@@ -1,4 +1,4 @@
1
- import { g as p, n as u } from "./main-DQ6SH_E_.js";
1
+ import { g as p, n as u } from "./main-CWRB9q-W.js";
2
2
  import { m as g, a as _ } from "./vuex.esm-DKGl8mcw.js";
3
3
  const f = {
4
4
  sv: {
@@ -1,4 +1,4 @@
1
- import { g as m, n as a } from "./main-DQ6SH_E_.js";
1
+ import { g as m, n as a } from "./main-CWRB9q-W.js";
2
2
  import { m as c, a as d } from "./vuex.esm-DKGl8mcw.js";
3
3
  const l = {
4
4
  name: "DocumentSendReminderModal",