@konnectio/core 4.0.68 → 4.0.70
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-_CEmKSlf.js → ActionField-B2nkVHpm.js} +4 -4
- package/dist/ActionField-B2nkVHpm.js.br +0 -0
- package/dist/{AvailabilitySkeleton-CHDZOB_s.js → AvailabilitySkeleton-B861c-E-.js} +7 -7
- package/dist/AvailabilitySkeleton-B861c-E-.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DjFIhQhI.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C7LESH9d.js} +725 -727
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C7LESH9d.js.br +0 -0
- package/dist/{CheckoutWindow-BzoYJ5v5.js → CheckoutWindow-DM8NiuXR.js} +5 -5
- package/dist/CheckoutWindow-DM8NiuXR.js.br +0 -0
- package/dist/{ErrorMessage-Cc8QanBP.js → ErrorMessage-DHi8BQ6u.js} +4 -4
- package/dist/ErrorMessage-DHi8BQ6u.js.br +0 -0
- package/dist/{EventAvailabilityForm-CdmiDieo.js → EventAvailabilityForm-DPn-Gce_.js} +25 -25
- package/dist/EventAvailabilityForm-DPn-Gce_.js.br +0 -0
- package/dist/{Field-DMMbo6LE.js → Field-DxsuquwZ.js} +9 -9
- package/dist/Field-DxsuquwZ.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DKrodyae.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CvsS3MPq.js} +6 -6
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CvsS3MPq.js.br +0 -0
- package/dist/{TermsOfService-YxQsHH5-.js → TermsOfService-D_Jn5Zg_.js} +13 -13
- package/dist/TermsOfService-D_Jn5Zg_.js.br +0 -0
- package/dist/{_-DZrN6t_6.js → _-DvTtY1Ya.js} +3 -3
- package/dist/{_.vue_vue_type_style_index_0_lang-C4mV4F7L.js → _.vue_vue_type_style_index_0_lang-B9P9xmGD.js} +4 -4
- package/dist/_.vue_vue_type_style_index_0_lang-B9P9xmGD.js.br +0 -0
- package/dist/{_commonjsHelpers-BqFuLgLz.js → _commonjsHelpers-zI2TZkyo.js} +2 -2
- package/dist/_commonjsHelpers-zI2TZkyo.js.br +0 -0
- package/dist/{_sentry-release-injection-file-Bgn3HK9h.js → _sentry-release-injection-file-DvEZJp-B.js} +3 -3
- package/dist/_sentry-release-injection-file-DvEZJp-B.js.br +0 -0
- package/dist/availability.js +39 -40
- package/dist/availability.js.br +0 -0
- package/dist/deep-link.js +27 -21
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +19 -20
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +18 -19
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +63 -64
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-D-wdGVBh.js → giftCard-awGtNaxi.js} +15 -15
- package/dist/giftCard-awGtNaxi.js.br +0 -0
- package/dist/hotel.js +708 -715
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-D3cbfEtC.js → masonry.plugin-BrevVGLo.js} +10 -10
- package/dist/masonry.plugin-BrevVGLo.js.br +0 -0
- package/dist/{mitt-BWKhoTz3.js → mitt-CHkQwqe3.js} +2 -2
- package/dist/mitt-CHkQwqe3.js.br +0 -0
- package/dist/polyfill.js +13681 -4661
- package/dist/polyfill.js.br +0 -0
- package/dist/{style-B8UHQIzP.js → style-CTJOBGnG.js} +195 -188
- package/dist/style-CTJOBGnG.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/tracing-1TgukAt0.js +2643 -0
- package/dist/tracing-1TgukAt0.js.br +0 -0
- package/package.json +5 -5
- package/dist/ActionField-_CEmKSlf.js.br +0 -0
- package/dist/AvailabilitySkeleton-CHDZOB_s.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DjFIhQhI.js.br +0 -0
- package/dist/CheckoutWindow-BzoYJ5v5.js.br +0 -0
- package/dist/ErrorMessage-Cc8QanBP.js.br +0 -0
- package/dist/EventAvailabilityForm-CdmiDieo.js.br +0 -0
- package/dist/Field-DMMbo6LE.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DKrodyae.js.br +0 -0
- package/dist/TermsOfService-YxQsHH5-.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-C4mV4F7L.js.br +0 -0
- package/dist/_commonjsHelpers-BqFuLgLz.js.br +0 -0
- package/dist/_sentry-release-injection-file-Bgn3HK9h.js.br +0 -0
- package/dist/giftCard-D-wdGVBh.js.br +0 -0
- package/dist/masonry.plugin-D3cbfEtC.js.br +0 -0
- package/dist/mitt-BWKhoTz3.js.br +0 -0
- package/dist/sentry-D-KvzqAy.js +0 -1452
- package/dist/sentry-D-KvzqAy.js.br +0 -0
- package/dist/style-B8UHQIzP.js.br +0 -0
package/dist/deep-link.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import { c as
|
|
1
|
+
import { d as p, r as o, o as l, a as u, g as f, e as d, t as h, l as i, k as m } from "./_sentry-release-injection-file-DvEZJp-B.js";
|
|
2
|
+
import { c as y, l as k, i as v, m as w } from "./mitt-CHkQwqe3.js";
|
|
3
3
|
(function() {
|
|
4
4
|
try {
|
|
5
|
-
var
|
|
6
|
-
|
|
5
|
+
var t = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
|
|
6
|
+
n && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[n] = "5ad04661-528a-4881-92c0-b975636cae1c", t._sentryDebugIdIdentifier = "sentry-dbid-5ad04661-528a-4881-92c0-b975636cae1c");
|
|
7
7
|
} catch {
|
|
8
8
|
}
|
|
9
9
|
})();
|
|
@@ -15,7 +15,7 @@ import { c as m, l as b, i as y, m as w } from "./mitt-BWKhoTz3.js";
|
|
|
15
15
|
{ "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
|
|
16
16
|
);
|
|
17
17
|
}
|
|
18
|
-
const
|
|
18
|
+
const b = ["href"], c = /* @__PURE__ */ p({
|
|
19
19
|
name: "KonnectioDeepLink",
|
|
20
20
|
__name: "DeepLink",
|
|
21
21
|
props: {
|
|
@@ -25,18 +25,24 @@ const k = ["href"], r = /* @__PURE__ */ o({
|
|
|
25
25
|
adults: {},
|
|
26
26
|
children: {}
|
|
27
27
|
},
|
|
28
|
-
setup(
|
|
29
|
-
const
|
|
30
|
-
return
|
|
28
|
+
setup(t) {
|
|
29
|
+
const n = o(null), e = t, r = o();
|
|
30
|
+
return l(() => {
|
|
31
31
|
const s = new URL(e.baseurl || location.href);
|
|
32
|
-
e.adults && s.searchParams.append("adults", e.adults), e.children && s.searchParams.append("children", e.children),
|
|
33
|
-
}), (s,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
32
|
+
e.adults && s.searchParams.append("adults", e.adults), e.children && s.searchParams.append("children", e.children), r.value = s.href;
|
|
33
|
+
}), (s, E) => (u(), f("div", {
|
|
34
|
+
ref_key: "test",
|
|
35
|
+
ref: n
|
|
36
|
+
}, [
|
|
37
|
+
d("a", { href: r.value }, [
|
|
38
|
+
d("span", null, h(r.value), 1),
|
|
39
|
+
i(s.$slots, "content"),
|
|
40
|
+
i(s.$slots, "default")
|
|
41
|
+
], 8, b)
|
|
42
|
+
], 512));
|
|
37
43
|
}
|
|
38
|
-
}),
|
|
39
|
-
class
|
|
44
|
+
}), _ = y(), g = w();
|
|
45
|
+
class A extends HTMLElement {
|
|
40
46
|
vueApp;
|
|
41
47
|
constructor() {
|
|
42
48
|
super();
|
|
@@ -45,14 +51,14 @@ class g extends HTMLElement {
|
|
|
45
51
|
this.vueApp.unmount();
|
|
46
52
|
}
|
|
47
53
|
connectedCallback() {
|
|
48
|
-
const
|
|
49
|
-
this.vueApp =
|
|
50
|
-
const
|
|
51
|
-
this.vueApp.mount(
|
|
54
|
+
const n = k(c, this.attributes);
|
|
55
|
+
this.vueApp = m(c, n), this.vueApp.provide("emitter", g), this.vueApp.use(v), this.vueApp.use(_);
|
|
56
|
+
const e = document.createElement("div");
|
|
57
|
+
this.vueApp.mount(e), this.appendChild(e.children[0]);
|
|
52
58
|
}
|
|
53
59
|
}
|
|
54
|
-
window.customElements.define("konnectio-deep-link",
|
|
60
|
+
window.customElements.define("konnectio-deep-link", A);
|
|
55
61
|
export {
|
|
56
|
-
|
|
62
|
+
A as default
|
|
57
63
|
};
|
|
58
64
|
//# sourceMappingURL=deep-link.js.map
|
package/dist/deep-link.js.br
CHANGED
|
Binary file
|
package/dist/event.js
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import { d as H, r as We, c as se, a as o, b as _, w as m, l as oe, u as e, e as t, i as d, f as p, n as xe, g as u, t as a, m as Je, q as Xe, s as z, F, v as R, S as Ze, x as _e, h as Pe, p as et, j as tt, k as nt } from "./_sentry-release-injection-file-
|
|
2
|
-
import { u as ie, s as U, c as ot, l as at, i as lt, m as st } from "./mitt-
|
|
3
|
-
import { c as it } from "./
|
|
4
|
-
import { a as Ie, b as ae, l as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { _ as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { E as Bt } from "./EventAvailabilityForm-CdmiDieo.js";
|
|
1
|
+
import { d as H, r as We, c as se, a as o, b as _, w as m, l as oe, u as e, e as t, i as d, f as p, n as xe, g as u, t as a, m as Je, q as Xe, s as z, F, v as R, S as Ze, x as _e, h as Pe, p as et, j as tt, k as nt } from "./_sentry-release-injection-file-DvEZJp-B.js";
|
|
2
|
+
import { u as ie, s as U, c as ot, l as at, i as lt, m as st } from "./mitt-CHkQwqe3.js";
|
|
3
|
+
import { c as it, G as rt } from "./style-CTJOBGnG.js";
|
|
4
|
+
import { a as Ie, b as ae, l as ut, s as le, c as be, B as dt, _ as re, d as he, I as ge, e as ct, f as ke, g as G, u as we, h as mt, i as $e, T as te, O as pt, C as vt, j as ft, k as bt, m as gt } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CvsS3MPq.js";
|
|
5
|
+
import { e as kt, c as ht, t as ne, g as De, m as Ee, a as Ve, b as Te, d as yt, f as Oe, u as j } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C7LESH9d.js";
|
|
6
|
+
import { _ as _t } from "./_.vue_vue_type_style_index_0_lang-B9P9xmGD.js";
|
|
7
|
+
import { B as Pt, _ as wt, R as $t, L as Ne, S as Dt, M as Et, C as Vt, T as Tt, V as Ot } from "./masonry.plugin-BrevVGLo.js";
|
|
8
|
+
import { C as St, P as It, a as Nt } from "./CheckoutWindow-DM8NiuXR.js";
|
|
9
|
+
import { E as Bt } from "./EventAvailabilityForm-DPn-Gce_.js";
|
|
11
10
|
(function() {
|
|
12
11
|
try {
|
|
13
12
|
var c = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
|
|
14
|
-
n && (c._sentryDebugIds = c._sentryDebugIds || {}, c._sentryDebugIds[n] = "
|
|
13
|
+
n && (c._sentryDebugIds = c._sentryDebugIds || {}, c._sentryDebugIds[n] = "d8542e6f-d2fa-4283-b80b-c9bb76953174", c._sentryDebugIdIdentifier = "sentry-dbid-d8542e6f-d2fa-4283-b80b-c9bb76953174");
|
|
15
14
|
} catch {
|
|
16
15
|
}
|
|
17
16
|
})();
|
|
@@ -122,7 +121,7 @@ const Lt = { class: "konnectio-event-listing-action-button" }, Ft = /* @__PURE__
|
|
|
122
121
|
description: l.description,
|
|
123
122
|
"prices-from": l.fromPrice,
|
|
124
123
|
"to-date": l.toDate,
|
|
125
|
-
layout: e(
|
|
124
|
+
layout: e(dt).Event
|
|
126
125
|
}, {
|
|
127
126
|
description: m(() => [
|
|
128
127
|
oe(l.$slots, "description", { maxNumberOfPeople: e(b) }, void 0, !0)
|
|
@@ -142,7 +141,7 @@ const Lt = { class: "konnectio-event-listing-action-button" }, Ft = /* @__PURE__
|
|
|
142
141
|
icon: "users",
|
|
143
142
|
"icon-type": "fas",
|
|
144
143
|
"icon-placement": "label",
|
|
145
|
-
description: l.maxGuests <= 20 ? `${e(n)("general.availableFor")}: 1 - ${l.maxGuests} ${e(
|
|
144
|
+
description: l.maxGuests <= 20 ? `${e(n)("general.availableFor")}: 1 - ${l.maxGuests} ${e(ut)(e(n)("general.guests"))}` : void 0,
|
|
146
145
|
"min-value": 0,
|
|
147
146
|
"max-value": l.maxOnlineReservationLimit || l.maxGuests || e(b) || 1 / 0
|
|
148
147
|
}, null, 8, ["modelValue", "label", "description", "max-value"])),
|
|
@@ -232,7 +231,7 @@ const Mt = {
|
|
|
232
231
|
}),
|
|
233
232
|
t("span", null, a(e(i)("event.startAndEndTime")), 1)
|
|
234
233
|
]),
|
|
235
|
-
t("span", null, a(e(
|
|
234
|
+
t("span", null, a(e(ct)(r.timeFrom, r.timeTo)), 1)
|
|
236
235
|
])
|
|
237
236
|
])
|
|
238
237
|
]),
|
|
@@ -486,11 +485,11 @@ const sn = { class: "konnectio-event-listings" }, rn = {
|
|
|
486
485
|
}), w;
|
|
487
486
|
});
|
|
488
487
|
function je() {
|
|
489
|
-
const w =
|
|
488
|
+
const w = ft("history", {
|
|
490
489
|
removeNullishValues: !0
|
|
491
490
|
}), f = parseInt(w.rid), N = w.d, O = parseInt(w.eid);
|
|
492
491
|
if (N)
|
|
493
|
-
if (
|
|
492
|
+
if (bt(N)) {
|
|
494
493
|
const I = new Date(N), C = I.setHours(12, 0, 0, 0), y = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
|
|
495
494
|
C >= y ? (Ae.value = I, w.d = void 0) : me({
|
|
496
495
|
message: n("alert.error.invalidDateRange"),
|
|
@@ -508,7 +507,7 @@ const sn = { class: "konnectio-event-listings" }, rn = {
|
|
|
508
507
|
let s;
|
|
509
508
|
isNaN(O) || (s = O), Re(s);
|
|
510
509
|
}
|
|
511
|
-
return (w, f) => (o(), _(
|
|
510
|
+
return (w, f) => (o(), _(vt, { styling: w.styling }, {
|
|
512
511
|
default: m(() => [
|
|
513
512
|
(o(), _(Ze, { onResolve: je }, {
|
|
514
513
|
default: m(() => [
|
|
@@ -649,7 +648,7 @@ const sn = { class: "konnectio-event-listings" }, rn = {
|
|
|
649
648
|
t("td", null, [
|
|
650
649
|
t("b", null, a(K), 1),
|
|
651
650
|
vn,
|
|
652
|
-
t("span", null, a(e(G)(pe, e(Z))) + " " + a(e(
|
|
651
|
+
t("span", null, a(e(G)(pe, e(Z))) + " " + a(e(mt)(ve)), 1)
|
|
653
652
|
]),
|
|
654
653
|
t("td", fn, [
|
|
655
654
|
Y === 3 ? (o(), _(ae, {
|
|
@@ -772,7 +771,7 @@ const sn = { class: "konnectio-event-listings" }, rn = {
|
|
|
772
771
|
checkboxes: Ge.value,
|
|
773
772
|
required: ""
|
|
774
773
|
}, null, 8, ["modelValue", "label", "checkboxes"])) : d("", !0),
|
|
775
|
-
e(ue) === e(
|
|
774
|
+
e(ue) === e(pt).FullDayEvent ? (o(), _(ae, {
|
|
776
775
|
key: 1,
|
|
777
776
|
modelValue: e(b),
|
|
778
777
|
"onUpdate:modelValue": f[4] || (f[4] = (s) => R(b) ? b.value = s : null),
|
|
@@ -850,7 +849,7 @@ class In extends HTMLElement {
|
|
|
850
849
|
}
|
|
851
850
|
connectedCallback() {
|
|
852
851
|
const n = at(Se, this.attributes);
|
|
853
|
-
this.vueApp = nt(Se, n), it(this.vueApp), this.vueApp.provide("emitter", Sn), this.vueApp.use(lt), this.vueApp.use(On), this.vueApp.use(Ot), this.vueApp.use(
|
|
852
|
+
this.vueApp = nt(Se, n), it(this.vueApp), this.vueApp.provide("emitter", Sn), this.vueApp.use(lt), this.vueApp.use(On), this.vueApp.use(Ot), this.vueApp.use(rt), this.vueApp.use(gt, { bootstrap: !0 });
|
|
854
853
|
const i = document.createElement("div");
|
|
855
854
|
this.vueApp.mount(i), this.appendChild(i.children[0]);
|
|
856
855
|
}
|
package/dist/event.js.br
CHANGED
|
Binary file
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import { d as A, a as d, g as v, e as t, f as a, c as P, b as g, w as f, S as B, u as e, t as l, v as _, i as T, h as $, k as N } from "./_sentry-release-injection-file-
|
|
2
|
-
import { u as U, s as k, c as F, l as H, i as O, m as R } from "./mitt-
|
|
3
|
-
import { c as j } from "./
|
|
4
|
-
import { E as h, _ as x, q as C, d as
|
|
5
|
-
import { u as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { A as
|
|
8
|
-
import { F as w } from "./Field-
|
|
9
|
-
import { E as
|
|
10
|
-
import { G as tt } from "./style-B8UHQIzP.js";
|
|
1
|
+
import { d as A, a as d, g as v, e as t, f as a, c as P, b as g, w as f, S as B, u as e, t as l, v as _, i as T, h as $, k as N } from "./_sentry-release-injection-file-DvEZJp-B.js";
|
|
2
|
+
import { u as U, s as k, c as F, l as H, i as O, m as R } from "./mitt-CHkQwqe3.js";
|
|
3
|
+
import { c as j, G as q } from "./style-CTJOBGnG.js";
|
|
4
|
+
import { E as h, _ as x, q as C, d as K, I as b, g as W, s as z, C as J } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CvsS3MPq.js";
|
|
5
|
+
import { u as Q } from "./giftCard-awGtNaxi.js";
|
|
6
|
+
import { _ as Y } from "./_.vue_vue_type_style_index_0_lang-B9P9xmGD.js";
|
|
7
|
+
import { A as Z } from "./ActionField-B2nkVHpm.js";
|
|
8
|
+
import { F as w } from "./Field-DxsuquwZ.js";
|
|
9
|
+
import { E as tt } from "./ErrorMessage-DHi8BQ6u.js";
|
|
11
10
|
(function() {
|
|
12
11
|
try {
|
|
13
12
|
var n = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, i = new Error().stack;
|
|
14
|
-
i && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[i] = "
|
|
13
|
+
i && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[i] = "e9c08821-10a8-4b9f-9fb7-7643b9d2e618", n._sentryDebugIdIdentifier = "sentry-dbid-e9c08821-10a8-4b9f-9fb7-7643b9d2e618");
|
|
15
14
|
} catch {
|
|
16
15
|
}
|
|
17
16
|
})();
|
|
@@ -62,17 +61,17 @@ const et = { class: "gift-card-validation-skeleton" }, at = { class: "gift-card-
|
|
|
62
61
|
expirationDate: I,
|
|
63
62
|
productName: M,
|
|
64
63
|
isLoading: u
|
|
65
|
-
} = k(C()), { currency: D, hasError: G } = k(
|
|
66
|
-
return (X, o) => (d(), g(
|
|
64
|
+
} = k(C()), { currency: D, hasError: G } = k(K()), { fetchMetadata: L } = Q(), { apply: y } = C();
|
|
65
|
+
return (X, o) => (d(), g(J, { styling: r.value }, {
|
|
67
66
|
default: f(() => [
|
|
68
67
|
(d(), g(B, null, {
|
|
69
68
|
default: f(() => [
|
|
70
|
-
a(
|
|
69
|
+
a(Y, {
|
|
71
70
|
"access-token": X.accessToken,
|
|
72
71
|
callback: e(L)
|
|
73
72
|
}, {
|
|
74
73
|
default: f(() => [
|
|
75
|
-
e(G) ? (d(), g(
|
|
74
|
+
e(G) ? (d(), g(tt, {
|
|
76
75
|
key: 1,
|
|
77
76
|
title: "Unable to render Gift card validation module",
|
|
78
77
|
description: "Gift card functionality hasn't been setup for this account. Please contact Octopus PMS for support."
|
|
@@ -87,7 +86,7 @@ const et = { class: "gift-card-validation-skeleton" }, at = { class: "gift-card-
|
|
|
87
86
|
t("p", {
|
|
88
87
|
innerHTML: e(s)("giftCardValidation.description")
|
|
89
88
|
}, null, 8, lt),
|
|
90
|
-
a(
|
|
89
|
+
a(Z, {
|
|
91
90
|
modelValue: e(m),
|
|
92
91
|
"onUpdate:modelValue": o[0] || (o[0] = (c) => _(m) ? m.value = c : null),
|
|
93
92
|
icon: "gift-card",
|
|
@@ -133,10 +132,10 @@ const et = { class: "gift-card-validation-skeleton" }, at = { class: "gift-card-
|
|
|
133
132
|
t("span", null, l(e(M)), 1)
|
|
134
133
|
]),
|
|
135
134
|
t("td", null, [
|
|
136
|
-
t("span", null, l(e(
|
|
135
|
+
t("span", null, l(e(W)(e(S), e(D))), 1)
|
|
137
136
|
]),
|
|
138
137
|
t("td", null, [
|
|
139
|
-
t("span", null, l(e(
|
|
138
|
+
t("span", null, l(e(z)(e(I))), 1)
|
|
140
139
|
])
|
|
141
140
|
])
|
|
142
141
|
])
|
|
@@ -166,7 +165,7 @@ class pt extends HTMLElement {
|
|
|
166
165
|
}
|
|
167
166
|
connectedCallback() {
|
|
168
167
|
const i = H(V, this.attributes);
|
|
169
|
-
this.vueApp = N(V, i), j(this.vueApp), this.vueApp.provide("emitter", ut), this.vueApp.use(ct), this.vueApp.use(O), this.vueApp.use(
|
|
168
|
+
this.vueApp = N(V, i), j(this.vueApp), this.vueApp.provide("emitter", ut), this.vueApp.use(ct), this.vueApp.use(O), this.vueApp.use(q);
|
|
170
169
|
const r = document.createElement("div");
|
|
171
170
|
this.vueApp.mount(r), this.appendChild(r.children[0]);
|
|
172
171
|
}
|
|
Binary file
|
package/dist/gift-card.js
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import { d as T, r as Y, c as J, a as i, b as k, w as C, e as l, g as m, f as a, u as e, i as f, n as Q, t as q, h as oe, z as ne, o as ie, S as se, A as I, B as M, F as
|
|
2
|
-
import { u as B, T as me, s as K, c as fe, l as
|
|
3
|
-
import { c as he } from "./
|
|
4
|
-
import { a as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { _ as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { S as Le } from "./TermsOfService-YxQsHH5-.js";
|
|
1
|
+
import { d as T, r as Y, c as J, a as i, b as k, w as C, e as l, g as m, f as a, u as e, i as f, n as Q, t as q, h as oe, z as ne, o as ie, S as se, A as I, B as M, F as de, s as re, v, p as ue, j as ce, k as pe } from "./_sentry-release-injection-file-DvEZJp-B.js";
|
|
2
|
+
import { u as B, T as me, s as K, c as fe, l as be, i as ve, m as _e } from "./mitt-CHkQwqe3.js";
|
|
3
|
+
import { c as he, G as ge } from "./style-CTJOBGnG.js";
|
|
4
|
+
import { a as ye, c as S, p as ke, E as Ce, _ as x, d as Ve, n as we, L as $e, T as L, b as Fe, C as Ee, m as Pe } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CvsS3MPq.js";
|
|
5
|
+
import { u as D } from "./giftCard-awGtNaxi.js";
|
|
6
|
+
import { _ as Ue } from "./_.vue_vue_type_style_index_0_lang-B9P9xmGD.js";
|
|
7
|
+
import { a as Se, C as Te, P as Ae, _ as Ie } from "./CheckoutWindow-DM8NiuXR.js";
|
|
8
|
+
import { F as U } from "./Field-DxsuquwZ.js";
|
|
9
|
+
import { E as Me } from "./ErrorMessage-DHi8BQ6u.js";
|
|
10
|
+
import { S as Le } from "./TermsOfService-D_Jn5Zg_.js";
|
|
12
11
|
(function() {
|
|
13
12
|
try {
|
|
14
|
-
var
|
|
15
|
-
|
|
13
|
+
var r = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, d = new Error().stack;
|
|
14
|
+
d && (r._sentryDebugIds = r._sentryDebugIds || {}, r._sentryDebugIds[d] = "f0d79415-0f0d-4b07-9b7d-6533078db522", r._sentryDebugIdIdentifier = "sentry-dbid-f0d79415-0f0d-4b07-9b7d-6533078db522");
|
|
16
15
|
} catch {
|
|
17
16
|
}
|
|
18
17
|
})();
|
|
@@ -34,8 +33,8 @@ const qe = { class: "media-selector" }, Be = ["accept"], Ge = { class: "media-se
|
|
|
34
33
|
required: { type: Boolean, default: !1 }
|
|
35
34
|
},
|
|
36
35
|
emits: ["update:modelValue"],
|
|
37
|
-
setup(
|
|
38
|
-
const c =
|
|
36
|
+
setup(r, { emit: d }) {
|
|
37
|
+
const c = d, o = r, { t: p } = B(), { display: _ } = ye(), b = Y(), h = J(() => o.modelValue.base64 !== "");
|
|
39
38
|
function V(t) {
|
|
40
39
|
c("update:modelValue", t);
|
|
41
40
|
}
|
|
@@ -44,10 +43,10 @@ const qe = { class: "media-selector" }, Be = ["accept"], Ge = { class: "media-se
|
|
|
44
43
|
base64: "",
|
|
45
44
|
name: "",
|
|
46
45
|
type: ""
|
|
47
|
-
}),
|
|
46
|
+
}), b.value && (b.value.value = "");
|
|
48
47
|
}
|
|
49
48
|
function w() {
|
|
50
|
-
|
|
49
|
+
b.value && b.value.click();
|
|
51
50
|
}
|
|
52
51
|
function j(t, u) {
|
|
53
52
|
const [y, G] = [t.name, t.type], g = new FileReader();
|
|
@@ -64,9 +63,9 @@ const qe = { class: "media-selector" }, Be = ["accept"], Ge = { class: "media-se
|
|
|
64
63
|
}
|
|
65
64
|
async function $() {
|
|
66
65
|
let t;
|
|
67
|
-
(t =
|
|
66
|
+
(t = b.value.files) instanceof FileList && j(t[0], V);
|
|
68
67
|
}
|
|
69
|
-
return (t, u) => (i(), k(
|
|
68
|
+
return (t, u) => (i(), k(ke, {
|
|
70
69
|
label: t.label,
|
|
71
70
|
required: t.required,
|
|
72
71
|
type: "media"
|
|
@@ -75,7 +74,7 @@ const qe = { class: "media-selector" }, Be = ["accept"], Ge = { class: "media-se
|
|
|
75
74
|
l("div", qe, [
|
|
76
75
|
l("input", {
|
|
77
76
|
ref_key: "fileInput",
|
|
78
|
-
ref:
|
|
77
|
+
ref: b,
|
|
79
78
|
type: "file",
|
|
80
79
|
class: "hidden",
|
|
81
80
|
accept: t.validation,
|
|
@@ -130,9 +129,9 @@ const qe = { class: "media-selector" }, Be = ["accept"], Ge = { class: "media-se
|
|
|
130
129
|
}, 8, ["label", "required"]));
|
|
131
130
|
}
|
|
132
131
|
});
|
|
133
|
-
function O(
|
|
134
|
-
const
|
|
135
|
-
|
|
132
|
+
function O(r) {
|
|
133
|
+
const d = r;
|
|
134
|
+
d.__i18n = d.__i18n || [], d.__i18n.push({
|
|
136
135
|
locale: "",
|
|
137
136
|
resource: {
|
|
138
137
|
da: {
|
|
@@ -153,15 +152,15 @@ function O(d) {
|
|
|
153
152
|
typeof O == "function" && O(Ne);
|
|
154
153
|
const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-form" }, Oe = /* @__PURE__ */ T({
|
|
155
154
|
__name: "GiftCardSkeleton",
|
|
156
|
-
setup(
|
|
157
|
-
return (
|
|
155
|
+
setup(r) {
|
|
156
|
+
return (d, c) => (i(), m("div", ze, [
|
|
158
157
|
l("div", Ke, [
|
|
159
158
|
a(U),
|
|
160
159
|
a(U),
|
|
161
160
|
a(U),
|
|
162
161
|
a(U),
|
|
163
162
|
a(U, { "is-text-area": "" }),
|
|
164
|
-
a(
|
|
163
|
+
a(Ce, { height: "44px" })
|
|
165
164
|
])
|
|
166
165
|
]));
|
|
167
166
|
}
|
|
@@ -171,8 +170,8 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
171
170
|
content: {},
|
|
172
171
|
buttonLabel: {}
|
|
173
172
|
},
|
|
174
|
-
setup(
|
|
175
|
-
const { t:
|
|
173
|
+
setup(r) {
|
|
174
|
+
const { t: d } = B(), c = Y(!1);
|
|
176
175
|
return (o, p) => (i(), m("div", Ye, [
|
|
177
176
|
a(e(me), {
|
|
178
177
|
keypath: "general.termsAndConditionsNotice",
|
|
@@ -188,7 +187,7 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
188
187
|
target: "_blank",
|
|
189
188
|
onClick: p[0] || (p[0] = oe((_) => c.value = !0, ["prevent"]))
|
|
190
189
|
}, [
|
|
191
|
-
l("span", null, q(e(
|
|
190
|
+
l("span", null, q(e(d)("general.termsAndConditions")), 1)
|
|
192
191
|
])
|
|
193
192
|
]),
|
|
194
193
|
_: 1
|
|
@@ -202,19 +201,19 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
202
201
|
}
|
|
203
202
|
}), Qe = /* @__PURE__ */ x(Je, [["__scopeId", "data-v-f587c956"]]), Xe = /* @__PURE__ */ T({
|
|
204
203
|
__name: "GiftCard",
|
|
205
|
-
setup(
|
|
206
|
-
const { t:
|
|
204
|
+
setup(r) {
|
|
205
|
+
const { t: d } = B(), c = D();
|
|
207
206
|
return (o, p) => (i(), k(Qe, {
|
|
208
207
|
content: e(c).termsOfService,
|
|
209
|
-
"button-label": e(
|
|
208
|
+
"button-label": e(d)("giftCard.orderGiftCard")
|
|
210
209
|
}, null, 8, ["content", "button-label"]));
|
|
211
210
|
}
|
|
212
|
-
}), Ze = (
|
|
211
|
+
}), Ze = (r) => (ue("data-v-278e1031"), r = r(), ce(), r), el = ["data-layout"], ll = { id: "konnectio-gift-card-wrapper" }, tl = { id: "konnectio-gift-card-title" }, al = { id: "konnectio-gift-card-content" }, ol = { id: "konnectio-gift-card-payment" }, nl = ["innerHTML"], il = { key: 0 }, sl = {
|
|
213
212
|
key: 0,
|
|
214
213
|
id: "konnectio-select-place-type"
|
|
215
|
-
},
|
|
214
|
+
}, dl = {
|
|
216
215
|
class: /* @__PURE__ */ Q(["konnectio-label", "required"])
|
|
217
|
-
},
|
|
216
|
+
}, rl = { id: "konnectio-select-place-type-input" }, ul = ["innerHTML"], cl = {
|
|
218
217
|
key: 0,
|
|
219
218
|
id: "konnectio-gift-card-order"
|
|
220
219
|
}, pl = { class: "konnectio-panel" }, ml = {
|
|
@@ -223,7 +222,7 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
223
222
|
}, fl = {
|
|
224
223
|
key: 2,
|
|
225
224
|
id: "konnectio-gift-card-order-minimal"
|
|
226
|
-
},
|
|
225
|
+
}, bl = /* @__PURE__ */ Ze(() => /* @__PURE__ */ l("div", { class: "konnectio-divider" }, null, -1)), vl = { id: "konnectio-gift-card-recaptcha" }, _l = /* @__PURE__ */ T({
|
|
227
226
|
name: "GiftCardLayout",
|
|
228
227
|
__name: "GiftCard",
|
|
229
228
|
props: {
|
|
@@ -232,14 +231,14 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
232
231
|
placeType: {},
|
|
233
232
|
styling: {}
|
|
234
233
|
},
|
|
235
|
-
setup(
|
|
236
|
-
const
|
|
234
|
+
setup(r) {
|
|
235
|
+
const d = r, c = J(() => ({
|
|
237
236
|
panelMaxWidth: "800px",
|
|
238
|
-
...
|
|
237
|
+
...d.styling
|
|
239
238
|
})), { t: o } = B(), {
|
|
240
239
|
name: p,
|
|
241
240
|
email: _,
|
|
242
|
-
phone:
|
|
241
|
+
phone: b,
|
|
243
242
|
value: h,
|
|
244
243
|
remark: V,
|
|
245
244
|
showValue: H,
|
|
@@ -254,13 +253,13 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
254
253
|
hasFilledForm: P,
|
|
255
254
|
hasForcedPlaceType: R,
|
|
256
255
|
isWaitingForResponse: F
|
|
257
|
-
} = K(D()), { initialize: X, orderGiftCard: N, fetchMetadata: Z } = D(), { isRecaptchaEnabled: ee, currency: le, hasError: te } = K(
|
|
256
|
+
} = K(D()), { initialize: X, orderGiftCard: N, fetchMetadata: Z } = D(), { isRecaptchaEnabled: ee, currency: le, hasError: te } = K(Ve());
|
|
258
257
|
return ne(t, () => {
|
|
259
258
|
$.value = void 0;
|
|
260
259
|
}), ie(() => {
|
|
261
|
-
const E =
|
|
260
|
+
const E = d.placeType ? parseInt(d.placeType) : void 0;
|
|
262
261
|
X(E);
|
|
263
|
-
}), (E, s) => (i(), k(
|
|
262
|
+
}), (E, s) => (i(), k(Ee, { styling: c.value }, {
|
|
264
263
|
default: C(() => [
|
|
265
264
|
(i(), k(se, null, {
|
|
266
265
|
default: C(() => [
|
|
@@ -297,15 +296,15 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
297
296
|
l("form", null, [
|
|
298
297
|
e(R) ? f("", !0) : (i(), m("div", il, [
|
|
299
298
|
e(g) ? (i(), m("div", sl, [
|
|
300
|
-
l("label",
|
|
299
|
+
l("label", dl, [
|
|
301
300
|
l("span", null, q(e(o)("giftCard.selectType")), 1)
|
|
302
301
|
]),
|
|
303
|
-
l("div",
|
|
302
|
+
l("div", rl, [
|
|
304
303
|
l("ul", null, [
|
|
305
|
-
(i(!0), m(
|
|
304
|
+
(i(!0), m(de, null, re(e(g), (n, z) => (i(), m("li", { key: z }, [
|
|
306
305
|
a(Te, {
|
|
307
306
|
modelValue: e(t),
|
|
308
|
-
"onUpdate:modelValue": s[0] || (s[0] = (ae) =>
|
|
307
|
+
"onUpdate:modelValue": s[0] || (s[0] = (ae) => v(t) ? t.value = ae : null),
|
|
309
308
|
type: "radio",
|
|
310
309
|
name: "placeType",
|
|
311
310
|
val: z,
|
|
@@ -313,10 +312,10 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
313
312
|
}, null, 8, ["modelValue", "val", "label"])
|
|
314
313
|
]))), 128))
|
|
315
314
|
]),
|
|
316
|
-
e(g)[e(t)] && e(g)[e(t)].data.length > 1 ? (i(), k(
|
|
315
|
+
e(g)[e(t)] && e(g)[e(t)].data.length > 1 ? (i(), k(we, {
|
|
317
316
|
key: 0,
|
|
318
317
|
modelValue: e($),
|
|
319
|
-
"onUpdate:modelValue": s[1] || (s[1] = (n) =>
|
|
318
|
+
"onUpdate:modelValue": s[1] || (s[1] = (n) => v($) ? $.value = n : null),
|
|
320
319
|
placeholder: e(o)("giftCard.selectPlacePlaceholder"),
|
|
321
320
|
options: e(g)[e(t)].data,
|
|
322
321
|
labelKey: "name",
|
|
@@ -324,11 +323,11 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
324
323
|
required: ""
|
|
325
324
|
}, null, 8, ["modelValue", "placeholder", "options"])) : f("", !0)
|
|
326
325
|
])
|
|
327
|
-
])) : (i(), k(
|
|
326
|
+
])) : (i(), k($e, { key: 1 }))
|
|
328
327
|
])),
|
|
329
328
|
a(L, {
|
|
330
329
|
modelValue: e(p),
|
|
331
|
-
"onUpdate:modelValue": s[2] || (s[2] = (n) =>
|
|
330
|
+
"onUpdate:modelValue": s[2] || (s[2] = (n) => v(p) ? p.value = n : null),
|
|
332
331
|
type: "text",
|
|
333
332
|
name: "name",
|
|
334
333
|
autocomplete: "name",
|
|
@@ -339,7 +338,7 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
339
338
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
340
339
|
a(L, {
|
|
341
340
|
modelValue: e(_),
|
|
342
|
-
"onUpdate:modelValue": s[3] || (s[3] = (n) =>
|
|
341
|
+
"onUpdate:modelValue": s[3] || (s[3] = (n) => v(_) ? _.value = n : null),
|
|
343
342
|
type: "email",
|
|
344
343
|
name: "email",
|
|
345
344
|
autocomplete: "email",
|
|
@@ -349,8 +348,8 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
349
348
|
required: ""
|
|
350
349
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
351
350
|
a(Ae, {
|
|
352
|
-
modelValue: e(
|
|
353
|
-
"onUpdate:modelValue": s[4] || (s[4] = (n) => b
|
|
351
|
+
modelValue: e(b),
|
|
352
|
+
"onUpdate:modelValue": s[4] || (s[4] = (n) => v(b) ? b.value = n : null),
|
|
354
353
|
icon: "phone-office",
|
|
355
354
|
label: e(o)("giftCard.phone"),
|
|
356
355
|
placeholder: e(o)("giftCard.phonePlaceholder"),
|
|
@@ -358,7 +357,7 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
358
357
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
359
358
|
a(L, {
|
|
360
359
|
modelValue: e(h),
|
|
361
|
-
"onUpdate:modelValue": s[5] || (s[5] = (n) =>
|
|
360
|
+
"onUpdate:modelValue": s[5] || (s[5] = (n) => v(h) ? h.value = n : null),
|
|
362
361
|
type: "number",
|
|
363
362
|
name: "value",
|
|
364
363
|
label: e(o)("giftCard.value"),
|
|
@@ -369,9 +368,9 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
369
368
|
}, null, 8, ["modelValue", "label", "placeholder", "suffix"]),
|
|
370
369
|
f("", !0),
|
|
371
370
|
f("", !0),
|
|
372
|
-
a(
|
|
371
|
+
a(Fe, {
|
|
373
372
|
modelValue: e(w),
|
|
374
|
-
"onUpdate:modelValue": s[8] || (s[8] = (n) =>
|
|
373
|
+
"onUpdate:modelValue": s[8] || (s[8] = (n) => v(w) ? w.value = n : null),
|
|
375
374
|
label: e(o)("giftCard.quantity"),
|
|
376
375
|
icon: "gift-card",
|
|
377
376
|
required: ""
|
|
@@ -395,7 +394,7 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
395
394
|
"full-width": !0,
|
|
396
395
|
disabled: !e(P),
|
|
397
396
|
"is-loading": e(F),
|
|
398
|
-
"onUpdate:isLoading": s[9] || (s[9] = (n) =>
|
|
397
|
+
"onUpdate:isLoading": s[9] || (s[9] = (n) => v(F) ? F.value = n : null),
|
|
399
398
|
onClickEvent: e(N)
|
|
400
399
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"])
|
|
401
400
|
])
|
|
@@ -403,7 +402,7 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
403
402
|
e(u) ? (i(), m("div", ml, [
|
|
404
403
|
a(L, {
|
|
405
404
|
modelValue: e(V),
|
|
406
|
-
"onUpdate:modelValue": s[10] || (s[10] = (n) =>
|
|
405
|
+
"onUpdate:modelValue": s[10] || (s[10] = (n) => v(V) ? V.value = n : null),
|
|
407
406
|
type: "textarea",
|
|
408
407
|
name: "remark",
|
|
409
408
|
label: e(o)("giftCard.remark"),
|
|
@@ -418,14 +417,14 @@ const ze = { class: "gift-card-skeleton" }, Ke = { class: "gift-card-skeleton-fo
|
|
|
418
417
|
disabled: !e(P),
|
|
419
418
|
"data-test": "orderGiftCard",
|
|
420
419
|
"is-loading": e(F),
|
|
421
|
-
"onUpdate:isLoading": s[11] || (s[11] = (n) =>
|
|
420
|
+
"onUpdate:isLoading": s[11] || (s[11] = (n) => v(F) ? F.value = n : null),
|
|
422
421
|
onClickEvent: e(N)
|
|
423
422
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
|
|
424
423
|
l("div", null, [
|
|
425
|
-
|
|
424
|
+
bl,
|
|
426
425
|
a(Xe)
|
|
427
426
|
]),
|
|
428
|
-
I(l("div",
|
|
427
|
+
I(l("div", vl, [
|
|
429
428
|
a(Ie)
|
|
430
429
|
], 512), [
|
|
431
430
|
[M, e(ee)]
|
|
@@ -456,8 +455,8 @@ class yl extends HTMLElement {
|
|
|
456
455
|
this.vueApp.unmount();
|
|
457
456
|
}
|
|
458
457
|
connectedCallback() {
|
|
459
|
-
const
|
|
460
|
-
this.vueApp = pe(W,
|
|
458
|
+
const d = be(W, this.attributes);
|
|
459
|
+
this.vueApp = pe(W, d), he(this.vueApp), this.vueApp.provide("emitter", gl), this.vueApp.use(hl), this.vueApp.use(ve), this.vueApp.use(ge), this.vueApp.use(Pe, { bootstrap: !0 });
|
|
461
460
|
const c = document.createElement("div");
|
|
462
461
|
this.vueApp.mount(c), this.appendChild(c.children[0]);
|
|
463
462
|
}
|
package/dist/gift-card.js.br
CHANGED
|
Binary file
|