@konnectio/core 4.0.56-rc41 → 4.0.56-rc43

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 (63) hide show
  1. package/dist/{ActionField-B7yd3wqo.js → ActionField-BTLE7221.js} +3 -3
  2. package/dist/ActionField-BTLE7221.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-BFkO-iFk.js → AvailabilitySkeleton-UZAEresr.js} +19 -19
  4. package/dist/AvailabilitySkeleton-UZAEresr.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CvsxXVBB.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-kgtV8m-S.js} +4 -4
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-kgtV8m-S.js.br +0 -0
  7. package/dist/{CheckoutWindow-DXpTb3IM.js → CheckoutWindow-Clz85IBZ.js} +14 -14
  8. package/dist/CheckoutWindow-Clz85IBZ.js.br +0 -0
  9. package/dist/{ErrorMessage-DURaj0JK.js → ErrorMessage-VTSFzaD9.js} +3 -3
  10. package/dist/ErrorMessage-VTSFzaD9.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-EdvNJO4b.js → EventAvailabilityForm-QZ9tm4bJ.js} +43 -43
  12. package/dist/EventAvailabilityForm-QZ9tm4bJ.js.br +0 -0
  13. package/dist/{Field-C31DtxD3.js → Field-BUCiT-zy.js} +3 -3
  14. package/dist/Field-BUCiT-zy.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DCFBIwBo.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Dw6yVZCV.js} +8953 -8805
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Dw6yVZCV.js.br +0 -0
  17. package/dist/TermsOfService-EoTv7bpV.js +35 -0
  18. package/dist/TermsOfService-EoTv7bpV.js.br +0 -0
  19. package/dist/_-eb9CY61s.js +12 -0
  20. package/dist/_.vue_vue_type_style_index_0_lang-BbZ0cU3f.js +71 -0
  21. package/dist/_.vue_vue_type_style_index_0_lang-BbZ0cU3f.js.br +0 -0
  22. package/dist/_commonjsHelpers-BnQF6Gki.js +9543 -0
  23. package/dist/_commonjsHelpers-BnQF6Gki.js.br +0 -0
  24. package/dist/availability.js +29 -28
  25. package/dist/availability.js.br +0 -0
  26. package/dist/event.js +42 -41
  27. package/dist/event.js.br +0 -0
  28. package/dist/gift-card-validation.js +24 -23
  29. package/dist/gift-card-validation.js.br +0 -0
  30. package/dist/gift-card.js +29 -28
  31. package/dist/gift-card.js.br +0 -0
  32. package/dist/{giftCard-CTOcXgxl.js → giftCard-BK0GfT2z.js} +15 -15
  33. package/dist/giftCard-BK0GfT2z.js.br +0 -0
  34. package/dist/hotel.js +1249 -1177
  35. package/dist/hotel.js.br +0 -0
  36. package/dist/{masonry.plugin-w0LZcwZT.js → masonry.plugin-CiwMY-Gy.js} +20 -20
  37. package/dist/masonry.plugin-CiwMY-Gy.js.br +0 -0
  38. package/dist/navigation.js +4 -4
  39. package/dist/polyfill.js +5575 -5378
  40. package/dist/polyfill.js.br +0 -0
  41. package/dist/sentry-6-6DYT4Z.js +18 -0
  42. package/dist/style.css +1 -1
  43. package/dist/style.css.br +0 -0
  44. package/dist/tracing-wnoA9-xG.js +2287 -0
  45. package/dist/tracing-wnoA9-xG.js.br +0 -0
  46. package/package.json +15 -15
  47. package/dist/ActionField-B7yd3wqo.js.br +0 -0
  48. package/dist/AvailabilitySkeleton-BFkO-iFk.js.br +0 -0
  49. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CvsxXVBB.js.br +0 -0
  50. package/dist/CheckoutWindow-DXpTb3IM.js.br +0 -0
  51. package/dist/ErrorMessage-DURaj0JK.js.br +0 -0
  52. package/dist/EventAvailabilityForm-EdvNJO4b.js.br +0 -0
  53. package/dist/Field-C31DtxD3.js.br +0 -0
  54. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DCFBIwBo.js.br +0 -0
  55. package/dist/TermsOfService-RMTyUzQE.js +0 -35
  56. package/dist/TermsOfService-RMTyUzQE.js.br +0 -0
  57. package/dist/_-C4rdBIG5.js +0 -12
  58. package/dist/_.vue_vue_type_style_index_0_lang-DxTbCVt9.js +0 -71
  59. package/dist/_.vue_vue_type_style_index_0_lang-DxTbCVt9.js.br +0 -0
  60. package/dist/_commonjsHelpers-BpcYSDvQ.js +0 -11797
  61. package/dist/_commonjsHelpers-BpcYSDvQ.js.br +0 -0
  62. package/dist/giftCard-CTOcXgxl.js.br +0 -0
  63. package/dist/masonry.plugin-w0LZcwZT.js.br +0 -0
package/dist/gift-card.js CHANGED
@@ -1,20 +1,21 @@
1
- import { d as I, r as K, c as Z, o as s, b as w, w as F, g as t, a as v, f as o, u as e, e as g, n as Y, t as G, i as ae, q as oe, h as ne, S as ie, y as T, z as M, F as se, A as re, x as k, p as de, j as ue, k as ce } from "./_commonjsHelpers-BpcYSDvQ.js";
2
- import { h as B, a as pe, C as S, I as me, E as fe, _ as z, F as be, s as O, b as ve, k as he, L as _e, T as L, l as ge, n as ye, o as ke, p as Ce, q as Ve, H as we, t as Fe } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DCFBIwBo.js";
3
- import { u as D } from "./giftCard-CTOcXgxl.js";
4
- import { _ as $e } from "./_.vue_vue_type_style_index_0_lang-DxTbCVt9.js";
5
- import { C as Ee, a as Pe, P as Ue, _ as Ae } from "./CheckoutWindow-DXpTb3IM.js";
6
- import { F as A } from "./Field-C31DtxD3.js";
7
- import { E as Se } from "./ErrorMessage-DURaj0JK.js";
8
- import { S as Ie } from "./TermsOfService-RMTyUzQE.js";
1
+ import { d as I, r as K, c as Z, o as s, b as w, w as F, g as t, a as v, f as o, u as e, e as g, n as Y, t as G, i as ae, q as oe, h as ne, S as ie, y as T, z as M, F as se, A as re, x as k, p as de, j as ue, k as ce } from "./_commonjsHelpers-BnQF6Gki.js";
2
+ import { h as B, a as pe, C as S, I as me, E as fe, _ as z, D as be, s as O, b as ve, k as he, L as _e, T as L, l as ge, n as ye, o as ke, p as Ce, F as Ve, q as we } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Dw6yVZCV.js";
3
+ import { c as Fe } from "./sentry-6-6DYT4Z.js";
4
+ import { u as x } from "./giftCard-BK0GfT2z.js";
5
+ import { _ as $e } from "./_.vue_vue_type_style_index_0_lang-BbZ0cU3f.js";
6
+ import { C as Ee, a as Pe, P as Ue, _ as Ae } from "./CheckoutWindow-Clz85IBZ.js";
7
+ import { F as A } from "./Field-BUCiT-zy.js";
8
+ import { E as Se } from "./ErrorMessage-VTSFzaD9.js";
9
+ import { S as Ie } from "./TermsOfService-EoTv7bpV.js";
9
10
  import "./navigation.js";
10
11
  (function() {
11
12
  try {
12
13
  var d = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
13
- n && (d._sentryDebugIds = d._sentryDebugIds || {}, d._sentryDebugIds[n] = "0c48a098-5331-4805-80ee-7366488b93ab", d._sentryDebugIdIdentifier = "sentry-dbid-0c48a098-5331-4805-80ee-7366488b93ab");
14
+ n && (d._sentryDebugIds = d._sentryDebugIds || {}, d._sentryDebugIds[n] = "54437b28-6ee4-4c2b-828e-d5aecfc7de87", d._sentryDebugIdIdentifier = "sentry-dbid-54437b28-6ee4-4c2b-828e-d5aecfc7de87");
14
15
  } catch {
15
16
  }
16
17
  })();
17
- const Te = { class: "media-selector" }, Me = ["accept"], Le = { class: "media-selector-wrapper" }, qe = { class: "media-selector-tools" }, Ge = { key: 0 }, Be = { key: 1 }, Re = { key: 2 }, xe = ["src"], De = /* @__PURE__ */ I({
18
+ const Te = { class: "media-selector" }, Me = ["accept"], Le = { class: "media-selector-wrapper" }, qe = { class: "media-selector-tools" }, Ge = { key: 0 }, Be = { key: 1 }, Re = { key: 2 }, De = ["src"], xe = /* @__PURE__ */ I({
18
19
  __name: "MediaSelector",
19
20
  props: {
20
21
  modelValue: {},
@@ -39,12 +40,12 @@ const Te = { class: "media-selector" }, Me = ["accept"], Le = { class: "media-se
39
40
  function b() {
40
41
  p.value && p.value.click();
41
42
  }
42
- function H(a, f) {
43
+ function j(a, f) {
43
44
  const [V, R] = [a.name, a.type], C = new FileReader();
44
45
  C.onload = function(U) {
45
46
  if (U.target) {
46
- const x = U.target.result;
47
- f({ base64: x, name: V, type: R });
47
+ const D = U.target.result;
48
+ f({ base64: D, name: V, type: R });
48
49
  } else
49
50
  h({
50
51
  message: c("imageUploadError"),
@@ -54,7 +55,7 @@ const Te = { class: "media-selector" }, Me = ["accept"], Le = { class: "media-se
54
55
  }
55
56
  async function $() {
56
57
  let a;
57
- (a = p.value.files) instanceof FileList && H(a[0], u);
58
+ (a = p.value.files) instanceof FileList && j(a[0], u);
58
59
  }
59
60
  return (a, f) => (s(), w(me, {
60
61
  label: a.label,
@@ -111,7 +112,7 @@ const Te = { class: "media-selector" }, Me = ["accept"], Le = { class: "media-se
111
112
  a.modelValue ? (s(), v("img", {
112
113
  key: 0,
113
114
  src: a.modelValue.base64
114
- }, null, 8, xe)) : g("", !0)
115
+ }, null, 8, De)) : g("", !0)
115
116
  ], 2)
116
117
  ])
117
118
  ])
@@ -140,12 +141,12 @@ function W(d) {
140
141
  }
141
142
  });
142
143
  }
143
- typeof W == "function" && W(De);
144
- const ze = { class: "gift-card-skeleton" }, He = { class: "gift-card-skeleton-form" }, je = /* @__PURE__ */ I({
144
+ typeof W == "function" && W(xe);
145
+ const ze = { class: "gift-card-skeleton" }, je = { class: "gift-card-skeleton-form" }, He = /* @__PURE__ */ I({
145
146
  __name: "GiftCardSkeleton",
146
147
  setup(d) {
147
148
  return (n, m) => (s(), v("div", ze, [
148
- t("div", He, [
149
+ t("div", je, [
149
150
  o(A),
150
151
  o(A),
151
152
  o(A),
@@ -155,7 +156,7 @@ const ze = { class: "gift-card-skeleton" }, He = { class: "gift-card-skeleton-fo
155
156
  ])
156
157
  ]));
157
158
  }
158
- }), Ne = /* @__PURE__ */ z(je, [["__scopeId", "data-v-ba3efaa1"]]), Oe = { class: "konnectio-accept-terms" }, We = /* @__PURE__ */ I({
159
+ }), Ne = /* @__PURE__ */ z(He, [["__scopeId", "data-v-ba3efaa1"]]), Oe = { class: "konnectio-accept-terms" }, We = /* @__PURE__ */ I({
159
160
  __name: "_",
160
161
  props: {
161
162
  content: {},
@@ -193,7 +194,7 @@ const ze = { class: "gift-card-skeleton" }, He = { class: "gift-card-skeleton-fo
193
194
  }), Ke = /* @__PURE__ */ z(We, [["__scopeId", "data-v-f587c956"]]), Ze = /* @__PURE__ */ I({
194
195
  __name: "GiftCard",
195
196
  setup(d) {
196
- const { t: n } = B(), m = D();
197
+ const { t: n } = B(), m = x();
197
198
  return (l, c) => (s(), w(Ke, {
198
199
  content: e(m).termsOfService,
199
200
  "button-label": e(n)("giftCard.orderGiftCard")
@@ -234,7 +235,7 @@ const ze = { class: "gift-card-skeleton" }, He = { class: "gift-card-skeleton-fo
234
235
  remark: u,
235
236
  showValue: y,
236
237
  quantity: b,
237
- media: H,
238
+ media: j,
238
239
  placeId: $,
239
240
  placeType: a,
240
241
  showFormPage: f,
@@ -242,9 +243,9 @@ const ze = { class: "gift-card-skeleton" }, He = { class: "gift-card-skeleton-fo
242
243
  showConfirmationPage: R,
243
244
  places: C,
244
245
  hasFilledForm: U,
245
- hasForcedPlaceType: x,
246
+ hasForcedPlaceType: D,
246
247
  isWaitingForResponse: E
247
- } = O(D()), { initialize: J, orderGiftCard: j, fetchMetadata: Q } = D(), { isRecaptchaEnabled: X, currency: ee, hasError: te } = O(ve());
248
+ } = O(x()), { initialize: J, orderGiftCard: H, fetchMetadata: Q } = x(), { isRecaptchaEnabled: X, currency: ee, hasError: te } = O(ve());
248
249
  return oe(a, () => {
249
250
  $.value = void 0;
250
251
  }), ne(() => {
@@ -285,7 +286,7 @@ const ze = { class: "gift-card-skeleton" }, He = { class: "gift-card-skeleton-fo
285
286
  innerHTML: e(l)("giftCard.description")
286
287
  }, null, 8, lt),
287
288
  t("form", null, [
288
- e(x) ? g("", !0) : (s(), v("div", at, [
289
+ e(D) ? g("", !0) : (s(), v("div", at, [
289
290
  e(C) ? (s(), v("div", ot, [
290
291
  t("label", nt, [
291
292
  t("span", null, G(e(l)("giftCard.selectType")), 1)
@@ -386,7 +387,7 @@ const ze = { class: "gift-card-skeleton" }, He = { class: "gift-card-skeleton-fo
386
387
  disabled: !e(U),
387
388
  "is-loading": e(E),
388
389
  "onUpdate:isLoading": r[9] || (r[9] = (i) => k(E) ? E.value = i : null),
389
- onClickEvent: e(j)
390
+ onClickEvent: e(H)
390
391
  }, null, 8, ["label", "disabled", "is-loading", "onClickEvent"])
391
392
  ])
392
393
  ])) : g("", !0),
@@ -409,7 +410,7 @@ const ze = { class: "gift-card-skeleton" }, He = { class: "gift-card-skeleton-fo
409
410
  "data-test": "orderGiftCard",
410
411
  "is-loading": e(E),
411
412
  "onUpdate:isLoading": r[11] || (r[11] = (i) => k(E) ? E.value = i : null),
412
- onClickEvent: e(j)
413
+ onClickEvent: e(H)
413
414
  }, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
414
415
  t("div", null, [
415
416
  pt,
@@ -436,7 +437,7 @@ const ze = { class: "gift-card-skeleton" }, He = { class: "gift-card-skeleton-fo
436
437
  _: 1
437
438
  }, 8, ["styling"]));
438
439
  }
439
- }), q = /* @__PURE__ */ z(ft, [["__scopeId", "data-v-36e1c4fe"]]), bt = ke(), vt = Fe();
440
+ }), q = /* @__PURE__ */ z(ft, [["__scopeId", "data-v-36e1c4fe"]]), bt = ke(), vt = we();
440
441
  class ht extends HTMLElement {
441
442
  vueApp;
442
443
  constructor() {
@@ -459,7 +460,7 @@ class ht extends HTMLElement {
459
460
  let y = this.attributes.getNamedItem(u)?.value;
460
461
  p.hasOwnProperty(u) && (y = p[u]), h[u] = y;
461
462
  }
462
- this.vueApp = ce(q, h), Ce(this.vueApp), this.vueApp.provide("emitter", vt), this.vueApp.use(bt), this.vueApp.use(Ve), this.vueApp.use(we, { bootstrap: !0 });
463
+ this.vueApp = ce(q, h), Fe(this.vueApp), this.vueApp.provide("emitter", vt), this.vueApp.use(bt), this.vueApp.use(Ce), this.vueApp.use(Ve, { bootstrap: !0 });
463
464
  const _ = document.createElement("div");
464
465
  this.vueApp.mount(_), this.appendChild(_.children[0]);
465
466
  }
Binary file
@@ -1,19 +1,19 @@
1
- import { d as K, u as H, a as J, s as Q, b as E, G as s, c as S, i as w, S as k, e as M, g as O, f as X } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DCFBIwBo.js";
2
- import { r as t, c as a } from "./_commonjsHelpers-BpcYSDvQ.js";
1
+ import { d as K, u as H, a as J, s as Q, b as E, G as s, c as S, i as w, S as k, e as M, g as O, f as X } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Dw6yVZCV.js";
2
+ import { r as t, c as a } from "./_commonjsHelpers-BnQF6Gki.js";
3
3
  import "./navigation.js";
4
4
  (function() {
5
5
  try {
6
6
  var i = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, c = new Error().stack;
7
- c && (i._sentryDebugIds = i._sentryDebugIds || {}, i._sentryDebugIds[c] = "9f11714f-783b-4988-b0ed-d9ac380f498a", i._sentryDebugIdIdentifier = "sentry-dbid-9f11714f-783b-4988-b0ed-d9ac380f498a");
7
+ c && (i._sentryDebugIds = i._sentryDebugIds || {}, i._sentryDebugIds[c] = "39248cbc-e6ae-4e3e-9c57-85e560b3ad5a", i._sentryDebugIdIdentifier = "sentry-dbid-39248cbc-e6ae-4e3e-9c57-85e560b3ad5a");
8
8
  } catch {
9
9
  }
10
10
  })();
11
11
  const ae = K("giftCard", () => {
12
- const { pay: i } = H(), { display: c } = J(), { bearerToken: v, metaData: P, currencyId: x, hasError: I } = Q(E()), T = E(), o = t(s.InitialState), f = S("konnectio_name", "", void 0, { serializer: k.string }), p = S("konnectio_email", "", void 0, { serializer: k.string }), g = S("konnectio_phone", "", void 0, { serializer: k.string }), m = t(""), D = t(1), F = t(!0), C = t(""), u = t({
12
+ const { pay: i } = H(), { display: c } = J(), { bearerToken: v, metaData: P, currencyId: x, hasError: I } = Q(E()), T = E(), o = t(s.InitialState), f = S("konnectio_name", "", void 0, { serializer: k.string }), p = S("konnectio_email", "", void 0, { serializer: k.string }), g = S("konnectio_phone", "", void 0, { serializer: k.string }), m = t(""), F = t(1), C = t(!0), D = t(""), u = t({
13
13
  base64: "",
14
14
  type: "",
15
15
  name: ""
16
- }), R = t(void 0), h = t(0), d = t(!1), y = t(0), _ = a(() => T.hasMetaData ? T.metaData.hotels[0] : {}), G = a(() => _.value.termsOfService ? _.value.termsOfService : ""), U = a(() => o.value === s.InitialState || o.value === s.WaitingForResponse), W = a(() => o.value === s.ReadyToPay), j = a(() => o.value === s.PaymentSuccess), b = a(() => {
16
+ }), R = t(void 0), h = t(0), d = t(!1), y = t(0), _ = a(() => T.hasMetadata ? T.metaData.hotels[0] : {}), G = a(() => _.value.termsOfService ? _.value.termsOfService : ""), U = a(() => o.value === s.InitialState || o.value === s.WaitingForResponse), W = a(() => o.value === s.ReadyToPay), j = a(() => o.value === s.PaymentSuccess), b = a(() => {
17
17
  const e = {
18
18
  1: {
19
19
  label: w.t("giftCard.hotelType"),
@@ -50,7 +50,7 @@ const ae = K("giftCard", () => {
50
50
  headers: {
51
51
  Authorization: v.value,
52
52
  Accept: "application/json",
53
- "Konnectio-Ver": "4.0.56-rc41"
53
+ "Konnectio-Ver": "4.0.56-rc43"
54
54
  }
55
55
  })).data;
56
56
  e.success !== void 0 ? I.value = !e.success : I.value = !1, P.value = e;
@@ -68,9 +68,9 @@ const ae = K("giftCard", () => {
68
68
  currencyID: x.value,
69
69
  language: O(),
70
70
  amount: m.value,
71
- quantity: D.value,
72
- freeText: C.value,
73
- showPrice: F.value,
71
+ quantity: F.value,
72
+ freeText: D.value,
73
+ showPrice: C.value,
74
74
  contactName: f.value,
75
75
  contactEmail: p.value,
76
76
  contactPhone: g.value,
@@ -83,7 +83,7 @@ const ae = K("giftCard", () => {
83
83
  headers: {
84
84
  Authorization: v.value,
85
85
  Accept: "application/json",
86
- "Fresh-Booking-Ver": "4.0.56-rc41"
86
+ "Fresh-Booking-Ver": "4.0.56-rc43"
87
87
  }
88
88
  }).then((e) => {
89
89
  o.value = s.ReadyToPay, d.value = !1, i({
@@ -102,9 +102,9 @@ const ae = K("giftCard", () => {
102
102
  email: p,
103
103
  phone: g,
104
104
  value: m,
105
- remark: C,
106
- showValue: F,
107
- quantity: D,
105
+ remark: D,
106
+ showValue: C,
107
+ quantity: F,
108
108
  media: u,
109
109
  placeId: R,
110
110
  placeType: h,
@@ -115,7 +115,7 @@ const ae = K("giftCard", () => {
115
115
  hasFilledForm: L,
116
116
  hasForcedPlaceType: z,
117
117
  isWaitingForResponse: q,
118
- isMetaDataAvailable: V,
118
+ isMetadataAvailable: V,
119
119
  termsOfService: G,
120
120
  fetchMetadata: B,
121
121
  orderGiftCard: N,
@@ -125,4 +125,4 @@ const ae = K("giftCard", () => {
125
125
  export {
126
126
  ae as u
127
127
  };
128
- //# sourceMappingURL=giftCard-CTOcXgxl.js.map
128
+ //# sourceMappingURL=giftCard-BK0GfT2z.js.map
Binary file