@konnectio/core 4.0.7 → 4.0.9
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-b87d2fd7.cjs +1 -0
- package/dist/{ActionField-5ecfc9dc.js → ActionField-f3d5b218.js} +4 -4
- package/dist/ActionField-f3d5b218.js.br +0 -0
- package/dist/AvailabilitySkeleton-019ec202.js +150 -0
- package/dist/AvailabilitySkeleton-019ec202.js.br +0 -0
- package/dist/AvailabilitySkeleton-e288f5be.cjs +1 -0
- package/dist/Field-21bb32d7.cjs +1 -0
- package/dist/Field-6bfeedce.js +59 -0
- package/dist/Field-6bfeedce.js.br +0 -0
- package/dist/{NumberField.vue_vue_type_style_index_0_lang-ab747739.js → SelectField.vue_vue_type_style_index_0_lang-701aecad.js} +7743 -6953
- package/dist/SelectField.vue_vue_type_style_index_0_lang-701aecad.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-a370e66d.cjs +797 -0
- package/dist/TextField-99e69631.cjs +54 -0
- package/dist/TextField-b8f4462a.js +9343 -0
- package/dist/TextField-b8f4462a.js.br +0 -0
- package/dist/ThankYou-add684c1.cjs +66 -0
- package/dist/ThankYou-edbf753b.js +14279 -0
- package/dist/ThankYou-edbf753b.js.br +0 -0
- package/dist/{_commonjsHelpers-aeeeeb92.js → _commonjsHelpers-c5d32002.js} +2 -2
- package/dist/{applyGiftCard-d9ab3dcf.cjs → applyGiftCard-c21f13ac.cjs} +1 -1
- package/dist/{applyGiftCard-c5e4aaad.js → applyGiftCard-dea77ba6.js} +7 -7
- package/dist/applyGiftCard-dea77ba6.js.br +0 -0
- package/dist/availability.cjs +2 -0
- package/dist/availability.js +236 -0
- package/dist/availability.js.br +0 -0
- package/dist/components/ErrorMessage.vue.d.ts +5 -0
- package/dist/components/ErrorMessage.vue.d.ts.map +1 -0
- package/dist/components/Icon.vue.d.ts +1 -1
- package/dist/components/forms/EventAvailabilityForm.vue.d.ts +1 -1
- package/dist/components/forms/HotelAvailabilityForm.vue.d.ts +1 -1
- package/dist/components/forms/MultiStepForm.vue.d.ts +1 -1
- package/dist/components/forms/ReservationForm.vue.d.ts +1 -1
- package/dist/components/forms/ReservationFormTest.vue.d.ts +5 -0
- package/dist/components/forms/ReservationFormTest.vue.d.ts.map +1 -0
- package/dist/components/inputs/grouped/CountryField.vue.d.ts +1 -1
- package/dist/components/listings/Base.vue.d.ts +1 -1
- package/dist/components/listings/Test.vue.d.ts +1 -1
- package/dist/components/side-panels/Base.vue.d.ts +1 -1
- package/dist/components/side-panels/Hotel.vue.d.ts +3 -2
- package/dist/components/side-panels/Hotel.vue.d.ts.map +1 -1
- package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts +5 -0
- package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts.map +1 -0
- package/dist/components/skeletons/Field.vue.d.ts +5 -0
- package/dist/components/skeletons/Field.vue.d.ts.map +1 -0
- package/dist/components/skeletons/GiftCardSkeleton.vue.d.ts +5 -0
- package/dist/components/skeletons/GiftCardSkeleton.vue.d.ts.map +1 -0
- package/dist/components/skeletons/HotelSkeleton.vue.d.ts +5 -0
- package/dist/components/skeletons/HotelSkeleton.vue.d.ts.map +1 -0
- package/dist/components/skeletons/Listing.vue.d.ts +5 -0
- package/dist/components/skeletons/Listing.vue.d.ts.map +1 -0
- package/dist/components/skeletons/_.vue.d.ts +5 -0
- package/dist/components/skeletons/_.vue.d.ts.map +1 -0
- package/dist/entries/availability.d.ts +3 -2
- package/dist/entries/gift-card.d.ts +1 -2
- package/dist/entries/hotel.d.ts +0 -2
- package/dist/event-2c6a2138.cjs +1 -0
- package/dist/{event-a70cffeb.js → event-a9067cf5.js} +91 -91
- package/dist/event-a9067cf5.js.br +0 -0
- package/dist/event.cjs +2 -0
- package/dist/event.js +867 -0
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.cjs +1 -0
- package/dist/{gift-card-validation.es.js → gift-card-validation.js} +42 -42
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.cjs +1 -0
- package/dist/gift-card.d.ts +0 -2
- package/dist/gift-card.js +590 -0
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.cjs +19 -0
- package/dist/hotel.d.ts +0 -2
- package/dist/hotel.js +2981 -0
- package/dist/hotel.js.br +0 -0
- package/dist/{index-00262c16.js → index-d080b5a0.js} +5 -7
- package/dist/index-d080b5a0.js.br +0 -0
- package/dist/index-ec04c269.cjs +1 -0
- package/dist/layouts/Availability.vue.d.ts +42 -217
- package/dist/layouts/GiftCard.vue.d.ts +130 -99
- package/dist/layouts/Hotel.vue.d.ts +162 -57
- package/dist/{payment-fbffaa6d.cjs → payment-95b2392a.cjs} +2 -2
- package/dist/{payment-9e219e9b.js → payment-cce506b8.js} +930 -929
- package/dist/payment-cce506b8.js.br +0 -0
- package/dist/polyfill.cjs +4 -0
- package/dist/polyfill.js +6815 -0
- package/dist/polyfill.js.br +0 -0
- package/dist/store/availability.d.ts +4 -1
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +11 -21
- package/dist/ActionField-5ecfc9dc.js.br +0 -0
- package/dist/ActionField-ae9b1adf.cjs +0 -1
- package/dist/HotelAvailabilityForm-0cd1abda.cjs +0 -1
- package/dist/HotelAvailabilityForm-a7b6f17e.js +0 -97
- package/dist/HotelAvailabilityForm-a7b6f17e.js.br +0 -0
- package/dist/NumberField.vue_vue_type_style_index_0_lang-0b6d48f1.cjs +0 -793
- package/dist/NumberField.vue_vue_type_style_index_0_lang-ab747739.js.br +0 -0
- package/dist/ReCaptchaVuePlugin-05b8ec39.js +0 -376
- package/dist/ReCaptchaVuePlugin-05b8ec39.js.br +0 -0
- package/dist/ReCaptchaVuePlugin-08ee5d62.cjs +0 -1
- package/dist/SelectField.vue_vue_type_style_index_0_lang-5bdd7db9.js +0 -10107
- package/dist/SelectField.vue_vue_type_style_index_0_lang-5bdd7db9.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-5f1087dc.cjs +0 -56
- package/dist/ThankYou-1866d8db.js +0 -8547
- package/dist/ThankYou-1866d8db.js.br +0 -0
- package/dist/ThankYou-5741bcb6.cjs +0 -15
- package/dist/applyGiftCard-c5e4aaad.js.br +0 -0
- package/dist/availability.cjs.js +0 -1
- package/dist/availability.cjs.js.br +0 -0
- package/dist/availability.es.js +0 -183
- package/dist/availability.es.js.br +0 -0
- package/dist/components/LoadingBlock.vue.d.ts +0 -4
- package/dist/components/LoadingBlock.vue.d.ts.map +0 -1
- package/dist/event-39706438.cjs +0 -1
- package/dist/event-a70cffeb.js.br +0 -0
- package/dist/event.cjs.js +0 -1
- package/dist/event.cjs.js.br +0 -0
- package/dist/event.es.js +0 -645
- package/dist/event.es.js.br +0 -0
- package/dist/gift-card-validation.cjs.js +0 -1
- package/dist/gift-card-validation.cjs.js.br +0 -0
- package/dist/gift-card-validation.es.js.br +0 -0
- package/dist/gift-card.cjs.js +0 -1
- package/dist/gift-card.cjs.js.br +0 -0
- package/dist/gift-card.es.js +0 -584
- package/dist/gift-card.es.js.br +0 -0
- package/dist/hotel.cjs.js +0 -19
- package/dist/hotel.cjs.js.br +0 -0
- package/dist/hotel.es.js +0 -2394
- package/dist/hotel.es.js.br +0 -0
- package/dist/index-00262c16.js.br +0 -0
- package/dist/index-58f3b0cc.cjs +0 -1
- package/dist/payment-9e219e9b.js.br +0 -0
- package/dist/polyfill.cjs.js +0 -4
- package/dist/polyfill.cjs.js.br +0 -0
- package/dist/polyfill.es.js +0 -6764
- package/dist/polyfill.es.js.br +0 -0
- /package/dist/{navigation.cjs.js → navigation.cjs} +0 -0
- /package/dist/{navigation.es.js → navigation.js} +0 -0
package/dist/event.js
ADDED
|
@@ -0,0 +1,867 @@
|
|
|
1
|
+
import { h as Ue, t as ze, u as He, s as Fe, r as Ye, c as Je, k as u, l as j, T as Ke, w as R, q as t, m as g, z as x, v as i, n as e, U as Qe, V as Ve, y as b, W as Ee, D as k, X as Xe, A as K, Y as Ze, _ as xe, a as Ge, o as en, P as nn, x as ne, Z as Y, $ as te, a0 as $e, O as De, a1 as je, a2 as tn, a3 as Be, B as Re, G as on, J as ln, K as rn, M as an, L as sn, N as un } from "./SelectField.vue_vue_type_style_index_0_lang-701aecad.js";
|
|
2
|
+
import { B as dn, M as cn, R as pn, C as mn, T as fn, z as bn, x as vn } from "./ThankYou-edbf753b.js";
|
|
3
|
+
import { P as yn, C as We, S as gn, i as hn } from "./index-d080b5a0.js";
|
|
4
|
+
import { c as kn, g as Cn } from "./_commonjsHelpers-c5d32002.js";
|
|
5
|
+
import { u as ye } from "./event-a9067cf5.js";
|
|
6
|
+
import { A as Sn } from "./ActionField-f3d5b218.js";
|
|
7
|
+
import { T as Ae } from "./TextField-b8f4462a.js";
|
|
8
|
+
import { _ as wn } from "./payment-cce506b8.js";
|
|
9
|
+
import { _ as Te } from "./applyGiftCard-dea77ba6.js";
|
|
10
|
+
var Ne = { exports: {} };
|
|
11
|
+
(function(N, d) {
|
|
12
|
+
(function(a, V) {
|
|
13
|
+
N.exports = V();
|
|
14
|
+
})(kn, function() {
|
|
15
|
+
function a(n, o, l) {
|
|
16
|
+
return (o = function(p) {
|
|
17
|
+
var f = function(v, w) {
|
|
18
|
+
if (typeof v != "object" || v === null)
|
|
19
|
+
return v;
|
|
20
|
+
var m = v[Symbol.toPrimitive];
|
|
21
|
+
if (m !== void 0) {
|
|
22
|
+
var s = m.call(v, w || "default");
|
|
23
|
+
if (typeof s != "object")
|
|
24
|
+
return s;
|
|
25
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
26
|
+
}
|
|
27
|
+
return (w === "string" ? String : Number)(v);
|
|
28
|
+
}(p, "string");
|
|
29
|
+
return typeof f == "symbol" ? f : String(f);
|
|
30
|
+
}(o)) in n ? Object.defineProperty(n, o, { value: l, enumerable: !0, configurable: !0, writable: !0 }) : n[o] = l, n;
|
|
31
|
+
}
|
|
32
|
+
function V(n, o) {
|
|
33
|
+
var l = Object.keys(n);
|
|
34
|
+
if (Object.getOwnPropertySymbols) {
|
|
35
|
+
var p = Object.getOwnPropertySymbols(n);
|
|
36
|
+
o && (p = p.filter(function(f) {
|
|
37
|
+
return Object.getOwnPropertyDescriptor(n, f).enumerable;
|
|
38
|
+
})), l.push.apply(l, p);
|
|
39
|
+
}
|
|
40
|
+
return l;
|
|
41
|
+
}
|
|
42
|
+
function C(n) {
|
|
43
|
+
for (var o = 1; o < arguments.length; o++) {
|
|
44
|
+
var l = arguments[o] != null ? arguments[o] : {};
|
|
45
|
+
o % 2 ? V(Object(l), !0).forEach(function(p) {
|
|
46
|
+
J(n, p, l[p]);
|
|
47
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(l)) : V(Object(l)).forEach(function(p) {
|
|
48
|
+
Object.defineProperty(n, p, Object.getOwnPropertyDescriptor(l, p));
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
return n;
|
|
52
|
+
}
|
|
53
|
+
function I(n) {
|
|
54
|
+
return I = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
55
|
+
return typeof o;
|
|
56
|
+
} : function(o) {
|
|
57
|
+
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
58
|
+
}, I(n);
|
|
59
|
+
}
|
|
60
|
+
function J(n, o, l) {
|
|
61
|
+
return (o = function(p) {
|
|
62
|
+
var f = function(v, w) {
|
|
63
|
+
if (typeof v != "object" || v === null)
|
|
64
|
+
return v;
|
|
65
|
+
var m = v[Symbol.toPrimitive];
|
|
66
|
+
if (m !== void 0) {
|
|
67
|
+
var s = m.call(v, w);
|
|
68
|
+
if (typeof s != "object")
|
|
69
|
+
return s;
|
|
70
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
71
|
+
}
|
|
72
|
+
return String(v);
|
|
73
|
+
}(p, "string");
|
|
74
|
+
return typeof f == "symbol" ? f : String(f);
|
|
75
|
+
}(o)) in n ? Object.defineProperty(n, o, { value: l, enumerable: !0, configurable: !0, writable: !0 }) : n[o] = l, n;
|
|
76
|
+
}
|
|
77
|
+
function oe(n, o) {
|
|
78
|
+
(o == null || o > n.length) && (o = n.length);
|
|
79
|
+
for (var l = 0, p = new Array(o); l < o; l++)
|
|
80
|
+
p[l] = n[l];
|
|
81
|
+
return p;
|
|
82
|
+
}
|
|
83
|
+
function X(n, o) {
|
|
84
|
+
var l = typeof Symbol < "u" && n[Symbol.iterator] || n["@@iterator"];
|
|
85
|
+
if (!l) {
|
|
86
|
+
if (Array.isArray(n) || (l = function(s, O) {
|
|
87
|
+
if (s) {
|
|
88
|
+
if (typeof s == "string")
|
|
89
|
+
return oe(s, O);
|
|
90
|
+
var S = Object.prototype.toString.call(s).slice(8, -1);
|
|
91
|
+
return S === "Object" && s.constructor && (S = s.constructor.name), S === "Map" || S === "Set" ? Array.from(s) : S === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(S) ? oe(s, O) : void 0;
|
|
92
|
+
}
|
|
93
|
+
}(n)) || o && n && typeof n.length == "number") {
|
|
94
|
+
l && (n = l);
|
|
95
|
+
var p = 0, f = function() {
|
|
96
|
+
};
|
|
97
|
+
return { s: f, n: function() {
|
|
98
|
+
return p >= n.length ? { done: !0 } : { done: !1, value: n[p++] };
|
|
99
|
+
}, e: function(s) {
|
|
100
|
+
throw s;
|
|
101
|
+
}, f };
|
|
102
|
+
}
|
|
103
|
+
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
104
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
105
|
+
}
|
|
106
|
+
var v, w = !0, m = !1;
|
|
107
|
+
return { s: function() {
|
|
108
|
+
l = l.call(n);
|
|
109
|
+
}, n: function() {
|
|
110
|
+
var s = l.next();
|
|
111
|
+
return w = s.done, s;
|
|
112
|
+
}, e: function(s) {
|
|
113
|
+
m = !0, v = s;
|
|
114
|
+
}, f: function() {
|
|
115
|
+
try {
|
|
116
|
+
w || l.return == null || l.return();
|
|
117
|
+
} finally {
|
|
118
|
+
if (m)
|
|
119
|
+
throw v;
|
|
120
|
+
}
|
|
121
|
+
} };
|
|
122
|
+
}
|
|
123
|
+
var W = function(n) {
|
|
124
|
+
var o = window.getComputedStyle(n), l = parseFloat(o.height), p = o.lineHeight === "normal" ? 1.2 * parseFloat(o.fontSize) : parseFloat(o.lineHeight);
|
|
125
|
+
return l === 0 && p === 0 ? 0 : Math.ceil(l / p);
|
|
126
|
+
}, A = /* @__PURE__ */ new WeakMap(), T = function(n) {
|
|
127
|
+
return A.get(n);
|
|
128
|
+
}, h = function(n, o) {
|
|
129
|
+
A.set(n, o);
|
|
130
|
+
}, Z = function(n) {
|
|
131
|
+
return { hasEllipsis: T(n).hasEllipsis };
|
|
132
|
+
}, le = function(n) {
|
|
133
|
+
var o = C({}, T(n));
|
|
134
|
+
o?.observer && o?.observer.disconnect(), o?.observer && (o == null || delete o.prevWidth), o?.observer && (o == null || delete o.prevHeight), o?.observer && (o == null || delete o.observer), h(n, o);
|
|
135
|
+
}, L = { mode: "css", lines: 3, ellipsis: ". . .", midWord: !0, textContent: null }, r = function(n) {
|
|
136
|
+
if (typeof n == "number")
|
|
137
|
+
return parseInt(n.toString());
|
|
138
|
+
if (typeof n == "string") {
|
|
139
|
+
var o = parseInt(n);
|
|
140
|
+
if (!isNaN(o))
|
|
141
|
+
return o;
|
|
142
|
+
}
|
|
143
|
+
return L.lines;
|
|
144
|
+
}, U = function(n) {
|
|
145
|
+
return typeof CSS < "u" && CSS.supports("display", "-webkit-box") && CSS.supports("-webkit-line-clamp", "3") && CSS.supports("-webkit-box-orient", "vertical") ? n === "css" || n === "js" ? n : L.mode : "js";
|
|
146
|
+
}, M = function(n) {
|
|
147
|
+
return typeof n == "string" ? n : typeof n == "number" ? n.toString() : L.ellipsis;
|
|
148
|
+
}, ge = function(n) {
|
|
149
|
+
return typeof n == "boolean" ? n : L.midWord;
|
|
150
|
+
}, he = function(n) {
|
|
151
|
+
return typeof n == "string" ? n : typeof n == "number" ? n.toString() : L.textContent;
|
|
152
|
+
}, me = function(n) {
|
|
153
|
+
var o, l = T(n);
|
|
154
|
+
n.textContent = (o = l?.fullText) !== null && o !== void 0 ? o : n.textContent, n.style.display = "", n.style.webkitLineClamp = "", n.style.webkitBoxOrient = "", n.style.overflow = "";
|
|
155
|
+
}, fe = function(n, o, l) {
|
|
156
|
+
var p = !function(m) {
|
|
157
|
+
return A.has(m);
|
|
158
|
+
}(n), f = T(n), v = function(m) {
|
|
159
|
+
if (I(m) !== "object" || m === null)
|
|
160
|
+
return L;
|
|
161
|
+
var s = m, O = s.mode, S = s.lines, y = s.ellipsis, P = s.midWord, q = s.textContent;
|
|
162
|
+
return { mode: U(O), lines: r(S), ellipsis: M(y), midWord: ge(P), textContent: he(q) };
|
|
163
|
+
}(o);
|
|
164
|
+
h(n, C(C(C({}, f), v), {}, { hasEllipsis: !p && f?.hasEllipsis, fullText: v.textContent ? v.textContent : p ? n.textContent : f?.fullText }));
|
|
165
|
+
var w = function() {
|
|
166
|
+
var m = Z(n), s = T(n);
|
|
167
|
+
me(n);
|
|
168
|
+
var O = W(n);
|
|
169
|
+
if (s.mode === "css" && function(y, P) {
|
|
170
|
+
var q = P.lines, ae = P.fullText;
|
|
171
|
+
y.textContent = ae, y.style.display = "-webkit-box", y.style.webkitLineClamp = q.toString(), y.style.webkitBoxOrient = "vertical", y.style.overflow = "hidden";
|
|
172
|
+
}(n, s), s.mode === "js" && function(y, P) {
|
|
173
|
+
var q = P.lines, ae = P.midWord, D = P.fullText, se = P.ellipsis, we = ae ? [". ", ", ", " ", ""] : [". ", ", ", " "];
|
|
174
|
+
if (y.textContent = D, y.style.display = "", y.style.webkitLineClamp = "", y.style.webkitBoxOrient = "", y.style.overflow = "", !(q <= 0 || W(y) <= q)) {
|
|
175
|
+
var G = { unprocessed: D, processed: "" };
|
|
176
|
+
we.forEach(function(ue) {
|
|
177
|
+
var be, ee = X(G.unprocessed.split(ue));
|
|
178
|
+
try {
|
|
179
|
+
for (ee.s(); !(be = ee.n()).done; ) {
|
|
180
|
+
var re = be.value;
|
|
181
|
+
if (y.textContent = "".concat(G.processed).concat(re).concat(ue).concat(se), W(y) > q) {
|
|
182
|
+
G.unprocessed = re;
|
|
183
|
+
break;
|
|
184
|
+
}
|
|
185
|
+
G.processed = "".concat(G.processed).concat(re).concat(ue);
|
|
186
|
+
}
|
|
187
|
+
} catch (Pe) {
|
|
188
|
+
ee.e(Pe);
|
|
189
|
+
} finally {
|
|
190
|
+
ee.f();
|
|
191
|
+
}
|
|
192
|
+
}), y.textContent = "".concat(G.processed.trim()).concat(se);
|
|
193
|
+
}
|
|
194
|
+
}(n, s), h(n, C(C({}, s), {}, { hasEllipsis: W(n) < O })), l) {
|
|
195
|
+
var S = Z(n);
|
|
196
|
+
l(S, m);
|
|
197
|
+
}
|
|
198
|
+
};
|
|
199
|
+
if (typeof ResizeObserver < "u")
|
|
200
|
+
return le(n), void function(m, s) {
|
|
201
|
+
var O = T(m), S = O.observer || new ResizeObserver(function() {
|
|
202
|
+
var y = T(m);
|
|
203
|
+
if (m.clientWidth !== y.prevWidth || m.clientHeight !== y.prevHeight) {
|
|
204
|
+
s();
|
|
205
|
+
var P = C({}, y);
|
|
206
|
+
P.prevWidth = m.clientWidth, P.prevHeight = m.clientHeight, h(m, P);
|
|
207
|
+
}
|
|
208
|
+
});
|
|
209
|
+
S.observe(m), h(m, C(C({}, O), {}, { observer: S }));
|
|
210
|
+
}(n, w);
|
|
211
|
+
w();
|
|
212
|
+
}, ke = function(n, o) {
|
|
213
|
+
var l = o.value, p = l.lines, f = l.mode, v = l.midWord, w = l.ellipsis, m = l.onSnipped;
|
|
214
|
+
fe(n, { lines: p, mode: f, midWord: v, ellipsis: w }, m);
|
|
215
|
+
}, Ce = function(n, o, l) {
|
|
216
|
+
var p, f = o.value, v = (l == null || (p = l.children) === null || p === void 0 ? void 0 : p[0]).text, w = f.lines, m = f.mode, s = f.midWord, O = f.ellipsis, S = f.onSnipped;
|
|
217
|
+
fe(n, { lines: w, mode: m, midWord: s, ellipsis: O, textContent: v }, S);
|
|
218
|
+
}, Se = function(n) {
|
|
219
|
+
(function(o) {
|
|
220
|
+
me(o), le(o), function(l) {
|
|
221
|
+
A.delete(l);
|
|
222
|
+
}(o);
|
|
223
|
+
})(n);
|
|
224
|
+
};
|
|
225
|
+
return { install: function(n) {
|
|
226
|
+
var o, l = parseFloat(n.version[0]) > 2;
|
|
227
|
+
n.directive("snip", (a(o = {}, l ? "mounted" : "inserted", ke), a(o, l ? "updated" : "update", Ce), a(o, l ? "unmounted" : "unbind", Se), o));
|
|
228
|
+
} };
|
|
229
|
+
});
|
|
230
|
+
})(Ne);
|
|
231
|
+
var Pn = Ne.exports;
|
|
232
|
+
const _n = /* @__PURE__ */ Cn(Pn), On = { class: "fresh-booking-event-listing-information" }, Bn = { key: 0 }, Tn = { key: 1 }, Fn = /* @__PURE__ */ Ue({
|
|
233
|
+
__name: "Event",
|
|
234
|
+
props: {
|
|
235
|
+
name: {},
|
|
236
|
+
type: {},
|
|
237
|
+
description: {},
|
|
238
|
+
fromDate: {},
|
|
239
|
+
toDate: {},
|
|
240
|
+
listingId: {},
|
|
241
|
+
tableGroupId: {},
|
|
242
|
+
days: {},
|
|
243
|
+
timeFrom: {},
|
|
244
|
+
timeTo: {},
|
|
245
|
+
maxOnlineReservationLimit: {},
|
|
246
|
+
minimumPersonCount: {},
|
|
247
|
+
fromPrice: {},
|
|
248
|
+
gallery: {},
|
|
249
|
+
soldOut: { type: Boolean, default: !1 },
|
|
250
|
+
styling: {},
|
|
251
|
+
layout: {},
|
|
252
|
+
trackingEnabled: { type: Boolean },
|
|
253
|
+
callback: {}
|
|
254
|
+
},
|
|
255
|
+
setup(N) {
|
|
256
|
+
const d = N, { t: a } = ze(), { display: V } = He(), {
|
|
257
|
+
currency: C,
|
|
258
|
+
maxNumberOfPeople: I,
|
|
259
|
+
numberOfPeople: J,
|
|
260
|
+
eventId: oe,
|
|
261
|
+
tableGroupId: X
|
|
262
|
+
} = Fe(ye()), {
|
|
263
|
+
getTemplateAvailability: W,
|
|
264
|
+
getEventAvailability: A,
|
|
265
|
+
isEventListingLoading: T
|
|
266
|
+
} = ye(), h = Ye(0), Z = Je(() => T(d.listingId)), le = () => {
|
|
267
|
+
h.value > 0 ? (oe.value = d.listingId, J.value = h.value, W(d.callback)) : V({
|
|
268
|
+
type: "error",
|
|
269
|
+
message: a("alert.error.selectPeople")
|
|
270
|
+
});
|
|
271
|
+
}, L = () => {
|
|
272
|
+
h.value > 0 ? (oe.value = d.listingId, X.value = d.tableGroupId, J.value = h.value, A(d.callback)) : V({
|
|
273
|
+
type: "error",
|
|
274
|
+
message: a("alert.error.selectPeople")
|
|
275
|
+
});
|
|
276
|
+
};
|
|
277
|
+
return (r, U) => (u(), j(dn, {
|
|
278
|
+
"listing-id": r.listingId,
|
|
279
|
+
gallery: r.gallery,
|
|
280
|
+
name: r.name,
|
|
281
|
+
description: r.description,
|
|
282
|
+
layout: e(Ze).Event,
|
|
283
|
+
styling: r.styling,
|
|
284
|
+
currency: e(C)
|
|
285
|
+
}, Ke({
|
|
286
|
+
action: R(() => [
|
|
287
|
+
g(Sn, {
|
|
288
|
+
modelValue: h.value,
|
|
289
|
+
"onUpdate:modelValue": U[0] || (U[0] = (M) => h.value = M),
|
|
290
|
+
type: "number",
|
|
291
|
+
label: e(a)("event.numberOfGuests"),
|
|
292
|
+
buttonLabel: r.soldOut ? e(a)("event.soldOut") : e(a)("event.bookNowButton"),
|
|
293
|
+
buttonDisabled: r.soldOut,
|
|
294
|
+
"min-value": r.type === "event" ? 1 : r.minimumPersonCount,
|
|
295
|
+
"max-value": r.type === "event" ? r.maxOnlineReservationLimit || 1 / 0 : e(I),
|
|
296
|
+
"is-loading": Z.value,
|
|
297
|
+
"onUpdate:isLoading": U[1] || (U[1] = (M) => Z.value = M),
|
|
298
|
+
onAction: U[2] || (U[2] = (M) => r.type === "event" ? L() : le())
|
|
299
|
+
}, null, 8, ["modelValue", "label", "buttonLabel", "buttonDisabled", "min-value", "max-value", "is-loading"])
|
|
300
|
+
]),
|
|
301
|
+
_: 2
|
|
302
|
+
}, [
|
|
303
|
+
r.type === "event" ? {
|
|
304
|
+
name: "description",
|
|
305
|
+
fn: R(() => [
|
|
306
|
+
t("ul", On, [
|
|
307
|
+
t("li", null, [
|
|
308
|
+
g(x, {
|
|
309
|
+
icon: "calendar-range",
|
|
310
|
+
"icon-color": r.styling.headerColor
|
|
311
|
+
}, null, 8, ["icon-color"]),
|
|
312
|
+
t("span", null, i(e(Qe)(r.days)), 1)
|
|
313
|
+
]),
|
|
314
|
+
e(Ve)(r.fromDate, r.toDate) < 180 ? (u(), b("li", Bn, [
|
|
315
|
+
g(x, {
|
|
316
|
+
icon: "calendar-days",
|
|
317
|
+
"icon-color": r.styling.headerColor
|
|
318
|
+
}, null, 8, ["icon-color"]),
|
|
319
|
+
t("span", null, i(e(Ee)(r.fromDate, r.toDate)), 1)
|
|
320
|
+
])) : k("", !0),
|
|
321
|
+
t("li", null, [
|
|
322
|
+
g(x, {
|
|
323
|
+
icon: "calendar-clock",
|
|
324
|
+
"icon-color": r.styling.headerColor
|
|
325
|
+
}, null, 8, ["icon-color"]),
|
|
326
|
+
t("span", null, i(e(Xe)(r.timeFrom, r.timeTo)), 1)
|
|
327
|
+
]),
|
|
328
|
+
r.maxOnlineReservationLimit ? (u(), b("li", Tn, [
|
|
329
|
+
g(x, {
|
|
330
|
+
icon: "user-alt",
|
|
331
|
+
"icon-color": r.styling.headerColor
|
|
332
|
+
}, null, 8, ["icon-color"]),
|
|
333
|
+
t("span", null, i(`1 - ${r.maxOnlineReservationLimit} ${e(a)("general.people")}`), 1)
|
|
334
|
+
])) : k("", !0)
|
|
335
|
+
])
|
|
336
|
+
]),
|
|
337
|
+
key: "0"
|
|
338
|
+
} : {
|
|
339
|
+
name: "description",
|
|
340
|
+
fn: R(() => [
|
|
341
|
+
t("ul", { class: "fresh-booking-event-listing-information" }, [
|
|
342
|
+
e(Ve)(r.fromDate, r.toDate) < 180 ? (u(), b("li", { key: 0 }, [
|
|
343
|
+
g(x, {
|
|
344
|
+
icon: "calendar-days",
|
|
345
|
+
"icon-color": r.styling.headerColor
|
|
346
|
+
}, null, 8, ["icon-color"]),
|
|
347
|
+
t("span", null, i(e(Ee)(r.fromDate, r.toDate, !0)), 1)
|
|
348
|
+
])) : k("", !0),
|
|
349
|
+
t("li", null, [
|
|
350
|
+
g(x, {
|
|
351
|
+
icon: "user-alt",
|
|
352
|
+
"icon-color": r.styling.headerColor
|
|
353
|
+
}, null, 8, ["icon-color"]),
|
|
354
|
+
t("span", null, i(`${r.minimumPersonCount} - ${e(I)} ${e(a)("general.people")}`), 1)
|
|
355
|
+
]),
|
|
356
|
+
t("li", null, [
|
|
357
|
+
g(x, {
|
|
358
|
+
icon: "money-bill",
|
|
359
|
+
"icon-color": r.styling.headerColor
|
|
360
|
+
}, null, 8, ["icon-color"]),
|
|
361
|
+
t("span", null, i(`${e(a)("general.pricesFrom")} ${e(K)(r.fromPrice, e(C))}`), 1)
|
|
362
|
+
])
|
|
363
|
+
])
|
|
364
|
+
]),
|
|
365
|
+
key: "1"
|
|
366
|
+
}
|
|
367
|
+
]), 1032, ["listing-id", "gallery", "name", "description", "layout", "styling", "currency"]));
|
|
368
|
+
}
|
|
369
|
+
});
|
|
370
|
+
const Le = /* @__PURE__ */ xe(Fn, [["__scopeId", "data-v-fc04f878"]]), ie = (N) => (ln("data-v-451e0157"), N = N(), rn(), N), Vn = { class: "fresh-booking-panel" }, En = {
|
|
371
|
+
key: 0,
|
|
372
|
+
id: "fresh-booking-event-overview"
|
|
373
|
+
}, $n = { class: "fresh-booking-event-listings" }, Dn = { class: "fresh-booking-event-listings" }, jn = {
|
|
374
|
+
key: 2,
|
|
375
|
+
id: "fresh-booking-event-addons"
|
|
376
|
+
}, Rn = { class: "fresh-booking-table" }, Wn = /* @__PURE__ */ ie(() => /* @__PURE__ */ t("th", { class: "fresh-booking-event-addons-input" }, null, -1)), An = { class: "fresh-booking-event-addons-price" }, Ln = /* @__PURE__ */ ie(() => /* @__PURE__ */ t("br", null, null, -1)), Un = { class: "fresh-booking-event-addons-input" }, zn = { class: "fresh-booking-event-addons-price" }, xn = /* @__PURE__ */ ie(() => /* @__PURE__ */ t("td", { colspan: "2" }, null, -1)), Nn = { class: "fresh-booking-event-addons-price" }, In = { key: 3 }, Mn = { class: "fresh-booking-label required" }, qn = { id: "fresh-booking-event-table" }, Hn = { key: 4 }, Yn = { class: "fresh-booking-label required" }, Jn = { class: "fresh-booking-table" }, Kn = /* @__PURE__ */ ie(() => /* @__PURE__ */ t("th", { class: "fresh-booking-event-addons-input" }, null, -1)), Qn = { class: "fresh-booking-event-addons-price" }, Xn = /* @__PURE__ */ ie(() => /* @__PURE__ */ t("br", null, null, -1)), Zn = /* @__PURE__ */ ie(() => /* @__PURE__ */ t("br", null, null, -1)), Gn = { class: "fresh-booking-event-addons-input" }, et = { class: "fresh-booking-event-addons-price" }, nt = { key: 0 }, tt = { key: 1 }, ot = { key: 2 }, lt = { key: 3 }, rt = { key: 4 }, it = { key: 5 }, at = { key: 6 }, st = /* @__PURE__ */ Ue({
|
|
377
|
+
__name: "Event",
|
|
378
|
+
props: {
|
|
379
|
+
accessToken: {},
|
|
380
|
+
accentColor: {},
|
|
381
|
+
buttonBackground: {},
|
|
382
|
+
buttonBorder: {},
|
|
383
|
+
buttonBorderRadius: {},
|
|
384
|
+
buttonColor: {},
|
|
385
|
+
buttonFontFamily: {},
|
|
386
|
+
buttonFontSize: {},
|
|
387
|
+
buttonFontWeight: {},
|
|
388
|
+
buttonIconColor: {},
|
|
389
|
+
buttonTextTransform: {},
|
|
390
|
+
dangerColor: {},
|
|
391
|
+
fontColor: {},
|
|
392
|
+
fontFamily: {},
|
|
393
|
+
fontSize: {},
|
|
394
|
+
grayColor: {},
|
|
395
|
+
headerColor: {},
|
|
396
|
+
inputBackground: {},
|
|
397
|
+
inputBorder: {},
|
|
398
|
+
inputBorderRadius: {},
|
|
399
|
+
inputFontColor: {},
|
|
400
|
+
labelFontWeight: {},
|
|
401
|
+
labelPadding: {},
|
|
402
|
+
linkColor: {},
|
|
403
|
+
loadingColor: {},
|
|
404
|
+
panelBackground: {},
|
|
405
|
+
panelBorder: {},
|
|
406
|
+
panelBorderRadius: {},
|
|
407
|
+
panelPadding: {},
|
|
408
|
+
successColor: {}
|
|
409
|
+
},
|
|
410
|
+
setup(N) {
|
|
411
|
+
const d = N, { t: a } = ze(), {
|
|
412
|
+
searchDate: V,
|
|
413
|
+
addons: C,
|
|
414
|
+
products: I,
|
|
415
|
+
numberOfDays: J,
|
|
416
|
+
discountCode: oe,
|
|
417
|
+
name: X,
|
|
418
|
+
phone: W,
|
|
419
|
+
email: A,
|
|
420
|
+
remark: T,
|
|
421
|
+
arrivalTime: h,
|
|
422
|
+
title: Z,
|
|
423
|
+
subtitle: le,
|
|
424
|
+
slideshow: L,
|
|
425
|
+
currency: r,
|
|
426
|
+
numberOfPeople: U,
|
|
427
|
+
numberOfTotalDays: M,
|
|
428
|
+
numberOfRooms: ge,
|
|
429
|
+
basePrice: he,
|
|
430
|
+
totalPrice: me,
|
|
431
|
+
isPaymentLoading: fe,
|
|
432
|
+
hasEvents: ke,
|
|
433
|
+
hasTemplates: Ce,
|
|
434
|
+
getEvents: Se,
|
|
435
|
+
getTemplates: n,
|
|
436
|
+
getEventData: o,
|
|
437
|
+
getTemplateData: l,
|
|
438
|
+
getEventTableData: p,
|
|
439
|
+
length: f,
|
|
440
|
+
roomUpgrade: v,
|
|
441
|
+
weekendFee: w,
|
|
442
|
+
fromDate: m,
|
|
443
|
+
hasProducts: s,
|
|
444
|
+
eventRateType: O,
|
|
445
|
+
isMetaDataAvailable: S,
|
|
446
|
+
areListingsAvailable: y,
|
|
447
|
+
isReservationFormFilled: P,
|
|
448
|
+
isAvailabilityDataAvailable: q,
|
|
449
|
+
getEventImages: ae,
|
|
450
|
+
isTemplateEvent: D,
|
|
451
|
+
tableBasePrice: se
|
|
452
|
+
} = Fe(ye()), {
|
|
453
|
+
initialize: we,
|
|
454
|
+
validateDiscountCode: G,
|
|
455
|
+
fetchListings: ue,
|
|
456
|
+
createBooking: be,
|
|
457
|
+
localAddonPrice: ee,
|
|
458
|
+
totalAddonPrice: re,
|
|
459
|
+
reset: Pe
|
|
460
|
+
} = ye(), {
|
|
461
|
+
hideEvents: Ie,
|
|
462
|
+
hideEventTemplates: Me
|
|
463
|
+
} = Fe(Ge());
|
|
464
|
+
en(() => we()), nn(V, () => ue());
|
|
465
|
+
const qe = {
|
|
466
|
+
"--accentColor": d.accentColor,
|
|
467
|
+
"--buttonBackground": d.buttonBackground,
|
|
468
|
+
"--buttonBorder": d.buttonBorder,
|
|
469
|
+
"--buttonBorderRadius": d.buttonBorderRadius,
|
|
470
|
+
"--buttonColor": d.buttonColor,
|
|
471
|
+
"--buttonFontFamily": d.buttonFontFamily,
|
|
472
|
+
"--buttonFontSize": d.buttonFontSize,
|
|
473
|
+
"--buttonFontWeight": d.buttonFontWeight,
|
|
474
|
+
"--buttonTextTransform": d.buttonTextTransform,
|
|
475
|
+
"--dangerColor": d.dangerColor,
|
|
476
|
+
"--fontColor": d.fontColor,
|
|
477
|
+
"--fontFamily": d.fontFamily,
|
|
478
|
+
"--fontSize": d.fontSize,
|
|
479
|
+
"--grayColor": d.grayColor,
|
|
480
|
+
"--headerColor": d.headerColor,
|
|
481
|
+
"--inputBackground": d.inputBackground,
|
|
482
|
+
"--inputBorder": d.inputBorder,
|
|
483
|
+
"--inputBorderRadius": d.inputBorderRadius,
|
|
484
|
+
"--inputFontColor": d.inputFontColor,
|
|
485
|
+
"--labelFontWeight": d.labelFontWeight,
|
|
486
|
+
"--labelPadding": d.labelPadding,
|
|
487
|
+
"--linkColor": d.linkColor,
|
|
488
|
+
"--loadingColor": d.loadingColor,
|
|
489
|
+
"--panelBackground": d.panelBackground,
|
|
490
|
+
"--panelBorder": d.panelBorder,
|
|
491
|
+
"--panelBorderRadius": d.panelBorderRadius,
|
|
492
|
+
"--panelPadding": d.panelPadding,
|
|
493
|
+
"--successColor": d.successColor
|
|
494
|
+
};
|
|
495
|
+
return (_, B) => (u(), j(on, {
|
|
496
|
+
id: "fresh-booking-event-module",
|
|
497
|
+
class: "fresh-booking-app",
|
|
498
|
+
type: "event",
|
|
499
|
+
"access-token": _.accessToken,
|
|
500
|
+
style: qe
|
|
501
|
+
}, {
|
|
502
|
+
default: R(() => [
|
|
503
|
+
e(S) ? (u(), j(cn, {
|
|
504
|
+
key: 0,
|
|
505
|
+
slideshow: e(L),
|
|
506
|
+
title: e(Z),
|
|
507
|
+
subtitle: e(le)
|
|
508
|
+
}, {
|
|
509
|
+
availability: R(({ next: ve }) => [
|
|
510
|
+
t("div", Vn, [
|
|
511
|
+
g(wn, {
|
|
512
|
+
modelValue: e(V),
|
|
513
|
+
"onUpdate:modelValue": B[0] || (B[0] = (z) => ne(V) ? V.value = z : null),
|
|
514
|
+
label: e(a)("event.selectDate"),
|
|
515
|
+
"min-date": /* @__PURE__ */ new Date()
|
|
516
|
+
}, null, 8, ["modelValue", "label", "min-date"])
|
|
517
|
+
]),
|
|
518
|
+
e(y) ? (u(), b("div", En, [
|
|
519
|
+
e(ke) && !e(Ie) ? (u(), b(Y, { key: 0 }, [
|
|
520
|
+
t("h2", null, [
|
|
521
|
+
g(x, {
|
|
522
|
+
icon: "clock-seven",
|
|
523
|
+
type: "fal",
|
|
524
|
+
"icon-color": _.headerColor
|
|
525
|
+
}, null, 8, ["icon-color"]),
|
|
526
|
+
t("span", null, i(e(a)("event.eventsTitle")), 1)
|
|
527
|
+
]),
|
|
528
|
+
t("ul", $n, [
|
|
529
|
+
(u(!0), b(Y, null, te(e(Se), ({
|
|
530
|
+
id: z,
|
|
531
|
+
days: c,
|
|
532
|
+
name: E,
|
|
533
|
+
timeFrom: H,
|
|
534
|
+
timeTo: F,
|
|
535
|
+
fromDate: $,
|
|
536
|
+
toDate: de,
|
|
537
|
+
tableGroupID: ce,
|
|
538
|
+
description: _e,
|
|
539
|
+
soldOut: Oe,
|
|
540
|
+
maxOnlineReservationLimit: pe
|
|
541
|
+
}) => (u(), j(Le, {
|
|
542
|
+
key: z,
|
|
543
|
+
type: "event",
|
|
544
|
+
"listing-id": z,
|
|
545
|
+
"table-group-id": ce,
|
|
546
|
+
gallery: e(ae)(z),
|
|
547
|
+
description: _e,
|
|
548
|
+
name: E,
|
|
549
|
+
days: c,
|
|
550
|
+
"from-date": $,
|
|
551
|
+
"to-date": de,
|
|
552
|
+
"max-online-reservation-limit": pe,
|
|
553
|
+
"time-from": H,
|
|
554
|
+
"time-to": F,
|
|
555
|
+
"sold-out": Oe,
|
|
556
|
+
styling: {
|
|
557
|
+
headerColor: _.headerColor,
|
|
558
|
+
fontColor: _.fontColor,
|
|
559
|
+
fontSize: _.fontSize,
|
|
560
|
+
fontFamily: _.fontFamily,
|
|
561
|
+
panelPadding: _.panelPadding
|
|
562
|
+
},
|
|
563
|
+
callback: ve
|
|
564
|
+
}, null, 8, ["listing-id", "table-group-id", "gallery", "description", "name", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "styling", "callback"]))), 128))
|
|
565
|
+
])
|
|
566
|
+
], 64)) : k("", !0),
|
|
567
|
+
e(Ce) && !e(Me) ? (u(), b(Y, { key: 1 }, [
|
|
568
|
+
t("h2", null, [
|
|
569
|
+
g(x, {
|
|
570
|
+
icon: "stars",
|
|
571
|
+
type: "fal",
|
|
572
|
+
"icon-color": _.headerColor
|
|
573
|
+
}, null, 8, ["icon-color"]),
|
|
574
|
+
t("span", null, i(e(a)("event.stayTitle")), 1)
|
|
575
|
+
]),
|
|
576
|
+
t("ul", Dn, [
|
|
577
|
+
(u(!0), b(Y, null, te(e(n), ({
|
|
578
|
+
id: z,
|
|
579
|
+
name: c,
|
|
580
|
+
fromDate: E,
|
|
581
|
+
toDate: H,
|
|
582
|
+
minimumPersonCount: F,
|
|
583
|
+
fromPrice: $,
|
|
584
|
+
description: de,
|
|
585
|
+
imageUrl: ce
|
|
586
|
+
}) => (u(), j(Le, {
|
|
587
|
+
key: z,
|
|
588
|
+
type: "template",
|
|
589
|
+
"listing-id": z,
|
|
590
|
+
gallery: ce,
|
|
591
|
+
name: c,
|
|
592
|
+
description: de,
|
|
593
|
+
"from-date": E,
|
|
594
|
+
"to-date": H,
|
|
595
|
+
"minimum-person-count": F,
|
|
596
|
+
fromPrice: $,
|
|
597
|
+
styling: {
|
|
598
|
+
headerColor: _.headerColor,
|
|
599
|
+
fontColor: _.fontColor,
|
|
600
|
+
fontSize: _.fontSize,
|
|
601
|
+
fontFamily: _.fontFamily,
|
|
602
|
+
panelPadding: _.panelPadding
|
|
603
|
+
},
|
|
604
|
+
callback: ve
|
|
605
|
+
}, null, 8, ["listing-id", "gallery", "name", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "styling", "callback"]))), 128))
|
|
606
|
+
])
|
|
607
|
+
], 64)) : k("", !0)
|
|
608
|
+
])) : (u(), j($e, { key: 1 }))
|
|
609
|
+
]),
|
|
610
|
+
reservation: R(({ next: ve, prev: z }) => [
|
|
611
|
+
e(q) ? (u(), j(pn, {
|
|
612
|
+
key: 0,
|
|
613
|
+
remark: e(T),
|
|
614
|
+
"onUpdate:remark": B[8] || (B[8] = (c) => ne(T) ? T.value = c : null),
|
|
615
|
+
"is-filled": e(P),
|
|
616
|
+
"is-loading": e(fe),
|
|
617
|
+
currency: e(r),
|
|
618
|
+
"base-price": e(he),
|
|
619
|
+
"button-icon-color": _.buttonIconColor,
|
|
620
|
+
"total-price": e(me),
|
|
621
|
+
"weekend-fee": e(w),
|
|
622
|
+
"room-upgrade": e(v),
|
|
623
|
+
onPrev: (c) => e(Pe)(z),
|
|
624
|
+
onNext: (c) => e(be)(ve)
|
|
625
|
+
}, {
|
|
626
|
+
form: R(() => [
|
|
627
|
+
e(O) === e(De).FullDayEvent ? (u(), j(Te, {
|
|
628
|
+
key: 0,
|
|
629
|
+
modelValue: e(J),
|
|
630
|
+
"onUpdate:modelValue": B[1] || (B[1] = (c) => ne(J) ? J.value = c : null),
|
|
631
|
+
label: e(a)("event.numberOfDays"),
|
|
632
|
+
"min-value": 1,
|
|
633
|
+
required: ""
|
|
634
|
+
}, null, 8, ["modelValue", "label"])) : k("", !0),
|
|
635
|
+
g(Ae, {
|
|
636
|
+
modelValue: e(X),
|
|
637
|
+
"onUpdate:modelValue": B[2] || (B[2] = (c) => ne(X) ? X.value = c : null),
|
|
638
|
+
type: "text",
|
|
639
|
+
label: e(a)("booking.reservation.name"),
|
|
640
|
+
icon: "user-alt",
|
|
641
|
+
placeholder: e(a)("booking.reservation.namePlaceholder"),
|
|
642
|
+
required: ""
|
|
643
|
+
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
644
|
+
g(Ae, {
|
|
645
|
+
modelValue: e(A),
|
|
646
|
+
"onUpdate:modelValue": B[3] || (B[3] = (c) => ne(A) ? A.value = c : null),
|
|
647
|
+
label: e(a)("booking.reservation.email"),
|
|
648
|
+
type: "email",
|
|
649
|
+
name: "email",
|
|
650
|
+
autocomplete: "email",
|
|
651
|
+
icon: "at",
|
|
652
|
+
placeholder: e(a)("booking.reservation.emailPlaceholder"),
|
|
653
|
+
required: ""
|
|
654
|
+
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
655
|
+
g(yn, {
|
|
656
|
+
modelValue: e(W),
|
|
657
|
+
"onUpdate:modelValue": B[4] || (B[4] = (c) => ne(W) ? W.value = c : null),
|
|
658
|
+
label: e(a)("booking.reservation.phone"),
|
|
659
|
+
icon: "phone-office",
|
|
660
|
+
placeholder: e(a)("booking.reservation.phonePlaceholder"),
|
|
661
|
+
required: ""
|
|
662
|
+
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
663
|
+
k("", !0),
|
|
664
|
+
e(l) && e(l).length > 0 ? (u(), b("ul", jn, [
|
|
665
|
+
(u(!0), b(Y, null, te(e(l), ({
|
|
666
|
+
roomGroupID: c,
|
|
667
|
+
addons: E,
|
|
668
|
+
adultPerRoom: H
|
|
669
|
+
}, F) => (u(), b("li", { key: c }, [
|
|
670
|
+
t("h5", null, [
|
|
671
|
+
t("span", null, i(e(a)("booking.reservation.room")) + " #" + i(F + 1), 1),
|
|
672
|
+
je(" ("),
|
|
673
|
+
g(x, {
|
|
674
|
+
icon: "male",
|
|
675
|
+
type: "fas",
|
|
676
|
+
"icon-color": _.headerColor
|
|
677
|
+
}, null, 8, ["icon-color"]),
|
|
678
|
+
je(" " + i(H) + ") ", 1)
|
|
679
|
+
]),
|
|
680
|
+
t("table", Rn, [
|
|
681
|
+
t("thead", null, [
|
|
682
|
+
t("tr", null, [
|
|
683
|
+
t("th", null, [
|
|
684
|
+
t("span", null, i(e(a)("booking.reservation.addons")), 1)
|
|
685
|
+
]),
|
|
686
|
+
Wn,
|
|
687
|
+
t("th", An, [
|
|
688
|
+
t("span", null, i(e(a)("booking.availability.price")), 1)
|
|
689
|
+
])
|
|
690
|
+
])
|
|
691
|
+
]),
|
|
692
|
+
t("tbody", null, [
|
|
693
|
+
(u(!0), b(Y, null, te(E, ({
|
|
694
|
+
addonID: $,
|
|
695
|
+
cardinality: de,
|
|
696
|
+
name: ce,
|
|
697
|
+
price: _e,
|
|
698
|
+
quantityStrategy: Oe
|
|
699
|
+
}) => (u(), b("tr", { key: $ }, [
|
|
700
|
+
t("td", null, [
|
|
701
|
+
t("b", null, i(ce), 1),
|
|
702
|
+
Ln,
|
|
703
|
+
t("span", null, i(e(K)(_e, e(r))) + " " + i(e(tn)(Oe)), 1)
|
|
704
|
+
]),
|
|
705
|
+
t("td", Un, [
|
|
706
|
+
de === 3 ? (u(), j(Te, {
|
|
707
|
+
key: 0,
|
|
708
|
+
modelValue: e(C)[`${c}.${$}.${F}`],
|
|
709
|
+
"onUpdate:modelValue": (pe) => e(C)[`${c}.${$}.${F}`] = pe,
|
|
710
|
+
small: !0,
|
|
711
|
+
"min-value": 0
|
|
712
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (u(), j(We, {
|
|
713
|
+
key: 1,
|
|
714
|
+
modelValue: e(C)[`${c}.${$}.${F}`],
|
|
715
|
+
"onUpdate:modelValue": (pe) => e(C)[`${c}.${$}.${F}`] = pe,
|
|
716
|
+
numeric: !0
|
|
717
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
718
|
+
]),
|
|
719
|
+
t("td", zn, [
|
|
720
|
+
t("span", null, i(e(K)(e(ee)($, c, F), e(r))), 1)
|
|
721
|
+
])
|
|
722
|
+
]))), 128))
|
|
723
|
+
]),
|
|
724
|
+
t("tfoot", null, [
|
|
725
|
+
t("tr", null, [
|
|
726
|
+
xn,
|
|
727
|
+
t("td", Nn, [
|
|
728
|
+
t("u", null, [
|
|
729
|
+
t("span", null, i(e(K)(e(re)(c, F), e(r))), 1)
|
|
730
|
+
])
|
|
731
|
+
])
|
|
732
|
+
])
|
|
733
|
+
])
|
|
734
|
+
])
|
|
735
|
+
]))), 128))
|
|
736
|
+
])) : k("", !0),
|
|
737
|
+
e(O) !== e(De).FullDayEvent && !e(D) ? (u(), b("div", In, [
|
|
738
|
+
t("label", Mn, [
|
|
739
|
+
t("span", null, i(e(a)("event.selectArrivalTime")), 1)
|
|
740
|
+
]),
|
|
741
|
+
t("ul", qn, [
|
|
742
|
+
(u(!0), b(Y, null, te(e(p), (c, E) => (u(), b("li", { key: E }, [
|
|
743
|
+
g(We, {
|
|
744
|
+
modelValue: e(h),
|
|
745
|
+
"onUpdate:modelValue": B[7] || (B[7] = (H) => ne(h) ? h.value = H : null),
|
|
746
|
+
type: "radio",
|
|
747
|
+
name: "eventTimeTable",
|
|
748
|
+
val: c.time,
|
|
749
|
+
label: e(Be)(c.time)
|
|
750
|
+
}, null, 8, ["modelValue", "val", "label"])
|
|
751
|
+
]))), 128))
|
|
752
|
+
])
|
|
753
|
+
])) : k("", !0),
|
|
754
|
+
e(s) ? (u(), b("div", Hn, [
|
|
755
|
+
t("label", Yn, [
|
|
756
|
+
t("span", null, i(e(a)("event.selectProducts")), 1)
|
|
757
|
+
]),
|
|
758
|
+
t("table", Jn, [
|
|
759
|
+
t("thead", null, [
|
|
760
|
+
t("tr", null, [
|
|
761
|
+
t("th", null, [
|
|
762
|
+
t("span", null, i(e(a)("booking.reservation.addons")), 1)
|
|
763
|
+
]),
|
|
764
|
+
Kn,
|
|
765
|
+
t("th", Qn, [
|
|
766
|
+
t("span", null, i(e(a)("booking.availability.price")), 1)
|
|
767
|
+
])
|
|
768
|
+
])
|
|
769
|
+
]),
|
|
770
|
+
t("tbody", null, [
|
|
771
|
+
(u(!0), b(Y, null, te(e(o).products, ({ productID: c, productName: E, price: H, description: F }) => (u(), b("tr", { key: c }, [
|
|
772
|
+
t("td", null, [
|
|
773
|
+
t("b", null, [
|
|
774
|
+
t("span", null, i(E), 1)
|
|
775
|
+
]),
|
|
776
|
+
Xn,
|
|
777
|
+
t("span", null, i(F), 1),
|
|
778
|
+
Zn,
|
|
779
|
+
t("span", null, i(e(K)(H, e(r))), 1)
|
|
780
|
+
]),
|
|
781
|
+
t("td", Gn, [
|
|
782
|
+
g(Te, {
|
|
783
|
+
modelValue: e(I)[c],
|
|
784
|
+
"onUpdate:modelValue": ($) => e(I)[c] = $,
|
|
785
|
+
small: !0,
|
|
786
|
+
"min-value": 0
|
|
787
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
788
|
+
]),
|
|
789
|
+
t("td", et, [
|
|
790
|
+
t("span", null, i(e(K)(e(ee)(c), e(r))), 1)
|
|
791
|
+
])
|
|
792
|
+
]))), 128))
|
|
793
|
+
])
|
|
794
|
+
])
|
|
795
|
+
])) : k("", !0)
|
|
796
|
+
]),
|
|
797
|
+
resume: R(() => [
|
|
798
|
+
t("li", null, [
|
|
799
|
+
t("span", null, i(e(a)("event.numberOfGuests")), 1),
|
|
800
|
+
t("b", null, i(e(U)), 1)
|
|
801
|
+
]),
|
|
802
|
+
e(D) ? (u(), b("li", nt, [
|
|
803
|
+
t("span", null, i(e(a)("event.numberOfRooms")), 1),
|
|
804
|
+
t("b", null, i(e(ge)), 1)
|
|
805
|
+
])) : k("", !0),
|
|
806
|
+
e(D) ? (u(), b("li", tt, [
|
|
807
|
+
t("span", null, i(e(a)("event.numberOfDays")), 1),
|
|
808
|
+
t("b", null, i(e(M)), 1)
|
|
809
|
+
])) : k("", !0),
|
|
810
|
+
e(D) ? (u(), b("li", ot, [
|
|
811
|
+
t("span", null, i(e(a)("booking.reservation.arrival")), 1),
|
|
812
|
+
t("b", null, i(e(Re)(e(m))), 1)
|
|
813
|
+
])) : k("", !0),
|
|
814
|
+
e(D) ? (u(), b("li", lt, [
|
|
815
|
+
t("span", null, i(e(a)("booking.reservation.departure")), 1),
|
|
816
|
+
t("b", null, i(e(Re)(e(m), e(M))), 1)
|
|
817
|
+
])) : k("", !0),
|
|
818
|
+
!e(D) && e(h) ? (u(), b("li", rt, [
|
|
819
|
+
t("span", null, i(e(a)("event.startOfEvent")), 1),
|
|
820
|
+
t("b", null, i(e(Be)(e(h))), 1)
|
|
821
|
+
])) : k("", !0),
|
|
822
|
+
!e(D) && e(f) ? (u(), b("li", it, [
|
|
823
|
+
t("span", null, i(e(a)("event.lengthOfEvent")), 1),
|
|
824
|
+
t("b", null, i(e(Be)(e(f))), 1)
|
|
825
|
+
])) : k("", !0),
|
|
826
|
+
!e(D) && e(se) > 0 ? (u(), b("li", at, [
|
|
827
|
+
t("span", null, i(e(a)("booking.availability.basePrice")), 1),
|
|
828
|
+
t("b", null, i(e(K)(e(se), e(r))), 1)
|
|
829
|
+
])) : k("", !0)
|
|
830
|
+
]),
|
|
831
|
+
expenses: R(() => [
|
|
832
|
+
(u(!0), b(Y, null, te(e(l), ({ roomGroupID: c }, E) => (u(), b("li", { key: c }, [
|
|
833
|
+
t("span", null, i(e(a)("booking.reservation.addons")) + " - " + i(e(a)("booking.reservation.room")) + " #" + i(E + 1), 1),
|
|
834
|
+
t("b", null, i(e(K)(e(re)(c, E), e(r))), 1)
|
|
835
|
+
]))), 128))
|
|
836
|
+
]),
|
|
837
|
+
_: 2
|
|
838
|
+
}, 1032, ["remark", "is-filled", "is-loading", "currency", "base-price", "button-icon-color", "total-price", "weekend-fee", "room-upgrade", "onPrev", "onNext"])) : k("", !0)
|
|
839
|
+
]),
|
|
840
|
+
payment: R(() => [
|
|
841
|
+
g(mn)
|
|
842
|
+
]),
|
|
843
|
+
confirmation: R(() => [
|
|
844
|
+
g(fn, {
|
|
845
|
+
message: e(a)("event.confirmationMessage"),
|
|
846
|
+
currency: e(r)
|
|
847
|
+
}, null, 8, ["message", "currency"])
|
|
848
|
+
]),
|
|
849
|
+
_: 1
|
|
850
|
+
}, 8, ["slideshow", "title", "subtitle"])) : (u(), j($e, { key: 1 }))
|
|
851
|
+
]),
|
|
852
|
+
_: 1
|
|
853
|
+
}, 8, ["access-token"]));
|
|
854
|
+
}
|
|
855
|
+
});
|
|
856
|
+
const ut = /* @__PURE__ */ xe(st, [["__scopeId", "data-v-451e0157"]]), dt = an(), ct = bn(), Q = sn({ components: { Event: ut } });
|
|
857
|
+
Q.use(dt);
|
|
858
|
+
Q.use(ct);
|
|
859
|
+
Q.use(gn);
|
|
860
|
+
Q.use(_n);
|
|
861
|
+
Q.use(un);
|
|
862
|
+
Q.use(vn);
|
|
863
|
+
Q.use(hn, { bootstrap: !1 });
|
|
864
|
+
Q.mount("#konnectio-event-app");
|
|
865
|
+
export {
|
|
866
|
+
Q as default
|
|
867
|
+
};
|