vviinn-widgets 2.18.13 → 2.18.15
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.
- package/{www/build/Campaign-34792c96.js → dist/cjs/Campaign-13258569.js} +5 -2
- package/dist/cjs/Handler-176539c8.js +331 -0
- package/{www/build/cropper-handler.entry.js → dist/cjs/cropper-handler.cjs.entry.js} +11 -7
- package/dist/{vviinn-widgets/customized-slots-a4f5722e.js → cjs/customized-slots-8a1a9aed.js} +6 -3
- package/dist/cjs/highlight-box_22.cjs.entry.js +770 -0
- package/{www/build/imageSearch.store-87fee31c.js → dist/cjs/imageSearch.store-8bbadb9d.js} +11906 -12088
- package/dist/cjs/index-0bda22ec.js +1367 -0
- package/dist/{vviinn-widgets/index-6c6de682.js → cjs/index-1b894f1d.js} +76 -698
- package/dist/cjs/index-5ce4918b.js +39 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +21 -0
- package/dist/{vviinn-widgets/vviinn-button.entry.js → cjs/vviinn-button.cjs.entry.js} +9 -5
- package/dist/cjs/vviinn-carousel_3.cjs.entry.js +1257 -0
- package/dist/{vviinn-widgets/vviinn-error.entry.js → cjs/vviinn-error.cjs.entry.js} +8 -4
- package/{www/build/vviinn-preloader.entry.js → dist/cjs/vviinn-preloader.cjs.entry.js} +11 -10
- package/dist/{vviinn-widgets/vviinn-recommendations-sidebar.entry.js → cjs/vviinn-recommendations-sidebar.cjs.entry.js} +14 -10
- package/{www/build/vviinn-vpr-button.entry.js → dist/cjs/vviinn-vpr-button.cjs.entry.js} +20 -16
- package/dist/cjs/vviinn-vps-button.cjs.entry.js +65 -0
- package/{www/build/vviinn-vps-widget.entry.js → dist/cjs/vviinn-vps-widget.cjs.entry.js} +62 -61
- package/dist/cjs/vviinn-widgets.cjs.js +19 -0
- package/dist/collection/Image/error.js +14 -0
- package/dist/collection/Image/form.js +5 -0
- package/dist/collection/Image/fromFile.js +20 -0
- package/dist/collection/Image/imageToB64.js +9 -0
- package/dist/collection/Image/index.js +0 -0
- package/dist/collection/Image/renderPromise.js +6 -0
- package/dist/collection/Image/resizeImage.js +28 -0
- package/dist/collection/Image/sizing.js +39 -0
- package/dist/collection/Image/toFile.js +17 -0
- package/dist/collection/analytics/GAnalytics.js +32 -0
- package/dist/collection/analytics/GeneralAnalytics.js +9 -0
- package/dist/collection/analytics/GtagAnalytics.js +35 -0
- package/dist/collection/analytics/ProductAnalytics.js +1 -0
- package/dist/collection/campaign/Campaign.js +13 -0
- package/dist/collection/campaign/CampaignService.js +5 -0
- package/dist/collection/campaign/VCSCampaign.js +1 -0
- package/dist/collection/campaign/VCSCampaignResponse.js +1 -0
- package/dist/collection/campaign/VCSCampaignService.js +7 -0
- package/dist/collection/campaign/VPRCampaignResponse.js +1 -0
- package/dist/collection/campaign/VPRCampaignService.js +7 -0
- package/dist/collection/collection-manifest.json +44 -0
- package/dist/collection/components/customized-slots.js +48 -0
- package/dist/collection/components/image-search/image-view/highlight-box/highlight-box.css +71 -0
- package/dist/collection/components/image-search/image-view/highlight-box/highlight-box.js +25 -0
- package/dist/collection/components/image-search/image-view/image-cropper/cropper-handler/cropper-handler.css +49 -0
- package/dist/collection/components/image-search/image-view/image-cropper/cropper-handler/cropper-handler.js +60 -0
- package/dist/collection/components/image-search/image-view/image-cropper/image-cropper.css +33 -0
- package/dist/{vviinn-widgets/image-cropper.entry.js → collection/components/image-search/image-view/image-cropper/image-cropper.js} +91 -33
- package/dist/collection/components/image-search/search-filters/search-filters.css +120 -0
- package/dist/collection/components/image-search/search-filters/search-filters.js +145 -0
- package/dist/collection/components/vviinn-button/vviinn-button.css +39 -0
- package/dist/collection/components/vviinn-button/vviinn-button.js +45 -0
- package/dist/collection/components/vviinn-carousel/vviinn-carousel.css +146 -0
- package/{www/build/vviinn-carousel.entry.js → dist/collection/components/vviinn-carousel/vviinn-carousel.js} +153 -18
- package/dist/collection/components/vviinn-error/vviinn-empty-results/vviinn-empty-results.css +7 -0
- package/dist/collection/components/vviinn-error/vviinn-empty-results/vviinn-empty-results.js +20 -0
- package/dist/collection/components/vviinn-error/vviinn-error.css +38 -0
- package/dist/collection/components/vviinn-error/vviinn-error.js +18 -0
- package/dist/collection/components/vviinn-error/vviinn-server-error/vviinn-server-error.css +3 -0
- package/dist/collection/components/vviinn-error/vviinn-server-error/vviinn-server-error.js +39 -0
- package/dist/collection/components/vviinn-error/vviinn-wrong-format/vviinn-wrong-format.css +3 -0
- package/dist/collection/components/vviinn-error/vviinn-wrong-format/vviinn-wrong-format.js +39 -0
- package/dist/collection/components/vviinn-example-images/vviinn-example-image/vviinn-example-image.css +37 -0
- package/dist/collection/components/vviinn-example-images/vviinn-example-image/vviinn-example-image.js +164 -0
- package/dist/collection/components/vviinn-example-images/vviinn-example-images.css +19 -0
- package/dist/collection/components/vviinn-example-images/vviinn-example-images.js +98 -0
- package/dist/{vviinn-widgets/index-9f7c046f.js → collection/components/vviinn-icons/index.js} +11 -14
- package/dist/collection/components/vviinn-image-selector/vviinn-image-selector.css +26 -0
- package/dist/collection/components/vviinn-image-selector/vviinn-image-selector.js +96 -0
- package/dist/collection/components/vviinn-image-view/vviinn-detected-object/vviinn-detected-object.css +47 -0
- package/dist/collection/components/vviinn-image-view/vviinn-detected-object/vviinn-detected-object.js +125 -0
- package/dist/collection/components/vviinn-image-view/vviinn-image-view.css +32 -0
- package/dist/collection/components/vviinn-image-view/vviinn-image-view.js +79 -0
- package/dist/collection/components/vviinn-modal/vviinn-modal.css +106 -0
- package/dist/collection/components/vviinn-modal/vviinn-modal.js +131 -0
- package/dist/collection/components/vviinn-onboarding/onboarding-cards/onboarding-card.css +41 -0
- package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-1/vviinn-onboarding-card-1.js +26 -0
- package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-2/vviinn-onboarding-card-2.js +26 -0
- package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-3/vviinn-onboarding-card-3.js +26 -0
- package/dist/collection/components/vviinn-onboarding/vviinn-onboarding.css +58 -0
- package/dist/collection/components/vviinn-onboarding/vviinn-onboarding.js +28 -0
- package/dist/collection/components/vviinn-overlay/vviinn-overlay.css +33 -0
- package/dist/collection/components/vviinn-overlay/vviinn-overlay.js +15 -0
- package/dist/collection/components/vviinn-overlayed-modal/vviinn-overlayed-modal.css +30 -0
- package/dist/collection/components/vviinn-overlayed-modal/vviinn-overlayed-modal.js +91 -0
- package/dist/collection/components/vviinn-preloader/vviinn-preloader.css +37 -0
- package/dist/collection/components/vviinn-preloader/vviinn-preloader.js +20 -0
- package/dist/collection/components/vviinn-privacy-badge/vviinn-privacy-badge.css +19 -0
- package/dist/collection/components/vviinn-privacy-badge/vviinn-privacy-badge.js +27 -0
- package/dist/collection/components/vviinn-product-card/render-helpers.js +37 -0
- package/dist/collection/components/vviinn-product-card/stories/args.js +64 -0
- package/dist/collection/components/vviinn-product-card/stories/decorators.js +51 -0
- package/dist/collection/components/vviinn-product-card/stories/vviinn-product-card.stories.js +119 -0
- package/dist/collection/components/vviinn-product-card/vviinn-product-card.css +95 -0
- package/dist/collection/components/vviinn-product-card/vviinn-product-card.js +517 -0
- package/dist/collection/components/vviinn-slider/arrow.js +11 -0
- package/dist/collection/components/vviinn-slider/vviinn-slide/vviinn-slide.css +4 -0
- package/dist/collection/components/vviinn-slider/vviinn-slide/vviinn-slide.js +15 -0
- package/dist/collection/components/vviinn-slider/vviinn-slider.css +110 -0
- package/dist/collection/components/vviinn-slider/vviinn-slider.js +190 -0
- package/dist/collection/components/vviinn-teaser/vviinn-teaser.css +14 -0
- package/dist/collection/components/vviinn-teaser/vviinn-teaser.js +29 -0
- package/dist/collection/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.css +247 -0
- package/dist/collection/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.js +392 -0
- package/dist/collection/components/vviinn-vpr-button/stories/args.js +241 -0
- package/dist/collection/components/vviinn-vpr-button/stories/vviinn-vpr-button.stories.js +112 -0
- package/dist/collection/components/vviinn-vpr-button/vviinn-vpr-button.css +3 -0
- package/dist/collection/components/vviinn-vpr-button/vviinn-vpr-button.js +471 -0
- package/dist/collection/components/vviinn-vpr-widget/stories/args.js +184 -0
- package/dist/collection/components/vviinn-vpr-widget/stories/decorators.js +29 -0
- package/dist/collection/components/vviinn-vpr-widget/stories/vviinn-vpr-widget.stories.js +219 -0
- package/dist/collection/components/vviinn-vpr-widget/token-helpers.js +11 -0
- package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-vidget.js +705 -0
- package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-widget.css +82 -0
- package/dist/collection/components/vviinn-vps-button/stories/vviinn-vps-button.stories.js +41 -0
- package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.css +9 -0
- package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.js +397 -0
- package/dist/collection/components/vviinn-vps-widget/stories/vviinn-vps-widget.stories.js +43 -0
- package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.css +355 -0
- package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.js +678 -0
- package/dist/collection/cropper/Cropper.js +1 -0
- package/dist/collection/cropper/Handler.js +61 -0
- package/dist/collection/dom/index.js +3 -0
- package/dist/collection/error.js +14 -0
- package/dist/collection/file/index.js +4 -0
- package/dist/collection/geometry/Clip.js +14 -0
- package/dist/collection/geometry/Point.js +32 -0
- package/dist/collection/geometry/Rectangle.js +95 -0
- package/dist/collection/geometry/RectangleAlt.js +1 -0
- package/dist/collection/geometry/Sized.js +8 -0
- package/dist/collection/global.js +4 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/interfaces/generated.js +5 -0
- package/dist/collection/interfaces/recommendation.js +1 -0
- package/dist/collection/network/apiClient.js +9 -0
- package/dist/collection/network/ion/File.js +14 -0
- package/dist/collection/network/ion/Form.js +64 -0
- package/dist/collection/network/ion/Link.js +8 -0
- package/dist/collection/network/ion/ValueObject.js +23 -0
- package/dist/collection/network/request.js +19 -0
- package/dist/collection/network/utils.js +37 -0
- package/dist/collection/openApi/index.js +27 -0
- package/dist/collection/recommendation/events.js +1 -0
- package/dist/collection/recommendation/recommendation.js +1 -0
- package/dist/collection/searchSession/searchSession.js +31 -0
- package/dist/collection/sentry.js +14 -0
- package/dist/collection/slider/GridMode.js +1 -0
- package/dist/collection/store/file-processing.js +13 -0
- package/dist/collection/store/imageSearch.store.js +133 -0
- package/dist/collection/store/store.js +3 -0
- package/dist/collection/store/tracking.store.js +3 -0
- package/dist/collection/stories/image-selector.stories.js +6 -0
- package/dist/collection/stories/image-view.stories.js +6 -0
- package/dist/collection/stories/modal.stories.js +12 -0
- package/dist/collection/stories/onboarding.stories.js +11 -0
- package/dist/collection/stories/overlay.stories.js +5 -0
- package/dist/collection/stories/overlayedModal.stories.js +8 -0
- package/dist/collection/stories/privacy-badge.stories.js +11 -0
- package/dist/collection/stories/slider.stories.js +17 -0
- package/dist/collection/stories/teaser.stories.js +5 -0
- package/dist/collection/stories/vps-widget.stories.js +47 -0
- package/dist/collection/stories/vviinn-product.stories.js +19 -0
- package/dist/collection/tracking/event.js +3 -0
- package/dist/collection/tracking/filter.js +5 -0
- package/dist/collection/tracking/index.js +13 -0
- package/dist/collection/tracking/models.js +6 -0
- package/dist/collection/tracking/product.js +18 -0
- package/dist/collection/tracking/search.js +5 -0
- package/dist/collection/tracking/widget.js +10 -0
- package/dist/collection/utils/collections/collectionsUtils.js +5 -0
- package/dist/collection/utils/either.js +3 -0
- package/dist/collection/utils/enum/enumUtils.js +3 -0
- package/dist/collection/utils/event/Events.js +1 -0
- package/dist/collection/utils/number/index.js +4 -0
- package/dist/collection/utils/option/option.js +4 -0
- package/dist/collection/utils/semigroup/semigroupDiff.js +6 -0
- package/dist/collection/utils/token/tokenUtils.js +9 -0
- package/dist/{vviinn-widgets/Campaign-34792c96.js → esm/Campaign-90ba7e06.js} +0 -1
- package/dist/esm/Handler-f9b8735c.js +309 -0
- package/dist/{vviinn-widgets → esm}/cropper-handler.entry.js +2 -2
- package/{www/build/customized-slots-a4f5722e.js → dist/esm/customized-slots-4f7327c6.js} +1 -1
- package/dist/esm/highlight-box_22.entry.js +745 -0
- package/dist/{vviinn-widgets/imageSearch.store-87fee31c.js → esm/imageSearch.store-d8a17e0c.js} +11833 -12053
- package/{www/build/index-9f7c046f.js → dist/esm/index-34b385a3.js} +2 -4
- package/{www/build/index-6c6de682.js → dist/esm/index-4756a22d.js} +6 -639
- package/dist/esm/index-769ffb3c.js +1336 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +17 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/{www/build → dist/esm}/vviinn-button.entry.js +2 -2
- package/dist/esm/vviinn-carousel_3.entry.js +1251 -0
- package/{www/build → dist/esm}/vviinn-error.entry.js +1 -1
- package/dist/{vviinn-widgets → esm}/vviinn-preloader.entry.js +3 -6
- package/{www/build → dist/esm}/vviinn-recommendations-sidebar.entry.js +3 -3
- package/dist/{vviinn-widgets → esm}/vviinn-vpr-button.entry.js +3 -3
- package/{www/build → dist/esm}/vviinn-vps-button.entry.js +4 -4
- package/dist/{vviinn-widgets → esm}/vviinn-vps-widget.entry.js +6 -9
- package/dist/esm/vviinn-widgets.js +17 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/loader/cdn.js +3 -0
- package/dist/loader/index.cjs.js +3 -0
- package/dist/loader/index.d.ts +12 -0
- package/dist/loader/index.es2017.js +3 -0
- package/dist/loader/index.js +4 -0
- package/dist/loader/package.json +10 -0
- package/dist/vviinn-widgets/index.esm.js +0 -1
- package/dist/vviinn-widgets/p-11f61564.js +1 -0
- package/dist/vviinn-widgets/p-18fd769b.js +1 -0
- package/dist/vviinn-widgets/p-312fcfe7.js +1 -0
- package/dist/vviinn-widgets/p-394ab2b0.entry.js +1 -0
- package/dist/vviinn-widgets/p-3cc39ee1.entry.js +1 -0
- package/dist/vviinn-widgets/p-4a08e066.js +1 -0
- package/dist/vviinn-widgets/p-4f9a0ef8.js +1 -0
- package/dist/vviinn-widgets/p-58aaf26b.entry.js +1 -0
- package/dist/vviinn-widgets/p-7792f687.entry.js +1 -0
- package/dist/vviinn-widgets/p-7d7f2f6d.entry.js +1 -0
- package/dist/vviinn-widgets/p-7ed1f1b5.js +1 -0
- package/dist/vviinn-widgets/p-a26b9b62.entry.js +1 -0
- package/dist/vviinn-widgets/p-ac90148f.entry.js +1 -0
- package/dist/vviinn-widgets/p-c0b7bb0d.entry.js +1 -0
- package/dist/vviinn-widgets/p-e277a86e.entry.js +1 -0
- package/dist/vviinn-widgets/p-f1cefbf0.entry.js +1 -0
- package/dist/vviinn-widgets/p-ffea16fe.js +1 -0
- package/dist/vviinn-widgets/vviinn-widgets.css +1 -6
- package/dist/vviinn-widgets/vviinn-widgets.esm.js +1 -125
- package/package.json +1 -1
- package/www/build/index.esm.js +0 -1
- package/www/build/p-11f61564.js +1 -0
- package/www/build/p-18fd769b.js +1 -0
- package/www/build/p-312fcfe7.js +1 -0
- package/www/build/p-394ab2b0.entry.js +1 -0
- package/www/build/p-3cc39ee1.entry.js +1 -0
- package/www/build/p-4a08e066.js +1 -0
- package/www/build/p-4f9a0ef8.js +1 -0
- package/www/build/p-58aaf26b.entry.js +1 -0
- package/www/build/p-6b53583d.js +125 -0
- package/www/build/p-7792f687.entry.js +1 -0
- package/www/build/p-7d7f2f6d.entry.js +1 -0
- package/www/build/p-7ed1f1b5.js +1 -0
- package/www/build/p-a26b9b62.entry.js +1 -0
- package/www/build/p-ac90148f.entry.js +1 -0
- package/www/build/p-c0b7bb0d.entry.js +1 -0
- package/www/build/p-e0153ae2.css +6 -0
- package/www/build/p-e277a86e.entry.js +1 -0
- package/www/build/p-f1cefbf0.entry.js +1 -0
- package/www/build/p-ffea16fe.js +1 -0
- package/www/build/vviinn-widgets.css +1 -6
- package/www/build/vviinn-widgets.esm.js +1 -125
- package/www/index.html +2 -15
- package/dist/vviinn-widgets/Array-bdfc75db.js +0 -4870
- package/dist/vviinn-widgets/Handler-edcb46f4.js +0 -1422
- package/dist/vviinn-widgets/NonEmptyArray-947ab7b3.js +0 -4411
- package/dist/vviinn-widgets/app-globals-76b20e61.js +0 -8
- package/dist/vviinn-widgets/css-shim-f0027935.js +0 -4
- package/dist/vviinn-widgets/dom-db0073f0.js +0 -73
- package/dist/vviinn-widgets/highlight-box.entry.js +0 -41
- package/dist/vviinn-widgets/index-23ff5ffb.js +0 -3010
- package/dist/vviinn-widgets/number-171db649.js +0 -1499
- package/dist/vviinn-widgets/search-filters.entry.js +0 -76
- package/dist/vviinn-widgets/shadow-css-c1fdfa9f.js +0 -389
- package/dist/vviinn-widgets/vviinn-carousel.entry.js +0 -224
- package/dist/vviinn-widgets/vviinn-detected-object.entry.js +0 -54
- package/dist/vviinn-widgets/vviinn-empty-results.entry.js +0 -15
- package/dist/vviinn-widgets/vviinn-example-image.entry.js +0 -43
- package/dist/vviinn-widgets/vviinn-example-images.entry.js +0 -27
- package/dist/vviinn-widgets/vviinn-image-selector.entry.js +0 -31
- package/dist/vviinn-widgets/vviinn-image-view.entry.js +0 -55
- package/dist/vviinn-widgets/vviinn-modal.entry.js +0 -40
- package/dist/vviinn-widgets/vviinn-onboarding-card-1.entry.js +0 -21
- package/dist/vviinn-widgets/vviinn-onboarding-card-2.entry.js +0 -21
- package/dist/vviinn-widgets/vviinn-onboarding-card-3.entry.js +0 -21
- package/dist/vviinn-widgets/vviinn-onboarding.entry.js +0 -20
- package/dist/vviinn-widgets/vviinn-overlay.entry.js +0 -15
- package/dist/vviinn-widgets/vviinn-overlayed-modal.entry.js +0 -17
- package/dist/vviinn-widgets/vviinn-privacy-badge.entry.js +0 -20
- package/dist/vviinn-widgets/vviinn-product-card.entry.js +0 -198
- package/dist/vviinn-widgets/vviinn-server-error.entry.js +0 -15
- package/dist/vviinn-widgets/vviinn-slide.entry.js +0 -15
- package/dist/vviinn-widgets/vviinn-slider.entry.js +0 -128
- package/dist/vviinn-widgets/vviinn-teaser.entry.js +0 -20
- package/dist/vviinn-widgets/vviinn-vpr-widget.entry.js +0 -4637
- package/dist/vviinn-widgets/vviinn-vps-button.entry.js +0 -61
- package/dist/vviinn-widgets/vviinn-wrong-format.entry.js +0 -15
- package/www/build/Array-bdfc75db.js +0 -4870
- package/www/build/Handler-edcb46f4.js +0 -1422
- package/www/build/NonEmptyArray-947ab7b3.js +0 -4411
- package/www/build/app-globals-76b20e61.js +0 -8
- package/www/build/css-shim-f0027935.js +0 -4
- package/www/build/dom-db0073f0.js +0 -73
- package/www/build/highlight-box.entry.js +0 -41
- package/www/build/image-cropper.entry.js +0 -124
- package/www/build/index-23ff5ffb.js +0 -3010
- package/www/build/number-171db649.js +0 -1499
- package/www/build/search-filters.entry.js +0 -76
- package/www/build/shadow-css-c1fdfa9f.js +0 -389
- package/www/build/vviinn-detected-object.entry.js +0 -54
- package/www/build/vviinn-empty-results.entry.js +0 -15
- package/www/build/vviinn-example-image.entry.js +0 -43
- package/www/build/vviinn-example-images.entry.js +0 -27
- package/www/build/vviinn-image-selector.entry.js +0 -31
- package/www/build/vviinn-image-view.entry.js +0 -55
- package/www/build/vviinn-modal.entry.js +0 -40
- package/www/build/vviinn-onboarding-card-1.entry.js +0 -21
- package/www/build/vviinn-onboarding-card-2.entry.js +0 -21
- package/www/build/vviinn-onboarding-card-3.entry.js +0 -21
- package/www/build/vviinn-onboarding.entry.js +0 -20
- package/www/build/vviinn-overlay.entry.js +0 -15
- package/www/build/vviinn-overlayed-modal.entry.js +0 -17
- package/www/build/vviinn-privacy-badge.entry.js +0 -20
- package/www/build/vviinn-product-card.entry.js +0 -198
- package/www/build/vviinn-server-error.entry.js +0 -15
- package/www/build/vviinn-slide.entry.js +0 -15
- package/www/build/vviinn-slider.entry.js +0 -128
- package/www/build/vviinn-teaser.entry.js +0 -20
- package/www/build/vviinn-vpr-widget.entry.js +0 -4637
- package/www/build/vviinn-wrong-format.entry.js +0 -15
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
1
3
|
const campaignTypeNames = {
|
|
2
4
|
VPR: "Similar Products",
|
|
3
5
|
VPS: "Visual Search",
|
|
4
6
|
VCS: "Products Cross-Selling",
|
|
5
7
|
};
|
|
6
8
|
const isVPR = (c) => c._tag === "VPR";
|
|
7
|
-
const isVCS = (c) => c._tag === "VCS";
|
|
8
9
|
function fold(onVPR, onVCS) {
|
|
9
10
|
return (c) => (isVPR(c) ? onVPR() : onVCS());
|
|
10
11
|
}
|
|
@@ -12,4 +13,6 @@ function fromString(s) {
|
|
|
12
13
|
return s === "VPR" ? { _tag: "VPR" } : { _tag: "VCS" };
|
|
13
14
|
}
|
|
14
15
|
|
|
15
|
-
|
|
16
|
+
exports.campaignTypeNames = campaignTypeNames;
|
|
17
|
+
exports.fold = fold;
|
|
18
|
+
exports.fromString = fromString;
|
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// -------------------------------------------------------------------------------------
|
|
4
|
+
/**
|
|
5
|
+
* @since 2.0.0
|
|
6
|
+
*/
|
|
7
|
+
function identity(a) {
|
|
8
|
+
return a;
|
|
9
|
+
}
|
|
10
|
+
function flow(ab, bc, cd, de, ef, fg, gh, hi, ij) {
|
|
11
|
+
switch (arguments.length) {
|
|
12
|
+
case 1:
|
|
13
|
+
return ab;
|
|
14
|
+
case 2:
|
|
15
|
+
return function () {
|
|
16
|
+
return bc(ab.apply(this, arguments));
|
|
17
|
+
};
|
|
18
|
+
case 3:
|
|
19
|
+
return function () {
|
|
20
|
+
return cd(bc(ab.apply(this, arguments)));
|
|
21
|
+
};
|
|
22
|
+
case 4:
|
|
23
|
+
return function () {
|
|
24
|
+
return de(cd(bc(ab.apply(this, arguments))));
|
|
25
|
+
};
|
|
26
|
+
case 5:
|
|
27
|
+
return function () {
|
|
28
|
+
return ef(de(cd(bc(ab.apply(this, arguments)))));
|
|
29
|
+
};
|
|
30
|
+
case 6:
|
|
31
|
+
return function () {
|
|
32
|
+
return fg(ef(de(cd(bc(ab.apply(this, arguments))))));
|
|
33
|
+
};
|
|
34
|
+
case 7:
|
|
35
|
+
return function () {
|
|
36
|
+
return gh(fg(ef(de(cd(bc(ab.apply(this, arguments)))))));
|
|
37
|
+
};
|
|
38
|
+
case 8:
|
|
39
|
+
return function () {
|
|
40
|
+
return hi(gh(fg(ef(de(cd(bc(ab.apply(this, arguments))))))));
|
|
41
|
+
};
|
|
42
|
+
case 9:
|
|
43
|
+
return function () {
|
|
44
|
+
return ij(hi(gh(fg(ef(de(cd(bc(ab.apply(this, arguments)))))))));
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @since 2.0.0
|
|
51
|
+
*/
|
|
52
|
+
function tuple() {
|
|
53
|
+
var t = [];
|
|
54
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
55
|
+
t[_i] = arguments[_i];
|
|
56
|
+
}
|
|
57
|
+
return t;
|
|
58
|
+
}
|
|
59
|
+
function pipe(a, ab, bc, cd, de, ef, fg, gh, hi) {
|
|
60
|
+
switch (arguments.length) {
|
|
61
|
+
case 1:
|
|
62
|
+
return a;
|
|
63
|
+
case 2:
|
|
64
|
+
return ab(a);
|
|
65
|
+
case 3:
|
|
66
|
+
return bc(ab(a));
|
|
67
|
+
case 4:
|
|
68
|
+
return cd(bc(ab(a)));
|
|
69
|
+
case 5:
|
|
70
|
+
return de(cd(bc(ab(a))));
|
|
71
|
+
case 6:
|
|
72
|
+
return ef(de(cd(bc(ab(a)))));
|
|
73
|
+
case 7:
|
|
74
|
+
return fg(ef(de(cd(bc(ab(a))))));
|
|
75
|
+
case 8:
|
|
76
|
+
return gh(fg(ef(de(cd(bc(ab(a)))))));
|
|
77
|
+
case 9:
|
|
78
|
+
return hi(gh(fg(ef(de(cd(bc(ab(a))))))));
|
|
79
|
+
default: {
|
|
80
|
+
var ret = arguments[0];
|
|
81
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
82
|
+
ret = arguments[i](ret);
|
|
83
|
+
}
|
|
84
|
+
return ret;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
// -------------------------------------------------------------------------------------
|
|
90
|
+
// Option
|
|
91
|
+
// -------------------------------------------------------------------------------------
|
|
92
|
+
/** @internal */
|
|
93
|
+
var isNone = function (fa) { return fa._tag === 'None'; };
|
|
94
|
+
/** @internal */
|
|
95
|
+
var isSome = function (fa) { return fa._tag === 'Some'; };
|
|
96
|
+
/** @internal */
|
|
97
|
+
var none = { _tag: 'None' };
|
|
98
|
+
/** @internal */
|
|
99
|
+
var some = function (a) { return ({ _tag: 'Some', value: a }); };
|
|
100
|
+
// -------------------------------------------------------------------------------------
|
|
101
|
+
// Either
|
|
102
|
+
// -------------------------------------------------------------------------------------
|
|
103
|
+
/** @internal */
|
|
104
|
+
var isLeft = function (ma) { return ma._tag === 'Left'; };
|
|
105
|
+
/** @internal */
|
|
106
|
+
var left = function (e) { return ({ _tag: 'Left', left: e }); };
|
|
107
|
+
/** @internal */
|
|
108
|
+
var right = function (a) { return ({ _tag: 'Right', right: a }); };
|
|
109
|
+
// -------------------------------------------------------------------------------------
|
|
110
|
+
// Record
|
|
111
|
+
// -------------------------------------------------------------------------------------
|
|
112
|
+
/** @internal */
|
|
113
|
+
var has = Object.prototype.hasOwnProperty;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* If a type `A` can form a `Semigroup` it has an **associative** binary operation.
|
|
117
|
+
*
|
|
118
|
+
* ```ts
|
|
119
|
+
* interface Semigroup<A> {
|
|
120
|
+
* readonly concat: (x: A, y: A) => A
|
|
121
|
+
* }
|
|
122
|
+
* ```
|
|
123
|
+
*
|
|
124
|
+
* Associativity means the following equality must hold for any choice of `x`, `y`, and `z`.
|
|
125
|
+
*
|
|
126
|
+
* ```ts
|
|
127
|
+
* concat(x, concat(y, z)) = concat(concat(x, y), z)
|
|
128
|
+
* ```
|
|
129
|
+
*
|
|
130
|
+
* A common example of a semigroup is the type `string` with the operation `+`.
|
|
131
|
+
*
|
|
132
|
+
* ```ts
|
|
133
|
+
* import { Semigroup } from 'fp-ts/Semigroup'
|
|
134
|
+
*
|
|
135
|
+
* const semigroupString: Semigroup<string> = {
|
|
136
|
+
* concat: (x, y) => x + y
|
|
137
|
+
* }
|
|
138
|
+
*
|
|
139
|
+
* const x = 'x'
|
|
140
|
+
* const y = 'y'
|
|
141
|
+
* const z = 'z'
|
|
142
|
+
*
|
|
143
|
+
* semigroupString.concat(x, y) // 'xy'
|
|
144
|
+
*
|
|
145
|
+
* semigroupString.concat(x, semigroupString.concat(y, z)) // 'xyz'
|
|
146
|
+
*
|
|
147
|
+
* semigroupString.concat(semigroupString.concat(x, y), z) // 'xyz'
|
|
148
|
+
* ```
|
|
149
|
+
*
|
|
150
|
+
* *Adapted from https://typelevel.org/cats*
|
|
151
|
+
*
|
|
152
|
+
* @since 2.0.0
|
|
153
|
+
*/
|
|
154
|
+
/**
|
|
155
|
+
* Given a struct of semigroups returns a semigroup for the struct.
|
|
156
|
+
*
|
|
157
|
+
* @example
|
|
158
|
+
* import { struct } from 'fp-ts/Semigroup'
|
|
159
|
+
* import * as N from 'fp-ts/number'
|
|
160
|
+
*
|
|
161
|
+
* interface Point {
|
|
162
|
+
* readonly x: number
|
|
163
|
+
* readonly y: number
|
|
164
|
+
* }
|
|
165
|
+
*
|
|
166
|
+
* const S = struct<Point>({
|
|
167
|
+
* x: N.SemigroupSum,
|
|
168
|
+
* y: N.SemigroupSum
|
|
169
|
+
* })
|
|
170
|
+
*
|
|
171
|
+
* assert.deepStrictEqual(S.concat({ x: 1, y: 2 }, { x: 3, y: 4 }), { x: 4, y: 6 })
|
|
172
|
+
*
|
|
173
|
+
* @category combinators
|
|
174
|
+
* @since 2.10.0
|
|
175
|
+
*/
|
|
176
|
+
var struct = function (semigroups) { return ({
|
|
177
|
+
concat: function (first, second) {
|
|
178
|
+
var r = {};
|
|
179
|
+
for (var k in semigroups) {
|
|
180
|
+
if (has.call(semigroups, k)) {
|
|
181
|
+
r[k] = semigroups[k].concat(first[k], second[k]);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
return r;
|
|
185
|
+
}
|
|
186
|
+
}); };
|
|
187
|
+
// -------------------------------------------------------------------------------------
|
|
188
|
+
// instances
|
|
189
|
+
// -------------------------------------------------------------------------------------
|
|
190
|
+
/**
|
|
191
|
+
* Always return the first argument.
|
|
192
|
+
*
|
|
193
|
+
* @example
|
|
194
|
+
* import * as S from 'fp-ts/Semigroup'
|
|
195
|
+
*
|
|
196
|
+
* assert.deepStrictEqual(S.first<number>().concat(1, 2), 1)
|
|
197
|
+
*
|
|
198
|
+
* @category instances
|
|
199
|
+
* @since 2.10.0
|
|
200
|
+
*/
|
|
201
|
+
var first = function () { return ({ concat: identity }); };
|
|
202
|
+
/**
|
|
203
|
+
* Always return the last argument.
|
|
204
|
+
*
|
|
205
|
+
* @example
|
|
206
|
+
* import * as S from 'fp-ts/Semigroup'
|
|
207
|
+
*
|
|
208
|
+
* assert.deepStrictEqual(S.last<number>().concat(1, 2), 2)
|
|
209
|
+
*
|
|
210
|
+
* @category instances
|
|
211
|
+
* @since 2.10.0
|
|
212
|
+
*/
|
|
213
|
+
var last = function () { return ({ concat: function (_, y) { return y; } }); };
|
|
214
|
+
/**
|
|
215
|
+
* Use [`SemigroupSum`](./number.ts.html#SemigroupSum) instead.
|
|
216
|
+
*
|
|
217
|
+
* @category instances
|
|
218
|
+
* @since 2.0.0
|
|
219
|
+
* @deprecated
|
|
220
|
+
*/
|
|
221
|
+
var semigroupSum = {
|
|
222
|
+
concat: function (x, y) { return x + y; }
|
|
223
|
+
};
|
|
224
|
+
|
|
225
|
+
const semigroupDiff = {
|
|
226
|
+
concat: (x, y) => x - y,
|
|
227
|
+
};
|
|
228
|
+
|
|
229
|
+
const fromRectangle$1 = ({ x, y }) => {
|
|
230
|
+
return {
|
|
231
|
+
x,
|
|
232
|
+
y,
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
const fromMouseEvent = ({ clientX, clientY }) => {
|
|
236
|
+
return {
|
|
237
|
+
x: clientX,
|
|
238
|
+
y: clientY,
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
const pointDiffSemigroup = struct({
|
|
242
|
+
x: semigroupDiff,
|
|
243
|
+
y: semigroupDiff,
|
|
244
|
+
});
|
|
245
|
+
const pointSumSemigroup = struct({
|
|
246
|
+
x: semigroupSum,
|
|
247
|
+
y: semigroupSum,
|
|
248
|
+
});
|
|
249
|
+
|
|
250
|
+
exports.HandlerDirection = void 0;
|
|
251
|
+
(function (HandlerDirection) {
|
|
252
|
+
HandlerDirection[HandlerDirection["East"] = 0] = "East";
|
|
253
|
+
HandlerDirection[HandlerDirection["North"] = 1] = "North";
|
|
254
|
+
HandlerDirection[HandlerDirection["NorthEast"] = 2] = "NorthEast";
|
|
255
|
+
HandlerDirection[HandlerDirection["NorthWest"] = 3] = "NorthWest";
|
|
256
|
+
HandlerDirection[HandlerDirection["South"] = 4] = "South";
|
|
257
|
+
HandlerDirection[HandlerDirection["SouthEast"] = 5] = "SouthEast";
|
|
258
|
+
HandlerDirection[HandlerDirection["SouthWest"] = 6] = "SouthWest";
|
|
259
|
+
HandlerDirection[HandlerDirection["West"] = 7] = "West";
|
|
260
|
+
})(exports.HandlerDirection || (exports.HandlerDirection = {}));
|
|
261
|
+
const getCursorValue = (direction) => {
|
|
262
|
+
switch (direction) {
|
|
263
|
+
case exports.HandlerDirection.East:
|
|
264
|
+
return "e-resize";
|
|
265
|
+
case exports.HandlerDirection.North:
|
|
266
|
+
return "n-resize";
|
|
267
|
+
case exports.HandlerDirection.NorthEast:
|
|
268
|
+
return "ne-resize";
|
|
269
|
+
case exports.HandlerDirection.NorthWest:
|
|
270
|
+
return "nw-resize";
|
|
271
|
+
case exports.HandlerDirection.South:
|
|
272
|
+
return "s-resize";
|
|
273
|
+
case exports.HandlerDirection.SouthEast:
|
|
274
|
+
return "se-resize";
|
|
275
|
+
case exports.HandlerDirection.SouthWest:
|
|
276
|
+
return "sw-resize";
|
|
277
|
+
case exports.HandlerDirection.West:
|
|
278
|
+
return "w-resize";
|
|
279
|
+
default:
|
|
280
|
+
return "pointer";
|
|
281
|
+
}
|
|
282
|
+
};
|
|
283
|
+
const fromRectangle = (r) => [
|
|
284
|
+
{
|
|
285
|
+
position: fromRectangle$1(r),
|
|
286
|
+
direction: exports.HandlerDirection.NorthWest,
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
position: pointSumSemigroup.concat(fromRectangle$1(r), {
|
|
290
|
+
x: r.width,
|
|
291
|
+
y: 0,
|
|
292
|
+
}),
|
|
293
|
+
direction: exports.HandlerDirection.NorthEast,
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
position: pointSumSemigroup.concat(fromRectangle$1(r), {
|
|
297
|
+
x: 0,
|
|
298
|
+
y: r.height,
|
|
299
|
+
}),
|
|
300
|
+
direction: exports.HandlerDirection.SouthWest,
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
position: pointSumSemigroup.concat(fromRectangle$1(r), {
|
|
304
|
+
x: r.width,
|
|
305
|
+
y: r.height,
|
|
306
|
+
}),
|
|
307
|
+
direction: exports.HandlerDirection.SouthEast,
|
|
308
|
+
},
|
|
309
|
+
];
|
|
310
|
+
|
|
311
|
+
exports.first = first;
|
|
312
|
+
exports.flow = flow;
|
|
313
|
+
exports.fromMouseEvent = fromMouseEvent;
|
|
314
|
+
exports.fromRectangle = fromRectangle$1;
|
|
315
|
+
exports.fromRectangle$1 = fromRectangle;
|
|
316
|
+
exports.getCursorValue = getCursorValue;
|
|
317
|
+
exports.has = has;
|
|
318
|
+
exports.identity = identity;
|
|
319
|
+
exports.isLeft = isLeft;
|
|
320
|
+
exports.isNone = isNone;
|
|
321
|
+
exports.isSome = isSome;
|
|
322
|
+
exports.last = last;
|
|
323
|
+
exports.left = left;
|
|
324
|
+
exports.none = none;
|
|
325
|
+
exports.pipe = pipe;
|
|
326
|
+
exports.pointDiffSemigroup = pointDiffSemigroup;
|
|
327
|
+
exports.pointSumSemigroup = pointSumSemigroup;
|
|
328
|
+
exports.right = right;
|
|
329
|
+
exports.some = some;
|
|
330
|
+
exports.struct = struct;
|
|
331
|
+
exports.tuple = tuple;
|
|
@@ -1,23 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-0bda22ec.js');
|
|
6
|
+
const Handler = require('./Handler-176539c8.js');
|
|
3
7
|
|
|
4
8
|
const cropperHandlerCss = ":host{--size:20px;background:transparent;border:4px solid white;box-sizing:content-box;display:block;height:var(--size);touch-action:none;position:absolute;width:var(--size);z-index:4;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.disabled){opacity:0.25}:host(.nw-resize){border-bottom:none;border-right:none;top:0;left:0}:host(.ne-resize){border-left:none;border-bottom:none;right:0;top:0}:host(.sw-resize){border-right:none;border-top:none;left:0;bottom:0}:host(.se-resize){border-left:none;border-top:none;bottom:0;right:0}";
|
|
5
9
|
|
|
6
10
|
let CropperHandler = class {
|
|
7
11
|
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
9
13
|
this.disabled = false;
|
|
10
14
|
}
|
|
11
15
|
render() {
|
|
12
|
-
return (h(Host, { part: `handle ${getCursorValue(this.handler.direction)}`, class: {
|
|
16
|
+
return (index.h(index.Host, { part: `handle ${Handler.getCursorValue(this.handler.direction)}`, class: {
|
|
13
17
|
disabled: this.disabled,
|
|
14
|
-
[getCursorValue(this.handler.direction)]: true,
|
|
18
|
+
[Handler.getCursorValue(this.handler.direction)]: true,
|
|
15
19
|
}, style: {
|
|
16
20
|
"--size": "20px",
|
|
17
|
-
cursor: getCursorValue(this.handler.direction),
|
|
21
|
+
cursor: Handler.getCursorValue(this.handler.direction),
|
|
18
22
|
}, draggable: false }));
|
|
19
23
|
}
|
|
20
24
|
};
|
|
21
25
|
CropperHandler.style = cropperHandlerCss;
|
|
22
26
|
|
|
23
|
-
|
|
27
|
+
exports.cropper_handler = CropperHandler;
|
package/dist/{vviinn-widgets/customized-slots-a4f5722e.js → cjs/customized-slots-8a1a9aed.js}
RENAMED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const index = require('./index-0bda22ec.js');
|
|
2
4
|
|
|
3
5
|
const defaultSlotsNames = [
|
|
4
6
|
"vviinn-onboarding-title",
|
|
@@ -18,7 +20,7 @@ const defaultSlotsNames = [
|
|
|
18
20
|
"vviinn-privacy-badge-text",
|
|
19
21
|
"vviinn-image-search-modal-title",
|
|
20
22
|
];
|
|
21
|
-
const renderNamedSlot = (name) => h("slot", { name: name });
|
|
23
|
+
const renderNamedSlot = (name) => index.h("slot", { name: name });
|
|
22
24
|
const SlotSkeleton = () => defaultSlotsNames.map(renderNamedSlot);
|
|
23
25
|
const getSlots = (element) => Array.from(element.shadowRoot.querySelectorAll("slot"));
|
|
24
26
|
const getNameAttribute = (element) => element.getAttribute("name");
|
|
@@ -48,4 +50,5 @@ const slotChangeListener = (component, element) => {
|
|
|
48
50
|
component.connectedCallback.call(component);
|
|
49
51
|
};
|
|
50
52
|
|
|
51
|
-
|
|
53
|
+
exports.SlotSkeleton = SlotSkeleton;
|
|
54
|
+
exports.slotChangeListener = slotChangeListener;
|