@cling-se/widget 0.9.2 → 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 (132) hide show
  1. package/dist/AddClientCallout-d472aa84.js +57 -0
  2. package/dist/{AnswerModal-8f918a49.js → AnswerModal-06487437.js} +7 -5
  3. package/dist/{AttachmentItem-79618446.js → AttachmentItem-d98488ee.js} +5 -7
  4. package/dist/BaseDatePicker-8c098701.js +3156 -0
  5. package/dist/{BaseInput-9f376e4e.js → BaseInput-2723d613.js} +4 -4
  6. package/dist/{BaseUpload-9a3d655d.js → BaseUpload-996d74b3.js} +27 -26
  7. package/dist/BlockMedia-00907fb6.js +72 -0
  8. package/dist/CCallout-ffa95028.js +52 -0
  9. package/dist/CDropdownItem-74672842.js +610 -0
  10. package/dist/CField-06dd50f1.js +183 -0
  11. package/dist/CField.vue_vue_type_style_index_0_lang-4ed993c7.js +1 -0
  12. package/dist/CSlider.vue_vue_type_style_index_0_lang-f49d85e0.js +83 -0
  13. package/dist/ClientAutocomplete-f65643dd.js +80 -0
  14. package/dist/ClientModal-d276aabd.js +547 -0
  15. package/dist/ColorPicker-4f6b70af.js +2881 -0
  16. package/dist/{CompanyModal-5dfa4486.js → CompanyModal-30c54ce3.js} +12 -11
  17. package/dist/{ContentWrapper-3ac57cb2.js → ContentWrapper-d5653fef.js} +21 -14
  18. package/dist/{CoverBlockSettings-323ef519.js → CoverBlockSettings-2335f3a8.js} +7 -7
  19. package/dist/DocForm-9ca24de4.js +6772 -0
  20. package/dist/DocFormSend-d0c6fa1d.js +135 -0
  21. package/dist/{DocModalBase-4058a890.js → DocModalBase-f4915a62.js} +1 -1
  22. package/dist/{DocReceipt-390f75e3.js → DocReceipt-d192000e.js} +1 -1
  23. package/dist/{DocSendReminder-afc52d3d.js → DocSendReminder-06d5b34c.js} +1 -1
  24. package/dist/{DocTextEditor-0be1aea9.js → DocTextEditor-c6d1df3c.js} +16 -12
  25. package/dist/{DocTimeline-c421dead.js → DocTimeline-b4c20f93.js} +11 -11
  26. package/dist/DocumentClient-c2319f00.js +145 -0
  27. package/dist/{DocumentLogotype-5230c7bd.js → DocumentLogotype-1efd1ce9.js} +3 -3
  28. package/dist/{EmbedInput-8092d310.js → EmbedInput-654c0477.js} +10 -11
  29. package/dist/{EmbedSettings-bbea9894.js → EmbedSettings-b81ec734.js} +10 -11
  30. package/dist/ErrorCallout-60d0b3ab.js +30 -0
  31. package/dist/{FilePreviewModal-67088d0f.js → FilePreviewModal-895bd1bd.js} +6 -7
  32. package/dist/FormInputRow-9819eb71.js +2045 -0
  33. package/dist/{HeaderSettings-e02a5832.js → HeaderSettings-c6dac755.js} +23 -19
  34. package/dist/{ImageSelectModal-a9912356.js → ImageSelectModal-7cece54e.js} +20 -18
  35. package/dist/{ImageUploadWrapper-1310e96e.js → ImageUploadWrapper-53afd31d.js} +3 -3
  36. package/dist/{Index-f3eae2af.js → Index-01c63c88.js} +2 -2
  37. package/dist/{Index-90566113.js → Index-1a7e98d7.js} +8 -8
  38. package/dist/{Index-0ac00646.js → Index-1d361d01.js} +6 -7
  39. package/dist/{Index-9cd881f2.js → Index-2535f58f.js} +2 -2
  40. package/dist/{Index-f4bb1f71.js → Index-34c84bab.js} +8 -9
  41. package/dist/{Index-f03edd3d.js → Index-5cc51230.js} +7 -8
  42. package/dist/{Index-648a786a.js → Index-5e35f4a2.js} +3 -3
  43. package/dist/{Index-6df9883f.js → Index-60fc8a6e.js} +5 -6
  44. package/dist/{Index-de45c9c3.js → Index-61f7dc92.js} +2 -2
  45. package/dist/{Index-26f9a008.js → Index-63805642.js} +73 -118
  46. package/dist/{Index-ca8aedde.js → Index-66c8cbfa.js} +11 -12
  47. package/dist/{Index-a9ed7c39.js → Index-6ef78b7a.js} +4 -6
  48. package/dist/{Index-8a22c5cd.js → Index-701f0d05.js} +1 -1
  49. package/dist/{Index-6ee090c3.js → Index-7443e91c.js} +16 -17
  50. package/dist/{Index-1ae93acd.js → Index-82574a41.js} +6 -7
  51. package/dist/{Index-35f3bca9.js → Index-82b5de12.js} +6 -7
  52. package/dist/{Index-d02a530a.js → Index-8bca2d87.js} +8 -9
  53. package/dist/{Index-57ce8eee.js → Index-9233cc83.js} +22 -15
  54. package/dist/{Index-faeeff50.js → Index-98e8bb86.js} +21 -16
  55. package/dist/{Index-17e60907.js → Index-9aaf8b90.js} +33 -31
  56. package/dist/{Index-0d81bade.js → Index-b020a80c.js} +6 -7
  57. package/dist/{Index-28c78ddc.js → Index-b14d0f03.js} +6 -7
  58. package/dist/{Index-d3e59202.js → Index-b15cfd62.js} +10 -10
  59. package/dist/{Index-0a22673f.js → Index-c4de05aa.js} +7 -7
  60. package/dist/{Index-87497c7c.js → Index-c67218ce.js} +7 -7
  61. package/dist/{Index-2b684213.js → Index-c7e68382.js} +6 -7
  62. package/dist/{Index-e1bd4ea9.js → Index-caf5cf44.js} +54 -44
  63. package/dist/{Index-2d5fe047.js → Index-cd76b120.js} +6 -7
  64. package/dist/Index-d45a1eff.js +28 -0
  65. package/dist/{Index-876daf3e.js → Index-d8879ca9.js} +2 -2
  66. package/dist/{Index-1f966c82.js → Index-e45a0c32.js} +27 -20
  67. package/dist/{Index-d11146a6.js → Index-e749f6f1.js} +6 -6
  68. package/dist/{Index-15591118.js → Index-e80f5f9c.js} +11 -11
  69. package/dist/{Index-e30b3de9.js → Index-f935c492.js} +6 -7
  70. package/dist/{InputToggleRow-c58dde03.js → InputToggleRow-9d8a7da4.js} +1 -1
  71. package/dist/IsPremiumPreStep-3a087524.js +1919 -0
  72. package/dist/{MediaWrapper-afc29574.js → MediaWrapper-d4a4b66f.js} +4 -4
  73. package/dist/{NotBindingText-e3a49f8a.js → NotBindingText-b199006c.js} +2 -2
  74. package/dist/{PackageGroup-150a9942.js → PackageGroup-37ac99b1.js} +24 -17
  75. package/dist/{PdfTerms-fcc835f4.js → PdfTerms-8b52bb6e.js} +6 -7
  76. package/dist/{PdfViewer-b1118475.js → PdfViewer-38bd8439.js} +2 -2
  77. package/dist/{PlainHtml-47791667.js → PlainHtml-9174cbf6.js} +1 -1
  78. package/dist/PriceHeader-e357afe9.js +336 -0
  79. package/dist/SearchApi-2e286be6.js +148 -0
  80. package/dist/{TermsSettings-c97df867.js → TermsSettings-c74eec79.js} +6 -6
  81. package/dist/{ThemeColorRow-014a0526.js → ThemeColorRow-3558367b.js} +7 -6
  82. package/dist/{ToggleBinding-342beacc.js → ToggleBinding-6c9c1ac3.js} +8 -9
  83. package/dist/{UploadModal-aed5f8c9.js → UploadModal-6d0abd77.js} +21 -22
  84. package/dist/{VideoPlayerInput-7ebb49d7.js → VideoPlayerInput-77cd86aa.js} +5 -6
  85. package/dist/{VideoPlayerSettings-0a027a8e.js → VideoPlayerSettings-b7eb781c.js} +13 -14
  86. package/dist/{VideoSelectModal-5c1a8ddc.js → VideoSelectModal-d2299552.js} +10 -10
  87. package/dist/anime.es-e284c852.js +858 -0
  88. package/dist/answerDocumentMixin-66023e62.js +54 -0
  89. package/dist/color-71c20583.js +15 -0
  90. package/dist/{cssMode-b59b5164.js → cssMode-8552fc56.js} +15 -14
  91. package/dist/focusDrawerMixin-67462262.js +68 -0
  92. package/dist/formComponentsInstall-ad9c2a83.js +2491 -0
  93. package/dist/formValidationMixin-4920ab53.js +4984 -0
  94. package/dist/{freemarker2-5b426d60.js → freemarker2-7e10a65d.js} +19 -18
  95. package/dist/{handlebars-9a256dec.js → handlebars-8045bfa8.js} +18 -17
  96. package/dist/{html-4322f199.js → html-8afcb633.js} +14 -13
  97. package/dist/{htmlMode-d8a0ed16.js → htmlMode-1a2d1b48.js} +19 -18
  98. package/dist/index-3d6d7a03.js +490 -0
  99. package/dist/index-805c56e4.js +4 -0
  100. package/dist/{index-c2f8c4f3.js → index-bf93d7c2.js} +13 -12
  101. package/dist/index-c48c5eb4.js +14 -0
  102. package/dist/{index-7359c27c.js → index-f805bfce.js} +21 -15
  103. package/dist/index.es.js +3 -3
  104. package/dist/index.umd.js +713 -600
  105. package/dist/{javascript-7f9828c0.js → javascript-dad5561e.js} +11 -10
  106. package/dist/{jsonMode-e07cde60.js → jsonMode-ce09245f.js} +19 -18
  107. package/dist/{liquid-b47f65fb.js → liquid-05247459.js} +11 -10
  108. package/dist/{main-154fab72.js → main-04025a56.js} +19557 -20415
  109. package/dist/mapFormMixin-8d073f99.js +66 -0
  110. package/dist/{publicSenderState-51ca0439.js → publicSenderState-97108de1.js} +1 -1
  111. package/dist/{python-f3873309.js → python-3f3513c5.js} +11 -10
  112. package/dist/{razor-4071ec1b.js → razor-1f3e9c4e.js} +14 -13
  113. package/dist/regions-29ee6964.js +1250 -0
  114. package/dist/simplebar.min-3af55aab.js +2429 -0
  115. package/dist/style.css +4 -0
  116. package/dist/template-42a1d852.js +526 -0
  117. package/dist/throttle-a2c1f34d.js +18 -0
  118. package/dist/tinycolor-88fa380f.js +634 -0
  119. package/dist/{tsMode-71160e05.js → tsMode-4c026047.js} +15 -14
  120. package/dist/{typescript-80a61e6a.js → typescript-baf56f67.js} +11 -10
  121. package/dist/{utils-72915af5.js → utils-6670dea6.js} +5 -5
  122. package/dist/vuedraggable.umd-d7138234.js +3179 -0
  123. package/dist/{xml-021490f1.js → xml-ffc6146a.js} +11 -10
  124. package/package.json +3 -2
  125. package/stats.html +1 -1
  126. package/dist/DocForm-5ff2cbbb.js +0 -22074
  127. package/dist/DocFormSend-06ffa19c.js +0 -113
  128. package/dist/Index-2b5c1367.js +0 -29
  129. package/dist/PriceHeader-1dfa95fd.js +0 -329
  130. package/dist/formComponentsInstall-e33d6795.js +0 -11121
  131. package/dist/index-51b2742c.js +0 -11
  132. package/dist/throttle-f479e1f1.js +0 -18
@@ -1,4 +1,4 @@
1
- import { n as h, y as m } from "./main-154fab72.js";
1
+ import { n as h, G as m } from "./main-04025a56.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]));
@@ -75,7 +75,7 @@ function c(t, e = 1, i = null) {
75
75
  }
76
76
  return o.height = `${l}px`, s.parentNode && s.parentNode.removeChild(s), s = null, o;
77
77
  }
78
- const y = {
78
+ const v = {
79
79
  name: "BaseInput",
80
80
  componentName: "BaseInput",
81
81
  mixins: [x],
@@ -291,7 +291,7 @@ const y = {
291
291
  }
292
292
  }
293
293
  };
294
- var v = function() {
294
+ var y = function() {
295
295
  var e = this, i = e._self._c;
296
296
  return i("div", { staticClass: "input-container", class: [
297
297
  e.internalType === "textarea" ? "el-textarea" : "el-input",
@@ -327,8 +327,8 @@ var v = function() {
327
327
  n.target.composing || (e.internalValue = n.target.value);
328
328
  } } }, "textarea", e.$attrs, !1))], 2);
329
329
  }, $ = [], S = /* @__PURE__ */ h(
330
- y,
331
330
  v,
331
+ y,
332
332
  $,
333
333
  !1,
334
334
  null,
@@ -1,4 +1,4 @@
1
- import { B as we, b as De, n as $e, D as ye, F as ve } from "./main-154fab72.js";
1
+ import { D as we, f as De, n as $e, a2 as ye, X as ve } from "./main-04025a56.js";
2
2
  /*!
3
3
  * Compressor.js v1.1.1
4
4
  * https://fengyuanchen.github.io/compressorjs
@@ -22,7 +22,7 @@ function le(s) {
22
22
  for (var n = 1; n < arguments.length; n++) {
23
23
  var a = arguments[n] != null ? arguments[n] : {};
24
24
  n % 2 ? be(Object(a), !0).forEach(function(l) {
25
- Te(s, l, a[l]);
25
+ Se(s, l, a[l]);
26
26
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(s, Object.getOwnPropertyDescriptors(a)) : be(Object(a)).forEach(function(l) {
27
27
  Object.defineProperty(s, l, Object.getOwnPropertyDescriptor(a, l));
28
28
  });
@@ -39,10 +39,10 @@ function _e(s, n) {
39
39
  l.enumerable = l.enumerable || !1, l.configurable = !0, "value" in l && (l.writable = !0), Object.defineProperty(s, l.key, l);
40
40
  }
41
41
  }
42
- function Se(s, n, a) {
42
+ function Te(s, n, a) {
43
43
  return n && _e(s.prototype, n), a && _e(s, a), s;
44
44
  }
45
- function Te(s, n, a) {
45
+ function Se(s, n, a) {
46
46
  return n in s ? Object.defineProperty(s, n, {
47
47
  value: a,
48
48
  enumerable: !0,
@@ -76,12 +76,12 @@ var Ee = { exports: {} };
76
76
  return !1;
77
77
  }
78
78
  }(), c = n.BlobBuilder || n.WebKitBlobBuilder || n.MozBlobBuilder || n.MSBlobBuilder, m = /^data:((.*?)(;charset=.*?)?)(;base64)?,/, y = (l || c) && n.atob && n.ArrayBuffer && n.Uint8Array && function(g) {
79
- var _, U, A, B, S, v, T, w, H;
79
+ var _, U, A, B, T, v, S, w, H;
80
80
  if (_ = g.match(m), !_)
81
81
  throw new Error("invalid data URI");
82
- for (U = _[2] ? _[1] : "text/plain" + (_[3] || ";charset=US-ASCII"), A = !!_[4], B = g.slice(_[0].length), A ? S = atob(B) : S = decodeURIComponent(B), v = new ArrayBuffer(S.length), T = new Uint8Array(v), w = 0; w < S.length; w += 1)
83
- T[w] = S.charCodeAt(w);
84
- return l ? new Blob([d ? T : v], {
82
+ for (U = _[2] ? _[1] : "text/plain" + (_[3] || ";charset=US-ASCII"), A = !!_[4], B = g.slice(_[0].length), A ? T = atob(B) : T = decodeURIComponent(B), v = new ArrayBuffer(T.length), S = new Uint8Array(v), w = 0; w < T.length; w += 1)
83
+ S[w] = T.charCodeAt(w);
84
+ return l ? new Blob([d ? S : v], {
85
85
  type: U
86
86
  }) : (H = new c(), H.append(v), H.getBlob(U));
87
87
  };
@@ -274,10 +274,10 @@ function qe(s) {
274
274
  }
275
275
  }
276
276
  if (c) {
277
- var B = n.getUint16(c, l), S, v;
277
+ var B = n.getUint16(c, l), T, v;
278
278
  for (v = 0; v < B; v += 1)
279
- if (S = c + v * 12 + 2, n.getUint16(S, l) === 274) {
280
- S += 8, a = n.getUint16(S, l), n.setUint16(S, 1, l);
279
+ if (T = c + v * 12 + 2, n.getUint16(T, l) === 274) {
280
+ T += 8, a = n.getUint16(T, l), n.setUint16(T, 1, l);
281
281
  break;
282
282
  }
283
283
  }
@@ -338,7 +338,7 @@ var Ge = q.ArrayBuffer, Oe = q.FileReader, X = q.URL || q.webkitURL, Ke = /\.\w+
338
338
  function s(n, a) {
339
339
  Re(this, s), this.file = n, this.image = new Image(), this.options = le(le({}, ke), a), this.aborted = !1, this.result = null, this.init();
340
340
  }
341
- return Se(s, [{
341
+ return Te(s, [{
342
342
  key: "init",
343
343
  value: function() {
344
344
  var a = this, l = this.file, d = this.options;
@@ -396,7 +396,7 @@ var Ge = q.ArrayBuffer, Oe = q.FileReader, X = q.URL || q.webkitURL, Ke = /\.\w+
396
396
  }, {
397
397
  key: "draw",
398
398
  value: function(a) {
399
- var l = this, d = a.naturalWidth, c = a.naturalHeight, m = a.rotate, y = m === void 0 ? 0 : m, g = a.scaleX, _ = g === void 0 ? 1 : g, U = a.scaleY, A = U === void 0 ? 1 : U, B = this.file, S = this.image, v = this.options, T = document.createElement("canvas"), w = T.getContext("2d"), H = Math.abs(y) % 180 === 90, G = (v.resize === "contain" || v.resize === "cover") && de(v.width) && de(v.height), F = Math.max(v.maxWidth, 0) || 1 / 0, I = Math.max(v.maxHeight, 0) || 1 / 0, z = Math.max(v.minWidth, 0) || 0, W = Math.max(v.minHeight, 0) || 0, L = d / c, D = v.width, $ = v.height;
399
+ var l = this, d = a.naturalWidth, c = a.naturalHeight, m = a.rotate, y = m === void 0 ? 0 : m, g = a.scaleX, _ = g === void 0 ? 1 : g, U = a.scaleY, A = U === void 0 ? 1 : U, B = this.file, T = this.image, v = this.options, S = document.createElement("canvas"), w = S.getContext("2d"), H = Math.abs(y) % 180 === 90, G = (v.resize === "contain" || v.resize === "cover") && de(v.width) && de(v.height), F = Math.max(v.maxWidth, 0) || 1 / 0, I = Math.max(v.maxHeight, 0) || 1 / 0, z = Math.max(v.minWidth, 0) || 0, W = Math.max(v.minHeight, 0) || 0, L = d / c, D = v.width, $ = v.height;
400
400
  if (H) {
401
401
  var Q = [I, F];
402
402
  F = Q[0], I = Q[1];
@@ -451,9 +451,9 @@ var Ge = q.ArrayBuffer, Oe = q.FileReader, X = q.URL || q.webkitURL, Ke = /\.\w+
451
451
  var r = [$, D];
452
452
  D = r[0], $ = r[1];
453
453
  }
454
- T.width = D, T.height = $, ge(v.mimeType) || (v.mimeType = B.type);
454
+ S.width = D, S.height = $, ge(v.mimeType) || (v.mimeType = B.type);
455
455
  var i = "transparent";
456
- if (B.size > v.convertSize && v.convertTypes.indexOf(v.mimeType) >= 0 && (v.mimeType = "image/jpeg"), v.mimeType === "image/jpeg" && (i = "#fff"), w.fillStyle = i, w.fillRect(0, 0, D, $), v.beforeDraw && v.beforeDraw.call(this, w, T), !this.aborted && (w.save(), w.translate(D / 2, $ / 2), w.rotate(y * Math.PI / 180), w.scale(_, A), w.drawImage.apply(w, [S].concat(J)), w.restore(), v.drew && v.drew.call(this, w, T), !this.aborted)) {
456
+ if (B.size > v.convertSize && v.convertTypes.indexOf(v.mimeType) >= 0 && (v.mimeType = "image/jpeg"), v.mimeType === "image/jpeg" && (i = "#fff"), w.fillStyle = i, w.fillRect(0, 0, D, $), v.beforeDraw && v.beforeDraw.call(this, w, S), !this.aborted && (w.save(), w.translate(D / 2, $ / 2), w.rotate(y * Math.PI / 180), w.scale(_, A), w.drawImage.apply(w, [T].concat(J)), w.restore(), v.drew && v.drew.call(this, w, S), !this.aborted)) {
457
457
  var u = function(h) {
458
458
  l.aborted || l.done({
459
459
  naturalWidth: d,
@@ -461,7 +461,7 @@ var Ge = q.ArrayBuffer, Oe = q.FileReader, X = q.URL || q.webkitURL, Ke = /\.\w+
461
461
  result: h
462
462
  });
463
463
  };
464
- T.toBlob ? T.toBlob(u, v.mimeType, v.quality) : u(Be(T.toDataURL(v.mimeType, v.quality)));
464
+ S.toBlob ? S.toBlob(u, v.mimeType, v.quality) : u(Be(S.toDataURL(v.mimeType, v.quality)));
465
465
  }
466
466
  }
467
467
  }, {
@@ -966,10 +966,10 @@ var Ge = q.ArrayBuffer, Oe = q.FileReader, X = q.URL || q.webkitURL, Ke = /\.\w+
966
966
  }
967
967
  return r;
968
968
  }
969
- var A = U, B = _, S = function() {
969
+ var A = U, B = _, T = function() {
970
970
  var t = this, r = t.$createElement, i = t._self._c || r;
971
971
  return i("input", { attrs: { type: "file", name: t.$parent.name, id: t.$parent.inputId || t.$parent.name, accept: t.$parent.accept, capture: t.$parent.capture, disabled: t.$parent.disabled, webkitdirectory: t.$parent.directory && t.$parent.features.directory, directory: t.$parent.directory && t.$parent.features.directory, multiple: t.$parent.multiple && t.$parent.features.html5 }, on: { change: t.change } });
972
- }, v = [], T = void 0, w = void 0, H = void 0, G = !1, F = A({ render: S, staticRenderFns: v }, T, B, w, G, H, void 0, void 0), I = Object.assign || function(f) {
972
+ }, v = [], S = void 0, w = void 0, H = void 0, G = !1, F = A({ render: T, staticRenderFns: v }, S, B, w, G, H, void 0, void 0), I = Object.assign || function(f) {
973
973
  for (var t = 1; t < arguments.length; t++) {
974
974
  var r = arguments[t];
975
975
  for (var i in r)
@@ -1698,7 +1698,7 @@ const Qe = {
1698
1698
  name: "BaseUpload",
1699
1699
  components: {
1700
1700
  FileUpload: Ve,
1701
- UploadModal: () => import("./UploadModal-aed5f8c9.js")
1701
+ UploadModal: () => import("./UploadModal-6d0abd77.js")
1702
1702
  },
1703
1703
  props: {
1704
1704
  // Optional function to handle any errors
@@ -1852,24 +1852,25 @@ const Qe = {
1852
1852
  if (this.onError)
1853
1853
  this.onError(s);
1854
1854
  else {
1855
+ let a = null;
1855
1856
  switch (s.error) {
1856
1857
  case "extension": {
1857
- const a = this.extensions.replace(/,/g, ", ");
1858
- this.$t("errors.extension", { extensions: a });
1858
+ const l = this.extensions.replace(/,/g, ", ");
1859
+ a = this.$t("errors.extension", { extensions: l });
1859
1860
  break;
1860
1861
  }
1861
1862
  case "size": {
1862
- this.$t("errors.size", { maxFileSize: `${this.maxSize / 1e6} MB` });
1863
+ a = this.$t("errors.size", { maxFileSize: `${this.maxSize / 1e6} MB` });
1863
1864
  break;
1864
1865
  }
1865
1866
  case "ECONNREFUSED": {
1866
- this.$t("errors.ECONNREFUSED");
1867
+ a = this.$t("errors.ECONNREFUSED");
1867
1868
  break;
1868
1869
  }
1869
1870
  default:
1870
- `${this.$t("errors.general")}${s.error}`;
1871
+ a = `${this.$t("errors.general")}: ${s.error}`;
1871
1872
  }
1872
- ve("error");
1873
+ ve("error", a);
1873
1874
  }
1874
1875
  this.remove(s);
1875
1876
  }
@@ -1953,7 +1954,7 @@ var Ze = function() {
1953
1954
  et,
1954
1955
  !1,
1955
1956
  null,
1956
- "8fbfe46d",
1957
+ "8277b43e",
1957
1958
  null,
1958
1959
  null
1959
1960
  );
@@ -0,0 +1,72 @@
1
+ import { n as s, b as i } from "./main-04025a56.js";
2
+ import { g as d } from "./color-71c20583.js";
3
+ const n = {
4
+ name: "BlockMedia",
5
+ inject: {
6
+ isPdf: {
7
+ default: !1
8
+ }
9
+ },
10
+ props: {
11
+ media: {
12
+ type: Object,
13
+ default: () => ({})
14
+ },
15
+ preview: {
16
+ type: Boolean,
17
+ default: !1
18
+ }
19
+ },
20
+ computed: {
21
+ forceStatic() {
22
+ return this.isPdf || this.preview;
23
+ },
24
+ type() {
25
+ return i(this, "media.type", "color");
26
+ },
27
+ video() {
28
+ return i(this, "media.video", {});
29
+ },
30
+ overlayColor() {
31
+ const { overlay: r, overlayColor: e } = this.media || {};
32
+ return r && !["color", "gradient"].includes(this.type) ? e : "";
33
+ },
34
+ blurStyle() {
35
+ const { blur: r } = this.media || {};
36
+ return r && !["color", "gradient"].includes(this.type) ? { backdropFilter: `blur(${r}px)` } : null;
37
+ },
38
+ baseStyle() {
39
+ const {
40
+ resourceUrl: r,
41
+ backgroundColor: e,
42
+ position: t = 50,
43
+ filter: a = "",
44
+ gradient: l = {}
45
+ } = this.media || {}, o = d(l);
46
+ return {
47
+ backgroundPosition: `center ${t}%`,
48
+ ...!["color", "gradient"].includes(this.type) && { filter: `${a || ""}` },
49
+ ...e && this.type === "color" && { backgroundColor: e },
50
+ ...r && this.type === "image" && { backgroundImage: `url(${r})` },
51
+ ...o && this.type === "gradient" && { backgroundImage: o }
52
+ };
53
+ }
54
+ }
55
+ };
56
+ var c = function() {
57
+ var e = this, t = e._self._c;
58
+ return t("div", { staticClass: "media-root" }, [e.overlayColor ? t("div", { staticClass: "media-overlay", style: { backgroundColor: e.overlayColor } }) : e._e(), e.type === "video" && e.video && e.video.url ? t("div", { staticClass: "video-bg__media" }, [e.forceStatic ? t("video", { attrs: { poster: e.video.thumbnail } }) : e.video.provider === "pexels" ? t("video", { attrs: { src: e.video.url, autoplay: "", loop: "", muted: "", playsInline: "" }, domProps: { muted: !0 } }) : t("iframe", { attrs: { src: e.video.url, frameborder: "0" } })]) : t("div", { staticClass: "media-base", style: e.baseStyle }), e.blurStyle ? t("div", { staticClass: "media-blur-area", style: e.blurStyle }) : e._e()]);
59
+ }, u = [], p = /* @__PURE__ */ s(
60
+ n,
61
+ c,
62
+ u,
63
+ !1,
64
+ null,
65
+ "67a4029f",
66
+ null,
67
+ null
68
+ );
69
+ const y = p.exports;
70
+ export {
71
+ y as B
72
+ };
@@ -0,0 +1,52 @@
1
+ import { n as s, c as a } from "./main-04025a56.js";
2
+ import "./CSlider.vue_vue_type_style_index_0_lang-f49d85e0.js";
3
+ const i = {
4
+ name: "CCallout",
5
+ components: {
6
+ CButton: a
7
+ },
8
+ props: {
9
+ title: String,
10
+ size: String,
11
+ type: String,
12
+ padding: String,
13
+ closable: {
14
+ type: Boolean,
15
+ default: !1
16
+ },
17
+ legacy: {
18
+ type: Boolean,
19
+ default: !0
20
+ },
21
+ icon: {
22
+ type: String,
23
+ default: null
24
+ }
25
+ }
26
+ };
27
+ var n = function() {
28
+ var t = this, e = t._self._c;
29
+ return e("transition", { attrs: { name: "fade" } }, [t.legacy ? e("article", { staticClass: "message", class: [
30
+ `is-${t.type}`,
31
+ `is-${t.size}`
32
+ ] }, [e("section", { staticClass: "message-body", style: { padding: t.padding } }, [t.title ? e("header", { staticClass: "message-header" }, [t._v(" " + t._s(t.title) + " ")]) : t._e(), e("div", { staticClass: "media" }, [e("div", { staticClass: "media-content" }, [t._t("default")], 2)])]), t.closable ? e("CButton", { staticStyle: { right: ".5rem", position: "absolute", top: ".5rem" }, attrs: { type: t.type, size: "small", pattern: "secondary", circle: "", icon: "x" }, on: { click: function(c) {
33
+ return t.$emit("close");
34
+ } } }) : t._e()], 1) : e("div", { staticClass: "flex p-4 border border-gray-200 rounded-md bg-gray-50" }, [t.icon ? e("div", { staticClass: "mr-3 -mt-px" }, [e("BaseIcon", { attrs: { type: t.icon, size: "16" } })], 1) : t._e(), e("div", [e("div", [t._t("title", function() {
35
+ return [e("div", { staticClass: "font-medium" }, [t._v(t._s(t.title))])];
36
+ })], 2), e("div", { staticClass: "text-gray-800" }, [t._t("default", function() {
37
+ return [e("div", { staticClass: "mb-2 text-gray-500" }, [t._v(t._s(t.text))])];
38
+ })], 2)])])]);
39
+ }, l = [], r = /* @__PURE__ */ s(
40
+ i,
41
+ n,
42
+ l,
43
+ !1,
44
+ null,
45
+ "56f747ee",
46
+ null,
47
+ null
48
+ );
49
+ const _ = r.exports;
50
+ export {
51
+ _ as C
52
+ };