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