@revolugo/elements 6.10.10-rc.2 → 6.11.0-rc.1

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 (48) hide show
  1. package/dist/css/{revolugo.cancellationpoliciesbadge.C7DM-7_E.css → revolugo.cancellationpoliciesbadge.BSr9vuqv.css} +1 -1
  2. package/dist/css/revolugo.index.Cg8oJfEY.css +5 -0
  3. package/dist/css/{revolugo.webcomponentwrapper.BbyuqtN5.css → revolugo.webcomponentwrapper.69wOupkm.css} +1 -1
  4. package/dist/index.es.min.js +1 -1
  5. package/dist/index.es.min.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist/{revolugo.banktransferdetails.CMtuJoJd.min.js → revolugo.banktransferdetails.DphmWa6W.min.js} +9 -9
  9. package/dist/{revolugo.bookingdetailssidebar.CARmgEqh.min.js → revolugo.bookingdetailssidebar.BAIVZw_Z.min.js} +9 -9
  10. package/dist/{revolugo.bookingmanager.14rqCYEi.min.js → revolugo.bookingmanager.CZmRtNik.min.js} +9 -9
  11. package/dist/{revolugo.cancellationpoliciesbadge.CPG1mBzL.min.js → revolugo.cancellationpoliciesbadge.BjZkX4y3.min.js} +9 -9
  12. package/dist/{revolugo.cancellationpoliciesbadge.props.C9Od7Emo.min.js → revolugo.cancellationpoliciesbadge.props.5Z4L6Xab.min.js} +12172 -12168
  13. package/dist/{revolugo.cancellationpolicieslist.DPY13KQM.min.js → revolugo.cancellationpolicieslist.Cm6GF6dR.min.js} +9 -9
  14. package/dist/{revolugo.creditcardstripeform.Cs2J4QEd.min.js → revolugo.creditcardstripeform.D2wc7KrI.min.js} +7 -7
  15. package/dist/{revolugo.creditcardstripeform.ZX4irL5-.min.js → revolugo.creditcardstripeform.D_OU9dln.min.js} +181 -181
  16. package/dist/revolugo.currencypickerbtn.BrZE5LGT.min.js +26 -0
  17. package/dist/{revolugo.dialog-attach.Cpzf6Qsv.min.js → revolugo.dialog-attach.6X4WCRZH.min.js} +2 -2
  18. package/dist/{revolugo.fastbookingflow.BxTEpNDx.min.js → revolugo.fastbookingflow.D1PAYdc1.min.js} +9 -9
  19. package/dist/{revolugo.fullbookingflow.BEcT_mc4.min.js → revolugo.fullbookingflow.B-ByqJ6S.min.js} +9 -9
  20. package/dist/{revolugo.hoteldescriptionview.DL7LoBMJ.min.js → revolugo.hoteldescriptionview.CVA41epT.min.js} +9 -9
  21. package/dist/{revolugo.hotelofferlist.CL-aOULq.min.js → revolugo.hotelofferlist.ssx5kI1A.min.js} +9 -9
  22. package/dist/{revolugo.hoteloffersearchmenu.BZDzq6_O.min.js → revolugo.hoteloffersearchmenu.pfGe9_G4.min.js} +19 -19
  23. package/dist/{revolugo.hoteloffersmap.DCvJjsVN.min.js → revolugo.hoteloffersmap.Cocts0uz.min.js} +9 -9
  24. package/dist/revolugo.hoteloffersview.CBUTezlp.min.js +21 -0
  25. package/dist/{revolugo.hotelroomofferlist.CeGLIY55.min.js → revolugo.hotelroomofferlist.DZJ68sT8.min.js} +9 -9
  26. package/dist/{revolugo.hotelroomoffersbookingflow.D67noAIH.min.js → revolugo.hotelroomoffersbookingflow.rrhLG48Z.min.js} +9 -9
  27. package/dist/{revolugo.hotelroomoffersearchmenu.jDsVy9Ud.min.js → revolugo.hotelroomoffersearchmenu.-VWiVQOz.min.js} +9 -9
  28. package/dist/{revolugo.hotelroomoffersview.BsbTUmB5.min.js → revolugo.hotelroomoffersview.btv7taav.min.js} +9 -9
  29. package/dist/revolugo.index.DgFo--Tt.min.js +115 -0
  30. package/dist/{revolugo.index.wc.Cfe4KQDt.min.js → revolugo.index.wc.dhwcVVyJ.min.js} +8263 -9227
  31. package/dist/revolugo.langpickerbtn.BlKlNba0.min.js +31 -0
  32. package/dist/revolugo.min.js +1 -1
  33. package/dist/revolugo.prebookform.DIVKQSyG.min.js +26 -0
  34. package/dist/{revolugo.preferencesmenu.lBEQwRrW.min.js → revolugo.preferencesmenu.BY07VtQ6.min.js} +7 -7
  35. package/dist/{revolugo.preferencesmenu.9gEX6oER.min.js → revolugo.preferencesmenu.D8HFetxf.min.js} +73 -73
  36. package/dist/{revolugo.roominglisteditor.T38KZaDz.min.js → revolugo.roominglisteditor.FLFu6zVB.min.js} +9 -9
  37. package/dist/{revolugo.storybooktoolbar.DKszoX-I.min.js → revolugo.storybooktoolbar.B-075cFb.min.js} +9 -9
  38. package/dist/{revolugo.termsandconditions.B8ot6qwM.min.js → revolugo.termsandconditions.C_KS3IsP.min.js} +8 -8
  39. package/dist/revolugo.vtoolbar.-jzyNbse.min.js +205 -0
  40. package/dist/{revolugo.webcomponentwrapper.CM3EFuyv.min.js → revolugo.webcomponentwrapper.Cxje96h0.min.js} +5673 -5903
  41. package/package.json +5 -5
  42. package/dist/css/revolugo.index.BNlxBMG6.css +0 -5
  43. package/dist/revolugo.currencypickerbtn.ClKk1L3x.min.js +0 -26
  44. package/dist/revolugo.hoteloffersview.6DzC_Mz-.min.js +0 -21
  45. package/dist/revolugo.index.Bn5MchPw.min.js +0 -106
  46. package/dist/revolugo.langpickerbtn.B1e4WIXU.min.js +0 -31
  47. package/dist/revolugo.prebookform.5OD7qcXZ.min.js +0 -26
  48. package/dist/revolugo.vtoolbar.DZrBQWQ0.min.js +0 -187
@@ -1,26 +0,0 @@
1
- import "./revolugo.cancellationpoliciesbadge.props.C9Od7Emo.min.js";
2
- import { d as t, c, o as p, w as s, a, n as i, g as m, r } from "./revolugo.index.wc.Cfe4KQDt.min.js";
3
- import { W as u, _ } from "./revolugo.webcomponentwrapper.CM3EFuyv.min.js";
4
- import "./revolugo.creditcardstripeform.ZX4irL5-.min.js";
5
- import { c as C, C as f } from "./revolugo.preferencesmenu.9gEX6oER.min.js";
6
- const l = t({
7
- components: {
8
- CurrencyPickerBtn: f,
9
- WebComponentWrapper: u
10
- },
11
- props: C
12
- });
13
- function d(e, P, k, B, W, y) {
14
- const o = r("CurrencyPickerBtn", !0), n = r("WebComponentWrapper");
15
- return p(), c(n, null, {
16
- default: s(() => [
17
- a(o, i(m(e.$props)), null, 16)
18
- ]),
19
- _: 1
20
- });
21
- }
22
- const v = /* @__PURE__ */ _(l, [["render", d]]);
23
- export {
24
- v as default
25
- };
26
- //# sourceMappingURL=revolugo.currencypickerbtn.ClKk1L3x.min.js.map
@@ -1,21 +0,0 @@
1
- import { m as o, n as r } from "./revolugo.cancellationpoliciesbadge.props.C9Od7Emo.min.js";
2
- import { d as a, c as s, o as t, w as p, a as n, n as f, g as m, u as i } from "./revolugo.index.wc.Cfe4KQDt.min.js";
3
- import { W as l } from "./revolugo.webcomponentwrapper.CM3EFuyv.min.js";
4
- import "./revolugo.creditcardstripeform.ZX4irL5-.min.js";
5
- import "./revolugo.preferencesmenu.9gEX6oER.min.js";
6
- const C = /* @__PURE__ */ a({
7
- __name: "HotelOffersView",
8
- props: o,
9
- setup(c) {
10
- return (e, u) => (t(), s(l, null, {
11
- default: p(() => [
12
- n(i(r), f(m(e.$props)), null, 16)
13
- ]),
14
- _: 1
15
- }));
16
- }
17
- });
18
- export {
19
- C as default
20
- };
21
- //# sourceMappingURL=revolugo.hoteloffersview.6DzC_Mz-.min.js.map
@@ -1,106 +0,0 @@
1
- import { bb as D, v as o, d as p, bc as h, T as M, e as w, bd as l } from "./revolugo.index.wc.Cfe4KQDt.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 T(r) {
6
- return r.filter(
7
- (e) => x(e) && o(e, "YYYY-MM-DD").isSameOrAfter(o(), "day")
8
- ).sort((e, t) => o(e).isAfter(o(t), "day") ? 1 : -1);
9
- }
10
- function O(r, n, e = D) {
11
- const t = [];
12
- let i = o(r);
13
- for (; i.isSameOrBefore(n); )
14
- t.push(i.format(e)), i = i.add(1, "day");
15
- return t;
16
- }
17
- function W(r, n) {
18
- const e = [...new Set(T([r, n]))];
19
- return e.length === 2 ? e : e.length === 1 ? e[0] === o().format("YYYY-MM-DD") ? [
20
- o().format("YYYY-MM-DD"),
21
- o().add(1, "day").format("YYYY-MM-DD")
22
- ] : [o().format("YYYY-MM-DD"), e[0]] : [
23
- o().format("YYYY-MM-DD"),
24
- o().add(1, "day").format("YYYY-MM-DD")
25
- ];
26
- }
27
- const A = (r, n, e) => p({
28
- watch: r.reduce((t, i) => (t[i] = {
29
- deep: e?.deep,
30
- handler(...a) {
31
- e?.nextTick ? this.$nextTick(() => {
32
- this[n](...a);
33
- }) : this[n](...a);
34
- },
35
- immediate: e?.immediate
36
- }, t), {})
37
- });
38
- function R(r) {
39
- return h() ? (M(r), !0) : !1;
40
- }
41
- typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
42
- const m = () => {
43
- };
44
- function b(r, n) {
45
- function e(...t) {
46
- return new Promise((i, a) => {
47
- Promise.resolve(r(() => n.apply(this, t), { fn: n, thisArg: this, args: t })).then(i).catch(a);
48
- });
49
- }
50
- return e;
51
- }
52
- const y = (r) => r();
53
- function g(r, n = {}) {
54
- let e, t, i = m;
55
- const a = (s) => {
56
- clearTimeout(s), i(), i = m;
57
- };
58
- let f;
59
- return (s) => {
60
- const d = l(r), c = l(n.maxWait);
61
- return e && a(e), d <= 0 || c !== void 0 && c <= 0 ? (t && (a(t), t = void 0), Promise.resolve(s())) : new Promise((u, Y) => {
62
- i = n.rejectOnCancel ? Y : u, f = s, c && !t && (t = setTimeout(() => {
63
- e && a(e), t = void 0, u(f());
64
- }, c)), e = setTimeout(() => {
65
- t && a(t), t = void 0, u(s());
66
- }, d);
67
- });
68
- };
69
- }
70
- function v(r, n, e = {}) {
71
- const {
72
- eventFilter: t = y,
73
- ...i
74
- } = e;
75
- return w(
76
- r,
77
- b(
78
- t,
79
- n
80
- ),
81
- i
82
- );
83
- }
84
- function P(r, n, e = {}) {
85
- const {
86
- debounce: t = 0,
87
- maxWait: i = void 0,
88
- ...a
89
- } = e;
90
- return v(
91
- r,
92
- n,
93
- {
94
- ...a,
95
- eventFilter: g(t, { maxWait: i })
96
- }
97
- );
98
- }
99
- export {
100
- P as a,
101
- O as g,
102
- W as s,
103
- R as t,
104
- A as w
105
- };
106
- //# sourceMappingURL=revolugo.index.Bn5MchPw.min.js.map
@@ -1,31 +0,0 @@
1
- import "./revolugo.cancellationpoliciesbadge.props.C9Od7Emo.min.js";
2
- import { d as t, c as a, o as p, w as s, a as c, n as i, g as m, r as e } from "./revolugo.index.wc.Cfe4KQDt.min.js";
3
- import { W as l, _ } from "./revolugo.webcomponentwrapper.CM3EFuyv.min.js";
4
- import "./revolugo.creditcardstripeform.ZX4irL5-.min.js";
5
- import { L as f } from "./revolugo.preferencesmenu.9gEX6oER.min.js";
6
- const u = {
7
- elevation: {
8
- default: 0,
9
- type: [String, Number]
10
- }
11
- }, d = t({
12
- components: {
13
- LangPickerBtn: f,
14
- WebComponentWrapper: l
15
- },
16
- props: u
17
- });
18
- function g(n, P, k, B, W, C) {
19
- const o = e("LangPickerBtn", !0), r = e("WebComponentWrapper");
20
- return p(), a(r, null, {
21
- default: s(() => [
22
- c(o, i(m(n.$props)), null, 16)
23
- ]),
24
- _: 1
25
- });
26
- }
27
- const h = /* @__PURE__ */ _(d, [["render", g]]);
28
- export {
29
- h as default
30
- };
31
- //# sourceMappingURL=revolugo.langpickerbtn.B1e4WIXU.min.js.map
@@ -1,26 +0,0 @@
1
- import { x as p, y as t } from "./revolugo.cancellationpoliciesbadge.props.C9Od7Emo.min.js";
2
- import { d as s, c as a, o as m, w as c, a as _, n as i, g as f, r as o } from "./revolugo.index.wc.Cfe4KQDt.min.js";
3
- import { W as l, _ as d } from "./revolugo.webcomponentwrapper.CM3EFuyv.min.js";
4
- import "./revolugo.creditcardstripeform.ZX4irL5-.min.js";
5
- import "./revolugo.preferencesmenu.9gEX6oER.min.js";
6
- const u = s({
7
- components: {
8
- PrebookForm: t,
9
- WebComponentWrapper: l
10
- },
11
- props: p
12
- });
13
- function b(r, k, P, W, C, $) {
14
- const e = o("PrebookForm", !0), n = o("WebComponentWrapper");
15
- return m(), a(n, null, {
16
- default: c(() => [
17
- _(e, i(f(r.$props)), null, 16)
18
- ]),
19
- _: 1
20
- });
21
- }
22
- const w = /* @__PURE__ */ d(u, [["render", b]]);
23
- export {
24
- w as default
25
- };
26
- //# sourceMappingURL=revolugo.prebookform.5OD7qcXZ.min.js.map
@@ -1,187 +0,0 @@
1
- import { E as f, ba as N, L as v, M as b, a as o, a8 as R, O as B, ad as w, s as P, b as g, a7 as M, S as I, af as s } from "./revolugo.index.wc.Cfe4KQDt.min.js";
2
- import { bc as h, bd as U, be as D, s as y, a5 as T, Z as x, a0 as G, ae as H, a4 as Y, r as Z, w as A, a7 as F, ag as K, ac as W, G as u, X } from "./revolugo.webcomponentwrapper.CM3EFuyv.min.js";
3
- function O(e) {
4
- try {
5
- if (typeof document < "u") {
6
- window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
7
- sheets: [],
8
- components: []
9
- };
10
- const a = import.meta.url, t = a.slice(0, a.lastIndexOf("/") + 1) + e;
11
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(t);
12
- for (const n of REVOLUGO_ELEMENTS_STYLES.components)
13
- n(t);
14
- if (e.indexOf("fonts") >= 0) {
15
- const n = document.createElement("link");
16
- n.rel = "stylesheet", linK.href = t, document.head.appendChild(n);
17
- }
18
- }
19
- } catch (a) {
20
- console.error("[revolugo-elements] ", a);
21
- }
22
- }
23
- function E(e, a, t, n, c, l) {
24
- return f(e) && f(a) && (l.set(a, e), h(e, a, void 0, E, l), l.delete(a)), e;
25
- }
26
- var $ = U(function(e, a, t, n) {
27
- h(e, a, t, n);
28
- }), ee = D(function(e) {
29
- return e.push(void 0, E), N($, void 0, e);
30
- });
31
- const j = b({
32
- text: String,
33
- ...x(),
34
- ...T()
35
- }, "VToolbarTitle"), q = v()({
36
- name: "VToolbarTitle",
37
- props: j(),
38
- setup(e, a) {
39
- let {
40
- slots: t
41
- } = a;
42
- return y(() => {
43
- const n = !!(t.default || t.text || e.text);
44
- return o(e.tag, {
45
- class: ["v-toolbar-title", e.class],
46
- style: e.style
47
- }, {
48
- default: () => [n && o("div", {
49
- class: "v-toolbar-title__placeholder"
50
- }, [t.text ? t.text() : e.text, t.default?.()])]
51
- });
52
- }), {};
53
- }
54
- }), z = [null, "prominent", "default", "comfortable", "compact"], J = b({
55
- absolute: Boolean,
56
- collapse: Boolean,
57
- color: String,
58
- density: {
59
- type: String,
60
- default: "default",
61
- validator: (e) => z.includes(e)
62
- },
63
- extended: Boolean,
64
- extensionHeight: {
65
- type: [Number, String],
66
- default: 48
67
- },
68
- flat: Boolean,
69
- floating: Boolean,
70
- height: {
71
- type: [Number, String],
72
- default: 64
73
- },
74
- image: String,
75
- title: String,
76
- ...K(),
77
- ...x(),
78
- ...F(),
79
- ...A(),
80
- ...T({
81
- tag: "header"
82
- }),
83
- ...I()
84
- }, "VToolbar"), te = v()({
85
- name: "VToolbar",
86
- props: J(),
87
- setup(e, a) {
88
- let {
89
- slots: t
90
- } = a;
91
- const {
92
- backgroundColorClasses: n,
93
- backgroundColorStyles: c
94
- } = G(R(e, "color")), {
95
- borderClasses: l
96
- } = H(e), {
97
- elevationClasses: S
98
- } = Y(e), {
99
- roundedClasses: _
100
- } = Z(e), {
101
- themeClasses: k
102
- } = B(e), {
103
- rtlClasses: V
104
- } = w(), i = P(!!(e.extended || t.extension?.())), r = g(() => parseInt(Number(e.height) + (e.density === "prominent" ? Number(e.height) : 0) - (e.density === "comfortable" ? 8 : 0) - (e.density === "compact" ? 16 : 0), 10)), d = g(() => i.value ? parseInt(Number(e.extensionHeight) + (e.density === "prominent" ? Number(e.extensionHeight) : 0) - (e.density === "comfortable" ? 4 : 0) - (e.density === "compact" ? 8 : 0), 10) : 0);
105
- return M({
106
- VBtn: {
107
- variant: "text"
108
- }
109
- }), y(() => {
110
- const L = !!(e.title || t.title), C = !!(t.image || e.image), m = t.extension?.();
111
- return i.value = !!(e.extended || m), o(e.tag, {
112
- class: ["v-toolbar", {
113
- "v-toolbar--absolute": e.absolute,
114
- "v-toolbar--collapse": e.collapse,
115
- "v-toolbar--flat": e.flat,
116
- "v-toolbar--floating": e.floating,
117
- [`v-toolbar--density-${e.density}`]: !0
118
- }, n.value, l.value, S.value, _.value, k.value, V.value, e.class],
119
- style: [c.value, e.style]
120
- }, {
121
- default: () => [C && o("div", {
122
- key: "image",
123
- class: "v-toolbar__image"
124
- }, [t.image ? o(u, {
125
- key: "image-defaults",
126
- disabled: !e.image,
127
- defaults: {
128
- VImg: {
129
- cover: !0,
130
- src: e.image
131
- }
132
- }
133
- }, t.image) : o(W, {
134
- key: "image-img",
135
- cover: !0,
136
- src: e.image
137
- }, null)]), o(u, {
138
- defaults: {
139
- VTabs: {
140
- height: s(r.value)
141
- }
142
- }
143
- }, {
144
- default: () => [o("div", {
145
- class: "v-toolbar__content",
146
- style: {
147
- height: s(r.value)
148
- }
149
- }, [t.prepend && o("div", {
150
- class: "v-toolbar__prepend"
151
- }, [t.prepend?.()]), L && o(q, {
152
- key: "title",
153
- text: e.title
154
- }, {
155
- text: t.title
156
- }), t.default?.(), t.append && o("div", {
157
- class: "v-toolbar__append"
158
- }, [t.append?.()])])]
159
- }), o(u, {
160
- defaults: {
161
- VTabs: {
162
- height: s(d.value)
163
- }
164
- }
165
- }, {
166
- default: () => [o(X, null, {
167
- default: () => [i.value && o("div", {
168
- class: "v-toolbar__extension",
169
- style: {
170
- height: s(d.value)
171
- }
172
- }, [m])]
173
- })]
174
- })]
175
- });
176
- }), {
177
- contentHeight: r,
178
- extensionHeight: d
179
- };
180
- }
181
- });
182
- O("css/revolugo.vtoolbar.BZert82L.css");
183
- export {
184
- te as V,
185
- ee as d
186
- };
187
- //# sourceMappingURL=revolugo.vtoolbar.DZrBQWQ0.min.js.map