@cling-se/widget 0.9.21 → 0.9.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/dist/{AddClientCallout-b30fb799.js → AddClientCallout-f30100da.js} +5 -5
  2. package/dist/{AnswerModal-6231b1e0.js → AnswerModal-d30e03bd.js} +3 -3
  3. package/dist/{AttachmentItem-6177b14a.js → AttachmentItem-446bb069.js} +3 -3
  4. package/dist/{BaseDatePicker-52deabed.js → BaseDatePicker-6a365a09.js} +1 -1
  5. package/dist/{BaseInput-a85cebb6.js → BaseInput-7ed92f6a.js} +1 -1
  6. package/dist/{BaseUpload-859d5cee.js → BaseUpload-636eeec3.js} +18 -18
  7. package/dist/{BlockMedia-ee5bf47c.js → BlockMedia-3cb86ebf.js} +1 -1
  8. package/dist/{CCallout-a4442013.js → CCallout-44e44f26.js} +2 -2
  9. package/dist/{CDropdownItem-d04a1369.js → CDropdownItem-52cf4f0e.js} +75 -156
  10. package/dist/{CField-1baba8ee.js → CField-a80001b1.js} +1 -1
  11. package/dist/CPhoneFormat-3db8947d.js +64 -0
  12. package/dist/{CSlider.vue_vue_type_style_index_0_lang-5301a1aa.js → CSlider.vue_vue_type_style_index_0_lang-42fea525.js} +1 -1
  13. package/dist/{ClientAutocomplete-9a48c913.js → ClientAutocomplete-84cfcc88.js} +2 -2
  14. package/dist/{ClientModal-6e232065.js → ClientModal-5c684c95.js} +19 -18
  15. package/dist/{ColorPicker-f53737c4.js → ColorPicker-043d7a04.js} +38 -38
  16. package/dist/{CompanyModal-1d09cba9.js → CompanyModal-64d16864.js} +3 -3
  17. package/dist/{ContentWrapper-b0443560.js → ContentWrapper-f3c1c1cb.js} +15 -14
  18. package/dist/{CoverBlockSettings-92c2721a.js → CoverBlockSettings-8f28a3a5.js} +8 -8
  19. package/dist/DocAnswer-2402eee3.js +30 -0
  20. package/dist/DocDetails-ec7f2a02.js +224 -0
  21. package/dist/{DocForm-02d54368.js → DocForm-c9df5aa0.js} +57 -55
  22. package/dist/{DocFormSend-2667ba21.js → DocFormSend-31f95da1.js} +23 -22
  23. package/dist/{DocLinks-83145fa9.js → DocLinks-93f538c9.js} +2 -2
  24. package/dist/{DocModalBase-bc6b72fc.js → DocModalBase-5c9138cc.js} +1 -1
  25. package/dist/{DocPrint-6e411f4d.js → DocPrint-a4475559.js} +1 -1
  26. package/dist/{DocReceipt-2da01d4a.js → DocReceipt-4e571cee.js} +1 -1
  27. package/dist/{DocSendReminder-9b5f553c.js → DocSendReminder-fe49cd44.js} +1 -1
  28. package/dist/{DocTextEditor-9b95e95a.js → DocTextEditor-2bb318af.js} +777 -771
  29. package/dist/{DocTimeline-c1d5aa41.js → DocTimeline-9f47bab8.js} +17 -13
  30. package/dist/DocumentClient-99d7039b.js +127 -0
  31. package/dist/{DocumentLayout-abef4251.js → DocumentLayout-11af5e3b.js} +12 -11
  32. package/dist/{DocumentLogotype-4ef5e90f.js → DocumentLogotype-1931e1ad.js} +3 -3
  33. package/dist/DocumentVoided-6351a1df.js +27 -0
  34. package/dist/{EmbedInput-2251e7fb.js → EmbedInput-7d0562fc.js} +2 -2
  35. package/dist/{EmbedSettings-dc024f93.js → EmbedSettings-9df99e76.js} +3 -3
  36. package/dist/{ErrorCallout-d8745739.js → ErrorCallout-106838ce.js} +1 -1
  37. package/dist/{FilePreviewModal-0eec8f54.js → FilePreviewModal-095408ae.js} +7 -6
  38. package/dist/{HeaderSettings-c1936aeb.js → HeaderSettings-6d350190.js} +18 -17
  39. package/dist/{ImageSelectModal-65f96a00.js → ImageSelectModal-971708e1.js} +16 -15
  40. package/dist/{ImageUploadWrapper-770093f0.js → ImageUploadWrapper-3fac23f0.js} +12 -12
  41. package/dist/{Index-9689977a.js → Index-1e62aedf.js} +12 -11
  42. package/dist/{Index-d16a077e.js → Index-20d85e3a.js} +2 -2
  43. package/dist/{Index-abc574c9.js → Index-2abd5d2b.js} +4 -4
  44. package/dist/{Index-389f4500.js → Index-356bc162.js} +4 -4
  45. package/dist/{Index-2d8dbeff.js → Index-4fa057f8.js} +3 -3
  46. package/dist/{Index-95291dad.js → Index-567e408c.js} +10 -9
  47. package/dist/{Index-8c6ff53d.js → Index-57d5951b.js} +6 -6
  48. package/dist/{Index-2a2c1f73.js → Index-5a0d7d8c.js} +10 -9
  49. package/dist/{Index-fd8c99a8.js → Index-6e6d2653.js} +2 -2
  50. package/dist/{Index-81ddc798.js → Index-70f16919.js} +4 -4
  51. package/dist/{Index-4d0fb3db.js → Index-7477a320.js} +1 -1
  52. package/dist/{Index-62adb4b4.js → Index-77bcf959.js} +4 -4
  53. package/dist/{Index-6cd763af.js → Index-79f564d7.js} +4 -4
  54. package/dist/{Index-044b3e78.js → Index-7b9b5dee.js} +9 -9
  55. package/dist/{Index-b3e7a96c.js → Index-868d52a9.js} +5 -5
  56. package/dist/{Index-b9a4d140.js → Index-88af8453.js} +3 -3
  57. package/dist/{Index-f922ca7a.js → Index-8b39f885.js} +2 -2
  58. package/dist/{Index-b76ad769.js → Index-8c04b710.js} +15 -14
  59. package/dist/{Index-dfecb8ef.js → Index-8c335677.js} +2 -2
  60. package/dist/{Index-3d5d967d.js → Index-8f883e55.js} +6 -6
  61. package/dist/{Index-94836a7b.js → Index-938d67eb.js} +56 -115
  62. package/dist/{Index-e5e698bd.js → Index-9b1e35fa.js} +4 -4
  63. package/dist/{Index-c94003c4.js → Index-a1f74882.js} +4 -4
  64. package/dist/{Index-f099d8b6.js → Index-a65bded3.js} +4 -4
  65. package/dist/{Index-8b408fa4.js → Index-bf0c487f.js} +7 -7
  66. package/dist/{Index-6939dd0f.js → Index-c8e36c6e.js} +2 -2
  67. package/dist/{Index-7e3ca7a8.js → Index-d3667461.js} +12 -11
  68. package/dist/{Index-a2294660.js → Index-d617c13f.js} +11 -10
  69. package/dist/{Index-ea9c5c01.js → Index-d9001d15.js} +12 -12
  70. package/dist/{Index-0154e11e.js → Index-e27c2fdf.js} +2 -2
  71. package/dist/{Index-51791450.js → Index-eb9a3a06.js} +51 -50
  72. package/dist/{Index-194d394a.js → Index-fad050d0.js} +4 -4
  73. package/dist/{Index-cc230603.js → Index-ffd8211f.js} +16 -15
  74. package/dist/{Index-ee19b47e.js → Index-ffff3ae8.js} +4 -4
  75. package/dist/{InputToggleRow-aa0e2c44.js → InputToggleRow-e6ceba8d.js} +1 -1
  76. package/dist/{IsPremiumPreStep-367dd957.js → IsPremiumPreStep-5760ca12.js} +31 -31
  77. package/dist/{ManualPopover-2bdd12a2.js → ManualPopover-814d1319.js} +1 -1
  78. package/dist/{MediaWrapper-6f144338.js → MediaWrapper-e67928b8.js} +3 -3
  79. package/dist/{NotBindingText-4698dd82.js → NotBindingText-f72244ab.js} +2 -2
  80. package/dist/{PackageGroup-220483fc.js → PackageGroup-b457cbbb.js} +18 -17
  81. package/dist/{PdfTerms-5fb32923.js → PdfTerms-fa51699a.js} +8 -7
  82. package/dist/{PdfViewer-c68102fe.js → PdfViewer-93b67f36.js} +2 -2
  83. package/dist/{PlainHtml-5c871f6e.js → PlainHtml-4decb4b1.js} +1 -1
  84. package/dist/{PriceHeader-8abd96ed.js → PriceHeader-85923b9b.js} +29 -28
  85. package/dist/{SearchApi-5c205029.js → SearchApi-e49da25f.js} +2 -2
  86. package/dist/{Setup-c6e232cc.js → Setup-9e46ec76.js} +1 -1
  87. package/dist/{TermsSettings-31743151.js → TermsSettings-79755d10.js} +9 -8
  88. package/dist/{ThemeColorRow-fbea4c21.js → ThemeColorRow-ce0c5083.js} +3 -3
  89. package/dist/{ToggleBinding-eacc1838.js → ToggleBinding-cda92aa3.js} +3 -3
  90. package/dist/{UploadModal-593a1535.js → UploadModal-0e80a0f2.js} +3 -3
  91. package/dist/{VideoPlayerInput-a4e484f4.js → VideoPlayerInput-6145c645.js} +3 -3
  92. package/dist/{VideoPlayerSettings-6dedd07e.js → VideoPlayerSettings-b6d55453.js} +4 -4
  93. package/dist/{VideoSelectModal-93abc59d.js → VideoSelectModal-61d97f65.js} +13 -12
  94. package/dist/{answerDocumentMixin-bbd3ab59.js → answerDocumentMixin-8edab24a.js} +3 -3
  95. package/dist/debounce-62af9d61.js +84 -0
  96. package/dist/{focusDrawerMixin-566688bb.js → focusDrawerMixin-745d4e52.js} +1 -1
  97. package/dist/{formComponentsInstall-c9797c0b.js → formComponentsInstall-dc68b7e8.js} +22 -22
  98. package/dist/{formDrawerState-18920c2a.js → formDrawerState-6408853b.js} +1 -1
  99. package/dist/{formValidationMixin-7144b19f.js → formValidationMixin-a27a1b47.js} +1 -1
  100. package/dist/{image-6e71d7fa.js → image-7f7c16da.js} +1 -1
  101. package/dist/{index-465cfbbd.js → index-14df19cb.js} +2 -2
  102. package/dist/{index-a390debd.js → index-1cf2de3c.js} +39 -39
  103. package/dist/{index-0a319f2d.js → index-2a4b06f7.js} +4 -4
  104. package/dist/{index-82e3d4b8.js → index-474d6e34.js} +1 -1
  105. package/dist/{index-08b2746a.js → index-a72b19e9.js} +15 -14
  106. package/dist/{index-8bd6d39a.js → index-cc6b4d3a.js} +15 -14
  107. package/dist/index.es.js +9 -9
  108. package/dist/index.umd.js +175 -177
  109. package/dist/{main-0530c048.js → main-b72127b8.js} +13370 -14589
  110. package/dist/{mapFormMixin-01a2e577.js → mapFormMixin-52ec1660.js} +1 -1
  111. package/dist/{publicSenderState-db943021.js → publicSenderState-1a30e0c5.js} +1 -1
  112. package/dist/{simplebar.min-7f44680f.js → simplebar.min-c28f1a61.js} +1 -1
  113. package/dist/style.css +2 -2
  114. package/dist/{template-8ac55054.js → template-c65478b1.js} +2 -2
  115. package/dist/{throttle-be2144d7.js → throttle-040bd305.js} +2 -2
  116. package/dist/{tinycolor-9d91bda6.js → tinycolor-10bcd30d.js} +1 -1
  117. package/dist/{tippy.esm-8368093c.js → tippy.esm-0ef95919.js} +45 -45
  118. package/dist/{utils-66c1f205.js → utils-6073fc98.js} +1 -1
  119. package/dist/{vuedraggable.umd-d9c89b79.js → vuedraggable.umd-d2790aec.js} +63 -63
  120. package/package.json +1 -1
  121. package/dist/DocAnswer-d48b4e6b.js +0 -33
  122. package/dist/DocumentClient-2f98bdb5.js +0 -147
@@ -0,0 +1,84 @@
1
+ import { _ as j, k, Q as C, j as A } from "./main-b72127b8.js";
2
+ var L = j, M = function() {
3
+ return L.Date.now();
4
+ }, B = M, F = /\s/;
5
+ function R(e) {
6
+ for (var r = e.length; r-- && F.test(e.charAt(r)); )
7
+ ;
8
+ return r;
9
+ }
10
+ var D = R, H = D, P = /^\s+/;
11
+ function Q(e) {
12
+ return e && e.slice(0, H(e) + 1).replace(P, "");
13
+ }
14
+ var U = Q, X = U, p = k, q = C, y = 0 / 0, w = /^[-+]0x[0-9a-f]+$/i, z = /^0b[01]+$/i, G = /^0o[0-7]+$/i, J = parseInt;
15
+ function K(e) {
16
+ if (typeof e == "number")
17
+ return e;
18
+ if (q(e))
19
+ return y;
20
+ if (p(e)) {
21
+ var r = typeof e.valueOf == "function" ? e.valueOf() : e;
22
+ e = p(r) ? r + "" : r;
23
+ }
24
+ if (typeof e != "string")
25
+ return e === 0 ? e : +e;
26
+ e = X(e);
27
+ var i = z.test(e);
28
+ return i || G.test(e) ? J(e.slice(2), i ? 2 : 8) : w.test(e) ? y : +e;
29
+ }
30
+ var V = K, Y = k, T = B, $ = V, Z = "Expected a function", ee = Math.max, ne = Math.min;
31
+ function re(e, r, i) {
32
+ var u, o, l, s, t, f, d = 0, I = !1, c = !1, b = !0;
33
+ if (typeof e != "function")
34
+ throw new TypeError(Z);
35
+ r = $(r) || 0, Y(i) && (I = !!i.leading, c = "maxWait" in i, l = c ? ee($(i.maxWait) || 0, r) : l, b = "trailing" in i ? !!i.trailing : b);
36
+ function g(n) {
37
+ var a = u, m = o;
38
+ return u = o = void 0, d = n, s = e.apply(m, a), s;
39
+ }
40
+ function O(n) {
41
+ return d = n, t = setTimeout(v, r), I ? g(n) : s;
42
+ }
43
+ function S(n) {
44
+ var a = n - f, m = n - d, _ = r - a;
45
+ return c ? ne(_, l - m) : _;
46
+ }
47
+ function h(n) {
48
+ var a = n - f, m = n - d;
49
+ return f === void 0 || a >= r || a < 0 || c && m >= l;
50
+ }
51
+ function v() {
52
+ var n = T();
53
+ if (h(n))
54
+ return E(n);
55
+ t = setTimeout(v, S(n));
56
+ }
57
+ function E(n) {
58
+ return t = void 0, b && u ? g(n) : (u = o = void 0, s);
59
+ }
60
+ function N() {
61
+ t !== void 0 && clearTimeout(t), d = 0, u = f = o = t = void 0;
62
+ }
63
+ function W() {
64
+ return t === void 0 ? s : E(T());
65
+ }
66
+ function x() {
67
+ var n = T(), a = h(n);
68
+ if (u = arguments, o = this, f = n, a) {
69
+ if (t === void 0)
70
+ return O(f);
71
+ if (c)
72
+ return clearTimeout(t), t = setTimeout(v, r), g(f);
73
+ }
74
+ return t === void 0 && (t = setTimeout(v, r)), s;
75
+ }
76
+ return x.cancel = N, x.flush = W, x;
77
+ }
78
+ var te = re;
79
+ const ae = /* @__PURE__ */ A(te);
80
+ export {
81
+ te as a,
82
+ ae as d,
83
+ V as t
84
+ };
@@ -1,4 +1,4 @@
1
- import { s as o } from "./formDrawerState-18920c2a.js";
1
+ import { s as o } from "./formDrawerState-6408853b.js";
2
2
  const t = {
3
3
  inject: {
4
4
  sectionTopNode: {
@@ -1,16 +1,16 @@
1
1
  import { b as H, m as g } from "./vuex.esm-4a0fff7c.js";
2
- import { s as q } from "./simplebar.min-7f44680f.js";
3
- import { m } from "./mapFormMixin-01a2e577.js";
4
- import { B as I } from "./BaseDatePicker-52deabed.js";
5
- import { E as j } from "./ErrorCallout-d8745739.js";
6
- import { I as K, a as W, r as l } from "./IsPremiumPreStep-367dd957.js";
7
- import { n as o, ao as O, ap as v, h as X, b as c, aq as U, o as Q, ar as Y, as as G, q as P, at as T, au as R, d as M, D as y } from "./main-0530c048.js";
8
- import J from "./AddClientCallout-b30fb799.js";
9
- import Z from "./ClientModal-6e232065.js";
10
- import { c as ee, r as te, g as ie, C as h, b as f, e as p } from "./CDropdownItem-d04a1369.js";
11
- import { S as se } from "./CSlider.vue_vue_type_style_index_0_lang-5301a1aa.js";
12
- import { C as _ } from "./CCallout-a4442013.js";
13
- import { C as z } from "./CField-1baba8ee.js";
2
+ import { s as q } from "./simplebar.min-c28f1a61.js";
3
+ import { m } from "./mapFormMixin-52ec1660.js";
4
+ import { B as I } from "./BaseDatePicker-6a365a09.js";
5
+ import { E as j } from "./ErrorCallout-106838ce.js";
6
+ import { I as K, a as W, r as l } from "./IsPremiumPreStep-5760ca12.js";
7
+ import { n as o, ar as O, as as v, h as X, b as c, at as U, o as Q, au as Y, av as G, q as P, aw as T, ax as R, d as M, E as y } from "./main-b72127b8.js";
8
+ import J from "./AddClientCallout-f30100da.js";
9
+ import Z from "./ClientModal-5c684c95.js";
10
+ import { c as ee, r as te, g as ie, C as h, a as f, b as p } from "./CDropdownItem-52cf4f0e.js";
11
+ import { S as se } from "./CSlider.vue_vue_type_style_index_0_lang-42fea525.js";
12
+ import { C as _ } from "./CCallout-44e44f26.js";
13
+ import { C as z } from "./CField-a80001b1.js";
14
14
  const ne = {
15
15
  name: "DocumentSendReminderItem",
16
16
  props: {
@@ -139,15 +139,15 @@ var ce = function() {
139
139
  null
140
140
  );
141
141
  const pe = me.exports;
142
- function N(t, e) {
142
+ function E(t, e) {
143
143
  const i = new Date(t.getTime());
144
144
  return i.setDate(t.getDate() + (7 + e - t.getDay() - 1) % 7 + 1), i.setHours(8, 0, 0, 0), i;
145
145
  }
146
- function E(t) {
146
+ function N(t) {
147
147
  const e = new Date(t.getTime());
148
148
  return e.setDate(e.getDate() + 1), e.setHours(10, 0, 0, 0), e;
149
149
  }
150
- let b = E(/* @__PURE__ */ new Date()), C = N(/* @__PURE__ */ new Date(), 1);
150
+ let b = N(/* @__PURE__ */ new Date()), C = E(/* @__PURE__ */ new Date(), 1);
151
151
  const he = {
152
152
  name: "DocumentSendLater",
153
153
  i18nOptions: {
@@ -232,7 +232,7 @@ const he = {
232
232
  }
233
233
  },
234
234
  created() {
235
- b = E(/* @__PURE__ */ new Date()), C = N(/* @__PURE__ */ new Date(), 1);
235
+ b = N(/* @__PURE__ */ new Date()), C = E(/* @__PURE__ */ new Date(), 1);
236
236
  },
237
237
  methods: {
238
238
  setTime(t) {
@@ -983,7 +983,7 @@ var Re = function() {
983
983
  null,
984
984
  null
985
985
  );
986
- const ci = ze.exports, Ne = {
986
+ const ci = ze.exports, Ee = {
987
987
  name: "CFormField",
988
988
  components: {
989
989
  CField: z
@@ -998,12 +998,12 @@ const ci = ze.exports, Ne = {
998
998
  }
999
999
  }
1000
1000
  };
1001
- var Ee = function() {
1001
+ var Ne = function() {
1002
1002
  var e = this, i = e._self._c;
1003
1003
  return i("CField", e._b({ attrs: { label: e.label, "custom-class": e.customClass, type: e.type, message: e.firstErrorMessage } }, "CField", { ...e.$attrs, ...e.$props }, !1), [e._t("default")], 2);
1004
1004
  }, Le = [], He = /* @__PURE__ */ o(
1005
- Ne,
1006
1005
  Ee,
1006
+ Ne,
1007
1007
  Le,
1008
1008
  !1,
1009
1009
  null,
@@ -2231,17 +2231,17 @@ var zt = function() {
2231
2231
  }, function(s) {
2232
2232
  return !s.type.indexOf("key") && e._k(s.keyCode, "end", void 0, s.key, void 0) ? null : (s.preventDefault(), e.onEndKeyDown.apply(null, arguments));
2233
2233
  }] } }, "div", e.$attrs, !1))]);
2234
- }, Nt = [], Et = /* @__PURE__ */ o(
2234
+ }, Et = [], Nt = /* @__PURE__ */ o(
2235
2235
  Mt,
2236
2236
  zt,
2237
- Nt,
2237
+ Et,
2238
2238
  !1,
2239
2239
  null,
2240
2240
  null,
2241
2241
  null,
2242
2242
  null
2243
2243
  );
2244
- const Lt = Et.exports, Ht = {
2244
+ const Lt = Nt.exports, Ht = {
2245
2245
  name: "CSliderTick",
2246
2246
  props: {
2247
2247
  value: {
@@ -1,4 +1,4 @@
1
- import { V as s } from "./main-0530c048.js";
1
+ import { V as s } from "./main-b72127b8.js";
2
2
  const e = s.observable({
3
3
  isFixed: !1,
4
4
  // Worded according to CSS property (show as fixed drawer)
@@ -1,4 +1,4 @@
1
- import { h as n } from "./main-0530c048.js";
1
+ import { h as n } from "./main-b72127b8.js";
2
2
  import { s as l } from "./dom-962579a6.js";
3
3
  const s = (r) => {
4
4
  var i;
@@ -1,4 +1,4 @@
1
- import { c as n } from "./main-0530c048.js";
1
+ import { c as n } from "./main-b72127b8.js";
2
2
  const i = (s, t = {}) => {
3
3
  if (!s || !s.startsWith("https://images.unsplash.com/") || !Object.keys(t || {}).length)
4
4
  return s;
@@ -1,5 +1,5 @@
1
- import { g as n } from "./image-6e71d7fa.js";
2
- import { n as s } from "./main-0530c048.js";
1
+ import { g as n } from "./image-7f7c16da.js";
2
+ import { n as s } from "./main-b72127b8.js";
3
3
  const o = {
4
4
  name: "DocumentGuide",
5
5
  i18nOptions: {
@@ -1,5 +1,5 @@
1
1
  import { v as pe } from "./index-805c56e4.js";
2
- import { T as Q } from "./main-0530c048.js";
2
+ import { W as T } from "./main-b72127b8.js";
3
3
  var P = {}, f = {}, b = {}, O = {};
4
4
  Object.defineProperty(O, "__esModule", {
5
5
  value: !0
@@ -12,7 +12,7 @@ function h(e) {
12
12
  return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r;
13
13
  }, h(e);
14
14
  }
15
- var X = typeof window < "u" ? window : typeof Q < "u" ? Q : {}, he = function(t, r) {
15
+ var X = typeof window < "u" ? window : typeof T < "u" ? T : {}, he = function(t, r) {
16
16
  return h(t) === "object" && r !== void 0 ? r : t(function() {
17
17
  });
18
18
  }, Pe = X.vuelidate ? X.vuelidate.withParams : he;
@@ -132,10 +132,10 @@ var x = f, Le = (0, x.withParams)({
132
132
  if (typeof e != "string")
133
133
  return !1;
134
134
  var t = e.split(".");
135
- return t.length === 4 && t.every(Re);
135
+ return t.length === 4 && t.every(We);
136
136
  });
137
137
  M.default = Le;
138
- var Re = function(t) {
138
+ var We = function(t) {
139
139
  if (t.length > 3 || t.length === 0 || t[0] === "0" && t !== "0" || !t.match(/^\d+$/))
140
140
  return !1;
141
141
  var r = +t | 0;
@@ -145,7 +145,7 @@ Object.defineProperty(A, "__esModule", {
145
145
  value: !0
146
146
  });
147
147
  A.default = void 0;
148
- var k = f, We = function() {
148
+ var k = f, Re = function() {
149
149
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ":";
150
150
  return (0, k.withParams)({
151
151
  type: "macAddress"
@@ -158,7 +158,7 @@ var k = f, We = function() {
158
158
  return u !== null && (u.length === 6 || u.length === 8) && u.every(Ne);
159
159
  });
160
160
  };
161
- A.default = We;
161
+ A.default = Re;
162
162
  var Ne = function(t) {
163
163
  return t.toLowerCase().match(/^[0-9a-f]{2}$/);
164
164
  }, S = {};
@@ -166,12 +166,12 @@ Object.defineProperty(S, "__esModule", {
166
166
  value: !0
167
167
  });
168
168
  S.default = void 0;
169
- var T = f, Ie = function(t) {
170
- return (0, T.withParams)({
169
+ var E = f, Ie = function(t) {
170
+ return (0, E.withParams)({
171
171
  type: "maxLength",
172
172
  max: t
173
173
  }, function(r) {
174
- return !(0, T.req)(r) || (0, T.len)(r) <= t;
174
+ return !(0, E.req)(r) || (0, E.len)(r) <= t;
175
175
  });
176
176
  };
177
177
  S.default = Ie;
@@ -180,12 +180,12 @@ Object.defineProperty(V, "__esModule", {
180
180
  value: !0
181
181
  });
182
182
  V.default = void 0;
183
- var E = f, Ue = function(t) {
184
- return (0, E.withParams)({
183
+ var F = f, Ue = function(t) {
184
+ return (0, F.withParams)({
185
185
  type: "minLength",
186
186
  min: t
187
187
  }, function(r) {
188
- return !(0, E.req)(r) || (0, E.len)(r) >= t;
188
+ return !(0, F.req)(r) || (0, F.len)(r) >= t;
189
189
  });
190
190
  };
191
191
  V.default = Ue;
@@ -194,10 +194,10 @@ Object.defineProperty(z, "__esModule", {
194
194
  value: !0
195
195
  });
196
196
  z.default = void 0;
197
- var F = f, Ze = (0, F.withParams)({
197
+ var H = f, Ze = (0, H.withParams)({
198
198
  type: "required"
199
199
  }, function(e) {
200
- return typeof e == "string" ? (0, F.req)(e.trim()) : (0, F.req)(e);
200
+ return typeof e == "string" ? (0, H.req)(e.trim()) : (0, H.req)(e);
201
201
  });
202
202
  z.default = Ze;
203
203
  var D = {};
@@ -205,12 +205,12 @@ Object.defineProperty(D, "__esModule", {
205
205
  value: !0
206
206
  });
207
207
  D.default = void 0;
208
- var H = f, Ce = function(t) {
209
- return (0, H.withParams)({
208
+ var J = f, Ce = function(t) {
209
+ return (0, J.withParams)({
210
210
  type: "requiredIf",
211
211
  prop: t
212
212
  }, function(r, u) {
213
- return (0, H.ref)(t, this, u) ? (0, H.req)(r) : !0;
213
+ return (0, J.ref)(t, this, u) ? (0, J.req)(r) : !0;
214
214
  });
215
215
  };
216
216
  D.default = Ce;
@@ -219,20 +219,20 @@ Object.defineProperty(L, "__esModule", {
219
219
  value: !0
220
220
  });
221
221
  L.default = void 0;
222
- var J = f, Be = function(t) {
223
- return (0, J.withParams)({
222
+ var K = f, Be = function(t) {
223
+ return (0, K.withParams)({
224
224
  type: "requiredUnless",
225
225
  prop: t
226
226
  }, function(r, u) {
227
- return (0, J.ref)(t, this, u) ? !0 : (0, J.req)(r);
227
+ return (0, K.ref)(t, this, u) ? !0 : (0, K.req)(r);
228
228
  });
229
229
  };
230
230
  L.default = Be;
231
- var R = {};
232
- Object.defineProperty(R, "__esModule", {
231
+ var W = {};
232
+ Object.defineProperty(W, "__esModule", {
233
233
  value: !0
234
234
  });
235
- R.default = void 0;
235
+ W.default = void 0;
236
236
  var ee = f, Ge = function(t) {
237
237
  return (0, ee.withParams)({
238
238
  type: "sameAs",
@@ -241,23 +241,23 @@ var ee = f, Ge = function(t) {
241
241
  return r === (0, ee.ref)(t, this, u);
242
242
  });
243
243
  };
244
- R.default = Ge;
245
- var W = {};
246
- Object.defineProperty(W, "__esModule", {
244
+ W.default = Ge;
245
+ var R = {};
246
+ Object.defineProperty(R, "__esModule", {
247
247
  value: !0
248
248
  });
249
- W.default = void 0;
250
- var Te = 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, Te.regex)("url", Ee);
251
- W.default = Fe;
249
+ R.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
+ R.default = He;
252
252
  var N = {};
253
253
  Object.defineProperty(N, "__esModule", {
254
254
  value: !0
255
255
  });
256
256
  N.default = void 0;
257
- var He = f, Je = function() {
257
+ var Je = 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, He.withParams)({
260
+ return (0, Je.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++)
@@ -267,16 +267,16 @@ var He = f, Je = function() {
267
267
  }, !1);
268
268
  });
269
269
  };
270
- N.default = Je;
270
+ N.default = Ke;
271
271
  var I = {};
272
272
  Object.defineProperty(I, "__esModule", {
273
273
  value: !0
274
274
  });
275
275
  I.default = void 0;
276
- var Ke = f, Qe = function() {
276
+ var Qe = f, Te = function() {
277
277
  for (var t = arguments.length, r = new Array(t), u = 0; u < t; u++)
278
278
  r[u] = arguments[u];
279
- return (0, Ke.withParams)({
279
+ return (0, Qe.withParams)({
280
280
  type: "and"
281
281
  }, function() {
282
282
  for (var _ = this, m = arguments.length, v = new Array(m), o = 0; o < m; o++)
@@ -286,7 +286,7 @@ var Ke = f, Qe = function() {
286
286
  }, !0);
287
287
  });
288
288
  };
289
- I.default = Qe;
289
+ I.default = Te;
290
290
  var U = {};
291
291
  Object.defineProperty(U, "__esModule", {
292
292
  value: !0
@@ -458,13 +458,13 @@ 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(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);
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(W), ie = i(R), 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
- function K() {
463
+ function Q() {
464
464
  if (typeof WeakMap != "function")
465
465
  return null;
466
466
  var n = /* @__PURE__ */ new WeakMap();
467
- return K = function() {
467
+ return Q = function() {
468
468
  return n;
469
469
  }, n;
470
470
  }
@@ -473,7 +473,7 @@ G.default = rt;
473
473
  return n;
474
474
  if (n === null || t(n) !== "object" && typeof n != "function")
475
475
  return { default: n };
476
- var s = K();
476
+ var s = Q();
477
477
  if (s && s.has(n))
478
478
  return s.get(n);
479
479
  var c = {}, ge = Object.defineProperty && Object.getOwnPropertyDescriptor;
@@ -1,9 +1,9 @@
1
- import { C as u, P, a as C, I, s as c } from "./IsPremiumPreStep-367dd957.js";
2
- import "./main-0530c048.js";
1
+ import { C as u, P, a as C, I, s as c } from "./IsPremiumPreStep-5760ca12.js";
2
+ import "./main-b72127b8.js";
3
3
  import "./vuex.esm-4a0fff7c.js";
4
4
  import "./anime.es-e284c852.js";
5
- import "./image-6e71d7fa.js";
6
- import "./index-a390debd.js";
5
+ import "./image-7f7c16da.js";
6
+ import "./index-1cf2de3c.js";
7
7
  import "./index-805c56e4.js";
8
8
  import "./dom-962579a6.js";
9
9
  export {
@@ -1,4 +1,4 @@
1
- import { g as s, H as l, n as r, V as a } from "./main-0530c048.js";
1
+ import { g as s, J as l, n as r, V as a } from "./main-b72127b8.js";
2
2
  import { m as d, a as p } from "./vuex.esm-4a0fff7c.js";
3
3
  const c = {
4
4
  name: "ClientLinks",
@@ -1,15 +1,16 @@
1
1
  import { m as f, a as m, b as _ } from "./vuex.esm-4a0fff7c.js";
2
- import { n as o, z as v, S as h, g as l, h as i } from "./main-0530c048.js";
3
- import { w as d } from "./CDropdownItem-d04a1369.js";
4
- import { S as x } from "./CSlider.vue_vue_type_style_index_0_lang-5301a1aa.js";
5
- import { B as p } from "./DocTextEditor-9b95e95a.js";
2
+ import { n as o, A as v, S as h, g as l, h as i } from "./main-b72127b8.js";
3
+ import { w as d } from "./CDropdownItem-52cf4f0e.js";
4
+ import { S as x } from "./CSlider.vue_vue_type_style_index_0_lang-42fea525.js";
5
+ import { B as p } from "./DocTextEditor-2bb318af.js";
6
6
  import { v as r } from "./index-805c56e4.js";
7
- import "./tippy.esm-8368093c.js";
8
- import "./ColorPicker-f53737c4.js";
9
- import "./DocumentLayout-abef4251.js";
7
+ import "./tippy.esm-0ef95919.js";
8
+ import "./ColorPicker-043d7a04.js";
9
+ import "./DocumentLayout-11af5e3b.js";
10
+ import "./debounce-62af9d61.js";
10
11
  import "./dom-962579a6.js";
11
12
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
12
- import "./ManualPopover-2bdd12a2.js";
13
+ import "./ManualPopover-814d1319.js";
13
14
  import "./color-71c20583.js";
14
15
  const g = {
15
16
  props: {
@@ -236,7 +237,7 @@ var M = function() {
236
237
  null
237
238
  );
238
239
  const w = F.exports;
239
- const k = {
240
+ const A = {
240
241
  name: "TextTemplatesModal",
241
242
  components: {
242
243
  SmartList: x,
@@ -286,7 +287,7 @@ const k = {
286
287
  }
287
288
  }
288
289
  };
289
- var q = function() {
290
+ var k = function() {
290
291
  var e = this, t = e._self._c;
291
292
  return t("SmartList", { attrs: { items: e.templates, "sort-key": "position", query: e.query }, scopedSlots: e._u([{ key: "default", fn: function({ items: a }) {
292
293
  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) {
@@ -301,10 +302,10 @@ var q = function() {
301
302
  } } }, [e._v(" " + e._s(n.name) + " ")]);
302
303
  }), 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)])])];
303
304
  } }]) });
304
- }, A = [], L = /* @__PURE__ */ o(
305
+ }, q = [], L = /* @__PURE__ */ o(
306
+ A,
305
307
  k,
306
308
  q,
307
- A,
308
309
  !1,
309
310
  null,
310
311
  "dee4a01c",
@@ -358,7 +359,7 @@ var I = function() {
358
359
  null,
359
360
  null
360
361
  );
361
- const Y = G.exports;
362
+ const Z = G.exports;
362
363
  export {
363
- Y as default
364
+ Z as default
364
365
  };
@@ -1,8 +1,9 @@
1
- import { w as a, d as o } from "./CDropdownItem-d04a1369.js";
2
- import { t as c } from "./throttle-be2144d7.js";
3
- import { n } from "./main-0530c048.js";
4
- import { i as d } from "./dom-962579a6.js";
5
- import { s as u } from "./simplebar.min-7f44680f.js";
1
+ import { d as o } from "./debounce-62af9d61.js";
2
+ import { t as a } from "./throttle-040bd305.js";
3
+ import { n } from "./main-b72127b8.js";
4
+ import { i as c } from "./dom-962579a6.js";
5
+ import { w as d } from "./CDropdownItem-52cf4f0e.js";
6
+ import { s as u } from "./simplebar.min-c28f1a61.js";
6
7
  const f = {
7
8
  name: "BackgroundsModalList",
8
9
  i18nOptions: {
@@ -48,7 +49,7 @@ const f = {
48
49
  default: ""
49
50
  }
50
51
  },
51
- mixins: [a],
52
+ mixins: [d],
52
53
  data() {
53
54
  return {
54
55
  hoverIndex: null,
@@ -85,9 +86,9 @@ const f = {
85
86
  const i = this.query ? this.query : this.defaultQuery, { items: e, total: t } = await this.fetch({ query: i, page: this.page++ });
86
87
  this.isLoading = !1, this.noOfResults = this.query ? t : null, this.items == null ? (this.selectedIndex = null, this.items = e) : this.items = [...this.items, ...e], this.allowMoreResults = t >= this.page * 12;
87
88
  },
88
- scrollHandler: c(async function() {
89
+ scrollHandler: a(async function() {
89
90
  const e = this.$refs.item[this.$refs.item.length - 9 || 0];
90
- e && d(e) && this.handleFetch();
91
+ e && c(e) && this.handleFetch();
91
92
  }, 50),
92
93
  selectItem(i, e) {
93
94
  this.selectedIndex = e, this.$emit("select", i);
@@ -121,17 +122,17 @@ var h = function() {
121
122
  })], 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
123
  return [t("CButton", { staticStyle: { "margin-left": "0.5em" }, attrs: { type: "secondary" }, on: { click: e.onSave } }, [e._v(" " + e._s(e.$t("_common:save")) + " ")])];
123
124
  })], 2)]);
124
- }, p = [], m = /* @__PURE__ */ n(
125
+ }, m = [], p = /* @__PURE__ */ n(
125
126
  f,
126
127
  h,
127
- p,
128
+ m,
128
129
  !1,
129
130
  null,
130
131
  "90a095d8",
131
132
  null,
132
133
  null
133
134
  );
134
- const _ = m.exports;
135
+ const _ = p.exports;
135
136
  const v = {
136
137
  name: "BackgroundsModal"
137
138
  };
@@ -150,8 +151,8 @@ var y = function() {
150
151
  null,
151
152
  null
152
153
  );
153
- const w = x.exports, C = _, L = w;
154
+ const w = x.exports, L = _, R = w;
154
155
  export {
155
- L as B,
156
- C as a
156
+ R as B,
157
+ L as a
157
158
  };