@konnectio/core 4.0.16 → 4.0.18

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