@konnectio/core 4.1.8 → 4.1.10

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 (60) hide show
  1. package/dist/{ActionField-Dk-DXAwr.js → ActionField-YcUnxCh1.js} +9 -9
  2. package/dist/ActionField-YcUnxCh1.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-DYRL3P88.js → AvailabilitySkeleton-CtypN7ad.js} +95 -95
  4. package/dist/AvailabilitySkeleton-CtypN7ad.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-nsT92tpR.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DFi1PQJG.js} +438 -440
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DFi1PQJG.js.br +0 -0
  7. package/dist/{CheckoutWindow-C6ZIbVCh.js → CheckoutWindow-ET8OmnqK.js} +54 -54
  8. package/dist/CheckoutWindow-ET8OmnqK.js.br +0 -0
  9. package/dist/{ErrorMessage-B1KkvQPj.js → ErrorMessage-CwQY7g9Q.js} +3 -3
  10. package/dist/ErrorMessage-CwQY7g9Q.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-CG8qrEj0.js → EventAvailabilityForm--R2UEx3o.js} +10 -10
  12. package/dist/EventAvailabilityForm--R2UEx3o.js.br +0 -0
  13. package/dist/{Field-CWGwwLaj.js → Field-BdH4Sloj.js} +11 -11
  14. package/dist/Field-BdH4Sloj.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-Uqwv8Dsu.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DJkXxXXq.js} +5 -5
  16. package/dist/{SelectField.vue_vue_type_style_index_0_lang-D9nK6TDz.js → SelectField.vue_vue_type_style_index_0_lang-CsniNK66.js} +2182 -2200
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-CsniNK66.js.br +0 -0
  18. package/dist/{TermsOfService-DzFprATa.js → TermsOfService-B4Xq6arX.js} +9 -9
  19. package/dist/_-kF09E1Yd.js +5 -0
  20. package/dist/{_.vue_vue_type_style_index_0_lang-Blibp75Y.js → _.vue_vue_type_style_index_0_lang-DCY7vATB.js} +4 -4
  21. package/dist/availability.js +16 -16
  22. package/dist/availability.js.br +0 -0
  23. package/dist/cancel-reservation.js +8 -8
  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 +5 -5
  28. package/dist/deep-link.js.br +0 -0
  29. package/dist/event.js +98 -98
  30. package/dist/event.js.br +0 -0
  31. package/dist/gift-card-validation.js +17 -17
  32. package/dist/gift-card-validation.js.br +0 -0
  33. package/dist/gift-card.js +19 -19
  34. package/dist/gift-card.js.br +0 -0
  35. package/dist/{giftCard-Bly36GyN.js → giftCard-vJLJWCwZ.js} +3 -3
  36. package/dist/giftCard-vJLJWCwZ.js.br +0 -0
  37. package/dist/hotel.js +332 -332
  38. package/dist/hotel.js.br +0 -0
  39. package/dist/{masonry.plugin-BH-453dy.js → masonry.plugin-CglHU-ya.js} +490 -502
  40. package/dist/masonry.plugin-CglHU-ya.js.br +0 -0
  41. package/dist/{mitt-tv_9an17.js → mitt-BysJOgFD.js} +1782 -1795
  42. package/dist/mitt-BysJOgFD.js.br +0 -0
  43. package/dist/polyfill.js +1 -1
  44. package/dist/polyfill.js.br +0 -0
  45. package/dist/{style-9BJALyEF.js → style-CFj6q1kW.js} +51 -51
  46. package/dist/style-CFj6q1kW.js.br +0 -0
  47. package/package.json +13 -13
  48. package/dist/ActionField-Dk-DXAwr.js.br +0 -0
  49. package/dist/AvailabilitySkeleton-DYRL3P88.js.br +0 -0
  50. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-nsT92tpR.js.br +0 -0
  51. package/dist/CheckoutWindow-C6ZIbVCh.js.br +0 -0
  52. package/dist/ErrorMessage-B1KkvQPj.js.br +0 -0
  53. package/dist/EventAvailabilityForm-CG8qrEj0.js.br +0 -0
  54. package/dist/Field-CWGwwLaj.js.br +0 -0
  55. package/dist/SelectField.vue_vue_type_style_index_0_lang-D9nK6TDz.js.br +0 -0
  56. package/dist/_-DpUIPKVA.js +0 -5
  57. package/dist/giftCard-Bly36GyN.js.br +0 -0
  58. package/dist/masonry.plugin-BH-453dy.js.br +0 -0
  59. package/dist/mitt-tv_9an17.js.br +0 -0
  60. package/dist/style-9BJALyEF.js.br +0 -0
@@ -1,5 +1,5 @@
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-tv_9an17.js";
2
- import { J 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-D9nK6TDz.js";
1
+ import { d as c, c as p, a as d, b as i, g as t, w as V, e as v, f as g } from "./mitt-BysJOgFD.js";
2
+ import { J as q, x as k, d as B, g as I, T as C, e as F, _ as A } from "./SelectField.vue_vue_type_style_index_0_lang-CsniNK66.js";
3
3
  const L = { class: "konnectio-action-field" }, T = /* @__PURE__ */ c({
4
4
  __name: "ActionField",
5
5
  props: {
@@ -26,7 +26,7 @@ const L = { class: "konnectio-action-field" }, T = /* @__PURE__ */ c({
26
26
  },
27
27
  emits: ["update:modelValue", "action"],
28
28
  setup(y, { emit: b }) {
29
- const s = b, u = y, o = u.id || g();
29
+ const s = b, u = y, o = u.id || q();
30
30
  function r(e) {
31
31
  s("update:modelValue", e);
32
32
  }
@@ -40,7 +40,7 @@ const L = { class: "konnectio-action-field" }, T = /* @__PURE__ */ c({
40
40
  function f() {
41
41
  s("action");
42
42
  }
43
- return (e, a) => (d(), i(F, {
43
+ return (e, a) => (i(), d(k, {
44
44
  label: e.label,
45
45
  id: t(o),
46
46
  icon: e.icon,
@@ -51,7 +51,7 @@ const L = { class: "konnectio-action-field" }, T = /* @__PURE__ */ c({
51
51
  }, {
52
52
  default: V(() => [
53
53
  v("div", L, [
54
- e.type === "dropdown" && e.data ? (d(), i(k, {
54
+ e.type === "dropdown" && e.data ? (i(), d(B, {
55
55
  key: 0,
56
56
  modelValue: n.value,
57
57
  "onUpdate:modelValue": a[0] || (a[0] = (l) => n.value = l),
@@ -60,14 +60,14 @@ const L = { class: "konnectio-action-field" }, T = /* @__PURE__ */ c({
60
60
  name: e.name,
61
61
  required: e.required,
62
62
  placeholder: e.placeholder
63
- }, null, 8, ["modelValue", "id", "options", "name", "required", "placeholder"])) : e.type === "number" ? (d(), i(B, {
63
+ }, null, 8, ["modelValue", "id", "options", "name", "required", "placeholder"])) : e.type === "number" ? (i(), d(I, {
64
64
  key: 1,
65
65
  modelValue: m.value,
66
66
  "onUpdate:modelValue": a[1] || (a[1] = (l) => m.value = l),
67
67
  id: t(o),
68
68
  "min-value": e.minValue,
69
69
  "max-value": e.maxValue
70
- }, null, 8, ["modelValue", "id", "min-value", "max-value"])) : (d(), i(I, {
70
+ }, null, 8, ["modelValue", "id", "min-value", "max-value"])) : (i(), d(C, {
71
71
  key: 2,
72
72
  modelValue: n.value,
73
73
  "onUpdate:modelValue": a[2] || (a[2] = (l) => n.value = l),
@@ -76,7 +76,7 @@ const L = { class: "konnectio-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
- q(C, {
79
+ g(F, {
80
80
  "data-test": `${e.name}Submit`,
81
81
  icon: e.buttonIcon,
82
82
  label: e.buttonLabel,
@@ -97,4 +97,4 @@ const L = { class: "konnectio-action-field" }, T = /* @__PURE__ */ c({
97
97
  export {
98
98
  U as A
99
99
  };
100
- //# sourceMappingURL=ActionField-Dk-DXAwr.js.map
100
+ //# sourceMappingURL=ActionField-YcUnxCh1.js.map
Binary file
@@ -1,24 +1,24 @@
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-tv_9an17.js";
2
- import { u as K, b as Q, a as Ve, h as W, N 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-D9nK6TDz.js";
3
- import { _ as x } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-nsT92tpR.js";
4
- import { E as ee } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-Uqwv8Dsu.js";
5
- import { F as p } from "./Field-CWGwwLaj.js";
6
- const Ne = {
1
+ import { d as ee, u as pe, s as Y, r as b, c as s, D as J, o as fe, h as m, b as r, f as n, w as ye, i as N, e as h, g as l, a as k, n as S, B as De, j as ke } from "./mitt-BysJOgFD.js";
2
+ import { u as K, b as he, a as we, h as Q, N as Le, T as Ve, d as _e, g as W, e as X, w as Ae, _ as ae } from "./SelectField.vue_vue_type_style_index_0_lang-CsniNK66.js";
3
+ import { _ as x } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DFi1PQJG.js";
4
+ import { E as Z } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DJkXxXXq.js";
5
+ import { F as g } from "./Field-BdH4Sloj.js";
6
+ const xe = {
7
7
  class: "konnectio-availability-location",
8
8
  key: "location"
9
- }, Se = {
9
+ }, Ne = {
10
10
  id: "konnectio-availability-date-selection",
11
11
  key: "multiDate"
12
- }, Ce = {
12
+ }, Se = {
13
13
  key: 0,
14
14
  class: "konnectio-availability-date-selection-multi"
15
- }, Ue = {
15
+ }, Ce = {
16
16
  class: "konnectio-availability-guest-selection",
17
17
  key: "guests"
18
- }, $e = {
18
+ }, Ue = {
19
19
  id: "konnectio-availability-confirmation",
20
20
  key: "confirm"
21
- }, Be = /* @__PURE__ */ ae({
21
+ }, $e = /* @__PURE__ */ ee({
22
22
  __name: "HotelAvailabilityForm",
23
23
  props: {
24
24
  booking: { type: Boolean, default: !1 },
@@ -27,70 +27,70 @@ const Ne = {
27
27
  disableDefaultLocation: { type: Boolean, default: !1 }
28
28
  },
29
29
  setup(C) {
30
- const { t: i } = ye(), t = C, U = K(), {
31
- adults: le,
32
- children: oe,
30
+ const { t: i } = pe(), t = C, U = K(), {
31
+ adults: te,
32
+ children: le,
33
33
  arrivalDate: $,
34
34
  departureDate: B,
35
35
  location: H,
36
36
  hasHotelLocations: w,
37
37
  hotelLocations: R,
38
- controlLocation: ie
39
- } = L(K()), { fetchAvailabilityData: ne } = Q(), { areListingsLoading: F } = L(Q()), { display: y } = Ve(), {
40
- firstSelectableDateOffset: I,
41
- lastSelectableDateOffset: T,
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, M = b(se.value), O = b(ue.value), E = b(ve()), P = b(me()), j = b(be()), g = s({
48
- get: () => t.booking ? U.adults : M.value,
38
+ controlLocation: oe
39
+ } = Y(K()), L = he(), { display: y } = we(), {
40
+ firstSelectableDateOffset: F,
41
+ lastSelectableDateOffset: I,
42
+ defaultAdultAmount: ie,
43
+ defaultChildAmount: ne,
44
+ maxAdultAmount: se,
45
+ maxChildAmount: ue,
46
+ splitBookingCalendar: re
47
+ } = Y(Q()), { hasChildSelection: V } = Q(), ce = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 1)).setHours(12, 0, 0, 0)), de = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 2)).setHours(12, 0, 0, 0)), ve = () => t.disableDefaultLocation ? void 0 : oe.value, T = b(ie.value), M = b(ne.value), O = b(ce()), E = b(de()), P = b(ve()), p = s({
48
+ get: () => t.booking ? U.adults : T.value,
49
49
  set: (e) => {
50
- t.booking ? le.value = Number(e) : M.value = Number(e);
50
+ t.booking ? te.value = Number(e) : T.value = Number(e);
51
51
  }
52
52
  }), D = s({
53
- get: () => t.booking ? U.children : O.value,
53
+ get: () => t.booking ? U.children : M.value,
54
54
  set: (e) => {
55
- t.booking ? oe.value = Number(e) : O.value = Number(e);
55
+ t.booking ? le.value = Number(e) : M.value = Number(e);
56
56
  }
57
57
  }), u = s({
58
- get: () => t.booking ? $.value : E.value,
58
+ get: () => t.booking ? $.value : O.value,
59
59
  set: (e) => {
60
- t.booking ? $.value = e : E.value = e;
60
+ t.booking ? $.value = e : O.value = e;
61
61
  }
62
62
  }), c = s({
63
- get: () => t.booking ? B.value : P.value,
63
+ get: () => t.booking ? B.value : E.value,
64
64
  set: (e) => {
65
- t.booking ? B.value = e : P.value = e;
65
+ t.booking ? B.value = e : E.value = e;
66
66
  }
67
67
  }), d = s({
68
- get: () => isNaN(t.selectedLocation) ? t.booking ? H.value : j.value : t.selectedLocation,
68
+ get: () => isNaN(t.selectedLocation) ? t.booking ? H.value : P.value : t.selectedLocation,
69
69
  set: (e) => {
70
- t.booking ? H.value = e : j.value = e;
70
+ t.booking ? H.value = e : P.value = e;
71
71
  }
72
- }), z = s(() => {
72
+ }), j = s(() => {
73
73
  const e = R.value.find(({ id: a }) => a === t.selectedLocation);
74
74
  return e ? e.name : "";
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() + T.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() + (T.value + 1)))), _ = s(() => g.value !== 0), ge = s(() => typeof t.link != "string");
78
- function Y(e) {
75
+ }), f = b([]), z = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + (F.value - 1)))), me = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + I.value)));
76
+ s(() => new Date((/* @__PURE__ */ new Date()).setDate(u.value.getDate() + F.value)));
77
+ const q = s(() => new Date((/* @__PURE__ */ new Date()).setDate(u.value.getDate() + (I.value + 1)))), _ = s(() => p.value !== 0), be = s(() => typeof t.link != "string");
78
+ function G(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
83
  function A(e) {
84
84
  const a = {
85
- a: g.value.toString(),
85
+ a: p.value.toString(),
86
86
  c: D.value.toString(),
87
- ci: Y(u.value),
88
- co: Y(c.value),
87
+ ci: G(u.value),
88
+ co: G(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 fe() {
93
+ function ge() {
94
94
  if (isNaN(d.value) && w.value) {
95
95
  y({
96
96
  message: i("alert.error.selectHotelId"),
@@ -98,7 +98,7 @@ const Ne = {
98
98
  });
99
99
  return;
100
100
  }
101
- if (isNaN(g.value)) {
101
+ if (isNaN(p.value)) {
102
102
  y({
103
103
  message: i("alert.error.selectValidAdults"),
104
104
  type: "error"
@@ -113,32 +113,32 @@ const Ne = {
113
113
  return;
114
114
  }
115
115
  if (t.booking === !1)
116
- if (ge.value) {
117
- const e = xe();
116
+ if (be.value) {
117
+ const e = Ae();
118
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
123
  A(t.link);
124
- else _.value && ne();
124
+ else _.value && L.fetchAvailabilityData();
125
125
  }
126
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
- }), _e.on("forcedDateChange", () => {
129
+ }), Le.on("forcedDateChange", () => {
130
130
  f.value = [u.value, c.value];
131
131
  }), J(f, (e) => {
132
132
  u.value = e[0], c.value = e[1];
133
- }), De(() => {
133
+ }), fe(() => {
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: we(fe, ["prevent"])
139
+ onSubmit: ke(ge, ["prevent"])
140
140
  }, [
141
- n(he, {
141
+ n(De, {
142
142
  id: "konnectio-availability-form-content",
143
143
  tag: "ul",
144
144
  class: S([
@@ -148,9 +148,9 @@ const Ne = {
148
148
  { "has-location": l(w) }
149
149
  ])
150
150
  }, {
151
- default: ke(() => [
152
- l(w) ? (r(), m("li", Ne, [
153
- isNaN(e.selectedLocation) ? (r(), k(Le, {
151
+ default: ye(() => [
152
+ l(w) ? (r(), m("li", xe, [
153
+ isNaN(e.selectedLocation) ? (r(), k(_e, {
154
154
  key: 1,
155
155
  modelValue: d.value,
156
156
  "onUpdate:modelValue": a[1] || (a[1] = (o) => d.value = o),
@@ -163,10 +163,10 @@ const Ne = {
163
163
  "value-key": "id",
164
164
  options: l(R),
165
165
  searchable: !1
166
- }, null, 8, ["modelValue", "label", "placeholder", "options"])) : (r(), k(Ae, {
166
+ }, null, 8, ["modelValue", "label", "placeholder", "options"])) : (r(), k(Ve, {
167
167
  key: 0,
168
- modelValue: z.value,
169
- "onUpdate:modelValue": a[0] || (a[0] = (o) => z.value = o),
168
+ modelValue: j.value,
169
+ "onUpdate:modelValue": a[0] || (a[0] = (o) => j.value = o),
170
170
  label: l(i)("general.location"),
171
171
  icon: "location-dot",
172
172
  "icon-type": "fas",
@@ -174,8 +174,8 @@ const Ne = {
174
174
  readonly: ""
175
175
  }, null, 8, ["modelValue", "label"]))
176
176
  ])) : N("", !0),
177
- h("li", Se, [
178
- l(de) ? (r(), m("div", Ce, [
177
+ h("li", Ne, [
178
+ l(re) ? (r(), m("div", Se, [
179
179
  n(x, {
180
180
  modelValue: u.value,
181
181
  "onUpdate:modelValue": a[2] || (a[2] = (o) => u.value = o),
@@ -184,8 +184,8 @@ const Ne = {
184
184
  "icon-type": "fas",
185
185
  "icon-placement": "label",
186
186
  "start-date": u.value,
187
- "min-date": q.value,
188
- "max-date": pe.value
187
+ "min-date": z.value,
188
+ "max-date": me.value
189
189
  }, null, 8, ["modelValue", "label", "start-date", "min-date", "max-date"]),
190
190
  n(x, {
191
191
  modelValue: c.value,
@@ -196,7 +196,7 @@ const Ne = {
196
196
  "icon-placement": "label",
197
197
  "start-date": c.value,
198
198
  "min-date": u.value,
199
- "max-date": G.value
199
+ "max-date": q.value
200
200
  }, null, 8, ["modelValue", "label", "start-date", "min-date", "max-date"])
201
201
  ])) : (r(), k(x, {
202
202
  key: 1,
@@ -206,25 +206,25 @@ const Ne = {
206
206
  "icon-type": "fas",
207
207
  "icon-placement": "label",
208
208
  "min-range": 1,
209
- "min-date": q.value,
210
- "max-date": G.value,
209
+ "min-date": z.value,
210
+ "max-date": q.value,
211
211
  range: ""
212
212
  }, null, 8, ["modelValue", "label", "min-date", "max-date"]))
213
213
  ]),
214
- h("li", Ue, [
215
- n(X, {
216
- modelValue: g.value,
217
- "onUpdate:modelValue": a[5] || (a[5] = (o) => g.value = o),
214
+ h("li", Ce, [
215
+ n(W, {
216
+ modelValue: p.value,
217
+ "onUpdate:modelValue": a[5] || (a[5] = (o) => p.value = o),
218
218
  label: l(i)("availability.adults"),
219
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": l(re),
224
+ "max-value": l(se),
225
225
  controls: !0
226
226
  }, null, 8, ["modelValue", "label", "description", "max-value"]),
227
- l(V)(d.value) ? (r(), k(X, {
227
+ l(V)(d.value) ? (r(), k(W, {
228
228
  key: 0,
229
229
  modelValue: D.value,
230
230
  "onUpdate:modelValue": a[6] || (a[6] = (o) => D.value = o),
@@ -234,25 +234,25 @@ const Ne = {
234
234
  "icon-placement": "label",
235
235
  name: "children",
236
236
  icon: "child",
237
- "max-value": l(ce),
237
+ "max-value": l(ue),
238
238
  controls: !0
239
239
  }, null, 8, ["modelValue", "label", "description", "max-value"])) : N("", !0)
240
240
  ]),
241
- h("li", $e, [
242
- n(Z, {
241
+ h("li", Ue, [
242
+ n(X, {
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": l(F)
248
+ "is-loading": l(L).areListingsLoading
249
249
  }, null, 8, ["disabled", "is-loading"]),
250
- n(Z, {
250
+ n(X, {
251
251
  class: "konnectio-availability-submit-large",
252
252
  type: "submit",
253
253
  label: l(i)("availability.buttonLabel"),
254
254
  disabled: !_.value,
255
- "is-loading": l(F)
255
+ "is-loading": l(L).areListingsLoading
256
256
  }, null, 8, ["label", "disabled", "is-loading"])
257
257
  ])
258
258
  ]),
@@ -260,33 +260,33 @@ const Ne = {
260
260
  }, 8, ["class"])
261
261
  ], 34));
262
262
  }
263
- }), ze = /* @__PURE__ */ te(Be, [["__scopeId", "data-v-b2db00d8"]]), He = { class: "availability-skeleton" }, Re = {
263
+ }), je = /* @__PURE__ */ ae($e, [["__scopeId", "data-v-98b9b536"]]), Be = { class: "availability-skeleton" }, He = {
264
264
  key: 0,
265
265
  class: "availability-skeleton-navigation"
266
- }, Fe = { class: "availability-skeleton-content" }, Ie = {
266
+ }, Re = { class: "availability-skeleton-content" }, Fe = {
267
267
  key: 1,
268
268
  class: "availability-skeleton-event"
269
- }, Te = /* @__PURE__ */ ae({
269
+ }, Ie = /* @__PURE__ */ ee({
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, t) => (r(), m("div", He, [
277
- i.view === "both" ? (r(), m("div", Re, [
278
- n(ee, {
276
+ return (i, t) => (r(), m("div", Be, [
277
+ i.view === "both" ? (r(), m("div", He, [
278
+ n(Z, {
279
279
  height: "28px",
280
280
  width: "60px",
281
281
  "border-radius": "20px"
282
282
  }),
283
- n(ee, {
283
+ n(Z, {
284
284
  height: "28px",
285
285
  width: "60px",
286
286
  "border-radius": "20px"
287
287
  })
288
288
  ])) : N("", !0),
289
- h("div", Fe, [
289
+ h("div", Re, [
290
290
  i.view !== "event" ? (r(), m("div", {
291
291
  key: 0,
292
292
  class: S([
@@ -294,16 +294,16 @@ const Ne = {
294
294
  { "within-hotel": i.hotel }
295
295
  ])
296
296
  }, [
297
- n(p, { "with-icon": "" }),
298
- n(p, { "with-icon": "" }),
299
- n(p, { "with-icon": "" }),
300
- n(p, {
297
+ n(g, { "with-icon": "" }),
298
+ n(g, { "with-icon": "" }),
299
+ n(g, { "with-icon": "" }),
300
+ n(g, {
301
301
  "with-icon": "",
302
302
  "no-label": ""
303
303
  })
304
- ], 2)) : (r(), m("div", Ie, [
305
- n(p, { "with-icon": "" }),
306
- n(p, {
304
+ ], 2)) : (r(), m("div", Fe, [
305
+ n(g, { "with-icon": "" }),
306
+ n(g, {
307
307
  "with-icon": "",
308
308
  "no-label": ""
309
309
  })
@@ -311,9 +311,9 @@ const Ne = {
311
311
  ])
312
312
  ]));
313
313
  }
314
- }), qe = /* @__PURE__ */ te(Te, [["__scopeId", "data-v-86730e88"]]);
314
+ }), ze = /* @__PURE__ */ ae(Ie, [["__scopeId", "data-v-86730e88"]]);
315
315
  export {
316
- qe as A,
317
- ze as H
316
+ ze as A,
317
+ je as H
318
318
  };
319
- //# sourceMappingURL=AvailabilitySkeleton-DYRL3P88.js.map
319
+ //# sourceMappingURL=AvailabilitySkeleton-CtypN7ad.js.map