@revolugo/elements 5.5.1-beta.9 → 5.5.1-rc.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (244) hide show
  1. package/dist/css/revolugo.0.min.css +5 -0
  2. package/dist/css/revolugo.1.min.css +1 -0
  3. package/dist/css/revolugo.11.min.css +1 -0
  4. package/dist/css/revolugo.12.min.css +1 -0
  5. package/dist/css/revolugo.13.min.css +1 -0
  6. package/dist/css/revolugo.14.min.css +1 -0
  7. package/dist/css/revolugo.15.min.css +1 -0
  8. package/dist/css/revolugo.16.min.css +1 -0
  9. package/dist/css/revolugo.17.min.css +1 -0
  10. package/dist/css/revolugo.18.min.css +1 -0
  11. package/dist/css/revolugo.19.min.css +1 -0
  12. package/dist/css/revolugo.2.min.css +1 -0
  13. package/dist/css/revolugo.20.min.css +1 -0
  14. package/dist/css/revolugo.21.min.css +1 -0
  15. package/dist/css/revolugo.22.min.css +1 -0
  16. package/dist/css/revolugo.23.min.css +1 -0
  17. package/dist/css/revolugo.24.min.css +1 -0
  18. package/dist/css/revolugo.25.min.css +1 -0
  19. package/dist/css/revolugo.26.min.css +1 -0
  20. package/dist/css/revolugo.27.min.css +1 -0
  21. package/dist/css/revolugo.28.min.css +1 -0
  22. package/dist/css/revolugo.29.min.css +1 -0
  23. package/dist/css/revolugo.30.min.css +1 -0
  24. package/dist/css/revolugo.31.min.css +1 -0
  25. package/dist/css/revolugo.32.min.css +1 -0
  26. package/dist/css/revolugo.33.min.css +1 -0
  27. package/dist/css/revolugo.34.min.css +1 -0
  28. package/dist/css/revolugo.4.min.css +1 -0
  29. package/dist/css/revolugo.5.min.css +1 -0
  30. package/dist/css/revolugo.6.min.css +1 -0
  31. package/dist/css/revolugo.7.min.css +1 -0
  32. package/dist/css/revolugo.fonts.min.css +1 -0
  33. package/dist/fonts/amenities.2aad1d12.woff +0 -0
  34. package/dist/fonts/amenities.9adae269.ttf +0 -0
  35. package/dist/fonts/amenities.a9bf50f8.svg +42 -0
  36. package/dist/fonts/amenities.bd6b3a4a.eot +0 -0
  37. package/dist/fonts/beds.2b8e38c8.svg +12 -0
  38. package/dist/img/apst.c1092975.png +0 -0
  39. package/dist/img/apst.ec7669f2.png +0 -0
  40. package/dist/img/atout-france.72107e30.png +0 -0
  41. package/dist/img/atout-france.df038f22.png +0 -0
  42. package/dist/img/revolugo.179c459d.png +0 -0
  43. package/dist/img/revolugo.e0879dcc.png +0 -0
  44. package/dist/img/stripe.405543e2.png +0 -0
  45. package/dist/img/stripe.c3e16f9f.png +0 -0
  46. package/dist/index.min.js +1 -1
  47. package/dist/revolugo.0.min.js +18 -0
  48. package/dist/revolugo.1.min.js +1 -0
  49. package/dist/revolugo.11.min.js +134 -0
  50. package/dist/revolugo.12.min.js +19 -0
  51. package/dist/revolugo.13.min.js +14 -0
  52. package/dist/revolugo.14.min.js +19 -0
  53. package/dist/revolugo.15.min.js +139 -0
  54. package/dist/revolugo.16.min.js +14 -0
  55. package/dist/revolugo.17.min.js +14 -0
  56. package/dist/revolugo.18.min.js +1 -0
  57. package/dist/revolugo.19.min.js +1 -0
  58. package/dist/revolugo.2.min.js +1 -0
  59. package/dist/revolugo.20.min.js +1 -0
  60. package/dist/revolugo.21.min.js +116 -0
  61. package/dist/revolugo.22.min.js +1 -0
  62. package/dist/revolugo.23.min.js +1 -0
  63. package/dist/revolugo.24.min.js +1 -0
  64. package/dist/revolugo.25.min.js +1 -0
  65. package/dist/revolugo.26.min.js +1 -0
  66. package/dist/revolugo.27.min.js +1 -0
  67. package/dist/revolugo.28.min.js +116 -0
  68. package/dist/revolugo.29.min.js +1 -0
  69. package/dist/revolugo.30.min.js +1 -0
  70. package/dist/revolugo.31.min.js +1 -0
  71. package/dist/revolugo.32.min.js +1 -0
  72. package/dist/revolugo.33.min.js +1 -0
  73. package/dist/revolugo.34.min.js +1 -0
  74. package/dist/revolugo.35.min.js +1 -0
  75. package/dist/revolugo.36.min.js +1 -0
  76. package/dist/revolugo.4.min.js +1 -0
  77. package/dist/revolugo.5.min.js +1 -0
  78. package/dist/revolugo.6.min.js +1 -0
  79. package/dist/revolugo.7.min.js +1 -0
  80. package/dist/revolugo.en-US.min.js +1 -0
  81. package/dist/revolugo.fonts.min.js +1 -0
  82. package/dist/revolugo.fr-FR.min.js +1 -0
  83. package/dist/revolugo.min.js +7 -257
  84. package/package.json +5 -3
  85. package/dist/css/fonts.css +0 -1
  86. package/dist/css/revolugo.bdaterangepicker.DEh20utH.css +0 -1
  87. package/dist/css/revolugo.bhotelroomsdetails.4XsxkvH7.css +0 -1
  88. package/dist/css/revolugo.bhotelsearchbar.dwYB1gUC.css +0 -1
  89. package/dist/css/revolugo.bookingdetailssidebar.tDtXpaIj.css +0 -1
  90. package/dist/css/revolugo.bphoneinput.Kq_-XiGI.css +0 -1
  91. package/dist/css/revolugo.bstarrating.nzH7iii4.css +0 -1
  92. package/dist/css/revolugo.btag.Bdbqb_8a.css +0 -1
  93. package/dist/css/revolugo.common.BSIsYREh.css +0 -1
  94. package/dist/css/revolugo.creditcardform.BGPUxkRC.css +0 -1
  95. package/dist/css/revolugo.creditcardpayment.CGjlL8Fn.css +0 -1
  96. package/dist/css/revolugo.currencypicker.BRYsKdMu.css +0 -1
  97. package/dist/css/revolugo.fullbookingflow.BHV7_MhK.css +0 -1
  98. package/dist/css/revolugo.hotel-offer.Di9LJKMP.css +0 -1
  99. package/dist/css/revolugo.hoteldescriptionview.9ofE1uWG.css +0 -1
  100. package/dist/css/revolugo.hoteloffersmap.-ZhDcfsj.css +0 -1
  101. package/dist/css/revolugo.hoteloffersview.MWOmwEwv.css +0 -1
  102. package/dist/css/revolugo.hotelroomofferlist.DrGyKJ-m.css +0 -1
  103. package/dist/css/revolugo.hotelroomoffersbookingflow.DGFt0C9n.css +0 -1
  104. package/dist/css/revolugo.hotelroomoffersview.B8Y-2QYc.css +0 -1
  105. package/dist/css/revolugo.index.BMkl7a3p.css +0 -1
  106. package/dist/css/revolugo.index.CFW4Oklv.css +0 -1
  107. package/dist/css/revolugo.index.DXv5c7NS.css +0 -1
  108. package/dist/css/revolugo.langpicker.B3TsOwUq.css +0 -1
  109. package/dist/css/revolugo.parsed-height.B92--uJb.css +0 -1
  110. package/dist/css/revolugo.parsed-props.C3kOvm7T.css +0 -1
  111. package/dist/css/revolugo.prebookform.CDnZmw8F.css +0 -1
  112. package/dist/css/revolugo.revolugo-config.Dg8v1l3c.css +0 -5
  113. package/dist/css/revolugo.storybooktoolbar.CVnww0dZ.css +0 -1
  114. package/dist/css/revolugo.termsandconditions.DV2YnGzG.css +0 -1
  115. package/dist/css/revolugo.valert.BzcMswjJ.css +0 -1
  116. package/dist/css/revolugo.vautocomplete.OMX_yAge.css +0 -1
  117. package/dist/css/revolugo.vbadge.CiK_DSkI.css +0 -1
  118. package/dist/css/revolugo.vbtn.By46MJOU.css +0 -1
  119. package/dist/css/revolugo.vcard.DmB53ZNL.css +0 -1
  120. package/dist/css/revolugo.vchip.BdAdP6lC.css +0 -1
  121. package/dist/css/revolugo.vdialog.C02Cvwul.css +0 -1
  122. package/dist/css/revolugo.vexpansionpanelheader.B2eKo8Lo.css +0 -1
  123. package/dist/css/revolugo.vinput.SfhpXNi0.css +0 -1
  124. package/dist/css/revolugo.vitemgroup.EbHsz8Rr.css +0 -1
  125. package/dist/css/revolugo.vlistitem.BzwNE1YK.css +0 -1
  126. package/dist/css/revolugo.vmenu.BKE0IO4q.css +0 -1
  127. package/dist/css/revolugo.vselect.DljSkk6y.css +0 -1
  128. package/dist/css/revolugo.vsheet.Dtdo2Rps.css +0 -1
  129. package/dist/css/revolugo.vskeletonloader.BpGoaAbZ.css +0 -1
  130. package/dist/css/revolugo.vslidegroup.D5TIbmaw.css +0 -1
  131. package/dist/css/revolugo.vsnackbar.DTAXPYkr.css +0 -1
  132. package/dist/css/revolugo.vtextfield.BliJY6uv.css +0 -1
  133. package/dist/css/revolugo.vtoolbar.DQsezjcM.css +0 -1
  134. package/dist/css/revolugo.vtooltip.B_oOB9pj.css +0 -1
  135. package/dist/css/revolugo.vuetify.BpIoHlAi.css +0 -1
  136. package/dist/css/revolugo.webcomponentwrapper.BRZRuwZ0.css +0 -1
  137. package/dist/revolugo.banktransferdetails.CDDLgiqZ.min.js +0 -105
  138. package/dist/revolugo.bbreakfastoptionbadge.BXp8jiFF.min.js +0 -62
  139. package/dist/revolugo.bdaterangepicker.D7vKynZO.min.js +0 -1351
  140. package/dist/revolugo.bformattedamount.DZ4lP0D2.min.js +0 -82
  141. package/dist/revolugo.bhotelroomsdetails._OEOxEfQ.min.js +0 -213
  142. package/dist/revolugo.bhotelsearchbar.D29hl2MS.min.js +0 -446
  143. package/dist/revolugo.booking-api-client.Drh0cRTW.min.js +0 -7443
  144. package/dist/revolugo.bookingdetailssidebar.Cf_orLaJ.min.js +0 -28
  145. package/dist/revolugo.bookingdetailssidebar.lDNB7oXF.min.js +0 -242
  146. package/dist/revolugo.bookingmanager.BptiDiuZ.min.js +0 -405
  147. package/dist/revolugo.bphoneinput.DEA12thE.min.js +0 -1935
  148. package/dist/revolugo.bpricesummaryskeleton.A4azxZPx.min.js +0 -47
  149. package/dist/revolugo.breakpoint-service.ulonvHwK.min.js +0 -65
  150. package/dist/revolugo.bstarrating.qzeMb2Ot.min.js +0 -173
  151. package/dist/revolugo.btag.fqocL5RV.min.js +0 -68
  152. package/dist/revolugo.cancellationpoliciesbadge.BzjXjeXq.min.js +0 -28
  153. package/dist/revolugo.cancellationpoliciesbadge.nq63QKAU.min.js +0 -92
  154. package/dist/revolugo.cancellationpolicieslist.BfiF9DHI.min.js +0 -28
  155. package/dist/revolugo.cancellationpolicieslist.DvAdsbLe.min.js +0 -317
  156. package/dist/revolugo.common.BavAKcPL.min.js +0 -34
  157. package/dist/revolugo.creditcardform.P3Lo1eeg.min.js +0 -2049
  158. package/dist/revolugo.creditcardform.i3DpOTAl.min.js +0 -28
  159. package/dist/revolugo.creditcardpayment.80nyDUq9.min.js +0 -288
  160. package/dist/revolugo.creditcardpayment.CieGjOTr.min.js +0 -28
  161. package/dist/revolugo.currencypicker.qFd6-iwV.min.js +0 -122
  162. package/dist/revolugo.currencypickerbtn.DXqfDYzb.min.js +0 -121
  163. package/dist/revolugo.currencypickerbtn.SL9IbI6O.min.js +0 -28
  164. package/dist/revolugo.dialog-attach.BQO5FkC9.min.js +0 -27
  165. package/dist/revolugo.en-us.BwPQZpD-.min.js +0 -1171
  166. package/dist/revolugo.event-bus.CYLYgD3Y.min.js +0 -37
  167. package/dist/revolugo.fr-fr.CV4yETNm.min.js +0 -1177
  168. package/dist/revolugo.fullbookingflow.BH9WYZQU.min.js +0 -239
  169. package/dist/revolugo.hotel-offer.DkBY7KF0.min.js +0 -605
  170. package/dist/revolugo.hoteldescriptionview.COEl20Dq.min.js +0 -2174
  171. package/dist/revolugo.hoteldescriptionview.XJOl3Oeh.min.js +0 -28
  172. package/dist/revolugo.hotelofferitemlayout.DxWzoHRv.min.js +0 -64
  173. package/dist/revolugo.hotelofferlist.C1B_9NAn.min.js +0 -3779
  174. package/dist/revolugo.hotelofferlist.I8kF8p6L.min.js +0 -28
  175. package/dist/revolugo.hotelofferrequestcreator.B9mGU5bB.min.js +0 -225
  176. package/dist/revolugo.hoteloffersearchmenu.DExCTnYT.min.js +0 -54
  177. package/dist/revolugo.hoteloffersmap.Cd0-GO8Q.min.js +0 -8737
  178. package/dist/revolugo.hoteloffersmap.FqqtiR5R.min.js +0 -28
  179. package/dist/revolugo.hoteloffersview.C9lYrm2i.min.js +0 -157
  180. package/dist/revolugo.hoteloffersview.CLcQG9wK.min.js +0 -28
  181. package/dist/revolugo.hotelroomofferlist.B436VThb.min.js +0 -1332
  182. package/dist/revolugo.hotelroomofferlist.uS6bGKaQ.min.js +0 -28
  183. package/dist/revolugo.hotelroomofferrequestcreator.Cqzw_aE0.min.js +0 -225
  184. package/dist/revolugo.hotelroomoffersbookingflow.CMJgMAtO.min.js +0 -679
  185. package/dist/revolugo.hotelroomoffersearchmenu.Dws8MLf0.min.js +0 -38
  186. package/dist/revolugo.hotelroomoffersearchmenu.UHKtopiD.min.js +0 -29
  187. package/dist/revolugo.hotelroomoffersview.-1JOr1jD.min.js +0 -28
  188. package/dist/revolugo.hotelroomoffersview.217ygoUj.min.js +0 -124
  189. package/dist/revolugo.i18n.BIDah4Hr.min.js +0 -10901
  190. package/dist/revolugo.index.B8RjdKfF.min.js +0 -281
  191. package/dist/revolugo.index.BOFNqiKi.min.js +0 -128
  192. package/dist/revolugo.index.BafzMKRk.min.js +0 -13
  193. package/dist/revolugo.index.ByALJ4Cg.min.js +0 -270
  194. package/dist/revolugo.index.CMpCToBI.min.js +0 -390
  195. package/dist/revolugo.index.CVaQfmC0.min.js +0 -15
  196. package/dist/revolugo.index.Ce2wa-yh.min.js +0 -142
  197. package/dist/revolugo.index.CfwKNM8Q.min.js +0 -9
  198. package/dist/revolugo.index.D7ohfZ-O.min.js +0 -68
  199. package/dist/revolugo.index.DKK0H_cv.min.js +0 -161
  200. package/dist/revolugo.index.DSbeMte7.min.js +0 -322
  201. package/dist/revolugo.index.Dudg2j1-.min.js +0 -9
  202. package/dist/revolugo.index.G0QSOBn3.min.js +0 -42
  203. package/dist/revolugo.index.mq4mKuqN.min.js +0 -43
  204. package/dist/revolugo.langpicker.DtWztNg3.min.js +0 -103
  205. package/dist/revolugo.langpickerbtn.CPZtzdTJ.min.js +0 -111
  206. package/dist/revolugo.langpickerbtn.D3ff3yft.min.js +0 -28
  207. package/dist/revolugo.localizedformat.C4ez1VLt.min.js +0 -47
  208. package/dist/revolugo.parsed-height.Bd1t0mHH.min.js +0 -2338
  209. package/dist/revolugo.parsed-props.B6q7Ax-9.min.js +0 -95
  210. package/dist/revolugo.prebookform.Bvkp_jkU.min.js +0 -28
  211. package/dist/revolugo.prebookform.QT7QI1LP.min.js +0 -484
  212. package/dist/revolugo.revolugo-config.B9n_CElG.min.js +0 -1707
  213. package/dist/revolugo.roominglisteditor.BCpebY3B.min.js +0 -201
  214. package/dist/revolugo.roominglisteditor.C4AtDc7A.min.js +0 -28
  215. package/dist/revolugo.sentry.CuQ4Sj_P.min.js +0 -10989
  216. package/dist/revolugo.store.TBV-eqIE.min.js +0 -2497
  217. package/dist/revolugo.storybooktoolbar.K8FrycZc.min.js +0 -300
  218. package/dist/revolugo.termsandconditions.DCoLgJzC.min.js +0 -27
  219. package/dist/revolugo.termsandconditions.DkzQmMDI.min.js +0 -162
  220. package/dist/revolugo.typed-mixins.CArk-fZ7.min.js +0 -8
  221. package/dist/revolugo.valert.tamLbGMZ.min.js +0 -194
  222. package/dist/revolugo.vautocomplete.BbvrGxVz.min.js +0 -255
  223. package/dist/revolugo.vbadge.B3P90j3E.min.js +0 -172
  224. package/dist/revolugo.vbtn.BNPhP-XR.min.js +0 -286
  225. package/dist/revolugo.vcard.ndQpNewl.min.js +0 -80
  226. package/dist/revolugo.vchip.DTZZJRt5.min.js +0 -157
  227. package/dist/revolugo.vdialog.C-Jh0Eq7.min.js +0 -341
  228. package/dist/revolugo.vexpansionpanelheader.DJijrIj9.min.js +0 -263
  229. package/dist/revolugo.vform.D7XJ7bEy.min.js +0 -98
  230. package/dist/revolugo.vinput.BeSsXYg9.min.js +0 -509
  231. package/dist/revolugo.vitemgroup.DjZ_N7Ml.min.js +0 -168
  232. package/dist/revolugo.vlistitem.ChmT4RKD.min.js +0 -204
  233. package/dist/revolugo.vmenu.CThLxAWt.min.js +0 -349
  234. package/dist/revolugo.vselect.BXEzrczG.min.js +0 -859
  235. package/dist/revolugo.vsheet.BWJwctvS.min.js +0 -120
  236. package/dist/revolugo.vskeletonloader.CCW1cQtD.min.js +0 -172
  237. package/dist/revolugo.vslidegroup.Dlwmh4Oi.min.js +0 -650
  238. package/dist/revolugo.vsnackbar.BGJVdHRT.min.js +0 -178
  239. package/dist/revolugo.vtextfield.D-kB2BBk.min.js +0 -438
  240. package/dist/revolugo.vtoolbar.C98lEGDc.min.js +0 -364
  241. package/dist/revolugo.vtooltip.M9ln6byG.min.js +0 -168
  242. package/dist/revolugo.vuetify.BEdap6Ni.min.js +0 -865
  243. package/dist/revolugo.watch-list.Bb06Iz6D.min.js +0 -44
  244. package/dist/revolugo.webcomponentwrapper.Dhr34jp1.min.js +0 -783
@@ -1,28 +0,0 @@
1
- import { V as o } from "./revolugo.i18n.BIDah4Hr.min.js";
2
- import { C as n, c as t } from "./revolugo.creditcardform.P3Lo1eeg.min.js";
3
- import { W as a, n as s } from "./revolugo.webcomponentwrapper.Dhr34jp1.min.js";
4
- const m = o.extend({
5
- components: {
6
- CreditCardForm: n,
7
- WebComponentWrapper: a
8
- },
9
- props: t
10
- });
11
- var p = function() {
12
- var r = this, e = r._self._c;
13
- return r._self._setupProxy, e("web-component-wrapper", [e("credit-card-form", r._b({}, "credit-card-form", r.$props, !1))], 1);
14
- }, c = [], d = /* @__PURE__ */ s(
15
- m,
16
- p,
17
- c,
18
- !1,
19
- null,
20
- null,
21
- null,
22
- null
23
- );
24
- const C = d.exports;
25
- export {
26
- C as default
27
- };
28
- //# sourceMappingURL=revolugo.creditcardform.i3DpOTAl.min.js.map
@@ -1,288 +0,0 @@
1
- import { E as u } from "./revolugo.revolugo-config.B9n_CElG.min.js";
2
- import { B as x, f as F } from "./revolugo.bformattedamount.DZ4lP0D2.min.js";
3
- import { V as h, h as n } from "./revolugo.booking-api-client.Drh0cRTW.min.js";
4
- import { V as S, x as w } from "./revolugo.i18n.BIDah4Hr.min.js";
5
- import { B as A } from "./revolugo.bookingdetailssidebar.lDNB7oXF.min.js";
6
- import { C as $, _ as T } from "./revolugo.creditcardform.P3Lo1eeg.min.js";
7
- import { B as I, l as B, n as U, _ as d, a as i, d as R } from "./revolugo.webcomponentwrapper.Dhr34jp1.min.js";
8
- import { p as N } from "./revolugo.parsed-props.B6q7Ax-9.min.js";
9
- import { w as O } from "./revolugo.watch-list.Bb06Iz6D.min.js";
10
- import { _ as m } from "./revolugo.vcard.ndQpNewl.min.js";
11
- import { V as y, a as D } from "./revolugo.index.Dudg2j1-.min.js";
12
- import { _ as c } from "./revolugo.index.CMpCToBI.min.js";
13
- import { _ as V } from "./revolugo.vsnackbar.BGJVdHRT.min.js";
14
- import { _ as p, a as Y } from "./revolugo.vbtn.BNPhP-XR.min.js";
15
- import { _ as E, a as j } from "./revolugo.vtoolbar.C98lEGDc.min.js";
16
- import { _ as G, a as z, b as H, c as K } from "./revolugo.vexpansionpanelheader.DJijrIj9.min.js";
17
- import { _ as q } from "./revolugo.vtextfield.D-kB2BBk.min.js";
18
- function L(o) {
19
- try {
20
- if (typeof document < "u") {
21
- window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
22
- sheets: [],
23
- components: []
24
- };
25
- const t = import.meta.url, e = t.slice(0, t.lastIndexOf("/") + 1) + o;
26
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(e);
27
- for (const s of REVOLUGO_ELEMENTS_STYLES.components)
28
- s(e);
29
- if (o.indexOf("fonts") >= 0) {
30
- const s = document.createElement("link");
31
- s.rel = "stylesheet", linK.href = e, document.head.appendChild(s);
32
- }
33
- }
34
- } catch (t) {
35
- console.error("[revolugo-elements] ", t);
36
- }
37
- }
38
- const J = {
39
- BookingDetails: !0
40
- }, Q = {
41
- features: {
42
- default: () => J,
43
- type: [Object, String]
44
- },
45
- token: { type: String }
46
- }, W = S.extend({
47
- name: "CreditCardPayment",
48
- components: {
49
- BErrorOverlay: I,
50
- BFormattedAmount: x,
51
- BookingDetailsSidebar: A,
52
- CreditCardForm: $
53
- },
54
- mixins: [
55
- B("components/RevolugoElements/CreditCardPayment"),
56
- N({
57
- fallbackValue: {},
58
- propsName: "features"
59
- }),
60
- O(["$i18n.locale", "bookingApiClient"], "retrieveBooking", {
61
- immediate: !0
62
- })
63
- ],
64
- props: Q,
65
- data: () => ({
66
- booking: void 0,
67
- couponSuccessMessage: "",
68
- couponErrorMessage: "",
69
- couponId: null,
70
- error: "",
71
- isFetchingBooking: !1,
72
- isCreditCardFormMounted: !1,
73
- isPaymentLoading: !1,
74
- isPaymentSuccess: !1,
75
- isTermsAccepted: !1,
76
- isCreditCardFormCompleted: !1,
77
- isUpdatingPaymentMethods: !1,
78
- snackbar: !1,
79
- termsError: !1
80
- }),
81
- computed: {
82
- paymentMethods() {
83
- var o;
84
- return w(((o = this.booking) == null ? void 0 : o.paymentMethods) ?? [], "name");
85
- },
86
- payLaterAllowed() {
87
- var o, t;
88
- return ((o = this.booking) == null ? void 0 : o.payLater) && [
89
- h.Enabled,
90
- h.Forced
91
- ].includes((t = this.booking) == null ? void 0 : t.payLater);
92
- },
93
- isPayLaterForced() {
94
- var o;
95
- return ((o = this.booking) == null ? void 0 : o.payLater) === h.Forced;
96
- },
97
- termsAndConditionsUrl() {
98
- return this.$t("CreditCardPayment.termsURL");
99
- }
100
- },
101
- watch: {
102
- couponId() {
103
- this.couponErrorMessage = "";
104
- },
105
- token: {
106
- immediate: !0,
107
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
108
- handler() {
109
- return this.retrieveBooking();
110
- }
111
- }
112
- },
113
- methods: {
114
- onCreditCardFormChange(o) {
115
- this.isCreditCardFormCompleted = o, this.error = "";
116
- },
117
- onCreditCardFormSuccess() {
118
- this.isPaymentLoading = !1, this.isPaymentSuccess = !0, this.$eventBus.$emit(u.PAYMENT_SUCCESS, this.booking);
119
- },
120
- onCreditCardFormError(o) {
121
- this.error = o, this.isPaymentLoading = !1;
122
- },
123
- onCouponIdCleared() {
124
- var o, t;
125
- this.couponId = null, (t = (o = this.paymentMethods[n.Coupon]) == null ? void 0 : o.payload) != null && t.amount && this.updatePaymentMethods();
126
- },
127
- async payLater() {
128
- var o, t;
129
- try {
130
- if (this.isPaymentLoading = !0, !this.isTermsAccepted) {
131
- this.termsError = !0, this.isPaymentLoading = !1;
132
- return;
133
- }
134
- if (!((o = this.booking) != null && o.id)) {
135
- this.isPaymentLoading = !1;
136
- return;
137
- }
138
- await ((t = this.bookingApiClient) == null ? void 0 : t.bookings.paylater({
139
- id: this.booking.id
140
- })), this.isPaymentSuccess = !0, this.$eventBus.$emit(u.PAYMENT_SUCCESS, this.booking);
141
- } catch {
142
- this.snackbar = !0;
143
- } finally {
144
- this.isPaymentLoading = !1;
145
- }
146
- },
147
- async pay() {
148
- var t, e, s, r;
149
- if (((e = (t = this.paymentMethods[n.Coupon]) == null ? void 0 : t.payload) == null ? void 0 : e.amount) === ((s = this.booking) == null ? void 0 : s.taxIncludedPrice)) {
150
- this.isPaymentLoading = !0, await ((r = this.bookingApiClient) == null ? void 0 : r.bookings.couponCharge({
151
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
152
- id: this.booking.id,
153
- couponId: (
154
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
155
- this.paymentMethods[n.Coupon].payload.couponId
156
- )
157
- })), this.isPaymentSuccess = !0, this.$eventBus.$emit(u.PAYMENT_SUCCESS, this.booking);
158
- return;
159
- }
160
- if (!this.$refs.payment)
161
- return;
162
- this.isPaymentLoading = !0, this.$refs.payment.pay();
163
- },
164
- async retrieveBooking() {
165
- try {
166
- if (!this.token) {
167
- this.booking = void 0;
168
- return;
169
- }
170
- this.isFetchingBooking = !0, this.toggleCreditCardForm(!1), this.booking = await this.bookingApiClient.bookings.retrievePublic({
171
- token: this.token
172
- }), (!this.booking.paymentMethods || !this.booking.paymentMethods.length || this.booking.paymentMethods.length > 1) && (this.booking = await this.bookingApiClient.bookings.updatePaymentMethods({
173
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
174
- id: this.booking.id,
175
- body: {
176
- paymentMethods: [
177
- {
178
- name: n.CreditCard
179
- }
180
- ]
181
- }
182
- })), this.toggleCreditCardForm(!0), this.isFetchingBooking = !1;
183
- } catch {
184
- this.booking = void 0;
185
- } finally {
186
- this.isFetchingBooking = !1;
187
- }
188
- },
189
- toggleCreditCardForm(o) {
190
- this.error = "", this.isCreditCardFormMounted = o, this.isPaymentLoading = !o;
191
- },
192
- async updatePaymentMethods() {
193
- var o, t, e, s, r;
194
- try {
195
- this.couponSuccessMessage = "", this.isUpdatingPaymentMethods = !0;
196
- const l = [
197
- {
198
- name: n.CreditCard
199
- }
200
- ];
201
- if (this.couponId && l.push({
202
- name: n.Coupon,
203
- payload: {
204
- couponId: this.couponId
205
- }
206
- }), this.toggleCreditCardForm(!1), this.booking = await ((o = this.bookingApiClient) == null ? void 0 : o.bookings.updatePaymentMethods({
207
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
208
- id: this.booking.id,
209
- body: {
210
- paymentMethods: l
211
- }
212
- })), this.toggleCreditCardForm(!0), !this.paymentMethods[n.Coupon] || !((t = this.paymentMethods[n.Coupon].payload) != null && t.amount)) {
213
- if (!this.couponId)
214
- return;
215
- this.couponErrorMessage = this.$t(
216
- "CreditCardPayment.paymentMethods.coupon.error"
217
- );
218
- } else
219
- ((e = this.paymentMethods[n.Coupon].payload) == null ? void 0 : e.amount) === ((s = this.booking) == null ? void 0 : s.taxIncludedPrice) && (this.isCreditCardFormCompleted = !0), this.couponErrorMessage = "", this.couponSuccessMessage = this.$t(
220
- "CreditCardPayment.paymentMethods.coupon.success",
221
- {
222
- price: F({
223
- amount: (
224
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
225
- this.paymentMethods[n.Coupon].payload.amount
226
- ),
227
- currency: (r = this.booking) == null ? void 0 : r.currency
228
- })
229
- }
230
- );
231
- } catch {
232
- this.booking = void 0;
233
- } finally {
234
- this.isUpdatingPaymentMethods = !1;
235
- }
236
- }
237
- }
238
- });
239
- var X = function() {
240
- var s, r, l, g, C, _, f, k, b, P, M, v;
241
- var t = this, e = t._self._c;
242
- return t._self._setupProxy, t.isPaymentSuccess ? e(m, { attrs: { elevation: "0" } }, [e(y, { staticClass: "py-6 d-flex flex-column justify-center align-center" }, [e(c, { staticClass: "mb-4", attrs: { color: "green", "x-large": "" } }, [t._v(" fa-check-circle ")]), e("h3", { staticClass: "green--text" }, [t._v(" " + t._s(t.$t("CreditCardPayment.paymentSuccess.subtitle")) + " ")])], 1)], 1) : t.booking && t.booking.id ? e("div", [e(V, { attrs: { color: "error", timeout: "-1", top: "" }, scopedSlots: t._u([{ key: "action", fn: function({ attrs: a }) {
243
- return [e(p, t._b({ attrs: { color: "pink", text: "" }, on: { click: function(et) {
244
- t.snackbar = !1;
245
- } } }, "v-btn", a, !1), [e(c, [t._v(" fa-times ")])], 1)];
246
- } }]), model: { value: t.snackbar, callback: function(a) {
247
- t.snackbar = a;
248
- }, expression: "snackbar" } }, [t._v(" " + t._s(t.$t("CreditCardPayment.error")) + " ")]), e(d, { attrs: { dense: "" } }, [t.parsedFeatures.BookingDetails ? e(i, { attrs: { cols: "12", lg: "4", sm: "4", xl: "4" } }, [e("booking-details-sidebar", t._b({}, "booking-details-sidebar", t.booking, !1))], 1) : t._e(), e(i, { class: t.parsedFeatures.BookingDetails ? "col-sm-8 col-12" : "w-100" }, [e(m, { attrs: { elevation: "0", outlined: "" } }, [t.parsedFeatures.BookingDetails ? t._e() : e(E, { attrs: { color: "primary", dark: "", dense: "", elevation: "0" } }, [e("h4", [t._v(" " + t._s(t.$t("CreditCardPayment.pay")) + ": "), e("b-formatted-amount", { staticClass: "font-weight-bold", attrs: { amount: t.booking.taxIncludedPrice, currency: t.booking.currency } })], 1)]), e(y, [t.isPayLaterForced ? e(m, { style: {
249
- borderColor: "var(--v-primary-base)"
250
- }, attrs: { elevation: "0", outlined: "" } }, [e(E, { staticClass: "white--text", attrs: { color: "primary", dense: "", elevation: "0" } }, [e("div", { staticClass: "w-100 d-flex justify-space-between items-center" }, [e("h4", [t._v(t._s(t.$t("CreditCardPayment.payLaterForced.title")))])])]), e(y, [e("h4", [t._v(t._s(t.$t("CreditCardPayment.payLaterForced.subtitle")))])])], 1) : [e("credit-card-form", { ref: "payment", attrs: { amount: ((r = (s = t.paymentMethods.CREDIT_CARD) == null ? void 0 : s.payload) == null ? void 0 : r.amount) || 0, currency: t.booking.currency, disabled: !((g = (l = t.paymentMethods.CREDIT_CARD) == null ? void 0 : l.payload) != null && g.amount) || !((_ = (C = t.paymentMethods.CREDIT_CARD) == null ? void 0 : C.payload) != null && _.token), loading: !t.isCreditCardFormMounted, token: (k = (f = t.paymentMethods.CREDIT_CARD) == null ? void 0 : f.payload) == null ? void 0 : k.token }, on: { change: t.onCreditCardFormChange, error: t.onCreditCardFormError, success: t.onCreditCardFormSuccess } }), e(d, [e(i, { attrs: { cols: 12 } }, [e(m, { staticClass: "mt-3 color-grey", attrs: { elevation: "0", outlined: "" } }, [e(G, { attrs: { accordion: "", readonly: !!(t.couponId && ((P = (b = t.paymentMethods.COUPON) == null ? void 0 : b.payload) != null && P.amount) || t.isUpdatingPaymentMethods) } }, [e(z, { on: { change: function(a) {
251
- t.couponId = null;
252
- } } }, [e(H, { attrs: { color: "grey lighten-4", dense: "", "hide-actions": !!(t.couponId && ((v = (M = t.paymentMethods.COUPON) == null ? void 0 : M.payload) != null && v.amount) || t.isUpdatingPaymentMethods) } }, [e("h4", [e(c, { attrs: { left: "" } }, [t._v(" fa-ticket ")]), t._v(" " + t._s(t.$t("CreditCardPayment.paymentMethods.coupon.title")) + " ")], 1)]), e(K, [e(d, { staticClass: "mt-6 mb-0", attrs: { "no-gutters": "" } }, [e(i, { attrs: { cols: "12", lg: "10" } }, [e(q, { attrs: { clearable: "", dense: "", disabled: t.isUpdatingPaymentMethods, "error-messages": t.couponErrorMessage, label: t.$t(
253
- "CreditCardPayment.paymentMethods.coupon.subtitle"
254
- ), outlined: "", "success-messages": t.couponSuccessMessage }, on: { "click:clear": t.onCouponIdCleared }, model: { value: t.couponId, callback: function(a) {
255
- t.couponId = a;
256
- }, expression: "couponId" } })], 1), e(i, { staticClass: "text-right text-lg-left", attrs: { cols: "12", lg: "2" } }, [e(p, { staticClass: "ml-0 ml-md-2", attrs: { color: "primary", depressed: "", disabled: !t.couponId || t.couponId === t.booking, large: "", loading: t.isUpdatingPaymentMethods, plain: "", text: "" }, on: { click: t.updatePaymentMethods } }, [t._v(" " + t._s(t.$t("CreditCardPayment.paymentMethods.coupon.button")) + " ")])], 1)], 1)], 1)], 1)], 1)], 1)], 1)], 1), e(d, [e(i, [e(c, { attrs: { left: "" } }, [t._v(" fa-info-circle ")]), e("small", [t._v(t._s(t.$t("CreditCardPayment.subtitle")))])], 1)], 1)], e(d, { staticClass: "mt-2" }, [e(i, [e(T, { ref: "testing", staticClass: "mt-0", attrs: { error: t.termsError && !t.isTermsAccepted }, scopedSlots: t._u([{ key: "label", fn: function() {
257
- return [e("span", { domProps: { innerHTML: t._s(
258
- t.$t("CreditCardPayment.termsAndConditions", {
259
- url: t.termsAndConditionsUrl
260
- })
261
- ) }, on: { click: function(a) {
262
- a.stopPropagation();
263
- } } })];
264
- }, proxy: !0 }]), model: { value: t.isTermsAccepted, callback: function(a) {
265
- t.isTermsAccepted = a;
266
- }, expression: "isTermsAccepted" } })], 1)], 1)], 2), e(D, { staticClass: "mt-n6" }, [e(d, { staticClass: "flex-column flex-sm-row", attrs: { align: "end", "no-gutters": "" } }, [e(i, [e("small", { staticClass: "ml-1 text-caption" }, [t._v(t._s(t.$t("CreditCardPayment.acceptedPaymentMethods")))]), e(j, { staticClass: "mt-n1", attrs: { contain: "", height: "45", src: "https://revolugo.s3.eu-west-3.amazonaws.com/payment-methods.png", width: "240" } })], 1), e(i, { staticClass: "d-flex justify-end flex-column flex-sm-row mb-1 align-center mt-4 mt-sm-0" }, [t.isPayLaterForced ? [e(p, { staticClass: "w-100 w-sm-auto", attrs: { color: "success", depressed: "", disabled: t.isPaymentLoading || !t.isTermsAccepted, loading: t.isPaymentLoading, outlined: "" }, on: { click: t.payLater } }, [e("span", { staticClass: "mr-1" }, [t._v(" " + t._s(t.$t("CreditCardPayment.completeBookingNow")) + " ")])])] : t.payLaterAllowed ? [e(p, { staticClass: "w-100 w-sm-auto", attrs: { color: "primary", depressed: "", disabled: t.isPaymentLoading || !t.isTermsAccepted, loading: t.isPaymentLoading, outlined: "" }, on: { click: t.payLater } }, [e(c, { attrs: { left: "" } }, [t._v(" fa-clock ")]), e("span", { staticClass: "mr-1" }, [t._v(" " + t._s(t.$t("CreditCardPayment.completeBookingLater")) + " ")]), t.isPayLaterForced ? t._e() : e("b-formatted-amount", { staticClass: "font-weight-bold", attrs: { amount: t.booking.taxIncludedPrice, currency: t.booking.currency } })], 1), e("span", { staticClass: "mx-2" }, [t._v(" " + t._s(t.$t("CreditCardPayment.or")) + " ")])] : t._e(), t.isPayLaterForced ? t._e() : e(p, { staticClass: "w-100 w-sm-auto", attrs: { color: "primary", depressed: "", disabled: t.isPaymentLoading || !t.isTermsAccepted || !t.isCreditCardFormCompleted || t.isUpdatingPaymentMethods, loading: t.isPaymentLoading }, on: { click: t.pay } }, [e(c, { attrs: { left: "" } }, [t._v(" fa-lock ")]), e("span", { staticClass: "mr-1" }, [t._v(t._s(t.$t("CreditCardPayment.completeBookingNow")))])], 1)], 2)], 1)], 1)], 1)], 1)], 1)], 1) : t.isFetchingBooking ? e(m, { staticClass: "mx-auto", attrs: { elevation: "0", height: "350px", width: "100%" } }, [e(R, { staticClass: "align-center justify-center", attrs: { absolute: "", opacity: "0.1" } }, [e(Y, { attrs: { color: "primary", indeterminate: "", size: "64" } })], 1)], 1) : e("b-error-overlay", { attrs: { "min-height": "200px" }, scopedSlots: t._u([{ key: "title", fn: function() {
267
- return [t._v(" " + t._s(t.$t("CreditCardPayment.bookingNotFound.title")) + " ")];
268
- }, proxy: !0 }, { key: "description", fn: function() {
269
- return [t._v(" " + t._s(t.$t("CreditCardPayment.bookingNotFound.description")) + " ")];
270
- }, proxy: !0 }]) });
271
- }, Z = [], tt = /* @__PURE__ */ U(
272
- W,
273
- X,
274
- Z,
275
- !1,
276
- null,
277
- "55a77d8a",
278
- null,
279
- null
280
- );
281
- const ft = tt.exports;
282
- L("css/revolugo.creditcardpayment.CGjlL8Fn.css");
283
- export {
284
- ft as C,
285
- J as a,
286
- Q as c
287
- };
288
- //# sourceMappingURL=revolugo.creditcardpayment.80nyDUq9.min.js.map
@@ -1,28 +0,0 @@
1
- import { V as n } from "./revolugo.i18n.BIDah4Hr.min.js";
2
- import { C as t, c as a } from "./revolugo.creditcardpayment.80nyDUq9.min.js";
3
- import { W as o, n as s } from "./revolugo.webcomponentwrapper.Dhr34jp1.min.js";
4
- const p = n.extend({
5
- components: {
6
- CreditCardPayment: t,
7
- WebComponentWrapper: o
8
- },
9
- props: a
10
- });
11
- var m = function() {
12
- var e = this, r = e._self._c;
13
- return e._self._setupProxy, r("web-component-wrapper", [r("credit-card-payment", e._b({}, "credit-card-payment", e.$props, !1))], 1);
14
- }, c = [], d = /* @__PURE__ */ s(
15
- p,
16
- m,
17
- c,
18
- !1,
19
- null,
20
- null,
21
- null,
22
- null
23
- );
24
- const C = d.exports;
25
- export {
26
- C as default
27
- };
28
- //# sourceMappingURL=revolugo.creditcardpayment.CieGjOTr.min.js.map
@@ -1,122 +0,0 @@
1
- import { E as _ } from "./revolugo.revolugo-config.B9n_CElG.min.js";
2
- import { V as m, C as p, A as i } from "./revolugo.i18n.BIDah4Hr.min.js";
3
- import { b as d } from "./revolugo.breakpoint-service.ulonvHwK.min.js";
4
- import { d as h } from "./revolugo.dialog-attach.BQO5FkC9.min.js";
5
- import { l as C, n as f, _ as r, a as o } from "./revolugo.webcomponentwrapper.Dhr34jp1.min.js";
6
- import { _ as g, a as c } from "./revolugo.vlistitem.ChmT4RKD.min.js";
7
- import "./revolugo.index.CfwKNM8Q.min.js";
8
- import { _ as E } from "./revolugo.vtextfield.D-kB2BBk.min.js";
9
- function u(n) {
10
- try {
11
- if (typeof document < "u") {
12
- window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
13
- sheets: [],
14
- components: []
15
- };
16
- const t = import.meta.url, e = t.slice(0, t.lastIndexOf("/") + 1) + n;
17
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(e);
18
- for (const s of REVOLUGO_ELEMENTS_STYLES.components)
19
- s(e);
20
- if (n.indexOf("fonts") >= 0) {
21
- const s = document.createElement("link");
22
- s.rel = "stylesheet", linK.href = e, document.head.appendChild(s);
23
- }
24
- }
25
- } catch (t) {
26
- console.error("[revolugo-elements] ", t);
27
- }
28
- }
29
- const L = [
30
- "EUR",
31
- "USD",
32
- "GBP",
33
- "CAD",
34
- "AED",
35
- "INR",
36
- "AUD",
37
- "JPY"
38
- ], v = m.extend({
39
- name: "CurrencyPicker",
40
- mixins: [
41
- C("components/RevolugoElements/CurrencyPicker"),
42
- d,
43
- h
44
- ],
45
- data() {
46
- return {
47
- searchInput: "",
48
- dialog: !1
49
- };
50
- },
51
- computed: {
52
- countries() {
53
- return Object.values(p);
54
- },
55
- currencies() {
56
- return i;
57
- },
58
- filteredList() {
59
- if (!this.searchInput)
60
- return Object.values(this.currencies);
61
- const n = this.countries.filter(
62
- (e) => e.name.toLowerCase().includes(this.searchInput.toLowerCase()) || e.iso2.toLowerCase().includes(this.searchInput.toLowerCase())
63
- ), t = new Set(
64
- n.map((e) => e.currency)
65
- );
66
- return Object.values(this.currencies).filter(
67
- (e) => e.code.toLowerCase().includes(this.searchInput.toLowerCase()) || e.name.toLowerCase().includes(this.searchInput.toLowerCase()) || e.symbol.toLowerCase().includes(this.searchInput.toLowerCase()) || t.has(e.code)
68
- );
69
- },
70
- commonCurrencies() {
71
- const n = new Set(L);
72
- return Object.values(this.currencies).filter(
73
- (t) => n.has(t.code)
74
- );
75
- },
76
- selectedCurrency() {
77
- return this.config.currency ?? i.EUR.code;
78
- }
79
- },
80
- watch: {
81
- dialog(n) {
82
- n || (this.searchInput = "");
83
- },
84
- selectedCurrency() {
85
- this.$eventBus.$emit(_.CURRENCY_UPDATED, this.config.currency);
86
- }
87
- },
88
- methods: {
89
- onItemClick(n) {
90
- this.dialog = !1, this.updateCurrency(n.code), this.searchInput = "";
91
- }
92
- }
93
- });
94
- var w = function() {
95
- var t = this, e = t._self._c;
96
- return t._self._setupProxy, e(g, { staticClass: "pa-4" }, [e(r, { attrs: { "no-gutters": "" } }, [e(o, { attrs: { cols: "auto" } }, [e("p", { staticClass: "mb-2 font-weight-bold" }, [t._v(" " + t._s(t.$t("CurrencyPicker.preferred")) + " ")])]), e(o, { staticClass: "text-right" }, [t._t("toolbar-right")], 2)], 1), e(r, { attrs: { "no-gutters": "" } }, t._l(t.commonCurrencies, function(s, a) {
97
- return e(o, { key: a, attrs: { cols: "12", md: "4", sm: "6" } }, [e(c, { staticClass: "text-caption", class: s.code === t.config.currency ? "grey lighten-4" : null, attrs: { link: "" }, on: { click: function(l) {
98
- return t.onItemClick(s);
99
- } } }, [e(r, { attrs: { "no-gutters": "" } }, [e(o, { attrs: { cols: "4", sm: "3" } }, [e("span", { staticClass: "font-weight-bold primary--text" }, [t._v(" " + t._s(s.code) + " "), s.code !== s.symbol ? [t._v(" - " + t._s(s.symbol) + " ")] : t._e()], 2)]), e(o, { staticClass: "currency-name" }, [e("span", {}, [t._v(" " + t._s(s.name) + " ")])])], 1)], 1)], 1);
100
- }), 1), e(r, { staticClass: "mt-3", attrs: { align: "center", "no-gutters": "" } }, [e(o, { attrs: { cols: "12", lg: "4" } }, [e("span", { staticClass: "font-weight-bold" }, [t._v(" " + t._s(t.$t("CurrencyPicker.all")) + " ")])]), e(o, { attrs: { cols: "12", lg: "8" } }, [e(E, { staticClass: "mt-2", attrs: { dense: "", "error-messages": t.filteredList.length === 0 ? [t.$t("CurrencyPicker.notFound")] : [], label: "Search", outlined: "" }, model: { value: t.searchInput, callback: function(s) {
101
- t.searchInput = s;
102
- }, expression: "searchInput" } })], 1)], 1), e(r, { staticClass: "scrollable", attrs: { "no-gutters": "" } }, t._l(t.filteredList, function(s, a) {
103
- return e(o, { key: a, attrs: { cols: "12", md: "4", sm: "6" } }, [e(c, { staticClass: "text-caption", class: s.code === t.config.currency ? "grey lighten-4" : null, attrs: { link: "" }, on: { click: function(l) {
104
- return t.onItemClick(s);
105
- } } }, [e(r, { attrs: { "no-gutters": "" } }, [e(o, { attrs: { cols: "4", sm: "3" } }, [e("span", { staticClass: "font-weight-bold primary--text" }, [t._v(" " + t._s(s.code) + " "), s.code !== s.symbol ? [t._v(" - " + t._s(s.symbol) + " ")] : t._e()], 2)]), e(o, { staticClass: "currency-name no-break ml-1" }, [t._v(" " + t._s(s.name) + " ")])], 1)], 1)], 1);
106
- }), 1)], 1);
107
- }, b = [], S = /* @__PURE__ */ f(
108
- v,
109
- w,
110
- b,
111
- !1,
112
- null,
113
- "973f0bca",
114
- null,
115
- null
116
- );
117
- const N = S.exports;
118
- u("css/revolugo.currencypicker.BRYsKdMu.css");
119
- export {
120
- N as C
121
- };
122
- //# sourceMappingURL=revolugo.currencypicker.qFd6-iwV.min.js.map
@@ -1,121 +0,0 @@
1
- import { V as t, A as l, j as u } from "./revolugo.i18n.BIDah4Hr.min.js";
2
- import { C as _ } from "./revolugo.currencypicker.qFd6-iwV.min.js";
3
- import { d as c } from "./revolugo.dialog-attach.BQO5FkC9.min.js";
4
- import { n as a } from "./revolugo.webcomponentwrapper.Dhr34jp1.min.js";
5
- import { _ as p } from "./revolugo.common.BavAKcPL.min.js";
6
- import { _ as m } from "./revolugo.vdialog.C-Jh0Eq7.min.js";
7
- import { _ as i } from "./revolugo.vbtn.BNPhP-XR.min.js";
8
- import { _ as f } from "./revolugo.index.CMpCToBI.min.js";
9
- const d = {
10
- color: {
11
- type: String,
12
- default: "primary"
13
- },
14
- dialog: {
15
- type: Boolean,
16
- default: !1
17
- },
18
- elevation: {
19
- type: [String, Number],
20
- default: 0
21
- },
22
- size: {
23
- type: [String, Number],
24
- default: 0
25
- }
26
- }, g = {
27
- value: {
28
- type: Boolean
29
- }
30
- }, y = t.extend({
31
- name: "CurrencyPickerDialog",
32
- components: {
33
- CurrencyPicker: _
34
- },
35
- mixins: [c],
36
- props: g,
37
- data() {
38
- return {
39
- open: this.value
40
- };
41
- },
42
- watch: {
43
- "config.currency"(n) {
44
- n && (this.open = !1);
45
- },
46
- open(n) {
47
- this.$emit("input", n);
48
- },
49
- value(n) {
50
- this.open = n;
51
- }
52
- }
53
- });
54
- var k = function() {
55
- var e = this, r = e._self._c;
56
- return e._self._setupProxy, r(m, { attrs: { attach: e.$dialogAttach, "max-width": "850" }, model: { value: e.open, callback: function(o) {
57
- e.open = o;
58
- }, expression: "open" } }, [r("currency-picker", { scopedSlots: e._u([{ key: "toolbar-right", fn: function() {
59
- return [r(p), r(i, { staticClass: "mx-1", attrs: { fab: "", icon: "", text: "", "x-small": "" }, on: { click: function(o) {
60
- e.open = !1;
61
- } } }, [r(f, { attrs: { color: "dark" } }, [e._v(" fa-times ")])], 1)];
62
- }, proxy: !0 }]) })], 1);
63
- }, v = [], P = /* @__PURE__ */ a(
64
- y,
65
- k,
66
- v,
67
- !1,
68
- null,
69
- null,
70
- null,
71
- null
72
- );
73
- const x = P.exports, h = t.extend({
74
- name: "LangPickerBtn",
75
- components: {
76
- CurrencyPickerDialog: x
77
- },
78
- mixins: [c],
79
- props: d,
80
- data() {
81
- return {
82
- currencyPickerDialog: !1
83
- };
84
- },
85
- computed: {
86
- currencies() {
87
- return l;
88
- },
89
- locales() {
90
- return u;
91
- }
92
- },
93
- methods: {
94
- onClick() {
95
- this.dialog && (this.currencyPickerDialog = !0);
96
- }
97
- }
98
- });
99
- var C = function() {
100
- var o;
101
- var e = this, r = e._self._c;
102
- return e._self._setupProxy, r(i, { class: `elevation-${e.elevation}`, attrs: { color: e.color, dark: "", fab: "", "x-small": "" }, on: { click: e.onClick } }, [r("b", [e._v(e._s((o = e.currencies[e.config.currency]) == null ? void 0 : o.code))]), e.dialog ? r("currency-picker-dialog", { model: { value: e.currencyPickerDialog, callback: function(s) {
103
- e.currencyPickerDialog = s;
104
- }, expression: "currencyPickerDialog" } }) : e._e()], 1);
105
- }, D = [], b = /* @__PURE__ */ a(
106
- h,
107
- C,
108
- D,
109
- !1,
110
- null,
111
- null,
112
- null,
113
- null
114
- );
115
- const T = b.exports;
116
- export {
117
- T as C,
118
- x as a,
119
- d as c
120
- };
121
- //# sourceMappingURL=revolugo.currencypickerbtn.DXqfDYzb.min.js.map
@@ -1,28 +0,0 @@
1
- import { V as n } from "./revolugo.i18n.BIDah4Hr.min.js";
2
- import { C as c, c as o } from "./revolugo.currencypickerbtn.DXqfDYzb.min.js";
3
- import { W as t, n as s } from "./revolugo.webcomponentwrapper.Dhr34jp1.min.js";
4
- const p = n.extend({
5
- components: {
6
- CurrencyPickerBtn: c,
7
- WebComponentWrapper: t
8
- },
9
- props: o
10
- });
11
- var a = function() {
12
- var r = this, e = r._self._c;
13
- return r._self._setupProxy, e("web-component-wrapper", [e("currency-picker-btn", r._b({}, "currency-picker-btn", r.$props, !1))], 1);
14
- }, _ = [], u = /* @__PURE__ */ s(
15
- p,
16
- a,
17
- _,
18
- !1,
19
- null,
20
- null,
21
- null,
22
- null
23
- );
24
- const y = u.exports;
25
- export {
26
- y as default
27
- };
28
- //# sourceMappingURL=revolugo.currencypickerbtn.SL9IbI6O.min.js.map
@@ -1,27 +0,0 @@
1
- import { V as t } from "./revolugo.i18n.BIDah4Hr.min.js";
2
- const i = t.extend({
3
- data() {
4
- return {
5
- dialogAttach: null
6
- };
7
- },
8
- computed: {
9
- $dialogAttach() {
10
- return this.dialogAttach;
11
- }
12
- },
13
- mounted() {
14
- this.$nextTick(() => {
15
- this.dialogAttachInit();
16
- });
17
- },
18
- methods: {
19
- dialogAttachInit() {
20
- this.dialogAttach = this.$root.$el.querySelector(".v-application");
21
- }
22
- }
23
- });
24
- export {
25
- i as d
26
- };
27
- //# sourceMappingURL=revolugo.dialog-attach.BQO5FkC9.min.js.map