@konnectio/core 4.0.82 → 4.0.83
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-BA-fYDFE.js +100 -0
- package/dist/ActionField-BA-fYDFE.js.br +0 -0
- package/dist/AvailabilitySkeleton-cs1R6FqT.js +281 -0
- package/dist/AvailabilitySkeleton-cs1R6FqT.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-C4S5K4Ed.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Qc9hcPxa.js} +1156 -1171
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Qc9hcPxa.js.br +0 -0
- package/dist/{CheckoutWindow-DoADcN36.js → CheckoutWindow-BWvzwZp7.js} +153 -168
- package/dist/CheckoutWindow-BWvzwZp7.js.br +0 -0
- package/dist/{ErrorMessage-BxZaXdig.js → ErrorMessage-Cznv1pOA.js} +20 -35
- package/dist/ErrorMessage-Cznv1pOA.js.br +0 -0
- package/dist/EventAvailabilityForm-CCIRdxiD.js +111 -0
- package/dist/EventAvailabilityForm-CCIRdxiD.js.br +0 -0
- package/dist/Field-BvDQnKDq.js +43 -0
- package/dist/Field-BvDQnKDq.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DIbBJOzF.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-9lyXRaoC.js} +2302 -2317
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-9lyXRaoC.js.br +0 -0
- package/dist/TermsOfService-GFdUcU5a.js +29 -0
- package/dist/_-CApO2y_W.js +5 -0
- package/dist/_.vue_vue_type_style_index_0_lang-JXEPTW6b.js +25 -0
- package/dist/_commonjsHelpers-DaMA6jEr.js +9 -0
- package/dist/availability.js +55 -71
- package/dist/availability.js.br +0 -0
- package/dist/deep-link.js +21 -36
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +408 -424
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +73 -89
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +181 -197
- package/dist/gift-card.js.br +0 -0
- package/dist/giftCard-DA27WKsi.js +119 -0
- package/dist/giftCard-DA27WKsi.js.br +0 -0
- package/dist/hotel.js +505 -520
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-DDSHAjDQ.js → masonry.plugin-C22IPiCy.js} +53 -68
- package/dist/masonry.plugin-C22IPiCy.js.br +0 -0
- package/dist/{mitt-CzL6QOyp.js → mitt-QLRlCcPH.js} +983 -998
- package/dist/mitt-QLRlCcPH.js.br +0 -0
- package/dist/polyfill.js +4152 -7854
- package/dist/polyfill.js.br +0 -0
- package/dist/{style-CT1Yk_a0.js → style-CF23zZwv.js} +388 -403
- package/dist/style-CF23zZwv.js.br +0 -0
- package/dist/{_sentry-release-injection-file-8liCQLPI.js → vue.esm-bundler-BkY4vCIk.js} +1987 -2003
- package/dist/vue.esm-bundler-BkY4vCIk.js.br +0 -0
- package/package.json +1 -3
- package/dist/ActionField-Mf3IO8Sg.js +0 -115
- package/dist/ActionField-Mf3IO8Sg.js.br +0 -0
- package/dist/AvailabilitySkeleton-D3xnLMQI.js +0 -296
- package/dist/AvailabilitySkeleton-D3xnLMQI.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-C4S5K4Ed.js.br +0 -0
- package/dist/CheckoutWindow-DoADcN36.js.br +0 -0
- package/dist/ErrorMessage-BxZaXdig.js.br +0 -0
- package/dist/EventAvailabilityForm-Ctz8ENUN.js +0 -126
- package/dist/EventAvailabilityForm-Ctz8ENUN.js.br +0 -0
- package/dist/Field-Bg0N8Vc0.js +0 -58
- package/dist/Field-Bg0N8Vc0.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DIbBJOzF.js.br +0 -0
- package/dist/TermsOfService-CWraQvoB.js +0 -44
- package/dist/TermsOfService-CWraQvoB.js.br +0 -4
- package/dist/_-BEZe3PAF.js +0 -20
- package/dist/_.vue_vue_type_style_index_0_lang-DQzgcH2c.js +0 -40
- package/dist/_.vue_vue_type_style_index_0_lang-DQzgcH2c.js.br +0 -0
- package/dist/_commonjsHelpers-C8ml6AyB.js +0 -25
- package/dist/_commonjsHelpers-C8ml6AyB.js.br +0 -0
- package/dist/_sentry-release-injection-file-8liCQLPI.js.br +0 -0
- package/dist/giftCard-sImOKdP0.js +0 -134
- package/dist/giftCard-sImOKdP0.js.br +0 -0
- package/dist/masonry.plugin-DDSHAjDQ.js.br +0 -0
- package/dist/mitt-CzL6QOyp.js.br +0 -0
- package/dist/sentry-Cyc40KnT.js +0 -26
- package/dist/style-CT1Yk_a0.js.br +0 -0
- package/dist/tracing-6Srl_nMB.js +0 -2628
- package/dist/tracing-6Srl_nMB.js.br +0 -0
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@konnectio/core",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.83",
|
|
4
4
|
"author": "Konnectio <info@konnectio.com> (https://konnectio.com)",
|
|
5
5
|
"homepage": "https://konnectio.com",
|
|
6
6
|
"description": "Konnectio Core Frontend Integration.",
|
|
@@ -45,7 +45,6 @@
|
|
|
45
45
|
"@fortawesome/pro-solid-svg-icons": "6.6.0",
|
|
46
46
|
"@fortawesome/vue-fontawesome": "3.0.8",
|
|
47
47
|
"@intlify/unplugin-vue-i18n": "4.0.0",
|
|
48
|
-
"@sentry/vue": "8.26.0",
|
|
49
48
|
"@unhead/vue": "1.9.16",
|
|
50
49
|
"@vuepic/vue-datepicker": "9.0.2",
|
|
51
50
|
"@vueup/vue-quill": "1.2.0",
|
|
@@ -78,7 +77,6 @@
|
|
|
78
77
|
"devDependencies": {
|
|
79
78
|
"@babel/eslint-parser": "7.25.1",
|
|
80
79
|
"@originjs/vite-plugin-commonjs": "1.0.3",
|
|
81
|
-
"@sentry/vite-plugin": "2.22.1",
|
|
82
80
|
"@types/node": "22.2.00",
|
|
83
81
|
"@typescript-eslint/eslint-plugin": "7.18.0",
|
|
84
82
|
"@typescript-eslint/parser": "7.18.0",
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import { d as V, c, a as u, b as r, w as g, e as v, u as s, f as w } from "./_sentry-release-injection-file-8liCQLPI.js";
|
|
2
|
-
import { A as k, n as I, b as q, T as B, c as A, p as C, _ as D } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DIbBJOzF.js";
|
|
3
|
-
(function() {
|
|
4
|
-
try {
|
|
5
|
-
var o = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, l = new Error().stack;
|
|
6
|
-
l && (o._sentryDebugIds = o._sentryDebugIds || {}, o._sentryDebugIds[l] = "c9d8d8e1-ee84-47d6-8e39-e8764c4d1537", o._sentryDebugIdIdentifier = "sentry-dbid-c9d8d8e1-ee84-47d6-8e39-e8764c4d1537");
|
|
7
|
-
} catch {
|
|
8
|
-
}
|
|
9
|
-
})();
|
|
10
|
-
{
|
|
11
|
-
var i = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
12
|
-
i._sentryModuleMetadata = i._sentryModuleMetadata || {}, i._sentryModuleMetadata[new Error().stack] = Object.assign(
|
|
13
|
-
{},
|
|
14
|
-
i._sentryModuleMetadata[new Error().stack],
|
|
15
|
-
{ "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
|
|
16
|
-
);
|
|
17
|
-
}
|
|
18
|
-
const F = { class: "fresh-booking-action-field" }, h = /* @__PURE__ */ V({
|
|
19
|
-
__name: "ActionField",
|
|
20
|
-
props: {
|
|
21
|
-
modelValue: {},
|
|
22
|
-
label: {},
|
|
23
|
-
buttonLabel: {},
|
|
24
|
-
buttonIcon: {},
|
|
25
|
-
buttonIconColor: {},
|
|
26
|
-
buttonDisabled: { type: Boolean, default: !1 },
|
|
27
|
-
secondary: { type: Boolean, default: !1 },
|
|
28
|
-
name: {},
|
|
29
|
-
id: {},
|
|
30
|
-
type: { default: "text" },
|
|
31
|
-
placeholder: {},
|
|
32
|
-
icon: {},
|
|
33
|
-
iconType: { default: "fal" },
|
|
34
|
-
required: { type: Boolean, default: !1 },
|
|
35
|
-
readonly: { type: Boolean, default: !1 },
|
|
36
|
-
data: {},
|
|
37
|
-
action: {},
|
|
38
|
-
minValue: {},
|
|
39
|
-
maxValue: {},
|
|
40
|
-
isLoading: { type: Boolean, default: !1 }
|
|
41
|
-
},
|
|
42
|
-
emits: ["update:modelValue", "action"],
|
|
43
|
-
setup(o, { emit: l }) {
|
|
44
|
-
const p = l, f = o, d = f.id || k();
|
|
45
|
-
function m(e) {
|
|
46
|
-
p("update:modelValue", e);
|
|
47
|
-
}
|
|
48
|
-
const t = c({
|
|
49
|
-
get: () => f.modelValue,
|
|
50
|
-
set: (e) => m(e)
|
|
51
|
-
}), y = c({
|
|
52
|
-
get: () => f.modelValue,
|
|
53
|
-
set: (e) => m(e)
|
|
54
|
-
});
|
|
55
|
-
function b() {
|
|
56
|
-
p("action");
|
|
57
|
-
}
|
|
58
|
-
return (e, a) => (u(), r(C, {
|
|
59
|
-
label: e.label,
|
|
60
|
-
id: s(d),
|
|
61
|
-
icon: e.icon,
|
|
62
|
-
"icon-type": e.iconType,
|
|
63
|
-
required: e.required,
|
|
64
|
-
type: e.type,
|
|
65
|
-
readonly: e.readonly
|
|
66
|
-
}, {
|
|
67
|
-
default: g(() => [
|
|
68
|
-
v("div", F, [
|
|
69
|
-
e.type === "dropdown" && e.data ? (u(), r(I, {
|
|
70
|
-
key: 0,
|
|
71
|
-
modelValue: t.value,
|
|
72
|
-
"onUpdate:modelValue": a[0] || (a[0] = (n) => t.value = n),
|
|
73
|
-
id: s(d),
|
|
74
|
-
options: e.data,
|
|
75
|
-
name: e.name,
|
|
76
|
-
required: e.required,
|
|
77
|
-
placeholder: e.placeholder
|
|
78
|
-
}, null, 8, ["modelValue", "id", "options", "name", "required", "placeholder"])) : e.type === "number" ? (u(), r(q, {
|
|
79
|
-
key: 1,
|
|
80
|
-
modelValue: y.value,
|
|
81
|
-
"onUpdate:modelValue": a[1] || (a[1] = (n) => y.value = n),
|
|
82
|
-
id: s(d),
|
|
83
|
-
"min-value": e.minValue,
|
|
84
|
-
"max-value": e.maxValue
|
|
85
|
-
}, null, 8, ["modelValue", "id", "min-value", "max-value"])) : (u(), r(B, {
|
|
86
|
-
key: 2,
|
|
87
|
-
modelValue: t.value,
|
|
88
|
-
"onUpdate:modelValue": a[2] || (a[2] = (n) => t.value = n),
|
|
89
|
-
id: s(d),
|
|
90
|
-
name: e.name,
|
|
91
|
-
required: e.required,
|
|
92
|
-
placeholder: e.placeholder
|
|
93
|
-
}, null, 8, ["modelValue", "id", "name", "required", "placeholder"])),
|
|
94
|
-
w(A, {
|
|
95
|
-
"data-test": `${e.name}Submit`,
|
|
96
|
-
icon: e.buttonIcon,
|
|
97
|
-
label: e.buttonLabel,
|
|
98
|
-
"icon-color": e.buttonIconColor,
|
|
99
|
-
styling: e.action,
|
|
100
|
-
type: "button",
|
|
101
|
-
"is-loading": e.isLoading,
|
|
102
|
-
disabled: e.buttonDisabled,
|
|
103
|
-
secondary: e.secondary,
|
|
104
|
-
onClickEvent: a[3] || (a[3] = (n) => b())
|
|
105
|
-
}, null, 8, ["data-test", "icon", "label", "icon-color", "styling", "is-loading", "disabled", "secondary"])
|
|
106
|
-
])
|
|
107
|
-
]),
|
|
108
|
-
_: 1
|
|
109
|
-
}, 8, ["label", "id", "icon", "icon-type", "required", "type", "readonly"]));
|
|
110
|
-
}
|
|
111
|
-
}), T = /* @__PURE__ */ D(h, [["__scopeId", "data-v-3e77e321"]]);
|
|
112
|
-
export {
|
|
113
|
-
T as A
|
|
114
|
-
};
|
|
115
|
-
//# sourceMappingURL=ActionField-Mf3IO8Sg.js.map
|
|
Binary file
|
|
@@ -1,296 +0,0 @@
|
|
|
1
|
-
import { d as ee, H as ge, r as p, c as i, z as J, o as De, a as r, g as b, f as s, w as ye, u as a, b as A, i as D, e as $, n as U, y as ke, h as he } from "./_sentry-release-injection-file-8liCQLPI.js";
|
|
2
|
-
import { u as we, s as S } from "./mitt-CzL6QOyp.js";
|
|
3
|
-
import { u as Q, x as W, a as _e, d as Ae, T as Ve, n as Le, b as X, c as Z, o as xe, _ as ae, E as G } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DIbBJOzF.js";
|
|
4
|
-
import { _ as Ne } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-C4S5K4Ed.js";
|
|
5
|
-
import { F as g } from "./Field-Bg0N8Vc0.js";
|
|
6
|
-
(function() {
|
|
7
|
-
try {
|
|
8
|
-
var u = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
|
|
9
|
-
n && (u._sentryDebugIds = u._sentryDebugIds || {}, u._sentryDebugIds[n] = "5c3e9cb4-6a88-4aeb-9a59-21c9b0b32e5a", u._sentryDebugIdIdentifier = "sentry-dbid-5c3e9cb4-6a88-4aeb-9a59-21c9b0b32e5a");
|
|
10
|
-
} catch {
|
|
11
|
-
}
|
|
12
|
-
})();
|
|
13
|
-
{
|
|
14
|
-
var _ = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
15
|
-
_._sentryModuleMetadata = _._sentryModuleMetadata || {}, _._sentryModuleMetadata[new Error().stack] = Object.assign(
|
|
16
|
-
{},
|
|
17
|
-
_._sentryModuleMetadata[new Error().stack],
|
|
18
|
-
{ "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
|
|
19
|
-
);
|
|
20
|
-
}
|
|
21
|
-
const Se = {
|
|
22
|
-
class: "konnectio-availability-location",
|
|
23
|
-
key: "location"
|
|
24
|
-
}, $e = {
|
|
25
|
-
id: "konnectio-availability-date-selection",
|
|
26
|
-
key: "multiDate"
|
|
27
|
-
}, Ue = {
|
|
28
|
-
id: "konnectio-availability-guest-selection",
|
|
29
|
-
key: "guests"
|
|
30
|
-
}, Be = {
|
|
31
|
-
id: "konnectio-availability-confirmation",
|
|
32
|
-
key: "confirm"
|
|
33
|
-
}, Ce = /* @__PURE__ */ ee({
|
|
34
|
-
__name: "HotelAvailabilityForm",
|
|
35
|
-
props: {
|
|
36
|
-
booking: { type: Boolean, default: !1 },
|
|
37
|
-
link: {},
|
|
38
|
-
selectedLocation: { default: NaN },
|
|
39
|
-
disableDefaultLocation: { type: Boolean, default: !1 }
|
|
40
|
-
},
|
|
41
|
-
setup(u) {
|
|
42
|
-
const { t: n } = we(), V = ge("emitter"), t = u, B = Q(), {
|
|
43
|
-
adults: te,
|
|
44
|
-
children: le,
|
|
45
|
-
arrivalDate: C,
|
|
46
|
-
departureDate: I,
|
|
47
|
-
location: H,
|
|
48
|
-
hasHotelLocations: y,
|
|
49
|
-
hotelLocations: E,
|
|
50
|
-
controlLocation: oe
|
|
51
|
-
} = S(Q()), { fetchAvailabilityData: ne } = W(), { areListingsLoading: F } = S(W()), { display: R } = _e(), {
|
|
52
|
-
firstSelectableDateOffset: M,
|
|
53
|
-
lastSelectableDateOffset: O,
|
|
54
|
-
disableChildSelection: c,
|
|
55
|
-
disableAdultSelection: d,
|
|
56
|
-
defaultAdultAmount: ie,
|
|
57
|
-
defaultChildAmount: se,
|
|
58
|
-
maxAdultAmount: re,
|
|
59
|
-
maxChildAmount: ue
|
|
60
|
-
} = S(Ae()), ce = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 1)).setHours(12, 0, 0, 0)), de = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 2)).setHours(12, 0, 0, 0)), ve = () => t.disableDefaultLocation ? void 0 : oe.value, T = p(ie.value), P = p(se.value), j = p(ce()), z = p(de()), q = p(ve()), h = i({
|
|
61
|
-
get: () => t.booking ? B.adults : T.value,
|
|
62
|
-
set: (e) => {
|
|
63
|
-
t.booking ? te.value = Number(e) : T.value = Number(e);
|
|
64
|
-
}
|
|
65
|
-
}), L = i({
|
|
66
|
-
get: () => t.booking ? B.children : P.value,
|
|
67
|
-
set: (e) => {
|
|
68
|
-
t.booking ? le.value = Number(e) : P.value = Number(e);
|
|
69
|
-
}
|
|
70
|
-
}), v = i({
|
|
71
|
-
get: () => t.booking ? C.value : j.value,
|
|
72
|
-
set: (e) => {
|
|
73
|
-
t.booking ? C.value = e : j.value = e;
|
|
74
|
-
}
|
|
75
|
-
}), f = i({
|
|
76
|
-
get: () => t.booking ? I.value : z.value,
|
|
77
|
-
set: (e) => {
|
|
78
|
-
t.booking ? I.value = e : z.value = e;
|
|
79
|
-
}
|
|
80
|
-
}), w = i({
|
|
81
|
-
get: () => isNaN(t.selectedLocation) ? t.booking ? H.value : q.value : t.selectedLocation,
|
|
82
|
-
set: (e) => {
|
|
83
|
-
t.booking ? H.value = e : q.value = e;
|
|
84
|
-
}
|
|
85
|
-
}), K = i(() => {
|
|
86
|
-
const e = E.value.find(({ id: l }) => l === t.selectedLocation);
|
|
87
|
-
return e ? e.name : "";
|
|
88
|
-
}), k = p([]), me = i(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + (M.value - 1)))), Me = i(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + O.value))), Oe = i(() => new Date((/* @__PURE__ */ new Date()).setDate(v.value.getDate() + M.value))), be = i(() => new Date((/* @__PURE__ */ new Date()).setDate(v.value.getDate() + (O.value + 1)))), x = i(() => !(!d && h.value === 0)), fe = i(() => typeof t.link != "string");
|
|
89
|
-
function Y(e) {
|
|
90
|
-
const l = e.getFullYear();
|
|
91
|
-
let o = e.getMonth() + 1, m = e.getDate();
|
|
92
|
-
return m < 10 && (m = "0" + m), o < 10 && (o = "0" + o), `${l}-${o}-${m}`;
|
|
93
|
-
}
|
|
94
|
-
function N(e) {
|
|
95
|
-
const l = {
|
|
96
|
-
a: h.value.toString(),
|
|
97
|
-
c: L.value.toString(),
|
|
98
|
-
ci: Y(v.value),
|
|
99
|
-
co: Y(f.value),
|
|
100
|
-
hid: w.value.toString()
|
|
101
|
-
}, o = new URLSearchParams(l), m = new URL(e, window.location.origin);
|
|
102
|
-
m.search = o.toString(), window.location.replace(m.toString());
|
|
103
|
-
}
|
|
104
|
-
function pe() {
|
|
105
|
-
if (isNaN(w.value) && y.value) {
|
|
106
|
-
R({
|
|
107
|
-
message: n("alert.error.selectHotelId"),
|
|
108
|
-
type: "error"
|
|
109
|
-
});
|
|
110
|
-
return;
|
|
111
|
-
}
|
|
112
|
-
if (t.booking === !1)
|
|
113
|
-
if (fe.value) {
|
|
114
|
-
const e = xe();
|
|
115
|
-
t.link[e] ? N(t.link[e]) : t.link.en ? N(t.link.en) : R({
|
|
116
|
-
message: "Module misconfiguration, contact an admin",
|
|
117
|
-
type: "error"
|
|
118
|
-
});
|
|
119
|
-
} else
|
|
120
|
-
N(t.link);
|
|
121
|
-
else x.value && ne();
|
|
122
|
-
}
|
|
123
|
-
return J(v, (e) => {
|
|
124
|
-
const l = new Date(new Date(e).setDate(new Date(e).getDate() + 1));
|
|
125
|
-
new Date(f.value) < l && (f.value = l);
|
|
126
|
-
}), V.on("forcedDateChange", () => {
|
|
127
|
-
k.value = [v.value, f.value];
|
|
128
|
-
}), J(k, (e) => {
|
|
129
|
-
v.value = e[0], f.value = e[1];
|
|
130
|
-
}), De(() => {
|
|
131
|
-
k.value = [v.value, f.value];
|
|
132
|
-
}), (e, l) => (r(), b("form", {
|
|
133
|
-
id: "konnectio-availability-form",
|
|
134
|
-
class: U({ reservation: e.booking }),
|
|
135
|
-
type: "availability",
|
|
136
|
-
onSubmit: he(pe, ["prevent"])
|
|
137
|
-
}, [
|
|
138
|
-
s(ke, {
|
|
139
|
-
id: "konnectio-availability-form-content",
|
|
140
|
-
tag: "ul",
|
|
141
|
-
class: U([
|
|
142
|
-
{ "is-booking-page": e.booking },
|
|
143
|
-
{ "only-adult-guests": !a(d) && a(c) },
|
|
144
|
-
{ "only-child-guests": !a(c) && a(d) },
|
|
145
|
-
{ "no-guests": a(d) && a(c) },
|
|
146
|
-
{ "all-guests": !a(d) && !a(c) },
|
|
147
|
-
{ "has-location": a(y) }
|
|
148
|
-
])
|
|
149
|
-
}, {
|
|
150
|
-
default: ye(() => [
|
|
151
|
-
a(y) ? (r(), b("li", Se, [
|
|
152
|
-
isNaN(e.selectedLocation) ? (r(), A(Le, {
|
|
153
|
-
key: 1,
|
|
154
|
-
modelValue: w.value,
|
|
155
|
-
"onUpdate:modelValue": l[1] || (l[1] = (o) => w.value = o),
|
|
156
|
-
label: a(n)("general.location"),
|
|
157
|
-
placeholder: a(n)("general.locationPlaceholder"),
|
|
158
|
-
icon: "location-dot",
|
|
159
|
-
"icon-type": "fas",
|
|
160
|
-
"icon-placement": "label",
|
|
161
|
-
"label-key": "name",
|
|
162
|
-
"value-key": "id",
|
|
163
|
-
options: a(E),
|
|
164
|
-
searchable: !1
|
|
165
|
-
}, null, 8, ["modelValue", "label", "placeholder", "options"])) : (r(), A(Ve, {
|
|
166
|
-
key: 0,
|
|
167
|
-
modelValue: K.value,
|
|
168
|
-
"onUpdate:modelValue": l[0] || (l[0] = (o) => K.value = o),
|
|
169
|
-
label: a(n)("general.location"),
|
|
170
|
-
icon: "location-dot",
|
|
171
|
-
"icon-type": "fas",
|
|
172
|
-
"icon-placement": "label",
|
|
173
|
-
readonly: ""
|
|
174
|
-
}, null, 8, ["modelValue", "label"]))
|
|
175
|
-
])) : D("", !0),
|
|
176
|
-
$("li", $e, [
|
|
177
|
-
s(Ne, {
|
|
178
|
-
modelValue: k.value,
|
|
179
|
-
"onUpdate:modelValue": l[2] || (l[2] = (o) => k.value = o),
|
|
180
|
-
label: a(n)("availability.checkInOut"),
|
|
181
|
-
"icon-type": "fas",
|
|
182
|
-
"icon-placement": "label",
|
|
183
|
-
"min-range": 1,
|
|
184
|
-
"min-date": me.value,
|
|
185
|
-
"max-date": be.value,
|
|
186
|
-
range: ""
|
|
187
|
-
}, null, 8, ["modelValue", "label", "min-date", "max-date"]),
|
|
188
|
-
D("", !0)
|
|
189
|
-
]),
|
|
190
|
-
!a(d) || !a(c) ? (r(), b("li", Ue, [
|
|
191
|
-
a(d) ? D("", !0) : (r(), A(X, {
|
|
192
|
-
key: 0,
|
|
193
|
-
modelValue: h.value,
|
|
194
|
-
"onUpdate:modelValue": l[5] || (l[5] = (o) => h.value = o),
|
|
195
|
-
label: a(n)("availability.adults"),
|
|
196
|
-
description: a(n)("general.adultAgeRange"),
|
|
197
|
-
"icon-type": "fas",
|
|
198
|
-
"icon-placement": "label",
|
|
199
|
-
name: "adults",
|
|
200
|
-
icon: "male",
|
|
201
|
-
"max-value": a(re),
|
|
202
|
-
controls: !(a(y) && !a(c))
|
|
203
|
-
}, null, 8, ["modelValue", "label", "description", "max-value", "controls"])),
|
|
204
|
-
a(c) ? D("", !0) : (r(), A(X, {
|
|
205
|
-
key: 1,
|
|
206
|
-
modelValue: L.value,
|
|
207
|
-
"onUpdate:modelValue": l[6] || (l[6] = (o) => L.value = o),
|
|
208
|
-
label: a(n)("availability.children"),
|
|
209
|
-
description: a(n)("general.childAgeRange"),
|
|
210
|
-
"icon-type": "fas",
|
|
211
|
-
"icon-placement": "label",
|
|
212
|
-
name: "children",
|
|
213
|
-
icon: "child",
|
|
214
|
-
"max-value": a(ue),
|
|
215
|
-
controls: !a(y)
|
|
216
|
-
}, null, 8, ["modelValue", "label", "description", "max-value", "controls"]))
|
|
217
|
-
])) : D("", !0),
|
|
218
|
-
$("li", Be, [
|
|
219
|
-
s(Z, {
|
|
220
|
-
class: "konnectio-availability-submit-small",
|
|
221
|
-
type: "submit",
|
|
222
|
-
icon: "search",
|
|
223
|
-
"icon-type": "fas",
|
|
224
|
-
disabled: !x.value,
|
|
225
|
-
"is-loading": a(F)
|
|
226
|
-
}, null, 8, ["disabled", "is-loading"]),
|
|
227
|
-
s(Z, {
|
|
228
|
-
class: "konnectio-availability-submit-large",
|
|
229
|
-
type: "submit",
|
|
230
|
-
label: a(n)("availability.buttonLabel"),
|
|
231
|
-
disabled: !x.value,
|
|
232
|
-
"is-loading": a(F)
|
|
233
|
-
}, null, 8, ["label", "disabled", "is-loading"])
|
|
234
|
-
])
|
|
235
|
-
]),
|
|
236
|
-
_: 1
|
|
237
|
-
}, 8, ["class"])
|
|
238
|
-
], 34));
|
|
239
|
-
}
|
|
240
|
-
}), Ke = /* @__PURE__ */ ae(Ce, [["__scopeId", "data-v-b09ae6b2"]]), Ie = { class: "availability-skeleton" }, He = {
|
|
241
|
-
key: 0,
|
|
242
|
-
class: "availability-skeleton-navigation"
|
|
243
|
-
}, Ee = { class: "availability-skeleton-content" }, Fe = {
|
|
244
|
-
key: 1,
|
|
245
|
-
class: "availability-skeleton-event"
|
|
246
|
-
}, Re = /* @__PURE__ */ ee({
|
|
247
|
-
__name: "AvailabilitySkeleton",
|
|
248
|
-
props: {
|
|
249
|
-
view: { default: "hotel" },
|
|
250
|
-
hotel: { type: Boolean, default: !1 }
|
|
251
|
-
},
|
|
252
|
-
setup(u) {
|
|
253
|
-
return (n, V) => (r(), b("div", Ie, [
|
|
254
|
-
n.view === "both" ? (r(), b("div", He, [
|
|
255
|
-
s(G, {
|
|
256
|
-
height: "28px",
|
|
257
|
-
width: "60px",
|
|
258
|
-
"border-radius": "20px"
|
|
259
|
-
}),
|
|
260
|
-
s(G, {
|
|
261
|
-
height: "28px",
|
|
262
|
-
width: "60px",
|
|
263
|
-
"border-radius": "20px"
|
|
264
|
-
})
|
|
265
|
-
])) : D("", !0),
|
|
266
|
-
$("div", Ee, [
|
|
267
|
-
n.view !== "event" ? (r(), b("div", {
|
|
268
|
-
key: 0,
|
|
269
|
-
class: U([
|
|
270
|
-
"availability-skeleton-hotel",
|
|
271
|
-
{ "within-hotel": n.hotel }
|
|
272
|
-
])
|
|
273
|
-
}, [
|
|
274
|
-
s(g, { "with-icon": "" }),
|
|
275
|
-
s(g, { "with-icon": "" }),
|
|
276
|
-
s(g, { "with-icon": "" }),
|
|
277
|
-
s(g, {
|
|
278
|
-
"with-icon": "",
|
|
279
|
-
"no-label": ""
|
|
280
|
-
})
|
|
281
|
-
], 2)) : (r(), b("div", Fe, [
|
|
282
|
-
s(g, { "with-icon": "" }),
|
|
283
|
-
s(g, {
|
|
284
|
-
"with-icon": "",
|
|
285
|
-
"no-label": ""
|
|
286
|
-
})
|
|
287
|
-
]))
|
|
288
|
-
])
|
|
289
|
-
]));
|
|
290
|
-
}
|
|
291
|
-
}), Ye = /* @__PURE__ */ ae(Re, [["__scopeId", "data-v-cebeb733"]]);
|
|
292
|
-
export {
|
|
293
|
-
Ye as A,
|
|
294
|
-
Ke as H
|
|
295
|
-
};
|
|
296
|
-
//# sourceMappingURL=AvailabilitySkeleton-D3xnLMQI.js.map
|
|
Binary file
|
package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-C4S5K4Ed.js.br
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
import { d as B, r as g, c, a as r, g as _, f as m, w as C, u as n, F, b as L, i as S, e as T, y as U, n as x, h as M } from "./_sentry-release-injection-file-8liCQLPI.js";
|
|
2
|
-
import { s as z, u as $ } from "./mitt-CzL6QOyp.js";
|
|
3
|
-
import { u as D, T as j, n as H, c as K, o as O, _ as P } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DIbBJOzF.js";
|
|
4
|
-
import { u as R, _ as q } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-C4S5K4Ed.js";
|
|
5
|
-
(function() {
|
|
6
|
-
try {
|
|
7
|
-
var o = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, e = new Error().stack;
|
|
8
|
-
e && (o._sentryDebugIds = o._sentryDebugIds || {}, o._sentryDebugIds[e] = "7eedb20c-72e4-4307-b311-0107121e1721", o._sentryDebugIdIdentifier = "sentry-dbid-7eedb20c-72e4-4307-b311-0107121e1721");
|
|
9
|
-
} catch {
|
|
10
|
-
}
|
|
11
|
-
})();
|
|
12
|
-
{
|
|
13
|
-
var s = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
14
|
-
s._sentryModuleMetadata = s._sentryModuleMetadata || {}, s._sentryModuleMetadata[new Error().stack] = Object.assign(
|
|
15
|
-
{},
|
|
16
|
-
s._sentryModuleMetadata[new Error().stack],
|
|
17
|
-
{ "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
|
|
18
|
-
);
|
|
19
|
-
}
|
|
20
|
-
const J = {
|
|
21
|
-
class: "konnectio-search-button",
|
|
22
|
-
key: "search"
|
|
23
|
-
}, Q = /* @__PURE__ */ B({
|
|
24
|
-
__name: "EventAvailabilityForm",
|
|
25
|
-
props: {
|
|
26
|
-
redirection: { type: Boolean, default: !0 },
|
|
27
|
-
link: {},
|
|
28
|
-
selectedLocation: { default: NaN }
|
|
29
|
-
},
|
|
30
|
-
setup(o) {
|
|
31
|
-
const e = o, {
|
|
32
|
-
eventLocation: d,
|
|
33
|
-
eventLocations: p,
|
|
34
|
-
hasEventLocations: b,
|
|
35
|
-
eventLocationControl: h,
|
|
36
|
-
eventDate: v
|
|
37
|
-
} = z(D()), { updateEventAvailability: V } = D(), { fetchListings: E } = R(), { t: i } = $(), N = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 1)).setHours(12, 0, 0, 0)), y = g(h.value), k = g(N()), u = c({
|
|
38
|
-
get: () => e.redirection ? y.value : d.value,
|
|
39
|
-
set: (t) => {
|
|
40
|
-
e.redirection ? y.value = Number(t) : d.value = Number(t);
|
|
41
|
-
}
|
|
42
|
-
}), f = c({
|
|
43
|
-
get: () => e.redirection ? k.value : v.value,
|
|
44
|
-
set: (t) => {
|
|
45
|
-
e.redirection ? k.value = t : v.value = t;
|
|
46
|
-
}
|
|
47
|
-
}), I = c(() => typeof e.link != "string"), w = c(() => {
|
|
48
|
-
const t = p.value.find(({ id: a }) => a === e.selectedLocation);
|
|
49
|
-
return t ? t.name : "";
|
|
50
|
-
});
|
|
51
|
-
function A() {
|
|
52
|
-
if (e.redirection === !0)
|
|
53
|
-
if (V({
|
|
54
|
-
date: f.value,
|
|
55
|
-
location: u.value
|
|
56
|
-
}), I.value) {
|
|
57
|
-
const t = O();
|
|
58
|
-
e.link[t] ? window.location.replace(e.link[t]) : e.link.en && window.location.replace(e.link.en);
|
|
59
|
-
} else
|
|
60
|
-
window.location.replace(e.link);
|
|
61
|
-
else
|
|
62
|
-
E();
|
|
63
|
-
}
|
|
64
|
-
return (t, a) => (r(), _("form", {
|
|
65
|
-
class: x([
|
|
66
|
-
"konnectio-event-search-form",
|
|
67
|
-
{ "has-locations": n(b) },
|
|
68
|
-
{ "auto-search": !t.redirection }
|
|
69
|
-
]),
|
|
70
|
-
onSubmit: M(A, ["prevent"])
|
|
71
|
-
}, [
|
|
72
|
-
m(U, {
|
|
73
|
-
class: "konnectio-event-search-form-content",
|
|
74
|
-
tag: "ul"
|
|
75
|
-
}, {
|
|
76
|
-
default: C(() => [
|
|
77
|
-
n(b) ? (r(), _(F, { key: 0 }, [
|
|
78
|
-
isNaN(t.selectedLocation) ? (r(), L(H, {
|
|
79
|
-
modelValue: u.value,
|
|
80
|
-
"onUpdate:modelValue": a[1] || (a[1] = (l) => u.value = l),
|
|
81
|
-
key: "location",
|
|
82
|
-
label: n(i)("general.location"),
|
|
83
|
-
icon: "location-dot",
|
|
84
|
-
"icon-type": "fas",
|
|
85
|
-
"icon-placement": "label",
|
|
86
|
-
"label-key": "name",
|
|
87
|
-
"value-key": "id",
|
|
88
|
-
options: n(p),
|
|
89
|
-
searchable: !1
|
|
90
|
-
}, null, 8, ["modelValue", "label", "options"])) : (r(), L(j, {
|
|
91
|
-
key: 0,
|
|
92
|
-
modelValue: w.value,
|
|
93
|
-
"onUpdate:modelValue": a[0] || (a[0] = (l) => w.value = l),
|
|
94
|
-
label: n(i)("general.location"),
|
|
95
|
-
icon: "location-dot",
|
|
96
|
-
"icon-type": "fas",
|
|
97
|
-
"icon-placement": "label",
|
|
98
|
-
readonly: ""
|
|
99
|
-
}, null, 8, ["modelValue", "label"]))
|
|
100
|
-
], 64)) : S("", !0),
|
|
101
|
-
m(q, {
|
|
102
|
-
modelValue: f.value,
|
|
103
|
-
"onUpdate:modelValue": a[2] || (a[2] = (l) => f.value = l),
|
|
104
|
-
key: "date",
|
|
105
|
-
label: n(i)("event.selectDate"),
|
|
106
|
-
"icon-type": "fas",
|
|
107
|
-
"icon-placement": "label",
|
|
108
|
-
"min-date": /* @__PURE__ */ new Date()
|
|
109
|
-
}, null, 8, ["modelValue", "label", "min-date"]),
|
|
110
|
-
T("li", J, [
|
|
111
|
-
m(K, {
|
|
112
|
-
type: "submit",
|
|
113
|
-
label: n(i)("availability.buttonLabel"),
|
|
114
|
-
"full-width": ""
|
|
115
|
-
}, null, 8, ["label"])
|
|
116
|
-
])
|
|
117
|
-
]),
|
|
118
|
-
_: 1
|
|
119
|
-
})
|
|
120
|
-
], 34));
|
|
121
|
-
}
|
|
122
|
-
}), G = /* @__PURE__ */ P(Q, [["__scopeId", "data-v-b5025042"]]);
|
|
123
|
-
export {
|
|
124
|
-
G as E
|
|
125
|
-
};
|
|
126
|
-
//# sourceMappingURL=EventAvailabilityForm-Ctz8ENUN.js.map
|
|
Binary file
|
package/dist/Field-Bg0N8Vc0.js
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { d as i, a, g as o, b as f, i as l, f as d, n as p } from "./_sentry-release-injection-file-8liCQLPI.js";
|
|
2
|
-
import { E as s, _ as c } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DIbBJOzF.js";
|
|
3
|
-
(function() {
|
|
4
|
-
try {
|
|
5
|
-
var t = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, e = new Error().stack;
|
|
6
|
-
e && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[e] = "25f4b20a-f2dc-4a6f-9235-f495152d9e73", t._sentryDebugIdIdentifier = "sentry-dbid-25f4b20a-f2dc-4a6f-9235-f495152d9e73");
|
|
7
|
-
} catch {
|
|
8
|
-
}
|
|
9
|
-
})();
|
|
10
|
-
{
|
|
11
|
-
var n = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
12
|
-
n._sentryModuleMetadata = n._sentryModuleMetadata || {}, n._sentryModuleMetadata[new Error().stack] = Object.assign(
|
|
13
|
-
{},
|
|
14
|
-
n._sentryModuleMetadata[new Error().stack],
|
|
15
|
-
{ "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
|
|
16
|
-
);
|
|
17
|
-
}
|
|
18
|
-
const u = {
|
|
19
|
-
key: 0,
|
|
20
|
-
class: "skeleton-field-label"
|
|
21
|
-
}, y = { key: 1 }, _ = /* @__PURE__ */ i({
|
|
22
|
-
__name: "Field",
|
|
23
|
-
props: {
|
|
24
|
-
withIcon: { type: Boolean, default: !1 },
|
|
25
|
-
noLabel: { type: Boolean, default: !1 },
|
|
26
|
-
isTextArea: { type: Boolean, default: !1 }
|
|
27
|
-
},
|
|
28
|
-
setup(t) {
|
|
29
|
-
return (e, r) => (a(), o("div", {
|
|
30
|
-
class: p([
|
|
31
|
-
"skeleton-field",
|
|
32
|
-
{ "is-text-area": e.isTextArea },
|
|
33
|
-
{ "no-label": e.noLabel }
|
|
34
|
-
])
|
|
35
|
-
}, [
|
|
36
|
-
e.noLabel ? (a(), o("div", y)) : (a(), o("div", u, [
|
|
37
|
-
e.withIcon ? (a(), f(s, {
|
|
38
|
-
key: 0,
|
|
39
|
-
height: "15px",
|
|
40
|
-
width: "15px"
|
|
41
|
-
})) : l("", !0),
|
|
42
|
-
d(s, {
|
|
43
|
-
height: "15px",
|
|
44
|
-
width: "30%"
|
|
45
|
-
})
|
|
46
|
-
])),
|
|
47
|
-
d(s, {
|
|
48
|
-
height: e.isTextArea ? "82px" : "44px",
|
|
49
|
-
width: "100%",
|
|
50
|
-
"border-radius": "6px"
|
|
51
|
-
}, null, 8, ["height"])
|
|
52
|
-
], 2));
|
|
53
|
-
}
|
|
54
|
-
}), w = /* @__PURE__ */ c(_, [["__scopeId", "data-v-992f78a1"]]);
|
|
55
|
-
export {
|
|
56
|
-
w as F
|
|
57
|
-
};
|
|
58
|
-
//# sourceMappingURL=Field-Bg0N8Vc0.js.map
|
|
Binary file
|