@konnectio/core 4.0.111 → 4.0.113
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-BIZxHX7x.js → ActionField-DpnZ6Hk4.js} +2 -2
- package/dist/ActionField-DpnZ6Hk4.js.br +0 -0
- package/dist/{AvailabilitySkeleton-Dmc1NsxJ.js → AvailabilitySkeleton-B3PCn7Zh.js} +5 -5
- package/dist/AvailabilitySkeleton-B3PCn7Zh.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Dyh0N7sN.js +9062 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Dyh0N7sN.js.br +0 -0
- package/dist/{CheckoutWindow-BQ4Yd-jj.js → CheckoutWindow-CBZATVS3.js} +2 -2
- package/dist/CheckoutWindow-CBZATVS3.js.br +0 -0
- package/dist/{ErrorMessage-DeAxlBUC.js → ErrorMessage-Cj4EWsnp.js} +2 -2
- package/dist/ErrorMessage-Cj4EWsnp.js.br +0 -0
- package/dist/{EventAvailabilityForm-lFl1MFHk.js → EventAvailabilityForm-C6U8tDPb.js} +4 -4
- package/dist/EventAvailabilityForm-C6U8tDPb.js.br +0 -0
- package/dist/{Field-DAod_0r8.js → Field-Cf0vZgQw.js} +3 -3
- package/dist/Field-Cf0vZgQw.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-bMyefgIh.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DGiTZSqt.js} +2 -2
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-BwK4kGcO.js → SelectField.vue_vue_type_style_index_0_lang-D_cPiRYS.js} +4614 -4641
- package/dist/SelectField.vue_vue_type_style_index_0_lang-D_cPiRYS.js.br +0 -0
- package/dist/{TermsOfService-C-KmfA7-.js → TermsOfService-Bn5BDOpR.js} +3 -3
- package/dist/_-BdJkK4Nl.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-HN2ehFgL.js → _.vue_vue_type_style_index_0_lang-CZyXOF9b.js} +5 -5
- package/dist/availability.js +5 -5
- package/dist/availability.js.br +0 -0
- package/dist/cancel-reservation.js +3 -3
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/event.js +169 -163
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +7 -7
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +8 -8
- package/dist/gift-card.js.br +0 -0
- package/dist/giftCard-B4ksqI17.js +109 -0
- package/dist/giftCard-B4ksqI17.js.br +0 -0
- package/dist/hotel.js +614 -607
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-yGwNNx2b.js → masonry.plugin-DGcnQT2t.js} +71 -68
- package/dist/masonry.plugin-DGcnQT2t.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 +5 -5
- package/dist/ActionField-BIZxHX7x.js.br +0 -4
- package/dist/AvailabilitySkeleton-Dmc1NsxJ.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CfxEaidF.js +0 -9089
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CfxEaidF.js.br +0 -0
- package/dist/CheckoutWindow-BQ4Yd-jj.js.br +0 -0
- package/dist/ErrorMessage-DeAxlBUC.js.br +0 -0
- package/dist/EventAvailabilityForm-lFl1MFHk.js.br +0 -0
- package/dist/Field-DAod_0r8.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-BwK4kGcO.js.br +0 -0
- package/dist/_-BLWJQG6h.js +0 -5
- package/dist/giftCard-BJ5gZfYt.js +0 -118
- package/dist/giftCard-BJ5gZfYt.js.br +0 -0
- package/dist/masonry.plugin-yGwNNx2b.js.br +0 -0
package/dist/event.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import { a as Fe, f as
|
|
1
|
+
import { d as W, u as se, s as z, r as Xe, c as K, a, b as E, w as p, v as le, i as e, e as t, j as v, f, n as Ze, g as c, t as l, x as et, y as tt, F as A, z as H, A as R, S as nt, B as _e, k as ot, l as lt, m as at, p as st, q as it } from "./mitt-CTfj-lXy.js";
|
|
2
|
+
import { a as Fe, f as ae, l as rt, s as U, d as fe, B as ut, _ as X, g as ye, I as be, h as dt, i as ge, j as Y, u as Pe, k as ct, m as De, T as oe, O as mt, C as pt, n as vt, o as ft, p as bt } from "./SelectField.vue_vue_type_style_index_0_lang-D_cPiRYS.js";
|
|
3
3
|
import { G as gt } from "./style-BSDdyhMN.js";
|
|
4
|
-
import { b as pe, f as kt, a as yt, l as ht, m as _t, u as
|
|
5
|
-
import { _ as Pt } from "./_.vue_vue_type_style_index_0_lang-
|
|
6
|
-
import { B as Dt, _ as Et, R as
|
|
7
|
-
import { C as St, P as Mt, a as Bt } from "./CheckoutWindow-
|
|
8
|
-
import { E as Ct } from "./EventAvailabilityForm-
|
|
9
|
-
import "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-
|
|
10
|
-
const Ee = 6e4,
|
|
4
|
+
import { b as pe, f as kt, a as yt, l as ht, m as _t, u as j } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Dyh0N7sN.js";
|
|
5
|
+
import { _ as Pt } from "./_.vue_vue_type_style_index_0_lang-CZyXOF9b.js";
|
|
6
|
+
import { B as Dt, _ as Et, R as $t, L as Se, S as Vt, M as wt, C as Tt, T as Nt, V as Ot, a as Ft } from "./masonry.plugin-DGcnQT2t.js";
|
|
7
|
+
import { C as St, P as Mt, a as Bt } from "./CheckoutWindow-CBZATVS3.js";
|
|
8
|
+
import { E as Ct } from "./EventAvailabilityForm-C6U8tDPb.js";
|
|
9
|
+
import "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DGiTZSqt.js";
|
|
10
|
+
const Ee = 6e4, $e = 525600, Ve = 43200, we = 1440, Te = Symbol.for("constructDateFrom");
|
|
11
11
|
function Me(s, o) {
|
|
12
12
|
return typeof s == "function" ? s(o) : s && typeof s == "object" && Te in s ? s[Te](o) : s instanceof Date ? new s.constructor(o) : new Date(o);
|
|
13
13
|
}
|
|
@@ -96,32 +96,32 @@ function jt(s, o, n) {
|
|
|
96
96
|
const k = Object.assign({}, n, {
|
|
97
97
|
addSuffix: n?.addSuffix,
|
|
98
98
|
comparison: d
|
|
99
|
-
}), [w,
|
|
99
|
+
}), [w, y] = Lt(
|
|
100
100
|
n?.in,
|
|
101
101
|
...d > 0 ? [o, s] : [s, o]
|
|
102
|
-
),
|
|
102
|
+
), $ = Yt(n?.roundingMethod ?? "round"), T = y.getTime() - w.getTime(), P = T / Ee, h = Ne(y) - Ne(w), V = (T - h) / Ee, B = n?.unit;
|
|
103
103
|
let g;
|
|
104
|
-
if (B ? g = B : P < 1 ? g = "second" : P < 60 ? g = "minute" : P < we ? g = "hour" :
|
|
105
|
-
const i =
|
|
104
|
+
if (B ? g = B : P < 1 ? g = "second" : P < 60 ? g = "minute" : P < we ? g = "hour" : V < Ve ? g = "day" : V < $e ? g = "month" : g = "year", g === "second") {
|
|
105
|
+
const i = $(T / 1e3);
|
|
106
106
|
return b.formatDistance("xSeconds", i, k);
|
|
107
107
|
} else if (g === "minute") {
|
|
108
|
-
const i =
|
|
108
|
+
const i = $(P);
|
|
109
109
|
return b.formatDistance("xMinutes", i, k);
|
|
110
110
|
} else if (g === "hour") {
|
|
111
|
-
const i =
|
|
111
|
+
const i = $(P / 60);
|
|
112
112
|
return b.formatDistance("xHours", i, k);
|
|
113
113
|
} else if (g === "day") {
|
|
114
|
-
const i = V
|
|
114
|
+
const i = $(V / we);
|
|
115
115
|
return b.formatDistance("xDays", i, k);
|
|
116
116
|
} else if (g === "month") {
|
|
117
|
-
const i = V
|
|
117
|
+
const i = $(V / Ve);
|
|
118
118
|
return i === 12 && B !== "month" ? b.formatDistance("xYears", 1, k) : b.formatDistance("xMonths", i, k);
|
|
119
119
|
} else {
|
|
120
|
-
const i = V
|
|
120
|
+
const i = $(V / $e);
|
|
121
121
|
return b.formatDistance("xYears", i, k);
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
|
-
const Wt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__ */
|
|
124
|
+
const Wt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__ */ W({
|
|
125
125
|
__name: "_",
|
|
126
126
|
props: {
|
|
127
127
|
name: {},
|
|
@@ -145,34 +145,34 @@ const Wt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
|
|
|
145
145
|
callback: {}
|
|
146
146
|
},
|
|
147
147
|
setup(s) {
|
|
148
|
-
const { t: o } =
|
|
148
|
+
const { t: o } = se(), n = s, { display: m } = Fe(), {
|
|
149
149
|
maxNumberOfPeople: b,
|
|
150
150
|
numberOfPeople: d,
|
|
151
151
|
eventId: k,
|
|
152
152
|
currentEventDate: w,
|
|
153
|
-
tableGroupId:
|
|
154
|
-
} = z(
|
|
155
|
-
getTemplateAvailability:
|
|
153
|
+
tableGroupId: y
|
|
154
|
+
} = z(j()), {
|
|
155
|
+
getTemplateAvailability: $,
|
|
156
156
|
getEventAvailability: T,
|
|
157
157
|
isEventListingLoading: P
|
|
158
|
-
} =
|
|
159
|
-
if (!n.useNumberOfProductsForPersons && (
|
|
158
|
+
} = j(), h = Xe(0), V = K(() => P(n.listingId)), B = () => {
|
|
159
|
+
if (!n.useNumberOfProductsForPersons && (h.value === 0 || isNaN(h.value))) {
|
|
160
160
|
m({
|
|
161
161
|
type: "error",
|
|
162
162
|
message: o("alert.error.selectPeople")
|
|
163
163
|
});
|
|
164
164
|
return;
|
|
165
165
|
}
|
|
166
|
-
k.value = n.listingId, d.value = n.useNumberOfProductsForPersons ? NaN :
|
|
166
|
+
k.value = n.listingId, d.value = n.useNumberOfProductsForPersons ? NaN : h.value, $(n.callback);
|
|
167
167
|
}, g = () => {
|
|
168
|
-
if (!n.useNumberOfProductsForPersons && (
|
|
168
|
+
if (!n.useNumberOfProductsForPersons && (h.value === 0 || isNaN(h.value))) {
|
|
169
169
|
m({
|
|
170
170
|
type: "error",
|
|
171
171
|
message: o("alert.error.selectPeople")
|
|
172
172
|
});
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
|
-
k.value = n.listingId,
|
|
175
|
+
k.value = n.listingId, y.value = n.tableGroupId, d.value = n.useNumberOfProductsForPersons ? NaN : h.value, T(n.callback);
|
|
176
176
|
};
|
|
177
177
|
return (i, M) => (a(), E(Dt, {
|
|
178
178
|
type: "event",
|
|
@@ -185,7 +185,7 @@ const Wt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
|
|
|
185
185
|
layout: e(ut).Event
|
|
186
186
|
}, {
|
|
187
187
|
description: p(() => [
|
|
188
|
-
|
|
188
|
+
le(i.$slots, "description", { maxNumberOfPeople: e(b) }, void 0, !0)
|
|
189
189
|
]),
|
|
190
190
|
action: p(() => [
|
|
191
191
|
t("div", {
|
|
@@ -194,10 +194,10 @@ const Wt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
|
|
|
194
194
|
{ "no-selectable-people": i.useNumberOfProductsForPersons }
|
|
195
195
|
])
|
|
196
196
|
}, [
|
|
197
|
-
i.useNumberOfProductsForPersons ? v("", !0) : (a(), E(
|
|
197
|
+
i.useNumberOfProductsForPersons ? v("", !0) : (a(), E(ae, {
|
|
198
198
|
key: 0,
|
|
199
|
-
modelValue:
|
|
200
|
-
"onUpdate:modelValue": M[0] || (M[0] = (C) =>
|
|
199
|
+
modelValue: h.value,
|
|
200
|
+
"onUpdate:modelValue": M[0] || (M[0] = (C) => h.value = C),
|
|
201
201
|
label: e(o)("event.numberOfGuests"),
|
|
202
202
|
icon: "users",
|
|
203
203
|
"icon-type": "fas",
|
|
@@ -210,7 +210,7 @@ const Wt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
|
|
|
210
210
|
f(fe, {
|
|
211
211
|
label: i.soldOut ? e(o)("event.soldOut") : e(o)("event.bookNowButton"),
|
|
212
212
|
disabled: i.soldOut,
|
|
213
|
-
"is-loading":
|
|
213
|
+
"is-loading": V.value,
|
|
214
214
|
"full-width": "",
|
|
215
215
|
"sub-label": e(U)(e(w)),
|
|
216
216
|
onClickEvent: M[1] || (M[1] = (C) => i.type === "event" ? g() : B())
|
|
@@ -221,11 +221,11 @@ const Wt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
|
|
|
221
221
|
_: 3
|
|
222
222
|
}, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout"]));
|
|
223
223
|
}
|
|
224
|
-
}), Be = /* @__PURE__ */
|
|
224
|
+
}), Be = /* @__PURE__ */ X(Qt, [["__scopeId", "data-v-65dec7be"]]), xt = { class: "konnectio-event-listing-information-new" };
|
|
225
225
|
const Jt = {
|
|
226
226
|
key: 1,
|
|
227
227
|
class: "konnectio-pill-button"
|
|
228
|
-
}, Kt = { class: "konnectio-pill-button" }, Xt = /* @__PURE__ */
|
|
228
|
+
}, Kt = { class: "konnectio-pill-button" }, Xt = /* @__PURE__ */ W({
|
|
229
229
|
__name: "Event",
|
|
230
230
|
props: {
|
|
231
231
|
name: {},
|
|
@@ -248,7 +248,7 @@ const Jt = {
|
|
|
248
248
|
callback: {}
|
|
249
249
|
},
|
|
250
250
|
setup(s) {
|
|
251
|
-
const o = s, { t: n } =
|
|
251
|
+
const o = s, { t: n } = se(), { hideEventLength: m } = z(ye()), b = K(() => {
|
|
252
252
|
const d = o.length.split(":");
|
|
253
253
|
return jt(
|
|
254
254
|
new Date(2e3, 0, 1, Number(d[0]), Number(d[1]), 0),
|
|
@@ -300,7 +300,7 @@ const Jt = {
|
|
|
300
300
|
_: 1
|
|
301
301
|
}, 8, ["listing-id", "name", "description", "gallery", "prices-from", "table-group-id", "max-guests", "use-number-of-products-for-persons", "to-date", "callback"]));
|
|
302
302
|
}
|
|
303
|
-
}), Zt = /* @__PURE__ */
|
|
303
|
+
}), Zt = /* @__PURE__ */ X(Xt, [["__scopeId", "data-v-fe4489ed"]]), en = /* @__PURE__ */ W({
|
|
304
304
|
__name: "Template",
|
|
305
305
|
props: {
|
|
306
306
|
name: {},
|
|
@@ -317,7 +317,7 @@ const Jt = {
|
|
|
317
317
|
callback: {}
|
|
318
318
|
},
|
|
319
319
|
setup(s) {
|
|
320
|
-
const o = s, n =
|
|
320
|
+
const o = s, n = K(() => {
|
|
321
321
|
if (o.image)
|
|
322
322
|
return [{
|
|
323
323
|
large: o.image,
|
|
@@ -337,7 +337,10 @@ const Jt = {
|
|
|
337
337
|
callback: m.callback
|
|
338
338
|
}, null, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "callback"]));
|
|
339
339
|
}
|
|
340
|
-
}), tn = { key: 0 }, nn = { key: 1 }, on = { key: 2 }, ln = { key: 4 }, an = { key: 5 }, sn = { key: 0 }, rn = { key: 0 }, un = { key: 1 },
|
|
340
|
+
}), tn = { key: 0 }, nn = { key: 1 }, on = { key: 2 }, ln = { key: 4 }, an = { key: 5 }, sn = { key: 0 }, rn = { key: 0 }, un = { key: 1 }, dn = {
|
|
341
|
+
key: 0,
|
|
342
|
+
class: "konnectio-capitalize"
|
|
343
|
+
}, cn = /* @__PURE__ */ W({
|
|
341
344
|
__name: "EventReservationForm",
|
|
342
345
|
props: {
|
|
343
346
|
showGiftCard: { type: Boolean, default: !1 },
|
|
@@ -345,28 +348,28 @@ const Jt = {
|
|
|
345
348
|
prevCallback: {}
|
|
346
349
|
},
|
|
347
350
|
setup(s) {
|
|
348
|
-
const { t: o } =
|
|
351
|
+
const { t: o } = se(), n = et(), {
|
|
349
352
|
areListingsAvailable: m,
|
|
350
353
|
arrivalTime: b,
|
|
351
354
|
numberOfPeople: d,
|
|
352
355
|
numberOfRooms: k,
|
|
353
356
|
numberOfTotalDays: w,
|
|
354
|
-
isTemplateEvent:
|
|
355
|
-
currentEventDate:
|
|
357
|
+
isTemplateEvent: y,
|
|
358
|
+
currentEventDate: $,
|
|
356
359
|
length: T,
|
|
357
360
|
fromDate: P,
|
|
358
|
-
tableBasePrice:
|
|
359
|
-
getTemplateData:
|
|
361
|
+
tableBasePrice: h,
|
|
362
|
+
getTemplateData: V,
|
|
360
363
|
basePrice: B,
|
|
361
364
|
totalPrice: g,
|
|
362
365
|
weekendFee: i,
|
|
363
366
|
roomUpgrade: M,
|
|
364
367
|
discountCode: C,
|
|
365
|
-
totalSelectedProducts:
|
|
366
|
-
} = z(
|
|
367
|
-
return (I,
|
|
368
|
+
totalSelectedProducts: G
|
|
369
|
+
} = z(j()), { totalAddonPrice: ie, validateDiscountCode: re } = j(), { currency: Z, hideEventLength: ue } = z(ye());
|
|
370
|
+
return (I, ee) => (a(), E($t, {
|
|
368
371
|
"discount-code": e(C),
|
|
369
|
-
"onUpdate:discountCode":
|
|
372
|
+
"onUpdate:discountCode": ee[0] || (ee[0] = (q) => R(C) ? C.value = q : null),
|
|
370
373
|
"validate-discount-code": e(re),
|
|
371
374
|
"show-gift-card": I.showGiftCard,
|
|
372
375
|
"show-terms-notice": I.showTermsNotice,
|
|
@@ -379,22 +382,22 @@ const Jt = {
|
|
|
379
382
|
"prev-callback": I.prevCallback
|
|
380
383
|
}, tt({
|
|
381
384
|
form: p(() => [
|
|
382
|
-
|
|
385
|
+
le(I.$slots, "form", {}, void 0, !0)
|
|
383
386
|
]),
|
|
384
387
|
"reservation-summary": p(() => [
|
|
385
|
-
e(
|
|
388
|
+
e(y) ? v("", !0) : (a(), c("li", tn, [
|
|
386
389
|
t("span", null, l(e(o)("general.date")), 1),
|
|
387
|
-
t("b", null, l(e(U)(e(
|
|
390
|
+
t("b", null, l(e(U)(e($))), 1)
|
|
388
391
|
])),
|
|
389
392
|
e(d) > 0 ? (a(), c("li", nn, [
|
|
390
393
|
t("span", null, l(e(o)("event.numberOfGuests")), 1),
|
|
391
394
|
t("b", null, l(e(d)), 1)
|
|
392
395
|
])) : v("", !0),
|
|
393
|
-
e(
|
|
396
|
+
!e(y) && e(G) > 0 ? (a(), c("li", on, [
|
|
394
397
|
t("span", null, l(e(o)("event.numberOfProducts")), 1),
|
|
395
|
-
t("b", null, l(e(
|
|
396
|
-
])),
|
|
397
|
-
e(
|
|
398
|
+
t("b", null, l(e(G)), 1)
|
|
399
|
+
])) : v("", !0),
|
|
400
|
+
e(y) ? (a(), c(A, { key: 3 }, [
|
|
398
401
|
t("li", null, [
|
|
399
402
|
t("span", null, l(e(o)("booking.reservation.arrival")), 1),
|
|
400
403
|
t("b", null, l(e(U)(e(P))), 1)
|
|
@@ -412,71 +415,74 @@ const Jt = {
|
|
|
412
415
|
t("b", null, l(e(w)), 1)
|
|
413
416
|
])
|
|
414
417
|
], 64)) : v("", !0),
|
|
415
|
-
!e(
|
|
418
|
+
!e(y) && e(b) ? (a(), c("li", ln, [
|
|
416
419
|
t("span", null, l(e(o)("event.startOfEvent")), 1),
|
|
417
420
|
t("b", null, l(e(ge)(e(b))), 1)
|
|
418
421
|
])) : v("", !0),
|
|
419
|
-
!e(
|
|
422
|
+
!e(y) && e(T) && !e(ue) ? (a(), c("li", an, [
|
|
420
423
|
t("span", null, l(e(o)("event.lengthOfEvent")), 1),
|
|
421
424
|
t("b", null, l(e(ge)(e(T))), 1)
|
|
422
425
|
])) : v("", !0)
|
|
423
426
|
]),
|
|
424
427
|
"price-summary": p(() => [
|
|
425
|
-
!e(
|
|
428
|
+
!e(y) && e(h) > 0 ? (a(), c("li", sn, [
|
|
426
429
|
t("span", null, l(e(o)("booking.availability.basePrice")), 1),
|
|
427
|
-
t("b", null, l(e(
|
|
430
|
+
t("b", null, l(e(Y)(e(h), e(Z))), 1)
|
|
428
431
|
])) : v("", !0),
|
|
429
|
-
e(
|
|
430
|
-
t("span", null, l(e(o)("booking.reservation.addons")) + " - " + l(e(o)("booking.reservation.room")) + " #" + l(
|
|
431
|
-
t("b", null, l(e(
|
|
432
|
+
e(V) ? (a(!0), c(A, { key: 1 }, H(e(V), ({ roomGroupId: q }, te) => (a(), c("li", { key: q }, [
|
|
433
|
+
t("span", null, l(e(o)("booking.reservation.addons")) + " - " + l(e(o)("booking.reservation.room")) + " #" + l(te + 1), 1),
|
|
434
|
+
t("b", null, l(e(Y)(e(ie)(q, te), e(Z))), 1)
|
|
432
435
|
]))), 128)) : v("", !0)
|
|
433
436
|
]),
|
|
434
437
|
navigation: p(() => [
|
|
435
|
-
|
|
438
|
+
le(I.$slots, "navigation", {}, void 0, !0)
|
|
436
439
|
]),
|
|
437
440
|
"mobile-under-price": p(() => [
|
|
438
|
-
e(
|
|
441
|
+
e(y) ? (a(), c("div", rn, [
|
|
439
442
|
t("span", null, l(e(U)(e(P))) + " - " + l(e(U)(e(P), e(w))), 1)
|
|
440
443
|
])) : (a(), c("div", un, [
|
|
441
|
-
t("span", null, l(e(U)(e(
|
|
444
|
+
t("span", null, l(e(U)(e($))), 1)
|
|
442
445
|
]))
|
|
443
446
|
]),
|
|
447
|
+
"mobile-summary": p(() => [
|
|
448
|
+
!e(y) && e(G) > 0 ? (a(), c("span", dn, l(e(o)("event.numberOfProducts")) + ": " + l(e(G)), 1)) : v("", !0)
|
|
449
|
+
]),
|
|
444
450
|
_: 2
|
|
445
451
|
}, [
|
|
446
452
|
e(n).sidebar ? {
|
|
447
453
|
name: "sidebar",
|
|
448
454
|
fn: p(() => [
|
|
449
|
-
|
|
455
|
+
le(I.$slots, "sidebar", {}, void 0, !0)
|
|
450
456
|
]),
|
|
451
457
|
key: "0"
|
|
452
458
|
} : void 0
|
|
453
459
|
]), 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"]));
|
|
454
460
|
}
|
|
455
|
-
}),
|
|
461
|
+
}), ve = /* @__PURE__ */ X(cn, [["__scopeId", "data-v-c4b0b5c7"]]), mn = { class: "event-skeleton" }, pn = { class: "event-skeleton-content" }, vn = { class: "event-skeleton-sidebar" }, fn = /* @__PURE__ */ W({
|
|
456
462
|
__name: "EventSkeleton",
|
|
457
463
|
setup(s) {
|
|
458
|
-
return (o, n) => (a(), c("div",
|
|
459
|
-
t("div",
|
|
464
|
+
return (o, n) => (a(), c("div", mn, [
|
|
465
|
+
t("div", pn, [
|
|
460
466
|
f(Se)
|
|
461
467
|
]),
|
|
462
|
-
t("div",
|
|
468
|
+
t("div", vn, [
|
|
463
469
|
v("", !0),
|
|
464
|
-
f(
|
|
470
|
+
f(Vt)
|
|
465
471
|
])
|
|
466
472
|
]));
|
|
467
473
|
}
|
|
468
|
-
}),
|
|
474
|
+
}), bn = /* @__PURE__ */ X(fn, [["__scopeId", "data-v-3e15c4e3"]]), gn = {
|
|
469
475
|
key: 0,
|
|
470
476
|
id: "konnectio-event-listings-wrapper"
|
|
471
477
|
};
|
|
472
|
-
const
|
|
473
|
-
const
|
|
478
|
+
const kn = { class: "konnectio-event-listings" };
|
|
479
|
+
const yn = { class: "konnectio-event-listings" }, hn = ["innerHTML"], _n = { class: "konnectio-panel" }, Pn = {
|
|
474
480
|
key: 0,
|
|
475
481
|
id: "konnectio-event-addons"
|
|
476
|
-
},
|
|
482
|
+
}, Dn = { class: "konnectio-table with-lines" }, En = { class: "konnectio-event-addons-price" }, $n = { class: "konnectio-event-addons-input" }, Vn = { class: "konnectio-event-addons-price" }, wn = { class: "konnectio-event-addons-price" }, Tn = {
|
|
477
483
|
key: 1,
|
|
478
484
|
class: "konnectio-table with-lines"
|
|
479
|
-
},
|
|
485
|
+
}, Nn = { class: "konnectio-table-addons-information" }, On = { key: 0 }, Fn = { class: "konnectio-table-addons-option" }, Sn = { class: "konnectio-panel" }, Mn = /* @__PURE__ */ W({
|
|
480
486
|
name: "EventLayout",
|
|
481
487
|
__name: "Event",
|
|
482
488
|
props: {
|
|
@@ -487,33 +493,33 @@ const gn = { class: "konnectio-event-listings" }, kn = ["innerHTML"], yn = { cla
|
|
|
487
493
|
styling: {}
|
|
488
494
|
},
|
|
489
495
|
setup(s) {
|
|
490
|
-
const o = s, { t: n } =
|
|
496
|
+
const o = s, { t: n } = se(), {
|
|
491
497
|
addons: m,
|
|
492
498
|
products: b,
|
|
493
499
|
numberOfDays: d,
|
|
494
500
|
name: k,
|
|
495
501
|
phone: w,
|
|
496
|
-
email:
|
|
497
|
-
remark:
|
|
502
|
+
email: y,
|
|
503
|
+
remark: $,
|
|
498
504
|
allergies: T,
|
|
499
505
|
arrivalTime: P,
|
|
500
|
-
hasEvents:
|
|
501
|
-
hasTemplates:
|
|
506
|
+
hasEvents: h,
|
|
507
|
+
hasTemplates: V,
|
|
502
508
|
getEvents: B,
|
|
503
509
|
getTemplates: g,
|
|
504
510
|
getEventData: i,
|
|
505
511
|
getTemplateData: M,
|
|
506
512
|
getEventTableData: C,
|
|
507
|
-
hasProducts:
|
|
513
|
+
hasProducts: G,
|
|
508
514
|
eventRateType: ie,
|
|
509
515
|
areListingsAvailable: re,
|
|
510
|
-
isAvailabilityDataAvailable:
|
|
516
|
+
isAvailabilityDataAvailable: Z,
|
|
511
517
|
hasListingData: ue,
|
|
512
518
|
isPaymentLoading: I,
|
|
513
|
-
isReservationFormFilled:
|
|
514
|
-
requiresArrivalTime:
|
|
515
|
-
hasSelectedRequiredProducts:
|
|
516
|
-
} = z(
|
|
519
|
+
isReservationFormFilled: ee,
|
|
520
|
+
requiresArrivalTime: q,
|
|
521
|
+
hasSelectedRequiredProducts: te
|
|
522
|
+
} = z(j()), { currency: ne } = z(ye()), { eventDate: Ce, eventLocation: Le } = z(Pe()), { isValidRestaurantId: Ae } = Pe(), {
|
|
517
523
|
initialize: Ie,
|
|
518
524
|
fetchListings: Re,
|
|
519
525
|
createBooking: Ue,
|
|
@@ -521,7 +527,7 @@ const gn = { class: "konnectio-event-listings" }, kn = ["innerHTML"], yn = { cla
|
|
|
521
527
|
totalAddonPrice: Ge,
|
|
522
528
|
reset: qe,
|
|
523
529
|
goBack: he
|
|
524
|
-
} =
|
|
530
|
+
} = j(), { display: de } = Fe(), He = K(() => [
|
|
525
531
|
{
|
|
526
532
|
id: "availability",
|
|
527
533
|
label: n("booking.availability.title"),
|
|
@@ -547,7 +553,7 @@ const gn = { class: "konnectio-event-listings" }, kn = ["innerHTML"], yn = { cla
|
|
|
547
553
|
label: n("booking.confirmation.title"),
|
|
548
554
|
icon: "calendar-check"
|
|
549
555
|
}
|
|
550
|
-
]), Ye =
|
|
556
|
+
]), Ye = K(() => {
|
|
551
557
|
const D = [];
|
|
552
558
|
return C.value && C.value.forEach((u) => {
|
|
553
559
|
D.find((N) => N.value === u.time) || D.push({
|
|
@@ -565,8 +571,8 @@ const gn = { class: "konnectio-event-listings" }, kn = ["innerHTML"], yn = { cla
|
|
|
565
571
|
}), u = parseInt(D.rid), N = D.d, O = parseInt(D.eid);
|
|
566
572
|
if (N)
|
|
567
573
|
if (ft(N)) {
|
|
568
|
-
const S = new Date(N), L = S.setHours(12, 0, 0, 0),
|
|
569
|
-
L >=
|
|
574
|
+
const S = new Date(N), L = S.setHours(12, 0, 0, 0), _ = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
|
|
575
|
+
L >= _ ? (Ce.value = S, D.d = void 0) : de({
|
|
570
576
|
message: n("alert.error.invalidDateRange"),
|
|
571
577
|
type: "error"
|
|
572
578
|
});
|
|
@@ -605,22 +611,22 @@ const gn = { class: "konnectio-event-listings" }, kn = ["innerHTML"], yn = { cla
|
|
|
605
611
|
}, null, 8, ["selected-location"])
|
|
606
612
|
]),
|
|
607
613
|
form: p(() => [
|
|
608
|
-
e(ue) && e(re) ? (a(), c("div",
|
|
609
|
-
e(
|
|
614
|
+
e(ue) && e(re) ? (a(), c("div", gn, [
|
|
615
|
+
e(h) && D.onlyShow !== "templates" ? (a(), c(A, { key: 0 }, [
|
|
610
616
|
v("", !0),
|
|
611
|
-
t("ul",
|
|
612
|
-
(a(!0), c(A, null,
|
|
617
|
+
t("ul", kn, [
|
|
618
|
+
(a(!0), c(A, null, H(e(B), ({
|
|
613
619
|
id: O,
|
|
614
620
|
days: r,
|
|
615
621
|
name: S,
|
|
616
622
|
timeFrom: L,
|
|
617
|
-
timeTo:
|
|
623
|
+
timeTo: _,
|
|
618
624
|
fromDate: F,
|
|
619
|
-
toDate:
|
|
620
|
-
tableGroupId:
|
|
625
|
+
toDate: Q,
|
|
626
|
+
tableGroupId: x,
|
|
621
627
|
description: ce,
|
|
622
628
|
soldOut: me,
|
|
623
|
-
length:
|
|
629
|
+
length: J,
|
|
624
630
|
images: Qe,
|
|
625
631
|
maxOnlineReservationLimit: xe,
|
|
626
632
|
maxPaxPerReservation: Je,
|
|
@@ -629,77 +635,77 @@ const gn = { class: "konnectio-event-listings" }, kn = ["innerHTML"], yn = { cla
|
|
|
629
635
|
key: O,
|
|
630
636
|
type: "event",
|
|
631
637
|
"listing-id": O,
|
|
632
|
-
"table-group-id":
|
|
638
|
+
"table-group-id": x,
|
|
633
639
|
description: ce,
|
|
634
640
|
name: S,
|
|
635
|
-
length:
|
|
641
|
+
length: J,
|
|
636
642
|
gallery: Qe,
|
|
637
643
|
days: r,
|
|
638
644
|
"from-date": F,
|
|
639
|
-
"to-date":
|
|
645
|
+
"to-date": Q,
|
|
640
646
|
"max-online-reservation-limit": Je || xe,
|
|
641
647
|
"time-from": L,
|
|
642
|
-
"time-to":
|
|
648
|
+
"time-to": _,
|
|
643
649
|
"sold-out": me,
|
|
644
650
|
"use-number-of-products-for-persons": Ke,
|
|
645
651
|
callback: N
|
|
646
652
|
}, 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))
|
|
647
653
|
])
|
|
648
654
|
], 64)) : v("", !0),
|
|
649
|
-
e(
|
|
655
|
+
e(V) && D.onlyShow !== "events" ? (a(), c(A, { key: 1 }, [
|
|
650
656
|
v("", !0),
|
|
651
|
-
t("ul",
|
|
652
|
-
(a(!0), c(A, null,
|
|
657
|
+
t("ul", yn, [
|
|
658
|
+
(a(!0), c(A, null, H(e(g), ({
|
|
653
659
|
id: O,
|
|
654
660
|
name: r,
|
|
655
661
|
fromDate: S,
|
|
656
662
|
toDate: L,
|
|
657
|
-
minimumPersonCount:
|
|
663
|
+
minimumPersonCount: _,
|
|
658
664
|
fromPrice: F,
|
|
659
|
-
description:
|
|
660
|
-
imageUrl:
|
|
665
|
+
description: Q,
|
|
666
|
+
imageUrl: x
|
|
661
667
|
}) => (a(), E(en, {
|
|
662
668
|
key: O,
|
|
663
669
|
"listing-id": O,
|
|
664
670
|
name: r,
|
|
665
|
-
image:
|
|
666
|
-
description:
|
|
671
|
+
image: x,
|
|
672
|
+
description: Q,
|
|
667
673
|
"from-date": S,
|
|
668
674
|
"to-date": L,
|
|
669
|
-
"minimum-person-count":
|
|
675
|
+
"minimum-person-count": _,
|
|
670
676
|
fromPrice: F,
|
|
671
677
|
callback: N
|
|
672
678
|
}, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
|
|
673
679
|
])
|
|
674
680
|
], 64)) : v("", !0),
|
|
675
|
-
!e(
|
|
681
|
+
!e(h) && !e(V) || !e(h) && D.onlyShow === "events" || !e(V) && D.onlyShow === "templates" ? (a(), c("div", {
|
|
676
682
|
key: 2,
|
|
677
683
|
class: "konnectio-panel",
|
|
678
684
|
innerHTML: e(n)("event.nothingAvailable")
|
|
679
|
-
}, null, 8,
|
|
685
|
+
}, null, 8, hn)) : v("", !0)
|
|
680
686
|
])) : (a(), E(Se, { key: 1 }))
|
|
681
687
|
]),
|
|
682
688
|
_: 2
|
|
683
689
|
}, 1024)
|
|
684
690
|
]),
|
|
685
691
|
addons: p(({ next: N, prev: O }) => [
|
|
686
|
-
e(
|
|
692
|
+
e(Z) ? (a(), E(ve, {
|
|
687
693
|
key: 0,
|
|
688
694
|
"prev-callback": () => e(he)(O)
|
|
689
695
|
}, {
|
|
690
696
|
form: p(() => [
|
|
691
|
-
t("form",
|
|
697
|
+
t("form", _n, [
|
|
692
698
|
t("h2", null, [
|
|
693
699
|
t("span", null, l(e(n)("event.selectProducts")), 1)
|
|
694
700
|
]),
|
|
695
|
-
e(M) && e(M).length > 0 ? (a(), c("ul",
|
|
696
|
-
(a(!0), c(A, null,
|
|
701
|
+
e(M) && e(M).length > 0 ? (a(), c("ul", Pn, [
|
|
702
|
+
(a(!0), c(A, null, H(e(M), ({
|
|
697
703
|
roomGroupId: r,
|
|
698
704
|
addons: S,
|
|
699
705
|
adultPerRoom: L
|
|
700
|
-
},
|
|
706
|
+
}, _) => (a(), c("li", { key: r }, [
|
|
701
707
|
t("h5", null, [
|
|
702
|
-
t("span", null, l(e(n)("booking.reservation.room")) + " #" + l(
|
|
708
|
+
t("span", null, l(e(n)("booking.reservation.room")) + " #" + l(_ + 1), 1),
|
|
703
709
|
u[7] || (u[7] = _e(" (")),
|
|
704
710
|
f(be, {
|
|
705
711
|
icon: "male",
|
|
@@ -708,47 +714,47 @@ const gn = { class: "konnectio-event-listings" }, kn = ["innerHTML"], yn = { cla
|
|
|
708
714
|
}),
|
|
709
715
|
_e(" " + l(L) + ") ", 1)
|
|
710
716
|
]),
|
|
711
|
-
t("table",
|
|
717
|
+
t("table", Dn, [
|
|
712
718
|
t("thead", null, [
|
|
713
719
|
t("tr", null, [
|
|
714
720
|
t("th", null, [
|
|
715
721
|
t("span", null, l(e(n)("booking.reservation.addons")), 1)
|
|
716
722
|
]),
|
|
717
723
|
u[8] || (u[8] = t("th", { class: "konnectio-event-addons-input" }, null, -1)),
|
|
718
|
-
t("th",
|
|
724
|
+
t("th", En, [
|
|
719
725
|
t("span", null, l(e(n)("booking.availability.price")), 1)
|
|
720
726
|
])
|
|
721
727
|
])
|
|
722
728
|
]),
|
|
723
729
|
t("tbody", null, [
|
|
724
|
-
(a(!0), c(A, null,
|
|
730
|
+
(a(!0), c(A, null, H(S, ({
|
|
725
731
|
id: F,
|
|
726
|
-
cardinality:
|
|
727
|
-
name:
|
|
732
|
+
cardinality: Q,
|
|
733
|
+
name: x,
|
|
728
734
|
price: ce,
|
|
729
735
|
quantityStrategy: me
|
|
730
736
|
}) => (a(), c("tr", { key: F }, [
|
|
731
737
|
t("td", null, [
|
|
732
|
-
t("b", null, l(
|
|
738
|
+
t("b", null, l(x), 1),
|
|
733
739
|
u[9] || (u[9] = t("br", null, null, -1)),
|
|
734
|
-
t("span", null, l(e(
|
|
740
|
+
t("span", null, l(e(Y)(ce, e(ne))) + " " + l(e(ct)(me)), 1)
|
|
735
741
|
]),
|
|
736
|
-
t("td",
|
|
737
|
-
|
|
742
|
+
t("td", $n, [
|
|
743
|
+
Q === 3 ? (a(), E(ae, {
|
|
738
744
|
key: 0,
|
|
739
|
-
modelValue: e(m)[`${r}.${F}.${
|
|
740
|
-
"onUpdate:modelValue": (
|
|
745
|
+
modelValue: e(m)[`${r}.${F}.${_}`],
|
|
746
|
+
"onUpdate:modelValue": (J) => e(m)[`${r}.${F}.${_}`] = J,
|
|
741
747
|
small: !0,
|
|
742
748
|
"min-value": 0
|
|
743
749
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), E(St, {
|
|
744
750
|
key: 1,
|
|
745
|
-
modelValue: e(m)[`${r}.${F}.${
|
|
746
|
-
"onUpdate:modelValue": (
|
|
751
|
+
modelValue: e(m)[`${r}.${F}.${_}`],
|
|
752
|
+
"onUpdate:modelValue": (J) => e(m)[`${r}.${F}.${_}`] = J,
|
|
747
753
|
numeric: !0
|
|
748
754
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
749
755
|
]),
|
|
750
|
-
t("td",
|
|
751
|
-
t("span", null, l(e(
|
|
756
|
+
t("td", Vn, [
|
|
757
|
+
t("span", null, l(e(Y)(e(ze)(F, r, _), e(ne))), 1)
|
|
752
758
|
])
|
|
753
759
|
]))), 128))
|
|
754
760
|
]),
|
|
@@ -756,9 +762,9 @@ const gn = { class: "konnectio-event-listings" }, kn = ["innerHTML"], yn = { cla
|
|
|
756
762
|
t("tr", null, [
|
|
757
763
|
u[10] || (u[10] = t("td", null, null, -1)),
|
|
758
764
|
u[11] || (u[11] = t("td", null, null, -1)),
|
|
759
|
-
t("td",
|
|
765
|
+
t("td", wn, [
|
|
760
766
|
t("u", null, [
|
|
761
|
-
t("span", null, l(e(
|
|
767
|
+
t("span", null, l(e(Y)(e(Ge)(r, _), e(ne))), 1)
|
|
762
768
|
])
|
|
763
769
|
])
|
|
764
770
|
])
|
|
@@ -766,18 +772,18 @@ const gn = { class: "konnectio-event-listings" }, kn = ["innerHTML"], yn = { cla
|
|
|
766
772
|
])
|
|
767
773
|
]))), 128))
|
|
768
774
|
])) : v("", !0),
|
|
769
|
-
e(
|
|
775
|
+
e(G) ? (a(), c("table", Tn, [
|
|
770
776
|
t("tbody", null, [
|
|
771
|
-
(a(!0), c(A, null,
|
|
772
|
-
t("td",
|
|
777
|
+
(a(!0), c(A, null, H(e(i).products, ({ id: r, name: S, price: L, description: _ }) => (a(), c("tr", { key: r }, [
|
|
778
|
+
t("td", Nn, [
|
|
773
779
|
t("b", null, [
|
|
774
780
|
t("span", null, l(e(De)(S)), 1)
|
|
775
781
|
]),
|
|
776
|
-
|
|
777
|
-
t("
|
|
782
|
+
_ && _ !== S ? (a(), c("span", On, l(e(De)(_)), 1)) : v("", !0),
|
|
783
|
+
t("u", null, l(e(Y)(L, e(ne))), 1)
|
|
778
784
|
]),
|
|
779
|
-
t("td",
|
|
780
|
-
f(
|
|
785
|
+
t("td", Fn, [
|
|
786
|
+
f(ae, {
|
|
781
787
|
modelValue: e(b)[r],
|
|
782
788
|
"onUpdate:modelValue": (F) => e(b)[r] = F,
|
|
783
789
|
small: !0,
|
|
@@ -792,7 +798,7 @@ const gn = { class: "konnectio-event-listings" }, kn = ["innerHTML"], yn = { cla
|
|
|
792
798
|
navigation: p(() => [
|
|
793
799
|
f(fe, {
|
|
794
800
|
label: e(n)("event.startReservation"),
|
|
795
|
-
disabled: !e(
|
|
801
|
+
disabled: !e(te),
|
|
796
802
|
"full-width": "",
|
|
797
803
|
onClickEvent: N
|
|
798
804
|
}, null, 8, ["label", "disabled", "onClickEvent"])
|
|
@@ -807,11 +813,11 @@ const gn = { class: "konnectio-event-listings" }, kn = ["innerHTML"], yn = { cla
|
|
|
807
813
|
"prev-callback": () => e(he)(O)
|
|
808
814
|
}, {
|
|
809
815
|
form: p(() => [
|
|
810
|
-
t("form",
|
|
816
|
+
t("form", Sn, [
|
|
811
817
|
t("h2", null, [
|
|
812
818
|
t("span", null, l(e(n)("booking.reservation.detailsTitle")), 1)
|
|
813
819
|
]),
|
|
814
|
-
f(
|
|
820
|
+
f(oe, {
|
|
815
821
|
modelValue: e(k),
|
|
816
822
|
"onUpdate:modelValue": u[0] || (u[0] = (r) => R(k) ? k.value = r : null),
|
|
817
823
|
type: "text",
|
|
@@ -820,9 +826,9 @@ const gn = { class: "konnectio-event-listings" }, kn = ["innerHTML"], yn = { cla
|
|
|
820
826
|
placeholder: e(n)("booking.reservation.namePlaceholder"),
|
|
821
827
|
required: ""
|
|
822
828
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
823
|
-
f(
|
|
824
|
-
modelValue: e(
|
|
825
|
-
"onUpdate:modelValue": u[1] || (u[1] = (r) => R(
|
|
829
|
+
f(oe, {
|
|
830
|
+
modelValue: e(y),
|
|
831
|
+
"onUpdate:modelValue": u[1] || (u[1] = (r) => R(y) ? y.value = r : null),
|
|
826
832
|
label: e(n)("booking.reservation.email"),
|
|
827
833
|
type: "email",
|
|
828
834
|
name: "email",
|
|
@@ -839,7 +845,7 @@ const gn = { class: "konnectio-event-listings" }, kn = ["innerHTML"], yn = { cla
|
|
|
839
845
|
placeholder: e(n)("booking.reservation.phonePlaceholder"),
|
|
840
846
|
required: ""
|
|
841
847
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
842
|
-
e(
|
|
848
|
+
e(q) ? (a(), E(Tt, {
|
|
843
849
|
key: 0,
|
|
844
850
|
modelValue: e(P),
|
|
845
851
|
"onUpdate:modelValue": u[3] || (u[3] = (r) => R(P) ? P.value = r : null),
|
|
@@ -848,7 +854,7 @@ const gn = { class: "konnectio-event-listings" }, kn = ["innerHTML"], yn = { cla
|
|
|
848
854
|
checkboxes: Ye.value,
|
|
849
855
|
required: ""
|
|
850
856
|
}, null, 8, ["modelValue", "label", "checkboxes"])) : v("", !0),
|
|
851
|
-
e(ie) === e(mt).FullDayEvent ? (a(), E(
|
|
857
|
+
e(ie) === e(mt).FullDayEvent ? (a(), E(ae, {
|
|
852
858
|
key: 1,
|
|
853
859
|
modelValue: e(d),
|
|
854
860
|
"onUpdate:modelValue": u[4] || (u[4] = (r) => R(d) ? d.value = r : null),
|
|
@@ -856,15 +862,15 @@ const gn = { class: "konnectio-event-listings" }, kn = ["innerHTML"], yn = { cla
|
|
|
856
862
|
"min-value": 1,
|
|
857
863
|
required: ""
|
|
858
864
|
}, null, 8, ["modelValue", "label"])) : v("", !0),
|
|
859
|
-
f(
|
|
860
|
-
modelValue: e(
|
|
861
|
-
"onUpdate:modelValue": u[5] || (u[5] = (r) => R(
|
|
865
|
+
f(oe, {
|
|
866
|
+
modelValue: e($),
|
|
867
|
+
"onUpdate:modelValue": u[5] || (u[5] = (r) => R($) ? $.value = r : null),
|
|
862
868
|
type: "textarea",
|
|
863
869
|
label: `${e(n)("booking.reservation.remark")} (${e(n)("booking.reservation.optional")})`,
|
|
864
870
|
icon: "info-circle",
|
|
865
871
|
placeholder: e(n)("booking.reservation.remarkPlaceholder")
|
|
866
872
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
867
|
-
f(
|
|
873
|
+
f(oe, {
|
|
868
874
|
modelValue: e(T),
|
|
869
875
|
"onUpdate:modelValue": u[6] || (u[6] = (r) => R(T) ? T.value = r : null),
|
|
870
876
|
type: "textarea",
|
|
@@ -878,7 +884,7 @@ const gn = { class: "konnectio-event-listings" }, kn = ["innerHTML"], yn = { cla
|
|
|
878
884
|
f(fe, {
|
|
879
885
|
label: e(n)("general.confirmReservation"),
|
|
880
886
|
"is-loading": e(I),
|
|
881
|
-
disabled: !e(
|
|
887
|
+
disabled: !e(ee),
|
|
882
888
|
"full-width": "",
|
|
883
889
|
onClickEvent: (r) => e(Ue)(N)
|
|
884
890
|
}, null, 8, ["label", "is-loading", "disabled", "onClickEvent"])
|
|
@@ -901,7 +907,7 @@ const gn = { class: "konnectio-event-listings" }, kn = ["innerHTML"], yn = { cla
|
|
|
901
907
|
}, 8, ["access-token", "callback"])
|
|
902
908
|
]),
|
|
903
909
|
fallback: p(() => [
|
|
904
|
-
f(
|
|
910
|
+
f(bn)
|
|
905
911
|
]),
|
|
906
912
|
_: 1
|
|
907
913
|
}))
|
|
@@ -909,8 +915,8 @@ const gn = { class: "konnectio-event-listings" }, kn = ["innerHTML"], yn = { cla
|
|
|
909
915
|
_: 1
|
|
910
916
|
}, 8, ["styling"]));
|
|
911
917
|
}
|
|
912
|
-
}), Oe = /* @__PURE__ */
|
|
913
|
-
class
|
|
918
|
+
}), Oe = /* @__PURE__ */ X(Mn, [["__scopeId", "data-v-866193bb"]]), Bn = ot(), Cn = it();
|
|
919
|
+
class Ln extends HTMLElement {
|
|
914
920
|
vueApp;
|
|
915
921
|
constructor() {
|
|
916
922
|
super();
|
|
@@ -920,13 +926,13 @@ class Bn extends HTMLElement {
|
|
|
920
926
|
}
|
|
921
927
|
connectedCallback() {
|
|
922
928
|
const o = lt(Oe, this.attributes);
|
|
923
|
-
this.vueApp = at(Oe, o), this.vueApp.provide("emitter",
|
|
929
|
+
this.vueApp = at(Oe, o), this.vueApp.provide("emitter", Cn), this.vueApp.use(st), this.vueApp.use(Bn), this.vueApp.use(Ot), this.vueApp.use(gt), this.vueApp.use(Ft), this.vueApp.use(bt, { bootstrap: !0 });
|
|
924
930
|
const n = document.createElement("div");
|
|
925
931
|
this.vueApp.mount(n), this.appendChild(n.children[0]);
|
|
926
932
|
}
|
|
927
933
|
}
|
|
928
|
-
window.customElements.define("konnectio-event",
|
|
934
|
+
window.customElements.define("konnectio-event", Ln);
|
|
929
935
|
export {
|
|
930
|
-
|
|
936
|
+
Ln as default
|
|
931
937
|
};
|
|
932
938
|
//# sourceMappingURL=event.js.map
|