@konnectio/core 4.3.7 → 4.3.8

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 (112) hide show
  1. package/dist/{ActionField-BsC9Ocw1.js → ActionField-D2RyWrS3.js} +32 -32
  2. package/dist/ActionField-D2RyWrS3.js.br +0 -0
  3. package/dist/ActionField-D2RyWrS3.js.gz +0 -0
  4. package/dist/{AvailabilitySkeleton-BSayecfH.js → AvailabilitySkeleton-D6GPRc15.js} +83 -83
  5. package/dist/AvailabilitySkeleton-D6GPRc15.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-D6GPRc15.js.gz +0 -0
  7. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DyhwbOIR.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CP-qPnqI.js} +636 -636
  8. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CP-qPnqI.js.br +0 -0
  9. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CP-qPnqI.js.gz +0 -0
  10. package/dist/{CheckoutWindow-Dsu7J2JM.js → CheckoutWindow-CbJ0uhN5.js} +250 -250
  11. package/dist/CheckoutWindow-CbJ0uhN5.js.br +0 -0
  12. package/dist/CheckoutWindow-CbJ0uhN5.js.gz +0 -0
  13. package/dist/{ErrorMessage-wq4rzUJ_.js → ErrorMessage-DaV41_Mx.js} +5 -5
  14. package/dist/ErrorMessage-DaV41_Mx.js.br +0 -0
  15. package/dist/ErrorMessage-DaV41_Mx.js.gz +0 -0
  16. package/dist/EventAvailabilityForm-CCV_-tAo.js +119 -0
  17. package/dist/EventAvailabilityForm-CCV_-tAo.js.br +0 -0
  18. package/dist/EventAvailabilityForm-CCV_-tAo.js.gz +0 -0
  19. package/dist/{Field-o8hQK9VW.js → Field-CcANI2PC.js} +15 -15
  20. package/dist/Field-CcANI2PC.js.br +0 -0
  21. package/dist/Field-CcANI2PC.js.gz +0 -0
  22. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CmIIjeeB.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BWfzfCEe.js} +5 -5
  23. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BWfzfCEe.js.br +0 -0
  24. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BWfzfCEe.js.gz +0 -0
  25. package/dist/{SelectField.vue_vue_type_style_index_0_lang-zDjIIDU3.js → SelectField.vue_vue_type_style_index_0_lang-C1hAI3yg.js} +3698 -3669
  26. package/dist/SelectField.vue_vue_type_style_index_0_lang-C1hAI3yg.js.br +0 -0
  27. package/dist/SelectField.vue_vue_type_style_index_0_lang-C1hAI3yg.js.gz +0 -0
  28. package/dist/TermsOfService-Cuz_W6Ps.js +28 -0
  29. package/dist/TermsOfService-Cuz_W6Ps.js.br +0 -0
  30. package/dist/TermsOfService-Cuz_W6Ps.js.gz +0 -0
  31. package/dist/_-Dy_VcQvP.js +5 -0
  32. package/dist/{_.vue_vue_type_style_index_0_lang-JSCio5G8.js → _.vue_vue_type_style_index_0_lang-CP_-w1er.js} +3 -3
  33. package/dist/_.vue_vue_type_style_index_0_lang-CP_-w1er.js.br +0 -0
  34. package/dist/_.vue_vue_type_style_index_0_lang-CP_-w1er.js.gz +0 -0
  35. package/dist/availability.js +33 -33
  36. package/dist/availability.js.br +0 -0
  37. package/dist/availability.js.gz +0 -0
  38. package/dist/cancel-reservation.js +32 -32
  39. package/dist/cancel-reservation.js.br +0 -0
  40. package/dist/cancel-reservation.js.gz +0 -0
  41. package/dist/core.css +1 -1
  42. package/dist/core.css.br +0 -0
  43. package/dist/core.css.gz +0 -0
  44. package/dist/deep-link.js +1 -1
  45. package/dist/deep-link.js.br +0 -0
  46. package/dist/deep-link.js.gz +0 -0
  47. package/dist/event.js +636 -636
  48. package/dist/event.js.br +0 -0
  49. package/dist/event.js.gz +0 -0
  50. package/dist/gift-card-validation.js +48 -48
  51. package/dist/gift-card-validation.js.br +0 -0
  52. package/dist/gift-card-validation.js.gz +0 -0
  53. package/dist/gift-card.js +168 -168
  54. package/dist/gift-card.js.br +0 -0
  55. package/dist/gift-card.js.gz +0 -0
  56. package/dist/{giftCard-CdLzbiLr.js → giftCard-CdHybquX.js} +3 -3
  57. package/dist/giftCard-CdHybquX.js.br +0 -0
  58. package/dist/giftCard-CdHybquX.js.gz +0 -0
  59. package/dist/hotel.js +2314 -2312
  60. package/dist/hotel.js.br +0 -0
  61. package/dist/hotel.js.gz +0 -0
  62. package/dist/{index-Bi5dgk5O.js → index-Cfpi2j0_.js} +46 -43
  63. package/dist/index-Cfpi2j0_.js.br +0 -0
  64. package/dist/index-Cfpi2j0_.js.gz +0 -0
  65. package/dist/{masonry.plugin-CD7BGwYC.js → masonry.plugin-BgwYAWoT.js} +961 -961
  66. package/dist/masonry.plugin-BgwYAWoT.js.br +0 -0
  67. package/dist/masonry.plugin-BgwYAWoT.js.gz +0 -0
  68. package/dist/{mitt-bGMsQrYA.js → mitt-478x9nh_.js} +3345 -3296
  69. package/dist/mitt-478x9nh_.js.br +0 -0
  70. package/dist/mitt-478x9nh_.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-C4ivj8SO.js → style-DpAb9hNM.js} +2 -2
  75. package/dist/style-DpAb9hNM.js.br +0 -0
  76. package/dist/style-DpAb9hNM.js.gz +0 -0
  77. package/package.json +23 -23
  78. package/dist/ActionField-BsC9Ocw1.js.br +0 -5
  79. package/dist/ActionField-BsC9Ocw1.js.gz +0 -0
  80. package/dist/AvailabilitySkeleton-BSayecfH.js.br +0 -0
  81. package/dist/AvailabilitySkeleton-BSayecfH.js.gz +0 -0
  82. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DyhwbOIR.js.br +0 -0
  83. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DyhwbOIR.js.gz +0 -0
  84. package/dist/CheckoutWindow-Dsu7J2JM.js.br +0 -0
  85. package/dist/CheckoutWindow-Dsu7J2JM.js.gz +0 -0
  86. package/dist/ErrorMessage-wq4rzUJ_.js.br +0 -0
  87. package/dist/ErrorMessage-wq4rzUJ_.js.gz +0 -0
  88. package/dist/EventAvailabilityForm-CjiJZ89T.js +0 -119
  89. package/dist/EventAvailabilityForm-CjiJZ89T.js.br +0 -0
  90. package/dist/EventAvailabilityForm-CjiJZ89T.js.gz +0 -0
  91. package/dist/Field-o8hQK9VW.js.br +0 -0
  92. package/dist/Field-o8hQK9VW.js.gz +0 -0
  93. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CmIIjeeB.js.br +0 -0
  94. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CmIIjeeB.js.gz +0 -0
  95. package/dist/SelectField.vue_vue_type_style_index_0_lang-zDjIIDU3.js.br +0 -0
  96. package/dist/SelectField.vue_vue_type_style_index_0_lang-zDjIIDU3.js.gz +0 -0
  97. package/dist/TermsOfService-_5UMkvTm.js +0 -28
  98. package/dist/TermsOfService-_5UMkvTm.js.br +0 -0
  99. package/dist/TermsOfService-_5UMkvTm.js.gz +0 -0
  100. package/dist/_-Dv4fC4hQ.js +0 -5
  101. package/dist/_.vue_vue_type_style_index_0_lang-JSCio5G8.js.br +0 -0
  102. package/dist/_.vue_vue_type_style_index_0_lang-JSCio5G8.js.gz +0 -0
  103. package/dist/giftCard-CdLzbiLr.js.br +0 -0
  104. package/dist/giftCard-CdLzbiLr.js.gz +0 -0
  105. package/dist/index-Bi5dgk5O.js.br +0 -0
  106. package/dist/index-Bi5dgk5O.js.gz +0 -0
  107. package/dist/masonry.plugin-CD7BGwYC.js.br +0 -0
  108. package/dist/masonry.plugin-CD7BGwYC.js.gz +0 -0
  109. package/dist/mitt-bGMsQrYA.js.br +0 -0
  110. package/dist/mitt-bGMsQrYA.js.gz +0 -0
  111. package/dist/style-C4ivj8SO.js.br +0 -0
  112. package/dist/style-C4ivj8SO.js.gz +0 -0
@@ -1,6 +1,6 @@
1
- import { d as c, c as m, a as d, b as t, g as i, w as V, e as v, f as q } from "./mitt-bGMsQrYA.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-zDjIIDU3.js";
3
- const A = { class: "konnectio-action-field" }, L = /* @__PURE__ */ c({
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-478x9nh_.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-C1hAI3yg.js";
3
+ const A = { class: "konnectio-action-field" }, L = /* @__PURE__ */ V({
4
4
  __name: "ActionField",
5
5
  props: {
6
6
  modelValue: {},
@@ -26,53 +26,53 @@ const A = { class: "konnectio-action-field" }, L = /* @__PURE__ */ c({
26
26
  isLoading: { type: Boolean, default: !1 }
27
27
  },
28
28
  emits: ["update:modelValue", "action"],
29
- setup(y, { emit: f }) {
30
- const s = f, u = y, o = u.id || g();
31
- function r(e) {
32
- s("update:modelValue", e);
29
+ setup(e, { emit: f }) {
30
+ const m = f, c = e, n = c.id || g();
31
+ function s(l) {
32
+ m("update:modelValue", l);
33
33
  }
34
- const n = m({
35
- get: () => u.modelValue,
36
- set: (e) => r(e)
37
- }), p = m({
38
- get: () => u.modelValue,
39
- set: (e) => r(e)
34
+ const o = y({
35
+ get: () => c.modelValue,
36
+ set: (l) => s(l)
37
+ }), r = y({
38
+ get: () => c.modelValue,
39
+ set: (l) => s(l)
40
40
  });
41
41
  function b() {
42
- s("action");
42
+ m("action");
43
43
  }
44
- return (e, a) => (t(), d(k, {
44
+ return (l, a) => (i(), d(k, {
45
45
  label: e.label,
46
- id: i(o),
46
+ id: u(n),
47
47
  icon: e.icon,
48
48
  "icon-type": e.iconType,
49
49
  required: e.required,
50
50
  type: e.type,
51
51
  readonly: e.readonly
52
52
  }, {
53
- default: V(() => [
54
- v("div", A, [
55
- e.type === "dropdown" && e.data ? (t(), d(B, {
53
+ default: v(() => [
54
+ x("div", A, [
55
+ e.type === "dropdown" && e.data ? (i(), d(B, {
56
56
  key: 0,
57
- modelValue: n.value,
58
- "onUpdate:modelValue": a[0] || (a[0] = (l) => n.value = l),
59
- id: i(o),
57
+ modelValue: o.value,
58
+ "onUpdate:modelValue": a[0] || (a[0] = (t) => o.value = t),
59
+ id: u(n),
60
60
  options: e.data,
61
61
  name: e.name,
62
62
  required: e.required,
63
63
  placeholder: e.placeholder
64
- }, null, 8, ["modelValue", "id", "options", "name", "required", "placeholder"])) : e.type === "number" ? (t(), d(I, {
64
+ }, null, 8, ["modelValue", "id", "options", "name", "required", "placeholder"])) : e.type === "number" ? (i(), d(I, {
65
65
  key: 1,
66
- modelValue: p.value,
67
- "onUpdate:modelValue": a[1] || (a[1] = (l) => p.value = l),
68
- id: i(o),
66
+ modelValue: r.value,
67
+ "onUpdate:modelValue": a[1] || (a[1] = (t) => r.value = t),
68
+ id: u(n),
69
69
  "min-value": e.minValue,
70
70
  "max-value": e.maxValue
71
- }, null, 8, ["modelValue", "id", "min-value", "max-value"])) : (t(), d(C, {
71
+ }, null, 8, ["modelValue", "id", "min-value", "max-value"])) : (i(), d(C, {
72
72
  key: 2,
73
- modelValue: n.value,
74
- "onUpdate:modelValue": a[2] || (a[2] = (l) => n.value = l),
75
- id: i(o),
73
+ modelValue: o.value,
74
+ "onUpdate:modelValue": a[2] || (a[2] = (t) => o.value = t),
75
+ id: u(n),
76
76
  type: e.inputType,
77
77
  name: e.name,
78
78
  required: e.required,
@@ -89,7 +89,7 @@ const A = { class: "konnectio-action-field" }, L = /* @__PURE__ */ c({
89
89
  "is-loading": e.isLoading,
90
90
  disabled: e.buttonDisabled,
91
91
  secondary: e.secondary,
92
- onClickEvent: a[3] || (a[3] = (l) => b())
92
+ onClickEvent: a[3] || (a[3] = (t) => b())
93
93
  }, null, 8, ["data-test", "icon", "label", "icon-color", "styling", "is-loading", "disabled", "secondary"])
94
94
  ])
95
95
  ]),
@@ -100,4 +100,4 @@ const A = { class: "konnectio-action-field" }, L = /* @__PURE__ */ c({
100
100
  export {
101
101
  U as A
102
102
  };
103
- //# sourceMappingURL=ActionField-BsC9Ocw1.js.map
103
+ //# sourceMappingURL=ActionField-D2RyWrS3.js.map
Binary file
Binary file
@@ -1,8 +1,8 @@
1
- import { d as te, u as fe, s as Q, r as b, c as s, D as W, o as ye, h as m, b as u, f as n, w as De, i as x, e as h, a as k, g as t, n as N, B as ke, j as he } from "./mitt-bGMsQrYA.js";
2
- import { u as X, b as we, a as Le, f as Z, P as Ve, T as _e, d as Ae, i as ee, e as ae, w as xe, _ as oe } from "./SelectField.vue_vue_type_style_index_0_lang-zDjIIDU3.js";
3
- import { _ as A } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DyhwbOIR.js";
4
- import { E as le } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CmIIjeeB.js";
5
- import { F as p } from "./Field-o8hQK9VW.js";
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-478x9nh_.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-C1hAI3yg.js";
3
+ import { _ } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CP-qPnqI.js";
4
+ import { E as le } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BWfzfCEe.js";
5
+ import { F as f } from "./Field-CcANI2PC.js";
6
6
  const Ne = {
7
7
  class: "konnectio-availability-location",
8
8
  key: "location"
@@ -27,8 +27,8 @@ const Ne = {
27
27
  disableDefaultLocation: { type: Boolean, default: !1 },
28
28
  hideLocations: { type: Boolean, default: !1 }
29
29
  },
30
- setup(S) {
31
- const { t: i } = fe(), a = S, C = X(), {
30
+ setup(d) {
31
+ const { t: i } = pe(), a = d, C = X(), {
32
32
  adults: ie,
33
33
  children: ne,
34
34
  arrivalDate: $,
@@ -37,7 +37,7 @@ const Ne = {
37
37
  hasHotelLocations: H,
38
38
  hotelLocations: R,
39
39
  controlLocation: se
40
- } = Q(X()), w = we(), { display: y } = Le(), {
40
+ } = Q(X()), L = we(), { display: D } = Le(), {
41
41
  firstSelectableDateOffset: F,
42
42
  lastSelectableDateOffset: I,
43
43
  defaultAdultAmount: T,
@@ -45,12 +45,12 @@ const Ne = {
45
45
  maxAdultAmount: ue,
46
46
  maxChildAmount: re,
47
47
  splitBookingCalendar: ce
48
- } = Q(Z()), { hasChildSelection: L } = 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 = b(T.value), P = b(M.value), E = b(de()), j = b(ve()), z = b(me()), g = s({
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
49
  get: () => a.booking ? C.adults : O.value,
50
50
  set: (e) => {
51
51
  a.booking ? ie.value = Number(e) : O.value = Number(e);
52
52
  }
53
- }), D = s({
53
+ }), k = s({
54
54
  get: () => a.booking ? C.children : P.value,
55
55
  set: (e) => {
56
56
  a.booking ? ne.value = Number(e) : P.value = Number(e);
@@ -65,7 +65,7 @@ const Ne = {
65
65
  set: (e) => {
66
66
  a.booking ? U.value = e : j.value = e;
67
67
  }
68
- }), d = s({
68
+ }), v = s({
69
69
  get: () => isNaN(a.selectedLocation) ? a.booking ? B.value : z.value : a.selectedLocation,
70
70
  set: (e) => {
71
71
  a.booking ? B.value = e : z.value = e;
@@ -73,86 +73,86 @@ const Ne = {
73
73
  }), q = s(() => {
74
74
  const e = R.value.find(({ id: l }) => l === a.selectedLocation);
75
75
  return e ? e.name : "";
76
- }), G = s(() => H.value && !a.hideLocations), f = b([]), 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)))), V = s(() => g.value !== 0), pe = s(() => typeof a.link != "string");
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
77
  function K(e) {
78
78
  const l = e.getFullYear();
79
- let o = e.getMonth() + 1, v = e.getDate();
80
- return v < 10 && (v = "0" + v), o < 10 && (o = "0" + o), `${l}-${o}-${v}`;
79
+ let o = e.getMonth() + 1, m = e.getDate();
80
+ return m < 10 && (m = "0" + m), o < 10 && (o = "0" + o), `${l}-${o}-${m}`;
81
81
  }
82
- function _(e) {
82
+ function A(e) {
83
83
  const l = {
84
- a: g.value.toString(),
85
- c: D.value.toString(),
84
+ a: p.value.toString(),
85
+ c: k.value.toString(),
86
86
  ci: K(r.value),
87
87
  co: K(c.value),
88
- hid: d.value.toString()
89
- }, o = new URLSearchParams(l), v = new URL(e, window.location.origin);
90
- v.search = o.toString(), window.location.replace(v.toString());
88
+ hid: v.value.toString()
89
+ }, o = new URLSearchParams(l), m = new URL(e, window.location.origin);
90
+ m.search = o.toString(), window.location.replace(m.toString());
91
91
  }
92
- function ge() {
93
- if (isNaN(d.value) && H.value) {
94
- y({
92
+ function fe() {
93
+ if (isNaN(v.value) && H.value) {
94
+ D({
95
95
  message: i("alert.error.selectHotelId"),
96
96
  type: "error"
97
97
  });
98
98
  return;
99
99
  }
100
- if (isNaN(g.value)) {
101
- y({
100
+ if (isNaN(p.value)) {
101
+ D({
102
102
  message: i("alert.error.selectValidAdults"),
103
103
  type: "error"
104
104
  });
105
105
  return;
106
106
  }
107
- if (isNaN(D.value)) {
108
- y({
107
+ if (isNaN(k.value)) {
108
+ D({
109
109
  message: i("alert.error.selectValidChildren"),
110
110
  type: "error"
111
111
  });
112
112
  return;
113
113
  }
114
114
  if (a.booking === !1)
115
- if (pe.value) {
116
- const e = xe();
117
- a.link[e] ? _(a.link[e]) : a.link.en ? _(a.link.en) : y({
115
+ if (ge.value) {
116
+ const e = _e();
117
+ a.link[e] ? A(a.link[e]) : a.link.en ? A(a.link.en) : D({
118
118
  message: "Module misconfiguration, contact an admin",
119
119
  type: "error"
120
120
  });
121
121
  } else
122
- _(a.link);
123
- else V.value && w.fetchAvailabilityData();
122
+ A(a.link);
123
+ else x.value && L.fetchAvailabilityData();
124
124
  }
125
125
  return W(r, (e) => {
126
126
  const l = new Date(new Date(e).setDate(new Date(e).getDate() + 1));
127
127
  new Date(c.value) < l && (c.value = l);
128
128
  }), Ve.on("forcedDateChange", () => {
129
- f.value = [r.value, c.value];
130
- }), W(f, (e) => {
129
+ y.value = [r.value, c.value];
130
+ }), W(y, (e) => {
131
131
  r.value = e[0], c.value = e[1];
132
132
  }), ye(() => {
133
- f.value = [r.value, c.value];
134
- }), (e, l) => (u(), m("form", {
133
+ y.value = [r.value, c.value];
134
+ }), (e, l) => (u(), b("form", {
135
135
  id: "konnectio-availability-form",
136
- class: N({ reservation: e.booking }),
136
+ class: S({ reservation: d.booking }),
137
137
  type: "availability",
138
- onSubmit: he(ge, ["prevent"])
138
+ onSubmit: he(fe, ["prevent"])
139
139
  }, [
140
140
  n(ke, {
141
141
  id: "konnectio-availability-form-content",
142
142
  tag: "ul",
143
- class: N([
144
- { "is-booking-page": e.booking },
145
- { "only-adult-guests": !t(L)(d.value) },
146
- { "all-guests": t(L)(d.value) },
143
+ class: S([
144
+ { "is-booking-page": d.booking },
145
+ { "only-adult-guests": !t(V)(v.value) },
146
+ { "all-guests": t(V)(v.value) },
147
147
  { "has-location": G.value }
148
148
  ])
149
149
  }, {
150
150
  default: De(() => [
151
- G.value ? (u(), m("li", Ne, [
152
- isNaN(e.selectedLocation) ? (u(), k(Ae, {
151
+ G.value ? (u(), b("li", Ne, [
152
+ isNaN(d.selectedLocation) ? (u(), h(Ae, {
153
153
  key: 1,
154
- modelValue: d.value,
155
- "onUpdate:modelValue": l[1] || (l[1] = (o) => d.value = o),
154
+ modelValue: v.value,
155
+ "onUpdate:modelValue": l[1] || (l[1] = (o) => v.value = o),
156
156
  label: t(i)("general.location"),
157
157
  placeholder: t(i)("general.locationPlaceholder"),
158
158
  icon: "location-dot",
@@ -162,7 +162,7 @@ const Ne = {
162
162
  "value-key": "id",
163
163
  options: t(R),
164
164
  searchable: !1
165
- }, null, 8, ["modelValue", "label", "placeholder", "options"])) : (u(), k(_e, {
165
+ }, null, 8, ["modelValue", "label", "placeholder", "options"])) : (u(), h(xe, {
166
166
  key: 0,
167
167
  modelValue: q.value,
168
168
  "onUpdate:modelValue": l[0] || (l[0] = (o) => q.value = o),
@@ -172,10 +172,10 @@ const Ne = {
172
172
  "icon-placement": "label",
173
173
  readonly: ""
174
174
  }, null, 8, ["modelValue", "label"]))
175
- ])) : x("", !0),
176
- h("li", Se, [
177
- t(ce) ? (u(), m("div", Ce, [
178
- n(A, {
175
+ ])) : N("", !0),
176
+ w("li", Se, [
177
+ t(ce) ? (u(), b("div", Ce, [
178
+ n(_, {
179
179
  modelValue: r.value,
180
180
  "onUpdate:modelValue": l[2] || (l[2] = (o) => r.value = o),
181
181
  label: t(i)("availability.arrivalDate"),
@@ -186,7 +186,7 @@ const Ne = {
186
186
  "min-date": Y.value,
187
187
  "max-date": be.value
188
188
  }, null, 8, ["modelValue", "label", "start-date", "min-date", "max-date"]),
189
- n(A, {
189
+ n(_, {
190
190
  modelValue: c.value,
191
191
  "onUpdate:modelValue": l[3] || (l[3] = (o) => c.value = o),
192
192
  label: t(i)("availability.departureDate"),
@@ -197,10 +197,10 @@ const Ne = {
197
197
  "min-date": r.value,
198
198
  "max-date": J.value
199
199
  }, null, 8, ["modelValue", "label", "start-date", "min-date", "max-date"])
200
- ])) : (u(), k(A, {
200
+ ])) : (u(), h(_, {
201
201
  key: 1,
202
- modelValue: f.value,
203
- "onUpdate:modelValue": l[4] || (l[4] = (o) => f.value = o),
202
+ modelValue: y.value,
203
+ "onUpdate:modelValue": l[4] || (l[4] = (o) => y.value = o),
204
204
  label: t(i)("availability.checkInOut"),
205
205
  "icon-type": "fas",
206
206
  "icon-placement": "label",
@@ -210,10 +210,10 @@ const Ne = {
210
210
  range: ""
211
211
  }, null, 8, ["modelValue", "label", "min-date", "max-date"]))
212
212
  ]),
213
- h("li", $e, [
213
+ w("li", $e, [
214
214
  n(ee, {
215
- modelValue: g.value,
216
- "onUpdate:modelValue": l[5] || (l[5] = (o) => g.value = o),
215
+ modelValue: p.value,
216
+ "onUpdate:modelValue": l[5] || (l[5] = (o) => p.value = o),
217
217
  label: t(i)("availability.adults"),
218
218
  description: t(i)("general.adultAgeRange"),
219
219
  "icon-type": "fas",
@@ -224,10 +224,10 @@ const Ne = {
224
224
  placeholder: `${t(T)}`,
225
225
  controls: !0
226
226
  }, null, 8, ["modelValue", "label", "description", "max-value", "placeholder"]),
227
- t(L)(d.value) ? (u(), k(ee, {
227
+ t(V)(v.value) ? (u(), h(ee, {
228
228
  key: 0,
229
- modelValue: D.value,
230
- "onUpdate:modelValue": l[6] || (l[6] = (o) => D.value = o),
229
+ modelValue: k.value,
230
+ "onUpdate:modelValue": l[6] || (l[6] = (o) => k.value = o),
231
231
  label: t(i)("availability.children"),
232
232
  description: t(i)("general.childAgeRange"),
233
233
  "icon-type": "fas",
@@ -237,23 +237,23 @@ const Ne = {
237
237
  "max-value": t(re),
238
238
  placeholder: `${t(M)}`,
239
239
  controls: !0
240
- }, null, 8, ["modelValue", "label", "description", "max-value", "placeholder"])) : x("", !0)
240
+ }, null, 8, ["modelValue", "label", "description", "max-value", "placeholder"])) : N("", !0)
241
241
  ]),
242
- h("li", Ue, [
242
+ w("li", Ue, [
243
243
  n(ae, {
244
244
  class: "konnectio-availability-submit-small",
245
245
  type: "submit",
246
246
  icon: "search",
247
247
  "icon-type": "fas",
248
- disabled: !V.value,
249
- "is-loading": t(w).areListingsLoading
248
+ disabled: !x.value,
249
+ "is-loading": t(L).areListingsLoading
250
250
  }, null, 8, ["disabled", "is-loading"]),
251
251
  n(ae, {
252
252
  class: "konnectio-availability-submit-large",
253
253
  type: "submit",
254
254
  label: t(i)("availability.buttonLabel"),
255
- disabled: !V.value,
256
- "is-loading": t(w).areListingsLoading
255
+ disabled: !x.value,
256
+ "is-loading": t(L).areListingsLoading
257
257
  }, null, 8, ["label", "disabled", "is-loading"])
258
258
  ])
259
259
  ]),
@@ -273,9 +273,9 @@ const Ne = {
273
273
  view: { default: "hotel" },
274
274
  hotel: { type: Boolean, default: !1 }
275
275
  },
276
- setup(S) {
277
- return (i, a) => (u(), m("div", He, [
278
- i.view === "both" ? (u(), m("div", Re, [
276
+ setup(d) {
277
+ return (i, a) => (u(), b("div", He, [
278
+ d.view === "both" ? (u(), b("div", Re, [
279
279
  n(le, {
280
280
  height: "28px",
281
281
  width: "60px",
@@ -286,25 +286,25 @@ const Ne = {
286
286
  width: "60px",
287
287
  "border-radius": "20px"
288
288
  })
289
- ])) : x("", !0),
290
- h("div", Fe, [
291
- i.view !== "event" ? (u(), m("div", {
289
+ ])) : N("", !0),
290
+ w("div", Fe, [
291
+ d.view !== "event" ? (u(), b("div", {
292
292
  key: 0,
293
- class: N([
293
+ class: S([
294
294
  "availability-skeleton-hotel",
295
- { "within-hotel": i.hotel }
295
+ { "within-hotel": d.hotel }
296
296
  ])
297
297
  }, [
298
- n(p, { "with-icon": "" }),
299
- n(p, { "with-icon": "" }),
300
- n(p, { "with-icon": "" }),
301
- n(p, {
298
+ n(f, { "with-icon": "" }),
299
+ n(f, { "with-icon": "" }),
300
+ n(f, { "with-icon": "" }),
301
+ n(f, {
302
302
  "with-icon": "",
303
303
  "no-label": ""
304
304
  })
305
- ], 2)) : (u(), m("div", Ie, [
306
- n(p, { "with-icon": "" }),
307
- n(p, {
305
+ ], 2)) : (u(), b("div", Ie, [
306
+ n(f, { "with-icon": "" }),
307
+ n(f, {
308
308
  "with-icon": "",
309
309
  "no-label": ""
310
310
  })
@@ -317,4 +317,4 @@ export {
317
317
  qe as A,
318
318
  ze as H
319
319
  };
320
- //# sourceMappingURL=AvailabilitySkeleton-BSayecfH.js.map
320
+ //# sourceMappingURL=AvailabilitySkeleton-D6GPRc15.js.map