@konnectio/core 4.0.56-rc6 → 4.0.56-rc61

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 (195) hide show
  1. package/dist/{ActionField-YyW_C34E.js → ActionField-tyBtuplH.js} +43 -34
  2. package/dist/ActionField-tyBtuplH.js.br +0 -0
  3. package/dist/AvailabilitySkeleton-xblTQw-r.js +294 -0
  4. package/dist/AvailabilitySkeleton-xblTQw-r.js.br +0 -0
  5. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DLNeZBMq.js +8213 -0
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DLNeZBMq.js.br +0 -0
  7. package/dist/CheckoutWindow-DwDO_UFI.js +677 -0
  8. package/dist/CheckoutWindow-DwDO_UFI.js.br +0 -0
  9. package/dist/ErrorMessage-D3V2b1FO.js +45 -0
  10. package/dist/ErrorMessage-D3V2b1FO.js.br +0 -0
  11. package/dist/EventAvailabilityForm-CX8mAHaL.js +117 -0
  12. package/dist/EventAvailabilityForm-CX8mAHaL.js.br +0 -0
  13. package/dist/Field-CtZJY_BD.js +50 -0
  14. package/dist/Field-CtZJY_BD.js.br +0 -0
  15. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BczeCv48.js +18601 -0
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BczeCv48.js.br +0 -0
  17. package/dist/TermsOfService-CAxlHXFH.js +36 -0
  18. package/dist/TermsOfService-CAxlHXFH.js.br +0 -0
  19. package/dist/_-BXd9hTZB.js +12 -0
  20. package/dist/_.vue_vue_type_style_index_0_lang-3b7FP_Lh.js +69 -0
  21. package/dist/_.vue_vue_type_style_index_0_lang-3b7FP_Lh.js.br +0 -0
  22. package/dist/_commonjsHelpers-20l0ha8g.js +17 -0
  23. package/dist/_sentry-release-injection-file-Cbnp5q97.js +9524 -0
  24. package/dist/_sentry-release-injection-file-Cbnp5q97.js.br +0 -0
  25. package/dist/availability.js +90 -140
  26. package/dist/availability.js.br +0 -0
  27. package/dist/deep-link.js +62 -0
  28. package/dist/deep-link.js.br +0 -0
  29. package/dist/event.js +790 -500
  30. package/dist/event.js.br +0 -0
  31. package/dist/gift-card-validation.js +113 -68
  32. package/dist/gift-card-validation.js.br +0 -0
  33. package/dist/gift-card.js +353 -409
  34. package/dist/gift-card.js.br +0 -0
  35. package/dist/giftCard-IDe0Joiw.js +134 -0
  36. package/dist/giftCard-IDe0Joiw.js.br +0 -0
  37. package/dist/hotel.js +1516 -2445
  38. package/dist/hotel.js.br +0 -0
  39. package/dist/masonry.plugin-Bb8vdNgz.js +12782 -0
  40. package/dist/masonry.plugin-Bb8vdNgz.js.br +0 -0
  41. package/dist/mitt-CMHUNNN-.js +2953 -0
  42. package/dist/mitt-CMHUNNN-.js.br +0 -0
  43. package/dist/polyfill.js +15079 -4765
  44. package/dist/polyfill.js.br +0 -0
  45. package/dist/style.css +1 -1
  46. package/dist/style.css.br +0 -0
  47. package/dist/tracing-SGZEiE7O.js +2287 -0
  48. package/dist/tracing-SGZEiE7O.js.br +0 -0
  49. package/package.json +48 -42
  50. package/dist/ActionField-YyW_C34E.js.br +0 -0
  51. package/dist/AvailabilitySkeleton-lYcDX41T.js +0 -239
  52. package/dist/AvailabilitySkeleton-lYcDX41T.js.br +0 -0
  53. package/dist/CheckoutWindow-T7-vrZyG.js +0 -205
  54. package/dist/CheckoutWindow-T7-vrZyG.js.br +0 -0
  55. package/dist/Container-w7O0He-s.js +0 -68
  56. package/dist/Container-w7O0He-s.js.br +0 -0
  57. package/dist/DateField.vue_vue_type_style_index_0_lang-pLqbpoS_.js +0 -8566
  58. package/dist/DateField.vue_vue_type_style_index_0_lang-pLqbpoS_.js.br +0 -0
  59. package/dist/Field-fWwF40rD.js +0 -42
  60. package/dist/Field-fWwF40rD.js.br +0 -0
  61. package/dist/SelectField.vue_vue_type_style_index_0_lang-C-MscjWo.js +0 -30461
  62. package/dist/SelectField.vue_vue_type_style_index_0_lang-C-MscjWo.js.br +0 -0
  63. package/dist/ThankYou-pUA2X7-4.js +0 -13316
  64. package/dist/ThankYou-pUA2X7-4.js.br +0 -0
  65. package/dist/_-TlutFgf7.js +0 -19
  66. package/dist/_commonjsHelpers-4t9S7M5p.js +0 -30
  67. package/dist/assets/typescript/mixins.d.ts +0 -34
  68. package/dist/availability.d.ts +0 -3
  69. package/dist/components/Alert.vue.d.ts +0 -28
  70. package/dist/components/Alert.vue.d.ts.map +0 -1
  71. package/dist/components/Clickable.vue.d.ts +0 -60
  72. package/dist/components/Clickable.vue.d.ts.map +0 -1
  73. package/dist/components/Container.vue.d.ts +0 -23
  74. package/dist/components/Container.vue.d.ts.map +0 -1
  75. package/dist/components/ErrorMessage.vue.d.ts +0 -15
  76. package/dist/components/ErrorMessage.vue.d.ts.map +0 -1
  77. package/dist/components/Gallery.vue.d.ts +0 -31
  78. package/dist/components/Gallery.vue.d.ts.map +0 -1
  79. package/dist/components/GoogleNotice.vue.d.ts +0 -2
  80. package/dist/components/GoogleNotice.vue.d.ts.map +0 -1
  81. package/dist/components/Icon.vue.d.ts +0 -38
  82. package/dist/components/Icon.vue.d.ts.map +0 -1
  83. package/dist/components/Loading.vue.d.ts +0 -29
  84. package/dist/components/Loading.vue.d.ts.map +0 -1
  85. package/dist/components/Spinner.vue.d.ts +0 -2
  86. package/dist/components/Spinner.vue.d.ts.map +0 -1
  87. package/dist/components/forms/EventAvailabilityForm.vue.d.ts +0 -18
  88. package/dist/components/forms/EventAvailabilityForm.vue.d.ts.map +0 -1
  89. package/dist/components/forms/HotelAvailabilityForm.vue.d.ts +0 -34
  90. package/dist/components/forms/HotelAvailabilityForm.vue.d.ts.map +0 -1
  91. package/dist/components/forms/HotelReservationForm.vue.d.ts +0 -41
  92. package/dist/components/forms/HotelReservationForm.vue.d.ts.map +0 -1
  93. package/dist/components/forms/MultiStepForm.vue.d.ts +0 -43
  94. package/dist/components/forms/MultiStepForm.vue.d.ts.map +0 -1
  95. package/dist/components/forms/ReservationForm.vue.d.ts +0 -63
  96. package/dist/components/forms/ReservationForm.vue.d.ts.map +0 -1
  97. package/dist/components/forms/_.vue.d.ts +0 -42
  98. package/dist/components/forms/_.vue.d.ts.map +0 -1
  99. package/dist/components/inputs/Checkbox.vue.d.ts +0 -55
  100. package/dist/components/inputs/Checkbox.vue.d.ts.map +0 -1
  101. package/dist/components/inputs/CheckboxField.vue.d.ts +0 -29
  102. package/dist/components/inputs/CheckboxField.vue.d.ts.map +0 -1
  103. package/dist/components/inputs/DateField.vue.d.ts +0 -104
  104. package/dist/components/inputs/DateField.vue.d.ts.map +0 -1
  105. package/dist/components/inputs/InputField.vue.d.ts +0 -62
  106. package/dist/components/inputs/InputField.vue.d.ts.map +0 -1
  107. package/dist/components/inputs/MediaSelector.vue.d.ts +0 -43
  108. package/dist/components/inputs/MediaSelector.vue.d.ts.map +0 -1
  109. package/dist/components/inputs/NumberField.vue.d.ts +0 -87
  110. package/dist/components/inputs/NumberField.vue.d.ts.map +0 -1
  111. package/dist/components/inputs/SelectField.vue.d.ts +0 -90
  112. package/dist/components/inputs/SelectField.vue.d.ts.map +0 -1
  113. package/dist/components/inputs/TextField.vue.d.ts +0 -68
  114. package/dist/components/inputs/TextField.vue.d.ts.map +0 -1
  115. package/dist/components/inputs/TimeField.vue.d.ts +0 -44
  116. package/dist/components/inputs/TimeField.vue.d.ts.map +0 -1
  117. package/dist/components/inputs/grouped/ActionField.vue.d.ts +0 -72
  118. package/dist/components/inputs/grouped/ActionField.vue.d.ts.map +0 -1
  119. package/dist/components/inputs/grouped/CountryField.vue.d.ts +0 -41
  120. package/dist/components/inputs/grouped/CountryField.vue.d.ts.map +0 -1
  121. package/dist/components/inputs/grouped/NameField.vue.d.ts +0 -71
  122. package/dist/components/inputs/grouped/NameField.vue.d.ts.map +0 -1
  123. package/dist/components/inputs/grouped/PhoneField.vue.d.ts +0 -51
  124. package/dist/components/inputs/grouped/PhoneField.vue.d.ts.map +0 -1
  125. package/dist/components/inputs/grouped/RoomConfigField.vue.d.ts +0 -47
  126. package/dist/components/inputs/grouped/RoomConfigField.vue.d.ts.map +0 -1
  127. package/dist/components/listings/Base.vue.d.ts +0 -56
  128. package/dist/components/listings/Base.vue.d.ts.map +0 -1
  129. package/dist/components/listings/Event.vue.d.ts +0 -47
  130. package/dist/components/listings/Event.vue.d.ts.map +0 -1
  131. package/dist/components/listings/Hotel.vue.d.ts +0 -16
  132. package/dist/components/listings/Hotel.vue.d.ts.map +0 -1
  133. package/dist/components/listings/Template.vue.d.ts +0 -21
  134. package/dist/components/listings/Template.vue.d.ts.map +0 -1
  135. package/dist/components/side-panels/Base.vue.d.ts +0 -61
  136. package/dist/components/side-panels/Base.vue.d.ts.map +0 -1
  137. package/dist/components/side-panels/ListingInfo.vue.d.ts +0 -18
  138. package/dist/components/side-panels/ListingInfo.vue.d.ts.map +0 -1
  139. package/dist/components/side-panels/Template.vue.d.ts +0 -18
  140. package/dist/components/side-panels/Template.vue.d.ts.map +0 -1
  141. package/dist/components/side-panels/TermsOfService.vue.d.ts +0 -14
  142. package/dist/components/side-panels/TermsOfService.vue.d.ts.map +0 -1
  143. package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts +0 -33
  144. package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts.map +0 -1
  145. package/dist/components/skeletons/Field.vue.d.ts +0 -36
  146. package/dist/components/skeletons/Field.vue.d.ts.map +0 -1
  147. package/dist/components/skeletons/GiftCardSkeleton.vue.d.ts +0 -2
  148. package/dist/components/skeletons/GiftCardSkeleton.vue.d.ts.map +0 -1
  149. package/dist/components/skeletons/HotelSkeleton.vue.d.ts +0 -2
  150. package/dist/components/skeletons/HotelSkeleton.vue.d.ts.map +0 -1
  151. package/dist/components/skeletons/Listing.vue.d.ts +0 -2
  152. package/dist/components/skeletons/Listing.vue.d.ts.map +0 -1
  153. package/dist/components/skeletons/Sidebar.vue.d.ts +0 -2
  154. package/dist/components/skeletons/Sidebar.vue.d.ts.map +0 -1
  155. package/dist/components/skeletons/_.vue.d.ts +0 -36
  156. package/dist/components/skeletons/_.vue.d.ts.map +0 -1
  157. package/dist/components/views/CheckoutWindow.vue.d.ts +0 -2
  158. package/dist/components/views/CheckoutWindow.vue.d.ts.map +0 -1
  159. package/dist/components/views/TermsOfService.vue.d.ts +0 -2
  160. package/dist/components/views/TermsOfService.vue.d.ts.map +0 -1
  161. package/dist/components/views/ThankYou.vue.d.ts +0 -15
  162. package/dist/components/views/ThankYou.vue.d.ts.map +0 -1
  163. package/dist/entries/availability.d.ts +0 -5
  164. package/dist/entries/event.d.ts +0 -2
  165. package/dist/entries/gift-card-validation.d.ts +0 -5
  166. package/dist/entries/gift-card.d.ts +0 -5
  167. package/dist/entries/hotel.d.ts +0 -5
  168. package/dist/entries/navigation.d.ts +0 -1
  169. package/dist/entries/polyfill.d.ts +0 -0
  170. package/dist/event-mDcuoL9g.js +0 -358
  171. package/dist/event-mDcuoL9g.js.br +0 -0
  172. package/dist/event.d.ts +0 -3
  173. package/dist/gift-card-validation.d.ts +0 -3
  174. package/dist/gift-card.d.ts +0 -3
  175. package/dist/hotel.d.ts +0 -3
  176. package/dist/layouts/Availability.vue.d.ts +0 -25
  177. package/dist/layouts/Event.vue.d.ts +0 -18
  178. package/dist/layouts/GiftCard.vue.d.ts +0 -32
  179. package/dist/layouts/GiftCardValidation.vue.d.ts +0 -18
  180. package/dist/layouts/Hotel.vue.d.ts +0 -36
  181. package/dist/layouts/_.vue.d.ts +0 -39
  182. package/dist/navigation.d.ts +0 -1
  183. package/dist/navigation.js +0 -1
  184. package/dist/plugins/i18n.d.ts +0 -5
  185. package/dist/polyfill.d.ts +0 -1
  186. package/dist/store/alert.d.ts +0 -28
  187. package/dist/store/applyGiftCard.d.ts +0 -28
  188. package/dist/store/availability.d.ts +0 -40
  189. package/dist/store/event.d.ts +0 -683
  190. package/dist/store/giftCard.d.ts +0 -83
  191. package/dist/store/payment.d.ts +0 -139
  192. package/dist/store/recaptcha.d.ts +0 -28
  193. package/dist/store/tracking.d.ts +0 -57
  194. package/dist/store/utilities.d.ts +0 -350
  195. package/dist/types/index.d.ts +0 -976
@@ -1,36 +0,0 @@
1
- interface Props {
2
- withIcon?: boolean;
3
- noLabel?: boolean;
4
- isTextArea?: boolean;
5
- }
6
- declare const _default: import('../../../vue/dist/vue.esm-bundler.js').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
7
- withIcon: boolean;
8
- noLabel: boolean;
9
- isTextArea: boolean;
10
- }>, {}, 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>, {
11
- withIcon: boolean;
12
- noLabel: boolean;
13
- isTextArea: boolean;
14
- }>>>, {
15
- withIcon: boolean;
16
- noLabel: boolean;
17
- isTextArea: boolean;
18
- }, {}>;
19
- export default _default;
20
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
21
- type __VLS_TypePropsToRuntimeProps<T> = {
22
- [K in keyof T]-?: {} extends Pick<T, K> ? {
23
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<__VLS_NonUndefinedable<T[K]>>;
24
- } : {
25
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<T[K]>;
26
- required: true;
27
- };
28
- };
29
- type __VLS_WithDefaults<P, D> = {
30
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
31
- default: D[K];
32
- }> : P[K];
33
- };
34
- type __VLS_Prettify<T> = {
35
- [K in keyof T]: T[K];
36
- } & {};
@@ -1 +0,0 @@
1
- {"version":3,"file":"Field.vue.d.ts","sourceRoot":"","sources":["../../../src/components/skeletons/Field.vue"],"names":[],"mappings":"AACA,cAAc,+GAA+G,CAAC;AAC9H,OAAO,6HAA6H,CAAC;;AAErI,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":"GiftCardSkeleton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/skeletons/GiftCardSkeleton.vue"],"names":[],"mappings":"AACA,cAAc,0HAA0H,CAAC;AACzI,OAAO,wIAAwI,CAAC;;AAEhJ,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":"HotelSkeleton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/skeletons/HotelSkeleton.vue"],"names":[],"mappings":"AACA,cAAc,uHAAuH,CAAC;AACtI,OAAO,qIAAqI,CAAC;;AAE7I,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":"Listing.vue.d.ts","sourceRoot":"","sources":["../../../src/components/skeletons/Listing.vue"],"names":[],"mappings":"AACA,cAAc,iHAAiH,CAAC;AAChI,OAAO,+HAA+H,CAAC;;AAEvI,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":"Sidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/skeletons/Sidebar.vue"],"names":[],"mappings":"AACA,cAAc,iHAAiH,CAAC;AAChI,OAAO,+HAA+H,CAAC;;AAEvI,wBAA0F"}
@@ -1,36 +0,0 @@
1
- interface Props {
2
- height?: string;
3
- width?: string;
4
- borderRadius?: string;
5
- }
6
- declare const _default: import('../../../vue/dist/vue.esm-bundler.js').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
7
- height: string;
8
- width: string;
9
- borderRadius: string;
10
- }>, {}, 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>, {
11
- height: string;
12
- width: string;
13
- borderRadius: string;
14
- }>>>, {
15
- width: string;
16
- height: string;
17
- borderRadius: string;
18
- }, {}>;
19
- export default _default;
20
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
21
- type __VLS_TypePropsToRuntimeProps<T> = {
22
- [K in keyof T]-?: {} extends Pick<T, K> ? {
23
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<__VLS_NonUndefinedable<T[K]>>;
24
- } : {
25
- type: import('../../../vue/dist/vue.esm-bundler.js').PropType<T[K]>;
26
- required: true;
27
- };
28
- };
29
- type __VLS_WithDefaults<P, D> = {
30
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
31
- default: D[K];
32
- }> : P[K];
33
- };
34
- type __VLS_Prettify<T> = {
35
- [K in keyof T]: T[K];
36
- } & {};
@@ -1 +0,0 @@
1
- {"version":3,"file":"_.vue.d.ts","sourceRoot":"","sources":["../../../src/components/skeletons/_.vue"],"names":[],"mappings":"AACA,cAAc,2GAA2G,CAAC;AAC1H,OAAO,yHAAyH,CAAC;;AAEjI,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":"CheckoutWindow.vue.d.ts","sourceRoot":"","sources":["../../../src/components/views/CheckoutWindow.vue"],"names":[],"mappings":"AACA,cAAc,oHAAoH,CAAC;AACnI,OAAO,kIAAkI,CAAC;;AAE1I,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":"TermsOfService.vue.d.ts","sourceRoot":"","sources":["../../../src/components/views/TermsOfService.vue"],"names":[],"mappings":"AACA,cAAc,oHAAoH,CAAC;AACnI,OAAO,kIAAkI,CAAC;;AAE1I,wBAA0F"}
@@ -1,15 +0,0 @@
1
- declare const _default: import('../../../vue/dist/vue.esm-bundler.js').DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
- message: string;
3
- }>, {}, 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<{
4
- message: string;
5
- }>>>, {}, {}>;
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":"ThankYou.vue.d.ts","sourceRoot":"","sources":["../../../src/components/views/ThankYou.vue"],"names":[],"mappings":"AACA,cAAc,8GAA8G,CAAC;AAC7H,OAAO,4HAA4H,CAAC;;AAEpI,wBAA0F"}
@@ -1,5 +0,0 @@
1
- declare class CustomElement extends HTMLElement {
2
- constructor();
3
- connectedCallback(): void;
4
- }
5
- export default CustomElement;
@@ -1,2 +0,0 @@
1
- declare const app: import('../../vue/dist/vue.esm-bundler.js').App<Element>;
2
- export default app;
@@ -1,5 +0,0 @@
1
- declare class CustomElement extends HTMLElement {
2
- constructor();
3
- connectedCallback(): void;
4
- }
5
- export default CustomElement;
@@ -1,5 +0,0 @@
1
- declare class CustomElement extends HTMLElement {
2
- constructor();
3
- connectedCallback(): void;
4
- }
5
- export default CustomElement;
@@ -1,5 +0,0 @@
1
- declare class CustomElement extends HTMLElement {
2
- constructor();
3
- connectedCallback(): void;
4
- }
5
- export default CustomElement;
@@ -1 +0,0 @@
1
- export {};
File without changes
@@ -1,358 +0,0 @@
1
- var I = (M, B, v) => new Promise((y, p) => {
2
- var m = (l) => {
3
- try {
4
- o(v.next(l));
5
- } catch (P) {
6
- p(P);
7
- }
8
- }, t = (l) => {
9
- try {
10
- o(v.throw(l));
11
- } catch (P) {
12
- p(P);
13
- }
14
- }, o = (l) => l.done ? y(l.value) : Promise.resolve(l.value).then(m, t);
15
- o((v = v.apply(M, B)).next());
16
- });
17
- import { d as Ge, u as Ue, s as ue, a as _e, b as qe, c as Ke, r as u, E as d, e as Q, f as a, O as ie, S as H, g as xe, h as $, i as F, j as S } from "./SelectField.vue_vue_type_style_index_0_lang-C-MscjWo.js";
18
- const He = Ge("event", () => {
19
- const M = Ue(), { voucher: B } = ue(_e()), { display: v } = qe(), { bearerToken: y } = ue(Ke()), p = u({}), m = u({}), t = u(void 0), o = u(!0), l = u(d.InitialState), P = u(/* @__PURE__ */ new Date()), O = u(NaN), R = u(1), w = u(NaN), J = u(NaN), N = u(""), V = Q("konnectio_name", "", void 0, { serializer: H.string }), L = Q("konnectio_phone", "", void 0, { serializer: H.string }), G = Q("konnectio_email", "", void 0, { serializer: H.string }), W = u(""), A = u({}), b = u({}), U = u("");
20
- function s(e) {
21
- return e.templateID !== void 0;
22
- }
23
- const ve = a(() => p.value.currency), ce = a(() => p.value.maxNumberPerBooking), de = a(() => p.value.title), pe = a(() => p.value.subtitle), ge = a(() => p.value.slideshow), C = a(() => P.value.toISOString()), me = a(() => s(t.value)), _ = a(() => s(t.value) ? t.value.numberOfDays : R.value), fe = a(() => s(t.value) ? t.value.packageCount : 0), he = a(() => s(t.value) ? t.value.fromDate : ""), D = a(() => m.value.events.find((e) => e.id === w.value)), ye = a(() => D.value ? D.value.length : void 0), X = a(() => s(t.value) ? t.value.templateID : 0), be = a(() => m.value.events), ke = a(() => m.value.templates), De = a(() => m.value.events.length > 0), Ie = a(() => m.value.templates.length > 0), Y = a(() => D.value && D.value.eventRateType ? D.value.eventRateType : ie.None), q = a(() => {
24
- if (!s(t.value))
25
- return t.value;
26
- }), Z = a(() => {
27
- if (q.value !== void 0) {
28
- const e = q.value.find(
29
- (n) => n.time === N.value
30
- );
31
- if (e && e.price)
32
- return e.price;
33
- }
34
- return 0;
35
- }), ee = a(() => {
36
- if (s(t.value))
37
- return t.value.templateCounts;
38
- }), Se = a(() => (e) => p.value.eventImages.filter((n) => n.eventID === e));
39
- function K(e, n, i) {
40
- var f, T;
41
- let g = 0;
42
- if (s(t.value)) {
43
- const h = t.value.templateCounts[i];
44
- if (h) {
45
- const c = h.addons, k = A.value[`${n}.${e}.${i}`] || 0;
46
- if (k > 0) {
47
- const r = c == null ? void 0 : c.find((z) => z.addonID === e), E = typeof k == "boolean" ? 1 : k;
48
- g += xe(r == null ? void 0 : r.price, r == null ? void 0 : r.quantityStrategy, _.value, h.adultPerRoom) * E;
49
- }
50
- }
51
- } else {
52
- const h = b.value[e] || 0;
53
- if (h > 0) {
54
- const c = (T = (f = D.value) == null ? void 0 : f.products) == null ? void 0 : T.find((k) => k.productID === e);
55
- c && (g += c.price * h);
56
- }
57
- }
58
- return g;
59
- }
60
- function x(e, n) {
61
- let i = 0;
62
- if (s(t.value))
63
- for (const g in A.value) {
64
- const f = g.split(".");
65
- parseInt(f[0]) === e && parseInt(f[2]) === n && (i += K(parseInt(f[1]), e, n));
66
- }
67
- else
68
- for (const g in b.value)
69
- i += K(parseInt(g)) * R.value;
70
- return i;
71
- }
72
- const te = a(() => s(t.value) && t.value.totalPrice || 0), Pe = a(() => {
73
- if (s(t.value))
74
- return t.value.templateCounts === void 0 ? NaN : t.value.templateCounts.flatMap((e) => e.roomGroupID).reduce(
75
- (e, n, i) => e + x(n, i),
76
- te.value
77
- ) || 0;
78
- {
79
- let e = x();
80
- return e += Z.value, e;
81
- }
82
- }), we = a(() => s(t.value) && t.value.templateCounts !== void 0 && t.value.templateCounts.flatMap((e) => e.weekendFee).reduce((e, n) => e + n, 0) || 0), Ae = a(() => s(t.value) && t.value.templateCounts !== void 0 && t.value.templateCounts.flatMap((e) => e.roomUpgrade).reduce((e, n) => e + n, 0) || 0), Ce = a(() => {
83
- const e = b.value;
84
- let n = 0;
85
- for (const i in e)
86
- n += Number.isNaN(e[i]) ? 0 : e[i];
87
- return n > 0;
88
- }), ae = a(() => s(t.value) ? !1 : Object.keys(b.value).length > 0), Ee = a(() => !!(V.value !== "" && G.value !== "" && L.value.length >= 5 && (!ae.value || Ce.value) && (!(!s(t.value) && Y.value !== ie.FullDayEvent) || N.value !== "")));
89
- function Fe(e) {
90
- return l.value === d.ReservationState && w.value === e && o.value;
91
- }
92
- const Ne = a(() => !(l.value === d.InitialState && o.value)), Te = a(() => !(l.value === d.AvailabilityState && o.value)), $e = a(() => t.value !== void 0), Oe = a(() => l.value === d.PaymentState && o.value);
93
- function ne() {
94
- return I(this, null, function* () {
95
- try {
96
- const e = (yield F.get("https://production.hotel-service.konnectio.dk/api/event/metadata", {
97
- params: {
98
- language: $()
99
- },
100
- headers: {
101
- Authorization: y.value,
102
- "Fresh-Booking-Ver": "4.0.56-rc6"
103
- }
104
- })).data;
105
- p.value = e, oe();
106
- } catch (e) {
107
- v({
108
- message: S.t("alert.error.couldntFetchMetadata"),
109
- type: "warning"
110
- });
111
- }
112
- });
113
- }
114
- function oe() {
115
- return I(this, null, function* () {
116
- l.value = d.AvailabilityState, o.value = !0;
117
- try {
118
- const e = (yield F.get("https://production.hotel-service.konnectio.dk/api/event/restaurant-events", {
119
- params: {
120
- language: $(),
121
- date: C.value
122
- },
123
- headers: {
124
- Authorization: y.value,
125
- "Fresh-Booking-Ver": "4.0.56-rc6"
126
- }
127
- })).data;
128
- m.value = e, o.value = !1;
129
- } catch (e) {
130
- v({
131
- message: S.t("alert.error.couldntFetchListings"),
132
- type: "warning"
133
- });
134
- }
135
- });
136
- }
137
- function Re(e) {
138
- return I(this, null, function* () {
139
- l.value = d.ReservationState, o.value = !0;
140
- try {
141
- const n = (yield F.get("https://production.hotel-service.konnectio.dk/api/v3/event/get-availability", {
142
- params: {
143
- language: $(),
144
- date: C.value,
145
- templateId: w.value,
146
- numberOfPeople: O.value
147
- },
148
- headers: {
149
- Authorization: y.value,
150
- "Fresh-Booking-Ver": "4.0.56-rc6"
151
- }
152
- })).data;
153
- n.templateCounts.length === 0 ? v({
154
- message: S.t("alert.error.eventNotAvailable"),
155
- type: "warning"
156
- }) : (t.value = n, e()), o.value = !1;
157
- } catch (n) {
158
- o.value = !1, l.value = d.AvailabilityState, v({
159
- message: S.t("alert.error.couldntFetchEvent"),
160
- type: "warning"
161
- });
162
- }
163
- });
164
- }
165
- function ze(e) {
166
- return I(this, null, function* () {
167
- l.value = d.ReservationState, o.value = !0;
168
- try {
169
- const n = (yield F.get("https://production.hotel-service.konnectio.dk/api/v3/event/get-table-availability", {
170
- params: {
171
- language: $(),
172
- date: C.value,
173
- numberOfPeople: O.value,
174
- eventId: w.value,
175
- tableGroupId: J.value
176
- },
177
- headers: {
178
- Authorization: y.value,
179
- "Fresh-Booking-Ver": "4.0.56-rc6"
180
- }
181
- })).data;
182
- t.value = n, o.value = !1, e();
183
- } catch (n) {
184
- o.value = !1, l.value = d.AvailabilityState, v({
185
- message: S.t("alert.error.couldntFetchEvent"),
186
- type: "warning"
187
- });
188
- }
189
- });
190
- }
191
- function Me() {
192
- return I(this, null, function* () {
193
- try {
194
- const e = (yield F.get("https://production.hotel-service.konnectio.dk/api/v3/event/validate-discount-code", {
195
- params: {
196
- language: $(),
197
- date: C.value,
198
- discountCode: U.value
199
- },
200
- headers: {
201
- Authorization: y.value,
202
- "Fresh-Booking-Ver": "4.0.56-rc6"
203
- }
204
- })).data;
205
- console.log(e);
206
- } catch (e) {
207
- console.log(e), v({
208
- message: S.t("alert.error.discountCodeValidation"),
209
- type: "warning"
210
- });
211
- }
212
- });
213
- }
214
- function Be(e) {
215
- return I(this, null, function* () {
216
- var k;
217
- l.value = d.PaymentState, o.value = !0;
218
- const n = () => {
219
- o.value = !1, l.value = d.ReservationState, v({
220
- message: S.t("booking.other.errorMessage"),
221
- type: "warning"
222
- });
223
- };
224
- let i, g, f;
225
- const T = [];
226
- if (s(t.value))
227
- (k = ee.value) == null || k.forEach((r, E) => {
228
- const z = [];
229
- let le = 0;
230
- for (const se in A.value) {
231
- const j = se.split("."), re = A.value[se];
232
- parseInt(j[0]) === r.roomGroupID && parseInt(j[2]) === E && re > 0 && (z.push({
233
- id: le,
234
- addonID: parseInt(j[1]),
235
- quantity: re
236
- }), le++);
237
- }
238
- T.push({
239
- adultPerRoom: r.adultPerRoom,
240
- count: r.count,
241
- roomGroupID: r.roomGroupID,
242
- addons: z
243
- });
244
- }), i = {
245
- templateID: X.value,
246
- numberOfDays: R.value,
247
- templateCounts: T
248
- };
249
- else {
250
- g = [], f = N.value;
251
- for (const r in b.value) {
252
- const E = b.value[parseInt(r)];
253
- E > 0 && g.push({
254
- id: parseInt(r),
255
- quantity: E
256
- });
257
- }
258
- }
259
- let h = "https://production.hotel-service.konnectio.dk/api/v3/event/template-book";
260
- const c = {
261
- date: C.value,
262
- name: V.value,
263
- email: G.value,
264
- phone: L.value,
265
- remark: W.value,
266
- numberOfPeople: O.value,
267
- days: _.value,
268
- discountCode: U.value,
269
- giftCardCode: B.value,
270
- checkoutUrl: window.location.origin,
271
- privacyUrl: window.location.origin
272
- };
273
- s(t.value) ? c.templateGroup = i : (c.time = f, c.eventId = w.value, c.products = g, h = "https://production.hotel-service.konnectio.dk/api/v3/event/event-book"), yield F.post(h, c, {
274
- headers: {
275
- Authorization: y.value,
276
- "Fresh-Booking-Ver": "4.0.56-rc6"
277
- }
278
- }).then((r) => {
279
- o.value = !1, M.pay({
280
- callback: e,
281
- response: r.data
282
- });
283
- }).catch(() => n());
284
- });
285
- }
286
- function Ve(e) {
287
- A.value = {}, b.value = {}, N.value = "", e();
288
- }
289
- function Le() {
290
- ne();
291
- }
292
- return {
293
- metaData: p,
294
- listingData: m,
295
- tableBasePrice: Z,
296
- availabilityData: t,
297
- isLoading: o,
298
- moduleState: l,
299
- searchDate: P,
300
- numberOfPeople: O,
301
- numberOfDays: R,
302
- eventId: w,
303
- tableGroupId: J,
304
- arrivalTime: N,
305
- addons: A,
306
- products: b,
307
- discountCode: U,
308
- name: V,
309
- phone: L,
310
- email: G,
311
- remark: W,
312
- isTemplateEvent: me,
313
- currency: ve,
314
- maxNumberOfPeople: ce,
315
- title: de,
316
- subtitle: pe,
317
- slideshow: ge,
318
- date: C,
319
- numberOfTotalDays: _,
320
- numberOfRooms: fe,
321
- fromDate: he,
322
- getEventData: D,
323
- length: ye,
324
- templateId: X,
325
- getEvents: be,
326
- getTemplates: ke,
327
- hasEvents: De,
328
- hasTemplates: Ie,
329
- basePrice: te,
330
- totalPrice: Pe,
331
- getTemplateData: ee,
332
- getEventTableData: q,
333
- roomUpgrade: Ae,
334
- weekendFee: we,
335
- hasProducts: ae,
336
- eventRateType: Y,
337
- isReservationFormFilled: Ee,
338
- isMetaDataAvailable: Ne,
339
- areListingsAvailable: Te,
340
- isAvailabilityDataAvailable: $e,
341
- isPaymentLoading: Oe,
342
- getEventImages: Se,
343
- isEventListingLoading: Fe,
344
- fetchMetaData: ne,
345
- fetchListings: oe,
346
- getTemplateAvailability: Re,
347
- getEventAvailability: ze,
348
- validateDiscountCode: Me,
349
- localAddonPrice: K,
350
- totalAddonPrice: x,
351
- createBooking: Be,
352
- reset: Ve,
353
- initialize: Le
354
- };
355
- });
356
- export {
357
- He as u
358
- };
Binary file
package/dist/event.d.ts DELETED
@@ -1,3 +0,0 @@
1
- export * from './entries/event'
2
- import _default from './entries/event'
3
- export default _default
@@ -1,3 +0,0 @@
1
- export * from './entries/gift-card-validation'
2
- import _default from './entries/gift-card-validation'
3
- export default _default
@@ -1,3 +0,0 @@
1
- export * from './entries/gift-card'
2
- import _default from './entries/gift-card'
3
- export default _default
package/dist/hotel.d.ts DELETED
@@ -1,3 +0,0 @@
1
- export * from './entries/hotel'
2
- import _default from './entries/hotel'
3
- export default _default
@@ -1,25 +0,0 @@
1
- import { KonnectioStyling } from '../types/index.js';
2
- interface LocalizedLink {
3
- [locale: string]: string;
4
- }
5
- declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<__VLS_TypePropsToRuntimeProps<{
6
- accessToken: string;
7
- eventLink?: string | LocalizedLink | undefined;
8
- hotelLink?: string | LocalizedLink | undefined;
9
- styling?: Partial<KonnectioStyling> | undefined;
10
- }>, {}, 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<{
11
- accessToken: string;
12
- eventLink?: string | LocalizedLink | undefined;
13
- hotelLink?: string | LocalizedLink | undefined;
14
- styling?: Partial<KonnectioStyling> | undefined;
15
- }>>>, {}, {}>;
16
- export default _default;
17
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
- type __VLS_TypePropsToRuntimeProps<T> = {
19
- [K in keyof T]-?: {} extends Pick<T, K> ? {
20
- type: import('../../vue/dist/vue.esm-bundler.js').PropType<__VLS_NonUndefinedable<T[K]>>;
21
- } : {
22
- type: import('../../vue/dist/vue.esm-bundler.js').PropType<T[K]>;
23
- required: true;
24
- };
25
- };
@@ -1,18 +0,0 @@
1
- import { KonnectioStyling } from '../types/index.js';
2
- declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
- accessToken: string;
4
- styling?: KonnectioStyling | undefined;
5
- }>, {}, 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<{
6
- accessToken: string;
7
- styling?: KonnectioStyling | undefined;
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
- };
@@ -1,32 +0,0 @@
1
- import { KonnectioStyling } from '../types/index.js';
2
- interface Props {
3
- accessToken: string;
4
- layout?: string;
5
- placeType?: string;
6
- styling?: Partial<KonnectioStyling>;
7
- }
8
- declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
9
- layout: string;
10
- }>, {}, 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>, {
11
- layout: string;
12
- }>>>, {
13
- layout: string;
14
- }, {}>;
15
- export default _default;
16
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
- type __VLS_TypePropsToRuntimeProps<T> = {
18
- [K in keyof T]-?: {} extends Pick<T, K> ? {
19
- type: import('../../vue/dist/vue.esm-bundler.js').PropType<__VLS_NonUndefinedable<T[K]>>;
20
- } : {
21
- type: import('../../vue/dist/vue.esm-bundler.js').PropType<T[K]>;
22
- required: true;
23
- };
24
- };
25
- type __VLS_WithDefaults<P, D> = {
26
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
27
- default: D[K];
28
- }> : P[K];
29
- };
30
- type __VLS_Prettify<T> = {
31
- [K in keyof T]: T[K];
32
- } & {};