@konnectio/core 4.11.1 → 4.11.3

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 (116) hide show
  1. package/dist/{ActionField-CD7A8umF.js → ActionField-dg0RS8gf.js} +16 -17
  2. package/dist/ActionField-dg0RS8gf.js.br +0 -0
  3. package/dist/ActionField-dg0RS8gf.js.gz +0 -0
  4. package/dist/{AvailabilitySkeleton-D_EldM2s.js → AvailabilitySkeleton-uoeeP_5d.js} +2374 -2900
  5. package/dist/AvailabilitySkeleton-uoeeP_5d.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-uoeeP_5d.js.gz +0 -0
  7. package/dist/{CheckoutWindow-BYvzbPyY.js → CheckoutWindow-DXRVoh-J.js} +579 -655
  8. package/dist/CheckoutWindow-DXRVoh-J.js.br +0 -0
  9. package/dist/CheckoutWindow-DXRVoh-J.js.gz +0 -0
  10. package/dist/{ErrorMessage-GCkS8yEW.js → ErrorMessage-OQ4r9QGR.js} +12 -14
  11. package/dist/ErrorMessage-OQ4r9QGR.js.br +0 -0
  12. package/dist/ErrorMessage-OQ4r9QGR.js.gz +0 -0
  13. package/dist/{EventAvailabilityForm-f-BUsWJ-.js → EventAvailabilityForm-B4pOCkcm.js} +29 -30
  14. package/dist/EventAvailabilityForm-B4pOCkcm.js.br +0 -0
  15. package/dist/EventAvailabilityForm-B4pOCkcm.js.gz +0 -0
  16. package/dist/{Field-TMCJPa0F.js → Field-DpRx5gtJ.js} +6 -7
  17. package/dist/Field-DpRx5gtJ.js.br +0 -0
  18. package/dist/Field-DpRx5gtJ.js.gz +0 -0
  19. package/dist/HotelAvailabilityForm-BSM-KcqG.js +312 -0
  20. package/dist/HotelAvailabilityForm-BSM-KcqG.js.br +0 -0
  21. package/dist/HotelAvailabilityForm-BSM-KcqG.js.gz +0 -0
  22. package/dist/{SelectField-DSkOZgE4.js → SelectField-CEEffgaQ.js} +3462 -2858
  23. package/dist/SelectField-CEEffgaQ.js.br +0 -0
  24. package/dist/SelectField-CEEffgaQ.js.gz +0 -0
  25. package/dist/{TermsOfService-D9W3pXOi.js → TermsOfService-C4YZ5zhE.js} +5 -6
  26. package/dist/TermsOfService-C4YZ5zhE.js.br +0 -0
  27. package/dist/TermsOfService-C4YZ5zhE.js.gz +0 -0
  28. package/dist/_-DM-h5BQz.js +24 -0
  29. package/dist/_-DM-h5BQz.js.br +0 -0
  30. package/dist/_-DM-h5BQz.js.gz +0 -0
  31. package/dist/availability.js +24 -25
  32. package/dist/availability.js.br +0 -0
  33. package/dist/availability.js.gz +0 -0
  34. package/dist/cancel-reservation.js +57 -62
  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 +15 -16
  41. package/dist/deep-link.js.br +0 -0
  42. package/dist/deep-link.js.gz +0 -0
  43. package/dist/{dist-Vu9z8BNS.js → dist-BQy2-bMP.js} +168 -139
  44. package/dist/dist-BQy2-bMP.js.br +0 -0
  45. package/dist/dist-BQy2-bMP.js.gz +0 -0
  46. package/dist/{dist-YUX9nmGu.js → dist-Q9kXoafy.js} +705 -756
  47. package/dist/dist-Q9kXoafy.js.br +0 -0
  48. package/dist/dist-Q9kXoafy.js.gz +0 -0
  49. package/dist/event.js +334 -344
  50. package/dist/event.js.br +0 -0
  51. package/dist/event.js.gz +0 -0
  52. package/dist/gift-card-validation.js +42 -43
  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 +157 -161
  56. package/dist/gift-card.js.br +0 -0
  57. package/dist/gift-card.js.gz +0 -0
  58. package/dist/{giftCard-DwGwHq7_.js → giftCard-DO4ELDIx.js} +14 -15
  59. package/dist/giftCard-DO4ELDIx.js.br +0 -0
  60. package/dist/giftCard-DO4ELDIx.js.gz +0 -0
  61. package/dist/hotel.js +983 -1145
  62. package/dist/hotel.js.br +0 -0
  63. package/dist/hotel.js.gz +0 -0
  64. package/dist/{i18n-BU9Enb5i.js → i18n-Dq3VKG7w.js} +4004 -3647
  65. package/dist/i18n-Dq3VKG7w.js.br +0 -0
  66. package/dist/i18n-Dq3VKG7w.js.gz +0 -0
  67. package/dist/polyfill.js +905 -818
  68. package/dist/polyfill.js.br +0 -0
  69. package/dist/polyfill.js.gz +0 -0
  70. package/dist/{rolldown-runtime-B0aSnxlc.js → rolldown-runtime-QGRDbDUS.js} +2 -3
  71. package/dist/rolldown-runtime-QGRDbDUS.js.br +0 -0
  72. package/dist/rolldown-runtime-QGRDbDUS.js.gz +0 -0
  73. package/dist/style-xK2dve9W.js +1284 -0
  74. package/dist/style-xK2dve9W.js.br +0 -0
  75. package/dist/style-xK2dve9W.js.gz +0 -0
  76. package/dist-wix/availability.js +42 -34
  77. package/dist-wix/event.js +54 -46
  78. package/dist-wix/gift-card-validation.js +39 -31
  79. package/dist-wix/gift-card.js +43 -35
  80. package/dist-wix/hotel.js +54 -46
  81. package/package.json +32 -32
  82. package/dist/ActionField-CD7A8umF.js.br +0 -0
  83. package/dist/ActionField-CD7A8umF.js.gz +0 -0
  84. package/dist/AvailabilitySkeleton-D_EldM2s.js.br +0 -0
  85. package/dist/AvailabilitySkeleton-D_EldM2s.js.gz +0 -0
  86. package/dist/CheckoutWindow-BYvzbPyY.js.br +0 -0
  87. package/dist/CheckoutWindow-BYvzbPyY.js.gz +0 -0
  88. package/dist/ErrorMessage-GCkS8yEW.js.br +0 -0
  89. package/dist/ErrorMessage-GCkS8yEW.js.gz +0 -0
  90. package/dist/EventAvailabilityForm-f-BUsWJ-.js.br +0 -0
  91. package/dist/EventAvailabilityForm-f-BUsWJ-.js.gz +0 -0
  92. package/dist/Field-TMCJPa0F.js.br +0 -0
  93. package/dist/Field-TMCJPa0F.js.gz +0 -0
  94. package/dist/HotelAvailabilityForm-BjaKmdM9.js +0 -322
  95. package/dist/HotelAvailabilityForm-BjaKmdM9.js.br +0 -0
  96. package/dist/HotelAvailabilityForm-BjaKmdM9.js.gz +0 -0
  97. package/dist/SelectField-DSkOZgE4.js.br +0 -0
  98. package/dist/SelectField-DSkOZgE4.js.gz +0 -0
  99. package/dist/TermsOfService-D9W3pXOi.js.br +0 -0
  100. package/dist/TermsOfService-D9W3pXOi.js.gz +0 -0
  101. package/dist/_-DY1GJjiW.js +0 -25
  102. package/dist/_-DY1GJjiW.js.br +0 -0
  103. package/dist/_-DY1GJjiW.js.gz +0 -0
  104. package/dist/dist-Vu9z8BNS.js.br +0 -0
  105. package/dist/dist-Vu9z8BNS.js.gz +0 -0
  106. package/dist/dist-YUX9nmGu.js.br +0 -0
  107. package/dist/dist-YUX9nmGu.js.gz +0 -0
  108. package/dist/giftCard-DwGwHq7_.js.br +0 -0
  109. package/dist/giftCard-DwGwHq7_.js.gz +0 -0
  110. package/dist/i18n-BU9Enb5i.js.br +0 -0
  111. package/dist/i18n-BU9Enb5i.js.gz +0 -0
  112. package/dist/rolldown-runtime-B0aSnxlc.js.br +0 -0
  113. package/dist/rolldown-runtime-B0aSnxlc.js.gz +0 -5
  114. package/dist/style-E-j_0DIE.js +0 -1711
  115. package/dist/style-E-j_0DIE.js.br +0 -0
  116. package/dist/style-E-j_0DIE.js.gz +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@konnectio/core",
3
- "version": "4.11.1",
3
+ "version": "4.11.3",
4
4
  "author": "Konnectio <info@konnectio.com> (https://konnectio.com)",
5
5
  "homepage": "https://konnectio.com",
6
6
  "repository": {
@@ -58,62 +58,62 @@
58
58
  "@chenfengyuan/vue-number-input": "2.0.1",
59
59
  "@date-fns/tz": "1.5.0",
60
60
  "@egjs/flicking-plugins": "4.8.1",
61
- "@egjs/vue3-flicking": "4.16.4",
62
- "@flareapp/js": "2.11.0",
63
- "@flareapp/vite": "2.11.0",
64
- "@flareapp/vue": "2.11.0",
61
+ "@egjs/vue3-flicking": "4.17.1",
62
+ "@flareapp/js": "2.13.0",
63
+ "@flareapp/vite": "2.13.0",
64
+ "@flareapp/vue": "2.13.0",
65
65
  "@fortawesome/fontawesome-svg-core": "7.3.1",
66
66
  "@fortawesome/free-brands-svg-icons": "7.3.1",
67
67
  "@fortawesome/pro-light-svg-icons": "7.3.1",
68
68
  "@fortawesome/pro-solid-svg-icons": "7.3.1",
69
69
  "@fortawesome/vue-fontawesome": "3.3.3",
70
- "@intlify/unplugin-vue-i18n": "11.2.5",
70
+ "@intlify/unplugin-vue-i18n": "11.2.8",
71
71
  "@types/leaflet": "1.9.22",
72
- "@unhead/vue": "3.4.0",
72
+ "@unhead/vue": "3.4.3",
73
73
  "@vuepic/vue-datepicker": "14.0.0",
74
- "@vueuse/core": "14.4.0",
75
- "axios": "1.20.0",
76
- "core-js": "3.50.0",
74
+ "@vueuse/core": "15.0.0",
75
+ "axios": "1.21.1",
76
+ "core-js": "3.51.0",
77
77
  "cqfill": "0.6.1",
78
78
  "date-fns": "4.4.0",
79
- "floating-vue": "5.2.2",
80
- "laravel-precognition-vue": "^2.0.0",
79
+ "floating-vue": "5.4.0",
80
+ "laravel-precognition-vue": "2.1.1",
81
81
  "leaflet": "1.9.4",
82
82
  "leaflet.markercluster": "1.5.3",
83
- "linkify-html": "4.3.3",
84
- "pinia": "4.0.3",
85
- "postcss": "8.5.26",
83
+ "linkify-html": "4.4.0",
84
+ "pinia": "4.1.0",
85
+ "postcss": "8.5.33",
86
86
  "recaptcha-v3": "1.11.3",
87
87
  "regenerator-runtime": "0.14.1",
88
88
  "resize-detector": "0.3.0",
89
- "vue": "3.5.42",
89
+ "vue": "3.5.46",
90
90
  "vue-gtag": "3.7.1",
91
- "vue-i18n": "11.4.14",
92
- "vue-inner-image-zoom": "3.0.2",
91
+ "vue-i18n": "11.4.23",
92
+ "vue-inner-image-zoom": "3.0.3",
93
93
  "vue-select": "4.0.0-beta.6",
94
94
  "vue3-side-panel": "1.3.0",
95
95
  "vue3-sticky-directive": "0.0.2",
96
96
  "vue3-sticky-sidebar": "2.0.0"
97
97
  },
98
98
  "devDependencies": {
99
- "@playwright/test": "^1.63.0",
100
- "@types/node": "26.4.0",
101
- "@typescript-eslint/eslint-plugin": "8.68.0",
102
- "@typescript-eslint/parser": "8.68.0",
103
- "@vitejs/plugin-vue": "6.0.8",
99
+ "@playwright/test": "1.65.1",
100
+ "@types/node": "26.6.6",
101
+ "@typescript-eslint/eslint-plugin": "8.73.0",
102
+ "@typescript-eslint/parser": "8.73.0",
103
+ "@vitejs/plugin-vue": "6.0.11",
104
104
  "@vue/eslint-config-typescript": "14.9.0",
105
105
  "cross-env": "10.1.0",
106
- "detect-libc": "^2.1.2",
107
- "eslint": "10.9.1",
108
- "eslint-plugin-vue": "10.10.0",
109
- "sass": "1.103.1",
106
+ "detect-libc": "2.1.2",
107
+ "eslint": "10.15.0",
108
+ "eslint-plugin-vue": "10.12.1",
109
+ "sass": "1.108.2",
110
110
  "ts-node": "10.9.2",
111
- "tslib": "2.8.1",
111
+ "tslib": "2.9.1",
112
112
  "typescript": "5.9.3",
113
- "vite": "8.2.4",
114
- "vite-plugin-compression2": "2.5.3",
115
- "vue-router": "5.3.0",
116
- "vue-tsc": "3.3.11"
113
+ "vite": "8.3.8",
114
+ "vite-plugin-compression2": "2.5.4",
115
+ "vue-router": "5.5.1",
116
+ "vue-tsc": "3.3.14"
117
117
  },
118
118
  "contributors": [
119
119
  {
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,322 +0,0 @@
1
- import { A as e, At as t, L as n, M as r, N as i, P as a, Q as o, _ as ee, a as te, et as s, f as ne, gt as re, h as c, j as l, jt as u, l as ie, mt as d, w as ae, wt as f, z as p } from "./i18n-BU9Enb5i.js";
2
- import { B as m, C as h, E as g, N as oe, O as se, S as _, U as ce, k as le, n as ue, q as de, r as v, t as fe, v as y } from "./SelectField-DSkOZgE4.js";
3
- import { n as b, p as pe } from "./AvailabilitySkeleton-D_EldM2s.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
- }, x = /*#__PURE__*/ _(/* @__PURE__ */ p({
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(p) {
42
- let { t: _ } = te(), x = p, S = h(), { adults: be, children: xe, roomCount: Se, arrivalDate: C, departureDate: w, location: T, hasHotelLocations: E, hotelLocations: D, controlLocation: Ce } = c(h()), O = se(), we = pe(), { display: k } = oe(), { firstSelectableDateOffset: A, lastSelectableDateOffset: j, defaultAdultAmount: M, defaultChildAmount: N, maxAdultAmount: Te, maxChildAmount: Ee, splitBookingCalendar: De, disableCalendarPricesAvailability: P } = c(g()), { hasChildSelection: F, hasRoomAmountSelection: I } = g(), Oe = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + A.value)).setHours(12, 0, 0, 0)), ke = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + A.value + 1)).setHours(12, 0, 0, 0)), Ae = () => x.disableDefaultLocation ? void 0 : Ce.value, L = f(M.value), R = f(N.value), z = f(1), B = f(Oe()), V = f(ke()), H = f(Ae()), U = e({
43
- get: () => x.booking ? S.adults : L.value,
44
- set: (e) => {
45
- x.booking ? be.value = Number(e) : L.value = Number(e);
46
- }
47
- }), W = e({
48
- get: () => x.booking ? S.children : R.value,
49
- set: (e) => {
50
- x.booking ? xe.value = Number(e) : R.value = Number(e);
51
- }
52
- }), G = e({
53
- get: () => x.booking ? S.roomCount : z.value,
54
- set: (e) => {
55
- x.booking ? Se.value = Number(e) : z.value = Number(e);
56
- }
57
- }), K = e({
58
- get: () => x.booking ? C.value : B.value,
59
- set: (e) => {
60
- x.booking ? C.value = e : B.value = e;
61
- }
62
- }), q = e({
63
- get: () => x.booking ? w.value : V.value,
64
- set: (e) => {
65
- x.booking ? w.value = e : V.value = e;
66
- }
67
- }), J = e({
68
- get: () => isNaN(x.selectedLocation) ? x.booking ? T.value ?? NaN : H.value ?? NaN : x.selectedLocation,
69
- set: (e) => {
70
- x.booking ? T.value = e : H.value = e;
71
- }
72
- }), Y = e(() => {
73
- let e = D.value.find(({ id: e }) => e === x.selectedLocation);
74
- return e ? e.name : "";
75
- }), X = e(() => E.value && !x.hideLocations), Z = f([]), je = e(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate()))), Me = e(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + j.value))), Ne = e(() => new Date((/* @__PURE__ */ new Date()).setDate(K.value.getDate() + (j.value + 1)))), Q = e(() => U.value !== 0), Pe = e(() => typeof x.link != "string");
76
- function $(e) {
77
- let t = new URLSearchParams(ce({
78
- adults: U.value,
79
- children: W.value,
80
- roomCount: G.value,
81
- arrivalDate: K.value,
82
- departureDate: q.value,
83
- location: J.value
84
- })), n = new URL(e, window.location.origin);
85
- n.search = t.toString(), window.location.replace(n.toString());
86
- }
87
- function Fe() {
88
- if (isNaN(J.value) && E.value) {
89
- k({
90
- message: _("alert.error.selectHotelId"),
91
- type: "error"
92
- });
93
- return;
94
- }
95
- if (isNaN(U.value)) {
96
- k({
97
- message: _("alert.error.selectValidAdults"),
98
- type: "error"
99
- });
100
- return;
101
- }
102
- if (isNaN(W.value)) {
103
- k({
104
- message: _("alert.error.selectValidChildren"),
105
- type: "error"
106
- });
107
- return;
108
- }
109
- if (x.booking === !1) {
110
- if (Pe.value) {
111
- let e = de();
112
- x.link[e] ? $(x.link[e]) : x.link.en ? $(x.link.en) : k({
113
- message: "Module misconfiguration, contact an admin",
114
- type: "error"
115
- });
116
- } else $(x.link);
117
- } else Q.value && O.fetchAvailabilityData();
118
- }
119
- let Ie = ne("history", { removeNullishValues: !0 });
120
- function Le() {
121
- x.booking && (Ie.ci = m(K.value), Ie.co = m(q.value));
122
- }
123
- return d(K, (e) => {
124
- let t = new Date(new Date(e).setDate(new Date(e).getDate() + 1));
125
- new Date(q.value) < t && (q.value = t), Le();
126
- }), d(q, () => {
127
- Le();
128
- }), ie(le).on(() => {
129
- Z.value = [K.value, q.value];
130
- }), d(Z, (e) => {
131
- K.value = e[0], q.value = e[1];
132
- }), d([
133
- U,
134
- W,
135
- J
136
- ], () => {
137
- we.clearCache();
138
- }), o(() => {
139
- Z.value = [K.value, q.value];
140
- }), (e, o) => (s(), a("form", {
141
- id: "konnectio-availability-form",
142
- class: u({ reservation: p.booking }),
143
- type: "availability",
144
- onSubmit: ae(Fe, ["prevent"])
145
- }, [n(ee, {
146
- id: "konnectio-availability-form-content",
147
- tag: "ul",
148
- class: u([
149
- { "is-booking-page": p.booking },
150
- { "only-adult-guests": !t(F)(J.value) },
151
- { "all-guests": t(F)(J.value) },
152
- { "has-location": X.value },
153
- { "has-room-count": t(I)(J.value) }
154
- ])
155
- }, {
156
- default: re(() => [
157
- X.value ? (s(), a("li", me, [isNaN(p.selectedLocation) ? (s(), r(fe, {
158
- key: 1,
159
- modelValue: J.value,
160
- "onUpdate:modelValue": o[1] ||= (e) => J.value = e,
161
- label: t(_)("general.location"),
162
- placeholder: t(_)("general.locationPlaceholder"),
163
- icon: "location-dot",
164
- "icon-type": "fas",
165
- "icon-placement": "label",
166
- "label-key": "name",
167
- "value-key": "id",
168
- options: t(D),
169
- searchable: !1
170
- }, null, 8, [
171
- "modelValue",
172
- "label",
173
- "placeholder",
174
- "options"
175
- ])) : (s(), r(ue, {
176
- key: 0,
177
- modelValue: Y.value,
178
- "onUpdate:modelValue": o[0] ||= (e) => Y.value = e,
179
- label: t(_)("general.location"),
180
- icon: "location-dot",
181
- "icon-type": "fas",
182
- "icon-placement": "label",
183
- readonly: ""
184
- }, null, 8, ["modelValue", "label"]))])) : i("", !0),
185
- l("li", he, [t(De) ? (s(), a("div", ge, [n(b, {
186
- modelValue: K.value,
187
- "onUpdate:modelValue": o[2] ||= (e) => K.value = e,
188
- label: t(_)("availability.arrivalDate"),
189
- name: "arrivalDate",
190
- "icon-type": "fas",
191
- "icon-placement": "label",
192
- "start-date": K.value,
193
- "min-date": je.value,
194
- "max-date": Me.value,
195
- "show-prices": !t(P),
196
- "show-availability": !t(P),
197
- "disable-closed-dates": !t(P)
198
- }, null, 8, [
199
- "modelValue",
200
- "label",
201
- "start-date",
202
- "min-date",
203
- "max-date",
204
- "show-prices",
205
- "show-availability",
206
- "disable-closed-dates"
207
- ]), n(b, {
208
- modelValue: q.value,
209
- "onUpdate:modelValue": o[3] ||= (e) => q.value = e,
210
- label: t(_)("availability.departureDate"),
211
- name: "departureDate",
212
- "icon-type": "fas",
213
- "icon-placement": "label",
214
- "start-date": q.value,
215
- "min-date": K.value,
216
- "max-date": Ne.value,
217
- "show-prices": !t(P),
218
- "show-availability": !t(P)
219
- }, null, 8, [
220
- "modelValue",
221
- "label",
222
- "start-date",
223
- "min-date",
224
- "max-date",
225
- "show-prices",
226
- "show-availability"
227
- ])])) : (s(), r(b, {
228
- key: 1,
229
- modelValue: Z.value,
230
- "onUpdate:modelValue": o[4] ||= (e) => Z.value = e,
231
- label: t(_)("availability.checkInOut"),
232
- "icon-type": "fas",
233
- "icon-placement": "label",
234
- "min-range": 1,
235
- "min-date": je.value,
236
- "max-date": Ne.value,
237
- "show-prices": !t(P),
238
- "show-availability": !t(P),
239
- range: ""
240
- }, null, 8, [
241
- "modelValue",
242
- "label",
243
- "min-date",
244
- "max-date",
245
- "show-prices",
246
- "show-availability"
247
- ]))]),
248
- t(I)(J.value) ? (s(), a("li", _e, [n(v, {
249
- modelValue: G.value,
250
- "onUpdate:modelValue": o[5] ||= (e) => G.value = e,
251
- label: t(_)("availability.roomCount"),
252
- "icon-type": "fas",
253
- "icon-placement": "label",
254
- name: "roomCount",
255
- icon: "house",
256
- "min-value": 1,
257
- "max-value": 10,
258
- controls: !0
259
- }, null, 8, ["modelValue", "label"])])) : i("", !0),
260
- l("li", ve, [n(v, {
261
- modelValue: U.value,
262
- "onUpdate:modelValue": o[6] ||= (e) => U.value = e,
263
- label: t(_)("availability.adults"),
264
- description: t(_)("general.adultAgeRange"),
265
- "icon-type": "fas",
266
- "icon-placement": "label",
267
- name: "adults",
268
- icon: "male",
269
- "max-value": t(Te),
270
- placeholder: `${t(M)}`,
271
- controls: !0
272
- }, null, 8, [
273
- "modelValue",
274
- "label",
275
- "description",
276
- "max-value",
277
- "placeholder"
278
- ]), t(F)(J.value) ? (s(), r(v, {
279
- key: 0,
280
- modelValue: W.value,
281
- "onUpdate:modelValue": o[7] ||= (e) => W.value = e,
282
- label: t(_)("availability.children"),
283
- description: t(_)("general.childAgeRange"),
284
- "icon-type": "fas",
285
- "icon-placement": "label",
286
- name: "children",
287
- icon: "child",
288
- "max-value": t(Ee),
289
- placeholder: `${t(N)}`,
290
- controls: !0
291
- }, null, 8, [
292
- "modelValue",
293
- "label",
294
- "description",
295
- "max-value",
296
- "placeholder"
297
- ])) : i("", !0)]),
298
- l("li", ye, [n(y, {
299
- class: "konnectio-availability-submit-small",
300
- type: "submit",
301
- icon: "search",
302
- "icon-type": "fas",
303
- disabled: !Q.value,
304
- "is-loading": t(O).areListingsLoading
305
- }, null, 8, ["disabled", "is-loading"]), n(y, {
306
- class: "konnectio-availability-submit-large",
307
- type: "submit",
308
- label: t(_)("availability.buttonLabel"),
309
- disabled: !Q.value,
310
- "is-loading": t(O).areListingsLoading
311
- }, null, 8, [
312
- "label",
313
- "disabled",
314
- "is-loading"
315
- ])])
316
- ]),
317
- _: 1
318
- }, 8, ["class"])], 34));
319
- }
320
- }), [["__scopeId", "data-v-81ba3018"]]);
321
- //#endregion
322
- export { x as t };
Binary file
Binary file
Binary file
Binary file
@@ -1,25 +0,0 @@
1
- import { n as e } from "./rolldown-runtime-B0aSnxlc.js";
2
- import { At as t, P as n, Pt as r, a as i, at as a, et as o, ht as s, j as c, z as l } from "./i18n-BU9Enb5i.js";
3
- import { E as u } from "./SelectField-DSkOZgE4.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__*/ l({
12
- name: "BaseLayout",
13
- __name: "_",
14
- props: {
15
- accessToken: {},
16
- type: { default: "none" },
17
- callback: {}
18
- },
19
- async setup(e) {
20
- let l, p, m = e, { t: h } = i(), { bookingDisabled: g, setAccessToken: _, fetchUtilities: v } = u();
21
- return [l, p] = s(() => _(m.accessToken)), await l, p(), [l, p] = s(() => v()), await l, p(), m.callback && ([l, p] = s(() => m.callback()), await l, p()), (e, i) => (o(), n("div", d, [t(g) ? (o(), n("div", f, [c("span", null, r(t(h)("alert.error.bookingDisabled")), 1)])) : a(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
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,5 +0,0 @@
1
- x�uSAn�0<K�+@@"���U5�^[Hoi���a@/
2
- �_#�ߡH)Q�����v&]>�I�ytN�#�
3
- �",�c�x?r��B�Ï�j��#j��#^�'������ՕF'�{0�5e�8'�:-
4
- :��>�I�Y6JQRl��A�+˝���"S�VVH-�����R4�[�A0��a� aq,��F�`RV���
5
- Rv���||�ax�ؠ�oF �D�ϐ���-6��M�4�'ֺ��� �n�'��y��,�!I�=b��?���