@konnectio/core 4.0.3 → 4.0.5

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 (100) hide show
  1. package/dist/{ActionField-1b4171c7.mjs → ActionField-0c047379.mjs} +5 -5
  2. package/dist/ActionField-0c047379.mjs.br +0 -0
  3. package/dist/{ActionField-97c0c682.js → ActionField-3640689b.js} +2 -2
  4. package/dist/ActionField-3640689b.js.br +0 -0
  5. package/dist/Clickable-386eceb6.mjs +12390 -0
  6. package/dist/Clickable-386eceb6.mjs.br +0 -0
  7. package/dist/Clickable-77afc133.js +768 -0
  8. package/dist/Clickable-77afc133.js.br +0 -0
  9. package/dist/{HotelAvailabilityForm-bab6ef4d.mjs → HotelAvailabilityForm-29f12395.mjs} +5 -5
  10. package/dist/HotelAvailabilityForm-29f12395.mjs.br +0 -0
  11. package/dist/{HotelAvailabilityForm-5750665b.js → HotelAvailabilityForm-89ba629d.js} +2 -2
  12. package/dist/HotelAvailabilityForm-89ba629d.js.br +0 -0
  13. package/dist/NumberField.vue_vue_type_style_index_0_lang-99de44b7.mjs +4027 -0
  14. package/dist/NumberField.vue_vue_type_style_index_0_lang-99de44b7.mjs.br +0 -0
  15. package/dist/NumberField.vue_vue_type_style_index_0_lang-e8efabad.js +28 -0
  16. package/dist/NumberField.vue_vue_type_style_index_0_lang-e8efabad.js.br +0 -0
  17. package/dist/{ReCaptchaVuePlugin-36454b0f.js → ReCaptchaVuePlugin-0988d77f.js} +2 -2
  18. package/dist/ReCaptchaVuePlugin-0988d77f.js.br +0 -0
  19. package/dist/{ReCaptchaVuePlugin-e4f378b2.mjs → ReCaptchaVuePlugin-616ef9b9.mjs} +2 -2
  20. package/dist/ReCaptchaVuePlugin-616ef9b9.mjs.br +0 -0
  21. package/dist/{SelectField.vue_vue_type_style_index_0_lang-a3371159.js → SelectField.vue_vue_type_style_index_0_lang-18843626.js} +2 -2
  22. package/dist/SelectField.vue_vue_type_style_index_0_lang-18843626.js.br +0 -0
  23. package/dist/{SelectField.vue_vue_type_style_index_0_lang-d7f0bf68.mjs → SelectField.vue_vue_type_style_index_0_lang-a45312d1.mjs} +3 -3
  24. package/dist/SelectField.vue_vue_type_style_index_0_lang-a45312d1.mjs.br +0 -0
  25. package/dist/{ThankYou-23531d13.js → ThankYou-1096ca5a.js} +3 -3
  26. package/dist/ThankYou-1096ca5a.js.br +0 -0
  27. package/dist/{ThankYou-4299d606.mjs → ThankYou-f6205791.mjs} +11 -11
  28. package/dist/ThankYou-f6205791.mjs.br +0 -0
  29. package/dist/{applyGiftCard-eb7b85ee.mjs → applyGiftCard-02342491.mjs} +13 -13
  30. package/dist/applyGiftCard-02342491.mjs.br +0 -0
  31. package/dist/{applyGiftCard-9847fda1.js → applyGiftCard-e24bae0c.js} +2 -2
  32. package/dist/applyGiftCard-e24bae0c.js.br +0 -0
  33. package/dist/availability.cjs.js +1 -1
  34. package/dist/availability.cjs.js.br +0 -0
  35. package/dist/availability.es.js +46 -49
  36. package/dist/availability.es.js.br +0 -0
  37. package/dist/{event-1b888019.mjs → event-cc266121.mjs} +28 -28
  38. package/dist/event-cc266121.mjs.br +0 -0
  39. package/dist/{event-e8e0c6a2.js → event-d580e6e8.js} +2 -2
  40. package/dist/event-d580e6e8.js.br +0 -0
  41. package/dist/event.cjs.js +1 -1
  42. package/dist/event.cjs.js.br +0 -0
  43. package/dist/event.es.js +163 -166
  44. package/dist/event.es.js.br +0 -0
  45. package/dist/gift-card-validation.cjs.js +1 -1
  46. package/dist/gift-card-validation.cjs.js.br +0 -0
  47. package/dist/gift-card-validation.es.js +35 -38
  48. package/dist/gift-card-validation.es.js.br +0 -0
  49. package/dist/gift-card.cjs.js +1 -1
  50. package/dist/gift-card.cjs.js.br +0 -0
  51. package/dist/gift-card.es.js +87 -90
  52. package/dist/gift-card.es.js.br +0 -0
  53. package/dist/hotel.cjs.js +4 -4
  54. package/dist/hotel.cjs.js.br +0 -0
  55. package/dist/hotel.es.js +348 -350
  56. package/dist/hotel.es.js.br +0 -0
  57. package/dist/{index-937554a9.mjs → index-30f70976.mjs} +5 -5
  58. package/dist/index-30f70976.mjs.br +0 -0
  59. package/dist/index-4e9533a9.js +2 -0
  60. package/dist/index-4e9533a9.js.br +0 -0
  61. package/dist/navigation.cjs.js +1 -1
  62. package/dist/navigation.cjs.js.br +0 -0
  63. package/dist/navigation.es.js +1 -1
  64. package/dist/navigation.es.js.br +0 -0
  65. package/dist/{payment-b79997a8.mjs → payment-b3022c46.mjs} +3 -3
  66. package/dist/payment-b3022c46.mjs.br +0 -0
  67. package/dist/{payment-3140b25e.js → payment-bfd660a7.js} +2 -2
  68. package/dist/payment-bfd660a7.js.br +0 -0
  69. package/dist/polyfill.cjs.js +1 -1
  70. package/dist/polyfill.cjs.js.br +0 -0
  71. package/dist/polyfill.es.js +1 -1
  72. package/dist/polyfill.es.js.br +0 -0
  73. package/package.json +1 -4
  74. package/dist/ActionField-1b4171c7.mjs.br +0 -0
  75. package/dist/ActionField-97c0c682.js.br +0 -0
  76. package/dist/Clickable-eb931b15.mjs +0 -13899
  77. package/dist/Clickable-eb931b15.mjs.br +0 -0
  78. package/dist/Clickable-f57e16ad.js +0 -785
  79. package/dist/Clickable-f57e16ad.js.br +0 -0
  80. package/dist/HotelAvailabilityForm-5750665b.js.br +0 -0
  81. package/dist/HotelAvailabilityForm-bab6ef4d.mjs.br +0 -0
  82. package/dist/NumberField.vue_vue_type_style_index_0_lang-737bf674.mjs +0 -5917
  83. package/dist/NumberField.vue_vue_type_style_index_0_lang-737bf674.mjs.br +0 -0
  84. package/dist/NumberField.vue_vue_type_style_index_0_lang-e642c7f3.js +0 -56
  85. package/dist/NumberField.vue_vue_type_style_index_0_lang-e642c7f3.js.br +0 -0
  86. package/dist/ReCaptchaVuePlugin-36454b0f.js.br +0 -0
  87. package/dist/ReCaptchaVuePlugin-e4f378b2.mjs.br +0 -0
  88. package/dist/SelectField.vue_vue_type_style_index_0_lang-a3371159.js.br +0 -0
  89. package/dist/SelectField.vue_vue_type_style_index_0_lang-d7f0bf68.mjs.br +0 -0
  90. package/dist/ThankYou-23531d13.js.br +0 -0
  91. package/dist/ThankYou-4299d606.mjs.br +0 -0
  92. package/dist/applyGiftCard-9847fda1.js.br +0 -0
  93. package/dist/applyGiftCard-eb7b85ee.mjs.br +0 -0
  94. package/dist/event-1b888019.mjs.br +0 -0
  95. package/dist/event-e8e0c6a2.js.br +0 -0
  96. package/dist/index-937554a9.mjs.br +0 -0
  97. package/dist/index-aa255eba.js +0 -2
  98. package/dist/index-aa255eba.js.br +0 -0
  99. package/dist/payment-3140b25e.js.br +0 -0
  100. package/dist/payment-b79997a8.mjs.br +0 -0
package/dist/event.es.js CHANGED
@@ -1,14 +1,14 @@
1
- import { d as ve, r as je, f as Qe, o as t, h as y, q as Ye, w as f, b as o, a as u, I as k, t as l, u as e, c as r, k as d, _ as ye, g as He, s as Je, i as D, F as _, v as R, L as ie, x as re, p as Ke, l as Xe, m as Ze } from "./Clickable-eb931b15.mjs";
2
- import { u as fe, b as Ge, s as ee, e as xe, f as ue, g as de, h as eo, j as F, B as oo, k as lo, O as ce, l as no, m as G, n as me, _ as to, d as ao, c as so, a as io, i as ro } from "./NumberField.vue_vue_type_style_index_0_lang-737bf674.mjs";
3
- import { B as uo, M as co, R as mo, C as po, T as bo, z as go, V as vo, x as yo } from "./ThankYou-4299d606.mjs";
4
- import { P as fo, C as pe, S as ho, i as ko } from "./index-937554a9.mjs";
5
- import { u as Y } from "./event-1b888019.mjs";
6
- import { A as Co } from "./ActionField-1b4171c7.mjs";
7
- import { T as be } from "./SelectField.vue_vue_type_style_index_0_lang-d7f0bf68.mjs";
8
- import { _ as _o } from "./payment-b79997a8.mjs";
9
- import { _ as x } from "./applyGiftCard-eb7b85ee.mjs";
1
+ import { d as ve, r as je, f as Qe, o as t, h as y, q as Ye, w as f, b as o, a as u, I as k, t as l, u as e, c as r, k as d, _ as ye, g as He, s as Je, i as R, F as _, v as S, L as se, x as re, p as Ke, l as Xe, m as Ze } from "./Clickable-386eceb6.mjs";
2
+ import { u as fe, a as Ge, s as ee, b as xe, d as ue, e as de, f as eo, g as P, B as oo, h as lo, O as ce, j as no, k as G, l as me, _ as to, c as ao, i as io } from "./NumberField.vue_vue_type_style_index_0_lang-99de44b7.mjs";
3
+ import { B as so, M as ro, R as uo, C as co, T as mo, z as po, V as bo, x as go } from "./ThankYou-f6205791.mjs";
4
+ import { P as vo, C as pe, S as yo, i as fo } from "./index-30f70976.mjs";
5
+ import { u as Y } from "./event-cc266121.mjs";
6
+ import { A as ho } from "./ActionField-0c047379.mjs";
7
+ import { T as be } from "./SelectField.vue_vue_type_style_index_0_lang-a45312d1.mjs";
8
+ import { _ as ko } from "./payment-b3022c46.mjs";
9
+ import { _ as x } from "./applyGiftCard-02342491.mjs";
10
10
  import "./_commonjsHelpers-c5d32002.mjs";
11
- const Bo = { class: "fresh-booking-event-listing-information" }, Vo = { key: 0 }, Po = { key: 1 }, Fo = /* @__PURE__ */ ve({
11
+ const Co = { class: "fresh-booking-event-listing-information" }, _o = { key: 0 }, Bo = { key: 1 }, Vo = /* @__PURE__ */ ve({
12
12
  __name: "Event",
13
13
  props: {
14
14
  name: {},
@@ -32,40 +32,40 @@ const Bo = { class: "fresh-booking-event-listing-information" }, Vo = { key: 0 }
32
32
  callback: {}
33
33
  },
34
34
  setup(T) {
35
- const i = T, { t: a } = fe(), { display: E } = Ge(), {
36
- currency: $,
35
+ const s = T, { t: a } = fe(), { display: $ } = Ge(), {
36
+ currency: E,
37
37
  maxNumberOfPeople: L,
38
- numberOfPeople: S,
38
+ numberOfPeople: w,
39
39
  eventId: H,
40
40
  tableGroupId: U
41
41
  } = ee(Y()), {
42
42
  getTemplateAvailability: A,
43
43
  getEventAvailability: z,
44
44
  isEventListingLoading: N
45
- } = Y(), b = je(0), M = Qe(() => N(i.listingId)), J = () => {
46
- b.value > 0 ? (H.value = i.listingId, S.value = b.value, A(i.callback)) : E({
45
+ } = Y(), b = je(0), M = Qe(() => N(s.listingId)), J = () => {
46
+ b.value > 0 ? (H.value = s.listingId, w.value = b.value, A(s.callback)) : $({
47
47
  type: "error",
48
48
  message: a("alert.error.selectPeople")
49
49
  });
50
50
  }, K = () => {
51
- b.value > 0 ? (H.value = i.listingId, U.value = i.tableGroupId, S.value = b.value, z(i.callback)) : E({
51
+ b.value > 0 ? (H.value = s.listingId, U.value = s.tableGroupId, w.value = b.value, z(s.callback)) : $({
52
52
  type: "error",
53
53
  message: a("alert.error.selectPeople")
54
54
  });
55
55
  };
56
- return (n, V) => (t(), y(uo, {
56
+ return (n, B) => (t(), y(so, {
57
57
  "listing-id": n.listingId,
58
58
  gallery: n.gallery,
59
59
  name: n.name,
60
60
  description: n.description,
61
61
  layout: e(oo).Event,
62
62
  styling: n.styling,
63
- currency: e($)
63
+ currency: e(E)
64
64
  }, Ye({
65
65
  action: f(() => [
66
- u(Co, {
66
+ u(ho, {
67
67
  modelValue: b.value,
68
- "onUpdate:modelValue": V[0] || (V[0] = (O) => b.value = O),
68
+ "onUpdate:modelValue": B[0] || (B[0] = (O) => b.value = O),
69
69
  type: "number",
70
70
  label: e(a)("event.numberOfGuests"),
71
71
  buttonLabel: n.soldOut ? e(a)("event.soldOut") : e(a)("event.bookNowButton"),
@@ -73,8 +73,8 @@ const Bo = { class: "fresh-booking-event-listing-information" }, Vo = { key: 0 }
73
73
  "min-value": n.type === "event" ? 1 : n.minimumPersonCount,
74
74
  "max-value": n.type === "event" ? n.maxOnlineReservationLimit || 1 / 0 : e(L),
75
75
  "is-loading": M.value,
76
- "onUpdate:isLoading": V[1] || (V[1] = (O) => M.value = O),
77
- onAction: V[2] || (V[2] = (O) => n.type === "event" ? K() : J())
76
+ "onUpdate:isLoading": B[1] || (B[1] = (O) => M.value = O),
77
+ onAction: B[2] || (B[2] = (O) => n.type === "event" ? K() : J())
78
78
  }, null, 8, ["modelValue", "label", "buttonLabel", "buttonDisabled", "min-value", "max-value", "is-loading"])
79
79
  ]),
80
80
  _: 2
@@ -82,7 +82,7 @@ const Bo = { class: "fresh-booking-event-listing-information" }, Vo = { key: 0 }
82
82
  n.type === "event" ? {
83
83
  name: "description",
84
84
  fn: f(() => [
85
- o("ul", Bo, [
85
+ o("ul", Co, [
86
86
  o("li", null, [
87
87
  u(k, {
88
88
  icon: "calendar-range",
@@ -90,7 +90,7 @@ const Bo = { class: "fresh-booking-event-listing-information" }, Vo = { key: 0 }
90
90
  }, null, 8, ["icon-color"]),
91
91
  o("span", null, l(e(xe)(n.days)), 1)
92
92
  ]),
93
- e(ue)(n.fromDate, n.toDate) < 180 ? (t(), r("li", Vo, [
93
+ e(ue)(n.fromDate, n.toDate) < 180 ? (t(), r("li", _o, [
94
94
  u(k, {
95
95
  icon: "calendar-days",
96
96
  "icon-color": n.styling.headerColor
@@ -104,7 +104,7 @@ const Bo = { class: "fresh-booking-event-listing-information" }, Vo = { key: 0 }
104
104
  }, null, 8, ["icon-color"]),
105
105
  o("span", null, l(e(eo)(n.timeFrom, n.timeTo)), 1)
106
106
  ]),
107
- n.maxOnlineReservationLimit ? (t(), r("li", Po, [
107
+ n.maxOnlineReservationLimit ? (t(), r("li", Bo, [
108
108
  u(k, {
109
109
  icon: "user-alt",
110
110
  "icon-color": n.styling.headerColor
@@ -137,7 +137,7 @@ const Bo = { class: "fresh-booking-event-listing-information" }, Vo = { key: 0 }
137
137
  icon: "money-bill",
138
138
  "icon-color": n.styling.headerColor
139
139
  }, null, 8, ["icon-color"]),
140
- o("span", null, l(`${e(a)("general.pricesFrom")} ${e(F)(n.fromPrice, e($))}`), 1)
140
+ o("span", null, l(`${e(a)("general.pricesFrom")} ${e(P)(n.fromPrice, e(E))}`), 1)
141
141
  ])
142
142
  ])
143
143
  ]),
@@ -146,13 +146,13 @@ const Bo = { class: "fresh-booking-event-listing-information" }, Vo = { key: 0 }
146
146
  ]), 1032, ["listing-id", "gallery", "name", "description", "layout", "styling", "currency"]));
147
147
  }
148
148
  });
149
- const ge = /* @__PURE__ */ ye(Fo, [["__scopeId", "data-v-c907b452"]]), w = (T) => (Ke("data-v-7a0ec33b"), T = T(), Xe(), T), To = { class: "fresh-booking-panel" }, Eo = {
149
+ const ge = /* @__PURE__ */ ye(Vo, [["__scopeId", "data-v-c907b452"]]), D = (T) => (Ke("data-v-7a0ec33b"), T = T(), Xe(), T), Po = { class: "fresh-booking-panel" }, Fo = {
150
150
  key: 0,
151
151
  id: "fresh-booking-event-overview"
152
- }, $o = { class: "fresh-booking-event-listings" }, Oo = { class: "fresh-booking-event-listings" }, Do = {
152
+ }, To = { class: "fresh-booking-event-listings" }, $o = { class: "fresh-booking-event-listings" }, Eo = {
153
153
  key: 2,
154
154
  id: "fresh-booking-event-addons"
155
- }, Ro = { class: "fresh-booking-table" }, So = /* @__PURE__ */ w(() => /* @__PURE__ */ o("th", { class: "fresh-booking-event-addons-input" }, null, -1)), wo = { class: "fresh-booking-event-addons-price" }, Lo = /* @__PURE__ */ w(() => /* @__PURE__ */ o("br", null, null, -1)), Uo = { class: "fresh-booking-event-addons-input" }, Ao = { class: "fresh-booking-event-addons-price" }, zo = /* @__PURE__ */ w(() => /* @__PURE__ */ o("td", { colspan: "2" }, null, -1)), No = { class: "fresh-booking-event-addons-price" }, qo = { key: 3 }, Io = { class: "fresh-booking-label required" }, Wo = { id: "fresh-booking-event-table" }, Mo = { key: 4 }, jo = { class: "fresh-booking-label required" }, Qo = { class: "fresh-booking-table" }, Yo = /* @__PURE__ */ w(() => /* @__PURE__ */ o("th", { class: "fresh-booking-event-addons-input" }, null, -1)), Ho = { class: "fresh-booking-event-addons-price" }, Jo = /* @__PURE__ */ w(() => /* @__PURE__ */ o("br", null, null, -1)), Ko = /* @__PURE__ */ w(() => /* @__PURE__ */ o("br", null, null, -1)), Xo = { class: "fresh-booking-event-addons-input" }, Zo = { class: "fresh-booking-event-addons-price" }, Go = { key: 0 }, xo = { key: 1 }, el = { key: 2 }, ol = { key: 3 }, ll = { key: 4 }, nl = { key: 5 }, tl = { key: 6 }, al = /* @__PURE__ */ ve({
155
+ }, Oo = { class: "fresh-booking-table" }, Ro = /* @__PURE__ */ D(() => /* @__PURE__ */ o("th", { class: "fresh-booking-event-addons-input" }, null, -1)), So = { class: "fresh-booking-event-addons-price" }, wo = /* @__PURE__ */ D(() => /* @__PURE__ */ o("br", null, null, -1)), Do = { class: "fresh-booking-event-addons-input" }, Lo = { class: "fresh-booking-event-addons-price" }, Uo = /* @__PURE__ */ D(() => /* @__PURE__ */ o("td", { colspan: "2" }, null, -1)), Ao = { class: "fresh-booking-event-addons-price" }, zo = { key: 3 }, No = { class: "fresh-booking-label required" }, qo = { id: "fresh-booking-event-table" }, Io = { key: 4 }, Wo = { class: "fresh-booking-label required" }, Mo = { class: "fresh-booking-table" }, jo = /* @__PURE__ */ D(() => /* @__PURE__ */ o("th", { class: "fresh-booking-event-addons-input" }, null, -1)), Qo = { class: "fresh-booking-event-addons-price" }, Yo = /* @__PURE__ */ D(() => /* @__PURE__ */ o("br", null, null, -1)), Ho = /* @__PURE__ */ D(() => /* @__PURE__ */ o("br", null, null, -1)), Jo = { class: "fresh-booking-event-addons-input" }, Ko = { class: "fresh-booking-event-addons-price" }, Xo = { key: 0 }, Zo = { key: 1 }, Go = { key: 2 }, xo = { key: 3 }, el = { key: 4 }, ol = { key: 5 }, ll = { key: 6 }, nl = /* @__PURE__ */ ve({
156
156
  __name: "Event",
157
157
  props: {
158
158
  accessToken: {},
@@ -187,11 +187,11 @@ const ge = /* @__PURE__ */ ye(Fo, [["__scopeId", "data-v-c907b452"]]), w = (T) =
187
187
  successColor: {}
188
188
  },
189
189
  setup(T) {
190
- const i = T, { t: a } = fe(), {
191
- searchDate: E,
192
- addons: $,
190
+ const s = T, { t: a } = fe(), {
191
+ searchDate: $,
192
+ addons: E,
193
193
  products: L,
194
- numberOfDays: S,
194
+ numberOfDays: w,
195
195
  discountCode: H,
196
196
  name: U,
197
197
  phone: A,
@@ -202,7 +202,7 @@ const ge = /* @__PURE__ */ ye(Fo, [["__scopeId", "data-v-c907b452"]]), w = (T) =
202
202
  subtitle: J,
203
203
  slideshow: K,
204
204
  currency: n,
205
- numberOfPeople: V,
205
+ numberOfPeople: B,
206
206
  numberOfTotalDays: O,
207
207
  numberOfRooms: he,
208
208
  basePrice: ke,
@@ -214,62 +214,62 @@ const ge = /* @__PURE__ */ ye(Fo, [["__scopeId", "data-v-c907b452"]]), w = (T) =
214
214
  getTemplates: Fe,
215
215
  getEventData: Te,
216
216
  getTemplateData: j,
217
- getEventTableData: Ee,
217
+ getEventTableData: $e,
218
218
  length: oe,
219
- roomUpgrade: $e,
219
+ roomUpgrade: Ee,
220
220
  weekendFee: Oe,
221
221
  fromDate: le,
222
- hasProducts: De,
222
+ hasProducts: Re,
223
223
  eventRateType: ne,
224
- isMetaDataAvailable: Re,
225
- areListingsAvailable: Se,
226
- isReservationFormFilled: we,
224
+ isMetaDataAvailable: Se,
225
+ areListingsAvailable: we,
226
+ isReservationFormFilled: De,
227
227
  isAvailabilityDataAvailable: Le,
228
228
  getEventImages: Ue,
229
- isTemplateEvent: P,
229
+ isTemplateEvent: V,
230
230
  tableBasePrice: te
231
231
  } = ee(Y()), {
232
232
  initialize: Ae,
233
- validateDiscountCode: ul,
233
+ validateDiscountCode: sl,
234
234
  fetchListings: ze,
235
235
  createBooking: Ne,
236
236
  localAddonPrice: ae,
237
- totalAddonPrice: se,
237
+ totalAddonPrice: ie,
238
238
  reset: qe
239
239
  } = Y(), {
240
240
  hideEvents: Ie,
241
241
  hideEventTemplates: We
242
242
  } = ee(lo());
243
- He(() => Ae()), Je(E, () => ze());
243
+ He(() => Ae()), Je($, () => ze());
244
244
  const Me = {
245
- "--accentColor": i.accentColor,
246
- "--buttonBackground": i.buttonBackground,
247
- "--buttonBorder": i.buttonBorder,
248
- "--buttonBorderRadius": i.buttonBorderRadius,
249
- "--buttonColor": i.buttonColor,
250
- "--buttonFontFamily": i.buttonFontFamily,
251
- "--buttonFontSize": i.buttonFontSize,
252
- "--buttonFontWeight": i.buttonFontWeight,
253
- "--buttonTextTransform": i.buttonTextTransform,
254
- "--dangerColor": i.dangerColor,
255
- "--fontColor": i.fontColor,
256
- "--fontFamily": i.fontFamily,
257
- "--fontSize": i.fontSize,
258
- "--grayColor": i.grayColor,
259
- "--headerColor": i.headerColor,
260
- "--inputBackground": i.inputBackground,
261
- "--inputBorder": i.inputBorder,
262
- "--inputBorderRadius": i.inputBorderRadius,
263
- "--inputFontColor": i.inputFontColor,
264
- "--labelFontWeight": i.labelFontWeight,
265
- "--labelPadding": i.labelPadding,
266
- "--linkColor": i.linkColor,
267
- "--loadingColor": i.loadingColor,
268
- "--panelBackground": i.panelBackground,
269
- "--panelBorder": i.panelBorder,
270
- "--panelBorderRadius": i.panelBorderRadius,
271
- "--panelPadding": i.panelPadding,
272
- "--successColor": i.successColor
245
+ "--accentColor": s.accentColor,
246
+ "--buttonBackground": s.buttonBackground,
247
+ "--buttonBorder": s.buttonBorder,
248
+ "--buttonBorderRadius": s.buttonBorderRadius,
249
+ "--buttonColor": s.buttonColor,
250
+ "--buttonFontFamily": s.buttonFontFamily,
251
+ "--buttonFontSize": s.buttonFontSize,
252
+ "--buttonFontWeight": s.buttonFontWeight,
253
+ "--buttonTextTransform": s.buttonTextTransform,
254
+ "--dangerColor": s.dangerColor,
255
+ "--fontColor": s.fontColor,
256
+ "--fontFamily": s.fontFamily,
257
+ "--fontSize": s.fontSize,
258
+ "--grayColor": s.grayColor,
259
+ "--headerColor": s.headerColor,
260
+ "--inputBackground": s.inputBackground,
261
+ "--inputBorder": s.inputBorder,
262
+ "--inputBorderRadius": s.inputBorderRadius,
263
+ "--inputFontColor": s.inputFontColor,
264
+ "--labelFontWeight": s.labelFontWeight,
265
+ "--labelPadding": s.labelPadding,
266
+ "--linkColor": s.linkColor,
267
+ "--loadingColor": s.loadingColor,
268
+ "--panelBackground": s.panelBackground,
269
+ "--panelBorder": s.panelBorder,
270
+ "--panelBorderRadius": s.panelBorderRadius,
271
+ "--panelPadding": s.panelPadding,
272
+ "--successColor": s.successColor
273
273
  };
274
274
  return (c, m) => (t(), y(to, {
275
275
  id: "fresh-booking-event-module",
@@ -279,22 +279,22 @@ const ge = /* @__PURE__ */ ye(Fo, [["__scopeId", "data-v-c907b452"]]), w = (T) =
279
279
  style: Me
280
280
  }, {
281
281
  default: f(() => [
282
- e(Re) ? (t(), y(co, {
282
+ e(Se) ? (t(), y(ro, {
283
283
  key: 0,
284
284
  slideshow: e(K),
285
285
  title: e(M),
286
286
  subtitle: e(J)
287
287
  }, {
288
288
  availability: f(({ next: Q }) => [
289
- o("div", To, [
290
- u(_o, {
291
- modelValue: e(E),
292
- "onUpdate:modelValue": m[0] || (m[0] = (h) => D(E) ? E.value = h : null),
289
+ o("div", Po, [
290
+ u(ko, {
291
+ modelValue: e($),
292
+ "onUpdate:modelValue": m[0] || (m[0] = (h) => R($) ? $.value = h : null),
293
293
  label: e(a)("event.selectDate"),
294
294
  "min-date": /* @__PURE__ */ new Date()
295
295
  }, null, 8, ["modelValue", "label", "min-date"])
296
296
  ]),
297
- e(Se) ? (t(), r("div", Eo, [
297
+ e(we) ? (t(), r("div", Fo, [
298
298
  e(Be) && !e(Ie) ? (t(), r(_, { key: 0 }, [
299
299
  o("h2", null, [
300
300
  u(k, {
@@ -304,10 +304,10 @@ const ge = /* @__PURE__ */ ye(Fo, [["__scopeId", "data-v-c907b452"]]), w = (T) =
304
304
  }, null, 8, ["icon-color"]),
305
305
  o("span", null, l(e(a)("event.eventsTitle")), 1)
306
306
  ]),
307
- o("ul", $o, [
308
- (t(!0), r(_, null, R(e(Pe), ({
307
+ o("ul", To, [
308
+ (t(!0), r(_, null, S(e(Pe), ({
309
309
  id: h,
310
- days: s,
310
+ days: i,
311
311
  name: g,
312
312
  timeFrom: C,
313
313
  timeTo: p,
@@ -325,7 +325,7 @@ const ge = /* @__PURE__ */ ye(Fo, [["__scopeId", "data-v-c907b452"]]), w = (T) =
325
325
  gallery: e(Ue)(h),
326
326
  description: X,
327
327
  name: g,
328
- days: s,
328
+ days: i,
329
329
  "from-date": v,
330
330
  "to-date": q,
331
331
  "max-online-reservation-limit": W,
@@ -352,10 +352,10 @@ const ge = /* @__PURE__ */ ye(Fo, [["__scopeId", "data-v-c907b452"]]), w = (T) =
352
352
  }, null, 8, ["icon-color"]),
353
353
  o("span", null, l(e(a)("event.stayTitle")), 1)
354
354
  ]),
355
- o("ul", Oo, [
356
- (t(!0), r(_, null, R(e(Fe), ({
355
+ o("ul", $o, [
356
+ (t(!0), r(_, null, S(e(Fe), ({
357
357
  id: h,
358
- name: s,
358
+ name: i,
359
359
  fromDate: g,
360
360
  toDate: C,
361
361
  minimumPersonCount: p,
@@ -367,7 +367,7 @@ const ge = /* @__PURE__ */ ye(Fo, [["__scopeId", "data-v-c907b452"]]), w = (T) =
367
367
  type: "template",
368
368
  "listing-id": h,
369
369
  gallery: I,
370
- name: s,
370
+ name: i,
371
371
  description: q,
372
372
  "from-date": g,
373
373
  "to-date": C,
@@ -384,36 +384,36 @@ const ge = /* @__PURE__ */ ye(Fo, [["__scopeId", "data-v-c907b452"]]), w = (T) =
384
384
  }, null, 8, ["listing-id", "gallery", "name", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "styling", "callback"]))), 128))
385
385
  ])
386
386
  ], 64)) : d("", !0)
387
- ])) : (t(), y(ie, { key: 1 }))
387
+ ])) : (t(), y(se, { key: 1 }))
388
388
  ]),
389
389
  reservation: f(({ next: Q, prev: h }) => [
390
- e(Le) ? (t(), y(mo, {
390
+ e(Le) ? (t(), y(uo, {
391
391
  key: 0,
392
392
  remark: e(N),
393
- "onUpdate:remark": m[8] || (m[8] = (s) => D(N) ? N.value = s : null),
394
- "is-filled": e(we),
393
+ "onUpdate:remark": m[8] || (m[8] = (i) => R(N) ? N.value = i : null),
394
+ "is-filled": e(De),
395
395
  "is-loading": e(_e),
396
396
  currency: e(n),
397
397
  "base-price": e(ke),
398
398
  "button-icon-color": c.buttonIconColor,
399
399
  "total-price": e(Ce),
400
400
  "weekend-fee": e(Oe),
401
- "room-upgrade": e($e),
402
- onPrev: (s) => e(qe)(h),
403
- onNext: (s) => e(Ne)(Q)
401
+ "room-upgrade": e(Ee),
402
+ onPrev: (i) => e(qe)(h),
403
+ onNext: (i) => e(Ne)(Q)
404
404
  }, {
405
405
  form: f(() => [
406
406
  e(ne) === e(ce).FullDayEvent ? (t(), y(x, {
407
407
  key: 0,
408
- modelValue: e(S),
409
- "onUpdate:modelValue": m[1] || (m[1] = (s) => D(S) ? S.value = s : null),
408
+ modelValue: e(w),
409
+ "onUpdate:modelValue": m[1] || (m[1] = (i) => R(w) ? w.value = i : null),
410
410
  label: e(a)("event.numberOfDays"),
411
411
  "min-value": 1,
412
412
  required: ""
413
413
  }, null, 8, ["modelValue", "label"])) : d("", !0),
414
414
  u(be, {
415
415
  modelValue: e(U),
416
- "onUpdate:modelValue": m[2] || (m[2] = (s) => D(U) ? U.value = s : null),
416
+ "onUpdate:modelValue": m[2] || (m[2] = (i) => R(U) ? U.value = i : null),
417
417
  type: "text",
418
418
  label: e(a)("booking.reservation.name"),
419
419
  icon: "user-alt",
@@ -422,7 +422,7 @@ const ge = /* @__PURE__ */ ye(Fo, [["__scopeId", "data-v-c907b452"]]), w = (T) =
422
422
  }, null, 8, ["modelValue", "label", "placeholder"]),
423
423
  u(be, {
424
424
  modelValue: e(z),
425
- "onUpdate:modelValue": m[3] || (m[3] = (s) => D(z) ? z.value = s : null),
425
+ "onUpdate:modelValue": m[3] || (m[3] = (i) => R(z) ? z.value = i : null),
426
426
  label: e(a)("booking.reservation.email"),
427
427
  type: "email",
428
428
  name: "email",
@@ -431,21 +431,21 @@ const ge = /* @__PURE__ */ ye(Fo, [["__scopeId", "data-v-c907b452"]]), w = (T) =
431
431
  placeholder: e(a)("booking.reservation.emailPlaceholder"),
432
432
  required: ""
433
433
  }, null, 8, ["modelValue", "label", "placeholder"]),
434
- u(fo, {
434
+ u(vo, {
435
435
  modelValue: e(A),
436
- "onUpdate:modelValue": m[4] || (m[4] = (s) => D(A) ? A.value = s : null),
436
+ "onUpdate:modelValue": m[4] || (m[4] = (i) => R(A) ? A.value = i : null),
437
437
  label: e(a)("booking.reservation.phone"),
438
438
  icon: "phone-office",
439
439
  placeholder: e(a)("booking.reservation.phonePlaceholder"),
440
440
  required: ""
441
441
  }, null, 8, ["modelValue", "label", "placeholder"]),
442
442
  d("", !0),
443
- e(j) && e(j).length > 0 ? (t(), r("ul", Do, [
444
- (t(!0), r(_, null, R(e(j), ({
445
- roomGroupID: s,
443
+ e(j) && e(j).length > 0 ? (t(), r("ul", Eo, [
444
+ (t(!0), r(_, null, S(e(j), ({
445
+ roomGroupID: i,
446
446
  addons: g,
447
447
  adultPerRoom: C
448
- }, p) => (t(), r("li", { key: s }, [
448
+ }, p) => (t(), r("li", { key: i }, [
449
449
  o("h5", null, [
450
450
  o("span", null, l(e(a)("booking.reservation.room")) + " #" + l(p + 1), 1),
451
451
  re(" ("),
@@ -456,20 +456,20 @@ const ge = /* @__PURE__ */ ye(Fo, [["__scopeId", "data-v-c907b452"]]), w = (T) =
456
456
  }, null, 8, ["icon-color"]),
457
457
  re(" " + l(C) + ") ", 1)
458
458
  ]),
459
- o("table", Ro, [
459
+ o("table", Oo, [
460
460
  o("thead", null, [
461
461
  o("tr", null, [
462
462
  o("th", null, [
463
463
  o("span", null, l(e(a)("booking.reservation.addons")), 1)
464
464
  ]),
465
- So,
466
- o("th", wo, [
465
+ Ro,
466
+ o("th", So, [
467
467
  o("span", null, l(e(a)("booking.availability.price")), 1)
468
468
  ])
469
469
  ])
470
470
  ]),
471
471
  o("tbody", null, [
472
- (t(!0), r(_, null, R(g, ({
472
+ (t(!0), r(_, null, S(g, ({
473
473
  addonID: v,
474
474
  cardinality: q,
475
475
  name: I,
@@ -478,34 +478,34 @@ const ge = /* @__PURE__ */ ye(Fo, [["__scopeId", "data-v-c907b452"]]), w = (T) =
478
478
  }) => (t(), r("tr", { key: v }, [
479
479
  o("td", null, [
480
480
  o("b", null, l(I), 1),
481
- Lo,
482
- o("span", null, l(e(F)(X, e(n))) + " " + l(e(no)(Z)), 1)
481
+ wo,
482
+ o("span", null, l(e(P)(X, e(n))) + " " + l(e(no)(Z)), 1)
483
483
  ]),
484
- o("td", Uo, [
484
+ o("td", Do, [
485
485
  q === 3 ? (t(), y(x, {
486
486
  key: 0,
487
- modelValue: e($)[`${s}.${v}.${p}`],
488
- "onUpdate:modelValue": (W) => e($)[`${s}.${v}.${p}`] = W,
487
+ modelValue: e(E)[`${i}.${v}.${p}`],
488
+ "onUpdate:modelValue": (W) => e(E)[`${i}.${v}.${p}`] = W,
489
489
  small: !0,
490
490
  "min-value": 0
491
491
  }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (t(), y(pe, {
492
492
  key: 1,
493
- modelValue: e($)[`${s}.${v}.${p}`],
494
- "onUpdate:modelValue": (W) => e($)[`${s}.${v}.${p}`] = W,
493
+ modelValue: e(E)[`${i}.${v}.${p}`],
494
+ "onUpdate:modelValue": (W) => e(E)[`${i}.${v}.${p}`] = W,
495
495
  numeric: !0
496
496
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
497
497
  ]),
498
- o("td", Ao, [
499
- o("span", null, l(e(F)(e(ae)(v, s, p), e(n))), 1)
498
+ o("td", Lo, [
499
+ o("span", null, l(e(P)(e(ae)(v, i, p), e(n))), 1)
500
500
  ])
501
501
  ]))), 128))
502
502
  ]),
503
503
  o("tfoot", null, [
504
504
  o("tr", null, [
505
- zo,
506
- o("td", No, [
505
+ Uo,
506
+ o("td", Ao, [
507
507
  o("u", null, [
508
- o("span", null, l(e(F)(e(se)(s, p), e(n))), 1)
508
+ o("span", null, l(e(P)(e(ie)(i, p), e(n))), 1)
509
509
  ])
510
510
  ])
511
511
  ])
@@ -513,60 +513,60 @@ const ge = /* @__PURE__ */ ye(Fo, [["__scopeId", "data-v-c907b452"]]), w = (T) =
513
513
  ])
514
514
  ]))), 128))
515
515
  ])) : d("", !0),
516
- e(ne) !== e(ce).FullDayEvent && !e(P) ? (t(), r("div", qo, [
517
- o("label", Io, [
516
+ e(ne) !== e(ce).FullDayEvent && !e(V) ? (t(), r("div", zo, [
517
+ o("label", No, [
518
518
  o("span", null, l(e(a)("event.selectArrivalTime")), 1)
519
519
  ]),
520
- o("ul", Wo, [
521
- (t(!0), r(_, null, R(e(Ee), (s, g) => (t(), r("li", { key: g }, [
520
+ o("ul", qo, [
521
+ (t(!0), r(_, null, S(e($e), (i, g) => (t(), r("li", { key: g }, [
522
522
  u(pe, {
523
523
  modelValue: e(b),
524
- "onUpdate:modelValue": m[7] || (m[7] = (C) => D(b) ? b.value = C : null),
524
+ "onUpdate:modelValue": m[7] || (m[7] = (C) => R(b) ? b.value = C : null),
525
525
  type: "radio",
526
526
  name: "eventTimeTable",
527
- val: s.time,
528
- label: e(G)(s.time)
527
+ val: i.time,
528
+ label: e(G)(i.time)
529
529
  }, null, 8, ["modelValue", "val", "label"])
530
530
  ]))), 128))
531
531
  ])
532
532
  ])) : d("", !0),
533
- e(De) ? (t(), r("div", Mo, [
534
- o("label", jo, [
533
+ e(Re) ? (t(), r("div", Io, [
534
+ o("label", Wo, [
535
535
  o("span", null, l(e(a)("event.selectProducts")), 1)
536
536
  ]),
537
- o("table", Qo, [
537
+ o("table", Mo, [
538
538
  o("thead", null, [
539
539
  o("tr", null, [
540
540
  o("th", null, [
541
541
  o("span", null, l(e(a)("booking.reservation.addons")), 1)
542
542
  ]),
543
- Yo,
544
- o("th", Ho, [
543
+ jo,
544
+ o("th", Qo, [
545
545
  o("span", null, l(e(a)("booking.availability.price")), 1)
546
546
  ])
547
547
  ])
548
548
  ]),
549
549
  o("tbody", null, [
550
- (t(!0), r(_, null, R(e(Te).products, ({ productID: s, productName: g, price: C, description: p }) => (t(), r("tr", { key: s }, [
550
+ (t(!0), r(_, null, S(e(Te).products, ({ productID: i, productName: g, price: C, description: p }) => (t(), r("tr", { key: i }, [
551
551
  o("td", null, [
552
552
  o("b", null, [
553
553
  o("span", null, l(g), 1)
554
554
  ]),
555
- Jo,
555
+ Yo,
556
556
  o("span", null, l(p), 1),
557
- Ko,
558
- o("span", null, l(e(F)(C, e(n))), 1)
557
+ Ho,
558
+ o("span", null, l(e(P)(C, e(n))), 1)
559
559
  ]),
560
- o("td", Xo, [
560
+ o("td", Jo, [
561
561
  u(x, {
562
- modelValue: e(L)[s],
563
- "onUpdate:modelValue": (v) => e(L)[s] = v,
562
+ modelValue: e(L)[i],
563
+ "onUpdate:modelValue": (v) => e(L)[i] = v,
564
564
  small: !0,
565
565
  "min-value": 0
566
566
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
567
567
  ]),
568
- o("td", Zo, [
569
- o("span", null, l(e(F)(e(ae)(s), e(n))), 1)
568
+ o("td", Ko, [
569
+ o("span", null, l(e(P)(e(ae)(i), e(n))), 1)
570
570
  ])
571
571
  ]))), 128))
572
572
  ])
@@ -576,72 +576,69 @@ const ge = /* @__PURE__ */ ye(Fo, [["__scopeId", "data-v-c907b452"]]), w = (T) =
576
576
  resume: f(() => [
577
577
  o("li", null, [
578
578
  o("span", null, l(e(a)("event.numberOfGuests")), 1),
579
- o("b", null, l(e(V)), 1)
579
+ o("b", null, l(e(B)), 1)
580
580
  ]),
581
- e(P) ? (t(), r("li", Go, [
581
+ e(V) ? (t(), r("li", Xo, [
582
582
  o("span", null, l(e(a)("event.numberOfRooms")), 1),
583
583
  o("b", null, l(e(he)), 1)
584
584
  ])) : d("", !0),
585
- e(P) ? (t(), r("li", xo, [
585
+ e(V) ? (t(), r("li", Zo, [
586
586
  o("span", null, l(e(a)("event.numberOfDays")), 1),
587
587
  o("b", null, l(e(O)), 1)
588
588
  ])) : d("", !0),
589
- e(P) ? (t(), r("li", el, [
589
+ e(V) ? (t(), r("li", Go, [
590
590
  o("span", null, l(e(a)("booking.reservation.arrival")), 1),
591
591
  o("b", null, l(e(me)(e(le))), 1)
592
592
  ])) : d("", !0),
593
- e(P) ? (t(), r("li", ol, [
593
+ e(V) ? (t(), r("li", xo, [
594
594
  o("span", null, l(e(a)("booking.reservation.departure")), 1),
595
595
  o("b", null, l(e(me)(e(le), e(O))), 1)
596
596
  ])) : d("", !0),
597
- !e(P) && e(b) ? (t(), r("li", ll, [
597
+ !e(V) && e(b) ? (t(), r("li", el, [
598
598
  o("span", null, l(e(a)("event.startOfEvent")), 1),
599
599
  o("b", null, l(e(G)(e(b))), 1)
600
600
  ])) : d("", !0),
601
- !e(P) && e(oe) ? (t(), r("li", nl, [
601
+ !e(V) && e(oe) ? (t(), r("li", ol, [
602
602
  o("span", null, l(e(a)("event.lengthOfEvent")), 1),
603
603
  o("b", null, l(e(G)(e(oe))), 1)
604
604
  ])) : d("", !0),
605
- !e(P) && e(te) > 0 ? (t(), r("li", tl, [
605
+ !e(V) && e(te) > 0 ? (t(), r("li", ll, [
606
606
  o("span", null, l(e(a)("booking.availability.basePrice")), 1),
607
- o("b", null, l(e(F)(e(te), e(n))), 1)
607
+ o("b", null, l(e(P)(e(te), e(n))), 1)
608
608
  ])) : d("", !0)
609
609
  ]),
610
610
  expenses: f(() => [
611
- (t(!0), r(_, null, R(e(j), ({ roomGroupID: s }, g) => (t(), r("li", { key: s }, [
611
+ (t(!0), r(_, null, S(e(j), ({ roomGroupID: i }, g) => (t(), r("li", { key: i }, [
612
612
  o("span", null, l(e(a)("booking.reservation.addons")) + " - " + l(e(a)("booking.reservation.room")) + " #" + l(g + 1), 1),
613
- o("b", null, l(e(F)(e(se)(s, g), e(n))), 1)
613
+ o("b", null, l(e(P)(e(ie)(i, g), e(n))), 1)
614
614
  ]))), 128))
615
615
  ]),
616
616
  _: 2
617
617
  }, 1032, ["remark", "is-filled", "is-loading", "currency", "base-price", "button-icon-color", "total-price", "weekend-fee", "room-upgrade", "onPrev", "onNext"])) : d("", !0)
618
618
  ]),
619
619
  payment: f(() => [
620
- u(po)
620
+ u(co)
621
621
  ]),
622
622
  confirmation: f(() => [
623
- u(bo, {
623
+ u(mo, {
624
624
  message: e(a)("event.confirmationMessage"),
625
625
  currency: e(n)
626
626
  }, null, 8, ["message", "currency"])
627
627
  ]),
628
628
  _: 1
629
- }, 8, ["slideshow", "title", "subtitle"])) : (t(), y(ie, { key: 1 }))
629
+ }, 8, ["slideshow", "title", "subtitle"])) : (t(), y(se, { key: 1 }))
630
630
  ]),
631
631
  _: 1
632
632
  }, 8, ["access-token"]));
633
633
  }
634
634
  });
635
- const sl = /* @__PURE__ */ ye(al, [["__scopeId", "data-v-7a0ec33b"]]);
636
- process.env.NODE_ENV === "production" && ao.flare.light();
637
- const il = so(), rl = go(), B = Ze({ components: { Event: sl } });
638
- B.use(io.flareVue);
639
- B.use(il);
640
- B.use(rl);
641
- B.use(ho);
642
- B.use(vo);
643
- B.use(ro);
644
- B.use(yo);
645
- B.use(ko, { bootstrap: !1 });
646
- B.mount("#fresh-booking-event-app");
635
+ const tl = /* @__PURE__ */ ye(nl, [["__scopeId", "data-v-7a0ec33b"]]), al = ao(), il = po(), F = Ze({ components: { Event: tl } });
636
+ F.use(al);
637
+ F.use(il);
638
+ F.use(yo);
639
+ F.use(bo);
640
+ F.use(io);
641
+ F.use(go);
642
+ F.use(fo, { bootstrap: !1 });
643
+ F.mount("#fresh-booking-event-app");
647
644
  //# sourceMappingURL=event.es.js.map