@konnectio/core 4.5.3 → 4.5.5
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-DNcpBfUw.js → ActionField-DBvmpo3j.js} +1 -1
- package/dist/ActionField-DBvmpo3j.js.br +0 -0
- package/dist/ActionField-DBvmpo3j.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-Cr4_E8qd.js → AvailabilitySkeleton-CffcVGoV.js} +2 -2
- package/dist/AvailabilitySkeleton-CffcVGoV.js.br +0 -0
- package/dist/AvailabilitySkeleton-CffcVGoV.js.gz +0 -0
- package/dist/{CheckoutWindow-DASeSJKw.js → CheckoutWindow-lUr8PuOW.js} +1 -1
- package/dist/CheckoutWindow-lUr8PuOW.js.br +0 -0
- package/dist/CheckoutWindow-lUr8PuOW.js.gz +0 -0
- package/dist/{ErrorMessage-BG3SMDdN.js → ErrorMessage-C82DNl1j.js} +1 -1
- package/dist/ErrorMessage-C82DNl1j.js.br +0 -0
- package/dist/ErrorMessage-C82DNl1j.js.gz +0 -0
- package/dist/{EventAvailabilityForm-DzhikTSM.js → EventAvailabilityForm-7GS1HuHf.js} +2 -2
- package/dist/EventAvailabilityForm-7GS1HuHf.js.br +0 -0
- package/dist/EventAvailabilityForm-7GS1HuHf.js.gz +0 -0
- package/dist/{Field-Cfq1bVCS.js → Field-2wWoO-d2.js} +1 -1
- package/dist/Field-2wWoO-d2.js.br +0 -0
- package/dist/Field-2wWoO-d2.js.gz +0 -0
- package/dist/{HotelAvailabilityForm-Bm-b1O1-.js → HotelAvailabilityForm-CnYCjWiI.js} +2 -2
- package/dist/HotelAvailabilityForm-CnYCjWiI.js.br +0 -0
- package/dist/HotelAvailabilityForm-CnYCjWiI.js.gz +0 -0
- package/dist/{SelectField-B71Q-kc3.js → SelectField-B0SkYGj-.js} +1 -1
- package/dist/SelectField-B0SkYGj-.js.br +0 -0
- package/dist/{SelectField-B71Q-kc3.js.gz → SelectField-B0SkYGj-.js.gz} +0 -0
- package/dist/{TermsOfService-DvIah2dc.js → TermsOfService-Ck4XWhOm.js} +2 -2
- package/dist/TermsOfService-Ck4XWhOm.js.br +0 -0
- package/dist/TermsOfService-Ck4XWhOm.js.gz +0 -0
- package/dist/{_-C4NaLG3M.js → _-BURmDuD2.js} +1 -1
- package/dist/_-BURmDuD2.js.br +0 -0
- package/dist/_-BURmDuD2.js.gz +0 -0
- package/dist/availability.js +7 -7
- package/dist/availability.js.br +0 -0
- package/dist/availability.js.gz +0 -0
- package/dist/cancel-reservation.js +4 -4
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/cancel-reservation.js.gz +0 -0
- package/dist/core.css +1 -1
- package/dist/core.css.br +0 -0
- package/dist/core.css.gz +0 -0
- package/dist/{dist-D5tRJnoA.js → dist-D-sqK2xX.js} +3 -3
- package/dist/dist-D-sqK2xX.js.br +0 -0
- package/dist/dist-D-sqK2xX.js.gz +0 -0
- package/dist/event.js +8 -8
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +7 -7
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card-validation.js.gz +0 -0
- package/dist/gift-card.js +9 -9
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/{giftCard-Bhb_vVph.js → giftCard-DhaFYikK.js} +1 -1
- package/dist/giftCard-DhaFYikK.js.br +0 -0
- package/dist/giftCard-DhaFYikK.js.gz +0 -0
- package/dist/hotel.js +1128 -1111
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/{masonry.plugin-8XrKeEIb.js → masonry.plugin-BIh9MNtU.js} +67 -58
- package/dist/masonry.plugin-BIh9MNtU.js.br +0 -0
- package/dist/masonry.plugin-BIh9MNtU.js.gz +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/polyfill.js.gz +0 -0
- package/dist/{style-DP0Nh0EE.js → style-BtLOYUwz.js} +1 -1
- package/dist/style-BtLOYUwz.js.br +0 -0
- package/dist/style-BtLOYUwz.js.gz +0 -0
- package/package.json +1 -1
- package/dist/ActionField-DNcpBfUw.js.br +0 -0
- package/dist/ActionField-DNcpBfUw.js.gz +0 -0
- package/dist/AvailabilitySkeleton-Cr4_E8qd.js.br +0 -0
- package/dist/AvailabilitySkeleton-Cr4_E8qd.js.gz +0 -0
- package/dist/CheckoutWindow-DASeSJKw.js.br +0 -0
- package/dist/CheckoutWindow-DASeSJKw.js.gz +0 -0
- package/dist/ErrorMessage-BG3SMDdN.js.br +0 -0
- package/dist/ErrorMessage-BG3SMDdN.js.gz +0 -0
- package/dist/EventAvailabilityForm-DzhikTSM.js.br +0 -0
- package/dist/EventAvailabilityForm-DzhikTSM.js.gz +0 -0
- package/dist/Field-Cfq1bVCS.js.br +0 -0
- package/dist/Field-Cfq1bVCS.js.gz +0 -5
- package/dist/HotelAvailabilityForm-Bm-b1O1-.js.br +0 -0
- package/dist/HotelAvailabilityForm-Bm-b1O1-.js.gz +0 -0
- package/dist/SelectField-B71Q-kc3.js.br +0 -0
- package/dist/TermsOfService-DvIah2dc.js.br +0 -0
- package/dist/TermsOfService-DvIah2dc.js.gz +0 -0
- package/dist/_-C4NaLG3M.js.br +0 -0
- package/dist/_-C4NaLG3M.js.gz +0 -0
- package/dist/dist-D5tRJnoA.js.br +0 -0
- package/dist/dist-D5tRJnoA.js.gz +0 -0
- package/dist/giftCard-Bhb_vVph.js.br +0 -0
- package/dist/giftCard-Bhb_vVph.js.gz +0 -0
- package/dist/masonry.plugin-8XrKeEIb.js.br +0 -0
- package/dist/masonry.plugin-8XrKeEIb.js.gz +0 -0
- package/dist/style-DP0Nh0EE.js.br +0 -0
- package/dist/style-DP0Nh0EE.js.gz +0 -0
package/dist/hotel.js.br
CHANGED
|
Binary file
|
package/dist/hotel.js.gz
CHANGED
|
Binary file
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as __toESM, t as __commonJSMin } from "./chunk-BPfpcrXh.js";
|
|
2
2
|
import { $ as renderList, A as createSlots, At as toDisplayString, B as mergeModels, D as createBlock, Dt as normalizeClass, E as createBaseVNode, Et as unref, F as getCurrentInstance, H as nextTick, J as onUnmounted, L as h, M as createVNode, O as createCommentVNode, P as defineComponent, R as inject, T as computed$1, Y as openBlock, _ as vShow, b as Comment, bt as ref, d as Transition, dt as withCtx, et as renderSlot, ft as withDirectives, gt as isRef, j as createTextVNode, k as createElementBlock, kt as normalizeStyle, lt as watch, nt as resolveDirective, o as useI18n, ot as useModel, q as onMounted, st as useSlots, t as mitt_default, tt as resolveComponent, u as storeToRefs, vt as reactive, w as Text, x as Fragment, y as withModifiers } from "./mitt-DrOLO7f9.js";
|
|
3
|
-
import { A as usePaymentStore, C as useAvailabilityStore, E as useUtilityStore, F as capitalized, G as showDate, I as convertDescription, J as showPrice, L as daysBetweenDates, O as useHotelStore, Q as BookingLayout, S as _plugin_vue_export_helper_default, V as getUserLanguage, Z as BookingHeaderLayout, _ as InputField_default, j as useApplyGiftCardStore, k as emitter, n as TextField_default, v as Clickable_default, w as useEventStore, x as Icon_default } from "./SelectField-
|
|
4
|
-
import { n as __default } from "./Field-
|
|
5
|
-
import { t as ActionField_default } from "./ActionField-
|
|
6
|
-
import { a as Base_default$1, n as GoogleNotice_default, r as Checkbox_default } from "./CheckoutWindow-
|
|
3
|
+
import { A as usePaymentStore, C as useAvailabilityStore, E as useUtilityStore, F as capitalized, G as showDate, I as convertDescription, J as showPrice, L as daysBetweenDates, O as useHotelStore, Q as BookingLayout, S as _plugin_vue_export_helper_default, V as getUserLanguage, Z as BookingHeaderLayout, _ as InputField_default, j as useApplyGiftCardStore, k as emitter, n as TextField_default, v as Clickable_default, w as useEventStore, x as Icon_default } from "./SelectField-B0SkYGj-.js";
|
|
4
|
+
import { n as __default } from "./Field-2wWoO-d2.js";
|
|
5
|
+
import { t as ActionField_default } from "./ActionField-DBvmpo3j.js";
|
|
6
|
+
import { a as Base_default$1, n as GoogleNotice_default, r as Checkbox_default } from "./CheckoutWindow-lUr8PuOW.js";
|
|
7
7
|
//#region node_modules/@egjs/component/dist/component.esm.js
|
|
8
8
|
function __values$1(e) {
|
|
9
9
|
var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
|
|
@@ -4542,10 +4542,10 @@ var State = /* @__PURE__ */ function() {
|
|
|
4542
4542
|
}(), Flicking$1 = /* @__PURE__ */ function(e) {
|
|
4543
4543
|
__extends$2(t, e);
|
|
4544
4544
|
function t(t, n) {
|
|
4545
|
-
var r = n === void 0 ? {} : n, i = r.align, s = i === void 0 ? ALIGN.CENTER : i, l = r.defaultIndex, u = l === void 0 ? 0 : l, d = r.horizontal, f = d === void 0 ? !0 : d, p = r.circular, m = p === void 0 ? !1 : p, g = r.circularFallback, _ = g === void 0 ? CIRCULAR_FALLBACK.LINEAR : g, v = r.bound, y = v === void 0 ? !1 : v, b = r.adaptive, x = b === void 0 ? !1 : b, S = r.panelsPerView, C = S === void 0 ? -1 : S, w = r.noPanelStyleOverride, T = w === void 0 ? !1 : w, E = r.resizeOnContentsReady, D = E === void 0 ? !1 : E, O = r.nested, k = O === void 0 ? !1 : O, A = r.needPanelThreshold, j = A === void 0 ? 0 : A, M = r.preventEventsBeforeInit,
|
|
4545
|
+
var r = n === void 0 ? {} : n, i = r.align, s = i === void 0 ? ALIGN.CENTER : i, l = r.defaultIndex, u = l === void 0 ? 0 : l, d = r.horizontal, f = d === void 0 ? !0 : d, p = r.circular, m = p === void 0 ? !1 : p, g = r.circularFallback, _ = g === void 0 ? CIRCULAR_FALLBACK.LINEAR : g, v = r.bound, y = v === void 0 ? !1 : v, b = r.adaptive, x = b === void 0 ? !1 : b, S = r.panelsPerView, C = S === void 0 ? -1 : S, w = r.noPanelStyleOverride, T = w === void 0 ? !1 : w, E = r.resizeOnContentsReady, D = E === void 0 ? !1 : E, O = r.nested, k = O === void 0 ? !1 : O, A = r.needPanelThreshold, j = A === void 0 ? 0 : A, M = r.preventEventsBeforeInit, ee = M === void 0 ? !0 : M, te = r.deceleration, ne = te === void 0 ? .0075 : te, N = r.duration, re = N === void 0 ? 500 : N, P = r.easing, ie = P === void 0 ? function(e) {
|
|
4546
4546
|
return 1 - (1 - e) ** 3;
|
|
4547
|
-
} :
|
|
4548
|
-
return Q._scheduleResize = !1, Q._initialized = !1, Q._plugins = [], Q._isResizing = !1, Q._align = s, Q._defaultIndex = u, Q._horizontal = f, Q._circular = m, Q._circularFallback = _, Q._bound = y, Q._adaptive = x, Q._panelsPerView = C, Q._noPanelStyleOverride = T, Q._resizeOnContentsReady = D, Q._nested = k, Q._virtual =
|
|
4547
|
+
} : P, F = r.inputType, ae = F === void 0 ? ["mouse", "touch"] : F, I = r.moveType, oe = I === void 0 ? "snap" : I, L = r.threshold, se = L === void 0 ? 40 : L, R = r.dragThreshold, ce = R === void 0 ? 1 : R, z = r.interruptable, le = z === void 0 ? !0 : z, B = r.bounce, ue = B === void 0 ? "20%" : B, V = r.iOSEdgeSwipeThreshold, de = V === void 0 ? 30 : V, H = r.preventClickOnDrag, fe = H === void 0 ? !0 : H, U = r.preventDefaultOnDrag, pe = U === void 0 ? !1 : U, W = r.disableOnInit, me = W === void 0 ? !1 : W, G = r.changeOnHold, he = G === void 0 ? !1 : G, K = r.renderOnlyVisible, ge = K === void 0 ? !1 : K, q = r.virtual, J = q === void 0 ? null : q, Y = r.autoInit, _e = Y === void 0 ? !0 : Y, X = r.autoResize, ve = X === void 0 ? !0 : X, ye = r.useResizeObserver, be = ye === void 0 ? !0 : ye, xe = r.resizeDebounce, Se = xe === void 0 ? 0 : xe, Z = r.observePanelResize, Ce = Z === void 0 ? !1 : Z, we = r.maxResizeDebounce, Te = we === void 0 ? 100 : we, Ee = r.useFractionalSize, De = Ee === void 0 ? !1 : Ee, Oe = r.externalRenderer, ke = Oe === void 0 ? null : Oe, Ae = r.renderExternal, je = Ae === void 0 ? null : Ae, Me = r.optimizeSizeUpdate, Ne = Me === void 0 ? !1 : Me, Pe = r.animationThreshold, Fe = Pe === void 0 ? .5 : Pe, Ie = r.useCSSOrder, Le = Ie === void 0 ? !1 : Ie, Q = e.call(this) || this;
|
|
4548
|
+
return Q._scheduleResize = !1, Q._initialized = !1, Q._plugins = [], Q._isResizing = !1, Q._align = s, Q._defaultIndex = u, Q._horizontal = f, Q._circular = m, Q._circularFallback = _, Q._bound = y, Q._adaptive = x, Q._panelsPerView = C, Q._noPanelStyleOverride = T, Q._resizeOnContentsReady = D, Q._nested = k, Q._virtual = J, Q._needPanelThreshold = j, Q._preventEventsBeforeInit = ee, Q._deceleration = ne, Q._duration = re, Q._easing = ie, Q._inputType = ae, Q._moveType = oe, Q._threshold = se, Q._dragThreshold = ce, Q._interruptable = le, Q._bounce = ue, Q._iOSEdgeSwipeThreshold = de, Q._preventClickOnDrag = fe, Q._preventDefaultOnDrag = pe, Q._disableOnInit = me, Q._changeOnHold = he, Q._renderOnlyVisible = ge, Q._autoInit = _e, Q._autoResize = ve, Q._useResizeObserver = be, Q._resizeDebounce = Se, Q._maxResizeDebounce = Te, Q._observePanelResize = Ce, Q._useFractionalSize = De, Q._externalRenderer = ke, Q._renderExternal = je, Q._optimizeSizeUpdate = Ne, Q._animationThreshold = Fe, Q._useCSSOrder = Le, Q._viewport = new Viewport(Q, getElement$1(t)), Q._autoResizer = new AutoResizer(Q), Q._renderer = Q._createRenderer(), Q._camera = Q._createCamera(), Q._control = Q._createControl(), Q._virtualManager = new VirtualManager(Q, J), Q._autoInit && Q.init(), Q;
|
|
4549
4549
|
}
|
|
4550
4550
|
var n = t.prototype;
|
|
4551
4551
|
return Object.defineProperty(n, "control", {
|
|
@@ -7390,35 +7390,44 @@ var _hoisted_1$3 = {
|
|
|
7390
7390
|
roomUpgrade: { default: 0 },
|
|
7391
7391
|
notice: {},
|
|
7392
7392
|
prevCallback: {},
|
|
7393
|
-
validateDiscountCode: {}
|
|
7393
|
+
validateDiscountCode: {},
|
|
7394
|
+
appliedDiscountCode: { default: "" },
|
|
7395
|
+
guestDiscountCode: { default: null },
|
|
7396
|
+
isValidatingDiscountCode: {
|
|
7397
|
+
type: Boolean,
|
|
7398
|
+
default: !1
|
|
7399
|
+
},
|
|
7400
|
+
onResetDiscountCode: {},
|
|
7401
|
+
onApplyAvailabilityDiscount: {},
|
|
7402
|
+
onClearAvailabilityDiscount: {}
|
|
7394
7403
|
}, {
|
|
7395
7404
|
discountCode: {},
|
|
7396
7405
|
discountCodeModifiers: {}
|
|
7397
7406
|
}),
|
|
7398
7407
|
emits: ["update:discountCode"],
|
|
7399
7408
|
setup(e) {
|
|
7400
|
-
let { t } = useI18n(), { disableGiftCardVoucher: n, disableDiscountVoucher: r, selectGiftCardAsDefault: i, isRecaptchaEnabled: s, currency: l, enableStickyHeader: u, headerHeight: d } = storeToRefs(useUtilityStore()),
|
|
7401
|
-
|
|
7409
|
+
let { t } = useI18n(), { disableGiftCardVoucher: n, disableDiscountVoucher: r, selectGiftCardAsDefault: i, isRecaptchaEnabled: s, currency: l, enableStickyHeader: u, headerHeight: d } = storeToRefs(useUtilityStore()), { amount: f, voucher: p, isLoading: m } = storeToRefs(useApplyGiftCardStore()), { apply: g, reset: _ } = useApplyGiftCardStore(), v = useSlots(), y = useModel(e, "discountCode"), b = e, x = computed$1(() => b.basePrice - b.weekendFee - b.roomUpgrade), S = ref("discount"), C = computed$1(() => S.value === "discount"), w = computed$1(() => S.value === "gift-card"), T = computed$1(() => !r.value), E = computed$1(() => b.showGiftCard && !n.value), D = computed$1(() => T.value || E.value), O = computed$1(() => T.value && E.value), k = (e) => {
|
|
7410
|
+
S.value = e;
|
|
7402
7411
|
};
|
|
7403
7412
|
onMounted(() => {
|
|
7404
|
-
if (!
|
|
7405
|
-
|
|
7413
|
+
if (!T.value && E.value) {
|
|
7414
|
+
k("gift-card");
|
|
7406
7415
|
return;
|
|
7407
7416
|
}
|
|
7408
|
-
i.value &&
|
|
7417
|
+
i.value && E.value && k("gift-card");
|
|
7409
7418
|
});
|
|
7410
|
-
let
|
|
7411
|
-
function
|
|
7412
|
-
|
|
7419
|
+
let A = ref("");
|
|
7420
|
+
function j() {
|
|
7421
|
+
A.value.trim() !== "" && b.onApplyAvailabilityDiscount?.(A.value.trim());
|
|
7413
7422
|
}
|
|
7414
|
-
function
|
|
7415
|
-
|
|
7423
|
+
function M() {
|
|
7424
|
+
A.value = "", b.onClearAvailabilityDiscount?.();
|
|
7416
7425
|
}
|
|
7417
7426
|
return (n, r) => {
|
|
7418
|
-
let
|
|
7427
|
+
let b = resolveDirective("sticky");
|
|
7419
7428
|
return openBlock(), createElementBlock("div", _hoisted_1$3, [createBaseVNode("div", {
|
|
7420
7429
|
id: "konnectio-reservation-layout-content",
|
|
7421
|
-
class: normalizeClass([{ "hide-aside-on-mobile": !unref(
|
|
7430
|
+
class: normalizeClass([{ "hide-aside-on-mobile": !unref(v).sidebar }, { "show-additional": e.notice || D.value }])
|
|
7422
7431
|
}, [
|
|
7423
7432
|
createBaseVNode("div", _hoisted_2$2, [createBaseVNode("form", null, [renderSlot(n.$slots, "form")])]),
|
|
7424
7433
|
createBaseVNode("aside", {
|
|
@@ -7432,29 +7441,29 @@ var _hoisted_1$3 = {
|
|
|
7432
7441
|
"resize-sensor": !0,
|
|
7433
7442
|
"sticky-class": "konnectio-sticky-wrapper"
|
|
7434
7443
|
}, {
|
|
7435
|
-
default: withCtx(() => [unref(
|
|
7444
|
+
default: withCtx(() => [unref(v).sidebar ? (openBlock(), createElementBlock("div", _hoisted_3$2, [createBaseVNode("div", _hoisted_4$2, [renderSlot(n.$slots, "sidebar")]), e.notice ? (openBlock(), createElementBlock("div", _hoisted_5$2, [createBaseVNode("p", {
|
|
7436
7445
|
innerHTML: e.notice,
|
|
7437
7446
|
class: "konnectio-wysiwyg"
|
|
7438
7447
|
}, null, 8, _hoisted_6$2)])) : createCommentVNode("", !0)])) : e.isSidebarLoading ? (openBlock(), createBlock(Sidebar_default, { key: 2 })) : (openBlock(), createElementBlock("div", _hoisted_7$2, [
|
|
7439
7448
|
createBaseVNode("div", _hoisted_8$2, [createBaseVNode("ul", _hoisted_9$1, [
|
|
7440
|
-
unref(
|
|
7449
|
+
unref(v)["reservation-summary"] ? (openBlock(), createElementBlock("div", _hoisted_10$1, [createBaseVNode("h5", null, [createBaseVNode("span", null, toDisplayString(unref(t)("general.reservationSummary")), 1)]), createBaseVNode("ul", null, [renderSlot(n.$slots, "reservation-summary")])])) : createCommentVNode("", !0),
|
|
7441
7450
|
createBaseVNode("div", _hoisted_11$1, [createBaseVNode("h5", null, [createBaseVNode("span", null, toDisplayString(unref(t)("general.priceSummary")), 1)]), createBaseVNode("ul", null, [
|
|
7442
7451
|
renderSlot(n.$slots, "price-summary"),
|
|
7443
|
-
|
|
7452
|
+
x.value > 0 ? (openBlock(), createElementBlock("li", _hoisted_12$1, [createBaseVNode("span", null, toDisplayString(unref(t)("booking.availability.basePrice")), 1), createBaseVNode("b", null, toDisplayString(unref(showPrice)(x.value, unref(l))), 1)])) : createCommentVNode("", !0),
|
|
7444
7453
|
e.weekendFee > 0 ? (openBlock(), createElementBlock("li", _hoisted_13$1, [createBaseVNode("span", null, toDisplayString(unref(t)("general.weekendFee")), 1), createBaseVNode("b", null, toDisplayString(unref(showPrice)(e.weekendFee, unref(l))), 1)])) : createCommentVNode("", !0),
|
|
7445
7454
|
e.roomUpgrade > 0 ? (openBlock(), createElementBlock("li", _hoisted_14$1, [createBaseVNode("span", null, toDisplayString(unref(t)("general.roomUpgrade")), 1), createBaseVNode("b", null, toDisplayString(unref(showPrice)(e.roomUpgrade, unref(l))), 1)])) : createCommentVNode("", !0),
|
|
7446
7455
|
renderSlot(n.$slots, "expenses"),
|
|
7447
|
-
unref(
|
|
7456
|
+
unref(f) === 0 ? createCommentVNode("", !0) : (openBlock(), createElementBlock("li", _hoisted_15$1, [createBaseVNode("span", null, [createBaseVNode("span", null, toDisplayString(unref(t)("booking.reservation.giftCardDiscount")), 1), createBaseVNode("a", {
|
|
7448
7457
|
class: "resume-item-remove",
|
|
7449
|
-
onClick: r[0] ||= withModifiers((e) => unref(
|
|
7458
|
+
onClick: r[0] ||= withModifiers((e) => unref(_)(), ["prevent"])
|
|
7450
7459
|
}, [createVNode(Icon_default, {
|
|
7451
7460
|
icon: "times",
|
|
7452
7461
|
type: "fas",
|
|
7453
7462
|
"icon-color": "#ff0000"
|
|
7454
|
-
})])]), createBaseVNode("b", null, [createBaseVNode("span", null, toDisplayString(unref(showPrice)(-unref(
|
|
7463
|
+
})])]), createBaseVNode("b", null, [createBaseVNode("span", null, toDisplayString(unref(showPrice)(-unref(f), unref(l))), 1)])])),
|
|
7455
7464
|
createBaseVNode("li", null, [createBaseVNode("span", null, toDisplayString(unref(t)("booking.reservation.totalPrice")), 1), createBaseVNode("b", null, [createBaseVNode("u", null, toDisplayString(unref(showPrice)(e.totalPrice, unref(l))), 1)])])
|
|
7456
7465
|
])]),
|
|
7457
|
-
unref(
|
|
7466
|
+
unref(v).actions && e.showTermsNotice ? renderSlot(n.$slots, "actions", { key: 1 }) : createCommentVNode("", !0),
|
|
7458
7467
|
renderSlot(n.$slots, "navigation"),
|
|
7459
7468
|
e.prevCallback === void 0 ? createCommentVNode("", !0) : (openBlock(), createBlock(Clickable_default, {
|
|
7460
7469
|
key: 2,
|
|
@@ -7464,76 +7473,76 @@ var _hoisted_1$3 = {
|
|
|
7464
7473
|
onClickEvent: e.prevCallback
|
|
7465
7474
|
}, null, 8, ["label", "onClickEvent"]))
|
|
7466
7475
|
])]),
|
|
7467
|
-
|
|
7476
|
+
D.value ? (openBlock(), createElementBlock("div", _hoisted_16$1, [createBaseVNode("div", _hoisted_17$1, [O.value ? (openBlock(), createElementBlock("nav", {
|
|
7468
7477
|
key: 0,
|
|
7469
7478
|
class: normalizeClass(["konnectio-reservation-discount-navigation", { "konnectio-swap-positions": unref(i) }])
|
|
7470
7479
|
}, [createBaseVNode("ul", null, [createBaseVNode("li", null, [createBaseVNode("button", {
|
|
7471
|
-
class: normalizeClass({ active:
|
|
7472
|
-
onClick: r[1] ||= withModifiers((e) =>
|
|
7480
|
+
class: normalizeClass({ active: C.value }),
|
|
7481
|
+
onClick: r[1] ||= withModifiers((e) => k("discount"), ["prevent"])
|
|
7473
7482
|
}, [createBaseVNode("span", null, toDisplayString(unref(t)("general.discountCode")), 1)], 2)]), createBaseVNode("li", null, [createBaseVNode("button", {
|
|
7474
|
-
class: normalizeClass({ active:
|
|
7475
|
-
onClick: r[2] ||= withModifiers((e) =>
|
|
7476
|
-
}, [createBaseVNode("span", null, toDisplayString(unref(t)("booking.reservation.giftCardCode")), 1)], 2)])])], 2)) : (openBlock(), createElementBlock("h5", _hoisted_18$1, [
|
|
7483
|
+
class: normalizeClass({ active: w.value }),
|
|
7484
|
+
onClick: r[2] ||= withModifiers((e) => k("gift-card"), ["prevent"])
|
|
7485
|
+
}, [createBaseVNode("span", null, toDisplayString(unref(t)("booking.reservation.giftCardCode")), 1)], 2)])])], 2)) : (openBlock(), createElementBlock("h5", _hoisted_18$1, [T.value ? (openBlock(), createElementBlock("span", _hoisted_19$1, toDisplayString(unref(t)("general.discountCode")), 1)) : (openBlock(), createElementBlock("span", _hoisted_20$1, toDisplayString(unref(t)("booking.reservation.giftCardCode")), 1))])), createBaseVNode("div", _hoisted_21$1, [createVNode(Transition, {
|
|
7477
7486
|
name: "fade",
|
|
7478
7487
|
mode: "out-in",
|
|
7479
7488
|
appear: ""
|
|
7480
7489
|
}, {
|
|
7481
|
-
default: withCtx(() => [
|
|
7490
|
+
default: withCtx(() => [C.value && e.availabilityDiscount && e.guestDiscountCode ? (openBlock(), createBlock(ActionField_default, {
|
|
7482
7491
|
key: 0,
|
|
7483
|
-
"model-value":
|
|
7492
|
+
"model-value": e.guestDiscountCode,
|
|
7484
7493
|
icon: "tags",
|
|
7485
7494
|
"button-icon": "times",
|
|
7486
7495
|
placeholder: unref(t)("general.discountCodePlaceholder"),
|
|
7487
7496
|
action: "success",
|
|
7488
7497
|
secondary: !0,
|
|
7489
7498
|
readonly: "",
|
|
7490
|
-
onAction: r[3] ||= (e) =>
|
|
7491
|
-
}, null, 8, ["model-value", "placeholder"])) :
|
|
7499
|
+
onAction: r[3] ||= (e) => M()
|
|
7500
|
+
}, null, 8, ["model-value", "placeholder"])) : C.value && e.availabilityDiscount ? (openBlock(), createBlock(ActionField_default, {
|
|
7492
7501
|
key: 1,
|
|
7493
|
-
modelValue:
|
|
7494
|
-
"onUpdate:modelValue": r[4] ||= (e) =>
|
|
7502
|
+
modelValue: A.value,
|
|
7503
|
+
"onUpdate:modelValue": r[4] ||= (e) => A.value = e,
|
|
7495
7504
|
icon: "tags",
|
|
7496
7505
|
"button-icon": "paper-plane-top",
|
|
7497
7506
|
placeholder: unref(t)("general.discountCodePlaceholder"),
|
|
7498
7507
|
action: "success",
|
|
7499
7508
|
secondary: !0,
|
|
7500
|
-
onAction: r[5] ||= (e) =>
|
|
7501
|
-
}, null, 8, ["modelValue", "placeholder"])) :
|
|
7509
|
+
onAction: r[5] ||= (e) => j()
|
|
7510
|
+
}, null, 8, ["modelValue", "placeholder"])) : C.value && e.appliedDiscountCode ? (openBlock(), createBlock(ActionField_default, {
|
|
7502
7511
|
key: 2,
|
|
7503
|
-
"model-value":
|
|
7512
|
+
"model-value": e.appliedDiscountCode,
|
|
7504
7513
|
icon: "tags",
|
|
7505
7514
|
"button-icon": "times",
|
|
7506
7515
|
placeholder: unref(t)("general.discountCodePlaceholder"),
|
|
7507
7516
|
action: "success",
|
|
7508
7517
|
secondary: !0,
|
|
7509
7518
|
readonly: "",
|
|
7510
|
-
onAction: r[6] ||= (
|
|
7511
|
-
}, null, 8, ["model-value", "placeholder"])) :
|
|
7519
|
+
onAction: r[6] ||= (t) => e.onResetDiscountCode?.()
|
|
7520
|
+
}, null, 8, ["model-value", "placeholder"])) : C.value ? (openBlock(), createBlock(ActionField_default, {
|
|
7512
7521
|
key: 3,
|
|
7513
|
-
modelValue:
|
|
7514
|
-
"onUpdate:modelValue": r[7] ||= (e) =>
|
|
7522
|
+
modelValue: y.value,
|
|
7523
|
+
"onUpdate:modelValue": r[7] ||= (e) => y.value = e,
|
|
7515
7524
|
icon: "tags",
|
|
7516
7525
|
"button-icon": "paper-plane-top",
|
|
7517
7526
|
placeholder: unref(t)("general.discountCodePlaceholder"),
|
|
7518
7527
|
action: "success",
|
|
7519
7528
|
secondary: !0,
|
|
7520
|
-
"is-loading":
|
|
7529
|
+
"is-loading": e.isValidatingDiscountCode,
|
|
7521
7530
|
onAction: r[8] ||= (t) => e.validateDiscountCode()
|
|
7522
7531
|
}, null, 8, [
|
|
7523
7532
|
"modelValue",
|
|
7524
7533
|
"placeholder",
|
|
7525
7534
|
"is-loading"
|
|
7526
|
-
])) :
|
|
7535
|
+
])) : w.value && E.value ? (openBlock(), createBlock(ActionField_default, {
|
|
7527
7536
|
key: 4,
|
|
7528
|
-
modelValue: unref(
|
|
7529
|
-
"onUpdate:modelValue": r[9] ||= (e) => isRef(
|
|
7537
|
+
modelValue: unref(p),
|
|
7538
|
+
"onUpdate:modelValue": r[9] ||= (e) => isRef(p) ? p.value = e : null,
|
|
7530
7539
|
icon: "gift-card",
|
|
7531
7540
|
"button-icon": "paper-plane-top",
|
|
7532
7541
|
placeholder: "XXXXXXXX",
|
|
7533
7542
|
action: "success",
|
|
7534
7543
|
secondary: !0,
|
|
7535
|
-
"is-loading": unref(
|
|
7536
|
-
onAction: r[10] ||= (e) => unref(
|
|
7544
|
+
"is-loading": unref(m),
|
|
7545
|
+
onAction: r[10] ||= (e) => unref(g)()
|
|
7537
7546
|
}, null, 8, ["modelValue", "is-loading"])) : createCommentVNode("", !0)]),
|
|
7538
7547
|
_: 1
|
|
7539
7548
|
})])])])) : createCommentVNode("", !0),
|
|
@@ -7546,10 +7555,10 @@ var _hoisted_1$3 = {
|
|
|
7546
7555
|
}, 8, ["top-spacing"])], 6),
|
|
7547
7556
|
createBaseVNode("div", _hoisted_24, [
|
|
7548
7557
|
unref(s) ? (openBlock(), createElementBlock("div", _hoisted_25, [createVNode(GoogleNotice_default)])) : createCommentVNode("", !0),
|
|
7549
|
-
unref(
|
|
7558
|
+
unref(v).sidebar ? createCommentVNode("", !0) : withDirectives((openBlock(), createElementBlock("div", _hoisted_26, [createBaseVNode("div", null, [createBaseVNode("div", _hoisted_27, [createBaseVNode("div", _hoisted_28, [
|
|
7550
7559
|
createBaseVNode("div", _hoisted_29, [createBaseVNode("h3", { title: unref(t)("booking.reservation.totalPrice") }, [createBaseVNode("u", null, toDisplayString(unref(showPrice)(e.totalPrice, unref(l))), 1)], 8, _hoisted_30), createBaseVNode("div", _hoisted_31, [renderSlot(n.$slots, "mobile-under-price")])]),
|
|
7551
|
-
unref(
|
|
7552
|
-
unref(
|
|
7560
|
+
unref(v)["mobile-summary"] ? (openBlock(), createElementBlock("div", _hoisted_32, [renderSlot(n.$slots, "mobile-summary")])) : createCommentVNode("", !0),
|
|
7561
|
+
unref(v).navigation ? (openBlock(), createElementBlock("div", _hoisted_33, [
|
|
7553
7562
|
renderSlot(n.$slots, "navigation"),
|
|
7554
7563
|
e.prevCallback === void 0 ? createCommentVNode("", !0) : (openBlock(), createBlock(Clickable_default, {
|
|
7555
7564
|
key: 0,
|
|
@@ -7558,15 +7567,15 @@ var _hoisted_1$3 = {
|
|
|
7558
7567
|
secondary: "",
|
|
7559
7568
|
onClickEvent: e.prevCallback
|
|
7560
7569
|
}, null, 8, ["label", "onClickEvent"])),
|
|
7561
|
-
unref(
|
|
7570
|
+
unref(v).actions && e.showTermsNotice ? renderSlot(n.$slots, "actions", { key: 1 }) : createCommentVNode("", !0)
|
|
7562
7571
|
])) : createCommentVNode("", !0)
|
|
7563
|
-
])])])])), [[
|
|
7572
|
+
])])])])), [[b]]),
|
|
7564
7573
|
createBaseVNode("div", _hoisted_34, [createVNode(PoweredByKonnectio_default)])
|
|
7565
7574
|
])
|
|
7566
7575
|
], 2)]);
|
|
7567
7576
|
};
|
|
7568
7577
|
}
|
|
7569
|
-
}), ReservationForm_default = /* @__PURE__ */ _plugin_vue_export_helper_default(ReservationForm_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-
|
|
7578
|
+
}), ReservationForm_default = /* @__PURE__ */ _plugin_vue_export_helper_default(ReservationForm_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-253b4c6c"]]), _hoisted_1$2 = {
|
|
7570
7579
|
id: "konnectio-confirmation",
|
|
7571
7580
|
class: "konnectio-panel"
|
|
7572
7581
|
}, _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 = {
|
|
Binary file
|
|
Binary file
|
package/dist/polyfill.js
CHANGED
|
@@ -9294,5 +9294,5 @@ Fu(), Iu(), (({ every: e, indexOf: t, slice: n } = Array.prototype, r = globalTh
|
|
|
9294
9294
|
};
|
|
9295
9295
|
S = new ResizeObserver(v), C = new MutationObserver(r), i();
|
|
9296
9296
|
}
|
|
9297
|
-
})()(), console.log("Konnectio production release: 4.5.
|
|
9297
|
+
})()(), console.log("Konnectio production release: 4.5.5");
|
|
9298
9298
|
//#endregion
|
package/dist/polyfill.js.br
CHANGED
|
Binary file
|
package/dist/polyfill.js.gz
CHANGED
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { At as e, D as t, Dt as n, E as r, H as i, I as a, L as o, M as s, O as c, Ot as l, P as u, Q as d, V as f, X as p, Y as m, bt as h, dt as g, et as _, k as v, kt as y, p as ee, pt as te, tt as b, v as ne, x as re } from "./mitt-DrOLO7f9.js";
|
|
2
|
-
import { a as ie, c as ae, h as oe, i as se, l as ce, o as le, s as ue, u as de } from "./SelectField-
|
|
2
|
+
import { a as ie, c as ae, h as oe, i as se, l as ce, o as le, s as ue, u as de } from "./SelectField-B0SkYGj-.js";
|
|
3
3
|
//#region node_modules/@floating-ui/dom/dist/floating-ui.dom.browser.min.mjs
|
|
4
4
|
function x(e) {
|
|
5
5
|
return e.ownerDocument?.defaultView || window;
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
xڝT�N�@}^ŰU��ֹ�����VB��B�PE����dg��]��(�^����4��\��̌�J[X�p��̺��������������7g9������Ykȴ�m4����L_^\eo�
|
|
2
|
-
���))1�B�E���<EMa͠�!4�]_}���pЄ��E���HK>�hL�G
|
|
3
|
-
�
|
|
4
|
-
��#d��vj#XA�/sm�Z�]��;���/�N�NQ_�T��S�XRX{ĹU�cP��hK-���G��E�p2Iz�~بj��d���{�rhM���A�:�����G�:�����0P>Mł2ȃ��#ko0�h�Dx�R4喇�p�v0��=:R'�GfxA�y�A�eì���O0�ޚAViW���F�hT�؎Nw�N�%�7�(�S�r�jʶ�{m��Iu�x�K�0_pi�k��Tc�Lc�0H^Ra;����;ݤU�PaB�Kr��F ����sNRm��6�&�����#x��#�v���yh�6���������v�Xִ7S#�<Bڧ��^+` ��~�m������!�Zqt�q�=<���[�
|
|
5
|
-
�������o82�e�30Ѻc�?�K�n��/�)D������斖�]T����P�
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/_-C4NaLG3M.js.br
DELETED
|
Binary file
|
package/dist/_-C4NaLG3M.js.gz
DELETED
|
Binary file
|
package/dist/dist-D5tRJnoA.js.br
DELETED
|
Binary file
|
package/dist/dist-D5tRJnoA.js.gz
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|