@konnectio/core 4.0.45 → 4.0.47
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-1e9b784f.js → ActionField-4f3afb7a.js} +2 -2
- package/dist/ActionField-4f3afb7a.js.br +0 -0
- package/dist/{ActionField-2a5b0069.cjs → ActionField-da8af28b.cjs} +1 -1
- package/dist/{AvailabilitySkeleton-f2902197.js → AvailabilitySkeleton-25baf60d.js} +15 -15
- package/dist/AvailabilitySkeleton-25baf60d.js.br +0 -0
- package/dist/{AvailabilitySkeleton-548b948c.cjs → AvailabilitySkeleton-850bab7c.cjs} +1 -1
- package/dist/{CheckoutWindow-70c47274.js → CheckoutWindow-709d0b62.js} +10 -10
- package/dist/CheckoutWindow-709d0b62.js.br +0 -0
- package/dist/{CheckoutWindow-b0b45e70.cjs → CheckoutWindow-934aa76e.cjs} +1 -1
- package/dist/Container-6b2be57c.js +59 -0
- package/dist/Container-6b2be57c.js.br +0 -0
- package/dist/Container-c8f449bb.cjs +1 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-d1cb0d52.js → DateField.vue_vue_type_style_index_0_lang-8b005f72.js} +593 -593
- package/dist/DateField.vue_vue_type_style_index_0_lang-8b005f72.js.br +0 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-fd129a1c.cjs → DateField.vue_vue_type_style_index_0_lang-e1874345.cjs} +1 -1
- package/dist/{Field-327ae27e.cjs → Field-594f873a.cjs} +1 -1
- package/dist/{Field-44e97149.js → Field-e99f6db6.js} +2 -2
- package/dist/Field-e99f6db6.js.br +0 -0
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-f3b45625.js → NumberField.vue_vue_type_script_setup_true_lang-6444e842.js} +1 -1
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-6444e842.js.br +0 -0
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-d4ee7977.cjs → NumberField.vue_vue_type_script_setup_true_lang-d6fa6332.cjs} +1 -1
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-656991fc.js → SelectField.vue_vue_type_style_index_0_lang-523f077b.js} +13131 -14953
- package/dist/SelectField.vue_vue_type_style_index_0_lang-523f077b.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-61443b22.cjs +856 -0
- package/dist/{ThankYou-367bae0e.cjs → ThankYou-50682337.cjs} +7 -7
- package/dist/{ThankYou-c78aff79.js → ThankYou-e6d0561f.js} +227 -229
- package/dist/ThankYou-e6d0561f.js.br +0 -0
- package/dist/{_-e7cd8ef2.cjs → _-aa5cc045.cjs} +1 -1
- package/dist/{_-0345553a.js → _-ede2c679.js} +1 -1
- package/dist/availability.cjs +2 -2
- package/dist/availability.js +66 -66
- package/dist/availability.js.br +0 -0
- package/dist/components/Container.vue.d.ts +5 -0
- package/dist/components/Container.vue.d.ts.map +1 -0
- package/dist/components/forms/ReservationForm.vue.d.ts +1 -1
- package/dist/components/listings/Base.vue.d.ts +1 -1
- package/dist/components/listings/Hotel.vue.d.ts +1 -1
- package/dist/components/skeletons/GiftCardSkeleton.vue.d.ts +1 -1
- package/dist/{event-15977eb5.cjs → event-773a5d1a.cjs} +1 -1
- package/dist/{event-fa719df8.js → event-ea10e9df.js} +7 -7
- package/dist/event-ea10e9df.js.br +0 -0
- package/dist/event.cjs +1 -1
- package/dist/event.js +116 -117
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.cjs +1 -1
- package/dist/gift-card-validation.js +97 -92
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.cjs +1 -1
- package/dist/gift-card.js +331 -324
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.cjs +8 -8
- package/dist/hotel.js +1588 -1718
- package/dist/hotel.js.br +0 -0
- package/dist/layouts/Availability.vue.d.ts +2 -2
- package/dist/layouts/GiftCard.vue.d.ts +1 -1
- package/dist/layouts/GiftCardValidation.vue.d.ts +2 -2
- package/dist/layouts/Hotel.vue.d.ts +1 -1
- package/dist/layouts/_.vue.d.ts +1 -3
- package/dist/polyfill.cjs +1 -1
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/types/index.d.ts +37 -36
- package/package.json +3 -4
- package/dist/ActionField-1e9b784f.js.br +0 -0
- package/dist/AvailabilitySkeleton-f2902197.js.br +0 -0
- package/dist/CheckoutWindow-70c47274.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-d1cb0d52.js.br +0 -0
- package/dist/Field-44e97149.js.br +0 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-f3b45625.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-656991fc.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-b66917f6.cjs +0 -865
- package/dist/ThankYou-c78aff79.js.br +0 -0
- package/dist/components/modals/Base.vue.d.ts +0 -5
- package/dist/components/modals/Base.vue.d.ts.map +0 -1
- package/dist/components/modals/Info.vue.d.ts +0 -5
- package/dist/components/modals/Info.vue.d.ts.map +0 -1
- package/dist/event-fa719df8.js.br +0 -0
package/dist/event.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { k as ge,
|
|
2
|
-
import { B as
|
|
3
|
-
import { u as H } from "./event-
|
|
4
|
-
import { A as
|
|
5
|
-
import { P as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { _ as
|
|
1
|
+
import { k as ge, F as he, b as Qe, s as z, c as ke, r as We, f as Ye, m as t, n as b, X as ze, w as g, A as l, p as r, K as h, H as n, q as e, Y as He, Z as ie, v as i, $ as re, x as u, a0 as Je, L as $, a1 as Ke, _ as fe, o as Xe, a2 as Ze, J as w, a3 as V, a4 as D, a5 as ue, O as de, T as me, a6 as ce, a7 as je, a8 as x, M as pe, P as xe, Q as Ge, R as el, V as ll, U as nl, W as tl, a9 as al } from "./SelectField.vue_vue_type_style_index_0_lang-523f077b.js";
|
|
2
|
+
import { B as ol, M as sl, R as il, T as rl, x as ul } from "./ThankYou-e6d0561f.js";
|
|
3
|
+
import { u as H } from "./event-ea10e9df.js";
|
|
4
|
+
import { A as dl } from "./ActionField-4f3afb7a.js";
|
|
5
|
+
import { P as ml, C as ve, a as cl } from "./CheckoutWindow-709d0b62.js";
|
|
6
|
+
import { _ as pl } from "./DateField.vue_vue_type_style_index_0_lang-8b005f72.js";
|
|
7
|
+
import { _ as G } from "./NumberField.vue_vue_type_script_setup_true_lang-6444e842.js";
|
|
8
8
|
import "./_commonjsHelpers-aeeeeb92.js";
|
|
9
|
-
import "./_-
|
|
10
|
-
const
|
|
9
|
+
import "./_-ede2c679.js";
|
|
10
|
+
const vl = { class: "fresh-booking-event-listing-information" }, bl = { key: 0 }, gl = { key: 1 }, hl = /* @__PURE__ */ ge({
|
|
11
11
|
__name: "Event",
|
|
12
12
|
props: {
|
|
13
13
|
name: {},
|
|
@@ -29,28 +29,28 @@ const bl = { class: "fresh-booking-event-listing-information" }, gl = { key: 0 }
|
|
|
29
29
|
trackingEnabled: { type: Boolean },
|
|
30
30
|
callback: {}
|
|
31
31
|
},
|
|
32
|
-
setup(
|
|
33
|
-
const { t: a } = he(), v =
|
|
34
|
-
maxNumberOfPeople:
|
|
32
|
+
setup(L) {
|
|
33
|
+
const { t: a } = he(), v = L, { display: E } = Qe(), { currency: I } = z(ke()), {
|
|
34
|
+
maxNumberOfPeople: C,
|
|
35
35
|
numberOfPeople: J,
|
|
36
36
|
eventId: U,
|
|
37
|
-
tableGroupId:
|
|
37
|
+
tableGroupId: A
|
|
38
38
|
} = z(H()), {
|
|
39
|
-
getTemplateAvailability:
|
|
40
|
-
getEventAvailability:
|
|
39
|
+
getTemplateAvailability: R,
|
|
40
|
+
getEventAvailability: N,
|
|
41
41
|
isEventListingLoading: O
|
|
42
42
|
} = H(), P = We(0), Q = Ye(() => O(v.listingId)), K = () => {
|
|
43
|
-
P.value > 0 ? (U.value = v.listingId, J.value = P.value,
|
|
43
|
+
P.value > 0 ? (U.value = v.listingId, J.value = P.value, R(v.callback)) : E({
|
|
44
44
|
type: "error",
|
|
45
45
|
message: a("alert.error.selectPeople")
|
|
46
46
|
});
|
|
47
47
|
}, k = () => {
|
|
48
|
-
P.value > 0 ? (U.value = v.listingId,
|
|
48
|
+
P.value > 0 ? (U.value = v.listingId, A.value = v.tableGroupId, J.value = P.value, N(v.callback)) : E({
|
|
49
49
|
type: "error",
|
|
50
50
|
message: a("alert.error.selectPeople")
|
|
51
51
|
});
|
|
52
52
|
};
|
|
53
|
-
return (s, f) => (t(), b(
|
|
53
|
+
return (s, f) => (t(), b(ol, {
|
|
54
54
|
"listing-id": s.listingId,
|
|
55
55
|
gallery: s.gallery,
|
|
56
56
|
name: s.name,
|
|
@@ -58,7 +58,7 @@ const bl = { class: "fresh-booking-event-listing-information" }, gl = { key: 0 }
|
|
|
58
58
|
layout: e(Ke).Event
|
|
59
59
|
}, ze({
|
|
60
60
|
action: g(() => [
|
|
61
|
-
r(
|
|
61
|
+
r(dl, {
|
|
62
62
|
modelValue: P.value,
|
|
63
63
|
"onUpdate:modelValue": f[0] || (f[0] = (B) => P.value = B),
|
|
64
64
|
type: "number",
|
|
@@ -66,7 +66,7 @@ const bl = { class: "fresh-booking-event-listing-information" }, gl = { key: 0 }
|
|
|
66
66
|
buttonLabel: s.soldOut ? e(a)("event.soldOut") : e(a)("event.bookNowButton"),
|
|
67
67
|
buttonDisabled: s.soldOut,
|
|
68
68
|
"min-value": s.type === "event" ? 1 : s.minimumPersonCount,
|
|
69
|
-
"max-value": s.type === "event" ? s.maxOnlineReservationLimit || 1 / 0 : e(
|
|
69
|
+
"max-value": s.type === "event" ? s.maxOnlineReservationLimit || 1 / 0 : e(C),
|
|
70
70
|
"is-loading": Q.value,
|
|
71
71
|
"onUpdate:isLoading": f[1] || (f[1] = (B) => Q.value = B),
|
|
72
72
|
onAction: f[2] || (f[2] = (B) => s.type === "event" ? k() : K())
|
|
@@ -77,7 +77,7 @@ const bl = { class: "fresh-booking-event-listing-information" }, gl = { key: 0 }
|
|
|
77
77
|
s.type === "event" ? {
|
|
78
78
|
name: "description",
|
|
79
79
|
fn: g(() => [
|
|
80
|
-
l("ul",
|
|
80
|
+
l("ul", vl, [
|
|
81
81
|
l("li", null, [
|
|
82
82
|
r(h, {
|
|
83
83
|
icon: "calendar-range",
|
|
@@ -85,7 +85,7 @@ const bl = { class: "fresh-booking-event-listing-information" }, gl = { key: 0 }
|
|
|
85
85
|
}),
|
|
86
86
|
l("span", null, n(e(He)(s.days)), 1)
|
|
87
87
|
]),
|
|
88
|
-
e(ie)(s.fromDate, s.toDate) < 180 ? (t(), i("li",
|
|
88
|
+
e(ie)(s.fromDate, s.toDate) < 180 ? (t(), i("li", bl, [
|
|
89
89
|
r(h, {
|
|
90
90
|
icon: "calendar-days",
|
|
91
91
|
color: "header"
|
|
@@ -99,7 +99,7 @@ const bl = { class: "fresh-booking-event-listing-information" }, gl = { key: 0 }
|
|
|
99
99
|
}),
|
|
100
100
|
l("span", null, n(e(Je)(s.timeFrom, s.timeTo)), 1)
|
|
101
101
|
]),
|
|
102
|
-
s.maxOnlineReservationLimit ? (t(), i("li",
|
|
102
|
+
s.maxOnlineReservationLimit ? (t(), i("li", gl, [
|
|
103
103
|
r(h, {
|
|
104
104
|
icon: "user-alt",
|
|
105
105
|
color: "header"
|
|
@@ -125,7 +125,7 @@ const bl = { class: "fresh-booking-event-listing-information" }, gl = { key: 0 }
|
|
|
125
125
|
icon: "user-alt",
|
|
126
126
|
color: "header"
|
|
127
127
|
}),
|
|
128
|
-
l("span", null, n(`${s.minimumPersonCount} - ${e(
|
|
128
|
+
l("span", null, n(`${s.minimumPersonCount} - ${e(C)} ${e(a)("general.people")}`), 1)
|
|
129
129
|
]),
|
|
130
130
|
l("li", null, [
|
|
131
131
|
r(h, {
|
|
@@ -141,30 +141,30 @@ const bl = { class: "fresh-booking-event-listing-information" }, gl = { key: 0 }
|
|
|
141
141
|
]), 1032, ["listing-id", "gallery", "name", "description", "layout"]));
|
|
142
142
|
}
|
|
143
143
|
});
|
|
144
|
-
const be = /* @__PURE__ */ fe(
|
|
144
|
+
const be = /* @__PURE__ */ fe(hl, [["__scopeId", "data-v-013d2269"]]), F = (L) => (Ge("data-v-b2eee97d"), L = L(), el(), L), kl = { class: "fresh-booking-panel" }, fl = {
|
|
145
145
|
key: 0,
|
|
146
146
|
id: "fresh-booking-event-overview"
|
|
147
|
-
},
|
|
147
|
+
}, yl = { class: "fresh-booking-event-listings" }, _l = { class: "fresh-booking-event-listings" }, Vl = {
|
|
148
148
|
key: 2,
|
|
149
149
|
id: "fresh-booking-event-addons"
|
|
150
|
-
},
|
|
150
|
+
}, Pl = { class: "fresh-booking-table" }, Tl = /* @__PURE__ */ F(() => /* @__PURE__ */ l("th", { class: "fresh-booking-event-addons-input" }, null, -1)), $l = { class: "fresh-booking-event-addons-price" }, El = /* @__PURE__ */ F(() => /* @__PURE__ */ l("br", null, null, -1)), Ol = { class: "fresh-booking-event-addons-input" }, wl = { class: "fresh-booking-event-addons-price" }, Dl = /* @__PURE__ */ F(() => /* @__PURE__ */ l("td", { colspan: "2" }, null, -1)), Ll = { class: "fresh-booking-event-addons-price" }, Cl = { key: 3 }, Ul = { class: "fresh-booking-label required" }, Bl = { id: "fresh-booking-event-table" }, Fl = { key: 4 }, Al = { class: "fresh-booking-label required" }, Rl = { class: "fresh-booking-table" }, Nl = /* @__PURE__ */ F(() => /* @__PURE__ */ l("th", { class: "fresh-booking-event-addons-input" }, null, -1)), Sl = { class: "fresh-booking-event-addons-price" }, ql = /* @__PURE__ */ F(() => /* @__PURE__ */ l("br", null, null, -1)), Ml = /* @__PURE__ */ F(() => /* @__PURE__ */ l("br", null, null, -1)), Il = { class: "fresh-booking-event-addons-input" }, Ql = { class: "fresh-booking-event-addons-price" }, Wl = { key: 0 }, Yl = { key: 1 }, zl = { key: 2 }, Hl = { key: 3 }, Jl = { key: 4 }, Kl = { key: 5 }, Xl = { key: 6 }, Zl = /* @__PURE__ */ ge({
|
|
151
151
|
name: "EventLayout",
|
|
152
152
|
__name: "Event",
|
|
153
153
|
props: {
|
|
154
154
|
accessToken: {},
|
|
155
155
|
styling: {}
|
|
156
156
|
},
|
|
157
|
-
setup(
|
|
157
|
+
setup(L) {
|
|
158
158
|
const { t: a } = he(), {
|
|
159
159
|
searchDate: v,
|
|
160
160
|
addons: E,
|
|
161
161
|
products: I,
|
|
162
|
-
numberOfDays:
|
|
162
|
+
numberOfDays: C,
|
|
163
163
|
discountCode: J,
|
|
164
164
|
name: U,
|
|
165
|
-
phone:
|
|
166
|
-
email:
|
|
167
|
-
remark:
|
|
165
|
+
phone: A,
|
|
166
|
+
email: R,
|
|
167
|
+
remark: N,
|
|
168
168
|
arrivalTime: O,
|
|
169
169
|
title: P,
|
|
170
170
|
subtitle: Q,
|
|
@@ -182,12 +182,12 @@ const be = /* @__PURE__ */ fe(kl, [["__scopeId", "data-v-013d2269"]]), F = (C) =
|
|
|
182
182
|
getTemplates: Ee,
|
|
183
183
|
getEventData: Oe,
|
|
184
184
|
getTemplateData: W,
|
|
185
|
-
getEventTableData:
|
|
185
|
+
getEventTableData: we,
|
|
186
186
|
length: ee,
|
|
187
|
-
roomUpgrade:
|
|
188
|
-
weekendFee:
|
|
187
|
+
roomUpgrade: De,
|
|
188
|
+
weekendFee: Le,
|
|
189
189
|
fromDate: le,
|
|
190
|
-
hasProducts:
|
|
190
|
+
hasProducts: Ce,
|
|
191
191
|
eventRateType: ne,
|
|
192
192
|
isMetaDataAvailable: Ue,
|
|
193
193
|
areListingsAvailable: Be,
|
|
@@ -198,7 +198,7 @@ const be = /* @__PURE__ */ fe(kl, [["__scopeId", "data-v-013d2269"]]), F = (C) =
|
|
|
198
198
|
tableBasePrice: te
|
|
199
199
|
} = z(H()), {
|
|
200
200
|
initialize: Re,
|
|
201
|
-
validateDiscountCode:
|
|
201
|
+
validateDiscountCode: Gl,
|
|
202
202
|
fetchListings: Ne,
|
|
203
203
|
createBooking: Se,
|
|
204
204
|
localAddonPrice: ae,
|
|
@@ -208,7 +208,7 @@ const be = /* @__PURE__ */ fe(kl, [["__scopeId", "data-v-013d2269"]]), F = (C) =
|
|
|
208
208
|
hideEvents: Me,
|
|
209
209
|
hideEventTemplates: Ie
|
|
210
210
|
} = z(ke());
|
|
211
|
-
return Xe(() => Re()), Ze(v, () => Ne()), (se, d) => (t(), b(
|
|
211
|
+
return Xe(() => Re()), Ze(v, () => Ne()), (se, d) => (t(), b(xe, {
|
|
212
212
|
id: "fresh-booking-event-module",
|
|
213
213
|
class: "fresh-booking-app",
|
|
214
214
|
type: "event",
|
|
@@ -216,22 +216,22 @@ const be = /* @__PURE__ */ fe(kl, [["__scopeId", "data-v-013d2269"]]), F = (C) =
|
|
|
216
216
|
styling: se.styling
|
|
217
217
|
}, {
|
|
218
218
|
default: g(() => [
|
|
219
|
-
e(Ue) ? (t(), b(
|
|
219
|
+
e(Ue) ? (t(), b(sl, {
|
|
220
220
|
key: 0,
|
|
221
221
|
slideshow: e(K),
|
|
222
222
|
title: e(P),
|
|
223
223
|
subtitle: e(Q)
|
|
224
224
|
}, {
|
|
225
225
|
availability: g(({ next: Y }) => [
|
|
226
|
-
l("div",
|
|
227
|
-
r(
|
|
226
|
+
l("div", kl, [
|
|
227
|
+
r(pl, {
|
|
228
228
|
modelValue: e(v),
|
|
229
|
-
"onUpdate:modelValue": d[0] || (d[0] = (y) =>
|
|
229
|
+
"onUpdate:modelValue": d[0] || (d[0] = (y) => w(v) ? v.value = y : null),
|
|
230
230
|
label: e(a)("event.selectDate"),
|
|
231
231
|
"min-date": /* @__PURE__ */ new Date()
|
|
232
232
|
}, null, 8, ["modelValue", "label", "min-date"])
|
|
233
233
|
]),
|
|
234
|
-
e(Be) ? (t(), i("div",
|
|
234
|
+
e(Be) ? (t(), i("div", fl, [
|
|
235
235
|
e(Pe) && !e(Me) ? (t(), i(V, { key: 0 }, [
|
|
236
236
|
l("h2", null, [
|
|
237
237
|
r(h, {
|
|
@@ -241,19 +241,19 @@ const be = /* @__PURE__ */ fe(kl, [["__scopeId", "data-v-013d2269"]]), F = (C) =
|
|
|
241
241
|
}),
|
|
242
242
|
l("span", null, n(e(a)("event.eventsTitle")), 1)
|
|
243
243
|
]),
|
|
244
|
-
l("ul",
|
|
245
|
-
(t(!0), i(V, null,
|
|
244
|
+
l("ul", yl, [
|
|
245
|
+
(t(!0), i(V, null, D(e($e), ({
|
|
246
246
|
id: y,
|
|
247
247
|
days: o,
|
|
248
248
|
name: c,
|
|
249
249
|
timeFrom: _,
|
|
250
250
|
timeTo: m,
|
|
251
251
|
fromDate: p,
|
|
252
|
-
toDate:
|
|
252
|
+
toDate: S,
|
|
253
253
|
tableGroupID: X,
|
|
254
254
|
description: Z,
|
|
255
255
|
soldOut: j,
|
|
256
|
-
maxOnlineReservationLimit:
|
|
256
|
+
maxOnlineReservationLimit: q
|
|
257
257
|
}) => (t(), b(be, {
|
|
258
258
|
key: y,
|
|
259
259
|
type: "event",
|
|
@@ -263,8 +263,8 @@ const be = /* @__PURE__ */ fe(kl, [["__scopeId", "data-v-013d2269"]]), F = (C) =
|
|
|
263
263
|
name: c,
|
|
264
264
|
days: o,
|
|
265
265
|
"from-date": p,
|
|
266
|
-
"to-date":
|
|
267
|
-
"max-online-reservation-limit":
|
|
266
|
+
"to-date": S,
|
|
267
|
+
"max-online-reservation-limit": q,
|
|
268
268
|
"time-from": _,
|
|
269
269
|
"time-to": m,
|
|
270
270
|
"sold-out": j,
|
|
@@ -281,21 +281,21 @@ const be = /* @__PURE__ */ fe(kl, [["__scopeId", "data-v-013d2269"]]), F = (C) =
|
|
|
281
281
|
}),
|
|
282
282
|
l("span", null, n(e(a)("event.stayTitle")), 1)
|
|
283
283
|
]),
|
|
284
|
-
l("ul",
|
|
285
|
-
(t(!0), i(V, null,
|
|
284
|
+
l("ul", _l, [
|
|
285
|
+
(t(!0), i(V, null, D(e(Ee), ({
|
|
286
286
|
id: y,
|
|
287
287
|
name: o,
|
|
288
288
|
fromDate: c,
|
|
289
289
|
toDate: _,
|
|
290
290
|
minimumPersonCount: m,
|
|
291
291
|
fromPrice: p,
|
|
292
|
-
description:
|
|
292
|
+
description: S
|
|
293
293
|
}) => (t(), b(be, {
|
|
294
294
|
key: y,
|
|
295
295
|
type: "template",
|
|
296
296
|
"listing-id": y,
|
|
297
297
|
name: o,
|
|
298
|
-
description:
|
|
298
|
+
description: S,
|
|
299
299
|
"from-date": c,
|
|
300
300
|
"to-date": _,
|
|
301
301
|
"minimum-person-count": m,
|
|
@@ -307,31 +307,31 @@ const be = /* @__PURE__ */ fe(kl, [["__scopeId", "data-v-013d2269"]]), F = (C) =
|
|
|
307
307
|
])) : (t(), b(ue, { key: 1 }))
|
|
308
308
|
]),
|
|
309
309
|
reservation: g(({ next: Y, prev: y }) => [
|
|
310
|
-
e(Ae) ? (t(), b(
|
|
310
|
+
e(Ae) ? (t(), b(il, {
|
|
311
311
|
key: 0,
|
|
312
|
-
remark: e(
|
|
313
|
-
"onUpdate:remark": d[8] || (d[8] = (o) =>
|
|
312
|
+
remark: e(N),
|
|
313
|
+
"onUpdate:remark": d[8] || (d[8] = (o) => w(N) ? N.value = o : null),
|
|
314
314
|
"is-filled": e(Fe),
|
|
315
315
|
"is-loading": e(Ve),
|
|
316
316
|
"base-price": e(ye),
|
|
317
317
|
"total-price": e(_e),
|
|
318
|
-
"weekend-fee": e(
|
|
319
|
-
"room-upgrade": e(
|
|
318
|
+
"weekend-fee": e(Le),
|
|
319
|
+
"room-upgrade": e(De),
|
|
320
320
|
onPrev: (o) => e(qe)(y),
|
|
321
321
|
onNext: (o) => e(Se)(Y)
|
|
322
322
|
}, {
|
|
323
323
|
form: g(() => [
|
|
324
|
-
e(ne) === e(de).FullDayEvent ? (t(), b(
|
|
324
|
+
e(ne) === e(de).FullDayEvent ? (t(), b(G, {
|
|
325
325
|
key: 0,
|
|
326
|
-
modelValue: e(
|
|
327
|
-
"onUpdate:modelValue": d[1] || (d[1] = (o) =>
|
|
326
|
+
modelValue: e(C),
|
|
327
|
+
"onUpdate:modelValue": d[1] || (d[1] = (o) => w(C) ? C.value = o : null),
|
|
328
328
|
label: e(a)("event.numberOfDays"),
|
|
329
329
|
"min-value": 1,
|
|
330
330
|
required: ""
|
|
331
331
|
}, null, 8, ["modelValue", "label"])) : u("", !0),
|
|
332
332
|
r(me, {
|
|
333
333
|
modelValue: e(U),
|
|
334
|
-
"onUpdate:modelValue": d[2] || (d[2] = (o) =>
|
|
334
|
+
"onUpdate:modelValue": d[2] || (d[2] = (o) => w(U) ? U.value = o : null),
|
|
335
335
|
type: "text",
|
|
336
336
|
label: e(a)("booking.reservation.name"),
|
|
337
337
|
icon: "user-alt",
|
|
@@ -339,8 +339,8 @@ const be = /* @__PURE__ */ fe(kl, [["__scopeId", "data-v-013d2269"]]), F = (C) =
|
|
|
339
339
|
required: ""
|
|
340
340
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
341
341
|
r(me, {
|
|
342
|
-
modelValue: e(
|
|
343
|
-
"onUpdate:modelValue": d[3] || (d[3] = (o) =>
|
|
342
|
+
modelValue: e(R),
|
|
343
|
+
"onUpdate:modelValue": d[3] || (d[3] = (o) => w(R) ? R.value = o : null),
|
|
344
344
|
label: e(a)("booking.reservation.email"),
|
|
345
345
|
type: "email",
|
|
346
346
|
name: "email",
|
|
@@ -349,17 +349,17 @@ const be = /* @__PURE__ */ fe(kl, [["__scopeId", "data-v-013d2269"]]), F = (C) =
|
|
|
349
349
|
placeholder: e(a)("booking.reservation.emailPlaceholder"),
|
|
350
350
|
required: ""
|
|
351
351
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
352
|
-
r(
|
|
353
|
-
modelValue: e(
|
|
354
|
-
"onUpdate:modelValue": d[4] || (d[4] = (o) =>
|
|
352
|
+
r(ml, {
|
|
353
|
+
modelValue: e(A),
|
|
354
|
+
"onUpdate:modelValue": d[4] || (d[4] = (o) => w(A) ? A.value = o : null),
|
|
355
355
|
label: e(a)("booking.reservation.phone"),
|
|
356
356
|
icon: "phone-office",
|
|
357
357
|
placeholder: e(a)("booking.reservation.phonePlaceholder"),
|
|
358
358
|
required: ""
|
|
359
359
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
360
360
|
u("", !0),
|
|
361
|
-
e(W) && e(W).length > 0 ? (t(), i("ul",
|
|
362
|
-
(t(!0), i(V, null,
|
|
361
|
+
e(W) && e(W).length > 0 ? (t(), i("ul", Vl, [
|
|
362
|
+
(t(!0), i(V, null, D(e(W), ({
|
|
363
363
|
roomGroupID: o,
|
|
364
364
|
addons: c,
|
|
365
365
|
adultPerRoom: _
|
|
@@ -374,42 +374,42 @@ const be = /* @__PURE__ */ fe(kl, [["__scopeId", "data-v-013d2269"]]), F = (C) =
|
|
|
374
374
|
}),
|
|
375
375
|
ce(" " + n(_) + ") ", 1)
|
|
376
376
|
]),
|
|
377
|
-
l("table",
|
|
377
|
+
l("table", Pl, [
|
|
378
378
|
l("thead", null, [
|
|
379
379
|
l("tr", null, [
|
|
380
380
|
l("th", null, [
|
|
381
381
|
l("span", null, n(e(a)("booking.reservation.addons")), 1)
|
|
382
382
|
]),
|
|
383
|
-
|
|
384
|
-
l("th",
|
|
383
|
+
Tl,
|
|
384
|
+
l("th", $l, [
|
|
385
385
|
l("span", null, n(e(a)("booking.availability.price")), 1)
|
|
386
386
|
])
|
|
387
387
|
])
|
|
388
388
|
]),
|
|
389
389
|
l("tbody", null, [
|
|
390
|
-
(t(!0), i(V, null,
|
|
390
|
+
(t(!0), i(V, null, D(c, ({
|
|
391
391
|
addonID: p,
|
|
392
|
-
cardinality:
|
|
392
|
+
cardinality: S,
|
|
393
393
|
name: X,
|
|
394
394
|
price: Z,
|
|
395
395
|
quantityStrategy: j
|
|
396
396
|
}) => (t(), i("tr", { key: p }, [
|
|
397
397
|
l("td", null, [
|
|
398
398
|
l("b", null, n(X), 1),
|
|
399
|
-
|
|
399
|
+
El,
|
|
400
400
|
l("span", null, n(e($)(Z, e(k))) + " " + n(e(je)(j)), 1)
|
|
401
401
|
]),
|
|
402
|
-
l("td",
|
|
403
|
-
|
|
402
|
+
l("td", Ol, [
|
|
403
|
+
S === 3 ? (t(), b(G, {
|
|
404
404
|
key: 0,
|
|
405
405
|
modelValue: e(E)[`${o}.${p}.${m}`],
|
|
406
|
-
"onUpdate:modelValue": (
|
|
406
|
+
"onUpdate:modelValue": (q) => e(E)[`${o}.${p}.${m}`] = q,
|
|
407
407
|
small: !0,
|
|
408
408
|
"min-value": 0
|
|
409
409
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (t(), b(ve, {
|
|
410
410
|
key: 1,
|
|
411
411
|
modelValue: e(E)[`${o}.${p}.${m}`],
|
|
412
|
-
"onUpdate:modelValue": (
|
|
412
|
+
"onUpdate:modelValue": (q) => e(E)[`${o}.${p}.${m}`] = q,
|
|
413
413
|
numeric: !0
|
|
414
414
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
415
415
|
]),
|
|
@@ -420,7 +420,7 @@ const be = /* @__PURE__ */ fe(kl, [["__scopeId", "data-v-013d2269"]]), F = (C) =
|
|
|
420
420
|
]),
|
|
421
421
|
l("tfoot", null, [
|
|
422
422
|
l("tr", null, [
|
|
423
|
-
|
|
423
|
+
Dl,
|
|
424
424
|
l("td", Ll, [
|
|
425
425
|
l("u", null, [
|
|
426
426
|
l("span", null, n(e($)(e(oe)(o, m), e(k))), 1)
|
|
@@ -431,59 +431,59 @@ const be = /* @__PURE__ */ fe(kl, [["__scopeId", "data-v-013d2269"]]), F = (C) =
|
|
|
431
431
|
])
|
|
432
432
|
]))), 128))
|
|
433
433
|
])) : u("", !0),
|
|
434
|
-
e(ne) !== e(de).FullDayEvent && !e(T) ? (t(), i("div",
|
|
435
|
-
l("label",
|
|
434
|
+
e(ne) !== e(de).FullDayEvent && !e(T) ? (t(), i("div", Cl, [
|
|
435
|
+
l("label", Ul, [
|
|
436
436
|
l("span", null, n(e(a)("event.selectArrivalTime")), 1)
|
|
437
437
|
]),
|
|
438
|
-
l("ul",
|
|
439
|
-
(t(!0), i(V, null,
|
|
438
|
+
l("ul", Bl, [
|
|
439
|
+
(t(!0), i(V, null, D(e(we), (o, c) => (t(), i("li", { key: c }, [
|
|
440
440
|
r(ve, {
|
|
441
441
|
modelValue: e(O),
|
|
442
|
-
"onUpdate:modelValue": d[7] || (d[7] = (_) =>
|
|
442
|
+
"onUpdate:modelValue": d[7] || (d[7] = (_) => w(O) ? O.value = _ : null),
|
|
443
443
|
type: "radio",
|
|
444
444
|
name: "eventTimeTable",
|
|
445
445
|
val: o.time,
|
|
446
|
-
label: e(
|
|
446
|
+
label: e(x)(o.time)
|
|
447
447
|
}, null, 8, ["modelValue", "val", "label"])
|
|
448
448
|
]))), 128))
|
|
449
449
|
])
|
|
450
450
|
])) : u("", !0),
|
|
451
|
-
e(
|
|
452
|
-
l("label",
|
|
451
|
+
e(Ce) ? (t(), i("div", Fl, [
|
|
452
|
+
l("label", Al, [
|
|
453
453
|
l("span", null, n(e(a)("event.selectProducts")), 1)
|
|
454
454
|
]),
|
|
455
|
-
l("table",
|
|
455
|
+
l("table", Rl, [
|
|
456
456
|
l("thead", null, [
|
|
457
457
|
l("tr", null, [
|
|
458
458
|
l("th", null, [
|
|
459
459
|
l("span", null, n(e(a)("booking.reservation.addons")), 1)
|
|
460
460
|
]),
|
|
461
|
-
|
|
462
|
-
l("th",
|
|
461
|
+
Nl,
|
|
462
|
+
l("th", Sl, [
|
|
463
463
|
l("span", null, n(e(a)("booking.availability.price")), 1)
|
|
464
464
|
])
|
|
465
465
|
])
|
|
466
466
|
]),
|
|
467
467
|
l("tbody", null, [
|
|
468
|
-
(t(!0), i(V, null,
|
|
468
|
+
(t(!0), i(V, null, D(e(Oe).products, ({ productID: o, productName: c, price: _, description: m }) => (t(), i("tr", { key: o }, [
|
|
469
469
|
l("td", null, [
|
|
470
470
|
l("b", null, [
|
|
471
471
|
l("span", null, n(c), 1)
|
|
472
472
|
]),
|
|
473
|
-
|
|
473
|
+
ql,
|
|
474
474
|
l("span", null, n(m), 1),
|
|
475
|
-
|
|
475
|
+
Ml,
|
|
476
476
|
l("span", null, n(e($)(_, e(k))), 1)
|
|
477
477
|
]),
|
|
478
|
-
l("td",
|
|
479
|
-
r(
|
|
478
|
+
l("td", Il, [
|
|
479
|
+
r(G, {
|
|
480
480
|
modelValue: e(I)[o],
|
|
481
481
|
"onUpdate:modelValue": (p) => e(I)[o] = p,
|
|
482
482
|
small: !0,
|
|
483
483
|
"min-value": 0
|
|
484
484
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
485
485
|
]),
|
|
486
|
-
l("td",
|
|
486
|
+
l("td", Ql, [
|
|
487
487
|
l("span", null, n(e($)(e(ae)(o), e(k))), 1)
|
|
488
488
|
])
|
|
489
489
|
]))), 128))
|
|
@@ -496,37 +496,37 @@ const be = /* @__PURE__ */ fe(kl, [["__scopeId", "data-v-013d2269"]]), F = (C) =
|
|
|
496
496
|
l("span", null, n(e(a)("event.numberOfGuests")), 1),
|
|
497
497
|
l("b", null, n(e(s)), 1)
|
|
498
498
|
]),
|
|
499
|
-
e(T) ? (t(), i("li",
|
|
499
|
+
e(T) ? (t(), i("li", Wl, [
|
|
500
500
|
l("span", null, n(e(a)("event.numberOfRooms")), 1),
|
|
501
501
|
l("b", null, n(e(B)), 1)
|
|
502
502
|
])) : u("", !0),
|
|
503
|
-
e(T) ? (t(), i("li",
|
|
503
|
+
e(T) ? (t(), i("li", Yl, [
|
|
504
504
|
l("span", null, n(e(a)("event.numberOfDays")), 1),
|
|
505
505
|
l("b", null, n(e(f)), 1)
|
|
506
506
|
])) : u("", !0),
|
|
507
|
-
e(T) ? (t(), i("li",
|
|
507
|
+
e(T) ? (t(), i("li", zl, [
|
|
508
508
|
l("span", null, n(e(a)("booking.reservation.arrival")), 1),
|
|
509
509
|
l("b", null, n(e(pe)(e(le))), 1)
|
|
510
510
|
])) : u("", !0),
|
|
511
|
-
e(T) ? (t(), i("li",
|
|
511
|
+
e(T) ? (t(), i("li", Hl, [
|
|
512
512
|
l("span", null, n(e(a)("booking.reservation.departure")), 1),
|
|
513
513
|
l("b", null, n(e(pe)(e(le), e(f))), 1)
|
|
514
514
|
])) : u("", !0),
|
|
515
|
-
!e(T) && e(O) ? (t(), i("li",
|
|
515
|
+
!e(T) && e(O) ? (t(), i("li", Jl, [
|
|
516
516
|
l("span", null, n(e(a)("event.startOfEvent")), 1),
|
|
517
|
-
l("b", null, n(e(
|
|
517
|
+
l("b", null, n(e(x)(e(O))), 1)
|
|
518
518
|
])) : u("", !0),
|
|
519
|
-
!e(T) && e(ee) ? (t(), i("li",
|
|
519
|
+
!e(T) && e(ee) ? (t(), i("li", Kl, [
|
|
520
520
|
l("span", null, n(e(a)("event.lengthOfEvent")), 1),
|
|
521
|
-
l("b", null, n(e(
|
|
521
|
+
l("b", null, n(e(x)(e(ee))), 1)
|
|
522
522
|
])) : u("", !0),
|
|
523
|
-
!e(T) && e(te) > 0 ? (t(), i("li",
|
|
523
|
+
!e(T) && e(te) > 0 ? (t(), i("li", Xl, [
|
|
524
524
|
l("span", null, n(e(a)("booking.availability.basePrice")), 1),
|
|
525
525
|
l("b", null, n(e($)(e(te), e(k))), 1)
|
|
526
526
|
])) : u("", !0)
|
|
527
527
|
]),
|
|
528
528
|
expenses: g(() => [
|
|
529
|
-
(t(!0), i(V, null,
|
|
529
|
+
(t(!0), i(V, null, D(e(W), ({ roomGroupID: o }, c) => (t(), i("li", { key: o }, [
|
|
530
530
|
l("span", null, n(e(a)("booking.reservation.addons")) + " - " + n(e(a)("booking.reservation.room")) + " #" + n(c + 1), 1),
|
|
531
531
|
l("b", null, n(e($)(e(oe)(o, c), e(k))), 1)
|
|
532
532
|
]))), 128))
|
|
@@ -535,10 +535,10 @@ const be = /* @__PURE__ */ fe(kl, [["__scopeId", "data-v-013d2269"]]), F = (C) =
|
|
|
535
535
|
}, 1032, ["remark", "is-filled", "is-loading", "base-price", "total-price", "weekend-fee", "room-upgrade", "onPrev", "onNext"])) : u("", !0)
|
|
536
536
|
]),
|
|
537
537
|
payment: g(() => [
|
|
538
|
-
r(
|
|
538
|
+
r(cl)
|
|
539
539
|
]),
|
|
540
540
|
confirmation: g(() => [
|
|
541
|
-
r(
|
|
541
|
+
r(rl, {
|
|
542
542
|
message: e(a)("event.confirmationMessage")
|
|
543
543
|
}, null, 8, ["message"])
|
|
544
544
|
]),
|
|
@@ -549,13 +549,12 @@ const be = /* @__PURE__ */ fe(kl, [["__scopeId", "data-v-013d2269"]]), F = (C) =
|
|
|
549
549
|
}, 8, ["access-token", "styling"]));
|
|
550
550
|
}
|
|
551
551
|
});
|
|
552
|
-
const
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
A.mount("#konnectio-event-app");
|
|
552
|
+
const jl = /* @__PURE__ */ fe(Zl, [["__scopeId", "data-v-b2eee97d"]]), xl = ll(), M = nl({ components: { Event: jl } });
|
|
553
|
+
M.use(xl);
|
|
554
|
+
M.use(tl);
|
|
555
|
+
M.use(ul);
|
|
556
|
+
M.use(al, { bootstrap: !0 });
|
|
557
|
+
M.mount("#konnectio-event-app");
|
|
559
558
|
export {
|
|
560
|
-
|
|
559
|
+
M as default
|
|
561
560
|
};
|
package/dist/event.js.br
CHANGED
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./SelectField.vue_vue_type_style_index_0_lang-
|
|
1
|
+
"use strict";const e=require("./SelectField.vue_vue_type_style_index_0_lang-61443b22.cjs"),g=require("./ActionField-da8af28b.cjs"),_=require("./Container-c8f449bb.cjs");require("./_commonjsHelpers-6763f629.cjs");require("./NumberField.vue_vue_type_script_setup_true_lang-d6fa6332.cjs");const y=o=>(e.pushScopeId("data-v-5af38302"),o=o(),e.popScopeId(),o),B=["innerHTML"],N={key:0,id:"fresh-booking-gift-card-validation-resume",class:"fresh-booking-panel"},C=y(()=>e.createBaseVNode("span",null,"Loading...",-1)),m=e.defineComponent({name:"GiftCardValidationLayout",__name:"GiftCardValidation",props:{accessToken:{},styling:{}},setup(o){const{t:a}=e.useI18n(),{voucher:l,isValid:c,amount:u,expirationDate:p,productName:f,isLoading:i}=e.storeToRefs(e.useApplyGiftCardStore()),{currency:V}=e.storeToRefs(e.useUtilityStore()),{apply:s}=e.useApplyGiftCardStore();return(d,t)=>(e.openBlock(),e.createBlock(_.Container,{styling:d.styling},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.Suspense,null,{default:e.withCtx(()=>[e.createVNode(e._sfc_main$1,{id:"fresh-booking-gift-card-validation-module","access-token":d.accessToken,type:"gift-card"},{default:e.withCtx(()=>[e.createBaseVNode("form",{onSubmit:t[3]||(t[3]=e.withModifiers(n=>e.unref(s)(),["prevent"]))},[e.createBaseVNode("h4",null,[e.createBaseVNode("span",null,e.toDisplayString(e.unref(a)("giftCardValidation.title")),1)]),e.createBaseVNode("p",{innerHTML:e.unref(a)("giftCardValidation.description")},null,8,B),e.createVNode(g.ActionField,{modelValue:e.unref(l),"onUpdate:modelValue":t[0]||(t[0]=n=>e.isRef(l)?l.value=n:null),icon:"gift-card",label:e.unref(a)("booking.reservation.giftCardCode"),buttonLabel:e.unref(a)("giftCardValidation.submitButton"),placeholder:"XXXXXXXX","is-loading":e.unref(i),"onUpdate:isLoading":t[1]||(t[1]=n=>e.isRef(i)?i.value=n:null),onAction:t[2]||(t[2]=n=>e.unref(s)())},null,8,["modelValue","label","buttonLabel","is-loading"]),!e.unref(i)&&e.unref(c)?(e.openBlock(),e.createElementBlock("table",N,[e.createBaseVNode("thead",null,[e.createBaseVNode("tr",null,[e.createBaseVNode("th",null,[e.createBaseVNode("span",null,e.toDisplayString(e.unref(a)("giftCardValidation.giftCard")),1),e.createVNode(e.Icon,{icon:"gift-card",type:"fas",color:"header"})]),e.createBaseVNode("th",null,[e.createBaseVNode("span",null,e.toDisplayString(e.unref(a)("giftCardValidation.balance")),1),e.createVNode(e.Icon,{icon:"money-bill",type:"fas",color:"header"})]),e.createBaseVNode("th",null,[e.createBaseVNode("span",null,e.toDisplayString(e.unref(a)("giftCardValidation.expirationDate")),1),e.createVNode(e.Icon,{icon:"timer",type:"fas",color:"header"})])])]),e.createBaseVNode("tbody",null,[e.createBaseVNode("tr",null,[e.createBaseVNode("td",null,[e.createBaseVNode("span",null,e.toDisplayString(e.unref(f)),1)]),e.createBaseVNode("td",null,[e.createBaseVNode("span",null,e.toDisplayString(e.unref(e.showPrice)(e.unref(u),e.unref(V))),1)]),e.createBaseVNode("td",null,[e.createBaseVNode("span",null,e.toDisplayString(e.unref(e.showDate)(e.unref(p))),1)])])])])):e.createCommentVNode("",!0)],32)]),_:1},8,["access-token"])]),fallback:e.withCtx(()=>[C]),_:1}))]),_:1},8,["styling"]))}});const h=e._export_sfc(m,[["__scopeId","data-v-5af38302"]]),r=e.createApp({components:{GiftCardValidation:h}}),b=e.createPinia();r.use(b);r.use(e.instance);r.mount("#konnectio-gift-card-validation-app");module.exports=r;
|