@konnectio/core 4.0.111 → 4.0.113

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 (54) hide show
  1. package/dist/{ActionField-BIZxHX7x.js → ActionField-DpnZ6Hk4.js} +2 -2
  2. package/dist/ActionField-DpnZ6Hk4.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-Dmc1NsxJ.js → AvailabilitySkeleton-B3PCn7Zh.js} +5 -5
  4. package/dist/AvailabilitySkeleton-B3PCn7Zh.js.br +0 -0
  5. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Dyh0N7sN.js +9062 -0
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Dyh0N7sN.js.br +0 -0
  7. package/dist/{CheckoutWindow-BQ4Yd-jj.js → CheckoutWindow-CBZATVS3.js} +2 -2
  8. package/dist/CheckoutWindow-CBZATVS3.js.br +0 -0
  9. package/dist/{ErrorMessage-DeAxlBUC.js → ErrorMessage-Cj4EWsnp.js} +2 -2
  10. package/dist/ErrorMessage-Cj4EWsnp.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-lFl1MFHk.js → EventAvailabilityForm-C6U8tDPb.js} +4 -4
  12. package/dist/EventAvailabilityForm-C6U8tDPb.js.br +0 -0
  13. package/dist/{Field-DAod_0r8.js → Field-Cf0vZgQw.js} +3 -3
  14. package/dist/Field-Cf0vZgQw.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-bMyefgIh.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DGiTZSqt.js} +2 -2
  16. package/dist/{SelectField.vue_vue_type_style_index_0_lang-BwK4kGcO.js → SelectField.vue_vue_type_style_index_0_lang-D_cPiRYS.js} +4614 -4641
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-D_cPiRYS.js.br +0 -0
  18. package/dist/{TermsOfService-C-KmfA7-.js → TermsOfService-Bn5BDOpR.js} +3 -3
  19. package/dist/_-BdJkK4Nl.js +5 -0
  20. package/dist/{_.vue_vue_type_style_index_0_lang-HN2ehFgL.js → _.vue_vue_type_style_index_0_lang-CZyXOF9b.js} +5 -5
  21. package/dist/availability.js +5 -5
  22. package/dist/availability.js.br +0 -0
  23. package/dist/cancel-reservation.js +3 -3
  24. package/dist/cancel-reservation.js.br +0 -0
  25. package/dist/event.js +169 -163
  26. package/dist/event.js.br +0 -0
  27. package/dist/gift-card-validation.js +7 -7
  28. package/dist/gift-card-validation.js.br +0 -0
  29. package/dist/gift-card.js +8 -8
  30. package/dist/gift-card.js.br +0 -0
  31. package/dist/giftCard-B4ksqI17.js +109 -0
  32. package/dist/giftCard-B4ksqI17.js.br +0 -0
  33. package/dist/hotel.js +614 -607
  34. package/dist/hotel.js.br +0 -0
  35. package/dist/{masonry.plugin-yGwNNx2b.js → masonry.plugin-DGcnQT2t.js} +71 -68
  36. package/dist/masonry.plugin-DGcnQT2t.js.br +0 -0
  37. package/dist/polyfill.js +1 -1
  38. package/dist/polyfill.js.br +0 -0
  39. package/dist/style.css +1 -1
  40. package/dist/style.css.br +0 -0
  41. package/package.json +5 -5
  42. package/dist/ActionField-BIZxHX7x.js.br +0 -4
  43. package/dist/AvailabilitySkeleton-Dmc1NsxJ.js.br +0 -0
  44. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CfxEaidF.js +0 -9089
  45. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CfxEaidF.js.br +0 -0
  46. package/dist/CheckoutWindow-BQ4Yd-jj.js.br +0 -0
  47. package/dist/ErrorMessage-DeAxlBUC.js.br +0 -0
  48. package/dist/EventAvailabilityForm-lFl1MFHk.js.br +0 -0
  49. package/dist/Field-DAod_0r8.js.br +0 -0
  50. package/dist/SelectField.vue_vue_type_style_index_0_lang-BwK4kGcO.js.br +0 -0
  51. package/dist/_-BLWJQG6h.js +0 -5
  52. package/dist/giftCard-BJ5gZfYt.js +0 -118
  53. package/dist/giftCard-BJ5gZfYt.js.br +0 -0
  54. package/dist/masonry.plugin-yGwNNx2b.js.br +0 -0
package/dist/hotel.js.br CHANGED
Binary file
@@ -1,9 +1,9 @@
1
1
  import { d as defineComponent, P as resolveComponent, Q as h, R as Comment, U as Text, F as Fragment, V as getCurrentInstance, r as ref, c as computed$1, E as watch, o as onMounted, a as openBlock, g as createElementBlock, b as createBlock, w as withCtx, e as createBaseVNode, h as withModifiers, j as createCommentVNode, f as createVNode, z as renderList, i as unref, n as normalizeClass, u as useI18n, s as storeToRefs, y as createSlots, G as withDirectives, t as toDisplayString, O as inject, K as resolveDirective, W as reactive, X as onUnmounted, v as renderSlot, Y as normalizeStyle, M as nextTick, H as vShow, B as createTextVNode, Z as mergeModels, x as useSlots, _ as useModel, T as Transition, A as isRef, q as mitt } from "./mitt-CTfj-lXy.js";
2
- import { I as Icon, _ as _export_sfc, b as useHotelStore, T as TextField, F as convertDescription, B as BookingLayout, g as useUtilityStore, m as capitalized, z as daysBetweenDates, j as showPrice, s as showDate, r as InputField, E as BookingHeaderLayout, t as useApplyGiftCardStore, d as Clickable, v as usePaymentStore } from "./SelectField.vue_vue_type_style_index_0_lang-BwK4kGcO.js";
3
- import { B as Base$1, C as Checkbox, _ as _sfc_main$c } from "./CheckoutWindow-BQ4Yd-jj.js";
4
- import { u as useEventStore } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CfxEaidF.js";
5
- import { A as ActionField } from "./ActionField-BIZxHX7x.js";
6
- import { E as Element$1 } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-bMyefgIh.js";
2
+ import { I as Icon, _ as _export_sfc, b as useHotelStore, T as TextField, F as convertDescription, B as BookingLayout, g as useUtilityStore, m as capitalized, z as daysBetweenDates, j as showPrice, s as showDate, r as InputField, E as BookingHeaderLayout, t as useApplyGiftCardStore, d as Clickable, v as usePaymentStore } from "./SelectField.vue_vue_type_style_index_0_lang-D_cPiRYS.js";
3
+ import { B as Base$1, C as Checkbox, _ as _sfc_main$c } from "./CheckoutWindow-CBZATVS3.js";
4
+ import { u as useEventStore } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Dyh0N7sN.js";
5
+ import { A as ActionField } from "./ActionField-DpnZ6Hk4.js";
6
+ import { E as Element$1 } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DGiTZSqt.js";
7
7
  import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./_commonjsHelpers-DaMA6jEr.js";
8
8
  /*! *****************************************************************************
9
9
  Copyright (c) Microsoft Corporation.
@@ -1598,8 +1598,8 @@ var InputObserver = /* @__PURE__ */ function() {
1598
1598
  }, 100);
1599
1599
  }
1600
1600
  }
1601
- var O = this._getDistance([v.deltaX, v.deltaY], [P, p]), S = this._getOffset([v.offsetX, v.offsetY], [P, p]), C = S.some(function(k) {
1602
- return k !== 0;
1601
+ var O = this._getDistance([v.deltaX, v.deltaY], [P, p]), S = this._getOffset([v.offsetX, v.offsetY], [P, p]), C = S.some(function(x) {
1602
+ return x !== 0;
1603
1603
  });
1604
1604
  C && (v.srcEvent.cancelable !== !1 && v.srcEvent.preventDefault(), v.srcEvent.stopPropagation()), v.preventSystemEvent = C, C && (this._isOverThreshold || O >= g) && (this._dragged = l, this._isOverThreshold = !0, this._observer.change(this, v, toAxis(this.axes, S))), y.prevEvent = v;
1605
1605
  }
@@ -3712,9 +3712,9 @@ var State = /* @__PURE__ */ function() {
3712
3712
  var l, u = getFlickingAttached(this._flicking), d = u.camera, f = (l = this._nextPanel) !== null && l !== void 0 ? l : this._activePanel, g = this._controller.range, _ = this._indexRange, y = d.range, v = this._controller.state, m = clamp(d.clampToReachablePosition(e), g[0], g[1]), b = d.findAnchorIncludePosition(m);
3713
3713
  if (!b || !f)
3714
3714
  return Promise.reject(new FlickingError(MESSAGE.POSITION_NOT_REACHABLE(e), CODE.POSITION_NOT_REACHABLE));
3715
- var P = f.position, p = u.animating ? v.delta : e - d.position, E = Math.abs(p) >= u.threshold, T = e > P ? d.getNextAnchor(b) : d.getPrevAnchor(b), O, S, C = d.anchorPoints, k = C[0], I = C[C.length - 1], R = e <= y.min && isBetween(k.panel.index, _.min, _.max), w = e >= y.max && isBetween(I.panel.index, _.min, _.max), A = T && (_.min <= _.max ? isBetween(T.index, _.min, _.max) : T.index >= _.min || T.index <= _.max);
3715
+ var P = f.position, p = u.animating ? v.delta : e - d.position, E = Math.abs(p) >= u.threshold, T = e > P ? d.getNextAnchor(b) : d.getPrevAnchor(b), O, S, C = d.anchorPoints, x = C[0], I = C[C.length - 1], R = e <= y.min && isBetween(x.panel.index, _.min, _.max), w = e >= y.max && isBetween(I.panel.index, _.min, _.max), A = T && (_.min <= _.max ? isBetween(T.index, _.min, _.max) : T.index >= _.min || T.index <= _.max);
3716
3716
  if (R || w) {
3717
- var N = e < y.min ? k : I;
3717
+ var N = e < y.min ? x : I;
3718
3718
  S = N.panel, O = N.position;
3719
3719
  } else if (E && b.position !== f.position)
3720
3720
  S = b.panel, O = b.position;
@@ -5262,10 +5262,10 @@ var State = /* @__PURE__ */ function() {
5262
5262
  }(), Flicking$1 = /* @__PURE__ */ function(s) {
5263
5263
  __extends$2(i, s);
5264
5264
  function i(e, n) {
5265
- var r = n === void 0 ? {} : n, l = r.align, u = l === void 0 ? ALIGN.CENTER : l, d = r.defaultIndex, f = d === void 0 ? 0 : d, g = r.horizontal, _ = g === void 0 ? !0 : g, y = r.circular, v = y === void 0 ? !1 : y, m = r.circularFallback, b = m === void 0 ? CIRCULAR_FALLBACK.LINEAR : m, P = r.bound, p = P === void 0 ? !1 : P, E = r.adaptive, T = E === void 0 ? !1 : E, O = r.panelsPerView, S = O === void 0 ? -1 : O, C = r.noPanelStyleOverride, k = C === void 0 ? !1 : C, I = r.resizeOnContentsReady, R = I === void 0 ? !1 : I, w = r.nested, A = w === void 0 ? !1 : w, N = r.needPanelThreshold, D = N === void 0 ? 0 : N, L = r.preventEventsBeforeInit, B = L === void 0 ? !0 : L, V = r.deceleration, le = V === void 0 ? 75e-4 : V, M = r.duration, ue = M === void 0 ? 500 : M, z = r.easing, ce = z === void 0 ? function(Re) {
5265
+ var r = n === void 0 ? {} : n, l = r.align, u = l === void 0 ? ALIGN.CENTER : l, d = r.defaultIndex, f = d === void 0 ? 0 : d, g = r.horizontal, _ = g === void 0 ? !0 : g, y = r.circular, v = y === void 0 ? !1 : y, m = r.circularFallback, b = m === void 0 ? CIRCULAR_FALLBACK.LINEAR : m, P = r.bound, p = P === void 0 ? !1 : P, E = r.adaptive, T = E === void 0 ? !1 : E, O = r.panelsPerView, S = O === void 0 ? -1 : O, C = r.noPanelStyleOverride, x = C === void 0 ? !1 : C, I = r.resizeOnContentsReady, R = I === void 0 ? !1 : I, w = r.nested, A = w === void 0 ? !1 : w, N = r.needPanelThreshold, D = N === void 0 ? 0 : N, L = r.preventEventsBeforeInit, B = L === void 0 ? !0 : L, V = r.deceleration, le = V === void 0 ? 75e-4 : V, M = r.duration, ue = M === void 0 ? 500 : M, z = r.easing, ce = z === void 0 ? function(Re) {
5266
5266
  return 1 - Math.pow(1 - Re, 3);
5267
- } : z, F = r.inputType, de = F === void 0 ? ["mouse", "touch"] : F, j = r.moveType, fe = j === void 0 ? "snap" : j, H = r.threshold, he = H === void 0 ? 40 : H, W = r.interruptable, ve = W === void 0 ? !0 : W, U = r.bounce, ge = U === void 0 ? "20%" : U, G = r.iOSEdgeSwipeThreshold, pe = G === void 0 ? 30 : G, Y = r.preventClickOnDrag, _e = Y === void 0 ? !0 : Y, q = r.preventDefaultOnDrag, me = q === void 0 ? !1 : q, X = r.disableOnInit, Ee = X === void 0 ? !1 : X, K = r.changeOnHold, ye = K === void 0 ? !1 : K, Z = r.renderOnlyVisible, be = Z === void 0 ? !1 : Z, Q = r.virtual, J = Q === void 0 ? null : Q, ee = r.autoInit, Pe = ee === void 0 ? !0 : ee, te = r.autoResize, Te = te === void 0 ? !0 : te, ne = r.useResizeObserver, Oe = ne === void 0 ? !0 : ne, ie = r.resizeDebounce, Se = ie === void 0 ? 0 : ie, re = r.maxResizeDebounce, Ce = re === void 0 ? 100 : re, ae = r.useFractionalSize, Ie = ae === void 0 ? !1 : ae, oe = r.externalRenderer, xe = oe === void 0 ? null : oe, se = r.renderExternal, ke = se === void 0 ? null : se, x = s.call(this) || this;
5268
- return x._initialized = !1, x._plugins = [], x._align = u, x._defaultIndex = f, x._horizontal = _, x._circular = v, x._circularFallback = b, x._bound = p, x._adaptive = T, x._panelsPerView = S, x._noPanelStyleOverride = k, x._resizeOnContentsReady = R, x._nested = A, x._virtual = J, x._needPanelThreshold = D, x._preventEventsBeforeInit = B, x._deceleration = le, x._duration = ue, x._easing = ce, x._inputType = de, x._moveType = fe, x._threshold = he, x._interruptable = ve, x._bounce = ge, x._iOSEdgeSwipeThreshold = pe, x._preventClickOnDrag = _e, x._preventDefaultOnDrag = me, x._disableOnInit = Ee, x._changeOnHold = ye, x._renderOnlyVisible = be, x._autoInit = Pe, x._autoResize = Te, x._useResizeObserver = Oe, x._resizeDebounce = Se, x._maxResizeDebounce = Ce, x._useFractionalSize = Ie, x._externalRenderer = xe, x._renderExternal = ke, x._viewport = new Viewport(x, getElement$1(e)), x._autoResizer = new AutoResizer(x), x._renderer = x._createRenderer(), x._camera = x._createCamera(), x._control = x._createControl(), x._virtualManager = new VirtualManager(x, J), x._autoInit && x.init(), x;
5267
+ } : z, F = r.inputType, de = F === void 0 ? ["mouse", "touch"] : F, j = r.moveType, fe = j === void 0 ? "snap" : j, H = r.threshold, he = H === void 0 ? 40 : H, W = r.interruptable, ve = W === void 0 ? !0 : W, U = r.bounce, ge = U === void 0 ? "20%" : U, G = r.iOSEdgeSwipeThreshold, pe = G === void 0 ? 30 : G, Y = r.preventClickOnDrag, _e = Y === void 0 ? !0 : Y, q = r.preventDefaultOnDrag, me = q === void 0 ? !1 : q, X = r.disableOnInit, Ee = X === void 0 ? !1 : X, K = r.changeOnHold, ye = K === void 0 ? !1 : K, Z = r.renderOnlyVisible, be = Z === void 0 ? !1 : Z, Q = r.virtual, J = Q === void 0 ? null : Q, ee = r.autoInit, Pe = ee === void 0 ? !0 : ee, te = r.autoResize, Te = te === void 0 ? !0 : te, ne = r.useResizeObserver, Oe = ne === void 0 ? !0 : ne, ie = r.resizeDebounce, Se = ie === void 0 ? 0 : ie, re = r.maxResizeDebounce, Ce = re === void 0 ? 100 : re, ae = r.useFractionalSize, Ie = ae === void 0 ? !1 : ae, oe = r.externalRenderer, ke = oe === void 0 ? null : oe, se = r.renderExternal, xe = se === void 0 ? null : se, k = s.call(this) || this;
5268
+ return k._initialized = !1, k._plugins = [], k._align = u, k._defaultIndex = f, k._horizontal = _, k._circular = v, k._circularFallback = b, k._bound = p, k._adaptive = T, k._panelsPerView = S, k._noPanelStyleOverride = x, k._resizeOnContentsReady = R, k._nested = A, k._virtual = J, k._needPanelThreshold = D, k._preventEventsBeforeInit = B, k._deceleration = le, k._duration = ue, k._easing = ce, k._inputType = de, k._moveType = fe, k._threshold = he, k._interruptable = ve, k._bounce = ge, k._iOSEdgeSwipeThreshold = pe, k._preventClickOnDrag = _e, k._preventDefaultOnDrag = me, k._disableOnInit = Ee, k._changeOnHold = ye, k._renderOnlyVisible = be, k._autoInit = Pe, k._autoResize = Te, k._useResizeObserver = Oe, k._resizeDebounce = Se, k._maxResizeDebounce = Ce, k._useFractionalSize = Ie, k._externalRenderer = ke, k._renderExternal = xe, k._viewport = new Viewport(k, getElement$1(e)), k._autoResizer = new AutoResizer(k), k._renderer = k._createRenderer(), k._camera = k._createCamera(), k._control = k._createControl(), k._virtualManager = new VirtualManager(k, J), k._autoInit && k.init(), k;
5269
5269
  }
5270
5270
  var t = i.prototype;
5271
5271
  return Object.defineProperty(t, "control", {
@@ -6633,7 +6633,7 @@ var State = /* @__PURE__ */ function() {
6633
6633
  if (e._moveByViewportSize)
6634
6634
  p.control.moveToPosition(E.position - E.size, p.duration).catch(e._onCatch);
6635
6635
  else if (p.circularEnabled) {
6636
- for (var C = p.currentPanel, k = 0; k < S; k++)
6636
+ for (var C = p.currentPanel, x = 0; x < S; x++)
6637
6637
  C = C.prev();
6638
6638
  C.focus().catch(e._onCatch);
6639
6639
  } else p.index > O.panel.index ? p.moveTo(Math.max(p.index - S, O.panel.index)).catch(e._onCatch) : E.position > E.range.min && p.moveTo(p.index).catch(e._onCatch);
@@ -6645,7 +6645,7 @@ var State = /* @__PURE__ */ function() {
6645
6645
  if (e._moveByViewportSize)
6646
6646
  p.control.moveToPosition(E.position + E.size, p.duration).catch(e._onCatch);
6647
6647
  else if (p.circularEnabled) {
6648
- for (var C = p.currentPanel, k = 0; k < S; k++)
6648
+ for (var C = p.currentPanel, x = 0; x < S; x++)
6649
6649
  C = C.next();
6650
6650
  C.focus().catch(e._onCatch);
6651
6651
  } else p.index < O.panel.index ? p.moveTo(Math.min(p.index + S, O.panel.index)).catch(e._onCatch) : E.position > E.range.min && p.moveTo(p.index).catch(e._onCatch);
@@ -6927,10 +6927,10 @@ var Renderer = /* @__PURE__ */ function() {
6927
6927
  var C = this._createBulletFromString(d(v, u), u);
6928
6928
  S.parentElement.replaceChild(C, S), l[u] = C;
6929
6929
  }
6930
- var k = l[y];
6931
- if (k) {
6930
+ var x = l[y];
6931
+ if (x) {
6932
6932
  var I = this._createBulletFromString(f(v, y), y);
6933
- k.parentElement.replaceChild(I, k), l[y] = I;
6933
+ x.parentElement.replaceChild(I, x), l[y] = I;
6934
6934
  }
6935
6935
  }
6936
6936
  l.forEach(function(R, w) {
@@ -6957,9 +6957,9 @@ var Renderer = /* @__PURE__ */ function() {
6957
6957
  return '<span class="' + A + '"></span>/<span class="' + N + '"></span>';
6958
6958
  } : T, S = n.fractionCurrentFormat, C = S === void 0 ? function(A) {
6959
6959
  return A.toString();
6960
- } : S, k = n.fractionTotalFormat, I = k === void 0 ? function(A) {
6960
+ } : S, x = n.fractionTotalFormat, I = x === void 0 ? function(A) {
6961
6961
  return A.toString();
6962
- } : k, R = n.scrollOnChange, w = R === void 0 ? function(A, N) {
6962
+ } : x, R = n.scrollOnChange, w = R === void 0 ? function(A, N) {
6963
6963
  return N.moveTo(A);
6964
6964
  } : R;
6965
6965
  this._flicking = null, this.update = function() {
@@ -7778,8 +7778,8 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7778
7778
  } = storeToRefs(useEventStore());
7779
7779
  function y(O) {
7780
7780
  const S = O.getFullYear();
7781
- let C = O.getMonth() + 1, k = O.getDate();
7782
- return k < 10 && (k = "0" + k), C < 10 && (C = "0" + C), `${S}-${C}-${k}`;
7781
+ let C = O.getMonth() + 1, x = O.getDate();
7782
+ return x < 10 && (x = "0" + x), C < 10 && (C = "0" + C), `${S}-${C}-${x}`;
7783
7783
  }
7784
7784
  const v = computed$1(() => n.type !== "event" ? `${window.location.origin + window.location.pathname}?a=${r.value}&c=${l.value}&ci=${y(u.value)}&co=${y(d.value)}&hid=${f.value}&id=${n.listingId}` : ""), m = computed$1(() => n.type === "event" ? `${window.location.origin + window.location.pathname}?d=${y(g.value)}&rid=${_.value}&eid=${n.listingId}` : "");
7785
7785
  function b(O) {
@@ -7793,7 +7793,7 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7793
7793
  E("testVueMasonry");
7794
7794
  }
7795
7795
  return (O, S) => {
7796
- const C = resolveDirective("masonry-tile"), k = resolveDirective("masonry");
7796
+ const C = resolveDirective("masonry-tile"), x = resolveDirective("masonry");
7797
7797
  return openBlock(), createBlock(Base$1, {
7798
7798
  title: O.title,
7799
7799
  onOpened: T
@@ -7833,7 +7833,7 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7833
7833
  [C]
7834
7834
  ])), 128))
7835
7835
  ])), [
7836
- [k, p.value]
7836
+ [x, p.value]
7837
7837
  ])
7838
7838
  ])) : createCommentVNode("", !0)
7839
7839
  ])
@@ -8028,7 +8028,7 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$6 = {
8028
8028
  if (!d.localExpanded && e.maxHeight)
8029
8029
  return typeof e?.maxHeight == "number" ? `${e?.maxHeight}px` : e?.maxHeight;
8030
8030
  }), g = () => {
8031
- u.value && (u.value.innerHTML = convertDescription(k.value));
8031
+ u.value && (u.value.innerHTML = convertDescription(x.value));
8032
8032
  }, _ = () => {
8033
8033
  d.localExpanded || (g(), (m() || C.value) && P());
8034
8034
  }, y = () => {
@@ -8072,7 +8072,7 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$6 = {
8072
8072
  },
8073
8073
  { immediate: !0 }
8074
8074
  );
8075
- const k = computed$1(() => C.value ? I.value : e.text), I = computed$1(() => {
8075
+ const x = computed$1(() => C.value ? I.value : e.text), I = computed$1(() => {
8076
8076
  if (e.location === "start")
8077
8077
  return e.ellipsis + (e.text.slice(-d.offset) || "").trim();
8078
8078
  if (e.location === "middle") {
@@ -8941,7 +8941,7 @@ const _hoisted_1$3 = {
8941
8941
  }, _hoisted_15$1 = { class: "konnectio-reservation-discount" }, _hoisted_16$1 = {
8942
8942
  key: 0,
8943
8943
  class: "konnectio-reservation-discount-navigation"
8944
- }, _hoisted_17 = { key: 1 }, _hoisted_18 = { key: 0 }, _hoisted_19 = { key: 1 }, _hoisted_20 = { class: "konnectio-reservation-discount-form" }, _hoisted_21 = {
8944
+ }, _hoisted_17$1 = { key: 1 }, _hoisted_18 = { key: 0 }, _hoisted_19 = { key: 1 }, _hoisted_20 = { class: "konnectio-reservation-discount-form" }, _hoisted_21 = {
8945
8945
  key: 1,
8946
8946
  class: "konnectio-panel"
8947
8947
  }, _hoisted_22 = ["innerHTML"], _hoisted_23 = { id: "konnectio-reservation-layout-footer" }, _hoisted_24 = {
@@ -8988,9 +8988,9 @@ const _hoisted_1$3 = {
8988
8988
  amount: f,
8989
8989
  voucher: g,
8990
8990
  isLoading: _
8991
- } = storeToRefs(useApplyGiftCardStore()), { apply: y, reset: v } = useApplyGiftCardStore(), m = useSlots(), b = useModel(s, "discountCode"), P = s, p = computed$1(() => P.basePrice - P.weekendFee - P.roomUpgrade), E = ref("discount"), T = computed$1(() => E.value === "discount"), O = computed$1(() => E.value === "gift-card"), S = computed$1(() => !t.value || !e.value), C = computed$1(() => !t.value && !e.value), k = (I) => E.value = I;
8991
+ } = storeToRefs(useApplyGiftCardStore()), { apply: y, reset: v } = useApplyGiftCardStore(), m = useSlots(), b = useModel(s, "discountCode"), P = s, p = computed$1(() => P.basePrice - P.weekendFee - P.roomUpgrade), E = ref("discount"), T = computed$1(() => E.value === "discount"), O = computed$1(() => E.value === "gift-card"), S = computed$1(() => !t.value || !e.value), C = computed$1(() => !t.value && !e.value), x = (I) => E.value = I;
8992
8992
  return onMounted(() => {
8993
- e.value && k("gift-card");
8993
+ e.value && x("gift-card");
8994
8994
  }), (I, R) => {
8995
8995
  const w = resolveDirective("sticky");
8996
8996
  return openBlock(), createElementBlock("div", _hoisted_1$3, [
@@ -9101,7 +9101,7 @@ const _hoisted_1$3 = {
9101
9101
  createBaseVNode("li", null, [
9102
9102
  createBaseVNode("button", {
9103
9103
  class: normalizeClass({ active: T.value }),
9104
- onClick: R[1] || (R[1] = withModifiers((A) => k("discount"), ["prevent"]))
9104
+ onClick: R[1] || (R[1] = withModifiers((A) => x("discount"), ["prevent"]))
9105
9105
  }, [
9106
9106
  createBaseVNode("span", null, toDisplayString(unref(i)("general.discountCode")), 1)
9107
9107
  ], 2)
@@ -9109,13 +9109,13 @@ const _hoisted_1$3 = {
9109
9109
  createBaseVNode("li", null, [
9110
9110
  createBaseVNode("button", {
9111
9111
  class: normalizeClass({ active: O.value }),
9112
- onClick: R[2] || (R[2] = withModifiers((A) => k("gift-card"), ["prevent"]))
9112
+ onClick: R[2] || (R[2] = withModifiers((A) => x("gift-card"), ["prevent"]))
9113
9113
  }, [
9114
9114
  createBaseVNode("span", null, toDisplayString(unref(i)("booking.reservation.giftCardCode")), 1)
9115
9115
  ], 2)
9116
9116
  ])
9117
9117
  ])
9118
- ])) : (openBlock(), createElementBlock("h5", _hoisted_17, [
9118
+ ])) : (openBlock(), createElementBlock("h5", _hoisted_17$1, [
9119
9119
  T.value ? (openBlock(), createElementBlock("span", _hoisted_18, toDisplayString(unref(i)("general.discountCode")), 1)) : (openBlock(), createElementBlock("span", _hoisted_19, toDisplayString(unref(i)("booking.reservation.giftCardCode")), 1))
9120
9120
  ])),
9121
9121
  createBaseVNode("div", _hoisted_20, [
@@ -9214,10 +9214,10 @@ const _hoisted_1$3 = {
9214
9214
  }), ReservationForm = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-1d759209"]]), _hoisted_1$2 = {
9215
9215
  id: "konnectio-confirmation",
9216
9216
  class: "konnectio-panel"
9217
- }, _hoisted_2$1 = { id: "konnectio-confirmation-introduction" }, _hoisted_3$1 = { id: "konnectio-confirmation-title" }, _hoisted_4$1 = ["innerHTML"], _hoisted_5$1 = { class: "konnectio-order-panel" }, _hoisted_6$1 = { key: 0 }, _hoisted_7$1 = { class: "konnectio-order-panel" }, _hoisted_8$1 = { class: "konnectio-order-lines" }, _hoisted_9 = { key: 0 }, _hoisted_10 = { key: 1 }, _hoisted_11 = {
9217
+ }, _hoisted_2$1 = { id: "konnectio-confirmation-introduction" }, _hoisted_3$1 = { id: "konnectio-confirmation-title" }, _hoisted_4$1 = ["innerHTML"], _hoisted_5$1 = { class: "konnectio-order-panel" }, _hoisted_6$1 = { key: 0 }, _hoisted_7$1 = { class: "konnectio-order-panel" }, _hoisted_8$1 = { class: "konnectio-order-lines" }, _hoisted_9 = { key: 0 }, _hoisted_10 = { key: 1 }, _hoisted_11 = { key: 2 }, _hoisted_12 = {
9218
9218
  key: 0,
9219
9219
  class: "konnectio-order-panel"
9220
- }, _hoisted_12 = { class: "konnectio-table with-lines" }, _hoisted_13 = { class: "konnectio-order-lines" }, _hoisted_14 = { key: 0 }, _hoisted_15 = { key: 1 }, _hoisted_16 = {
9220
+ }, _hoisted_13 = { class: "konnectio-table with-lines" }, _hoisted_14 = { class: "konnectio-order-lines" }, _hoisted_15 = { key: 0 }, _hoisted_16 = { key: 1 }, _hoisted_17 = {
9221
9221
  key: 2,
9222
9222
  class: "highlighted-line"
9223
9223
  }, _sfc_main$2 = /* @__PURE__ */ defineComponent({
@@ -9238,15 +9238,15 @@ const _hoisted_1$3 = {
9238
9238
  totalPrice: g,
9239
9239
  totalVAT: _,
9240
9240
  subTotalPrice: y
9241
- } = storeToRefs(usePaymentStore()), { currency: v } = storeToRefs(useUtilityStore());
9242
- return (m, b) => (openBlock(), createElementBlock("div", _hoisted_1$2, [
9241
+ } = storeToRefs(usePaymentStore()), { currency: v } = storeToRefs(useUtilityStore()), { currentArrivalDate: m, currentDepartureDate: b } = storeToRefs(useHotelStore());
9242
+ return (P, p) => (openBlock(), createElementBlock("div", _hoisted_1$2, [
9243
9243
  createBaseVNode("div", _hoisted_2$1, [
9244
9244
  createBaseVNode("h2", _hoisted_3$1, [
9245
9245
  createBaseVNode("span", null, toDisplayString(unref(i)("general.thankYou")), 1)
9246
9246
  ]),
9247
9247
  createBaseVNode("div", {
9248
9248
  id: "konnectio-confirmation-message",
9249
- innerHTML: m.message
9249
+ innerHTML: P.message
9250
9250
  }, null, 8, _hoisted_4$1)
9251
9251
  ]),
9252
9252
  createBaseVNode("div", _hoisted_5$1, [
@@ -9262,7 +9262,10 @@ const _hoisted_1$3 = {
9262
9262
  createBaseVNode("span", null, toDisplayString(unref(i)("booking.reservation.detailsTitle")), 1)
9263
9263
  ]),
9264
9264
  createBaseVNode("ul", _hoisted_8$1, [
9265
- unref(f) ? (openBlock(), createElementBlock("li", _hoisted_9, [
9265
+ unref(m) && unref(b) ? (openBlock(), createElementBlock("li", _hoisted_9, [
9266
+ createBaseVNode("span", null, toDisplayString(unref(i)("general.date")), 1),
9267
+ createBaseVNode("b", null, toDisplayString(unref(i)("general.datePeriod", { arrival: unref(showDate)(unref(m), 0, !0), departure: unref(showDate)(unref(b)) })), 1)
9268
+ ])) : unref(f) ? (openBlock(), createElementBlock("li", _hoisted_10, [
9266
9269
  createBaseVNode("span", null, toDisplayString(unref(i)("general.date")), 1),
9267
9270
  createBaseVNode("b", null, toDisplayString(unref(showDate)(unref(f))), 1)
9268
9271
  ])) : createCommentVNode("", !0),
@@ -9270,17 +9273,17 @@ const _hoisted_1$3 = {
9270
9273
  createBaseVNode("span", null, toDisplayString(unref(i)("availability.adults")), 1),
9271
9274
  createBaseVNode("b", null, toDisplayString(unref(u)), 1)
9272
9275
  ]),
9273
- unref(d) && unref(d) > 0 ? (openBlock(), createElementBlock("li", _hoisted_10, [
9276
+ unref(d) && unref(d) > 0 ? (openBlock(), createElementBlock("li", _hoisted_11, [
9274
9277
  createBaseVNode("span", null, toDisplayString(unref(i)("availability.children")), 1),
9275
9278
  createBaseVNode("b", null, toDisplayString(unref(d)), 1)
9276
9279
  ])) : createCommentVNode("", !0)
9277
9280
  ])
9278
9281
  ]),
9279
- unref(t) ? (openBlock(), createElementBlock("div", _hoisted_11, [
9282
+ unref(t) ? (openBlock(), createElementBlock("div", _hoisted_12, [
9280
9283
  createBaseVNode("h5", null, [
9281
9284
  createBaseVNode("span", null, toDisplayString(unref(i)("general.orderDetails")), 1)
9282
9285
  ]),
9283
- createBaseVNode("table", _hoisted_12, [
9286
+ createBaseVNode("table", _hoisted_13, [
9284
9287
  createBaseVNode("thead", null, [
9285
9288
  createBaseVNode("tr", null, [
9286
9289
  createBaseVNode("th", null, toDisplayString(unref(i)("general.orderItem")), 1),
@@ -9291,44 +9294,44 @@ const _hoisted_1$3 = {
9291
9294
  ]),
9292
9295
  createBaseVNode("tbody", null, [
9293
9296
  (openBlock(!0), createElementBlock(Fragment, null, renderList(unref(e), ({
9294
- productName: P,
9295
- quantity: p,
9296
- unitPrice: E,
9297
- totalPrice: T
9298
- }) => (openBlock(), createElementBlock("tr", { key: P }, [
9297
+ productName: E,
9298
+ quantity: T,
9299
+ unitPrice: O,
9300
+ totalPrice: S
9301
+ }) => (openBlock(), createElementBlock("tr", { key: E }, [
9299
9302
  createBaseVNode("td", null, [
9300
- createBaseVNode("span", null, toDisplayString(P), 1)
9303
+ createBaseVNode("span", null, toDisplayString(E), 1)
9301
9304
  ]),
9302
9305
  createBaseVNode("td", null, [
9303
- createBaseVNode("span", null, toDisplayString(p), 1)
9306
+ createBaseVNode("span", null, toDisplayString(T), 1)
9304
9307
  ]),
9305
9308
  createBaseVNode("td", null, [
9306
- createBaseVNode("span", null, toDisplayString(unref(showPrice)(E, unref(v))), 1)
9309
+ createBaseVNode("span", null, toDisplayString(unref(showPrice)(O, unref(v))), 1)
9307
9310
  ]),
9308
9311
  createBaseVNode("td", null, [
9309
- createBaseVNode("span", null, toDisplayString(unref(showPrice)(T, unref(v))), 1)
9312
+ createBaseVNode("span", null, toDisplayString(unref(showPrice)(S, unref(v))), 1)
9310
9313
  ])
9311
9314
  ]))), 128))
9312
9315
  ])
9313
9316
  ])
9314
9317
  ])) : createCommentVNode("", !0),
9315
- createBaseVNode("ul", _hoisted_13, [
9316
- unref(y) ? (openBlock(), createElementBlock("li", _hoisted_14, [
9318
+ createBaseVNode("ul", _hoisted_14, [
9319
+ unref(y) ? (openBlock(), createElementBlock("li", _hoisted_15, [
9317
9320
  createBaseVNode("span", null, toDisplayString(unref(i)("general.subTotal")), 1),
9318
9321
  createBaseVNode("b", null, toDisplayString(unref(showPrice)(unref(y), unref(v))), 1)
9319
9322
  ])) : createCommentVNode("", !0),
9320
- unref(_) ? (openBlock(), createElementBlock("li", _hoisted_15, [
9323
+ unref(_) ? (openBlock(), createElementBlock("li", _hoisted_16, [
9321
9324
  createBaseVNode("span", null, toDisplayString(unref(i)("general.vat")), 1),
9322
9325
  createBaseVNode("b", null, toDisplayString(unref(showPrice)(unref(_), unref(v))), 1)
9323
9326
  ])) : createCommentVNode("", !0),
9324
- unref(g) ? (openBlock(), createElementBlock("li", _hoisted_16, [
9327
+ unref(g) ? (openBlock(), createElementBlock("li", _hoisted_17, [
9325
9328
  createBaseVNode("span", null, toDisplayString(unref(i)("booking.reservation.totalPrice")), 1),
9326
9329
  createBaseVNode("b", null, toDisplayString(unref(showPrice)(unref(g), unref(v))), 1)
9327
9330
  ])) : createCommentVNode("", !0)
9328
9331
  ])
9329
9332
  ]));
9330
9333
  }
9331
- }), ThankYou = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-eb30ca12"]]), _hoisted_1$1 = { class: "hotel-listing" }, _hoisted_2 = { class: "hotel-listing-content-gallery" }, _hoisted_3 = { class: "hotel-listing-content-bullets" }, _hoisted_4 = { class: "hotel-listing-content" }, _hoisted_5 = { class: "hotel-listing-content-header" }, _hoisted_6 = { class: "hotel-listing-content-title" }, _hoisted_7 = { class: "hotel-listing-content-body" }, _hoisted_8 = { class: "hotel-listing-content-facilities" }, _sfc_main$1 = /* @__PURE__ */ defineComponent({
9334
+ }), ThankYou = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-fa9ba237"]]), _hoisted_1$1 = { class: "hotel-listing" }, _hoisted_2 = { class: "hotel-listing-content-gallery" }, _hoisted_3 = { class: "hotel-listing-content-bullets" }, _hoisted_4 = { class: "hotel-listing-content" }, _hoisted_5 = { class: "hotel-listing-content-header" }, _hoisted_6 = { class: "hotel-listing-content-title" }, _hoisted_7 = { class: "hotel-listing-content-body" }, _hoisted_8 = { class: "hotel-listing-content-facilities" }, _sfc_main$1 = /* @__PURE__ */ defineComponent({
9332
9335
  __name: "Listing",
9333
9336
  setup(s) {
9334
9337
  return (i, t) => (openBlock(), createElementBlock("div", _hoisted_1$1, [
@@ -9707,12 +9710,12 @@ function requireGetSize() {
9707
9710
  var E = r[p], T = m[E], O = parseFloat(T);
9708
9711
  b[E] = isNaN(O) ? 0 : O;
9709
9712
  }
9710
- var S = b.paddingLeft + b.paddingRight, C = b.paddingTop + b.paddingBottom, k = b.marginLeft + b.marginRight, I = b.marginTop + b.marginBottom, R = b.borderLeftWidth + b.borderRightWidth, w = b.borderTopWidth + b.borderBottomWidth, A = P && g, N = t(m.width);
9713
+ var S = b.paddingLeft + b.paddingRight, C = b.paddingTop + b.paddingBottom, x = b.marginLeft + b.marginRight, I = b.marginTop + b.marginBottom, R = b.borderLeftWidth + b.borderRightWidth, w = b.borderTopWidth + b.borderBottomWidth, A = P && g, N = t(m.width);
9711
9714
  N !== !1 && (b.width = N + // add padding and border unless it's already including it
9712
9715
  (A ? 0 : S + R));
9713
9716
  var D = t(m.height);
9714
9717
  return D !== !1 && (b.height = D + // add padding and border unless it's already including it
9715
- (A ? 0 : C + w)), b.innerWidth = b.width - (S + R), b.innerHeight = b.height - (C + w), b.outerWidth = b.width + k, b.outerHeight = b.height + I, b;
9718
+ (A ? 0 : C + w)), b.innerWidth = b.width - (S + R), b.innerHeight = b.height - (C + w), b.outerWidth = b.width + x, b.outerHeight = b.height + I, b;
9716
9719
  }
9717
9720
  }
9718
9721
  return y;
@@ -9890,11 +9893,11 @@ function requireItem() {
9890
9893
  p[T] = P[E];
9891
9894
  }
9892
9895
  }, _.getPosition = function() {
9893
- var P = getComputedStyle(this.element), p = this.layout._getOption("originLeft"), E = this.layout._getOption("originTop"), T = P[p ? "left" : "right"], O = P[E ? "top" : "bottom"], S = parseFloat(T), C = parseFloat(O), k = this.layout.size;
9894
- T.indexOf("%") != -1 && (S = S / 100 * k.width), O.indexOf("%") != -1 && (C = C / 100 * k.height), S = isNaN(S) ? 0 : S, C = isNaN(C) ? 0 : C, S -= p ? k.paddingLeft : k.paddingRight, C -= E ? k.paddingTop : k.paddingBottom, this.position.x = S, this.position.y = C;
9896
+ var P = getComputedStyle(this.element), p = this.layout._getOption("originLeft"), E = this.layout._getOption("originTop"), T = P[p ? "left" : "right"], O = P[E ? "top" : "bottom"], S = parseFloat(T), C = parseFloat(O), x = this.layout.size;
9897
+ T.indexOf("%") != -1 && (S = S / 100 * x.width), O.indexOf("%") != -1 && (C = C / 100 * x.height), S = isNaN(S) ? 0 : S, C = isNaN(C) ? 0 : C, S -= p ? x.paddingLeft : x.paddingRight, C -= E ? x.paddingTop : x.paddingBottom, this.position.x = S, this.position.y = C;
9895
9898
  }, _.layoutPosition = function() {
9896
- var P = this.layout.size, p = {}, E = this.layout._getOption("originLeft"), T = this.layout._getOption("originTop"), O = E ? "paddingLeft" : "paddingRight", S = E ? "left" : "right", C = E ? "right" : "left", k = this.position.x + P[O];
9897
- p[S] = this.getXValue(k), p[C] = "";
9899
+ var P = this.layout.size, p = {}, E = this.layout._getOption("originLeft"), T = this.layout._getOption("originTop"), O = E ? "paddingLeft" : "paddingRight", S = E ? "left" : "right", C = E ? "right" : "left", x = this.position.x + P[O];
9900
+ p[S] = this.getXValue(x), p[C] = "";
9898
9901
  var I = T ? "paddingTop" : "paddingBottom", R = T ? "top" : "bottom", w = T ? "bottom" : "top", A = this.position.y + P[I];
9899
9902
  p[R] = this.getYValue(A), p[w] = "", this.css(p), this.emitEvent("layout", [this]);
9900
9903
  }, _.getXValue = function(P) {
@@ -9910,9 +9913,9 @@ function requireItem() {
9910
9913
  this.layoutPosition();
9911
9914
  return;
9912
9915
  }
9913
- var S = P - E, C = p - T, k = {};
9914
- k.transform = this.getTranslate(S, C), this.transition({
9915
- to: k,
9916
+ var S = P - E, C = p - T, x = {};
9917
+ x.transform = this.getTranslate(S, C), this.transition({
9918
+ to: x,
9916
9919
  onTransitionEnd: {
9917
9920
  transform: this.layoutPosition
9918
9921
  },
@@ -10123,8 +10126,8 @@ function requireOutlayer() {
10123
10126
  this.items = this._itemize(this.element.children);
10124
10127
  }, v._itemize = function(p) {
10125
10128
  for (var E = this._filterFindItemElements(p), T = this.constructor.Item, O = [], S = 0; S < E.length; S++) {
10126
- var C = E[S], k = new T(C, this);
10127
- O.push(k);
10129
+ var C = E[S], x = new T(C, this);
10130
+ O.push(x);
10128
10131
  }
10129
10132
  return O;
10130
10133
  }, v._filterFindItemElements = function(p) {
@@ -10200,11 +10203,11 @@ function requireOutlayer() {
10200
10203
  return;
10201
10204
  }
10202
10205
  var C = 0;
10203
- function k() {
10206
+ function x() {
10204
10207
  C++, C == S && O();
10205
10208
  }
10206
10209
  E.forEach(function(I) {
10207
- I.once(p, k);
10210
+ I.once(p, x);
10208
10211
  });
10209
10212
  }, v.dispatchEvent = function(p, E, T) {
10210
10213
  var O = E ? [E].concat(T) : T;
@@ -10680,4 +10683,4 @@ export {
10680
10683
  StickyPlugin as a,
10681
10684
  ListingSkeleton as b
10682
10685
  };
10683
- //# sourceMappingURL=masonry.plugin-yGwNNx2b.js.map
10686
+ //# sourceMappingURL=masonry.plugin-DGcnQT2t.js.map
package/dist/polyfill.js CHANGED
@@ -6707,5 +6707,5 @@ var _nr = { exports: {} };
6707
6707
  tr = new ResizeObserver(I), hr = new MutationObserver(ir), K();
6708
6708
  }
6709
6709
  })()();
6710
- console.log("Konnectio production release: 4.0.111");
6710
+ console.log("Konnectio production release: 4.0.113");
6711
6711
  //# sourceMappingURL=polyfill.js.map
Binary file