@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,5 +1,5 @@
1
1
  import { g as m } from "./color-HetJPhlA.js";
2
- import { _ as y, A as n, a5 as v, o as t, b as l, l as s, f as u } from "./main-WDVYC60Z.js";
2
+ import { _ as y, al as v, ae as n, d as t, o as a, e as u, W as s } from "./main-BayUZ9OO.js";
3
3
  const p = {
4
4
  name: "BlockMedia",
5
5
  inject: {
@@ -31,8 +31,8 @@ const p = {
31
31
  return n(this, "media.video", {});
32
32
  },
33
33
  overlayColor() {
34
- const { overlay: r, overlayColor: a } = this.media || {};
35
- return r && !["color", "gradient"].includes(this.type) ? a : "";
34
+ const { overlay: r, overlayColor: l } = this.media || {};
35
+ return r && !["color", "gradient"].includes(this.type) ? l : "";
36
36
  },
37
37
  blurStyle() {
38
38
  const { blur: r } = this.media || {};
@@ -41,7 +41,7 @@ const p = {
41
41
  baseStyle() {
42
42
  const {
43
43
  resourceUrl: r,
44
- backgroundColor: a,
44
+ backgroundColor: l,
45
45
  position: i = 50,
46
46
  filter: d = "",
47
47
  gradient: c = {}
@@ -52,7 +52,7 @@ const p = {
52
52
  ...!["color", "gradient"].includes(this.type) && {
53
53
  filter: `${d || ""}`
54
54
  },
55
- ...a && this.type === "color" && { backgroundColor: a },
55
+ ...l && this.type === "color" && { backgroundColor: l },
56
56
  ...o && this.type === "image" && { backgroundImage: `url(${o})` },
57
57
  ...e && this.type === "gradient" && { backgroundImage: e }
58
58
  };
@@ -61,36 +61,36 @@ const p = {
61
61
  }, f = { class: "media-root" }, g = {
62
62
  key: 1,
63
63
  class: "video-bg__media"
64
- }, _ = ["poster"], b = ["src"], h = ["src"];
65
- function k(r, a, i, d, c, e) {
66
- return t(), l("div", f, [
67
- e.overlayColor ? (t(), l("div", {
64
+ }, _ = ["poster"], h = ["src"], b = ["src"];
65
+ function k(r, l, i, d, c, e) {
66
+ return a(), t("div", f, [
67
+ e.overlayColor ? (a(), t("div", {
68
68
  key: 0,
69
69
  style: s({ backgroundColor: e.overlayColor }),
70
70
  class: "media-overlay"
71
71
  }, null, 4)) : u("", !0),
72
- e.type === "video" && e.video && e.video.url ? (t(), l("div", g, [
73
- e.forceStatic ? (t(), l("video", {
72
+ e.type === "video" && e.video && e.video.url ? (a(), t("div", g, [
73
+ e.forceStatic ? (a(), t("video", {
74
74
  key: 0,
75
75
  poster: e.video.thumbnail
76
- }, null, 8, _)) : e.video.provider === "pexels" ? (t(), l("video", {
76
+ }, null, 8, _)) : e.video.provider === "pexels" ? (a(), t("video", {
77
77
  key: 1,
78
78
  src: e.video.url,
79
79
  autoplay: "",
80
80
  loop: "",
81
81
  muted: "",
82
82
  playsInline: ""
83
- }, null, 8, b)) : (t(), l("iframe", {
83
+ }, null, 8, h)) : (a(), t("iframe", {
84
84
  key: 2,
85
85
  src: e.video.url,
86
86
  frameborder: "0"
87
- }, null, 8, h))
88
- ])) : (t(), l("div", {
87
+ }, null, 8, b))
88
+ ])) : (a(), t("div", {
89
89
  key: 2,
90
90
  style: s(e.baseStyle),
91
91
  class: "media-base"
92
92
  }, null, 4)),
93
- e.blurStyle ? (t(), l("div", {
93
+ e.blurStyle ? (a(), t("div", {
94
94
  key: 3,
95
95
  style: s(e.blurStyle),
96
96
  class: "media-blur-area"
@@ -1,4 +1,4 @@
1
- import { _ as g, a0 as f, o as a, c, w as _, b as n, s as t, v as o, f as i, K as d, l as p, n as b, d as x, a1 as C, e as r } from "./main-WDVYC60Z.js";
1
+ import { _ as g, a0 as f, b as c, c as r, o as a, w as _, d as n, x as p, j as t, e as o, W as b, t as i, T as d, f as x, ak as C } from "./main-BayUZ9OO.js";
2
2
  const v = {
3
3
  name: "CCallout",
4
4
  components: {
@@ -66,25 +66,25 @@ const v = {
66
66
  key: 0,
67
67
  class: "-mt-px mr-3"
68
68
  }, w = { class: "font-medium" }, I = { class: "text-gray-800" }, N = { class: "mb-2 text-gray-500" };
69
- function V(s, l, e, j, D, u) {
70
- const m = r("CButton"), y = r("CIcon");
71
- return a(), c(C, { name: "fade" }, {
69
+ function V(s, l, e, j, T, u) {
70
+ const m = c("CButton"), y = c("CIcon");
71
+ return a(), r(C, { name: "fade" }, {
72
72
  default: _(() => [
73
73
  e.legacy ? (a(), n("article", {
74
74
  key: 0,
75
- class: b(["message", [`is-${e.size}`, u.computedClasses]])
75
+ class: p(["message", [`is-${e.size}`, u.computedClasses]])
76
76
  }, [
77
77
  t("section", {
78
- style: p({ padding: e.padding })
78
+ style: b({ padding: e.padding })
79
79
  }, [
80
- e.title ? (a(), n("header", h, o(e.title), 1)) : i("", !0),
80
+ e.title ? (a(), n("header", h, i(e.title), 1)) : o("", !0),
81
81
  t("div", k, [
82
82
  t("div", B, [
83
83
  d(s.$slots, "default", {}, void 0, !0)
84
84
  ])
85
85
  ])
86
86
  ], 4),
87
- e.closable ? (a(), c(m, {
87
+ e.closable ? (a(), r(m, {
88
88
  key: 0,
89
89
  type: e.type,
90
90
  size: "small",
@@ -92,24 +92,24 @@ function V(s, l, e, j, D, u) {
92
92
  circle: "",
93
93
  icon: "x",
94
94
  style: { right: "calc(0.5 * var(--rem))", position: "absolute", top: "calc(0.5 * var(--rem))" },
95
- onClick: l[0] || (l[0] = (E) => s.$emit("close"))
96
- }, null, 8, ["type"])) : i("", !0)
95
+ onClick: l[0] || (l[0] = (D) => s.$emit("close"))
96
+ }, null, 8, ["type"])) : o("", !0)
97
97
  ], 2)) : (a(), n("div", z, [
98
98
  e.icon ? (a(), n("div", S, [
99
99
  x(y, {
100
100
  type: e.icon,
101
101
  size: "16"
102
102
  }, null, 8, ["type"])
103
- ])) : i("", !0),
103
+ ])) : o("", !0),
104
104
  t("div", null, [
105
105
  t("div", null, [
106
106
  d(s.$slots, "title", {}, () => [
107
- t("div", w, o(e.title), 1)
107
+ t("div", w, i(e.title), 1)
108
108
  ], !0)
109
109
  ]),
110
110
  t("div", I, [
111
111
  d(s.$slots, "default", {}, () => [
112
- t("div", N, o(s.text), 1)
112
+ t("div", N, i(s.text), 1)
113
113
  ], !0)
114
114
  ])
115
115
  ])
@@ -118,7 +118,7 @@ function V(s, l, e, j, D, u) {
118
118
  _: 3
119
119
  });
120
120
  }
121
- const T = /* @__PURE__ */ g(v, [["render", V], ["__scopeId", "data-v-ffe50b9c"]]);
121
+ const W = /* @__PURE__ */ g(v, [["render", V], ["__scopeId", "data-v-ffe50b9c"]]);
122
122
  export {
123
- T as C
123
+ W as C
124
124
  };
@@ -1,6 +1,6 @@
1
- import { C as g, a as R } from "./CDropdownItem-BuQONogL.js";
2
- import { _ as y, I as B, al as D, e as l, o as s, c, w as r, K as N, d as u, H as M, v as d, b, F as K, k as A, s as m, L } from "./main-WDVYC60Z.js";
3
- import { S as T } from "./SmartList-BpNfmUMA.js";
1
+ import { C as g, a as R } from "./CDropdownItem-E-kRDIiy.js";
2
+ import { _ as y, a8 as D, a1 as B, b as l, c, o as s, w as r, f as u, d as N, F as M, n as b, j as m, t as d, T as K, q as A, R as L } from "./main-BayUZ9OO.js";
3
+ import { S as T } from "./SmartList-CzylvV8N.js";
4
4
  const F = {
5
5
  AED: "United Arab Emirates Dirham",
6
6
  AFN: "Afghan Afghani",
@@ -168,12 +168,12 @@ const F = {
168
168
  ZAR: "South African Rand",
169
169
  ZMW: "Zambian Kwacha",
170
170
  ZWL: "Zimbabwean Dollar"
171
- }, w = {
171
+ }, f = {
172
172
  name: "CCurrencyDropdown",
173
173
  components: {
174
174
  CInput: B,
175
- CDropdown: g,
176
- CDropdownItem: R,
175
+ CDropdown: R,
176
+ CDropdownItem: g,
177
177
  SmartList: T
178
178
  },
179
179
  props: {
@@ -211,7 +211,7 @@ const F = {
211
211
  methods: {
212
212
  getCurrencySymbol: D
213
213
  }
214
- }, G = { style: { "margin-right": "auto" } }, f = { style: { opacity: "0.7" } };
214
+ }, w = { style: { "margin-right": "auto" } }, G = { style: { opacity: "0.7" } };
215
215
  function V(a, e, I, U, i, o) {
216
216
  const C = l("CButton"), S = l("CInput"), p = l("CDropdownItem"), h = l("SmartList"), P = l("CDropdown");
217
217
  return s(), c(P, L({
@@ -232,7 +232,7 @@ function V(a, e, I, U, i, o) {
232
232
  onActiveChange: e[2] || (e[2] = (n) => i.isCurrencyDropdownOpen = n)
233
233
  }), {
234
234
  trigger: r(() => [
235
- N(a.$slots, "default", { selectedValue: o.selectedValue }, () => [
235
+ K(a.$slots, "default", { selectedValue: o.selectedValue }, () => [
236
236
  u(C, {
237
237
  "dropdown-icon": !0,
238
238
  class: "is-left",
@@ -240,7 +240,7 @@ function V(a, e, I, U, i, o) {
240
240
  style: { width: "100%", "text-align": "left", "min-width": "7em" }
241
241
  }, {
242
242
  default: r(() => [
243
- M(d(o.selectedValue), 1)
243
+ A(d(o.selectedValue), 1)
244
244
  ]),
245
245
  _: 1
246
246
  })
@@ -263,15 +263,15 @@ function V(a, e, I, U, i, o) {
263
263
  "default-sort": "asc"
264
264
  }, {
265
265
  default: r(({ items: n }) => [
266
- (s(!0), b(K, null, A(n, (t) => (s(), c(p, {
266
+ (s(!0), N(M, null, b(n, (t) => (s(), c(p, {
267
267
  key: t,
268
268
  value: t,
269
269
  class: "w-full truncate",
270
270
  style: { "padding-right": "0.5em" }
271
271
  }, {
272
272
  default: r(() => [
273
- m("div", G, d(t), 1),
274
- m("div", f, d(o.getCurrencySymbol(t)), 1)
273
+ m("div", w, d(t), 1),
274
+ m("div", G, d(o.getCurrencySymbol(t)), 1)
275
275
  ]),
276
276
  _: 2
277
277
  }, 1032, ["value"]))), 128))
@@ -282,7 +282,7 @@ function V(a, e, I, U, i, o) {
282
282
  _: 3
283
283
  }, 16, ["modelValue", "size", "disabled"]);
284
284
  }
285
- const H = /* @__PURE__ */ y(w, [["render", V]]);
285
+ const H = /* @__PURE__ */ y(f, [["render", V]]);
286
286
  export {
287
287
  H as C
288
288
  };
@@ -1,5 +1,5 @@
1
- import { c as I, r as D } from "./helpers-BHIbXt8q.js";
2
- import { r as M, _ as C, o as d, b as u, K as c, f as r, d as O, w, O as b, P as S, a1 as B, l as x, F as V, s as m, n as p, ac as A, v as z, bj as R, ad as T, J as P, c as f, L as y, ah as N, e as _ } from "./main-WDVYC60Z.js";
1
+ import { r as I, c as D } from "./helpers-Cf9s0P7o.js";
2
+ import { r as M, _ as C, a4 as A, d as u, o as d, e as r, f as O, T as c, w, u as b, v as S, ak as B, W as x, F as V, j as m, x as p, t as z, bc as R, am as T, ah as P, b as _, c as f, R as y, ao as N } from "./main-BayUZ9OO.js";
3
3
  const v = M({
4
4
  width: window.innerWidth || 800,
5
5
  height: window.innerHeight || 600,
@@ -251,12 +251,12 @@ const F = (e, { value: i = !0 }) => {
251
251
  }
252
252
  },
253
253
  mounted() {
254
- typeof window < "u" && (this.getRootElm().addEventListener("click", this.clickedOutside), document.addEventListener("keyup", this.keyPress)), this.appendToBody && (this.$data._bodyEl = I(this.$refs.dropdownMenu), this.$data._bodyEl.style.zIndex = Number(
254
+ typeof window < "u" && (this.getRootElm().addEventListener("click", this.clickedOutside), document.addEventListener("keyup", this.keyPress)), this.appendToBody && (this.$data._bodyEl = D(this.$refs.dropdownMenu), this.$data._bodyEl.style.zIndex = Number(
255
255
  window.getComputedStyle(this.$el).getPropertyValue("--app-z-index")
256
256
  ) + 9999, this.isMobileModal && this.$data._bodyEl.appendChild(this.$refs.mobileBackground), this.updateAppendToBody());
257
257
  },
258
258
  beforeUnmount() {
259
- typeof window < "u" && (this.getRootElm().removeEventListener("click", this.clickedOutside), document.removeEventListener("keyup", this.keyPress)), this.appendToBody && D(this.$data._bodyEl), clearTimeout(this.timeOutID), clearTimeout(this.timeOutID2);
259
+ typeof window < "u" && (this.getRootElm().removeEventListener("click", this.clickedOutside), document.removeEventListener("keyup", this.keyPress)), this.appendToBody && I(this.$data._bodyEl), clearTimeout(this.timeOutID), clearTimeout(this.timeOutID2);
260
260
  },
261
261
  methods: {
262
262
  /**
@@ -742,8 +742,8 @@ function oe(e, i, t, a, n, s) {
742
742
  }
743
743
  const ue = /* @__PURE__ */ C(se, [["render", oe]]);
744
744
  export {
745
- re as C,
746
- ue as a,
745
+ ue as C,
746
+ re as a,
747
747
  ie as b,
748
748
  j as w
749
749
  };
@@ -1,6 +1,6 @@
1
- import { i as S, a as _ } from "./helpers-BHIbXt8q.js";
2
- import { F as f, ay as g, aM as F, aN as k, e as C, _ as v, o as i, b as r, n as u, K as d, H as m, v as b, f as h, c as w, w as M, h as z, i as p, L as B, j as L } from "./main-WDVYC60Z.js";
3
- const T = {
1
+ import { i as S, a as _ } from "./helpers-Cf9s0P7o.js";
2
+ import { F as f, aj as y, aK as v, aL as F, b as C, _ as k, d as i, o as r, c as w, T as d, e as h, x as u, q as m, t as b, w as M, a7 as z, H as p, R as B, I as T } from "./main-BayUZ9OO.js";
3
+ const L = {
4
4
  name: "CFieldBody",
5
5
  inject: {
6
6
  parent: {
@@ -20,15 +20,15 @@ const T = {
20
20
  },
21
21
  render() {
22
22
  let s = !0, e = typeof this.$slots.default == "function" ? this.$slots.default() : this.$slots.default;
23
- return e != null && e.length === 1 && e[0].type === f && (e = e[0].children), g(
23
+ return e != null && e.length === 1 && e[0].type === f && (e = e[0].children), y(
24
24
  "div",
25
25
  { class: "field-body" },
26
26
  {
27
27
  default: () => e != null && e.map((t) => {
28
- if (t.type === F || t.type === k)
28
+ if (t.type === v || t.type === F)
29
29
  return t;
30
30
  let o;
31
- return s && (o = this.message, s = !1), g(
31
+ return s && (o = this.message, s = !1), y(
32
32
  this.parent ? this.parent.$.type : C("c-field"),
33
33
  {
34
34
  type: this.type,
@@ -43,7 +43,7 @@ const T = {
43
43
  }, $ = {
44
44
  name: "CField",
45
45
  components: {
46
- CFieldBody: T
46
+ CFieldBody: L
47
47
  },
48
48
  provide() {
49
49
  return {
@@ -184,13 +184,13 @@ const T = {
184
184
  },
185
185
  getSlotNodes(s) {
186
186
  return s.flatMap(
187
- (e) => S(e) ? this.getSlotNodes(e.children) : [e]
187
+ (e) => _(e) ? this.getSlotNodes(e.children) : [e]
188
188
  );
189
189
  },
190
190
  hasAddons() {
191
191
  let s = 0;
192
192
  return this.$slots.default && (s = this.getSlotNodes(this.$slots.default()).reduce(
193
- (e, t) => _(t) ? e + 1 : e,
193
+ (e, t) => S(t) ? e + 1 : e,
194
194
  0
195
195
  )), s > 1 && this.addons && !this.horizontal;
196
196
  },
@@ -201,36 +201,36 @@ const T = {
201
201
  }
202
202
  }
203
203
  }, N = ["for"], A = ["for"], j = ["innerHTML"];
204
- function O(s, e, t, o, n, a) {
204
+ function x(s, e, t, o, n, a) {
205
205
  const l = C("CFieldBody");
206
- return i(), r("div", {
206
+ return r(), i("div", {
207
207
  class: u([[a.rootClasses, a.fieldType()], "field"])
208
208
  }, [
209
- t.horizontal ? (i(), r("div", {
209
+ t.horizontal ? (r(), i("div", {
210
210
  key: 0,
211
211
  class: u([[t.customClass, n.fieldLabelSize], "field-label"])
212
212
  }, [
213
- a.hasLabel ? (i(), r("label", {
213
+ a.hasLabel ? (r(), i("label", {
214
214
  key: 0,
215
215
  for: t.labelFor,
216
216
  class: u([t.customClass, "label w-full truncate"])
217
217
  }, [
218
- s.$slots.label ? d(s.$slots, "label", { key: 0 }) : (i(), r(f, { key: 1 }, [
218
+ s.$slots.label ? d(s.$slots, "label", { key: 0 }) : (r(), i(f, { key: 1 }, [
219
219
  m(b(t.label), 1)
220
220
  ], 64))
221
221
  ], 10, N)) : h("", !0)
222
- ], 2)) : (i(), r(f, { key: 1 }, [
223
- a.hasLabel ? (i(), r("label", {
222
+ ], 2)) : (r(), i(f, { key: 1 }, [
223
+ a.hasLabel ? (r(), i("label", {
224
224
  key: 0,
225
225
  for: t.labelFor,
226
226
  class: u([t.customClass, "label w-full truncate"])
227
227
  }, [
228
- s.$slots.label ? d(s.$slots, "label", { key: 0 }) : (i(), r(f, { key: 1 }, [
228
+ s.$slots.label ? d(s.$slots, "label", { key: 0 }) : (r(), i(f, { key: 1 }, [
229
229
  m(b(t.label), 1)
230
230
  ], 64))
231
231
  ], 10, A)) : h("", !0)
232
232
  ], 64)),
233
- t.horizontal ? (i(), w(l, {
233
+ t.horizontal ? (r(), w(l, {
234
234
  key: 2,
235
235
  message: n.newMessage ? a.formattedMessage : "",
236
236
  type: n.newType
@@ -240,14 +240,14 @@ function O(s, e, t, o, n, a) {
240
240
  ]),
241
241
  _: 3
242
242
  }, 8, ["message", "type"])) : d(s.$slots, "default", { key: 3 }),
243
- n.newMessage && !t.horizontal ? (i(), r("p", {
243
+ n.newMessage && !t.horizontal ? (r(), i("p", {
244
244
  key: 4,
245
245
  class: u([n.newType, "help"]),
246
246
  innerHTML: a.formattedMessage
247
247
  }, null, 10, j)) : h("", !0)
248
248
  ], 2);
249
249
  }
250
- const P = /* @__PURE__ */ v($, [["render", O]]), H = /* @__PURE__ */ z({
250
+ const O = /* @__PURE__ */ k($, [["render", x]]), E = /* @__PURE__ */ z({
251
251
  __name: "CFormField",
252
252
  props: {
253
253
  label: {},
@@ -268,12 +268,12 @@ const P = /* @__PURE__ */ v($, [["render", O]]), H = /* @__PURE__ */ z({
268
268
  if ((l = e.validator) != null && l.$dirty)
269
269
  return "text-green-500";
270
270
  }), n = p(() => {
271
- var c, y;
271
+ var c, g;
272
272
  if (!((c = e.validator) != null && c.$errors.length)) return "";
273
273
  const l = e.validator.$errors[0].$validator;
274
- return ((y = e.messages) == null ? void 0 : y[l]) ?? "";
274
+ return ((g = e.messages) == null ? void 0 : g[l]) ?? "";
275
275
  });
276
- return (a, l) => (i(), w(L(P), B({ ...a.$attrs, ...a.$props }, {
276
+ return (a, l) => (r(), w(T(O), B({ ...a.$attrs, ...a.$props }, {
277
277
  label: a.label,
278
278
  "custom-class": o.value,
279
279
  type: t.value,
@@ -287,6 +287,6 @@ const P = /* @__PURE__ */ v($, [["render", O]]), H = /* @__PURE__ */ z({
287
287
  }
288
288
  });
289
289
  export {
290
- P as C,
291
- H as _
290
+ O as C,
291
+ E as _
292
292
  };
@@ -1,4 +1,4 @@
1
- import { ax as o, _ as n, K as r, s as a, v as s } from "./main-WDVYC60Z.js";
1
+ import { ai as o, _ as n, T as r, j as a, t as s } from "./main-BayUZ9OO.js";
2
2
  const h = {
3
3
  name: "CPhoneFormat",
4
4
  props: {
@@ -1,18 +1,18 @@
1
- import { _ as w, I as B, a0 as S, o as m, c as y, w as i, s as V, d as o, H as z, v as p, b as F, k as I, F as k, L as $, e as s } from "./main-WDVYC60Z.js";
2
- import { C as D, a as v } from "./CDropdownItem-BuQONogL.js";
3
- import { C as L } from "./CFormField.vue_vue_type_script_setup_true_lang-KdkAe_wn.js";
4
- import { F as j } from "./Flag-CI52SH_9.js";
5
- import { S as K } from "./SmartList-BpNfmUMA.js";
1
+ import { _ as w, a0 as B, a1 as S, b as s, c as y, o as m, w as i, j as V, f as o, d as z, F, n as I, t as p, q as $, R as k } from "./main-BayUZ9OO.js";
2
+ import { C as D, a as j } from "./CDropdownItem-E-kRDIiy.js";
3
+ import { C as q } from "./CFormField.vue_vue_type_script_setup_true_lang-Bi0MjQdW.js";
4
+ import { F as v } from "./Flag-DgZVh3Lf.js";
5
+ import { S as K } from "./SmartList-CzylvV8N.js";
6
6
  import { r as l } from "./regions-BdZt9Srn.js";
7
- const N = {
7
+ const L = {
8
8
  name: "CPhoneInput",
9
9
  components: {
10
- Flag: j,
11
- CInput: B,
12
- CDropdown: D,
13
- CDropdownItem: v,
14
- CButton: S,
15
- CField: L,
10
+ Flag: v,
11
+ CInput: S,
12
+ CDropdown: j,
13
+ CDropdownItem: D,
14
+ CButton: B,
15
+ CField: q,
16
16
  SmartList: K
17
17
  },
18
18
  props: {
@@ -102,15 +102,15 @@ const N = {
102
102
  d !== n ? (this.$emit("update:modelValue", d), this.region || this.$emit("update:region", this.internalRegion), this.internalPrefix = null) : (this.internalPrefix = n, this.$emit("update:modelValue", ""));
103
103
  }
104
104
  }
105
- }, O = { class: "control" }, Q = { class: "w-full truncate" };
106
- function W(e, t, n, h, d, r) {
105
+ }, N = { class: "control" }, O = { class: "w-full truncate" };
106
+ function Q(e, t, n, h, d, r) {
107
107
  const g = s("Flag"), b = s("CButton"), c = s("CInput"), x = s("CDropdownItem"), _ = s("CDropdown"), P = s("SmartList"), f = s("CField");
108
108
  return m(), y(f, {
109
109
  class: "has-addons",
110
110
  expanded: ""
111
111
  }, {
112
112
  default: i(() => [
113
- V("div", O, [
113
+ V("div", N, [
114
114
  o(P, {
115
115
  query: d.searchQuery,
116
116
  items: r.sortedRegions
@@ -142,7 +142,7 @@ function W(e, t, n, h, d, r) {
142
142
  region: r.internalRegion,
143
143
  style: { "margin-right": "0.35em" }
144
144
  }, null, 8, ["region"]),
145
- z(" " + p(r.prefix), 1)
145
+ $(" " + p(r.prefix), 1)
146
146
  ]),
147
147
  _: 1
148
148
  }, 8, ["size"])
@@ -158,7 +158,7 @@ function W(e, t, n, h, d, r) {
158
158
  }, null, 8, ["modelValue", "placeholder"])
159
159
  ]),
160
160
  default: i(() => [
161
- (m(!0), F(k, null, I(u, ({ key: a, title: C, callingCode: R }) => (m(), y(x, {
161
+ (m(!0), z(F, null, I(u, ({ key: a, title: C, callingCode: R }) => (m(), y(x, {
162
162
  key: a,
163
163
  value: a,
164
164
  class: "w-full truncate"
@@ -169,7 +169,7 @@ function W(e, t, n, h, d, r) {
169
169
  title: C,
170
170
  style: { "margin-right": "0.75em", flex: "0 0 auto" }
171
171
  }, null, 8, ["region", "title"]),
172
- V("span", Q, p(C) + " (" + p(R) + ") ", 1)
172
+ V("span", O, p(C) + " (" + p(R) + ") ", 1)
173
173
  ]),
174
174
  _: 2
175
175
  }, 1032, ["value"]))), 128))
@@ -187,7 +187,7 @@ function W(e, t, n, h, d, r) {
187
187
  expanded: ""
188
188
  }, {
189
189
  default: i(() => [
190
- o(c, $({ ...e.$attrs, ...e.$props }, {
190
+ o(c, k({ ...e.$attrs, ...e.$props }, {
191
191
  modelValue: r.phone,
192
192
  "onUpdate:modelValue": t[2] || (t[2] = (u) => r.phone = u),
193
193
  size: e.$attrs.size,
@@ -201,7 +201,7 @@ function W(e, t, n, h, d, r) {
201
201
  _: 1
202
202
  });
203
203
  }
204
- const G = /* @__PURE__ */ w(N, [["render", W]]);
204
+ const H = /* @__PURE__ */ w(L, [["render", Q]]);
205
205
  export {
206
- G as C
206
+ H as C
207
207
  };
@@ -1,5 +1,5 @@
1
- import { C as h } from "./CCurrencyDropdown-D4ZxTioo.js";
2
- import { _ as C, I as V, al as I, e as o, o as s, c as l, w as i, b as u, K as p, f as g, d as w, H as k, v as d, L as _ } from "./main-WDVYC60Z.js";
1
+ import { C as h } from "./CCurrencyDropdown-BnNDP51j.js";
2
+ import { _ as C, a1 as V, a8 as g, b as a, c as l, o as s, w as i, d as u, T as p, f as w, q as I, t as d, e as k, R as _ } from "./main-BayUZ9OO.js";
3
3
  const $ = {
4
4
  name: "CPriceInput",
5
5
  inheritAttrs: !1,
@@ -65,7 +65,7 @@ const $ = {
65
65
  }
66
66
  },
67
67
  suffixValue() {
68
- const e = I(this.internalCurrency);
68
+ const e = g(this.internalCurrency);
69
69
  switch (this.priceType) {
70
70
  // case 'approx':
71
71
  // return `${this.$t('_common:approx')} ${currencyString}`;
@@ -87,8 +87,8 @@ const $ = {
87
87
  }
88
88
  }
89
89
  }, b = { key: 0 }, v = { key: 0 }, D = { key: 1 }, N = { key: 1 };
90
- function x(e, t, c, z, a, r) {
91
- const f = o("CButton"), m = o("CCurrencyDropdown"), y = o("CInput");
90
+ function x(e, t, c, z, o, r) {
91
+ const f = a("CButton"), m = a("CCurrencyDropdown"), y = a("CInput");
92
92
  return s(), l(y, _({ ...e.$attrs, ...e.$props }, {
93
93
  ref: "priceInput",
94
94
  key: r.internalCurrency + c.priceType,
@@ -97,13 +97,13 @@ function x(e, t, c, z, a, r) {
97
97
  modelModifiers: { lazy: !0 },
98
98
  size: e.$attrs.size,
99
99
  placeholder: e.$attrs.placeholder,
100
- style: a.isCurrencyDropdownOpen && { zIndex: 99 },
100
+ style: o.isCurrencyDropdownOpen && { zIndex: 99 },
101
101
  type: "number"
102
102
  }), {
103
103
  prefix: i(() => [
104
104
  e.$slots.prefix ? (s(), u("div", b, [
105
105
  p(e.$slots, "prefix")
106
- ])) : g("", !0)
106
+ ])) : k("", !0)
107
107
  ]),
108
108
  suffix: i(() => [
109
109
  e.$slots.suffix ? (s(), u("div", v, [
@@ -113,7 +113,7 @@ function x(e, t, c, z, a, r) {
113
113
  key: 0,
114
114
  modelValue: r.internalCurrency,
115
115
  "onUpdate:modelValue": t[0] || (t[0] = (n) => r.internalCurrency = n),
116
- onActiveChange: t[1] || (t[1] = (n) => a.isCurrencyDropdownOpen = n)
116
+ onActiveChange: t[1] || (t[1] = (n) => o.isCurrencyDropdownOpen = n)
117
117
  }, {
118
118
  default: i(({ selectedValue: n }) => [
119
119
  w(f, {
@@ -124,7 +124,7 @@ function x(e, t, c, z, a, r) {
124
124
  style: { "padding-left": "0.5em", "padding-right": "0.5em", "border-radius": "0.25em" }
125
125
  }, {
126
126
  default: i(() => [
127
- k(d(n), 1)
127
+ I(d(n), 1)
128
128
  ]),
129
129
  _: 2
130
130
  }, 1032, ["size"])
@@ -136,7 +136,7 @@ function x(e, t, c, z, a, r) {
136
136
  _: 3
137
137
  }, 16, ["modelValue", "size", "placeholder", "style"]);
138
138
  }
139
- const T = /* @__PURE__ */ C($, [["render", x]]);
139
+ const B = /* @__PURE__ */ C($, [["render", x]]);
140
140
  export {
141
- T as C
141
+ B as C
142
142
  };