vviinn-widgets 2.5.2 → 2.6.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 (339) hide show
  1. package/dist/types/campaign/CampaignService.d.ts +1 -1
  2. package/dist/types/campaign/VCSCampaignService.d.ts +2 -1
  3. package/dist/types/campaign/VPRCampaignService.d.ts +2 -1
  4. package/dist/types/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.d.ts +2 -0
  5. package/dist/types/components/vviinn-vpr-button/stories/args.d.ts +6 -0
  6. package/dist/types/components/vviinn-vpr-button/stories/vviinn-vpr-button.stories.d.ts +6 -0
  7. package/dist/types/components/vviinn-vpr-button/vviinn-vpr-button.d.ts +2 -0
  8. package/dist/types/components/vviinn-vpr-widget/stories/args.d.ts +6 -0
  9. package/dist/types/components/vviinn-vpr-widget/stories/vviinn-vpr-widget.stories.d.ts +6 -0
  10. package/dist/types/components/vviinn-vpr-widget/vviinn-vpr-vidget.d.ts +3 -0
  11. package/dist/types/components.d.ts +24 -0
  12. package/dist/vviinn-widgets/Array-bdfc75db.js +4870 -0
  13. package/dist/vviinn-widgets/Handler-edcb46f4.js +1422 -0
  14. package/dist/vviinn-widgets/NonEmptyArray-947ab7b3.js +4411 -0
  15. package/dist/{esm/app-globals-6f6aa89e.js → vviinn-widgets/app-globals-26a61baa.js} +922 -10
  16. package/dist/{esm → vviinn-widgets}/cropper-handler.entry.js +2 -2
  17. package/dist/vviinn-widgets/css-shim-f0027935.js +4 -0
  18. package/dist/{esm/customized-slots-6b427dda.js → vviinn-widgets/customized-slots-fb9b3e5f.js} +1 -1
  19. package/dist/vviinn-widgets/dom-db0073f0.js +73 -0
  20. package/dist/vviinn-widgets/highlight-box.entry.js +41 -0
  21. package/dist/{collection/components/image-search/image-view/image-cropper/image-cropper.js → vviinn-widgets/image-cropper.entry.js} +33 -70
  22. package/dist/{esm/imageSearch.store-0ae87235.js → vviinn-widgets/imageSearch.store-15bda6de.js} +12106 -11817
  23. package/dist/{esm/index-ac05c460.js → vviinn-widgets/index-533f9255.js} +4 -2
  24. package/dist/{esm/index-2e296af4.js → vviinn-widgets/index-6c6de682.js} +639 -6
  25. package/dist/vviinn-widgets/index-89051fa8.js +3010 -0
  26. package/dist/vviinn-widgets/index.esm.js +1 -0
  27. package/dist/vviinn-widgets/number-171db649.js +1499 -0
  28. package/dist/vviinn-widgets/search-filters.entry.js +76 -0
  29. package/dist/vviinn-widgets/shadow-css-c1fdfa9f.js +389 -0
  30. package/dist/{collection/components/vviinn-carousel/vviinn-carousel.js → vviinn-widgets/vviinn-carousel.entry.js} +18 -113
  31. package/dist/vviinn-widgets/vviinn-detected-object.entry.js +54 -0
  32. package/dist/vviinn-widgets/vviinn-empty-results.entry.js +16 -0
  33. package/dist/{esm → vviinn-widgets}/vviinn-error.entry.js +1 -1
  34. package/dist/vviinn-widgets/vviinn-example-image.entry.js +38 -0
  35. package/dist/vviinn-widgets/vviinn-example-images.entry.js +28 -0
  36. package/dist/vviinn-widgets/vviinn-image-selector.entry.js +31 -0
  37. package/dist/vviinn-widgets/vviinn-image-view.entry.js +55 -0
  38. package/dist/vviinn-widgets/vviinn-modal.entry.js +30 -0
  39. package/dist/vviinn-widgets/vviinn-onboarding-card-1.entry.js +21 -0
  40. package/dist/vviinn-widgets/vviinn-onboarding-card-2.entry.js +21 -0
  41. package/dist/vviinn-widgets/vviinn-onboarding-card-3.entry.js +21 -0
  42. package/dist/vviinn-widgets/vviinn-onboarding.entry.js +20 -0
  43. package/dist/vviinn-widgets/vviinn-overlay.entry.js +15 -0
  44. package/dist/vviinn-widgets/vviinn-overlayed-modal.entry.js +18 -0
  45. package/dist/{esm → vviinn-widgets}/vviinn-preloader.entry.js +6 -3
  46. package/dist/vviinn-widgets/vviinn-privacy-badge.entry.js +20 -0
  47. package/dist/vviinn-widgets/vviinn-product-card.entry.js +184 -0
  48. package/dist/{esm → vviinn-widgets}/vviinn-recommendations-sidebar.entry.js +5 -3
  49. package/dist/vviinn-widgets/vviinn-server-error.entry.js +16 -0
  50. package/dist/vviinn-widgets/vviinn-slide.entry.js +15 -0
  51. package/dist/vviinn-widgets/vviinn-slider.entry.js +120 -0
  52. package/dist/vviinn-widgets/vviinn-teaser.entry.js +20 -0
  53. package/dist/{esm → vviinn-widgets}/vviinn-vpr-button.entry.js +7 -2
  54. package/dist/vviinn-widgets/vviinn-vpr-widget.entry.js +4588 -0
  55. package/dist/{esm → vviinn-widgets}/vviinn-vps-button.entry.js +3 -3
  56. package/dist/{esm → vviinn-widgets}/vviinn-vps-widget.entry.js +8 -5
  57. package/dist/vviinn-widgets/vviinn-widgets.css +6 -1
  58. package/dist/vviinn-widgets/vviinn-widgets.esm.js +125 -1
  59. package/dist/vviinn-widgets/vviinn-wrong-format.entry.js +16 -0
  60. package/package.json +3 -3
  61. package/www/build/Array-bdfc75db.js +4870 -0
  62. package/www/build/Handler-edcb46f4.js +1422 -0
  63. package/www/build/NonEmptyArray-947ab7b3.js +4411 -0
  64. package/{dist/cjs/app-globals-d15b4c2c.js → www/build/app-globals-26a61baa.js} +925 -15
  65. package/{dist/cjs/cropper-handler.cjs.entry.js → www/build/cropper-handler.entry.js} +7 -11
  66. package/www/build/css-shim-f0027935.js +4 -0
  67. package/{dist/cjs/customized-slots-0c0d0665.js → www/build/customized-slots-fb9b3e5f.js} +3 -6
  68. package/www/build/dom-db0073f0.js +73 -0
  69. package/www/build/highlight-box.entry.js +41 -0
  70. package/www/build/image-cropper.entry.js +118 -0
  71. package/{dist/cjs/imageSearch.store-865c23f4.js → www/build/imageSearch.store-15bda6de.js} +11902 -11647
  72. package/{dist/collection/components/vviinn-icons/index.js → www/build/index-533f9255.js} +14 -11
  73. package/{dist/cjs/index-0eb3036a.js → www/build/index-6c6de682.js} +698 -76
  74. package/www/build/index-89051fa8.js +3010 -0
  75. package/www/build/index.esm.js +1 -0
  76. package/www/build/number-171db649.js +1499 -0
  77. package/www/build/search-filters.entry.js +76 -0
  78. package/www/build/shadow-css-c1fdfa9f.js +389 -0
  79. package/www/build/vviinn-carousel.entry.js +210 -0
  80. package/www/build/vviinn-detected-object.entry.js +54 -0
  81. package/www/build/vviinn-empty-results.entry.js +16 -0
  82. package/{dist/cjs/vviinn-error.cjs.entry.js → www/build/vviinn-error.entry.js} +4 -8
  83. package/www/build/vviinn-example-image.entry.js +38 -0
  84. package/www/build/vviinn-example-images.entry.js +28 -0
  85. package/www/build/vviinn-image-selector.entry.js +31 -0
  86. package/www/build/vviinn-image-view.entry.js +55 -0
  87. package/www/build/vviinn-modal.entry.js +30 -0
  88. package/www/build/vviinn-onboarding-card-1.entry.js +21 -0
  89. package/www/build/vviinn-onboarding-card-2.entry.js +21 -0
  90. package/www/build/vviinn-onboarding-card-3.entry.js +21 -0
  91. package/www/build/vviinn-onboarding.entry.js +20 -0
  92. package/www/build/vviinn-overlay.entry.js +15 -0
  93. package/www/build/vviinn-overlayed-modal.entry.js +18 -0
  94. package/{dist/cjs/vviinn-preloader.cjs.entry.js → www/build/vviinn-preloader.entry.js} +10 -11
  95. package/www/build/vviinn-privacy-badge.entry.js +20 -0
  96. package/www/build/vviinn-product-card.entry.js +184 -0
  97. package/{dist/cjs/vviinn-recommendations-sidebar.cjs.entry.js → www/build/vviinn-recommendations-sidebar.entry.js} +10 -12
  98. package/www/build/vviinn-server-error.entry.js +16 -0
  99. package/www/build/vviinn-slide.entry.js +15 -0
  100. package/www/build/vviinn-slider.entry.js +120 -0
  101. package/www/build/vviinn-teaser.entry.js +20 -0
  102. package/{dist/cjs/vviinn-vpr-button.cjs.entry.js → www/build/vviinn-vpr-button.entry.js} +10 -9
  103. package/www/build/vviinn-vpr-widget.entry.js +4588 -0
  104. package/www/build/vviinn-vps-button.entry.js +39 -0
  105. package/{dist/cjs/vviinn-vps-widget.cjs.entry.js → www/build/vviinn-vps-widget.entry.js} +44 -45
  106. package/www/build/vviinn-widgets.css +6 -1
  107. package/www/build/vviinn-widgets.esm.js +125 -1
  108. package/www/build/vviinn-wrong-format.entry.js +16 -0
  109. package/www/index.html +10 -1
  110. package/dist/cjs/Handler-176539c8.js +0 -331
  111. package/dist/cjs/highlight-box_22.cjs.entry.js +0 -747
  112. package/dist/cjs/index-0f5516a6.js +0 -1354
  113. package/dist/cjs/index-31b9cb7a.js +0 -39
  114. package/dist/cjs/index.cjs.js +0 -2
  115. package/dist/cjs/loader.cjs.js +0 -23
  116. package/dist/cjs/vviinn-carousel_3.cjs.entry.js +0 -1174
  117. package/dist/cjs/vviinn-vps-button.cjs.entry.js +0 -43
  118. package/dist/cjs/vviinn-widgets.cjs.js +0 -21
  119. package/dist/collection/Image/error.js +0 -14
  120. package/dist/collection/Image/form.js +0 -5
  121. package/dist/collection/Image/fromFile.js +0 -18
  122. package/dist/collection/Image/imageToB64.js +0 -9
  123. package/dist/collection/Image/index.js +0 -0
  124. package/dist/collection/Image/renderPromise.js +0 -6
  125. package/dist/collection/Image/resizeImage.js +0 -28
  126. package/dist/collection/Image/sizing.js +0 -39
  127. package/dist/collection/Image/toFile.js +0 -17
  128. package/dist/collection/analytics/GAnalytics.js +0 -32
  129. package/dist/collection/analytics/GeneralAnalytics.js +0 -9
  130. package/dist/collection/analytics/GtagAnalytics.js +0 -35
  131. package/dist/collection/analytics/ProductAnalytics.js +0 -1
  132. package/dist/collection/campaign/Campaign.js +0 -8
  133. package/dist/collection/campaign/CampaignService.js +0 -5
  134. package/dist/collection/campaign/VCSCampaign.js +0 -1
  135. package/dist/collection/campaign/VCSCampaignResponse.js +0 -1
  136. package/dist/collection/campaign/VCSCampaignService.js +0 -5
  137. package/dist/collection/campaign/VPRCampaignResponse.js +0 -1
  138. package/dist/collection/campaign/VPRCampaignService.js +0 -5
  139. package/dist/collection/collection-manifest.json +0 -43
  140. package/dist/collection/components/customized-slots.js +0 -47
  141. package/dist/collection/components/image-search/image-view/highlight-box/highlight-box.css +0 -71
  142. package/dist/collection/components/image-search/image-view/highlight-box/highlight-box.js +0 -25
  143. package/dist/collection/components/image-search/image-view/image-cropper/cropper-handler/cropper-handler.css +0 -49
  144. package/dist/collection/components/image-search/image-view/image-cropper/cropper-handler/cropper-handler.js +0 -64
  145. package/dist/collection/components/image-search/image-view/image-cropper/image-cropper.css +0 -33
  146. package/dist/collection/components/image-search/search-filters/search-filters.css +0 -120
  147. package/dist/collection/components/image-search/search-filters/search-filters.js +0 -125
  148. package/dist/collection/components/vviinn-carousel/vviinn-carousel.css +0 -142
  149. package/dist/collection/components/vviinn-error/vviinn-empty-results/vviinn-empty-results.css +0 -7
  150. package/dist/collection/components/vviinn-error/vviinn-empty-results/vviinn-empty-results.js +0 -36
  151. package/dist/collection/components/vviinn-error/vviinn-error.css +0 -38
  152. package/dist/collection/components/vviinn-error/vviinn-error.js +0 -18
  153. package/dist/collection/components/vviinn-error/vviinn-server-error/vviinn-server-error.css +0 -3
  154. package/dist/collection/components/vviinn-error/vviinn-server-error/vviinn-server-error.js +0 -34
  155. package/dist/collection/components/vviinn-error/vviinn-wrong-format/vviinn-wrong-format.css +0 -3
  156. package/dist/collection/components/vviinn-error/vviinn-wrong-format/vviinn-wrong-format.js +0 -34
  157. package/dist/collection/components/vviinn-example-images/vviinn-example-image/vviinn-example-image.css +0 -34
  158. package/dist/collection/components/vviinn-example-images/vviinn-example-image/vviinn-example-image.js +0 -129
  159. package/dist/collection/components/vviinn-example-images/vviinn-example-images.css +0 -19
  160. package/dist/collection/components/vviinn-example-images/vviinn-example-images.js +0 -80
  161. package/dist/collection/components/vviinn-image-selector/vviinn-image-selector.css +0 -25
  162. package/dist/collection/components/vviinn-image-selector/vviinn-image-selector.js +0 -64
  163. package/dist/collection/components/vviinn-image-view/vviinn-detected-object/vviinn-detected-object.css +0 -47
  164. package/dist/collection/components/vviinn-image-view/vviinn-detected-object/vviinn-detected-object.js +0 -100
  165. package/dist/collection/components/vviinn-image-view/vviinn-image-view.css +0 -31
  166. package/dist/collection/components/vviinn-image-view/vviinn-image-view.js +0 -61
  167. package/dist/collection/components/vviinn-modal/vviinn-modal.css +0 -105
  168. package/dist/collection/components/vviinn-modal/vviinn-modal.js +0 -98
  169. package/dist/collection/components/vviinn-onboarding/onboarding-cards/onboarding-card.css +0 -41
  170. package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-1/vviinn-onboarding-card-1.js +0 -26
  171. package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-2/vviinn-onboarding-card-2.js +0 -26
  172. package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-3/vviinn-onboarding-card-3.js +0 -26
  173. package/dist/collection/components/vviinn-onboarding/vviinn-onboarding.css +0 -58
  174. package/dist/collection/components/vviinn-onboarding/vviinn-onboarding.js +0 -28
  175. package/dist/collection/components/vviinn-overlay/vviinn-overlay.css +0 -33
  176. package/dist/collection/components/vviinn-overlay/vviinn-overlay.js +0 -15
  177. package/dist/collection/components/vviinn-overlayed-modal/vviinn-overlayed-modal.css +0 -29
  178. package/dist/collection/components/vviinn-overlayed-modal/vviinn-overlayed-modal.js +0 -71
  179. package/dist/collection/components/vviinn-preloader/vviinn-preloader.css +0 -37
  180. package/dist/collection/components/vviinn-preloader/vviinn-preloader.js +0 -20
  181. package/dist/collection/components/vviinn-privacy-badge/vviinn-privacy-badge.css +0 -19
  182. package/dist/collection/components/vviinn-privacy-badge/vviinn-privacy-badge.js +0 -27
  183. package/dist/collection/components/vviinn-product-card/render-helpers.js +0 -32
  184. package/dist/collection/components/vviinn-product-card/stories/args.js +0 -73
  185. package/dist/collection/components/vviinn-product-card/stories/decorators.js +0 -51
  186. package/dist/collection/components/vviinn-product-card/stories/vviinn-product-card.stories.js +0 -105
  187. package/dist/collection/components/vviinn-product-card/vviinn-product-card.css +0 -95
  188. package/dist/collection/components/vviinn-product-card/vviinn-product-card.js +0 -462
  189. package/dist/collection/components/vviinn-slider/arrow.js +0 -11
  190. package/dist/collection/components/vviinn-slider/vviinn-slide/vviinn-slide.css +0 -4
  191. package/dist/collection/components/vviinn-slider/vviinn-slide/vviinn-slide.js +0 -15
  192. package/dist/collection/components/vviinn-slider/vviinn-slider.css +0 -109
  193. package/dist/collection/components/vviinn-slider/vviinn-slider.js +0 -181
  194. package/dist/collection/components/vviinn-teaser/vviinn-teaser.css +0 -14
  195. package/dist/collection/components/vviinn-teaser/vviinn-teaser.js +0 -29
  196. package/dist/collection/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.css +0 -238
  197. package/dist/collection/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.js +0 -200
  198. package/dist/collection/components/vviinn-vpr-button/stories/args.js +0 -207
  199. package/dist/collection/components/vviinn-vpr-button/stories/vviinn-vpr-button.stories.js +0 -89
  200. package/dist/collection/components/vviinn-vpr-button/vviinn-vpr-button.css +0 -35
  201. package/dist/collection/components/vviinn-vpr-button/vviinn-vpr-button.js +0 -156
  202. package/dist/collection/components/vviinn-vpr-widget/stories/args.js +0 -190
  203. package/dist/collection/components/vviinn-vpr-widget/stories/decorators.js +0 -29
  204. package/dist/collection/components/vviinn-vpr-widget/stories/vviinn-vpr-widget.stories.js +0 -212
  205. package/dist/collection/components/vviinn-vpr-widget/token-helpers.js +0 -11
  206. package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-vidget.js +0 -483
  207. package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-widget.css +0 -79
  208. package/dist/collection/components/vviinn-vps-button/stories/vviinn-vps-button.stories.js +0 -31
  209. package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.css +0 -3
  210. package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.js +0 -178
  211. package/dist/collection/components/vviinn-vps-widget/stories/vviinn-vps-widget.stories.js +0 -33
  212. package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.css +0 -350
  213. package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.js +0 -352
  214. package/dist/collection/cropper/Cropper.js +0 -1
  215. package/dist/collection/cropper/Handler.js +0 -61
  216. package/dist/collection/dom/index.js +0 -3
  217. package/dist/collection/error.js +0 -14
  218. package/dist/collection/file/index.js +0 -4
  219. package/dist/collection/geometry/Clip.js +0 -14
  220. package/dist/collection/geometry/Point.js +0 -32
  221. package/dist/collection/geometry/Rectangle.js +0 -95
  222. package/dist/collection/geometry/RectangleAlt.js +0 -1
  223. package/dist/collection/geometry/Sized.js +0 -8
  224. package/dist/collection/global.js +0 -19
  225. package/dist/collection/index.js +0 -1
  226. package/dist/collection/interfaces/generated.js +0 -5
  227. package/dist/collection/interfaces/recommendation.js +0 -1
  228. package/dist/collection/network/apiClient.js +0 -9
  229. package/dist/collection/network/ion/File.js +0 -14
  230. package/dist/collection/network/ion/Form.js +0 -64
  231. package/dist/collection/network/ion/Link.js +0 -8
  232. package/dist/collection/network/ion/ValueObject.js +0 -23
  233. package/dist/collection/network/request.js +0 -19
  234. package/dist/collection/network/utils.js +0 -37
  235. package/dist/collection/openApi/index.js +0 -27
  236. package/dist/collection/recommendation/events.js +0 -1
  237. package/dist/collection/recommendation/recommendation.js +0 -1
  238. package/dist/collection/searchSession/searchSession.js +0 -26
  239. package/dist/collection/sentry.js +0 -14
  240. package/dist/collection/slider/GridMode.js +0 -1
  241. package/dist/collection/store/file-processing.js +0 -13
  242. package/dist/collection/store/imageSearch.store.js +0 -138
  243. package/dist/collection/store/store.js +0 -3
  244. package/dist/collection/store/tracking.store.js +0 -3
  245. package/dist/collection/stories/Button.js +0 -21
  246. package/dist/collection/stories/Button.stories.js +0 -42
  247. package/dist/collection/stories/Header.js +0 -45
  248. package/dist/collection/stories/Header.stories.js +0 -15
  249. package/dist/collection/stories/Page.js +0 -61
  250. package/dist/collection/stories/Page.stories.js +0 -19
  251. package/dist/collection/stories/assets/code-brackets.svg +0 -1
  252. package/dist/collection/stories/assets/colors.svg +0 -1
  253. package/dist/collection/stories/assets/comments.svg +0 -1
  254. package/dist/collection/stories/assets/direction.svg +0 -1
  255. package/dist/collection/stories/assets/flow.svg +0 -1
  256. package/dist/collection/stories/assets/plugin.svg +0 -1
  257. package/dist/collection/stories/assets/repo.svg +0 -1
  258. package/dist/collection/stories/assets/stackalt.svg +0 -1
  259. package/dist/collection/stories/image-selector.stories.js +0 -6
  260. package/dist/collection/stories/image-view.stories.js +0 -6
  261. package/dist/collection/stories/modal.stories.js +0 -12
  262. package/dist/collection/stories/onboarding.stories.js +0 -11
  263. package/dist/collection/stories/overlay.stories.js +0 -5
  264. package/dist/collection/stories/overlayedModal.stories.js +0 -8
  265. package/dist/collection/stories/privacy-badge.stories.js +0 -11
  266. package/dist/collection/stories/slider.stories.js +0 -17
  267. package/dist/collection/stories/teaser.stories.js +0 -5
  268. package/dist/collection/stories/vps-widget.stories.js +0 -47
  269. package/dist/collection/stories/vviinn-product.stories.js +0 -19
  270. package/dist/collection/tracking/event.js +0 -3
  271. package/dist/collection/tracking/filter.js +0 -5
  272. package/dist/collection/tracking/index.js +0 -13
  273. package/dist/collection/tracking/models.js +0 -6
  274. package/dist/collection/tracking/product.js +0 -18
  275. package/dist/collection/tracking/search.js +0 -5
  276. package/dist/collection/tracking/widget.js +0 -10
  277. package/dist/collection/utils/collections/collectionsUtils.js +0 -5
  278. package/dist/collection/utils/either.js +0 -3
  279. package/dist/collection/utils/enum/enumUtils.js +0 -3
  280. package/dist/collection/utils/event/Events.js +0 -1
  281. package/dist/collection/utils/number/index.js +0 -4
  282. package/dist/collection/utils/option/option.js +0 -4
  283. package/dist/collection/utils/semigroup/semigroupDiff.js +0 -6
  284. package/dist/collection/utils/token/tokenUtils.js +0 -9
  285. package/dist/esm/Handler-f9b8735c.js +0 -309
  286. package/dist/esm/highlight-box_22.entry.js +0 -722
  287. package/dist/esm/index-59f44eaa.js +0 -1323
  288. package/dist/esm/index.js +0 -1
  289. package/dist/esm/loader.js +0 -19
  290. package/dist/esm/polyfills/core-js.js +0 -11
  291. package/dist/esm/polyfills/css-shim.js +0 -1
  292. package/dist/esm/polyfills/dom.js +0 -79
  293. package/dist/esm/polyfills/es5-html-element.js +0 -1
  294. package/dist/esm/polyfills/index.js +0 -34
  295. package/dist/esm/polyfills/system.js +0 -6
  296. package/dist/esm/vviinn-carousel_3.entry.js +0 -1168
  297. package/dist/esm/vviinn-widgets.js +0 -19
  298. package/dist/index.cjs.js +0 -1
  299. package/dist/index.js +0 -1
  300. package/dist/loader/cdn.js +0 -3
  301. package/dist/loader/index.cjs.js +0 -3
  302. package/dist/loader/index.d.ts +0 -12
  303. package/dist/loader/index.es2017.js +0 -3
  304. package/dist/loader/index.js +0 -4
  305. package/dist/loader/package.json +0 -10
  306. package/dist/vviinn-widgets/p-118ac907.js +0 -1
  307. package/dist/vviinn-widgets/p-11f61564.js +0 -1
  308. package/dist/vviinn-widgets/p-39fdc5c9.entry.js +0 -1
  309. package/dist/vviinn-widgets/p-762dc067.entry.js +0 -1
  310. package/dist/vviinn-widgets/p-7e2f542c.js +0 -1
  311. package/dist/vviinn-widgets/p-8d56e795.entry.js +0 -1
  312. package/dist/vviinn-widgets/p-8f955b15.entry.js +0 -1
  313. package/dist/vviinn-widgets/p-9654fe35.entry.js +0 -1
  314. package/dist/vviinn-widgets/p-9e5adc42.js +0 -1
  315. package/dist/vviinn-widgets/p-b3731705.entry.js +0 -1
  316. package/dist/vviinn-widgets/p-bad1809f.js +0 -1
  317. package/dist/vviinn-widgets/p-c36546fa.js +0 -15
  318. package/dist/vviinn-widgets/p-d991330b.entry.js +0 -1
  319. package/dist/vviinn-widgets/p-da9c933b.entry.js +0 -1
  320. package/dist/vviinn-widgets/p-ee46fc83.js +0 -1
  321. package/dist/vviinn-widgets/p-f41e25f0.entry.js +0 -1
  322. package/www/build/p-118ac907.js +0 -1
  323. package/www/build/p-11f61564.js +0 -1
  324. package/www/build/p-39fdc5c9.entry.js +0 -1
  325. package/www/build/p-762dc067.entry.js +0 -1
  326. package/www/build/p-7e2f542c.js +0 -1
  327. package/www/build/p-8d56e795.entry.js +0 -1
  328. package/www/build/p-8f955b15.entry.js +0 -1
  329. package/www/build/p-9654fe35.entry.js +0 -1
  330. package/www/build/p-9e5adc42.js +0 -1
  331. package/www/build/p-a67898be.css +0 -1
  332. package/www/build/p-b3731705.entry.js +0 -1
  333. package/www/build/p-bad1809f.js +0 -1
  334. package/www/build/p-c36546fa.js +0 -15
  335. package/www/build/p-cfd998c1.js +0 -1
  336. package/www/build/p-d991330b.entry.js +0 -1
  337. package/www/build/p-da9c933b.entry.js +0 -1
  338. package/www/build/p-ee46fc83.js +0 -1
  339. package/www/build/p-f41e25f0.entry.js +0 -1
@@ -1,11 +0,0 @@
1
- import { h } from "@stencil/core";
2
- import { ArrowIcon } from "../vviinn-icons";
3
- const getStyleMap = (data) => {
4
- return {
5
- "arrow-wrapper": true,
6
- [data.kind]: true,
7
- disabled: data.disabled,
8
- };
9
- };
10
- export const Arrow = ({ kind, tabindex, disabled, onClick, onKeyDown, }) => (h("div", { class: getStyleMap({ kind, disabled }), onClick: onClick, tabindex: tabindex, onKeyDown: onKeyDown },
11
- h(ArrowIcon, null)));
@@ -1,4 +0,0 @@
1
- :host {
2
- display: grid;
3
- justify-items: center;
4
- }
@@ -1,15 +0,0 @@
1
- import { Component, Host, h } from "@stencil/core";
2
- export class VviinnSlide {
3
- render() {
4
- return (h(Host, null,
5
- h("slot", null)));
6
- }
7
- static get is() { return "vviinn-slide"; }
8
- static get encapsulation() { return "shadow"; }
9
- static get originalStyleUrls() { return {
10
- "$": ["vviinn-slide.css"]
11
- }; }
12
- static get styleUrls() { return {
13
- "$": ["vviinn-slide.css"]
14
- }; }
15
- }
@@ -1,109 +0,0 @@
1
- :host {
2
- --color-primary-system: #0F62FE;
3
- --color-primary-hover-system: #014CDA;
4
- --color-icons-system: #2F8EDF;
5
- --spacer: 8px;
6
- }
7
-
8
-
9
- :host {
10
- --num-items: 0;
11
- --position: 0;
12
- display: grid;
13
- grid-gap: 20px;
14
- justify-items: center;
15
- position: relative;
16
- }
17
-
18
- .items-wrapper {
19
- overflow: hidden;
20
- width: 100%;
21
- }
22
-
23
- .items {
24
- box-sizing: border-box;
25
- display: grid;
26
- grid-auto-flow: column;
27
- grid-template-columns: repeat(var(--num-items), 100%);
28
- transform: translateX(calc(-100% * var(--position)));
29
- transition: transform 0.33s ease-in-out;
30
- }
31
-
32
- .controls {
33
- display: grid;
34
- grid-gap: 16px;
35
- grid-template-columns: repeat(var(--num-items), -webkit-min-content);
36
- grid-template-columns: repeat(var(--num-items), min-content);
37
- }
38
-
39
- .bullet {
40
- background: #E0E0E0;
41
- border-radius: 50%;
42
- box-sizing: border-box;
43
- cursor: pointer;
44
- height: 8px;
45
- width: 8px;
46
- transition: background 0.1s ease-in-out;
47
- }
48
-
49
- .bullet:hover {
50
- background: #C6C6C6;
51
- }
52
-
53
- .bullet.active {
54
- background: var(--color-primary, var(--color-primary-system));
55
- }
56
-
57
- .bullet:active {
58
- background: transparent;
59
- border: 2px solid var(--color-primary, var(--color-primary-system));
60
- }
61
-
62
- .arrow-wrapper {
63
- align-items: center;
64
- background: white;
65
- border: 2px solid white;
66
- bottom: 0;
67
- box-sizing: border-box;
68
- display: grid;
69
- height: calc(var(--spacer) * 6);
70
- justify-items: center;
71
- margin: auto;
72
- position: absolute;
73
- top: 0;
74
- transform: translate3d(0, -50%, 0);
75
- transition: border 0.25ms ease-in-out;
76
- width: calc(var(--spacer) * 4);
77
- }
78
-
79
- .arrow-wrapper:active {
80
- border-color: var(--color-primary, var(--color-primary-system));
81
- opacity: 0.75;
82
- }
83
-
84
- .arrow-wrapper:focus {
85
- border-color: var(--color-primary, var(--color-primary-system));
86
- opacity: 0.5;
87
- outline: none;
88
- }
89
-
90
- .prev {
91
- left: 0;
92
- }
93
-
94
- .next {
95
- right: 0;
96
- }
97
-
98
- .next > svg {
99
- transform: rotate3d(0, 1, 0, 180deg);
100
- }
101
-
102
- .arrow-wrapper > svg {
103
- transition: fill 0.25ms ease-in-out;
104
- fill: #A8A8A8;
105
- }
106
-
107
- .arrow-wrapper:hover > svg {
108
- fill: #8D8D8D;
109
- }
@@ -1,181 +0,0 @@
1
- import { Component, Host, h, Element, State, Prop, Watch } from "@stencil/core";
2
- import { range } from "fp-ts/lib/NonEmptyArray";
3
- import { pipe } from "fp-ts/lib/function";
4
- import * as O from "fp-ts/lib/Option";
5
- import * as N from "fp-ts/number";
6
- import { sequenceToOption } from "../../utils/option/option";
7
- import { Arrow } from "./arrow";
8
- export class VviinnSlider {
9
- constructor() {
10
- this.elementsCount = 0;
11
- this.internalPosition = 0;
12
- this.swipeStartPosition = O.none;
13
- this.showBullets = true;
14
- this.position = 0;
15
- this.showArrows = false;
16
- }
17
- positionWatchHandler(newValue) {
18
- this.internalPosition = newValue;
19
- this.el.style.setProperty("--position", `${newValue}`);
20
- this.setActiveCssClassToSlide(newValue);
21
- }
22
- connectedCallback() {
23
- this.handleDomContentChanges();
24
- }
25
- handleDomContentChanges() {
26
- const items = this.el.querySelectorAll("vviinn-slide");
27
- this.elementsCount = items.length;
28
- this.el.style.setProperty("--num-items", `${this.elementsCount}`);
29
- this.setActiveCssClassToSlide(0);
30
- }
31
- setActiveCssClassToSlide(index) {
32
- const items = this.el.querySelectorAll("vviinn-slide");
33
- items.forEach((i) => i.classList.remove("active"));
34
- items[index].classList.add("active");
35
- }
36
- goToSlide(index) {
37
- this.internalPosition = index;
38
- this.el.style.setProperty("--position", `${index}`);
39
- this.setActiveCssClassToSlide(index);
40
- }
41
- renderBullets() {
42
- return this.showBullets ? (h("div", { class: "controls" }, range(0, this.elementsCount - 1).map((i) => (h("div", { class: {
43
- bullet: true,
44
- active: i == this.internalPosition % this.elementsCount,
45
- }, onClick: () => this.goToSlide(i) }))))) : null;
46
- }
47
- nextSlide() {
48
- this.internalPosition++;
49
- this.renderSlidePosition();
50
- }
51
- prevSlide() {
52
- const nextPostion = this.internalPosition - 1;
53
- this.internalPosition =
54
- nextPostion > -1 ? nextPostion : this.elementsCount - 1;
55
- this.renderSlidePosition();
56
- }
57
- renderSlidePosition() {
58
- requestAnimationFrame(() => {
59
- this.el.style.setProperty("--position", `${this.internalPosition % this.elementsCount}`);
60
- });
61
- }
62
- handleKeyDown(event) {
63
- if (event.key !== "Space" && event.key !== "Enter")
64
- return;
65
- const target = event.target;
66
- const direction = target.className.includes("prev") ? "prev" : "next";
67
- switch (direction) {
68
- case "prev":
69
- this.prevSlide();
70
- break;
71
- case "next":
72
- this.nextSlide();
73
- break;
74
- }
75
- }
76
- handleTouchStart(event) {
77
- if (!this.showBullets)
78
- return;
79
- this.swipeStartPosition = pipe(event.touches[0], O.fromNullable, O.map((t) => t.clientX));
80
- }
81
- handleTouchEnd(event) {
82
- if (!this.showBullets)
83
- return;
84
- const swipeEndPosition = pipe(event.changedTouches[0], O.fromNullable, O.map((t) => t.clientX));
85
- pipe(sequenceToOption(this.swipeStartPosition, swipeEndPosition), O.map(([start, end]) => N.Ord.compare(start, end)), O.map((swipeDirection) => {
86
- switch (swipeDirection) {
87
- case 1:
88
- return this.nextSlide();
89
- case -1:
90
- return this.prevSlide();
91
- }
92
- }));
93
- }
94
- render() {
95
- return (h(Host, null,
96
- h("div", { class: "items-wrapper" },
97
- h("div", { class: "items", onTouchStart: (e) => this.handleTouchStart(e), onTouchEnd: (e) => this.handleTouchEnd(e) },
98
- h("slot", null))),
99
- this.showArrows
100
- ? [
101
- h(Arrow, { kind: "prev", onClick: () => this.prevSlide(), onKeyDown: (ev) => this.handleKeyDown(ev), tabindex: 1, disabled: false }),
102
- h(Arrow, { kind: "next", onClick: () => this.nextSlide(), onKeyDown: (ev) => this.handleKeyDown(ev), tabindex: 0, disabled: false }),
103
- ]
104
- : null,
105
- this.renderBullets()));
106
- }
107
- static get is() { return "vviinn-slider"; }
108
- static get encapsulation() { return "shadow"; }
109
- static get originalStyleUrls() { return {
110
- "$": ["vviinn-slider.css"]
111
- }; }
112
- static get styleUrls() { return {
113
- "$": ["vviinn-slider.css"]
114
- }; }
115
- static get properties() { return {
116
- "showBullets": {
117
- "type": "boolean",
118
- "mutable": false,
119
- "complexType": {
120
- "original": "boolean",
121
- "resolved": "boolean",
122
- "references": {}
123
- },
124
- "required": false,
125
- "optional": false,
126
- "docs": {
127
- "tags": [],
128
- "text": ""
129
- },
130
- "attribute": "show-bullets",
131
- "reflect": false,
132
- "defaultValue": "true"
133
- },
134
- "position": {
135
- "type": "number",
136
- "mutable": false,
137
- "complexType": {
138
- "original": "number",
139
- "resolved": "number",
140
- "references": {}
141
- },
142
- "required": false,
143
- "optional": false,
144
- "docs": {
145
- "tags": [],
146
- "text": ""
147
- },
148
- "attribute": "position",
149
- "reflect": true,
150
- "defaultValue": "0"
151
- },
152
- "showArrows": {
153
- "type": "boolean",
154
- "mutable": false,
155
- "complexType": {
156
- "original": "boolean",
157
- "resolved": "boolean",
158
- "references": {}
159
- },
160
- "required": false,
161
- "optional": false,
162
- "docs": {
163
- "tags": [],
164
- "text": ""
165
- },
166
- "attribute": "show-arrows",
167
- "reflect": false,
168
- "defaultValue": "false"
169
- }
170
- }; }
171
- static get states() { return {
172
- "elementsCount": {},
173
- "internalPosition": {},
174
- "swipeStartPosition": {}
175
- }; }
176
- static get elementRef() { return "el"; }
177
- static get watchers() { return [{
178
- "propName": "position",
179
- "methodName": "positionWatchHandler"
180
- }]; }
181
- }
@@ -1,14 +0,0 @@
1
- :host {
2
- align-items: center;
3
- display: grid;
4
- justify-items: center;
5
- grid-gap: 16px;
6
- }
7
-
8
- .vviinn-teaser-text {
9
- font-size: 28px;
10
- font-weight: 600;
11
- line-height: 40px;
12
- size: 28px;
13
- text-align: center;
14
- }
@@ -1,29 +0,0 @@
1
- import { Component, Host, h, Element } from "@stencil/core";
2
- import { slotChangeListener } from "../customized-slots";
3
- export class VviinnTeaser {
4
- componentWillLoad() {
5
- slotChangeListener(this, this.el);
6
- }
7
- render() {
8
- return (h(Host, null,
9
- h("slot", null,
10
- h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "64", height: "64", fill: "none" },
11
- h("defs", null),
12
- h("path", { fill: "#C6C6C6", d: "M48 28a11.98 11.98 0 00-9.77 18.942L28 57.172 30.828 60l10.23-10.23A11.994 11.994 0 1048 28zm0 20a8 8 0 118-8 8.009 8.009 0 01-8 8zM34 24a6 6 0 10-6-6 6.006 6.006 0 006 6zm0-8a2 2 0 110 4 2 2 0 010-4z" }),
13
- h("path", { fill: "#C6C6C6", d: "M24 48H8V35.993L18 26l11.172 11.172L32 34.336 20.828 23.165a4 4 0 00-5.656 0L8 30.336V8h40v12h4V8a4.004 4.004 0 00-4-4H8a4.004 4.004 0 00-4 4v40a4.005 4.005 0 004 4h16v-4z" })),
14
- h("span", { class: "vviinn-teaser-text" },
15
- h("slot", { name: "vviinn-teaser-text" },
16
- "Finde Produkte auf ",
17
- h("br", null),
18
- " einem Foto")))));
19
- }
20
- static get is() { return "vviinn-teaser"; }
21
- static get encapsulation() { return "shadow"; }
22
- static get originalStyleUrls() { return {
23
- "$": ["vviinn-teaser.css"]
24
- }; }
25
- static get styleUrls() { return {
26
- "$": ["vviinn-teaser.css"]
27
- }; }
28
- static get elementRef() { return "el"; }
29
- }
@@ -1,238 +0,0 @@
1
- :host {
2
- --vviinn-carousel-columns: 0;
3
- box-sizing: border-box;
4
- display: block;
5
- display: flex;
6
- height: 100vh;
7
- left: 0;
8
- position: fixed;
9
- top: 0;
10
- transition: background 0.1s ease-in-out;
11
- width: 100vw;
12
- }
13
-
14
- :host(.open) {
15
- background: rgba(0, 0, 0, 0.2);
16
- }
17
-
18
- :host(.bottom) {
19
- flex-direction: column;
20
- justify-content: end;
21
- }
22
-
23
- :host(.right) {
24
- flex-direction: row;
25
- justify-content: flex-end;
26
- }
27
-
28
- header {
29
- position: relative;
30
- text-align: center;
31
- padding: 32px;
32
- }
33
-
34
- header.contains-source-img {
35
- display: grid;
36
- justify-items: center;
37
- grid-gap: 12px;
38
- }
39
-
40
- img.source-image {
41
- width: 64px;
42
- height: 64px;
43
- border-radius: 50%;
44
- box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
45
- padding: 8px;
46
- }
47
-
48
- :host(.right) header {
49
- box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
50
- }
51
-
52
- main {
53
- padding: 0 24px;
54
- }
55
-
56
- :host(.right) main {
57
- overflow: auto;
58
- }
59
-
60
- .sidebar {
61
- background: white;
62
- box-sizing: border-box;
63
- display: flex;
64
- flex-direction: column;
65
- }
66
-
67
- :host(.bottom.idle) .sidebar,
68
- :host(.bottom.closed) .sidebar {
69
- transform: translateY(100%);
70
- }
71
-
72
- :host(.bottom.closed) .sidebar {
73
- -webkit-animation-name: slideOutFromBottom;
74
- animation-name: slideOutFromBottom;
75
- -webkit-animation-duration: 0.5s;
76
- animation-duration: 0.5s;
77
- -webkit-animation-fill-mode: forwards;
78
- animation-fill-mode: forwards;
79
- }
80
-
81
- :host(.bottom.open) .sidebar {
82
- -webkit-animation-name: slideInFromBottom;
83
- animation-name: slideInFromBottom;
84
- -webkit-animation-duration: 0.5s;
85
- animation-duration: 0.5s;
86
- -webkit-animation-fill-mode: forwards;
87
- animation-fill-mode: forwards;
88
- }
89
-
90
- :host(.right.idle) .sidebar {
91
- transform: translateX(100%);
92
- }
93
-
94
- :host(.right.closed) .sidebar {
95
- -webkit-animation-name: slideOutFromRight;
96
- animation-name: slideOutFromRight;
97
- -webkit-animation-duration: 0.5s;
98
- animation-duration: 0.5s;
99
- -webkit-animation-fill-mode: forwards;
100
- animation-fill-mode: forwards;
101
- }
102
-
103
- :host(.right.open) .sidebar {
104
- -webkit-animation-name: slideInFromRight;
105
- animation-name: slideInFromRight;
106
- -webkit-animation-duration: 0.5s;
107
- animation-duration: 0.5s;
108
- -webkit-animation-fill-mode: forwards;
109
- animation-fill-mode: forwards;
110
- }
111
-
112
- :host(.right) .sidebar {
113
- max-width: 480px;
114
- }
115
-
116
- :host(.right) vviinn-vpr-widget::part(recommendations-grid) {
117
- display: grid;
118
- grid-template-columns: repeat(2, 1fr);
119
- grid-gap: 24px;
120
- }
121
-
122
- :host(.right) vviinn-vpr-widget {
123
- overflow: auto;
124
- }
125
-
126
- :host(.right) vviinn-vpr-widget::part(image) {
127
- border: none;
128
- }
129
-
130
- .title {
131
- font-style: normal;
132
- font-weight: 500;
133
- font-size: 28px;
134
- line-height: 40px;
135
- text-align: center;
136
- color: #000000;
137
- }
138
-
139
- vviinn-vpr-widget::part(title),
140
- vviinn-vpr-widget::part(brand),
141
- vviinn-vpr-widget::part(type) {
142
- text-align: left;
143
- }
144
-
145
- vviinn-vpr-widget::part(price-container) {
146
- align-self: start;
147
- }
148
-
149
- .close-sidebar {
150
- background: transparent;
151
- border: none;
152
- cursor: pointer;
153
- margin: 0;
154
- padding: 0;
155
- position: absolute;
156
- right: 24px;
157
- top: 24px;
158
- }
159
-
160
- @-webkit-keyframes slideInFromBottom {
161
- from {
162
- transform: translateY(100%);
163
- }
164
-
165
- to {
166
- transform: translateY(0);
167
- }
168
- }
169
-
170
- @keyframes slideInFromBottom {
171
- from {
172
- transform: translateY(100%);
173
- }
174
-
175
- to {
176
- transform: translateY(0);
177
- }
178
- }
179
-
180
- @-webkit-keyframes slideOutFromBottom {
181
- from {
182
- transform: translateY(0);
183
- }
184
-
185
- to {
186
- transform: translateY(100%);
187
- }
188
- }
189
-
190
- @keyframes slideOutFromBottom {
191
- from {
192
- transform: translateY(0);
193
- }
194
-
195
- to {
196
- transform: translateY(100%);
197
- }
198
- }
199
-
200
- @-webkit-keyframes slideInFromRight {
201
- from {
202
- transform: translateX(100%);
203
- }
204
-
205
- to {
206
- transform: translateX(0);
207
- }
208
- }
209
-
210
- @keyframes slideInFromRight {
211
- from {
212
- transform: translateX(100%);
213
- }
214
-
215
- to {
216
- transform: translateX(0);
217
- }
218
- }
219
-
220
- @-webkit-keyframes slideOutFromRight {
221
- from {
222
- transform: translateX(0);
223
- }
224
-
225
- to {
226
- transform: translateX(100%);
227
- }
228
- }
229
-
230
- @keyframes slideOutFromRight {
231
- from {
232
- transform: translateX(0);
233
- }
234
-
235
- to {
236
- transform: translateX(100%);
237
- }
238
- }