vviinn-widgets 2.226.0 → 2.226.2
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/dist/cjs/{Rectangle-7dF6_xf3.js → Rectangle-CopOhKfk.js} +8 -1
- package/dist/cjs/{SecondaryActionIcon-CuNEBTWD.js → SecondaryActionIcon-DJkiqzKf.js} +8 -1
- package/dist/cjs/app-globals-BI4YcnGX.js +15 -0
- package/dist/cjs/{cropperUtils-s4RL8x1I.js → cropperUtils-C-XU1J_8.js} +8 -1
- package/dist/cjs/{cssUrlHelper-DvvTHGQz.js → cssUrlHelper-CNX5gTl3.js} +8 -1
- package/dist/cjs/exampleImage-DXnq1_gm.js +12 -0
- package/dist/cjs/{index-BU8FMTXn.js → index-Bx3A7Ug3.js} +7 -0
- package/dist/cjs/{index-BNBpb0MK.js → index-Dc37VzG4.js} +10 -3
- package/dist/cjs/{index-CP1QUrJT.js → index-DdqDxuZV.js} +8 -1
- package/dist/cjs/{index-B1c3slHQ.js → index-wKjld6Ft.js} +8 -1
- package/dist/cjs/index.cjs.js +7 -0
- package/dist/cjs/loader.cjs.js +9 -2
- package/dist/cjs/{openProductLink-B3cy6uw_.js → openProductLink-D1JdHh_O.js} +7 -0
- package/dist/cjs/{resultsPageUrl-Cki7CFQz.js → resultsPageUrl-BSyynJ_k.js} +7 -0
- package/dist/cjs/{search.store-CO6nr2Z5.js → search.store-D5Zu3JJX.js} +10 -3
- package/dist/cjs/{store-jPZ4ROqV.js → store-B4_GxlAy.js} +7 -0
- package/dist/cjs/{swiper-element-DjtzojCR.js → swiper-element-CxrhMTDw.js} +7 -0
- package/dist/cjs/vviinn-button_6.cjs.entry.js +15 -8
- package/dist/cjs/vviinn-camera_12.cjs.entry.js +22 -17
- package/dist/cjs/vviinn-carousel_10.cjs.entry.js +17 -10
- package/dist/cjs/vviinn-detected-object_2.cjs.entry.js +10 -3
- package/dist/cjs/vviinn-shop-the-look.cjs.entry.js +17 -10
- package/dist/cjs/vviinn-text-search.cjs.entry.js +14 -7
- package/dist/cjs/vviinn-vps-button.cjs.entry.js +13 -6
- package/dist/cjs/vviinn-widgets.cjs.js +9 -2
- package/dist/collection/Image/bounds.js +7 -0
- package/dist/collection/Image/error.js +7 -0
- package/dist/collection/Image/fromFile.js +7 -0
- package/dist/collection/Image/imageToB64.js +7 -0
- package/dist/collection/Image/index.js +7 -0
- package/dist/collection/Image/renderPromise.js +7 -0
- package/dist/collection/Image/renderTitleImage.js +7 -0
- package/dist/collection/Image/resizeImage.js +7 -0
- package/dist/collection/Image/responsive.js +7 -0
- package/dist/collection/Image/sizing.js +7 -0
- package/dist/collection/Image/toFile.js +7 -0
- package/dist/collection/a11y/announcements.js +7 -0
- package/dist/collection/a11y/aria-labels.js +7 -0
- package/dist/collection/a11y/index.js +7 -0
- package/dist/collection/analytics/GAnalytics.js +7 -0
- package/dist/collection/analytics/GeneralAnalytics.js +7 -0
- package/dist/collection/analytics/GtagAnalytics.js +7 -0
- package/dist/collection/campaign/Campaign.js +7 -0
- package/dist/collection/campaign/CampaignService.js +7 -0
- package/dist/collection/campaign/VCSCampaignService.js +7 -0
- package/dist/collection/campaign/VPRCampaignService.js +7 -0
- package/dist/collection/components/customized-slots.js +7 -0
- package/dist/collection/components/vviinn-button/vviinn-button.js +7 -0
- package/dist/collection/components/vviinn-camera/vviinn-camera.js +7 -0
- package/dist/collection/components/vviinn-carousel/constants.js +7 -0
- package/dist/collection/components/vviinn-carousel/vviinn-carousel.js +7 -0
- package/dist/collection/components/vviinn-cropper/constants.js +7 -0
- package/dist/collection/components/vviinn-cropper/helpers/cropperOcrGate.js +7 -0
- package/dist/collection/components/vviinn-cropper/helpers/cropperUtils.js +7 -0
- package/dist/collection/components/vviinn-cropper/helpers/hasSelectedOcrFilter.js +7 -0
- package/dist/collection/components/vviinn-cropper/helpers/isCropBoxDataSimilar.js +7 -0
- package/dist/collection/components/vviinn-cropper/helpers/validateCropBoxData.js +7 -0
- package/dist/collection/components/vviinn-cropper/vviinn-cropper.js +7 -0
- package/dist/collection/components/vviinn-cropper/vviinn-detected-object/vviinn-detected-object.js +7 -0
- package/dist/collection/components/vviinn-error/index.js +7 -0
- package/dist/collection/components/vviinn-error/vviinn-error.js +7 -0
- package/dist/collection/components/vviinn-filters/helpers/RenderCustomButton.js +7 -0
- package/dist/collection/components/vviinn-filters/helpers/RenderFilterButton.js +7 -0
- package/dist/collection/components/vviinn-filters/helpers/RenderSearchInput.js +7 -0
- package/dist/collection/components/vviinn-filters/helpers/extractSelectedFilters.js +7 -0
- package/dist/collection/components/vviinn-filters/helpers/filterValueUtils.js +7 -0
- package/dist/collection/components/vviinn-filters/helpers/getFilterOptions.js +7 -0
- package/dist/collection/components/vviinn-filters/helpers/getIntervalLabel.js +7 -0
- package/dist/collection/components/vviinn-filters/helpers/getSelectedInterval.js +7 -0
- package/dist/collection/components/vviinn-filters/helpers/index.js +7 -0
- package/dist/collection/components/vviinn-filters/helpers/isSubFilterActive.js +7 -0
- package/dist/collection/components/vviinn-filters/helpers/modalPositioning.js +7 -0
- package/dist/collection/components/vviinn-filters/helpers/searchHelper.js +7 -0
- package/dist/collection/components/vviinn-filters/helpers/subFilterSelection.js +7 -0
- package/dist/collection/components/vviinn-filters/helpers/syncRequestFilters.js +7 -0
- package/dist/collection/components/vviinn-filters/helpers/triggerFilter.js +7 -0
- package/dist/collection/components/vviinn-filters/vviinn-extended-filters-button.js +7 -0
- package/dist/collection/components/vviinn-filters/vviinn-extended-filters.js +7 -0
- package/dist/collection/components/vviinn-filters/vviinn-filters.js +7 -0
- package/dist/collection/components/vviinn-filters/vviinn-selected-filters.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/ArrowIcon.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/BasketIcon.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/CameraActionIcon.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/CameraIcon.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/CheckCircleIcon.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/ChevronIcon.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/ChevronIconSmall.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/CrossIcon.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/CrossSellingIcon.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/DragDropImageIcon.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/FavoriteIcon.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/FavoriteIconPressed.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/FilterIconCheck.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/FilterIconClose.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/FiltersIcon.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/GridViewIcon.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/ImagePlaceholder.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/MicIcon.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/MinusIcon.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/NewCloseIcon.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/PhotoFrameCorner.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/PlusIcon.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/RoundCameraIcon.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/SearchIcon.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/SearchModalCameraIcon.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/SearchModalFullSearchIcon.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/SearchModalImageSearchIcon.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/SearchModalUploadIcon.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/SecondaryActionIcon.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/SimilarProductsIcon.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/SparkIcon.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/TextIcon.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/TextSearchIcon.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/UpdateIcon.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/UploadActionIcon.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/UploadActionIconVariant.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/VisualSearchIcon.js +7 -0
- package/dist/collection/components/vviinn-icons/icons/WarningIcon.js +7 -0
- package/dist/collection/components/vviinn-icons/index.js +7 -0
- package/dist/collection/components/vviinn-image/vviinn-image.js +7 -0
- package/dist/collection/components/vviinn-image-selector/vviinn-image-selector.js +7 -0
- package/dist/collection/components/vviinn-modal/vviinn-modal.js +7 -0
- package/dist/collection/components/vviinn-overlay/vviinn-overlay.js +7 -0
- package/dist/collection/components/vviinn-overlayed-modal/vviinn-overlayed-modal.js +7 -0
- package/dist/collection/components/vviinn-preloader/vviinn-preloader.js +7 -0
- package/dist/collection/components/vviinn-privacy-badge/vviinn-privacy-badge.js +7 -0
- package/dist/collection/components/vviinn-product-card/helpers.js +7 -0
- package/dist/collection/components/vviinn-product-card/render-helpers.js +7 -0
- package/dist/collection/components/vviinn-product-card/stories/args.js +8 -1
- package/dist/collection/components/vviinn-product-card/stories/decorators.js +7 -0
- package/dist/collection/components/vviinn-product-card/vviinn-energy-label/vviinn-energy-label.js +7 -0
- package/dist/collection/components/vviinn-product-card/vviinn-product-card.js +7 -0
- package/dist/collection/components/vviinn-range-filter/vviinn-range-filter.js +7 -0
- package/dist/collection/components/vviinn-results/stories/ResultsTemplate.js +7 -0
- package/dist/collection/components/vviinn-results/vviinn-results.js +10 -51
- package/dist/collection/components/vviinn-shop-the-look/constants.js +7 -0
- package/dist/collection/components/vviinn-shop-the-look/cropper-manager.js +7 -0
- package/dist/collection/components/vviinn-shop-the-look/helpers.js +7 -0
- package/dist/collection/components/vviinn-shop-the-look/render-helpers.js +7 -0
- package/dist/collection/components/vviinn-shop-the-look/store.js +7 -0
- package/dist/collection/components/vviinn-shop-the-look/test-data.js +7 -0
- package/dist/collection/components/vviinn-shop-the-look/vviinn-shop-the-look.js +7 -0
- package/dist/collection/components/vviinn-skeleton/vviinn-skeleton.js +7 -0
- package/dist/collection/components/vviinn-slider/arrow.js +7 -0
- package/dist/collection/components/vviinn-slider/vviinn-slide/vviinn-slide.js +7 -0
- package/dist/collection/components/vviinn-slider/vviinn-slider.js +7 -0
- package/dist/collection/components/vviinn-suggestions/helpers.js +7 -0
- package/dist/collection/components/vviinn-suggestions/render-helpers.js +7 -0
- package/dist/collection/components/vviinn-suggestions/vviinn-suggestions.js +7 -0
- package/dist/collection/components/vviinn-teaser/vviinn-teaser.js +7 -0
- package/dist/collection/components/vviinn-text-search/helpers/autoSuggestDebounce.js +7 -0
- package/dist/collection/components/vviinn-text-search/helpers/handleSuggestionsKeyDown.js +7 -0
- package/dist/collection/components/vviinn-text-search/helpers/index.js +7 -0
- package/dist/collection/components/vviinn-text-search/helpers/initializeRecognition.js +7 -0
- package/dist/collection/components/vviinn-text-search/helpers/permitSpeechRecognition.js +7 -0
- package/dist/collection/components/vviinn-text-search/helpers/renderSuggestions.js +7 -0
- package/dist/collection/components/vviinn-text-search/helpers/speechTooltip.js +7 -0
- package/dist/collection/components/vviinn-text-search/vviinn-text-search.js +7 -0
- package/dist/collection/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.js +7 -0
- package/dist/collection/components/vviinn-vpr-button/stories/args.js +8 -1
- package/dist/collection/components/vviinn-vpr-button/vviinn-vpr-button.js +7 -0
- package/dist/collection/components/vviinn-vpr-widget/stories/args.js +8 -1
- package/dist/collection/components/vviinn-vpr-widget/stories/decorators.js +7 -0
- package/dist/collection/components/vviinn-vpr-widget/token-helpers.js +7 -0
- package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-widget.js +7 -0
- package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.js +7 -0
- package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.js +7 -0
- package/dist/collection/constants/exampleImage.js +7 -0
- package/dist/collection/cssParts/filters.js +7 -0
- package/dist/collection/cssParts/index.js +7 -0
- package/dist/collection/cssParts/product.js +7 -0
- package/dist/collection/cssParts/suggestions.js +7 -0
- package/dist/collection/dom/index.js +7 -0
- package/dist/collection/dom/intersectionObserver.js +7 -0
- package/dist/collection/error.js +7 -0
- package/dist/collection/file/index.js +7 -0
- package/dist/collection/filters/index.js +7 -0
- package/dist/collection/filters/testFixtures.js +7 -0
- package/dist/collection/geometry/Clip.js +7 -0
- package/dist/collection/geometry/Point.js +7 -0
- package/dist/collection/geometry/Rectangle.js +7 -0
- package/dist/collection/geometry/RectangleAlt.js +7 -0
- package/dist/collection/geometry/Sized.js +7 -0
- package/dist/collection/global.js +7 -0
- package/dist/collection/helpers/device/browserType.js +7 -0
- package/dist/collection/helpers/device/checkDeviceType.js +7 -0
- package/dist/collection/helpers/dragAndDrop/parseDroppedFile.js +7 -0
- package/dist/collection/helpers/navigation/openProductLink.js +7 -0
- package/dist/collection/helpers/url/getLastUrlPath.js +7 -0
- package/dist/collection/helpers/url/getLastUrlPath.test.js +7 -0
- package/dist/collection/helpers/url/resultsPageUrl.js +7 -0
- package/dist/collection/helpers/url/resultsPageUrl.test.js +7 -0
- package/dist/collection/index.js +7 -0
- package/dist/collection/interfaces/index.js +7 -0
- package/dist/collection/localStorage/index.js +7 -0
- package/dist/collection/locale/index.js +7 -0
- package/dist/collection/locale/resources.js +7 -0
- package/dist/collection/network/apiClient.js +7 -0
- package/dist/collection/network/request.js +7 -0
- package/dist/collection/network/utils.js +7 -0
- package/dist/collection/openApi/index.js +7 -0
- package/dist/collection/recommendation/index.js +7 -0
- package/dist/collection/searchSession/searchSession.js +7 -0
- package/dist/collection/sentry.js +7 -0
- package/dist/collection/store/file-processing.js +7 -0
- package/dist/collection/store/helpers/applyResponseFilters.js +7 -0
- package/dist/collection/store/helpers/searchSequence.js +7 -0
- package/dist/collection/store/image-processing.js +7 -0
- package/dist/collection/store/search.store.js +7 -0
- package/dist/collection/store/store.js +7 -0
- package/dist/collection/store/tracking.js +7 -0
- package/dist/collection/tracking/event.js +7 -0
- package/dist/collection/tracking/index.js +7 -0
- package/dist/collection/tracking/models.js +7 -0
- package/dist/collection/tracking/searchTracking.js +7 -0
- package/dist/collection/tracking/session.js +7 -0
- package/dist/collection/utils/collections/collectionUtils.test.js +7 -0
- package/dist/collection/utils/collections/collectionsUtils.js +7 -0
- package/dist/collection/utils/cssUrl/cssUrlHelper.js +7 -0
- package/dist/collection/utils/either.js +7 -0
- package/dist/collection/utils/enum/enumUtils.js +7 -0
- package/dist/collection/utils/number/index.js +7 -0
- package/dist/collection/utils/option/option.js +7 -0
- package/dist/collection/utils/semigroup/semigroupDiff.js +7 -0
- package/dist/collection/utils/string/encodeToBase64UTF8.js +7 -0
- package/dist/collection/utils/string/joinTruthy.js +7 -0
- package/dist/collection/utils/string/joinTruthy.test.js +7 -0
- package/dist/collection/utils/swiper/swiperUtils.js +7 -0
- package/dist/collection/utils/token/tokenUtils.js +7 -0
- package/dist/collection/video/settings.js +7 -0
- package/dist/collection/widget/constants.js +7 -0
- package/dist/collection/widget/types.js +7 -0
- package/dist/esm/{Rectangle-dmgo4KMB.js → Rectangle-B-guJ12O.js} +8 -1
- package/dist/esm/{SecondaryActionIcon-D4f3aMUD.js → SecondaryActionIcon-Cdh95mYN.js} +8 -1
- package/dist/esm/app-globals-C-wS8Gww.js +13 -0
- package/dist/esm/{cropperUtils-D0UEAAHl.js → cropperUtils-sMYHiiXk.js} +8 -1
- package/dist/esm/{cssUrlHelper-qD-XfaMz.js → cssUrlHelper-D2cDTfTS.js} +8 -1
- package/dist/esm/exampleImage-DR9_lICd.js +10 -0
- package/dist/esm/{index-w1xZk7EP.js → index-BYSkRZGE.js} +10 -3
- package/dist/esm/{index-B89nCb_F.js → index-DHLFo5Q5.js} +7 -0
- package/dist/esm/{index-Blyzo8AW.js → index-DTRZmXVv.js} +8 -1
- package/dist/esm/{index-C1-PYhS4.js → index-DW1q_PTq.js} +8 -1
- package/dist/esm/index.js +7 -1
- package/dist/esm/loader.js +10 -3
- package/dist/esm/{openProductLink-C7_qzUNW.js → openProductLink-DodmldXL.js} +7 -0
- package/dist/esm/{resultsPageUrl-DbOxfJSz.js → resultsPageUrl-BdVH6RtP.js} +7 -0
- package/dist/esm/{search.store-DeLGTaNX.js → search.store-BHk80_jt.js} +10 -3
- package/dist/esm/{store-BJxQCbNV.js → store-BtLMHZyk.js} +7 -0
- package/dist/esm/{swiper-element-Er2KrWw1.js → swiper-element-CC2LQV6l.js} +7 -0
- package/dist/esm/vviinn-button_6.entry.js +15 -8
- package/dist/esm/vviinn-camera_12.entry.js +22 -17
- package/dist/esm/vviinn-carousel_10.entry.js +17 -10
- package/dist/esm/vviinn-detected-object_2.entry.js +10 -3
- package/dist/esm/vviinn-shop-the-look.entry.js +17 -10
- package/dist/esm/vviinn-text-search.entry.js +14 -7
- package/dist/esm/vviinn-vps-button.entry.js +13 -6
- package/dist/esm/vviinn-widgets.js +10 -3
- package/dist/loader/cdn.js +7 -0
- package/dist/loader/index.cjs.js +7 -0
- package/dist/loader/index.es2017.js +7 -0
- package/dist/loader/index.js +7 -0
- package/dist/storybook/helpers/sharedArgTypes.js +7 -0
- package/dist/types/components/vviinn-results/vviinn-results.d.ts +1 -7
- package/dist/types/components.d.ts +0 -2
- package/dist/vviinn-widgets/index.esm.js +7 -0
- package/{www/build/p-8cb3d057.entry.js → dist/vviinn-widgets/p-048d6977.entry.js} +8 -1
- package/dist/vviinn-widgets/p-3d0534fa.entry.js +8 -0
- package/dist/vviinn-widgets/p-6d2e9507.entry.js +8 -0
- package/{www/build/p-c0433702.entry.js → dist/vviinn-widgets/p-8273aff4.entry.js} +8 -1
- package/dist/vviinn-widgets/{p-27b41f88.entry.js → p-87c71357.entry.js} +8 -1
- package/dist/vviinn-widgets/{p-DvD16Fp_.js → p-BCWco3TD.js} +8 -1
- package/dist/vviinn-widgets/{p-CVaOh8cz.js → p-B_iLMWJ_.js} +8 -1
- package/dist/vviinn-widgets/{p-DbOxfJSz.js → p-BdVH6RtP.js} +7 -0
- package/{www/build/p-CgHOxP8F.js → dist/vviinn-widgets/p-BlUrMaDK.js} +8 -1
- package/dist/vviinn-widgets/{p-BJxQCbNV.js → p-BtLMHZyk.js} +7 -0
- package/dist/vviinn-widgets/p-C-wS8Gww.js +8 -0
- package/{www/build/p-Bna-jseu.js → dist/vviinn-widgets/p-C6O6DOOp.js} +8 -1
- package/dist/vviinn-widgets/{p-Er2KrWw1.js → p-CC2LQV6l.js} +7 -0
- package/dist/vviinn-widgets/{p-Bq5Hj7Kz.js → p-D1uvUHoD.js} +8 -1
- package/{www/build/p-B89nCb_F.js → dist/vviinn-widgets/p-DHLFo5Q5.js} +7 -0
- package/{www/build/p-CrEgr0jU.js → dist/vviinn-widgets/p-DKPugXab.js} +8 -1
- package/dist/vviinn-widgets/p-DR9_lICd.js +8 -0
- package/{www/build/p-BfoeFdUC.js → dist/vviinn-widgets/p-DdkNrtrk.js} +8 -1
- package/dist/vviinn-widgets/p-DodmldXL.js +8 -0
- package/dist/vviinn-widgets/p-cBtUrYGn.js +8 -0
- package/dist/vviinn-widgets/{p-cadffecc.entry.js → p-d20fb53d.entry.js} +8 -1
- package/{www/build/p-d8a17533.entry.js → dist/vviinn-widgets/p-ff415f6a.entry.js} +8 -1
- package/dist/vviinn-widgets/vviinn-widgets.esm.js +8 -1
- package/package.json +1 -3
- package/www/build/index.esm.js +7 -0
- package/{dist/vviinn-widgets/p-8cb3d057.entry.js → www/build/p-048d6977.entry.js} +8 -1
- package/www/build/p-3d0534fa.entry.js +8 -0
- package/www/build/p-6d2e9507.entry.js +8 -0
- package/{dist/vviinn-widgets/p-c0433702.entry.js → www/build/p-8273aff4.entry.js} +8 -1
- package/www/build/{p-27b41f88.entry.js → p-87c71357.entry.js} +8 -1
- package/www/build/{p-DvD16Fp_.js → p-BCWco3TD.js} +8 -1
- package/www/build/{p-CVaOh8cz.js → p-B_iLMWJ_.js} +8 -1
- package/www/build/{p-DbOxfJSz.js → p-BdVH6RtP.js} +7 -0
- package/{dist/vviinn-widgets/p-CgHOxP8F.js → www/build/p-BlUrMaDK.js} +8 -1
- package/www/build/{p-BJxQCbNV.js → p-BtLMHZyk.js} +7 -0
- package/www/build/p-C-wS8Gww.js +8 -0
- package/{dist/vviinn-widgets/p-Bna-jseu.js → www/build/p-C6O6DOOp.js} +8 -1
- package/www/build/{p-Er2KrWw1.js → p-CC2LQV6l.js} +7 -0
- package/www/build/{p-Bq5Hj7Kz.js → p-D1uvUHoD.js} +8 -1
- package/{dist/vviinn-widgets/p-B89nCb_F.js → www/build/p-DHLFo5Q5.js} +7 -0
- package/{dist/vviinn-widgets/p-CrEgr0jU.js → www/build/p-DKPugXab.js} +8 -1
- package/www/build/p-DR9_lICd.js +8 -0
- package/{dist/vviinn-widgets/p-BfoeFdUC.js → www/build/p-DdkNrtrk.js} +8 -1
- package/www/build/p-DodmldXL.js +8 -0
- package/www/build/p-cBtUrYGn.js +8 -0
- package/www/build/{p-cadffecc.entry.js → p-d20fb53d.entry.js} +8 -1
- package/www/build/{p-18e201be.js → p-df0b4b1c.js} +8 -1
- package/{dist/vviinn-widgets/p-d8a17533.entry.js → www/build/p-ff415f6a.entry.js} +8 -1
- package/www/build/vviinn-widgets.esm.js +8 -1
- package/www/build/vviinn-widgets.js +7 -1
- package/dist/cjs/app-globals-DK9R4CCS.js +0 -8
- package/dist/cjs/exampleImage-DHaugTOE.js +0 -5
- package/dist/esm/app-globals-CjDicjFm.js +0 -6
- package/dist/esm/exampleImage-DOMXsA9W.js +0 -3
- package/dist/storybook/helpers/cssVarDecorator.js +0 -37
- package/dist/storybook/helpers/generateHistogram.js +0 -21
- package/dist/storybook/helpers/index.js +0 -4
- package/dist/storybook/helpers/industryToken.js +0 -49
- package/dist/types/home/runner/work/widgets/widgets/.stencil/storybook/helpers/cssVarDecorator.d.ts +0 -13
- package/dist/types/home/runner/work/widgets/widgets/.stencil/storybook/helpers/generateHistogram.d.ts +0 -1
- package/dist/types/home/runner/work/widgets/widgets/.stencil/storybook/helpers/index.d.ts +0 -4
- package/dist/types/home/runner/work/widgets/widgets/.stencil/storybook/helpers/industryToken.d.ts +0 -7
- package/dist/vviinn-widgets/p-C7_qzUNW.js +0 -1
- package/dist/vviinn-widgets/p-CjDicjFm.js +0 -1
- package/dist/vviinn-widgets/p-D1Uj99ng.js +0 -1
- package/dist/vviinn-widgets/p-DOMXsA9W.js +0 -1
- package/dist/vviinn-widgets/p-e00d0f94.entry.js +0 -1
- package/dist/vviinn-widgets/p-e4d6379f.entry.js +0 -1
- package/www/build/p-C7_qzUNW.js +0 -1
- package/www/build/p-CjDicjFm.js +0 -1
- package/www/build/p-D1Uj99ng.js +0 -1
- package/www/build/p-DOMXsA9W.js +0 -1
- package/www/build/p-e00d0f94.entry.js +0 -1
- package/www/build/p-e4d6379f.entry.js +0 -1
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
import { Host, h } from "@stencil/core";
|
|
2
9
|
import i18next from "i18next";
|
|
3
10
|
import { priceRangeParts } from "../../cssParts";
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
export const ResultsTemplate = (args) => {
|
|
2
9
|
const { token, apiPath, searchId, imageResolutionWidth, showMultipleImages, currencySign, locale, numberLocale, productDetailsRedirect, productDetailsNewTab, resultsCount, filterColumn, filterValue, textSearchQuery, addToBasketShow, oneClickDiscoveryMode, addPriceContainer, pricePrefix, campaignIdTextSearch, campaignIdVisualSearch, oneClickDiscoveryCampaigns, cssUrl, resultsPageUrl, resultsPageParams, } = args;
|
|
3
10
|
const filterAttributes = filterColumn && filterValue
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
9
|
var t = {};
|
|
3
10
|
for (var p in s)
|
|
@@ -494,13 +501,13 @@ export class VviinnResults {
|
|
|
494
501
|
render() {
|
|
495
502
|
var _a;
|
|
496
503
|
const resultsLength = this.getResults().length;
|
|
497
|
-
return (h(Host, { key: '
|
|
504
|
+
return (h(Host, { key: '790d9a8de6038a80aab7d985dc0a58a0271147c8', id: "results-block", class: {
|
|
498
505
|
"show-in-widget": this.showInWidget,
|
|
499
506
|
"matching-discovery": this.oneClickDiscoveryMode === "append-slider",
|
|
500
|
-
}, exportparts: `${productCardParts}, ${listCardParts}, ${contentCardParts}, ${productCardsGridPart}` }, renderExternalCSS(this.cssUrl), h("div", { key: '
|
|
507
|
+
}, exportparts: `${productCardParts}, ${listCardParts}, ${contentCardParts}, ${productCardsGridPart}` }, renderExternalCSS(this.cssUrl), h("div", { key: '2624453450be0b0b3f54decfc0c36475e0ee50fe', class: "nothing-found" }, this.getCurrentErrorType() && (h("vviinn-error", { key: 'ba6053509df7c4cdb4d11df5b1a88fe2b21aa4d1', errorType: this.getCurrentErrorType(), handler: this.resetWidgetState, hasBackground: this.showInWidget, searchType: this.state.searchType }))), h("div", { key: '1886397deed8c6d3bda186f577048c61d61547cc', class: {
|
|
501
508
|
hidden: this.showAspectRatioError || resultsLength === 0,
|
|
502
509
|
products: true,
|
|
503
|
-
}, part: productCardsGridPart, id: "vviinn-results-products" }, resultsLength > 0 && this.renderResults(), h("div", { key: '
|
|
510
|
+
}, part: productCardsGridPart, id: "vviinn-results-products" }, resultsLength > 0 && this.renderResults(), h("div", { key: '93f1b795ca6b63cf6a99f4bcb249d442ee515df4', id: "one-click-discovery-append", style: {
|
|
504
511
|
order: ((_a = this.oneClickDiscoveryAppendIndex) !== null && _a !== void 0 ? _a : resultsLength).toString(),
|
|
505
512
|
} }))));
|
|
506
513
|
}
|
|
@@ -1393,54 +1400,6 @@ export class VviinnResults {
|
|
|
1393
1400
|
}
|
|
1394
1401
|
}
|
|
1395
1402
|
}
|
|
1396
|
-
}, {
|
|
1397
|
-
"method": "vviinnTextSearchStarted",
|
|
1398
|
-
"name": "vviinnTextSearchStarted",
|
|
1399
|
-
"bubbles": true,
|
|
1400
|
-
"cancelable": true,
|
|
1401
|
-
"composed": true,
|
|
1402
|
-
"docs": {
|
|
1403
|
-
"tags": [{
|
|
1404
|
-
"name": "internal",
|
|
1405
|
-
"text": undefined
|
|
1406
|
-
}],
|
|
1407
|
-
"text": ""
|
|
1408
|
-
},
|
|
1409
|
-
"complexType": {
|
|
1410
|
-
"original": "TextSearchEventData",
|
|
1411
|
-
"resolved": "{ query: string; requestId?: string; isTriggeredByVpsWidget?: boolean; }",
|
|
1412
|
-
"references": {
|
|
1413
|
-
"TextSearchEventData": {
|
|
1414
|
-
"location": "import",
|
|
1415
|
-
"path": "../../recommendation/events",
|
|
1416
|
-
"id": "src/recommendation/events.ts::TextSearchEventData"
|
|
1417
|
-
}
|
|
1418
|
-
}
|
|
1419
|
-
}
|
|
1420
|
-
}, {
|
|
1421
|
-
"method": "vviinnFiltersChanged",
|
|
1422
|
-
"name": "vviinnFiltersChanged",
|
|
1423
|
-
"bubbles": true,
|
|
1424
|
-
"cancelable": true,
|
|
1425
|
-
"composed": true,
|
|
1426
|
-
"docs": {
|
|
1427
|
-
"tags": [{
|
|
1428
|
-
"name": "internal",
|
|
1429
|
-
"text": undefined
|
|
1430
|
-
}],
|
|
1431
|
-
"text": ""
|
|
1432
|
-
},
|
|
1433
|
-
"complexType": {
|
|
1434
|
-
"original": "ChangedFiltersEventData",
|
|
1435
|
-
"resolved": "{ filters: { column: string; values: string[] | { start?: number; end?: number; }[]; }[]; el: HTMLElement; isTriggeredByVpsWidget?: boolean; }",
|
|
1436
|
-
"references": {
|
|
1437
|
-
"ChangedFiltersEventData": {
|
|
1438
|
-
"location": "import",
|
|
1439
|
-
"path": "../../recommendation/events",
|
|
1440
|
-
"id": "src/recommendation/events.ts::ChangedFiltersEventData"
|
|
1441
|
-
}
|
|
1442
|
-
}
|
|
1443
|
-
}
|
|
1444
1403
|
}, {
|
|
1445
1404
|
"method": "vviinnCropperResetState",
|
|
1446
1405
|
"name": "vviinnCropperResetState",
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
export const INTERSECTION_THRESHOLDS = {
|
|
2
9
|
DESKTOP_VISIBLE: 0.01,
|
|
3
10
|
MOBILE_VISIBLE: 0.01,
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
import Cropper from "cropperjs";
|
|
2
9
|
import { cropperOptions } from "../vviinn-cropper/constants";
|
|
3
10
|
import { divideOnSized } from "../../geometry/Rectangle";
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
import * as E from "fp-ts/lib/Either";
|
|
2
9
|
import { INTERSECTION_THRESHOLDS } from "./constants";
|
|
3
10
|
import { isDesktop as sharedIsDesktop, isSmallMobile as sharedIsSmallMobile, } from "../../helpers/device/checkDeviceType";
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
import { h } from "@stencil/core";
|
|
2
9
|
import { isDesktop } from "../../helpers/device/checkDeviceType";
|
|
3
10
|
import { configureSwiperElement, getSwiperStyles, } from "../../utils/swiper/swiperUtils";
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
import { calculateImageBounds } from "./helpers";
|
|
2
9
|
export const createDefaultImageState = (imageElement) => ({
|
|
3
10
|
detectedObjects: [],
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
export const TEST_BASIC_EVENT_DATA = {
|
|
2
9
|
campaignTypeId: "VPR",
|
|
3
10
|
campaignTypeName: "Similar Products",
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
import { Host, h, } from "@stencil/core";
|
|
2
9
|
import * as E from "fp-ts/lib/Either";
|
|
3
10
|
import { CropperManager } from "./cropper-manager";
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
import { Host, h } from "@stencil/core";
|
|
2
9
|
export class VviinnSkeleton {
|
|
3
10
|
constructor() {
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
import { h } from "@stencil/core";
|
|
2
9
|
import { ArrowIcon } from "../vviinn-icons";
|
|
3
10
|
const getStyleMap = (data) => {
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
import { Host, h } from "@stencil/core";
|
|
2
9
|
export class VviinnSlide {
|
|
3
10
|
render() {
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
import { Host, h } from "@stencil/core";
|
|
2
9
|
import * as O from "fp-ts/lib/Option";
|
|
3
10
|
import { setElementInteractivity } from "../../dom";
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
export const toggleFilterInSet = (appliedFilters, suggestionText) => {
|
|
2
9
|
const newAppliedFilters = new Set(appliedFilters);
|
|
3
10
|
if (newAppliedFilters.has(suggestionText)) {
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
import { h } from "@stencil/core";
|
|
2
9
|
import { marked } from "marked";
|
|
3
10
|
import { triggerFilter } from "../vviinn-filters/helpers/triggerFilter";
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
import { Host, h, } from "@stencil/core";
|
|
2
9
|
import i18next from "i18next";
|
|
3
10
|
import { useSearchStore } from "../../store/search.store";
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
import { Host, h } from "@stencil/core";
|
|
2
9
|
import i18next from "i18next";
|
|
3
10
|
import { slotChangeListener } from "../customized-slots";
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
import { makeAutoSuggestRequest, setTextSearchQuery, } from "../../../store/search.store";
|
|
2
9
|
const AUTO_SUGGEST_DEBOUNCE_MS = 300;
|
|
3
10
|
export const createAutoSuggestHandler = (storeName, token, apiPath, onCompletions) => {
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
import { setTextSearchQuery, } from "../../../store/search.store";
|
|
2
9
|
export const handleSuggestionsKeyDown = (event, params) => {
|
|
3
10
|
const { completions, activeSuggestionIndex, originalQuery, storeName, textSearchQuery, onActiveIndexChange, onOriginalQueryChange, onSelectSuggestion, onHideSuggestions, onSearch, } = params;
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
export { createAutoSuggestHandler } from "./autoSuggestDebounce";
|
|
2
9
|
export { handleSuggestionsKeyDown } from "./handleSuggestionsKeyDown";
|
|
3
10
|
export { initializeRecognition } from "./initializeRecognition";
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
import { permitSpeechRecognition } from "./permitSpeechRecognition";
|
|
2
9
|
export const initializeRecognition = (locale, onStart, onEnd, onRecognized) => {
|
|
3
10
|
const speechRecognition = permitSpeechRecognition();
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
import { browserType } from "../../../helpers/device/browserType";
|
|
2
9
|
export const permitSpeechRecognition = () => {
|
|
3
10
|
const uncastedWindow = window;
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
import { h } from "@stencil/core";
|
|
2
9
|
const highlightMatch = (suggestion, query) => {
|
|
3
10
|
const lowerSuggestion = suggestion.toLowerCase();
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
import { browserType } from "../../../helpers/device/browserType";
|
|
2
9
|
export const speechTooltip = () => {
|
|
3
10
|
const { isSafari } = browserType();
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
import { Host, h, } from "@stencil/core";
|
|
2
9
|
import * as E from "fp-ts/Either";
|
|
3
10
|
import { pipe } from "fp-ts/lib/function";
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
import { Host, h, Fragment, } from "@stencil/core";
|
|
2
9
|
import { CrossIcon } from "../../vviinn-icons";
|
|
3
10
|
import { isClickedInRectBound } from "../../../geometry/Rectangle";
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
8
|
+
import { productCardImageAspectRatioArg, productCardImageBgColorArg, } from "../../../../storybook/helpers/sharedArgTypes";
|
|
2
9
|
const token = {
|
|
3
10
|
name: "token",
|
|
4
11
|
control: {
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
import { Host, h, } from "@stencil/core";
|
|
2
9
|
import i18next from "i18next";
|
|
3
10
|
import { version } from "../../../package.json";
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
8
|
+
import { productCardImageAspectRatioArg, productCardImageBgColorArg, } from "../../../../storybook/helpers/sharedArgTypes";
|
|
2
9
|
const token = {
|
|
3
10
|
name: "token",
|
|
4
11
|
control: {
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
export const gridDecorator = (story) => `
|
|
2
9
|
<style>
|
|
3
10
|
@media (min-width: 836px) {
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
import { flow } from "fp-ts/lib/function";
|
|
2
9
|
const createBearerString = (x) => `Bearer ${x}`;
|
|
3
10
|
const createAuthedHeader = (x) => new Headers({
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
9
|
var t = {};
|
|
3
10
|
for (var p in s)
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
import { Host, h, } from "@stencil/core";
|
|
2
9
|
import { SearchModalCameraIcon, SearchModalFullSearchIcon, SearchModalImageSearchIcon, } from "../vviinn-icons";
|
|
3
10
|
import { SlotSkeleton } from "../customized-slots";
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
9
|
var t = {};
|
|
3
10
|
for (var p in s)
|
|
@@ -1 +1,8 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
export const DEFAULT_EXAMPLE_IMAGE = "https://cdn.vviinn.com/assets/merchant/default/vviinn_img_start-hero.jpg";
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
export const generalFiltersPartsList = [
|
|
2
9
|
"filters-sub-row",
|
|
3
10
|
"filters-option-button",
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
import { extendedFiltersPartsList, filtersPartsList, histogramPartsList, generalFiltersPartsList, selectedFiltersPartsList, searchPartsList, } from "./filters";
|
|
2
9
|
import { imagePartsList, productCardGeneralPartsList, energyLabelPartsList, customLabelPartsList, pricePartsList, contentCardPartsList, listCardPartsList, } from "./product";
|
|
3
10
|
import { suggestionsPartsList } from "./suggestions";
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
export const imagePartsList = [
|
|
2
9
|
"image",
|
|
3
10
|
"image-container",
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
export const suggestionsPartsList = [
|
|
2
9
|
"suggestions-container",
|
|
3
10
|
"suggestions-header",
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
// DOM manipulation utilities
|
|
2
9
|
export const findTarget = (ev) => {
|
|
3
10
|
return ev.target;
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
/**
|
|
2
9
|
* Create an intersection observer with proper fallback for SSR
|
|
3
10
|
*/
|
package/dist/collection/error.js
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
export const basicErrorFromResponse = (error) => {
|
|
2
9
|
return {
|
|
3
10
|
kind: "server",
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
export const fileDoesntExistError = {
|
|
2
9
|
kind: "app",
|
|
3
10
|
inner: "File doesnt exist",
|
|
@@ -1 +1,8 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
export const isPriceFilter = (column) => column === "price" || column === "minimum_price";
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
/** Response- and request-shaped filters for specs, built against the generated types. */
|
|
2
9
|
export const categoricalFilter = (column, values) => ({
|
|
3
10
|
type: "categorical",
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vviinn-widgets v2.226.2
|
|
3
|
+
* Copyright 2020 Mediaopt
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.226.2/NOTICE
|
|
7
|
+
*/
|
|
1
8
|
const fromRectangle = (shape, target) => {
|
|
2
9
|
const top = `${shape.top}px`;
|
|
3
10
|
const left = `${shape.left}px`;
|