@konnectio/core 4.0.56-rc10 → 4.0.56-rc11

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 (42) hide show
  1. package/dist/{ActionField-1TedZ-ol.js → ActionField-BCGIGizy.js} +1 -1
  2. package/dist/ActionField-BCGIGizy.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-IRkVJKVI.js → AvailabilitySkeleton-d30Akjrq.js} +26 -26
  4. package/dist/AvailabilitySkeleton-d30Akjrq.js.br +0 -0
  5. package/dist/{CheckoutWindow-GzqBHFb5.js → CheckoutWindow-Er5Fh6JL.js} +1 -1
  6. package/dist/CheckoutWindow-Er5Fh6JL.js.br +0 -0
  7. package/dist/{DateField.vue_vue_type_style_index_0_lang-N7m8Y11B.js → DateField.vue_vue_type_style_index_0_lang-uh-8PtWD.js} +238 -238
  8. package/dist/DateField.vue_vue_type_style_index_0_lang-uh-8PtWD.js.br +0 -0
  9. package/dist/{Field-agqP-A21.js → Field-yVjo13cY.js} +2 -2
  10. package/dist/Field-yVjo13cY.js.br +0 -0
  11. package/dist/{SelectField.vue_vue_type_style_index_0_lang-Throo8e2.js → SelectField.vue_vue_type_style_index_0_lang-Ywo3vyws.js} +39 -50
  12. package/dist/SelectField.vue_vue_type_style_index_0_lang-Ywo3vyws.js.br +0 -0
  13. package/dist/{ThankYou-0uAYL16f.js → ThankYou-HHVwQVzN.js} +9 -9
  14. package/dist/ThankYou-HHVwQVzN.js.br +0 -0
  15. package/dist/{_-K1FuFdRs.js → _-3f6HQpXv.js} +1 -1
  16. package/dist/availability.js +88 -94
  17. package/dist/availability.js.br +0 -0
  18. package/dist/{event-Jiun7WTg.js → event-ZitNye5j.js} +7 -7
  19. package/dist/event-ZitNye5j.js.br +0 -0
  20. package/dist/event.js +7 -7
  21. package/dist/event.js.br +0 -0
  22. package/dist/gift-card-validation.js +2 -2
  23. package/dist/gift-card-validation.js.br +0 -0
  24. package/dist/gift-card.js +167 -174
  25. package/dist/gift-card.js.br +0 -0
  26. package/dist/hotel.js +3094 -11
  27. package/dist/hotel.js.br +0 -0
  28. package/dist/polyfill.js +3201 -3210
  29. package/dist/polyfill.js.br +0 -0
  30. package/dist/style.css +1 -1
  31. package/dist/style.css.br +0 -0
  32. package/package.json +7 -4
  33. package/dist/ActionField-1TedZ-ol.js.br +0 -0
  34. package/dist/AvailabilitySkeleton-IRkVJKVI.js.br +0 -0
  35. package/dist/CheckoutWindow-GzqBHFb5.js.br +0 -0
  36. package/dist/DateField.vue_vue_type_style_index_0_lang-N7m8Y11B.js.br +0 -0
  37. package/dist/Field-agqP-A21.js.br +0 -0
  38. package/dist/SelectField.vue_vue_type_style_index_0_lang-Throo8e2.js.br +0 -0
  39. package/dist/ThankYou-0uAYL16f.js.br +0 -0
  40. package/dist/event-Jiun7WTg.js.br +0 -0
  41. package/dist/hotel-7JmuavEN.js +0 -3108
  42. package/dist/hotel-7JmuavEN.js.br +0 -0
@@ -1,4 +1,4 @@
1
- import { k as c, v as V, f as m, o as d, m as i, w as v, x as q, y as g, z as t, A as k, T as B, p as I, C, I as A, _ as F } from "./SelectField.vue_vue_type_style_index_0_lang-Throo8e2.js";
1
+ import { k as c, v as V, f as m, o as d, m as i, w as v, x as q, y as g, z as t, A as k, T as B, p as I, C, I as A, _ as F } from "./SelectField.vue_vue_type_style_index_0_lang-Ywo3vyws.js";
2
2
  const L = { class: "fresh-booking-action-field" }, T = /* @__PURE__ */ c({
3
3
  __name: "ActionField",
4
4
  props: {
Binary file
@@ -1,14 +1,14 @@
1
- import { k as N, B as j, s as V, W as B, X as R, c as J, r as K, f as m, Y as C, Z as P, o as t, l as s, x as A, z as e, p as i, G as y, y as Q, n as v, $ as F, m as w, T as H, A as E, C as I, q as x, h as ee, _ as O } from "./SelectField.vue_vue_type_style_index_0_lang-Throo8e2.js";
2
- import { _ as ae } from "./DateField.vue_vue_type_style_index_0_lang-N7m8Y11B.js";
3
- import { E as z } from "./_-K1FuFdRs.js";
4
- import { F as p } from "./Field-agqP-A21.js";
5
- const le = {
1
+ import { k as N, B as j, s as V, W as B, X as R, c as J, r as K, f as m, Y as C, Z as P, o as t, l as s, x as A, z as e, p as i, G as y, y as Q, n as v, $ as F, m as w, T as H, A as E, C as I, q as x, L as ee, h as ae, _ as O } from "./SelectField.vue_vue_type_style_index_0_lang-Ywo3vyws.js";
2
+ import { _ as le } from "./DateField.vue_vue_type_style_index_0_lang-uh-8PtWD.js";
3
+ import { E as z } from "./_-3f6HQpXv.js";
4
+ import { F as p } from "./Field-yVjo13cY.js";
5
+ const te = {
6
6
  key: 0,
7
7
  class: "konnectio-availability-location"
8
- }, te = { id: "fresh-booking-availability-date-selection" }, ie = {
8
+ }, ie = { id: "fresh-booking-availability-date-selection" }, ne = {
9
9
  key: 1,
10
10
  id: "fresh-booking-availability-guest-selection"
11
- }, ne = { id: "fresh-booking-availability-confirmation" }, oe = /* @__PURE__ */ N({
11
+ }, oe = { id: "fresh-booking-availability-confirmation" }, se = /* @__PURE__ */ N({
12
12
  __name: "HotelAvailabilityForm",
13
13
  props: {
14
14
  booking: { type: Boolean, default: !1 },
@@ -22,7 +22,7 @@ const le = {
22
22
  departureDate: g,
23
23
  location: D,
24
24
  isExpired: T
25
- } = V(B()), { reset: q } = B(), { fetchAvailabilityData: G } = R(), { areListingsLoading: L, hotelList: M, hasHotelList: k } = V(R()), {
25
+ } = V(B()), { reset: q } = B(), { fetchAvailabilityData: M } = R(), { areListingsLoading: L, hotelList: G, hasHotelList: k } = V(R()), {
26
26
  firstSelectableDateOffset: U,
27
27
  lastSelectableDateOffset: $,
28
28
  disableChildSelection: b,
@@ -33,12 +33,12 @@ const le = {
33
33
  function Z() {
34
34
  if (d.booking === !1)
35
35
  if (Y.value) {
36
- const n = ee();
36
+ const n = ae();
37
37
  d.link[n] ? window.location.replace(d.link[n]) : d.link.en ? window.location.replace(d.link.en) : console.log("Sprog understøttes ikke");
38
38
  } else
39
39
  window.location.replace(d.link);
40
40
  else
41
- _.value && G();
41
+ _.value && M();
42
42
  }
43
43
  return C(f, (n) => {
44
44
  const l = new Date(new Date(n).setDate(new Date(n).getDate() + 1));
@@ -51,7 +51,7 @@ const le = {
51
51
  id: "konnectio-availability-form",
52
52
  class: x({ reservation: n.booking }),
53
53
  type: "availability",
54
- onSubmit: Z
54
+ onSubmit: ee(Z, ["prevent"])
55
55
  }, [
56
56
  A("ul", {
57
57
  id: "konnectio-availability-form-content",
@@ -64,7 +64,7 @@ const le = {
64
64
  { "has-location": e(k) }
65
65
  ])
66
66
  }, [
67
- e(k) ? (t(), s("li", le, [
67
+ e(k) ? (t(), s("li", te, [
68
68
  i(Q, {
69
69
  modelValue: e(D),
70
70
  "onUpdate:modelValue": l[0] || (l[0] = (o) => y(D) ? D.value = o : null),
@@ -72,12 +72,12 @@ const le = {
72
72
  icon: "location-dot",
73
73
  "icon-type": "fas",
74
74
  "icon-placement": "label",
75
- options: e(M),
75
+ options: e(G),
76
76
  searchable: !1
77
77
  }, null, 8, ["modelValue", "label", "options"])
78
78
  ])) : v("", !0),
79
- A("li", te, [
80
- i(ae, {
79
+ A("li", ie, [
80
+ i(le, {
81
81
  modelValue: h.value,
82
82
  "onUpdate:modelValue": l[1] || (l[1] = (o) => h.value = o),
83
83
  label: e(a)("availability.checkInOut"),
@@ -90,7 +90,7 @@ const le = {
90
90
  }, null, 8, ["modelValue", "label", "min-date", "max-date"]),
91
91
  v("", !0)
92
92
  ]),
93
- !e(u) || !e(b) ? (t(), s("li", ie, [
93
+ !e(u) || !e(b) ? (t(), s("li", ne, [
94
94
  e(u) ? v("", !0) : (t(), s(F, { key: 0 }, [
95
95
  e(k) ? (t(), w(H, {
96
96
  key: 0,
@@ -138,7 +138,7 @@ const le = {
138
138
  }, null, 8, ["modelValue", "label", "description"]))
139
139
  ], 64))
140
140
  ])) : v("", !0),
141
- A("li", ne, [
141
+ A("li", oe, [
142
142
  i(I, {
143
143
  class: "konnectio-availability-submit-small",
144
144
  type: "submit",
@@ -158,21 +158,21 @@ const le = {
158
158
  ], 2)
159
159
  ], 34));
160
160
  }
161
- }), ve = /* @__PURE__ */ O(oe, [["__scopeId", "data-v-d30ddefe"]]), se = { class: "availability-skeleton" }, de = {
161
+ }), fe = /* @__PURE__ */ O(se, [["__scopeId", "data-v-50791fef"]]), de = { class: "availability-skeleton" }, ce = {
162
162
  key: 0,
163
163
  class: "availability-skeleton-navigation"
164
- }, ce = {
164
+ }, ue = {
165
165
  key: 2,
166
166
  class: "availability-skeleton-event"
167
- }, ue = /* @__PURE__ */ N({
167
+ }, re = /* @__PURE__ */ N({
168
168
  __name: "AvailabilitySkeleton",
169
169
  props: {
170
170
  view: { default: "hotel" },
171
171
  hotel: { type: Boolean, default: !1 }
172
172
  },
173
173
  setup(S) {
174
- return (a, d) => (t(), s("div", se, [
175
- a.view === "both" ? (t(), s("div", de, [
174
+ return (a, d) => (t(), s("div", de, [
175
+ a.view === "both" ? (t(), s("div", ce, [
176
176
  i(z, {
177
177
  height: "28px",
178
178
  width: "60px",
@@ -198,7 +198,7 @@ const le = {
198
198
  "with-icon": "",
199
199
  "no-label": ""
200
200
  })
201
- ], 2)) : (t(), s("div", ce, [
201
+ ], 2)) : (t(), s("div", ue, [
202
202
  i(p, { "with-icon": "" }),
203
203
  i(p, {
204
204
  "with-icon": "",
@@ -207,8 +207,8 @@ const le = {
207
207
  ]))
208
208
  ]));
209
209
  }
210
- }), fe = /* @__PURE__ */ O(ue, [["__scopeId", "data-v-be195a3f"]]);
210
+ }), ye = /* @__PURE__ */ O(re, [["__scopeId", "data-v-be195a3f"]]);
211
211
  export {
212
- fe as A,
213
- ve as H
212
+ ye as A,
213
+ fe as H
214
214
  };
@@ -1,4 +1,4 @@
1
- import { k as b, v as k, r as V, Z as $, o as p, m as B, w as I, x as d, p as C, z as i, T as P, I as T, _ as v, ai as A, q as h, aj as _, ak as w, l as g, F as u, n as q, B as N, a8 as f, s as F, c as G, al as j, P as z, Q as E } from "./SelectField.vue_vue_type_style_index_0_lang-Throo8e2.js";
1
+ import { k as b, v as k, r as V, Z as $, o as p, m as B, w as I, x as d, p as C, z as i, T as P, I as T, _ as v, ai as A, q as h, aj as _, ak as w, l as g, F as u, n as q, B as N, a8 as f, s as F, c as G, al as j, P as z, Q as E } from "./SelectField.vue_vue_type_style_index_0_lang-Ywo3vyws.js";
2
2
  const O = { class: "fresh-booking-phone-input" }, U = /* @__PURE__ */ b({
3
3
  __name: "PhoneField",
4
4
  props: {