@cling-se/widget 0.9.4 → 0.9.6

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 (131) hide show
  1. package/dist/{AddClientCallout-d472aa84.js → AddClientCallout-d8f5bc53.js} +5 -5
  2. package/dist/{AnswerModal-06487437.js → AnswerModal-5f83562b.js} +248 -248
  3. package/dist/{AttachmentItem-d98488ee.js → AttachmentItem-79eb718b.js} +8 -8
  4. package/dist/{BaseDatePicker-8c098701.js → BaseDatePicker-ae7aebf1.js} +43 -43
  5. package/dist/{BaseInput-2723d613.js → BaseInput-2c476604.js} +1 -1
  6. package/dist/{BaseUpload-996d74b3.js → BaseUpload-9e15729d.js} +3 -3
  7. package/dist/{BlockMedia-00907fb6.js → BlockMedia-a3f00a2f.js} +1 -1
  8. package/dist/{CCallout-ffa95028.js → CCallout-04e2c8c6.js} +6 -6
  9. package/dist/{CDropdownItem-74672842.js → CDropdownItem-5532f8af.js} +76 -75
  10. package/dist/{CField-06dd50f1.js → CField-0bc9de28.js} +1 -1
  11. package/dist/{CSlider.vue_vue_type_style_index_0_lang-f49d85e0.js → CSlider.vue_vue_type_style_index_0_lang-d9c2f582.js} +1 -1
  12. package/dist/{ClientAutocomplete-f65643dd.js → ClientAutocomplete-e13c2753.js} +4 -4
  13. package/dist/{ClientModal-d276aabd.js → ClientModal-da9fddf9.js} +16 -16
  14. package/dist/{ColorPicker-4f6b70af.js → ColorPicker-06b731b7.js} +2 -2
  15. package/dist/{CompanyModal-30c54ce3.js → CompanyModal-b7c42f2a.js} +8 -8
  16. package/dist/{ContentWrapper-d5653fef.js → ContentWrapper-fe4a67bc.js} +19 -19
  17. package/dist/{CoverBlockSettings-2335f3a8.js → CoverBlockSettings-2024e993.js} +19 -19
  18. package/dist/DocForm-af03179d.js +7012 -0
  19. package/dist/{DocFormSend-d0c6fa1d.js → DocFormSend-44161541.js} +14 -14
  20. package/dist/{DocModalBase-f4915a62.js → DocModalBase-9eb0f26f.js} +4 -4
  21. package/dist/DocPrint-92d12950.js +222 -0
  22. package/dist/{DocReceipt-d192000e.js → DocReceipt-4df57e1d.js} +1 -1
  23. package/dist/{DocSendReminder-06d5b34c.js → DocSendReminder-041af744.js} +1 -1
  24. package/dist/{DocTextEditor-c6d1df3c.js → DocTextEditor-b07dd391.js} +19 -19
  25. package/dist/{DocTimeline-b4c20f93.js → DocTimeline-2ae2ca63.js} +7 -7
  26. package/dist/{DocumentClient-c2319f00.js → DocumentClient-3a1aecf2.js} +8 -6
  27. package/dist/{formValidationMixin-4920ab53.js → DocumentLayout-ae49ac7a.js} +1617 -1709
  28. package/dist/{DocumentLogotype-1efd1ce9.js → DocumentLogotype-91436523.js} +3 -3
  29. package/dist/{EmbedInput-654c0477.js → EmbedInput-05e22228.js} +2 -2
  30. package/dist/{EmbedSettings-b81ec734.js → EmbedSettings-9dabb6d4.js} +10 -10
  31. package/dist/ErrorCallout-c7f69cd9.js +30 -0
  32. package/dist/{FilePreviewModal-895bd1bd.js → FilePreviewModal-167a40c8.js} +8 -7
  33. package/dist/{HeaderSettings-c6dac755.js → HeaderSettings-e9b177e0.js} +29 -29
  34. package/dist/{ImageSelectModal-7cece54e.js → ImageSelectModal-8565c461.js} +11 -11
  35. package/dist/{ImageUploadWrapper-53afd31d.js → ImageUploadWrapper-1e61e8da.js} +3 -3
  36. package/dist/{Index-5cc51230.js → Index-0708b238.js} +12 -12
  37. package/dist/{Index-82574a41.js → Index-0799eaba.js} +18 -19
  38. package/dist/{Index-1a7e98d7.js → Index-1f3de208.js} +11 -10
  39. package/dist/{Index-d8879ca9.js → Index-27a05d76.js} +2 -2
  40. package/dist/{Index-b15cfd62.js → Index-43899daf.js} +13 -13
  41. package/dist/{Index-c4de05aa.js → Index-4446581c.js} +10 -9
  42. package/dist/{Index-01c63c88.js → Index-49766088.js} +2 -2
  43. package/dist/{Index-caf5cf44.js → Index-630600c9.js} +94 -94
  44. package/dist/{Index-b14d0f03.js → Index-6b63686e.js} +4 -4
  45. package/dist/{Index-34c84bab.js → Index-716dbe24.js} +10 -10
  46. package/dist/{Index-f935c492.js → Index-72bcad54.js} +10 -10
  47. package/dist/{Index-61f7dc92.js → Index-84820d3d.js} +2 -2
  48. package/dist/{Index-e749f6f1.js → Index-85e8119e.js} +14 -14
  49. package/dist/Index-88e175bf.js +54 -0
  50. package/dist/{Index-e45a0c32.js → Index-89addabd.js} +27 -27
  51. package/dist/{Index-701f0d05.js → Index-8b29bd10.js} +2 -2
  52. package/dist/{Index-d45a1eff.js → Index-8d1c62be.js} +4 -4
  53. package/dist/{Index-63805642.js → Index-96a07794.js} +9 -9
  54. package/dist/{Index-60fc8a6e.js → Index-9bbfa37b.js} +3 -3
  55. package/dist/{Index-7443e91c.js → Index-a7a6f91c.js} +31 -31
  56. package/dist/{Index-8bca2d87.js → Index-a987a099.js} +9 -9
  57. package/dist/{Index-98e8bb86.js → Index-b6b60b81.js} +8 -8
  58. package/dist/{Index-5e35f4a2.js → Index-ba0c8eaa.js} +8 -8
  59. package/dist/{Index-9aaf8b90.js → Index-c038406f.js} +26 -26
  60. package/dist/Index-c53330d6.js +79 -0
  61. package/dist/{Index-9233cc83.js → Index-c58260f8.js} +15 -15
  62. package/dist/{Index-2535f58f.js → Index-c893d091.js} +2 -2
  63. package/dist/{Index-1d361d01.js → Index-ca112d97.js} +4 -4
  64. package/dist/{Index-cd76b120.js → Index-e728d2f7.js} +7 -7
  65. package/dist/{Index-6ef78b7a.js → Index-ecf93915.js} +2 -2
  66. package/dist/{Index-c7e68382.js → Index-eda700f4.js} +4 -4
  67. package/dist/{Index-82b5de12.js → Index-ee75e74a.js} +4 -4
  68. package/dist/{Index-c67218ce.js → Index-f75b1dd5.js} +15 -15
  69. package/dist/{Index-66c8cbfa.js → Index-fc722547.js} +4 -4
  70. package/dist/{InputToggleRow-9d8a7da4.js → InputToggleRow-483acc75.js} +5 -5
  71. package/dist/{IsPremiumPreStep-3a087524.js → IsPremiumPreStep-aa08f8c8.js} +856 -432
  72. package/dist/{MediaWrapper-d4a4b66f.js → MediaWrapper-ed7db800.js} +3 -3
  73. package/dist/{NotBindingText-b199006c.js → NotBindingText-a99b4f85.js} +2 -2
  74. package/dist/{PackageGroup-37ac99b1.js → PackageGroup-8cae78f1.js} +56 -56
  75. package/dist/{PdfTerms-8b52bb6e.js → PdfTerms-9c1c806e.js} +8 -7
  76. package/dist/{PdfViewer-38bd8439.js → PdfViewer-1227dda6.js} +5 -4
  77. package/dist/{PlainHtml-9174cbf6.js → PlainHtml-647219e9.js} +1 -1
  78. package/dist/PriceHeader-cfb22169.js +337 -0
  79. package/dist/{SearchApi-2e286be6.js → SearchApi-c0067742.js} +2 -2
  80. package/dist/{TermsSettings-c74eec79.js → TermsSettings-a0282ad7.js} +11 -11
  81. package/dist/{ThemeColorRow-3558367b.js → ThemeColorRow-71af67bd.js} +3 -3
  82. package/dist/{ToggleBinding-6c9c1ac3.js → ToggleBinding-16c2879e.js} +3 -3
  83. package/dist/{UploadModal-6d0abd77.js → UploadModal-084e3c2e.js} +16 -16
  84. package/dist/{VideoPlayerInput-77cd86aa.js → VideoPlayerInput-fe87698e.js} +3 -3
  85. package/dist/{VideoPlayerSettings-b7eb781c.js → VideoPlayerSettings-06cfaccc.js} +12 -12
  86. package/dist/VideoSelectModal-fa81fb92.js +111 -0
  87. package/dist/{answerDocumentMixin-66023e62.js → answerDocumentMixin-ef48c7eb.js} +3 -3
  88. package/dist/{cssMode-8552fc56.js → cssMode-916ae2c1.js} +7 -7
  89. package/dist/dom-068d1a7b.js +59 -0
  90. package/dist/{focusDrawerMixin-67462262.js → focusDrawerMixin-24942dd1.js} +1 -1
  91. package/dist/{formComponentsInstall-ad9c2a83.js → formComponentsInstall-2dfa2def.js} +25 -25
  92. package/dist/formValidationMixin-82793652.js +49 -0
  93. package/dist/{freemarker2-7e10a65d.js → freemarker2-6fd30e77.js} +7 -7
  94. package/dist/{handlebars-8045bfa8.js → handlebars-ff07e526.js} +7 -7
  95. package/dist/{html-8afcb633.js → html-5ad143f9.js} +7 -7
  96. package/dist/{htmlMode-1a2d1b48.js → htmlMode-adc834ff.js} +7 -7
  97. package/dist/{index-3d6d7a03.js → index-045c9c73.js} +31 -31
  98. package/dist/{index-c48c5eb4.js → index-1f068e8e.js} +3 -3
  99. package/dist/{index-bf93d7c2.js → index-6eda8be0.js} +7 -7
  100. package/dist/{index-f805bfce.js → index-b3fb8f92.js} +45 -45
  101. package/dist/index.es.js +8 -8
  102. package/dist/index.umd.js +565 -561
  103. package/dist/{javascript-dad5561e.js → javascript-9c241e8d.js} +8 -8
  104. package/dist/{jsonMode-ce09245f.js → jsonMode-36a8e1fd.js} +7 -7
  105. package/dist/{liquid-05247459.js → liquid-da99d7af.js} +7 -7
  106. package/dist/{main-04025a56.js → main-2dc98356.js} +15380 -12891
  107. package/dist/{mapFormMixin-8d073f99.js → mapFormMixin-4ac649c2.js} +1 -1
  108. package/dist/{publicSenderState-97108de1.js → publicSenderState-1db8a50c.js} +1 -1
  109. package/dist/{python-3f3513c5.js → python-15d86041.js} +7 -7
  110. package/dist/{razor-1f3e9c4e.js → razor-19e0207f.js} +7 -7
  111. package/dist/simplebar.min-9f5e0b8a.js +71 -0
  112. package/dist/style.css +2 -2
  113. package/dist/{template-42a1d852.js → template-069f0890.js} +1 -1
  114. package/dist/{throttle-a2c1f34d.js → throttle-f8ef830f.js} +2 -2
  115. package/dist/{tinycolor-88fa380f.js → tinycolor-78c3e3d5.js} +1 -1
  116. package/dist/{FormInputRow-9819eb71.js → tippy.esm-d2a6f864.js} +285 -285
  117. package/dist/{tsMode-4c026047.js → tsMode-7fcdffc4.js} +7 -7
  118. package/dist/{typescript-baf56f67.js → typescript-f492bdab.js} +7 -7
  119. package/dist/{utils-6670dea6.js → utils-aab0bc31.js} +1 -1
  120. package/dist/{vuedraggable.umd-d7138234.js → vuedraggable.umd-eb01eee5.js} +41 -41
  121. package/dist/{xml-ffc6146a.js → xml-976a8723.js} +7 -7
  122. package/package.json +3 -2
  123. package/stats.html +1 -1
  124. package/vite-plugin-library-asset-external/index.js +134 -0
  125. package/dist/DocForm-9ca24de4.js +0 -6772
  126. package/dist/ErrorCallout-60d0b3ab.js +0 -30
  127. package/dist/Index-b020a80c.js +0 -47
  128. package/dist/Index-e80f5f9c.js +0 -79
  129. package/dist/PriceHeader-e357afe9.js +0 -336
  130. package/dist/VideoSelectModal-d2299552.js +0 -111
  131. package/dist/simplebar.min-3af55aab.js +0 -2429
@@ -1,5 +1,5 @@
1
1
  import { v as pe } from "./index-805c56e4.js";
2
- import { D as T } from "./main-04025a56.js";
2
+ import { J as T } from "./main-2dc98356.js";
3
3
  var P = {}, f = {}, b = {}, O = {};
4
4
  Object.defineProperty(O, "__esModule", {
5
5
  value: !0
@@ -117,8 +117,8 @@ Object.defineProperty(j, "__esModule", {
117
117
  value: !0
118
118
  });
119
119
  j.default = void 0;
120
- var De = f, Ve = /(^$|^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$)/, ze = (0, De.regex)("email", Ve);
121
- j.default = ze;
120
+ var Ve = f, ze = /(^$|^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$)/, De = (0, Ve.regex)("email", ze);
121
+ j.default = De;
122
122
  var M = {};
123
123
  Object.defineProperty(M, "__esModule", {
124
124
  value: !0
@@ -166,54 +166,54 @@ Object.defineProperty(S, "__esModule", {
166
166
  value: !0
167
167
  });
168
168
  S.default = void 0;
169
- var E = f, Ie = function(t) {
170
- return (0, E.withParams)({
169
+ var J = f, Ie = function(t) {
170
+ return (0, J.withParams)({
171
171
  type: "maxLength",
172
172
  max: t
173
173
  }, function(r) {
174
- return !(0, E.req)(r) || (0, E.len)(r) <= t;
174
+ return !(0, J.req)(r) || (0, J.len)(r) <= t;
175
175
  });
176
176
  };
177
177
  S.default = Ie;
178
- var D = {};
179
- Object.defineProperty(D, "__esModule", {
178
+ var V = {};
179
+ Object.defineProperty(V, "__esModule", {
180
180
  value: !0
181
181
  });
182
- D.default = void 0;
183
- var F = f, Ue = function(t) {
184
- return (0, F.withParams)({
182
+ V.default = void 0;
183
+ var E = f, Ue = function(t) {
184
+ return (0, E.withParams)({
185
185
  type: "minLength",
186
186
  min: t
187
187
  }, function(r) {
188
- return !(0, F.req)(r) || (0, F.len)(r) >= t;
188
+ return !(0, E.req)(r) || (0, E.len)(r) >= t;
189
189
  });
190
190
  };
191
- D.default = Ue;
192
- var V = {};
193
- Object.defineProperty(V, "__esModule", {
191
+ V.default = Ue;
192
+ var z = {};
193
+ Object.defineProperty(z, "__esModule", {
194
194
  value: !0
195
195
  });
196
- V.default = void 0;
197
- var H = f, Ze = (0, H.withParams)({
196
+ z.default = void 0;
197
+ var F = f, Ze = (0, F.withParams)({
198
198
  type: "required"
199
199
  }, function(e) {
200
- return typeof e == "string" ? (0, H.req)(e.trim()) : (0, H.req)(e);
200
+ return typeof e == "string" ? (0, F.req)(e.trim()) : (0, F.req)(e);
201
201
  });
202
- V.default = Ze;
203
- var z = {};
204
- Object.defineProperty(z, "__esModule", {
202
+ z.default = Ze;
203
+ var D = {};
204
+ Object.defineProperty(D, "__esModule", {
205
205
  value: !0
206
206
  });
207
- z.default = void 0;
208
- var J = f, Ce = function(t) {
209
- return (0, J.withParams)({
207
+ D.default = void 0;
208
+ var H = f, Ce = function(t) {
209
+ return (0, H.withParams)({
210
210
  type: "requiredIf",
211
211
  prop: t
212
212
  }, function(r, u) {
213
- return (0, J.ref)(t, this, u) ? (0, J.req)(r) : !0;
213
+ return (0, H.ref)(t, this, u) ? (0, H.req)(r) : !0;
214
214
  });
215
215
  };
216
- z.default = Ce;
216
+ D.default = Ce;
217
217
  var L = {};
218
218
  Object.defineProperty(L, "__esModule", {
219
219
  value: !0
@@ -247,17 +247,17 @@ Object.defineProperty(W, "__esModule", {
247
247
  value: !0
248
248
  });
249
249
  W.default = void 0;
250
- var Ee = f, Fe = /^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:[/?#]\S*)?$/i, He = (0, Ee.regex)("url", Fe);
251
- W.default = He;
250
+ var Je = f, Ee = /^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:[/?#]\S*)?$/i, Fe = (0, Je.regex)("url", Ee);
251
+ W.default = Fe;
252
252
  var N = {};
253
253
  Object.defineProperty(N, "__esModule", {
254
254
  value: !0
255
255
  });
256
256
  N.default = void 0;
257
- var Je = f, Ke = function() {
257
+ var He = f, Ke = function() {
258
258
  for (var t = arguments.length, r = new Array(t), u = 0; u < t; u++)
259
259
  r[u] = arguments[u];
260
- return (0, Je.withParams)({
260
+ return (0, He.withParams)({
261
261
  type: "or"
262
262
  }, function() {
263
263
  for (var _ = this, m = arguments.length, v = new Array(m), o = 0; o < m; o++)
@@ -458,7 +458,7 @@ G.default = rt;
458
458
  return _e.default;
459
459
  }
460
460
  }), e.helpers = void 0;
461
- var r = i(P), u = i($), _ = i(w), m = i(q), v = i(j), o = i(M), d = i(A), a = i(S), l = i(D), y = i(V), ue = i(z), ae = i(L), fe = i(R), ie = i(W), de = i(N), oe = i(I), le = i(U), ce = i(Z), me = i(C), ve = i(B), _e = i(G), se = ye(f);
461
+ var r = i(P), u = i($), _ = i(w), m = i(q), v = i(j), o = i(M), d = i(A), a = i(S), l = i(V), y = i(z), ue = i(D), ae = i(L), fe = i(R), ie = i(W), de = i(N), oe = i(I), le = i(U), ce = i(Z), me = i(C), ve = i(B), _e = i(G), se = ye(f);
462
462
  e.helpers = se;
463
463
  function Q() {
464
464
  if (typeof WeakMap != "function")
@@ -1,8 +1,8 @@
1
- import { C as e, P as u, a as P, I as C, s as I } from "./IsPremiumPreStep-3a087524.js";
2
- import "./main-04025a56.js";
1
+ import { C as e, P as u, a as P, I as C, s as I } from "./IsPremiumPreStep-aa08f8c8.js";
2
+ import "./main-2dc98356.js";
3
3
  import "./vuex.esm-4a0fff7c.js";
4
4
  import "./anime.es-e284c852.js";
5
- import "./index-3d6d7a03.js";
5
+ import "./index-045c9c73.js";
6
6
  import "./index-805c56e4.js";
7
7
  import "./regions-29ee6964.js";
8
8
  export {
@@ -1,8 +1,8 @@
1
- import { w as a, d as o } from "./CDropdownItem-74672842.js";
2
- import { t as c } from "./throttle-a2c1f34d.js";
3
- import { n } from "./main-04025a56.js";
4
- import { i as d } from "./formValidationMixin-4920ab53.js";
5
- import { s as u } from "./simplebar.min-3af55aab.js";
1
+ import { w as a, d as o } from "./CDropdownItem-5532f8af.js";
2
+ import { t as c } from "./throttle-f8ef830f.js";
3
+ import { n } from "./main-2dc98356.js";
4
+ import { i as d } from "./dom-068d1a7b.js";
5
+ import { s as u } from "./simplebar.min-9f5e0b8a.js";
6
6
  const f = {
7
7
  name: "BackgroundsModalList",
8
8
  i18nOptions: {
@@ -118,7 +118,7 @@ var h = function() {
118
118
  }, "&mouseleave": function(r) {
119
119
  return e.pauseVideo(l);
120
120
  } } }, [t("video", { ref: "video", refInFor: !0, attrs: { src: s.minVideo || s.video, loop: "", muted: "", playsInline: "", preload: "none" }, domProps: { muted: !0 } })]) : e._e(), e.selectedIndex === l ? t("div", { staticClass: "select-wrapper" }) : e._e(), t("div", { staticClass: "photo__credit" }, [e._v(e._s(s.userName))])]);
121
- })], 2), t("div", { staticClass: "flex items-center justify-center w-full", staticStyle: { padding: "2em 1em" } }, [e.isLoading ? t("BaseIcon", { staticClass: "rotateSpin", attrs: { type: "loader" } }) : e.allowMoreResults ? e._e() : t("div", { staticClass: "flex items-center justify-center w-full has-text-grey" }, [e._v(" " + e._s(e.$t("noMoreResults")) + " ")])], 1)])], 1), t("div", { staticClass: "flex items-center justify-end w-full", staticStyle: { padding: "4px 4px 4px 8px", "flex-shrink": "0" } }, [t("div", { staticClass: "flex-grow has-text-grey" }, [e.mq !== "sm" ? [e.query && e.noOfResults && e.noOfResults > 0 ? t("div", [e._v(" " + e._s(e.$tc("_common:result", { count: e.noOfResults })) + " ")]) : e._e(), t("div", [e._v(" " + e._s(e.creditText) + " ")])] : e._e()], 2), e._t("footer", function() {
121
+ })], 2), t("div", { staticClass: "flex items-center justify-center w-full", staticStyle: { padding: "2em 1em" } }, [e.isLoading ? t("BaseIcon", { staticClass: "rotateSpin", attrs: { type: "loader" } }) : e.allowMoreResults ? e._e() : t("div", { staticClass: "flex items-center justify-center w-full text-gray-400" }, [e._v(" " + e._s(e.$t("noMoreResults")) + " ")])], 1)])], 1), t("div", { staticClass: "flex items-center justify-end w-full", staticStyle: { padding: "4px 4px 4px 8px", "flex-shrink": "0" } }, [t("div", { staticClass: "flex-grow text-gray-400" }, [e.mq !== "sm" ? [e.query && e.noOfResults && e.noOfResults > 0 ? t("div", [e._v(" " + e._s(e.$tc("_common:result", { count: e.noOfResults })) + " ")]) : e._e(), t("div", [e._v(" " + e._s(e.creditText) + " ")])] : e._e()], 2), e._t("footer", function() {
122
122
  return [t("CButton", { staticStyle: { "margin-left": "0.5em" }, attrs: { type: "secondary" }, on: { click: e.onSave } }, [e._v(" " + e._s(e.$t("_common:save")) + " ")])];
123
123
  })], 2)]);
124
124
  }, p = [], m = /* @__PURE__ */ n(
@@ -127,7 +127,7 @@ var h = function() {
127
127
  p,
128
128
  !1,
129
129
  null,
130
- "38b881a3",
130
+ "90a095d8",
131
131
  null,
132
132
  null
133
133
  );
@@ -1,12 +1,12 @@
1
- import { m as f, a as c, b as _ } from "./vuex.esm-4a0fff7c.js";
2
- import { n as o, v, S as h, g as l, x as i } from "./main-04025a56.js";
3
- import { w as d } from "./CDropdownItem-74672842.js";
4
- import { S as x } from "./CSlider.vue_vue_type_style_index_0_lang-f49d85e0.js";
5
- import { B as p } from "./DocTextEditor-c6d1df3c.js";
1
+ import { m as f, a as m, b as _ } from "./vuex.esm-4a0fff7c.js";
2
+ import { n as o, x as v, S as h, g as l, h as i } from "./main-2dc98356.js";
3
+ import { w as d } from "./CDropdownItem-5532f8af.js";
4
+ import { S as x } from "./CSlider.vue_vue_type_style_index_0_lang-d9c2f582.js";
5
+ import { B as p } from "./DocTextEditor-b07dd391.js";
6
6
  import { v as r } from "./index-805c56e4.js";
7
- import "./FormInputRow-9819eb71.js";
8
- import "./ColorPicker-4f6b70af.js";
9
- import "./formValidationMixin-4920ab53.js";
7
+ import "./tippy.esm-d2a6f864.js";
8
+ import "./ColorPicker-06b731b7.js";
9
+ import "./DocumentLayout-ae49ac7a.js";
10
10
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
11
11
  import "./color-71c20583.js";
12
12
  const g = {
@@ -33,12 +33,12 @@ const g = {
33
33
  };
34
34
  var C = function() {
35
35
  var e = this, t = e._self._c;
36
- return e.mq === "sm" ? t("div", [t("div", { on: { click: e.onOpen } }, [e._t("default")], 2), e.isOpen ? t("portal", { attrs: { to: "modal" } }, [t("div", { staticClass: "modal-overlay", on: { click: function(s) {
37
- return s.target !== s.currentTarget ? null : e.onClose.apply(null, arguments);
38
- } } }, [t("div", { staticClass: "modal-container" }, [e._t("popover", null, { close: e.onClose })], 2)])]) : e._e()], 1) : t("v-popover", e._b({ attrs: { open: e.isOpen, placement: e.placement, "popover-class": "reset" }, on: { close: function(s) {
36
+ return e.mq === "sm" ? t("div", [t("div", { on: { click: e.onOpen } }, [e._t("default")], 2), e.isOpen ? t("portal", { attrs: { to: "modal" } }, [t("div", { staticClass: "modal-overlay", on: { click: function(a) {
37
+ return a.target !== a.currentTarget ? null : e.onClose.apply(null, arguments);
38
+ } } }, [t("div", { staticClass: "modal-container" }, [e._t("popover", null, { close: e.onClose })], 2)])]) : e._e()], 1) : t("v-popover", e._b({ attrs: { open: e.isOpen, placement: e.placement, "popover-class": "reset" }, on: { close: function(a) {
39
39
  return e.onClose();
40
- }, "update:open": function(s) {
41
- s ? e.onOpen() : e.onClose();
40
+ }, "update:open": function(a) {
41
+ a ? e.onOpen() : e.onClose();
42
42
  } } }, "v-popover", e.$props, !1), [e._t("default"), t("div", { staticClass: "popover-container", attrs: { slot: "popover" }, slot: "popover" }, [e.isOpen ? t("portal", { attrs: { to: "modal" } }, [t("div", { staticClass: "overlay" })]) : e._e(), e._t("popover", null, { close: e.onClose })], 2)], 2);
43
43
  }, T = [], $ = /* @__PURE__ */ o(
44
44
  g,
@@ -165,7 +165,7 @@ const { mapFields: S } = v({
165
165
  this.load(), this.predefinedTextContent && (this.textContent = this.predefinedTextContent);
166
166
  },
167
167
  methods: {
168
- ...c({
168
+ ...m({
169
169
  loadTemplate: l.LOAD_TEMPLATE_MESSAGE,
170
170
  deleteTemplate: l.DELETE_TEMPLATE_MESSAGE,
171
171
  formNewTemplate: l.FORM_NEW_TEMPLATE_MESSAGE,
@@ -182,8 +182,8 @@ const { mapFields: S } = v({
182
182
  }), await this.formEditTemplate({
183
183
  id: this.id
184
184
  })) : await this.formNewTemplate();
185
- } catch (a) {
186
- i(a);
185
+ } catch (s) {
186
+ i(s);
187
187
  }
188
188
  },
189
189
  validateBeforeSubmit() {
@@ -193,34 +193,34 @@ const { mapFields: S } = v({
193
193
  if (this.hasChanged)
194
194
  try {
195
195
  await this.formSubmitTemplate(), typeof this.onAfterSubmit == "function" && this.onAfterSubmit();
196
- } catch (a) {
197
- i(a);
196
+ } catch (s) {
197
+ i(s);
198
198
  }
199
199
  },
200
200
  async remove() {
201
201
  try {
202
202
  await this.deleteTemplate({ id: this.id }), typeof this.onAfterSubmit == "function" && this.onAfterSubmit();
203
- } catch (a) {
204
- i(a);
203
+ } catch (s) {
204
+ i(s);
205
205
  }
206
206
  }
207
207
  }
208
208
  };
209
209
  var M = function() {
210
210
  var e = this, t = e._self._c;
211
- return t("div", { staticStyle: { position: "relative" } }, [e.showFixedCloseButton ? t("CButton", { staticClass: "fixed-close-button", attrs: { circle: "", icon: "x" }, on: { click: function(s) {
211
+ return t("div", { staticStyle: { position: "relative" } }, [e.showFixedCloseButton ? t("CButton", { staticClass: "fixed-close-button", attrs: { circle: "", icon: "x" }, on: { click: function(a) {
212
212
  return e.$emit("close");
213
- } } }) : e._e(), e.isFetching ? t("div", { staticClass: "flex items-center justify-center w-full", staticStyle: { padding: "3rem 0" } }, [t("Spinner")], 1) : e.templateMessage !== void 0 ? t("form", [t("CField", { attrs: { validator: e.$v.name, messages: e.messages.name, label: e.$t("name.label") } }, [t("CInput", { attrs: { placeholder: e.$t("name.placeholder") }, on: { blur: function(s) {
213
+ } } }) : e._e(), e.isFetching ? t("div", { staticClass: "flex items-center justify-center w-full", staticStyle: { padding: "calc(3 * var(--rem)) 0" } }, [t("Spinner")], 1) : e.templateMessage !== void 0 ? t("form", [t("CField", { attrs: { validator: e.$v.name, messages: e.messages.name, label: e.$t("name.label") } }, [t("CInput", { attrs: { placeholder: e.$t("name.placeholder") }, on: { blur: function(a) {
214
214
  return e.$v.name.$touch();
215
- } }, model: { value: e.name, callback: function(s) {
216
- e.name = s;
217
- }, expression: "name" } })], 1), t("CField", { attrs: { validator: e.$v.textContent, messages: e.messages.textContent, label: e.$t("textLabel") } }, [t("BaseTextEditor", { attrs: { placeholder: e.$t("placeholderType.default"), "class-list": "large" }, on: { blur: function(s) {
215
+ } }, model: { value: e.name, callback: function(a) {
216
+ e.name = a;
217
+ }, expression: "name" } })], 1), t("CField", { attrs: { validator: e.$v.textContent, messages: e.messages.textContent, label: e.$t("textLabel") } }, [t("BaseTextEditor", { attrs: { placeholder: e.$t("placeholderType.default"), "class-list": "large" }, on: { blur: function(a) {
218
218
  return e.$v.textContent.$touch();
219
- } }, model: { value: e.textContent, callback: function(s) {
220
- e.textContent = s;
221
- }, expression: "textContent" } })], 1), t("CButton", { staticStyle: { "margin-top": "1rem" }, attrs: { loading: e.isPosting, disabled: !e.hasChanged, type: "secondary", icon: "save", wide: "" }, on: { click: function(s) {
219
+ } }, model: { value: e.textContent, callback: function(a) {
220
+ e.textContent = a;
221
+ }, expression: "textContent" } })], 1), t("CButton", { staticStyle: { "margin-top": "calc(1 * var(--rem))" }, attrs: { loading: e.isPosting, disabled: !e.hasChanged, type: "secondary", icon: "save", wide: "" }, on: { click: function(a) {
222
222
  return e.validateBeforeSubmit();
223
- } } }, [e._v(" " + e._s(e.$t("_common:save")) + " ")]), e.id ? t("CButton", { staticStyle: { "margin-top": "1rem" }, attrs: { loading: e.isPosting, type: "secondary", pattern: "tertiary", wide: "" }, on: { click: function(s) {
223
+ } } }, [e._v(" " + e._s(e.$t("_common:save")) + " ")]), e.id ? t("CButton", { staticStyle: { "margin-top": "calc(1 * var(--rem))" }, attrs: { loading: e.isPosting, type: "secondary", pattern: "tertiary", wide: "" }, on: { click: function(a) {
224
224
  return e.remove();
225
225
  } } }, [e._v(" " + e._s(e.$t("_common:remove")) + " ")]) : e._e()], 1) : e._e()], 1);
226
226
  }, E = [], F = /* @__PURE__ */ o(
@@ -229,7 +229,7 @@ var M = function() {
229
229
  E,
230
230
  !1,
231
231
  null,
232
- "bb714603",
232
+ "7cf9875e",
233
233
  null,
234
234
  null
235
235
  );
@@ -249,15 +249,15 @@ const k = {
249
249
  },
250
250
  computed: {
251
251
  ..._("templateMessages", {
252
- templateMessages: (a) => a.data
252
+ templateMessages: (s) => s.data
253
253
  }),
254
254
  templates() {
255
255
  return Object.values(this.templateMessages);
256
256
  }
257
257
  },
258
258
  methods: {
259
- onSelect(a) {
260
- this.$emit("select", a), this.close();
259
+ onSelect(s) {
260
+ this.$emit("select", s), this.close();
261
261
  },
262
262
  close() {
263
263
  this.$emit("close");
@@ -286,18 +286,18 @@ const k = {
286
286
  };
287
287
  var q = function() {
288
288
  var e = this, t = e._self._c;
289
- return t("SmartList", { attrs: { items: e.templates, "sort-key": "position", query: e.query }, scopedSlots: e._u([{ key: "default", fn: function({ items: s }) {
289
+ return t("SmartList", { attrs: { items: e.templates, "sort-key": "position", query: e.query }, scopedSlots: e._u([{ key: "default", fn: function({ items: a }) {
290
290
  return [t("div", { ref: "modal-container", staticClass: "font-inter t-modal" }, [t("div", { staticClass: "t-nav" }, [t("CInput", { ref: "searchInput", staticClass: "search-input focus:text-gray-500", attrs: { placeholder: e.$t("search"), icon: "search" }, on: { input: function(n) {
291
291
  e.selectedIndex = 0;
292
292
  } }, model: { value: e.query, callback: function(n) {
293
293
  e.query = n;
294
- }, expression: "query" } })], 1), t("div", { staticClass: "t-main" }, [t("div", { staticClass: "t-list" }, e._l(s, function(n, m) {
295
- return t("div", { key: n.id, staticClass: "t-list-item truncate-text", class: { selected: m === e.selectedIndex }, on: { "&mouseover": function(u) {
296
- e.selectedIndex = m;
294
+ }, expression: "query" } })], 1), t("div", { staticClass: "t-main" }, [t("div", { staticClass: "t-list" }, e._l(a, function(n, c) {
295
+ return t("div", { key: n.id, staticClass: "t-list-item truncate-text", class: { selected: c === e.selectedIndex }, on: { "&mouseover": function(u) {
296
+ e.selectedIndex = c;
297
297
  }, click: function(u) {
298
- return e.onSelect(s[e.selectedIndex].message || "");
298
+ return e.onSelect(a[e.selectedIndex].message || "");
299
299
  } } }, [e._v(" " + e._s(n.name) + " ")]);
300
- }), 0), e.mq !== "sm" ? t("div", { staticClass: "t-text quill-format" }, [s[e.selectedIndex] ? t("BaseTextEditor", { attrs: { value: s[e.selectedIndex].message || "", editable: !1, extensions: "all", "class-list": "document-form", unstyled: "" } }) : t("div", [e._v(" " + e._s(e.$t("noResults")) + " ")])], 1) : e._e()]), t("div", { staticClass: "flex items-center justify-between w-full t-footer" }, [t("div", { staticStyle: { display: "inline-flex", "align-items": "center" } }), t("div", [t("CButton", { staticClass: "t-footer-button", attrs: { to: { name: "settingsTemplates" }, target: "_blank", size: "small" } }, [e._v(" " + e._s(e.$t("handle")) + " "), t("BaseIcon", { staticStyle: { "margin-left": "0.5em" }, attrs: { type: "new-window", size: "16" } })], 1), t("CButton", { staticClass: "t-footer-button", attrs: { size: "small" }, on: { click: e.openCreateModal } }, [e._v(" " + e._s(e.$t("create", { thing: e.$t("template") })) + " ")])], 1)])])];
300
+ }), 0), e.mq !== "sm" ? t("div", { staticClass: "t-text quill-format" }, [a[e.selectedIndex] ? t("BaseTextEditor", { attrs: { value: a[e.selectedIndex].message || "", editable: !1, extensions: "all", "class-list": "document-form", unstyled: "" } }) : t("div", [e._v(" " + e._s(e.$t("noResults")) + " ")])], 1) : e._e()]), t("div", { staticClass: "flex items-center justify-between w-full t-footer" }, [t("div", { staticStyle: { display: "inline-flex", "align-items": "center" } }), t("div", [t("CButton", { staticClass: "t-footer-button", attrs: { to: { name: "settingsTemplates" }, target: "_blank", size: "small" } }, [e._v(" " + e._s(e.$t("handle")) + " "), t("BaseIcon", { staticStyle: { "margin-left": "0.5em" }, attrs: { type: "new-window", size: "16" } })], 1), t("CButton", { staticClass: "t-footer-button", attrs: { size: "small" }, on: { click: e.openCreateModal } }, [e._v(" " + e._s(e.$t("create", { thing: e.$t("template") })) + " ")])], 1)])])];
301
301
  } }]) });
302
302
  }, A = [], L = /* @__PURE__ */ o(
303
303
  k,
@@ -305,7 +305,7 @@ var q = function() {
305
305
  A,
306
306
  !1,
307
307
  null,
308
- "84767e42",
308
+ "dee4a01c",
309
309
  null,
310
310
  null
311
311
  );
@@ -330,19 +330,19 @@ const B = L.exports, O = {
330
330
  this.viewSettings.isPublicForm || this.loadTemplateMessages();
331
331
  },
332
332
  methods: {
333
- ...c({
333
+ ...m({
334
334
  loadTemplateMessages: l.LOAD_TEMPLATE_MESSAGES
335
335
  })
336
336
  }
337
337
  };
338
338
  var I = function() {
339
339
  var e = this, t = e._self._c;
340
- return e.viewSettings.isPublicForm ? e._e() : t("div", { staticClass: "t-list" }, [t("ContextModal", { attrs: { "break-point": 1e3, placement: e.placement }, on: { open: function(s) {
340
+ return e.viewSettings.isPublicForm ? e._e() : t("div", { staticClass: "t-list" }, [t("ContextModal", { attrs: { "break-point": 1e3, placement: e.placement }, on: { open: function(a) {
341
341
  return e.$emit("open");
342
- }, close: function(s) {
342
+ }, close: function(a) {
343
343
  return e.$emit("close");
344
- } }, scopedSlots: e._u([{ key: "popover", fn: function({ close: s }) {
345
- return [t("TextTemplatesModal", { on: { close: s, select: function(n) {
344
+ } }, scopedSlots: e._u([{ key: "popover", fn: function({ close: a }) {
345
+ return [t("TextTemplatesModal", { on: { close: a, select: function(n) {
346
346
  return e.$emit("select", n);
347
347
  } } })];
348
348
  } }], null, !1, 1240188552) }, [t("div", { staticClass: "t-option main" }, [e._t("default")], 2)])], 1);