@konnectio/core 4.1.10 → 4.1.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-YcUnxCh1.js → ActionField-OJ0B_Rvq.js} +2 -2
- package/dist/ActionField-OJ0B_Rvq.js.br +0 -0
- package/dist/AvailabilitySkeleton-C6bsNxOH.js +320 -0
- package/dist/AvailabilitySkeleton-C6bsNxOH.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DFi1PQJG.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-BOrZv7ED.js} +2 -2
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-BOrZv7ED.js.br +0 -0
- package/dist/{CheckoutWindow-ET8OmnqK.js → CheckoutWindow-C7Sez05a.js} +2 -2
- package/dist/CheckoutWindow-C7Sez05a.js.br +0 -0
- package/dist/{ErrorMessage-CwQY7g9Q.js → ErrorMessage-BJIYUPxq.js} +2 -2
- package/dist/ErrorMessage-BJIYUPxq.js.br +0 -0
- package/dist/EventAvailabilityForm-BPl-K4R7.js +119 -0
- package/dist/EventAvailabilityForm-BPl-K4R7.js.br +0 -0
- package/dist/{Field-BdH4Sloj.js → Field-DrXN88nH.js} +3 -3
- package/dist/Field-DrXN88nH.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DJkXxXXq.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-yLLdxGIS.js} +2 -2
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-CsniNK66.js → SelectField.vue_vue_type_style_index_0_lang-vHXV3ehV.js} +130 -130
- package/dist/SelectField.vue_vue_type_style_index_0_lang-vHXV3ehV.js.br +0 -0
- package/dist/{TermsOfService-B4Xq6arX.js → TermsOfService-OiLRXZF3.js} +3 -3
- package/dist/_-WO7vPQFH.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-DCY7vATB.js → _.vue_vue_type_style_index_0_lang-Q0efa7Bu.js} +2 -2
- package/dist/availability.js +37 -33
- 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 +104 -102
- 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-vJLJWCwZ.js → giftCard-5wAI4XEl.js} +2 -2
- package/dist/giftCard-5wAI4XEl.js.br +0 -0
- package/dist/hotel.js +374 -373
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-CglHU-ya.js → masonry.plugin-D19pwBpH.js} +5 -5
- package/dist/masonry.plugin-D19pwBpH.js.br +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/package.json +4 -4
- package/dist/ActionField-YcUnxCh1.js.br +0 -0
- package/dist/AvailabilitySkeleton-CtypN7ad.js +0 -319
- package/dist/AvailabilitySkeleton-CtypN7ad.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DFi1PQJG.js.br +0 -0
- package/dist/CheckoutWindow-ET8OmnqK.js.br +0 -0
- package/dist/ErrorMessage-CwQY7g9Q.js.br +0 -0
- package/dist/EventAvailabilityForm--R2UEx3o.js +0 -118
- package/dist/EventAvailabilityForm--R2UEx3o.js.br +0 -0
- package/dist/Field-BdH4Sloj.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-CsniNK66.js.br +0 -0
- package/dist/_-kF09E1Yd.js +0 -5
- package/dist/giftCard-vJLJWCwZ.js.br +0 -0
- package/dist/masonry.plugin-CglHU-ya.js.br +0 -0
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as o, u as r, a, b as i, g as e, w as c, e as s } from "./mitt-BysJOgFD.js";
|
|
2
|
-
import { P as p, _ } from "./SelectField.vue_vue_type_style_index_0_lang-
|
|
3
|
-
import { B as d } from "./CheckoutWindow-
|
|
2
|
+
import { P as p, _ } from "./SelectField.vue_vue_type_style_index_0_lang-vHXV3ehV.js";
|
|
3
|
+
import { B as d } from "./CheckoutWindow-C7Sez05a.js";
|
|
4
4
|
const m = { class: "konnectio-terms-side-panel" }, l = ["innerHTML"], f = /* @__PURE__ */ o({
|
|
5
5
|
__name: "TermsOfService",
|
|
6
6
|
props: {
|
|
@@ -25,4 +25,4 @@ const m = { class: "konnectio-terms-side-panel" }, l = ["innerHTML"], f = /* @__
|
|
|
25
25
|
export {
|
|
26
26
|
x as S
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=TermsOfService-
|
|
28
|
+
//# sourceMappingURL=TermsOfService-OiLRXZF3.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as i, ar as s, h as l, b as p, q as _ } from "./mitt-BysJOgFD.js";
|
|
2
|
-
import { h as m } from "./SelectField.vue_vue_type_style_index_0_lang-
|
|
2
|
+
import { h as m } from "./SelectField.vue_vue_type_style_index_0_lang-vHXV3ehV.js";
|
|
3
3
|
const f = {
|
|
4
4
|
class: "konnectio-app",
|
|
5
5
|
ref: "base"
|
|
@@ -22,4 +22,4 @@ const f = {
|
|
|
22
22
|
export {
|
|
23
23
|
h as _
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=_.vue_vue_type_style_index_0_lang-
|
|
25
|
+
//# sourceMappingURL=_.vue_vue_type_style_index_0_lang-Q0efa7Bu.js.map
|
package/dist/availability.js
CHANGED
|
@@ -1,79 +1,83 @@
|
|
|
1
|
-
import { d as w, u as T, r as
|
|
2
|
-
import { u as I, C as j, _ as K } from "./SelectField.vue_vue_type_style_index_0_lang-
|
|
3
|
-
import { _ as U } from "./_.vue_vue_type_style_index_0_lang-
|
|
4
|
-
import { A as q, H as
|
|
5
|
-
import { E as
|
|
6
|
-
import { E as
|
|
7
|
-
const
|
|
1
|
+
import { d as w, u as T, r as H, c as l, o as S, a as s, b as o, w as c, S as B, e, f as v, g as d, h as D, i as y, F as M, j as f, n as L, t as A, T as N, k as P, l as F, m as V, _ as $, p as z } from "./mitt-BysJOgFD.js";
|
|
2
|
+
import { u as I, C as j, _ as K } from "./SelectField.vue_vue_type_style_index_0_lang-vHXV3ehV.js";
|
|
3
|
+
import { _ as U } from "./_.vue_vue_type_style_index_0_lang-Q0efa7Bu.js";
|
|
4
|
+
import { A as q, H as G } from "./AvailabilitySkeleton-C6bsNxOH.js";
|
|
5
|
+
import { E as J } from "./EventAvailabilityForm-BPl-K4R7.js";
|
|
6
|
+
import { E as O } from "./ErrorMessage-BJIYUPxq.js";
|
|
7
|
+
const Q = { class: "konnectio-availability-module" }, R = { class: "konnectio-availability-navigation" }, W = { class: "konnectio-availability-search-form" }, X = /* @__PURE__ */ w({
|
|
8
8
|
name: "AvailabilityLayout",
|
|
9
9
|
__name: "Availability",
|
|
10
10
|
props: {
|
|
11
11
|
accessToken: {},
|
|
12
12
|
eventLink: {},
|
|
13
13
|
eventLocation: {},
|
|
14
|
+
hideEventLocations: { default: "no" },
|
|
14
15
|
hotelLink: {},
|
|
15
16
|
hotelLocation: {},
|
|
17
|
+
hideHotelLocations: { default: "no" },
|
|
16
18
|
hotelDisableDefaultLocation: { default: "no" },
|
|
17
19
|
styling: {}
|
|
18
20
|
},
|
|
19
|
-
setup(
|
|
20
|
-
const { t: r } = T(), { fetchMetadata: u } = I(), a =
|
|
21
|
+
setup(p) {
|
|
22
|
+
const { t: r } = T(), { fetchMetadata: u } = I(), a = p, i = H(), E = l(() => !!a.hotelLink || !!a.eventLink), m = l(() => !!a.hotelLink && !!a.eventLink), k = l(() => i.value === "hotel"), h = l(() => i.value === "event"), b = (t) => i.value = t, _ = l(() => ({
|
|
21
23
|
fontSize: "13px",
|
|
22
24
|
...a.styling
|
|
23
25
|
}));
|
|
24
|
-
return
|
|
26
|
+
return S(() => {
|
|
25
27
|
!a.hotelLink && a.eventLink ? i.value = "event" : i.value = "hotel";
|
|
26
|
-
}), (t, n) => (
|
|
28
|
+
}), (t, n) => (o(), s(j, { styling: _.value }, {
|
|
27
29
|
default: c(() => [
|
|
28
|
-
|
|
30
|
+
E.value ? (o(), s(B, { key: 0 }, {
|
|
29
31
|
default: c(() => [
|
|
30
32
|
e("div", null, [
|
|
31
33
|
v(U, {
|
|
32
34
|
"access-token": t.accessToken,
|
|
33
|
-
callback:
|
|
35
|
+
callback: d(u)
|
|
34
36
|
}, {
|
|
35
37
|
default: c(() => [
|
|
36
|
-
e("div",
|
|
37
|
-
m.value ? (
|
|
38
|
-
e("nav",
|
|
38
|
+
e("div", Q, [
|
|
39
|
+
m.value ? (o(), D(M, { key: 0 }, [
|
|
40
|
+
e("nav", R, [
|
|
39
41
|
e("ul", null, [
|
|
40
42
|
e("li", null, [
|
|
41
43
|
e("button", {
|
|
42
|
-
class:
|
|
43
|
-
onClick: n[0] || (n[0] = f((
|
|
44
|
+
class: L({ active: k.value }),
|
|
45
|
+
onClick: n[0] || (n[0] = f((g) => b("hotel"), ["prevent"]))
|
|
44
46
|
}, [
|
|
45
|
-
e("span", null,
|
|
47
|
+
e("span", null, A(d(r)("availability.hotel")), 1)
|
|
46
48
|
], 2)
|
|
47
49
|
]),
|
|
48
50
|
e("li", null, [
|
|
49
51
|
e("button", {
|
|
50
|
-
class:
|
|
51
|
-
onClick: n[1] || (n[1] = f((
|
|
52
|
+
class: L({ active: h.value }),
|
|
53
|
+
onClick: n[1] || (n[1] = f((g) => b("event"), ["prevent"]))
|
|
52
54
|
}, [
|
|
53
|
-
e("span", null,
|
|
55
|
+
e("span", null, A(d(r)("availability.events")), 1)
|
|
54
56
|
], 2)
|
|
55
57
|
])
|
|
56
58
|
])
|
|
57
59
|
]),
|
|
58
60
|
n[2] || (n[2] = e("div", { class: "konnectio-availability-divider" }, null, -1))
|
|
59
61
|
], 64)) : y("", !0),
|
|
60
|
-
e("div",
|
|
61
|
-
v(
|
|
62
|
+
e("div", W, [
|
|
63
|
+
v(N, {
|
|
62
64
|
name: "fade",
|
|
63
65
|
mode: "out-in",
|
|
64
66
|
appear: ""
|
|
65
67
|
}, {
|
|
66
68
|
default: c(() => [
|
|
67
|
-
k.value ? (
|
|
69
|
+
k.value ? (o(), s(G, {
|
|
68
70
|
key: 0,
|
|
69
71
|
link: t.hotelLink,
|
|
70
72
|
"selected-location": Number(t.hotelLocation),
|
|
71
|
-
"disable-default-location": t.hotelDisableDefaultLocation === "yes"
|
|
72
|
-
|
|
73
|
+
"disable-default-location": t.hotelDisableDefaultLocation === "yes",
|
|
74
|
+
"hide-locations": t.hideHotelLocations === "yes"
|
|
75
|
+
}, null, 8, ["link", "selected-location", "disable-default-location", "hide-locations"])) : h.value ? (o(), s(J, {
|
|
73
76
|
key: 1,
|
|
74
77
|
link: t.eventLink,
|
|
75
|
-
"selected-location": Number(t.eventLocation)
|
|
76
|
-
|
|
78
|
+
"selected-location": Number(t.eventLocation),
|
|
79
|
+
"hide-locations": t.hideEventLocations === "yes"
|
|
80
|
+
}, null, 8, ["link", "selected-location", "hide-locations"])) : y("", !0)
|
|
77
81
|
]),
|
|
78
82
|
_: 1
|
|
79
83
|
})
|
|
@@ -92,7 +96,7 @@ const O = { class: "konnectio-availability-module" }, Q = { class: "konnectio-av
|
|
|
92
96
|
])
|
|
93
97
|
]),
|
|
94
98
|
_: 1
|
|
95
|
-
})) : (
|
|
99
|
+
})) : (o(), s(O, {
|
|
96
100
|
key: 1,
|
|
97
101
|
title: "Unable to render Availability module",
|
|
98
102
|
description: `The 'hotel-link' and/or 'event-link' properties are missing.<br>\r
|
|
@@ -102,7 +106,7 @@ const O = { class: "konnectio-availability-module" }, Q = { class: "konnectio-av
|
|
|
102
106
|
_: 1
|
|
103
107
|
}, 8, ["styling"]));
|
|
104
108
|
}
|
|
105
|
-
}),
|
|
109
|
+
}), C = /* @__PURE__ */ K(X, [["__scopeId", "data-v-a8e928a0"]]), Y = P(), Z = $, x = Z();
|
|
106
110
|
class ee extends HTMLElement {
|
|
107
111
|
vueApp;
|
|
108
112
|
constructor() {
|
|
@@ -112,8 +116,8 @@ class ee extends HTMLElement {
|
|
|
112
116
|
this.vueApp.unmount();
|
|
113
117
|
}
|
|
114
118
|
connectedCallback() {
|
|
115
|
-
const r =
|
|
116
|
-
this.vueApp = V(
|
|
119
|
+
const r = F(C, this.attributes);
|
|
120
|
+
this.vueApp = V(C, r), this.vueApp.provide("emitter", x), this.vueApp.use(z), this.vueApp.use(Y);
|
|
117
121
|
const u = document.createElement("div");
|
|
118
122
|
this.vueApp.mount(u), this.appendChild(u.children[0]);
|
|
119
123
|
}
|
package/dist/availability.js.br
CHANGED
|
Binary file
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { d as C, u as y, c as A, r as i, h as _, b as r, a as h, g as n, F as x, f as u, w as v, S as I, e as t, t as T, k as E, _ as S, l as w, m as F, p as M } from "./mitt-BysJOgFD.js";
|
|
2
2
|
import { G as P } from "./style-CFj6q1kW.js";
|
|
3
|
-
import { a as U, b as H, c, d as $, T as N, e as W, _ as L, C as G } from "./SelectField.vue_vue_type_style_index_0_lang-
|
|
4
|
-
import { _ as O } from "./_.vue_vue_type_style_index_0_lang-
|
|
5
|
-
import { A as D } from "./ActionField-
|
|
3
|
+
import { a as U, b as H, c, d as $, T as N, e as W, _ as L, C as G } from "./SelectField.vue_vue_type_style_index_0_lang-vHXV3ehV.js";
|
|
4
|
+
import { _ as O } from "./_.vue_vue_type_style_index_0_lang-Q0efa7Bu.js";
|
|
5
|
+
import { A as D } from "./ActionField-OJ0B_Rvq.js";
|
|
6
6
|
const j = { class: "konnectio-cancel-reservation-form" }, q = /* @__PURE__ */ C({
|
|
7
7
|
__name: "CancelReservationForm",
|
|
8
8
|
setup(p) {
|
|
Binary file
|