vviinn-widgets 2.226.3 → 2.227.1
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/README.md +6 -4
- package/dist/cjs/{Rectangle-BAynbVmH.js → Rectangle-C7YEjoJP.js} +4 -4
- package/dist/cjs/{SecondaryActionIcon-Ct9s2ePH.js → SecondaryActionIcon-CsYodCdS.js} +4 -4
- package/dist/cjs/{app-globals-CDLKBsOV.js → app-globals-CRcD2vMJ.js} +3 -3
- package/dist/cjs/{cropperUtils-D5GmhKJx.js → cropperUtils-Cy7tuzJr.js} +4 -4
- package/dist/cjs/{cssUrlHelper-BWbrM54g.js → cssUrlHelper-BXzVWweD.js} +4 -4
- package/dist/cjs/{exampleImage-Vk0ybVb3.js → exampleImage-BSaNPKJV.js} +3 -3
- package/dist/cjs/{index-Dn244VmS.js → index--w4RDaLU.js} +6 -6
- package/dist/cjs/{index-Cfmbrt_h.js → index-Cv3DwP3e.js} +4 -4
- package/dist/cjs/{index-DwqgK-lJ.js → index-D_CGQF6-.js} +4 -4
- package/dist/cjs/{index-CfBEHd3i.js → index-qn892fyO.js} +3 -3
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{openProductLink-N8TXbnuk.js → openProductLink-CQ-1Vkir.js} +3 -3
- package/dist/cjs/{resultsPageUrl-DS_YiCo-.js → resultsPageUrl-Bo7rgnTV.js} +3 -3
- package/dist/cjs/{search.store-C8Q3XmeF.js → search.store-BWUQXMFM.js} +6 -6
- package/dist/cjs/{store-DviebCXf.js → store-DP-BHWKc.js} +3 -3
- package/dist/cjs/{swiper-element-pxcaPnlG.js → swiper-element-D515CZ70.js} +3 -3
- package/dist/cjs/vviinn-button_6.cjs.entry.js +12 -11
- package/dist/cjs/vviinn-camera_12.cjs.entry.js +20 -20
- package/dist/cjs/vviinn-carousel_10.cjs.entry.js +26 -17
- package/dist/cjs/vviinn-detected-object_2.cjs.entry.js +6 -6
- package/dist/cjs/vviinn-shop-the-look.cjs.entry.js +15 -15
- package/dist/cjs/vviinn-text-search.cjs.entry.js +10 -10
- package/dist/cjs/vviinn-vps-button.cjs.entry.js +9 -9
- package/dist/cjs/vviinn-widgets.cjs.js +5 -5
- package/dist/collection/Image/bounds.js +3 -3
- package/dist/collection/Image/error.js +3 -3
- package/dist/collection/Image/fromFile.js +3 -3
- package/dist/collection/Image/imageToB64.js +3 -3
- package/dist/collection/Image/index.js +3 -3
- package/dist/collection/Image/renderPromise.js +3 -3
- package/dist/collection/Image/renderTitleImage.js +3 -3
- package/dist/collection/Image/resizeImage.js +3 -3
- package/dist/collection/Image/responsive.js +3 -3
- package/dist/collection/Image/sizing.js +3 -3
- package/dist/collection/Image/toFile.js +3 -3
- package/dist/collection/a11y/announcements.js +3 -3
- package/dist/collection/a11y/aria-labels.js +3 -3
- package/dist/collection/a11y/index.js +3 -3
- package/dist/collection/analytics/GAnalytics.js +3 -3
- package/dist/collection/analytics/GeneralAnalytics.js +3 -3
- package/dist/collection/analytics/GtagAnalytics.js +3 -3
- package/dist/collection/campaign/Campaign.js +3 -3
- package/dist/collection/campaign/CampaignService.js +3 -3
- package/dist/collection/campaign/VCSCampaignService.js +3 -3
- package/dist/collection/campaign/VPRCampaignService.js +3 -3
- package/dist/collection/components/customized-slots.js +3 -3
- package/dist/collection/components/vviinn-button/vviinn-button.js +3 -3
- package/dist/collection/components/vviinn-camera/vviinn-camera.js +3 -3
- package/dist/collection/components/vviinn-carousel/constants.js +3 -3
- package/dist/collection/components/vviinn-carousel/vviinn-carousel.js +3 -3
- package/dist/collection/components/vviinn-cropper/constants.js +3 -3
- package/dist/collection/components/vviinn-cropper/helpers/cropperOcrGate.js +3 -3
- package/dist/collection/components/vviinn-cropper/helpers/cropperUtils.js +3 -3
- package/dist/collection/components/vviinn-cropper/helpers/hasSelectedOcrFilter.js +3 -3
- package/dist/collection/components/vviinn-cropper/helpers/isCropBoxDataSimilar.js +3 -3
- package/dist/collection/components/vviinn-cropper/helpers/validateCropBoxData.js +3 -3
- package/dist/collection/components/vviinn-cropper/vviinn-cropper.js +3 -3
- package/dist/collection/components/vviinn-cropper/vviinn-detected-object/vviinn-detected-object.js +3 -3
- package/dist/collection/components/vviinn-error/index.js +3 -3
- package/dist/collection/components/vviinn-error/vviinn-error.js +3 -3
- package/dist/collection/components/vviinn-filters/helpers/RenderCustomButton.js +3 -3
- package/dist/collection/components/vviinn-filters/helpers/RenderFilterButton.js +3 -3
- package/dist/collection/components/vviinn-filters/helpers/RenderSearchInput.js +3 -3
- package/dist/collection/components/vviinn-filters/helpers/extractSelectedFilters.js +3 -3
- package/dist/collection/components/vviinn-filters/helpers/filterValueUtils.js +3 -3
- package/dist/collection/components/vviinn-filters/helpers/getFilterOptions.js +3 -3
- package/dist/collection/components/vviinn-filters/helpers/getIntervalLabel.js +3 -3
- package/dist/collection/components/vviinn-filters/helpers/getSelectedInterval.js +3 -3
- package/dist/collection/components/vviinn-filters/helpers/index.js +3 -3
- package/dist/collection/components/vviinn-filters/helpers/isSubFilterActive.js +3 -3
- package/dist/collection/components/vviinn-filters/helpers/modalPositioning.js +3 -3
- package/dist/collection/components/vviinn-filters/helpers/searchHelper.js +3 -3
- package/dist/collection/components/vviinn-filters/helpers/subFilterSelection.js +3 -3
- package/dist/collection/components/vviinn-filters/helpers/syncRequestFilters.js +3 -3
- package/dist/collection/components/vviinn-filters/helpers/triggerFilter.js +3 -3
- package/dist/collection/components/vviinn-filters/vviinn-extended-filters-button.js +3 -3
- package/dist/collection/components/vviinn-filters/vviinn-extended-filters.js +3 -3
- package/dist/collection/components/vviinn-filters/vviinn-filters.js +3 -3
- package/dist/collection/components/vviinn-filters/vviinn-selected-filters.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/ArrowIcon.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/BasketIcon.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/CameraActionIcon.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/CameraIcon.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/CheckCircleIcon.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/ChevronIcon.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/ChevronIconSmall.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/CrossIcon.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/CrossSellingIcon.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/DragDropImageIcon.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/FavoriteIcon.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/FavoriteIconPressed.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/FilterIconCheck.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/FilterIconClose.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/FiltersIcon.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/GridViewIcon.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/ImagePlaceholder.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/MicIcon.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/MinusIcon.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/NewCloseIcon.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/PhotoFrameCorner.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/PlusIcon.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/RoundCameraIcon.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/SearchIcon.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/SearchModalCameraIcon.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/SearchModalFullSearchIcon.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/SearchModalImageSearchIcon.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/SearchModalUploadIcon.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/SecondaryActionIcon.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/SimilarProductsIcon.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/SparkIcon.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/TextIcon.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/TextSearchIcon.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/UpdateIcon.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/UploadActionIcon.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/UploadActionIconVariant.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/VisualSearchIcon.js +3 -3
- package/dist/collection/components/vviinn-icons/icons/WarningIcon.js +3 -3
- package/dist/collection/components/vviinn-icons/index.js +3 -3
- package/dist/collection/components/vviinn-image/vviinn-image.js +3 -3
- package/dist/collection/components/vviinn-image-selector/vviinn-image-selector.js +3 -3
- package/dist/collection/components/vviinn-modal/vviinn-modal.js +3 -3
- package/dist/collection/components/vviinn-overlay/vviinn-overlay.js +3 -3
- package/dist/collection/components/vviinn-overlayed-modal/vviinn-overlayed-modal.js +3 -3
- package/dist/collection/components/vviinn-preloader/vviinn-preloader.js +3 -3
- package/dist/collection/components/vviinn-privacy-badge/vviinn-privacy-badge.js +3 -3
- package/dist/collection/components/vviinn-product-card/helpers.js +11 -3
- package/dist/collection/components/vviinn-product-card/render-helpers.js +3 -3
- package/dist/collection/components/vviinn-product-card/stories/args.js +3 -3
- package/dist/collection/components/vviinn-product-card/stories/decorators.js +3 -3
- package/dist/collection/components/vviinn-product-card/vviinn-energy-label/vviinn-energy-label.js +3 -3
- package/dist/collection/components/vviinn-product-card/vviinn-product-card.js +10 -8
- package/dist/collection/components/vviinn-range-filter/vviinn-range-filter.js +3 -3
- package/dist/collection/components/vviinn-results/stories/ResultsTemplate.js +3 -3
- package/dist/collection/components/vviinn-results/vviinn-results.css +14 -8
- package/dist/collection/components/vviinn-results/vviinn-results.js +7 -7
- package/dist/collection/components/vviinn-shop-the-look/constants.js +3 -3
- package/dist/collection/components/vviinn-shop-the-look/cropper-manager.js +3 -3
- package/dist/collection/components/vviinn-shop-the-look/helpers.js +3 -3
- package/dist/collection/components/vviinn-shop-the-look/render-helpers.js +3 -3
- package/dist/collection/components/vviinn-shop-the-look/store.js +3 -3
- package/dist/collection/components/vviinn-shop-the-look/test-data.js +3 -3
- package/dist/collection/components/vviinn-shop-the-look/vviinn-shop-the-look.css +2 -2
- package/dist/collection/components/vviinn-shop-the-look/vviinn-shop-the-look.js +10 -10
- package/dist/collection/components/vviinn-skeleton/vviinn-skeleton.js +3 -3
- package/dist/collection/components/vviinn-slider/arrow.js +3 -3
- package/dist/collection/components/vviinn-slider/vviinn-slide/vviinn-slide.js +3 -3
- package/dist/collection/components/vviinn-slider/vviinn-slider.js +3 -3
- package/dist/collection/components/vviinn-suggestions/helpers.js +3 -3
- package/dist/collection/components/vviinn-suggestions/render-helpers.js +3 -3
- package/dist/collection/components/vviinn-suggestions/vviinn-suggestions.js +3 -3
- package/dist/collection/components/vviinn-teaser/vviinn-teaser.js +3 -3
- package/dist/collection/components/vviinn-text-search/helpers/autoSuggestDebounce.js +3 -3
- package/dist/collection/components/vviinn-text-search/helpers/handleSuggestionsKeyDown.js +3 -3
- package/dist/collection/components/vviinn-text-search/helpers/index.js +3 -3
- package/dist/collection/components/vviinn-text-search/helpers/initializeRecognition.js +3 -3
- package/dist/collection/components/vviinn-text-search/helpers/permitSpeechRecognition.js +3 -3
- package/dist/collection/components/vviinn-text-search/helpers/renderSuggestions.js +3 -3
- package/dist/collection/components/vviinn-text-search/helpers/speechTooltip.js +3 -3
- package/dist/collection/components/vviinn-text-search/vviinn-text-search.js +3 -3
- package/dist/collection/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.js +3 -3
- package/dist/collection/components/vviinn-vpr-button/stories/args.js +3 -3
- package/dist/collection/components/vviinn-vpr-button/vviinn-vpr-button.js +4 -3
- package/dist/collection/components/vviinn-vpr-widget/stories/args.js +3 -3
- package/dist/collection/components/vviinn-vpr-widget/stories/decorators.js +3 -3
- package/dist/collection/components/vviinn-vpr-widget/token-helpers.js +3 -3
- package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-widget.js +3 -3
- package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.css +0 -1
- package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.js +3 -3
- package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.css +0 -1
- package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.js +3 -3
- package/dist/collection/constants/exampleImage.js +3 -3
- package/dist/collection/cssParts/filters.js +3 -3
- package/dist/collection/cssParts/index.js +3 -3
- package/dist/collection/cssParts/product.js +3 -3
- package/dist/collection/cssParts/suggestions.js +3 -3
- package/dist/collection/dom/index.js +3 -3
- package/dist/collection/dom/intersectionObserver.js +3 -3
- package/dist/collection/error.js +3 -3
- package/dist/collection/file/index.js +3 -3
- package/dist/collection/filters/index.js +3 -3
- package/dist/collection/filters/testFixtures.js +3 -3
- package/dist/collection/geometry/Clip.js +3 -3
- package/dist/collection/geometry/Point.js +3 -3
- package/dist/collection/geometry/Rectangle.js +3 -3
- package/dist/collection/geometry/RectangleAlt.js +3 -3
- package/dist/collection/geometry/Sized.js +3 -3
- package/dist/collection/global.js +3 -3
- package/dist/collection/helpers/device/browserType.js +3 -3
- package/dist/collection/helpers/device/checkDeviceType.js +3 -3
- package/dist/collection/helpers/dragAndDrop/parseDroppedFile.js +3 -3
- package/dist/collection/helpers/navigation/openProductLink.js +3 -3
- package/dist/collection/helpers/url/getLastUrlPath.js +3 -3
- package/dist/collection/helpers/url/getLastUrlPath.test.js +3 -3
- package/dist/collection/helpers/url/resultsPageUrl.js +3 -3
- package/dist/collection/helpers/url/resultsPageUrl.test.js +3 -3
- package/dist/collection/index.js +3 -3
- package/dist/collection/interfaces/index.js +3 -3
- package/dist/collection/localStorage/index.js +3 -3
- package/dist/collection/locale/index.js +3 -3
- package/dist/collection/locale/resources.js +3 -3
- package/dist/collection/network/apiClient.js +3 -3
- package/dist/collection/network/request.js +3 -3
- package/dist/collection/network/utils.js +3 -3
- package/dist/collection/openApi/index.js +3 -3
- package/dist/collection/recommendation/index.js +3 -3
- package/dist/collection/searchSession/searchSession.js +3 -3
- package/dist/collection/sentry.js +3 -3
- package/dist/collection/store/file-processing.js +3 -3
- package/dist/collection/store/helpers/applyResponseFilters.js +3 -3
- package/dist/collection/store/helpers/searchSequence.js +3 -3
- package/dist/collection/store/image-processing.js +3 -3
- package/dist/collection/store/search.store.js +3 -3
- package/dist/collection/store/store.js +3 -3
- package/dist/collection/store/tracking.js +3 -3
- package/dist/collection/tracking/event.js +3 -3
- package/dist/collection/tracking/index.js +3 -3
- package/dist/collection/tracking/models.js +3 -3
- package/dist/collection/tracking/searchTracking.js +3 -3
- package/dist/collection/tracking/session.js +3 -3
- package/dist/collection/utils/collections/collectionUtils.test.js +3 -3
- package/dist/collection/utils/collections/collectionsUtils.js +3 -3
- package/dist/collection/utils/cssUrl/cssUrlHelper.js +3 -3
- package/dist/collection/utils/either.js +3 -3
- package/dist/collection/utils/enum/enumUtils.js +3 -3
- package/dist/collection/utils/number/index.js +3 -3
- package/dist/collection/utils/option/option.js +3 -3
- package/dist/collection/utils/semigroup/semigroupDiff.js +3 -3
- package/dist/collection/utils/string/encodeToBase64UTF8.js +3 -3
- package/dist/collection/utils/string/joinTruthy.js +3 -3
- package/dist/collection/utils/string/joinTruthy.test.js +3 -3
- package/dist/collection/utils/swiper/swiperUtils.js +3 -3
- package/dist/collection/utils/token/tokenUtils.js +3 -3
- package/dist/collection/video/settings.js +3 -3
- package/dist/collection/widget/constants.js +3 -3
- package/dist/collection/widget/types.js +3 -3
- package/dist/esm/{Rectangle-BhkWO798.js → Rectangle-xeyxDjML.js} +4 -4
- package/dist/esm/{SecondaryActionIcon-BS2OlB4k.js → SecondaryActionIcon-79FZDeW8.js} +4 -4
- package/dist/esm/{app-globals-q2UlviPk.js → app-globals-uIEmogSQ.js} +3 -3
- package/dist/esm/{cropperUtils-C68u5im0.js → cropperUtils-wHIwXNkq.js} +4 -4
- package/dist/esm/{cssUrlHelper-DY1zF9Vd.js → cssUrlHelper-DJskFbAZ.js} +4 -4
- package/dist/esm/{exampleImage-Ctphge95.js → exampleImage-Cxkc4vDZ.js} +3 -3
- package/dist/esm/{index-JFvIgx8-.js → index-B2NEeDit.js} +6 -6
- package/dist/esm/{index-xsBZE6QD.js → index-B7iNt5em.js} +4 -4
- package/dist/esm/{index-C_geDcBB.js → index-BYdq4rfB.js} +3 -3
- package/dist/esm/{index-DcxURNuq.js → index-Ddz_oKPk.js} +4 -4
- package/dist/esm/index.js +3 -3
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{openProductLink-BrSeNgMX.js → openProductLink-BYva3UQ2.js} +3 -3
- package/dist/esm/{resultsPageUrl-D6SbK4cG.js → resultsPageUrl-DMTLIhug.js} +3 -3
- package/dist/esm/{search.store-CMGhVQuI.js → search.store-C5-QMj9_.js} +6 -6
- package/dist/esm/{store-B0NLskq8.js → store-DV70PdN2.js} +3 -3
- package/dist/esm/{swiper-element-DhqHL9b6.js → swiper-element-BAO9H4rU.js} +3 -3
- package/dist/esm/vviinn-button_6.entry.js +12 -11
- package/dist/esm/vviinn-camera_12.entry.js +20 -20
- package/dist/esm/vviinn-carousel_10.entry.js +26 -17
- package/dist/esm/vviinn-detected-object_2.entry.js +6 -6
- package/dist/esm/vviinn-shop-the-look.entry.js +15 -15
- package/dist/esm/vviinn-text-search.entry.js +10 -10
- package/dist/esm/vviinn-vps-button.entry.js +9 -9
- package/dist/esm/vviinn-widgets.js +6 -6
- package/dist/loader/cdn.js +3 -3
- package/dist/loader/index.cjs.js +3 -3
- package/dist/loader/index.es2017.js +3 -3
- package/dist/loader/index.js +3 -3
- package/dist/storybook/helpers/sharedArgTypes.js +3 -3
- package/dist/types/components/vviinn-product-card/helpers.d.ts +5 -0
- package/dist/types/components/vviinn-shop-the-look/vviinn-shop-the-look.d.ts +5 -5
- package/dist/types/components.d.ts +2 -2
- package/dist/vviinn-widgets/index.esm.js +3 -3
- package/dist/vviinn-widgets/p-4bbe93ad.entry.js +8 -0
- package/dist/vviinn-widgets/{p-0cadad5a.entry.js → p-4f740212.entry.js} +4 -4
- package/dist/vviinn-widgets/{p-70457179.entry.js → p-6134533c.entry.js} +4 -4
- package/dist/vviinn-widgets/p-6677f98f.entry.js +8 -0
- package/{www/build/p-4ad68aea.entry.js → dist/vviinn-widgets/p-7302bd62.entry.js} +4 -4
- package/dist/vviinn-widgets/{p-CWodXfpF.js → p-B67y8ONa.js} +4 -4
- package/dist/vviinn-widgets/{p-DhqHL9b6.js → p-BAO9H4rU.js} +3 -3
- package/{www/build/p-BmWgvQ32.js → dist/vviinn-widgets/p-BCdmadVY.js} +4 -4
- package/dist/vviinn-widgets/{p-BsbECeAY.js → p-BWEKwJzV.js} +4 -4
- package/{www/build/p-C_geDcBB.js → dist/vviinn-widgets/p-BYdq4rfB.js} +3 -3
- package/dist/vviinn-widgets/{p-BrSeNgMX.js → p-BYva3UQ2.js} +3 -3
- package/dist/vviinn-widgets/p-Cxkc4vDZ.js +8 -0
- package/{www/build/p-D4EUi8ON.js → dist/vviinn-widgets/p-CzA1rOOB.js} +4 -4
- package/{www/build/p-C7BE-w2B.js → dist/vviinn-widgets/p-D37ZVKN3.js} +4 -4
- package/dist/vviinn-widgets/{p-avuq--6v.js → p-D8T14Hv-.js} +4 -4
- package/{www/build/p-D6SbK4cG.js → dist/vviinn-widgets/p-DMTLIhug.js} +3 -3
- package/dist/vviinn-widgets/{p-B0NLskq8.js → p-DV70PdN2.js} +3 -3
- package/dist/vviinn-widgets/{p-ZnCm_QFz.js → p-DkV_im9v.js} +4 -4
- package/{www/build/p-4e77c053.entry.js → dist/vviinn-widgets/p-d365841c.entry.js} +4 -4
- package/{www/build/p-4205faf9.entry.js → dist/vviinn-widgets/p-ddd21993.entry.js} +4 -4
- package/dist/vviinn-widgets/p-mVDDzjL_.js +8 -0
- package/dist/vviinn-widgets/p-uIEmogSQ.js +8 -0
- package/dist/vviinn-widgets/vviinn-widgets.esm.js +4 -4
- package/package.json +1 -1
- package/www/build/index.esm.js +3 -3
- package/www/build/{p-a56e03ec.js → p-0ea09ecf.js} +4 -4
- package/www/build/p-4bbe93ad.entry.js +8 -0
- package/www/build/{p-0cadad5a.entry.js → p-4f740212.entry.js} +4 -4
- package/www/build/{p-70457179.entry.js → p-6134533c.entry.js} +4 -4
- package/www/build/p-6677f98f.entry.js +8 -0
- package/{dist/vviinn-widgets/p-4ad68aea.entry.js → www/build/p-7302bd62.entry.js} +4 -4
- package/www/build/{p-CWodXfpF.js → p-B67y8ONa.js} +4 -4
- package/www/build/{p-DhqHL9b6.js → p-BAO9H4rU.js} +3 -3
- package/{dist/vviinn-widgets/p-BmWgvQ32.js → www/build/p-BCdmadVY.js} +4 -4
- package/www/build/{p-BsbECeAY.js → p-BWEKwJzV.js} +4 -4
- package/{dist/vviinn-widgets/p-C_geDcBB.js → www/build/p-BYdq4rfB.js} +3 -3
- package/www/build/{p-BrSeNgMX.js → p-BYva3UQ2.js} +3 -3
- package/www/build/p-Cxkc4vDZ.js +8 -0
- package/{dist/vviinn-widgets/p-D4EUi8ON.js → www/build/p-CzA1rOOB.js} +4 -4
- package/{dist/vviinn-widgets/p-C7BE-w2B.js → www/build/p-D37ZVKN3.js} +4 -4
- package/www/build/{p-avuq--6v.js → p-D8T14Hv-.js} +4 -4
- package/{dist/vviinn-widgets/p-D6SbK4cG.js → www/build/p-DMTLIhug.js} +3 -3
- package/www/build/{p-B0NLskq8.js → p-DV70PdN2.js} +3 -3
- package/www/build/{p-ZnCm_QFz.js → p-DkV_im9v.js} +4 -4
- package/{dist/vviinn-widgets/p-4e77c053.entry.js → www/build/p-d365841c.entry.js} +4 -4
- package/{dist/vviinn-widgets/p-4205faf9.entry.js → www/build/p-ddd21993.entry.js} +4 -4
- package/www/build/p-mVDDzjL_.js +8 -0
- package/www/build/p-uIEmogSQ.js +8 -0
- package/www/build/vviinn-widgets.esm.js +4 -4
- package/www/build/vviinn-widgets.js +3 -3
- package/dist/vviinn-widgets/p-40d79e3b.entry.js +0 -8
- package/dist/vviinn-widgets/p-Ctphge95.js +0 -8
- package/dist/vviinn-widgets/p-N0g6c-wX.js +0 -8
- package/dist/vviinn-widgets/p-c14ff511.entry.js +0 -8
- package/dist/vviinn-widgets/p-q2UlviPk.js +0 -8
- package/www/build/p-40d79e3b.entry.js +0 -8
- package/www/build/p-Ctphge95.js +0 -8
- package/www/build/p-N0g6c-wX.js +0 -8
- package/www/build/p-c14ff511.entry.js +0 -8
- package/www/build/p-q2UlviPk.js +0 -8
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
'use strict';
|
|
9
9
|
|
|
10
|
-
var index = require('./index-
|
|
11
|
-
var Rectangle = require('./Rectangle-
|
|
12
|
-
var cropperUtils = require('./cropperUtils-
|
|
13
|
-
var swiperElement = require('./swiper-element-
|
|
14
|
-
var search_store = require('./search.store-
|
|
15
|
-
var SecondaryActionIcon = require('./SecondaryActionIcon-
|
|
16
|
-
var index$1 = require('./index-
|
|
17
|
-
var store = require('./store-
|
|
18
|
-
var cssUrlHelper = require('./cssUrlHelper-
|
|
19
|
-
var openProductLink = require('./openProductLink-
|
|
10
|
+
var index = require('./index-qn892fyO.js');
|
|
11
|
+
var Rectangle = require('./Rectangle-C7YEjoJP.js');
|
|
12
|
+
var cropperUtils = require('./cropperUtils-Cy7tuzJr.js');
|
|
13
|
+
var swiperElement = require('./swiper-element-D515CZ70.js');
|
|
14
|
+
var search_store = require('./search.store-BWUQXMFM.js');
|
|
15
|
+
var SecondaryActionIcon = require('./SecondaryActionIcon-CsYodCdS.js');
|
|
16
|
+
var index$1 = require('./index-Cv3DwP3e.js');
|
|
17
|
+
var store = require('./store-DP-BHWKc.js');
|
|
18
|
+
var cssUrlHelper = require('./cssUrlHelper-BXzVWweD.js');
|
|
19
|
+
var openProductLink = require('./openProductLink-CQ-1Vkir.js');
|
|
20
20
|
|
|
21
21
|
const UploadActionIconVariant = () => (index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" },
|
|
22
22
|
index.h("path", { d: "M5 21C4.45 21 3.97917 20.8042 3.5875 20.4125C3.19583 20.0208 3 19.55 3 19V5C3 4.45 3.19583 3.97917 3.5875 3.5875C3.97917 3.19583 4.45 3 5 3H13C13.2833 3 13.5208 3.09583 13.7125 3.2875C13.9042 3.47917 14 3.71667 14 4C14 4.28333 13.9042 4.52083 13.7125 4.7125C13.5208 4.90417 13.2833 5 13 5H5V19H19V11C19 10.7167 19.0958 10.4792 19.2875 10.2875C19.4792 10.0958 19.7167 10 20 10C20.2833 10 20.5208 10.0958 20.7125 10.2875C20.9042 10.4792 21 10.7167 21 11V19C21 19.55 20.8042 20.0208 20.4125 20.4125C20.0208 20.8042 19.55 21 19 21H5ZM17 7H16C15.7167 7 15.4792 6.90417 15.2875 6.7125C15.0958 6.52083 15 6.28333 15 6C15 5.71667 15.0958 5.47917 15.2875 5.2875C15.4792 5.09583 15.7167 5 16 5H17V4C17 3.71667 17.0958 3.47917 17.2875 3.2875C17.4792 3.09583 17.7167 3 18 3C18.2833 3 18.5208 3.09583 18.7125 3.2875C18.9042 3.47917 19 3.71667 19 4V5H20C20.2833 5 20.5208 5.09583 20.7125 5.2875C20.9042 5.47917 21 5.71667 21 6C21 6.28333 20.9042 6.52083 20.7125 6.7125C20.5208 6.90417 20.2833 7 20 7H19V8C19 8.28333 18.9042 8.52083 18.7125 8.7125C18.5208 8.90417 18.2833 9 18 9C17.7167 9 17.4792 8.90417 17.2875 8.7125C17.0958 8.52083 17 8.28333 17 8V7ZM11.25 16L9.4 13.525C9.3 13.3917 9.16667 13.325 9 13.325C8.83333 13.325 8.7 13.3917 8.6 13.525L6.6 16.2C6.46667 16.3667 6.45 16.5417 6.55 16.725C6.65 16.9083 6.8 17 7 17H17C17.2 17 17.35 16.9083 17.45 16.725C17.55 16.5417 17.5333 16.3667 17.4 16.2L14.65 12.525C14.55 12.3917 14.4167 12.325 14.25 12.325C14.0833 12.325 13.95 12.3917 13.85 12.525L11.25 16Z", fill: "white" })));
|
|
@@ -583,7 +583,7 @@ const VviinnShopTheLook = class {
|
|
|
583
583
|
this.height = 500;
|
|
584
584
|
/** Campaign ID for visual search requests */
|
|
585
585
|
this.campaignId = "";
|
|
586
|
-
/** Style variant for corner styling
|
|
586
|
+
/** Style variant for corner styling — 'rounded' for rounded corners, 'cornered' for sharp corners */
|
|
587
587
|
this.widgetStyle = "rounded";
|
|
588
588
|
/** Enable cropper mode for manual area selection */
|
|
589
589
|
this.showCropper = false;
|
|
@@ -1395,7 +1395,7 @@ const VviinnShopTheLook = class {
|
|
|
1395
1395
|
}, TIMING.SEARCH_DEBOUNCE_DELAY);
|
|
1396
1396
|
}
|
|
1397
1397
|
render() {
|
|
1398
|
-
return (index.h(index.Host, { key: '
|
|
1398
|
+
return (index.h(index.Host, { key: '1d759a263f4ec8542abb6c280d33fe87e7677293', exportparts: index$1.shopTheLookParts }, cssUrlHelper.renderExternalCSS(this.cssUrl), index.h("div", { key: '6da6bac33ab4a292beac89c727b85eabfbcc5e0a', class: `shop-the-look-container ${this.showModal ? "modal-open" : ""} ${this.showCropper ? "with-cropper" : ""} widget-style-${this.widgetStyle}` }, index.h("div", { key: 'abd4fdec2cfae57edf1cc5cc1affec4cbd3df3b7', class: "main-content" }, this.renderSwiperWrapper(), this.showLoadingSpinner && (index.h("div", { key: 'c8d2fd426a089db0a63a2cf0ece673ba38d0003e', class: "search-loader" }, index.h("vviinn-preloader", { key: '9b7875a2a604f70b153c746f2b91b42c3acb6640' })))), this.renderModalWrapper(), index.h("div", { key: 'ce4b9cc4daeb960ed525c7f26e54598a726a88c1', class: "actions-container", part: "shop-the-look-actions-container" }, this.uploadMode && (index.h("div", { key: 'bf729ba29252be5663f19e98eed870189e6ca6dd', class: "upload-button-container" }, index.h("button", { key: '87ccb25477035b7f4c922fff362a93add31c42c3', class: "upload-button", part: "shop-the-look-upload-button", onClick: () => { var _a; return (_a = this.fileInput) === null || _a === void 0 ? void 0 : _a.click(); }, disabled: this.showLoadingSpinner }, index.h("span", { key: '13d01e16d311d8084d6a7dfd112f880338bea50f', class: "upload-button-icon", part: "shop-the-look-upload-button-icon" }, index.h("slot", { key: '6cc6f8ae6e75ff4214e6c0aad42dde6411385408', name: "vviinn-image-upload-icon" }, index.h(UploadActionIconVariant, { key: '104e7cb1c6d39a1123dee6fa7d932c662efaf8db' }))), index.h("span", { key: 'd57ab3ed9f66678f70905594ef83f9f08d9c0c9d', class: "upload-button-text", part: "shop-the-look-upload-button-text" }, index.h("slot", { key: 'c7e599b553012bd8e4a9d9c98ce46022f6a89c81', name: "upload-button-text" }))), index.h("input", { key: 'a8748cc6bf803af1c7986ae702c118ba3060d8e3', type: "file", class: "visually-hidden", accept: search_store.getAcceptableFileFormats(), onChange: this.handleFileUpload, ref: (el) => (this.fileInput = el) }))), this.showNavigation() &&
|
|
1399
1399
|
renderNavigation(this.swiperActiveIndex, this.totalImages, this.handleNavigatePrev, this.handleNavigateNext)))));
|
|
1400
1400
|
}
|
|
1401
1401
|
get el() { return index.getElement(this); }
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
'use strict';
|
|
9
9
|
|
|
10
|
-
var index = require('./index-
|
|
11
|
-
var Rectangle = require('./Rectangle-
|
|
12
|
-
var search_store = require('./search.store-
|
|
13
|
-
var index$2 = require('./index-
|
|
14
|
-
var store = require('./store-
|
|
15
|
-
var index$1 = require('./index-
|
|
16
|
-
var resultsPageUrl = require('./resultsPageUrl-
|
|
10
|
+
var index = require('./index-qn892fyO.js');
|
|
11
|
+
var Rectangle = require('./Rectangle-C7YEjoJP.js');
|
|
12
|
+
var search_store = require('./search.store-BWUQXMFM.js');
|
|
13
|
+
var index$2 = require('./index-D_CGQF6-.js');
|
|
14
|
+
var store = require('./store-DP-BHWKc.js');
|
|
15
|
+
var index$1 = require('./index-Cv3DwP3e.js');
|
|
16
|
+
var resultsPageUrl = require('./resultsPageUrl-Bo7rgnTV.js');
|
|
17
17
|
|
|
18
18
|
const TextSearchIcon = () => (index.h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
19
19
|
index.h("path", { d: "M20.6 4.57C17.39 4.19 16.88 3.68 16.42 0.37C16.38 0.15 16.22 0 16.01 0C15.8 0 15.63 0.15 15.59 0.37C15.12 3.66 14.63 4.13 11.41 4.57C11.17 4.61 11.01 4.77 11.01 5C11.01 5.23 11.17 5.39 11.41 5.42C14.63 5.81 15.14 6.31 15.59 9.62C15.63 9.84 15.8 10 16.01 10C16.22 10 16.39 9.84 16.42 9.62C16.89 6.31 17.39 5.81 20.6 5.42C20.84 5.38 21 5.22 21 5C21 4.78 20.83 4.6 20.6 4.57Z", fill: "#525252" }),
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
'use strict';
|
|
9
9
|
|
|
10
|
-
var index = require('./index-
|
|
11
|
-
var index$2 = require('./index-
|
|
12
|
-
var exampleImage = require('./exampleImage-
|
|
13
|
-
var cssUrlHelper = require('./cssUrlHelper-
|
|
14
|
-
var index$1 = require('./index-
|
|
15
|
-
var store = require('./store-
|
|
10
|
+
var index = require('./index-qn892fyO.js');
|
|
11
|
+
var index$2 = require('./index-D_CGQF6-.js');
|
|
12
|
+
var exampleImage = require('./exampleImage-BSaNPKJV.js');
|
|
13
|
+
var cssUrlHelper = require('./cssUrlHelper-BXzVWweD.js');
|
|
14
|
+
var index$1 = require('./index-Cv3DwP3e.js');
|
|
15
|
+
var store = require('./store-DP-BHWKc.js');
|
|
16
16
|
|
|
17
17
|
const SearchModalCameraIcon = () => (index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true" },
|
|
18
18
|
index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M18 4H20C22.21 4 24 5.79 24 8V16H22V8C22 6.9 21.1 6 20 6H16.93L16.34 5.11L14.93 3H9.07L7.66 5.11L7.07 6H4C2.9 6 2 6.9 2 8V18C2 19.1 2.9 20 4 20H9V22H4C1.79 22 0 20.21 0 18V8C0 5.79 1.79 4 4 4H6L8 1H16L18 4ZM12 8C14.76 8 17 10.24 17 13L16.99 13.01C16.99 14.02 16.68 14.97 16.16 15.76L20.7 20.3L19.29 21.71L14.75 17.17C13.96 17.69 13.02 18 12 18C9.24 18 7 15.76 7 13C7 10.24 9.24 8 12 8ZM9 13C9 14.65 10.35 16 12 16C13.65 16 15 14.65 15 13C15 11.35 13.65 10 12 10C10.35 10 9 11.35 9 13Z", fill: "#161616" })));
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
'use strict';
|
|
9
9
|
|
|
10
|
-
var index = require('./index-
|
|
11
|
-
var appGlobals = require('./app-globals-
|
|
10
|
+
var index = require('./index-qn892fyO.js');
|
|
11
|
+
var appGlobals = require('./app-globals-CRcD2vMJ.js');
|
|
12
12
|
|
|
13
13
|
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
14
14
|
/*
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
9
|
* Calculate the bounds of an image element in the viewport
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
import { fromOption, left } from "fp-ts/lib/Either";
|
|
9
9
|
import { findFirstMap } from "fp-ts/Array";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
export const imageFromFileTask = (f) => () => new Promise((resolve, reject) => {
|
|
9
9
|
const reader = new FileReader();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
export const imageToB64 = (i) => {
|
|
9
9
|
const canvas = document.createElement("canvas");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
export const renderPromise = async (url) => new Promise((resolve) => {
|
|
9
9
|
const image = new Image();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
import { h } from "@stencil/core";
|
|
9
9
|
import i18next from "i18next";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
import { lanczos } from "@rgba-image/lanczos";
|
|
9
9
|
import { dimensionsFromImage, scaleBySide } from "./sizing";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
9
|
* Get responsive image styles based on screen size
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
import { Ord as OrdNumber } from "fp-ts/lib/number";
|
|
9
9
|
import { contramap } from "fp-ts/lib/Ord";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
// Expects a data URL as produced by canvas.toDataURL() — other formats decode with an empty mime type.
|
|
9
9
|
export const toFile = (b64data) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
9
|
* Announces a message to screen readers via a live region
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
import i18next from "i18next";
|
|
9
9
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
export { announceToScreenReader } from "./announcements";
|
|
9
9
|
export { getRemoveFilterAriaLabel, getColorOptionAriaLabel, } from "./aria-labels";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
export class GAnalytics {
|
|
9
9
|
constructor() {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
import { pipe } from "fp-ts/lib/function";
|
|
9
9
|
import { fromNullable, map, getMonoid } from "fp-ts/lib/Option";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
export class GtagAnalytics {
|
|
9
9
|
sendImpression(product) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
export const campaignTypeNames = {
|
|
9
9
|
VPR: "Similar Products",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
import * as C from "./Campaign";
|
|
9
9
|
import { pipe } from "fp-ts/lib/function";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
import { apiPost } from "../network/apiClient";
|
|
9
9
|
export const getVCSRecommendations = (body) => (options) => (apiPath) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
import { apiPost } from "../network/apiClient";
|
|
9
9
|
export const getVPRRecommendations = (body) => (options) => (apiPath) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
import { h } from "@stencil/core";
|
|
9
9
|
const vprSlotNames = [
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
import { Host, h } from "@stencil/core";
|
|
9
9
|
import { VisualSearchIcon } from "../vviinn-icons";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
import { Host, h, } from "@stencil/core";
|
|
9
9
|
import { pipe } from "fp-ts/lib/function";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
export const CAROUSEL_CONTENT_WIDTH_CSS_VAR = "--vviinn-carousel-content-width";
|
|
9
9
|
export const CAROUSEL_IMAGE_WIDTH_CSS_VAR = "--vviinn-carousel-image-width";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
import { Host, h, Fragment, forceUpdate, } from "@stencil/core";
|
|
9
9
|
import { chunksOf } from "fp-ts/lib/Array";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
const INITIAL_CROP_AREA = 0.9;
|
|
9
9
|
export const INITIAL_CROP_AREA_OFFSET = 1 - INITIAL_CROP_AREA;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
import { hasSelectedOcrFilter } from "./hasSelectedOcrFilter";
|
|
9
9
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
export const getCropBoxData = (cropper) => {
|
|
9
9
|
const { left, top, width, height } = cropper.getCropBoxData();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
import { extractSelectedFilters } from "../../vviinn-filters/helpers";
|
|
9
9
|
const MODALITY_COLUMN = "modality";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
export const isCropBoxChangeMinimal = (cropBoxData1, cropBoxData2, positionPxThreshold = 0.5) => {
|
|
9
9
|
const { left: x1, top: y1, width: w1, height: h1 } = cropBoxData1;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* vviinn-widgets v2.
|
|
2
|
+
* vviinn-widgets v2.227.1
|
|
3
3
|
* Copyright 2020 Mediaopt
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
6
|
-
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.
|
|
5
|
+
* License: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/LICENSE
|
|
6
|
+
* Notice: https://cdn.jsdelivr.net/npm/vviinn-widgets@2.227.1/NOTICE
|
|
7
7
|
*/
|
|
8
8
|
import { MIN_SEARCH_AREA_SIZE } from "../constants";
|
|
9
9
|
export const ValidateCropBoxData = (cropBoxData) => {
|