@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 { _ as s, o as c, b as d, s as t, d as i, v as o, e as a } from "./main-WDVYC60Z.js";
1
+ import { _ as c, b as s, d, o as i, j as t, f as a, t as o } from "./main-BayUZ9OO.js";
2
2
  const r = {
3
3
  name: "DocumentVoided",
4
4
  props: {
@@ -8,11 +8,11 @@ const r = {
8
8
  }
9
9
  }
10
10
  }, l = { class: "grid h-full place-items-center text-center" }, m = { class: "py-12" }, _ = ["textContent"], u = ["textContent"];
11
- function p(x, f, e, C, h, v) {
12
- const n = a("CIcon");
13
- return c(), d("div", l, [
11
+ function p(x, f, e, C, h, y) {
12
+ const n = s("CIcon");
13
+ return i(), d("div", l, [
14
14
  t("div", m, [
15
- i(n, {
15
+ a(n, {
16
16
  type: "info",
17
17
  class: "text-primary-500 mb-2"
18
18
  }),
@@ -27,7 +27,7 @@ function p(x, f, e, C, h, v) {
27
27
  ])
28
28
  ]);
29
29
  }
30
- const V = /* @__PURE__ */ s(r, [["render", p]]);
30
+ const v = /* @__PURE__ */ c(r, [["render", p]]);
31
31
  export {
32
- V as D
32
+ v as D
33
33
  };
@@ -1,6 +1,6 @@
1
- import { _ as p } from "./CFormField.vue_vue_type_script_setup_true_lang-KdkAe_wn.js";
2
- import { u as f } from "./index-Dbe2ueXc.js";
3
- import { A as h, _ as b, ab as g, e as d, o as w, c as v, w as l, d as o, H as V, v as _, l as y } from "./main-WDVYC60Z.js";
1
+ import { _ as p } from "./CFormField.vue_vue_type_script_setup_true_lang-Bi0MjQdW.js";
2
+ import { u as f } from "./index-C3pnyYI4.js";
3
+ import { ae as h, _ as b, X as g, b as d, c as w, o as V, w as l, f as o, q as _, t as v, W as y } from "./main-BayUZ9OO.js";
4
4
  const z = (e) => {
5
5
  const a = new DOMParser().parseFromString(e, "text/html"), [i] = h(a, "body.children") || [];
6
6
  return !i || i.tagName !== "IFRAME" ? {} : Array.from(i.attributes).reduce(
@@ -11,9 +11,9 @@ const z = (e) => {
11
11
  if (typeof e != "object" || !e) return "";
12
12
  const t = document.createElement("iframe");
13
13
  return Object.keys(e).forEach((a) => t.setAttribute(a, e[a])), t.hasAttribute("src") ? t.outerHTML : "";
14
- }, A = (e) => /^(?:https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|www\.[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9]+\.[^\s]{2,}|www\.[a-zA-Z0-9]+\.[^\s]{2,})/gi.test(
14
+ }, F = (e) => /^(?:https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|www\.[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9]+\.[^\s]{2,}|www\.[a-zA-Z0-9]+\.[^\s]{2,})/gi.test(
15
15
  e
16
- ), F = {
16
+ ), x = {
17
17
  name: "EmbedInput",
18
18
  i18nOptions: {
19
19
  namespaces: "embedInput",
@@ -67,7 +67,7 @@ const z = (e) => {
67
67
  },
68
68
  validations() {
69
69
  return {
70
- embed: { isValid: (e) => e && A(e.src) }
70
+ embed: { isValid: (e) => e && F(e.src) }
71
71
  };
72
72
  },
73
73
  computed: {
@@ -97,9 +97,9 @@ const z = (e) => {
97
97
  }
98
98
  }
99
99
  };
100
- function x(e, t, a, i, s, n) {
100
+ function A(e, t, a, i, s, n) {
101
101
  const r = d("CInput"), m = d("CField"), c = d("CButton");
102
- return w(), v(m, {
102
+ return V(), w(m, {
103
103
  grouped: !a.isDrawerMode,
104
104
  style: y(
105
105
  a.isDrawerMode && {
@@ -142,7 +142,7 @@ function x(e, t, a, i, s, n) {
142
142
  onClick: t[1] || (t[1] = (u) => n.validateInput(s.iFrameTplString))
143
143
  }, {
144
144
  default: l(() => [
145
- V(_(e.$t("_common:add")), 1)
145
+ _(v(e.$t("_common:add")), 1)
146
146
  ]),
147
147
  _: 1
148
148
  }, 8, ["disabled", "size"])
@@ -150,7 +150,7 @@ function x(e, t, a, i, s, n) {
150
150
  _: 1
151
151
  }, 8, ["grouped", "style"]);
152
152
  }
153
- const S = /* @__PURE__ */ b(F, [["render", x]]);
153
+ const S = /* @__PURE__ */ b(x, [["render", A]]);
154
154
  export {
155
155
  S as default
156
156
  };
@@ -1,6 +1,6 @@
1
- import { b as h } from "./CDropdownItem-BuQONogL.js";
2
- import z from "./EmbedInput-Crx-LEGc.js";
3
- import { _ as g, e as d, o, b as a, s, v as n, d as r, F as _, k as f, n as b, f as y } from "./main-WDVYC60Z.js";
1
+ import { b as h } from "./CDropdownItem-E-kRDIiy.js";
2
+ import z from "./EmbedInput-B29usQZZ.js";
3
+ import { _ as g, b as d, d as o, o as a, j as s, f as r, t as n, e as _, F as f, n as b, x as y } from "./main-BayUZ9OO.js";
4
4
  const C = {
5
5
  i18nOptions: {
6
6
  namespaces: "embedSettings",
@@ -54,13 +54,13 @@ const C = {
54
54
  }, H = { class: "d-root" }, S = { class: "d-option" }, V = { class: "d-option-title" }, M = {
55
55
  class: "text-gray-600",
56
56
  style: { "padding-bottom": "1em" }
57
- }, k = { class: "d-option" }, w = { class: "d-option-title" }, E = { style: { flex: "1 1 auto" } }, B = {
57
+ }, w = { class: "d-option" }, E = { class: "d-option-title" }, k = { style: { flex: "1 1 auto" } }, B = {
58
58
  key: 0,
59
59
  style: { display: "flex", "flex-direction": "row", "flex-wrap": "wrap", "padding-top": "5px" }
60
60
  }, F = ["onClick"], $ = ["innerHTML"];
61
- function D(e, i, l, T, x, m) {
61
+ function x(e, i, l, D, T, m) {
62
62
  const p = d("EmbedInput"), u = d("CSwitch");
63
- return o(), a("div", H, [
63
+ return a(), o("div", H, [
64
64
  s("div", S, [
65
65
  s("div", V, n(e.$t("title").capitalize()), 1),
66
66
  s("div", M, n(e.$t("subTitle")), 1),
@@ -70,9 +70,9 @@ function D(e, i, l, T, x, m) {
70
70
  "onUpdate:modelValue": i[0] || (i[0] = (t) => e.$emit("update:modelValue", t))
71
71
  }, null, 8, ["model-value"])
72
72
  ]),
73
- s("div", k, [
74
- s("div", w, [
75
- s("div", E, n(e.$t("responsiveSize")), 1),
73
+ s("div", w, [
74
+ s("div", E, [
75
+ s("div", k, n(e.$t("responsiveSize")), 1),
76
76
  r(u, {
77
77
  "model-value": !!l.size,
78
78
  size: "small",
@@ -81,23 +81,23 @@ function D(e, i, l, T, x, m) {
81
81
  "onUpdate:modelValue": i[1] || (i[1] = (t) => e.$emit("update:size", t ? "small" : null))
82
82
  }, null, 8, ["model-value"])
83
83
  ]),
84
- l.size ? (o(), a("div", B, [
85
- (o(!0), a(_, null, f(m.sizeOptions, ({ value: t, svg: v }, c) => (o(), a("div", {
84
+ l.size ? (a(), o("div", B, [
85
+ (a(!0), o(f, null, b(m.sizeOptions, ({ value: t, svg: v }, c) => (a(), o("div", {
86
86
  key: c,
87
87
  class: "size-option",
88
88
  onClick: (I) => e.$emit("update:size", t)
89
89
  }, [
90
- (o(), a("svg", {
91
- class: b([{ "is-active": l.size === t }, "size-option-image"]),
90
+ (a(), o("svg", {
91
+ class: y([{ "is-active": l.size === t }, "size-option-image"]),
92
92
  viewBox: "0 0 99 65",
93
93
  innerHTML: v
94
94
  }, null, 10, $))
95
95
  ], 8, F))), 128))
96
- ])) : y("", !0)
96
+ ])) : _("", !0)
97
97
  ])
98
98
  ]);
99
99
  }
100
- const G = /* @__PURE__ */ g(C, [["render", D], ["__scopeId", "data-v-157de8e2"]]);
100
+ const j = /* @__PURE__ */ g(C, [["render", x], ["__scopeId", "data-v-157de8e2"]]);
101
101
  export {
102
- G as default
102
+ j as default
103
103
  };
@@ -1,24 +1,24 @@
1
- import { h as c, u as i, i as a, o as m, b as p, s as t, d, v as u, n as r, l as _, e as v, _ as y } from "./main-WDVYC60Z.js";
2
- const g = /* @__PURE__ */ c({
1
+ import { a7 as n, ay as i, H as a, b as m, d as p, o as d, j as t, f as _, t as u, x as r, W as y, _ as v } from "./main-BayUZ9OO.js";
2
+ const f = /* @__PURE__ */ n({
3
3
  __name: "ErrorCallout",
4
4
  props: {
5
5
  message: {},
6
6
  size: { default: "normal" }
7
7
  },
8
- setup(C) {
8
+ setup(g) {
9
9
  const e = i(), o = a(() => e.style), l = a(() => e.class);
10
- return (s, f) => {
11
- const n = v("CIcon");
12
- return m(), p("div", {
10
+ return (s, C) => {
11
+ const c = m("CIcon");
12
+ return d(), p("div", {
13
13
  class: r([[l.value], "flex items-center"]),
14
- style: _([{ "margin-top": "calc(1 * var(--rem))" }, [o.value]]),
14
+ style: y([{ "margin-top": "calc(1 * var(--rem))" }, [o.value]]),
15
15
  "data-type": "error-callout"
16
16
  }, [
17
17
  t("div", {
18
18
  class: r([[`is-${s.size}`], "error-wrapper bg-red-50 text-red-500"]),
19
19
  style: { margin: "calc(1 * var(--rem)) 0" }
20
20
  }, [
21
- d(n, {
21
+ _(c, {
22
22
  type: "alert",
23
23
  size: "18",
24
24
  style: { "margin-right": "0.5em", flex: "0 0 18px" }
@@ -28,7 +28,7 @@ const g = /* @__PURE__ */ c({
28
28
  ], 6);
29
29
  };
30
30
  }
31
- }), z = /* @__PURE__ */ y(g, [["__scopeId", "data-v-32b00685"]]);
31
+ }), z = /* @__PURE__ */ v(f, [["__scopeId", "data-v-32b00685"]]);
32
32
  export {
33
33
  z as E
34
34
  };
@@ -1,10 +1,10 @@
1
- import { V as p } from "./PdfViewer-DYN758PA.js";
2
- import { _ as h, S as k, e as m, ac as y, o, b as i, s as n, v as x, O as a, n as v, c as g, f as c, ad as I } from "./main-WDVYC60Z.js";
1
+ import { V as c } from "./PdfViewer-C2EEwUBa.js";
2
+ import { _ as h, S as k, b as m, a4 as y, d as i, o, j as n, t as x, u as a, x as v, c as g, e as w, am as I } from "./main-BayUZ9OO.js";
3
3
  const C = {
4
4
  name: "FilesPreviewModal",
5
5
  components: {
6
6
  Spinner: k,
7
- VuePdf: p
7
+ VuePdf: c
8
8
  },
9
9
  emits: ["close"],
10
10
  props: {
@@ -64,7 +64,7 @@ const C = {
64
64
  class: "pdf-root"
65
65
  }, E = ["src"];
66
66
  function G(t, e, r, S, s, u) {
67
- const w = m("Spinner"), f = m("VuePdf"), l = y("tooltip");
67
+ const f = m("Spinner"), p = m("VuePdf"), l = y("tooltip");
68
68
  return o(), i("div", L, [
69
69
  e[11] || (e[11] = n("div", { class: "image-modal-overlay" }, null, -1)),
70
70
  n("div", b, [
@@ -172,13 +172,13 @@ function G(t, e, r, S, s, u) {
172
172
  style: { position: "relative" },
173
173
  onClick: e[6] || (e[6] = (d) => t.$emit("close"))
174
174
  }, [
175
- s.isLoading ? (o(), g(w, {
175
+ s.isLoading ? (o(), g(f, {
176
176
  key: 0,
177
177
  size: "50px",
178
178
  style: { position: "absolute", left: "50%", top: "50%", transform: "translate(-50%, -50%)" }
179
- })) : c("", !0),
179
+ })) : w("", !0),
180
180
  u.isPdf ? (o(), i("div", j, [
181
- (o(), g(f, {
181
+ (o(), g(p, {
182
182
  key: this.currentIndex,
183
183
  src: r.list[s.currentIndex].url,
184
184
  class: "pdf-page",
@@ -188,7 +188,7 @@ function G(t, e, r, S, s, u) {
188
188
  onClick: e[4] || (e[4] = I(() => {
189
189
  }, ["stop"]))
190
190
  }, null, 8, ["src"]))
191
- ])) : s.isLoading ? c("", !0) : (o(), i("img", {
191
+ ])) : s.isLoading ? w("", !0) : (o(), i("img", {
192
192
  key: 2,
193
193
  src: r.list[s.currentIndex].url,
194
194
  class: "modal-image",
@@ -197,7 +197,7 @@ function G(t, e, r, S, s, u) {
197
197
  ])
198
198
  ]);
199
199
  }
200
- const K = /* @__PURE__ */ h(C, [["render", G], ["__scopeId", "data-v-9ac1ca75"]]);
200
+ const K = /* @__PURE__ */ h(C, [["render", G], ["__scopeId", "data-v-fd12176b"]]);
201
201
  export {
202
202
  K as default
203
203
  };
@@ -1,4 +1,4 @@
1
- import { _ as i, o as c, b as r, n as d, f as u } from "./main-WDVYC60Z.js";
1
+ import { _ as i, d as c, e as r, o as d, x as u } from "./main-BayUZ9OO.js";
2
2
  const f = {
3
3
  name: "FlagIcon",
4
4
  props: {
@@ -24,16 +24,16 @@ const f = {
24
24
  }
25
25
  }, m = ["title"];
26
26
  function g(o, n, t, s, e, a) {
27
- return t.region ? (c(), r("span", {
27
+ return t.region ? (d(), c("span", {
28
28
  key: 0,
29
- class: d([[
29
+ class: u([[
30
30
  `fi-${t.region.toLowerCase()}`,
31
31
  {
32
32
  fis: t.isSquared
33
33
  }
34
34
  ], "fi"]),
35
35
  title: t.title || t.region
36
- }, null, 10, m)) : u("", !0);
36
+ }, null, 10, m)) : r("", !0);
37
37
  }
38
38
  const h = /* @__PURE__ */ i(f, [["render", g]]);
39
39
  export {
@@ -1,12 +1,12 @@
1
- import { m as F } from "./mapFormMixin-B8xN9LiX.js";
2
- import { T as U } from "./ThemeColorRow-r1ECSrBU.js";
3
- import H from "./VideoPlayerInput-8e9ooR1p.js";
4
- import P from "./ImageUploadWrapper-Co43CWCP.js";
5
- import { B as j, a as $ } from "./index-CGXCI2G7.js";
6
- import { p as S, _ as A, ag as V, ao as R, e as g, o as a, c as x, w as c, s as l, b as u, F as _, k as L, l as z, v as h, d as p, H as w, f as B, a0 as O, aU as D, K as W, O as q, ad as M, aV as N, n as I, J as K } from "./main-WDVYC60Z.js";
7
- import { _ as E } from "./CFormField.vue_vue_type_script_setup_true_lang-KdkAe_wn.js";
8
- import { b as J } from "./CDropdownItem-BuQONogL.js";
9
- import { t as G } from "./template-fVxhQbOu.js";
1
+ import { m as F } from "./mapFormMixin-Bx5_nE7g.js";
2
+ import { T as U } from "./ThemeColorRow-D3blQMiD.js";
3
+ import j from "./VideoPlayerInput-BBycKv9w.js";
4
+ import P from "./ImageUploadWrapper-TYs37LIQ.js";
5
+ import { B as H, a as $ } from "./index-CBn1mHmK.js";
6
+ import { _ as A, b as g, c as x, o as a, w as c, d as u, f as p, q as w, t as h, j as l, e as L, W as z, F as _, n as B, at as R, a5 as V, i as S, b5 as O, a0 as D, T as W, u as q, am as M, b6 as N, ah as E, x as I } from "./main-BayUZ9OO.js";
7
+ import { _ as K } from "./CFormField.vue_vue_type_script_setup_true_lang-Bi0MjQdW.js";
8
+ import { b as G } from "./CDropdownItem-E-kRDIiy.js";
9
+ import { t as J } from "./template-CvGgzazD.js";
10
10
  const T = S.unsplash.id, Q = S.pexels.id, X = {
11
11
  name: "MediaSelectModal",
12
12
  i18nOptions: {
@@ -27,9 +27,9 @@ const T = S.unsplash.id, Q = S.pexels.id, X = {
27
27
  }
28
28
  },
29
29
  components: {
30
- BackgroundModal: j,
31
- BackgroundList: $,
32
- VideoPlayerInput: H,
30
+ BackgroundModal: $,
31
+ BackgroundList: H,
32
+ VideoPlayerInput: j,
33
33
  ImageUploadWrapper: P
34
34
  },
35
35
  emits: ["input", "close"],
@@ -188,7 +188,7 @@ function he(e, t, r, n, s, o) {
188
188
  }, {
189
189
  header: c(() => [
190
190
  l("div", Y, [
191
- (a(!0), u(_, null, L(s.tabs, (i, y) => (a(), x(d, {
191
+ (a(!0), u(_, null, B(s.tabs, (i, y) => (a(), x(d, {
192
192
  key: y,
193
193
  style: z([{ "font-size": "15px", "font-weight": "700", opacity: "0.5", "box-shadow": "none" }, s.activeTab === i.value && { opacity: 1 }]),
194
194
  onClick: (f) => s.activeTab = i.value
@@ -234,7 +234,7 @@ function he(e, t, r, n, s, o) {
234
234
  key: 0,
235
235
  src: s.customVideo.url,
236
236
  class: "custom-video-preview"
237
- }, null, 8, le)) : B("", !0)
237
+ }, null, 8, le)) : L("", !0)
238
238
  ]),
239
239
  p(C, {
240
240
  modelValue: s.customVideo,
@@ -310,9 +310,9 @@ function he(e, t, r, n, s, o) {
310
310
  const pe = /* @__PURE__ */ A(X, [["render", he], ["__scopeId", "data-v-e6251bf7"]]), ge = {
311
311
  name: "CRadioButton",
312
312
  components: {
313
- CButton: O
313
+ CButton: D
314
314
  },
315
- mixins: [D],
315
+ mixins: [O],
316
316
  props: {
317
317
  type: {
318
318
  type: String,
@@ -339,7 +339,7 @@ function ve(e, t, r, n, s, o) {
339
339
  class: I([[{ "is-disabled": e.disabled, "is-focused": s.isFocused }], "c-radio radio button"]),
340
340
  disabled: e.disabledOrUndefined,
341
341
  onClick: e.focus,
342
- onKeydown: t[4] || (t[4] = K(M((m) => e.$refs.$el.label.click(), ["prevent"]), ["enter"]))
342
+ onKeydown: t[4] || (t[4] = E(M((m) => e.$refs.$el.label.click(), ["prevent"]), ["enter"]))
343
343
  }, {
344
344
  default: c(() => [
345
345
  W(e.$slots, "default"),
@@ -368,8 +368,8 @@ const fe = /* @__PURE__ */ A(ge, [["render", ve]]), we = {
368
368
  components: {
369
369
  ThemeColorRow: U,
370
370
  CRadioButton: fe,
371
- CSwitch: J,
372
- CField: E
371
+ CSwitch: G,
372
+ CField: K
373
373
  },
374
374
  mixins: [
375
375
  F(
@@ -505,7 +505,7 @@ const fe = /* @__PURE__ */ A(ge, [["render", ve]]), we = {
505
505
  this._document.isDirty(this._value.textAlign) || (this.textAlign = e === "center" ? e : "left");
506
506
  },
507
507
  backgroundColor(e) {
508
- this._document.isDirty(this._value.textColor) || (this.textColor = G.readability(e, "#fff") < 1.8 ? "#111111" : "#FFFFFF");
508
+ this._document.isDirty(this._value.textColor) || (this.textColor = J.readability(e, "#fff") < 1.8 ? "#111111" : "#FFFFFF");
509
509
  }
510
510
  },
511
511
  methods: {
@@ -556,7 +556,7 @@ const fe = /* @__PURE__ */ A(ge, [["render", ve]]), we = {
556
556
  class: "d-option-title",
557
557
  style: { "margin-top": "calc(0.5 * var(--rem))" }
558
558
  }, Ue = ["innerHTML"];
559
- function He(e, t, r, n, s, o) {
559
+ function je(e, t, r, n, s, o) {
560
560
  const d = g("CButton"), m = g("ThemeColorRow"), C = g("CSwitch"), k = g("CRadioButton"), b = g("CField");
561
561
  return a(), u("div", Ce, [
562
562
  l("div", ke, [
@@ -565,7 +565,7 @@ function He(e, t, r, n, s, o) {
565
565
  style: { "padding-bottom": "calc(0.5 * var(--rem))" }
566
566
  }, " Layouts ", -1)),
567
567
  l("div", be, [
568
- (a(!0), u(_, null, L(o.layoutOptions, ({ isActive: i, onClick: y, icon: f }, v) => (a(), x(d, {
568
+ (a(!0), u(_, null, B(o.layoutOptions, ({ isActive: i, onClick: y, icon: f }, v) => (a(), x(d, {
569
569
  key: v,
570
570
  type: i ? "secondary" : "none",
571
571
  pattern: i ? "primary" : "secondary",
@@ -640,7 +640,7 @@ function He(e, t, r, n, s, o) {
640
640
  ]),
641
641
  _: 1
642
642
  }, 8, ["value"])
643
- ])) : B("", !0)
643
+ ])) : L("", !0)
644
644
  ])) : (a(), u(_, { key: 1 }, [
645
645
  e.layout !== "center" ? (a(), u("div", Me, [
646
646
  p(m, {
@@ -657,7 +657,7 @@ function He(e, t, r, n, s, o) {
657
657
  ]),
658
658
  _: 1
659
659
  }, 8, ["value"])
660
- ])) : B("", !0),
660
+ ])) : L("", !0),
661
661
  l("div", Te, [
662
662
  p(m, {
663
663
  value: e.textColor || "",
@@ -679,7 +679,7 @@ function He(e, t, r, n, s, o) {
679
679
  l("div", Fe, h(e.$t("_common:textAlign").capitalize()), 1),
680
680
  p(b, { style: { "margin-left": "auto" } }, {
681
681
  default: c(() => [
682
- (a(!0), u(_, null, L(s.alignOptions, ({ value: i, icon: y }, f) => (a(), x(k, {
682
+ (a(!0), u(_, null, B(s.alignOptions, ({ value: i, icon: y }, f) => (a(), x(k, {
683
683
  key: f,
684
684
  modelValue: e.textAlign,
685
685
  "onUpdate:modelValue": [
@@ -714,7 +714,7 @@ function He(e, t, r, n, s, o) {
714
714
  ], 64))
715
715
  ]);
716
716
  }
717
- const Ke = /* @__PURE__ */ A(we, [["render", He], ["__scopeId", "data-v-bccd31d9"]]);
717
+ const Ee = /* @__PURE__ */ A(we, [["render", je], ["__scopeId", "data-v-bccd31d9"]]);
718
718
  export {
719
- Ke as default
719
+ Ee as default
720
720
  };
@@ -1,7 +1,7 @@
1
- import _ from "./ImageUploadWrapper-Co43CWCP.js";
2
- import { B as I, a as B } from "./index-CGXCI2G7.js";
3
- import { _ as k, p as U, ag as i, ao as v, e as n, o as C, c as S, w as a, d as l, H as m, v as p } from "./main-WDVYC60Z.js";
4
- const u = U.unsplash.id, $ = {
1
+ import _ from "./ImageUploadWrapper-TYs37LIQ.js";
2
+ import { B as I, a as B } from "./index-CBn1mHmK.js";
3
+ import { _ as k, b as n, c as U, o as v, w as a, f as l, q as i, t as m, at as C, a5 as p, i as S } from "./main-BayUZ9OO.js";
4
+ const u = S.unsplash.id, $ = {
5
5
  name: "ImageSelectModal",
6
6
  i18nOptions: {
7
7
  namespaces: "imageSelectModal",
@@ -15,8 +15,8 @@ const u = U.unsplash.id, $ = {
15
15
  }
16
16
  },
17
17
  components: {
18
- BackgroundModal: I,
19
- BackgroundList: B,
18
+ BackgroundModal: B,
19
+ BackgroundList: I,
20
20
  ImageUploadWrapper: _
21
21
  },
22
22
  emits: ["input", "change", "close"],
@@ -27,7 +27,7 @@ const u = U.unsplash.id, $ = {
27
27
  },
28
28
  methods: {
29
29
  async fetch({ query: e, page: t }) {
30
- const { data: r } = await i.get(
30
+ const { data: r } = await p.get(
31
31
  "https://api.unsplash.com/search/photos",
32
32
  {
33
33
  params: {
@@ -48,9 +48,9 @@ const u = U.unsplash.id, $ = {
48
48
  };
49
49
  },
50
50
  selectImage(e) {
51
- this.selectedUrl = v(e.image, { w: 1800 });
51
+ this.selectedUrl = C(e.image, { w: 1800 });
52
52
  const t = new Image();
53
- t.src = this.selectedUrl, i.get(e.links.download_location, {
53
+ t.src = this.selectedUrl, p.get(e.links.download_location, {
54
54
  params: {
55
55
  client_id: u
56
56
  }
@@ -65,12 +65,12 @@ const u = U.unsplash.id, $ = {
65
65
  }
66
66
  };
67
67
  function w(e, t, r, o, y, s) {
68
- const d = n("CButton"), g = n("ImageUploadWrapper"), h = n("BackgroundList"), f = n("BackgroundModal");
69
- return C(), S(f, {
68
+ const d = n("CButton"), g = n("ImageUploadWrapper"), f = n("BackgroundList"), h = n("BackgroundModal");
69
+ return v(), U(h, {
70
70
  onClose: t[1] || (t[1] = (c) => e.$emit("close"))
71
71
  }, {
72
72
  default: a(() => [
73
- l(h, {
73
+ l(f, {
74
74
  fetch: s.fetch,
75
75
  "credit-text": e.$t("creditImages", { thing: "Unsplash" }),
76
76
  "default-query": "architecture",
@@ -89,7 +89,7 @@ function w(e, t, r, o, y, s) {
89
89
  type: "none"
90
90
  }, {
91
91
  default: a(() => [
92
- m(p(e.$t("_common:upload")), 1)
92
+ i(m(e.$t("_common:upload")), 1)
93
93
  ]),
94
94
  _: 2
95
95
  }, 1032, ["loading"])
@@ -102,7 +102,7 @@ function w(e, t, r, o, y, s) {
102
102
  onClick: s.onSave
103
103
  }, {
104
104
  default: a(() => [
105
- m(p(e.$t("_common:save")), 1)
105
+ i(m(e.$t("_common:save")), 1)
106
106
  ]),
107
107
  _: 1
108
108
  }, 8, ["onClick"])