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