@konnectio/core 4.4.8 → 4.4.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 (111) hide show
  1. package/README.md +274 -274
  2. package/dist/{ActionField-DjYUsVEl.js → ActionField-CjB94ywQ.js} +3 -3
  3. package/dist/ActionField-CjB94ywQ.js.br +0 -0
  4. package/dist/ActionField-CjB94ywQ.js.gz +0 -0
  5. package/dist/{AvailabilitySkeleton-Ced6gdUY.js → AvailabilitySkeleton-GcNIEr0O.js} +85 -77
  6. package/dist/AvailabilitySkeleton-GcNIEr0O.js.br +0 -0
  7. package/dist/AvailabilitySkeleton-GcNIEr0O.js.gz +0 -0
  8. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-0XtS8ACM.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_bcdabbb5_lang-r3OqaSe-.js} +2963 -2840
  9. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_bcdabbb5_lang-r3OqaSe-.js.br +0 -0
  10. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_bcdabbb5_lang-r3OqaSe-.js.gz +0 -0
  11. package/dist/{CheckoutWindow-B-HulkOw.js → CheckoutWindow-jLe1mUEB.js} +6 -6
  12. package/dist/CheckoutWindow-jLe1mUEB.js.br +0 -0
  13. package/dist/CheckoutWindow-jLe1mUEB.js.gz +0 -0
  14. package/dist/{ErrorMessage-C-LZif3u.js → ErrorMessage-uA3IcjN_.js} +3 -3
  15. package/dist/ErrorMessage-uA3IcjN_.js.br +0 -0
  16. package/dist/ErrorMessage-uA3IcjN_.js.gz +0 -0
  17. package/dist/{EventAvailabilityForm-CdaoawQu.js → EventAvailabilityForm-4m-RW0Lx.js} +4 -4
  18. package/dist/EventAvailabilityForm-4m-RW0Lx.js.br +0 -0
  19. package/dist/EventAvailabilityForm-4m-RW0Lx.js.gz +0 -0
  20. package/dist/{Field-BxQDGBO6.js → Field-D9fOd9ca.js} +6 -6
  21. package/dist/Field-D9fOd9ca.js.br +0 -0
  22. package/dist/Field-D9fOd9ca.js.gz +0 -0
  23. package/dist/Field.vue_vue_type_style_index_0_scoped_c072a208_lang-B1tIG39F.js +21 -0
  24. package/dist/Field.vue_vue_type_style_index_0_scoped_c072a208_lang-B1tIG39F.js.br +5 -0
  25. package/dist/Field.vue_vue_type_style_index_0_scoped_c072a208_lang-B1tIG39F.js.gz +0 -0
  26. package/dist/{SelectField.vue_vue_type_style_index_0_lang-DJhjUqti.js → SelectField.vue_vue_type_style_index_0_lang-DH_el7cy.js} +2554 -2537
  27. package/dist/SelectField.vue_vue_type_style_index_0_lang-DH_el7cy.js.br +0 -0
  28. package/dist/SelectField.vue_vue_type_style_index_0_lang-DH_el7cy.js.gz +0 -0
  29. package/dist/{TermsOfService-9-UO5S3G.js → TermsOfService-CD3_lM8u.js} +6 -6
  30. package/dist/TermsOfService-CD3_lM8u.js.br +0 -0
  31. package/dist/TermsOfService-CD3_lM8u.js.gz +0 -0
  32. package/dist/_-DeLqDsjZ.js +5 -0
  33. package/dist/_-DeLqDsjZ.js.br +0 -0
  34. package/dist/_-DeLqDsjZ.js.gz +2 -0
  35. package/dist/{_.vue_vue_type_style_index_0_lang-C8tlnRr1.js → _.vue_vue_type_style_index_0_lang-BdANnGTG.js} +2 -2
  36. package/dist/_.vue_vue_type_style_index_0_lang-BdANnGTG.js.br +0 -0
  37. package/dist/_.vue_vue_type_style_index_0_lang-BdANnGTG.js.gz +0 -0
  38. package/dist/_commonjsHelpers-DaMA6jEr.js.gz +0 -0
  39. package/dist/availability.js +8 -8
  40. package/dist/availability.js.br +0 -0
  41. package/dist/availability.js.gz +0 -0
  42. package/dist/cancel-reservation.js +6 -6
  43. package/dist/cancel-reservation.js.br +0 -0
  44. package/dist/cancel-reservation.js.gz +0 -0
  45. package/dist/core.css +1 -1
  46. package/dist/core.css.br +0 -0
  47. package/dist/core.css.gz +0 -0
  48. package/dist/deep-link.js.gz +0 -0
  49. package/dist/event.js +123 -123
  50. package/dist/event.js.br +0 -0
  51. package/dist/event.js.gz +0 -0
  52. package/dist/gift-card-validation.js +14 -14
  53. package/dist/gift-card-validation.js.br +0 -0
  54. package/dist/gift-card-validation.js.gz +0 -0
  55. package/dist/gift-card.js +13 -13
  56. package/dist/gift-card.js.br +0 -0
  57. package/dist/gift-card.js.gz +0 -0
  58. package/dist/{giftCard-D-f02FPM.js → giftCard-G-zvnJVj.js} +2 -2
  59. package/dist/giftCard-G-zvnJVj.js.br +0 -0
  60. package/dist/giftCard-G-zvnJVj.js.gz +0 -0
  61. package/dist/hotel.js +1921 -1910
  62. package/dist/hotel.js.br +0 -0
  63. package/dist/hotel.js.gz +0 -0
  64. package/dist/{index-CBRMHLd-.js → index-BEOLg3OJ.js} +3 -3
  65. package/dist/index-BEOLg3OJ.js.br +0 -0
  66. package/dist/index-BEOLg3OJ.js.gz +0 -0
  67. package/dist/{masonry.plugin-emIQEcmM.js → masonry.plugin-gbufcPfU.js} +16 -16
  68. package/dist/masonry.plugin-gbufcPfU.js.br +0 -0
  69. package/dist/masonry.plugin-gbufcPfU.js.gz +0 -0
  70. package/dist/mitt-Cj---5fy.js.gz +0 -0
  71. package/dist/polyfill.js +1 -1
  72. package/dist/polyfill.js.br +0 -0
  73. package/dist/polyfill.js.gz +0 -0
  74. package/dist/{style-DLdT0Zxs.js → style-n4UQjvXd.js} +45 -45
  75. package/dist/style-n4UQjvXd.js.br +0 -0
  76. package/dist/style-n4UQjvXd.js.gz +0 -0
  77. package/package.json +118 -118
  78. package/dist/ActionField-DjYUsVEl.js.br +0 -0
  79. package/dist/ActionField-DjYUsVEl.js.gz +0 -0
  80. package/dist/AvailabilitySkeleton-Ced6gdUY.js.br +0 -0
  81. package/dist/AvailabilitySkeleton-Ced6gdUY.js.gz +0 -0
  82. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-0XtS8ACM.js.br +0 -0
  83. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-0XtS8ACM.js.gz +0 -0
  84. package/dist/CheckoutWindow-B-HulkOw.js.br +0 -0
  85. package/dist/CheckoutWindow-B-HulkOw.js.gz +0 -0
  86. package/dist/ErrorMessage-C-LZif3u.js.br +0 -0
  87. package/dist/ErrorMessage-C-LZif3u.js.gz +0 -0
  88. package/dist/EventAvailabilityForm-CdaoawQu.js.br +0 -0
  89. package/dist/EventAvailabilityForm-CdaoawQu.js.gz +0 -0
  90. package/dist/Field-BxQDGBO6.js.br +0 -0
  91. package/dist/Field-BxQDGBO6.js.gz +0 -0
  92. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-B40vQ6md.js +0 -21
  93. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-B40vQ6md.js.br +0 -0
  94. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-B40vQ6md.js.gz +0 -0
  95. package/dist/SelectField.vue_vue_type_style_index_0_lang-DJhjUqti.js.br +0 -0
  96. package/dist/SelectField.vue_vue_type_style_index_0_lang-DJhjUqti.js.gz +0 -0
  97. package/dist/TermsOfService-9-UO5S3G.js.br +0 -0
  98. package/dist/TermsOfService-9-UO5S3G.js.gz +0 -0
  99. package/dist/_-DgORUiWu.js +0 -5
  100. package/dist/_-DgORUiWu.js.br +0 -0
  101. package/dist/_-DgORUiWu.js.gz +0 -0
  102. package/dist/_.vue_vue_type_style_index_0_lang-C8tlnRr1.js.br +0 -0
  103. package/dist/_.vue_vue_type_style_index_0_lang-C8tlnRr1.js.gz +0 -0
  104. package/dist/giftCard-D-f02FPM.js.br +0 -0
  105. package/dist/giftCard-D-f02FPM.js.gz +0 -0
  106. package/dist/index-CBRMHLd-.js.br +0 -0
  107. package/dist/index-CBRMHLd-.js.gz +0 -0
  108. package/dist/masonry.plugin-emIQEcmM.js.br +0 -0
  109. package/dist/masonry.plugin-emIQEcmM.js.gz +0 -0
  110. package/dist/style-DLdT0Zxs.js.br +0 -0
  111. package/dist/style-DLdT0Zxs.js.gz +0 -0
@@ -1,25 +1,25 @@
1
- import { d as ne, u as we, s as ee, r as b, D as S, b as s, o as Ve, h as g, a as c, f as n, w as Le, i as V, e as L, c as w, g as t, n as U, B as _e, j as xe } from "./mitt-Cj---5fy.js";
2
- import { u as ae, b as Ae, a as Ne, f as le, t as Ce, P as Se, T as $e, c as Ue, i as te, d as oe, w as Be, _ as se } from "./SelectField.vue_vue_type_style_index_0_lang-DJhjUqti.js";
3
- import { _ as $ } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-0XtS8ACM.js";
4
- import { E as ie } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-B40vQ6md.js";
5
- import { F as f } from "./Field-BxQDGBO6.js";
6
- const He = {
1
+ import { d as ne, u as Ve, s as ee, r as b, D as w, b as s, o as Le, h as g, a as c, f as n, w as _e, i as L, e as _, c as V, g as t, n as U, B as xe, j as Ae } from "./mitt-Cj---5fy.js";
2
+ import { u as ae, b as Ce, a as Ne, f as le, t as Se, P as $e, T as Ue, c as Be, i as te, d as oe, w as He, _ as se } from "./SelectField.vue_vue_type_style_index_0_lang-DH_el7cy.js";
3
+ import { u as Re, _ as $ } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_bcdabbb5_lang-r3OqaSe-.js";
4
+ import { E as ie } from "./Field.vue_vue_type_style_index_0_scoped_c072a208_lang-B1tIG39F.js";
5
+ import { F as f } from "./Field-D9fOd9ca.js";
6
+ const Fe = {
7
7
  class: "konnectio-availability-location",
8
8
  key: "location"
9
- }, Re = {
9
+ }, Pe = {
10
10
  id: "konnectio-availability-date-selection",
11
11
  key: "multiDate"
12
- }, Fe = {
12
+ }, Ie = {
13
13
  key: 0,
14
14
  class: "konnectio-availability-date-selection-multi"
15
15
  };
16
- const Pe = {
16
+ const Te = {
17
17
  class: "konnectio-availability-guest-selection",
18
18
  key: "guests"
19
- }, Ie = {
19
+ }, Ee = {
20
20
  id: "konnectio-availability-confirmation",
21
21
  key: "confirm"
22
- }, Te = /* @__PURE__ */ ne({
22
+ }, Me = /* @__PURE__ */ ne({
23
23
  __name: "HotelAvailabilityForm",
24
24
  props: {
25
25
  booking: { type: Boolean, default: !1 },
@@ -29,7 +29,7 @@ const Pe = {
29
29
  hideLocations: { type: Boolean, default: !1 }
30
30
  },
31
31
  setup(d) {
32
- const { t: i } = we(), a = d, _ = ae(), {
32
+ const { t: i } = Ve(), a = d, x = ae(), {
33
33
  adults: ue,
34
34
  children: re,
35
35
  roomCount: ce,
@@ -39,26 +39,26 @@ const Pe = {
39
39
  hasHotelLocations: F,
40
40
  hotelLocations: P,
41
41
  controlLocation: de
42
- } = ee(ae()), x = Ae(), { display: h } = Ne(), {
42
+ } = ee(ae()), A = Ce(), ve = Re(), { display: k } = Ne(), {
43
43
  firstSelectableDateOffset: I,
44
44
  lastSelectableDateOffset: T,
45
45
  defaultAdultAmount: E,
46
46
  defaultChildAmount: M,
47
- maxAdultAmount: ve,
48
- maxChildAmount: me,
49
- splitBookingCalendar: be
50
- } = ee(le()), { hasChildSelection: A } = le(), ge = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + I.value)).setHours(12, 0, 0, 0)), fe = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + I.value + 1)).setHours(12, 0, 0, 0)), pe = () => a.disableDefaultLocation ? void 0 : de.value, O = b(E.value), j = b(M.value), z = b(1), q = b(ge()), G = b(fe()), Y = b(pe()), p = s({
51
- get: () => a.booking ? _.adults : O.value,
47
+ maxAdultAmount: me,
48
+ maxChildAmount: be,
49
+ splitBookingCalendar: ge
50
+ } = ee(le()), { hasChildSelection: C } = le(), pe = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + I.value)).setHours(12, 0, 0, 0)), fe = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + I.value + 1)).setHours(12, 0, 0, 0)), he = () => a.disableDefaultLocation ? void 0 : de.value, O = b(E.value), j = b(M.value), z = b(1), q = b(pe()), G = b(fe()), Y = b(he()), p = s({
51
+ get: () => a.booking ? x.adults : O.value,
52
52
  set: (e) => {
53
53
  a.booking ? ue.value = Number(e) : O.value = Number(e);
54
54
  }
55
- }), k = s({
56
- get: () => a.booking ? _.children : j.value,
55
+ }), h = s({
56
+ get: () => a.booking ? x.children : j.value,
57
57
  set: (e) => {
58
58
  a.booking ? re.value = Number(e) : j.value = Number(e);
59
59
  }
60
60
  }), ye = s({
61
- get: () => a.booking ? _.roomCount : z.value,
61
+ get: () => a.booking ? x.roomCount : z.value,
62
62
  set: (e) => {
63
63
  a.booking ? ce.value = Number(e) : z.value = Number(e);
64
64
  }
@@ -80,16 +80,16 @@ const Pe = {
80
80
  }), J = s(() => {
81
81
  const e = P.value.find(({ id: l }) => l === a.selectedLocation);
82
82
  return e ? e.name : "";
83
- }), K = s(() => F.value && !a.hideLocations), y = b([]), Q = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate()))), he = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + T.value))), W = s(() => new Date((/* @__PURE__ */ new Date()).setDate(u.value.getDate() + (T.value + 1)))), N = s(() => p.value !== 0), ke = s(() => typeof a.link != "string");
83
+ }), K = s(() => F.value && !a.hideLocations), y = b([]), Q = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate()))), ke = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + T.value))), W = s(() => new Date((/* @__PURE__ */ new Date()).setDate(u.value.getDate() + (T.value + 1)))), N = s(() => p.value !== 0), De = s(() => typeof a.link != "string");
84
84
  function D(e) {
85
85
  const l = e.getFullYear();
86
86
  let o = e.getMonth() + 1, m = e.getDate();
87
87
  return m < 10 && (m = "0" + m), o < 10 && (o = "0" + o), `${l}-${o}-${m}`;
88
88
  }
89
- function C(e) {
89
+ function S(e) {
90
90
  const l = {
91
91
  a: p.value.toString(),
92
- c: k.value.toString(),
92
+ c: h.value.toString(),
93
93
  r: ye.value.toString(),
94
94
  ci: D(u.value),
95
95
  co: D(r.value),
@@ -97,76 +97,78 @@ const Pe = {
97
97
  }, o = new URLSearchParams(l), m = new URL(e, window.location.origin);
98
98
  m.search = o.toString(), window.location.replace(m.toString());
99
99
  }
100
- function De() {
100
+ function we() {
101
101
  if (isNaN(v.value) && F.value) {
102
- h({
102
+ k({
103
103
  message: i("alert.error.selectHotelId"),
104
104
  type: "error"
105
105
  });
106
106
  return;
107
107
  }
108
108
  if (isNaN(p.value)) {
109
- h({
109
+ k({
110
110
  message: i("alert.error.selectValidAdults"),
111
111
  type: "error"
112
112
  });
113
113
  return;
114
114
  }
115
- if (isNaN(k.value)) {
116
- h({
115
+ if (isNaN(h.value)) {
116
+ k({
117
117
  message: i("alert.error.selectValidChildren"),
118
118
  type: "error"
119
119
  });
120
120
  return;
121
121
  }
122
122
  if (a.booking === !1)
123
- if (ke.value) {
124
- const e = Be();
125
- a.link[e] ? C(a.link[e]) : a.link.en ? C(a.link.en) : h({
123
+ if (De.value) {
124
+ const e = He();
125
+ a.link[e] ? S(a.link[e]) : a.link.en ? S(a.link.en) : k({
126
126
  message: "Module misconfiguration, contact an admin",
127
127
  type: "error"
128
128
  });
129
129
  } else
130
- C(a.link);
131
- else N.value && x.fetchAvailabilityData();
130
+ S(a.link);
131
+ else N.value && A.fetchAvailabilityData();
132
132
  }
133
- const X = Ce("history", {
133
+ const X = Se("history", {
134
134
  removeNullishValues: !0
135
135
  });
136
136
  function Z() {
137
137
  a.booking && (X.ci = D(u.value), X.co = D(r.value));
138
138
  }
139
- return S(u, (e) => {
139
+ return w(u, (e) => {
140
140
  const l = new Date(new Date(e).setDate(new Date(e).getDate() + 1));
141
141
  new Date(r.value) < l && (r.value = l), Z();
142
- }), S(r, () => {
142
+ }), w(r, () => {
143
143
  Z();
144
- }), Se.on("forcedDateChange", () => {
144
+ }), $e.on("forcedDateChange", () => {
145
145
  y.value = [u.value, r.value];
146
- }), S(y, (e) => {
146
+ }), w(y, (e) => {
147
147
  u.value = e[0], r.value = e[1];
148
- }), Ve(() => {
148
+ }), w([p, h, v], () => {
149
+ ve.clearCache();
150
+ }), Le(() => {
149
151
  y.value = [u.value, r.value];
150
152
  }), (e, l) => (c(), g("form", {
151
153
  id: "konnectio-availability-form",
152
154
  class: U({ reservation: d.booking }),
153
155
  type: "availability",
154
- onSubmit: xe(De, ["prevent"])
156
+ onSubmit: Ae(we, ["prevent"])
155
157
  }, [
156
- n(_e, {
158
+ n(xe, {
157
159
  id: "konnectio-availability-form-content",
158
160
  tag: "ul",
159
161
  class: U([
160
162
  { "is-booking-page": d.booking },
161
- { "only-adult-guests": !t(A)(v.value) },
162
- { "all-guests": t(A)(v.value) },
163
+ { "only-adult-guests": !t(C)(v.value) },
164
+ { "all-guests": t(C)(v.value) },
163
165
  { "has-location": K.value },
164
166
  { "has-room-count": !1 }
165
167
  ])
166
168
  }, {
167
- default: Le(() => [
168
- K.value ? (c(), g("li", He, [
169
- isNaN(d.selectedLocation) ? (c(), w(Ue, {
169
+ default: _e(() => [
170
+ K.value ? (c(), g("li", Fe, [
171
+ isNaN(d.selectedLocation) ? (c(), V(Be, {
170
172
  key: 1,
171
173
  modelValue: v.value,
172
174
  "onUpdate:modelValue": l[1] || (l[1] = (o) => v.value = o),
@@ -179,7 +181,7 @@ const Pe = {
179
181
  "value-key": "id",
180
182
  options: t(P),
181
183
  searchable: !1
182
- }, null, 8, ["modelValue", "label", "placeholder", "options"])) : (c(), w($e, {
184
+ }, null, 8, ["modelValue", "label", "placeholder", "options"])) : (c(), V(Ue, {
183
185
  key: 0,
184
186
  modelValue: J.value,
185
187
  "onUpdate:modelValue": l[0] || (l[0] = (o) => J.value = o),
@@ -189,9 +191,9 @@ const Pe = {
189
191
  "icon-placement": "label",
190
192
  readonly: ""
191
193
  }, null, 8, ["modelValue", "label"]))
192
- ])) : V("", !0),
193
- L("li", Re, [
194
- t(be) ? (c(), g("div", Fe, [
194
+ ])) : L("", !0),
195
+ _("li", Pe, [
196
+ t(ge) ? (c(), g("div", Ie, [
195
197
  n($, {
196
198
  modelValue: u.value,
197
199
  "onUpdate:modelValue": l[2] || (l[2] = (o) => u.value = o),
@@ -201,7 +203,9 @@ const Pe = {
201
203
  "icon-placement": "label",
202
204
  "start-date": u.value,
203
205
  "min-date": Q.value,
204
- "max-date": he.value
206
+ "max-date": ke.value,
207
+ "show-prices": "",
208
+ "show-availability": ""
205
209
  }, null, 8, ["modelValue", "label", "start-date", "min-date", "max-date"]),
206
210
  n($, {
207
211
  modelValue: r.value,
@@ -212,9 +216,11 @@ const Pe = {
212
216
  "icon-placement": "label",
213
217
  "start-date": r.value,
214
218
  "min-date": u.value,
215
- "max-date": W.value
219
+ "max-date": W.value,
220
+ "show-prices": "",
221
+ "show-availability": ""
216
222
  }, null, 8, ["modelValue", "label", "start-date", "min-date", "max-date"])
217
- ])) : (c(), w($, {
223
+ ])) : (c(), V($, {
218
224
  key: 1,
219
225
  modelValue: y.value,
220
226
  "onUpdate:modelValue": l[4] || (l[4] = (o) => y.value = o),
@@ -224,11 +230,13 @@ const Pe = {
224
230
  "min-range": 1,
225
231
  "min-date": Q.value,
226
232
  "max-date": W.value,
233
+ "show-prices": "",
234
+ "show-availability": "",
227
235
  range: ""
228
236
  }, null, 8, ["modelValue", "label", "min-date", "max-date"]))
229
237
  ]),
230
- V("", !0),
231
- L("li", Pe, [
238
+ L("", !0),
239
+ _("li", Te, [
232
240
  n(te, {
233
241
  modelValue: p.value,
234
242
  "onUpdate:modelValue": l[6] || (l[6] = (o) => p.value = o),
@@ -238,40 +246,40 @@ const Pe = {
238
246
  "icon-placement": "label",
239
247
  name: "adults",
240
248
  icon: "male",
241
- "max-value": t(ve),
249
+ "max-value": t(me),
242
250
  placeholder: `${t(E)}`,
243
251
  controls: !0
244
252
  }, null, 8, ["modelValue", "label", "description", "max-value", "placeholder"]),
245
- t(A)(v.value) ? (c(), w(te, {
253
+ t(C)(v.value) ? (c(), V(te, {
246
254
  key: 0,
247
- modelValue: k.value,
248
- "onUpdate:modelValue": l[7] || (l[7] = (o) => k.value = o),
255
+ modelValue: h.value,
256
+ "onUpdate:modelValue": l[7] || (l[7] = (o) => h.value = o),
249
257
  label: t(i)("availability.children"),
250
258
  description: t(i)("general.childAgeRange"),
251
259
  "icon-type": "fas",
252
260
  "icon-placement": "label",
253
261
  name: "children",
254
262
  icon: "child",
255
- "max-value": t(me),
263
+ "max-value": t(be),
256
264
  placeholder: `${t(M)}`,
257
265
  controls: !0
258
- }, null, 8, ["modelValue", "label", "description", "max-value", "placeholder"])) : V("", !0)
266
+ }, null, 8, ["modelValue", "label", "description", "max-value", "placeholder"])) : L("", !0)
259
267
  ]),
260
- L("li", Ie, [
268
+ _("li", Ee, [
261
269
  n(oe, {
262
270
  class: "konnectio-availability-submit-small",
263
271
  type: "submit",
264
272
  icon: "search",
265
273
  "icon-type": "fas",
266
274
  disabled: !N.value,
267
- "is-loading": t(x).areListingsLoading
275
+ "is-loading": t(A).areListingsLoading
268
276
  }, null, 8, ["disabled", "is-loading"]),
269
277
  n(oe, {
270
278
  class: "konnectio-availability-submit-large",
271
279
  type: "submit",
272
280
  label: t(i)("availability.buttonLabel"),
273
281
  disabled: !N.value,
274
- "is-loading": t(x).areListingsLoading
282
+ "is-loading": t(A).areListingsLoading
275
283
  }, null, 8, ["label", "disabled", "is-loading"])
276
284
  ])
277
285
  ]),
@@ -279,21 +287,21 @@ const Pe = {
279
287
  }, 8, ["class"])
280
288
  ], 34));
281
289
  }
282
- }), Qe = /* @__PURE__ */ se(Te, [["__scopeId", "data-v-ef87a3f9"]]), Ee = { class: "availability-skeleton" }, Me = {
290
+ }), Xe = /* @__PURE__ */ se(Me, [["__scopeId", "data-v-344660be"]]), Oe = { class: "availability-skeleton" }, je = {
283
291
  key: 0,
284
292
  class: "availability-skeleton-navigation"
285
- }, Oe = { class: "availability-skeleton-content" }, je = {
293
+ }, ze = { class: "availability-skeleton-content" }, qe = {
286
294
  key: 1,
287
295
  class: "availability-skeleton-event"
288
- }, ze = /* @__PURE__ */ ne({
296
+ }, Ge = /* @__PURE__ */ ne({
289
297
  __name: "AvailabilitySkeleton",
290
298
  props: {
291
299
  view: { default: "hotel" },
292
300
  hotel: { type: Boolean, default: !1 }
293
301
  },
294
302
  setup(d) {
295
- return (i, a) => (c(), g("div", Ee, [
296
- d.view === "both" ? (c(), g("div", Me, [
303
+ return (i, a) => (c(), g("div", Oe, [
304
+ d.view === "both" ? (c(), g("div", je, [
297
305
  n(ie, {
298
306
  height: "28px",
299
307
  width: "60px",
@@ -304,8 +312,8 @@ const Pe = {
304
312
  width: "60px",
305
313
  "border-radius": "20px"
306
314
  })
307
- ])) : V("", !0),
308
- L("div", Oe, [
315
+ ])) : L("", !0),
316
+ _("div", ze, [
309
317
  d.view !== "event" ? (c(), g("div", {
310
318
  key: 0,
311
319
  class: U([
@@ -320,7 +328,7 @@ const Pe = {
320
328
  "with-icon": "",
321
329
  "no-label": ""
322
330
  })
323
- ], 2)) : (c(), g("div", je, [
331
+ ], 2)) : (c(), g("div", qe, [
324
332
  n(f, { "with-icon": "" }),
325
333
  n(f, {
326
334
  "with-icon": "",
@@ -330,9 +338,9 @@ const Pe = {
330
338
  ])
331
339
  ]));
332
340
  }
333
- }), We = /* @__PURE__ */ se(ze, [["__scopeId", "data-v-86730e88"]]);
341
+ }), Ze = /* @__PURE__ */ se(Ge, [["__scopeId", "data-v-bcdabbb5"]]);
334
342
  export {
335
- We as A,
336
- Qe as H
343
+ Ze as A,
344
+ Xe as H
337
345
  };
338
- //# sourceMappingURL=AvailabilitySkeleton-Ced6gdUY.js.map
346
+ //# sourceMappingURL=AvailabilitySkeleton-GcNIEr0O.js.map