@cling-se/widget 0.14.5 → 1.0.0-beta.1

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 (121) hide show
  1. package/dist/{AddClientCallout-BMc-v9rJ.js → AddClientCallout-BWnvyBcK.js} +3 -3
  2. package/dist/{AnswerModal-Cu0Ke5pl.js → AnswerModal-CLGRdSnK.js} +3 -3
  3. package/dist/{AttachmentItem-Co8pVvtv.js → AttachmentItem-BPS0-wyc.js} +2 -2
  4. package/dist/{BaseDatePicker-P5iq-XAp.js → BaseDatePicker-BbmV_GdD.js} +2 -2
  5. package/dist/{BaseUpload-BDWnWTxr.js → BaseUpload-9gPgI7r6.js} +2 -2
  6. package/dist/{BlockMedia-B_UiePCr.js → BlockMedia-DkPFWiYL.js} +1 -1
  7. package/dist/{CCallout-Bbp9ya9n.js → CCallout-T26jwUby.js} +1 -1
  8. package/dist/{CCurrencyDropdown-Cw39vJWw.js → CCurrencyDropdown-qH-3m2eP.js} +3 -3
  9. package/dist/{CDropdownItem-BjYnhZJr.js → CDropdownItem-BE8BAMD1.js} +167 -69
  10. package/dist/{CFormField-CeJ58aN2.js → CFormField-DECEfoVq.js} +1 -1
  11. package/dist/{CPhoneFormat-BZnmeEeW.js → CPhoneFormat-CfQayFxw.js} +1 -1
  12. package/dist/{CPriceInput-B07d19qq.js → CPriceInput-C4SOB-P5.js} +2 -2
  13. package/dist/{ClientAutocomplete-9iM1pR9l.js → ClientAutocomplete-DSebA1Mx.js} +2 -2
  14. package/dist/{ClientModal-fw8f6UvL.js → ClientModal-BXFYvYCF.js} +5 -5
  15. package/dist/{ColorPicker-uu6vKe8o.js → ColorPicker-CZ_bJabP.js} +1 -1
  16. package/dist/{CompanyModal-5t4yhKL4.js → CompanyModal-CDr3t28n.js} +4 -4
  17. package/dist/{ContentWrapper-DwcOQ21l.js → ContentWrapper-BwmMoe4W.js} +6 -6
  18. package/dist/{CoverBlockSettings-cCCXzAZ0.js → CoverBlockSettings-_F11-DGc.js} +5 -5
  19. package/dist/{DocAnswer-9lbgqHRX.js → DocAnswer-BR59xzkT.js} +2 -2
  20. package/dist/{DocDetails-CoLL_tHs.js → DocDetails-D1qbCbps.js} +42 -29
  21. package/dist/{DocForm-DUjcuHJe.js → DocForm-DBc2a7z5.js} +68 -69
  22. package/dist/{DocFormSend-LawcXcM2.js → DocFormSend-Casix-yG.js} +4 -3
  23. package/dist/{DocLinks-pJT9HpjR.js → DocLinks-DGTaewyX.js} +2 -2
  24. package/dist/{DocModalBase-xUoskL63.js → DocModalBase-BbS_qvSv.js} +1 -1
  25. package/dist/{DocPrint-ClEJBiAg.js → DocPrint-0PqX3mbJ.js} +1 -1
  26. package/dist/{DocReceipt-x_YsXPnG.js → DocReceipt-CU3VD5pt.js} +1 -1
  27. package/dist/{DocSendReminder-Dbz8CkAz.js → DocSendReminder-CuycBspr.js} +1 -1
  28. package/dist/{DocTextEditor-AqBE7jZj.js → DocTextEditor-CntS2Bd-.js} +16 -17
  29. package/dist/{DocTimeline-hq2asPzr.js → DocTimeline-DJuv3yBe.js} +1 -1
  30. package/dist/{DocumentClient-TmtHqfiw.js → DocumentClient-C25XXzz6.js} +5 -5
  31. package/dist/{DocumentLayout-CRAp8mfk.js → DocumentLayout-B7afHRMr.js} +4 -4
  32. package/dist/{DocumentLogotype-emSjQ21f.js → DocumentLogotype-sqI51wvM.js} +3 -3
  33. package/dist/{DocumentVoided-BOjiWBK6.js → DocumentVoided-TahdTSMn.js} +1 -1
  34. package/dist/{EmbedInput-B3LFGEee.js → EmbedInput-BY-wHSfc.js} +2 -2
  35. package/dist/{EmbedSettings-BYPJTGQf.js → EmbedSettings-8pfjk4NP.js} +2 -2
  36. package/dist/{ErrorCallout-CwgYHBkg.js → ErrorCallout-Dsr8PNsU.js} +1 -1
  37. package/dist/{FilePreviewModal-81sSrDGg.js → FilePreviewModal-CcEinEFg.js} +2 -2
  38. package/dist/{Flag-DGFvUTQZ.js → Flag-PJKrghi9.js} +1 -1
  39. package/dist/{HeaderSettings-BGpkzcbj.js → HeaderSettings-BqczIOsG.js} +7 -7
  40. package/dist/{ImageSelectModal-Cimviyuy.js → ImageSelectModal-Cd-HhKnH.js} +3 -3
  41. package/dist/{ImageUploadWrapper-qJDHCf8T.js → ImageUploadWrapper-Dv43rGdb.js} +2 -2
  42. package/dist/{Index-BpyYa9LR.js → Index--qPMWUMT.js} +3 -3
  43. package/dist/{Index-BkUzlQaQ.js → Index-6b5VBKE-.js} +5 -5
  44. package/dist/{Index-BKoXW7GK.js → Index-B4pRJnbw.js} +6 -6
  45. package/dist/{Index-CObGPoQv.js → Index-B69f8qgZ.js} +4 -4
  46. package/dist/{Index-Sr3emNkE.js → Index-B79YN9RO.js} +4 -4
  47. package/dist/{Index-CrOD4_xj.js → Index-BBrlPoe8.js} +4 -4
  48. package/dist/{Index-C1lsSfnX.js → Index-BXfWJCuq.js} +3 -3
  49. package/dist/{Index-CqImx-rG.js → Index-Bd76vb37.js} +5 -5
  50. package/dist/{Index-BXAqgXVi.js → Index-BmbtQO5F.js} +5 -5
  51. package/dist/{Index-DGG1S8uJ.js → Index-Bu0MGrj6.js} +6 -6
  52. package/dist/{Index-9_R8_myc.js → Index-ByV_kJaH.js} +1 -1
  53. package/dist/{Index-Dr7mVlBb.js → Index-CDV5rhWS.js} +3 -3
  54. package/dist/{Index-BOxSvAug.js → Index-CIx4OOK-.js} +8 -8
  55. package/dist/{Index-C9sq_RDg.js → Index-CL1OWLt6.js} +6 -6
  56. package/dist/{Index-CoSt-Bws.js → Index-Caow0eZu.js} +1 -1
  57. package/dist/{Index-DRWS2z82.js → Index-Cd3-3PEK.js} +11 -11
  58. package/dist/{Index-CegW1Rim.js → Index-CdpZBEKU.js} +6 -6
  59. package/dist/{Index-DY5gAUnE.js → Index-CmU3Sys-.js} +2 -2
  60. package/dist/{Index-VshOfaom.js → Index-CtRtgnpm.js} +4 -4
  61. package/dist/{Index-BgK_WC0d.js → Index-Cukkr33D.js} +3 -3
  62. package/dist/{Index-CPNUsaOS.js → Index-Cuqw0ios.js} +2 -2
  63. package/dist/{Index-18w_qMQH.js → Index-Czm_WdqC.js} +4 -4
  64. package/dist/{Index-DXRgZZNj.js → Index-D4XgxmbD.js} +2 -2
  65. package/dist/{Index-BQgW1jlH.js → Index-DIOiMm9f.js} +2 -2
  66. package/dist/{Index-CMUg61_b.js → Index-DNdYXHgr.js} +4 -4
  67. package/dist/{Index-Eq3JlTKK.js → Index-DcQbh-z2.js} +2 -2
  68. package/dist/{Index-BL3-tRGt.js → Index-DcuBxutp.js} +7 -7
  69. package/dist/{Index-ByzGXUoc.js → Index-DpWNWiyY.js} +12 -13
  70. package/dist/{Index-DBCNVVm5.js → Index-DzS1rZdF.js} +3 -3
  71. package/dist/{Index-CDEh3GAi.js → Index-N6s5pZxv.js} +4 -4
  72. package/dist/{Index-CEG-Hiv6.js → Index-g_DNu4mt.js} +4 -4
  73. package/dist/{Index-BNfAA-ZJ.js → Index-mJ8F41GY.js} +5 -5
  74. package/dist/{Index-Dx944wv-.js → Index-q7W9KA8m.js} +2 -2
  75. package/dist/{Index-CpDgldnz.js → Index-rtzblZp4.js} +5 -5
  76. package/dist/{InputToggleRow-CQsaayf-.js → InputToggleRow-CZjxsDOQ.js} +1 -1
  77. package/dist/{ManualPopover-CFXm5cQy.js → ManualPopover-CZrWiT-P.js} +1 -1
  78. package/dist/{MediaWrapper-Cn0Yr4ce.js → MediaWrapper-D37qK4KR.js} +3 -3
  79. package/dist/{NotBindingText-CNiszGqn.js → NotBindingText-CNV2Wmdx.js} +2 -2
  80. package/dist/{PackageGroup-BVys9ouj.js → PackageGroup-Heo_s8ct.js} +5 -5
  81. package/dist/{PdfTerms-Bbns-jMY.js → PdfTerms-AB9tXAtU.js} +2 -2
  82. package/dist/{PdfViewer-B1zzZU4Y.js → PdfViewer-CIVkvOBr.js} +5 -6
  83. package/dist/{PlainHtml-CARRbTxi.js → PlainHtml-CPmIebjY.js} +1 -1
  84. package/dist/{PriceHeader-CqeC9Lhb.js → PriceHeader-DhDAruwX.js} +7 -7
  85. package/dist/{SearchApi-bB9FLxUq.js → SearchApi-BMgdaI4s.js} +2 -2
  86. package/dist/{Setup-p3Du_uf8.js → Setup-VIaIV9uT.js} +1 -1
  87. package/dist/{SmartList-P5ZfTWBb.js → SmartList-Qgu0rMrI.js} +1 -1
  88. package/dist/{TermsSettings-CQ8TGwBV.js → TermsSettings-CE3h_xkm.js} +3 -3
  89. package/dist/{ThemeColorRow-DMWVlFRU.js → ThemeColorRow-DYJNgk6S.js} +3 -3
  90. package/dist/{ToggleBinding-BPaYWgqP.js → ToggleBinding-CuwCeYpO.js} +3 -3
  91. package/dist/{UploadModal-9O4HTVZm.js → UploadModal-BITcxG-J.js} +2 -2
  92. package/dist/{VideoPlayerInput-5KybfY7N.js → VideoPlayerInput-8szEX_8L.js} +3 -3
  93. package/dist/{VideoPlayerSettings-xSW8tcTZ.js → VideoPlayerSettings-BIPytm6w.js} +2 -2
  94. package/dist/{VideoSelectModal-BbaNAxGH.js → VideoSelectModal-B-Pe34nb.js} +3 -3
  95. package/dist/{answerDocumentMixin-S-Bmv15G.js → answerDocumentMixin-W7vE1Gp4.js} +3 -3
  96. package/dist/{debounce-B_0g8OVh.js → debounce-C1AuSpOZ.js} +1 -1
  97. package/dist/{focusDrawerMixin-DhsqWZUo.js → focusDrawerMixin-Be6BAK8-.js} +1 -1
  98. package/dist/{formComponentsInstall-UG7a9vjZ.js → formComponentsInstall-Bm3VMOh6.js} +42 -34
  99. package/dist/{formDrawerState-BMQrWaBt.js → formDrawerState-DRbg5rVI.js} +1 -1
  100. package/dist/{formValidationMixin-DUu0omWT.js → formValidationMixin-COkY8COk.js} +2 -2
  101. package/dist/{index-myOYAnwV.js → index-BFvjENMH.js} +1 -1
  102. package/dist/{index-Czyda2Ej.js → index-BV2nGWay.js} +1 -1
  103. package/dist/{index-B4aiQXsr.js → index-BgJ05dYc.js} +8 -9
  104. package/dist/{index-B3R_uKML.js → index-CMPAXxzs.js} +5 -5
  105. package/dist/{index-C50JSDKO.js → index-DNDjI5uI.js} +3 -3
  106. package/dist/{index-CJ9AvuZH.js → index-aoff9oUi.js} +1 -1
  107. package/dist/index.es.js +3 -3
  108. package/dist/index.umd.js +101 -101
  109. package/dist/{main-B9t0ybqW.js → main-WKzC-Dnu.js} +881 -880
  110. package/dist/{mapFormMixin-ETYhBLl2.js → mapFormMixin-QbevCwJK.js} +1 -1
  111. package/dist/{omit-DtTfKAed.js → omit-CTp9CXoU.js} +1 -1
  112. package/dist/{publicSenderState-DD1lN9CR.js → publicSenderState-BujjYsZZ.js} +1 -1
  113. package/dist/style.css +1 -1
  114. package/dist/{throttle-qziKkJJX.js → throttle-CWPJmFid.js} +2 -2
  115. package/dist/{tinycolor-CMC8Xp7x.js → tinycolor-kTl0yxzz.js} +1 -1
  116. package/dist/{tippy.esm-DjbYjfS2.js → tippy.esm-sS5koDSU.js} +5 -5
  117. package/dist/{utils-C5Rg0fQC.js → utils-CA_Zy6u1.js} +1 -1
  118. package/dist/{vuedraggable.umd-CE3WmaEQ.js → vuedraggable.umd-BA3ZDRAp.js} +1 -1
  119. package/package.json +1 -1
  120. package/vite.config.ts +0 -1
  121. package/dist/dom-CJxkno7i.js +0 -91
@@ -1,6 +1,6 @@
1
- import { m as o } from "./mapFormMixin-ETYhBLl2.js";
2
- import { C as s } from "./ClientAutocomplete-9iM1pR9l.js";
3
- import { n as r } from "./main-B9t0ybqW.js";
1
+ import { m as o } from "./mapFormMixin-QbevCwJK.js";
2
+ import { C as s } from "./ClientAutocomplete-DSebA1Mx.js";
3
+ import { n as r } from "./main-WKzC-Dnu.js";
4
4
  const a = {
5
5
  i18nOptions: {
6
6
  namespaces: "components",
@@ -1,8 +1,8 @@
1
- import { m as ft } from "./mapFormMixin-ETYhBLl2.js";
2
- import { at as It, O as Tt, h as Et, au as Mt, av as Rt, aw as $t, n as ot, ax as Dt, g as yt, e as At, M as Bt } from "./main-B9t0ybqW.js";
1
+ import { m as ft } from "./mapFormMixin-QbevCwJK.js";
2
+ import { at as It, O as Tt, h as Et, au as Mt, av as Rt, aw as $t, n as ot, ax as Dt, g as yt, e as At, M as Bt } from "./main-WKzC-Dnu.js";
3
3
  import { a as nt } from "./anime.es-BrPTThYb.js";
4
4
  import { a as Ut } from "./vuex.esm-DKGl8mcw.js";
5
- import { C as Lt } from "./CFormField-CeJ58aN2.js";
5
+ import { C as Lt } from "./CFormField-DECEfoVq.js";
6
6
  /*!
7
7
  * vue-qrcode v1.0.2
8
8
  * https://fengyuanchen.github.io/vue-qrcode
@@ -1,5 +1,5 @@
1
- import a from "./Index-DY5gAUnE.js";
2
- import { n as i } from "./main-B9t0ybqW.js";
1
+ import a from "./Index-CmU3Sys-.js";
2
+ import { n as i } from "./main-WKzC-Dnu.js";
3
3
  const r = {
4
4
  name: "AttachmentsItem",
5
5
  components: {
@@ -1,5 +1,5 @@
1
- import { a4 as ki, a5 as vi, k as Mi, n as Si, q as bi, ak as Yi, al as Oi, ac as xi } from "./main-B9t0ybqW.js";
2
- import { w as Ti } from "./CDropdownItem-BjYnhZJr.js";
1
+ import { a4 as ki, a5 as vi, k as Mi, n as Si, q as bi, ak as Yi, al as Oi, ac as xi } from "./main-WKzC-Dnu.js";
2
+ import { w as Ti } from "./CDropdownItem-BE8BAMD1.js";
3
3
  var fs = { exports: {} };
4
4
  //! moment.js
5
5
  //! version : 2.29.4
@@ -1,4 +1,4 @@
1
- import { a5 as Ue, k as De, n as $e, af as ye, O as ve } from "./main-B9t0ybqW.js";
1
+ import { a5 as Ue, k as De, n as $e, af as ye, O as ve } from "./main-WKzC-Dnu.js";
2
2
  /*!
3
3
  * Compressor.js v1.1.1
4
4
  * https://fengyuanchen.github.io/compressorjs
@@ -1697,7 +1697,7 @@ const Ve = /* @__PURE__ */ De(Ye), Qe = {
1697
1697
  name: "BaseUpload",
1698
1698
  components: {
1699
1699
  FileUpload: Ve,
1700
- UploadModal: () => import("./UploadModal-9O4HTVZm.js")
1700
+ UploadModal: () => import("./UploadModal-BITcxG-J.js")
1701
1701
  },
1702
1702
  props: {
1703
1703
  // Optional function to handle any errors
@@ -1,5 +1,5 @@
1
1
  import { g as d } from "./color-TdtKxwVa.js";
2
- import { n, b as i, x as c } from "./main-B9t0ybqW.js";
2
+ import { n, b as i, x as c } from "./main-WKzC-Dnu.js";
3
3
  const u = {
4
4
  name: "BlockMedia",
5
5
  inject: {
@@ -1,4 +1,4 @@
1
- import { n as a, f as s } from "./main-B9t0ybqW.js";
1
+ import { n as a, f as s } from "./main-WKzC-Dnu.js";
2
2
  import "./CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js";
3
3
  const i = {
4
4
  name: "CCallout",
@@ -1,6 +1,6 @@
1
- import { C as t, a as l } from "./CDropdownItem-BjYnhZJr.js";
2
- import { n as s, q as u, r } from "./main-B9t0ybqW.js";
3
- import { S as c } from "./SmartList-P5ZfTWBb.js";
1
+ import { C as t, a as l } from "./CDropdownItem-BE8BAMD1.js";
2
+ import { n as s, q as u, r } from "./main-WKzC-Dnu.js";
3
+ import { S as c } from "./SmartList-Qgu0rMrI.js";
4
4
  const d = {
5
5
  AED: "United Arab Emirates Dirham",
6
6
  AFN: "Afghan Afghani",
@@ -1,5 +1,89 @@
1
- import { V as f, k as m, n as p } from "./main-B9t0ybqW.js";
2
- class b {
1
+ import { V as g, k as y, n as b } from "./main-WKzC-Dnu.js";
2
+ const d = {}, h = {};
3
+ function v(t) {
4
+ if (h[t])
5
+ return;
6
+ if (d[t])
7
+ return d[t];
8
+ let e;
9
+ const i = new Promise((o, s) => {
10
+ e = window.setTimeout(() => {
11
+ d[t] = null, s(new Error(`Failed to load ${t} in 20s`));
12
+ }, 2e4), import(
13
+ /* @vite-ignore */
14
+ t
15
+ ).then(() => {
16
+ e && window.clearTimeout(e), h[t] = !0, d[t] = null, o();
17
+ }).catch((a) => {
18
+ e && window.clearTimeout(e), d[t] = null, s(a);
19
+ });
20
+ });
21
+ return d[t] = i, i;
22
+ }
23
+ function W(t) {
24
+ if (t.endsWith(".mjs"))
25
+ return v(t);
26
+ if (h[t])
27
+ return;
28
+ if (d[t])
29
+ return d[t];
30
+ const e = new Promise((i, o) => {
31
+ const s = document.createElement("script"), a = window.setTimeout(() => {
32
+ d[t] = null, o(new Error(`Failed to load ${t} in 20s`));
33
+ }, 2e4);
34
+ s.onload = (l) => {
35
+ a && window.clearTimeout(a), h[t] = !0, d[t] = null, i();
36
+ }, s.onerror = (l) => {
37
+ a && window.clearTimeout(a), d[t] = null, o(l);
38
+ }, s.src = t, document.body.appendChild(s);
39
+ });
40
+ return d[t] = e, e;
41
+ }
42
+ function q(t) {
43
+ const e = t.getBoundingClientRect(), i = window.innerHeight || document.documentElement.clientHeight, o = window.innerWidth || document.documentElement.clientWidth, s = e.top <= i && e.top + e.height >= 0, a = e.left <= o && e.left + e.width >= 0;
44
+ return s && a;
45
+ }
46
+ const _ = (t) => {
47
+ const e = /(auto|scroll)/, i = (n, r) => n.parentNode === null ? r : i(n.parentNode, r.concat([n])), o = (n, r) => getComputedStyle(n, null).getPropertyValue(r), s = (n) => o(n, "overflow") + o(n, "overflow-y") + o(n, "overflow-x"), a = (n) => e.test(s(n));
48
+ return ((n) => {
49
+ if (!(n instanceof HTMLElement || n instanceof SVGElement))
50
+ return null;
51
+ const r = i(n.parentNode, []);
52
+ for (let c = 0; c < r.length; c += 1)
53
+ if (a(r[c]))
54
+ return r[c];
55
+ return document.scrollingElement || document.documentElement;
56
+ })(t);
57
+ }, C = (t) => {
58
+ let e = 0;
59
+ for (; t; )
60
+ e += t.offsetTop, t = t.offsetParent;
61
+ return e;
62
+ };
63
+ function V(t, e) {
64
+ let i = t;
65
+ typeof i == "string" && (i = document.querySelector(i));
66
+ const o = {
67
+ offset: 0,
68
+ behavior: "smooth",
69
+ body: _(i),
70
+ // custom option used for choosing parent scroll element
71
+ ...e
72
+ }, s = C(i);
73
+ HTMLElement.prototype.scrollTo ? o.body.scrollTo({
74
+ behavior: o.behavior,
75
+ top: s - o.offset
76
+ }) : o.body.scrollTop = s - o.offset;
77
+ }
78
+ const w = (t) => {
79
+ var o;
80
+ const e = (o = t == null ? void 0 : t.getRootNode) == null ? void 0 : o.call(t), i = (e == null ? void 0 : e.toString()) === "[object ShadowRoot]";
81
+ return {
82
+ isShadow: i,
83
+ el: i ? e : document
84
+ };
85
+ };
86
+ class x {
3
87
  constructor({ defaults: e = { width: 800, height: 600 }, delay: i = 50 } = {}) {
4
88
  this._width = e.width, this._height = e.height, this._delay = i, this._timer = null, this._initialized = !1, this._handler = this._handleResize.bind(this);
5
89
  }
@@ -30,16 +114,16 @@ class b {
30
114
  return this.initialized ? (window.removeEventListener("resize", this._handler, { passive: !0 }), this._initialized = !1, this) : this;
31
115
  }
32
116
  }
33
- const v = new b().init(), c = new f({ data: { windowSize: v } }), y = {
117
+ const S = new x().init(), p = new g({ data: { windowSize: S } }), $ = {
34
118
  computed: {
35
119
  windowWidth() {
36
- return c.windowSize.width;
120
+ return p.windowSize.width;
37
121
  },
38
122
  windowHeight() {
39
- return c.windowSize.height;
123
+ return p.windowSize.height;
40
124
  },
41
125
  mq() {
42
- const { width: t } = c.windowSize, e = {
126
+ const { width: t } = p.windowSize, e = {
43
127
  sm: 640,
44
128
  md: 768,
45
129
  lg: 1024,
@@ -54,7 +138,7 @@ const v = new b().init(), c = new f({ data: { windowSize: v } }), y = {
54
138
  }
55
139
  }
56
140
  };
57
- var h = { exports: {} };
141
+ var f = { exports: {} };
58
142
  (function(t, e) {
59
143
  Object.defineProperty(e, "__esModule", {
60
144
  value: !0
@@ -63,26 +147,26 @@ var h = { exports: {} };
63
147
  return !!(typeof window < "u" && ("ontouchstart" in window || window.DocumentTouch && typeof document < "u" && document instanceof window.DocumentTouch)) || !!(typeof navigator < "u" && (navigator.maxTouchPoints || navigator.msMaxTouchPoints));
64
148
  }
65
149
  t.exports = e.default;
66
- })(h, h.exports);
67
- var g = h.exports;
68
- const w = /* @__PURE__ */ m(g), T = w();
69
- function M(t, e) {
150
+ })(f, f.exports);
151
+ var k = f.exports;
152
+ const E = /* @__PURE__ */ y(k), K = E();
153
+ function Y(t, e) {
70
154
  return e.split(".").reduce((o, s) => o ? o[s] : null, t);
71
155
  }
72
- function _(t) {
156
+ function T(t) {
73
157
  typeof t.remove < "u" ? t.remove() : typeof t.parentNode < "u" && t.parentNode !== null && t.parentNode.removeChild(t);
74
158
  }
75
- function C(t) {
76
- var n;
77
- const e = (n = t.getRootNode) == null ? void 0 : n.call(t), o = (e == null ? void 0 : e.toString()) === "[object ShadowRoot]" ? e : document.body, s = document.createElement("div");
159
+ function L(t) {
160
+ var l;
161
+ const e = (l = t.getRootNode) == null ? void 0 : l.call(t), o = (e == null ? void 0 : e.toString()) === "[object ShadowRoot]" ? e : document.body, s = document.createElement("div");
78
162
  s.style.position = "absolute", s.style.left = "0px", s.style.top = "0px";
79
163
  const a = document.createElement("div");
80
164
  return s.appendChild(a), a.appendChild(t), o.appendChild(s), s;
81
165
  }
82
- function D(t, e, i) {
166
+ function G(t, e, i) {
83
167
  return Math.max(e, Math.min(i, t));
84
168
  }
85
- const r = (t, e = !1) => t ? e ? t.querySelectorAll('*[tabindex="-1"]') : t.querySelectorAll(`a[href]:not([tabindex="-1"]),
169
+ const u = (t, e = !1) => t ? e ? t.querySelectorAll('*[tabindex="-1"]') : t.querySelectorAll(`a[href]:not([tabindex="-1"]),
86
170
  area[href],
87
171
  input:not([disabled]),
88
172
  select:not([disabled]),
@@ -93,27 +177,27 @@ const r = (t, e = !1) => t ? e ? t.querySelectorAll('*[tabindex="-1"]') : t.quer
93
177
  embed,
94
178
  *[tabindex]:not([tabindex="-1"]),
95
179
  *[contenteditable]`) : null;
96
- let u;
97
- const x = (t, { value: e = !0 }) => {
180
+ let m;
181
+ const O = (t, { value: e = !0 }) => {
98
182
  if (e) {
99
- let i = r(t), o = r(t, !0);
100
- i && i.length > 0 && (u = (s) => {
101
- i = r(t), o = r(t, !0);
102
- const a = i[0], n = i[i.length - 1];
103
- s.target === a && s.shiftKey && s.key === "Tab" ? (s.preventDefault(), n.focus()) : (s.target === n || Array.from(o).indexOf(s.target) >= 0) && !s.shiftKey && s.key === "Tab" && (s.preventDefault(), a.focus());
104
- }, t.addEventListener("keydown", u));
183
+ let i = u(t), o = u(t, !0);
184
+ i && i.length > 0 && (m = (s) => {
185
+ i = u(t), o = u(t, !0);
186
+ const a = i[0], l = i[i.length - 1];
187
+ s.target === a && s.shiftKey && s.key === "Tab" ? (s.preventDefault(), l.focus()) : (s.target === l || Array.from(o).indexOf(s.target) >= 0) && !s.shiftKey && s.key === "Tab" && (s.preventDefault(), a.focus());
188
+ }, t.addEventListener("keydown", m));
105
189
  }
106
- }, $ = (t) => {
107
- t.removeEventListener("keydown", u);
108
- }, k = {
109
- bind: x,
110
- unbind: $
111
- }, S = ["escape", "outside"], A = {
190
+ }, A = (t) => {
191
+ t.removeEventListener("keydown", m);
192
+ }, B = {
193
+ bind: O,
194
+ unbind: A
195
+ }, I = ["escape", "outside"], P = {
112
196
  name: "CDropdown",
113
197
  directives: {
114
- trapFocus: k
198
+ trapFocus: B
115
199
  },
116
- mixins: [y],
200
+ mixins: [$],
117
201
  props: {
118
202
  value: {
119
203
  type: [String, Number, Boolean, Object, Array, Function],
@@ -241,7 +325,7 @@ const x = (t, { value: e = !0 }) => {
241
325
  return this.mobileModal && this.mq === "sm";
242
326
  },
243
327
  cancelOptions() {
244
- return typeof this.canClose == "boolean" ? this.canClose ? S : [] : this.canClose;
328
+ return typeof this.canClose == "boolean" ? this.canClose ? I : [] : this.canClose;
245
329
  },
246
330
  contentStyle() {
247
331
  return {
@@ -268,12 +352,20 @@ const x = (t, { value: e = !0 }) => {
268
352
  }
269
353
  },
270
354
  mounted() {
271
- typeof window < "u" && (this.getRootElm().addEventListener("click", this.clickedOutside), document.addEventListener("keyup", this.keyPress)), this.appendToBody && (this.$data._bodyEl = C(this.$refs.dropdownMenu), this.$data._bodyEl.style.zIndex = Number(
355
+ if (typeof window < "u") {
356
+ const { el: t, isShadow: e } = w(this.$el);
357
+ t.addEventListener("click", this.clickedOutside), e && document.addEventListener("click", this.clickedOutsideShadow(t)), document.addEventListener("keyup", this.keyPress);
358
+ }
359
+ this.appendToBody && (this.$data._bodyEl = L(this.$refs.dropdownMenu), this.$data._bodyEl.style.zIndex = Number(
272
360
  window.getComputedStyle(this.$el).getPropertyValue("--app-z-index")
273
361
  ) + 9999, this.isMobileModal && this.$data._bodyEl.appendChild(this.$refs.mobileBackground), this.updateAppendToBody());
274
362
  },
275
363
  beforeDestroy() {
276
- typeof window < "u" && (this.getRootElm().removeEventListener("click", this.clickedOutside), document.removeEventListener("keyup", this.keyPress)), this.appendToBody && _(this.$data._bodyEl);
364
+ if (typeof window < "u") {
365
+ const { el: t, isShadow: e } = w(this.$el);
366
+ t.removeEventListener("click", this.clickedOutside(t)), e && document.removeEventListener("click", this.clickedOutsideShadow(t)), document.removeEventListener("keyup", this.keyPress);
367
+ }
368
+ this.appendToBody && T(this.$data._bodyEl);
277
369
  },
278
370
  methods: {
279
371
  /**
@@ -324,6 +416,11 @@ const x = (t, { value: e = !0 }) => {
324
416
  const e = ((i = t.path) == null ? void 0 : i[0]) || t.target;
325
417
  this.isInWhiteList(e) || (this.isActive = !1);
326
418
  },
419
+ clickedOutsideShadow(t) {
420
+ return (e) => {
421
+ e != null && e.target && e.target !== (t == null ? void 0 : t.host) && (this.isActive = !1);
422
+ };
423
+ },
327
424
  /**
328
425
  * Keypress event that is bound to the document
329
426
  */
@@ -350,14 +447,14 @@ const x = (t, { value: e = !0 }) => {
350
447
  const t = this.$refs.dropdownMenu, e = this.$refs.trigger;
351
448
  if (t && e) {
352
449
  const i = this.$data._bodyEl.children[0];
353
- if (i.classList.forEach((n) => i.classList.remove(n)), i.classList.add("dropdown"), i.classList.add("dropdown-menu-animation"), this.$vnode && this.$vnode.data && this.$vnode.data.staticClass && i.classList.add(this.$vnode.data.staticClass), this.rootClasses.forEach((n) => {
354
- if (n && typeof n == "object")
355
- for (const l in n)
356
- n[l] && i.classList.add(l);
450
+ if (i.classList.forEach((l) => i.classList.remove(l)), i.classList.add("dropdown"), i.classList.add("dropdown-menu-animation"), this.$vnode && this.$vnode.data && this.$vnode.data.staticClass && i.classList.add(this.$vnode.data.staticClass), this.rootClasses.forEach((l) => {
451
+ if (l && typeof l == "object")
452
+ for (const n in l)
453
+ l[n] && i.classList.add(n);
357
454
  }), this.appendToBodyCopyParent) {
358
- const n = this.$refs.dropdown.parentNode, l = this.$data._bodyEl;
359
- l.classList.forEach((d) => l.classList.remove(d)), n.classList.forEach((d) => {
360
- l.classList.add(d);
455
+ const l = this.$refs.dropdown.parentNode, n = this.$data._bodyEl;
456
+ n.classList.forEach((r) => n.classList.remove(r)), l.classList.forEach((r) => {
457
+ n.classList.add(r);
361
458
  });
362
459
  }
363
460
  const o = e.getBoundingClientRect();
@@ -366,18 +463,14 @@ const x = (t, { value: e = !0 }) => {
366
463
  position: "absolute",
367
464
  top: `${s}px`,
368
465
  left: `${a}px`,
369
- zIndex: "1001"
466
+ zIndex: "1001",
467
+ ...this.expanded && { width: `${e.clientWidth}px` }
370
468
  };
371
469
  }
372
- },
373
- getRootElm() {
374
- var i, o;
375
- const t = (o = (i = this.$el).getRootNode) == null ? void 0 : o.call(i);
376
- return (t == null ? void 0 : t.toString()) === "[object ShadowRoot]" ? t : document;
377
470
  }
378
471
  }
379
472
  };
380
- var B = function() {
473
+ var M = function() {
381
474
  var e = this, i = e._self._c;
382
475
  return i("div", { ref: "dropdown", staticClass: "dropdown dropdown-menu-animation", class: e.rootClasses }, [e.inline ? e._e() : i("div", { ref: "trigger", staticClass: "dropdown-trigger", attrs: { role: "button", "aria-haspopup": "true" }, on: { click: e.toggle, mouseenter: e.checkHoverable } }, [e._t("trigger", null, { active: e.isActive })], 2), i("transition", { attrs: { name: "fade-in" } }, [e.isMobileModal ? i("div", { directives: [{ name: "show", rawName: "v-show", value: e.isActive, expression: "isActive" }], ref: "mobileBackground", staticClass: "fixed inset-0 z-40 bg-black/40", attrs: { "aria-hidden": !e.isActive } }) : e._e()]), i("transition", { attrs: { name: e.isMobileModal ? "slide-in-bottom" : e.animation } }, [i("div", { directives: [{ name: "show", rawName: "v-show", value: !e.disabled && (e.isActive || e.isHoverable) || e.inline, expression: "(!disabled && (isActive || isHoverable)) || inline" }, { name: "trap-focus", rawName: "v-trap-focus", value: e.trapFocus, expression: "trapFocus" }], ref: "dropdownMenu", staticClass: "dropdown-menu", style: {
383
476
  ...e.style,
@@ -385,15 +478,15 @@ var B = function() {
385
478
  }, attrs: { "aria-hidden": !e.isActive } }, [e.isActive ? [e._t("header"), i("div", { staticClass: "dropdown-content", class: `${e.uniquePopoverClass}`, style: e.contentStyle, attrs: { role: e.ariaRole } }, [e.isMobileModal && e.mobileLabel ? e._t("mobileLabel", function() {
386
479
  return [i("div", { staticClass: "dropdown-content-label" }, [e._v(e._s(e.mobileLabel))])];
387
480
  }) : e._e(), e._t("default")], 2), e._t("footer")] : e._e()], 2)])], 1);
388
- }, L = [], O = /* @__PURE__ */ p(
389
- A,
390
- B,
391
- L,
481
+ }, z = [], H = /* @__PURE__ */ b(
482
+ P,
483
+ M,
484
+ z,
392
485
  !1,
393
486
  null,
394
487
  null
395
488
  );
396
- const H = O.exports, E = {
489
+ const U = H.exports, R = {
397
490
  name: "CDropdownItem",
398
491
  props: {
399
492
  value: {
@@ -514,25 +607,30 @@ const H = O.exports, E = {
514
607
  }
515
608
  }
516
609
  };
517
- var I = function() {
610
+ var D = function() {
518
611
  var e = this, i = e._self._c;
519
612
  return e.separator ? i("hr", { staticClass: "dropdown-divider" }) : !e.custom && !e.hasLink ? i(e.to && !e.disabled ? "router-link" : "a", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.tooltipItem, expression: "tooltipItem" }], tag: "component", staticClass: "dropdown-item truncate-text", class: [e.anchorClasses, `is-${e.type}`], attrs: { to: e.to, role: e.ariaRoleItem, tabindex: e.isFocusable ? 0 : null }, on: { click: e.selectItem } }, [e.iconLeft ? i("CIcon", e._b({ staticClass: "icon dropdown-item-icon", attrs: { type: e.iconLeft } }, "CIcon", { size: 18, ...e.iconProps }, !1)) : e._e(), e._t("default"), e.toggle ? i("CSwitch", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.tooltipItem, expression: "tooltipItem" }], staticStyle: { display: "inline-flex", "pointer-events": "none", position: "absolute", right: "0", top: "50%", transform: "translateY(-50%)", "margin-right": "0" }, attrs: { value: e.value, size: "tiny", type: "success" } }) : e._e(), e.iconRight ? i("CIcon", e._b({ staticClass: "icon dropdown-item-icon is-right", attrs: { type: e.iconRight || "chevron-up-down" } }, "CIcon", { size: 18, ...e.iconProps }, !1)) : e._e()], 2) : i("div", { staticClass: "truncate-text", class: [e.itemClasses, `is-${e.type}`], attrs: { role: e.ariaRoleItem, tabindex: e.isFocusable ? 0 : null }, on: { click: e.selectItem } }, [e.iconLeft ? i("CIcon", e._b({ staticClass: "icon dropdown-item-icon", attrs: { type: e.iconLeft } }, "CIcon", { size: 18, ...e.iconProps }, !1)) : e._e(), e._t("default"), e.iconRight ? i("CIcon", e._b({ staticClass: "icon dropdown-item-icon is-right", attrs: { type: e.iconRight } }, "CIcon", { size: 18, ...e.iconProps }, !1)) : e._e()], 2);
520
- }, z = [], P = /* @__PURE__ */ p(
521
- E,
522
- I,
523
- z,
613
+ }, N = [], F = /* @__PURE__ */ b(
614
+ R,
615
+ D,
616
+ N,
524
617
  !1,
525
618
  null,
526
619
  null
527
620
  );
528
- const N = P.exports;
621
+ const X = F.exports;
529
622
  export {
530
- H as C,
531
- N as a,
532
- D as b,
533
- C as c,
534
- M as g,
535
- T as i,
536
- _ as r,
537
- y as w
623
+ U as C,
624
+ X as a,
625
+ G as b,
626
+ L as c,
627
+ K as d,
628
+ W as e,
629
+ w as f,
630
+ Y as g,
631
+ _ as h,
632
+ q as i,
633
+ T as r,
634
+ V as s,
635
+ $ as w
538
636
  };
@@ -1,4 +1,4 @@
1
- import { n as i, Q as l } from "./main-B9t0ybqW.js";
1
+ import { n as i, Q as l } from "./main-WKzC-Dnu.js";
2
2
  import "./CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js";
3
3
  const n = {
4
4
  name: "CFieldBody",
@@ -1,4 +1,4 @@
1
- import { u as e, v as o, n } from "./main-B9t0ybqW.js";
1
+ import { u as e, v as o, n } from "./main-WKzC-Dnu.js";
2
2
  const r = {
3
3
  name: "CPhoneFormat",
4
4
  props: {
@@ -1,5 +1,5 @@
1
- import { C as s } from "./CCurrencyDropdown-Cw39vJWw.js";
2
- import { n as i, q as u, r as a } from "./main-B9t0ybqW.js";
1
+ import { C as s } from "./CCurrencyDropdown-qH-3m2eP.js";
2
+ import { n as i, q as u, r as a } from "./main-WKzC-Dnu.js";
3
3
  const l = {
4
4
  name: "CPriceInput",
5
5
  components: {
@@ -1,5 +1,5 @@
1
- import { S as o } from "./SearchApi-bB9FLxUq.js";
2
- import { n as l, y as c } from "./main-B9t0ybqW.js";
1
+ import { S as o } from "./SearchApi-BMgdaI4s.js";
2
+ import { n as l, y as c } from "./main-WKzC-Dnu.js";
3
3
  const i = {
4
4
  i18nOptions: {
5
5
  namespaces: "components",
@@ -1,9 +1,9 @@
1
- import { C as v } from "./ClientAutocomplete-9iM1pR9l.js";
2
- import { E as p, a9 as y, I as C, n as u, b as l, d as b, c as _, g as c, aa as $, y as w } from "./main-B9t0ybqW.js";
3
- import { w as f } from "./CDropdownItem-BjYnhZJr.js";
4
- import { v as r } from "./index-Czyda2Ej.js";
1
+ import { C as v } from "./ClientAutocomplete-DSebA1Mx.js";
2
+ import { E as p, a9 as y, I as C, n as u, b as l, d as b, c as _, g as c, aa as $, y as w } from "./main-WKzC-Dnu.js";
3
+ import { w as f } from "./CDropdownItem-BE8BAMD1.js";
4
+ import { v as r } from "./index-BV2nGWay.js";
5
5
  import { m as g, b as x, a as k } from "./vuex.esm-DKGl8mcw.js";
6
- import { o as N } from "./omit-DtTfKAed.js";
6
+ import { o as N } from "./omit-CTp9CXoU.js";
7
7
  function h(a) {
8
8
  if (typeof a > "u")
9
9
  throw Error("Missing param inputParam");
@@ -1,4 +1,4 @@
1
- import { a5 as ht, n as bt } from "./main-B9t0ybqW.js";
1
+ import { a5 as ht, n as bt } from "./main-WKzC-Dnu.js";
2
2
  var vt = { exports: {} };
3
3
  (function(gt, Ct) {
4
4
  (function(c, i) {
@@ -1,8 +1,8 @@
1
- import { w as r } from "./CDropdownItem-BjYnhZJr.js";
2
- import { E as l, g as s, n as c } from "./main-B9t0ybqW.js";
3
- import { v as o } from "./index-Czyda2Ej.js";
1
+ import { w as r } from "./CDropdownItem-BE8BAMD1.js";
2
+ import { E as l, g as s, n as c } from "./main-WKzC-Dnu.js";
3
+ import { v as o } from "./index-BV2nGWay.js";
4
4
  import { m as p, b as n, a as d } from "./vuex.esm-DKGl8mcw.js";
5
- import { s as m, a as u } from "./publicSenderState-DD1lN9CR.js";
5
+ import { s as m, a as u } from "./publicSenderState-BujjYsZZ.js";
6
6
  const { mapFields: f } = l({
7
7
  getterType: "forms/getField",
8
8
  mutationType: "forms/updateField"
@@ -1,8 +1,8 @@
1
- import { m as n } from "./mapFormMixin-ETYhBLl2.js";
2
- import { B as l } from "./BlockMedia-B_UiePCr.js";
3
- import { t as r } from "./tinycolor-CMC8Xp7x.js";
4
- import { T as i } from "./DocTextEditor-AqBE7jZj.js";
5
- import { n as s, ab as c, z as u, B as m, A as p } from "./main-B9t0ybqW.js";
1
+ import { m as n } from "./mapFormMixin-QbevCwJK.js";
2
+ import { B as l } from "./BlockMedia-DkPFWiYL.js";
3
+ import { t as r } from "./tinycolor-kTl0yxzz.js";
4
+ import { T as i } from "./DocTextEditor-CntS2Bd-.js";
5
+ import { n as s, ab as c, z as u, B as m, A as p } from "./main-WKzC-Dnu.js";
6
6
  import { i as d } from "./i18nMessages-Chz_lxGG.js";
7
7
  const _ = {
8
8
  name: "StaticComboLayout",
@@ -33,7 +33,7 @@ const h = y.exports, v = {
33
33
  messages: d
34
34
  },
35
35
  components: {
36
- DocumentLogotype: () => import("./DocumentLogotype-emSjQ21f.js"),
36
+ DocumentLogotype: () => import("./DocumentLogotype-sqI51wvM.js"),
37
37
  StaticComboLayout: h,
38
38
  TextEditor: i
39
39
  },
@@ -1,6 +1,6 @@
1
- import { m as d } from "./mapFormMixin-ETYhBLl2.js";
2
- import { T as l } from "./ThemeColorRow-DMWVlFRU.js";
3
- import { n as s, P as p, H as u } from "./main-B9t0ybqW.js";
1
+ import { m as d } from "./mapFormMixin-QbevCwJK.js";
2
+ import { T as l } from "./ThemeColorRow-DYJNgk6S.js";
3
+ import { n as s, P as p, H as u } from "./main-WKzC-Dnu.js";
4
4
  const m = (i, e, t, o) => Math.atan2(i - t, e - o) * (180 / Math.PI) * -1 + 180, v = {
5
5
  name: "DegreePicker",
6
6
  props: {
@@ -135,8 +135,8 @@ var C = function() {
135
135
  "e22a6b42"
136
136
  );
137
137
  const $ = w.exports, x = {
138
- image: () => import("./ImageSelectModal-Cimviyuy.js"),
139
- video: () => import("./VideoSelectModal-BbaNAxGH.js")
138
+ image: () => import("./ImageSelectModal-Cd-HhKnH.js"),
139
+ video: () => import("./VideoSelectModal-B-Pe34nb.js")
140
140
  }, S = {
141
141
  name: "CoverBlockSettings",
142
142
  i18nOptions: {
@@ -1,5 +1,5 @@
1
- import r from "./AnswerModal-Cu0Ke5pl.js";
2
- import { n as o } from "./main-B9t0ybqW.js";
1
+ import r from "./AnswerModal-CLGRdSnK.js";
2
+ import { n as o } from "./main-WKzC-Dnu.js";
3
3
  const t = {
4
4
  components: {
5
5
  AnswerModal: r