@konnectio/core 4.0.56-rc6 → 4.0.56-rc8

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 (174) hide show
  1. package/dist/{ActionField-YyW_C34E.js → ActionField-na8McB-H.js} +1 -1
  2. package/dist/ActionField-na8McB-H.js.br +0 -0
  3. package/dist/AvailabilitySkeleton-1_yLVsq6.js +214 -0
  4. package/dist/AvailabilitySkeleton-1_yLVsq6.js.br +0 -0
  5. package/dist/{CheckoutWindow-T7-vrZyG.js → CheckoutWindow-r6ch1iOr.js} +17 -17
  6. package/dist/CheckoutWindow-r6ch1iOr.js.br +0 -0
  7. package/dist/{DateField.vue_vue_type_style_index_0_lang-pLqbpoS_.js → DateField.vue_vue_type_style_index_0_lang-ZM6h3KFg.js} +2910 -2918
  8. package/dist/DateField.vue_vue_type_style_index_0_lang-ZM6h3KFg.js.br +0 -0
  9. package/dist/{Field-fWwF40rD.js → Field-S_yxW5IQ.js} +2 -2
  10. package/dist/Field-S_yxW5IQ.js.br +0 -0
  11. package/dist/{SelectField.vue_vue_type_style_index_0_lang-C-MscjWo.js → SelectField.vue_vue_type_style_index_0_lang-K94DVjrE.js} +8477 -8478
  12. package/dist/SelectField.vue_vue_type_style_index_0_lang-K94DVjrE.js.br +0 -0
  13. package/dist/{ThankYou-pUA2X7-4.js → ThankYou-ekf_1AWY.js} +4327 -4410
  14. package/dist/ThankYou-ekf_1AWY.js.br +0 -0
  15. package/dist/{_-TlutFgf7.js → _-vErl-x3v.js} +1 -1
  16. package/dist/{_commonjsHelpers-4t9S7M5p.js → _commonjsHelpers-2ufMB8rV.js} +1 -1
  17. package/dist/availability.js +117 -86
  18. package/dist/availability.js.br +0 -0
  19. package/dist/event-iDLUEMAV.js +328 -0
  20. package/dist/event-iDLUEMAV.js.br +0 -0
  21. package/dist/event.js +431 -412
  22. package/dist/event.js.br +0 -0
  23. package/dist/favicon.ico +0 -0
  24. package/dist/gift-card-validation.js +32 -34
  25. package/dist/gift-card-validation.js.br +0 -0
  26. package/dist/gift-card.js +263 -285
  27. package/dist/gift-card.js.br +0 -0
  28. package/dist/hotel-4O89o7V2.js +3111 -0
  29. package/dist/hotel-4O89o7V2.js.br +0 -0
  30. package/dist/hotel.js +11 -3144
  31. package/dist/polyfill.js +67 -67
  32. package/dist/polyfill.js.br +0 -0
  33. package/dist/style.css +1 -1
  34. package/dist/style.css.br +0 -0
  35. package/package.json +14 -17
  36. package/dist/ActionField-YyW_C34E.js.br +0 -0
  37. package/dist/AvailabilitySkeleton-lYcDX41T.js +0 -239
  38. package/dist/AvailabilitySkeleton-lYcDX41T.js.br +0 -0
  39. package/dist/CheckoutWindow-T7-vrZyG.js.br +0 -0
  40. package/dist/Container-w7O0He-s.js +0 -68
  41. package/dist/Container-w7O0He-s.js.br +0 -0
  42. package/dist/DateField.vue_vue_type_style_index_0_lang-pLqbpoS_.js.br +0 -0
  43. package/dist/Field-fWwF40rD.js.br +0 -0
  44. package/dist/SelectField.vue_vue_type_style_index_0_lang-C-MscjWo.js.br +0 -0
  45. package/dist/ThankYou-pUA2X7-4.js.br +0 -0
  46. package/dist/assets/typescript/mixins.d.ts +0 -34
  47. package/dist/availability.d.ts +0 -3
  48. package/dist/components/Alert.vue.d.ts +0 -28
  49. package/dist/components/Alert.vue.d.ts.map +0 -1
  50. package/dist/components/Clickable.vue.d.ts +0 -60
  51. package/dist/components/Clickable.vue.d.ts.map +0 -1
  52. package/dist/components/Container.vue.d.ts +0 -23
  53. package/dist/components/Container.vue.d.ts.map +0 -1
  54. package/dist/components/ErrorMessage.vue.d.ts +0 -15
  55. package/dist/components/ErrorMessage.vue.d.ts.map +0 -1
  56. package/dist/components/Gallery.vue.d.ts +0 -31
  57. package/dist/components/Gallery.vue.d.ts.map +0 -1
  58. package/dist/components/GoogleNotice.vue.d.ts +0 -2
  59. package/dist/components/GoogleNotice.vue.d.ts.map +0 -1
  60. package/dist/components/Icon.vue.d.ts +0 -38
  61. package/dist/components/Icon.vue.d.ts.map +0 -1
  62. package/dist/components/Loading.vue.d.ts +0 -29
  63. package/dist/components/Loading.vue.d.ts.map +0 -1
  64. package/dist/components/Spinner.vue.d.ts +0 -2
  65. package/dist/components/Spinner.vue.d.ts.map +0 -1
  66. package/dist/components/forms/EventAvailabilityForm.vue.d.ts +0 -18
  67. package/dist/components/forms/EventAvailabilityForm.vue.d.ts.map +0 -1
  68. package/dist/components/forms/HotelAvailabilityForm.vue.d.ts +0 -34
  69. package/dist/components/forms/HotelAvailabilityForm.vue.d.ts.map +0 -1
  70. package/dist/components/forms/HotelReservationForm.vue.d.ts +0 -41
  71. package/dist/components/forms/HotelReservationForm.vue.d.ts.map +0 -1
  72. package/dist/components/forms/MultiStepForm.vue.d.ts +0 -43
  73. package/dist/components/forms/MultiStepForm.vue.d.ts.map +0 -1
  74. package/dist/components/forms/ReservationForm.vue.d.ts +0 -63
  75. package/dist/components/forms/ReservationForm.vue.d.ts.map +0 -1
  76. package/dist/components/forms/_.vue.d.ts +0 -42
  77. package/dist/components/forms/_.vue.d.ts.map +0 -1
  78. package/dist/components/inputs/Checkbox.vue.d.ts +0 -55
  79. package/dist/components/inputs/Checkbox.vue.d.ts.map +0 -1
  80. package/dist/components/inputs/CheckboxField.vue.d.ts +0 -29
  81. package/dist/components/inputs/CheckboxField.vue.d.ts.map +0 -1
  82. package/dist/components/inputs/DateField.vue.d.ts +0 -104
  83. package/dist/components/inputs/DateField.vue.d.ts.map +0 -1
  84. package/dist/components/inputs/InputField.vue.d.ts +0 -62
  85. package/dist/components/inputs/InputField.vue.d.ts.map +0 -1
  86. package/dist/components/inputs/MediaSelector.vue.d.ts +0 -43
  87. package/dist/components/inputs/MediaSelector.vue.d.ts.map +0 -1
  88. package/dist/components/inputs/NumberField.vue.d.ts +0 -87
  89. package/dist/components/inputs/NumberField.vue.d.ts.map +0 -1
  90. package/dist/components/inputs/SelectField.vue.d.ts +0 -90
  91. package/dist/components/inputs/SelectField.vue.d.ts.map +0 -1
  92. package/dist/components/inputs/TextField.vue.d.ts +0 -68
  93. package/dist/components/inputs/TextField.vue.d.ts.map +0 -1
  94. package/dist/components/inputs/TimeField.vue.d.ts +0 -44
  95. package/dist/components/inputs/TimeField.vue.d.ts.map +0 -1
  96. package/dist/components/inputs/grouped/ActionField.vue.d.ts +0 -72
  97. package/dist/components/inputs/grouped/ActionField.vue.d.ts.map +0 -1
  98. package/dist/components/inputs/grouped/CountryField.vue.d.ts +0 -41
  99. package/dist/components/inputs/grouped/CountryField.vue.d.ts.map +0 -1
  100. package/dist/components/inputs/grouped/NameField.vue.d.ts +0 -71
  101. package/dist/components/inputs/grouped/NameField.vue.d.ts.map +0 -1
  102. package/dist/components/inputs/grouped/PhoneField.vue.d.ts +0 -51
  103. package/dist/components/inputs/grouped/PhoneField.vue.d.ts.map +0 -1
  104. package/dist/components/inputs/grouped/RoomConfigField.vue.d.ts +0 -47
  105. package/dist/components/inputs/grouped/RoomConfigField.vue.d.ts.map +0 -1
  106. package/dist/components/listings/Base.vue.d.ts +0 -56
  107. package/dist/components/listings/Base.vue.d.ts.map +0 -1
  108. package/dist/components/listings/Event.vue.d.ts +0 -47
  109. package/dist/components/listings/Event.vue.d.ts.map +0 -1
  110. package/dist/components/listings/Hotel.vue.d.ts +0 -16
  111. package/dist/components/listings/Hotel.vue.d.ts.map +0 -1
  112. package/dist/components/listings/Template.vue.d.ts +0 -21
  113. package/dist/components/listings/Template.vue.d.ts.map +0 -1
  114. package/dist/components/side-panels/Base.vue.d.ts +0 -61
  115. package/dist/components/side-panels/Base.vue.d.ts.map +0 -1
  116. package/dist/components/side-panels/ListingInfo.vue.d.ts +0 -18
  117. package/dist/components/side-panels/ListingInfo.vue.d.ts.map +0 -1
  118. package/dist/components/side-panels/Template.vue.d.ts +0 -18
  119. package/dist/components/side-panels/Template.vue.d.ts.map +0 -1
  120. package/dist/components/side-panels/TermsOfService.vue.d.ts +0 -14
  121. package/dist/components/side-panels/TermsOfService.vue.d.ts.map +0 -1
  122. package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts +0 -33
  123. package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts.map +0 -1
  124. package/dist/components/skeletons/Field.vue.d.ts +0 -36
  125. package/dist/components/skeletons/Field.vue.d.ts.map +0 -1
  126. package/dist/components/skeletons/GiftCardSkeleton.vue.d.ts +0 -2
  127. package/dist/components/skeletons/GiftCardSkeleton.vue.d.ts.map +0 -1
  128. package/dist/components/skeletons/HotelSkeleton.vue.d.ts +0 -2
  129. package/dist/components/skeletons/HotelSkeleton.vue.d.ts.map +0 -1
  130. package/dist/components/skeletons/Listing.vue.d.ts +0 -2
  131. package/dist/components/skeletons/Listing.vue.d.ts.map +0 -1
  132. package/dist/components/skeletons/Sidebar.vue.d.ts +0 -2
  133. package/dist/components/skeletons/Sidebar.vue.d.ts.map +0 -1
  134. package/dist/components/skeletons/_.vue.d.ts +0 -36
  135. package/dist/components/skeletons/_.vue.d.ts.map +0 -1
  136. package/dist/components/views/CheckoutWindow.vue.d.ts +0 -2
  137. package/dist/components/views/CheckoutWindow.vue.d.ts.map +0 -1
  138. package/dist/components/views/TermsOfService.vue.d.ts +0 -2
  139. package/dist/components/views/TermsOfService.vue.d.ts.map +0 -1
  140. package/dist/components/views/ThankYou.vue.d.ts +0 -15
  141. package/dist/components/views/ThankYou.vue.d.ts.map +0 -1
  142. package/dist/entries/availability.d.ts +0 -5
  143. package/dist/entries/event.d.ts +0 -2
  144. package/dist/entries/gift-card-validation.d.ts +0 -5
  145. package/dist/entries/gift-card.d.ts +0 -5
  146. package/dist/entries/hotel.d.ts +0 -5
  147. package/dist/entries/navigation.d.ts +0 -1
  148. package/dist/entries/polyfill.d.ts +0 -0
  149. package/dist/event-mDcuoL9g.js +0 -358
  150. package/dist/event-mDcuoL9g.js.br +0 -0
  151. package/dist/event.d.ts +0 -3
  152. package/dist/gift-card-validation.d.ts +0 -3
  153. package/dist/gift-card.d.ts +0 -3
  154. package/dist/hotel.d.ts +0 -3
  155. package/dist/hotel.js.br +0 -0
  156. package/dist/layouts/Availability.vue.d.ts +0 -25
  157. package/dist/layouts/Event.vue.d.ts +0 -18
  158. package/dist/layouts/GiftCard.vue.d.ts +0 -32
  159. package/dist/layouts/GiftCardValidation.vue.d.ts +0 -18
  160. package/dist/layouts/Hotel.vue.d.ts +0 -36
  161. package/dist/layouts/_.vue.d.ts +0 -39
  162. package/dist/navigation.d.ts +0 -1
  163. package/dist/plugins/i18n.d.ts +0 -5
  164. package/dist/polyfill.d.ts +0 -1
  165. package/dist/store/alert.d.ts +0 -28
  166. package/dist/store/applyGiftCard.d.ts +0 -28
  167. package/dist/store/availability.d.ts +0 -40
  168. package/dist/store/event.d.ts +0 -683
  169. package/dist/store/giftCard.d.ts +0 -83
  170. package/dist/store/payment.d.ts +0 -139
  171. package/dist/store/recaptcha.d.ts +0 -28
  172. package/dist/store/tracking.d.ts +0 -57
  173. package/dist/store/utilities.d.ts +0 -350
  174. package/dist/types/index.d.ts +0 -976
package/dist/style.css.br CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@konnectio/core",
3
- "version": "4.0.56-rc6",
3
+ "version": "4.0.56-rc8",
4
4
  "author": "Konnectio <info@freshcase.dk> (https://konnectio.dk)",
5
5
  "homepage": "https://konnectio.dk",
6
6
  "description": "Konnectio Core Frontend Integration.",
@@ -37,15 +37,14 @@
37
37
  "@fortawesome/pro-solid-svg-icons": "6.5.1",
38
38
  "@fortawesome/vue-fontawesome": "3.0.5",
39
39
  "@intlify/unplugin-vue-i18n": "2.0.0",
40
- "@unhead/vue": "1.8.9",
40
+ "@unhead/vue": "1.8.10",
41
41
  "@vuepic/vue-datepicker": "7.4.1",
42
42
  "@vueup/vue-quill": "1.2.0",
43
- "@vueuse/core": "10.7.1",
43
+ "@vueuse/core": "10.7.2",
44
44
  "axios": "1.6.5",
45
- "core-js": "3.35.0",
45
+ "core-js": "3.35.1",
46
46
  "cqfill": "0.6.1",
47
- "dotenv": "^16.3.1",
48
- "floating-vue": "5.0.3",
47
+ "floating-vue": "5.2.0",
49
48
  "linkify-html": "4.1.3",
50
49
  "linkifyjs": "4.1.3",
51
50
  "pinia": "2.1.7",
@@ -58,34 +57,32 @@
58
57
  "vue-i18n": "9.9.0",
59
58
  "vue-inner-image-zoom": "2.0.0",
60
59
  "vue-masonry": "0.16.0",
61
- "vue-router": "^4.2.5",
60
+ "vue-router": "4.2.5",
62
61
  "vue-select": "4.0.0-beta.6",
63
62
  "vue3-side-panel": "1.3.0",
64
63
  "vue3-sticky-sidebar": "2.0.0",
65
- "vue3-text-clamp": "0.1.2",
66
- "vue3-webcomponent-wrapper": "^0.2.0"
64
+ "vue3-text-clamp": "0.1.2"
67
65
  },
68
66
  "devDependencies": {
69
67
  "@babel/eslint-parser": "7.23.3",
70
68
  "@originjs/vite-plugin-commonjs": "1.0.3",
71
- "@types/node": "20.11.0",
72
- "@typescript-eslint/eslint-plugin": "6.18.1",
73
- "@typescript-eslint/parser": "6.18.1",
69
+ "@types/node": "20.11.5",
70
+ "@typescript-eslint/eslint-plugin": "6.19.0",
71
+ "@typescript-eslint/parser": "6.19.0",
74
72
  "@vitejs/plugin-vue": "5.0.3",
75
73
  "@vue/eslint-config-typescript": "12.0.0",
76
74
  "@vue/test-utils": "2.4.3",
77
75
  "cross-env": "7.0.3",
78
- "cypress": "13.6.2",
76
+ "cypress": "13.6.3",
79
77
  "eslint": "8.56.0",
80
- "eslint-plugin-vue": "9.19.2",
78
+ "eslint-plugin-vue": "9.20.1",
81
79
  "rollup-plugin-typescript2": "0.36.0",
82
- "sass": "1.69.7",
80
+ "sass": "1.70.0",
83
81
  "ts-node": "10.9.2",
84
82
  "tslib": "2.6.2",
85
83
  "typescript": "5.3.3",
86
- "vite": "5.0.11",
84
+ "vite": "5.0.12",
87
85
  "vite-plugin-compression": "0.5.1",
88
- "vite-plugin-dts": "3.7.0",
89
86
  "vue-tsc": "1.8.27"
90
87
  },
91
88
  "peerDependencies": {
Binary file
@@ -1,239 +0,0 @@
1
- import { k as L, r as M, c as J, o as t, l as u, D as Y, N as Z, F as ee, s as A, aa as N, ab as E, f as v, a2 as H, B as ae, m as g, w as le, x as $, z as e, p as o, J as k, y as te, n as y, a3 as I, T as z, A as O, C as T, q as S, h as ie, _ as j } from "./SelectField.vue_vue_type_style_index_0_lang-C-MscjWo.js";
2
- import { _ as ne } from "./DateField.vue_vue_type_style_index_0_lang-pLqbpoS_.js";
3
- import { E as q } from "./_-TlutFgf7.js";
4
- import { F as f } from "./Field-fWwF40rD.js";
5
- const oe = /* @__PURE__ */ L({
6
- __name: "_",
7
- props: {
8
- type: { default: "submit" }
9
- },
10
- emits: ["submit"],
11
- setup(h, { emit: a }) {
12
- const n = M(!1), r = a, c = h, { verifyRecaptcha: d } = J();
13
- function p() {
14
- n.value = !0, d({
15
- callback: D,
16
- type: c.type
17
- }).then(() => n.value = !1);
18
- }
19
- function D() {
20
- r("submit");
21
- }
22
- return (V, R) => (t(), u("form", {
23
- onSubmit: Z(p, ["prevent"])
24
- }, [
25
- Y(V.$slots, "default", { isLoading: n.value })
26
- ], 32));
27
- }
28
- }), se = {
29
- key: 0,
30
- class: "konnectio-availability-location"
31
- }, re = { id: "fresh-booking-availability-date-selection" }, ue = {
32
- key: 1,
33
- id: "fresh-booking-availability-guest-selection"
34
- }, ce = { id: "fresh-booking-availability-confirmation" }, de = /* @__PURE__ */ L({
35
- __name: "HotelAvailabilityForm",
36
- props: {
37
- booking: { type: Boolean, default: !1 },
38
- link: {}
39
- },
40
- setup(h) {
41
- const { t: a } = ee(), n = h, {
42
- adults: r,
43
- children: c,
44
- arrivalDate: d,
45
- departureDate: p,
46
- location: D,
47
- isExpired: V
48
- } = A(N()), { reset: R } = N(), { fetchAvailabilityData: G } = E(), { areListingsLoading: U, hotelList: K, hasHotelList: _ } = A(E()), {
49
- firstSelectableDateOffset: B,
50
- lastSelectableDateOffset: C,
51
- disableChildSelection: b,
52
- disableAdultSelection: m
53
- } = A(J()), w = M([]), P = v(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + (B.value - 1)))), fe = v(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + C.value))), ye = v(() => new Date((/* @__PURE__ */ new Date()).setDate(d.value.getDate() + B.value))), Q = v(() => new Date((/* @__PURE__ */ new Date()).setDate(d.value.getDate() + (C.value + 1)))), x = v(() => !(!m && r.value === 0)), W = v(() => typeof n.link != "string");
54
- function X() {
55
- if (n.booking === !1)
56
- if (W.value) {
57
- const s = ie();
58
- n.link[s] ? window.location.replace(n.link[s]) : n.link.en ? window.location.replace(n.link.en) : console.log("Sprog understøttes ikke");
59
- } else
60
- window.location.replace(n.link);
61
- else
62
- x.value && G();
63
- }
64
- return H(d, (s) => {
65
- const l = new Date(new Date(s).setDate(new Date(s).getDate() + 1));
66
- new Date(p.value) < l && (p.value = l);
67
- }), H(w, (s) => {
68
- d.value = s[0], p.value = s[1];
69
- }), ae(() => {
70
- V.value && R(), w.value = [d.value, p.value];
71
- }), (s, l) => (t(), g(oe, {
72
- id: "konnectio-availability-form",
73
- class: S({ reservation: s.booking }),
74
- type: "availability",
75
- onSubmit: X
76
- }, {
77
- default: le(({ isLoading: F }) => [
78
- $("ul", {
79
- id: "konnectio-availability-form-content",
80
- class: S([
81
- { "is-booking-page": s.booking },
82
- { "only-adult-guests": !e(m) && e(b) },
83
- { "only-child-guests": !e(b) && e(m) },
84
- { "no-guests": e(m) && e(b) },
85
- { "all-guests": !e(m) && !e(b) },
86
- { "has-location": e(_) }
87
- ])
88
- }, [
89
- e(_) ? (t(), u("li", se, [
90
- o(te, {
91
- modelValue: e(D),
92
- "onUpdate:modelValue": l[0] || (l[0] = (i) => k(D) ? D.value = i : null),
93
- label: e(a)("general.location"),
94
- icon: "location-dot",
95
- "icon-type": "fas",
96
- "icon-placement": "label",
97
- options: e(K),
98
- searchable: !1
99
- }, null, 8, ["modelValue", "label", "options"])
100
- ])) : y("", !0),
101
- $("li", re, [
102
- o(ne, {
103
- modelValue: w.value,
104
- "onUpdate:modelValue": l[1] || (l[1] = (i) => w.value = i),
105
- label: e(a)("availability.checkInOut"),
106
- "icon-type": "fas",
107
- "icon-placement": "label",
108
- "min-range": 1,
109
- "min-date": P.value,
110
- "max-date": Q.value,
111
- range: ""
112
- }, null, 8, ["modelValue", "label", "min-date", "max-date"]),
113
- y("", !0)
114
- ]),
115
- !e(m) || !e(b) ? (t(), u("li", ue, [
116
- e(m) ? y("", !0) : (t(), u(I, { key: 0 }, [
117
- e(_) ? (t(), g(z, {
118
- key: 0,
119
- modelValue: e(r),
120
- "onUpdate:modelValue": l[4] || (l[4] = (i) => k(r) ? r.value = i : null),
121
- label: e(a)("availability.adults"),
122
- description: e(a)("general.adultAgeRange"),
123
- "icon-type": "fas",
124
- "icon-placement": "label",
125
- name: "adults",
126
- icon: "male"
127
- }, null, 8, ["modelValue", "label", "description"])) : (t(), g(O, {
128
- key: 1,
129
- modelValue: e(r),
130
- "onUpdate:modelValue": l[5] || (l[5] = (i) => k(r) ? r.value = i : null),
131
- label: e(a)("availability.adults"),
132
- description: e(a)("general.adultAgeRange"),
133
- "icon-type": "fas",
134
- "icon-placement": "label",
135
- name: "adults",
136
- icon: "male"
137
- }, null, 8, ["modelValue", "label", "description"]))
138
- ], 64)),
139
- e(b) ? y("", !0) : (t(), u(I, { key: 1 }, [
140
- e(_) ? (t(), g(z, {
141
- key: 0,
142
- modelValue: e(c),
143
- "onUpdate:modelValue": l[6] || (l[6] = (i) => k(c) ? c.value = i : null),
144
- label: e(a)("availability.children"),
145
- description: e(a)("general.childAgeRange"),
146
- "icon-type": "fas",
147
- "icon-placement": "label",
148
- name: "children",
149
- icon: "child"
150
- }, null, 8, ["modelValue", "label", "description"])) : (t(), g(O, {
151
- key: 1,
152
- modelValue: e(c),
153
- "onUpdate:modelValue": l[7] || (l[7] = (i) => k(c) ? c.value = i : null),
154
- label: e(a)("availability.children"),
155
- description: e(a)("general.childAgeRange"),
156
- "icon-type": "fas",
157
- "icon-placement": "label",
158
- name: "children",
159
- icon: "child"
160
- }, null, 8, ["modelValue", "label", "description"]))
161
- ], 64))
162
- ])) : y("", !0),
163
- $("li", ce, [
164
- o(T, {
165
- class: "konnectio-availability-submit-small",
166
- type: "submit",
167
- icon: "search",
168
- "icon-type": "fas",
169
- disabled: !x.value,
170
- "is-loading": e(U) || F
171
- }, null, 8, ["disabled", "is-loading"]),
172
- o(T, {
173
- class: "konnectio-availability-submit-large",
174
- type: "submit",
175
- label: e(a)("availability.buttonLabel"),
176
- disabled: !x.value,
177
- "is-loading": e(U) || F
178
- }, null, 8, ["label", "disabled", "is-loading"])
179
- ])
180
- ], 2)
181
- ]),
182
- _: 1
183
- }, 8, ["class"]));
184
- }
185
- }), _e = /* @__PURE__ */ j(de, [["__scopeId", "data-v-9ec1beba"]]), me = { class: "availability-skeleton" }, pe = {
186
- key: 0,
187
- class: "availability-skeleton-navigation"
188
- }, be = {
189
- key: 2,
190
- class: "availability-skeleton-event"
191
- }, ve = /* @__PURE__ */ L({
192
- __name: "AvailabilitySkeleton",
193
- props: {
194
- view: { default: "hotel" },
195
- hotel: { type: Boolean, default: !1 }
196
- },
197
- setup(h) {
198
- return (a, n) => (t(), u("div", me, [
199
- a.view === "both" ? (t(), u("div", pe, [
200
- o(q, {
201
- height: "28px",
202
- width: "60px",
203
- "border-radius": "20px"
204
- }),
205
- o(q, {
206
- height: "28px",
207
- width: "60px",
208
- "border-radius": "20px"
209
- })
210
- ])) : y("", !0),
211
- a.view !== "event" ? (t(), u("div", {
212
- key: 1,
213
- class: S([
214
- "availability-skeleton-hotel",
215
- { "within-hotel": a.hotel }
216
- ])
217
- }, [
218
- o(f, { "with-icon": "" }),
219
- o(f, { "with-icon": "" }),
220
- o(f, { "with-icon": "" }),
221
- o(f, {
222
- "with-icon": "",
223
- "no-label": ""
224
- })
225
- ], 2)) : (t(), u("div", be, [
226
- o(f, { "with-icon": "" }),
227
- o(f, {
228
- "with-icon": "",
229
- "no-label": ""
230
- })
231
- ]))
232
- ]));
233
- }
234
- }), we = /* @__PURE__ */ j(ve, [["__scopeId", "data-v-be195a3f"]]);
235
- export {
236
- we as A,
237
- _e as H,
238
- oe as _
239
- };
Binary file
@@ -1,68 +0,0 @@
1
- var u = Object.defineProperty;
2
- var n = Object.getOwnPropertySymbols;
3
- var p = Object.prototype.hasOwnProperty, d = Object.prototype.propertyIsEnumerable;
4
- var a = (r, t, o) => t in r ? u(r, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : r[t] = o, l = (r, t) => {
5
- for (var o in t || (t = {}))
6
- p.call(t, o) && a(r, o, t[o]);
7
- if (n)
8
- for (var o of n(t))
9
- d.call(t, o) && a(r, o, t[o]);
10
- return r;
11
- };
12
- import { k as s, f as i, B as c, o as y, l as b, D as P, _ as C } from "./SelectField.vue_vue_type_style_index_0_lang-C-MscjWo.js";
13
- const g = { class: "konnectio-container" }, v = /* @__PURE__ */ s({
14
- __name: "Container",
15
- props: {
16
- styling: {}
17
- },
18
- setup(r) {
19
- const t = r, o = i(() => l({
20
- accentColor: "#6ab1e6",
21
- accentColorSecondary: "#dae9f8",
22
- buttonBackground: "#6ab1e6",
23
- buttonBorder: null,
24
- buttonBorderRadius: "4px",
25
- buttonColor: "#FFF",
26
- buttonFontFamily: "inherit",
27
- buttonFontSize: "14px",
28
- buttonFontWeight: "400",
29
- buttonIconColor: "#FFF",
30
- buttonTextTransform: "uppercase",
31
- dangerColor: "red",
32
- fontColor: "#3b3b3b",
33
- fontFamily: "inherit",
34
- fontSize: "16px",
35
- grayColor: "grey",
36
- headerColor: "#000",
37
- inputBorder: "1px solid rgba(0, 0, 0, 0.15)",
38
- inputBackground: "#f8f8f8",
39
- inputBorderWidth: "0px 0px 1px",
40
- inputBorderRadius: "6px",
41
- inputFontColor: "#000000",
42
- labelFontColor: "#000000",
43
- labelFontWeight: "bold",
44
- labelFontSize: "15px",
45
- labelPadding: "6px",
46
- linkColor: "#5d6dca",
47
- linkHoverColor: "#2e3d90",
48
- loadingColor: "#000",
49
- panelBackground: "#ffffff",
50
- panelBorder: null,
51
- panelBorderRadius: "5px",
52
- panelInnerPadding: "12px",
53
- panelMaxWidth: "none",
54
- panelPadding: "24px",
55
- panelShadow: "0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)",
56
- successColor: "green"
57
- }, t.styling));
58
- return c(() => {
59
- const e = document.documentElement.style;
60
- e.setProperty("--accentColor", o.value.accentColor), e.setProperty("--accentColorSecondary", o.value.accentColorSecondary), e.setProperty("--buttonBackground", o.value.buttonBackground), e.setProperty("--buttonBorder", o.value.buttonBorder), e.setProperty("--buttonBorderRadius", o.value.buttonBorderRadius), e.setProperty("--buttonColor", o.value.buttonColor), e.setProperty("--buttonFontFamily", o.value.buttonFontFamily), e.setProperty("--buttonFontSize", o.value.buttonFontSize), e.setProperty("--buttonFontWeight", o.value.buttonFontWeight), e.setProperty("--buttonTextTransform", o.value.buttonTextTransform), e.setProperty("--dangerColor", o.value.dangerColor), e.setProperty("--fontColor", o.value.fontColor), e.setProperty("--fontFamily", o.value.fontFamily), e.setProperty("--fontSize", o.value.fontSize), e.setProperty("--grayColor", o.value.grayColor), e.setProperty("--headerColor", o.value.headerColor), e.setProperty("--inputBackground", o.value.inputBackground), e.setProperty("--inputBorder", o.value.inputBorder), e.setProperty("--inputBorderRadius", o.value.inputBorderRadius), e.setProperty("--inputBorderWidth", o.value.inputBorderWidth), e.setProperty("--inputFontColor", o.value.inputFontColor), e.setProperty("--labelFontColor", o.value.labelFontColor), e.setProperty("--labelFontWeight", o.value.labelFontWeight), e.setProperty("--labelFontSize", o.value.labelFontSize), e.setProperty("--labelPadding", o.value.labelPadding), e.setProperty("--linkColor", o.value.linkColor), e.setProperty("--linkHoverColor", o.value.linkHoverColor), e.setProperty("--loadingColor", o.value.loadingColor), e.setProperty("--panelBackground", o.value.panelBackground), e.setProperty("--panelBorder", o.value.panelBorder), e.setProperty("--panelBorderRadius", o.value.panelBorderRadius), e.setProperty("--panelInnerPadding", o.value.panelInnerPadding), e.setProperty("--panelMaxWidth", o.value.panelMaxWidth), e.setProperty("--panelPadding", o.value.panelPadding), e.setProperty("--panelShadow", o.value.panelShadow), e.setProperty("--successColor", o.value.successColor);
61
- }), (e, B) => (y(), b("div", g, [
62
- P(e.$slots, "default", {}, void 0, !0)
63
- ]));
64
- }
65
- }), x = /* @__PURE__ */ C(v, [["__scopeId", "data-v-b8c97ab0"]]);
66
- export {
67
- x as C
68
- };
Binary file
Binary file
Binary file
@@ -1,34 +0,0 @@
1
- import { Option, Translatable, QuantityStrategy } from '../../types/index.js';
2
- /**
3
- * Sanitized special characters that courses I18n to break.
4
- * Documentation: https://vue-i18n.intlify.dev/guide/essentials/syntax.html#special-characters
5
- * @param str
6
- * @returns string
7
- */
8
- export declare function sanitizeTranslation(str: string): string;
9
- export declare function quantityStrategy(data: {
10
- strategy: QuantityStrategy;
11
- }): string | undefined;
12
- export declare function getPriceQuantityLabel(strategy: QuantityStrategy): string | undefined;
13
- export declare function getQuantityStrategyPrice(basePrice: number, strategy: QuantityStrategy, nights: number, adults?: number, children?: number): number;
14
- export declare function createTestName(name?: string): string | undefined;
15
- export declare function convertDescription(description?: string): string;
16
- export declare function convertIdToNameTitle(id: number): Translatable;
17
- export declare function b2a(a: string): string;
18
- export declare function a2b(a: string): string;
19
- export declare function lowercase(string: string): string;
20
- export declare function convertTimestampToISOString(timestamp: number): string;
21
- export declare function daysBetweenDates(first: string | Date, second: string | Date): number;
22
- export declare function getUserLanguage(useCountryCode?: boolean): string;
23
- export declare function isEmpty(obj: any): boolean;
24
- export declare function isArray(array: unknown): boolean;
25
- export declare function getOption(array: Array<Option>, id: string | number): Option;
26
- export declare function ranId(length?: number): string;
27
- export declare function showDate(date: string | Date, offset?: number): string;
28
- export declare function showDay(days: string): string;
29
- export declare function showDates(fromDate: string, toDate: string, isDanishFormat?: boolean): string;
30
- export declare function showTime(time: string): string;
31
- export declare function showTimes(fromTime: string, toTime: string): string;
32
- export declare function showPrice(price: number, currency: string): string;
33
- export declare function convertToBoolean(prop: string | boolean): boolean;
34
- export declare function capitalized(title: string): string;
@@ -1,3 +0,0 @@
1
- export * from './entries/availability'
2
- import _default from './entries/availability'
3
- export default _default
@@ -1,28 +0,0 @@
1
- interface Props {
2
- localDomain?: string;
3
- }
4
- declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
5
- localDomain: string;
6
- }>, {}, unknown, {}, {}, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../vue/dist/vue.esm-bundler.js').ComponentCustomProps, Readonly<import('../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
7
- localDomain: string;
8
- }>>>, {
9
- localDomain: string;
10
- }, {}>;
11
- export default _default;
12
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
- type __VLS_TypePropsToRuntimeProps<T> = {
14
- [K in keyof T]-?: {} extends Pick<T, K> ? {
15
- type: import('../../vue/dist/vue.esm-bundler.js').PropType<__VLS_NonUndefinedable<T[K]>>;
16
- } : {
17
- type: import('../../vue/dist/vue.esm-bundler.js').PropType<T[K]>;
18
- required: true;
19
- };
20
- };
21
- type __VLS_WithDefaults<P, D> = {
22
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
23
- default: D[K];
24
- }> : P[K];
25
- };
26
- type __VLS_Prettify<T> = {
27
- [K in keyof T]: T[K];
28
- } & {};
@@ -1 +0,0 @@
1
- {"version":3,"file":"Alert.vue.d.ts","sourceRoot":"","sources":["../../src/components/Alert.vue"],"names":[],"mappings":"AACA,cAAc,qGAAqG,CAAC;AACpH,OAAO,mHAAmH,CAAC;;AAE3H,wBAA0F"}
@@ -1,60 +0,0 @@
1
- type buttonType = 'button' | 'submit' | 'reset' | undefined;
2
- interface Props {
3
- label?: string;
4
- type?: buttonType;
5
- icon?: string;
6
- iconType?: string;
7
- iconColor?: string;
8
- tabindex?: string;
9
- fullWidth?: boolean;
10
- disabled?: boolean;
11
- secondary?: boolean;
12
- isLoading?: boolean;
13
- }
14
- declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
15
- type: string;
16
- iconType: string;
17
- tabindex: string;
18
- fullWidth: boolean;
19
- disabled: boolean;
20
- secondary: boolean;
21
- isLoading: boolean;
22
- }>, {}, unknown, {}, {}, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
23
- "click-event": (...args: any[]) => void;
24
- }, string, import('../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../vue/dist/vue.esm-bundler.js').ComponentCustomProps, Readonly<import('../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
25
- type: string;
26
- iconType: string;
27
- tabindex: string;
28
- fullWidth: boolean;
29
- disabled: boolean;
30
- secondary: boolean;
31
- isLoading: boolean;
32
- }>>> & {
33
- "onClick-event"?: ((...args: any[]) => any) | undefined;
34
- }, {
35
- type: "button" | "submit" | "reset";
36
- iconType: string;
37
- tabindex: string;
38
- fullWidth: boolean;
39
- disabled: boolean;
40
- secondary: boolean;
41
- isLoading: boolean;
42
- }, {}>;
43
- export default _default;
44
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
45
- type __VLS_TypePropsToRuntimeProps<T> = {
46
- [K in keyof T]-?: {} extends Pick<T, K> ? {
47
- type: import('../../vue/dist/vue.esm-bundler.js').PropType<__VLS_NonUndefinedable<T[K]>>;
48
- } : {
49
- type: import('../../vue/dist/vue.esm-bundler.js').PropType<T[K]>;
50
- required: true;
51
- };
52
- };
53
- type __VLS_WithDefaults<P, D> = {
54
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
55
- default: D[K];
56
- }> : P[K];
57
- };
58
- type __VLS_Prettify<T> = {
59
- [K in keyof T]: T[K];
60
- } & {};
@@ -1 +0,0 @@
1
- {"version":3,"file":"Clickable.vue.d.ts","sourceRoot":"","sources":["../../src/components/Clickable.vue"],"names":[],"mappings":"AACA,cAAc,yGAAyG,CAAC;AACxH,OAAO,uHAAuH,CAAC;;AAE/H,wBAA0F"}
@@ -1,23 +0,0 @@
1
- import { KonnectioStyling } from '../types/index.js';
2
- declare const _default: __VLS_WithTemplateSlots<import('../../vue/dist/vue.esm-bundler.js').DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
- styling?: Partial<KonnectioStyling> | undefined;
4
- }>, {}, unknown, {}, {}, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../vue/dist/vue.esm-bundler.js').ComponentCustomProps, Readonly<import('../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
- styling?: Partial<KonnectioStyling> | undefined;
6
- }>>>, {}, {}>, {
7
- default?(_: {}): any;
8
- }>;
9
- export default _default;
10
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
11
- type __VLS_TypePropsToRuntimeProps<T> = {
12
- [K in keyof T]-?: {} extends Pick<T, K> ? {
13
- type: import('../../vue/dist/vue.esm-bundler.js').PropType<__VLS_NonUndefinedable<T[K]>>;
14
- } : {
15
- type: import('../../vue/dist/vue.esm-bundler.js').PropType<T[K]>;
16
- required: true;
17
- };
18
- };
19
- type __VLS_WithTemplateSlots<T, S> = T & {
20
- new (): {
21
- $slots: S;
22
- };
23
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"Container.vue.d.ts","sourceRoot":"","sources":["../../src/components/Container.vue"],"names":[],"mappings":"AACA,cAAc,yGAAyG,CAAC;AACxH,OAAO,uHAAuH,CAAC;;AAE/H,wBAA0F"}
@@ -1,15 +0,0 @@
1
- interface Props {
2
- title: string;
3
- description: string;
4
- }
5
- declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../vue/dist/vue.esm-bundler.js').ComponentCustomProps, Readonly<import('../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>;
6
- export default _default;
7
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
- type __VLS_TypePropsToRuntimeProps<T> = {
9
- [K in keyof T]-?: {} extends Pick<T, K> ? {
10
- type: import('../../vue/dist/vue.esm-bundler.js').PropType<__VLS_NonUndefinedable<T[K]>>;
11
- } : {
12
- type: import('../../vue/dist/vue.esm-bundler.js').PropType<T[K]>;
13
- required: true;
14
- };
15
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"ErrorMessage.vue.d.ts","sourceRoot":"","sources":["../../src/components/ErrorMessage.vue"],"names":[],"mappings":"AACA,cAAc,4GAA4G,CAAC;AAC3H,OAAO,0HAA0H,CAAC;;AAElI,wBAA0F"}
@@ -1,31 +0,0 @@
1
- import { FreshBookingImage } from '../types/index.js';
2
- type gallerySize = 'small' | 'large';
3
- interface Props {
4
- gallery: Array<FreshBookingImage>;
5
- size?: gallerySize;
6
- }
7
- declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
8
- size: string;
9
- }>, {}, unknown, {}, {}, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../vue/dist/vue.esm-bundler.js').ComponentCustomProps, Readonly<import('../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
10
- size: string;
11
- }>>>, {
12
- size: gallerySize;
13
- }, {}>;
14
- export default _default;
15
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
- type __VLS_TypePropsToRuntimeProps<T> = {
17
- [K in keyof T]-?: {} extends Pick<T, K> ? {
18
- type: import('../../vue/dist/vue.esm-bundler.js').PropType<__VLS_NonUndefinedable<T[K]>>;
19
- } : {
20
- type: import('../../vue/dist/vue.esm-bundler.js').PropType<T[K]>;
21
- required: true;
22
- };
23
- };
24
- type __VLS_WithDefaults<P, D> = {
25
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
26
- default: D[K];
27
- }> : P[K];
28
- };
29
- type __VLS_Prettify<T> = {
30
- [K in keyof T]: T[K];
31
- } & {};
@@ -1 +0,0 @@
1
- {"version":3,"file":"Gallery.vue.d.ts","sourceRoot":"","sources":["../../src/components/Gallery.vue"],"names":[],"mappings":"AACA,cAAc,uGAAuG,CAAC;AACtH,OAAO,qHAAqH,CAAC;;AAE7H,wBAA0F"}
@@ -1,2 +0,0 @@
1
- declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<{}, {}, {}, {}, {}, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../vue/dist/vue.esm-bundler.js').ComponentCustomProps, Readonly<import('../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{}>>, {}, {}>;
2
- export default _default;
@@ -1 +0,0 @@
1
- {"version":3,"file":"GoogleNotice.vue.d.ts","sourceRoot":"","sources":["../../src/components/GoogleNotice.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,4GAA4G,CAAC;AACnI,cAAc,4GAA4G,CAAC;AAI3H,eAAe,SAAS,CAAC"}