vviinn-widgets 2.2.2 → 2.4.0

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 (240) hide show
  1. package/dist/cjs/{app-globals-30781f30.js → app-globals-2bcc74df.js} +1 -1
  2. package/dist/cjs/cropper-handler.cjs.entry.js +1 -1
  3. package/dist/cjs/{customized-slots-5d904d8e.js → customized-slots-4202eaf5.js} +1 -1
  4. package/dist/cjs/highlight-box_22.cjs.entry.js +20 -10
  5. package/dist/cjs/{imageSearch.store-128957a4.js → imageSearch.store-cb2b2cc8.js} +14 -11
  6. package/dist/cjs/{index-c493804d.js → index-44fc16ad.js} +7 -9
  7. package/dist/cjs/{index-741a970d.js → index-6771ae25.js} +1 -1
  8. package/dist/cjs/index-e9439500.js +3943 -0
  9. package/dist/cjs/loader.cjs.js +3 -3
  10. package/dist/cjs/{vviinn-carousel_5.cjs.entry.js → vviinn-carousel_3.cjs.entry.js} +54 -108
  11. package/dist/cjs/vviinn-error.cjs.entry.js +1 -1
  12. package/dist/cjs/vviinn-preloader.cjs.entry.js +2 -2
  13. package/dist/cjs/vviinn-recommendations-sidebar.cjs.entry.js +63 -0
  14. package/dist/cjs/vviinn-vpr-button.cjs.entry.js +44 -0
  15. package/dist/cjs/vviinn-vps-button.cjs.entry.js +4 -4
  16. package/dist/cjs/vviinn-vps-widget.cjs.entry.js +74 -10
  17. package/dist/cjs/vviinn-widgets.cjs.js +3 -3
  18. package/dist/collection/components/image-search/image-view/image-cropper/image-cropper.js +27 -7
  19. package/dist/collection/components/image-search/search-filters/search-filters.js +24 -1
  20. package/dist/collection/components/vviinn-carousel/vviinn-carousel.css +4 -0
  21. package/dist/collection/components/vviinn-carousel/vviinn-carousel.js +6 -3
  22. package/dist/collection/components/vviinn-icons/index.js +6 -8
  23. package/dist/collection/components/vviinn-image-view/vviinn-detected-object/vviinn-detected-object.js +18 -1
  24. package/dist/collection/components/vviinn-product-card/stories/args.js +73 -0
  25. package/dist/collection/components/vviinn-product-card/stories/decorators.js +51 -0
  26. package/dist/collection/components/vviinn-product-card/stories/vviinn-product-card.stories.js +105 -0
  27. package/dist/collection/components/vviinn-product-card/vviinn-product-card.js +57 -12
  28. package/dist/collection/components/vviinn-vpr-button/stories/args.js +207 -0
  29. package/dist/collection/components/vviinn-vpr-button/stories/vviinn-vpr-button.stories.js +89 -0
  30. package/dist/collection/components/vviinn-vpr-button/vviinn-vpr-button.js +11 -4
  31. package/dist/collection/components/vviinn-vpr-widget/stories/args.js +190 -0
  32. package/dist/collection/components/vviinn-vpr-widget/stories/decorators.js +29 -0
  33. package/dist/collection/components/vviinn-vpr-widget/stories/vviinn-vpr-widget.stories.js +212 -0
  34. package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-vidget.js +47 -9
  35. package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-widget.css +5 -0
  36. package/dist/collection/components/vviinn-vps-button/stories/vviinn-vps-button.stories.js +31 -0
  37. package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.css +3 -0
  38. package/dist/collection/components/vviinn-vps-widget/stories/vviinn-vps-widget.stories.js +33 -0
  39. package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.js +108 -10
  40. package/dist/collection/network/utils.js +1 -1
  41. package/dist/collection/openApi/index.js +27 -0
  42. package/dist/collection/{components/vviinn-vpr-widget/GridMode.js → recommendation/events.js} +0 -0
  43. package/dist/collection/store/store.js +7 -9
  44. package/dist/collection/store/tracking.store.js +3 -0
  45. package/dist/collection/tracking/event.js +3 -0
  46. package/dist/collection/tracking/filter.js +5 -0
  47. package/dist/collection/tracking/index.js +13 -0
  48. package/dist/collection/tracking/models.js +6 -0
  49. package/dist/collection/tracking/product.js +18 -0
  50. package/dist/collection/tracking/search.js +5 -0
  51. package/dist/collection/tracking/widget.js +10 -0
  52. package/dist/esm/{app-globals-345e497d.js → app-globals-550daa9b.js} +1 -1
  53. package/dist/esm/cropper-handler.entry.js +1 -1
  54. package/dist/esm/{customized-slots-a76a8d41.js → customized-slots-80625933.js} +1 -1
  55. package/dist/esm/highlight-box_22.entry.js +20 -10
  56. package/dist/esm/{imageSearch.store-8eab0da1.js → imageSearch.store-1268786d.js} +12 -10
  57. package/dist/esm/{index-8cb063df.js → index-1cf740a8.js} +8 -10
  58. package/dist/esm/{index-6fa21e24.js → index-c09e56b6.js} +1 -1
  59. package/dist/esm/index-fa27f1df.js +3934 -0
  60. package/dist/esm/loader.js +3 -3
  61. package/dist/esm/{vviinn-carousel_5.entry.js → vviinn-carousel_3.entry.js} +55 -107
  62. package/dist/esm/vviinn-error.entry.js +1 -1
  63. package/dist/esm/vviinn-preloader.entry.js +2 -2
  64. package/dist/esm/vviinn-recommendations-sidebar.entry.js +59 -0
  65. package/dist/esm/vviinn-vpr-button.entry.js +40 -0
  66. package/dist/esm/vviinn-vps-button.entry.js +4 -4
  67. package/dist/esm/vviinn-vps-widget.entry.js +71 -7
  68. package/dist/esm/vviinn-widgets.js +3 -3
  69. package/dist/types/Image/error.d.ts +1 -0
  70. package/dist/types/Image/form.d.ts +1 -0
  71. package/dist/types/Image/fromFile.d.ts +1 -0
  72. package/dist/types/Image/imageToB64.d.ts +1 -0
  73. package/dist/types/Image/index.d.ts +1 -0
  74. package/dist/types/Image/renderPromise.d.ts +1 -0
  75. package/dist/types/Image/resizeImage.d.ts +1 -0
  76. package/dist/types/Image/sizing.d.ts +1 -0
  77. package/dist/types/Image/toFile.d.ts +1 -0
  78. package/dist/types/analytics/GAnalytics.d.ts +1 -0
  79. package/dist/types/analytics/GeneralAnalytics.d.ts +1 -0
  80. package/dist/types/analytics/GtagAnalytics.d.ts +1 -0
  81. package/dist/types/analytics/ProductAnalytics.d.ts +1 -0
  82. package/dist/types/campaign/Campaign.d.ts +1 -0
  83. package/dist/types/campaign/CampaignService.d.ts +1 -0
  84. package/dist/types/campaign/VCSCampaign.d.ts +1 -0
  85. package/dist/types/campaign/VCSCampaignResponse.d.ts +1 -0
  86. package/dist/types/campaign/VCSCampaignService.d.ts +1 -0
  87. package/dist/types/campaign/VPRCampaignResponse.d.ts +1 -0
  88. package/dist/types/campaign/VPRCampaignService.d.ts +1 -0
  89. package/dist/types/components/customized-slots.d.ts +1 -0
  90. package/dist/types/components/image-search/image-view/highlight-box/highlight-box.d.ts +1 -0
  91. package/dist/types/components/image-search/image-view/image-cropper/cropper-handler/cropper-handler.d.ts +1 -0
  92. package/dist/types/components/image-search/image-view/image-cropper/image-cropper.d.ts +4 -0
  93. package/dist/types/components/image-search/search-filters/search-filters.d.ts +4 -0
  94. package/dist/types/components/vviinn-carousel/vviinn-carousel.d.ts +4 -0
  95. package/dist/types/components/vviinn-error/vviinn-empty-results/vviinn-empty-results.d.ts +1 -0
  96. package/dist/types/components/vviinn-error/vviinn-error.d.ts +1 -0
  97. package/dist/types/components/vviinn-error/vviinn-server-error/vviinn-server-error.d.ts +1 -0
  98. package/dist/types/components/vviinn-error/vviinn-wrong-format/vviinn-wrong-format.d.ts +1 -0
  99. package/dist/types/components/vviinn-example-images/vviinn-example-image/vviinn-example-image.d.ts +1 -0
  100. package/dist/types/components/vviinn-example-images/vviinn-example-images.d.ts +1 -0
  101. package/dist/types/components/vviinn-icons/index.d.ts +1 -0
  102. package/dist/types/components/vviinn-image-selector/vviinn-image-selector.d.ts +1 -0
  103. package/dist/types/components/vviinn-image-view/vviinn-detected-object/vviinn-detected-object.d.ts +3 -0
  104. package/dist/types/components/vviinn-image-view/vviinn-image-view.d.ts +1 -0
  105. package/dist/types/components/vviinn-modal/vviinn-modal.d.ts +1 -0
  106. package/dist/types/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-1/vviinn-onboarding-card-1.d.ts +1 -0
  107. package/dist/types/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-2/vviinn-onboarding-card-2.d.ts +1 -0
  108. package/dist/types/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-3/vviinn-onboarding-card-3.d.ts +1 -0
  109. package/dist/types/components/vviinn-onboarding/vviinn-onboarding.d.ts +1 -0
  110. package/dist/types/components/vviinn-overlay/vviinn-overlay.d.ts +1 -0
  111. package/dist/types/components/vviinn-overlayed-modal/vviinn-overlayed-modal.d.ts +1 -0
  112. package/dist/types/components/vviinn-preloader/vviinn-preloader.d.ts +1 -0
  113. package/dist/types/components/vviinn-privacy-badge/vviinn-privacy-badge.d.ts +1 -0
  114. package/dist/types/components/vviinn-product-card/render-helpers.d.ts +1 -0
  115. package/dist/types/components/vviinn-product-card/stories/args.d.ts +74 -0
  116. package/dist/types/components/vviinn-product-card/stories/decorators.d.ts +2 -0
  117. package/dist/types/components/vviinn-product-card/stories/vviinn-product-card.stories.d.ts +81 -0
  118. package/dist/types/components/vviinn-product-card/vviinn-product-card.d.ts +9 -3
  119. package/dist/types/components/vviinn-slider/arrow.d.ts +1 -0
  120. package/dist/types/components/vviinn-slider/vviinn-slide/vviinn-slide.d.ts +1 -0
  121. package/dist/types/components/vviinn-slider/vviinn-slider.d.ts +1 -0
  122. package/dist/types/components/vviinn-teaser/vviinn-teaser.d.ts +1 -0
  123. package/dist/types/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.d.ts +1 -0
  124. package/dist/types/components/vviinn-vpr-button/stories/args.d.ts +208 -0
  125. package/dist/types/components/vviinn-vpr-button/stories/vviinn-vpr-button.stories.d.ts +215 -0
  126. package/dist/types/components/vviinn-vpr-button/vviinn-vpr-button.d.ts +4 -0
  127. package/dist/types/components/vviinn-vpr-widget/stories/args.d.ts +199 -0
  128. package/dist/types/components/vviinn-vpr-widget/stories/decorators.d.ts +3 -0
  129. package/dist/types/components/vviinn-vpr-widget/stories/vviinn-vpr-widget.stories.d.ts +142 -0
  130. package/dist/types/components/vviinn-vpr-widget/token-helpers.d.ts +1 -0
  131. package/dist/types/components/vviinn-vpr-widget/vviinn-vpr-vidget.d.ts +10 -1
  132. package/dist/types/components/vviinn-vps-button/stories/vviinn-vps-button.stories.d.ts +13 -0
  133. package/dist/types/components/vviinn-vps-button/vviinn-vps-button.d.ts +1 -0
  134. package/dist/types/components/vviinn-vps-widget/stories/vviinn-vps-widget.stories.d.ts +11 -0
  135. package/dist/types/components/vviinn-vps-widget/vviinn-vps-widget.d.ts +14 -1
  136. package/dist/types/components.d.ts +10 -4
  137. package/dist/types/cropper/Cropper.d.ts +1 -0
  138. package/dist/types/cropper/Handler.d.ts +1 -0
  139. package/dist/types/dom/index.d.ts +1 -0
  140. package/dist/types/error.d.ts +1 -0
  141. package/dist/types/file/index.d.ts +1 -0
  142. package/dist/types/geometry/Clip.d.ts +1 -0
  143. package/dist/types/geometry/Point.d.ts +1 -0
  144. package/dist/types/geometry/Rectangle.d.ts +1 -0
  145. package/dist/types/geometry/RectangleAlt.d.ts +1 -0
  146. package/dist/types/geometry/Sized.d.ts +1 -0
  147. package/dist/types/global.d.ts +1 -0
  148. package/dist/types/index.d.ts +1 -0
  149. package/dist/types/interfaces/generated.d.ts +1 -0
  150. package/dist/types/interfaces/recommendation.d.ts +1 -0
  151. package/dist/types/network/apiClient.d.ts +1 -0
  152. package/dist/types/network/ion/File.d.ts +1 -0
  153. package/dist/types/network/ion/Form.d.ts +1 -0
  154. package/dist/types/network/ion/Link.d.ts +1 -0
  155. package/dist/types/network/ion/ValueObject.d.ts +1 -0
  156. package/dist/types/network/request.d.ts +1 -0
  157. package/dist/types/network/utils.d.ts +1 -0
  158. package/dist/types/openApi/index.d.ts +6 -0
  159. package/dist/types/recommendation/events.d.ts +6 -0
  160. package/dist/types/recommendation/recommendation.d.ts +1 -0
  161. package/dist/types/searchSession/searchSession.d.ts +1 -0
  162. package/dist/types/sentry.d.ts +1 -0
  163. package/dist/types/slider/GridMode.d.ts +1 -0
  164. package/dist/types/store/file-processing.d.ts +1 -0
  165. package/dist/types/store/imageSearch.store.d.ts +1 -0
  166. package/dist/types/store/store.d.ts +8 -6
  167. package/dist/types/store/tracking.store.d.ts +4 -0
  168. package/dist/types/stories/image-selector.stories.d.ts +1 -0
  169. package/dist/types/stories/image-view.stories.d.ts +1 -0
  170. package/dist/types/stories/modal.stories.d.ts +1 -0
  171. package/dist/types/stories/onboarding.stories.d.ts +1 -0
  172. package/dist/types/stories/overlay.stories.d.ts +1 -0
  173. package/dist/types/stories/overlayedModal.stories.d.ts +1 -0
  174. package/dist/types/stories/privacy-badge.stories.d.ts +1 -0
  175. package/dist/types/stories/slider.stories.d.ts +1 -0
  176. package/dist/types/stories/teaser.stories.d.ts +1 -0
  177. package/dist/types/stories/vps-widget.stories.d.ts +1 -0
  178. package/dist/types/stories/vviinn-product.stories.d.ts +1 -0
  179. package/dist/types/tracking/event.d.ts +4 -0
  180. package/dist/types/tracking/filter.d.ts +3 -0
  181. package/dist/types/tracking/index.d.ts +9 -0
  182. package/dist/types/tracking/models.d.ts +13 -0
  183. package/dist/types/tracking/product.d.ts +7 -0
  184. package/dist/types/tracking/search.d.ts +3 -0
  185. package/dist/types/tracking/widget.d.ts +5 -0
  186. package/dist/types/utils/collections/collectionsUtils.d.ts +1 -0
  187. package/dist/types/utils/either.d.ts +1 -0
  188. package/dist/types/utils/enum/enumUtils.d.ts +1 -0
  189. package/dist/types/utils/event/Events.d.ts +1 -0
  190. package/dist/types/utils/number/index.d.ts +1 -0
  191. package/dist/types/utils/option/option.d.ts +1 -0
  192. package/dist/types/utils/semigroup/semigroupDiff.d.ts +1 -0
  193. package/dist/types/utils/token/tokenUtils.d.ts +1 -0
  194. package/dist/vviinn-widgets/{p-78ccc9eb.js → p-07125f64.js} +1 -1
  195. package/dist/vviinn-widgets/{p-f47e82b2.entry.js → p-27ede517.entry.js} +1 -1
  196. package/dist/vviinn-widgets/{p-9d24f51e.entry.js → p-314e40b3.entry.js} +1 -1
  197. package/dist/vviinn-widgets/p-316abc01.js +1 -0
  198. package/dist/vviinn-widgets/{p-fb14e3cc.entry.js → p-4bdb3027.entry.js} +1 -1
  199. package/dist/vviinn-widgets/p-5535163a.entry.js +1 -0
  200. package/dist/vviinn-widgets/{p-59edfbe2.js → p-78b65f70.js} +1 -1
  201. package/dist/vviinn-widgets/{p-400eb62f.entry.js → p-86ae782f.entry.js} +1 -1
  202. package/dist/vviinn-widgets/p-89f2c19a.entry.js +1 -0
  203. package/dist/vviinn-widgets/{p-e1ba8626.js → p-8e25b838.js} +1 -1
  204. package/dist/vviinn-widgets/p-94aa8705.entry.js +1 -0
  205. package/dist/vviinn-widgets/{p-e67cae57.js → p-97af45f0.js} +1 -1
  206. package/dist/vviinn-widgets/p-c5e6ec4f.js +1 -0
  207. package/dist/vviinn-widgets/p-c63fb46b.entry.js +1 -0
  208. package/{www/build/p-d085199d.entry.js → dist/vviinn-widgets/p-dd7cac6e.entry.js} +1 -1
  209. package/dist/vviinn-widgets/vviinn-widgets.esm.js +1 -1
  210. package/package.json +11 -3
  211. package/www/build/{p-78ccc9eb.js → p-07125f64.js} +1 -1
  212. package/www/build/{p-f47e82b2.entry.js → p-27ede517.entry.js} +1 -1
  213. package/www/build/{p-9d24f51e.entry.js → p-314e40b3.entry.js} +1 -1
  214. package/www/build/p-316abc01.js +1 -0
  215. package/www/build/{p-fb14e3cc.entry.js → p-4bdb3027.entry.js} +1 -1
  216. package/www/build/p-5535163a.entry.js +1 -0
  217. package/www/build/{p-59edfbe2.js → p-78b65f70.js} +1 -1
  218. package/www/build/{p-400eb62f.entry.js → p-86ae782f.entry.js} +1 -1
  219. package/www/build/p-89f2c19a.entry.js +1 -0
  220. package/www/build/{p-e1ba8626.js → p-8e25b838.js} +1 -1
  221. package/www/build/p-94aa8705.entry.js +1 -0
  222. package/www/build/p-961822d3.js +125 -0
  223. package/www/build/{p-e67cae57.js → p-97af45f0.js} +1 -1
  224. package/www/build/p-c5e6ec4f.js +1 -0
  225. package/www/build/p-c63fb46b.entry.js +1 -0
  226. package/{dist/vviinn-widgets/p-d085199d.entry.js → www/build/p-dd7cac6e.entry.js} +1 -1
  227. package/www/build/p-e0153ae2.css +6 -0
  228. package/www/build/vviinn-widgets.esm.js +1 -1
  229. package/www/index.html +1 -177
  230. package/dist/collection/components/vviinn-vpr-button/stories/kek.stories.js +0 -18
  231. package/dist/types/components/vviinn-vpr-button/stories/kek.stories.d.ts +0 -7
  232. package/dist/types/components/vviinn-vpr-widget/GridMode.d.ts +0 -1
  233. package/dist/vviinn-widgets/p-04b06ea9.entry.js +0 -1
  234. package/dist/vviinn-widgets/p-56fc949a.js +0 -1
  235. package/dist/vviinn-widgets/p-e38f4aa2.entry.js +0 -1
  236. package/www/build/p-04b06ea9.entry.js +0 -1
  237. package/www/build/p-56fc949a.js +0 -1
  238. package/www/build/p-7e4978d5.js +0 -1
  239. package/www/build/p-a67898be.css +0 -1
  240. package/www/build/p-e38f4aa2.entry.js +0 -1
@@ -1,3 +1,4 @@
1
1
  import { Task } from "fp-ts/Task";
2
2
  export declare const fromFile: (f: File) => Promise<HTMLImageElement>;
3
3
  export declare const imageFromFileTask: (f: File) => Task<HTMLImageElement>;
4
+ //# sourceMappingURL=fromFile.d.ts.map
@@ -1 +1,2 @@
1
1
  export declare const imageToB64: (i: HTMLImageElement) => string;
2
+ //# sourceMappingURL=imageToB64.d.ts.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,3 @@
1
1
  export declare const renderPromise: (url: string) => Promise<void>;
2
2
  export declare const imagesRenderedPromise: (urls: string[]) => Promise<void[]>;
3
+ //# sourceMappingURL=renderPromise.d.ts.map
@@ -1 +1,2 @@
1
1
  export declare const resizeImage: (width: number, i: HTMLImageElement) => string;
2
+ //# sourceMappingURL=resizeImage.d.ts.map
@@ -8,3 +8,4 @@ declare type ImageDimensions = ImageDimension[];
8
8
  export declare const scaleByLargestSide: (toSize: number) => (dimensions: ImageDimensions) => ImageDimensions;
9
9
  export declare const dimensionsFromImage: (image: HTMLImageElement) => ImageDimensions;
10
10
  export {};
11
+ //# sourceMappingURL=sizing.d.ts.map
@@ -1,3 +1,4 @@
1
1
  import { Task } from "fp-ts/Task";
2
2
  export declare const toFile: (b64data: string) => Promise<File>;
3
3
  export declare const convertB64toFileTask: (b64data: string) => Task<File>;
4
+ //# sourceMappingURL=toFile.d.ts.map
@@ -13,3 +13,4 @@ export declare class GAnalytics implements ProductAnalytics {
13
13
  sendImpression(product: Interfaces['VisualProductSearch']): any;
14
14
  sendClick(product: Interfaces['VisualProductSearch']): any;
15
15
  }
16
+ //# sourceMappingURL=GAnalytics.d.ts.map
@@ -1,3 +1,4 @@
1
1
  import { Option } from "fp-ts/lib/Option";
2
2
  import { ProductAnalytics } from "./ProductAnalytics";
3
3
  export declare const getAnalyticsModule: Option<ProductAnalytics>;
4
+ //# sourceMappingURL=GeneralAnalytics.d.ts.map
@@ -4,3 +4,4 @@ export declare class GtagAnalytics implements ProductAnalytics {
4
4
  sendImpression(product: Interfaces['VisualProductSearch']): any;
5
5
  sendClick(product: Interfaces['VisualProductSearch']): any;
6
6
  }
7
+ //# sourceMappingURL=GtagAnalytics.d.ts.map
@@ -3,3 +3,4 @@ export interface ProductAnalytics {
3
3
  sendImpression: (product: Recommendation) => undefined;
4
4
  sendClick: (product: Recommendation) => undefined;
5
5
  }
6
+ //# sourceMappingURL=ProductAnalytics.d.ts.map
@@ -10,3 +10,4 @@ export declare const isVCS: (c: Campaign) => c is VCS;
10
10
  export declare type Campaign = VPR | VCS;
11
11
  export declare function fold<A, B>(onVPR: () => A, onVCS: () => B): (c: Campaign) => A | B;
12
12
  export declare function fromString(s: CampaignName): Campaign;
13
+ //# sourceMappingURL=Campaign.d.ts.map
@@ -1,2 +1,3 @@
1
1
  import * as C from "./Campaign";
2
2
  export declare const getRecommendationsService: (campaignType: C.CampaignName) => ((productId: string) => (options: RequestInit) => import("fp-ts/lib/TaskEither").TaskEither<import("../error").BasicError<string | Response>, import("./VPRCampaignResponse").VPRCampaignResponse>) | ((productId: string) => (options: RequestInit) => import("fp-ts/lib/TaskEither").TaskEither<import("../error").BasicError<string | Response>, import("./VCSCampaignResponse").VCSCampaignResponse>);
3
+ //# sourceMappingURL=CampaignService.d.ts.map
@@ -1,2 +1,3 @@
1
1
  export interface VCSCampaign {
2
2
  }
3
+ //# sourceMappingURL=VCSCampaign.d.ts.map
@@ -1,2 +1,3 @@
1
1
  import { Recommendation } from "../recommendation/recommendation";
2
2
  export declare type VCSCampaignResponse = Recommendation[];
3
+ //# sourceMappingURL=VCSCampaignResponse.d.ts.map
@@ -1,2 +1,3 @@
1
1
  import { VCSCampaignResponse } from "./VCSCampaignResponse";
2
2
  export declare const getVCSRecommendations: (productId: string) => (options: RequestInit) => import("fp-ts/lib/TaskEither").TaskEither<import("../error").BasicError<string | Response>, VCSCampaignResponse>;
3
+ //# sourceMappingURL=VCSCampaignService.d.ts.map
@@ -3,3 +3,4 @@ export interface VPRCampaignResponse {
3
3
  bestFits?: string[];
4
4
  extended?: Recommendation[];
5
5
  }
6
+ //# sourceMappingURL=VPRCampaignResponse.d.ts.map
@@ -1,2 +1,3 @@
1
1
  import { VPRCampaignResponse } from "./VPRCampaignResponse";
2
2
  export declare const getVPRRecommendations: (productId: string) => (options: RequestInit) => import("fp-ts/lib/TaskEither").TaskEither<import("../error").BasicError<string | Response>, VPRCampaignResponse>;
3
+ //# sourceMappingURL=VPRCampaignService.d.ts.map
@@ -1,2 +1,3 @@
1
1
  export declare const SlotSkeleton: () => any[];
2
2
  export declare const slotChangeListener: (component: any, element: HTMLElement) => void;
3
+ //# sourceMappingURL=customized-slots.d.ts.map
@@ -3,3 +3,4 @@ export declare class HighlightBox {
3
3
  private renderImage;
4
4
  render(): any;
5
5
  }
6
+ //# sourceMappingURL=highlight-box.d.ts.map
@@ -4,3 +4,4 @@ export declare class CropperHandler {
4
4
  disabled: boolean;
5
5
  render(): any;
6
6
  }
7
+ //# sourceMappingURL=cropper-handler.d.ts.map
@@ -1,7 +1,9 @@
1
+ import { EventEmitter } from "../../../../stencil-public-runtime";
1
2
  export declare class ImageCropper {
2
3
  el: HTMLElement;
3
4
  disabled: boolean;
4
5
  handleMove: boolean;
6
+ cropperChanged: EventEmitter;
5
7
  private handlerMoveDirection;
6
8
  private mouseStartPoint;
7
9
  private pointerMoveListener;
@@ -9,9 +11,11 @@ export declare class ImageCropper {
9
11
  private bounds;
10
12
  componentDidLoad(): void;
11
13
  private handleHandlerMove;
14
+ private outOfBounds;
12
15
  private handleCropperMove;
13
16
  private handlePointerDown;
14
17
  private handleSearchAreaRelease;
15
18
  private getStyleMap;
16
19
  render(): any;
17
20
  }
21
+ //# sourceMappingURL=image-cropper.d.ts.map
@@ -1,9 +1,12 @@
1
+ import { EventEmitter } from "../../../stencil-public-runtime";
2
+ import { FilterAction } from "@vviinn/tracking-client-ts";
1
3
  import { SearchSessionFilter } from "../../../searchSession/searchSession";
2
4
  export declare class SearchFilters {
3
5
  el: HTMLElement;
4
6
  filter: SearchSessionFilter | null;
5
7
  selectedCategoryId: string | null;
6
8
  hideFilters: boolean;
9
+ filterSelected: EventEmitter<FilterAction>;
7
10
  private handleFilterSelection;
8
11
  private selectFilter;
9
12
  private clearSelectedFilter;
@@ -13,3 +16,4 @@ export declare class SearchFilters {
13
16
  private isFilterSelected;
14
17
  render(): any;
15
18
  }
19
+ //# sourceMappingURL=search-filters.d.ts.map
@@ -1,6 +1,9 @@
1
1
  import { Recommendation } from "../../recommendation/recommendation";
2
2
  declare type MoveDirection = "left" | "right";
3
3
  export declare type CarouselMode = "grid" | "continuity";
4
+ /**
5
+ * @part carousel-button
6
+ **/
4
7
  export declare class VviinnCarousel {
5
8
  el: HTMLElement;
6
9
  moveDirection: MoveDirection;
@@ -47,3 +50,4 @@ export declare class VviinnCarousel {
47
50
  render(): any;
48
51
  }
49
52
  export {};
53
+ //# sourceMappingURL=vviinn-carousel.d.ts.map
@@ -3,3 +3,4 @@ export declare class VviinnEmptyResults {
3
3
  actionClick: EventEmitter<void>;
4
4
  render(): any;
5
5
  }
6
+ //# sourceMappingURL=vviinn-empty-results.d.ts.map
@@ -1,3 +1,4 @@
1
1
  export declare class VviinnError {
2
2
  render(): any;
3
3
  }
4
+ //# sourceMappingURL=vviinn-error.d.ts.map
@@ -3,3 +3,4 @@ export declare class VviinnServerError {
3
3
  actionClick: EventEmitter<void>;
4
4
  render(): any;
5
5
  }
6
+ //# sourceMappingURL=vviinn-server-error.d.ts.map
@@ -3,3 +3,4 @@ export declare class VviinnWrongFormat {
3
3
  actionClick: EventEmitter<void>;
4
4
  render(): any;
5
5
  }
6
+ //# sourceMappingURL=vviinn-wrong-format.d.ts.map
@@ -10,3 +10,4 @@ export declare class VviinnExampleImage {
10
10
  private showPreloader;
11
11
  render(): any;
12
12
  }
13
+ //# sourceMappingURL=vviinn-example-image.d.ts.map
@@ -8,3 +8,4 @@ export declare class VviinnExampleImages {
8
8
  componentWillLoad(): void;
9
9
  render(): any;
10
10
  }
11
+ //# sourceMappingURL=vviinn-example-images.d.ts.map
@@ -8,3 +8,4 @@ export declare const LoaderIcon: () => any;
8
8
  export declare const ChevronIcon: () => any;
9
9
  export declare const VisualSearchIcon: () => any;
10
10
  export declare const CrossIcon: () => any;
11
+ //# sourceMappingURL=index.d.ts.map
@@ -11,3 +11,4 @@ export declare class VviinnImageSelector {
11
11
  private isLoading;
12
12
  render(): any;
13
13
  }
14
+ //# sourceMappingURL=vviinn-image-selector.d.ts.map
@@ -1,10 +1,13 @@
1
+ import { EventEmitter } from "../../../stencil-public-runtime";
1
2
  import { ValueObject } from "../../../network/ion/ValueObject";
2
3
  import { DetectedObject } from "../../../searchSession/searchSession";
3
4
  export declare class VviinnDetectedObject {
4
5
  detectedObject: ValueObject<DetectedObject>;
6
+ detectedObjectClicked: EventEmitter;
5
7
  private getObjectPosition;
6
8
  private selectDetectedObject;
7
9
  private isActive;
8
10
  position: [string, string];
9
11
  render(): any;
10
12
  }
13
+ //# sourceMappingURL=vviinn-detected-object.d.ts.map
@@ -5,3 +5,4 @@ export declare class VviinnImageView {
5
5
  private renderCropper;
6
6
  render(): any;
7
7
  }
8
+ //# sourceMappingURL=vviinn-image-view.d.ts.map
@@ -10,3 +10,4 @@ export declare class VviinnModal {
10
10
  private handleAnimationEnd;
11
11
  render(): any;
12
12
  }
13
+ //# sourceMappingURL=vviinn-modal.d.ts.map
@@ -3,3 +3,4 @@ export declare class VviinnOnboardingCard1 {
3
3
  componentWillLoad(): void;
4
4
  render(): any;
5
5
  }
6
+ //# sourceMappingURL=vviinn-onboarding-card-1.d.ts.map
@@ -3,3 +3,4 @@ export declare class VviinnOnboardingCard2 {
3
3
  componentWillLoad(): void;
4
4
  render(): any;
5
5
  }
6
+ //# sourceMappingURL=vviinn-onboarding-card-2.d.ts.map
@@ -3,3 +3,4 @@ export declare class VviinnOnboardingCard3 {
3
3
  componentWillLoad(): void;
4
4
  render(): any;
5
5
  }
6
+ //# sourceMappingURL=vviinn-onboarding-card-3.d.ts.map
@@ -3,3 +3,4 @@ export declare class VviinnOnboarding {
3
3
  componentWillLoad(): void;
4
4
  render(): any;
5
5
  }
6
+ //# sourceMappingURL=vviinn-onboarding.d.ts.map
@@ -1,3 +1,4 @@
1
1
  export declare class VviinnOverlay {
2
2
  render(): any;
3
3
  }
4
+ //# sourceMappingURL=vviinn-overlay.d.ts.map
@@ -5,3 +5,4 @@ export declare class VviinnOverlayedModal {
5
5
  modalClosed: EventEmitter<void>;
6
6
  render(): any;
7
7
  }
8
+ //# sourceMappingURL=vviinn-overlayed-modal.d.ts.map
@@ -2,3 +2,4 @@ export declare class VviinnPreloader {
2
2
  private isActive;
3
3
  render(): any;
4
4
  }
5
+ //# sourceMappingURL=vviinn-preloader.d.ts.map
@@ -3,3 +3,4 @@ export declare class VviinnPrivacyBadge {
3
3
  componentWillLoad(): void;
4
4
  render(): any;
5
5
  }
6
+ //# sourceMappingURL=vviinn-privacy-badge.d.ts.map
@@ -23,3 +23,4 @@ export declare type ImageProps = {
23
23
  export declare const Image: (props: ImageProps, onLoadEnd?: () => any) => any;
24
24
  export declare const ResponsiveImage: (props: ImageProps, onLoadEnd?: () => any) => any;
25
25
  export {};
26
+ //# sourceMappingURL=render-helpers.d.ts.map
@@ -0,0 +1,74 @@
1
+ export declare const argTypes: {
2
+ imageWidth: {
3
+ name: string;
4
+ };
5
+ imageBorder: {
6
+ name: string;
7
+ };
8
+ imageBorderColor: {
9
+ name: string;
10
+ control: {
11
+ type: string;
12
+ };
13
+ };
14
+ imageBackground: {
15
+ name: string;
16
+ description: string;
17
+ };
18
+ showBrand: {
19
+ name: string;
20
+ description: string;
21
+ };
22
+ titleLineCount: {
23
+ name: string;
24
+ options: number[];
25
+ control: {
26
+ type: string;
27
+ default: number;
28
+ };
29
+ };
30
+ locale: {
31
+ name: string;
32
+ options: string[];
33
+ control: {
34
+ type: string;
35
+ default: number;
36
+ };
37
+ };
38
+ currencyValue: {
39
+ name: string;
40
+ options: string[];
41
+ control: {
42
+ type: string;
43
+ default: number;
44
+ };
45
+ };
46
+ contentAlignment: {
47
+ name: string;
48
+ options: string[];
49
+ mapping: {
50
+ Left: number;
51
+ Centered: number;
52
+ Right: number;
53
+ };
54
+ control: {
55
+ type: string;
56
+ default: number;
57
+ };
58
+ };
59
+ primaryTextColor: {
60
+ name: string;
61
+ control: {
62
+ type: string;
63
+ };
64
+ description: string;
65
+ };
66
+ secondaryTextColor: {
67
+ name: string;
68
+ description: string;
69
+ control: {
70
+ type: string;
71
+ };
72
+ };
73
+ };
74
+ //# sourceMappingURL=args.d.ts.map
@@ -0,0 +1,2 @@
1
+ export declare const productDecorator: (story: () => any) => string;
2
+ //# sourceMappingURL=decorators.d.ts.map
@@ -0,0 +1,81 @@
1
+ declare const _default: {
2
+ title: string;
3
+ component: string;
4
+ decorators: ((story: () => any) => string)[];
5
+ argTypes: {
6
+ imageWidth: {
7
+ name: string;
8
+ };
9
+ imageBorder: {
10
+ name: string;
11
+ };
12
+ imageBorderColor: {
13
+ name: string;
14
+ control: {
15
+ type: string;
16
+ };
17
+ };
18
+ imageBackground: {
19
+ name: string;
20
+ description: string;
21
+ };
22
+ showBrand: {
23
+ name: string;
24
+ description: string;
25
+ };
26
+ titleLineCount: {
27
+ name: string;
28
+ options: number[];
29
+ control: {
30
+ type: string;
31
+ default: number;
32
+ };
33
+ };
34
+ locale: {
35
+ name: string;
36
+ options: string[];
37
+ control: {
38
+ type: string;
39
+ default: number;
40
+ };
41
+ };
42
+ currencyValue: {
43
+ name: string;
44
+ options: string[];
45
+ control: {
46
+ type: string;
47
+ default: number;
48
+ };
49
+ };
50
+ contentAlignment: {
51
+ name: string;
52
+ options: string[];
53
+ mapping: {
54
+ Left: number;
55
+ Centered: number;
56
+ Right: number;
57
+ };
58
+ control: {
59
+ type: string;
60
+ default: number;
61
+ };
62
+ };
63
+ primaryTextColor: {
64
+ name: string;
65
+ control: {
66
+ type: string;
67
+ };
68
+ description: string;
69
+ };
70
+ secondaryTextColor: {
71
+ name: string;
72
+ description: string;
73
+ control: {
74
+ type: string;
75
+ };
76
+ };
77
+ };
78
+ };
79
+ export default _default;
80
+ export declare const Default: any;
81
+ //# sourceMappingURL=vviinn-product-card.stories.d.ts.map
@@ -1,4 +1,5 @@
1
1
  import { EventEmitter } from "../../stencil-public-runtime";
2
+ import { ProductCardEventData } from "../../recommendation/events";
2
3
  /**
3
4
  * @part brand - product brand.
4
5
  * @part currency - currency sign. Renders after price-amount.
@@ -30,15 +31,19 @@ export declare class VviinnProductCard {
30
31
  salePrice: number | undefined;
31
32
  responsive: boolean;
32
33
  dimmedBackground: boolean;
34
+ /** @internal */
35
+ index: number;
33
36
  imageLoaded: boolean;
34
37
  /** Event fires ones when recommendation rendered on page */
35
- recommendationLoad: EventEmitter<string>;
38
+ recommendationLoad: EventEmitter<ProductCardEventData>;
36
39
  /** Event fires ones when recommendation appears on the viewport */
37
- recommendationView: EventEmitter<string>;
40
+ recommendationView: EventEmitter<ProductCardEventData>;
38
41
  /** Event fires ones when user click on deeplink */
39
- recommendationClick: EventEmitter<string>;
42
+ recommendationClick: EventEmitter<ProductCardEventData>;
40
43
  productImageLoaded: EventEmitter<string>;
44
+ private productData;
41
45
  private intersectionObserver;
46
+ connectedCallback(): void;
42
47
  private intersectionCallback;
43
48
  componentDidLoad(): void;
44
49
  private getProduct;
@@ -46,3 +51,4 @@ export declare class VviinnProductCard {
46
51
  private kek;
47
52
  render(): any;
48
53
  }
54
+ //# sourceMappingURL=vviinn-product-card.d.ts.map
@@ -9,3 +9,4 @@ declare type ArrowProp = {
9
9
  };
10
10
  export declare const Arrow: FunctionalComponent<ArrowProp>;
11
11
  export {};
12
+ //# sourceMappingURL=arrow.d.ts.map
@@ -1,3 +1,4 @@
1
1
  export declare class VviinnSlide {
2
2
  render(): any;
3
3
  }
4
+ //# sourceMappingURL=vviinn-slide.d.ts.map
@@ -21,3 +21,4 @@ export declare class VviinnSlider {
21
21
  private handleTouchEnd;
22
22
  render(): any;
23
23
  }
24
+ //# sourceMappingURL=vviinn-slider.d.ts.map
@@ -3,3 +3,4 @@ export declare class VviinnTeaser {
3
3
  componentWillLoad(): void;
4
4
  render(): any;
5
5
  }
6
+ //# sourceMappingURL=vviinn-teaser.d.ts.map
@@ -23,3 +23,4 @@ export declare class RecommendationsSidebar {
23
23
  private handleAnimationEnd;
24
24
  }
25
25
  export {};
26
+ //# sourceMappingURL=recommendations-sidebar.d.ts.map