@cling-se/widget 0.14.0 → 0.14.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 (122) hide show
  1. package/dist/{AddClientCallout-C7BLDW6Y.js → AddClientCallout-BP2ip0A4.js} +3 -3
  2. package/dist/{AnswerModal-KWFteFV9.js → AnswerModal-C8i3ldB_.js} +3 -3
  3. package/dist/{AttachmentItem-CSerklBS.js → AttachmentItem-BrvrAMae.js} +2 -2
  4. package/dist/{BaseDatePicker-BOxfHGS8.js → BaseDatePicker-BSkAllLg.js} +481 -481
  5. package/dist/{BaseUpload-B-CktrCH.js → BaseUpload-J2v3G0-q.js} +13 -13
  6. package/dist/{BlockMedia-T4OxMb4n.js → BlockMedia-CAgKbN_k.js} +1 -1
  7. package/dist/{CCallout-yFt7TFJa.js → CCallout-D5Nk5DgN.js} +2 -2
  8. package/dist/CCurrencyDropdown-CGYQfYSD.js +246 -0
  9. package/dist/{CDropdownItem-DhEpCmQt.js → CDropdownItem-DGES8E6l.js} +7 -5
  10. package/dist/{CFormField-DDLf5YY4.js → CFormField-CE4rV3cr.js} +1 -1
  11. package/dist/{CPhoneFormat-B88rkuf0.js → CPhoneFormat-DXPrTit9.js} +1 -1
  12. package/dist/CPriceInput-CYsf1n6T.js +112 -0
  13. package/dist/CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js +1 -0
  14. package/dist/{ClientAutocomplete-DmRl3SUj.js → ClientAutocomplete-DPgOfPg1.js} +2 -2
  15. package/dist/{ClientModal-Dn3WDhGU.js → ClientModal-Dznh8Vvn.js} +44 -36
  16. package/dist/{ColorPicker-DX6JAsTn.js → ColorPicker-CWQEE8VR.js} +1 -1
  17. package/dist/{CompanyModal-BbO2nTd5.js → CompanyModal-CeZ3GgLu.js} +4 -4
  18. package/dist/{ContentWrapper-BvbmcTXK.js → ContentWrapper-DW7VHTdA.js} +6 -6
  19. package/dist/{CoverBlockSettings-C8FDwx7i.js → CoverBlockSettings-DNSdXFgF.js} +5 -5
  20. package/dist/{DocAnswer-OttbybQs.js → DocAnswer-CPttkKAJ.js} +2 -2
  21. package/dist/{DocDetails-J7O26zqa.js → DocDetails-BCwWW_kM.js} +7 -7
  22. package/dist/{DocForm-Bgbesq79.js → DocForm-BPjC08Ic.js} +54 -53
  23. package/dist/{DocFormSend-D_U3ztgw.js → DocFormSend-BaC8IJCu.js} +2 -2
  24. package/dist/{DocLinks-Dp-iQ-B_.js → DocLinks-DN-S8MY_.js} +2 -2
  25. package/dist/{DocModalBase-F-wlPg7j.js → DocModalBase-bFJp0T2Y.js} +1 -1
  26. package/dist/{DocPrint-B45voy0W.js → DocPrint-Ci7Jyh-C.js} +11 -17
  27. package/dist/{DocReceipt-jKVK5U-a.js → DocReceipt-BYlXr6eS.js} +6 -6
  28. package/dist/{DocSendReminder-BersSNb1.js → DocSendReminder-DFx4934a.js} +1 -1
  29. package/dist/{DocTextEditor-CYe_jWZ8.js → DocTextEditor-idQMnlIF.js} +281 -270
  30. package/dist/{DocTimeline-yyzh51yB.js → DocTimeline-ZmGSVRUB.js} +1 -1
  31. package/dist/{DocumentClient-CS_EVjK9.js → DocumentClient-DTRlyvLO.js} +5 -5
  32. package/dist/{DocumentLayout-Ba121Zro.js → DocumentLayout-BJAyNjNa.js} +4 -4
  33. package/dist/{DocumentLogotype-DUVhl9xC.js → DocumentLogotype-pDJRc6Hj.js} +3 -3
  34. package/dist/{DocumentVoided-D5ePc-a5.js → DocumentVoided-DfKewfe4.js} +1 -1
  35. package/dist/{EmbedInput-Ds-Z-0J2.js → EmbedInput-7hLNsnEV.js} +2 -2
  36. package/dist/{EmbedSettings-C8BP4YuY.js → EmbedSettings-CpL24RhA.js} +2 -2
  37. package/dist/{ErrorCallout-B_QrRAm6.js → ErrorCallout-CdJCe67q.js} +1 -1
  38. package/dist/{FilePreviewModal-B105PxLD.js → FilePreviewModal-B7qT3I7F.js} +2 -2
  39. package/dist/{Flag-hg61To9C.js → Flag-DwW19zju.js} +1 -1
  40. package/dist/{HeaderSettings-DIBiJc4I.js → HeaderSettings-C8SuuAwv.js} +7 -7
  41. package/dist/{ImageSelectModal-D2g42vWJ.js → ImageSelectModal-CAOh3YHc.js} +3 -3
  42. package/dist/{ImageUploadWrapper-CREUMKh3.js → ImageUploadWrapper-21yldsj9.js} +2 -2
  43. package/dist/{Index-8DAfMA_s.js → Index-B0BgYtWI.js} +5 -5
  44. package/dist/{Index-4NdatdH2.js → Index-BC1AhlQ9.js} +6 -6
  45. package/dist/{Index-CwulQoRG.js → Index-BZi6r2UN.js} +8 -8
  46. package/dist/{Index-agYFtWMw.js → Index-BsD09y_2.js} +6 -6
  47. package/dist/{Index-BZM-FsHY.js → Index-Bu9SdKLP.js} +1 -1
  48. package/dist/{Index-YkoWXviW.js → Index-BvsqZh2A.js} +4 -4
  49. package/dist/{Index-DeNpUKh8.js → Index-Bz4qd9uO.js} +5 -5
  50. package/dist/{Index-BLQwYzIX.js → Index-C--GiPc1.js} +4 -4
  51. package/dist/{Index-DDj3_T_m.js → Index-CC7qF0br.js} +4 -4
  52. package/dist/{Index-Dy7K8KMB.js → Index-CGxOvTF4.js} +590 -694
  53. package/dist/{Index-7rbX01Io.js → Index-CI7_ktvb.js} +5 -5
  54. package/dist/{Index-DRgVg0CH.js → Index-COJZmxkX.js} +4 -4
  55. package/dist/{Index-Bu6aOCmM.js → Index-CObEQ6G-.js} +3 -3
  56. package/dist/{Index-CpWW7m5F.js → Index-CP2bsXd-.js} +11 -13
  57. package/dist/{Index-lKo8z-71.js → Index-CSvZBLnp.js} +3 -3
  58. package/dist/{Index-BuDj2yrd.js → Index-Ci-hGBbC.js} +4 -4
  59. package/dist/{Index-CL12KArA.js → Index-Ckzq1cEJ.js} +22 -18
  60. package/dist/{Index-C56fTFO3.js → Index-CoIh5y2F.js} +4 -4
  61. package/dist/{Index-BiK7PqAm.js → Index-Couda8BX.js} +2 -2
  62. package/dist/{Index-D_MonVUx.js → Index-CvXt3dm6.js} +23 -23
  63. package/dist/{Index-D0gS476H.js → Index-D95MNzAZ.js} +4 -4
  64. package/dist/{Index-Dqp7TmnQ.js → Index-DB5EG4EI.js} +32 -30
  65. package/dist/{Index-02IKjPth.js → Index-DDvRihXA.js} +3 -3
  66. package/dist/{Index-sltQx4D3.js → Index-DIAntwBs.js} +2 -2
  67. package/dist/{Index-CYHxrllv.js → Index-DUdJNcDT.js} +4 -4
  68. package/dist/{Index-BG9x90V0.js → Index-DfANvO5d.js} +5 -5
  69. package/dist/{Index-DVQ6ZsHz.js → Index-Ds1Jv5Mr.js} +5 -5
  70. package/dist/{Index-B8xcDVQ1.js → Index-FIWsRGmh.js} +5 -5
  71. package/dist/{Index-bTXYCG9Y.js → Index-M3b7S4YX.js} +4 -4
  72. package/dist/{Index-kAu-7TWv.js → Index-NoN1_539.js} +10 -10
  73. package/dist/{Index-CUxvKTfn.js → Index-UGFm4yxI.js} +5 -5
  74. package/dist/{Index-BUTYZCat.js → Index-aCBe0dXx.js} +2 -2
  75. package/dist/{Index-DIg77V9c.js → Index-kJFtpJEP.js} +2 -2
  76. package/dist/{Index-BqBi-EmE.js → Index-rQKoLISX.js} +2 -2
  77. package/dist/{InputToggleRow-C7aWJpUF.js → InputToggleRow-Ct8rvqAF.js} +1 -1
  78. package/dist/{ManualPopover-CK9Xp-mo.js → ManualPopover-B0vp9ydC.js} +1 -1
  79. package/dist/{MediaWrapper-v87wlFnj.js → MediaWrapper-hmofOPLv.js} +3 -3
  80. package/dist/{NotBindingText-BGy3SnK3.js → NotBindingText-COpJPwHe.js} +2 -2
  81. package/dist/{PackageGroup-CrsOkWIb.js → PackageGroup-BdtslJL-.js} +8 -8
  82. package/dist/{PdfTerms-UmEmlI0Y.js → PdfTerms-EDStBDhn.js} +2 -2
  83. package/dist/{PdfViewer-C6VBu4tT.js → PdfViewer-D1_Roqu2.js} +3 -3
  84. package/dist/{PlainHtml-Dsaxrq3D.js → PlainHtml-C3JPvt4o.js} +1 -1
  85. package/dist/{PriceHeader-DQ615L9Q.js → PriceHeader-BdfozyN8.js} +9 -9
  86. package/dist/{SearchApi-CbWFQfoc.js → SearchApi-CQtYh98a.js} +2 -2
  87. package/dist/{Setup-Byd-0W7U.js → Setup-DHHMT6xu.js} +1 -1
  88. package/dist/{CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-DbBb6ZId.js → SmartList-BXeRj5NC.js} +1 -1
  89. package/dist/{TermsSettings-Cah7_3Ba.js → TermsSettings-D1tDAu-r.js} +3 -3
  90. package/dist/{ThemeColorRow-DqsjvQfY.js → ThemeColorRow-HUN-QPY_.js} +3 -3
  91. package/dist/{ToggleBinding-DFr6xW2B.js → ToggleBinding-CRoVM6Nw.js} +3 -3
  92. package/dist/{UploadModal-jRI9ITty.js → UploadModal-BD3pIiPT.js} +2 -2
  93. package/dist/{VideoPlayerInput-C5_Ft8-4.js → VideoPlayerInput-QFJfPoCf.js} +3 -3
  94. package/dist/{VideoPlayerSettings-LZluC-Tg.js → VideoPlayerSettings-CGq--niu.js} +2 -2
  95. package/dist/{VideoSelectModal-OGDq_lwv.js → VideoSelectModal-B61rBqdH.js} +3 -3
  96. package/dist/{answerDocumentMixin-D8BXcPWt.js → answerDocumentMixin-DiONfM1s.js} +3 -3
  97. package/dist/{debounce-BQXg61RJ.js → debounce-BIchuVwa.js} +11 -11
  98. package/dist/{focusDrawerMixin-D3Pzr0P-.js → focusDrawerMixin-CzvgKsOZ.js} +1 -1
  99. package/dist/{formComponentsInstall-D1VBPt9o.js → formComponentsInstall-EQLbqYqI.js} +74 -76
  100. package/dist/{formDrawerState-wG6RdIXD.js → formDrawerState-CiKGHdNH.js} +1 -1
  101. package/dist/{formValidationMixin-D9qFZJf9.js → formValidationMixin-5BVcxu38.js} +1 -1
  102. package/dist/{index-BFnwm62-.js → index-BYTRIZIz.js} +1 -1
  103. package/dist/{index-Dnp3LAf2.js → index-Be__C37A.js} +1 -1
  104. package/dist/{index-DETqm8Jy.js → index-CUydiL8B.js} +15 -15
  105. package/dist/{index-1DmXjcSN.js → index-DH6SCEKQ.js} +12 -12
  106. package/dist/{index-BEOnzeEr.js → index-gtVGRKIX.js} +5 -5
  107. package/dist/{index-M-GXl2PO.js → index-tNIrTnCx.js} +20 -20
  108. package/dist/index.es.js +3 -3
  109. package/dist/index.umd.js +133 -141
  110. package/dist/{main-CWRB9q-W.js → main-Bp2qcma0.js} +4022 -4031
  111. package/dist/{mapFormMixin-BOmDynJ-.js → mapFormMixin-Ce3_WIKw.js} +1 -1
  112. package/dist/omit-21u5fFMx.js +31 -0
  113. package/dist/{publicSenderState-D_VhSyXD.js → publicSenderState-BcN9kJJr.js} +1 -1
  114. package/dist/style.css +2 -2
  115. package/dist/{throttle-Bixql7MZ.js → throttle-CfPxqhW_.js} +2 -2
  116. package/dist/{tinycolor-CIjZZX-6.js → tinycolor-DNK6zGoq.js} +1 -1
  117. package/dist/tippy.esm-B5TcTBWX.js +1799 -0
  118. package/dist/{utils-1ypnMuRv.js → utils-GzwJPAEe.js} +1 -1
  119. package/dist/{omit-CMqxXOLn.js → vuedraggable.umd-2pmrPYml.js} +526 -554
  120. package/package.json +1 -1
  121. package/dist/BaseInput-BDjhI5P9.js +0 -364
  122. package/dist/tippy.esm-BcAHvKwR.js +0 -2039
@@ -1,24 +1,25 @@
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";
1
+ import se from "./AnswerModal-C8i3ldB_.js";
2
+ import { o as ne } from "./index-Be__C37A.js";
3
+ import { w as x } from "./CDropdownItem-DGES8E6l.js";
4
+ import { aT as I, g as m, n as d, c as f, b as u, d as oe, aU as le, S as re, w as U, j as $, aA as ce, aN as y, a6 as p, O as H, h as D, ae as h, aV as de, aW as pe, aX as ue, aY as me, aZ as he, a_ as fe, V as A, aP as O, aQ as R, I as E, a$ as B, aR as ge, b0 as Ce, J as ve, b1 as ye, f as xe, k as G, b2 as we, b3 as be, F as ke, b4 as _e, C as W, b5 as Le, b6 as $e, N as q, b7 as Se, b8 as Te, aS as De, b9 as Ve, ba as Be, bb as Me, a3 as Ie, bc as Fe, m as He, a as Ae, bd as Pe } from "./main-Bp2qcma0.js";
5
5
  import { a as w, m as g } from "./vuex.esm-DKGl8mcw.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";
6
+ import { s as k } from "./Flag-DwW19zju.js";
7
+ import { l as Ee, g as ze, W as Ze, b as Ue, a as Oe, D as Re } from "./DocumentLayout-BJAyNjNa.js";
8
+ import { F as N, d as Ge } from "./tippy.esm-B5TcTBWX.js";
9
+ import { m as S } from "./mapFormMixin-Ce3_WIKw.js";
10
+ import { d as P, t as We } from "./debounce-BIchuVwa.js";
11
+ import { d as qe } from "./vuedraggable.umd-2pmrPYml.js";
12
+ import { C as Ne, I as _, a as L, s as je } from "./index-CUydiL8B.js";
13
+ import { C as j } from "./CFormField-CE4rV3cr.js";
14
+ import { S as Ke } from "./SmartList-BXeRj5NC.js";
15
+ import { o as Ye, _ as Qe } from "./omit-21u5fFMx.js";
16
+ import { v as F } from "./index-tNIrTnCx.js";
17
+ import { t as Je } from "./tinycolor-DNK6zGoq.js";
18
+ import { s as v } from "./formDrawerState-CiKGHdNH.js";
18
19
  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";
20
+ import { S as et, i as tt } from "./formComponentsInstall-EQLbqYqI.js";
21
+ import { f as it } from "./formValidationMixin-5BVcxu38.js";
22
+ import { B as at } from "./BlockMedia-CAgKbN_k.js";
22
23
  const st = {
23
24
  name: "DocumentPostSendStep",
24
25
  mixins: [x],
@@ -352,7 +353,7 @@ var Dt = function() {
352
353
  } } }, [t("CIcon", { attrs: { type: "chevron-down", size: "16" } })], 1)]), t("div", { staticClass: "control-button remove", on: { click: function(a) {
353
354
  return e.$emit("remove");
354
355
  } } }, [t("CIcon", { attrs: { type: "x", size: "16" } })], 1)]) : e._e()], 2);
355
- }, Vt = [], Mt = /* @__PURE__ */ d(
356
+ }, Vt = [], Bt = /* @__PURE__ */ d(
356
357
  Tt,
357
358
  Dt,
358
359
  Vt,
@@ -360,10 +361,10 @@ var Dt = function() {
360
361
  null,
361
362
  "bfd61212"
362
363
  );
363
- const Bt = Mt.exports, It = {
364
+ const Mt = Bt.exports, It = {
364
365
  name: "DynamicBlock",
365
366
  components: {
366
- BlockControlButtons: Bt
367
+ BlockControlButtons: Mt
367
368
  },
368
369
  provide() {
369
370
  return {
@@ -1880,7 +1881,7 @@ const m1 = u1.exports, h1 = {
1880
1881
  remove() {
1881
1882
  if (!this.existingFieldId)
1882
1883
  return;
1883
- const i = Ne(this.document.fields, [this.existingFieldId]);
1884
+ const i = Ye(this.document.fields, [this.existingFieldId]);
1884
1885
  this.set({ key: "data.fields", value: i }), this.$emit("close");
1885
1886
  }
1886
1887
  }
@@ -1928,8 +1929,8 @@ const v1 = C1.exports, y1 = {
1928
1929
  },
1929
1930
  name: "DocumentFormFields",
1930
1931
  components: {
1931
- SmartList: Qe,
1932
- CAccordion: Ke,
1932
+ SmartList: Ke,
1933
+ CAccordion: Ne,
1933
1934
  CField: j
1934
1935
  },
1935
1936
  mixins: [S()],
@@ -2183,7 +2184,7 @@ const k1 = b1.exports, _1 = (i) => {
2183
2184
  validation: T1(a, s),
2184
2185
  ...n && { data: n }
2185
2186
  };
2186
- }, M1 = ({ language: i = "en" } = {}) => {
2187
+ }, B1 = ({ language: i = "en" } = {}) => {
2187
2188
  const e = (t) => h.t(`components:account.documentForm.contentItems.coverBlock.${t}`, {
2188
2189
  lng: i
2189
2190
  });
@@ -2328,7 +2329,7 @@ const k1 = b1.exports, _1 = (i) => {
2328
2329
  })
2329
2330
  }
2330
2331
  ];
2331
- }, B1 = () => {
2332
+ }, M1 = () => {
2332
2333
  const i = Array(5).fill().map(() => p());
2333
2334
  return [
2334
2335
  {
@@ -2405,7 +2406,7 @@ const k1 = b1.exports, _1 = (i) => {
2405
2406
  const { language: a } = e || {};
2406
2407
  let s = null;
2407
2408
  return typeof t == "function" ? s = t() : i && (s = I1()), {
2408
- readView: B1(),
2409
+ readView: M1(),
2409
2410
  validation: F1(a),
2410
2411
  // Client / company will for now always exist on doc and in validation
2411
2412
  ...s && { data: s }
@@ -4375,7 +4376,7 @@ const f2 = ({
4375
4376
  extraWorkTimeImpactText: X1,
4376
4377
  notBinding: d2
4377
4378
  }, Z = {
4378
- coverBlock: M1,
4379
+ coverBlock: B1,
4379
4380
  header: s2,
4380
4381
  packageGroup: f2,
4381
4382
  embed: Z1,
@@ -4410,11 +4411,11 @@ const f2 = ({
4410
4411
  )
4411
4412
  });
4412
4413
  }
4413
- }, M2 = null, B2 = null;
4414
+ }, B2 = null, M2 = null;
4414
4415
  var I2 = /* @__PURE__ */ d(
4415
4416
  V2,
4416
- M2,
4417
4417
  B2,
4418
+ M2,
4418
4419
  !1,
4419
4420
  null,
4420
4421
  null
@@ -5054,7 +5055,7 @@ const G2 = R2.exports, W2 = {
5054
5055
  Fields: k1,
5055
5056
  ExtensionTab: m1,
5056
5057
  DocumentGeneralSettings: r1,
5057
- DocumentGuide: () => import("./index-BFnwm62-.js"),
5058
+ DocumentGuide: () => import("./index-BYTRIZIz.js"),
5058
5059
  MenuBlocks: G2,
5059
5060
  Simplebar: k
5060
5061
  },
@@ -5290,7 +5291,7 @@ const K2 = j2.exports, J = (i, e, t = "$children") => {
5290
5291
  return this.view === "edit";
5291
5292
  },
5292
5293
  isFixedSidebar() {
5293
- return ["sm", "md"].includes(this.mq);
5294
+ return ["sm", "md", "lg"].includes(this.mq);
5294
5295
  },
5295
5296
  isLegacyTemplate() {
5296
5297
  return !!this.readLayout.find(
@@ -5383,7 +5384,7 @@ const K2 = j2.exports, J = (i, e, t = "$children") => {
5383
5384
  this.removeFormKeyValue(r);
5384
5385
  });
5385
5386
  }, "children");
5386
- M([this.nestedReadLayout[e]]).forEach((a) => {
5387
+ B([this.nestedReadLayout[e]]).forEach((a) => {
5387
5388
  const s = this.readLayout.findIndex((n) => n.nodeId === a.nodeId);
5388
5389
  this.removeFormValue(`template.views.read.nodes[${s}]`);
5389
5390
  });
@@ -5417,7 +5418,7 @@ const K2 = j2.exports, J = (i, e, t = "$children") => {
5417
5418
  );
5418
5419
  this.setFormValue({
5419
5420
  key: "template.views.read.nodes",
5420
- value: M(s)
5421
+ value: B(s)
5421
5422
  });
5422
5423
  } else if (!e && t !== null) {
5423
5424
  const { sectionKey: s, createNewSection: n, addValidation: o, contentData: l } = a, {
@@ -5438,7 +5439,7 @@ const K2 = j2.exports, J = (i, e, t = "$children") => {
5438
5439
  ];
5439
5440
  this.setFormValue({
5440
5441
  key: "template.views.read.nodes",
5441
- value: M(ie)
5442
+ value: B(ie)
5442
5443
  });
5443
5444
  const [{ nodeId: ae }] = r;
5444
5445
  this.onAddRedis[ae] = V;
@@ -5458,7 +5459,7 @@ var Q2 = function() {
5458
5459
  return a.stopPropagation(), e.drawerState.toggleLeft.apply(null, arguments);
5459
5460
  } } })], 1), e._t("nav-left")], 2), t("div", { staticClass: "relative", attrs: { slot: "center" }, slot: "center" }, [t("DocumentFormViewRadio", { directives: [{ name: "show", rawName: "v-show", value: e.nestedReadLayout.length, expression: "nestedReadLayout.length" }], attrs: { small: e.mq === "sm", value: e.view }, on: { input: function(a) {
5460
5461
  return e.$emit("update:view", a);
5461
- } } }), !e.isEditView && !["sm", "md"].includes(e.mq) ? t("div", { staticClass: "absolute inline-flex h-9 space-x-2 rounded-md bg-gray-300 p-1 backdrop-blur-lg backdrop-saturate-[180%]", staticStyle: { left: "calc(100% + calc(1.25 * var(--rem)))" } }, e._l(["desktop", "tablet", "mobile"], function(a) {
5462
+ } } }), !e.isEditView && !["sm", "md", "lg"].includes(e.mq) ? t("div", { staticClass: "absolute inline-flex h-9 cursor-pointer space-x-2 rounded-md bg-gray-300 p-1 backdrop-blur-lg backdrop-saturate-[180%]", staticStyle: { left: "calc(100% + calc(1.25 * var(--rem)))" } }, e._l(["desktop", "tablet", "mobile"], function(a) {
5462
5463
  return t("div", { key: a, staticClass: "pointer inline-flex select-none items-center justify-center rounded-md p-[10px] font-semibold text-gray-700 transition duration-150 ease-linear", style: e.previewDevice === a && {
5463
5464
  boxShadow: "0 1px 1px rgba(0, 0, 0, 0.2)",
5464
5465
  backgroundColor: "hsl(0, 0%, 100%)",
@@ -5531,7 +5532,7 @@ var Q2 = function() {
5531
5532
  J2,
5532
5533
  !1,
5533
5534
  null,
5534
- "06703df9"
5535
+ "3168d720"
5535
5536
  );
5536
5537
  const ei = X2.exports, ti = {
5537
5538
  name: "DocumentSend",
@@ -5664,9 +5665,9 @@ var ii = function() {
5664
5665
  e.isOpen = !1;
5665
5666
  } } }), t("SendForm", { attrs: { _document: e._document, _value: e._value, "set-form-value": e.setFormValue, "remove-form-value": e.removeFormValue, "on-save-document": e.onSaveDoc, "use-scroll": "" } }, [e.hasAnswerBlock ? e._e() : t("div", { key: "1", staticClass: "mb-8 flex rounded-lg border border-red-200 bg-red-50 p-3" }, [t("div", [t("CIcon", { staticClass: "-mt-1 text-red-600", attrs: { type: "error", size: "18" } })], 1), t("div", [t("div", { staticClass: "pl-2" }, [t("div", { staticClass: "text-sm font-semibold text-red-600", domProps: { textContent: e._s(e.$t("signMissingTitle")) } }), t("div", { staticClass: "mb-4 text-sm text-red-600 text-opacity-80" }, [e._v(" " + e._s(e.$t("signMissingText")) + " ")])]), t("AddBlock", { attrs: { set: e.setFormValue }, scopedSlots: e._u([{ key: "default", fn: function({ addBlock: a }) {
5666
5667
  return [t("CButton", { staticClass: "is-left", attrs: { type: "secondary", size: "small" }, on: { click: function(s) {
5667
- return a({ sectionKey: "answer" });
5668
+ return a({ sectionKey: "answer", document: e._document });
5668
5669
  } } }, [e._v(" " + e._s(e.$t("signMissingAdd")) + " ")])];
5669
- } }], null, !1, 2898075047) })], 1)]), e.isPublicForm ? t("CButton", { staticStyle: { height: "48px" }, attrs: { slot: "send", type: "secondary", wide: "" }, on: { click: e.onSaveDocument }, slot: "send" }, [e._v(" " + e._s(e.$t("signupToSend")) + " ")]) : e._e(), t("label", { staticClass: "text-gray-600", staticStyle: { display: "inline-flex", "align-items": "center", cursor: "pointer", "user-select": "none", "font-size": "12px", "font-weight": "500", "padding-top": "calc(1 * var(--rem))" }, attrs: { slot: "footer", for: "checkbox-save-as-temp" }, slot: "footer" }, [t("IsPremium", { scopedSlots: e._u([{ key: "default", fn: function({ canCreateTemplate: a }) {
5670
+ } }], null, !1, 1245343054) })], 1)]), e.isPublicForm ? t("CButton", { staticStyle: { height: "48px" }, attrs: { slot: "send", type: "secondary", wide: "" }, on: { click: e.onSaveDocument }, slot: "send" }, [e._v(" " + e._s(e.$t("signupToSend")) + " ")]) : e._e(), t("label", { staticClass: "text-gray-600", staticStyle: { display: "inline-flex", "align-items": "center", cursor: "pointer", "user-select": "none", "font-size": "12px", "font-weight": "500", "padding-top": "calc(1 * var(--rem))" }, attrs: { slot: "footer", for: "checkbox-save-as-temp" }, slot: "footer" }, [t("IsPremium", { scopedSlots: e._u([{ key: "default", fn: function({ canCreateTemplate: a }) {
5670
5671
  return [t("IsPremiumPreStep", { attrs: { feature: "saveDocTemplate" }, scopedSlots: e._u([{ key: "default", fn: function({ onClick: s }) {
5671
5672
  return [t("div", { staticClass: "flex items-center", on: { click: (n) => e.onClickSaveAsTemplate({
5672
5673
  event: n,
@@ -5683,7 +5684,7 @@ var ii = function() {
5683
5684
  ai,
5684
5685
  !1,
5685
5686
  null,
5686
- "1ee93a7e"
5687
+ "ded1afc1"
5687
5688
  );
5688
5689
  const ni = si.exports, oi = {
5689
5690
  i18nOptions: {
@@ -5830,7 +5831,7 @@ const ni = si.exports, oi = {
5830
5831
  };
5831
5832
  var li = function() {
5832
5833
  var e = this, t = e._self._c;
5833
- return t("div", { staticClass: "t-root font-inter" }, [t("div", { staticStyle: { "font-size": "18px", "font-weight": "700", "text-align": "center", "margin-bottom": "1em" } }, [e._v(" " + e._s(e.template ? e.$t("_common:edit", { thing: e.$t("_common:name") }) : e.$t("_common:save", { thing: e.$t("_common:template") })) + " ")]), t("div", [e.template ? e._e() : t("CCallout", [e._v(" " + e._s(e.$t("calloutDescription")) + " ")]), t("CField", { attrs: { vuelidate: e.$v.name, "vuelidate-messages": e.messages.name, label: e.$t("_common:name").capitalize(), "label-position": "inside" } }, [t("CInput", { ref: "input", staticClass: "rounder", staticStyle: { "margin-bottom": "calc(1 * var(--rem))" }, attrs: { value: e.updateExistingDocTemplate ? e.document.template.name : e.name, placeholder: e.$t("namePlaceholder"), disabled: e.updateExistingDocTemplate, autofocus: "", size: "medium" }, on: { input: function(a) {
5834
+ return t("div", { staticClass: "t-root font-inter" }, [t("div", { staticStyle: { "font-size": "18px", "font-weight": "700", "text-align": "center", "margin-bottom": "1em" } }, [e._v(" " + e._s(e.template ? e.$t("_common:edit", { thing: e.$t("_common:name") }) : e.$t("_common:save", { thing: e.$t("_common:template") })) + " ")]), t("div", [e.template ? e._e() : t("CCallout", [e._v(" " + e._s(e.$t("calloutDescription")) + " ")]), t("CField", { attrs: { vuelidate: e.$v.name, "vuelidate-messages": e.messages.name, label: e.$t("_common:name").capitalize(), "label-position": "inside" } }, [t("CInput", { ref: "input", staticClass: "rounder", staticStyle: { "margin-bottom": "calc(1 * var(--rem))" }, attrs: { value: e.updateExistingDocTemplate ? e.document.template.name : e.name, placeholder: e.$t("namePlaceholder"), disabled: e.updateExistingDocTemplate, size: "medium" }, on: { input: function(a) {
5834
5835
  e.name = a;
5835
5836
  } } })], 1), e.document && e.document.template.id && e.canUpdateExistingDocTemplate ? t("div", [t("CField", { staticStyle: { "padding-left": "calc(0.5 * var(--rem))", "margin-bottom": "calc(0.5 * var(--rem))" } }, [t("CCheckbox", { attrs: { type: "secondary", size: "normal" }, model: { value: e.updateExistingDocTemplate, callback: function(a) {
5836
5837
  e.updateExistingDocTemplate = a;
@@ -5843,15 +5844,15 @@ var li = function() {
5843
5844
  ri,
5844
5845
  !1,
5845
5846
  null,
5846
- "6e16da9a"
5847
+ "ea90dfe8"
5847
5848
  );
5848
5849
  const X = ci.exports;
5849
5850
  function di(i, e, t) {
5850
5851
  return i === i && (t !== void 0 && (i = i <= t ? i : t), e !== void 0 && (i = i >= e ? i : e)), i;
5851
5852
  }
5852
- var pi = di, ui = pi, B = We;
5853
+ var pi = di, ui = pi, M = We;
5853
5854
  function mi(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);
5855
+ 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);
5855
5856
  }
5856
5857
  var hi = mi;
5857
5858
  const fi = /* @__PURE__ */ G(hi), gi = {
@@ -6189,7 +6190,7 @@ var Si = function() {
6189
6190
  null,
6190
6191
  "9c78dbb6"
6191
6192
  );
6192
- const Vi = Di.exports, Mi = {
6193
+ const Vi = Di.exports, Bi = {
6193
6194
  name: "DocumentIcon",
6194
6195
  truncate: ke,
6195
6196
  inject: {
@@ -6200,7 +6201,7 @@ const Vi = Di.exports, Mi = {
6200
6201
  }
6201
6202
  }
6202
6203
  };
6203
- var Bi = function(e, t) {
6204
+ var Mi = function(e, t) {
6204
6205
  return e("div", t._b({ key: t.data.key, staticClass: "item", class: [
6205
6206
  t.data.staticClass,
6206
6207
  t.data.class,
@@ -6217,8 +6218,8 @@ var Bi = function(e, t) {
6217
6218
  t.parent.$t("_common:empty", { thing: t.parent.$t("_common:template") })
6218
6219
  ) } }) : 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)]);
6219
6220
  }, Ii = [], Fi = /* @__PURE__ */ d(
6220
- Mi,
6221
6221
  Bi,
6222
+ Mi,
6222
6223
  Ii,
6223
6224
  !0,
6224
6225
  null,
@@ -6639,7 +6640,7 @@ const Ni = qi.exports, ji = {
6639
6640
  }
6640
6641
  },
6641
6642
  beforeCreate() {
6642
- this.$store.hasModule("stripe") || this.$store.registerModuleState("stripe", Ye);
6643
+ this.$store.hasModule("stripe") || this.$store.registerModuleState("stripe", je);
6643
6644
  },
6644
6645
  async created() {
6645
6646
  var t, a, s, n;
@@ -7052,7 +7053,7 @@ var ea = function() {
7052
7053
  "5c1a776a"
7053
7054
  );
7054
7055
  const aa = ia.exports;
7055
- var sa = Me, na = Be, oa = Ie;
7056
+ var sa = Be, na = Me, oa = Ie;
7056
7057
  function la(i, e, t) {
7057
7058
  for (var a = -1, s = e.length, n = {}; ++a < s; ) {
7058
7059
  var o = e[a], l = sa(i, o);
@@ -7066,7 +7067,7 @@ function pa(i, e) {
7066
7067
  return da(i, a);
7067
7068
  });
7068
7069
  }
7069
- var ua = pa, ma = ua, ha = je, fa = ha(function(i, e) {
7070
+ var ua = pa, ma = ua, ha = Qe, fa = ha(function(i, e) {
7070
7071
  return i == null ? {} : ma(i, e);
7071
7072
  }), ga = fa;
7072
7073
  const Ca = /* @__PURE__ */ G(ga);
@@ -7266,7 +7267,7 @@ var ya = function() {
7266
7267
  null,
7267
7268
  "2c3d4461"
7268
7269
  );
7269
- const Ra = wa.exports;
7270
+ const Ga = wa.exports;
7270
7271
  export {
7271
- Ra as default
7272
+ Ga as default
7272
7273
  };
@@ -1,5 +1,5 @@
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";
1
+ import { i as s, S as l } from "./formComponentsInstall-EQLbqYqI.js";
2
+ import { V as n, m as r, a as i, g as u, C as c, n as m } from "./main-Bp2qcma0.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-Dnp3LAf2.js";
2
- import { n as s } from "./main-CWRB9q-W.js";
1
+ import { C as o } from "./index-Be__C37A.js";
2
+ import { n as s } from "./main-Bp2qcma0.js";
3
3
  const t = {
4
4
  name: "DocLinks",
5
5
  components: {
@@ -1,4 +1,4 @@
1
- import { n as o } from "./main-CWRB9q-W.js";
1
+ import { n as o } from "./main-Bp2qcma0.js";
2
2
  const s = {
3
3
  name: "DocModalBase",
4
4
  components: {},
@@ -1,4 +1,4 @@
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";
1
+ import { n as d, J as h, c, I as l, K as p, L as a, M as m } from "./main-Bp2qcma0.js";
2
2
  const u = {
3
3
  i18nOptions: {
4
4
  namespaces: "documentPrint",
@@ -191,34 +191,28 @@ var f = function() {
191
191
  t.options.showLast4ssn = !t.options.showLast4ssn;
192
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) {
193
193
  t.options.forceDoCreatePdf = !t.options.forceDoCreatePdf;
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) {
194
+ } } }, [e("CCheckbox", { staticClass: "py-2", attrs: { value: t.options.forceDoCreatePdf, size: "small" } }, [t._v(" Force re-create PDF ")])], 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
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) {
196
+ } } }, [e("CCheckbox", { staticStyle: { flex: "0 0 30px" }, attrs: { value: t.options.compressImages, 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) {
197
197
  t.options.debugPage = !t.options.debugPage;
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) {
198
+ } } }, [e("CCheckbox", { staticClass: "py-2", attrs: { value: t.options.debugPage, size: "small" } }, [t._v(" Debug page output ")])], 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) {
199
199
  t.extraTimeout = t._n(i);
200
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);
201
201
  }, g = [function() {
202
- var s = this, t = s._self._c;
203
- return t("div", [t("div", [s._v("Force re-create PDF")])]);
204
- }, function() {
205
202
  var s = this, t = s._self._c;
206
203
  return t("div", [t("div", [s._v("Compress images")])]);
207
- }, function() {
208
- var s = this, t = s._self._c;
209
- return t("div", [t("div", [s._v("Debug page output")])]);
210
204
  }], v = /* @__PURE__ */ d(
211
205
  u,
212
206
  f,
213
207
  g,
214
208
  !1,
215
209
  null,
216
- "f435986a"
210
+ "c95522c4"
217
211
  );
218
- const _ = v.exports, y = {
212
+ const b = v.exports, w = {
219
213
  name: "DocPrint",
220
214
  components: {
221
- DocumentPrint: _
215
+ DocumentPrint: b
222
216
  },
223
217
  props: {
224
218
  document: {
@@ -227,15 +221,15 @@ const _ = v.exports, y = {
227
221
  }
228
222
  }
229
223
  };
230
- var b = function() {
224
+ var y = function() {
231
225
  var t = this, e = t._self._c;
232
226
  return e("div", { staticClass: "h-full w-full overflow-auto px-8 py-12" }, [e("DocumentPrint", { attrs: { document: t.document }, on: { close: function(i) {
233
227
  return t.$router.push("/");
234
228
  } } })], 1);
235
- }, w = [], x = /* @__PURE__ */ d(
236
- y,
237
- b,
229
+ }, _ = [], x = /* @__PURE__ */ d(
238
230
  w,
231
+ y,
232
+ _,
239
233
  !1,
240
234
  null,
241
235
  null
@@ -1,4 +1,4 @@
1
- import { g as p, n as u } from "./main-CWRB9q-W.js";
1
+ import { g as p, n as u } from "./main-Bp2qcma0.js";
2
2
  import { m as g, a as _ } from "./vuex.esm-DKGl8mcw.js";
3
3
  const f = {
4
4
  sv: {
@@ -82,6 +82,10 @@ const f = {
82
82
  sentByName() {
83
83
  var a, t;
84
84
  return ((t = (a = this.document.sender) == null ? void 0 : a.user) == null ? void 0 : t.name) || "";
85
+ },
86
+ signOptions() {
87
+ var a;
88
+ return ((a = this.document) == null ? void 0 : a.signOptions) || [];
85
89
  }
86
90
  },
87
91
  methods: {
@@ -162,11 +166,7 @@ var h = function() {
162
166
  t.getBrowserString(n)
163
167
  ]
164
168
  ], function([i, d, m], l) {
165
- return [d ? e("div", { key: l, staticClass: "text-[13px]" }, [e("div", { staticClass: "text-gray-900", domProps: { textContent: t._s(i) } }), e("div", { staticClass: "flex items-center" }, [e("div", { staticClass: "mr-1.5 text-gray-500", domProps: { textContent: t._s(d) } }), m === "signMethod" && n.method && t.allowSignMethodUpdate && t.document.status !== "accepted" && n.didAccept === void 0 ? e("CDropdown", { attrs: { "append-to-body": !0, "menu-styling": { width: "180px" } } }, [e("div", { staticClass: "text-primary-500 text-xs font-medium underline", attrs: { slot: "trigger" }, domProps: { textContent: t._s(t.$t("_common:change")) }, slot: "trigger" }), t._l([
166
- ...t.feature("bankId") ? ["bankId"] : [],
167
- "signature",
168
- "inPerson"
169
- ], function(r) {
169
+ return [d ? e("div", { key: l, staticClass: "text-[13px]" }, [e("div", { staticClass: "text-gray-900", domProps: { textContent: t._s(i) } }), e("div", { staticClass: "flex items-center" }, [e("div", { staticClass: "mr-1.5 text-gray-500", domProps: { textContent: t._s(d) } }), m === "signMethod" && n.method && t.allowSignMethodUpdate && t.signOptions.length > 1 && t.document.status !== "accepted" && n.didAccept === void 0 ? e("CDropdown", { attrs: { "append-to-body": !0, "menu-styling": { width: "180px" } } }, [e("div", { staticClass: "text-primary-500 text-xs font-medium underline", attrs: { slot: "trigger" }, domProps: { textContent: t._s(t.$t("_common:change")) }, slot: "trigger" }), t._l(t.signOptions, function(r) {
170
170
  return e("CDropdownItem", { key: r, attrs: { "icon-right": n.method === r ? "check" : "" }, on: { click: function(D) {
171
171
  n.method !== r && t.onUpdate(n, r);
172
172
  } } }, [t._v(" " + t._s(t.$t(`_common:signMethod.${r}`)) + " ")]);
@@ -1,4 +1,4 @@
1
- import { g as m, n as a } from "./main-CWRB9q-W.js";
1
+ import { g as m, n as a } from "./main-Bp2qcma0.js";
2
2
  import { m as c, a as d } from "./vuex.esm-DKGl8mcw.js";
3
3
  const l = {
4
4
  name: "DocumentSendReminderModal",