@konnectio/core 4.7.10 → 4.7.11
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-BSWeY8s9.js → ActionField-DUL0XvJT.js} +1 -1
- package/dist/ActionField-DUL0XvJT.js.br +0 -0
- package/dist/ActionField-DUL0XvJT.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-Q_NRPJhM.js → AvailabilitySkeleton-DEr2RxbZ.js} +2 -2
- package/dist/AvailabilitySkeleton-DEr2RxbZ.js.br +0 -0
- package/dist/AvailabilitySkeleton-DEr2RxbZ.js.gz +0 -0
- package/dist/{CheckoutWindow-BUNrnlGh.js → CheckoutWindow-BNE0eaqa.js} +95 -88
- package/dist/CheckoutWindow-BNE0eaqa.js.br +0 -0
- package/dist/CheckoutWindow-BNE0eaqa.js.gz +0 -0
- package/dist/{ErrorMessage-BvilVn5L.js → ErrorMessage-c1Xb-slW.js} +1 -1
- package/dist/ErrorMessage-c1Xb-slW.js.br +0 -0
- package/dist/ErrorMessage-c1Xb-slW.js.gz +0 -0
- package/dist/{EventAvailabilityForm-btvOM8KB.js → EventAvailabilityForm-7jg44O4p.js} +2 -2
- package/dist/EventAvailabilityForm-7jg44O4p.js.br +0 -0
- package/dist/EventAvailabilityForm-7jg44O4p.js.gz +0 -0
- package/dist/{Field-DAHZfr5Y.js → Field-BpOBWcqm.js} +1 -1
- package/dist/Field-BpOBWcqm.js.br +0 -0
- package/dist/Field-BpOBWcqm.js.gz +0 -0
- package/dist/{HotelAvailabilityForm-DCCdgoBw.js → HotelAvailabilityForm-D-BlPPkO.js} +2 -2
- package/dist/HotelAvailabilityForm-D-BlPPkO.js.br +0 -0
- package/dist/HotelAvailabilityForm-D-BlPPkO.js.gz +0 -0
- package/dist/{SelectField-CnreRmEZ.js → SelectField-BgawaMC_.js} +36 -35
- package/dist/SelectField-BgawaMC_.js.br +0 -0
- package/dist/SelectField-BgawaMC_.js.gz +0 -0
- package/dist/{TermsOfService-DcFuq9YM.js → TermsOfService-ByMc3JXX.js} +2 -2
- package/dist/TermsOfService-ByMc3JXX.js.br +0 -0
- package/dist/TermsOfService-ByMc3JXX.js.gz +2 -0
- package/dist/{_-DYoQFY32.js → _-BftIyTSa.js} +1 -1
- package/dist/_-BftIyTSa.js.br +0 -0
- package/dist/_-BftIyTSa.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-VETO5cbq.js → dist-BRdmfOkq.js} +2 -2
- package/dist/dist-BRdmfOkq.js.br +0 -0
- package/dist/{dist-VETO5cbq.js.gz → dist-BRdmfOkq.js.gz} +0 -0
- package/dist/{dist-CXMkG9Ch.js → dist-DOhI4S1k.js} +4 -4
- package/dist/dist-DOhI4S1k.js.br +0 -0
- package/dist/{dist-CXMkG9Ch.js.gz → dist-DOhI4S1k.js.gz} +0 -0
- package/dist/event.js +162 -162
- 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 +11 -11
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/{giftCard-k36XguqL.js → giftCard-D7hskPCe.js} +1 -1
- package/dist/giftCard-D7hskPCe.js.br +0 -0
- package/dist/giftCard-D7hskPCe.js.gz +0 -0
- package/dist/hotel.js +1054 -1054
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.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-HOryxFZm.js → style-CHNgkDj2.js} +1 -1
- package/dist/style-CHNgkDj2.js.br +0 -0
- package/dist/style-CHNgkDj2.js.gz +0 -0
- package/dist-wix/availability.js +2 -2
- package/dist-wix/event.js +6 -6
- package/dist-wix/gift-card-validation.js +1 -1
- package/dist-wix/gift-card.js +5 -5
- package/dist-wix/hotel.js +6 -6
- package/package.json +1 -1
- package/dist/ActionField-BSWeY8s9.js.br +0 -0
- package/dist/ActionField-BSWeY8s9.js.gz +0 -0
- package/dist/AvailabilitySkeleton-Q_NRPJhM.js.br +0 -0
- package/dist/AvailabilitySkeleton-Q_NRPJhM.js.gz +0 -0
- package/dist/CheckoutWindow-BUNrnlGh.js.br +0 -0
- package/dist/CheckoutWindow-BUNrnlGh.js.gz +0 -0
- package/dist/ErrorMessage-BvilVn5L.js.br +0 -0
- package/dist/ErrorMessage-BvilVn5L.js.gz +0 -0
- package/dist/EventAvailabilityForm-btvOM8KB.js.br +0 -0
- package/dist/EventAvailabilityForm-btvOM8KB.js.gz +0 -0
- package/dist/Field-DAHZfr5Y.js.br +0 -0
- package/dist/Field-DAHZfr5Y.js.gz +0 -0
- package/dist/HotelAvailabilityForm-DCCdgoBw.js.br +0 -0
- package/dist/HotelAvailabilityForm-DCCdgoBw.js.gz +0 -0
- package/dist/SelectField-CnreRmEZ.js.br +0 -0
- package/dist/SelectField-CnreRmEZ.js.gz +0 -0
- package/dist/TermsOfService-DcFuq9YM.js.br +0 -0
- package/dist/TermsOfService-DcFuq9YM.js.gz +0 -3
- package/dist/_-DYoQFY32.js.br +0 -0
- package/dist/_-DYoQFY32.js.gz +0 -5
- package/dist/dist-CXMkG9Ch.js.br +0 -0
- package/dist/dist-VETO5cbq.js.br +0 -0
- package/dist/giftCard-k36XguqL.js.br +0 -0
- package/dist/giftCard-k36XguqL.js.gz +0 -0
- package/dist/style-HOryxFZm.js.br +0 -0
- package/dist/style-HOryxFZm.js.gz +0 -0
|
@@ -4043,7 +4043,7 @@ var Cc = D("applyGiftCard", () => {
|
|
|
4043
4043
|
};
|
|
4044
4044
|
});
|
|
4045
4045
|
function wc() {
|
|
4046
|
-
return window.KONNECTIO_CHECKOUT_URL_OVERRIDE ?? "https://
|
|
4046
|
+
return window.KONNECTIO_CHECKOUT_URL_OVERRIDE ?? "https://checkout.konnectio.com/checkout.html";
|
|
4047
4047
|
}
|
|
4048
4048
|
function Tc(e) {
|
|
4049
4049
|
let t = new URL(wc());
|
|
@@ -4069,8 +4069,8 @@ function kc(e = 4e3) {
|
|
|
4069
4069
|
}), Oc);
|
|
4070
4070
|
}
|
|
4071
4071
|
var Ac = D("payment", () => {
|
|
4072
|
-
let { display: e } = Ks(), { paymentGatewayId: t, bearerToken: n } = re(Fc()), r = L({}), i = L(), a = L(NaN), o = I(() => t.value !== Nr.None),
|
|
4073
|
-
function
|
|
4072
|
+
let { display: e } = Ks(), { paymentGatewayId: t, bearerToken: n } = re(Fc()), r = L({}), i = L(), a = L(NaN), o = L(!1), s = I(() => t.value !== Nr.None), c = I(() => r.value && r.value.guest ? r.value.guest.name : ""), l = I(() => r.value && r.value.guest ? r.value.guest.email : ""), u = I(() => r.value && r.value.guest ? r.value.guest.phone : ""), d = I(() => r.value.adults), f = I(() => r.value.children), p = I(() => r.value.totalPrice || 0), m = I(() => r.value.totalVAT || 0), h = I(() => r.value.offerDate), g = I(() => p.value - m.value), _ = I(() => r.value.orderLines), v = I(() => _.value ? _.value.length > 0 : !1);
|
|
4073
|
+
function y() {
|
|
4074
4074
|
zc().put("/capture/confirm", { confirmationId: i.value });
|
|
4075
4075
|
let e = {
|
|
4076
4076
|
transaction_id: r.value.uniqueID,
|
|
@@ -4100,49 +4100,49 @@ var Ac = D("payment", () => {
|
|
|
4100
4100
|
}
|
|
4101
4101
|
uc("purchase", e);
|
|
4102
4102
|
}
|
|
4103
|
-
function
|
|
4103
|
+
function b(t, r, i) {
|
|
4104
4104
|
let a = Tc({
|
|
4105
4105
|
session: t,
|
|
4106
4106
|
confirmationId: r,
|
|
4107
4107
|
parentOrigin: window.location.origin,
|
|
4108
4108
|
token: n.value,
|
|
4109
4109
|
locale: Yr()
|
|
4110
|
-
}),
|
|
4111
|
-
if (!
|
|
4110
|
+
}), s = new URL(wc()).origin, c = window.open(a, "konnectio-reepay", "popup=yes,width=500,height=780");
|
|
4111
|
+
if (o.value = !0, !c) {
|
|
4112
4112
|
window.location.href = a;
|
|
4113
4113
|
return;
|
|
4114
4114
|
}
|
|
4115
|
-
let
|
|
4116
|
-
window.removeEventListener("message",
|
|
4117
|
-
},
|
|
4118
|
-
if (n.origin !==
|
|
4115
|
+
let l = () => {
|
|
4116
|
+
window.removeEventListener("message", u), clearInterval(d), o.value = !1;
|
|
4117
|
+
}, u = (n) => {
|
|
4118
|
+
if (n.origin !== s) return;
|
|
4119
4119
|
let r = Ec(n.data);
|
|
4120
|
-
!r || r.session !== t || (r.event === "accept" ? (
|
|
4120
|
+
!r || r.session !== t || (r.event === "accept" ? (l(), y(), e({
|
|
4121
4121
|
message: F.t("alert.success.payment"),
|
|
4122
4122
|
type: "success"
|
|
4123
4123
|
}), i(2)) : r.event === "error" && e({
|
|
4124
4124
|
message: F.t("alert.error.payment"),
|
|
4125
4125
|
type: "warning"
|
|
4126
4126
|
}));
|
|
4127
|
-
},
|
|
4128
|
-
|
|
4127
|
+
}, d = setInterval(() => {
|
|
4128
|
+
c.closed && l();
|
|
4129
4129
|
}, 500);
|
|
4130
|
-
window.addEventListener("message",
|
|
4130
|
+
window.addEventListener("message", u);
|
|
4131
4131
|
}
|
|
4132
|
-
async function
|
|
4132
|
+
async function x({ callback: n, response: o, enableHostedRedirect: s }) {
|
|
4133
4133
|
if (!o.error) if (!o.offer) e({
|
|
4134
4134
|
message: F.t("booking.other.errorMessage"),
|
|
4135
4135
|
type: "warning"
|
|
4136
4136
|
});
|
|
4137
4137
|
else if (r.value = o.offer, i.value = o.confirmationId, a.value = o.offer.id, o.easyPayment) {
|
|
4138
4138
|
if (t.value === Nr.ReePay && !await kc() && s) {
|
|
4139
|
-
|
|
4139
|
+
b(o.easyPayment.paymentID, o.confirmationId, n);
|
|
4140
4140
|
return;
|
|
4141
4141
|
}
|
|
4142
4142
|
if (n(), t.value === Nr.ReePay) try {
|
|
4143
4143
|
let t = new Reepay.EmbeddedCheckout(o.easyPayment.paymentID, { html_element: "konnectio-payment-checkout" });
|
|
4144
4144
|
t.addEventHandler(Ar.Accept, () => {
|
|
4145
|
-
|
|
4145
|
+
y(), e({
|
|
4146
4146
|
message: F.t("alert.success.payment"),
|
|
4147
4147
|
type: "success"
|
|
4148
4148
|
}), n();
|
|
@@ -4166,7 +4166,7 @@ var Ac = D("payment", () => {
|
|
|
4166
4166
|
language: Yr() === "da" ? "da-DK" : "en-GB"
|
|
4167
4167
|
}, r = new Dibs.Checkout(t);
|
|
4168
4168
|
r.on("payment-completed", () => {
|
|
4169
|
-
console.log("Konnectio: Payment completed!"),
|
|
4169
|
+
console.log("Konnectio: Payment completed!"), y(), e({
|
|
4170
4170
|
message: F.t("alert.success.payment"),
|
|
4171
4171
|
type: "success"
|
|
4172
4172
|
}), n();
|
|
@@ -4174,28 +4174,29 @@ var Ac = D("payment", () => {
|
|
|
4174
4174
|
r.send("payment-order-finalized", !0);
|
|
4175
4175
|
});
|
|
4176
4176
|
}
|
|
4177
|
-
} else
|
|
4177
|
+
} else y(), n(2);
|
|
4178
4178
|
}
|
|
4179
|
-
function
|
|
4179
|
+
function S() {
|
|
4180
4180
|
a.value = NaN;
|
|
4181
4181
|
}
|
|
4182
4182
|
return {
|
|
4183
4183
|
offerId: a,
|
|
4184
4184
|
offerData: r,
|
|
4185
|
-
hasPaymentGateway:
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4185
|
+
hasPaymentGateway: s,
|
|
4186
|
+
isHostedCheckoutActive: o,
|
|
4187
|
+
name: c,
|
|
4188
|
+
email: l,
|
|
4189
|
+
phone: u,
|
|
4190
|
+
adults: d,
|
|
4191
|
+
children: f,
|
|
4192
|
+
totalPrice: p,
|
|
4193
|
+
totalVAT: m,
|
|
4194
|
+
offerDate: h,
|
|
4195
|
+
subTotalPrice: g,
|
|
4196
|
+
orderSummary: _,
|
|
4197
|
+
hasOrderLines: v,
|
|
4198
|
+
pay: x,
|
|
4199
|
+
clearOfferId: S
|
|
4199
4200
|
};
|
|
4200
4201
|
}), jc = Symbol("forcedDateChange"), Mc = Symbol("scrollToTop"), Nc = D("hotel", () => {
|
|
4201
4202
|
let e = Gc(), t = Pc(), n = Ac(), { voucher: r, amount: i } = re(Cc()), { display: a } = Ks(), { metaData: o } = re(Fc()), s = Fc(), c = L({}), l = I(() => {
|
|
@@ -4985,7 +4986,7 @@ function zc() {
|
|
|
4985
4986
|
headers: {
|
|
4986
4987
|
Accept: "application/json",
|
|
4987
4988
|
Authorization: Ic.value,
|
|
4988
|
-
"Konnectio-Version": "4.7.
|
|
4989
|
+
"Konnectio-Version": "4.7.11",
|
|
4989
4990
|
"Konnectio-Ref": Lc.ref
|
|
4990
4991
|
}
|
|
4991
4992
|
});
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { E as e, J as t, N as n, T as r, Tt as i, a, ut as o } from "./i18n-DwFTw_rF.js";
|
|
2
|
-
import { L as s, S as c } from "./SelectField-
|
|
3
|
-
import {
|
|
2
|
+
import { L as s, S as c } from "./SelectField-BgawaMC_.js";
|
|
3
|
+
import { o as l } from "./CheckoutWindow-BNE0eaqa.js";
|
|
4
4
|
//#region src/components/side-panels/TermsOfService.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var u = { class: "konnectio-terms-side-panel" }, d = ["innerHTML"], f = /*#__PURE__*/ c(/* @__PURE__ */ n({
|
|
6
6
|
__name: "TermsOfService",
|
|
Binary file
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
x�]R]o�0|N~�ȕ*��\Z A�*|���D�p:En�w����v�@��w����ګ�ٙ��ug]��$�!� p����f!>���Ƿŀ��k�i��OL�v{9���r�ݳ�T?2_�a/pk�tK-5�RS�������?���� ��5��_�Qv���\�|�{XQ8Zik�]S4v�YC&��kEy'
|
|
2
|
+
s��!�nv}�KT(&u���狺�hx1���&ߥI]���_�L�I�l�K�h/V[Sb7`i2��&�.M���C9�����i�$�B��Xf�^�� oE�֡��7g+2�d;��1����>ϲ�0.I-e߆��o�8Sz�z1~:��"�����#���V�D@e�l���^�8N�d�s6�c�,:�!��Y]��v�^1�d��&?>zq���� [,�1d�>)����t��/D\�b
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e } from "./rolldown-runtime-Dqa2HsxW.js";
|
|
2
2
|
import { $ as t, J as n, N as r, O as i, T as a, Tt as o, a as s, kt as c, lt as l } from "./i18n-DwFTw_rF.js";
|
|
3
|
-
import { E as u } from "./SelectField-
|
|
3
|
+
import { E as u } from "./SelectField-BgawaMC_.js";
|
|
4
4
|
//#region src/layouts/_.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var d = {
|
|
6
6
|
class: "konnectio-app",
|
|
Binary file
|
|
Binary file
|
package/dist/availability.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { D as e, E as t, Et as n, J as r, K as i, N as a, O as o, T as s, Tt as c, a as l, b as u, j as d, kt as f, n as p, o as m, s as h, u as g, ut as _, v, w as y, x as b, yt as x } from "./i18n-DwFTw_rF.js";
|
|
2
|
-
import { t as S } from "./dist-
|
|
3
|
-
import { C, S as w, b as T } from "./SelectField-
|
|
4
|
-
import { t as E } from "./_-
|
|
5
|
-
import { t as D } from "./AvailabilitySkeleton-
|
|
6
|
-
import { t as O } from "./HotelAvailabilityForm-
|
|
7
|
-
import { t as k } from "./EventAvailabilityForm-
|
|
8
|
-
import { t as A } from "./ErrorMessage-
|
|
2
|
+
import { t as S } from "./dist-BRdmfOkq.js";
|
|
3
|
+
import { C, S as w, b as T } from "./SelectField-BgawaMC_.js";
|
|
4
|
+
import { t as E } from "./_-BftIyTSa.js";
|
|
5
|
+
import { t as D } from "./AvailabilitySkeleton-DEr2RxbZ.js";
|
|
6
|
+
import { t as O } from "./HotelAvailabilityForm-D-BlPPkO.js";
|
|
7
|
+
import { t as k } from "./EventAvailabilityForm-7jg44O4p.js";
|
|
8
|
+
import { t as A } from "./ErrorMessage-c1Xb-slW.js";
|
|
9
9
|
//#region src/layouts/Availability.vue?vue&type=script&setup=true&lang.ts
|
|
10
10
|
var j = { class: "konnectio-availability-module" }, M = { class: "konnectio-availability-navigation" }, N = { class: "konnectio-availability-search-form" }, P = /*#__PURE__*/ w(/* @__PURE__ */ a({
|
|
11
11
|
name: "AvailabilityLayout",
|
package/dist/availability.js.br
CHANGED
|
Binary file
|
package/dist/availability.js.gz
CHANGED
|
Binary file
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { E as e, J as t, N as n, O as r, T as i, Tt as a, a as o, b as s, j as c, kt as l, n as u, o as d, s as f, ut as p, w as m, x as h, yt as g } from "./i18n-DwFTw_rF.js";
|
|
2
|
-
import { N as _, O as v, S as y, b, et as x, n as S, t as C, v as w } from "./SelectField-
|
|
3
|
-
import { t as T } from "./_-
|
|
4
|
-
import { t as E } from "./style-
|
|
5
|
-
import { t as D } from "./ActionField-
|
|
2
|
+
import { N as _, O as v, S as y, b, et as x, n as S, t as C, v as w } from "./SelectField-BgawaMC_.js";
|
|
3
|
+
import { t as T } from "./_-BftIyTSa.js";
|
|
4
|
+
import { t as E } from "./style-CHNgkDj2.js";
|
|
5
|
+
import { t as D } from "./ActionField-DUL0XvJT.js";
|
|
6
6
|
//#region src/components/forms/CancelReservationForm.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var O = { class: "konnectio-cancel-reservation-form" }, k = /*#__PURE__*/ y(/* @__PURE__ */ n({
|
|
8
8
|
__name: "CancelReservationForm",
|
|
Binary file
|
|
Binary file
|