@konnectio/core 4.0.56-rc23 → 4.0.56-rc25
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-BUeonTqc.js → ActionField-7P8dDME0.js} +10 -10
- package/dist/ActionField-7P8dDME0.js.br +0 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-Ts9271hZ.js → AvailabilitySkeleton-kd2z0IL5.js} +1376 -1324
- package/dist/AvailabilitySkeleton-kd2z0IL5.js.br +0 -0
- package/dist/{CheckoutWindow-sws5X9v2.js → CheckoutWindow-Cru3v8It.js} +26 -26
- package/dist/CheckoutWindow-Cru3v8It.js.br +0 -0
- package/dist/{ErrorMessage-GzJ2T5_d.js → ErrorMessage-5TxZYuTj.js} +1 -1
- package/dist/ErrorMessage-5TxZYuTj.js.br +0 -0
- package/dist/EventAvailabilityForm--XuKLthM.js +325 -0
- package/dist/EventAvailabilityForm--XuKLthM.js.br +0 -0
- package/dist/{_-hKpeUU4C.js → Field-pY1XGbPQ.js} +13128 -12492
- package/dist/Field-pY1XGbPQ.js.br +0 -0
- package/dist/HotelAvailabilityForm-hWTsZCGI.js +164 -0
- package/dist/HotelAvailabilityForm-hWTsZCGI.js.br +0 -0
- package/dist/availability.js +22 -21
- package/dist/availability.js.br +0 -0
- package/dist/event.js +578 -304
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +41 -42
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +69 -70
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.js +1081 -2224
- package/dist/hotel.js.br +0 -0
- package/dist/masonry.plugin-MNkmNEdZ.js +12726 -0
- package/dist/masonry.plugin-MNkmNEdZ.js.br +0 -0
- package/dist/polyfill.js +3014 -2962
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +8 -8
- package/dist/ActionField-BUeonTqc.js.br +0 -9
- package/dist/AvailabilitySkeleton-gympaD6B.js +0 -217
- package/dist/AvailabilitySkeleton-gympaD6B.js.br +0 -0
- package/dist/CheckoutWindow-sws5X9v2.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-Ts9271hZ.js.br +0 -0
- package/dist/ErrorMessage-GzJ2T5_d.js.br +0 -0
- package/dist/EventAvailabilityForm-c0u7rObv.js +0 -367
- package/dist/EventAvailabilityForm-c0u7rObv.js.br +0 -0
- package/dist/Field-hjOjPQhC.js +0 -41
- package/dist/Field-hjOjPQhC.js.br +0 -0
- package/dist/ThankYou-d129mmKn.js +0 -11549
- package/dist/ThankYou-d129mmKn.js.br +0 -0
- package/dist/_-hKpeUU4C.js.br +0 -0
package/dist/event.js
CHANGED
|
@@ -1,325 +1,599 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import {
|
|
3
|
-
import { u as
|
|
4
|
-
import "./ActionField-
|
|
5
|
-
import { P as
|
|
6
|
-
|
|
7
|
-
const
|
|
1
|
+
import { d as J, u as te, Q as Ie, s as Z, c as ye, r as ze, e as je, f as a, n as _, a4 as _e, z as d, g as i, j as e, a5 as ce, m as u, h as n, a6 as pe, k as r, a1 as C, A as t, a7 as me, a8 as Ge, a2 as O, a9 as Ze, x as le, aa as Qe, Z as x, o as Je, w as Ke, S as We, F as A, ab as S, l as R, V as ve, p as ee, T as be, ac as he, ad as Ye, ae as ne, a3 as fe, C as Xe, t as xe, D as en, E as nn, G as tn, H as ln, J as an, K as on, L as sn, af as rn, M as un } from "./Field-pY1XGbPQ.js";
|
|
2
|
+
import { B as dn, R as cn, L as Ve, M as pn, T as mn, V as vn, G as bn } from "./masonry.plugin-MNkmNEdZ.js";
|
|
3
|
+
import { u as Q, E as hn } from "./EventAvailabilityForm--XuKLthM.js";
|
|
4
|
+
import { A as fn } from "./ActionField-7P8dDME0.js";
|
|
5
|
+
import { P as gn, C as ge, a as kn } from "./CheckoutWindow-Cru3v8It.js";
|
|
6
|
+
import { A as yn } from "./AvailabilitySkeleton-kd2z0IL5.js";
|
|
7
|
+
const _n = ["innerHTML"], Vn = { class: "konnectio-event-listing-information-new" };
|
|
8
|
+
const En = { key: 1 }, Tn = { key: 2 }, $n = /* @__PURE__ */ J({
|
|
9
|
+
__name: "Event",
|
|
10
|
+
props: {
|
|
11
|
+
name: {},
|
|
12
|
+
type: {},
|
|
13
|
+
description: {},
|
|
14
|
+
fromDate: {},
|
|
15
|
+
toDate: {},
|
|
16
|
+
listingId: {},
|
|
17
|
+
tableGroupId: {},
|
|
18
|
+
days: {},
|
|
19
|
+
length: {},
|
|
20
|
+
timeFrom: {},
|
|
21
|
+
timeTo: {},
|
|
22
|
+
maxOnlineReservationLimit: {},
|
|
23
|
+
minimumPersonCount: {},
|
|
24
|
+
fromPrice: {},
|
|
25
|
+
gallery: {},
|
|
26
|
+
soldOut: { type: Boolean, default: !1 },
|
|
27
|
+
layout: {},
|
|
28
|
+
trackingEnabled: { type: Boolean },
|
|
29
|
+
callback: {}
|
|
30
|
+
},
|
|
31
|
+
setup(V) {
|
|
32
|
+
const { t: l } = te(), p = V, { display: m } = Ie(), { currency: B } = Z(ye()), {
|
|
33
|
+
maxNumberOfPeople: E,
|
|
34
|
+
numberOfPeople: T,
|
|
35
|
+
eventId: $,
|
|
36
|
+
tableGroupId: c
|
|
37
|
+
} = Z(Q()), {
|
|
38
|
+
getTemplateAvailability: b,
|
|
39
|
+
getEventAvailability: h,
|
|
40
|
+
isEventListingLoading: D
|
|
41
|
+
} = Q(), v = ze(0), H = je(() => D(p.listingId)), I = () => {
|
|
42
|
+
v.value > 0 ? ($.value = p.listingId, T.value = v.value, b(p.callback)) : m({
|
|
43
|
+
type: "error",
|
|
44
|
+
message: l("alert.error.selectPeople")
|
|
45
|
+
});
|
|
46
|
+
}, K = () => {
|
|
47
|
+
v.value > 0 ? ($.value = p.listingId, c.value = p.tableGroupId, T.value = v.value, h(p.callback)) : m({
|
|
48
|
+
type: "error",
|
|
49
|
+
message: l("alert.error.selectPeople")
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
return (s, P) => (a(), _(dn, {
|
|
53
|
+
"listing-id": s.listingId,
|
|
54
|
+
gallery: s.gallery,
|
|
55
|
+
name: s.name,
|
|
56
|
+
description: s.description,
|
|
57
|
+
layout: e(Ze).Event
|
|
58
|
+
}, _e({
|
|
59
|
+
action: d(() => [
|
|
60
|
+
r(fn, {
|
|
61
|
+
modelValue: v.value,
|
|
62
|
+
"onUpdate:modelValue": P[0] || (P[0] = (U) => v.value = U),
|
|
63
|
+
type: "number",
|
|
64
|
+
label: e(l)("event.numberOfGuests"),
|
|
65
|
+
buttonLabel: s.soldOut ? e(l)("event.soldOut") : e(l)("event.bookNowButton"),
|
|
66
|
+
buttonDisabled: s.soldOut,
|
|
67
|
+
"min-value": s.type === "event" ? 1 : s.minimumPersonCount,
|
|
68
|
+
"max-value": s.type === "event" ? s.maxOnlineReservationLimit || 1 / 0 : e(E),
|
|
69
|
+
"is-loading": H.value,
|
|
70
|
+
"onUpdate:isLoading": P[1] || (P[1] = (U) => H.value = U),
|
|
71
|
+
onAction: P[2] || (P[2] = (U) => s.type === "event" ? K() : I())
|
|
72
|
+
}, null, 8, ["modelValue", "label", "buttonLabel", "buttonDisabled", "min-value", "max-value", "is-loading"])
|
|
73
|
+
]),
|
|
74
|
+
_: 2
|
|
75
|
+
}, [
|
|
76
|
+
s.type === "event" ? {
|
|
77
|
+
name: "description",
|
|
78
|
+
fn: d(() => [
|
|
79
|
+
s.description ? (a(), i("p", {
|
|
80
|
+
key: 0,
|
|
81
|
+
innerHTML: e(ce)(s.description)
|
|
82
|
+
}, null, 8, _n)) : u("", !0),
|
|
83
|
+
n("ul", Vn, [
|
|
84
|
+
u("", !0),
|
|
85
|
+
e(pe)(s.fromDate, s.toDate) < 180 ? (a(), i("li", En, [
|
|
86
|
+
r(C, {
|
|
87
|
+
icon: "calendar-days",
|
|
88
|
+
color: "header"
|
|
89
|
+
}),
|
|
90
|
+
n("span", null, t(e(me)(s.fromDate, s.toDate)), 1)
|
|
91
|
+
])) : u("", !0),
|
|
92
|
+
n("li", null, [
|
|
93
|
+
n("span", null, t(s.length), 1)
|
|
94
|
+
]),
|
|
95
|
+
n("li", null, [
|
|
96
|
+
r(C, {
|
|
97
|
+
icon: "calendar-clock",
|
|
98
|
+
color: "header"
|
|
99
|
+
}),
|
|
100
|
+
n("span", null, t(e(Ge)(s.timeFrom, s.timeTo)), 1)
|
|
101
|
+
]),
|
|
102
|
+
s.maxOnlineReservationLimit ? (a(), i("li", Tn, [
|
|
103
|
+
r(C, {
|
|
104
|
+
icon: "user-alt",
|
|
105
|
+
color: "header"
|
|
106
|
+
}),
|
|
107
|
+
n("span", null, t(`1 - ${s.maxOnlineReservationLimit} ${e(l)("general.people")}`), 1)
|
|
108
|
+
])) : u("", !0)
|
|
109
|
+
])
|
|
110
|
+
]),
|
|
111
|
+
key: "0"
|
|
112
|
+
} : {
|
|
113
|
+
name: "description",
|
|
114
|
+
fn: d(() => [
|
|
115
|
+
n("ul", { class: "konnectio-event-listing-information" }, [
|
|
116
|
+
e(pe)(s.fromDate, s.toDate) < 180 ? (a(), i("li", { key: 0 }, [
|
|
117
|
+
r(C, {
|
|
118
|
+
icon: "calendar-days",
|
|
119
|
+
color: "header"
|
|
120
|
+
}),
|
|
121
|
+
n("span", null, t(e(me)(s.fromDate, s.toDate, !0)), 1)
|
|
122
|
+
])) : u("", !0),
|
|
123
|
+
n("li", null, [
|
|
124
|
+
r(C, {
|
|
125
|
+
icon: "user-alt",
|
|
126
|
+
color: "header"
|
|
127
|
+
}),
|
|
128
|
+
n("span", null, t(`${s.minimumPersonCount} - ${e(E)} ${e(l)("general.people")}`), 1)
|
|
129
|
+
]),
|
|
130
|
+
n("li", null, [
|
|
131
|
+
r(C, {
|
|
132
|
+
icon: "money-bill",
|
|
133
|
+
color: "header"
|
|
134
|
+
}),
|
|
135
|
+
n("span", null, t(`${e(l)("general.pricesFrom")} ${e(O)(s.fromPrice, e(B))}`), 1)
|
|
136
|
+
])
|
|
137
|
+
]),
|
|
138
|
+
s.description ? (a(), i("p", {
|
|
139
|
+
key: 0,
|
|
140
|
+
innerHTML: e(ce)(s.description)
|
|
141
|
+
}, null, 8, ["innerHTML"])) : u("", !0)
|
|
142
|
+
]),
|
|
143
|
+
key: "1"
|
|
144
|
+
}
|
|
145
|
+
]), 1032, ["listing-id", "gallery", "name", "description", "layout"]));
|
|
146
|
+
}
|
|
147
|
+
}), ke = /* @__PURE__ */ le($n, [["__scopeId", "data-v-228d0b15"]]), wn = /* @__PURE__ */ J({
|
|
148
|
+
__name: "EventReservationForm",
|
|
149
|
+
props: {
|
|
150
|
+
showGiftCard: { type: Boolean, default: !1 },
|
|
151
|
+
showTermsNotice: { type: Boolean, default: !1 }
|
|
152
|
+
},
|
|
153
|
+
setup(V) {
|
|
154
|
+
const { t: l } = te(), p = Qe();
|
|
155
|
+
return (m, B) => (a(), _(cn, {
|
|
156
|
+
"total-price": 0,
|
|
157
|
+
"show-gift-card": m.showGiftCard,
|
|
158
|
+
"show-terms-notice": m.showTermsNotice,
|
|
159
|
+
"is-sidebar-loading": !1,
|
|
160
|
+
notice: e(l)("hotel.reservationNotice")
|
|
161
|
+
}, _e({
|
|
162
|
+
form: d(() => [
|
|
163
|
+
x(m.$slots, "form")
|
|
164
|
+
]),
|
|
165
|
+
"reservation-summary": d(() => []),
|
|
166
|
+
"price-summary": d(() => []),
|
|
167
|
+
navigation: d(() => [
|
|
168
|
+
x(m.$slots, "navigation")
|
|
169
|
+
]),
|
|
170
|
+
_: 2
|
|
171
|
+
}, [
|
|
172
|
+
e(p).addons ? {
|
|
173
|
+
name: "addons",
|
|
174
|
+
fn: d(() => [
|
|
175
|
+
x(m.$slots, "addons")
|
|
176
|
+
]),
|
|
177
|
+
key: "0"
|
|
178
|
+
} : void 0
|
|
179
|
+
]), 1032, ["show-gift-card", "show-terms-notice", "notice"]));
|
|
180
|
+
}
|
|
181
|
+
}), An = { class: "event-skeleton" }, Cn = /* @__PURE__ */ J({
|
|
182
|
+
__name: "EventSkeleton",
|
|
183
|
+
setup(V) {
|
|
184
|
+
return (l, p) => (a(), i("div", An, [
|
|
185
|
+
r(yn, { view: "event" }),
|
|
186
|
+
r(Ve)
|
|
187
|
+
]));
|
|
188
|
+
}
|
|
189
|
+
}), Pn = /* @__PURE__ */ le(Cn, [["__scopeId", "data-v-66a17edb"]]), N = (V) => (tn("data-v-274a2a78"), V = V(), ln(), V), Ln = { class: "fresh-booking-panel" }, On = {
|
|
190
|
+
key: 0,
|
|
191
|
+
id: "fresh-booking-event-overview"
|
|
192
|
+
}, Bn = { class: "fresh-booking-event-listings" }, Dn = { class: "fresh-booking-event-listings" }, Fn = { class: "fresh-booking-panel" }, Sn = {
|
|
8
193
|
key: 2,
|
|
9
194
|
id: "fresh-booking-event-addons"
|
|
10
|
-
},
|
|
195
|
+
}, Un = { class: "fresh-booking-table" }, Rn = /* @__PURE__ */ N(() => /* @__PURE__ */ n("th", { class: "fresh-booking-event-addons-input" }, null, -1)), Nn = { class: "fresh-booking-event-addons-price" }, Mn = /* @__PURE__ */ N(() => /* @__PURE__ */ n("br", null, null, -1)), qn = { class: "fresh-booking-event-addons-input" }, Hn = { class: "fresh-booking-event-addons-price" }, In = /* @__PURE__ */ N(() => /* @__PURE__ */ n("td", { colspan: "2" }, null, -1)), zn = { class: "fresh-booking-event-addons-price" }, jn = { key: 3 }, Gn = { class: "fresh-booking-label required" }, Zn = { id: "fresh-booking-event-table" }, Qn = { key: 4 }, Jn = { class: "fresh-booking-label required" }, Kn = { class: "fresh-booking-table" }, Wn = /* @__PURE__ */ N(() => /* @__PURE__ */ n("th", { class: "fresh-booking-event-addons-input" }, null, -1)), Yn = { class: "fresh-booking-event-addons-price" }, Xn = /* @__PURE__ */ N(() => /* @__PURE__ */ n("br", null, null, -1)), xn = /* @__PURE__ */ N(() => /* @__PURE__ */ n("br", null, null, -1)), et = { class: "fresh-booking-event-addons-input" }, nt = { class: "fresh-booking-event-addons-price" }, tt = { key: 0 }, lt = { key: 1 }, at = { key: 2 }, ot = { key: 3 }, st = { key: 4 }, it = { key: 5 }, rt = { key: 6 }, ut = ["onClick"], dt = /* @__PURE__ */ J({
|
|
11
196
|
name: "EventLayout",
|
|
12
197
|
__name: "Event",
|
|
13
198
|
props: {
|
|
14
199
|
accessToken: {},
|
|
15
200
|
styling: {}
|
|
16
201
|
},
|
|
17
|
-
setup(
|
|
18
|
-
const { t:
|
|
19
|
-
searchDate:
|
|
20
|
-
addons:
|
|
21
|
-
products:
|
|
22
|
-
numberOfDays:
|
|
23
|
-
discountCode:
|
|
24
|
-
name:
|
|
25
|
-
phone:
|
|
26
|
-
email:
|
|
27
|
-
remark:
|
|
28
|
-
arrivalTime:
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
areListingsAvailable: $t,
|
|
54
|
-
isReservationFormFilled: be,
|
|
55
|
-
isAvailabilityDataAvailable: ke,
|
|
202
|
+
setup(V) {
|
|
203
|
+
const { t: l } = te(), {
|
|
204
|
+
searchDate: p,
|
|
205
|
+
addons: m,
|
|
206
|
+
products: B,
|
|
207
|
+
numberOfDays: E,
|
|
208
|
+
discountCode: T,
|
|
209
|
+
name: $,
|
|
210
|
+
phone: c,
|
|
211
|
+
email: b,
|
|
212
|
+
remark: h,
|
|
213
|
+
arrivalTime: D,
|
|
214
|
+
currency: v,
|
|
215
|
+
numberOfPeople: H,
|
|
216
|
+
numberOfTotalDays: I,
|
|
217
|
+
numberOfRooms: K,
|
|
218
|
+
basePrice: s,
|
|
219
|
+
totalPrice: P,
|
|
220
|
+
isPaymentLoading: U,
|
|
221
|
+
hasEvents: Ee,
|
|
222
|
+
hasTemplates: Te,
|
|
223
|
+
getEvents: $e,
|
|
224
|
+
getTemplates: we,
|
|
225
|
+
getEventData: Ae,
|
|
226
|
+
getTemplateData: z,
|
|
227
|
+
getEventTableData: Ce,
|
|
228
|
+
length: ae,
|
|
229
|
+
roomUpgrade: Pe,
|
|
230
|
+
weekendFee: Le,
|
|
231
|
+
fromDate: oe,
|
|
232
|
+
hasProducts: Oe,
|
|
233
|
+
eventRateType: se,
|
|
234
|
+
isMetaDataAvailable: vt,
|
|
235
|
+
areListingsAvailable: bt,
|
|
236
|
+
isReservationFormFilled: Be,
|
|
237
|
+
isAvailabilityDataAvailable: De,
|
|
56
238
|
// getEventImages,
|
|
57
|
-
isTemplateEvent:
|
|
58
|
-
tableBasePrice:
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
239
|
+
isTemplateEvent: L,
|
|
240
|
+
tableBasePrice: ie,
|
|
241
|
+
hasListingData: Fe
|
|
242
|
+
} = Z(Q()), {
|
|
243
|
+
initialize: Se,
|
|
244
|
+
validateDiscountCode: ht,
|
|
245
|
+
fetchListings: Ue,
|
|
246
|
+
createBooking: Re,
|
|
247
|
+
localAddonPrice: re,
|
|
248
|
+
totalAddonPrice: ue,
|
|
249
|
+
reset: Ne
|
|
250
|
+
} = Q(), {
|
|
251
|
+
hideEvents: Me,
|
|
252
|
+
hideEventTemplates: qe
|
|
253
|
+
} = Z(ye());
|
|
254
|
+
return Je(() => Se()), Ke(p, () => Ue()), (de, g) => (a(), _(nn, { styling: de.styling }, {
|
|
255
|
+
default: d(() => [
|
|
256
|
+
(a(), _(We, null, {
|
|
257
|
+
default: d(() => [
|
|
258
|
+
r(en, {
|
|
76
259
|
id: "fresh-booking-event-module",
|
|
77
260
|
class: "fresh-booking-app",
|
|
78
261
|
type: "event",
|
|
79
|
-
"access-token":
|
|
262
|
+
"access-token": de.accessToken
|
|
80
263
|
}, {
|
|
81
|
-
default:
|
|
82
|
-
|
|
83
|
-
availability:
|
|
84
|
-
|
|
85
|
-
|
|
264
|
+
default: d(() => [
|
|
265
|
+
r(pn, null, {
|
|
266
|
+
availability: d(({ next: j }) => [
|
|
267
|
+
n("div", Ln, [
|
|
268
|
+
r(hn)
|
|
86
269
|
]),
|
|
87
|
-
(a(),
|
|
270
|
+
e(Fe) ? (a(), i("div", On, [
|
|
271
|
+
e(Ee) && !e(Me) ? (a(), i(A, { key: 0 }, [
|
|
272
|
+
n("h2", null, [
|
|
273
|
+
r(C, {
|
|
274
|
+
icon: "clock-seven",
|
|
275
|
+
type: "fal",
|
|
276
|
+
color: "header"
|
|
277
|
+
}),
|
|
278
|
+
n("span", null, t(e(l)("event.eventsTitle")), 1)
|
|
279
|
+
]),
|
|
280
|
+
n("ul", Bn, [
|
|
281
|
+
(a(!0), i(A, null, S(e($e), ({
|
|
282
|
+
id: F,
|
|
283
|
+
days: o,
|
|
284
|
+
name: k,
|
|
285
|
+
timeFrom: w,
|
|
286
|
+
timeTo: f,
|
|
287
|
+
fromDate: y,
|
|
288
|
+
toDate: M,
|
|
289
|
+
tableGroupId: W,
|
|
290
|
+
description: Y,
|
|
291
|
+
soldOut: X,
|
|
292
|
+
length: q,
|
|
293
|
+
maxOnlineReservationLimit: He
|
|
294
|
+
}) => (a(), _(ke, {
|
|
295
|
+
key: F,
|
|
296
|
+
type: "event",
|
|
297
|
+
"listing-id": F,
|
|
298
|
+
"table-group-id": W,
|
|
299
|
+
description: Y,
|
|
300
|
+
name: k,
|
|
301
|
+
length: q,
|
|
302
|
+
days: o,
|
|
303
|
+
"from-date": y,
|
|
304
|
+
"to-date": M,
|
|
305
|
+
"max-online-reservation-limit": He,
|
|
306
|
+
"time-from": w,
|
|
307
|
+
"time-to": f,
|
|
308
|
+
"sold-out": X,
|
|
309
|
+
callback: j
|
|
310
|
+
}, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "callback"]))), 128))
|
|
311
|
+
])
|
|
312
|
+
], 64)) : u("", !0),
|
|
313
|
+
e(Te) && !e(qe) ? (a(), i(A, { key: 1 }, [
|
|
314
|
+
n("h2", null, [
|
|
315
|
+
r(C, {
|
|
316
|
+
icon: "stars",
|
|
317
|
+
type: "fal",
|
|
318
|
+
color: "header"
|
|
319
|
+
}),
|
|
320
|
+
n("span", null, t(e(l)("event.stayTitle")), 1)
|
|
321
|
+
]),
|
|
322
|
+
n("ul", Dn, [
|
|
323
|
+
(a(!0), i(A, null, S(e(we), ({
|
|
324
|
+
id: F,
|
|
325
|
+
name: o,
|
|
326
|
+
fromDate: k,
|
|
327
|
+
toDate: w,
|
|
328
|
+
minimumPersonCount: f,
|
|
329
|
+
fromPrice: y,
|
|
330
|
+
description: M
|
|
331
|
+
}) => (a(), _(ke, {
|
|
332
|
+
key: F,
|
|
333
|
+
type: "template",
|
|
334
|
+
"listing-id": F,
|
|
335
|
+
name: o,
|
|
336
|
+
description: M,
|
|
337
|
+
"from-date": k,
|
|
338
|
+
"to-date": w,
|
|
339
|
+
"minimum-person-count": f,
|
|
340
|
+
fromPrice: y,
|
|
341
|
+
callback: j
|
|
342
|
+
}, null, 8, ["listing-id", "name", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
|
|
343
|
+
])
|
|
344
|
+
], 64)) : u("", !0)
|
|
345
|
+
])) : (a(), _(Ve, { key: 1 }))
|
|
88
346
|
]),
|
|
89
|
-
|
|
90
|
-
e(
|
|
347
|
+
addons: d(({ next: j, prev: F }) => [
|
|
348
|
+
e(De) ? (a(), _(wn, {
|
|
91
349
|
key: 0,
|
|
92
|
-
remark: e(
|
|
93
|
-
"onUpdate:remark":
|
|
94
|
-
"is-filled": e(
|
|
95
|
-
"is-loading": e(
|
|
96
|
-
"base-price": e(
|
|
97
|
-
"total-price": e(
|
|
98
|
-
"weekend-fee": e(
|
|
99
|
-
"room-upgrade": e(
|
|
100
|
-
onPrev: (l) => e(ye)(U),
|
|
101
|
-
onNext: (l) => e(_e)(W)
|
|
350
|
+
remark: e(h),
|
|
351
|
+
"onUpdate:remark": g[7] || (g[7] = (o) => R(h) ? h.value = o : null),
|
|
352
|
+
"is-filled": e(Be),
|
|
353
|
+
"is-loading": e(U),
|
|
354
|
+
"base-price": e(s),
|
|
355
|
+
"total-price": e(P),
|
|
356
|
+
"weekend-fee": e(Le),
|
|
357
|
+
"room-upgrade": e(Pe)
|
|
102
358
|
}, {
|
|
103
|
-
form:
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
label
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
label
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
359
|
+
form: d(() => [
|
|
360
|
+
n("form", Fn, [
|
|
361
|
+
n("h2", null, [
|
|
362
|
+
n("span", null, t(e(l)("booking.reservation.addons")), 1)
|
|
363
|
+
]),
|
|
364
|
+
e(se) === e(ve).FullDayEvent ? (a(), _(ee, {
|
|
365
|
+
key: 0,
|
|
366
|
+
modelValue: e(E),
|
|
367
|
+
"onUpdate:modelValue": g[0] || (g[0] = (o) => R(E) ? E.value = o : null),
|
|
368
|
+
label: e(l)("event.numberOfDays"),
|
|
369
|
+
"min-value": 1,
|
|
370
|
+
required: ""
|
|
371
|
+
}, null, 8, ["modelValue", "label"])) : u("", !0),
|
|
372
|
+
r(be, {
|
|
373
|
+
modelValue: e($),
|
|
374
|
+
"onUpdate:modelValue": g[1] || (g[1] = (o) => R($) ? $.value = o : null),
|
|
375
|
+
type: "text",
|
|
376
|
+
label: e(l)("booking.reservation.name"),
|
|
377
|
+
icon: "user-alt",
|
|
378
|
+
placeholder: e(l)("booking.reservation.namePlaceholder"),
|
|
379
|
+
required: ""
|
|
380
|
+
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
381
|
+
r(be, {
|
|
382
|
+
modelValue: e(b),
|
|
383
|
+
"onUpdate:modelValue": g[2] || (g[2] = (o) => R(b) ? b.value = o : null),
|
|
384
|
+
label: e(l)("booking.reservation.email"),
|
|
385
|
+
type: "email",
|
|
386
|
+
name: "email",
|
|
387
|
+
autocomplete: "email",
|
|
388
|
+
icon: "at",
|
|
389
|
+
placeholder: e(l)("booking.reservation.emailPlaceholder"),
|
|
390
|
+
required: ""
|
|
391
|
+
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
392
|
+
r(gn, {
|
|
393
|
+
modelValue: e(c),
|
|
394
|
+
"onUpdate:modelValue": g[3] || (g[3] = (o) => R(c) ? c.value = o : null),
|
|
395
|
+
label: e(l)("booking.reservation.phone"),
|
|
396
|
+
icon: "phone-office",
|
|
397
|
+
placeholder: e(l)("booking.reservation.phonePlaceholder"),
|
|
398
|
+
required: ""
|
|
399
|
+
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
400
|
+
u("", !0),
|
|
401
|
+
e(z) && e(z).length > 0 ? (a(), i("ul", Sn, [
|
|
402
|
+
(a(!0), i(A, null, S(e(z), ({
|
|
403
|
+
roomGroupID: o,
|
|
404
|
+
addons: k,
|
|
405
|
+
adultPerRoom: w
|
|
406
|
+
}, f) => (a(), i("li", { key: o }, [
|
|
407
|
+
n("h5", null, [
|
|
408
|
+
n("span", null, t(e(l)("booking.reservation.room")) + " #" + t(f + 1), 1),
|
|
409
|
+
he(" ("),
|
|
410
|
+
r(C, {
|
|
411
|
+
icon: "male",
|
|
412
|
+
type: "fas",
|
|
413
|
+
color: "header"
|
|
414
|
+
}),
|
|
415
|
+
he(" " + t(w) + ") ", 1)
|
|
416
|
+
]),
|
|
417
|
+
n("table", Un, [
|
|
418
|
+
n("thead", null, [
|
|
419
|
+
n("tr", null, [
|
|
420
|
+
n("th", null, [
|
|
421
|
+
n("span", null, t(e(l)("booking.reservation.addons")), 1)
|
|
422
|
+
]),
|
|
423
|
+
Rn,
|
|
424
|
+
n("th", Nn, [
|
|
425
|
+
n("span", null, t(e(l)("booking.availability.price")), 1)
|
|
426
|
+
])
|
|
427
|
+
])
|
|
428
|
+
]),
|
|
429
|
+
n("tbody", null, [
|
|
430
|
+
(a(!0), i(A, null, S(k, ({
|
|
431
|
+
addonID: y,
|
|
432
|
+
cardinality: M,
|
|
433
|
+
name: W,
|
|
434
|
+
price: Y,
|
|
435
|
+
quantityStrategy: X
|
|
436
|
+
}) => (a(), i("tr", { key: y }, [
|
|
437
|
+
n("td", null, [
|
|
438
|
+
n("b", null, t(W), 1),
|
|
439
|
+
Mn,
|
|
440
|
+
n("span", null, t(e(O)(Y, e(v))) + " " + t(e(Ye)(X)), 1)
|
|
441
|
+
]),
|
|
442
|
+
n("td", qn, [
|
|
443
|
+
M === 3 ? (a(), _(ee, {
|
|
444
|
+
key: 0,
|
|
445
|
+
modelValue: e(m)[`${o}.${y}.${f}`],
|
|
446
|
+
"onUpdate:modelValue": (q) => e(m)[`${o}.${y}.${f}`] = q,
|
|
447
|
+
small: !0,
|
|
448
|
+
"min-value": 0
|
|
449
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), _(ge, {
|
|
450
|
+
key: 1,
|
|
451
|
+
modelValue: e(m)[`${o}.${y}.${f}`],
|
|
452
|
+
"onUpdate:modelValue": (q) => e(m)[`${o}.${y}.${f}`] = q,
|
|
453
|
+
numeric: !0
|
|
454
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
455
|
+
]),
|
|
456
|
+
n("td", Hn, [
|
|
457
|
+
n("span", null, t(e(O)(e(re)(y, o, f), e(v))), 1)
|
|
458
|
+
])
|
|
459
|
+
]))), 128))
|
|
460
|
+
]),
|
|
461
|
+
n("tfoot", null, [
|
|
462
|
+
n("tr", null, [
|
|
463
|
+
In,
|
|
464
|
+
n("td", zn, [
|
|
465
|
+
n("u", null, [
|
|
466
|
+
n("span", null, t(e(O)(e(ue)(o, f), e(v))), 1)
|
|
467
|
+
])
|
|
468
|
+
])
|
|
469
|
+
])
|
|
470
|
+
])
|
|
471
|
+
])
|
|
472
|
+
]))), 128))
|
|
473
|
+
])) : u("", !0),
|
|
474
|
+
e(se) !== e(ve).FullDayEvent && !e(L) ? (a(), i("div", jn, [
|
|
475
|
+
n("label", Gn, [
|
|
476
|
+
n("span", null, t(e(l)("event.selectArrivalTime")), 1)
|
|
477
|
+
]),
|
|
478
|
+
n("ul", Zn, [
|
|
479
|
+
(a(!0), i(A, null, S(e(Ce), (o, k) => (a(), i("li", { key: k }, [
|
|
480
|
+
r(ge, {
|
|
481
|
+
modelValue: e(D),
|
|
482
|
+
"onUpdate:modelValue": g[6] || (g[6] = (w) => R(D) ? D.value = w : null),
|
|
483
|
+
type: "radio",
|
|
484
|
+
name: "eventTimeTable",
|
|
485
|
+
val: o.time,
|
|
486
|
+
label: e(ne)(o.time)
|
|
487
|
+
}, null, 8, ["modelValue", "val", "label"])
|
|
488
|
+
]))), 128))
|
|
489
|
+
])
|
|
490
|
+
])) : u("", !0),
|
|
491
|
+
e(Oe) ? (a(), i("div", Qn, [
|
|
492
|
+
n("label", Jn, [
|
|
493
|
+
n("span", null, t(e(l)("event.selectProducts")), 1)
|
|
156
494
|
]),
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
495
|
+
n("table", Kn, [
|
|
496
|
+
n("thead", null, [
|
|
497
|
+
n("tr", null, [
|
|
498
|
+
n("th", null, [
|
|
499
|
+
n("span", null, t(e(l)("booking.reservation.addons")), 1)
|
|
162
500
|
]),
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
501
|
+
Wn,
|
|
502
|
+
n("th", Yn, [
|
|
503
|
+
n("span", null, t(e(l)("booking.availability.price")), 1)
|
|
166
504
|
])
|
|
167
505
|
])
|
|
168
506
|
]),
|
|
169
|
-
|
|
170
|
-
(a(!0),
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
Ie,
|
|
180
|
-
t("span", null, n(e(y)(X, e(f))) + " " + n(e(Fe)(G)), 1)
|
|
507
|
+
n("tbody", null, [
|
|
508
|
+
(a(!0), i(A, null, S(e(Ae).products, ({ productID: o, productName: k, price: w, description: f }) => (a(), i("tr", { key: o }, [
|
|
509
|
+
n("td", null, [
|
|
510
|
+
n("b", null, [
|
|
511
|
+
n("span", null, t(k), 1)
|
|
512
|
+
]),
|
|
513
|
+
Xn,
|
|
514
|
+
n("span", null, t(f), 1),
|
|
515
|
+
xn,
|
|
516
|
+
n("span", null, t(e(O)(w, e(v))), 1)
|
|
181
517
|
]),
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
modelValue: e(
|
|
186
|
-
"onUpdate:modelValue": (L) => e(E)[`${l}.${b}.${m}`] = L,
|
|
518
|
+
n("td", et, [
|
|
519
|
+
r(ee, {
|
|
520
|
+
modelValue: e(B)[o],
|
|
521
|
+
"onUpdate:modelValue": (y) => e(B)[o] = y,
|
|
187
522
|
small: !0,
|
|
188
523
|
"min-value": 0
|
|
189
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
190
|
-
key: 1,
|
|
191
|
-
modelValue: e(E)[`${l}.${b}.${m}`],
|
|
192
|
-
"onUpdate:modelValue": (L) => e(E)[`${l}.${b}.${m}`] = L,
|
|
193
|
-
numeric: !0
|
|
194
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
524
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
195
525
|
]),
|
|
196
|
-
|
|
197
|
-
|
|
526
|
+
n("td", nt, [
|
|
527
|
+
n("span", null, t(e(O)(e(re)(o), e(v))), 1)
|
|
198
528
|
])
|
|
199
529
|
]))), 128))
|
|
200
|
-
]),
|
|
201
|
-
t("tfoot", null, [
|
|
202
|
-
t("tr", null, [
|
|
203
|
-
nt,
|
|
204
|
-
t("td", lt, [
|
|
205
|
-
t("u", null, [
|
|
206
|
-
t("span", null, n(e(y)(e(J)(l, m), e(f))), 1)
|
|
207
|
-
])
|
|
208
|
-
])
|
|
209
|
-
])
|
|
210
530
|
])
|
|
211
531
|
])
|
|
212
|
-
]))
|
|
213
|
-
])
|
|
214
|
-
e(H) !== e(ee).FullDayEvent && !e(k) ? (a(), s("div", ot, [
|
|
215
|
-
t("label", at, [
|
|
216
|
-
t("span", null, n(e(o)("event.selectArrivalTime")), 1)
|
|
217
|
-
]),
|
|
218
|
-
t("ul", st, [
|
|
219
|
-
(a(!0), s(N, null, w(e(me), (l, h) => (a(), s("li", { key: h }, [
|
|
220
|
-
v(ae, {
|
|
221
|
-
modelValue: e(F),
|
|
222
|
-
"onUpdate:modelValue": u[6] || (u[6] = (g) => P(F) ? F.value = g : null),
|
|
223
|
-
type: "radio",
|
|
224
|
-
name: "eventTimeTable",
|
|
225
|
-
val: l.time,
|
|
226
|
-
label: e(M)(l.time)
|
|
227
|
-
}, null, 8, ["modelValue", "val", "label"])
|
|
228
|
-
]))), 128))
|
|
229
|
-
])
|
|
230
|
-
])) : r("", !0),
|
|
231
|
-
e(he) ? (a(), s("div", it, [
|
|
232
|
-
t("label", rt, [
|
|
233
|
-
t("span", null, n(e(o)("event.selectProducts")), 1)
|
|
234
|
-
]),
|
|
235
|
-
t("table", ut, [
|
|
236
|
-
t("thead", null, [
|
|
237
|
-
t("tr", null, [
|
|
238
|
-
t("th", null, [
|
|
239
|
-
t("span", null, n(e(o)("booking.reservation.addons")), 1)
|
|
240
|
-
]),
|
|
241
|
-
dt,
|
|
242
|
-
t("th", ct, [
|
|
243
|
-
t("span", null, n(e(o)("booking.availability.price")), 1)
|
|
244
|
-
])
|
|
245
|
-
])
|
|
246
|
-
]),
|
|
247
|
-
t("tbody", null, [
|
|
248
|
-
(a(!0), s(N, null, w(e(ce).products, ({ productID: l, productName: h, price: g, description: m }) => (a(), s("tr", { key: l }, [
|
|
249
|
-
t("td", null, [
|
|
250
|
-
t("b", null, [
|
|
251
|
-
t("span", null, n(h), 1)
|
|
252
|
-
]),
|
|
253
|
-
mt,
|
|
254
|
-
t("span", null, n(m), 1),
|
|
255
|
-
pt,
|
|
256
|
-
t("span", null, n(e(y)(g, e(f))), 1)
|
|
257
|
-
]),
|
|
258
|
-
t("td", vt, [
|
|
259
|
-
v(S, {
|
|
260
|
-
modelValue: e(O)[l],
|
|
261
|
-
"onUpdate:modelValue": (b) => e(O)[l] = b,
|
|
262
|
-
small: !0,
|
|
263
|
-
"min-value": 0
|
|
264
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
265
|
-
]),
|
|
266
|
-
t("td", ht, [
|
|
267
|
-
t("span", null, n(e(y)(e(Z)(l), e(f))), 1)
|
|
268
|
-
])
|
|
269
|
-
]))), 128))
|
|
270
|
-
])
|
|
271
|
-
])
|
|
272
|
-
])) : r("", !0)
|
|
532
|
+
])) : u("", !0)
|
|
533
|
+
])
|
|
273
534
|
]),
|
|
274
|
-
resume:
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
535
|
+
resume: d(() => [
|
|
536
|
+
n("li", null, [
|
|
537
|
+
n("span", null, t(e(l)("event.numberOfGuests")), 1),
|
|
538
|
+
n("b", null, t(e(H)), 1)
|
|
278
539
|
]),
|
|
279
|
-
e(
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
])) :
|
|
283
|
-
e(
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
])) :
|
|
287
|
-
e(
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
])) :
|
|
291
|
-
e(
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
])) :
|
|
295
|
-
!e(
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
])) :
|
|
299
|
-
!e(
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
])) :
|
|
303
|
-
!e(
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
])) :
|
|
540
|
+
e(L) ? (a(), i("li", tt, [
|
|
541
|
+
n("span", null, t(e(l)("event.numberOfRooms")), 1),
|
|
542
|
+
n("b", null, t(e(K)), 1)
|
|
543
|
+
])) : u("", !0),
|
|
544
|
+
e(L) ? (a(), i("li", lt, [
|
|
545
|
+
n("span", null, t(e(l)("event.numberOfDays")), 1),
|
|
546
|
+
n("b", null, t(e(I)), 1)
|
|
547
|
+
])) : u("", !0),
|
|
548
|
+
e(L) ? (a(), i("li", at, [
|
|
549
|
+
n("span", null, t(e(l)("booking.reservation.arrival")), 1),
|
|
550
|
+
n("b", null, t(e(fe)(e(oe))), 1)
|
|
551
|
+
])) : u("", !0),
|
|
552
|
+
e(L) ? (a(), i("li", ot, [
|
|
553
|
+
n("span", null, t(e(l)("booking.reservation.departure")), 1),
|
|
554
|
+
n("b", null, t(e(fe)(e(oe), e(I))), 1)
|
|
555
|
+
])) : u("", !0),
|
|
556
|
+
!e(L) && e(D) ? (a(), i("li", st, [
|
|
557
|
+
n("span", null, t(e(l)("event.startOfEvent")), 1),
|
|
558
|
+
n("b", null, t(e(ne)(e(D))), 1)
|
|
559
|
+
])) : u("", !0),
|
|
560
|
+
!e(L) && e(ae) ? (a(), i("li", it, [
|
|
561
|
+
n("span", null, t(e(l)("event.lengthOfEvent")), 1),
|
|
562
|
+
n("b", null, t(e(ne)(e(ae))), 1)
|
|
563
|
+
])) : u("", !0),
|
|
564
|
+
!e(L) && e(ie) > 0 ? (a(), i("li", rt, [
|
|
565
|
+
n("span", null, t(e(l)("booking.availability.basePrice")), 1),
|
|
566
|
+
n("b", null, t(e(O)(e(ie), e(v))), 1)
|
|
567
|
+
])) : u("", !0)
|
|
307
568
|
]),
|
|
308
|
-
expenses:
|
|
309
|
-
(a(!0),
|
|
310
|
-
|
|
311
|
-
|
|
569
|
+
expenses: d(() => [
|
|
570
|
+
(a(!0), i(A, null, S(e(z), ({ roomGroupID: o }, k) => (a(), i("li", { key: o }, [
|
|
571
|
+
n("span", null, t(e(l)("booking.reservation.addons")) + " - " + t(e(l)("booking.reservation.room")) + " #" + t(k + 1), 1),
|
|
572
|
+
n("b", null, t(e(O)(e(ue)(o, k), e(v))), 1)
|
|
312
573
|
]))), 128))
|
|
313
574
|
]),
|
|
575
|
+
navigation: d(() => [
|
|
576
|
+
r(Xe, {
|
|
577
|
+
label: e(l)("general.confirmReservation"),
|
|
578
|
+
"full-width": "",
|
|
579
|
+
onClickEvent: (o) => e(Re)(j)
|
|
580
|
+
}, null, 8, ["label", "onClickEvent"]),
|
|
581
|
+
n("button", {
|
|
582
|
+
class: "konnectio-abort-reservation link",
|
|
583
|
+
onClick: xe((o) => e(Ne)(F), ["prevent"])
|
|
584
|
+
}, [
|
|
585
|
+
n("span", null, t(e(l)("general.goAStepBack")), 1)
|
|
586
|
+
], 8, ut)
|
|
587
|
+
]),
|
|
314
588
|
_: 2
|
|
315
|
-
}, 1032, ["remark", "is-filled", "is-loading", "base-price", "total-price", "weekend-fee", "room-upgrade"
|
|
589
|
+
}, 1032, ["remark", "is-filled", "is-loading", "base-price", "total-price", "weekend-fee", "room-upgrade"])) : u("", !0)
|
|
316
590
|
]),
|
|
317
|
-
payment:
|
|
318
|
-
|
|
591
|
+
payment: d(() => [
|
|
592
|
+
r(kn)
|
|
319
593
|
]),
|
|
320
|
-
confirmation:
|
|
321
|
-
|
|
322
|
-
message: e(
|
|
594
|
+
confirmation: d(() => [
|
|
595
|
+
r(mn, {
|
|
596
|
+
message: e(l)("event.confirmationMessage")
|
|
323
597
|
}, null, 8, ["message"])
|
|
324
598
|
]),
|
|
325
599
|
_: 1
|
|
@@ -328,8 +602,8 @@ const We = {
|
|
|
328
602
|
_: 1
|
|
329
603
|
}, 8, ["access-token"])
|
|
330
604
|
]),
|
|
331
|
-
fallback:
|
|
332
|
-
|
|
605
|
+
fallback: d(() => [
|
|
606
|
+
r(Pn)
|
|
333
607
|
]),
|
|
334
608
|
_: 1
|
|
335
609
|
}))
|
|
@@ -337,8 +611,8 @@ const We = {
|
|
|
337
611
|
_: 1
|
|
338
612
|
}, 8, ["styling"]));
|
|
339
613
|
}
|
|
340
|
-
}),
|
|
341
|
-
class
|
|
614
|
+
}), G = /* @__PURE__ */ le(dt, [["__scopeId", "data-v-274a2a78"]]), ct = an(), pt = un();
|
|
615
|
+
class mt extends HTMLElement {
|
|
342
616
|
vueApp;
|
|
343
617
|
constructor() {
|
|
344
618
|
super();
|
|
@@ -347,25 +621,25 @@ class Pt extends HTMLElement {
|
|
|
347
621
|
this.vueApp.unmount();
|
|
348
622
|
}
|
|
349
623
|
connectedCallback() {
|
|
350
|
-
const
|
|
351
|
-
let
|
|
352
|
-
const
|
|
353
|
-
|
|
354
|
-
const
|
|
355
|
-
for (const
|
|
356
|
-
const
|
|
357
|
-
|
|
624
|
+
const l = typeof G == "function" ? G.options : G;
|
|
625
|
+
let p = Array.isArray(l.props) ? l.props : Object.keys(l.props || {});
|
|
626
|
+
const m = (c) => c.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (b, h) => (h ? "-" : "") + b.toLowerCase()), B = (c) => c.replace(/-./g, (b) => b[1].toUpperCase()), E = {};
|
|
627
|
+
p = p.map(m);
|
|
628
|
+
const T = {};
|
|
629
|
+
for (const c of this.attributes) {
|
|
630
|
+
const h = c.name.split(".");
|
|
631
|
+
h.length > 1 && (T[h[0]] || (T[h[0]] = {}), T[h[0]][B(h[1])] = c.value);
|
|
358
632
|
}
|
|
359
|
-
for (const
|
|
360
|
-
let
|
|
361
|
-
|
|
633
|
+
for (const c of p) {
|
|
634
|
+
let b = this.attributes.getNamedItem(c)?.value;
|
|
635
|
+
T.hasOwnProperty(c) && (b = T[c]), E[c] = b;
|
|
362
636
|
}
|
|
363
|
-
this.vueApp =
|
|
364
|
-
const
|
|
365
|
-
this.vueApp.mount(
|
|
637
|
+
this.vueApp = on(G, E), this.vueApp.provide("emitter", pt), this.vueApp.use(sn), this.vueApp.use(ct), this.vueApp.use(vn), this.vueApp.use(bn), this.vueApp.use(rn, { bootstrap: !0 });
|
|
638
|
+
const $ = document.createElement("div");
|
|
639
|
+
this.vueApp.mount($), this.appendChild($.children[0]);
|
|
366
640
|
}
|
|
367
641
|
}
|
|
368
|
-
window.customElements.define("konnectio-event",
|
|
642
|
+
window.customElements.define("konnectio-event", mt);
|
|
369
643
|
export {
|
|
370
|
-
|
|
644
|
+
mt as default
|
|
371
645
|
};
|