@konnectio/core 4.0.56-rc57 → 4.0.56-rc59

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 (64) hide show
  1. package/dist/{ActionField-DKZafUlR.js → ActionField-gT1l4mze.js} +3 -3
  2. package/dist/ActionField-gT1l4mze.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-SASkHOiq.js → AvailabilitySkeleton-T7dAKFqD.js} +67 -68
  4. package/dist/AvailabilitySkeleton-T7dAKFqD.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Dh_KtDF5.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DyN_vcW3.js} +2435 -2436
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DyN_vcW3.js.br +0 -0
  7. package/dist/{CheckoutWindow-bv8SEegE.js → CheckoutWindow-DBi8Cvj_.js} +7 -7
  8. package/dist/CheckoutWindow-DBi8Cvj_.js.br +0 -0
  9. package/dist/{ErrorMessage-8oAaQblb.js → ErrorMessage-68bcDx4F.js} +3 -3
  10. package/dist/ErrorMessage-68bcDx4F.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-XPZp7iuZ.js → EventAvailabilityForm-BrJPYwe_.js} +37 -40
  12. package/dist/EventAvailabilityForm-BrJPYwe_.js.br +0 -0
  13. package/dist/{Field-CQAdEBG7.js → Field-BLh3Ddqe.js} +3 -3
  14. package/dist/Field-BLh3Ddqe.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bn6dYjxB.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DVn9T6WM.js} +10 -10
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DVn9T6WM.js.br +0 -0
  17. package/dist/{TermsOfService-BWocwb8F.js → TermsOfService-D3weU52d.js} +5 -5
  18. package/dist/TermsOfService-D3weU52d.js.br +0 -0
  19. package/dist/{_-sf9UiCZF.js → _-B28bpYJb.js} +2 -2
  20. package/dist/{_.vue_vue_type_style_index_0_lang-DezizhVn.js → _.vue_vue_type_style_index_0_lang-DHD1o1up.js} +14 -14
  21. package/dist/_.vue_vue_type_style_index_0_lang-DHD1o1up.js.br +0 -0
  22. package/dist/{_commonjsHelpers-D6zJgUc6.js → _commonjsHelpers-CttMrBzA.js} +2 -2
  23. package/dist/{_sentry-release-injection-file-C5__P7Lr.js → _sentry-release-injection-file-PX7ET5Cf.js} +12 -12
  24. package/dist/_sentry-release-injection-file-PX7ET5Cf.js.br +0 -0
  25. package/dist/availability.js +7 -7
  26. package/dist/availability.js.br +0 -0
  27. package/dist/deep-link.js +2 -2
  28. package/dist/deep-link.js.br +0 -0
  29. package/dist/event.js +8 -8
  30. package/dist/event.js.br +0 -0
  31. package/dist/gift-card-validation.js +8 -8
  32. package/dist/gift-card-validation.js.br +0 -0
  33. package/dist/gift-card.js +9 -9
  34. package/dist/gift-card.js.br +0 -0
  35. package/dist/{giftCard-DyeFrBy2.js → giftCard-Bz4cAyJJ.js} +7 -7
  36. package/dist/giftCard-Bz4cAyJJ.js.br +0 -0
  37. package/dist/hotel.js +12 -12
  38. package/dist/hotel.js.br +0 -0
  39. package/dist/{masonry.plugin-4NDW3gcv.js → masonry.plugin-DYDdAGuk.js} +11 -11
  40. package/dist/masonry.plugin-DYDdAGuk.js.br +0 -0
  41. package/dist/{mitt-B1dbyZb6.js → mitt-Bn5D-V30.js} +2 -2
  42. package/dist/mitt-Bn5D-V30.js.br +0 -0
  43. package/dist/polyfill.js +724 -720
  44. package/dist/polyfill.js.br +0 -0
  45. package/dist/style.css +1 -1
  46. package/dist/style.css.br +0 -0
  47. package/dist/{tracing-NLDFmjvp.js → tracing-SGZEiE7O.js} +3 -3
  48. package/dist/tracing-SGZEiE7O.js.br +0 -0
  49. package/package.json +8 -8
  50. package/dist/ActionField-DKZafUlR.js.br +0 -0
  51. package/dist/AvailabilitySkeleton-SASkHOiq.js.br +0 -0
  52. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Dh_KtDF5.js.br +0 -0
  53. package/dist/CheckoutWindow-bv8SEegE.js.br +0 -0
  54. package/dist/ErrorMessage-8oAaQblb.js.br +0 -0
  55. package/dist/EventAvailabilityForm-XPZp7iuZ.js.br +0 -0
  56. package/dist/Field-CQAdEBG7.js.br +0 -0
  57. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bn6dYjxB.js.br +0 -0
  58. package/dist/TermsOfService-BWocwb8F.js.br +0 -0
  59. package/dist/_.vue_vue_type_style_index_0_lang-DezizhVn.js.br +0 -0
  60. package/dist/_sentry-release-injection-file-C5__P7Lr.js.br +0 -0
  61. package/dist/giftCard-DyeFrBy2.js.br +0 -0
  62. package/dist/masonry.plugin-4NDW3gcv.js.br +0 -0
  63. package/dist/mitt-B1dbyZb6.js.br +0 -0
  64. package/dist/tracing-NLDFmjvp.js.br +0 -0
@@ -1,5 +1,5 @@
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-C5__P7Lr.js";
2
- import { D as I, n as q, b as k, T as w, c as B, p as D, _ as C } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bn6dYjxB.js";
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-PX7ET5Cf.js";
2
+ import { D as I, n as q, b as k, T as w, c as B, p as D, _ as C } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DVn9T6WM.js";
3
3
  (function() {
4
4
  try {
5
5
  var o = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
@@ -104,4 +104,4 @@ const F = { class: "fresh-booking-action-field" }, h = /* @__PURE__ */ c({
104
104
  export {
105
105
  T as A
106
106
  };
107
- //# sourceMappingURL=ActionField-DKZafUlR.js.map
107
+ //# sourceMappingURL=ActionField-gT1l4mze.js.map
Binary file
@@ -1,36 +1,36 @@
1
- import { d as ee, G as pe, r as f, c as s, z as K, o as fe, a as n, g as r, f as u, w as De, u as e, b as D, i as y, e as N, F as P, n as $, y as ge, h as ye } from "./_sentry-release-injection-file-C5__P7Lr.js";
2
- import { u as ke, s as x } from "./mitt-B1dbyZb6.js";
3
- import { u as Q, x as W, e as he, T as L, n as we, b as X, c as Y, o as _e, _ as ae, E as Z } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bn6dYjxB.js";
4
- import { _ as Ve } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Dh_KtDF5.js";
5
- import { F as g } from "./Field-CQAdEBG7.js";
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 d, f as u, w as pe, u as e, b as g, i as y, e as N, F as P, n as $, y as De, h as ge } from "./_sentry-release-injection-file-PX7ET5Cf.js";
2
+ import { u as fe, s as x } from "./mitt-Bn5D-V30.js";
3
+ import { u as Q, x as W, e as ye, T as L, n as ke, b as X, c as Y, o as he, _ as ae, E as Z } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DVn9T6WM.js";
4
+ import { _ as we } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DyN_vcW3.js";
5
+ import { F as f } from "./Field-BLh3Ddqe.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] = "8fe02082-b4ac-457d-97f3-bd8f804f9534", d._sentryDebugIdIdentifier = "sentry-dbid-8fe02082-b4ac-457d-97f3-bd8f804f9534");
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] = "702f3e31-7d3b-4c7e-a9d4-d92728382ac6", r._sentryDebugIdIdentifier = "sentry-dbid-702f3e31-7d3b-4c7e-a9d4-d92728382ac6");
10
10
  } catch {
11
11
  }
12
12
  })();
13
- const Ae = {
13
+ const _e = {
14
14
  class: "konnectio-availability-location",
15
15
  key: "location"
16
- }, xe = {
16
+ }, Ve = {
17
17
  id: "konnectio-availability-date-selection",
18
18
  key: "multiDate"
19
- }, Le = {
19
+ }, Ae = {
20
20
  id: "konnectio-availability-guest-selection",
21
21
  key: "guests"
22
- }, Ne = {
22
+ }, xe = {
23
23
  id: "konnectio-availability-confirmation",
24
24
  key: "confirm"
25
- }, $e = /* @__PURE__ */ ee({
25
+ }, Le = /* @__PURE__ */ ee({
26
26
  __name: "HotelAvailabilityForm",
27
27
  props: {
28
28
  booking: { type: Boolean, default: !1 },
29
29
  link: {},
30
30
  selectedLocation: { default: NaN }
31
31
  },
32
- setup(d) {
33
- const { t } = ke(), _ = pe("emitter"), l = d, {
32
+ setup(r) {
33
+ const { t } = fe(), _ = me("emitter"), l = r, {
34
34
  adults: C,
35
35
  children: S,
36
36
  arrivalDate: U,
@@ -38,18 +38,17 @@ const Ae = {
38
38
  location: B,
39
39
  hasHotelLocations: w,
40
40
  hotelLocations: F,
41
- isExpired: le,
42
- controlLocation: te
43
- } = x(Q()), { reset: ie, updateHotelAvailability: oe } = Q(), { fetchAvailabilityData: ne } = W(), { areListingsLoading: H } = x(W()), {
44
- firstSelectableDateOffset: E,
45
- lastSelectableDateOffset: R,
41
+ controlLocation: le
42
+ } = x(Q()), { updateHotelAvailability: te } = Q(), { fetchAvailabilityData: ie } = W(), { areListingsLoading: H } = x(W()), {
43
+ firstSelectableDateOffset: R,
44
+ lastSelectableDateOffset: E,
46
45
  disableChildSelection: m,
47
46
  disableAdultSelection: c,
48
- defaultAdultAmount: se,
49
- defaultChildAmount: ue,
47
+ defaultAdultAmount: oe,
48
+ defaultChildAmount: ne,
50
49
  maxAdultAmount: T,
51
50
  maxChildAmount: z
52
- } = x(he()), re = () => 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)), O = f(se.value), G = f(ue.value), M = f(re()), j = f(de()), q = f(te.value), b = s({
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({
53
52
  get: () => l.booking ? C.value : O.value,
54
53
  set: (a) => {
55
54
  l.booking ? C.value = Number(a) : O.value = Number(a);
@@ -77,22 +76,22 @@ const Ae = {
77
76
  }), J = s(() => {
78
77
  const a = F.value.find(({ id: i }) => i === l.selectedLocation);
79
78
  return a ? a.name : "";
80
- }), h = f([]), ce = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + (E.value - 1)))), Fe = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + R.value))), He = s(() => new Date((/* @__PURE__ */ new Date()).setDate(v.value.getDate() + E.value))), ve = s(() => new Date((/* @__PURE__ */ new Date()).setDate(v.value.getDate() + (R.value + 1)))), A = s(() => !(!c && b.value === 0)), me = s(() => typeof l.link != "string");
81
- function be() {
79
+ }), h = D([]), de = 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))), re = 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() {
82
81
  if (l.booking === !1)
83
- if (oe({
82
+ if (te({
84
83
  adults: b.value,
85
84
  children: k.value,
86
85
  arrivalDate: v.value,
87
86
  departureDate: p.value,
88
87
  location: V.value
89
- }), me.value) {
90
- const a = _e();
88
+ }), ce.value) {
89
+ const a = he();
91
90
  l.link[a] ? window.location.replace(l.link[a]) : l.link.en ? window.location.replace(l.link.en) : console.log("Sprog understøttes ikke");
92
91
  } else
93
92
  window.location.replace(l.link);
94
93
  else
95
- A.value && ne();
94
+ A.value && ie();
96
95
  }
97
96
  return K(v, (a) => {
98
97
  const i = new Date(new Date(a).setDate(new Date(a).getDate() + 1));
@@ -101,15 +100,15 @@ const Ae = {
101
100
  h.value = [v.value, p.value];
102
101
  }), K(h, (a) => {
103
102
  v.value = a[0], p.value = a[1];
104
- }), fe(() => {
105
- le.value && ie(), h.value = [v.value, p.value];
106
- }), (a, i) => (n(), r("form", {
103
+ }), be(() => {
104
+ h.value = [v.value, p.value];
105
+ }), (a, i) => (n(), d("form", {
107
106
  id: "konnectio-availability-form",
108
107
  class: $({ reservation: a.booking }),
109
108
  type: "availability",
110
- onSubmit: ye(be, ["prevent"])
109
+ onSubmit: ge(ve, ["prevent"])
111
110
  }, [
112
- u(ge, {
111
+ u(De, {
113
112
  id: "konnectio-availability-form-content",
114
113
  tag: "ul",
115
114
  class: $([
@@ -121,9 +120,9 @@ const Ae = {
121
120
  { "has-location": e(w) }
122
121
  ])
123
122
  }, {
124
- default: De(() => [
125
- e(w) ? (n(), r("li", Ae, [
126
- isNaN(a.selectedLocation) ? (n(), D(we, {
123
+ default: pe(() => [
124
+ e(w) ? (n(), d("li", _e, [
125
+ isNaN(a.selectedLocation) ? (n(), g(ke, {
127
126
  key: 1,
128
127
  modelValue: V.value,
129
128
  "onUpdate:modelValue": i[1] || (i[1] = (o) => V.value = o),
@@ -135,7 +134,7 @@ const Ae = {
135
134
  "value-key": "id",
136
135
  options: e(F),
137
136
  searchable: !1
138
- }, null, 8, ["modelValue", "label", "options"])) : (n(), D(L, {
137
+ }, null, 8, ["modelValue", "label", "options"])) : (n(), g(L, {
139
138
  key: 0,
140
139
  modelValue: J.value,
141
140
  "onUpdate:modelValue": i[0] || (i[0] = (o) => J.value = o),
@@ -146,23 +145,23 @@ const Ae = {
146
145
  readonly: ""
147
146
  }, null, 8, ["modelValue", "label"]))
148
147
  ])) : y("", !0),
149
- N("li", xe, [
150
- u(Ve, {
148
+ N("li", Ve, [
149
+ u(we, {
151
150
  modelValue: h.value,
152
151
  "onUpdate:modelValue": i[2] || (i[2] = (o) => h.value = o),
153
152
  label: e(t)("availability.checkInOut"),
154
153
  "icon-type": "fas",
155
154
  "icon-placement": "label",
156
155
  "min-range": 1,
157
- "min-date": ce.value,
158
- "max-date": ve.value,
156
+ "min-date": de.value,
157
+ "max-date": re.value,
159
158
  range: ""
160
159
  }, null, 8, ["modelValue", "label", "min-date", "max-date"]),
161
160
  y("", !0)
162
161
  ]),
163
- !e(c) || !e(m) ? (n(), r("li", Le, [
164
- e(c) ? y("", !0) : (n(), r(P, { key: 0 }, [
165
- e(w) ? (n(), D(L, {
162
+ !e(c) || !e(m) ? (n(), d("li", Ae, [
163
+ e(c) ? y("", !0) : (n(), d(P, { key: 0 }, [
164
+ e(w) ? (n(), g(L, {
166
165
  key: 0,
167
166
  modelValue: b.value,
168
167
  "onUpdate:modelValue": i[5] || (i[5] = (o) => b.value = o),
@@ -174,7 +173,7 @@ const Ae = {
174
173
  name: "adults",
175
174
  icon: "male",
176
175
  max: e(T)
177
- }, null, 8, ["modelValue", "label", "description", "max"])) : (n(), D(X, {
176
+ }, null, 8, ["modelValue", "label", "description", "max"])) : (n(), g(X, {
178
177
  key: 1,
179
178
  modelValue: b.value,
180
179
  "onUpdate:modelValue": i[6] || (i[6] = (o) => b.value = o),
@@ -187,8 +186,8 @@ const Ae = {
187
186
  "max-value": e(T)
188
187
  }, null, 8, ["modelValue", "label", "description", "max-value"]))
189
188
  ], 64)),
190
- e(m) ? y("", !0) : (n(), r(P, { key: 1 }, [
191
- e(w) ? (n(), D(L, {
189
+ e(m) ? y("", !0) : (n(), d(P, { key: 1 }, [
190
+ e(w) ? (n(), g(L, {
192
191
  key: 0,
193
192
  modelValue: k.value,
194
193
  "onUpdate:modelValue": i[7] || (i[7] = (o) => k.value = o),
@@ -200,7 +199,7 @@ const Ae = {
200
199
  name: "children",
201
200
  icon: "child",
202
201
  max: e(z)
203
- }, null, 8, ["modelValue", "label", "description", "max"])) : (n(), D(X, {
202
+ }, null, 8, ["modelValue", "label", "description", "max"])) : (n(), g(X, {
204
203
  key: 1,
205
204
  modelValue: k.value,
206
205
  "onUpdate:modelValue": i[8] || (i[8] = (o) => k.value = o),
@@ -214,7 +213,7 @@ const Ae = {
214
213
  }, null, 8, ["modelValue", "label", "description", "max-value"]))
215
214
  ], 64))
216
215
  ])) : y("", !0),
217
- N("li", Ne, [
216
+ N("li", xe, [
218
217
  u(Y, {
219
218
  class: "konnectio-availability-submit-small",
220
219
  type: "submit",
@@ -236,21 +235,21 @@ const Ae = {
236
235
  }, 8, ["class"])
237
236
  ], 34));
238
237
  }
239
- }), Ge = /* @__PURE__ */ ae($e, [["__scopeId", "data-v-f353ec4a"]]), Ce = { class: "availability-skeleton" }, Se = {
238
+ }), ze = /* @__PURE__ */ ae(Le, [["__scopeId", "data-v-f0dea03b"]]), Ne = { class: "availability-skeleton" }, $e = {
240
239
  key: 0,
241
240
  class: "availability-skeleton-navigation"
242
- }, Ue = { class: "availability-skeleton-content" }, Ie = {
241
+ }, Ce = { class: "availability-skeleton-content" }, Se = {
243
242
  key: 1,
244
243
  class: "availability-skeleton-event"
245
- }, Be = /* @__PURE__ */ ee({
244
+ }, Ue = /* @__PURE__ */ ee({
246
245
  __name: "AvailabilitySkeleton",
247
246
  props: {
248
247
  view: { default: "hotel" },
249
248
  hotel: { type: Boolean, default: !1 }
250
249
  },
251
- setup(d) {
252
- return (t, _) => (n(), r("div", Ce, [
253
- t.view === "both" ? (n(), r("div", Se, [
250
+ setup(r) {
251
+ return (t, _) => (n(), d("div", Ne, [
252
+ t.view === "both" ? (n(), d("div", $e, [
254
253
  u(Z, {
255
254
  height: "28px",
256
255
  width: "60px",
@@ -262,24 +261,24 @@ const Ae = {
262
261
  "border-radius": "20px"
263
262
  })
264
263
  ])) : y("", !0),
265
- N("div", Ue, [
266
- t.view !== "event" ? (n(), r("div", {
264
+ N("div", Ce, [
265
+ t.view !== "event" ? (n(), d("div", {
267
266
  key: 0,
268
267
  class: $([
269
268
  "availability-skeleton-hotel",
270
269
  { "within-hotel": t.hotel }
271
270
  ])
272
271
  }, [
273
- u(g, { "with-icon": "" }),
274
- u(g, { "with-icon": "" }),
275
- u(g, { "with-icon": "" }),
276
- u(g, {
272
+ u(f, { "with-icon": "" }),
273
+ u(f, { "with-icon": "" }),
274
+ u(f, { "with-icon": "" }),
275
+ u(f, {
277
276
  "with-icon": "",
278
277
  "no-label": ""
279
278
  })
280
- ], 2)) : (n(), r("div", Ie, [
281
- u(g, { "with-icon": "" }),
282
- u(g, {
279
+ ], 2)) : (n(), d("div", Se, [
280
+ u(f, { "with-icon": "" }),
281
+ u(f, {
283
282
  "with-icon": "",
284
283
  "no-label": ""
285
284
  })
@@ -287,9 +286,9 @@ const Ae = {
287
286
  ])
288
287
  ]));
289
288
  }
290
- }), Me = /* @__PURE__ */ ae(Be, [["__scopeId", "data-v-17762b9b"]]);
289
+ }), Oe = /* @__PURE__ */ ae(Ue, [["__scopeId", "data-v-17762b9b"]]);
291
290
  export {
292
- Me as A,
293
- Ge as H
291
+ Oe as A,
292
+ ze as H
294
293
  };
295
- //# sourceMappingURL=AvailabilitySkeleton-SASkHOiq.js.map
294
+ //# sourceMappingURL=AvailabilitySkeleton-T7dAKFqD.js.map