@revolugo/elements 6.8.3 → 6.9.0-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 (179) hide show
  1. package/README.md +1 -1
  2. package/dist/css/fonts.css +1 -1
  3. package/dist/css/revolugo.cancellationpoliciesbadge.BCmMv5CR.css +1 -0
  4. package/dist/css/revolugo.index.ClC0OVqq.css +5 -0
  5. package/dist/css/{revolugo.vtoolbar.BZert82L.css → revolugo.preferencesmenu.7UfG9ius.css} +1 -1
  6. package/dist/css/{revolugo.webcomponentwrapper.DRCKFwuk.css → revolugo.webcomponentwrapper.C3K3E5wv.css} +2 -2
  7. package/dist/index.es.min.js +2033 -2172
  8. package/dist/index.es.min.js.map +1 -1
  9. package/dist/index.min.js +6 -6
  10. package/dist/index.min.js.map +1 -1
  11. package/dist/revolugo.banktransferdetails.DIwmwiki.min.js +37 -0
  12. package/dist/revolugo.bookingdetailssidebar.CURYxT7w.min.js +38 -0
  13. package/dist/revolugo.bookingmanager.BgJVEAba.min.js +25 -0
  14. package/dist/revolugo.cancellationpoliciesbadge.CxO1HyOA.min.js +25 -0
  15. package/dist/revolugo.cancellationpoliciesbadge.props.D3C9w_OV.min.js +30875 -0
  16. package/dist/revolugo.cancellationpolicieslist.CClF7R0p.min.js +25 -0
  17. package/dist/revolugo.creditcardform.BLv484O_.min.js +25 -0
  18. package/dist/revolugo.creditcardpayment.BB0ucanh.min.js +25 -0
  19. package/dist/revolugo.currencypickerbtn.DMgpKcz0.min.js +25 -0
  20. package/dist/revolugo.fastbookingflow.D2tOZmpu.min.js +35 -0
  21. package/dist/revolugo.fullbookingflow.BIfijAae.min.js +25 -0
  22. package/dist/revolugo.hoteldescriptionview.C8P4XIvR.min.js +25 -0
  23. package/dist/revolugo.hotelofferlist.CXHGfElj.min.js +25 -0
  24. package/dist/revolugo.hoteloffersearchmenu.CcjkzhZJ.min.js +73 -0
  25. package/dist/revolugo.hoteloffersmap.BsVCYroc.min.js +25 -0
  26. package/dist/revolugo.hoteloffersview.B64f1wvS.min.js +20 -0
  27. package/dist/revolugo.hotelroomofferlist.CfDXaxwp.min.js +25 -0
  28. package/dist/revolugo.hotelroomoffersbookingflow.DH6meEzW.min.js +25 -0
  29. package/dist/revolugo.hotelroomoffersearchmenu.C6m4k_Rr.min.js +25 -0
  30. package/dist/revolugo.hotelroomoffersview.6hxfrH3M.min.js +25 -0
  31. package/dist/revolugo.index.UaUDIMS5.min.js +106 -0
  32. package/dist/{revolugo.index.wc.7I5uexuc.min.js → revolugo.index.wc.DEo_xTvj.min.js} +12071 -12302
  33. package/dist/revolugo.langpickerbtn.B_B4BQwa.min.js +30 -0
  34. package/dist/revolugo.min.js +1 -1
  35. package/dist/revolugo.prebookform.Btuuk21Q.min.js +25 -0
  36. package/dist/revolugo.preferencesmenu.BDPlWGes.min.js +24 -0
  37. package/dist/revolugo.preferencesmenu.BVPHimYi.min.js +1098 -0
  38. package/dist/revolugo.roominglisteditor.B55oRlzf.min.js +25 -0
  39. package/dist/revolugo.storybooktoolbar.DFiFAYLL.min.js +846 -0
  40. package/dist/revolugo.termsandconditions.C2oiRbjY.min.js +24 -0
  41. package/dist/revolugo.webcomponentwrapper.CKFKL54u.min.js +28590 -0
  42. package/package.json +5 -5
  43. package/dist/css/revolugo.bdaterangepicker.CHUExWGL.css +0 -1
  44. package/dist/css/revolugo.bhoteloffersfilterbar.BcnNI4uS.css +0 -1
  45. package/dist/css/revolugo.bhotelroomsdetails.ZHH0C1yQ.css +0 -1
  46. package/dist/css/revolugo.bhotelsearchbar.Bl5_UFe8.css +0 -1
  47. package/dist/css/revolugo.bimagecarousel.BvgD1yrr.css +0 -1
  48. package/dist/css/revolugo.bookingdetailssidebar.CNP_D5F3.css +0 -1
  49. package/dist/css/revolugo.bstarrating.Dxd1LjMb.css +0 -1
  50. package/dist/css/revolugo.btag.g-q3eChG.css +0 -1
  51. package/dist/css/revolugo.cancellationpoliciesbadge.CwgZ0PpX.css +0 -1
  52. package/dist/css/revolugo.creditcardform.DWne0Lnv.css +0 -1
  53. package/dist/css/revolugo.creditcardpayment.D2PE5FCt.css +0 -1
  54. package/dist/css/revolugo.currencypicker.DO0IrmRK.css +0 -1
  55. package/dist/css/revolugo.fullbookingflow.Bm8JAQF7.css +0 -1
  56. package/dist/css/revolugo.hoteldescriptionview.DWuzEuGF.css +0 -1
  57. package/dist/css/revolugo.hotelofferlist.BkctzTMI.css +0 -1
  58. package/dist/css/revolugo.hoteloffersmap.2oSkomDb.css +0 -1
  59. package/dist/css/revolugo.hoteloffersview.Bo2dQWYt.css +0 -1
  60. package/dist/css/revolugo.hotelroomofferlist.DpLXIpgU.css +0 -1
  61. package/dist/css/revolugo.hotelroomoffersbookingflow.LHa5iHB7.css +0 -1
  62. package/dist/css/revolugo.index.DQ3Yd6SO.css +0 -1
  63. package/dist/css/revolugo.index.XNPQF1ia.css +0 -5
  64. package/dist/css/revolugo.langpickerbtn.D2iA6mCb.css +0 -1
  65. package/dist/css/revolugo.position.7fn84IQ5.css +0 -1
  66. package/dist/css/revolugo.prebookform.DmCR7hLv.css +0 -1
  67. package/dist/css/revolugo.termsandconditions.DCvNJQQL.css +0 -1
  68. package/dist/css/revolugo.vautocomplete.CuVjyvcC.css +0 -1
  69. package/dist/css/revolugo.vbadge.BQrRJ9S0.css +0 -1
  70. package/dist/css/revolugo.vbtn.BU0YQ6en.css +0 -1
  71. package/dist/css/revolugo.vcard.B8jNYFn_.css +0 -1
  72. package/dist/css/revolugo.vcheckboxbtn.BQ05xI0T.css +0 -1
  73. package/dist/css/revolugo.vdialog.DwTSAOeg.css +0 -1
  74. package/dist/css/revolugo.vdivider.CTbbZwnv.css +0 -1
  75. package/dist/css/revolugo.vexpansionpanels.RsCANmDP.css +0 -1
  76. package/dist/css/revolugo.vinput.BPiFMorL.css +0 -1
  77. package/dist/css/revolugo.vlabel.BvKaKg7Y.css +0 -1
  78. package/dist/css/revolugo.vlist.BkGS0yqt.css +0 -1
  79. package/dist/css/revolugo.vmenu.DvKwEp1j.css +0 -1
  80. package/dist/css/revolugo.vselect.C5CKHFYB.css +0 -1
  81. package/dist/css/revolugo.vsheet.Dmcoj8cr.css +0 -1
  82. package/dist/css/revolugo.vskeletonloader.BlK8uFkX.css +0 -1
  83. package/dist/css/revolugo.vsnackbar.Cj7AcupY.css +0 -1
  84. package/dist/css/revolugo.vtextarea.HYL6WUNS.css +0 -1
  85. package/dist/css/revolugo.vtextfield.BIH_AWWP.css +0 -1
  86. package/dist/css/revolugo.vtooltip.O8QDYs1J.css +0 -1
  87. package/dist/css/revolugo.vwindowitem.CWBhiE_Y.css +0 -1
  88. package/dist/revolugo._basefor.CodrYJxd.min.js +0 -15
  89. package/dist/revolugo.banktransferdetails.BdulCgI5.min.js +0 -373
  90. package/dist/revolugo.bdaterangepicker.XZNoMSi5.min.js +0 -8435
  91. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.D9Qs1dZa.min.js +0 -61
  92. package/dist/revolugo.bhoteloffersfilterbar.Bryijtf6.min.js +0 -4685
  93. package/dist/revolugo.bhotelroomsdetails.orWBBD_o.min.js +0 -1013
  94. package/dist/revolugo.bhotelsearchbar.DxxqZWkN.min.js +0 -947
  95. package/dist/revolugo.bimagecarousel.DIPN99VA.min.js +0 -598
  96. package/dist/revolugo.bookingdetailssidebar.CD4SMOkC.min.js +0 -24
  97. package/dist/revolugo.bookingdetailssidebar.JOU68R1_.min.js +0 -880
  98. package/dist/revolugo.bookingmanager.B5cM9Mi5.min.js +0 -1789
  99. package/dist/revolugo.bpricesummaryskeleton.YKfKKB5n.min.js +0 -79
  100. package/dist/revolugo.bstarrating.vue_vue_type_script_setup_true_lang.2z9RUthr.min.js +0 -623
  101. package/dist/revolugo.btag.DjjDRtQ7.min.js +0 -387
  102. package/dist/revolugo.cancellationpoliciesbadge.D8ou6oFl.min.js +0 -225
  103. package/dist/revolugo.cancellationpoliciesbadge.jgFCG7yZ.min.js +0 -24
  104. package/dist/revolugo.cancellationpolicieslist.CZImqgN3.min.js +0 -24
  105. package/dist/revolugo.cancellationpolicieslist.D097ASNF.min.js +0 -176
  106. package/dist/revolugo.case-transformers.Dr1oSJkZ.min.js +0 -123
  107. package/dist/revolugo.common.D-l8b0V5.min.js +0 -10
  108. package/dist/revolugo.creditcardform.DNOMVOgZ.min.js +0 -2161
  109. package/dist/revolugo.creditcardform.DvHcDx2P.min.js +0 -24
  110. package/dist/revolugo.creditcardpayment.BLP3RXk4.min.js +0 -893
  111. package/dist/revolugo.creditcardpayment.D3lPKmx1.min.js +0 -24
  112. package/dist/revolugo.currencypicker.CzzS1Adp.min.js +0 -330
  113. package/dist/revolugo.currencypickerbtn.ChUEouGw.min.js +0 -163
  114. package/dist/revolugo.currencypickerbtn.DWnyc54P.min.js +0 -24
  115. package/dist/revolugo.dialog-attach.O2HXPGzj.min.js +0 -28
  116. package/dist/revolugo.dialog-transition.C6S7Ci1s.min.js +0 -114
  117. package/dist/revolugo.fastbookingflow.ChNa4jgv.min.js +0 -34
  118. package/dist/revolugo.forwardrefs.-bfQnFea.min.js +0 -71
  119. package/dist/revolugo.fullbookingflow.ByKmNqgi.min.js +0 -451
  120. package/dist/revolugo.hoteldescriptionview.CbtxEPGG.min.js +0 -3091
  121. package/dist/revolugo.hoteldescriptionview.D3JTbFxn.min.js +0 -24
  122. package/dist/revolugo.hotelofferitemlayout.tBOOIdeT.min.js +0 -259
  123. package/dist/revolugo.hotelofferlist.BVySEYbq.min.js +0 -5744
  124. package/dist/revolugo.hotelofferlist.puK2FNBR.min.js +0 -24
  125. package/dist/revolugo.hotelofferrequestcreator.CbCau_4i.min.js +0 -230
  126. package/dist/revolugo.hoteloffersearchmenu.iiAtyddA.min.js +0 -46
  127. package/dist/revolugo.hoteloffersmap.BRVm5s6N.min.js +0 -8394
  128. package/dist/revolugo.hoteloffersmap.DqKpfjbt.min.js +0 -24
  129. package/dist/revolugo.hoteloffersview.3LJ-m6BY.min.js +0 -620
  130. package/dist/revolugo.hoteloffersview.DsGyT5s7.min.js +0 -19
  131. package/dist/revolugo.hotelroomofferlist.DdMr5qEZ.min.js +0 -24
  132. package/dist/revolugo.hotelroomofferlist.M-3bowQa.min.js +0 -2934
  133. package/dist/revolugo.hotelroomofferrequestcreator.props.CUwZUDcm.min.js +0 -171
  134. package/dist/revolugo.hotelroomoffersbookingflow.Bef_aJFl.min.js +0 -1306
  135. package/dist/revolugo.hotelroomoffersearchmenu.D9Zn_Gjy.min.js +0 -25
  136. package/dist/revolugo.hotelroomoffersearchmenu.Fkf-MQ_8.min.js +0 -232
  137. package/dist/revolugo.hotelroomoffersview.BSth8Xsz.min.js +0 -305
  138. package/dist/revolugo.hotelroomoffersview.oxTgBMSk.min.js +0 -24
  139. package/dist/revolugo.index.D0uSQdJV.min.js +0 -13
  140. package/dist/revolugo.index.gIPq0z7C.min.js +0 -1037
  141. package/dist/revolugo.langpicker.CLdiic9k.min.js +0 -107
  142. package/dist/revolugo.langpickerbtn.BIHQAnjv.min.js +0 -24
  143. package/dist/revolugo.langpickerbtn.DF-m4pCF.min.js +0 -178
  144. package/dist/revolugo.position.hqKd4K_h.min.js +0 -322
  145. package/dist/revolugo.prebookform.B8aMLMuG.min.js +0 -1531
  146. package/dist/revolugo.prebookform.CxK0iSDo.min.js +0 -24
  147. package/dist/revolugo.roominglisteditor.D7WzDtw6.min.js +0 -24
  148. package/dist/revolugo.roominglisteditor.Do-pe811.min.js +0 -391
  149. package/dist/revolugo.rounded.Dnxang6X.min.js +0 -68
  150. package/dist/revolugo.ssrboot.ByGq44eI.min.js +0 -18
  151. package/dist/revolugo.storybooktoolbar.DY_mbXuP.min.js +0 -882
  152. package/dist/revolugo.termsandconditions.DXNFR45_.min.js +0 -423
  153. package/dist/revolugo.termsandconditions.DfGTVPYa.min.js +0 -23
  154. package/dist/revolugo.use-breakpoint-service.CJltQiSH.min.js +0 -106
  155. package/dist/revolugo.vautocomplete.BjPSa1jg.min.js +0 -466
  156. package/dist/revolugo.vbadge.D1RCkHoZ.min.js +0 -118
  157. package/dist/revolugo.vbtn.CQ9EDLRJ.min.js +0 -417
  158. package/dist/revolugo.vcard.DNU4i52n.min.js +0 -329
  159. package/dist/revolugo.vcheckboxbtn.De-k8-O3.min.js +0 -491
  160. package/dist/revolugo.vdialog.CjEajxIC.min.js +0 -139
  161. package/dist/revolugo.vdivider.Cp9bHPnI.min.js +0 -77
  162. package/dist/revolugo.vexpansionpanels.L2ZpX4zd.min.js +0 -276
  163. package/dist/revolugo.vform.Bw9rddZZ.min.js +0 -50
  164. package/dist/revolugo.vinput.P34xrpIC.min.js +0 -477
  165. package/dist/revolugo.vlabel.CLHrAz78.min.js +0 -51
  166. package/dist/revolugo.vlist.hRQlcp5M.min.js +0 -1348
  167. package/dist/revolugo.vmenu.BRFw3Jzk.min.js +0 -152
  168. package/dist/revolugo.vselect.u2C25NCe.min.js +0 -688
  169. package/dist/revolugo.vsheet.8UeU7qQn.min.js +0 -72
  170. package/dist/revolugo.vskeletonloader.Dk0enVo6.min.js +0 -137
  171. package/dist/revolugo.vsnackbar.18JqJsZ2.min.js +0 -202
  172. package/dist/revolugo.vspacer.CPbtu_-W.min.js +0 -7
  173. package/dist/revolugo.vtextarea.Cjuqcka5.min.js +0 -2102
  174. package/dist/revolugo.vtextfield.BUNcwTRK.min.js +0 -509
  175. package/dist/revolugo.vtoolbar.CvbAGFXR.min.js +0 -188
  176. package/dist/revolugo.vtooltip.CsXJFD-V.min.js +0 -395
  177. package/dist/revolugo.vwindowitem.DGRfRU3q.min.js +0 -329
  178. package/dist/revolugo.watch-list.D0FxBTWy.min.js +0 -16
  179. package/dist/revolugo.webcomponentwrapper.DFYGhYzz.min.js +0 -2148
@@ -1,882 +0,0 @@
1
- import { a5 as he, d as R, u as W, C as b, D as z, b$ as ge, c0 as ve, i as M, a as o, w as r, aq as G, B as I, f as y, y as J, F, o as S, K as ye, k as j, L as Ee, r as C, t as be, c as X, e as ke } from "./revolugo.index.wc.7I5uexuc.min.js";
2
- import { B as Z } from "./revolugo.btag.DjjDRtQ7.min.js";
3
- import { d as Q } from "./revolugo.dialog-attach.O2HXPGzj.min.js";
4
- import { w as Se } from "./revolugo.watch-list.D0FxBTWy.min.js";
5
- import { t as Ce } from "./revolugo.index.D0uSQdJV.min.js";
6
- import { _, V as O, a as ee, W as we } from "./revolugo.webcomponentwrapper.DFYGhYzz.min.js";
7
- import { V as te, a as ie, b as ae } from "./revolugo.vcard.DNU4i52n.min.js";
8
- import { V as $, B as Ve } from "./revolugo.bdaterangepicker.XZNoMSi5.min.js";
9
- import { V as ne } from "./revolugo.vform.Bw9rddZZ.min.js";
10
- import { V as T } from "./revolugo.vtextfield.BUNcwTRK.min.js";
11
- import { V as oe } from "./revolugo.vspacer.CPbtu_-W.min.js";
12
- import { a as k } from "./revolugo.vbtn.CQ9EDLRJ.min.js";
13
- import { V as B } from "./revolugo.index.gIPq0z7C.min.js";
14
- import { V as re } from "./revolugo.vdialog.CjEajxIC.min.js";
15
- import { p as Ae, g as Le, s as q } from "./revolugo.use-breakpoint-service.CJltQiSH.min.js";
16
- function pe(e) {
17
- try {
18
- if (typeof document < "u") {
19
- window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
20
- sheets: [],
21
- components: []
22
- };
23
- const t = import.meta.url, a = t.slice(0, t.lastIndexOf("/") + 1) + e;
24
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(a);
25
- for (const i of REVOLUGO_ELEMENTS_STYLES.components)
26
- i(a);
27
- if (e.indexOf("fonts") >= 0) {
28
- const i = document.createElement("link");
29
- i.rel = "stylesheet", linK.href = a, document.head.appendChild(i);
30
- }
31
- }
32
- } catch (t) {
33
- console.error("[revolugo-elements] ", t);
34
- }
35
- }
36
- var L = {};
37
- /*!
38
- * cookie
39
- * Copyright(c) 2012-2014 Roman Shtylman
40
- * Copyright(c) 2015 Douglas Christopher Wilson
41
- * MIT Licensed
42
- */
43
- var x;
44
- function Me() {
45
- if (x) return L;
46
- x = 1, L.parse = u, L.serialize = E;
47
- 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$/, c = /^([.]?[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]*$/;
48
- function u(s, m) {
49
- if (typeof s != "string")
50
- throw new TypeError("argument str must be a string");
51
- var n = {}, h = s.length;
52
- if (h < 2) return n;
53
- var w = m && m.decode || ue, f = 0, v = 0, g = 0;
54
- do {
55
- if (v = s.indexOf("=", f), v === -1) break;
56
- if (g = s.indexOf(";", f), g === -1)
57
- g = h;
58
- else if (v > g) {
59
- f = s.lastIndexOf(";", v - 1) + 1;
60
- continue;
61
- }
62
- var V = d(s, f, v), P = l(s, v, V), N = s.slice(V, P);
63
- if (!t.call(n, N)) {
64
- var A = d(s, v + 1, g), U = l(s, g, A);
65
- s.charCodeAt(A) === 34 && s.charCodeAt(U - 1) === 34 && (A++, U--);
66
- var me = s.slice(A, U);
67
- n[N] = ce(me, w);
68
- }
69
- f = g + 1;
70
- } while (f < h);
71
- return n;
72
- }
73
- function d(s, m, n) {
74
- do {
75
- var h = s.charCodeAt(m);
76
- if (h !== 32 && h !== 9) return m;
77
- } while (++m < n);
78
- return n;
79
- }
80
- function l(s, m, n) {
81
- for (; m > n; ) {
82
- var h = s.charCodeAt(--m);
83
- if (h !== 32 && h !== 9) return m + 1;
84
- }
85
- return n;
86
- }
87
- function E(s, m, n) {
88
- var h = n && n.encode || encodeURIComponent;
89
- if (typeof h != "function")
90
- throw new TypeError("option encode is invalid");
91
- if (!a.test(s))
92
- throw new TypeError("argument name is invalid");
93
- var w = h(m);
94
- if (!i.test(w))
95
- throw new TypeError("argument val is invalid");
96
- var f = s + "=" + w;
97
- if (!n) return f;
98
- if (n.maxAge != null) {
99
- var v = Math.floor(n.maxAge);
100
- if (!isFinite(v))
101
- throw new TypeError("option maxAge is invalid");
102
- f += "; Max-Age=" + v;
103
- }
104
- if (n.domain) {
105
- if (!c.test(n.domain))
106
- throw new TypeError("option domain is invalid");
107
- f += "; Domain=" + n.domain;
108
- }
109
- if (n.path) {
110
- if (!p.test(n.path))
111
- throw new TypeError("option path is invalid");
112
- f += "; Path=" + n.path;
113
- }
114
- if (n.expires) {
115
- var g = n.expires;
116
- if (!fe(g) || isNaN(g.valueOf()))
117
- throw new TypeError("option expires is invalid");
118
- f += "; Expires=" + g.toUTCString();
119
- }
120
- if (n.httpOnly && (f += "; HttpOnly"), n.secure && (f += "; Secure"), n.partitioned && (f += "; Partitioned"), n.priority) {
121
- var V = typeof n.priority == "string" ? n.priority.toLowerCase() : n.priority;
122
- switch (V) {
123
- case "low":
124
- f += "; Priority=Low";
125
- break;
126
- case "medium":
127
- f += "; Priority=Medium";
128
- break;
129
- case "high":
130
- f += "; Priority=High";
131
- break;
132
- default:
133
- throw new TypeError("option priority is invalid");
134
- }
135
- }
136
- if (n.sameSite) {
137
- var P = typeof n.sameSite == "string" ? n.sameSite.toLowerCase() : n.sameSite;
138
- switch (P) {
139
- case !0:
140
- f += "; SameSite=Strict";
141
- break;
142
- case "lax":
143
- f += "; SameSite=Lax";
144
- break;
145
- case "strict":
146
- f += "; SameSite=Strict";
147
- break;
148
- case "none":
149
- f += "; SameSite=None";
150
- break;
151
- default:
152
- throw new TypeError("option sameSite is invalid");
153
- }
154
- }
155
- return f;
156
- }
157
- function ue(s) {
158
- return s.indexOf("%") !== -1 ? decodeURIComponent(s) : s;
159
- }
160
- function fe(s) {
161
- return e.call(s) === "[object Date]";
162
- }
163
- function ce(s, m) {
164
- try {
165
- return m(s);
166
- } catch {
167
- return s;
168
- }
169
- }
170
- return L;
171
- }
172
- var K = Me();
173
- function Ke() {
174
- const e = typeof global > "u" ? void 0 : global.TEST_HAS_DOCUMENT_COOKIE;
175
- return typeof e == "boolean" ? e : typeof document == "object" && typeof document.cookie == "string";
176
- }
177
- function Oe(e) {
178
- return typeof e == "string" ? K.parse(e) : typeof e == "object" && e !== null ? e : {};
179
- }
180
- function D(e, t = {}) {
181
- const a = Re(e);
182
- if (!t.doNotParse)
183
- try {
184
- return JSON.parse(a);
185
- } catch {
186
- }
187
- return e;
188
- }
189
- function Re(e) {
190
- return e && e[0] === "j" && e[1] === ":" ? e.substr(2) : e;
191
- }
192
- class _e {
193
- constructor(t, a = {}) {
194
- this.changeListeners = [], this.HAS_DOCUMENT_COOKIE = !1, this.update = () => {
195
- if (!this.HAS_DOCUMENT_COOKIE)
196
- return;
197
- const c = this.cookies;
198
- this.cookies = K.parse(document.cookie), this._checkChanges(c);
199
- };
200
- const i = typeof document > "u" ? "" : document.cookie;
201
- this.cookies = Oe(t || i), this.defaultSetOptions = a, this.HAS_DOCUMENT_COOKIE = Ke();
202
- }
203
- _emitChange(t) {
204
- for (let a = 0; a < this.changeListeners.length; ++a)
205
- this.changeListeners[a](t);
206
- }
207
- _checkChanges(t) {
208
- new Set(Object.keys(t).concat(Object.keys(this.cookies))).forEach((i) => {
209
- t[i] !== this.cookies[i] && this._emitChange({
210
- name: i,
211
- value: D(this.cookies[i])
212
- });
213
- });
214
- }
215
- _startPolling() {
216
- this.pollingInterval = setInterval(this.update, 300);
217
- }
218
- _stopPolling() {
219
- this.pollingInterval && clearInterval(this.pollingInterval);
220
- }
221
- get(t, a = {}) {
222
- return a.doNotUpdate || this.update(), D(this.cookies[t], a);
223
- }
224
- getAll(t = {}) {
225
- t.doNotUpdate || this.update();
226
- const a = {};
227
- for (let i in this.cookies)
228
- a[i] = D(this.cookies[i], t);
229
- return a;
230
- }
231
- set(t, a, i) {
232
- i ? i = Object.assign(Object.assign({}, this.defaultSetOptions), i) : i = this.defaultSetOptions;
233
- const c = typeof a == "string" ? a : JSON.stringify(a);
234
- this.cookies = Object.assign(Object.assign({}, this.cookies), { [t]: c }), this.HAS_DOCUMENT_COOKIE && (document.cookie = K.serialize(t, c, i)), this._emitChange({ name: t, value: a, options: i });
235
- }
236
- remove(t, a) {
237
- const i = a = Object.assign(Object.assign(Object.assign({}, this.defaultSetOptions), a), { expires: new Date(1970, 1, 1, 0, 0, 1), maxAge: 0 });
238
- 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 });
239
- }
240
- addChangeListener(t) {
241
- 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());
242
- }
243
- removeChangeListener(t) {
244
- const a = this.changeListeners.indexOf(t);
245
- 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());
246
- }
247
- }
248
- function se(e, { doNotParse: t = !1, autoUpdateDependencies: a = !1 } = {}, i = new _e()) {
249
- const c = a ? [...e || []] : e;
250
- let p = i.getAll({ doNotParse: !0 });
251
- const u = he(0), d = () => {
252
- const l = i.getAll({ doNotParse: !0 });
253
- Pe(
254
- c || null,
255
- l,
256
- p
257
- ) && u.value++, p = l;
258
- };
259
- return i.addChangeListener(d), Ce(() => {
260
- i.removeChangeListener(d);
261
- }), {
262
- /**
263
- * Reactive get cookie by name. If **autoUpdateDependencies = true** then it will update watching dependencies
264
- */
265
- get: (...l) => (a && c && !c.includes(l[0]) && c.push(l[0]), u.value, i.get(l[0], { doNotParse: t, ...l[1] })),
266
- /**
267
- * Reactive get all cookies
268
- */
269
- getAll: (...l) => (u.value, i.getAll({ doNotParse: t, ...l[0] })),
270
- set: (...l) => i.set(...l),
271
- remove: (...l) => i.remove(...l),
272
- addChangeListener: (...l) => i.addChangeListener(...l),
273
- removeChangeListener: (...l) => i.removeChangeListener(...l)
274
- };
275
- }
276
- function Pe(e, t, a) {
277
- if (!e)
278
- return !0;
279
- for (const i of e)
280
- if (t[i] !== a[i])
281
- return !0;
282
- return !1;
283
- }
284
- const le = R({
285
- components: {
286
- BTag: Z
287
- },
288
- methods: {
289
- closeDialog() {
290
- this.dialog = !1, this.apiKey = this.cookies.get("apiKey");
291
- },
292
- async isValidApiKey() {
293
- if (!this.apiKey)
294
- return !1;
295
- const e = {
296
- apiEnvironment: window.RevolugoElements.config.apiEnvironment,
297
- apiKey: this.apiKey,
298
- apiVersion: ge.V1,
299
- optionalHeaders: window.RevolugoElements.config.optionalHeaders
300
- }, t = new ve(e);
301
- try {
302
- return !!await t.hotels.retrieve({
303
- id: "67xX"
304
- });
305
- } catch (a) {
306
- return console.error(a), !1;
307
- }
308
- },
309
- async onSubmit() {
310
- this.validate(), await this.updateApiKey(), this.apiKey && this.closeDialog();
311
- },
312
- async updateApiKey() {
313
- try {
314
- if (this.isLoading = !0, await this.isValidApiKey())
315
- this.config.apiKey !== this.apiKey && this.updateConfig({
316
- ...this.config,
317
- apiKey: this.apiKey
318
- }), this.cookies.set("apiKey", this.apiKey, {
319
- expires: new Date(Date.now() + 1e3 * 60 * 60 * 24 * 365)
320
- });
321
- else
322
- throw new Error("Invalid API Key");
323
- } catch {
324
- console.error("Invalid API Key");
325
- } finally {
326
- this.isLoading = !1;
327
- }
328
- },
329
- validate() {
330
- this.$refs.apiKeyEditorForm.validate();
331
- }
332
- },
333
- mixins: [
334
- Se(["config.apiEnvironment"], "updateApiKey", {
335
- deep: !0,
336
- immediate: !0
337
- }),
338
- Q
339
- ],
340
- name: "ApiKeyEditor",
341
- setup() {
342
- const e = se(["apiKey"]), { t } = W(), a = b(e.get("apiKey")), i = z(
343
- () => window.RevolugoElements.config.apiEnvironment
344
- ), c = z(() => [
345
- (l) => !!l || `A valid API Key is required. ${t("ApiKeyEditor.hint", {
346
- environment: i.value
347
- })}`
348
- ]), p = b(!1), u = b(!1), d = b(!1);
349
- return {
350
- apiKey: a,
351
- apiKeyRules: c,
352
- cookies: e,
353
- dialog: p,
354
- isFormValid: u,
355
- isLoading: d,
356
- t
357
- };
358
- }
359
- // eslint-disable-next-line @typescript-eslint/no-empty-object-type, @typescript-eslint/no-explicit-any
360
- });
361
- function H(e) {
362
- const t = e;
363
- t.__i18n = t.__i18n || [], t.__i18n.push({
364
- locale: "",
365
- resource: {
366
- "en-US": {
367
- ApiKeyEditor: {
368
- 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" }] } },
369
- invalid: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Provided API Key credential is not valid" } }
370
- }
371
- },
372
- "fr-FR": {
373
- ApiKeyEditor: {
374
- hint: { t: 0, b: { t: 2, i: [{ t: 3, v: "Indiquez votre clé API Publishable pour l'environnement " }, { t: 4, k: "environment" }] } },
375
- invalid: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "La clé API renseignée est invalide." } }
376
- }
377
- },
378
- "de-DE": {
379
- ApiKeyEditor: {
380
- 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" }] } },
381
- invalid: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Der angegebene API-Schlüssel ist ungültig" } }
382
- }
383
- },
384
- "es-ES": {
385
- ApiKeyEditor: {
386
- 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" }] } },
387
- invalid: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "La clave API proporcionada no es válida" } }
388
- }
389
- },
390
- "it-IT": {
391
- ApiKeyEditor: {
392
- hint: { t: 0, b: { t: 2, i: [{ t: 3, v: "Inserisci la tua chiave API pubblica per l'ambiente " }, { t: 4, k: "environment" }] } },
393
- invalid: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "La chiave API fornita non è valida" } }
394
- }
395
- },
396
- "nl-NL": {
397
- ApiKeyEditor: {
398
- 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" }] } },
399
- invalid: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "De opgegeven API Key is ongeldig" } }
400
- }
401
- },
402
- "pt-PT": {
403
- ApiKeyEditor: {
404
- 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" }] } },
405
- invalid: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "A credencial da chave API fornecida não é válida" } }
406
- }
407
- }
408
- }
409
- });
410
- }
411
- function Ue(e, t, a, i, c, p) {
412
- return S(), M("div", null, [
413
- o(re, {
414
- modelValue: e.dialog,
415
- "onUpdate:modelValue": t[2] || (t[2] = (u) => e.dialog = u),
416
- attach: e.$dialogAttach || void 0,
417
- "max-width": "600px"
418
- }, {
419
- activator: r(({ props: u }) => [
420
- o(k, J(u, {
421
- color: e.cookies.get("apiKey") ? "success" : "warning",
422
- elevation: "0",
423
- size: "x-small"
424
- }), {
425
- default: r(() => [
426
- e.cookies.get("apiKey") ? (S(), M(F, { key: 1 }, [
427
- o(B, { class: "mr-2" }, {
428
- default: r(() => t[5] || (t[5] = [
429
- y(" fas fa-check ")
430
- ])),
431
- _: 1,
432
- __: [5]
433
- }),
434
- t[6] || (t[6] = y(" Valid API key "))
435
- ], 64)) : (S(), M(F, { key: 0 }, [
436
- o(B, { class: "mr-2" }, {
437
- default: r(() => t[3] || (t[3] = [
438
- y(" fas fa-exclamation ")
439
- ])),
440
- _: 1,
441
- __: [3]
442
- }),
443
- t[4] || (t[4] = y(" No API key provided "))
444
- ], 64))
445
- ]),
446
- _: 2
447
- }, 1040, ["color"])
448
- ]),
449
- default: r(() => [
450
- o(te, null, {
451
- default: r(() => [
452
- o(ie, { class: "pa-4" }, {
453
- default: r(() => [
454
- o($, { class: "pa-0" }, {
455
- default: r(() => [
456
- o(O, { "no-gutters": "" }, {
457
- default: r(() => [
458
- o(ee, null, {
459
- default: r(() => [
460
- o(ne, {
461
- ref: "apiKeyEditorForm",
462
- modelValue: e.isFormValid,
463
- "onUpdate:modelValue": t[1] || (t[1] = (u) => e.isFormValid = u),
464
- class: "m-0",
465
- onSubmit: G(e.onSubmit, ["prevent"])
466
- }, {
467
- default: r(() => [
468
- o(T, {
469
- modelValue: e.apiKey,
470
- "onUpdate:modelValue": t[0] || (t[0] = (u) => e.apiKey = u),
471
- density: "compact",
472
- hint: e.t("ApiKeyEditor.hint", {
473
- environment: e.config.apiEnvironment
474
- }),
475
- label: "API Key",
476
- variant: "outlined",
477
- "persistent-hint": "",
478
- required: "",
479
- rules: e.apiKeyRules,
480
- onKeyup: I(e.onSubmit, ["enter"])
481
- }, null, 8, ["modelValue", "hint", "rules", "onKeyup"])
482
- ]),
483
- _: 1
484
- }, 8, ["modelValue", "onSubmit"])
485
- ]),
486
- _: 1
487
- })
488
- ]),
489
- _: 1
490
- })
491
- ]),
492
- _: 1
493
- })
494
- ]),
495
- _: 1
496
- }),
497
- o(ae, null, {
498
- default: r(() => [
499
- o(oe),
500
- o(k, {
501
- color: "blue-darken-1",
502
- size: "small",
503
- variant: "text",
504
- onClick: e.closeDialog
505
- }, {
506
- default: r(() => t[7] || (t[7] = [
507
- y(" Close ")
508
- ])),
509
- _: 1,
510
- __: [7]
511
- }, 8, ["onClick"]),
512
- o(k, {
513
- class: "text-right",
514
- color: "primary",
515
- disabled: e.isLoading,
516
- elevation: "0",
517
- loading: e.isLoading,
518
- size: "small",
519
- onClick: e.onSubmit
520
- }, {
521
- default: r(() => t[8] || (t[8] = [
522
- y(" Save ")
523
- ])),
524
- _: 1,
525
- __: [8]
526
- }, 8, ["disabled", "loading", "onClick"])
527
- ]),
528
- _: 1
529
- })
530
- ]),
531
- _: 1
532
- })
533
- ]),
534
- _: 1
535
- }, 8, ["modelValue", "attach"])
536
- ]);
537
- }
538
- typeof H == "function" && H(le);
539
- const De = /* @__PURE__ */ _(le, [["render", Ue]]), de = R({
540
- components: {
541
- BDateRangePicker: Ve,
542
- BTag: Z
543
- },
544
- computed: {
545
- ...ye(Ee),
546
- dateRange: {
547
- get() {
548
- return !this.eventMetadata.dateStart || !this.eventMetadata.dateEnd ? [] : q(
549
- this.eventMetadata.dateStart,
550
- this.eventMetadata.dateEnd
551
- );
552
- },
553
- set(e) {
554
- [this.eventMetadata.dateStart, this.eventMetadata.dateEnd] = q(...e);
555
- }
556
- },
557
- isFetching: Le("hotelOfferRequest/isFetching")
558
- },
559
- created() {
560
- this.cookies.get("eventMetadata") && this.updateConfig({
561
- ...this.config,
562
- eventMetadata: this.cookies.get("eventMetadata")
563
- });
564
- },
565
- methods: {
566
- closeDialog() {
567
- this.dialog = !1;
568
- },
569
- isValidEventMetadata() {
570
- var e;
571
- return !(!((e = this.eventMetadata) != null && e.name.length) || !this.dateRange[0] || !this.dateRange[1]);
572
- },
573
- onReset() {
574
- this.cookies.remove("eventMetadata"), this.eventMetadata = {}, this.updateConfig({
575
- ...this.config,
576
- eventMetadata: {}
577
- }), this.closeDialog();
578
- },
579
- onSubmit() {
580
- this.updateEventMetadata(), this.closeDialog();
581
- },
582
- updateEventMetadata() {
583
- this.isValidEventMetadata() && (this.updateConfig({
584
- ...this.config,
585
- eventMetadata: this.eventMetadata
586
- }), this.cookies.set("eventMetadata", JSON.stringify(this.eventMetadata)), this.closeDialog());
587
- }
588
- },
589
- mixins: [Q, Ae()],
590
- name: "EventMetadataEditor",
591
- setup() {
592
- const e = se(["eventMetadata"]), t = b(""), a = b(
593
- e.get("eventMetadata") || {
594
- dateEnd: j().add(1, "day").format("YYYY-MM-DD").toString(),
595
- dateStart: j().format("YYYY-MM-DD").toString(),
596
- name: ""
597
- }
598
- ), { t: i } = W(), c = [
599
- (E) => {
600
- if (!E)
601
- return !0;
602
- try {
603
- return (
604
- // eslint-disable-next-line no-constant-binary-expression
605
- !!new URL(E) || i("EventMetadataEditor.validation.imageURL")
606
- );
607
- } catch {
608
- return i("EventMetadataEditor.validation.imageURL");
609
- }
610
- }
611
- ], p = [
612
- (E) => !!E || i("EventMetadataEditor.validation.name")
613
- ], u = b(!1), d = b(!1), l = b(!1);
614
- return {
615
- cookies: e,
616
- dialog: u,
617
- eventMetadata: a,
618
- imageURLRules: c,
619
- isFormValid: d,
620
- isLoading: l,
621
- name: t,
622
- nameRules: p
623
- };
624
- }
625
- // eslint-disable-next-line @typescript-eslint/no-empty-object-type, @typescript-eslint/no-explicit-any
626
- });
627
- function Y(e) {
628
- const t = e;
629
- t.__i18n = t.__i18n || [], t.__i18n.push({
630
- locale: "",
631
- resource: {
632
- "en-US": {
633
- EventMetadataEditor: {
634
- validation: {
635
- imageURL: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Please provide a valid URL" } },
636
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Please provide a name" } }
637
- }
638
- }
639
- },
640
- "fr-FR": {
641
- EventMetadataEditor: {
642
- validation: {
643
- imageURL: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Veuillez fournir une URL valide d'image" } },
644
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Veuillez entrer le nom de l'événement" } }
645
- }
646
- }
647
- },
648
- "de-DE": {
649
- EventMetadataEditor: {
650
- validation: {
651
- imageURL: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Bitte geben Sie eine gültige URL an" } },
652
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Bitte geben Sie einen Namen an" } }
653
- }
654
- }
655
- },
656
- "es-ES": {
657
- EventMetadataEditor: {
658
- validation: {
659
- imageURL: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Por favor, introduce una URL válida" } },
660
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Por favor, introduce un nombre" } }
661
- }
662
- }
663
- },
664
- "it-IT": {
665
- EventMetadataEditor: {
666
- validation: {
667
- imageURL: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Inserisci un URL valido" } },
668
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Inserisci un nome" } }
669
- }
670
- }
671
- },
672
- "nl-NL": {
673
- EventMetadataEditor: {
674
- validation: {
675
- imageURL: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Geef een geldige URL op" } },
676
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Geef een naam op" } }
677
- }
678
- }
679
- },
680
- "pt-PT": {
681
- EventMetadataEditor: {
682
- validation: {
683
- imageURL: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Por favor, introduza um URL válido" } },
684
- name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Por favor, introduza um nome" } }
685
- }
686
- }
687
- }
688
- }
689
- });
690
- }
691
- function Ie(e, t, a, i, c, p) {
692
- const u = C("BDateRangePicker");
693
- return S(), M("div", null, [
694
- o(re, {
695
- modelValue: e.dialog,
696
- "onUpdate:modelValue": t[4] || (t[4] = (d) => e.dialog = d),
697
- attach: e.$dialogAttach,
698
- height: "600px",
699
- "max-width": "600px"
700
- }, {
701
- activator: r(({ props: d }) => [
702
- o(k, J(d, {
703
- color: e.cookies.get("eventMetadata") ? "success" : "warning",
704
- elevation: "0",
705
- size: "x-small"
706
- }), {
707
- default: r(() => {
708
- var l, E;
709
- return [
710
- y(be((l = e.eventMetadata) != null && l.name ? `EVENT : ${(E = e.eventMetadata) == null ? void 0 : E.name}` : "ADD EVENT METADATA"), 1)
711
- ];
712
- }),
713
- _: 2
714
- }, 1040, ["color"])
715
- ]),
716
- default: r(() => [
717
- o(te, null, {
718
- default: r(() => [
719
- o(ie, { class: "pa-4" }, {
720
- default: r(() => [
721
- o($, { class: "pa-0" }, {
722
- default: r(() => [
723
- o(O, { "no-gutters": "" }, {
724
- default: r(() => [
725
- o(ee, null, {
726
- default: r(() => [
727
- o(ne, {
728
- ref: "eventMetadataEditorForm",
729
- modelValue: e.isFormValid,
730
- "onUpdate:modelValue": t[3] || (t[3] = (d) => e.isFormValid = d),
731
- class: "m-0",
732
- onSubmit: G(e.onSubmit, ["prevent"])
733
- }, {
734
- default: r(() => [
735
- o(T, {
736
- modelValue: e.eventMetadata.name,
737
- "onUpdate:modelValue": t[0] || (t[0] = (d) => e.eventMetadata.name = d),
738
- density: "compact",
739
- label: "Name of the event",
740
- variant: "outlined",
741
- "persistent-hint": "",
742
- required: "",
743
- rules: e.nameRules,
744
- onKeyup: I(e.onSubmit, ["enter"])
745
- }, null, 8, ["modelValue", "rules", "onKeyup"]),
746
- o(T, {
747
- modelValue: e.eventMetadata.imageURL,
748
- "onUpdate:modelValue": t[1] || (t[1] = (d) => e.eventMetadata.imageURL = d),
749
- density: "compact",
750
- label: "Image URL",
751
- variant: "outlined",
752
- "persistent-hint": "",
753
- rules: e.imageURLRules,
754
- onKeyup: I(e.onSubmit, ["enter"])
755
- }, null, 8, ["modelValue", "rules", "onKeyup"]),
756
- o(O, null, {
757
- default: r(() => [
758
- o(u, {
759
- modelValue: e.dateRange,
760
- "onUpdate:modelValue": t[2] || (t[2] = (d) => e.dateRange = d)
761
- }, null, 8, ["modelValue"])
762
- ]),
763
- _: 1
764
- })
765
- ]),
766
- _: 1
767
- }, 8, ["modelValue", "onSubmit"])
768
- ]),
769
- _: 1
770
- })
771
- ]),
772
- _: 1
773
- })
774
- ]),
775
- _: 1
776
- })
777
- ]),
778
- _: 1
779
- }),
780
- o(ae, null, {
781
- default: r(() => [
782
- o(oe),
783
- o(k, {
784
- color: "blue-darken-1",
785
- size: "small",
786
- variant: "text",
787
- onClick: e.closeDialog
788
- }, {
789
- default: r(() => t[5] || (t[5] = [
790
- y(" Close ")
791
- ])),
792
- _: 1,
793
- __: [5]
794
- }, 8, ["onClick"]),
795
- o(k, {
796
- color: "error",
797
- disabled: e.isFetching,
798
- loading: e.isFetching,
799
- size: "small",
800
- variant: "text",
801
- onClick: e.onReset
802
- }, {
803
- default: r(() => t[6] || (t[6] = [
804
- y(" Reset ")
805
- ])),
806
- _: 1,
807
- __: [6]
808
- }, 8, ["disabled", "loading", "onClick"]),
809
- o(k, {
810
- color: "primary",
811
- disabled: e.isFetching,
812
- loading: e.isFetching,
813
- size: "small",
814
- onClick: e.onSubmit
815
- }, {
816
- default: r(() => t[7] || (t[7] = [
817
- y(" Save ")
818
- ])),
819
- _: 1,
820
- __: [7]
821
- }, 8, ["disabled", "loading", "onClick"])
822
- ]),
823
- _: 1
824
- })
825
- ]),
826
- _: 1
827
- })
828
- ]),
829
- _: 1
830
- }, 8, ["modelValue", "attach"])
831
- ]);
832
- }
833
- typeof Y == "function" && Y(de);
834
- const Te = /* @__PURE__ */ _(de, [["render", Ie]]), $e = R({
835
- components: {
836
- ApiKeyEditor: De,
837
- EventMetadataEditor: Te
838
- },
839
- name: "StorybookExtraToolbar"
840
- // eslint-disable-next-line @typescript-eslint/no-empty-object-type, @typescript-eslint/no-explicit-any
841
- }), Ne = { class: "flex gap-1 px-3" };
842
- function ze(e, t, a, i, c, p) {
843
- const u = C("ApiKeyEditor"), d = C("EventMetadataEditor");
844
- return S(), X($, {
845
- class: "pa-0 mb-3",
846
- fluid: ""
847
- }, {
848
- default: r(() => [
849
- o(O, { "no-gutters": "" }, {
850
- default: r(() => [
851
- ke("div", Ne, [
852
- o(u),
853
- o(d)
854
- ])
855
- ]),
856
- _: 1
857
- })
858
- ]),
859
- _: 1
860
- });
861
- }
862
- const Fe = /* @__PURE__ */ _($e, [["render", ze]]), je = R({
863
- components: {
864
- StorybookExtraToolbar: Fe,
865
- WebComponentWrapper: we
866
- }
867
- });
868
- function Be(e, t, a, i, c, p) {
869
- const u = C("StorybookExtraToolbar"), d = C("WebComponentWrapper");
870
- return S(), X(d, { "error-overlay-disabled": "" }, {
871
- default: r(() => [
872
- o(u)
873
- ]),
874
- _: 1
875
- });
876
- }
877
- const ot = /* @__PURE__ */ _(je, [["render", Be]]);
878
- pe("css/revolugo.storybooktoolbar.d_cxquq9.css");
879
- export {
880
- ot as default
881
- };
882
- //# sourceMappingURL=revolugo.storybooktoolbar.DY_mbXuP.min.js.map