@cling-se/widget 0.22.3 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/{AddClientCallout-Bk_RMqww.js → AddClientCallout-Bv6IKK40.js} +6 -6
  3. package/dist/AnswerModal-BH7HUCFy.js +4511 -0
  4. package/dist/{AttachmentItem-DnlOo6Ar.js → AttachmentItem-DVVxOm2E.js} +6 -6
  5. package/dist/{BaseUpload-DCPt9YUo.js → BaseUpload-B8k82P27.js} +2 -2
  6. package/dist/{BlockMedia-najJzMYF.js → BlockMedia-BcvfBi4G.js} +4 -4
  7. package/dist/{CCallout-DCvCm65V.js → CCallout-BbBdzwkb.js} +3 -3
  8. package/dist/{CCurrencyDropdown-DuJxa77L.js → CCurrencyDropdown-2PRaeJHp.js} +5 -5
  9. package/dist/{CDropdownItem-DyWrpOb-.js → CDropdownItem-CFTdvAJc.js} +13 -13
  10. package/dist/{CFormField.vue_vue_type_script_setup_true_lang-CSMB_HdZ.js → CFormField.vue_vue_type_script_setup_true_lang-B0HHxy2B.js} +7 -7
  11. package/dist/{CPhoneFormat-BmGCMx5K.js → CPhoneFormat-D__bIItZ.js} +1 -1
  12. package/dist/{regions-BdZt9Srn.js → CPhoneInput-DPqzQOjR.js} +205 -3
  13. package/dist/{CPriceInput-BwBsHKnn.js → CPriceInput-BJ1hmANq.js} +4 -4
  14. package/dist/{CSelect-BlPNOr_g.js → CSelect-GhGdyQzt.js} +4 -4
  15. package/dist/{CSkeleton-DRbFIBZS.js → CSkeleton-Ro7hmy5_.js} +5 -5
  16. package/dist/{ClientAutocomplete-DS08QQ5C.js → ClientAutocomplete-Ci08U3Eg.js} +10 -10
  17. package/dist/{ClientModal-DXtdxLj9.js → ClientModal-CZjzCgw_.js} +251 -221
  18. package/dist/{ColorPicker-CeJ8YHt-.js → ColorPicker-Bdev0Tci.js} +27 -27
  19. package/dist/{CompanyModal-DzE3OIG0.js → CompanyModal-vZnMCWG-.js} +8 -8
  20. package/dist/{ContentWrapper-CBd8srOJ.js → ContentWrapper-CAlHzSsP.js} +18 -18
  21. package/dist/{CoverBlockSettings-D9K1BnJk.js → CoverBlockSettings-CRG8Q2mD.js} +42 -42
  22. package/dist/{DocAnswer-By6hA4eC.js → DocAnswer-DHVVPZff.js} +2 -2
  23. package/dist/{DocDetails-C-ZRzvrA.js → DocDetails-W4sRFsQP.js} +8 -8
  24. package/dist/{DocForm-DvT2fhEM.js → DocForm-B0HWL32c.js} +853 -757
  25. package/dist/{DocFormSend-CKeZn--O.js → DocFormSend-BHjoq88x.js} +2 -2
  26. package/dist/{DocLinks-w8pfegGu.js → DocLinks-BKJ_usNd.js} +2 -2
  27. package/dist/{DocModalBase-B2IgIy_9.js → DocModalBase-Z1ZEPL_z.js} +1 -1
  28. package/dist/{DocPrint-eUTCgg8g.js → DocPrint-W53zklGf.js} +3 -3
  29. package/dist/{DocReceipt-BD0WVtId.js → DocReceipt-CG954L85.js} +10 -10
  30. package/dist/{DocSendReminder-EjkK-9rh.js → DocSendReminder-rE0hlFaZ.js} +3 -3
  31. package/dist/{DocTextEditor-U8ZdSDAr.js → DocTextEditor-DwYMXhZv.js} +9 -9
  32. package/dist/{DocTimeline-D30HTE_o.js → DocTimeline-BsvUw4lW.js} +17 -17
  33. package/dist/{DocumentClient-BBEmQHMi.js → DocumentClient-DeDGrmbP.js} +5 -5
  34. package/dist/{DocumentLayout-BLeVh3wu.js → DocumentLayout-DdXflWEb.js} +28 -28
  35. package/dist/{DocumentLogotype-BauCUJ8j.js → DocumentLogotype-eSStO83t.js} +3 -3
  36. package/dist/{DocumentVoided-CfQdzPJa.js → DocumentVoided-CF_snlgf.js} +1 -1
  37. package/dist/{EmbedInput-D4QrX2Gm.js → EmbedInput-C6zvXcOu.js} +5 -5
  38. package/dist/{EmbedSettings-DVZLouo9.js → EmbedSettings-BO0wk_Mz.js} +3 -3
  39. package/dist/{ErrorCallout-BiLLFJek.js → ErrorCallout-BX44gJMR.js} +1 -1
  40. package/dist/{FilePreviewModal-BusalEt3.js → FilePreviewModal-Dl9kL1D4.js} +2 -2
  41. package/dist/{Flag-BxkDKlP4.js → Flag-CUjMh16L.js} +1 -1
  42. package/dist/{HeaderSettings-DIWro6fR.js → HeaderSettings-CGAKOOf2.js} +18 -18
  43. package/dist/{ImageSelectModal-CL52MP8Z.js → ImageSelectModal-CBJLdDWY.js} +3 -3
  44. package/dist/{ImageUploadWrapper-2gjzeenp.js → ImageUploadWrapper-3iw_ifJm.js} +2 -2
  45. package/dist/{Index-qcFSIYDB.js → Index--LhQAU0e.js} +4 -4
  46. package/dist/{Index-m_q4QkfZ.js → Index-B9IVTM-6.js} +4 -4
  47. package/dist/{Index-bKQSbdxw.js → Index-BHc8-EVf.js} +2 -2
  48. package/dist/{Index-qzpjRFUp.js → Index-BKdt7W1p.js} +11 -11
  49. package/dist/{Index-DMEoYhVr.js → Index-BQjcDZPz.js} +8 -8
  50. package/dist/{Index-CcZ48rLC.js → Index-BXgbccOo.js} +2 -2
  51. package/dist/{Index-CQzTAmTM.js → Index-Bc75-4Ee.js} +41 -41
  52. package/dist/{Index-Bge6Bknk.js → Index-Bf6twTPv.js} +1 -1
  53. package/dist/{Index-jXUY8fSe.js → Index-BwyxrAfq.js} +2 -2
  54. package/dist/{Index-DYkWCXz0.js → Index-CFk1oikV.js} +5 -5
  55. package/dist/{Index-4FHzyecP.js → Index-CRPvQg7m.js} +4 -4
  56. package/dist/{Index-CZljdL3w.js → Index-CZLo46BA.js} +2 -2
  57. package/dist/{Index-CtRE9_p3.js → Index-Cay1MsI0.js} +4 -4
  58. package/dist/{Index-CSNH8muS.js → Index-CbJAROk-.js} +6 -6
  59. package/dist/{Index-DjMRBozk.js → Index-Ck3YMDt4.js} +14 -14
  60. package/dist/{Index-Cq90eS9E.js → Index-CmtHodVa.js} +7 -7
  61. package/dist/{Index-CuaK6bnN.js → Index-Cv-ZmqIf.js} +19 -19
  62. package/dist/Index-D3GyeaZ3.js +4 -0
  63. package/dist/{Index-CsLEoK-y.js → Index-D3YAyImu.js} +3 -3
  64. package/dist/{Index-Cen56jNO.js → Index-D48EyoXi.js} +4 -4
  65. package/dist/{Index-DO0vFJCv.js → Index-DDTMR3LI.js} +6 -6
  66. package/dist/{Index--EACh-v2.js → Index-DExnFebC.js} +30 -30
  67. package/dist/{Index-FSjvo5ex.js → Index-DRNXEsk-.js} +5 -5
  68. package/dist/{Index-u00PSjX2.js → Index-DUvA8MIy.js} +3 -3
  69. package/dist/{Index-CcKgWOG7.js → Index-DaOOJQM2.js} +3 -3
  70. package/dist/{Index-DQMuQ2js.js → Index-DlWc7i0k.js} +4 -4
  71. package/dist/{Index-BkMzG22-.js → Index-Dttziehp.js} +11 -11
  72. package/dist/{Index-N-TCcUiZ.js → Index-T6kXb5Sf.js} +5 -5
  73. package/dist/{Index-DxWtScO2.js → Index-_Xoo1bdc.js} +3 -3
  74. package/dist/{Index-CJZBOrgw.js → Index-foC5v_3Y.js} +3 -3
  75. package/dist/{Index-Bn8_-gUC.js → Index-gLA2kURi.js} +4 -4
  76. package/dist/{Index-DdfunbXo.js → Index-gOnXhVx4.js} +7 -7
  77. package/dist/{Index-BPuHAiJR.js → Index-j78ap3EU.js} +3 -3
  78. package/dist/{Index-BcIg-95c.js → Index-qAnbtxTE.js} +7 -7
  79. package/dist/{Index.vue_vue_type_script_lang-MIgEx7dJ.js → Index.vue_vue_type_script_lang-DkStHbk0.js} +2 -2
  80. package/dist/{InputToggleRow-Dv5l7HsH.js → InputToggleRow-COQQQaJS.js} +1 -1
  81. package/dist/{ManualPopover-B-VE0HPu.js → ManualPopover-2myYukDY.js} +3 -3
  82. package/dist/{MediaWrapper-m5wr6sG8.js → MediaWrapper-CzLU8HWj.js} +3 -3
  83. package/dist/{NotBindingText-JKkfTNyO.js → NotBindingText-Ds156Rs5.js} +2 -2
  84. package/dist/{PackageGroup-CXZ0Lsz9.js → PackageGroup-wT1ri3ij.js} +9 -9
  85. package/dist/{PdfTerms-Cb_px74_.js → PdfTerms-CcFpPx19.js} +2 -2
  86. package/dist/{PdfViewer-1OOdNeVT.js → PdfViewer-B7qdDox0.js} +24 -24
  87. package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-C12eZIH1.js → PlainHtml.vue_vue_type_script_setup_true_lang-pAIAnHdh.js} +1 -1
  88. package/dist/{PriceHeader-BzPZtNYJ.js → PriceHeader-CdJspOjM.js} +12 -12
  89. package/dist/{SearchApi-CBg1KY-O.js → SearchApi-zTefPc4C.js} +3 -3
  90. package/dist/{SendForm-C-VTNpve.js → SendForm-DWiNVIs2.js} +8 -8
  91. package/dist/{Setup-BmlGbBrM.js → Setup-D90T_HW3.js} +1 -1
  92. package/dist/{SmartList-B2ZpLA8V.js → SmartList-mO6hykju.js} +1 -1
  93. package/dist/{Sortable.vue_vue_type_script_setup_true_lang-CcTjzIyK.js → Sortable.vue_vue_type_script_setup_true_lang-D22AqpXY.js} +35 -35
  94. package/dist/{TermsSettings-0V_cVRPI.js → TermsSettings-CW4GvPBa.js} +14 -14
  95. package/dist/{ThemeColorRow-BwSFCUGN.js → ThemeColorRow-C9XPet4I.js} +5 -5
  96. package/dist/{ToggleBinding-sJX5jVgf.js → ToggleBinding-5Ewi_NNo.js} +5 -5
  97. package/dist/{UploadModal-CvFB_11W.js → UploadModal-ChOeO-8_.js} +4 -4
  98. package/dist/{VideoPlayerInput-CmjzzRDj.js → VideoPlayerInput-CtZi6yF_.js} +6 -6
  99. package/dist/{VideoPlayerSettings-TD3__Ui0.js → VideoPlayerSettings-Bg8IvjwK.js} +2 -2
  100. package/dist/{VideoSelectModal-DWohaFSL.js → VideoSelectModal-E01NsD3K.js} +5 -5
  101. package/dist/{dom-DOcGU3-g.js → dom-B_lSczxY.js} +5 -6
  102. package/dist/{focusDrawerMixin-CReYj2SY.js → focusDrawerMixin-DfuFLIV0.js} +1 -1
  103. package/dist/{formDrawerState-Cf5itKVM.js → formDrawerState-DlaQS_ZT.js} +1 -1
  104. package/dist/{fortnoxTheme-IeycOfWB.js → fortnoxTheme-CyUIkVuu.js} +1 -1
  105. package/dist/{helpers-CUo71XPG.js → helpers-B1vYJYc-.js} +1 -1
  106. package/dist/{index-DzyXygjd.js → index-BPR1VsLM.js} +1 -1
  107. package/dist/{index-MMzIZOFI.js → index-CBkI7Hc7.js} +28 -28
  108. package/dist/index-CXYvBw0i.js +107 -0
  109. package/dist/index-DK3w2fdd.js +896 -0
  110. package/dist/{index-BEKHEkFO.js → index-DOK_hQri.js} +28 -28
  111. package/dist/{index-FsgsKPqg.js → index-DnMhYLAz.js} +1 -1
  112. package/dist/{index-CrQzVsCT.js → index-hj2QoJyP.js} +8 -8
  113. package/dist/index.es.js +2 -2
  114. package/dist/index.umd.js +191 -235
  115. package/dist/{main-D4afcIIy.js → main-BnJTDeKH.js} +12149 -14255
  116. package/dist/{mapFormMixin-DcTZ2NvY.js → mapFormMixin-sXjgYtfb.js} +2 -2
  117. package/dist/{omit-Bq20xrhI.js → omit-DQlOTuQS.js} +1 -1
  118. package/dist/{splitpanes-EHoHU6iQ.js → splitpanes-4FF5o_FM.js} +1 -1
  119. package/dist/{template-CDxtqtv6.js → template-dbF0t2om.js} +1 -1
  120. package/dist/{tippy.esm-D8I3Noyw.js → tippy.esm-Bu14Lq2S.js} +50 -50
  121. package/dist/{useTermsModal-DEiH4ghd.js → useTermsModal-DKiiU8a4.js} +4 -4
  122. package/dist/{utils-DvezupAT.js → utils-Dn9pHgbx.js} +1 -1
  123. package/dist/{validation-ERFxig5z.js → validation-D_KP2hMr.js} +3 -3
  124. package/dist/widget.css +1 -1
  125. package/package.json +1 -1
  126. package/dist/AnswerModal-BQ9VR89q.js +0 -3653
  127. package/dist/CPhoneInput-Cx3OiUWQ.js +0 -207
  128. package/dist/Index-DdSDsjP8.js +0 -4
  129. package/dist/anime.es-4wvNItHq.js +0 -862
  130. package/dist/index-CFm8CNEc.js +0 -149
  131. package/dist/index-DCq6gjGI.js +0 -3590
  132. package/dist/validations-ohsJ5nBz.js +0 -34
@@ -1,8 +1,8 @@
1
- import { _, a9 as C, b as p, a5 as T, d as v, o as l, j as o, f as w, c as f, e as k, s as u, v as D, t as i, w as r, F as I, q as S, $ as B } from "./main-D4afcIIy.js";
2
- import { m as N } from "./mapFormMixin-DcTZ2NvY.js";
3
- import { C as x, a as b } from "./CDropdownItem-DyWrpOb-.js";
4
- import { u as V } from "./useTermsModal-DEiH4ghd.js";
5
- const $ = {
1
+ import { _, a8 as C, b as p, Y as T, d as v, o as l, j as o, f as w, c as f, e as k, s as u, v as D, t as i, w as r, F as I, q as S, U as B } from "./main-BnJTDeKH.js";
2
+ import { m as N } from "./mapFormMixin-sXjgYtfb.js";
3
+ import { a as b, b as x } from "./CDropdownItem-CFTdvAJc.js";
4
+ import { u as V } from "./useTermsModal-DKiiU8a4.js";
5
+ const F = {
6
6
  i18nOptions: {
7
7
  namespaces: "terms",
8
8
  messages: {
@@ -26,8 +26,8 @@ const $ = {
26
26
  },
27
27
  name: "TermsSettings",
28
28
  components: {
29
- CDropdown: b,
30
- CDropdownItem: x
29
+ CDropdown: x,
30
+ CDropdownItem: b
31
31
  },
32
32
  mixins: [N(["term"])],
33
33
  data() {
@@ -81,7 +81,7 @@ const $ = {
81
81
  },
82
82
  truncate: C
83
83
  }
84
- }, F = { class: "d-root" }, M = {
84
+ }, M = { class: "d-root" }, $ = {
85
85
  class: "d-option",
86
86
  style: { "border-bottom": "none" }
87
87
  }, R = { class: "d-option-title" }, j = {
@@ -95,10 +95,10 @@ const $ = {
95
95
  "stroke-linecap": "square",
96
96
  "stroke-linejoin": "bevel"
97
97
  }, q = { class: "w-full truncate" }, E = { class: "w-full truncate" };
98
- function z(e, n, h, g, s, c) {
98
+ function Y(e, n, h, g, s, c) {
99
99
  const t = p("CButton"), a = p("CDropdownItem"), m = p("CDropdown"), y = T("tooltip");
100
- return l(), v("div", F, [
101
- o("div", M, [
100
+ return l(), v("div", M, [
101
+ o("div", $, [
102
102
  o("div", R, [
103
103
  u(i(e.$t("title")) + " ", 1),
104
104
  D((l(), v("svg", j, n[1] || (n[1] = [
@@ -148,7 +148,7 @@ function z(e, n, h, g, s, c) {
148
148
  key: d,
149
149
  value: d,
150
150
  style: { "padding-right": "calc(1 * var(--rem))" },
151
- onClick: (A) => e.term = s.terms.data[d]
151
+ onClick: (z) => e.term = s.terms.data[d]
152
152
  }, {
153
153
  default: r(() => [
154
154
  o("div", E, i(s.terms.data[d].name), 1)
@@ -192,7 +192,7 @@ function z(e, n, h, g, s, c) {
192
192
  }, 8, ["onClick"])) : k("", !0)
193
193
  ]);
194
194
  }
195
- const H = /* @__PURE__ */ _($, [["render", z]]);
195
+ const G = /* @__PURE__ */ _(F, [["render", Y]]);
196
196
  export {
197
- H as default
197
+ G as default
198
198
  };
@@ -1,7 +1,7 @@
1
- import { C as h } from "./ColorPicker-CeJ8YHt-.js";
2
- import { _ as w } from "./ManualPopover-B-VE0HPu.js";
1
+ import { C as h } from "./ColorPicker-Bdev0Tci.js";
2
+ import { _ as w } from "./ManualPopover-2myYukDY.js";
3
3
  import { h as k } from "./color-HetJPhlA.js";
4
- import { _ as C, b as l, a5 as g, d as a, o as i, j as r, v as _, e as V, f as d, U as p, w as u, X as b, an as m, T as y } from "./main-D4afcIIy.js";
4
+ import { _ as C, b as l, Y as g, d as a, o as i, j as r, v as _, e as V, f as d, O as p, w as u, Q as b, an as m, a5 as y } from "./main-BnJTDeKH.js";
5
5
  const M = {
6
6
  name: "ThemeColorRow",
7
7
  components: {
@@ -46,7 +46,7 @@ const M = {
46
46
  ref: "themeContainer",
47
47
  class: "theme-row"
48
48
  }, B = { style: { flex: "1 1 auto" } };
49
- function S(o, e, n, T, j, t) {
49
+ function O(o, e, n, S, j, t) {
50
50
  const c = l("ColorPicker"), f = l("ManualPopover"), v = g("tooltip");
51
51
  return i(), a("div", P, [
52
52
  r("div", B, [
@@ -99,7 +99,7 @@ function S(o, e, n, T, j, t) {
99
99
  })
100
100
  ], 512);
101
101
  }
102
- const $ = /* @__PURE__ */ C(M, [["render", S], ["__scopeId", "data-v-40fbf889"]]);
102
+ const $ = /* @__PURE__ */ C(M, [["render", O], ["__scopeId", "data-v-40fbf889"]]);
103
103
  export {
104
104
  $ as T
105
105
  };
@@ -1,7 +1,7 @@
1
- import { m as s } from "./mapFormMixin-DcTZ2NvY.js";
2
- import { I as m } from "./InputToggleRow-Dv5l7HsH.js";
3
- import { b as p } from "./CDropdownItem-DyWrpOb-.js";
4
- import { _ as d, b as e, d as g, o as r, f as i, w as c } from "./main-D4afcIIy.js";
1
+ import { m as s } from "./mapFormMixin-sXjgYtfb.js";
2
+ import { I as m } from "./InputToggleRow-COQQQaJS.js";
3
+ import { C as p } from "./CDropdownItem-CFTdvAJc.js";
4
+ import { _ as d, b as e, d as g, o as r, f as i, w as c } from "./main-BnJTDeKH.js";
5
5
  const u = {
6
6
  name: "ToggleBinding",
7
7
  i18nOptions: {
@@ -21,7 +21,7 @@ const u = {
21
21
  },
22
22
  mixins: [s(["notBinding"])]
23
23
  };
24
- function f(n, o, b, w, B, _) {
24
+ function f(n, o, w, B, b, _) {
25
25
  const t = e("CSwitch"), l = e("InputToggleRow");
26
26
  return r(), g("div", null, [
27
27
  i(l, {
@@ -1,5 +1,5 @@
1
- import { _ as y, a as x, b as u, d as r, o as i, j as s, e as v, s as w, t as l, F as f, q as g, f as c, w as b, at as k, $ as C, l as $ } from "./main-D4afcIIy.js";
2
- import { _ as U } from "./Index.vue_vue_type_script_lang-MIgEx7dJ.js";
1
+ import { _ as y, a as x, b as u, d as r, o as i, j as s, e as v, s as w, t as l, F as f, q as g, f as c, w as b, at as k, U as C, l as U } from "./main-BnJTDeKH.js";
2
+ import { _ as $ } from "./Index.vue_vue_type_script_lang-DkStHbk0.js";
3
3
  const F = {
4
4
  i18nOptions: {
5
5
  namespaces: "uploadModal",
@@ -16,7 +16,7 @@ const F = {
16
16
  },
17
17
  name: "UploadModal",
18
18
  components: {
19
- FileIcon: U
19
+ FileIcon: $
20
20
  },
21
21
  emits: ["open-picker", "select"],
22
22
  data() {
@@ -62,7 +62,7 @@ const F = {
62
62
  })
63
63
  );
64
64
  } catch (o) {
65
- $(o);
65
+ U(o);
66
66
  } finally {
67
67
  this.isLoading = !1;
68
68
  }
@@ -1,7 +1,7 @@
1
- import { _ as c } from "./CFormField.vue_vue_type_script_setup_true_lang-CSMB_HdZ.js";
2
- import { u as p } from "./index-FsgsKPqg.js";
3
- import { _ as V, Y as h, b as i, c as v, o as y, w as o, f as d, U as _, s as g, t as w, X as C } from "./main-D4afcIIy.js";
4
- import { v as x } from "./utils-DvezupAT.js";
1
+ import { _ as c } from "./CFormField.vue_vue_type_script_setup_true_lang-B0HHxy2B.js";
2
+ import { u as p } from "./index-DnMhYLAz.js";
3
+ import { _ as V, S as h, b as i, c as v, o as y, w as o, f as d, O as _, s as g, t as w, Q as C } from "./main-BnJTDeKH.js";
4
+ import { v as x } from "./utils-Dn9pHgbx.js";
5
5
  const D = {
6
6
  name: "VideoPlayerInput",
7
7
  i18nOptions: {
@@ -128,7 +128,7 @@ function I(l, e, t, u, s, a) {
128
128
  _: 3
129
129
  }, 8, ["grouped", "style"]);
130
130
  }
131
- const O = /* @__PURE__ */ V(D, [["render", I]]);
131
+ const U = /* @__PURE__ */ V(D, [["render", I]]);
132
132
  export {
133
- O as default
133
+ U as default
134
134
  };
@@ -1,5 +1,5 @@
1
- import v from "./VideoPlayerInput-CmjzzRDj.js";
2
- import { _ as m, b as u, d as i, o as a, j as e, f, t as s, F as z, q as _, y as h } from "./main-D4afcIIy.js";
1
+ import v from "./VideoPlayerInput-CtZi6yF_.js";
2
+ import { _ as m, b as u, d as i, o as a, j as e, f, t as s, F as z, q as _, y as h } from "./main-BnJTDeKH.js";
3
3
  const g = {
4
4
  i18nOptions: {
5
5
  namespaces: "components",
@@ -1,6 +1,6 @@
1
- import B from "./VideoPlayerInput-CmjzzRDj.js";
2
- import { B as C, a as z } from "./index-MMzIZOFI.js";
3
- import { _ as M, b as v, c as x, o as d, w as n, d as g, f as c, s as y, t as V, j as l, e as S, X as w, a6 as L, i as T } from "./main-D4afcIIy.js";
1
+ import B from "./VideoPlayerInput-CtZi6yF_.js";
2
+ import { B as C, a as z } from "./index-CBkI7Hc7.js";
3
+ import { _ as M, b as v, c as x, o as d, w as n, d as g, f as c, s as y, t as V, j as l, e as S, Q as w, Z as L, i as T } from "./main-BnJTDeKH.js";
4
4
  const I = {
5
5
  name: "VideoSelectModal",
6
6
  i18nOptions: {
@@ -211,7 +211,7 @@ function O(i, e, r, m, t, s) {
211
211
  _: 1
212
212
  });
213
213
  }
214
- const G = /* @__PURE__ */ M(I, [["render", O], ["__scopeId", "data-v-638c5818"]]);
214
+ const F = /* @__PURE__ */ M(I, [["render", O], ["__scopeId", "data-v-638c5818"]]);
215
215
  export {
216
- G as default
216
+ F as default
217
217
  };
@@ -1,6 +1,6 @@
1
- const l = {}, f = {};
1
+ const l = {}, a = {};
2
2
  function p(t) {
3
- if (f[t]) return;
3
+ if (a[t]) return;
4
4
  if (l[t]) return l[t];
5
5
  const o = new Promise((e, s) => {
6
6
  const n = document.createElement("script");
@@ -9,9 +9,9 @@ function p(t) {
9
9
  l[t] = null, s(new Error(`Failed to load ${t} in 20s`));
10
10
  }, 2e4);
11
11
  n.onload = () => {
12
- i && window.clearTimeout(i), f[t] = !0, l[t] = null, e();
13
- }, n.onerror = (a) => {
14
- i && window.clearTimeout(i), l[t] = null, s(a);
12
+ i && window.clearTimeout(i), a[t] = !0, l[t] = null, e();
13
+ }, n.onerror = (f) => {
14
+ i && window.clearTimeout(i), l[t] = null, s(f);
15
15
  }, n.src = t, document.body.appendChild(n);
16
16
  });
17
17
  return l[t] = o, o;
@@ -61,7 +61,6 @@ const g = (t) => {
61
61
  };
62
62
  };
63
63
  export {
64
- u as a,
65
64
  p as e,
66
65
  g,
67
66
  w as i,
@@ -1,4 +1,4 @@
1
- import { s as o } from "./formDrawerState-Cf5itKVM.js";
1
+ import { s as o } from "./formDrawerState-DlaQS_ZT.js";
2
2
  const t = {
3
3
  inject: {
4
4
  sectionTopNode: {
@@ -1,4 +1,4 @@
1
- import { r as s } from "./main-D4afcIIy.js";
1
+ import { r as s } from "./main-BnJTDeKH.js";
2
2
  const e = s({
3
3
  isFixed: !1,
4
4
  // Worded according to CSS property (show as fixed drawer)
@@ -1,4 +1,4 @@
1
- import "./main-D4afcIIy.js";
1
+ import "./main-BnJTDeKH.js";
2
2
  const t = () => {
3
3
  const o = window.location.host.split(".");
4
4
  return o && o[0];
@@ -1,4 +1,4 @@
1
- import { aL as d, aM as c, aN as p, aO as f, F as m } from "./main-D4afcIIy.js";
1
+ import { aL as d, aM as c, aN as p, aO as f, F as m } from "./main-BnJTDeKH.js";
2
2
  var i = { exports: {} }, s;
3
3
  function l() {
4
4
  return s || (s = 1, function(e, t) {
@@ -1,4 +1,4 @@
1
- import { _ as u, b as h, d as i, o as a, j as e, f as l, t as c, s as g, w as m, al as b, F as k, q as f, X as v, ao as n } from "./main-D4afcIIy.js";
1
+ import { _ as u, b as h, d as i, o as a, j as e, f as l, t as c, s as g, w as m, al as b, F as k, q as f, Q as v, ao as n } from "./main-BnJTDeKH.js";
2
2
  const y = {
3
3
  name: "DocumentGuide",
4
4
  i18nOptions: {
@@ -1,9 +1,9 @@
1
- import { F as $ } from "./Flag-BxkDKlP4.js";
2
- import { w as L } from "./CDropdownItem-DyWrpOb-.js";
3
- import { _ as b, aU as S, aV as B, Y as E, a3 as R, b as a, d as i, o, j as n, f as h, an as v, w as x, e as r, F as y, q as k, X as q, t as m, c as F, s as w, U as g } from "./main-D4afcIIy.js";
4
- import { i as P } from "./dom-DOcGU3-g.js";
1
+ import { F as V } from "./Flag-CUjMh16L.js";
2
+ import { w as $ } from "./CDropdownItem-CFTdvAJc.js";
3
+ import { _ as b, aU as L, aV as B, S as E, W as R, b as a, d as i, o, j as n, f as h, an as v, w as x, e as r, F as y, q as k, Q as q, t as m, c as F, s as w, O as g } from "./main-BnJTDeKH.js";
4
+ import { i as P } from "./dom-B_lSczxY.js";
5
5
  /* empty css */
6
- const z = {
6
+ const O = {
7
7
  name: "BackgroundsModalList",
8
8
  i18nOptions: {
9
9
  namespaces: "backgroundsModalList",
@@ -20,10 +20,10 @@ const z = {
20
20
  },
21
21
  components: {
22
22
  Simplebar: B,
23
- Flag: $
23
+ Flag: V
24
24
  },
25
25
  emits: ["select", "save"],
26
- mixins: [L],
26
+ mixins: [$],
27
27
  props: {
28
28
  /**
29
29
  * @param {Object} options Input arguments
@@ -97,7 +97,7 @@ const z = {
97
97
  const s = this.query ? this.query : this.defaultQuery, { items: e, total: d } = await this.fetch({ query: s, page: this.page++ });
98
98
  this.isLoading = !1, this.noOfResults = this.query ? d : null, this.items == null ? (this.selectedIndex = null, this.items = e) : this.items = [...this.items, ...e], this.allowMoreResults = d >= this.page * 12;
99
99
  },
100
- scrollHandler: S(async function() {
100
+ scrollHandler: L(async function() {
101
101
  const e = this.listElements[this.listElements.length - 9 || 0];
102
102
  e && P(e) && this.handleFetch();
103
103
  }, 50),
@@ -115,27 +115,27 @@ const z = {
115
115
  e && (e.readyState === 4 ? e.pause() : e.addEventListener("playing", () => e.pause(), { once: !0 }));
116
116
  }
117
117
  }
118
- }, H = { style: { "min-height": "0", display: "flex", "flex-direction": "column", height: "100%" } }, N = { class: "relative flex w-full shrink-0 py-1" }, O = { style: { overflow: "hidden", flex: "1", height: "100%" } }, j = { style: { display: "grid", "grid-template-columns": "repeat(auto-fit, minmax(210px, 1fr))", gap: "2px" } }, T = ["onClick"], U = ["onMouseenterPassive", "onMouseleavePassive"], G = ["src"], Q = {
118
+ }, z = { style: { "min-height": "0", display: "flex", "flex-direction": "column", height: "100%" } }, H = { class: "relative flex w-full shrink-0 py-1" }, N = { style: { overflow: "hidden", flex: "1", height: "100%" } }, j = { style: { display: "grid", "grid-template-columns": "repeat(auto-fit, minmax(210px, 1fr))", gap: "2px" } }, T = ["onClick"], U = ["onMouseenterPassive", "onMouseleavePassive"], Q = ["src"], G = {
119
119
  key: 1,
120
120
  class: "select-wrapper"
121
- }, D = { class: "photo__credit" }, X = {
121
+ }, D = { class: "photo__credit" }, W = {
122
122
  class: "flex w-full items-center justify-center",
123
123
  style: { padding: "2em 1em" }
124
- }, Y = {
124
+ }, A = {
125
125
  key: 1,
126
126
  class: "flex w-full flex-col items-center justify-center text-gray-400"
127
- }, A = {
127
+ }, J = {
128
128
  key: 0,
129
129
  class: "flex flex-col items-center text-center",
130
130
  style: { "padding-top": "3.2rem" }
131
- }, J = {
131
+ }, K = {
132
132
  class: "flex w-full items-center justify-end",
133
133
  style: { padding: "4px 4px 4px 8px", "flex-shrink": "0" }
134
- }, K = { class: "flex-grow text-gray-400" }, W = { key: 0 };
134
+ }, X = { class: "flex-grow text-gray-400" }, Y = { key: 0 };
135
135
  function Z(s, e, d, C, t, c) {
136
- const f = a("CInput"), p = a("CIcon"), I = a("Flag"), M = a("Simplebar"), V = a("CButton");
137
- return o(), i("div", H, [
138
- n("div", N, [
136
+ const f = a("CInput"), p = a("CIcon"), I = a("Flag"), M = a("Simplebar"), S = a("CButton");
137
+ return o(), i("div", z, [
138
+ n("div", H, [
139
139
  h(f, {
140
140
  modelValue: t.query,
141
141
  "onUpdate:modelValue": e[0] || (e[0] = (l) => t.query = l),
@@ -149,7 +149,7 @@ function Z(s, e, d, C, t, c) {
149
149
  }, ["stop"]))
150
150
  }, null, 8, ["modelValue", "placeholder"])
151
151
  ]),
152
- n("div", O, [
152
+ n("div", N, [
153
153
  h(M, {
154
154
  ref: "scrollbar",
155
155
  style: { width: "100%", height: "100%", padding: "3px 4px" }
@@ -184,20 +184,20 @@ function Z(s, e, d, C, t, c) {
184
184
  muted: "",
185
185
  playsInline: "",
186
186
  preload: "none"
187
- }, null, 8, G)
187
+ }, null, 8, Q)
188
188
  ], 40, U)) : r("", !0),
189
- t.selectedIndex === u ? (o(), i("div", Q)) : r("", !0),
189
+ t.selectedIndex === u ? (o(), i("div", G)) : r("", !0),
190
190
  n("div", D, m(l.userName), 1)
191
191
  ], 12, T))), 128))
192
192
  ]),
193
- n("div", X, [
193
+ n("div", W, [
194
194
  t.isLoading ? (o(), F(p, {
195
195
  key: 0,
196
196
  type: "loader",
197
197
  class: "rotateSpin"
198
- })) : t.allowMoreResults ? r("", !0) : (o(), i("div", Y, [
198
+ })) : t.allowMoreResults ? r("", !0) : (o(), i("div", A, [
199
199
  n("div", null, m(s.$t("noMoreResults")), 1),
200
- s.$i18n.lang !== "en" ? (o(), i("div", A, [
200
+ s.$i18n.lang !== "en" ? (o(), i("div", J, [
201
201
  h(I, {
202
202
  region: "GB",
203
203
  class: "mb-1 h-8 w-8"
@@ -210,15 +210,15 @@ function Z(s, e, d, C, t, c) {
210
210
  _: 1
211
211
  }, 512)
212
212
  ]),
213
- n("div", J, [
214
- n("div", K, [
213
+ n("div", K, [
214
+ n("div", X, [
215
215
  s.mq !== "sm" ? (o(), i(y, { key: 0 }, [
216
- t.query && t.noOfResults && t.noOfResults > 0 ? (o(), i("div", W, m(s.$tc("_common:result", { count: t.noOfResults })), 1)) : r("", !0),
216
+ t.query && t.noOfResults && t.noOfResults > 0 ? (o(), i("div", Y, m(s.$tc("_common:result", { count: t.noOfResults })), 1)) : r("", !0),
217
217
  n("div", null, m(d.creditText), 1)
218
218
  ], 64)) : r("", !0)
219
219
  ]),
220
220
  g(s.$slots, "footer", {}, () => [
221
- h(V, {
221
+ h(S, {
222
222
  style: { "margin-left": "0.5em" },
223
223
  type: "secondary",
224
224
  onClick: c.onSave
@@ -232,7 +232,7 @@ function Z(s, e, d, C, t, c) {
232
232
  ])
233
233
  ]);
234
234
  }
235
- const ee = /* @__PURE__ */ b(z, [["render", Z], ["__scopeId", "data-v-3bdac00b"]]), se = {
235
+ const ee = /* @__PURE__ */ b(O, [["render", Z], ["__scopeId", "data-v-3bdac00b"]]), se = {
236
236
  name: "BackgroundsModal",
237
237
  emits: ["close"]
238
238
  };
@@ -0,0 +1,107 @@
1
+ import { J as i } from "./main-BnJTDeKH.js";
2
+ const f = (r) => {
3
+ if (r = i(r), Array.isArray(r)) return !!r.length;
4
+ if (r == null)
5
+ return !1;
6
+ if (r === !1)
7
+ return !0;
8
+ if (r instanceof Date)
9
+ return !isNaN(r.getTime());
10
+ if (typeof r == "object") {
11
+ for (let t in r) return !0;
12
+ return !1;
13
+ }
14
+ return !!String(r).length;
15
+ }, x = (r) => (r = i(r), Array.isArray(r) ? r.length : typeof r == "object" ? Object.keys(r).length : String(r).length);
16
+ function n() {
17
+ for (var r = arguments.length, t = new Array(r), e = 0; e < r; e++)
18
+ t[e] = arguments[e];
19
+ return (a) => (a = i(a), !f(a) || t.every((s) => (s.lastIndex = 0, s.test(a))));
20
+ }
21
+ n(/^[a-zA-Z]*$/);
22
+ n(/^[a-zA-Z0-9]*$/);
23
+ n(/^\d*(\.\d+)?$/);
24
+ const u = /^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i;
25
+ var $ = n(u), p = {
26
+ $validator: $,
27
+ $message: "Value is not a valid email address",
28
+ $params: {
29
+ type: "email"
30
+ }
31
+ };
32
+ function m(r) {
33
+ return (t) => !f(t) || x(t) <= i(r);
34
+ }
35
+ function y(r) {
36
+ return {
37
+ $validator: m(r),
38
+ $message: (t) => {
39
+ let {
40
+ $params: e
41
+ } = t;
42
+ return `The maximum length allowed is ${e.max}`;
43
+ },
44
+ $params: {
45
+ max: r,
46
+ type: "maxLength"
47
+ }
48
+ };
49
+ }
50
+ function o(r) {
51
+ return (t) => !f(t) || x(t) >= i(r);
52
+ }
53
+ function l(r) {
54
+ return {
55
+ $validator: o(r),
56
+ $message: (t) => {
57
+ let {
58
+ $params: e
59
+ } = t;
60
+ return `This field should be at least ${e.min} characters long`;
61
+ },
62
+ $params: {
63
+ min: r,
64
+ type: "minLength"
65
+ }
66
+ };
67
+ }
68
+ function g(r) {
69
+ return typeof r == "string" && (r = r.trim()), f(r);
70
+ }
71
+ var b = {
72
+ $validator: g,
73
+ $message: "Value is required",
74
+ $params: {
75
+ type: "required"
76
+ }
77
+ };
78
+ const d = (r, t) => r ? f(typeof t == "string" ? t.trim() : t) : !0;
79
+ function c(r) {
80
+ return function(t, e) {
81
+ if (typeof r != "function")
82
+ return d(i(r), t);
83
+ const a = r.call(this, t, e);
84
+ return d(a, t);
85
+ };
86
+ }
87
+ function q(r) {
88
+ return {
89
+ $validator: c(r),
90
+ $message: "The value is required",
91
+ $params: {
92
+ type: "requiredIf",
93
+ prop: r
94
+ }
95
+ };
96
+ }
97
+ const h = /^(?:(?:(?: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-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i;
98
+ n(h);
99
+ n(/(^[0-9]*$)|(^-[0-9]+$)/);
100
+ n(/^[-]?\d*(\.\d+)?$/);
101
+ export {
102
+ q as a,
103
+ l as b,
104
+ p as e,
105
+ y as m,
106
+ b as r
107
+ };