@konnectio/core 4.3.11 → 4.3.12

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 (101) hide show
  1. package/dist/{ActionField-D3-kXEzx.js → ActionField-DivnlWwr.js} +2 -2
  2. package/dist/ActionField-DivnlWwr.js.br +0 -0
  3. package/dist/ActionField-DivnlWwr.js.gz +0 -0
  4. package/dist/{AvailabilitySkeleton-DgO-n_8n.js → AvailabilitySkeleton-BbN3HGGZ.js} +5 -5
  5. package/dist/AvailabilitySkeleton-BbN3HGGZ.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-BbN3HGGZ.js.gz +0 -0
  7. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DJYcZJ9O.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CqxL5wqm.js} +2 -2
  8. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CqxL5wqm.js.br +0 -0
  9. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CqxL5wqm.js.gz +0 -0
  10. package/dist/{CheckoutWindow-D3r0WtY6.js → CheckoutWindow-CmfrGnbA.js} +2 -2
  11. package/dist/CheckoutWindow-CmfrGnbA.js.br +0 -0
  12. package/dist/CheckoutWindow-CmfrGnbA.js.gz +0 -0
  13. package/dist/{ErrorMessage-CQHzetEi.js → ErrorMessage-4MXpqaXD.js} +2 -2
  14. package/dist/ErrorMessage-4MXpqaXD.js.br +0 -0
  15. package/dist/ErrorMessage-4MXpqaXD.js.gz +0 -0
  16. package/dist/{EventAvailabilityForm-DdjJ98Sr.js → EventAvailabilityForm-EyPVmaUm.js} +3 -3
  17. package/dist/EventAvailabilityForm-EyPVmaUm.js.br +0 -0
  18. package/dist/EventAvailabilityForm-EyPVmaUm.js.gz +0 -0
  19. package/dist/{Field-CgE5qoD5.js → Field-BedslkRK.js} +3 -3
  20. package/dist/Field-BedslkRK.js.br +0 -0
  21. package/dist/Field-BedslkRK.js.gz +0 -0
  22. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CcuC32x4.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BVauduNx.js} +2 -2
  23. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BVauduNx.js.br +0 -0
  24. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BVauduNx.js.gz +0 -0
  25. package/dist/{SelectField.vue_vue_type_style_index_0_lang-Ca_Lvfa9.js → SelectField.vue_vue_type_style_index_0_lang-B1yAx7tn.js} +2 -2
  26. package/dist/SelectField.vue_vue_type_style_index_0_lang-B1yAx7tn.js.br +0 -0
  27. package/dist/SelectField.vue_vue_type_style_index_0_lang-B1yAx7tn.js.gz +0 -0
  28. package/dist/{TermsOfService-DIREtDii.js → TermsOfService-CKQh8zWC.js} +3 -3
  29. package/dist/TermsOfService-CKQh8zWC.js.br +0 -0
  30. package/dist/TermsOfService-CKQh8zWC.js.gz +0 -0
  31. package/dist/_-B-sn2era.js +5 -0
  32. package/dist/_-B-sn2era.js.br +0 -0
  33. package/dist/_-B-sn2era.js.gz +0 -0
  34. package/dist/{_.vue_vue_type_style_index_0_lang-EAANxxza.js → _.vue_vue_type_style_index_0_lang-BUXMhls4.js} +2 -2
  35. package/dist/_.vue_vue_type_style_index_0_lang-BUXMhls4.js.br +0 -0
  36. package/dist/_.vue_vue_type_style_index_0_lang-BUXMhls4.js.gz +0 -0
  37. package/dist/availability.js +6 -6
  38. package/dist/availability.js.br +0 -0
  39. package/dist/availability.js.gz +0 -0
  40. package/dist/cancel-reservation.js +3 -3
  41. package/dist/cancel-reservation.js.br +0 -0
  42. package/dist/cancel-reservation.js.gz +0 -0
  43. package/dist/core.css +1 -1
  44. package/dist/core.css.br +0 -0
  45. package/dist/core.css.gz +0 -0
  46. package/dist/event.js +67 -67
  47. package/dist/event.js.br +0 -0
  48. package/dist/event.js.gz +0 -0
  49. package/dist/gift-card-validation.js +7 -7
  50. package/dist/gift-card-validation.js.br +0 -0
  51. package/dist/gift-card-validation.js.gz +0 -0
  52. package/dist/gift-card.js +9 -9
  53. package/dist/gift-card.js.br +0 -0
  54. package/dist/gift-card.js.gz +0 -0
  55. package/dist/{giftCard-w6EdQBu5.js → giftCard-B5H9eaai.js} +2 -2
  56. package/dist/giftCard-B5H9eaai.js.br +0 -0
  57. package/dist/giftCard-B5H9eaai.js.gz +0 -0
  58. package/dist/hotel.js +108 -103
  59. package/dist/hotel.js.br +0 -0
  60. package/dist/hotel.js.gz +0 -0
  61. package/dist/{index-B_YlBgxd.js → index-BYZ-UMcz.js} +3 -3
  62. package/dist/index-BYZ-UMcz.js.br +0 -0
  63. package/dist/index-BYZ-UMcz.js.gz +0 -0
  64. package/dist/{masonry.plugin-D7MzUNqb.js → masonry.plugin-DEdrOk0-.js} +5 -5
  65. package/dist/masonry.plugin-DEdrOk0-.js.br +0 -0
  66. package/dist/masonry.plugin-DEdrOk0-.js.gz +0 -0
  67. package/dist/polyfill.js +1 -1
  68. package/dist/polyfill.js.br +0 -0
  69. package/dist/polyfill.js.gz +0 -0
  70. package/package.json +2 -2
  71. package/dist/ActionField-D3-kXEzx.js.br +0 -0
  72. package/dist/ActionField-D3-kXEzx.js.gz +0 -0
  73. package/dist/AvailabilitySkeleton-DgO-n_8n.js.br +0 -0
  74. package/dist/AvailabilitySkeleton-DgO-n_8n.js.gz +0 -0
  75. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DJYcZJ9O.js.br +0 -0
  76. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DJYcZJ9O.js.gz +0 -0
  77. package/dist/CheckoutWindow-D3r0WtY6.js.br +0 -0
  78. package/dist/CheckoutWindow-D3r0WtY6.js.gz +0 -0
  79. package/dist/ErrorMessage-CQHzetEi.js.br +0 -0
  80. package/dist/ErrorMessage-CQHzetEi.js.gz +0 -0
  81. package/dist/EventAvailabilityForm-DdjJ98Sr.js.br +0 -0
  82. package/dist/EventAvailabilityForm-DdjJ98Sr.js.gz +0 -0
  83. package/dist/Field-CgE5qoD5.js.br +0 -0
  84. package/dist/Field-CgE5qoD5.js.gz +0 -0
  85. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CcuC32x4.js.br +0 -0
  86. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CcuC32x4.js.gz +0 -0
  87. package/dist/SelectField.vue_vue_type_style_index_0_lang-Ca_Lvfa9.js.br +0 -0
  88. package/dist/SelectField.vue_vue_type_style_index_0_lang-Ca_Lvfa9.js.gz +0 -0
  89. package/dist/TermsOfService-DIREtDii.js.br +0 -0
  90. package/dist/TermsOfService-DIREtDii.js.gz +0 -0
  91. package/dist/_-BQbwBgmn.js +0 -5
  92. package/dist/_-BQbwBgmn.js.br +0 -0
  93. package/dist/_-BQbwBgmn.js.gz +0 -0
  94. package/dist/_.vue_vue_type_style_index_0_lang-EAANxxza.js.br +0 -0
  95. package/dist/_.vue_vue_type_style_index_0_lang-EAANxxza.js.gz +0 -0
  96. package/dist/giftCard-w6EdQBu5.js.br +0 -0
  97. package/dist/giftCard-w6EdQBu5.js.gz +0 -0
  98. package/dist/index-B_YlBgxd.js.br +0 -0
  99. package/dist/index-B_YlBgxd.js.gz +0 -0
  100. package/dist/masonry.plugin-D7MzUNqb.js.br +0 -0
  101. package/dist/masonry.plugin-D7MzUNqb.js.gz +0 -0
package/dist/core.css.br CHANGED
Binary file
package/dist/core.css.gz CHANGED
Binary file
package/dist/event.js CHANGED
@@ -1,13 +1,13 @@
1
- import { d as R, u as _, s as q, c as Z, r as Ie, a as m, b as l, g as e, w as v, q as K, e as n, i as r, f as h, n as lt, h as s, t as o, F as N, v as S, o as ot, j as it, x as ue, y as st, z as A, A as rt, S as ct, k as dt, _ as ut, l as mt, m as vt, p as bt } from "./mitt-CqW9zFaX.js";
1
+ import { d as M, u as _, s as q, c as Z, r as Ie, a as m, b as l, g as e, w as v, q as K, e as n, i as r, f as h, n as lt, h as s, t as o, F as N, v as R, o as ot, j as it, x as ue, y as st, z as S, A as rt, S as ct, k as dt, _ as ut, l as mt, m as vt, p as bt } from "./mitt-CqW9zFaX.js";
2
2
  import { G as gt } from "./style-Tyu_krEp.js";
3
- import { a as Ee, f as oe, g as X, h as Ae, B as ft, i as ae, l as kt, s as z, e as me, _ as G, I as le, j as yt, k as ve, u as Pe, m as ht, n as pt, o as Dt, p as J, T as de, O as Pt, q as Et, r as xe, C as $t, t as wt, v as xt } from "./SelectField.vue_vue_type_style_index_0_lang-Ca_Lvfa9.js";
4
- import { _ as Ot } from "./_.vue_vue_type_style_index_0_lang-EAANxxza.js";
5
- import { B as Tt, _ as Vt, R as Ft, L as Se, S as Nt, M as Lt, T as Ct, C as Bt, V as It, a as At } from "./masonry.plugin-D7MzUNqb.js";
6
- import { g as St, e as Rt, c as Mt, n as Ut, a as Oe, m as Te, b as Ve, d as Fe, f as Ne, _ as Ht } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DJYcZJ9O.js";
7
- import { C as Gt, P as zt, a as Le } from "./CheckoutWindow-D3r0WtY6.js";
8
- import { E as qt } from "./EventAvailabilityForm-DdjJ98Sr.js";
9
- import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CcuC32x4.js";
10
- import { f as Yt } from "./index-B_YlBgxd.js";
3
+ import { a as Ee, f as oe, g as X, h as Ae, B as ft, i as ae, l as kt, s as z, e as me, _ as G, I as le, j as yt, k as ve, u as Pe, m as ht, n as pt, o as Dt, p as J, T as de, O as Pt, q as Et, r as xe, C as $t, t as wt, v as xt } from "./SelectField.vue_vue_type_style_index_0_lang-B1yAx7tn.js";
4
+ import { _ as Ot } from "./_.vue_vue_type_style_index_0_lang-BUXMhls4.js";
5
+ import { B as Tt, _ as Vt, R as Ft, L as Se, S as Nt, M as Lt, T as Ct, C as Bt, V as It, a as At } from "./masonry.plugin-DEdrOk0-.js";
6
+ import { g as St, e as Rt, c as Mt, n as Ut, a as Oe, m as Te, b as Ve, d as Fe, f as Ne, _ as Ht } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CqxL5wqm.js";
7
+ import { C as Gt, P as zt, a as Le } from "./CheckoutWindow-CmfrGnbA.js";
8
+ import { E as qt } from "./EventAvailabilityForm-EyPVmaUm.js";
9
+ import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BVauduNx.js";
10
+ import { f as Yt } from "./index-BYZ-UMcz.js";
11
11
  function jt(t) {
12
12
  return (i) => {
13
13
  const f = (t ? Math[t] : Math.trunc)(i);
@@ -46,7 +46,7 @@ function Wt(t, i, a) {
46
46
  return b.formatDistance("xYears", D, g);
47
47
  }
48
48
  }
49
- const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__ */ R({
49
+ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__ */ M({
50
50
  __name: "_",
51
51
  props: {
52
52
  name: {},
@@ -96,7 +96,7 @@ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
96
96
  name: a.name,
97
97
  value: a.fromPrice || 0
98
98
  }), y.value = a.listingId, g.value = a.useNumberOfProductsForPersons ? NaN : u.value, $(a.callback);
99
- }, M = () => {
99
+ }, B = () => {
100
100
  if (!a.useNumberOfProductsForPersons && (u.value === 0 || isNaN(u.value))) {
101
101
  f({
102
102
  type: "error",
@@ -151,7 +151,7 @@ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
151
151
  "is-loading": D.value,
152
152
  "full-width": "",
153
153
  "sub-label": e(z)(e(p)),
154
- onClickEvent: U[1] || (U[1] = (Q) => t.type === "event" ? M() : Y())
154
+ onClickEvent: U[1] || (U[1] = (Q) => t.type === "event" ? B() : Y())
155
155
  }, null, 8, ["label", "disabled", "is-loading", "sub-label"])
156
156
  ])
157
157
  ], 2)
@@ -167,7 +167,7 @@ const Kt = {
167
167
  }, Xt = {
168
168
  key: 2,
169
169
  class: "konnectio-pill-button"
170
- }, _t = { key: 0 }, en = { key: 1 }, tn = /* @__PURE__ */ R({
170
+ }, _t = { key: 0 }, en = { key: 1 }, tn = /* @__PURE__ */ M({
171
171
  __name: "Event",
172
172
  props: {
173
173
  name: {},
@@ -255,7 +255,7 @@ const Kt = {
255
255
  }), be = /* @__PURE__ */ G(tn, [["__scopeId", "data-v-40cbbf2c"]]), nn = {
256
256
  key: 0,
257
257
  class: "konnectio-event-grouped-listings-container"
258
- }, an = { class: "konnectio-event-grouped-listings" }, ln = /* @__PURE__ */ R({
258
+ }, an = { class: "konnectio-event-grouped-listings" }, ln = /* @__PURE__ */ M({
259
259
  __name: "Event",
260
260
  props: {
261
261
  name: {},
@@ -267,7 +267,7 @@ const Kt = {
267
267
  return (i, a) => t.events && t.events.length > 1 ? (l(), s("div", nn, [
268
268
  r("", !0),
269
269
  n("ul", an, [
270
- (l(!0), s(N, null, S(t.events, ({
270
+ (l(!0), s(N, null, R(t.events, ({
271
271
  id: f,
272
272
  days: b,
273
273
  name: k,
@@ -322,7 +322,7 @@ const Kt = {
322
322
  callback: t.callback
323
323
  }, 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", "use-number-of-products-for-persons", "tracking-enabled", "callback"])) : r("", !0);
324
324
  }
325
- }), on = /* @__PURE__ */ G(ln, [["__scopeId", "data-v-374ad034"]]), sn = { class: "konnectio-special-offer-availability" }, rn = { class: "konnectio-special-offer-availability-button" }, cn = { class: "konnectio-warning-notice" }, dn = { key: 0 }, un = { key: 1 }, mn = /* @__PURE__ */ R({
325
+ }), on = /* @__PURE__ */ G(ln, [["__scopeId", "data-v-374ad034"]]), sn = { class: "konnectio-special-offer-availability" }, rn = { class: "konnectio-special-offer-availability-button" }, cn = { class: "konnectio-warning-notice" }, dn = { key: 0 }, un = { key: 1 }, mn = /* @__PURE__ */ M({
326
326
  __name: "NextEvent",
327
327
  props: {
328
328
  name: {},
@@ -414,7 +414,7 @@ const Kt = {
414
414
  }), Ce = /* @__PURE__ */ G(mn, [["__scopeId", "data-v-f6aed3b0"]]), vn = {
415
415
  key: 0,
416
416
  class: "konnectio-event-grouped-listings-container"
417
- }, bn = { class: "konnectio-event-grouped-listings" }, gn = /* @__PURE__ */ R({
417
+ }, bn = { class: "konnectio-event-grouped-listings" }, gn = /* @__PURE__ */ M({
418
418
  __name: "NextEvent",
419
419
  props: {
420
420
  name: {},
@@ -426,7 +426,7 @@ const Kt = {
426
426
  return (i, a) => t.events && t.events.length > 1 ? (l(), s("div", vn, [
427
427
  r("", !0),
428
428
  n("ul", bn, [
429
- (l(!0), s(N, null, S(t.events, ({
429
+ (l(!0), s(N, null, R(t.events, ({
430
430
  id: f,
431
431
  days: b,
432
432
  name: k,
@@ -442,7 +442,7 @@ const Kt = {
442
442
  maxOnlineReservationLimit: u,
443
443
  maxPaxPerReservation: D,
444
444
  useNumberOfProductsForPersons: Y,
445
- maxTicketsLimit: M
445
+ maxTicketsLimit: B
446
446
  }) => (l(), m(Ce, {
447
447
  key: f,
448
448
  type: "event",
@@ -455,7 +455,7 @@ const Kt = {
455
455
  days: b,
456
456
  "from-date": p,
457
457
  "to-date": P,
458
- "max-online-reservation-limit": D || u || M || void 0,
458
+ "max-online-reservation-limit": D || u || B || void 0,
459
459
  "time-from": g,
460
460
  "time-to": y,
461
461
  "sold-out": T,
@@ -485,7 +485,7 @@ const Kt = {
485
485
  callback: t.callback
486
486
  }, 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", "use-number-of-products-for-persons", "tracking-enabled", "callback"])) : r("", !0);
487
487
  }
488
- }), fn = /* @__PURE__ */ G(gn, [["__scopeId", "data-v-39263761"]]), kn = ["innerHTML"], yn = /* @__PURE__ */ R({
488
+ }), fn = /* @__PURE__ */ G(gn, [["__scopeId", "data-v-39263761"]]), kn = ["innerHTML"], yn = /* @__PURE__ */ M({
489
489
  __name: "FallbackEvent",
490
490
  props: {
491
491
  name: {},
@@ -519,7 +519,7 @@ const Kt = {
519
519
  _: 1
520
520
  }, 8, ["name", "description", "from-date", "gallery", "days", "listing-id", "tracking-enabled", "callback"]));
521
521
  }
522
- }), hn = /* @__PURE__ */ G(yn, [["__scopeId", "data-v-0167deff"]]), pn = /* @__PURE__ */ R({
522
+ }), hn = /* @__PURE__ */ G(yn, [["__scopeId", "data-v-0167deff"]]), pn = /* @__PURE__ */ M({
523
523
  __name: "Template",
524
524
  props: {
525
525
  name: {},
@@ -554,7 +554,7 @@ const Kt = {
554
554
  }, Pn = ["innerHTML"], En = { key: 0 }, $n = { key: 1 }, wn = { key: 2 }, xn = { key: 0 }, On = { key: 4 }, Tn = { key: 5 }, Vn = { key: 6 }, Fn = { key: 0 }, Nn = { key: 0 }, Ln = { key: 1 }, Cn = {
555
555
  key: 0,
556
556
  class: "konnectio-capitalize"
557
- }, Bn = /* @__PURE__ */ R({
557
+ }, Bn = /* @__PURE__ */ M({
558
558
  __name: "EventReservationForm",
559
559
  props: {
560
560
  showGiftCard: { type: Boolean, default: !1 },
@@ -578,14 +578,14 @@ const Kt = {
578
578
  totalPrice: u,
579
579
  weekendFee: D,
580
580
  roomUpgrade: Y,
581
- discountCode: M,
581
+ discountCode: B,
582
582
  totalSelectedProducts: C,
583
583
  discountValue: U,
584
584
  appliedDiscountCode: Q
585
585
  } = q(X()), { totalAddonPrice: ie, validateDiscountCode: ge } = X(), { currency: se, hideEventLength: fe } = q(oe()), ee = i("event.reservationNotice");
586
586
  return (te, re) => (l(), m(Ft, {
587
- "discount-code": e(M),
588
- "onUpdate:discountCode": re[0] || (re[0] = (j) => A(M) ? M.value = j : null),
587
+ "discount-code": e(B),
588
+ "onUpdate:discountCode": re[0] || (re[0] = (j) => S(B) ? B.value = j : null),
589
589
  "validate-discount-code": e(ge),
590
590
  "show-gift-card": t.showGiftCard,
591
591
  "show-terms-notice": t.showTermsNotice,
@@ -655,7 +655,7 @@ const Kt = {
655
655
  n("span", null, o(e(i)("booking.availability.basePrice")), 1),
656
656
  n("b", null, o(e(J)(e(T), e(se))), 1)
657
657
  ])) : r("", !0),
658
- e(w) ? (l(!0), s(N, { key: 1 }, S(e(w), ({ roomGroupId: j }, W) => (l(), s(N, null, [
658
+ e(w) ? (l(!0), s(N, { key: 1 }, R(e(w), ({ roomGroupId: j }, W) => (l(), s(N, null, [
659
659
  e(ie)(j, W) > 0 ? (l(), s("li", { key: j }, [
660
660
  n("span", null, o(e(i)("booking.reservation.addons")) + " - " + o(e(i)("booking.reservation.room")) + " #" + o(W + 1), 1),
661
661
  n("b", null, o(e(J)(e(ie)(j, W), e(se))), 1)
@@ -686,7 +686,7 @@ const Kt = {
686
686
  } : void 0
687
687
  ]), 1032, ["discount-code", "validate-discount-code", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "base-price", "total-price", "weekend-fee", "room-upgrade", "notice", "prev-callback"]));
688
688
  }
689
- }), De = /* @__PURE__ */ G(Bn, [["__scopeId", "data-v-d2ff3f68"]]), In = { class: "event-skeleton" }, An = { class: "event-skeleton-content" }, Sn = { class: "event-skeleton-sidebar" }, Rn = /* @__PURE__ */ R({
689
+ }), De = /* @__PURE__ */ G(Bn, [["__scopeId", "data-v-d2ff3f68"]]), In = { class: "event-skeleton" }, An = { class: "event-skeleton-content" }, Sn = { class: "event-skeleton-sidebar" }, Rn = /* @__PURE__ */ M({
690
690
  __name: "EventSkeleton",
691
691
  setup(t) {
692
692
  return (i, a) => (l(), s("div", In, [
@@ -711,7 +711,7 @@ const Kt = {
711
711
  }, Zn = { class: "konnectio-table with-lines" }, Qn = { class: "konnectio-event-addons-price" }, Jn = { class: "konnectio-event-addons-input" }, Kn = { class: "konnectio-event-addons-price" }, Xn = { class: "konnectio-event-addons-price" }, _n = {
712
712
  key: 1,
713
713
  class: "konnectio-table with-lines without-header"
714
- }, ea = { class: "konnectio-table-addons-information" }, ta = { key: 0 }, na = { class: "konnectio-table-addons-option" }, aa = { class: "konnectio-panel" }, la = /* @__PURE__ */ R({
714
+ }, ea = { class: "konnectio-table-addons-information" }, ta = { key: 0 }, na = { class: "konnectio-table-addons-option" }, aa = { class: "konnectio-panel" }, la = /* @__PURE__ */ M({
715
715
  name: "EventLayout",
716
716
  __name: "Event",
717
717
  props: {
@@ -743,7 +743,7 @@ const Kt = {
743
743
  hasTemplates: u,
744
744
  getEvents: D,
745
745
  getTemplates: Y,
746
- getEventData: M,
746
+ getEventData: B,
747
747
  getTemplateData: C,
748
748
  getEventTableData: U,
749
749
  hasProducts: Q,
@@ -813,8 +813,8 @@ const Kt = {
813
813
  }), d = parseInt(L.rid), V = L.d, x = parseInt(L.eid);
814
814
  if (V)
815
815
  if (xt(V)) {
816
- const c = new Date(V), B = c.setHours(12, 0, 0, 0), H = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
817
- B >= H ? He.value = c : (ke({
816
+ const c = new Date(V), I = c.setHours(12, 0, 0, 0), H = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
817
+ I >= H ? He.value = c : (ke({
818
818
  message: a("alert.error.invalidDateRange"),
819
819
  type: "error"
820
820
  }), L.d = void 0);
@@ -853,16 +853,16 @@ const Kt = {
853
853
  ]),
854
854
  form: v(() => [
855
855
  e(fe) && e(ge) ? (l(), s("div", Un, [
856
- e($e) ? (l(!0), s(N, { key: 0 }, S(e(Me), ({
856
+ e($e) ? (l(!0), s(N, { key: 0 }, R(e(Me), ({
857
857
  id: x,
858
858
  name: c,
859
- description: B,
859
+ description: I,
860
860
  images: H
861
861
  }) => (l(), m(hn, {
862
862
  key: x,
863
863
  type: "event",
864
864
  "listing-id": x,
865
- description: B,
865
+ description: I,
866
866
  name: c,
867
867
  gallery: H,
868
868
  "tracking-enabled": e(ne),
@@ -877,19 +877,19 @@ const Kt = {
877
877
  n("span", null, o(e(a)("event.availableNow")), 1)
878
878
  ])) : r("", !0),
879
879
  n("ul", Gn, [
880
- e(O) && t.onlyShow !== "templates" ? (l(!0), s(N, { key: 0 }, S(e(D), (x) => (l(), m(on, {
880
+ e(O) && t.onlyShow !== "templates" ? (l(!0), s(N, { key: 0 }, R(e(D), (x) => (l(), m(on, {
881
881
  name: x.name,
882
882
  events: x.events,
883
883
  "tracking-enabled": e(ne),
884
884
  callback: V
885
885
  }, null, 8, ["name", "events", "tracking-enabled", "callback"]))), 256)) : r("", !0),
886
- e(u) && t.onlyShow !== "events" ? (l(!0), s(N, { key: 1 }, S(e(Y), ({
886
+ e(u) && t.onlyShow !== "events" ? (l(!0), s(N, { key: 1 }, R(e(Y), ({
887
887
  id: x,
888
888
  name: c,
889
- fromDate: B,
889
+ fromDate: I,
890
890
  toDate: H,
891
891
  minimumPersonCount: F,
892
- fromPrice: I,
892
+ fromPrice: A,
893
893
  description: ye,
894
894
  images: he
895
895
  }) => (l(), m(pn, {
@@ -898,10 +898,10 @@ const Kt = {
898
898
  name: c,
899
899
  images: he,
900
900
  description: ye,
901
- "from-date": B,
901
+ "from-date": I,
902
902
  "to-date": H,
903
903
  "minimum-person-count": F,
904
- fromPrice: I,
904
+ fromPrice: A,
905
905
  "tracking-enabled": e(ne),
906
906
  callback: V
907
907
  }, null, 8, ["listing-id", "name", "images", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "tracking-enabled", "callback"]))), 128)) : r("", !0)
@@ -916,7 +916,7 @@ const Kt = {
916
916
  n("span", null, o(e(a)("event.availableLater")), 1)
917
917
  ]),
918
918
  n("ul", qn, [
919
- (l(!0), s(N, null, S(e(W), (x) => (l(), m(fn, {
919
+ (l(!0), s(N, null, R(e(W), (x) => (l(), m(fn, {
920
920
  name: x.name,
921
921
  events: x.events,
922
922
  "tracking-enabled": e(ne),
@@ -945,9 +945,9 @@ const Kt = {
945
945
  n("span", null, o(e(a)("event.selectProducts")), 1)
946
946
  ]),
947
947
  e(C) && e(C).length > 0 ? (l(), s("ul", Wn, [
948
- (l(!0), s(N, null, S(e(C), ({
948
+ (l(!0), s(N, null, R(e(C), ({
949
949
  roomGroupId: c,
950
- addons: B,
950
+ addons: I,
951
951
  adultPerRoom: H
952
952
  }, F) => (l(), s("li", { key: c }, [
953
953
  n("h5", null, [
@@ -973,13 +973,13 @@ const Kt = {
973
973
  ])
974
974
  ]),
975
975
  n("tbody", null, [
976
- (l(!0), s(N, null, S(B, ({
977
- id: I,
976
+ (l(!0), s(N, null, R(I, ({
977
+ id: A,
978
978
  cardinality: ye,
979
979
  name: he,
980
980
  price: nt,
981
981
  quantityStrategy: at
982
- }) => (l(), s("tr", { key: I }, [
982
+ }) => (l(), s("tr", { key: A }, [
983
983
  n("td", null, [
984
984
  n("b", null, o(he), 1),
985
985
  d[11] || (d[11] = n("br", null, null, -1)),
@@ -988,19 +988,19 @@ const Kt = {
988
988
  n("td", Jn, [
989
989
  ye === 3 ? (l(), m(ae, {
990
990
  key: 0,
991
- modelValue: e(f)[`${c}.${I}.${F}`],
992
- "onUpdate:modelValue": (pe) => e(f)[`${c}.${I}.${F}`] = pe,
991
+ modelValue: e(f)[`${c}.${A}.${F}`],
992
+ "onUpdate:modelValue": (pe) => e(f)[`${c}.${A}.${F}`] = pe,
993
993
  small: !0,
994
994
  "min-value": 0
995
995
  }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (l(), m(Le, {
996
996
  key: 1,
997
- modelValue: e(f)[`${c}.${I}.${F}`],
998
- "onUpdate:modelValue": (pe) => e(f)[`${c}.${I}.${F}`] = pe,
997
+ modelValue: e(f)[`${c}.${A}.${F}`],
998
+ "onUpdate:modelValue": (pe) => e(f)[`${c}.${A}.${F}`] = pe,
999
999
  numeric: !0
1000
1000
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
1001
1001
  ]),
1002
1002
  n("td", Kn, [
1003
- n("span", null, o(e(J)(e(We)(I, c, F), e(ce))), 1)
1003
+ n("span", null, o(e(J)(e(We)(A, c, F), e(ce))), 1)
1004
1004
  ])
1005
1005
  ]))), 128))
1006
1006
  ]),
@@ -1020,18 +1020,18 @@ const Kt = {
1020
1020
  ])) : r("", !0),
1021
1021
  e(Q) ? (l(), s("table", _n, [
1022
1022
  n("tbody", null, [
1023
- (l(!0), s(N, null, S(e(M).products, ({ id: c, name: B, price: H, description: F }) => (l(), s("tr", { key: c }, [
1023
+ (l(!0), s(N, null, R(e(B).products, ({ id: c, name: I, price: H, description: F }) => (l(), s("tr", { key: c }, [
1024
1024
  n("td", ea, [
1025
1025
  n("b", null, [
1026
- n("span", null, o(e(xe)(B)), 1)
1026
+ n("span", null, o(e(xe)(I)), 1)
1027
1027
  ]),
1028
- F && F !== B ? (l(), s("span", ta, o(e(xe)(F)), 1)) : r("", !0),
1028
+ F && F !== I ? (l(), s("span", ta, o(e(xe)(F)), 1)) : r("", !0),
1029
1029
  n("u", null, o(e(J)(H, e(ce))), 1)
1030
1030
  ]),
1031
1031
  n("td", na, [
1032
1032
  h(ae, {
1033
1033
  modelValue: e(b)[c],
1034
- "onUpdate:modelValue": (I) => e(b)[c] = I,
1034
+ "onUpdate:modelValue": (A) => e(b)[c] = A,
1035
1035
  small: !0,
1036
1036
  "min-value": 0
1037
1037
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
@@ -1065,7 +1065,7 @@ const Kt = {
1065
1065
  ]),
1066
1066
  h(de, {
1067
1067
  modelValue: e(p),
1068
- "onUpdate:modelValue": d[0] || (d[0] = (c) => A(p) ? p.value = c : null),
1068
+ "onUpdate:modelValue": d[0] || (d[0] = (c) => S(p) ? p.value = c : null),
1069
1069
  type: "text",
1070
1070
  label: e(a)("booking.reservation.name"),
1071
1071
  icon: "user-alt",
@@ -1074,7 +1074,7 @@ const Kt = {
1074
1074
  }, null, 8, ["modelValue", "label", "placeholder"]),
1075
1075
  h(de, {
1076
1076
  modelValue: e($),
1077
- "onUpdate:modelValue": d[1] || (d[1] = (c) => A($) ? $.value = c : null),
1077
+ "onUpdate:modelValue": d[1] || (d[1] = (c) => S($) ? $.value = c : null),
1078
1078
  label: e(a)("booking.reservation.email"),
1079
1079
  type: "email",
1080
1080
  name: "email",
@@ -1085,7 +1085,7 @@ const Kt = {
1085
1085
  }, null, 8, ["modelValue", "label", "placeholder"]),
1086
1086
  h(zt, {
1087
1087
  modelValue: e(P),
1088
- "onUpdate:modelValue": d[2] || (d[2] = (c) => A(P) ? P.value = c : null),
1088
+ "onUpdate:modelValue": d[2] || (d[2] = (c) => S(P) ? P.value = c : null),
1089
1089
  label: e(a)("booking.reservation.phone"),
1090
1090
  icon: "phone-office",
1091
1091
  placeholder: e(a)("booking.reservation.phonePlaceholder"),
@@ -1094,7 +1094,7 @@ const Kt = {
1094
1094
  e(re) ? (l(), m(Bt, {
1095
1095
  key: 0,
1096
1096
  modelValue: e(w),
1097
- "onUpdate:modelValue": d[3] || (d[3] = (c) => A(w) ? w.value = c : null),
1097
+ "onUpdate:modelValue": d[3] || (d[3] = (c) => S(w) ? w.value = c : null),
1098
1098
  label: e(a)("event.selectArrivalTime"),
1099
1099
  name: "eventTimeTable",
1100
1100
  checkboxes: Xe.value,
@@ -1103,7 +1103,7 @@ const Kt = {
1103
1103
  e(ie) === e(Pt).FullDayEvent ? (l(), m(ae, {
1104
1104
  key: 1,
1105
1105
  modelValue: e(k),
1106
- "onUpdate:modelValue": d[4] || (d[4] = (c) => A(k) ? k.value = c : null),
1106
+ "onUpdate:modelValue": d[4] || (d[4] = (c) => S(k) ? k.value = c : null),
1107
1107
  label: e(a)("event.numberOfDays"),
1108
1108
  "min-value": 1,
1109
1109
  required: ""
@@ -1111,7 +1111,7 @@ const Kt = {
1111
1111
  t.showHighChairs === "yes" ? (l(), m(ae, {
1112
1112
  key: 2,
1113
1113
  modelValue: e(y),
1114
- "onUpdate:modelValue": d[5] || (d[5] = (c) => A(y) ? y.value = c : null),
1114
+ "onUpdate:modelValue": d[5] || (d[5] = (c) => S(y) ? y.value = c : null),
1115
1115
  label: e(a)("event.numberOfHighChairs"),
1116
1116
  icon: "baby",
1117
1117
  "no-optional-label": !1
@@ -1119,22 +1119,22 @@ const Kt = {
1119
1119
  t.showFlagOnTable === "yes" ? (l(), m(Le, {
1120
1120
  key: 3,
1121
1121
  modelValue: e(g),
1122
- "onUpdate:modelValue": d[6] || (d[6] = (c) => A(g) ? g.value = c : null),
1122
+ "onUpdate:modelValue": d[6] || (d[6] = (c) => S(g) ? g.value = c : null),
1123
1123
  label: e(a)("event.flagOnTable")
1124
1124
  }, null, 8, ["modelValue", "label"])) : r("", !0),
1125
1125
  t.hideRemarks !== "yes" ? (l(), m(de, {
1126
1126
  key: 4,
1127
1127
  modelValue: e(E),
1128
- "onUpdate:modelValue": d[7] || (d[7] = (c) => A(E) ? E.value = c : null),
1128
+ "onUpdate:modelValue": d[7] || (d[7] = (c) => S(E) ? E.value = c : null),
1129
1129
  type: "textarea",
1130
1130
  label: e(a)("booking.reservation.remark"),
1131
1131
  icon: "info-circle",
1132
1132
  placeholder: e(a)("booking.reservation.remarkPlaceholder")
1133
1133
  }, null, 8, ["modelValue", "label", "placeholder"])) : r("", !0),
1134
- t.hideAllergies !== "yes" ? (l(), m(de, {
1134
+ t.hideAllergies !== "yes" && e(B)?.showAllergyFoodFieldOnline ? (l(), m(de, {
1135
1135
  key: 5,
1136
1136
  modelValue: e(T),
1137
- "onUpdate:modelValue": d[8] || (d[8] = (c) => A(T) ? T.value = c : null),
1137
+ "onUpdate:modelValue": d[8] || (d[8] = (c) => S(T) ? T.value = c : null),
1138
1138
  type: "textarea",
1139
1139
  label: e(a)("booking.reservation.allergies"),
1140
1140
  icon: "allergies",
@@ -1177,7 +1177,7 @@ const Kt = {
1177
1177
  _: 1
1178
1178
  }, 8, ["styling"]));
1179
1179
  }
1180
- }), Be = /* @__PURE__ */ G(la, [["__scopeId", "data-v-1ad818b0"]]), oa = dt(), ia = ut, sa = ia();
1180
+ }), Be = /* @__PURE__ */ G(la, [["__scopeId", "data-v-c8565d9c"]]), oa = dt(), ia = ut, sa = ia();
1181
1181
  class ra extends HTMLElement {
1182
1182
  vueApp;
1183
1183
  constructor() {
package/dist/event.js.br CHANGED
Binary file
package/dist/event.js.gz CHANGED
Binary file
@@ -1,11 +1,11 @@
1
1
  import { d as x, h as v, b as s, e as t, f as a, c as P, u as T, s as k, a as m, w as u, S as $, g as e, j as B, i as I, t as i, z as b, k as D, _ as N, l as U, m as F, p as H } from "./mitt-CqW9zFaX.js";
2
- import { _ as A, y as C, f as R, I as h, p as j, s as z, C as O } from "./SelectField.vue_vue_type_style_index_0_lang-Ca_Lvfa9.js";
3
- import { u as W } from "./giftCard-w6EdQBu5.js";
4
- import { _ as q } from "./_.vue_vue_type_style_index_0_lang-EAANxxza.js";
5
- import { A as J } from "./ActionField-D3-kXEzx.js";
6
- import { E as g } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CcuC32x4.js";
7
- import { F as y } from "./Field-CgE5qoD5.js";
8
- import { E as K } from "./ErrorMessage-CQHzetEi.js";
2
+ import { _ as A, y as C, f as R, I as h, p as j, s as z, C as O } from "./SelectField.vue_vue_type_style_index_0_lang-B1yAx7tn.js";
3
+ import { u as W } from "./giftCard-B5H9eaai.js";
4
+ import { _ as q } from "./_.vue_vue_type_style_index_0_lang-BUXMhls4.js";
5
+ import { A as J } from "./ActionField-DivnlWwr.js";
6
+ import { E as g } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BVauduNx.js";
7
+ import { F as y } from "./Field-BedslkRK.js";
8
+ import { E as K } from "./ErrorMessage-4MXpqaXD.js";
9
9
  import { G as Q } from "./style-Tyu_krEp.js";
10
10
  const Y = { class: "gift-card-validation-skeleton" }, Z = { class: "gift-card-validation-skeleton-form" }, tt = { class: "gift-card-validation-skeleton-text" }, et = { class: "gift-card-validation-skeleton-input" }, at = /* @__PURE__ */ x({
11
11
  __name: "GiftCardValidationSkeleton",
Binary file
Binary file
package/dist/gift-card.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { d as U, u as M, r as O, c as Y, a as _, b as s, w as C, e as l, h as p, i as f, f as t, g as e, n as J, t as A, j as ae, C as oe, s as z, D as ne, o as ie, S as se, E as T, G, F as de, v as re, z as b, k as ue, _ as ce, l as pe, m as me, p as fe } from "./mitt-CqW9zFaX.js";
2
2
  import { G as ve } from "./style-Tyu_krEp.js";
3
- import { u as B } from "./giftCard-w6EdQBu5.js";
4
- import { a as be, e as P, x as he, _ as R, f as ke, d as ge, L as ye, T as S, i as _e, C as Ce } from "./SelectField.vue_vue_type_style_index_0_lang-Ca_Lvfa9.js";
5
- import { _ as Ve } from "./_.vue_vue_type_style_index_0_lang-EAANxxza.js";
6
- import { C as $e, a as we, P as Fe, _ as xe } from "./CheckoutWindow-D3r0WtY6.js";
7
- import { E as Ee } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CcuC32x4.js";
8
- import { F as E } from "./Field-CgE5qoD5.js";
9
- import { E as Pe } from "./ErrorMessage-CQHzetEi.js";
10
- import { S as Ue } from "./TermsOfService-DIREtDii.js";
11
- import { f as Te } from "./index-B_YlBgxd.js";
3
+ import { u as B } from "./giftCard-B5H9eaai.js";
4
+ import { a as be, e as P, x as he, _ as R, f as ke, d as ge, L as ye, T as S, i as _e, C as Ce } from "./SelectField.vue_vue_type_style_index_0_lang-B1yAx7tn.js";
5
+ import { _ as Ve } from "./_.vue_vue_type_style_index_0_lang-BUXMhls4.js";
6
+ import { C as $e, a as we, P as Fe, _ as xe } from "./CheckoutWindow-CmfrGnbA.js";
7
+ import { E as Ee } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BVauduNx.js";
8
+ import { F as E } from "./Field-BedslkRK.js";
9
+ import { E as Pe } from "./ErrorMessage-4MXpqaXD.js";
10
+ import { S as Ue } from "./TermsOfService-CKQh8zWC.js";
11
+ import { f as Te } from "./index-BYZ-UMcz.js";
12
12
  const Ge = { class: "media-selector" }, Se = ["accept"], Ae = { class: "media-selector-wrapper" }, Me = { class: "media-selector-tools" }, Le = { key: 0 }, qe = { key: 1 }, Be = { key: 2 }, Re = ["src"], Ie = /* @__PURE__ */ U({
13
13
  __name: "MediaSelector",
14
14
  props: {
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  import { H as V, s as J, r as t, c as a, I as y } from "./mitt-CqW9zFaX.js";
2
- import { z as K, a as Q, f as z, G as o, A as h, D as E, w as O, E as X, S } from "./SelectField.vue_vue_type_style_index_0_lang-Ca_Lvfa9.js";
2
+ import { z as K, a as Q, f as z, G as o, A as h, D as E, w as O, E as X, S } from "./SelectField.vue_vue_type_style_index_0_lang-B1yAx7tn.js";
3
3
  const $ = V("giftCard", () => {
4
4
  const { pay: D } = K(), { display: G } = Q(), { metaData: w, currencyId: M, hasError: P } = J(z()), x = z(), s = t(o.InitialState), u = h("konnectio_name", "", void 0, { serializer: S.string }), v = h("konnectio_email", "", void 0, { serializer: S.string }), d = h("konnectio_phone", "", void 0, { serializer: S.string }), f = t(""), T = t(1), F = t(!0), b = t(""), i = t({
5
5
  base64: "",
@@ -106,4 +106,4 @@ const $ = V("giftCard", () => {
106
106
  export {
107
107
  $ as u
108
108
  };
109
- //# sourceMappingURL=giftCard-w6EdQBu5.js.map
109
+ //# sourceMappingURL=giftCard-B5H9eaai.js.map
Binary file
Binary file