@konnectio/core 4.8.6 → 4.8.7
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-BC5arxYa.js → ActionField-b5zQNdt9.js} +1 -1
- package/dist/ActionField-b5zQNdt9.js.br +0 -0
- package/dist/ActionField-b5zQNdt9.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-CiatG26I.js → AvailabilitySkeleton-CcPfF89C.js} +2 -2
- package/dist/AvailabilitySkeleton-CcPfF89C.js.br +0 -0
- package/dist/AvailabilitySkeleton-CcPfF89C.js.gz +0 -0
- package/dist/{CheckoutWindow-CkCBgrae.js → CheckoutWindow-LeCeZpmn.js} +1 -1
- package/dist/CheckoutWindow-LeCeZpmn.js.br +0 -0
- package/dist/CheckoutWindow-LeCeZpmn.js.gz +0 -0
- package/dist/{ErrorMessage-Bs0_cT8k.js → ErrorMessage-B1KQ3eXN.js} +1 -1
- package/dist/ErrorMessage-B1KQ3eXN.js.br +0 -0
- package/dist/ErrorMessage-B1KQ3eXN.js.gz +0 -0
- package/dist/EventAvailabilityForm-Dm6eSYQ3.js +119 -0
- package/dist/EventAvailabilityForm-Dm6eSYQ3.js.br +0 -0
- package/dist/EventAvailabilityForm-Dm6eSYQ3.js.gz +0 -0
- package/dist/{Field-BJWhSh7w.js → Field-Bvo9p1qG.js} +1 -1
- package/dist/Field-Bvo9p1qG.js.br +0 -0
- package/dist/Field-Bvo9p1qG.js.gz +0 -0
- package/dist/{HotelAvailabilityForm-D9NUOVqN.js → HotelAvailabilityForm-DrzAh7Zq.js} +2 -2
- package/dist/HotelAvailabilityForm-DrzAh7Zq.js.br +0 -0
- package/dist/HotelAvailabilityForm-DrzAh7Zq.js.gz +0 -0
- package/dist/{SelectField-UtouY5ZO.js → SelectField-BRLqMStQ.js} +2 -2
- package/dist/SelectField-BRLqMStQ.js.br +0 -0
- package/dist/SelectField-BRLqMStQ.js.gz +0 -0
- package/dist/{TermsOfService-DWX_BVF4.js → TermsOfService-BC34N1jl.js} +2 -2
- package/dist/TermsOfService-BC34N1jl.js.br +0 -0
- package/dist/TermsOfService-BC34N1jl.js.gz +4 -0
- package/dist/{_-DiYgOYcW.js → _-C_OPxMvv.js} +1 -1
- package/dist/_-C_OPxMvv.js.br +0 -0
- package/dist/_-C_OPxMvv.js.gz +0 -0
- package/dist/availability.js +7 -7
- package/dist/availability.js.br +0 -0
- package/dist/availability.js.gz +0 -0
- package/dist/cancel-reservation.js +4 -4
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/cancel-reservation.js.gz +0 -0
- package/dist/core.css +1 -1
- package/dist/core.css.br +0 -0
- package/dist/core.css.gz +0 -0
- package/dist/{dist-_pDPOtXt.js → dist-Cjomwfcz.js} +4 -4
- package/dist/dist-Cjomwfcz.js.br +0 -0
- package/dist/{dist-_pDPOtXt.js.gz → dist-Cjomwfcz.js.gz} +0 -0
- package/dist/{dist-Uk7AAFv-.js → dist-Tzsi5qLe.js} +3 -3
- package/dist/dist-Tzsi5qLe.js.br +0 -0
- package/dist/dist-Tzsi5qLe.js.gz +0 -0
- package/dist/event.js +10 -10
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +7 -7
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card-validation.js.gz +0 -0
- package/dist/gift-card.js +9 -9
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/{giftCard-BbSrjJZd.js → giftCard-CjbPTobs.js} +1 -1
- package/dist/giftCard-CjbPTobs.js.br +0 -0
- package/dist/giftCard-CjbPTobs.js.gz +0 -0
- package/dist/hotel.js +10 -10
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/polyfill.js.gz +0 -0
- package/dist/{style-Bdjurc0w.js → style-CA1sSDVs.js} +1 -1
- package/dist/style-CA1sSDVs.js.br +0 -0
- package/dist/style-CA1sSDVs.js.gz +0 -0
- package/dist-wix/availability.js +4 -4
- package/dist-wix/event.js +4 -4
- package/dist-wix/gift-card-validation.js +1 -1
- package/dist-wix/gift-card.js +2 -2
- package/dist-wix/hotel.js +2 -2
- package/package.json +1 -1
- package/dist/ActionField-BC5arxYa.js.br +0 -0
- package/dist/ActionField-BC5arxYa.js.gz +0 -0
- package/dist/AvailabilitySkeleton-CiatG26I.js.br +0 -0
- package/dist/AvailabilitySkeleton-CiatG26I.js.gz +0 -0
- package/dist/CheckoutWindow-CkCBgrae.js.br +0 -0
- package/dist/CheckoutWindow-CkCBgrae.js.gz +0 -0
- package/dist/ErrorMessage-Bs0_cT8k.js.br +0 -0
- package/dist/ErrorMessage-Bs0_cT8k.js.gz +0 -0
- package/dist/EventAvailabilityForm-BnUY8Ld2.js +0 -115
- package/dist/EventAvailabilityForm-BnUY8Ld2.js.br +0 -0
- package/dist/EventAvailabilityForm-BnUY8Ld2.js.gz +0 -0
- package/dist/Field-BJWhSh7w.js.br +0 -0
- package/dist/Field-BJWhSh7w.js.gz +0 -0
- package/dist/HotelAvailabilityForm-D9NUOVqN.js.br +0 -0
- package/dist/HotelAvailabilityForm-D9NUOVqN.js.gz +0 -0
- package/dist/SelectField-UtouY5ZO.js.br +0 -0
- package/dist/SelectField-UtouY5ZO.js.gz +0 -0
- package/dist/TermsOfService-DWX_BVF4.js.br +0 -0
- package/dist/TermsOfService-DWX_BVF4.js.gz +0 -0
- package/dist/_-DiYgOYcW.js.br +0 -0
- package/dist/_-DiYgOYcW.js.gz +0 -6
- package/dist/dist-Uk7AAFv-.js.br +0 -0
- package/dist/dist-Uk7AAFv-.js.gz +0 -0
- package/dist/dist-_pDPOtXt.js.br +0 -0
- package/dist/giftCard-BbSrjJZd.js.br +0 -0
- package/dist/giftCard-BbSrjJZd.js.gz +0 -0
- package/dist/style-Bdjurc0w.js.br +0 -0
- package/dist/style-Bdjurc0w.js.gz +0 -0
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import { A as e, At as t, E as n, L as r, M as i, N as a, P as o, _ as s, a as c, et as l, gt as u, h as d, jt as f, w as p, wt as m, z as h } from "./i18n-_behsDNX.js";
|
|
2
|
-
import { C as g, S as _, n as v, q as y, t as b, v as x, w as S } from "./SelectField-UtouY5ZO.js";
|
|
3
|
-
import { n as C } from "./AvailabilitySkeleton-CiatG26I.js";
|
|
4
|
-
//#region src/components/forms/EventAvailabilityForm.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
-
var w = {
|
|
6
|
-
class: "konnectio-search-button",
|
|
7
|
-
key: "search"
|
|
8
|
-
}, T = /*#__PURE__*/ _(/* @__PURE__ */ h({
|
|
9
|
-
__name: "EventAvailabilityForm",
|
|
10
|
-
props: {
|
|
11
|
-
redirection: {
|
|
12
|
-
type: Boolean,
|
|
13
|
-
default: !0
|
|
14
|
-
},
|
|
15
|
-
link: {},
|
|
16
|
-
selectedLocation: { default: NaN },
|
|
17
|
-
hideLocations: {
|
|
18
|
-
type: Boolean,
|
|
19
|
-
default: !1
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
setup(h) {
|
|
23
|
-
let _ = h, { eventLocation: T, eventLocations: E, hasEventLocations: D, eventLocationControl: O, eventDate: k } = d(g()), { updateEventAvailability: A } = g(), { fetchListings: j } = S(), { t: M } = c(), N = m(O.value), P = m(/* @__PURE__ */ new Date()), F = e({
|
|
24
|
-
get: () => _.redirection ? N.value : T.value,
|
|
25
|
-
set: (e) => {
|
|
26
|
-
_.redirection ? N.value = Number(e) : T.value = Number(e);
|
|
27
|
-
}
|
|
28
|
-
}), I = e({
|
|
29
|
-
get: () => _.redirection ? P.value : k.value,
|
|
30
|
-
set: (e) => {
|
|
31
|
-
_.redirection ? P.value = e : k.value = e;
|
|
32
|
-
}
|
|
33
|
-
}), L = e(() => typeof _.link != "string"), R = e(() => {
|
|
34
|
-
let e = E.value.find(({ id: e }) => e === _.selectedLocation);
|
|
35
|
-
return e ? e.name : "";
|
|
36
|
-
}), z = e(() => D.value && !_.hideLocations);
|
|
37
|
-
function B() {
|
|
38
|
-
if (_.redirection === !0) {
|
|
39
|
-
if (A({
|
|
40
|
-
date: I.value,
|
|
41
|
-
location: F.value
|
|
42
|
-
}), L.value) {
|
|
43
|
-
let e = y();
|
|
44
|
-
_.link[e] ? window.location.replace(_.link[e]) : _.link.en && window.location.replace(_.link.en);
|
|
45
|
-
} else window.location.replace(_.link);
|
|
46
|
-
} else j();
|
|
47
|
-
}
|
|
48
|
-
function V() {
|
|
49
|
-
_.redirection === !1 && j();
|
|
50
|
-
}
|
|
51
|
-
return (e, c) => (l(), o("form", {
|
|
52
|
-
class: f([
|
|
53
|
-
"konnectio-event-search-form",
|
|
54
|
-
{ "has-locations": z.value },
|
|
55
|
-
{ "auto-search": !h.redirection }
|
|
56
|
-
]),
|
|
57
|
-
onSubmit: p(B, ["prevent"])
|
|
58
|
-
}, [r(s, {
|
|
59
|
-
class: "konnectio-event-search-form-content",
|
|
60
|
-
tag: "ul"
|
|
61
|
-
}, {
|
|
62
|
-
default: u(() => [
|
|
63
|
-
z.value ? (l(), o(n, { key: 0 }, [isNaN(h.selectedLocation) ? (l(), i(b, {
|
|
64
|
-
modelValue: F.value,
|
|
65
|
-
"onUpdate:modelValue": c[1] ||= (e) => F.value = e,
|
|
66
|
-
key: "location",
|
|
67
|
-
label: t(M)("general.location"),
|
|
68
|
-
icon: "location-dot",
|
|
69
|
-
"icon-type": "fas",
|
|
70
|
-
"icon-placement": "label",
|
|
71
|
-
"label-key": "name",
|
|
72
|
-
"value-key": "id",
|
|
73
|
-
options: t(E),
|
|
74
|
-
searchable: !1,
|
|
75
|
-
onChanged: V
|
|
76
|
-
}, null, 8, [
|
|
77
|
-
"modelValue",
|
|
78
|
-
"label",
|
|
79
|
-
"options"
|
|
80
|
-
])) : (l(), i(v, {
|
|
81
|
-
key: 0,
|
|
82
|
-
modelValue: R.value,
|
|
83
|
-
"onUpdate:modelValue": c[0] ||= (e) => R.value = e,
|
|
84
|
-
label: t(M)("general.location"),
|
|
85
|
-
icon: "location-dot",
|
|
86
|
-
"icon-type": "fas",
|
|
87
|
-
"icon-placement": "label",
|
|
88
|
-
readonly: ""
|
|
89
|
-
}, null, 8, ["modelValue", "label"]))], 64)) : a("", !0),
|
|
90
|
-
r(C, {
|
|
91
|
-
modelValue: I.value,
|
|
92
|
-
"onUpdate:modelValue": [c[2] ||= (e) => I.value = e, V],
|
|
93
|
-
key: "date",
|
|
94
|
-
label: t(M)("event.selectDate"),
|
|
95
|
-
"icon-type": "fas",
|
|
96
|
-
"icon-placement": "label",
|
|
97
|
-
"include-weekday": !0,
|
|
98
|
-
"min-date": /* @__PURE__ */ new Date()
|
|
99
|
-
}, null, 8, [
|
|
100
|
-
"modelValue",
|
|
101
|
-
"label",
|
|
102
|
-
"min-date"
|
|
103
|
-
]),
|
|
104
|
-
h.redirection === !0 ? (l(), o("li", w, [r(x, {
|
|
105
|
-
type: "submit",
|
|
106
|
-
label: t(M)("availability.buttonLabel"),
|
|
107
|
-
"full-width": ""
|
|
108
|
-
}, null, 8, ["label"])])) : a("", !0)
|
|
109
|
-
]),
|
|
110
|
-
_: 1
|
|
111
|
-
})], 34));
|
|
112
|
-
}
|
|
113
|
-
}), [["__scopeId", "data-v-aa84e4f1"]]);
|
|
114
|
-
//#endregion
|
|
115
|
-
export { T as t };
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/_-DiYgOYcW.js.br
DELETED
|
Binary file
|
package/dist/_-DiYgOYcW.js.gz
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
x�mSaO�0����'o��&0 i
|
|
2
|
-
���Ӵ�1�mEnrmM];�����'�eT�Og߽w���S�κ�5�a���K��pV��ޛ��MPK��+��γ�T=�Bd��h����p2Z% ���`����E���V恵��f\Oh�/��|��)��=�ij�gE�_��:��m�)�7�f�x�Z>�>���W=��z�ǎ*�8Յ���wUp=��4�<�t%ZTX�I���%��CMPv,���4q4-�&�K7�-|A�%��x�4�l�
|
|
3
|
-
��Ǻ������
|
|
4
|
-
h�N#�T��KO_���L]��u�u�v��B�l���]�)�ވ4IbW%�hi*{J0c
|
|
5
|
-
�3��R���9�P}@͗�^_Y& ����_1V�5h�?�����9��� pP�ۘ�p֪hn�e8}�
|
|
6
|
-
�4��N&`z�|�q&5���s��/��E���6�PBr��zm�`�2��U-��Qv+p|�.�o�I7�vZ��}) ������sT�!�n�$��ݒ-w�<����/��=�
|
package/dist/dist-Uk7AAFv-.js.br
DELETED
|
Binary file
|
package/dist/dist-Uk7AAFv-.js.gz
DELETED
|
Binary file
|
package/dist/dist-_pDPOtXt.js.br
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|