@konnectio/core 4.0.87 → 4.0.89

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-JyyQhohJ.js → ActionField-pRVpEYbK.js} +13 -13
  2. package/dist/ActionField-pRVpEYbK.js.br +0 -0
  3. package/dist/AvailabilitySkeleton-DyueTEga.js +322 -0
  4. package/dist/AvailabilitySkeleton-DyueTEga.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CyxA0DFl.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-DlPKnq7a.js} +262 -262
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-DlPKnq7a.js.br +0 -0
  7. package/dist/{CheckoutWindow-BANXRcdP.js → CheckoutWindow-BrwxMXyf.js} +89 -89
  8. package/dist/CheckoutWindow-BrwxMXyf.js.br +0 -0
  9. package/dist/{ErrorMessage-BkKT-ltk.js → ErrorMessage-CIU5Cn9y.js} +25 -25
  10. package/dist/ErrorMessage-CIU5Cn9y.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-TIP9lliE.js → EventAvailabilityForm-ClaIOEwA.js} +17 -17
  12. package/dist/EventAvailabilityForm-ClaIOEwA.js.br +0 -0
  13. package/dist/{Field-W3dyKX_L.js → Field-DuG8W19B.js} +14 -13
  14. package/dist/Field-DuG8W19B.js.br +0 -0
  15. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-PtGXipvw.js +21 -0
  16. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DghVL0Oa.js → SelectField.vue_vue_type_style_index_0_lang-CDI5Jr8F.js} +5679 -5663
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-CDI5Jr8F.js.br +0 -0
  18. package/dist/{TermsOfService-Ch3BEIIo.js → TermsOfService-D28siuNO.js} +4 -4
  19. package/dist/_-C-ynrhKu.js +5 -0
  20. package/dist/_.vue_vue_type_style_index_0_lang-BL9CKMuv.js +25 -0
  21. package/dist/availability.js +36 -36
  22. package/dist/availability.js.br +0 -0
  23. package/dist/cancel-reservation.js +158 -0
  24. package/dist/cancel-reservation.js.br +0 -0
  25. package/dist/deep-link.js +6 -6
  26. package/dist/deep-link.js.br +0 -0
  27. package/dist/event.js +349 -348
  28. package/dist/event.js.br +0 -0
  29. package/dist/gift-card-validation.js +23 -22
  30. package/dist/gift-card-validation.js.br +0 -0
  31. package/dist/gift-card.js +163 -162
  32. package/dist/gift-card.js.br +0 -0
  33. package/dist/{giftCard-CMpwvYsv.js → giftCard-vF2jr39r.js} +19 -19
  34. package/dist/giftCard-vF2jr39r.js.br +0 -0
  35. package/dist/hotel.js +1050 -1051
  36. package/dist/hotel.js.br +0 -0
  37. package/dist/{masonry.plugin-DkIwTZE2.js → masonry.plugin-QKZ1Nfp8.js} +606 -605
  38. package/dist/masonry.plugin-QKZ1Nfp8.js.br +0 -0
  39. package/dist/mitt-Cg46J41N.js +13059 -0
  40. package/dist/mitt-Cg46J41N.js.br +0 -0
  41. package/dist/polyfill.js +91 -91
  42. package/dist/polyfill.js.br +0 -0
  43. package/dist/{style-CDpCXUak.js → style-BEbp8L4f.js} +128 -128
  44. package/dist/style-BEbp8L4f.js.br +0 -0
  45. package/dist/style.css +1 -1
  46. package/dist/style.css.br +0 -0
  47. package/package.json +2 -2
  48. package/dist/ActionField-JyyQhohJ.js.br +0 -0
  49. package/dist/AvailabilitySkeleton-DfYTjUoS.js +0 -309
  50. package/dist/AvailabilitySkeleton-DfYTjUoS.js.br +0 -0
  51. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CyxA0DFl.js.br +0 -0
  52. package/dist/CheckoutWindow-BANXRcdP.js.br +0 -0
  53. package/dist/ErrorMessage-BkKT-ltk.js.br +0 -0
  54. package/dist/EventAvailabilityForm-TIP9lliE.js.br +0 -0
  55. package/dist/Field-W3dyKX_L.js.br +0 -0
  56. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DghVL0Oa.js.br +0 -0
  57. package/dist/_-v0hUQXei.js +0 -5
  58. package/dist/_.vue_vue_type_style_index_0_lang-0ivLN3Ws.js +0 -25
  59. package/dist/giftCard-CMpwvYsv.js.br +0 -0
  60. package/dist/masonry.plugin-DkIwTZE2.js.br +0 -0
  61. package/dist/mitt-B_elXQ2J.js +0 -12437
  62. package/dist/mitt-B_elXQ2J.js.br +0 -0
  63. package/dist/style-CDpCXUak.js.br +0 -0
@@ -1,11 +1,11 @@
1
- import { r as V, a as H, d as A, G as s, t as h, S as y, v as M, o as O, w as J } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DghVL0Oa.js";
2
- import { K as Q, x as X, r as t, c as a, L as S } from "./mitt-B_elXQ2J.js";
1
+ import { v as V, a as H, g as A, G as s, w as h, S as y, x as M, q as O, y as K } from "./SelectField.vue_vue_type_style_index_0_lang-CDI5Jr8F.js";
2
+ import { I as Q, s as X, r as t, c as a, J as S } from "./mitt-Cg46J41N.js";
3
3
  const ee = Q("giftCard", () => {
4
4
  const { pay: E } = V(), { display: G } = H(), { bearerToken: w, metaData: P, currencyId: D, hasError: T } = X(A()), b = A(), o = t(s.InitialState), u = h("konnectio_name", "", void 0, { serializer: y.string }), v = h("konnectio_email", "", void 0, { serializer: y.string }), d = h("konnectio_phone", "", void 0, { serializer: y.string }), p = t(""), k = t(1), F = t(!0), C = t(""), l = t({
5
5
  base64: "",
6
6
  type: "",
7
7
  name: ""
8
- }), R = t(void 0), f = t(0), c = t(!1), g = t(0), z = a(() => b.hasMetadata ? b.metaData.hotels[0] : {}), L = a(() => z.value.termsOfService ? z.value.termsOfService : ""), U = a(() => o.value === s.InitialState || o.value === s.WaitingForResponse), W = a(() => o.value === s.ReadyToPay), _ = a(() => o.value === s.PaymentSuccess), m = a(() => {
8
+ }), I = t(void 0), f = t(0), c = t(!1), g = t(0), R = a(() => b.hasMetadata ? b.metaData.hotels[0] : {}), U = a(() => R.value.termsOfService ? R.value.termsOfService : ""), W = a(() => o.value === s.InitialState || o.value === s.WaitingForResponse), _ = a(() => o.value === s.ReadyToPay), j = a(() => o.value === s.PaymentSuccess), m = a(() => {
9
9
  const e = {
10
10
  1: {
11
11
  label: S.t("giftCard.hotelType"),
@@ -21,18 +21,18 @@ const ee = Q("giftCard", () => {
21
21
  }), Object.fromEntries(
22
22
  Object.entries(e).filter(([, n]) => n.data.length > 0)
23
23
  );
24
- }), I = a(() => g.value !== 0), i = a(() => {
24
+ }), z = a(() => g.value !== 0), i = a(() => {
25
25
  let e;
26
- if (I.value)
26
+ if (z.value)
27
27
  e = m.value[g.value].data[0];
28
28
  else if (f.value !== 0) {
29
- const r = R.value, n = m.value[f.value].data;
29
+ const r = I.value, n = m.value[f.value].data;
30
30
  n.length === 1 ? e = n[0] : r !== void 0 && n.forEach((x) => {
31
31
  String(x.id) === String(r) && (e = x);
32
32
  });
33
33
  }
34
34
  return e;
35
- }), j = a(() => !(!u.value || !v.value || !(d.value.length >= 5) || !p.value || i.value === void 0)), q = a(() => !(o.value === s.InitialState && c.value)), N = a(() => !!(o.value === s.WaitingForResponse && c.value));
35
+ }), q = a(() => !(!u.value || !v.value || !(d.value.length >= 5) || !p.value || i.value === void 0)), L = a(() => !(o.value === s.InitialState && c.value)), N = a(() => !!(o.value === s.WaitingForResponse && c.value));
36
36
  async function $() {
37
37
  try {
38
38
  const e = (await M.get("https://production.hotel-service.konnectio.com/api/gift-card/metadata", {
@@ -65,7 +65,7 @@ const ee = Q("giftCard", () => {
65
65
  contactName: u.value,
66
66
  contactEmail: v.value,
67
67
  contactPhone: d.value,
68
- imageBase64: J(l.value.base64),
68
+ imageBase64: K(l.value.base64),
69
69
  imageName: l.value.name,
70
70
  imageFormat: l.value.type,
71
71
  placeType: i.value ? i.value.placeType : void 0,
@@ -82,7 +82,7 @@ const ee = Q("giftCard", () => {
82
82
  });
83
83
  });
84
84
  }
85
- function K(e) {
85
+ function J(e) {
86
86
  e && (g.value = e);
87
87
  }
88
88
  return {
@@ -96,23 +96,23 @@ const ee = Q("giftCard", () => {
96
96
  showValue: F,
97
97
  quantity: k,
98
98
  media: l,
99
- placeId: R,
99
+ placeId: I,
100
100
  placeType: f,
101
- showFormPage: U,
102
- showPaymentPage: W,
103
- showConfirmationPage: _,
101
+ showFormPage: W,
102
+ showPaymentPage: _,
103
+ showConfirmationPage: j,
104
104
  places: m,
105
- hasFilledForm: j,
106
- hasForcedPlaceType: I,
105
+ hasFilledForm: q,
106
+ hasForcedPlaceType: z,
107
107
  isWaitingForResponse: N,
108
- isMetadataAvailable: q,
109
- termsOfService: L,
108
+ isMetadataAvailable: L,
109
+ termsOfService: U,
110
110
  fetchMetadata: $,
111
111
  orderGiftCard: B,
112
- initialize: K
112
+ initialize: J
113
113
  };
114
114
  });
115
115
  export {
116
116
  ee as u
117
117
  };
118
- //# sourceMappingURL=giftCard-CMpwvYsv.js.map
118
+ //# sourceMappingURL=giftCard-vF2jr39r.js.map
Binary file