@konnectio/core 4.0.90 → 4.0.92
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-CKTAIwlG.js → ActionField-CgMznDNS.js} +3 -3
- package/dist/ActionField-CgMznDNS.js.br +0 -0
- package/dist/{AvailabilitySkeleton-Yda51kLP.js → AvailabilitySkeleton-B12FSS31.js} +21 -21
- package/dist/AvailabilitySkeleton-B12FSS31.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-W7VRxfL4.js +9079 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-W7VRxfL4.js.br +0 -0
- package/dist/{CheckoutWindow-Cm1ExHuS.js → CheckoutWindow-BoEtvp4P.js} +26 -26
- package/dist/CheckoutWindow-BoEtvp4P.js.br +0 -0
- package/dist/{ErrorMessage-6KMjarXT.js → ErrorMessage-CvJnQM2S.js} +3 -3
- package/dist/ErrorMessage-CvJnQM2S.js.br +0 -0
- package/dist/EventAvailabilityForm-D_KjLqgK.js +113 -0
- package/dist/EventAvailabilityForm-D_KjLqgK.js.br +0 -0
- package/dist/{Field-B-kcgOnl.js → Field-Ce6P6QCM.js} +4 -4
- package/dist/Field-Ce6P6QCM.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DES0JVHq.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CtysUXs-.js} +5 -5
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-CNCc38J_.js → SelectField.vue_vue_type_style_index_0_lang-DeqWEc4j.js} +2966 -2954
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DeqWEc4j.js.br +0 -0
- package/dist/{TermsOfService-DWEQVnMu.js → TermsOfService-DS18Dl-L.js} +4 -4
- package/dist/_-Csc-2ekB.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-B7aH7s4j.js → _.vue_vue_type_style_index_0_lang-CXamzQ3j.js} +3 -3
- package/dist/availability.js +6 -6
- package/dist/availability.js.br +0 -0
- package/dist/cancel-reservation.js +4 -4
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/deep-link.js +1 -1
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +572 -496
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +9 -9
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +10 -10
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-BcTiLShb.js → giftCard-Dx--Stye.js} +3 -3
- package/dist/giftCard-Dx--Stye.js.br +0 -0
- package/dist/hotel.js +385 -383
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-BiQsiic0.js → masonry.plugin-CPsNk-yp.js} +7 -7
- package/dist/masonry.plugin-CPsNk-yp.js.br +0 -0
- package/dist/{mitt-B7wNuBju.js → mitt-BGszhQ2P.js} +5459 -5617
- package/dist/mitt-BGszhQ2P.js.br +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/{style-B-eJeldE.js → style-Csy5Jdgv.js} +2 -2
- package/dist/style-Csy5Jdgv.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +14 -14
- package/dist/ActionField-CKTAIwlG.js.br +0 -0
- package/dist/AvailabilitySkeleton-Yda51kLP.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-DJtuvKY-.js +0 -8697
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-DJtuvKY-.js.br +0 -0
- package/dist/CheckoutWindow-Cm1ExHuS.js.br +0 -0
- package/dist/ErrorMessage-6KMjarXT.js.br +0 -0
- package/dist/EventAvailabilityForm-uKOuEFLO.js +0 -110
- package/dist/EventAvailabilityForm-uKOuEFLO.js.br +0 -0
- package/dist/Field-B-kcgOnl.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-CNCc38J_.js.br +0 -0
- package/dist/_-B1Ghb3H_.js +0 -5
- package/dist/giftCard-BcTiLShb.js.br +0 -0
- package/dist/masonry.plugin-BiQsiic0.js.br +0 -0
- package/dist/mitt-B7wNuBju.js.br +0 -0
- package/dist/style-B-eJeldE.js.br +0 -0
package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-DJtuvKY-.js.br
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import { d as A, s as B, u as F, r as y, c as i, a as s, g as L, f as u, w as S, i as o, F as T, b as w, j as U, e as x, C as z, n as I, h as $ } from "./mitt-B7wNuBju.js";
|
|
2
|
-
import { u as g, T as j, d as q, e as G, q as H, _ as M } from "./SelectField.vue_vue_type_style_index_0_lang-CNCc38J_.js";
|
|
3
|
-
import { u as R, _ as J } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-DJtuvKY-.js";
|
|
4
|
-
const K = {
|
|
5
|
-
class: "konnectio-search-button",
|
|
6
|
-
key: "search"
|
|
7
|
-
}, O = /* @__PURE__ */ A({
|
|
8
|
-
__name: "EventAvailabilityForm",
|
|
9
|
-
props: {
|
|
10
|
-
redirection: { type: Boolean, default: !0 },
|
|
11
|
-
link: {},
|
|
12
|
-
selectedLocation: { default: NaN }
|
|
13
|
-
},
|
|
14
|
-
setup(h) {
|
|
15
|
-
const a = h, {
|
|
16
|
-
eventLocation: d,
|
|
17
|
-
eventLocations: m,
|
|
18
|
-
hasEventLocations: v,
|
|
19
|
-
eventLocationControl: V,
|
|
20
|
-
eventDate: p
|
|
21
|
-
} = B(g()), { updateEventAvailability: D } = g(), { fetchListings: _ } = R(), { t: n } = F(), N = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 1)).setHours(12, 0, 0, 0)), f = y(V.value), b = y(N()), c = i({
|
|
22
|
-
get: () => a.redirection ? f.value : d.value,
|
|
23
|
-
set: (e) => {
|
|
24
|
-
a.redirection ? f.value = Number(e) : d.value = Number(e);
|
|
25
|
-
}
|
|
26
|
-
}), r = i({
|
|
27
|
-
get: () => a.redirection ? b.value : p.value,
|
|
28
|
-
set: (e) => {
|
|
29
|
-
a.redirection ? b.value = e : p.value = e;
|
|
30
|
-
}
|
|
31
|
-
}), C = i(() => typeof a.link != "string"), k = i(() => {
|
|
32
|
-
const e = m.value.find(({ id: t }) => t === a.selectedLocation);
|
|
33
|
-
return e ? e.name : "";
|
|
34
|
-
});
|
|
35
|
-
function E() {
|
|
36
|
-
if (a.redirection === !0)
|
|
37
|
-
if (D({
|
|
38
|
-
date: r.value,
|
|
39
|
-
location: c.value
|
|
40
|
-
}), C.value) {
|
|
41
|
-
const e = H();
|
|
42
|
-
a.link[e] ? window.location.replace(a.link[e]) : a.link.en && window.location.replace(a.link.en);
|
|
43
|
-
} else
|
|
44
|
-
window.location.replace(a.link);
|
|
45
|
-
else
|
|
46
|
-
_();
|
|
47
|
-
}
|
|
48
|
-
return (e, t) => (s(), L("form", {
|
|
49
|
-
class: I([
|
|
50
|
-
"konnectio-event-search-form",
|
|
51
|
-
{ "has-locations": o(v) },
|
|
52
|
-
{ "auto-search": !e.redirection }
|
|
53
|
-
]),
|
|
54
|
-
onSubmit: $(E, ["prevent"])
|
|
55
|
-
}, [
|
|
56
|
-
u(z, {
|
|
57
|
-
class: "konnectio-event-search-form-content",
|
|
58
|
-
tag: "ul"
|
|
59
|
-
}, {
|
|
60
|
-
default: S(() => [
|
|
61
|
-
o(v) ? (s(), L(T, { key: 0 }, [
|
|
62
|
-
isNaN(e.selectedLocation) ? (s(), w(q, {
|
|
63
|
-
modelValue: c.value,
|
|
64
|
-
"onUpdate:modelValue": t[1] || (t[1] = (l) => c.value = l),
|
|
65
|
-
key: "location",
|
|
66
|
-
label: o(n)("general.location"),
|
|
67
|
-
icon: "location-dot",
|
|
68
|
-
"icon-type": "fas",
|
|
69
|
-
"icon-placement": "label",
|
|
70
|
-
"label-key": "name",
|
|
71
|
-
"value-key": "id",
|
|
72
|
-
options: o(m),
|
|
73
|
-
searchable: !1
|
|
74
|
-
}, null, 8, ["modelValue", "label", "options"])) : (s(), w(j, {
|
|
75
|
-
key: 0,
|
|
76
|
-
modelValue: k.value,
|
|
77
|
-
"onUpdate:modelValue": t[0] || (t[0] = (l) => k.value = l),
|
|
78
|
-
label: o(n)("general.location"),
|
|
79
|
-
icon: "location-dot",
|
|
80
|
-
"icon-type": "fas",
|
|
81
|
-
"icon-placement": "label",
|
|
82
|
-
readonly: ""
|
|
83
|
-
}, null, 8, ["modelValue", "label"]))
|
|
84
|
-
], 64)) : U("", !0),
|
|
85
|
-
u(J, {
|
|
86
|
-
modelValue: r.value,
|
|
87
|
-
"onUpdate:modelValue": t[2] || (t[2] = (l) => r.value = l),
|
|
88
|
-
key: "date",
|
|
89
|
-
label: o(n)("event.selectDate"),
|
|
90
|
-
"icon-type": "fas",
|
|
91
|
-
"icon-placement": "label",
|
|
92
|
-
"min-date": /* @__PURE__ */ new Date()
|
|
93
|
-
}, null, 8, ["modelValue", "label", "min-date"]),
|
|
94
|
-
x("li", K, [
|
|
95
|
-
u(G, {
|
|
96
|
-
type: "submit",
|
|
97
|
-
label: o(n)("availability.buttonLabel"),
|
|
98
|
-
"full-width": ""
|
|
99
|
-
}, null, 8, ["label"])
|
|
100
|
-
])
|
|
101
|
-
]),
|
|
102
|
-
_: 1
|
|
103
|
-
})
|
|
104
|
-
], 34));
|
|
105
|
-
}
|
|
106
|
-
}), X = /* @__PURE__ */ M(O, [["__scopeId", "data-v-b5025042"]]);
|
|
107
|
-
export {
|
|
108
|
-
X as E
|
|
109
|
-
};
|
|
110
|
-
//# sourceMappingURL=EventAvailabilityForm-uKOuEFLO.js.map
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/_-B1Ghb3H_.js
DELETED
|
Binary file
|
|
Binary file
|
package/dist/mitt-B7wNuBju.js.br
DELETED
|
Binary file
|
|
Binary file
|