@revolugo/elements 6.10.7-beta.7 → 6.10.7-beta.9

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 (34) hide show
  1. package/dist/{revolugo.banktransferdetails.B9w6fgfR.min.js → revolugo.banktransferdetails.nlJgWeJE.min.js} +6 -6
  2. package/dist/{revolugo.bookingdetailssidebar.BcJDXMBS.min.js → revolugo.bookingdetailssidebar.CiLb9ajw.min.js} +6 -6
  3. package/dist/{revolugo.bookingmanager.BI9ad0ym.min.js → revolugo.bookingmanager._rdfIq1M.min.js} +6 -6
  4. package/dist/{revolugo.cancellationpoliciesbadge.CFD-mA7-.min.js → revolugo.cancellationpoliciesbadge.BdDLt5Fq.min.js} +6 -6
  5. package/dist/{revolugo.cancellationpoliciesbadge.props.CFYaSawG.min.js → revolugo.cancellationpoliciesbadge.props.C41GVe9V.min.js} +8229 -9263
  6. package/dist/{revolugo.cancellationpolicieslist.DTPVjj8n.min.js → revolugo.cancellationpolicieslist.jeS8yIsX.min.js} +6 -6
  7. package/dist/{revolugo.creditcardstripeform.D0TIpf2_.min.js → revolugo.creditcardstripeform.Ba2RlXAu.min.js} +4 -4
  8. package/dist/{revolugo.creditcardstripeform.DansqtHm.min.js → revolugo.creditcardstripeform.CA3rSivy.min.js} +45 -45
  9. package/dist/{revolugo.currencypickerbtn.jXr86GbZ.min.js → revolugo.currencypickerbtn.DvEvZY4U.min.js} +6 -6
  10. package/dist/{revolugo.dialog-attach.k69XXaRW.min.js → revolugo.dialog-attach.QAH4SLBd.min.js} +2 -2
  11. package/dist/{revolugo.fastbookingflow.BPpIqVTT.min.js → revolugo.fastbookingflow.Dqo9S0J3.min.js} +6 -6
  12. package/dist/{revolugo.fullbookingflow.CaMkhyNv.min.js → revolugo.fullbookingflow.B0qtmykJ.min.js} +6 -6
  13. package/dist/{revolugo.hoteldescriptionview.A66T96oU.min.js → revolugo.hoteldescriptionview.DgO2btt2.min.js} +6 -6
  14. package/dist/{revolugo.hotelofferlist.DkWI4qWu.min.js → revolugo.hotelofferlist.MTZBskin.min.js} +6 -6
  15. package/dist/{revolugo.hoteloffersearchmenu.reO7ym02.min.js → revolugo.hoteloffersearchmenu.CEQ1b_Gr.min.js} +7 -7
  16. package/dist/{revolugo.hoteloffersmap.CNKQguVD.min.js → revolugo.hoteloffersmap.DSE15eNJ.min.js} +6 -6
  17. package/dist/{revolugo.hoteloffersview.Cl4mt-XH.min.js → revolugo.hoteloffersview.BPy-oppl.min.js} +6 -6
  18. package/dist/{revolugo.hotelroomofferlist.DUKRYVVd.min.js → revolugo.hotelroomofferlist.D0021Qra.min.js} +6 -6
  19. package/dist/{revolugo.hotelroomoffersbookingflow.lsfUh2hu.min.js → revolugo.hotelroomoffersbookingflow.HNV0qUEE.min.js} +6 -6
  20. package/dist/{revolugo.hotelroomoffersearchmenu.CiTQ5oJW.min.js → revolugo.hotelroomoffersearchmenu.ruO6ewiC.min.js} +6 -6
  21. package/dist/{revolugo.hotelroomoffersview.C-8p61m6.min.js → revolugo.hotelroomoffersview.BkbExl1e.min.js} +6 -6
  22. package/dist/{revolugo.index.w7rplek7.min.js → revolugo.index.Cnnwk6a-.min.js} +14 -14
  23. package/dist/{revolugo.index.wc.DG5gDDzn.min.js → revolugo.index.wc.BTXz0GAq.min.js} +4249 -4345
  24. package/dist/{revolugo.langpickerbtn.CEO270sF.min.js → revolugo.langpickerbtn.BqopS5dp.min.js} +6 -6
  25. package/dist/revolugo.min.js +1 -1
  26. package/dist/{revolugo.prebookform.CMdg74CO.min.js → revolugo.prebookform.CfBP09i7.min.js} +6 -6
  27. package/dist/{revolugo.preferencesmenu.DzIXY0Qy.min.js → revolugo.preferencesmenu.C-jffHMP.min.js} +4 -4
  28. package/dist/{revolugo.preferencesmenu.as4k8Yuh.min.js → revolugo.preferencesmenu.zSRGpUGm.min.js} +43 -43
  29. package/dist/{revolugo.roominglisteditor.Dav5qh9V.min.js → revolugo.roominglisteditor.BH91GiXz.min.js} +6 -6
  30. package/dist/{revolugo.storybooktoolbar.De9sIR3x.min.js → revolugo.storybooktoolbar.Bf6ixtzr.min.js} +5 -5
  31. package/dist/{revolugo.termsandconditions.B5W76NTB.min.js → revolugo.termsandconditions.BHQX0F0Z.min.js} +6 -6
  32. package/dist/{revolugo.vtoolbar.BQ_wv4PN.min.js → revolugo.vtoolbar.Df40l6Lm.min.js} +83 -56
  33. package/dist/{revolugo.webcomponentwrapper.CAugmsNT.min.js → revolugo.webcomponentwrapper.ChQJrXbc.min.js} +878 -829
  34. package/package.json +1 -1
@@ -1,13 +1,13 @@
1
- import { s as m, a5 as g, Z as v, a0 as L, ae as C, a4 as N, r as B, w as O, a7 as R, ag as w, ac as P, G as d, X as I } from "./revolugo.webcomponentwrapper.CAugmsNT.min.js";
2
- import { J as f, K as b, a, a5 as U, M as G, aa as H, s as M, b as u, a4 as Y, Q as D, ac as s } from "./revolugo.index.wc.DG5gDDzn.min.js";
3
- function k(e) {
1
+ import { s as T, a5 as x, Z as E, a0 as O, ae as C, a4 as N, r as w, w as R, a7 as B, ag as P, ac as I, G as v, X as U } from "./revolugo.webcomponentwrapper.ChQJrXbc.min.js";
2
+ import { K as V, L as S, a, a5 as D, N as G, aa as H, s as M, b as y, a4 as Y, R as j, ac as m } from "./revolugo.index.wc.BTXz0GAq.min.js";
3
+ function L(e) {
4
4
  try {
5
5
  if (typeof document < "u") {
6
6
  window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
7
7
  sheets: [],
8
8
  components: []
9
9
  };
10
- const l = import.meta.url, t = l.slice(0, l.lastIndexOf("/") + 1) + e;
10
+ const n = import.meta.url, t = n.slice(0, n.lastIndexOf("/") + 1) + e;
11
11
  window.REVOLUGO_ELEMENTS_STYLES.sheets.push(t);
12
12
  for (const o of REVOLUGO_ELEMENTS_STYLES.components)
13
13
  o(t);
@@ -16,22 +16,48 @@ function k(e) {
16
16
  o.rel = "stylesheet", linK.href = t, document.head.appendChild(o);
17
17
  }
18
18
  }
19
- } catch (l) {
20
- console.error("[revolugo-elements] ", l);
19
+ } catch (n) {
20
+ console.error("[revolugo-elements] ", n);
21
21
  }
22
22
  }
23
- const K = b({
23
+ function b(e) {
24
+ return e !== null && typeof e == "object";
25
+ }
26
+ function $(e, ...n) {
27
+ const t = e ?? {}, o = /* @__PURE__ */ new WeakMap();
28
+ function c(s, d) {
29
+ for (const i in d)
30
+ if (Object.hasOwn(d, i)) {
31
+ const l = d[i], u = s[i];
32
+ if (u === void 0)
33
+ if (b(l))
34
+ if (o.has(l))
35
+ s[i] = o.get(l);
36
+ else {
37
+ const r = Array.isArray(l) ? [] : {};
38
+ o.set(l, r), c(r, l), s[i] = r;
39
+ }
40
+ else
41
+ s[i] = l;
42
+ else b(u) && b(l) && c(u, l);
43
+ }
44
+ }
45
+ for (const s of n)
46
+ s != null && c(t, s);
47
+ return t;
48
+ }
49
+ const A = S({
24
50
  text: String,
25
- ...v(),
26
- ...g()
27
- }, "VToolbarTitle"), Z = f()({
51
+ ...E(),
52
+ ...x()
53
+ }, "VToolbarTitle"), K = V()({
28
54
  name: "VToolbarTitle",
29
- props: K(),
30
- setup(e, l) {
55
+ props: A(),
56
+ setup(e, n) {
31
57
  let {
32
58
  slots: t
33
- } = l;
34
- return m(() => {
59
+ } = n;
60
+ return T(() => {
35
61
  const o = !!(t.default || t.text || e.text);
36
62
  return a(e.tag, {
37
63
  class: ["v-toolbar-title", e.class],
@@ -43,14 +69,14 @@ const K = b({
43
69
  });
44
70
  }), {};
45
71
  }
46
- }), j = [null, "prominent", "default", "comfortable", "compact"], F = b({
72
+ }), Z = [null, "prominent", "default", "comfortable", "compact"], F = S({
47
73
  absolute: Boolean,
48
74
  collapse: Boolean,
49
75
  color: String,
50
76
  density: {
51
77
  type: String,
52
78
  default: "default",
53
- validator: (e) => j.includes(e)
79
+ validator: (e) => Z.includes(e)
54
80
  },
55
81
  extended: Boolean,
56
82
  extensionHeight: {
@@ -65,55 +91,55 @@ const K = b({
65
91
  },
66
92
  image: String,
67
93
  title: String,
68
- ...w(),
69
- ...v(),
94
+ ...P(),
95
+ ...E(),
96
+ ...B(),
70
97
  ...R(),
71
- ...O(),
72
- ...g({
98
+ ...x({
73
99
  tag: "header"
74
100
  }),
75
- ...D()
76
- }, "VToolbar"), X = f()({
101
+ ...j()
102
+ }, "VToolbar"), q = V()({
77
103
  name: "VToolbar",
78
104
  props: F(),
79
- setup(e, l) {
105
+ setup(e, n) {
80
106
  let {
81
107
  slots: t
82
- } = l;
108
+ } = n;
83
109
  const {
84
110
  backgroundColorClasses: o,
85
- backgroundColorStyles: h
86
- } = L(U(e, "color")), {
87
- borderClasses: T
111
+ backgroundColorStyles: c
112
+ } = O(D(e, "color")), {
113
+ borderClasses: s
88
114
  } = C(e), {
89
- elevationClasses: y
115
+ elevationClasses: d
90
116
  } = N(e), {
91
- roundedClasses: x
92
- } = B(e), {
93
- themeClasses: E
117
+ roundedClasses: i
118
+ } = w(e), {
119
+ themeClasses: l
94
120
  } = G(e), {
95
- rtlClasses: S
96
- } = H(), n = M(!!(e.extended || t.extension?.())), i = u(() => parseInt(Number(e.height) + (e.density === "prominent" ? Number(e.height) : 0) - (e.density === "comfortable" ? 8 : 0) - (e.density === "compact" ? 16 : 0), 10)), r = u(() => n.value ? parseInt(Number(e.extensionHeight) + (e.density === "prominent" ? Number(e.extensionHeight) : 0) - (e.density === "comfortable" ? 4 : 0) - (e.density === "compact" ? 8 : 0), 10) : 0);
121
+ rtlClasses: u
122
+ } = H(), r = M(!!(e.extended || t.extension?.())), f = y(() => parseInt(Number(e.height) + (e.density === "prominent" ? Number(e.height) : 0) - (e.density === "comfortable" ? 8 : 0) - (e.density === "compact" ? 16 : 0), 10)), g = y(() => r.value ? parseInt(Number(e.extensionHeight) + (e.density === "prominent" ? Number(e.extensionHeight) : 0) - (e.density === "comfortable" ? 4 : 0) - (e.density === "compact" ? 8 : 0), 10) : 0);
97
123
  return Y({
98
124
  VBtn: {
99
125
  variant: "text"
100
126
  }
101
- }), m(() => {
102
- const V = !!(e.title || t.title), _ = !!(t.image || e.image), c = t.extension?.();
103
- return n.value = !!(e.extended || c), a(e.tag, {
127
+ }), T(() => {
128
+ const _ = !!(e.title || t.title), k = !!(t.image || e.image), h = t.extension?.();
129
+ return r.value = !!(e.extended || h), a(e.tag, {
104
130
  class: ["v-toolbar", {
105
131
  "v-toolbar--absolute": e.absolute,
106
132
  "v-toolbar--collapse": e.collapse,
107
133
  "v-toolbar--flat": e.flat,
108
134
  "v-toolbar--floating": e.floating,
109
135
  [`v-toolbar--density-${e.density}`]: !0
110
- }, o.value, T.value, y.value, x.value, E.value, S.value, e.class],
111
- style: [h.value, e.style]
136
+ }, o.value, s.value, d.value, i.value, l.value, u.value, e.class],
137
+ style: [c.value, e.style]
112
138
  }, {
113
- default: () => [_ && a("div", {
139
+ default: () => [k && a("div", {
114
140
  key: "image",
115
141
  class: "v-toolbar__image"
116
- }, [t.image ? a(d, {
142
+ }, [t.image ? a(v, {
117
143
  key: "image-defaults",
118
144
  disabled: !e.image,
119
145
  defaults: {
@@ -122,25 +148,25 @@ const K = b({
122
148
  src: e.image
123
149
  }
124
150
  }
125
- }, t.image) : a(P, {
151
+ }, t.image) : a(I, {
126
152
  key: "image-img",
127
153
  cover: !0,
128
154
  src: e.image
129
- }, null)]), a(d, {
155
+ }, null)]), a(v, {
130
156
  defaults: {
131
157
  VTabs: {
132
- height: s(i.value)
158
+ height: m(f.value)
133
159
  }
134
160
  }
135
161
  }, {
136
162
  default: () => [a("div", {
137
163
  class: "v-toolbar__content",
138
164
  style: {
139
- height: s(i.value)
165
+ height: m(f.value)
140
166
  }
141
167
  }, [t.prepend && a("div", {
142
168
  class: "v-toolbar__prepend"
143
- }, [t.prepend?.()]), V && a(Z, {
169
+ }, [t.prepend?.()]), _ && a(K, {
144
170
  key: "title",
145
171
  text: e.title
146
172
  }, {
@@ -148,31 +174,32 @@ const K = b({
148
174
  }), t.default?.(), t.append && a("div", {
149
175
  class: "v-toolbar__append"
150
176
  }, [t.append?.()])])]
151
- }), a(d, {
177
+ }), a(v, {
152
178
  defaults: {
153
179
  VTabs: {
154
- height: s(r.value)
180
+ height: m(g.value)
155
181
  }
156
182
  }
157
183
  }, {
158
- default: () => [a(I, null, {
159
- default: () => [n.value && a("div", {
184
+ default: () => [a(U, null, {
185
+ default: () => [r.value && a("div", {
160
186
  class: "v-toolbar__extension",
161
187
  style: {
162
- height: s(r.value)
188
+ height: m(g.value)
163
189
  }
164
- }, [c])]
190
+ }, [h])]
165
191
  })]
166
192
  })]
167
193
  });
168
194
  }), {
169
- contentHeight: i,
170
- extensionHeight: r
195
+ contentHeight: f,
196
+ extensionHeight: g
171
197
  };
172
198
  }
173
199
  });
174
- k("css/revolugo.vtoolbar.BZert82L.css");
200
+ L("css/revolugo.vtoolbar.BZert82L.css");
175
201
  export {
176
- X as V
202
+ q as V,
203
+ $ as d
177
204
  };
178
- //# sourceMappingURL=revolugo.vtoolbar.BQ_wv4PN.min.js.map
205
+ //# sourceMappingURL=revolugo.vtoolbar.Df40l6Lm.min.js.map