@konnectio/core 4.0.56-rc41 → 4.0.56-rc43
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-B7yd3wqo.js → ActionField-BTLE7221.js} +3 -3
- package/dist/ActionField-BTLE7221.js.br +0 -0
- package/dist/{AvailabilitySkeleton-BFkO-iFk.js → AvailabilitySkeleton-UZAEresr.js} +19 -19
- package/dist/AvailabilitySkeleton-UZAEresr.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CvsxXVBB.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-kgtV8m-S.js} +4 -4
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-kgtV8m-S.js.br +0 -0
- package/dist/{CheckoutWindow-DXpTb3IM.js → CheckoutWindow-Clz85IBZ.js} +14 -14
- package/dist/CheckoutWindow-Clz85IBZ.js.br +0 -0
- package/dist/{ErrorMessage-DURaj0JK.js → ErrorMessage-VTSFzaD9.js} +3 -3
- package/dist/ErrorMessage-VTSFzaD9.js.br +0 -0
- package/dist/{EventAvailabilityForm-EdvNJO4b.js → EventAvailabilityForm-QZ9tm4bJ.js} +43 -43
- package/dist/EventAvailabilityForm-QZ9tm4bJ.js.br +0 -0
- package/dist/{Field-C31DtxD3.js → Field-BUCiT-zy.js} +3 -3
- package/dist/Field-BUCiT-zy.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DCFBIwBo.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Dw6yVZCV.js} +8953 -8805
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Dw6yVZCV.js.br +0 -0
- package/dist/TermsOfService-EoTv7bpV.js +35 -0
- package/dist/TermsOfService-EoTv7bpV.js.br +0 -0
- package/dist/_-eb9CY61s.js +12 -0
- package/dist/_.vue_vue_type_style_index_0_lang-BbZ0cU3f.js +71 -0
- package/dist/_.vue_vue_type_style_index_0_lang-BbZ0cU3f.js.br +0 -0
- package/dist/_commonjsHelpers-BnQF6Gki.js +9543 -0
- package/dist/_commonjsHelpers-BnQF6Gki.js.br +0 -0
- package/dist/availability.js +29 -28
- package/dist/availability.js.br +0 -0
- package/dist/event.js +42 -41
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +24 -23
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +29 -28
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-CTOcXgxl.js → giftCard-BK0GfT2z.js} +15 -15
- package/dist/giftCard-BK0GfT2z.js.br +0 -0
- package/dist/hotel.js +1249 -1177
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-w0LZcwZT.js → masonry.plugin-CiwMY-Gy.js} +20 -20
- package/dist/masonry.plugin-CiwMY-Gy.js.br +0 -0
- package/dist/navigation.js +4 -4
- package/dist/polyfill.js +5575 -5378
- package/dist/polyfill.js.br +0 -0
- package/dist/sentry-6-6DYT4Z.js +18 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/tracing-wnoA9-xG.js +2287 -0
- package/dist/tracing-wnoA9-xG.js.br +0 -0
- package/package.json +15 -15
- package/dist/ActionField-B7yd3wqo.js.br +0 -0
- package/dist/AvailabilitySkeleton-BFkO-iFk.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CvsxXVBB.js.br +0 -0
- package/dist/CheckoutWindow-DXpTb3IM.js.br +0 -0
- package/dist/ErrorMessage-DURaj0JK.js.br +0 -0
- package/dist/EventAvailabilityForm-EdvNJO4b.js.br +0 -0
- package/dist/Field-C31DtxD3.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DCFBIwBo.js.br +0 -0
- package/dist/TermsOfService-RMTyUzQE.js +0 -35
- package/dist/TermsOfService-RMTyUzQE.js.br +0 -0
- package/dist/_-C4rdBIG5.js +0 -12
- package/dist/_.vue_vue_type_style_index_0_lang-DxTbCVt9.js +0 -71
- package/dist/_.vue_vue_type_style_index_0_lang-DxTbCVt9.js.br +0 -0
- package/dist/_commonjsHelpers-BpcYSDvQ.js +0 -11797
- package/dist/_commonjsHelpers-BpcYSDvQ.js.br +0 -0
- package/dist/giftCard-CTOcXgxl.js.br +0 -0
- package/dist/masonry.plugin-w0LZcwZT.js.br +0 -0
|
Binary file
|
package/dist/availability.js
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { d as C, r as E, c as k, h as I, o as u, b as v, w as m, S, g as
|
|
2
|
-
import { h as F, m as H, n as P, _ as V, o as $, p as j, q as O
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { E as
|
|
1
|
+
import { d as C, r as E, c as k, h as I, o as u, b as v, w as m, S, g as a, f as b, a as T, n as g, i as L, t as _, u as h, F as M, e as w, T as N, p as B, j as D, k as z } from "./_commonjsHelpers-BnQF6Gki.js";
|
|
2
|
+
import { h as F, m as H, n as P, _ as V, o as $, p as j, q as O } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Dw6yVZCV.js";
|
|
3
|
+
import { c as U } from "./sentry-6-6DYT4Z.js";
|
|
4
|
+
import { _ as Z } from "./_.vue_vue_type_style_index_0_lang-BbZ0cU3f.js";
|
|
5
|
+
import { H as q, A as K } from "./AvailabilitySkeleton-UZAEresr.js";
|
|
6
|
+
import { E as G } from "./EventAvailabilityForm-QZ9tm4bJ.js";
|
|
7
|
+
import { E as J } from "./ErrorMessage-VTSFzaD9.js";
|
|
7
8
|
import "./navigation.js";
|
|
8
9
|
(function() {
|
|
9
10
|
try {
|
|
10
|
-
var
|
|
11
|
-
i && (
|
|
11
|
+
var n = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, i = new Error().stack;
|
|
12
|
+
i && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[i] = "92a10b5c-f466-4390-b303-39a85c54a9aa", n._sentryDebugIdIdentifier = "sentry-dbid-92a10b5c-f466-4390-b303-39a85c54a9aa");
|
|
12
13
|
} catch {
|
|
13
14
|
}
|
|
14
15
|
})();
|
|
15
|
-
const Q = (
|
|
16
|
+
const Q = (n) => (B("data-v-cfc258d3"), n = n(), D(), n), R = { class: "konnectio-availability-module" }, W = { class: "konnectio-availability-navigation" }, X = /* @__PURE__ */ Q(() => /* @__PURE__ */ a("div", { class: "konnectio-availability-divider" }, null, -1)), Y = { class: "konnectio-availability-search-form" }, x = /* @__PURE__ */ C({
|
|
16
17
|
name: "AvailabilityLayout",
|
|
17
18
|
__name: "Availability",
|
|
18
19
|
props: {
|
|
@@ -23,45 +24,45 @@ const Q = (a) => (B("data-v-cfc258d3"), a = a(), D(), a), R = { class: "konnecti
|
|
|
23
24
|
hotelLocation: {},
|
|
24
25
|
styling: {}
|
|
25
26
|
},
|
|
26
|
-
setup(
|
|
27
|
-
const { t: i } = F(), { fetchMetadata: c } = H(), s =
|
|
27
|
+
setup(n) {
|
|
28
|
+
const { t: i } = F(), { fetchMetadata: c } = H(), s = n, l = E(), f = k(() => !!s.hotelLink || !!s.eventLink), r = k(() => !!s.hotelLink && !!s.eventLink), d = k(() => l.value === "hotel"), t = k(() => l.value === "event"), o = (e) => l.value = e;
|
|
28
29
|
return I(() => {
|
|
29
30
|
!s.hotelLink && s.eventLink ? l.value = "event" : l.value = "hotel";
|
|
30
31
|
}), (e, p) => (u(), v(P, { styling: e.styling }, {
|
|
31
32
|
default: m(() => [
|
|
32
33
|
f.value ? (u(), v(S, { key: 0 }, {
|
|
33
34
|
default: m(() => [
|
|
34
|
-
|
|
35
|
+
a("div", null, [
|
|
35
36
|
b(Z, {
|
|
36
37
|
"access-token": e.accessToken,
|
|
37
38
|
onMetadata: p[2] || (p[2] = (A) => h(c)())
|
|
38
39
|
}, {
|
|
39
40
|
default: m(() => [
|
|
40
|
-
|
|
41
|
+
a("div", R, [
|
|
41
42
|
r.value ? (u(), T(M, { key: 0 }, [
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
a("nav", W, [
|
|
44
|
+
a("ul", null, [
|
|
45
|
+
a("li", null, [
|
|
46
|
+
a("button", {
|
|
46
47
|
class: g({ active: d.value }),
|
|
47
48
|
onClick: p[0] || (p[0] = L((A) => o("hotel"), ["prevent"]))
|
|
48
49
|
}, [
|
|
49
|
-
|
|
50
|
+
a("span", null, _(h(i)("availability.hotel")), 1)
|
|
50
51
|
], 2)
|
|
51
52
|
]),
|
|
52
|
-
|
|
53
|
-
|
|
53
|
+
a("li", null, [
|
|
54
|
+
a("button", {
|
|
54
55
|
class: g({ active: t.value }),
|
|
55
56
|
onClick: p[1] || (p[1] = L((A) => o("event"), ["prevent"]))
|
|
56
57
|
}, [
|
|
57
|
-
|
|
58
|
+
a("span", null, _(h(i)("availability.events")), 1)
|
|
58
59
|
], 2)
|
|
59
60
|
])
|
|
60
61
|
])
|
|
61
62
|
]),
|
|
62
63
|
X
|
|
63
64
|
], 64)) : w("", !0),
|
|
64
|
-
|
|
65
|
+
a("div", Y, [
|
|
65
66
|
b(N, {
|
|
66
67
|
name: "fade",
|
|
67
68
|
mode: "out-in",
|
|
@@ -88,7 +89,7 @@ const Q = (a) => (B("data-v-cfc258d3"), a = a(), D(), a), R = { class: "konnecti
|
|
|
88
89
|
])
|
|
89
90
|
]),
|
|
90
91
|
fallback: m(() => [
|
|
91
|
-
|
|
92
|
+
a("div", null, [
|
|
92
93
|
b(K, {
|
|
93
94
|
view: r.value ? "both" : l.value
|
|
94
95
|
}, null, 8, ["view"])
|
|
@@ -105,8 +106,8 @@ const Q = (a) => (B("data-v-cfc258d3"), a = a(), D(), a), R = { class: "konnecti
|
|
|
105
106
|
_: 1
|
|
106
107
|
}, 8, ["styling"]));
|
|
107
108
|
}
|
|
108
|
-
}), y = /* @__PURE__ */ V(x, [["__scopeId", "data-v-cfc258d3"]]), ee = $(), te =
|
|
109
|
-
class
|
|
109
|
+
}), y = /* @__PURE__ */ V(x, [["__scopeId", "data-v-cfc258d3"]]), ee = $(), te = O();
|
|
110
|
+
class ae extends HTMLElement {
|
|
110
111
|
vueApp;
|
|
111
112
|
constructor() {
|
|
112
113
|
super();
|
|
@@ -128,13 +129,13 @@ class ne extends HTMLElement {
|
|
|
128
129
|
let o = this.attributes.getNamedItem(t)?.value;
|
|
129
130
|
r.hasOwnProperty(t) && (o = r[t]), f[t] = o;
|
|
130
131
|
}
|
|
131
|
-
this.vueApp = z(y, f),
|
|
132
|
+
this.vueApp = z(y, f), U(this.vueApp), this.vueApp.provide("emitter", te), this.vueApp.use(j), this.vueApp.use(ee);
|
|
132
133
|
const d = document.createElement("div");
|
|
133
134
|
this.vueApp.mount(d), this.appendChild(d.children[0]);
|
|
134
135
|
}
|
|
135
136
|
}
|
|
136
|
-
window.customElements.define("konnectio-availability",
|
|
137
|
+
window.customElements.define("konnectio-availability", ae);
|
|
137
138
|
export {
|
|
138
|
-
|
|
139
|
+
ae as default
|
|
139
140
|
};
|
|
140
141
|
//# sourceMappingURL=availability.js.map
|
package/dist/availability.js.br
CHANGED
|
Binary file
|
package/dist/event.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { d as Y, r as Me, c as le, o as a, b as T, w as p, v as ne, u as e, g as t, f, a as m, e as h, t as o, B as Re, C as Ue, A as z, F as B, x as M, h as Fe, q as qe, S as ze, D as ge, i as he, p as Ge, j as He, k as je } from "./_commonjsHelpers-
|
|
2
|
-
import { h as ae, a as Ye, s as H,
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { a as
|
|
1
|
+
import { d as Y, r as Me, c as le, o as a, b as T, w as p, v as ne, u as e, g as t, f, a as m, e as h, t as o, B as Re, C as Ue, A as z, F as B, x as M, h as Fe, q as qe, S as ze, D as ge, i as he, p as Ge, j as He, k as je } from "./_commonjsHelpers-BnQF6Gki.js";
|
|
2
|
+
import { h as ae, a as Ye, s as H, H as Ze, l as oe, C as me, J as Je, _ as se, j as Ve, z as pe, K as Ke, b as De, B as ke, M as ve, A as R, m as Qe, O as ye, N as We, T as ce, n as Xe, o as xe, p as et, F as tt, q as nt } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Dw6yVZCV.js";
|
|
3
|
+
import { c as ot } from "./sentry-6-6DYT4Z.js";
|
|
4
|
+
import { B as lt, R as at, L as Pe, S as st, M as it, C as rt, T as ut, V as ct, G as dt } from "./masonry.plugin-CiwMY-Gy.js";
|
|
5
|
+
import { u as j, E as mt } from "./EventAvailabilityForm-QZ9tm4bJ.js";
|
|
6
|
+
import { _ as pt } from "./_.vue_vue_type_style_index_0_lang-BbZ0cU3f.js";
|
|
7
|
+
import { t as G, e as vt, g as _e, m as $e, a as we, b as Ee, c as ft, d as Te } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-kgtV8m-S.js";
|
|
8
|
+
import { a as bt, P as gt, C as ht } from "./CheckoutWindow-Clz85IBZ.js";
|
|
8
9
|
import "./navigation.js";
|
|
9
10
|
(function() {
|
|
10
11
|
try {
|
|
11
12
|
var c = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
|
|
12
|
-
n && (c._sentryDebugIds = c._sentryDebugIds || {}, c._sentryDebugIds[n] = "
|
|
13
|
+
n && (c._sentryDebugIds = c._sentryDebugIds || {}, c._sentryDebugIds[n] = "005bf77f-8b07-4fcd-b8de-8a1123f5a259", c._sentryDebugIdIdentifier = "sentry-dbid-005bf77f-8b07-4fcd-b8de-8a1123f5a259");
|
|
13
14
|
} catch {
|
|
14
15
|
}
|
|
15
16
|
})();
|
|
@@ -33,9 +34,9 @@ function _t(c, n, i) {
|
|
|
33
34
|
});
|
|
34
35
|
let $, u;
|
|
35
36
|
_ > 0 ? ($ = G(n), u = G(c)) : ($ = G(c), u = G(n));
|
|
36
|
-
const v = yt(i?.roundingMethod ?? "round"), k = u.getTime() - $.getTime(), y = k / Te, C = _e(u) - _e($),
|
|
37
|
+
const v = yt(i?.roundingMethod ?? "round"), k = u.getTime() - $.getTime(), y = k / Te, C = _e(u) - _e($), D = (k - C) / Te, P = i?.unit;
|
|
37
38
|
let s;
|
|
38
|
-
if (P ? s = P : y < 1 ? s = "second" : y < 60 ? s = "minute" : y < $e ? s = "hour" :
|
|
39
|
+
if (P ? s = P : y < 1 ? s = "second" : y < 60 ? s = "minute" : y < $e ? s = "hour" : D < we ? s = "day" : D < Ee ? s = "month" : s = "year", s === "second") {
|
|
39
40
|
const g = v(k / 1e3);
|
|
40
41
|
return l.formatDistance("xSeconds", g, b);
|
|
41
42
|
} else if (s === "minute") {
|
|
@@ -45,13 +46,13 @@ function _t(c, n, i) {
|
|
|
45
46
|
const g = v(y / 60);
|
|
46
47
|
return l.formatDistance("xHours", g, b);
|
|
47
48
|
} else if (s === "day") {
|
|
48
|
-
const g = v(
|
|
49
|
+
const g = v(D / $e);
|
|
49
50
|
return l.formatDistance("xDays", g, b);
|
|
50
51
|
} else if (s === "month") {
|
|
51
|
-
const g = v(
|
|
52
|
+
const g = v(D / we);
|
|
52
53
|
return g === 12 && P !== "month" ? l.formatDistance("xYears", 1, b) : l.formatDistance("xMonths", g, b);
|
|
53
54
|
} else {
|
|
54
|
-
const g = v(
|
|
55
|
+
const g = v(D / Ee);
|
|
55
56
|
return l.formatDistance("xYears", g, b);
|
|
56
57
|
}
|
|
57
58
|
}
|
|
@@ -87,7 +88,7 @@ const $t = { class: "konnectio-event-listing-action" }, wt = { class: "konnectio
|
|
|
87
88
|
getTemplateAvailability: u,
|
|
88
89
|
getEventAvailability: v,
|
|
89
90
|
isEventListingLoading: k
|
|
90
|
-
} = j(), y = Me(0), C = le(() => k(i.listingId)),
|
|
91
|
+
} = j(), y = Me(0), C = le(() => k(i.listingId)), D = () => {
|
|
91
92
|
y.value > 0 ? (b.value = i.listingId, _.value = y.value, u(i.callback)) : d({
|
|
92
93
|
type: "error",
|
|
93
94
|
message: n("alert.error.selectPeople")
|
|
@@ -128,7 +129,7 @@ const $t = { class: "konnectio-event-listing-action" }, wt = { class: "konnectio
|
|
|
128
129
|
label: s.soldOut ? e(n)("event.soldOut") : e(n)("event.bookNowButton"),
|
|
129
130
|
disabled: s.soldOut,
|
|
130
131
|
"is-loading": C.value,
|
|
131
|
-
onClickEvent: g[1] || (g[1] = (O) => s.type === "event" ? P() :
|
|
132
|
+
onClickEvent: g[1] || (g[1] = (O) => s.type === "event" ? P() : D())
|
|
132
133
|
}, null, 8, ["label", "disabled", "is-loading"])
|
|
133
134
|
])
|
|
134
135
|
])
|
|
@@ -136,8 +137,8 @@ const $t = { class: "konnectio-event-listing-action" }, wt = { class: "konnectio
|
|
|
136
137
|
_: 3
|
|
137
138
|
}, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout"]));
|
|
138
139
|
}
|
|
139
|
-
}), Ae = /* @__PURE__ */ se(Et, [["__scopeId", "data-v-65571246"]]), Tt = ["innerHTML"],
|
|
140
|
-
const
|
|
140
|
+
}), Ae = /* @__PURE__ */ se(Et, [["__scopeId", "data-v-65571246"]]), Tt = ["innerHTML"], Vt = { class: "konnectio-event-listing-information-new" };
|
|
141
|
+
const Dt = { class: "konnectio-pill-button" }, Pt = { class: "konnectio-pill-button" }, At = /* @__PURE__ */ Y({
|
|
141
142
|
__name: "Event",
|
|
142
143
|
props: {
|
|
143
144
|
name: {},
|
|
@@ -181,11 +182,11 @@ const Vt = { class: "konnectio-pill-button" }, Pt = { class: "konnectio-pill-but
|
|
|
181
182
|
description: p(() => [
|
|
182
183
|
l.description ? (a(), m("p", {
|
|
183
184
|
key: 0,
|
|
184
|
-
innerHTML: e(
|
|
185
|
+
innerHTML: e(Ve)(l.description)
|
|
185
186
|
}, null, 8, Tt)) : h("", !0),
|
|
186
|
-
t("ul",
|
|
187
|
+
t("ul", Vt, [
|
|
187
188
|
h("", !0),
|
|
188
|
-
t("li",
|
|
189
|
+
t("li", Dt, [
|
|
189
190
|
t("div", null, [
|
|
190
191
|
f(pe, {
|
|
191
192
|
icon: "calendar-clock",
|
|
@@ -249,7 +250,7 @@ const Vt = { class: "konnectio-pill-button" }, Pt = { class: "konnectio-pill-but
|
|
|
249
250
|
description: p(() => [
|
|
250
251
|
d.description ? (a(), m("p", {
|
|
251
252
|
key: 0,
|
|
252
|
-
innerHTML: e(
|
|
253
|
+
innerHTML: e(Ve)(d.description)
|
|
253
254
|
}, null, 8, Ot)) : h("", !0)
|
|
254
255
|
]),
|
|
255
256
|
_: 1
|
|
@@ -273,12 +274,12 @@ const Vt = { class: "konnectio-pill-button" }, Pt = { class: "konnectio-pill-but
|
|
|
273
274
|
fromDate: k,
|
|
274
275
|
tableBasePrice: y,
|
|
275
276
|
getTemplateData: C,
|
|
276
|
-
basePrice:
|
|
277
|
+
basePrice: D,
|
|
277
278
|
totalPrice: P,
|
|
278
279
|
weekendFee: s,
|
|
279
280
|
roomUpgrade: g,
|
|
280
281
|
discountCode: O
|
|
281
|
-
} = H(j()), { totalAddonPrice: W, validateDiscountCode: ie } = j(), { currency: X } = H(
|
|
282
|
+
} = H(j()), { totalAddonPrice: W, validateDiscountCode: ie } = j(), { currency: X } = H(De());
|
|
282
283
|
return (S, x) => (a(), T(at, {
|
|
283
284
|
"discount-code": e(O),
|
|
284
285
|
"onUpdate:discountCode": x[0] || (x[0] = (F) => M(O) ? O.value = F : null),
|
|
@@ -286,7 +287,7 @@ const Vt = { class: "konnectio-pill-button" }, Pt = { class: "konnectio-pill-but
|
|
|
286
287
|
"show-gift-card": S.showGiftCard,
|
|
287
288
|
"show-terms-notice": S.showTermsNotice,
|
|
288
289
|
"is-sidebar-loading": !e(d),
|
|
289
|
-
"base-price": e(
|
|
290
|
+
"base-price": e(D),
|
|
290
291
|
"total-price": e(P),
|
|
291
292
|
"weekend-fee": e(s),
|
|
292
293
|
"room-upgrade": e(g),
|
|
@@ -392,7 +393,7 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
392
393
|
hasEvents: k,
|
|
393
394
|
hasTemplates: y,
|
|
394
395
|
getEvents: C,
|
|
395
|
-
getTemplates:
|
|
396
|
+
getTemplates: D,
|
|
396
397
|
getEventData: P,
|
|
397
398
|
getTemplateData: s,
|
|
398
399
|
getEventTableData: g,
|
|
@@ -410,7 +411,7 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
410
411
|
localAddonPrice: fe,
|
|
411
412
|
totalAddonPrice: Se,
|
|
412
413
|
reset: be
|
|
413
|
-
} = j(), { currency: Z } = H(
|
|
414
|
+
} = j(), { currency: Z } = H(De()), Le = le(() => {
|
|
414
415
|
const L = [];
|
|
415
416
|
return g.value && g.value.forEach((w) => {
|
|
416
417
|
L.push({
|
|
@@ -445,7 +446,7 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
445
446
|
name: I,
|
|
446
447
|
timeFrom: N,
|
|
447
448
|
timeTo: E,
|
|
448
|
-
fromDate:
|
|
449
|
+
fromDate: V,
|
|
449
450
|
toDate: J,
|
|
450
451
|
tableGroupId: K,
|
|
451
452
|
description: re,
|
|
@@ -463,7 +464,7 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
463
464
|
length: Q,
|
|
464
465
|
gallery: Ie,
|
|
465
466
|
days: r,
|
|
466
|
-
"from-date":
|
|
467
|
+
"from-date": V,
|
|
467
468
|
"to-date": J,
|
|
468
469
|
"max-online-reservation-limit": Ne,
|
|
469
470
|
"time-from": N,
|
|
@@ -476,13 +477,13 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
476
477
|
e(y) && L.onlyShow !== "events" ? (a(), m(B, { key: 1 }, [
|
|
477
478
|
h("", !0),
|
|
478
479
|
t("ul", Zt, [
|
|
479
|
-
(a(!0), m(B, null, z(e(
|
|
480
|
+
(a(!0), m(B, null, z(e(D), ({
|
|
480
481
|
id: A,
|
|
481
482
|
name: r,
|
|
482
483
|
fromDate: I,
|
|
483
484
|
toDate: N,
|
|
484
485
|
minimumPersonCount: E,
|
|
485
|
-
fromPrice:
|
|
486
|
+
fromPrice: V,
|
|
486
487
|
description: J,
|
|
487
488
|
imageUrl: K
|
|
488
489
|
}) => (a(), T(Bt, {
|
|
@@ -494,7 +495,7 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
494
495
|
"from-date": I,
|
|
495
496
|
"to-date": N,
|
|
496
497
|
"minimum-person-count": E,
|
|
497
|
-
fromPrice:
|
|
498
|
+
fromPrice: V,
|
|
498
499
|
callback: q
|
|
499
500
|
}, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
|
|
500
501
|
])
|
|
@@ -549,12 +550,12 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
549
550
|
]),
|
|
550
551
|
t("tbody", null, [
|
|
551
552
|
(a(!0), m(B, null, z(I, ({
|
|
552
|
-
id:
|
|
553
|
+
id: V,
|
|
553
554
|
cardinality: J,
|
|
554
555
|
name: K,
|
|
555
556
|
price: re,
|
|
556
557
|
quantityStrategy: ue
|
|
557
|
-
}) => (a(), m("tr", { key:
|
|
558
|
+
}) => (a(), m("tr", { key: V }, [
|
|
558
559
|
t("td", null, [
|
|
559
560
|
t("b", null, o(K), 1),
|
|
560
561
|
xt,
|
|
@@ -563,19 +564,19 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
563
564
|
t("td", en, [
|
|
564
565
|
J === 3 ? (a(), T(oe, {
|
|
565
566
|
key: 0,
|
|
566
|
-
modelValue: e(i)[`${r}.${
|
|
567
|
-
"onUpdate:modelValue": (Q) => e(i)[`${r}.${
|
|
567
|
+
modelValue: e(i)[`${r}.${V}.${E}`],
|
|
568
|
+
"onUpdate:modelValue": (Q) => e(i)[`${r}.${V}.${E}`] = Q,
|
|
568
569
|
small: !0,
|
|
569
570
|
"min-value": 0
|
|
570
571
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), T(bt, {
|
|
571
572
|
key: 1,
|
|
572
|
-
modelValue: e(i)[`${r}.${
|
|
573
|
-
"onUpdate:modelValue": (Q) => e(i)[`${r}.${
|
|
573
|
+
modelValue: e(i)[`${r}.${V}.${E}`],
|
|
574
|
+
"onUpdate:modelValue": (Q) => e(i)[`${r}.${V}.${E}`] = Q,
|
|
574
575
|
numeric: !0
|
|
575
576
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
576
577
|
]),
|
|
577
578
|
t("td", tn, [
|
|
578
|
-
t("span", null, o(e(R)(e(fe)(
|
|
579
|
+
t("span", null, o(e(R)(e(fe)(V, r, E), e(Z))), 1)
|
|
579
580
|
])
|
|
580
581
|
]))), 128))
|
|
581
582
|
]),
|
|
@@ -634,7 +635,7 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
634
635
|
t("td", vn, [
|
|
635
636
|
f(oe, {
|
|
636
637
|
modelValue: e(d)[r],
|
|
637
|
-
"onUpdate:modelValue": (
|
|
638
|
+
"onUpdate:modelValue": (V) => e(d)[r] = V,
|
|
638
639
|
small: !0,
|
|
639
640
|
"min-value": 0
|
|
640
641
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -752,7 +753,7 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
|
|
|
752
753
|
_: 1
|
|
753
754
|
}, 8, ["styling"]));
|
|
754
755
|
}
|
|
755
|
-
}), te = /* @__PURE__ */ se(kn, [["__scopeId", "data-v-af6f09ee"]]), yn = xe(), _n =
|
|
756
|
+
}), te = /* @__PURE__ */ se(kn, [["__scopeId", "data-v-af6f09ee"]]), yn = xe(), _n = nt();
|
|
756
757
|
class $n extends HTMLElement {
|
|
757
758
|
vueApp;
|
|
758
759
|
constructor() {
|
|
@@ -775,7 +776,7 @@ class $n extends HTMLElement {
|
|
|
775
776
|
let v = this.attributes.getNamedItem(u)?.value;
|
|
776
777
|
b.hasOwnProperty(u) && (v = b[u]), _[u] = v;
|
|
777
778
|
}
|
|
778
|
-
this.vueApp = je(te, _),
|
|
779
|
+
this.vueApp = je(te, _), ot(this.vueApp), this.vueApp.provide("emitter", _n), this.vueApp.use(et), this.vueApp.use(yn), this.vueApp.use(ct), this.vueApp.use(dt), this.vueApp.use(tt, { bootstrap: !0 });
|
|
779
780
|
const $ = document.createElement("div");
|
|
780
781
|
this.vueApp.mount($), this.appendChild($.children[0]);
|
|
781
782
|
}
|
package/dist/event.js.br
CHANGED
|
Binary file
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { d as I, o as f, a as A, g as t, f as o, c as X, b as _, w as v, S as B, u as e, t as u, x as w, e as P, i as T, k as $ } from "./_commonjsHelpers-
|
|
2
|
-
import { E as k, _ as L, h as N, s as x,
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
1
|
+
import { d as I, o as f, a as A, g as t, f as o, c as X, b as _, w as v, S as B, u as e, t as u, x as w, e as P, i as T, k as $ } from "./_commonjsHelpers-BnQF6Gki.js";
|
|
2
|
+
import { E as k, _ as L, h as N, s as x, t as E, b as U, z as C, A as z, B as O, n as F, o as H, p as j, q as R } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Dw6yVZCV.js";
|
|
3
|
+
import { c as Z } from "./sentry-6-6DYT4Z.js";
|
|
4
|
+
import { u as q } from "./giftCard-BK0GfT2z.js";
|
|
5
|
+
import { _ as W } from "./_.vue_vue_type_style_index_0_lang-BbZ0cU3f.js";
|
|
6
|
+
import { A as J } from "./ActionField-BTLE7221.js";
|
|
7
|
+
import { F as S } from "./Field-BUCiT-zy.js";
|
|
8
|
+
import { E as K } from "./ErrorMessage-VTSFzaD9.js";
|
|
8
9
|
import "./navigation.js";
|
|
9
10
|
(function() {
|
|
10
11
|
try {
|
|
11
12
|
var r = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, s = new Error().stack;
|
|
12
|
-
s && (r._sentryDebugIds = r._sentryDebugIds || {}, r._sentryDebugIds[s] = "
|
|
13
|
+
s && (r._sentryDebugIds = r._sentryDebugIds || {}, r._sentryDebugIds[s] = "67dea412-3731-43a1-b337-b80753d04b2c", r._sentryDebugIdIdentifier = "sentry-dbid-67dea412-3731-43a1-b337-b80753d04b2c");
|
|
13
14
|
} catch {
|
|
14
15
|
}
|
|
15
16
|
})();
|
|
@@ -47,19 +48,19 @@ const Q = { class: "gift-card-validation-skeleton" }, Y = { class: "gift-card-va
|
|
|
47
48
|
...s.styling
|
|
48
49
|
})), { t: i } = N(), {
|
|
49
50
|
voucher: m,
|
|
50
|
-
isValid:
|
|
51
|
+
isValid: b,
|
|
51
52
|
amount: p,
|
|
52
|
-
expirationDate:
|
|
53
|
+
expirationDate: h,
|
|
53
54
|
productName: a,
|
|
54
55
|
isLoading: n
|
|
55
|
-
} = x(E()), { currency: l, hasError: M } = x(U()), { fetchMetadata:
|
|
56
|
-
return (
|
|
56
|
+
} = x(E()), { currency: l, hasError: M } = x(U()), { fetchMetadata: G } = q(), { apply: V } = E();
|
|
57
|
+
return (D, d) => (f(), _(F, { styling: c.value }, {
|
|
57
58
|
default: v(() => [
|
|
58
59
|
(f(), _(B, null, {
|
|
59
60
|
default: v(() => [
|
|
60
61
|
o(W, {
|
|
61
|
-
"access-token":
|
|
62
|
-
onMetadata: e(
|
|
62
|
+
"access-token": D.accessToken,
|
|
63
|
+
onMetadata: e(G)
|
|
63
64
|
}, {
|
|
64
65
|
default: v(() => [
|
|
65
66
|
e(M) ? (f(), _(K, {
|
|
@@ -88,7 +89,7 @@ const Q = { class: "gift-card-validation-skeleton" }, Y = { class: "gift-card-va
|
|
|
88
89
|
"onUpdate:isLoading": d[1] || (d[1] = (g) => w(n) ? n.value = g : null),
|
|
89
90
|
onAction: d[2] || (d[2] = (g) => e(V)())
|
|
90
91
|
}, null, 8, ["modelValue", "label", "buttonLabel", "is-loading"]),
|
|
91
|
-
!e(n) && e(
|
|
92
|
+
!e(n) && e(b) ? (f(), A("table", st, [
|
|
92
93
|
t("thead", null, [
|
|
93
94
|
t("tr", null, [
|
|
94
95
|
t("th", null, [
|
|
@@ -123,10 +124,10 @@ const Q = { class: "gift-card-validation-skeleton" }, Y = { class: "gift-card-va
|
|
|
123
124
|
t("span", null, u(e(a)), 1)
|
|
124
125
|
]),
|
|
125
126
|
t("td", null, [
|
|
126
|
-
t("span", null, u(e(
|
|
127
|
+
t("span", null, u(e(z)(e(p), e(l))), 1)
|
|
127
128
|
]),
|
|
128
129
|
t("td", null, [
|
|
129
|
-
t("span", null, u(e(
|
|
130
|
+
t("span", null, u(e(O)(e(h))), 1)
|
|
130
131
|
])
|
|
131
132
|
])
|
|
132
133
|
])
|
|
@@ -145,7 +146,7 @@ const Q = { class: "gift-card-validation-skeleton" }, Y = { class: "gift-card-va
|
|
|
145
146
|
_: 1
|
|
146
147
|
}, 8, ["styling"]));
|
|
147
148
|
}
|
|
148
|
-
}), y = /* @__PURE__ */ L(it, [["__scopeId", "data-v-22ec3a4a"]]), lt = H(), rt =
|
|
149
|
+
}), y = /* @__PURE__ */ L(it, [["__scopeId", "data-v-22ec3a4a"]]), lt = H(), rt = R();
|
|
149
150
|
class dt extends HTMLElement {
|
|
150
151
|
vueApp;
|
|
151
152
|
constructor() {
|
|
@@ -157,7 +158,7 @@ class dt extends HTMLElement {
|
|
|
157
158
|
connectedCallback() {
|
|
158
159
|
const s = typeof y == "function" ? y.options : y;
|
|
159
160
|
let c = Array.isArray(s.props) ? s.props : Object.keys(s.props || {});
|
|
160
|
-
const i = (a) => a.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (n, l) => (l ? "-" : "") + n.toLowerCase()), m = (a) => a.replace(/-./g, (n) => n[1].toUpperCase()),
|
|
161
|
+
const i = (a) => a.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (n, l) => (l ? "-" : "") + n.toLowerCase()), m = (a) => a.replace(/-./g, (n) => n[1].toUpperCase()), b = {};
|
|
161
162
|
c = c.map(i);
|
|
162
163
|
const p = {};
|
|
163
164
|
for (const a of this.attributes) {
|
|
@@ -166,11 +167,11 @@ class dt extends HTMLElement {
|
|
|
166
167
|
}
|
|
167
168
|
for (const a of c) {
|
|
168
169
|
let n = this.attributes.getNamedItem(a)?.value;
|
|
169
|
-
p.hasOwnProperty(a) && (n = p[a]),
|
|
170
|
+
p.hasOwnProperty(a) && (n = p[a]), b[a] = n;
|
|
170
171
|
}
|
|
171
|
-
this.vueApp = $(y,
|
|
172
|
-
const
|
|
173
|
-
this.vueApp.mount(
|
|
172
|
+
this.vueApp = $(y, b), Z(this.vueApp), this.vueApp.provide("emitter", rt), this.vueApp.use(lt), this.vueApp.use(j);
|
|
173
|
+
const h = document.createElement("div");
|
|
174
|
+
this.vueApp.mount(h), this.appendChild(h.children[0]);
|
|
174
175
|
}
|
|
175
176
|
}
|
|
176
177
|
window.customElements.define("konnectio-gift-card-validation", dt);
|
|
Binary file
|