@konnectio/core 4.0.2 → 4.0.4

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 (109) hide show
  1. package/dist/{ActionField-138c1747.mjs → ActionField-1b4171c7.mjs} +22 -23
  2. package/dist/ActionField-1b4171c7.mjs.br +0 -0
  3. package/dist/ActionField-97c0c682.js +2 -0
  4. package/dist/ActionField-97c0c682.js.br +0 -0
  5. package/dist/Clickable-eb931b15.mjs +13899 -0
  6. package/dist/Clickable-eb931b15.mjs.br +0 -0
  7. package/dist/Clickable-f57e16ad.js +785 -0
  8. package/dist/Clickable-f57e16ad.js.br +0 -0
  9. package/dist/HotelAvailabilityForm-5750665b.js +2 -0
  10. package/dist/HotelAvailabilityForm-5750665b.js.br +0 -0
  11. package/dist/{HotelAvailabilityForm-a550be2e.mjs → HotelAvailabilityForm-bab6ef4d.mjs} +21 -22
  12. package/dist/HotelAvailabilityForm-bab6ef4d.mjs.br +0 -0
  13. package/dist/{NumberField.vue_vue_type_style_index_0_lang-778e8361.mjs → NumberField.vue_vue_type_style_index_0_lang-737bf674.mjs} +52 -53
  14. package/dist/NumberField.vue_vue_type_style_index_0_lang-737bf674.mjs.br +0 -0
  15. package/dist/{NumberField.vue_vue_type_style_index_0_lang-de20cf9f.js → NumberField.vue_vue_type_style_index_0_lang-e642c7f3.js} +20 -20
  16. package/dist/NumberField.vue_vue_type_style_index_0_lang-e642c7f3.js.br +0 -0
  17. package/dist/ReCaptchaVuePlugin-36454b0f.js +2 -0
  18. package/dist/ReCaptchaVuePlugin-36454b0f.js.br +0 -0
  19. package/dist/{ReCaptchaVuePlugin-59863bbf.mjs → ReCaptchaVuePlugin-e4f378b2.mjs} +3 -3
  20. package/dist/ReCaptchaVuePlugin-e4f378b2.mjs.br +0 -0
  21. package/dist/{SelectField.vue_vue_type_style_index_0_lang-aa7a93a7.js → SelectField.vue_vue_type_style_index_0_lang-a3371159.js} +27 -27
  22. package/dist/SelectField.vue_vue_type_style_index_0_lang-a3371159.js.br +0 -0
  23. package/dist/{SelectField.vue_vue_type_style_index_0_lang-b4fb229d.mjs → SelectField.vue_vue_type_style_index_0_lang-d7f0bf68.mjs} +296 -297
  24. package/dist/SelectField.vue_vue_type_style_index_0_lang-d7f0bf68.mjs.br +0 -0
  25. package/dist/ThankYou-23531d13.js +16 -0
  26. package/dist/ThankYou-23531d13.js.br +0 -0
  27. package/dist/{ThankYou-95c1eef3.mjs → ThankYou-4299d606.mjs} +265 -266
  28. package/dist/ThankYou-4299d606.mjs.br +0 -0
  29. package/dist/_commonjsHelpers-6763f629.js +2 -0
  30. package/dist/_commonjsHelpers-c5d32002.mjs +31 -0
  31. package/dist/applyGiftCard-9847fda1.js +2 -0
  32. package/dist/applyGiftCard-9847fda1.js.br +0 -0
  33. package/dist/{applyGiftCard-fb6fb8f4.mjs → applyGiftCard-eb7b85ee.mjs} +20 -20
  34. package/dist/applyGiftCard-eb7b85ee.mjs.br +0 -0
  35. package/dist/availability.cjs.js +1 -1
  36. package/dist/availability.cjs.js.br +0 -0
  37. package/dist/availability.es.js +22 -23
  38. package/dist/availability.es.js.br +0 -0
  39. package/dist/{event-d697bdb9.mjs → event-1b888019.mjs} +11 -11
  40. package/dist/event-1b888019.mjs.br +0 -0
  41. package/dist/event-e8e0c6a2.js +2 -0
  42. package/dist/event-e8e0c6a2.js.br +0 -0
  43. package/dist/event.cjs.js +1 -1
  44. package/dist/event.cjs.js.br +0 -0
  45. package/dist/event.es.js +149 -150
  46. package/dist/event.es.js.br +0 -0
  47. package/dist/gift-card-validation.cjs.js +1 -1
  48. package/dist/gift-card-validation.cjs.js.br +0 -0
  49. package/dist/gift-card-validation.es.js +44 -45
  50. package/dist/gift-card-validation.es.js.br +0 -0
  51. package/dist/gift-card.cjs.js +1 -1
  52. package/dist/gift-card.cjs.js.br +0 -0
  53. package/dist/gift-card.es.js +192 -193
  54. package/dist/gift-card.es.js.br +0 -0
  55. package/dist/hotel.cjs.js +5 -5
  56. package/dist/hotel.cjs.js.br +0 -0
  57. package/dist/hotel.es.js +258 -257
  58. package/dist/hotel.es.js.br +0 -0
  59. package/dist/{index-76459611.mjs → index-937554a9.mjs} +14 -16
  60. package/dist/index-937554a9.mjs.br +0 -0
  61. package/dist/index-aa255eba.js +2 -0
  62. package/dist/index-aa255eba.js.br +0 -0
  63. package/dist/navigation.cjs.js +1 -1
  64. package/dist/navigation.cjs.js.br +0 -0
  65. package/dist/navigation.es.js +18 -19
  66. package/dist/navigation.es.js.br +0 -0
  67. package/dist/payment-3140b25e.js +3 -0
  68. package/dist/payment-3140b25e.js.br +0 -0
  69. package/dist/{payment-31263275.mjs → payment-b79997a8.mjs} +3 -3
  70. package/dist/payment-b79997a8.mjs.br +0 -0
  71. package/dist/polyfill.cjs.js +2 -2
  72. package/dist/polyfill.cjs.js.br +0 -0
  73. package/dist/polyfill.es.js +2 -2
  74. package/dist/polyfill.es.js.br +0 -0
  75. package/package.json +1 -1
  76. package/dist/ActionField-138c1747.mjs.br +0 -0
  77. package/dist/ActionField-2b6751b4.js +0 -2
  78. package/dist/ActionField-2b6751b4.js.br +0 -0
  79. package/dist/Clickable-26efd8d0.mjs +0 -3497
  80. package/dist/Clickable-26efd8d0.mjs.br +0 -0
  81. package/dist/Clickable-6b252cca.js +0 -763
  82. package/dist/Clickable-6b252cca.js.br +0 -0
  83. package/dist/HotelAvailabilityForm-56badafa.js +0 -2
  84. package/dist/HotelAvailabilityForm-56badafa.js.br +0 -0
  85. package/dist/HotelAvailabilityForm-a550be2e.mjs.br +0 -0
  86. package/dist/NumberField.vue_vue_type_style_index_0_lang-778e8361.mjs.br +0 -0
  87. package/dist/NumberField.vue_vue_type_style_index_0_lang-de20cf9f.js.br +0 -0
  88. package/dist/ReCaptchaVuePlugin-59863bbf.mjs.br +0 -0
  89. package/dist/ReCaptchaVuePlugin-809f1dcc.js +0 -2
  90. package/dist/ReCaptchaVuePlugin-809f1dcc.js.br +0 -0
  91. package/dist/SelectField.vue_vue_type_style_index_0_lang-aa7a93a7.js.br +0 -0
  92. package/dist/SelectField.vue_vue_type_style_index_0_lang-b4fb229d.mjs.br +0 -0
  93. package/dist/ThankYou-103d0395.js +0 -16
  94. package/dist/ThankYou-103d0395.js.br +0 -0
  95. package/dist/ThankYou-95c1eef3.mjs.br +0 -0
  96. package/dist/_commonjsHelpers-10dfc225.mjs +0 -9
  97. package/dist/_commonjsHelpers-87b0abe8.js +0 -2
  98. package/dist/applyGiftCard-2eac2416.js +0 -2
  99. package/dist/applyGiftCard-2eac2416.js.br +0 -0
  100. package/dist/applyGiftCard-fb6fb8f4.mjs.br +0 -0
  101. package/dist/event-b7b4870b.js +0 -2
  102. package/dist/event-b7b4870b.js.br +0 -0
  103. package/dist/event-d697bdb9.mjs.br +0 -0
  104. package/dist/index-76459611.mjs.br +0 -0
  105. package/dist/index-95820cc1.js +0 -2
  106. package/dist/index-95820cc1.js.br +0 -0
  107. package/dist/payment-215f120d.js +0 -3
  108. package/dist/payment-215f120d.js.br +0 -0
  109. package/dist/payment-31263275.mjs.br +0 -0
package/dist/event.es.js CHANGED
@@ -1,15 +1,14 @@
1
- import { defineComponent as ve, ref as je, computed as Qe, openBlock as t, createBlock as y, unref as e, createSlots as Ye, withCtx as f, createVNode as u, createElementVNode as o, toDisplayString as l, createElementBlock as r, createCommentVNode as d, onMounted as He, watch as Je, isRef as R, Fragment as _, renderList as S, createTextVNode as se, pushScopeId as Ke, popScopeId as Xe, createApp as Ze } from "vue";
2
- import { u as ye, b as Ge, s as ee, B as xe, e as eo, f as re, g as ue, h as oo, j as F, k as lo, _ as no, O as de, l as to, m as G, n as me, d as ao, c as io, a as so, i as ro } from "./NumberField.vue_vue_type_style_index_0_lang-778e8361.mjs";
3
- import { B as uo, M as mo, R as co, C as po, T as bo, z as go, V as vo, x as yo } from "./ThankYou-95c1eef3.mjs";
4
- import { P as fo, C as ce, S as ko, i as ho } from "./index-76459611.mjs";
5
- import { u as Y } from "./event-d697bdb9.mjs";
6
- import { I as h, _ as fe, L as pe } from "./Clickable-26efd8d0.mjs";
7
- import { A as Co } from "./ActionField-138c1747.mjs";
8
- import { T as be } from "./SelectField.vue_vue_type_style_index_0_lang-b4fb229d.mjs";
9
- import { _ as _o } from "./payment-31263275.mjs";
10
- import { _ as x } from "./applyGiftCard-fb6fb8f4.mjs";
11
- import "./_commonjsHelpers-10dfc225.mjs";
12
- const Bo = { class: "fresh-booking-event-listing-information" }, Po = { key: 0 }, Vo = { key: 1 }, Fo = /* @__PURE__ */ ve({
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";
10
+ import "./_commonjsHelpers-c5d32002.mjs";
11
+ const Bo = { class: "fresh-booking-event-listing-information" }, Vo = { key: 0 }, Po = { key: 1 }, Fo = /* @__PURE__ */ ve({
13
12
  __name: "Event",
14
13
  props: {
15
14
  name: {},
@@ -33,10 +32,10 @@ const Bo = { class: "fresh-booking-event-listing-information" }, Po = { key: 0 }
33
32
  callback: {}
34
33
  },
35
34
  setup(T) {
36
- const i = T, { t: a } = ye(), { display: E } = Ge(), {
35
+ const i = T, { t: a } = fe(), { display: E } = Ge(), {
37
36
  currency: $,
38
37
  maxNumberOfPeople: L,
39
- numberOfPeople: D,
38
+ numberOfPeople: S,
40
39
  eventId: H,
41
40
  tableGroupId: U
42
41
  } = ee(Y()), {
@@ -44,29 +43,29 @@ const Bo = { class: "fresh-booking-event-listing-information" }, Po = { key: 0 }
44
43
  getEventAvailability: z,
45
44
  isEventListingLoading: N
46
45
  } = Y(), b = je(0), M = Qe(() => N(i.listingId)), J = () => {
47
- b.value > 0 ? (H.value = i.listingId, D.value = b.value, A(i.callback)) : E({
46
+ b.value > 0 ? (H.value = i.listingId, S.value = b.value, A(i.callback)) : E({
48
47
  type: "error",
49
48
  message: a("alert.error.selectPeople")
50
49
  });
51
50
  }, K = () => {
52
- b.value > 0 ? (H.value = i.listingId, U.value = i.tableGroupId, D.value = b.value, z(i.callback)) : E({
51
+ b.value > 0 ? (H.value = i.listingId, U.value = i.tableGroupId, S.value = b.value, z(i.callback)) : E({
53
52
  type: "error",
54
53
  message: a("alert.error.selectPeople")
55
54
  });
56
55
  };
57
- return (n, P) => (t(), y(uo, {
56
+ return (n, V) => (t(), y(uo, {
58
57
  "listing-id": n.listingId,
59
58
  gallery: n.gallery,
60
59
  name: n.name,
61
60
  description: n.description,
62
- layout: e(xe).Event,
61
+ layout: e(oo).Event,
63
62
  styling: n.styling,
64
63
  currency: e($)
65
64
  }, Ye({
66
65
  action: f(() => [
67
66
  u(Co, {
68
67
  modelValue: b.value,
69
- "onUpdate:modelValue": P[0] || (P[0] = (O) => b.value = O),
68
+ "onUpdate:modelValue": V[0] || (V[0] = (O) => b.value = O),
70
69
  type: "number",
71
70
  label: e(a)("event.numberOfGuests"),
72
71
  buttonLabel: n.soldOut ? e(a)("event.soldOut") : e(a)("event.bookNowButton"),
@@ -74,8 +73,8 @@ const Bo = { class: "fresh-booking-event-listing-information" }, Po = { key: 0 }
74
73
  "min-value": n.type === "event" ? 1 : n.minimumPersonCount,
75
74
  "max-value": n.type === "event" ? n.maxOnlineReservationLimit || 1 / 0 : e(L),
76
75
  "is-loading": M.value,
77
- "onUpdate:isLoading": P[1] || (P[1] = (O) => M.value = O),
78
- onAction: P[2] || (P[2] = (O) => n.type === "event" ? K() : J())
76
+ "onUpdate:isLoading": V[1] || (V[1] = (O) => M.value = O),
77
+ onAction: V[2] || (V[2] = (O) => n.type === "event" ? K() : J())
79
78
  }, null, 8, ["modelValue", "label", "buttonLabel", "buttonDisabled", "min-value", "max-value", "is-loading"])
80
79
  ]),
81
80
  _: 2
@@ -85,28 +84,28 @@ const Bo = { class: "fresh-booking-event-listing-information" }, Po = { key: 0 }
85
84
  fn: f(() => [
86
85
  o("ul", Bo, [
87
86
  o("li", null, [
88
- u(h, {
87
+ u(k, {
89
88
  icon: "calendar-range",
90
89
  "icon-color": n.styling.headerColor
91
90
  }, null, 8, ["icon-color"]),
92
- o("span", null, l(e(eo)(n.days)), 1)
91
+ o("span", null, l(e(xe)(n.days)), 1)
93
92
  ]),
94
- e(re)(n.fromDate, n.toDate) < 180 ? (t(), r("li", Po, [
95
- u(h, {
93
+ e(ue)(n.fromDate, n.toDate) < 180 ? (t(), r("li", Vo, [
94
+ u(k, {
96
95
  icon: "calendar-days",
97
96
  "icon-color": n.styling.headerColor
98
97
  }, null, 8, ["icon-color"]),
99
- o("span", null, l(e(ue)(n.fromDate, n.toDate)), 1)
98
+ o("span", null, l(e(de)(n.fromDate, n.toDate)), 1)
100
99
  ])) : d("", !0),
101
100
  o("li", null, [
102
- u(h, {
101
+ u(k, {
103
102
  icon: "calendar-clock",
104
103
  "icon-color": n.styling.headerColor
105
104
  }, null, 8, ["icon-color"]),
106
- o("span", null, l(e(oo)(n.timeFrom, n.timeTo)), 1)
105
+ o("span", null, l(e(eo)(n.timeFrom, n.timeTo)), 1)
107
106
  ]),
108
- n.maxOnlineReservationLimit ? (t(), r("li", Vo, [
109
- u(h, {
107
+ n.maxOnlineReservationLimit ? (t(), r("li", Po, [
108
+ u(k, {
110
109
  icon: "user-alt",
111
110
  "icon-color": n.styling.headerColor
112
111
  }, null, 8, ["icon-color"]),
@@ -119,22 +118,22 @@ const Bo = { class: "fresh-booking-event-listing-information" }, Po = { key: 0 }
119
118
  name: "description",
120
119
  fn: f(() => [
121
120
  o("ul", { class: "fresh-booking-event-listing-information" }, [
122
- e(re)(n.fromDate, n.toDate) < 180 ? (t(), r("li", { key: 0 }, [
123
- u(h, {
121
+ e(ue)(n.fromDate, n.toDate) < 180 ? (t(), r("li", { key: 0 }, [
122
+ u(k, {
124
123
  icon: "calendar-days",
125
124
  "icon-color": n.styling.headerColor
126
125
  }, null, 8, ["icon-color"]),
127
- o("span", null, l(e(ue)(n.fromDate, n.toDate, !0)), 1)
126
+ o("span", null, l(e(de)(n.fromDate, n.toDate, !0)), 1)
128
127
  ])) : d("", !0),
129
128
  o("li", null, [
130
- u(h, {
129
+ u(k, {
131
130
  icon: "user-alt",
132
131
  "icon-color": n.styling.headerColor
133
132
  }, null, 8, ["icon-color"]),
134
133
  o("span", null, l(`${n.minimumPersonCount} - ${e(L)} ${e(a)("general.people")}`), 1)
135
134
  ]),
136
135
  o("li", null, [
137
- u(h, {
136
+ u(k, {
138
137
  icon: "money-bill",
139
138
  "icon-color": n.styling.headerColor
140
139
  }, null, 8, ["icon-color"]),
@@ -147,13 +146,13 @@ const Bo = { class: "fresh-booking-event-listing-information" }, Po = { key: 0 }
147
146
  ]), 1032, ["listing-id", "gallery", "name", "description", "layout", "styling", "currency"]));
148
147
  }
149
148
  });
150
- const ge = /* @__PURE__ */ fe(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(Fo, [["__scopeId", "data-v-c907b452"]]), w = (T) => (Ke("data-v-7a0ec33b"), T = T(), Xe(), T), To = { class: "fresh-booking-panel" }, Eo = {
151
150
  key: 0,
152
151
  id: "fresh-booking-event-overview"
153
- }, $o = { class: "fresh-booking-event-listings" }, Oo = { class: "fresh-booking-event-listings" }, Ro = {
152
+ }, $o = { class: "fresh-booking-event-listings" }, Oo = { class: "fresh-booking-event-listings" }, Do = {
154
153
  key: 2,
155
154
  id: "fresh-booking-event-addons"
156
- }, So = { class: "fresh-booking-table" }, Do = /* @__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" }, Io = { key: 3 }, Wo = { class: "fresh-booking-label required" }, qo = { 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
+ }, 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({
157
156
  __name: "Event",
158
157
  props: {
159
158
  accessToken: {},
@@ -188,11 +187,11 @@ const ge = /* @__PURE__ */ fe(Fo, [["__scopeId", "data-v-c907b452"]]), w = (T) =
188
187
  successColor: {}
189
188
  },
190
189
  setup(T) {
191
- const i = T, { t: a } = ye(), {
190
+ const i = T, { t: a } = fe(), {
192
191
  searchDate: E,
193
192
  addons: $,
194
193
  products: L,
195
- numberOfDays: D,
194
+ numberOfDays: S,
196
195
  discountCode: H,
197
196
  name: U,
198
197
  phone: A,
@@ -203,15 +202,15 @@ const ge = /* @__PURE__ */ fe(Fo, [["__scopeId", "data-v-c907b452"]]), w = (T) =
203
202
  subtitle: J,
204
203
  slideshow: K,
205
204
  currency: n,
206
- numberOfPeople: P,
205
+ numberOfPeople: V,
207
206
  numberOfTotalDays: O,
208
- numberOfRooms: ke,
209
- basePrice: he,
207
+ numberOfRooms: he,
208
+ basePrice: ke,
210
209
  totalPrice: Ce,
211
210
  isPaymentLoading: _e,
212
211
  hasEvents: Be,
213
- hasTemplates: Pe,
214
- getEvents: Ve,
212
+ hasTemplates: Ve,
213
+ getEvents: Pe,
215
214
  getTemplates: Fe,
216
215
  getEventData: Te,
217
216
  getTemplateData: j,
@@ -220,14 +219,14 @@ const ge = /* @__PURE__ */ fe(Fo, [["__scopeId", "data-v-c907b452"]]), w = (T) =
220
219
  roomUpgrade: $e,
221
220
  weekendFee: Oe,
222
221
  fromDate: le,
223
- hasProducts: Re,
222
+ hasProducts: De,
224
223
  eventRateType: ne,
225
- isMetaDataAvailable: Se,
226
- areListingsAvailable: De,
224
+ isMetaDataAvailable: Re,
225
+ areListingsAvailable: Se,
227
226
  isReservationFormFilled: we,
228
227
  isAvailabilityDataAvailable: Le,
229
228
  getEventImages: Ue,
230
- isTemplateEvent: V,
229
+ isTemplateEvent: P,
231
230
  tableBasePrice: te
232
231
  } = ee(Y()), {
233
232
  initialize: Ae,
@@ -235,11 +234,11 @@ const ge = /* @__PURE__ */ fe(Fo, [["__scopeId", "data-v-c907b452"]]), w = (T) =
235
234
  fetchListings: ze,
236
235
  createBooking: Ne,
237
236
  localAddonPrice: ae,
238
- totalAddonPrice: ie,
239
- reset: Ie
237
+ totalAddonPrice: se,
238
+ reset: qe
240
239
  } = Y(), {
241
- hideEvents: We,
242
- hideEventTemplates: qe
240
+ hideEvents: Ie,
241
+ hideEventTemplates: We
243
242
  } = ee(lo());
244
243
  He(() => Ae()), Je(E, () => ze());
245
244
  const Me = {
@@ -272,15 +271,15 @@ const ge = /* @__PURE__ */ fe(Fo, [["__scopeId", "data-v-c907b452"]]), w = (T) =
272
271
  "--panelPadding": i.panelPadding,
273
272
  "--successColor": i.successColor
274
273
  };
275
- return (m, c) => (t(), y(no, {
274
+ return (c, m) => (t(), y(to, {
276
275
  id: "fresh-booking-event-module",
277
276
  class: "fresh-booking-app",
278
277
  type: "event",
279
- "access-token": m.accessToken,
278
+ "access-token": c.accessToken,
280
279
  style: Me
281
280
  }, {
282
281
  default: f(() => [
283
- e(Se) ? (t(), y(mo, {
282
+ e(Re) ? (t(), y(co, {
284
283
  key: 0,
285
284
  slideshow: e(K),
286
285
  title: e(M),
@@ -290,131 +289,131 @@ const ge = /* @__PURE__ */ fe(Fo, [["__scopeId", "data-v-c907b452"]]), w = (T) =
290
289
  o("div", To, [
291
290
  u(_o, {
292
291
  modelValue: e(E),
293
- "onUpdate:modelValue": c[0] || (c[0] = (k) => R(E) ? E.value = k : null),
292
+ "onUpdate:modelValue": m[0] || (m[0] = (h) => D(E) ? E.value = h : null),
294
293
  label: e(a)("event.selectDate"),
295
294
  "min-date": /* @__PURE__ */ new Date()
296
295
  }, null, 8, ["modelValue", "label", "min-date"])
297
296
  ]),
298
- e(De) ? (t(), r("div", Eo, [
299
- e(Be) && !e(We) ? (t(), r(_, { key: 0 }, [
297
+ e(Se) ? (t(), r("div", Eo, [
298
+ e(Be) && !e(Ie) ? (t(), r(_, { key: 0 }, [
300
299
  o("h2", null, [
301
- u(h, {
300
+ u(k, {
302
301
  icon: "clock-seven",
303
302
  type: "fal",
304
- "icon-color": m.headerColor
303
+ "icon-color": c.headerColor
305
304
  }, null, 8, ["icon-color"]),
306
305
  o("span", null, l(e(a)("event.eventsTitle")), 1)
307
306
  ]),
308
307
  o("ul", $o, [
309
- (t(!0), r(_, null, S(e(Ve), ({
310
- id: k,
308
+ (t(!0), r(_, null, R(e(Pe), ({
309
+ id: h,
311
310
  days: s,
312
311
  name: g,
313
312
  timeFrom: C,
314
313
  timeTo: p,
315
314
  fromDate: v,
316
- toDate: I,
317
- tableGroupID: W,
315
+ toDate: q,
316
+ tableGroupID: I,
318
317
  description: X,
319
318
  soldOut: Z,
320
- maxOnlineReservationLimit: q
319
+ maxOnlineReservationLimit: W
321
320
  }) => (t(), y(ge, {
322
- key: k,
321
+ key: h,
323
322
  type: "event",
324
- "listing-id": k,
325
- "table-group-id": W,
326
- gallery: e(Ue)(k),
323
+ "listing-id": h,
324
+ "table-group-id": I,
325
+ gallery: e(Ue)(h),
327
326
  description: X,
328
327
  name: g,
329
328
  days: s,
330
329
  "from-date": v,
331
- "to-date": I,
332
- "max-online-reservation-limit": q,
330
+ "to-date": q,
331
+ "max-online-reservation-limit": W,
333
332
  "time-from": C,
334
333
  "time-to": p,
335
334
  "sold-out": Z,
336
335
  styling: {
337
- headerColor: m.headerColor,
338
- fontColor: m.fontColor,
339
- fontSize: m.fontSize,
340
- fontFamily: m.fontFamily,
341
- panelPadding: m.panelPadding
336
+ headerColor: c.headerColor,
337
+ fontColor: c.fontColor,
338
+ fontSize: c.fontSize,
339
+ fontFamily: c.fontFamily,
340
+ panelPadding: c.panelPadding
342
341
  },
343
342
  callback: Q
344
343
  }, null, 8, ["listing-id", "table-group-id", "gallery", "description", "name", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "styling", "callback"]))), 128))
345
344
  ])
346
345
  ], 64)) : d("", !0),
347
- e(Pe) && !e(qe) ? (t(), r(_, { key: 1 }, [
346
+ e(Ve) && !e(We) ? (t(), r(_, { key: 1 }, [
348
347
  o("h2", null, [
349
- u(h, {
348
+ u(k, {
350
349
  icon: "stars",
351
350
  type: "fal",
352
- "icon-color": m.headerColor
351
+ "icon-color": c.headerColor
353
352
  }, null, 8, ["icon-color"]),
354
353
  o("span", null, l(e(a)("event.stayTitle")), 1)
355
354
  ]),
356
355
  o("ul", Oo, [
357
- (t(!0), r(_, null, S(e(Fe), ({
358
- id: k,
356
+ (t(!0), r(_, null, R(e(Fe), ({
357
+ id: h,
359
358
  name: s,
360
359
  fromDate: g,
361
360
  toDate: C,
362
361
  minimumPersonCount: p,
363
362
  fromPrice: v,
364
- description: I,
365
- imageUrl: W
363
+ description: q,
364
+ imageUrl: I
366
365
  }) => (t(), y(ge, {
367
- key: k,
366
+ key: h,
368
367
  type: "template",
369
- "listing-id": k,
370
- gallery: W,
368
+ "listing-id": h,
369
+ gallery: I,
371
370
  name: s,
372
- description: I,
371
+ description: q,
373
372
  "from-date": g,
374
373
  "to-date": C,
375
374
  "minimum-person-count": p,
376
375
  fromPrice: v,
377
376
  styling: {
378
- headerColor: m.headerColor,
379
- fontColor: m.fontColor,
380
- fontSize: m.fontSize,
381
- fontFamily: m.fontFamily,
382
- panelPadding: m.panelPadding
377
+ headerColor: c.headerColor,
378
+ fontColor: c.fontColor,
379
+ fontSize: c.fontSize,
380
+ fontFamily: c.fontFamily,
381
+ panelPadding: c.panelPadding
383
382
  },
384
383
  callback: Q
385
384
  }, null, 8, ["listing-id", "gallery", "name", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "styling", "callback"]))), 128))
386
385
  ])
387
386
  ], 64)) : d("", !0)
388
- ])) : (t(), y(pe, { key: 1 }))
387
+ ])) : (t(), y(ie, { key: 1 }))
389
388
  ]),
390
- reservation: f(({ next: Q, prev: k }) => [
391
- e(Le) ? (t(), y(co, {
389
+ reservation: f(({ next: Q, prev: h }) => [
390
+ e(Le) ? (t(), y(mo, {
392
391
  key: 0,
393
392
  remark: e(N),
394
- "onUpdate:remark": c[8] || (c[8] = (s) => R(N) ? N.value = s : null),
393
+ "onUpdate:remark": m[8] || (m[8] = (s) => D(N) ? N.value = s : null),
395
394
  "is-filled": e(we),
396
395
  "is-loading": e(_e),
397
396
  currency: e(n),
398
- "base-price": e(he),
399
- "button-icon-color": m.buttonIconColor,
397
+ "base-price": e(ke),
398
+ "button-icon-color": c.buttonIconColor,
400
399
  "total-price": e(Ce),
401
400
  "weekend-fee": e(Oe),
402
401
  "room-upgrade": e($e),
403
- onPrev: (s) => e(Ie)(k),
402
+ onPrev: (s) => e(qe)(h),
404
403
  onNext: (s) => e(Ne)(Q)
405
404
  }, {
406
405
  form: f(() => [
407
- e(ne) === e(de).FullDayEvent ? (t(), y(x, {
406
+ e(ne) === e(ce).FullDayEvent ? (t(), y(x, {
408
407
  key: 0,
409
- modelValue: e(D),
410
- "onUpdate:modelValue": c[1] || (c[1] = (s) => R(D) ? D.value = s : null),
408
+ modelValue: e(S),
409
+ "onUpdate:modelValue": m[1] || (m[1] = (s) => D(S) ? S.value = s : null),
411
410
  label: e(a)("event.numberOfDays"),
412
411
  "min-value": 1,
413
412
  required: ""
414
413
  }, null, 8, ["modelValue", "label"])) : d("", !0),
415
414
  u(be, {
416
415
  modelValue: e(U),
417
- "onUpdate:modelValue": c[2] || (c[2] = (s) => R(U) ? U.value = s : null),
416
+ "onUpdate:modelValue": m[2] || (m[2] = (s) => D(U) ? U.value = s : null),
418
417
  type: "text",
419
418
  label: e(a)("booking.reservation.name"),
420
419
  icon: "user-alt",
@@ -423,7 +422,7 @@ const ge = /* @__PURE__ */ fe(Fo, [["__scopeId", "data-v-c907b452"]]), w = (T) =
423
422
  }, null, 8, ["modelValue", "label", "placeholder"]),
424
423
  u(be, {
425
424
  modelValue: e(z),
426
- "onUpdate:modelValue": c[3] || (c[3] = (s) => R(z) ? z.value = s : null),
425
+ "onUpdate:modelValue": m[3] || (m[3] = (s) => D(z) ? z.value = s : null),
427
426
  label: e(a)("booking.reservation.email"),
428
427
  type: "email",
429
428
  name: "email",
@@ -434,65 +433,65 @@ const ge = /* @__PURE__ */ fe(Fo, [["__scopeId", "data-v-c907b452"]]), w = (T) =
434
433
  }, null, 8, ["modelValue", "label", "placeholder"]),
435
434
  u(fo, {
436
435
  modelValue: e(A),
437
- "onUpdate:modelValue": c[4] || (c[4] = (s) => R(A) ? A.value = s : null),
436
+ "onUpdate:modelValue": m[4] || (m[4] = (s) => D(A) ? A.value = s : null),
438
437
  label: e(a)("booking.reservation.phone"),
439
438
  icon: "phone-office",
440
439
  placeholder: e(a)("booking.reservation.phonePlaceholder"),
441
440
  required: ""
442
441
  }, null, 8, ["modelValue", "label", "placeholder"]),
443
442
  d("", !0),
444
- e(j) && e(j).length > 0 ? (t(), r("ul", Ro, [
445
- (t(!0), r(_, null, S(e(j), ({
443
+ e(j) && e(j).length > 0 ? (t(), r("ul", Do, [
444
+ (t(!0), r(_, null, R(e(j), ({
446
445
  roomGroupID: s,
447
446
  addons: g,
448
447
  adultPerRoom: C
449
448
  }, p) => (t(), r("li", { key: s }, [
450
449
  o("h5", null, [
451
450
  o("span", null, l(e(a)("booking.reservation.room")) + " #" + l(p + 1), 1),
452
- se(" ("),
453
- u(h, {
451
+ re(" ("),
452
+ u(k, {
454
453
  icon: "male",
455
454
  type: "fas",
456
- "icon-color": m.headerColor
455
+ "icon-color": c.headerColor
457
456
  }, null, 8, ["icon-color"]),
458
- se(" " + l(C) + ") ", 1)
457
+ re(" " + l(C) + ") ", 1)
459
458
  ]),
460
- o("table", So, [
459
+ o("table", Ro, [
461
460
  o("thead", null, [
462
461
  o("tr", null, [
463
462
  o("th", null, [
464
463
  o("span", null, l(e(a)("booking.reservation.addons")), 1)
465
464
  ]),
466
- Do,
465
+ So,
467
466
  o("th", wo, [
468
467
  o("span", null, l(e(a)("booking.availability.price")), 1)
469
468
  ])
470
469
  ])
471
470
  ]),
472
471
  o("tbody", null, [
473
- (t(!0), r(_, null, S(g, ({
472
+ (t(!0), r(_, null, R(g, ({
474
473
  addonID: v,
475
- cardinality: I,
476
- name: W,
474
+ cardinality: q,
475
+ name: I,
477
476
  price: X,
478
477
  quantityStrategy: Z
479
478
  }) => (t(), r("tr", { key: v }, [
480
479
  o("td", null, [
481
- o("b", null, l(W), 1),
480
+ o("b", null, l(I), 1),
482
481
  Lo,
483
- o("span", null, l(e(F)(X, e(n))) + " " + l(e(to)(Z)), 1)
482
+ o("span", null, l(e(F)(X, e(n))) + " " + l(e(no)(Z)), 1)
484
483
  ]),
485
484
  o("td", Uo, [
486
- I === 3 ? (t(), y(x, {
485
+ q === 3 ? (t(), y(x, {
487
486
  key: 0,
488
487
  modelValue: e($)[`${s}.${v}.${p}`],
489
- "onUpdate:modelValue": (q) => e($)[`${s}.${v}.${p}`] = q,
488
+ "onUpdate:modelValue": (W) => e($)[`${s}.${v}.${p}`] = W,
490
489
  small: !0,
491
490
  "min-value": 0
492
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (t(), y(ce, {
491
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (t(), y(pe, {
493
492
  key: 1,
494
493
  modelValue: e($)[`${s}.${v}.${p}`],
495
- "onUpdate:modelValue": (q) => e($)[`${s}.${v}.${p}`] = q,
494
+ "onUpdate:modelValue": (W) => e($)[`${s}.${v}.${p}`] = W,
496
495
  numeric: !0
497
496
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
498
497
  ]),
@@ -506,7 +505,7 @@ const ge = /* @__PURE__ */ fe(Fo, [["__scopeId", "data-v-c907b452"]]), w = (T) =
506
505
  zo,
507
506
  o("td", No, [
508
507
  o("u", null, [
509
- o("span", null, l(e(F)(e(ie)(s, p), e(n))), 1)
508
+ o("span", null, l(e(F)(e(se)(s, p), e(n))), 1)
510
509
  ])
511
510
  ])
512
511
  ])
@@ -514,15 +513,15 @@ const ge = /* @__PURE__ */ fe(Fo, [["__scopeId", "data-v-c907b452"]]), w = (T) =
514
513
  ])
515
514
  ]))), 128))
516
515
  ])) : d("", !0),
517
- e(ne) !== e(de).FullDayEvent && !e(V) ? (t(), r("div", Io, [
518
- o("label", Wo, [
516
+ e(ne) !== e(ce).FullDayEvent && !e(P) ? (t(), r("div", qo, [
517
+ o("label", Io, [
519
518
  o("span", null, l(e(a)("event.selectArrivalTime")), 1)
520
519
  ]),
521
- o("ul", qo, [
522
- (t(!0), r(_, null, S(e(Ee), (s, g) => (t(), r("li", { key: g }, [
523
- u(ce, {
520
+ o("ul", Wo, [
521
+ (t(!0), r(_, null, R(e(Ee), (s, g) => (t(), r("li", { key: g }, [
522
+ u(pe, {
524
523
  modelValue: e(b),
525
- "onUpdate:modelValue": c[7] || (c[7] = (C) => R(b) ? b.value = C : null),
524
+ "onUpdate:modelValue": m[7] || (m[7] = (C) => D(b) ? b.value = C : null),
526
525
  type: "radio",
527
526
  name: "eventTimeTable",
528
527
  val: s.time,
@@ -531,7 +530,7 @@ const ge = /* @__PURE__ */ fe(Fo, [["__scopeId", "data-v-c907b452"]]), w = (T) =
531
530
  ]))), 128))
532
531
  ])
533
532
  ])) : d("", !0),
534
- e(Re) ? (t(), r("div", Mo, [
533
+ e(De) ? (t(), r("div", Mo, [
535
534
  o("label", jo, [
536
535
  o("span", null, l(e(a)("event.selectProducts")), 1)
537
536
  ]),
@@ -548,7 +547,7 @@ const ge = /* @__PURE__ */ fe(Fo, [["__scopeId", "data-v-c907b452"]]), w = (T) =
548
547
  ])
549
548
  ]),
550
549
  o("tbody", null, [
551
- (t(!0), r(_, null, S(e(Te).products, ({ productID: s, productName: g, price: C, description: p }) => (t(), r("tr", { key: s }, [
550
+ (t(!0), r(_, null, R(e(Te).products, ({ productID: s, productName: g, price: C, description: p }) => (t(), r("tr", { key: s }, [
552
551
  o("td", null, [
553
552
  o("b", null, [
554
553
  o("span", null, l(g), 1)
@@ -577,41 +576,41 @@ const ge = /* @__PURE__ */ fe(Fo, [["__scopeId", "data-v-c907b452"]]), w = (T) =
577
576
  resume: f(() => [
578
577
  o("li", null, [
579
578
  o("span", null, l(e(a)("event.numberOfGuests")), 1),
580
- o("b", null, l(e(P)), 1)
579
+ o("b", null, l(e(V)), 1)
581
580
  ]),
582
- e(V) ? (t(), r("li", Go, [
581
+ e(P) ? (t(), r("li", Go, [
583
582
  o("span", null, l(e(a)("event.numberOfRooms")), 1),
584
- o("b", null, l(e(ke)), 1)
583
+ o("b", null, l(e(he)), 1)
585
584
  ])) : d("", !0),
586
- e(V) ? (t(), r("li", xo, [
585
+ e(P) ? (t(), r("li", xo, [
587
586
  o("span", null, l(e(a)("event.numberOfDays")), 1),
588
587
  o("b", null, l(e(O)), 1)
589
588
  ])) : d("", !0),
590
- e(V) ? (t(), r("li", el, [
589
+ e(P) ? (t(), r("li", el, [
591
590
  o("span", null, l(e(a)("booking.reservation.arrival")), 1),
592
591
  o("b", null, l(e(me)(e(le))), 1)
593
592
  ])) : d("", !0),
594
- e(V) ? (t(), r("li", ol, [
593
+ e(P) ? (t(), r("li", ol, [
595
594
  o("span", null, l(e(a)("booking.reservation.departure")), 1),
596
595
  o("b", null, l(e(me)(e(le), e(O))), 1)
597
596
  ])) : d("", !0),
598
- !e(V) && e(b) ? (t(), r("li", ll, [
597
+ !e(P) && e(b) ? (t(), r("li", ll, [
599
598
  o("span", null, l(e(a)("event.startOfEvent")), 1),
600
599
  o("b", null, l(e(G)(e(b))), 1)
601
600
  ])) : d("", !0),
602
- !e(V) && e(oe) ? (t(), r("li", nl, [
601
+ !e(P) && e(oe) ? (t(), r("li", nl, [
603
602
  o("span", null, l(e(a)("event.lengthOfEvent")), 1),
604
603
  o("b", null, l(e(G)(e(oe))), 1)
605
604
  ])) : d("", !0),
606
- !e(V) && e(te) > 0 ? (t(), r("li", tl, [
605
+ !e(P) && e(te) > 0 ? (t(), r("li", tl, [
607
606
  o("span", null, l(e(a)("booking.availability.basePrice")), 1),
608
607
  o("b", null, l(e(F)(e(te), e(n))), 1)
609
608
  ])) : d("", !0)
610
609
  ]),
611
610
  expenses: f(() => [
612
- (t(!0), r(_, null, S(e(j), ({ roomGroupID: s }, g) => (t(), r("li", { key: s }, [
611
+ (t(!0), r(_, null, R(e(j), ({ roomGroupID: s }, g) => (t(), r("li", { key: s }, [
613
612
  o("span", null, l(e(a)("booking.reservation.addons")) + " - " + l(e(a)("booking.reservation.room")) + " #" + l(g + 1), 1),
614
- o("b", null, l(e(F)(e(ie)(s, g), e(n))), 1)
613
+ o("b", null, l(e(F)(e(se)(s, g), e(n))), 1)
615
614
  ]))), 128))
616
615
  ]),
617
616
  _: 2
@@ -627,22 +626,22 @@ const ge = /* @__PURE__ */ fe(Fo, [["__scopeId", "data-v-c907b452"]]), w = (T) =
627
626
  }, null, 8, ["message", "currency"])
628
627
  ]),
629
628
  _: 1
630
- }, 8, ["slideshow", "title", "subtitle"])) : (t(), y(pe, { key: 1 }))
629
+ }, 8, ["slideshow", "title", "subtitle"])) : (t(), y(ie, { key: 1 }))
631
630
  ]),
632
631
  _: 1
633
632
  }, 8, ["access-token"]));
634
633
  }
635
634
  });
636
- const il = /* @__PURE__ */ fe(al, [["__scopeId", "data-v-7a0ec33b"]]);
635
+ const sl = /* @__PURE__ */ ye(al, [["__scopeId", "data-v-7a0ec33b"]]);
637
636
  process.env.NODE_ENV === "production" && ao.flare.light();
638
- const sl = io(), rl = go(), B = Ze({ components: { Event: il } });
639
- B.use(so.flareVue);
640
- B.use(sl);
637
+ const il = so(), rl = go(), B = Ze({ components: { Event: sl } });
638
+ B.use(io.flareVue);
639
+ B.use(il);
641
640
  B.use(rl);
642
- B.use(ko);
641
+ B.use(ho);
643
642
  B.use(vo);
644
643
  B.use(ro);
645
644
  B.use(yo);
646
- B.use(ho, { bootstrap: !1 });
645
+ B.use(ko, { bootstrap: !1 });
647
646
  B.mount("#fresh-booking-event-app");
648
647
  //# sourceMappingURL=event.es.js.map