@konnectio/core 4.0.62 → 4.0.64

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 (72) hide show
  1. package/dist/{ActionField-8uyqR4s2.js → ActionField-D28Pe5Bb.js} +33 -25
  2. package/dist/ActionField-D28Pe5Bb.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-DR0TlG1c.js → AvailabilitySkeleton-BGEhEqa-.js} +123 -115
  4. package/dist/AvailabilitySkeleton-BGEhEqa-.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-IMAsOOYG.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CFzvon5m.js} +1089 -1081
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CFzvon5m.js.br +0 -0
  7. package/dist/{CheckoutWindow-b6nqgL-q.js → CheckoutWindow-Cv7p0DrF.js} +174 -166
  8. package/dist/CheckoutWindow-Cv7p0DrF.js.br +0 -0
  9. package/dist/{ErrorMessage-CTB9P7th.js → ErrorMessage-T11Ou3eh.js} +24 -16
  10. package/dist/ErrorMessage-T11Ou3eh.js.br +0 -0
  11. package/dist/EventAvailabilityForm-DeqQKdKV.js +125 -0
  12. package/dist/EventAvailabilityForm-DeqQKdKV.js.br +0 -0
  13. package/dist/Field-DcoRYqr8.js +58 -0
  14. package/dist/Field-DcoRYqr8.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-C-2VAK1P.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B53ZPSma.js} +2031 -2022
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B53ZPSma.js.br +0 -0
  17. package/dist/TermsOfService-CL0zaNw_.js +44 -0
  18. package/dist/TermsOfService-CL0zaNw_.js.br +0 -0
  19. package/dist/_-C5tf0vwv.js +20 -0
  20. package/dist/_.vue_vue_type_style_index_0_lang-BWAizmh6.js +77 -0
  21. package/dist/_.vue_vue_type_style_index_0_lang-BWAizmh6.js.br +0 -0
  22. package/dist/{_commonjsHelpers-DZ_3pocK.js → _commonjsHelpers-BeCRh3Xf.js} +618 -558
  23. package/dist/_commonjsHelpers-BeCRh3Xf.js.br +0 -0
  24. package/dist/{_sentry-release-injection-file-gnd2S326.js → _sentry-release-injection-file-CY9ljBue.js} +1643 -1635
  25. package/dist/_sentry-release-injection-file-CY9ljBue.js.br +0 -0
  26. package/dist/availability.js +67 -59
  27. package/dist/availability.js.br +0 -0
  28. package/dist/deep-link.js +29 -21
  29. package/dist/deep-link.js.br +0 -0
  30. package/dist/event.js +276 -260
  31. package/dist/event.js.br +0 -0
  32. package/dist/gift-card-validation.js +71 -63
  33. package/dist/gift-card-validation.js.br +0 -0
  34. package/dist/gift-card.js +137 -129
  35. package/dist/gift-card.js.br +0 -0
  36. package/dist/giftCard-CHf9cbmB.js +134 -0
  37. package/dist/giftCard-CHf9cbmB.js.br +0 -0
  38. package/dist/hotel.js +812 -803
  39. package/dist/hotel.js.br +0 -0
  40. package/dist/{masonry.plugin-BNjra0SH.js → masonry.plugin-q1wqMEhq.js} +860 -852
  41. package/dist/masonry.plugin-q1wqMEhq.js.br +0 -0
  42. package/dist/{mitt-B7XZkC8D.js → mitt-CZC0Vuw7.js} +505 -497
  43. package/dist/mitt-CZC0Vuw7.js.br +0 -0
  44. package/dist/polyfill.js +6472 -6259
  45. package/dist/polyfill.js.br +0 -0
  46. package/dist/{style-lYuGbuqk.js → style-Di3bMYae.js} +392 -384
  47. package/dist/style-Di3bMYae.js.br +0 -0
  48. package/dist/style.css +1 -1
  49. package/dist/style.css.br +0 -0
  50. package/package.json +8 -8
  51. package/dist/ActionField-8uyqR4s2.js.br +0 -0
  52. package/dist/AvailabilitySkeleton-DR0TlG1c.js.br +0 -0
  53. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-IMAsOOYG.js.br +0 -0
  54. package/dist/CheckoutWindow-b6nqgL-q.js.br +0 -0
  55. package/dist/ErrorMessage-CTB9P7th.js.br +0 -0
  56. package/dist/EventAvailabilityForm-Dz_XUv-P.js +0 -117
  57. package/dist/EventAvailabilityForm-Dz_XUv-P.js.br +0 -0
  58. package/dist/Field-D74LzwJ5.js +0 -50
  59. package/dist/Field-D74LzwJ5.js.br +0 -0
  60. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-C-2VAK1P.js.br +0 -0
  61. package/dist/TermsOfService-BWi7ax17.js +0 -36
  62. package/dist/TermsOfService-BWi7ax17.js.br +0 -0
  63. package/dist/_-D5EdBcrp.js +0 -12
  64. package/dist/_.vue_vue_type_style_index_0_lang-DXnzUVHn.js +0 -69
  65. package/dist/_.vue_vue_type_style_index_0_lang-DXnzUVHn.js.br +0 -0
  66. package/dist/_commonjsHelpers-DZ_3pocK.js.br +0 -0
  67. package/dist/_sentry-release-injection-file-gnd2S326.js.br +0 -0
  68. package/dist/giftCard-Dl1tPQsP.js +0 -126
  69. package/dist/giftCard-Dl1tPQsP.js.br +0 -0
  70. package/dist/masonry.plugin-BNjra0SH.js.br +0 -0
  71. package/dist/mitt-B7XZkC8D.js.br +0 -0
  72. package/dist/style-lYuGbuqk.js.br +0 -0
@@ -1,13 +1,21 @@
1
- import { d as c, c as b, a as i, b as u, w as V, e as g, u as s, f as v } from "./_sentry-release-injection-file-gnd2S326.js";
2
- import { D as I, o as q, b as k, T as w, d as B, q as D, _ as C } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-C-2VAK1P.js";
1
+ import { d as V, c as b, a as u, b as r, w as g, e as v, u as s, f as w } from "./_sentry-release-injection-file-CY9ljBue.js";
2
+ import { D as k, o as I, b as q, T as B, d as D, q as C, _ as A } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B53ZPSma.js";
3
3
  (function() {
4
4
  try {
5
- var o = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
6
- n && (o._sentryDebugIds = o._sentryDebugIds || {}, o._sentryDebugIds[n] = "8c199fe8-b2db-4107-a2e4-002ec52c09fa", o._sentryDebugIdIdentifier = "sentry-dbid-8c199fe8-b2db-4107-a2e4-002ec52c09fa");
5
+ var o = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, l = new Error().stack;
6
+ l && (o._sentryDebugIds = o._sentryDebugIds || {}, o._sentryDebugIds[l] = "18de60e9-1a30-4f97-862f-887f29ffd6ba", o._sentryDebugIdIdentifier = "sentry-dbid-18de60e9-1a30-4f97-862f-887f29ffd6ba");
7
7
  } catch {
8
8
  }
9
9
  })();
10
- const F = { class: "fresh-booking-action-field" }, h = /* @__PURE__ */ c({
10
+ {
11
+ var i = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
12
+ i._sentryModuleMetadata = i._sentryModuleMetadata || {}, i._sentryModuleMetadata[new Error().stack] = Object.assign(
13
+ {},
14
+ i._sentryModuleMetadata[new Error().stack],
15
+ { "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
16
+ );
17
+ }
18
+ const F = { class: "fresh-booking-action-field" }, h = /* @__PURE__ */ V({
11
19
  __name: "ActionField",
12
20
  props: {
13
21
  modelValue: {},
@@ -32,22 +40,22 @@ const F = { class: "fresh-booking-action-field" }, h = /* @__PURE__ */ c({
32
40
  isLoading: { type: Boolean, default: !1 }
33
41
  },
34
42
  emits: ["update:modelValue", "action"],
35
- setup(o, { emit: n }) {
36
- const r = n, p = o, d = p.id || I();
43
+ setup(o, { emit: l }) {
44
+ const f = l, p = o, d = p.id || k();
37
45
  function m(e) {
38
- r("update:modelValue", e);
46
+ f("update:modelValue", e);
39
47
  }
40
48
  const t = b({
41
49
  get: () => p.modelValue,
42
50
  set: (e) => m(e)
43
- }), f = b({
51
+ }), y = b({
44
52
  get: () => p.modelValue,
45
53
  set: (e) => m(e)
46
54
  });
47
- function y() {
48
- r("action");
55
+ function c() {
56
+ f("action");
49
57
  }
50
- return (e, a) => (i(), u(D, {
58
+ return (e, a) => (u(), r(C, {
51
59
  label: e.label,
52
60
  id: s(d),
53
61
  icon: e.icon,
@@ -56,34 +64,34 @@ const F = { class: "fresh-booking-action-field" }, h = /* @__PURE__ */ c({
56
64
  type: e.type,
57
65
  readonly: e.readonly
58
66
  }, {
59
- default: V(() => [
60
- g("div", F, [
61
- e.type === "dropdown" && e.data ? (i(), u(q, {
67
+ default: g(() => [
68
+ v("div", F, [
69
+ e.type === "dropdown" && e.data ? (u(), r(I, {
62
70
  key: 0,
63
71
  modelValue: t.value,
64
- "onUpdate:modelValue": a[0] || (a[0] = (l) => t.value = l),
72
+ "onUpdate:modelValue": a[0] || (a[0] = (n) => t.value = n),
65
73
  id: s(d),
66
74
  options: e.data,
67
75
  name: e.name,
68
76
  required: e.required,
69
77
  placeholder: e.placeholder
70
- }, null, 8, ["modelValue", "id", "options", "name", "required", "placeholder"])) : e.type === "number" ? (i(), u(k, {
78
+ }, null, 8, ["modelValue", "id", "options", "name", "required", "placeholder"])) : e.type === "number" ? (u(), r(q, {
71
79
  key: 1,
72
- modelValue: f.value,
73
- "onUpdate:modelValue": a[1] || (a[1] = (l) => f.value = l),
80
+ modelValue: y.value,
81
+ "onUpdate:modelValue": a[1] || (a[1] = (n) => y.value = n),
74
82
  id: s(d),
75
83
  "min-value": e.minValue,
76
84
  "max-value": e.maxValue
77
- }, null, 8, ["modelValue", "id", "min-value", "max-value"])) : (i(), u(w, {
85
+ }, null, 8, ["modelValue", "id", "min-value", "max-value"])) : (u(), r(B, {
78
86
  key: 2,
79
87
  modelValue: t.value,
80
- "onUpdate:modelValue": a[2] || (a[2] = (l) => t.value = l),
88
+ "onUpdate:modelValue": a[2] || (a[2] = (n) => t.value = n),
81
89
  id: s(d),
82
90
  name: e.name,
83
91
  required: e.required,
84
92
  placeholder: e.placeholder
85
93
  }, null, 8, ["modelValue", "id", "name", "required", "placeholder"])),
86
- v(B, {
94
+ w(D, {
87
95
  "data-test": `${e.name}Submit`,
88
96
  icon: e.buttonIcon,
89
97
  label: e.buttonLabel,
@@ -93,15 +101,15 @@ const F = { class: "fresh-booking-action-field" }, h = /* @__PURE__ */ c({
93
101
  "is-loading": e.isLoading,
94
102
  disabled: e.buttonDisabled,
95
103
  secondary: e.secondary,
96
- onClickEvent: a[3] || (a[3] = (l) => y())
104
+ onClickEvent: a[3] || (a[3] = (n) => c())
97
105
  }, null, 8, ["data-test", "icon", "label", "icon-color", "styling", "is-loading", "disabled", "secondary"])
98
106
  ])
99
107
  ]),
100
108
  _: 1
101
109
  }, 8, ["label", "id", "icon", "icon-type", "required", "type", "readonly"]));
102
110
  }
103
- }), T = /* @__PURE__ */ C(h, [["__scopeId", "data-v-3e77e321"]]);
111
+ }), T = /* @__PURE__ */ A(h, [["__scopeId", "data-v-3e77e321"]]);
104
112
  export {
105
113
  T as A
106
114
  };
107
- //# sourceMappingURL=ActionField-8uyqR4s2.js.map
115
+ //# sourceMappingURL=ActionField-D28Pe5Bb.js.map
Binary file
@@ -1,169 +1,177 @@
1
- import { d as ee, G as me, r as D, c as s, z as K, o as be, a as n, g as r, f as u, w as pe, u as e, b as f, i as y, e as N, F as P, n as $, y as De, h as fe } from "./_sentry-release-injection-file-gnd2S326.js";
2
- import { u as ge, s as x } from "./mitt-B7XZkC8D.js";
3
- import { u as Q, y as W, e as ye, T as L, o as ke, b as X, d as Y, p as he, _ as ae, E as Z } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-C-2VAK1P.js";
4
- import { _ as we } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-IMAsOOYG.js";
5
- import { F as g } from "./Field-D74LzwJ5.js";
1
+ import { d as ae, G as be, r as f, c as s, z as Q, o as pe, a as i, g as d, f as u, w as fe, u as e, b as y, i as D, e as $, F as W, n as C, y as ye, h as ge } from "./_sentry-release-injection-file-CY9ljBue.js";
2
+ import { u as De, s as L } from "./mitt-CZC0Vuw7.js";
3
+ import { u as X, y as Y, e as ke, T as N, o as we, b as Z, d as G, p as he, _ as le, E as ee } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B53ZPSma.js";
4
+ import { _ as _e } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CFzvon5m.js";
5
+ import { F as g } from "./Field-DcoRYqr8.js";
6
6
  (function() {
7
7
  try {
8
- var d = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new Error().stack;
9
- t && (d._sentryDebugIds = d._sentryDebugIds || {}, d._sentryDebugIds[t] = "671a86e0-8f04-4bb7-ae17-5f869308413c", d._sentryDebugIdIdentifier = "sentry-dbid-671a86e0-8f04-4bb7-ae17-5f869308413c");
8
+ var r = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new Error().stack;
9
+ t && (r._sentryDebugIds = r._sentryDebugIds || {}, r._sentryDebugIds[t] = "5bd04666-c403-4df9-ab3d-a72e03491a7e", r._sentryDebugIdIdentifier = "sentry-dbid-5bd04666-c403-4df9-ab3d-a72e03491a7e");
10
10
  } catch {
11
11
  }
12
12
  })();
13
- const _e = {
13
+ {
14
+ var _ = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
15
+ _._sentryModuleMetadata = _._sentryModuleMetadata || {}, _._sentryModuleMetadata[new Error().stack] = Object.assign(
16
+ {},
17
+ _._sentryModuleMetadata[new Error().stack],
18
+ { "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
19
+ );
20
+ }
21
+ const Ve = {
14
22
  class: "konnectio-availability-location",
15
23
  key: "location"
16
- }, Ve = {
24
+ }, Ae = {
17
25
  id: "konnectio-availability-date-selection",
18
26
  key: "multiDate"
19
- }, Ae = {
27
+ }, xe = {
20
28
  id: "konnectio-availability-guest-selection",
21
29
  key: "guests"
22
- }, xe = {
30
+ }, Le = {
23
31
  id: "konnectio-availability-confirmation",
24
32
  key: "confirm"
25
- }, Le = /* @__PURE__ */ ee({
33
+ }, Ne = /* @__PURE__ */ ae({
26
34
  __name: "HotelAvailabilityForm",
27
35
  props: {
28
36
  booking: { type: Boolean, default: !1 },
29
37
  link: {},
30
38
  selectedLocation: { default: NaN }
31
39
  },
32
- setup(d) {
33
- const { t } = ge(), _ = me("emitter"), l = d, {
34
- adults: C,
35
- children: S,
36
- arrivalDate: U,
40
+ setup(r) {
41
+ const { t } = De(), V = be("emitter"), l = r, {
42
+ adults: S,
43
+ children: U,
44
+ arrivalDate: B,
37
45
  departureDate: I,
38
- location: B,
39
- hasHotelLocations: w,
40
- hotelLocations: F,
41
- controlLocation: le
42
- } = x(Q()), { updateHotelAvailability: te } = Q(), { fetchAvailabilityData: ie } = W(), { areListingsLoading: H } = x(W()), {
46
+ location: F,
47
+ hasHotelLocations: h,
48
+ hotelLocations: H,
49
+ controlLocation: te
50
+ } = L(X()), { updateHotelAvailability: ne } = X(), { fetchAvailabilityData: oe } = Y(), { areListingsLoading: E } = L(Y()), {
43
51
  firstSelectableDateOffset: R,
44
- lastSelectableDateOffset: E,
52
+ lastSelectableDateOffset: M,
45
53
  disableChildSelection: m,
46
54
  disableAdultSelection: c,
47
- defaultAdultAmount: oe,
48
- defaultChildAmount: ne,
49
- maxAdultAmount: T,
50
- maxChildAmount: z
51
- } = x(ye()), se = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 1)).setHours(12, 0, 0, 0)), ue = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 2)).setHours(12, 0, 0, 0)), O = D(oe.value), G = D(ne.value), M = D(se()), j = D(ue()), q = D(le.value), b = s({
52
- get: () => l.booking ? C.value : O.value,
55
+ defaultAdultAmount: ie,
56
+ defaultChildAmount: se,
57
+ maxAdultAmount: O,
58
+ maxChildAmount: T
59
+ } = L(ke()), ue = () => 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)), z = f(ie.value), j = f(se.value), q = f(ue()), K = f(de()), P = f(te.value), b = s({
60
+ get: () => l.booking ? S.value : z.value,
53
61
  set: (a) => {
54
- l.booking ? C.value = Number(a) : O.value = Number(a);
62
+ l.booking ? S.value = Number(a) : z.value = Number(a);
55
63
  }
56
64
  }), k = s({
57
- get: () => l.booking ? S.value : G.value,
65
+ get: () => l.booking ? U.value : j.value,
58
66
  set: (a) => {
59
- l.booking ? S.value = Number(a) : G.value = Number(a);
67
+ l.booking ? U.value = Number(a) : j.value = Number(a);
60
68
  }
61
69
  }), v = s({
62
- get: () => l.booking ? U.value : M.value,
70
+ get: () => l.booking ? B.value : q.value,
63
71
  set: (a) => {
64
- l.booking ? U.value = a : M.value = a;
72
+ l.booking ? B.value = a : q.value = a;
65
73
  }
66
74
  }), p = s({
67
- get: () => l.booking ? I.value : j.value,
75
+ get: () => l.booking ? I.value : K.value,
68
76
  set: (a) => {
69
- l.booking ? I.value = a : j.value = a;
77
+ l.booking ? I.value = a : K.value = a;
70
78
  }
71
- }), V = s({
72
- get: () => isNaN(l.selectedLocation) ? l.booking ? B.value : q.value : l.selectedLocation,
79
+ }), A = s({
80
+ get: () => isNaN(l.selectedLocation) ? l.booking ? F.value : P.value : l.selectedLocation,
73
81
  set: (a) => {
74
- l.booking ? B.value = a : q.value = a;
82
+ l.booking ? F.value = a : P.value = a;
75
83
  }
76
84
  }), J = s(() => {
77
- const a = F.value.find(({ id: i }) => i === l.selectedLocation);
85
+ const a = H.value.find(({ id: n }) => n === l.selectedLocation);
78
86
  return a ? a.name : "";
79
- }), h = D([]), re = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + (R.value - 1)))), Ie = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + E.value))), Be = s(() => new Date((/* @__PURE__ */ new Date()).setDate(v.value.getDate() + R.value))), de = s(() => new Date((/* @__PURE__ */ new Date()).setDate(v.value.getDate() + (E.value + 1)))), A = s(() => !(!c && b.value === 0)), ce = s(() => typeof l.link != "string");
80
- function ve() {
87
+ }), w = f([]), re = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + (R.value - 1)))), Ie = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + M.value))), Fe = s(() => new Date((/* @__PURE__ */ new Date()).setDate(v.value.getDate() + R.value))), ce = s(() => new Date((/* @__PURE__ */ new Date()).setDate(v.value.getDate() + (M.value + 1)))), x = s(() => !(!c && b.value === 0)), ve = s(() => typeof l.link != "string");
88
+ function me() {
81
89
  if (l.booking === !1)
82
- if (te({
90
+ if (ne({
83
91
  adults: b.value,
84
92
  children: k.value,
85
93
  arrivalDate: v.value,
86
94
  departureDate: p.value,
87
- location: V.value
88
- }), ce.value) {
95
+ location: A.value
96
+ }), ve.value) {
89
97
  const a = he();
90
98
  l.link[a] ? window.location.replace(l.link[a]) : l.link.en ? window.location.replace(l.link.en) : console.log("Sprog understøttes ikke");
91
99
  } else
92
100
  window.location.replace(l.link);
93
- else A.value && ie();
101
+ else x.value && oe();
94
102
  }
95
- return K(v, (a) => {
96
- const i = new Date(new Date(a).setDate(new Date(a).getDate() + 1));
97
- new Date(p.value) < i && (p.value = i);
98
- }), _.on("forcedDateChange", () => {
99
- h.value = [v.value, p.value];
100
- }), K(h, (a) => {
103
+ return Q(v, (a) => {
104
+ const n = new Date(new Date(a).setDate(new Date(a).getDate() + 1));
105
+ new Date(p.value) < n && (p.value = n);
106
+ }), V.on("forcedDateChange", () => {
107
+ w.value = [v.value, p.value];
108
+ }), Q(w, (a) => {
101
109
  v.value = a[0], p.value = a[1];
102
- }), be(() => {
103
- h.value = [v.value, p.value];
104
- }), (a, i) => (n(), r("form", {
110
+ }), pe(() => {
111
+ w.value = [v.value, p.value];
112
+ }), (a, n) => (i(), d("form", {
105
113
  id: "konnectio-availability-form",
106
- class: $({ reservation: a.booking }),
114
+ class: C({ reservation: a.booking }),
107
115
  type: "availability",
108
- onSubmit: fe(ve, ["prevent"])
116
+ onSubmit: ge(me, ["prevent"])
109
117
  }, [
110
- u(De, {
118
+ u(ye, {
111
119
  id: "konnectio-availability-form-content",
112
120
  tag: "ul",
113
- class: $([
121
+ class: C([
114
122
  { "is-booking-page": a.booking },
115
123
  { "only-adult-guests": !e(c) && e(m) },
116
124
  { "only-child-guests": !e(m) && e(c) },
117
125
  { "no-guests": e(c) && e(m) },
118
126
  { "all-guests": !e(c) && !e(m) },
119
- { "has-location": e(w) }
127
+ { "has-location": e(h) }
120
128
  ])
121
129
  }, {
122
- default: pe(() => [
123
- e(w) ? (n(), r("li", _e, [
124
- isNaN(a.selectedLocation) ? (n(), f(ke, {
130
+ default: fe(() => [
131
+ e(h) ? (i(), d("li", Ve, [
132
+ isNaN(a.selectedLocation) ? (i(), y(we, {
125
133
  key: 1,
126
- modelValue: V.value,
127
- "onUpdate:modelValue": i[1] || (i[1] = (o) => V.value = o),
134
+ modelValue: A.value,
135
+ "onUpdate:modelValue": n[1] || (n[1] = (o) => A.value = o),
128
136
  label: e(t)("general.location"),
129
137
  icon: "location-dot",
130
138
  "icon-type": "fas",
131
139
  "icon-placement": "label",
132
140
  "label-key": "name",
133
141
  "value-key": "id",
134
- options: e(F),
142
+ options: e(H),
135
143
  searchable: !1
136
- }, null, 8, ["modelValue", "label", "options"])) : (n(), f(L, {
144
+ }, null, 8, ["modelValue", "label", "options"])) : (i(), y(N, {
137
145
  key: 0,
138
146
  modelValue: J.value,
139
- "onUpdate:modelValue": i[0] || (i[0] = (o) => J.value = o),
147
+ "onUpdate:modelValue": n[0] || (n[0] = (o) => J.value = o),
140
148
  label: e(t)("general.location"),
141
149
  icon: "location-dot",
142
150
  "icon-type": "fas",
143
151
  "icon-placement": "label",
144
152
  readonly: ""
145
153
  }, null, 8, ["modelValue", "label"]))
146
- ])) : y("", !0),
147
- N("li", Ve, [
148
- u(we, {
149
- modelValue: h.value,
150
- "onUpdate:modelValue": i[2] || (i[2] = (o) => h.value = o),
154
+ ])) : D("", !0),
155
+ $("li", Ae, [
156
+ u(_e, {
157
+ modelValue: w.value,
158
+ "onUpdate:modelValue": n[2] || (n[2] = (o) => w.value = o),
151
159
  label: e(t)("availability.checkInOut"),
152
160
  "icon-type": "fas",
153
161
  "icon-placement": "label",
154
162
  "min-range": 1,
155
163
  "min-date": re.value,
156
- "max-date": de.value,
164
+ "max-date": ce.value,
157
165
  range: ""
158
166
  }, null, 8, ["modelValue", "label", "min-date", "max-date"]),
159
- y("", !0)
167
+ D("", !0)
160
168
  ]),
161
- !e(c) || !e(m) ? (n(), r("li", Ae, [
162
- e(c) ? y("", !0) : (n(), r(P, { key: 0 }, [
163
- e(w) ? (n(), f(L, {
169
+ !e(c) || !e(m) ? (i(), d("li", xe, [
170
+ e(c) ? D("", !0) : (i(), d(W, { key: 0 }, [
171
+ e(h) ? (i(), y(N, {
164
172
  key: 0,
165
173
  modelValue: b.value,
166
- "onUpdate:modelValue": i[5] || (i[5] = (o) => b.value = o),
174
+ "onUpdate:modelValue": n[5] || (n[5] = (o) => b.value = o),
167
175
  type: "number",
168
176
  label: e(t)("availability.adults"),
169
177
  description: e(t)("general.adultAgeRange"),
@@ -171,25 +179,25 @@ const _e = {
171
179
  "icon-placement": "label",
172
180
  name: "adults",
173
181
  icon: "male",
174
- max: e(T)
175
- }, null, 8, ["modelValue", "label", "description", "max"])) : (n(), f(X, {
182
+ max: e(O)
183
+ }, null, 8, ["modelValue", "label", "description", "max"])) : (i(), y(Z, {
176
184
  key: 1,
177
185
  modelValue: b.value,
178
- "onUpdate:modelValue": i[6] || (i[6] = (o) => b.value = o),
186
+ "onUpdate:modelValue": n[6] || (n[6] = (o) => b.value = o),
179
187
  label: e(t)("availability.adults"),
180
188
  description: e(t)("general.adultAgeRange"),
181
189
  "icon-type": "fas",
182
190
  "icon-placement": "label",
183
191
  name: "adults",
184
192
  icon: "male",
185
- "max-value": e(T)
193
+ "max-value": e(O)
186
194
  }, null, 8, ["modelValue", "label", "description", "max-value"]))
187
195
  ], 64)),
188
- e(m) ? y("", !0) : (n(), r(P, { key: 1 }, [
189
- e(w) ? (n(), f(L, {
196
+ e(m) ? D("", !0) : (i(), d(W, { key: 1 }, [
197
+ e(h) ? (i(), y(N, {
190
198
  key: 0,
191
199
  modelValue: k.value,
192
- "onUpdate:modelValue": i[7] || (i[7] = (o) => k.value = o),
200
+ "onUpdate:modelValue": n[7] || (n[7] = (o) => k.value = o),
193
201
  type: "number",
194
202
  label: e(t)("availability.children"),
195
203
  description: e(t)("general.childAgeRange"),
@@ -197,36 +205,36 @@ const _e = {
197
205
  "icon-placement": "label",
198
206
  name: "children",
199
207
  icon: "child",
200
- max: e(z)
201
- }, null, 8, ["modelValue", "label", "description", "max"])) : (n(), f(X, {
208
+ max: e(T)
209
+ }, null, 8, ["modelValue", "label", "description", "max"])) : (i(), y(Z, {
202
210
  key: 1,
203
211
  modelValue: k.value,
204
- "onUpdate:modelValue": i[8] || (i[8] = (o) => k.value = o),
212
+ "onUpdate:modelValue": n[8] || (n[8] = (o) => k.value = o),
205
213
  label: e(t)("availability.children"),
206
214
  description: e(t)("general.childAgeRange"),
207
215
  "icon-type": "fas",
208
216
  "icon-placement": "label",
209
217
  name: "children",
210
218
  icon: "child",
211
- "max-value": e(z)
219
+ "max-value": e(T)
212
220
  }, null, 8, ["modelValue", "label", "description", "max-value"]))
213
221
  ], 64))
214
- ])) : y("", !0),
215
- N("li", xe, [
216
- u(Y, {
222
+ ])) : D("", !0),
223
+ $("li", Le, [
224
+ u(G, {
217
225
  class: "konnectio-availability-submit-small",
218
226
  type: "submit",
219
227
  icon: "search",
220
228
  "icon-type": "fas",
221
- disabled: !A.value,
222
- "is-loading": e(H)
229
+ disabled: !x.value,
230
+ "is-loading": e(E)
223
231
  }, null, 8, ["disabled", "is-loading"]),
224
- u(Y, {
232
+ u(G, {
225
233
  class: "konnectio-availability-submit-large",
226
234
  type: "submit",
227
235
  label: e(t)("availability.buttonLabel"),
228
- disabled: !A.value,
229
- "is-loading": e(H)
236
+ disabled: !x.value,
237
+ "is-loading": e(E)
230
238
  }, null, 8, ["label", "disabled", "is-loading"])
231
239
  ])
232
240
  ]),
@@ -234,36 +242,36 @@ const _e = {
234
242
  }, 8, ["class"])
235
243
  ], 34));
236
244
  }
237
- }), ze = /* @__PURE__ */ ae(Le, [["__scopeId", "data-v-f0dea03b"]]), Ne = { class: "availability-skeleton" }, $e = {
245
+ }), Te = /* @__PURE__ */ le(Ne, [["__scopeId", "data-v-f0dea03b"]]), $e = { class: "availability-skeleton" }, Ce = {
238
246
  key: 0,
239
247
  class: "availability-skeleton-navigation"
240
- }, Ce = { class: "availability-skeleton-content" }, Se = {
248
+ }, Se = { class: "availability-skeleton-content" }, Ue = {
241
249
  key: 1,
242
250
  class: "availability-skeleton-event"
243
- }, Ue = /* @__PURE__ */ ee({
251
+ }, Be = /* @__PURE__ */ ae({
244
252
  __name: "AvailabilitySkeleton",
245
253
  props: {
246
254
  view: { default: "hotel" },
247
255
  hotel: { type: Boolean, default: !1 }
248
256
  },
249
- setup(d) {
250
- return (t, _) => (n(), r("div", Ne, [
251
- t.view === "both" ? (n(), r("div", $e, [
252
- u(Z, {
257
+ setup(r) {
258
+ return (t, V) => (i(), d("div", $e, [
259
+ t.view === "both" ? (i(), d("div", Ce, [
260
+ u(ee, {
253
261
  height: "28px",
254
262
  width: "60px",
255
263
  "border-radius": "20px"
256
264
  }),
257
- u(Z, {
265
+ u(ee, {
258
266
  height: "28px",
259
267
  width: "60px",
260
268
  "border-radius": "20px"
261
269
  })
262
- ])) : y("", !0),
263
- N("div", Ce, [
264
- t.view !== "event" ? (n(), r("div", {
270
+ ])) : D("", !0),
271
+ $("div", Se, [
272
+ t.view !== "event" ? (i(), d("div", {
265
273
  key: 0,
266
- class: $([
274
+ class: C([
267
275
  "availability-skeleton-hotel",
268
276
  { "within-hotel": t.hotel }
269
277
  ])
@@ -275,7 +283,7 @@ const _e = {
275
283
  "with-icon": "",
276
284
  "no-label": ""
277
285
  })
278
- ], 2)) : (n(), r("div", Se, [
286
+ ], 2)) : (i(), d("div", Ue, [
279
287
  u(g, { "with-icon": "" }),
280
288
  u(g, {
281
289
  "with-icon": "",
@@ -285,9 +293,9 @@ const _e = {
285
293
  ])
286
294
  ]));
287
295
  }
288
- }), Oe = /* @__PURE__ */ ae(Ue, [["__scopeId", "data-v-17762b9b"]]);
296
+ }), ze = /* @__PURE__ */ le(Be, [["__scopeId", "data-v-17762b9b"]]);
289
297
  export {
290
- Oe as A,
291
- ze as H
298
+ ze as A,
299
+ Te as H
292
300
  };
293
- //# sourceMappingURL=AvailabilitySkeleton-DR0TlG1c.js.map
301
+ //# sourceMappingURL=AvailabilitySkeleton-BGEhEqa-.js.map