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