@konnectio/core 4.0.82 → 4.0.84
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-CLQbtAU7.js +100 -0
- package/dist/ActionField-CLQbtAU7.js.br +0 -0
- package/dist/AvailabilitySkeleton-BJPo5KGW.js +309 -0
- package/dist/AvailabilitySkeleton-BJPo5KGW.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-C4S5K4Ed.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CAv6OSp6.js} +1152 -1168
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CAv6OSp6.js.br +0 -0
- package/dist/{CheckoutWindow-DoADcN36.js → CheckoutWindow-C9Sa3vci.js} +159 -174
- package/dist/CheckoutWindow-C9Sa3vci.js.br +0 -0
- package/dist/{ErrorMessage-BxZaXdig.js → ErrorMessage-D6rbHHXd.js} +20 -35
- package/dist/ErrorMessage-D6rbHHXd.js.br +0 -0
- package/dist/EventAvailabilityForm-D-Q1vxsm.js +110 -0
- package/dist/EventAvailabilityForm-D-Q1vxsm.js.br +0 -0
- package/dist/Field-CGT9JUe-.js +43 -0
- package/dist/Field-CGT9JUe-.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DIbBJOzF.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BR0ZkskY.js} +2819 -2807
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BR0ZkskY.js.br +0 -0
- package/dist/TermsOfService-DmwGAt0q.js +28 -0
- package/dist/_-YHi6ciVk.js +5 -0
- package/dist/_.vue_vue_type_style_index_0_lang-DeF9xZEQ.js +25 -0
- package/dist/_commonjsHelpers-DaMA6jEr.js +9 -0
- package/dist/availability.js +54 -71
- package/dist/availability.js.br +0 -0
- package/dist/deep-link.js +20 -36
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +398 -416
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +72 -89
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +175 -192
- package/dist/gift-card.js.br +0 -0
- package/dist/giftCard-C-lmDpUB.js +118 -0
- package/dist/giftCard-C-lmDpUB.js.br +0 -0
- package/dist/hotel.js +1210 -1099
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-DDSHAjDQ.js → masonry.plugin-DL8uXS-9.js} +52 -68
- package/dist/masonry.plugin-DL8uXS-9.js.br +0 -0
- package/dist/mitt-B_elXQ2J.js +12437 -0
- package/dist/mitt-B_elXQ2J.js.br +0 -0
- package/dist/polyfill.js +4216 -7869
- package/dist/polyfill.js.br +0 -0
- package/dist/{style-CT1Yk_a0.js → style-CDpCXUak.js} +391 -406
- package/dist/style-CDpCXUak.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +12 -15
- package/dist/ActionField-Mf3IO8Sg.js +0 -115
- package/dist/ActionField-Mf3IO8Sg.js.br +0 -0
- package/dist/AvailabilitySkeleton-D3xnLMQI.js +0 -296
- package/dist/AvailabilitySkeleton-D3xnLMQI.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-C4S5K4Ed.js.br +0 -0
- package/dist/CheckoutWindow-DoADcN36.js.br +0 -0
- package/dist/ErrorMessage-BxZaXdig.js.br +0 -0
- package/dist/EventAvailabilityForm-Ctz8ENUN.js +0 -126
- package/dist/EventAvailabilityForm-Ctz8ENUN.js.br +0 -0
- package/dist/Field-Bg0N8Vc0.js +0 -58
- package/dist/Field-Bg0N8Vc0.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DIbBJOzF.js.br +0 -0
- package/dist/TermsOfService-CWraQvoB.js +0 -44
- package/dist/TermsOfService-CWraQvoB.js.br +0 -4
- package/dist/_-BEZe3PAF.js +0 -20
- package/dist/_.vue_vue_type_style_index_0_lang-DQzgcH2c.js +0 -40
- package/dist/_.vue_vue_type_style_index_0_lang-DQzgcH2c.js.br +0 -0
- package/dist/_commonjsHelpers-C8ml6AyB.js +0 -25
- package/dist/_commonjsHelpers-C8ml6AyB.js.br +0 -0
- package/dist/_sentry-release-injection-file-8liCQLPI.js +0 -9501
- package/dist/_sentry-release-injection-file-8liCQLPI.js.br +0 -0
- package/dist/giftCard-sImOKdP0.js +0 -134
- package/dist/giftCard-sImOKdP0.js.br +0 -0
- package/dist/masonry.plugin-DDSHAjDQ.js.br +0 -0
- package/dist/mitt-CzL6QOyp.js +0 -2977
- package/dist/mitt-CzL6QOyp.js.br +0 -0
- package/dist/sentry-Cyc40KnT.js +0 -26
- package/dist/style-CT1Yk_a0.js.br +0 -0
- package/dist/tracing-6Srl_nMB.js +0 -2628
- package/dist/tracing-6Srl_nMB.js.br +0 -0
package/dist/event.js.br
CHANGED
|
Binary file
|
|
@@ -1,125 +1,108 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
import { G as tt } from "./style-CT1Yk_a0.js";
|
|
11
|
-
(function() {
|
|
12
|
-
try {
|
|
13
|
-
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] = "56b77537-82fb-44e4-9b2e-1136d69e65af", n._sentryDebugIdIdentifier = "sentry-dbid-56b77537-82fb-44e4-9b2e-1136d69e65af");
|
|
15
|
-
} catch {
|
|
16
|
-
}
|
|
17
|
-
})();
|
|
18
|
-
{
|
|
19
|
-
var p = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
20
|
-
p._sentryModuleMetadata = p._sentryModuleMetadata || {}, p._sentryModuleMetadata[new Error().stack] = Object.assign(
|
|
21
|
-
{},
|
|
22
|
-
p._sentryModuleMetadata[new Error().stack],
|
|
23
|
-
{ "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
|
|
24
|
-
);
|
|
25
|
-
}
|
|
26
|
-
const et = { class: "gift-card-validation-skeleton" }, at = { class: "gift-card-validation-skeleton-form" }, nt = { class: "gift-card-validation-skeleton-text" }, ot = { class: "gift-card-validation-skeleton-input" }, it = /* @__PURE__ */ A({
|
|
1
|
+
import { d as x, a as s, g as v, e as t, f as a, c as T, u as $, x as k, b as m, w as p, S as B, i as e, t as i, C, j as I, h as D, l as N, m as U, q as F, s as H, v as q } from "./mitt-B_elXQ2J.js";
|
|
2
|
+
import { E as h, _ as A, q as b, d as R, I as g, g as j, s as O, C as W } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BR0ZkskY.js";
|
|
3
|
+
import { u as z } from "./giftCard-C-lmDpUB.js";
|
|
4
|
+
import { _ as J } from "./_.vue_vue_type_style_index_0_lang-DeF9xZEQ.js";
|
|
5
|
+
import { A as K } from "./ActionField-CLQbtAU7.js";
|
|
6
|
+
import { F as y } from "./Field-CGT9JUe-.js";
|
|
7
|
+
import { E as Q } from "./ErrorMessage-D6rbHHXd.js";
|
|
8
|
+
import { G as Y } from "./style-CDpCXUak.js";
|
|
9
|
+
const Z = { class: "gift-card-validation-skeleton" }, tt = { class: "gift-card-validation-skeleton-form" }, et = { class: "gift-card-validation-skeleton-text" }, at = { class: "gift-card-validation-skeleton-input" }, nt = /* @__PURE__ */ x({
|
|
27
10
|
__name: "GiftCardValidationSkeleton",
|
|
28
|
-
setup(
|
|
29
|
-
return (
|
|
30
|
-
t("div",
|
|
31
|
-
t("div",
|
|
11
|
+
setup(u) {
|
|
12
|
+
return (d, l) => (s(), v("div", Z, [
|
|
13
|
+
t("div", tt, [
|
|
14
|
+
t("div", et, [
|
|
32
15
|
a(h, { height: "20px" }),
|
|
33
16
|
a(h, { height: "15px" }),
|
|
34
17
|
a(h, { height: "15px" })
|
|
35
18
|
]),
|
|
36
|
-
t("div",
|
|
37
|
-
a(
|
|
38
|
-
a(
|
|
19
|
+
t("div", at, [
|
|
20
|
+
a(y),
|
|
21
|
+
a(y, { "no-label": "" })
|
|
39
22
|
])
|
|
40
23
|
])
|
|
41
24
|
]));
|
|
42
25
|
}
|
|
43
|
-
}),
|
|
26
|
+
}), ot = /* @__PURE__ */ A(nt, [["__scopeId", "data-v-b1601b74"]]), it = ["innerHTML"], st = {
|
|
44
27
|
key: 0,
|
|
45
28
|
id: "konnectio-gift-card-validation-resume",
|
|
46
29
|
class: "konnectio-panel"
|
|
47
|
-
},
|
|
30
|
+
}, lt = /* @__PURE__ */ x({
|
|
48
31
|
name: "GiftCardValidationLayout",
|
|
49
32
|
__name: "GiftCardValidation",
|
|
50
33
|
props: {
|
|
51
34
|
accessToken: {},
|
|
52
35
|
styling: {}
|
|
53
36
|
},
|
|
54
|
-
setup(
|
|
55
|
-
const
|
|
37
|
+
setup(u) {
|
|
38
|
+
const d = u, l = T(() => ({
|
|
56
39
|
panelMaxWidth: "800px",
|
|
57
|
-
...
|
|
58
|
-
})), { t:
|
|
59
|
-
voucher:
|
|
60
|
-
isValid:
|
|
61
|
-
amount:
|
|
62
|
-
expirationDate:
|
|
63
|
-
productName:
|
|
64
|
-
isLoading:
|
|
65
|
-
} = k(
|
|
66
|
-
return (
|
|
67
|
-
default:
|
|
68
|
-
(
|
|
69
|
-
default:
|
|
70
|
-
a(
|
|
71
|
-
"access-token":
|
|
72
|
-
callback: e(
|
|
40
|
+
...d.styling
|
|
41
|
+
})), { t: o } = $(), {
|
|
42
|
+
voucher: f,
|
|
43
|
+
isValid: G,
|
|
44
|
+
amount: E,
|
|
45
|
+
expirationDate: S,
|
|
46
|
+
productName: w,
|
|
47
|
+
isLoading: c
|
|
48
|
+
} = k(b()), { currency: L, hasError: M } = k(R()), { fetchMetadata: X } = z(), { apply: _ } = b();
|
|
49
|
+
return (P, n) => (s(), m(W, { styling: l.value }, {
|
|
50
|
+
default: p(() => [
|
|
51
|
+
(s(), m(B, null, {
|
|
52
|
+
default: p(() => [
|
|
53
|
+
a(J, {
|
|
54
|
+
"access-token": P.accessToken,
|
|
55
|
+
callback: e(X)
|
|
73
56
|
}, {
|
|
74
|
-
default:
|
|
75
|
-
e(
|
|
57
|
+
default: p(() => [
|
|
58
|
+
e(M) ? (s(), m(Q, {
|
|
76
59
|
key: 1,
|
|
77
60
|
title: "Unable to render Gift card validation module",
|
|
78
61
|
description: "Gift card functionality hasn't been setup for this account. Please contact Octopus PMS for support."
|
|
79
|
-
})) : (
|
|
62
|
+
})) : (s(), v("form", {
|
|
80
63
|
key: 0,
|
|
81
64
|
id: "konnectio-gift-card-validation-module",
|
|
82
|
-
onSubmit:
|
|
65
|
+
onSubmit: n[3] || (n[3] = D((r) => e(_)(), ["prevent"]))
|
|
83
66
|
}, [
|
|
84
67
|
t("h4", null, [
|
|
85
|
-
t("span", null,
|
|
68
|
+
t("span", null, i(e(o)("giftCardValidation.title")), 1)
|
|
86
69
|
]),
|
|
87
70
|
t("p", {
|
|
88
|
-
innerHTML: e(
|
|
89
|
-
}, null, 8,
|
|
90
|
-
a(
|
|
91
|
-
modelValue: e(
|
|
92
|
-
"onUpdate:modelValue":
|
|
71
|
+
innerHTML: e(o)("giftCardValidation.description")
|
|
72
|
+
}, null, 8, it),
|
|
73
|
+
a(K, {
|
|
74
|
+
modelValue: e(f),
|
|
75
|
+
"onUpdate:modelValue": n[0] || (n[0] = (r) => C(f) ? f.value = r : null),
|
|
93
76
|
icon: "gift-card",
|
|
94
|
-
label: e(
|
|
95
|
-
buttonLabel: e(
|
|
77
|
+
label: e(o)("booking.reservation.giftCardCode"),
|
|
78
|
+
buttonLabel: e(o)("giftCardValidation.submitButton"),
|
|
96
79
|
placeholder: "XXXXXXXX",
|
|
97
|
-
"is-loading": e(
|
|
98
|
-
"onUpdate:isLoading":
|
|
99
|
-
onAction:
|
|
80
|
+
"is-loading": e(c),
|
|
81
|
+
"onUpdate:isLoading": n[1] || (n[1] = (r) => C(c) ? c.value = r : null),
|
|
82
|
+
onAction: n[2] || (n[2] = (r) => e(_)())
|
|
100
83
|
}, null, 8, ["modelValue", "label", "buttonLabel", "is-loading"]),
|
|
101
|
-
!e(
|
|
84
|
+
!e(c) && e(G) ? (s(), v("table", st, [
|
|
102
85
|
t("thead", null, [
|
|
103
86
|
t("tr", null, [
|
|
104
87
|
t("th", null, [
|
|
105
|
-
t("span", null,
|
|
106
|
-
a(
|
|
88
|
+
t("span", null, i(e(o)("giftCardValidation.giftCard")), 1),
|
|
89
|
+
a(g, {
|
|
107
90
|
icon: "gift-card",
|
|
108
91
|
type: "fas",
|
|
109
92
|
color: "header"
|
|
110
93
|
})
|
|
111
94
|
]),
|
|
112
95
|
t("th", null, [
|
|
113
|
-
t("span", null,
|
|
114
|
-
a(
|
|
96
|
+
t("span", null, i(e(o)("giftCardValidation.balance")), 1),
|
|
97
|
+
a(g, {
|
|
115
98
|
icon: "money-bill",
|
|
116
99
|
type: "fas",
|
|
117
100
|
color: "header"
|
|
118
101
|
})
|
|
119
102
|
]),
|
|
120
103
|
t("th", null, [
|
|
121
|
-
t("span", null,
|
|
122
|
-
a(
|
|
104
|
+
t("span", null, i(e(o)("giftCardValidation.expirationDate")), 1),
|
|
105
|
+
a(g, {
|
|
123
106
|
icon: "timer",
|
|
124
107
|
type: "fas",
|
|
125
108
|
color: "header"
|
|
@@ -130,24 +113,24 @@ const et = { class: "gift-card-validation-skeleton" }, at = { class: "gift-card-
|
|
|
130
113
|
t("tbody", null, [
|
|
131
114
|
t("tr", null, [
|
|
132
115
|
t("td", null, [
|
|
133
|
-
t("span", null,
|
|
116
|
+
t("span", null, i(e(w)), 1)
|
|
134
117
|
]),
|
|
135
118
|
t("td", null, [
|
|
136
|
-
t("span", null,
|
|
119
|
+
t("span", null, i(e(j)(e(E), e(L))), 1)
|
|
137
120
|
]),
|
|
138
121
|
t("td", null, [
|
|
139
|
-
t("span", null,
|
|
122
|
+
t("span", null, i(e(O)(e(S))), 1)
|
|
140
123
|
])
|
|
141
124
|
])
|
|
142
125
|
])
|
|
143
|
-
])) :
|
|
126
|
+
])) : I("", !0)
|
|
144
127
|
], 32))
|
|
145
128
|
]),
|
|
146
129
|
_: 1
|
|
147
130
|
}, 8, ["access-token", "callback"])
|
|
148
131
|
]),
|
|
149
|
-
fallback:
|
|
150
|
-
a(
|
|
132
|
+
fallback: p(() => [
|
|
133
|
+
a(ot)
|
|
151
134
|
]),
|
|
152
135
|
_: 1
|
|
153
136
|
}))
|
|
@@ -155,8 +138,8 @@ const et = { class: "gift-card-validation-skeleton" }, at = { class: "gift-card-
|
|
|
155
138
|
_: 1
|
|
156
139
|
}, 8, ["styling"]));
|
|
157
140
|
}
|
|
158
|
-
}), V = /* @__PURE__ */
|
|
159
|
-
class
|
|
141
|
+
}), V = /* @__PURE__ */ A(lt, [["__scopeId", "data-v-ae703950"]]), rt = N(), dt = q();
|
|
142
|
+
class ct extends HTMLElement {
|
|
160
143
|
vueApp;
|
|
161
144
|
constructor() {
|
|
162
145
|
super();
|
|
@@ -165,14 +148,14 @@ class pt extends HTMLElement {
|
|
|
165
148
|
this.vueApp.unmount();
|
|
166
149
|
}
|
|
167
150
|
connectedCallback() {
|
|
168
|
-
const
|
|
169
|
-
this.vueApp =
|
|
170
|
-
const
|
|
171
|
-
this.vueApp.mount(
|
|
151
|
+
const d = U(V, this.attributes);
|
|
152
|
+
this.vueApp = F(V, d), this.vueApp.provide("emitter", dt), this.vueApp.use(rt), this.vueApp.use(H), this.vueApp.use(Y);
|
|
153
|
+
const l = document.createElement("div");
|
|
154
|
+
this.vueApp.mount(l), this.appendChild(l.children[0]);
|
|
172
155
|
}
|
|
173
156
|
}
|
|
174
|
-
window.customElements.define("konnectio-gift-card-validation",
|
|
157
|
+
window.customElements.define("konnectio-gift-card-validation", ct);
|
|
175
158
|
export {
|
|
176
|
-
|
|
159
|
+
ct as default
|
|
177
160
|
};
|
|
178
161
|
//# sourceMappingURL=gift-card-validation.js.map
|
|
Binary file
|