@konnectio/core 4.0.56-rc61 → 4.0.56-rc63

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 (61) hide show
  1. package/dist/{ActionField-tyBtuplH.js → ActionField-CaZyWiC0.js} +3 -3
  2. package/dist/ActionField-CaZyWiC0.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-xblTQw-r.js → AvailabilitySkeleton-DwbcJXaG.js} +44 -44
  4. package/dist/AvailabilitySkeleton-DwbcJXaG.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DLNeZBMq.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Bd-pBmI_.js} +97 -96
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Bd-pBmI_.js.br +0 -0
  7. package/dist/{CheckoutWindow-DwDO_UFI.js → CheckoutWindow-DcU_jmlL.js} +5 -5
  8. package/dist/CheckoutWindow-DcU_jmlL.js.br +0 -0
  9. package/dist/{ErrorMessage-D3V2b1FO.js → ErrorMessage-CQjnuNY9.js} +3 -3
  10. package/dist/ErrorMessage-CQjnuNY9.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-CX8mAHaL.js → EventAvailabilityForm-HZ49CEtf.js} +5 -5
  12. package/dist/EventAvailabilityForm-HZ49CEtf.js.br +0 -0
  13. package/dist/{Field-CtZJY_BD.js → Field-Cw2CsM6g.js} +3 -3
  14. package/dist/Field-Cw2CsM6g.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BczeCv48.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BUd1ZbSL.js} +6883 -6661
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BUd1ZbSL.js.br +0 -0
  17. package/dist/{TermsOfService-CAxlHXFH.js → TermsOfService-DByeIQJb.js} +9 -9
  18. package/dist/TermsOfService-DByeIQJb.js.br +0 -0
  19. package/dist/{_-BXd9hTZB.js → _-CyR4coUq.js} +2 -2
  20. package/dist/{_.vue_vue_type_style_index_0_lang-3b7FP_Lh.js → _.vue_vue_type_style_index_0_lang-DtNawT-n.js} +9 -9
  21. package/dist/_.vue_vue_type_style_index_0_lang-DtNawT-n.js.br +0 -0
  22. package/dist/{_commonjsHelpers-20l0ha8g.js → _commonjsHelpers-DL55vE5x.js} +2 -2
  23. package/dist/{_sentry-release-injection-file-Cbnp5q97.js → _sentry-release-injection-file-ntkxLyXO.js} +3 -3
  24. package/dist/_sentry-release-injection-file-ntkxLyXO.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 +409 -397
  30. package/dist/event.js.br +0 -0
  31. package/dist/gift-card-validation.js +9 -9
  32. package/dist/gift-card-validation.js.br +0 -0
  33. package/dist/gift-card.js +10 -10
  34. package/dist/gift-card.js.br +0 -0
  35. package/dist/{giftCard-IDe0Joiw.js → giftCard-CWI0IHsB.js} +14 -14
  36. package/dist/giftCard-CWI0IHsB.js.br +0 -0
  37. package/dist/hotel.js +199 -199
  38. package/dist/hotel.js.br +0 -0
  39. package/dist/{masonry.plugin-Bb8vdNgz.js → masonry.plugin-CEcJXGw-.js} +1076 -1067
  40. package/dist/masonry.plugin-CEcJXGw-.js.br +0 -0
  41. package/dist/{mitt-CMHUNNN-.js → mitt-CIY-HxuB.js} +2 -2
  42. package/dist/mitt-CIY-HxuB.js.br +0 -0
  43. package/dist/polyfill.js +1513 -1513
  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/package.json +7 -7
  48. package/dist/ActionField-tyBtuplH.js.br +0 -0
  49. package/dist/AvailabilitySkeleton-xblTQw-r.js.br +0 -0
  50. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DLNeZBMq.js.br +0 -0
  51. package/dist/CheckoutWindow-DwDO_UFI.js.br +0 -0
  52. package/dist/ErrorMessage-D3V2b1FO.js.br +0 -0
  53. package/dist/EventAvailabilityForm-CX8mAHaL.js.br +0 -0
  54. package/dist/Field-CtZJY_BD.js.br +0 -0
  55. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BczeCv48.js.br +0 -0
  56. package/dist/TermsOfService-CAxlHXFH.js.br +0 -0
  57. package/dist/_.vue_vue_type_style_index_0_lang-3b7FP_Lh.js.br +0 -0
  58. package/dist/_sentry-release-injection-file-Cbnp5q97.js.br +0 -0
  59. package/dist/giftCard-IDe0Joiw.js.br +0 -0
  60. package/dist/masonry.plugin-Bb8vdNgz.js.br +0 -0
  61. package/dist/mitt-CMHUNNN-.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-Cbnp5q97.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-BczeCv48.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-ntkxLyXO.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-BUd1ZbSL.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-tyBtuplH.js.map
107
+ //# sourceMappingURL=ActionField-CaZyWiC0.js.map
Binary file
@@ -1,12 +1,12 @@
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-Cbnp5q97.js";
2
- import { u as fe, s as x } from "./mitt-CMHUNNN-.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-BczeCv48.js";
4
- import { _ as we } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DLNeZBMq.js";
5
- import { F as f } from "./Field-CtZJY_BD.js";
1
+ import { d as ee, G as me, r as f, 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 D, i as y, e as N, F as P, n as $, y as fe, h as De } from "./_sentry-release-injection-file-ntkxLyXO.js";
2
+ import { u as ge, s as x } from "./mitt-CIY-HxuB.js";
3
+ import { u as Q, x as W, d 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-BUd1ZbSL.js";
4
+ import { _ as we } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Bd-pBmI_.js";
5
+ import { F as g } from "./Field-Cw2CsM6g.js";
6
6
  (function() {
7
7
  try {
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");
8
+ var c = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new Error().stack;
9
+ t && (c._sentryDebugIds = c._sentryDebugIds || {}, c._sentryDebugIds[t] = "f5acc690-b8f5-4cdf-8696-092e6e2a775a", c._sentryDebugIdIdentifier = "sentry-dbid-f5acc690-b8f5-4cdf-8696-092e6e2a775a");
10
10
  } catch {
11
11
  }
12
12
  })();
@@ -29,8 +29,8 @@ const _e = {
29
29
  link: {},
30
30
  selectedLocation: { default: NaN }
31
31
  },
32
- setup(r) {
33
- const { t } = fe(), _ = me("emitter"), l = r, {
32
+ setup(c) {
33
+ const { t } = ge(), _ = me("emitter"), l = c, {
34
34
  adults: C,
35
35
  children: S,
36
36
  arrivalDate: U,
@@ -43,12 +43,12 @@ const _e = {
43
43
  firstSelectableDateOffset: R,
44
44
  lastSelectableDateOffset: E,
45
45
  disableChildSelection: m,
46
- disableAdultSelection: c,
46
+ disableAdultSelection: d,
47
47
  defaultAdultAmount: oe,
48
48
  defaultChildAmount: ne,
49
49
  maxAdultAmount: T,
50
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({
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 = f(oe.value), G = f(ne.value), M = f(se()), j = f(ue()), q = f(le.value), b = s({
52
52
  get: () => l.booking ? C.value : O.value,
53
53
  set: (a) => {
54
54
  l.booking ? C.value = Number(a) : O.value = Number(a);
@@ -76,7 +76,7 @@ const _e = {
76
76
  }), J = s(() => {
77
77
  const a = F.value.find(({ id: i }) => i === l.selectedLocation);
78
78
  return a ? a.name : "";
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");
79
+ }), h = 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() + E.value))), Be = s(() => new Date((/* @__PURE__ */ new Date()).setDate(v.value.getDate() + R.value))), ce = s(() => new Date((/* @__PURE__ */ new Date()).setDate(v.value.getDate() + (E.value + 1)))), A = s(() => !(!d && b.value === 0)), de = s(() => typeof l.link != "string");
80
80
  function ve() {
81
81
  if (l.booking === !1)
82
82
  if (te({
@@ -85,7 +85,7 @@ const _e = {
85
85
  arrivalDate: v.value,
86
86
  departureDate: p.value,
87
87
  location: V.value
88
- }), ce.value) {
88
+ }), de.value) {
89
89
  const a = he();
90
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");
91
91
  } else
@@ -102,27 +102,27 @@ const _e = {
102
102
  v.value = a[0], p.value = a[1];
103
103
  }), be(() => {
104
104
  h.value = [v.value, p.value];
105
- }), (a, i) => (n(), d("form", {
105
+ }), (a, i) => (n(), r("form", {
106
106
  id: "konnectio-availability-form",
107
107
  class: $({ reservation: a.booking }),
108
108
  type: "availability",
109
- onSubmit: ge(ve, ["prevent"])
109
+ onSubmit: De(ve, ["prevent"])
110
110
  }, [
111
- u(De, {
111
+ u(fe, {
112
112
  id: "konnectio-availability-form-content",
113
113
  tag: "ul",
114
114
  class: $([
115
115
  { "is-booking-page": a.booking },
116
- { "only-adult-guests": !e(c) && e(m) },
117
- { "only-child-guests": !e(m) && e(c) },
118
- { "no-guests": e(c) && e(m) },
119
- { "all-guests": !e(c) && !e(m) },
116
+ { "only-adult-guests": !e(d) && e(m) },
117
+ { "only-child-guests": !e(m) && e(d) },
118
+ { "no-guests": e(d) && e(m) },
119
+ { "all-guests": !e(d) && !e(m) },
120
120
  { "has-location": e(w) }
121
121
  ])
122
122
  }, {
123
123
  default: pe(() => [
124
- e(w) ? (n(), d("li", _e, [
125
- isNaN(a.selectedLocation) ? (n(), g(ke, {
124
+ e(w) ? (n(), r("li", _e, [
125
+ isNaN(a.selectedLocation) ? (n(), D(ke, {
126
126
  key: 1,
127
127
  modelValue: V.value,
128
128
  "onUpdate:modelValue": i[1] || (i[1] = (o) => V.value = o),
@@ -134,7 +134,7 @@ const _e = {
134
134
  "value-key": "id",
135
135
  options: e(F),
136
136
  searchable: !1
137
- }, null, 8, ["modelValue", "label", "options"])) : (n(), g(L, {
137
+ }, null, 8, ["modelValue", "label", "options"])) : (n(), D(L, {
138
138
  key: 0,
139
139
  modelValue: J.value,
140
140
  "onUpdate:modelValue": i[0] || (i[0] = (o) => J.value = o),
@@ -153,15 +153,15 @@ const _e = {
153
153
  "icon-type": "fas",
154
154
  "icon-placement": "label",
155
155
  "min-range": 1,
156
- "min-date": de.value,
157
- "max-date": re.value,
156
+ "min-date": re.value,
157
+ "max-date": ce.value,
158
158
  range: ""
159
159
  }, null, 8, ["modelValue", "label", "min-date", "max-date"]),
160
160
  y("", !0)
161
161
  ]),
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, {
162
+ !e(d) || !e(m) ? (n(), r("li", Ae, [
163
+ e(d) ? y("", !0) : (n(), r(P, { key: 0 }, [
164
+ e(w) ? (n(), D(L, {
165
165
  key: 0,
166
166
  modelValue: b.value,
167
167
  "onUpdate:modelValue": i[5] || (i[5] = (o) => b.value = o),
@@ -173,7 +173,7 @@ const _e = {
173
173
  name: "adults",
174
174
  icon: "male",
175
175
  max: e(T)
176
- }, null, 8, ["modelValue", "label", "description", "max"])) : (n(), g(X, {
176
+ }, null, 8, ["modelValue", "label", "description", "max"])) : (n(), D(X, {
177
177
  key: 1,
178
178
  modelValue: b.value,
179
179
  "onUpdate:modelValue": i[6] || (i[6] = (o) => b.value = o),
@@ -186,8 +186,8 @@ const _e = {
186
186
  "max-value": e(T)
187
187
  }, null, 8, ["modelValue", "label", "description", "max-value"]))
188
188
  ], 64)),
189
- e(m) ? y("", !0) : (n(), d(P, { key: 1 }, [
190
- e(w) ? (n(), g(L, {
189
+ e(m) ? y("", !0) : (n(), r(P, { key: 1 }, [
190
+ e(w) ? (n(), D(L, {
191
191
  key: 0,
192
192
  modelValue: k.value,
193
193
  "onUpdate:modelValue": i[7] || (i[7] = (o) => k.value = o),
@@ -199,7 +199,7 @@ const _e = {
199
199
  name: "children",
200
200
  icon: "child",
201
201
  max: e(z)
202
- }, null, 8, ["modelValue", "label", "description", "max"])) : (n(), g(X, {
202
+ }, null, 8, ["modelValue", "label", "description", "max"])) : (n(), D(X, {
203
203
  key: 1,
204
204
  modelValue: k.value,
205
205
  "onUpdate:modelValue": i[8] || (i[8] = (o) => k.value = o),
@@ -247,9 +247,9 @@ const _e = {
247
247
  view: { default: "hotel" },
248
248
  hotel: { type: Boolean, default: !1 }
249
249
  },
250
- setup(r) {
251
- return (t, _) => (n(), d("div", Ne, [
252
- t.view === "both" ? (n(), d("div", $e, [
250
+ setup(c) {
251
+ return (t, _) => (n(), r("div", Ne, [
252
+ t.view === "both" ? (n(), r("div", $e, [
253
253
  u(Z, {
254
254
  height: "28px",
255
255
  width: "60px",
@@ -262,23 +262,23 @@ const _e = {
262
262
  })
263
263
  ])) : y("", !0),
264
264
  N("div", Ce, [
265
- t.view !== "event" ? (n(), d("div", {
265
+ t.view !== "event" ? (n(), r("div", {
266
266
  key: 0,
267
267
  class: $([
268
268
  "availability-skeleton-hotel",
269
269
  { "within-hotel": t.hotel }
270
270
  ])
271
271
  }, [
272
- u(f, { "with-icon": "" }),
273
- u(f, { "with-icon": "" }),
274
- u(f, { "with-icon": "" }),
275
- u(f, {
272
+ u(g, { "with-icon": "" }),
273
+ u(g, { "with-icon": "" }),
274
+ u(g, { "with-icon": "" }),
275
+ u(g, {
276
276
  "with-icon": "",
277
277
  "no-label": ""
278
278
  })
279
- ], 2)) : (n(), d("div", Se, [
280
- u(f, { "with-icon": "" }),
281
- u(f, {
279
+ ], 2)) : (n(), r("div", Se, [
280
+ u(g, { "with-icon": "" }),
281
+ u(g, {
282
282
  "with-icon": "",
283
283
  "no-label": ""
284
284
  })
@@ -291,4 +291,4 @@ export {
291
291
  Oe as A,
292
292
  ze as H
293
293
  };
294
- //# sourceMappingURL=AvailabilitySkeleton-xblTQw-r.js.map
294
+ //# sourceMappingURL=AvailabilitySkeleton-DwbcJXaG.js.map