@konnectio/core 4.0.56-rc4 → 4.0.56-rc6
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-UFZMmHDy.js → ActionField-YyW_C34E.js} +27 -28
- package/dist/ActionField-YyW_C34E.js.br +0 -0
- package/dist/AvailabilitySkeleton-lYcDX41T.js +239 -0
- package/dist/AvailabilitySkeleton-lYcDX41T.js.br +0 -0
- package/dist/{CheckoutWindow-2RMgPiGi.js → CheckoutWindow-T7-vrZyG.js} +46 -47
- package/dist/CheckoutWindow-T7-vrZyG.js.br +0 -0
- package/dist/{Container-XBRB0sOV.js → Container-w7O0He-s.js} +6 -7
- package/dist/Container-w7O0He-s.js.br +0 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-o-uoh8_-.js → DateField.vue_vue_type_style_index_0_lang-pLqbpoS_.js} +5 -6
- package/dist/DateField.vue_vue_type_style_index_0_lang-pLqbpoS_.js.br +0 -0
- package/dist/{Field-uK3Wuuv6.js → Field-fWwF40rD.js} +12 -13
- package/dist/Field-fWwF40rD.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-C-MscjWo.js +30461 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-C-MscjWo.js.br +0 -0
- package/dist/{ThankYou-nz4vPX4O.js → ThankYou-pUA2X7-4.js} +569 -569
- package/dist/ThankYou-pUA2X7-4.js.br +0 -0
- package/dist/_-TlutFgf7.js +19 -0
- package/dist/_commonjsHelpers-4t9S7M5p.js +30 -0
- package/dist/availability.js +96 -98
- package/dist/availability.js.br +0 -0
- package/dist/components/Alert.vue.d.ts +4 -4
- package/dist/components/Clickable.vue.d.ts +5 -5
- package/dist/components/Container.vue.d.ts +4 -4
- package/dist/components/ErrorMessage.vue.d.ts +3 -3
- package/dist/components/Gallery.vue.d.ts +4 -4
- package/dist/components/GoogleNotice.vue.d.ts +1 -1
- package/dist/components/Icon.vue.d.ts +4 -4
- package/dist/components/Loading.vue.d.ts +4 -4
- package/dist/components/Spinner.vue.d.ts +1 -1
- package/dist/components/forms/EventAvailabilityForm.vue.d.ts +4 -4
- package/dist/components/forms/HotelAvailabilityForm.vue.d.ts +4 -4
- package/dist/components/forms/HotelReservationForm.vue.d.ts +4 -4
- package/dist/components/forms/MultiStepForm.vue.d.ts +5 -5
- package/dist/components/forms/ReservationForm.vue.d.ts +4 -4
- package/dist/components/forms/_.vue.d.ts +5 -5
- package/dist/components/inputs/Checkbox.vue.d.ts +6 -6
- package/dist/components/inputs/CheckboxField.vue.d.ts +5 -5
- package/dist/components/inputs/DateField.vue.d.ts +5 -5
- package/dist/components/inputs/InputField.vue.d.ts +4 -4
- package/dist/components/inputs/MediaSelector.vue.d.ts +5 -5
- package/dist/components/inputs/NumberField.vue.d.ts +5 -5
- package/dist/components/inputs/SelectField.vue.d.ts +5 -5
- package/dist/components/inputs/TextField.vue.d.ts +6 -6
- package/dist/components/inputs/TimeField.vue.d.ts +4 -4
- package/dist/components/inputs/grouped/ActionField.vue.d.ts +5 -5
- package/dist/components/inputs/grouped/CountryField.vue.d.ts +5 -5
- package/dist/components/inputs/grouped/NameField.vue.d.ts +6 -6
- package/dist/components/inputs/grouped/PhoneField.vue.d.ts +6 -6
- package/dist/components/inputs/grouped/RoomConfigField.vue.d.ts +5 -5
- package/dist/components/listings/Base.vue.d.ts +4 -4
- package/dist/components/listings/Event.vue.d.ts +4 -4
- package/dist/components/listings/Hotel.vue.d.ts +3 -3
- package/dist/components/listings/Template.vue.d.ts +3 -3
- package/dist/components/side-panels/Base.vue.d.ts +5 -5
- package/dist/components/side-panels/ListingInfo.vue.d.ts +3 -3
- package/dist/components/side-panels/Template.vue.d.ts +3 -3
- package/dist/components/side-panels/TermsOfService.vue.d.ts +3 -3
- package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts +4 -4
- package/dist/components/skeletons/Field.vue.d.ts +4 -4
- package/dist/components/skeletons/GiftCardSkeleton.vue.d.ts +1 -1
- package/dist/components/skeletons/HotelSkeleton.vue.d.ts +1 -1
- package/dist/components/skeletons/Listing.vue.d.ts +1 -1
- package/dist/components/skeletons/Sidebar.vue.d.ts +1 -1
- package/dist/components/skeletons/_.vue.d.ts +4 -4
- package/dist/components/views/CheckoutWindow.vue.d.ts +1 -1
- package/dist/components/views/TermsOfService.vue.d.ts +1 -1
- package/dist/components/views/ThankYou.vue.d.ts +4 -4
- package/dist/entries/availability.d.ts +5 -5
- package/dist/entries/event.d.ts +1 -1
- package/dist/entries/gift-card-validation.d.ts +5 -5
- package/dist/entries/gift-card.d.ts +5 -5
- package/dist/entries/hotel.d.ts +5 -5
- package/dist/{event--wgsUkQp.js → event-mDcuoL9g.js} +53 -54
- package/dist/event-mDcuoL9g.js.br +0 -0
- package/dist/event.js +212 -213
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +65 -54
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +286 -276
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.js +1332 -1314
- package/dist/hotel.js.br +0 -0
- package/dist/layouts/Availability.vue.d.ts +4 -4
- package/dist/layouts/Event.vue.d.ts +4 -4
- package/dist/layouts/GiftCard.vue.d.ts +4 -4
- package/dist/layouts/GiftCardValidation.vue.d.ts +4 -4
- package/dist/layouts/Hotel.vue.d.ts +4 -4
- package/dist/layouts/_.vue.d.ts +4 -4
- package/dist/polyfill.js +2 -2
- package/dist/polyfill.js.br +0 -0
- package/dist/store/alert.d.ts +15 -15
- package/dist/store/applyGiftCard.d.ts +18 -18
- package/dist/store/availability.d.ts +12 -12
- package/dist/store/event.d.ts +141 -141
- package/dist/store/giftCard.d.ts +51 -51
- package/dist/store/payment.d.ts +39 -39
- package/dist/store/recaptcha.d.ts +3 -3
- package/dist/store/tracking.d.ts +6 -6
- package/dist/store/utilities.d.ts +129 -129
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +4 -3
- package/dist/ActionField-UFZMmHDy.js.br +0 -0
- package/dist/AvailabilitySkeleton-hVUJYdXH.js +0 -242
- package/dist/AvailabilitySkeleton-hVUJYdXH.js.br +0 -0
- package/dist/CheckoutWindow-2RMgPiGi.js.br +0 -0
- package/dist/Container-XBRB0sOV.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-o-uoh8_-.js.br +0 -0
- package/dist/Field-uK3Wuuv6.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-3YCxOJhZ.js +0 -21472
- package/dist/SelectField.vue_vue_type_style_index_0_lang-3YCxOJhZ.js.br +0 -0
- package/dist/ThankYou-nz4vPX4O.js.br +0 -0
- package/dist/_-oPH7HiaC.js +0 -20
- package/dist/_commonjsHelpers-FF1eOqK0.js +0 -8
- package/dist/event--wgsUkQp.js.br +0 -0
package/dist/event.js.br
CHANGED
|
Binary file
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
const F = (i) => (T("data-v-5af38302"), i = i(), x(), i), j = ["innerHTML"], z = {
|
|
1
|
+
import { k as w, F as A, s as V, a as _, c as S, o as y, m as v, w as g, G as X, p, x as t, H as s, z as a, J as L, l as I, K as C, L as x, M as N, n as T, N as B, P as E, Q as M, R as D, _ as G, U as H, V as U, W as P } from "./SelectField.vue_vue_type_style_index_0_lang-C-MscjWo.js";
|
|
2
|
+
import { A as R } from "./ActionField-YyW_C34E.js";
|
|
3
|
+
import { C as $ } from "./Container-w7O0He-s.js";
|
|
4
|
+
import "./_commonjsHelpers-4t9S7M5p.js";
|
|
5
|
+
const F = (i) => (M("data-v-0b17aac3"), i = i(), D(), i), j = ["innerHTML"], z = {
|
|
7
6
|
key: 0,
|
|
8
7
|
id: "fresh-booking-gift-card-validation-resume",
|
|
9
8
|
class: "fresh-booking-panel"
|
|
10
|
-
}, J = /* @__PURE__ */ F(() => /* @__PURE__ */ t("span", null, "Loading...", -1)), K = /* @__PURE__ */
|
|
9
|
+
}, J = /* @__PURE__ */ F(() => /* @__PURE__ */ t("span", null, "Loading...", -1)), K = /* @__PURE__ */ w({
|
|
11
10
|
name: "GiftCardValidationLayout",
|
|
12
11
|
__name: "GiftCardValidation",
|
|
13
12
|
props: {
|
|
@@ -15,66 +14,66 @@ const F = (i) => (T("data-v-5af38302"), i = i(), x(), i), j = ["innerHTML"], z =
|
|
|
15
14
|
styling: {}
|
|
16
15
|
},
|
|
17
16
|
setup(i) {
|
|
18
|
-
const { t:
|
|
19
|
-
voucher:
|
|
20
|
-
isValid:
|
|
21
|
-
amount:
|
|
22
|
-
expirationDate:
|
|
23
|
-
productName:
|
|
24
|
-
isLoading:
|
|
25
|
-
} =
|
|
26
|
-
return (
|
|
27
|
-
default:
|
|
28
|
-
(
|
|
29
|
-
default:
|
|
30
|
-
|
|
17
|
+
const { t: e } = A(), {
|
|
18
|
+
voucher: l,
|
|
19
|
+
isValid: c,
|
|
20
|
+
amount: r,
|
|
21
|
+
expirationDate: u,
|
|
22
|
+
productName: f,
|
|
23
|
+
isLoading: o
|
|
24
|
+
} = V(_()), { currency: m } = V(S()), { apply: h } = _();
|
|
25
|
+
return (k, n) => (y(), v($, { styling: k.styling }, {
|
|
26
|
+
default: g(() => [
|
|
27
|
+
(y(), v(X, null, {
|
|
28
|
+
default: g(() => [
|
|
29
|
+
p(E, {
|
|
31
30
|
id: "fresh-booking-gift-card-validation-module",
|
|
32
|
-
"access-token":
|
|
31
|
+
"access-token": k.accessToken,
|
|
33
32
|
type: "gift-card"
|
|
34
33
|
}, {
|
|
35
|
-
default:
|
|
34
|
+
default: g(() => [
|
|
36
35
|
t("form", {
|
|
37
|
-
onSubmit: n[3] || (n[3] =
|
|
36
|
+
onSubmit: n[3] || (n[3] = B((d) => a(h)(), ["prevent"]))
|
|
38
37
|
}, [
|
|
39
38
|
t("h4", null, [
|
|
40
|
-
t("span", null,
|
|
39
|
+
t("span", null, s(a(e)("giftCardValidation.title")), 1)
|
|
41
40
|
]),
|
|
42
41
|
t("p", {
|
|
43
|
-
innerHTML: a(
|
|
42
|
+
innerHTML: a(e)("giftCardValidation.description")
|
|
44
43
|
}, null, 8, j),
|
|
45
|
-
|
|
46
|
-
modelValue: a(
|
|
47
|
-
"onUpdate:modelValue": n[0] || (n[0] = (
|
|
44
|
+
p(R, {
|
|
45
|
+
modelValue: a(l),
|
|
46
|
+
"onUpdate:modelValue": n[0] || (n[0] = (d) => L(l) ? l.value = d : null),
|
|
48
47
|
icon: "gift-card",
|
|
49
|
-
label: a(
|
|
50
|
-
buttonLabel: a(
|
|
48
|
+
label: a(e)("booking.reservation.giftCardCode"),
|
|
49
|
+
buttonLabel: a(e)("giftCardValidation.submitButton"),
|
|
51
50
|
placeholder: "XXXXXXXX",
|
|
52
|
-
"is-loading": a(
|
|
53
|
-
"onUpdate:isLoading": n[1] || (n[1] = (
|
|
54
|
-
onAction: n[2] || (n[2] = (
|
|
51
|
+
"is-loading": a(o),
|
|
52
|
+
"onUpdate:isLoading": n[1] || (n[1] = (d) => L(o) ? o.value = d : null),
|
|
53
|
+
onAction: n[2] || (n[2] = (d) => a(h)())
|
|
55
54
|
}, null, 8, ["modelValue", "label", "buttonLabel", "is-loading"]),
|
|
56
|
-
!a(
|
|
55
|
+
!a(o) && a(c) ? (y(), I("table", z, [
|
|
57
56
|
t("thead", null, [
|
|
58
57
|
t("tr", null, [
|
|
59
58
|
t("th", null, [
|
|
60
|
-
t("span", null,
|
|
61
|
-
|
|
59
|
+
t("span", null, s(a(e)("giftCardValidation.giftCard")), 1),
|
|
60
|
+
p(C, {
|
|
62
61
|
icon: "gift-card",
|
|
63
62
|
type: "fas",
|
|
64
63
|
color: "header"
|
|
65
64
|
})
|
|
66
65
|
]),
|
|
67
66
|
t("th", null, [
|
|
68
|
-
t("span", null,
|
|
69
|
-
|
|
67
|
+
t("span", null, s(a(e)("giftCardValidation.balance")), 1),
|
|
68
|
+
p(C, {
|
|
70
69
|
icon: "money-bill",
|
|
71
70
|
type: "fas",
|
|
72
71
|
color: "header"
|
|
73
72
|
})
|
|
74
73
|
]),
|
|
75
74
|
t("th", null, [
|
|
76
|
-
t("span", null,
|
|
77
|
-
|
|
75
|
+
t("span", null, s(a(e)("giftCardValidation.expirationDate")), 1),
|
|
76
|
+
p(C, {
|
|
78
77
|
icon: "timer",
|
|
79
78
|
type: "fas",
|
|
80
79
|
color: "header"
|
|
@@ -85,23 +84,23 @@ const F = (i) => (T("data-v-5af38302"), i = i(), x(), i), j = ["innerHTML"], z =
|
|
|
85
84
|
t("tbody", null, [
|
|
86
85
|
t("tr", null, [
|
|
87
86
|
t("td", null, [
|
|
88
|
-
t("span", null,
|
|
87
|
+
t("span", null, s(a(f)), 1)
|
|
89
88
|
]),
|
|
90
89
|
t("td", null, [
|
|
91
|
-
t("span", null,
|
|
90
|
+
t("span", null, s(a(x)(a(r), a(m))), 1)
|
|
92
91
|
]),
|
|
93
92
|
t("td", null, [
|
|
94
|
-
t("span", null,
|
|
93
|
+
t("span", null, s(a(N)(a(u))), 1)
|
|
95
94
|
])
|
|
96
95
|
])
|
|
97
96
|
])
|
|
98
|
-
])) :
|
|
97
|
+
])) : T("", !0)
|
|
99
98
|
], 32)
|
|
100
99
|
]),
|
|
101
100
|
_: 1
|
|
102
101
|
}, 8, ["access-token"])
|
|
103
102
|
]),
|
|
104
|
-
fallback:
|
|
103
|
+
fallback: g(() => [
|
|
105
104
|
J
|
|
106
105
|
]),
|
|
107
106
|
_: 1
|
|
@@ -110,15 +109,27 @@ const F = (i) => (T("data-v-5af38302"), i = i(), x(), i), j = ["innerHTML"], z =
|
|
|
110
109
|
_: 1
|
|
111
110
|
}, 8, ["styling"]));
|
|
112
111
|
}
|
|
113
|
-
}),
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
const at = {
|
|
118
|
-
install: (i) => {
|
|
119
|
-
i.component("GiftCardValidation", h);
|
|
112
|
+
}), b = /* @__PURE__ */ G(K, [["__scopeId", "data-v-0b17aac3"]]), O = H();
|
|
113
|
+
class Q extends HTMLElement {
|
|
114
|
+
constructor() {
|
|
115
|
+
super();
|
|
120
116
|
}
|
|
121
|
-
|
|
117
|
+
connectedCallback() {
|
|
118
|
+
var f;
|
|
119
|
+
const e = typeof b == "function" ? b.options : b, l = Array.isArray(e.props) ? e.props : Object.keys(e.props || {}), c = {};
|
|
120
|
+
for (const o of l) {
|
|
121
|
+
const m = (f = this.attributes.getNamedItem(o)) == null ? void 0 : f.value;
|
|
122
|
+
if (!m)
|
|
123
|
+
break;
|
|
124
|
+
c[o] = m;
|
|
125
|
+
}
|
|
126
|
+
const r = U(b, c);
|
|
127
|
+
r.use(O), r.use(P);
|
|
128
|
+
const u = document.createElement("div");
|
|
129
|
+
r.mount(u), this.appendChild(u.children[0]);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
window.customElements.define("konnectio-gift-card-validation", Q);
|
|
122
133
|
export {
|
|
123
|
-
|
|
134
|
+
Q as default
|
|
124
135
|
};
|
|
Binary file
|