@konnectio/core 4.0.18 → 4.0.19
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-4cb5a734.js +100 -0
- package/dist/ActionField-4cb5a734.js.br +0 -0
- package/dist/ActionField-656d204b.cjs +1 -0
- package/dist/AvailabilitySkeleton-00f7fc68.js +223 -0
- package/dist/AvailabilitySkeleton-00f7fc68.js.br +0 -0
- package/dist/AvailabilitySkeleton-8fc17074.cjs +1 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-d1a56eb0.js → DateField.vue_vue_type_style_index_0_lang-36b7ee9e.js} +2227 -2226
- package/dist/DateField.vue_vue_type_style_index_0_lang-36b7ee9e.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-ef9c83d6.cjs +5 -0
- package/dist/{Field-a7c1ed62.cjs → Field-4283160f.cjs} +1 -1
- package/dist/{Field-03e6b847.js → Field-e1af1bbc.js} +5 -5
- package/dist/Field-e1af1bbc.js.br +0 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-a517b062.cjs +1 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-eb9876fc.js +116 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-eb9876fc.js.br +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-51defa22.js → SelectField.vue_vue_type_style_index_0_lang-1c999286.js} +4696 -4499
- package/dist/SelectField.vue_vue_type_style_index_0_lang-1c999286.js.br +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-03794d02.cjs → SelectField.vue_vue_type_style_index_0_lang-af7c016a.cjs} +46 -46
- package/dist/{ThankYou-3ab29b45.cjs → ThankYou-01175a37.cjs} +2 -2
- package/dist/{ThankYou-f4945877.js → ThankYou-0860a0ab.js} +18 -12
- package/dist/ThankYou-0860a0ab.js.br +0 -0
- package/dist/{_-0787261e.js → _-6db0e1a4.js} +9 -9
- package/dist/_-6db0e1a4.js.br +0 -0
- package/dist/{_-917dcead.cjs → _-b5842a21.cjs} +1 -1
- package/dist/assets/typescript/mixins.d.ts +1 -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/listings/Base.vue.d.ts +1 -1
- package/dist/components/listings/Hotel.vue.d.ts +1 -1
- package/dist/{event-208206cf.js → event-52fce8cc.js} +9 -9
- package/dist/event-52fce8cc.js.br +0 -0
- package/dist/event-c717dc05.cjs +1 -0
- package/dist/event.cjs +1 -1
- package/dist/event.js +144 -145
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.cjs +1 -1
- package/dist/gift-card-validation.js +25 -26
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.cjs +1 -1
- package/dist/gift-card.js +36 -37
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.cjs +5 -5
- package/dist/hotel.js +1297 -1173
- package/dist/hotel.js.br +0 -0
- package/dist/{index-5e1ea6f0.js → index-4aff7f4e.js} +1 -1
- package/dist/index-4aff7f4e.js.br +0 -0
- package/dist/{index-7ef3288b.cjs → index-5d223c1a.cjs} +1 -1
- package/dist/polyfill.cjs +1 -1
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/store/hotel.d.ts +4 -1
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/ActionField-25ef64cf.js +0 -163
- package/dist/ActionField-25ef64cf.js.br +0 -0
- package/dist/ActionField-86389dfe.cjs +0 -1
- package/dist/AvailabilitySkeleton-3bb4b572.js +0 -200
- package/dist/AvailabilitySkeleton-3bb4b572.js.br +0 -0
- package/dist/AvailabilitySkeleton-a72464a1.cjs +0 -1
- package/dist/DateField.vue_vue_type_style_index_0_lang-d1a56eb0.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-f99302dc.cjs +0 -5
- package/dist/Field-03e6b847.js.br +0 -0
- package/dist/NumberField.vue_vue_type_style_index_0_lang-94fa5765.js +0 -194
- package/dist/NumberField.vue_vue_type_style_index_0_lang-94fa5765.js.br +0 -0
- package/dist/NumberField.vue_vue_type_style_index_0_lang-a779a531.cjs +0 -1
- package/dist/SelectField.vue_vue_type_style_index_0_lang-51defa22.js.br +0 -0
- package/dist/ThankYou-f4945877.js.br +0 -0
- package/dist/_-0787261e.js.br +0 -0
- package/dist/applyGiftCard-ba1da572.cjs +0 -1
- package/dist/applyGiftCard-f2282bd2.js +0 -53
- package/dist/applyGiftCard-f2282bd2.js.br +0 -0
- package/dist/event-07ba3a0e.cjs +0 -1
- package/dist/event-208206cf.js.br +0 -0
- package/dist/index-5e1ea6f0.js.br +0 -0
package/dist/event.js
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import { h as ge,
|
|
2
|
-
import { P as ol, C as ve, a as sl, S as il, i as rl } from "./index-
|
|
3
|
-
import { B as ul, M as dl, R as ml, T as cl, x as pl } from "./ThankYou-
|
|
4
|
-
import { u as
|
|
5
|
-
import { A as vl
|
|
6
|
-
import { _ as bl } from "./DateField.vue_vue_type_style_index_0_lang-
|
|
7
|
-
import "./NumberField.
|
|
1
|
+
import { h as ge, z as he, u as Ie, s as Y, a as ke, r as Qe, c as We, k as t, l as b, W as Ye, w as g, x as l, m as r, D as h, A as n, n as e, X as Je, Y as ie, q as i, Z as re, t as u, $ as Xe, F as $, a0 as Ze, _ as fe, o as je, a1 as He, B as D, a2 as V, a3 as w, a4 as ue, O as de, T as me, a5 as ce, a6 as Ke, a7 as G, G as pe, J as Ge, L as xe, M as el, P as ll, a8 as nl, N as tl, Q as al } from "./SelectField.vue_vue_type_style_index_0_lang-1c999286.js";
|
|
2
|
+
import { P as ol, C as ve, a as sl, S as il, i as rl } from "./index-4aff7f4e.js";
|
|
3
|
+
import { B as ul, M as dl, R as ml, T as cl, x as pl } from "./ThankYou-0860a0ab.js";
|
|
4
|
+
import { u as J } from "./event-52fce8cc.js";
|
|
5
|
+
import { A as vl } from "./ActionField-4cb5a734.js";
|
|
6
|
+
import { _ as bl } from "./DateField.vue_vue_type_style_index_0_lang-36b7ee9e.js";
|
|
7
|
+
import { _ as x } from "./NumberField.vue_vue_type_script_setup_true_lang-eb9876fc.js";
|
|
8
8
|
import "./_commonjsHelpers-aeeeeb92.js";
|
|
9
|
-
import "./
|
|
10
|
-
|
|
11
|
-
const gl = { class: "fresh-booking-event-listing-information" }, hl = { key: 0 }, kl = { key: 1 }, yl = /* @__PURE__ */ ge({
|
|
9
|
+
import "./_-6db0e1a4.js";
|
|
10
|
+
const gl = { class: "fresh-booking-event-listing-information" }, hl = { key: 0 }, kl = { key: 1 }, fl = /* @__PURE__ */ ge({
|
|
12
11
|
__name: "Event",
|
|
13
12
|
props: {
|
|
14
13
|
name: {},
|
|
@@ -30,47 +29,47 @@ const gl = { class: "fresh-booking-event-listing-information" }, hl = { key: 0 }
|
|
|
30
29
|
trackingEnabled: { type: Boolean },
|
|
31
30
|
callback: {}
|
|
32
31
|
},
|
|
33
|
-
setup(
|
|
34
|
-
const { t: a } = he(), v =
|
|
35
|
-
maxNumberOfPeople:
|
|
36
|
-
numberOfPeople:
|
|
37
|
-
eventId:
|
|
32
|
+
setup(B) {
|
|
33
|
+
const { t: a } = he(), v = B, { display: E } = Ie(), { currency: z } = Y(ke()), {
|
|
34
|
+
maxNumberOfPeople: C,
|
|
35
|
+
numberOfPeople: X,
|
|
36
|
+
eventId: U,
|
|
38
37
|
tableGroupId: R
|
|
39
|
-
} =
|
|
38
|
+
} = Y(J()), {
|
|
40
39
|
getTemplateAvailability: N,
|
|
41
40
|
getEventAvailability: S,
|
|
42
41
|
isEventListingLoading: O
|
|
43
|
-
} =
|
|
44
|
-
P.value > 0 ? (
|
|
42
|
+
} = J(), P = Qe(0), I = We(() => O(v.listingId)), Z = () => {
|
|
43
|
+
P.value > 0 ? (U.value = v.listingId, X.value = P.value, N(v.callback)) : E({
|
|
45
44
|
type: "error",
|
|
46
45
|
message: a("alert.error.selectPeople")
|
|
47
46
|
});
|
|
48
47
|
}, k = () => {
|
|
49
|
-
P.value > 0 ? (
|
|
48
|
+
P.value > 0 ? (U.value = v.listingId, R.value = v.tableGroupId, X.value = P.value, S(v.callback)) : E({
|
|
50
49
|
type: "error",
|
|
51
50
|
message: a("alert.error.selectPeople")
|
|
52
51
|
});
|
|
53
52
|
};
|
|
54
|
-
return (s,
|
|
53
|
+
return (s, f) => (t(), b(ul, {
|
|
55
54
|
"listing-id": s.listingId,
|
|
56
55
|
gallery: s.gallery,
|
|
57
56
|
name: s.name,
|
|
58
57
|
description: s.description,
|
|
59
|
-
layout: e(
|
|
60
|
-
},
|
|
58
|
+
layout: e(Ze).Event
|
|
59
|
+
}, Ye({
|
|
61
60
|
action: g(() => [
|
|
62
61
|
r(vl, {
|
|
63
62
|
modelValue: P.value,
|
|
64
|
-
"onUpdate:modelValue":
|
|
63
|
+
"onUpdate:modelValue": f[0] || (f[0] = (F) => P.value = F),
|
|
65
64
|
type: "number",
|
|
66
65
|
label: e(a)("event.numberOfGuests"),
|
|
67
66
|
buttonLabel: s.soldOut ? e(a)("event.soldOut") : e(a)("event.bookNowButton"),
|
|
68
67
|
buttonDisabled: s.soldOut,
|
|
69
68
|
"min-value": s.type === "event" ? 1 : s.minimumPersonCount,
|
|
70
|
-
"max-value": s.type === "event" ? s.maxOnlineReservationLimit || 1 / 0 : e(
|
|
71
|
-
"is-loading":
|
|
72
|
-
"onUpdate:isLoading":
|
|
73
|
-
onAction:
|
|
69
|
+
"max-value": s.type === "event" ? s.maxOnlineReservationLimit || 1 / 0 : e(C),
|
|
70
|
+
"is-loading": I.value,
|
|
71
|
+
"onUpdate:isLoading": f[1] || (f[1] = (F) => I.value = F),
|
|
72
|
+
onAction: f[2] || (f[2] = (F) => s.type === "event" ? k() : Z())
|
|
74
73
|
}, null, 8, ["modelValue", "label", "buttonLabel", "buttonDisabled", "min-value", "max-value", "is-loading"])
|
|
75
74
|
]),
|
|
76
75
|
_: 2
|
|
@@ -84,7 +83,7 @@ const gl = { class: "fresh-booking-event-listing-information" }, hl = { key: 0 }
|
|
|
84
83
|
icon: "calendar-range",
|
|
85
84
|
color: "header"
|
|
86
85
|
}),
|
|
87
|
-
l("span", null, n(e(
|
|
86
|
+
l("span", null, n(e(Je)(s.days)), 1)
|
|
88
87
|
]),
|
|
89
88
|
e(ie)(s.fromDate, s.toDate) < 180 ? (t(), i("li", hl, [
|
|
90
89
|
r(h, {
|
|
@@ -98,7 +97,7 @@ const gl = { class: "fresh-booking-event-listing-information" }, hl = { key: 0 }
|
|
|
98
97
|
icon: "calendar-clock",
|
|
99
98
|
color: "header"
|
|
100
99
|
}),
|
|
101
|
-
l("span", null, n(e(
|
|
100
|
+
l("span", null, n(e(Xe)(s.timeFrom, s.timeTo)), 1)
|
|
102
101
|
]),
|
|
103
102
|
s.maxOnlineReservationLimit ? (t(), i("li", kl, [
|
|
104
103
|
r(h, {
|
|
@@ -126,14 +125,14 @@ const gl = { class: "fresh-booking-event-listing-information" }, hl = { key: 0 }
|
|
|
126
125
|
icon: "user-alt",
|
|
127
126
|
color: "header"
|
|
128
127
|
}),
|
|
129
|
-
l("span", null, n(`${s.minimumPersonCount} - ${e(
|
|
128
|
+
l("span", null, n(`${s.minimumPersonCount} - ${e(C)} ${e(a)("general.people")}`), 1)
|
|
130
129
|
]),
|
|
131
130
|
l("li", null, [
|
|
132
131
|
r(h, {
|
|
133
132
|
icon: "money-bill",
|
|
134
133
|
color: "header"
|
|
135
134
|
}),
|
|
136
|
-
l("span", null, n(`${e(a)("general.pricesFrom")} ${e(
|
|
135
|
+
l("span", null, n(`${e(a)("general.pricesFrom")} ${e($)(s.fromPrice, e(z))}`), 1)
|
|
137
136
|
])
|
|
138
137
|
])
|
|
139
138
|
]),
|
|
@@ -142,62 +141,62 @@ const gl = { class: "fresh-booking-event-listing-information" }, hl = { key: 0 }
|
|
|
142
141
|
]), 1032, ["listing-id", "gallery", "name", "description", "layout"]));
|
|
143
142
|
}
|
|
144
143
|
});
|
|
145
|
-
const be = /* @__PURE__ */
|
|
144
|
+
const be = /* @__PURE__ */ fe(fl, [["__scopeId", "data-v-4a459a74"]]), A = (B) => (xe("data-v-b2eee97d"), B = B(), el(), B), yl = { class: "fresh-booking-panel" }, _l = {
|
|
146
145
|
key: 0,
|
|
147
146
|
id: "fresh-booking-event-overview"
|
|
148
|
-
}, Vl = { class: "fresh-booking-event-listings" }, Pl = { class: "fresh-booking-event-listings" },
|
|
147
|
+
}, Vl = { class: "fresh-booking-event-listings" }, Pl = { class: "fresh-booking-event-listings" }, Tl = {
|
|
149
148
|
key: 2,
|
|
150
149
|
id: "fresh-booking-event-addons"
|
|
151
|
-
},
|
|
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" }, Ll = { class: "fresh-booking-event-addons-price" }, Bl = /* @__PURE__ */ A(() => /* @__PURE__ */ l("td", { colspan: "2" }, null, -1)), Cl = { class: "fresh-booking-event-addons-price" }, Ul = { key: 3 }, Fl = { class: "fresh-booking-label required" }, Al = { id: "fresh-booking-event-table" }, Rl = { key: 4 }, Nl = { class: "fresh-booking-label required" }, Sl = { 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" }, zl = /* @__PURE__ */ A(() => /* @__PURE__ */ l("br", null, null, -1)), Il = /* @__PURE__ */ A(() => /* @__PURE__ */ l("br", null, null, -1)), Ql = { class: "fresh-booking-event-addons-input" }, Wl = { class: "fresh-booking-event-addons-price" }, Yl = { key: 0 }, Jl = { key: 1 }, Xl = { key: 2 }, Zl = { key: 3 }, jl = { key: 4 }, Hl = { key: 5 }, Kl = { key: 6 }, Gl = /* @__PURE__ */ ge({
|
|
152
151
|
name: "EventLayout",
|
|
153
152
|
__name: "Event",
|
|
154
153
|
props: {
|
|
155
154
|
accessToken: {},
|
|
156
155
|
styling: {}
|
|
157
156
|
},
|
|
158
|
-
setup(
|
|
157
|
+
setup(B) {
|
|
159
158
|
const { t: a } = he(), {
|
|
160
159
|
searchDate: v,
|
|
161
160
|
addons: E,
|
|
162
|
-
products:
|
|
163
|
-
numberOfDays:
|
|
164
|
-
discountCode:
|
|
165
|
-
name:
|
|
161
|
+
products: z,
|
|
162
|
+
numberOfDays: C,
|
|
163
|
+
discountCode: X,
|
|
164
|
+
name: U,
|
|
166
165
|
phone: R,
|
|
167
166
|
email: N,
|
|
168
167
|
remark: S,
|
|
169
168
|
arrivalTime: O,
|
|
170
169
|
title: P,
|
|
171
|
-
subtitle:
|
|
172
|
-
slideshow:
|
|
170
|
+
subtitle: I,
|
|
171
|
+
slideshow: Z,
|
|
173
172
|
currency: k,
|
|
174
173
|
numberOfPeople: s,
|
|
175
|
-
numberOfTotalDays:
|
|
174
|
+
numberOfTotalDays: f,
|
|
176
175
|
numberOfRooms: F,
|
|
177
|
-
basePrice:
|
|
176
|
+
basePrice: ye,
|
|
178
177
|
totalPrice: _e,
|
|
179
178
|
isPaymentLoading: Ve,
|
|
180
179
|
hasEvents: Pe,
|
|
181
|
-
hasTemplates:
|
|
182
|
-
getEvents:
|
|
180
|
+
hasTemplates: Te,
|
|
181
|
+
getEvents: $e,
|
|
183
182
|
getTemplates: Ee,
|
|
184
183
|
getEventData: Oe,
|
|
185
|
-
getTemplateData:
|
|
186
|
-
getEventTableData:
|
|
184
|
+
getTemplateData: Q,
|
|
185
|
+
getEventTableData: De,
|
|
187
186
|
length: ee,
|
|
188
|
-
roomUpgrade:
|
|
189
|
-
weekendFee:
|
|
187
|
+
roomUpgrade: we,
|
|
188
|
+
weekendFee: Le,
|
|
190
189
|
fromDate: le,
|
|
191
|
-
hasProducts:
|
|
190
|
+
hasProducts: Be,
|
|
192
191
|
eventRateType: ne,
|
|
193
|
-
isMetaDataAvailable:
|
|
194
|
-
areListingsAvailable:
|
|
192
|
+
isMetaDataAvailable: Ce,
|
|
193
|
+
areListingsAvailable: Ue,
|
|
195
194
|
isReservationFormFilled: Fe,
|
|
196
195
|
isAvailabilityDataAvailable: Ae,
|
|
197
196
|
// getEventImages,
|
|
198
|
-
isTemplateEvent:
|
|
197
|
+
isTemplateEvent: T,
|
|
199
198
|
tableBasePrice: te
|
|
200
|
-
} =
|
|
199
|
+
} = Y(J()), {
|
|
201
200
|
initialize: Re,
|
|
202
201
|
validateDiscountCode: nn,
|
|
203
202
|
fetchListings: Ne,
|
|
@@ -205,11 +204,11 @@ const be = /* @__PURE__ */ ye(yl, [["__scopeId", "data-v-4a459a74"]]), A = (L) =
|
|
|
205
204
|
localAddonPrice: ae,
|
|
206
205
|
totalAddonPrice: oe,
|
|
207
206
|
reset: qe
|
|
208
|
-
} =
|
|
207
|
+
} = J(), {
|
|
209
208
|
hideEvents: Me,
|
|
210
|
-
hideEventTemplates:
|
|
211
|
-
} =
|
|
212
|
-
return
|
|
209
|
+
hideEventTemplates: ze
|
|
210
|
+
} = Y(ke());
|
|
211
|
+
return je(() => Re()), He(v, () => Ne()), (se, d) => (t(), b(Ge, {
|
|
213
212
|
id: "fresh-booking-event-module",
|
|
214
213
|
class: "fresh-booking-app",
|
|
215
214
|
type: "event",
|
|
@@ -217,22 +216,22 @@ const be = /* @__PURE__ */ ye(yl, [["__scopeId", "data-v-4a459a74"]]), A = (L) =
|
|
|
217
216
|
styling: se.styling
|
|
218
217
|
}, {
|
|
219
218
|
default: g(() => [
|
|
220
|
-
e(
|
|
219
|
+
e(Ce) ? (t(), b(dl, {
|
|
221
220
|
key: 0,
|
|
222
|
-
slideshow: e(
|
|
221
|
+
slideshow: e(Z),
|
|
223
222
|
title: e(P),
|
|
224
|
-
subtitle: e(
|
|
223
|
+
subtitle: e(I)
|
|
225
224
|
}, {
|
|
226
|
-
availability: g(({ next:
|
|
227
|
-
l("div",
|
|
225
|
+
availability: g(({ next: W }) => [
|
|
226
|
+
l("div", yl, [
|
|
228
227
|
r(bl, {
|
|
229
228
|
modelValue: e(v),
|
|
230
|
-
"onUpdate:modelValue": d[0] || (d[0] = (
|
|
229
|
+
"onUpdate:modelValue": d[0] || (d[0] = (y) => D(v) ? v.value = y : null),
|
|
231
230
|
label: e(a)("event.selectDate"),
|
|
232
231
|
"min-date": /* @__PURE__ */ new Date()
|
|
233
232
|
}, null, 8, ["modelValue", "label", "min-date"])
|
|
234
233
|
]),
|
|
235
|
-
e(
|
|
234
|
+
e(Ue) ? (t(), i("div", _l, [
|
|
236
235
|
e(Pe) && !e(Me) ? (t(), i(V, { key: 0 }, [
|
|
237
236
|
l("h2", null, [
|
|
238
237
|
r(h, {
|
|
@@ -243,24 +242,24 @@ const be = /* @__PURE__ */ ye(yl, [["__scopeId", "data-v-4a459a74"]]), A = (L) =
|
|
|
243
242
|
l("span", null, n(e(a)("event.eventsTitle")), 1)
|
|
244
243
|
]),
|
|
245
244
|
l("ul", Vl, [
|
|
246
|
-
(t(!0), i(V, null,
|
|
247
|
-
id:
|
|
245
|
+
(t(!0), i(V, null, w(e($e), ({
|
|
246
|
+
id: y,
|
|
248
247
|
days: o,
|
|
249
248
|
name: c,
|
|
250
249
|
timeFrom: _,
|
|
251
250
|
timeTo: m,
|
|
252
251
|
fromDate: p,
|
|
253
252
|
toDate: q,
|
|
254
|
-
tableGroupID:
|
|
255
|
-
description:
|
|
256
|
-
soldOut:
|
|
253
|
+
tableGroupID: j,
|
|
254
|
+
description: H,
|
|
255
|
+
soldOut: K,
|
|
257
256
|
maxOnlineReservationLimit: M
|
|
258
257
|
}) => (t(), b(be, {
|
|
259
|
-
key:
|
|
258
|
+
key: y,
|
|
260
259
|
type: "event",
|
|
261
|
-
"listing-id":
|
|
262
|
-
"table-group-id":
|
|
263
|
-
description:
|
|
260
|
+
"listing-id": y,
|
|
261
|
+
"table-group-id": j,
|
|
262
|
+
description: H,
|
|
264
263
|
name: c,
|
|
265
264
|
days: o,
|
|
266
265
|
"from-date": p,
|
|
@@ -268,12 +267,12 @@ const be = /* @__PURE__ */ ye(yl, [["__scopeId", "data-v-4a459a74"]]), A = (L) =
|
|
|
268
267
|
"max-online-reservation-limit": M,
|
|
269
268
|
"time-from": _,
|
|
270
269
|
"time-to": m,
|
|
271
|
-
"sold-out":
|
|
272
|
-
callback:
|
|
270
|
+
"sold-out": K,
|
|
271
|
+
callback: W
|
|
273
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))
|
|
274
273
|
])
|
|
275
274
|
], 64)) : u("", !0),
|
|
276
|
-
e(
|
|
275
|
+
e(Te) && !e(ze) ? (t(), i(V, { key: 1 }, [
|
|
277
276
|
l("h2", null, [
|
|
278
277
|
r(h, {
|
|
279
278
|
icon: "stars",
|
|
@@ -283,8 +282,8 @@ const be = /* @__PURE__ */ ye(yl, [["__scopeId", "data-v-4a459a74"]]), A = (L) =
|
|
|
283
282
|
l("span", null, n(e(a)("event.stayTitle")), 1)
|
|
284
283
|
]),
|
|
285
284
|
l("ul", Pl, [
|
|
286
|
-
(t(!0), i(V, null,
|
|
287
|
-
id:
|
|
285
|
+
(t(!0), i(V, null, w(e(Ee), ({
|
|
286
|
+
id: y,
|
|
288
287
|
name: o,
|
|
289
288
|
fromDate: c,
|
|
290
289
|
toDate: _,
|
|
@@ -292,47 +291,47 @@ const be = /* @__PURE__ */ ye(yl, [["__scopeId", "data-v-4a459a74"]]), A = (L) =
|
|
|
292
291
|
fromPrice: p,
|
|
293
292
|
description: q
|
|
294
293
|
}) => (t(), b(be, {
|
|
295
|
-
key:
|
|
294
|
+
key: y,
|
|
296
295
|
type: "template",
|
|
297
|
-
"listing-id":
|
|
296
|
+
"listing-id": y,
|
|
298
297
|
name: o,
|
|
299
298
|
description: q,
|
|
300
299
|
"from-date": c,
|
|
301
300
|
"to-date": _,
|
|
302
301
|
"minimum-person-count": m,
|
|
303
302
|
fromPrice: p,
|
|
304
|
-
callback:
|
|
303
|
+
callback: W
|
|
305
304
|
}, null, 8, ["listing-id", "name", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
|
|
306
305
|
])
|
|
307
306
|
], 64)) : u("", !0)
|
|
308
307
|
])) : (t(), b(ue, { key: 1 }))
|
|
309
308
|
]),
|
|
310
|
-
reservation: g(({ next:
|
|
309
|
+
reservation: g(({ next: W, prev: y }) => [
|
|
311
310
|
e(Ae) ? (t(), b(ml, {
|
|
312
311
|
key: 0,
|
|
313
312
|
remark: e(S),
|
|
314
|
-
"onUpdate:remark": d[8] || (d[8] = (o) =>
|
|
313
|
+
"onUpdate:remark": d[8] || (d[8] = (o) => D(S) ? S.value = o : null),
|
|
315
314
|
"is-filled": e(Fe),
|
|
316
315
|
"is-loading": e(Ve),
|
|
317
|
-
"base-price": e(
|
|
316
|
+
"base-price": e(ye),
|
|
318
317
|
"total-price": e(_e),
|
|
319
|
-
"weekend-fee": e(
|
|
320
|
-
"room-upgrade": e(
|
|
321
|
-
onPrev: (o) => e(qe)(
|
|
322
|
-
onNext: (o) => e(Se)(
|
|
318
|
+
"weekend-fee": e(Le),
|
|
319
|
+
"room-upgrade": e(we),
|
|
320
|
+
onPrev: (o) => e(qe)(y),
|
|
321
|
+
onNext: (o) => e(Se)(W)
|
|
323
322
|
}, {
|
|
324
323
|
form: g(() => [
|
|
325
324
|
e(ne) === e(de).FullDayEvent ? (t(), b(x, {
|
|
326
325
|
key: 0,
|
|
327
|
-
modelValue: e(
|
|
328
|
-
"onUpdate:modelValue": d[1] || (d[1] = (o) =>
|
|
326
|
+
modelValue: e(C),
|
|
327
|
+
"onUpdate:modelValue": d[1] || (d[1] = (o) => D(C) ? C.value = o : null),
|
|
329
328
|
label: e(a)("event.numberOfDays"),
|
|
330
329
|
"min-value": 1,
|
|
331
330
|
required: ""
|
|
332
331
|
}, null, 8, ["modelValue", "label"])) : u("", !0),
|
|
333
332
|
r(me, {
|
|
334
|
-
modelValue: e(
|
|
335
|
-
"onUpdate:modelValue": d[2] || (d[2] = (o) =>
|
|
333
|
+
modelValue: e(U),
|
|
334
|
+
"onUpdate:modelValue": d[2] || (d[2] = (o) => D(U) ? U.value = o : null),
|
|
336
335
|
type: "text",
|
|
337
336
|
label: e(a)("booking.reservation.name"),
|
|
338
337
|
icon: "user-alt",
|
|
@@ -341,7 +340,7 @@ const be = /* @__PURE__ */ ye(yl, [["__scopeId", "data-v-4a459a74"]]), A = (L) =
|
|
|
341
340
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
342
341
|
r(me, {
|
|
343
342
|
modelValue: e(N),
|
|
344
|
-
"onUpdate:modelValue": d[3] || (d[3] = (o) =>
|
|
343
|
+
"onUpdate:modelValue": d[3] || (d[3] = (o) => D(N) ? N.value = o : null),
|
|
345
344
|
label: e(a)("booking.reservation.email"),
|
|
346
345
|
type: "email",
|
|
347
346
|
name: "email",
|
|
@@ -352,15 +351,15 @@ const be = /* @__PURE__ */ ye(yl, [["__scopeId", "data-v-4a459a74"]]), A = (L) =
|
|
|
352
351
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
353
352
|
r(ol, {
|
|
354
353
|
modelValue: e(R),
|
|
355
|
-
"onUpdate:modelValue": d[4] || (d[4] = (o) =>
|
|
354
|
+
"onUpdate:modelValue": d[4] || (d[4] = (o) => D(R) ? R.value = o : null),
|
|
356
355
|
label: e(a)("booking.reservation.phone"),
|
|
357
356
|
icon: "phone-office",
|
|
358
357
|
placeholder: e(a)("booking.reservation.phonePlaceholder"),
|
|
359
358
|
required: ""
|
|
360
359
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
361
360
|
u("", !0),
|
|
362
|
-
e(
|
|
363
|
-
(t(!0), i(V, null,
|
|
361
|
+
e(Q) && e(Q).length > 0 ? (t(), i("ul", Tl, [
|
|
362
|
+
(t(!0), i(V, null, w(e(Q), ({
|
|
364
363
|
roomGroupID: o,
|
|
365
364
|
addons: c,
|
|
366
365
|
adultPerRoom: _
|
|
@@ -375,7 +374,7 @@ const be = /* @__PURE__ */ ye(yl, [["__scopeId", "data-v-4a459a74"]]), A = (L) =
|
|
|
375
374
|
}),
|
|
376
375
|
ce(" " + n(_) + ") ", 1)
|
|
377
376
|
]),
|
|
378
|
-
l("table",
|
|
377
|
+
l("table", $l, [
|
|
379
378
|
l("thead", null, [
|
|
380
379
|
l("tr", null, [
|
|
381
380
|
l("th", null, [
|
|
@@ -388,19 +387,19 @@ const be = /* @__PURE__ */ ye(yl, [["__scopeId", "data-v-4a459a74"]]), A = (L) =
|
|
|
388
387
|
])
|
|
389
388
|
]),
|
|
390
389
|
l("tbody", null, [
|
|
391
|
-
(t(!0), i(V, null,
|
|
390
|
+
(t(!0), i(V, null, w(c, ({
|
|
392
391
|
addonID: p,
|
|
393
392
|
cardinality: q,
|
|
394
|
-
name:
|
|
395
|
-
price:
|
|
396
|
-
quantityStrategy:
|
|
393
|
+
name: j,
|
|
394
|
+
price: H,
|
|
395
|
+
quantityStrategy: K
|
|
397
396
|
}) => (t(), i("tr", { key: p }, [
|
|
398
397
|
l("td", null, [
|
|
399
|
-
l("b", null, n(
|
|
400
|
-
|
|
401
|
-
l("span", null, n(e(
|
|
398
|
+
l("b", null, n(j), 1),
|
|
399
|
+
Dl,
|
|
400
|
+
l("span", null, n(e($)(H, e(k))) + " " + n(e(Ke)(K)), 1)
|
|
402
401
|
]),
|
|
403
|
-
l("td",
|
|
402
|
+
l("td", wl, [
|
|
404
403
|
q === 3 ? (t(), b(x, {
|
|
405
404
|
key: 0,
|
|
406
405
|
modelValue: e(E)[`${o}.${p}.${m}`],
|
|
@@ -414,17 +413,17 @@ const be = /* @__PURE__ */ ye(yl, [["__scopeId", "data-v-4a459a74"]]), A = (L) =
|
|
|
414
413
|
numeric: !0
|
|
415
414
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
416
415
|
]),
|
|
417
|
-
l("td",
|
|
418
|
-
l("span", null, n(e(
|
|
416
|
+
l("td", Ll, [
|
|
417
|
+
l("span", null, n(e($)(e(ae)(p, o, m), e(k))), 1)
|
|
419
418
|
])
|
|
420
419
|
]))), 128))
|
|
421
420
|
]),
|
|
422
421
|
l("tfoot", null, [
|
|
423
422
|
l("tr", null, [
|
|
424
|
-
|
|
425
|
-
l("td",
|
|
423
|
+
Bl,
|
|
424
|
+
l("td", Cl, [
|
|
426
425
|
l("u", null, [
|
|
427
|
-
l("span", null, n(e(
|
|
426
|
+
l("span", null, n(e($)(e(oe)(o, m), e(k))), 1)
|
|
428
427
|
])
|
|
429
428
|
])
|
|
430
429
|
])
|
|
@@ -432,15 +431,15 @@ const be = /* @__PURE__ */ ye(yl, [["__scopeId", "data-v-4a459a74"]]), A = (L) =
|
|
|
432
431
|
])
|
|
433
432
|
]))), 128))
|
|
434
433
|
])) : u("", !0),
|
|
435
|
-
e(ne) !== e(de).FullDayEvent && !e(
|
|
434
|
+
e(ne) !== e(de).FullDayEvent && !e(T) ? (t(), i("div", Ul, [
|
|
436
435
|
l("label", Fl, [
|
|
437
436
|
l("span", null, n(e(a)("event.selectArrivalTime")), 1)
|
|
438
437
|
]),
|
|
439
438
|
l("ul", Al, [
|
|
440
|
-
(t(!0), i(V, null,
|
|
439
|
+
(t(!0), i(V, null, w(e(De), (o, c) => (t(), i("li", { key: c }, [
|
|
441
440
|
r(ve, {
|
|
442
441
|
modelValue: e(O),
|
|
443
|
-
"onUpdate:modelValue": d[7] || (d[7] = (_) =>
|
|
442
|
+
"onUpdate:modelValue": d[7] || (d[7] = (_) => D(O) ? O.value = _ : null),
|
|
444
443
|
type: "radio",
|
|
445
444
|
name: "eventTimeTable",
|
|
446
445
|
val: o.time,
|
|
@@ -449,7 +448,7 @@ const be = /* @__PURE__ */ ye(yl, [["__scopeId", "data-v-4a459a74"]]), A = (L) =
|
|
|
449
448
|
]))), 128))
|
|
450
449
|
])
|
|
451
450
|
])) : u("", !0),
|
|
452
|
-
e(
|
|
451
|
+
e(Be) ? (t(), i("div", Rl, [
|
|
453
452
|
l("label", Nl, [
|
|
454
453
|
l("span", null, n(e(a)("event.selectProducts")), 1)
|
|
455
454
|
]),
|
|
@@ -466,26 +465,26 @@ const be = /* @__PURE__ */ ye(yl, [["__scopeId", "data-v-4a459a74"]]), A = (L) =
|
|
|
466
465
|
])
|
|
467
466
|
]),
|
|
468
467
|
l("tbody", null, [
|
|
469
|
-
(t(!0), i(V, null,
|
|
468
|
+
(t(!0), i(V, null, w(e(Oe).products, ({ productID: o, productName: c, price: _, description: m }) => (t(), i("tr", { key: o }, [
|
|
470
469
|
l("td", null, [
|
|
471
470
|
l("b", null, [
|
|
472
471
|
l("span", null, n(c), 1)
|
|
473
472
|
]),
|
|
474
|
-
Il,
|
|
475
|
-
l("span", null, n(m), 1),
|
|
476
473
|
zl,
|
|
477
|
-
l("span", null, n(
|
|
474
|
+
l("span", null, n(m), 1),
|
|
475
|
+
Il,
|
|
476
|
+
l("span", null, n(e($)(_, e(k))), 1)
|
|
478
477
|
]),
|
|
479
|
-
l("td",
|
|
478
|
+
l("td", Ql, [
|
|
480
479
|
r(x, {
|
|
481
|
-
modelValue: e(
|
|
482
|
-
"onUpdate:modelValue": (p) => e(
|
|
480
|
+
modelValue: e(z)[o],
|
|
481
|
+
"onUpdate:modelValue": (p) => e(z)[o] = p,
|
|
483
482
|
small: !0,
|
|
484
483
|
"min-value": 0
|
|
485
484
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
486
485
|
]),
|
|
487
|
-
l("td",
|
|
488
|
-
l("span", null, n(e(
|
|
486
|
+
l("td", Wl, [
|
|
487
|
+
l("span", null, n(e($)(e(ae)(o), e(k))), 1)
|
|
489
488
|
])
|
|
490
489
|
]))), 128))
|
|
491
490
|
])
|
|
@@ -497,39 +496,39 @@ const be = /* @__PURE__ */ ye(yl, [["__scopeId", "data-v-4a459a74"]]), A = (L) =
|
|
|
497
496
|
l("span", null, n(e(a)("event.numberOfGuests")), 1),
|
|
498
497
|
l("b", null, n(e(s)), 1)
|
|
499
498
|
]),
|
|
500
|
-
e(
|
|
499
|
+
e(T) ? (t(), i("li", Yl, [
|
|
501
500
|
l("span", null, n(e(a)("event.numberOfRooms")), 1),
|
|
502
501
|
l("b", null, n(e(F)), 1)
|
|
503
502
|
])) : u("", !0),
|
|
504
|
-
e(
|
|
503
|
+
e(T) ? (t(), i("li", Jl, [
|
|
505
504
|
l("span", null, n(e(a)("event.numberOfDays")), 1),
|
|
506
|
-
l("b", null, n(e(
|
|
505
|
+
l("b", null, n(e(f)), 1)
|
|
507
506
|
])) : u("", !0),
|
|
508
|
-
e(
|
|
507
|
+
e(T) ? (t(), i("li", Xl, [
|
|
509
508
|
l("span", null, n(e(a)("booking.reservation.arrival")), 1),
|
|
510
509
|
l("b", null, n(e(pe)(e(le))), 1)
|
|
511
510
|
])) : u("", !0),
|
|
512
|
-
e(
|
|
511
|
+
e(T) ? (t(), i("li", Zl, [
|
|
513
512
|
l("span", null, n(e(a)("booking.reservation.departure")), 1),
|
|
514
|
-
l("b", null, n(e(pe)(e(le), e(
|
|
513
|
+
l("b", null, n(e(pe)(e(le), e(f))), 1)
|
|
515
514
|
])) : u("", !0),
|
|
516
|
-
!e(
|
|
515
|
+
!e(T) && e(O) ? (t(), i("li", jl, [
|
|
517
516
|
l("span", null, n(e(a)("event.startOfEvent")), 1),
|
|
518
517
|
l("b", null, n(e(G)(e(O))), 1)
|
|
519
518
|
])) : u("", !0),
|
|
520
|
-
!e(
|
|
519
|
+
!e(T) && e(ee) ? (t(), i("li", Hl, [
|
|
521
520
|
l("span", null, n(e(a)("event.lengthOfEvent")), 1),
|
|
522
521
|
l("b", null, n(e(G)(e(ee))), 1)
|
|
523
522
|
])) : u("", !0),
|
|
524
|
-
!e(
|
|
523
|
+
!e(T) && e(te) > 0 ? (t(), i("li", Kl, [
|
|
525
524
|
l("span", null, n(e(a)("booking.availability.basePrice")), 1),
|
|
526
|
-
l("b", null, n(e(
|
|
525
|
+
l("b", null, n(e($)(e(te), e(k))), 1)
|
|
527
526
|
])) : u("", !0)
|
|
528
527
|
]),
|
|
529
528
|
expenses: g(() => [
|
|
530
|
-
(t(!0), i(V, null,
|
|
529
|
+
(t(!0), i(V, null, w(e(Q), ({ roomGroupID: o }, c) => (t(), i("li", { key: o }, [
|
|
531
530
|
l("span", null, n(e(a)("booking.reservation.addons")) + " - " + n(e(a)("booking.reservation.room")) + " #" + n(c + 1), 1),
|
|
532
|
-
l("b", null, n(e(
|
|
531
|
+
l("b", null, n(e($)(e(oe)(o, c), e(k))), 1)
|
|
533
532
|
]))), 128))
|
|
534
533
|
]),
|
|
535
534
|
_: 2
|
|
@@ -550,14 +549,14 @@ const be = /* @__PURE__ */ ye(yl, [["__scopeId", "data-v-4a459a74"]]), A = (L) =
|
|
|
550
549
|
}, 8, ["access-token", "styling"]));
|
|
551
550
|
}
|
|
552
551
|
});
|
|
553
|
-
const xl = /* @__PURE__ */
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
552
|
+
const xl = /* @__PURE__ */ fe(Gl, [["__scopeId", "data-v-b2eee97d"]]), en = ll(), ln = nl(), L = tl({ components: { Event: xl } });
|
|
553
|
+
L.use(en);
|
|
554
|
+
L.use(ln);
|
|
555
|
+
L.use(il);
|
|
556
|
+
L.use(al);
|
|
557
|
+
L.use(pl);
|
|
558
|
+
L.use(rl, { bootstrap: !1 });
|
|
559
|
+
L.mount("#konnectio-event-app");
|
|
561
560
|
export {
|
|
562
|
-
|
|
561
|
+
L as default
|
|
563
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-af7c016a.cjs"),c=require("./NumberField.vue_vue_type_script_setup_true_lang-a517b062.cjs"),_=require("./ActionField-656d204b.cjs");require("./_commonjsHelpers-6763f629.cjs");const y=o=>(e.pushScopeId("data-v-5d5827dc"),o=o(),e.popScopeId(),o),N=["innerHTML"],B={key:0,id:"fresh-booking-gift-card-validation-resume",class:"fresh-booking-panel"},m=y(()=>e.createBaseVNode("span",null,"Loading...",-1)),C=e.defineComponent({name:"GiftCardValidationLayout",__name:"GiftCardValidation",props:{accessToken:{},styling:{}},setup(o){const{t:a}=e.useI18n(),{voucher:l,isValid:u,amount:p,expirationDate:f,productName:V,isLoading:i}=e.storeToRefs(c.useApplyGiftCardStore()),{currency:g}=e.storeToRefs(e.useUtilityStore()),{apply:s}=c.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,N),e.createVNode(_.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(u)?(e.openBlock(),e.createElementBlock("table",B,[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(V)),1)]),e.createBaseVNode("td",null,[e.createBaseVNode("span",null,e.toDisplayString(e.unref(e.showPrice)(e.unref(p),e.unref(g))),1)]),e.createBaseVNode("td",null,[e.createBaseVNode("span",null,e.toDisplayString(e.unref(e.showDate)(e.unref(f))),1)])])])])):e.createCommentVNode("",!0)],32)]),_:1},8,["access-token","styling"])]),fallback:e.withCtx(()=>[m]),_:1}))}});const b=e._export_sfc(C,[["__scopeId","data-v-5d5827dc"]]),r=e.createApp({components:{GiftCardValidation:b}}),v=e.createPinia();r.use(v);r.use(e.instance);r.mount("#konnectio-gift-card-validation-app");module.exports=r;
|