@konnectio/core 4.0.56-rc47 → 4.0.56-rc49

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-Ck8cxR78.js → ActionField-B9sCmWFD.js} +11 -11
  2. package/dist/ActionField-B9sCmWFD.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-C_OWp8Fq.js → AvailabilitySkeleton-sGz2nSbb.js} +35 -35
  4. package/dist/AvailabilitySkeleton-sGz2nSbb.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C2xXzeRY.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CPIlC8FY.js} +4 -4
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CPIlC8FY.js.br +0 -0
  7. package/dist/{CheckoutWindow-DcaNMI9K.js → CheckoutWindow-CrzoIK1a.js} +14 -14
  8. package/dist/CheckoutWindow-CrzoIK1a.js.br +0 -0
  9. package/dist/{ErrorMessage-DH5q_ieB.js → ErrorMessage-SZPwCpu-.js} +4 -4
  10. package/dist/ErrorMessage-SZPwCpu-.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-DphCQOMO.js → EventAvailabilityForm-DFuang-b.js} +138 -138
  12. package/dist/EventAvailabilityForm-DFuang-b.js.br +0 -0
  13. package/dist/{Field-Dg8W7a_X.js → Field-CLXqVSAA.js} +12 -12
  14. package/dist/Field-CLXqVSAA.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DxwVk__I.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CHFFlMbv.js} +2151 -2132
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CHFFlMbv.js.br +0 -0
  17. package/dist/{TermsOfService-DenzWB_O.js → TermsOfService-DBwm3BP2.js} +7 -7
  18. package/dist/TermsOfService-DBwm3BP2.js.br +0 -0
  19. package/dist/_-BOjhcjBA.js +12 -0
  20. package/dist/{_.vue_vue_type_style_index_0_lang-VOXCSp8f.js → _.vue_vue_type_style_index_0_lang-BNx_Z1PF.js} +11 -11
  21. package/dist/_.vue_vue_type_style_index_0_lang-BNx_Z1PF.js.br +0 -0
  22. package/dist/availability.js +40 -41
  23. package/dist/availability.js.br +0 -0
  24. package/dist/event.js +155 -153
  25. package/dist/event.js.br +0 -0
  26. package/dist/gift-card-validation.js +26 -27
  27. package/dist/gift-card-validation.js.br +0 -0
  28. package/dist/gift-card.js +127 -127
  29. package/dist/gift-card.js.br +0 -0
  30. package/dist/{giftCard-BpIUm5ol.js → giftCard-hEwcI_Rx.js} +11 -11
  31. package/dist/giftCard-hEwcI_Rx.js.br +0 -0
  32. package/dist/hotel.js +620 -618
  33. package/dist/hotel.js.br +0 -0
  34. package/dist/{masonry.plugin-Bo5QRvUz.js → masonry.plugin-C474cwA-.js} +1026 -1009
  35. package/dist/masonry.plugin-C474cwA-.js.br +0 -0
  36. package/dist/navigation.js +2 -2
  37. package/dist/polyfill.js +726 -726
  38. package/dist/polyfill.js.br +0 -0
  39. package/dist/style.css +1 -1
  40. package/dist/style.css.br +0 -0
  41. package/dist/tracing-pAUg9FFo.js +11818 -0
  42. package/dist/tracing-pAUg9FFo.js.br +0 -0
  43. package/package.json +1 -1
  44. package/dist/ActionField-Ck8cxR78.js.br +0 -0
  45. package/dist/AvailabilitySkeleton-C_OWp8Fq.js.br +0 -0
  46. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C2xXzeRY.js.br +0 -0
  47. package/dist/CheckoutWindow-DcaNMI9K.js.br +0 -0
  48. package/dist/ErrorMessage-DH5q_ieB.js.br +0 -0
  49. package/dist/EventAvailabilityForm-DphCQOMO.js.br +0 -0
  50. package/dist/Field-Dg8W7a_X.js.br +0 -0
  51. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DxwVk__I.js.br +0 -0
  52. package/dist/TermsOfService-DenzWB_O.js.br +0 -0
  53. package/dist/_-DgexTosT.js +0 -12
  54. package/dist/_.vue_vue_type_style_index_0_lang-VOXCSp8f.js.br +0 -0
  55. package/dist/_commonjsHelpers-ytV6SVHa.js +0 -9541
  56. package/dist/_commonjsHelpers-ytV6SVHa.js.br +0 -0
  57. package/dist/giftCard-BpIUm5ol.js.br +0 -0
  58. package/dist/masonry.plugin-Bo5QRvUz.js.br +0 -0
  59. package/dist/sentry-D1A53_C5.js +0 -18
  60. package/dist/tracing-wxeFiHIa.js +0 -2287
  61. package/dist/tracing-wxeFiHIa.js.br +0 -0
package/dist/event.js.br CHANGED
Binary file
@@ -1,16 +1,15 @@
1
- import { d as I, o as f, a as A, g as t, f as o, c as X, b as _, w as v, S as B, u as e, t as u, x as w, e as P, i as T, k as $ } from "./_commonjsHelpers-ytV6SVHa.js";
2
- import { E as k, _ as L, h as N, s as x, t as E, b as U, z as C, A as z, B as O, n as F, o as H, p as j, q as R } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DxwVk__I.js";
3
- import { c as Z } from "./sentry-D1A53_C5.js";
4
- import { u as q } from "./giftCard-BpIUm5ol.js";
5
- import { _ as W } from "./_.vue_vue_type_style_index_0_lang-VOXCSp8f.js";
6
- import { A as J } from "./ActionField-Ck8cxR78.js";
7
- import { F as S } from "./Field-Dg8W7a_X.js";
8
- import { E as K } from "./ErrorMessage-DH5q_ieB.js";
1
+ import { d as I, o as f, a as A, g as t, f as o, c as X, b as _, w as v, S as B, u as e, t as u, x as w, e as P, i as T, k as $ } from "./tracing-pAUg9FFo.js";
2
+ import { E as k, _ as L, h as N, s as x, v as E, b as U, A as C, B as O, D as z, n as F, o as H, p as j, q as R, t as Z } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CHFFlMbv.js";
3
+ import { u as q } from "./giftCard-hEwcI_Rx.js";
4
+ import { _ as W } from "./_.vue_vue_type_style_index_0_lang-BNx_Z1PF.js";
5
+ import { A as J } from "./ActionField-B9sCmWFD.js";
6
+ import { F as S } from "./Field-CLXqVSAA.js";
7
+ import { E as K } from "./ErrorMessage-SZPwCpu-.js";
9
8
  import "./navigation.js";
10
9
  (function() {
11
10
  try {
12
11
  var r = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, s = new Error().stack;
13
- s && (r._sentryDebugIds = r._sentryDebugIds || {}, r._sentryDebugIds[s] = "0c8e70ad-128e-4039-90e1-b8cff84230ac", r._sentryDebugIdIdentifier = "sentry-dbid-0c8e70ad-128e-4039-90e1-b8cff84230ac");
12
+ s && (r._sentryDebugIds = r._sentryDebugIds || {}, r._sentryDebugIds[s] = "6f02e89e-406d-4426-b87b-2615424c41ba", r._sentryDebugIdIdentifier = "sentry-dbid-6f02e89e-406d-4426-b87b-2615424c41ba");
14
13
  } catch {
15
14
  }
16
15
  })();
@@ -48,29 +47,29 @@ const Q = { class: "gift-card-validation-skeleton" }, Y = { class: "gift-card-va
48
47
  ...s.styling
49
48
  })), { t: i } = N(), {
50
49
  voucher: m,
51
- isValid: h,
50
+ isValid: g,
52
51
  amount: p,
53
- expirationDate: b,
52
+ expirationDate: h,
54
53
  productName: a,
55
54
  isLoading: n
56
- } = x(E()), { currency: l, hasError: G } = x(U()), { fetchMetadata: D } = q(), { apply: V } = E();
55
+ } = x(E()), { currency: l, hasError: D } = x(U()), { fetchMetadata: G } = q(), { apply: V } = E();
57
56
  return (M, d) => (f(), _(F, { styling: c.value }, {
58
57
  default: v(() => [
59
58
  (f(), _(B, null, {
60
59
  default: v(() => [
61
60
  o(W, {
62
61
  "access-token": M.accessToken,
63
- callback: e(D)
62
+ callback: e(G)
64
63
  }, {
65
64
  default: v(() => [
66
- e(G) ? (f(), _(K, {
65
+ e(D) ? (f(), _(K, {
67
66
  key: 1,
68
67
  title: "Unable to render Gift card validation module",
69
68
  description: "Gift card functionality hasn't been setup for this account. Please contact Octopus PMS for support."
70
69
  })) : (f(), A("form", {
71
70
  key: 0,
72
71
  id: "konnectio-gift-card-validation-module",
73
- onSubmit: d[3] || (d[3] = T((g) => e(V)(), ["prevent"]))
72
+ onSubmit: d[3] || (d[3] = T((b) => e(V)(), ["prevent"]))
74
73
  }, [
75
74
  t("h4", null, [
76
75
  t("span", null, u(e(i)("giftCardValidation.title")), 1)
@@ -80,16 +79,16 @@ const Q = { class: "gift-card-validation-skeleton" }, Y = { class: "gift-card-va
80
79
  }, null, 8, ot),
81
80
  o(J, {
82
81
  modelValue: e(m),
83
- "onUpdate:modelValue": d[0] || (d[0] = (g) => w(m) ? m.value = g : null),
82
+ "onUpdate:modelValue": d[0] || (d[0] = (b) => w(m) ? m.value = b : null),
84
83
  icon: "gift-card",
85
84
  label: e(i)("booking.reservation.giftCardCode"),
86
85
  buttonLabel: e(i)("giftCardValidation.submitButton"),
87
86
  placeholder: "XXXXXXXX",
88
87
  "is-loading": e(n),
89
- "onUpdate:isLoading": d[1] || (d[1] = (g) => w(n) ? n.value = g : null),
90
- onAction: d[2] || (d[2] = (g) => e(V)())
88
+ "onUpdate:isLoading": d[1] || (d[1] = (b) => w(n) ? n.value = b : null),
89
+ onAction: d[2] || (d[2] = (b) => e(V)())
91
90
  }, null, 8, ["modelValue", "label", "buttonLabel", "is-loading"]),
92
- !e(n) && e(h) ? (f(), A("table", st, [
91
+ !e(n) && e(g) ? (f(), A("table", st, [
93
92
  t("thead", null, [
94
93
  t("tr", null, [
95
94
  t("th", null, [
@@ -124,10 +123,10 @@ const Q = { class: "gift-card-validation-skeleton" }, Y = { class: "gift-card-va
124
123
  t("span", null, u(e(a)), 1)
125
124
  ]),
126
125
  t("td", null, [
127
- t("span", null, u(e(z)(e(p), e(l))), 1)
126
+ t("span", null, u(e(O)(e(p), e(l))), 1)
128
127
  ]),
129
128
  t("td", null, [
130
- t("span", null, u(e(O)(e(b))), 1)
129
+ t("span", null, u(e(z)(e(h))), 1)
131
130
  ])
132
131
  ])
133
132
  ])
@@ -146,7 +145,7 @@ const Q = { class: "gift-card-validation-skeleton" }, Y = { class: "gift-card-va
146
145
  _: 1
147
146
  }, 8, ["styling"]));
148
147
  }
149
- }), y = /* @__PURE__ */ L(it, [["__scopeId", "data-v-ae703950"]]), lt = H(), rt = R();
148
+ }), y = /* @__PURE__ */ L(it, [["__scopeId", "data-v-ae703950"]]), lt = H(), rt = Z();
150
149
  class dt extends HTMLElement {
151
150
  vueApp;
152
151
  constructor() {
@@ -158,7 +157,7 @@ class dt extends HTMLElement {
158
157
  connectedCallback() {
159
158
  const s = typeof y == "function" ? y.options : y;
160
159
  let c = Array.isArray(s.props) ? s.props : Object.keys(s.props || {});
161
- const i = (a) => a.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (n, l) => (l ? "-" : "") + n.toLowerCase()), m = (a) => a.replace(/-./g, (n) => n[1].toUpperCase()), h = {};
160
+ const i = (a) => a.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (n, l) => (l ? "-" : "") + n.toLowerCase()), m = (a) => a.replace(/-./g, (n) => n[1].toUpperCase()), g = {};
162
161
  c = c.map(i);
163
162
  const p = {};
164
163
  for (const a of this.attributes) {
@@ -167,11 +166,11 @@ class dt extends HTMLElement {
167
166
  }
168
167
  for (const a of c) {
169
168
  let n = this.attributes.getNamedItem(a)?.value;
170
- p.hasOwnProperty(a) && (n = p[a]), h[a] = n;
169
+ p.hasOwnProperty(a) && (n = p[a]), g[a] = n;
171
170
  }
172
- this.vueApp = $(y, h), Z(this.vueApp), this.vueApp.provide("emitter", rt), this.vueApp.use(lt), this.vueApp.use(j);
173
- const b = document.createElement("div");
174
- this.vueApp.mount(b), this.appendChild(b.children[0]);
171
+ this.vueApp = $(y, g), j(this.vueApp), this.vueApp.provide("emitter", rt), this.vueApp.use(lt), this.vueApp.use(R);
172
+ const h = document.createElement("div");
173
+ this.vueApp.mount(h), this.appendChild(h.children[0]);
175
174
  }
176
175
  }
177
176
  window.customElements.define("konnectio-gift-card-validation", dt);
Binary file