@revolugo/elements 7.4.0 → 7.4.1-alpha.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 (40) hide show
  1. package/.storybook/runtime-config.js +28 -0
  2. package/dist/index.es.min.js +16 -13
  3. package/dist/index.es.min.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist/{revolugo.banktransferdetails.CI0Nw8V7.min.js → revolugo.banktransferdetails.DITREV6I.min.js} +6 -6
  7. package/dist/{revolugo.bookingdetailssidebar.B2b0bTuE.min.js → revolugo.bookingdetailssidebar.C562RyLk.min.js} +6 -6
  8. package/dist/{revolugo.bookingmanager.DuUMM4xF.min.js → revolugo.bookingmanager.DQYNq0jJ.min.js} +6 -6
  9. package/dist/{revolugo.cancellationpoliciesbadge.Csq2OyU2.min.js → revolugo.cancellationpoliciesbadge.BkjaUnjw.min.js} +6 -6
  10. package/dist/{revolugo.cancellationpolicieslist.CDnFQD4Q.min.js → revolugo.cancellationpolicieslist.BfHjpxRB.min.js} +6 -6
  11. package/dist/{revolugo.creditcardstripeform.CeHUdEGl.min.js → revolugo.creditcardstripeform.Btrm2VBJ.min.js} +4 -4
  12. package/dist/{revolugo.creditcardstripeform.OqYF3UVT.min.js → revolugo.creditcardstripeform.bXT5iBGW.min.js} +8 -8
  13. package/dist/{revolugo.currencypickerbtn.DllyVD1O.min.js → revolugo.currencypickerbtn.Cxhrwr7g.min.js} +6 -6
  14. package/dist/{revolugo.dialog-attach.DX3K1UZy.min.js → revolugo.dialog-attach.BB8XoCeq.min.js} +2 -2
  15. package/dist/{revolugo.fastbookingflow.CJkQQAAk.min.js → revolugo.fastbookingflow.OsUsWIVW.min.js} +6 -6
  16. package/dist/{revolugo.fullbookingflow.BUZ1_hQT.min.js → revolugo.fullbookingflow.DHTPIRwd.min.js} +6 -6
  17. package/dist/{revolugo.hoteldescriptionview.CCpNNhEC.min.js → revolugo.hoteldescriptionview.DLVBBnVk.min.js} +6 -6
  18. package/dist/{revolugo.hotelofferlist.DJs0tLHF.min.js → revolugo.hotelofferlist.BAEeP9Yr.min.js} +6 -6
  19. package/dist/{revolugo.hoteloffersearchmenu.CrPKObk0.min.js → revolugo.hoteloffersearchmenu.eb9joqQA.min.js} +7 -7
  20. package/dist/{revolugo.hoteloffersmap.CHlsp139.min.js → revolugo.hoteloffersmap.a4TK8aQi.min.js} +6 -6
  21. package/dist/{revolugo.hoteloffersview.CvK5HDLL.min.js → revolugo.hoteloffersview.D11Nx7H5.min.js} +6 -6
  22. package/dist/{revolugo.hotelroomofferlist.BkTo6Ohy.min.js → revolugo.hotelroomofferlist.C9zMvwSD.min.js} +6 -6
  23. package/dist/{revolugo.hotelroomoffersbookingflow.Btaqc1Hd.min.js → revolugo.hotelroomoffersbookingflow.CsiGakOw.min.js} +6 -6
  24. package/dist/{revolugo.hotelroomoffersbookingflow.D2adJe50.min.js → revolugo.hotelroomoffersbookingflow.hQVUUPRT.min.js} +293 -296
  25. package/dist/{revolugo.hotelroomoffersearchmenu.D6neYjIf.min.js → revolugo.hotelroomoffersearchmenu.B-tITNMg.min.js} +6 -6
  26. package/dist/{revolugo.hotelroomoffersview.DO6Q65_E.min.js → revolugo.hotelroomoffersview.9vPH75mk.min.js} +6 -6
  27. package/dist/revolugo.index.dzKjDgfX.min.js +101 -0
  28. package/dist/{revolugo.index.wc.Boe64QLC.min.js → revolugo.index.wc.CItjK_4R.min.js} +8860 -8832
  29. package/dist/{revolugo.langpickerbtn.D7OQWBzb.min.js → revolugo.langpickerbtn.B6Rw2Yux.min.js} +6 -6
  30. package/dist/revolugo.min.js +1 -1
  31. package/dist/{revolugo.prebookform.B80dCnTD.min.js → revolugo.prebookform.CAswM0Jr.min.js} +6 -6
  32. package/dist/{revolugo.preferencesmenu.BkqyitWX.min.js → revolugo.preferencesmenu.B0YkiQ1k.min.js} +5 -5
  33. package/dist/{revolugo.preferencesmenu.DFvWzs70.min.js → revolugo.preferencesmenu.Bs6l0k3K.min.js} +4 -4
  34. package/dist/{revolugo.roominglisteditor.K4CyMzo1.min.js → revolugo.roominglisteditor.FZqQVXdE.min.js} +6 -6
  35. package/dist/{revolugo.storybooktoolbar.DLIIbHnu.min.js → revolugo.storybooktoolbar.X8FhujN7.min.js} +5 -5
  36. package/dist/{revolugo.termsandconditions.CY1E7nB6.min.js → revolugo.termsandconditions.Y_B-gqQb.min.js} +6 -6
  37. package/dist/{revolugo.vtoolbar.DMPcZE9N.min.js → revolugo.vtoolbar.EJ_yY3LW.min.js} +3 -3
  38. package/dist/{revolugo.webcomponentwrapper.CLTetiJy.min.js → revolugo.webcomponentwrapper.DzQQZdr7.min.js} +1327 -1325
  39. package/package.json +8 -7
  40. package/dist/revolugo.index.Cgu-cy-m.min.js +0 -101
@@ -1,8 +1,8 @@
1
- import { d as t, r as e, c as a, w as s, o as p, a as c, n as m, g as f } from "./revolugo.index.wc.Boe64QLC.min.js";
2
- import { q as l, r as u } from "./revolugo.hotelroomoffersbookingflow.D2adJe50.min.js";
3
- import { W as _, _ as i } from "./revolugo.webcomponentwrapper.CLTetiJy.min.js";
4
- import "./revolugo.creditcardstripeform.OqYF3UVT.min.js";
5
- import "./revolugo.preferencesmenu.BkqyitWX.min.js";
1
+ import { d as t, r as e, c as a, w as s, o as p, a as c, n as m, g as f } from "./revolugo.index.wc.CItjK_4R.min.js";
2
+ import { q as l, r as u } from "./revolugo.hotelroomoffersbookingflow.hQVUUPRT.min.js";
3
+ import { W as _, _ as i } from "./revolugo.webcomponentwrapper.DzQQZdr7.min.js";
4
+ import "./revolugo.creditcardstripeform.bXT5iBGW.min.js";
5
+ import "./revolugo.preferencesmenu.B0YkiQ1k.min.js";
6
6
  const h = t({
7
7
  components: {
8
8
  HotelRoomOfferSearchMenu: u,
@@ -23,4 +23,4 @@ const g = /* @__PURE__ */ i(h, [["render", R], ["__file", "/home/runner/work/rev
23
23
  export {
24
24
  g as default
25
25
  };
26
- //# sourceMappingURL=revolugo.hotelroomoffersearchmenu.D6neYjIf.min.js.map
26
+ //# sourceMappingURL=revolugo.hotelroomoffersearchmenu.B-tITNMg.min.js.map
@@ -1,8 +1,8 @@
1
- import { d as s, r as o, c as n, w as p, o as m, a, n as f, g as c } from "./revolugo.index.wc.Boe64QLC.min.js";
2
- import { v as l, w as i } from "./revolugo.hotelroomoffersbookingflow.D2adJe50.min.js";
3
- import { W as _, _ as u } from "./revolugo.webcomponentwrapper.CLTetiJy.min.js";
4
- import "./revolugo.creditcardstripeform.OqYF3UVT.min.js";
5
- import "./revolugo.preferencesmenu.BkqyitWX.min.js";
1
+ import { d as s, r as o, c as n, w as p, o as m, a, n as f, g as c } from "./revolugo.index.wc.CItjK_4R.min.js";
2
+ import { v as l, w as i } from "./revolugo.hotelroomoffersbookingflow.hQVUUPRT.min.js";
3
+ import { W as _, _ as u } from "./revolugo.webcomponentwrapper.DzQQZdr7.min.js";
4
+ import "./revolugo.creditcardstripeform.bXT5iBGW.min.js";
5
+ import "./revolugo.preferencesmenu.B0YkiQ1k.min.js";
6
6
  const w = s({
7
7
  components: {
8
8
  HotelRoomOffersView: i,
@@ -23,4 +23,4 @@ const h = /* @__PURE__ */ u(w, [["render", d], ["__file", "/home/runner/work/rev
23
23
  export {
24
24
  h as default
25
25
  };
26
- //# sourceMappingURL=revolugo.hotelroomoffersview.DO6Q65_E.min.js.map
26
+ //# sourceMappingURL=revolugo.hotelroomoffersview.9vPH75mk.min.js.map
@@ -0,0 +1,101 @@
1
+ import { v as a, b4 as D, d as p, b5 as h, P as M, e as w, b6 as Y } from "./revolugo.index.wc.CItjK_4R.min.js";
2
+ function x(r) {
3
+ return /^[2]\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$/u.test(r);
4
+ }
5
+ function y(r) {
6
+ return r.filter(
7
+ (t) => x(t) && a(t, "YYYY-MM-DD").isSameOrAfter(a(), "day")
8
+ ).sort((t, e) => a(t).isAfter(a(e), "day") ? 1 : -1);
9
+ }
10
+ function O(r, n, t = D) {
11
+ const e = [];
12
+ let i = a(r);
13
+ for (; i.isSameOrBefore(n); )
14
+ e.push(i.format(t)), i = i.add(1, "day");
15
+ return e;
16
+ }
17
+ function W(r, n) {
18
+ const t = [...new Set(y([r, n]))];
19
+ if (t.length === 2)
20
+ return t;
21
+ if (t.length === 1) {
22
+ const e = t[0];
23
+ return e ? e === a().format("YYYY-MM-DD") ? [
24
+ a().format("YYYY-MM-DD"),
25
+ a().add(1, "day").format("YYYY-MM-DD")
26
+ ] : [a().format("YYYY-MM-DD"), e] : [
27
+ a().format("YYYY-MM-DD"),
28
+ a().add(1, "day").format("YYYY-MM-DD")
29
+ ];
30
+ }
31
+ return [
32
+ a().format("YYYY-MM-DD"),
33
+ a().add(1, "day").format("YYYY-MM-DD")
34
+ ];
35
+ }
36
+ const A = (r, n, t) => p({
37
+ watch: r.reduce((e, i) => (e[i] = {
38
+ deep: t?.deep,
39
+ handler(...o) {
40
+ t?.nextTick ? this.$nextTick(() => {
41
+ this[n](...o);
42
+ }) : this[n](...o);
43
+ },
44
+ immediate: t?.immediate
45
+ }, e), {})
46
+ });
47
+ function P(r, n) {
48
+ return h() ? (M(r, n), !0) : !1;
49
+ }
50
+ typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
51
+ const l = () => {
52
+ };
53
+ function T(r, n) {
54
+ function t(...e) {
55
+ return new Promise((i, o) => {
56
+ Promise.resolve(r(() => n.apply(this, e), {
57
+ fn: n,
58
+ thisArg: this,
59
+ args: e
60
+ })).then(i).catch(o);
61
+ });
62
+ }
63
+ return t;
64
+ }
65
+ const b = (r) => r();
66
+ function g(r, n = {}) {
67
+ let t, e, i = l;
68
+ const o = (s) => {
69
+ clearTimeout(s), i(), i = l;
70
+ };
71
+ let f;
72
+ return (s) => {
73
+ const d = Y(r), c = Y(n.maxWait);
74
+ return t && o(t), d <= 0 || c !== void 0 && c <= 0 ? (e && (o(e), e = void 0), Promise.resolve(s())) : new Promise((u, m) => {
75
+ i = n.rejectOnCancel ? m : u, f = s, c && !e && (e = setTimeout(() => {
76
+ t && o(t), e = void 0, u(f());
77
+ }, c)), t = setTimeout(() => {
78
+ e && o(e), e = void 0, u(s());
79
+ }, d);
80
+ });
81
+ };
82
+ }
83
+ function v(r, n, t = {}) {
84
+ const { eventFilter: e = b, ...i } = t;
85
+ return w(r, T(e, n), i);
86
+ }
87
+ function R(r, n, t = {}) {
88
+ const { debounce: e = 0, maxWait: i = void 0, ...o } = t;
89
+ return v(r, n, {
90
+ ...o,
91
+ eventFilter: g(e, { maxWait: i })
92
+ });
93
+ }
94
+ export {
95
+ R as a,
96
+ O as g,
97
+ W as s,
98
+ P as t,
99
+ A as w
100
+ };
101
+ //# sourceMappingURL=revolugo.index.dzKjDgfX.min.js.map