@konnectio/core 4.2.2 → 4.2.3
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.
- package/dist/{ActionField-D4-xFqsi.js → ActionField-ChwuAgLp.js} +2 -2
- package/dist/ActionField-ChwuAgLp.js.br +0 -0
- package/dist/{AvailabilitySkeleton-PECkwtXv.js → AvailabilitySkeleton-CmfuXV5e.js} +5 -5
- package/dist/AvailabilitySkeleton-CmfuXV5e.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DlWMMo5k.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CXCRXBBP.js} +2 -2
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CXCRXBBP.js.br +0 -0
- package/dist/{CheckoutWindow-BiVijMff.js → CheckoutWindow-CCMbdkjy.js} +2 -2
- package/dist/CheckoutWindow-CCMbdkjy.js.br +0 -0
- package/dist/{ErrorMessage-CA9UHGeN.js → ErrorMessage-BWHyPLZV.js} +2 -2
- package/dist/ErrorMessage-BWHyPLZV.js.br +0 -0
- package/dist/{EventAvailabilityForm-BegeTLnc.js → EventAvailabilityForm-AvKNrraX.js} +3 -3
- package/dist/EventAvailabilityForm-AvKNrraX.js.br +0 -0
- package/dist/{Field-BkQsgaIV.js → Field-Dneudqqn.js} +3 -3
- package/dist/Field-Dneudqqn.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-ysPyDXQ-.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DKhC2t2f.js} +2 -2
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-DejTF4Fr.js → SelectField.vue_vue_type_style_index_0_lang-CU0cj5r5.js} +753 -752
- package/dist/SelectField.vue_vue_type_style_index_0_lang-CU0cj5r5.js.br +0 -0
- package/dist/{TermsOfService-DEMDueQM.js → TermsOfService-C7fH6ogL.js} +3 -3
- package/dist/_-CfgSgpLg.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-CqZnPVm4.js → _.vue_vue_type_style_index_0_lang-BNuZUEaD.js} +2 -2
- package/dist/availability.js +5 -5
- package/dist/availability.js.br +0 -0
- package/dist/cancel-reservation.js +3 -3
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/core.css +1 -1
- package/dist/core.css.br +0 -0
- package/dist/event.js +7 -7
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +7 -7
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +8 -8
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-DsZ5JsJN.js → giftCard-CzjO4RBK.js} +2 -2
- package/dist/giftCard-CzjO4RBK.js.br +0 -0
- package/dist/hotel.js +726 -716
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-B7soNeYB.js → masonry.plugin-D1y1ETKT.js} +196 -188
- package/dist/masonry.plugin-D1y1ETKT.js.br +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/package.json +1 -1
- package/dist/ActionField-D4-xFqsi.js.br +0 -0
- package/dist/AvailabilitySkeleton-PECkwtXv.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DlWMMo5k.js.br +0 -0
- package/dist/CheckoutWindow-BiVijMff.js.br +0 -0
- package/dist/ErrorMessage-CA9UHGeN.js.br +0 -0
- package/dist/EventAvailabilityForm-BegeTLnc.js.br +0 -0
- package/dist/Field-BkQsgaIV.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DejTF4Fr.js.br +0 -0
- package/dist/_-DXRM8SN0.js +0 -5
- package/dist/giftCard-DsZ5JsJN.js.br +0 -0
- package/dist/masonry.plugin-B7soNeYB.js.br +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { d as defineComponent, F as Fragment, U as Comment, V as Text, W as h, X as getCurrentInstance, Y as resolveComponent, r as ref, c as computed$1, D as watch, o as onMounted, h as createElementBlock, b as openBlock, a as createBlock, i as createCommentVNode, w as withCtx, v as renderList, e as createBaseVNode, j as withModifiers, f as createVNode, g as unref, n as normalizeClass, u as useI18n, s as storeToRefs, Z as inject, N as resolveDirective, A as createSlots, E as withDirectives, t as toDisplayString, $ as reactive, a0 as onUnmounted, K as normalizeStyle, q as renderSlot, Q as nextTick, G as vShow, x as createTextVNode, a1 as mergeModels, y as useSlots, a2 as useModel, T as Transition, z as isRef, _ as _mitt } from "./mitt-CgrYtI2g.js";
|
|
2
|
-
import { I as Icon, _ as _export_sfc, b as useHotelStore, g as useEventStore, u as useAvailabilityStore, f as useUtilityStore, T as TextField, M as convertDescription, B as BookingLayout, q as capitalized, k as daysBetweenDates, o as showPrice, s as showDate, x as InputField, K as BookingHeaderLayout, P as emitter, w as getUserLanguage, y as useApplyGiftCardStore, e as Clickable, z as usePaymentStore } from "./SelectField.vue_vue_type_style_index_0_lang-
|
|
3
|
-
import { B as Base$1, a as Checkbox, _ as _sfc_main$c } from "./CheckoutWindow-
|
|
4
|
-
import { A as ActionField } from "./ActionField-
|
|
5
|
-
import { E as Element$1 } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-
|
|
2
|
+
import { I as Icon, _ as _export_sfc, b as useHotelStore, g as useEventStore, u as useAvailabilityStore, f as useUtilityStore, T as TextField, M as convertDescription, B as BookingLayout, q as capitalized, k as daysBetweenDates, o as showPrice, s as showDate, x as InputField, K as BookingHeaderLayout, P as emitter, w as getUserLanguage, y as useApplyGiftCardStore, e as Clickable, z as usePaymentStore } from "./SelectField.vue_vue_type_style_index_0_lang-CU0cj5r5.js";
|
|
3
|
+
import { B as Base$1, a as Checkbox, _ as _sfc_main$c } from "./CheckoutWindow-CCMbdkjy.js";
|
|
4
|
+
import { A as ActionField } from "./ActionField-ChwuAgLp.js";
|
|
5
|
+
import { E as Element$1 } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DKhC2t2f.js";
|
|
6
6
|
import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-DaMA6jEr.js";
|
|
7
7
|
/*! *****************************************************************************
|
|
8
8
|
Copyright (c) Microsoft Corporation.
|
|
@@ -1580,8 +1580,8 @@ var InputObserver = /* @__PURE__ */ function() {
|
|
|
1580
1580
|
}, 100);
|
|
1581
1581
|
}
|
|
1582
1582
|
}
|
|
1583
|
-
var O = this._getDistance([g.deltaX, g.deltaY], [P, v]), S = this._getOffset([g.offsetX, g.offsetY], [P, v]), k = S.some(function(
|
|
1584
|
-
return
|
|
1583
|
+
var O = this._getDistance([g.deltaX, g.deltaY], [P, v]), S = this._getOffset([g.offsetX, g.offsetY], [P, v]), k = S.some(function(R) {
|
|
1584
|
+
return R !== 0;
|
|
1585
1585
|
});
|
|
1586
1586
|
k && (g.srcEvent.cancelable !== !1 && g.srcEvent.preventDefault(), g.srcEvent.stopPropagation()), g.preventSystemEvent = k, k && (this._isOverThreshold || O >= _) && (this._dragged = l, this._isOverThreshold = !0, this._observer.change(this, g, toAxis(this.axes, S))), y.prevEvent = g;
|
|
1587
1587
|
}
|
|
@@ -3736,17 +3736,17 @@ var State = /* @__PURE__ */ function() {
|
|
|
3736
3736
|
var l, u = getFlickingAttached(this._flicking), d = u.camera, f = (l = this._nextPanel) !== null && l !== void 0 ? l : this._activePanel, _ = this._controller.range, p = this._indexRange, y = d.range, g = this._controller.state, m = clamp(d.clampToReachablePosition(e), _[0], _[1]), b = d.findAnchorIncludePosition(m);
|
|
3737
3737
|
if (!b || !f)
|
|
3738
3738
|
return Promise.reject(new FlickingError(MESSAGE.POSITION_NOT_REACHABLE(e), CODE.POSITION_NOT_REACHABLE));
|
|
3739
|
-
var P = f.position, v = u.animating ? g.delta : e - d.position, E = Math.abs(v) >= u.threshold, T = e > P ? d.getNextAnchor(b) : d.getPrevAnchor(b), O, S, k = d.anchorPoints,
|
|
3740
|
-
if (
|
|
3741
|
-
var
|
|
3742
|
-
S =
|
|
3739
|
+
var P = f.position, v = u.animating ? g.delta : e - d.position, E = Math.abs(v) >= u.threshold, T = e > P ? d.getNextAnchor(b) : d.getPrevAnchor(b), O, S, k = d.anchorPoints, R = k[0], A = k[k.length - 1], C = e <= y.min && isBetween(R.panel.index, p.min, p.max), N = e >= y.max && isBetween(A.panel.index, p.min, p.max), w = T && (p.min <= p.max ? isBetween(T.index, p.min, p.max) : T.index >= p.min || T.index <= p.max);
|
|
3740
|
+
if (C || N) {
|
|
3741
|
+
var x = e < y.min ? R : A;
|
|
3742
|
+
S = x.panel, O = x.position;
|
|
3743
3743
|
} else if (E && b.position !== f.position)
|
|
3744
3744
|
S = b.panel, O = b.position;
|
|
3745
3745
|
else if (E && w)
|
|
3746
3746
|
S = T.panel, O = T.position;
|
|
3747
3747
|
else {
|
|
3748
|
-
var
|
|
3749
|
-
return
|
|
3748
|
+
var D = d.findNearestAnchor(d.position);
|
|
3749
|
+
return D ? this.moveToPanel(D.panel, {
|
|
3750
3750
|
duration: n,
|
|
3751
3751
|
axesEvent: r
|
|
3752
3752
|
}) : Promise.reject(new FlickingError(MESSAGE.POSITION_NOT_REACHABLE(e), CODE.POSITION_NOT_REACHABLE));
|
|
@@ -5297,10 +5297,10 @@ var State = /* @__PURE__ */ function() {
|
|
|
5297
5297
|
}(), Flicking$1 = /* @__PURE__ */ function(s) {
|
|
5298
5298
|
__extends$2(i, s);
|
|
5299
5299
|
function i(e, n) {
|
|
5300
|
-
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, _ = r.horizontal, p = _ === void 0 ? !0 : _, y = r.circular, g = y === void 0 ? !1 : y, m = r.circularFallback, b = m === void 0 ? CIRCULAR_FALLBACK.LINEAR : m, P = r.bound, v = P === void 0 ? !1 : P, E = r.adaptive, T = E === void 0 ? !1 : E, O = r.panelsPerView, S = O === void 0 ? -1 : O, k = r.noPanelStyleOverride,
|
|
5300
|
+
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, _ = r.horizontal, p = _ === void 0 ? !0 : _, y = r.circular, g = y === void 0 ? !1 : y, m = r.circularFallback, b = m === void 0 ? CIRCULAR_FALLBACK.LINEAR : m, P = r.bound, v = P === void 0 ? !1 : P, E = r.adaptive, T = E === void 0 ? !1 : E, O = r.panelsPerView, S = O === void 0 ? -1 : O, k = r.noPanelStyleOverride, R = k === void 0 ? !1 : k, A = r.resizeOnContentsReady, C = A === void 0 ? !1 : A, N = r.nested, w = N === void 0 ? !1 : N, x = r.needPanelThreshold, D = x === void 0 ? 0 : x, L = r.preventEventsBeforeInit, B = L === void 0 ? !0 : L, V = r.deceleration, de = V === void 0 ? 75e-4 : V, M = r.duration, fe = M === void 0 ? 500 : M, z = r.easing, he = z === void 0 ? function(Le) {
|
|
5301
5301
|
return 1 - Math.pow(1 - Le, 3);
|
|
5302
|
-
} : z, F = r.inputType, ve = F === void 0 ? ["mouse", "touch"] : F, j = r.moveType, ge = j === void 0 ? "snap" : j, H = r.threshold, pe = H === void 0 ? 40 : H, W = r.dragThreshold, _e = W === void 0 ? 1 : W, U = r.interruptable, me = U === void 0 ? !0 : U, G = r.bounce, Ee = G === void 0 ? "20%" : G, Y = r.iOSEdgeSwipeThreshold, ye = Y === void 0 ? 30 : Y, q = r.preventClickOnDrag, be = q === void 0 ? !0 : q, X = r.preventDefaultOnDrag, Pe = X === void 0 ? !1 : X, K = r.disableOnInit, Te = K === void 0 ? !1 : K, Z = r.changeOnHold, Oe = Z === void 0 ? !1 : Z, Q = r.renderOnlyVisible, Se = Q === void 0 ? !1 : Q, J = r.virtual, ee = J === void 0 ? null : J, te = r.autoInit, Ce = te === void 0 ? !0 : te, ne = r.autoResize, Ie = ne === void 0 ? !0 : ne, ie = r.useResizeObserver, ke = ie === void 0 ? !0 : ie, re = r.resizeDebounce, xe = re === void 0 ? 0 : re, ae = r.observePanelResize, Re = ae === void 0 ? !1 : ae, oe = r.maxResizeDebounce, Ne = oe === void 0 ? 100 : oe, se = r.useFractionalSize, we = se === void 0 ? !1 : se, le = r.externalRenderer, Ae = le === void 0 ? null : le, ue = r.renderExternal, De = ue === void 0 ? null : ue, ce = r.optimizeSizeUpdate, Be = ce === void 0 ? !1 : ce,
|
|
5303
|
-
return
|
|
5302
|
+
} : z, F = r.inputType, ve = F === void 0 ? ["mouse", "touch"] : F, j = r.moveType, ge = j === void 0 ? "snap" : j, H = r.threshold, pe = H === void 0 ? 40 : H, W = r.dragThreshold, _e = W === void 0 ? 1 : W, U = r.interruptable, me = U === void 0 ? !0 : U, G = r.bounce, Ee = G === void 0 ? "20%" : G, Y = r.iOSEdgeSwipeThreshold, ye = Y === void 0 ? 30 : Y, q = r.preventClickOnDrag, be = q === void 0 ? !0 : q, X = r.preventDefaultOnDrag, Pe = X === void 0 ? !1 : X, K = r.disableOnInit, Te = K === void 0 ? !1 : K, Z = r.changeOnHold, Oe = Z === void 0 ? !1 : Z, Q = r.renderOnlyVisible, Se = Q === void 0 ? !1 : Q, J = r.virtual, ee = J === void 0 ? null : J, te = r.autoInit, Ce = te === void 0 ? !0 : te, ne = r.autoResize, Ie = ne === void 0 ? !0 : ne, ie = r.useResizeObserver, ke = ie === void 0 ? !0 : ie, re = r.resizeDebounce, xe = re === void 0 ? 0 : re, ae = r.observePanelResize, Re = ae === void 0 ? !1 : ae, oe = r.maxResizeDebounce, Ne = oe === void 0 ? 100 : oe, se = r.useFractionalSize, we = se === void 0 ? !1 : se, le = r.externalRenderer, Ae = le === void 0 ? null : le, ue = r.renderExternal, De = ue === void 0 ? null : ue, ce = r.optimizeSizeUpdate, Be = ce === void 0 ? !1 : ce, I = s.call(this) || this;
|
|
5303
|
+
return I._initialized = !1, I._plugins = [], I._isResizing = !1, I._align = u, I._defaultIndex = f, I._horizontal = p, I._circular = g, I._circularFallback = b, I._bound = v, I._adaptive = T, I._panelsPerView = S, I._noPanelStyleOverride = R, I._resizeOnContentsReady = C, I._nested = w, I._virtual = ee, I._needPanelThreshold = D, I._preventEventsBeforeInit = B, I._deceleration = de, I._duration = fe, I._easing = he, I._inputType = ve, I._moveType = ge, I._threshold = pe, I._dragThreshold = _e, I._interruptable = me, I._bounce = Ee, I._iOSEdgeSwipeThreshold = ye, I._preventClickOnDrag = be, I._preventDefaultOnDrag = Pe, I._disableOnInit = Te, I._changeOnHold = Oe, I._renderOnlyVisible = Se, I._autoInit = Ce, I._autoResize = Ie, I._useResizeObserver = ke, I._resizeDebounce = xe, I._maxResizeDebounce = Ne, I._observePanelResize = Re, I._useFractionalSize = we, I._externalRenderer = Ae, I._renderExternal = De, I._optimizeSizeUpdate = Be, I._viewport = new Viewport(I, getElement$1(e)), I._autoResizer = new AutoResizer(I), I._renderer = I._createRenderer(), I._camera = I._createCamera(), I._control = I._createControl(), I._virtualManager = new VirtualManager(I, ee), I._autoInit && I.init(), I;
|
|
5304
5304
|
}
|
|
5305
5305
|
var t = i.prototype;
|
|
5306
5306
|
return Object.defineProperty(t, "control", {
|
|
@@ -6749,7 +6749,7 @@ var State = /* @__PURE__ */ function() {
|
|
|
6749
6749
|
if (e._moveByViewportSize)
|
|
6750
6750
|
v.control.moveToPosition(E.position - E.size, v.duration).catch(e._onCatch);
|
|
6751
6751
|
else if (v.circularEnabled) {
|
|
6752
|
-
for (var k = v.currentPanel,
|
|
6752
|
+
for (var k = v.currentPanel, R = 0; R < S; R++)
|
|
6753
6753
|
k = k.prev();
|
|
6754
6754
|
k.focus().catch(e._onCatch);
|
|
6755
6755
|
} else v.index > O.panel.index ? v.moveTo(Math.max(v.index - S, O.panel.index)).catch(e._onCatch) : E.position > E.range.min && v.moveTo(v.index).catch(e._onCatch);
|
|
@@ -6761,7 +6761,7 @@ var State = /* @__PURE__ */ function() {
|
|
|
6761
6761
|
if (e._moveByViewportSize)
|
|
6762
6762
|
v.control.moveToPosition(E.position + E.size, v.duration).catch(e._onCatch);
|
|
6763
6763
|
else if (v.circularEnabled) {
|
|
6764
|
-
for (var k = v.currentPanel,
|
|
6764
|
+
for (var k = v.currentPanel, R = 0; R < S; R++)
|
|
6765
6765
|
k = k.next();
|
|
6766
6766
|
k.focus().catch(e._onCatch);
|
|
6767
6767
|
} else v.index < O.panel.index ? v.moveTo(Math.min(v.index + S, O.panel.index)).catch(e._onCatch) : E.position > E.range.min && v.moveTo(v.index).catch(e._onCatch);
|
|
@@ -7032,10 +7032,10 @@ var Renderer = /* @__PURE__ */ function() {
|
|
|
7032
7032
|
}, t.update = function(e) {
|
|
7033
7033
|
var n = this._pagination, r = this._flicking, l = this._bullets, u = this._previousIndex, d = n.renderBullet, f = n.renderActiveBullet, _ = r.camera.anchorPoints, p = _[0].panel.index, y = e - p;
|
|
7034
7034
|
if (!(_.length <= 0)) {
|
|
7035
|
-
var g = n.classPrefix + "-" + PAGINATION.BULLET_SUFFIX, m = n.classPrefix + "-" + PAGINATION.BULLET_ACTIVE_SUFFIX, b = n.classPrefix + "-" + PAGINATION.SCROLL_PREV_SUFFIX, P = n.classPrefix + "-" + PAGINATION.SCROLL_NEXT_SUFFIX, v = function(
|
|
7036
|
-
return "" + b + (
|
|
7037
|
-
}, E = function(
|
|
7038
|
-
return "" + P + (
|
|
7035
|
+
var g = n.classPrefix + "-" + PAGINATION.BULLET_SUFFIX, m = n.classPrefix + "-" + PAGINATION.BULLET_ACTIVE_SUFFIX, b = n.classPrefix + "-" + PAGINATION.SCROLL_PREV_SUFFIX, P = n.classPrefix + "-" + PAGINATION.SCROLL_NEXT_SUFFIX, v = function(C) {
|
|
7036
|
+
return "" + b + (C > 1 ? C : "");
|
|
7037
|
+
}, E = function(C) {
|
|
7038
|
+
return "" + P + (C > 1 ? C : "");
|
|
7039
7039
|
}, T = new RegExp("^" + b), O = new RegExp("^" + P);
|
|
7040
7040
|
if (f) {
|
|
7041
7041
|
var S = l[u];
|
|
@@ -7043,18 +7043,18 @@ var Renderer = /* @__PURE__ */ function() {
|
|
|
7043
7043
|
var k = this._createBulletFromString(d(g, u), u);
|
|
7044
7044
|
S.parentElement.replaceChild(k, S), l[u] = k;
|
|
7045
7045
|
}
|
|
7046
|
-
var
|
|
7047
|
-
if (
|
|
7048
|
-
var
|
|
7049
|
-
|
|
7046
|
+
var R = l[y];
|
|
7047
|
+
if (R) {
|
|
7048
|
+
var A = this._createBulletFromString(f(g, y), y);
|
|
7049
|
+
R.parentElement.replaceChild(A, R), l[y] = A;
|
|
7050
7050
|
}
|
|
7051
7051
|
}
|
|
7052
|
-
l.forEach(function(
|
|
7053
|
-
for (var w =
|
|
7054
|
-
var B = L[
|
|
7055
|
-
(B === m || T.test(B) || O.test(B)) && removeClass(
|
|
7052
|
+
l.forEach(function(C, N) {
|
|
7053
|
+
for (var w = N - y, x = C.className.split(" "), D = 0, L = x; D < L.length; D++) {
|
|
7054
|
+
var B = L[D];
|
|
7055
|
+
(B === m || T.test(B) || O.test(B)) && removeClass(C, B);
|
|
7056
7056
|
}
|
|
7057
|
-
w === 0 ? addClass(
|
|
7057
|
+
w === 0 ? addClass(C, m) : w > 0 ? addClass(C, E(Math.abs(w))) : addClass(C, v(Math.abs(w)));
|
|
7058
7058
|
}), n.scrollOnChange(y, {
|
|
7059
7059
|
total: l.length,
|
|
7060
7060
|
prevIndex: u,
|
|
@@ -7069,20 +7069,20 @@ var Renderer = /* @__PURE__ */ function() {
|
|
|
7069
7069
|
function s(t) {
|
|
7070
7070
|
var e = this, n = t === void 0 ? {} : t, r = n.parentEl, l = r === void 0 ? null : r, u = n.selector, d = u === void 0 ? PAGINATION.SELECTOR : u, f = n.type, _ = f === void 0 ? PAGINATION.TYPE.BULLET : f, p = n.classPrefix, y = p === void 0 ? PAGINATION.PREFIX : p, g = n.bulletCount, m = g === void 0 ? 5 : g, b = n.renderBullet, P = b === void 0 ? function(w) {
|
|
7071
7071
|
return '<span class="' + w + '"></span>';
|
|
7072
|
-
} : b, v = n.renderActiveBullet, E = v === void 0 ? null : v, T = n.renderFraction, O = T === void 0 ? function(w,
|
|
7073
|
-
return '<span class="' + w + '"></span>/<span class="' +
|
|
7072
|
+
} : b, v = n.renderActiveBullet, E = v === void 0 ? null : v, T = n.renderFraction, O = T === void 0 ? function(w, x) {
|
|
7073
|
+
return '<span class="' + w + '"></span>/<span class="' + x + '"></span>';
|
|
7074
7074
|
} : T, S = n.fractionCurrentFormat, k = S === void 0 ? function(w) {
|
|
7075
7075
|
return w.toString();
|
|
7076
|
-
} : S,
|
|
7076
|
+
} : S, R = n.fractionTotalFormat, A = R === void 0 ? function(w) {
|
|
7077
7077
|
return w.toString();
|
|
7078
|
-
} :
|
|
7079
|
-
return
|
|
7080
|
-
} :
|
|
7078
|
+
} : R, C = n.scrollOnChange, N = C === void 0 ? function(w, x) {
|
|
7079
|
+
return x.moveTo(w);
|
|
7080
|
+
} : C;
|
|
7081
7081
|
this._flicking = null, this.update = function() {
|
|
7082
7082
|
e._removeAllChilds(), e._renderer.render();
|
|
7083
7083
|
}, this._onIndexChange = function(w) {
|
|
7084
7084
|
e._renderer.update(w.index);
|
|
7085
|
-
}, this._parentEl = l, this._selector = d, this._type = _, this._classPrefix = y, this._bulletCount = m, this._renderBullet = P, this._renderActiveBullet = E, this._renderFraction = O, this._fractionCurrentFormat = k, this._fractionTotalFormat =
|
|
7085
|
+
}, this._parentEl = l, this._selector = d, this._type = _, this._classPrefix = y, this._bulletCount = m, this._renderBullet = P, this._renderActiveBullet = E, this._renderFraction = O, this._fractionCurrentFormat = k, this._fractionTotalFormat = A, this._scrollOnChange = N;
|
|
7086
7086
|
}
|
|
7087
7087
|
var i = s.prototype;
|
|
7088
7088
|
return Object.defineProperty(i, "parentEl", {
|
|
@@ -7932,16 +7932,16 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
|
|
|
7932
7932
|
withDirectives(createBaseVNode("div", _hoisted_6$5, null, 512), [
|
|
7933
7933
|
[T]
|
|
7934
7934
|
]),
|
|
7935
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(v.facilities, ({ name: S, subFacilities: k },
|
|
7936
|
-
key:
|
|
7935
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(v.facilities, ({ name: S, subFacilities: k }, R) => withDirectives((openBlock(), createElementBlock("li", {
|
|
7936
|
+
key: R,
|
|
7937
7937
|
class: "konnectio-masonry-facility"
|
|
7938
7938
|
}, [
|
|
7939
7939
|
createBaseVNode("h6", null, [
|
|
7940
7940
|
createBaseVNode("span", null, toDisplayString(S), 1)
|
|
7941
7941
|
]),
|
|
7942
7942
|
createBaseVNode("ul", null, [
|
|
7943
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(k, ({ name:
|
|
7944
|
-
createBaseVNode("span", null, toDisplayString(
|
|
7943
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(k, ({ name: A }, C) => (openBlock(), createElementBlock("li", { key: C }, [
|
|
7944
|
+
createBaseVNode("span", null, toDisplayString(A), 1)
|
|
7945
7945
|
]))), 128))
|
|
7946
7946
|
])
|
|
7947
7947
|
])), [
|
|
@@ -8132,7 +8132,7 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
|
|
|
8132
8132
|
if (!d.localExpanded && e.maxHeight)
|
|
8133
8133
|
return typeof e?.maxHeight == "number" ? `${e?.maxHeight}px` : e?.maxHeight;
|
|
8134
8134
|
}), _ = () => {
|
|
8135
|
-
u.value && (u.value.innerHTML = convertDescription(
|
|
8135
|
+
u.value && (u.value.innerHTML = convertDescription(R.value));
|
|
8136
8136
|
}, p = () => {
|
|
8137
8137
|
d.localExpanded || (_(), (m() || k.value) && P());
|
|
8138
8138
|
}, y = () => {
|
|
@@ -8142,20 +8142,20 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
|
|
|
8142
8142
|
}, g = () => {
|
|
8143
8143
|
d.unregisterResizeCallback?.();
|
|
8144
8144
|
}, m = () => !e.maxLines && !e.maxHeight || !r.value ? !1 : !!(e.maxLines && b() > e.maxLines || e.maxHeight && r.value.scrollHeight > r.value.offsetHeight), b = () => l.value ? Object.keys(
|
|
8145
|
-
Array.prototype.slice.call(l.value.getClientRects()).reduce((
|
|
8146
|
-
const B = `${
|
|
8147
|
-
return
|
|
8145
|
+
Array.prototype.slice.call(l.value.getClientRects()).reduce((x, { top: D, bottom: L }) => {
|
|
8146
|
+
const B = `${D}/${L}`;
|
|
8147
|
+
return x[B] || (x[B] = !0), x;
|
|
8148
8148
|
}, {})
|
|
8149
|
-
).length : 0, P = (...
|
|
8150
|
-
const [
|
|
8151
|
-
if (L -
|
|
8149
|
+
).length : 0, P = (...x) => {
|
|
8150
|
+
const [D = 0, L = d.offset] = x;
|
|
8151
|
+
if (L - D <= 3) {
|
|
8152
8152
|
E();
|
|
8153
8153
|
return;
|
|
8154
8154
|
}
|
|
8155
|
-
const B = Math.floor((L +
|
|
8156
|
-
v(B), m() ? P(
|
|
8157
|
-
}, v = (
|
|
8158
|
-
d.offset =
|
|
8155
|
+
const B = Math.floor((L + D) / 2);
|
|
8156
|
+
v(B), m() ? P(D, B) : P(B, L);
|
|
8157
|
+
}, v = (x) => {
|
|
8158
|
+
d.offset = x, _();
|
|
8159
8159
|
}, E = () => {
|
|
8160
8160
|
T(), O();
|
|
8161
8161
|
}, T = () => {
|
|
@@ -8164,42 +8164,42 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
|
|
|
8164
8164
|
}, O = () => {
|
|
8165
8165
|
for (; m() && b() > 1 && d.offset > 0; )
|
|
8166
8166
|
S(-1);
|
|
8167
|
-
}, S = (
|
|
8168
|
-
v(d.offset +
|
|
8167
|
+
}, S = (x) => {
|
|
8168
|
+
v(d.offset + x);
|
|
8169
8169
|
}, k = computed$1(() => e.text ? d.offset !== e.text.length : !1);
|
|
8170
8170
|
watch(
|
|
8171
8171
|
() => k.value,
|
|
8172
|
-
(
|
|
8172
|
+
(x) => {
|
|
8173
8173
|
setTimeout(() => {
|
|
8174
|
-
n("clamp-change",
|
|
8174
|
+
n("clamp-change", x);
|
|
8175
8175
|
}, 0);
|
|
8176
8176
|
},
|
|
8177
8177
|
{ immediate: !0 }
|
|
8178
8178
|
);
|
|
8179
|
-
const
|
|
8179
|
+
const R = computed$1(() => k.value ? A.value : e.text), A = computed$1(() => {
|
|
8180
8180
|
if (e.location === "start")
|
|
8181
8181
|
return e.ellipsis + (e.text.slice(-d.offset) || "").trim();
|
|
8182
8182
|
if (e.location === "middle") {
|
|
8183
|
-
const
|
|
8184
|
-
return (e.text.slice(0,
|
|
8183
|
+
const x = Math.floor(d.offset / 2);
|
|
8184
|
+
return (e.text.slice(0, x) || "").trim() + e.ellipsis + (e.text.slice(-x) || "").trim();
|
|
8185
8185
|
}
|
|
8186
8186
|
return (e.text.slice(0, d.offset) || "").trim() + e.ellipsis;
|
|
8187
|
-
}),
|
|
8187
|
+
}), C = () => {
|
|
8188
8188
|
d.localExpanded = !0;
|
|
8189
|
-
},
|
|
8189
|
+
}, N = () => {
|
|
8190
8190
|
d.localExpanded = !1;
|
|
8191
8191
|
}, w = () => {
|
|
8192
8192
|
d.localExpanded = !d.localExpanded;
|
|
8193
8193
|
};
|
|
8194
8194
|
return watch(
|
|
8195
8195
|
() => e.expanded,
|
|
8196
|
-
(
|
|
8197
|
-
d.localExpanded =
|
|
8196
|
+
(x) => {
|
|
8197
|
+
d.localExpanded = x;
|
|
8198
8198
|
}
|
|
8199
8199
|
), watch(
|
|
8200
8200
|
() => d.localExpanded,
|
|
8201
|
-
(
|
|
8202
|
-
|
|
8201
|
+
(x) => {
|
|
8202
|
+
x ? v(e.text.length) : p(), e.expanded !== x && n("update:expanded", x);
|
|
8203
8203
|
}
|
|
8204
8204
|
), watch(
|
|
8205
8205
|
() => [e.maxLines, e.maxHeight, e.ellipsis, e.location, k.value].join(),
|
|
@@ -8219,7 +8219,7 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
|
|
|
8219
8219
|
g();
|
|
8220
8220
|
}), onMounted(() => {
|
|
8221
8221
|
y();
|
|
8222
|
-
}), (
|
|
8222
|
+
}), (x, D) => (openBlock(), createElementBlock("div", {
|
|
8223
8223
|
ref_key: "textClampRef",
|
|
8224
8224
|
ref: r,
|
|
8225
8225
|
class: "text-clamp",
|
|
@@ -8232,9 +8232,9 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
|
|
|
8232
8232
|
ref_key: "contentRef",
|
|
8233
8233
|
ref: l
|
|
8234
8234
|
}, [
|
|
8235
|
-
renderSlot(
|
|
8236
|
-
expand:
|
|
8237
|
-
collapse:
|
|
8235
|
+
renderSlot(x.$slots, "before", {
|
|
8236
|
+
expand: C,
|
|
8237
|
+
collapse: N,
|
|
8238
8238
|
toggle: w,
|
|
8239
8239
|
clamped: k.value,
|
|
8240
8240
|
expanded: d.localExpanded
|
|
@@ -8242,11 +8242,11 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
|
|
|
8242
8242
|
createBaseVNode("span", {
|
|
8243
8243
|
ref_key: "textRef",
|
|
8244
8244
|
ref: u,
|
|
8245
|
-
"aria-label":
|
|
8245
|
+
"aria-label": x.text
|
|
8246
8246
|
}, null, 8, _hoisted_1$a),
|
|
8247
|
-
renderSlot(
|
|
8248
|
-
expand:
|
|
8249
|
-
collapse:
|
|
8247
|
+
renderSlot(x.$slots, "after", {
|
|
8248
|
+
expand: C,
|
|
8249
|
+
collapse: N,
|
|
8250
8250
|
toggle: w,
|
|
8251
8251
|
clamped: k.value,
|
|
8252
8252
|
expanded: d.localExpanded
|
|
@@ -8254,7 +8254,7 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
|
|
|
8254
8254
|
k.value || d.localExpanded ? (openBlock(), createElementBlock("button", {
|
|
8255
8255
|
key: 0,
|
|
8256
8256
|
class: "link",
|
|
8257
|
-
onClick:
|
|
8257
|
+
onClick: D[0] || (D[0] = withModifiers((L) => w(), ["prevent"]))
|
|
8258
8258
|
}, [
|
|
8259
8259
|
d.localExpanded ? (openBlock(), createElementBlock("span", _hoisted_3$7, toDisplayString(unref(t)("general.readLess")), 1)) : (openBlock(), createElementBlock("span", _hoisted_2$7, toDisplayString(unref(t)("general.readMore")), 1))
|
|
8260
8260
|
])) : createCommentVNode("", !0)
|
|
@@ -9073,27 +9073,24 @@ const _hoisted_1$3 = {
|
|
|
9073
9073
|
}, _hoisted_11$1 = { id: "konnectio-reservation-layout-aside-price-summary" }, _hoisted_12$1 = { key: 0 }, _hoisted_13$1 = { key: 1 }, _hoisted_14$1 = { key: 2 }, _hoisted_15$1 = { key: 3 }, _hoisted_16$1 = {
|
|
9074
9074
|
key: 0,
|
|
9075
9075
|
class: "konnectio-panel"
|
|
9076
|
-
}, _hoisted_17$1 = { class: "konnectio-reservation-discount" }, _hoisted_18$1 = {
|
|
9077
|
-
key: 0,
|
|
9078
|
-
class: "konnectio-reservation-discount-navigation"
|
|
9079
|
-
}, _hoisted_19$1 = { key: 1 }, _hoisted_20$1 = { key: 0 }, _hoisted_21$1 = { key: 1 }, _hoisted_22$1 = { class: "konnectio-reservation-discount-form" }, _hoisted_23 = {
|
|
9076
|
+
}, _hoisted_17$1 = { class: "konnectio-reservation-discount" }, _hoisted_18$1 = { key: 1 }, _hoisted_19$1 = { key: 0 }, _hoisted_20$1 = { key: 1 }, _hoisted_21$1 = { class: "konnectio-reservation-discount-form" }, _hoisted_22$1 = {
|
|
9080
9077
|
key: 1,
|
|
9081
9078
|
class: "konnectio-panel"
|
|
9082
|
-
},
|
|
9079
|
+
}, _hoisted_23 = ["innerHTML"], _hoisted_24 = { id: "konnectio-reservation-layout-footer" }, _hoisted_25 = {
|
|
9083
9080
|
key: 0,
|
|
9084
9081
|
id: "konnectio-reservation-layout-recaptcha"
|
|
9085
|
-
},
|
|
9082
|
+
}, _hoisted_26 = {
|
|
9086
9083
|
key: 1,
|
|
9087
9084
|
id: "konnectio-reservation-layout-mobile",
|
|
9088
9085
|
"sticky-offset": "{ bottom: 10, top: 0 }",
|
|
9089
9086
|
"sticky-side": "bottom"
|
|
9090
|
-
},
|
|
9087
|
+
}, _hoisted_27 = { id: "konnectio-reservation-layout-mobile-inner" }, _hoisted_28 = { id: "konnectio-reservation-layout-mobile-inner-content" }, _hoisted_29 = { id: "konnectio-reservation-layout-mobile-total-price" }, _hoisted_30 = ["title"], _hoisted_31 = { id: "konnectio-reservation-layout-mobile-under-price" }, _hoisted_32 = {
|
|
9091
9088
|
key: 0,
|
|
9092
9089
|
id: "konnectio-reservation-layout-mobile-rooms"
|
|
9093
|
-
},
|
|
9090
|
+
}, _hoisted_33 = {
|
|
9094
9091
|
key: 1,
|
|
9095
9092
|
id: "konnectio-reservation-layout-mobile-action"
|
|
9096
|
-
},
|
|
9093
|
+
}, _hoisted_34 = { id: "konnectio-reservation-layout-powered-by" }, _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
9097
9094
|
__name: "ReservationForm",
|
|
9098
9095
|
props: /* @__PURE__ */ mergeModels({
|
|
9099
9096
|
showTermsNotice: { type: Boolean, default: !1 },
|
|
@@ -9115,66 +9112,71 @@ const _hoisted_1$3 = {
|
|
|
9115
9112
|
const { t: i } = useI18n(), {
|
|
9116
9113
|
disableGiftCardVoucher: t,
|
|
9117
9114
|
disableDiscountVoucher: e,
|
|
9118
|
-
|
|
9119
|
-
|
|
9120
|
-
|
|
9121
|
-
|
|
9122
|
-
|
|
9123
|
-
|
|
9124
|
-
|
|
9125
|
-
|
|
9126
|
-
|
|
9127
|
-
|
|
9115
|
+
selectGiftCardAsDefault: n,
|
|
9116
|
+
isRecaptchaEnabled: r,
|
|
9117
|
+
currency: l,
|
|
9118
|
+
enableStickyHeader: u,
|
|
9119
|
+
headerHeight: d
|
|
9120
|
+
} = storeToRefs(useUtilityStore()), f = useHotelStore(), {
|
|
9121
|
+
amount: _,
|
|
9122
|
+
voucher: p,
|
|
9123
|
+
isLoading: y
|
|
9124
|
+
} = storeToRefs(useApplyGiftCardStore()), { apply: g, reset: m } = useApplyGiftCardStore(), b = useSlots(), P = useModel(s, "discountCode"), v = s, E = computed$1(() => v.basePrice - v.weekendFee - v.roomUpgrade), T = ref("discount"), O = computed$1(() => T.value === "discount"), S = computed$1(() => T.value === "gift-card"), k = computed$1(() => !t.value || !e.value), R = computed$1(() => !t.value && !e.value), A = (C) => {
|
|
9125
|
+
T.value = C;
|
|
9128
9126
|
};
|
|
9129
9127
|
return onMounted(() => {
|
|
9130
|
-
e.value
|
|
9131
|
-
|
|
9132
|
-
|
|
9128
|
+
if (e.value) {
|
|
9129
|
+
A("gift-card");
|
|
9130
|
+
return;
|
|
9131
|
+
}
|
|
9132
|
+
n.value && A("gift-card");
|
|
9133
|
+
}), (C, N) => {
|
|
9134
|
+
const w = resolveDirective("sticky");
|
|
9133
9135
|
return openBlock(), createElementBlock("div", _hoisted_1$3, [
|
|
9134
9136
|
createBaseVNode("div", {
|
|
9135
9137
|
id: "konnectio-reservation-layout-content",
|
|
9136
9138
|
class: normalizeClass([
|
|
9137
|
-
{ "hide-aside-on-mobile": !unref(
|
|
9138
|
-
{ "show-additional":
|
|
9139
|
+
{ "hide-aside-on-mobile": !unref(b).sidebar },
|
|
9140
|
+
{ "show-additional": C.notice || C.showGiftCard && k.value }
|
|
9139
9141
|
])
|
|
9140
9142
|
}, [
|
|
9141
9143
|
createBaseVNode("div", _hoisted_2$2, [
|
|
9142
9144
|
createBaseVNode("form", null, [
|
|
9143
|
-
renderSlot(
|
|
9145
|
+
renderSlot(C.$slots, "form")
|
|
9144
9146
|
])
|
|
9145
9147
|
]),
|
|
9146
9148
|
createBaseVNode("aside", {
|
|
9147
9149
|
id: "konnectio-reservation-layout-aside",
|
|
9148
|
-
class: normalizeClass({ "disable-sticky-aside": !unref(
|
|
9149
|
-
style: normalizeStyle({ marginBottom: `${unref(
|
|
9150
|
+
class: normalizeClass({ "disable-sticky-aside": !unref(u) }),
|
|
9151
|
+
style: normalizeStyle({ marginBottom: `${unref(d)}px` })
|
|
9150
9152
|
}, [
|
|
9151
9153
|
createVNode(unref(script), {
|
|
9152
|
-
"top-spacing": unref(
|
|
9154
|
+
"top-spacing": unref(d),
|
|
9153
9155
|
"container-selector": "#konnectio-reservation-layout",
|
|
9154
9156
|
"min-width": 1e3,
|
|
9155
9157
|
"resize-sensor": !0,
|
|
9156
9158
|
"sticky-class": "konnectio-sticky-wrapper"
|
|
9157
9159
|
}, {
|
|
9158
9160
|
default: withCtx(() => [
|
|
9159
|
-
unref(
|
|
9161
|
+
unref(b).sidebar ? (openBlock(), createElementBlock("div", _hoisted_3$2, [
|
|
9160
9162
|
createBaseVNode("div", _hoisted_4$2, [
|
|
9161
|
-
renderSlot(
|
|
9163
|
+
renderSlot(C.$slots, "sidebar")
|
|
9162
9164
|
]),
|
|
9163
|
-
|
|
9165
|
+
C.notice ? (openBlock(), createElementBlock("div", _hoisted_5$2, [
|
|
9164
9166
|
createBaseVNode("p", {
|
|
9165
|
-
innerHTML:
|
|
9167
|
+
innerHTML: C.notice,
|
|
9166
9168
|
class: "konnectio-wysiwyg"
|
|
9167
9169
|
}, null, 8, _hoisted_6$2)
|
|
9168
9170
|
])) : createCommentVNode("", !0)
|
|
9169
|
-
])) :
|
|
9171
|
+
])) : C.isSidebarLoading ? (openBlock(), createBlock(Sidebar, { key: 2 })) : (openBlock(), createElementBlock("div", _hoisted_7$2, [
|
|
9170
9172
|
createBaseVNode("div", _hoisted_8$2, [
|
|
9171
9173
|
createBaseVNode("ul", _hoisted_9$1, [
|
|
9172
|
-
unref(
|
|
9174
|
+
unref(b)["reservation-summary"] ? (openBlock(), createElementBlock("div", _hoisted_10$1, [
|
|
9173
9175
|
createBaseVNode("h5", null, [
|
|
9174
9176
|
createBaseVNode("span", null, toDisplayString(unref(i)("general.reservationSummary")), 1)
|
|
9175
9177
|
]),
|
|
9176
9178
|
createBaseVNode("ul", null, [
|
|
9177
|
-
renderSlot(
|
|
9179
|
+
renderSlot(C.$slots, "reservation-summary")
|
|
9178
9180
|
])
|
|
9179
9181
|
])) : createCommentVNode("", !0),
|
|
9180
9182
|
createBaseVNode("div", _hoisted_11$1, [
|
|
@@ -9182,26 +9184,26 @@ const _hoisted_1$3 = {
|
|
|
9182
9184
|
createBaseVNode("span", null, toDisplayString(unref(i)("general.priceSummary")), 1)
|
|
9183
9185
|
]),
|
|
9184
9186
|
createBaseVNode("ul", null, [
|
|
9185
|
-
renderSlot(
|
|
9186
|
-
|
|
9187
|
+
renderSlot(C.$slots, "price-summary"),
|
|
9188
|
+
E.value > 0 ? (openBlock(), createElementBlock("li", _hoisted_12$1, [
|
|
9187
9189
|
createBaseVNode("span", null, toDisplayString(unref(i)("booking.availability.basePrice")), 1),
|
|
9188
|
-
createBaseVNode("b", null, toDisplayString(unref(showPrice)(
|
|
9190
|
+
createBaseVNode("b", null, toDisplayString(unref(showPrice)(E.value, unref(l))), 1)
|
|
9189
9191
|
])) : createCommentVNode("", !0),
|
|
9190
|
-
|
|
9192
|
+
C.weekendFee > 0 ? (openBlock(), createElementBlock("li", _hoisted_13$1, [
|
|
9191
9193
|
createBaseVNode("span", null, toDisplayString(unref(i)("general.weekendFee")), 1),
|
|
9192
|
-
createBaseVNode("b", null, toDisplayString(unref(showPrice)(
|
|
9194
|
+
createBaseVNode("b", null, toDisplayString(unref(showPrice)(C.weekendFee, unref(l))), 1)
|
|
9193
9195
|
])) : createCommentVNode("", !0),
|
|
9194
|
-
|
|
9196
|
+
C.roomUpgrade > 0 ? (openBlock(), createElementBlock("li", _hoisted_14$1, [
|
|
9195
9197
|
createBaseVNode("span", null, toDisplayString(unref(i)("general.roomUpgrade")), 1),
|
|
9196
|
-
createBaseVNode("b", null, toDisplayString(unref(showPrice)(
|
|
9198
|
+
createBaseVNode("b", null, toDisplayString(unref(showPrice)(C.roomUpgrade, unref(l))), 1)
|
|
9197
9199
|
])) : createCommentVNode("", !0),
|
|
9198
|
-
renderSlot(
|
|
9199
|
-
unref(
|
|
9200
|
+
renderSlot(C.$slots, "expenses"),
|
|
9201
|
+
unref(_) !== 0 ? (openBlock(), createElementBlock("li", _hoisted_15$1, [
|
|
9200
9202
|
createBaseVNode("span", null, [
|
|
9201
9203
|
createBaseVNode("span", null, toDisplayString(unref(i)("booking.reservation.giftCardDiscount")), 1),
|
|
9202
9204
|
createBaseVNode("a", {
|
|
9203
9205
|
class: "resume-item-remove",
|
|
9204
|
-
onClick:
|
|
9206
|
+
onClick: N[0] || (N[0] = withModifiers((x) => unref(m)(), ["prevent"]))
|
|
9205
9207
|
}, [
|
|
9206
9208
|
createVNode(Icon, {
|
|
9207
9209
|
icon: "times",
|
|
@@ -9211,81 +9213,87 @@ const _hoisted_1$3 = {
|
|
|
9211
9213
|
])
|
|
9212
9214
|
]),
|
|
9213
9215
|
createBaseVNode("b", null, [
|
|
9214
|
-
createBaseVNode("span", null, toDisplayString(unref(showPrice)(-unref(
|
|
9216
|
+
createBaseVNode("span", null, toDisplayString(unref(showPrice)(-unref(_), unref(l))), 1)
|
|
9215
9217
|
])
|
|
9216
9218
|
])) : createCommentVNode("", !0),
|
|
9217
9219
|
createBaseVNode("li", null, [
|
|
9218
9220
|
createBaseVNode("span", null, toDisplayString(unref(i)("booking.reservation.totalPrice")), 1),
|
|
9219
9221
|
createBaseVNode("b", null, [
|
|
9220
|
-
createBaseVNode("u", null, toDisplayString(unref(showPrice)(
|
|
9222
|
+
createBaseVNode("u", null, toDisplayString(unref(showPrice)(C.totalPrice, unref(l))), 1)
|
|
9221
9223
|
])
|
|
9222
9224
|
])
|
|
9223
9225
|
])
|
|
9224
9226
|
]),
|
|
9225
|
-
unref(
|
|
9226
|
-
renderSlot(
|
|
9227
|
-
|
|
9227
|
+
unref(b).actions && C.showTermsNotice ? renderSlot(C.$slots, "actions", { key: 1 }) : createCommentVNode("", !0),
|
|
9228
|
+
renderSlot(C.$slots, "navigation"),
|
|
9229
|
+
C.prevCallback !== void 0 ? (openBlock(), createBlock(Clickable, {
|
|
9228
9230
|
key: 2,
|
|
9229
9231
|
class: "konnectio-abort-reservation",
|
|
9230
9232
|
label: unref(i)("general.goAStepBack"),
|
|
9231
9233
|
secondary: "",
|
|
9232
|
-
onClickEvent:
|
|
9234
|
+
onClickEvent: C.prevCallback
|
|
9233
9235
|
}, null, 8, ["label", "onClickEvent"])) : createCommentVNode("", !0)
|
|
9234
9236
|
])
|
|
9235
9237
|
]),
|
|
9236
|
-
|
|
9238
|
+
C.showGiftCard && k.value ? (openBlock(), createElementBlock("div", _hoisted_16$1, [
|
|
9237
9239
|
createBaseVNode("div", _hoisted_17$1, [
|
|
9238
|
-
|
|
9240
|
+
R.value ? (openBlock(), createElementBlock("nav", {
|
|
9241
|
+
key: 0,
|
|
9242
|
+
class: normalizeClass([
|
|
9243
|
+
"konnectio-reservation-discount-navigation",
|
|
9244
|
+
{ "konnectio-swap-positions": unref(n) }
|
|
9245
|
+
])
|
|
9246
|
+
}, [
|
|
9239
9247
|
createBaseVNode("ul", null, [
|
|
9240
9248
|
createBaseVNode("li", null, [
|
|
9241
9249
|
createBaseVNode("button", {
|
|
9242
|
-
class: normalizeClass({ active:
|
|
9243
|
-
onClick:
|
|
9250
|
+
class: normalizeClass({ active: O.value }),
|
|
9251
|
+
onClick: N[1] || (N[1] = withModifiers((x) => A("discount"), ["prevent"]))
|
|
9244
9252
|
}, [
|
|
9245
9253
|
createBaseVNode("span", null, toDisplayString(unref(i)("general.discountCode")), 1)
|
|
9246
9254
|
], 2)
|
|
9247
9255
|
]),
|
|
9248
9256
|
createBaseVNode("li", null, [
|
|
9249
9257
|
createBaseVNode("button", {
|
|
9250
|
-
class: normalizeClass({ active:
|
|
9251
|
-
onClick:
|
|
9258
|
+
class: normalizeClass({ active: S.value }),
|
|
9259
|
+
onClick: N[2] || (N[2] = withModifiers((x) => A("gift-card"), ["prevent"]))
|
|
9252
9260
|
}, [
|
|
9253
9261
|
createBaseVNode("span", null, toDisplayString(unref(i)("booking.reservation.giftCardCode")), 1)
|
|
9254
9262
|
], 2)
|
|
9255
9263
|
])
|
|
9256
9264
|
])
|
|
9257
|
-
])) : (openBlock(), createElementBlock("h5",
|
|
9258
|
-
|
|
9265
|
+
], 2)) : (openBlock(), createElementBlock("h5", _hoisted_18$1, [
|
|
9266
|
+
O.value ? (openBlock(), createElementBlock("span", _hoisted_19$1, toDisplayString(unref(i)("general.discountCode")), 1)) : (openBlock(), createElementBlock("span", _hoisted_20$1, toDisplayString(unref(i)("booking.reservation.giftCardCode")), 1))
|
|
9259
9267
|
])),
|
|
9260
|
-
createBaseVNode("div",
|
|
9268
|
+
createBaseVNode("div", _hoisted_21$1, [
|
|
9261
9269
|
createVNode(Transition, {
|
|
9262
9270
|
name: "fade",
|
|
9263
9271
|
mode: "out-in",
|
|
9264
9272
|
appear: ""
|
|
9265
9273
|
}, {
|
|
9266
9274
|
default: withCtx(() => [
|
|
9267
|
-
|
|
9275
|
+
O.value ? (openBlock(), createBlock(ActionField, {
|
|
9268
9276
|
key: 0,
|
|
9269
|
-
modelValue:
|
|
9270
|
-
"onUpdate:modelValue":
|
|
9277
|
+
modelValue: P.value,
|
|
9278
|
+
"onUpdate:modelValue": N[3] || (N[3] = (x) => P.value = x),
|
|
9271
9279
|
icon: "tags",
|
|
9272
9280
|
"button-icon": "paper-plane-top",
|
|
9273
9281
|
placeholder: unref(i)("general.discountCodePlaceholder"),
|
|
9274
9282
|
action: "success",
|
|
9275
9283
|
secondary: !0,
|
|
9276
|
-
"is-loading": unref(
|
|
9277
|
-
onAction:
|
|
9278
|
-
}, null, 8, ["modelValue", "placeholder", "is-loading"])) :
|
|
9284
|
+
"is-loading": unref(f).isValidatingDiscountCode,
|
|
9285
|
+
onAction: N[4] || (N[4] = (x) => C.validateDiscountCode())
|
|
9286
|
+
}, null, 8, ["modelValue", "placeholder", "is-loading"])) : S.value ? (openBlock(), createBlock(ActionField, {
|
|
9279
9287
|
key: 1,
|
|
9280
|
-
modelValue: unref(
|
|
9281
|
-
"onUpdate:modelValue":
|
|
9288
|
+
modelValue: unref(p),
|
|
9289
|
+
"onUpdate:modelValue": N[5] || (N[5] = (x) => isRef(p) ? p.value = x : null),
|
|
9282
9290
|
icon: "gift-card",
|
|
9283
9291
|
"button-icon": "paper-plane-top",
|
|
9284
9292
|
placeholder: "XXXXXXXX",
|
|
9285
9293
|
action: "success",
|
|
9286
9294
|
secondary: !0,
|
|
9287
|
-
"is-loading": unref(
|
|
9288
|
-
onAction:
|
|
9295
|
+
"is-loading": unref(y),
|
|
9296
|
+
onAction: N[6] || (N[6] = (x) => unref(g)())
|
|
9289
9297
|
}, null, 8, ["modelValue", "is-loading"])) : createCommentVNode("", !0)
|
|
9290
9298
|
]),
|
|
9291
9299
|
_: 1
|
|
@@ -9293,56 +9301,56 @@ const _hoisted_1$3 = {
|
|
|
9293
9301
|
])
|
|
9294
9302
|
])
|
|
9295
9303
|
])) : createCommentVNode("", !0),
|
|
9296
|
-
|
|
9304
|
+
C.notice && C.notice === "<br>" ? (openBlock(), createElementBlock("div", _hoisted_22$1, [
|
|
9297
9305
|
createBaseVNode("p", {
|
|
9298
|
-
innerHTML:
|
|
9306
|
+
innerHTML: C.notice,
|
|
9299
9307
|
class: "konnectio-wysiwyg"
|
|
9300
|
-
}, null, 8,
|
|
9308
|
+
}, null, 8, _hoisted_23)
|
|
9301
9309
|
])) : createCommentVNode("", !0)
|
|
9302
9310
|
]))
|
|
9303
9311
|
]),
|
|
9304
9312
|
_: 3
|
|
9305
9313
|
}, 8, ["top-spacing"])
|
|
9306
9314
|
], 6),
|
|
9307
|
-
createBaseVNode("div",
|
|
9308
|
-
unref(
|
|
9315
|
+
createBaseVNode("div", _hoisted_24, [
|
|
9316
|
+
unref(r) ? (openBlock(), createElementBlock("div", _hoisted_25, [
|
|
9309
9317
|
createVNode(_sfc_main$c)
|
|
9310
9318
|
])) : createCommentVNode("", !0),
|
|
9311
|
-
unref(
|
|
9319
|
+
unref(b).sidebar ? createCommentVNode("", !0) : withDirectives((openBlock(), createElementBlock("div", _hoisted_26, [
|
|
9312
9320
|
createBaseVNode("div", null, [
|
|
9313
|
-
createBaseVNode("div",
|
|
9314
|
-
createBaseVNode("div",
|
|
9315
|
-
createBaseVNode("div",
|
|
9321
|
+
createBaseVNode("div", _hoisted_27, [
|
|
9322
|
+
createBaseVNode("div", _hoisted_28, [
|
|
9323
|
+
createBaseVNode("div", _hoisted_29, [
|
|
9316
9324
|
createBaseVNode("h3", {
|
|
9317
9325
|
title: unref(i)("booking.reservation.totalPrice")
|
|
9318
9326
|
}, [
|
|
9319
|
-
createBaseVNode("u", null, toDisplayString(unref(showPrice)(
|
|
9320
|
-
], 8,
|
|
9321
|
-
createBaseVNode("div",
|
|
9322
|
-
renderSlot(
|
|
9327
|
+
createBaseVNode("u", null, toDisplayString(unref(showPrice)(C.totalPrice, unref(l))), 1)
|
|
9328
|
+
], 8, _hoisted_30),
|
|
9329
|
+
createBaseVNode("div", _hoisted_31, [
|
|
9330
|
+
renderSlot(C.$slots, "mobile-under-price")
|
|
9323
9331
|
])
|
|
9324
9332
|
]),
|
|
9325
|
-
unref(
|
|
9326
|
-
renderSlot(
|
|
9333
|
+
unref(b)["mobile-summary"] ? (openBlock(), createElementBlock("div", _hoisted_32, [
|
|
9334
|
+
renderSlot(C.$slots, "mobile-summary")
|
|
9327
9335
|
])) : createCommentVNode("", !0),
|
|
9328
|
-
unref(
|
|
9329
|
-
renderSlot(
|
|
9330
|
-
|
|
9336
|
+
unref(b).navigation ? (openBlock(), createElementBlock("div", _hoisted_33, [
|
|
9337
|
+
renderSlot(C.$slots, "navigation"),
|
|
9338
|
+
C.prevCallback !== void 0 ? (openBlock(), createBlock(Clickable, {
|
|
9331
9339
|
key: 0,
|
|
9332
9340
|
class: "konnectio-abort-reservation",
|
|
9333
9341
|
label: unref(i)("general.goAStepBack"),
|
|
9334
9342
|
secondary: "",
|
|
9335
|
-
onClickEvent:
|
|
9343
|
+
onClickEvent: C.prevCallback
|
|
9336
9344
|
}, null, 8, ["label", "onClickEvent"])) : createCommentVNode("", !0),
|
|
9337
|
-
unref(
|
|
9345
|
+
unref(b).actions && C.showTermsNotice ? renderSlot(C.$slots, "actions", { key: 1 }) : createCommentVNode("", !0)
|
|
9338
9346
|
])) : createCommentVNode("", !0)
|
|
9339
9347
|
])
|
|
9340
9348
|
])
|
|
9341
9349
|
])
|
|
9342
9350
|
])), [
|
|
9343
|
-
[
|
|
9351
|
+
[w]
|
|
9344
9352
|
]),
|
|
9345
|
-
createBaseVNode("div",
|
|
9353
|
+
createBaseVNode("div", _hoisted_34, [
|
|
9346
9354
|
createVNode(PoweredByKonnectio)
|
|
9347
9355
|
])
|
|
9348
9356
|
])
|
|
@@ -9350,7 +9358,7 @@ const _hoisted_1$3 = {
|
|
|
9350
9358
|
]);
|
|
9351
9359
|
};
|
|
9352
9360
|
}
|
|
9353
|
-
}), ReservationForm = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-
|
|
9361
|
+
}), ReservationForm = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-2b718658"]]), _hoisted_1$2 = {
|
|
9354
9362
|
id: "konnectio-confirmation",
|
|
9355
9363
|
class: "konnectio-panel"
|
|
9356
9364
|
}, _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 = { class: "konnectio-order-lines" }, _hoisted_7$1 = { key: 0 }, _hoisted_8$1 = { class: "konnectio-order-panel" }, _hoisted_9 = { class: "konnectio-order-lines" }, _hoisted_10 = { key: 0 }, _hoisted_11 = { key: 1 }, _hoisted_12 = { key: 2 }, _hoisted_13 = {
|
|
@@ -9860,12 +9868,12 @@ function requireGetSize() {
|
|
|
9860
9868
|
var E = r[v], T = m[E], O = parseFloat(T);
|
|
9861
9869
|
b[E] = isNaN(O) ? 0 : O;
|
|
9862
9870
|
}
|
|
9863
|
-
var S = b.paddingLeft + b.paddingRight, k = b.paddingTop + b.paddingBottom,
|
|
9864
|
-
|
|
9865
|
-
(w ? 0 : S +
|
|
9866
|
-
var
|
|
9867
|
-
return
|
|
9868
|
-
(w ? 0 : k +
|
|
9871
|
+
var S = b.paddingLeft + b.paddingRight, k = b.paddingTop + b.paddingBottom, R = b.marginLeft + b.marginRight, A = b.marginTop + b.marginBottom, C = b.borderLeftWidth + b.borderRightWidth, N = b.borderTopWidth + b.borderBottomWidth, w = P && _, x = t(m.width);
|
|
9872
|
+
x !== !1 && (b.width = x + // add padding and border unless it's already including it
|
|
9873
|
+
(w ? 0 : S + C));
|
|
9874
|
+
var D = t(m.height);
|
|
9875
|
+
return D !== !1 && (b.height = D + // add padding and border unless it's already including it
|
|
9876
|
+
(w ? 0 : k + N)), b.innerWidth = b.width - (S + C), b.innerHeight = b.height - (k + N), b.outerWidth = b.width + R, b.outerHeight = b.height + A, b;
|
|
9869
9877
|
}
|
|
9870
9878
|
}
|
|
9871
9879
|
return y;
|
|
@@ -10043,13 +10051,13 @@ function requireItem() {
|
|
|
10043
10051
|
v[T] = P[E];
|
|
10044
10052
|
}
|
|
10045
10053
|
}, p.getPosition = function() {
|
|
10046
|
-
var P = getComputedStyle(this.element), v = this.layout._getOption("originLeft"), E = this.layout._getOption("originTop"), T = P[v ? "left" : "right"], O = P[E ? "top" : "bottom"], S = parseFloat(T), k = parseFloat(O),
|
|
10047
|
-
T.indexOf("%") != -1 && (S = S / 100 *
|
|
10054
|
+
var P = getComputedStyle(this.element), v = this.layout._getOption("originLeft"), E = this.layout._getOption("originTop"), T = P[v ? "left" : "right"], O = P[E ? "top" : "bottom"], S = parseFloat(T), k = parseFloat(O), R = this.layout.size;
|
|
10055
|
+
T.indexOf("%") != -1 && (S = S / 100 * R.width), O.indexOf("%") != -1 && (k = k / 100 * R.height), S = isNaN(S) ? 0 : S, k = isNaN(k) ? 0 : k, S -= v ? R.paddingLeft : R.paddingRight, k -= E ? R.paddingTop : R.paddingBottom, this.position.x = S, this.position.y = k;
|
|
10048
10056
|
}, p.layoutPosition = function() {
|
|
10049
|
-
var P = this.layout.size, v = {}, E = this.layout._getOption("originLeft"), T = this.layout._getOption("originTop"), O = E ? "paddingLeft" : "paddingRight", S = E ? "left" : "right", k = E ? "right" : "left",
|
|
10050
|
-
v[S] = this.getXValue(
|
|
10051
|
-
var
|
|
10052
|
-
v[
|
|
10057
|
+
var P = this.layout.size, v = {}, E = this.layout._getOption("originLeft"), T = this.layout._getOption("originTop"), O = E ? "paddingLeft" : "paddingRight", S = E ? "left" : "right", k = E ? "right" : "left", R = this.position.x + P[O];
|
|
10058
|
+
v[S] = this.getXValue(R), v[k] = "";
|
|
10059
|
+
var A = T ? "paddingTop" : "paddingBottom", C = T ? "top" : "bottom", N = T ? "bottom" : "top", w = this.position.y + P[A];
|
|
10060
|
+
v[C] = this.getYValue(w), v[N] = "", this.css(v), this.emitEvent("layout", [this]);
|
|
10053
10061
|
}, p.getXValue = function(P) {
|
|
10054
10062
|
var v = this.layout._getOption("horizontal");
|
|
10055
10063
|
return this.layout.options.percentPosition && !v ? P / this.layout.size.width * 100 + "%" : P + "px";
|
|
@@ -10063,9 +10071,9 @@ function requireItem() {
|
|
|
10063
10071
|
this.layoutPosition();
|
|
10064
10072
|
return;
|
|
10065
10073
|
}
|
|
10066
|
-
var S = P - E, k = v - T,
|
|
10067
|
-
|
|
10068
|
-
to:
|
|
10074
|
+
var S = P - E, k = v - T, R = {};
|
|
10075
|
+
R.transform = this.getTranslate(S, k), this.transition({
|
|
10076
|
+
to: R,
|
|
10069
10077
|
onTransitionEnd: {
|
|
10070
10078
|
transform: this.layoutPosition
|
|
10071
10079
|
},
|
|
@@ -10276,8 +10284,8 @@ function requireOutlayer() {
|
|
|
10276
10284
|
this.items = this._itemize(this.element.children);
|
|
10277
10285
|
}, g._itemize = function(v) {
|
|
10278
10286
|
for (var E = this._filterFindItemElements(v), T = this.constructor.Item, O = [], S = 0; S < E.length; S++) {
|
|
10279
|
-
var k = E[S],
|
|
10280
|
-
O.push(
|
|
10287
|
+
var k = E[S], R = new T(k, this);
|
|
10288
|
+
O.push(R);
|
|
10281
10289
|
}
|
|
10282
10290
|
return O;
|
|
10283
10291
|
}, g._filterFindItemElements = function(v) {
|
|
@@ -10353,11 +10361,11 @@ function requireOutlayer() {
|
|
|
10353
10361
|
return;
|
|
10354
10362
|
}
|
|
10355
10363
|
var k = 0;
|
|
10356
|
-
function
|
|
10364
|
+
function R() {
|
|
10357
10365
|
k++, k == S && O();
|
|
10358
10366
|
}
|
|
10359
|
-
E.forEach(function(
|
|
10360
|
-
|
|
10367
|
+
E.forEach(function(A) {
|
|
10368
|
+
A.once(v, R);
|
|
10361
10369
|
});
|
|
10362
10370
|
}, g.dispatchEvent = function(v, E, T) {
|
|
10363
10371
|
var O = E ? [E].concat(T) : T;
|
|
@@ -10839,4 +10847,4 @@ export {
|
|
|
10839
10847
|
StickyPlugin as a,
|
|
10840
10848
|
ListingSkeleton as b
|
|
10841
10849
|
};
|
|
10842
|
-
//# sourceMappingURL=masonry.plugin-
|
|
10850
|
+
//# sourceMappingURL=masonry.plugin-D1y1ETKT.js.map
|