@revolugo/elements 7.11.2 → 7.12.0-rc.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 (58) hide show
  1. package/dist/index.es.min.js +1 -1
  2. package/dist/index.es.min.js.map +1 -1
  3. package/dist/index.min.js +1 -1
  4. package/dist/index.min.js.map +1 -1
  5. package/dist/revolugo.min.js +65 -66
  6. package/package.json +5 -5
  7. package/dist/css/fonts.css +0 -1
  8. package/dist/css/revolugo.bookingpaymentform.CekI3oIR.css +0 -1
  9. package/dist/css/revolugo.creditcardstripeform.CmxpInfL.css +0 -1
  10. package/dist/css/revolugo.index.5WWmkTtd.css +0 -1
  11. package/dist/css/revolugo.preferencesmenu.DwotHb97.css +0 -1
  12. package/dist/css/revolugo.revolugoelements.D3jgSljg.css +0 -1
  13. package/dist/css/revolugo.storybooktoolbar.d_cxquq9.css +0 -1
  14. package/dist/css/revolugo.ui.sAxjrsi6.css +0 -1
  15. package/dist/css/revolugo.vtoolbar.BS4p23lZ.css +0 -1
  16. package/dist/css/revolugo.webcomponentwrapper.LxbCIx-k.css +0 -1
  17. package/dist/revolugo.banktransferdetails.ql5QYmUR.min.js +0 -24
  18. package/dist/revolugo.bookingdetailssidebar.CVi0BqUW.min.js +0 -25
  19. package/dist/revolugo.bookingmanager.DP-s7JZu.min.js +0 -24
  20. package/dist/revolugo.bookingpaymentform.BJCfZ_Kk.min.js +0 -5158
  21. package/dist/revolugo.cancellationpoliciesbadge.LvXxw6Uw.min.js +0 -24
  22. package/dist/revolugo.cancellationpolicieslist.Dac8qxMA.min.js +0 -24
  23. package/dist/revolugo.creditcardstripeform.Ba6BWtYz.min.js +0 -2787
  24. package/dist/revolugo.creditcardstripeform.DCLuK09J.min.js +0 -25
  25. package/dist/revolugo.creditcardstripeform.props.C4lAZ1a1.min.js +0 -35
  26. package/dist/revolugo.currencypickerbtn.D5at0qzh.min.js +0 -25
  27. package/dist/revolugo.dist.CLV0MHMA.min.js +0 -58
  28. package/dist/revolugo.fastbookingflow.BBcEUXA0.min.js +0 -34
  29. package/dist/revolugo.framework.k0uaz58D.min.js +0 -775
  30. package/dist/revolugo.fullbookingflow.CbcxEJ_p.min.js +0 -24
  31. package/dist/revolugo.hoteldescriptionview.BhOkhZrl.min.js +0 -24
  32. package/dist/revolugo.hotelofferlist.DwP_q7sh.min.js +0 -24
  33. package/dist/revolugo.hoteloffersearchmenu.D2nQIXps.min.js +0 -24
  34. package/dist/revolugo.hoteloffersmap.BzJXBIZu.min.js +0 -24
  35. package/dist/revolugo.hoteloffersview.DbkrpmcL.min.js +0 -18
  36. package/dist/revolugo.hotelroomofferlist.BDmMQUXg.min.js +0 -24
  37. package/dist/revolugo.hotelroomoffersbookingflow.BTX5vw3U.min.js +0 -24
  38. package/dist/revolugo.hotelroomoffersearchmenu.Byc3rzga.min.js +0 -24
  39. package/dist/revolugo.hotelroomoffersview.DpCNFUpm.min.js +0 -24
  40. package/dist/revolugo.langpickerbtn.BYYCD3xg.min.js +0 -25
  41. package/dist/revolugo.leaflet-src.CtLpIV-y.min.js +0 -4665
  42. package/dist/revolugo.leaflet-src.esm.DzYPfo81.min.js +0 -4782
  43. package/dist/revolugo.marker-icon-2x.BBE8dvJp.min.js +0 -8
  44. package/dist/revolugo.marker-icon.VORuIHX9.min.js +0 -8
  45. package/dist/revolugo.marker-shadow.BcaYGGj2.min.js +0 -8
  46. package/dist/revolugo.prebookform.Buadq4bi.min.js +0 -24
  47. package/dist/revolugo.preferencesmenu.HRS1NoUW.min.js +0 -958
  48. package/dist/revolugo.revolugo-config.BhnbJkHY.min.js +0 -6492
  49. package/dist/revolugo.revolugoelements.DqTSs2x-.min.js +0 -34409
  50. package/dist/revolugo.rolldown-runtime.C2H8viMH.min.js +0 -25
  51. package/dist/revolugo.roominglisteditor.C7NMBMQu.min.js +0 -24
  52. package/dist/revolugo.storybooktoolbar.DuOgD1zs.min.js +0 -996
  53. package/dist/revolugo.termsandconditions.Dhn9Gh19.min.js +0 -24
  54. package/dist/revolugo.theme.CWCtKizJ.min.js +0 -17277
  55. package/dist/revolugo.ui.CwfYE_fW.min.js +0 -57666
  56. package/dist/revolugo.vtoolbar.CrASDlFx.min.js +0 -145
  57. package/dist/revolugo.webcomponentwrapper.DYBPZW1v.min.js +0 -256
  58. package/dist/revolugo2.preferencesmenu.B_DB1N90.min.js +0 -24
@@ -1,145 +0,0 @@
1
- import { G as n, M as m, O as L, S as C, T as v, Tr as a, hi as N, i as B, pi as O, r as P, vr as c } from "./revolugo.theme.CWCtKizJ.min.js";
2
- import { Bt as R, It as w, Lt as I, Mt as M, Nt as U, Pt as G, Zt as H, gn as g, pn as f, rn as b, vt as Y, yt as D, zt as d } from "./revolugo.ui.CwfYE_fW.min.js";
3
- function k(e) {
4
- try {
5
- if (typeof document < "u") {
6
- window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
7
- sheets: [],
8
- components: []
9
- };
10
- const l = import.meta.url, t = l.slice(0, l.lastIndexOf("/") + 1) + e;
11
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(t);
12
- for (const o of REVOLUGO_ELEMENTS_STYLES.components)
13
- o(t);
14
- if (e.indexOf("fonts") >= 0) {
15
- const o = document.createElement("link");
16
- o.rel = "stylesheet", linK.href = t, document.head.appendChild(o);
17
- }
18
- }
19
- } catch (l) {
20
- console.error("[revolugo-elements] ", l);
21
- }
22
- }
23
- var Z = m({
24
- text: String,
25
- ...g(),
26
- ...b()
27
- }, "VToolbarTitle"), j = v()({
28
- name: "VToolbarTitle",
29
- props: Z(),
30
- setup(e, l) {
31
- let { slots: t } = l;
32
- return f(() => {
33
- const o = !!(t.default || t.text || e.text);
34
- return a(e.tag, {
35
- class: ["v-toolbar-title", e.class],
36
- style: e.style
37
- }, { default: () => [o && a("div", { class: "v-toolbar-title__placeholder" }, [t.text ? t.text() : e.text, t.default?.()])] });
38
- }), {};
39
- }
40
- }), z = [
41
- null,
42
- "prominent",
43
- "default",
44
- "comfortable",
45
- "compact"
46
- ], F = m({
47
- absolute: Boolean,
48
- collapse: Boolean,
49
- color: String,
50
- density: {
51
- type: String,
52
- default: "default",
53
- validator: (e) => z.includes(e)
54
- },
55
- extended: Boolean,
56
- extensionHeight: {
57
- type: [Number, String],
58
- default: 48
59
- },
60
- flat: Boolean,
61
- floating: Boolean,
62
- height: {
63
- type: [Number, String],
64
- default: 64
65
- },
66
- image: String,
67
- title: String,
68
- ...M(),
69
- ...g(),
70
- ...Y(),
71
- ...w(),
72
- ...b({ tag: "header" }),
73
- ...P()
74
- }, "VToolbar"), q = v()({
75
- name: "VToolbar",
76
- props: F(),
77
- setup(e, l) {
78
- let { slots: t } = l;
79
- const { backgroundColorClasses: o, backgroundColorStyles: h } = H(N(e, "color")), { borderClasses: T } = U(e), { elevationClasses: y } = D(e), { roundedClasses: x } = I(e), { themeClasses: E } = B(e), { rtlClasses: S } = C(), s = O(!!(e.extended || t.extension?.())), i = c(() => parseInt(Number(e.height) + (e.density === "prominent" ? Number(e.height) : 0) - (e.density === "comfortable" ? 8 : 0) - (e.density === "compact" ? 16 : 0), 10)), r = c(() => s.value ? parseInt(Number(e.extensionHeight) + (e.density === "prominent" ? Number(e.extensionHeight) : 0) - (e.density === "comfortable" ? 4 : 0) - (e.density === "compact" ? 8 : 0), 10) : 0);
80
- return L({ VBtn: { variant: "text" } }), f(() => {
81
- const V = !!(e.title || t.title), _ = !!(t.image || e.image), u = t.extension?.();
82
- return s.value = !!(e.extended || u), a(e.tag, {
83
- class: [
84
- "v-toolbar",
85
- {
86
- "v-toolbar--absolute": e.absolute,
87
- "v-toolbar--collapse": e.collapse,
88
- "v-toolbar--flat": e.flat,
89
- "v-toolbar--floating": e.floating,
90
- [`v-toolbar--density-${e.density}`]: !0
91
- },
92
- o.value,
93
- T.value,
94
- y.value,
95
- x.value,
96
- E.value,
97
- S.value,
98
- e.class
99
- ],
100
- style: [h.value, e.style]
101
- }, { default: () => [
102
- _ && a("div", {
103
- key: "image",
104
- class: "v-toolbar__image"
105
- }, [t.image ? a(d, {
106
- key: "image-defaults",
107
- disabled: !e.image,
108
- defaults: { VImg: {
109
- cover: !0,
110
- src: e.image
111
- } }
112
- }, t.image) : a(G, {
113
- key: "image-img",
114
- cover: !0,
115
- src: e.image
116
- }, null)]),
117
- a(d, { defaults: { VTabs: { height: n(i.value) } } }, { default: () => [a("div", {
118
- class: "v-toolbar__content",
119
- style: { height: n(i.value) }
120
- }, [
121
- t.prepend && a("div", { class: "v-toolbar__prepend" }, [t.prepend?.()]),
122
- V && a(j, {
123
- key: "title",
124
- text: e.title
125
- }, { text: t.title }),
126
- t.default?.(),
127
- t.append && a("div", { class: "v-toolbar__append" }, [t.append?.()])
128
- ])] }),
129
- a(d, { defaults: { VTabs: { height: n(r.value) } } }, { default: () => [a(R, null, { default: () => [s.value && a("div", {
130
- class: "v-toolbar__extension",
131
- style: { height: n(r.value) }
132
- }, [u])] })] })
133
- ] });
134
- }), {
135
- contentHeight: i,
136
- extensionHeight: r
137
- };
138
- }
139
- });
140
- k("css/revolugo.vtoolbar.BS4p23lZ.css");
141
- export {
142
- q as t
143
- };
144
-
145
- //# sourceMappingURL=revolugo.vtoolbar.CrASDlFx.min.js.map
@@ -1,256 +0,0 @@
1
- import { Dr as _, Gr as O, Ht as L, Kr as m, M as w, Mn as C, Pt as T, S as B, Sr as c, T as W, Tr as f, Ur as n, Ut as R, a as E, br as d, i as P, ir as V, mr as U, qr as h, r as $, ri as v, ti as S, wi as I, wr as N, xi as A, yr as u } from "./revolugo.theme.CWCtKizJ.min.js";
2
- import { Ut as M, Wt as b, gn as G, ln as K, pn as x, sn as Y } from "./revolugo.ui.CwfYE_fW.min.js";
3
- function g(t) {
4
- try {
5
- if (typeof document < "u") {
6
- window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
7
- sheets: [],
8
- components: []
9
- };
10
- const e = import.meta.url, r = e.slice(0, e.lastIndexOf("/") + 1) + t;
11
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(r);
12
- for (const o of REVOLUGO_ELEMENTS_STYLES.components)
13
- o(r);
14
- if (t.indexOf("fonts") >= 0) {
15
- const o = document.createElement("link");
16
- o.rel = "stylesheet", linK.href = r, document.head.appendChild(o);
17
- }
18
- }
19
- } catch (e) {
20
- console.error("[revolugo-elements] ", e);
21
- }
22
- }
23
- var F = w({
24
- ...G(),
25
- ...K({ fullHeight: !0 }),
26
- ...$()
27
- }, "VApp"), D = W()({
28
- name: "VApp",
29
- props: F(),
30
- setup(t, e) {
31
- let { slots: r } = e;
32
- const o = P(t), { layoutClasses: a, getLayoutItem: s, items: l, layoutRef: p } = Y(t), { rtlClasses: i } = B();
33
- return x(() => f("div", {
34
- ref: p,
35
- class: [
36
- "v-application",
37
- o.themeClasses.value,
38
- a.value,
39
- i.value,
40
- t.class
41
- ],
42
- style: [t.style]
43
- }, [f("div", { class: "v-application__wrap" }, [r.default?.()])])), {
44
- getLayoutItem: s,
45
- items: l,
46
- theme: o
47
- };
48
- }
49
- }), q = _({
50
- data: () => ({ observerClass: R }),
51
- mixins: [L],
52
- name: "BBreakpointObserver",
53
- props: { atRoot: {
54
- default: !1,
55
- type: Boolean
56
- } },
57
- setup(t) {
58
- const { config: e } = T(), { current: r, themes: o } = E();
59
- function a() {
60
- if (e.value) {
61
- e.value.theme || (e.value.theme = {});
62
- try {
63
- e.value.theme.accent || (e.value.theme.accent = e.value.theme.primary || r.value.colors.primary), e.value.theme.markerPrimary || (e.value.theme.markerPrimary = e.value.theme.primary || r.value.colors.primary), e.value.theme.markerSecondary || (e.value.theme.markerSecondary = e.value.theme.primary || r.value.colors.primary);
64
- const s = o.value.light;
65
- if (!s) return;
66
- const l = {
67
- ...s.colors,
68
- ...e.value.theme,
69
- "marker-primary": e.value.theme.markerPrimary,
70
- "marker-secondary": e.value.theme.markerSecondary
71
- };
72
- o.value = {
73
- ...o.value,
74
- light: {
75
- colors: l,
76
- dark: !1,
77
- variables: { ...s.variables }
78
- }
79
- };
80
- } catch (s) {
81
- console.warn(s);
82
- }
83
- }
84
- }
85
- return t.atRoot && S(() => [e.value], a, { immediate: !0 }), { config: e };
86
- }
87
- });
88
- function z(t, e, r, o, a, s) {
89
- return n(), c("div", {
90
- class: A(t.observerClass),
91
- style: { height: "100%" }
92
- }, [t.atRoot ? (n(), d(D, {
93
- key: 0,
94
- style: { height: "100%" }
95
- }, {
96
- default: v(() => [m(t.$slots, "default")]),
97
- _: 3
98
- })) : m(t.$slots, "default", { key: 1 })], 2);
99
- }
100
- var j = /* @__PURE__ */ b(q, [["render", z]]), k = _({
101
- components: {
102
- BBreakpointObserver: j,
103
- BErrorOverlay: M
104
- },
105
- created() {
106
- this.loadFont("revolugo-roboto-link", "https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900"), this.loadFont("revolugo-font-awesome-link", "https://use.fontawesome.com/releases/v6.1.1/css/all.css"), this.loadFont("revolugo-fonts", `${import.meta.url.slice(0, import.meta.url.lastIndexOf("/"))}/css/fonts.css`);
107
- },
108
- data() {
109
- const t = [];
110
- for (const e of document.querySelectorAll("link")) /\/revolugo\..+\.min\.css$/u.test(e.href) && t.push(e.href);
111
- return typeof window < "u" && (window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
112
- components: [],
113
- sheets: []
114
- }, t.push(...window.REVOLUGO_ELEMENTS_STYLES.sheets)), {
115
- attrs: this.$attrs,
116
- stylesheets: t
117
- };
118
- },
119
- methods: { loadFont(t, e) {
120
- if (document && !document.getElementById(t)) {
121
- const r = document.createElement("link");
122
- r.id = t, r.rel = "stylesheet", r.href = e, document.head.append(r);
123
- }
124
- } },
125
- mounted() {
126
- typeof window < "u" && (window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
127
- components: [],
128
- sheets: []
129
- }, window.REVOLUGO_ELEMENTS_STYLES.components.push((t) => {
130
- this.stylesheets && this.stylesheets.push(t);
131
- }));
132
- },
133
- name: "WebComponentWrapper",
134
- props: { errorOverlayDisabled: {
135
- default: !1,
136
- type: Boolean
137
- } },
138
- setup() {
139
- const t = E(), e = V(), { t: r } = C();
140
- return S(() => t.styles.value, (o) => {
141
- if (e) {
142
- const a = e.querySelector("#vuetify-theme-stylesheet");
143
- if (a) a.textContent = o;
144
- else {
145
- const s = document.createElement("style");
146
- s.type = "text/css", s.id = "vuetify-theme-stylesheet", s.textContent = o, e.prepend(s);
147
- }
148
- }
149
- }, { immediate: !0 }), { t: r };
150
- }
151
- });
152
- function y(t) {
153
- const e = t;
154
- e.__i18n = e.__i18n || [], e.__i18n.push({
155
- locale: "",
156
- resource: {
157
- "en-US": { WebComponentWrapper: { apiKey: { invalid: { title: {
158
- t: 0,
159
- b: {
160
- t: 2,
161
- i: [{ t: 3 }],
162
- s: "⚠️ Please, provide a valid API Key credential"
163
- }
164
- } } } } },
165
- "fr-FR": { WebComponentWrapper: { apiKey: { invalid: { title: {
166
- t: 0,
167
- b: {
168
- t: 2,
169
- i: [{ t: 3 }],
170
- s: "⚠️ Veuillez renseigner une clé API valide"
171
- }
172
- } } } } },
173
- "de-DE": { WebComponentWrapper: { apiKey: { invalid: { title: {
174
- t: 0,
175
- b: {
176
- t: 2,
177
- i: [{ t: 3 }],
178
- s: "⚠️ Bitte geben Sie einen gültigen API-Schlüssel an"
179
- }
180
- } } } } },
181
- "es-ES": { WebComponentWrapper: { apiKey: { invalid: { title: {
182
- t: 0,
183
- b: {
184
- t: 2,
185
- i: [{ t: 3 }],
186
- s: "⚠️ Por favor, proporcione una credencial de clave API válida"
187
- }
188
- } } } } },
189
- "it-IT": { WebComponentWrapper: { apiKey: { invalid: { title: {
190
- t: 0,
191
- b: {
192
- t: 2,
193
- i: [{ t: 3 }],
194
- s: "⚠️ Per favore, fornisci una credenziale API Key valida"
195
- }
196
- } } } } },
197
- "nl-NL": { WebComponentWrapper: { apiKey: { invalid: { title: {
198
- t: 0,
199
- b: {
200
- t: 2,
201
- i: [{ t: 3 }],
202
- s: "⚠️ Gelieve een geldige API-sleutel op te geven"
203
- }
204
- } } } } },
205
- "pt-PT": { WebComponentWrapper: { apiKey: { invalid: { title: {
206
- t: 0,
207
- b: {
208
- t: 2,
209
- i: [{ t: 3 }],
210
- s: "⚠️ Por favor, forneça uma credencial de chave API válida"
211
- }
212
- } } } } }
213
- }
214
- });
215
- }
216
- var H = ["href"], J = {
217
- class: "d-block",
218
- style: { display: "none" }
219
- };
220
- function Q(t, e, r, o, a, s) {
221
- const l = h("BErrorOverlay"), p = h("BBreakpointObserver");
222
- return n(), d(p, { "at-root": "" }, {
223
- default: v(() => [
224
- e[0] || (e[0] = u("link", {
225
- href: "https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900",
226
- rel: "stylesheet"
227
- }, null, -1)),
228
- e[1] || (e[1] = u("link", {
229
- href: "https://use.fontawesome.com/releases/v6.1.1/css/all.css",
230
- rel: "stylesheet"
231
- }, null, -1)),
232
- (n(!0), c(U, null, O(t.stylesheets, (i) => (n(), c("link", {
233
- key: i,
234
- href: i,
235
- rel: "stylesheet"
236
- }, null, 8, H))), 128)),
237
- u("div", J, [!t.isBookingApiClientDefined && !t.errorOverlayDisabled ? (n(), d(l, {
238
- key: 0,
239
- "min-height": "180px"
240
- }, {
241
- title: v(() => [N(I(t.t("WebComponentWrapper.apiKey.invalid.title")), 1)]),
242
- _: 1
243
- })) : m(t.$slots, "default", { key: 1 })])
244
- ]),
245
- _: 3
246
- });
247
- }
248
- typeof y == "function" && y(k);
249
- var ee = /* @__PURE__ */ b(k, [["render", Q]]);
250
- g("css/revolugo.webcomponentwrapper.LxbCIx-k.css");
251
- export {
252
- j as n,
253
- ee as t
254
- };
255
-
256
- //# sourceMappingURL=revolugo.webcomponentwrapper.DYBPZW1v.min.js.map
@@ -1,24 +0,0 @@
1
- import { Dr as p, Si as t, Tr as a, Ur as s, br as u, kr as c, qr as e, ri as _ } from "./revolugo.theme.CWCtKizJ.min.js";
2
- import { Wt as f } from "./revolugo.ui.CwfYE_fW.min.js";
3
- import { t as l } from "./revolugo.webcomponentwrapper.DYBPZW1v.min.js";
4
- import { i as m, t as i } from "./revolugo.preferencesmenu.HRS1NoUW.min.js";
5
- var d = p({
6
- components: {
7
- PreferencesMenu: i,
8
- WebComponentWrapper: l
9
- },
10
- props: m
11
- });
12
- function P(r, W, v, C, M, $) {
13
- const n = e("PreferencesMenu", !0), o = e("WebComponentWrapper");
14
- return s(), u(o, null, {
15
- default: _(() => [a(n, t(c(r.$props)), null, 16)]),
16
- _: 1
17
- });
18
- }
19
- var x = /* @__PURE__ */ f(d, [["render", P]]);
20
- export {
21
- x as default
22
- };
23
-
24
- //# sourceMappingURL=revolugo2.preferencesmenu.B_DB1N90.min.js.map