@konnectio/core 4.4.2 → 4.4.4

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 (105) hide show
  1. package/dist/{ActionField-DVN5P7Z_.js → ActionField-DMesYn3d.js} +2 -2
  2. package/dist/ActionField-DMesYn3d.js.br +0 -0
  3. package/dist/ActionField-DMesYn3d.js.gz +0 -0
  4. package/dist/{AvailabilitySkeleton-7H9pWAYC.js → AvailabilitySkeleton-Cj07M7eq.js} +140 -132
  5. package/dist/AvailabilitySkeleton-Cj07M7eq.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-Cj07M7eq.js.gz +0 -0
  7. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-Dmkjy9AD.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-Br3QKsAD.js} +3 -4
  8. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-Br3QKsAD.js.br +0 -0
  9. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-Br3QKsAD.js.gz +0 -0
  10. package/dist/{CheckoutWindow-Q8_p59cy.js → CheckoutWindow-DguoGDB5.js} +2 -2
  11. package/dist/CheckoutWindow-DguoGDB5.js.br +0 -0
  12. package/dist/CheckoutWindow-DguoGDB5.js.gz +0 -0
  13. package/dist/{ErrorMessage-0MZWCZU7.js → ErrorMessage-B0TCOAq5.js} +2 -2
  14. package/dist/ErrorMessage-B0TCOAq5.js.br +0 -0
  15. package/dist/ErrorMessage-B0TCOAq5.js.gz +0 -0
  16. package/dist/{EventAvailabilityForm-BHA_1v5L.js → EventAvailabilityForm-llp6yHln.js} +3 -3
  17. package/dist/EventAvailabilityForm-llp6yHln.js.br +0 -0
  18. package/dist/EventAvailabilityForm-llp6yHln.js.gz +0 -0
  19. package/dist/{Field-CM7qTnZH.js → Field-CtGUGl1O.js} +3 -3
  20. package/dist/Field-CtGUGl1O.js.br +0 -0
  21. package/dist/Field-CtGUGl1O.js.gz +0 -0
  22. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CD_cHZtR.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-Bq1VCwjt.js} +2 -2
  23. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-Bq1VCwjt.js.br +0 -0
  24. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-Bq1VCwjt.js.gz +0 -0
  25. package/dist/{SelectField.vue_vue_type_style_index_0_lang-DOhUlPw2.js → SelectField.vue_vue_type_style_index_0_lang-C5cmvWvU.js} +2 -2
  26. package/dist/SelectField.vue_vue_type_style_index_0_lang-C5cmvWvU.js.br +0 -0
  27. package/dist/SelectField.vue_vue_type_style_index_0_lang-C5cmvWvU.js.gz +0 -0
  28. package/dist/{TermsOfService-B21lY36J.js → TermsOfService-8rpr7FIO.js} +3 -3
  29. package/dist/TermsOfService-8rpr7FIO.js.br +0 -0
  30. package/dist/TermsOfService-8rpr7FIO.js.gz +0 -0
  31. package/dist/_-DcO3rXPJ.js +5 -0
  32. package/dist/_-DcO3rXPJ.js.br +0 -0
  33. package/dist/_-DcO3rXPJ.js.gz +0 -0
  34. package/dist/{_.vue_vue_type_style_index_0_lang-DwcYCxEU.js → _.vue_vue_type_style_index_0_lang-CZpaLVzF.js} +2 -2
  35. package/dist/_.vue_vue_type_style_index_0_lang-CZpaLVzF.js.br +0 -0
  36. package/dist/_.vue_vue_type_style_index_0_lang-CZpaLVzF.js.gz +0 -0
  37. package/dist/availability.js +6 -6
  38. package/dist/availability.js.br +0 -0
  39. package/dist/availability.js.gz +0 -0
  40. package/dist/cancel-reservation.js +4 -4
  41. package/dist/cancel-reservation.js.br +0 -0
  42. package/dist/cancel-reservation.js.gz +0 -0
  43. package/dist/core.css +1 -1
  44. package/dist/core.css.br +0 -0
  45. package/dist/core.css.gz +0 -0
  46. package/dist/event.js +9 -9
  47. package/dist/event.js.br +0 -0
  48. package/dist/event.js.gz +0 -0
  49. package/dist/gift-card-validation.js +8 -8
  50. package/dist/gift-card-validation.js.br +0 -0
  51. package/dist/gift-card-validation.js.gz +0 -0
  52. package/dist/gift-card.js +10 -10
  53. package/dist/gift-card.js.br +0 -0
  54. package/dist/gift-card.js.gz +0 -0
  55. package/dist/{giftCard-DVodKzHd.js → giftCard-oW2fNJpq.js} +2 -2
  56. package/dist/giftCard-oW2fNJpq.js.br +0 -0
  57. package/dist/giftCard-oW2fNJpq.js.gz +0 -0
  58. package/dist/hotel.js +542 -534
  59. package/dist/hotel.js.br +0 -0
  60. package/dist/hotel.js.gz +0 -0
  61. package/dist/{index-BRxDgKAw.js → index-DfuZ7IHj.js} +3 -3
  62. package/dist/index-DfuZ7IHj.js.br +0 -0
  63. package/dist/index-DfuZ7IHj.js.gz +0 -0
  64. package/dist/{masonry.plugin-CbLAl45b.js → masonry.plugin-B3aoF7hq.js} +5 -5
  65. package/dist/masonry.plugin-B3aoF7hq.js.br +0 -0
  66. package/dist/{masonry.plugin-CbLAl45b.js.gz → masonry.plugin-B3aoF7hq.js.gz} +0 -0
  67. package/dist/polyfill.js +1 -1
  68. package/dist/polyfill.js.br +0 -0
  69. package/dist/polyfill.js.gz +0 -0
  70. package/dist/{style-DxRnyF5v.js → style-DRQvZ4fU.js} +2 -2
  71. package/dist/style-DRQvZ4fU.js.br +0 -0
  72. package/dist/style-DRQvZ4fU.js.gz +0 -0
  73. package/package.json +12 -12
  74. package/dist/ActionField-DVN5P7Z_.js.br +0 -3
  75. package/dist/ActionField-DVN5P7Z_.js.gz +0 -0
  76. package/dist/AvailabilitySkeleton-7H9pWAYC.js.br +0 -0
  77. package/dist/AvailabilitySkeleton-7H9pWAYC.js.gz +0 -0
  78. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-Dmkjy9AD.js.br +0 -0
  79. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-Dmkjy9AD.js.gz +0 -0
  80. package/dist/CheckoutWindow-Q8_p59cy.js.br +0 -0
  81. package/dist/CheckoutWindow-Q8_p59cy.js.gz +0 -0
  82. package/dist/ErrorMessage-0MZWCZU7.js.br +0 -0
  83. package/dist/ErrorMessage-0MZWCZU7.js.gz +0 -0
  84. package/dist/EventAvailabilityForm-BHA_1v5L.js.br +0 -0
  85. package/dist/EventAvailabilityForm-BHA_1v5L.js.gz +0 -0
  86. package/dist/Field-CM7qTnZH.js.br +0 -0
  87. package/dist/Field-CM7qTnZH.js.gz +0 -0
  88. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CD_cHZtR.js.br +0 -0
  89. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CD_cHZtR.js.gz +0 -0
  90. package/dist/SelectField.vue_vue_type_style_index_0_lang-DOhUlPw2.js.br +0 -0
  91. package/dist/SelectField.vue_vue_type_style_index_0_lang-DOhUlPw2.js.gz +0 -0
  92. package/dist/TermsOfService-B21lY36J.js.br +0 -0
  93. package/dist/TermsOfService-B21lY36J.js.gz +0 -0
  94. package/dist/_-B0phTtn2.js +0 -5
  95. package/dist/_-B0phTtn2.js.br +0 -0
  96. package/dist/_-B0phTtn2.js.gz +0 -0
  97. package/dist/_.vue_vue_type_style_index_0_lang-DwcYCxEU.js.br +0 -0
  98. package/dist/_.vue_vue_type_style_index_0_lang-DwcYCxEU.js.gz +0 -0
  99. package/dist/giftCard-DVodKzHd.js.br +0 -0
  100. package/dist/giftCard-DVodKzHd.js.gz +0 -0
  101. package/dist/index-BRxDgKAw.js.br +0 -0
  102. package/dist/index-BRxDgKAw.js.gz +0 -0
  103. package/dist/masonry.plugin-CbLAl45b.js.br +0 -0
  104. package/dist/style-DxRnyF5v.js.br +0 -0
  105. package/dist/style-DxRnyF5v.js.gz +0 -0
@@ -1,5 +1,5 @@
1
1
  import { d as V, c as y, a as d, b as i, g as u, w as v, e as x, f as q } from "./mitt-CvmiLPAX.js";
2
- import { H as g, x as k, d as B, i as I, T as C, e as T, _ as F } from "./SelectField.vue_vue_type_style_index_0_lang-DOhUlPw2.js";
2
+ import { H as g, x as k, d as B, i as I, T as C, e as T, _ as F } from "./SelectField.vue_vue_type_style_index_0_lang-C5cmvWvU.js";
3
3
  const A = { class: "konnectio-action-field" }, L = /* @__PURE__ */ V({
4
4
  __name: "ActionField",
5
5
  props: {
@@ -100,4 +100,4 @@ const A = { class: "konnectio-action-field" }, L = /* @__PURE__ */ V({
100
100
  export {
101
101
  U as A
102
102
  };
103
- //# sourceMappingURL=ActionField-DVN5P7Z_.js.map
103
+ //# sourceMappingURL=ActionField-DMesYn3d.js.map
Binary file
Binary file
@@ -1,24 +1,24 @@
1
- import { d as te, u as pe, s as Q, r as g, c as s, D as W, o as ye, h as b, b as u, f as n, w as De, i as N, e as w, a as h, g as t, n as S, B as ke, j as he } from "./mitt-CvmiLPAX.js";
2
- import { u as X, b as we, a as Le, f as Z, P as Ve, T as xe, d as Ae, i as ee, e as ae, w as _e, _ as oe } from "./SelectField.vue_vue_type_style_index_0_lang-DOhUlPw2.js";
3
- import { _ } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-Dmkjy9AD.js";
4
- import { E as le } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CD_cHZtR.js";
5
- import { F as f } from "./Field-CM7qTnZH.js";
6
- const Ne = {
1
+ import { d as ie, u as De, s as Z, r as g, c as s, D as N, o as he, h as b, b as c, f as n, w as ke, i as U, e as L, a as w, g as t, n as C, B as we, j as Le } from "./mitt-CvmiLPAX.js";
2
+ import { u as ee, b as Ve, a as xe, f as ae, t as Ae, P as _e, T as Ne, d as Se, i as le, e as te, w as Ue, _ as ne } from "./SelectField.vue_vue_type_style_index_0_lang-C5cmvWvU.js";
3
+ import { _ as S } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-Br3QKsAD.js";
4
+ import { E as oe } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-Bq1VCwjt.js";
5
+ import { F as f } from "./Field-CtGUGl1O.js";
6
+ const Ce = {
7
7
  class: "konnectio-availability-location",
8
8
  key: "location"
9
- }, Se = {
9
+ }, $e = {
10
10
  id: "konnectio-availability-date-selection",
11
11
  key: "multiDate"
12
- }, Ce = {
12
+ }, Be = {
13
13
  key: 0,
14
14
  class: "konnectio-availability-date-selection-multi"
15
- }, $e = {
15
+ }, He = {
16
16
  class: "konnectio-availability-guest-selection",
17
17
  key: "guests"
18
- }, Ue = {
18
+ }, Re = {
19
19
  id: "konnectio-availability-confirmation",
20
20
  key: "confirm"
21
- }, Be = /* @__PURE__ */ te({
21
+ }, Fe = /* @__PURE__ */ ie({
22
22
  __name: "HotelAvailabilityForm",
23
23
  props: {
24
24
  booking: { type: Boolean, default: !1 },
@@ -28,69 +28,69 @@ const Ne = {
28
28
  hideLocations: { type: Boolean, default: !1 }
29
29
  },
30
30
  setup(d) {
31
- const { t: i } = pe(), a = d, C = X(), {
32
- adults: ie,
33
- children: ne,
34
- arrivalDate: $,
35
- departureDate: U,
36
- location: B,
37
- hasHotelLocations: H,
38
- hotelLocations: R,
39
- controlLocation: se
40
- } = Q(X()), L = we(), { display: D } = Le(), {
41
- firstSelectableDateOffset: F,
42
- lastSelectableDateOffset: I,
43
- defaultAdultAmount: T,
44
- defaultChildAmount: M,
45
- maxAdultAmount: ue,
46
- maxChildAmount: re,
47
- splitBookingCalendar: ce
48
- } = Q(Z()), { hasChildSelection: V } = Z(), de = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + F.value)).setHours(12, 0, 0, 0)), ve = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + F.value + 1)).setHours(12, 0, 0, 0)), me = () => a.disableDefaultLocation ? void 0 : se.value, O = g(T.value), P = g(M.value), E = g(de()), j = g(ve()), z = g(me()), p = s({
49
- get: () => a.booking ? C.adults : O.value,
31
+ const { t: i } = De(), a = d, $ = ee(), {
32
+ adults: se,
33
+ children: ue,
34
+ arrivalDate: B,
35
+ departureDate: H,
36
+ location: R,
37
+ hasHotelLocations: F,
38
+ hotelLocations: P,
39
+ controlLocation: re
40
+ } = Z(ee()), V = Ve(), { display: D } = xe(), {
41
+ firstSelectableDateOffset: I,
42
+ lastSelectableDateOffset: T,
43
+ defaultAdultAmount: M,
44
+ defaultChildAmount: O,
45
+ maxAdultAmount: ce,
46
+ maxChildAmount: de,
47
+ splitBookingCalendar: ve
48
+ } = Z(ae()), { hasChildSelection: x } = ae(), me = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + I.value)).setHours(12, 0, 0, 0)), be = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + I.value + 1)).setHours(12, 0, 0, 0)), ge = () => a.disableDefaultLocation ? void 0 : re.value, E = g(M.value), j = g(O.value), z = g(me()), q = g(be()), G = g(ge()), p = s({
49
+ get: () => a.booking ? $.adults : E.value,
50
50
  set: (e) => {
51
- a.booking ? ie.value = Number(e) : O.value = Number(e);
51
+ a.booking ? se.value = Number(e) : E.value = Number(e);
52
52
  }
53
- }), k = s({
54
- get: () => a.booking ? C.children : P.value,
53
+ }), h = s({
54
+ get: () => a.booking ? $.children : j.value,
55
55
  set: (e) => {
56
- a.booking ? ne.value = Number(e) : P.value = Number(e);
56
+ a.booking ? ue.value = Number(e) : j.value = Number(e);
57
57
  }
58
- }), r = s({
59
- get: () => a.booking ? $.value : E.value,
58
+ }), u = s({
59
+ get: () => a.booking ? B.value : z.value,
60
60
  set: (e) => {
61
- a.booking ? $.value = e : E.value = e;
61
+ a.booking ? B.value = e : z.value = e;
62
62
  }
63
- }), c = s({
64
- get: () => a.booking ? U.value : j.value,
63
+ }), r = s({
64
+ get: () => a.booking ? H.value : q.value,
65
65
  set: (e) => {
66
- a.booking ? U.value = e : j.value = e;
66
+ a.booking ? H.value = e : q.value = e;
67
67
  }
68
68
  }), v = s({
69
- get: () => isNaN(a.selectedLocation) ? a.booking ? B.value : z.value : a.selectedLocation,
69
+ get: () => isNaN(a.selectedLocation) ? a.booking ? R.value : G.value : a.selectedLocation,
70
70
  set: (e) => {
71
- a.booking ? B.value = e : z.value = e;
71
+ a.booking ? R.value = e : G.value = e;
72
72
  }
73
- }), q = s(() => {
74
- const e = R.value.find(({ id: l }) => l === a.selectedLocation);
73
+ }), Y = s(() => {
74
+ const e = P.value.find(({ id: l }) => l === a.selectedLocation);
75
75
  return e ? e.name : "";
76
- }), G = s(() => H.value && !a.hideLocations), y = g([]), Y = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate()))), be = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + I.value))), J = s(() => new Date((/* @__PURE__ */ new Date()).setDate(r.value.getDate() + (I.value + 1)))), x = s(() => p.value !== 0), ge = s(() => typeof a.link != "string");
77
- function K(e) {
76
+ }), J = s(() => F.value && !a.hideLocations), y = g([]), K = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate()))), fe = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + T.value))), Q = s(() => new Date((/* @__PURE__ */ new Date()).setDate(u.value.getDate() + (T.value + 1)))), A = s(() => p.value !== 0), pe = s(() => typeof a.link != "string");
77
+ function k(e) {
78
78
  const l = e.getFullYear();
79
79
  let o = e.getMonth() + 1, m = e.getDate();
80
80
  return m < 10 && (m = "0" + m), o < 10 && (o = "0" + o), `${l}-${o}-${m}`;
81
81
  }
82
- function A(e) {
82
+ function _(e) {
83
83
  const l = {
84
84
  a: p.value.toString(),
85
- c: k.value.toString(),
86
- ci: K(r.value),
87
- co: K(c.value),
85
+ c: h.value.toString(),
86
+ ci: k(u.value),
87
+ co: k(r.value),
88
88
  hid: v.value.toString()
89
89
  }, o = new URLSearchParams(l), m = new URL(e, window.location.origin);
90
90
  m.search = o.toString(), window.location.replace(m.toString());
91
91
  }
92
- function fe() {
93
- if (isNaN(v.value) && H.value) {
92
+ function ye() {
93
+ if (isNaN(v.value) && F.value) {
94
94
  D({
95
95
  message: i("alert.error.selectHotelId"),
96
96
  type: "error"
@@ -104,7 +104,7 @@ const Ne = {
104
104
  });
105
105
  return;
106
106
  }
107
- if (isNaN(k.value)) {
107
+ if (isNaN(h.value)) {
108
108
  D({
109
109
  message: i("alert.error.selectValidChildren"),
110
110
  type: "error"
@@ -112,44 +112,52 @@ const Ne = {
112
112
  return;
113
113
  }
114
114
  if (a.booking === !1)
115
- if (ge.value) {
116
- const e = _e();
117
- a.link[e] ? A(a.link[e]) : a.link.en ? A(a.link.en) : D({
115
+ if (pe.value) {
116
+ const e = Ue();
117
+ a.link[e] ? _(a.link[e]) : a.link.en ? _(a.link.en) : D({
118
118
  message: "Module misconfiguration, contact an admin",
119
119
  type: "error"
120
120
  });
121
121
  } else
122
- A(a.link);
123
- else x.value && L.fetchAvailabilityData();
122
+ _(a.link);
123
+ else A.value && V.fetchAvailabilityData();
124
+ }
125
+ const W = Ae("history", {
126
+ removeNullishValues: !0
127
+ });
128
+ function X() {
129
+ a.booking && (W.ci = k(u.value), W.co = k(r.value));
124
130
  }
125
- return W(r, (e) => {
131
+ return N(u, (e) => {
126
132
  const l = new Date(new Date(e).setDate(new Date(e).getDate() + 1));
127
- new Date(c.value) < l && (c.value = l);
128
- }), Ve.on("forcedDateChange", () => {
129
- y.value = [r.value, c.value];
130
- }), W(y, (e) => {
131
- r.value = e[0], c.value = e[1];
132
- }), ye(() => {
133
- y.value = [r.value, c.value];
134
- }), (e, l) => (u(), b("form", {
133
+ new Date(r.value) < l && (r.value = l), X();
134
+ }), N(r, () => {
135
+ X();
136
+ }), _e.on("forcedDateChange", () => {
137
+ y.value = [u.value, r.value];
138
+ }), N(y, (e) => {
139
+ u.value = e[0], r.value = e[1];
140
+ }), he(() => {
141
+ y.value = [u.value, r.value];
142
+ }), (e, l) => (c(), b("form", {
135
143
  id: "konnectio-availability-form",
136
- class: S({ reservation: d.booking }),
144
+ class: C({ reservation: d.booking }),
137
145
  type: "availability",
138
- onSubmit: he(fe, ["prevent"])
146
+ onSubmit: Le(ye, ["prevent"])
139
147
  }, [
140
- n(ke, {
148
+ n(we, {
141
149
  id: "konnectio-availability-form-content",
142
150
  tag: "ul",
143
- class: S([
151
+ class: C([
144
152
  { "is-booking-page": d.booking },
145
- { "only-adult-guests": !t(V)(v.value) },
146
- { "all-guests": t(V)(v.value) },
147
- { "has-location": G.value }
153
+ { "only-adult-guests": !t(x)(v.value) },
154
+ { "all-guests": t(x)(v.value) },
155
+ { "has-location": J.value }
148
156
  ])
149
157
  }, {
150
- default: De(() => [
151
- G.value ? (u(), b("li", Ne, [
152
- isNaN(d.selectedLocation) ? (u(), h(Ae, {
158
+ default: ke(() => [
159
+ J.value ? (c(), b("li", Ce, [
160
+ isNaN(d.selectedLocation) ? (c(), w(Se, {
153
161
  key: 1,
154
162
  modelValue: v.value,
155
163
  "onUpdate:modelValue": l[1] || (l[1] = (o) => v.value = o),
@@ -160,44 +168,44 @@ const Ne = {
160
168
  "icon-placement": "label",
161
169
  "label-key": "name",
162
170
  "value-key": "id",
163
- options: t(R),
171
+ options: t(P),
164
172
  searchable: !1
165
- }, null, 8, ["modelValue", "label", "placeholder", "options"])) : (u(), h(xe, {
173
+ }, null, 8, ["modelValue", "label", "placeholder", "options"])) : (c(), w(Ne, {
166
174
  key: 0,
167
- modelValue: q.value,
168
- "onUpdate:modelValue": l[0] || (l[0] = (o) => q.value = o),
175
+ modelValue: Y.value,
176
+ "onUpdate:modelValue": l[0] || (l[0] = (o) => Y.value = o),
169
177
  label: t(i)("general.location"),
170
178
  icon: "location-dot",
171
179
  "icon-type": "fas",
172
180
  "icon-placement": "label",
173
181
  readonly: ""
174
182
  }, null, 8, ["modelValue", "label"]))
175
- ])) : N("", !0),
176
- w("li", Se, [
177
- t(ce) ? (u(), b("div", Ce, [
178
- n(_, {
179
- modelValue: r.value,
180
- "onUpdate:modelValue": l[2] || (l[2] = (o) => r.value = o),
183
+ ])) : U("", !0),
184
+ L("li", $e, [
185
+ t(ve) ? (c(), b("div", Be, [
186
+ n(S, {
187
+ modelValue: u.value,
188
+ "onUpdate:modelValue": l[2] || (l[2] = (o) => u.value = o),
181
189
  label: t(i)("availability.arrivalDate"),
182
190
  name: "arrivalDate",
183
191
  "icon-type": "fas",
184
192
  "icon-placement": "label",
185
- "start-date": r.value,
186
- "min-date": Y.value,
187
- "max-date": be.value
193
+ "start-date": u.value,
194
+ "min-date": K.value,
195
+ "max-date": fe.value
188
196
  }, null, 8, ["modelValue", "label", "start-date", "min-date", "max-date"]),
189
- n(_, {
190
- modelValue: c.value,
191
- "onUpdate:modelValue": l[3] || (l[3] = (o) => c.value = o),
197
+ n(S, {
198
+ modelValue: r.value,
199
+ "onUpdate:modelValue": l[3] || (l[3] = (o) => r.value = o),
192
200
  label: t(i)("availability.departureDate"),
193
201
  name: "departureDate",
194
202
  "icon-type": "fas",
195
203
  "icon-placement": "label",
196
- "start-date": c.value,
197
- "min-date": r.value,
198
- "max-date": J.value
204
+ "start-date": r.value,
205
+ "min-date": u.value,
206
+ "max-date": Q.value
199
207
  }, null, 8, ["modelValue", "label", "start-date", "min-date", "max-date"])
200
- ])) : (u(), h(_, {
208
+ ])) : (c(), w(S, {
201
209
  key: 1,
202
210
  modelValue: y.value,
203
211
  "onUpdate:modelValue": l[4] || (l[4] = (o) => y.value = o),
@@ -205,13 +213,13 @@ const Ne = {
205
213
  "icon-type": "fas",
206
214
  "icon-placement": "label",
207
215
  "min-range": 1,
208
- "min-date": Y.value,
209
- "max-date": J.value,
216
+ "min-date": K.value,
217
+ "max-date": Q.value,
210
218
  range: ""
211
219
  }, null, 8, ["modelValue", "label", "min-date", "max-date"]))
212
220
  ]),
213
- w("li", $e, [
214
- n(ee, {
221
+ L("li", He, [
222
+ n(le, {
215
223
  modelValue: p.value,
216
224
  "onUpdate:modelValue": l[5] || (l[5] = (o) => p.value = o),
217
225
  label: t(i)("availability.adults"),
@@ -220,40 +228,40 @@ const Ne = {
220
228
  "icon-placement": "label",
221
229
  name: "adults",
222
230
  icon: "male",
223
- "max-value": t(ue),
224
- placeholder: `${t(T)}`,
231
+ "max-value": t(ce),
232
+ placeholder: `${t(M)}`,
225
233
  controls: !0
226
234
  }, null, 8, ["modelValue", "label", "description", "max-value", "placeholder"]),
227
- t(V)(v.value) ? (u(), h(ee, {
235
+ t(x)(v.value) ? (c(), w(le, {
228
236
  key: 0,
229
- modelValue: k.value,
230
- "onUpdate:modelValue": l[6] || (l[6] = (o) => k.value = o),
237
+ modelValue: h.value,
238
+ "onUpdate:modelValue": l[6] || (l[6] = (o) => h.value = o),
231
239
  label: t(i)("availability.children"),
232
240
  description: t(i)("general.childAgeRange"),
233
241
  "icon-type": "fas",
234
242
  "icon-placement": "label",
235
243
  name: "children",
236
244
  icon: "child",
237
- "max-value": t(re),
238
- placeholder: `${t(M)}`,
245
+ "max-value": t(de),
246
+ placeholder: `${t(O)}`,
239
247
  controls: !0
240
- }, null, 8, ["modelValue", "label", "description", "max-value", "placeholder"])) : N("", !0)
248
+ }, null, 8, ["modelValue", "label", "description", "max-value", "placeholder"])) : U("", !0)
241
249
  ]),
242
- w("li", Ue, [
243
- n(ae, {
250
+ L("li", Re, [
251
+ n(te, {
244
252
  class: "konnectio-availability-submit-small",
245
253
  type: "submit",
246
254
  icon: "search",
247
255
  "icon-type": "fas",
248
- disabled: !x.value,
249
- "is-loading": t(L).areListingsLoading
256
+ disabled: !A.value,
257
+ "is-loading": t(V).areListingsLoading
250
258
  }, null, 8, ["disabled", "is-loading"]),
251
- n(ae, {
259
+ n(te, {
252
260
  class: "konnectio-availability-submit-large",
253
261
  type: "submit",
254
262
  label: t(i)("availability.buttonLabel"),
255
- disabled: !x.value,
256
- "is-loading": t(L).areListingsLoading
263
+ disabled: !A.value,
264
+ "is-loading": t(V).areListingsLoading
257
265
  }, null, 8, ["label", "disabled", "is-loading"])
258
266
  ])
259
267
  ]),
@@ -261,36 +269,36 @@ const Ne = {
261
269
  }, 8, ["class"])
262
270
  ], 34));
263
271
  }
264
- }), ze = /* @__PURE__ */ oe(Be, [["__scopeId", "data-v-ec87720a"]]), He = { class: "availability-skeleton" }, Re = {
272
+ }), Ye = /* @__PURE__ */ ne(Fe, [["__scopeId", "data-v-2707c7e3"]]), Pe = { class: "availability-skeleton" }, Ie = {
265
273
  key: 0,
266
274
  class: "availability-skeleton-navigation"
267
- }, Fe = { class: "availability-skeleton-content" }, Ie = {
275
+ }, Te = { class: "availability-skeleton-content" }, Me = {
268
276
  key: 1,
269
277
  class: "availability-skeleton-event"
270
- }, Te = /* @__PURE__ */ te({
278
+ }, Oe = /* @__PURE__ */ ie({
271
279
  __name: "AvailabilitySkeleton",
272
280
  props: {
273
281
  view: { default: "hotel" },
274
282
  hotel: { type: Boolean, default: !1 }
275
283
  },
276
284
  setup(d) {
277
- return (i, a) => (u(), b("div", He, [
278
- d.view === "both" ? (u(), b("div", Re, [
279
- n(le, {
285
+ return (i, a) => (c(), b("div", Pe, [
286
+ d.view === "both" ? (c(), b("div", Ie, [
287
+ n(oe, {
280
288
  height: "28px",
281
289
  width: "60px",
282
290
  "border-radius": "20px"
283
291
  }),
284
- n(le, {
292
+ n(oe, {
285
293
  height: "28px",
286
294
  width: "60px",
287
295
  "border-radius": "20px"
288
296
  })
289
- ])) : N("", !0),
290
- w("div", Fe, [
291
- d.view !== "event" ? (u(), b("div", {
297
+ ])) : U("", !0),
298
+ L("div", Te, [
299
+ d.view !== "event" ? (c(), b("div", {
292
300
  key: 0,
293
- class: S([
301
+ class: C([
294
302
  "availability-skeleton-hotel",
295
303
  { "within-hotel": d.hotel }
296
304
  ])
@@ -302,7 +310,7 @@ const Ne = {
302
310
  "with-icon": "",
303
311
  "no-label": ""
304
312
  })
305
- ], 2)) : (u(), b("div", Ie, [
313
+ ], 2)) : (c(), b("div", Me, [
306
314
  n(f, { "with-icon": "" }),
307
315
  n(f, {
308
316
  "with-icon": "",
@@ -312,9 +320,9 @@ const Ne = {
312
320
  ])
313
321
  ]));
314
322
  }
315
- }), qe = /* @__PURE__ */ oe(Te, [["__scopeId", "data-v-86730e88"]]);
323
+ }), Je = /* @__PURE__ */ ne(Oe, [["__scopeId", "data-v-86730e88"]]);
316
324
  export {
317
- qe as A,
318
- ze as H
325
+ Je as A,
326
+ Ye as H
319
327
  };
320
- //# sourceMappingURL=AvailabilitySkeleton-7H9pWAYC.js.map
328
+ //# sourceMappingURL=AvailabilitySkeleton-Cj07M7eq.js.map
@@ -1,5 +1,5 @@
1
1
  import { c as N, r as le, a2 as Ur, D as at, a3 as Jr, a4 as Gr, a5 as Qt, g as l, d as ze, a6 as Kn, y as Bt, a7 as We, a as Ye, b as V, A as Qe, v as Ee, w as be, q as re, a8 as nt, a9 as vt, Y as Ea, aa as Zr, ab as eo, ac as An, o as Ke, $ as Ze, Z as qt, h as G, f as qe, e as ge, K as rt, n as ye, T as ia, i as ne, M as to, X as ao, j as ra, F as Se, t as Ue, ad as vn, ae as no, U as je, J as yt, x as Ot, af as ro, E as Ca, G as Ra, ag as oo } from "./mitt-CvmiLPAX.js";
2
- import { Q as so, R as lo, U as io, V as uo, W as co, X as _t, Y as Qn, Z as Wa, $ as ta, a0 as sn, a1 as Ya, a2 as mo, a3 as Rt, a4 as fo, a5 as vo, w as nn, H as ho, x as po } from "./SelectField.vue_vue_type_style_index_0_lang-DOhUlPw2.js";
2
+ import { Q as so, R as lo, U as io, V as uo, W as co, X as _t, Y as Qn, Z as Wa, $ as ta, a0 as sn, a1 as Ya, a2 as mo, a3 as Rt, a4 as fo, a5 as vo, w as nn, H as ho, x as po } from "./SelectField.vue_vue_type_style_index_0_lang-C5cmvWvU.js";
3
3
  function Na() {
4
4
  return typeof window < "u";
5
5
  }
@@ -10164,8 +10164,7 @@ const Jt = [
10164
10164
  transitions: {
10165
10165
  open: "none"
10166
10166
  },
10167
- teleport: !0,
10168
- timezone: "utc"
10167
+ teleport: !0
10169
10168
  }, null, 8, ["modelValue", "id", "inline", "placeholder", "input-attrs", "readonly", "week-picker", "month-picker", "year-picker", "time-picker", "filters", "formats", "locale", "range", "start-date", "min-date", "max-date", "min-time", "max-time", "auto-apply", "allowed-dates", "time-config"])
10170
10169
  ])
10171
10170
  ]),
@@ -10186,4 +10185,4 @@ export {
10186
10185
  rm as m,
10187
10186
  ba as n
10188
10187
  };
10189
- //# sourceMappingURL=AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-Dmkjy9AD.js.map
10188
+ //# sourceMappingURL=AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-Br3QKsAD.js.map
@@ -1,5 +1,5 @@
1
1
  import { d as $, h as m, b as s, W as me, a as I, e as d, f as H, w as k, E as J, K as R, G as Z, T as Q, i as w, n as h, q as B, M as he, r as u, o as W, ah as ge, ai as pe, D as _, c as q, $ as be, g as c, A as we, t as b, y as Se, J as ke, ag as Ce, u as $e, x as U, s as Be } from "./mitt-CvmiLPAX.js";
2
- import { r as Ve, I as Pe, _ as M, H as ee, x as ne, T as te, f as Te, a6 as Ie } from "./SelectField.vue_vue_type_style_index_0_lang-DOhUlPw2.js";
2
+ import { r as Ve, I as Pe, _ as M, H as ee, x as ne, T as te, f as Te, a6 as Ie } from "./SelectField.vue_vue_type_style_index_0_lang-C5cmvWvU.js";
3
3
  function He(e) {
4
4
  if (Array.isArray(e)) {
5
5
  for (var t = 0, o = Array(e.length); t < e.length; t++)
@@ -665,4 +665,4 @@ export {
665
665
  lt as _,
666
666
  st as a
667
667
  };
668
- //# sourceMappingURL=CheckoutWindow-Q8_p59cy.js.map
668
+ //# sourceMappingURL=CheckoutWindow-DguoGDB5.js.map