@konnectio/core 4.0.56-rc21 → 4.0.56-rc23
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-mMYGNb-7.js → ActionField-BUeonTqc.js} +1 -1
- package/dist/ActionField-BUeonTqc.js.br +9 -0
- package/dist/{AvailabilitySkeleton-iD7Vbt5K.js → AvailabilitySkeleton-gympaD6B.js} +77 -75
- package/dist/AvailabilitySkeleton-gympaD6B.js.br +0 -0
- package/dist/CheckoutWindow-sws5X9v2.js +710 -0
- package/dist/CheckoutWindow-sws5X9v2.js.br +0 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-seJ00xvJ.js → DateField.vue_vue_type_style_index_0_lang-Ts9271hZ.js} +2003 -1999
- package/dist/DateField.vue_vue_type_style_index_0_lang-Ts9271hZ.js.br +0 -0
- package/dist/{ErrorMessage-4GwDZEsl.js → ErrorMessage-GzJ2T5_d.js} +1 -1
- package/dist/ErrorMessage-GzJ2T5_d.js.br +0 -0
- package/dist/{EventAvailabilityForm-jvxOZKWx.js → EventAvailabilityForm-c0u7rObv.js} +26 -25
- package/dist/EventAvailabilityForm-c0u7rObv.js.br +0 -0
- package/dist/{Field-EqFBeBE_.js → Field-hjOjPQhC.js} +1 -1
- package/dist/Field-hjOjPQhC.js.br +0 -0
- package/dist/{ThankYou-pu1PDfhl.js → ThankYou-d129mmKn.js} +3077 -3563
- package/dist/ThankYou-d129mmKn.js.br +0 -0
- package/dist/{_--L3VvP-p.js → _-hKpeUU4C.js} +2264 -2243
- package/dist/_-hKpeUU4C.js.br +0 -0
- package/dist/availability.js +22 -22
- package/dist/availability.js.br +0 -0
- package/dist/event.js +61 -61
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +20 -20
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +305 -291
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.js +926 -919
- package/dist/hotel.js.br +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +3 -2
- package/dist/ActionField-mMYGNb-7.js.br +0 -0
- package/dist/AvailabilitySkeleton-iD7Vbt5K.js.br +0 -0
- package/dist/CheckoutWindow-T32YH60g.js +0 -205
- package/dist/CheckoutWindow-T32YH60g.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-seJ00xvJ.js.br +0 -0
- package/dist/ErrorMessage-4GwDZEsl.js.br +0 -0
- package/dist/EventAvailabilityForm-jvxOZKWx.js.br +0 -0
- package/dist/Field-EqFBeBE_.js.br +0 -0
- package/dist/ThankYou-pu1PDfhl.js.br +0 -0
- package/dist/_--L3VvP-p.js.br +0 -0
|
Binary file
|
package/dist/availability.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as C, j as w, k as E, c as
|
|
2
|
-
import { H as
|
|
3
|
-
import { E as
|
|
4
|
-
import { E as
|
|
5
|
-
const
|
|
1
|
+
import { d as C, j as w, k as E, c as m, l as S, o as p, a as v, w as d, S as T, b as a, f as y, h as B, n as b, m as f, t as A, u as _, F as I, i as L, p as z, q as F, s as H, v as M, x as N, g as P, y as V, z as j, A as O, B as $ } from "./_-hKpeUU4C.js";
|
|
2
|
+
import { H as x, A as U } from "./AvailabilitySkeleton-gympaD6B.js";
|
|
3
|
+
import { E as Z } from "./EventAvailabilityForm-c0u7rObv.js";
|
|
4
|
+
import { E as q } from "./ErrorMessage-GzJ2T5_d.js";
|
|
5
|
+
const D = (l) => (M("data-v-16ca7abd"), l = l(), N(), l), K = { class: "konnectio-availability-module" }, G = { class: "konnectio-availability-navigation" }, J = /* @__PURE__ */ D(() => /* @__PURE__ */ a("div", { class: "konnectio-availability-divider" }, null, -1)), Q = { class: "konnectio-availability-search-form" }, R = /* @__PURE__ */ C({
|
|
6
6
|
name: "AvailabilityLayout",
|
|
7
7
|
__name: "Availability",
|
|
8
8
|
props: {
|
|
@@ -12,7 +12,7 @@ const q = (l) => (M("data-v-16ca7abd"), l = l(), N(), l), D = { class: "konnecti
|
|
|
12
12
|
styling: {}
|
|
13
13
|
},
|
|
14
14
|
setup(l) {
|
|
15
|
-
const { t: r } = w(), s = l, i = E(), h =
|
|
15
|
+
const { t: r } = w(), s = l, i = E(), h = m(() => s.hotelLink || s.eventLink), c = m(() => s.hotelLink && s.eventLink), o = m(() => i.value === "hotel"), u = m(() => i.value === "event"), e = (t) => i.value = t;
|
|
16
16
|
return S(() => {
|
|
17
17
|
!s.hotelLink && s.eventLink ? i.value = "event" : i.value = "hotel";
|
|
18
18
|
}), (t, n) => (p(), v(H, { styling: t.styling }, {
|
|
@@ -25,9 +25,9 @@ const q = (l) => (M("data-v-16ca7abd"), l = l(), N(), l), D = { class: "konnecti
|
|
|
25
25
|
type: "hotel"
|
|
26
26
|
}, {
|
|
27
27
|
default: d(() => [
|
|
28
|
-
a("div",
|
|
29
|
-
c.value ? (p(), I
|
|
30
|
-
a("nav",
|
|
28
|
+
a("div", K, [
|
|
29
|
+
c.value ? (p(), B(I, { key: 0 }, [
|
|
30
|
+
a("nav", G, [
|
|
31
31
|
a("ul", null, [
|
|
32
32
|
a("li", null, [
|
|
33
33
|
a("button", {
|
|
@@ -47,19 +47,19 @@ const q = (l) => (M("data-v-16ca7abd"), l = l(), N(), l), D = { class: "konnecti
|
|
|
47
47
|
])
|
|
48
48
|
])
|
|
49
49
|
]),
|
|
50
|
-
|
|
50
|
+
J
|
|
51
51
|
], 64)) : L("", !0),
|
|
52
|
-
a("div",
|
|
53
|
-
y(
|
|
52
|
+
a("div", Q, [
|
|
53
|
+
y(z, {
|
|
54
54
|
name: "fade",
|
|
55
55
|
mode: "out-in",
|
|
56
56
|
appear: ""
|
|
57
57
|
}, {
|
|
58
58
|
default: d(() => [
|
|
59
|
-
o.value ? (p(), v(
|
|
59
|
+
o.value ? (p(), v(x, {
|
|
60
60
|
key: 0,
|
|
61
61
|
link: t.hotelLink
|
|
62
|
-
}, null, 8, ["link"])) : u.value ? (p(), v(
|
|
62
|
+
}, null, 8, ["link"])) : u.value ? (p(), v(Z, {
|
|
63
63
|
key: 1,
|
|
64
64
|
link: t.eventLink
|
|
65
65
|
}, null, 8, ["link"])) : L("", !0)
|
|
@@ -75,13 +75,13 @@ const q = (l) => (M("data-v-16ca7abd"), l = l(), N(), l), D = { class: "konnecti
|
|
|
75
75
|
]),
|
|
76
76
|
fallback: d(() => [
|
|
77
77
|
a("div", null, [
|
|
78
|
-
y(
|
|
78
|
+
y(U, {
|
|
79
79
|
view: c.value ? "both" : i.value
|
|
80
80
|
}, null, 8, ["view"])
|
|
81
81
|
])
|
|
82
82
|
]),
|
|
83
83
|
_: 1
|
|
84
|
-
})) : (p(), v(
|
|
84
|
+
})) : (p(), v(q, {
|
|
85
85
|
key: 1,
|
|
86
86
|
title: "Unable to render Availability module",
|
|
87
87
|
description: `The 'hotel-link' and/or 'event-link' properties are missing.<br>\r
|
|
@@ -91,8 +91,8 @@ const q = (l) => (M("data-v-16ca7abd"), l = l(), N(), l), D = { class: "konnecti
|
|
|
91
91
|
_: 1
|
|
92
92
|
}, 8, ["styling"]));
|
|
93
93
|
}
|
|
94
|
-
}),
|
|
95
|
-
class
|
|
94
|
+
}), k = /* @__PURE__ */ P(R, [["__scopeId", "data-v-16ca7abd"]]), W = V(), X = $();
|
|
95
|
+
class Y extends HTMLElement {
|
|
96
96
|
vueApp;
|
|
97
97
|
constructor() {
|
|
98
98
|
super();
|
|
@@ -101,7 +101,7 @@ class W extends HTMLElement {
|
|
|
101
101
|
this.vueApp.unmount();
|
|
102
102
|
}
|
|
103
103
|
connectedCallback() {
|
|
104
|
-
const r = typeof
|
|
104
|
+
const r = typeof k == "function" ? k.options : k;
|
|
105
105
|
let s = Array.isArray(r.props) ? r.props : Object.keys(r.props || {});
|
|
106
106
|
const i = (e) => e.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (t, n) => (n ? "-" : "") + t.toLowerCase()), h = (e) => e.replace(/-./g, (t) => t[1].toUpperCase()), c = {};
|
|
107
107
|
s = s.map(i);
|
|
@@ -114,12 +114,12 @@ class W extends HTMLElement {
|
|
|
114
114
|
let t = this.attributes.getNamedItem(e)?.value;
|
|
115
115
|
o.hasOwnProperty(e) && (t = o[e]), c[e] = t;
|
|
116
116
|
}
|
|
117
|
-
this.vueApp = j(
|
|
117
|
+
this.vueApp = j(k, c), this.vueApp.provide("emitter", X), this.vueApp.use(O), this.vueApp.use(W);
|
|
118
118
|
const u = document.createElement("div");
|
|
119
119
|
this.vueApp.mount(u), this.appendChild(u.children[0]);
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
|
-
window.customElements.define("konnectio-availability",
|
|
122
|
+
window.customElements.define("konnectio-availability", Y);
|
|
123
123
|
export {
|
|
124
|
-
|
|
124
|
+
Y as default
|
|
125
125
|
};
|
package/dist/availability.js.br
CHANGED
|
Binary file
|
package/dist/event.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { d as Ve, j as Ee,
|
|
2
|
-
import { M as
|
|
3
|
-
import { u as oe, E as
|
|
4
|
-
import "./ActionField-
|
|
5
|
-
import { P as
|
|
6
|
-
const V = (A) => (Oe("data-v-693ef234"), A = A(), De(), A),
|
|
7
|
-
const
|
|
1
|
+
import { d as Ve, j as Ee, D as I, G as Te, l as Be, H as Ce, o as a, a as _, w as p, S as Pe, f as v, b as t, L as Ae, u as e, J as P, O as ee, e as S, i as r, T as te, h as s, F as N, K as w, t as n, M as ne, N as xe, P as y, Q as Fe, R as M, U as le, q as Ne, s as we, v as Oe, x as De, g as Le, y as $e, z as Ue, A as Re, V as Se, B as Me } from "./_-hKpeUU4C.js";
|
|
2
|
+
import { M as qe, R as ze, T as je, G as He } from "./ThankYou-d129mmKn.js";
|
|
3
|
+
import { u as oe, E as Qe } from "./EventAvailabilityForm-c0u7rObv.js";
|
|
4
|
+
import "./ActionField-BUeonTqc.js";
|
|
5
|
+
import { P as Ze, C as ae, a as Je } from "./CheckoutWindow-sws5X9v2.js";
|
|
6
|
+
const V = (A) => (Oe("data-v-693ef234"), A = A(), De(), A), Ke = { class: "fresh-booking-panel" };
|
|
7
|
+
const We = {
|
|
8
8
|
key: 2,
|
|
9
9
|
id: "fresh-booking-event-addons"
|
|
10
|
-
},
|
|
10
|
+
}, Ye = { class: "fresh-booking-table" }, Xe = /* @__PURE__ */ V(() => /* @__PURE__ */ t("th", { class: "fresh-booking-event-addons-input" }, null, -1)), Ge = { class: "fresh-booking-event-addons-price" }, Ie = /* @__PURE__ */ V(() => /* @__PURE__ */ t("br", null, null, -1)), et = { class: "fresh-booking-event-addons-input" }, tt = { class: "fresh-booking-event-addons-price" }, nt = /* @__PURE__ */ V(() => /* @__PURE__ */ t("td", { colspan: "2" }, null, -1)), lt = { class: "fresh-booking-event-addons-price" }, ot = { key: 3 }, at = { class: "fresh-booking-label required" }, st = { id: "fresh-booking-event-table" }, it = { key: 4 }, rt = { class: "fresh-booking-label required" }, ut = { class: "fresh-booking-table" }, dt = /* @__PURE__ */ V(() => /* @__PURE__ */ t("th", { class: "fresh-booking-event-addons-input" }, null, -1)), ct = { class: "fresh-booking-event-addons-price" }, mt = /* @__PURE__ */ V(() => /* @__PURE__ */ t("br", null, null, -1)), pt = /* @__PURE__ */ V(() => /* @__PURE__ */ t("br", null, null, -1)), vt = { class: "fresh-booking-event-addons-input" }, ht = { class: "fresh-booking-event-addons-price" }, bt = { key: 0 }, kt = { key: 1 }, ft = { key: 2 }, gt = { key: 3 }, _t = { key: 4 }, yt = { key: 5 }, Vt = { key: 6 }, Et = /* @__PURE__ */ V(() => /* @__PURE__ */ t("div", null, "Loading", -1)), Tt = /* @__PURE__ */ Ve({
|
|
11
11
|
name: "EventLayout",
|
|
12
12
|
__name: "Event",
|
|
13
13
|
props: {
|
|
@@ -26,9 +26,9 @@ const Ke = {
|
|
|
26
26
|
email: d,
|
|
27
27
|
remark: c,
|
|
28
28
|
arrivalTime: F,
|
|
29
|
-
title:
|
|
30
|
-
subtitle:
|
|
31
|
-
slideshow:
|
|
29
|
+
title: At,
|
|
30
|
+
subtitle: xt,
|
|
31
|
+
slideshow: Ft,
|
|
32
32
|
currency: f,
|
|
33
33
|
numberOfPeople: se,
|
|
34
34
|
numberOfTotalDays: q,
|
|
@@ -36,10 +36,10 @@ const Ke = {
|
|
|
36
36
|
basePrice: re,
|
|
37
37
|
totalPrice: ue,
|
|
38
38
|
isPaymentLoading: de,
|
|
39
|
-
hasEvents:
|
|
40
|
-
hasTemplates:
|
|
41
|
-
getEvents:
|
|
42
|
-
getTemplates:
|
|
39
|
+
hasEvents: Nt,
|
|
40
|
+
hasTemplates: wt,
|
|
41
|
+
getEvents: Ot,
|
|
42
|
+
getTemplates: Dt,
|
|
43
43
|
getEventData: ce,
|
|
44
44
|
getTemplateData: D,
|
|
45
45
|
getEventTableData: me,
|
|
@@ -49,8 +49,8 @@ const Ke = {
|
|
|
49
49
|
fromDate: j,
|
|
50
50
|
hasProducts: he,
|
|
51
51
|
eventRateType: H,
|
|
52
|
-
isMetaDataAvailable:
|
|
53
|
-
areListingsAvailable:
|
|
52
|
+
isMetaDataAvailable: Lt,
|
|
53
|
+
areListingsAvailable: $t,
|
|
54
54
|
isReservationFormFilled: be,
|
|
55
55
|
isAvailabilityDataAvailable: ke,
|
|
56
56
|
// getEventImages,
|
|
@@ -58,15 +58,15 @@ const Ke = {
|
|
|
58
58
|
tableBasePrice: Q
|
|
59
59
|
} = I(oe()), {
|
|
60
60
|
initialize: fe,
|
|
61
|
-
validateDiscountCode:
|
|
61
|
+
validateDiscountCode: Ut,
|
|
62
62
|
fetchListings: ge,
|
|
63
63
|
createBooking: _e,
|
|
64
64
|
localAddonPrice: Z,
|
|
65
65
|
totalAddonPrice: J,
|
|
66
66
|
reset: ye
|
|
67
67
|
} = oe(), {
|
|
68
|
-
hideEvents:
|
|
69
|
-
hideEventTemplates:
|
|
68
|
+
hideEvents: Rt,
|
|
69
|
+
hideEventTemplates: St
|
|
70
70
|
} = I(Te());
|
|
71
71
|
return Be(() => fe()), Ce(x, () => ge()), (K, u) => (a(), _(we, { styling: K.styling }, {
|
|
72
72
|
default: p(() => [
|
|
@@ -79,15 +79,15 @@ const Ke = {
|
|
|
79
79
|
"access-token": K.accessToken
|
|
80
80
|
}, {
|
|
81
81
|
default: p(() => [
|
|
82
|
-
v(
|
|
82
|
+
v(qe, null, {
|
|
83
83
|
availability: p(({ next: W }) => [
|
|
84
|
-
t("div",
|
|
85
|
-
v(
|
|
84
|
+
t("div", Ke, [
|
|
85
|
+
v(Qe)
|
|
86
86
|
]),
|
|
87
87
|
(a(), _(Ae, { key: 1 }))
|
|
88
88
|
]),
|
|
89
89
|
reservation: p(({ next: W, prev: U }) => [
|
|
90
|
-
e(ke) ? (a(), _(
|
|
90
|
+
e(ke) ? (a(), _(ze, {
|
|
91
91
|
key: 0,
|
|
92
92
|
remark: e(c),
|
|
93
93
|
"onUpdate:remark": u[7] || (u[7] = (l) => P(c) ? c.value = l : null),
|
|
@@ -129,7 +129,7 @@ const Ke = {
|
|
|
129
129
|
placeholder: e(o)("booking.reservation.emailPlaceholder"),
|
|
130
130
|
required: ""
|
|
131
131
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
132
|
-
v(
|
|
132
|
+
v(Ze, {
|
|
133
133
|
modelValue: e(i),
|
|
134
134
|
"onUpdate:modelValue": u[3] || (u[3] = (l) => P(i) ? i.value = l : null),
|
|
135
135
|
label: e(o)("booking.reservation.phone"),
|
|
@@ -138,7 +138,7 @@ const Ke = {
|
|
|
138
138
|
required: ""
|
|
139
139
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
140
140
|
r("", !0),
|
|
141
|
-
e(D) && e(D).length > 0 ? (a(), s("ul",
|
|
141
|
+
e(D) && e(D).length > 0 ? (a(), s("ul", We, [
|
|
142
142
|
(a(!0), s(N, null, w(e(D), ({
|
|
143
143
|
roomGroupID: l,
|
|
144
144
|
addons: h,
|
|
@@ -154,14 +154,14 @@ const Ke = {
|
|
|
154
154
|
}),
|
|
155
155
|
ne(" " + n(g) + ") ", 1)
|
|
156
156
|
]),
|
|
157
|
-
t("table",
|
|
157
|
+
t("table", Ye, [
|
|
158
158
|
t("thead", null, [
|
|
159
159
|
t("tr", null, [
|
|
160
160
|
t("th", null, [
|
|
161
161
|
t("span", null, n(e(o)("booking.reservation.addons")), 1)
|
|
162
162
|
]),
|
|
163
|
-
|
|
164
|
-
t("th",
|
|
163
|
+
Xe,
|
|
164
|
+
t("th", Ge, [
|
|
165
165
|
t("span", null, n(e(o)("booking.availability.price")), 1)
|
|
166
166
|
])
|
|
167
167
|
])
|
|
@@ -176,10 +176,10 @@ const Ke = {
|
|
|
176
176
|
}) => (a(), s("tr", { key: b }, [
|
|
177
177
|
t("td", null, [
|
|
178
178
|
t("b", null, n(Y), 1),
|
|
179
|
-
|
|
179
|
+
Ie,
|
|
180
180
|
t("span", null, n(e(y)(X, e(f))) + " " + n(e(Fe)(G)), 1)
|
|
181
181
|
]),
|
|
182
|
-
t("td",
|
|
182
|
+
t("td", et, [
|
|
183
183
|
R === 3 ? (a(), _(S, {
|
|
184
184
|
key: 0,
|
|
185
185
|
modelValue: e(E)[`${l}.${b}.${m}`],
|
|
@@ -193,15 +193,15 @@ const Ke = {
|
|
|
193
193
|
numeric: !0
|
|
194
194
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
195
195
|
]),
|
|
196
|
-
t("td",
|
|
196
|
+
t("td", tt, [
|
|
197
197
|
t("span", null, n(e(y)(e(Z)(b, l, m), e(f))), 1)
|
|
198
198
|
])
|
|
199
199
|
]))), 128))
|
|
200
200
|
]),
|
|
201
201
|
t("tfoot", null, [
|
|
202
202
|
t("tr", null, [
|
|
203
|
-
|
|
204
|
-
t("td",
|
|
203
|
+
nt,
|
|
204
|
+
t("td", lt, [
|
|
205
205
|
t("u", null, [
|
|
206
206
|
t("span", null, n(e(y)(e(J)(l, m), e(f))), 1)
|
|
207
207
|
])
|
|
@@ -211,11 +211,11 @@ const Ke = {
|
|
|
211
211
|
])
|
|
212
212
|
]))), 128))
|
|
213
213
|
])) : r("", !0),
|
|
214
|
-
e(H) !== e(ee).FullDayEvent && !e(k) ? (a(), s("div",
|
|
215
|
-
t("label",
|
|
214
|
+
e(H) !== e(ee).FullDayEvent && !e(k) ? (a(), s("div", ot, [
|
|
215
|
+
t("label", at, [
|
|
216
216
|
t("span", null, n(e(o)("event.selectArrivalTime")), 1)
|
|
217
217
|
]),
|
|
218
|
-
t("ul",
|
|
218
|
+
t("ul", st, [
|
|
219
219
|
(a(!0), s(N, null, w(e(me), (l, h) => (a(), s("li", { key: h }, [
|
|
220
220
|
v(ae, {
|
|
221
221
|
modelValue: e(F),
|
|
@@ -228,18 +228,18 @@ const Ke = {
|
|
|
228
228
|
]))), 128))
|
|
229
229
|
])
|
|
230
230
|
])) : r("", !0),
|
|
231
|
-
e(he) ? (a(), s("div",
|
|
232
|
-
t("label",
|
|
231
|
+
e(he) ? (a(), s("div", it, [
|
|
232
|
+
t("label", rt, [
|
|
233
233
|
t("span", null, n(e(o)("event.selectProducts")), 1)
|
|
234
234
|
]),
|
|
235
|
-
t("table",
|
|
235
|
+
t("table", ut, [
|
|
236
236
|
t("thead", null, [
|
|
237
237
|
t("tr", null, [
|
|
238
238
|
t("th", null, [
|
|
239
239
|
t("span", null, n(e(o)("booking.reservation.addons")), 1)
|
|
240
240
|
]),
|
|
241
|
-
|
|
242
|
-
t("th",
|
|
241
|
+
dt,
|
|
242
|
+
t("th", ct, [
|
|
243
243
|
t("span", null, n(e(o)("booking.availability.price")), 1)
|
|
244
244
|
])
|
|
245
245
|
])
|
|
@@ -250,12 +250,12 @@ const Ke = {
|
|
|
250
250
|
t("b", null, [
|
|
251
251
|
t("span", null, n(h), 1)
|
|
252
252
|
]),
|
|
253
|
-
ct,
|
|
254
|
-
t("span", null, n(m), 1),
|
|
255
253
|
mt,
|
|
254
|
+
t("span", null, n(m), 1),
|
|
255
|
+
pt,
|
|
256
256
|
t("span", null, n(e(y)(g, e(f))), 1)
|
|
257
257
|
]),
|
|
258
|
-
t("td",
|
|
258
|
+
t("td", vt, [
|
|
259
259
|
v(S, {
|
|
260
260
|
modelValue: e(O)[l],
|
|
261
261
|
"onUpdate:modelValue": (b) => e(O)[l] = b,
|
|
@@ -263,7 +263,7 @@ const Ke = {
|
|
|
263
263
|
"min-value": 0
|
|
264
264
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
265
265
|
]),
|
|
266
|
-
t("td",
|
|
266
|
+
t("td", ht, [
|
|
267
267
|
t("span", null, n(e(y)(e(Z)(l), e(f))), 1)
|
|
268
268
|
])
|
|
269
269
|
]))), 128))
|
|
@@ -276,31 +276,31 @@ const Ke = {
|
|
|
276
276
|
t("span", null, n(e(o)("event.numberOfGuests")), 1),
|
|
277
277
|
t("b", null, n(e(se)), 1)
|
|
278
278
|
]),
|
|
279
|
-
e(k) ? (a(), s("li",
|
|
279
|
+
e(k) ? (a(), s("li", bt, [
|
|
280
280
|
t("span", null, n(e(o)("event.numberOfRooms")), 1),
|
|
281
281
|
t("b", null, n(e(ie)), 1)
|
|
282
282
|
])) : r("", !0),
|
|
283
|
-
e(k) ? (a(), s("li",
|
|
283
|
+
e(k) ? (a(), s("li", kt, [
|
|
284
284
|
t("span", null, n(e(o)("event.numberOfDays")), 1),
|
|
285
285
|
t("b", null, n(e(q)), 1)
|
|
286
286
|
])) : r("", !0),
|
|
287
|
-
e(k) ? (a(), s("li",
|
|
287
|
+
e(k) ? (a(), s("li", ft, [
|
|
288
288
|
t("span", null, n(e(o)("booking.reservation.arrival")), 1),
|
|
289
289
|
t("b", null, n(e(le)(e(j))), 1)
|
|
290
290
|
])) : r("", !0),
|
|
291
|
-
e(k) ? (a(), s("li",
|
|
291
|
+
e(k) ? (a(), s("li", gt, [
|
|
292
292
|
t("span", null, n(e(o)("booking.reservation.departure")), 1),
|
|
293
293
|
t("b", null, n(e(le)(e(j), e(q))), 1)
|
|
294
294
|
])) : r("", !0),
|
|
295
|
-
!e(k) && e(F) ? (a(), s("li",
|
|
295
|
+
!e(k) && e(F) ? (a(), s("li", _t, [
|
|
296
296
|
t("span", null, n(e(o)("event.startOfEvent")), 1),
|
|
297
297
|
t("b", null, n(e(M)(e(F))), 1)
|
|
298
298
|
])) : r("", !0),
|
|
299
|
-
!e(k) && e(z) ? (a(), s("li",
|
|
299
|
+
!e(k) && e(z) ? (a(), s("li", yt, [
|
|
300
300
|
t("span", null, n(e(o)("event.lengthOfEvent")), 1),
|
|
301
301
|
t("b", null, n(e(M)(e(z))), 1)
|
|
302
302
|
])) : r("", !0),
|
|
303
|
-
!e(k) && e(Q) > 0 ? (a(), s("li",
|
|
303
|
+
!e(k) && e(Q) > 0 ? (a(), s("li", Vt, [
|
|
304
304
|
t("span", null, n(e(o)("booking.availability.basePrice")), 1),
|
|
305
305
|
t("b", null, n(e(y)(e(Q), e(f))), 1)
|
|
306
306
|
])) : r("", !0)
|
|
@@ -315,10 +315,10 @@ const Ke = {
|
|
|
315
315
|
}, 1032, ["remark", "is-filled", "is-loading", "base-price", "total-price", "weekend-fee", "room-upgrade", "onPrev", "onNext"])) : r("", !0)
|
|
316
316
|
]),
|
|
317
317
|
payment: p(() => [
|
|
318
|
-
v(
|
|
318
|
+
v(Je)
|
|
319
319
|
]),
|
|
320
320
|
confirmation: p(() => [
|
|
321
|
-
v(
|
|
321
|
+
v(je, {
|
|
322
322
|
message: e(o)("event.confirmationMessage")
|
|
323
323
|
}, null, 8, ["message"])
|
|
324
324
|
]),
|
|
@@ -329,7 +329,7 @@ const Ke = {
|
|
|
329
329
|
}, 8, ["access-token"])
|
|
330
330
|
]),
|
|
331
331
|
fallback: p(() => [
|
|
332
|
-
|
|
332
|
+
Et
|
|
333
333
|
]),
|
|
334
334
|
_: 1
|
|
335
335
|
}))
|
|
@@ -337,8 +337,8 @@ const Ke = {
|
|
|
337
337
|
_: 1
|
|
338
338
|
}, 8, ["styling"]));
|
|
339
339
|
}
|
|
340
|
-
}), $ = /* @__PURE__ */ Le(
|
|
341
|
-
class
|
|
340
|
+
}), $ = /* @__PURE__ */ Le(Tt, [["__scopeId", "data-v-693ef234"]]), Bt = $e(), Ct = Me();
|
|
341
|
+
class Pt extends HTMLElement {
|
|
342
342
|
vueApp;
|
|
343
343
|
constructor() {
|
|
344
344
|
super();
|
|
@@ -360,12 +360,12 @@ class Bt extends HTMLElement {
|
|
|
360
360
|
let d = this.attributes.getNamedItem(i)?.value;
|
|
361
361
|
B.hasOwnProperty(i) && (d = B[i]), T[i] = d;
|
|
362
362
|
}
|
|
363
|
-
this.vueApp = Ue($, T), this.vueApp.use(Re), this.vueApp.use(
|
|
363
|
+
this.vueApp = Ue($, T), this.vueApp.provide("emitter", Ct), this.vueApp.use(Re), this.vueApp.use(Bt), this.vueApp.use(He), this.vueApp.use(Se, { bootstrap: !0 });
|
|
364
364
|
const C = document.createElement("div");
|
|
365
365
|
this.vueApp.mount(C), this.appendChild(C.children[0]);
|
|
366
366
|
}
|
|
367
367
|
}
|
|
368
|
-
window.customElements.define("konnectio-event",
|
|
368
|
+
window.customElements.define("konnectio-event", Pt);
|
|
369
369
|
export {
|
|
370
|
-
|
|
370
|
+
Pt as default
|
|
371
371
|
};
|
package/dist/event.js.br
CHANGED
|
Binary file
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { d as L, o as h, h as
|
|
2
|
-
import { A as
|
|
3
|
-
import { F as x } from "./Field-
|
|
4
|
-
const
|
|
1
|
+
import { d as L, o as h, h as S, b as t, f as o, E as _, g as X, j as E, D as y, Y as V, G, a as A, w as m, S as B, t as c, u as e, J as w, N as C, P as N, U as T, i as $, m as D, q as I, s as U, y as z, z as M, A as P, B as j } from "./_-hKpeUU4C.js";
|
|
2
|
+
import { A as F } from "./ActionField-BUeonTqc.js";
|
|
3
|
+
import { F as x } from "./Field-hjOjPQhC.js";
|
|
4
|
+
const H = { class: "gift-card-validation-skeleton" }, O = { class: "gift-card-validation-skeleton-form" }, R = { class: "gift-card-validation-skeleton-text" }, Z = { class: "gift-card-validation-skeleton-input" }, q = /* @__PURE__ */ L({
|
|
5
5
|
__name: "GiftCardValidationSkeleton",
|
|
6
6
|
setup(k) {
|
|
7
|
-
return (n, l) => (h(),
|
|
7
|
+
return (n, l) => (h(), S("div", H, [
|
|
8
8
|
t("div", O, [
|
|
9
|
-
t("div",
|
|
9
|
+
t("div", R, [
|
|
10
10
|
o(_, { height: "20px" }),
|
|
11
11
|
o(_, { height: "15px" }),
|
|
12
12
|
o(_, { height: "15px" })
|
|
13
13
|
]),
|
|
14
|
-
t("div",
|
|
14
|
+
t("div", Z, [
|
|
15
15
|
o(x),
|
|
16
16
|
o(x, { "no-label": "" })
|
|
17
17
|
])
|
|
18
18
|
])
|
|
19
19
|
]));
|
|
20
20
|
}
|
|
21
|
-
}),
|
|
21
|
+
}), J = /* @__PURE__ */ X(q, [["__scopeId", "data-v-0b8074bf"]]), Y = ["innerHTML"], K = {
|
|
22
22
|
key: 0,
|
|
23
23
|
id: "fresh-booking-gift-card-validation-resume",
|
|
24
24
|
class: "fresh-booking-panel"
|
|
@@ -37,10 +37,10 @@ const F = { class: "gift-card-validation-skeleton" }, O = { class: "gift-card-va
|
|
|
37
37
|
expirationDate: f,
|
|
38
38
|
productName: d,
|
|
39
39
|
isLoading: p
|
|
40
|
-
} = y(V()), { currency: a } = y(
|
|
41
|
-
return (i, r) => (h(), A(
|
|
40
|
+
} = y(V()), { currency: a } = y(G()), { apply: s } = V();
|
|
41
|
+
return (i, r) => (h(), A(U, { styling: i.styling }, {
|
|
42
42
|
default: m(() => [
|
|
43
|
-
(h(), A(
|
|
43
|
+
(h(), A(B, null, {
|
|
44
44
|
default: m(() => [
|
|
45
45
|
o(I, {
|
|
46
46
|
id: "fresh-booking-gift-card-validation-module",
|
|
@@ -56,8 +56,8 @@ const F = { class: "gift-card-validation-skeleton" }, O = { class: "gift-card-va
|
|
|
56
56
|
]),
|
|
57
57
|
t("p", {
|
|
58
58
|
innerHTML: e(n)("giftCardValidation.description")
|
|
59
|
-
}, null, 8,
|
|
60
|
-
o(
|
|
59
|
+
}, null, 8, Y),
|
|
60
|
+
o(F, {
|
|
61
61
|
modelValue: e(l),
|
|
62
62
|
"onUpdate:modelValue": r[0] || (r[0] = (u) => w(l) ? l.value = u : null),
|
|
63
63
|
icon: "gift-card",
|
|
@@ -68,7 +68,7 @@ const F = { class: "gift-card-validation-skeleton" }, O = { class: "gift-card-va
|
|
|
68
68
|
"onUpdate:isLoading": r[1] || (r[1] = (u) => w(p) ? p.value = u : null),
|
|
69
69
|
onAction: r[2] || (r[2] = (u) => e(s)())
|
|
70
70
|
}, null, 8, ["modelValue", "label", "buttonLabel", "is-loading"]),
|
|
71
|
-
!e(p) && e(b) ? (h(),
|
|
71
|
+
!e(p) && e(b) ? (h(), S("table", K, [
|
|
72
72
|
t("thead", null, [
|
|
73
73
|
t("tr", null, [
|
|
74
74
|
t("th", null, [
|
|
@@ -117,7 +117,7 @@ const F = { class: "gift-card-validation-skeleton" }, O = { class: "gift-card-va
|
|
|
117
117
|
}, 8, ["access-token"])
|
|
118
118
|
]),
|
|
119
119
|
fallback: m(() => [
|
|
120
|
-
o(
|
|
120
|
+
o(J)
|
|
121
121
|
]),
|
|
122
122
|
_: 1
|
|
123
123
|
}))
|
|
@@ -125,8 +125,8 @@ const F = { class: "gift-card-validation-skeleton" }, O = { class: "gift-card-va
|
|
|
125
125
|
_: 1
|
|
126
126
|
}, 8, ["styling"]));
|
|
127
127
|
}
|
|
128
|
-
}), g = /* @__PURE__ */
|
|
129
|
-
class
|
|
128
|
+
}), g = /* @__PURE__ */ X(Q, [["__scopeId", "data-v-b19b4a0e"]]), W = z(), tt = j();
|
|
129
|
+
class et extends HTMLElement {
|
|
130
130
|
vueApp;
|
|
131
131
|
constructor() {
|
|
132
132
|
super();
|
|
@@ -148,12 +148,12 @@ class Y extends HTMLElement {
|
|
|
148
148
|
let s = this.attributes.getNamedItem(a)?.value;
|
|
149
149
|
d.hasOwnProperty(a) && (s = d[a]), f[a] = s;
|
|
150
150
|
}
|
|
151
|
-
this.vueApp =
|
|
151
|
+
this.vueApp = M(g, f), this.vueApp.provide("emitter", tt), this.vueApp.use(W), this.vueApp.use(P);
|
|
152
152
|
const p = document.createElement("div");
|
|
153
153
|
this.vueApp.mount(p), this.appendChild(p.children[0]);
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
window.customElements.define("konnectio-gift-card-validation",
|
|
156
|
+
window.customElements.define("konnectio-gift-card-validation", et);
|
|
157
157
|
export {
|
|
158
|
-
|
|
158
|
+
et as default
|
|
159
159
|
};
|
|
Binary file
|