@revolugo/elements 6.9.5-rc.0 → 6.9.6-beta.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 (193) hide show
  1. package/dist/css/fonts.css +1 -1
  2. package/dist/css/revolugo.cancellationpoliciesbadge.C92dXEHE.css +1 -0
  3. package/dist/css/revolugo.creditcardstripeform.C4-vMajR.css +1 -0
  4. package/dist/css/revolugo.index.BNlxBMG6.css +5 -0
  5. package/dist/css/revolugo.preferencesmenu.DQaHGrad.css +1 -0
  6. package/dist/css/{revolugo.webcomponentwrapper.cFJPP6Rp.css → revolugo.webcomponentwrapper.ViqP9D5c.css} +1 -1
  7. package/dist/index.es.min.js +23 -12530
  8. package/dist/index.es.min.js.map +1 -1
  9. package/dist/index.min.js +1 -19
  10. package/dist/index.min.js.map +1 -1
  11. package/dist/revolugo.banktransferdetails.DrqPV5Gn.min.js +47 -0
  12. package/dist/revolugo.bookingdetailssidebar.BUzOcei0.min.js +43 -0
  13. package/dist/revolugo.bookingmanager.ddHVFFCh.min.js +26 -0
  14. package/dist/revolugo.cancellationpoliciesbadge.C5MWbf48.min.js +26 -0
  15. package/dist/revolugo.cancellationpoliciesbadge.props.CBQbXRUh.min.js +28721 -0
  16. package/dist/revolugo.cancellationpolicieslist.CFtgoY0Q.min.js +26 -0
  17. package/dist/revolugo.creditcardstripeform.B2112ZY0.min.js +50 -0
  18. package/dist/{revolugo.creditcardform.BcpdCsLn.min.js → revolugo.creditcardstripeform.C1MSbRhE.min.js} +872 -855
  19. package/dist/revolugo.currencypickerbtn.BHvgRuZO.min.js +26 -0
  20. package/dist/{revolugo.dialog-attach.JlZBE-OK.min.js → revolugo.dialog-attach.D94QhJa0.min.js} +2 -2
  21. package/dist/revolugo.fastbookingflow.ZZFRKtvg.min.js +36 -0
  22. package/dist/revolugo.fullbookingflow.DKpCjmB2.min.js +26 -0
  23. package/dist/revolugo.hoteldescriptionview.D5MHRYfN.min.js +26 -0
  24. package/dist/revolugo.hotelofferlist.52F5Faa1.min.js +26 -0
  25. package/dist/revolugo.hoteloffersearchmenu.Djf9IzLB.min.js +115 -0
  26. package/dist/revolugo.hoteloffersmap.CtKIhJ_T.min.js +26 -0
  27. package/dist/revolugo.hoteloffersview.2o3PSi6T.min.js +21 -0
  28. package/dist/revolugo.hotelroomofferlist.D1OYIuAO.min.js +26 -0
  29. package/dist/revolugo.hotelroomoffersbookingflow.DaIhbiu2.min.js +26 -0
  30. package/dist/revolugo.hotelroomoffersearchmenu.C7HhYXVg.min.js +26 -0
  31. package/dist/revolugo.hotelroomoffersview.k30dmpvS.min.js +26 -0
  32. package/dist/revolugo.index.3s6X3Rp2.min.js +106 -0
  33. package/dist/revolugo.index.wc.DZh56llP.min.js +26625 -0
  34. package/dist/revolugo.langpickerbtn.BVyrMrD3.min.js +31 -0
  35. package/dist/{revolugo.leaflet-src.esm.DBQWLG1M.min.js → revolugo.leaflet-src.esm.BnEQV3J-.min.js} +16 -16
  36. package/dist/revolugo.min.js +1 -1
  37. package/dist/revolugo.prebookform.DaXmbBMD.min.js +26 -0
  38. package/dist/revolugo.preferencesmenu.BAOU9CNZ.min.js +24 -0
  39. package/dist/revolugo.preferencesmenu.YTdKXpO0.min.js +935 -0
  40. package/dist/revolugo.roominglisteditor.DCssvyEv.min.js +26 -0
  41. package/dist/revolugo.storybooktoolbar.BE-vSPxq.min.js +831 -0
  42. package/dist/revolugo.termsandconditions.C1DHMn3-.min.js +31 -0
  43. package/dist/revolugo.vtoolbar.CWBH40Bg.min.js +187 -0
  44. package/dist/revolugo.webcomponentwrapper.jfQ_0W7K.min.js +31266 -0
  45. package/package.json +6 -6
  46. package/dist/css/revolugo.bdaterangepicker.OLspTh_0.css +0 -1
  47. package/dist/css/revolugo.bhoteloffersfilterbar.BebBKpCh.css +0 -1
  48. package/dist/css/revolugo.bhotelroomsdetails.c1M8WEQ1.css +0 -1
  49. package/dist/css/revolugo.bimagecarousel.B2SxWMbZ.css +0 -1
  50. package/dist/css/revolugo.bookingdetailssidebar.Cp4sLBjD.css +0 -1
  51. package/dist/css/revolugo.bstarrating.CPHKEfup.css +0 -1
  52. package/dist/css/revolugo.btag.T7X_iIkW.css +0 -1
  53. package/dist/css/revolugo.cancellationpoliciesbadge.BLInUr3-.css +0 -1
  54. package/dist/css/revolugo.creditcardform.fTmPR0fS.css +0 -1
  55. package/dist/css/revolugo.creditcardpayment.D2PE5FCt.css +0 -1
  56. package/dist/css/revolugo.fullbookingflow.Bm8JAQF7.css +0 -1
  57. package/dist/css/revolugo.hoteldescriptionview.B-RiiuPY.css +0 -1
  58. package/dist/css/revolugo.hotelofferlist.BkctzTMI.css +0 -1
  59. package/dist/css/revolugo.hoteloffersearchmenuui.ZbUh8ba2.css +0 -1
  60. package/dist/css/revolugo.hoteloffersmap.Z5DFtK0_.css +0 -1
  61. package/dist/css/revolugo.hoteloffersview.CLbnSww6.css +0 -1
  62. package/dist/css/revolugo.hotelroomofferlist.D8JlZt_N.css +0 -1
  63. package/dist/css/revolugo.hotelroomoffersbookingflow.LHa5iHB7.css +0 -1
  64. package/dist/css/revolugo.index.DK7d_h6O.css +0 -1
  65. package/dist/css/revolugo.index.XNPQF1ia.css +0 -5
  66. package/dist/css/revolugo.langpickerbtn.BGnattUJ.css +0 -1
  67. package/dist/css/revolugo.prebookform.DmCR7hLv.css +0 -1
  68. package/dist/css/revolugo.preferencesmenu.fPv_7j-1.css +0 -1
  69. package/dist/css/revolugo.termsandconditions.D8IMR9da.css +0 -1
  70. package/dist/css/revolugo.vautocomplete.CuVjyvcC.css +0 -1
  71. package/dist/css/revolugo.vbadge.C45eZpxy.css +0 -1
  72. package/dist/css/revolugo.vbtn.DpMO1Ky2.css +0 -1
  73. package/dist/css/revolugo.vcard.TERzfknI.css +0 -1
  74. package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.css +0 -1
  75. package/dist/css/revolugo.vdialog.DwTSAOeg.css +0 -1
  76. package/dist/css/revolugo.vdivider.CTbbZwnv.css +0 -1
  77. package/dist/css/revolugo.vexpansionpanels.RsCANmDP.css +0 -1
  78. package/dist/css/revolugo.vicon.eIkh7vVK.css +0 -1
  79. package/dist/css/revolugo.vinput.BPiFMorL.css +0 -1
  80. package/dist/css/revolugo.vlabel.BvKaKg7Y.css +0 -1
  81. package/dist/css/revolugo.vlist.-Y4qkukF.css +0 -1
  82. package/dist/css/revolugo.vmenu.DvKwEp1j.css +0 -1
  83. package/dist/css/revolugo.vselect.C5CKHFYB.css +0 -1
  84. package/dist/css/revolugo.vsheet.Dmcoj8cr.css +0 -1
  85. package/dist/css/revolugo.vskeletonloader.BlK8uFkX.css +0 -1
  86. package/dist/css/revolugo.vslidegroup.ECiLCEE9.css +0 -1
  87. package/dist/css/revolugo.vsnackbar.CCfuo3ao.css +0 -1
  88. package/dist/css/revolugo.vtextarea.Dxy6uSvm.css +0 -1
  89. package/dist/css/revolugo.vtextfield.BIH_AWWP.css +0 -1
  90. package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +0 -1
  91. package/dist/css/revolugo.vwindowitem.CWBhiE_Y.css +0 -1
  92. package/dist/revolugo._baseiteratee.CLzJO0Z7.min.js +0 -247
  93. package/dist/revolugo.banktransferdetails.Birrw2bK.min.js +0 -380
  94. package/dist/revolugo.bdaterangepicker.B9Pwp3-i.min.js +0 -8327
  95. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.B6Bic057.min.js +0 -146
  96. package/dist/revolugo.bhoteloffersfilterbar.DGGCRGbi.min.js +0 -4901
  97. package/dist/revolugo.bhotelroomsdetails.BqDjDhZz.min.js +0 -965
  98. package/dist/revolugo.bimagecarousel.DZkkKxt4.min.js +0 -566
  99. package/dist/revolugo.bookingdetailssidebar.B7BPXRXg.min.js +0 -870
  100. package/dist/revolugo.bookingdetailssidebar.BCh02VxY.min.js +0 -24
  101. package/dist/revolugo.bookingmanager.BLI4Kfii.min.js +0 -1755
  102. package/dist/revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.CnD8GFjr.min.js +0 -66
  103. package/dist/revolugo.bstarrating.vue_vue_type_script_setup_true_lang.DrkLAGv0.min.js +0 -570
  104. package/dist/revolugo.btag.WkZejRmS.min.js +0 -375
  105. package/dist/revolugo.cancellationpoliciesbadge.-kny6UNr.min.js +0 -198
  106. package/dist/revolugo.cancellationpoliciesbadge.k78k-bsq.min.js +0 -28
  107. package/dist/revolugo.cancellationpolicieslist.ClbQpNpE.min.js +0 -25
  108. package/dist/revolugo.cancellationpolicieslist.DD0Phtuu.min.js +0 -148
  109. package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +0 -21
  110. package/dist/revolugo.case-transformers.L7Bk5rsm.min.js +0 -123
  111. package/dist/revolugo.common.D-l8b0V5.min.js +0 -10
  112. package/dist/revolugo.creditcardform.TMc2dS7r.min.js +0 -24
  113. package/dist/revolugo.creditcardpayment.DNgqVDZM.min.js +0 -24
  114. package/dist/revolugo.creditcardpayment.IN0fHkG2.min.js +0 -885
  115. package/dist/revolugo.currencypicker.C7XrXhCS.min.js +0 -328
  116. package/dist/revolugo.currencypickerbtn.CBxEJhyo.min.js +0 -24
  117. package/dist/revolugo.currencypickerbtn.Cl2wh4UC.min.js +0 -157
  118. package/dist/revolugo.dates.D6Qm2MvS.min.js +0 -31
  119. package/dist/revolugo.defaultsdeep.Cej01H1i.min.js +0 -104
  120. package/dist/revolugo.dialog-transition.CKLVHgNl.min.js +0 -111
  121. package/dist/revolugo.fastbookingflow.Ca0eFsVD.min.js +0 -34
  122. package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +0 -70
  123. package/dist/revolugo.fullbookingflow.LDV_2-8f.min.js +0 -429
  124. package/dist/revolugo.hotel-offer-request.mFDmvYda.min.js +0 -98
  125. package/dist/revolugo.hoteldescriptionview.BfCLPMDU.min.js +0 -24
  126. package/dist/revolugo.hoteldescriptionview.CgOY1ZMD.min.js +0 -2738
  127. package/dist/revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.Db_TUx_3.min.js +0 -239
  128. package/dist/revolugo.hotelofferlist.BlqWtyDX.min.js +0 -24
  129. package/dist/revolugo.hotelofferlist.DxjrZREn.min.js +0 -5640
  130. package/dist/revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js +0 -44
  131. package/dist/revolugo.hoteloffersearchmenu.CW5xeFnf.min.js +0 -202
  132. package/dist/revolugo.hoteloffersearchmenuui.BYQevzaQ.min.js +0 -829
  133. package/dist/revolugo.hoteloffersmap.C0sXohwQ.min.js +0 -24
  134. package/dist/revolugo.hoteloffersmap.CiAz08aa.min.js +0 -8330
  135. package/dist/revolugo.hoteloffersview.CcyL5SHj.min.js +0 -616
  136. package/dist/revolugo.hoteloffersview.DViVRmpv.min.js +0 -19
  137. package/dist/revolugo.hotelroomofferlist.0_20anO4.min.js +0 -24
  138. package/dist/revolugo.hotelroomofferlist.CWVOrmN3.min.js +0 -2799
  139. package/dist/revolugo.hotelroomofferrequestcreator.props.BMUg6Cw2.min.js +0 -171
  140. package/dist/revolugo.hotelroomoffersbookingflow.BFZyhPs4.min.js +0 -1281
  141. package/dist/revolugo.hotelroomoffersearchmenu.CeTSQNc_.min.js +0 -231
  142. package/dist/revolugo.hotelroomoffersearchmenu.DubKcJXK.min.js +0 -25
  143. package/dist/revolugo.hotelroomoffersview.ChGK-lwY.min.js +0 -290
  144. package/dist/revolugo.hotelroomoffersview.XrxJb08f.min.js +0 -24
  145. package/dist/revolugo.index.BRUEWPtu.min.js +0 -67
  146. package/dist/revolugo.index.BksT1nj-.min.js +0 -1232
  147. package/dist/revolugo.index.wc.5QPHrFdU.min.js +0 -31558
  148. package/dist/revolugo.langpicker.C8_l6z5z.min.js +0 -99
  149. package/dist/revolugo.langpickerbtn.B6yGmUkO.min.js +0 -131
  150. package/dist/revolugo.langpickerbtn.BlTweLYF.min.js +0 -29
  151. package/dist/revolugo.parsed-props.BJy-LQVI.min.js +0 -40
  152. package/dist/revolugo.pathify.DuCqvhE5.min.js +0 -36
  153. package/dist/revolugo.prebookform.B-1a8R28.min.js +0 -24
  154. package/dist/revolugo.prebookform.XU54iB7H.min.js +0 -1527
  155. package/dist/revolugo.preferencesmenu.BEfTbWWf.min.js +0 -261
  156. package/dist/revolugo.preferencesmenu.DvHC3c5R.min.js +0 -24
  157. package/dist/revolugo.roominglisteditor.DBJeg1ek.min.js +0 -24
  158. package/dist/revolugo.roominglisteditor.Dlm2Xe2s.min.js +0 -385
  159. package/dist/revolugo.rounded.DTrKKTt4.min.js +0 -68
  160. package/dist/revolugo.ssrboot.CCsFGYsn.min.js +0 -18
  161. package/dist/revolugo.storybooktoolbar.DTCC8Ies.min.js +0 -881
  162. package/dist/revolugo.termsandconditions.B35IiPu8.min.js +0 -23
  163. package/dist/revolugo.termsandconditions.C2BIBaOu.min.js +0 -404
  164. package/dist/revolugo.use-breakpoint-service.Dh2ZxWTf.min.js +0 -39
  165. package/dist/revolugo.use-dialog-attach.DaBrfXUJ.min.js +0 -16
  166. package/dist/revolugo.use-html-element.B4PPsV8w.min.js +0 -11
  167. package/dist/revolugo.vautocomplete.MyBbNRlC.min.js +0 -445
  168. package/dist/revolugo.vbadge.CSlLZjlP.min.js +0 -112
  169. package/dist/revolugo.vbtn.Dbr6CsSm.min.js +0 -398
  170. package/dist/revolugo.vcard.DylXYSnw.min.js +0 -313
  171. package/dist/revolugo.vcheckboxbtn.Bhk5daqP.min.js +0 -478
  172. package/dist/revolugo.vdialog.CtuxcesN.min.js +0 -133
  173. package/dist/revolugo.vdivider.Bxl52tUp.min.js +0 -77
  174. package/dist/revolugo.vexpansionpanels.D09LqdoU.min.js +0 -262
  175. package/dist/revolugo.vform.gnySklGl.min.js +0 -46
  176. package/dist/revolugo.vicon.CdRzDPMk.min.js +0 -105
  177. package/dist/revolugo.vinput.BNbakCF2.min.js +0 -463
  178. package/dist/revolugo.vlabel.Dk4FF6Za.min.js +0 -48
  179. package/dist/revolugo.vlist.ue7D63XL.min.js +0 -1299
  180. package/dist/revolugo.vmenu.DHZfznjo.min.js +0 -145
  181. package/dist/revolugo.vselect.C1jUN20W.min.js +0 -660
  182. package/dist/revolugo.vsheet.DF_dpUv9.min.js +0 -72
  183. package/dist/revolugo.vskeletonloader.Dq-T8AvN.min.js +0 -136
  184. package/dist/revolugo.vslidegroup.CY8HKY68.min.js +0 -325
  185. package/dist/revolugo.vsnackbar.BTUU_GjH.min.js +0 -198
  186. package/dist/revolugo.vspacer.8XjWwGNR.min.js +0 -7
  187. package/dist/revolugo.vtextarea.BzXlRaqj.min.js +0 -2092
  188. package/dist/revolugo.vtextfield.PwjQYcsK.min.js +0 -501
  189. package/dist/revolugo.vtoolbar.gTiJEUY8.min.js +0 -180
  190. package/dist/revolugo.vtooltip.BEvNIx65.min.js +0 -89
  191. package/dist/revolugo.vwindowitem.rUiYmY4A.min.js +0 -317
  192. package/dist/revolugo.watch-list.CW6XeKsi.min.js +0 -16
  193. package/dist/revolugo.webcomponentwrapper.cNxufrbJ.min.js +0 -2088
@@ -1,881 +0,0 @@
1
- import { a9 as he, d as R, u as W, k as E, H as z, cs as ge, ct as ve, i as L, a as o, w as r, aB as G, cu as I, f as y, D as J, F, o as k, ah as ye, q as j, r as C, t as Ee, c as X, e as be } from "./revolugo.index.wc.5QPHrFdU.min.js";
2
- import { B as Z } from "./revolugo.btag.WkZejRmS.min.js";
3
- import { d as Q } from "./revolugo.dialog-attach.JlZBE-OK.min.js";
4
- import { w as Se } from "./revolugo.watch-list.CW6XeKsi.min.js";
5
- import { t as ke } from "./revolugo.index.BRUEWPtu.min.js";
6
- import { _, V as O, a as ee, W as Ce } from "./revolugo.webcomponentwrapper.cNxufrbJ.min.js";
7
- import { V as te, a as ie, b as ae } from "./revolugo.vcard.DylXYSnw.min.js";
8
- import { V as N, B as we } from "./revolugo.bdaterangepicker.B9Pwp3-i.min.js";
9
- import { V as ne } from "./revolugo.vform.gnySklGl.min.js";
10
- import { V as T } from "./revolugo.vtextfield.PwjQYcsK.min.js";
11
- import { V as oe } from "./revolugo.vspacer.8XjWwGNR.min.js";
12
- import { a as b } from "./revolugo.vbtn.Dbr6CsSm.min.js";
13
- import { V as B } from "./revolugo.vicon.CdRzDPMk.min.js";
14
- import { V as re } from "./revolugo.vdialog.CtuxcesN.min.js";
15
- import { s as H } from "./revolugo.dates.D6Qm2MvS.min.js";
16
- import { u as Ve } from "./revolugo.hotel-offer-request.mFDmvYda.min.js";
17
- import { p as Ae, g as Me } from "./revolugo.pathify.DuCqvhE5.min.js";
18
- function pe(e) {
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, a = t.slice(0, t.lastIndexOf("/") + 1) + e;
26
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(a);
27
- for (const i of REVOLUGO_ELEMENTS_STYLES.components)
28
- i(a);
29
- if (e.indexOf("fonts") >= 0) {
30
- const i = document.createElement("link");
31
- i.rel = "stylesheet", linK.href = a, document.head.appendChild(i);
32
- }
33
- }
34
- } catch (t) {
35
- console.error("[revolugo-elements] ", t);
36
- }
37
- }
38
- var M = {};
39
- /*!
40
- * cookie
41
- * Copyright(c) 2012-2014 Roman Shtylman
42
- * Copyright(c) 2015 Douglas Christopher Wilson
43
- * MIT Licensed
44
- */
45
- var q;
46
- function Le() {
47
- if (q) return M;
48
- q = 1, M.parse = u, M.serialize = S;
49
- var e = Object.prototype.toString, t = Object.prototype.hasOwnProperty, a = /^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/, i = /^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/, f = /^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i, p = /^[\u0020-\u003A\u003D-\u007E]*$/;
50
- function u(s, m) {
51
- if (typeof s != "string")
52
- throw new TypeError("argument str must be a string");
53
- var n = {}, h = s.length;
54
- if (h < 2) return n;
55
- var w = m && m.decode || ue, c = 0, v = 0, g = 0;
56
- do {
57
- if (v = s.indexOf("=", c), v === -1) break;
58
- if (g = s.indexOf(";", c), g === -1)
59
- g = h;
60
- else if (v > g) {
61
- c = s.lastIndexOf(";", v - 1) + 1;
62
- continue;
63
- }
64
- var V = l(s, c, v), P = d(s, v, V), $ = s.slice(V, P);
65
- if (!t.call(n, $)) {
66
- var A = l(s, v + 1, g), U = d(s, g, A);
67
- s.charCodeAt(A) === 34 && s.charCodeAt(U - 1) === 34 && (A++, U--);
68
- var me = s.slice(A, U);
69
- n[$] = fe(me, w);
70
- }
71
- c = g + 1;
72
- } while (c < h);
73
- return n;
74
- }
75
- function l(s, m, n) {
76
- do {
77
- var h = s.charCodeAt(m);
78
- if (h !== 32 && h !== 9) return m;
79
- } while (++m < n);
80
- return n;
81
- }
82
- function d(s, m, n) {
83
- for (; m > n; ) {
84
- var h = s.charCodeAt(--m);
85
- if (h !== 32 && h !== 9) return m + 1;
86
- }
87
- return n;
88
- }
89
- function S(s, m, n) {
90
- var h = n && n.encode || encodeURIComponent;
91
- if (typeof h != "function")
92
- throw new TypeError("option encode is invalid");
93
- if (!a.test(s))
94
- throw new TypeError("argument name is invalid");
95
- var w = h(m);
96
- if (!i.test(w))
97
- throw new TypeError("argument val is invalid");
98
- var c = s + "=" + w;
99
- if (!n) return c;
100
- if (n.maxAge != null) {
101
- var v = Math.floor(n.maxAge);
102
- if (!isFinite(v))
103
- throw new TypeError("option maxAge is invalid");
104
- c += "; Max-Age=" + v;
105
- }
106
- if (n.domain) {
107
- if (!f.test(n.domain))
108
- throw new TypeError("option domain is invalid");
109
- c += "; Domain=" + n.domain;
110
- }
111
- if (n.path) {
112
- if (!p.test(n.path))
113
- throw new TypeError("option path is invalid");
114
- c += "; Path=" + n.path;
115
- }
116
- if (n.expires) {
117
- var g = n.expires;
118
- if (!ce(g) || isNaN(g.valueOf()))
119
- throw new TypeError("option expires is invalid");
120
- c += "; Expires=" + g.toUTCString();
121
- }
122
- if (n.httpOnly && (c += "; HttpOnly"), n.secure && (c += "; Secure"), n.partitioned && (c += "; Partitioned"), n.priority) {
123
- var V = typeof n.priority == "string" ? n.priority.toLowerCase() : n.priority;
124
- switch (V) {
125
- case "low":
126
- c += "; Priority=Low";
127
- break;
128
- case "medium":
129
- c += "; Priority=Medium";
130
- break;
131
- case "high":
132
- c += "; Priority=High";
133
- break;
134
- default:
135
- throw new TypeError("option priority is invalid");
136
- }
137
- }
138
- if (n.sameSite) {
139
- var P = typeof n.sameSite == "string" ? n.sameSite.toLowerCase() : n.sameSite;
140
- switch (P) {
141
- case !0:
142
- c += "; SameSite=Strict";
143
- break;
144
- case "lax":
145
- c += "; SameSite=Lax";
146
- break;
147
- case "strict":
148
- c += "; SameSite=Strict";
149
- break;
150
- case "none":
151
- c += "; SameSite=None";
152
- break;
153
- default:
154
- throw new TypeError("option sameSite is invalid");
155
- }
156
- }
157
- return c;
158
- }
159
- function ue(s) {
160
- return s.indexOf("%") !== -1 ? decodeURIComponent(s) : s;
161
- }
162
- function ce(s) {
163
- return e.call(s) === "[object Date]";
164
- }
165
- function fe(s, m) {
166
- try {
167
- return m(s);
168
- } catch {
169
- return s;
170
- }
171
- }
172
- return M;
173
- }
174
- var K = Le();
175
- function Ke() {
176
- const e = typeof global > "u" ? void 0 : global.TEST_HAS_DOCUMENT_COOKIE;
177
- return typeof e == "boolean" ? e : typeof document == "object" && typeof document.cookie == "string";
178
- }
179
- function Oe(e) {
180
- return typeof e == "string" ? K.parse(e) : typeof e == "object" && e !== null ? e : {};
181
- }
182
- function D(e, t = {}) {
183
- const a = Re(e);
184
- if (!t.doNotParse)
185
- try {
186
- return JSON.parse(a);
187
- } catch {
188
- }
189
- return e;
190
- }
191
- function Re(e) {
192
- return e && e[0] === "j" && e[1] === ":" ? e.substr(2) : e;
193
- }
194
- class _e {
195
- constructor(t, a = {}) {
196
- this.changeListeners = [], this.HAS_DOCUMENT_COOKIE = !1, this.update = () => {
197
- if (!this.HAS_DOCUMENT_COOKIE)
198
- return;
199
- const f = this.cookies;
200
- this.cookies = K.parse(document.cookie), this._checkChanges(f);
201
- };
202
- const i = typeof document > "u" ? "" : document.cookie;
203
- this.cookies = Oe(t || i), this.defaultSetOptions = a, this.HAS_DOCUMENT_COOKIE = Ke();
204
- }
205
- _emitChange(t) {
206
- for (let a = 0; a < this.changeListeners.length; ++a)
207
- this.changeListeners[a](t);
208
- }
209
- _checkChanges(t) {
210
- new Set(Object.keys(t).concat(Object.keys(this.cookies))).forEach((i) => {
211
- t[i] !== this.cookies[i] && this._emitChange({
212
- name: i,
213
- value: D(this.cookies[i])
214
- });
215
- });
216
- }
217
- _startPolling() {
218
- this.pollingInterval = setInterval(this.update, 300);
219
- }
220
- _stopPolling() {
221
- this.pollingInterval && clearInterval(this.pollingInterval);
222
- }
223
- get(t, a = {}) {
224
- return a.doNotUpdate || this.update(), D(this.cookies[t], a);
225
- }
226
- getAll(t = {}) {
227
- t.doNotUpdate || this.update();
228
- const a = {};
229
- for (let i in this.cookies)
230
- a[i] = D(this.cookies[i], t);
231
- return a;
232
- }
233
- set(t, a, i) {
234
- i ? i = Object.assign(Object.assign({}, this.defaultSetOptions), i) : i = this.defaultSetOptions;
235
- const f = typeof a == "string" ? a : JSON.stringify(a);
236
- this.cookies = Object.assign(Object.assign({}, this.cookies), { [t]: f }), this.HAS_DOCUMENT_COOKIE && (document.cookie = K.serialize(t, f, i)), this._emitChange({ name: t, value: a, options: i });
237
- }
238
- remove(t, a) {
239
- const i = a = Object.assign(Object.assign(Object.assign({}, this.defaultSetOptions), a), { expires: new Date(1970, 1, 1, 0, 0, 1), maxAge: 0 });
240
- this.cookies = Object.assign({}, this.cookies), delete this.cookies[t], this.HAS_DOCUMENT_COOKIE && (document.cookie = K.serialize(t, "", i)), this._emitChange({ name: t, value: void 0, options: a });
241
- }
242
- addChangeListener(t) {
243
- this.changeListeners.push(t), this.HAS_DOCUMENT_COOKIE && this.changeListeners.length === 1 && (typeof window == "object" && "cookieStore" in window ? window.cookieStore.addEventListener("change", this.update) : this._startPolling());
244
- }
245
- removeChangeListener(t) {
246
- const a = this.changeListeners.indexOf(t);
247
- a >= 0 && this.changeListeners.splice(a, 1), this.HAS_DOCUMENT_COOKIE && this.changeListeners.length === 0 && (typeof window == "object" && "cookieStore" in window ? window.cookieStore.removeEventListener("change", this.update) : this._stopPolling());
248
- }
249
- }
250
- function se(e, { doNotParse: t = !1, autoUpdateDependencies: a = !1 } = {}, i = new _e()) {
251
- const f = a ? [...e || []] : e;
252
- let p = i.getAll({ doNotParse: !0 });
253
- const u = he(0), l = () => {
254
- const d = i.getAll({ doNotParse: !0 });
255
- Pe(
256
- f || null,
257
- d,
258
- p
259
- ) && u.value++, p = d;
260
- };
261
- return i.addChangeListener(l), ke(() => {
262
- i.removeChangeListener(l);
263
- }), {
264
- /**
265
- * Reactive get cookie by name. If **autoUpdateDependencies = true** then it will update watching dependencies
266
- */
267
- get: (...d) => (a && f && !f.includes(d[0]) && f.push(d[0]), u.value, i.get(d[0], { doNotParse: t, ...d[1] })),
268
- /**
269
- * Reactive get all cookies
270
- */
271
- getAll: (...d) => (u.value, i.getAll({ doNotParse: t, ...d[0] })),
272
- set: (...d) => i.set(...d),
273
- remove: (...d) => i.remove(...d),
274
- addChangeListener: (...d) => i.addChangeListener(...d),
275
- removeChangeListener: (...d) => i.removeChangeListener(...d)
276
- };
277
- }
278
- function Pe(e, t, a) {
279
- if (!e)
280
- return !0;
281
- for (const i of e)
282
- if (t[i] !== a[i])
283
- return !0;
284
- return !1;
285
- }
286
- const le = R({
287
- components: {
288
- BTag: Z
289
- },
290
- methods: {
291
- closeDialog() {
292
- this.dialog = !1, this.apiKey = this.cookies.get("apiKey");
293
- },
294
- async isValidApiKey() {
295
- if (!this.apiKey)
296
- return !1;
297
- const e = {
298
- apiEnvironment: window.RevolugoElements.config.apiEnvironment,
299
- apiKey: this.apiKey,
300
- apiVersion: ge.V1,
301
- optionalHeaders: window.RevolugoElements.config.optionalHeaders
302
- }, t = new ve(e);
303
- try {
304
- return !!await t.hotels.retrieve({
305
- id: "2yvb"
306
- });
307
- } catch (a) {
308
- return console.error(a), !1;
309
- }
310
- },
311
- async onSubmit() {
312
- this.validate(), await this.updateApiKey(), this.apiKey && this.closeDialog();
313
- },
314
- async updateApiKey() {
315
- try {
316
- if (this.isLoading = !0, await this.isValidApiKey())
317
- this.config.apiKey !== this.apiKey && this.updateConfig({
318
- ...this.config,
319
- apiKey: this.apiKey
320
- }), this.cookies.set("apiKey", this.apiKey, {
321
- expires: new Date(Date.now() + 1e3 * 60 * 60 * 24 * 365)
322
- });
323
- else
324
- throw new Error("Invalid API Key");
325
- } catch {
326
- console.error("Invalid API Key");
327
- } finally {
328
- this.isLoading = !1;
329
- }
330
- },
331
- validate() {
332
- this.$refs.apiKeyEditorForm.validate();
333
- }
334
- },
335
- mixins: [
336
- Se(["config.apiEnvironment"], "updateApiKey", {
337
- deep: !0,
338
- immediate: !0
339
- }),
340
- Q
341
- ],
342
- name: "ApiKeyEditor",
343
- setup() {
344
- const e = se(["apiKey"]), { t } = W(), a = E(e.get("apiKey")), i = z(
345
- () => window.RevolugoElements.config.apiEnvironment
346
- ), f = z(() => [
347
- (d) => !!d || `A valid API Key is required. ${t("ApiKeyEditor.hint", {
348
- environment: i.value
349
- })}`
350
- ]), p = E(!1), u = E(!1), l = E(!1);
351
- return {
352
- apiKey: a,
353
- apiKeyRules: f,
354
- cookies: e,
355
- dialog: p,
356
- isFormValid: u,
357
- isLoading: l,
358
- t
359
- };
360
- }
361
- // eslint-disable-next-line @typescript-eslint/no-empty-object-type, @typescript-eslint/no-explicit-any
362
- });
363
- function x(e) {
364
- const t = e;
365
- t.__i18n = t.__i18n || [], t.__i18n.push({
366
- locale: "",
367
- resource: {
368
- "en-US": {
369
- ApiKeyEditor: {
370
- hint: { t: 0, b: { t: 2, i: [{ t: 3, v: "Please, put your Publishable API Key for " }, { t: 4, k: "environment" }, { t: 3, v: " environment" }] } },
371
- invalid: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Provided API Key credential is not valid" } }
372
- }
373
- },
374
- "fr-FR": {
375
- ApiKeyEditor: {
376
- hint: { t: 0, b: { t: 2, i: [{ t: 3, v: "Indiquez votre clé API Publishable pour l'environnement " }, { t: 4, k: "environment" }] } },
377
- invalid: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "La clé API renseignée est invalide." } }
378
- }
379
- },
380
- "de-DE": {
381
- ApiKeyEditor: {
382
- hint: { t: 0, b: { t: 2, i: [{ t: 3, v: "Bitte gib deinen Veröffentlichen API-Schlüssel für die " }, { t: 4, k: "environment" }, { t: 3, v: " Umgebung an" }] } },
383
- invalid: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Der angegebene API-Schlüssel ist ungültig" } }
384
- }
385
- },
386
- "es-ES": {
387
- ApiKeyEditor: {
388
- hint: { t: 0, b: { t: 2, i: [{ t: 3, v: "Por favor, introduzca su clave API pública para el entorno " }, { t: 4, k: "environment" }] } },
389
- invalid: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "La clave API proporcionada no es válida" } }
390
- }
391
- },
392
- "it-IT": {
393
- ApiKeyEditor: {
394
- hint: { t: 0, b: { t: 2, i: [{ t: 3, v: "Inserisci la tua chiave API pubblica per l'ambiente " }, { t: 4, k: "environment" }] } },
395
- invalid: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "La chiave API fornita non è valida" } }
396
- }
397
- },
398
- "nl-NL": {
399
- ApiKeyEditor: {
400
- hint: { t: 0, b: { t: 2, i: [{ t: 3, v: "Vul hier uw Publishable API Key in voor de " }, { t: 4, k: "environment" }, { t: 3, v: " omgeving" }] } },
401
- invalid: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "De opgegeven API Key is ongeldig" } }
402
- }
403
- },
404
- "pt-PT": {
405
- ApiKeyEditor: {
406
- hint: { t: 0, b: { t: 2, i: [{ t: 3, v: "Por favor, coloque a sua chave API Publicável para o ambiente " }, { t: 4, k: "environment" }] } },
407
- invalid: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "A credencial da chave API fornecida não é válida" } }
408
- }
409
- }
410
- }
411
- });
412
- }
413
- function Ue(e, t, a, i, f, p) {
414
- return k(), L("div", null, [
415
- o(re, {
416
- modelValue: e.dialog,
417
- "onUpdate:modelValue": t[2] || (t[2] = (u) => e.dialog = u),
418
- attach: e.$dialogAttach || void 0,
419
- "max-width": "600px"
420
- }, {
421
- activator: r(({ props: u }) => [
422
- o(b, J(u, {
423
- color: e.cookies.get("apiKey") ? "success" : "warning",
424
- elevation: "0",
425
- size: "x-small"
426
- }), {
427
- default: r(() => [
428
- e.cookies.get("apiKey") ? (k(), L(F, { key: 1 }, [
429
- o(B, { class: "mr-2" }, {
430
- default: r(() => t[5] || (t[5] = [
431
- y(" fas fa-check ")
432
- ])),
433
- _: 1,
434
- __: [5]
435
- }),
436
- t[6] || (t[6] = y(" Valid API key "))
437
- ], 64)) : (k(), L(F, { key: 0 }, [
438
- o(B, { class: "mr-2" }, {
439
- default: r(() => t[3] || (t[3] = [
440
- y(" fas fa-exclamation ")
441
- ])),
442
- _: 1,
443
- __: [3]
444
- }),
445
- t[4] || (t[4] = y(" No API key provided "))
446
- ], 64))
447
- ]),
448
- _: 2
449
- }, 1040, ["color"])
450
- ]),
451
- default: r(() => [
452
- o(te, null, {
453
- default: r(() => [
454
- o(ie, { class: "pa-4" }, {
455
- default: r(() => [
456
- o(N, { class: "pa-0" }, {
457
- default: r(() => [
458
- o(O, { "no-gutters": "" }, {
459
- default: r(() => [
460
- o(ee, null, {
461
- default: r(() => [
462
- o(ne, {
463
- ref: "apiKeyEditorForm",
464
- modelValue: e.isFormValid,
465
- "onUpdate:modelValue": t[1] || (t[1] = (u) => e.isFormValid = u),
466
- class: "m-0",
467
- onSubmit: G(e.onSubmit, ["prevent"])
468
- }, {
469
- default: r(() => [
470
- o(T, {
471
- modelValue: e.apiKey,
472
- "onUpdate:modelValue": t[0] || (t[0] = (u) => e.apiKey = u),
473
- density: "compact",
474
- hint: e.t("ApiKeyEditor.hint", {
475
- environment: e.config.apiEnvironment
476
- }),
477
- label: "API Key",
478
- variant: "outlined",
479
- "persistent-hint": "",
480
- required: "",
481
- rules: e.apiKeyRules,
482
- onKeyup: I(e.onSubmit, ["enter"])
483
- }, null, 8, ["modelValue", "hint", "rules", "onKeyup"])
484
- ]),
485
- _: 1
486
- }, 8, ["modelValue", "onSubmit"])
487
- ]),
488
- _: 1
489
- })
490
- ]),
491
- _: 1
492
- })
493
- ]),
494
- _: 1
495
- })
496
- ]),
497
- _: 1
498
- }),
499
- o(ae, null, {
500
- default: r(() => [
501
- o(oe),
502
- o(b, {
503
- color: "blue-darken-1",
504
- size: "small",
505
- variant: "text",
506
- onClick: e.closeDialog
507
- }, {
508
- default: r(() => t[7] || (t[7] = [
509
- y(" Close ")
510
- ])),
511
- _: 1,
512
- __: [7]
513
- }, 8, ["onClick"]),
514
- o(b, {
515
- class: "text-right",
516
- color: "primary",
517
- disabled: e.isLoading,
518
- elevation: "0",
519
- loading: e.isLoading,
520
- size: "small",
521
- onClick: e.onSubmit
522
- }, {
523
- default: r(() => t[8] || (t[8] = [
524
- y(" Save ")
525
- ])),
526
- _: 1,
527
- __: [8]
528
- }, 8, ["disabled", "loading", "onClick"])
529
- ]),
530
- _: 1
531
- })
532
- ]),
533
- _: 1
534
- })
535
- ]),
536
- _: 1
537
- }, 8, ["modelValue", "attach"])
538
- ]);
539
- }
540
- typeof x == "function" && x(le);
541
- const De = /* @__PURE__ */ _(le, [["render", Ue]]), de = R({
542
- components: {
543
- BDateRangePicker: we,
544
- BTag: Z
545
- },
546
- computed: {
547
- ...ye(Ve),
548
- dateRange: {
549
- get() {
550
- return !this.eventMetadata.dateStart || !this.eventMetadata.dateEnd ? [] : H(
551
- this.eventMetadata.dateStart,
552
- this.eventMetadata.dateEnd
553
- );
554
- },
555
- set(e) {
556
- [this.eventMetadata.dateStart, this.eventMetadata.dateEnd] = H(...e);
557
- }
558
- },
559
- isFetching: Me("hotelOfferRequest/isFetching")
560
- },
561
- created() {
562
- this.cookies.get("eventMetadata") && this.updateConfig({
563
- ...this.config,
564
- eventMetadata: this.cookies.get("eventMetadata")
565
- });
566
- },
567
- methods: {
568
- closeDialog() {
569
- this.dialog = !1;
570
- },
571
- isValidEventMetadata() {
572
- return !(!this.eventMetadata?.name.length || !this.dateRange[0] || !this.dateRange[1]);
573
- },
574
- onReset() {
575
- this.cookies.remove("eventMetadata"), this.eventMetadata = {}, this.updateConfig({
576
- ...this.config,
577
- eventMetadata: {}
578
- }), this.closeDialog();
579
- },
580
- onSubmit() {
581
- this.updateEventMetadata(), this.closeDialog();
582
- },
583
- updateEventMetadata() {
584
- this.isValidEventMetadata() && (this.updateConfig({
585
- ...this.config,
586
- eventMetadata: this.eventMetadata
587
- }), this.cookies.set("eventMetadata", JSON.stringify(this.eventMetadata)), this.closeDialog());
588
- }
589
- },
590
- mixins: [Q, Ae()],
591
- name: "EventMetadataEditor",
592
- setup() {
593
- const e = se(["eventMetadata"]), t = E(""), a = E(
594
- e.get("eventMetadata") || {
595
- dateEnd: j().add(1, "day").format("YYYY-MM-DD").toString(),
596
- dateStart: j().format("YYYY-MM-DD").toString(),
597
- name: ""
598
- }
599
- ), { t: i } = W(), f = [
600
- (S) => {
601
- if (!S)
602
- return !0;
603
- try {
604
- return (
605
- // eslint-disable-next-line no-constant-binary-expression
606
- !!new URL(S) || i("EventMetadataEditor.validation.imageURL")
607
- );
608
- } catch {
609
- return i("EventMetadataEditor.validation.imageURL");
610
- }
611
- }
612
- ], p = [
613
- (S) => !!S || i("EventMetadataEditor.validation.name")
614
- ], u = E(!1), l = E(!1), d = E(!1);
615
- return {
616
- cookies: e,
617
- dialog: u,
618
- eventMetadata: a,
619
- imageURLRules: f,
620
- isFormValid: l,
621
- isLoading: d,
622
- name: t,
623
- nameRules: p
624
- };
625
- }
626
- // eslint-disable-next-line @typescript-eslint/no-empty-object-type, @typescript-eslint/no-explicit-any
627
- });
628
- function Y(e) {
629
- const t = e;
630
- t.__i18n = t.__i18n || [], t.__i18n.push({
631
- locale: "",
632
- resource: {
633
- "en-US": {
634
- EventMetadataEditor: {
635
- validation: {
636
- imageURL: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Please provide a valid URL" } },
637
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Please provide a name" } }
638
- }
639
- }
640
- },
641
- "fr-FR": {
642
- EventMetadataEditor: {
643
- validation: {
644
- imageURL: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Veuillez fournir une URL valide d'image" } },
645
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Veuillez entrer le nom de l'événement" } }
646
- }
647
- }
648
- },
649
- "de-DE": {
650
- EventMetadataEditor: {
651
- validation: {
652
- imageURL: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Bitte geben Sie eine gültige URL an" } },
653
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Bitte geben Sie einen Namen an" } }
654
- }
655
- }
656
- },
657
- "es-ES": {
658
- EventMetadataEditor: {
659
- validation: {
660
- imageURL: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Por favor, introduce una URL válida" } },
661
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Por favor, introduce un nombre" } }
662
- }
663
- }
664
- },
665
- "it-IT": {
666
- EventMetadataEditor: {
667
- validation: {
668
- imageURL: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Inserisci un URL valido" } },
669
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Inserisci un nome" } }
670
- }
671
- }
672
- },
673
- "nl-NL": {
674
- EventMetadataEditor: {
675
- validation: {
676
- imageURL: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Geef een geldige URL op" } },
677
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Geef een naam op" } }
678
- }
679
- }
680
- },
681
- "pt-PT": {
682
- EventMetadataEditor: {
683
- validation: {
684
- imageURL: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Por favor, introduza um URL válido" } },
685
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Por favor, introduza um nome" } }
686
- }
687
- }
688
- }
689
- }
690
- });
691
- }
692
- function Ie(e, t, a, i, f, p) {
693
- const u = C("BDateRangePicker");
694
- return k(), L("div", null, [
695
- o(re, {
696
- modelValue: e.dialog,
697
- "onUpdate:modelValue": t[4] || (t[4] = (l) => e.dialog = l),
698
- attach: e.$dialogAttach,
699
- height: "600px",
700
- "max-width": "600px"
701
- }, {
702
- activator: r(({ props: l }) => [
703
- o(b, J(l, {
704
- color: e.cookies.get("eventMetadata") ? "success" : "warning",
705
- elevation: "0",
706
- size: "x-small"
707
- }), {
708
- default: r(() => [
709
- y(Ee(e.eventMetadata?.name ? `EVENT : ${e.eventMetadata?.name}` : "ADD EVENT METADATA"), 1)
710
- ]),
711
- _: 2
712
- }, 1040, ["color"])
713
- ]),
714
- default: r(() => [
715
- o(te, null, {
716
- default: r(() => [
717
- o(ie, { class: "pa-4" }, {
718
- default: r(() => [
719
- o(N, { class: "pa-0" }, {
720
- default: r(() => [
721
- o(O, { "no-gutters": "" }, {
722
- default: r(() => [
723
- o(ee, null, {
724
- default: r(() => [
725
- o(ne, {
726
- ref: "eventMetadataEditorForm",
727
- modelValue: e.isFormValid,
728
- "onUpdate:modelValue": t[3] || (t[3] = (l) => e.isFormValid = l),
729
- class: "m-0",
730
- onSubmit: G(e.onSubmit, ["prevent"])
731
- }, {
732
- default: r(() => [
733
- o(T, {
734
- modelValue: e.eventMetadata.name,
735
- "onUpdate:modelValue": t[0] || (t[0] = (l) => e.eventMetadata.name = l),
736
- density: "compact",
737
- label: "Name of the event",
738
- variant: "outlined",
739
- "persistent-hint": "",
740
- required: "",
741
- rules: e.nameRules,
742
- onKeyup: I(e.onSubmit, ["enter"])
743
- }, null, 8, ["modelValue", "rules", "onKeyup"]),
744
- o(T, {
745
- modelValue: e.eventMetadata.imageURL,
746
- "onUpdate:modelValue": t[1] || (t[1] = (l) => e.eventMetadata.imageURL = l),
747
- density: "compact",
748
- label: "Image URL",
749
- variant: "outlined",
750
- "persistent-hint": "",
751
- rules: e.imageURLRules,
752
- onKeyup: I(e.onSubmit, ["enter"])
753
- }, null, 8, ["modelValue", "rules", "onKeyup"]),
754
- o(O, null, {
755
- default: r(() => [
756
- o(u, {
757
- modelValue: e.dateRange,
758
- "onUpdate:modelValue": t[2] || (t[2] = (l) => e.dateRange = l)
759
- }, null, 8, ["modelValue"])
760
- ]),
761
- _: 1
762
- })
763
- ]),
764
- _: 1
765
- }, 8, ["modelValue", "onSubmit"])
766
- ]),
767
- _: 1
768
- })
769
- ]),
770
- _: 1
771
- })
772
- ]),
773
- _: 1
774
- })
775
- ]),
776
- _: 1
777
- }),
778
- o(ae, null, {
779
- default: r(() => [
780
- o(oe),
781
- o(b, {
782
- color: "grey",
783
- size: "small",
784
- variant: "text",
785
- onClick: e.closeDialog
786
- }, {
787
- default: r(() => t[5] || (t[5] = [
788
- y(" Close ")
789
- ])),
790
- _: 1,
791
- __: [5]
792
- }, 8, ["onClick"]),
793
- o(b, {
794
- color: "error",
795
- disabled: e.isFetching,
796
- loading: e.isFetching,
797
- size: "small",
798
- variant: "text",
799
- onClick: e.onReset
800
- }, {
801
- default: r(() => t[6] || (t[6] = [
802
- y(" Reset ")
803
- ])),
804
- _: 1,
805
- __: [6]
806
- }, 8, ["disabled", "loading", "onClick"]),
807
- o(b, {
808
- color: "success",
809
- disabled: e.isFetching,
810
- loading: e.isFetching,
811
- size: "small",
812
- variant: "flat",
813
- onClick: e.onSubmit
814
- }, {
815
- default: r(() => t[7] || (t[7] = [
816
- y(" Save ")
817
- ])),
818
- _: 1,
819
- __: [7]
820
- }, 8, ["disabled", "loading", "onClick"])
821
- ]),
822
- _: 1
823
- })
824
- ]),
825
- _: 1
826
- })
827
- ]),
828
- _: 1
829
- }, 8, ["modelValue", "attach"])
830
- ]);
831
- }
832
- typeof Y == "function" && Y(de);
833
- const Te = /* @__PURE__ */ _(de, [["render", Ie]]), Ne = R({
834
- components: {
835
- ApiKeyEditor: De,
836
- EventMetadataEditor: Te
837
- },
838
- name: "StorybookExtraToolbar"
839
- // eslint-disable-next-line @typescript-eslint/no-empty-object-type, @typescript-eslint/no-explicit-any
840
- }), $e = { class: "flex gap-1 px-3" };
841
- function ze(e, t, a, i, f, p) {
842
- const u = C("ApiKeyEditor"), l = C("EventMetadataEditor");
843
- return k(), X(N, {
844
- class: "pa-0 mb-3",
845
- fluid: ""
846
- }, {
847
- default: r(() => [
848
- o(O, { "no-gutters": "" }, {
849
- default: r(() => [
850
- be("div", $e, [
851
- o(u),
852
- o(l)
853
- ])
854
- ]),
855
- _: 1
856
- })
857
- ]),
858
- _: 1
859
- });
860
- }
861
- const Fe = /* @__PURE__ */ _(Ne, [["render", ze]]), je = R({
862
- components: {
863
- StorybookExtraToolbar: Fe,
864
- WebComponentWrapper: Ce
865
- }
866
- });
867
- function Be(e, t, a, i, f, p) {
868
- const u = C("StorybookExtraToolbar"), l = C("WebComponentWrapper");
869
- return k(), X(l, { "error-overlay-disabled": "" }, {
870
- default: r(() => [
871
- o(u)
872
- ]),
873
- _: 1
874
- });
875
- }
876
- const st = /* @__PURE__ */ _(je, [["render", Be]]);
877
- pe("css/revolugo.storybooktoolbar.d_cxquq9.css");
878
- export {
879
- st as default
880
- };
881
- //# sourceMappingURL=revolugo.storybooktoolbar.DTCC8Ies.min.js.map