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