@konnectio/core 4.7.18 → 4.8.0
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-L0Lr7Cq5.js → ActionField-CiBTmhVP.js} +5 -5
- package/dist/ActionField-CiBTmhVP.js.br +0 -0
- package/dist/ActionField-CiBTmhVP.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-CSQUAVcs.js → AvailabilitySkeleton-Tv_yaXPa.js} +1458 -1300
- package/dist/AvailabilitySkeleton-Tv_yaXPa.js.br +0 -0
- package/dist/AvailabilitySkeleton-Tv_yaXPa.js.gz +0 -0
- package/dist/{CheckoutWindow-CjVK26L8.js → CheckoutWindow-3gTfVepQ.js} +17 -13
- package/dist/CheckoutWindow-3gTfVepQ.js.br +0 -0
- package/dist/CheckoutWindow-3gTfVepQ.js.gz +0 -0
- package/dist/{ErrorMessage-BZqsLh26.js → ErrorMessage-ClFJa4be.js} +2 -2
- package/dist/ErrorMessage-ClFJa4be.js.br +0 -0
- package/dist/{ErrorMessage-BZqsLh26.js.gz → ErrorMessage-ClFJa4be.js.gz} +0 -0
- package/dist/{EventAvailabilityForm-Cuxc0RuT.js → EventAvailabilityForm-D_UqbRBj.js} +12 -11
- package/dist/EventAvailabilityForm-D_UqbRBj.js.br +0 -0
- package/dist/EventAvailabilityForm-D_UqbRBj.js.gz +0 -0
- package/dist/{Field-AlAFHkiH.js → Field-CzT0QKcQ.js} +2 -2
- package/dist/Field-CzT0QKcQ.js.br +0 -0
- package/dist/Field-CzT0QKcQ.js.gz +0 -0
- package/dist/{HotelAvailabilityForm-C3iHHzNH.js → HotelAvailabilityForm-oY9nC2co.js} +14 -13
- package/dist/HotelAvailabilityForm-oY9nC2co.js.br +0 -0
- package/dist/HotelAvailabilityForm-oY9nC2co.js.gz +0 -0
- package/dist/{SelectField-hZSfVqht.js → SelectField-DMU4o8wT.js} +2945 -2832
- package/dist/SelectField-DMU4o8wT.js.br +0 -0
- package/dist/SelectField-DMU4o8wT.js.gz +0 -0
- package/dist/{TermsOfService-CSImjp8p.js → TermsOfService-Bh49zB1Y.js} +3 -3
- package/dist/TermsOfService-Bh49zB1Y.js.br +0 -0
- package/dist/TermsOfService-Bh49zB1Y.js.gz +0 -0
- package/dist/{_-ceQWaE_o.js → _-CYKi9htj.js} +3 -3
- package/dist/_-CYKi9htj.js.br +0 -0
- package/dist/_-CYKi9htj.js.gz +7 -0
- package/dist/availability.js +8 -8
- package/dist/availability.js.br +0 -0
- package/dist/availability.js.gz +0 -0
- package/dist/cancel-reservation.js +12 -12
- 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/deep-link.js +1 -1
- package/dist/deep-link.js.br +0 -0
- package/dist/deep-link.js.gz +0 -0
- package/dist/dist-Dhf-kBcE.js +3631 -0
- package/dist/dist-Dhf-kBcE.js.br +0 -0
- package/dist/dist-Dhf-kBcE.js.gz +0 -0
- package/dist/{dist-DEZcjiNm.js → dist-IXFfy6j_.js} +79 -66
- package/dist/dist-IXFfy6j_.js.br +0 -0
- package/dist/dist-IXFfy6j_.js.gz +0 -0
- package/dist/event.js +104 -97
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +10 -10
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card-validation.js.gz +0 -0
- package/dist/gift-card.js +10 -10
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/{giftCard-CoefzLvK.js → giftCard-BP6ydQ7Q.js} +3 -3
- package/dist/giftCard-BP6ydQ7Q.js.br +0 -0
- package/dist/giftCard-BP6ydQ7Q.js.gz +0 -0
- package/dist/hotel.js +2832 -1709
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/{i18n-DwFTw_rF.js → i18n-BF6zkld-.js} +3397 -3461
- package/dist/i18n-BF6zkld-.js.br +0 -0
- package/dist/i18n-BF6zkld-.js.gz +0 -0
- package/dist/polyfill.js +1906 -1641
- package/dist/polyfill.js.br +0 -0
- package/dist/polyfill.js.gz +0 -0
- package/dist/{rolldown-runtime-Dqa2HsxW.js → rolldown-runtime-B0aSnxlc.js} +2 -2
- package/dist/rolldown-runtime-B0aSnxlc.js.br +0 -0
- package/dist/rolldown-runtime-B0aSnxlc.js.gz +5 -0
- package/dist/{style-DRBxevpd.js → style-CXIHVW9k.js} +8 -6
- package/dist/style-CXIHVW9k.js.br +0 -0
- package/dist/style-CXIHVW9k.js.gz +0 -0
- package/dist-wix/availability.js +42 -36
- package/dist-wix/event.js +32 -25
- package/dist-wix/gift-card-validation.js +33 -33
- package/dist-wix/gift-card.js +42 -35
- package/dist-wix/hotel.js +34 -27
- package/package.json +26 -24
- package/dist/ActionField-L0Lr7Cq5.js.br +0 -0
- package/dist/ActionField-L0Lr7Cq5.js.gz +0 -0
- package/dist/AvailabilitySkeleton-CSQUAVcs.js.br +0 -0
- package/dist/AvailabilitySkeleton-CSQUAVcs.js.gz +0 -0
- package/dist/CheckoutWindow-CjVK26L8.js.br +0 -0
- package/dist/CheckoutWindow-CjVK26L8.js.gz +0 -0
- package/dist/ErrorMessage-BZqsLh26.js.br +0 -0
- package/dist/EventAvailabilityForm-Cuxc0RuT.js.br +0 -0
- package/dist/EventAvailabilityForm-Cuxc0RuT.js.gz +0 -0
- package/dist/Field-AlAFHkiH.js.br +0 -0
- package/dist/Field-AlAFHkiH.js.gz +0 -0
- package/dist/HotelAvailabilityForm-C3iHHzNH.js.br +0 -0
- package/dist/HotelAvailabilityForm-C3iHHzNH.js.gz +0 -0
- package/dist/SelectField-hZSfVqht.js.br +0 -0
- package/dist/SelectField-hZSfVqht.js.gz +0 -0
- package/dist/TermsOfService-CSImjp8p.js.br +0 -0
- package/dist/TermsOfService-CSImjp8p.js.gz +0 -3
- package/dist/_-ceQWaE_o.js.br +0 -0
- package/dist/_-ceQWaE_o.js.gz +0 -5
- package/dist/dist-DEZcjiNm.js.br +0 -0
- package/dist/dist-DEZcjiNm.js.gz +0 -0
- package/dist/dist-DtPUJ4bx.js +0 -1338
- package/dist/dist-DtPUJ4bx.js.br +0 -0
- package/dist/dist-DtPUJ4bx.js.gz +0 -0
- package/dist/giftCard-CoefzLvK.js.br +0 -0
- package/dist/giftCard-CoefzLvK.js.gz +0 -0
- package/dist/i18n-DwFTw_rF.js.br +0 -0
- package/dist/i18n-DwFTw_rF.js.gz +0 -0
- package/dist/rolldown-runtime-Dqa2HsxW.js.br +0 -0
- package/dist/rolldown-runtime-Dqa2HsxW.js.gz +0 -2
- package/dist/style-DRBxevpd.js.br +0 -0
- package/dist/style-DRBxevpd.js.gz +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { $ as e, A as t, B as n, D as r, E as i, Et as a, H as o, J as s, K as c, N as l, O as u, Ot as d, S as f, T as p, Tt as m, U as h, V as ee, _ as g, a as _, ct as v, dt as y, et as b, g as x, j as S, k as C, kt as w, l as T, ot as te, u as E, ut as D, w as O, yt as k } from "./i18n-
|
|
2
|
-
import { E as ne,
|
|
1
|
+
import { $ as e, A as t, B as n, D as r, E as i, Et as a, H as o, J as s, K as c, N as l, O as u, Ot as d, S as f, T as p, Tt as m, U as h, V as ee, _ as g, a as _, ct as v, dt as y, et as b, g as x, j as S, k as C, kt as w, l as T, ot as te, u as E, ut as D, w as O, yt as k } from "./i18n-BF6zkld-.js";
|
|
2
|
+
import { E as ne, L as A, S as j, Y as M, _ as N, j as P, lt as re, n as F, v as I, x as ie, y as ae } from "./SelectField-DMU4o8wT.js";
|
|
3
3
|
//#region node_modules/body-scroll-lock/lib/bodyScrollLock.esm.js
|
|
4
4
|
function oe(e) {
|
|
5
5
|
if (Array.isArray(e)) {
|
|
6
6
|
for (var t = 0, n = Array(e.length); t < e.length; t++) n[t] = e[t];
|
|
7
7
|
return n;
|
|
8
|
-
}
|
|
8
|
+
}
|
|
9
|
+
return Array.from(e);
|
|
9
10
|
}
|
|
10
11
|
var L = !1;
|
|
11
12
|
if (typeof window < "u") {
|
|
@@ -365,7 +366,7 @@ var ve = { id: "konnectio-side-panel-header" }, ye = { id: "konnectio-side-panel
|
|
|
365
366
|
onClosed: c,
|
|
366
367
|
onOpened: l
|
|
367
368
|
}, C({
|
|
368
|
-
header: D(() => [p("div", ve, [p("h2", ye, [p("span", null, w(m(
|
|
369
|
+
header: D(() => [p("div", ve, [p("h2", ye, [p("span", null, w(m(A)(t.title)), 1), p("button", {
|
|
369
370
|
id: "konnectio-side-panel-close",
|
|
370
371
|
onClick: a[0] ||= (e) => n.$emit("update:modelValue", !1)
|
|
371
372
|
}, [S(ie, {
|
|
@@ -407,11 +408,12 @@ var ve = { id: "konnectio-side-panel-header" }, ye = { id: "konnectio-side-panel
|
|
|
407
408
|
readonly: {
|
|
408
409
|
type: Boolean,
|
|
409
410
|
default: !1
|
|
410
|
-
}
|
|
411
|
+
},
|
|
412
|
+
error: {}
|
|
411
413
|
},
|
|
412
414
|
emits: ["update:modelValue"],
|
|
413
415
|
setup(e, { emit: t }) {
|
|
414
|
-
let n = t, r = e, a = r.id ||
|
|
416
|
+
let n = t, r = e, a = r.id || M(), o = k("+45"), l = k("");
|
|
415
417
|
function u() {
|
|
416
418
|
n("update:modelValue", `${o.value} ${l.value}`);
|
|
417
419
|
}
|
|
@@ -420,18 +422,19 @@ var ve = { id: "konnectio-side-panel-header" }, ye = { id: "konnectio-side-panel
|
|
|
420
422
|
let e = r.modelValue.split(" ");
|
|
421
423
|
o.value = e[0], l.value = e[1];
|
|
422
424
|
}
|
|
423
|
-
}), (t, n) => (s(), i(
|
|
425
|
+
}), (t, n) => (s(), i(N, {
|
|
424
426
|
label: e.label,
|
|
425
427
|
id: m(a),
|
|
426
428
|
type: "phone",
|
|
427
429
|
required: e.required,
|
|
428
|
-
readonly: e.readonly
|
|
430
|
+
readonly: e.readonly,
|
|
431
|
+
error: e.error
|
|
429
432
|
}, {
|
|
430
433
|
default: D(() => [p("div", Ce, [S(F, {
|
|
431
434
|
modelValue: o.value,
|
|
432
435
|
"onUpdate:modelValue": n[0] ||= (e) => o.value = e,
|
|
433
436
|
type: "text",
|
|
434
|
-
id: m(
|
|
437
|
+
id: m(M)(),
|
|
435
438
|
name: "phone-code",
|
|
436
439
|
autocomplete: "tel-country-code",
|
|
437
440
|
icon: e.icon,
|
|
@@ -473,10 +476,11 @@ var ve = { id: "konnectio-side-panel-header" }, ye = { id: "konnectio-side-panel
|
|
|
473
476
|
"label",
|
|
474
477
|
"id",
|
|
475
478
|
"required",
|
|
476
|
-
"readonly"
|
|
479
|
+
"readonly",
|
|
480
|
+
"error"
|
|
477
481
|
]));
|
|
478
482
|
}
|
|
479
|
-
}), [["__scopeId", "data-v-
|
|
483
|
+
}), [["__scopeId", "data-v-44b81da6"]]), Te = [
|
|
480
484
|
"required",
|
|
481
485
|
"type",
|
|
482
486
|
"name",
|
|
@@ -524,7 +528,7 @@ var ve = { id: "konnectio-side-panel-header" }, ye = { id: "konnectio-side-panel
|
|
|
524
528
|
function f() {
|
|
525
529
|
c.readonly !== !0 && l("update:modelValue", c.type === "radio" ? c.val : c.numeric ? +!c.modelValue : !c.modelValue);
|
|
526
530
|
}
|
|
527
|
-
return (o, c) => (s(), i(
|
|
531
|
+
return (o, c) => (s(), i(N, {
|
|
528
532
|
required: t.required,
|
|
529
533
|
type: t.type,
|
|
530
534
|
readonly: t.readonly
|
|
@@ -710,7 +714,7 @@ var je = Z, Me = { id: "konnectio-hosted-checkout-waiting" }, $ = /*#__PURE__*/
|
|
|
710
714
|
}), (e, r) => (s(), u("div", null, [m(n) ? (s(), i($, { key: 0 })) : (s(), u("div", {
|
|
711
715
|
key: 1,
|
|
712
716
|
id: "konnectio-payment-checkout-wrapper",
|
|
713
|
-
class: a({ reePay: m(t) === m(
|
|
717
|
+
class: a({ reePay: m(t) === m(re).ReePay })
|
|
714
718
|
}, [...r[0] ||= [p("div", { id: "konnectio-payment-checkout" }, null, -1)]], 2))]));
|
|
715
719
|
}
|
|
716
720
|
}), [["__scopeId", "data-v-785105ee"]]);
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { J as e, N as t, O as n, T as r, kt as i, w as a } from "./i18n-
|
|
2
|
-
import {
|
|
1
|
+
import { J as e, N as t, O as n, T as r, kt as i, w as a } from "./i18n-BF6zkld-.js";
|
|
2
|
+
import { K as o, S as s } from "./SelectField-DMU4o8wT.js";
|
|
3
3
|
//#endregion
|
|
4
4
|
//#region src/components/ErrorMessage.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var c = { class: "konnectio-notice" }, l = { class: "konnectio-notice-title" }, u = ["innerHTML"], d = { class: "konnectio-notice-help" }, f = ["href"], p = /*#__PURE__*/ s(/* @__PURE__ */ t({
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as e, E as t, Et as n, J as r, N as i, O as a, Tt as o, a as s, b as c, d as l, j as u, l as d, ut as f, v as p, w as m, yt as h } from "./i18n-
|
|
2
|
-
import { C as g,
|
|
3
|
-
import { n as C } from "./AvailabilitySkeleton-
|
|
1
|
+
import { D as e, E as t, Et as n, J as r, N as i, O as a, Tt as o, a as s, b as c, d as l, j as u, l as d, ut as f, v as p, w as m, yt as h } from "./i18n-BF6zkld-.js";
|
|
2
|
+
import { C as g, K as _, S as v, n as y, t as b, v as x, w as S } from "./SelectField-DMU4o8wT.js";
|
|
3
|
+
import { n as C } from "./AvailabilitySkeleton-Tv_yaXPa.js";
|
|
4
4
|
//#region src/components/forms/EventAvailabilityForm.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var w = {
|
|
6
6
|
class: "konnectio-search-button",
|
|
@@ -35,14 +35,15 @@ var w = {
|
|
|
35
35
|
return e ? e.name : "";
|
|
36
36
|
}), z = m(() => D.value && !v.hideLocations);
|
|
37
37
|
function B() {
|
|
38
|
-
if (v.redirection === !0)
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
38
|
+
if (v.redirection === !0) {
|
|
39
|
+
if (A({
|
|
40
|
+
date: I.value,
|
|
41
|
+
location: F.value
|
|
42
|
+
}), L.value) {
|
|
43
|
+
let e = _();
|
|
44
|
+
v.link[e] ? window.location.replace(v.link[e]) : v.link.en && window.location.replace(v.link.en);
|
|
45
|
+
} else window.location.replace(v.link);
|
|
46
|
+
} else j();
|
|
46
47
|
}
|
|
47
48
|
function V() {
|
|
48
49
|
v.redirection === !1 && j();
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as e, E as t, Et as n, J as r, N as i, O as a, j as o, p as s } from "./i18n-
|
|
2
|
-
import { S as c } from "./SelectField-
|
|
1
|
+
import { D as e, E as t, Et as n, J as r, N as i, O as a, j as o, p as s } from "./i18n-BF6zkld-.js";
|
|
2
|
+
import { S as c } from "./SelectField-DMU4o8wT.js";
|
|
3
3
|
//#region src/components/skeletons/_.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var l = { class: "konnectio-placeholder" }, u = /*#__PURE__*/ c(/* @__PURE__ */ i({
|
|
5
5
|
__name: "_",
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as e, E as t, Et as n, J as r, K as ee, N as i, O as a, T as o, Tt as s, a as c, ct as l, d as te, j as u, l as ne, ut as re, v as ie, w as d, yt as f } from "./i18n-
|
|
2
|
-
import { C as p, E as m,
|
|
3
|
-
import { n as v, p as pe } from "./AvailabilitySkeleton-
|
|
1
|
+
import { D as e, E as t, Et as n, J as r, K as ee, N as i, O as a, T as o, Tt as s, a as c, ct as l, d as te, j as u, l as ne, ut as re, v as ie, w as d, yt as f } from "./i18n-BF6zkld-.js";
|
|
2
|
+
import { C as p, E as m, K as ae, N as oe, O as se, S as h, dt as ce, k as le, mt as ue, n as de, r as g, t as fe, v as _ } from "./SelectField-DMU4o8wT.js";
|
|
3
|
+
import { n as v, p as pe } from "./AvailabilitySkeleton-Tv_yaXPa.js";
|
|
4
4
|
//#region src/components/forms/HotelAvailabilityForm.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var me = {
|
|
6
6
|
class: "konnectio-availability-location",
|
|
@@ -110,16 +110,17 @@ var me = {
|
|
|
110
110
|
});
|
|
111
111
|
return;
|
|
112
112
|
}
|
|
113
|
-
if (y.booking === !1)
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
113
|
+
if (y.booking === !1) {
|
|
114
|
+
if (Pe.value) {
|
|
115
|
+
let e = ae();
|
|
116
|
+
y.link[e] ? Q(y.link[e]) : y.link.en ? Q(y.link.en) : D({
|
|
117
|
+
message: "Module misconfiguration, contact an admin",
|
|
118
|
+
type: "error"
|
|
119
|
+
});
|
|
120
|
+
} else Q(y.link);
|
|
121
|
+
} else X.value && E.fetchAvailabilityData();
|
|
121
122
|
}
|
|
122
|
-
let Ie =
|
|
123
|
+
let Ie = ue("history", { removeNullishValues: !0 });
|
|
123
124
|
function $() {
|
|
124
125
|
y.booking && (Ie.ci = Z(W.value), Ie.co = Z(G.value));
|
|
125
126
|
}
|
|
@@ -128,7 +129,7 @@ var me = {
|
|
|
128
129
|
new Date(G.value) < t && (G.value = t), $();
|
|
129
130
|
}), l(G, () => {
|
|
130
131
|
$();
|
|
131
|
-
}), le
|
|
132
|
+
}), ce(le).on(() => {
|
|
132
133
|
Y.value = [W.value, G.value];
|
|
133
134
|
}), l(Y, (e) => {
|
|
134
135
|
W.value = e[0], G.value = e[1];
|
|
Binary file
|
|
Binary file
|