@konnectio/core 4.1.2 → 4.1.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 (61) hide show
  1. package/dist/{ActionField-RCouJ4bL.js → ActionField-C1dgcOKP.js} +11 -11
  2. package/dist/ActionField-C1dgcOKP.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-DMCMhOc1.js → AvailabilitySkeleton-Bazs9H4o.js} +110 -110
  4. package/dist/AvailabilitySkeleton-Bazs9H4o.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-mLoIG3Dr.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-a1ndpS4g.js} +336 -339
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-a1ndpS4g.js.br +0 -0
  7. package/dist/{CheckoutWindow-CIVRhVLH.js → CheckoutWindow-BgqyyJoW.js} +194 -199
  8. package/dist/CheckoutWindow-BgqyyJoW.js.br +0 -0
  9. package/dist/{ErrorMessage-CRkFYH0N.js → ErrorMessage-BzDrnE0F.js} +4 -4
  10. package/dist/ErrorMessage-BzDrnE0F.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-DuzDq1td.js → EventAvailabilityForm-Cw5NkQXM.js} +10 -10
  12. package/dist/EventAvailabilityForm-Cw5NkQXM.js.br +0 -0
  13. package/dist/{Field-B89fBG1z.js → Field-BLzufPEA.js} +4 -4
  14. package/dist/Field-BLzufPEA.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DHYObk1q.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DF8uAZlm.js} +3 -3
  16. package/dist/SelectField.vue_vue_type_style_index_0_lang-eQJ88XWq.js +10617 -0
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-eQJ88XWq.js.br +0 -0
  18. package/dist/{TermsOfService-B3RWtSMr.js → TermsOfService-BM9pIxg1.js} +5 -5
  19. package/dist/_-C47qU_gt.js +5 -0
  20. package/dist/{_.vue_vue_type_style_index_0_lang-CPp11Oc1.js → _.vue_vue_type_style_index_0_lang-alJEghYY.js} +3 -3
  21. package/dist/availability.js +16 -16
  22. package/dist/availability.js.br +0 -0
  23. package/dist/cancel-reservation.js +14 -14
  24. package/dist/cancel-reservation.js.br +0 -0
  25. package/dist/core.css +1 -1
  26. package/dist/core.css.br +0 -0
  27. package/dist/deep-link.js +13 -13
  28. package/dist/deep-link.js.br +0 -0
  29. package/dist/event.js +57 -57
  30. package/dist/event.js.br +0 -0
  31. package/dist/gift-card-validation.js +24 -24
  32. package/dist/gift-card-validation.js.br +0 -0
  33. package/dist/gift-card.js +56 -56
  34. package/dist/gift-card.js.br +0 -0
  35. package/dist/{giftCard-ovHKnHZ1.js → giftCard-pa0AL3wA.js} +26 -26
  36. package/dist/giftCard-pa0AL3wA.js.br +0 -0
  37. package/dist/hotel.js +26 -29
  38. package/dist/hotel.js.br +0 -0
  39. package/dist/{masonry.plugin-DEok8Hbz.js → masonry.plugin-p-oq4FQ9.js} +336 -319
  40. package/dist/masonry.plugin-p-oq4FQ9.js.br +0 -0
  41. package/dist/{mitt-Dh_4vPVI.js → mitt-CFrRmK9k.js} +30 -30
  42. package/dist/mitt-CFrRmK9k.js.br +0 -0
  43. package/dist/polyfill.js +1 -1
  44. package/dist/polyfill.js.br +0 -0
  45. package/dist/{style-CXMzdeVK.js → style-CLWqMWeG.js} +59 -59
  46. package/dist/style-CLWqMWeG.js.br +0 -0
  47. package/package.json +7 -7
  48. package/dist/ActionField-RCouJ4bL.js.br +0 -0
  49. package/dist/AvailabilitySkeleton-DMCMhOc1.js.br +0 -0
  50. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-mLoIG3Dr.js.br +0 -0
  51. package/dist/CheckoutWindow-CIVRhVLH.js.br +0 -0
  52. package/dist/ErrorMessage-CRkFYH0N.js.br +0 -0
  53. package/dist/EventAvailabilityForm-DuzDq1td.js.br +0 -0
  54. package/dist/Field-B89fBG1z.js.br +0 -0
  55. package/dist/SelectField.vue_vue_type_style_index_0_lang-DpqEmfGX.js +0 -19391
  56. package/dist/SelectField.vue_vue_type_style_index_0_lang-DpqEmfGX.js.br +0 -0
  57. package/dist/_-CS3eNenD.js +0 -5
  58. package/dist/giftCard-ovHKnHZ1.js.br +0 -0
  59. package/dist/masonry.plugin-DEok8Hbz.js.br +0 -0
  60. package/dist/mitt-Dh_4vPVI.js.br +0 -0
  61. package/dist/style-CXMzdeVK.js.br +0 -0
@@ -1,6 +1,6 @@
1
- import { d as c, c as p, a as d, b as i, w as V, e as v, i as t, f as g } from "./mitt-Dh_4vPVI.js";
2
- import { H as q, c as k, g as B, T as I, d as C, x as F, _ as A } from "./SelectField.vue_vue_type_style_index_0_lang-DpqEmfGX.js";
3
- const L = { class: "fresh-booking-action-field" }, T = /* @__PURE__ */ c({
1
+ import { d as c, c as p, a as d, b as i, w as V, e as v, i as t, f as q } from "./mitt-CFrRmK9k.js";
2
+ import { H as g, c as k, g as B, T as I, d as C, x as F, _ as A } from "./SelectField.vue_vue_type_style_index_0_lang-eQJ88XWq.js";
3
+ const L = { class: "konnectio-action-field" }, T = /* @__PURE__ */ c({
4
4
  __name: "ActionField",
5
5
  props: {
6
6
  modelValue: {},
@@ -25,8 +25,8 @@ const L = { class: "fresh-booking-action-field" }, T = /* @__PURE__ */ c({
25
25
  isLoading: { type: Boolean, default: !1 }
26
26
  },
27
27
  emits: ["update:modelValue", "action"],
28
- setup(y, { emit: f }) {
29
- const s = f, u = y, o = u.id || q();
28
+ setup(y, { emit: b }) {
29
+ const s = b, u = y, o = u.id || g();
30
30
  function r(e) {
31
31
  s("update:modelValue", e);
32
32
  }
@@ -37,7 +37,7 @@ const L = { class: "fresh-booking-action-field" }, T = /* @__PURE__ */ c({
37
37
  get: () => u.modelValue,
38
38
  set: (e) => r(e)
39
39
  });
40
- function b() {
40
+ function f() {
41
41
  s("action");
42
42
  }
43
43
  return (e, a) => (d(), i(F, {
@@ -76,7 +76,7 @@ const L = { class: "fresh-booking-action-field" }, T = /* @__PURE__ */ c({
76
76
  required: e.required,
77
77
  placeholder: e.placeholder
78
78
  }, null, 8, ["modelValue", "id", "name", "required", "placeholder"])),
79
- g(C, {
79
+ q(C, {
80
80
  "data-test": `${e.name}Submit`,
81
81
  icon: e.buttonIcon,
82
82
  label: e.buttonLabel,
@@ -86,15 +86,15 @@ const L = { class: "fresh-booking-action-field" }, T = /* @__PURE__ */ c({
86
86
  "is-loading": e.isLoading,
87
87
  disabled: e.buttonDisabled,
88
88
  secondary: e.secondary,
89
- onClickEvent: a[3] || (a[3] = (l) => b())
89
+ onClickEvent: a[3] || (a[3] = (l) => f())
90
90
  }, null, 8, ["data-test", "icon", "label", "icon-color", "styling", "is-loading", "disabled", "secondary"])
91
91
  ])
92
92
  ]),
93
93
  _: 1
94
94
  }, 8, ["label", "id", "icon", "icon-type", "required", "type", "readonly"]));
95
95
  }
96
- }), w = /* @__PURE__ */ A(T, [["__scopeId", "data-v-3e77e321"]]);
96
+ }), U = /* @__PURE__ */ A(T, [["__scopeId", "data-v-0060b4bf"]]);
97
97
  export {
98
- w as A
98
+ U as A
99
99
  };
100
- //# sourceMappingURL=ActionField-RCouJ4bL.js.map
100
+ //# sourceMappingURL=ActionField-C1dgcOKP.js.map
Binary file
@@ -1,24 +1,24 @@
1
- import { d as te, u as De, s as A, r as b, c as s, E as K, o as ke, a as r, g as m, f as n, w as he, i as t, b as k, j as N, e as h, n as S, C as we, h as Ve, L as _e } from "./mitt-Dh_4vPVI.js";
2
- import { u as Q, b as W, a as Le, h as X, T as Ae, c as xe, g as Z, d as ee, w as Ne, _ as le } from "./SelectField.vue_vue_type_style_index_0_lang-DpqEmfGX.js";
3
- import { _ as x } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-mLoIG3Dr.js";
4
- import { E as ae } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DHYObk1q.js";
5
- import { F as p } from "./Field-B89fBG1z.js";
6
- const Se = {
1
+ import { d as ae, u as ye, s as L, r as b, c as s, D as J, o as De, a as r, g as m, f as n, w as ke, i as l, b as k, j as N, e as h, n as S, B as he, h as we } from "./mitt-CFrRmK9k.js";
2
+ import { u as K, b as Q, a as Ve, h as W, M as _e, T as Ae, c as Le, g as X, d as Z, w as xe, _ as te } from "./SelectField.vue_vue_type_style_index_0_lang-eQJ88XWq.js";
3
+ import { _ as x } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-a1ndpS4g.js";
4
+ import { E as ee } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DF8uAZlm.js";
5
+ import { F as p } from "./Field-BLzufPEA.js";
6
+ const Ne = {
7
7
  class: "konnectio-availability-location",
8
8
  key: "location"
9
- }, Ce = {
9
+ }, Se = {
10
10
  id: "konnectio-availability-date-selection",
11
11
  key: "multiDate"
12
- }, Ue = {
12
+ }, Ce = {
13
13
  key: 0,
14
14
  class: "konnectio-availability-date-selection-multi"
15
- }, $e = {
15
+ }, Ue = {
16
16
  class: "konnectio-availability-guest-selection",
17
17
  key: "guests"
18
- }, Be = {
18
+ }, $e = {
19
19
  id: "konnectio-availability-confirmation",
20
20
  key: "confirm"
21
- }, He = /* @__PURE__ */ te({
21
+ }, Be = /* @__PURE__ */ ae({
22
22
  __name: "HotelAvailabilityForm",
23
23
  props: {
24
24
  booking: { type: Boolean, default: !1 },
@@ -27,70 +27,70 @@ const Se = {
27
27
  disableDefaultLocation: { type: Boolean, default: !1 }
28
28
  },
29
29
  setup(C) {
30
- const { t: i } = De(), U = _e("emitter"), l = C, $ = Q(), {
31
- adults: oe,
32
- children: ie,
33
- arrivalDate: B,
34
- departureDate: H,
35
- location: R,
30
+ const { t: i } = ye(), t = C, U = K(), {
31
+ adults: le,
32
+ children: oe,
33
+ arrivalDate: $,
34
+ departureDate: B,
35
+ location: H,
36
36
  hasHotelLocations: w,
37
- hotelLocations: F,
38
- controlLocation: ne
39
- } = A(Q()), { fetchAvailabilityData: se } = W(), { areListingsLoading: I } = A(W()), { display: y } = Le(), {
40
- firstSelectableDateOffset: T,
41
- lastSelectableDateOffset: E,
42
- defaultAdultAmount: ue,
43
- defaultChildAmount: re,
44
- maxAdultAmount: ce,
45
- maxChildAmount: de,
46
- splitBookingCalendar: ve
47
- } = A(X()), { hasChildSelection: V } = X(), me = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 1)).setHours(12, 0, 0, 0)), be = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 2)).setHours(12, 0, 0, 0)), pe = () => l.disableDefaultLocation ? void 0 : ne.value, M = b(ue.value), O = b(re.value), j = b(me()), P = b(be()), z = b(pe()), g = s({
48
- get: () => l.booking ? $.adults : M.value,
37
+ hotelLocations: R,
38
+ controlLocation: ie
39
+ } = L(K()), { fetchAvailabilityData: ne } = Q(), { areListingsLoading: F } = L(Q()), { display: y } = Ve(), {
40
+ firstSelectableDateOffset: I,
41
+ lastSelectableDateOffset: M,
42
+ defaultAdultAmount: se,
43
+ defaultChildAmount: ue,
44
+ maxAdultAmount: re,
45
+ maxChildAmount: ce,
46
+ splitBookingCalendar: de
47
+ } = L(W()), { hasChildSelection: V } = W(), ve = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 1)).setHours(12, 0, 0, 0)), me = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 2)).setHours(12, 0, 0, 0)), be = () => t.disableDefaultLocation ? void 0 : ie.value, T = b(se.value), O = b(ue.value), E = b(ve()), P = b(me()), j = b(be()), g = s({
48
+ get: () => t.booking ? U.adults : T.value,
49
49
  set: (e) => {
50
- l.booking ? oe.value = Number(e) : M.value = Number(e);
50
+ t.booking ? le.value = Number(e) : T.value = Number(e);
51
51
  }
52
52
  }), D = s({
53
- get: () => l.booking ? $.children : O.value,
53
+ get: () => t.booking ? U.children : O.value,
54
54
  set: (e) => {
55
- l.booking ? ie.value = Number(e) : O.value = Number(e);
55
+ t.booking ? oe.value = Number(e) : O.value = Number(e);
56
56
  }
57
57
  }), u = s({
58
- get: () => l.booking ? B.value : j.value,
58
+ get: () => t.booking ? $.value : E.value,
59
59
  set: (e) => {
60
- l.booking ? B.value = e : j.value = e;
60
+ t.booking ? $.value = e : E.value = e;
61
61
  }
62
62
  }), c = s({
63
- get: () => l.booking ? H.value : P.value,
63
+ get: () => t.booking ? B.value : P.value,
64
64
  set: (e) => {
65
- l.booking ? H.value = e : P.value = e;
65
+ t.booking ? B.value = e : P.value = e;
66
66
  }
67
67
  }), d = s({
68
- get: () => isNaN(l.selectedLocation) ? l.booking ? R.value : z.value : l.selectedLocation,
68
+ get: () => isNaN(t.selectedLocation) ? t.booking ? H.value : j.value : t.selectedLocation,
69
69
  set: (e) => {
70
- l.booking ? R.value = e : z.value = e;
70
+ t.booking ? H.value = e : j.value = e;
71
71
  }
72
- }), q = s(() => {
73
- const e = F.value.find(({ id: a }) => a === l.selectedLocation);
72
+ }), z = s(() => {
73
+ const e = R.value.find(({ id: a }) => a === t.selectedLocation);
74
74
  return e ? e.name : "";
75
- }), f = b([]), G = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + (T.value - 1)))), ge = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + E.value)));
76
- s(() => new Date((/* @__PURE__ */ new Date()).setDate(u.value.getDate() + T.value)));
77
- const Y = s(() => new Date((/* @__PURE__ */ new Date()).setDate(u.value.getDate() + (E.value + 1)))), _ = s(() => g.value !== 0), fe = s(() => typeof l.link != "string");
78
- function J(e) {
75
+ }), f = b([]), q = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + (I.value - 1)))), pe = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + M.value)));
76
+ s(() => new Date((/* @__PURE__ */ new Date()).setDate(u.value.getDate() + I.value)));
77
+ const G = s(() => new Date((/* @__PURE__ */ new Date()).setDate(u.value.getDate() + (M.value + 1)))), _ = s(() => g.value !== 0), ge = s(() => typeof t.link != "string");
78
+ function Y(e) {
79
79
  const a = e.getFullYear();
80
80
  let o = e.getMonth() + 1, v = e.getDate();
81
81
  return v < 10 && (v = "0" + v), o < 10 && (o = "0" + o), `${a}-${o}-${v}`;
82
82
  }
83
- function L(e) {
83
+ function A(e) {
84
84
  const a = {
85
85
  a: g.value.toString(),
86
86
  c: D.value.toString(),
87
- ci: J(u.value),
88
- co: J(c.value),
87
+ ci: Y(u.value),
88
+ co: Y(c.value),
89
89
  hid: d.value.toString()
90
90
  }, o = new URLSearchParams(a), v = new URL(e, window.location.origin);
91
91
  v.search = o.toString(), window.location.replace(v.toString());
92
92
  }
93
- function ye() {
93
+ function fe() {
94
94
  if (isNaN(d.value) && w.value) {
95
95
  y({
96
96
  message: i("alert.error.selectHotelId"),
@@ -112,147 +112,147 @@ const Se = {
112
112
  });
113
113
  return;
114
114
  }
115
- if (l.booking === !1)
116
- if (fe.value) {
117
- const e = Ne();
118
- l.link[e] ? L(l.link[e]) : l.link.en ? L(l.link.en) : y({
115
+ if (t.booking === !1)
116
+ if (ge.value) {
117
+ const e = xe();
118
+ t.link[e] ? A(t.link[e]) : t.link.en ? A(t.link.en) : y({
119
119
  message: "Module misconfiguration, contact an admin",
120
120
  type: "error"
121
121
  });
122
122
  } else
123
- L(l.link);
124
- else _.value && se();
123
+ A(t.link);
124
+ else _.value && ne();
125
125
  }
126
- return K(u, (e) => {
126
+ return J(u, (e) => {
127
127
  const a = new Date(new Date(e).setDate(new Date(e).getDate() + 1));
128
128
  new Date(c.value) < a && (c.value = a);
129
- }), U.on("forcedDateChange", () => {
129
+ }), _e.on("forcedDateChange", () => {
130
130
  f.value = [u.value, c.value];
131
- }), K(f, (e) => {
131
+ }), J(f, (e) => {
132
132
  u.value = e[0], c.value = e[1];
133
- }), ke(() => {
133
+ }), De(() => {
134
134
  f.value = [u.value, c.value];
135
135
  }), (e, a) => (r(), m("form", {
136
136
  id: "konnectio-availability-form",
137
137
  class: S({ reservation: e.booking }),
138
138
  type: "availability",
139
- onSubmit: Ve(ye, ["prevent"])
139
+ onSubmit: we(fe, ["prevent"])
140
140
  }, [
141
- n(we, {
141
+ n(he, {
142
142
  id: "konnectio-availability-form-content",
143
143
  tag: "ul",
144
144
  class: S([
145
145
  { "is-booking-page": e.booking },
146
- { "only-adult-guests": !t(V)(d.value) },
147
- { "all-guests": t(V)(d.value) },
148
- { "has-location": t(w) }
146
+ { "only-adult-guests": !l(V)(d.value) },
147
+ { "all-guests": l(V)(d.value) },
148
+ { "has-location": l(w) }
149
149
  ])
150
150
  }, {
151
- default: he(() => [
152
- t(w) ? (r(), m("li", Se, [
153
- isNaN(e.selectedLocation) ? (r(), k(xe, {
151
+ default: ke(() => [
152
+ l(w) ? (r(), m("li", Ne, [
153
+ isNaN(e.selectedLocation) ? (r(), k(Le, {
154
154
  key: 1,
155
155
  modelValue: d.value,
156
156
  "onUpdate:modelValue": a[1] || (a[1] = (o) => d.value = o),
157
- label: t(i)("general.location"),
158
- placeholder: t(i)("general.locationPlaceholder"),
157
+ label: l(i)("general.location"),
158
+ placeholder: l(i)("general.locationPlaceholder"),
159
159
  icon: "location-dot",
160
160
  "icon-type": "fas",
161
161
  "icon-placement": "label",
162
162
  "label-key": "name",
163
163
  "value-key": "id",
164
- options: t(F),
164
+ options: l(R),
165
165
  searchable: !1
166
166
  }, null, 8, ["modelValue", "label", "placeholder", "options"])) : (r(), k(Ae, {
167
167
  key: 0,
168
- modelValue: q.value,
169
- "onUpdate:modelValue": a[0] || (a[0] = (o) => q.value = o),
170
- label: t(i)("general.location"),
168
+ modelValue: z.value,
169
+ "onUpdate:modelValue": a[0] || (a[0] = (o) => z.value = o),
170
+ label: l(i)("general.location"),
171
171
  icon: "location-dot",
172
172
  "icon-type": "fas",
173
173
  "icon-placement": "label",
174
174
  readonly: ""
175
175
  }, null, 8, ["modelValue", "label"]))
176
176
  ])) : N("", !0),
177
- h("li", Ce, [
178
- t(ve) ? (r(), m("div", Ue, [
177
+ h("li", Se, [
178
+ l(de) ? (r(), m("div", Ce, [
179
179
  n(x, {
180
180
  modelValue: u.value,
181
181
  "onUpdate:modelValue": a[2] || (a[2] = (o) => u.value = o),
182
- label: t(i)("availability.arrivalDate"),
182
+ label: l(i)("availability.arrivalDate"),
183
183
  name: "arrivalDate",
184
184
  "icon-type": "fas",
185
185
  "icon-placement": "label",
186
186
  "start-date": u.value,
187
- "min-date": G.value,
188
- "max-date": ge.value
187
+ "min-date": q.value,
188
+ "max-date": pe.value
189
189
  }, null, 8, ["modelValue", "label", "start-date", "min-date", "max-date"]),
190
190
  n(x, {
191
191
  modelValue: c.value,
192
192
  "onUpdate:modelValue": a[3] || (a[3] = (o) => c.value = o),
193
- label: t(i)("availability.departureDate"),
193
+ label: l(i)("availability.departureDate"),
194
194
  name: "departureDate",
195
195
  "icon-type": "fas",
196
196
  "icon-placement": "label",
197
197
  "start-date": c.value,
198
198
  "min-date": u.value,
199
- "max-date": Y.value
199
+ "max-date": G.value
200
200
  }, null, 8, ["modelValue", "label", "start-date", "min-date", "max-date"])
201
201
  ])) : (r(), k(x, {
202
202
  key: 1,
203
203
  modelValue: f.value,
204
204
  "onUpdate:modelValue": a[4] || (a[4] = (o) => f.value = o),
205
- label: t(i)("availability.checkInOut"),
205
+ label: l(i)("availability.checkInOut"),
206
206
  "icon-type": "fas",
207
207
  "icon-placement": "label",
208
208
  "min-range": 1,
209
- "min-date": G.value,
210
- "max-date": Y.value,
209
+ "min-date": q.value,
210
+ "max-date": G.value,
211
211
  range: ""
212
212
  }, null, 8, ["modelValue", "label", "min-date", "max-date"]))
213
213
  ]),
214
- h("li", $e, [
215
- n(Z, {
214
+ h("li", Ue, [
215
+ n(X, {
216
216
  modelValue: g.value,
217
217
  "onUpdate:modelValue": a[5] || (a[5] = (o) => g.value = o),
218
- label: t(i)("availability.adults"),
219
- description: t(i)("general.adultAgeRange"),
218
+ label: l(i)("availability.adults"),
219
+ description: l(i)("general.adultAgeRange"),
220
220
  "icon-type": "fas",
221
221
  "icon-placement": "label",
222
222
  name: "adults",
223
223
  icon: "male",
224
- "max-value": t(ce),
224
+ "max-value": l(re),
225
225
  controls: !0
226
226
  }, null, 8, ["modelValue", "label", "description", "max-value"]),
227
- t(V)(d.value) ? (r(), k(Z, {
227
+ l(V)(d.value) ? (r(), k(X, {
228
228
  key: 0,
229
229
  modelValue: D.value,
230
230
  "onUpdate:modelValue": a[6] || (a[6] = (o) => D.value = o),
231
- label: t(i)("availability.children"),
232
- description: t(i)("general.childAgeRange"),
231
+ label: l(i)("availability.children"),
232
+ description: l(i)("general.childAgeRange"),
233
233
  "icon-type": "fas",
234
234
  "icon-placement": "label",
235
235
  name: "children",
236
236
  icon: "child",
237
- "max-value": t(de),
237
+ "max-value": l(ce),
238
238
  controls: !0
239
239
  }, null, 8, ["modelValue", "label", "description", "max-value"])) : N("", !0)
240
240
  ]),
241
- h("li", Be, [
242
- n(ee, {
241
+ h("li", $e, [
242
+ n(Z, {
243
243
  class: "konnectio-availability-submit-small",
244
244
  type: "submit",
245
245
  icon: "search",
246
246
  "icon-type": "fas",
247
247
  disabled: !_.value,
248
- "is-loading": t(I)
248
+ "is-loading": l(F)
249
249
  }, null, 8, ["disabled", "is-loading"]),
250
- n(ee, {
250
+ n(Z, {
251
251
  class: "konnectio-availability-submit-large",
252
252
  type: "submit",
253
- label: t(i)("availability.buttonLabel"),
253
+ label: l(i)("availability.buttonLabel"),
254
254
  disabled: !_.value,
255
- "is-loading": t(I)
255
+ "is-loading": l(F)
256
256
  }, null, 8, ["label", "disabled", "is-loading"])
257
257
  ])
258
258
  ]),
@@ -260,33 +260,33 @@ const Se = {
260
260
  }, 8, ["class"])
261
261
  ], 34));
262
262
  }
263
- }), qe = /* @__PURE__ */ le(He, [["__scopeId", "data-v-d17acb1f"]]), Re = { class: "availability-skeleton" }, Fe = {
263
+ }), ze = /* @__PURE__ */ te(Be, [["__scopeId", "data-v-b2db00d8"]]), He = { class: "availability-skeleton" }, Re = {
264
264
  key: 0,
265
265
  class: "availability-skeleton-navigation"
266
- }, Ie = { class: "availability-skeleton-content" }, Te = {
266
+ }, Fe = { class: "availability-skeleton-content" }, Ie = {
267
267
  key: 1,
268
268
  class: "availability-skeleton-event"
269
- }, Ee = /* @__PURE__ */ te({
269
+ }, Me = /* @__PURE__ */ ae({
270
270
  __name: "AvailabilitySkeleton",
271
271
  props: {
272
272
  view: { default: "hotel" },
273
273
  hotel: { type: Boolean, default: !1 }
274
274
  },
275
275
  setup(C) {
276
- return (i, U) => (r(), m("div", Re, [
277
- i.view === "both" ? (r(), m("div", Fe, [
278
- n(ae, {
276
+ return (i, t) => (r(), m("div", He, [
277
+ i.view === "both" ? (r(), m("div", Re, [
278
+ n(ee, {
279
279
  height: "28px",
280
280
  width: "60px",
281
281
  "border-radius": "20px"
282
282
  }),
283
- n(ae, {
283
+ n(ee, {
284
284
  height: "28px",
285
285
  width: "60px",
286
286
  "border-radius": "20px"
287
287
  })
288
288
  ])) : N("", !0),
289
- h("div", Ie, [
289
+ h("div", Fe, [
290
290
  i.view !== "event" ? (r(), m("div", {
291
291
  key: 0,
292
292
  class: S([
@@ -301,7 +301,7 @@ const Se = {
301
301
  "with-icon": "",
302
302
  "no-label": ""
303
303
  })
304
- ], 2)) : (r(), m("div", Te, [
304
+ ], 2)) : (r(), m("div", Ie, [
305
305
  n(p, { "with-icon": "" }),
306
306
  n(p, {
307
307
  "with-icon": "",
@@ -311,9 +311,9 @@ const Se = {
311
311
  ])
312
312
  ]));
313
313
  }
314
- }), Ge = /* @__PURE__ */ le(Ee, [["__scopeId", "data-v-cebeb733"]]);
314
+ }), qe = /* @__PURE__ */ te(Me, [["__scopeId", "data-v-86730e88"]]);
315
315
  export {
316
- Ge as A,
317
- qe as H
316
+ qe as A,
317
+ ze as H
318
318
  };
319
- //# sourceMappingURL=AvailabilitySkeleton-DMCMhOc1.js.map
319
+ //# sourceMappingURL=AvailabilitySkeleton-Bazs9H4o.js.map