@konnectio/core 4.0.56-rc20 → 4.0.56-rc22
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-8hkjdoF_.js → ActionField-ZJdtBRXa.js} +7 -7
- package/dist/ActionField-ZJdtBRXa.js.br +4 -0
- package/dist/AvailabilitySkeleton-tfEBupNq.js +234 -0
- package/dist/AvailabilitySkeleton-tfEBupNq.js.br +0 -0
- package/dist/{CheckoutWindow-bgpWiBAd.js → CheckoutWindow-orJD6dJy.js} +28 -28
- package/dist/CheckoutWindow-orJD6dJy.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-KjvE2y5e.js +7607 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-KjvE2y5e.js.br +0 -0
- package/dist/ErrorMessage-mUpn7ZBU.js +36 -0
- package/dist/ErrorMessage-mUpn7ZBU.js.br +0 -0
- package/dist/EventAvailabilityForm-cAOEZVnn.js +366 -0
- package/dist/EventAvailabilityForm-cAOEZVnn.js.br +0 -0
- package/dist/{Field-FbUrCgmJ.js → Field-Kwm-GcDa.js} +7 -7
- package/dist/Field-Kwm-GcDa.js.br +0 -0
- package/dist/{ThankYou-tb7LP48E.js → ThankYou-EiAxaHd8.js} +2712 -2758
- package/dist/ThankYou-EiAxaHd8.js.br +0 -0
- package/dist/{_-5tXWGiwV.js → _-KavQ60qi.js} +5332 -5360
- package/dist/_-KavQ60qi.js.br +0 -0
- package/dist/availability.js +69 -157
- package/dist/availability.js.br +0 -0
- package/dist/event.js +323 -534
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +28 -29
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +203 -199
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.js +1328 -1248
- package/dist/hotel.js.br +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +7 -6
- package/dist/ActionField-8hkjdoF_.js.br +0 -0
- package/dist/AvailabilitySkeleton-K35mnVjA.js +0 -215
- package/dist/AvailabilitySkeleton-K35mnVjA.js.br +0 -0
- package/dist/CheckoutWindow-bgpWiBAd.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-otC5QBT_.js +0 -8026
- package/dist/DateField.vue_vue_type_style_index_0_lang-otC5QBT_.js.br +0 -0
- package/dist/Field-FbUrCgmJ.js.br +0 -0
- package/dist/ThankYou-tb7LP48E.js.br +0 -0
- package/dist/_-5tXWGiwV.js.br +0 -0
- package/dist/event-36Kem6rb.js +0 -328
- package/dist/event-36Kem6rb.js.br +0 -0
package/dist/event.js
CHANGED
|
@@ -1,582 +1,371 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { u as
|
|
4
|
-
import
|
|
5
|
-
import { P as
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
const bl = { class: "fresh-booking-event-listing-information" }, gl = { key: 0 }, hl = { key: 1 }, fl = /* @__PURE__ */ ge({
|
|
9
|
-
__name: "Event",
|
|
10
|
-
props: {
|
|
11
|
-
name: {},
|
|
12
|
-
type: {},
|
|
13
|
-
description: {},
|
|
14
|
-
fromDate: {},
|
|
15
|
-
toDate: {},
|
|
16
|
-
listingId: {},
|
|
17
|
-
tableGroupId: {},
|
|
18
|
-
days: {},
|
|
19
|
-
timeFrom: {},
|
|
20
|
-
timeTo: {},
|
|
21
|
-
maxOnlineReservationLimit: {},
|
|
22
|
-
minimumPersonCount: {},
|
|
23
|
-
fromPrice: {},
|
|
24
|
-
gallery: {},
|
|
25
|
-
soldOut: { type: Boolean, default: !1 },
|
|
26
|
-
layout: {},
|
|
27
|
-
trackingEnabled: { type: Boolean },
|
|
28
|
-
callback: {}
|
|
29
|
-
},
|
|
30
|
-
setup(B) {
|
|
31
|
-
const { t } = he(), m = B, { display: P } = Ie(), { currency: N } = Q(fe()), {
|
|
32
|
-
maxNumberOfPeople: T,
|
|
33
|
-
numberOfPeople: _,
|
|
34
|
-
eventId: g,
|
|
35
|
-
tableGroupId: D
|
|
36
|
-
} = Q(W()), {
|
|
37
|
-
getTemplateAvailability: u,
|
|
38
|
-
getEventAvailability: c,
|
|
39
|
-
isEventListingLoading: p
|
|
40
|
-
} = W(), L = Ze(0), I = je(() => p(m.listingId)), Y = () => {
|
|
41
|
-
L.value > 0 ? (g.value = m.listingId, _.value = L.value, u(m.callback)) : P({
|
|
42
|
-
type: "error",
|
|
43
|
-
message: t("alert.error.selectPeople")
|
|
44
|
-
});
|
|
45
|
-
}, $ = () => {
|
|
46
|
-
L.value > 0 ? (g.value = m.listingId, D.value = m.tableGroupId, _.value = L.value, c(m.callback)) : P({
|
|
47
|
-
type: "error",
|
|
48
|
-
message: t("alert.error.selectPeople")
|
|
49
|
-
});
|
|
50
|
-
};
|
|
51
|
-
return (s, E) => (a(), y(sl, {
|
|
52
|
-
"listing-id": s.listingId,
|
|
53
|
-
gallery: s.gallery,
|
|
54
|
-
name: s.name,
|
|
55
|
-
description: s.description,
|
|
56
|
-
layout: e(Ye).Event
|
|
57
|
-
}, He({
|
|
58
|
-
action: k(() => [
|
|
59
|
-
r(ml, {
|
|
60
|
-
modelValue: L.value,
|
|
61
|
-
"onUpdate:modelValue": E[0] || (E[0] = (S) => L.value = S),
|
|
62
|
-
type: "number",
|
|
63
|
-
label: e(t)("event.numberOfGuests"),
|
|
64
|
-
buttonLabel: s.soldOut ? e(t)("event.soldOut") : e(t)("event.bookNowButton"),
|
|
65
|
-
buttonDisabled: s.soldOut,
|
|
66
|
-
"min-value": s.type === "event" ? 1 : s.minimumPersonCount,
|
|
67
|
-
"max-value": s.type === "event" ? s.maxOnlineReservationLimit || 1 / 0 : e(T),
|
|
68
|
-
"is-loading": I.value,
|
|
69
|
-
"onUpdate:isLoading": E[1] || (E[1] = (S) => I.value = S),
|
|
70
|
-
onAction: E[2] || (E[2] = (S) => s.type === "event" ? $() : Y())
|
|
71
|
-
}, null, 8, ["modelValue", "label", "buttonLabel", "buttonDisabled", "min-value", "max-value", "is-loading"])
|
|
72
|
-
]),
|
|
73
|
-
_: 2
|
|
74
|
-
}, [
|
|
75
|
-
s.type === "event" ? {
|
|
76
|
-
name: "description",
|
|
77
|
-
fn: k(() => [
|
|
78
|
-
l("ul", bl, [
|
|
79
|
-
l("li", null, [
|
|
80
|
-
r(V, {
|
|
81
|
-
icon: "calendar-range",
|
|
82
|
-
color: "header"
|
|
83
|
-
}),
|
|
84
|
-
l("span", null, n(e(Qe)(s.days)), 1)
|
|
85
|
-
]),
|
|
86
|
-
e(ie)(s.fromDate, s.toDate) < 180 ? (a(), i("li", gl, [
|
|
87
|
-
r(V, {
|
|
88
|
-
icon: "calendar-days",
|
|
89
|
-
color: "header"
|
|
90
|
-
}),
|
|
91
|
-
l("span", null, n(e(re)(s.fromDate, s.toDate)), 1)
|
|
92
|
-
])) : d("", !0),
|
|
93
|
-
l("li", null, [
|
|
94
|
-
r(V, {
|
|
95
|
-
icon: "calendar-clock",
|
|
96
|
-
color: "header"
|
|
97
|
-
}),
|
|
98
|
-
l("span", null, n(e(We)(s.timeFrom, s.timeTo)), 1)
|
|
99
|
-
]),
|
|
100
|
-
s.maxOnlineReservationLimit ? (a(), i("li", hl, [
|
|
101
|
-
r(V, {
|
|
102
|
-
icon: "user-alt",
|
|
103
|
-
color: "header"
|
|
104
|
-
}),
|
|
105
|
-
l("span", null, n(`1 - ${s.maxOnlineReservationLimit} ${e(t)("general.people")}`), 1)
|
|
106
|
-
])) : d("", !0)
|
|
107
|
-
])
|
|
108
|
-
]),
|
|
109
|
-
key: "0"
|
|
110
|
-
} : {
|
|
111
|
-
name: "description",
|
|
112
|
-
fn: k(() => [
|
|
113
|
-
l("ul", { class: "fresh-booking-event-listing-information" }, [
|
|
114
|
-
e(ie)(s.fromDate, s.toDate) < 180 ? (a(), i("li", { key: 0 }, [
|
|
115
|
-
r(V, {
|
|
116
|
-
icon: "calendar-days",
|
|
117
|
-
color: "header"
|
|
118
|
-
}),
|
|
119
|
-
l("span", null, n(e(re)(s.fromDate, s.toDate, !0)), 1)
|
|
120
|
-
])) : d("", !0),
|
|
121
|
-
l("li", null, [
|
|
122
|
-
r(V, {
|
|
123
|
-
icon: "user-alt",
|
|
124
|
-
color: "header"
|
|
125
|
-
}),
|
|
126
|
-
l("span", null, n(`${s.minimumPersonCount} - ${e(T)} ${e(t)("general.people")}`), 1)
|
|
127
|
-
]),
|
|
128
|
-
l("li", null, [
|
|
129
|
-
r(V, {
|
|
130
|
-
icon: "money-bill",
|
|
131
|
-
color: "header"
|
|
132
|
-
}),
|
|
133
|
-
l("span", null, n(`${e(t)("general.pricesFrom")} ${e(U)(s.fromPrice, e(N))}`), 1)
|
|
134
|
-
])
|
|
135
|
-
])
|
|
136
|
-
]),
|
|
137
|
-
key: "1"
|
|
138
|
-
}
|
|
139
|
-
]), 1032, ["listing-id", "gallery", "name", "description", "layout"]));
|
|
140
|
-
}
|
|
141
|
-
}), be = /* @__PURE__ */ ke(fl, [["__scopeId", "data-v-013d2269"]]), M = (B) => (el("data-v-c609785a"), B = B(), ll(), B), kl = { class: "fresh-booking-panel" }, yl = {
|
|
142
|
-
key: 0,
|
|
143
|
-
id: "fresh-booking-event-overview"
|
|
144
|
-
}, _l = { class: "fresh-booking-event-listings" }, Vl = { class: "fresh-booking-event-listings" }, Pl = {
|
|
1
|
+
import { d as Ve, j as Ee, B as I, D as Te, l as Be, G as Ce, o as a, a as _, w as p, S as Pe, f as v, b as t, L as Ae, u as e, H as P, O as ee, e as S, i as r, T as te, h as s, F as N, J as w, t as n, K as ne, M as xe, N as y, P as Fe, Q as M, R as le, q as Ne, s as we, v as Oe, x as De, g as Le, y as $e, z as Ue, A as Re, U as Se } from "./_-KavQ60qi.js";
|
|
2
|
+
import { M as Me, R as qe, T as ze, G as je } from "./ThankYou-EiAxaHd8.js";
|
|
3
|
+
import { u as oe, E as He } from "./EventAvailabilityForm-cAOEZVnn.js";
|
|
4
|
+
import "./ActionField-ZJdtBRXa.js";
|
|
5
|
+
import { P as Qe, C as ae, a as Ze } from "./CheckoutWindow-orJD6dJy.js";
|
|
6
|
+
const V = (A) => (Oe("data-v-693ef234"), A = A(), De(), A), Je = { class: "fresh-booking-panel" };
|
|
7
|
+
const Ke = {
|
|
145
8
|
key: 2,
|
|
146
9
|
id: "fresh-booking-event-addons"
|
|
147
|
-
},
|
|
10
|
+
}, We = { class: "fresh-booking-table" }, Ye = /* @__PURE__ */ V(() => /* @__PURE__ */ t("th", { class: "fresh-booking-event-addons-input" }, null, -1)), Xe = { class: "fresh-booking-event-addons-price" }, Ge = /* @__PURE__ */ V(() => /* @__PURE__ */ t("br", null, null, -1)), Ie = { class: "fresh-booking-event-addons-input" }, et = { class: "fresh-booking-event-addons-price" }, tt = /* @__PURE__ */ V(() => /* @__PURE__ */ t("td", { colspan: "2" }, null, -1)), nt = { class: "fresh-booking-event-addons-price" }, lt = { key: 3 }, ot = { class: "fresh-booking-label required" }, at = { id: "fresh-booking-event-table" }, st = { key: 4 }, it = { class: "fresh-booking-label required" }, rt = { class: "fresh-booking-table" }, ut = /* @__PURE__ */ V(() => /* @__PURE__ */ t("th", { class: "fresh-booking-event-addons-input" }, null, -1)), dt = { class: "fresh-booking-event-addons-price" }, ct = /* @__PURE__ */ V(() => /* @__PURE__ */ t("br", null, null, -1)), mt = /* @__PURE__ */ V(() => /* @__PURE__ */ t("br", null, null, -1)), pt = { class: "fresh-booking-event-addons-input" }, vt = { class: "fresh-booking-event-addons-price" }, ht = { key: 0 }, bt = { key: 1 }, kt = { key: 2 }, ft = { key: 3 }, gt = { key: 4 }, _t = { key: 5 }, yt = { key: 6 }, Vt = /* @__PURE__ */ V(() => /* @__PURE__ */ t("div", null, "Loading", -1)), Et = /* @__PURE__ */ Ve({
|
|
148
11
|
name: "EventLayout",
|
|
149
12
|
__name: "Event",
|
|
150
13
|
props: {
|
|
151
14
|
accessToken: {},
|
|
152
15
|
styling: {}
|
|
153
16
|
},
|
|
154
|
-
setup(
|
|
155
|
-
const { t } =
|
|
156
|
-
searchDate:
|
|
157
|
-
addons:
|
|
158
|
-
products:
|
|
17
|
+
setup(A) {
|
|
18
|
+
const { t: o } = Ee(), {
|
|
19
|
+
searchDate: x,
|
|
20
|
+
addons: E,
|
|
21
|
+
products: O,
|
|
159
22
|
numberOfDays: T,
|
|
160
|
-
discountCode:
|
|
161
|
-
name:
|
|
162
|
-
phone:
|
|
163
|
-
email:
|
|
23
|
+
discountCode: B,
|
|
24
|
+
name: C,
|
|
25
|
+
phone: i,
|
|
26
|
+
email: d,
|
|
164
27
|
remark: c,
|
|
165
|
-
arrivalTime:
|
|
166
|
-
title:
|
|
167
|
-
subtitle:
|
|
168
|
-
slideshow:
|
|
169
|
-
currency:
|
|
170
|
-
numberOfPeople:
|
|
171
|
-
numberOfTotalDays:
|
|
172
|
-
numberOfRooms:
|
|
173
|
-
basePrice:
|
|
174
|
-
totalPrice:
|
|
175
|
-
isPaymentLoading:
|
|
176
|
-
hasEvents:
|
|
177
|
-
hasTemplates:
|
|
178
|
-
getEvents:
|
|
179
|
-
getTemplates:
|
|
180
|
-
getEventData:
|
|
181
|
-
getTemplateData:
|
|
182
|
-
getEventTableData:
|
|
183
|
-
length:
|
|
184
|
-
roomUpgrade:
|
|
185
|
-
weekendFee:
|
|
186
|
-
fromDate:
|
|
187
|
-
hasProducts:
|
|
188
|
-
eventRateType:
|
|
189
|
-
isMetaDataAvailable:
|
|
190
|
-
areListingsAvailable:
|
|
191
|
-
isReservationFormFilled:
|
|
192
|
-
isAvailabilityDataAvailable:
|
|
28
|
+
arrivalTime: F,
|
|
29
|
+
title: Ct,
|
|
30
|
+
subtitle: Pt,
|
|
31
|
+
slideshow: At,
|
|
32
|
+
currency: f,
|
|
33
|
+
numberOfPeople: se,
|
|
34
|
+
numberOfTotalDays: q,
|
|
35
|
+
numberOfRooms: ie,
|
|
36
|
+
basePrice: re,
|
|
37
|
+
totalPrice: ue,
|
|
38
|
+
isPaymentLoading: de,
|
|
39
|
+
hasEvents: xt,
|
|
40
|
+
hasTemplates: Ft,
|
|
41
|
+
getEvents: Nt,
|
|
42
|
+
getTemplates: wt,
|
|
43
|
+
getEventData: ce,
|
|
44
|
+
getTemplateData: D,
|
|
45
|
+
getEventTableData: me,
|
|
46
|
+
length: z,
|
|
47
|
+
roomUpgrade: pe,
|
|
48
|
+
weekendFee: ve,
|
|
49
|
+
fromDate: j,
|
|
50
|
+
hasProducts: he,
|
|
51
|
+
eventRateType: H,
|
|
52
|
+
isMetaDataAvailable: Ot,
|
|
53
|
+
areListingsAvailable: Dt,
|
|
54
|
+
isReservationFormFilled: be,
|
|
55
|
+
isAvailabilityDataAvailable: ke,
|
|
193
56
|
// getEventImages,
|
|
194
|
-
isTemplateEvent:
|
|
195
|
-
tableBasePrice:
|
|
196
|
-
} =
|
|
197
|
-
initialize:
|
|
198
|
-
validateDiscountCode:
|
|
199
|
-
fetchListings:
|
|
200
|
-
createBooking:
|
|
201
|
-
localAddonPrice:
|
|
202
|
-
totalAddonPrice:
|
|
203
|
-
reset:
|
|
204
|
-
} =
|
|
205
|
-
hideEvents:
|
|
206
|
-
hideEventTemplates:
|
|
207
|
-
} =
|
|
208
|
-
return
|
|
209
|
-
default:
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
default: k(() => [
|
|
218
|
-
e(Ae) ? (a(), y(il, {
|
|
219
|
-
key: 0,
|
|
220
|
-
slideshow: e(Y),
|
|
221
|
-
title: e(L),
|
|
222
|
-
subtitle: e(I)
|
|
57
|
+
isTemplateEvent: k,
|
|
58
|
+
tableBasePrice: Q
|
|
59
|
+
} = I(oe()), {
|
|
60
|
+
initialize: fe,
|
|
61
|
+
validateDiscountCode: Lt,
|
|
62
|
+
fetchListings: ge,
|
|
63
|
+
createBooking: _e,
|
|
64
|
+
localAddonPrice: Z,
|
|
65
|
+
totalAddonPrice: J,
|
|
66
|
+
reset: ye
|
|
67
|
+
} = oe(), {
|
|
68
|
+
hideEvents: $t,
|
|
69
|
+
hideEventTemplates: Ut
|
|
70
|
+
} = I(Te());
|
|
71
|
+
return Be(() => fe()), Ce(x, () => ge()), (K, u) => (a(), _(we, { styling: K.styling }, {
|
|
72
|
+
default: p(() => [
|
|
73
|
+
(a(), _(Pe, null, {
|
|
74
|
+
default: p(() => [
|
|
75
|
+
v(Ne, {
|
|
76
|
+
id: "fresh-booking-event-module",
|
|
77
|
+
class: "fresh-booking-app",
|
|
78
|
+
type: "event",
|
|
79
|
+
"access-token": K.accessToken
|
|
223
80
|
}, {
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
label: e(t)("event.selectDate"),
|
|
230
|
-
"min-date": /* @__PURE__ */ new Date()
|
|
231
|
-
}, null, 8, ["modelValue", "label", "min-date"])
|
|
232
|
-
]),
|
|
233
|
-
e(Ue) ? (a(), i("div", yl, [
|
|
234
|
-
e(Pe) && !e(qe) ? (a(), i(C, { key: 0 }, [
|
|
235
|
-
l("h2", null, [
|
|
236
|
-
r(V, {
|
|
237
|
-
icon: "clock-seven",
|
|
238
|
-
type: "fal",
|
|
239
|
-
color: "header"
|
|
240
|
-
}),
|
|
241
|
-
l("span", null, n(e(t)("event.eventsTitle")), 1)
|
|
81
|
+
default: p(() => [
|
|
82
|
+
v(Me, null, {
|
|
83
|
+
availability: p(({ next: W }) => [
|
|
84
|
+
t("div", Je, [
|
|
85
|
+
v(He)
|
|
242
86
|
]),
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
name: h,
|
|
248
|
-
timeFrom: O,
|
|
249
|
-
timeTo: b,
|
|
250
|
-
fromDate: f,
|
|
251
|
-
toDate: q,
|
|
252
|
-
tableGroupID: J,
|
|
253
|
-
description: K,
|
|
254
|
-
soldOut: X,
|
|
255
|
-
maxOnlineReservationLimit: z
|
|
256
|
-
}) => (a(), y(be, {
|
|
257
|
-
key: w,
|
|
258
|
-
type: "event",
|
|
259
|
-
"listing-id": w,
|
|
260
|
-
"table-group-id": J,
|
|
261
|
-
description: K,
|
|
262
|
-
name: h,
|
|
263
|
-
days: o,
|
|
264
|
-
"from-date": f,
|
|
265
|
-
"to-date": q,
|
|
266
|
-
"max-online-reservation-limit": z,
|
|
267
|
-
"time-from": O,
|
|
268
|
-
"time-to": b,
|
|
269
|
-
"sold-out": X,
|
|
270
|
-
callback: j
|
|
271
|
-
}, null, 8, ["listing-id", "table-group-id", "description", "name", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "callback"]))), 128))
|
|
272
|
-
])
|
|
273
|
-
], 64)) : d("", !0),
|
|
274
|
-
e(Te) && !e(ze) ? (a(), i(C, { key: 1 }, [
|
|
275
|
-
l("h2", null, [
|
|
276
|
-
r(V, {
|
|
277
|
-
icon: "stars",
|
|
278
|
-
type: "fal",
|
|
279
|
-
color: "header"
|
|
280
|
-
}),
|
|
281
|
-
l("span", null, n(e(t)("event.stayTitle")), 1)
|
|
282
|
-
]),
|
|
283
|
-
l("ul", Vl, [
|
|
284
|
-
(a(!0), i(C, null, R(e(Ee), ({
|
|
285
|
-
id: w,
|
|
286
|
-
name: o,
|
|
287
|
-
fromDate: h,
|
|
288
|
-
toDate: O,
|
|
289
|
-
minimumPersonCount: b,
|
|
290
|
-
fromPrice: f,
|
|
291
|
-
description: q
|
|
292
|
-
}) => (a(), y(be, {
|
|
293
|
-
key: w,
|
|
294
|
-
type: "template",
|
|
295
|
-
"listing-id": w,
|
|
296
|
-
name: o,
|
|
297
|
-
description: q,
|
|
298
|
-
"from-date": h,
|
|
299
|
-
"to-date": O,
|
|
300
|
-
"minimum-person-count": b,
|
|
301
|
-
fromPrice: f,
|
|
302
|
-
callback: j
|
|
303
|
-
}, null, 8, ["listing-id", "name", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
|
|
304
|
-
])
|
|
305
|
-
], 64)) : d("", !0)
|
|
306
|
-
])) : (a(), y(ue, { key: 1 }))
|
|
307
|
-
]),
|
|
308
|
-
reservation: k(({ next: j, prev: w }) => [
|
|
309
|
-
e(Fe) ? (a(), y(rl, {
|
|
310
|
-
key: 0,
|
|
311
|
-
remark: e(c),
|
|
312
|
-
"onUpdate:remark": v[8] || (v[8] = (o) => F(c) ? c.value = o : null),
|
|
313
|
-
"is-filled": e(Be),
|
|
314
|
-
"is-loading": e(Ve),
|
|
315
|
-
"base-price": e(ye),
|
|
316
|
-
"total-price": e(_e),
|
|
317
|
-
"weekend-fee": e(De),
|
|
318
|
-
"room-upgrade": e(Ce),
|
|
319
|
-
onPrev: (o) => e(Me)(w),
|
|
320
|
-
onNext: (o) => e(Se)(j)
|
|
321
|
-
}, {
|
|
322
|
-
form: k(() => [
|
|
323
|
-
e(te) === e(de).FullDayEvent ? (a(), y(x, {
|
|
87
|
+
(a(), _(Ae, { key: 1 }))
|
|
88
|
+
]),
|
|
89
|
+
reservation: p(({ next: W, prev: U }) => [
|
|
90
|
+
e(ke) ? (a(), _(qe, {
|
|
324
91
|
key: 0,
|
|
325
|
-
|
|
326
|
-
"onUpdate:
|
|
327
|
-
|
|
328
|
-
"
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
92
|
+
remark: e(c),
|
|
93
|
+
"onUpdate:remark": u[7] || (u[7] = (l) => P(c) ? c.value = l : null),
|
|
94
|
+
"is-filled": e(be),
|
|
95
|
+
"is-loading": e(de),
|
|
96
|
+
"base-price": e(re),
|
|
97
|
+
"total-price": e(ue),
|
|
98
|
+
"weekend-fee": e(ve),
|
|
99
|
+
"room-upgrade": e(pe),
|
|
100
|
+
onPrev: (l) => e(ye)(U),
|
|
101
|
+
onNext: (l) => e(_e)(W)
|
|
102
|
+
}, {
|
|
103
|
+
form: p(() => [
|
|
104
|
+
e(H) === e(ee).FullDayEvent ? (a(), _(S, {
|
|
105
|
+
key: 0,
|
|
106
|
+
modelValue: e(T),
|
|
107
|
+
"onUpdate:modelValue": u[0] || (u[0] = (l) => P(T) ? T.value = l : null),
|
|
108
|
+
label: e(o)("event.numberOfDays"),
|
|
109
|
+
"min-value": 1,
|
|
110
|
+
required: ""
|
|
111
|
+
}, null, 8, ["modelValue", "label"])) : r("", !0),
|
|
112
|
+
v(te, {
|
|
113
|
+
modelValue: e(C),
|
|
114
|
+
"onUpdate:modelValue": u[1] || (u[1] = (l) => P(C) ? C.value = l : null),
|
|
115
|
+
type: "text",
|
|
116
|
+
label: e(o)("booking.reservation.name"),
|
|
117
|
+
icon: "user-alt",
|
|
118
|
+
placeholder: e(o)("booking.reservation.namePlaceholder"),
|
|
119
|
+
required: ""
|
|
120
|
+
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
121
|
+
v(te, {
|
|
122
|
+
modelValue: e(d),
|
|
123
|
+
"onUpdate:modelValue": u[2] || (u[2] = (l) => P(d) ? d.value = l : null),
|
|
124
|
+
label: e(o)("booking.reservation.email"),
|
|
125
|
+
type: "email",
|
|
126
|
+
name: "email",
|
|
127
|
+
autocomplete: "email",
|
|
128
|
+
icon: "at",
|
|
129
|
+
placeholder: e(o)("booking.reservation.emailPlaceholder"),
|
|
130
|
+
required: ""
|
|
131
|
+
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
132
|
+
v(Qe, {
|
|
133
|
+
modelValue: e(i),
|
|
134
|
+
"onUpdate:modelValue": u[3] || (u[3] = (l) => P(i) ? i.value = l : null),
|
|
135
|
+
label: e(o)("booking.reservation.phone"),
|
|
136
|
+
icon: "phone-office",
|
|
137
|
+
placeholder: e(o)("booking.reservation.phonePlaceholder"),
|
|
138
|
+
required: ""
|
|
139
|
+
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
140
|
+
r("", !0),
|
|
141
|
+
e(D) && e(D).length > 0 ? (a(), s("ul", Ke, [
|
|
142
|
+
(a(!0), s(N, null, w(e(D), ({
|
|
143
|
+
roomGroupID: l,
|
|
144
|
+
addons: h,
|
|
145
|
+
adultPerRoom: g
|
|
146
|
+
}, m) => (a(), s("li", { key: l }, [
|
|
147
|
+
t("h5", null, [
|
|
148
|
+
t("span", null, n(e(o)("booking.reservation.room")) + " #" + n(m + 1), 1),
|
|
149
|
+
ne(" ("),
|
|
150
|
+
v(xe, {
|
|
151
|
+
icon: "male",
|
|
152
|
+
type: "fas",
|
|
153
|
+
color: "header"
|
|
154
|
+
}),
|
|
155
|
+
ne(" " + n(g) + ") ", 1)
|
|
156
|
+
]),
|
|
157
|
+
t("table", We, [
|
|
158
|
+
t("thead", null, [
|
|
159
|
+
t("tr", null, [
|
|
160
|
+
t("th", null, [
|
|
161
|
+
t("span", null, n(e(o)("booking.reservation.addons")), 1)
|
|
162
|
+
]),
|
|
163
|
+
Ye,
|
|
164
|
+
t("th", Xe, [
|
|
165
|
+
t("span", null, n(e(o)("booking.availability.price")), 1)
|
|
166
|
+
])
|
|
167
|
+
])
|
|
168
|
+
]),
|
|
169
|
+
t("tbody", null, [
|
|
170
|
+
(a(!0), s(N, null, w(h, ({
|
|
171
|
+
addonID: b,
|
|
172
|
+
cardinality: R,
|
|
173
|
+
name: Y,
|
|
174
|
+
price: X,
|
|
175
|
+
quantityStrategy: G
|
|
176
|
+
}) => (a(), s("tr", { key: b }, [
|
|
177
|
+
t("td", null, [
|
|
178
|
+
t("b", null, n(Y), 1),
|
|
179
|
+
Ge,
|
|
180
|
+
t("span", null, n(e(y)(X, e(f))) + " " + n(e(Fe)(G)), 1)
|
|
181
|
+
]),
|
|
182
|
+
t("td", Ie, [
|
|
183
|
+
R === 3 ? (a(), _(S, {
|
|
184
|
+
key: 0,
|
|
185
|
+
modelValue: e(E)[`${l}.${b}.${m}`],
|
|
186
|
+
"onUpdate:modelValue": (L) => e(E)[`${l}.${b}.${m}`] = L,
|
|
187
|
+
small: !0,
|
|
188
|
+
"min-value": 0
|
|
189
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), _(ae, {
|
|
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"]))
|
|
195
|
+
]),
|
|
196
|
+
t("td", et, [
|
|
197
|
+
t("span", null, n(e(y)(e(Z)(b, l, m), e(f))), 1)
|
|
198
|
+
])
|
|
199
|
+
]))), 128))
|
|
381
200
|
]),
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
201
|
+
t("tfoot", null, [
|
|
202
|
+
t("tr", null, [
|
|
203
|
+
tt,
|
|
204
|
+
t("td", nt, [
|
|
205
|
+
t("u", null, [
|
|
206
|
+
t("span", null, n(e(y)(e(J)(l, m), e(f))), 1)
|
|
207
|
+
])
|
|
208
|
+
])
|
|
209
|
+
])
|
|
385
210
|
])
|
|
386
211
|
])
|
|
212
|
+
]))), 128))
|
|
213
|
+
])) : r("", !0),
|
|
214
|
+
e(H) !== e(ee).FullDayEvent && !e(k) ? (a(), s("div", lt, [
|
|
215
|
+
t("label", ot, [
|
|
216
|
+
t("span", null, n(e(o)("event.selectArrivalTime")), 1)
|
|
387
217
|
]),
|
|
388
|
-
|
|
389
|
-
(a(!0),
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
wl,
|
|
399
|
-
l("span", null, n(e(U)(K, e($))) + " " + n(e(Ke)(X)), 1)
|
|
400
|
-
]),
|
|
401
|
-
l("td", Ol, [
|
|
402
|
-
q === 3 ? (a(), y(x, {
|
|
403
|
-
key: 0,
|
|
404
|
-
modelValue: e(P)[`${o}.${f}.${b}`],
|
|
405
|
-
"onUpdate:modelValue": (z) => e(P)[`${o}.${f}.${b}`] = z,
|
|
406
|
-
small: !0,
|
|
407
|
-
"min-value": 0
|
|
408
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), y(ve, {
|
|
409
|
-
key: 1,
|
|
410
|
-
modelValue: e(P)[`${o}.${f}.${b}`],
|
|
411
|
-
"onUpdate:modelValue": (z) => e(P)[`${o}.${f}.${b}`] = z,
|
|
412
|
-
numeric: !0
|
|
413
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
414
|
-
]),
|
|
415
|
-
l("td", Cl, [
|
|
416
|
-
l("span", null, n(e(U)(e(oe)(f, o, b), e($))), 1)
|
|
417
|
-
])
|
|
218
|
+
t("ul", at, [
|
|
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"])
|
|
418
228
|
]))), 128))
|
|
229
|
+
])
|
|
230
|
+
])) : r("", !0),
|
|
231
|
+
e(he) ? (a(), s("div", st, [
|
|
232
|
+
t("label", it, [
|
|
233
|
+
t("span", null, n(e(o)("event.selectProducts")), 1)
|
|
419
234
|
]),
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
235
|
+
t("table", rt, [
|
|
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
|
+
ut,
|
|
242
|
+
t("th", dt, [
|
|
243
|
+
t("span", null, n(e(o)("booking.availability.price")), 1)
|
|
426
244
|
])
|
|
427
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
|
+
ct,
|
|
254
|
+
t("span", null, n(m), 1),
|
|
255
|
+
mt,
|
|
256
|
+
t("span", null, n(e(y)(g, e(f))), 1)
|
|
257
|
+
]),
|
|
258
|
+
t("td", pt, [
|
|
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", vt, [
|
|
267
|
+
t("span", null, n(e(y)(e(Z)(l), e(f))), 1)
|
|
268
|
+
])
|
|
269
|
+
]))), 128))
|
|
428
270
|
])
|
|
429
271
|
])
|
|
430
|
-
])
|
|
431
|
-
]))), 128))
|
|
432
|
-
])) : d("", !0),
|
|
433
|
-
e(te) !== e(de).FullDayEvent && !e(A) ? (a(), i("div", Al, [
|
|
434
|
-
l("label", Ul, [
|
|
435
|
-
l("span", null, n(e(t)("event.selectArrivalTime")), 1)
|
|
272
|
+
])) : r("", !0)
|
|
436
273
|
]),
|
|
437
|
-
|
|
438
|
-
(
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
274
|
+
resume: p(() => [
|
|
275
|
+
t("li", null, [
|
|
276
|
+
t("span", null, n(e(o)("event.numberOfGuests")), 1),
|
|
277
|
+
t("b", null, n(e(se)), 1)
|
|
278
|
+
]),
|
|
279
|
+
e(k) ? (a(), s("li", ht, [
|
|
280
|
+
t("span", null, n(e(o)("event.numberOfRooms")), 1),
|
|
281
|
+
t("b", null, n(e(ie)), 1)
|
|
282
|
+
])) : r("", !0),
|
|
283
|
+
e(k) ? (a(), s("li", bt, [
|
|
284
|
+
t("span", null, n(e(o)("event.numberOfDays")), 1),
|
|
285
|
+
t("b", null, n(e(q)), 1)
|
|
286
|
+
])) : r("", !0),
|
|
287
|
+
e(k) ? (a(), s("li", kt, [
|
|
288
|
+
t("span", null, n(e(o)("booking.reservation.arrival")), 1),
|
|
289
|
+
t("b", null, n(e(le)(e(j))), 1)
|
|
290
|
+
])) : r("", !0),
|
|
291
|
+
e(k) ? (a(), s("li", ft, [
|
|
292
|
+
t("span", null, n(e(o)("booking.reservation.departure")), 1),
|
|
293
|
+
t("b", null, n(e(le)(e(j), e(q))), 1)
|
|
294
|
+
])) : r("", !0),
|
|
295
|
+
!e(k) && e(F) ? (a(), s("li", gt, [
|
|
296
|
+
t("span", null, n(e(o)("event.startOfEvent")), 1),
|
|
297
|
+
t("b", null, n(e(M)(e(F))), 1)
|
|
298
|
+
])) : r("", !0),
|
|
299
|
+
!e(k) && e(z) ? (a(), s("li", _t, [
|
|
300
|
+
t("span", null, n(e(o)("event.lengthOfEvent")), 1),
|
|
301
|
+
t("b", null, n(e(M)(e(z))), 1)
|
|
302
|
+
])) : r("", !0),
|
|
303
|
+
!e(k) && e(Q) > 0 ? (a(), s("li", yt, [
|
|
304
|
+
t("span", null, n(e(o)("booking.availability.basePrice")), 1),
|
|
305
|
+
t("b", null, n(e(y)(e(Q), e(f))), 1)
|
|
306
|
+
])) : r("", !0)
|
|
307
|
+
]),
|
|
308
|
+
expenses: p(() => [
|
|
309
|
+
(a(!0), s(N, null, w(e(D), ({ roomGroupID: l }, h) => (a(), s("li", { key: l }, [
|
|
310
|
+
t("span", null, n(e(o)("booking.reservation.addons")) + " - " + n(e(o)("booking.reservation.room")) + " #" + n(h + 1), 1),
|
|
311
|
+
t("b", null, n(e(y)(e(J)(l, h), e(f))), 1)
|
|
447
312
|
]))), 128))
|
|
448
|
-
])
|
|
449
|
-
])) : d("", !0),
|
|
450
|
-
e(Le) ? (a(), i("div", Fl, [
|
|
451
|
-
l("label", Rl, [
|
|
452
|
-
l("span", null, n(e(t)("event.selectProducts")), 1)
|
|
453
313
|
]),
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
l("tr", null, [
|
|
457
|
-
l("th", null, [
|
|
458
|
-
l("span", null, n(e(t)("booking.reservation.addons")), 1)
|
|
459
|
-
]),
|
|
460
|
-
Sl,
|
|
461
|
-
l("th", Ml, [
|
|
462
|
-
l("span", null, n(e(t)("booking.availability.price")), 1)
|
|
463
|
-
])
|
|
464
|
-
])
|
|
465
|
-
]),
|
|
466
|
-
l("tbody", null, [
|
|
467
|
-
(a(!0), i(C, null, R(e(we).products, ({ productID: o, productName: h, price: O, description: b }) => (a(), i("tr", { key: o }, [
|
|
468
|
-
l("td", null, [
|
|
469
|
-
l("b", null, [
|
|
470
|
-
l("span", null, n(h), 1)
|
|
471
|
-
]),
|
|
472
|
-
ql,
|
|
473
|
-
l("span", null, n(b), 1),
|
|
474
|
-
zl,
|
|
475
|
-
l("span", null, n(e(U)(O, e($))), 1)
|
|
476
|
-
]),
|
|
477
|
-
l("td", Il, [
|
|
478
|
-
r(x, {
|
|
479
|
-
modelValue: e(N)[o],
|
|
480
|
-
"onUpdate:modelValue": (f) => e(N)[o] = f,
|
|
481
|
-
small: !0,
|
|
482
|
-
"min-value": 0
|
|
483
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
484
|
-
]),
|
|
485
|
-
l("td", Zl, [
|
|
486
|
-
l("span", null, n(e(U)(e(oe)(o), e($))), 1)
|
|
487
|
-
])
|
|
488
|
-
]))), 128))
|
|
489
|
-
])
|
|
490
|
-
])
|
|
491
|
-
])) : d("", !0)
|
|
314
|
+
_: 2
|
|
315
|
+
}, 1032, ["remark", "is-filled", "is-loading", "base-price", "total-price", "weekend-fee", "room-upgrade", "onPrev", "onNext"])) : r("", !0)
|
|
492
316
|
]),
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
l("span", null, n(e(t)("event.numberOfGuests")), 1),
|
|
496
|
-
l("b", null, n(e(s)), 1)
|
|
497
|
-
]),
|
|
498
|
-
e(A) ? (a(), i("li", jl, [
|
|
499
|
-
l("span", null, n(e(t)("event.numberOfRooms")), 1),
|
|
500
|
-
l("b", null, n(e(S)), 1)
|
|
501
|
-
])) : d("", !0),
|
|
502
|
-
e(A) ? (a(), i("li", Hl, [
|
|
503
|
-
l("span", null, n(e(t)("event.numberOfDays")), 1),
|
|
504
|
-
l("b", null, n(e(E)), 1)
|
|
505
|
-
])) : d("", !0),
|
|
506
|
-
e(A) ? (a(), i("li", Ql, [
|
|
507
|
-
l("span", null, n(e(t)("booking.reservation.arrival")), 1),
|
|
508
|
-
l("b", null, n(e(pe)(e(ne))), 1)
|
|
509
|
-
])) : d("", !0),
|
|
510
|
-
e(A) ? (a(), i("li", Wl, [
|
|
511
|
-
l("span", null, n(e(t)("booking.reservation.departure")), 1),
|
|
512
|
-
l("b", null, n(e(pe)(e(ne), e(E))), 1)
|
|
513
|
-
])) : d("", !0),
|
|
514
|
-
!e(A) && e(p) ? (a(), i("li", Yl, [
|
|
515
|
-
l("span", null, n(e(t)("event.startOfEvent")), 1),
|
|
516
|
-
l("b", null, n(e(ee)(e(p))), 1)
|
|
517
|
-
])) : d("", !0),
|
|
518
|
-
!e(A) && e(le) ? (a(), i("li", Gl, [
|
|
519
|
-
l("span", null, n(e(t)("event.lengthOfEvent")), 1),
|
|
520
|
-
l("b", null, n(e(ee)(e(le))), 1)
|
|
521
|
-
])) : d("", !0),
|
|
522
|
-
!e(A) && e(ae) > 0 ? (a(), i("li", Jl, [
|
|
523
|
-
l("span", null, n(e(t)("booking.availability.basePrice")), 1),
|
|
524
|
-
l("b", null, n(e(U)(e(ae), e($))), 1)
|
|
525
|
-
])) : d("", !0)
|
|
317
|
+
payment: p(() => [
|
|
318
|
+
v(Ze)
|
|
526
319
|
]),
|
|
527
|
-
|
|
528
|
-
(
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
]))), 128))
|
|
320
|
+
confirmation: p(() => [
|
|
321
|
+
v(ze, {
|
|
322
|
+
message: e(o)("event.confirmationMessage")
|
|
323
|
+
}, null, 8, ["message"])
|
|
532
324
|
]),
|
|
533
|
-
_:
|
|
534
|
-
}
|
|
535
|
-
]),
|
|
536
|
-
payment: k(() => [
|
|
537
|
-
r(pl)
|
|
538
|
-
]),
|
|
539
|
-
confirmation: k(() => [
|
|
540
|
-
r(ul, {
|
|
541
|
-
message: e(t)("event.confirmationMessage")
|
|
542
|
-
}, null, 8, ["message"])
|
|
325
|
+
_: 1
|
|
326
|
+
})
|
|
543
327
|
]),
|
|
544
328
|
_: 1
|
|
545
|
-
}, 8, ["
|
|
329
|
+
}, 8, ["access-token"])
|
|
330
|
+
]),
|
|
331
|
+
fallback: p(() => [
|
|
332
|
+
Vt
|
|
546
333
|
]),
|
|
547
334
|
_: 1
|
|
548
|
-
}
|
|
335
|
+
}))
|
|
549
336
|
]),
|
|
550
337
|
_: 1
|
|
551
338
|
}, 8, ["styling"]));
|
|
552
339
|
}
|
|
553
|
-
}),
|
|
554
|
-
class
|
|
340
|
+
}), $ = /* @__PURE__ */ Le(Et, [["__scopeId", "data-v-693ef234"]]), Tt = $e();
|
|
341
|
+
class Bt extends HTMLElement {
|
|
342
|
+
vueApp;
|
|
555
343
|
constructor() {
|
|
556
344
|
super();
|
|
557
345
|
}
|
|
346
|
+
disconnectedCallback() {
|
|
347
|
+
this.vueApp.unmount();
|
|
348
|
+
}
|
|
558
349
|
connectedCallback() {
|
|
559
|
-
const
|
|
560
|
-
let
|
|
561
|
-
const
|
|
562
|
-
|
|
563
|
-
const
|
|
564
|
-
for (const
|
|
565
|
-
const c =
|
|
566
|
-
|
|
350
|
+
const o = typeof $ == "function" ? $.options : $;
|
|
351
|
+
let x = Array.isArray(o.props) ? o.props : Object.keys(o.props || {});
|
|
352
|
+
const E = (i) => i.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (d, c) => (c ? "-" : "") + d.toLowerCase()), O = (i) => i.replace(/-./g, (d) => d[1].toUpperCase()), T = {};
|
|
353
|
+
x = x.map(E);
|
|
354
|
+
const B = {};
|
|
355
|
+
for (const i of this.attributes) {
|
|
356
|
+
const c = i.name.split(".");
|
|
357
|
+
c.length > 1 && (B[c[0]] || (B[c[0]] = {}), B[c[0]][O(c[1])] = i.value);
|
|
567
358
|
}
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
_.hasOwnProperty(u) && (c = _[u]), console.log(c, u), T[u] = c;
|
|
359
|
+
for (const i of x) {
|
|
360
|
+
let d = this.attributes.getNamedItem(i)?.value;
|
|
361
|
+
B.hasOwnProperty(i) && (d = B[i]), T[i] = d;
|
|
572
362
|
}
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
g.mount(D), this.appendChild(D.children[0]);
|
|
363
|
+
this.vueApp = Ue($, T), this.vueApp.use(Re), this.vueApp.use(Tt), this.vueApp.use(je), this.vueApp.use(Se, { bootstrap: !0 });
|
|
364
|
+
const C = document.createElement("div");
|
|
365
|
+
this.vueApp.mount(C), this.appendChild(C.children[0]);
|
|
577
366
|
}
|
|
578
367
|
}
|
|
579
|
-
window.customElements.define("konnectio-event",
|
|
368
|
+
window.customElements.define("konnectio-event", Bt);
|
|
580
369
|
export {
|
|
581
|
-
|
|
370
|
+
Bt as default
|
|
582
371
|
};
|