@revolugo/elements 6.9.2 → 6.9.3-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. package/dist/css/fonts.css +1 -1
  2. package/dist/css/revolugo.cancellationpoliciesbadge.rSaL9R7c.css +1 -0
  3. package/dist/css/revolugo.creditcardstripeform.zWRVQ06X.css +1 -0
  4. package/dist/css/revolugo.index.ClC0OVqq.css +5 -0
  5. package/dist/css/revolugo.preferencesmenu.D2263Vn6.css +1 -0
  6. package/dist/css/{revolugo.webcomponentwrapper.cFJPP6Rp.css → revolugo.webcomponentwrapper.BQSUxe3K.css} +1 -1
  7. package/dist/index.es.min.js +980 -980
  8. package/dist/index.es.min.js.map +1 -1
  9. package/dist/index.min.js +6 -6
  10. package/dist/index.min.js.map +1 -1
  11. package/dist/revolugo.banktransferdetails.DBDBmi4T.min.js +47 -0
  12. package/dist/revolugo.bookingdetailssidebar.B6QPM_Ry.min.js +43 -0
  13. package/dist/revolugo.bookingmanager.Ddkm_fvp.min.js +26 -0
  14. package/dist/revolugo.cancellationpoliciesbadge.CG7uPZbr.min.js +26 -0
  15. package/dist/revolugo.cancellationpoliciesbadge.props.BWTrC0_a.min.js +28651 -0
  16. package/dist/revolugo.cancellationpolicieslist.BG96pHr2.min.js +26 -0
  17. package/dist/revolugo.creditcardpayment.DFFrWaVU.min.js +26 -0
  18. package/dist/{revolugo.creditcardform.CejFX150.min.js → revolugo.creditcardstripeform.DGWp8slG.min.js} +887 -883
  19. package/dist/revolugo.creditcardstripeform.QNt_WEGU.min.js +50 -0
  20. package/dist/revolugo.currencypickerbtn.Bgm1OCQw.min.js +26 -0
  21. package/dist/{revolugo.dialog-attach.C4Yvk6WJ.min.js → revolugo.dialog-attach.av8UMDFl.min.js} +2 -2
  22. package/dist/revolugo.fastbookingflow.X6qQvSoz.min.js +36 -0
  23. package/dist/revolugo.fullbookingflow.BzjWojY0.min.js +26 -0
  24. package/dist/revolugo.hoteldescriptionview.BQC-fdbu.min.js +26 -0
  25. package/dist/revolugo.hotelofferlist.Cz1AOdHO.min.js +26 -0
  26. package/dist/revolugo.hoteloffersearchmenu.BuC8xvxw.min.js +115 -0
  27. package/dist/revolugo.hoteloffersmap.DaxHQNKu.min.js +26 -0
  28. package/dist/revolugo.hoteloffersview.HBNlJSgs.min.js +21 -0
  29. package/dist/revolugo.hotelroomofferlist.Cofbf0gn.min.js +26 -0
  30. package/dist/revolugo.hotelroomoffersbookingflow.hfs_7j1e.min.js +26 -0
  31. package/dist/revolugo.hotelroomoffersearchmenu.CspP42oK.min.js +26 -0
  32. package/dist/revolugo.hotelroomoffersview.CS6u-PH0.min.js +26 -0
  33. package/dist/revolugo.index.mofuHwB4.min.js +106 -0
  34. package/dist/{revolugo.index.wc.DLkeXtka.min.js → revolugo.index.wc.CM8OBrQ1.min.js} +4434 -4446
  35. package/dist/revolugo.langpickerbtn.CKukkkuR.min.js +31 -0
  36. package/dist/revolugo.min.js +1 -1
  37. package/dist/revolugo.prebookform.q8ejbjFq.min.js +26 -0
  38. package/dist/revolugo.preferencesmenu.CpUjfhca.min.js +949 -0
  39. package/dist/revolugo.preferencesmenu.DdOskExU.min.js +24 -0
  40. package/dist/revolugo.roominglisteditor.Dnhk7nR9.min.js +26 -0
  41. package/dist/revolugo.storybooktoolbar.pNynqZm5.min.js +838 -0
  42. package/dist/revolugo.termsandconditions.tYQ2KjEs.min.js +31 -0
  43. package/dist/{revolugo.vtoolbar.CMwcpp3v.min.js → revolugo.vtoolbar.CAH-mO38.min.js} +44 -46
  44. package/dist/revolugo.webcomponentwrapper.rioLf7fV.min.js +28621 -0
  45. package/package.json +5 -5
  46. package/dist/css/revolugo.bdaterangepicker.OLspTh_0.css +0 -1
  47. package/dist/css/revolugo.bhoteloffersfilterbar.BebBKpCh.css +0 -1
  48. package/dist/css/revolugo.bhotelroomsdetails.c1M8WEQ1.css +0 -1
  49. package/dist/css/revolugo.bimagecarousel.B2SxWMbZ.css +0 -1
  50. package/dist/css/revolugo.bookingdetailssidebar.Cp4sLBjD.css +0 -1
  51. package/dist/css/revolugo.bstarrating.CPHKEfup.css +0 -1
  52. package/dist/css/revolugo.btag.T7X_iIkW.css +0 -1
  53. package/dist/css/revolugo.cancellationpoliciesbadge.BLInUr3-.css +0 -1
  54. package/dist/css/revolugo.creditcardform.DWne0Lnv.css +0 -1
  55. package/dist/css/revolugo.creditcardpayment.D2PE5FCt.css +0 -1
  56. package/dist/css/revolugo.fullbookingflow.Bm8JAQF7.css +0 -1
  57. package/dist/css/revolugo.hoteldescriptionview.B-RiiuPY.css +0 -1
  58. package/dist/css/revolugo.hotelofferlist.BkctzTMI.css +0 -1
  59. package/dist/css/revolugo.hoteloffersearchmenuui.ZbUh8ba2.css +0 -1
  60. package/dist/css/revolugo.hoteloffersmap.Z5DFtK0_.css +0 -1
  61. package/dist/css/revolugo.hoteloffersview.CLbnSww6.css +0 -1
  62. package/dist/css/revolugo.hotelroomofferlist.D8JlZt_N.css +0 -1
  63. package/dist/css/revolugo.hotelroomoffersbookingflow.LHa5iHB7.css +0 -1
  64. package/dist/css/revolugo.index.DK7d_h6O.css +0 -1
  65. package/dist/css/revolugo.index.XNPQF1ia.css +0 -5
  66. package/dist/css/revolugo.langpickerbtn.BGnattUJ.css +0 -1
  67. package/dist/css/revolugo.prebookform.DmCR7hLv.css +0 -1
  68. package/dist/css/revolugo.preferencesmenu.fPv_7j-1.css +0 -1
  69. package/dist/css/revolugo.termsandconditions.D8IMR9da.css +0 -1
  70. package/dist/css/revolugo.vautocomplete.CuVjyvcC.css +0 -1
  71. package/dist/css/revolugo.vbadge.C45eZpxy.css +0 -1
  72. package/dist/css/revolugo.vbtn.DpMO1Ky2.css +0 -1
  73. package/dist/css/revolugo.vcard.TERzfknI.css +0 -1
  74. package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.css +0 -1
  75. package/dist/css/revolugo.vdialog.DwTSAOeg.css +0 -1
  76. package/dist/css/revolugo.vdivider.CTbbZwnv.css +0 -1
  77. package/dist/css/revolugo.vexpansionpanels.RsCANmDP.css +0 -1
  78. package/dist/css/revolugo.vicon.eIkh7vVK.css +0 -1
  79. package/dist/css/revolugo.vinput.BPiFMorL.css +0 -1
  80. package/dist/css/revolugo.vlabel.BvKaKg7Y.css +0 -1
  81. package/dist/css/revolugo.vlist.-Y4qkukF.css +0 -1
  82. package/dist/css/revolugo.vmenu.DvKwEp1j.css +0 -1
  83. package/dist/css/revolugo.vselect.C5CKHFYB.css +0 -1
  84. package/dist/css/revolugo.vsheet.Dmcoj8cr.css +0 -1
  85. package/dist/css/revolugo.vskeletonloader.BlK8uFkX.css +0 -1
  86. package/dist/css/revolugo.vslidegroup.ECiLCEE9.css +0 -1
  87. package/dist/css/revolugo.vsnackbar.CCfuo3ao.css +0 -1
  88. package/dist/css/revolugo.vtextarea.Dxy6uSvm.css +0 -1
  89. package/dist/css/revolugo.vtextfield.BIH_AWWP.css +0 -1
  90. package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +0 -1
  91. package/dist/css/revolugo.vwindowitem.CWBhiE_Y.css +0 -1
  92. package/dist/revolugo._baseiteratee.C9fSfygW.min.js +0 -247
  93. package/dist/revolugo.banktransferdetails.HF-5whLi.min.js +0 -373
  94. package/dist/revolugo.bdaterangepicker.Dztdr7of.min.js +0 -8327
  95. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.WRP6nh8U.min.js +0 -146
  96. package/dist/revolugo.bhoteloffersfilterbar.riRikxpD.min.js +0 -4901
  97. package/dist/revolugo.bhotelroomsdetails.DSVvK0I7.min.js +0 -965
  98. package/dist/revolugo.bimagecarousel.0DDXWSsX.min.js +0 -566
  99. package/dist/revolugo.bookingdetailssidebar.B3nJVjzT.min.js +0 -24
  100. package/dist/revolugo.bookingdetailssidebar.HR95sw2v.min.js +0 -870
  101. package/dist/revolugo.bookingmanager.CHhySvbL.min.js +0 -1755
  102. package/dist/revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.DCBOxir-.min.js +0 -66
  103. package/dist/revolugo.bstarrating.vue_vue_type_script_setup_true_lang.D7d1JNOc.min.js +0 -570
  104. package/dist/revolugo.btag.C27GlEZ3.min.js +0 -375
  105. package/dist/revolugo.cancellationpoliciesbadge.CQ9NQZ7F.min.js +0 -28
  106. package/dist/revolugo.cancellationpoliciesbadge.D7VDRPmO.min.js +0 -198
  107. package/dist/revolugo.cancellationpolicieslist.DUrr7Myp.min.js +0 -25
  108. package/dist/revolugo.cancellationpolicieslist.IKkTYxdE.min.js +0 -148
  109. package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +0 -21
  110. package/dist/revolugo.case-transformers.Blb5hegY.min.js +0 -123
  111. package/dist/revolugo.common.D-l8b0V5.min.js +0 -10
  112. package/dist/revolugo.creditcardform.Dx00l01z.min.js +0 -24
  113. package/dist/revolugo.creditcardpayment.CkfC2xTo.min.js +0 -885
  114. package/dist/revolugo.creditcardpayment.DZf0q5_n.min.js +0 -24
  115. package/dist/revolugo.currencypicker.B9c-AV8V.min.js +0 -328
  116. package/dist/revolugo.currencypickerbtn.B_lw6N3Y.min.js +0 -24
  117. package/dist/revolugo.currencypickerbtn.edi3iO6h.min.js +0 -157
  118. package/dist/revolugo.dates.DiE5ynTe.min.js +0 -31
  119. package/dist/revolugo.defaultsdeep.EmfuGqBQ.min.js +0 -104
  120. package/dist/revolugo.dialog-transition.Dly9KKqO.min.js +0 -111
  121. package/dist/revolugo.fastbookingflow.DPOX_gos.min.js +0 -34
  122. package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +0 -70
  123. package/dist/revolugo.fullbookingflow.DSJE_kaM.min.js +0 -429
  124. package/dist/revolugo.hotel-offer-request.C9zwgVPt.min.js +0 -98
  125. package/dist/revolugo.hoteldescriptionview.Dtd-_3_8.min.js +0 -24
  126. package/dist/revolugo.hoteldescriptionview.kERJQPWm.min.js +0 -2738
  127. package/dist/revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.CiHBAV7m.min.js +0 -239
  128. package/dist/revolugo.hotelofferlist.BC-TSjS6.min.js +0 -24
  129. package/dist/revolugo.hotelofferlist.D2AXSf4v.min.js +0 -5640
  130. package/dist/revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js +0 -44
  131. package/dist/revolugo.hoteloffersearchmenu.BODV4ZIe.min.js +0 -202
  132. package/dist/revolugo.hoteloffersearchmenuui.DqWHAurZ.min.js +0 -829
  133. package/dist/revolugo.hoteloffersmap.C6nn7LXn.min.js +0 -8330
  134. package/dist/revolugo.hoteloffersmap.Db9NNgcN.min.js +0 -24
  135. package/dist/revolugo.hoteloffersview.BAwQcocI.min.js +0 -19
  136. package/dist/revolugo.hoteloffersview.CIVNGmGO.min.js +0 -616
  137. package/dist/revolugo.hotelroomofferlist.C9y91Ya3.min.js +0 -2799
  138. package/dist/revolugo.hotelroomofferlist.CiBIB0Pb.min.js +0 -24
  139. package/dist/revolugo.hotelroomofferrequestcreator.props.2Sq_iptZ.min.js +0 -171
  140. package/dist/revolugo.hotelroomoffersbookingflow.BS4Fa2EH.min.js +0 -1281
  141. package/dist/revolugo.hotelroomoffersearchmenu.CXgExPhR.min.js +0 -25
  142. package/dist/revolugo.hotelroomoffersearchmenu.x_--4RXV.min.js +0 -231
  143. package/dist/revolugo.hotelroomoffersview.BzmRXy0a.min.js +0 -290
  144. package/dist/revolugo.hotelroomoffersview.CFo6k7zm.min.js +0 -24
  145. package/dist/revolugo.index.CDNx7Tg4.min.js +0 -67
  146. package/dist/revolugo.index.DZEISB0K.min.js +0 -1232
  147. package/dist/revolugo.langpicker.D7zIuy78.min.js +0 -99
  148. package/dist/revolugo.langpickerbtn.BF7sml8K.min.js +0 -29
  149. package/dist/revolugo.langpickerbtn.DMcy_gHZ.min.js +0 -131
  150. package/dist/revolugo.parsed-props.B5g9_9k5.min.js +0 -40
  151. package/dist/revolugo.pathify.DL0POvNz.min.js +0 -36
  152. package/dist/revolugo.prebookform.BMEaruyl.min.js +0 -1527
  153. package/dist/revolugo.prebookform.BVyTAnc9.min.js +0 -24
  154. package/dist/revolugo.preferencesmenu.5pUjkA0F.min.js +0 -24
  155. package/dist/revolugo.preferencesmenu.CfUC3L6C.min.js +0 -261
  156. package/dist/revolugo.roominglisteditor.DLWeU6Ct.min.js +0 -385
  157. package/dist/revolugo.roominglisteditor.L6CmotRz.min.js +0 -24
  158. package/dist/revolugo.rounded.C-2ilaaW.min.js +0 -68
  159. package/dist/revolugo.ssrboot.D7k4-YG4.min.js +0 -18
  160. package/dist/revolugo.storybooktoolbar.CTe_QwGW.min.js +0 -881
  161. package/dist/revolugo.termsandconditions.Cue6Dsm7.min.js +0 -404
  162. package/dist/revolugo.termsandconditions.DBq-dEuI.min.js +0 -23
  163. package/dist/revolugo.use-breakpoint-service.DsQuZJRM.min.js +0 -39
  164. package/dist/revolugo.use-dialog-attach.DLdl8iIG.min.js +0 -16
  165. package/dist/revolugo.use-html-element.c9F9oVPw.min.js +0 -11
  166. package/dist/revolugo.vautocomplete.Q2U5ECgn.min.js +0 -445
  167. package/dist/revolugo.vbadge.D-lbOD0r.min.js +0 -112
  168. package/dist/revolugo.vbtn.B-LYC8rJ.min.js +0 -398
  169. package/dist/revolugo.vcard.ZlYB5HOk.min.js +0 -313
  170. package/dist/revolugo.vcheckboxbtn.BGpOwRWV.min.js +0 -478
  171. package/dist/revolugo.vdialog.DlAgRbIv.min.js +0 -133
  172. package/dist/revolugo.vdivider.D1ITKKuu.min.js +0 -77
  173. package/dist/revolugo.vexpansionpanels.D8TtnQrF.min.js +0 -262
  174. package/dist/revolugo.vform.gu3frP5W.min.js +0 -46
  175. package/dist/revolugo.vicon.mrg8OisO.min.js +0 -105
  176. package/dist/revolugo.vinput.BowTI8jK.min.js +0 -463
  177. package/dist/revolugo.vlabel.BjtrjyZZ.min.js +0 -48
  178. package/dist/revolugo.vlist.BwlPoH0e.min.js +0 -1299
  179. package/dist/revolugo.vmenu.Dasw1a1s.min.js +0 -145
  180. package/dist/revolugo.vselect.B4IzM260.min.js +0 -660
  181. package/dist/revolugo.vsheet.CDgBUxHk.min.js +0 -72
  182. package/dist/revolugo.vskeletonloader.DgIjR-8k.min.js +0 -136
  183. package/dist/revolugo.vslidegroup.BV7NJuLN.min.js +0 -325
  184. package/dist/revolugo.vsnackbar.DFnMGJQg.min.js +0 -198
  185. package/dist/revolugo.vspacer.DqnVrVYg.min.js +0 -7
  186. package/dist/revolugo.vtextarea.CgekaBze.min.js +0 -2092
  187. package/dist/revolugo.vtextfield.BhmuZsP7.min.js +0 -501
  188. package/dist/revolugo.vtooltip.a-r5BxqW.min.js +0 -89
  189. package/dist/revolugo.vwindowitem.BHzrfo73.min.js +0 -317
  190. package/dist/revolugo.watch-list.BSqnQNdl.min.js +0 -16
  191. package/dist/revolugo.webcomponentwrapper.BNmjcBmh.min.js +0 -2088
@@ -0,0 +1,949 @@
1
+ import { E as I, bh as se, d as P, S as ae, a8 as re, P as le, h as E, bi as D, bc as ie, bj as C, c as g, w as n, a as o, z as m, y as f, a5 as W, j as b, a4 as O, F as L, o as c, a7 as $, p as y, f as T, r as V, aE as G, q as ce, aF as Y, b as ue, bk as v, u as _, i as A, e as de, m as x, bl as fe } from "./revolugo.index.wc.CM8OBrQ1.min.js";
2
+ import { d as R } from "./revolugo.dialog-attach.av8UMDFl.min.js";
3
+ import { be as J, bf as pe, bg as me, aX as ge, aO as he, _ as M, e as d, d as h, O as ke, g as Ce, bh as K, V as q, a$ as B, j as w, k as U, l as Q, as as N, m as ye, i as be, af as X, b as ve, aQ as Pe } from "./revolugo.webcomponentwrapper.rioLf7fV.min.js";
4
+ import { V as _e } from "./revolugo.vtoolbar.CAH-mO38.min.js";
5
+ function oe(e) {
6
+ try {
7
+ if (typeof document < "u") {
8
+ window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
9
+ sheets: [],
10
+ components: []
11
+ };
12
+ const t = import.meta.url, a = t.slice(0, t.lastIndexOf("/") + 1) + e;
13
+ window.REVOLUGO_ELEMENTS_STYLES.sheets.push(a);
14
+ for (const l of REVOLUGO_ELEMENTS_STYLES.components)
15
+ l(a);
16
+ if (e.indexOf("fonts") >= 0) {
17
+ const l = document.createElement("link");
18
+ l.rel = "stylesheet", linK.href = a, document.head.appendChild(l);
19
+ }
20
+ }
21
+ } catch (t) {
22
+ console.error("[revolugo-elements] ", t);
23
+ }
24
+ }
25
+ function H(e, t, a, l, i, p) {
26
+ return I(e) && I(t) && (p.set(t, e), J(e, t, void 0, H, p), p.delete(t)), e;
27
+ }
28
+ var Le = pe(function(e, t, a, l) {
29
+ J(e, t, a, l);
30
+ }), Se = me(function(e) {
31
+ return e.push(void 0, H), se(Le, void 0, e);
32
+ });
33
+ function Ve(e, t, a) {
34
+ if (e == null)
35
+ return t;
36
+ const l = a || ((i) => i);
37
+ if (typeof e == "string")
38
+ try {
39
+ return l(JSON.parse(e));
40
+ } catch {
41
+ return t;
42
+ }
43
+ return l(e);
44
+ }
45
+ const $e = ({
46
+ cb: e,
47
+ fallbackValue: t,
48
+ propsName: a
49
+ }) => {
50
+ const l = ge(a, he.Pascal);
51
+ return P({
52
+ computed: {
53
+ [`parsed${l}`]() {
54
+ const i = Ve(
55
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
56
+ this[a],
57
+ t,
58
+ e
59
+ );
60
+ return i && t ? Se(structuredClone(ae(i)), t) : i;
61
+ }
62
+ }
63
+ });
64
+ }, we = [
65
+ C.EUR,
66
+ C.USD,
67
+ C.GBP,
68
+ C.CAD,
69
+ C.AED,
70
+ C.INR,
71
+ C.AUD,
72
+ C.JPY
73
+ ], Z = P({
74
+ computed: {
75
+ commonCurrencies() {
76
+ const e = new Set(we);
77
+ return Object.values(this.currencies).filter(
78
+ (t) => e.has(t.code)
79
+ );
80
+ },
81
+ countries() {
82
+ return Object.values(ie);
83
+ },
84
+ currencies() {
85
+ return D;
86
+ },
87
+ filteredList() {
88
+ if (!this.searchInput)
89
+ return Object.values(this.currencies);
90
+ const e = this.countries.filter(
91
+ (a) => a.name.toLowerCase().includes(this.searchInput.toLowerCase()) || a.iso2.toLowerCase().includes(this.searchInput.toLowerCase())
92
+ ), t = new Set(
93
+ e.map((a) => a.currency)
94
+ );
95
+ return Object.values(this.currencies).filter(
96
+ (a) => a.code.toLowerCase().includes(this.searchInput.toLowerCase()) || a.name.toLowerCase().includes(this.searchInput.toLowerCase()) || a.symbol.toLowerCase().includes(this.searchInput.toLowerCase()) || t.has(a.code)
97
+ );
98
+ },
99
+ selectedCurrency() {
100
+ return this.config.currency ?? D.EUR.code;
101
+ }
102
+ },
103
+ data() {
104
+ return {
105
+ dialog: !1,
106
+ searchInput: ""
107
+ };
108
+ },
109
+ methods: {
110
+ onItemClick(e) {
111
+ this.dialog = !1, this.updateCurrency(e.code), this.searchInput = "";
112
+ }
113
+ },
114
+ mixins: [re, R],
115
+ name: "CurrencyPicker",
116
+ setup() {
117
+ const { t: e } = E();
118
+ return {
119
+ t: e
120
+ };
121
+ },
122
+ watch: {
123
+ dialog(e) {
124
+ e || (this.searchInput = "");
125
+ },
126
+ selectedCurrency() {
127
+ this.$eventBus.$emit(le.CurrencyUpdated, this.config.currency);
128
+ }
129
+ }
130
+ });
131
+ function z(e) {
132
+ const t = e;
133
+ t.__i18n = t.__i18n || [], t.__i18n.push({
134
+ locale: "",
135
+ resource: {
136
+ "en-US": {
137
+ CurrencyPicker: {
138
+ all: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "All currencies" } },
139
+ notFound: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Currency not found" } },
140
+ preferred: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Preferred currencies" } },
141
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Select your currency" } }
142
+ }
143
+ },
144
+ "fr-FR": {
145
+ CurrencyPicker: {
146
+ all: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Toutes les devises" } },
147
+ notFound: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Devise non trouvée" } },
148
+ preferred: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Devises populaires" } },
149
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sélectionnez votre devise" } }
150
+ }
151
+ },
152
+ "de-DE": {
153
+ CurrencyPicker: {
154
+ all: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Alle Währungen" } },
155
+ notFound: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Währung nicht gefunden" } },
156
+ preferred: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Bevorzugte Währungen" } },
157
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Wählen Sie Ihre Währung" } }
158
+ }
159
+ },
160
+ "es-ES": {
161
+ CurrencyPicker: {
162
+ all: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Todas las monedas" } },
163
+ notFound: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Moneda no encontrada" } },
164
+ preferred: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Monedas preferidas" } },
165
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Selecciona tu moneda" } }
166
+ }
167
+ },
168
+ "it-IT": {
169
+ CurrencyPicker: {
170
+ all: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Tutte le valute" } },
171
+ notFound: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Valuta non trovata" } },
172
+ preferred: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Valute preferite" } },
173
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Seleziona la tua valuta" } }
174
+ }
175
+ },
176
+ "nl-NL": {
177
+ CurrencyPicker: {
178
+ all: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Alle valuta's" } },
179
+ notFound: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Valuta niet gevonden" } },
180
+ preferred: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Voorkeursvaluta's" } },
181
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Selecteer uw valuta" } }
182
+ }
183
+ },
184
+ "pt-PT": {
185
+ CurrencyPicker: {
186
+ all: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Todas as moedas" } },
187
+ notFound: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Moeda não encontrada" } },
188
+ preferred: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Moedas preferenciais" } },
189
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Selecione a sua moeda" } }
190
+ }
191
+ }
192
+ }
193
+ });
194
+ }
195
+ const Ee = { class: "mb-2 font-weight-bold" }, Me = { class: "mb-2 font-weight-bold" }, De = { class: "font-weight-bold text-primary" }, Oe = { class: "" }, Te = { class: "font-weight-bold" }, Be = { class: "font-weight-bold text-primary" };
196
+ function Ue(e, t, a, l, i, p) {
197
+ return c(), g(q, null, {
198
+ default: n(() => [
199
+ o(h, {
200
+ class: "pa-4",
201
+ "no-gutters": ""
202
+ }, {
203
+ default: n(() => [
204
+ o(d, { cols: "auto" }, {
205
+ default: n(() => [
206
+ m("p", Ee, f(e.t("CurrencyPicker.title")), 1)
207
+ ]),
208
+ _: 1
209
+ }),
210
+ o(d, { class: "text-right" }, {
211
+ default: n(() => [
212
+ W(e.$slots, "toolbar-right")
213
+ ]),
214
+ _: 3
215
+ })
216
+ ]),
217
+ _: 3
218
+ }),
219
+ o(ke),
220
+ o(K, { class: "pa-4 rounded-lg" }, {
221
+ default: n(() => [
222
+ o(h, { "no-gutters": "" }, {
223
+ default: n(() => [
224
+ o(d, { cols: "auto" }, {
225
+ default: n(() => [
226
+ m("p", Me, f(e.t("CurrencyPicker.preferred")), 1)
227
+ ]),
228
+ _: 1
229
+ })
230
+ ]),
231
+ _: 1
232
+ }),
233
+ o(h, { "no-gutters": "" }, {
234
+ default: n(() => [
235
+ (c(!0), b(L, null, O(e.commonCurrencies, (s, r) => (c(), g(d, {
236
+ key: r,
237
+ cols: "12",
238
+ md: "4",
239
+ sm: "6"
240
+ }, {
241
+ default: n(() => [
242
+ o(B, {
243
+ class: $([
244
+ "text-caption",
245
+ s.code === e.config.currency ? "bg-grey-lighten-4" : null
246
+ ]),
247
+ link: "",
248
+ onClick: (u) => e.onItemClick(s)
249
+ }, {
250
+ default: n(() => [
251
+ o(h, { "no-gutters": "" }, {
252
+ default: n(() => [
253
+ o(d, {
254
+ cols: "4",
255
+ sm: "3"
256
+ }, {
257
+ default: n(() => [
258
+ m("span", De, [
259
+ y(f(s.code) + " ", 1),
260
+ s.code !== s.symbol ? (c(), b(L, { key: 0 }, [
261
+ y(" - " + f(s.symbol), 1)
262
+ ], 64)) : T("", !0)
263
+ ])
264
+ ]),
265
+ _: 2
266
+ }, 1024),
267
+ o(d, { class: "currency-name" }, {
268
+ default: n(() => [
269
+ m("span", Oe, f(s.name), 1)
270
+ ]),
271
+ _: 2
272
+ }, 1024)
273
+ ]),
274
+ _: 2
275
+ }, 1024)
276
+ ]),
277
+ _: 2
278
+ }, 1032, ["class", "onClick"])
279
+ ]),
280
+ _: 2
281
+ }, 1024))), 128))
282
+ ]),
283
+ _: 1
284
+ }),
285
+ o(h, {
286
+ align: "center",
287
+ class: "mt-3",
288
+ "no-gutters": ""
289
+ }, {
290
+ default: n(() => [
291
+ o(d, {
292
+ cols: "12",
293
+ lg: "4"
294
+ }, {
295
+ default: n(() => [
296
+ m("span", Te, f(e.t("CurrencyPicker.all")), 1)
297
+ ]),
298
+ _: 1
299
+ }),
300
+ o(d, {
301
+ cols: "12",
302
+ lg: "8"
303
+ }, {
304
+ default: n(() => [
305
+ o(Ce, {
306
+ modelValue: e.searchInput,
307
+ "onUpdate:modelValue": t[0] || (t[0] = (s) => e.searchInput = s),
308
+ class: "mt-2",
309
+ density: "compact",
310
+ "error-messages": e.filteredList.length === 0 ? [e.t("CurrencyPicker.notFound")] : [],
311
+ label: "Search",
312
+ variant: "outlined"
313
+ }, null, 8, ["modelValue", "error-messages"])
314
+ ]),
315
+ _: 1
316
+ })
317
+ ]),
318
+ _: 1
319
+ }),
320
+ o(h, { "no-gutters": "" }, {
321
+ default: n(() => [
322
+ (c(!0), b(L, null, O(e.filteredList, (s, r) => (c(), g(d, {
323
+ key: r,
324
+ cols: "12",
325
+ md: "4",
326
+ sm: "6"
327
+ }, {
328
+ default: n(() => [
329
+ o(B, {
330
+ class: $([
331
+ "text-caption",
332
+ s.code === e.config.currency ? "bg-grey-lighten-4" : null
333
+ ]),
334
+ link: "",
335
+ onClick: (u) => e.onItemClick(s)
336
+ }, {
337
+ default: n(() => [
338
+ o(h, { "no-gutters": "" }, {
339
+ default: n(() => [
340
+ o(d, {
341
+ cols: "4",
342
+ sm: "3"
343
+ }, {
344
+ default: n(() => [
345
+ m("span", Be, [
346
+ y(f(s.code) + " ", 1),
347
+ s.code !== s.symbol ? (c(), b(L, { key: 0 }, [
348
+ y(" - " + f(s.symbol), 1)
349
+ ], 64)) : T("", !0)
350
+ ])
351
+ ]),
352
+ _: 2
353
+ }, 1024),
354
+ o(d, { class: "currency-name no-break ml-1" }, {
355
+ default: n(() => [
356
+ y(f(s.name), 1)
357
+ ]),
358
+ _: 2
359
+ }, 1024)
360
+ ]),
361
+ _: 2
362
+ }, 1024)
363
+ ]),
364
+ _: 2
365
+ }, 1032, ["class", "onClick"])
366
+ ]),
367
+ _: 2
368
+ }, 1024))), 128))
369
+ ]),
370
+ _: 1
371
+ })
372
+ ]),
373
+ _: 1
374
+ })
375
+ ]),
376
+ _: 3
377
+ });
378
+ }
379
+ typeof z == "function" && z(Z);
380
+ const Re = /* @__PURE__ */ M(Z, [["render", Ue]]), Ne = {
381
+ modelValue: {
382
+ type: Boolean
383
+ }
384
+ }, Ie = P({
385
+ components: {
386
+ CurrencyPicker: Re
387
+ },
388
+ data() {
389
+ return {
390
+ open: this.modelValue
391
+ };
392
+ },
393
+ mixins: [R],
394
+ name: "CurrencyPickerDialog",
395
+ props: Ne,
396
+ setup() {
397
+ const { t: e } = E();
398
+ return {
399
+ t: e
400
+ };
401
+ },
402
+ watch: {
403
+ "config.currency"(e) {
404
+ e && (this.open = !1);
405
+ },
406
+ modelValue(e) {
407
+ this.open = e;
408
+ },
409
+ open(e) {
410
+ this.$emit("update:modelValue", e);
411
+ }
412
+ }
413
+ });
414
+ function Ae(e, t, a, l, i, p) {
415
+ const s = V("CurrencyPicker");
416
+ return c(), g(Q, {
417
+ modelValue: e.open,
418
+ "onUpdate:modelValue": t[1] || (t[1] = (r) => e.open = r),
419
+ "content-class": "rounded-lg",
420
+ attach: e.$dialogAttach,
421
+ "max-width": "850",
422
+ scrollable: ""
423
+ }, {
424
+ default: n(() => [
425
+ o(s, null, {
426
+ "toolbar-right": n(() => [
427
+ o(w, {
428
+ class: "mx-1",
429
+ icon: "",
430
+ variant: "text",
431
+ size: "x-small",
432
+ onClick: t[0] || (t[0] = (r) => e.open = !1)
433
+ }, {
434
+ default: n(() => [
435
+ o(U, { color: "dark" }, {
436
+ default: n(() => t[2] || (t[2] = [
437
+ y(" fas fa-times ", -1)
438
+ ])),
439
+ _: 1,
440
+ __: [2]
441
+ })
442
+ ]),
443
+ _: 1
444
+ })
445
+ ]),
446
+ _: 1
447
+ })
448
+ ]),
449
+ _: 1
450
+ }, 8, ["modelValue", "attach"]);
451
+ }
452
+ const ee = /* @__PURE__ */ M(Ie, [["render", Ae]]), ze = {
453
+ color: {
454
+ default: "primary",
455
+ type: String
456
+ },
457
+ dialog: {
458
+ default: !1,
459
+ type: Boolean
460
+ },
461
+ elevation: {
462
+ default: 0,
463
+ type: [String, Number]
464
+ },
465
+ size: {
466
+ default: 0,
467
+ type: [String, Number]
468
+ }
469
+ }, Fe = P({
470
+ components: {
471
+ CurrencyPickerDialog: ee
472
+ },
473
+ computed: {
474
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
475
+ currencies() {
476
+ return D;
477
+ }
478
+ },
479
+ data() {
480
+ return {
481
+ currencyPickerDialog: !1
482
+ };
483
+ },
484
+ methods: {
485
+ onClick() {
486
+ this.dialog && (this.currencyPickerDialog = !0);
487
+ }
488
+ },
489
+ mixins: [R],
490
+ name: "LangPickerBtn",
491
+ props: ze,
492
+ setup() {
493
+ const { t: e } = E();
494
+ return {
495
+ t: e
496
+ };
497
+ }
498
+ });
499
+ function je(e, t, a, l, i, p) {
500
+ const s = V("CurrencyPickerDialog");
501
+ return c(), g(w, {
502
+ class: $(`elevation-${e.elevation} rounded-circle`),
503
+ color: e.color,
504
+ size: "x-small",
505
+ height: "32",
506
+ width: "32",
507
+ style: {
508
+ minWidth: "32px"
509
+ },
510
+ onClick: e.onClick
511
+ }, {
512
+ default: n(() => [
513
+ m("b", null, f(e.currencies[e.config.currency]?.code), 1),
514
+ e.dialog ? (c(), g(s, {
515
+ key: 0,
516
+ modelValue: e.currencyPickerDialog,
517
+ "onUpdate:modelValue": t[0] || (t[0] = (r) => e.currencyPickerDialog = r)
518
+ }, null, 8, ["modelValue"])) : T("", !0)
519
+ ]),
520
+ _: 1
521
+ }, 8, ["class", "color", "onClick"]);
522
+ }
523
+ const We = /* @__PURE__ */ M(Fe, [["render", je]]), Ge = { class: "text-grey-darken-2" }, te = /* @__PURE__ */ P({
524
+ __name: "LangPicker",
525
+ props: /* @__PURE__ */ G({
526
+ locales: { default: () => Object.keys(v) }
527
+ }, {
528
+ modelValue: {},
529
+ modelModifiers: {}
530
+ }),
531
+ emits: ["update:modelValue"],
532
+ setup(e) {
533
+ const { config: t } = ce(), { t: a } = E(), l = e, i = Y(e, "modelValue"), p = ue(() => {
534
+ const s = (l.locales || []).filter((r) => v[r]).map((r) => v[r]);
535
+ return s.length > 0 ? s : Object.values(v);
536
+ });
537
+ return (s, r) => (c(), g(K, null, {
538
+ default: n(() => [
539
+ o(_e, {
540
+ color: "white",
541
+ elevation: "0"
542
+ }, {
543
+ default: n(() => [
544
+ m("h4", Ge, f(_(a)("LangPicker.title")), 1),
545
+ W(s.$slots, "toolbar-right")
546
+ ]),
547
+ _: 3
548
+ }),
549
+ (c(!0), b(L, null, O(p.value, (u) => (c(), g(B, {
550
+ class: $(["ml-3", i.value === u.code ? "bg-grey-lighten-4" : void 0]),
551
+ key: u.name,
552
+ link: "",
553
+ onClick: (k) => i.value = u.code
554
+ }, {
555
+ default: n(() => [
556
+ o(N, {
557
+ image: `https://flagcdn.com/h60/${u.countryCode.toLowerCase()}.png`
558
+ }, null, 8, ["image"]),
559
+ m("span", {
560
+ class: $(["ml-4", _(t).lang === u.code ? "font-weight-bold" : ""])
561
+ }, f(u.name), 3)
562
+ ]),
563
+ _: 2
564
+ }, 1032, ["class", "onClick"]))), 128))
565
+ ]),
566
+ _: 3
567
+ }));
568
+ }
569
+ });
570
+ function F(e) {
571
+ const t = e;
572
+ t.__i18n = t.__i18n || [], t.__i18n.push({
573
+ locale: "",
574
+ resource: {
575
+ "en-US": {
576
+ LangPicker: {
577
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Select your language" } }
578
+ }
579
+ },
580
+ "fr-FR": {
581
+ LangPicker: {
582
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sélectionnez votre langue" } }
583
+ }
584
+ },
585
+ "de-DE": {
586
+ LangPicker: {
587
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Wähle deine Sprache" } }
588
+ }
589
+ },
590
+ "es-ES": {
591
+ LangPicker: {
592
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Selecciona tu idioma" } }
593
+ }
594
+ },
595
+ "it-IT": {
596
+ LangPicker: {
597
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Seleziona la tua lingua" } }
598
+ }
599
+ },
600
+ "nl-NL": {
601
+ LangPicker: {
602
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Selecteer uw taal" } }
603
+ }
604
+ },
605
+ "pt-PT": {
606
+ LangPicker: {
607
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Selecione o seu idioma" } }
608
+ }
609
+ }
610
+ }
611
+ });
612
+ }
613
+ typeof F == "function" && F(te);
614
+ const Ye = /* @__PURE__ */ P({
615
+ __name: "LangPickerBtn",
616
+ props: /* @__PURE__ */ G({
617
+ locales: {},
618
+ elevation: {}
619
+ }, {
620
+ modelValue: {},
621
+ modelModifiers: {}
622
+ }),
623
+ emits: ["update:modelValue"],
624
+ setup(e) {
625
+ const t = Y(e, "modelValue"), a = A(null), { $dialogAttach: l } = ye(a), i = A(!1);
626
+ function p() {
627
+ i.value = !1;
628
+ }
629
+ return de(t, () => {
630
+ t.value && (i.value = !1);
631
+ }), (s, r) => (c(), b("div", {
632
+ ref_key: "root",
633
+ ref: a
634
+ }, [
635
+ o(Q, {
636
+ modelValue: i.value,
637
+ "onUpdate:modelValue": r[1] || (r[1] = (u) => i.value = u),
638
+ "max-width": "290",
639
+ attach: _(l)
640
+ }, {
641
+ activator: n(({ props: u }) => [
642
+ o(w, x({
643
+ class: `elevation-${s.elevation} rounded-circle`,
644
+ color: "primary",
645
+ variant: t.value ? "text" : "flat",
646
+ size: "x-small",
647
+ icon: "",
648
+ height: "32",
649
+ width: "32"
650
+ }, u), {
651
+ default: n(() => [
652
+ o(N, { style: { overflow: "hidden" } }, {
653
+ default: n(() => [
654
+ t.value ? (c(), g(X, {
655
+ key: 0,
656
+ src: `https://flagcdn.com/h60/${_(v)[t.value].countryCode.toLowerCase()}.png`,
657
+ srcset: `https://flagcdn.com/h80/${_(v)[t.value].countryCode.toLowerCase()}.png 2x,
658
+ https://flagcdn.com/h120/${_(v)[t.value].countryCode.toLowerCase()}.png 3x`
659
+ }, null, 8, ["src", "srcset"])) : (c(), g(U, {
660
+ key: 1,
661
+ color: "dark"
662
+ }, {
663
+ default: n(() => r[2] || (r[2] = [
664
+ y(" fas fa-globe ", -1)
665
+ ])),
666
+ _: 1,
667
+ __: [2]
668
+ }))
669
+ ]),
670
+ _: 1
671
+ })
672
+ ]),
673
+ _: 2
674
+ }, 1040, ["class", "variant"])
675
+ ]),
676
+ default: n(() => [
677
+ o(te, {
678
+ modelValue: t.value,
679
+ "onUpdate:modelValue": r[0] || (r[0] = (u) => t.value = u),
680
+ locales: s.locales
681
+ }, {
682
+ "toolbar-right": n(() => [
683
+ o(be),
684
+ o(w, {
685
+ class: "mx-1",
686
+ icon: "",
687
+ variant: "text",
688
+ size: "x-small",
689
+ onClick: p
690
+ }, {
691
+ default: n(() => [
692
+ o(U, { color: "dark" }, {
693
+ default: n(() => r[3] || (r[3] = [
694
+ y(" fas fa-times ", -1)
695
+ ])),
696
+ _: 1,
697
+ __: [3]
698
+ })
699
+ ]),
700
+ _: 1
701
+ })
702
+ ]),
703
+ _: 1
704
+ }, 8, ["modelValue", "locales"])
705
+ ]),
706
+ _: 1
707
+ }, 8, ["modelValue", "attach"])
708
+ ], 512));
709
+ }
710
+ }), xe = /* @__PURE__ */ M(Ye, [["__scopeId", "data-v-78f64f4b"]]);
711
+ var S = /* @__PURE__ */ ((e) => (e.Top = "top", e.Bottom = "bottom", e.Left = "left", e.Right = "right", e))(S || {});
712
+ const Je = {
713
+ block: {
714
+ default: !1,
715
+ type: Boolean
716
+ },
717
+ color: {
718
+ default: "secondary",
719
+ type: String
720
+ },
721
+ compact: {
722
+ default: !1,
723
+ type: Boolean
724
+ },
725
+ direction: {
726
+ default: "top",
727
+ type: String
728
+ }
729
+ }, ne = P({
730
+ components: {
731
+ CurrencyPickerBtn: We,
732
+ CurrencyPickerDialog: ee,
733
+ LangPickerBtn: xe
734
+ },
735
+ computed: {
736
+ activeCurrency() {
737
+ return D[this.config.currency];
738
+ },
739
+ langPickerModel: {
740
+ get() {
741
+ return this.$i18n.locale;
742
+ },
743
+ set(e) {
744
+ fe(this.config, e, this.$eventBus);
745
+ }
746
+ },
747
+ transition() {
748
+ switch (this.direction) {
749
+ case S.Top:
750
+ return "slide-y-reverse-transition";
751
+ case S.Bottom:
752
+ return "slide-y-transition";
753
+ case S.Left:
754
+ return "slide-x-reverse-transition";
755
+ case S.Right:
756
+ return "slide-x-transition";
757
+ case void 0:
758
+ default:
759
+ return "slide-y-transition";
760
+ }
761
+ }
762
+ },
763
+ data() {
764
+ return {
765
+ LOCALES: v,
766
+ currencyPickerDialog: !1
767
+ };
768
+ },
769
+ methods: {
770
+ onCurrencyPickerBtnClicked() {
771
+ this.currencyPickerDialog = !0;
772
+ }
773
+ },
774
+ mixins: [
775
+ $e({
776
+ fallbackValue: !1,
777
+ propsName: "compact"
778
+ })
779
+ ],
780
+ name: "PreferencesMenu",
781
+ props: Je,
782
+ setup() {
783
+ const { t: e } = E();
784
+ return {
785
+ t: e
786
+ };
787
+ }
788
+ });
789
+ function j(e) {
790
+ const t = e;
791
+ t.__i18n = t.__i18n || [], t.__i18n.push({
792
+ locale: "",
793
+ resource: {
794
+ "en-US": {
795
+ PreferencesMenu: {
796
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Pick your language and currency" } }
797
+ }
798
+ },
799
+ "fr-FR": {
800
+ PreferencesMenu: {
801
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Choisissez votre langue et votre devise" } }
802
+ }
803
+ },
804
+ "de-DE": {
805
+ PreferencesMenu: {
806
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Wähle deine Sprache und Währung" } }
807
+ }
808
+ },
809
+ "es-ES": {
810
+ PreferencesMenu: {
811
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Elige tu idioma y divisa" } }
812
+ }
813
+ },
814
+ "it-IT": {
815
+ PreferencesMenu: {
816
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Scegli la tua lingua e valuta" } }
817
+ }
818
+ },
819
+ "nl-NL": {
820
+ PreferencesMenu: {
821
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Kies je taal en valuta" } }
822
+ }
823
+ },
824
+ "pt-PT": {
825
+ PreferencesMenu: {
826
+ title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Escolha o seu idioma e moeda" } }
827
+ }
828
+ }
829
+ }
830
+ });
831
+ }
832
+ const Ke = { key: 0 }, qe = { class: "pr-1" }, Qe = { key: 1 };
833
+ function Xe(e, t, a, l, i, p) {
834
+ const s = V("CurrencyPickerBtn"), r = V("LangPickerBtn"), u = V("CurrencyPickerDialog");
835
+ return e.parsedCompact ? (c(), b("div", Ke, [
836
+ o(Pe, {
837
+ "content-class": "elevation-0",
838
+ elevation: "0",
839
+ location: e.direction,
840
+ transition: e.transition
841
+ }, {
842
+ activator: n(({ props: k }) => [
843
+ o(w, x({
844
+ block: e.block,
845
+ class: "elevation-0 px-1",
846
+ color: e.color,
847
+ size: "small"
848
+ }, k, { style: { "max-width": "62px", width: "62px" } }), {
849
+ default: n(() => [
850
+ m("small", qe, f(e.activeCurrency.code) + " / ", 1),
851
+ o(N, { size: "16" }, {
852
+ default: n(() => [
853
+ o(X, {
854
+ "max-height": "16",
855
+ "max-width": "16",
856
+ src: `https://flagcdn.com/h60/${e.LOCALES[e.langPickerModel].countryCode.toLowerCase()}.png`,
857
+ srcset: `https://flagcdn.com/h80/${e.LOCALES[e.langPickerModel].countryCode.toLowerCase()}.png 2x,
858
+ https://flagcdn.com/h120/${e.LOCALES[e.langPickerModel].countryCode.toLowerCase()}.png 3x`
859
+ }, null, 8, ["src", "srcset"])
860
+ ]),
861
+ _: 1
862
+ })
863
+ ]),
864
+ _: 2
865
+ }, 1040, ["block", "color"])
866
+ ]),
867
+ default: n(() => [
868
+ o(q, {
869
+ elevation: "0",
870
+ class: "bg-transparent"
871
+ }, {
872
+ default: n(() => [
873
+ o(ve, { class: "px-3" }, {
874
+ default: n(() => [
875
+ o(h, null, {
876
+ default: n(() => [
877
+ o(d, { class: "d-flex justify-center" }, {
878
+ default: n(() => [
879
+ o(s, {
880
+ color: e.color,
881
+ elevation: "7",
882
+ onClick: e.onCurrencyPickerBtnClicked
883
+ }, null, 8, ["color", "onClick"])
884
+ ]),
885
+ _: 1
886
+ })
887
+ ]),
888
+ _: 1
889
+ }),
890
+ o(h, { dense: "" }, {
891
+ default: n(() => [
892
+ o(d, { class: "d-flex justify-center" }, {
893
+ default: n(() => [
894
+ o(r, {
895
+ modelValue: e.langPickerModel,
896
+ "onUpdate:modelValue": t[0] || (t[0] = (k) => e.langPickerModel = k),
897
+ elevation: "7",
898
+ locales: e.config.locales
899
+ }, null, 8, ["modelValue", "locales"])
900
+ ]),
901
+ _: 1
902
+ })
903
+ ]),
904
+ _: 1
905
+ })
906
+ ]),
907
+ _: 1
908
+ })
909
+ ]),
910
+ _: 1
911
+ })
912
+ ]),
913
+ _: 1
914
+ }, 8, ["location", "transition"]),
915
+ o(u, {
916
+ modelValue: e.currencyPickerDialog,
917
+ "onUpdate:modelValue": t[1] || (t[1] = (k) => e.currencyPickerDialog = k)
918
+ }, null, 8, ["modelValue"])
919
+ ])) : (c(), b("div", Qe, [
920
+ o(s, {
921
+ class: "d-inline-block",
922
+ color: e.color,
923
+ dialog: ""
924
+ }, null, 8, ["color"]),
925
+ t[3] || (t[3] = m("span", { class: "pr-1" }, null, -1)),
926
+ o(r, {
927
+ modelValue: e.langPickerModel,
928
+ "onUpdate:modelValue": t[2] || (t[2] = (k) => e.langPickerModel = k),
929
+ class: "d-inline-block",
930
+ locales: e.config.locales
931
+ }, null, 8, ["modelValue", "locales"])
932
+ ]));
933
+ }
934
+ typeof j == "function" && j(ne);
935
+ const nt = /* @__PURE__ */ M(ne, [["render", Xe], ["__scopeId", "data-v-dd3c6869"]]);
936
+ oe("css/revolugo.preferencesmenu.D2263Vn6.css");
937
+ export {
938
+ We as C,
939
+ xe as L,
940
+ nt as P,
941
+ te as _,
942
+ $e as a,
943
+ S as b,
944
+ ze as c,
945
+ Se as d,
946
+ Re as e,
947
+ Je as p
948
+ };
949
+ //# sourceMappingURL=revolugo.preferencesmenu.CpUjfhca.min.js.map