@konnectio/core 4.3.2 → 4.3.4
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-CJSfD00B.js → ActionField-aNzOb2ZE.js} +6 -6
- package/dist/ActionField-aNzOb2ZE.js.br +0 -0
- package/dist/ActionField-aNzOb2ZE.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-DahaxHPu.js → AvailabilitySkeleton-BEQboDHw.js} +16 -16
- package/dist/AvailabilitySkeleton-BEQboDHw.js.br +0 -0
- package/dist/AvailabilitySkeleton-BEQboDHw.js.gz +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-B_vADqmB.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-D0Nr2tTn.js} +2 -2
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-D0Nr2tTn.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-D0Nr2tTn.js.gz +0 -0
- package/dist/{CheckoutWindow-O_qYS9cd.js → CheckoutWindow-BmHYd2-t.js} +2 -2
- package/dist/CheckoutWindow-BmHYd2-t.js.br +0 -0
- package/dist/CheckoutWindow-BmHYd2-t.js.gz +0 -0
- package/dist/{ErrorMessage-CyJcdPZh.js → ErrorMessage-CR6nsvpG.js} +2 -2
- package/dist/ErrorMessage-CR6nsvpG.js.br +0 -0
- package/dist/ErrorMessage-CR6nsvpG.js.gz +0 -0
- package/dist/{EventAvailabilityForm-BHriF2rh.js → EventAvailabilityForm-BifH0nPI.js} +7 -7
- package/dist/EventAvailabilityForm-BifH0nPI.js.br +0 -0
- package/dist/EventAvailabilityForm-BifH0nPI.js.gz +0 -0
- package/dist/{Field-DqD7cEr0.js → Field-B2jdmjrN.js} +3 -3
- package/dist/Field-B2jdmjrN.js.br +0 -0
- package/dist/Field-B2jdmjrN.js.gz +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DHtQ9xlj.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-VcCD-H0U.js} +2 -2
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-VcCD-H0U.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-VcCD-H0U.js.gz +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-CIGrTH9B.js → SelectField.vue_vue_type_style_index_0_lang-BPnYFHa4.js} +1901 -1857
- package/dist/SelectField.vue_vue_type_style_index_0_lang-BPnYFHa4.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-BPnYFHa4.js.gz +0 -0
- package/dist/{TermsOfService-DEcUhi2o.js → TermsOfService-DbQt3pLi.js} +3 -3
- package/dist/TermsOfService-DbQt3pLi.js.br +0 -0
- package/dist/TermsOfService-DbQt3pLi.js.gz +0 -0
- package/dist/_-CCH1RDZD.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-Bb0pfnHZ.js → _.vue_vue_type_style_index_0_lang-DRp7kMrC.js} +2 -2
- package/dist/_.vue_vue_type_style_index_0_lang-DRp7kMrC.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-DRp7kMrC.js.gz +0 -0
- package/dist/availability.js +6 -6
- package/dist/availability.js.br +0 -0
- package/dist/availability.js.gz +0 -0
- package/dist/cancel-reservation.js +3 -3
- 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/event.js +619 -597
- 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 +23 -23
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/{giftCard-DQSmKUJS.js → giftCard-DuYeuLQX.js} +10 -10
- package/dist/giftCard-DuYeuLQX.js.br +0 -0
- package/dist/giftCard-DuYeuLQX.js.gz +0 -0
- package/dist/hotel.js +482 -476
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/{index-BuCHQzvO.js → index-DmkBVtIQ.js} +214 -206
- package/dist/index-DmkBVtIQ.js.br +0 -0
- package/dist/index-DmkBVtIQ.js.gz +0 -0
- package/dist/{masonry.plugin-CK1Ecitm.js → masonry.plugin-BX6FQ1DO.js} +5 -5
- package/dist/masonry.plugin-BX6FQ1DO.js.br +0 -0
- package/dist/masonry.plugin-BX6FQ1DO.js.gz +0 -0
- package/dist/polyfill.js +6065 -5759
- package/dist/polyfill.js.br +0 -0
- package/dist/polyfill.js.gz +0 -0
- package/package.json +11 -11
- package/dist/ActionField-CJSfD00B.js.br +0 -0
- package/dist/ActionField-CJSfD00B.js.gz +0 -0
- package/dist/AvailabilitySkeleton-DahaxHPu.js.br +0 -0
- package/dist/AvailabilitySkeleton-DahaxHPu.js.gz +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-B_vADqmB.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-B_vADqmB.js.gz +0 -0
- package/dist/CheckoutWindow-O_qYS9cd.js.br +0 -0
- package/dist/CheckoutWindow-O_qYS9cd.js.gz +0 -0
- package/dist/ErrorMessage-CyJcdPZh.js.br +0 -0
- package/dist/ErrorMessage-CyJcdPZh.js.gz +0 -0
- package/dist/EventAvailabilityForm-BHriF2rh.js.br +0 -0
- package/dist/EventAvailabilityForm-BHriF2rh.js.gz +0 -0
- package/dist/Field-DqD7cEr0.js.br +0 -0
- package/dist/Field-DqD7cEr0.js.gz +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DHtQ9xlj.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DHtQ9xlj.js.gz +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-CIGrTH9B.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-CIGrTH9B.js.gz +0 -0
- package/dist/TermsOfService-DEcUhi2o.js.br +0 -0
- package/dist/TermsOfService-DEcUhi2o.js.gz +0 -0
- package/dist/_-Dr00NgKV.js +0 -5
- package/dist/_.vue_vue_type_style_index_0_lang-Bb0pfnHZ.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-Bb0pfnHZ.js.gz +0 -0
- package/dist/giftCard-DQSmKUJS.js.br +0 -0
- package/dist/giftCard-DQSmKUJS.js.gz +0 -0
- package/dist/index-BuCHQzvO.js.br +0 -0
- package/dist/index-BuCHQzvO.js.gz +0 -0
- package/dist/masonry.plugin-CK1Ecitm.js.br +0 -0
- package/dist/masonry.plugin-CK1Ecitm.js.gz +0 -0
package/dist/event.js
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
import { d as U, u as
|
|
2
|
-
import { G as
|
|
3
|
-
import { a as we, f as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { B as
|
|
6
|
-
import { g as
|
|
7
|
-
import { C as
|
|
8
|
-
import { E as
|
|
9
|
-
import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-
|
|
10
|
-
import { f as
|
|
11
|
-
function
|
|
12
|
-
return (
|
|
13
|
-
const
|
|
14
|
-
return
|
|
1
|
+
import { d as U, u as x, s as z, c as Z, r as Ie, a as v, b as l, g as e, w as p, q as K, e as t, i as u, f, n as rt, h as r, t as o, F as A, v as M, o as dt, j as ut, x as ve, y as ct, z as S, A as mt, S as pt, k as vt, _ as bt, l as gt, m as ft, p as kt } from "./mitt-CWSmi8M-.js";
|
|
2
|
+
import { G as yt } from "./style-DJF9fHLt.js";
|
|
3
|
+
import { a as we, f as re, g as X, h as Se, B as ht, i as se, l as Dt, s as G, e as be, _ as q, I as ie, j as Pt, k as ge, u as $e, m as Et, n as $t, o as wt, p as J, T as pe, O as Ot, q as Tt, r as Ve, C as Vt, t as _t, v as Nt } from "./SelectField.vue_vue_type_style_index_0_lang-BPnYFHa4.js";
|
|
4
|
+
import { _ as Ft } from "./_.vue_vue_type_style_index_0_lang-DRp7kMrC.js";
|
|
5
|
+
import { B as Ct, _ as Lt, R as Bt, L as Re, S as At, M as It, T as St, C as Rt, V as Mt, a as Ut } from "./masonry.plugin-BX6FQ1DO.js";
|
|
6
|
+
import { g as Ht, e as Gt, c as zt, n as qt, a as _e, m as Ne, b as Fe, d as Ce, f as Le, _ as Yt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-D0Nr2tTn.js";
|
|
7
|
+
import { C as jt, P as Wt, a as Be } from "./CheckoutWindow-BmHYd2-t.js";
|
|
8
|
+
import { E as Zt } from "./EventAvailabilityForm-BifH0nPI.js";
|
|
9
|
+
import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-VcCD-H0U.js";
|
|
10
|
+
import { f as Qt } from "./index-DmkBVtIQ.js";
|
|
11
|
+
function Jt(E) {
|
|
12
|
+
return (a) => {
|
|
13
|
+
const h = (E ? Math[E] : Math.trunc)(a);
|
|
14
|
+
return h === 0 ? 0 : h;
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
|
-
function
|
|
18
|
-
const
|
|
19
|
-
if (isNaN(
|
|
17
|
+
function Kt(E, a, n) {
|
|
18
|
+
const h = Ht(), b = n?.locale ?? h.locale ?? Gt, k = zt(E, a);
|
|
19
|
+
if (isNaN(k))
|
|
20
20
|
throw new RangeError("Invalid time value");
|
|
21
|
-
const i = Object.assign({},
|
|
22
|
-
addSuffix:
|
|
23
|
-
comparison:
|
|
24
|
-
}), [
|
|
25
|
-
|
|
26
|
-
...
|
|
27
|
-
), s =
|
|
28
|
-
let
|
|
29
|
-
if ($ < 1 ?
|
|
21
|
+
const i = Object.assign({}, n, {
|
|
22
|
+
addSuffix: n?.addSuffix,
|
|
23
|
+
comparison: k
|
|
24
|
+
}), [D, P] = qt(
|
|
25
|
+
n?.in,
|
|
26
|
+
...k > 0 ? [a, E] : [E, a]
|
|
27
|
+
), s = Jt("round"), T = P.getTime() - D.getTime(), $ = T / Le, C = _e(P) - _e(D), V = (T - C) / Le, N = n?.unit;
|
|
28
|
+
let m;
|
|
29
|
+
if ($ < 1 ? m = "second" : $ < 60 ? m = "minute" : $ < Ne ? m = "hour" : V < Fe ? m = "day" : V < Ce ? m = "month" : m = "year", m === "second") {
|
|
30
30
|
const w = s(T / 1e3);
|
|
31
|
-
return
|
|
32
|
-
} else if (
|
|
31
|
+
return b.formatDistance("xSeconds", w, i);
|
|
32
|
+
} else if (m === "minute") {
|
|
33
33
|
const w = s($);
|
|
34
|
-
return
|
|
35
|
-
} else if (
|
|
34
|
+
return b.formatDistance("xMinutes", w, i);
|
|
35
|
+
} else if (m === "hour") {
|
|
36
36
|
const w = s($ / 60);
|
|
37
|
-
return
|
|
38
|
-
} else if (
|
|
39
|
-
const w = s(
|
|
40
|
-
return
|
|
41
|
-
} else if (
|
|
42
|
-
const w = s(
|
|
43
|
-
return w === 12 &&
|
|
37
|
+
return b.formatDistance("xHours", w, i);
|
|
38
|
+
} else if (m === "day") {
|
|
39
|
+
const w = s(V / Ne);
|
|
40
|
+
return b.formatDistance("xDays", w, i);
|
|
41
|
+
} else if (m === "month") {
|
|
42
|
+
const w = s(V / Fe);
|
|
43
|
+
return w === 12 && N !== "month" ? b.formatDistance("xYears", 1, i) : b.formatDistance("xMonths", w, i);
|
|
44
44
|
} else {
|
|
45
|
-
const w = s(
|
|
46
|
-
return
|
|
45
|
+
const w = s(V / Ce);
|
|
46
|
+
return b.formatDistance("xYears", w, i);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
const
|
|
49
|
+
const Xt = { class: "konnectio-event-listing-action-button" }, xt = /* @__PURE__ */ U({
|
|
50
50
|
__name: "_",
|
|
51
51
|
props: {
|
|
52
52
|
name: {},
|
|
@@ -70,80 +70,88 @@ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
|
|
|
70
70
|
disableDeepLink: { type: Boolean, default: !1 },
|
|
71
71
|
callback: {}
|
|
72
72
|
},
|
|
73
|
-
setup(
|
|
74
|
-
const { t:
|
|
75
|
-
hideEventGuestAmount:
|
|
76
|
-
} = z(
|
|
77
|
-
maxNumberOfPeople:
|
|
73
|
+
setup(E) {
|
|
74
|
+
const { t: a } = x(), n = E, { display: h } = we(), {
|
|
75
|
+
hideEventGuestAmount: b
|
|
76
|
+
} = z(re()), {
|
|
77
|
+
maxNumberOfPeople: k,
|
|
78
78
|
numberOfPeople: i,
|
|
79
|
-
eventId:
|
|
80
|
-
currentEventDate:
|
|
79
|
+
eventId: D,
|
|
80
|
+
currentEventDate: P,
|
|
81
81
|
tableGroupId: s
|
|
82
|
-
} = z(
|
|
82
|
+
} = z(X()), {
|
|
83
83
|
getTemplateAvailability: T,
|
|
84
84
|
getEventAvailability: $,
|
|
85
85
|
isEventListingLoading: C
|
|
86
|
-
} =
|
|
87
|
-
if (!
|
|
88
|
-
|
|
86
|
+
} = X(), { addToCart: V } = Se(), N = Z(() => n.maxGuests || n.maxOnlineReservationLimit || k.value || 1 / 0), m = Ie(0), w = Z(() => C(n.listingId)), ee = () => {
|
|
87
|
+
if (!n.useNumberOfProductsForPersons && (m.value === 0 || isNaN(m.value))) {
|
|
88
|
+
h({
|
|
89
89
|
type: "error",
|
|
90
|
-
message:
|
|
90
|
+
message: a("alert.error.selectPeople")
|
|
91
91
|
});
|
|
92
92
|
return;
|
|
93
93
|
}
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
94
|
+
n.trackingEnabled && V({
|
|
95
|
+
id: n.listingId,
|
|
96
|
+
name: n.name,
|
|
97
|
+
value: n.fromPrice || 0
|
|
98
|
+
}), D.value = n.listingId, i.value = n.useNumberOfProductsForPersons ? NaN : m.value, T(n.callback);
|
|
99
|
+
}, Y = () => {
|
|
100
|
+
if (!n.useNumberOfProductsForPersons && (m.value === 0 || isNaN(m.value))) {
|
|
101
|
+
h({
|
|
98
102
|
type: "error",
|
|
99
|
-
message:
|
|
103
|
+
message: a("alert.error.selectPeople")
|
|
100
104
|
});
|
|
101
105
|
return;
|
|
102
106
|
}
|
|
103
|
-
|
|
107
|
+
n.trackingEnabled && V({
|
|
108
|
+
id: n.listingId,
|
|
109
|
+
name: n.name,
|
|
110
|
+
value: n.fromPrice || 0
|
|
111
|
+
}), D.value = n.listingId, s.value = n.tableGroupId, i.value = n.useNumberOfProductsForPersons ? NaN : m.value, $(n.callback);
|
|
104
112
|
};
|
|
105
|
-
return (
|
|
113
|
+
return (y, R) => (l(), v(Ct, {
|
|
106
114
|
type: "event",
|
|
107
|
-
"listing-id":
|
|
108
|
-
gallery:
|
|
109
|
-
name:
|
|
110
|
-
description:
|
|
111
|
-
"prices-from":
|
|
112
|
-
"to-date":
|
|
113
|
-
layout: e(
|
|
114
|
-
"disable-deep-link":
|
|
115
|
+
"listing-id": y.listingId,
|
|
116
|
+
gallery: y.gallery,
|
|
117
|
+
name: y.name,
|
|
118
|
+
description: y.description,
|
|
119
|
+
"prices-from": y.fromPrice,
|
|
120
|
+
"to-date": y.toDate,
|
|
121
|
+
layout: e(ht).Event,
|
|
122
|
+
"disable-deep-link": y.disableDeepLink
|
|
115
123
|
}, {
|
|
116
|
-
description:
|
|
117
|
-
|
|
124
|
+
description: p(() => [
|
|
125
|
+
K(y.$slots, "description", { maxNumberOfPeople: e(k) }, void 0, !0)
|
|
118
126
|
]),
|
|
119
|
-
action:
|
|
120
|
-
|
|
127
|
+
action: p(() => [
|
|
128
|
+
K(y.$slots, "action", {}, () => [
|
|
121
129
|
t("div", {
|
|
122
|
-
class:
|
|
130
|
+
class: rt([
|
|
123
131
|
"konnectio-event-listing-action",
|
|
124
|
-
{ "no-selectable-people":
|
|
132
|
+
{ "no-selectable-people": y.useNumberOfProductsForPersons }
|
|
125
133
|
])
|
|
126
134
|
}, [
|
|
127
|
-
|
|
135
|
+
y.useNumberOfProductsForPersons ? u("", !0) : (l(), v(se, {
|
|
128
136
|
key: 0,
|
|
129
|
-
modelValue:
|
|
130
|
-
"onUpdate:modelValue":
|
|
131
|
-
label: e(
|
|
137
|
+
modelValue: m.value,
|
|
138
|
+
"onUpdate:modelValue": R[0] || (R[0] = (Q) => m.value = Q),
|
|
139
|
+
label: e(a)("event.numberOfGuests"),
|
|
132
140
|
icon: "users",
|
|
133
141
|
"icon-type": "fas",
|
|
134
142
|
"icon-placement": "label",
|
|
135
|
-
description:
|
|
143
|
+
description: N.value <= 20 && !e(b) ? `${e(a)("general.availableFor")}: 1 - ${N.value} ${e(Dt)(e(a)("general.guests"))}` : void 0,
|
|
136
144
|
"min-value": 0,
|
|
137
|
-
"max-value":
|
|
145
|
+
"max-value": N.value
|
|
138
146
|
}, null, 8, ["modelValue", "label", "description", "max-value"])),
|
|
139
|
-
t("div",
|
|
140
|
-
|
|
141
|
-
label:
|
|
142
|
-
disabled:
|
|
143
|
-
"is-loading":
|
|
147
|
+
t("div", Xt, [
|
|
148
|
+
f(be, {
|
|
149
|
+
label: y.soldOut ? e(a)("event.soldOut") : e(a)("event.bookNowButton"),
|
|
150
|
+
disabled: y.soldOut,
|
|
151
|
+
"is-loading": w.value,
|
|
144
152
|
"full-width": "",
|
|
145
|
-
"sub-label": e(G)(e(
|
|
146
|
-
onClickEvent:
|
|
153
|
+
"sub-label": e(G)(e(P)),
|
|
154
|
+
onClickEvent: R[1] || (R[1] = (Q) => y.type === "event" ? Y() : ee())
|
|
147
155
|
}, null, 8, ["label", "disabled", "is-loading", "sub-label"])
|
|
148
156
|
])
|
|
149
157
|
], 2)
|
|
@@ -152,14 +160,14 @@ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
|
|
|
152
160
|
_: 3
|
|
153
161
|
}, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout", "disable-deep-link"]));
|
|
154
162
|
}
|
|
155
|
-
}),
|
|
156
|
-
const
|
|
163
|
+
}), Me = /* @__PURE__ */ q(xt, [["__scopeId", "data-v-23ac9949"]]), en = { class: "konnectio-event-listing-information-new" };
|
|
164
|
+
const tn = {
|
|
157
165
|
key: 1,
|
|
158
166
|
class: "konnectio-pill-button"
|
|
159
|
-
},
|
|
167
|
+
}, nn = {
|
|
160
168
|
key: 2,
|
|
161
169
|
class: "konnectio-pill-button"
|
|
162
|
-
},
|
|
170
|
+
}, an = { key: 0 }, ln = { key: 1 }, on = /* @__PURE__ */ U({
|
|
163
171
|
__name: "Event",
|
|
164
172
|
props: {
|
|
165
173
|
name: {},
|
|
@@ -181,20 +189,20 @@ const Kt = {
|
|
|
181
189
|
trackingEnabled: { type: Boolean },
|
|
182
190
|
callback: {}
|
|
183
191
|
},
|
|
184
|
-
setup(
|
|
185
|
-
const
|
|
186
|
-
hideEventLength:
|
|
187
|
-
hideEventEndTime:
|
|
188
|
-
} = z(
|
|
189
|
-
if (!
|
|
192
|
+
setup(E) {
|
|
193
|
+
const a = E, { t: n } = x(), {
|
|
194
|
+
hideEventLength: h,
|
|
195
|
+
hideEventEndTime: b
|
|
196
|
+
} = z(re()), k = Z(() => {
|
|
197
|
+
if (!a.length)
|
|
190
198
|
return;
|
|
191
|
-
const i =
|
|
192
|
-
return
|
|
199
|
+
const i = a.length.split(":");
|
|
200
|
+
return Kt(
|
|
193
201
|
new Date(2e3, 0, 1, Number(i[0]), Number(i[1]), 0),
|
|
194
202
|
new Date(2e3, 0, 1, 0, 0, 0)
|
|
195
203
|
);
|
|
196
204
|
});
|
|
197
|
-
return (i,
|
|
205
|
+
return (i, D) => (l(), v(Me, {
|
|
198
206
|
"listing-id": i.listingId,
|
|
199
207
|
name: i.name,
|
|
200
208
|
description: i.description,
|
|
@@ -206,111 +214,115 @@ const Kt = {
|
|
|
206
214
|
"to-date": i.toDate,
|
|
207
215
|
"sold-out": i.soldOut,
|
|
208
216
|
type: "event",
|
|
217
|
+
"tracking-enabled": i.trackingEnabled,
|
|
209
218
|
callback: i.callback
|
|
210
219
|
}, {
|
|
211
|
-
description:
|
|
212
|
-
i.description ? (l(),
|
|
220
|
+
description: p(() => [
|
|
221
|
+
i.description ? (l(), v(Lt, {
|
|
213
222
|
key: 0,
|
|
214
223
|
text: i.description
|
|
215
|
-
}, null, 8, ["text"])) :
|
|
216
|
-
t("ul",
|
|
217
|
-
|
|
218
|
-
!e(
|
|
224
|
+
}, null, 8, ["text"])) : u("", !0),
|
|
225
|
+
t("ul", en, [
|
|
226
|
+
u("", !0),
|
|
227
|
+
!e(h) && k.value ? (l(), r("li", tn, [
|
|
219
228
|
t("div", null, [
|
|
220
|
-
|
|
229
|
+
f(ie, {
|
|
221
230
|
icon: "calendar-clock",
|
|
222
231
|
color: "header"
|
|
223
232
|
}),
|
|
224
|
-
t("span", null, o(e(
|
|
233
|
+
t("span", null, o(e(n)("event.lengthOfEvent")), 1)
|
|
225
234
|
]),
|
|
226
|
-
t("span", null, o(
|
|
227
|
-
])) :
|
|
228
|
-
i.timeFrom ? (l(), r("li",
|
|
235
|
+
t("span", null, o(k.value), 1)
|
|
236
|
+
])) : u("", !0),
|
|
237
|
+
i.timeFrom ? (l(), r("li", nn, [
|
|
229
238
|
t("div", null, [
|
|
230
|
-
|
|
239
|
+
f(ie, {
|
|
231
240
|
icon: "calendar-clock",
|
|
232
241
|
color: "header"
|
|
233
242
|
}),
|
|
234
|
-
t("span", null, o(e(
|
|
243
|
+
t("span", null, o(e(n)("event.startAndEndTime")), 1)
|
|
235
244
|
]),
|
|
236
|
-
e(
|
|
237
|
-
])) :
|
|
245
|
+
e(b) ? (l(), r("span", ln, o(e(ge)(i.timeFrom)), 1)) : (l(), r("span", an, o(e(Pt)(i.timeFrom, i.timeTo)), 1))
|
|
246
|
+
])) : u("", !0)
|
|
238
247
|
])
|
|
239
248
|
]),
|
|
240
|
-
action:
|
|
241
|
-
|
|
249
|
+
action: p(() => [
|
|
250
|
+
K(i.$slots, "action", {}, void 0, !0)
|
|
242
251
|
]),
|
|
243
252
|
_: 3
|
|
244
|
-
}, 8, ["listing-id", "name", "description", "gallery", "prices-from", "table-group-id", "max-guests", "use-number-of-products-for-persons", "to-date", "sold-out", "callback"]));
|
|
253
|
+
}, 8, ["listing-id", "name", "description", "gallery", "prices-from", "table-group-id", "max-guests", "use-number-of-products-for-persons", "to-date", "sold-out", "tracking-enabled", "callback"]));
|
|
245
254
|
}
|
|
246
|
-
}),
|
|
255
|
+
}), fe = /* @__PURE__ */ q(on, [["__scopeId", "data-v-40cbbf2c"]]), sn = {
|
|
247
256
|
key: 0,
|
|
248
257
|
class: "konnectio-event-grouped-listings-container"
|
|
249
|
-
},
|
|
258
|
+
}, rn = { class: "konnectio-event-grouped-listings" }, dn = /* @__PURE__ */ U({
|
|
250
259
|
__name: "Event",
|
|
251
260
|
props: {
|
|
252
261
|
name: {},
|
|
253
262
|
events: {},
|
|
263
|
+
trackingEnabled: { type: Boolean },
|
|
254
264
|
callback: { type: Function }
|
|
255
265
|
},
|
|
256
|
-
setup(
|
|
257
|
-
return (
|
|
258
|
-
|
|
259
|
-
t("ul",
|
|
260
|
-
(l(!0), r(
|
|
261
|
-
id:
|
|
262
|
-
days:
|
|
263
|
-
name:
|
|
266
|
+
setup(E) {
|
|
267
|
+
return (a, n) => a.events && a.events.length > 1 ? (l(), r("div", sn, [
|
|
268
|
+
u("", !0),
|
|
269
|
+
t("ul", rn, [
|
|
270
|
+
(l(!0), r(A, null, M(a.events, ({
|
|
271
|
+
id: h,
|
|
272
|
+
days: b,
|
|
273
|
+
name: k,
|
|
264
274
|
timeFrom: i,
|
|
265
|
-
timeTo:
|
|
266
|
-
tableGroupId:
|
|
275
|
+
timeTo: D,
|
|
276
|
+
tableGroupId: P,
|
|
267
277
|
description: s,
|
|
268
278
|
soldOut: T,
|
|
269
279
|
length: $,
|
|
270
280
|
images: C,
|
|
271
|
-
maxOnlineReservationLimit:
|
|
272
|
-
maxPaxPerReservation:
|
|
273
|
-
useNumberOfProductsForPersons:
|
|
281
|
+
maxOnlineReservationLimit: V,
|
|
282
|
+
maxPaxPerReservation: N,
|
|
283
|
+
useNumberOfProductsForPersons: m,
|
|
274
284
|
maxTicketsLimit: w
|
|
275
|
-
}) => (l(),
|
|
276
|
-
key:
|
|
285
|
+
}) => (l(), v(fe, {
|
|
286
|
+
key: h,
|
|
277
287
|
type: "event",
|
|
278
|
-
"listing-id":
|
|
279
|
-
"table-group-id":
|
|
288
|
+
"listing-id": h,
|
|
289
|
+
"table-group-id": P,
|
|
280
290
|
description: s,
|
|
281
|
-
name:
|
|
291
|
+
name: k,
|
|
282
292
|
length: $,
|
|
283
293
|
gallery: C,
|
|
284
|
-
days:
|
|
285
|
-
"max-online-reservation-limit":
|
|
294
|
+
days: b,
|
|
295
|
+
"max-online-reservation-limit": N || V || w || void 0,
|
|
286
296
|
"time-from": i,
|
|
287
|
-
"time-to":
|
|
297
|
+
"time-to": D,
|
|
288
298
|
"sold-out": T,
|
|
289
|
-
"use-number-of-products-for-persons":
|
|
290
|
-
|
|
291
|
-
|
|
299
|
+
"use-number-of-products-for-persons": m,
|
|
300
|
+
"tracking-enabled": a.trackingEnabled,
|
|
301
|
+
callback: a.callback
|
|
302
|
+
}, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "tracking-enabled", "callback"]))), 128))
|
|
292
303
|
])
|
|
293
|
-
])) :
|
|
294
|
-
key:
|
|
304
|
+
])) : a.events ? (l(), v(fe, {
|
|
305
|
+
key: a.events[0].id,
|
|
295
306
|
type: "event",
|
|
296
|
-
"listing-id":
|
|
297
|
-
"table-group-id":
|
|
298
|
-
description:
|
|
299
|
-
name:
|
|
300
|
-
length:
|
|
301
|
-
gallery:
|
|
302
|
-
days:
|
|
303
|
-
"from-date":
|
|
304
|
-
"to-date":
|
|
305
|
-
"max-online-reservation-limit":
|
|
306
|
-
"time-from":
|
|
307
|
-
"time-to":
|
|
308
|
-
"sold-out":
|
|
309
|
-
"use-number-of-products-for-persons":
|
|
310
|
-
|
|
311
|
-
|
|
307
|
+
"listing-id": a.events[0].id,
|
|
308
|
+
"table-group-id": a.events[0].tableGroupId,
|
|
309
|
+
description: a.events[0].description,
|
|
310
|
+
name: a.events[0].name,
|
|
311
|
+
length: a.events[0].length,
|
|
312
|
+
gallery: a.events[0].images,
|
|
313
|
+
days: a.events[0].days,
|
|
314
|
+
"from-date": a.events[0].fromDate,
|
|
315
|
+
"to-date": a.events[0].toDate,
|
|
316
|
+
"max-online-reservation-limit": a.events[0].maxPaxPerReservation || a.events[0].maxOnlineReservationLimit || a.events[0].maxTicketsLimit || void 0,
|
|
317
|
+
"time-from": a.events[0].timeFrom,
|
|
318
|
+
"time-to": a.events[0].timeTo,
|
|
319
|
+
"sold-out": a.events[0].soldOut,
|
|
320
|
+
"use-number-of-products-for-persons": a.events[0].useNumberOfProductsForPersons,
|
|
321
|
+
"tracking-enabled": a.trackingEnabled,
|
|
322
|
+
callback: a.callback
|
|
323
|
+
}, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "tracking-enabled", "callback"])) : u("", !0);
|
|
312
324
|
}
|
|
313
|
-
}),
|
|
325
|
+
}), un = /* @__PURE__ */ q(dn, [["__scopeId", "data-v-374ad034"]]), cn = { class: "konnectio-special-offer-availability" }, mn = { class: "konnectio-special-offer-availability-button" }, pn = { class: "konnectio-warning-notice" }, vn = { key: 0 }, bn = { key: 1 }, gn = /* @__PURE__ */ U({
|
|
314
326
|
__name: "NextEvent",
|
|
315
327
|
props: {
|
|
316
328
|
name: {},
|
|
@@ -331,18 +343,18 @@ const Kt = {
|
|
|
331
343
|
trackingEnabled: { type: Boolean },
|
|
332
344
|
callback: { type: Function }
|
|
333
345
|
},
|
|
334
|
-
setup(
|
|
335
|
-
const { t:
|
|
346
|
+
setup(E) {
|
|
347
|
+
const { t: a } = x(), { updateEventDate: n } = $e(), { display: h } = we(), b = Ie(), k = E;
|
|
336
348
|
function i() {
|
|
337
|
-
|
|
338
|
-
message:
|
|
349
|
+
b.value ? n(b.value) : h({
|
|
350
|
+
message: a("alert.error.selectDate"),
|
|
339
351
|
type: "error"
|
|
340
352
|
});
|
|
341
353
|
}
|
|
342
|
-
const
|
|
343
|
-
return
|
|
344
|
-
|
|
345
|
-
}), (s, T) => (l(),
|
|
354
|
+
const D = Z(() => Et(k.fromDate, k.toDate) <= 1), P = Z(() => [0, 1, 2, 3, 4, 5, 6].filter((s) => !$t(k.days).includes(s)));
|
|
355
|
+
return dt(() => {
|
|
356
|
+
D.value && (b.value = new Date(k.fromDate));
|
|
357
|
+
}), (s, T) => (l(), v(fe, {
|
|
346
358
|
name: s.name,
|
|
347
359
|
description: s.description,
|
|
348
360
|
"from-date": s.fromDate,
|
|
@@ -362,36 +374,36 @@ const Kt = {
|
|
|
362
374
|
callback: s.callback,
|
|
363
375
|
"disable-deep-link": !0
|
|
364
376
|
}, {
|
|
365
|
-
action:
|
|
377
|
+
action: p(() => [
|
|
366
378
|
t("div", null, [
|
|
367
|
-
t("div",
|
|
368
|
-
|
|
369
|
-
modelValue:
|
|
370
|
-
"onUpdate:modelValue": T[0] || (T[0] = ($) =>
|
|
371
|
-
label: `${e(
|
|
372
|
-
placeholder: e(
|
|
379
|
+
t("div", cn, [
|
|
380
|
+
f(Yt, {
|
|
381
|
+
modelValue: b.value,
|
|
382
|
+
"onUpdate:modelValue": T[0] || (T[0] = ($) => b.value = $),
|
|
383
|
+
label: `${e(a)("event.selectDate")}*`,
|
|
384
|
+
placeholder: e(a)("event.selectDate"),
|
|
373
385
|
"icon-type": "fas",
|
|
374
386
|
"icon-placement": "label",
|
|
375
|
-
readonly:
|
|
387
|
+
readonly: D.value,
|
|
376
388
|
"start-date": s.fromDate !== "0001-01-01T00:00:00Z" ? new Date(s.fromDate) : new Date(s.toDate),
|
|
377
389
|
"min-date": s.fromDate !== "0001-01-01T00:00:00Z" ? new Date(s.fromDate) : new Date(s.toDate),
|
|
378
390
|
"max-date": new Date(s.toDate),
|
|
379
|
-
"disabled-week-days":
|
|
391
|
+
"disabled-week-days": P.value
|
|
380
392
|
}, null, 8, ["modelValue", "label", "placeholder", "readonly", "start-date", "min-date", "max-date", "disabled-week-days"]),
|
|
381
|
-
t("div",
|
|
382
|
-
|
|
383
|
-
label: e(
|
|
384
|
-
onClick:
|
|
393
|
+
t("div", mn, [
|
|
394
|
+
f(be, {
|
|
395
|
+
label: e(a)("availability.buttonLabel"),
|
|
396
|
+
onClick: ut(i, ["prevent"])
|
|
385
397
|
}, null, 8, ["label"])
|
|
386
398
|
])
|
|
387
399
|
]),
|
|
388
|
-
t("div",
|
|
389
|
-
|
|
390
|
-
|
|
400
|
+
t("div", pn, [
|
|
401
|
+
D.value ? (l(), r("span", vn, [
|
|
402
|
+
ve("*" + o(e(a)("event.canBeBooked")) + " ", 1),
|
|
391
403
|
t("u", null, o(e(G)(s.fromDate)), 1)
|
|
392
|
-
])) : (l(), r("span",
|
|
393
|
-
|
|
394
|
-
t("u", null, o(e(
|
|
404
|
+
])) : (l(), r("span", bn, [
|
|
405
|
+
ve("*" + o(e(a)("event.canBeBooked")) + " ", 1),
|
|
406
|
+
t("u", null, o(e(wt)(s.days)), 1)
|
|
395
407
|
]))
|
|
396
408
|
])
|
|
397
409
|
])
|
|
@@ -399,7 +411,7 @@ const Kt = {
|
|
|
399
411
|
_: 1
|
|
400
412
|
}, 8, ["name", "description", "from-date", "to-date", "length", "time-from", "time-to", "gallery", "days", "listing-id", "table-group-id", "max-online-reservation-limit", "minimum-person-count", "use-number-of-products-for-persons", "tracking-enabled", "sold-out", "callback"]));
|
|
401
413
|
}
|
|
402
|
-
}),
|
|
414
|
+
}), fn = /* @__PURE__ */ q(gn, [["__scopeId", "data-v-f6aed3b0"]]), kn = ["innerHTML"], yn = /* @__PURE__ */ U({
|
|
403
415
|
__name: "FallbackEvent",
|
|
404
416
|
props: {
|
|
405
417
|
name: {},
|
|
@@ -408,30 +420,32 @@ const Kt = {
|
|
|
408
420
|
gallery: {},
|
|
409
421
|
days: {},
|
|
410
422
|
listingId: {},
|
|
423
|
+
trackingEnabled: { type: Boolean },
|
|
411
424
|
callback: { type: Function }
|
|
412
425
|
},
|
|
413
|
-
setup(
|
|
414
|
-
const { t:
|
|
415
|
-
return (
|
|
416
|
-
name:
|
|
417
|
-
description:
|
|
418
|
-
"from-date":
|
|
419
|
-
gallery:
|
|
420
|
-
days:
|
|
421
|
-
"listing-id":
|
|
422
|
-
|
|
426
|
+
setup(E) {
|
|
427
|
+
const { t: a } = x();
|
|
428
|
+
return (n, h) => (l(), v(fe, {
|
|
429
|
+
name: n.name,
|
|
430
|
+
description: n.description,
|
|
431
|
+
"from-date": n.fromDate,
|
|
432
|
+
gallery: n.gallery,
|
|
433
|
+
days: n.days,
|
|
434
|
+
"listing-id": n.listingId,
|
|
435
|
+
"tracking-enabled": n.trackingEnabled,
|
|
436
|
+
callback: n.callback,
|
|
423
437
|
"disable-deep-link": !0
|
|
424
438
|
}, {
|
|
425
|
-
action:
|
|
439
|
+
action: p(() => [
|
|
426
440
|
t("div", {
|
|
427
441
|
class: "konnectio-filter-notice konnectio-top-message",
|
|
428
|
-
innerHTML: e(
|
|
429
|
-
}, null, 8,
|
|
442
|
+
innerHTML: e(a)("event.notAvailable", { name: `<b>${n.name}</b>` })
|
|
443
|
+
}, null, 8, kn)
|
|
430
444
|
]),
|
|
431
445
|
_: 1
|
|
432
|
-
}, 8, ["name", "description", "from-date", "gallery", "days", "listing-id", "callback"]));
|
|
446
|
+
}, 8, ["name", "description", "from-date", "gallery", "days", "listing-id", "tracking-enabled", "callback"]));
|
|
433
447
|
}
|
|
434
|
-
}),
|
|
448
|
+
}), hn = /* @__PURE__ */ q(yn, [["__scopeId", "data-v-0167deff"]]), Dn = /* @__PURE__ */ U({
|
|
435
449
|
__name: "Template",
|
|
436
450
|
props: {
|
|
437
451
|
name: {},
|
|
@@ -447,182 +461,183 @@ const Kt = {
|
|
|
447
461
|
trackingEnabled: { type: Boolean },
|
|
448
462
|
callback: {}
|
|
449
463
|
},
|
|
450
|
-
setup(
|
|
451
|
-
return (
|
|
452
|
-
"listing-id":
|
|
453
|
-
gallery:
|
|
454
|
-
name:
|
|
455
|
-
description:
|
|
456
|
-
"prices-from":
|
|
457
|
-
"to-date":
|
|
464
|
+
setup(E) {
|
|
465
|
+
return (a, n) => (l(), v(Me, {
|
|
466
|
+
"listing-id": a.listingId,
|
|
467
|
+
gallery: a.images,
|
|
468
|
+
name: a.name,
|
|
469
|
+
description: a.description,
|
|
470
|
+
"prices-from": a.fromPrice,
|
|
471
|
+
"to-date": a.toDate,
|
|
458
472
|
type: "template",
|
|
459
|
-
|
|
460
|
-
|
|
473
|
+
"tracking-enabled": a.trackingEnabled,
|
|
474
|
+
callback: a.callback
|
|
475
|
+
}, null, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "tracking-enabled", "callback"]));
|
|
461
476
|
}
|
|
462
|
-
}),
|
|
477
|
+
}), Pn = {
|
|
463
478
|
key: 0,
|
|
464
479
|
class: "konnectio-panel konnectio-reservation-notice-mobile"
|
|
465
|
-
},
|
|
480
|
+
}, En = ["innerHTML"], $n = { key: 0 }, wn = { key: 1 }, On = { key: 2 }, Tn = { key: 0 }, Vn = { key: 4 }, _n = { key: 5 }, Nn = { key: 6 }, Fn = { key: 0 }, Cn = { key: 0 }, Ln = { key: 1 }, Bn = {
|
|
466
481
|
key: 0,
|
|
467
482
|
class: "konnectio-capitalize"
|
|
468
|
-
},
|
|
483
|
+
}, An = /* @__PURE__ */ U({
|
|
469
484
|
__name: "EventReservationForm",
|
|
470
485
|
props: {
|
|
471
486
|
showGiftCard: { type: Boolean, default: !1 },
|
|
472
487
|
showTermsNotice: { type: Boolean, default: !1 },
|
|
473
488
|
prevCallback: {}
|
|
474
489
|
},
|
|
475
|
-
setup(
|
|
476
|
-
const { t:
|
|
477
|
-
areListingsAvailable:
|
|
478
|
-
arrivalTime:
|
|
479
|
-
numberOfPeople:
|
|
490
|
+
setup(E) {
|
|
491
|
+
const { t: a } = x(), n = ct(), {
|
|
492
|
+
areListingsAvailable: h,
|
|
493
|
+
arrivalTime: b,
|
|
494
|
+
numberOfPeople: k,
|
|
480
495
|
numberOfRooms: i,
|
|
481
|
-
numberOfTotalDays:
|
|
482
|
-
isTemplateEvent:
|
|
496
|
+
numberOfTotalDays: D,
|
|
497
|
+
isTemplateEvent: P,
|
|
483
498
|
currentEventDate: s,
|
|
484
499
|
length: T,
|
|
485
500
|
fromDate: $,
|
|
486
501
|
tableBasePrice: C,
|
|
487
|
-
getTemplateData:
|
|
488
|
-
basePrice:
|
|
489
|
-
totalPrice:
|
|
502
|
+
getTemplateData: V,
|
|
503
|
+
basePrice: N,
|
|
504
|
+
totalPrice: m,
|
|
490
505
|
weekendFee: w,
|
|
491
|
-
roomUpgrade:
|
|
492
|
-
discountCode:
|
|
493
|
-
totalSelectedProducts:
|
|
494
|
-
discountValue:
|
|
495
|
-
appliedDiscountCode:
|
|
496
|
-
} = z(
|
|
497
|
-
return (H,
|
|
498
|
-
"discount-code": e(
|
|
499
|
-
"onUpdate:discountCode":
|
|
500
|
-
"validate-discount-code": e(
|
|
506
|
+
roomUpgrade: ee,
|
|
507
|
+
discountCode: Y,
|
|
508
|
+
totalSelectedProducts: y,
|
|
509
|
+
discountValue: R,
|
|
510
|
+
appliedDiscountCode: Q
|
|
511
|
+
} = z(X()), { totalAddonPrice: de, validateDiscountCode: ke } = X(), { currency: ue, hideEventLength: ye } = z(re()), te = a("event.reservationNotice");
|
|
512
|
+
return (H, ce) => (l(), v(Bt, {
|
|
513
|
+
"discount-code": e(Y),
|
|
514
|
+
"onUpdate:discountCode": ce[0] || (ce[0] = (j) => S(Y) ? Y.value = j : null),
|
|
515
|
+
"validate-discount-code": e(ke),
|
|
501
516
|
"show-gift-card": H.showGiftCard,
|
|
502
517
|
"show-terms-notice": H.showTermsNotice,
|
|
503
|
-
"is-sidebar-loading": !e(
|
|
504
|
-
"base-price": e(
|
|
505
|
-
"total-price": e(
|
|
518
|
+
"is-sidebar-loading": !e(h),
|
|
519
|
+
"base-price": e(N),
|
|
520
|
+
"total-price": e(m),
|
|
506
521
|
"weekend-fee": e(w),
|
|
507
|
-
"room-upgrade": e(
|
|
508
|
-
notice: e(
|
|
522
|
+
"room-upgrade": e(ee),
|
|
523
|
+
notice: e(te),
|
|
509
524
|
"prev-callback": H.prevCallback
|
|
510
|
-
},
|
|
511
|
-
form:
|
|
512
|
-
|
|
513
|
-
e(
|
|
525
|
+
}, mt({
|
|
526
|
+
form: p(() => [
|
|
527
|
+
K(H.$slots, "form", {}, void 0, !0),
|
|
528
|
+
e(te) ? (l(), r("div", Pn, [
|
|
514
529
|
t("p", {
|
|
515
|
-
innerHTML: e(
|
|
530
|
+
innerHTML: e(te),
|
|
516
531
|
class: "konnectio-wysiwyg"
|
|
517
|
-
}, null, 8,
|
|
518
|
-
])) :
|
|
532
|
+
}, null, 8, En)
|
|
533
|
+
])) : u("", !0)
|
|
519
534
|
]),
|
|
520
|
-
"reservation-summary":
|
|
521
|
-
e(
|
|
522
|
-
t("span", null, o(e(
|
|
535
|
+
"reservation-summary": p(() => [
|
|
536
|
+
e(P) ? u("", !0) : (l(), r("li", $n, [
|
|
537
|
+
t("span", null, o(e(a)("general.date")), 1),
|
|
523
538
|
t("b", null, o(e(G)(e(s))), 1)
|
|
524
539
|
])),
|
|
525
|
-
e(
|
|
526
|
-
t("span", null, o(e(
|
|
527
|
-
t("b", null, o(e(
|
|
528
|
-
])) :
|
|
529
|
-
!e(
|
|
530
|
-
t("span", null, o(e(
|
|
531
|
-
t("b", null, o(e(
|
|
532
|
-
])) :
|
|
533
|
-
e(
|
|
540
|
+
e(k) > 0 ? (l(), r("li", wn, [
|
|
541
|
+
t("span", null, o(e(a)("event.numberOfGuests")), 1),
|
|
542
|
+
t("b", null, o(e(k)), 1)
|
|
543
|
+
])) : u("", !0),
|
|
544
|
+
!e(P) && e(y) > 0 ? (l(), r("li", On, [
|
|
545
|
+
t("span", null, o(e(a)("event.numberOfProducts")), 1),
|
|
546
|
+
t("b", null, o(e(y)), 1)
|
|
547
|
+
])) : u("", !0),
|
|
548
|
+
e(P) ? (l(), r(A, { key: 3 }, [
|
|
534
549
|
t("li", null, [
|
|
535
|
-
t("span", null, o(e(
|
|
550
|
+
t("span", null, o(e(a)("booking.reservation.arrival")), 1),
|
|
536
551
|
t("b", null, o(e(G)(e($))), 1)
|
|
537
552
|
]),
|
|
538
553
|
t("li", null, [
|
|
539
|
-
t("span", null, o(e(
|
|
540
|
-
t("b", null, o(e(G)(e($), e(
|
|
554
|
+
t("span", null, o(e(a)("booking.reservation.departure")), 1),
|
|
555
|
+
t("b", null, o(e(G)(e($), e(D))), 1)
|
|
541
556
|
]),
|
|
542
557
|
t("li", null, [
|
|
543
|
-
t("span", null, o(e(
|
|
558
|
+
t("span", null, o(e(a)("event.numberOfRooms")), 1),
|
|
544
559
|
t("b", null, o(e(i)), 1)
|
|
545
560
|
]),
|
|
546
|
-
e(
|
|
547
|
-
t("span", null, o(e(
|
|
548
|
-
t("b", null, o(e(
|
|
549
|
-
])) :
|
|
550
|
-
], 64)) :
|
|
551
|
-
!e(
|
|
552
|
-
t("span", null, o(e(
|
|
553
|
-
t("b", null, o(e(
|
|
554
|
-
])) :
|
|
555
|
-
!e(
|
|
556
|
-
t("span", null, o(e(
|
|
557
|
-
t("b", null, o(e(
|
|
558
|
-
])) :
|
|
559
|
-
e(
|
|
560
|
-
t("span", null, o(e(
|
|
561
|
-
t("b", null, o(e(
|
|
562
|
-
])) :
|
|
561
|
+
e(D) > 0 ? (l(), r("li", Tn, [
|
|
562
|
+
t("span", null, o(e(a)("event.numberOfDays")), 1),
|
|
563
|
+
t("b", null, o(e(D)), 1)
|
|
564
|
+
])) : u("", !0)
|
|
565
|
+
], 64)) : u("", !0),
|
|
566
|
+
!e(P) && e(b) ? (l(), r("li", Vn, [
|
|
567
|
+
t("span", null, o(e(a)("event.startOfEvent")), 1),
|
|
568
|
+
t("b", null, o(e(ge)(e(b))), 1)
|
|
569
|
+
])) : u("", !0),
|
|
570
|
+
!e(P) && e(T) && !e(ye) ? (l(), r("li", _n, [
|
|
571
|
+
t("span", null, o(e(a)("event.lengthOfEvent")), 1),
|
|
572
|
+
t("b", null, o(e(ge)(e(T))), 1)
|
|
573
|
+
])) : u("", !0),
|
|
574
|
+
e(R) ? (l(), r("li", Nn, [
|
|
575
|
+
t("span", null, o(e(a)("general.discountCode")), 1),
|
|
576
|
+
t("b", null, o(e(Q)), 1)
|
|
577
|
+
])) : u("", !0)
|
|
563
578
|
]),
|
|
564
|
-
"price-summary":
|
|
565
|
-
!e(
|
|
566
|
-
t("span", null, o(e(
|
|
567
|
-
t("b", null, o(e(
|
|
568
|
-
])) :
|
|
569
|
-
e(
|
|
570
|
-
e(
|
|
571
|
-
t("span", null, o(e(
|
|
572
|
-
t("b", null, o(e(
|
|
573
|
-
])) :
|
|
574
|
-
], 64))), 256)) :
|
|
579
|
+
"price-summary": p(() => [
|
|
580
|
+
!e(P) && e(C) > 0 ? (l(), r("li", Fn, [
|
|
581
|
+
t("span", null, o(e(a)("booking.availability.basePrice")), 1),
|
|
582
|
+
t("b", null, o(e(J)(e(C), e(ue))), 1)
|
|
583
|
+
])) : u("", !0),
|
|
584
|
+
e(V) ? (l(!0), r(A, { key: 1 }, M(e(V), ({ roomGroupId: j }, W) => (l(), r(A, null, [
|
|
585
|
+
e(de)(j, W) > 0 ? (l(), r("li", { key: j }, [
|
|
586
|
+
t("span", null, o(e(a)("booking.reservation.addons")) + " - " + o(e(a)("booking.reservation.room")) + " #" + o(W + 1), 1),
|
|
587
|
+
t("b", null, o(e(J)(e(de)(j, W), e(ue))), 1)
|
|
588
|
+
])) : u("", !0)
|
|
589
|
+
], 64))), 256)) : u("", !0)
|
|
575
590
|
]),
|
|
576
|
-
navigation:
|
|
577
|
-
|
|
591
|
+
navigation: p(() => [
|
|
592
|
+
K(H.$slots, "navigation", {}, void 0, !0)
|
|
578
593
|
]),
|
|
579
|
-
"mobile-under-price":
|
|
580
|
-
e(
|
|
581
|
-
t("span", null, o(e(G)(e($))) + " - " + o(e(G)(e($), e(
|
|
582
|
-
])) : (l(), r("div",
|
|
594
|
+
"mobile-under-price": p(() => [
|
|
595
|
+
e(P) && e(D) > 0 ? (l(), r("div", Cn, [
|
|
596
|
+
t("span", null, o(e(G)(e($))) + " - " + o(e(G)(e($), e(D))), 1)
|
|
597
|
+
])) : (l(), r("div", Ln, [
|
|
583
598
|
t("span", null, o(e(G)(e(s))), 1)
|
|
584
599
|
]))
|
|
585
600
|
]),
|
|
586
|
-
"mobile-summary":
|
|
587
|
-
!e(
|
|
601
|
+
"mobile-summary": p(() => [
|
|
602
|
+
!e(P) && e(y) > 0 ? (l(), r("span", Bn, o(e(a)("event.numberOfProducts")) + ": " + o(e(y)), 1)) : u("", !0)
|
|
588
603
|
]),
|
|
589
604
|
_: 2
|
|
590
605
|
}, [
|
|
591
|
-
e(
|
|
606
|
+
e(n).sidebar ? {
|
|
592
607
|
name: "sidebar",
|
|
593
|
-
fn:
|
|
594
|
-
|
|
608
|
+
fn: p(() => [
|
|
609
|
+
K(H.$slots, "sidebar", {}, void 0, !0)
|
|
595
610
|
]),
|
|
596
611
|
key: "0"
|
|
597
612
|
} : void 0
|
|
598
613
|
]), 1032, ["discount-code", "validate-discount-code", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "base-price", "total-price", "weekend-fee", "room-upgrade", "notice", "prev-callback"]));
|
|
599
614
|
}
|
|
600
|
-
}),
|
|
615
|
+
}), Ee = /* @__PURE__ */ q(An, [["__scopeId", "data-v-d2ff3f68"]]), In = { class: "event-skeleton" }, Sn = { class: "event-skeleton-content" }, Rn = { class: "event-skeleton-sidebar" }, Mn = /* @__PURE__ */ U({
|
|
601
616
|
__name: "EventSkeleton",
|
|
602
|
-
setup(
|
|
603
|
-
return (
|
|
604
|
-
t("div",
|
|
605
|
-
|
|
617
|
+
setup(E) {
|
|
618
|
+
return (a, n) => (l(), r("div", In, [
|
|
619
|
+
t("div", Sn, [
|
|
620
|
+
f(Re)
|
|
606
621
|
]),
|
|
607
|
-
t("div",
|
|
608
|
-
|
|
609
|
-
|
|
622
|
+
t("div", Rn, [
|
|
623
|
+
u("", !0),
|
|
624
|
+
f(At)
|
|
610
625
|
])
|
|
611
626
|
]));
|
|
612
627
|
}
|
|
613
|
-
}),
|
|
628
|
+
}), Un = /* @__PURE__ */ q(Mn, [["__scopeId", "data-v-3e15c4e3"]]), Hn = {
|
|
614
629
|
key: 0,
|
|
615
630
|
id: "konnectio-event-listings-wrapper"
|
|
616
|
-
},
|
|
631
|
+
}, Gn = {
|
|
617
632
|
key: 1,
|
|
618
633
|
class: "konnectio-hotel-availability-title"
|
|
619
|
-
},
|
|
634
|
+
}, zn = { class: "konnectio-event-listings" }, qn = { class: "konnectio-hotel-availability-title" }, Yn = { class: "konnectio-event-listings" }, jn = ["innerHTML"], Wn = { class: "konnectio-panel" }, Zn = {
|
|
620
635
|
key: 0,
|
|
621
636
|
id: "konnectio-event-addons"
|
|
622
|
-
},
|
|
637
|
+
}, Qn = { class: "konnectio-table with-lines" }, Jn = { class: "konnectio-event-addons-price" }, Kn = { class: "konnectio-event-addons-input" }, Xn = { class: "konnectio-event-addons-price" }, xn = { class: "konnectio-event-addons-price" }, ea = {
|
|
623
638
|
key: 1,
|
|
624
639
|
class: "konnectio-table with-lines without-header"
|
|
625
|
-
},
|
|
640
|
+
}, ta = { class: "konnectio-table-addons-information" }, na = { key: 0 }, aa = { class: "konnectio-table-addons-option" }, la = { class: "konnectio-panel" }, oa = /* @__PURE__ */ U({
|
|
626
641
|
name: "EventLayout",
|
|
627
642
|
__name: "Event",
|
|
628
643
|
props: {
|
|
@@ -637,61 +652,61 @@ const Kt = {
|
|
|
637
652
|
showHighChairs: {},
|
|
638
653
|
styling: {}
|
|
639
654
|
},
|
|
640
|
-
setup(
|
|
641
|
-
const
|
|
642
|
-
addons:
|
|
643
|
-
products:
|
|
644
|
-
numberOfDays:
|
|
655
|
+
setup(E) {
|
|
656
|
+
const a = E, { t: n } = x(), {
|
|
657
|
+
addons: h,
|
|
658
|
+
products: b,
|
|
659
|
+
numberOfDays: k,
|
|
645
660
|
flagOnTable: i,
|
|
646
|
-
numberOfHighChairs:
|
|
647
|
-
name:
|
|
661
|
+
numberOfHighChairs: D,
|
|
662
|
+
name: P,
|
|
648
663
|
phone: s,
|
|
649
664
|
email: T,
|
|
650
665
|
remark: $,
|
|
651
666
|
allergies: C,
|
|
652
|
-
arrivalTime:
|
|
653
|
-
hasEvents:
|
|
654
|
-
hasTemplates:
|
|
667
|
+
arrivalTime: V,
|
|
668
|
+
hasEvents: N,
|
|
669
|
+
hasTemplates: m,
|
|
655
670
|
getEvents: w,
|
|
656
|
-
getTemplates:
|
|
657
|
-
getEventData:
|
|
658
|
-
getTemplateData:
|
|
659
|
-
getEventTableData:
|
|
660
|
-
hasProducts:
|
|
661
|
-
eventRateType:
|
|
662
|
-
areListingsAvailable:
|
|
663
|
-
isAvailabilityDataAvailable:
|
|
664
|
-
hasListingData:
|
|
665
|
-
isPaymentLoading:
|
|
671
|
+
getTemplates: ee,
|
|
672
|
+
getEventData: Y,
|
|
673
|
+
getTemplateData: y,
|
|
674
|
+
getEventTableData: R,
|
|
675
|
+
hasProducts: Q,
|
|
676
|
+
eventRateType: de,
|
|
677
|
+
areListingsAvailable: ke,
|
|
678
|
+
isAvailabilityDataAvailable: ue,
|
|
679
|
+
hasListingData: ye,
|
|
680
|
+
isPaymentLoading: te,
|
|
666
681
|
isReservationFormFilled: H,
|
|
667
|
-
requiresArrivalTime:
|
|
682
|
+
requiresArrivalTime: ce,
|
|
668
683
|
hasSelectedRequiredProducts: j,
|
|
669
684
|
getUnavailableEvents: W,
|
|
670
|
-
hasFallbackEvents:
|
|
671
|
-
getFallbackEvents:
|
|
672
|
-
} = z(
|
|
673
|
-
initialize:
|
|
674
|
-
fetchListings:
|
|
675
|
-
createBooking:
|
|
676
|
-
localAddonPrice:
|
|
677
|
-
totalAddonPrice:
|
|
678
|
-
reset:
|
|
679
|
-
goBack:
|
|
680
|
-
} =
|
|
685
|
+
hasFallbackEvents: Oe,
|
|
686
|
+
getFallbackEvents: Ue
|
|
687
|
+
} = z(X()), { currency: me, enableTracking: ne } = z(re()), { setActiveIdFilter: He } = re(), { eventDate: Ge, eventLocation: ze } = z($e()), { isValidRestaurantId: qe } = $e(), {
|
|
688
|
+
initialize: Ye,
|
|
689
|
+
fetchListings: je,
|
|
690
|
+
createBooking: We,
|
|
691
|
+
localAddonPrice: Ze,
|
|
692
|
+
totalAddonPrice: Qe,
|
|
693
|
+
reset: Je,
|
|
694
|
+
goBack: Te
|
|
695
|
+
} = X(), { beginEventCheckout: Ke } = Se(), { display: he } = we(), Xe = Z(() => [
|
|
681
696
|
{
|
|
682
697
|
id: "availability",
|
|
683
|
-
label:
|
|
698
|
+
label: n("booking.availability.title"),
|
|
684
699
|
icon: "search"
|
|
685
700
|
},
|
|
686
701
|
{
|
|
687
702
|
id: "addons",
|
|
688
|
-
label:
|
|
703
|
+
label: n("general.addons"),
|
|
689
704
|
icon: "shopping-cart",
|
|
690
705
|
hidden: !1
|
|
691
706
|
},
|
|
692
707
|
{
|
|
693
708
|
id: "reservation",
|
|
694
|
-
label:
|
|
709
|
+
label: n("booking.reservation.title"),
|
|
695
710
|
icon: "concierge-bell"
|
|
696
711
|
},
|
|
697
712
|
{
|
|
@@ -700,242 +715,249 @@ const Kt = {
|
|
|
700
715
|
},
|
|
701
716
|
{
|
|
702
717
|
id: "confirmation",
|
|
703
|
-
label:
|
|
718
|
+
label: n("booking.confirmation.title"),
|
|
704
719
|
icon: "calendar-check"
|
|
705
720
|
}
|
|
706
|
-
]),
|
|
721
|
+
]), xe = Z(() => {
|
|
707
722
|
const g = [];
|
|
708
|
-
return
|
|
723
|
+
return R.value && R.value.forEach((c) => {
|
|
709
724
|
g.find((F) => F.value === c.time) || g.push({
|
|
710
|
-
label:
|
|
725
|
+
label: ge(c.time),
|
|
711
726
|
value: c.time
|
|
712
727
|
});
|
|
713
728
|
}), g;
|
|
714
729
|
});
|
|
715
|
-
function
|
|
716
|
-
|
|
730
|
+
function et() {
|
|
731
|
+
Je(a.resetDate === "yes");
|
|
732
|
+
}
|
|
733
|
+
function tt(g) {
|
|
734
|
+
ne.value && Ke(), We(g);
|
|
717
735
|
}
|
|
718
|
-
function
|
|
719
|
-
const g =
|
|
736
|
+
function nt() {
|
|
737
|
+
const g = _t("history", {
|
|
720
738
|
removeNullishValues: !0
|
|
721
|
-
}), c = parseInt(g.rid), F = g.d,
|
|
739
|
+
}), c = parseInt(g.rid), F = g.d, O = parseInt(g.eid);
|
|
722
740
|
if (F)
|
|
723
|
-
if (
|
|
724
|
-
const
|
|
725
|
-
|
|
726
|
-
message:
|
|
741
|
+
if (Nt(F)) {
|
|
742
|
+
const d = new Date(F), L = d.setHours(12, 0, 0, 0), I = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
|
|
743
|
+
L >= I ? Ge.value = d : (he({
|
|
744
|
+
message: n("alert.error.invalidDateRange"),
|
|
727
745
|
type: "error"
|
|
728
746
|
}), g.d = void 0);
|
|
729
747
|
} else
|
|
730
|
-
|
|
731
|
-
message:
|
|
748
|
+
he({
|
|
749
|
+
message: n("alert.error.wrongDateFormat"),
|
|
732
750
|
type: "error"
|
|
733
751
|
});
|
|
734
|
-
isNaN(c) || (
|
|
735
|
-
message:
|
|
752
|
+
isNaN(c) || (qe(c) ? ze.value = c : (g.rid = void 0, he({
|
|
753
|
+
message: n("alert.error.hotelIdNotFound"),
|
|
736
754
|
type: "error"
|
|
737
|
-
}))), isNaN(
|
|
755
|
+
}))), isNaN(O) || He(O), je();
|
|
738
756
|
}
|
|
739
|
-
return (g, c) => (l(),
|
|
740
|
-
default:
|
|
741
|
-
(l(),
|
|
742
|
-
default:
|
|
743
|
-
|
|
757
|
+
return (g, c) => (l(), v(Vt, { styling: g.styling }, {
|
|
758
|
+
default: p(() => [
|
|
759
|
+
(l(), v(pt, { onResolve: nt }, {
|
|
760
|
+
default: p(() => [
|
|
761
|
+
f(Ft, {
|
|
744
762
|
id: "konnectio-event-module",
|
|
745
763
|
"access-token": g.accessToken,
|
|
746
|
-
callback: e(
|
|
764
|
+
callback: e(Ye)
|
|
747
765
|
}, {
|
|
748
|
-
default:
|
|
749
|
-
|
|
750
|
-
steps:
|
|
751
|
-
onReset:
|
|
766
|
+
default: p(() => [
|
|
767
|
+
f(It, {
|
|
768
|
+
steps: Xe.value,
|
|
769
|
+
onReset: et
|
|
752
770
|
}, {
|
|
753
|
-
availability:
|
|
754
|
-
|
|
755
|
-
sidebar:
|
|
756
|
-
|
|
771
|
+
availability: p(({ next: F }) => [
|
|
772
|
+
f(Ee, null, {
|
|
773
|
+
sidebar: p(() => [
|
|
774
|
+
f(Zt, {
|
|
757
775
|
redirection: !1,
|
|
758
776
|
"selected-location": Number(g.selectedLocation),
|
|
759
777
|
"hide-locations": g.hideLocations === "yes"
|
|
760
778
|
}, null, 8, ["selected-location", "hide-locations"])
|
|
761
779
|
]),
|
|
762
|
-
form:
|
|
763
|
-
e(
|
|
764
|
-
e(
|
|
765
|
-
id:
|
|
766
|
-
name:
|
|
767
|
-
description:
|
|
768
|
-
images:
|
|
769
|
-
}) => (l(),
|
|
770
|
-
key:
|
|
780
|
+
form: p(() => [
|
|
781
|
+
e(ye) && e(ke) ? (l(), r("div", Hn, [
|
|
782
|
+
e(Oe) ? (l(!0), r(A, { key: 0 }, M(e(Ue), ({
|
|
783
|
+
id: O,
|
|
784
|
+
name: d,
|
|
785
|
+
description: L,
|
|
786
|
+
images: I
|
|
787
|
+
}) => (l(), v(hn, {
|
|
788
|
+
key: O,
|
|
771
789
|
type: "event",
|
|
772
|
-
"listing-id":
|
|
773
|
-
description:
|
|
774
|
-
name:
|
|
775
|
-
gallery:
|
|
790
|
+
"listing-id": O,
|
|
791
|
+
description: L,
|
|
792
|
+
name: d,
|
|
793
|
+
gallery: I,
|
|
794
|
+
"tracking-enabled": e(ne),
|
|
776
795
|
callback: F
|
|
777
|
-
}, null, 8, ["listing-id", "description", "name", "gallery", "callback"]))), 128)) :
|
|
778
|
-
e(
|
|
779
|
-
|
|
796
|
+
}, null, 8, ["listing-id", "description", "name", "gallery", "tracking-enabled", "callback"]))), 128)) : u("", !0),
|
|
797
|
+
e(N) && e(W).length > 0 ? (l(), r("h2", Gn, [
|
|
798
|
+
f(ie, {
|
|
780
799
|
icon: "calendar-clock",
|
|
781
800
|
type: "fal",
|
|
782
801
|
color: "header"
|
|
783
802
|
}),
|
|
784
|
-
t("span", null, o(e(
|
|
785
|
-
])) :
|
|
786
|
-
t("ul",
|
|
787
|
-
e(
|
|
788
|
-
name:
|
|
789
|
-
events:
|
|
803
|
+
t("span", null, o(e(n)("event.availableNow")), 1)
|
|
804
|
+
])) : u("", !0),
|
|
805
|
+
t("ul", zn, [
|
|
806
|
+
e(N) && g.onlyShow !== "templates" ? (l(!0), r(A, { key: 0 }, M(e(w), (O) => (l(), v(un, {
|
|
807
|
+
name: O.name,
|
|
808
|
+
events: O.events,
|
|
809
|
+
"tracking-enabled": e(ne),
|
|
790
810
|
callback: F
|
|
791
|
-
}, null, 8, ["name", "events", "callback"]))), 256)) :
|
|
792
|
-
e(
|
|
793
|
-
id:
|
|
794
|
-
name:
|
|
795
|
-
fromDate:
|
|
796
|
-
toDate:
|
|
797
|
-
minimumPersonCount:
|
|
798
|
-
fromPrice:
|
|
799
|
-
description:
|
|
800
|
-
images:
|
|
801
|
-
}) => (l(),
|
|
802
|
-
key:
|
|
803
|
-
"listing-id":
|
|
804
|
-
name:
|
|
805
|
-
images:
|
|
806
|
-
description:
|
|
807
|
-
"from-date":
|
|
808
|
-
"to-date":
|
|
809
|
-
"minimum-person-count":
|
|
810
|
-
fromPrice:
|
|
811
|
+
}, null, 8, ["name", "events", "tracking-enabled", "callback"]))), 256)) : u("", !0),
|
|
812
|
+
e(m) && g.onlyShow !== "events" ? (l(!0), r(A, { key: 1 }, M(e(ee), ({
|
|
813
|
+
id: O,
|
|
814
|
+
name: d,
|
|
815
|
+
fromDate: L,
|
|
816
|
+
toDate: I,
|
|
817
|
+
minimumPersonCount: _,
|
|
818
|
+
fromPrice: B,
|
|
819
|
+
description: ae,
|
|
820
|
+
images: le
|
|
821
|
+
}) => (l(), v(Dn, {
|
|
822
|
+
key: O,
|
|
823
|
+
"listing-id": O,
|
|
824
|
+
name: d,
|
|
825
|
+
images: le,
|
|
826
|
+
description: ae,
|
|
827
|
+
"from-date": L,
|
|
828
|
+
"to-date": I,
|
|
829
|
+
"minimum-person-count": _,
|
|
830
|
+
fromPrice: B,
|
|
831
|
+
"tracking-enabled": e(ne),
|
|
811
832
|
callback: F
|
|
812
|
-
}, null, 8, ["listing-id", "name", "images", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128)) :
|
|
833
|
+
}, null, 8, ["listing-id", "name", "images", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "tracking-enabled", "callback"]))), 128)) : u("", !0)
|
|
813
834
|
]),
|
|
814
|
-
e(W).length > 0 && g.onlyShow !== "templates" ? (l(), r(
|
|
815
|
-
t("h2",
|
|
816
|
-
|
|
835
|
+
e(W).length > 0 && g.onlyShow !== "templates" ? (l(), r(A, { key: 2 }, [
|
|
836
|
+
t("h2", qn, [
|
|
837
|
+
f(ie, {
|
|
817
838
|
icon: "calendar-circle-exclamation",
|
|
818
839
|
type: "fal",
|
|
819
840
|
color: "header"
|
|
820
841
|
}),
|
|
821
|
-
t("span", null, o(e(
|
|
842
|
+
t("span", null, o(e(n)("event.availableLater")), 1)
|
|
822
843
|
]),
|
|
823
|
-
t("ul",
|
|
824
|
-
(l(!0), r(
|
|
825
|
-
id:
|
|
826
|
-
days:
|
|
827
|
-
name:
|
|
828
|
-
timeFrom:
|
|
829
|
-
timeTo:
|
|
830
|
-
fromDate:
|
|
831
|
-
toDate:
|
|
832
|
-
tableGroupId:
|
|
833
|
-
description:
|
|
834
|
-
soldOut:
|
|
835
|
-
length:
|
|
836
|
-
images:
|
|
837
|
-
maxOnlineReservationLimit:
|
|
838
|
-
maxPaxPerReservation:
|
|
839
|
-
useNumberOfProductsForPersons:
|
|
840
|
-
maxTicketsLimit:
|
|
841
|
-
}) => (l(),
|
|
842
|
-
key:
|
|
844
|
+
t("ul", Yn, [
|
|
845
|
+
(l(!0), r(A, null, M(e(W), ({
|
|
846
|
+
id: O,
|
|
847
|
+
days: d,
|
|
848
|
+
name: L,
|
|
849
|
+
timeFrom: I,
|
|
850
|
+
timeTo: _,
|
|
851
|
+
fromDate: B,
|
|
852
|
+
toDate: ae,
|
|
853
|
+
tableGroupId: le,
|
|
854
|
+
description: De,
|
|
855
|
+
soldOut: Pe,
|
|
856
|
+
length: oe,
|
|
857
|
+
images: at,
|
|
858
|
+
maxOnlineReservationLimit: lt,
|
|
859
|
+
maxPaxPerReservation: ot,
|
|
860
|
+
useNumberOfProductsForPersons: st,
|
|
861
|
+
maxTicketsLimit: it
|
|
862
|
+
}) => (l(), v(fn, {
|
|
863
|
+
key: O,
|
|
843
864
|
type: "event",
|
|
844
|
-
"listing-id":
|
|
845
|
-
"table-group-id":
|
|
846
|
-
description:
|
|
847
|
-
name:
|
|
848
|
-
length:
|
|
849
|
-
gallery:
|
|
850
|
-
days:
|
|
851
|
-
"from-date":
|
|
852
|
-
"to-date":
|
|
853
|
-
"max-online-reservation-limit":
|
|
854
|
-
"time-from":
|
|
855
|
-
"time-to":
|
|
856
|
-
"sold-out":
|
|
857
|
-
"use-number-of-products-for-persons":
|
|
865
|
+
"listing-id": O,
|
|
866
|
+
"table-group-id": le,
|
|
867
|
+
description: De,
|
|
868
|
+
name: L,
|
|
869
|
+
length: oe,
|
|
870
|
+
gallery: at,
|
|
871
|
+
days: d,
|
|
872
|
+
"from-date": B,
|
|
873
|
+
"to-date": ae,
|
|
874
|
+
"max-online-reservation-limit": ot || lt || it,
|
|
875
|
+
"time-from": I,
|
|
876
|
+
"time-to": _,
|
|
877
|
+
"sold-out": Pe,
|
|
878
|
+
"use-number-of-products-for-persons": st,
|
|
879
|
+
"tracking-enabled": e(ne),
|
|
858
880
|
callback: F
|
|
859
|
-
}, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "callback"]))), 128))
|
|
881
|
+
}, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "tracking-enabled", "callback"]))), 128))
|
|
860
882
|
])
|
|
861
|
-
], 64)) :
|
|
862
|
-
(!e(
|
|
883
|
+
], 64)) : u("", !0),
|
|
884
|
+
(!e(N) && !e(m) || !e(N) && g.onlyShow === "events" || !e(m) && g.onlyShow === "templates") && !e(Oe) ? (l(), r("div", {
|
|
863
885
|
key: 3,
|
|
864
886
|
class: "konnectio-panel",
|
|
865
|
-
innerHTML: e(
|
|
866
|
-
}, null, 8,
|
|
867
|
-
])) : (l(),
|
|
887
|
+
innerHTML: e(n)("event.nothingAvailable")
|
|
888
|
+
}, null, 8, jn)) : u("", !0)
|
|
889
|
+
])) : (l(), v(Re, { key: 1 }))
|
|
868
890
|
]),
|
|
869
891
|
_: 2
|
|
870
892
|
}, 1024)
|
|
871
893
|
]),
|
|
872
|
-
addons:
|
|
873
|
-
e(
|
|
894
|
+
addons: p(({ next: F, prev: O }) => [
|
|
895
|
+
e(ue) ? (l(), v(Ee, {
|
|
874
896
|
key: 0,
|
|
875
|
-
"prev-callback": () => e(
|
|
897
|
+
"prev-callback": () => e(Te)(O)
|
|
876
898
|
}, {
|
|
877
|
-
form:
|
|
878
|
-
t("form",
|
|
899
|
+
form: p(() => [
|
|
900
|
+
t("form", Wn, [
|
|
879
901
|
t("h2", null, [
|
|
880
|
-
t("span", null, o(e(
|
|
902
|
+
t("span", null, o(e(n)("event.selectProducts")), 1)
|
|
881
903
|
]),
|
|
882
|
-
e(
|
|
883
|
-
(l(!0), r(
|
|
884
|
-
roomGroupId:
|
|
885
|
-
addons:
|
|
886
|
-
adultPerRoom:
|
|
887
|
-
},
|
|
904
|
+
e(y) && e(y).length > 0 ? (l(), r("ul", Zn, [
|
|
905
|
+
(l(!0), r(A, null, M(e(y), ({
|
|
906
|
+
roomGroupId: d,
|
|
907
|
+
addons: L,
|
|
908
|
+
adultPerRoom: I
|
|
909
|
+
}, _) => (l(), r("li", { key: d }, [
|
|
888
910
|
t("h5", null, [
|
|
889
|
-
t("span", null, o(e(
|
|
890
|
-
c[9] || (c[9] =
|
|
891
|
-
|
|
911
|
+
t("span", null, o(e(n)("booking.reservation.room")) + " #" + o(_ + 1), 1),
|
|
912
|
+
c[9] || (c[9] = ve(" (", -1)),
|
|
913
|
+
f(ie, {
|
|
892
914
|
icon: "male",
|
|
893
915
|
type: "fas",
|
|
894
916
|
color: "header"
|
|
895
917
|
}),
|
|
896
|
-
|
|
918
|
+
ve(" " + o(I) + ") ", 1)
|
|
897
919
|
]),
|
|
898
|
-
t("table",
|
|
920
|
+
t("table", Qn, [
|
|
899
921
|
t("thead", null, [
|
|
900
922
|
t("tr", null, [
|
|
901
923
|
t("th", null, [
|
|
902
|
-
t("span", null, o(e(
|
|
924
|
+
t("span", null, o(e(n)("booking.reservation.addons")), 1)
|
|
903
925
|
]),
|
|
904
926
|
c[10] || (c[10] = t("th", { class: "konnectio-event-addons-input" }, null, -1)),
|
|
905
|
-
t("th",
|
|
906
|
-
t("span", null, o(e(
|
|
927
|
+
t("th", Jn, [
|
|
928
|
+
t("span", null, o(e(n)("booking.availability.price")), 1)
|
|
907
929
|
])
|
|
908
930
|
])
|
|
909
931
|
]),
|
|
910
932
|
t("tbody", null, [
|
|
911
|
-
(l(!0), r(
|
|
912
|
-
id:
|
|
913
|
-
cardinality:
|
|
914
|
-
name:
|
|
915
|
-
price:
|
|
916
|
-
quantityStrategy:
|
|
917
|
-
}) => (l(), r("tr", { key:
|
|
933
|
+
(l(!0), r(A, null, M(L, ({
|
|
934
|
+
id: B,
|
|
935
|
+
cardinality: ae,
|
|
936
|
+
name: le,
|
|
937
|
+
price: De,
|
|
938
|
+
quantityStrategy: Pe
|
|
939
|
+
}) => (l(), r("tr", { key: B }, [
|
|
918
940
|
t("td", null, [
|
|
919
|
-
t("b", null, o(
|
|
941
|
+
t("b", null, o(le), 1),
|
|
920
942
|
c[11] || (c[11] = t("br", null, null, -1)),
|
|
921
|
-
t("span", null, o(e(
|
|
943
|
+
t("span", null, o(e(J)(De, e(me))) + " " + o(e(Tt)(Pe)), 1)
|
|
922
944
|
]),
|
|
923
|
-
t("td",
|
|
924
|
-
|
|
945
|
+
t("td", Kn, [
|
|
946
|
+
ae === 3 ? (l(), v(se, {
|
|
925
947
|
key: 0,
|
|
926
|
-
modelValue: e(
|
|
927
|
-
"onUpdate:modelValue": (
|
|
948
|
+
modelValue: e(h)[`${d}.${B}.${_}`],
|
|
949
|
+
"onUpdate:modelValue": (oe) => e(h)[`${d}.${B}.${_}`] = oe,
|
|
928
950
|
small: !0,
|
|
929
951
|
"min-value": 0
|
|
930
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (l(),
|
|
952
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (l(), v(Be, {
|
|
931
953
|
key: 1,
|
|
932
|
-
modelValue: e(
|
|
933
|
-
"onUpdate:modelValue": (
|
|
954
|
+
modelValue: e(h)[`${d}.${B}.${_}`],
|
|
955
|
+
"onUpdate:modelValue": (oe) => e(h)[`${d}.${B}.${_}`] = oe,
|
|
934
956
|
numeric: !0
|
|
935
957
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
936
958
|
]),
|
|
937
|
-
t("td",
|
|
938
|
-
t("span", null, o(e(
|
|
959
|
+
t("td", Xn, [
|
|
960
|
+
t("span", null, o(e(J)(e(Ze)(B, d, _), e(me))), 1)
|
|
939
961
|
])
|
|
940
962
|
]))), 128))
|
|
941
963
|
]),
|
|
@@ -943,158 +965,158 @@ const Kt = {
|
|
|
943
965
|
t("tr", null, [
|
|
944
966
|
c[12] || (c[12] = t("td", null, null, -1)),
|
|
945
967
|
c[13] || (c[13] = t("td", null, null, -1)),
|
|
946
|
-
t("td",
|
|
968
|
+
t("td", xn, [
|
|
947
969
|
t("u", null, [
|
|
948
|
-
t("span", null, o(e(
|
|
970
|
+
t("span", null, o(e(J)(e(Qe)(d, _), e(me))), 1)
|
|
949
971
|
])
|
|
950
972
|
])
|
|
951
973
|
])
|
|
952
974
|
])
|
|
953
975
|
])
|
|
954
976
|
]))), 128))
|
|
955
|
-
])) :
|
|
956
|
-
e(
|
|
977
|
+
])) : u("", !0),
|
|
978
|
+
e(Q) ? (l(), r("table", ea, [
|
|
957
979
|
t("tbody", null, [
|
|
958
|
-
(l(!0), r(
|
|
959
|
-
t("td",
|
|
980
|
+
(l(!0), r(A, null, M(e(Y).products, ({ id: d, name: L, price: I, description: _ }) => (l(), r("tr", { key: d }, [
|
|
981
|
+
t("td", ta, [
|
|
960
982
|
t("b", null, [
|
|
961
|
-
t("span", null, o(e(
|
|
983
|
+
t("span", null, o(e(Ve)(L)), 1)
|
|
962
984
|
]),
|
|
963
|
-
|
|
964
|
-
t("u", null, o(e(
|
|
985
|
+
_ && _ !== L ? (l(), r("span", na, o(e(Ve)(_)), 1)) : u("", !0),
|
|
986
|
+
t("u", null, o(e(J)(I, e(me))), 1)
|
|
965
987
|
]),
|
|
966
|
-
t("td",
|
|
967
|
-
|
|
968
|
-
modelValue: e(
|
|
969
|
-
"onUpdate:modelValue": (
|
|
988
|
+
t("td", aa, [
|
|
989
|
+
f(se, {
|
|
990
|
+
modelValue: e(b)[d],
|
|
991
|
+
"onUpdate:modelValue": (B) => e(b)[d] = B,
|
|
970
992
|
small: !0,
|
|
971
993
|
"min-value": 0
|
|
972
994
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
973
995
|
])
|
|
974
996
|
]))), 128))
|
|
975
997
|
])
|
|
976
|
-
])) :
|
|
998
|
+
])) : u("", !0)
|
|
977
999
|
])
|
|
978
1000
|
]),
|
|
979
|
-
navigation:
|
|
980
|
-
|
|
981
|
-
label: e(
|
|
1001
|
+
navigation: p(() => [
|
|
1002
|
+
f(be, {
|
|
1003
|
+
label: e(n)("event.startReservation"),
|
|
982
1004
|
disabled: !e(j),
|
|
983
1005
|
"full-width": "",
|
|
984
1006
|
onClickEvent: F
|
|
985
1007
|
}, null, 8, ["label", "disabled", "onClickEvent"])
|
|
986
1008
|
]),
|
|
987
1009
|
_: 2
|
|
988
|
-
}, 1032, ["prev-callback"])) :
|
|
1010
|
+
}, 1032, ["prev-callback"])) : u("", !0)
|
|
989
1011
|
]),
|
|
990
|
-
reservation:
|
|
991
|
-
|
|
1012
|
+
reservation: p(({ next: F, prev: O }) => [
|
|
1013
|
+
f(Ee, {
|
|
992
1014
|
"show-terms-notice": !0,
|
|
993
1015
|
"show-gift-card": !0,
|
|
994
|
-
"prev-callback": () => e(
|
|
1016
|
+
"prev-callback": () => e(Te)(O)
|
|
995
1017
|
}, {
|
|
996
|
-
form:
|
|
997
|
-
t("form",
|
|
1018
|
+
form: p(() => [
|
|
1019
|
+
t("form", la, [
|
|
998
1020
|
t("h2", null, [
|
|
999
|
-
t("span", null, o(e(
|
|
1021
|
+
t("span", null, o(e(n)("booking.reservation.detailsTitle")), 1)
|
|
1000
1022
|
]),
|
|
1001
|
-
|
|
1002
|
-
modelValue: e(
|
|
1003
|
-
"onUpdate:modelValue": c[0] || (c[0] = (
|
|
1023
|
+
f(pe, {
|
|
1024
|
+
modelValue: e(P),
|
|
1025
|
+
"onUpdate:modelValue": c[0] || (c[0] = (d) => S(P) ? P.value = d : null),
|
|
1004
1026
|
type: "text",
|
|
1005
|
-
label: e(
|
|
1027
|
+
label: e(n)("booking.reservation.name"),
|
|
1006
1028
|
icon: "user-alt",
|
|
1007
|
-
placeholder: e(
|
|
1029
|
+
placeholder: e(n)("booking.reservation.namePlaceholder"),
|
|
1008
1030
|
required: ""
|
|
1009
1031
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1010
|
-
|
|
1032
|
+
f(pe, {
|
|
1011
1033
|
modelValue: e(T),
|
|
1012
|
-
"onUpdate:modelValue": c[1] || (c[1] = (
|
|
1013
|
-
label: e(
|
|
1034
|
+
"onUpdate:modelValue": c[1] || (c[1] = (d) => S(T) ? T.value = d : null),
|
|
1035
|
+
label: e(n)("booking.reservation.email"),
|
|
1014
1036
|
type: "email",
|
|
1015
1037
|
name: "email",
|
|
1016
1038
|
autocomplete: "email",
|
|
1017
1039
|
icon: "at",
|
|
1018
|
-
placeholder: e(
|
|
1040
|
+
placeholder: e(n)("booking.reservation.emailPlaceholder"),
|
|
1019
1041
|
required: ""
|
|
1020
1042
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1021
|
-
|
|
1043
|
+
f(Wt, {
|
|
1022
1044
|
modelValue: e(s),
|
|
1023
|
-
"onUpdate:modelValue": c[2] || (c[2] = (
|
|
1024
|
-
label: e(
|
|
1045
|
+
"onUpdate:modelValue": c[2] || (c[2] = (d) => S(s) ? s.value = d : null),
|
|
1046
|
+
label: e(n)("booking.reservation.phone"),
|
|
1025
1047
|
icon: "phone-office",
|
|
1026
|
-
placeholder: e(
|
|
1048
|
+
placeholder: e(n)("booking.reservation.phonePlaceholder"),
|
|
1027
1049
|
required: ""
|
|
1028
1050
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1029
|
-
e(
|
|
1051
|
+
e(ce) ? (l(), v(Rt, {
|
|
1030
1052
|
key: 0,
|
|
1031
|
-
modelValue: e(
|
|
1032
|
-
"onUpdate:modelValue": c[3] || (c[3] = (
|
|
1033
|
-
label: e(
|
|
1053
|
+
modelValue: e(V),
|
|
1054
|
+
"onUpdate:modelValue": c[3] || (c[3] = (d) => S(V) ? V.value = d : null),
|
|
1055
|
+
label: e(n)("event.selectArrivalTime"),
|
|
1034
1056
|
name: "eventTimeTable",
|
|
1035
|
-
checkboxes:
|
|
1057
|
+
checkboxes: xe.value,
|
|
1036
1058
|
required: ""
|
|
1037
|
-
}, null, 8, ["modelValue", "label", "checkboxes"])) :
|
|
1038
|
-
e(
|
|
1059
|
+
}, null, 8, ["modelValue", "label", "checkboxes"])) : u("", !0),
|
|
1060
|
+
e(de) === e(Ot).FullDayEvent ? (l(), v(se, {
|
|
1039
1061
|
key: 1,
|
|
1040
|
-
modelValue: e(
|
|
1041
|
-
"onUpdate:modelValue": c[4] || (c[4] = (
|
|
1042
|
-
label: e(
|
|
1062
|
+
modelValue: e(k),
|
|
1063
|
+
"onUpdate:modelValue": c[4] || (c[4] = (d) => S(k) ? k.value = d : null),
|
|
1064
|
+
label: e(n)("event.numberOfDays"),
|
|
1043
1065
|
"min-value": 1,
|
|
1044
1066
|
required: ""
|
|
1045
|
-
}, null, 8, ["modelValue", "label"])) :
|
|
1046
|
-
g.showHighChairs === "yes" ? (l(),
|
|
1067
|
+
}, null, 8, ["modelValue", "label"])) : u("", !0),
|
|
1068
|
+
g.showHighChairs === "yes" ? (l(), v(se, {
|
|
1047
1069
|
key: 2,
|
|
1048
|
-
modelValue: e(
|
|
1049
|
-
"onUpdate:modelValue": c[5] || (c[5] = (
|
|
1050
|
-
label: e(
|
|
1070
|
+
modelValue: e(D),
|
|
1071
|
+
"onUpdate:modelValue": c[5] || (c[5] = (d) => S(D) ? D.value = d : null),
|
|
1072
|
+
label: e(n)("event.numberOfHighChairs"),
|
|
1051
1073
|
icon: "baby",
|
|
1052
1074
|
"no-optional-label": !1
|
|
1053
|
-
}, null, 8, ["modelValue", "label"])) :
|
|
1054
|
-
g.showFlagOnTable === "yes" ? (l(),
|
|
1075
|
+
}, null, 8, ["modelValue", "label"])) : u("", !0),
|
|
1076
|
+
g.showFlagOnTable === "yes" ? (l(), v(Be, {
|
|
1055
1077
|
key: 3,
|
|
1056
1078
|
modelValue: e(i),
|
|
1057
|
-
"onUpdate:modelValue": c[6] || (c[6] = (
|
|
1058
|
-
label: e(
|
|
1059
|
-
}, null, 8, ["modelValue", "label"])) :
|
|
1060
|
-
g.hideRemarks !== "yes" ? (l(),
|
|
1079
|
+
"onUpdate:modelValue": c[6] || (c[6] = (d) => S(i) ? i.value = d : null),
|
|
1080
|
+
label: e(n)("event.flagOnTable")
|
|
1081
|
+
}, null, 8, ["modelValue", "label"])) : u("", !0),
|
|
1082
|
+
g.hideRemarks !== "yes" ? (l(), v(pe, {
|
|
1061
1083
|
key: 4,
|
|
1062
1084
|
modelValue: e($),
|
|
1063
|
-
"onUpdate:modelValue": c[7] || (c[7] = (
|
|
1085
|
+
"onUpdate:modelValue": c[7] || (c[7] = (d) => S($) ? $.value = d : null),
|
|
1064
1086
|
type: "textarea",
|
|
1065
|
-
label: e(
|
|
1087
|
+
label: e(n)("booking.reservation.remark"),
|
|
1066
1088
|
icon: "info-circle",
|
|
1067
|
-
placeholder: e(
|
|
1068
|
-
}, null, 8, ["modelValue", "label", "placeholder"])) :
|
|
1069
|
-
g.hideAllergies !== "yes" ? (l(),
|
|
1089
|
+
placeholder: e(n)("booking.reservation.remarkPlaceholder")
|
|
1090
|
+
}, null, 8, ["modelValue", "label", "placeholder"])) : u("", !0),
|
|
1091
|
+
g.hideAllergies !== "yes" ? (l(), v(pe, {
|
|
1070
1092
|
key: 5,
|
|
1071
1093
|
modelValue: e(C),
|
|
1072
|
-
"onUpdate:modelValue": c[8] || (c[8] = (
|
|
1094
|
+
"onUpdate:modelValue": c[8] || (c[8] = (d) => S(C) ? C.value = d : null),
|
|
1073
1095
|
type: "textarea",
|
|
1074
|
-
label: e(
|
|
1096
|
+
label: e(n)("booking.reservation.allergies"),
|
|
1075
1097
|
icon: "allergies",
|
|
1076
|
-
placeholder: e(
|
|
1077
|
-
}, null, 8, ["modelValue", "label", "placeholder"])) :
|
|
1098
|
+
placeholder: e(n)("booking.reservation.allergiesPlaceholder")
|
|
1099
|
+
}, null, 8, ["modelValue", "label", "placeholder"])) : u("", !0)
|
|
1078
1100
|
])
|
|
1079
1101
|
]),
|
|
1080
|
-
navigation:
|
|
1081
|
-
|
|
1082
|
-
label: e(
|
|
1083
|
-
"is-loading": e(
|
|
1102
|
+
navigation: p(() => [
|
|
1103
|
+
f(be, {
|
|
1104
|
+
label: e(n)("general.confirmReservation"),
|
|
1105
|
+
"is-loading": e(te),
|
|
1084
1106
|
disabled: !e(H),
|
|
1085
1107
|
"full-width": "",
|
|
1086
|
-
onClickEvent: (
|
|
1108
|
+
onClickEvent: (d) => tt(F)
|
|
1087
1109
|
}, null, 8, ["label", "is-loading", "disabled", "onClickEvent"])
|
|
1088
1110
|
]),
|
|
1089
1111
|
_: 2
|
|
1090
1112
|
}, 1032, ["prev-callback"])
|
|
1091
1113
|
]),
|
|
1092
|
-
payment:
|
|
1093
|
-
|
|
1114
|
+
payment: p(() => [
|
|
1115
|
+
f(jt)
|
|
1094
1116
|
]),
|
|
1095
|
-
confirmation:
|
|
1096
|
-
|
|
1097
|
-
message: e(
|
|
1117
|
+
confirmation: p(() => [
|
|
1118
|
+
f(St, {
|
|
1119
|
+
message: e(n)("event.confirmationMessage")
|
|
1098
1120
|
}, null, 8, ["message"])
|
|
1099
1121
|
]),
|
|
1100
1122
|
_: 1
|
|
@@ -1103,8 +1125,8 @@ const Kt = {
|
|
|
1103
1125
|
_: 1
|
|
1104
1126
|
}, 8, ["access-token", "callback"])
|
|
1105
1127
|
]),
|
|
1106
|
-
fallback:
|
|
1107
|
-
|
|
1128
|
+
fallback: p(() => [
|
|
1129
|
+
f(Un)
|
|
1108
1130
|
]),
|
|
1109
1131
|
_: 1
|
|
1110
1132
|
}))
|
|
@@ -1112,8 +1134,8 @@ const Kt = {
|
|
|
1112
1134
|
_: 1
|
|
1113
1135
|
}, 8, ["styling"]));
|
|
1114
1136
|
}
|
|
1115
|
-
}),
|
|
1116
|
-
class
|
|
1137
|
+
}), Ae = /* @__PURE__ */ q(oa, [["__scopeId", "data-v-b0302ba5"]]), sa = vt(), ia = bt, ra = ia();
|
|
1138
|
+
class da extends HTMLElement {
|
|
1117
1139
|
vueApp;
|
|
1118
1140
|
constructor() {
|
|
1119
1141
|
super();
|
|
@@ -1122,14 +1144,14 @@ class oa extends HTMLElement {
|
|
|
1122
1144
|
this.vueApp.unmount();
|
|
1123
1145
|
}
|
|
1124
1146
|
connectedCallback() {
|
|
1125
|
-
const
|
|
1126
|
-
this.vueApp =
|
|
1127
|
-
const
|
|
1128
|
-
this.vueApp.mount(
|
|
1147
|
+
const a = gt(Ae, this.attributes);
|
|
1148
|
+
this.vueApp = ft(Ae, a), this.vueApp.provide("emitter", ra), this.vueApp.use(Qt), this.vueApp.use(kt), this.vueApp.use(sa), this.vueApp.use(Mt), this.vueApp.use(yt), this.vueApp.use(Ut);
|
|
1149
|
+
const n = document.createElement("div");
|
|
1150
|
+
this.vueApp.mount(n), this.appendChild(n.children[0]);
|
|
1129
1151
|
}
|
|
1130
1152
|
}
|
|
1131
|
-
window.customElements.define("konnectio-event",
|
|
1153
|
+
window.customElements.define("konnectio-event", da);
|
|
1132
1154
|
export {
|
|
1133
|
-
|
|
1155
|
+
da as default
|
|
1134
1156
|
};
|
|
1135
1157
|
//# sourceMappingURL=event.js.map
|