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

Sign up to get free protection for your applications and to get access to all the features.
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 +32 -25
  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.CEd50mBT.css +0 -1
  99. package/dist/css/revolugo.hoteldescriptionview.9ofE1uWG.css +0 -1
  100. package/dist/css/revolugo.hoteloffersmap.0LnWfOu_.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.vq4xksqn.css +0 -1
  108. package/dist/css/revolugo.langpicker.B3TsOwUq.css +0 -1
  109. package/dist/css/revolugo.parsed-height.Xzhpy3D3.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 -14187
  138. package/dist/index.es.min.js.map +0 -1
  139. package/dist/index.min.js.map +0 -1
  140. package/dist/revolugo.banktransferdetails.CbUr_kHV.min.js +0 -105
  141. package/dist/revolugo.bbreakfastoptionbadge.DND6bz7J.min.js +0 -62
  142. package/dist/revolugo.bdaterangepicker.DwXWu7y_.min.js +0 -1351
  143. package/dist/revolugo.bformattedamount.D4xCyTcv.min.js +0 -82
  144. package/dist/revolugo.bhotelroomsdetails.8yoNt-KM.min.js +0 -213
  145. package/dist/revolugo.bhotelsearchbar.Dm84Zzn5.min.js +0 -446
  146. package/dist/revolugo.booking-api-client.Du5goV4n.min.js +0 -7672
  147. package/dist/revolugo.bookingdetailssidebar.AR2t6BHt.min.js +0 -28
  148. package/dist/revolugo.bookingdetailssidebar.DY-YF6-6.min.js +0 -242
  149. package/dist/revolugo.bookingmanager.KlY3kOLa.min.js +0 -404
  150. package/dist/revolugo.bphoneinput.Qc_UlGIL.min.js +0 -1935
  151. package/dist/revolugo.bpricesummaryskeleton.BAzD7raP.min.js +0 -47
  152. package/dist/revolugo.breakpoint-service.CwWRBzMQ.min.js +0 -65
  153. package/dist/revolugo.bstarrating.B-PUaeDZ.min.js +0 -173
  154. package/dist/revolugo.btag.DD6eI8G4.min.js +0 -68
  155. package/dist/revolugo.cancellationpoliciesbadge.BTwUNf7h.min.js +0 -76
  156. package/dist/revolugo.cancellationpoliciesbadge.DA_X-aEr.min.js +0 -28
  157. package/dist/revolugo.cancellationpolicieslist.BweNL3Zh.min.js +0 -316
  158. package/dist/revolugo.cancellationpolicieslist.XF-OE6mm.min.js +0 -28
  159. package/dist/revolugo.common.D4pnatuu.min.js +0 -34
  160. package/dist/revolugo.creditcardform.B0ZACL31.min.js +0 -28
  161. package/dist/revolugo.creditcardform.Bmpk72uW.min.js +0 -2047
  162. package/dist/revolugo.creditcardpayment.DDAlWRp0.min.js +0 -28
  163. package/dist/revolugo.creditcardpayment.Dnr2WHEp.min.js +0 -288
  164. package/dist/revolugo.currencypicker.BxCxn4FE.min.js +0 -122
  165. package/dist/revolugo.currencypickerbtn.D8fIyw_x.min.js +0 -121
  166. package/dist/revolugo.currencypickerbtn.DoEdhphF.min.js +0 -28
  167. package/dist/revolugo.dialog-attach.05NirMLv.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.BROGdW-q.min.js +0 -239
  172. package/dist/revolugo.hotel-offer.JfkzuZyf.min.js +0 -608
  173. package/dist/revolugo.hoteldescriptionview.C9XjZcdv.min.js +0 -2174
  174. package/dist/revolugo.hoteldescriptionview.wVex0D_a.min.js +0 -28
  175. package/dist/revolugo.hotelofferitemlayout.BrulX_X4.min.js +0 -64
  176. package/dist/revolugo.hotelofferlist.CcITpxz4.min.js +0 -28
  177. package/dist/revolugo.hotelofferlist.DJ8B6BpP.min.js +0 -3450
  178. package/dist/revolugo.hotelofferrequestcreator.CiNpCqiH.min.js +0 -225
  179. package/dist/revolugo.hoteloffersearchmenu.CnVV4htq.min.js +0 -54
  180. package/dist/revolugo.hoteloffersmap.C1N5EZ0d.min.js +0 -28
  181. package/dist/revolugo.hoteloffersmap.gHrmWy8H.min.js +0 -8737
  182. package/dist/revolugo.hoteloffersview.BCvASsRk.min.js +0 -157
  183. package/dist/revolugo.hoteloffersview.DfbOUEie.min.js +0 -28
  184. package/dist/revolugo.hotelroomofferlist.BS32D6Sj.min.js +0 -28
  185. package/dist/revolugo.hotelroomofferlist.BltT6U-0.min.js +0 -1336
  186. package/dist/revolugo.hotelroomofferrequestcreator.CbISsNdn.min.js +0 -225
  187. package/dist/revolugo.hotelroomoffersbookingflow.D5iNQyH9.min.js +0 -679
  188. package/dist/revolugo.hotelroomoffersearchmenu.Bsg_FnJp.min.js +0 -29
  189. package/dist/revolugo.hotelroomoffersearchmenu.DqVQ1oKf.min.js +0 -38
  190. package/dist/revolugo.hotelroomoffersview.4NC1efEJ.min.js +0 -124
  191. package/dist/revolugo.hotelroomoffersview.DfmNWUJQ.min.js +0 -28
  192. package/dist/revolugo.i18n.DF3U6VhD.min.js +0 -11263
  193. package/dist/revolugo.index.A8BtC3Nq.min.js +0 -322
  194. package/dist/revolugo.index.BEcLuOn-.min.js +0 -281
  195. package/dist/revolugo.index.BUUmIL9V.min.js +0 -68
  196. package/dist/revolugo.index.BwvidmNu.min.js +0 -128
  197. package/dist/revolugo.index.CQC_pZJn.min.js +0 -15
  198. package/dist/revolugo.index.CcRooNT6.min.js +0 -270
  199. package/dist/revolugo.index.Cn5YTzy6.min.js +0 -43
  200. package/dist/revolugo.index.Cn8GgIte.min.js +0 -142
  201. package/dist/revolugo.index.DTZNxZHf.min.js +0 -9
  202. package/dist/revolugo.index.DfBSjbYu.min.js +0 -42
  203. package/dist/revolugo.index.GdvjICDR.min.js +0 -13
  204. package/dist/revolugo.index.owaXEEBO.min.js +0 -9
  205. package/dist/revolugo.index.sTY3URQu.min.js +0 -390
  206. package/dist/revolugo.index.tY8MFB9m.min.js +0 -161
  207. package/dist/revolugo.langpicker.yr7wtnZM.min.js +0 -103
  208. package/dist/revolugo.langpickerbtn.4XN3tTRs.min.js +0 -28
  209. package/dist/revolugo.langpickerbtn.BHhYWwCD.min.js +0 -111
  210. package/dist/revolugo.localizedformat.Wox_NThB.min.js +0 -47
  211. package/dist/revolugo.parsed-height.DRzHRmIo.min.js +0 -2492
  212. package/dist/revolugo.parsed-props.B_x1Ob04.min.js +0 -95
  213. package/dist/revolugo.prebookform.BeSJk0ad.min.js +0 -28
  214. package/dist/revolugo.prebookform.DZMMJst9.min.js +0 -484
  215. package/dist/revolugo.revolugo-config.Bs_HF2Eu.min.js +0 -1707
  216. package/dist/revolugo.roominglisteditor.BpdFoplV.min.js +0 -201
  217. package/dist/revolugo.roominglisteditor.DxmH3gRW.min.js +0 -28
  218. package/dist/revolugo.sentry.Bc7mnscp.min.js +0 -12146
  219. package/dist/revolugo.store.DPvvq0Rz.min.js +0 -1718
  220. package/dist/revolugo.storybooktoolbar.C_y4Nf-_.min.js +0 -300
  221. package/dist/revolugo.termsandconditions.BIHsJaCg.min.js +0 -27
  222. package/dist/revolugo.termsandconditions.D2C1eZuC.min.js +0 -162
  223. package/dist/revolugo.typed-mixins.B_7wrdes.min.js +0 -8
  224. package/dist/revolugo.valert.CMzvSBzo.min.js +0 -194
  225. package/dist/revolugo.vautocomplete.C-5OLCEj.min.js +0 -255
  226. package/dist/revolugo.vbadge.xQq9jf9W.min.js +0 -172
  227. package/dist/revolugo.vbtn.CP4AezmI.min.js +0 -286
  228. package/dist/revolugo.vcard.Cy5A2_pV.min.js +0 -80
  229. package/dist/revolugo.vchip.BcIMSmkF.min.js +0 -157
  230. package/dist/revolugo.vdialog.BAexO59W.min.js +0 -341
  231. package/dist/revolugo.vexpansionpanelheader.D9ENep1_.min.js +0 -263
  232. package/dist/revolugo.vform.oeljK9Tu.min.js +0 -98
  233. package/dist/revolugo.vinput.CDpcVlCU.min.js +0 -509
  234. package/dist/revolugo.vitemgroup.DyY_3pfW.min.js +0 -168
  235. package/dist/revolugo.vlistitem.CrJxrMpP.min.js +0 -204
  236. package/dist/revolugo.vmenu.CtMz9t6s.min.js +0 -349
  237. package/dist/revolugo.vselect.UcLk_jBF.min.js +0 -859
  238. package/dist/revolugo.vsheet.C1tyLBBd.min.js +0 -120
  239. package/dist/revolugo.vskeletonloader.CMMMMGzf.min.js +0 -172
  240. package/dist/revolugo.vslidegroup.BXF0FLd1.min.js +0 -650
  241. package/dist/revolugo.vsnackbar.xIK_rBpB.min.js +0 -178
  242. package/dist/revolugo.vtextfield.D2qOTbGQ.min.js +0 -438
  243. package/dist/revolugo.vtoolbar.D3HhuFrj.min.js +0 -364
  244. package/dist/revolugo.vtooltip.B7xN8tzo.min.js +0 -168
  245. package/dist/revolugo.vuetify.yojzDMFk.min.js +0 -865
  246. package/dist/revolugo.watch-list.cR2ZEwBA.min.js +0 -44
  247. package/dist/revolugo.webcomponentwrapper.-wnE6sKX.min.js +0 -777
@@ -1,341 +0,0 @@
1
- import { V as u, R as v } from "./revolugo.index.DfBSjbYu.min.js";
2
- import { A as f, S as m, b as y, D as p } from "./revolugo.index.A8BtC3Nq.min.js";
3
- import { d as g, m as w } from "./revolugo.webcomponentwrapper.-wnE6sKX.min.js";
4
- import { w as E, y as b, k as o, z as S, A as O, m as C, h as a } from "./revolugo.revolugo-config.Bs_HF2Eu.min.js";
5
- import { V as k } from "./revolugo.i18n.DF3U6VhD.min.js";
6
- import { C as x } from "./revolugo.vuetify.yojzDMFk.min.js";
7
- function h(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, i = t.slice(0, t.lastIndexOf("/") + 1) + e;
15
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(i);
16
- for (const s of REVOLUGO_ELEMENTS_STYLES.components)
17
- s(i);
18
- if (e.indexOf("fonts") >= 0) {
19
- const s = document.createElement("link");
20
- s.rel = "stylesheet", linK.href = i, document.head.appendChild(s);
21
- }
22
- }
23
- } catch (t) {
24
- console.error("[revolugo-elements] ", t);
25
- }
26
- }
27
- const l = k.extend().extend({
28
- name: "overlayable",
29
- props: {
30
- hideOverlay: Boolean,
31
- overlayColor: String,
32
- overlayOpacity: [Number, String]
33
- },
34
- data() {
35
- return {
36
- animationFrame: 0,
37
- overlay: null
38
- };
39
- },
40
- watch: {
41
- hideOverlay(e) {
42
- this.isActive && (e ? this.removeOverlay() : this.genOverlay());
43
- }
44
- },
45
- beforeDestroy() {
46
- this.removeOverlay();
47
- },
48
- methods: {
49
- createOverlay() {
50
- const e = new g({
51
- propsData: {
52
- absolute: this.absolute,
53
- value: !1,
54
- color: this.overlayColor,
55
- opacity: this.overlayOpacity
56
- }
57
- });
58
- e.$mount();
59
- const t = this.absolute ? this.$el.parentNode : this.attach || document.body.firstChild;
60
- t && t.insertBefore(e.$el, t.firstChild), this.overlay = e;
61
- },
62
- genOverlay() {
63
- if (this.hideScroll(), !this.hideOverlay)
64
- return this.overlay || this.createOverlay(), this.animationFrame = requestAnimationFrame(() => {
65
- this.overlay && (this.activeZIndex !== void 0 ? this.overlay.zIndex = String(this.activeZIndex - 1) : this.$el && (this.overlay.zIndex = E(this.$el)), this.overlay.value = !0);
66
- }), !0;
67
- },
68
- /** removeOverlay(false) will not restore the scollbar afterwards */
69
- removeOverlay(e = !0) {
70
- this.overlay && (b(this.overlay.$el, "transitionend", () => {
71
- !this.overlay || !this.overlay.$el || !this.overlay.$el.parentNode || this.overlay.value || this.isActive || (this.overlay.$el.parentNode.removeChild(this.overlay.$el), this.overlay.$destroy(), this.overlay = null);
72
- }), cancelAnimationFrame(this.animationFrame), this.overlay.value = !1), e && this.showScroll();
73
- },
74
- scrollListener(e) {
75
- if ("key" in e) {
76
- if (["INPUT", "TEXTAREA", "SELECT"].includes(e.target.tagName) || // https://github.com/vuetifyjs/vuetify/issues/4715
77
- e.target.isContentEditable)
78
- return;
79
- const t = [o.up, o.pageup], i = [o.down, o.pagedown];
80
- if (t.includes(e.keyCode))
81
- e.deltaY = -1;
82
- else if (i.includes(e.keyCode))
83
- e.deltaY = 1;
84
- else
85
- return;
86
- }
87
- (e.target === this.overlay || e.type !== "keydown" && e.target === document.body || this.checkPath(e)) && e.preventDefault();
88
- },
89
- hasScrollbar(e) {
90
- if (!e || e.nodeType !== Node.ELEMENT_NODE)
91
- return !1;
92
- const t = window.getComputedStyle(e);
93
- return (["auto", "scroll"].includes(t.overflowY) || e.tagName === "SELECT") && e.scrollHeight > e.clientHeight || ["auto", "scroll"].includes(t.overflowX) && e.scrollWidth > e.clientWidth;
94
- },
95
- shouldScroll(e, t) {
96
- if (typeof e.hasAttribute == "function" && e.hasAttribute("data-app"))
97
- return !1;
98
- const i = t.shiftKey || t.deltaX ? "x" : "y", s = i === "y" ? t.deltaY : t.deltaX || t.deltaY;
99
- let n, r;
100
- i === "y" ? (n = e.scrollTop === 0, r = e.scrollTop + e.clientHeight === e.scrollHeight) : (n = e.scrollLeft === 0, r = e.scrollLeft + e.clientWidth === e.scrollWidth);
101
- const d = s < 0, c = s > 0;
102
- return !n && d || !r && c ? !0 : (n || r) && e.parentNode ? this.shouldScroll(e.parentNode, t) : !1;
103
- },
104
- isInside(e, t) {
105
- return e === t ? !0 : e === null || e === document.body ? !1 : this.isInside(e.parentNode, t);
106
- },
107
- checkPath(e) {
108
- const t = S(e);
109
- if (e.type === "keydown" && t[0] === document.body) {
110
- const i = this.$refs.dialog, s = window.getSelection().anchorNode;
111
- return i && this.hasScrollbar(i) && this.isInside(s, i) ? !this.shouldScroll(i, e) : !0;
112
- }
113
- for (let i = 0; i < t.length; i++) {
114
- const s = t[i];
115
- if (s === document || s === document.documentElement || s === this.$refs.content)
116
- return !0;
117
- if (this.hasScrollbar(s))
118
- return !this.shouldScroll(s, e);
119
- }
120
- return !0;
121
- },
122
- hideScroll() {
123
- document.documentElement.style["overflow-y"] = "hidden", this.$vuetify.breakpoint.smAndDown ? document.documentElement.classList.add("overflow-y-hidden") : (O(window, "wheel", this.scrollListener, {
124
- passive: !1
125
- }), window.addEventListener("keydown", this.scrollListener));
126
- },
127
- showScroll() {
128
- document.documentElement.style["overflow-y"] = "", document.documentElement.classList.remove("overflow-y-hidden"), window.removeEventListener("wheel", this.scrollListener), window.removeEventListener("keydown", this.scrollListener);
129
- }
130
- }
131
- }), A = w(p, y, l, v, m, f), B = A.extend({
132
- name: "v-dialog",
133
- directives: {
134
- ClickOutside: x
135
- },
136
- props: {
137
- dark: Boolean,
138
- disabled: Boolean,
139
- fullscreen: Boolean,
140
- light: Boolean,
141
- maxWidth: [String, Number],
142
- noClickAnimation: Boolean,
143
- origin: {
144
- type: String,
145
- default: "center center"
146
- },
147
- persistent: Boolean,
148
- retainFocus: {
149
- type: Boolean,
150
- default: !0
151
- },
152
- scrollable: Boolean,
153
- transition: {
154
- type: [String, Boolean],
155
- default: "dialog-transition"
156
- },
157
- width: [String, Number]
158
- },
159
- data() {
160
- return {
161
- activatedBy: null,
162
- animate: !1,
163
- animateTimeout: -1,
164
- stackMinZIndex: 200,
165
- previousActiveElement: null
166
- };
167
- },
168
- computed: {
169
- classes() {
170
- return {
171
- [`v-dialog ${this.contentClass}`.trim()]: !0,
172
- "v-dialog--active": this.isActive,
173
- "v-dialog--persistent": this.persistent,
174
- "v-dialog--fullscreen": this.fullscreen,
175
- "v-dialog--scrollable": this.scrollable,
176
- "v-dialog--animated": this.animate
177
- };
178
- },
179
- contentClasses() {
180
- return {
181
- "v-dialog__content": !0,
182
- "v-dialog__content--active": this.isActive
183
- };
184
- },
185
- hasActivator() {
186
- return !!(this.$slots.activator || this.$scopedSlots.activator);
187
- }
188
- },
189
- watch: {
190
- isActive(e) {
191
- var t;
192
- e ? (this.show(), this.hideScroll()) : (this.removeOverlay(), this.unbind(), (t = this.previousActiveElement) === null || t === void 0 || t.focus());
193
- },
194
- fullscreen(e) {
195
- this.isActive && (e ? (this.hideScroll(), this.removeOverlay(!1)) : (this.showScroll(), this.genOverlay()));
196
- }
197
- },
198
- created() {
199
- this.$attrs.hasOwnProperty("full-width") && C("full-width", this);
200
- },
201
- beforeMount() {
202
- this.$nextTick(() => {
203
- this.isBooted = this.isActive, this.isActive && this.show();
204
- });
205
- },
206
- beforeDestroy() {
207
- typeof window < "u" && this.unbind();
208
- },
209
- methods: {
210
- animateClick() {
211
- this.animate = !1, this.$nextTick(() => {
212
- this.animate = !0, window.clearTimeout(this.animateTimeout), this.animateTimeout = window.setTimeout(() => this.animate = !1, 150);
213
- });
214
- },
215
- closeConditional(e) {
216
- const t = e.target;
217
- return !(this._isDestroyed || !this.isActive || this.$refs.content.contains(t) || this.overlay && t && !this.overlay.$el.contains(t)) && this.activeZIndex >= this.getMaxZIndex();
218
- },
219
- hideScroll() {
220
- this.fullscreen ? document.documentElement.classList.add("overflow-y-hidden") : l.options.methods.hideScroll.call(this);
221
- },
222
- show() {
223
- !this.fullscreen && !this.hideOverlay && this.genOverlay(), this.$nextTick(() => {
224
- this.$nextTick(() => {
225
- var e, t;
226
- !((e = this.$refs.dialog) === null || e === void 0) && e.contains(document.activeElement) || (this.previousActiveElement = document.activeElement, (t = this.$refs.dialog) === null || t === void 0 || t.focus()), this.bind();
227
- });
228
- });
229
- },
230
- bind() {
231
- window.addEventListener("focusin", this.onFocusin);
232
- },
233
- unbind() {
234
- window.removeEventListener("focusin", this.onFocusin);
235
- },
236
- onClickOutside(e) {
237
- this.$emit("click:outside", e), this.persistent ? this.noClickAnimation || this.animateClick() : this.isActive = !1;
238
- },
239
- onKeydown(e) {
240
- if (e.keyCode === o.esc && !this.getOpenDependents().length)
241
- if (this.persistent)
242
- this.noClickAnimation || this.animateClick();
243
- else {
244
- this.isActive = !1;
245
- const t = this.getActivator();
246
- this.$nextTick(() => t && t.focus());
247
- }
248
- this.$emit("keydown", e);
249
- },
250
- // On focus change, wrap focus to stay inside the dialog
251
- // https://github.com/vuetifyjs/vuetify/issues/6892
252
- onFocusin(e) {
253
- if (!e || !this.retainFocus)
254
- return;
255
- const t = e.target;
256
- if (t && this.$refs.dialog && // It isn't the document or the dialog body
257
- ![document, this.$refs.dialog].includes(t) && // It isn't inside the dialog body
258
- !this.$refs.dialog.contains(t) && // We're the topmost dialog
259
- this.activeZIndex >= this.getMaxZIndex() && // It isn't inside a dependent element (like a menu)
260
- !this.getOpenDependentElements().some((i) => i.contains(t))) {
261
- const s = [...this.$refs.dialog.querySelectorAll('button, [href], input:not([type="hidden"]), select, textarea, [tabindex]:not([tabindex="-1"])')].find((n) => !n.hasAttribute("disabled") && !n.matches('[tabindex="-1"]'));
262
- s && s.focus();
263
- }
264
- },
265
- genContent() {
266
- return this.showLazyContent(() => [this.$createElement(u, {
267
- props: {
268
- root: !0,
269
- light: this.light,
270
- dark: this.dark
271
- }
272
- }, [this.$createElement("div", {
273
- class: this.contentClasses,
274
- attrs: {
275
- role: "dialog",
276
- "aria-modal": this.hideOverlay ? void 0 : "true",
277
- ...this.getScopeIdAttrs()
278
- },
279
- on: {
280
- keydown: this.onKeydown
281
- },
282
- style: {
283
- zIndex: this.activeZIndex
284
- },
285
- ref: "content"
286
- }, [this.genTransition()])])]);
287
- },
288
- genTransition() {
289
- const e = this.genInnerContent();
290
- return this.transition ? this.$createElement("transition", {
291
- props: {
292
- name: this.transition,
293
- origin: this.origin,
294
- appear: !0
295
- }
296
- }, [e]) : e;
297
- },
298
- genInnerContent() {
299
- const e = {
300
- class: this.classes,
301
- attrs: {
302
- tabindex: this.isActive ? 0 : void 0
303
- },
304
- ref: "dialog",
305
- directives: [{
306
- name: "click-outside",
307
- value: {
308
- handler: this.onClickOutside,
309
- closeConditional: this.closeConditional,
310
- include: this.getOpenDependentElements
311
- }
312
- }, {
313
- name: "show",
314
- value: this.isActive
315
- }],
316
- style: {
317
- transformOrigin: this.origin
318
- }
319
- };
320
- return this.fullscreen || (e.style = {
321
- ...e.style,
322
- maxWidth: a(this.maxWidth),
323
- width: a(this.width)
324
- }), this.$createElement("div", e, this.getContentSlot());
325
- }
326
- },
327
- render(e) {
328
- return e("div", {
329
- staticClass: "v-dialog__container",
330
- class: {
331
- "v-dialog__container--attached": this.attach === "" || this.attach === !0 || this.attach === "attach"
332
- }
333
- }, [this.genActivator(), this.genContent()]);
334
- }
335
- });
336
- h("css/revolugo.vdialog.C02Cvwul.css");
337
- export {
338
- l as O,
339
- B as _
340
- };
341
- //# sourceMappingURL=revolugo.vdialog.BAexO59W.min.js.map
@@ -1,263 +0,0 @@
1
- import { B as o } from "./revolugo.vitemgroup.DyY_3pfW.min.js";
2
- import { i as l, j as i } from "./revolugo.revolugo-config.Bs_HF2Eu.min.js";
3
- import { p as h, f as d, i as r, _ as u } from "./revolugo.index.sTY3URQu.min.js";
4
- import { m as a, C as p } from "./revolugo.webcomponentwrapper.-wnE6sKX.min.js";
5
- import { a as v, b as x } from "./revolugo.index.Cn8GgIte.min.js";
6
- import { B as m } from "./revolugo.watch-list.cR2ZEwBA.min.js";
7
- import { r as f } from "./revolugo.vuetify.yojzDMFk.min.js";
8
- function c(e) {
9
- try {
10
- if (typeof document < "u") {
11
- window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
12
- sheets: [],
13
- components: []
14
- };
15
- const n = import.meta.url, t = n.slice(0, n.lastIndexOf("/") + 1) + e;
16
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(t);
17
- for (const s of REVOLUGO_ELEMENTS_STYLES.components)
18
- s(t);
19
- if (e.indexOf("fonts") >= 0) {
20
- const s = document.createElement("link");
21
- s.rel = "stylesheet", linK.href = t, document.head.appendChild(s);
22
- }
23
- }
24
- } catch (n) {
25
- console.error("[revolugo-elements] ", n);
26
- }
27
- }
28
- const P = o.extend({
29
- name: "v-expansion-panels",
30
- provide() {
31
- return {
32
- expansionPanels: this
33
- };
34
- },
35
- props: {
36
- accordion: Boolean,
37
- disabled: Boolean,
38
- flat: Boolean,
39
- hover: Boolean,
40
- focusable: Boolean,
41
- inset: Boolean,
42
- popout: Boolean,
43
- readonly: Boolean,
44
- tile: Boolean
45
- },
46
- computed: {
47
- classes() {
48
- return {
49
- ...o.options.computed.classes.call(this),
50
- "v-expansion-panels": !0,
51
- "v-expansion-panels--accordion": this.accordion,
52
- "v-expansion-panels--flat": this.flat,
53
- "v-expansion-panels--hover": this.hover,
54
- "v-expansion-panels--focusable": this.focusable,
55
- "v-expansion-panels--inset": this.inset,
56
- "v-expansion-panels--popout": this.popout,
57
- "v-expansion-panels--tile": this.tile
58
- };
59
- }
60
- },
61
- created() {
62
- this.$attrs.hasOwnProperty("expand") && l("expand", "multiple", this), Array.isArray(this.value) && this.value.length > 0 && typeof this.value[0] == "boolean" && l(':value="[true, false, true]"', ':value="[0, 2]"', this);
63
- },
64
- methods: {
65
- updateItem(e, n) {
66
- const t = this.getValue(e, n), s = this.getValue(e, n + 1);
67
- e.isActive = this.toggleMethod(t), e.nextIsActive = this.toggleMethod(s);
68
- }
69
- }
70
- }), S = a(
71
- d("expansionPanels", "v-expansion-panel", "v-expansion-panels"),
72
- h("expansionPanel", !0)
73
- /* @vue/component */
74
- ).extend({
75
- name: "v-expansion-panel",
76
- props: {
77
- disabled: Boolean,
78
- readonly: Boolean
79
- },
80
- data() {
81
- return {
82
- content: null,
83
- header: null,
84
- nextIsActive: !1
85
- };
86
- },
87
- computed: {
88
- classes() {
89
- return {
90
- "v-expansion-panel--active": this.isActive,
91
- "v-expansion-panel--next-active": this.nextIsActive,
92
- "v-expansion-panel--disabled": this.isDisabled,
93
- ...this.groupClasses
94
- };
95
- },
96
- isDisabled() {
97
- return this.expansionPanels.disabled || this.disabled;
98
- },
99
- isReadonly() {
100
- return this.expansionPanels.readonly || this.readonly;
101
- }
102
- },
103
- methods: {
104
- registerContent(e) {
105
- this.content = e;
106
- },
107
- unregisterContent() {
108
- this.content = null;
109
- },
110
- registerHeader(e) {
111
- this.header = e, e.$on("click", this.onClick);
112
- },
113
- unregisterHeader() {
114
- this.header = null;
115
- },
116
- onClick(e) {
117
- e.detail && this.header.$el.blur(), this.$emit("click", e), this.isReadonly || this.isDisabled || this.toggle();
118
- },
119
- toggle() {
120
- this.$nextTick(() => this.$emit("change"));
121
- }
122
- },
123
- render(e) {
124
- return e("div", {
125
- staticClass: "v-expansion-panel",
126
- class: this.classes,
127
- attrs: {
128
- "aria-expanded": String(this.isActive)
129
- }
130
- }, i(this));
131
- }
132
- }), g = a(m, p, r("expansionPanel", "v-expansion-panel-content", "v-expansion-panel")), k = g.extend().extend({
133
- name: "v-expansion-panel-content",
134
- data: () => ({
135
- isActive: !1
136
- }),
137
- computed: {
138
- parentIsActive() {
139
- return this.expansionPanel.isActive;
140
- }
141
- },
142
- watch: {
143
- parentIsActive: {
144
- immediate: !0,
145
- handler(e, n) {
146
- e && (this.isBooted = !0), n == null ? this.isActive = e : this.$nextTick(() => this.isActive = e);
147
- }
148
- }
149
- },
150
- created() {
151
- this.expansionPanel.registerContent(this);
152
- },
153
- beforeDestroy() {
154
- this.expansionPanel.unregisterContent();
155
- },
156
- render(e) {
157
- return e(v, this.showLazyContent(() => [e("div", this.setBackgroundColor(this.color, {
158
- staticClass: "v-expansion-panel-content",
159
- directives: [{
160
- name: "show",
161
- value: this.isActive
162
- }]
163
- }), [e("div", {
164
- class: "v-expansion-panel-content__wrap"
165
- }, i(this, "default", {
166
- open: this.isActive
167
- }))])]));
168
- }
169
- }), _ = a(p, r("expansionPanel", "v-expansion-panel-header", "v-expansion-panel")), I = _.extend().extend({
170
- name: "v-expansion-panel-header",
171
- directives: {
172
- ripple: f
173
- },
174
- props: {
175
- disableIconRotate: Boolean,
176
- expandIcon: {
177
- type: String,
178
- default: "$expand"
179
- },
180
- hideActions: Boolean,
181
- ripple: {
182
- type: [Boolean, Object],
183
- default: !1
184
- }
185
- },
186
- data: () => ({
187
- hasMousedown: !1
188
- }),
189
- computed: {
190
- classes() {
191
- return {
192
- "v-expansion-panel-header--active": this.isActive,
193
- "v-expansion-panel-header--mousedown": this.hasMousedown
194
- };
195
- },
196
- isActive() {
197
- return this.expansionPanel.isActive;
198
- },
199
- isDisabled() {
200
- return this.expansionPanel.isDisabled;
201
- },
202
- isReadonly() {
203
- return this.expansionPanel.isReadonly;
204
- }
205
- },
206
- created() {
207
- this.expansionPanel.registerHeader(this);
208
- },
209
- beforeDestroy() {
210
- this.expansionPanel.unregisterHeader();
211
- },
212
- methods: {
213
- onClick(e) {
214
- this.$emit("click", e);
215
- },
216
- genIcon() {
217
- const e = i(this, "actions", {
218
- open: this.isActive
219
- }) || [this.$createElement(u, this.expandIcon)];
220
- return this.$createElement(x, [this.$createElement("div", {
221
- staticClass: "v-expansion-panel-header__icon",
222
- class: {
223
- "v-expansion-panel-header__icon--disable-rotate": this.disableIconRotate
224
- },
225
- directives: [{
226
- name: "show",
227
- value: !this.isDisabled
228
- }]
229
- }, e)]);
230
- }
231
- },
232
- render(e) {
233
- return e("button", this.setBackgroundColor(this.color, {
234
- staticClass: "v-expansion-panel-header",
235
- class: this.classes,
236
- attrs: {
237
- tabindex: this.isDisabled ? -1 : null,
238
- type: "button",
239
- "aria-expanded": this.isActive
240
- },
241
- directives: [{
242
- name: "ripple",
243
- value: this.ripple
244
- }],
245
- on: {
246
- ...this.$listeners,
247
- click: this.onClick,
248
- mousedown: () => this.hasMousedown = !0,
249
- mouseup: () => this.hasMousedown = !1
250
- }
251
- }), [i(this, "default", {
252
- open: this.isActive
253
- }, !0), this.hideActions || this.genIcon()]);
254
- }
255
- });
256
- c("css/revolugo.vexpansionpanelheader.B2eKo8Lo.css");
257
- export {
258
- P as _,
259
- S as a,
260
- I as b,
261
- k as c
262
- };
263
- //# sourceMappingURL=revolugo.vexpansionpanelheader.D9ENep1_.min.js.map
@@ -1,98 +0,0 @@
1
- import { m as a } from "./revolugo.webcomponentwrapper.-wnE6sKX.min.js";
2
- import { B as o } from "./revolugo.index.Cn5YTzy6.min.js";
3
- import { p as h } from "./revolugo.index.sTY3URQu.min.js";
4
- const l = a(
5
- o,
6
- h("form")
7
- /* @vue/component */
8
- ).extend({
9
- name: "v-form",
10
- provide() {
11
- return {
12
- form: this
13
- };
14
- },
15
- inheritAttrs: !1,
16
- props: {
17
- disabled: Boolean,
18
- lazyValidation: Boolean,
19
- readonly: Boolean,
20
- value: Boolean
21
- },
22
- data: () => ({
23
- inputs: [],
24
- watchers: [],
25
- errorBag: {}
26
- }),
27
- watch: {
28
- errorBag: {
29
- handler(t) {
30
- const r = Object.values(t).includes(!0);
31
- this.$emit("input", !r);
32
- },
33
- deep: !0,
34
- immediate: !0
35
- }
36
- },
37
- methods: {
38
- watchInput(t) {
39
- const r = (i) => i.$watch("hasError", (s) => {
40
- this.$set(this.errorBag, i._uid, s);
41
- }, {
42
- immediate: !0
43
- }), e = {
44
- _uid: t._uid,
45
- valid: () => {
46
- },
47
- shouldValidate: () => {
48
- }
49
- };
50
- return this.lazyValidation ? e.shouldValidate = t.$watch("shouldValidate", (i) => {
51
- i && (this.errorBag.hasOwnProperty(t._uid) || (e.valid = r(t)));
52
- }) : e.valid = r(t), e;
53
- },
54
- /** @public */
55
- validate() {
56
- return this.inputs.filter((t) => !t.validate(!0)).length === 0;
57
- },
58
- /** @public */
59
- reset() {
60
- this.inputs.forEach((t) => t.reset()), this.resetErrorBag();
61
- },
62
- resetErrorBag() {
63
- this.lazyValidation && setTimeout(() => {
64
- this.errorBag = {};
65
- }, 0);
66
- },
67
- /** @public */
68
- resetValidation() {
69
- this.inputs.forEach((t) => t.resetValidation()), this.resetErrorBag();
70
- },
71
- register(t) {
72
- this.inputs.push(t), this.watchers.push(this.watchInput(t));
73
- },
74
- unregister(t) {
75
- const r = this.inputs.find((i) => i._uid === t._uid);
76
- if (!r)
77
- return;
78
- const e = this.watchers.find((i) => i._uid === r._uid);
79
- e && (e.valid(), e.shouldValidate()), this.watchers = this.watchers.filter((i) => i._uid !== r._uid), this.inputs = this.inputs.filter((i) => i._uid !== r._uid), this.$delete(this.errorBag, r._uid);
80
- }
81
- },
82
- render(t) {
83
- return t("form", {
84
- staticClass: "v-form",
85
- attrs: {
86
- novalidate: !0,
87
- ...this.attrs$
88
- },
89
- on: {
90
- submit: (r) => this.$emit("submit", r)
91
- }
92
- }, this.$slots.default);
93
- }
94
- });
95
- export {
96
- l as _
97
- };
98
- //# sourceMappingURL=revolugo.vform.oeljK9Tu.min.js.map