@konnectio/core 4.0.56-rc3 → 4.0.56-rc31
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-9I-yAskc.js → ActionField-qP-3ktN4.js} +25 -26
- package/dist/ActionField-qP-3ktN4.js.br +0 -0
- package/dist/AvailabilitySkeleton-uaCnfwHM.js +7665 -0
- package/dist/AvailabilitySkeleton-uaCnfwHM.js.br +0 -0
- package/dist/CheckoutWindow-RWkSWvbk.js +659 -0
- package/dist/CheckoutWindow-RWkSWvbk.js.br +0 -0
- package/dist/ErrorMessage-z0JJ8Q3W.js +36 -0
- package/dist/ErrorMessage-z0JJ8Q3W.js.br +0 -0
- package/dist/EventAvailabilityForm-LIgUj1t3.js +325 -0
- package/dist/EventAvailabilityForm-LIgUj1t3.js.br +0 -0
- package/dist/Field-C9r1d8IB.js +30985 -0
- package/dist/Field-C9r1d8IB.js.br +0 -0
- package/dist/HotelAvailabilityForm-AQ4VA15t.js +212 -0
- package/dist/HotelAvailabilityForm-AQ4VA15t.js.br +0 -0
- package/dist/TermsOfService-oZz-B-KI.js +26 -0
- package/dist/_commonjsHelpers-f3sTPFkQ.js +8 -0
- package/dist/availability.js +85 -147
- package/dist/availability.js.br +0 -0
- package/dist/event.js +540 -453
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +90 -56
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +368 -336
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.js +1259 -2264
- package/dist/hotel.js.br +0 -0
- package/dist/masonry.plugin-fa0tia29.js +12714 -0
- package/dist/masonry.plugin-fa0tia29.js.br +0 -0
- package/dist/polyfill.js +3358 -3315
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +32 -28
- package/dist/ActionField-9I-yAskc.js.br +0 -0
- package/dist/AvailabilitySkeleton-hoauL0os.js +0 -242
- package/dist/AvailabilitySkeleton-hoauL0os.js.br +0 -0
- package/dist/CheckoutWindow-31th413C.js +0 -206
- package/dist/CheckoutWindow-31th413C.js.br +0 -0
- package/dist/Container-gHSYMY7q.js +0 -69
- package/dist/Container-gHSYMY7q.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-mpnWj2LD.js +0 -8567
- package/dist/DateField.vue_vue_type_style_index_0_lang-mpnWj2LD.js.br +0 -0
- package/dist/Field-QHvFgmEq.js +0 -43
- package/dist/Field-QHvFgmEq.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-j_yHB51P.js +0 -21472
- package/dist/SelectField.vue_vue_type_style_index_0_lang-j_yHB51P.js.br +0 -0
- package/dist/ThankYou-SQ_bbgj4.js +0 -13316
- package/dist/ThankYou-SQ_bbgj4.js.br +0 -0
- package/dist/_-FedWhJCw.js +0 -20
- package/dist/_commonjsHelpers-FF1eOqK0.js +0 -8
- package/dist/assets/typescript/mixins.d.ts +0 -34
- package/dist/availability.d.ts +0 -3
- package/dist/components/Alert.vue.d.ts +0 -28
- package/dist/components/Alert.vue.d.ts.map +0 -1
- package/dist/components/Clickable.vue.d.ts +0 -60
- package/dist/components/Clickable.vue.d.ts.map +0 -1
- package/dist/components/Container.vue.d.ts +0 -23
- package/dist/components/Container.vue.d.ts.map +0 -1
- package/dist/components/ErrorMessage.vue.d.ts +0 -15
- package/dist/components/ErrorMessage.vue.d.ts.map +0 -1
- package/dist/components/Gallery.vue.d.ts +0 -31
- package/dist/components/Gallery.vue.d.ts.map +0 -1
- package/dist/components/GoogleNotice.vue.d.ts +0 -2
- package/dist/components/GoogleNotice.vue.d.ts.map +0 -1
- package/dist/components/Icon.vue.d.ts +0 -38
- package/dist/components/Icon.vue.d.ts.map +0 -1
- package/dist/components/Loading.vue.d.ts +0 -29
- package/dist/components/Loading.vue.d.ts.map +0 -1
- package/dist/components/Spinner.vue.d.ts +0 -2
- package/dist/components/Spinner.vue.d.ts.map +0 -1
- package/dist/components/forms/EventAvailabilityForm.vue.d.ts +0 -18
- package/dist/components/forms/EventAvailabilityForm.vue.d.ts.map +0 -1
- package/dist/components/forms/HotelAvailabilityForm.vue.d.ts +0 -34
- package/dist/components/forms/HotelAvailabilityForm.vue.d.ts.map +0 -1
- package/dist/components/forms/HotelReservationForm.vue.d.ts +0 -41
- package/dist/components/forms/HotelReservationForm.vue.d.ts.map +0 -1
- package/dist/components/forms/MultiStepForm.vue.d.ts +0 -43
- package/dist/components/forms/MultiStepForm.vue.d.ts.map +0 -1
- package/dist/components/forms/ReservationForm.vue.d.ts +0 -63
- package/dist/components/forms/ReservationForm.vue.d.ts.map +0 -1
- package/dist/components/forms/_.vue.d.ts +0 -42
- package/dist/components/forms/_.vue.d.ts.map +0 -1
- package/dist/components/inputs/Checkbox.vue.d.ts +0 -55
- package/dist/components/inputs/Checkbox.vue.d.ts.map +0 -1
- package/dist/components/inputs/CheckboxField.vue.d.ts +0 -29
- package/dist/components/inputs/CheckboxField.vue.d.ts.map +0 -1
- package/dist/components/inputs/DateField.vue.d.ts +0 -104
- package/dist/components/inputs/DateField.vue.d.ts.map +0 -1
- package/dist/components/inputs/InputField.vue.d.ts +0 -62
- package/dist/components/inputs/InputField.vue.d.ts.map +0 -1
- package/dist/components/inputs/MediaSelector.vue.d.ts +0 -43
- package/dist/components/inputs/MediaSelector.vue.d.ts.map +0 -1
- package/dist/components/inputs/NumberField.vue.d.ts +0 -87
- package/dist/components/inputs/NumberField.vue.d.ts.map +0 -1
- package/dist/components/inputs/SelectField.vue.d.ts +0 -90
- package/dist/components/inputs/SelectField.vue.d.ts.map +0 -1
- package/dist/components/inputs/TextField.vue.d.ts +0 -68
- package/dist/components/inputs/TextField.vue.d.ts.map +0 -1
- package/dist/components/inputs/TimeField.vue.d.ts +0 -44
- package/dist/components/inputs/TimeField.vue.d.ts.map +0 -1
- package/dist/components/inputs/grouped/ActionField.vue.d.ts +0 -72
- package/dist/components/inputs/grouped/ActionField.vue.d.ts.map +0 -1
- package/dist/components/inputs/grouped/CountryField.vue.d.ts +0 -41
- package/dist/components/inputs/grouped/CountryField.vue.d.ts.map +0 -1
- package/dist/components/inputs/grouped/NameField.vue.d.ts +0 -71
- package/dist/components/inputs/grouped/NameField.vue.d.ts.map +0 -1
- package/dist/components/inputs/grouped/PhoneField.vue.d.ts +0 -51
- package/dist/components/inputs/grouped/PhoneField.vue.d.ts.map +0 -1
- package/dist/components/inputs/grouped/RoomConfigField.vue.d.ts +0 -47
- package/dist/components/inputs/grouped/RoomConfigField.vue.d.ts.map +0 -1
- package/dist/components/listings/Base.vue.d.ts +0 -56
- package/dist/components/listings/Base.vue.d.ts.map +0 -1
- package/dist/components/listings/Event.vue.d.ts +0 -47
- package/dist/components/listings/Event.vue.d.ts.map +0 -1
- package/dist/components/listings/Hotel.vue.d.ts +0 -16
- package/dist/components/listings/Hotel.vue.d.ts.map +0 -1
- package/dist/components/listings/Template.vue.d.ts +0 -21
- package/dist/components/listings/Template.vue.d.ts.map +0 -1
- package/dist/components/side-panels/Base.vue.d.ts +0 -61
- package/dist/components/side-panels/Base.vue.d.ts.map +0 -1
- package/dist/components/side-panels/ListingInfo.vue.d.ts +0 -18
- package/dist/components/side-panels/ListingInfo.vue.d.ts.map +0 -1
- package/dist/components/side-panels/Template.vue.d.ts +0 -18
- package/dist/components/side-panels/Template.vue.d.ts.map +0 -1
- package/dist/components/side-panels/TermsOfService.vue.d.ts +0 -14
- package/dist/components/side-panels/TermsOfService.vue.d.ts.map +0 -1
- package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts +0 -33
- package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts.map +0 -1
- package/dist/components/skeletons/Field.vue.d.ts +0 -36
- package/dist/components/skeletons/Field.vue.d.ts.map +0 -1
- package/dist/components/skeletons/GiftCardSkeleton.vue.d.ts +0 -2
- package/dist/components/skeletons/GiftCardSkeleton.vue.d.ts.map +0 -1
- package/dist/components/skeletons/HotelSkeleton.vue.d.ts +0 -2
- package/dist/components/skeletons/HotelSkeleton.vue.d.ts.map +0 -1
- package/dist/components/skeletons/Listing.vue.d.ts +0 -2
- package/dist/components/skeletons/Listing.vue.d.ts.map +0 -1
- package/dist/components/skeletons/Sidebar.vue.d.ts +0 -2
- package/dist/components/skeletons/Sidebar.vue.d.ts.map +0 -1
- package/dist/components/skeletons/_.vue.d.ts +0 -36
- package/dist/components/skeletons/_.vue.d.ts.map +0 -1
- package/dist/components/views/CheckoutWindow.vue.d.ts +0 -2
- package/dist/components/views/CheckoutWindow.vue.d.ts.map +0 -1
- package/dist/components/views/TermsOfService.vue.d.ts +0 -2
- package/dist/components/views/TermsOfService.vue.d.ts.map +0 -1
- package/dist/components/views/ThankYou.vue.d.ts +0 -15
- package/dist/components/views/ThankYou.vue.d.ts.map +0 -1
- package/dist/entries/availability.d.ts +0 -5
- package/dist/entries/event.d.ts +0 -2
- package/dist/entries/gift-card-validation.d.ts +0 -5
- package/dist/entries/gift-card.d.ts +0 -5
- package/dist/entries/hotel.d.ts +0 -5
- package/dist/entries/navigation.d.ts +0 -1
- package/dist/entries/polyfill.d.ts +0 -0
- package/dist/event-4kCWoqDL.js +0 -359
- package/dist/event-4kCWoqDL.js.br +0 -0
- package/dist/event.d.ts +0 -3
- package/dist/gift-card-validation.d.ts +0 -3
- package/dist/gift-card.d.ts +0 -3
- package/dist/hotel.d.ts +0 -3
- package/dist/layouts/Availability.vue.d.ts +0 -25
- package/dist/layouts/Event.vue.d.ts +0 -18
- package/dist/layouts/GiftCard.vue.d.ts +0 -32
- package/dist/layouts/GiftCardValidation.vue.d.ts +0 -18
- package/dist/layouts/Hotel.vue.d.ts +0 -36
- package/dist/layouts/_.vue.d.ts +0 -39
- package/dist/navigation.d.ts +0 -1
- package/dist/plugins/i18n.d.ts +0 -5
- package/dist/polyfill.d.ts +0 -1
- package/dist/store/alert.d.ts +0 -28
- package/dist/store/applyGiftCard.d.ts +0 -28
- package/dist/store/availability.d.ts +0 -40
- package/dist/store/event.d.ts +0 -683
- package/dist/store/giftCard.d.ts +0 -83
- package/dist/store/payment.d.ts +0 -139
- package/dist/store/recaptcha.d.ts +0 -28
- package/dist/store/tracking.d.ts +0 -57
- package/dist/store/utilities.d.ts +0 -350
- package/dist/types/index.d.ts +0 -976
package/dist/event.js.br
CHANGED
|
Binary file
|
|
@@ -1,80 +1,94 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { d as w, f as h, g as S, h as t, m as s, a0 as _, a1 as y, v as X, u as E, s as V, P as A, c as $, k as x, x as m, S as G, A as c, j as e, $ as L, a2 as k, a3 as T, a4 as B, l as D, q as I, D as M, E as N, J as P, K as U, L as j, M as z } from "./Field-C9r1d8IB.js";
|
|
2
|
+
import { A as H } from "./ActionField-qP-3ktN4.js";
|
|
3
|
+
const O = { class: "gift-card-validation-skeleton" }, F = { class: "gift-card-validation-skeleton-form" }, R = { class: "gift-card-validation-skeleton-text" }, Z = { class: "gift-card-validation-skeleton-input" }, q = /* @__PURE__ */ w({
|
|
4
|
+
__name: "GiftCardValidationSkeleton",
|
|
5
|
+
setup(C) {
|
|
6
|
+
return (n, l) => (h(), S("div", O, [
|
|
7
|
+
t("div", F, [
|
|
8
|
+
t("div", R, [
|
|
9
|
+
s(_, { height: "20px" }),
|
|
10
|
+
s(_, { height: "15px" }),
|
|
11
|
+
s(_, { height: "15px" })
|
|
12
|
+
]),
|
|
13
|
+
t("div", Z, [
|
|
14
|
+
s(y),
|
|
15
|
+
s(y, { "no-label": "" })
|
|
16
|
+
])
|
|
17
|
+
])
|
|
18
|
+
]));
|
|
19
|
+
}
|
|
20
|
+
}), J = /* @__PURE__ */ X(q, [["__scopeId", "data-v-b1601b74"]]), K = ["innerHTML"], Q = {
|
|
7
21
|
key: 0,
|
|
8
22
|
id: "fresh-booking-gift-card-validation-resume",
|
|
9
23
|
class: "fresh-booking-panel"
|
|
10
|
-
},
|
|
24
|
+
}, W = /* @__PURE__ */ w({
|
|
11
25
|
name: "GiftCardValidationLayout",
|
|
12
26
|
__name: "GiftCardValidation",
|
|
13
27
|
props: {
|
|
14
28
|
accessToken: {},
|
|
15
29
|
styling: {}
|
|
16
30
|
},
|
|
17
|
-
setup(
|
|
18
|
-
const { t:
|
|
19
|
-
voucher:
|
|
20
|
-
isValid:
|
|
21
|
-
amount:
|
|
22
|
-
expirationDate:
|
|
23
|
-
productName:
|
|
24
|
-
isLoading:
|
|
25
|
-
} =
|
|
26
|
-
return (
|
|
27
|
-
default:
|
|
28
|
-
(
|
|
29
|
-
default:
|
|
31
|
+
setup(C) {
|
|
32
|
+
const { t: n } = E(), {
|
|
33
|
+
voucher: l,
|
|
34
|
+
isValid: v,
|
|
35
|
+
amount: b,
|
|
36
|
+
expirationDate: f,
|
|
37
|
+
productName: d,
|
|
38
|
+
isLoading: p
|
|
39
|
+
} = V(A()), { currency: a } = V($()), { apply: o } = A();
|
|
40
|
+
return (i, r) => (h(), x(N, { styling: i.styling }, {
|
|
41
|
+
default: m(() => [
|
|
42
|
+
(h(), x(G, null, {
|
|
43
|
+
default: m(() => [
|
|
30
44
|
s(M, {
|
|
31
45
|
id: "fresh-booking-gift-card-validation-module",
|
|
32
|
-
"access-token":
|
|
46
|
+
"access-token": i.accessToken,
|
|
33
47
|
type: "gift-card"
|
|
34
48
|
}, {
|
|
35
|
-
default:
|
|
49
|
+
default: m(() => [
|
|
36
50
|
t("form", {
|
|
37
|
-
onSubmit:
|
|
51
|
+
onSubmit: r[3] || (r[3] = I((u) => e(o)(), ["prevent"]))
|
|
38
52
|
}, [
|
|
39
53
|
t("h4", null, [
|
|
40
|
-
t("span", null, e(
|
|
54
|
+
t("span", null, c(e(n)("giftCardValidation.title")), 1)
|
|
41
55
|
]),
|
|
42
56
|
t("p", {
|
|
43
|
-
innerHTML:
|
|
44
|
-
}, null, 8,
|
|
45
|
-
s(
|
|
46
|
-
modelValue:
|
|
47
|
-
"onUpdate:modelValue":
|
|
57
|
+
innerHTML: e(n)("giftCardValidation.description")
|
|
58
|
+
}, null, 8, K),
|
|
59
|
+
s(H, {
|
|
60
|
+
modelValue: e(l),
|
|
61
|
+
"onUpdate:modelValue": r[0] || (r[0] = (u) => L(l) ? l.value = u : null),
|
|
48
62
|
icon: "gift-card",
|
|
49
|
-
label:
|
|
50
|
-
buttonLabel:
|
|
63
|
+
label: e(n)("booking.reservation.giftCardCode"),
|
|
64
|
+
buttonLabel: e(n)("giftCardValidation.submitButton"),
|
|
51
65
|
placeholder: "XXXXXXXX",
|
|
52
|
-
"is-loading":
|
|
53
|
-
"onUpdate:isLoading":
|
|
54
|
-
onAction:
|
|
66
|
+
"is-loading": e(p),
|
|
67
|
+
"onUpdate:isLoading": r[1] || (r[1] = (u) => L(p) ? p.value = u : null),
|
|
68
|
+
onAction: r[2] || (r[2] = (u) => e(o)())
|
|
55
69
|
}, null, 8, ["modelValue", "label", "buttonLabel", "is-loading"]),
|
|
56
|
-
!
|
|
70
|
+
!e(p) && e(v) ? (h(), S("table", Q, [
|
|
57
71
|
t("thead", null, [
|
|
58
72
|
t("tr", null, [
|
|
59
73
|
t("th", null, [
|
|
60
|
-
t("span", null, e(
|
|
61
|
-
s(
|
|
74
|
+
t("span", null, c(e(n)("giftCardValidation.giftCard")), 1),
|
|
75
|
+
s(k, {
|
|
62
76
|
icon: "gift-card",
|
|
63
77
|
type: "fas",
|
|
64
78
|
color: "header"
|
|
65
79
|
})
|
|
66
80
|
]),
|
|
67
81
|
t("th", null, [
|
|
68
|
-
t("span", null, e(
|
|
69
|
-
s(
|
|
82
|
+
t("span", null, c(e(n)("giftCardValidation.balance")), 1),
|
|
83
|
+
s(k, {
|
|
70
84
|
icon: "money-bill",
|
|
71
85
|
type: "fas",
|
|
72
86
|
color: "header"
|
|
73
87
|
})
|
|
74
88
|
]),
|
|
75
89
|
t("th", null, [
|
|
76
|
-
t("span", null, e(
|
|
77
|
-
s(
|
|
90
|
+
t("span", null, c(e(n)("giftCardValidation.expirationDate")), 1),
|
|
91
|
+
s(k, {
|
|
78
92
|
icon: "timer",
|
|
79
93
|
type: "fas",
|
|
80
94
|
color: "header"
|
|
@@ -85,24 +99,24 @@ const F = (i) => (T("data-v-5af38302"), i = i(), x(), i), j = ["innerHTML"], z =
|
|
|
85
99
|
t("tbody", null, [
|
|
86
100
|
t("tr", null, [
|
|
87
101
|
t("td", null, [
|
|
88
|
-
t("span", null, e(
|
|
102
|
+
t("span", null, c(e(d)), 1)
|
|
89
103
|
]),
|
|
90
104
|
t("td", null, [
|
|
91
|
-
t("span", null, e(
|
|
105
|
+
t("span", null, c(e(T)(e(b), e(a))), 1)
|
|
92
106
|
]),
|
|
93
107
|
t("td", null, [
|
|
94
|
-
t("span", null, e(
|
|
108
|
+
t("span", null, c(e(B)(e(f))), 1)
|
|
95
109
|
])
|
|
96
110
|
])
|
|
97
111
|
])
|
|
98
|
-
])) :
|
|
112
|
+
])) : D("", !0)
|
|
99
113
|
], 32)
|
|
100
114
|
]),
|
|
101
115
|
_: 1
|
|
102
116
|
}, 8, ["access-token"])
|
|
103
117
|
]),
|
|
104
|
-
fallback:
|
|
105
|
-
J
|
|
118
|
+
fallback: m(() => [
|
|
119
|
+
s(J)
|
|
106
120
|
]),
|
|
107
121
|
_: 1
|
|
108
122
|
}))
|
|
@@ -110,15 +124,35 @@ const F = (i) => (T("data-v-5af38302"), i = i(), x(), i), j = ["innerHTML"], z =
|
|
|
110
124
|
_: 1
|
|
111
125
|
}, 8, ["styling"]));
|
|
112
126
|
}
|
|
113
|
-
}),
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
install: (i) => {
|
|
119
|
-
i.component("GiftCardValidation", h);
|
|
127
|
+
}), g = /* @__PURE__ */ X(W, [["__scopeId", "data-v-b19b4a0e"]]), Y = P(), tt = z();
|
|
128
|
+
class et extends HTMLElement {
|
|
129
|
+
vueApp;
|
|
130
|
+
constructor() {
|
|
131
|
+
super();
|
|
120
132
|
}
|
|
121
|
-
|
|
133
|
+
disconnectedCallback() {
|
|
134
|
+
this.vueApp.unmount();
|
|
135
|
+
}
|
|
136
|
+
connectedCallback() {
|
|
137
|
+
const n = typeof g == "function" ? g.options : g;
|
|
138
|
+
let l = Array.isArray(n.props) ? n.props : Object.keys(n.props || {});
|
|
139
|
+
const v = (a) => a.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (o, i) => (i ? "-" : "") + o.toLowerCase()), b = (a) => a.replace(/-./g, (o) => o[1].toUpperCase()), f = {};
|
|
140
|
+
l = l.map(v);
|
|
141
|
+
const d = {};
|
|
142
|
+
for (const a of this.attributes) {
|
|
143
|
+
const i = a.name.split(".");
|
|
144
|
+
i.length > 1 && (d[i[0]] || (d[i[0]] = {}), d[i[0]][b(i[1])] = a.value);
|
|
145
|
+
}
|
|
146
|
+
for (const a of l) {
|
|
147
|
+
let o = this.attributes.getNamedItem(a)?.value;
|
|
148
|
+
d.hasOwnProperty(a) && (o = d[a]), f[a] = o;
|
|
149
|
+
}
|
|
150
|
+
this.vueApp = U(g, f), this.vueApp.provide("emitter", tt), this.vueApp.use(Y), this.vueApp.use(j);
|
|
151
|
+
const p = document.createElement("div");
|
|
152
|
+
this.vueApp.mount(p), this.appendChild(p.children[0]);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
window.customElements.define("konnectio-gift-card-validation", et);
|
|
122
156
|
export {
|
|
123
|
-
|
|
157
|
+
et as default
|
|
124
158
|
};
|
|
Binary file
|