@konnectio/core 4.7.13 → 4.7.15

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 (100) hide show
  1. package/dist/{ActionField-Zk9gKfBl.js → ActionField-BRuDERve.js} +1 -1
  2. package/dist/ActionField-BRuDERve.js.br +0 -0
  3. package/dist/ActionField-BRuDERve.js.gz +0 -0
  4. package/dist/{AvailabilitySkeleton-B61GQrG3.js → AvailabilitySkeleton-C2cinRLC.js} +90 -90
  5. package/dist/AvailabilitySkeleton-C2cinRLC.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-C2cinRLC.js.gz +0 -0
  7. package/dist/{CheckoutWindow-Bk176718.js → CheckoutWindow-hlZnuGXN.js} +6 -6
  8. package/dist/CheckoutWindow-hlZnuGXN.js.br +0 -0
  9. package/dist/CheckoutWindow-hlZnuGXN.js.gz +0 -0
  10. package/dist/{ErrorMessage-DIkYMjy5.js → ErrorMessage-DOMjsB2z.js} +7 -7
  11. package/dist/ErrorMessage-DOMjsB2z.js.br +0 -0
  12. package/dist/ErrorMessage-DOMjsB2z.js.gz +0 -0
  13. package/dist/{EventAvailabilityForm-DG6IAVTZ.js → EventAvailabilityForm-LeF9jMuS.js} +16 -16
  14. package/dist/EventAvailabilityForm-LeF9jMuS.js.br +0 -0
  15. package/dist/EventAvailabilityForm-LeF9jMuS.js.gz +0 -0
  16. package/dist/{Field-DSL9I38Y.js → Field-ChuCrNgy.js} +1 -1
  17. package/dist/Field-ChuCrNgy.js.br +0 -0
  18. package/dist/Field-ChuCrNgy.js.gz +0 -0
  19. package/dist/HotelAvailabilityForm-CBC3GwhY.js +323 -0
  20. package/dist/HotelAvailabilityForm-CBC3GwhY.js.br +0 -0
  21. package/dist/HotelAvailabilityForm-CBC3GwhY.js.gz +0 -0
  22. package/dist/{SelectField-znnXsV6p.js → SelectField-ChDa9rDG.js} +1695 -1678
  23. package/dist/SelectField-ChDa9rDG.js.br +0 -0
  24. package/dist/SelectField-ChDa9rDG.js.gz +0 -0
  25. package/dist/{TermsOfService-saWS7QrH.js → TermsOfService-DFPH0Sqb.js} +2 -2
  26. package/dist/TermsOfService-DFPH0Sqb.js.br +0 -0
  27. package/dist/TermsOfService-DFPH0Sqb.js.gz +3 -0
  28. package/dist/{_-DROE_ihH.js → _-D04cczMr.js} +1 -1
  29. package/dist/_-D04cczMr.js.br +0 -0
  30. package/dist/_-D04cczMr.js.gz +3 -0
  31. package/dist/availability.js +7 -7
  32. package/dist/availability.js.br +0 -0
  33. package/dist/availability.js.gz +0 -0
  34. package/dist/cancel-reservation.js +12 -12
  35. package/dist/cancel-reservation.js.br +0 -0
  36. package/dist/cancel-reservation.js.gz +0 -0
  37. package/dist/core.css +1 -1
  38. package/dist/core.css.br +0 -0
  39. package/dist/core.css.gz +0 -0
  40. package/dist/{dist-CoJOkHqo.js → dist-AhXjLLR1.js} +455 -3083
  41. package/dist/dist-AhXjLLR1.js.br +0 -0
  42. package/dist/dist-AhXjLLR1.js.gz +0 -0
  43. package/dist/{dist-D0UeEMSK.js → dist-Dk3XMpn5.js} +2 -2
  44. package/dist/{dist-D0UeEMSK.js.br → dist-Dk3XMpn5.js.br} +0 -0
  45. package/dist/dist-Dk3XMpn5.js.gz +0 -0
  46. package/dist/event.js +65 -65
  47. package/dist/event.js.br +0 -0
  48. package/dist/event.js.gz +0 -0
  49. package/dist/gift-card-validation.js +15 -15
  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-B5-sqDH9.js → giftCard-B6oKfDeO.js} +9 -9
  56. package/dist/giftCard-B6oKfDeO.js.br +0 -0
  57. package/dist/giftCard-B6oKfDeO.js.gz +0 -0
  58. package/dist/hotel.js +770 -763
  59. package/dist/hotel.js.br +0 -0
  60. package/dist/hotel.js.gz +0 -0
  61. package/dist/polyfill.js +1 -1
  62. package/dist/polyfill.js.br +0 -0
  63. package/dist/polyfill.js.gz +0 -0
  64. package/dist/{style-B39gpkik.js → style-DT-etRss.js} +1 -1
  65. package/dist/style-DT-etRss.js.br +0 -0
  66. package/dist/style-DT-etRss.js.gz +0 -0
  67. package/dist-wix/availability.js +18 -18
  68. package/dist-wix/event.js +16 -16
  69. package/dist-wix/gift-card-validation.js +23 -23
  70. package/dist-wix/gift-card.js +18 -18
  71. package/dist-wix/hotel.js +18 -18
  72. package/package.json +1 -1
  73. package/dist/ActionField-Zk9gKfBl.js.br +0 -0
  74. package/dist/ActionField-Zk9gKfBl.js.gz +0 -0
  75. package/dist/AvailabilitySkeleton-B61GQrG3.js.br +0 -0
  76. package/dist/AvailabilitySkeleton-B61GQrG3.js.gz +0 -0
  77. package/dist/CheckoutWindow-Bk176718.js.br +0 -0
  78. package/dist/CheckoutWindow-Bk176718.js.gz +0 -0
  79. package/dist/ErrorMessage-DIkYMjy5.js.br +0 -0
  80. package/dist/ErrorMessage-DIkYMjy5.js.gz +0 -0
  81. package/dist/EventAvailabilityForm-DG6IAVTZ.js.br +0 -0
  82. package/dist/EventAvailabilityForm-DG6IAVTZ.js.gz +0 -0
  83. package/dist/Field-DSL9I38Y.js.br +0 -0
  84. package/dist/Field-DSL9I38Y.js.gz +0 -0
  85. package/dist/HotelAvailabilityForm-B9aIhhi0.js +0 -323
  86. package/dist/HotelAvailabilityForm-B9aIhhi0.js.br +0 -0
  87. package/dist/HotelAvailabilityForm-B9aIhhi0.js.gz +0 -0
  88. package/dist/SelectField-znnXsV6p.js.br +0 -0
  89. package/dist/SelectField-znnXsV6p.js.gz +0 -0
  90. package/dist/TermsOfService-saWS7QrH.js.br +0 -0
  91. package/dist/TermsOfService-saWS7QrH.js.gz +0 -2
  92. package/dist/_-DROE_ihH.js.br +0 -0
  93. package/dist/_-DROE_ihH.js.gz +0 -0
  94. package/dist/dist-CoJOkHqo.js.br +0 -0
  95. package/dist/dist-CoJOkHqo.js.gz +0 -0
  96. package/dist/dist-D0UeEMSK.js.gz +0 -0
  97. package/dist/giftCard-B5-sqDH9.js.br +0 -0
  98. package/dist/giftCard-B5-sqDH9.js.gz +0 -0
  99. package/dist/style-B39gpkik.js.br +0 -0
  100. package/dist/style-B39gpkik.js.gz +0 -0
Binary file
Binary file
@@ -176,7 +176,7 @@ var s = /* @__PURE__ */ t(((e, t) => {
176
176
  }
177
177
  };
178
178
  });
179
- })))(), 1), l = typeof process < "u" ? "2.6.0" : "?", u = "5pqzBljrmDvquWZYSrSUKldIUREtPyB3", d = "\"4.7.13\"";
179
+ })))(), 1), l = typeof process < "u" ? "2.6.0" : "?", u = "5pqzBljrmDvquWZYSrSUKldIUREtPyB3", d = "\"4.7.15\"";
180
180
  function f(e, t, n) {
181
181
  return n && !e && console.error(`Flare JavaScript client v${l}: ${t}`), !!e;
182
182
  }
@@ -971,7 +971,7 @@ typeof window < "u" && window && (window.flare = N, Pe());
971
971
  //#endregion
972
972
  //#region src/plugins/flare.ts
973
973
  var P = /* @__PURE__ */ "fancybox,jQuery,Modernizr,cssua,ScrollTrigger,calcSelectArrowDimensions,this.elements.$menu.smartmenus,woocommerce,elementor,avadaAddQuantityBoxes,fusion,FLBuilderAccordion,_initLayerSlider,Divi,gsap,Swiper,mailchimp,_AutofillCallbackHandler,$(...),imagesLoaded,masonry,accessing a cross-origin frame,scrollspy,No layout mode: packery,Vimeo,Network Error,Request aborted,timeout exceeded,Loading chunk,TrackerStorageType,Failed to load because no supported source was found.,The element has no supported sources.,grecaptcha,lightbox,priceCalcElement,AwesomeMenu,breakdance,Maximum call stack size exceeded.,Cookies is not defined,getUniqId,Cannot read properties of null (reading 'classList'),n.getModal,e.target.closest is not a function,Cannot read properties of undefined (reading 'Item'),Cannot read properties of undefined (reading 'clientHeight'),refreshFsLightbox,fbq,Cannot assign to read only property 'push' of object '[object Array]',naturalWidth,Request failed with status code,Can't find variable: _,astraNavMenuTogglePro,The operation was aborted.,Failed to fetch dynamically imported module:,Importing a module script failed.,The request is not allowed by the user agent,this.Vi.close,The operation is insecure.,gformValidateFileSize,BreakdanceEntrance,Cannot read properties of undefined (reading '__'),The play() request was interrupted because video-only,Animation is interrupted by user input.,Animation is already playing.,Position \"NaN\" is not reachable.,Cannot redefine property: onbeforeunload,e.remove is not a function,Can't find variable: Cookies,Load failed,wp is not defined,Backbone,Invalid attempt to destructure non-iterable instance,Can't find variable: EmptyRanges,Cannot read properties of undefined (reading 'setLocaleData'),Function snaptr not implemented.,window.sbi_init is not a function,thehotelsnetwork,Reepay,wpcf7,et_pb_,mediaelementplayer,pys_generate_token,webkit.messageHandlers,__firefox__,window.ethereum,Blocked a frame with origin,NetworkError when attempting to fetch resource,play() failed because the user didn,Error invoking postMessage: Java exception,Failed to load CSS,Failed to load script,removeAttribute is not a function,Invalid site key,Handling is disabled".split(",");
974
- /(meta-external|facebookexternalhit|googlebot|bingbot|slurp|duckduckbot|baiduspider|yandexbot|twitterbot|linkedinbot|semrushbot|ahrefsbot|applebot|bytespider|crawler|spider|HeadlessChrome)/i.test(navigator.userAgent) || (N.light("5pqzBljrmDvquWZYSrSUKldIUREtPyB3"), N.addContext("version", "4.7.13"), N.configure({ beforeEvaluate: (e) => {
974
+ /(meta-external|facebookexternalhit|googlebot|bingbot|slurp|duckduckbot|baiduspider|yandexbot|twitterbot|linkedinbot|semrushbot|ahrefsbot|applebot|bytespider|crawler|spider|HeadlessChrome)/i.test(navigator.userAgent) || (N.light("5pqzBljrmDvquWZYSrSUKldIUREtPyB3"), N.addContext("version", "4.7.15"), N.configure({ beforeEvaluate: (e) => {
975
975
  for (let t = 0; t < P.length; t++) if (e.message.toLowerCase().includes(P[t].toLowerCase())) return !1;
976
976
  return e;
977
977
  } }));
Binary file
package/dist/event.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { $ as e, A as t, D as n, E as r, Et as i, J as a, K as o, N as s, O as c, Q as l, T as u, Tt as d, a as f, b as p, ht as m, j as h, k as g, kt as _, l as v, n as y, o as b, ot as x, s as S, ut as C, v as w, w as T, x as E, yt as D } from "./i18n-DwFTw_rF.js";
2
- import { t as O } from "./dist-D0UeEMSK.js";
3
- import { $ as k, B as A, C as j, D as ee, E as M, I as N, K as P, N as F, R as I, S as L, U as te, V as ne, W as R, X as z, Y as B, Z as V, b as re, it as H, j as ie, mt as ae, n as U, q as oe, r as W, v as G, w as K, x as q } from "./SelectField-znnXsV6p.js";
4
- import { t as se } from "./_-DROE_ihH.js";
5
- import { a as J, c as ce, d as le, f as ue, i as de, l as fe, n as pe, o as me, r as he, s as ge, u as _e } from "./AvailabilitySkeleton-B61GQrG3.js";
6
- import { t as ve } from "./EventAvailabilityForm-DG6IAVTZ.js";
7
- import { t as Y } from "./style-B39gpkik.js";
8
- import { a as ye, c as be, i as xe, l as Se, n as Ce, o as we, s as Te, t as Ee, u as X } from "./dist-CoJOkHqo.js";
9
- import { a as De, i as Oe, n as ke, t as Ae } from "./CheckoutWindow-Bk176718.js";
2
+ import { t as O } from "./dist-Dk3XMpn5.js";
3
+ import { B as k, C as A, D as ee, E as j, G as M, I as N, J as P, N as F, Q as I, R as L, S as R, V as te, W as ne, X as z, Z as B, at as re, b as V, et as ie, ht as ae, j as oe, n as H, q as U, r as W, v as G, w as K, x as q } from "./SelectField-ChDa9rDG.js";
4
+ import { t as se } from "./_-D04cczMr.js";
5
+ import { a as J, c as ce, d as le, f as ue, i as de, l as fe, n as pe, o as me, r as he, s as ge, u as _e } from "./AvailabilitySkeleton-C2cinRLC.js";
6
+ import { t as ve } from "./EventAvailabilityForm-LeF9jMuS.js";
7
+ import { t as Y } from "./style-DT-etRss.js";
8
+ import { a as ye, c as be, i as xe, l as Se, n as Ce, o as we, s as Te, t as Ee, u as X } from "./dist-AhXjLLR1.js";
9
+ import { a as De, i as Oe, n as ke, t as Ae } from "./CheckoutWindow-hlZnuGXN.js";
10
10
  //#region node_modules/date-fns/formatDistanceStrict.js
11
11
  function Z(e, t, n) {
12
12
  let r = ce(), i = n?.locale ?? r.locale ?? he, a = J(e, t);
@@ -37,7 +37,7 @@ function Z(e, t, n) {
37
37
  }
38
38
  //#endregion
39
39
  //#region src/components/listings/event/_.vue?vue&type=script&setup=true&lang.ts
40
- var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/ L(/* @__PURE__ */ s({
40
+ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/ R(/* @__PURE__ */ s({
41
41
  __name: "_",
42
42
  props: {
43
43
  name: {},
@@ -68,7 +68,7 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
68
68
  callback: {}
69
69
  },
70
70
  setup(t) {
71
- let { t: o } = f(), s = t, { display: c } = F(), { hideEventGuestAmount: l } = v(M()), { maxNumberOfPeople: p, numberOfPeople: m, eventId: g, currentEventDate: _, tableGroupId: y } = v(K()), { getTemplateAvailability: b, getEventAvailability: x, isEventListingLoading: S } = K(), { addToCart: w } = ee(), E = T(() => s.maxGuests || s.maxOnlineReservationLimit || p.value || Infinity), O = D(0), A = T(() => S(s.listingId)), j = () => {
71
+ let { t: o } = f(), s = t, { display: c } = F(), { hideEventGuestAmount: l } = v(j()), { maxNumberOfPeople: p, numberOfPeople: m, eventId: g, currentEventDate: _, tableGroupId: y } = v(K()), { getTemplateAvailability: b, getEventAvailability: x, isEventListingLoading: S } = K(), { addToCart: w } = ee(), E = T(() => s.maxGuests || s.maxOnlineReservationLimit || p.value || Infinity), O = D(0), k = T(() => S(s.listingId)), A = () => {
72
72
  if (!s.useNumberOfProductsForPersons && (O.value === 0 || isNaN(O.value))) {
73
73
  c({
74
74
  type: "error",
@@ -103,7 +103,7 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
103
103
  description: t.description,
104
104
  "prices-from": t.fromPrice,
105
105
  "to-date": t.toDate,
106
- layout: d(k).Event,
106
+ layout: d(ie).Event,
107
107
  "disable-deep-link": t.disableDeepLink
108
108
  }, {
109
109
  description: C(() => [e(s.$slots, "description", { maxNumberOfPeople: d(p) }, void 0, !0)]),
@@ -115,7 +115,7 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
115
115
  icon: "users",
116
116
  "icon-type": "fas",
117
117
  "icon-placement": "label",
118
- description: E.value <= 20 && !d(l) ? `${d(o)("general.availableFor")}: 1 - ${E.value} ${d(R)(d(o)("general.guests"))}` : void 0,
118
+ description: E.value <= 20 && !d(l) ? `${d(o)("general.availableFor")}: 1 - ${E.value} ${d(M)(d(o)("general.guests"))}` : void 0,
119
119
  "min-value": 0,
120
120
  "max-value": E.value
121
121
  }, null, 8, [
@@ -126,10 +126,10 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
126
126
  ])), u("div", je, [h(G, {
127
127
  label: t.soldOut ? d(o)("event.soldOut") : d(o)("event.bookNowButton"),
128
128
  disabled: t.soldOut,
129
- "is-loading": A.value,
129
+ "is-loading": k.value,
130
130
  "full-width": "",
131
- "sub-label": d(P)(d(_)),
132
- onClickEvent: c[1] ||= (e) => t.type === "event" ? N() : j()
131
+ "sub-label": d(U)(d(_)),
132
+ onClickEvent: c[1] ||= (e) => t.type === "event" ? N() : A()
133
133
  }, null, 8, [
134
134
  "label",
135
135
  "disabled",
@@ -154,7 +154,7 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
154
154
  }, Fe = {
155
155
  key: 2,
156
156
  class: "konnectio-pill-button"
157
- }, Ie = { key: 0 }, Le = { key: 1 }, Q = /*#__PURE__*/ L(/* @__PURE__ */ s({
157
+ }, Ie = { key: 0 }, Le = { key: 1 }, Q = /*#__PURE__*/ R(/* @__PURE__ */ s({
158
158
  __name: "Event",
159
159
  props: {
160
160
  name: {},
@@ -177,7 +177,7 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
177
177
  callback: {}
178
178
  },
179
179
  setup(t) {
180
- let i = t, { t: o } = f(), { hideEventLength: s, hideEventEndTime: l } = v(M()), p = T(() => {
180
+ let i = t, { t: o } = f(), { hideEventLength: s, hideEventEndTime: l } = v(j()), p = T(() => {
181
181
  if (!i.length) return;
182
182
  let e = i.length.split(":");
183
183
  return Z(new Date(2e3, 0, 1, Number(e[0]), Number(e[1]), 0), new Date(2e3, 0, 1, 0, 0, 0));
@@ -209,7 +209,7 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
209
209
  t.timeFrom ? (a(), c("li", Fe, [u("div", null, [h(q, {
210
210
  icon: "calendar-clock",
211
211
  color: "header"
212
- }), u("span", null, _(d(o)("event.startAndEndTime")), 1)]), d(l) ? (a(), c("span", Le, _(d(z)(t.timeFrom)), 1)) : (a(), c("span", Ie, _(d(V)(t.timeFrom, t.timeTo)), 1))])) : n("", !0)
212
+ }), u("span", null, _(d(o)("event.startAndEndTime")), 1)]), d(l) ? (a(), c("span", Le, _(d(B)(t.timeFrom)), 1)) : (a(), c("span", Ie, _(d(I)(t.timeFrom, t.timeTo)), 1))])) : n("", !0)
213
213
  ])]),
214
214
  action: C(() => [e(i.$slots, "action", {}, void 0, !0)]),
215
215
  _: 3
@@ -231,7 +231,7 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
231
231
  }), [["__scopeId", "data-v-2ecac268"]]), Re = {
232
232
  key: 0,
233
233
  class: "konnectio-event-grouped-listings-container"
234
- }, ze = { class: "konnectio-event-grouped-listings" }, Be = /*#__PURE__*/ L(/* @__PURE__ */ s({
234
+ }, ze = { class: "konnectio-event-grouped-listings" }, Be = /*#__PURE__*/ R(/* @__PURE__ */ s({
235
235
  __name: "Event",
236
236
  props: {
237
237
  name: {},
@@ -310,7 +310,7 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
310
310
  "callback"
311
311
  ])) : n("", !0);
312
312
  }
313
- }), [["__scopeId", "data-v-3584070d"]]), Ve = { class: "konnectio-special-offer-availability" }, He = { class: "konnectio-special-offer-availability-button" }, $ = { class: "konnectio-warning-notice" }, Ue = { key: 0 }, We = { key: 1 }, Ge = /*#__PURE__*/ L(/* @__PURE__ */ s({
313
+ }), [["__scopeId", "data-v-3584070d"]]), Ve = { class: "konnectio-special-offer-availability" }, He = { class: "konnectio-special-offer-availability-button" }, $ = { class: "konnectio-warning-notice" }, Ue = { key: 0 }, We = { key: 1 }, Ge = /*#__PURE__*/ R(/* @__PURE__ */ s({
314
314
  __name: "NextEvent",
315
315
  props: {
316
316
  name: {},
@@ -332,14 +332,14 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
332
332
  callback: { type: Function }
333
333
  },
334
334
  setup(e) {
335
- let { t: n } = f(), { updateEventDate: i } = j(), { display: s } = F(), l = D(), p = e;
335
+ let { t: n } = f(), { updateEventDate: i } = A(), { display: s } = F(), l = D(), p = e;
336
336
  function m() {
337
337
  l.value ? i(l.value) : s({
338
338
  message: n("alert.error.selectDate"),
339
339
  type: "error"
340
340
  });
341
341
  }
342
- let g = T(() => I(p.fromDate, p.toDate) <= 1), v = T(() => [
342
+ let g = T(() => L(p.fromDate, p.toDate) <= 1), v = T(() => [
343
343
  0,
344
344
  1,
345
345
  2,
@@ -347,7 +347,7 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
347
347
  4,
348
348
  5,
349
349
  6
350
- ].filter((e) => !A(p.days).includes(e)));
350
+ ].filter((e) => !k(p.days).includes(e)));
351
351
  return o(() => {
352
352
  g.value && (l.value = new Date(p.fromDate));
353
353
  }), (i, o) => (a(), r(Q, {
@@ -394,7 +394,7 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
394
394
  ]), u("div", He, [h(G, {
395
395
  label: d(n)("availability.buttonLabel"),
396
396
  onClick: w(m, ["prevent"])
397
- }, null, 8, ["label"])])]), u("div", $, [g.value ? (a(), c("span", Ue, [t("*" + _(d(n)("event.canBeBooked")) + " ", 1), u("u", null, _(d(P)(e.fromDate)), 1)])) : (a(), c("span", We, [t("*" + _(d(n)("event.canBeBooked")) + " ", 1), u("u", null, _(d(oe)(e.days)), 1)]))])])]),
397
+ }, null, 8, ["label"])])]), u("div", $, [g.value ? (a(), c("span", Ue, [t("*" + _(d(n)("event.canBeBooked")) + " ", 1), u("u", null, _(d(U)(e.fromDate)), 1)])) : (a(), c("span", We, [t("*" + _(d(n)("event.canBeBooked")) + " ", 1), u("u", null, _(d(P)(e.days)), 1)]))])])]),
398
398
  _: 1
399
399
  }, 8, [
400
400
  "name",
@@ -419,7 +419,7 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
419
419
  }), [["__scopeId", "data-v-91ea584c"]]), Ke = {
420
420
  key: 0,
421
421
  class: "konnectio-event-grouped-listings-container"
422
- }, qe = { class: "konnectio-event-grouped-listings" }, Je = /*#__PURE__*/ L(/* @__PURE__ */ s({
422
+ }, qe = { class: "konnectio-event-grouped-listings" }, Je = /*#__PURE__*/ R(/* @__PURE__ */ s({
423
423
  __name: "NextEvent",
424
424
  props: {
425
425
  name: {},
@@ -502,7 +502,7 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
502
502
  "callback"
503
503
  ])) : n("", !0);
504
504
  }
505
- }), [["__scopeId", "data-v-138f6cac"]]), Ye = ["innerHTML"], Xe = /*#__PURE__*/ L(/* @__PURE__ */ s({
505
+ }), [["__scopeId", "data-v-138f6cac"]]), Ye = ["innerHTML"], Xe = /*#__PURE__*/ R(/* @__PURE__ */ s({
506
506
  __name: "FallbackEvent",
507
507
  props: {
508
508
  name: {},
@@ -587,7 +587,7 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
587
587
  }, $e = ["innerHTML"], et = { key: 0 }, tt = { key: 1 }, nt = { key: 2 }, rt = { key: 0 }, it = { key: 4 }, at = { key: 5 }, ot = { key: 6 }, st = { key: 0 }, ct = { key: 0 }, lt = { key: 1 }, ut = {
588
588
  key: 0,
589
589
  class: "konnectio-capitalize"
590
- }, dt = /*#__PURE__*/ L(/* @__PURE__ */ s({
590
+ }, dt = /*#__PURE__*/ R(/* @__PURE__ */ s({
591
591
  __name: "EventReservationForm",
592
592
  props: {
593
593
  showGiftCard: {
@@ -601,43 +601,43 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
601
601
  prevCallback: {}
602
602
  },
603
603
  setup(t) {
604
- let { t: i } = f(), o = x(), { areListingsAvailable: s, arrivalTime: h, numberOfPeople: y, numberOfRooms: b, numberOfTotalDays: S, isTemplateEvent: w, currentEventDate: T, length: E, fromDate: D, tableBasePrice: O, getTemplateData: k, basePrice: A, totalPrice: j, weekendFee: ee, roomUpgrade: N, discountCode: F, totalSelectedProducts: I, discountValue: L, appliedDiscountCode: te } = v(K()), { totalAddonPrice: ne, validateDiscountCode: R } = K(), { currency: V, hideEventLength: re } = v(M()), H = i("event.reservationNotice");
604
+ let { t: i } = f(), o = x(), { areListingsAvailable: s, arrivalTime: h, numberOfPeople: y, numberOfRooms: b, numberOfTotalDays: S, isTemplateEvent: w, currentEventDate: T, length: E, fromDate: D, tableBasePrice: O, getTemplateData: k, basePrice: A, totalPrice: ee, weekendFee: M, roomUpgrade: N, discountCode: P, totalSelectedProducts: F, discountValue: I, appliedDiscountCode: L } = v(K()), { totalAddonPrice: R, validateDiscountCode: te } = K(), { currency: ne, hideEventLength: re } = v(j()), V = i("event.reservationNotice");
605
605
  return (f, v) => (a(), r(ye, {
606
- "discount-code": d(F),
607
- "onUpdate:discountCode": v[0] ||= (e) => m(F) ? F.value = e : null,
608
- "validate-discount-code": d(R),
606
+ "discount-code": d(P),
607
+ "onUpdate:discountCode": v[0] ||= (e) => m(P) ? P.value = e : null,
608
+ "validate-discount-code": d(te),
609
609
  "show-gift-card": t.showGiftCard,
610
610
  "show-terms-notice": t.showTermsNotice,
611
611
  "is-sidebar-loading": !d(s),
612
612
  "base-price": d(A),
613
- "total-price": d(j),
614
- "weekend-fee": d(ee),
613
+ "total-price": d(ee),
614
+ "weekend-fee": d(M),
615
615
  "room-upgrade": d(N),
616
- notice: d(H),
616
+ notice: d(V),
617
617
  "prev-callback": t.prevCallback
618
618
  }, g({
619
- form: C(() => [e(f.$slots, "form", {}, void 0, !0), d(H) ? (a(), c("div", Qe, [u("p", {
620
- innerHTML: d(H),
619
+ form: C(() => [e(f.$slots, "form", {}, void 0, !0), d(V) ? (a(), c("div", Qe, [u("p", {
620
+ innerHTML: d(V),
621
621
  class: "konnectio-wysiwyg"
622
622
  }, null, 8, $e)])) : n("", !0)]),
623
623
  "reservation-summary": C(() => [
624
- d(w) ? n("", !0) : (a(), c("li", et, [u("span", null, _(d(i)("general.date")), 1), u("b", null, _(d(P)(d(T))), 1)])),
624
+ d(w) ? n("", !0) : (a(), c("li", et, [u("span", null, _(d(i)("general.date")), 1), u("b", null, _(d(U)(d(T))), 1)])),
625
625
  d(y) > 0 ? (a(), c("li", tt, [u("span", null, _(d(i)("event.numberOfGuests")), 1), u("b", null, _(d(y)), 1)])) : n("", !0),
626
- !d(w) && d(I) > 0 ? (a(), c("li", nt, [u("span", null, _(d(i)("event.numberOfProducts")), 1), u("b", null, _(d(I)), 1)])) : n("", !0),
626
+ !d(w) && d(F) > 0 ? (a(), c("li", nt, [u("span", null, _(d(i)("event.numberOfProducts")), 1), u("b", null, _(d(F)), 1)])) : n("", !0),
627
627
  d(w) ? (a(), c(p, { key: 3 }, [
628
- u("li", null, [u("span", null, _(d(i)("booking.reservation.arrival")), 1), u("b", null, _(d(P)(d(D))), 1)]),
629
- u("li", null, [u("span", null, _(d(i)("booking.reservation.departure")), 1), u("b", null, _(d(P)(d(D), d(S))), 1)]),
628
+ u("li", null, [u("span", null, _(d(i)("booking.reservation.arrival")), 1), u("b", null, _(d(U)(d(D))), 1)]),
629
+ u("li", null, [u("span", null, _(d(i)("booking.reservation.departure")), 1), u("b", null, _(d(U)(d(D), d(S))), 1)]),
630
630
  u("li", null, [u("span", null, _(d(i)("event.numberOfRooms")), 1), u("b", null, _(d(b)), 1)]),
631
631
  d(S) > 0 ? (a(), c("li", rt, [u("span", null, _(d(i)("event.numberOfDays")), 1), u("b", null, _(d(S)), 1)])) : n("", !0)
632
632
  ], 64)) : n("", !0),
633
- !d(w) && d(h) ? (a(), c("li", it, [u("span", null, _(d(i)("event.startOfEvent")), 1), u("b", null, _(d(z)(d(h))), 1)])) : n("", !0),
634
- !d(w) && d(E) && !d(re) ? (a(), c("li", at, [u("span", null, _(d(i)("event.lengthOfEvent")), 1), u("b", null, _(d(z)(d(E))), 1)])) : n("", !0),
635
- d(L) ? (a(), c("li", ot, [u("span", null, _(d(i)("general.discountCode")), 1), u("b", null, _(d(te)), 1)])) : n("", !0)
633
+ !d(w) && d(h) ? (a(), c("li", it, [u("span", null, _(d(i)("event.startOfEvent")), 1), u("b", null, _(d(B)(d(h))), 1)])) : n("", !0),
634
+ !d(w) && d(E) && !d(re) ? (a(), c("li", at, [u("span", null, _(d(i)("event.lengthOfEvent")), 1), u("b", null, _(d(B)(d(E))), 1)])) : n("", !0),
635
+ d(I) ? (a(), c("li", ot, [u("span", null, _(d(i)("general.discountCode")), 1), u("b", null, _(d(L)), 1)])) : n("", !0)
636
636
  ]),
637
- "price-summary": C(() => [!d(w) && d(O) > 0 ? (a(), c("li", st, [u("span", null, _(d(i)("booking.availability.basePrice")), 1), u("b", null, _(d(B)(d(O), d(V))), 1)])) : n("", !0), d(k) ? (a(!0), c(p, { key: 1 }, l(d(k), ({ roomGroupId: e }, t) => (a(), c(p, null, [d(ne)(e, t) > 0 ? (a(), c("li", { key: e }, [u("span", null, _(d(i)("booking.reservation.addons")) + " - " + _(d(i)("booking.reservation.room")) + " #" + _(t + 1), 1), u("b", null, _(d(B)(d(ne)(e, t), d(V))), 1)])) : n("", !0)], 64))), 256)) : n("", !0)]),
637
+ "price-summary": C(() => [!d(w) && d(O) > 0 ? (a(), c("li", st, [u("span", null, _(d(i)("booking.availability.basePrice")), 1), u("b", null, _(d(z)(d(O), d(ne))), 1)])) : n("", !0), d(k) ? (a(!0), c(p, { key: 1 }, l(d(k), ({ roomGroupId: e }, t) => (a(), c(p, null, [d(R)(e, t) > 0 ? (a(), c("li", { key: e }, [u("span", null, _(d(i)("booking.reservation.addons")) + " - " + _(d(i)("booking.reservation.room")) + " #" + _(t + 1), 1), u("b", null, _(d(z)(d(R)(e, t), d(ne))), 1)])) : n("", !0)], 64))), 256)) : n("", !0)]),
638
638
  navigation: C(() => [e(f.$slots, "navigation", {}, void 0, !0)]),
639
- "mobile-under-price": C(() => [d(w) && d(S) > 0 ? (a(), c("div", ct, [u("span", null, _(d(P)(d(D))) + " - " + _(d(P)(d(D), d(S))), 1)])) : (a(), c("div", lt, [u("span", null, _(d(P)(d(T))), 1)]))]),
640
- "mobile-summary": C(() => [!d(w) && d(I) > 0 ? (a(), c("span", ut, _(d(i)("event.numberOfProducts")) + ": " + _(d(I)), 1)) : n("", !0)]),
639
+ "mobile-under-price": C(() => [d(w) && d(S) > 0 ? (a(), c("div", ct, [u("span", null, _(d(U)(d(D))) + " - " + _(d(U)(d(D), d(S))), 1)])) : (a(), c("div", lt, [u("span", null, _(d(U)(d(T))), 1)]))]),
640
+ "mobile-summary": C(() => [!d(w) && d(F) > 0 ? (a(), c("span", ut, _(d(i)("event.numberOfProducts")) + ": " + _(d(F)), 1)) : n("", !0)]),
641
641
  _: 2
642
642
  }, [d(o).sidebar ? {
643
643
  name: "sidebar",
@@ -657,7 +657,7 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
657
657
  "prev-callback"
658
658
  ]));
659
659
  }
660
- }), [["__scopeId", "data-v-c1e1c642"]]), ft = { class: "event-skeleton" }, pt = { class: "event-skeleton-content" }, mt = { class: "event-skeleton-sidebar" }, ht = /*#__PURE__*/ L(/* @__PURE__ */ s({
660
+ }), [["__scopeId", "data-v-c1e1c642"]]), ft = { class: "event-skeleton" }, pt = { class: "event-skeleton-content" }, mt = { class: "event-skeleton-sidebar" }, ht = /*#__PURE__*/ R(/* @__PURE__ */ s({
661
661
  __name: "EventSkeleton",
662
662
  setup(e) {
663
663
  return (e, t) => (a(), c("div", ft, [u("div", pt, [h(Ce)]), u("div", mt, [n("", !0), h(we)])]));
@@ -677,7 +677,7 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
677
677
  }, Tt = { class: "konnectio-table with-lines" }, Et = { class: "konnectio-event-addons-price" }, Dt = { class: "konnectio-event-addons-input" }, Ot = { class: "konnectio-event-addons-price" }, kt = { class: "konnectio-event-addons-price" }, At = {
678
678
  key: 1,
679
679
  class: "konnectio-table with-lines without-header"
680
- }, jt = { class: "konnectio-table-addons-information" }, Mt = { key: 0 }, Nt = { class: "konnectio-table-addons-option" }, Pt = { class: "konnectio-panel" }, Ft = /*#__PURE__*/ L(/* @__PURE__ */ s({
680
+ }, jt = { class: "konnectio-table-addons-information" }, Mt = { key: 0 }, Nt = { class: "konnectio-table-addons-option" }, Pt = { class: "konnectio-panel" }, Ft = /*#__PURE__*/ R(/* @__PURE__ */ s({
681
681
  name: "EventLayout",
682
682
  __name: "Event",
683
683
  props: {
@@ -695,7 +695,7 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
695
695
  styling: {}
696
696
  },
697
697
  setup(e) {
698
- let i = e, { t: o } = f(), s = K(), { isHostedCheckoutActive: g } = v(ie()), { addons: y, products: b, numberOfDays: x, flagOnTable: S, numberOfHighChairs: w, name: D, phone: O, email: k, remark: A, allergies: P, arrivalTime: I, hasEvents: L, hasTemplates: R, getTemplates: V, getEventData: oe, getTemplateData: J, getEventTableData: ce, hasProducts: le, eventRateType: ue, areListingsAvailable: de, isAvailabilityDataAvailable: fe, hasListingData: pe, isPaymentLoading: me, isReservationFormFilled: he, requiresArrivalTime: ge, hasSelectedRequiredProducts: _e, getUnavailableEvents: Y, hasFallbackEvents: ye, getFallbackEvents: Se, excludeEventIds: we } = v(s), Ee = T(() => s.getSortedEvents(i.sortOrder)), { currency: X, enableTracking: Z } = v(M()), { setActiveIdFilter: je } = M(), { eventDate: Me, eventLocation: Ne } = v(j()), { isValidRestaurantId: Pe } = j(), { initialize: Fe, fetchListings: Ie, createBooking: Le, localAddonPrice: Q, totalAddonPrice: Re, reset: ze, goBack: Ve } = K(), { beginEventCheckout: He } = ee(), { display: $ } = F(), Ue = T(() => [
698
+ let i = e, { t: o } = f(), s = K(), { isHostedCheckoutActive: g } = v(oe()), { addons: y, products: b, numberOfDays: x, flagOnTable: S, numberOfHighChairs: w, name: D, phone: O, email: k, remark: M, allergies: P, arrivalTime: I, hasEvents: L, hasTemplates: R, getTemplates: ie, getEventData: U, getTemplateData: J, getEventTableData: ce, hasProducts: le, eventRateType: ue, areListingsAvailable: de, isAvailabilityDataAvailable: fe, hasListingData: pe, isPaymentLoading: me, isReservationFormFilled: he, requiresArrivalTime: ge, hasSelectedRequiredProducts: _e, getUnavailableEvents: Y, hasFallbackEvents: ye, getFallbackEvents: Se, excludeEventIds: we } = v(s), Ee = T(() => s.getSortedEvents(i.sortOrder)), { currency: X, enableTracking: Z } = v(j()), { setActiveIdFilter: je } = j(), { eventDate: Me, eventLocation: Ne } = v(A()), { isValidRestaurantId: Pe } = A(), { initialize: Fe, fetchListings: Ie, createBooking: Le, localAddonPrice: Q, totalAddonPrice: Re, reset: ze, goBack: Ve } = K(), { beginEventCheckout: He } = ee(), { display: $ } = F(), Ue = T(() => [
699
699
  {
700
700
  id: "availability",
701
701
  label: o("booking.availability.title"),
@@ -725,7 +725,7 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
725
725
  let e = [];
726
726
  return ce.value && ce.value.forEach((t) => {
727
727
  e.find((e) => e.value === t.time) || e.push({
728
- label: z(t.time),
728
+ label: B(t.time),
729
729
  value: t.time
730
730
  });
731
731
  }), e;
@@ -738,7 +738,7 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
738
738
  }
739
739
  function qe() {
740
740
  let e = ae("history", { removeNullishValues: !0 }), t = parseInt(e.rid), n = e.d, r = parseInt(e.eid);
741
- if (n) if (te(n)) {
741
+ if (n) if (ne(n)) {
742
742
  let t = new Date(n);
743
743
  t.setHours(12, 0, 0, 0) >= (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0) ? Me.value = t : ($({
744
744
  message: o("alert.error.invalidDateRange"),
@@ -753,7 +753,7 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
753
753
  type: "error"
754
754
  }))), isNaN(r) || je(String(r)), i.excludeEventIds && (we.value = i.excludeEventIds), Ie();
755
755
  }
756
- return (i, s) => (a(), r(re, { styling: e.styling }, {
756
+ return (i, s) => (a(), r(V, { styling: e.styling }, {
757
757
  default: C(() => [(a(), r(E, { onResolve: qe }, {
758
758
  default: C(() => [h(se, {
759
759
  id: "konnectio-event-module",
@@ -803,7 +803,7 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
803
803
  "events",
804
804
  "tracking-enabled",
805
805
  "callback"
806
- ]))), 256)) : n("", !0), d(R) && e.onlyShow !== "events" ? (a(!0), c(p, { key: 1 }, l(d(V), ({ id: e, name: n, fromDate: i, toDate: o, minimumPersonCount: s, fromPrice: c, description: l, images: u }) => (a(), r(Ze, {
806
+ ]))), 256)) : n("", !0), d(R) && e.onlyShow !== "events" ? (a(!0), c(p, { key: 1 }, l(d(ie), ({ id: e, name: n, fromDate: i, toDate: o, minimumPersonCount: s, fromPrice: c, description: l, images: u }) => (a(), r(Ze, {
807
807
  key: e,
808
808
  "listing-id": e,
809
809
  name: n,
@@ -875,7 +875,7 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
875
875
  u("td", null, [
876
876
  u("b", null, _(i), 1),
877
877
  s[11] ||= u("br", null, null, -1),
878
- u("span", null, _(d(B)(o, d(X))) + " " + _(d(ne)(l)), 1)
878
+ u("span", null, _(d(z)(o, d(X))) + " " + _(d(te)(l)), 1)
879
879
  ]),
880
880
  u("td", Dt, [n === 3 ? (a(), r(W, {
881
881
  key: 0,
@@ -889,18 +889,18 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
889
889
  "onUpdate:modelValue": (n) => d(y)[`${e}.${t}.${f}`] = n,
890
890
  numeric: !0
891
891
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))]),
892
- u("td", Ot, [u("span", null, _(d(B)(d(Q)(t, e, f), d(X))), 1)])
892
+ u("td", Ot, [u("span", null, _(d(z)(d(Q)(t, e, f), d(X))), 1)])
893
893
  ]))), 128))]),
894
894
  u("tfoot", null, [u("tr", null, [
895
895
  s[12] ||= u("td", null, null, -1),
896
896
  s[13] ||= u("td", null, null, -1),
897
- u("td", kt, [u("u", null, [u("span", null, _(d(B)(d(Re)(e, f), d(X))), 1)])])
897
+ u("td", kt, [u("u", null, [u("span", null, _(d(z)(d(Re)(e, f), d(X))), 1)])])
898
898
  ])])
899
899
  ])]))), 128))])) : n("", !0),
900
- d(le) ? (a(), c("table", At, [u("tbody", null, [(a(!0), c(p, null, l(d(oe).products, ({ id: e, name: t, price: r, description: i }) => (a(), c("tr", { key: e }, [u("td", jt, [
900
+ d(le) ? (a(), c("table", At, [u("tbody", null, [(a(!0), c(p, null, l(d(U).products, ({ id: e, name: t, price: r, description: i }) => (a(), c("tr", { key: e }, [u("td", jt, [
901
901
  u("b", null, [u("span", null, _(d(N)(t)), 1)]),
902
902
  i && i !== t ? (a(), c("span", Mt, _(d(N)(i)), 1)) : n("", !0),
903
- u("u", null, _(d(B)(r, d(X))), 1)
903
+ u("u", null, _(d(z)(r, d(X))), 1)
904
904
  ]), u("td", Nt, [h(W, {
905
905
  modelValue: d(b)[e],
906
906
  "onUpdate:modelValue": (t) => d(b)[e] = t,
@@ -927,7 +927,7 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
927
927
  }, {
928
928
  form: C(() => [u("form", Pt, [
929
929
  u("h2", null, [u("span", null, _(d(o)("booking.reservation.detailsTitle")), 1)]),
930
- h(U, {
930
+ h(H, {
931
931
  modelValue: d(D),
932
932
  "onUpdate:modelValue": s[0] ||= (e) => m(D) ? D.value = e : null,
933
933
  type: "text",
@@ -940,7 +940,7 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
940
940
  "label",
941
941
  "placeholder"
942
942
  ]),
943
- h(U, {
943
+ h(H, {
944
944
  modelValue: d(k),
945
945
  "onUpdate:modelValue": s[1] ||= (e) => m(k) ? k.value = e : null,
946
946
  label: d(o)("booking.reservation.email"),
@@ -980,7 +980,7 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
980
980
  "label",
981
981
  "checkboxes"
982
982
  ])) : n("", !0),
983
- d(ue) === d(H).FullDayEvent ? (a(), r(W, {
983
+ d(ue) === d(re).FullDayEvent ? (a(), r(W, {
984
984
  key: 1,
985
985
  modelValue: d(x),
986
986
  "onUpdate:modelValue": s[4] ||= (e) => m(x) ? x.value = e : null,
@@ -1002,10 +1002,10 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
1002
1002
  "onUpdate:modelValue": s[6] ||= (e) => m(S) ? S.value = e : null,
1003
1003
  label: d(o)("event.flagOnTable")
1004
1004
  }, null, 8, ["modelValue", "label"])) : n("", !0),
1005
- e.hideRemarks === "yes" ? n("", !0) : (a(), r(U, {
1005
+ e.hideRemarks === "yes" ? n("", !0) : (a(), r(H, {
1006
1006
  key: 4,
1007
- modelValue: d(A),
1008
- "onUpdate:modelValue": s[7] ||= (e) => m(A) ? A.value = e : null,
1007
+ modelValue: d(M),
1008
+ "onUpdate:modelValue": s[7] ||= (e) => m(M) ? M.value = e : null,
1009
1009
  type: "textarea",
1010
1010
  label: d(o)("booking.reservation.remark"),
1011
1011
  icon: "info-circle",
@@ -1015,7 +1015,7 @@ var je = { class: "konnectio-event-listing-action-button" }, Me = /*#__PURE__*/
1015
1015
  "label",
1016
1016
  "placeholder"
1017
1017
  ])),
1018
- e.hideAllergies !== "yes" && d(oe)?.showAllergyFoodFieldOnline ? (a(), r(U, {
1018
+ e.hideAllergies !== "yes" && d(U)?.showAllergyFoodFieldOnline ? (a(), r(H, {
1019
1019
  key: 5,
1020
1020
  modelValue: d(P),
1021
1021
  "onUpdate:modelValue": s[8] ||= (e) => m(P) ? P.value = e : null,
package/dist/event.js.br CHANGED
Binary file
package/dist/event.js.gz CHANGED
Binary file
@@ -1,13 +1,13 @@
1
1
  import { D as e, E as t, J as n, N as r, O as i, T as a, Tt as o, a as s, ht as c, j as l, kt as u, l as d, n as f, o as p, s as m, ut as h, v as g, w as _, x as v } from "./i18n-DwFTw_rF.js";
2
- import { E as y, K as b, M as x, S, Y as C, b as w, x as T } from "./SelectField-znnXsV6p.js";
3
- import { t as E } from "./_-DROE_ihH.js";
4
- import { t as D } from "./ErrorMessage-DIkYMjy5.js";
5
- import { n as O, t as k } from "./Field-DSL9I38Y.js";
6
- import { t as A } from "./style-B39gpkik.js";
7
- import { t as j } from "./ActionField-Zk9gKfBl.js";
8
- import { t as M } from "./giftCard-B5-sqDH9.js";
2
+ import { E as y, M as b, S as x, X as S, b as C, q as w, x as T } from "./SelectField-ChDa9rDG.js";
3
+ import { t as E } from "./_-D04cczMr.js";
4
+ import { t as D } from "./ErrorMessage-DOMjsB2z.js";
5
+ import { n as O, t as k } from "./Field-ChuCrNgy.js";
6
+ import { t as A } from "./style-DT-etRss.js";
7
+ import { t as j } from "./ActionField-BRuDERve.js";
8
+ import { t as M } from "./giftCard-B6oKfDeO.js";
9
9
  //#region src/components/skeletons/GiftCardValidationSkeleton.vue?vue&type=script&setup=true&lang.ts
10
- var N = { class: "gift-card-validation-skeleton" }, P = { class: "gift-card-validation-skeleton-form" }, F = { class: "gift-card-validation-skeleton-text" }, I = { class: "gift-card-validation-skeleton-input" }, L = /*#__PURE__*/ S(/* @__PURE__ */ r({
10
+ var N = { class: "gift-card-validation-skeleton" }, P = { class: "gift-card-validation-skeleton-form" }, F = { class: "gift-card-validation-skeleton-text" }, I = { class: "gift-card-validation-skeleton-input" }, L = /*#__PURE__*/ x(/* @__PURE__ */ r({
11
11
  __name: "GiftCardValidationSkeleton",
12
12
  setup(e) {
13
13
  return (e, t) => (n(), i("div", N, [a("div", P, [a("div", F, [
@@ -20,7 +20,7 @@ var N = { class: "gift-card-validation-skeleton" }, P = { class: "gift-card-vali
20
20
  key: 0,
21
21
  id: "konnectio-gift-card-validation-resume",
22
22
  class: "konnectio-panel"
23
- }, B = /*#__PURE__*/ S(/* @__PURE__ */ r({
23
+ }, B = /*#__PURE__*/ x(/* @__PURE__ */ r({
24
24
  name: "GiftCardValidationLayout",
25
25
  __name: "GiftCardValidation",
26
26
  props: {
@@ -31,8 +31,8 @@ var N = { class: "gift-card-validation-skeleton" }, P = { class: "gift-card-vali
31
31
  let f = r, p = _(() => ({
32
32
  panelMaxWidth: "800px",
33
33
  ...f.styling
34
- })), { t: m } = s(), { voucher: S, isValid: O, amount: k, expirationDate: A, productName: N, isLoading: P } = d(x()), { currency: F, hasError: I } = d(y()), { fetchMetadata: B } = M(), { apply: V } = x();
35
- return (s, d) => (n(), t(w, { styling: p.value }, {
34
+ })), { t: m } = s(), { voucher: x, isValid: O, amount: k, expirationDate: A, productName: N, isLoading: P } = d(b()), { currency: F, hasError: I } = d(y()), { fetchMetadata: B } = M(), { apply: V } = b();
35
+ return (s, d) => (n(), t(C, { styling: p.value }, {
36
36
  default: h(() => [(n(), t(v, null, {
37
37
  default: h(() => [l(E, {
38
38
  "access-token": r.accessToken,
@@ -50,8 +50,8 @@ var N = { class: "gift-card-validation-skeleton" }, P = { class: "gift-card-vali
50
50
  a("h4", null, [a("span", null, u(o(m)("giftCardValidation.title")), 1)]),
51
51
  a("p", { innerHTML: o(m)("giftCardValidation.description") }, null, 8, R),
52
52
  l(j, {
53
- modelValue: o(S),
54
- "onUpdate:modelValue": d[0] ||= (e) => c(S) ? S.value = e : null,
53
+ modelValue: o(x),
54
+ "onUpdate:modelValue": d[0] ||= (e) => c(x) ? x.value = e : null,
55
55
  icon: "gift-card",
56
56
  label: o(m)("booking.reservation.giftCardCode"),
57
57
  buttonLabel: o(m)("giftCardValidation.submitButton"),
@@ -83,8 +83,8 @@ var N = { class: "gift-card-validation-skeleton" }, P = { class: "gift-card-vali
83
83
  })])
84
84
  ])]), a("tbody", null, [a("tr", null, [
85
85
  a("td", null, [a("span", null, u(o(N)), 1)]),
86
- a("td", null, [a("span", null, u(o(C)(o(k), o(F))), 1)]),
87
- a("td", null, [a("span", null, u(o(b)(o(A))), 1)])
86
+ a("td", null, [a("span", null, u(o(S)(o(k), o(F))), 1)]),
87
+ a("td", null, [a("span", null, u(o(w)(o(A))), 1)])
88
88
  ])])])) : e("", !0)
89
89
  ], 32))]),
90
90
  _: 1
Binary file
Binary file
package/dist/gift-card.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { D as e, E as t, Et as n, J as r, K as i, N as a, O as o, Q as s, T as c, Tt as l, a as u, b as d, ct as f, dt as p, g as m, ht as h, i as g, j as _, kt as v, l as y, n as b, o as x, s as S, ut as C, v as w, w as T, x as ee, yt as E } from "./i18n-DwFTw_rF.js";
2
- import { t as D } from "./dist-D0UeEMSK.js";
3
- import { E as te, N as O, S as k, _ as ne, b as re, n as A, r as j, t as M, v as N, y as P } from "./SelectField-znnXsV6p.js";
4
- import { t as F } from "./_-DROE_ihH.js";
5
- import { t as I } from "./ErrorMessage-DIkYMjy5.js";
6
- import { n as L, t as R } from "./Field-DSL9I38Y.js";
7
- import { t as z } from "./style-B39gpkik.js";
8
- import { a as ie, i as ae, r as oe, t as se } from "./CheckoutWindow-Bk176718.js";
9
- import { t as B } from "./giftCard-B5-sqDH9.js";
10
- import { t as V } from "./TermsOfService-saWS7QrH.js";
2
+ import { t as D } from "./dist-Dk3XMpn5.js";
3
+ import { E as te, N as O, S as k, _ as ne, b as re, n as A, r as j, t as M, v as N, y as P } from "./SelectField-ChDa9rDG.js";
4
+ import { t as F } from "./_-D04cczMr.js";
5
+ import { t as I } from "./ErrorMessage-DOMjsB2z.js";
6
+ import { n as L, t as R } from "./Field-ChuCrNgy.js";
7
+ import { t as z } from "./style-DT-etRss.js";
8
+ import { a as ie, i as ae, r as oe, t as se } from "./CheckoutWindow-hlZnuGXN.js";
9
+ import { t as B } from "./giftCard-B6oKfDeO.js";
10
+ import { t as V } from "./TermsOfService-DFPH0Sqb.js";
11
11
  //#region src/components/inputs/MediaSelector.vue?vue&type=script&setup=true&lang.ts
12
12
  var H = { class: "media-selector" }, U = ["accept"], W = { class: "media-selector-wrapper" }, G = { class: "media-selector-tools" }, K = { key: 0 }, q = { key: 1 }, J = { key: 2 }, Y = ["src"], X = /*@__PURE__*/ a({
13
13
  __name: "MediaSelector",
Binary file
Binary file
@@ -1,12 +1,12 @@
1
1
  import { c as e, l as t, t as n, w as r, yt as i } from "./i18n-DwFTw_rF.js";
2
- import { E as a, F as o, H as s, N as c, T as l, dt as u, j as d, ot as f, tt as p } from "./SelectField-znnXsV6p.js";
2
+ import { E as a, F as o, N as s, T as c, U as l, ft as u, j as d, nt as f, st as p } from "./SelectField-ChDa9rDG.js";
3
3
  //#region src/store/giftCard.ts
4
4
  var m = e("giftCard", () => {
5
- let { pay: e } = d(), { display: m } = c(), { metaData: h, currencyId: g, hasError: _ } = t(a()), v = a(), y = i(p.InitialState), b = u("konnectio_name", "", void 0, { serializer: f.string }), x = u("konnectio_email", "", void 0, { serializer: f.string }), S = u("konnectio_phone", "", void 0, { serializer: f.string }), C = i(""), w = i(1), T = i(!0), E = i(""), D = i({
5
+ let { pay: e } = d(), { display: m } = s(), { metaData: h, currencyId: g, hasError: _ } = t(a()), v = a(), y = i(f.InitialState), b = u("konnectio_name", "", void 0, { serializer: p.string }), x = u("konnectio_email", "", void 0, { serializer: p.string }), S = u("konnectio_phone", "", void 0, { serializer: p.string }), C = i(""), w = i(1), T = i(!0), E = i(""), D = i({
6
6
  base64: "",
7
7
  type: "",
8
8
  name: ""
9
- }), O = i(void 0), k = i(0), A = i(!1), j = i(0), M = r(() => v.metaData.hotels[0]), N = r(() => M.value.termsOfService ? M.value.termsOfService : ""), P = r(() => y.value === p.InitialState || y.value === p.WaitingForResponse), F = r(() => y.value === p.ReadyToPay), I = r(() => y.value === p.PaymentSuccess), L = r(() => {
9
+ }), O = i(void 0), k = i(0), A = i(!1), j = i(0), M = r(() => v.metaData.hotels[0]), N = r(() => M.value.termsOfService ? M.value.termsOfService : ""), P = r(() => y.value === f.InitialState || y.value === f.WaitingForResponse), F = r(() => y.value === f.ReadyToPay), I = r(() => y.value === f.PaymentSuccess), L = r(() => {
10
10
  let e = {
11
11
  1: {
12
12
  label: n.t("giftCard.hotelType"),
@@ -30,10 +30,10 @@ var m = e("giftCard", () => {
30
30
  });
31
31
  }
32
32
  return e;
33
- }), B = r(() => !(!b.value || !x.value || !(S.value.length >= 5) || !C.value || z.value === void 0)), V = r(() => !(y.value === p.InitialState && A.value)), H = r(() => !!(y.value === p.WaitingForResponse && A.value));
33
+ }), B = r(() => !(!b.value || !x.value || !(S.value.length >= 5) || !C.value || z.value === void 0)), V = r(() => !(y.value === f.InitialState && A.value)), H = r(() => !!(y.value === f.WaitingForResponse && A.value));
34
34
  async function U() {
35
35
  try {
36
- let e = (await l().get("/gift-card/metadata", { params: { language: s() } })).data;
36
+ let e = (await c().get("/gift-card/metadata", { params: { language: l() } })).data;
37
37
  e.success === void 0 ? _.value = !1 : _.value = !e.success, h.value = e;
38
38
  } catch {
39
39
  m({
@@ -43,11 +43,11 @@ var m = e("giftCard", () => {
43
43
  }
44
44
  }
45
45
  async function W() {
46
- y.value = p.WaitingForResponse, A.value = !0, await l().post("/gift-card/create", {
46
+ y.value = f.WaitingForResponse, A.value = !0, await c().post("/gift-card/create", {
47
47
  termsOfserviceURL: window.location.origin,
48
48
  checkoutUrl: window.location.origin,
49
49
  currencyID: g.value,
50
- language: s(),
50
+ language: l(),
51
51
  amount: C.value,
52
52
  quantity: w.value,
53
53
  freeText: E.value,
@@ -61,9 +61,9 @@ var m = e("giftCard", () => {
61
61
  placeType: z.value ? z.value.placeType : void 0,
62
62
  placeID: z.value ? z.value.id : void 0
63
63
  }).then((t) => {
64
- y.value = p.ReadyToPay, A.value = !1, e({
64
+ y.value = f.ReadyToPay, A.value = !1, e({
65
65
  callback: (e) => {
66
- e === 2 && (y.value = p.PaymentSuccess);
66
+ e === 2 && (y.value = f.PaymentSuccess);
67
67
  },
68
68
  response: t.data,
69
69
  enableHostedRedirect: !0
Binary file
Binary file