@konnectio/core 4.1.3 → 4.1.4
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-CRqgWSz1.js → ActionField-C1dgcOKP.js} +3 -3
- package/dist/ActionField-C1dgcOKP.js.br +0 -0
- package/dist/{AvailabilitySkeleton-DVrVFhw4.js → AvailabilitySkeleton-Bazs9H4o.js} +110 -110
- package/dist/AvailabilitySkeleton-Bazs9H4o.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Bqb9v7l8.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-a1ndpS4g.js} +336 -336
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-a1ndpS4g.js.br +0 -0
- package/dist/{CheckoutWindow-DrZnthDH.js → CheckoutWindow-BgqyyJoW.js} +185 -185
- package/dist/CheckoutWindow-BgqyyJoW.js.br +0 -0
- package/dist/{ErrorMessage-b0lY3zUM.js → ErrorMessage-BzDrnE0F.js} +4 -4
- package/dist/ErrorMessage-BzDrnE0F.js.br +0 -0
- package/dist/{EventAvailabilityForm-BPkfZcYX.js → EventAvailabilityForm-Cw5NkQXM.js} +10 -10
- package/dist/EventAvailabilityForm-Cw5NkQXM.js.br +0 -0
- package/dist/{Field-DnS91ODQ.js → Field-BLzufPEA.js} +4 -4
- package/dist/Field-BLzufPEA.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CW-XSJQB.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DF8uAZlm.js} +3 -3
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-CZYWu7x-.js → SelectField.vue_vue_type_style_index_0_lang-eQJ88XWq.js} +2936 -2621
- package/dist/SelectField.vue_vue_type_style_index_0_lang-eQJ88XWq.js.br +0 -0
- package/dist/{TermsOfService-B2ELKRPq.js → TermsOfService-BM9pIxg1.js} +4 -4
- package/dist/_-C47qU_gt.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-DKkrP6vk.js → _.vue_vue_type_style_index_0_lang-alJEghYY.js} +3 -3
- package/dist/availability.js +16 -16
- package/dist/availability.js.br +0 -0
- package/dist/cancel-reservation.js +14 -14
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/core.css +1 -1
- package/dist/core.css.br +0 -0
- package/dist/deep-link.js +13 -13
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +55 -55
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +24 -24
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +56 -56
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-BsWa3VEY.js → giftCard-pa0AL3wA.js} +26 -26
- package/dist/giftCard-pa0AL3wA.js.br +0 -0
- package/dist/hotel.js +15 -15
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-By72FzQ9.js → masonry.plugin-p-oq4FQ9.js} +301 -301
- package/dist/masonry.plugin-p-oq4FQ9.js.br +0 -0
- package/dist/{mitt-Dh_4vPVI.js → mitt-CFrRmK9k.js} +30 -30
- package/dist/mitt-CFrRmK9k.js.br +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/{style-CXMzdeVK.js → style-CLWqMWeG.js} +59 -59
- package/dist/style-CLWqMWeG.js.br +0 -0
- package/package.json +2 -1
- package/dist/ActionField-CRqgWSz1.js.br +0 -0
- package/dist/AvailabilitySkeleton-DVrVFhw4.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Bqb9v7l8.js.br +0 -0
- package/dist/CheckoutWindow-DrZnthDH.js.br +0 -0
- package/dist/ErrorMessage-b0lY3zUM.js.br +0 -0
- package/dist/EventAvailabilityForm-BPkfZcYX.js.br +0 -0
- package/dist/Field-DnS91ODQ.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-CZYWu7x-.js.br +0 -0
- package/dist/_-DkNAaEsV.js +0 -5
- package/dist/giftCard-BsWa3VEY.js.br +0 -0
- package/dist/masonry.plugin-By72FzQ9.js.br +0 -0
- package/dist/mitt-Dh_4vPVI.js.br +0 -0
- package/dist/style-CXMzdeVK.js.br +0 -0
package/dist/core.css.br
CHANGED
|
Binary file
|
package/dist/deep-link.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
const
|
|
1
|
+
import { d as c, r as o, o as l, a as d, g as u, e as r, t as h, q as i, k as m, l as f, m as v, p as k, _ } from "./mitt-CFrRmK9k.js";
|
|
2
|
+
const A = ["href"], p = /* @__PURE__ */ c({
|
|
3
3
|
name: "KonnectioDeepLink",
|
|
4
4
|
__name: "DeepLink",
|
|
5
5
|
props: {
|
|
@@ -11,22 +11,22 @@ const _ = ["href"], i = /* @__PURE__ */ l({
|
|
|
11
11
|
},
|
|
12
12
|
setup(a) {
|
|
13
13
|
const s = o(null), e = a, n = o();
|
|
14
|
-
return
|
|
14
|
+
return l(() => {
|
|
15
15
|
const t = new URL(e.baseurl || location.href);
|
|
16
16
|
e.adults && t.searchParams.append("adults", e.adults), e.children && t.searchParams.append("children", e.children), n.value = t.href;
|
|
17
|
-
}), (t,
|
|
17
|
+
}), (t, w) => (d(), u("div", {
|
|
18
18
|
ref_key: "test",
|
|
19
19
|
ref: s
|
|
20
20
|
}, [
|
|
21
21
|
r("a", { href: n.value }, [
|
|
22
22
|
r("span", null, h(n.value), 1),
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
], 8,
|
|
23
|
+
i(t.$slots, "content"),
|
|
24
|
+
i(t.$slots, "default")
|
|
25
|
+
], 8, A)
|
|
26
26
|
], 512));
|
|
27
27
|
}
|
|
28
|
-
}), b = m(), C =
|
|
29
|
-
class
|
|
28
|
+
}), b = m(), C = _, E = C();
|
|
29
|
+
class L extends HTMLElement {
|
|
30
30
|
vueApp;
|
|
31
31
|
constructor() {
|
|
32
32
|
super();
|
|
@@ -35,14 +35,14 @@ class E extends HTMLElement {
|
|
|
35
35
|
this.vueApp.unmount();
|
|
36
36
|
}
|
|
37
37
|
connectedCallback() {
|
|
38
|
-
const s = f(
|
|
39
|
-
this.vueApp = v(
|
|
38
|
+
const s = f(p, this.attributes);
|
|
39
|
+
this.vueApp = v(p, s), this.vueApp.provide("emitter", E), this.vueApp.use(k), this.vueApp.use(b);
|
|
40
40
|
const e = document.createElement("div");
|
|
41
41
|
this.vueApp.mount(e), this.appendChild(e.children[0]);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
window.customElements.define("konnectio-deep-link",
|
|
44
|
+
window.customElements.define("konnectio-deep-link", L);
|
|
45
45
|
export {
|
|
46
|
-
|
|
46
|
+
L as default
|
|
47
47
|
};
|
|
48
48
|
//# sourceMappingURL=deep-link.js.map
|
package/dist/deep-link.js.br
CHANGED
|
Binary file
|
package/dist/event.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { d as W, u as ae, s as j, r as Fe, c as X, a as l, b as $, w as m,
|
|
2
|
-
import { a as
|
|
3
|
-
import { G as Dt } from "./style-
|
|
4
|
-
import { _ as Pt } from "./_.vue_vue_type_style_index_0_lang-
|
|
5
|
-
import { B as $t, _ as
|
|
6
|
-
import { e as Lt, c as Ct, n as Ft, g as Ve, m as Ne, a as Te, b as Be, d as St, f as Le, _ as At } from "./AvailabilitySkeleton.
|
|
7
|
-
import { C as It, P as Rt, a as Mt } from "./CheckoutWindow-
|
|
8
|
-
import { E as Ut } from "./EventAvailabilityForm-
|
|
9
|
-
import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-
|
|
1
|
+
import { d as W, u as ae, s as j, r as Fe, c as X, a as l, b as $, w as m, q as K, i as e, e as t, j as v, f as p, n as Xe, g as c, t as a, o as xe, h as et, v as de, x as tt, y as nt, F as I, z as Y, A as M, S as at, k as ot, l as lt, m as st, p as it, _ as rt } from "./mitt-CFrRmK9k.js";
|
|
2
|
+
import { a as we, f as x, g as ue, l as ut, s as U, d as ce, B as dt, _ as ee, h as me, I as ne, i as ct, u as $e, j as mt, k as pt, m as vt, n as _e, o as J, p as bt, q as Oe, T as re, O as ft, C as gt, r as kt, t as yt, v as ht } from "./SelectField.vue_vue_type_style_index_0_lang-eQJ88XWq.js";
|
|
3
|
+
import { G as Dt } from "./style-CLWqMWeG.js";
|
|
4
|
+
import { _ as Pt } from "./_.vue_vue_type_style_index_0_lang-alJEghYY.js";
|
|
5
|
+
import { B as $t, _ as _t, R as wt, L as Se, S as Et, M as Ot, C as Vt, T as Nt, V as Tt, a as Bt } from "./masonry.plugin-p-oq4FQ9.js";
|
|
6
|
+
import { e as Lt, c as Ct, n as Ft, g as Ve, m as Ne, a as Te, b as Be, d as St, f as Le, _ as At } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-a1ndpS4g.js";
|
|
7
|
+
import { C as It, P as Rt, a as Mt } from "./CheckoutWindow-BgqyyJoW.js";
|
|
8
|
+
import { E as Ut } from "./EventAvailabilityForm-Cw5NkQXM.js";
|
|
9
|
+
import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DF8uAZlm.js";
|
|
10
10
|
function Gt(k) {
|
|
11
11
|
return (o) => {
|
|
12
12
|
const y = (k ? Math[k] : Math.trunc)(o);
|
|
@@ -23,7 +23,7 @@ function zt(k, o, n) {
|
|
|
23
23
|
}), [E, g] = Ft(
|
|
24
24
|
n?.in,
|
|
25
25
|
...i > 0 ? [o, k] : [k, o]
|
|
26
|
-
), s = Gt(n?.roundingMethod ?? "round"), O = g.getTime() - E.getTime(), h = O / Le,
|
|
26
|
+
), s = Gt(n?.roundingMethod ?? "round"), O = g.getTime() - E.getTime(), h = O / Le, _ = Ve(g) - Ve(E), N = (O - _) / Le, F = n?.unit;
|
|
27
27
|
let D;
|
|
28
28
|
if (F ? D = F : h < 1 ? D = "second" : h < 60 ? D = "minute" : h < Ne ? D = "hour" : N < Te ? D = "day" : N < Be ? D = "month" : D = "year", D === "second") {
|
|
29
29
|
const r = s(O / 1e3);
|
|
@@ -70,7 +70,7 @@ const qt = { class: "konnectio-event-listing-action-button" }, Ht = /* @__PURE__
|
|
|
70
70
|
callback: {}
|
|
71
71
|
},
|
|
72
72
|
setup(k) {
|
|
73
|
-
const { t: o } = ae(), n = k, { display: y } =
|
|
73
|
+
const { t: o } = ae(), n = k, { display: y } = we(), {
|
|
74
74
|
maxNumberOfPeople: b,
|
|
75
75
|
numberOfPeople: i,
|
|
76
76
|
eventId: f,
|
|
@@ -80,24 +80,24 @@ const qt = { class: "konnectio-event-listing-action-button" }, Ht = /* @__PURE__
|
|
|
80
80
|
getTemplateAvailability: s,
|
|
81
81
|
getEventAvailability: O,
|
|
82
82
|
isEventListingLoading: h
|
|
83
|
-
} = x(),
|
|
84
|
-
if (!n.useNumberOfProductsForPersons && (
|
|
83
|
+
} = x(), _ = Fe(0), N = X(() => h(n.listingId)), F = () => {
|
|
84
|
+
if (!n.useNumberOfProductsForPersons && (_.value === 0 || isNaN(_.value))) {
|
|
85
85
|
y({
|
|
86
86
|
type: "error",
|
|
87
87
|
message: o("alert.error.selectPeople")
|
|
88
88
|
});
|
|
89
89
|
return;
|
|
90
90
|
}
|
|
91
|
-
f.value = n.listingId, i.value = n.useNumberOfProductsForPersons ? NaN :
|
|
91
|
+
f.value = n.listingId, i.value = n.useNumberOfProductsForPersons ? NaN : _.value, s(n.callback);
|
|
92
92
|
}, D = () => {
|
|
93
|
-
if (!n.useNumberOfProductsForPersons && (
|
|
93
|
+
if (!n.useNumberOfProductsForPersons && (_.value === 0 || isNaN(_.value))) {
|
|
94
94
|
y({
|
|
95
95
|
type: "error",
|
|
96
96
|
message: o("alert.error.selectPeople")
|
|
97
97
|
});
|
|
98
98
|
return;
|
|
99
99
|
}
|
|
100
|
-
f.value = n.listingId, g.value = n.tableGroupId, i.value = n.useNumberOfProductsForPersons ? NaN :
|
|
100
|
+
f.value = n.listingId, g.value = n.tableGroupId, i.value = n.useNumberOfProductsForPersons ? NaN : _.value, O(n.callback);
|
|
101
101
|
};
|
|
102
102
|
return (r, S) => (l(), $($t, {
|
|
103
103
|
type: "event",
|
|
@@ -123,8 +123,8 @@ const qt = { class: "konnectio-event-listing-action-button" }, Ht = /* @__PURE__
|
|
|
123
123
|
}, [
|
|
124
124
|
r.useNumberOfProductsForPersons ? v("", !0) : (l(), $(ue, {
|
|
125
125
|
key: 0,
|
|
126
|
-
modelValue:
|
|
127
|
-
"onUpdate:modelValue": S[0] || (S[0] = (A) =>
|
|
126
|
+
modelValue: _.value,
|
|
127
|
+
"onUpdate:modelValue": S[0] || (S[0] = (A) => _.value = A),
|
|
128
128
|
label: e(o)("event.numberOfGuests"),
|
|
129
129
|
icon: "users",
|
|
130
130
|
"icon-type": "fas",
|
|
@@ -198,7 +198,7 @@ const jt = {
|
|
|
198
198
|
callback: i.callback
|
|
199
199
|
}, {
|
|
200
200
|
description: m(() => [
|
|
201
|
-
i.description ? (l(), $(
|
|
201
|
+
i.description ? (l(), $(_t, {
|
|
202
202
|
key: 0,
|
|
203
203
|
text: i.description
|
|
204
204
|
}, null, 8, ["text"])) : v("", !0),
|
|
@@ -254,7 +254,7 @@ const jt = {
|
|
|
254
254
|
callback: { type: Function }
|
|
255
255
|
},
|
|
256
256
|
setup(k) {
|
|
257
|
-
const { t: o } = ae(), { updateEventDate: n } = $e(), { display: y } =
|
|
257
|
+
const { t: o } = ae(), { updateEventDate: n } = $e(), { display: y } = we(), b = Fe(), i = k;
|
|
258
258
|
function f() {
|
|
259
259
|
b.value ? n(b.value) : y({
|
|
260
260
|
message: o("alert.error.selectDate"),
|
|
@@ -370,7 +370,7 @@ const jt = {
|
|
|
370
370
|
currentEventDate: s,
|
|
371
371
|
length: O,
|
|
372
372
|
fromDate: h,
|
|
373
|
-
tableBasePrice:
|
|
373
|
+
tableBasePrice: _,
|
|
374
374
|
getTemplateData: N,
|
|
375
375
|
basePrice: F,
|
|
376
376
|
totalPrice: D,
|
|
@@ -379,7 +379,7 @@ const jt = {
|
|
|
379
379
|
discountCode: A,
|
|
380
380
|
totalSelectedProducts: Z
|
|
381
381
|
} = j(x()), { totalAddonPrice: pe, validateDiscountCode: ve } = x(), { currency: oe, hideEventLength: be } = j(me());
|
|
382
|
-
return (R, le) => (l(), $(
|
|
382
|
+
return (R, le) => (l(), $(wt, {
|
|
383
383
|
"discount-code": e(A),
|
|
384
384
|
"onUpdate:discountCode": le[0] || (le[0] = (Q) => M(A) ? A.value = Q : null),
|
|
385
385
|
"validate-discount-code": e(ve),
|
|
@@ -429,17 +429,17 @@ const jt = {
|
|
|
429
429
|
], 64)) : v("", !0),
|
|
430
430
|
!e(g) && e(b) ? (l(), c("li", sn, [
|
|
431
431
|
t("span", null, a(e(o)("event.startOfEvent")), 1),
|
|
432
|
-
t("b", null, a(e(
|
|
432
|
+
t("b", null, a(e(_e)(e(b))), 1)
|
|
433
433
|
])) : v("", !0),
|
|
434
434
|
!e(g) && e(O) && !e(be) ? (l(), c("li", rn, [
|
|
435
435
|
t("span", null, a(e(o)("event.lengthOfEvent")), 1),
|
|
436
|
-
t("b", null, a(e(
|
|
436
|
+
t("b", null, a(e(_e)(e(O))), 1)
|
|
437
437
|
])) : v("", !0)
|
|
438
438
|
]),
|
|
439
439
|
"price-summary": m(() => [
|
|
440
|
-
!e(g) && e(
|
|
440
|
+
!e(g) && e(_) > 0 ? (l(), c("li", un, [
|
|
441
441
|
t("span", null, a(e(o)("booking.availability.basePrice")), 1),
|
|
442
|
-
t("b", null, a(e(J)(e(
|
|
442
|
+
t("b", null, a(e(J)(e(_), e(oe))), 1)
|
|
443
443
|
])) : v("", !0),
|
|
444
444
|
e(N) ? (l(!0), c(I, { key: 1 }, Y(e(N), ({ roomGroupId: Q }, se) => (l(), c("li", { key: Q }, [
|
|
445
445
|
t("span", null, a(e(o)("booking.reservation.addons")) + " - " + a(e(o)("booking.reservation.room")) + " #" + a(se + 1), 1),
|
|
@@ -489,7 +489,7 @@ const jt = {
|
|
|
489
489
|
}, hn = {
|
|
490
490
|
key: 0,
|
|
491
491
|
class: "konnectio-hotel-availability-title"
|
|
492
|
-
}, Dn = { class: "konnectio-event-listings" }, Pn = { class: "konnectio-hotel-availability-title" }, $n = { class: "konnectio-event-listings" },
|
|
492
|
+
}, Dn = { class: "konnectio-event-listings" }, Pn = { class: "konnectio-hotel-availability-title" }, $n = { class: "konnectio-event-listings" }, _n = ["innerHTML"], wn = { class: "konnectio-panel" }, En = {
|
|
493
493
|
key: 0,
|
|
494
494
|
id: "konnectio-event-addons"
|
|
495
495
|
}, On = { class: "konnectio-table with-lines" }, Vn = { class: "konnectio-event-addons-price" }, Nn = { class: "konnectio-event-addons-input" }, Tn = { class: "konnectio-event-addons-price" }, Bn = { class: "konnectio-event-addons-price" }, Ln = {
|
|
@@ -516,7 +516,7 @@ const jt = {
|
|
|
516
516
|
remark: s,
|
|
517
517
|
allergies: O,
|
|
518
518
|
arrivalTime: h,
|
|
519
|
-
hasEvents:
|
|
519
|
+
hasEvents: _,
|
|
520
520
|
hasTemplates: N,
|
|
521
521
|
getEvents: F,
|
|
522
522
|
getTemplates: D,
|
|
@@ -541,7 +541,7 @@ const jt = {
|
|
|
541
541
|
totalAddonPrice: je,
|
|
542
542
|
reset: We,
|
|
543
543
|
goBack: Ee
|
|
544
|
-
} = x(), { display: ge } =
|
|
544
|
+
} = x(), { display: ge } = we(), Ze = X(() => [
|
|
545
545
|
{
|
|
546
546
|
id: "availability",
|
|
547
547
|
label: n("booking.availability.title"),
|
|
@@ -571,7 +571,7 @@ const jt = {
|
|
|
571
571
|
const P = [];
|
|
572
572
|
return A.value && A.value.forEach((d) => {
|
|
573
573
|
P.find((B) => B.value === d.time) || P.push({
|
|
574
|
-
label:
|
|
574
|
+
label: _e(d.time),
|
|
575
575
|
value: d.time
|
|
576
576
|
});
|
|
577
577
|
}), P;
|
|
@@ -633,12 +633,12 @@ const jt = {
|
|
|
633
633
|
t("span", null, a(e(n)("event.availableNow")), 1)
|
|
634
634
|
])) : v("", !0),
|
|
635
635
|
t("ul", Dn, [
|
|
636
|
-
e(
|
|
636
|
+
e(_) && P.onlyShow !== "templates" ? (l(!0), c(I, { key: 0 }, Y(e(F), ({
|
|
637
637
|
id: V,
|
|
638
638
|
days: u,
|
|
639
639
|
name: L,
|
|
640
640
|
timeFrom: C,
|
|
641
|
-
timeTo:
|
|
641
|
+
timeTo: w,
|
|
642
642
|
fromDate: T,
|
|
643
643
|
toDate: G,
|
|
644
644
|
tableGroupId: z,
|
|
@@ -663,7 +663,7 @@ const jt = {
|
|
|
663
663
|
"to-date": G,
|
|
664
664
|
"max-online-reservation-limit": he || ye,
|
|
665
665
|
"time-from": C,
|
|
666
|
-
"time-to":
|
|
666
|
+
"time-to": w,
|
|
667
667
|
"sold-out": te,
|
|
668
668
|
"use-number-of-products-for-persons": De,
|
|
669
669
|
callback: B
|
|
@@ -673,7 +673,7 @@ const jt = {
|
|
|
673
673
|
name: u,
|
|
674
674
|
fromDate: L,
|
|
675
675
|
toDate: C,
|
|
676
|
-
minimumPersonCount:
|
|
676
|
+
minimumPersonCount: w,
|
|
677
677
|
fromPrice: T,
|
|
678
678
|
description: G,
|
|
679
679
|
imageUrl: z,
|
|
@@ -687,7 +687,7 @@ const jt = {
|
|
|
687
687
|
description: G,
|
|
688
688
|
"from-date": L,
|
|
689
689
|
"to-date": C,
|
|
690
|
-
"minimum-person-count":
|
|
690
|
+
"minimum-person-count": w,
|
|
691
691
|
fromPrice: T,
|
|
692
692
|
callback: B
|
|
693
693
|
}, null, 8, ["listing-id", "name", "image", "images", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128)) : v("", !0)
|
|
@@ -707,7 +707,7 @@ const jt = {
|
|
|
707
707
|
days: u,
|
|
708
708
|
name: L,
|
|
709
709
|
timeFrom: C,
|
|
710
|
-
timeTo:
|
|
710
|
+
timeTo: w,
|
|
711
711
|
fromDate: T,
|
|
712
712
|
toDate: G,
|
|
713
713
|
tableGroupId: z,
|
|
@@ -732,18 +732,18 @@ const jt = {
|
|
|
732
732
|
"to-date": G,
|
|
733
733
|
"max-online-reservation-limit": he || ye,
|
|
734
734
|
"time-from": C,
|
|
735
|
-
"time-to":
|
|
735
|
+
"time-to": w,
|
|
736
736
|
"sold-out": te,
|
|
737
737
|
"use-number-of-products-for-persons": De,
|
|
738
738
|
callback: B
|
|
739
739
|
}, 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))
|
|
740
740
|
])
|
|
741
741
|
], 64)) : v("", !0),
|
|
742
|
-
!e(
|
|
742
|
+
!e(_) && !e(N) || !e(_) && P.onlyShow === "events" || !e(N) && P.onlyShow === "templates" ? (l(), c("div", {
|
|
743
743
|
key: 2,
|
|
744
744
|
class: "konnectio-panel",
|
|
745
745
|
innerHTML: e(n)("event.nothingAvailable")
|
|
746
|
-
}, null, 8,
|
|
746
|
+
}, null, 8, _n)) : v("", !0)
|
|
747
747
|
])) : (l(), $(Se, { key: 1 }))
|
|
748
748
|
]),
|
|
749
749
|
_: 2
|
|
@@ -755,7 +755,7 @@ const jt = {
|
|
|
755
755
|
"prev-callback": () => e(Ee)(V)
|
|
756
756
|
}, {
|
|
757
757
|
form: m(() => [
|
|
758
|
-
t("form",
|
|
758
|
+
t("form", wn, [
|
|
759
759
|
t("h2", null, [
|
|
760
760
|
t("span", null, a(e(n)("event.selectProducts")), 1)
|
|
761
761
|
]),
|
|
@@ -764,9 +764,9 @@ const jt = {
|
|
|
764
764
|
roomGroupId: u,
|
|
765
765
|
addons: L,
|
|
766
766
|
adultPerRoom: C
|
|
767
|
-
},
|
|
767
|
+
}, w) => (l(), c("li", { key: u }, [
|
|
768
768
|
t("h5", null, [
|
|
769
|
-
t("span", null, a(e(n)("booking.reservation.room")) + " #" + a(
|
|
769
|
+
t("span", null, a(e(n)("booking.reservation.room")) + " #" + a(w + 1), 1),
|
|
770
770
|
d[7] || (d[7] = de(" (")),
|
|
771
771
|
p(ne, {
|
|
772
772
|
icon: "male",
|
|
@@ -803,19 +803,19 @@ const jt = {
|
|
|
803
803
|
t("td", Nn, [
|
|
804
804
|
G === 3 ? (l(), $(ue, {
|
|
805
805
|
key: 0,
|
|
806
|
-
modelValue: e(y)[`${u}.${T}.${
|
|
807
|
-
"onUpdate:modelValue": (H) => e(y)[`${u}.${T}.${
|
|
806
|
+
modelValue: e(y)[`${u}.${T}.${w}`],
|
|
807
|
+
"onUpdate:modelValue": (H) => e(y)[`${u}.${T}.${w}`] = H,
|
|
808
808
|
small: !0,
|
|
809
809
|
"min-value": 0
|
|
810
810
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (l(), $(It, {
|
|
811
811
|
key: 1,
|
|
812
|
-
modelValue: e(y)[`${u}.${T}.${
|
|
813
|
-
"onUpdate:modelValue": (H) => e(y)[`${u}.${T}.${
|
|
812
|
+
modelValue: e(y)[`${u}.${T}.${w}`],
|
|
813
|
+
"onUpdate:modelValue": (H) => e(y)[`${u}.${T}.${w}`] = H,
|
|
814
814
|
numeric: !0
|
|
815
815
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
816
816
|
]),
|
|
817
817
|
t("td", Tn, [
|
|
818
|
-
t("span", null, a(e(J)(e(Ye)(T, u,
|
|
818
|
+
t("span", null, a(e(J)(e(Ye)(T, u, w), e(ie))), 1)
|
|
819
819
|
])
|
|
820
820
|
]))), 128))
|
|
821
821
|
]),
|
|
@@ -825,7 +825,7 @@ const jt = {
|
|
|
825
825
|
d[11] || (d[11] = t("td", null, null, -1)),
|
|
826
826
|
t("td", Bn, [
|
|
827
827
|
t("u", null, [
|
|
828
|
-
t("span", null, a(e(J)(e(je)(u,
|
|
828
|
+
t("span", null, a(e(J)(e(je)(u, w), e(ie))), 1)
|
|
829
829
|
])
|
|
830
830
|
])
|
|
831
831
|
])
|
|
@@ -835,12 +835,12 @@ const jt = {
|
|
|
835
835
|
])) : v("", !0),
|
|
836
836
|
e(Z) ? (l(), c("table", Ln, [
|
|
837
837
|
t("tbody", null, [
|
|
838
|
-
(l(!0), c(I, null, Y(e(r).products, ({ id: u, name: L, price: C, description:
|
|
838
|
+
(l(!0), c(I, null, Y(e(r).products, ({ id: u, name: L, price: C, description: w }) => (l(), c("tr", { key: u }, [
|
|
839
839
|
t("td", Cn, [
|
|
840
840
|
t("b", null, [
|
|
841
841
|
t("span", null, a(e(Oe)(L)), 1)
|
|
842
842
|
]),
|
|
843
|
-
|
|
843
|
+
w && w !== L ? (l(), c("span", Fn, a(e(Oe)(w)), 1)) : v("", !0),
|
|
844
844
|
t("u", null, a(e(J)(C, e(ie))), 1)
|
|
845
845
|
]),
|
|
846
846
|
t("td", Sn, [
|
|
@@ -976,8 +976,8 @@ const jt = {
|
|
|
976
976
|
_: 1
|
|
977
977
|
}, 8, ["styling"]));
|
|
978
978
|
}
|
|
979
|
-
}), Ce = /* @__PURE__ */ ee(In, [["__scopeId", "data-v-206f5d07"]]), Rn = ot(), Mn = rt();
|
|
980
|
-
class
|
|
979
|
+
}), Ce = /* @__PURE__ */ ee(In, [["__scopeId", "data-v-206f5d07"]]), Rn = ot(), Mn = rt, Un = Mn();
|
|
980
|
+
class Gn extends HTMLElement {
|
|
981
981
|
vueApp;
|
|
982
982
|
constructor() {
|
|
983
983
|
super();
|
|
@@ -987,13 +987,13 @@ class Un extends HTMLElement {
|
|
|
987
987
|
}
|
|
988
988
|
connectedCallback() {
|
|
989
989
|
const o = lt(Ce, this.attributes);
|
|
990
|
-
this.vueApp = st(Ce, o), this.vueApp.provide("emitter",
|
|
990
|
+
this.vueApp = st(Ce, o), this.vueApp.provide("emitter", Un), this.vueApp.use(it), this.vueApp.use(Rn), this.vueApp.use(Tt), this.vueApp.use(Dt), this.vueApp.use(Bt), this.vueApp.use(ht, { bootstrap: !0 });
|
|
991
991
|
const n = document.createElement("div");
|
|
992
992
|
this.vueApp.mount(n), this.appendChild(n.children[0]);
|
|
993
993
|
}
|
|
994
994
|
}
|
|
995
|
-
window.customElements.define("konnectio-event",
|
|
995
|
+
window.customElements.define("konnectio-event", Gn);
|
|
996
996
|
export {
|
|
997
|
-
|
|
997
|
+
Gn as default
|
|
998
998
|
};
|
|
999
999
|
//# sourceMappingURL=event.js.map
|
package/dist/event.js.br
CHANGED
|
Binary file
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import { _ as
|
|
3
|
-
import { u as z } from "./giftCard-
|
|
4
|
-
import { _ as J } from "./_.vue_vue_type_style_index_0_lang-
|
|
5
|
-
import { A as K } from "./ActionField-
|
|
6
|
-
import { E as g } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-
|
|
7
|
-
import { F as y } from "./Field-
|
|
8
|
-
import { E as Q } from "./ErrorMessage-
|
|
9
|
-
import { G as Y } from "./style-
|
|
10
|
-
const Z = { class: "gift-card-validation-skeleton" }, tt = { class: "gift-card-validation-skeleton-form" }, et = { class: "gift-card-validation-skeleton-text" }, at = { class: "gift-card-validation-skeleton-input" }, nt = /* @__PURE__ */
|
|
1
|
+
import { d as A, a as s, g as v, e as t, f as a, c as T, u as $, s as k, b as m, w as p, S as B, i as e, t as i, A as b, j as I, h as D, k as N, l as U, m as F, p as H, _ as R } from "./mitt-CFrRmK9k.js";
|
|
2
|
+
import { _ as x, y as C, h as j, I as h, o as O, s as W, C as q } from "./SelectField.vue_vue_type_style_index_0_lang-eQJ88XWq.js";
|
|
3
|
+
import { u as z } from "./giftCard-pa0AL3wA.js";
|
|
4
|
+
import { _ as J } from "./_.vue_vue_type_style_index_0_lang-alJEghYY.js";
|
|
5
|
+
import { A as K } from "./ActionField-C1dgcOKP.js";
|
|
6
|
+
import { E as g } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DF8uAZlm.js";
|
|
7
|
+
import { F as y } from "./Field-BLzufPEA.js";
|
|
8
|
+
import { E as Q } from "./ErrorMessage-BzDrnE0F.js";
|
|
9
|
+
import { G as Y } from "./style-CLWqMWeG.js";
|
|
10
|
+
const Z = { class: "gift-card-validation-skeleton" }, tt = { class: "gift-card-validation-skeleton-form" }, et = { class: "gift-card-validation-skeleton-text" }, at = { class: "gift-card-validation-skeleton-input" }, nt = /* @__PURE__ */ A({
|
|
11
11
|
__name: "GiftCardValidationSkeleton",
|
|
12
12
|
setup(u) {
|
|
13
13
|
return (d, l) => (s(), v("div", Z, [
|
|
@@ -24,11 +24,11 @@ const Z = { class: "gift-card-validation-skeleton" }, tt = { class: "gift-card-v
|
|
|
24
24
|
])
|
|
25
25
|
]));
|
|
26
26
|
}
|
|
27
|
-
}), ot = /* @__PURE__ */
|
|
27
|
+
}), ot = /* @__PURE__ */ x(nt, [["__scopeId", "data-v-b1601b74"]]), it = ["innerHTML"], st = {
|
|
28
28
|
key: 0,
|
|
29
29
|
id: "konnectio-gift-card-validation-resume",
|
|
30
30
|
class: "konnectio-panel"
|
|
31
|
-
}, lt = /* @__PURE__ */
|
|
31
|
+
}, lt = /* @__PURE__ */ A({
|
|
32
32
|
name: "GiftCardValidationLayout",
|
|
33
33
|
__name: "GiftCardValidation",
|
|
34
34
|
props: {
|
|
@@ -36,10 +36,10 @@ const Z = { class: "gift-card-validation-skeleton" }, tt = { class: "gift-card-v
|
|
|
36
36
|
styling: {}
|
|
37
37
|
},
|
|
38
38
|
setup(u) {
|
|
39
|
-
const d = u, l =
|
|
39
|
+
const d = u, l = T(() => ({
|
|
40
40
|
panelMaxWidth: "800px",
|
|
41
41
|
...d.styling
|
|
42
|
-
})), { t: o } =
|
|
42
|
+
})), { t: o } = $(), {
|
|
43
43
|
voucher: f,
|
|
44
44
|
isValid: G,
|
|
45
45
|
amount: E,
|
|
@@ -47,12 +47,12 @@ const Z = { class: "gift-card-validation-skeleton" }, tt = { class: "gift-card-v
|
|
|
47
47
|
productName: w,
|
|
48
48
|
isLoading: c
|
|
49
49
|
} = k(C()), { currency: L, hasError: M } = k(j()), { fetchMetadata: X } = z(), { apply: _ } = C();
|
|
50
|
-
return (
|
|
50
|
+
return (P, n) => (s(), m(q, { styling: l.value }, {
|
|
51
51
|
default: p(() => [
|
|
52
|
-
(s(), m(
|
|
52
|
+
(s(), m(B, null, {
|
|
53
53
|
default: p(() => [
|
|
54
54
|
a(J, {
|
|
55
|
-
"access-token":
|
|
55
|
+
"access-token": P.accessToken,
|
|
56
56
|
callback: e(X)
|
|
57
57
|
}, {
|
|
58
58
|
default: p(() => [
|
|
@@ -117,10 +117,10 @@ const Z = { class: "gift-card-validation-skeleton" }, tt = { class: "gift-card-v
|
|
|
117
117
|
t("span", null, i(e(w)), 1)
|
|
118
118
|
]),
|
|
119
119
|
t("td", null, [
|
|
120
|
-
t("span", null, i(e(
|
|
120
|
+
t("span", null, i(e(O)(e(E), e(L))), 1)
|
|
121
121
|
]),
|
|
122
122
|
t("td", null, [
|
|
123
|
-
t("span", null, i(e(
|
|
123
|
+
t("span", null, i(e(W)(e(S))), 1)
|
|
124
124
|
])
|
|
125
125
|
])
|
|
126
126
|
])
|
|
@@ -139,8 +139,8 @@ const Z = { class: "gift-card-validation-skeleton" }, tt = { class: "gift-card-v
|
|
|
139
139
|
_: 1
|
|
140
140
|
}, 8, ["styling"]));
|
|
141
141
|
}
|
|
142
|
-
}), V = /* @__PURE__ */
|
|
143
|
-
class
|
|
142
|
+
}), V = /* @__PURE__ */ x(lt, [["__scopeId", "data-v-ca768ef6"]]), rt = N(), dt = R, ct = dt();
|
|
143
|
+
class pt extends HTMLElement {
|
|
144
144
|
vueApp;
|
|
145
145
|
constructor() {
|
|
146
146
|
super();
|
|
@@ -150,13 +150,13 @@ class ct extends HTMLElement {
|
|
|
150
150
|
}
|
|
151
151
|
connectedCallback() {
|
|
152
152
|
const d = U(V, this.attributes);
|
|
153
|
-
this.vueApp = F(V, d), this.vueApp.provide("emitter",
|
|
153
|
+
this.vueApp = F(V, d), this.vueApp.provide("emitter", ct), this.vueApp.use(rt), this.vueApp.use(H), this.vueApp.use(Y);
|
|
154
154
|
const l = document.createElement("div");
|
|
155
155
|
this.vueApp.mount(l), this.appendChild(l.children[0]);
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
|
-
window.customElements.define("konnectio-gift-card-validation",
|
|
158
|
+
window.customElements.define("konnectio-gift-card-validation", pt);
|
|
159
159
|
export {
|
|
160
|
-
|
|
160
|
+
pt as default
|
|
161
161
|
};
|
|
162
162
|
//# sourceMappingURL=gift-card-validation.js.map
|
|
Binary file
|