@konnectio/core 4.7.9 → 4.7.10

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-BLUufdat.js → ActionField-BSWeY8s9.js} +6 -6
  2. package/dist/ActionField-BSWeY8s9.js.br +0 -0
  3. package/dist/ActionField-BSWeY8s9.js.gz +0 -0
  4. package/dist/{AvailabilitySkeleton-DlcBMiZx.js → AvailabilitySkeleton-Q_NRPJhM.js} +113 -113
  5. package/dist/AvailabilitySkeleton-Q_NRPJhM.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-Q_NRPJhM.js.gz +0 -0
  7. package/dist/{CheckoutWindow-BcRZIzMT.js → CheckoutWindow-BUNrnlGh.js} +7 -7
  8. package/dist/CheckoutWindow-BUNrnlGh.js.br +0 -0
  9. package/dist/CheckoutWindow-BUNrnlGh.js.gz +0 -0
  10. package/dist/{ErrorMessage-C8zkJCJE.js → ErrorMessage-BvilVn5L.js} +7 -7
  11. package/dist/ErrorMessage-BvilVn5L.js.br +0 -0
  12. package/dist/ErrorMessage-BvilVn5L.js.gz +0 -0
  13. package/dist/{EventAvailabilityForm-B4sFsGhI.js → EventAvailabilityForm-btvOM8KB.js} +16 -16
  14. package/dist/EventAvailabilityForm-btvOM8KB.js.br +0 -0
  15. package/dist/EventAvailabilityForm-btvOM8KB.js.gz +0 -0
  16. package/dist/{Field-De-fvk85.js → Field-DAHZfr5Y.js} +1 -1
  17. package/dist/Field-DAHZfr5Y.js.br +0 -0
  18. package/dist/Field-DAHZfr5Y.js.gz +0 -0
  19. package/dist/{HotelAvailabilityForm-C8uTiy9J.js → HotelAvailabilityForm-DCCdgoBw.js} +6 -6
  20. package/dist/HotelAvailabilityForm-DCCdgoBw.js.br +0 -0
  21. package/dist/HotelAvailabilityForm-DCCdgoBw.js.gz +0 -0
  22. package/dist/{SelectField-CDAxug6h.js → SelectField-CnreRmEZ.js} +1888 -1870
  23. package/dist/SelectField-CnreRmEZ.js.br +0 -0
  24. package/dist/SelectField-CnreRmEZ.js.gz +0 -0
  25. package/dist/{TermsOfService-Dt5Q1SCK.js → TermsOfService-DcFuq9YM.js} +6 -6
  26. package/dist/TermsOfService-DcFuq9YM.js.br +0 -0
  27. package/dist/TermsOfService-DcFuq9YM.js.gz +3 -0
  28. package/dist/{_-Be3oAOAc.js → _-DYoQFY32.js} +1 -1
  29. package/dist/_-DYoQFY32.js.br +0 -0
  30. package/dist/_-DYoQFY32.js.gz +5 -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 +11 -11
  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-C_IilFmu.js → dist-CXMkG9Ch.js} +25 -26
  41. package/dist/dist-CXMkG9Ch.js.br +0 -0
  42. package/dist/dist-CXMkG9Ch.js.gz +0 -0
  43. package/dist/{dist-BPlclb9p.js → dist-VETO5cbq.js} +2 -2
  44. package/dist/dist-VETO5cbq.js.br +0 -0
  45. package/dist/dist-VETO5cbq.js.gz +0 -0
  46. package/dist/event.js +62 -62
  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-k36XguqL.js +104 -0
  56. package/dist/giftCard-k36XguqL.js.br +0 -0
  57. package/dist/giftCard-k36XguqL.js.gz +0 -0
  58. package/dist/hotel.js +212 -214
  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-D9WMflRR.js → style-HOryxFZm.js} +1 -1
  65. package/dist/style-HOryxFZm.js.br +0 -0
  66. package/dist/style-HOryxFZm.js.gz +0 -0
  67. package/dist-wix/availability.js +19 -19
  68. package/dist-wix/event.js +4 -4
  69. package/dist-wix/gift-card-validation.js +20 -20
  70. package/dist-wix/gift-card.js +20 -20
  71. package/dist-wix/hotel.js +4 -4
  72. package/package.json +4 -1
  73. package/dist/ActionField-BLUufdat.js.br +0 -0
  74. package/dist/ActionField-BLUufdat.js.gz +0 -0
  75. package/dist/AvailabilitySkeleton-DlcBMiZx.js.br +0 -0
  76. package/dist/AvailabilitySkeleton-DlcBMiZx.js.gz +0 -0
  77. package/dist/CheckoutWindow-BcRZIzMT.js.br +0 -0
  78. package/dist/CheckoutWindow-BcRZIzMT.js.gz +0 -0
  79. package/dist/ErrorMessage-C8zkJCJE.js.br +0 -0
  80. package/dist/ErrorMessage-C8zkJCJE.js.gz +0 -0
  81. package/dist/EventAvailabilityForm-B4sFsGhI.js.br +0 -0
  82. package/dist/EventAvailabilityForm-B4sFsGhI.js.gz +0 -0
  83. package/dist/Field-De-fvk85.js.br +0 -0
  84. package/dist/Field-De-fvk85.js.gz +0 -0
  85. package/dist/HotelAvailabilityForm-C8uTiy9J.js.br +0 -0
  86. package/dist/HotelAvailabilityForm-C8uTiy9J.js.gz +0 -0
  87. package/dist/SelectField-CDAxug6h.js.br +0 -0
  88. package/dist/SelectField-CDAxug6h.js.gz +0 -0
  89. package/dist/TermsOfService-Dt5Q1SCK.js.br +0 -0
  90. package/dist/TermsOfService-Dt5Q1SCK.js.gz +0 -0
  91. package/dist/_-Be3oAOAc.js.br +0 -0
  92. package/dist/_-Be3oAOAc.js.gz +0 -5
  93. package/dist/dist-BPlclb9p.js.br +0 -0
  94. package/dist/dist-BPlclb9p.js.gz +0 -0
  95. package/dist/dist-C_IilFmu.js.br +0 -0
  96. package/dist/dist-C_IilFmu.js.gz +0 -0
  97. package/dist/giftCard-CxI94mQ4.js +0 -104
  98. package/dist/giftCard-CxI94mQ4.js.br +0 -0
  99. package/dist/giftCard-CxI94mQ4.js.gz +0 -0
  100. package/dist/style-D9WMflRR.js.br +0 -0
  101. package/dist/style-D9WMflRR.js.gz +0 -0
package/dist/core.css.br CHANGED
Binary file
package/dist/core.css.gz CHANGED
Binary file
@@ -1,8 +1,8 @@
1
1
  import { $ as renderSlot, A as createTextVNode, C as Text, D as createCommentVNode, E as createBlock, Et as normalizeClass, I as h, J as openBlock, K as onMounted, N as defineComponent, O as createElementBlock, Ot as normalizeStyle, P as getCurrentInstance, Q as renderList, T as createBaseVNode, Tt as unref, V as nextTick, _t as reactive, a as useI18n, at as useModel, b as Fragment, ct as watch, dt as withDirectives, et as resolveComponent, g as vShow, ht as isRef, j as createVNode, k as createSlots, kt as toDisplayString, l as storeToRefs, ot as useSlots, q as onUnmounted, tt as resolveDirective, u as Transition, ut as withCtx, v as withModifiers, w as computed$1, y as Comment, yt as ref, z as mergeModels } from "./i18n-DwFTw_rF.js";
2
- import { A as ScrollToTop, B as daysBetweenDates, C as useAvailabilityStore, E as useUtilityStore, J as showDate, N as usePaymentStore, O as useHotelStore, P as useApplyGiftCardStore, R as capitalized, S as _plugin_vue_export_helper_default, W as getUserLanguage, Z as showPrice, _ as InputField_default, dt as useEventBus, et as BookingHeaderLayout, n as TextField_default, tt as BookingLayout, v as Clickable_default, w as useEventStore, x as Icon_default, z as convertDescription } from "./SelectField-CDAxug6h.js";
3
- import { n as __default } from "./Field-De-fvk85.js";
4
- import { t as ActionField_default } from "./ActionField-BLUufdat.js";
5
- import { a as Base_default$1, n as GoogleNotice_default, r as Checkbox_default } from "./CheckoutWindow-BcRZIzMT.js";
2
+ import { $ as BookingLayout, A as ScrollToTop, C as useAvailabilityStore, E as useUtilityStore, H as getUserLanguage, I as capitalized, K as showDate, L as convertDescription, M as useApplyGiftCardStore, O as useHotelStore, Q as BookingHeaderLayout, R as daysBetweenDates, S as _plugin_vue_export_helper_default, Y as showPrice, _ as InputField_default, j as usePaymentStore, lt as useEventBus, n as TextField_default, v as Clickable_default, w as useEventStore, x as Icon_default } from "./SelectField-CnreRmEZ.js";
3
+ import { n as __default } from "./Field-DAHZfr5Y.js";
4
+ import { t as ActionField_default } from "./ActionField-BSWeY8s9.js";
5
+ import { a as Base_default$1, n as GoogleNotice_default, r as Checkbox_default } from "./CheckoutWindow-BUNrnlGh.js";
6
6
  //#region node_modules/@egjs/component/dist/component.esm.js
7
7
  function __values(e) {
8
8
  var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
@@ -8551,45 +8551,44 @@ var _hoisted_1$10 = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8551
8551
  layout: { default: BookingHeaderLayout.Default },
8552
8552
  title: {},
8553
8553
  subtitle: {},
8554
- steps: {},
8555
- initialStepId: {}
8554
+ steps: {}
8556
8555
  },
8557
8556
  emits: ["reset"],
8558
8557
  setup(e, { emit: t }) {
8559
- let n = t, { headerHeight: r } = storeToRefs(useUtilityStore()), i = e, s = i.initialStepId ? i.steps.findIndex((e) => e.id === i.initialStepId) : -1, l = ref(s >= 0 ? s : 0), u = ref(), d = computed$1(() => i.steps.filter((e) => !e.hidden)), f = computed$1(() => i.steps[l.value]?.id ?? ""), p = () => {
8560
- if (u.value) {
8558
+ let n = t, { headerHeight: r } = storeToRefs(useUtilityStore()), i = e, s = ref(0), l = ref(), u = computed$1(() => i.steps.filter((e) => !e.hidden)), d = computed$1(() => i.steps[s.value]?.id ?? ""), f = () => {
8559
+ if (l.value) {
8561
8560
  let e = r.value;
8562
8561
  if (e && e > 0) {
8563
- let t = u.value.getBoundingClientRect().top + window.scrollY - e;
8562
+ let t = l.value.getBoundingClientRect().top + window.scrollY - e;
8564
8563
  window.scrollTo({
8565
8564
  top: t,
8566
8565
  behavior: "smooth"
8567
8566
  });
8568
- } else u.value.scrollIntoView({ behavior: "smooth" });
8567
+ } else l.value.scrollIntoView({ behavior: "smooth" });
8569
8568
  }
8569
+ }, p = (e = 1) => {
8570
+ s.value += e, f();
8570
8571
  }, m = (e = 1) => {
8571
- l.value += e, p();
8572
- }, g = (e = 1) => {
8573
- l.value -= e, p();
8572
+ s.value -= e, f();
8574
8573
  };
8575
- function _() {
8576
- l.value = 0, p();
8574
+ function g() {
8575
+ s.value = 0, f();
8577
8576
  }
8578
8577
  return useEventBus(ScrollToTop).on(() => {
8579
- p();
8580
- }), watch(l, () => {
8581
- l.value === 0 && n("reset");
8578
+ f();
8579
+ }), watch(s, () => {
8580
+ s.value === 0 && n("reset");
8582
8581
  }), (t, n) => (openBlock(), createElementBlock("div", {
8583
8582
  id: "konnectio-multi-step-form",
8584
8583
  ref_key: "multiStepForm",
8585
- ref: u
8584
+ ref: l
8586
8585
  }, [createBaseVNode("div", null, [createBaseVNode("header", _hoisted_1$7, [createBaseVNode("div", _hoisted_2$5, [createBaseVNode("div", null, [
8587
8586
  e.title && e.layout !== unref(BookingHeaderLayout).Minimal ? (openBlock(), createElementBlock("h2", _hoisted_3$5, [createBaseVNode("span", null, toDisplayString(e.title), 1)])) : createCommentVNode("", !0),
8588
8587
  e.subtitle && e.layout !== unref(BookingHeaderLayout).Minimal ? (openBlock(), createElementBlock("h5", _hoisted_4$4, [createBaseVNode("span", null, toDisplayString(e.subtitle), 1)])) : createCommentVNode("", !0),
8589
- createBaseVNode("ul", _hoisted_5$3, [(openBlock(!0), createElementBlock(Fragment, null, renderList(d.value, (e, t) => (openBlock(), createElementBlock("li", {
8588
+ createBaseVNode("ul", _hoisted_5$3, [(openBlock(!0), createElementBlock(Fragment, null, renderList(u.value, (e, t) => (openBlock(), createElementBlock("li", {
8590
8589
  key: e.id,
8591
8590
  id: `konnectio-multi-step-item-${e.id}`,
8592
- class: normalizeClass({ "is-active": l.value >= t })
8591
+ class: normalizeClass({ "is-active": s.value >= t })
8593
8592
  }, [e.icon ? (openBlock(), createBlock(Icon_default, {
8594
8593
  key: 0,
8595
8594
  icon: e.icon,
@@ -8599,12 +8598,12 @@ var _hoisted_1$10 = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8599
8598
  key: e.id,
8600
8599
  class: "konnectio-multi-step-form-content-tab"
8601
8600
  }, [withDirectives(createBaseVNode("div", null, [renderSlot(t.$slots, e.id, {
8602
- next: m,
8603
- prev: g,
8604
- reset: _
8605
- }, void 0, !0)], 512), [[vShow, f.value === e.id]])]))), 128))])])], 512));
8601
+ next: p,
8602
+ prev: m,
8603
+ reset: g
8604
+ }, void 0, !0)], 512), [[vShow, d.value === e.id]])]))), 128))])])], 512));
8606
8605
  }
8607
- }), MultiStepForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(MultiStepForm_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-fbe83f3b"]]), konnectio_logo_default = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2023.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20500%20500'%20style='enable-background:new%200%200%20500%20500;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:%23C2DFF5;}%20.st1{fill:%23B0D6F2;}%20.st2{fill:%239FCCEF;}%20.st3{fill:%238DC3EC;}%20.st4{fill:%237CBAE9;}%20.st5{fill:%236AB1E6;}%20.st6{fill:%23D3E8F8;}%20.st7{fill:none;}%20%3c/style%3e%3cpolygon%20class='st0'%20points='250,250%20200,300%20200,200%20'/%3e%3cpolygon%20class='st1'%20points='200,200%20200,300%20150,350%20150,150%20'/%3e%3cpolygon%20class='st2'%20points='150,150%20150,350%20100,400%20100,100%20'/%3e%3cpolygon%20class='st3'%20points='100,100%20100,400%2050,450%2050,50%20'/%3e%3cpolygon%20class='st4'%20points='50,50%2050,450%200,500%200,0%20'/%3e%3cpolygon%20class='st5'%20points='250,250%200,500%20200,500%20250,450%20300,500%20500,500%20'/%3e%3cpolygon%20class='st6'%20points='300,0%20250,50%20200,0%200,0%20250,250%20500,0%20'/%3e%3cpath%20class='st7'%20d='M250,462.5'/%3e%3cpath%20class='st7'%20d='M250,462.5'/%3e%3c/svg%3e", _hoisted_1$6 = { class: "konnectio-brand" }, _hoisted_2$4 = ["src"], _hoisted_3$4 = { class: "konnectio-brand-text" }, _hoisted_4$3 = ["href"], PoweredByKonnectio_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
8606
+ }), MultiStepForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(MultiStepForm_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-fb361044"]]), konnectio_logo_default = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2023.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20500%20500'%20style='enable-background:new%200%200%20500%20500;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:%23C2DFF5;}%20.st1{fill:%23B0D6F2;}%20.st2{fill:%239FCCEF;}%20.st3{fill:%238DC3EC;}%20.st4{fill:%237CBAE9;}%20.st5{fill:%236AB1E6;}%20.st6{fill:%23D3E8F8;}%20.st7{fill:none;}%20%3c/style%3e%3cpolygon%20class='st0'%20points='250,250%20200,300%20200,200%20'/%3e%3cpolygon%20class='st1'%20points='200,200%20200,300%20150,350%20150,150%20'/%3e%3cpolygon%20class='st2'%20points='150,150%20150,350%20100,400%20100,100%20'/%3e%3cpolygon%20class='st3'%20points='100,100%20100,400%2050,450%2050,50%20'/%3e%3cpolygon%20class='st4'%20points='50,50%2050,450%200,500%200,0%20'/%3e%3cpolygon%20class='st5'%20points='250,250%200,500%20200,500%20250,450%20300,500%20500,500%20'/%3e%3cpolygon%20class='st6'%20points='300,0%20250,50%20200,0%200,0%20250,250%20500,0%20'/%3e%3cpath%20class='st7'%20d='M250,462.5'/%3e%3cpath%20class='st7'%20d='M250,462.5'/%3e%3c/svg%3e", _hoisted_1$6 = { class: "konnectio-brand" }, _hoisted_2$4 = ["src"], _hoisted_3$4 = { class: "konnectio-brand-text" }, _hoisted_4$3 = ["href"], PoweredByKonnectio_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
8608
8607
  __name: "PoweredByKonnectio",
8609
8608
  setup(e) {
8610
8609
  let { t } = useI18n(), n = computed$1(() => getUserLanguage() === "da" ? "https://konnectio.dk" : "https://konnectio.com");
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.9\"";
179
+ })))(), 1), l = typeof process < "u" ? "2.6.0" : "?", u = "5pqzBljrmDvquWZYSrSUKldIUREtPyB3", d = "\"4.7.10\"";
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.9"), 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.10"), 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
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-BPlclb9p.js";
3
- import { $ as k, B as A, C as j, D as ee, E as M, F as N, G as P, H as F, J as I, K as L, Q as R, R as te, S as z, U as ne, Y as B, Z as V, b as re, gt as H, n as U, ot as ie, r as W, tt as G, v as K, w as q, x as J } from "./SelectField-CDAxug6h.js";
4
- import { t as ae } from "./_-Be3oAOAc.js";
5
- import { a as oe, c as se, d as ce, f as le, i as ue, l as de, n as fe, o as pe, r as me, s as he, u as Y } from "./AvailabilitySkeleton-DlcBMiZx.js";
6
- import { t as ge } from "./EventAvailabilityForm-B4sFsGhI.js";
7
- import { t as _e } from "./style-D9WMflRR.js";
8
- import { a as ve, c as ye, i as be, l as xe, n as Se, o as Ce, s as we, t as X, u as Z } from "./dist-C_IilFmu.js";
9
- import { i as Te, r as Ee, t as De } from "./CheckoutWindow-BcRZIzMT.js";
2
+ import { t as O } from "./dist-VETO5cbq.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 R, W as ne, X as z, Y as B, Z as V, b as re, it as H, mt as ie, n as U, q as W, r as G, v as K, w as q, x as J } from "./SelectField-CnreRmEZ.js";
4
+ import { t as ae } from "./_-DYoQFY32.js";
5
+ import { a as oe, c as se, d as ce, f as le, i as ue, l as de, n as fe, o as pe, r as me, s as he, u as Y } from "./AvailabilitySkeleton-Q_NRPJhM.js";
6
+ import { t as ge } from "./EventAvailabilityForm-btvOM8KB.js";
7
+ import { t as _e } from "./style-HOryxFZm.js";
8
+ import { a as ve, c as ye, i as be, l as xe, n as Se, o as Ce, s as we, t as X, u as Z } from "./dist-CXMkG9Ch.js";
9
+ import { i as Te, r as Ee, t as De } from "./CheckoutWindow-BUNrnlGh.js";
10
10
  //#region node_modules/date-fns/formatDistanceStrict.js
11
11
  function Oe(e, t, n) {
12
12
  let r = se(), i = n?.locale ?? r.locale ?? me, a = oe(e, t);
@@ -37,7 +37,7 @@ function Oe(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 ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/ z(/* @__PURE__ */ s({
40
+ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/ L(/* @__PURE__ */ s({
41
41
  __name: "_",
42
42
  props: {
43
43
  name: {},
@@ -68,7 +68,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
68
68
  callback: {}
69
69
  },
70
70
  setup(t) {
71
- let { t: o } = f(), s = t, { display: c } = N(), { hideEventGuestAmount: l } = v(M()), { maxNumberOfPeople: p, numberOfPeople: m, eventId: g, currentEventDate: _, tableGroupId: y } = v(q()), { getTemplateAvailability: b, getEventAvailability: x, isEventListingLoading: S } = q(), { addToCart: w } = ee(), E = T(() => s.maxGuests || s.maxOnlineReservationLimit || p.value || Infinity), O = D(0), k = T(() => S(s.listingId)), A = () => {
71
+ let { t: o } = f(), s = t, { display: c } = F(), { hideEventGuestAmount: l } = v(M()), { maxNumberOfPeople: p, numberOfPeople: m, eventId: g, currentEventDate: _, tableGroupId: y } = v(q()), { getTemplateAvailability: b, getEventAvailability: x, isEventListingLoading: S } = q(), { addToCart: w } = ee(), E = T(() => s.maxGuests || s.maxOnlineReservationLimit || p.value || Infinity), O = D(0), A = T(() => S(s.listingId)), j = () => {
72
72
  if (!s.useNumberOfProductsForPersons && (O.value === 0 || isNaN(O.value))) {
73
73
  c({
74
74
  type: "error",
@@ -81,7 +81,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
81
81
  name: s.name,
82
82
  value: s.fromPrice || 0
83
83
  }), g.value = s.listingId, m.value = s.useNumberOfProductsForPersons ? NaN : O.value, b(s.callback);
84
- }, j = () => {
84
+ }, N = () => {
85
85
  if (!s.useNumberOfProductsForPersons && (O.value === 0 || isNaN(O.value))) {
86
86
  c({
87
87
  type: "error",
@@ -103,11 +103,11 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
103
103
  description: t.description,
104
104
  "prices-from": t.fromPrice,
105
105
  "to-date": t.toDate,
106
- layout: d(G).Event,
106
+ layout: d(k).Event,
107
107
  "disable-deep-link": t.disableDeepLink
108
108
  }, {
109
109
  description: C(() => [e(s.$slots, "description", { maxNumberOfPeople: d(p) }, void 0, !0)]),
110
- action: C(() => [e(s.$slots, "action", {}, () => [u("div", { class: i(["konnectio-event-listing-action", { "no-selectable-people": t.useNumberOfProductsForPersons }]) }, [t.useNumberOfProductsForPersons ? n("", !0) : (a(), r(W, {
110
+ action: C(() => [e(s.$slots, "action", {}, () => [u("div", { class: i(["konnectio-event-listing-action", { "no-selectable-people": t.useNumberOfProductsForPersons }]) }, [t.useNumberOfProductsForPersons ? n("", !0) : (a(), r(G, {
111
111
  key: 0,
112
112
  modelValue: O.value,
113
113
  "onUpdate:modelValue": c[0] ||= (e) => O.value = e,
@@ -115,7 +115,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__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(L)(d(o)("general.guests"))}` : void 0,
118
+ description: E.value <= 20 && !d(l) ? `${d(o)("general.availableFor")}: 1 - ${E.value} ${d(ne)(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 ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
126
126
  ])), u("div", ke, [h(K, {
127
127
  label: t.soldOut ? d(o)("event.soldOut") : d(o)("event.bookNowButton"),
128
128
  disabled: t.soldOut,
129
- "is-loading": k.value,
129
+ "is-loading": A.value,
130
130
  "full-width": "",
131
- "sub-label": d(I)(d(_)),
132
- onClickEvent: c[1] ||= (e) => t.type === "event" ? j() : A()
131
+ "sub-label": d(P)(d(_)),
132
+ onClickEvent: c[1] ||= (e) => t.type === "event" ? N() : j()
133
133
  }, null, 8, [
134
134
  "label",
135
135
  "disabled",
@@ -154,7 +154,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
154
154
  }, Ne = {
155
155
  key: 2,
156
156
  class: "konnectio-pill-button"
157
- }, Pe = { key: 0 }, Fe = { key: 1 }, Q = /*#__PURE__*/ z(/* @__PURE__ */ s({
157
+ }, Pe = { key: 0 }, Fe = { key: 1 }, Q = /*#__PURE__*/ L(/* @__PURE__ */ s({
158
158
  __name: "Event",
159
159
  props: {
160
160
  name: {},
@@ -209,7 +209,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
209
209
  t.timeFrom ? (a(), c("li", Ne, [u("div", null, [h(J, {
210
210
  icon: "calendar-clock",
211
211
  color: "header"
212
- }), u("span", null, _(d(o)("event.startAndEndTime")), 1)]), d(l) ? (a(), c("span", Fe, _(d(R)(t.timeFrom)), 1)) : (a(), c("span", Pe, _(d(k)(t.timeFrom, t.timeTo)), 1))])) : n("", !0)
212
+ }), u("span", null, _(d(o)("event.startAndEndTime")), 1)]), d(l) ? (a(), c("span", Fe, _(d(z)(t.timeFrom)), 1)) : (a(), c("span", Pe, _(d(V)(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 ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
231
231
  }), [["__scopeId", "data-v-2ecac268"]]), Ie = {
232
232
  key: 0,
233
233
  class: "konnectio-event-grouped-listings-container"
234
- }, Le = { class: "konnectio-event-grouped-listings" }, Re = /*#__PURE__*/ z(/* @__PURE__ */ s({
234
+ }, Le = { class: "konnectio-event-grouped-listings" }, Re = /*#__PURE__*/ L(/* @__PURE__ */ s({
235
235
  __name: "Event",
236
236
  props: {
237
237
  name: {},
@@ -310,7 +310,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
310
310
  "callback"
311
311
  ])) : n("", !0);
312
312
  }
313
- }), [["__scopeId", "data-v-3584070d"]]), ze = { class: "konnectio-special-offer-availability" }, $ = { class: "konnectio-special-offer-availability-button" }, Be = { class: "konnectio-warning-notice" }, Ve = { key: 0 }, He = { key: 1 }, Ue = /*#__PURE__*/ z(/* @__PURE__ */ s({
313
+ }), [["__scopeId", "data-v-3584070d"]]), ze = { class: "konnectio-special-offer-availability" }, $ = { class: "konnectio-special-offer-availability-button" }, Be = { class: "konnectio-warning-notice" }, Ve = { key: 0 }, He = { key: 1 }, Ue = /*#__PURE__*/ L(/* @__PURE__ */ s({
314
314
  __name: "NextEvent",
315
315
  props: {
316
316
  name: {},
@@ -332,14 +332,14 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
332
332
  callback: { type: Function }
333
333
  },
334
334
  setup(e) {
335
- let { t: n } = f(), { updateEventDate: i } = j(), { display: s } = N(), l = D(), p = e;
335
+ let { t: n } = f(), { updateEventDate: i } = j(), { 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(() => A(p.fromDate, p.toDate) <= 1), v = T(() => [
342
+ let g = T(() => I(p.fromDate, p.toDate) <= 1), v = T(() => [
343
343
  0,
344
344
  1,
345
345
  2,
@@ -347,7 +347,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
347
347
  4,
348
348
  5,
349
349
  6
350
- ].filter((e) => !F(p.days).includes(e)));
350
+ ].filter((e) => !A(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 ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
394
394
  ]), u("div", $, [h(K, {
395
395
  label: d(n)("availability.buttonLabel"),
396
396
  onClick: w(m, ["prevent"])
397
- }, null, 8, ["label"])])]), u("div", Be, [g.value ? (a(), c("span", Ve, [t("*" + _(d(n)("event.canBeBooked")) + " ", 1), u("u", null, _(d(I)(e.fromDate)), 1)])) : (a(), c("span", He, [t("*" + _(d(n)("event.canBeBooked")) + " ", 1), u("u", null, _(d(B)(e.days)), 1)]))])])]),
397
+ }, null, 8, ["label"])])]), u("div", Be, [g.value ? (a(), c("span", Ve, [t("*" + _(d(n)("event.canBeBooked")) + " ", 1), u("u", null, _(d(P)(e.fromDate)), 1)])) : (a(), c("span", He, [t("*" + _(d(n)("event.canBeBooked")) + " ", 1), u("u", null, _(d(W)(e.days)), 1)]))])])]),
398
398
  _: 1
399
399
  }, 8, [
400
400
  "name",
@@ -419,7 +419,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
419
419
  }), [["__scopeId", "data-v-91ea584c"]]), We = {
420
420
  key: 0,
421
421
  class: "konnectio-event-grouped-listings-container"
422
- }, Ge = { class: "konnectio-event-grouped-listings" }, Ke = /*#__PURE__*/ z(/* @__PURE__ */ s({
422
+ }, Ge = { class: "konnectio-event-grouped-listings" }, Ke = /*#__PURE__*/ L(/* @__PURE__ */ s({
423
423
  __name: "NextEvent",
424
424
  props: {
425
425
  name: {},
@@ -502,7 +502,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
502
502
  "callback"
503
503
  ])) : n("", !0);
504
504
  }
505
- }), [["__scopeId", "data-v-138f6cac"]]), qe = ["innerHTML"], Je = /*#__PURE__*/ z(/* @__PURE__ */ s({
505
+ }), [["__scopeId", "data-v-138f6cac"]]), qe = ["innerHTML"], Je = /*#__PURE__*/ L(/* @__PURE__ */ s({
506
506
  __name: "FallbackEvent",
507
507
  props: {
508
508
  name: {},
@@ -587,7 +587,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
587
587
  }, Ze = ["innerHTML"], Qe = { key: 0 }, $e = { key: 1 }, et = { key: 2 }, tt = { key: 0 }, nt = { key: 4 }, rt = { key: 5 }, it = { key: 6 }, at = { key: 0 }, ot = { key: 0 }, st = { key: 1 }, ct = {
588
588
  key: 0,
589
589
  class: "konnectio-capitalize"
590
- }, lt = /*#__PURE__*/ z(/* @__PURE__ */ s({
590
+ }, lt = /*#__PURE__*/ L(/* @__PURE__ */ s({
591
591
  __name: "EventReservationForm",
592
592
  props: {
593
593
  showGiftCard: {
@@ -601,10 +601,10 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__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: P, totalSelectedProducts: F, discountValue: L, appliedDiscountCode: te } = v(q()), { totalAddonPrice: z, validateDiscountCode: ne } = q(), { currency: B, 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: j, weekendFee: ee, roomUpgrade: N, discountCode: F, totalSelectedProducts: I, discountValue: L, appliedDiscountCode: te } = v(q()), { totalAddonPrice: R, validateDiscountCode: ne } = q(), { currency: V, hideEventLength: re } = v(M()), H = i("event.reservationNotice");
605
605
  return (f, v) => (a(), r(ve, {
606
- "discount-code": d(P),
607
- "onUpdate:discountCode": v[0] ||= (e) => m(P) ? P.value = e : null,
606
+ "discount-code": d(F),
607
+ "onUpdate:discountCode": v[0] ||= (e) => m(F) ? F.value = e : null,
608
608
  "validate-discount-code": d(ne),
609
609
  "show-gift-card": t.showGiftCard,
610
610
  "show-terms-notice": t.showTermsNotice,
@@ -621,23 +621,23 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
621
621
  class: "konnectio-wysiwyg"
622
622
  }, null, 8, Ze)])) : n("", !0)]),
623
623
  "reservation-summary": C(() => [
624
- d(w) ? n("", !0) : (a(), c("li", Qe, [u("span", null, _(d(i)("general.date")), 1), u("b", null, _(d(I)(d(T))), 1)])),
624
+ d(w) ? n("", !0) : (a(), c("li", Qe, [u("span", null, _(d(i)("general.date")), 1), u("b", null, _(d(P)(d(T))), 1)])),
625
625
  d(y) > 0 ? (a(), c("li", $e, [u("span", null, _(d(i)("event.numberOfGuests")), 1), u("b", null, _(d(y)), 1)])) : n("", !0),
626
- !d(w) && d(F) > 0 ? (a(), c("li", et, [u("span", null, _(d(i)("event.numberOfProducts")), 1), u("b", null, _(d(F)), 1)])) : n("", !0),
626
+ !d(w) && d(I) > 0 ? (a(), c("li", et, [u("span", null, _(d(i)("event.numberOfProducts")), 1), u("b", null, _(d(I)), 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(I)(d(D))), 1)]),
629
- u("li", null, [u("span", null, _(d(i)("booking.reservation.departure")), 1), u("b", null, _(d(I)(d(D), d(S))), 1)]),
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)]),
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", tt, [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", nt, [u("span", null, _(d(i)("event.startOfEvent")), 1), u("b", null, _(d(R)(d(h))), 1)])) : n("", !0),
634
- !d(w) && d(E) && !d(re) ? (a(), c("li", rt, [u("span", null, _(d(i)("event.lengthOfEvent")), 1), u("b", null, _(d(R)(d(E))), 1)])) : n("", !0),
633
+ !d(w) && d(h) ? (a(), c("li", nt, [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", rt, [u("span", null, _(d(i)("event.lengthOfEvent")), 1), u("b", null, _(d(z)(d(E))), 1)])) : n("", !0),
635
635
  d(L) ? (a(), c("li", it, [u("span", null, _(d(i)("general.discountCode")), 1), u("b", null, _(d(te)), 1)])) : n("", !0)
636
636
  ]),
637
- "price-summary": C(() => [!d(w) && d(O) > 0 ? (a(), c("li", at, [u("span", null, _(d(i)("booking.availability.basePrice")), 1), u("b", null, _(d(V)(d(O), d(B))), 1)])) : n("", !0), d(k) ? (a(!0), c(p, { key: 1 }, l(d(k), ({ roomGroupId: e }, t) => (a(), c(p, null, [d(z)(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(V)(d(z)(e, t), d(B))), 1)])) : n("", !0)], 64))), 256)) : n("", !0)]),
637
+ "price-summary": C(() => [!d(w) && d(O) > 0 ? (a(), c("li", at, [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(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(B)(d(R)(e, t), d(V))), 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", ot, [u("span", null, _(d(I)(d(D))) + " - " + _(d(I)(d(D), d(S))), 1)])) : (a(), c("div", st, [u("span", null, _(d(I)(d(T))), 1)]))]),
640
- "mobile-summary": C(() => [!d(w) && d(F) > 0 ? (a(), c("span", ct, _(d(i)("event.numberOfProducts")) + ": " + _(d(F)), 1)) : n("", !0)]),
639
+ "mobile-under-price": C(() => [d(w) && d(S) > 0 ? (a(), c("div", ot, [u("span", null, _(d(P)(d(D))) + " - " + _(d(P)(d(D), d(S))), 1)])) : (a(), c("div", st, [u("span", null, _(d(P)(d(T))), 1)]))]),
640
+ "mobile-summary": C(() => [!d(w) && d(I) > 0 ? (a(), c("span", ct, _(d(i)("event.numberOfProducts")) + ": " + _(d(I)), 1)) : n("", !0)]),
641
641
  _: 2
642
642
  }, [d(o).sidebar ? {
643
643
  name: "sidebar",
@@ -657,7 +657,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
657
657
  "prev-callback"
658
658
  ]));
659
659
  }
660
- }), [["__scopeId", "data-v-c1e1c642"]]), ut = { class: "event-skeleton" }, dt = { class: "event-skeleton-content" }, ft = { class: "event-skeleton-sidebar" }, pt = /*#__PURE__*/ z(/* @__PURE__ */ s({
660
+ }), [["__scopeId", "data-v-c1e1c642"]]), ut = { class: "event-skeleton" }, dt = { class: "event-skeleton-content" }, ft = { class: "event-skeleton-sidebar" }, pt = /*#__PURE__*/ L(/* @__PURE__ */ s({
661
661
  __name: "EventSkeleton",
662
662
  setup(e) {
663
663
  return (e, t) => (a(), c("div", ut, [u("div", dt, [h(Se)]), u("div", ft, [n("", !0), h(Ce)])]));
@@ -677,7 +677,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
677
677
  }, Ct = { class: "konnectio-table with-lines" }, wt = { class: "konnectio-event-addons-price" }, Tt = { class: "konnectio-event-addons-input" }, Et = { class: "konnectio-event-addons-price" }, Dt = { class: "konnectio-event-addons-price" }, Ot = {
678
678
  key: 1,
679
679
  class: "konnectio-table with-lines without-header"
680
- }, kt = { class: "konnectio-table-addons-information" }, At = { key: 0 }, jt = { class: "konnectio-table-addons-option" }, Mt = { class: "konnectio-panel" }, Nt = /*#__PURE__*/ z(/* @__PURE__ */ s({
680
+ }, kt = { class: "konnectio-table-addons-information" }, At = { key: 0 }, jt = { class: "konnectio-table-addons-option" }, Mt = { class: "konnectio-panel" }, Nt = /*#__PURE__*/ L(/* @__PURE__ */ s({
681
681
  name: "EventLayout",
682
682
  __name: "Event",
683
683
  props: {
@@ -695,7 +695,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
695
695
  styling: {}
696
696
  },
697
697
  setup(e) {
698
- let i = e, { t: o } = f(), s = q(), { addons: g, products: y, numberOfDays: b, flagOnTable: x, numberOfHighChairs: S, name: w, phone: D, email: O, remark: k, allergies: A, arrivalTime: F, hasEvents: I, hasTemplates: L, getTemplates: z, getEventData: B, getTemplateData: G, getEventTableData: oe, hasProducts: se, eventRateType: ce, areListingsAvailable: le, isAvailabilityDataAvailable: ue, hasListingData: de, isPaymentLoading: fe, isReservationFormFilled: pe, requiresArrivalTime: me, hasSelectedRequiredProducts: he, getUnavailableEvents: Y, hasFallbackEvents: _e, getFallbackEvents: ve, excludeEventIds: xe } = v(s), Ce = T(() => s.getSortedEvents(i.sortOrder)), { currency: X, enableTracking: Z } = v(M()), { setActiveIdFilter: Oe } = M(), { eventDate: ke, eventLocation: Ae } = v(j()), { isValidRestaurantId: je } = j(), { initialize: Me, fetchListings: Ne, createBooking: Pe, localAddonPrice: Fe, totalAddonPrice: Q, reset: Ie, goBack: Le } = q(), { beginEventCheckout: ze } = ee(), { display: $ } = N(), Be = T(() => [
698
+ let i = e, { t: o } = f(), s = q(), { addons: g, products: y, numberOfDays: b, flagOnTable: x, numberOfHighChairs: S, name: w, phone: D, email: O, remark: k, allergies: A, arrivalTime: P, hasEvents: I, hasTemplates: L, getTemplates: ne, getEventData: V, getTemplateData: W, getEventTableData: oe, hasProducts: se, eventRateType: ce, areListingsAvailable: le, isAvailabilityDataAvailable: ue, hasListingData: de, isPaymentLoading: fe, isReservationFormFilled: pe, requiresArrivalTime: me, hasSelectedRequiredProducts: he, getUnavailableEvents: Y, hasFallbackEvents: _e, getFallbackEvents: ve, excludeEventIds: xe } = v(s), Ce = T(() => s.getSortedEvents(i.sortOrder)), { currency: X, enableTracking: Z } = v(M()), { setActiveIdFilter: Oe } = M(), { eventDate: ke, eventLocation: Ae } = v(j()), { isValidRestaurantId: je } = j(), { initialize: Me, fetchListings: Ne, createBooking: Pe, localAddonPrice: Fe, totalAddonPrice: Q, reset: Ie, goBack: Le } = q(), { beginEventCheckout: ze } = ee(), { display: $ } = F(), Be = T(() => [
699
699
  {
700
700
  id: "availability",
701
701
  label: o("booking.availability.title"),
@@ -725,7 +725,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
725
725
  let e = [];
726
726
  return oe.value && oe.value.forEach((t) => {
727
727
  e.find((e) => e.value === t.time) || e.push({
728
- label: R(t.time),
728
+ label: z(t.time),
729
729
  value: t.time
730
730
  });
731
731
  }), e;
@@ -737,8 +737,8 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
737
737
  Z.value && ze(), Pe(e);
738
738
  }
739
739
  function We() {
740
- let e = H("history", { removeNullishValues: !0 }), t = parseInt(e.rid), n = e.d, r = parseInt(e.eid);
741
- if (n) if (P(n)) {
740
+ let e = ie("history", { removeNullishValues: !0 }), t = parseInt(e.rid), n = e.d, r = parseInt(e.eid);
741
+ if (n) if (te(n)) {
742
742
  let t = new Date(n);
743
743
  t.setHours(12, 0, 0, 0) >= (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0) ? ke.value = t : ($({
744
744
  message: o("alert.error.invalidDateRange"),
@@ -803,7 +803,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
803
803
  "events",
804
804
  "tracking-enabled",
805
805
  "callback"
806
- ]))), 256)) : n("", !0), d(L) && e.onlyShow !== "events" ? (a(!0), c(p, { key: 1 }, l(d(z), ({ id: e, name: n, fromDate: i, toDate: o, minimumPersonCount: s, fromPrice: c, description: l, images: u }) => (a(), r(Ye, {
806
+ ]))), 256)) : n("", !0), d(L) && e.onlyShow !== "events" ? (a(!0), c(p, { key: 1 }, l(d(ne), ({ id: e, name: n, fromDate: i, toDate: o, minimumPersonCount: s, fromPrice: c, description: l, images: u }) => (a(), r(Ye, {
807
807
  key: e,
808
808
  "listing-id": e,
809
809
  name: n,
@@ -856,7 +856,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
856
856
  }, {
857
857
  form: C(() => [u("form", xt, [
858
858
  u("h2", null, [u("span", null, _(d(o)("event.selectProducts")), 1)]),
859
- d(G) && d(G).length > 0 ? (a(), c("ul", St, [(a(!0), c(p, null, l(d(G), ({ roomGroupId: e, addons: n, adultPerRoom: i }, f) => (a(), c("li", { key: e }, [u("h5", null, [
859
+ d(W) && d(W).length > 0 ? (a(), c("ul", St, [(a(!0), c(p, null, l(d(W), ({ roomGroupId: e, addons: n, adultPerRoom: i }, f) => (a(), c("li", { key: e }, [u("h5", null, [
860
860
  u("span", null, _(d(o)("booking.reservation.room")) + " #" + _(f + 1), 1),
861
861
  s[9] ||= t(" (", -1),
862
862
  h(J, {
@@ -875,9 +875,9 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__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(V)(o, d(X))) + " " + _(d(ne)(l)), 1)
878
+ u("span", null, _(d(B)(o, d(X))) + " " + _(d(R)(l)), 1)
879
879
  ]),
880
- u("td", Tt, [n === 3 ? (a(), r(W, {
880
+ u("td", Tt, [n === 3 ? (a(), r(G, {
881
881
  key: 0,
882
882
  modelValue: d(g)[`${e}.${t}.${f}`],
883
883
  "onUpdate:modelValue": (n) => d(g)[`${e}.${t}.${f}`] = n,
@@ -889,19 +889,19 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
889
889
  "onUpdate:modelValue": (n) => d(g)[`${e}.${t}.${f}`] = n,
890
890
  numeric: !0
891
891
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))]),
892
- u("td", Et, [u("span", null, _(d(V)(d(Fe)(t, e, f), d(X))), 1)])
892
+ u("td", Et, [u("span", null, _(d(B)(d(Fe)(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", Dt, [u("u", null, [u("span", null, _(d(V)(d(Q)(e, f), d(X))), 1)])])
897
+ u("td", Dt, [u("u", null, [u("span", null, _(d(B)(d(Q)(e, f), d(X))), 1)])])
898
898
  ])])
899
899
  ])]))), 128))])) : n("", !0),
900
- d(se) ? (a(), c("table", Ot, [u("tbody", null, [(a(!0), c(p, null, l(d(B).products, ({ id: e, name: t, price: r, description: i }) => (a(), c("tr", { key: e }, [u("td", kt, [
901
- u("b", null, [u("span", null, _(d(te)(t)), 1)]),
902
- i && i !== t ? (a(), c("span", At, _(d(te)(i)), 1)) : n("", !0),
903
- u("u", null, _(d(V)(r, d(X))), 1)
904
- ]), u("td", jt, [h(W, {
900
+ d(se) ? (a(), c("table", Ot, [u("tbody", null, [(a(!0), c(p, null, l(d(V).products, ({ id: e, name: t, price: r, description: i }) => (a(), c("tr", { key: e }, [u("td", kt, [
901
+ u("b", null, [u("span", null, _(d(N)(t)), 1)]),
902
+ i && i !== t ? (a(), c("span", At, _(d(N)(i)), 1)) : n("", !0),
903
+ u("u", null, _(d(B)(r, d(X))), 1)
904
+ ]), u("td", jt, [h(G, {
905
905
  modelValue: d(y)[e],
906
906
  "onUpdate:modelValue": (t) => d(y)[e] = t,
907
907
  small: !0,
@@ -969,8 +969,8 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
969
969
  ]),
970
970
  d(me) ? (a(), r(ye, {
971
971
  key: 0,
972
- modelValue: d(F),
973
- "onUpdate:modelValue": s[3] ||= (e) => m(F) ? F.value = e : null,
972
+ modelValue: d(P),
973
+ "onUpdate:modelValue": s[3] ||= (e) => m(P) ? P.value = e : null,
974
974
  label: d(o)("event.selectArrivalTime"),
975
975
  name: "eventTimeTable",
976
976
  checkboxes: Ve.value,
@@ -980,7 +980,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
980
980
  "label",
981
981
  "checkboxes"
982
982
  ])) : n("", !0),
983
- d(ce) === d(ie).FullDayEvent ? (a(), r(W, {
983
+ d(ce) === d(H).FullDayEvent ? (a(), r(G, {
984
984
  key: 1,
985
985
  modelValue: d(b),
986
986
  "onUpdate:modelValue": s[4] ||= (e) => m(b) ? b.value = e : null,
@@ -988,7 +988,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
988
988
  "min-value": 1,
989
989
  required: ""
990
990
  }, null, 8, ["modelValue", "label"])) : n("", !0),
991
- e.showHighChairs === "yes" ? (a(), r(W, {
991
+ e.showHighChairs === "yes" ? (a(), r(G, {
992
992
  key: 2,
993
993
  modelValue: d(S),
994
994
  "onUpdate:modelValue": s[5] ||= (e) => m(S) ? S.value = e : null,
@@ -1015,7 +1015,7 @@ var ke = { class: "konnectio-event-listing-action-button" }, Ae = /*#__PURE__*/
1015
1015
  "label",
1016
1016
  "placeholder"
1017
1017
  ])),
1018
- e.hideAllergies !== "yes" && d(B)?.showAllergyFoodFieldOnline ? (a(), r(U, {
1018
+ e.hideAllergies !== "yes" && d(V)?.showAllergyFoodFieldOnline ? (a(), r(U, {
1019
1019
  key: 5,
1020
1020
  modelValue: d(A),
1021
1021
  "onUpdate:modelValue": s[8] ||= (e) => m(A) ? A.value = e : null,
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 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, J as b, P as x, S, Z as C, b as w, x as T } from "./SelectField-CDAxug6h.js";
3
- import { t as E } from "./_-Be3oAOAc.js";
4
- import { t as D } from "./ErrorMessage-C8zkJCJE.js";
5
- import { n as O, t as k } from "./Field-De-fvk85.js";
6
- import { t as A } from "./style-D9WMflRR.js";
7
- import { t as j } from "./ActionField-BLUufdat.js";
8
- import { t as M } from "./giftCard-CxI94mQ4.js";
2
+ import { E as y, K as b, M as x, S, Y as C, b as w, x as T } from "./SelectField-CnreRmEZ.js";
3
+ import { t as E } from "./_-DYoQFY32.js";
4
+ import { t as D } from "./ErrorMessage-BvilVn5L.js";
5
+ import { n as O, t as k } from "./Field-DAHZfr5Y.js";
6
+ import { t as A } from "./style-HOryxFZm.js";
7
+ import { t as j } from "./ActionField-BSWeY8s9.js";
8
+ import { t as M } from "./giftCard-k36XguqL.js";
9
9
  //#region src/components/skeletons/GiftCardValidationSkeleton.vue?vue&type=script&setup=true&lang.ts
10
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({
11
11
  __name: "GiftCardValidationSkeleton",
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-BPlclb9p.js";
3
- import { E as te, F 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-CDAxug6h.js";
4
- import { t as F } from "./_-Be3oAOAc.js";
5
- import { t as I } from "./ErrorMessage-C8zkJCJE.js";
6
- import { n as L, t as R } from "./Field-De-fvk85.js";
7
- import { t as z } from "./style-D9WMflRR.js";
8
- import { i as ie, n as ae, r as oe, t as se } from "./CheckoutWindow-BcRZIzMT.js";
9
- import { t as B } from "./giftCard-CxI94mQ4.js";
10
- import { t as V } from "./TermsOfService-Dt5Q1SCK.js";
2
+ import { t as D } from "./dist-VETO5cbq.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-CnreRmEZ.js";
4
+ import { t as F } from "./_-DYoQFY32.js";
5
+ import { t as I } from "./ErrorMessage-BvilVn5L.js";
6
+ import { n as L, t as R } from "./Field-DAHZfr5Y.js";
7
+ import { t as z } from "./style-HOryxFZm.js";
8
+ import { i as ie, n as ae, r as oe, t as se } from "./CheckoutWindow-BUNrnlGh.js";
9
+ import { t as B } from "./giftCard-k36XguqL.js";
10
+ import { t as V } from "./TermsOfService-DcFuq9YM.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