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

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 (247) 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 -65
  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 +26 -29
  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.0MNnDloZ.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.xJfKaofV.css +0 -1
  103. package/dist/css/revolugo.hotelroomoffersbookingflow.PPEIqHuM.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.FfkITAOo.css +0 -1
  110. package/dist/css/revolugo.parsed-props.C3kOvm7T.css +0 -1
  111. package/dist/css/revolugo.prebookform.DBm2B4rS.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/index.es.min.js +0 -13850
  138. package/dist/index.es.min.js.map +0 -1
  139. package/dist/index.min.js.map +0 -1
  140. package/dist/revolugo.banktransferdetails.C7_zVOmo.min.js +0 -105
  141. package/dist/revolugo.bbreakfastoptionbadge.Ce49dA49.min.js +0 -62
  142. package/dist/revolugo.bdaterangepicker.Bn7furEJ.min.js +0 -1351
  143. package/dist/revolugo.bformattedamount.BFXskYwq.min.js +0 -82
  144. package/dist/revolugo.bhotelroomsdetails.CGzQEygX.min.js +0 -213
  145. package/dist/revolugo.bhotelsearchbar.AZssZXVa.min.js +0 -446
  146. package/dist/revolugo.booking-api-client.sLozEu8x.min.js +0 -7472
  147. package/dist/revolugo.bookingdetailssidebar.Cyh9ESY5.min.js +0 -242
  148. package/dist/revolugo.bookingdetailssidebar.CzJuxCyi.min.js +0 -28
  149. package/dist/revolugo.bookingmanager.DFOGB8oH.min.js +0 -405
  150. package/dist/revolugo.bphoneinput.BD5yV30G.min.js +0 -1935
  151. package/dist/revolugo.bpricesummaryskeleton.DLPx7XMt.min.js +0 -47
  152. package/dist/revolugo.breakpoint-service.CligvfbR.min.js +0 -65
  153. package/dist/revolugo.bstarrating.EUallQbz.min.js +0 -173
  154. package/dist/revolugo.btag.BFCVF0Me.min.js +0 -68
  155. package/dist/revolugo.cancellationpoliciesbadge.BlUG2A9X.min.js +0 -92
  156. package/dist/revolugo.cancellationpoliciesbadge.DOwMr0x3.min.js +0 -28
  157. package/dist/revolugo.cancellationpolicieslist.5yiBohSU.min.js +0 -317
  158. package/dist/revolugo.cancellationpolicieslist.fjdTs1rY.min.js +0 -28
  159. package/dist/revolugo.common.C_rtPL-E.min.js +0 -34
  160. package/dist/revolugo.creditcardform.BsdKbnXx.min.js +0 -28
  161. package/dist/revolugo.creditcardform.C4KL6e78.min.js +0 -2047
  162. package/dist/revolugo.creditcardpayment.CLaSbFFC.min.js +0 -288
  163. package/dist/revolugo.creditcardpayment.RGU5VhA2.min.js +0 -28
  164. package/dist/revolugo.currencypicker.wqREtJ__.min.js +0 -122
  165. package/dist/revolugo.currencypickerbtn.B2m0S_4y.min.js +0 -28
  166. package/dist/revolugo.currencypickerbtn.DBD-dfnI.min.js +0 -121
  167. package/dist/revolugo.dialog-attach.GnnAYjIE.min.js +0 -27
  168. package/dist/revolugo.en-us.BP-UxrRq.min.js +0 -1171
  169. package/dist/revolugo.event-bus.CYLYgD3Y.min.js +0 -37
  170. package/dist/revolugo.fr-fr.CF_knN5b.min.js +0 -1177
  171. package/dist/revolugo.fullbookingflow.RNktCvt-.min.js +0 -239
  172. package/dist/revolugo.hotel-offer.BUVwH9VX.min.js +0 -605
  173. package/dist/revolugo.hoteldescriptionview.Bq1O1Xil.min.js +0 -28
  174. package/dist/revolugo.hoteldescriptionview.CLJG1-vV.min.js +0 -2208
  175. package/dist/revolugo.hotelofferitemlayout.Tqhfw-aC.min.js +0 -64
  176. package/dist/revolugo.hotelofferlist.Be53qHlr.min.js +0 -3450
  177. package/dist/revolugo.hotelofferlist.VPSkB1g0.min.js +0 -28
  178. package/dist/revolugo.hotelofferrequestcreator.BDI8RIzt.min.js +0 -225
  179. package/dist/revolugo.hoteloffersearchmenu.BpJ-FUdV.min.js +0 -54
  180. package/dist/revolugo.hoteloffersmap.BlhVP5-Z.min.js +0 -28
  181. package/dist/revolugo.hoteloffersmap.wLH_KGii.min.js +0 -8737
  182. package/dist/revolugo.hoteloffersview.CcKk-z9v.min.js +0 -157
  183. package/dist/revolugo.hoteloffersview.IxtmOXHX.min.js +0 -28
  184. package/dist/revolugo.hotelroomofferlist.CLiINofQ.min.js +0 -28
  185. package/dist/revolugo.hotelroomofferlist.CahCySw9.min.js +0 -1336
  186. package/dist/revolugo.hotelroomofferrequestcreator.CBVXmo6p.min.js +0 -225
  187. package/dist/revolugo.hotelroomoffersbookingflow.D0JLkG3W.min.js +0 -679
  188. package/dist/revolugo.hotelroomoffersearchmenu.ClB2fFNQ.min.js +0 -38
  189. package/dist/revolugo.hotelroomoffersearchmenu.hkcy1YzX.min.js +0 -29
  190. package/dist/revolugo.hotelroomoffersview.CF7YEgbC.min.js +0 -28
  191. package/dist/revolugo.hotelroomoffersview.WAYlooyc.min.js +0 -124
  192. package/dist/revolugo.i18n.CyGKqo0B.min.js +0 -10929
  193. package/dist/revolugo.index.2rRqbmTI.min.js +0 -43
  194. package/dist/revolugo.index.B-fKWuIg.min.js +0 -142
  195. package/dist/revolugo.index.BXlPRtGz.min.js +0 -42
  196. package/dist/revolugo.index.B_EzELYh.min.js +0 -161
  197. package/dist/revolugo.index.BpZHnXFS.min.js +0 -68
  198. package/dist/revolugo.index.CB0aeVeA.min.js +0 -9
  199. package/dist/revolugo.index.CsWvarCO.min.js +0 -9
  200. package/dist/revolugo.index.D4mTtHy0.min.js +0 -270
  201. package/dist/revolugo.index.DEJEDSDi.min.js +0 -281
  202. package/dist/revolugo.index.DVlgraIx.min.js +0 -13
  203. package/dist/revolugo.index.FGCgdl6A.min.js +0 -390
  204. package/dist/revolugo.index.Lg6xnuBU.min.js +0 -15
  205. package/dist/revolugo.index.Tg1ts5ba.min.js +0 -128
  206. package/dist/revolugo.index.roOsqEC8.min.js +0 -322
  207. package/dist/revolugo.langpicker.DxUfUdgi.min.js +0 -103
  208. package/dist/revolugo.langpickerbtn.BKUmtrmC.min.js +0 -28
  209. package/dist/revolugo.langpickerbtn.CTjVH93j.min.js +0 -111
  210. package/dist/revolugo.localizedformat.BmFJB2Ek.min.js +0 -47
  211. package/dist/revolugo.parsed-height.C9EDOdpc.min.js +0 -2341
  212. package/dist/revolugo.parsed-props.DLM9lIFH.min.js +0 -95
  213. package/dist/revolugo.prebookform.BOw8d85r.min.js +0 -28
  214. package/dist/revolugo.prebookform.C-UGopr1.min.js +0 -484
  215. package/dist/revolugo.revolugo-config.CV2-KqZg.min.js +0 -1707
  216. package/dist/revolugo.roominglisteditor.BraACVch.min.js +0 -201
  217. package/dist/revolugo.roominglisteditor.BylXWjko.min.js +0 -28
  218. package/dist/revolugo.sentry.BUFmhrag.min.js +0 -10989
  219. package/dist/revolugo.store.CrqNkSlz.min.js +0 -2497
  220. package/dist/revolugo.storybooktoolbar.B3GXxMU5.min.js +0 -300
  221. package/dist/revolugo.termsandconditions.gfMYAJC9.min.js +0 -162
  222. package/dist/revolugo.termsandconditions.iierLPPe.min.js +0 -27
  223. package/dist/revolugo.typed-mixins.D4p2Nb8x.min.js +0 -8
  224. package/dist/revolugo.valert.D2QkjVyq.min.js +0 -194
  225. package/dist/revolugo.vautocomplete.DesK4IqD.min.js +0 -255
  226. package/dist/revolugo.vbadge.D8uLY_qO.min.js +0 -172
  227. package/dist/revolugo.vbtn.BnwFj80Q.min.js +0 -286
  228. package/dist/revolugo.vcard.B9oLf8X7.min.js +0 -80
  229. package/dist/revolugo.vchip.gQCW4zyM.min.js +0 -157
  230. package/dist/revolugo.vdialog.BGaQYjRQ.min.js +0 -341
  231. package/dist/revolugo.vexpansionpanelheader.PUrYDsqZ.min.js +0 -263
  232. package/dist/revolugo.vform.B2Cw_jFG.min.js +0 -98
  233. package/dist/revolugo.vinput.BH9yXmhW.min.js +0 -509
  234. package/dist/revolugo.vitemgroup.ZH_RbJd4.min.js +0 -168
  235. package/dist/revolugo.vlistitem.rGqVrGQv.min.js +0 -204
  236. package/dist/revolugo.vmenu.DVIyMqmT.min.js +0 -349
  237. package/dist/revolugo.vselect.DGAcOur7.min.js +0 -859
  238. package/dist/revolugo.vsheet.g-wezcj4.min.js +0 -120
  239. package/dist/revolugo.vskeletonloader.By4xa0Dw.min.js +0 -172
  240. package/dist/revolugo.vslidegroup.FBTC8IQv.min.js +0 -650
  241. package/dist/revolugo.vsnackbar.B-3BiuN_.min.js +0 -178
  242. package/dist/revolugo.vtextfield.Bz_46CYU.min.js +0 -438
  243. package/dist/revolugo.vtoolbar.C8u8AAF6.min.js +0 -364
  244. package/dist/revolugo.vtooltip.D-CwTnZW.min.js +0 -168
  245. package/dist/revolugo.vuetify.wVP8V0K5.min.js +0 -865
  246. package/dist/revolugo.watch-list.B0bwqcfr.min.js +0 -44
  247. package/dist/revolugo.webcomponentwrapper.C4B-n-nK.min.js +0 -777
@@ -1,270 +0,0 @@
1
- import { A as f, b as r, S as c } from "./revolugo.index.roOsqEC8.min.js";
2
- import { f as l } from "./revolugo.index.2rRqbmTI.min.js";
3
- import { m as d } from "./revolugo.webcomponentwrapper.C4B-n-nK.min.js";
4
- import { h } from "./revolugo.revolugo-config.CV2-KqZg.min.js";
5
- const u = d(c, l(["top", "right", "bottom", "left", "absolute"]), f, r), w = u.extend().extend({
6
- name: "menuable",
7
- props: {
8
- allowOverflow: Boolean,
9
- light: Boolean,
10
- dark: Boolean,
11
- maxWidth: {
12
- type: [Number, String],
13
- default: "auto"
14
- },
15
- minWidth: [Number, String],
16
- nudgeBottom: {
17
- type: [Number, String],
18
- default: 0
19
- },
20
- nudgeLeft: {
21
- type: [Number, String],
22
- default: 0
23
- },
24
- nudgeRight: {
25
- type: [Number, String],
26
- default: 0
27
- },
28
- nudgeTop: {
29
- type: [Number, String],
30
- default: 0
31
- },
32
- nudgeWidth: {
33
- type: [Number, String],
34
- default: 0
35
- },
36
- offsetOverflow: Boolean,
37
- positionX: {
38
- type: Number,
39
- default: null
40
- },
41
- positionY: {
42
- type: Number,
43
- default: null
44
- },
45
- zIndex: {
46
- type: [Number, String],
47
- default: null
48
- }
49
- },
50
- data: () => ({
51
- activatorNode: [],
52
- absoluteX: 0,
53
- absoluteY: 0,
54
- activatedBy: null,
55
- activatorFixed: !1,
56
- dimensions: {
57
- activator: {
58
- top: 0,
59
- left: 0,
60
- bottom: 0,
61
- right: 0,
62
- width: 0,
63
- height: 0,
64
- offsetTop: 0,
65
- scrollHeight: 0,
66
- offsetLeft: 0
67
- },
68
- content: {
69
- top: 0,
70
- left: 0,
71
- bottom: 0,
72
- right: 0,
73
- width: 0,
74
- height: 0,
75
- offsetTop: 0,
76
- scrollHeight: 0
77
- }
78
- },
79
- relativeYOffset: 0,
80
- hasJustFocused: !1,
81
- hasWindow: !1,
82
- inputActivator: !1,
83
- isContentActive: !1,
84
- pageWidth: 0,
85
- pageYOffset: 0,
86
- stackClass: "v-menu__content--active",
87
- stackMinZIndex: 6
88
- }),
89
- computed: {
90
- computedLeft() {
91
- const t = this.dimensions.activator, e = this.dimensions.content, i = (this.attach !== !1 ? t.offsetLeft : t.left) || 0, o = Math.max(t.width, e.width);
92
- let s = 0;
93
- if (s += i, (this.left || this.$vuetify.rtl && !this.right) && (s -= o - t.width), this.offsetX) {
94
- const n = isNaN(Number(this.maxWidth)) ? t.width : Math.min(t.width, Number(this.maxWidth));
95
- s += this.left ? -n : t.width;
96
- }
97
- return this.nudgeLeft && (s -= parseInt(this.nudgeLeft)), this.nudgeRight && (s += parseInt(this.nudgeRight)), s;
98
- },
99
- computedTop() {
100
- const t = this.dimensions.activator, e = this.dimensions.content;
101
- let i = 0;
102
- return this.top && (i += t.height - e.height), this.attach !== !1 ? i += t.offsetTop : i += t.top + this.pageYOffset, this.offsetY && (i += this.top ? -t.height : t.height), this.nudgeTop && (i -= parseInt(this.nudgeTop)), this.nudgeBottom && (i += parseInt(this.nudgeBottom)), i;
103
- },
104
- hasActivator() {
105
- return !!this.$slots.activator || !!this.$scopedSlots.activator || !!this.activator || !!this.inputActivator;
106
- },
107
- absoluteYOffset() {
108
- return this.pageYOffset - this.relativeYOffset;
109
- }
110
- },
111
- watch: {
112
- disabled(t) {
113
- t && this.callDeactivate();
114
- },
115
- isActive(t) {
116
- this.disabled || (t ? this.callActivate() : this.callDeactivate());
117
- },
118
- positionX: "updateDimensions",
119
- positionY: "updateDimensions"
120
- },
121
- beforeMount() {
122
- this.hasWindow = typeof window < "u", this.hasWindow && window.addEventListener("resize", this.updateDimensions, !1);
123
- },
124
- beforeDestroy() {
125
- this.hasWindow && window.removeEventListener("resize", this.updateDimensions, !1);
126
- },
127
- methods: {
128
- absolutePosition() {
129
- return {
130
- offsetTop: this.positionY || this.absoluteY,
131
- offsetLeft: this.positionX || this.absoluteX,
132
- scrollHeight: 0,
133
- top: this.positionY || this.absoluteY,
134
- bottom: this.positionY || this.absoluteY,
135
- left: this.positionX || this.absoluteX,
136
- right: this.positionX || this.absoluteX,
137
- height: 0,
138
- width: 0
139
- };
140
- },
141
- activate() {
142
- },
143
- calcLeft(t) {
144
- return h(this.attach !== !1 ? this.computedLeft : this.calcXOverflow(this.computedLeft, t));
145
- },
146
- calcTop() {
147
- return h(this.attach !== !1 ? this.computedTop : this.calcYOverflow(this.computedTop));
148
- },
149
- calcXOverflow(t, e) {
150
- const i = t + e - this.pageWidth + 12;
151
- return (!this.left || this.right) && i > 0 ? t = Math.max(t - i, 0) : t = Math.max(t, 12), t + this.getOffsetLeft();
152
- },
153
- calcYOverflow(t) {
154
- const e = this.getInnerHeight(), i = this.absoluteYOffset + e, o = this.dimensions.activator, s = this.dimensions.content.height, n = t + s, a = i < n;
155
- return a && this.offsetOverflow && // If we don't have enough room to offset
156
- // the overflow, don't offset
157
- o.top > s ? t = this.pageYOffset + (o.top - s) : a && !this.allowOverflow ? t = i - s - 12 : t < this.absoluteYOffset && !this.allowOverflow && (t = this.absoluteYOffset + 12), t < 12 ? 12 : t;
158
- },
159
- callActivate() {
160
- this.hasWindow && this.activate();
161
- },
162
- callDeactivate() {
163
- this.isContentActive = !1, this.deactivate();
164
- },
165
- checkForPageYOffset() {
166
- this.hasWindow && (this.pageYOffset = this.activatorFixed ? 0 : this.getOffsetTop());
167
- },
168
- checkActivatorFixed() {
169
- if (this.attach !== !1) {
170
- this.activatorFixed = !1;
171
- return;
172
- }
173
- let t = this.getActivator();
174
- for (; t; ) {
175
- if (window.getComputedStyle(t).position === "fixed") {
176
- this.activatorFixed = !0;
177
- return;
178
- }
179
- t = t.offsetParent;
180
- }
181
- this.activatorFixed = !1;
182
- },
183
- deactivate() {
184
- },
185
- genActivatorListeners() {
186
- const t = f.options.methods.genActivatorListeners.call(this), e = t.click;
187
- return e && (t.click = (i) => {
188
- this.openOnClick && e && e(i), this.absoluteX = i.clientX, this.absoluteY = i.clientY;
189
- }), t;
190
- },
191
- getInnerHeight() {
192
- return this.hasWindow ? window.innerHeight || document.documentElement.clientHeight : 0;
193
- },
194
- getOffsetLeft() {
195
- return this.hasWindow ? window.pageXOffset || document.documentElement.scrollLeft : 0;
196
- },
197
- getOffsetTop() {
198
- return this.hasWindow ? window.pageYOffset || document.documentElement.scrollTop : 0;
199
- },
200
- getRoundedBoundedClientRect(t) {
201
- const e = t.getBoundingClientRect();
202
- return {
203
- top: Math.round(e.top),
204
- left: Math.round(e.left),
205
- bottom: Math.round(e.bottom),
206
- right: Math.round(e.right),
207
- width: Math.round(e.width),
208
- height: Math.round(e.height)
209
- };
210
- },
211
- measure(t) {
212
- if (!t || !this.hasWindow)
213
- return null;
214
- const e = this.getRoundedBoundedClientRect(t);
215
- if (this.attach !== !1) {
216
- const i = window.getComputedStyle(t);
217
- e.left = parseInt(i.marginLeft), e.top = parseInt(i.marginTop);
218
- }
219
- return e;
220
- },
221
- sneakPeek(t) {
222
- requestAnimationFrame(() => {
223
- const e = this.$refs.content;
224
- if (!e || e.style.display !== "none") {
225
- t();
226
- return;
227
- }
228
- e.style.display = "inline-block", t(), e.style.display = "none";
229
- });
230
- },
231
- startTransition() {
232
- return new Promise((t) => requestAnimationFrame(() => {
233
- this.isContentActive = this.hasJustFocused = this.isActive, t();
234
- }));
235
- },
236
- updateDimensions() {
237
- this.hasWindow = typeof window < "u", this.checkActivatorFixed(), this.checkForPageYOffset(), this.pageWidth = document.documentElement.clientWidth;
238
- const t = {
239
- activator: {
240
- ...this.dimensions.activator
241
- },
242
- content: {
243
- ...this.dimensions.content
244
- }
245
- };
246
- if (!this.hasActivator || this.absolute)
247
- t.activator = this.absolutePosition();
248
- else {
249
- const e = this.getActivator();
250
- if (!e)
251
- return;
252
- t.activator = this.measure(e), t.activator.offsetLeft = e.offsetLeft, this.attach !== !1 ? t.activator.offsetTop = e.offsetTop : t.activator.offsetTop = 0;
253
- }
254
- this.sneakPeek(() => {
255
- if (this.$refs.content) {
256
- if (this.$refs.content.offsetParent) {
257
- const e = this.getRoundedBoundedClientRect(this.$refs.content.offsetParent);
258
- this.relativeYOffset = window.pageYOffset + e.top, t.activator.top -= this.relativeYOffset, t.activator.left -= window.pageXOffset + e.left;
259
- }
260
- t.content = this.measure(this.$refs.content);
261
- }
262
- this.dimensions = t;
263
- });
264
- }
265
- }
266
- });
267
- export {
268
- w as M
269
- };
270
- //# sourceMappingURL=revolugo.index.D4mTtHy0.min.js.map
@@ -1,281 +0,0 @@
1
- import { V as n } from "./revolugo.i18n.CyGKqo0B.min.js";
2
- import { b as o, c as l } from "./revolugo.index.B-fKWuIg.min.js";
3
- import { I as h } from "./revolugo.vuetify.wVP8V0K5.min.js";
4
- import { m as c, T as u, C as d } from "./revolugo.webcomponentwrapper.C4B-n-nK.min.js";
5
- import { f as m } from "./revolugo.index.2rRqbmTI.min.js";
6
- import { h as i, j as g } from "./revolugo.revolugo-config.CV2-KqZg.min.js";
7
- function a(e) {
8
- try {
9
- if (typeof document < "u") {
10
- window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
11
- sheets: [],
12
- components: []
13
- };
14
- const t = import.meta.url, r = t.slice(0, t.lastIndexOf("/") + 1) + e;
15
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(r);
16
- for (const s of REVOLUGO_ELEMENTS_STYLES.components)
17
- s(r);
18
- if (e.indexOf("fonts") >= 0) {
19
- const s = document.createElement("link");
20
- s.rel = "stylesheet", linK.href = r, document.head.appendChild(s);
21
- }
22
- }
23
- } catch (t) {
24
- console.error("[revolugo-elements] ", t);
25
- }
26
- }
27
- function f(e = "value", t = "change") {
28
- return n.extend({
29
- name: "proxyable",
30
- model: {
31
- prop: e,
32
- event: t
33
- },
34
- props: {
35
- [e]: {
36
- required: !1
37
- }
38
- },
39
- data() {
40
- return {
41
- internalLazyValue: this[e]
42
- };
43
- },
44
- computed: {
45
- internalValue: {
46
- get() {
47
- return this.internalLazyValue;
48
- },
49
- set(r) {
50
- r !== this.internalLazyValue && (this.internalLazyValue = r, this.$emit(t, r));
51
- }
52
- }
53
- },
54
- watch: {
55
- [e](r) {
56
- this.internalLazyValue = r;
57
- }
58
- }
59
- });
60
- }
61
- const p = f(), _ = p, v = c(d, m(["absolute", "fixed", "top", "bottom"]), _, u), y = v.extend({
62
- name: "v-progress-linear",
63
- directives: {
64
- intersect: h
65
- },
66
- props: {
67
- active: {
68
- type: Boolean,
69
- default: !0
70
- },
71
- backgroundColor: {
72
- type: String,
73
- default: null
74
- },
75
- backgroundOpacity: {
76
- type: [Number, String],
77
- default: null
78
- },
79
- bufferValue: {
80
- type: [Number, String],
81
- default: 100
82
- },
83
- color: {
84
- type: String,
85
- default: "primary"
86
- },
87
- height: {
88
- type: [Number, String],
89
- default: 4
90
- },
91
- indeterminate: Boolean,
92
- query: Boolean,
93
- reverse: Boolean,
94
- rounded: Boolean,
95
- stream: Boolean,
96
- striped: Boolean,
97
- value: {
98
- type: [Number, String],
99
- default: 0
100
- }
101
- },
102
- data() {
103
- return {
104
- internalLazyValue: this.value || 0,
105
- isVisible: !0
106
- };
107
- },
108
- computed: {
109
- __cachedBackground() {
110
- return this.$createElement("div", this.setBackgroundColor(this.backgroundColor || this.color, {
111
- staticClass: "v-progress-linear__background",
112
- style: this.backgroundStyle
113
- }));
114
- },
115
- __cachedBar() {
116
- return this.$createElement(this.computedTransition, [this.__cachedBarType]);
117
- },
118
- __cachedBarType() {
119
- return this.indeterminate ? this.__cachedIndeterminate : this.__cachedDeterminate;
120
- },
121
- __cachedBuffer() {
122
- return this.$createElement("div", {
123
- staticClass: "v-progress-linear__buffer",
124
- style: this.styles
125
- });
126
- },
127
- __cachedDeterminate() {
128
- return this.$createElement("div", this.setBackgroundColor(this.color, {
129
- staticClass: "v-progress-linear__determinate",
130
- style: {
131
- width: i(this.normalizedValue, "%")
132
- }
133
- }));
134
- },
135
- __cachedIndeterminate() {
136
- return this.$createElement("div", {
137
- staticClass: "v-progress-linear__indeterminate",
138
- class: {
139
- "v-progress-linear__indeterminate--active": this.active
140
- }
141
- }, [this.genProgressBar("long"), this.genProgressBar("short")]);
142
- },
143
- __cachedStream() {
144
- return this.stream ? this.$createElement("div", this.setTextColor(this.color, {
145
- staticClass: "v-progress-linear__stream",
146
- style: {
147
- width: i(100 - this.normalizedBuffer, "%")
148
- }
149
- })) : null;
150
- },
151
- backgroundStyle() {
152
- return {
153
- opacity: this.backgroundOpacity == null ? this.backgroundColor ? 1 : 0.3 : parseFloat(this.backgroundOpacity),
154
- [this.isReversed ? "right" : "left"]: i(this.normalizedValue, "%"),
155
- width: i(Math.max(0, this.normalizedBuffer - this.normalizedValue), "%")
156
- };
157
- },
158
- classes() {
159
- return {
160
- "v-progress-linear--absolute": this.absolute,
161
- "v-progress-linear--fixed": this.fixed,
162
- "v-progress-linear--query": this.query,
163
- "v-progress-linear--reactive": this.reactive,
164
- "v-progress-linear--reverse": this.isReversed,
165
- "v-progress-linear--rounded": this.rounded,
166
- "v-progress-linear--striped": this.striped,
167
- "v-progress-linear--visible": this.isVisible,
168
- ...this.themeClasses
169
- };
170
- },
171
- computedTransition() {
172
- return this.indeterminate ? o : l;
173
- },
174
- isReversed() {
175
- return this.$vuetify.rtl !== this.reverse;
176
- },
177
- normalizedBuffer() {
178
- return this.normalize(this.bufferValue);
179
- },
180
- normalizedValue() {
181
- return this.normalize(this.internalLazyValue);
182
- },
183
- reactive() {
184
- return !!this.$listeners.change;
185
- },
186
- styles() {
187
- const e = {};
188
- return this.active || (e.height = 0), !this.indeterminate && parseFloat(this.normalizedBuffer) !== 100 && (e.width = i(this.normalizedBuffer, "%")), e;
189
- }
190
- },
191
- methods: {
192
- genContent() {
193
- const e = g(this, "default", {
194
- value: this.internalLazyValue
195
- });
196
- return e ? this.$createElement("div", {
197
- staticClass: "v-progress-linear__content"
198
- }, e) : null;
199
- },
200
- genListeners() {
201
- const e = this.$listeners;
202
- return this.reactive && (e.click = this.onClick), e;
203
- },
204
- genProgressBar(e) {
205
- return this.$createElement("div", this.setBackgroundColor(this.color, {
206
- staticClass: "v-progress-linear__indeterminate",
207
- class: {
208
- [e]: !0
209
- }
210
- }));
211
- },
212
- onClick(e) {
213
- if (!this.reactive)
214
- return;
215
- const {
216
- width: t
217
- } = this.$el.getBoundingClientRect();
218
- this.internalValue = e.offsetX / t * 100;
219
- },
220
- onObserve(e, t, r) {
221
- this.isVisible = r;
222
- },
223
- normalize(e) {
224
- return e < 0 ? 0 : e > 100 ? 100 : parseFloat(e);
225
- }
226
- },
227
- render(e) {
228
- const t = {
229
- staticClass: "v-progress-linear",
230
- attrs: {
231
- role: "progressbar",
232
- "aria-valuemin": 0,
233
- "aria-valuemax": this.normalizedBuffer,
234
- "aria-valuenow": this.indeterminate ? void 0 : this.normalizedValue
235
- },
236
- class: this.classes,
237
- directives: [{
238
- name: "intersect",
239
- value: this.onObserve
240
- }],
241
- style: {
242
- bottom: this.bottom ? 0 : void 0,
243
- height: this.active ? i(this.height) : 0,
244
- top: this.top ? 0 : void 0
245
- },
246
- on: this.genListeners()
247
- };
248
- return e("div", t, [this.__cachedStream, this.__cachedBackground, this.__cachedBuffer, this.__cachedBar, this.genContent()]);
249
- }
250
- }), L = n.extend().extend({
251
- name: "loadable",
252
- props: {
253
- loading: {
254
- type: [Boolean, String],
255
- default: !1
256
- },
257
- loaderHeight: {
258
- type: [Number, String],
259
- default: 2
260
- }
261
- },
262
- methods: {
263
- genProgress() {
264
- return this.loading === !1 ? null : this.$slots.progress || this.$createElement(y, {
265
- props: {
266
- absolute: !0,
267
- color: this.loading === !0 || this.loading === "" ? this.color || "primary" : this.loading,
268
- height: this.loaderHeight,
269
- indeterminate: !0
270
- }
271
- });
272
- }
273
- }
274
- });
275
- a("css/revolugo.index.DXv5c7NS.css");
276
- export {
277
- L,
278
- _ as P,
279
- y as _
280
- };
281
- //# sourceMappingURL=revolugo.index.DEJEDSDi.min.js.map
@@ -1,13 +0,0 @@
1
- import { V as n } from "./revolugo.i18n.CyGKqo0B.min.js";
2
- const t = n.extend({
3
- name: "transitionable",
4
- props: {
5
- mode: String,
6
- origin: String,
7
- transition: String
8
- }
9
- });
10
- export {
11
- t as T
12
- };
13
- //# sourceMappingURL=revolugo.index.DVlgraIx.min.js.map