@konnectio/core 4.0.63 → 4.0.65
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-3MggPKk9.js → ActionField-D5c9yQMq.js} +36 -28
- package/dist/ActionField-D5c9yQMq.js.br +0 -0
- package/dist/AvailabilitySkeleton-BfyLbK2o.js +299 -0
- package/dist/AvailabilitySkeleton-BfyLbK2o.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CnYjbggZ.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CxZ-h3My.js} +934 -924
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CxZ-h3My.js.br +0 -0
- package/dist/{CheckoutWindow-DolJgk40.js → CheckoutWindow-B74NMuGr.js} +174 -166
- package/dist/CheckoutWindow-B74NMuGr.js.br +0 -0
- package/dist/{ErrorMessage-BksKCxAq.js → ErrorMessage-CWR5rjTx.js} +24 -16
- package/dist/ErrorMessage-CWR5rjTx.js.br +0 -0
- package/dist/EventAvailabilityForm-lFAnwVMX.js +125 -0
- package/dist/EventAvailabilityForm-lFAnwVMX.js.br +0 -0
- package/dist/Field-C4DyN4XC.js +58 -0
- package/dist/Field-C4DyN4XC.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-D7XjSTM3.js +18813 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-D7XjSTM3.js.br +0 -0
- package/dist/TermsOfService-Bx4b2VxT.js +44 -0
- package/dist/TermsOfService-Bx4b2VxT.js.br +0 -0
- package/dist/_-DmU4JLX1.js +20 -0
- package/dist/_.vue_vue_type_style_index_0_lang-B2Kq55VX.js +77 -0
- package/dist/_.vue_vue_type_style_index_0_lang-B2Kq55VX.js.br +0 -0
- package/dist/_commonjsHelpers-BbdZelfp.js +25 -0
- package/dist/_commonjsHelpers-BbdZelfp.js.br +0 -0
- package/dist/{_sentry-release-injection-file-DEszgcWK.js → _sentry-release-injection-file-tJBg8sGS.js} +1643 -1635
- package/dist/_sentry-release-injection-file-tJBg8sGS.js.br +0 -0
- package/dist/availability.js +65 -55
- package/dist/availability.js.br +0 -0
- package/dist/deep-link.js +29 -21
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +260 -252
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +64 -56
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +137 -129
- package/dist/gift-card.js.br +0 -0
- package/dist/giftCard-SDJGsDep.js +134 -0
- package/dist/giftCard-SDJGsDep.js.br +0 -0
- package/dist/hotel.js +939 -920
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-GGoTX7a7.js → masonry.plugin-BhK5XQta.js} +860 -852
- package/dist/masonry.plugin-BhK5XQta.js.br +0 -0
- package/dist/{mitt-DnPlcQNp.js → mitt-CGFh35r5.js} +505 -497
- package/dist/mitt-CGFh35r5.js.br +0 -0
- package/dist/polyfill.js +6471 -6259
- package/dist/polyfill.js.br +0 -0
- package/dist/{style-2RYcVxT9.js → style-BQlIFUN3.js} +418 -403
- package/dist/style-BQlIFUN3.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/{_commonjsHelpers-DEK47QeC.js → tracing-B1Jp160Y.js} +597 -544
- package/dist/tracing-B1Jp160Y.js.br +0 -0
- package/package.json +16 -16
- package/dist/ActionField-3MggPKk9.js.br +0 -0
- package/dist/AvailabilitySkeleton-DSgC6hn3.js +0 -293
- package/dist/AvailabilitySkeleton-DSgC6hn3.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CnYjbggZ.js.br +0 -0
- package/dist/CheckoutWindow-DolJgk40.js.br +0 -0
- package/dist/ErrorMessage-BksKCxAq.js.br +0 -0
- package/dist/EventAvailabilityForm-DZljldrC.js +0 -117
- package/dist/EventAvailabilityForm-DZljldrC.js.br +0 -0
- package/dist/Field-DGi_AnA6.js +0 -50
- package/dist/Field-DGi_AnA6.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B7IfVdWJ.js +0 -18734
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B7IfVdWJ.js.br +0 -0
- package/dist/TermsOfService-LDUTInOo.js +0 -36
- package/dist/TermsOfService-LDUTInOo.js.br +0 -0
- package/dist/_-CBEOFztf.js +0 -12
- package/dist/_.vue_vue_type_style_index_0_lang-DjuzMOwH.js +0 -69
- package/dist/_.vue_vue_type_style_index_0_lang-DjuzMOwH.js.br +0 -0
- package/dist/_commonjsHelpers-DEK47QeC.js.br +0 -0
- package/dist/_sentry-release-injection-file-DEszgcWK.js.br +0 -0
- package/dist/giftCard-DLrIdehA.js +0 -126
- package/dist/giftCard-DLrIdehA.js.br +0 -0
- package/dist/masonry.plugin-GGoTX7a7.js.br +0 -0
- package/dist/mitt-DnPlcQNp.js.br +0 -0
- package/dist/style-2RYcVxT9.js.br +0 -0
package/dist/event.js.br
CHANGED
|
Binary file
|
|
@@ -1,41 +1,49 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import { u as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
1
|
+
import { d as L, a as f, g as A, e as t, f as o, c as P, b as k, w as v, S as B, u as e, t as u, v as x, i as T, h as $, k as N } from "./_sentry-release-injection-file-tJBg8sGS.js";
|
|
2
|
+
import { u as O, s as E, c as U, i as j, m as z } from "./mitt-CGFh35r5.js";
|
|
3
|
+
import { c as F, G as H } from "./style-BQlIFUN3.js";
|
|
4
|
+
import { E as C, _ as M, q as I, d as R, I as w, g as Z, s as q, C as K } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-D7XjSTM3.js";
|
|
5
|
+
import { u as W } from "./giftCard-SDJGsDep.js";
|
|
6
|
+
import { _ as J } from "./_.vue_vue_type_style_index_0_lang-B2Kq55VX.js";
|
|
7
|
+
import { A as Q } from "./ActionField-D5c9yQMq.js";
|
|
8
|
+
import { F as S } from "./Field-C4DyN4XC.js";
|
|
9
|
+
import { E as Y } from "./ErrorMessage-CWR5rjTx.js";
|
|
10
10
|
(function() {
|
|
11
11
|
try {
|
|
12
12
|
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] = "
|
|
13
|
+
s && (r._sentryDebugIds = r._sentryDebugIds || {}, r._sentryDebugIds[s] = "28066a4c-87b7-4282-8bf6-eefaf5e7c02b", r._sentryDebugIdIdentifier = "sentry-dbid-28066a4c-87b7-4282-8bf6-eefaf5e7c02b");
|
|
14
14
|
} catch {
|
|
15
15
|
}
|
|
16
16
|
})();
|
|
17
|
-
|
|
17
|
+
{
|
|
18
|
+
var y = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
19
|
+
y._sentryModuleMetadata = y._sentryModuleMetadata || {}, y._sentryModuleMetadata[new Error().stack] = Object.assign(
|
|
20
|
+
{},
|
|
21
|
+
y._sentryModuleMetadata[new Error().stack],
|
|
22
|
+
{ "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
const tt = { class: "gift-card-validation-skeleton" }, et = { class: "gift-card-validation-skeleton-form" }, at = { class: "gift-card-validation-skeleton-text" }, nt = { class: "gift-card-validation-skeleton-input" }, ot = /* @__PURE__ */ L({
|
|
18
26
|
__name: "GiftCardValidationSkeleton",
|
|
19
27
|
setup(r) {
|
|
20
|
-
return (s, c) => (f(), A("div",
|
|
21
|
-
t("div",
|
|
22
|
-
t("div", et, [
|
|
23
|
-
o(k, { height: "20px" }),
|
|
24
|
-
o(k, { height: "15px" }),
|
|
25
|
-
o(k, { height: "15px" })
|
|
26
|
-
]),
|
|
28
|
+
return (s, c) => (f(), A("div", tt, [
|
|
29
|
+
t("div", et, [
|
|
27
30
|
t("div", at, [
|
|
28
|
-
o(
|
|
29
|
-
o(
|
|
31
|
+
o(C, { height: "20px" }),
|
|
32
|
+
o(C, { height: "15px" }),
|
|
33
|
+
o(C, { height: "15px" })
|
|
34
|
+
]),
|
|
35
|
+
t("div", nt, [
|
|
36
|
+
o(S),
|
|
37
|
+
o(S, { "no-label": "" })
|
|
30
38
|
])
|
|
31
39
|
])
|
|
32
40
|
]));
|
|
33
41
|
}
|
|
34
|
-
}),
|
|
42
|
+
}), st = /* @__PURE__ */ M(ot, [["__scopeId", "data-v-b1601b74"]]), it = ["innerHTML"], lt = {
|
|
35
43
|
key: 0,
|
|
36
44
|
id: "konnectio-gift-card-validation-resume",
|
|
37
45
|
class: "konnectio-panel"
|
|
38
|
-
},
|
|
46
|
+
}, rt = /* @__PURE__ */ L({
|
|
39
47
|
name: "GiftCardValidationLayout",
|
|
40
48
|
__name: "GiftCardValidation",
|
|
41
49
|
props: {
|
|
@@ -43,58 +51,58 @@ const Y = { class: "gift-card-validation-skeleton" }, tt = { class: "gift-card-v
|
|
|
43
51
|
styling: {}
|
|
44
52
|
},
|
|
45
53
|
setup(r) {
|
|
46
|
-
const s = r, c =
|
|
54
|
+
const s = r, c = P(() => ({
|
|
47
55
|
panelMaxWidth: "800px",
|
|
48
56
|
...s.styling
|
|
49
|
-
})), { t: i } =
|
|
57
|
+
})), { t: i } = O(), {
|
|
50
58
|
voucher: m,
|
|
51
|
-
isValid:
|
|
59
|
+
isValid: b,
|
|
52
60
|
amount: p,
|
|
53
|
-
expirationDate:
|
|
61
|
+
expirationDate: h,
|
|
54
62
|
productName: a,
|
|
55
63
|
isLoading: n
|
|
56
|
-
} =
|
|
57
|
-
return (
|
|
64
|
+
} = E(I()), { currency: l, hasError: D } = E(R()), { fetchMetadata: G } = W(), { apply: V } = I();
|
|
65
|
+
return (X, d) => (f(), k(K, { styling: c.value }, {
|
|
58
66
|
default: v(() => [
|
|
59
|
-
(f(),
|
|
67
|
+
(f(), k(B, null, {
|
|
60
68
|
default: v(() => [
|
|
61
|
-
o(
|
|
62
|
-
"access-token":
|
|
63
|
-
callback: e(
|
|
69
|
+
o(J, {
|
|
70
|
+
"access-token": X.accessToken,
|
|
71
|
+
callback: e(G)
|
|
64
72
|
}, {
|
|
65
73
|
default: v(() => [
|
|
66
|
-
e(
|
|
74
|
+
e(D) ? (f(), k(Y, {
|
|
67
75
|
key: 1,
|
|
68
76
|
title: "Unable to render Gift card validation module",
|
|
69
77
|
description: "Gift card functionality hasn't been setup for this account. Please contact Octopus PMS for support."
|
|
70
78
|
})) : (f(), A("form", {
|
|
71
79
|
key: 0,
|
|
72
80
|
id: "konnectio-gift-card-validation-module",
|
|
73
|
-
onSubmit: d[3] || (d[3] = $((
|
|
81
|
+
onSubmit: d[3] || (d[3] = $((g) => e(V)(), ["prevent"]))
|
|
74
82
|
}, [
|
|
75
83
|
t("h4", null, [
|
|
76
84
|
t("span", null, u(e(i)("giftCardValidation.title")), 1)
|
|
77
85
|
]),
|
|
78
86
|
t("p", {
|
|
79
87
|
innerHTML: e(i)("giftCardValidation.description")
|
|
80
|
-
}, null, 8,
|
|
81
|
-
o(
|
|
88
|
+
}, null, 8, it),
|
|
89
|
+
o(Q, {
|
|
82
90
|
modelValue: e(m),
|
|
83
|
-
"onUpdate:modelValue": d[0] || (d[0] = (
|
|
91
|
+
"onUpdate:modelValue": d[0] || (d[0] = (g) => x(m) ? m.value = g : null),
|
|
84
92
|
icon: "gift-card",
|
|
85
93
|
label: e(i)("booking.reservation.giftCardCode"),
|
|
86
94
|
buttonLabel: e(i)("giftCardValidation.submitButton"),
|
|
87
95
|
placeholder: "XXXXXXXX",
|
|
88
96
|
"is-loading": e(n),
|
|
89
|
-
"onUpdate:isLoading": d[1] || (d[1] = (
|
|
90
|
-
onAction: d[2] || (d[2] = (
|
|
97
|
+
"onUpdate:isLoading": d[1] || (d[1] = (g) => x(n) ? n.value = g : null),
|
|
98
|
+
onAction: d[2] || (d[2] = (g) => e(V)())
|
|
91
99
|
}, null, 8, ["modelValue", "label", "buttonLabel", "is-loading"]),
|
|
92
|
-
!e(n) && e(
|
|
100
|
+
!e(n) && e(b) ? (f(), A("table", lt, [
|
|
93
101
|
t("thead", null, [
|
|
94
102
|
t("tr", null, [
|
|
95
103
|
t("th", null, [
|
|
96
104
|
t("span", null, u(e(i)("giftCardValidation.giftCard")), 1),
|
|
97
|
-
o(
|
|
105
|
+
o(w, {
|
|
98
106
|
icon: "gift-card",
|
|
99
107
|
type: "fas",
|
|
100
108
|
color: "header"
|
|
@@ -102,7 +110,7 @@ const Y = { class: "gift-card-validation-skeleton" }, tt = { class: "gift-card-v
|
|
|
102
110
|
]),
|
|
103
111
|
t("th", null, [
|
|
104
112
|
t("span", null, u(e(i)("giftCardValidation.balance")), 1),
|
|
105
|
-
o(
|
|
113
|
+
o(w, {
|
|
106
114
|
icon: "money-bill",
|
|
107
115
|
type: "fas",
|
|
108
116
|
color: "header"
|
|
@@ -110,7 +118,7 @@ const Y = { class: "gift-card-validation-skeleton" }, tt = { class: "gift-card-v
|
|
|
110
118
|
]),
|
|
111
119
|
t("th", null, [
|
|
112
120
|
t("span", null, u(e(i)("giftCardValidation.expirationDate")), 1),
|
|
113
|
-
o(
|
|
121
|
+
o(w, {
|
|
114
122
|
icon: "timer",
|
|
115
123
|
type: "fas",
|
|
116
124
|
color: "header"
|
|
@@ -124,10 +132,10 @@ const Y = { class: "gift-card-validation-skeleton" }, tt = { class: "gift-card-v
|
|
|
124
132
|
t("span", null, u(e(a)), 1)
|
|
125
133
|
]),
|
|
126
134
|
t("td", null, [
|
|
127
|
-
t("span", null, u(e(
|
|
135
|
+
t("span", null, u(e(Z)(e(p), e(l))), 1)
|
|
128
136
|
]),
|
|
129
137
|
t("td", null, [
|
|
130
|
-
t("span", null, u(e(
|
|
138
|
+
t("span", null, u(e(q)(e(h))), 1)
|
|
131
139
|
])
|
|
132
140
|
])
|
|
133
141
|
])
|
|
@@ -138,7 +146,7 @@ const Y = { class: "gift-card-validation-skeleton" }, tt = { class: "gift-card-v
|
|
|
138
146
|
}, 8, ["access-token", "callback"])
|
|
139
147
|
]),
|
|
140
148
|
fallback: v(() => [
|
|
141
|
-
o(
|
|
149
|
+
o(st)
|
|
142
150
|
]),
|
|
143
151
|
_: 1
|
|
144
152
|
}))
|
|
@@ -146,8 +154,8 @@ const Y = { class: "gift-card-validation-skeleton" }, tt = { class: "gift-card-v
|
|
|
146
154
|
_: 1
|
|
147
155
|
}, 8, ["styling"]));
|
|
148
156
|
}
|
|
149
|
-
}),
|
|
150
|
-
class
|
|
157
|
+
}), _ = /* @__PURE__ */ M(rt, [["__scopeId", "data-v-ae703950"]]), dt = U(), ct = z();
|
|
158
|
+
class pt extends HTMLElement {
|
|
151
159
|
vueApp;
|
|
152
160
|
constructor() {
|
|
153
161
|
super();
|
|
@@ -156,9 +164,9 @@ class ct extends HTMLElement {
|
|
|
156
164
|
this.vueApp.unmount();
|
|
157
165
|
}
|
|
158
166
|
connectedCallback() {
|
|
159
|
-
const s = typeof
|
|
167
|
+
const s = typeof _ == "function" ? _.options : _;
|
|
160
168
|
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()),
|
|
169
|
+
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 = {};
|
|
162
170
|
c = c.map(i);
|
|
163
171
|
const p = {};
|
|
164
172
|
for (const a of this.attributes) {
|
|
@@ -167,15 +175,15 @@ class ct extends HTMLElement {
|
|
|
167
175
|
}
|
|
168
176
|
for (const a of c) {
|
|
169
177
|
let n = this.attributes.getNamedItem(a)?.value;
|
|
170
|
-
p.hasOwnProperty(a) && (n = p[a]),
|
|
178
|
+
p.hasOwnProperty(a) && (n = p[a]), b[a] = n;
|
|
171
179
|
}
|
|
172
|
-
this.vueApp =
|
|
173
|
-
const
|
|
174
|
-
this.vueApp.mount(
|
|
180
|
+
this.vueApp = N(_, b), F(this.vueApp), this.vueApp.provide("emitter", ct), this.vueApp.use(dt), this.vueApp.use(j), this.vueApp.use(H);
|
|
181
|
+
const h = document.createElement("div");
|
|
182
|
+
this.vueApp.mount(h), this.appendChild(h.children[0]);
|
|
175
183
|
}
|
|
176
184
|
}
|
|
177
|
-
window.customElements.define("konnectio-gift-card-validation",
|
|
185
|
+
window.customElements.define("konnectio-gift-card-validation", pt);
|
|
178
186
|
export {
|
|
179
|
-
|
|
187
|
+
pt as default
|
|
180
188
|
};
|
|
181
189
|
//# sourceMappingURL=gift-card-validation.js.map
|
|
Binary file
|