@konnectio/core 4.7.4 → 4.7.6

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 (111) hide show
  1. package/dist/{ActionField-B1aBJVRb.js → ActionField-KZjb9lT9.js} +42 -42
  2. package/dist/ActionField-KZjb9lT9.js.br +0 -0
  3. package/dist/ActionField-KZjb9lT9.js.gz +0 -0
  4. package/dist/{AvailabilitySkeleton-B1hwKbSA.js → AvailabilitySkeleton-CEdJogdt.js} +1662 -1662
  5. package/dist/AvailabilitySkeleton-CEdJogdt.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-CEdJogdt.js.gz +0 -0
  7. package/dist/{CheckoutWindow-BD2PXPt7.js → CheckoutWindow-BI5hQY73.js} +155 -154
  8. package/dist/CheckoutWindow-BI5hQY73.js.br +0 -0
  9. package/dist/CheckoutWindow-BI5hQY73.js.gz +0 -0
  10. package/dist/{ErrorMessage-DiRVby8f.js → ErrorMessage-BmIm1fd8.js} +13 -13
  11. package/dist/ErrorMessage-BmIm1fd8.js.br +0 -0
  12. package/dist/ErrorMessage-BmIm1fd8.js.gz +0 -0
  13. package/dist/EventAvailabilityForm-BS4UkhDW.js +114 -0
  14. package/dist/EventAvailabilityForm-BS4UkhDW.js.br +0 -0
  15. package/dist/EventAvailabilityForm-BS4UkhDW.js.gz +0 -0
  16. package/dist/{Field-BYZdtara.js → Field-DWuQQgVC.js} +7 -7
  17. package/dist/Field-DWuQQgVC.js.br +0 -0
  18. package/dist/Field-DWuQQgVC.js.gz +0 -0
  19. package/dist/HotelAvailabilityForm-CCI7Ub6M.js +323 -0
  20. package/dist/HotelAvailabilityForm-CCI7Ub6M.js.br +0 -0
  21. package/dist/HotelAvailabilityForm-CCI7Ub6M.js.gz +0 -0
  22. package/dist/{SelectField-m_n1cMe0.js → SelectField-5RVfSG15.js} +2644 -2590
  23. package/dist/SelectField-5RVfSG15.js.br +0 -0
  24. package/dist/SelectField-5RVfSG15.js.gz +0 -0
  25. package/dist/TermsOfService-DJbt6icJ.js +17 -0
  26. package/dist/TermsOfService-DJbt6icJ.js.br +0 -0
  27. package/dist/TermsOfService-DJbt6icJ.js.gz +0 -0
  28. package/dist/_-WoNM0Unh.js +25 -0
  29. package/dist/_-WoNM0Unh.js.br +0 -0
  30. package/dist/_-WoNM0Unh.js.gz +0 -0
  31. package/dist/availability.js +39 -39
  32. package/dist/availability.js.br +0 -0
  33. package/dist/availability.js.gz +0 -0
  34. package/dist/cancel-reservation.js +71 -71
  35. package/dist/cancel-reservation.js.br +0 -0
  36. package/dist/cancel-reservation.js.gz +0 -0
  37. package/dist/core.css +1 -1
  38. package/dist/core.css.br +0 -0
  39. package/dist/core.css.gz +0 -0
  40. package/dist/deep-link.js +17 -17
  41. package/dist/deep-link.js.br +0 -0
  42. package/dist/deep-link.js.gz +0 -0
  43. package/dist/{dist-8cx1vxIY.js → dist-BbbpdaI7.js} +17 -17
  44. package/dist/dist-BbbpdaI7.js.br +0 -0
  45. package/dist/dist-BbbpdaI7.js.gz +0 -0
  46. package/dist/{masonry.plugin-DG-fnTtd.js → dist-Bl3zpaAg.js} +44 -994
  47. package/dist/dist-Bl3zpaAg.js.br +0 -0
  48. package/dist/dist-Bl3zpaAg.js.gz +0 -0
  49. package/dist/event.js +393 -393
  50. package/dist/event.js.br +0 -0
  51. package/dist/event.js.gz +0 -0
  52. package/dist/gift-card-validation.js +51 -51
  53. package/dist/gift-card-validation.js.br +0 -0
  54. package/dist/gift-card-validation.js.gz +0 -0
  55. package/dist/gift-card.js +168 -168
  56. package/dist/gift-card.js.br +0 -0
  57. package/dist/gift-card.js.gz +0 -0
  58. package/dist/{giftCard-4w50jcS_.js → giftCard-D-RDtJQu.js} +17 -17
  59. package/dist/giftCard-D-RDtJQu.js.br +0 -0
  60. package/dist/giftCard-D-RDtJQu.js.gz +0 -0
  61. package/dist/hotel.js +925 -924
  62. package/dist/hotel.js.br +0 -0
  63. package/dist/hotel.js.gz +0 -0
  64. package/dist/{mitt-DosBWi_E.js → i18n-DwFTw_rF.js} +1 -24
  65. package/dist/i18n-DwFTw_rF.js.br +0 -0
  66. package/dist/{mitt-DosBWi_E.js.gz → i18n-DwFTw_rF.js.gz} +0 -0
  67. package/dist/polyfill.js +1 -1
  68. package/dist/polyfill.js.br +0 -0
  69. package/dist/polyfill.js.gz +0 -0
  70. package/dist/{style-BzTt5D-A.js → style-M-qG6NpA.js} +389 -389
  71. package/dist/style-M-qG6NpA.js.br +0 -0
  72. package/dist/style-M-qG6NpA.js.gz +0 -0
  73. package/dist-wix/availability.js +22 -22
  74. package/dist-wix/event.js +6 -6
  75. package/dist-wix/gift-card-validation.js +11 -11
  76. package/dist-wix/gift-card.js +25 -25
  77. package/dist-wix/hotel.js +7 -7
  78. package/package.json +5 -4
  79. package/dist/ActionField-B1aBJVRb.js.br +0 -0
  80. package/dist/ActionField-B1aBJVRb.js.gz +0 -0
  81. package/dist/AvailabilitySkeleton-B1hwKbSA.js.br +0 -0
  82. package/dist/AvailabilitySkeleton-B1hwKbSA.js.gz +0 -0
  83. package/dist/CheckoutWindow-BD2PXPt7.js.br +0 -0
  84. package/dist/CheckoutWindow-BD2PXPt7.js.gz +0 -0
  85. package/dist/ErrorMessage-DiRVby8f.js.br +0 -0
  86. package/dist/ErrorMessage-DiRVby8f.js.gz +0 -0
  87. package/dist/EventAvailabilityForm-DW6_GZv3.js +0 -114
  88. package/dist/EventAvailabilityForm-DW6_GZv3.js.br +0 -0
  89. package/dist/EventAvailabilityForm-DW6_GZv3.js.gz +0 -0
  90. package/dist/Field-BYZdtara.js.br +0 -0
  91. package/dist/Field-BYZdtara.js.gz +0 -0
  92. package/dist/HotelAvailabilityForm-B7yHDXz3.js +0 -323
  93. package/dist/HotelAvailabilityForm-B7yHDXz3.js.br +0 -0
  94. package/dist/HotelAvailabilityForm-B7yHDXz3.js.gz +0 -0
  95. package/dist/SelectField-m_n1cMe0.js.br +0 -0
  96. package/dist/SelectField-m_n1cMe0.js.gz +0 -0
  97. package/dist/TermsOfService-CXblPhj1.js +0 -17
  98. package/dist/TermsOfService-CXblPhj1.js.br +0 -0
  99. package/dist/TermsOfService-CXblPhj1.js.gz +0 -0
  100. package/dist/_-CTagk-cE.js +0 -25
  101. package/dist/_-CTagk-cE.js.br +0 -0
  102. package/dist/_-CTagk-cE.js.gz +0 -3
  103. package/dist/dist-8cx1vxIY.js.br +0 -0
  104. package/dist/dist-8cx1vxIY.js.gz +0 -0
  105. package/dist/giftCard-4w50jcS_.js.br +0 -0
  106. package/dist/giftCard-4w50jcS_.js.gz +0 -0
  107. package/dist/masonry.plugin-DG-fnTtd.js.br +0 -0
  108. package/dist/masonry.plugin-DG-fnTtd.js.gz +0 -0
  109. package/dist/mitt-DosBWi_E.js.br +0 -0
  110. package/dist/style-BzTt5D-A.js.br +0 -0
  111. package/dist/style-BzTt5D-A.js.gz +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@konnectio/core",
3
- "version": "4.7.4",
3
+ "version": "4.7.6",
4
4
  "author": "Konnectio <info@konnectio.com> (https://konnectio.com)",
5
5
  "homepage": "https://konnectio.com",
6
6
  "repository": {
@@ -42,7 +42,10 @@
42
42
  "production": "vue-tsc --noEmit && vite build --mode production",
43
43
  "analysis": "vue-tsc --noEmit",
44
44
  "preview": "vite preview",
45
- "e2e": "cypress open"
45
+ "e2e": "cypress open",
46
+ "lint": "eslint src",
47
+ "lint:fix": "eslint src --fix",
48
+ "typecheck": "vue-tsc --noEmit"
46
49
  },
47
50
  "overrides": {
48
51
  "sticky-sidebar-v2": "github:blixhavn/sticky-sidebar-v2#4ea9306f16c5f1e4daa93fbb1bec21a76bb3ac1b"
@@ -73,7 +76,6 @@
73
76
  "leaflet": "1.9.4",
74
77
  "leaflet.markercluster": "1.5.3",
75
78
  "linkify-html": "4.3.3",
76
- "mitt": "3.0.1",
77
79
  "pinia": "4.0.2",
78
80
  "postcss": "8.5.23",
79
81
  "recaptcha-v3": "1.11.3",
@@ -83,7 +85,6 @@
83
85
  "vue-gtag": "3.7.1",
84
86
  "vue-i18n": "11.4.7",
85
87
  "vue-inner-image-zoom": "3.0.2",
86
- "vue-masonry": "0.16.0",
87
88
  "vue-select": "4.0.0-beta.6",
88
89
  "vue3-side-panel": "1.3.0",
89
90
  "vue3-sticky-directive": "0.0.2",
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,114 +0,0 @@
1
- import { D as e, Dt as t, Et as n, M as r, O as i, P as a, T as o, Y as s, bt as c, dt as l, f as u, k as d, o as f, u as p, x as m, y as h } from "./mitt-DosBWi_E.js";
2
- import { C as g, S as _, V as v, n as y, t as b, v as x, w as S } from "./SelectField-m_n1cMe0.js";
3
- import { n as C } from "./AvailabilitySkeleton-B1hwKbSA.js";
4
- //#region src/components/forms/EventAvailabilityForm.vue?vue&type=script&setup=true&lang.ts
5
- var w = {
6
- class: "konnectio-search-button",
7
- key: "search"
8
- }, T = /*#__PURE__*/ _(/* @__PURE__ */ a({
9
- __name: "EventAvailabilityForm",
10
- props: {
11
- redirection: {
12
- type: Boolean,
13
- default: !0
14
- },
15
- link: {},
16
- selectedLocation: { default: NaN },
17
- hideLocations: {
18
- type: Boolean,
19
- default: !1
20
- }
21
- },
22
- setup(a) {
23
- let _ = a, { eventLocation: T, eventLocations: E, hasEventLocations: D, eventLocationControl: O, eventDate: k } = p(g()), { updateEventAvailability: A } = g(), { fetchListings: j } = S(), { t: M } = f(), N = c(O.value), P = c(/* @__PURE__ */ new Date()), F = o({
24
- get: () => _.redirection ? N.value : T.value,
25
- set: (e) => {
26
- _.redirection ? N.value = Number(e) : T.value = Number(e);
27
- }
28
- }), I = o({
29
- get: () => _.redirection ? P.value : k.value,
30
- set: (e) => {
31
- _.redirection ? P.value = e : k.value = e;
32
- }
33
- }), L = o(() => typeof _.link != "string"), R = o(() => {
34
- let e = E.value.find(({ id: e }) => e === _.selectedLocation);
35
- return e ? e.name : "";
36
- }), z = o(() => D.value && !_.hideLocations);
37
- function B() {
38
- if (_.redirection === !0) if (A({
39
- date: I.value,
40
- location: F.value
41
- }), L.value) {
42
- let e = v();
43
- _.link[e] ? window.location.replace(_.link[e]) : _.link.en && window.location.replace(_.link.en);
44
- } else window.location.replace(_.link);
45
- else j();
46
- }
47
- function V() {
48
- _.redirection === !1 && j();
49
- }
50
- return (o, c) => (s(), d("form", {
51
- class: t([
52
- "konnectio-event-search-form",
53
- { "has-locations": z.value },
54
- { "auto-search": !a.redirection }
55
- ]),
56
- onSubmit: h(B, ["prevent"])
57
- }, [r(u, {
58
- class: "konnectio-event-search-form-content",
59
- tag: "ul"
60
- }, {
61
- default: l(() => [
62
- z.value ? (s(), d(m, { key: 0 }, [isNaN(a.selectedLocation) ? (s(), e(b, {
63
- modelValue: F.value,
64
- "onUpdate:modelValue": c[1] ||= (e) => F.value = e,
65
- key: "location",
66
- label: n(M)("general.location"),
67
- icon: "location-dot",
68
- "icon-type": "fas",
69
- "icon-placement": "label",
70
- "label-key": "name",
71
- "value-key": "id",
72
- options: n(E),
73
- searchable: !1,
74
- onChanged: V
75
- }, null, 8, [
76
- "modelValue",
77
- "label",
78
- "options"
79
- ])) : (s(), e(y, {
80
- key: 0,
81
- modelValue: R.value,
82
- "onUpdate:modelValue": c[0] ||= (e) => R.value = e,
83
- label: n(M)("general.location"),
84
- icon: "location-dot",
85
- "icon-type": "fas",
86
- "icon-placement": "label",
87
- readonly: ""
88
- }, null, 8, ["modelValue", "label"]))], 64)) : i("", !0),
89
- r(C, {
90
- modelValue: I.value,
91
- "onUpdate:modelValue": [c[2] ||= (e) => I.value = e, V],
92
- key: "date",
93
- label: n(M)("event.selectDate"),
94
- "icon-type": "fas",
95
- "icon-placement": "label",
96
- "include-weekday": !0,
97
- "min-date": /* @__PURE__ */ new Date()
98
- }, null, 8, [
99
- "modelValue",
100
- "label",
101
- "min-date"
102
- ]),
103
- a.redirection === !0 ? (s(), d("li", w, [r(x, {
104
- type: "submit",
105
- label: n(M)("availability.buttonLabel"),
106
- "full-width": ""
107
- }, null, 8, ["label"])])) : i("", !0)
108
- ]),
109
- _: 1
110
- })], 34));
111
- }
112
- }), [["__scopeId", "data-v-1fe27ff0"]]);
113
- //#endregion
114
- export { T as t };
Binary file
Binary file
@@ -1,323 +0,0 @@
1
- import { D as e, Dt as t, E as n, Et as r, M as i, O as a, P as o, T as s, Y as c, bt as l, dt as ee, f as te, k as u, lt as d, o as ne, q as re, u as f, y as ie } from "./mitt-DosBWi_E.js";
2
- import { C as p, E as m, M as ae, O as oe, S as h, V as se, ft as ce, k as le, n as ue, r as g, t as de, v as fe } from "./SelectField-m_n1cMe0.js";
3
- import { n as _, p as pe } from "./AvailabilitySkeleton-B1hwKbSA.js";
4
- //#region src/components/forms/HotelAvailabilityForm.vue?vue&type=script&setup=true&lang.ts
5
- var me = {
6
- class: "konnectio-availability-location",
7
- key: "location"
8
- }, he = {
9
- id: "konnectio-availability-date-selection",
10
- key: "multiDate"
11
- }, ge = {
12
- key: 0,
13
- class: "konnectio-availability-date-selection-multi"
14
- }, _e = {
15
- class: "konnectio-availability-room-count",
16
- key: "room"
17
- }, ve = {
18
- class: "konnectio-availability-guest-selection",
19
- key: "guests"
20
- }, ye = {
21
- id: "konnectio-availability-confirmation",
22
- key: "confirm"
23
- }, v = /*#__PURE__*/ h(/* @__PURE__ */ o({
24
- __name: "HotelAvailabilityForm",
25
- props: {
26
- booking: {
27
- type: Boolean,
28
- default: !1
29
- },
30
- link: {},
31
- selectedLocation: { default: NaN },
32
- disableDefaultLocation: {
33
- type: Boolean,
34
- default: !1
35
- },
36
- hideLocations: {
37
- type: Boolean,
38
- default: !1
39
- }
40
- },
41
- setup(o) {
42
- let { t: h } = ne(), v = o, y = p(), { adults: be, children: xe, roomCount: Se, arrivalDate: b, departureDate: x, location: S, hasHotelLocations: C, hotelLocations: w, controlLocation: Ce } = f(p()), T = oe(), we = pe(), { display: E } = ae(), { firstSelectableDateOffset: D, lastSelectableDateOffset: O, defaultAdultAmount: k, defaultChildAmount: A, maxAdultAmount: Te, maxChildAmount: Ee, splitBookingCalendar: De, disableCalendarPricesAvailability: j } = f(m()), { hasChildSelection: M, hasRoomAmountSelection: N } = m(), Oe = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + D.value)).setHours(12, 0, 0, 0)), ke = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + D.value + 1)).setHours(12, 0, 0, 0)), Ae = () => v.disableDefaultLocation ? void 0 : Ce.value, P = l(k.value), F = l(A.value), I = l(1), L = l(Oe()), R = l(ke()), z = l(Ae()), B = s({
43
- get: () => v.booking ? y.adults : P.value,
44
- set: (e) => {
45
- v.booking ? be.value = Number(e) : P.value = Number(e);
46
- }
47
- }), V = s({
48
- get: () => v.booking ? y.children : F.value,
49
- set: (e) => {
50
- v.booking ? xe.value = Number(e) : F.value = Number(e);
51
- }
52
- }), H = s({
53
- get: () => v.booking ? y.roomCount : I.value,
54
- set: (e) => {
55
- v.booking ? Se.value = Number(e) : I.value = Number(e);
56
- }
57
- }), U = s({
58
- get: () => v.booking ? b.value : L.value,
59
- set: (e) => {
60
- v.booking ? b.value = e : L.value = e;
61
- }
62
- }), W = s({
63
- get: () => v.booking ? x.value : R.value,
64
- set: (e) => {
65
- v.booking ? x.value = e : R.value = e;
66
- }
67
- }), G = s({
68
- get: () => isNaN(v.selectedLocation) ? v.booking ? S.value : z.value : v.selectedLocation,
69
- set: (e) => {
70
- v.booking ? S.value = e : z.value = e;
71
- }
72
- }), K = s(() => {
73
- let e = w.value.find(({ id: e }) => e === v.selectedLocation);
74
- return e ? e.name : "";
75
- }), q = s(() => C.value && !v.hideLocations), J = l([]), Y = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate()))), je = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + O.value))), Me = s(() => new Date((/* @__PURE__ */ new Date()).setDate(U.value.getDate() + (O.value + 1)))), X = s(() => B.value !== 0), Ne = s(() => typeof v.link != "string");
76
- function Z(e) {
77
- let t = e.getFullYear(), n = e.getMonth() + 1, r = e.getDate();
78
- return r < 10 && (r = "0" + r), n < 10 && (n = "0" + n), `${t}-${n}-${r}`;
79
- }
80
- function Q(e) {
81
- let t = {
82
- a: B.value.toString(),
83
- c: V.value.toString(),
84
- r: H.value.toString(),
85
- ci: Z(U.value),
86
- co: Z(W.value),
87
- hid: G.value.toString()
88
- }, n = new URLSearchParams(t), r = new URL(e, window.location.origin);
89
- r.search = n.toString(), window.location.replace(r.toString());
90
- }
91
- function Pe() {
92
- if (isNaN(G.value) && C.value) {
93
- E({
94
- message: h("alert.error.selectHotelId"),
95
- type: "error"
96
- });
97
- return;
98
- }
99
- if (isNaN(B.value)) {
100
- E({
101
- message: h("alert.error.selectValidAdults"),
102
- type: "error"
103
- });
104
- return;
105
- }
106
- if (isNaN(V.value)) {
107
- E({
108
- message: h("alert.error.selectValidChildren"),
109
- type: "error"
110
- });
111
- return;
112
- }
113
- if (v.booking === !1) if (Ne.value) {
114
- let e = se();
115
- v.link[e] ? Q(v.link[e]) : v.link.en ? Q(v.link.en) : E({
116
- message: "Module misconfiguration, contact an admin",
117
- type: "error"
118
- });
119
- } else Q(v.link);
120
- else X.value && T.fetchAvailabilityData();
121
- }
122
- let Fe = ce("history", { removeNullishValues: !0 });
123
- function $() {
124
- v.booking && (Fe.ci = Z(U.value), Fe.co = Z(W.value));
125
- }
126
- return d(U, (e) => {
127
- let t = new Date(new Date(e).setDate(new Date(e).getDate() + 1));
128
- new Date(W.value) < t && (W.value = t), $();
129
- }), d(W, () => {
130
- $();
131
- }), le.on("forcedDateChange", () => {
132
- J.value = [U.value, W.value];
133
- }), d(J, (e) => {
134
- U.value = e[0], W.value = e[1];
135
- }), d([
136
- B,
137
- V,
138
- G
139
- ], () => {
140
- we.clearCache();
141
- }), re(() => {
142
- J.value = [U.value, W.value];
143
- }), (s, l) => (c(), u("form", {
144
- id: "konnectio-availability-form",
145
- class: t({ reservation: o.booking }),
146
- type: "availability",
147
- onSubmit: ie(Pe, ["prevent"])
148
- }, [i(te, {
149
- id: "konnectio-availability-form-content",
150
- tag: "ul",
151
- class: t([
152
- { "is-booking-page": o.booking },
153
- { "only-adult-guests": !r(M)(G.value) },
154
- { "all-guests": r(M)(G.value) },
155
- { "has-location": q.value },
156
- { "has-room-count": r(N)(G.value) }
157
- ])
158
- }, {
159
- default: ee(() => [
160
- q.value ? (c(), u("li", me, [isNaN(o.selectedLocation) ? (c(), e(de, {
161
- key: 1,
162
- modelValue: G.value,
163
- "onUpdate:modelValue": l[1] ||= (e) => G.value = e,
164
- label: r(h)("general.location"),
165
- placeholder: r(h)("general.locationPlaceholder"),
166
- icon: "location-dot",
167
- "icon-type": "fas",
168
- "icon-placement": "label",
169
- "label-key": "name",
170
- "value-key": "id",
171
- options: r(w),
172
- searchable: !1
173
- }, null, 8, [
174
- "modelValue",
175
- "label",
176
- "placeholder",
177
- "options"
178
- ])) : (c(), e(ue, {
179
- key: 0,
180
- modelValue: K.value,
181
- "onUpdate:modelValue": l[0] ||= (e) => K.value = e,
182
- label: r(h)("general.location"),
183
- icon: "location-dot",
184
- "icon-type": "fas",
185
- "icon-placement": "label",
186
- readonly: ""
187
- }, null, 8, ["modelValue", "label"]))])) : a("", !0),
188
- n("li", he, [r(De) ? (c(), u("div", ge, [i(_, {
189
- modelValue: U.value,
190
- "onUpdate:modelValue": l[2] ||= (e) => U.value = e,
191
- label: r(h)("availability.arrivalDate"),
192
- name: "arrivalDate",
193
- "icon-type": "fas",
194
- "icon-placement": "label",
195
- "start-date": U.value,
196
- "min-date": Y.value,
197
- "max-date": je.value,
198
- "show-prices": !r(j),
199
- "show-availability": !r(j)
200
- }, null, 8, [
201
- "modelValue",
202
- "label",
203
- "start-date",
204
- "min-date",
205
- "max-date",
206
- "show-prices",
207
- "show-availability"
208
- ]), i(_, {
209
- modelValue: W.value,
210
- "onUpdate:modelValue": l[3] ||= (e) => W.value = e,
211
- label: r(h)("availability.departureDate"),
212
- name: "departureDate",
213
- "icon-type": "fas",
214
- "icon-placement": "label",
215
- "start-date": W.value,
216
- "min-date": U.value,
217
- "max-date": Me.value,
218
- "show-prices": !r(j),
219
- "show-availability": !r(j)
220
- }, null, 8, [
221
- "modelValue",
222
- "label",
223
- "start-date",
224
- "min-date",
225
- "max-date",
226
- "show-prices",
227
- "show-availability"
228
- ])])) : (c(), e(_, {
229
- key: 1,
230
- modelValue: J.value,
231
- "onUpdate:modelValue": l[4] ||= (e) => J.value = e,
232
- label: r(h)("availability.checkInOut"),
233
- "icon-type": "fas",
234
- "icon-placement": "label",
235
- "min-range": 1,
236
- "min-date": Y.value,
237
- "max-date": Me.value,
238
- "show-prices": !r(j),
239
- "show-availability": !r(j),
240
- range: ""
241
- }, null, 8, [
242
- "modelValue",
243
- "label",
244
- "min-date",
245
- "max-date",
246
- "show-prices",
247
- "show-availability"
248
- ]))]),
249
- r(N)(G.value) ? (c(), u("li", _e, [i(g, {
250
- modelValue: H.value,
251
- "onUpdate:modelValue": l[5] ||= (e) => H.value = e,
252
- label: r(h)("availability.roomCount"),
253
- "icon-type": "fas",
254
- "icon-placement": "label",
255
- name: "roomCount",
256
- icon: "house",
257
- "min-value": 1,
258
- "max-value": 10,
259
- controls: !0
260
- }, null, 8, ["modelValue", "label"])])) : a("", !0),
261
- n("li", ve, [i(g, {
262
- modelValue: B.value,
263
- "onUpdate:modelValue": l[6] ||= (e) => B.value = e,
264
- label: r(h)("availability.adults"),
265
- description: r(h)("general.adultAgeRange"),
266
- "icon-type": "fas",
267
- "icon-placement": "label",
268
- name: "adults",
269
- icon: "male",
270
- "max-value": r(Te),
271
- placeholder: `${r(k)}`,
272
- controls: !0
273
- }, null, 8, [
274
- "modelValue",
275
- "label",
276
- "description",
277
- "max-value",
278
- "placeholder"
279
- ]), r(M)(G.value) ? (c(), e(g, {
280
- key: 0,
281
- modelValue: V.value,
282
- "onUpdate:modelValue": l[7] ||= (e) => V.value = e,
283
- label: r(h)("availability.children"),
284
- description: r(h)("general.childAgeRange"),
285
- "icon-type": "fas",
286
- "icon-placement": "label",
287
- name: "children",
288
- icon: "child",
289
- "max-value": r(Ee),
290
- placeholder: `${r(A)}`,
291
- controls: !0
292
- }, null, 8, [
293
- "modelValue",
294
- "label",
295
- "description",
296
- "max-value",
297
- "placeholder"
298
- ])) : a("", !0)]),
299
- n("li", ye, [i(fe, {
300
- class: "konnectio-availability-submit-small",
301
- type: "submit",
302
- icon: "search",
303
- "icon-type": "fas",
304
- disabled: !X.value,
305
- "is-loading": r(T).areListingsLoading
306
- }, null, 8, ["disabled", "is-loading"]), i(fe, {
307
- class: "konnectio-availability-submit-large",
308
- type: "submit",
309
- label: r(h)("availability.buttonLabel"),
310
- disabled: !X.value,
311
- "is-loading": r(T).areListingsLoading
312
- }, null, 8, [
313
- "label",
314
- "disabled",
315
- "is-loading"
316
- ])])
317
- ]),
318
- _: 1
319
- }, 8, ["class"])], 34));
320
- }
321
- }), [["__scopeId", "data-v-e07ca13f"]]);
322
- //#endregion
323
- export { v as t };
Binary file
Binary file
@@ -1,17 +0,0 @@
1
- import { D as e, E as t, Et as n, P as r, Y as i, dt as a, o } from "./mitt-DosBWi_E.js";
2
- import { I as s, S as c } from "./SelectField-m_n1cMe0.js";
3
- import { a as l } from "./CheckoutWindow-BD2PXPt7.js";
4
- //#region src/components/side-panels/TermsOfService.vue?vue&type=script&setup=true&lang.ts
5
- var u = { class: "konnectio-terms-side-panel" }, d = ["innerHTML"], f = /*#__PURE__*/ c(/* @__PURE__ */ r({
6
- __name: "TermsOfService",
7
- props: { description: {} },
8
- setup(r) {
9
- let { t: c } = o();
10
- return (o, f) => (i(), e(l, { title: n(c)("general.termsAndConditions") }, {
11
- default: a(() => [t("div", u, [t("p", { innerHTML: n(s)(r.description) }, null, 8, d)])]),
12
- _: 1
13
- }, 8, ["title"]));
14
- }
15
- }), [["__scopeId", "data-v-107b46b8"]]);
16
- //#endregion
17
- export { f as t };
Binary file
Binary file
@@ -1,25 +0,0 @@
1
- import { n as e } from "./rolldown-runtime-Dqa2HsxW.js";
2
- import { At as t, E as n, Et as r, P as i, Y as a, et as o, k as s, o as c, ut as l } from "./mitt-DosBWi_E.js";
3
- import { E as u } from "./SelectField-m_n1cMe0.js";
4
- //#region src/layouts/_.vue?vue&type=script&setup=true&lang.ts
5
- var d = {
6
- class: "konnectio-app",
7
- ref: "base"
8
- }, f = {
9
- key: 0,
10
- class: "konnectio-panel"
11
- }, p = /*@__PURE__*/ i({
12
- name: "BaseLayout",
13
- __name: "_",
14
- props: {
15
- accessToken: {},
16
- type: { default: "none" },
17
- callback: {}
18
- },
19
- async setup(e) {
20
- let i, p, m = e, { t: h } = c(), { bookingDisabled: g, setAccessToken: _, fetchUtilities: v } = u();
21
- return [i, p] = l(() => _(m.accessToken)), await i, p(), [i, p] = l(() => v()), await i, p(), m.callback && ([i, p] = l(() => m.callback()), await i, p()), (e, i) => (a(), s("div", d, [r(g) ? (a(), s("div", f, [n("span", null, t(r(h)("alert.error.bookingDisabled")), 1)])) : o(e.$slots, "default", {}, void 0, void 0, 1)], 512));
22
- }
23
- }), m = /* @__PURE__ */ e({ default: () => h }), h = p;
24
- //#endregion
25
- export { m as n, h as t };
Binary file
@@ -1,3 +0,0 @@
1
- x�mSaO�0����'o��&i_�2�i6 mChB(2ɵ��ؙ�P��>9�Q�>=��޽;�Ou�uH�sg;��pV��ޛ�LPM��ȣ/��:���q����!*��ED#p1^8�ˈJ�WD)@c�
2
- �"z�ƀ�3�T�s�ϮU}��p���?HS>+����ͬ�F�;MQ�s�P��������u��d=�$<�T�Ʃ>L<����h��Y���k�Т�&M-�/�V�j��S��L���y v'=�t+0��W�X�P�O�KCz���P|��˫�u}P@�M��Q v&=}+�6u�t]�S�l��h�Ȧ!�����H�$vUb���rС3��l��w�YEr��+�M��}N٘TS���:T �
3
- �3��V���9�P}Dͻ|��,��R�j��ok����Ͻb2�y��g����2f�j�Z��N^G�7�3�K�̠�@��/3Τ&rrκ��ӱh7�n� %,����6x�4@&�`����� β[���,��6�f�i���pP���O�u�D$/Q�w�L�[�����{Z�����l�<�
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file