@cling-se/widget 0.9.3 → 0.9.4

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-746899d9.js → AddClientCallout-d472aa84.js} +5 -5
  2. package/dist/{AnswerModal-fdfea0f8.js → AnswerModal-06487437.js} +3 -3
  3. package/dist/{AttachmentItem-5671c64d.js → AttachmentItem-d98488ee.js} +3 -3
  4. package/dist/{BaseDatePicker-a9240306.js → BaseDatePicker-8c098701.js} +1 -1
  5. package/dist/{BaseInput-d3c3688b.js → BaseInput-2723d613.js} +1 -1
  6. package/dist/{BaseUpload-8e7a2b72.js → BaseUpload-996d74b3.js} +27 -26
  7. package/dist/{BlockMedia-b613a2a4.js → BlockMedia-00907fb6.js} +1 -1
  8. package/dist/{CCallout-e9ff903a.js → CCallout-ffa95028.js} +2 -2
  9. package/dist/{CDropdownItem-05d84f95.js → CDropdownItem-74672842.js} +1 -1
  10. package/dist/{CField-cd4dcae9.js → CField-06dd50f1.js} +1 -1
  11. package/dist/{CSlider.vue_vue_type_style_index_0_lang-383db616.js → CSlider.vue_vue_type_style_index_0_lang-f49d85e0.js} +1 -1
  12. package/dist/{ClientAutocomplete-421a2216.js → ClientAutocomplete-f65643dd.js} +2 -2
  13. package/dist/{ClientModal-11341b1c.js → ClientModal-d276aabd.js} +4 -4
  14. package/dist/{ColorPicker-f90939b5.js → ColorPicker-4f6b70af.js} +1 -1
  15. package/dist/{CompanyModal-2bfd21b8.js → CompanyModal-30c54ce3.js} +3 -3
  16. package/dist/{ContentWrapper-4aae35b2.js → ContentWrapper-d5653fef.js} +11 -11
  17. package/dist/{CoverBlockSettings-1f917be3.js → CoverBlockSettings-2335f3a8.js} +6 -6
  18. package/dist/{DocForm-0891c6b2.js → DocForm-9ca24de4.js} +111 -106
  19. package/dist/{DocFormSend-2b35999d.js → DocFormSend-d0c6fa1d.js} +14 -14
  20. package/dist/{DocModalBase-225e2f2d.js → DocModalBase-f4915a62.js} +1 -1
  21. package/dist/{DocReceipt-1391c17a.js → DocReceipt-d192000e.js} +1 -1
  22. package/dist/{DocSendReminder-c488842d.js → DocSendReminder-06d5b34c.js} +1 -1
  23. package/dist/{DocTextEditor-2538e1ab.js → DocTextEditor-c6d1df3c.js} +7 -7
  24. package/dist/{DocTimeline-69ada0de.js → DocTimeline-b4c20f93.js} +1 -1
  25. package/dist/{DocumentClient-74b8f25b.js → DocumentClient-c2319f00.js} +4 -4
  26. package/dist/{DocumentLogotype-e89b53fb.js → DocumentLogotype-1efd1ce9.js} +3 -3
  27. package/dist/{EmbedInput-b7fefe5e.js → EmbedInput-654c0477.js} +2 -2
  28. package/dist/{EmbedSettings-4957252f.js → EmbedSettings-b81ec734.js} +3 -3
  29. package/dist/{ErrorCallout-42e45ec0.js → ErrorCallout-60d0b3ab.js} +1 -1
  30. package/dist/{FilePreviewModal-75693619.js → FilePreviewModal-895bd1bd.js} +4 -4
  31. package/dist/{FormInputRow-09d450e3.js → FormInputRow-9819eb71.js} +5 -5
  32. package/dist/{HeaderSettings-9b69eada.js → HeaderSettings-c6dac755.js} +14 -14
  33. package/dist/{ImageSelectModal-94d4dc7f.js → ImageSelectModal-7cece54e.js} +10 -10
  34. package/dist/{ImageUploadWrapper-a144b042.js → ImageUploadWrapper-53afd31d.js} +3 -3
  35. package/dist/{Index-3ee2e944.js → Index-01c63c88.js} +2 -2
  36. package/dist/{Index-97d1f2f3.js → Index-1a7e98d7.js} +8 -8
  37. package/dist/{Index-693005f0.js → Index-1d361d01.js} +4 -4
  38. package/dist/{Index-1bafafca.js → Index-2535f58f.js} +2 -2
  39. package/dist/{Index-b7def77a.js → Index-34c84bab.js} +5 -5
  40. package/dist/{Index-bcc478b3.js → Index-5cc51230.js} +5 -5
  41. package/dist/{Index-53da7be8.js → Index-5e35f4a2.js} +2 -2
  42. package/dist/{Index-90492f19.js → Index-60fc8a6e.js} +3 -3
  43. package/dist/{Index-dbe97658.js → Index-61f7dc92.js} +2 -2
  44. package/dist/{Index-2cb8fa22.js → Index-63805642.js} +6 -6
  45. package/dist/{Index-9ffe9766.js → Index-66c8cbfa.js} +4 -4
  46. package/dist/{Index-ec8d534f.js → Index-6ef78b7a.js} +2 -2
  47. package/dist/{Index-a37beb03.js → Index-701f0d05.js} +1 -1
  48. package/dist/{Index-62936c19.js → Index-7443e91c.js} +5 -5
  49. package/dist/{Index-f453850f.js → Index-82574a41.js} +4 -4
  50. package/dist/{Index-a554b58c.js → Index-82b5de12.js} +4 -4
  51. package/dist/{Index-a86ea774.js → Index-8bca2d87.js} +6 -6
  52. package/dist/{Index-cec7d4f1.js → Index-9233cc83.js} +11 -11
  53. package/dist/{Index-304c45be.js → Index-98e8bb86.js} +8 -8
  54. package/dist/{Index-4563d3fa.js → Index-9aaf8b90.js} +25 -25
  55. package/dist/{Index-f2b66b79.js → Index-b020a80c.js} +2 -2
  56. package/dist/{Index-96f39afc.js → Index-b14d0f03.js} +4 -4
  57. package/dist/{Index-00ef9241.js → Index-b15cfd62.js} +8 -8
  58. package/dist/{Index-3dff19dd.js → Index-c4de05aa.js} +7 -7
  59. package/dist/{Index-d68a28da.js → Index-c67218ce.js} +4 -4
  60. package/dist/{Index-4440fe3d.js → Index-c7e68382.js} +4 -4
  61. package/dist/{Index-35387450.js → Index-caf5cf44.js} +14 -14
  62. package/dist/{Index-78f13416.js → Index-cd76b120.js} +4 -4
  63. package/dist/{Index-37a9183b.js → Index-d45a1eff.js} +4 -4
  64. package/dist/{Index-9a243eb8.js → Index-d8879ca9.js} +2 -2
  65. package/dist/{Index-f9b5f03c.js → Index-e45a0c32.js} +11 -11
  66. package/dist/{Index-abb8c6e4.js → Index-e749f6f1.js} +6 -6
  67. package/dist/{Index-42e26b46.js → Index-e80f5f9c.js} +1 -1
  68. package/dist/{Index-023c3119.js → Index-f935c492.js} +4 -4
  69. package/dist/{InputToggleRow-68320d9f.js → InputToggleRow-9d8a7da4.js} +1 -1
  70. package/dist/{IsPremiumPreStep-0c7032a3.js → IsPremiumPreStep-3a087524.js} +2 -2
  71. package/dist/{MediaWrapper-c50879c2.js → MediaWrapper-d4a4b66f.js} +3 -3
  72. package/dist/{NotBindingText-8f2d9244.js → NotBindingText-b199006c.js} +2 -2
  73. package/dist/{PackageGroup-2c49e99b.js → PackageGroup-37ac99b1.js} +10 -10
  74. package/dist/{PdfTerms-94153a5f.js → PdfTerms-8b52bb6e.js} +4 -4
  75. package/dist/{PdfViewer-701ad40e.js → PdfViewer-38bd8439.js} +2 -2
  76. package/dist/{PlainHtml-04a6d7f9.js → PlainHtml-9174cbf6.js} +1 -1
  77. package/dist/{PriceHeader-7f92d5a7.js → PriceHeader-e357afe9.js} +11 -11
  78. package/dist/{SearchApi-ffe5b697.js → SearchApi-2e286be6.js} +2 -2
  79. package/dist/{TermsSettings-b1bf19e9.js → TermsSettings-c74eec79.js} +6 -6
  80. package/dist/{ThemeColorRow-913497f6.js → ThemeColorRow-3558367b.js} +2 -2
  81. package/dist/{ToggleBinding-6518935d.js → ToggleBinding-6c9c1ac3.js} +3 -3
  82. package/dist/{UploadModal-3c399d25.js → UploadModal-6d0abd77.js} +3 -3
  83. package/dist/{VideoPlayerInput-b54845a4.js → VideoPlayerInput-77cd86aa.js} +3 -3
  84. package/dist/{VideoPlayerSettings-496e9e79.js → VideoPlayerSettings-b7eb781c.js} +4 -4
  85. package/dist/{VideoSelectModal-3a566398.js → VideoSelectModal-d2299552.js} +8 -8
  86. package/dist/{answerDocumentMixin-0e5e4dbb.js → answerDocumentMixin-66023e62.js} +3 -3
  87. package/dist/{cssMode-c0865919.js → cssMode-8552fc56.js} +7 -7
  88. package/dist/{focusDrawerMixin-298861bc.js → focusDrawerMixin-67462262.js} +1 -1
  89. package/dist/{formComponentsInstall-1be6791d.js → formComponentsInstall-ad9c2a83.js} +11 -11
  90. package/dist/{formValidationMixin-df38771c.js → formValidationMixin-4920ab53.js} +3 -3
  91. package/dist/{freemarker2-85dde97c.js → freemarker2-7e10a65d.js} +7 -7
  92. package/dist/{handlebars-6aa1e52b.js → handlebars-8045bfa8.js} +7 -7
  93. package/dist/{html-f0c735cd.js → html-8afcb633.js} +7 -7
  94. package/dist/{htmlMode-7b3bd7c9.js → htmlMode-1a2d1b48.js} +7 -7
  95. package/dist/{index-30808a2c.js → index-3d6d7a03.js} +1 -1
  96. package/dist/{index-431938de.js → index-bf93d7c2.js} +5 -5
  97. package/dist/{index-6d08eac3.js → index-c48c5eb4.js} +3 -3
  98. package/dist/{index-1ef6f423.js → index-f805bfce.js} +7 -7
  99. package/dist/index.es.js +3 -3
  100. package/dist/index.umd.js +412 -412
  101. package/dist/{javascript-9c54ad9e.js → javascript-dad5561e.js} +8 -8
  102. package/dist/{jsonMode-1d1176fa.js → jsonMode-ce09245f.js} +7 -7
  103. package/dist/{liquid-0738c73d.js → liquid-05247459.js} +7 -7
  104. package/dist/{main-2d9b8259.js → main-04025a56.js} +2364 -2364
  105. package/dist/{mapFormMixin-308bbdab.js → mapFormMixin-8d073f99.js} +1 -1
  106. package/dist/{publicSenderState-9eecb11f.js → publicSenderState-97108de1.js} +1 -1
  107. package/dist/{python-588c9e64.js → python-3f3513c5.js} +7 -7
  108. package/dist/{razor-fbaa1d21.js → razor-1f3e9c4e.js} +7 -7
  109. package/dist/{simplebar.min-75960401.js → simplebar.min-3af55aab.js} +1 -1
  110. package/dist/style.css +2 -2
  111. package/dist/{template-b877debf.js → template-42a1d852.js} +1 -1
  112. package/dist/{throttle-d7bed81a.js → throttle-a2c1f34d.js} +2 -2
  113. package/dist/{tinycolor-ef496244.js → tinycolor-88fa380f.js} +1 -1
  114. package/dist/{tsMode-c1de8e10.js → tsMode-4c026047.js} +7 -7
  115. package/dist/{typescript-737827aa.js → typescript-baf56f67.js} +7 -7
  116. package/dist/{utils-69c41ae9.js → utils-6670dea6.js} +1 -1
  117. package/dist/{vuedraggable.umd-67b8cddf.js → vuedraggable.umd-d7138234.js} +1 -1
  118. package/dist/{xml-30e811a1.js → xml-ffc6146a.js} +7 -7
  119. package/package.json +1 -1
  120. package/stats.html +1 -1
@@ -1,35 +1,35 @@
1
- import { aL as re, aM as ce, aN as R, aO as de, aP as G, aQ as U, aR as pe, aS as ue, aT as me, aU as he, f as fe, g as u, n as c, C as W, aV as ge, j as f, x as L, aW as Ce, aX as ve, w as ye, aY as xe, aZ as we, aK as _e, a_ as be, F as d, Y as m, b as p, aF as y, a$ as ke, b0 as Le, b1 as $e, b2 as Se, av as De, b3 as Te, c as Ve, e as _, X as Me, S as Ie, o as Be, aq as Fe, a7 as He, b4 as Ae, aH as q, aI as N, I as B, b5 as T, aJ as Pe, b6 as Ee, V as $, b7 as F, m as ze, a as Ze, b8 as Oe, u as Re } from "./main-2d9b8259.js";
1
+ import { aL as ce, aM as de, aN as R, aO as pe, aP as G, aQ as U, aR as ue, aS as me, aT as he, aU as fe, f as ge, g as u, n as c, C as W, aV as Ce, j as f, x as L, aW as ve, aX as ye, w as xe, aY as we, aZ as _e, aK as be, a_ as ke, F as d, Y as m, b as p, aF as y, a$ as Le, b0 as $e, b1 as Se, b2 as De, av as Ve, b3 as Te, c as Me, e as _, X as q, S as Ie, o as Be, aq as Fe, a7 as He, b4 as Ae, aH as N, aI as j, I as B, b5 as V, aJ as Pe, b6 as Ee, V as $, b7 as F, m as ze, a as Ze, b8 as Oe, u as Re } from "./main-04025a56.js";
2
2
  import { m as v, a as x } from "./vuex.esm-4a0fff7c.js";
3
- import "./index-30808a2c.js";
3
+ import "./index-3d6d7a03.js";
4
4
  import { v as M } from "./index-805c56e4.js";
5
- import { d as I, w as b } from "./CDropdownItem-05d84f95.js";
6
- import { D as Ge, l as Ue, g as We, W as qe, b as Ne, a as je, s as Ke, f as Ye } from "./formValidationMixin-df38771c.js";
7
- import { s as S } from "./simplebar.min-75960401.js";
8
- import { B as Qe } from "./BlockMedia-b613a2a4.js";
9
- import { b as Je, a as j, I as Xe } from "./IsPremiumPreStep-0c7032a3.js";
10
- import { c as e1, g as t1 } from "./template-b877debf.js";
11
- import { a as i1 } from "./tinycolor-ef496244.js";
12
- import { m as k } from "./mapFormMixin-308bbdab.js";
13
- import { S as a1, C as K, i as n1 } from "./formComponentsInstall-1be6791d.js";
14
- import { s as C, f as s1 } from "./focusDrawerMixin-298861bc.js";
15
- import { F as Y, d as o1 } from "./FormInputRow-09d450e3.js";
16
- import { S as l1 } from "./CSlider.vue_vue_type_style_index_0_lang-383db616.js";
17
- import { o as r1, d as c1 } from "./vuedraggable.umd-67b8cddf.js";
18
- import d1 from "./AnswerModal-fdfea0f8.js";
5
+ import { d as I, w as b } from "./CDropdownItem-74672842.js";
6
+ import { D as Ge, l as Ue, g as We, W as qe, b as Ne, a as je, s as Ke, f as Ye } from "./formValidationMixin-4920ab53.js";
7
+ import { s as S } from "./simplebar.min-3af55aab.js";
8
+ import { B as Qe } from "./BlockMedia-00907fb6.js";
9
+ import { b as Je, a as K, I as Xe } from "./IsPremiumPreStep-3a087524.js";
10
+ import { c as e1, g as t1 } from "./template-42a1d852.js";
11
+ import { a as i1 } from "./tinycolor-88fa380f.js";
12
+ import { m as k } from "./mapFormMixin-8d073f99.js";
13
+ import { S as a1, C as Y, i as n1 } from "./formComponentsInstall-ad9c2a83.js";
14
+ import { s as C, f as s1 } from "./focusDrawerMixin-67462262.js";
15
+ import { F as Q, d as o1 } from "./FormInputRow-9819eb71.js";
16
+ import { S as l1 } from "./CSlider.vue_vue_type_style_index_0_lang-f49d85e0.js";
17
+ import { o as r1, d as c1 } from "./vuedraggable.umd-d7138234.js";
18
+ import d1 from "./AnswerModal-06487437.js";
19
19
  import "./color-71c20583.js";
20
20
  import "./anime.es-e284c852.js";
21
21
  import "./regions-29ee6964.js";
22
- import "./BaseDatePicker-a9240306.js";
23
- import "./ErrorCallout-42e45ec0.js";
24
- import "./AddClientCallout-746899d9.js";
25
- import "./ClientAutocomplete-421a2216.js";
26
- import "./SearchApi-ffe5b697.js";
27
- import "./ClientModal-11341b1c.js";
28
- import "./CCallout-e9ff903a.js";
29
- import "./CField-cd4dcae9.js";
22
+ import "./BaseDatePicker-8c098701.js";
23
+ import "./ErrorCallout-60d0b3ab.js";
24
+ import "./AddClientCallout-d472aa84.js";
25
+ import "./ClientAutocomplete-f65643dd.js";
26
+ import "./SearchApi-2e286be6.js";
27
+ import "./ClientModal-d276aabd.js";
28
+ import "./CCallout-ffa95028.js";
29
+ import "./CField-06dd50f1.js";
30
30
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
31
- import "./ColorPicker-f90939b5.js";
32
- var p1 = re, u1 = ce, m1 = R;
31
+ import "./ColorPicker-4f6b70af.js";
32
+ var p1 = ce, u1 = de, m1 = R;
33
33
  function h1(i, e, t) {
34
34
  for (var a = -1, n = e.length, s = {}; ++a < n; ) {
35
35
  var o = e[a], l = p1(i, o);
@@ -41,21 +41,21 @@ var f1 = h1;
41
41
  function g1(i, e) {
42
42
  return i != null && e in Object(i);
43
43
  }
44
- var C1 = g1, v1 = de, y1 = G, x1 = "[object Arguments]";
44
+ var C1 = g1, v1 = pe, y1 = G, x1 = "[object Arguments]";
45
45
  function w1(i) {
46
46
  return y1(i) && v1(i) == x1;
47
47
  }
48
- var _1 = w1, H = _1, b1 = G, Q = Object.prototype, k1 = Q.hasOwnProperty, L1 = Q.propertyIsEnumerable, $1 = H(function() {
48
+ var _1 = w1, H = _1, b1 = G, J = Object.prototype, k1 = J.hasOwnProperty, L1 = J.propertyIsEnumerable, $1 = H(function() {
49
49
  return arguments;
50
50
  }()) ? H : function(i) {
51
51
  return b1(i) && k1.call(i, "callee") && !L1.call(i, "callee");
52
- }, J = $1, S1 = 9007199254740991;
52
+ }, X = $1, S1 = 9007199254740991;
53
53
  function D1(i) {
54
54
  return typeof i == "number" && i > -1 && i % 1 == 0 && i <= S1;
55
55
  }
56
- var T1 = D1, V1 = R, M1 = J, I1 = U, B1 = pe, F1 = T1, H1 = ue;
56
+ var V1 = D1, T1 = R, M1 = X, I1 = U, B1 = ue, F1 = V1, H1 = me;
57
57
  function A1(i, e, t) {
58
- e = V1(e, i);
58
+ e = T1(e, i);
59
59
  for (var a = -1, n = e.length, s = !1; ++a < n; ) {
60
60
  var o = H1(e[a]);
61
61
  if (!(s = i != null && t(i, o)))
@@ -80,20 +80,20 @@ function q1(i, e) {
80
80
  i[n + t] = e[t];
81
81
  return i;
82
82
  }
83
- var N1 = q1, A = me, j1 = J, K1 = U, P = A ? A.isConcatSpreadable : void 0;
83
+ var N1 = q1, A = he, j1 = X, K1 = U, P = A ? A.isConcatSpreadable : void 0;
84
84
  function Y1(i) {
85
85
  return K1(i) || j1(i) || !!(P && i && i[P]);
86
86
  }
87
87
  var Q1 = Y1, J1 = N1, X1 = Q1;
88
- function X(i, e, t, a, n) {
88
+ function ee(i, e, t, a, n) {
89
89
  var s = -1, o = i.length;
90
90
  for (t || (t = X1), n || (n = []); ++s < o; ) {
91
91
  var l = i[s];
92
- e > 0 && t(l) ? e > 1 ? X(l, e - 1, t, a, n) : J1(n, l) : a || (n[n.length] = l);
92
+ e > 0 && t(l) ? e > 1 ? ee(l, e - 1, t, a, n) : J1(n, l) : a || (n[n.length] = l);
93
93
  }
94
94
  return n;
95
95
  }
96
- var et = X, tt = et;
96
+ var et = ee, tt = et;
97
97
  function it(i) {
98
98
  var e = i == null ? 0 : i.length;
99
99
  return e ? tt(i, 1) : [];
@@ -133,7 +133,7 @@ var dt = ct;
133
133
  function pt(i) {
134
134
  return i;
135
135
  }
136
- var ut = pt, mt = dt, z = he, ht = ut, ft = z ? function(i, e) {
136
+ var ut = pt, mt = dt, z = fe, ht = ut, ft = z ? function(i, e) {
137
137
  return z(i, "toString", {
138
138
  configurable: !0,
139
139
  enumerable: !1,
@@ -154,13 +154,13 @@ function xt(i) {
154
154
  };
155
155
  }
156
156
  var wt = xt, _t = gt, bt = wt, kt = bt(_t), Lt = kt, $t = at, St = rt, Dt = Lt;
157
- function Tt(i) {
157
+ function Vt(i) {
158
158
  return Dt(St(i, void 0, $t), i + "");
159
159
  }
160
- var Vt = Tt, Mt = W1, It = Vt, Bt = It(function(i, e) {
160
+ var Tt = Vt, Mt = W1, It = Tt, Bt = It(function(i, e) {
161
161
  return i == null ? {} : Mt(i, e);
162
162
  }), Ft = Bt;
163
- const Ht = /* @__PURE__ */ fe(Ft);
163
+ const Ht = /* @__PURE__ */ ge(Ft);
164
164
  const At = {
165
165
  i18nOptions: {
166
166
  namespaces: "DocumentTemplateFormModal",
@@ -310,7 +310,7 @@ var Pt = function() {
310
310
  null,
311
311
  null
312
312
  );
313
- const ee = zt.exports;
313
+ const te = zt.exports;
314
314
  const Zt = {
315
315
  name: "GalleryTemplateModal",
316
316
  components: {
@@ -382,7 +382,7 @@ const Zt = {
382
382
  const i = this.template.id;
383
383
  i || (this.templateStat = null);
384
384
  try {
385
- const { data: e } = await ge.get(i);
385
+ const { data: e } = await Ce.get(i);
386
386
  this.templateStat = e;
387
387
  } catch {
388
388
  this.templateStat = null;
@@ -556,7 +556,7 @@ const Ut = Gt.exports, Wt = {
556
556
  populate: "templateId",
557
557
  isVisibleApp: !0
558
558
  }, t = await this.fetchGallery(e), a = (s = t == null ? void 0 : t[0]) == null ? void 0 : s.templateId;
559
- return a ? (Ce(a), new ve(a)) : null;
559
+ return a ? (ve(a), new ye(a)) : null;
560
560
  },
561
561
  onUseTemplate(i) {
562
562
  if (!i)
@@ -642,7 +642,7 @@ var jt = /* @__PURE__ */ c(
642
642
  const Kt = jt.exports;
643
643
  const Yt = {
644
644
  name: "DocumentIcon",
645
- truncate: ye,
645
+ truncate: xe,
646
646
  inject: {
647
647
  components: {
648
648
  default: {
@@ -788,7 +788,7 @@ const o2 = {
788
788
  async fetchDocuments(i) {
789
789
  const e = this.query ? 180 : 90, t = {
790
790
  createdAt: {
791
- $gte: this.$formatDate(xe(/* @__PURE__ */ new Date(), e), "yyyy-MM-dd")
791
+ $gte: this.$formatDate(we(/* @__PURE__ */ new Date(), e), "yyyy-MM-dd")
792
792
  },
793
793
  // Only provide or if there is a search query to filter on
794
794
  ...this.query && {
@@ -803,7 +803,7 @@ const o2 = {
803
803
  }
804
804
  ]
805
805
  }
806
- }, { data: a } = await we.getAll({
806
+ }, { data: a } = await _e.getAll({
807
807
  lean: !0,
808
808
  filter: encodeURIComponent(JSON.stringify(t)),
809
809
  fields: "clients,data.name,createdAt",
@@ -998,7 +998,7 @@ const p2 = {
998
998
  },
999
999
  async saveTemplate(i) {
1000
1000
  try {
1001
- const { data: e } = i, t = _e(e, ["_id", "id", "companyId", "isVisible"]);
1001
+ const { data: e } = i, t = be(e, ["_id", "id", "companyId", "isVisible"]);
1002
1002
  return await this.createTemplate({ body: t }), !0;
1003
1003
  } catch (e) {
1004
1004
  L(e);
@@ -1010,7 +1010,7 @@ const p2 = {
1010
1010
  },
1011
1011
  async openTemplateFormModal({ document: i = null, template: e = null }) {
1012
1012
  this.$modal.show(
1013
- ee,
1013
+ te,
1014
1014
  {
1015
1015
  document: i,
1016
1016
  template: e
@@ -1026,7 +1026,7 @@ const p2 = {
1026
1026
  );
1027
1027
  },
1028
1028
  async fetchGallery(i = {}) {
1029
- const { data: e } = await be.get(i);
1029
+ const { data: e } = await ke.get(i);
1030
1030
  return e;
1031
1031
  }
1032
1032
  }
@@ -1249,16 +1249,16 @@ const g2 = (i) => {
1249
1249
  deliveryTypes: ["email"],
1250
1250
  answerMethod: { accept: "signature", deny: "button" }
1251
1251
  }]
1252
- }), T2 = (i = "en") => [
1252
+ }), V2 = (i = "en") => [
1253
1253
  { key: "senderString", anyOf: [{ type: "string" }, { type: "null" }] },
1254
1254
  { key: "receiverString", anyOf: [{ type: "string" }, { type: "null" }] },
1255
1255
  { key: "partiesString", anyOf: [{ type: "string" }, { type: "null" }], defaultValue: m.t("components:document.chapters.parties.title", { lng: i }) }
1256
- ], V2 = ({ includeMockData: i = !1, document: e = null, contentData: t = null }) => {
1256
+ ], T2 = ({ includeMockData: i = !1, document: e = null, contentData: t = null }) => {
1257
1257
  const { language: a } = e || {};
1258
1258
  let n = null;
1259
1259
  return typeof t == "function" ? n = t() : i && (n = D2()), {
1260
1260
  readView: S2(),
1261
- validation: T2(a),
1261
+ validation: V2(a),
1262
1262
  // Client / company will for now always exist on doc and in validation
1263
1263
  ...n && { data: n }
1264
1264
  };
@@ -3296,16 +3296,16 @@ const gi = ({ language: i = "en" } = {}) => [
3296
3296
  ], Z = {
3297
3297
  titleAndText2: Y2,
3298
3298
  attachments2: v2,
3299
- pdf: ke,
3299
+ pdf: Le,
3300
3300
  packageGroup: di,
3301
3301
  multiGroupPricing: b2,
3302
3302
  coverBlock: ei,
3303
3303
  videoPlayer: xi,
3304
3304
  embed: fi,
3305
3305
  header: si,
3306
- answer: Le,
3306
+ answer: $e,
3307
3307
  terms: $2,
3308
- parties: V2,
3308
+ parties: T2,
3309
3309
  custom: t1,
3310
3310
  // legacy
3311
3311
  presentation: x2,
@@ -3335,14 +3335,14 @@ const gi = ({ language: i = "en" } = {}) => [
3335
3335
  },
3336
3336
  render() {
3337
3337
  return this.$scopedSlots.default({
3338
- addBlock: (i) => $e({
3338
+ addBlock: (i) => Se({
3339
3339
  ...i,
3340
3340
  set: this.set,
3341
3341
  tplGenerators: Z,
3342
3342
  includeMockData: this.includeMockData,
3343
3343
  emit: (...e) => this.$emit(...e)
3344
3344
  }),
3345
- getBlockPayload: (i) => Se(i, this.set, Z, this.includeMockdata)
3345
+ getBlockPayload: (i) => De(i, this.set, Z, this.includeMockdata)
3346
3346
  });
3347
3347
  }
3348
3348
  }, bi = null, ki = null;
@@ -3356,7 +3356,7 @@ var Li = /* @__PURE__ */ c(
3356
3356
  null,
3357
3357
  null
3358
3358
  );
3359
- const te = Li.exports;
3359
+ const ie = Li.exports;
3360
3360
  const $i = {
3361
3361
  name: "Drawer",
3362
3362
  props: {
@@ -3416,7 +3416,7 @@ var Si = function() {
3416
3416
  boxShadow: e.boxShadow,
3417
3417
  ...e.contentStyle
3418
3418
  } }, [e._t("default")], 2)]) : e._e()])], 1);
3419
- }, Di = [], Ti = /* @__PURE__ */ c(
3419
+ }, Di = [], Vi = /* @__PURE__ */ c(
3420
3420
  $i,
3421
3421
  Si,
3422
3422
  Di,
@@ -3426,8 +3426,8 @@ var Si = function() {
3426
3426
  null,
3427
3427
  null
3428
3428
  );
3429
- const ie = Ti.exports;
3430
- const Vi = {
3429
+ const ae = Vi.exports;
3430
+ const Ti = {
3431
3431
  name: "DocumentSend",
3432
3432
  i18nOptions: {
3433
3433
  namespaces: "documentSend",
@@ -3451,12 +3451,12 @@ const Vi = {
3451
3451
  }
3452
3452
  },
3453
3453
  components: {
3454
- AddBlock: te,
3455
- Drawer: ie,
3454
+ AddBlock: ie,
3455
+ Drawer: ae,
3456
3456
  SendForm: a1,
3457
- CCheckbox: De,
3457
+ CCheckbox: Ve,
3458
3458
  BaseIcon: Te,
3459
- CButton: Ve
3459
+ CButton: Me
3460
3460
  },
3461
3461
  mixins: [
3462
3462
  k([], {
@@ -3556,7 +3556,7 @@ var Mi = function() {
3556
3556
  e.saveTemplate = a;
3557
3557
  }, expression: "saveTemplate" } }), t("div", { staticStyle: { "padding-left": "0.5em" } }, [e._v(" " + e._s(e.$t("saveDocAsTemplate")) + " "), t("BaseIcon", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.saveTemplateTooltip, expression: "saveTemplateTooltip" }], attrs: { type: "info", size: "15" } })], 1)], 1)], 1)], 1)]) : e._e();
3558
3558
  }, Ii = [], Bi = /* @__PURE__ */ c(
3559
- Vi,
3559
+ Ti,
3560
3560
  Mi,
3561
3561
  Ii,
3562
3562
  !1,
@@ -3644,7 +3644,7 @@ var Oi = function() {
3644
3644
  null,
3645
3645
  null
3646
3646
  );
3647
- const ae = Gi.exports;
3647
+ const ne = Gi.exports;
3648
3648
  const Ui = /([\d+.]*)(.*)/, w = (i) => (i || "").match(Ui), Wi = {
3649
3649
  i18nOptions: {
3650
3650
  namespaces: "common",
@@ -3652,8 +3652,8 @@ const Ui = /([\d+.]*)(.*)/, w = (i) => (i || "").match(Ui), Wi = {
3652
3652
  },
3653
3653
  name: "Design",
3654
3654
  components: {
3655
- FormInputRow: Y,
3656
- DragWindow: ae
3655
+ FormInputRow: Q,
3656
+ DragWindow: ne
3657
3657
  },
3658
3658
  mixins: [
3659
3659
  k(
@@ -4263,7 +4263,7 @@ const Yi = {
4263
4263
  }
4264
4264
  },
4265
4265
  components: {
4266
- CField: K
4266
+ CField: Y
4267
4267
  },
4268
4268
  props: {
4269
4269
  document: {
@@ -4392,7 +4392,7 @@ const ta = {
4392
4392
  components: {
4393
4393
  SmartList: l1,
4394
4394
  CAccordion: Je,
4395
- CField: K
4395
+ CField: Y
4396
4396
  },
4397
4397
  mixins: [k()],
4398
4398
  props: {
@@ -4488,7 +4488,7 @@ const ta = {
4488
4488
  );
4489
4489
  },
4490
4490
  onCopyField(i) {
4491
- navigator && navigator.clipboard && i && navigator.clipboard.writeText(i).then(() => Me("info", this.$t("_common:copyMessage"))).catch((e) => L(e));
4491
+ navigator && navigator.clipboard && i && navigator.clipboard.writeText(i).then(() => q("info", this.$t("_common:copyMessage"))).catch((e) => L(e));
4492
4492
  },
4493
4493
  filterMethod(i, e) {
4494
4494
  return e.filter((t) => t.label.toLowerCase().includes(i.toLowerCase()));
@@ -4550,7 +4550,7 @@ var ia = function() {
4550
4550
  aa,
4551
4551
  !1,
4552
4552
  null,
4553
- "ae1acd95",
4553
+ "3e37ad6f",
4554
4554
  null,
4555
4555
  null
4556
4556
  );
@@ -4876,8 +4876,8 @@ const pa = {
4876
4876
  },
4877
4877
  name: "DocumentGeneralSettings",
4878
4878
  components: {
4879
- FormInputRow: Y,
4880
- DragWindow: ae
4879
+ FormInputRow: Q,
4880
+ DragWindow: ne
4881
4881
  },
4882
4882
  props: {
4883
4883
  offset: {
@@ -5263,9 +5263,9 @@ const wa = {
5263
5263
  }
5264
5264
  },
5265
5265
  components: {
5266
- DragList: q,
5267
- DragItem: N,
5268
- AddBlock: te,
5266
+ DragList: N,
5267
+ DragItem: j,
5268
+ AddBlock: ie,
5269
5269
  Design: Ki,
5270
5270
  Fields: sa,
5271
5271
  ExtensionTab: da,
@@ -5768,7 +5768,7 @@ var Sa = function() {
5768
5768
  } } }, [t("BaseIcon", { attrs: { type: "chevron-down", size: "16" } })], 1)]), t("div", { staticClass: "control-button remove", on: { click: function(a) {
5769
5769
  return e.$emit("remove");
5770
5770
  } } }, [t("BaseIcon", { attrs: { type: "x", size: "16" } })], 1)]);
5771
- }, Da = [], Ta = /* @__PURE__ */ c(
5771
+ }, Da = [], Va = /* @__PURE__ */ c(
5772
5772
  $a,
5773
5773
  Sa,
5774
5774
  Da,
@@ -5778,11 +5778,11 @@ var Sa = function() {
5778
5778
  null,
5779
5779
  null
5780
5780
  );
5781
- const Va = Ta.exports;
5781
+ const Ta = Va.exports;
5782
5782
  const Ma = {
5783
5783
  name: "DynamicBlock",
5784
5784
  components: {
5785
- BlockControlButtons: Va
5785
+ BlockControlButtons: Ta
5786
5786
  },
5787
5787
  props: {
5788
5788
  isDragging: {
@@ -5840,7 +5840,7 @@ const Aa = {
5840
5840
  name: "DocumentDrawer",
5841
5841
  components: {
5842
5842
  simplebar: S,
5843
- Drawer: ie
5843
+ Drawer: ae
5844
5844
  },
5845
5845
  props: {
5846
5846
  position: {
@@ -5964,12 +5964,12 @@ var Ja = function() {
5964
5964
  null
5965
5965
  );
5966
5966
  const tn = en.exports;
5967
- const ne = (i, e, t = "$children") => {
5967
+ const se = (i, e, t = "$children") => {
5968
5968
  if (!i)
5969
5969
  return;
5970
5970
  e(i);
5971
5971
  const a = i[t];
5972
- !a && !Array.isArray(a) || a.forEach((n) => ne(n, e));
5972
+ !a && !Array.isArray(a) || a.forEach((n) => se(n, e));
5973
5973
  }, an = {
5974
5974
  i18nOptions: {
5975
5975
  namespaces: "DocumentFormContainer",
@@ -5987,8 +5987,8 @@ const ne = (i, e, t = "$children") => {
5987
5987
  name: "DocumentFormContainer",
5988
5988
  components: {
5989
5989
  WithDimensions: qe,
5990
- DragList: q,
5991
- DragItem: N,
5990
+ DragList: N,
5991
+ DragItem: j,
5992
5992
  DynamicChapter: Ne,
5993
5993
  DocumentFormMenu: La,
5994
5994
  DynamicBlock: Ha,
@@ -5998,7 +5998,7 @@ const ne = (i, e, t = "$children") => {
5998
5998
  DocumentStyleContainer: je,
5999
5999
  simplebar: S,
6000
6000
  LogoBanner: Ya,
6001
- IsPremium: j
6001
+ IsPremium: K
6002
6002
  },
6003
6003
  props: {
6004
6004
  _document: {
@@ -6125,7 +6125,7 @@ const ne = (i, e, t = "$children") => {
6125
6125
  const a = i.itemId.split("-")[1];
6126
6126
  this.removePackageGroup(a);
6127
6127
  } else
6128
- ne(i, (n) => {
6128
+ se(i, (n) => {
6129
6129
  n.value && Object.values(n.value).forEach((s) => {
6130
6130
  this.removeFormKeyValue(`${s}`);
6131
6131
  let o = s.replace(/^data.(?!properties)/g, "data.properties.");
@@ -6135,7 +6135,7 @@ const ne = (i, e, t = "$children") => {
6135
6135
  this.removeFormKeyValue(r);
6136
6136
  });
6137
6137
  }, "children");
6138
- T([this.nestedReadLayout[e]]).forEach((a) => {
6138
+ V([this.nestedReadLayout[e]]).forEach((a) => {
6139
6139
  const n = this.readLayout.findIndex((s) => s.nodeId === a.nodeId);
6140
6140
  this.removeFormValue(`template.views.read.nodes[${n}]`);
6141
6141
  });
@@ -6158,7 +6158,7 @@ const ne = (i, e, t = "$children") => {
6158
6158
  const n = Pe(this.nestedReadLayout, e, t);
6159
6159
  this.setFormValue({
6160
6160
  key: "template.views.read.nodes",
6161
- value: T(n)
6161
+ value: V(n)
6162
6162
  });
6163
6163
  } else if (!e && t !== null) {
6164
6164
  const {
@@ -6173,17 +6173,17 @@ const ne = (i, e, t = "$children") => {
6173
6173
  onAddFnName: D = "onAdd"
6174
6174
  } = s({ sectionKey: n, document: this._document, contentData: l });
6175
6175
  o({ validation: h, data: g });
6176
- const se = Ee({ tree: r }), oe = [
6176
+ const oe = Ee({ tree: r }), le = [
6177
6177
  ...this.nestedReadLayout.slice(0, t),
6178
- ...se,
6178
+ ...oe,
6179
6179
  ...this.nestedReadLayout.slice(t)
6180
6180
  ];
6181
6181
  this.setFormValue({
6182
6182
  key: "template.views.read.nodes",
6183
- value: T(oe)
6183
+ value: V(le)
6184
6184
  });
6185
- const [{ nodeId: le }] = r;
6186
- this.onAddRedis[le] = D;
6185
+ const [{ nodeId: re }] = r;
6186
+ this.onAddRedis[re] = D;
6187
6187
  }
6188
6188
  },
6189
6189
  shouldAnimateDrop(i) {
@@ -6269,7 +6269,7 @@ var nn = function() {
6269
6269
  null,
6270
6270
  null
6271
6271
  );
6272
- const ln = on.exports, V = $.observable({
6272
+ const ln = on.exports, T = $.observable({
6273
6273
  canEdit: !1,
6274
6274
  isForm: !0,
6275
6275
  setFormValue: null
@@ -6277,7 +6277,7 @@ const ln = on.exports, V = $.observable({
6277
6277
  name: "DocumentForm",
6278
6278
  components: {
6279
6279
  DocumentFormContainer: ln,
6280
- IsPremium: j,
6280
+ IsPremium: K,
6281
6281
  IsPremiumPreStep: Xe,
6282
6282
  DocumentSend: Fi
6283
6283
  },
@@ -6291,6 +6291,10 @@ const ln = on.exports, V = $.observable({
6291
6291
  type: Boolean,
6292
6292
  default: !1
6293
6293
  },
6294
+ setFormValue: {
6295
+ type: Function,
6296
+ required: !0
6297
+ },
6294
6298
  setDocValue: {
6295
6299
  type: Function,
6296
6300
  required: !0
@@ -6312,7 +6316,7 @@ const ln = on.exports, V = $.observable({
6312
6316
  default: null
6313
6317
  }
6314
6318
  },
6315
- provide: () => ({ viewSettings: V }),
6319
+ provide: () => ({ viewSettings: T }),
6316
6320
  data() {
6317
6321
  return {
6318
6322
  view: "edit",
@@ -6323,7 +6327,7 @@ const ln = on.exports, V = $.observable({
6323
6327
  canEdit: {
6324
6328
  immediate: !0,
6325
6329
  handler(i) {
6326
- V.canEdit = !!i;
6330
+ T.canEdit = !!i;
6327
6331
  }
6328
6332
  }
6329
6333
  },
@@ -6337,7 +6341,7 @@ const ln = on.exports, V = $.observable({
6337
6341
  }
6338
6342
  },
6339
6343
  created() {
6340
- this.setFormValue && (V.setFormValue = this.setDocValue);
6344
+ this.setFormValue && (T.setFormValue = this.setDocValue);
6341
6345
  },
6342
6346
  methods: {
6343
6347
  isValid() {
@@ -6352,7 +6356,7 @@ const ln = on.exports, V = $.observable({
6352
6356
  },
6353
6357
  async saveAsTemplate() {
6354
6358
  this.document && this.$modal.show(
6355
- ee,
6359
+ te,
6356
6360
  {
6357
6361
  document: this.document
6358
6362
  },
@@ -6453,11 +6457,10 @@ const mn = {
6453
6457
  },
6454
6458
  methods: {
6455
6459
  ...x({
6456
- loadDocument: u.LOAD_DOCUMENT2,
6457
- showMessage: u.SHOW_MESSAGE
6460
+ loadDocument: u.LOAD_DOCUMENT2
6458
6461
  }),
6459
6462
  copyToClipboard(i) {
6460
- i.target.previousElementSibling.select(), document.execCommand("copy", !1), this.showMessage("info", this.$t("copied"));
6463
+ i.target.previousElementSibling.select(), document.execCommand("copy", !1), q("info", this.$t("copied"));
6461
6464
  }
6462
6465
  }
6463
6466
  };
@@ -6474,7 +6477,7 @@ var hn = function() {
6474
6477
  fn,
6475
6478
  !1,
6476
6479
  null,
6477
- "1fe10a91",
6480
+ "c1e46381",
6478
6481
  null,
6479
6482
  null
6480
6483
  );
@@ -6716,7 +6719,9 @@ const Ln = {
6716
6719
  });
6717
6720
  },
6718
6721
  async onTemplateSelect({ templateId: i, documentId: e, formData: t }) {
6722
+ var n;
6719
6723
  const a = Ht({ ...this.rawDoc }, [
6724
+ "__tempId",
6720
6725
  "externalReferences",
6721
6726
  "clients",
6722
6727
  "data"
@@ -6728,7 +6733,7 @@ const Ln = {
6728
6733
  templateId: i,
6729
6734
  formData: t ? Oe(t, a) : null,
6730
6735
  _formData: a
6731
- }), await this.initDoc(), this.view = "editor";
6736
+ }), (n = a == null ? void 0 : a.data) != null && n.name && this.setDocValue({ key: "data.name", value: a.data.name }), await this.initDoc(), this.view = "editor";
6732
6737
  },
6733
6738
  setDocValue({ key: i, value: e }) {
6734
6739
  return this.setFormValue({ key: `document2.${i}`, value: e });
@@ -6757,7 +6762,7 @@ var $n = function() {
6757
6762
  Sn,
6758
6763
  !1,
6759
6764
  null,
6760
- "8006e531",
6765
+ "1c3e4ea5",
6761
6766
  null,
6762
6767
  null
6763
6768
  );
@@ -1,19 +1,19 @@
1
- import { V as n, m as r, a as l, g as a, C as i, u as m, n as c } from "./main-2d9b8259.js";
2
- import { i as u, S as d } from "./formComponentsInstall-1be6791d.js";
1
+ import { V as n, m as r, a as l, g as a, C as i, u as m, n as c } from "./main-04025a56.js";
2
+ import { i as u, S as d } from "./formComponentsInstall-ad9c2a83.js";
3
3
  import "./vuex.esm-4a0fff7c.js";
4
- import "./simplebar.min-75960401.js";
5
- import "./mapFormMixin-308bbdab.js";
6
- import "./BaseDatePicker-a9240306.js";
7
- import "./ErrorCallout-42e45ec0.js";
8
- import "./AddClientCallout-746899d9.js";
9
- import "./ClientAutocomplete-421a2216.js";
10
- import "./SearchApi-ffe5b697.js";
11
- import "./CDropdownItem-05d84f95.js";
12
- import "./ClientModal-11341b1c.js";
4
+ import "./simplebar.min-3af55aab.js";
5
+ import "./mapFormMixin-8d073f99.js";
6
+ import "./BaseDatePicker-8c098701.js";
7
+ import "./ErrorCallout-60d0b3ab.js";
8
+ import "./AddClientCallout-d472aa84.js";
9
+ import "./ClientAutocomplete-f65643dd.js";
10
+ import "./SearchApi-2e286be6.js";
11
+ import "./CDropdownItem-74672842.js";
12
+ import "./ClientModal-d276aabd.js";
13
13
  import "./index-805c56e4.js";
14
- import "./CSlider.vue_vue_type_style_index_0_lang-383db616.js";
15
- import "./CCallout-e9ff903a.js";
16
- import "./CField-cd4dcae9.js";
14
+ import "./CSlider.vue_vue_type_style_index_0_lang-f49d85e0.js";
15
+ import "./CCallout-ffa95028.js";
16
+ import "./CField-06dd50f1.js";
17
17
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
18
18
  import "./regions-29ee6964.js";
19
19
  n.use(u);
@@ -1,4 +1,4 @@
1
- import { n as t } from "./main-2d9b8259.js";
1
+ import { n as t } from "./main-04025a56.js";
2
2
  const s = {
3
3
  name: "DocModalBase",
4
4
  components: {},
@@ -1,4 +1,4 @@
1
- import { g as p, n as u } from "./main-2d9b8259.js";
1
+ import { g as p, n as u } from "./main-04025a56.js";
2
2
  import { m as g, a as _ } from "./vuex.esm-4a0fff7c.js";
3
3
  const f = {
4
4
  sv: {
@@ -1,4 +1,4 @@
1
- import { g as m, n as a } from "./main-2d9b8259.js";
1
+ import { g as m, n as a } from "./main-04025a56.js";
2
2
  import { m as c, a as d } from "./vuex.esm-4a0fff7c.js";
3
3
  const l = {
4
4
  name: "DocumentSendReminderModal",