@konnectio/core 4.0.11 → 4.0.13

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 (83) hide show
  1. package/dist/{ActionField-d1266f8b.js → ActionField-54349124.js} +21 -21
  2. package/dist/ActionField-54349124.js.br +0 -0
  3. package/dist/ActionField-74fc14cf.cjs +1 -0
  4. package/dist/AvailabilitySkeleton-34890eb5.cjs +1 -0
  5. package/dist/AvailabilitySkeleton-f7c1b363.js +189 -0
  6. package/dist/AvailabilitySkeleton-f7c1b363.js.br +0 -0
  7. package/dist/DateField.vue_vue_type_style_index_0_lang-41b83959.cjs +5 -0
  8. package/dist/{DateField.vue_vue_type_style_index_0_lang-3f5993f7.js → DateField.vue_vue_type_style_index_0_lang-c5873e66.js} +2396 -2396
  9. package/dist/DateField.vue_vue_type_style_index_0_lang-c5873e66.js.br +0 -0
  10. package/dist/{Field-ea77905a.js → Field-0b82e3dc.js} +2 -2
  11. package/dist/Field-0b82e3dc.js.br +0 -0
  12. package/dist/{Field-028d9987.cjs → Field-c8c55b91.cjs} +1 -1
  13. package/dist/{NumberField.vue_vue_type_script_setup_true_lang-d3b3206f.js → NumberField.vue_vue_type_script_setup_true_lang-001ceb59.js} +31 -31
  14. package/dist/NumberField.vue_vue_type_script_setup_true_lang-001ceb59.js.br +0 -0
  15. package/dist/NumberField.vue_vue_type_script_setup_true_lang-8525b2cd.cjs +1 -0
  16. package/dist/SelectField.vue_vue_type_style_index_0_lang-b92d158e.cjs +802 -0
  17. package/dist/{SelectField.vue_vue_type_style_index_0_lang-d1f9b48d.js → SelectField.vue_vue_type_style_index_0_lang-ba987c3e.js} +10432 -10081
  18. package/dist/SelectField.vue_vue_type_style_index_0_lang-ba987c3e.js.br +0 -0
  19. package/dist/TextField-52bc45b8.cjs +54 -0
  20. package/dist/{TextField-4e7defc6.js → TextField-cbed3348.js} +3464 -3538
  21. package/dist/TextField-cbed3348.js.br +0 -0
  22. package/dist/{ThankYou-6fc9044f.js → ThankYou-a6b0d51e.js} +48 -47
  23. package/dist/ThankYou-a6b0d51e.js.br +0 -0
  24. package/dist/{ThankYou-2c1ee36b.cjs → ThankYou-d4fae82e.cjs} +2 -2
  25. package/dist/{_-f5a3364b.js → _-66cf2aa1.js} +5 -5
  26. package/dist/_-66cf2aa1.js.br +0 -0
  27. package/dist/{_-82677476.cjs → _-f5fc7dd6.cjs} +1 -1
  28. package/dist/availability.cjs +2 -2
  29. package/dist/availability.d.ts +0 -2
  30. package/dist/availability.js +124 -123
  31. package/dist/availability.js.br +0 -0
  32. package/dist/components/forms/EventAvailabilityForm.vue.d.ts +1 -1
  33. package/dist/components/forms/HotelAvailabilityForm.vue.d.ts +1 -1
  34. package/dist/entries/availability.d.ts +1 -3
  35. package/dist/event-f2a6108f.cjs +1 -0
  36. package/dist/{event-46a84617.js → event-f820ba4b.js} +101 -101
  37. package/dist/event-f820ba4b.js.br +0 -0
  38. package/dist/event.cjs +1 -1
  39. package/dist/event.js +146 -146
  40. package/dist/event.js.br +0 -0
  41. package/dist/gift-card-validation.cjs +1 -1
  42. package/dist/gift-card-validation.js +6 -6
  43. package/dist/gift-card-validation.js.br +0 -0
  44. package/dist/gift-card.cjs +1 -1
  45. package/dist/gift-card.js +180 -180
  46. package/dist/gift-card.js.br +0 -0
  47. package/dist/hotel.cjs +5 -5
  48. package/dist/hotel.js +1381 -1370
  49. package/dist/hotel.js.br +0 -0
  50. package/dist/index-2018df9e.cjs +1 -0
  51. package/dist/{index-a3de1ca3.js → index-b69ec10e.js} +83 -83
  52. package/dist/index-b69ec10e.js.br +0 -0
  53. package/dist/polyfill.cjs +4 -4
  54. package/dist/polyfill.js +3311 -3398
  55. package/dist/polyfill.js.br +0 -0
  56. package/dist/store/event.d.ts +1 -1
  57. package/dist/store/hotel.d.ts +5 -2
  58. package/dist/store/payment.d.ts +1 -1
  59. package/dist/store/utilities.d.ts +18 -2
  60. package/dist/style.css +1 -1
  61. package/dist/style.css.br +0 -0
  62. package/package.json +8 -9
  63. package/dist/ActionField-8a007a6c.cjs +0 -1
  64. package/dist/ActionField-d1266f8b.js.br +0 -0
  65. package/dist/AvailabilitySkeleton-0e6d048b.js +0 -382
  66. package/dist/AvailabilitySkeleton-0e6d048b.js.br +0 -0
  67. package/dist/AvailabilitySkeleton-3ba8c412.cjs +0 -1
  68. package/dist/DateField.vue_vue_type_style_index_0_lang-31a9e5dc.cjs +0 -5
  69. package/dist/DateField.vue_vue_type_style_index_0_lang-3f5993f7.js.br +0 -0
  70. package/dist/Field-ea77905a.js.br +0 -0
  71. package/dist/NumberField.vue_vue_type_script_setup_true_lang-d3b3206f.js.br +0 -0
  72. package/dist/NumberField.vue_vue_type_script_setup_true_lang-d756efc3.cjs +0 -1
  73. package/dist/SelectField.vue_vue_type_style_index_0_lang-2b92f88c.cjs +0 -806
  74. package/dist/SelectField.vue_vue_type_style_index_0_lang-d1f9b48d.js.br +0 -0
  75. package/dist/TextField-4e7defc6.js.br +0 -0
  76. package/dist/TextField-641e6fd1.cjs +0 -54
  77. package/dist/ThankYou-6fc9044f.js.br +0 -0
  78. package/dist/_-f5a3364b.js.br +0 -0
  79. package/dist/event-46a84617.js.br +0 -0
  80. package/dist/event-8738e24d.cjs +0 -1
  81. package/dist/index-a3de1ca3.js.br +0 -0
  82. package/dist/index-e81b12be.cjs +0 -1
  83. package/dist/store/recaptcha.d.ts +0 -1
package/dist/event.js CHANGED
@@ -1,13 +1,13 @@
1
- import { h as ge, y as he, u as Ie, s as H, a as ke, r as We, c as Ye, k as t, l as b, U as He, w as g, x as l, m as r, B as h, z as n, n as e, V as Ke, W as ie, q as i, X as re, t as u, Y as Qe, D as $, Z as Xe, _ as fe, o as Ze, $ as je, A as D, a0 as V, a1 as w, a2 as ue, O as de, a3 as me, a4 as Je, a5 as x, F as ce, H as xe, K as Ge, L as el, N as ll, a6 as nl, M as tl, P as al } from "./SelectField.vue_vue_type_style_index_0_lang-d1f9b48d.js";
2
- import { P as ol, C as pe, a as sl, S as il, i as rl } from "./index-a3de1ca3.js";
3
- import { B as ul, M as dl, R as ml, T as cl, x as pl } from "./ThankYou-6fc9044f.js";
4
- import { u as K } from "./event-46a84617.js";
5
- import { A as vl } from "./ActionField-d1266f8b.js";
6
- import { T as ve } from "./TextField-4e7defc6.js";
7
- import { _ as bl } from "./DateField.vue_vue_type_style_index_0_lang-3f5993f7.js";
8
- import { _ as G } from "./NumberField.vue_vue_type_script_setup_true_lang-d3b3206f.js";
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-ba987c3e.js";
2
+ import { P as ol, C as pe, a as sl, S as il, i as rl } from "./index-b69ec10e.js";
3
+ import { B as ul, M as dl, R as ml, T as cl, x as pl } from "./ThankYou-a6b0d51e.js";
4
+ import { u as J } from "./event-f820ba4b.js";
5
+ import { A as vl } from "./ActionField-54349124.js";
6
+ import { T as ve } from "./TextField-cbed3348.js";
7
+ import { _ as bl } from "./DateField.vue_vue_type_style_index_0_lang-c5873e66.js";
8
+ import { _ as x } from "./NumberField.vue_vue_type_script_setup_true_lang-001ceb59.js";
9
9
  import "./_commonjsHelpers-c5d32002.js";
10
- import "./_-f5a3364b.js";
10
+ import "./_-66cf2aa1.js";
11
11
  const gl = { class: "fresh-booking-event-listing-information" }, hl = { key: 0 }, kl = { key: 1 }, fl = /* @__PURE__ */ ge({
12
12
  __name: "Event",
13
13
  props: {
@@ -31,24 +31,24 @@ const gl = { class: "fresh-booking-event-listing-information" }, hl = { key: 0 }
31
31
  callback: {}
32
32
  },
33
33
  setup(B) {
34
- const o = B, { t: m } = he(), { display: E } = Ie(), { currency: z } = H(ke()), {
34
+ const { t: a } = he(), v = B, { display: E } = Ie(), { currency: z } = Y(ke()), {
35
35
  maxNumberOfPeople: C,
36
- numberOfPeople: Q,
36
+ numberOfPeople: X,
37
37
  eventId: U,
38
38
  tableGroupId: R
39
- } = H(K()), {
39
+ } = Y(J()), {
40
40
  getTemplateAvailability: N,
41
41
  getEventAvailability: S,
42
42
  isEventListingLoading: O
43
- } = K(), P = We(0), I = Ye(() => O(o.listingId)), X = () => {
44
- P.value > 0 ? (U.value = o.listingId, Q.value = P.value, N(o.callback)) : E({
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({
45
45
  type: "error",
46
- message: m("alert.error.selectPeople")
46
+ message: a("alert.error.selectPeople")
47
47
  });
48
48
  }, k = () => {
49
- P.value > 0 ? (U.value = o.listingId, R.value = o.tableGroupId, Q.value = P.value, S(o.callback)) : E({
49
+ P.value > 0 ? (U.value = v.listingId, R.value = v.tableGroupId, X.value = P.value, S(v.callback)) : E({
50
50
  type: "error",
51
- message: m("alert.error.selectPeople")
51
+ message: a("alert.error.selectPeople")
52
52
  });
53
53
  };
54
54
  return (s, f) => (t(), b(ul, {
@@ -56,21 +56,21 @@ const gl = { class: "fresh-booking-event-listing-information" }, hl = { key: 0 }
56
56
  gallery: s.gallery,
57
57
  name: s.name,
58
58
  description: s.description,
59
- layout: e(Xe).Event
60
- }, He({
59
+ layout: e(Ze).Event
60
+ }, Ye({
61
61
  action: g(() => [
62
62
  r(vl, {
63
63
  modelValue: P.value,
64
64
  "onUpdate:modelValue": f[0] || (f[0] = (F) => P.value = F),
65
65
  type: "number",
66
- label: e(m)("event.numberOfGuests"),
67
- buttonLabel: s.soldOut ? e(m)("event.soldOut") : e(m)("event.bookNowButton"),
66
+ label: e(a)("event.numberOfGuests"),
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
70
  "max-value": s.type === "event" ? s.maxOnlineReservationLimit || 1 / 0 : e(C),
71
71
  "is-loading": I.value,
72
72
  "onUpdate:isLoading": f[1] || (f[1] = (F) => I.value = F),
73
- onAction: f[2] || (f[2] = (F) => s.type === "event" ? k() : X())
73
+ onAction: f[2] || (f[2] = (F) => s.type === "event" ? k() : Z())
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(Ke)(s.days)), 1)
87
+ l("span", null, n(e(Je)(s.days)), 1)
88
88
  ]),
89
89
  e(ie)(s.fromDate, s.toDate) < 180 ? (t(), i("li", hl, [
90
90
  r(h, {
@@ -98,14 +98,14 @@ 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(Qe)(s.timeFrom, s.timeTo)), 1)
101
+ l("span", null, n(e(Xe)(s.timeFrom, s.timeTo)), 1)
102
102
  ]),
103
103
  s.maxOnlineReservationLimit ? (t(), i("li", kl, [
104
104
  r(h, {
105
105
  icon: "user-alt",
106
106
  color: "header"
107
107
  }),
108
- l("span", null, n(`1 - ${s.maxOnlineReservationLimit} ${e(m)("general.people")}`), 1)
108
+ l("span", null, n(`1 - ${s.maxOnlineReservationLimit} ${e(a)("general.people")}`), 1)
109
109
  ])) : u("", !0)
110
110
  ])
111
111
  ]),
@@ -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(m)("general.people")}`), 1)
129
+ l("span", null, n(`${s.minimumPersonCount} - ${e(C)} ${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(m)("general.pricesFrom")} ${e($)(s.fromPrice, e(z))}`), 1)
136
+ l("span", null, n(`${e(a)("general.pricesFrom")} ${e($)(s.fromPrice, e(z))}`), 1)
137
137
  ])
138
138
  ])
139
139
  ]),
@@ -142,13 +142,13 @@ 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) => (Ge("data-v-b2eee97d"), B = B(), el(), B), yl = { class: "fresh-booking-panel" }, _l = {
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 = {
146
146
  key: 0,
147
147
  id: "fresh-booking-event-overview"
148
148
  }, Vl = { class: "fresh-booking-event-listings" }, Pl = { class: "fresh-booking-event-listings" }, Tl = {
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)), Wl = { class: "fresh-booking-event-addons-input" }, Yl = { class: "fresh-booking-event-addons-price" }, Hl = { key: 0 }, Kl = { key: 1 }, Ql = { key: 2 }, Xl = { key: 3 }, Zl = { key: 4 }, jl = { key: 5 }, Jl = { key: 6 }, xl = /* @__PURE__ */ ge({
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({
152
152
  name: "EventLayout",
153
153
  __name: "Event",
154
154
  props: {
@@ -156,12 +156,12 @@ const be = /* @__PURE__ */ fe(fl, [["__scopeId", "data-v-4a459a74"]]), A = (B) =
156
156
  styling: {}
157
157
  },
158
158
  setup(B) {
159
- const { t: o } = he(), {
160
- searchDate: m,
159
+ const { t: a } = he(), {
160
+ searchDate: v,
161
161
  addons: E,
162
162
  products: z,
163
163
  numberOfDays: C,
164
- discountCode: Q,
164
+ discountCode: X,
165
165
  name: U,
166
166
  phone: R,
167
167
  email: N,
@@ -169,7 +169,7 @@ const be = /* @__PURE__ */ fe(fl, [["__scopeId", "data-v-4a459a74"]]), A = (B) =
169
169
  arrivalTime: O,
170
170
  title: P,
171
171
  subtitle: I,
172
- slideshow: X,
172
+ slideshow: Z,
173
173
  currency: k,
174
174
  numberOfPeople: s,
175
175
  numberOfTotalDays: f,
@@ -182,7 +182,7 @@ const be = /* @__PURE__ */ fe(fl, [["__scopeId", "data-v-4a459a74"]]), A = (B) =
182
182
  getEvents: $e,
183
183
  getTemplates: Ee,
184
184
  getEventData: Oe,
185
- getTemplateData: W,
185
+ getTemplateData: Q,
186
186
  getEventTableData: De,
187
187
  length: ee,
188
188
  roomUpgrade: we,
@@ -197,7 +197,7 @@ const be = /* @__PURE__ */ fe(fl, [["__scopeId", "data-v-4a459a74"]]), A = (B) =
197
197
  // getEventImages,
198
198
  isTemplateEvent: T,
199
199
  tableBasePrice: te
200
- } = H(K()), {
200
+ } = Y(J()), {
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
- } = K(), {
208
+ } = J(), {
209
209
  hideEvents: Me,
210
210
  hideEventTemplates: ze
211
- } = H(ke());
212
- return Ze(() => Re()), je(m, () => Ne()), (se, d) => (t(), b(xe, {
211
+ } = Y(ke());
212
+ return je(() => Re()), He(v, () => Ne()), (se, d) => (t(), b(Ge, {
213
213
  id: "fresh-booking-event-module",
214
214
  class: "fresh-booking-app",
215
215
  type: "event",
@@ -219,16 +219,16 @@ const be = /* @__PURE__ */ fe(fl, [["__scopeId", "data-v-4a459a74"]]), A = (B) =
219
219
  default: g(() => [
220
220
  e(Ce) ? (t(), b(dl, {
221
221
  key: 0,
222
- slideshow: e(X),
222
+ slideshow: e(Z),
223
223
  title: e(P),
224
224
  subtitle: e(I)
225
225
  }, {
226
- availability: g(({ next: Y }) => [
226
+ availability: g(({ next: W }) => [
227
227
  l("div", yl, [
228
228
  r(bl, {
229
- modelValue: e(m),
230
- "onUpdate:modelValue": d[0] || (d[0] = (y) => D(m) ? m.value = y : null),
231
- label: e(o)("event.selectDate"),
229
+ modelValue: e(v),
230
+ "onUpdate:modelValue": d[0] || (d[0] = (y) => D(v) ? v.value = y : null),
231
+ label: e(a)("event.selectDate"),
232
232
  "min-date": /* @__PURE__ */ new Date()
233
233
  }, null, 8, ["modelValue", "label", "min-date"])
234
234
  ]),
@@ -240,36 +240,36 @@ const be = /* @__PURE__ */ fe(fl, [["__scopeId", "data-v-4a459a74"]]), A = (B) =
240
240
  type: "fal",
241
241
  color: "header"
242
242
  }),
243
- l("span", null, n(e(o)("event.eventsTitle")), 1)
243
+ l("span", null, n(e(a)("event.eventsTitle")), 1)
244
244
  ]),
245
245
  l("ul", Vl, [
246
246
  (t(!0), i(V, null, w(e($e), ({
247
247
  id: y,
248
- days: a,
249
- name: p,
248
+ days: o,
249
+ name: c,
250
250
  timeFrom: _,
251
- timeTo: c,
252
- fromDate: v,
251
+ timeTo: m,
252
+ fromDate: p,
253
253
  toDate: q,
254
- tableGroupID: Z,
255
- description: j,
256
- soldOut: J,
254
+ tableGroupID: j,
255
+ description: H,
256
+ soldOut: K,
257
257
  maxOnlineReservationLimit: M
258
258
  }) => (t(), b(be, {
259
259
  key: y,
260
260
  type: "event",
261
261
  "listing-id": y,
262
- "table-group-id": Z,
263
- description: j,
264
- name: p,
265
- days: a,
266
- "from-date": v,
262
+ "table-group-id": j,
263
+ description: H,
264
+ name: c,
265
+ days: o,
266
+ "from-date": p,
267
267
  "to-date": q,
268
268
  "max-online-reservation-limit": M,
269
269
  "time-from": _,
270
- "time-to": c,
271
- "sold-out": J,
272
- callback: Y
270
+ "time-to": m,
271
+ "sold-out": K,
272
+ callback: W
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),
@@ -280,93 +280,93 @@ const be = /* @__PURE__ */ fe(fl, [["__scopeId", "data-v-4a459a74"]]), A = (B) =
280
280
  type: "fal",
281
281
  color: "header"
282
282
  }),
283
- l("span", null, n(e(o)("event.stayTitle")), 1)
283
+ l("span", null, n(e(a)("event.stayTitle")), 1)
284
284
  ]),
285
285
  l("ul", Pl, [
286
286
  (t(!0), i(V, null, w(e(Ee), ({
287
287
  id: y,
288
- name: a,
289
- fromDate: p,
288
+ name: o,
289
+ fromDate: c,
290
290
  toDate: _,
291
- minimumPersonCount: c,
292
- fromPrice: v,
291
+ minimumPersonCount: m,
292
+ fromPrice: p,
293
293
  description: q
294
294
  }) => (t(), b(be, {
295
295
  key: y,
296
296
  type: "template",
297
297
  "listing-id": y,
298
- name: a,
298
+ name: o,
299
299
  description: q,
300
- "from-date": p,
300
+ "from-date": c,
301
301
  "to-date": _,
302
- "minimum-person-count": c,
303
- fromPrice: v,
304
- callback: Y
302
+ "minimum-person-count": m,
303
+ fromPrice: p,
304
+ callback: W
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: Y, prev: y }) => [
310
+ reservation: g(({ next: W, prev: y }) => [
311
311
  e(Ae) ? (t(), b(ml, {
312
312
  key: 0,
313
313
  remark: e(S),
314
- "onUpdate:remark": d[8] || (d[8] = (a) => D(S) ? S.value = a : null),
314
+ "onUpdate:remark": d[8] || (d[8] = (o) => D(S) ? S.value = o : null),
315
315
  "is-filled": e(Fe),
316
316
  "is-loading": e(Ve),
317
317
  "base-price": e(ye),
318
318
  "total-price": e(_e),
319
319
  "weekend-fee": e(Le),
320
320
  "room-upgrade": e(we),
321
- onPrev: (a) => e(qe)(y),
322
- onNext: (a) => e(Se)(Y)
321
+ onPrev: (o) => e(qe)(y),
322
+ onNext: (o) => e(Se)(W)
323
323
  }, {
324
324
  form: g(() => [
325
- e(ne) === e(de).FullDayEvent ? (t(), b(G, {
325
+ e(ne) === e(de).FullDayEvent ? (t(), b(x, {
326
326
  key: 0,
327
327
  modelValue: e(C),
328
- "onUpdate:modelValue": d[1] || (d[1] = (a) => D(C) ? C.value = a : null),
329
- label: e(o)("event.numberOfDays"),
328
+ "onUpdate:modelValue": d[1] || (d[1] = (o) => D(C) ? C.value = o : null),
329
+ label: e(a)("event.numberOfDays"),
330
330
  "min-value": 1,
331
331
  required: ""
332
332
  }, null, 8, ["modelValue", "label"])) : u("", !0),
333
333
  r(ve, {
334
334
  modelValue: e(U),
335
- "onUpdate:modelValue": d[2] || (d[2] = (a) => D(U) ? U.value = a : null),
335
+ "onUpdate:modelValue": d[2] || (d[2] = (o) => D(U) ? U.value = o : null),
336
336
  type: "text",
337
- label: e(o)("booking.reservation.name"),
337
+ label: e(a)("booking.reservation.name"),
338
338
  icon: "user-alt",
339
- placeholder: e(o)("booking.reservation.namePlaceholder"),
339
+ placeholder: e(a)("booking.reservation.namePlaceholder"),
340
340
  required: ""
341
341
  }, null, 8, ["modelValue", "label", "placeholder"]),
342
342
  r(ve, {
343
343
  modelValue: e(N),
344
- "onUpdate:modelValue": d[3] || (d[3] = (a) => D(N) ? N.value = a : null),
345
- label: e(o)("booking.reservation.email"),
344
+ "onUpdate:modelValue": d[3] || (d[3] = (o) => D(N) ? N.value = o : null),
345
+ label: e(a)("booking.reservation.email"),
346
346
  type: "email",
347
347
  name: "email",
348
348
  autocomplete: "email",
349
349
  icon: "at",
350
- placeholder: e(o)("booking.reservation.emailPlaceholder"),
350
+ placeholder: e(a)("booking.reservation.emailPlaceholder"),
351
351
  required: ""
352
352
  }, null, 8, ["modelValue", "label", "placeholder"]),
353
353
  r(ol, {
354
354
  modelValue: e(R),
355
- "onUpdate:modelValue": d[4] || (d[4] = (a) => D(R) ? R.value = a : null),
356
- label: e(o)("booking.reservation.phone"),
355
+ "onUpdate:modelValue": d[4] || (d[4] = (o) => D(R) ? R.value = o : null),
356
+ label: e(a)("booking.reservation.phone"),
357
357
  icon: "phone-office",
358
- placeholder: e(o)("booking.reservation.phonePlaceholder"),
358
+ placeholder: e(a)("booking.reservation.phonePlaceholder"),
359
359
  required: ""
360
360
  }, null, 8, ["modelValue", "label", "placeholder"]),
361
361
  u("", !0),
362
- e(W) && e(W).length > 0 ? (t(), i("ul", Tl, [
363
- (t(!0), i(V, null, w(e(W), ({
364
- roomGroupID: a,
365
- addons: p,
362
+ e(Q) && e(Q).length > 0 ? (t(), i("ul", Tl, [
363
+ (t(!0), i(V, null, w(e(Q), ({
364
+ roomGroupID: o,
365
+ addons: c,
366
366
  adultPerRoom: _
367
- }, c) => (t(), i("li", { key: a }, [
367
+ }, m) => (t(), i("li", { key: o }, [
368
368
  l("h5", null, [
369
- l("span", null, n(e(o)("booking.reservation.room")) + " #" + n(c + 1), 1),
369
+ l("span", null, n(e(a)("booking.reservation.room")) + " #" + n(m + 1), 1),
370
370
  me(" ("),
371
371
  r(h, {
372
372
  icon: "male",
@@ -379,43 +379,43 @@ const be = /* @__PURE__ */ fe(fl, [["__scopeId", "data-v-4a459a74"]]), A = (B) =
379
379
  l("thead", null, [
380
380
  l("tr", null, [
381
381
  l("th", null, [
382
- l("span", null, n(e(o)("booking.reservation.addons")), 1)
382
+ l("span", null, n(e(a)("booking.reservation.addons")), 1)
383
383
  ]),
384
384
  El,
385
385
  l("th", Ol, [
386
- l("span", null, n(e(o)("booking.availability.price")), 1)
386
+ l("span", null, n(e(a)("booking.availability.price")), 1)
387
387
  ])
388
388
  ])
389
389
  ]),
390
390
  l("tbody", null, [
391
- (t(!0), i(V, null, w(p, ({
392
- addonID: v,
391
+ (t(!0), i(V, null, w(c, ({
392
+ addonID: p,
393
393
  cardinality: q,
394
- name: Z,
395
- price: j,
396
- quantityStrategy: J
397
- }) => (t(), i("tr", { key: v }, [
394
+ name: j,
395
+ price: H,
396
+ quantityStrategy: K
397
+ }) => (t(), i("tr", { key: p }, [
398
398
  l("td", null, [
399
- l("b", null, n(Z), 1),
399
+ l("b", null, n(j), 1),
400
400
  Dl,
401
- l("span", null, n(e($)(j, e(k))) + " " + n(e(Je)(J)), 1)
401
+ l("span", null, n(e($)(H, e(k))) + " " + n(e(Ke)(K)), 1)
402
402
  ]),
403
403
  l("td", wl, [
404
- q === 3 ? (t(), b(G, {
404
+ q === 3 ? (t(), b(x, {
405
405
  key: 0,
406
- modelValue: e(E)[`${a}.${v}.${c}`],
407
- "onUpdate:modelValue": (M) => e(E)[`${a}.${v}.${c}`] = M,
406
+ modelValue: e(E)[`${o}.${p}.${m}`],
407
+ "onUpdate:modelValue": (M) => e(E)[`${o}.${p}.${m}`] = M,
408
408
  small: !0,
409
409
  "min-value": 0
410
410
  }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (t(), b(pe, {
411
411
  key: 1,
412
- modelValue: e(E)[`${a}.${v}.${c}`],
413
- "onUpdate:modelValue": (M) => e(E)[`${a}.${v}.${c}`] = M,
412
+ modelValue: e(E)[`${o}.${p}.${m}`],
413
+ "onUpdate:modelValue": (M) => e(E)[`${o}.${p}.${m}`] = M,
414
414
  numeric: !0
415
415
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
416
416
  ]),
417
417
  l("td", Ll, [
418
- l("span", null, n(e($)(e(ae)(v, a, c), e(k))), 1)
418
+ l("span", null, n(e($)(e(ae)(p, o, m), e(k))), 1)
419
419
  ])
420
420
  ]))), 128))
421
421
  ]),
@@ -424,7 +424,7 @@ const be = /* @__PURE__ */ fe(fl, [["__scopeId", "data-v-4a459a74"]]), A = (B) =
424
424
  Bl,
425
425
  l("td", Cl, [
426
426
  l("u", null, [
427
- l("span", null, n(e($)(e(oe)(a, c), e(k))), 1)
427
+ l("span", null, n(e($)(e(oe)(o, m), e(k))), 1)
428
428
  ])
429
429
  ])
430
430
  ])
@@ -434,58 +434,58 @@ const be = /* @__PURE__ */ fe(fl, [["__scopeId", "data-v-4a459a74"]]), A = (B) =
434
434
  ])) : u("", !0),
435
435
  e(ne) !== e(de).FullDayEvent && !e(T) ? (t(), i("div", Ul, [
436
436
  l("label", Fl, [
437
- l("span", null, n(e(o)("event.selectArrivalTime")), 1)
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), (a, p) => (t(), i("li", { key: p }, [
440
+ (t(!0), i(V, null, w(e(De), (o, c) => (t(), i("li", { key: c }, [
441
441
  r(pe, {
442
442
  modelValue: e(O),
443
443
  "onUpdate:modelValue": d[7] || (d[7] = (_) => D(O) ? O.value = _ : null),
444
444
  type: "radio",
445
445
  name: "eventTimeTable",
446
- val: a.time,
447
- label: e(x)(a.time)
446
+ val: o.time,
447
+ label: e(G)(o.time)
448
448
  }, null, 8, ["modelValue", "val", "label"])
449
449
  ]))), 128))
450
450
  ])
451
451
  ])) : u("", !0),
452
452
  e(Be) ? (t(), i("div", Rl, [
453
453
  l("label", Nl, [
454
- l("span", null, n(e(o)("event.selectProducts")), 1)
454
+ l("span", null, n(e(a)("event.selectProducts")), 1)
455
455
  ]),
456
456
  l("table", Sl, [
457
457
  l("thead", null, [
458
458
  l("tr", null, [
459
459
  l("th", null, [
460
- l("span", null, n(e(o)("booking.reservation.addons")), 1)
460
+ l("span", null, n(e(a)("booking.reservation.addons")), 1)
461
461
  ]),
462
462
  ql,
463
463
  l("th", Ml, [
464
- l("span", null, n(e(o)("booking.availability.price")), 1)
464
+ l("span", null, n(e(a)("booking.availability.price")), 1)
465
465
  ])
466
466
  ])
467
467
  ]),
468
468
  l("tbody", null, [
469
- (t(!0), i(V, null, w(e(Oe).products, ({ productID: a, productName: p, price: _, description: c }) => (t(), i("tr", { key: a }, [
469
+ (t(!0), i(V, null, w(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
- l("span", null, n(p), 1)
472
+ l("span", null, n(c), 1)
473
473
  ]),
474
474
  zl,
475
- l("span", null, n(c), 1),
475
+ l("span", null, n(m), 1),
476
476
  Il,
477
477
  l("span", null, n(e($)(_, e(k))), 1)
478
478
  ]),
479
- l("td", Wl, [
480
- r(G, {
481
- modelValue: e(z)[a],
482
- "onUpdate:modelValue": (v) => e(z)[a] = v,
479
+ l("td", Ql, [
480
+ r(x, {
481
+ modelValue: e(z)[o],
482
+ "onUpdate:modelValue": (p) => e(z)[o] = p,
483
483
  small: !0,
484
484
  "min-value": 0
485
485
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
486
486
  ]),
487
- l("td", Yl, [
488
- l("span", null, n(e($)(e(ae)(a), e(k))), 1)
487
+ l("td", Wl, [
488
+ l("span", null, n(e($)(e(ae)(o), e(k))), 1)
489
489
  ])
490
490
  ]))), 128))
491
491
  ])
@@ -494,42 +494,42 @@ const be = /* @__PURE__ */ fe(fl, [["__scopeId", "data-v-4a459a74"]]), A = (B) =
494
494
  ]),
495
495
  resume: g(() => [
496
496
  l("li", null, [
497
- l("span", null, n(e(o)("event.numberOfGuests")), 1),
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", Hl, [
501
- l("span", null, n(e(o)("event.numberOfRooms")), 1),
500
+ e(T) ? (t(), i("li", Yl, [
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", Kl, [
505
- l("span", null, n(e(o)("event.numberOfDays")), 1),
504
+ e(T) ? (t(), i("li", Jl, [
505
+ l("span", null, n(e(a)("event.numberOfDays")), 1),
506
506
  l("b", null, n(e(f)), 1)
507
507
  ])) : u("", !0),
508
- e(T) ? (t(), i("li", Ql, [
509
- l("span", null, n(e(o)("booking.reservation.arrival")), 1),
508
+ e(T) ? (t(), i("li", Xl, [
509
+ l("span", null, n(e(a)("booking.reservation.arrival")), 1),
510
510
  l("b", null, n(e(ce)(e(le))), 1)
511
511
  ])) : u("", !0),
512
- e(T) ? (t(), i("li", Xl, [
513
- l("span", null, n(e(o)("booking.reservation.departure")), 1),
512
+ e(T) ? (t(), i("li", Zl, [
513
+ l("span", null, n(e(a)("booking.reservation.departure")), 1),
514
514
  l("b", null, n(e(ce)(e(le), e(f))), 1)
515
515
  ])) : u("", !0),
516
- !e(T) && e(O) ? (t(), i("li", Zl, [
517
- l("span", null, n(e(o)("event.startOfEvent")), 1),
518
- l("b", null, n(e(x)(e(O))), 1)
516
+ !e(T) && e(O) ? (t(), i("li", jl, [
517
+ l("span", null, n(e(a)("event.startOfEvent")), 1),
518
+ l("b", null, n(e(G)(e(O))), 1)
519
519
  ])) : u("", !0),
520
- !e(T) && e(ee) ? (t(), i("li", jl, [
521
- l("span", null, n(e(o)("event.lengthOfEvent")), 1),
522
- l("b", null, n(e(x)(e(ee))), 1)
520
+ !e(T) && e(ee) ? (t(), i("li", Hl, [
521
+ l("span", null, n(e(a)("event.lengthOfEvent")), 1),
522
+ l("b", null, n(e(G)(e(ee))), 1)
523
523
  ])) : u("", !0),
524
- !e(T) && e(te) > 0 ? (t(), i("li", Jl, [
525
- l("span", null, n(e(o)("booking.availability.basePrice")), 1),
524
+ !e(T) && e(te) > 0 ? (t(), i("li", Kl, [
525
+ l("span", null, n(e(a)("booking.availability.basePrice")), 1),
526
526
  l("b", null, n(e($)(e(te), e(k))), 1)
527
527
  ])) : u("", !0)
528
528
  ]),
529
529
  expenses: g(() => [
530
- (t(!0), i(V, null, w(e(W), ({ roomGroupID: a }, p) => (t(), i("li", { key: a }, [
531
- l("span", null, n(e(o)("booking.reservation.addons")) + " - " + n(e(o)("booking.reservation.room")) + " #" + n(p + 1), 1),
532
- l("b", null, n(e($)(e(oe)(a, p), e(k))), 1)
530
+ (t(!0), i(V, null, w(e(Q), ({ roomGroupID: o }, c) => (t(), i("li", { key: o }, [
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)
533
533
  ]))), 128))
534
534
  ]),
535
535
  _: 2
@@ -540,7 +540,7 @@ const be = /* @__PURE__ */ fe(fl, [["__scopeId", "data-v-4a459a74"]]), A = (B) =
540
540
  ]),
541
541
  confirmation: g(() => [
542
542
  r(cl, {
543
- message: e(o)("event.confirmationMessage")
543
+ message: e(a)("event.confirmationMessage")
544
544
  }, null, 8, ["message"])
545
545
  ]),
546
546
  _: 1
@@ -550,7 +550,7 @@ const be = /* @__PURE__ */ fe(fl, [["__scopeId", "data-v-4a459a74"]]), A = (B) =
550
550
  }, 8, ["access-token", "styling"]));
551
551
  }
552
552
  });
553
- const Gl = /* @__PURE__ */ fe(xl, [["__scopeId", "data-v-b2eee97d"]]), en = ll(), ln = nl(), L = tl({ components: { Event: Gl } });
553
+ const xl = /* @__PURE__ */ fe(Gl, [["__scopeId", "data-v-b2eee97d"]]), en = ll(), ln = nl(), L = tl({ components: { Event: xl } });
554
554
  L.use(en);
555
555
  L.use(ln);
556
556
  L.use(il);
package/dist/event.js.br CHANGED
Binary file