@konnectio/core 4.0.56-rc55 → 4.0.56-rc56
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-BAL1bpnL.js → ActionField-D2cIxYLO.js} +12 -12
- package/dist/ActionField-D2cIxYLO.js.br +0 -0
- package/dist/{AvailabilitySkeleton-BX61UaDK.js → AvailabilitySkeleton-fSj-D3gr.js} +50 -49
- package/dist/AvailabilitySkeleton-fSj-D3gr.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DmlVYsD2.js +8174 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DmlVYsD2.js.br +0 -0
- package/dist/{CheckoutWindow-DufEgcza.js → CheckoutWindow-DDFex8_M.js} +242 -233
- package/dist/CheckoutWindow-DDFex8_M.js.br +0 -0
- package/dist/{ErrorMessage-CbGOS1Nq.js → ErrorMessage-BxEkmAcA.js} +4 -4
- package/dist/ErrorMessage-BxEkmAcA.js.br +0 -0
- package/dist/EventAvailabilityForm-Bh21jXV0.js +120 -0
- package/dist/EventAvailabilityForm-Bh21jXV0.js.br +0 -0
- package/dist/{Field-flvSuRTL.js → Field-C1-c1E69.js} +9 -9
- package/dist/Field-C1-c1E69.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-1m-WZuNW.js +18603 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-1m-WZuNW.js.br +0 -0
- package/dist/TermsOfService-Cf3uVbvE.js +36 -0
- package/dist/TermsOfService-Cf3uVbvE.js.br +0 -0
- package/dist/{_-Wr8LhfrM.js → _-DpyfRShv.js} +3 -3
- package/dist/_.vue_vue_type_style_index_0_lang-DoCplqzK.js +69 -0
- package/dist/_.vue_vue_type_style_index_0_lang-DoCplqzK.js.br +0 -0
- package/dist/_commonjsHelpers-7Ka-lrVJ.js +17 -0
- package/dist/_sentry-release-injection-file-BwRPXfCP.js +11186 -0
- package/dist/_sentry-release-injection-file-BwRPXfCP.js.br +0 -0
- package/dist/availability.js +24 -24
- package/dist/availability.js.br +0 -0
- package/dist/deep-link.js +56 -4
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +316 -300
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +32 -33
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +87 -88
- package/dist/gift-card.js.br +0 -0
- package/dist/giftCard-D4D0qX4c.js +134 -0
- package/dist/giftCard-D4D0qX4c.js.br +0 -0
- package/dist/hotel.js +211 -211
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-BMRfOcVe.js → masonry.plugin-BJrxifpp.js} +3352 -3334
- package/dist/masonry.plugin-BJrxifpp.js.br +0 -0
- package/dist/mitt-CKlYOuwf.js +4290 -0
- package/dist/mitt-CKlYOuwf.js.br +0 -0
- package/dist/polyfill.js +4523 -4515
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/{tracing-wxeFiHIa.js → tracing-NLDFmjvp.js} +3 -3
- package/dist/tracing-NLDFmjvp.js.br +0 -0
- package/package.json +8 -8
- package/dist/ActionField-BAL1bpnL.js.br +0 -0
- package/dist/AvailabilitySkeleton-BX61UaDK.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CBLGelHH.js +0 -7814
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CBLGelHH.js.br +0 -0
- package/dist/CheckoutWindow-DufEgcza.js.br +0 -0
- package/dist/ErrorMessage-CbGOS1Nq.js.br +0 -0
- package/dist/EventAvailabilityForm-CO2Vt9WR.js +0 -452
- package/dist/EventAvailabilityForm-CO2Vt9WR.js.br +0 -0
- package/dist/Field-flvSuRTL.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BtVEfiNz.js +0 -21414
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BtVEfiNz.js.br +0 -0
- package/dist/TermsOfService-ZtJSXzfs.js +0 -35
- package/dist/TermsOfService-ZtJSXzfs.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-1ZRqGUnk.js +0 -68
- package/dist/_.vue_vue_type_style_index_0_lang-1ZRqGUnk.js.br +0 -0
- package/dist/_commonjsHelpers-04Qj4xBt.js +0 -9530
- package/dist/_commonjsHelpers-04Qj4xBt.js.br +0 -0
- package/dist/giftCard-DHP_enh5.js +0 -127
- package/dist/giftCard-DHP_enh5.js.br +0 -0
- package/dist/masonry.plugin-BMRfOcVe.js.br +0 -0
- package/dist/sentry-BSHzssDu.js +0 -18
- package/dist/tracing-wxeFiHIa.js.br +0 -0
package/dist/event.js
CHANGED
|
@@ -1,62 +1,61 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import {
|
|
3
|
-
import { c as tt } from "./
|
|
4
|
-
import { B as
|
|
5
|
-
import {
|
|
6
|
-
import { _ as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import "./deep-link.js";
|
|
1
|
+
import { d as Y, r as Ge, c as le, a, b as V, w as p, l as ne, u as e, e as t, f, g as m, i as h, t as o, m as qe, q as ze, s as q, F as L, v as R, S as He, x as he, h as ke, p as je, j as Ye, k as Ze } from "./_sentry-release-injection-file-BwRPXfCP.js";
|
|
2
|
+
import { u as ae, s as H, c as Qe, i as We, m as xe } from "./mitt-CKlYOuwf.js";
|
|
3
|
+
import { a as Te, l as Je, b as oe, c as me, B as Ke, _ as se, d as Pe, I as pe, s as Xe, e as Oe, f as ye, g as ve, h as U, u as et, O as _e, i as tt, T as ce, C as nt, j as ot, k as lt, m as at } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-1m-WZuNW.js";
|
|
4
|
+
import { B as st, R as it, L as Ae, S as rt, M as ut, C as ct, T as dt, V as mt, G as pt } from "./masonry.plugin-BJrxifpp.js";
|
|
5
|
+
import { t as z, e as vt, g as $e, m as we, a as De, b as Ve, c as ft, d as Ee, u as j } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DmlVYsD2.js";
|
|
6
|
+
import { _ as bt } from "./_.vue_vue_type_style_index_0_lang-DoCplqzK.js";
|
|
7
|
+
import { C as gt, P as ht, a as kt } from "./CheckoutWindow-DDFex8_M.js";
|
|
8
|
+
import { E as yt } from "./EventAvailabilityForm-Bh21jXV0.js";
|
|
10
9
|
(function() {
|
|
11
10
|
try {
|
|
12
|
-
var
|
|
13
|
-
n && (
|
|
11
|
+
var c = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
|
|
12
|
+
n && (c._sentryDebugIds = c._sentryDebugIds || {}, c._sentryDebugIds[n] = "b51bf012-9a3c-4e76-8733-8abf8f736cb9", c._sentryDebugIdIdentifier = "sentry-dbid-b51bf012-9a3c-4e76-8733-8abf8f736cb9");
|
|
14
13
|
} catch {
|
|
15
14
|
}
|
|
16
15
|
})();
|
|
17
|
-
function
|
|
18
|
-
const s =
|
|
16
|
+
function _t(c, n) {
|
|
17
|
+
const s = z(c), d = z(n), l = s.getTime() - d.getTime();
|
|
19
18
|
return l < 0 ? -1 : l > 0 ? 1 : l;
|
|
20
19
|
}
|
|
21
|
-
function
|
|
20
|
+
function $t(c) {
|
|
22
21
|
return (n) => {
|
|
23
|
-
const d = (
|
|
22
|
+
const d = (c ? Math[c] : Math.trunc)(n);
|
|
24
23
|
return d === 0 ? 0 : d;
|
|
25
24
|
};
|
|
26
25
|
}
|
|
27
|
-
function
|
|
28
|
-
const d =
|
|
29
|
-
if (isNaN(
|
|
26
|
+
function wt(c, n, s) {
|
|
27
|
+
const d = ft(), l = s?.locale ?? d.locale ?? vt, $ = _t(c, n);
|
|
28
|
+
if (isNaN($))
|
|
30
29
|
throw new RangeError("Invalid time value");
|
|
31
30
|
const b = Object.assign({}, s, {
|
|
32
31
|
addSuffix: s?.addSuffix,
|
|
33
|
-
comparison:
|
|
32
|
+
comparison: $
|
|
34
33
|
});
|
|
35
|
-
let
|
|
36
|
-
|
|
37
|
-
const v =
|
|
34
|
+
let w, u;
|
|
35
|
+
$ > 0 ? (w = z(n), u = z(c)) : (w = z(c), u = z(n));
|
|
36
|
+
const v = $t(s?.roundingMethod ?? "round"), y = u.getTime() - w.getTime(), _ = y / Ee, S = $e(u) - $e(w), P = (y - S) / Ee, O = s?.unit;
|
|
38
37
|
let i;
|
|
39
|
-
if (
|
|
40
|
-
const g = v(
|
|
38
|
+
if (O ? i = O : _ < 1 ? i = "second" : _ < 60 ? i = "minute" : _ < we ? i = "hour" : P < De ? i = "day" : P < Ve ? i = "month" : i = "year", i === "second") {
|
|
39
|
+
const g = v(y / 1e3);
|
|
41
40
|
return l.formatDistance("xSeconds", g, b);
|
|
42
41
|
} else if (i === "minute") {
|
|
43
|
-
const g = v(
|
|
42
|
+
const g = v(_);
|
|
44
43
|
return l.formatDistance("xMinutes", g, b);
|
|
45
44
|
} else if (i === "hour") {
|
|
46
|
-
const g = v(
|
|
45
|
+
const g = v(_ / 60);
|
|
47
46
|
return l.formatDistance("xHours", g, b);
|
|
48
47
|
} else if (i === "day") {
|
|
49
|
-
const g = v(
|
|
48
|
+
const g = v(P / we);
|
|
50
49
|
return l.formatDistance("xDays", g, b);
|
|
51
50
|
} else if (i === "month") {
|
|
52
|
-
const g = v(
|
|
53
|
-
return g === 12 &&
|
|
51
|
+
const g = v(P / De);
|
|
52
|
+
return g === 12 && O !== "month" ? l.formatDistance("xYears", 1, b) : l.formatDistance("xMonths", g, b);
|
|
54
53
|
} else {
|
|
55
|
-
const g = v(
|
|
54
|
+
const g = v(P / Ve);
|
|
56
55
|
return l.formatDistance("xYears", g, b);
|
|
57
56
|
}
|
|
58
57
|
}
|
|
59
|
-
const
|
|
58
|
+
const Dt = { class: "konnectio-event-listing-action" }, Vt = { class: "konnectio-event-listing-action-button" }, Et = /* @__PURE__ */ Y({
|
|
60
59
|
__name: "_",
|
|
61
60
|
props: {
|
|
62
61
|
name: {},
|
|
@@ -78,28 +77,28 @@ const yt = { class: "konnectio-event-listing-action" }, _t = { class: "konnectio
|
|
|
78
77
|
trackingEnabled: { type: Boolean },
|
|
79
78
|
callback: {}
|
|
80
79
|
},
|
|
81
|
-
setup(
|
|
82
|
-
const { t: n } = ae(), s =
|
|
80
|
+
setup(c) {
|
|
81
|
+
const { t: n } = ae(), s = c, { display: d } = Te(), {
|
|
83
82
|
maxNumberOfPeople: l,
|
|
84
|
-
numberOfPeople:
|
|
83
|
+
numberOfPeople: $,
|
|
85
84
|
eventId: b,
|
|
86
|
-
tableGroupId:
|
|
87
|
-
} =
|
|
88
|
-
getTemplateAvailability:
|
|
85
|
+
tableGroupId: w
|
|
86
|
+
} = H(j()), {
|
|
87
|
+
getTemplateAvailability: u,
|
|
89
88
|
getEventAvailability: v,
|
|
90
|
-
isEventListingLoading:
|
|
91
|
-
} =
|
|
92
|
-
|
|
89
|
+
isEventListingLoading: y
|
|
90
|
+
} = j(), _ = Ge(0), S = le(() => y(s.listingId)), P = () => {
|
|
91
|
+
_.value > 0 ? (b.value = s.listingId, $.value = _.value, u(s.callback)) : d({
|
|
93
92
|
type: "error",
|
|
94
93
|
message: n("alert.error.selectPeople")
|
|
95
94
|
});
|
|
96
|
-
},
|
|
97
|
-
|
|
95
|
+
}, O = () => {
|
|
96
|
+
_.value > 0 ? (b.value = s.listingId, w.value = s.tableGroupId, $.value = _.value, v(s.callback)) : d({
|
|
98
97
|
type: "error",
|
|
99
98
|
message: n("alert.error.selectPeople")
|
|
100
99
|
});
|
|
101
100
|
};
|
|
102
|
-
return (i, g) => (a(),
|
|
101
|
+
return (i, g) => (a(), V(st, {
|
|
103
102
|
type: "event",
|
|
104
103
|
"listing-id": i.listingId,
|
|
105
104
|
gallery: i.gallery,
|
|
@@ -107,30 +106,30 @@ const yt = { class: "konnectio-event-listing-action" }, _t = { class: "konnectio
|
|
|
107
106
|
description: i.description,
|
|
108
107
|
"prices-from": i.fromPrice,
|
|
109
108
|
"to-date": i.toDate,
|
|
110
|
-
layout: e(
|
|
109
|
+
layout: e(Ke).Event
|
|
111
110
|
}, {
|
|
112
111
|
description: p(() => [
|
|
113
112
|
ne(i.$slots, "description", { maxNumberOfPeople: e(l) }, void 0, !0)
|
|
114
113
|
]),
|
|
115
114
|
action: p(() => [
|
|
116
|
-
t("div",
|
|
115
|
+
t("div", Dt, [
|
|
117
116
|
f(oe, {
|
|
118
|
-
modelValue:
|
|
119
|
-
"onUpdate:modelValue": g[0] || (g[0] = (
|
|
117
|
+
modelValue: _.value,
|
|
118
|
+
"onUpdate:modelValue": g[0] || (g[0] = (B) => _.value = B),
|
|
120
119
|
label: e(n)("event.numberOfGuests"),
|
|
121
120
|
icon: "users",
|
|
122
121
|
"icon-type": "fas",
|
|
123
122
|
"icon-placement": "label",
|
|
124
|
-
description: i.maxGuests <= 20 ? `${e(n)("general.availableFor")}: 1 - ${i.maxGuests} ${e(
|
|
123
|
+
description: i.maxGuests <= 20 ? `${e(n)("general.availableFor")}: 1 - ${i.maxGuests} ${e(Je)(e(n)("general.guests"))}` : void 0,
|
|
125
124
|
"min-value": 0,
|
|
126
125
|
"max-value": i.maxOnlineReservationLimit || i.maxGuests || e(l) || 1 / 0
|
|
127
126
|
}, null, 8, ["modelValue", "label", "description", "max-value"]),
|
|
128
|
-
t("div",
|
|
127
|
+
t("div", Vt, [
|
|
129
128
|
f(me, {
|
|
130
129
|
label: i.soldOut ? e(n)("event.soldOut") : e(n)("event.bookNowButton"),
|
|
131
130
|
disabled: i.soldOut,
|
|
132
|
-
"is-loading":
|
|
133
|
-
onClickEvent: g[1] || (g[1] = (
|
|
131
|
+
"is-loading": S.value,
|
|
132
|
+
onClickEvent: g[1] || (g[1] = (B) => i.type === "event" ? O() : P())
|
|
134
133
|
}, null, 8, ["label", "disabled", "is-loading"])
|
|
135
134
|
])
|
|
136
135
|
])
|
|
@@ -138,8 +137,8 @@ const yt = { class: "konnectio-event-listing-action" }, _t = { class: "konnectio
|
|
|
138
137
|
_: 3
|
|
139
138
|
}, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout"]));
|
|
140
139
|
}
|
|
141
|
-
}),
|
|
142
|
-
const
|
|
140
|
+
}), Ce = /* @__PURE__ */ se(Et, [["__scopeId", "data-v-a29b3262"]]), Tt = ["innerHTML"], Pt = { class: "konnectio-event-listing-information-new" };
|
|
141
|
+
const Ot = { class: "konnectio-pill-button" }, At = { class: "konnectio-pill-button" }, Ct = /* @__PURE__ */ Y({
|
|
143
142
|
__name: "Event",
|
|
144
143
|
props: {
|
|
145
144
|
name: {},
|
|
@@ -160,15 +159,15 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
|
|
|
160
159
|
trackingEnabled: { type: Boolean },
|
|
161
160
|
callback: {}
|
|
162
161
|
},
|
|
163
|
-
setup(
|
|
164
|
-
const n =
|
|
162
|
+
setup(c) {
|
|
163
|
+
const n = c, { t: s } = ae(), d = le(() => {
|
|
165
164
|
const l = n.length.split(":");
|
|
166
|
-
return console.log(l),
|
|
165
|
+
return console.log(l), wt(
|
|
167
166
|
new Date(2e3, 0, 1, Number(l[0]), Number(l[1]), 0),
|
|
168
167
|
new Date(2e3, 0, 1, 0, 0, 0)
|
|
169
168
|
);
|
|
170
169
|
});
|
|
171
|
-
return (l,
|
|
170
|
+
return (l, $) => (a(), V(Ce, {
|
|
172
171
|
"listing-id": l.listingId,
|
|
173
172
|
name: l.name,
|
|
174
173
|
description: l.description,
|
|
@@ -183,11 +182,11 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
|
|
|
183
182
|
description: p(() => [
|
|
184
183
|
l.description ? (a(), m("p", {
|
|
185
184
|
key: 0,
|
|
186
|
-
innerHTML: e(
|
|
187
|
-
}, null, 8,
|
|
188
|
-
t("ul",
|
|
185
|
+
innerHTML: e(Pe)(l.description)
|
|
186
|
+
}, null, 8, Tt)) : h("", !0),
|
|
187
|
+
t("ul", Pt, [
|
|
189
188
|
h("", !0),
|
|
190
|
-
t("li",
|
|
189
|
+
t("li", Ot, [
|
|
191
190
|
t("div", null, [
|
|
192
191
|
f(pe, {
|
|
193
192
|
icon: "calendar-clock",
|
|
@@ -197,7 +196,7 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
|
|
|
197
196
|
]),
|
|
198
197
|
t("span", null, o(d.value), 1)
|
|
199
198
|
]),
|
|
200
|
-
t("li",
|
|
199
|
+
t("li", At, [
|
|
201
200
|
t("div", null, [
|
|
202
201
|
f(pe, {
|
|
203
202
|
icon: "calendar-clock",
|
|
@@ -205,14 +204,14 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
|
|
|
205
204
|
}),
|
|
206
205
|
t("span", null, o(e(s)("event.startAndEndTime")), 1)
|
|
207
206
|
]),
|
|
208
|
-
t("span", null, o(e(
|
|
207
|
+
t("span", null, o(e(Xe)(l.timeFrom, l.timeTo)), 1)
|
|
209
208
|
])
|
|
210
209
|
])
|
|
211
210
|
]),
|
|
212
211
|
_: 1
|
|
213
212
|
}, 8, ["listing-id", "name", "description", "gallery", "prices-from", "table-group-id", "max-guests", "to-date", "callback"]));
|
|
214
213
|
}
|
|
215
|
-
}),
|
|
214
|
+
}), St = /* @__PURE__ */ se(Ct, [["__scopeId", "data-v-148bf11e"]]), Bt = ["innerHTML"], Lt = /* @__PURE__ */ Y({
|
|
216
215
|
__name: "Template",
|
|
217
216
|
props: {
|
|
218
217
|
name: {},
|
|
@@ -228,8 +227,8 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
|
|
|
228
227
|
trackingEnabled: { type: Boolean },
|
|
229
228
|
callback: {}
|
|
230
229
|
},
|
|
231
|
-
setup(
|
|
232
|
-
const n =
|
|
230
|
+
setup(c) {
|
|
231
|
+
const n = c, s = le(() => {
|
|
233
232
|
if (n.image)
|
|
234
233
|
return [{
|
|
235
234
|
large: n.image,
|
|
@@ -238,7 +237,7 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
|
|
|
238
237
|
url: n.image
|
|
239
238
|
}];
|
|
240
239
|
});
|
|
241
|
-
return (d, l) => (a(),
|
|
240
|
+
return (d, l) => (a(), V(Ce, {
|
|
242
241
|
"listing-id": d.listingId,
|
|
243
242
|
gallery: s.value,
|
|
244
243
|
name: d.name,
|
|
@@ -251,129 +250,129 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
|
|
|
251
250
|
description: p(() => [
|
|
252
251
|
d.description ? (a(), m("p", {
|
|
253
252
|
key: 0,
|
|
254
|
-
innerHTML: e(
|
|
255
|
-
}, null, 8,
|
|
253
|
+
innerHTML: e(Pe)(d.description)
|
|
254
|
+
}, null, 8, Bt)) : h("", !0)
|
|
256
255
|
]),
|
|
257
256
|
_: 1
|
|
258
257
|
}, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "callback"]));
|
|
259
258
|
}
|
|
260
|
-
}),
|
|
259
|
+
}), It = { key: 0 }, Nt = { key: 1 }, Mt = { key: 2 }, Rt = { key: 3 }, Ut = { key: 4 }, Ft = { key: 5 }, Gt = { key: 0 }, de = /* @__PURE__ */ Y({
|
|
261
260
|
__name: "EventReservationForm",
|
|
262
261
|
props: {
|
|
263
262
|
showGiftCard: { type: Boolean, default: !1 },
|
|
264
263
|
showTermsNotice: { type: Boolean, default: !1 }
|
|
265
264
|
},
|
|
266
|
-
setup(
|
|
267
|
-
const { t: n } = ae(), s =
|
|
265
|
+
setup(c) {
|
|
266
|
+
const { t: n } = ae(), s = qe(), {
|
|
268
267
|
areListingsAvailable: d,
|
|
269
268
|
arrivalTime: l,
|
|
270
|
-
numberOfPeople:
|
|
269
|
+
numberOfPeople: $,
|
|
271
270
|
numberOfRooms: b,
|
|
272
|
-
numberOfTotalDays:
|
|
273
|
-
isTemplateEvent:
|
|
271
|
+
numberOfTotalDays: w,
|
|
272
|
+
isTemplateEvent: u,
|
|
274
273
|
length: v,
|
|
275
|
-
fromDate:
|
|
276
|
-
tableBasePrice:
|
|
277
|
-
getTemplateData:
|
|
278
|
-
basePrice:
|
|
279
|
-
totalPrice:
|
|
274
|
+
fromDate: y,
|
|
275
|
+
tableBasePrice: _,
|
|
276
|
+
getTemplateData: S,
|
|
277
|
+
basePrice: P,
|
|
278
|
+
totalPrice: O,
|
|
280
279
|
weekendFee: i,
|
|
281
280
|
roomUpgrade: g,
|
|
282
|
-
discountCode:
|
|
283
|
-
} =
|
|
284
|
-
return (
|
|
285
|
-
"discount-code": e(
|
|
286
|
-
"onUpdate:discountCode": X[0] || (X[0] = (
|
|
281
|
+
discountCode: B
|
|
282
|
+
} = H(j()), { totalAddonPrice: J, validateDiscountCode: ie } = j(), { currency: K } = H(Oe());
|
|
283
|
+
return (I, X) => (a(), V(it, {
|
|
284
|
+
"discount-code": e(B),
|
|
285
|
+
"onUpdate:discountCode": X[0] || (X[0] = (G) => R(B) ? B.value = G : null),
|
|
287
286
|
"validate-discount-code": e(ie),
|
|
288
|
-
"show-gift-card":
|
|
289
|
-
"show-terms-notice":
|
|
287
|
+
"show-gift-card": I.showGiftCard,
|
|
288
|
+
"show-terms-notice": I.showTermsNotice,
|
|
290
289
|
"is-sidebar-loading": !e(d),
|
|
291
|
-
"base-price": e(
|
|
292
|
-
"total-price": e(
|
|
290
|
+
"base-price": e(P),
|
|
291
|
+
"total-price": e(O),
|
|
293
292
|
"weekend-fee": e(i),
|
|
294
293
|
"room-upgrade": e(g),
|
|
295
294
|
notice: e(n)("hotel.reservationNotice")
|
|
296
|
-
},
|
|
295
|
+
}, ze({
|
|
297
296
|
form: p(() => [
|
|
298
|
-
ne(
|
|
297
|
+
ne(I.$slots, "form")
|
|
299
298
|
]),
|
|
300
299
|
"reservation-summary": p(() => [
|
|
301
|
-
e(
|
|
300
|
+
e(u) ? (a(), m("li", It, [
|
|
302
301
|
t("span", null, o(e(n)("booking.reservation.arrival")), 1),
|
|
303
|
-
t("b", null, o(e(
|
|
302
|
+
t("b", null, o(e(ye)(e(y))), 1)
|
|
304
303
|
])) : h("", !0),
|
|
305
|
-
e(
|
|
304
|
+
e(u) ? (a(), m("li", Nt, [
|
|
306
305
|
t("span", null, o(e(n)("booking.reservation.departure")), 1),
|
|
307
|
-
t("b", null, o(e(
|
|
306
|
+
t("b", null, o(e(ye)(e(y), e(w))), 1)
|
|
308
307
|
])) : h("", !0),
|
|
309
308
|
t("li", null, [
|
|
310
309
|
t("span", null, o(e(n)("event.numberOfGuests")), 1),
|
|
311
|
-
t("b", null, o(e(
|
|
310
|
+
t("b", null, o(e($)), 1)
|
|
312
311
|
]),
|
|
313
|
-
e(
|
|
312
|
+
e(u) ? (a(), m("li", Mt, [
|
|
314
313
|
t("span", null, o(e(n)("event.numberOfRooms")), 1),
|
|
315
314
|
t("b", null, o(e(b)), 1)
|
|
316
315
|
])) : h("", !0),
|
|
317
|
-
e(
|
|
316
|
+
e(u) ? (a(), m("li", Rt, [
|
|
318
317
|
t("span", null, o(e(n)("event.numberOfDays")), 1),
|
|
319
|
-
t("b", null, o(e(
|
|
318
|
+
t("b", null, o(e(w)), 1)
|
|
320
319
|
])) : h("", !0),
|
|
321
|
-
!e(
|
|
320
|
+
!e(u) && e(l) ? (a(), m("li", Ut, [
|
|
322
321
|
t("span", null, o(e(n)("event.startOfEvent")), 1),
|
|
323
322
|
t("b", null, o(e(ve)(e(l))), 1)
|
|
324
323
|
])) : h("", !0),
|
|
325
|
-
!e(
|
|
324
|
+
!e(u) && e(v) ? (a(), m("li", Ft, [
|
|
326
325
|
t("span", null, o(e(n)("event.lengthOfEvent")), 1),
|
|
327
326
|
t("b", null, o(e(ve)(e(v))), 1)
|
|
328
327
|
])) : h("", !0)
|
|
329
328
|
]),
|
|
330
329
|
"price-summary": p(() => [
|
|
331
|
-
!e(
|
|
330
|
+
!e(u) && e(_) > 0 ? (a(), m("li", Gt, [
|
|
332
331
|
t("span", null, o(e(n)("booking.availability.basePrice")), 1),
|
|
333
|
-
t("b", null, o(e(
|
|
332
|
+
t("b", null, o(e(U)(e(_), e(K))), 1)
|
|
334
333
|
])) : h("", !0),
|
|
335
|
-
e(
|
|
334
|
+
e(S) ? (a(!0), m(L, { key: 1 }, q(e(S), ({ roomGroupId: G }, ee) => (a(), m("li", { key: G }, [
|
|
336
335
|
t("span", null, o(e(n)("booking.reservation.addons")) + " - " + o(e(n)("booking.reservation.room")) + " #" + o(ee + 1), 1),
|
|
337
|
-
t("b", null, o(e(
|
|
336
|
+
t("b", null, o(e(U)(e(J)(G, ee), e(K))), 1)
|
|
338
337
|
]))), 128)) : h("", !0)
|
|
339
338
|
]),
|
|
340
339
|
navigation: p(() => [
|
|
341
|
-
ne(
|
|
340
|
+
ne(I.$slots, "navigation")
|
|
342
341
|
]),
|
|
343
342
|
_: 2
|
|
344
343
|
}, [
|
|
345
344
|
e(s).sidebar ? {
|
|
346
345
|
name: "sidebar",
|
|
347
346
|
fn: p(() => [
|
|
348
|
-
ne(
|
|
347
|
+
ne(I.$slots, "sidebar")
|
|
349
348
|
]),
|
|
350
349
|
key: "0"
|
|
351
350
|
} : void 0
|
|
352
351
|
]), 1032, ["discount-code", "validate-discount-code", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "base-price", "total-price", "weekend-fee", "room-upgrade", "notice"]));
|
|
353
352
|
}
|
|
354
|
-
}),
|
|
353
|
+
}), qt = { class: "event-skeleton" }, zt = { class: "event-skeleton-content" }, Ht = { class: "event-skeleton-sidebar" }, jt = /* @__PURE__ */ Y({
|
|
355
354
|
__name: "EventSkeleton",
|
|
356
|
-
setup(
|
|
357
|
-
return (n, s) => (a(), m("div",
|
|
358
|
-
t("div",
|
|
359
|
-
f(
|
|
355
|
+
setup(c) {
|
|
356
|
+
return (n, s) => (a(), m("div", qt, [
|
|
357
|
+
t("div", zt, [
|
|
358
|
+
f(Ae)
|
|
360
359
|
]),
|
|
361
|
-
t("div",
|
|
360
|
+
t("div", Ht, [
|
|
362
361
|
h("", !0),
|
|
363
|
-
f(
|
|
362
|
+
f(rt)
|
|
364
363
|
])
|
|
365
364
|
]));
|
|
366
365
|
}
|
|
367
|
-
}),
|
|
366
|
+
}), Yt = /* @__PURE__ */ se(jt, [["__scopeId", "data-v-3e15c4e3"]]), F = (c) => (je("data-v-a7239480"), c = c(), Ye(), c), Zt = {
|
|
368
367
|
key: 0,
|
|
369
368
|
id: "konnectio-event-listings-wrapper"
|
|
370
369
|
};
|
|
371
|
-
const
|
|
372
|
-
const
|
|
370
|
+
const Qt = { class: "konnectio-event-listings" };
|
|
371
|
+
const Wt = { class: "konnectio-event-listings" }, xt = { class: "konnectio-panel" }, Jt = {
|
|
373
372
|
key: 1,
|
|
374
373
|
id: "fresh-booking-event-addons"
|
|
375
|
-
},
|
|
376
|
-
const
|
|
374
|
+
}, Kt = { class: "konnectio-table with-lines" }, Xt = /* @__PURE__ */ F(() => /* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" }, null, -1)), en = { class: "konnectio-event-addons-price" }, tn = /* @__PURE__ */ F(() => /* @__PURE__ */ t("br", null, null, -1)), nn = { class: "konnectio-event-addons-input" }, on = { class: "konnectio-event-addons-price" }, ln = /* @__PURE__ */ F(() => /* @__PURE__ */ t("td", null, null, -1)), an = /* @__PURE__ */ F(() => /* @__PURE__ */ t("td", null, null, -1)), sn = { class: "konnectio-event-addons-price" }, rn = { key: 2 };
|
|
375
|
+
const un = { key: 3 }, cn = { class: "konnectio-label required" }, dn = { class: "konnectio-table with-lines" }, mn = /* @__PURE__ */ F(() => /* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" }, null, -1)), pn = { class: "konnectio-event-addons-price" }, vn = /* @__PURE__ */ F(() => /* @__PURE__ */ t("br", null, null, -1)), fn = /* @__PURE__ */ F(() => /* @__PURE__ */ t("br", null, null, -1)), bn = { class: "konnectio-event-addons-input" }, gn = { class: "konnectio-event-addons-price" }, hn = ["onClick"], kn = { class: "konnectio-panel" }, yn = ["onClick"], _n = /* @__PURE__ */ Y({
|
|
377
376
|
name: "EventLayout",
|
|
378
377
|
__name: "Event",
|
|
379
378
|
props: {
|
|
@@ -382,221 +381,238 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
382
381
|
selectedLocation: {},
|
|
383
382
|
styling: {}
|
|
384
383
|
},
|
|
385
|
-
setup(
|
|
384
|
+
setup(c) {
|
|
386
385
|
const { t: n } = ae(), {
|
|
387
386
|
addons: s,
|
|
388
387
|
products: d,
|
|
389
388
|
numberOfDays: l,
|
|
390
|
-
name:
|
|
389
|
+
name: $,
|
|
391
390
|
phone: b,
|
|
392
|
-
email:
|
|
393
|
-
remark:
|
|
391
|
+
email: w,
|
|
392
|
+
remark: u,
|
|
394
393
|
arrivalTime: v,
|
|
395
|
-
hasEvents:
|
|
396
|
-
hasTemplates:
|
|
397
|
-
getEvents:
|
|
398
|
-
getTemplates:
|
|
399
|
-
getEventData:
|
|
394
|
+
hasEvents: y,
|
|
395
|
+
hasTemplates: _,
|
|
396
|
+
getEvents: S,
|
|
397
|
+
getTemplates: P,
|
|
398
|
+
getEventData: O,
|
|
400
399
|
getTemplateData: i,
|
|
401
400
|
getEventTableData: g,
|
|
402
|
-
hasProducts:
|
|
403
|
-
eventRateType:
|
|
401
|
+
hasProducts: B,
|
|
402
|
+
eventRateType: J,
|
|
404
403
|
areListingsAvailable: ie,
|
|
405
|
-
isAvailabilityDataAvailable:
|
|
406
|
-
isTemplateEvent:
|
|
404
|
+
isAvailabilityDataAvailable: K,
|
|
405
|
+
isTemplateEvent: I,
|
|
407
406
|
hasListingData: X,
|
|
408
|
-
isPaymentLoading:
|
|
407
|
+
isPaymentLoading: G,
|
|
409
408
|
isReservationFormFilled: ee
|
|
410
|
-
} =
|
|
411
|
-
initialize:
|
|
412
|
-
fetchListings:
|
|
413
|
-
createBooking:
|
|
409
|
+
} = H(j()), { currency: Z } = H(Oe()), { eventDate: Se } = H(et()), {
|
|
410
|
+
initialize: Be,
|
|
411
|
+
fetchListings: Le,
|
|
412
|
+
createBooking: Ie,
|
|
414
413
|
localAddonPrice: fe,
|
|
415
|
-
totalAddonPrice:
|
|
414
|
+
totalAddonPrice: Ne,
|
|
416
415
|
reset: be
|
|
417
|
-
} =
|
|
418
|
-
const
|
|
419
|
-
return g.value && g.value.forEach((
|
|
420
|
-
|
|
421
|
-
label: ve(
|
|
422
|
-
value:
|
|
416
|
+
} = j(), { display: ge } = Te(), Me = le(() => {
|
|
417
|
+
const E = [];
|
|
418
|
+
return g.value && g.value.forEach((k) => {
|
|
419
|
+
E.push({
|
|
420
|
+
label: ve(k.time),
|
|
421
|
+
value: k.time
|
|
423
422
|
});
|
|
424
|
-
}),
|
|
423
|
+
}), E;
|
|
425
424
|
});
|
|
426
|
-
function
|
|
427
|
-
|
|
425
|
+
function Re() {
|
|
426
|
+
const E = ot("hash-params", {
|
|
427
|
+
removeNullishValues: !0
|
|
428
|
+
});
|
|
429
|
+
parseInt(E.eId);
|
|
430
|
+
const k = E.date;
|
|
431
|
+
if (k)
|
|
432
|
+
if (lt(k)) {
|
|
433
|
+
const A = new Date(k);
|
|
434
|
+
A >= /* @__PURE__ */ new Date() ? (Se.value = A, E.date = void 0) : ge({
|
|
435
|
+
message: n("alert.error.invalidDateRange"),
|
|
436
|
+
type: "error"
|
|
437
|
+
});
|
|
438
|
+
} else
|
|
439
|
+
ge({
|
|
440
|
+
message: n("alert.error.wrongDateFormat"),
|
|
441
|
+
type: "error"
|
|
442
|
+
});
|
|
443
|
+
Le();
|
|
428
444
|
}
|
|
429
|
-
return (
|
|
445
|
+
return (E, k) => (a(), V(nt, { styling: E.styling }, {
|
|
430
446
|
default: p(() => [
|
|
431
|
-
(a(),
|
|
447
|
+
(a(), V(He, { onResolve: Re }, {
|
|
432
448
|
default: p(() => [
|
|
433
|
-
f(
|
|
449
|
+
f(bt, {
|
|
434
450
|
id: "konnectio-event-module",
|
|
435
|
-
"access-token":
|
|
436
|
-
callback: e(
|
|
451
|
+
"access-token": E.accessToken,
|
|
452
|
+
callback: e(Be)
|
|
437
453
|
}, {
|
|
438
454
|
default: p(() => [
|
|
439
|
-
f(
|
|
440
|
-
availability: p(({ next:
|
|
455
|
+
f(ut, null, {
|
|
456
|
+
availability: p(({ next: A }) => [
|
|
441
457
|
f(de, null, {
|
|
442
458
|
sidebar: p(() => [
|
|
443
|
-
f(
|
|
459
|
+
f(yt, {
|
|
444
460
|
redirection: !1,
|
|
445
|
-
"selected-location": Number(
|
|
461
|
+
"selected-location": Number(E.selectedLocation)
|
|
446
462
|
}, null, 8, ["selected-location"])
|
|
447
463
|
]),
|
|
448
464
|
form: p(() => [
|
|
449
|
-
e(X) && e(ie) ? (a(), m("div",
|
|
450
|
-
e(
|
|
465
|
+
e(X) && e(ie) ? (a(), m("div", Zt, [
|
|
466
|
+
e(y) && E.onlyShow !== "templates" ? (a(), m(L, { key: 0 }, [
|
|
451
467
|
h("", !0),
|
|
452
|
-
t("ul",
|
|
453
|
-
(a(!0), m(
|
|
454
|
-
id:
|
|
468
|
+
t("ul", Qt, [
|
|
469
|
+
(a(!0), m(L, null, q(e(S), ({
|
|
470
|
+
id: C,
|
|
455
471
|
days: r,
|
|
456
|
-
name:
|
|
457
|
-
timeFrom:
|
|
458
|
-
timeTo:
|
|
459
|
-
fromDate:
|
|
460
|
-
toDate:
|
|
461
|
-
tableGroupId:
|
|
472
|
+
name: N,
|
|
473
|
+
timeFrom: M,
|
|
474
|
+
timeTo: D,
|
|
475
|
+
fromDate: T,
|
|
476
|
+
toDate: Q,
|
|
477
|
+
tableGroupId: W,
|
|
462
478
|
description: re,
|
|
463
|
-
soldOut:
|
|
464
|
-
length:
|
|
465
|
-
images:
|
|
466
|
-
maxOnlineReservationLimit:
|
|
467
|
-
}) => (a(),
|
|
468
|
-
key:
|
|
479
|
+
soldOut: ue,
|
|
480
|
+
length: x,
|
|
481
|
+
images: Ue,
|
|
482
|
+
maxOnlineReservationLimit: Fe
|
|
483
|
+
}) => (a(), V(St, {
|
|
484
|
+
key: C,
|
|
469
485
|
type: "event",
|
|
470
|
-
"listing-id":
|
|
471
|
-
"table-group-id":
|
|
486
|
+
"listing-id": C,
|
|
487
|
+
"table-group-id": W,
|
|
472
488
|
description: re,
|
|
473
|
-
name:
|
|
474
|
-
length:
|
|
475
|
-
gallery:
|
|
489
|
+
name: N,
|
|
490
|
+
length: x,
|
|
491
|
+
gallery: Ue,
|
|
476
492
|
days: r,
|
|
477
|
-
"from-date":
|
|
478
|
-
"to-date":
|
|
479
|
-
"max-online-reservation-limit":
|
|
480
|
-
"time-from":
|
|
481
|
-
"time-to":
|
|
482
|
-
"sold-out":
|
|
483
|
-
callback:
|
|
493
|
+
"from-date": T,
|
|
494
|
+
"to-date": Q,
|
|
495
|
+
"max-online-reservation-limit": Fe,
|
|
496
|
+
"time-from": M,
|
|
497
|
+
"time-to": D,
|
|
498
|
+
"sold-out": ue,
|
|
499
|
+
callback: A
|
|
484
500
|
}, 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", "callback"]))), 128))
|
|
485
501
|
])
|
|
486
502
|
], 64)) : h("", !0),
|
|
487
|
-
e(
|
|
503
|
+
e(_) && E.onlyShow !== "events" ? (a(), m(L, { key: 1 }, [
|
|
488
504
|
h("", !0),
|
|
489
|
-
t("ul",
|
|
490
|
-
(a(!0), m(
|
|
491
|
-
id:
|
|
505
|
+
t("ul", Wt, [
|
|
506
|
+
(a(!0), m(L, null, q(e(P), ({
|
|
507
|
+
id: C,
|
|
492
508
|
name: r,
|
|
493
|
-
fromDate:
|
|
494
|
-
toDate:
|
|
495
|
-
minimumPersonCount:
|
|
496
|
-
fromPrice:
|
|
497
|
-
description:
|
|
498
|
-
imageUrl:
|
|
499
|
-
}) => (a(),
|
|
500
|
-
key:
|
|
501
|
-
"listing-id":
|
|
509
|
+
fromDate: N,
|
|
510
|
+
toDate: M,
|
|
511
|
+
minimumPersonCount: D,
|
|
512
|
+
fromPrice: T,
|
|
513
|
+
description: Q,
|
|
514
|
+
imageUrl: W
|
|
515
|
+
}) => (a(), V(Lt, {
|
|
516
|
+
key: C,
|
|
517
|
+
"listing-id": C,
|
|
502
518
|
name: r,
|
|
503
|
-
image:
|
|
504
|
-
description:
|
|
505
|
-
"from-date":
|
|
506
|
-
"to-date":
|
|
507
|
-
"minimum-person-count":
|
|
508
|
-
fromPrice:
|
|
509
|
-
callback:
|
|
519
|
+
image: W,
|
|
520
|
+
description: Q,
|
|
521
|
+
"from-date": N,
|
|
522
|
+
"to-date": M,
|
|
523
|
+
"minimum-person-count": D,
|
|
524
|
+
fromPrice: T,
|
|
525
|
+
callback: A
|
|
510
526
|
}, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
|
|
511
527
|
])
|
|
512
528
|
], 64)) : h("", !0)
|
|
513
|
-
])) : (a(),
|
|
529
|
+
])) : (a(), V(Ae, { key: 1 }))
|
|
514
530
|
]),
|
|
515
531
|
_: 2
|
|
516
532
|
}, 1024)
|
|
517
533
|
]),
|
|
518
|
-
addons: p(({ next:
|
|
519
|
-
e(
|
|
534
|
+
addons: p(({ next: A, prev: C }) => [
|
|
535
|
+
e(K) ? (a(), V(de, { key: 0 }, {
|
|
520
536
|
form: p(() => [
|
|
521
|
-
t("form",
|
|
537
|
+
t("form", xt, [
|
|
522
538
|
t("h2", null, [
|
|
523
539
|
t("span", null, o(e(n)("booking.reservation.addons")), 1)
|
|
524
540
|
]),
|
|
525
|
-
e(
|
|
541
|
+
e(J) === e(_e).FullDayEvent ? (a(), V(oe, {
|
|
526
542
|
key: 0,
|
|
527
543
|
modelValue: e(l),
|
|
528
|
-
"onUpdate:modelValue":
|
|
544
|
+
"onUpdate:modelValue": k[0] || (k[0] = (r) => R(l) ? l.value = r : null),
|
|
529
545
|
label: e(n)("event.numberOfDays"),
|
|
530
546
|
"min-value": 1,
|
|
531
547
|
required: ""
|
|
532
548
|
}, null, 8, ["modelValue", "label"])) : h("", !0),
|
|
533
|
-
e(i) && e(i).length > 0 ? (a(), m("ul",
|
|
534
|
-
(a(!0), m(
|
|
549
|
+
e(i) && e(i).length > 0 ? (a(), m("ul", Jt, [
|
|
550
|
+
(a(!0), m(L, null, q(e(i), ({
|
|
535
551
|
roomGroupId: r,
|
|
536
|
-
addons:
|
|
537
|
-
adultPerRoom:
|
|
538
|
-
},
|
|
552
|
+
addons: N,
|
|
553
|
+
adultPerRoom: M
|
|
554
|
+
}, D) => (a(), m("li", { key: r }, [
|
|
539
555
|
t("h5", null, [
|
|
540
|
-
t("span", null, o(e(n)("booking.reservation.room")) + " #" + o(
|
|
541
|
-
|
|
556
|
+
t("span", null, o(e(n)("booking.reservation.room")) + " #" + o(D + 1), 1),
|
|
557
|
+
he(" ("),
|
|
542
558
|
f(pe, {
|
|
543
559
|
icon: "male",
|
|
544
560
|
type: "fas",
|
|
545
561
|
color: "header"
|
|
546
562
|
}),
|
|
547
|
-
|
|
563
|
+
he(" " + o(M) + ") ", 1)
|
|
548
564
|
]),
|
|
549
|
-
t("table",
|
|
565
|
+
t("table", Kt, [
|
|
550
566
|
t("thead", null, [
|
|
551
567
|
t("tr", null, [
|
|
552
568
|
t("th", null, [
|
|
553
569
|
t("span", null, o(e(n)("booking.reservation.addons")), 1)
|
|
554
570
|
]),
|
|
555
|
-
|
|
556
|
-
t("th",
|
|
571
|
+
Xt,
|
|
572
|
+
t("th", en, [
|
|
557
573
|
t("span", null, o(e(n)("booking.availability.price")), 1)
|
|
558
574
|
])
|
|
559
575
|
])
|
|
560
576
|
]),
|
|
561
577
|
t("tbody", null, [
|
|
562
|
-
(a(!0), m(
|
|
563
|
-
id:
|
|
564
|
-
cardinality:
|
|
565
|
-
name:
|
|
578
|
+
(a(!0), m(L, null, q(N, ({
|
|
579
|
+
id: T,
|
|
580
|
+
cardinality: Q,
|
|
581
|
+
name: W,
|
|
566
582
|
price: re,
|
|
567
|
-
quantityStrategy:
|
|
568
|
-
}) => (a(), m("tr", { key:
|
|
583
|
+
quantityStrategy: ue
|
|
584
|
+
}) => (a(), m("tr", { key: T }, [
|
|
569
585
|
t("td", null, [
|
|
570
|
-
t("b", null, o(
|
|
571
|
-
|
|
572
|
-
t("span", null, o(e(
|
|
586
|
+
t("b", null, o(W), 1),
|
|
587
|
+
tn,
|
|
588
|
+
t("span", null, o(e(U)(re, e(Z))) + " " + o(e(tt)(ue)), 1)
|
|
573
589
|
]),
|
|
574
|
-
t("td",
|
|
575
|
-
|
|
590
|
+
t("td", nn, [
|
|
591
|
+
Q === 3 ? (a(), V(oe, {
|
|
576
592
|
key: 0,
|
|
577
|
-
modelValue: e(s)[`${r}.${
|
|
578
|
-
"onUpdate:modelValue": (
|
|
593
|
+
modelValue: e(s)[`${r}.${T}.${D}`],
|
|
594
|
+
"onUpdate:modelValue": (x) => e(s)[`${r}.${T}.${D}`] = x,
|
|
579
595
|
small: !0,
|
|
580
596
|
"min-value": 0
|
|
581
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(),
|
|
597
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), V(gt, {
|
|
582
598
|
key: 1,
|
|
583
|
-
modelValue: e(s)[`${r}.${
|
|
584
|
-
"onUpdate:modelValue": (
|
|
599
|
+
modelValue: e(s)[`${r}.${T}.${D}`],
|
|
600
|
+
"onUpdate:modelValue": (x) => e(s)[`${r}.${T}.${D}`] = x,
|
|
585
601
|
numeric: !0
|
|
586
602
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
587
603
|
]),
|
|
588
|
-
t("td",
|
|
589
|
-
t("span", null, o(e(
|
|
604
|
+
t("td", on, [
|
|
605
|
+
t("span", null, o(e(U)(e(fe)(T, r, D), e(Z))), 1)
|
|
590
606
|
])
|
|
591
607
|
]))), 128))
|
|
592
608
|
]),
|
|
593
609
|
t("tfoot", null, [
|
|
594
610
|
t("tr", null, [
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
t("td",
|
|
611
|
+
ln,
|
|
612
|
+
an,
|
|
613
|
+
t("td", sn, [
|
|
598
614
|
t("u", null, [
|
|
599
|
-
t("span", null, o(e(
|
|
615
|
+
t("span", null, o(e(U)(e(Ne)(r, D), e(Z))), 1)
|
|
600
616
|
])
|
|
601
617
|
])
|
|
602
618
|
])
|
|
@@ -604,54 +620,54 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
604
620
|
])
|
|
605
621
|
]))), 128))
|
|
606
622
|
])) : h("", !0),
|
|
607
|
-
e(
|
|
623
|
+
e(J) !== e(_e).FullDayEvent && !e(I) ? (a(), m("div", rn, [
|
|
608
624
|
h("", !0),
|
|
609
|
-
f(
|
|
625
|
+
f(ct, {
|
|
610
626
|
modelValue: e(v),
|
|
611
|
-
"onUpdate:modelValue":
|
|
627
|
+
"onUpdate:modelValue": k[1] || (k[1] = (r) => R(v) ? v.value = r : null),
|
|
612
628
|
label: e(n)("event.selectArrivalTime"),
|
|
613
629
|
name: "eventTimeTable",
|
|
614
|
-
checkboxes:
|
|
630
|
+
checkboxes: Me.value,
|
|
615
631
|
required: ""
|
|
616
632
|
}, null, 8, ["modelValue", "label", "checkboxes"])
|
|
617
633
|
])) : h("", !0),
|
|
618
|
-
e(
|
|
619
|
-
t("label",
|
|
634
|
+
e(B) ? (a(), m("div", un, [
|
|
635
|
+
t("label", cn, [
|
|
620
636
|
t("span", null, o(e(n)("event.selectProducts")), 1)
|
|
621
637
|
]),
|
|
622
|
-
t("table",
|
|
638
|
+
t("table", dn, [
|
|
623
639
|
t("thead", null, [
|
|
624
640
|
t("tr", null, [
|
|
625
641
|
t("th", null, [
|
|
626
642
|
t("span", null, o(e(n)("booking.reservation.addons")), 1)
|
|
627
643
|
]),
|
|
628
|
-
|
|
629
|
-
t("th",
|
|
644
|
+
mn,
|
|
645
|
+
t("th", pn, [
|
|
630
646
|
t("span", null, o(e(n)("booking.availability.price")), 1)
|
|
631
647
|
])
|
|
632
648
|
])
|
|
633
649
|
]),
|
|
634
650
|
t("tbody", null, [
|
|
635
|
-
(a(!0), m(
|
|
651
|
+
(a(!0), m(L, null, q(e(O).products, ({ productID: r, productName: N, price: M, description: D }) => (a(), m("tr", { key: r }, [
|
|
636
652
|
t("td", null, [
|
|
637
653
|
t("b", null, [
|
|
638
|
-
t("span", null, o(
|
|
654
|
+
t("span", null, o(N), 1)
|
|
639
655
|
]),
|
|
640
|
-
|
|
641
|
-
t("span", null, o(
|
|
642
|
-
|
|
643
|
-
t("span", null, o(e(
|
|
656
|
+
vn,
|
|
657
|
+
t("span", null, o(D), 1),
|
|
658
|
+
fn,
|
|
659
|
+
t("span", null, o(e(U)(M, e(Z))), 1)
|
|
644
660
|
]),
|
|
645
|
-
t("td",
|
|
661
|
+
t("td", bn, [
|
|
646
662
|
f(oe, {
|
|
647
663
|
modelValue: e(d)[r],
|
|
648
|
-
"onUpdate:modelValue": (
|
|
664
|
+
"onUpdate:modelValue": (T) => e(d)[r] = T,
|
|
649
665
|
small: !0,
|
|
650
666
|
"min-value": 0
|
|
651
667
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
652
668
|
]),
|
|
653
|
-
t("td",
|
|
654
|
-
t("span", null, o(e(
|
|
669
|
+
t("td", gn, [
|
|
670
|
+
t("span", null, o(e(U)(e(fe)(r), e(Z))), 1)
|
|
655
671
|
])
|
|
656
672
|
]))), 128))
|
|
657
673
|
])
|
|
@@ -663,40 +679,40 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
663
679
|
f(me, {
|
|
664
680
|
label: e(n)("general.startReservation"),
|
|
665
681
|
"full-width": "",
|
|
666
|
-
onClickEvent:
|
|
682
|
+
onClickEvent: A
|
|
667
683
|
}, null, 8, ["label", "onClickEvent"]),
|
|
668
684
|
t("button", {
|
|
669
685
|
class: "konnectio-abort-reservation link",
|
|
670
|
-
onClick:
|
|
686
|
+
onClick: ke((r) => e(be)(C), ["prevent"])
|
|
671
687
|
}, [
|
|
672
688
|
t("span", null, o(e(n)("general.goAStepBack")), 1)
|
|
673
|
-
], 8,
|
|
689
|
+
], 8, hn)
|
|
674
690
|
]),
|
|
675
691
|
_: 2
|
|
676
692
|
}, 1024)) : h("", !0)
|
|
677
693
|
]),
|
|
678
|
-
reservation: p(({ next:
|
|
694
|
+
reservation: p(({ next: A, prev: C }) => [
|
|
679
695
|
f(de, {
|
|
680
696
|
"show-terms-notice": !0,
|
|
681
697
|
"show-gift-card": !0
|
|
682
698
|
}, {
|
|
683
699
|
form: p(() => [
|
|
684
|
-
t("form",
|
|
700
|
+
t("form", kn, [
|
|
685
701
|
t("h2", null, [
|
|
686
702
|
t("span", null, o(e(n)("booking.reservation.detailsTitle")), 1)
|
|
687
703
|
]),
|
|
688
|
-
f(
|
|
689
|
-
modelValue: e(
|
|
690
|
-
"onUpdate:modelValue":
|
|
704
|
+
f(ce, {
|
|
705
|
+
modelValue: e($),
|
|
706
|
+
"onUpdate:modelValue": k[2] || (k[2] = (r) => R($) ? $.value = r : null),
|
|
691
707
|
type: "text",
|
|
692
708
|
label: e(n)("booking.reservation.name"),
|
|
693
709
|
icon: "user-alt",
|
|
694
710
|
placeholder: e(n)("booking.reservation.namePlaceholder"),
|
|
695
711
|
required: ""
|
|
696
712
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
697
|
-
f(
|
|
698
|
-
modelValue: e(
|
|
699
|
-
"onUpdate:modelValue":
|
|
713
|
+
f(ce, {
|
|
714
|
+
modelValue: e(w),
|
|
715
|
+
"onUpdate:modelValue": k[3] || (k[3] = (r) => R(w) ? w.value = r : null),
|
|
700
716
|
label: e(n)("booking.reservation.email"),
|
|
701
717
|
type: "email",
|
|
702
718
|
name: "email",
|
|
@@ -705,17 +721,17 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
705
721
|
placeholder: e(n)("booking.reservation.emailPlaceholder"),
|
|
706
722
|
required: ""
|
|
707
723
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
708
|
-
f(
|
|
724
|
+
f(ht, {
|
|
709
725
|
modelValue: e(b),
|
|
710
|
-
"onUpdate:modelValue":
|
|
726
|
+
"onUpdate:modelValue": k[4] || (k[4] = (r) => R(b) ? b.value = r : null),
|
|
711
727
|
label: e(n)("booking.reservation.phone"),
|
|
712
728
|
icon: "phone-office",
|
|
713
729
|
placeholder: e(n)("booking.reservation.phonePlaceholder"),
|
|
714
730
|
required: ""
|
|
715
731
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
716
|
-
f(
|
|
717
|
-
modelValue: e(
|
|
718
|
-
"onUpdate:modelValue":
|
|
732
|
+
f(ce, {
|
|
733
|
+
modelValue: e(u),
|
|
734
|
+
"onUpdate:modelValue": k[5] || (k[5] = (r) => R(u) ? u.value = r : null),
|
|
719
735
|
type: "textarea",
|
|
720
736
|
label: `${e(n)("booking.reservation.remark")} (${e(n)("booking.reservation.optional")})`,
|
|
721
737
|
icon: "info-circle",
|
|
@@ -726,26 +742,26 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
726
742
|
navigation: p(() => [
|
|
727
743
|
f(me, {
|
|
728
744
|
label: e(n)("general.confirmReservation"),
|
|
729
|
-
"is-loading": e(
|
|
745
|
+
"is-loading": e(G),
|
|
730
746
|
disabled: !e(ee),
|
|
731
747
|
"full-width": "",
|
|
732
|
-
onClickEvent: (r) => e(
|
|
748
|
+
onClickEvent: (r) => e(Ie)(A)
|
|
733
749
|
}, null, 8, ["label", "is-loading", "disabled", "onClickEvent"]),
|
|
734
750
|
t("button", {
|
|
735
751
|
class: "konnectio-abort-reservation link",
|
|
736
|
-
onClick:
|
|
752
|
+
onClick: ke((r) => e(be)(C), ["prevent"])
|
|
737
753
|
}, [
|
|
738
754
|
t("span", null, o(e(n)("general.goAStepBack")), 1)
|
|
739
|
-
], 8,
|
|
755
|
+
], 8, yn)
|
|
740
756
|
]),
|
|
741
757
|
_: 2
|
|
742
758
|
}, 1024)
|
|
743
759
|
]),
|
|
744
760
|
payment: p(() => [
|
|
745
|
-
f(
|
|
761
|
+
f(kt)
|
|
746
762
|
]),
|
|
747
763
|
confirmation: p(() => [
|
|
748
|
-
f(
|
|
764
|
+
f(dt, {
|
|
749
765
|
message: e(n)("event.confirmationMessage")
|
|
750
766
|
}, null, 8, ["message"])
|
|
751
767
|
]),
|
|
@@ -756,7 +772,7 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
756
772
|
}, 8, ["access-token", "callback"])
|
|
757
773
|
]),
|
|
758
774
|
fallback: p(() => [
|
|
759
|
-
f(
|
|
775
|
+
f(Yt)
|
|
760
776
|
]),
|
|
761
777
|
_: 1
|
|
762
778
|
}))
|
|
@@ -764,8 +780,8 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
|
|
|
764
780
|
_: 1
|
|
765
781
|
}, 8, ["styling"]));
|
|
766
782
|
}
|
|
767
|
-
}), te = /* @__PURE__ */ se(
|
|
768
|
-
class
|
|
783
|
+
}), te = /* @__PURE__ */ se(_n, [["__scopeId", "data-v-a7239480"]]), $n = Qe(), wn = xe();
|
|
784
|
+
class Dn extends HTMLElement {
|
|
769
785
|
vueApp;
|
|
770
786
|
constructor() {
|
|
771
787
|
super();
|
|
@@ -776,24 +792,24 @@ class yn extends HTMLElement {
|
|
|
776
792
|
connectedCallback() {
|
|
777
793
|
const n = typeof te == "function" ? te.options : te;
|
|
778
794
|
let s = Array.isArray(n.props) ? n.props : Object.keys(n.props || {});
|
|
779
|
-
const d = (
|
|
795
|
+
const d = (u) => u.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (v, y) => (y ? "-" : "") + v.toLowerCase()), l = (u) => u.replace(/-./g, (v) => v[1].toUpperCase()), $ = {};
|
|
780
796
|
s = s.map(d);
|
|
781
797
|
const b = {};
|
|
782
|
-
for (const
|
|
783
|
-
const
|
|
784
|
-
|
|
798
|
+
for (const u of this.attributes) {
|
|
799
|
+
const y = u.name.split(".");
|
|
800
|
+
y.length > 1 && (b[y[0]] || (b[y[0]] = {}), b[y[0]][l(y[1])] = u.value);
|
|
785
801
|
}
|
|
786
|
-
for (const
|
|
787
|
-
let v = this.attributes.getNamedItem(
|
|
788
|
-
b.hasOwnProperty(
|
|
802
|
+
for (const u of s) {
|
|
803
|
+
let v = this.attributes.getNamedItem(u)?.value;
|
|
804
|
+
b.hasOwnProperty(u) && (v = b[u]), $[u] = v;
|
|
789
805
|
}
|
|
790
|
-
this.vueApp =
|
|
791
|
-
const
|
|
792
|
-
this.vueApp.mount(
|
|
806
|
+
this.vueApp = Ze(te, $), this.vueApp.provide("emitter", wn), this.vueApp.use(We), this.vueApp.use($n), this.vueApp.use(mt), this.vueApp.use(pt), this.vueApp.use(at, { bootstrap: !0 });
|
|
807
|
+
const w = document.createElement("div");
|
|
808
|
+
this.vueApp.mount(w), this.appendChild(w.children[0]);
|
|
793
809
|
}
|
|
794
810
|
}
|
|
795
|
-
window.customElements.define("konnectio-event",
|
|
811
|
+
window.customElements.define("konnectio-event", Dn);
|
|
796
812
|
export {
|
|
797
|
-
|
|
813
|
+
Dn as default
|
|
798
814
|
};
|
|
799
815
|
//# sourceMappingURL=event.js.map
|