@konnectio/core 4.0.56-rc39 → 4.0.56-rc40
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-Cj7yAIiF.js → ActionField-CD5wWyTP.js} +10 -10
- package/dist/ActionField-CD5wWyTP.js.br +0 -0
- package/dist/{AvailabilitySkeleton-B1NfPwnx.js → AvailabilitySkeleton-D9lVJ7Y4.js} +71 -69
- package/dist/AvailabilitySkeleton-D9lVJ7Y4.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-4TxEs6Ur.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Cb15NqtR.js} +2692 -2638
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Cb15NqtR.js.br +0 -0
- package/dist/{CheckoutWindow-Dj_a3rqK.js → CheckoutWindow-POqLB9M4.js} +33 -33
- package/dist/CheckoutWindow-POqLB9M4.js.br +0 -0
- package/dist/{ErrorMessage-B_o47rUW.js → ErrorMessage-DACtGUvq.js} +4 -4
- package/dist/ErrorMessage-DACtGUvq.js.br +0 -0
- package/dist/{EventAvailabilityForm-vxL1OmZL.js → EventAvailabilityForm-Dx4hfkc1.js} +36 -36
- package/dist/EventAvailabilityForm-Dx4hfkc1.js.br +0 -0
- package/dist/{Field-DC9mZy8_.js → Field-Nqc4wuqz.js} +8 -8
- package/dist/Field-Nqc4wuqz.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CITxgseu.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bi1FLGK9.js} +3483 -3533
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bi1FLGK9.js.br +0 -0
- package/dist/{TermsOfService-COGxWG3S.js → TermsOfService-D3ujvGpJ.js} +9 -9
- package/dist/TermsOfService-D3ujvGpJ.js.br +0 -0
- package/dist/_-BeIBHN5G.js +12 -0
- package/dist/_.vue_vue_type_style_index_0_lang-CfxcWxuU.js +72 -0
- package/dist/_.vue_vue_type_style_index_0_lang-CfxcWxuU.js.br +0 -0
- package/dist/{_commonjsHelpers-UWZO_9XV.js → _commonjsHelpers-BpcYSDvQ.js} +149 -148
- package/dist/_commonjsHelpers-BpcYSDvQ.js.br +0 -0
- package/dist/availability.js +57 -56
- package/dist/availability.js.br +0 -0
- package/dist/event.js +95 -95
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +43 -41
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +241 -331
- package/dist/gift-card.js.br +0 -0
- package/dist/giftCard-BEp1vsXy.js +128 -0
- package/dist/giftCard-BEp1vsXy.js.br +0 -0
- package/dist/hotel.js +942 -938
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-a1QQfgj3.js → masonry.plugin-CnRH1tRE.js} +6 -6
- package/dist/masonry.plugin-CnRH1tRE.js.br +0 -0
- package/dist/navigation.js +3 -3
- package/dist/polyfill.js +10 -5
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +9 -9
- package/dist/ActionField-Cj7yAIiF.js.br +0 -0
- package/dist/AvailabilitySkeleton-B1NfPwnx.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-4TxEs6Ur.js.br +0 -0
- package/dist/CheckoutWindow-Dj_a3rqK.js.br +0 -0
- package/dist/ErrorMessage-B_o47rUW.js.br +0 -0
- package/dist/EventAvailabilityForm-vxL1OmZL.js.br +0 -0
- package/dist/Field-DC9mZy8_.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CITxgseu.js.br +0 -0
- package/dist/TermsOfService-COGxWG3S.js.br +0 -0
- package/dist/_commonjsHelpers-UWZO_9XV.js.br +0 -0
- package/dist/masonry.plugin-a1QQfgj3.js.br +0 -0
|
@@ -1,38 +1,40 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import { E as k, _ as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
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-BpcYSDvQ.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-Bi1FLGK9.js";
|
|
3
|
+
import { u as q } from "./giftCard-BEp1vsXy.js";
|
|
4
|
+
import { _ as W } from "./_.vue_vue_type_style_index_0_lang-CfxcWxuU.js";
|
|
5
|
+
import { A as J } from "./ActionField-CD5wWyTP.js";
|
|
6
|
+
import { F as S } from "./Field-Nqc4wuqz.js";
|
|
7
|
+
import { E as K } from "./ErrorMessage-DACtGUvq.js";
|
|
6
8
|
import "./navigation.js";
|
|
7
9
|
(function() {
|
|
8
10
|
try {
|
|
9
11
|
var r = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, s = new Error().stack;
|
|
10
|
-
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");
|
|
11
13
|
} catch {
|
|
12
14
|
}
|
|
13
15
|
})();
|
|
14
|
-
const
|
|
16
|
+
const Q = { class: "gift-card-validation-skeleton" }, Y = { class: "gift-card-validation-skeleton-form" }, tt = { class: "gift-card-validation-skeleton-text" }, et = { class: "gift-card-validation-skeleton-input" }, at = /* @__PURE__ */ I({
|
|
15
17
|
__name: "GiftCardValidationSkeleton",
|
|
16
18
|
setup(r) {
|
|
17
|
-
return (s, c) => (f(), A("div",
|
|
18
|
-
t("div",
|
|
19
|
-
t("div",
|
|
19
|
+
return (s, c) => (f(), A("div", Q, [
|
|
20
|
+
t("div", Y, [
|
|
21
|
+
t("div", tt, [
|
|
20
22
|
o(k, { height: "20px" }),
|
|
21
23
|
o(k, { height: "15px" }),
|
|
22
24
|
o(k, { height: "15px" })
|
|
23
25
|
]),
|
|
24
|
-
t("div",
|
|
25
|
-
o(
|
|
26
|
-
o(
|
|
26
|
+
t("div", et, [
|
|
27
|
+
o(S),
|
|
28
|
+
o(S, { "no-label": "" })
|
|
27
29
|
])
|
|
28
30
|
])
|
|
29
31
|
]));
|
|
30
32
|
}
|
|
31
|
-
}),
|
|
33
|
+
}), nt = /* @__PURE__ */ L(at, [["__scopeId", "data-v-b1601b74"]]), ot = ["innerHTML"], st = {
|
|
32
34
|
key: 0,
|
|
33
35
|
id: "konnectio-gift-card-validation-resume",
|
|
34
36
|
class: "konnectio-panel"
|
|
35
|
-
},
|
|
37
|
+
}, it = /* @__PURE__ */ I({
|
|
36
38
|
name: "GiftCardValidationLayout",
|
|
37
39
|
__name: "GiftCardValidation",
|
|
38
40
|
props: {
|
|
@@ -43,39 +45,39 @@ const J = { class: "gift-card-validation-skeleton" }, K = { class: "gift-card-va
|
|
|
43
45
|
const s = r, c = X(() => ({
|
|
44
46
|
panelMaxWidth: "800px",
|
|
45
47
|
...s.styling
|
|
46
|
-
})), { t: i } =
|
|
48
|
+
})), { t: i } = N(), {
|
|
47
49
|
voucher: m,
|
|
48
50
|
isValid: h,
|
|
49
51
|
amount: p,
|
|
50
52
|
expirationDate: b,
|
|
51
53
|
productName: a,
|
|
52
54
|
isLoading: n
|
|
53
|
-
} = x(E()), { currency: l, hasError:
|
|
55
|
+
} = x(E()), { currency: l, hasError: M } = x(U()), { fetchMetadata: D } = q(), { apply: V } = E();
|
|
54
56
|
return (G, d) => (f(), _(F, { styling: c.value }, {
|
|
55
|
-
default:
|
|
56
|
-
(f(), _(
|
|
57
|
-
default:
|
|
58
|
-
o(
|
|
59
|
-
|
|
60
|
-
|
|
57
|
+
default: v(() => [
|
|
58
|
+
(f(), _(B, null, {
|
|
59
|
+
default: v(() => [
|
|
60
|
+
o(W, {
|
|
61
|
+
"access-token": G.accessToken,
|
|
62
|
+
onMetadata: e(D)
|
|
61
63
|
}, {
|
|
62
|
-
default:
|
|
63
|
-
e(
|
|
64
|
+
default: v(() => [
|
|
65
|
+
e(M) ? (f(), _(K, {
|
|
64
66
|
key: 1,
|
|
65
67
|
title: "Unable to render Gift card validation module",
|
|
66
68
|
description: "Gift card functionality hasn't been setup for this account. Please contact Octopus PMS for support."
|
|
67
69
|
})) : (f(), A("form", {
|
|
68
70
|
key: 0,
|
|
69
71
|
id: "konnectio-gift-card-validation-module",
|
|
70
|
-
onSubmit: d[3] || (d[3] =
|
|
72
|
+
onSubmit: d[3] || (d[3] = T((g) => e(V)(), ["prevent"]))
|
|
71
73
|
}, [
|
|
72
74
|
t("h4", null, [
|
|
73
75
|
t("span", null, u(e(i)("giftCardValidation.title")), 1)
|
|
74
76
|
]),
|
|
75
77
|
t("p", {
|
|
76
78
|
innerHTML: e(i)("giftCardValidation.description")
|
|
77
|
-
}, null, 8,
|
|
78
|
-
o(
|
|
79
|
+
}, null, 8, ot),
|
|
80
|
+
o(J, {
|
|
79
81
|
modelValue: e(m),
|
|
80
82
|
"onUpdate:modelValue": d[0] || (d[0] = (g) => w(m) ? m.value = g : null),
|
|
81
83
|
icon: "gift-card",
|
|
@@ -86,7 +88,7 @@ const J = { class: "gift-card-validation-skeleton" }, K = { class: "gift-card-va
|
|
|
86
88
|
"onUpdate:isLoading": d[1] || (d[1] = (g) => w(n) ? n.value = g : null),
|
|
87
89
|
onAction: d[2] || (d[2] = (g) => e(V)())
|
|
88
90
|
}, null, 8, ["modelValue", "label", "buttonLabel", "is-loading"]),
|
|
89
|
-
!e(n) && e(h) ? (f(), A("table",
|
|
91
|
+
!e(n) && e(h) ? (f(), A("table", st, [
|
|
90
92
|
t("thead", null, [
|
|
91
93
|
t("tr", null, [
|
|
92
94
|
t("th", null, [
|
|
@@ -121,21 +123,21 @@ const J = { class: "gift-card-validation-skeleton" }, K = { class: "gift-card-va
|
|
|
121
123
|
t("span", null, u(e(a)), 1)
|
|
122
124
|
]),
|
|
123
125
|
t("td", null, [
|
|
124
|
-
t("span", null, u(e(
|
|
126
|
+
t("span", null, u(e(O)(e(p), e(l))), 1)
|
|
125
127
|
]),
|
|
126
128
|
t("td", null, [
|
|
127
|
-
t("span", null, u(e(
|
|
129
|
+
t("span", null, u(e(z)(e(b))), 1)
|
|
128
130
|
])
|
|
129
131
|
])
|
|
130
132
|
])
|
|
131
|
-
])) :
|
|
133
|
+
])) : P("", !0)
|
|
132
134
|
], 32))
|
|
133
135
|
]),
|
|
134
136
|
_: 1
|
|
135
|
-
}, 8, ["access-token"])
|
|
137
|
+
}, 8, ["access-token", "onMetadata"])
|
|
136
138
|
]),
|
|
137
|
-
fallback:
|
|
138
|
-
o(
|
|
139
|
+
fallback: v(() => [
|
|
140
|
+
o(nt)
|
|
139
141
|
]),
|
|
140
142
|
_: 1
|
|
141
143
|
}))
|
|
@@ -143,8 +145,8 @@ const J = { class: "gift-card-validation-skeleton" }, K = { class: "gift-card-va
|
|
|
143
145
|
_: 1
|
|
144
146
|
}, 8, ["styling"]));
|
|
145
147
|
}
|
|
146
|
-
}),
|
|
147
|
-
class
|
|
148
|
+
}), y = /* @__PURE__ */ L(it, [["__scopeId", "data-v-22ec3a4a"]]), lt = H(), rt = Z();
|
|
149
|
+
class dt extends HTMLElement {
|
|
148
150
|
vueApp;
|
|
149
151
|
constructor() {
|
|
150
152
|
super();
|
|
@@ -153,7 +155,7 @@ class lt extends HTMLElement {
|
|
|
153
155
|
this.vueApp.unmount();
|
|
154
156
|
}
|
|
155
157
|
connectedCallback() {
|
|
156
|
-
const s = typeof
|
|
158
|
+
const s = typeof y == "function" ? y.options : y;
|
|
157
159
|
let c = Array.isArray(s.props) ? s.props : Object.keys(s.props || {});
|
|
158
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 = {};
|
|
159
161
|
c = c.map(i);
|
|
@@ -166,13 +168,13 @@ class lt extends HTMLElement {
|
|
|
166
168
|
let n = this.attributes.getNamedItem(a)?.value;
|
|
167
169
|
p.hasOwnProperty(a) && (n = p[a]), h[a] = n;
|
|
168
170
|
}
|
|
169
|
-
this.vueApp =
|
|
171
|
+
this.vueApp = $(y, h), j(this.vueApp), this.vueApp.provide("emitter", rt), this.vueApp.use(lt), this.vueApp.use(R);
|
|
170
172
|
const b = document.createElement("div");
|
|
171
173
|
this.vueApp.mount(b), this.appendChild(b.children[0]);
|
|
172
174
|
}
|
|
173
175
|
}
|
|
174
|
-
window.customElements.define("konnectio-gift-card-validation",
|
|
176
|
+
window.customElements.define("konnectio-gift-card-validation", dt);
|
|
175
177
|
export {
|
|
176
|
-
|
|
178
|
+
dt as default
|
|
177
179
|
};
|
|
178
180
|
//# sourceMappingURL=gift-card-validation.js.map
|
|
Binary file
|