@cling-se/widget 0.19.7 → 0.19.9

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 (128) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/{AddClientCallout-BdGevuQo.js → AddClientCallout-C400wpa7.js} +19 -19
  3. package/dist/{AnswerModal-DfjF-RVP.js → AnswerModal-C_vekdpA.js} +80 -80
  4. package/dist/{AttachmentItem-BEd3qVAo.js → AttachmentItem-CYeH1VVw.js} +14 -14
  5. package/dist/{BaseUpload-Zm4EX8ir.js → BaseUpload-DGLogqK4.js} +256 -256
  6. package/dist/{BlockMedia-ZHaA4OMV.js → BlockMedia-Hbm0GWNw.js} +33 -32
  7. package/dist/{CCallout-BlglVZrm.js → CCallout-BPCwr3uM.js} +15 -15
  8. package/dist/{CCurrencyDropdown-BzvKsm1N.js → CCurrencyDropdown-CZXWH0mA.js} +13 -13
  9. package/dist/{CDropdownItem-B5rgSee7.js → CDropdownItem-B9dja0RC.js} +11 -11
  10. package/dist/{CFormField.vue_vue_type_script_setup_true_lang-CVy64zGe.js → CFormField.vue_vue_type_script_setup_true_lang-HLxgkrxm.js} +17 -17
  11. package/dist/{CPhoneFormat-DaDNMlmK.js → CPhoneFormat-C1cjsMVZ.js} +1 -1
  12. package/dist/{CPhoneInput-BUogm59J.js → CPhoneInput-DwcIFaqz.js} +23 -23
  13. package/dist/{CPriceInput-Cd5OHMJS.js → CPriceInput-C_PfAhRb.js} +12 -12
  14. package/dist/{CSelect-CmoAbVkP.js → CSelect-D4A_clvT.js} +15 -15
  15. package/dist/{CSkeleton-BF6EYj8H.js → CSkeleton-h81Vudx0.js} +16 -16
  16. package/dist/{ClientAutocomplete-CHfp4YiV.js → ClientAutocomplete-B_R7zgvM.js} +24 -24
  17. package/dist/{ClientModal-Com23Qgc.js → ClientModal-CBJgrb_y.js} +44 -44
  18. package/dist/{ColorPicker-BzdHtZep.js → ColorPicker-a5yTVc0q.js} +66 -66
  19. package/dist/{CompanyModal-CGjSgTEJ.js → CompanyModal-sRTrUPOY.js} +18 -18
  20. package/dist/{ContentWrapper-CS-Bh4Bk.js → ContentWrapper-Cwd6t51-.js} +16 -16
  21. package/dist/{CoverBlockSettings-DDHQzLdc.js → CoverBlockSettings-8tjji9f1.js} +39 -39
  22. package/dist/{DocAnswer-Cmdsw_CW.js → DocAnswer-D1ZIH1Hn.js} +4 -4
  23. package/dist/{DocDetails-C5Vzh550.js → DocDetails-B5_hBzC-.js} +56 -56
  24. package/dist/{DocForm-DEUVV11n.js → DocForm-BKQvY0Ie.js} +821 -829
  25. package/dist/{DocFormSend-Dt7N3wCz.js → DocFormSend-z0W-xRJP.js} +11 -11
  26. package/dist/{DocLinks-C6-Er0rk.js → DocLinks-BgbDU24h.js} +6 -6
  27. package/dist/{DocModalBase-DbuJwHXi.js → DocModalBase-CNo1u8TK.js} +1 -1
  28. package/dist/{DocPrint-D_uxg7qD.js → DocPrint--UV846r0.js} +15 -15
  29. package/dist/{DocReceipt-D6LP9UAa.js → DocReceipt-BAkWIKbC.js} +23 -23
  30. package/dist/{DocSendReminder-DopLhyjz.js → DocSendReminder-Bk6IVg0R.js} +10 -10
  31. package/dist/{DocTextEditor-DeZtzbgm.js → DocTextEditor-D5zDbbXV.js} +4499 -4438
  32. package/dist/{DocTimeline-DAWZu_KT.js → DocTimeline-KG4zJJOW.js} +16 -16
  33. package/dist/{DocumentClient-kxnT6k9s.js → DocumentClient-CXSxwjOt.js} +12 -12
  34. package/dist/DocumentLayout-C-V_5p3r.js +595 -0
  35. package/dist/{DocumentLogotype-G-a7gBIC.js → DocumentLogotype-H0f7bO0E.js} +18 -18
  36. package/dist/{DocumentVoided-SG_ShMmc.js → DocumentVoided-3F7DChD4.js} +4 -4
  37. package/dist/{EmbedInput-CJL5y3Zj.js → EmbedInput-iG-cDNzZ.js} +8 -8
  38. package/dist/{EmbedSettings-B0X6A9Uy.js → EmbedSettings-DhwFGdKH.js} +12 -12
  39. package/dist/{ErrorCallout-xCSfpQWV.js → ErrorCallout-CyqQ9iRV.js} +10 -10
  40. package/dist/{FilePreviewModal-Da_pMUoO.js → FilePreviewModal-CEUhUuh4.js} +7 -7
  41. package/dist/{Flag-wXawyyMO.js → Flag-Bza5Ltob.js} +4 -4
  42. package/dist/{HeaderSettings-CD3y6-uY.js → HeaderSettings-kEbuiv0n.js} +36 -36
  43. package/dist/{ImageSelectModal-DatnXHH1.js → ImageSelectModal-MDduQIdS.js} +16 -16
  44. package/dist/{ImageUploadWrapper-CwKe3Iq7.js → ImageUploadWrapper-CKJXUAkn.js} +72 -72
  45. package/dist/{Index-BbVHxVFJ.js → Index--_tbiloB.js} +33 -33
  46. package/dist/{Index-y_AJP61r.js → Index-437smvNJ.js} +11 -11
  47. package/dist/{Index-ezY0DbcB.js → Index-8CyLDQv2.js} +5 -5
  48. package/dist/{Index-Cjg3X74T.js → Index-B1tFrOfN.js} +7 -7
  49. package/dist/{Index-Ct735UtM.js → Index-BFwz1G_7.js} +2 -2
  50. package/dist/{Index-BlownK7_.js → Index-BXqNV8F_.js} +7 -7
  51. package/dist/{Index-B53eUt7Y.js → Index-Bege0Vce.js} +15 -15
  52. package/dist/{Index-BTDQax0X.js → Index-Bg1kzWCp.js} +60 -59
  53. package/dist/{Index-9ZFW8Ka7.js → Index-C46cWm4W.js} +7 -7
  54. package/dist/{Index-C2-s62x7.js → Index-CGhWvSf9.js} +11 -11
  55. package/dist/{Index-D-gJQEAD.js → Index-CHIQWumi.js} +6 -6
  56. package/dist/{Index-CQboLS2e.js → Index-CNQhKXtr.js} +8 -8
  57. package/dist/{Index-COF0evH4.js → Index-CUDi4SEx.js} +6 -6
  58. package/dist/{Index-Bb6JZC8l.js → Index-ClA923dR.js} +11 -11
  59. package/dist/{Index-1WPEpaVr.js → Index-D2A8evjo.js} +7 -7
  60. package/dist/{Index-BvAqglwa.js → Index-D4XDugcf.js} +27 -27
  61. package/dist/{Index-GPliVrhC.js → Index-DB3keB-X.js} +7 -7
  62. package/dist/{Index-BJf4YdYB.js → Index-DQLLCnjH.js} +29 -29
  63. package/dist/{Index-Dfy0PsiW.js → Index-DUM-3B1l.js} +29 -29
  64. package/dist/{Index-Ck-_9woY.js → Index-DdZo8evS.js} +456 -461
  65. package/dist/{Index-CTrX3VRa.js → Index-Doc7K3kL.js} +5 -5
  66. package/dist/{Index-DfuzxXzD.js → Index-Dqfwe7SG.js} +2 -2
  67. package/dist/{Index-NnBwJv9v.js → Index-DtCuzght.js} +9 -9
  68. package/dist/{Index-DOeHci16.js → Index-DtDRffCY.js} +7 -7
  69. package/dist/{Index-C-EUJjuk.js → Index-DzKdZg0G.js} +2 -2
  70. package/dist/{Index-yS5OPrJJ.js → Index-DzugmOmj.js} +2 -2
  71. package/dist/{Index-DjfbgA_7.js → Index-E7OzmtR_.js} +30 -27
  72. package/dist/{Index-DkQ8_VkX.js → Index-MmvJQvLm.js} +194 -218
  73. package/dist/{Index-Dxg4gEKd.js → Index-Rb5n5XoO.js} +18 -18
  74. package/dist/{Index-DAkq_7Ws.js → Index-dTgmxz_A.js} +18 -18
  75. package/dist/{Index-Ciy9lnhS.js → Index-eJiQmHhr.js} +2 -2
  76. package/dist/Index-jQsYOOC3.js +4 -0
  77. package/dist/{Index-DzdEqsZB.js → Index-rINXTjpt.js} +16 -16
  78. package/dist/Index-zRXdiRpy.js +49 -0
  79. package/dist/{Index.vue_vue_type_script_lang-B3RoDZmC.js → Index.vue_vue_type_script_lang-B9979oeS.js} +2 -2
  80. package/dist/{InputToggleRow-D5rvQpAw.js → InputToggleRow-CO4fZnAC.js} +15 -15
  81. package/dist/{ManualPopover-Bd-GsLGT.js → ManualPopover-DT4iXoSI.js} +6 -6
  82. package/dist/{MediaWrapper-Ci0XPCcb.js → MediaWrapper-CP_1JzGI.js} +4 -4
  83. package/dist/{NotBindingText-DhndGZE3.js → NotBindingText-D9Um3Agp.js} +2 -2
  84. package/dist/{PackageGroup-4Jt9ClVO.js → PackageGroup-BtH12jVM.js} +103 -103
  85. package/dist/{PdfTerms-CGeJDJpQ.js → PdfTerms-sQh93Xit.js} +9 -9
  86. package/dist/{PdfViewer-o2vb6Fya.js → PdfViewer-DMAcTVND.js} +71 -71
  87. package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-BtnMqKcE.js → PlainHtml.vue_vue_type_script_setup_true_lang-tY-SurWr.js} +2 -2
  88. package/dist/{PriceHeader-BsObxLHK.js → PriceHeader-CG6el7O_.js} +31 -31
  89. package/dist/{SearchApi-ZczKsBb7.js → SearchApi-B39mMGKy.js} +6 -6
  90. package/dist/{SendForm-D5jqkofo.js → SendForm-F5aQPz8w.js} +780 -778
  91. package/dist/{Setup-CdZzn0qW.js → Setup-DuHU2eHC.js} +4 -4
  92. package/dist/{SmartList-B36ffGAZ.js → SmartList-myMj6QGe.js} +1 -1
  93. package/dist/{Sortable.vue_vue_type_script_setup_true_lang-Di1urzqu.js → Sortable.vue_vue_type_script_setup_true_lang-Bb2Nqdsz.js} +118 -118
  94. package/dist/{TermsSettings-CmAHVOuX.js → TermsSettings-Cb6Xms3f.js} +16 -16
  95. package/dist/{ThemeColorRow-CScTIcPB.js → ThemeColorRow-oW3xS1pa.js} +13 -13
  96. package/dist/{ToggleBinding-CVZZlpBR.js → ToggleBinding-B-F9_nAf.js} +7 -7
  97. package/dist/{UploadModal-2tXsmGMM.js → UploadModal-eBx4Vqyo.js} +19 -19
  98. package/dist/{VideoPlayerInput-BDzjZ2St.js → VideoPlayerInput-CtTe4JW4.js} +10 -10
  99. package/dist/{VideoPlayerSettings-BLAEZw4C.js → VideoPlayerSettings-Cvz5B4JX.js} +9 -9
  100. package/dist/{VideoSelectModal-iqgmg85K.js → VideoSelectModal-CXI0aN4g.js} +19 -19
  101. package/dist/{focusDrawerMixin-BmyahQiE.js → focusDrawerMixin-DlcYhFw8.js} +1 -1
  102. package/dist/{formDrawerState-B7ASfNsk.js → formDrawerState-Cf6Q5cuR.js} +1 -1
  103. package/dist/{helpers-BVP2Pul1.js → helpers-Cf9wqfZh.js} +4 -4
  104. package/dist/{index-D0Qee2OX.js → index-BSCAjn53.js} +31 -31
  105. package/dist/{index-Cd4S4J-L.js → index-BStFMzD9.js} +56 -56
  106. package/dist/{index-BDb4bM0D.js → index-BytsFarx.js} +24 -24
  107. package/dist/{index-DXNrJnEc.js → index-Co_PpOtI.js} +10 -10
  108. package/dist/{index-BH5vwOzR.js → index-DPlBYqKB.js} +9 -9
  109. package/dist/{index-B86TZXOh.js → index-DsvlNA3Q.js} +94 -94
  110. package/dist/{index-CsbYpQqP.js → index-r5v1Gv17.js} +57 -57
  111. package/dist/index.es.js +2 -2
  112. package/dist/index.umd.js +153 -158
  113. package/dist/{main-C2Q8_T2Y.js → main-BkjAGG46.js} +14298 -14373
  114. package/dist/{mapFormMixin-CjfqZnmd.js → mapFormMixin-DLFNPgNO.js} +34 -40
  115. package/dist/omit-CvOSNZN7.js +56 -0
  116. package/dist/{publicSenderState-C3ELW8Cw.js → publicSenderState-DeC1m0ps.js} +4 -4
  117. package/dist/{splitpanes-CuxtOZyV.js → splitpanes-CsJipBiG.js} +6 -6
  118. package/dist/{template-DzrGrOEa.js → template-Cvzvayl5.js} +6 -6
  119. package/dist/{tippy.esm-Bf86qEue.js → tippy.esm-JEjGtE5F.js} +273 -275
  120. package/dist/{useTermsModal-Be4HLDDm.js → useTermsModal-D2gYy-TP.js} +7 -7
  121. package/dist/{utils-a_Odlqb5.js → utils-DarTPA8c.js} +1 -1
  122. package/dist/{validation-38muBV6x.js → validation-K11g55ZB.js} +4 -4
  123. package/dist/widget.css +1 -1
  124. package/package.json +2 -2
  125. package/dist/DocumentLayout-DaVz9SGF.js +0 -1434
  126. package/dist/Index-CXjLkK_n.js +0 -49
  127. package/dist/Index-qFx0G3fC.js +0 -4
  128. package/dist/omit-DzlbtNCX.js +0 -56
@@ -1,4 +1,4 @@
1
- import { _ as c, o as s, b as d, j as t, d as i, t as o, e as a } from "./main-C2Q8_T2Y.js";
1
+ import { _ as c, b as s, d, o as i, j as t, f as a, t as o } from "./main-BkjAGG46.js";
2
2
  const r = {
3
3
  name: "DocumentVoided",
4
4
  props: {
@@ -9,10 +9,10 @@ const r = {
9
9
  }
10
10
  }, l = { class: "grid h-full place-items-center text-center" }, m = { class: "py-12" }, _ = ["textContent"], u = ["textContent"];
11
11
  function p(x, f, e, C, h, y) {
12
- const n = a("CIcon");
13
- return s(), d("div", l, [
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
  }),
@@ -1,6 +1,6 @@
1
- import { _ as p } from "./CFormField.vue_vue_type_script_setup_true_lang-CVy64zGe.js";
2
- import { u as f } from "./index-B86TZXOh.js";
3
- import { n as h, _ as b, a9 as g, e as d, o as w, c as V, w as l, d as o, x as _, t as v, Y as y } from "./main-C2Q8_T2Y.js";
1
+ import { _ as p } from "./CFormField.vue_vue_type_script_setup_true_lang-HLxgkrxm.js";
2
+ import { u as f } from "./index-DsvlNA3Q.js";
3
+ import { af 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-BkjAGG46.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
- }, x = (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 && x(e.src) }
70
+ embed: { isValid: (e) => e && F(e.src) }
71
71
  };
72
72
  },
73
73
  computed: {
@@ -99,7 +99,7 @@ const z = (e) => {
99
99
  };
100
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 && {
@@ -150,7 +150,7 @@ function A(e, t, a, i, s, n) {
150
150
  _: 1
151
151
  }, 8, ["grouped", "style"]);
152
152
  }
153
- const S = /* @__PURE__ */ b(F, [["render", A]]);
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-B5rgSee7.js";
2
- import z from "./EmbedInput-CJL5y3Zj.js";
3
- import { _ as g, e as d, o, b as a, j as s, t as n, d as r, F as _, G as f, y as b, f as y } from "./main-C2Q8_T2Y.js";
1
+ import { b as h } from "./CDropdownItem-B9dja0RC.js";
2
+ import z from "./EmbedInput-iG-cDNzZ.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-BkjAGG46.js";
4
4
  const C = {
5
5
  i18nOptions: {
6
6
  namespaces: "embedSettings",
@@ -58,9 +58,9 @@ const C = {
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),
@@ -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 N = /* @__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
- N as default
102
+ j as default
103
103
  };
@@ -1,34 +1,34 @@
1
- import { aj as n, at as i, Q as a, o as m, b as p, j as t, d, t as _, y as r, Y as u, e as y, _ as v } from "./main-C2Q8_T2Y.js";
2
- const g = /* @__PURE__ */ n({
1
+ import { a7 as n, az 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 v, _ as y } from "./main-BkjAGG46.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 c = y("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: u([{ "margin-top": "calc(1 * var(--rem))" }, [o.value]]),
14
+ style: v([{ "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(c, {
21
+ _(c, {
22
22
  type: "alert",
23
23
  size: "18",
24
24
  style: { "margin-right": "0.5em", flex: "0 0 18px" }
25
25
  }),
26
- t("div", null, _(s.message), 1)
26
+ t("div", null, u(s.message), 1)
27
27
  ], 2)
28
28
  ], 6);
29
29
  };
30
30
  }
31
- }), z = /* @__PURE__ */ v(g, [["__scopeId", "data-v-32b00685"]]);
31
+ }), z = /* @__PURE__ */ y(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-o2vb6Fya.js";
2
- import { _ as h, S as k, e as m, aa as y, o, b as i, j as n, t as x, I as a, y as v, c as g, f as w, ab as I } from "./main-C2Q8_T2Y.js";
1
+ import { V as c } from "./PdfViewer-DMAcTVND.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, an as I } from "./main-BkjAGG46.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 c = 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(c, {
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
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",
@@ -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, y as d, f as u } from "./main-C2Q8_T2Y.js";
1
+ import { _ as i, d as c, e as r, o as d, x as u } from "./main-BkjAGG46.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,13 +1,13 @@
1
- import { m as F } from "./mapFormMixin-CjfqZnmd.js";
2
- import { T as U } from "./ThemeColorRow-CScTIcPB.js";
3
- import j from "./VideoPlayerInput-BDzjZ2St.js";
4
- import P from "./ImageUploadWrapper-CwKe3Iq7.js";
5
- import { B as H, a as $ } from "./index-D0Qee2OX.js";
6
- import { h as S, _ as A, ae as V, an as R, e as g, o as a, c as x, w as c, j as l, b as u, F as _, G as L, Y as B, t as h, d as p, x as w, f as I, X as O, aV as D, B as W, I as q, ab as M, aW as N, y as z, A as E } from "./main-C2Q8_T2Y.js";
7
- import { _ as K } from "./CFormField.vue_vue_type_script_setup_true_lang-CVy64zGe.js";
8
- import { b as G } from "./CDropdownItem-B5rgSee7.js";
9
- import { t as X } from "./template-DzrGrOEa.js";
10
- const T = S.unsplash.id, Y = S.pexels.id, J = {
1
+ import { m as F } from "./mapFormMixin-DLFNPgNO.js";
2
+ import { T as U } from "./ThemeColorRow-oW3xS1pa.js";
3
+ import j from "./VideoPlayerInput-CtTe4JW4.js";
4
+ import P from "./ImageUploadWrapper-CKJXUAkn.js";
5
+ import { B as H, a as $ } from "./index-BSCAjn53.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, au as R, a5 as V, i as S, b6 as O, a0 as D, T as W, u as q, an as M, b7 as N, ai as E, x as I } from "./main-BkjAGG46.js";
7
+ import { _ as K } from "./CFormField.vue_vue_type_script_setup_true_lang-HLxgkrxm.js";
8
+ import { b as G } from "./CDropdownItem-B9dja0RC.js";
9
+ import { t as J } from "./template-Cvzvayl5.js";
10
+ const T = S.unsplash.id, Q = S.pexels.id, X = {
11
11
  name: "MediaSelectModal",
12
12
  i18nOptions: {
13
13
  namespaces: "mediaSelectModal",
@@ -27,8 +27,8 @@ const T = S.unsplash.id, Y = S.pexels.id, J = {
27
27
  }
28
28
  },
29
29
  components: {
30
- BackgroundModal: H,
31
- BackgroundList: $,
30
+ BackgroundModal: $,
31
+ BackgroundList: H,
32
32
  VideoPlayerInput: j,
33
33
  ImageUploadWrapper: P
34
34
  },
@@ -104,7 +104,7 @@ const T = S.unsplash.id, Y = S.pexels.id, J = {
104
104
  async fetchVideo({ query: e, page: t }) {
105
105
  const { data: r } = await V.get("https://api.pexels.com/videos/search", {
106
106
  headers: {
107
- Authorization: Y
107
+ Authorization: Q
108
108
  },
109
109
  params: {
110
110
  page: t,
@@ -165,7 +165,7 @@ const T = S.unsplash.id, Y = S.pexels.id, J = {
165
165
  }, this.preferredColor && (e.preferredColor = this.preferredColor), this.$emit("input", e), this.$emit("close");
166
166
  }
167
167
  }
168
- }, Q = {
168
+ }, Y = {
169
169
  class: "flex w-full items-center justify-center",
170
170
  style: { padding: "calc(0.25 * var(--rem)) calc(1 * var(--rem))", "border-bottom": "1px solid hsl(0, 0%, 88%)" }
171
171
  }, Z = { class: "inline-flex items-center justify-center" }, ee = ["innerHTML"], te = { class: "max-md:!hidden" }, oe = {
@@ -187,10 +187,10 @@ function he(e, t, r, n, s, o) {
187
187
  onClose: t[2] || (t[2] = (i) => e.$emit("close"))
188
188
  }, {
189
189
  header: c(() => [
190
- l("div", Q, [
191
- (a(!0), u(_, null, L(s.tabs, (i, y) => (a(), x(d, {
190
+ l("div", Y, [
191
+ (a(!0), u(_, null, B(s.tabs, (i, y) => (a(), x(d, {
192
192
  key: y,
193
- style: B([{ "font-size": "15px", "font-weight": "700", opacity: "0.5", "box-shadow": "none" }, s.activeTab === i.value && { opacity: 1 }]),
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
195
195
  }, {
196
196
  default: c(() => [
@@ -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)) : I("", !0)
237
+ }, null, 8, le)) : L("", !0)
238
238
  ]),
239
239
  p(C, {
240
240
  modelValue: s.customVideo,
@@ -274,7 +274,7 @@ function he(e, t, r, n, s, o) {
274
274
  }, null, 8, de)) : (a(), u("div", ce, [
275
275
  p(d, {
276
276
  loading: !!i && i < 100,
277
- style: B(s.customImage && { opacity: 0.5 }),
277
+ style: z(s.customImage && { opacity: 0.5 }),
278
278
  "icon-left": "upload",
279
279
  type: "none"
280
280
  }, {
@@ -307,12 +307,12 @@ function he(e, t, r, n, s, o) {
307
307
  _: 1
308
308
  });
309
309
  }
310
- const pe = /* @__PURE__ */ A(J, [["render", he], ["__scopeId", "data-v-e6251bf7"]]), ge = {
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,
@@ -329,14 +329,14 @@ const pe = /* @__PURE__ */ A(J, [["render", he], ["__scopeId", "data-v-e6251bf7"
329
329
  function ve(e, t, r, n, s, o) {
330
330
  const d = g("CButton");
331
331
  return a(), u("div", {
332
- class: z([{ "is-expanded": r.expanded }, "control"])
332
+ class: I([{ "is-expanded": r.expanded }, "control"])
333
333
  }, [
334
334
  p(d, {
335
335
  ref: "label",
336
336
  tag: "label",
337
337
  type: e.newValue === e.nativeValue ? r.type : null,
338
338
  size: e.size,
339
- class: z([[{ "is-disabled": e.disabled, "is-focused": s.isFocused }], "c-radio radio button"]),
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
342
  onKeydown: t[4] || (t[4] = E(M((m) => e.$refs.$el.label.click(), ["prevent"]), ["enter"]))
@@ -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 = X.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: {
@@ -542,10 +542,10 @@ const fe = /* @__PURE__ */ A(ge, [["render", ve]]), we = {
542
542
  }, Le = {
543
543
  class: "d-option",
544
544
  style: { "padding-bottom": "0.5em" }
545
- }, Be = {
545
+ }, ze = {
546
546
  key: 0,
547
547
  class: "d-option"
548
- }, Ie = { class: "d-option-title" }, ze = { style: { flex: "1 1 auto" } }, Ae = {
548
+ }, Be = { class: "d-option-title" }, Ie = { style: { flex: "1 1 auto" } }, Ae = {
549
549
  key: 0,
550
550
  class: "d-option-row",
551
551
  style: { "padding-top": "1em" }
@@ -565,7 +565,7 @@ function je(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",
@@ -594,7 +594,7 @@ function je(e, t, r, n, s, o) {
594
594
  l("div", _e, [
595
595
  l("div", Ve, h(e.$t("_common:background").capitalize()), 1),
596
596
  l("div", {
597
- style: B({
597
+ style: z({
598
598
  backgroundImage: `url(${o.background || o.theme.background})`
599
599
  }),
600
600
  class: "d-option-button-image",
@@ -614,9 +614,9 @@ function je(e, t, r, n, s, o) {
614
614
  _: 1
615
615
  }, 8, ["value"])
616
616
  ]),
617
- e.layout === "price" ? (a(), u("div", Be, [
618
- l("div", Ie, [
619
- l("div", ze, h(e.$t(
617
+ e.layout === "price" ? (a(), u("div", ze, [
618
+ l("div", Be, [
619
+ l("div", Ie, h(e.$t(
620
620
  "components:account.documentForm.settings.priceSummaryBackground"
621
621
  )), 1),
622
622
  p(C, {
@@ -640,7 +640,7 @@ function je(e, t, r, n, s, o) {
640
640
  ]),
641
641
  _: 1
642
642
  }, 8, ["value"])
643
- ])) : I("", !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 je(e, t, r, n, s, o) {
657
657
  ]),
658
658
  _: 1
659
659
  }, 8, ["value"])
660
- ])) : I("", !0),
660
+ ])) : L("", !0),
661
661
  l("div", Te, [
662
662
  p(m, {
663
663
  value: e.textColor || "",
@@ -679,7 +679,7 @@ function je(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": [
@@ -688,7 +688,7 @@ function je(e, t, r, n, s, o) {
688
688
  ],
689
689
  "native-value": i,
690
690
  type: e.textAlign ? "secondary" : "none",
691
- class: z(!e.textAlign && "text-gray-400"),
691
+ class: I(!e.textAlign && "text-gray-400"),
692
692
  size: "small"
693
693
  }, {
694
694
  default: c(() => [
@@ -1,7 +1,7 @@
1
- import _ from "./ImageUploadWrapper-CwKe3Iq7.js";
2
- import { B as I, a as B } from "./index-D0Qee2OX.js";
3
- import { _ as k, h as U, ae as i, an as v, e as n, o as C, c as S, w as a, d as l, x as m, t as p } from "./main-C2Q8_T2Y.js";
4
- const u = U.unsplash.id, $ = {
1
+ import _ from "./ImageUploadWrapper-CKJXUAkn.js";
2
+ import { B as I, a as B } from "./index-BSCAjn53.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, au as C, a5 as p, i as S } from "./main-BkjAGG46.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"])
@@ -113,7 +113,7 @@ function w(e, t, r, o, y, s) {
113
113
  _: 1
114
114
  });
115
115
  }
116
- const b = /* @__PURE__ */ k($, [["render", w], ["__scopeId", "data-v-b5f43c6b"]]);
116
+ const x = /* @__PURE__ */ k($, [["render", w], ["__scopeId", "data-v-b5f43c6b"]]);
117
117
  export {
118
- b as default
118
+ x as default
119
119
  };