@konnectio/core 4.0.56-rc3 → 4.0.56-rc31

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