@konnectio/core 4.0.59 → 4.0.60

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 (66) hide show
  1. package/dist/{ActionField-GHsNRSZm.js → ActionField-CVdLZg_F.js} +3 -3
  2. package/dist/ActionField-CVdLZg_F.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-CyvafyOT.js → AvailabilitySkeleton-D8hRAFp-.js} +22 -23
  4. package/dist/AvailabilitySkeleton-D8hRAFp-.js.br +0 -0
  5. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-B3_PxvDx.js +8668 -0
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-B3_PxvDx.js.br +0 -0
  7. package/dist/{CheckoutWindow-BqJ6ZsZD.js → CheckoutWindow-DUl3c-Tr.js} +40 -40
  8. package/dist/CheckoutWindow-DUl3c-Tr.js.br +0 -0
  9. package/dist/{ErrorMessage-144-POu6.js → ErrorMessage-Dt3tVome.js} +3 -3
  10. package/dist/ErrorMessage-Dt3tVome.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-CJff-76Z.js → EventAvailabilityForm-DqV-7Yhd.js} +5 -5
  12. package/dist/EventAvailabilityForm-DqV-7Yhd.js.br +0 -0
  13. package/dist/{Field-BrI8toPe.js → Field-Bir0Q2Cn.js} +3 -3
  14. package/dist/Field-Bir0Q2Cn.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BO7fGNh_.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bz5ezFs1.js} +148 -259
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bz5ezFs1.js.br +0 -0
  17. package/dist/TermsOfService-Bi-4Y-Eu.js +36 -0
  18. package/dist/TermsOfService-Bi-4Y-Eu.js.br +0 -0
  19. package/dist/{_-CHRCWC6p.js → _-BaPwdDXA.js} +2 -2
  20. package/dist/{_.vue_vue_type_style_index_0_lang-BUoCnNZd.js → _.vue_vue_type_style_index_0_lang-9DUPh09R.js} +4 -4
  21. package/dist/_.vue_vue_type_style_index_0_lang-9DUPh09R.js.br +0 -0
  22. package/dist/{_commonjsHelpers-CYyxJoRf.js → _commonjsHelpers-4acPj2Ir.js} +2 -2
  23. package/dist/{_sentry-release-injection-file-CkMeg-D2.js → _sentry-release-injection-file-CSY2pTJK.js} +3458 -3488
  24. package/dist/_sentry-release-injection-file-CSY2pTJK.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 +44 -43
  30. package/dist/event.js.br +0 -0
  31. package/dist/gift-card-validation.js +29 -28
  32. package/dist/gift-card-validation.js.br +0 -0
  33. package/dist/gift-card.js +72 -71
  34. package/dist/gift-card.js.br +0 -0
  35. package/dist/{giftCard-DtBMjMxF.js → giftCard-DrbtM1MV.js} +4 -4
  36. package/dist/giftCard-DrbtM1MV.js.br +0 -0
  37. package/dist/hotel.js +23 -22
  38. package/dist/hotel.js.br +0 -0
  39. package/dist/masonry.plugin-CoSanVEe.js +10375 -0
  40. package/dist/masonry.plugin-CoSanVEe.js.br +0 -0
  41. package/dist/{mitt-Cbb-9RWx.js → mitt-Ciy52c7q.js} +92 -93
  42. package/dist/mitt-Ciy52c7q.js.br +0 -0
  43. package/dist/polyfill.js +568 -892
  44. package/dist/polyfill.js.br +0 -0
  45. package/dist/style-Bf1WJ5oD.js +2328 -0
  46. package/dist/style-Bf1WJ5oD.js.br +0 -0
  47. package/dist/style.css +1 -1
  48. package/dist/style.css.br +0 -0
  49. package/package.json +9 -9
  50. package/dist/ActionField-GHsNRSZm.js.br +0 -0
  51. package/dist/AvailabilitySkeleton-CyvafyOT.js.br +0 -0
  52. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-ClSHEX_d.js +0 -8658
  53. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-ClSHEX_d.js.br +0 -0
  54. package/dist/CheckoutWindow-BqJ6ZsZD.js.br +0 -0
  55. package/dist/ErrorMessage-144-POu6.js.br +0 -0
  56. package/dist/EventAvailabilityForm-CJff-76Z.js.br +0 -0
  57. package/dist/Field-BrI8toPe.js.br +0 -0
  58. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BO7fGNh_.js.br +0 -0
  59. package/dist/TermsOfService-DLQtIpLt.js +0 -36
  60. package/dist/TermsOfService-DLQtIpLt.js.br +0 -0
  61. package/dist/_.vue_vue_type_style_index_0_lang-BUoCnNZd.js.br +0 -0
  62. package/dist/_sentry-release-injection-file-CkMeg-D2.js.br +0 -0
  63. package/dist/giftCard-DtBMjMxF.js.br +0 -0
  64. package/dist/masonry.plugin-Ch8U9Epf.js +0 -12782
  65. package/dist/masonry.plugin-Ch8U9Epf.js.br +0 -0
  66. package/dist/mitt-Cbb-9RWx.js.br +0 -0
@@ -1,10 +1,10 @@
1
- import { d as E, r as I, c as v, o as S, a as u, b as m, w as b, S as T, e as t, f as h, g as N, n as _, h as g, t as L, u as A, F as z, i as w, T as B, p as D, j as M, k as P } from "./_sentry-release-injection-file-CkMeg-D2.js";
2
- import { u as F, c as H, i as V, m as j } from "./mitt-Cbb-9RWx.js";
3
- import { u as O, C as $, _ as U } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BO7fGNh_.js";
4
- import { _ as Z } from "./_.vue_vue_type_style_index_0_lang-BUoCnNZd.js";
5
- import { H as x, A as K } from "./AvailabilitySkeleton-CyvafyOT.js";
6
- import { E as q } from "./EventAvailabilityForm-CJff-76Z.js";
7
- import { E as G } from "./ErrorMessage-144-POu6.js";
1
+ import { d as E, r as I, c as v, o as S, a as u, b as m, w as b, S as T, e as t, f as h, g as N, n as _, h as g, t as L, u as A, F as z, i as w, T as B, p as D, j as M, k as P } from "./_sentry-release-injection-file-CSY2pTJK.js";
2
+ import { u as F, c as H, i as V, m as j } from "./mitt-Ciy52c7q.js";
3
+ import { u as O, C as $, _ as U } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bz5ezFs1.js";
4
+ import { _ as Z } from "./_.vue_vue_type_style_index_0_lang-9DUPh09R.js";
5
+ import { H as x, A as K } from "./AvailabilitySkeleton-D8hRAFp-.js";
6
+ import { E as q } from "./EventAvailabilityForm-DqV-7Yhd.js";
7
+ import { E as G } from "./ErrorMessage-Dt3tVome.js";
8
8
  (function() {
9
9
  try {
10
10
  var a = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, o = new Error().stack;
Binary file
package/dist/deep-link.js CHANGED
@@ -1,5 +1,5 @@
1
- import { d as u, r as f, o as m, a as h, g as b, e as v, t as y, l as k, k as A } from "./_sentry-release-injection-file-CkMeg-D2.js";
2
- import { c as g, i as w, m as _ } from "./mitt-Cbb-9RWx.js";
1
+ import { d as u, r as f, o as m, a as h, g as b, e as v, t as y, l as k, k as A } from "./_sentry-release-injection-file-CSY2pTJK.js";
2
+ import { c as g, i as w, m as _ } from "./mitt-Ciy52c7q.js";
3
3
  (function() {
4
4
  try {
5
5
  var n = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, e = new Error().stack;
Binary file
package/dist/event.js CHANGED
@@ -1,15 +1,16 @@
1
- import { d as Z, r as Ye, c as ae, a as l, b as T, w as p, l as ne, u as e, e as t, f as g, g as d, i as v, t as o, m as Ze, q as Qe, s as j, F as R, v as U, S as We, x as _e, h as $e, p as Je, j as Ke, k as Xe } from "./_sentry-release-injection-file-CkMeg-D2.js";
2
- import { u as se, s as q, c as xe, i as et, m as tt } from "./mitt-Cbb-9RWx.js";
3
- import { a as Ae, l as nt, b as oe, s as le, c as be, B as ot, _ as ie, d as he, e as Oe, I as ge, f as lt, g as fe, h as G, u as we, i as at, T as x, O as st, C as it, j as rt, k as ct, m as dt } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BO7fGNh_.js";
4
- import { B as ut, R as mt, L as Se, S as pt, M as vt, C as bt, T as gt, V as ft, G as ht } from "./masonry.plugin-Ch8U9Epf.js";
5
- import { e as kt, c as yt, t as ee, g as Ve, m as De, a as Ee, b as Te, d as _t, f as Pe, u as Y } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-ClSHEX_d.js";
6
- import { _ as $t } from "./_.vue_vue_type_style_index_0_lang-BUoCnNZd.js";
7
- import { C as wt, P as Vt, a as Dt } from "./CheckoutWindow-BqJ6ZsZD.js";
8
- import { E as Et } from "./EventAvailabilityForm-CJff-76Z.js";
1
+ import { d as Z, r as Ye, c as ae, a as l, b as T, w as p, l as ne, u as e, e as t, f as g, g as d, i as v, t as o, m as Ze, q as Qe, s as j, F as R, v as U, S as We, x as _e, h as $e, p as Je, j as Ke, k as Xe } from "./_sentry-release-injection-file-CSY2pTJK.js";
2
+ import { u as se, s as q, c as xe, i as et, m as tt } from "./mitt-Ciy52c7q.js";
3
+ import { a as Ae, l as nt, b as oe, s as le, c as be, B as ot, _ as ie, d as he, e as Oe, I as ge, f as lt, g as fe, h as G, u as we, i as at, T as x, O as st, C as it, j as rt, k as ct, m as dt } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bz5ezFs1.js";
4
+ import { G as ut } from "./style-Bf1WJ5oD.js";
5
+ import { e as mt, c as pt, t as ee, g as Ve, m as De, a as Ee, b as Te, d as vt, f as Pe, u as Y } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-B3_PxvDx.js";
6
+ import { _ as bt } from "./_.vue_vue_type_style_index_0_lang-9DUPh09R.js";
7
+ import { B as gt, R as ft, L as Se, S as ht, M as kt, C as yt, T as _t, V as $t } from "./masonry.plugin-CoSanVEe.js";
8
+ import { C as wt, P as Vt, a as Dt } from "./CheckoutWindow-DUl3c-Tr.js";
9
+ import { E as Et } from "./EventAvailabilityForm-DqV-7Yhd.js";
9
10
  (function() {
10
11
  try {
11
12
  var u = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
12
- n && (u._sentryDebugIds = u._sentryDebugIds || {}, u._sentryDebugIds[n] = "3e5fedb9-7f88-4aec-8442-69462a26d141", u._sentryDebugIdIdentifier = "sentry-dbid-3e5fedb9-7f88-4aec-8442-69462a26d141");
13
+ n && (u._sentryDebugIds = u._sentryDebugIds || {}, u._sentryDebugIds[n] = "6712057b-ad28-414e-8e31-6ed9cd78fc1d", u._sentryDebugIdIdentifier = "sentry-dbid-6712057b-ad28-414e-8e31-6ed9cd78fc1d");
13
14
  } catch {
14
15
  }
15
16
  })();
@@ -20,7 +21,7 @@ function Tt(u) {
20
21
  };
21
22
  }
22
23
  function Pt(u, n, r) {
23
- const m = _t(), f = r?.locale ?? m.locale ?? kt, s = yt(u, n);
24
+ const m = vt(), f = r?.locale ?? m.locale ?? mt, s = pt(u, n);
24
25
  if (isNaN(s))
25
26
  throw new RangeError("Invalid time value");
26
27
  const b = Object.assign({}, r, {
@@ -29,7 +30,7 @@ function Pt(u, n, r) {
29
30
  });
30
31
  let $, c;
31
32
  s > 0 ? ($ = ee(n), c = ee(u)) : ($ = ee(u), c = ee(n));
32
- const h = Tt(r?.roundingMethod ?? "round"), y = c.getTime() - $.getTime(), E = y / Pe, V = Ve(c) - Ve($), P = (y - V) / Pe, I = r?.unit;
33
+ const h = Tt(r?.roundingMethod ?? "round"), y = c.getTime() - $.getTime(), E = y / Pe, w = Ve(c) - Ve($), P = (y - w) / Pe, I = r?.unit;
33
34
  let _;
34
35
  if (I ? _ = I : E < 1 ? _ = "second" : E < 60 ? _ = "minute" : E < De ? _ = "hour" : P < Ee ? _ = "day" : P < Te ? _ = "month" : _ = "year", _ === "second") {
35
36
  const i = h(y / 1e3);
@@ -84,18 +85,18 @@ const At = { class: "konnectio-event-listing-action" }, Ot = { class: "konnectio
84
85
  getTemplateAvailability: h,
85
86
  getEventAvailability: y,
86
87
  isEventListingLoading: E
87
- } = Y(), V = Ye(0), P = ae(() => E(r.listingId)), I = () => {
88
- V.value > 0 ? (b.value = r.listingId, s.value = V.value, h(r.callback)) : m({
88
+ } = Y(), w = Ye(0), P = ae(() => E(r.listingId)), I = () => {
89
+ w.value > 0 ? (b.value = r.listingId, s.value = w.value, h(r.callback)) : m({
89
90
  type: "error",
90
91
  message: n("alert.error.selectPeople")
91
92
  });
92
93
  }, _ = () => {
93
- V.value > 0 ? (b.value = r.listingId, c.value = r.tableGroupId, s.value = V.value, y(r.callback)) : m({
94
+ w.value > 0 ? (b.value = r.listingId, c.value = r.tableGroupId, s.value = w.value, y(r.callback)) : m({
94
95
  type: "error",
95
96
  message: n("alert.error.selectPeople")
96
97
  });
97
98
  };
98
- return (i, L) => (l(), T(ut, {
99
+ return (i, L) => (l(), T(gt, {
99
100
  type: "event",
100
101
  "listing-id": i.listingId,
101
102
  gallery: i.gallery,
@@ -111,8 +112,8 @@ const At = { class: "konnectio-event-listing-action" }, Ot = { class: "konnectio
111
112
  action: p(() => [
112
113
  t("div", At, [
113
114
  g(oe, {
114
- modelValue: V.value,
115
- "onUpdate:modelValue": L[0] || (L[0] = (N) => V.value = N),
115
+ modelValue: w.value,
116
+ "onUpdate:modelValue": L[0] || (L[0] = (N) => w.value = N),
116
117
  label: e(n)("event.numberOfGuests"),
117
118
  icon: "users",
118
119
  "icon-type": "fas",
@@ -274,7 +275,7 @@ const Lt = {
274
275
  currentEventDate: h,
275
276
  length: y,
276
277
  fromDate: E,
277
- tableBasePrice: V,
278
+ tableBasePrice: w,
278
279
  getTemplateData: P,
279
280
  basePrice: I,
280
281
  totalPrice: _,
@@ -282,7 +283,7 @@ const Lt = {
282
283
  roomUpgrade: L,
283
284
  discountCode: N
284
285
  } = q(Y()), { totalAddonPrice: re, validateDiscountCode: ce } = Y(), { currency: K, hideEventLength: de } = q(he());
285
- return (F, X) => (l(), T(mt, {
286
+ return (F, X) => (l(), T(ft, {
286
287
  "discount-code": e(N),
287
288
  "onUpdate:discountCode": X[0] || (X[0] = (H) => U(N) ? N.value = H : null),
288
289
  "validate-discount-code": e(ce),
@@ -333,9 +334,9 @@ const Lt = {
333
334
  ])) : v("", !0)
334
335
  ]),
335
336
  "price-summary": p(() => [
336
- !e(c) && e(V) > 0 ? (l(), d("li", Zt, [
337
+ !e(c) && e(w) > 0 ? (l(), d("li", Zt, [
337
338
  t("span", null, o(e(n)("booking.availability.basePrice")), 1),
338
- t("b", null, o(e(G)(e(V), e(K))), 1)
339
+ t("b", null, o(e(G)(e(w), e(K))), 1)
339
340
  ])) : v("", !0),
340
341
  e(P) ? (l(!0), d(R, { key: 1 }, j(e(P), ({ roomGroupId: H }, M) => (l(), d("li", { key: H }, [
341
342
  t("span", null, o(e(n)("booking.reservation.addons")) + " - " + o(e(n)("booking.reservation.room")) + " #" + o(M + 1), 1),
@@ -365,11 +366,11 @@ const Lt = {
365
366
  ]),
366
367
  t("div", Jt, [
367
368
  v("", !0),
368
- g(pt)
369
+ g(ht)
369
370
  ])
370
371
  ]));
371
372
  }
372
- }), Xt = /* @__PURE__ */ ie(Kt, [["__scopeId", "data-v-3e15c4e3"]]), z = (u) => (Je("data-v-62ec24db"), u = u(), Ke(), u), xt = {
373
+ }), Xt = /* @__PURE__ */ ie(Kt, [["__scopeId", "data-v-3e15c4e3"]]), z = (u) => (Je("data-v-58c8f46a"), u = u(), Ke(), u), xt = {
373
374
  key: 0,
374
375
  id: "konnectio-event-listings-wrapper"
375
376
  };
@@ -401,7 +402,7 @@ const tn = { class: "konnectio-event-listings" }, nn = {
401
402
  allergies: h,
402
403
  arrivalTime: y,
403
404
  hasEvents: E,
404
- hasTemplates: V,
405
+ hasTemplates: w,
405
406
  getEvents: P,
406
407
  getTemplates: I,
407
408
  getEventData: _,
@@ -449,22 +450,22 @@ const tn = { class: "konnectio-event-listings" }, nn = {
449
450
  icon: "calendar-check"
450
451
  }
451
452
  ], Ge = ae(() => {
452
- const w = [];
453
+ const V = [];
453
454
  return L.value && L.value.forEach((k) => {
454
- w.push({
455
+ V.push({
455
456
  label: fe(k.time),
456
457
  value: k.time
457
458
  });
458
- }), w;
459
+ }), V;
459
460
  });
460
461
  function qe() {
461
- const w = rt("hash-params", {
462
+ const V = rt("hash-params", {
462
463
  removeNullishValues: !0
463
- }), k = parseInt(w.rid), S = w.d, A = parseInt(w.eid);
464
+ }), k = parseInt(V.rid), S = V.d, A = parseInt(V.eid);
464
465
  if (S)
465
466
  if (ct(S)) {
466
467
  const C = new Date(S), B = C.setHours(12, 0, 0, 0), D = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
467
- B >= D ? (Ie.value = C, w.d = void 0) : ue({
468
+ B >= D ? (Ie.value = C, V.d = void 0) : ue({
468
469
  message: n("alert.error.invalidDateRange"),
469
470
  type: "error"
470
471
  });
@@ -473,35 +474,35 @@ const tn = { class: "konnectio-event-listings" }, nn = {
473
474
  message: n("alert.error.wrongDateFormat"),
474
475
  type: "error"
475
476
  });
476
- isNaN(k) || (Be(k) ? (Le.value = k, w.rid = void 0) : ue({
477
+ isNaN(k) || (Be(k) ? Le.value = k : ue({
477
478
  message: n("alert.error.hotelIdNotFound"),
478
479
  type: "error"
479
480
  }));
480
481
  let a;
481
482
  isNaN(A) || (a = A), Me(a);
482
483
  }
483
- return (w, k) => (l(), T(it, { styling: w.styling }, {
484
+ return (V, k) => (l(), T(it, { styling: V.styling }, {
484
485
  default: p(() => [
485
486
  (l(), T(We, { onResolve: qe }, {
486
487
  default: p(() => [
487
- g($t, {
488
+ g(bt, {
488
489
  id: "konnectio-event-module",
489
- "access-token": w.accessToken,
490
+ "access-token": V.accessToken,
490
491
  callback: e(Ne)
491
492
  }, {
492
493
  default: p(() => [
493
- g(vt, { steps: Fe }, {
494
+ g(kt, { steps: Fe }, {
494
495
  availability: p(({ next: S }) => [
495
496
  g(ve, null, {
496
497
  sidebar: p(() => [
497
498
  g(Et, {
498
499
  redirection: !1,
499
- "selected-location": Number(w.selectedLocation)
500
+ "selected-location": Number(V.selectedLocation)
500
501
  }, null, 8, ["selected-location"])
501
502
  ]),
502
503
  form: p(() => [
503
504
  e(de) && e(ce) ? (l(), d("div", xt, [
504
- e(E) && w.onlyShow !== "templates" ? (l(), d(R, { key: 0 }, [
505
+ e(E) && V.onlyShow !== "templates" ? (l(), d(R, { key: 0 }, [
505
506
  v("", !0),
506
507
  t("ul", en, [
507
508
  (l(!0), d(R, null, j(e(P), ({
@@ -539,7 +540,7 @@ const tn = { class: "konnectio-event-listings" }, nn = {
539
540
  }, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "callback"]))), 128))
540
541
  ])
541
542
  ], 64)) : v("", !0),
542
- e(V) && w.onlyShow !== "events" ? (l(), d(R, { key: 1 }, [
543
+ e(w) && V.onlyShow !== "events" ? (l(), d(R, { key: 1 }, [
543
544
  v("", !0),
544
545
  t("ul", tn, [
545
546
  (l(!0), d(R, null, j(e(I), ({
@@ -565,7 +566,7 @@ const tn = { class: "konnectio-event-listings" }, nn = {
565
566
  }, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
566
567
  ])
567
568
  ], 64)) : v("", !0),
568
- !e(E) && !e(V) || !e(E) && w.onlyShow === "events" || !e(V) && w.onlyShow === "templates" ? (l(), d("div", nn, [
569
+ !e(E) && !e(w) || !e(E) && V.onlyShow === "events" || !e(w) && V.onlyShow === "templates" ? (l(), d("div", nn, [
569
570
  t("span", null, o(e(n)("event.nothingAvailable")), 1)
570
571
  ])) : v("", !0)
571
572
  ])) : (l(), T(Se, { key: 1 }))
@@ -752,7 +753,7 @@ const tn = { class: "konnectio-event-listings" }, nn = {
752
753
  placeholder: e(n)("booking.reservation.phonePlaceholder"),
753
754
  required: ""
754
755
  }, null, 8, ["modelValue", "label", "placeholder"]),
755
- e(H) ? (l(), T(bt, {
756
+ e(H) ? (l(), T(yt, {
756
757
  key: 0,
757
758
  modelValue: e(y),
758
759
  "onUpdate:modelValue": k[3] || (k[3] = (a) => U(y) ? y.value = a : null),
@@ -809,7 +810,7 @@ const tn = { class: "konnectio-event-listings" }, nn = {
809
810
  g(Dt)
810
811
  ]),
811
812
  confirmation: p(() => [
812
- g(gt, {
813
+ g(_t, {
813
814
  message: e(n)("event.confirmationMessage")
814
815
  }, null, 8, ["message"])
815
816
  ]),
@@ -828,7 +829,7 @@ const tn = { class: "konnectio-event-listings" }, nn = {
828
829
  _: 1
829
830
  }, 8, ["styling"]));
830
831
  }
831
- }), te = /* @__PURE__ */ ie(Tn, [["__scopeId", "data-v-62ec24db"]]), Pn = xe(), An = tt();
832
+ }), te = /* @__PURE__ */ ie(Tn, [["__scopeId", "data-v-58c8f46a"]]), Pn = xe(), An = tt();
832
833
  class On extends HTMLElement {
833
834
  vueApp;
834
835
  constructor() {
@@ -851,7 +852,7 @@ class On extends HTMLElement {
851
852
  let h = this.attributes.getNamedItem(c)?.value;
852
853
  b.hasOwnProperty(c) && (h = b[c]), s[c] = h;
853
854
  }
854
- this.vueApp = Xe(te, s), this.vueApp.provide("emitter", An), this.vueApp.use(et), this.vueApp.use(Pn), this.vueApp.use(ft), this.vueApp.use(ht), this.vueApp.use(dt, { bootstrap: !0 });
855
+ this.vueApp = Xe(te, s), this.vueApp.provide("emitter", An), this.vueApp.use(et), this.vueApp.use(Pn), this.vueApp.use($t), this.vueApp.use(ut), this.vueApp.use(dt, { bootstrap: !0 });
855
856
  const $ = document.createElement("div");
856
857
  this.vueApp.mount($), this.appendChild($.children[0]);
857
858
  }
package/dist/event.js.br CHANGED
Binary file
@@ -1,40 +1,41 @@
1
- import { d as L, a as f, g as V, e as t, f as o, c as X, b as _, w as v, S as P, u as e, t as u, v as w, i as T, h as $, k as B } from "./_sentry-release-injection-file-CkMeg-D2.js";
2
- import { u as N, s as x, c as U, i as O, m as z } from "./mitt-Cbb-9RWx.js";
3
- import { E as k, _ as S, q as E, d as F, I as C, h as H, s as j, C as R } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BO7fGNh_.js";
4
- import { u as Z } from "./giftCard-DtBMjMxF.js";
5
- import { _ as q } from "./_.vue_vue_type_style_index_0_lang-BUoCnNZd.js";
6
- import { A as W } from "./ActionField-GHsNRSZm.js";
7
- import { F as I } from "./Field-BrI8toPe.js";
8
- import { E as J } from "./ErrorMessage-144-POu6.js";
1
+ import { d as I, a as f, g as V, e as t, f as o, c as X, b as _, w as v, S as P, u as e, t as u, v as w, i as T, h as $, k as B } from "./_sentry-release-injection-file-CSY2pTJK.js";
2
+ import { u as N, s as x, c as U, i as O, m as z } from "./mitt-Ciy52c7q.js";
3
+ import { E as k, _ as L, q as E, d as F, I as C, h as H, s as j, C as R } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bz5ezFs1.js";
4
+ import { u as Z } from "./giftCard-DrbtM1MV.js";
5
+ import { _ as q } from "./_.vue_vue_type_style_index_0_lang-9DUPh09R.js";
6
+ import { A as W } from "./ActionField-CVdLZg_F.js";
7
+ import { F as G } from "./Field-Bir0Q2Cn.js";
8
+ import { E as J } from "./ErrorMessage-Dt3tVome.js";
9
+ import { G as K } from "./style-Bf1WJ5oD.js";
9
10
  (function() {
10
11
  try {
11
12
  var r = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, s = new Error().stack;
12
- s && (r._sentryDebugIds = r._sentryDebugIds || {}, r._sentryDebugIds[s] = "e107e9ff-76e5-429a-8dad-1dc784a2edd6", r._sentryDebugIdIdentifier = "sentry-dbid-e107e9ff-76e5-429a-8dad-1dc784a2edd6");
13
+ s && (r._sentryDebugIds = r._sentryDebugIds || {}, r._sentryDebugIds[s] = "0689299a-3186-428b-9ecd-97d4447dbc26", r._sentryDebugIdIdentifier = "sentry-dbid-0689299a-3186-428b-9ecd-97d4447dbc26");
13
14
  } catch {
14
15
  }
15
16
  })();
16
- const K = { class: "gift-card-validation-skeleton" }, Q = { class: "gift-card-validation-skeleton-form" }, Y = { class: "gift-card-validation-skeleton-text" }, tt = { class: "gift-card-validation-skeleton-input" }, et = /* @__PURE__ */ L({
17
+ const Q = { class: "gift-card-validation-skeleton" }, Y = { class: "gift-card-validation-skeleton-form" }, tt = { class: "gift-card-validation-skeleton-text" }, et = { class: "gift-card-validation-skeleton-input" }, at = /* @__PURE__ */ I({
17
18
  __name: "GiftCardValidationSkeleton",
18
19
  setup(r) {
19
- return (s, c) => (f(), V("div", K, [
20
- t("div", Q, [
21
- t("div", Y, [
20
+ return (s, c) => (f(), V("div", Q, [
21
+ t("div", Y, [
22
+ t("div", tt, [
22
23
  o(k, { height: "20px" }),
23
24
  o(k, { height: "15px" }),
24
25
  o(k, { height: "15px" })
25
26
  ]),
26
- t("div", tt, [
27
- o(I),
28
- o(I, { "no-label": "" })
27
+ t("div", et, [
28
+ o(G),
29
+ o(G, { "no-label": "" })
29
30
  ])
30
31
  ])
31
32
  ]));
32
33
  }
33
- }), at = /* @__PURE__ */ S(et, [["__scopeId", "data-v-b1601b74"]]), nt = ["innerHTML"], ot = {
34
+ }), nt = /* @__PURE__ */ L(at, [["__scopeId", "data-v-b1601b74"]]), ot = ["innerHTML"], st = {
34
35
  key: 0,
35
36
  id: "konnectio-gift-card-validation-resume",
36
37
  class: "konnectio-panel"
37
- }, st = /* @__PURE__ */ L({
38
+ }, it = /* @__PURE__ */ I({
38
39
  name: "GiftCardValidationLayout",
39
40
  __name: "GiftCardValidation",
40
41
  props: {
@@ -52,7 +53,7 @@ const K = { class: "gift-card-validation-skeleton" }, Q = { class: "gift-card-va
52
53
  expirationDate: b,
53
54
  productName: a,
54
55
  isLoading: n
55
- } = x(E()), { currency: l, hasError: G } = x(F()), { fetchMetadata: D } = Z(), { apply: A } = E();
56
+ } = x(E()), { currency: l, hasError: S } = x(F()), { fetchMetadata: D } = Z(), { apply: A } = E();
56
57
  return (M, d) => (f(), _(R, { styling: c.value }, {
57
58
  default: v(() => [
58
59
  (f(), _(P, null, {
@@ -62,7 +63,7 @@ const K = { class: "gift-card-validation-skeleton" }, Q = { class: "gift-card-va
62
63
  callback: e(D)
63
64
  }, {
64
65
  default: v(() => [
65
- e(G) ? (f(), _(J, {
66
+ e(S) ? (f(), _(J, {
66
67
  key: 1,
67
68
  title: "Unable to render Gift card validation module",
68
69
  description: "Gift card functionality hasn't been setup for this account. Please contact Octopus PMS for support."
@@ -76,7 +77,7 @@ const K = { class: "gift-card-validation-skeleton" }, Q = { class: "gift-card-va
76
77
  ]),
77
78
  t("p", {
78
79
  innerHTML: e(i)("giftCardValidation.description")
79
- }, null, 8, nt),
80
+ }, null, 8, ot),
80
81
  o(W, {
81
82
  modelValue: e(m),
82
83
  "onUpdate:modelValue": d[0] || (d[0] = (g) => w(m) ? m.value = g : null),
@@ -88,7 +89,7 @@ const K = { class: "gift-card-validation-skeleton" }, Q = { class: "gift-card-va
88
89
  "onUpdate:isLoading": d[1] || (d[1] = (g) => w(n) ? n.value = g : null),
89
90
  onAction: d[2] || (d[2] = (g) => e(A)())
90
91
  }, null, 8, ["modelValue", "label", "buttonLabel", "is-loading"]),
91
- !e(n) && e(h) ? (f(), V("table", ot, [
92
+ !e(n) && e(h) ? (f(), V("table", st, [
92
93
  t("thead", null, [
93
94
  t("tr", null, [
94
95
  t("th", null, [
@@ -137,7 +138,7 @@ const K = { class: "gift-card-validation-skeleton" }, Q = { class: "gift-card-va
137
138
  }, 8, ["access-token", "callback"])
138
139
  ]),
139
140
  fallback: v(() => [
140
- o(at)
141
+ o(nt)
141
142
  ]),
142
143
  _: 1
143
144
  }))
@@ -145,8 +146,8 @@ const K = { class: "gift-card-validation-skeleton" }, Q = { class: "gift-card-va
145
146
  _: 1
146
147
  }, 8, ["styling"]));
147
148
  }
148
- }), y = /* @__PURE__ */ S(st, [["__scopeId", "data-v-ae703950"]]), it = U(), lt = z();
149
- class rt extends HTMLElement {
149
+ }), y = /* @__PURE__ */ L(it, [["__scopeId", "data-v-ae703950"]]), lt = U(), rt = z();
150
+ class dt extends HTMLElement {
150
151
  vueApp;
151
152
  constructor() {
152
153
  super();
@@ -168,13 +169,13 @@ class rt extends HTMLElement {
168
169
  let n = this.attributes.getNamedItem(a)?.value;
169
170
  p.hasOwnProperty(a) && (n = p[a]), h[a] = n;
170
171
  }
171
- this.vueApp = B(y, h), this.vueApp.provide("emitter", lt), this.vueApp.use(it), this.vueApp.use(O);
172
+ this.vueApp = B(y, h), this.vueApp.provide("emitter", rt), this.vueApp.use(lt), this.vueApp.use(O), this.vueApp.use(K);
172
173
  const b = document.createElement("div");
173
174
  this.vueApp.mount(b), this.appendChild(b.children[0]);
174
175
  }
175
176
  }
176
- window.customElements.define("konnectio-gift-card-validation", rt);
177
+ window.customElements.define("konnectio-gift-card-validation", dt);
177
178
  export {
178
- rt as default
179
+ dt as default
179
180
  };
180
181
  //# sourceMappingURL=gift-card-validation.js.map
Binary file