@revolugo/elements 6.7.3-rc.2 → 6.8.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.
- package/dist/index.es.min.js +2622 -2554
- package/dist/index.es.min.js.map +1 -1
- package/dist/index.min.js +6 -6
- package/dist/index.min.js.map +1 -1
- package/dist/revolugo._basefor.CodrYJxd.min.js +15 -0
- package/dist/{revolugo.banktransferdetails.arP5j__o.min.js → revolugo.banktransferdetails.D70RTc43.min.js} +24 -23
- package/dist/{revolugo.bdaterangepicker.Ba26rd5I.min.js → revolugo.bdaterangepicker.B8BqSfrk.min.js} +121 -6
- package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.TjFyJK3o.min.js +61 -0
- package/dist/{revolugo.bhoteloffersfilterbar.CwCd9oox.min.js → revolugo.bhoteloffersfilterbar.DeYwgC-X.min.js} +173 -169
- package/dist/{revolugo.bpricesummaryskeleton.DH-Kuge7.min.js → revolugo.bhotelroomsdetails.qOkb7bF4.min.js} +169 -241
- package/dist/{revolugo.bhotelsearchbar.DaX-iQTB.min.js → revolugo.bhotelsearchbar.DS8JMdFX.min.js} +77 -76
- package/dist/{revolugo.bimagecarousel.CgrOcU1C.min.js → revolugo.bimagecarousel.EmC1mHXe.min.js} +36 -36
- package/dist/{revolugo.bookingdetailssidebar.CXHn5MDn.min.js → revolugo.bookingdetailssidebar.OgMINhMq.min.js} +184 -202
- package/dist/revolugo.bookingdetailssidebar.lJaJEdFg.min.js +24 -0
- package/dist/{revolugo.bookingmanager.BIFir20P.min.js → revolugo.bookingmanager.m08SYP86.min.js} +51 -48
- package/dist/revolugo.bpricesummaryskeleton.T6fWvVKX.min.js +79 -0
- package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.ACZ7Rna9.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.M46KdeWM.min.js} +28 -27
- package/dist/{revolugo.btag.0ugEj-2W.min.js → revolugo.btag.Cd9RL-Se.min.js} +70 -69
- package/dist/{revolugo.cancellationpoliciesbadge.BakDGPnx.min.js → revolugo.cancellationpoliciesbadge.BAWLhoFE.min.js} +51 -70
- package/dist/revolugo.cancellationpoliciesbadge.x9SgSKRO.min.js +24 -0
- package/dist/revolugo.cancellationpolicieslist.CXEi_O_B.min.js +24 -0
- package/dist/{revolugo.cancellationpolicieslist.C_FFhkUD.min.js → revolugo.cancellationpolicieslist.kh5sahhd.min.js} +28 -47
- package/dist/revolugo.case-transformers.DfCc1sKY.min.js +123 -0
- package/dist/revolugo.common.D-l8b0V5.min.js +10 -0
- package/dist/revolugo.creditcardform.Cz_EExR3.min.js +24 -0
- package/dist/{revolugo.creditcardform.B5bfYD6z.min.js → revolugo.creditcardform.ZqPrv4K6.min.js} +652 -903
- package/dist/revolugo.creditcardpayment.C47xZXR4.min.js +24 -0
- package/dist/{revolugo.creditcardpayment.DzD24_nR.min.js → revolugo.creditcardpayment.olC2sHv8.min.js} +138 -154
- package/dist/{revolugo.currencypicker.LtjCHf9r.min.js → revolugo.currencypicker.D44ks2e0.min.js} +19 -18
- package/dist/revolugo.currencypickerbtn.C2gt2Wvi.min.js +24 -0
- package/dist/revolugo.currencypickerbtn.Da2NhlAu.min.js +163 -0
- package/dist/revolugo.dialog-attach.C_5QvJAn.min.js +28 -0
- package/dist/revolugo.dialog-transition.ksNwOfBf.min.js +114 -0
- package/dist/revolugo.fastbookingflow.BIb9TBpX.min.js +34 -0
- package/dist/revolugo.forwardrefs.-bfQnFea.min.js +71 -0
- package/dist/{revolugo.fullbookingflow.CkMmSkIU.min.js → revolugo.fullbookingflow.BVg0Q886.min.js} +77 -75
- package/dist/{revolugo.hoteldescriptionview.Cp5ZgFcV.min.js → revolugo.hoteldescriptionview.BoCEWA7i.min.js} +363 -379
- package/dist/revolugo.hoteldescriptionview.DflBNZtA.min.js +24 -0
- package/dist/{revolugo.hotelofferitemlayout.Bhhi0sg3.min.js → revolugo.hotelofferitemlayout.B954A8ZU.min.js} +9 -9
- package/dist/revolugo.hotelofferlist.DkUtJZ29.min.js +24 -0
- package/dist/{revolugo.hotelofferlist.BTgDe-tp.min.js → revolugo.hotelofferlist.VpDpWMAm.min.js} +1158 -1176
- package/dist/{revolugo.hotelofferrequestcreator.B17qgpU2.min.js → revolugo.hotelofferrequestcreator.CrrP-Mjf.min.js} +7 -7
- package/dist/revolugo.hoteloffersearchmenu.BD26Zl70.min.js +46 -0
- package/dist/revolugo.hoteloffersmap.599v6DtH.min.js +8394 -0
- package/dist/revolugo.hoteloffersmap.O73rRIrY.min.js +24 -0
- package/dist/{revolugo.hoteloffersview.D1-F8ONF.min.js → revolugo.hoteloffersview.BSuaPamT.min.js} +161 -176
- package/dist/revolugo.hoteloffersview.uFcA-Q8V.min.js +19 -0
- package/dist/revolugo.hotelroomofferlist.047wvmlm.min.js +24 -0
- package/dist/{revolugo.hotelroomofferlist.BpTAFyMO.min.js → revolugo.hotelroomofferlist.hNh95LPc.min.js} +468 -485
- package/dist/revolugo.hotelroomofferrequestcreator.props.Ch20MI-1.min.js +171 -0
- package/dist/{revolugo.hotelroomoffersbookingflow.BNm52u6c.min.js → revolugo.hotelroomoffersbookingflow.CIga3epB.min.js} +40 -39
- package/dist/revolugo.hotelroomoffersearchmenu.BqPoCOJV.min.js +25 -0
- package/dist/{revolugo.hotelroomoffersearchmenu.Bysb279d.min.js → revolugo.hotelroomoffersearchmenu.SXEmMWNu.min.js} +29 -49
- package/dist/{revolugo.hotelroomoffersview.BVbajWFv.min.js → revolugo.hotelroomoffersview.C29cidjz.min.js} +71 -91
- package/dist/revolugo.hotelroomoffersview.gzfKsSHa.min.js +24 -0
- package/dist/{revolugo.index.BX4WZjgg.min.js → revolugo.index.BaBMFwcZ.min.js} +6 -6
- package/dist/revolugo.index.MUWumuM5.min.js +1037 -0
- package/dist/{revolugo.rounded.u4maswiM.min.js → revolugo.index.wc.hcj2tBQa.min.js} +12976 -13227
- package/dist/{revolugo.langpicker.BTmjf3Hy.min.js → revolugo.langpicker.CTF21wTY.min.js} +15 -15
- package/dist/revolugo.langpickerbtn.DMWudtGn.min.js +24 -0
- package/dist/{revolugo.langpickerbtn.DthGIqyz.min.js → revolugo.langpickerbtn.E0CLTwCX.min.js} +53 -71
- package/dist/revolugo.min.js +1 -1
- package/dist/{revolugo.position.CEExVEE8.min.js → revolugo.position.mEwvDkCr.min.js} +45 -44
- package/dist/{revolugo.prebookform.By-V1bl9.min.js → revolugo.prebookform.BcktaxEc.min.js} +94 -114
- package/dist/revolugo.prebookform.Bi-sWZL0.min.js +24 -0
- package/dist/revolugo.roominglisteditor.BgDPCfkP.min.js +24 -0
- package/dist/{revolugo.roominglisteditor.BTk6Ieu-.min.js → revolugo.roominglisteditor.jO9FT_rG.min.js} +82 -101
- package/dist/revolugo.rounded.DGGd6U47.min.js +68 -0
- package/dist/revolugo.ssrboot.RImRxJU9.min.js +18 -0
- package/dist/{revolugo.storybooktoolbar.CFuRMVxX.min.js → revolugo.storybooktoolbar.cK-_oh_-.min.js} +110 -108
- package/dist/{revolugo.termsandconditions.B1itHoql.min.js → revolugo.termsandconditions.Bf8tOgI4.min.js} +90 -108
- package/dist/revolugo.termsandconditions.DrrQwLEt.min.js +23 -0
- package/dist/revolugo.use-breakpoint-service.C55UqJ8N.min.js +106 -0
- package/dist/{revolugo.vautocomplete.bQzOaYWm.min.js → revolugo.vautocomplete.X5OrrUPl.min.js} +133 -132
- package/dist/{revolugo.vbadge.Cm6IZIUx.min.js → revolugo.vbadge.BeCXlcev.min.js} +33 -32
- package/dist/{revolugo.vbtn.D3Vm2ZlS.min.js → revolugo.vbtn.DSYh8Plf.min.js} +82 -81
- package/dist/{revolugo.vcard.D7M0YovD.min.js → revolugo.vcard.DrUjDHZJ.min.js} +50 -49
- package/dist/{revolugo.vcheckboxbtn.DxJuZdU5.min.js → revolugo.vcheckboxbtn.-WD79m_3.min.js} +72 -71
- package/dist/{revolugo.vdialog.B3aAN6LZ.min.js → revolugo.vdialog.C40-fld0.min.js} +26 -25
- package/dist/revolugo.vdivider.C8qKKweh.min.js +77 -0
- package/dist/{revolugo.vexpansionpanels.Cio1oHcQ.min.js → revolugo.vexpansionpanels.CPfBybl9.min.js} +42 -41
- package/dist/{revolugo.vform.1YZ7pPUG.min.js → revolugo.vform.Bxkhj0tA.min.js} +15 -15
- package/dist/{revolugo.vinput.8rjbvXX2.min.js → revolugo.vinput.DkrPzK9V.min.js} +91 -91
- package/dist/{revolugo.vlabel.DYs_A1Ji.min.js → revolugo.vlabel.Ra8-PR0S.min.js} +5 -5
- package/dist/{revolugo.vlist.DCvg08Wu.min.js → revolugo.vlist.hjMTQUm_.min.js} +90 -88
- package/dist/revolugo.vmenu.Df9qQOg5.min.js +152 -0
- package/dist/{revolugo.vselect.C8g3avwV.min.js → revolugo.vselect.D58BjYst.min.js} +133 -132
- package/dist/revolugo.vsheet.Be5_uKvN.min.js +72 -0
- package/dist/{revolugo.vskeletonloader.lUzEuSvU.min.js → revolugo.vskeletonloader.DLz_sBeT.min.js} +14 -13
- package/dist/{revolugo.vsnackbar.vZBrE3Q7.min.js → revolugo.vsnackbar.DmI3K8dZ.min.js} +46 -44
- package/dist/revolugo.vspacer.D1ff4Ue6.min.js +7 -0
- package/dist/revolugo.vtextarea.CE2P777C.min.js +2102 -0
- package/dist/{revolugo.vtextfield.DPMmhQ6a.min.js → revolugo.vtextfield.B3H-uARB.min.js} +109 -107
- package/dist/{revolugo.vtoolbar.Bzh8TXIO.min.js → revolugo.vtoolbar.ZaD9QMMg.min.js} +21 -20
- package/dist/{revolugo.vtooltip.DMjpxOcA.min.js → revolugo.vtooltip.CiaW90fk.min.js} +118 -109
- package/dist/{revolugo.vwindowitem.yFpV6WTQ.min.js → revolugo.vwindowitem.BjNUE921.min.js} +41 -41
- package/dist/revolugo.watch-list.BLmFRUgU.min.js +16 -0
- package/dist/{revolugo.webcomponentwrapper.CfhsVy34.min.js → revolugo.webcomponentwrapper.D7s9Wt1u.min.js} +484 -541
- package/package.json +5 -5
- package/dist/revolugo.currencypickerbtn.D02DHRmR.min.js +0 -181
- package/dist/revolugo.dialog-transition.DyO6FFbo.min.js +0 -216
- package/dist/revolugo.hoteloffersearchmenu.CQyxBtRu.min.js +0 -46
- package/dist/revolugo.hoteloffersmap.Bp9l3_9T.min.js +0 -8409
- package/dist/revolugo.hotelroomofferrequestcreator.props.Dj5-GfCx.min.js +0 -317
- package/dist/revolugo.index.Ds7GPsGI.min.js +0 -1127
- package/dist/revolugo.ssrboot.DrkbeeFe.min.js +0 -91
- package/dist/revolugo.vsheet.BeVVp2B7.min.js +0 -71
- package/dist/revolugo.vspacer.B9TRu3hb.min.js +0 -14
- package/dist/revolugo.vtextarea.DQrxw1ua.min.js +0 -2093
- /package/dist/css/{revolugo.bpricesummaryskeleton.ZHH0C1yQ.css → revolugo.bhotelroomsdetails.ZHH0C1yQ.css} +0 -0
- /package/dist/css/{revolugo.rounded.XNPQF1ia.css → revolugo.index.XNPQF1ia.css} +0 -0
- /package/dist/css/{revolugo.ssrboot.CTbbZwnv.css → revolugo.vdivider.CTbbZwnv.css} +0 -0
- /package/dist/css/{revolugo.hotelroomofferrequestcreator.DvKwEp1j.css → revolugo.vmenu.DvKwEp1j.css} +0 -0
package/dist/{revolugo.storybooktoolbar.CFuRMVxX.min.js → revolugo.storybooktoolbar.cK-_oh_-.min.js}
RENAMED
@@ -1,16 +1,18 @@
|
|
1
|
-
import {
|
2
|
-
import { B as Z } from "./revolugo.btag.
|
3
|
-
import {
|
4
|
-
import {
|
5
|
-
import {
|
6
|
-
import {
|
7
|
-
import { V as
|
8
|
-
import { V as
|
9
|
-
import { V as
|
10
|
-
import { V as
|
11
|
-
import { V as
|
12
|
-
import {
|
13
|
-
import {
|
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.hcj2tBQa.min.js";
|
2
|
+
import { B as Z } from "./revolugo.btag.Cd9RL-Se.min.js";
|
3
|
+
import { d as Q } from "./revolugo.dialog-attach.C_5QvJAn.min.js";
|
4
|
+
import { w as Se } from "./revolugo.watch-list.BLmFRUgU.min.js";
|
5
|
+
import { t as Ce } from "./revolugo.index.BaBMFwcZ.min.js";
|
6
|
+
import { _, V as O, a as ee, W as we } from "./revolugo.webcomponentwrapper.D7s9Wt1u.min.js";
|
7
|
+
import { V as te, a as ie, b as ae } from "./revolugo.vcard.DrUjDHZJ.min.js";
|
8
|
+
import { V as $, B as Ve } from "./revolugo.bdaterangepicker.B8BqSfrk.min.js";
|
9
|
+
import { V as ne } from "./revolugo.vform.Bxkhj0tA.min.js";
|
10
|
+
import { V as T } from "./revolugo.vtextfield.B3H-uARB.min.js";
|
11
|
+
import { V as oe } from "./revolugo.vspacer.D1ff4Ue6.min.js";
|
12
|
+
import { a as k } from "./revolugo.vbtn.DSYh8Plf.min.js";
|
13
|
+
import { V as B } from "./revolugo.index.MUWumuM5.min.js";
|
14
|
+
import { V as re } from "./revolugo.vdialog.C40-fld0.min.js";
|
15
|
+
import { p as Ae, g as Le, s as q } from "./revolugo.use-breakpoint-service.C55UqJ8N.min.js";
|
14
16
|
function pe(e) {
|
15
17
|
try {
|
16
18
|
if (typeof document < "u") {
|
@@ -31,7 +33,7 @@ function pe(e) {
|
|
31
33
|
console.error("[revolugo-elements] ", t);
|
32
34
|
}
|
33
35
|
}
|
34
|
-
var
|
36
|
+
var L = {};
|
35
37
|
/*!
|
36
38
|
* cookie
|
37
39
|
* Copyright(c) 2012-2014 Roman Shtylman
|
@@ -39,33 +41,33 @@ var M = {};
|
|
39
41
|
* MIT Licensed
|
40
42
|
*/
|
41
43
|
var x;
|
42
|
-
function
|
43
|
-
if (x) return
|
44
|
-
x = 1,
|
45
|
-
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$/,
|
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]*$/;
|
46
48
|
function u(s, m) {
|
47
49
|
if (typeof s != "string")
|
48
50
|
throw new TypeError("argument str must be a string");
|
49
51
|
var n = {}, h = s.length;
|
50
52
|
if (h < 2) return n;
|
51
|
-
var w = m && m.decode || ue,
|
53
|
+
var w = m && m.decode || ue, f = 0, v = 0, g = 0;
|
52
54
|
do {
|
53
|
-
if (v = s.indexOf("=",
|
54
|
-
if (g = s.indexOf(";",
|
55
|
+
if (v = s.indexOf("=", f), v === -1) break;
|
56
|
+
if (g = s.indexOf(";", f), g === -1)
|
55
57
|
g = h;
|
56
58
|
else if (v > g) {
|
57
|
-
|
59
|
+
f = s.lastIndexOf(";", v - 1) + 1;
|
58
60
|
continue;
|
59
61
|
}
|
60
|
-
var V = d(s,
|
61
|
-
if (!t.call(n,
|
62
|
+
var V = d(s, f, v), P = l(s, v, V), N = s.slice(V, P);
|
63
|
+
if (!t.call(n, N)) {
|
62
64
|
var A = d(s, v + 1, g), U = l(s, g, A);
|
63
65
|
s.charCodeAt(A) === 34 && s.charCodeAt(U - 1) === 34 && (A++, U--);
|
64
66
|
var me = s.slice(A, U);
|
65
|
-
n[
|
67
|
+
n[N] = ce(me, w);
|
66
68
|
}
|
67
|
-
|
68
|
-
} while (
|
69
|
+
f = g + 1;
|
70
|
+
} while (f < h);
|
69
71
|
return n;
|
70
72
|
}
|
71
73
|
function d(s, m, n) {
|
@@ -91,41 +93,41 @@ function Ke() {
|
|
91
93
|
var w = h(m);
|
92
94
|
if (!i.test(w))
|
93
95
|
throw new TypeError("argument val is invalid");
|
94
|
-
var
|
95
|
-
if (!n) return
|
96
|
+
var f = s + "=" + w;
|
97
|
+
if (!n) return f;
|
96
98
|
if (n.maxAge != null) {
|
97
99
|
var v = Math.floor(n.maxAge);
|
98
100
|
if (!isFinite(v))
|
99
101
|
throw new TypeError("option maxAge is invalid");
|
100
|
-
|
102
|
+
f += "; Max-Age=" + v;
|
101
103
|
}
|
102
104
|
if (n.domain) {
|
103
|
-
if (!
|
105
|
+
if (!c.test(n.domain))
|
104
106
|
throw new TypeError("option domain is invalid");
|
105
|
-
|
107
|
+
f += "; Domain=" + n.domain;
|
106
108
|
}
|
107
109
|
if (n.path) {
|
108
110
|
if (!p.test(n.path))
|
109
111
|
throw new TypeError("option path is invalid");
|
110
|
-
|
112
|
+
f += "; Path=" + n.path;
|
111
113
|
}
|
112
114
|
if (n.expires) {
|
113
115
|
var g = n.expires;
|
114
|
-
if (!
|
116
|
+
if (!fe(g) || isNaN(g.valueOf()))
|
115
117
|
throw new TypeError("option expires is invalid");
|
116
|
-
|
118
|
+
f += "; Expires=" + g.toUTCString();
|
117
119
|
}
|
118
|
-
if (n.httpOnly && (
|
120
|
+
if (n.httpOnly && (f += "; HttpOnly"), n.secure && (f += "; Secure"), n.partitioned && (f += "; Partitioned"), n.priority) {
|
119
121
|
var V = typeof n.priority == "string" ? n.priority.toLowerCase() : n.priority;
|
120
122
|
switch (V) {
|
121
123
|
case "low":
|
122
|
-
|
124
|
+
f += "; Priority=Low";
|
123
125
|
break;
|
124
126
|
case "medium":
|
125
|
-
|
127
|
+
f += "; Priority=Medium";
|
126
128
|
break;
|
127
129
|
case "high":
|
128
|
-
|
130
|
+
f += "; Priority=High";
|
129
131
|
break;
|
130
132
|
default:
|
131
133
|
throw new TypeError("option priority is invalid");
|
@@ -135,47 +137,47 @@ function Ke() {
|
|
135
137
|
var P = typeof n.sameSite == "string" ? n.sameSite.toLowerCase() : n.sameSite;
|
136
138
|
switch (P) {
|
137
139
|
case !0:
|
138
|
-
|
140
|
+
f += "; SameSite=Strict";
|
139
141
|
break;
|
140
142
|
case "lax":
|
141
|
-
|
143
|
+
f += "; SameSite=Lax";
|
142
144
|
break;
|
143
145
|
case "strict":
|
144
|
-
|
146
|
+
f += "; SameSite=Strict";
|
145
147
|
break;
|
146
148
|
case "none":
|
147
|
-
|
149
|
+
f += "; SameSite=None";
|
148
150
|
break;
|
149
151
|
default:
|
150
152
|
throw new TypeError("option sameSite is invalid");
|
151
153
|
}
|
152
154
|
}
|
153
|
-
return
|
155
|
+
return f;
|
154
156
|
}
|
155
157
|
function ue(s) {
|
156
158
|
return s.indexOf("%") !== -1 ? decodeURIComponent(s) : s;
|
157
159
|
}
|
158
|
-
function
|
160
|
+
function fe(s) {
|
159
161
|
return e.call(s) === "[object Date]";
|
160
162
|
}
|
161
|
-
function
|
163
|
+
function ce(s, m) {
|
162
164
|
try {
|
163
165
|
return m(s);
|
164
166
|
} catch {
|
165
167
|
return s;
|
166
168
|
}
|
167
169
|
}
|
168
|
-
return
|
170
|
+
return L;
|
169
171
|
}
|
170
|
-
var
|
171
|
-
function
|
172
|
+
var K = Me();
|
173
|
+
function Ke() {
|
172
174
|
const e = typeof global > "u" ? void 0 : global.TEST_HAS_DOCUMENT_COOKIE;
|
173
175
|
return typeof e == "boolean" ? e : typeof document == "object" && typeof document.cookie == "string";
|
174
176
|
}
|
175
177
|
function Oe(e) {
|
176
|
-
return typeof e == "string" ?
|
178
|
+
return typeof e == "string" ? K.parse(e) : typeof e == "object" && e !== null ? e : {};
|
177
179
|
}
|
178
|
-
function
|
180
|
+
function D(e, t = {}) {
|
179
181
|
const a = Re(e);
|
180
182
|
if (!t.doNotParse)
|
181
183
|
try {
|
@@ -192,11 +194,11 @@ class _e {
|
|
192
194
|
this.changeListeners = [], this.HAS_DOCUMENT_COOKIE = !1, this.update = () => {
|
193
195
|
if (!this.HAS_DOCUMENT_COOKIE)
|
194
196
|
return;
|
195
|
-
const
|
196
|
-
this.cookies =
|
197
|
+
const c = this.cookies;
|
198
|
+
this.cookies = K.parse(document.cookie), this._checkChanges(c);
|
197
199
|
};
|
198
200
|
const i = typeof document > "u" ? "" : document.cookie;
|
199
|
-
this.cookies = Oe(t || i), this.defaultSetOptions = a, this.HAS_DOCUMENT_COOKIE =
|
201
|
+
this.cookies = Oe(t || i), this.defaultSetOptions = a, this.HAS_DOCUMENT_COOKIE = Ke();
|
200
202
|
}
|
201
203
|
_emitChange(t) {
|
202
204
|
for (let a = 0; a < this.changeListeners.length; ++a)
|
@@ -206,7 +208,7 @@ class _e {
|
|
206
208
|
new Set(Object.keys(t).concat(Object.keys(this.cookies))).forEach((i) => {
|
207
209
|
t[i] !== this.cookies[i] && this._emitChange({
|
208
210
|
name: i,
|
209
|
-
value:
|
211
|
+
value: D(this.cookies[i])
|
210
212
|
});
|
211
213
|
});
|
212
214
|
}
|
@@ -217,23 +219,23 @@ class _e {
|
|
217
219
|
this.pollingInterval && clearInterval(this.pollingInterval);
|
218
220
|
}
|
219
221
|
get(t, a = {}) {
|
220
|
-
return a.doNotUpdate || this.update(),
|
222
|
+
return a.doNotUpdate || this.update(), D(this.cookies[t], a);
|
221
223
|
}
|
222
224
|
getAll(t = {}) {
|
223
225
|
t.doNotUpdate || this.update();
|
224
226
|
const a = {};
|
225
227
|
for (let i in this.cookies)
|
226
|
-
a[i] =
|
228
|
+
a[i] = D(this.cookies[i], t);
|
227
229
|
return a;
|
228
230
|
}
|
229
231
|
set(t, a, i) {
|
230
232
|
i ? i = Object.assign(Object.assign({}, this.defaultSetOptions), i) : i = this.defaultSetOptions;
|
231
|
-
const
|
232
|
-
this.cookies = Object.assign(Object.assign({}, this.cookies), { [t]:
|
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 });
|
233
235
|
}
|
234
236
|
remove(t, a) {
|
235
237
|
const i = a = Object.assign(Object.assign(Object.assign({}, this.defaultSetOptions), a), { expires: new Date(1970, 1, 1, 0, 0, 1), maxAge: 0 });
|
236
|
-
this.cookies = Object.assign({}, this.cookies), delete this.cookies[t], this.HAS_DOCUMENT_COOKIE && (document.cookie =
|
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 });
|
237
239
|
}
|
238
240
|
addChangeListener(t) {
|
239
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());
|
@@ -244,12 +246,12 @@ class _e {
|
|
244
246
|
}
|
245
247
|
}
|
246
248
|
function se(e, { doNotParse: t = !1, autoUpdateDependencies: a = !1 } = {}, i = new _e()) {
|
247
|
-
const
|
249
|
+
const c = a ? [...e || []] : e;
|
248
250
|
let p = i.getAll({ doNotParse: !0 });
|
249
251
|
const u = he(0), d = () => {
|
250
252
|
const l = i.getAll({ doNotParse: !0 });
|
251
253
|
Pe(
|
252
|
-
|
254
|
+
c || null,
|
253
255
|
l,
|
254
256
|
p
|
255
257
|
) && u.value++, p = l;
|
@@ -260,7 +262,7 @@ function se(e, { doNotParse: t = !1, autoUpdateDependencies: a = !1 } = {}, i =
|
|
260
262
|
/**
|
261
263
|
* Reactive get cookie by name. If **autoUpdateDependencies = true** then it will update watching dependencies
|
262
264
|
*/
|
263
|
-
get: (...l) => (a &&
|
265
|
+
get: (...l) => (a && c && !c.includes(l[0]) && c.push(l[0]), u.value, i.get(l[0], { doNotParse: t, ...l[1] })),
|
264
266
|
/**
|
265
267
|
* Reactive get all cookies
|
266
268
|
*/
|
@@ -329,24 +331,24 @@ const le = R({
|
|
329
331
|
}
|
330
332
|
},
|
331
333
|
mixins: [
|
332
|
-
|
334
|
+
Se(["config.apiEnvironment"], "updateApiKey", {
|
333
335
|
deep: !0,
|
334
336
|
immediate: !0
|
335
337
|
}),
|
336
|
-
|
338
|
+
Q
|
337
339
|
],
|
338
340
|
name: "ApiKeyEditor",
|
339
341
|
setup() {
|
340
342
|
const e = se(["apiKey"]), { t } = W(), a = b(e.get("apiKey")), i = z(
|
341
343
|
() => window.RevolugoElements.config.apiEnvironment
|
342
|
-
),
|
344
|
+
), c = z(() => [
|
343
345
|
(l) => !!l || `A valid API Key is required. ${t("ApiKeyEditor.hint", {
|
344
346
|
environment: i.value
|
345
347
|
})}`
|
346
348
|
]), p = b(!1), u = b(!1), d = b(!1);
|
347
349
|
return {
|
348
350
|
apiKey: a,
|
349
|
-
apiKeyRules:
|
351
|
+
apiKeyRules: c,
|
350
352
|
cookies: e,
|
351
353
|
dialog: p,
|
352
354
|
isFormValid: u,
|
@@ -406,8 +408,8 @@ function H(e) {
|
|
406
408
|
}
|
407
409
|
});
|
408
410
|
}
|
409
|
-
function Ue(e, t, a, i,
|
410
|
-
return
|
411
|
+
function Ue(e, t, a, i, c, p) {
|
412
|
+
return S(), M("div", null, [
|
411
413
|
o(re, {
|
412
414
|
modelValue: e.dialog,
|
413
415
|
"onUpdate:modelValue": t[2] || (t[2] = (u) => e.dialog = u),
|
@@ -415,13 +417,13 @@ function Ue(e, t, a, i, f, p) {
|
|
415
417
|
"max-width": "600px"
|
416
418
|
}, {
|
417
419
|
activator: r(({ props: u }) => [
|
418
|
-
o(
|
420
|
+
o(k, J(u, {
|
419
421
|
color: e.cookies.get("apiKey") ? "success" : "warning",
|
420
422
|
elevation: "0",
|
421
423
|
size: "x-small"
|
422
424
|
}), {
|
423
425
|
default: r(() => [
|
424
|
-
e.cookies.get("apiKey") ? (
|
426
|
+
e.cookies.get("apiKey") ? (S(), M(F, { key: 1 }, [
|
425
427
|
o(B, { class: "mr-2" }, {
|
426
428
|
default: r(() => t[5] || (t[5] = [
|
427
429
|
y(" fas fa-check ")
|
@@ -430,7 +432,7 @@ function Ue(e, t, a, i, f, p) {
|
|
430
432
|
__: [5]
|
431
433
|
}),
|
432
434
|
t[6] || (t[6] = y(" Valid API key "))
|
433
|
-
], 64)) : (
|
435
|
+
], 64)) : (S(), M(F, { key: 0 }, [
|
434
436
|
o(B, { class: "mr-2" }, {
|
435
437
|
default: r(() => t[3] || (t[3] = [
|
436
438
|
y(" fas fa-exclamation ")
|
@@ -449,7 +451,7 @@ function Ue(e, t, a, i, f, p) {
|
|
449
451
|
default: r(() => [
|
450
452
|
o(ie, { class: "pa-4" }, {
|
451
453
|
default: r(() => [
|
452
|
-
o(
|
454
|
+
o($, { class: "pa-0" }, {
|
453
455
|
default: r(() => [
|
454
456
|
o(O, { "no-gutters": "" }, {
|
455
457
|
default: r(() => [
|
@@ -460,10 +462,10 @@ function Ue(e, t, a, i, f, p) {
|
|
460
462
|
modelValue: e.isFormValid,
|
461
463
|
"onUpdate:modelValue": t[1] || (t[1] = (u) => e.isFormValid = u),
|
462
464
|
class: "m-0",
|
463
|
-
onSubmit:
|
465
|
+
onSubmit: G(e.onSubmit, ["prevent"])
|
464
466
|
}, {
|
465
467
|
default: r(() => [
|
466
|
-
o(
|
468
|
+
o(T, {
|
467
469
|
modelValue: e.apiKey,
|
468
470
|
"onUpdate:modelValue": t[0] || (t[0] = (u) => e.apiKey = u),
|
469
471
|
density: "compact",
|
@@ -495,7 +497,7 @@ function Ue(e, t, a, i, f, p) {
|
|
495
497
|
o(ae, null, {
|
496
498
|
default: r(() => [
|
497
499
|
o(oe),
|
498
|
-
o(
|
500
|
+
o(k, {
|
499
501
|
color: "blue-darken-1",
|
500
502
|
size: "small",
|
501
503
|
variant: "text",
|
@@ -507,7 +509,7 @@ function Ue(e, t, a, i, f, p) {
|
|
507
509
|
_: 1,
|
508
510
|
__: [7]
|
509
511
|
}, 8, ["onClick"]),
|
510
|
-
o(
|
512
|
+
o(k, {
|
511
513
|
class: "text-right",
|
512
514
|
color: "primary",
|
513
515
|
disabled: e.isLoading,
|
@@ -534,7 +536,7 @@ function Ue(e, t, a, i, f, p) {
|
|
534
536
|
]);
|
535
537
|
}
|
536
538
|
typeof H == "function" && H(le);
|
537
|
-
const
|
539
|
+
const De = /* @__PURE__ */ _(le, [["render", Ue]]), de = R({
|
538
540
|
components: {
|
539
541
|
BDateRangePicker: Ve,
|
540
542
|
BTag: Z
|
@@ -552,7 +554,7 @@ const Te = /* @__PURE__ */ _(le, [["render", Ue]]), de = R({
|
|
552
554
|
[this.eventMetadata.dateStart, this.eventMetadata.dateEnd] = q(...e);
|
553
555
|
}
|
554
556
|
},
|
555
|
-
isFetching:
|
557
|
+
isFetching: Le("hotelOfferRequest/isFetching")
|
556
558
|
},
|
557
559
|
created() {
|
558
560
|
this.cookies.get("eventMetadata") && this.updateConfig({
|
@@ -584,16 +586,16 @@ const Te = /* @__PURE__ */ _(le, [["render", Ue]]), de = R({
|
|
584
586
|
}), this.cookies.set("eventMetadata", JSON.stringify(this.eventMetadata)), this.closeDialog());
|
585
587
|
}
|
586
588
|
},
|
587
|
-
mixins: [
|
589
|
+
mixins: [Q, Ae()],
|
588
590
|
name: "EventMetadataEditor",
|
589
591
|
setup() {
|
590
592
|
const e = se(["eventMetadata"]), t = b(""), a = b(
|
591
593
|
e.get("eventMetadata") || {
|
592
|
-
dateEnd:
|
593
|
-
dateStart:
|
594
|
+
dateEnd: j().add(1, "day").format("YYYY-MM-DD").toString(),
|
595
|
+
dateStart: j().format("YYYY-MM-DD").toString(),
|
594
596
|
name: ""
|
595
597
|
}
|
596
|
-
), { t: i } = W(),
|
598
|
+
), { t: i } = W(), c = [
|
597
599
|
(E) => {
|
598
600
|
if (!E)
|
599
601
|
return !0;
|
@@ -613,7 +615,7 @@ const Te = /* @__PURE__ */ _(le, [["render", Ue]]), de = R({
|
|
613
615
|
cookies: e,
|
614
616
|
dialog: u,
|
615
617
|
eventMetadata: a,
|
616
|
-
imageURLRules:
|
618
|
+
imageURLRules: c,
|
617
619
|
isFormValid: d,
|
618
620
|
isLoading: l,
|
619
621
|
name: t,
|
@@ -686,9 +688,9 @@ function Y(e) {
|
|
686
688
|
}
|
687
689
|
});
|
688
690
|
}
|
689
|
-
function Ie(e, t, a, i,
|
691
|
+
function Ie(e, t, a, i, c, p) {
|
690
692
|
const u = C("BDateRangePicker");
|
691
|
-
return
|
693
|
+
return S(), M("div", null, [
|
692
694
|
o(re, {
|
693
695
|
modelValue: e.dialog,
|
694
696
|
"onUpdate:modelValue": t[4] || (t[4] = (d) => e.dialog = d),
|
@@ -697,7 +699,7 @@ function Ie(e, t, a, i, f, p) {
|
|
697
699
|
"max-width": "600px"
|
698
700
|
}, {
|
699
701
|
activator: r(({ props: d }) => [
|
700
|
-
o(
|
702
|
+
o(k, J(d, {
|
701
703
|
color: e.cookies.get("eventMetadata") ? "success" : "warning",
|
702
704
|
elevation: "0",
|
703
705
|
size: "x-small"
|
@@ -716,7 +718,7 @@ function Ie(e, t, a, i, f, p) {
|
|
716
718
|
default: r(() => [
|
717
719
|
o(ie, { class: "pa-4" }, {
|
718
720
|
default: r(() => [
|
719
|
-
o(
|
721
|
+
o($, { class: "pa-0" }, {
|
720
722
|
default: r(() => [
|
721
723
|
o(O, { "no-gutters": "" }, {
|
722
724
|
default: r(() => [
|
@@ -727,10 +729,10 @@ function Ie(e, t, a, i, f, p) {
|
|
727
729
|
modelValue: e.isFormValid,
|
728
730
|
"onUpdate:modelValue": t[3] || (t[3] = (d) => e.isFormValid = d),
|
729
731
|
class: "m-0",
|
730
|
-
onSubmit:
|
732
|
+
onSubmit: G(e.onSubmit, ["prevent"])
|
731
733
|
}, {
|
732
734
|
default: r(() => [
|
733
|
-
o(
|
735
|
+
o(T, {
|
734
736
|
modelValue: e.eventMetadata.name,
|
735
737
|
"onUpdate:modelValue": t[0] || (t[0] = (d) => e.eventMetadata.name = d),
|
736
738
|
density: "compact",
|
@@ -741,7 +743,7 @@ function Ie(e, t, a, i, f, p) {
|
|
741
743
|
rules: e.nameRules,
|
742
744
|
onKeyup: I(e.onSubmit, ["enter"])
|
743
745
|
}, null, 8, ["modelValue", "rules", "onKeyup"]),
|
744
|
-
o(
|
746
|
+
o(T, {
|
745
747
|
modelValue: e.eventMetadata.imageURL,
|
746
748
|
"onUpdate:modelValue": t[1] || (t[1] = (d) => e.eventMetadata.imageURL = d),
|
747
749
|
density: "compact",
|
@@ -778,7 +780,7 @@ function Ie(e, t, a, i, f, p) {
|
|
778
780
|
o(ae, null, {
|
779
781
|
default: r(() => [
|
780
782
|
o(oe),
|
781
|
-
o(
|
783
|
+
o(k, {
|
782
784
|
color: "blue-darken-1",
|
783
785
|
size: "small",
|
784
786
|
variant: "text",
|
@@ -790,7 +792,7 @@ function Ie(e, t, a, i, f, p) {
|
|
790
792
|
_: 1,
|
791
793
|
__: [5]
|
792
794
|
}, 8, ["onClick"]),
|
793
|
-
o(
|
795
|
+
o(k, {
|
794
796
|
color: "error",
|
795
797
|
disabled: e.isFetching,
|
796
798
|
loading: e.isFetching,
|
@@ -804,7 +806,7 @@ function Ie(e, t, a, i, f, p) {
|
|
804
806
|
_: 1,
|
805
807
|
__: [6]
|
806
808
|
}, 8, ["disabled", "loading", "onClick"]),
|
807
|
-
o(
|
809
|
+
o(k, {
|
808
810
|
color: "primary",
|
809
811
|
disabled: e.isFetching,
|
810
812
|
loading: e.isFetching,
|
@@ -829,24 +831,24 @@ function Ie(e, t, a, i, f, p) {
|
|
829
831
|
]);
|
830
832
|
}
|
831
833
|
typeof Y == "function" && Y(de);
|
832
|
-
const
|
834
|
+
const Te = /* @__PURE__ */ _(de, [["render", Ie]]), $e = R({
|
833
835
|
components: {
|
834
|
-
ApiKeyEditor:
|
835
|
-
EventMetadataEditor:
|
836
|
+
ApiKeyEditor: De,
|
837
|
+
EventMetadataEditor: Te
|
836
838
|
},
|
837
839
|
name: "StorybookExtraToolbar"
|
838
840
|
// eslint-disable-next-line @typescript-eslint/no-empty-object-type, @typescript-eslint/no-explicit-any
|
839
|
-
}),
|
840
|
-
function ze(e, t, a, i,
|
841
|
+
}), Ne = { class: "flex gap-1 px-3" };
|
842
|
+
function ze(e, t, a, i, c, p) {
|
841
843
|
const u = C("ApiKeyEditor"), d = C("EventMetadataEditor");
|
842
|
-
return
|
844
|
+
return S(), X($, {
|
843
845
|
class: "pa-0 mb-3",
|
844
846
|
fluid: ""
|
845
847
|
}, {
|
846
848
|
default: r(() => [
|
847
849
|
o(O, { "no-gutters": "" }, {
|
848
850
|
default: r(() => [
|
849
|
-
|
851
|
+
ke("div", Ne, [
|
850
852
|
o(u),
|
851
853
|
o(d)
|
852
854
|
])
|
@@ -857,24 +859,24 @@ function ze(e, t, a, i, f, p) {
|
|
857
859
|
_: 1
|
858
860
|
});
|
859
861
|
}
|
860
|
-
const
|
862
|
+
const Fe = /* @__PURE__ */ _($e, [["render", ze]]), je = R({
|
861
863
|
components: {
|
862
|
-
StorybookExtraToolbar:
|
864
|
+
StorybookExtraToolbar: Fe,
|
863
865
|
WebComponentWrapper: we
|
864
866
|
}
|
865
867
|
});
|
866
|
-
function Be(e, t, a, i,
|
868
|
+
function Be(e, t, a, i, c, p) {
|
867
869
|
const u = C("StorybookExtraToolbar"), d = C("WebComponentWrapper");
|
868
|
-
return
|
870
|
+
return S(), X(d, { "error-overlay-disabled": "" }, {
|
869
871
|
default: r(() => [
|
870
872
|
o(u)
|
871
873
|
]),
|
872
874
|
_: 1
|
873
875
|
});
|
874
876
|
}
|
875
|
-
const
|
877
|
+
const ot = /* @__PURE__ */ _(je, [["render", Be]]);
|
876
878
|
pe("css/revolugo.storybooktoolbar.d_cxquq9.css");
|
877
879
|
export {
|
878
|
-
|
880
|
+
ot as default
|
879
881
|
};
|
880
|
-
//# sourceMappingURL=revolugo.storybooktoolbar.
|
882
|
+
//# sourceMappingURL=revolugo.storybooktoolbar.cK-_oh_-.min.js.map
|