@konnectio/core 4.0.56-rc31 → 4.0.56-rc33
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-qP-3ktN4.js → ActionField-tze5AH3K.js} +10 -10
- package/dist/ActionField-tze5AH3K.js.br +0 -0
- package/dist/AvailabilitySkeleton-BO4Erg_O.js +277 -0
- package/dist/AvailabilitySkeleton-BO4Erg_O.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-_E-GDGw7.js +7681 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-_E-GDGw7.js.br +0 -0
- package/dist/{CheckoutWindow-RWkSWvbk.js → CheckoutWindow-CIZWV-gI.js} +55 -55
- package/dist/CheckoutWindow-CIZWV-gI.js.br +0 -0
- package/dist/{ErrorMessage-z0JJ8Q3W.js → ErrorMessage-BzZDhDkX.js} +1 -1
- package/dist/ErrorMessage-BzZDhDkX.js.br +0 -0
- package/dist/EventAvailabilityForm-D73TXrag.js +422 -0
- package/dist/EventAvailabilityForm-D73TXrag.js.br +0 -0
- package/dist/Field-oZiblvji.js +41 -0
- package/dist/Field-oZiblvji.js.br +0 -0
- package/dist/{Field-C9r1d8IB.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bsv17X7r.js} +11521 -11751
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bsv17X7r.js.br +0 -0
- package/dist/{TermsOfService-oZz-B-KI.js → TermsOfService-yJlRLBDk.js} +2 -2
- package/dist/availability.js +45 -46
- package/dist/availability.js.br +0 -0
- package/dist/event.js +622 -491
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +87 -77
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +261 -260
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.js +1016 -1027
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-fa0tia29.js → masonry.plugin-B71LqMrD.js} +1263 -1271
- package/dist/masonry.plugin-B71LqMrD.js.br +0 -0
- package/dist/polyfill.js +2507 -2503
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +25 -24
- package/dist/ActionField-qP-3ktN4.js.br +0 -0
- package/dist/AvailabilitySkeleton-uaCnfwHM.js +0 -7665
- package/dist/AvailabilitySkeleton-uaCnfwHM.js.br +0 -0
- package/dist/CheckoutWindow-RWkSWvbk.js.br +0 -0
- package/dist/ErrorMessage-z0JJ8Q3W.js.br +0 -0
- package/dist/EventAvailabilityForm-LIgUj1t3.js +0 -325
- package/dist/EventAvailabilityForm-LIgUj1t3.js.br +0 -0
- package/dist/Field-C9r1d8IB.js.br +0 -0
- package/dist/HotelAvailabilityForm-AQ4VA15t.js +0 -212
- package/dist/HotelAvailabilityForm-AQ4VA15t.js.br +0 -0
- package/dist/masonry.plugin-fa0tia29.js.br +0 -0
- /package/dist/{_commonjsHelpers-f3sTPFkQ.js → _commonjsHelpers-DaMA6jEr.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as o, u as a,
|
|
2
|
-
import { B as d } from "./CheckoutWindow-
|
|
1
|
+
import { d as o, u as a, o as r, a as i, w as c, f as e, g as s, h as p, _ } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bsv17X7r.js";
|
|
2
|
+
import { B as d } from "./CheckoutWindow-CIZWV-gI.js";
|
|
3
3
|
const l = { class: "konnectio-terms-side-panel" }, f = ["innerHTML"], m = /* @__PURE__ */ o({
|
|
4
4
|
__name: "TermsOfService",
|
|
5
5
|
props: {
|
package/dist/availability.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import { H as
|
|
3
|
-
import { E as
|
|
4
|
-
import { E as
|
|
5
|
-
|
|
6
|
-
const q = (l) => (z("data-v-fac0bb15"), l = l(), F(), l), G = { class: "konnectio-availability-module" }, J = { class: "konnectio-availability-navigation" }, x = /* @__PURE__ */ q(() => /* @__PURE__ */ a("div", { class: "konnectio-availability-divider" }, null, -1)), Q = { class: "konnectio-availability-search-form" }, R = /* @__PURE__ */ C({
|
|
1
|
+
import { d as w, u as E, l as S, m as T, i as h, p as B, o as r, a as v, w as d, S as I, f as a, e as b, c as N, n as f, q as A, t as L, g as _, F as z, b as g, s as M, v as F, x as H, y as P, z as V, _ as O, A as $, B as j, D, G as U } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bsv17X7r.js";
|
|
2
|
+
import { H as Z, A as q } from "./AvailabilitySkeleton-BO4Erg_O.js";
|
|
3
|
+
import { E as G } from "./EventAvailabilityForm-D73TXrag.js";
|
|
4
|
+
import { E as K } from "./ErrorMessage-BzZDhDkX.js";
|
|
5
|
+
const x = (l) => (P("data-v-5c1e7504"), l = l(), V(), l), J = { class: "konnectio-availability-module" }, Q = { class: "konnectio-availability-navigation" }, R = /* @__PURE__ */ x(() => /* @__PURE__ */ a("div", { class: "konnectio-availability-divider" }, null, -1)), W = { class: "konnectio-availability-search-form" }, X = /* @__PURE__ */ w({
|
|
7
6
|
name: "AvailabilityLayout",
|
|
8
7
|
__name: "Availability",
|
|
9
8
|
props: {
|
|
@@ -15,59 +14,59 @@ const q = (l) => (z("data-v-fac0bb15"), l = l(), F(), l), G = { class: "konnecti
|
|
|
15
14
|
styling: {}
|
|
16
15
|
},
|
|
17
16
|
setup(l) {
|
|
18
|
-
const { t:
|
|
19
|
-
return
|
|
20
|
-
!
|
|
21
|
-
}), (e,
|
|
17
|
+
const { t: c } = E(), p = S(), i = l, o = T(), m = h(() => !!i.hotelLink || !!i.eventLink), s = h(() => !!i.hotelLink && !!i.eventLink), u = h(() => o.value === "hotel"), t = h(() => o.value === "event"), n = (e) => o.value = e;
|
|
18
|
+
return B(() => {
|
|
19
|
+
p.fetchMetadata(), !i.hotelLink && i.eventLink ? o.value = "event" : o.value = "hotel";
|
|
20
|
+
}), (e, k) => (r(), v(H, { styling: e.styling }, {
|
|
22
21
|
default: d(() => [
|
|
23
|
-
|
|
22
|
+
m.value ? (r(), v(I, { key: 0 }, {
|
|
24
23
|
default: d(() => [
|
|
25
24
|
a("div", null, [
|
|
26
|
-
b(
|
|
25
|
+
b(F, {
|
|
27
26
|
"access-token": e.accessToken,
|
|
28
|
-
type: "
|
|
27
|
+
type: "none"
|
|
29
28
|
}, {
|
|
30
29
|
default: d(() => [
|
|
31
|
-
a("div",
|
|
32
|
-
|
|
33
|
-
a("nav",
|
|
30
|
+
a("div", J, [
|
|
31
|
+
s.value ? (r(), N(z, { key: 0 }, [
|
|
32
|
+
a("nav", Q, [
|
|
34
33
|
a("ul", null, [
|
|
35
34
|
a("li", null, [
|
|
36
35
|
a("button", {
|
|
37
|
-
class:
|
|
38
|
-
onClick:
|
|
36
|
+
class: f({ active: u.value }),
|
|
37
|
+
onClick: k[0] || (k[0] = A((C) => n("hotel"), ["prevent"]))
|
|
39
38
|
}, [
|
|
40
|
-
a("span", null,
|
|
39
|
+
a("span", null, L(_(c)("availability.hotel")), 1)
|
|
41
40
|
], 2)
|
|
42
41
|
]),
|
|
43
42
|
a("li", null, [
|
|
44
43
|
a("button", {
|
|
45
|
-
class:
|
|
46
|
-
onClick:
|
|
44
|
+
class: f({ active: t.value }),
|
|
45
|
+
onClick: k[1] || (k[1] = A((C) => n("event"), ["prevent"]))
|
|
47
46
|
}, [
|
|
48
|
-
a("span", null,
|
|
47
|
+
a("span", null, L(_(c)("availability.events")), 1)
|
|
49
48
|
], 2)
|
|
50
49
|
])
|
|
51
50
|
])
|
|
52
51
|
]),
|
|
53
|
-
|
|
54
|
-
], 64)) :
|
|
55
|
-
a("div",
|
|
56
|
-
b(
|
|
52
|
+
R
|
|
53
|
+
], 64)) : g("", !0),
|
|
54
|
+
a("div", W, [
|
|
55
|
+
b(M, {
|
|
57
56
|
name: "fade",
|
|
58
57
|
mode: "out-in",
|
|
59
58
|
appear: ""
|
|
60
59
|
}, {
|
|
61
60
|
default: d(() => [
|
|
62
|
-
|
|
61
|
+
u.value ? (r(), v(Z, {
|
|
63
62
|
key: 0,
|
|
64
63
|
link: e.hotelLink,
|
|
65
64
|
"selected-location": Number(e.hotelLocation)
|
|
66
|
-
}, null, 8, ["link", "selected-location"])) :
|
|
65
|
+
}, null, 8, ["link", "selected-location"])) : t.value ? (r(), v(G, {
|
|
67
66
|
key: 1,
|
|
68
67
|
link: e.eventLink,
|
|
69
68
|
"selected-location": Number(e.eventLocation)
|
|
70
|
-
}, null, 8, ["link", "selected-location"])) :
|
|
69
|
+
}, null, 8, ["link", "selected-location"])) : g("", !0)
|
|
71
70
|
]),
|
|
72
71
|
_: 1
|
|
73
72
|
})
|
|
@@ -80,13 +79,13 @@ const q = (l) => (z("data-v-fac0bb15"), l = l(), F(), l), G = { class: "konnecti
|
|
|
80
79
|
]),
|
|
81
80
|
fallback: d(() => [
|
|
82
81
|
a("div", null, [
|
|
83
|
-
b(
|
|
84
|
-
view:
|
|
82
|
+
b(q, {
|
|
83
|
+
view: s.value ? "both" : o.value
|
|
85
84
|
}, null, 8, ["view"])
|
|
86
85
|
])
|
|
87
86
|
]),
|
|
88
87
|
_: 1
|
|
89
|
-
})) : (
|
|
88
|
+
})) : (r(), v(K, {
|
|
90
89
|
key: 1,
|
|
91
90
|
title: "Unable to render Availability module",
|
|
92
91
|
description: `The 'hotel-link' and/or 'event-link' properties are missing.<br>\r
|
|
@@ -96,8 +95,8 @@ const q = (l) => (z("data-v-fac0bb15"), l = l(), F(), l), G = { class: "konnecti
|
|
|
96
95
|
_: 1
|
|
97
96
|
}, 8, ["styling"]));
|
|
98
97
|
}
|
|
99
|
-
}),
|
|
100
|
-
class
|
|
98
|
+
}), y = /* @__PURE__ */ O(X, [["__scopeId", "data-v-5c1e7504"]]), Y = $(), ee = U();
|
|
99
|
+
class te extends HTMLElement {
|
|
101
100
|
vueApp;
|
|
102
101
|
constructor() {
|
|
103
102
|
super();
|
|
@@ -106,25 +105,25 @@ class Y extends HTMLElement {
|
|
|
106
105
|
this.vueApp.unmount();
|
|
107
106
|
}
|
|
108
107
|
connectedCallback() {
|
|
109
|
-
const
|
|
110
|
-
let
|
|
111
|
-
const i = (t) => t.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (
|
|
112
|
-
|
|
108
|
+
const c = typeof y == "function" ? y.options : y;
|
|
109
|
+
let p = Array.isArray(c.props) ? c.props : Object.keys(c.props || {});
|
|
110
|
+
const i = (t) => t.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (n, e) => (e ? "-" : "") + n.toLowerCase()), o = (t) => t.replace(/-./g, (n) => n[1].toUpperCase()), m = {};
|
|
111
|
+
p = p.map(i);
|
|
113
112
|
const s = {};
|
|
114
113
|
for (const t of this.attributes) {
|
|
115
|
-
const
|
|
116
|
-
|
|
114
|
+
const e = t.name.split(".");
|
|
115
|
+
e.length > 1 && (s[e[0]] || (s[e[0]] = {}), s[e[0]][o(e[1])] = t.value);
|
|
117
116
|
}
|
|
118
|
-
for (const t of
|
|
119
|
-
let
|
|
120
|
-
s.hasOwnProperty(t) && (
|
|
117
|
+
for (const t of p) {
|
|
118
|
+
let n = this.attributes.getNamedItem(t)?.value;
|
|
119
|
+
s.hasOwnProperty(t) && (n = s[t]), m[t] = n;
|
|
121
120
|
}
|
|
122
|
-
this.vueApp = j(
|
|
121
|
+
this.vueApp = j(y, m), this.vueApp.provide("emitter", ee), this.vueApp.use(D), this.vueApp.use(Y);
|
|
123
122
|
const u = document.createElement("div");
|
|
124
123
|
this.vueApp.mount(u), this.appendChild(u.children[0]);
|
|
125
124
|
}
|
|
126
125
|
}
|
|
127
|
-
window.customElements.define("konnectio-availability",
|
|
126
|
+
window.customElements.define("konnectio-availability", te);
|
|
128
127
|
export {
|
|
129
|
-
|
|
128
|
+
te as default
|
|
130
129
|
};
|
package/dist/availability.js.br
CHANGED
|
Binary file
|