@cling-se/widget 0.19.6 → 0.19.8

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 (130) hide show
  1. package/CHANGELOG.md +15 -1
  2. package/dist/{AddClientCallout-DtVRTCr_.js → AddClientCallout-sPxYX5tQ.js} +18 -18
  3. package/dist/{AnswerModal-ClyWtHBj.js → AnswerModal-o8OHHulg.js} +80 -80
  4. package/dist/{AttachmentItem-COoLlAum.js → AttachmentItem-CzzOlHB-.js} +16 -16
  5. package/dist/{BaseUpload-DlaYaxxr.js → BaseUpload-oZQfFwOj.js} +256 -256
  6. package/dist/{BlockMedia-IMu4YO3J.js → BlockMedia-BGPxfM2X.js} +16 -16
  7. package/dist/{CCallout-C32zwICP.js → CCallout-CrbMGTIj.js} +15 -15
  8. package/dist/{CCurrencyDropdown-D4ZxTioo.js → CCurrencyDropdown-BnNDP51j.js} +13 -13
  9. package/dist/{CDropdownItem-BuQONogL.js → CDropdownItem-E-kRDIiy.js} +6 -6
  10. package/dist/{CFormField.vue_vue_type_script_setup_true_lang-KdkAe_wn.js → CFormField.vue_vue_type_script_setup_true_lang-Bi0MjQdW.js} +25 -25
  11. package/dist/{CPhoneFormat-C2K78cmZ.js → CPhoneFormat-CIQAVdsB.js} +1 -1
  12. package/dist/{CPhoneInput-DolVFzrL.js → CPhoneInput-9AwTJm-0.js} +21 -21
  13. package/dist/{CPriceInput-SbRlrDnD.js → CPriceInput-agFahtr1.js} +11 -11
  14. package/dist/CSelect-BpautzPq.js +129 -0
  15. package/dist/CSkeleton-GIqd-JU4.js +47 -0
  16. package/dist/{ClientAutocomplete-vgxEGqNU.js → ClientAutocomplete-DOHX9Igy.js} +26 -26
  17. package/dist/{ClientModal-B8ip7v99.js → ClientModal-DAXKN_b3.js} +35 -35
  18. package/dist/{ColorPicker-BrfM9S1s.js → ColorPicker-B9F8znY_.js} +82 -82
  19. package/dist/{CompanyModal-DJZezqM5.js → CompanyModal-BvIMVys6.js} +27 -27
  20. package/dist/{ContentWrapper-zJ4MCnSC.js → ContentWrapper-DB22RaUr.js} +24 -24
  21. package/dist/{CoverBlockSettings-Cz0NUYXX.js → CoverBlockSettings--l4fH9mr.js} +32 -32
  22. package/dist/{DocAnswer-EWarWnbt.js → DocAnswer-Bq-4uVbe.js} +4 -4
  23. package/dist/{DocDetails-CGHN3tbO.js → DocDetails-yxmchgO5.js} +59 -59
  24. package/dist/{DocForm-BLTap-Bb.js → DocForm-CzrR8o22.js} +1208 -1180
  25. package/dist/{DocFormSend-_jCPFI9r.js → DocFormSend-Bjc1QDcK.js} +11 -11
  26. package/dist/{DocLinks-D9Ok4HvN.js → DocLinks-BXbC-6v3.js} +6 -6
  27. package/dist/{DocModalBase-fQz5UuCF.js → DocModalBase-axX_Rlp3.js} +1 -1
  28. package/dist/{DocPrint-Cua_U7zt.js → DocPrint-D0IdWsUM.js} +19 -19
  29. package/dist/{DocReceipt-Cg2hiSby.js → DocReceipt-4e-RmgeQ.js} +19 -19
  30. package/dist/{DocSendReminder-Dh7G9kbZ.js → DocSendReminder-L35eZxgk.js} +12 -12
  31. package/dist/{DocTextEditor-Ds4Cbg-2.js → DocTextEditor-KrfylSV6.js} +4493 -4435
  32. package/dist/{DocTimeline-DpWUMwJE.js → DocTimeline-Be5CvtcQ.js} +18 -18
  33. package/dist/{DocumentClient-DUqHQVSe.js → DocumentClient-Bc4kf2q9.js} +10 -10
  34. package/dist/DocumentLayout-Oe-ZsHML.js +595 -0
  35. package/dist/{DocumentLogotype-BiekV9-j.js → DocumentLogotype-BFo5UEWS.js} +20 -20
  36. package/dist/{DocumentVoided-D_YMyeV8.js → DocumentVoided-DlQtlO7G.js} +7 -7
  37. package/dist/{EmbedInput-Crx-LEGc.js → EmbedInput-B29usQZZ.js} +10 -10
  38. package/dist/{EmbedSettings-xIGtEN7L.js → EmbedSettings-D-9rcSn0.js} +16 -16
  39. package/dist/{ErrorCallout-D_fUVD4I.js → ErrorCallout--EnH1Ezu.js} +9 -9
  40. package/dist/{FilePreviewModal-av2lE91B.js → FilePreviewModal-H5Ilg9xN.js} +9 -9
  41. package/dist/{Flag-CI52SH_9.js → Flag-DgZVh3Lf.js} +4 -4
  42. package/dist/{HeaderSettings-Ip634NWe.js → HeaderSettings-HuM_JwJw.js} +27 -27
  43. package/dist/{ImageSelectModal-DNtR86H7.js → ImageSelectModal-CJ-DstAf.js} +14 -14
  44. package/dist/{ImageUploadWrapper-Co43CWCP.js → ImageUploadWrapper-TYs37LIQ.js} +76 -76
  45. package/dist/{Index-C6KPbnAq.js → Index-6N_iRlrQ.js} +10 -10
  46. package/dist/{Index-bvCcp9l6.js → Index-B-PDcQKh.js} +34 -34
  47. package/dist/{Index-CTQyX_63.js → Index-B942Auag.js} +2 -2
  48. package/dist/{Index-4ZURK6a8.js → Index-BLdFyt-s.js} +12 -12
  49. package/dist/{Index-CZqJYh7u.js → Index-BMpHXgR4.js} +16 -16
  50. package/dist/{Index-DGwF2cvQ.js → Index-BZ6ZDf9T.js} +11 -11
  51. package/dist/{Index-Ci_PUYqE.js → Index-BdnFLjgV.js} +11 -11
  52. package/dist/{Index-BdW5_mV-.js → Index-BeOtRIzZ.js} +21 -21
  53. package/dist/Index-BsRxY7vc.js +21 -0
  54. package/dist/{Index-xVX7aGXv.js → Index-CAMAtPVL.js} +6 -6
  55. package/dist/{Index-uDG1i8F-.js → Index-CC4E2CmH.js} +11 -11
  56. package/dist/{Index-CJi8Remu.js → Index-CGus-YwW.js} +26 -26
  57. package/dist/{Index-C-Suk6Qs.js → Index-CLgN5Jzf.js} +3 -3
  58. package/dist/{Index-C92jPUcy.js → Index-CTlB43yV.js} +7 -7
  59. package/dist/{Index-CmLvcWe3.js → Index-CY2sRfaY.js} +194 -218
  60. package/dist/{Index-PzcQhAgF.js → Index-CnrSvy6E.js} +2 -2
  61. package/dist/{Index-Bgm5PHos.js → Index-CrdSdXWN.js} +18 -18
  62. package/dist/{Index-Bj81gIof.js → Index-CtJfMiZW.js} +2 -2
  63. package/dist/Index-D4HNTocO.js +4 -0
  64. package/dist/{Index-chiZsMLh.js → Index-D5_GLLQH.js} +507 -512
  65. package/dist/{Index-DOiPKAhk.js → Index-D9sceHk5.js} +17 -17
  66. package/dist/{Index-CV5RbQn5.js → Index-DJ11Zra_.js} +42 -42
  67. package/dist/{Index-DQbbxV0m.js → Index-DMIjuWSa.js} +9 -9
  68. package/dist/{Index-BMwBpYpa.js → Index-DTm59e-A.js} +11 -11
  69. package/dist/{Index-CxAd29-m.js → Index-DXT_IMjq.js} +8 -8
  70. package/dist/{Index-BF1bZUso.js → Index-DYUvtCff.js} +8 -8
  71. package/dist/{Index-DKuTOk0t.js → Index-DYW8T0Hl.js} +18 -18
  72. package/dist/{Index-DWIpdRX-.js → Index-Dg4dwlh_.js} +59 -58
  73. package/dist/{Index-DOCeODtL.js → Index-N88Abomf.js} +11 -11
  74. package/dist/{Index-BY2kaUsM.js → Index-W-Q19E3a.js} +7 -7
  75. package/dist/{Index-DwIfORsz.js → Index-edWEg_rF.js} +29 -29
  76. package/dist/{Index-DlGSVN83.js → Index-nRqNPZ3B.js} +18 -18
  77. package/dist/{Index-CeJRMtmh.js → Index-nTp9wEni.js} +7 -7
  78. package/dist/{Index-D_X2OZA3.js → Index-yJRtT77X.js} +2 -2
  79. package/dist/{Index.vue_vue_type_script_lang-WK-YdZ30.js → Index.vue_vue_type_script_lang-PJPQMT2c.js} +2 -2
  80. package/dist/{InputToggleRow-CWvEi0HF.js → InputToggleRow-DCr_DEm4.js} +9 -9
  81. package/dist/{ManualPopover-BSX3bOr0.js → ManualPopover-CpVsmQvn.js} +4 -4
  82. package/dist/{MediaWrapper-D8BXMoDz.js → MediaWrapper-Cj3LBhdR.js} +4 -4
  83. package/dist/{NotBindingText-V-8_5Pln.js → NotBindingText-1J0p_k4u.js} +5 -5
  84. package/dist/{PackageGroup-BN5njJA7.js → PackageGroup-CqrWEfCT.js} +17 -17
  85. package/dist/{PdfTerms-DarzYw1g.js → PdfTerms-DmrPDtae.js} +6 -6
  86. package/dist/{PdfViewer-DYN758PA.js → PdfViewer-C2EEwUBa.js} +37 -37
  87. package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-B3g18l5G.js → PlainHtml.vue_vue_type_script_setup_true_lang-B6pRo08V.js} +2 -2
  88. package/dist/{PriceHeader-B7QoQ2ZO.js → PriceHeader-BaREzUxI.js} +32 -32
  89. package/dist/{SearchApi-rcvoh3Av.js → SearchApi-Bf4jeQVr.js} +6 -6
  90. package/dist/{SendForm-DHRq76pb.js → SendForm-D5qpHxNU.js} +713 -711
  91. package/dist/{Setup-BWMY9S__.js → Setup-Bw8ViFxw.js} +4 -4
  92. package/dist/{SmartList-BpNfmUMA.js → SmartList-CzylvV8N.js} +1 -1
  93. package/dist/{Sortable.vue_vue_type_script_setup_true_lang-B_f6Nh_O.js → Sortable.vue_vue_type_script_setup_true_lang-DleoAiSK.js} +92 -92
  94. package/dist/{TermsSettings-BTv1dj63.js → TermsSettings-EoJvsPqK.js} +20 -20
  95. package/dist/{ThemeColorRow-r1ECSrBU.js → ThemeColorRow-D3blQMiD.js} +12 -12
  96. package/dist/{ToggleBinding-BBF1duBh.js → ToggleBinding-BteBsRYr.js} +7 -7
  97. package/dist/{UploadModal-B_l6gvuJ.js → UploadModal-Cr5sF3M-.js} +19 -19
  98. package/dist/{VideoPlayerInput-8e9ooR1p.js → VideoPlayerInput-BBycKv9w.js} +5 -5
  99. package/dist/{VideoPlayerSettings-CFOPAFlE.js → VideoPlayerSettings-BXXpTWBf.js} +12 -12
  100. package/dist/{VideoSelectModal-QWkNrFQC.js → VideoSelectModal-B2VPO6q4.js} +15 -15
  101. package/dist/{focusDrawerMixin-hy76kTBG.js → focusDrawerMixin-CCAEZjWO.js} +1 -1
  102. package/dist/{formDrawerState-s4ySD850.js → formDrawerState-CJyP4ce1.js} +1 -1
  103. package/dist/{helpers-BHIbXt8q.js → helpers-Cf9s0P7o.js} +3 -3
  104. package/dist/{index-Dbe2ueXc.js → index-C3pnyYI4.js} +90 -90
  105. package/dist/{index-CGXCI2G7.js → index-CBn1mHmK.js} +36 -36
  106. package/dist/{index-BTw8ZC8k.js → index-DAJmNac8.js} +6 -6
  107. package/dist/{index-DpubWmXg.js → index-DYJN9yoF.js} +37 -37
  108. package/dist/{index-ByEyJueq.js → index-DuXECcGq.js} +31 -31
  109. package/dist/{index-Cwf2aXw3.js → index-XzoHqJIR.js} +9 -9
  110. package/dist/{index-DjHfCViH.js → index-_MfZEYgE.js} +28 -27
  111. package/dist/index.es.js +2 -2
  112. package/dist/index.umd.js +154 -159
  113. package/dist/{main-WDVYC60Z.js → main-BayUZ9OO.js} +14904 -14950
  114. package/dist/{mapFormMixin-B8xN9LiX.js → mapFormMixin-Bx5_nE7g.js} +36 -42
  115. package/dist/omit-BKJdPM2H.js +56 -0
  116. package/dist/{publicSenderState-CtB0-WJX.js → publicSenderState-CblTasKp.js} +3 -3
  117. package/dist/{splitpanes-CwgWVXfp.js → splitpanes-DFkgBT3z.js} +6 -6
  118. package/dist/{template-fVxhQbOu.js → template-CvGgzazD.js} +5 -5
  119. package/dist/{tippy.esm-Ikv5_i_g.js → tippy.esm-CYKcJaqz.js} +222 -224
  120. package/dist/{useTermsModal-DxXjznop.js → useTermsModal-DFmdeFRm.js} +5 -5
  121. package/dist/{utils-fXD4AHot.js → utils-DTwXcY8_.js} +1 -1
  122. package/dist/{validation-Bf4rZ8pa.js → validation-d_jonAPy.js} +4 -4
  123. package/dist/widget.css +1 -1
  124. package/package.json +2 -2
  125. package/dist/CSelect-BQsWYh8F.js +0 -98
  126. package/dist/CSkeleton.vue_vue_type_script_setup_true_lang-aq47QhPF.js +0 -51
  127. package/dist/DocumentLayout-Bth5tpry.js +0 -1434
  128. package/dist/Index-CFSuI-QL.js +0 -21
  129. package/dist/Index-DHzaqQH0.js +0 -4
  130. package/dist/omit-BhJ-wiH8.js +0 -56
@@ -1,4 +1,4 @@
1
- import { o as f, b as m, l as k, e as S, s as h, d as v, O as R, bX as ee, v as Y, n as J, c as U, f as p, P as T, _ as te } from "./main-WDVYC60Z.js";
1
+ import { d as m, o as f, W as k, b as S, j as h, f as v, u as R, c2 as ee, t as Y, x as J, e as p, c as U, v as T, _ as te } from "./main-BayUZ9OO.js";
2
2
  const re = "";
3
3
  function H(e, t) {
4
4
  t === void 0 && (t = {});
@@ -63,8 +63,8 @@ function ae(e, t, r, n, a, i) {
63
63
  /* STYLE */
64
64
  );
65
65
  }
66
- var se = ".vc-checkerboard{background-size:contain;bottom:0;left:0;position:absolute;right:0;top:0}";
67
- H(se);
66
+ var oe = ".vc-checkerboard{background-size:contain;bottom:0;left:0;position:absolute;right:0;top:0}";
67
+ H(oe);
68
68
  E.render = ae;
69
69
  E.__file = "src/components/checkboard/checkboard.vue";
70
70
  E.install = A;
@@ -92,13 +92,13 @@ var D = {
92
92
  const { container: r } = this.$refs;
93
93
  if (!r)
94
94
  return;
95
- const n = r.clientWidth, a = r.getBoundingClientRect().left + window.pageXOffset, s = (e.pageX || (e.touches ? e.touches[0].pageX : 0)) - a;
96
- let o;
97
- s < 0 ? o = 0 : s > n ? o = 1 : o = Math.round(s * 100 / n) / 100, this.colors.a !== o && this.$emit("change", {
95
+ const n = r.clientWidth, a = r.getBoundingClientRect().left + window.pageXOffset, o = (e.pageX || (e.touches ? e.touches[0].pageX : 0)) - a;
96
+ let s;
97
+ o < 0 ? s = 0 : o > n ? s = 1 : s = Math.round(o * 100 / n) / 100, this.colors.a !== s && this.$emit("change", {
98
98
  h: this.colors.hsl.h,
99
99
  s: this.colors.hsl.s,
100
100
  l: this.colors.hsl.l,
101
- a: o,
101
+ a: s,
102
102
  source: "rgba"
103
103
  });
104
104
  },
@@ -113,7 +113,7 @@ var D = {
113
113
  }
114
114
  }
115
115
  };
116
- const oe = { class: "vc-alpha" }, he = { class: "vc-alpha-checkboard-wrap" }, le = /* @__PURE__ */ h(
116
+ const se = { class: "vc-alpha" }, he = { class: "vc-alpha-checkboard-wrap" }, le = /* @__PURE__ */ h(
117
117
  "div",
118
118
  { class: "vc-alpha-picker" },
119
119
  null,
@@ -123,10 +123,10 @@ const oe = { class: "vc-alpha" }, he = { class: "vc-alpha-checkboard-wrap" }, le
123
123
  le
124
124
  ];
125
125
  function ue(e, t, r, n, a, i) {
126
- const s = S("Checkboard");
127
- return f(), m("div", oe, [
126
+ const o = S("Checkboard");
127
+ return f(), m("div", se, [
128
128
  h("div", he, [
129
- v(s)
129
+ v(o)
130
130
  ]),
131
131
  h(
132
132
  "div",
@@ -143,9 +143,9 @@ function ue(e, t, r, n, a, i) {
143
143
  {
144
144
  ref: "container",
145
145
  class: "vc-alpha-container",
146
- onMousedown: t[0] || (t[0] = (...o) => i.handleMouseDown && i.handleMouseDown(...o)),
147
- onTouchmove: t[1] || (t[1] = (...o) => i.handleChange && i.handleChange(...o)),
148
- onTouchstart: t[2] || (t[2] = (...o) => i.handleChange && i.handleChange(...o))
146
+ onMousedown: t[0] || (t[0] = (...s) => i.handleMouseDown && i.handleMouseDown(...s)),
147
+ onTouchmove: t[1] || (t[1] = (...s) => i.handleChange && i.handleChange(...s)),
148
+ onTouchstart: t[2] || (t[2] = (...s) => i.handleChange && i.handleChange(...s))
149
149
  },
150
150
  [
151
151
  h(
@@ -201,12 +201,12 @@ function pe(e, t, r) {
201
201
  }
202
202
  function G(e, t, r) {
203
203
  e = d(e, 255), t = d(t, 255), r = d(r, 255);
204
- var n = Math.max(e, t, r), a = Math.min(e, t, r), i = 0, s = 0, o = (n + a) / 2;
204
+ var n = Math.max(e, t, r), a = Math.min(e, t, r), i = 0, o = 0, s = (n + a) / 2;
205
205
  if (n === a)
206
- s = 0, i = 0;
206
+ o = 0, i = 0;
207
207
  else {
208
208
  var u = n - a;
209
- switch (s = o > 0.5 ? u / (2 - n - a) : u / (n + a), n) {
209
+ switch (o = s > 0.5 ? u / (2 - n - a) : u / (n + a), n) {
210
210
  case e:
211
211
  i = (t - r) / u + (t < r ? 6 : 0);
212
212
  break;
@@ -219,7 +219,7 @@ function G(e, t, r) {
219
219
  }
220
220
  i /= 6;
221
221
  }
222
- return { h: i, s, l: o };
222
+ return { h: i, s: o, l: s };
223
223
  }
224
224
  function z(e, t, r) {
225
225
  return r < 0 && (r += 1), r > 1 && (r -= 1), r < 1 / 6 ? e + (t - e) * (6 * r) : r < 1 / 2 ? t : r < 2 / 3 ? e + (t - e) * (2 / 3 - r) * 6 : e;
@@ -229,35 +229,35 @@ function ve(e, t, r) {
229
229
  if (e = d(e, 360), t = d(t, 100), r = d(r, 100), t === 0)
230
230
  a = r, i = r, n = r;
231
231
  else {
232
- var s = r < 0.5 ? r * (1 + t) : r + t - r * t, o = 2 * r - s;
233
- n = z(o, s, e + 1 / 3), a = z(o, s, e), i = z(o, s, e - 1 / 3);
232
+ var o = r < 0.5 ? r * (1 + t) : r + t - r * t, s = 2 * r - o;
233
+ n = z(s, o, e + 1 / 3), a = z(s, o, e), i = z(s, o, e - 1 / 3);
234
234
  }
235
235
  return { r: n * 255, g: a * 255, b: i * 255 };
236
236
  }
237
237
  function q(e, t, r) {
238
238
  e = d(e, 255), t = d(t, 255), r = d(r, 255);
239
- var n = Math.max(e, t, r), a = Math.min(e, t, r), i = 0, s = n, o = n - a, u = n === 0 ? 0 : o / n;
239
+ var n = Math.max(e, t, r), a = Math.min(e, t, r), i = 0, o = n, s = n - a, u = n === 0 ? 0 : s / n;
240
240
  if (n === a)
241
241
  i = 0;
242
242
  else {
243
243
  switch (n) {
244
244
  case e:
245
- i = (t - r) / o + (t < r ? 6 : 0);
245
+ i = (t - r) / s + (t < r ? 6 : 0);
246
246
  break;
247
247
  case t:
248
- i = (r - e) / o + 2;
248
+ i = (r - e) / s + 2;
249
249
  break;
250
250
  case r:
251
- i = (e - t) / o + 4;
251
+ i = (e - t) / s + 4;
252
252
  break;
253
253
  }
254
254
  i /= 6;
255
255
  }
256
- return { h: i, s: u, v: s };
256
+ return { h: i, s: u, v: o };
257
257
  }
258
258
  function be(e, t, r) {
259
259
  e = d(e, 360) * 6, t = d(t, 100), r = d(r, 100);
260
- var n = Math.floor(e), a = e - n, i = r * (1 - t), s = r * (1 - a * t), o = r * (1 - (1 - a) * t), u = n % 6, x = [r, s, i, i, o, r][u], c = [o, r, r, s, i, i][u], l = [i, i, o, r, r, s][u];
260
+ var n = Math.floor(e), a = e - n, i = r * (1 - t), o = r * (1 - a * t), s = r * (1 - (1 - a) * t), u = n % 6, x = [r, o, i, i, s, r][u], c = [s, r, r, o, i, i][u], l = [i, i, s, r, r, o][u];
261
261
  return { r: x * 255, g: c * 255, b: l * 255 };
262
262
  }
263
263
  function K(e, t, r, n) {
@@ -293,7 +293,7 @@ function we(e) {
293
293
  b: e & 255
294
294
  };
295
295
  }
296
- var W = {
296
+ var P = {
297
297
  aliceblue: "#f0f8ff",
298
298
  antiquewhite: "#faebd7",
299
299
  aqua: "#00ffff",
@@ -444,24 +444,24 @@ var W = {
444
444
  yellowgreen: "#9acd32"
445
445
  };
446
446
  function ye(e) {
447
- var t = { r: 0, g: 0, b: 0 }, r = 1, n = null, a = null, i = null, s = !1, o = !1;
448
- return typeof e == "string" && (e = ke(e)), typeof e == "object" && (w(e.r) && w(e.g) && w(e.b) ? (t = pe(e.r, e.g, e.b), s = !0, o = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : w(e.h) && w(e.s) && w(e.v) ? (n = I(e.s), a = I(e.v), t = be(e.h, n, a), s = !0, o = "hsv") : w(e.h) && w(e.s) && w(e.l) && (n = I(e.s), i = I(e.l), t = ve(e.h, n, i), s = !0, o = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (r = e.a)), r = Q(r), {
449
- ok: s,
450
- format: e.format || o,
447
+ var t = { r: 0, g: 0, b: 0 }, r = 1, n = null, a = null, i = null, o = !1, s = !1;
448
+ return typeof e == "string" && (e = ke(e)), typeof e == "object" && (w(e.r) && w(e.g) && w(e.b) ? (t = pe(e.r, e.g, e.b), o = !0, s = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : w(e.h) && w(e.s) && w(e.v) ? (n = I(e.s), a = I(e.v), t = be(e.h, n, a), o = !0, s = "hsv") : w(e.h) && w(e.s) && w(e.l) && (n = I(e.s), i = I(e.l), t = ve(e.h, n, i), o = !0, s = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (r = e.a)), r = Q(r), {
449
+ ok: o,
450
+ format: e.format || s,
451
451
  r: Math.min(255, Math.max(t.r, 0)),
452
452
  g: Math.min(255, Math.max(t.g, 0)),
453
453
  b: Math.min(255, Math.max(t.b, 0)),
454
454
  a: r
455
455
  };
456
456
  }
457
- var Ce = "[-\\+]?\\d+%?", _e = "[-\\+]?\\d*\\.\\d+%?", C = "(?:".concat(_e, ")|(?:").concat(Ce, ")"), X = "[\\s|\\(]+(".concat(C, ")[,|\\s]+(").concat(C, ")[,|\\s]+(").concat(C, ")\\s*\\)?"), $ = "[\\s|\\(]+(".concat(C, ")[,|\\s]+(").concat(C, ")[,|\\s]+(").concat(C, ")[,|\\s]+(").concat(C, ")\\s*\\)?"), b = {
457
+ var Ce = "[-\\+]?\\d+%?", _e = "[-\\+]?\\d*\\.\\d+%?", C = "(?:".concat(_e, ")|(?:").concat(Ce, ")"), $ = "[\\s|\\(]+(".concat(C, ")[,|\\s]+(").concat(C, ")[,|\\s]+(").concat(C, ")\\s*\\)?"), j = "[\\s|\\(]+(".concat(C, ")[,|\\s]+(").concat(C, ")[,|\\s]+(").concat(C, ")[,|\\s]+(").concat(C, ")\\s*\\)?"), b = {
458
458
  CSS_UNIT: new RegExp(C),
459
- rgb: new RegExp("rgb" + X),
460
- rgba: new RegExp("rgba" + $),
461
- hsl: new RegExp("hsl" + X),
462
- hsla: new RegExp("hsla" + $),
463
- hsv: new RegExp("hsv" + X),
464
- hsva: new RegExp("hsva" + $),
459
+ rgb: new RegExp("rgb" + $),
460
+ rgba: new RegExp("rgba" + j),
461
+ hsl: new RegExp("hsl" + $),
462
+ hsla: new RegExp("hsla" + j),
463
+ hsv: new RegExp("hsv" + $),
464
+ hsva: new RegExp("hsva" + j),
465
465
  hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
466
466
  hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
467
467
  hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
@@ -471,8 +471,8 @@ function ke(e) {
471
471
  if (e = e.trim().toLowerCase(), e.length === 0)
472
472
  return !1;
473
473
  var t = !1;
474
- if (W[e])
475
- e = W[e], t = !0;
474
+ if (P[e])
475
+ e = P[e], t = !0;
476
476
  else if (e === "transparent")
477
477
  return { r: 0, g: 0, b: 0, a: 0, format: "name" };
478
478
  var r = b.rgb.exec(e);
@@ -523,8 +523,8 @@ var Me = (
523
523
  var t = this.toRgb();
524
524
  return (t.r * 299 + t.g * 587 + t.b * 114) / 1e3;
525
525
  }, e.prototype.getLuminance = function() {
526
- var t = this.toRgb(), r, n, a, i = t.r / 255, s = t.g / 255, o = t.b / 255;
527
- return i <= 0.03928 ? r = i / 12.92 : r = Math.pow((i + 0.055) / 1.055, 2.4), s <= 0.03928 ? n = s / 12.92 : n = Math.pow((s + 0.055) / 1.055, 2.4), o <= 0.03928 ? a = o / 12.92 : a = Math.pow((o + 0.055) / 1.055, 2.4), 0.2126 * r + 0.7152 * n + 0.0722 * a;
526
+ var t = this.toRgb(), r, n, a, i = t.r / 255, o = t.g / 255, s = t.b / 255;
527
+ return i <= 0.03928 ? r = i / 12.92 : r = Math.pow((i + 0.055) / 1.055, 2.4), o <= 0.03928 ? n = o / 12.92 : n = Math.pow((o + 0.055) / 1.055, 2.4), s <= 0.03928 ? a = s / 12.92 : a = Math.pow((s + 0.055) / 1.055, 2.4), 0.2126 * r + 0.7152 * n + 0.0722 * a;
528
528
  }, e.prototype.getAlpha = function() {
529
529
  return this.a;
530
530
  }, e.prototype.setAlpha = function(t) {
@@ -584,9 +584,9 @@ var Me = (
584
584
  return "transparent";
585
585
  if (this.a < 1)
586
586
  return !1;
587
- for (var t = "#" + K(this.r, this.g, this.b, !1), r = 0, n = Object.entries(W); r < n.length; r++) {
588
- var a = n[r], i = a[0], s = a[1];
589
- if (t === s)
587
+ for (var t = "#" + K(this.r, this.g, this.b, !1), r = 0, n = Object.entries(P); r < n.length; r++) {
588
+ var a = n[r], i = a[0], o = a[1];
589
+ if (t === o)
590
590
  return i;
591
591
  }
592
592
  return !1;
@@ -630,13 +630,13 @@ var Me = (
630
630
  return r.h = n < 0 ? 360 + n : n, new e(r);
631
631
  }, e.prototype.mix = function(t, r) {
632
632
  r === void 0 && (r = 50);
633
- var n = this.toRgb(), a = new e(t).toRgb(), i = r / 100, s = {
633
+ var n = this.toRgb(), a = new e(t).toRgb(), i = r / 100, o = {
634
634
  r: (a.r - n.r) * i + n.r,
635
635
  g: (a.g - n.g) * i + n.g,
636
636
  b: (a.b - n.b) * i + n.b,
637
637
  a: (a.a - n.a) * i + n.a
638
638
  };
639
- return new e(s);
639
+ return new e(o);
640
640
  }, e.prototype.analogous = function(t, r) {
641
641
  t === void 0 && (t = 6), r === void 0 && (r = 30);
642
642
  var n = this.toHsl(), a = 360 / r, i = [this];
@@ -648,9 +648,9 @@ var Me = (
648
648
  return t.h = (t.h + 180) % 360, new e(t);
649
649
  }, e.prototype.monochromatic = function(t) {
650
650
  t === void 0 && (t = 6);
651
- for (var r = this.toHsv(), n = r.h, a = r.s, i = r.v, s = [], o = 1 / t; t--; )
652
- s.push(new e({ h: n, s: a, v: i })), i = (i + o) % 1;
653
- return s;
651
+ for (var r = this.toHsv(), n = r.h, a = r.s, i = r.v, o = [], s = 1 / t; t--; )
652
+ o.push(new e({ h: n, s: a, v: i })), i = (i + s) % 1;
653
+ return o;
654
654
  }, e.prototype.splitcomplement = function() {
655
655
  var t = this.toHsl(), r = t.h;
656
656
  return [
@@ -671,8 +671,8 @@ var Me = (
671
671
  }, e.prototype.tetrad = function() {
672
672
  return this.polyad(4);
673
673
  }, e.prototype.polyad = function(t) {
674
- for (var r = this.toHsl(), n = r.h, a = [this], i = 360 / t, s = 1; s < t; s++)
675
- a.push(new e({ h: (n + s * i) % 360, s: r.s, l: r.l }));
674
+ for (var r = this.toHsl(), n = r.h, a = [this], i = 360 / t, o = 1; o < t; o++)
675
+ a.push(new e({ h: (n + o * i) % 360, s: r.s, l: r.l }));
676
676
  return a;
677
677
  }, e.prototype.equals = function(t) {
678
678
  return this.toRgbString() === new e(t).toRgbString();
@@ -682,7 +682,7 @@ var Me = (
682
682
  function y(...e) {
683
683
  return new Me(...e);
684
684
  }
685
- function j(e, t) {
685
+ function W(e, t) {
686
686
  const r = e && e.a;
687
687
  let n;
688
688
  e && e.hsl ? n = y(e.hsl) : e && e.hex && e.hex.length > 0 ? n = y(e.hex) : e && e.hsv ? n = y(e.hsv) : e && e.rgba ? n = y(e.rgba) : e && e.rgb ? n = y(e.rgb) : n = y(e), n && (n._a === void 0 || n._a === null) && n.setAlpha(r || n.getAlpha());
@@ -706,7 +706,7 @@ var Se = {
706
706
  props: ["modelValue"],
707
707
  data() {
708
708
  return {
709
- val: j(this.modelValue)
709
+ val: W(this.modelValue)
710
710
  };
711
711
  },
712
712
  computed: {
@@ -721,12 +721,12 @@ var Se = {
721
721
  },
722
722
  watch: {
723
723
  modelValue(e) {
724
- this.val = j(e);
724
+ this.val = W(e);
725
725
  }
726
726
  },
727
727
  methods: {
728
728
  colorChange(e, t) {
729
- this.oldHue = this.colors.hsl.h, this.colors = j(e, t || this.oldHue);
729
+ this.oldHue = this.colors.hsl.h, this.colors = W(e, t || this.oldHue);
730
730
  },
731
731
  isValidHex(e) {
732
732
  return y(e).isValid;
@@ -815,11 +815,11 @@ function Te(e, t, r, n, a, i) {
815
815
  return f(), m("div", He, [
816
816
  R(h("input", {
817
817
  ref: "input",
818
- "onUpdate:modelValue": t[0] || (t[0] = (s) => i.val = s),
818
+ "onUpdate:modelValue": t[0] || (t[0] = (o) => i.val = o),
819
819
  "aria-labelledby": i.labelId,
820
820
  class: "vc-input__input",
821
- onKeydown: t[1] || (t[1] = (...s) => i.handleKeyDown && i.handleKeyDown(...s)),
822
- onInput: t[2] || (t[2] = (...s) => i.update && i.update(...s))
821
+ onKeydown: t[1] || (t[1] = (...o) => i.handleKeyDown && i.handleKeyDown(...o)),
822
+ onInput: t[2] || (t[2] = (...o) => i.update && i.update(...o))
823
823
  }, null, 40, Ae), [
824
824
  [ee, i.val]
825
825
  ]),
@@ -842,7 +842,7 @@ H(Le);
842
842
  F.render = Te;
843
843
  F.__file = "src/components/editable-input/editable-input.vue";
844
844
  F.install = A;
845
- function P(e, t, r) {
845
+ function X(e, t, r) {
846
846
  return t < r ? e < t ? t : e > r ? r : e : e < r ? r : e > t ? t : e;
847
847
  }
848
848
  var B = {
@@ -870,7 +870,7 @@ var B = {
870
870
  const { container: r } = this.$refs;
871
871
  if (!r)
872
872
  return;
873
- const n = r.clientWidth, a = r.clientHeight, i = r.getBoundingClientRect().left + window.pageXOffset, s = r.getBoundingClientRect().top + window.pageYOffset, o = e.pageX || (e.touches ? e.touches[0].pageX : 0), u = e.pageY || (e.touches ? e.touches[0].pageY : 0), x = P(o - i, 0, n), c = P(u - s, 0, a), l = x / n, M = P(-(c / a) + 1, 0, 1);
873
+ const n = r.clientWidth, a = r.clientHeight, i = r.getBoundingClientRect().left + window.pageXOffset, o = r.getBoundingClientRect().top + window.pageYOffset, s = e.pageX || (e.touches ? e.touches[0].pageX : 0), u = e.pageY || (e.touches ? e.touches[0].pageY : 0), x = X(s - i, 0, n), c = X(u - o, 0, a), l = x / n, M = X(-(c / a) + 1, 0, 1);
874
874
  this.onChange({
875
875
  h: this.colors.hsv.h,
876
876
  s: l,
@@ -921,9 +921,9 @@ function Ne(e, t, r, n, a, i) {
921
921
  ref: "container",
922
922
  class: "vc-saturation",
923
923
  style: k({ background: i.bgColor }),
924
- onMousedown: t[0] || (t[0] = (...s) => i.handleMouseDown && i.handleMouseDown(...s)),
925
- onTouchmove: t[1] || (t[1] = (...s) => i.handleChange && i.handleChange(...s)),
926
- onTouchstart: t[2] || (t[2] = (...s) => i.handleChange && i.handleChange(...s))
924
+ onMousedown: t[0] || (t[0] = (...o) => i.handleMouseDown && i.handleMouseDown(...o)),
925
+ onTouchmove: t[1] || (t[1] = (...o) => i.handleChange && i.handleChange(...o)),
926
+ onTouchstart: t[2] || (t[2] = (...o) => i.handleChange && i.handleChange(...o))
927
927
  },
928
928
  [
929
929
  Ie,
@@ -997,7 +997,7 @@ var N = {
997
997
  const { container: r } = this.$refs;
998
998
  if (!r)
999
999
  return;
1000
- const n = r.clientWidth, a = r.clientHeight, i = r.getBoundingClientRect().left + window.pageXOffset, s = r.getBoundingClientRect().top + window.pageYOffset, o = e.pageX || (e.touches ? e.touches[0].pageX : 0), u = e.pageY || (e.touches ? e.touches[0].pageY : 0), x = o - i, c = u - s;
1000
+ const n = r.clientWidth, a = r.clientHeight, i = r.getBoundingClientRect().left + window.pageXOffset, o = r.getBoundingClientRect().top + window.pageYOffset, s = e.pageX || (e.touches ? e.touches[0].pageX : 0), u = e.pageY || (e.touches ? e.touches[0].pageY : 0), x = s - i, c = u - o;
1001
1001
  let l, M;
1002
1002
  this.direction === "vertical" ? (c < 0 ? l = 360 : c > a ? l = 0 : (M = -(c * 100 / a) + 100, l = 360 * M / 100), this.colors.hsl.h !== l && this.$emit("change", {
1003
1003
  h: l,
@@ -1033,7 +1033,7 @@ const Ue = ["aria-valuenow"], Ve = /* @__PURE__ */ h(
1033
1033
  ), ze = [
1034
1034
  Ve
1035
1035
  ];
1036
- function Xe(e, t, r, n, a, i) {
1036
+ function $e(e, t, r, n, a, i) {
1037
1037
  return f(), m(
1038
1038
  "div",
1039
1039
  {
@@ -1047,9 +1047,9 @@ function Xe(e, t, r, n, a, i) {
1047
1047
  "aria-valuenow": i.colors.hsl.h,
1048
1048
  "aria-valuemin": "0",
1049
1049
  "aria-valuemax": "360",
1050
- onMousedown: t[0] || (t[0] = (...s) => i.handleMouseDown && i.handleMouseDown(...s)),
1051
- onTouchmove: t[1] || (t[1] = (...s) => i.handleChange && i.handleChange(...s)),
1052
- onTouchstart: t[2] || (t[2] = (...s) => i.handleChange && i.handleChange(...s))
1050
+ onMousedown: t[0] || (t[0] = (...o) => i.handleMouseDown && i.handleMouseDown(...o)),
1051
+ onTouchmove: t[1] || (t[1] = (...o) => i.handleChange && i.handleChange(...o)),
1052
+ onTouchstart: t[2] || (t[2] = (...o) => i.handleChange && i.handleChange(...o))
1053
1053
  }, [
1054
1054
  h(
1055
1055
  "div",
@@ -1068,9 +1068,9 @@ function Xe(e, t, r, n, a, i) {
1068
1068
  /* CLASS */
1069
1069
  );
1070
1070
  }
1071
- var $e = ".vc-hue{border-radius:2px;bottom:0;left:0;position:absolute;right:0;top:0}.vc-hue--horizontal{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.vc-hue--vertical{background:linear-gradient(0deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.vc-hue-container{cursor:pointer;height:100%;margin:0 2px;position:relative}.vc-hue-pointer{position:absolute;z-index:2}.vc-hue-picker{background:#fff;border-radius:1px;box-shadow:0 0 2px rgba(0,0,0,.6);cursor:pointer;height:8px;margin-top:1px;transform:translateX(-2px);width:4px}";
1072
- H($e);
1073
- N.render = Xe;
1071
+ var je = ".vc-hue{border-radius:2px;bottom:0;left:0;position:absolute;right:0;top:0}.vc-hue--horizontal{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.vc-hue--vertical{background:linear-gradient(0deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.vc-hue-container{cursor:pointer;height:100%;margin:0 2px;position:relative}.vc-hue-pointer{position:absolute;z-index:2}.vc-hue-picker{background:#fff;border-radius:1px;box-shadow:0 0 2px rgba(0,0,0,.6);cursor:pointer;height:8px;margin-top:1px;transform:translateX(-2px);width:4px}";
1072
+ H(je);
1073
+ N.render = $e;
1074
1074
  N.__file = "src/components/hue/hue.vue";
1075
1075
  N.install = A;
1076
1076
  var O = {
@@ -1181,7 +1181,7 @@ var O = {
1181
1181
  }
1182
1182
  }
1183
1183
  };
1184
- const je = { class: "vc-chrome-saturation-wrap" }, Pe = { class: "vc-chrome-body" }, We = { class: "vc-chrome-controls" }, Ye = { class: "vc-chrome-color-wrap" }, Ge = ["aria-label"], qe = { class: "vc-chrome-sliders" }, Ke = { class: "vc-chrome-hue-wrap" }, Ze = {
1184
+ const We = { class: "vc-chrome-saturation-wrap" }, Xe = { class: "vc-chrome-body" }, Pe = { class: "vc-chrome-controls" }, Ye = { class: "vc-chrome-color-wrap" }, Ge = ["aria-label"], qe = { class: "vc-chrome-sliders" }, Ke = { class: "vc-chrome-hue-wrap" }, Ze = {
1185
1185
  key: 0,
1186
1186
  class: "vc-chrome-alpha-wrap"
1187
1187
  }, Je = {
@@ -1190,7 +1190,7 @@ const je = { class: "vc-chrome-saturation-wrap" }, Pe = { class: "vc-chrome-body
1190
1190
  }, Qe = { class: "vc-chrome-fields" }, et = { class: "vc-chrome-field" }, tt = { class: "vc-chrome-fields" }, rt = { class: "vc-chrome-field" }, nt = { class: "vc-chrome-field" }, it = { class: "vc-chrome-field" }, at = {
1191
1191
  key: 0,
1192
1192
  class: "vc-chrome-field"
1193
- }, st = { class: "vc-chrome-fields" }, ot = { class: "vc-chrome-field" }, ht = { class: "vc-chrome-field" }, lt = { class: "vc-chrome-field" }, ct = {
1193
+ }, ot = { class: "vc-chrome-fields" }, st = { class: "vc-chrome-field" }, ht = { class: "vc-chrome-field" }, lt = { class: "vc-chrome-field" }, ct = {
1194
1194
  key: 0,
1195
1195
  class: "vc-chrome-field"
1196
1196
  }, ut = { class: "vc-chrome-toggle-icon" }, dt = /* @__PURE__ */ h(
@@ -1206,7 +1206,7 @@ const je = { class: "vc-chrome-saturation-wrap" }, Pe = { class: "vc-chrome-body
1206
1206
  dt
1207
1207
  ], gt = { class: "vc-chrome-toggle-icon-highlight" };
1208
1208
  function pt(e, t, r, n, a, i) {
1209
- const s = S("Saturation"), o = S("Checkboard"), u = S("Hue"), x = S("Alpha"), c = S("EdIn");
1209
+ const o = S("Saturation"), s = S("Checkboard"), u = S("Hue"), x = S("Alpha"), c = S("EdIn");
1210
1210
  return f(), m(
1211
1211
  "div",
1212
1212
  {
@@ -1215,21 +1215,21 @@ function pt(e, t, r, n, a, i) {
1215
1215
  class: J(["vc-chrome", [r.disableAlpha ? "vc-chrome__disable-alpha" : ""]])
1216
1216
  },
1217
1217
  [
1218
- h("div", je, [
1219
- v(s, {
1218
+ h("div", We, [
1219
+ v(o, {
1220
1220
  value: e.colors,
1221
1221
  onChange: i.childChange
1222
1222
  }, null, 8, ["value", "onChange"])
1223
1223
  ]),
1224
- h("div", Pe, [
1225
- h("div", We, [
1224
+ h("div", Xe, [
1225
+ h("div", Pe, [
1226
1226
  h("div", Ye, [
1227
1227
  h("div", {
1228
1228
  "aria-label": `current color is ${e.colors.hex}`,
1229
1229
  class: "vc-chrome-active-color",
1230
1230
  style: k({ background: i.activeColor })
1231
1231
  }, null, 12, Ge),
1232
- r.disableAlpha ? p("v-if", !0) : (f(), U(o, { key: 0 }))
1232
+ r.disableAlpha ? p("v-if", !0) : (f(), U(s, { key: 0 }))
1233
1233
  ]),
1234
1234
  h("div", qe, [
1235
1235
  h("div", Ke, [
@@ -1315,10 +1315,10 @@ function pt(e, t, r, n, a, i) {
1315
1315
  ]),
1316
1316
  R(h(
1317
1317
  "div",
1318
- st,
1318
+ ot,
1319
1319
  [
1320
1320
  p(" hsla "),
1321
- h("div", ot, [
1321
+ h("div", st, [
1322
1322
  v(c, {
1323
1323
  label: "h",
1324
1324
  value: i.hsl.h,
@@ -1,14 +1,14 @@
1
- import { _ as b } from "./CFormField.vue_vue_type_script_setup_true_lang-KdkAe_wn.js";
2
- import { C as U } from "./CPhoneInput-DolVFzrL.js";
3
- import { w as v } from "./CDropdownItem-BuQONogL.js";
4
- import { _ as F, ai as P, m as S, aj as f, a as M, g as l, e as r, o as y, b as N, s as d, c as V, f as z, v as h, d as i, w as m, H as I, l as _, n as $, ad as O } from "./main-WDVYC60Z.js";
5
- import { u as E } from "./index-Dbe2ueXc.js";
6
- import { r as k, e as w } from "./index-Cwf2aXw3.js";
7
- import { s as C, a as R } from "./publicSenderState-CtB0-WJX.js";
8
- const { mapFields: B } = P({
1
+ import { _ as b } from "./CFormField.vue_vue_type_script_setup_true_lang-Bi0MjQdW.js";
2
+ import { C as U } from "./CPhoneInput-9AwTJm-0.js";
3
+ import { w as v } from "./CDropdownItem-E-kRDIiy.js";
4
+ import { _ as F, m as P, ap as f, aq as S, a as M, b as r, d as N, o as y, j as d, c as V, e as z, f as i, t as h, w as m, q as I, W as _, am as $, x as O, g as l } from "./main-BayUZ9OO.js";
5
+ import { u as E } from "./index-C3pnyYI4.js";
6
+ import { e as k, r as w } from "./index-XzoHqJIR.js";
7
+ import { s as q, a as C } from "./publicSenderState-CblTasKp.js";
8
+ const { mapFields: R } = S({
9
9
  getterType: "forms/getField",
10
10
  mutationType: "forms/updateField"
11
- }), q = {
11
+ }), B = {
12
12
  name: "CompanyModal",
13
13
  components: {
14
14
  CPhoneInput: U,
@@ -38,21 +38,21 @@ const { mapFields: B } = P({
38
38
  },
39
39
  validations: {
40
40
  name: {
41
- required: k
41
+ required: w
42
42
  },
43
43
  email: {
44
- email: w
44
+ email: k
45
45
  }
46
46
  },
47
47
  computed: {
48
- ...S({
48
+ ...M({
49
49
  isPostingCompany: "companies/isPosting",
50
50
  isPostingUser: "companyUsers/isPosting",
51
51
  hasChanged: "forms/hasChanged",
52
52
  companyRegion: "application/companyRegion",
53
53
  can: "application/can"
54
54
  }),
55
- ...B({
55
+ ...R({
56
56
  company: "company",
57
57
  user: "companyUser",
58
58
  name: "company.name",
@@ -96,7 +96,7 @@ const { mapFields: B } = P({
96
96
  this.$refs[this.inputFocusOnMount] ? this.$refs[this.inputFocusOnMount].$el.querySelector("input").focus() : this.$refs.name.$el.querySelector("input").focus();
97
97
  },
98
98
  methods: {
99
- ...M({
99
+ ...P({
100
100
  formEditCompany: l.FORM_EDIT_COMPANY,
101
101
  formEditCompanyUser: l.FORM_EDIT_COMPANY_USER,
102
102
  formSubmitCompany: l.FORM_SUBMIT_COMPANY,
@@ -111,7 +111,7 @@ const { mapFields: B } = P({
111
111
  }));
112
112
  },
113
113
  async save() {
114
- this.v$.$touch(), !this.v$.$invalid && (this.isLoading = !0, this.isPublicForm ? R({ company: this.company, user: this.user }) : await Promise.all([
114
+ this.v$.$touch(), !this.v$.$invalid && (this.isLoading = !0, this.isPublicForm ? q({ company: this.company, user: this.user }) : await Promise.all([
115
115
  ...this.hasChanged("company") ? [this.formSubmitCompany()] : [],
116
116
  ...this.hasChanged("companyUser") && this.currentUserId === this.documentCompanyUserId ? [this.formSubmitCompanyUser()] : []
117
117
  ]), this.$emit("close"), this.isLoading = !1);
@@ -122,13 +122,13 @@ const { mapFields: B } = P({
122
122
  }
123
123
  }, T = { class: "form-client" }, A = { style: { "font-weight": "600", "font-size": "21px", "padding-bottom": "calc(2.5 * var(--rem))" } };
124
124
  function D(e, a, c, p, Y, s) {
125
- const u = r("CButton"), n = r("CInput"), t = r("CField"), g = r("CPhoneInput");
125
+ const u = r("CButton"), t = r("CInput"), n = r("CField"), g = r("CPhoneInput");
126
126
  return y(), N("div", {
127
- class: $([{
127
+ class: O([{
128
128
  "full-screen": s.isFullScreen,
129
129
  "modal-overlay": !0
130
130
  }, "font-inter"]),
131
- onClickPassive: a[5] || (a[5] = O((...o) => s.close && s.close(...o), ["self"]))
131
+ onClickPassive: a[5] || (a[5] = $((...o) => s.close && s.close(...o), ["self"]))
132
132
  }, [
133
133
  d("div", {
134
134
  style: _(!s.isFullScreen && { padding: "calc(3 * var(--rem))" }),
@@ -145,7 +145,7 @@ function D(e, a, c, p, Y, s) {
145
145
  }, null, 8, ["onClick"])) : z("", !0),
146
146
  d("div", T, [
147
147
  d("div", A, h(e.$t("_common:edit", { thing: e.$t("_common:company") })), 1),
148
- i(t, {
148
+ i(n, {
149
149
  label: e.$t("_common:companyName").capitalize(),
150
150
  validator: p.v$.name,
151
151
  messages: s.messages.name,
@@ -153,7 +153,7 @@ function D(e, a, c, p, Y, s) {
153
153
  style: { "margin-bottom": "calc(1.5 * var(--rem))" }
154
154
  }, {
155
155
  default: m(() => [
156
- i(n, {
156
+ i(t, {
157
157
  ref: "name",
158
158
  modelValue: e.name,
159
159
  "onUpdate:modelValue": a[0] || (a[0] = (o) => e.name = o),
@@ -164,13 +164,13 @@ function D(e, a, c, p, Y, s) {
164
164
  ]),
165
165
  _: 1
166
166
  }, 8, ["label", "validator", "messages"]),
167
- i(t, {
167
+ i(n, {
168
168
  label: e.$t("_common:firstName").capitalize(),
169
169
  "label-position": "inside",
170
170
  style: { "margin-bottom": "calc(1.5 * var(--rem))" }
171
171
  }, {
172
172
  default: m(() => [
173
- i(n, {
173
+ i(t, {
174
174
  ref: "reference",
175
175
  modelValue: e.firstName,
176
176
  "onUpdate:modelValue": a[1] || (a[1] = (o) => e.firstName = o),
@@ -179,12 +179,12 @@ function D(e, a, c, p, Y, s) {
179
179
  size: "medium",
180
180
  "custom-class": "!rounded-l-[7px]"
181
181
  }, null, 8, ["modelValue", "disabled", "placeholder"]),
182
- i(t, {
182
+ i(n, {
183
183
  label: e.$t("_common:lastName").capitalize(),
184
184
  "label-position": "inside"
185
185
  }, {
186
186
  default: m(() => [
187
- i(n, {
187
+ i(t, {
188
188
  modelValue: e.lastName,
189
189
  "onUpdate:modelValue": a[2] || (a[2] = (o) => e.lastName = o),
190
190
  disabled: s.notCurrentUser,
@@ -197,7 +197,7 @@ function D(e, a, c, p, Y, s) {
197
197
  ]),
198
198
  _: 1
199
199
  }, 8, ["label"]),
200
- i(t, {
200
+ i(n, {
201
201
  validator: p.v$.email,
202
202
  messages: s.messages.email,
203
203
  label: e.$t("_common:email").capitalize(),
@@ -205,7 +205,7 @@ function D(e, a, c, p, Y, s) {
205
205
  style: { "margin-bottom": "calc(1.5 * var(--rem))" }
206
206
  }, {
207
207
  default: m(() => [
208
- i(n, {
208
+ i(t, {
209
209
  ref: "email",
210
210
  modelValue: e.email,
211
211
  "onUpdate:modelValue": a[3] || (a[3] = (o) => e.email = o),
@@ -244,7 +244,7 @@ function D(e, a, c, p, Y, s) {
244
244
  ], 4)
245
245
  ], 34);
246
246
  }
247
- const Q = /* @__PURE__ */ F(q, [["render", D], ["__scopeId", "data-v-cfd3117b"]]);
247
+ const Q = /* @__PURE__ */ F(B, [["render", D], ["__scopeId", "data-v-cfd3117b"]]);
248
248
  export {
249
249
  Q as default
250
250
  };