@konnectio/core 4.0.27 → 4.0.29
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-5a87e270.js → ActionField-1fcb30ea.js} +7 -7
- package/dist/ActionField-1fcb30ea.js.br +0 -0
- package/dist/{ActionField-1d753e66.cjs → ActionField-81384aa7.cjs} +1 -1
- package/dist/{AvailabilitySkeleton-c0729deb.js → AvailabilitySkeleton-e38800f8.js} +38 -38
- package/dist/AvailabilitySkeleton-e38800f8.js.br +0 -0
- package/dist/{AvailabilitySkeleton-4cf5dece.cjs → AvailabilitySkeleton-f371a6ba.cjs} +1 -1
- package/dist/DateField.vue_vue_type_style_index_0_lang-16f1eb52.cjs +2 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-5eb1cfc9.js +8503 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-5eb1cfc9.js.br +0 -0
- package/dist/{Field-2dd44110.cjs → Field-9be15a05.cjs} +1 -1
- package/dist/{Field-1630bef3.js → Field-eb8d429d.js} +2 -2
- package/dist/Field-eb8d429d.js.br +0 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-959c8429.js +67 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-959c8429.js.br +0 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-ae0eb65d.cjs +1 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-6b27dec6.js +30560 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-6b27dec6.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-80ce269e.cjs +860 -0
- package/dist/{ThankYou-d9cb4dcb.js → ThankYou-90871d9e.js} +1391 -1395
- package/dist/ThankYou-90871d9e.js.br +0 -0
- package/dist/{ThankYou-8449e6f1.cjs → ThankYou-db84768c.cjs} +6 -6
- package/dist/_-0041bfd0.cjs +1 -0
- package/dist/_-c47e8eec.js +20 -0
- package/dist/availability.cjs +1 -1
- package/dist/availability.js +7 -7
- package/dist/availability.js.br +0 -0
- 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/inputs/CheckboxField.vue.d.ts +5 -0
- package/dist/components/inputs/CheckboxField.vue.d.ts.map +1 -0
- package/dist/components/inputs/grouped/RoomConfigField.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/views/TermsOfService.vue.d.ts +1 -1
- package/dist/{event-44910778.js → event-97fce505.js} +11 -13
- package/dist/event-97fce505.js.br +0 -0
- package/dist/event-f7d31cb8.cjs +1 -0
- package/dist/event.cjs +1 -1
- package/dist/event.js +132 -132
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.cjs +1 -1
- package/dist/gift-card-validation.js +29 -29
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.cjs +1 -1
- package/dist/gift-card.js +262 -286
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.cjs +5 -5
- package/dist/hotel.js +1183 -1207
- package/dist/hotel.js.br +0 -0
- package/dist/{index-3e49491a.js → index-1f2fa31e.js} +77 -107
- package/dist/index-1f2fa31e.js.br +0 -0
- package/dist/index-2c822f23.cjs +1 -0
- package/dist/polyfill.cjs +1 -1
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/store/applyGiftCard.d.ts +1 -1
- package/dist/store/event.d.ts +3 -3
- package/dist/store/giftCard.d.ts +1 -1
- package/dist/store/hotel.d.ts +7 -4
- package/dist/store/payment.d.ts +1 -1
- package/dist/store/tracking.d.ts +13 -1
- package/dist/store/utilities.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +3 -2
- package/dist/ActionField-5a87e270.js.br +0 -0
- package/dist/AvailabilitySkeleton-c0729deb.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-84a02496.js +0 -8844
- package/dist/DateField.vue_vue_type_style_index_0_lang-84a02496.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-d010fc16.cjs +0 -5
- package/dist/Field-1630bef3.js.br +0 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-1f0ed43e.cjs +0 -1
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-3f313372.js +0 -116
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-3f313372.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-3f482f0a.js +0 -29124
- package/dist/SelectField.vue_vue_type_style_index_0_lang-3f482f0a.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-cc9c833c.cjs +0 -855
- package/dist/ThankYou-d9cb4dcb.js.br +0 -0
- package/dist/_-963a5633.js +0 -82
- package/dist/_-963a5633.js.br +0 -0
- package/dist/_-cf306835.cjs +0 -1
- package/dist/event-44910778.js.br +0 -0
- package/dist/event-8998e0ed.cjs +0 -1
- package/dist/index-072f9f67.cjs +0 -1
- package/dist/index-3e49491a.js.br +0 -0
package/dist/event.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { B as sl, M as il, R as rl, T as ul, x as dl } from "./ThankYou-
|
|
3
|
-
import { u as
|
|
4
|
-
import { A as ml } from "./ActionField-
|
|
5
|
-
import { P as cl, C as ve, a as pl, S as vl } from "./index-
|
|
6
|
-
import { _ as bl } from "./DateField.vue_vue_type_style_index_0_lang-
|
|
7
|
-
import { _ as x } from "./NumberField.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { k as ge, D as ke, b as Qe, s as z, c as he, r as We, f as Ye, m as t, n as b, W as ze, w as g, A as l, p as r, H as k, F as n, q as e, X as He, Y as ie, v as i, Z as re, x as u, $ as Je, J as $, a0 as Ke, _ as fe, o as Xe, a1 as Ze, G as D, a2 as V, a3 as w, a4 as ue, O as de, T as me, a5 as ce, a6 as je, a7 as G, K as pe, M as Ge, P as xe, Q as el, U as ll, a8 as nl, R as tl, V as al, a9 as ol } from "./SelectField.vue_vue_type_style_index_0_lang-6b27dec6.js";
|
|
2
|
+
import { B as sl, M as il, R as rl, T as ul, x as dl } from "./ThankYou-90871d9e.js";
|
|
3
|
+
import { u as H } from "./event-97fce505.js";
|
|
4
|
+
import { A as ml } from "./ActionField-1fcb30ea.js";
|
|
5
|
+
import { P as cl, C as ve, a as pl, S as vl } from "./index-1f2fa31e.js";
|
|
6
|
+
import { _ as bl } from "./DateField.vue_vue_type_style_index_0_lang-5eb1cfc9.js";
|
|
7
|
+
import { _ as x } from "./NumberField.vue_vue_type_script_setup_true_lang-959c8429.js";
|
|
8
8
|
import "./_commonjsHelpers-aeeeeb92.js";
|
|
9
|
-
import "./_-
|
|
10
|
-
const gl = { class: "fresh-booking-event-listing-information" },
|
|
9
|
+
import "./_-c47e8eec.js";
|
|
10
|
+
const gl = { class: "fresh-booking-event-listing-information" }, kl = { key: 0 }, hl = { key: 1 }, fl = /* @__PURE__ */ ge({
|
|
11
11
|
__name: "Event",
|
|
12
12
|
props: {
|
|
13
13
|
name: {},
|
|
@@ -29,23 +29,23 @@ const gl = { class: "fresh-booking-event-listing-information" }, hl = { key: 0 }
|
|
|
29
29
|
trackingEnabled: { type: Boolean },
|
|
30
30
|
callback: {}
|
|
31
31
|
},
|
|
32
|
-
setup(
|
|
33
|
-
const { t: a } =
|
|
34
|
-
maxNumberOfPeople:
|
|
35
|
-
numberOfPeople:
|
|
36
|
-
eventId:
|
|
32
|
+
setup(L) {
|
|
33
|
+
const { t: a } = ke(), v = L, { display: E } = Qe(), { currency: I } = z(he()), {
|
|
34
|
+
maxNumberOfPeople: U,
|
|
35
|
+
numberOfPeople: J,
|
|
36
|
+
eventId: B,
|
|
37
37
|
tableGroupId: R
|
|
38
|
-
} =
|
|
39
|
-
getTemplateAvailability:
|
|
40
|
-
getEventAvailability:
|
|
38
|
+
} = z(H()), {
|
|
39
|
+
getTemplateAvailability: S,
|
|
40
|
+
getEventAvailability: N,
|
|
41
41
|
isEventListingLoading: O
|
|
42
|
-
} =
|
|
43
|
-
P.value > 0 ? (
|
|
42
|
+
} = H(), P = We(0), Q = Ye(() => O(v.listingId)), K = () => {
|
|
43
|
+
P.value > 0 ? (B.value = v.listingId, J.value = P.value, S(v.callback)) : E({
|
|
44
44
|
type: "error",
|
|
45
45
|
message: a("alert.error.selectPeople")
|
|
46
46
|
});
|
|
47
|
-
},
|
|
48
|
-
P.value > 0 ? (
|
|
47
|
+
}, h = () => {
|
|
48
|
+
P.value > 0 ? (B.value = v.listingId, R.value = v.tableGroupId, J.value = P.value, N(v.callback)) : E({
|
|
49
49
|
type: "error",
|
|
50
50
|
message: a("alert.error.selectPeople")
|
|
51
51
|
});
|
|
@@ -55,8 +55,8 @@ const gl = { class: "fresh-booking-event-listing-information" }, hl = { key: 0 }
|
|
|
55
55
|
gallery: s.gallery,
|
|
56
56
|
name: s.name,
|
|
57
57
|
description: s.description,
|
|
58
|
-
layout: e(
|
|
59
|
-
},
|
|
58
|
+
layout: e(Ke).Event
|
|
59
|
+
}, ze({
|
|
60
60
|
action: g(() => [
|
|
61
61
|
r(ml, {
|
|
62
62
|
modelValue: P.value,
|
|
@@ -66,10 +66,10 @@ const gl = { class: "fresh-booking-event-listing-information" }, hl = { 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(
|
|
70
|
-
"is-loading":
|
|
71
|
-
"onUpdate:isLoading": f[1] || (f[1] = (F) =>
|
|
72
|
-
onAction: f[2] || (f[2] = (F) => s.type === "event" ?
|
|
69
|
+
"max-value": s.type === "event" ? s.maxOnlineReservationLimit || 1 / 0 : e(U),
|
|
70
|
+
"is-loading": Q.value,
|
|
71
|
+
"onUpdate:isLoading": f[1] || (f[1] = (F) => Q.value = F),
|
|
72
|
+
onAction: f[2] || (f[2] = (F) => s.type === "event" ? h() : K())
|
|
73
73
|
}, null, 8, ["modelValue", "label", "buttonLabel", "buttonDisabled", "min-value", "max-value", "is-loading"])
|
|
74
74
|
]),
|
|
75
75
|
_: 2
|
|
@@ -79,28 +79,28 @@ const gl = { class: "fresh-booking-event-listing-information" }, hl = { key: 0 }
|
|
|
79
79
|
fn: g(() => [
|
|
80
80
|
l("ul", gl, [
|
|
81
81
|
l("li", null, [
|
|
82
|
-
r(
|
|
82
|
+
r(k, {
|
|
83
83
|
icon: "calendar-range",
|
|
84
84
|
color: "header"
|
|
85
85
|
}),
|
|
86
|
-
l("span", null, n(e(
|
|
86
|
+
l("span", null, n(e(He)(s.days)), 1)
|
|
87
87
|
]),
|
|
88
|
-
e(ie)(s.fromDate, s.toDate) < 180 ? (t(), i("li",
|
|
89
|
-
r(
|
|
88
|
+
e(ie)(s.fromDate, s.toDate) < 180 ? (t(), i("li", kl, [
|
|
89
|
+
r(k, {
|
|
90
90
|
icon: "calendar-days",
|
|
91
91
|
color: "header"
|
|
92
92
|
}),
|
|
93
93
|
l("span", null, n(e(re)(s.fromDate, s.toDate)), 1)
|
|
94
94
|
])) : u("", !0),
|
|
95
95
|
l("li", null, [
|
|
96
|
-
r(
|
|
96
|
+
r(k, {
|
|
97
97
|
icon: "calendar-clock",
|
|
98
98
|
color: "header"
|
|
99
99
|
}),
|
|
100
|
-
l("span", null, n(e(
|
|
100
|
+
l("span", null, n(e(Je)(s.timeFrom, s.timeTo)), 1)
|
|
101
101
|
]),
|
|
102
|
-
s.maxOnlineReservationLimit ? (t(), i("li",
|
|
103
|
-
r(
|
|
102
|
+
s.maxOnlineReservationLimit ? (t(), i("li", hl, [
|
|
103
|
+
r(k, {
|
|
104
104
|
icon: "user-alt",
|
|
105
105
|
color: "header"
|
|
106
106
|
}),
|
|
@@ -114,21 +114,21 @@ const gl = { class: "fresh-booking-event-listing-information" }, hl = { key: 0 }
|
|
|
114
114
|
fn: g(() => [
|
|
115
115
|
l("ul", { class: "fresh-booking-event-listing-information" }, [
|
|
116
116
|
e(ie)(s.fromDate, s.toDate) < 180 ? (t(), i("li", { key: 0 }, [
|
|
117
|
-
r(
|
|
117
|
+
r(k, {
|
|
118
118
|
icon: "calendar-days",
|
|
119
119
|
color: "header"
|
|
120
120
|
}),
|
|
121
121
|
l("span", null, n(e(re)(s.fromDate, s.toDate, !0)), 1)
|
|
122
122
|
])) : u("", !0),
|
|
123
123
|
l("li", null, [
|
|
124
|
-
r(
|
|
124
|
+
r(k, {
|
|
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(U)} ${e(a)("general.people")}`), 1)
|
|
129
129
|
]),
|
|
130
130
|
l("li", null, [
|
|
131
|
-
r(
|
|
131
|
+
r(k, {
|
|
132
132
|
icon: "money-bill",
|
|
133
133
|
color: "header"
|
|
134
134
|
}),
|
|
@@ -141,35 +141,35 @@ const gl = { class: "fresh-booking-event-listing-information" }, hl = { key: 0 }
|
|
|
141
141
|
]), 1032, ["listing-id", "gallery", "name", "description", "layout"]));
|
|
142
142
|
}
|
|
143
143
|
});
|
|
144
|
-
const be = /* @__PURE__ */ fe(fl, [["__scopeId", "data-v-4a459a74"]]), A = (
|
|
144
|
+
const be = /* @__PURE__ */ fe(fl, [["__scopeId", "data-v-4a459a74"]]), A = (L) => (xe("data-v-b2eee97d"), L = L(), el(), L), yl = { class: "fresh-booking-panel" }, _l = {
|
|
145
145
|
key: 0,
|
|
146
146
|
id: "fresh-booking-event-overview"
|
|
147
147
|
}, Vl = { class: "fresh-booking-event-listings" }, Pl = { class: "fresh-booking-event-listings" }, Tl = {
|
|
148
148
|
key: 2,
|
|
149
149
|
id: "fresh-booking-event-addons"
|
|
150
|
-
}, $l = { class: "fresh-booking-table" }, El = /* @__PURE__ */ A(() => /* @__PURE__ */ l("th", { class: "fresh-booking-event-addons-input" }, null, -1)), Ol = { class: "fresh-booking-event-addons-price" }, Dl = /* @__PURE__ */ A(() => /* @__PURE__ */ l("br", null, null, -1)), wl = { class: "fresh-booking-event-addons-input" },
|
|
150
|
+
}, $l = { class: "fresh-booking-table" }, El = /* @__PURE__ */ A(() => /* @__PURE__ */ l("th", { class: "fresh-booking-event-addons-input" }, null, -1)), Ol = { class: "fresh-booking-event-addons-price" }, Dl = /* @__PURE__ */ A(() => /* @__PURE__ */ l("br", null, null, -1)), wl = { class: "fresh-booking-event-addons-input" }, Cl = { class: "fresh-booking-event-addons-price" }, Ll = /* @__PURE__ */ A(() => /* @__PURE__ */ l("td", { colspan: "2" }, null, -1)), Ul = { class: "fresh-booking-event-addons-price" }, Bl = { key: 3 }, Fl = { class: "fresh-booking-label required" }, Al = { id: "fresh-booking-event-table" }, Rl = { key: 4 }, Sl = { class: "fresh-booking-label required" }, Nl = { class: "fresh-booking-table" }, ql = /* @__PURE__ */ A(() => /* @__PURE__ */ l("th", { class: "fresh-booking-event-addons-input" }, null, -1)), Ml = { class: "fresh-booking-event-addons-price" }, Il = /* @__PURE__ */ A(() => /* @__PURE__ */ l("br", null, null, -1)), Ql = /* @__PURE__ */ A(() => /* @__PURE__ */ l("br", null, null, -1)), Wl = { class: "fresh-booking-event-addons-input" }, Yl = { class: "fresh-booking-event-addons-price" }, zl = { key: 0 }, Hl = { key: 1 }, Jl = { key: 2 }, Kl = { key: 3 }, Xl = { key: 4 }, Zl = { key: 5 }, jl = { key: 6 }, Gl = /* @__PURE__ */ ge({
|
|
151
151
|
name: "EventLayout",
|
|
152
152
|
__name: "Event",
|
|
153
153
|
props: {
|
|
154
154
|
accessToken: {},
|
|
155
155
|
styling: {}
|
|
156
156
|
},
|
|
157
|
-
setup(
|
|
158
|
-
const { t: a } =
|
|
157
|
+
setup(L) {
|
|
158
|
+
const { t: a } = ke(), {
|
|
159
159
|
searchDate: v,
|
|
160
160
|
addons: E,
|
|
161
161
|
products: I,
|
|
162
|
-
numberOfDays:
|
|
163
|
-
discountCode:
|
|
164
|
-
name:
|
|
162
|
+
numberOfDays: U,
|
|
163
|
+
discountCode: J,
|
|
164
|
+
name: B,
|
|
165
165
|
phone: R,
|
|
166
|
-
email:
|
|
167
|
-
remark:
|
|
166
|
+
email: S,
|
|
167
|
+
remark: N,
|
|
168
168
|
arrivalTime: O,
|
|
169
169
|
title: P,
|
|
170
|
-
subtitle:
|
|
171
|
-
slideshow:
|
|
172
|
-
currency:
|
|
170
|
+
subtitle: Q,
|
|
171
|
+
slideshow: K,
|
|
172
|
+
currency: h,
|
|
173
173
|
numberOfPeople: s,
|
|
174
174
|
numberOfTotalDays: f,
|
|
175
175
|
numberOfRooms: F,
|
|
@@ -181,34 +181,34 @@ const be = /* @__PURE__ */ fe(fl, [["__scopeId", "data-v-4a459a74"]]), A = (B) =
|
|
|
181
181
|
getEvents: $e,
|
|
182
182
|
getTemplates: Ee,
|
|
183
183
|
getEventData: Oe,
|
|
184
|
-
getTemplateData:
|
|
184
|
+
getTemplateData: W,
|
|
185
185
|
getEventTableData: De,
|
|
186
186
|
length: ee,
|
|
187
187
|
roomUpgrade: we,
|
|
188
|
-
weekendFee:
|
|
188
|
+
weekendFee: Ce,
|
|
189
189
|
fromDate: le,
|
|
190
|
-
hasProducts:
|
|
190
|
+
hasProducts: Le,
|
|
191
191
|
eventRateType: ne,
|
|
192
|
-
isMetaDataAvailable:
|
|
193
|
-
areListingsAvailable:
|
|
192
|
+
isMetaDataAvailable: Ue,
|
|
193
|
+
areListingsAvailable: Be,
|
|
194
194
|
isReservationFormFilled: Fe,
|
|
195
195
|
isAvailabilityDataAvailable: Ae,
|
|
196
196
|
// getEventImages,
|
|
197
197
|
isTemplateEvent: T,
|
|
198
198
|
tableBasePrice: te
|
|
199
|
-
} =
|
|
199
|
+
} = z(H()), {
|
|
200
200
|
initialize: Re,
|
|
201
201
|
validateDiscountCode: nn,
|
|
202
|
-
fetchListings:
|
|
203
|
-
createBooking:
|
|
202
|
+
fetchListings: Se,
|
|
203
|
+
createBooking: Ne,
|
|
204
204
|
localAddonPrice: ae,
|
|
205
205
|
totalAddonPrice: oe,
|
|
206
206
|
reset: qe
|
|
207
|
-
} =
|
|
207
|
+
} = H(), {
|
|
208
208
|
hideEvents: Me,
|
|
209
209
|
hideEventTemplates: Ie
|
|
210
|
-
} =
|
|
211
|
-
return
|
|
210
|
+
} = z(he());
|
|
211
|
+
return Xe(() => Re()), Ze(v, () => Se()), (se, d) => (t(), b(Ge, {
|
|
212
212
|
id: "fresh-booking-event-module",
|
|
213
213
|
class: "fresh-booking-app",
|
|
214
214
|
type: "event",
|
|
@@ -216,13 +216,13 @@ const be = /* @__PURE__ */ fe(fl, [["__scopeId", "data-v-4a459a74"]]), A = (B) =
|
|
|
216
216
|
styling: se.styling
|
|
217
217
|
}, {
|
|
218
218
|
default: g(() => [
|
|
219
|
-
e(
|
|
219
|
+
e(Ue) ? (t(), b(il, {
|
|
220
220
|
key: 0,
|
|
221
|
-
slideshow: e(
|
|
221
|
+
slideshow: e(K),
|
|
222
222
|
title: e(P),
|
|
223
|
-
subtitle: e(
|
|
223
|
+
subtitle: e(Q)
|
|
224
224
|
}, {
|
|
225
|
-
availability: g(({ next:
|
|
225
|
+
availability: g(({ next: Y }) => [
|
|
226
226
|
l("div", yl, [
|
|
227
227
|
r(bl, {
|
|
228
228
|
modelValue: e(v),
|
|
@@ -231,10 +231,10 @@ const be = /* @__PURE__ */ fe(fl, [["__scopeId", "data-v-4a459a74"]]), A = (B) =
|
|
|
231
231
|
"min-date": /* @__PURE__ */ new Date()
|
|
232
232
|
}, null, 8, ["modelValue", "label", "min-date"])
|
|
233
233
|
]),
|
|
234
|
-
e(
|
|
234
|
+
e(Be) ? (t(), i("div", _l, [
|
|
235
235
|
e(Pe) && !e(Me) ? (t(), i(V, { key: 0 }, [
|
|
236
236
|
l("h2", null, [
|
|
237
|
-
r(
|
|
237
|
+
r(k, {
|
|
238
238
|
icon: "clock-seven",
|
|
239
239
|
type: "fal",
|
|
240
240
|
color: "header"
|
|
@@ -250,16 +250,16 @@ const be = /* @__PURE__ */ fe(fl, [["__scopeId", "data-v-4a459a74"]]), A = (B) =
|
|
|
250
250
|
timeTo: m,
|
|
251
251
|
fromDate: p,
|
|
252
252
|
toDate: q,
|
|
253
|
-
tableGroupID:
|
|
254
|
-
description:
|
|
255
|
-
soldOut:
|
|
253
|
+
tableGroupID: X,
|
|
254
|
+
description: Z,
|
|
255
|
+
soldOut: j,
|
|
256
256
|
maxOnlineReservationLimit: M
|
|
257
257
|
}) => (t(), b(be, {
|
|
258
258
|
key: y,
|
|
259
259
|
type: "event",
|
|
260
260
|
"listing-id": y,
|
|
261
|
-
"table-group-id":
|
|
262
|
-
description:
|
|
261
|
+
"table-group-id": X,
|
|
262
|
+
description: Z,
|
|
263
263
|
name: c,
|
|
264
264
|
days: o,
|
|
265
265
|
"from-date": p,
|
|
@@ -267,14 +267,14 @@ const be = /* @__PURE__ */ fe(fl, [["__scopeId", "data-v-4a459a74"]]), A = (B) =
|
|
|
267
267
|
"max-online-reservation-limit": M,
|
|
268
268
|
"time-from": _,
|
|
269
269
|
"time-to": m,
|
|
270
|
-
"sold-out":
|
|
271
|
-
callback:
|
|
270
|
+
"sold-out": j,
|
|
271
|
+
callback: Y
|
|
272
272
|
}, null, 8, ["listing-id", "table-group-id", "description", "name", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "callback"]))), 128))
|
|
273
273
|
])
|
|
274
274
|
], 64)) : u("", !0),
|
|
275
275
|
e(Te) && !e(Ie) ? (t(), i(V, { key: 1 }, [
|
|
276
276
|
l("h2", null, [
|
|
277
|
-
r(
|
|
277
|
+
r(k, {
|
|
278
278
|
icon: "stars",
|
|
279
279
|
type: "fal",
|
|
280
280
|
color: "header"
|
|
@@ -300,38 +300,38 @@ const be = /* @__PURE__ */ fe(fl, [["__scopeId", "data-v-4a459a74"]]), A = (B) =
|
|
|
300
300
|
"to-date": _,
|
|
301
301
|
"minimum-person-count": m,
|
|
302
302
|
fromPrice: p,
|
|
303
|
-
callback:
|
|
303
|
+
callback: Y
|
|
304
304
|
}, null, 8, ["listing-id", "name", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
|
|
305
305
|
])
|
|
306
306
|
], 64)) : u("", !0)
|
|
307
307
|
])) : (t(), b(ue, { key: 1 }))
|
|
308
308
|
]),
|
|
309
|
-
reservation: g(({ next:
|
|
309
|
+
reservation: g(({ next: Y, prev: y }) => [
|
|
310
310
|
e(Ae) ? (t(), b(rl, {
|
|
311
311
|
key: 0,
|
|
312
|
-
remark: e(
|
|
313
|
-
"onUpdate:remark": d[8] || (d[8] = (o) => D(
|
|
312
|
+
remark: e(N),
|
|
313
|
+
"onUpdate:remark": d[8] || (d[8] = (o) => D(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(
|
|
318
|
+
"weekend-fee": e(Ce),
|
|
319
319
|
"room-upgrade": e(we),
|
|
320
320
|
onPrev: (o) => e(qe)(y),
|
|
321
|
-
onNext: (o) => e(
|
|
321
|
+
onNext: (o) => e(Ne)(Y)
|
|
322
322
|
}, {
|
|
323
323
|
form: g(() => [
|
|
324
324
|
e(ne) === e(de).FullDayEvent ? (t(), b(x, {
|
|
325
325
|
key: 0,
|
|
326
|
-
modelValue: e(
|
|
327
|
-
"onUpdate:modelValue": d[1] || (d[1] = (o) => D(
|
|
326
|
+
modelValue: e(U),
|
|
327
|
+
"onUpdate:modelValue": d[1] || (d[1] = (o) => D(U) ? U.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
|
-
modelValue: e(
|
|
334
|
-
"onUpdate:modelValue": d[2] || (d[2] = (o) => D(
|
|
333
|
+
modelValue: e(B),
|
|
334
|
+
"onUpdate:modelValue": d[2] || (d[2] = (o) => D(B) ? B.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(fl, [["__scopeId", "data-v-4a459a74"]]), A = (B) =
|
|
|
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) => D(
|
|
342
|
+
modelValue: e(S),
|
|
343
|
+
"onUpdate:modelValue": d[3] || (d[3] = (o) => D(S) ? S.value = o : null),
|
|
344
344
|
label: e(a)("booking.reservation.email"),
|
|
345
345
|
type: "email",
|
|
346
346
|
name: "email",
|
|
@@ -358,8 +358,8 @@ const be = /* @__PURE__ */ fe(fl, [["__scopeId", "data-v-4a459a74"]]), A = (B) =
|
|
|
358
358
|
required: ""
|
|
359
359
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
360
360
|
u("", !0),
|
|
361
|
-
e(
|
|
362
|
-
(t(!0), i(V, null, w(e(
|
|
361
|
+
e(W) && e(W).length > 0 ? (t(), i("ul", Tl, [
|
|
362
|
+
(t(!0), i(V, null, w(e(W), ({
|
|
363
363
|
roomGroupID: o,
|
|
364
364
|
addons: c,
|
|
365
365
|
adultPerRoom: _
|
|
@@ -367,7 +367,7 @@ const be = /* @__PURE__ */ fe(fl, [["__scopeId", "data-v-4a459a74"]]), A = (B) =
|
|
|
367
367
|
l("h5", null, [
|
|
368
368
|
l("span", null, n(e(a)("booking.reservation.room")) + " #" + n(m + 1), 1),
|
|
369
369
|
ce(" ("),
|
|
370
|
-
r(
|
|
370
|
+
r(k, {
|
|
371
371
|
icon: "male",
|
|
372
372
|
type: "fas",
|
|
373
373
|
color: "header"
|
|
@@ -390,14 +390,14 @@ const be = /* @__PURE__ */ fe(fl, [["__scopeId", "data-v-4a459a74"]]), A = (B) =
|
|
|
390
390
|
(t(!0), i(V, null, w(c, ({
|
|
391
391
|
addonID: p,
|
|
392
392
|
cardinality: q,
|
|
393
|
-
name:
|
|
394
|
-
price:
|
|
395
|
-
quantityStrategy:
|
|
393
|
+
name: X,
|
|
394
|
+
price: Z,
|
|
395
|
+
quantityStrategy: j
|
|
396
396
|
}) => (t(), i("tr", { key: p }, [
|
|
397
397
|
l("td", null, [
|
|
398
|
-
l("b", null, n(
|
|
398
|
+
l("b", null, n(X), 1),
|
|
399
399
|
Dl,
|
|
400
|
-
l("span", null, n(e($)(
|
|
400
|
+
l("span", null, n(e($)(Z, e(h))) + " " + n(e(je)(j)), 1)
|
|
401
401
|
]),
|
|
402
402
|
l("td", wl, [
|
|
403
403
|
q === 3 ? (t(), b(x, {
|
|
@@ -413,17 +413,17 @@ const be = /* @__PURE__ */ fe(fl, [["__scopeId", "data-v-4a459a74"]]), A = (B) =
|
|
|
413
413
|
numeric: !0
|
|
414
414
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
415
415
|
]),
|
|
416
|
-
l("td",
|
|
417
|
-
l("span", null, n(e($)(e(ae)(p, o, m), e(
|
|
416
|
+
l("td", Cl, [
|
|
417
|
+
l("span", null, n(e($)(e(ae)(p, o, m), e(h))), 1)
|
|
418
418
|
])
|
|
419
419
|
]))), 128))
|
|
420
420
|
]),
|
|
421
421
|
l("tfoot", null, [
|
|
422
422
|
l("tr", null, [
|
|
423
|
-
|
|
424
|
-
l("td",
|
|
423
|
+
Ll,
|
|
424
|
+
l("td", Ul, [
|
|
425
425
|
l("u", null, [
|
|
426
|
-
l("span", null, n(e($)(e(oe)(o, m), e(
|
|
426
|
+
l("span", null, n(e($)(e(oe)(o, m), e(h))), 1)
|
|
427
427
|
])
|
|
428
428
|
])
|
|
429
429
|
])
|
|
@@ -431,7 +431,7 @@ const be = /* @__PURE__ */ fe(fl, [["__scopeId", "data-v-4a459a74"]]), A = (B) =
|
|
|
431
431
|
])
|
|
432
432
|
]))), 128))
|
|
433
433
|
])) : u("", !0),
|
|
434
|
-
e(ne) !== e(de).FullDayEvent && !e(T) ? (t(), i("div",
|
|
434
|
+
e(ne) !== e(de).FullDayEvent && !e(T) ? (t(), i("div", Bl, [
|
|
435
435
|
l("label", Fl, [
|
|
436
436
|
l("span", null, n(e(a)("event.selectArrivalTime")), 1)
|
|
437
437
|
]),
|
|
@@ -443,16 +443,16 @@ const be = /* @__PURE__ */ fe(fl, [["__scopeId", "data-v-4a459a74"]]), A = (B) =
|
|
|
443
443
|
type: "radio",
|
|
444
444
|
name: "eventTimeTable",
|
|
445
445
|
val: o.time,
|
|
446
|
-
label: e(
|
|
446
|
+
label: e(G)(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(Le) ? (t(), i("div", Rl, [
|
|
452
|
+
l("label", Sl, [
|
|
453
453
|
l("span", null, n(e(a)("event.selectProducts")), 1)
|
|
454
454
|
]),
|
|
455
|
-
l("table",
|
|
455
|
+
l("table", Nl, [
|
|
456
456
|
l("thead", null, [
|
|
457
457
|
l("tr", null, [
|
|
458
458
|
l("th", null, [
|
|
@@ -472,10 +472,10 @@ const be = /* @__PURE__ */ fe(fl, [["__scopeId", "data-v-4a459a74"]]), A = (B) =
|
|
|
472
472
|
]),
|
|
473
473
|
Il,
|
|
474
474
|
l("span", null, n(m), 1),
|
|
475
|
-
|
|
476
|
-
l("span", null, n(e($)(_, e(
|
|
475
|
+
Ql,
|
|
476
|
+
l("span", null, n(e($)(_, e(h))), 1)
|
|
477
477
|
]),
|
|
478
|
-
l("td",
|
|
478
|
+
l("td", Wl, [
|
|
479
479
|
r(x, {
|
|
480
480
|
modelValue: e(I)[o],
|
|
481
481
|
"onUpdate:modelValue": (p) => e(I)[o] = p,
|
|
@@ -483,8 +483,8 @@ const be = /* @__PURE__ */ fe(fl, [["__scopeId", "data-v-4a459a74"]]), A = (B) =
|
|
|
483
483
|
"min-value": 0
|
|
484
484
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
485
485
|
]),
|
|
486
|
-
l("td",
|
|
487
|
-
l("span", null, n(e($)(e(ae)(o), e(
|
|
486
|
+
l("td", Yl, [
|
|
487
|
+
l("span", null, n(e($)(e(ae)(o), e(h))), 1)
|
|
488
488
|
])
|
|
489
489
|
]))), 128))
|
|
490
490
|
])
|
|
@@ -496,39 +496,39 @@ const be = /* @__PURE__ */ fe(fl, [["__scopeId", "data-v-4a459a74"]]), A = (B) =
|
|
|
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", zl, [
|
|
500
500
|
l("span", null, n(e(a)("event.numberOfRooms")), 1),
|
|
501
501
|
l("b", null, n(e(F)), 1)
|
|
502
502
|
])) : u("", !0),
|
|
503
|
-
e(T) ? (t(), i("li",
|
|
503
|
+
e(T) ? (t(), i("li", Hl, [
|
|
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", Jl, [
|
|
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", Kl, [
|
|
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", Xl, [
|
|
516
516
|
l("span", null, n(e(a)("event.startOfEvent")), 1),
|
|
517
|
-
l("b", null, n(e(
|
|
517
|
+
l("b", null, n(e(G)(e(O))), 1)
|
|
518
518
|
])) : u("", !0),
|
|
519
|
-
!e(T) && e(ee) ? (t(), i("li",
|
|
519
|
+
!e(T) && e(ee) ? (t(), i("li", Zl, [
|
|
520
520
|
l("span", null, n(e(a)("event.lengthOfEvent")), 1),
|
|
521
|
-
l("b", null, n(e(
|
|
521
|
+
l("b", null, n(e(G)(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", jl, [
|
|
524
524
|
l("span", null, n(e(a)("booking.availability.basePrice")), 1),
|
|
525
|
-
l("b", null, n(e($)(e(te), e(
|
|
525
|
+
l("b", null, n(e($)(e(te), e(h))), 1)
|
|
526
526
|
])) : u("", !0)
|
|
527
527
|
]),
|
|
528
528
|
expenses: g(() => [
|
|
529
|
-
(t(!0), i(V, null, w(e(
|
|
529
|
+
(t(!0), i(V, null, w(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
|
-
l("b", null, n(e($)(e(oe)(o, c), e(
|
|
531
|
+
l("b", null, n(e($)(e(oe)(o, c), e(h))), 1)
|
|
532
532
|
]))), 128))
|
|
533
533
|
]),
|
|
534
534
|
_: 2
|
|
@@ -549,14 +549,14 @@ const be = /* @__PURE__ */ fe(fl, [["__scopeId", "data-v-4a459a74"]]), A = (B) =
|
|
|
549
549
|
}, 8, ["access-token", "styling"]));
|
|
550
550
|
}
|
|
551
551
|
});
|
|
552
|
-
const xl = /* @__PURE__ */ fe(
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
552
|
+
const xl = /* @__PURE__ */ fe(Gl, [["__scopeId", "data-v-b2eee97d"]]), en = ll(), ln = nl(), C = tl({ components: { Event: xl } });
|
|
553
|
+
C.use(en);
|
|
554
|
+
C.use(ln);
|
|
555
|
+
C.use(vl);
|
|
556
|
+
C.use(al);
|
|
557
|
+
C.use(dl);
|
|
558
|
+
C.use(ol, { bootstrap: !0 });
|
|
559
|
+
C.mount("#konnectio-event-app");
|
|
560
560
|
export {
|
|
561
|
-
|
|
561
|
+
C as default
|
|
562
562
|
};
|
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-80ce269e.cjs"),g=require("./ActionField-81384aa7.cjs");require("./_commonjsHelpers-6763f629.cjs");require("./NumberField.vue_vue_type_script_setup_true_lang-ae0eb65d.cjs");const _=o=>(e.pushScopeId("data-v-5d5827dc"),o=o(),e.popScopeId(),o),y=["innerHTML"],N={key:0,id:"fresh-booking-gift-card-validation-resume",class:"fresh-booking-panel"},B=_(()=>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(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",styling:d.styling},{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,y),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","styling"])]),fallback:e.withCtx(()=>[B]),_:1}))}});const C=e._export_sfc(m,[["__scopeId","data-v-5d5827dc"]]),r=e.createApp({components:{GiftCardValidation:C}}),b=e.createPinia();r.use(b);r.use(e.instance);r.mount("#konnectio-gift-card-validation-app");module.exports=r;
|