@cling-se/widget 0.9.30 → 0.9.32

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 (119) hide show
  1. package/dist/{AddClientCallout-e63b3bc8.js → AddClientCallout-57195414.js} +5 -5
  2. package/dist/{AnswerModal-0fc36a99.js → AnswerModal-84115064.js} +47 -47
  3. package/dist/{AttachmentItem-7fcfe642.js → AttachmentItem-d5059568.js} +3 -3
  4. package/dist/{BaseDatePicker-3618f643.js → BaseDatePicker-0f2bbfe0.js} +2 -2
  5. package/dist/{BaseInput-1e53b776.js → BaseInput-09fa078c.js} +1 -1
  6. package/dist/{BaseUpload-2eea6112.js → BaseUpload-7ac7f0de.js} +2 -2
  7. package/dist/{BlockMedia-4f30336b.js → BlockMedia-35572b5a.js} +1 -1
  8. package/dist/{CCallout-3ea46d33.js → CCallout-f4a3000f.js} +2 -2
  9. package/dist/{CDropdownItem-301e3273.js → CDropdownItem-648b13e8.js} +1 -1
  10. package/dist/{CField-25e8b388.js → CField-c179740e.js} +1 -1
  11. package/dist/{CPhoneFormat-0eb4f8c1.js → CPhoneFormat-06cd312e.js} +1 -1
  12. package/dist/{CSlider.vue_vue_type_style_index_0_lang-8b316fae.js → CSlider.vue_vue_type_style_index_0_lang-545e8e1a.js} +1 -1
  13. package/dist/{ClientAutocomplete-35cada3c.js → ClientAutocomplete-1aacab81.js} +2 -2
  14. package/dist/{ClientModal-c11543c6.js → ClientModal-62cfe454.js} +5 -5
  15. package/dist/{ColorPicker-5ca79d5e.js → ColorPicker-c9eadd63.js} +1 -1
  16. package/dist/{CompanyModal-648fce86.js → CompanyModal-1140af13.js} +3 -3
  17. package/dist/{ContentWrapper-70c4494a.js → ContentWrapper-5d7221c8.js} +13 -13
  18. package/dist/{CoverBlockSettings-cfdb6528.js → CoverBlockSettings-668eec29.js} +9 -9
  19. package/dist/{DocAnswer-b03f11d8.js → DocAnswer-978f1b34.js} +4 -4
  20. package/dist/{DocDetails-ffbd78f5.js → DocDetails-02ab49b6.js} +4 -4
  21. package/dist/{DocForm-0216b4bf.js → DocForm-25924bbc.js} +29 -29
  22. package/dist/{DocFormSend-8d6e051b.js → DocFormSend-666669ea.js} +19 -18
  23. package/dist/{DocLinks-8520a61d.js → DocLinks-1b3d8aa7.js} +2 -2
  24. package/dist/{DocModalBase-a61f7c10.js → DocModalBase-ed5f21ca.js} +1 -1
  25. package/dist/{DocPrint-3e8970bc.js → DocPrint-c8e7792f.js} +1 -1
  26. package/dist/{DocReceipt-5da67daf.js → DocReceipt-68bb30bd.js} +1 -1
  27. package/dist/{DocSendReminder-b2e096d4.js → DocSendReminder-1bb53aa6.js} +1 -1
  28. package/dist/{DocTextEditor-1c8197e2.js → DocTextEditor-baf911e4.js} +8 -8
  29. package/dist/{DocTimeline-1804ebb6.js → DocTimeline-e80b7d30.js} +1 -1
  30. package/dist/{DocumentClient-a0592efe.js → DocumentClient-e5674987.js} +7 -7
  31. package/dist/{DocumentLayout-dd904f22.js → DocumentLayout-bdb661ca.js} +340 -331
  32. package/dist/{DocumentLogotype-59b1549a.js → DocumentLogotype-b47e5d3b.js} +3 -3
  33. package/dist/{DocumentVoided-f6b8e4ff.js → DocumentVoided-4689a48a.js} +1 -1
  34. package/dist/{EmbedInput-c1393639.js → EmbedInput-4e9f9fdc.js} +2 -2
  35. package/dist/{EmbedSettings-f7451a3d.js → EmbedSettings-8e8e772e.js} +3 -3
  36. package/dist/{ErrorCallout-2973d65d.js → ErrorCallout-b48cecf9.js} +1 -1
  37. package/dist/{FilePreviewModal-e8e3d042.js → FilePreviewModal-5ae3179e.js} +5 -5
  38. package/dist/{Flag-c17cf658.js → Flag-f21c517c.js} +1 -1
  39. package/dist/{HeaderSettings-eb0a98b4.js → HeaderSettings-dadaba45.js} +15 -15
  40. package/dist/{ImageSelectModal-cab96401.js → ImageSelectModal-3079deaf.js} +8 -8
  41. package/dist/{ImageUploadWrapper-38e2afa8.js → ImageUploadWrapper-92389319.js} +2 -2
  42. package/dist/{Index-0bfac160.js → Index-0d9fc410.js} +6 -6
  43. package/dist/{Index-a280b4b2.js → Index-16e2d1e5.js} +4 -4
  44. package/dist/{Index-d01e898b.js → Index-18ee40ea.js} +41 -26
  45. package/dist/{Index-bc62c1f2.js → Index-1a6f1fe8.js} +9 -9
  46. package/dist/{Index-28ec6148.js → Index-21715b96.js} +2 -2
  47. package/dist/{Index-921eb9ba.js → Index-25240fbd.js} +2 -2
  48. package/dist/{Index-1d85df60.js → Index-3855ca38.js} +7 -7
  49. package/dist/{Index-d7bf1266.js → Index-3a7288be.js} +17 -17
  50. package/dist/{Index-a2dba1ec.js → Index-469db7d7.js} +4 -4
  51. package/dist/{Index-e0c5772a.js → Index-48e502c3.js} +4 -4
  52. package/dist/{Index-bf74adf8.js → Index-672648c7.js} +50 -23
  53. package/dist/{Index-0e100224.js → Index-6d2a08a5.js} +6 -6
  54. package/dist/{Index-e1f464ef.js → Index-83509fc5.js} +1 -1
  55. package/dist/{Index-fcef00d7.js → Index-85996f2f.js} +2 -2
  56. package/dist/{Index-ce33b807.js → Index-85b558a8.js} +6 -6
  57. package/dist/{Index-0f08ced2.js → Index-88aa3f7e.js} +4 -4
  58. package/dist/{Index-8cc33cc7.js → Index-93d6b687.js} +2 -2
  59. package/dist/{Index-a3b1e7de.js → Index-9794be3d.js} +5 -5
  60. package/dist/{Index-d9abc609.js → Index-a7d30625.js} +4 -4
  61. package/dist/{Index-f4b486da.js → Index-a9cfa68b.js} +5 -5
  62. package/dist/{Index-19f50205.js → Index-aa9388ac.js} +4 -4
  63. package/dist/{Index-d256a1d6.js → Index-aac9dd15.js} +9 -9
  64. package/dist/{Index-714600fc.js → Index-ad7770f7.js} +4 -4
  65. package/dist/{Index-9c28cb53.js → Index-adabe428.js} +2 -2
  66. package/dist/{Index-d364dae0.js → Index-b9535d28.js} +14 -14
  67. package/dist/{Index-d2afa240.js → Index-c3f4a4b8.js} +3 -3
  68. package/dist/{Index-c9b85813.js → Index-c4184a33.js} +2 -2
  69. package/dist/{Index-da40e434.js → Index-c704e669.js} +10 -10
  70. package/dist/{Index-5c3cb151.js → Index-d0cf8cd4.js} +2 -2
  71. package/dist/{Index-30c1d44e.js → Index-da28cb69.js} +4 -4
  72. package/dist/{Index-4e60e980.js → Index-e6b7d574.js} +23 -23
  73. package/dist/{Index-07da4308.js → Index-ea0c9b42.js} +1 -1
  74. package/dist/{Index-6bb8e424.js → Index-ed57f450.js} +6 -6
  75. package/dist/{Index-46e59685.js → Index-ef0a8d46.js} +2 -2
  76. package/dist/{InputToggleRow-e28f45a0.js → InputToggleRow-67d34fe0.js} +1 -1
  77. package/dist/{IsPremiumPreStep-e1d54d22.js → IsPremiumPreStep-f1c4e0f9.js} +77 -75
  78. package/dist/{ManualPopover-64b4c430.js → ManualPopover-4641e4de.js} +1 -1
  79. package/dist/{MediaWrapper-240bb3b2.js → MediaWrapper-3dbdd7b2.js} +3 -3
  80. package/dist/{NotBindingText-2148a45c.js → NotBindingText-3c7f4d55.js} +2 -2
  81. package/dist/{PackageGroup-92ec85c9.js → PackageGroup-c935a59b.js} +14 -14
  82. package/dist/{PdfTerms-cf3e0ff3.js → PdfTerms-6afcf887.js} +15 -14
  83. package/dist/PdfViewer-f6d4d126.js +251 -0
  84. package/dist/{PlainHtml-98d14d49.js → PlainHtml-41dde027.js} +1 -1
  85. package/dist/{PriceHeader-2f97908c.js → PriceHeader-84ad2639.js} +13 -13
  86. package/dist/{SearchApi-3f0ee279.js → SearchApi-a8d58e7b.js} +2 -2
  87. package/dist/{Setup-6ca34742.js → Setup-86baa232.js} +1 -1
  88. package/dist/{TermsSettings-244144ce.js → TermsSettings-158e2ba7.js} +7 -7
  89. package/dist/{ThemeColorRow-8297bac6.js → ThemeColorRow-af9f1f9f.js} +3 -3
  90. package/dist/{ToggleBinding-801b881c.js → ToggleBinding-d80c5b56.js} +3 -3
  91. package/dist/{UploadModal-143d3385.js → UploadModal-64705993.js} +3 -3
  92. package/dist/{VideoPlayerInput-7cbe00d0.js → VideoPlayerInput-f001a306.js} +3 -3
  93. package/dist/{VideoPlayerSettings-055bfb63.js → VideoPlayerSettings-be3a2a08.js} +4 -4
  94. package/dist/{VideoSelectModal-82769419.js → VideoSelectModal-325ca974.js} +8 -8
  95. package/dist/{answerDocumentMixin-0eb824aa.js → answerDocumentMixin-7b4bd6d8.js} +3 -3
  96. package/dist/{debounce-35659385.js → debounce-2da37622.js} +8 -8
  97. package/dist/{focusDrawerMixin-57a74f04.js → focusDrawerMixin-2593f43c.js} +1 -1
  98. package/dist/{formComponentsInstall-53f4342a.js → formComponentsInstall-05dc0275.js} +12 -12
  99. package/dist/{formDrawerState-c089ffac.js → formDrawerState-1279a667.js} +1 -1
  100. package/dist/{formValidationMixin-08f0a439.js → formValidationMixin-b354db95.js} +1 -1
  101. package/dist/{index-317dfeee.js → index-05ff66b4.js} +13 -13
  102. package/dist/{index-497ae925.js → index-20e88d5e.js} +3 -3
  103. package/dist/{index-a37004d7.js → index-88e32902.js} +1 -1
  104. package/dist/{index-736d30ee.js → index-aa52e2dc.js} +5 -5
  105. package/dist/{index-e88b85e7.js → index-b9ea34e7.js} +1 -1
  106. package/dist/{index-17a2bb54.js → index-c30544b6.js} +1 -1
  107. package/dist/index.es.js +3 -3
  108. package/dist/index.umd.js +97 -95
  109. package/dist/{main-40ffafe1.js → main-5fada315.js} +50 -75
  110. package/dist/{mapFormMixin-5472d70c.js → mapFormMixin-881590dc.js} +1 -1
  111. package/dist/{publicSenderState-7ee4c697.js → publicSenderState-b7a68e31.js} +1 -1
  112. package/dist/style.css +2 -2
  113. package/dist/{throttle-4a418273.js → throttle-14a46b90.js} +2 -2
  114. package/dist/{tinycolor-2370293d.js → tinycolor-bcf90a67.js} +1 -1
  115. package/dist/{tippy.esm-f79d2d2e.js → tippy.esm-ece926d8.js} +5 -5
  116. package/dist/{utils-c72c79a9.js → utils-482054e4.js} +1 -1
  117. package/dist/{vuedraggable.umd-8bca15d0.js → vuedraggable.umd-0883a75f.js} +1 -1
  118. package/package.json +1 -1
  119. package/dist/PdfViewer-f2af7ba4.js +0 -245
@@ -1,8 +1,8 @@
1
- import { C as o } from "./ClientAutocomplete-35cada3c.js";
2
- import { m as r } from "./mapFormMixin-5472d70c.js";
3
- import { n as s } from "./main-40ffafe1.js";
4
- import "./SearchApi-3f0ee279.js";
5
- import "./debounce-35659385.js";
1
+ import { C as o } from "./ClientAutocomplete-1aacab81.js";
2
+ import { m as r } from "./mapFormMixin-881590dc.js";
3
+ import { n as s } from "./main-5fada315.js";
4
+ import "./SearchApi-a8d58e7b.js";
5
+ import "./debounce-2da37622.js";
6
6
  import "./vuex.esm-4a0fff7c.js";
7
7
  const i = {
8
8
  i18nOptions: {
@@ -1,8 +1,8 @@
1
1
  import { a as nt } from "./anime.es-e284c852.js";
2
- import { ar as Tt, h as Ct, n as ot, as as Ft, J as ft, at as kt, au as It, av as Mt, g as xt, e as St } from "./main-40ffafe1.js";
2
+ import { ar as Tt, h as Ct, n as ot, as as Ft, K as ft, at as kt, au as It, av as Mt, g as xt, e as St } from "./main-5fada315.js";
3
3
  import { a as Rt } from "./vuex.esm-4a0fff7c.js";
4
- import { m as dt } from "./mapFormMixin-5472d70c.js";
5
- import { C as Dt } from "./CField-25e8b388.js";
4
+ import { m as dt } from "./mapFormMixin-881590dc.js";
5
+ import { C as Dt } from "./CField-c179740e.js";
6
6
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
7
7
  const $t = () => {
8
8
  const m = window.location.host.split(".");
@@ -452,7 +452,7 @@ let Gt = class Et extends Ht {
452
452
  const a = "</svg>", w = s + h + a;
453
453
  return i + btoa(w);
454
454
  }
455
- }, Vt = class extends Gt {
455
+ }, Kt = class extends Gt {
456
456
  fromText(r, n = {}) {
457
457
  if (this.clear(), !r)
458
458
  return;
@@ -465,7 +465,7 @@ let Gt = class Et extends Ht {
465
465
  this._ctx.font = g, this._ctx.fillText(r, l, f, d), this._isEmpty = !1;
466
466
  }
467
467
  };
468
- const Jt = {
468
+ const Vt = {
469
469
  name: "SignaturePad",
470
470
  props: {
471
471
  type: {
@@ -536,7 +536,7 @@ const Jt = {
536
536
  },
537
537
  mounted() {
538
538
  const { options: m, defaultOptions: r } = this, n = this.$refs.signaturePadCanvas;
539
- this.signaturePad = new Vt(n, {
539
+ this.signaturePad = new Kt(n, {
540
540
  ...r,
541
541
  ...m
542
542
  }), this.onResizeHandler = this.resizeCanvas.bind(this), window.addEventListener("resize", this.onResizeHandler, !1), Object.keys(this.signEvents).forEach((g) => {
@@ -659,10 +659,10 @@ const Jt = {
659
659
  ]
660
660
  );
661
661
  }
662
- }, Kt = null, Xt = null;
662
+ }, Jt = null, Xt = null;
663
663
  var Qt = /* @__PURE__ */ ot(
664
+ Vt,
664
665
  Jt,
665
- Kt,
666
666
  Xt,
667
667
  !1,
668
668
  null,
@@ -1656,7 +1656,7 @@ Make sure your charset is UTF-8`
1656
1656
  return L(R, D, $);
1657
1657
  }
1658
1658
  function L(D, $, U) {
1659
- for (var R = d.getSymbolTotalCodewords($), O = x.getTotalCodewordsCount($, U), z = R - O, N = x.getBlocksCount($, U), Y = R % N, j = N - Y, et = Math.floor(R / N), X = Math.floor(z / N), vt = X + 1, K = et - X, q = new b(K), at = 0, it = new Array(N), st = new Array(N), ut = 0, yt = f.from(D.buffer), rt = 0; rt < N; rt++) {
1659
+ for (var R = d.getSymbolTotalCodewords($), O = x.getTotalCodewordsCount($, U), z = R - O, N = x.getBlocksCount($, U), Y = R % N, j = N - Y, et = Math.floor(R / N), X = Math.floor(z / N), vt = X + 1, J = et - X, q = new b(J), at = 0, it = new Array(N), st = new Array(N), ut = 0, yt = f.from(D.buffer), rt = 0; rt < N; rt++) {
1660
1660
  var ct = rt < j ? X : vt;
1661
1661
  it[rt] = yt.slice(at, at + ct), st[rt] = q.encode(it[rt]), at += ct, ut = Math.max(ut, ct);
1662
1662
  }
@@ -1664,7 +1664,7 @@ Make sure your charset is UTF-8`
1664
1664
  for (tt = 0; tt < ut; tt++)
1665
1665
  for (Q = 0; Q < N; Q++)
1666
1666
  tt < it[Q].length && (lt[ht++] = it[Q][tt]);
1667
- for (tt = 0; tt < K; tt++)
1667
+ for (tt = 0; tt < J; tt++)
1668
1668
  for (Q = 0; Q < N; Q++)
1669
1669
  lt[ht++] = st[Q][tt];
1670
1670
  return lt;
@@ -2729,9 +2729,9 @@ Minimum version required to store current data is: ` + Y + `.
2729
2729
  return 1;
2730
2730
  if (e >>>= 0, u >>>= 0, y >>>= 0, P >>>= 0, this === t)
2731
2731
  return 0;
2732
- for (var B = P - y, H = u - e, G = Math.min(B, H), V = this.slice(y, P), Z = t.slice(e, u), J = 0; J < G; ++J)
2733
- if (V[J] !== Z[J]) {
2734
- B = V[J], H = Z[J];
2732
+ for (var B = P - y, H = u - e, G = Math.min(B, H), K = this.slice(y, P), Z = t.slice(e, u), V = 0; V < G; ++V)
2733
+ if (K[V] !== Z[V]) {
2734
+ B = K[V], H = Z[V];
2735
2735
  break;
2736
2736
  }
2737
2737
  return B < H ? -1 : H < B ? 1 : 0;
@@ -2764,24 +2764,24 @@ Minimum version required to store current data is: ` + Y + `.
2764
2764
  function G(Pt, Bt) {
2765
2765
  return P === 1 ? Pt[Bt] : Pt.readUInt16BE(Bt * P);
2766
2766
  }
2767
- var V;
2767
+ var K;
2768
2768
  if (y) {
2769
2769
  var Z = -1;
2770
- for (V = e; V < B; V++)
2771
- if (G(o, V) === G(t, Z === -1 ? 0 : V - Z)) {
2772
- if (Z === -1 && (Z = V), V - Z + 1 === H)
2770
+ for (K = e; K < B; K++)
2771
+ if (G(o, K) === G(t, Z === -1 ? 0 : K - Z)) {
2772
+ if (Z === -1 && (Z = K), K - Z + 1 === H)
2773
2773
  return Z * P;
2774
2774
  } else
2775
- Z !== -1 && (V -= V - Z), Z = -1;
2775
+ Z !== -1 && (K -= K - Z), Z = -1;
2776
2776
  } else
2777
- for (e + H > B && (e = B - H), V = e; V >= 0; V--) {
2778
- for (var J = !0, gt = 0; gt < H; gt++)
2779
- if (G(o, V + gt) !== G(t, gt)) {
2780
- J = !1;
2777
+ for (e + H > B && (e = B - H), K = e; K >= 0; K--) {
2778
+ for (var V = !0, gt = 0; gt < H; gt++)
2779
+ if (G(o, K + gt) !== G(t, gt)) {
2780
+ V = !1;
2781
2781
  break;
2782
2782
  }
2783
- if (J)
2784
- return V;
2783
+ if (V)
2784
+ return K;
2785
2785
  }
2786
2786
  return -1;
2787
2787
  }
@@ -2874,19 +2874,19 @@ Minimum version required to store current data is: ` + Y + `.
2874
2874
  for (var u = [], y = t; y < e; ) {
2875
2875
  var P = o[y], B = null, H = P > 239 ? 4 : P > 223 ? 3 : P > 191 ? 2 : 1;
2876
2876
  if (y + H <= e) {
2877
- var G, V, Z, J;
2877
+ var G, K, Z, V;
2878
2878
  switch (H) {
2879
2879
  case 1:
2880
2880
  P < 128 && (B = P);
2881
2881
  break;
2882
2882
  case 2:
2883
- G = o[y + 1], (G & 192) === 128 && (J = (P & 31) << 6 | G & 63, J > 127 && (B = J));
2883
+ G = o[y + 1], (G & 192) === 128 && (V = (P & 31) << 6 | G & 63, V > 127 && (B = V));
2884
2884
  break;
2885
2885
  case 3:
2886
- G = o[y + 1], V = o[y + 2], (G & 192) === 128 && (V & 192) === 128 && (J = (P & 15) << 12 | (G & 63) << 6 | V & 63, J > 2047 && (J < 55296 || J > 57343) && (B = J));
2886
+ G = o[y + 1], K = o[y + 2], (G & 192) === 128 && (K & 192) === 128 && (V = (P & 15) << 12 | (G & 63) << 6 | K & 63, V > 2047 && (V < 55296 || V > 57343) && (B = V));
2887
2887
  break;
2888
2888
  case 4:
2889
- G = o[y + 1], V = o[y + 2], Z = o[y + 3], (G & 192) === 128 && (V & 192) === 128 && (Z & 192) === 128 && (J = (P & 15) << 18 | (G & 63) << 12 | (V & 63) << 6 | Z & 63, J > 65535 && J < 1114112 && (B = J));
2889
+ G = o[y + 1], K = o[y + 2], Z = o[y + 3], (G & 192) === 128 && (K & 192) === 128 && (Z & 192) === 128 && (V = (P & 15) << 18 | (G & 63) << 12 | (K & 63) << 6 | Z & 63, V > 65535 && V < 1114112 && (B = V));
2890
2890
  }
2891
2891
  }
2892
2892
  B === null ? (B = 65533, H = 1) : B > 65535 && (B -= 65536, u.push(B >>> 10 & 1023 | 55296), B = 56320 | B & 1023), u.push(B), y += H;
@@ -2937,64 +2937,64 @@ Minimum version required to store current data is: ` + Y + `.
2937
2937
  var y = this.subarray(t, e);
2938
2938
  return Object.setPrototypeOf(y, a.prototype), y;
2939
2939
  };
2940
- function K(o, t, e) {
2940
+ function J(o, t, e) {
2941
2941
  if (o % 1 !== 0 || o < 0)
2942
2942
  throw new RangeError("offset is not uint");
2943
2943
  if (o + t > e)
2944
2944
  throw new RangeError("Trying to access beyond buffer length");
2945
2945
  }
2946
2946
  a.prototype.readUIntLE = function(t, e, u) {
2947
- t = t >>> 0, e = e >>> 0, u || K(t, e, this.length);
2947
+ t = t >>> 0, e = e >>> 0, u || J(t, e, this.length);
2948
2948
  for (var y = this[t], P = 1, B = 0; ++B < e && (P *= 256); )
2949
2949
  y += this[t + B] * P;
2950
2950
  return y;
2951
2951
  }, a.prototype.readUIntBE = function(t, e, u) {
2952
- t = t >>> 0, e = e >>> 0, u || K(t, e, this.length);
2952
+ t = t >>> 0, e = e >>> 0, u || J(t, e, this.length);
2953
2953
  for (var y = this[t + --e], P = 1; e > 0 && (P *= 256); )
2954
2954
  y += this[t + --e] * P;
2955
2955
  return y;
2956
2956
  }, a.prototype.readUInt8 = function(t, e) {
2957
- return t = t >>> 0, e || K(t, 1, this.length), this[t];
2957
+ return t = t >>> 0, e || J(t, 1, this.length), this[t];
2958
2958
  }, a.prototype.readUInt16LE = function(t, e) {
2959
- return t = t >>> 0, e || K(t, 2, this.length), this[t] | this[t + 1] << 8;
2959
+ return t = t >>> 0, e || J(t, 2, this.length), this[t] | this[t + 1] << 8;
2960
2960
  }, a.prototype.readUInt16BE = function(t, e) {
2961
- return t = t >>> 0, e || K(t, 2, this.length), this[t] << 8 | this[t + 1];
2961
+ return t = t >>> 0, e || J(t, 2, this.length), this[t] << 8 | this[t + 1];
2962
2962
  }, a.prototype.readUInt32LE = function(t, e) {
2963
- return t = t >>> 0, e || K(t, 4, this.length), (this[t] | this[t + 1] << 8 | this[t + 2] << 16) + this[t + 3] * 16777216;
2963
+ return t = t >>> 0, e || J(t, 4, this.length), (this[t] | this[t + 1] << 8 | this[t + 2] << 16) + this[t + 3] * 16777216;
2964
2964
  }, a.prototype.readUInt32BE = function(t, e) {
2965
- return t = t >>> 0, e || K(t, 4, this.length), this[t] * 16777216 + (this[t + 1] << 16 | this[t + 2] << 8 | this[t + 3]);
2965
+ return t = t >>> 0, e || J(t, 4, this.length), this[t] * 16777216 + (this[t + 1] << 16 | this[t + 2] << 8 | this[t + 3]);
2966
2966
  }, a.prototype.readIntLE = function(t, e, u) {
2967
- t = t >>> 0, e = e >>> 0, u || K(t, e, this.length);
2967
+ t = t >>> 0, e = e >>> 0, u || J(t, e, this.length);
2968
2968
  for (var y = this[t], P = 1, B = 0; ++B < e && (P *= 256); )
2969
2969
  y += this[t + B] * P;
2970
2970
  return P *= 128, y >= P && (y -= Math.pow(2, 8 * e)), y;
2971
2971
  }, a.prototype.readIntBE = function(t, e, u) {
2972
- t = t >>> 0, e = e >>> 0, u || K(t, e, this.length);
2972
+ t = t >>> 0, e = e >>> 0, u || J(t, e, this.length);
2973
2973
  for (var y = e, P = 1, B = this[t + --y]; y > 0 && (P *= 256); )
2974
2974
  B += this[t + --y] * P;
2975
2975
  return P *= 128, B >= P && (B -= Math.pow(2, 8 * e)), B;
2976
2976
  }, a.prototype.readInt8 = function(t, e) {
2977
- return t = t >>> 0, e || K(t, 1, this.length), this[t] & 128 ? (255 - this[t] + 1) * -1 : this[t];
2977
+ return t = t >>> 0, e || J(t, 1, this.length), this[t] & 128 ? (255 - this[t] + 1) * -1 : this[t];
2978
2978
  }, a.prototype.readInt16LE = function(t, e) {
2979
- t = t >>> 0, e || K(t, 2, this.length);
2979
+ t = t >>> 0, e || J(t, 2, this.length);
2980
2980
  var u = this[t] | this[t + 1] << 8;
2981
2981
  return u & 32768 ? u | 4294901760 : u;
2982
2982
  }, a.prototype.readInt16BE = function(t, e) {
2983
- t = t >>> 0, e || K(t, 2, this.length);
2983
+ t = t >>> 0, e || J(t, 2, this.length);
2984
2984
  var u = this[t + 1] | this[t] << 8;
2985
2985
  return u & 32768 ? u | 4294901760 : u;
2986
2986
  }, a.prototype.readInt32LE = function(t, e) {
2987
- return t = t >>> 0, e || K(t, 4, this.length), this[t] | this[t + 1] << 8 | this[t + 2] << 16 | this[t + 3] << 24;
2987
+ return t = t >>> 0, e || J(t, 4, this.length), this[t] | this[t + 1] << 8 | this[t + 2] << 16 | this[t + 3] << 24;
2988
2988
  }, a.prototype.readInt32BE = function(t, e) {
2989
- return t = t >>> 0, e || K(t, 4, this.length), this[t] << 24 | this[t + 1] << 16 | this[t + 2] << 8 | this[t + 3];
2989
+ return t = t >>> 0, e || J(t, 4, this.length), this[t] << 24 | this[t + 1] << 16 | this[t + 2] << 8 | this[t + 3];
2990
2990
  }, a.prototype.readFloatLE = function(t, e) {
2991
- return t = t >>> 0, e || K(t, 4, this.length), d.read(this, t, !0, 23, 4);
2991
+ return t = t >>> 0, e || J(t, 4, this.length), d.read(this, t, !0, 23, 4);
2992
2992
  }, a.prototype.readFloatBE = function(t, e) {
2993
- return t = t >>> 0, e || K(t, 4, this.length), d.read(this, t, !1, 23, 4);
2993
+ return t = t >>> 0, e || J(t, 4, this.length), d.read(this, t, !1, 23, 4);
2994
2994
  }, a.prototype.readDoubleLE = function(t, e) {
2995
- return t = t >>> 0, e || K(t, 8, this.length), d.read(this, t, !0, 52, 8);
2995
+ return t = t >>> 0, e || J(t, 8, this.length), d.read(this, t, !0, 52, 8);
2996
2996
  }, a.prototype.readDoubleBE = function(t, e) {
2997
- return t = t >>> 0, e || K(t, 8, this.length), d.read(this, t, !1, 52, 8);
2997
+ return t = t >>> 0, e || J(t, 8, this.length), d.read(this, t, !1, 52, 8);
2998
2998
  };
2999
2999
  function q(o, t, e, u, y, P) {
3000
3000
  if (!a.isBuffer(o))
@@ -1,6 +1,6 @@
1
- import a from "./Index-28ec6148.js";
2
- import { n as r } from "./main-40ffafe1.js";
3
- import "./tinycolor-2370293d.js";
1
+ import a from "./Index-21715b96.js";
2
+ import { n as r } from "./main-5fada315.js";
3
+ import "./tinycolor-bcf90a67.js";
4
4
  const i = {
5
5
  name: "AttachmentsItem",
6
6
  components: {
@@ -1,5 +1,5 @@
1
- import { a7 as vi, Z as ki, j as Mi, n as Si, s as bi, ah as Yi, ai as Oi, aa as xi } from "./main-40ffafe1.js";
2
- import { w as Ti } from "./CDropdownItem-301e3273.js";
1
+ import { a7 as vi, Z as ki, j as Mi, n as Si, t as bi, ah as Yi, ai as Oi, aa as xi } from "./main-5fada315.js";
2
+ import { w as Ti } from "./CDropdownItem-648b13e8.js";
3
3
  var fs = { exports: {} };
4
4
  //! moment.js
5
5
  //! version : 2.29.4
@@ -1,4 +1,4 @@
1
- import { n as h, T as m } from "./main-40ffafe1.js";
1
+ import { n as h, U as m } from "./main-5fada315.js";
2
2
  function d(t, e, i) {
3
3
  this.$children.forEach((n) => {
4
4
  n.$options.componentName === t ? n.$emit(...[e].concat(i)) : d.apply(n, [t, e].concat([i]));
@@ -1,4 +1,4 @@
1
- import { Z as we, j as De, n as $e, ac as ye, L as ve } from "./main-40ffafe1.js";
1
+ import { Z as we, j as De, n as $e, ac as ye, M as ve } from "./main-5fada315.js";
2
2
  /*!
3
3
  * Compressor.js v1.1.1
4
4
  * https://fengyuanchen.github.io/compressorjs
@@ -1698,7 +1698,7 @@ const Ze = {
1698
1698
  name: "BaseUpload",
1699
1699
  components: {
1700
1700
  FileUpload: Ve,
1701
- UploadModal: () => import("./UploadModal-143d3385.js")
1701
+ UploadModal: () => import("./UploadModal-64705993.js")
1702
1702
  },
1703
1703
  props: {
1704
1704
  // Optional function to handle any errors
@@ -1,4 +1,4 @@
1
- import { n as s, b as i } from "./main-40ffafe1.js";
1
+ import { n as s, b as i } from "./main-5fada315.js";
2
2
  import { g as d } from "./color-71c20583.js";
3
3
  const n = {
4
4
  name: "BlockMedia",
@@ -1,5 +1,5 @@
1
- import { n as s, d as a } from "./main-40ffafe1.js";
2
- import "./CSlider.vue_vue_type_style_index_0_lang-8b316fae.js";
1
+ import { n as s, d as a } from "./main-5fada315.js";
2
+ import "./CSlider.vue_vue_type_style_index_0_lang-545e8e1a.js";
3
3
  const i = {
4
4
  name: "CCallout",
5
5
  components: {
@@ -1,4 +1,4 @@
1
- import { V as f, j as m, n as p } from "./main-40ffafe1.js";
1
+ import { V as f, j as m, n as p } from "./main-5fada315.js";
2
2
  class b {
3
3
  constructor({ defaults: e = { width: 800, height: 600 }, delay: i = 50 } = {}) {
4
4
  this._width = e.width, this._height = e.height, this._delay = i, this._timer = null, this._initialized = !1, this._handler = this._handleResize.bind(this);
@@ -1,4 +1,4 @@
1
- import { n } from "./main-40ffafe1.js";
1
+ import { n } from "./main-5fada315.js";
2
2
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
3
3
  const l = {
4
4
  name: "CFieldBody",
@@ -1,4 +1,4 @@
1
- import { t as e, u as n, n as o } from "./main-40ffafe1.js";
1
+ import { u as e, v as n, n as o } from "./main-5fada315.js";
2
2
  const r = {
3
3
  name: "CPhoneFormat",
4
4
  props: {
@@ -1,4 +1,4 @@
1
- import { n as s, aj as r } from "./main-40ffafe1.js";
1
+ import { n as s, aj as r } from "./main-5fada315.js";
2
2
  const o = {
3
3
  name: "SmartList",
4
4
  props: {
@@ -1,5 +1,5 @@
1
- import { S as o } from "./SearchApi-3f0ee279.js";
2
- import { n as l, w as c } from "./main-40ffafe1.js";
1
+ import { S as o } from "./SearchApi-a8d58e7b.js";
2
+ import { n as l, x as c } from "./main-5fada315.js";
3
3
  const i = {
4
4
  i18nOptions: {
5
5
  namespaces: "components",
@@ -1,10 +1,10 @@
1
- import { A as u, W as v, I as y, n as p, X as C, c as b, b as d, g as c, Y as _, w as $ } from "./main-40ffafe1.js";
1
+ import { B as u, X as v, I as y, n as p, l as C, c as b, b as d, g as c, Y as _, x as $ } from "./main-5fada315.js";
2
2
  import { m as f, b as w, a as x } from "./vuex.esm-4a0fff7c.js";
3
- import { w as g } from "./CDropdownItem-301e3273.js";
4
- import { C as k } from "./ClientAutocomplete-35cada3c.js";
3
+ import { w as g } from "./CDropdownItem-648b13e8.js";
4
+ import { C as k } from "./ClientAutocomplete-1aacab81.js";
5
5
  import { v as r } from "./index-805c56e4.js";
6
- import "./SearchApi-3f0ee279.js";
7
- import "./debounce-35659385.js";
6
+ import "./SearchApi-a8d58e7b.js";
7
+ import "./debounce-2da37622.js";
8
8
  function h(a) {
9
9
  if (typeof a > "u")
10
10
  throw Error("Missing param inputParam");
@@ -1,4 +1,4 @@
1
- import { Z as ht, n as bt } from "./main-40ffafe1.js";
1
+ import { Z as ht, n as bt } from "./main-5fada315.js";
2
2
  var vt = { exports: {} };
3
3
  (function(gt, Ct) {
4
4
  (function(c, i) {
@@ -1,7 +1,7 @@
1
- import { A as r, g as i, n as l } from "./main-40ffafe1.js";
2
- import { w as c } from "./CDropdownItem-301e3273.js";
1
+ import { B as r, g as i, n as l } from "./main-5fada315.js";
2
+ import { w as c } from "./CDropdownItem-648b13e8.js";
3
3
  import { m as p, b as o, a as d } from "./vuex.esm-4a0fff7c.js";
4
- import { s as n, a as u } from "./publicSenderState-7ee4c697.js";
4
+ import { s as n, a as u } from "./publicSenderState-b7a68e31.js";
5
5
  import { v as m } from "./index-805c56e4.js";
6
6
  const { mapFields: f } = r({
7
7
  getterType: "forms/getField",
@@ -1,19 +1,19 @@
1
- import { a as l } from "./tinycolor-2370293d.js";
2
- import { m as n } from "./mapFormMixin-5472d70c.js";
3
- import { B as r } from "./BlockMedia-4f30336b.js";
4
- import { n as s, a8 as i, x as c, z as u, y as p } from "./main-40ffafe1.js";
5
- import { T as m } from "./DocTextEditor-1c8197e2.js";
1
+ import { a as l } from "./tinycolor-bcf90a67.js";
2
+ import { m as n } from "./mapFormMixin-881590dc.js";
3
+ import { B as r } from "./BlockMedia-35572b5a.js";
4
+ import { n as s, a8 as i, y as c, A as u, z as p } from "./main-5fada315.js";
5
+ import { T as m } from "./DocTextEditor-baf911e4.js";
6
6
  import { i as d } from "./i18nMessages-45c6bfd6.js";
7
7
  import "./color-71c20583.js";
8
- import "./tippy.esm-f79d2d2e.js";
9
- import "./ColorPicker-5ca79d5e.js";
10
- import "./DocumentLayout-dd904f22.js";
11
- import "./debounce-35659385.js";
12
- import "./CDropdownItem-301e3273.js";
13
- import "./CSlider.vue_vue_type_style_index_0_lang-8b316fae.js";
8
+ import "./tippy.esm-ece926d8.js";
9
+ import "./ColorPicker-c9eadd63.js";
10
+ import "./DocumentLayout-bdb661ca.js";
11
+ import "./debounce-2da37622.js";
12
+ import "./CDropdownItem-648b13e8.js";
13
+ import "./CSlider.vue_vue_type_style_index_0_lang-545e8e1a.js";
14
14
  import "./dom-962579a6.js";
15
15
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
16
- import "./ManualPopover-64b4c430.js";
16
+ import "./ManualPopover-4641e4de.js";
17
17
  const _ = {
18
18
  name: "StaticComboLayout",
19
19
  props: {
@@ -46,7 +46,7 @@ const v = {
46
46
  messages: d
47
47
  },
48
48
  components: {
49
- DocumentLogotype: () => import("./DocumentLogotype-59b1549a.js"),
49
+ DocumentLogotype: () => import("./DocumentLogotype-b47e5d3b.js"),
50
50
  StaticComboLayout: h,
51
51
  TextEditor: m
52
52
  },
@@ -1,9 +1,9 @@
1
- import { m as d } from "./mapFormMixin-5472d70c.js";
2
- import { T as l } from "./ThemeColorRow-8297bac6.js";
3
- import { n as a, M as p, E as u } from "./main-40ffafe1.js";
1
+ import { m as d } from "./mapFormMixin-881590dc.js";
2
+ import { T as l } from "./ThemeColorRow-af9f1f9f.js";
3
+ import { n as a, N as p, F as u } from "./main-5fada315.js";
4
4
  import "./color-71c20583.js";
5
- import "./ColorPicker-5ca79d5e.js";
6
- import "./ManualPopover-64b4c430.js";
5
+ import "./ColorPicker-c9eadd63.js";
6
+ import "./ManualPopover-4641e4de.js";
7
7
  const v = (i, e, t, o) => Math.atan2(i - t, e - o) * (180 / Math.PI) * -1 + 180, m = {
8
8
  name: "DegreePicker",
9
9
  props: {
@@ -144,8 +144,8 @@ var C = function() {
144
144
  );
145
145
  const x = w.exports;
146
146
  const $ = {
147
- image: () => import("./ImageSelectModal-cab96401.js"),
148
- video: () => import("./VideoSelectModal-82769419.js")
147
+ image: () => import("./ImageSelectModal-3079deaf.js"),
148
+ video: () => import("./VideoSelectModal-325ca974.js")
149
149
  }, S = {
150
150
  name: "CoverBlockSettings",
151
151
  i18nOptions: {
@@ -280,7 +280,7 @@ var k = function() {
280
280
  null,
281
281
  null
282
282
  );
283
- const U = D.exports;
283
+ const O = D.exports;
284
284
  export {
285
- U as default
285
+ O as default
286
286
  };
@@ -1,9 +1,9 @@
1
- import r from "./AnswerModal-0fc36a99.js";
2
- import { r as e, n as s } from "./main-40ffafe1.js";
1
+ import r from "./AnswerModal-84115064.js";
2
+ import { r as e, n as s } from "./main-5fada315.js";
3
3
  import "./anime.es-e284c852.js";
4
4
  import "./vuex.esm-4a0fff7c.js";
5
- import "./mapFormMixin-5472d70c.js";
6
- import "./CField-25e8b388.js";
5
+ import "./mapFormMixin-881590dc.js";
6
+ import "./CField-c179740e.js";
7
7
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
8
8
  const t = {
9
9
  components: {
@@ -1,7 +1,7 @@
1
- import { n as c, ad as f, b as g, ae as h, af as x, ag as $, r as y } from "./main-40ffafe1.js";
2
- import { C as w } from "./CPhoneFormat-0eb4f8c1.js";
3
- import { w as b, C, a as D } from "./CDropdownItem-301e3273.js";
4
- import { D as S } from "./DocumentVoided-f6b8e4ff.js";
1
+ import { n as c, ad as f, b as g, ae as h, af as x, ag as $, r as y } from "./main-5fada315.js";
2
+ import { C as w } from "./CPhoneFormat-06cd312e.js";
3
+ import { w as b, C, a as D } from "./CDropdownItem-648b13e8.js";
4
+ import { D as S } from "./DocumentVoided-4689a48a.js";
5
5
  const z = {
6
6
  name: "PublicDocumentEvents",
7
7
  props: {
@@ -1,36 +1,36 @@
1
- import { b7 as fe, b8 as ge, b9 as q, ba as Ce, bb as N, bc as j, bd as ve, be as ye, bf as xe, bg as we, j as K, g as m, n as d, v as Y, b as u, aF as be, c as f, C as Q, bh as _e, bi as ke, K as J, L as H, h as D, bj as Le, bk as $e, B as Se, bl as Te, bm as De, b6 as Ve, bn as Be, R as p, a9 as h, b1 as y, bo as Me, bp as Ie, bq as Fe, br as He, bs as Ae, bt as Pe, F as Ee, bu as ze, d as Ze, i as $, S as Oe, az as Ue, X as Re, bv as Ge, V as A, b3 as X, b4 as ee, I as E, bw as B, b5 as We, bx as qe, by as I, r as Ne, m as je, a as Ke, bz as Ye } from "./main-40ffafe1.js";
1
+ import { b7 as fe, b8 as ge, b9 as q, ba as Ce, bb as N, bc as j, bd as ve, be as ye, bf as xe, bg as we, j as K, g as m, n as d, w as Y, b as u, aF as be, c as f, C as Q, bh as _e, bi as ke, L as J, M as H, h as D, bj as Le, bk as $e, D as Se, bl as Te, bm as De, b6 as Ve, bn as Be, T as p, a9 as h, b1 as y, bo as Me, bp as Ie, bq as Fe, br as He, bs as Ae, bt as Pe, G as Ee, bu as ze, d as Ze, i as $, S as Oe, az as Ue, l as Re, bv as Ge, V as A, b3 as X, b4 as ee, I as E, bw as B, b5 as We, bx as qe, by as I, r as Ne, m as je, a as Ke, bz as Ye } from "./main-5fada315.js";
2
2
  import { m as g, a as x } from "./vuex.esm-4a0fff7c.js";
3
- import "./index-e88b85e7.js";
3
+ import "./index-b9ea34e7.js";
4
4
  import { v as F } from "./index-805c56e4.js";
5
- import { w as b } from "./CDropdownItem-301e3273.js";
6
- import { a as _, I as k, b as Qe, c as Je } from "./IsPremiumPreStep-e1d54d22.js";
7
- import { D as Xe, l as et, g as tt, W as it, b as at, a as nt } from "./DocumentLayout-dd904f22.js";
8
- import { s as L } from "./Flag-c17cf658.js";
9
- import { B as st } from "./BlockMedia-4f30336b.js";
10
- import { d as P, t as ot } from "./debounce-35659385.js";
11
- import { a as lt } from "./tinycolor-2370293d.js";
12
- import { m as S } from "./mapFormMixin-5472d70c.js";
13
- import { S as rt, C as te, i as ct } from "./formComponentsInstall-53f4342a.js";
14
- import { f as dt } from "./formValidationMixin-08f0a439.js";
15
- import { s as v } from "./formDrawerState-c089ffac.js";
16
- import { F as ie, d as pt } from "./tippy.esm-f79d2d2e.js";
17
- import { S as ut } from "./CSlider.vue_vue_type_style_index_0_lang-8b316fae.js";
18
- import { o as mt, d as ht } from "./vuedraggable.umd-8bca15d0.js";
5
+ import { w as b } from "./CDropdownItem-648b13e8.js";
6
+ import { a as _, I as k, b as Qe, c as Je } from "./IsPremiumPreStep-f1c4e0f9.js";
7
+ import { D as Xe, l as et, g as tt, W as it, b as at, a as nt } from "./DocumentLayout-bdb661ca.js";
8
+ import { s as L } from "./Flag-f21c517c.js";
9
+ import { B as st } from "./BlockMedia-35572b5a.js";
10
+ import { d as P, t as ot } from "./debounce-2da37622.js";
11
+ import { a as lt } from "./tinycolor-bcf90a67.js";
12
+ import { m as S } from "./mapFormMixin-881590dc.js";
13
+ import { S as rt, C as te, i as ct } from "./formComponentsInstall-05dc0275.js";
14
+ import { f as dt } from "./formValidationMixin-b354db95.js";
15
+ import { s as v } from "./formDrawerState-1279a667.js";
16
+ import { F as ie, d as pt } from "./tippy.esm-ece926d8.js";
17
+ import { S as ut } from "./CSlider.vue_vue_type_style_index_0_lang-545e8e1a.js";
18
+ import { o as mt, d as ht } from "./vuedraggable.umd-0883a75f.js";
19
19
  import { s as ft } from "./dom-962579a6.js";
20
- import { o as gt } from "./index-17a2bb54.js";
21
- import Ct from "./AnswerModal-0fc36a99.js";
20
+ import { o as gt } from "./index-c30544b6.js";
21
+ import Ct from "./AnswerModal-84115064.js";
22
22
  import "./anime.es-e284c852.js";
23
23
  import "./color-71c20583.js";
24
- import "./BaseDatePicker-3618f643.js";
25
- import "./ErrorCallout-2973d65d.js";
26
- import "./AddClientCallout-e63b3bc8.js";
27
- import "./ClientAutocomplete-35cada3c.js";
28
- import "./SearchApi-3f0ee279.js";
29
- import "./ClientModal-c11543c6.js";
30
- import "./CCallout-3ea46d33.js";
31
- import "./CField-25e8b388.js";
24
+ import "./BaseDatePicker-0f2bbfe0.js";
25
+ import "./ErrorCallout-b48cecf9.js";
26
+ import "./AddClientCallout-57195414.js";
27
+ import "./ClientAutocomplete-1aacab81.js";
28
+ import "./SearchApi-a8d58e7b.js";
29
+ import "./ClientModal-62cfe454.js";
30
+ import "./CCallout-f4a3000f.js";
31
+ import "./CField-c179740e.js";
32
32
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
33
- import "./ColorPicker-5ca79d5e.js";
33
+ import "./ColorPicker-c9eadd63.js";
34
34
  var vt = fe, yt = ge, xt = q;
35
35
  function wt(i, e, t) {
36
36
  for (var a = -1, n = e.length, s = {}; ++a < n; ) {
@@ -6107,7 +6107,7 @@ const Aa = {
6107
6107
  Fields: ha,
6108
6108
  ExtensionTab: ya,
6109
6109
  DocumentGeneralSettings: ka,
6110
- DocumentGuide: () => import("./index-a37004d7.js"),
6110
+ DocumentGuide: () => import("./index-88e32902.js"),
6111
6111
  MenuBlocks: Ha,
6112
6112
  Simplebar: L
6113
6113
  },
@@ -7359,7 +7359,7 @@ const Gn = {
7359
7359
  },
7360
7360
  async onSaveDocument({ doSend: i = !1 } = {}) {
7361
7361
  let e;
7362
- if (typeof this.beforeSave == "function" && (e = await this.beforeSave()), i && typeof this.beforeSend == "function" && (e = await this.beforeSend()), e)
7362
+ if (typeof this.beforeSave == "function" && (e = await this.beforeSave(this.document)), i && typeof this.beforeSend == "function" && (e = await this.beforeSend(this.document)), e)
7363
7363
  return;
7364
7364
  const t = await this.saveDocument({ doSend: i });
7365
7365
  if (!t)
@@ -1,24 +1,24 @@
1
- import { V as s, r, m as n, a as i, g as l, C as m, n as c } from "./main-40ffafe1.js";
2
- import { i as u, S as d } from "./formComponentsInstall-53f4342a.js";
1
+ import { V as s, r, m as n, a as i, g as l, C as m, n as c } from "./main-5fada315.js";
2
+ import { i as u, S as d } from "./formComponentsInstall-05dc0275.js";
3
3
  import "./vuex.esm-4a0fff7c.js";
4
- import "./Flag-c17cf658.js";
5
- import "./mapFormMixin-5472d70c.js";
6
- import "./BaseDatePicker-3618f643.js";
7
- import "./CDropdownItem-301e3273.js";
8
- import "./ErrorCallout-2973d65d.js";
9
- import "./IsPremiumPreStep-e1d54d22.js";
4
+ import "./Flag-f21c517c.js";
5
+ import "./mapFormMixin-881590dc.js";
6
+ import "./BaseDatePicker-0f2bbfe0.js";
7
+ import "./CDropdownItem-648b13e8.js";
8
+ import "./ErrorCallout-b48cecf9.js";
9
+ import "./IsPremiumPreStep-f1c4e0f9.js";
10
10
  import "./anime.es-e284c852.js";
11
- import "./index-e88b85e7.js";
11
+ import "./index-b9ea34e7.js";
12
12
  import "./index-805c56e4.js";
13
13
  import "./dom-962579a6.js";
14
- import "./AddClientCallout-e63b3bc8.js";
15
- import "./ClientAutocomplete-35cada3c.js";
16
- import "./SearchApi-3f0ee279.js";
17
- import "./debounce-35659385.js";
18
- import "./ClientModal-c11543c6.js";
19
- import "./CSlider.vue_vue_type_style_index_0_lang-8b316fae.js";
20
- import "./CCallout-3ea46d33.js";
21
- import "./CField-25e8b388.js";
14
+ import "./AddClientCallout-57195414.js";
15
+ import "./ClientAutocomplete-1aacab81.js";
16
+ import "./SearchApi-a8d58e7b.js";
17
+ import "./debounce-2da37622.js";
18
+ import "./ClientModal-62cfe454.js";
19
+ import "./CSlider.vue_vue_type_style_index_0_lang-545e8e1a.js";
20
+ import "./CCallout-f4a3000f.js";
21
+ import "./CField-c179740e.js";
22
22
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
23
23
  s.use(u);
24
24
  const a = s.observable({
@@ -114,7 +114,8 @@ const a = s.observable({
114
114
  return this.removeFormValue(t);
115
115
  },
116
116
  async onSaveDocument({ doSend: t = !1 } = {}) {
117
- typeof this.beforeSave == "function" && await this.beforeSave(), t && typeof this.beforeSend == "function" && await this.beforeSend(), await this.saveDocument({ doSend: t }) && this.close();
117
+ let e = !1;
118
+ typeof this.beforeSave == "function" && (e = await this.beforeSave(this.document)), t && typeof this.beforeSend == "function" && (e = await this.beforeSend(this.document)), !(e || !await this.saveDocument({ doSend: t })) && this.close();
118
119
  },
119
120
  close() {
120
121
  this.closeFunc();
@@ -1,5 +1,5 @@
1
- import { C as e } from "./index-17a2bb54.js";
2
- import { r as o, n as t } from "./main-40ffafe1.js";
1
+ import { C as e } from "./index-c30544b6.js";
2
+ import { r as o, n as t } from "./main-5fada315.js";
3
3
  import "./vuex.esm-4a0fff7c.js";
4
4
  const r = {
5
5
  name: "DocLinks",