vviinn-widgets 2.119.0 → 2.121.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-2cf2ffbc.js → package-1ef3ba85.js} +3 -1
- package/dist/cjs/search-filters_19.cjs.entry.js +63 -59
- package/dist/cjs/{triggerFilter-5bc4a12a.js → triggerFilter-6c81a8a4.js} +18 -8
- package/dist/cjs/vviinn-button_2.cjs.entry.js +2 -1
- package/dist/cjs/vviinn-carousel_8.cjs.entry.js +102 -46
- package/dist/cjs/vviinn-error.cjs.entry.js +1 -1
- package/dist/cjs/vviinn-selected-filters.cjs.entry.js +21 -8
- package/dist/cjs/vviinn-vps-button.cjs.entry.js +3 -2
- package/dist/cjs/vviinn-vps-widget.cjs.entry.js +4 -6
- package/dist/cjs/vviinn-widgets.cjs.js +1 -1
- package/dist/collection/components/customized-slots.js +2 -0
- package/dist/collection/components/vviinn-carousel/vviinn-carousel.js +20 -2
- package/dist/collection/components/vviinn-error/vviinn-error.css +3 -7
- package/dist/collection/components/vviinn-filters/helpers/index.js +0 -1
- package/dist/collection/components/vviinn-filters/helpers/triggerFilter.js +17 -4
- package/dist/collection/components/vviinn-filters/vviinn-extended-filters.js +109 -43
- package/dist/collection/components/vviinn-filters/vviinn-filters.css +12 -4
- package/dist/collection/components/vviinn-filters/vviinn-filters.js +46 -28
- package/dist/collection/components/vviinn-filters/vviinn-selected-filters.js +44 -9
- package/dist/collection/components/vviinn-icons/icons/FavoriteIcon.js +2 -0
- package/dist/collection/components/vviinn-icons/icons/FavoriteIconPressed.js +2 -0
- package/dist/collection/components/vviinn-icons/index.js +2 -0
- package/dist/collection/components/vviinn-image-view/vviinn-image-view.css +0 -1
- package/dist/collection/components/vviinn-product-card/vviinn-product-card.css +31 -3
- package/dist/collection/components/vviinn-product-card/vviinn-product-card.js +56 -3
- package/dist/collection/components/vviinn-results/stories/ResultsTemplate.js +1 -0
- package/dist/collection/components/vviinn-results/stories/generalArgs.js +1 -0
- package/dist/collection/components/vviinn-results/vviinn-results.css +0 -9
- package/dist/collection/components/vviinn-results/vviinn-results.js +101 -54
- package/dist/collection/components/vviinn-text-search/vviinn-text-search.js +22 -22
- package/dist/collection/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.js +20 -1
- package/dist/collection/components/vviinn-vpr-button/vviinn-vpr-button.js +22 -0
- package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-widget.js +26 -4
- package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.js +20 -1
- package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.js +21 -5
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-c54c36ed.js → package-a5938f5b.js} +3 -1
- package/dist/esm/search-filters_19.entry.js +63 -59
- package/dist/esm/{triggerFilter-72e3844f.js → triggerFilter-c074a4b0.js} +18 -8
- package/dist/esm/vviinn-button_2.entry.js +2 -1
- package/dist/esm/vviinn-carousel_8.entry.js +102 -46
- package/dist/esm/vviinn-error.entry.js +1 -1
- package/dist/esm/vviinn-selected-filters.entry.js +21 -8
- package/dist/esm/vviinn-vps-button.entry.js +3 -2
- package/dist/esm/vviinn-vps-widget.entry.js +4 -6
- package/dist/esm/vviinn-widgets.js +1 -1
- package/dist/types/campaign/VPRCampaignService.d.ts +2 -4
- package/dist/types/components/vviinn-carousel/vviinn-carousel.d.ts +1 -0
- package/dist/types/components/vviinn-filters/helpers/getFilterOptions.d.ts +2 -2
- package/dist/types/components/vviinn-filters/helpers/index.d.ts +0 -1
- package/dist/types/components/vviinn-filters/helpers/showActiveOnSubButton.d.ts +2 -8
- package/dist/types/components/vviinn-filters/helpers/subFilterSelection.d.ts +2 -8
- package/dist/types/components/vviinn-filters/helpers/triggerFilter.d.ts +3 -8
- package/dist/types/components/vviinn-filters/vviinn-extended-filters.d.ts +17 -7
- package/dist/types/components/vviinn-filters/vviinn-filters.d.ts +12 -8
- package/dist/types/components/vviinn-filters/vviinn-selected-filters.d.ts +10 -5
- package/dist/types/components/vviinn-icons/icons/FavoriteIcon.d.ts +1 -0
- package/dist/types/components/vviinn-icons/icons/FavoriteIconPressed.d.ts +1 -0
- package/dist/types/components/vviinn-icons/index.d.ts +2 -0
- package/dist/types/components/vviinn-product-card/vviinn-product-card.d.ts +8 -0
- package/dist/types/components/vviinn-results/stories/generalArgs.d.ts +1 -0
- package/dist/types/components/vviinn-results/vviinn-results.d.ts +14 -6
- package/dist/types/components/vviinn-text-search/vviinn-text-search.d.ts +5 -6
- package/dist/types/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.d.ts +1 -0
- package/dist/types/components/vviinn-vpr-button/vviinn-vpr-button.d.ts +4 -0
- package/dist/types/components/vviinn-vpr-widget/vviinn-vpr-widget.d.ts +6 -2
- package/dist/types/components/vviinn-vps-button/vviinn-vps-button.d.ts +2 -0
- package/dist/types/components/vviinn-vps-widget/vviinn-vps-widget.d.ts +2 -0
- package/dist/types/components.d.ts +72 -21
- package/dist/types/interfaces/recommendation.d.ts +2 -4
- package/dist/types/recommendation/events.d.ts +8 -5
- package/dist/types/recommendation/index.d.ts +2 -2
- package/dist/types/store/search.store.d.ts +5 -23
- package/dist/vviinn-widgets/p-1c07bc68.js +1 -0
- package/dist/vviinn-widgets/{p-a7393f53.entry.js → p-3c3cdba0.entry.js} +1 -1
- package/dist/vviinn-widgets/p-3c8f4e38.entry.js +1 -0
- package/dist/vviinn-widgets/p-610d5f18.entry.js +1 -0
- package/dist/vviinn-widgets/p-a955eb1f.entry.js +11 -0
- package/dist/vviinn-widgets/{p-9f61d871.entry.js → p-ab700b25.entry.js} +1 -1
- package/dist/vviinn-widgets/{p-0addd433.js → p-d09f5bff.js} +1 -1
- package/dist/vviinn-widgets/p-dcd64193.entry.js +1 -0
- package/dist/vviinn-widgets/p-f1ed334e.entry.js +1 -0
- package/dist/vviinn-widgets/vviinn-widgets.esm.js +1 -1
- package/package.json +1 -1
- package/www/build/p-1c07bc68.js +1 -0
- package/www/build/{p-a7393f53.entry.js → p-3c3cdba0.entry.js} +1 -1
- package/www/build/p-3c8f4e38.entry.js +1 -0
- package/www/build/p-610d5f18.entry.js +1 -0
- package/www/build/p-a955eb1f.entry.js +11 -0
- package/www/build/{p-9f61d871.entry.js → p-ab700b25.entry.js} +1 -1
- package/www/build/{p-0addd433.js → p-d09f5bff.js} +1 -1
- package/www/build/p-dcd64193.entry.js +1 -0
- package/www/build/p-f1ed334e.entry.js +1 -0
- package/www/build/vviinn-widgets.esm.js +1 -1
- package/dist/collection/components/vviinn-filters/helpers/emitRequestFiltersMore.js +0 -3
- package/dist/types/components/vviinn-filters/helpers/emitRequestFiltersMore.d.ts +0 -9
- package/dist/vviinn-widgets/p-237b044e.entry.js +0 -1
- package/dist/vviinn-widgets/p-48ae9c13.entry.js +0 -1
- package/dist/vviinn-widgets/p-48f2d47a.entry.js +0 -1
- package/dist/vviinn-widgets/p-61994127.entry.js +0 -1
- package/dist/vviinn-widgets/p-e076a0cc.entry.js +0 -11
- package/dist/vviinn-widgets/p-ec17a926.js +0 -1
- package/www/build/p-237b044e.entry.js +0 -1
- package/www/build/p-48ae9c13.entry.js +0 -1
- package/www/build/p-48f2d47a.entry.js +0 -1
- package/www/build/p-61994127.entry.js +0 -1
- package/www/build/p-e076a0cc.entry.js +0 -11
- package/www/build/p-ec17a926.js +0 -1
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -14,7 +14,7 @@ const patchEsm = () => {
|
|
|
14
14
|
const defineCustomElements = (win, options) => {
|
|
15
15
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
16
|
return patchEsm().then(() => {
|
|
17
|
-
return index.bootstrapLazy(JSON.parse("[[\"vviinn-preloader.cjs\",[[1,\"vviinn-preloader\"]]],[\"vviinn-error.cjs\",[[1,\"vviinn-error\"]]],[\"vviinn-button_2.cjs\",[[1,\"vviinn-recommendations-sidebar\",{\"sidebarTitle\":[1,\"sidebar-title\"],\"token\":[1],\"productId\":[1,\"product-id\"],\"position\":[1],\"widgetScrollbar\":[4,\"widget-scrollbar\"],\"mode\":[1],\"campaigns\":[1],\"campaignType\":[1,\"campaign-type\"],\"color\":[1],\"locale\":[1],\"imageWidth\":[2,\"image-width\"],\"imageRatio\":[2,\"image-ratio\"],\"cssUrl\":[1,\"css-url\"],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"noResultText\":[1,\"no-result-text\"],\"noResultShow\":[4,\"no-result-show\"],\"gridArrowsDynamic\":[4,\"grid-arrows-dynamic\"],\"excluded\":[1],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"addPriceContainer\":[4,\"add-price-container\"],\"showFilters\":[4,\"show-filters\"],\"setModeDiscounts\":[1,\"set-mode-discounts\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"showInCustomContainer\":[4,\"show-in-custom-container\"],\"buttonChildren\":[16],\"apiPath\":[1,\"api-path\"],\"buttonElementId\":[1,\"button-element-id\"],\"widgetVersion\":[1,\"widget-version\"],\"showingInButton\":[4,\"showing-in-button\"],\"state\":[32]},[[0,\"vviinnUpdatingAllCardsStarted\",\"updatingAllCardsStarted\"],[0,\"vviinnUpdatingAllCardsFinished\",\"updatingAllCardsFinished\"],[16,\"click\",\"bodyClickListener\"]]],[1,\"vviinn-button\",{\"addStyle\":[4,\"add-style\"]}]]],[\"search-filters_19.cjs\",[[1,\"vviinn-results\",{\"token\":[1],\"searchId\":[1,\"search-id\"],\"uiSessionId\":[1025,\"ui-session-id\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"currencySign\":[1,\"currency-sign\"],\"locale\":[8],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"textSearchQuery\":[1,\"text-search-query\"],\"filterColumn\":[1,\"filter-column\"],\"filterValue\":[1,\"filter-value\"],\"resultsCount\":[2,\"results-count\"],\"addPriceContainer\":[4,\"add-price-container\"],\"showInWidget\":[4,\"show-in-widget\"],\"oneClickDiscoveryMode\":[1,\"one-click-discovery-mode\"],\"apiPath\":[1,\"api-path\"],\"buttonElementId\":[1,\"button-element-id\"],\"widgetElementId\":[1,\"widget-element-id\"],\"showAspectRatioError\":[4,\"show-aspect-ratio-error\"],\"trackingDeactivated\":[1028,\"tracking-deactivated\"],\"resetState\":[16],\"replaceSlotsContentInWidget\":[16],\"replaceSlotsContentInButton\":[16],\"recommendations\":[32],\"innerTextSearchQuery\":[32],\"slotsReplaced\":[32],\"oneClickDiscoveryAppendIndex\":[32],\"isTextSearch\":[32]},[[0,\"vviinnProductLoad\",\"trackProductLoad\"],[0,\"vviinnProductView\",\"trackProductView\"],[0,\"vviinnProductClick\",\"trackProductClick\"],[0,\"vviinnAuxClick\",\"trackAuxClick\"]]],[1,\"vviinn-image-view\",{\"basicEventData\":[16],\"setShowAspectRatioError\":[16],\"showAspectRatioError\":[4,\"show-aspect-ratio-error\"],\"cropper\":[32],\"hidePreloader\":[32]},[[0,\"vviinnSelectObject\",\"selectDetectedObject\"]]],[1,\"vviinn-overlayed-modal\",{\"active\":[4],\"resetState\":[16],\"buttonElementId\":[1,\"button-element-id\"],\"hideBackButton\":[4,\"hide-back-button\"],\"widgetVersion\":[1,\"widget-version\"],\"isFirstScreen\":[4,\"is-first-screen\"]}],[1,\"vviinn-text-search\",{\"token\":[1],\"locale\":[1],\"mode\":[1],\"showInWidget\":[4,\"show-in-widget\"],\"searchQuery\":[1025,\"search-query\"],\"apiPath\":[1,\"api-path\"],\"isLoading\":[32]},[[0,\"vviinnImageUploadFinished\",\"imageUploadFinished\"]]],[1,\"vviinn-server-error\",{\"handler\":[16]}],[1,\"vviinn-wrong-format\",{\"handler\":[16]}],[1,\"search-filters\",{\"filter\":[16],\"basicEventData\":[16],\"selectedFilter\":[32],\"hideFilters\":[32]}],[1,\"vviinn-example-image\",{\"exampleImageSource\":[1,\"example-image-source\"],\"width\":[2],\"height\":[2],\"basicEventData\":[16],\"srcObject\":[16],\"cameraButtonClicked\":[4,\"camera-button-clicked\"],\"selected\":[32],\"videoInitialized\":[32],\"zoomCapabilities\":[32]}],[1,\"vviinn-privacy-badge\",{\"privacyBadgeText\":[1,\"privacy-badge-text\"]}],[1,\"vviinn-slide\"],[1,\"vviinn-slider\",{\"position\":[514],\"elementsCount\":[32],\"internalPosition\":[32],\"swipeStartPosition\":[32],\"isRTL\":[32]}],[1,\"vviinn-teaser\"],[1,\"vviinn-vpr-button\",{\"token\":[1],\"productId\":[1,\"product-id\"],\"mode\":[1],\"campaigns\":[1],\"excluded\":[1],\"campaignType\":[1,\"campaign-type\"],\"locale\":[1],\"color\":[1],\"imageWidth\":[2,\"image-width\"],\"imageRatio\":[2,\"image-ratio\"],\"cssUrl\":[1,\"css-url\"],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"noResultText\":[1,\"no-result-text\"],\"noResultShow\":[4,\"no-result-show\"],\"gridArrowsDynamic\":[4,\"grid-arrows-dynamic\"],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"showFilters\":[4,\"show-filters\"],\"addPriceContainer\":[4,\"add-price-container\"],\"setModeDiscounts\":[1,\"set-mode-discounts\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"sidebarTitle\":[1,\"sidebar-title\"],\"modalScrollbar\":[4,\"modal-scrollbar\"],\"position\":[1],\"addStyle\":[4,\"add-style\"],\"apiPath\":[1,\"api-path\"],\"appendSidebarTo\":[1,\"append-sidebar-to\"],\"appendSidebarToElement\":[16],\"targetAppendSidebarTo\":[32]}],[1,\"vviinn-empty-results\",{\"handler\":[16]}],[1,\"vviinn-image-selector\",{\"basicEventData\":[16],\"startUpload\":[4,\"start-upload\"],\"loading\":[4],\"accept\":[1],\"resetVpsButton\":[16],\"token\":[1],\"apiPath\":[1,\"api-path\"],\"showInTextSearch\":[4,\"show-in-text-search\"],\"uploadStartedHandler\":[16]}],[1,\"vviinn-wrong-aspect-ratio\",{\"handler\":[16]}],[1,\"vviinn-detected-object\",{\"detectedObject\":[16],\"basicEventData\":[16],\"position\":[32]}],[1,\"vviinn-modal\",{\"active\":[1540],\"resetState\":[16],\"buttonElementId\":[1,\"button-element-id\"],\"widgetVersion\":[1,\"widget-version\"],\"hideBackButton\":[4,\"hide-back-button\"],\"isFirstScreen\":[4,\"is-first-screen\"],\"slider\":[32]}],[1,\"vviinn-overlay\"]]],[\"vviinn-vps-widget.cjs\",[[1,\"vviinn-vps-widget\",{\"token\":[1],\"active\":[1028],\"currencySign\":[1,\"currency-sign\"],\"locale\":[1],\"campaignId\":[1,\"campaign-id\"],\"excluded\":[1],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"exampleImageSource\":[1,\"example-image-source\"],\"textSearchShow\":[4,\"text-search-show\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"showOneClickDiscovery\":[4,\"show-one-click-discovery\"],\"addPriceContainer\":[4,\"add-price-container\"],\"apiPath\":[1,\"api-path\"],\"showingInButton\":[4,\"showing-in-button\"],\"buttonElementId\":[1,\"button-element-id\"],\"buttonPressed\":[4,\"button-pressed\"],\"mode\":[1],\"resetVpsButton\":[16],\"replaceSlotsContentInButton\":[16],\"slidePosition\":[32],\"width\":[32],\"wrongImageFormat\":[32],\"trackingDeactivated\":[32],\"stream\":[32],\"cameraInitializing\":[32],\"cameraEnabled\":[32],\"cameraButtonClicked\":[32],\"uploadSource\":[32],\"showAspectRatioError\":[32],\"products\":[32],\"searchQuery\":[32]},[[0,\"widgetTextSearchFinished\",\"textSearchFinishedHandler\"],[0,\"vviinnResultLoad\",\"resultLoadHandler\"],[0,\"vviinnResultView\",\"resultViewHandler\"],[0,\"vviinnCameraEnabled\",\"trackCameraEnabled\"],[0,\"vviinnImageCrop\",\"trachSearchAreaChanges\"],[0,\"vviinnSelectObject\",\"trackDetectedObject\"],[0,\"vviinnSelectFilter\",\"trackFilterSelected\"]]]]],[\"vviinn-vps-button.cjs\",[[1,\"vviinn-vps-button\",{\"token\":[1],\"currencySign\":[1,\"currency-sign\"],\"locale\":[1],\"campaignId\":[1,\"campaign-id\"],\"addStyle\":[4,\"add-style\"],\"mode\":[1],\"excluded\":[1],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"exampleImageSource\":[1,\"example-image-source\"],\"textSearchShow\":[4,\"text-search-show\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"showOneClickDiscovery\":[4,\"show-one-click-discovery\"],\"addPriceContainer\":[4,\"add-price-container\"],\"apiPath\":[1,\"api-path\"],\"buttonPressed\":[32]},[[0,\"vviinnWidgetClose\",\"handleModalClosed\"]]]]],[\"vviinn-selected-filters.cjs\",[[1,\"vviinn-selected-filters\",{\"showInWidget\":[4,\"show-in-widget\"],\"filters\":[32],\"requestFilters\":[32]}]]],[\"vviinn-carousel_8.cjs\",[[1,\"vviinn-vpr-widget\",{\"token\":[1],\"productId\":[1,\"product-id\"],\"mode\":[1],\"campaigns\":[1],\"excluded\":[1],\"campaignType\":[1,\"campaign-type\"],\"locale\":[1],\"color\":[1],\"imageWidth\":[2,\"image-width\"],\"imageRatio\":[2,\"image-ratio\"],\"cssUrl\":[1,\"css-url\"],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"noResultText\":[1,\"no-result-text\"],\"noResultShow\":[4,\"no-result-show\"],\"gridArrowsDynamic\":[4,\"grid-arrows-dynamic\"],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"showFilters\":[4,\"show-filters\"],\"showExtendedFilters\":[4,\"show-extended-filters\"],\"setModeDiscounts\":[1,\"set-mode-discounts\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"addPriceContainer\":[4,\"add-price-container\"],\"blockTitle\":[1,\"block-title\"],\"showScroll\":[4,\"show-scroll\"],\"apiPath\":[1,\"api-path\"],\"useCarousel\":[4,\"use-carousel\"],\"showingInButton\":[4,\"showing-in-button\"],\"buttonElementId\":[1,\"button-element-id\"],\"closed\":[4],\"opened\":[4],\"recommendations\":[32],\"dynamicFilters\":[32],\"sourceProduct\":[32],\"trackingDeactivated\":[32],\"hasErrorOnLoad\":[32],\"updatingAllCards\":[32],\"updatedCardsAmount\":[32],\"setModeDiscountsArray\":[32]},[[0,\"vviinnProductLoad\",\"trackProductLoad\"],[0,\"vviinnProductView\",\"trackProductView\"],[0,\"vviinnProductClick\",\"trackProductClick\"],[0,\"vviinnAuxClick\",\"trackAuxClick\"],[0,\"vviinnAddToBasket\",\"trackAddToBasket\"],[0,\"vviinnUpdatingAllCardsFinished\",\"updatingAllCardsFinishedListener\"],[0,\"vviinnFiltersChanged\",\"filtersChanged\"]]],[0,\"vviinn-carousel\",{\"mode\":[1],\"imageWidth\":[2,\"image-width\"],\"showScroll\":[4,\"show-scroll\"],\"campaignTypeId\":[1,\"campaign-type-id\"],\"widgetElementId\":[1,\"widget-element-id\"],\"gridArrowsDynamic\":[4,\"grid-arrows-dynamic\"],\"recommendations\":[1040],\"widgetVersion\":[1,\"widget-version\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"updatingAllCards\":[4,\"updating-all-cards\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"replaceSlotsContent\":[16],\"setModeDiscountsArray\":[16],\"imageRatio\":[2,\"image-ratio\"],\"addPriceContainer\":[4,\"add-price-container\"],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"locale\":[1],\"moveDirection\":[32],\"contentGroups\":[32],\"activeContentGroup\":[32],\"isRTL\":[32],\"crossSellingRecommendations\":[32],\"setModeDiscount\":[32],\"currentDiscountIndex\":[32],\"setModeAppliedDiscounts\":[32]},[[0,\"vviinnCrossSellingClick\",\"crossSellingClickListener\"],[0,\"vviinnAddToBasket\",\"trackAddToBasket\"]]],[1,\"vviinn-extended-filters\",{\"filters\":[1040],\"filtersString\":[1,\"filters-string\"],\"locale\":[1],\"mode\":[1],\"currencySign\":[1,\"currency-sign\"],\"showHeader\":[4,\"show-header\"],\"requestFilters\":[32],\"showMore\":[32],\"selectedMoreOptions\":[32]},[[16,\"click\",\"bodyClickListener\"]]],[1,\"vviinn-filters\",{\"filters\":[1040],\"filtersString\":[1,\"filters-string\"],\"showInWidget\":[4,\"show-in-widget\"],\"currencySign\":[1,\"currency-sign\"],\"selectedFilter\":[32],\"requestFilters\":[32]}],[1,\"vviinn-product-card\",{\"brand\":[1],\"currency\":[1],\"image\":[1],\"imageRatio\":[2,\"image-ratio\"],\"imageWidth\":[2,\"image-width\"],\"locale\":[1],\"price\":[2],\"basePrice\":[1,\"base-price\"],\"pricePrefix\":[1,\"price-prefix\"],\"productTitle\":[1,\"product-title\"],\"productType\":[1,\"product-type\"],\"setMode\":[4,\"set-mode\"],\"salePrice\":[2,\"sale-price\"],\"baseSalePrice\":[1,\"base-sale-price\"],\"responsive\":[4],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"customLabels\":[1,\"custom-labels\"],\"addPriceContainer\":[4,\"add-price-container\"],\"energyCertifications\":[1040],\"productId\":[1,\"product-id\"],\"campaignTypeId\":[1,\"campaign-type-id\"],\"widgetElementId\":[1,\"widget-element-id\"],\"buttonElementId\":[1,\"button-element-id\"],\"widgetVersion\":[1,\"widget-version\"],\"deeplink\":[1],\"index\":[2],\"updatingAllCards\":[4,\"updating-all-cards\"],\"defaultAnimationInterval\":[2,\"default-animation-interval\"],\"appliedDiscountPercentage\":[2,\"applied-discount-percentage\"],\"currentDiscountPercentage\":[2,\"current-discount-percentage\"],\"isSourceProduct\":[4,\"is-source-product\"],\"isResultsWidget\":[4,\"is-results-widget\"],\"energyCertificationsString\":[1,\"energy-certifications-string\"],\"isStandalone\":[4,\"is-standalone\"],\"isTransitioning\":[32],\"basketButonPressed\":[32]},[[0,\"vviinnCrossSellingClick\",\"crossSellingClickListener\"]]],[1,\"vviinn-energy-label\",{\"classIconUrls\":[16],\"productType\":[1,\"product-type\"],\"classDataSheetUrl\":[1,\"class-data-sheet-url\"],\"iconDirection\":[1,\"icon-direction\"]}],[1,\"vviinn-price-range\",{\"histogram\":[16],\"addStyle\":[4,\"add-style\"],\"priceChangeHandler\":[16],\"selectedInterval\":[16],\"currencySign\":[1,\"currency-sign\"],\"minIndex\":[32],\"maxIndex\":[32],\"scalingFactor\":[32]}],[1,\"vviinn-skeleton\",{\"height\":[2],\"halfWidth\":[4,\"half-width\"]}]]]]"), options);
|
|
17
|
+
return index.bootstrapLazy(JSON.parse("[[\"vviinn-preloader.cjs\",[[1,\"vviinn-preloader\"]]],[\"vviinn-error.cjs\",[[1,\"vviinn-error\"]]],[\"vviinn-button_2.cjs\",[[1,\"vviinn-recommendations-sidebar\",{\"sidebarTitle\":[1,\"sidebar-title\"],\"token\":[1],\"productId\":[1,\"product-id\"],\"position\":[1],\"widgetScrollbar\":[4,\"widget-scrollbar\"],\"mode\":[1],\"campaigns\":[1],\"campaignType\":[1,\"campaign-type\"],\"color\":[1],\"locale\":[1],\"imageWidth\":[2,\"image-width\"],\"imageRatio\":[2,\"image-ratio\"],\"cssUrl\":[1,\"css-url\"],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"noResultText\":[1,\"no-result-text\"],\"noResultShow\":[4,\"no-result-show\"],\"gridArrowsDynamic\":[4,\"grid-arrows-dynamic\"],\"excluded\":[1],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"addPriceContainer\":[4,\"add-price-container\"],\"showFilters\":[4,\"show-filters\"],\"setModeDiscounts\":[1,\"set-mode-discounts\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"favoriteShow\":[4,\"favorite-show\"],\"showInCustomContainer\":[4,\"show-in-custom-container\"],\"buttonChildren\":[16],\"apiPath\":[1,\"api-path\"],\"buttonElementId\":[1,\"button-element-id\"],\"widgetVersion\":[1,\"widget-version\"],\"showingInButton\":[4,\"showing-in-button\"],\"state\":[32]},[[0,\"vviinnUpdatingAllCardsStarted\",\"updatingAllCardsStarted\"],[0,\"vviinnUpdatingAllCardsFinished\",\"updatingAllCardsFinished\"],[16,\"click\",\"bodyClickListener\"]]],[1,\"vviinn-button\",{\"addStyle\":[4,\"add-style\"]}]]],[\"search-filters_19.cjs\",[[1,\"vviinn-results\",{\"token\":[1],\"searchId\":[1,\"search-id\"],\"uiSessionId\":[1025,\"ui-session-id\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"currencySign\":[1,\"currency-sign\"],\"locale\":[8],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"favoriteShow\":[4,\"favorite-show\"],\"textSearchQuery\":[1,\"text-search-query\"],\"filterColumn\":[1,\"filter-column\"],\"filterValue\":[1,\"filter-value\"],\"resultsCount\":[2,\"results-count\"],\"addPriceContainer\":[4,\"add-price-container\"],\"showInWidget\":[4,\"show-in-widget\"],\"oneClickDiscoveryMode\":[1,\"one-click-discovery-mode\"],\"apiPath\":[1,\"api-path\"],\"buttonElementId\":[1,\"button-element-id\"],\"widgetElementId\":[1,\"widget-element-id\"],\"showAspectRatioError\":[4,\"show-aspect-ratio-error\"],\"trackingDeactivated\":[1028,\"tracking-deactivated\"],\"resetState\":[16],\"replaceSlotsContentInWidget\":[16],\"replaceSlotsContentInButton\":[16],\"recommendations\":[32],\"innerTextSearchQuery\":[32],\"slotsReplaced\":[32],\"oneClickDiscoveryAppendIndex\":[32],\"isTextSearch\":[32]},[[0,\"vviinnProductLoad\",\"trackProductLoad\"],[0,\"vviinnProductView\",\"trackProductView\"],[0,\"vviinnProductClick\",\"trackProductClick\"],[0,\"vviinnAuxClick\",\"trackAuxClick\"]]],[1,\"vviinn-image-view\",{\"basicEventData\":[16],\"setShowAspectRatioError\":[16],\"showAspectRatioError\":[4,\"show-aspect-ratio-error\"],\"cropper\":[32],\"hidePreloader\":[32]},[[0,\"vviinnSelectObject\",\"selectDetectedObject\"]]],[1,\"vviinn-overlayed-modal\",{\"active\":[4],\"resetState\":[16],\"buttonElementId\":[1,\"button-element-id\"],\"hideBackButton\":[4,\"hide-back-button\"],\"widgetVersion\":[1,\"widget-version\"],\"isFirstScreen\":[4,\"is-first-screen\"]}],[1,\"vviinn-text-search\",{\"token\":[1],\"locale\":[1],\"mode\":[1],\"showInWidget\":[4,\"show-in-widget\"],\"searchQuery\":[1025,\"search-query\"],\"apiPath\":[1,\"api-path\"],\"isLoading\":[32]},[[0,\"vviinnImageUploadFinished\",\"imageUploadFinished\"]]],[1,\"vviinn-server-error\",{\"handler\":[16]}],[1,\"vviinn-wrong-format\",{\"handler\":[16]}],[1,\"search-filters\",{\"filter\":[16],\"basicEventData\":[16],\"selectedFilter\":[32],\"hideFilters\":[32]}],[1,\"vviinn-example-image\",{\"exampleImageSource\":[1,\"example-image-source\"],\"width\":[2],\"height\":[2],\"basicEventData\":[16],\"srcObject\":[16],\"cameraButtonClicked\":[4,\"camera-button-clicked\"],\"selected\":[32],\"videoInitialized\":[32],\"zoomCapabilities\":[32]}],[1,\"vviinn-privacy-badge\",{\"privacyBadgeText\":[1,\"privacy-badge-text\"]}],[1,\"vviinn-slide\"],[1,\"vviinn-slider\",{\"position\":[514],\"elementsCount\":[32],\"internalPosition\":[32],\"swipeStartPosition\":[32],\"isRTL\":[32]}],[1,\"vviinn-teaser\"],[1,\"vviinn-vpr-button\",{\"token\":[1],\"productId\":[1,\"product-id\"],\"mode\":[1],\"campaigns\":[1],\"excluded\":[1],\"campaignType\":[1,\"campaign-type\"],\"locale\":[1],\"color\":[1],\"imageWidth\":[2,\"image-width\"],\"imageRatio\":[2,\"image-ratio\"],\"cssUrl\":[1,\"css-url\"],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"noResultText\":[1,\"no-result-text\"],\"noResultShow\":[4,\"no-result-show\"],\"gridArrowsDynamic\":[4,\"grid-arrows-dynamic\"],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"showFilters\":[4,\"show-filters\"],\"addPriceContainer\":[4,\"add-price-container\"],\"setModeDiscounts\":[1,\"set-mode-discounts\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"sidebarTitle\":[1,\"sidebar-title\"],\"modalScrollbar\":[4,\"modal-scrollbar\"],\"position\":[1],\"addStyle\":[4,\"add-style\"],\"apiPath\":[1,\"api-path\"],\"appendSidebarTo\":[1,\"append-sidebar-to\"],\"favoriteShow\":[4,\"favorite-show\"],\"appendSidebarToElement\":[16],\"targetAppendSidebarTo\":[32]}],[1,\"vviinn-empty-results\",{\"handler\":[16]}],[1,\"vviinn-image-selector\",{\"basicEventData\":[16],\"startUpload\":[4,\"start-upload\"],\"loading\":[4],\"accept\":[1],\"resetVpsButton\":[16],\"token\":[1],\"apiPath\":[1,\"api-path\"],\"showInTextSearch\":[4,\"show-in-text-search\"],\"uploadStartedHandler\":[16]}],[1,\"vviinn-wrong-aspect-ratio\",{\"handler\":[16]}],[1,\"vviinn-detected-object\",{\"detectedObject\":[16],\"basicEventData\":[16],\"position\":[32]}],[1,\"vviinn-modal\",{\"active\":[1540],\"resetState\":[16],\"buttonElementId\":[1,\"button-element-id\"],\"widgetVersion\":[1,\"widget-version\"],\"hideBackButton\":[4,\"hide-back-button\"],\"isFirstScreen\":[4,\"is-first-screen\"],\"slider\":[32]}],[1,\"vviinn-overlay\"]]],[\"vviinn-vps-widget.cjs\",[[1,\"vviinn-vps-widget\",{\"token\":[1],\"active\":[1028],\"currencySign\":[1,\"currency-sign\"],\"locale\":[1],\"campaignId\":[1,\"campaign-id\"],\"excluded\":[1],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"exampleImageSource\":[1,\"example-image-source\"],\"textSearchShow\":[4,\"text-search-show\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"favoriteShow\":[4,\"favorite-show\"],\"showOneClickDiscovery\":[4,\"show-one-click-discovery\"],\"addPriceContainer\":[4,\"add-price-container\"],\"apiPath\":[1,\"api-path\"],\"showingInButton\":[4,\"showing-in-button\"],\"buttonElementId\":[1,\"button-element-id\"],\"buttonPressed\":[4,\"button-pressed\"],\"mode\":[1],\"resetVpsButton\":[16],\"replaceSlotsContentInButton\":[16],\"slidePosition\":[32],\"width\":[32],\"wrongImageFormat\":[32],\"trackingDeactivated\":[32],\"stream\":[32],\"cameraInitializing\":[32],\"cameraEnabled\":[32],\"cameraButtonClicked\":[32],\"uploadSource\":[32],\"showAspectRatioError\":[32],\"products\":[32],\"searchQuery\":[32]},[[0,\"widgetTextSearchFinished\",\"textSearchFinishedHandler\"],[0,\"vviinnResultLoad\",\"resultLoadHandler\"],[0,\"vviinnResultView\",\"resultViewHandler\"],[0,\"vviinnCameraEnabled\",\"trackCameraEnabled\"],[0,\"vviinnImageCrop\",\"trachSearchAreaChanges\"],[0,\"vviinnSelectObject\",\"trackDetectedObject\"],[0,\"vviinnSelectFilter\",\"trackFilterSelected\"]]]]],[\"vviinn-vps-button.cjs\",[[1,\"vviinn-vps-button\",{\"token\":[1],\"currencySign\":[1,\"currency-sign\"],\"locale\":[1],\"campaignId\":[1,\"campaign-id\"],\"addStyle\":[4,\"add-style\"],\"mode\":[1],\"excluded\":[1],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"exampleImageSource\":[1,\"example-image-source\"],\"textSearchShow\":[4,\"text-search-show\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"favoriteShow\":[4,\"favorite-show\"],\"showOneClickDiscovery\":[4,\"show-one-click-discovery\"],\"addPriceContainer\":[4,\"add-price-container\"],\"apiPath\":[1,\"api-path\"],\"buttonPressed\":[32]},[[0,\"vviinnWidgetClose\",\"handleModalClosed\"]]]]],[\"vviinn-selected-filters.cjs\",[[1,\"vviinn-selected-filters\",{\"showInWidget\":[4,\"show-in-widget\"],\"filters\":[32],\"requestFilters\":[32]}]]],[\"vviinn-carousel_8.cjs\",[[1,\"vviinn-vpr-widget\",{\"token\":[1],\"productId\":[1,\"product-id\"],\"mode\":[1],\"campaigns\":[1],\"excluded\":[1],\"campaignType\":[1,\"campaign-type\"],\"locale\":[1],\"color\":[1],\"imageWidth\":[2,\"image-width\"],\"imageRatio\":[2,\"image-ratio\"],\"cssUrl\":[1,\"css-url\"],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"noResultText\":[1,\"no-result-text\"],\"noResultShow\":[4,\"no-result-show\"],\"gridArrowsDynamic\":[4,\"grid-arrows-dynamic\"],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"showFilters\":[4,\"show-filters\"],\"showExtendedFilters\":[4,\"show-extended-filters\"],\"setModeDiscounts\":[1,\"set-mode-discounts\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"addPriceContainer\":[4,\"add-price-container\"],\"favoriteShow\":[4,\"favorite-show\"],\"blockTitle\":[1,\"block-title\"],\"showScroll\":[4,\"show-scroll\"],\"apiPath\":[1,\"api-path\"],\"useCarousel\":[4,\"use-carousel\"],\"showingInButton\":[4,\"showing-in-button\"],\"buttonElementId\":[1,\"button-element-id\"],\"closed\":[4],\"opened\":[4],\"recommendations\":[32],\"dynamicFilters\":[32],\"sourceProduct\":[32],\"trackingDeactivated\":[32],\"hasErrorOnLoad\":[32],\"updatingAllCards\":[32],\"updatedCardsAmount\":[32],\"setModeDiscountsArray\":[32]},[[0,\"vviinnProductLoad\",\"trackProductLoad\"],[0,\"vviinnProductView\",\"trackProductView\"],[0,\"vviinnProductClick\",\"trackProductClick\"],[0,\"vviinnAuxClick\",\"trackAuxClick\"],[0,\"vviinnAddToBasket\",\"trackAddToBasket\"],[0,\"vviinnUpdatingAllCardsFinished\",\"updatingAllCardsFinishedListener\"],[0,\"vviinnFiltersChanged\",\"filtersChanged\"]]],[0,\"vviinn-carousel\",{\"mode\":[1],\"imageWidth\":[2,\"image-width\"],\"showScroll\":[4,\"show-scroll\"],\"campaignTypeId\":[1,\"campaign-type-id\"],\"widgetElementId\":[1,\"widget-element-id\"],\"gridArrowsDynamic\":[4,\"grid-arrows-dynamic\"],\"recommendations\":[1040],\"widgetVersion\":[1,\"widget-version\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"updatingAllCards\":[4,\"updating-all-cards\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"replaceSlotsContent\":[16],\"setModeDiscountsArray\":[16],\"imageRatio\":[2,\"image-ratio\"],\"addPriceContainer\":[4,\"add-price-container\"],\"favoriteShow\":[4,\"favorite-show\"],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"locale\":[1],\"moveDirection\":[32],\"contentGroups\":[32],\"activeContentGroup\":[32],\"isRTL\":[32],\"crossSellingRecommendations\":[32],\"setModeDiscount\":[32],\"currentDiscountIndex\":[32],\"setModeAppliedDiscounts\":[32]},[[0,\"vviinnCrossSellingClick\",\"crossSellingClickListener\"],[0,\"vviinnAddToBasket\",\"trackAddToBasket\"]]],[1,\"vviinn-extended-filters\",{\"filters\":[1040],\"locale\":[1],\"mode\":[1],\"currencySign\":[1,\"currency-sign\"],\"showHeader\":[4,\"show-header\"],\"filtersString\":[1,\"filters-string\"],\"showInWidget\":[4,\"show-in-widget\"],\"innerFilters\":[32],\"requestFilters\":[32],\"showMore\":[32],\"selectedMoreOptions\":[32]},[[16,\"click\",\"bodyClickListener\"]]],[1,\"vviinn-filters\",{\"filters\":[1040],\"filtersString\":[1,\"filters-string\"],\"showInWidget\":[4,\"show-in-widget\"],\"currencySign\":[1,\"currency-sign\"],\"innerFilters\":[32],\"selectedFilter\":[32],\"requestFilters\":[32]}],[1,\"vviinn-product-card\",{\"brand\":[1],\"currency\":[1],\"image\":[1],\"imageRatio\":[2,\"image-ratio\"],\"imageWidth\":[2,\"image-width\"],\"locale\":[1],\"price\":[2],\"basePrice\":[1,\"base-price\"],\"pricePrefix\":[1,\"price-prefix\"],\"productTitle\":[1,\"product-title\"],\"productType\":[1,\"product-type\"],\"setMode\":[4,\"set-mode\"],\"salePrice\":[2,\"sale-price\"],\"baseSalePrice\":[1,\"base-sale-price\"],\"responsive\":[4],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"favoriteShow\":[4,\"favorite-show\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"customLabels\":[1,\"custom-labels\"],\"addPriceContainer\":[4,\"add-price-container\"],\"energyCertifications\":[1040],\"productId\":[1,\"product-id\"],\"campaignTypeId\":[1,\"campaign-type-id\"],\"widgetElementId\":[1,\"widget-element-id\"],\"buttonElementId\":[1,\"button-element-id\"],\"widgetVersion\":[1,\"widget-version\"],\"deeplink\":[1],\"index\":[2],\"updatingAllCards\":[4,\"updating-all-cards\"],\"defaultAnimationInterval\":[2,\"default-animation-interval\"],\"appliedDiscountPercentage\":[2,\"applied-discount-percentage\"],\"currentDiscountPercentage\":[2,\"current-discount-percentage\"],\"isSourceProduct\":[4,\"is-source-product\"],\"isResultsWidget\":[4,\"is-results-widget\"],\"energyCertificationsString\":[1,\"energy-certifications-string\"],\"isStandalone\":[4,\"is-standalone\"],\"isTransitioning\":[32],\"basketButonPressed\":[32],\"favoriteButonPressed\":[32]},[[0,\"vviinnCrossSellingClick\",\"crossSellingClickListener\"]]],[1,\"vviinn-energy-label\",{\"classIconUrls\":[16],\"productType\":[1,\"product-type\"],\"classDataSheetUrl\":[1,\"class-data-sheet-url\"],\"iconDirection\":[1,\"icon-direction\"]}],[1,\"vviinn-price-range\",{\"histogram\":[16],\"addStyle\":[4,\"add-style\"],\"priceChangeHandler\":[16],\"selectedInterval\":[16],\"currencySign\":[1,\"currency-sign\"],\"minIndex\":[32],\"maxIndex\":[32],\"scalingFactor\":[32]}],[1,\"vviinn-skeleton\",{\"height\":[2],\"halfWidth\":[4,\"half-width\"]}]]]]"), options);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -25,6 +25,8 @@ const vprSlotsNames = [
|
|
|
25
25
|
"vviinn-basket-button-icon",
|
|
26
26
|
"vviinn-basket-button-text-pressed",
|
|
27
27
|
"vviinn-basket-button-icon-pressed",
|
|
28
|
+
"vviinn-favorite-icon",
|
|
29
|
+
"vviinn-favorite-icon-pressed",
|
|
28
30
|
];
|
|
29
31
|
const vpsSlotsNames = [
|
|
30
32
|
"vviinn-teaser-text",
|
|
@@ -121,7 +123,7 @@ const slotChangeListener = (component, element) => {
|
|
|
121
123
|
component.connectedCallback.call(component);
|
|
122
124
|
};
|
|
123
125
|
|
|
124
|
-
const version = "2.
|
|
126
|
+
const version = "2.121.0";
|
|
125
127
|
|
|
126
128
|
exports.SlotSkeleton = SlotSkeleton;
|
|
127
129
|
exports.campaignTypeNames = campaignTypeNames;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-4474431a.js');
|
|
6
6
|
const search_store = require('./search.store-f44567ad.js');
|
|
7
7
|
const index$1 = require('./index-832a679e.js');
|
|
8
|
-
const _package = require('./package-
|
|
8
|
+
const _package = require('./package-1ef3ba85.js');
|
|
9
9
|
const index$2 = require('./index-1854036f.js');
|
|
10
10
|
const SearchModalUploadIcon = require('./SearchModalUploadIcon-b6db8026.js');
|
|
11
11
|
|
|
@@ -3657,7 +3657,7 @@ var cropper = search_store.createCommonjsModule(function (module, exports) {
|
|
|
3657
3657
|
}));
|
|
3658
3658
|
});
|
|
3659
3659
|
|
|
3660
|
-
const vviinnImageViewCss = ":host {\n min-height: 160px;\n display: flex;\n justify-content: center;\n background-color: rgba(0, 0, 0, 0.32);\n}\n\n:host(.bordered) {\n background-color: transparent;\n border: 1px solid #eaeaea;\n
|
|
3660
|
+
const vviinnImageViewCss = ":host {\n min-height: 160px;\n display: flex;\n justify-content: center;\n background-color: rgba(0, 0, 0, 0.32);\n}\n\n:host(.bordered) {\n background-color: transparent;\n border: 1px solid #eaeaea;\n}\n\n@media (max-width: 768px) {\n :host {\n min-height: unset;\n }\n\n :host(.bordered) {\n border: none;\n margin-top: 48px;\n }\n}\n\n.container {\n max-width: 100%;\n height: 100%;\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n}\n\n.image-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n position: relative;\n}\n\n.image-container > img {\n display: block;\n max-width: 100%;\n}\n\n.image-preloader {\n background: rgba(0, 0, 0, 0.25);\n border-radius: 4px;\n bottom: 18px;\n right: 18px;\n padding: 4px;\n pointer-events: none;\n color: white;\n position: absolute;\n z-index: 4;\n}\n\nvviinn-preloader {\n --preloader-size: 12px;\n}\n\n.cropper-container {\n direction: ltr;\n font-size: 0;\n line-height: 0;\n position: relative;\n touch-action: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n\n & img {\n backface-visibility: hidden;\n display: block;\n height: 100%;\n image-orientation: 0deg;\n max-height: none !important;\n max-width: none !important;\n min-height: 0 !important;\n min-width: 0 !important;\n width: 100%;\n }\n}\n\n.cropper-wrap-box,\n.cropper-canvas,\n.cropper-drag-box,\n.cropper-crop-box,\n.cropper-modal {\n bottom: 0;\n left: 0;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.cropper-wrap-box,\n.cropper-canvas {\n overflow: hidden;\n}\n\n.cropper-drag-box {\n background-color: #fff;\n opacity: 0;\n}\n\n.cropper-modal {\n background-color: #000;\n opacity: 0.4;\n}\n\n.cropper-view-box {\n display: block;\n height: 100%;\n overflow: hidden;\n width: 100%;\n}\n\n.cropper-view-box,\n.cropper-face {\n border-radius: 5px;\n}\n\n.cropper-face,\n.cropper-point {\n display: block;\n height: 100%;\n opacity: 0.1;\n position: absolute;\n width: 100%;\n}\n\n.cropper-face {\n left: 0;\n top: 0;\n}\n\n.cropper-point {\n --cropper-point-width: 44px;\n height: var(--cropper-point-width);\n width: var(--cropper-point-width);\n opacity: 1;\n}\n\n.point-e,\n.point-s,\n.point-w,\n.point-n {\n display: none;\n}\n\n.point-ne,\n.point-nw,\n.point-sw,\n.point-se {\n --delta: -9px;\n}\n\n.point-ne {\n cursor: nesw-resize;\n right: var(--delta);\n top: var(--delta);\n}\n\n.point-nw {\n cursor: nwse-resize;\n left: var(--delta);\n top: var(--delta);\n}\n\n.point-sw {\n cursor: nesw-resize;\n bottom: var(--delta);\n left: var(--delta);\n}\n\n.point-se {\n cursor: nwse-resize;\n bottom: var(--delta);\n right: var(--delta);\n}\n\n.cropper-point::before {\n position: absolute;\n content: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='38' viewBox='0 0 38 38' fill='none'%3E%3Cpath d='M3 35H23C29.6274 35 35 29.6274 35 23V3' stroke='white' stroke-width='6' stroke-linecap='square'/%3E%3C/svg%3E\");\n display: block;\n pointer-events: none;\n}\n\n.point-ne::before {\n transform: rotate(-90deg);\n left: 0px;\n top: 6px;\n}\n\n.point-nw::before {\n transform: rotate(180deg);\n left: 6px;\n top: 6px;\n}\n\n.point-sw::before {\n transform: rotate(90deg);\n left: 6px;\n top: 0px;\n}\n\n.point-se::before {\n left: 0px;\n top: 0px;\n}\n\n.cropper-invisible {\n opacity: 0;\n}\n\n.cropper-hide {\n display: block;\n height: 0;\n position: absolute;\n width: 0;\n}\n\n.cropper-hidden {\n display: none !important;\n}\n\n.cropper-move {\n cursor: move;\n}\n\n.cropper-crop {\n cursor: crosshair;\n}\n\n.cropper-disabled .cropper-drag-box,\n.cropper-disabled .cropper-face,\n.cropper-disabled .cropper-line,\n.cropper-disabled .cropper-point {\n cursor: not-allowed;\n}\n";
|
|
3661
3661
|
|
|
3662
3662
|
const INITIAL_CROP_AREA = 0.9;
|
|
3663
3663
|
const INITIAL_CROP_AREA_OFFSET = 1 - INITIAL_CROP_AREA;
|
|
@@ -3902,7 +3902,7 @@ const VviinnPrivacyBadge = class {
|
|
|
3902
3902
|
};
|
|
3903
3903
|
VviinnPrivacyBadge.style = vviinnPrivacyBadgeCss;
|
|
3904
3904
|
|
|
3905
|
-
const vviinnResultsCss = ":host{--font-family-base:Inter, system-ui, sans-serif;--font-family-mono:monospace;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--font-size-title:24px;--font-size-headline:18px;--font-size-label-large:16px;--font-size-label:14px;--font-size-body-large:16px;--font-size-body:14px;--font-size-caption:12px;--line-height-title:32px;--line-height-headline:24px;--line-height-label-large:24px;--line-height-label:20px;--line-height-body-large:24px;--line-height-body:20px;--line-height-caption:16px;--letter-spacing-title:0px;--letter-spacing-headline:0px;--letter-spacing-label-large:0px;--letter-spacing-label:0px;--letter-spacing-body-large:0px;--letter-spacing-body:0px;--letter-spacing-caption:0px;--font-weight-400:400;--font-weight-500:500;--font-weight-600:600;--font-weight-700:700;--spacing-none:0px;--spacing-25:2px;--spacing-50:4px;--spacing-75:6px;--spacing-100:8px;--spacing-125:10px;--spacing-150:12px;--spacing-200:16px;--spacing-250:20px;--spacing-300:24px;--spacing-400:32px;--spacing-500:40px;--spacing-600:48px;--border-radius-none:0px;--border-radius-25:2px;--border-radius-50:4px;--border-radius-100:8px;--border-radius-150:12px;--border-radius-200:16px;--border-radius-300:24px;--border-radius-400:32px;--border-radius-full:9999px;--stroke-width-none:0px;--stroke-width-25:1px;--stroke-width-50:2px;--stroke-width-75:3px;--stroke-width-100:4px;--stroke-width-150:6px;--stroke-width-200:8px;--stroke-width-300:12px;--product-card-widget-min-width:135px;--product-card-results-min-width:250px;--image-set-mode-min-size:155px;--product-card-set-mode-max-width:300px;--source-card-set-mode-max-width:500px;--filter-blur-none:0px;--filter-blur-100:8px;--filter-blur-150:12px;--filter-blur-200:16px;--color-bg-base:#ffffff;--color-bg-inverse:#161616;--color-border-00:#ffffff;--color-border-01:#f4f4f4;--color-border-02:#e0e0e0;--color-border-03:#c6c6c6;--color-border-inverse-00:#161616;--color-border-inverse-01:#393939;--color-field-01:#ffffff;--color-field-02:#f4f4f4;--color-icon-primary:#161616;--color-icon-secondary:#525252;--color-icon-helper:#8d8d8d;--color-icon-on-color:#ffffff;--color-icon-inverse:#ffffff;--color-icon-disabled:#16161640;--color-text-primary:#161616;--color-text-secondary:#525252;--color-text-helper:#8d8d8d;--color-text-placeholder:#a8a8a8;--color-text-on-color:#ffffff;--color-text-inverse:#ffffff;--color-text-disabled:#16161640;--button-bg-color-primary:#000000;--button-bg-color-primary-hover:#161616;--button-bg-color-primary-active:#1e1e1e;--button-bg-color-secondary:#f4f4f4;--button-bg-color-secondary-hover:#e0e0e0;--button-bg-color-secondary-active:#c6c6c6;--button-bg-color-ghost-hover:#f4f4f4;--button-bg-color-ghost-active:#eaeaea;--button-bg-color-frosted:#6f6f6f66;--button-bg-color-frosted-hover:#6f6f6f80;--button-bg-color-frosted-active:#6f6f6f99;--button-bg-color-disabled:#e0e0e0;--button-bg-color-positive:#dcfce7;--surface-bg-color-01:#f4f4f4;--surface-bg-color-01-hover:#eaeaea;--surface-bg-color-01-active:#e0e0e0;--surface-bg-color-02:#ffffff;--surface-bg-color-inverse:#262626;--surface-bg-color-inverse-hover:#303030;--surface-bg-color-inverse-active:#393939;--surface-bg-color-disabled:#e0e0e0;--chip-bg-color-primary:#161616;--chip-bg-color-primary-hover:#1e1e1e;--chip-bg-color-primary-active:#262626;--chip-bg-color-subtle:#f4f4f4;--chip-bg-color-subtle-hover:#eaeaea;--chip-bg-color-subtle-active:#e0e0e0;--chip-bg-color-outline-hover:#f4f4f4;--chip-bg-color-outline-active:#eaeaea;--label-bg-color-accent:#ff3944;}:host{display:block}:host(.show-in-widget){display:grid;overflow-y:auto;overflow-x:hidden;padding:unset;position:relative;width:100%}.products{width:100%;align-content:center;align-items:start;box-sizing:border-box;display:grid;grid-gap:32px 16px;grid-template-columns:repeat(\n auto-fill,\n minmax(\n var(--product-card-width, var(--product-card-results-min-width)),\n 1fr\n )\n );justify-items:center;padding:24px;position:absolute}:host(.show-in-widget) .products{grid-template-columns:repeat(\n auto-fill,\n minmax(var(--product-card-width, var(--product-card-widget-min-width)), 1fr)\n )}:host(:not(.show-in-widget)) .products{position:static;padding:0}.
|
|
3905
|
+
const vviinnResultsCss = ":host{--font-family-base:Inter, system-ui, sans-serif;--font-family-mono:monospace;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--font-size-title:24px;--font-size-headline:18px;--font-size-label-large:16px;--font-size-label:14px;--font-size-body-large:16px;--font-size-body:14px;--font-size-caption:12px;--line-height-title:32px;--line-height-headline:24px;--line-height-label-large:24px;--line-height-label:20px;--line-height-body-large:24px;--line-height-body:20px;--line-height-caption:16px;--letter-spacing-title:0px;--letter-spacing-headline:0px;--letter-spacing-label-large:0px;--letter-spacing-label:0px;--letter-spacing-body-large:0px;--letter-spacing-body:0px;--letter-spacing-caption:0px;--font-weight-400:400;--font-weight-500:500;--font-weight-600:600;--font-weight-700:700;--spacing-none:0px;--spacing-25:2px;--spacing-50:4px;--spacing-75:6px;--spacing-100:8px;--spacing-125:10px;--spacing-150:12px;--spacing-200:16px;--spacing-250:20px;--spacing-300:24px;--spacing-400:32px;--spacing-500:40px;--spacing-600:48px;--border-radius-none:0px;--border-radius-25:2px;--border-radius-50:4px;--border-radius-100:8px;--border-radius-150:12px;--border-radius-200:16px;--border-radius-300:24px;--border-radius-400:32px;--border-radius-full:9999px;--stroke-width-none:0px;--stroke-width-25:1px;--stroke-width-50:2px;--stroke-width-75:3px;--stroke-width-100:4px;--stroke-width-150:6px;--stroke-width-200:8px;--stroke-width-300:12px;--product-card-widget-min-width:135px;--product-card-results-min-width:250px;--image-set-mode-min-size:155px;--product-card-set-mode-max-width:300px;--source-card-set-mode-max-width:500px;--filter-blur-none:0px;--filter-blur-100:8px;--filter-blur-150:12px;--filter-blur-200:16px;--color-bg-base:#ffffff;--color-bg-inverse:#161616;--color-border-00:#ffffff;--color-border-01:#f4f4f4;--color-border-02:#e0e0e0;--color-border-03:#c6c6c6;--color-border-inverse-00:#161616;--color-border-inverse-01:#393939;--color-field-01:#ffffff;--color-field-02:#f4f4f4;--color-icon-primary:#161616;--color-icon-secondary:#525252;--color-icon-helper:#8d8d8d;--color-icon-on-color:#ffffff;--color-icon-inverse:#ffffff;--color-icon-disabled:#16161640;--color-text-primary:#161616;--color-text-secondary:#525252;--color-text-helper:#8d8d8d;--color-text-placeholder:#a8a8a8;--color-text-on-color:#ffffff;--color-text-inverse:#ffffff;--color-text-disabled:#16161640;--button-bg-color-primary:#000000;--button-bg-color-primary-hover:#161616;--button-bg-color-primary-active:#1e1e1e;--button-bg-color-secondary:#f4f4f4;--button-bg-color-secondary-hover:#e0e0e0;--button-bg-color-secondary-active:#c6c6c6;--button-bg-color-ghost-hover:#f4f4f4;--button-bg-color-ghost-active:#eaeaea;--button-bg-color-frosted:#6f6f6f66;--button-bg-color-frosted-hover:#6f6f6f80;--button-bg-color-frosted-active:#6f6f6f99;--button-bg-color-disabled:#e0e0e0;--button-bg-color-positive:#dcfce7;--surface-bg-color-01:#f4f4f4;--surface-bg-color-01-hover:#eaeaea;--surface-bg-color-01-active:#e0e0e0;--surface-bg-color-02:#ffffff;--surface-bg-color-inverse:#262626;--surface-bg-color-inverse-hover:#303030;--surface-bg-color-inverse-active:#393939;--surface-bg-color-disabled:#e0e0e0;--chip-bg-color-primary:#161616;--chip-bg-color-primary-hover:#1e1e1e;--chip-bg-color-primary-active:#262626;--chip-bg-color-subtle:#f4f4f4;--chip-bg-color-subtle-hover:#eaeaea;--chip-bg-color-subtle-active:#e0e0e0;--chip-bg-color-outline-hover:#f4f4f4;--chip-bg-color-outline-active:#eaeaea;--label-bg-color-accent:#ff3944;}:host{display:block}:host(.show-in-widget){display:grid;overflow-y:auto;overflow-x:hidden;padding:unset;position:relative;width:100%}.products{width:100%;align-content:center;align-items:start;box-sizing:border-box;display:grid;grid-gap:32px 16px;grid-template-columns:repeat(\n auto-fill,\n minmax(\n var(--product-card-width, var(--product-card-results-min-width)),\n 1fr\n )\n );justify-items:center;padding:24px;position:absolute}:host(.show-in-widget) .products{grid-template-columns:repeat(\n auto-fill,\n minmax(var(--product-card-width, var(--product-card-widget-min-width)), 1fr)\n )}:host(:not(.show-in-widget)) .products{position:static;padding:0}.hidden{visibility:hidden;height:1px}products.hidden{display:none}@media (max-width: 768px){:host(.show-in-widget){align-content:start;position:static;overflow-y:unset;width:100%;padding-top:0;margin-top:24px}.products{position:static;padding:0;width:unset;grid-gap:32px 16px;justify-content:center}.nothing-found{position:static;grid-gap:64px;padding:unset;align-content:start;width:unset}}@media (max-width: 380px){.products{grid-gap:24px 10px}}.vviinn-results-product-card-actions vviinn-vpr-button{display:flex;padding:var(--spacing-50);justify-content:center;align-items:center;gap:var(--spacing-50);border-radius:var(--border-radius-100);background:var(--button-bg-color-frosted);-webkit-backdrop-filter:blur(calc(var(--filter-blur-150, 12px) / 2));backdrop-filter:blur(calc(var(--filter-blur-150, 12px) / 2))}.vviinn-results-product-card-actions vviinn-vpr-button:hover{background:var(--button-bg-color-frosted-hover)}.vviinn-results-product-card-actions vviinn-vpr-button::part(vviinn-button){display:flex;justify-content:center;align-items:center;color:var(--color-icon-inverse)}#one-click-discovery-append{width:100%;grid-column:1 / -1}@media screen and (max-width: 768px){:host{--product-card-width:155px}}";
|
|
3906
3906
|
|
|
3907
3907
|
var __rest = (undefined && undefined.__rest) || function (s, e) {
|
|
3908
3908
|
var t = {};
|
|
@@ -3924,13 +3924,17 @@ const VviinnResults = class {
|
|
|
3924
3924
|
this.vviinnProductClick = index.createEvent(this, "vviinnProductClick", 7);
|
|
3925
3925
|
this.vviinnResultLoad = index.createEvent(this, "vviinnResultLoad", 7);
|
|
3926
3926
|
this.vviinnResultView = index.createEvent(this, "vviinnResultView", 7);
|
|
3927
|
-
this.vviinnFiltersChanged = index.createEvent(this, "vviinnFiltersChanged", 7);
|
|
3928
3927
|
this.vviinnSearchIdReceived = index.createEvent(this, "vviinnSearchIdReceived", 7);
|
|
3929
3928
|
this.vviinnTextSearchStarted = index.createEvent(this, "vviinnTextSearchStarted", 7);
|
|
3930
|
-
this.
|
|
3929
|
+
this.vviinnFiltersChanged = index.createEvent(this, "vviinnFiltersChanged", 7);
|
|
3930
|
+
this.vviinnFiltersReceived = index.createEvent(this, "vviinnFiltersReceived", 7);
|
|
3931
3931
|
this.resultsSearchFinished = index.createEvent(this, "resultsSearchFinished", 7);
|
|
3932
3932
|
this.globalSlotsChanged = index.createEvent(this, "globalSlotsChanged", 7);
|
|
3933
|
+
this.vviinnSelectedFiltersReset = index.createEvent(this, "vviinnSelectedFiltersReset", 7);
|
|
3933
3934
|
var _a;
|
|
3935
|
+
this.getRecommendations = () => this.showInWidget ? search_store.searchState.results : this.recommendations;
|
|
3936
|
+
this.skipFiltersChanges = (isTriggeredByVpsWidget) => (isTriggeredByVpsWidget && !this.showInWidget) ||
|
|
3937
|
+
(!isTriggeredByVpsWidget && this.showInWidget);
|
|
3934
3938
|
this.getResultsBySearchId = async (searchId) => {
|
|
3935
3939
|
if (!searchId || this.showInWidget)
|
|
3936
3940
|
return;
|
|
@@ -3944,19 +3948,27 @@ const VviinnResults = class {
|
|
|
3944
3948
|
this.getResultsBySearchId(detail.searchId);
|
|
3945
3949
|
};
|
|
3946
3950
|
this.textSearchStartedHandler = async ({ detail }) => {
|
|
3947
|
-
if (this.showInWidget)
|
|
3948
|
-
return;
|
|
3949
3951
|
this.innerTextSearchQuery = detail.query;
|
|
3950
|
-
await this.
|
|
3952
|
+
await this.getTextSearchResults(this.innerTextSearchQuery);
|
|
3951
3953
|
this.resultsSearchFinished.emit();
|
|
3954
|
+
this.vviinnSelectedFiltersReset.emit({
|
|
3955
|
+
isTriggeredByVpsWidget: false,
|
|
3956
|
+
});
|
|
3952
3957
|
};
|
|
3953
|
-
this.filtersChangedHandler = ({ detail }) => {
|
|
3954
|
-
|
|
3958
|
+
this.filtersChangedHandler = async ({ detail }) => {
|
|
3959
|
+
const { filters, isTriggeredByVpsWidget } = detail;
|
|
3960
|
+
if (this.skipFiltersChanges(isTriggeredByVpsWidget))
|
|
3961
|
+
return;
|
|
3955
3962
|
if (this.filterColumn && this.filterValue) {
|
|
3956
|
-
this.getResultsByCategory(
|
|
3963
|
+
this.getResultsByCategory(filters);
|
|
3964
|
+
return;
|
|
3965
|
+
}
|
|
3966
|
+
const isVpsWidgetEvent = this.showInWidget && isTriggeredByVpsWidget;
|
|
3967
|
+
if (isVpsWidgetEvent) {
|
|
3968
|
+
return this.getVpsResults(this.textSearchQuery, filters);
|
|
3957
3969
|
}
|
|
3958
3970
|
else {
|
|
3959
|
-
this.
|
|
3971
|
+
return this.getTextSearchResults(this.innerTextSearchQuery, filters);
|
|
3960
3972
|
}
|
|
3961
3973
|
};
|
|
3962
3974
|
this.filtersTriggeredHandler = ({ detail, }) => {
|
|
@@ -3994,6 +4006,7 @@ const VviinnResults = class {
|
|
|
3994
4006
|
this.productDetailsNewTab = false;
|
|
3995
4007
|
this.productDetailsRedirect = true;
|
|
3996
4008
|
this.addToBasketShow = false;
|
|
4009
|
+
this.favoriteShow = false;
|
|
3997
4010
|
this.textSearchQuery = undefined;
|
|
3998
4011
|
this.filterColumn = "product_type";
|
|
3999
4012
|
this.filterValue = undefined;
|
|
@@ -4039,20 +4052,21 @@ const VviinnResults = class {
|
|
|
4039
4052
|
? this.replaceSlotsContentInWidget()
|
|
4040
4053
|
: this.replaceSlotsContent();
|
|
4041
4054
|
}
|
|
4042
|
-
async
|
|
4055
|
+
async getVpsResults(query, filters) {
|
|
4043
4056
|
if (!query)
|
|
4044
4057
|
return;
|
|
4045
4058
|
search_store.state.apiPath = this.apiPath; //FIXME: #36877
|
|
4046
|
-
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
return
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
|
|
4059
|
+
return search_store._function.pipe(await search_store.makeTextSearchRequest(this.token, query, filters), search_store.getOrElse(() => null), (response) => response);
|
|
4060
|
+
}
|
|
4061
|
+
async getTextSearchResults(query, filters) {
|
|
4062
|
+
if (!query)
|
|
4063
|
+
return;
|
|
4064
|
+
search_store.state.apiPath = this.apiPath; //FIXME: #36877
|
|
4065
|
+
return search_store._function.pipe(await search_store.makeSearchQueryRequest(this.token, query, filters, this.resultsCount), search_store.getOrElse(() => null), (response) => {
|
|
4066
|
+
var _a, _b, _c;
|
|
4067
|
+
this.recommendations = (_b = (_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a.products) !== null && _b !== void 0 ? _b : [];
|
|
4068
|
+
this.vviinnFiltersReceived.emit((_c = response === null || response === void 0 ? void 0 : response.data) === null || _c === void 0 ? void 0 : _c.interactions.dynamicFilters);
|
|
4069
|
+
});
|
|
4056
4070
|
}
|
|
4057
4071
|
async getResultsByCategory(dynamicFilters) {
|
|
4058
4072
|
if (!this.filterColumn || !this.filterValue || this.showInWidget)
|
|
@@ -4061,7 +4075,7 @@ const VviinnResults = class {
|
|
|
4061
4075
|
search_store._function.pipe(await search_store.makeProductListingPageRequest(this.token, this.filterColumn, this.filterValue, this.resultsCount, dynamicFilters), search_store.getOrElse(() => null), (response) => {
|
|
4062
4076
|
var _a, _b;
|
|
4063
4077
|
this.recommendations = (_b = (_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a.products) !== null && _b !== void 0 ? _b : [];
|
|
4064
|
-
this.
|
|
4078
|
+
this.vviinnFiltersReceived.emit(response === null || response === void 0 ? void 0 : response.interactions.dynamicFilters);
|
|
4065
4079
|
});
|
|
4066
4080
|
}
|
|
4067
4081
|
connectedCallback() {
|
|
@@ -4076,7 +4090,10 @@ const VviinnResults = class {
|
|
|
4076
4090
|
document.addEventListener("vviinnWidgetClose", this.widgetCloseHandler);
|
|
4077
4091
|
this.getResultsBySearchId(this.searchId);
|
|
4078
4092
|
this.getResultsByCategory();
|
|
4079
|
-
!this.showInWidget
|
|
4093
|
+
if (!this.showInWidget) {
|
|
4094
|
+
this.innerTextSearchQuery = this.textSearchQuery;
|
|
4095
|
+
this.getTextSearchResults(this.innerTextSearchQuery);
|
|
4096
|
+
}
|
|
4080
4097
|
}
|
|
4081
4098
|
disconnectedCallback() {
|
|
4082
4099
|
document.removeEventListener("vviinnSearchIdReceived", this.searchIdReceivedHandler);
|
|
@@ -4088,7 +4105,7 @@ const VviinnResults = class {
|
|
|
4088
4105
|
watchTextSearchQuery(newQuery) {
|
|
4089
4106
|
if (this.showInWidget)
|
|
4090
4107
|
return;
|
|
4091
|
-
this.
|
|
4108
|
+
this.getTextSearchResults(newQuery);
|
|
4092
4109
|
}
|
|
4093
4110
|
trackProductLoad({ detail }) {
|
|
4094
4111
|
const productLoadEvent = this.getProductTrackEvent(detail, "load");
|
|
@@ -4149,7 +4166,7 @@ const VviinnResults = class {
|
|
|
4149
4166
|
this.trackingApi.trackEvent(resultEvent).then(this.setTrackingDeactivated);
|
|
4150
4167
|
}
|
|
4151
4168
|
findProductById(id) {
|
|
4152
|
-
return
|
|
4169
|
+
return this.getRecommendations().find((r) => r.productId === id);
|
|
4153
4170
|
}
|
|
4154
4171
|
handleOpenLink(deeplink, event) {
|
|
4155
4172
|
if (!this.productDetailsRedirect)
|
|
@@ -4176,9 +4193,7 @@ const VviinnResults = class {
|
|
|
4176
4193
|
return productEvent;
|
|
4177
4194
|
}
|
|
4178
4195
|
renderResults() {
|
|
4179
|
-
const results = this.
|
|
4180
|
-
? search_store.searchState.results
|
|
4181
|
-
: this.recommendations;
|
|
4196
|
+
const results = this.getRecommendations();
|
|
4182
4197
|
const widgetData = this.getBasicEventData();
|
|
4183
4198
|
if (results.length === 0)
|
|
4184
4199
|
return null;
|
|
@@ -4201,7 +4216,7 @@ const VviinnResults = class {
|
|
|
4201
4216
|
};
|
|
4202
4217
|
return results.map((p, i) => {
|
|
4203
4218
|
var _a, _b, _c;
|
|
4204
|
-
return (index.h("vviinn-product-card", { key: p.productId, index: i, productTitle: p.title, productId: p.productId, productType: p.productType, brand: p.brand, deeplink: p.deeplink, price: p.price.actual, salePrice: p.price.sale, basePrice: (_a = p.basePrice) === null || _a === void 0 ? void 0 : _a.actual, baseSalePrice: (_b = p.basePrice) === null || _b === void 0 ? void 0 : _b.sale, responsive: true, imageWidth: this.imageResolutionWidth, image: (_c = p.image.thumbnail) !== null && _c !== void 0 ? _c : p.image.original, energyCertifications: p.energyCertifications, part: "product-card", campaignTypeId: widgetData.campaignTypeId, widgetElementId: this.widgetElementId, buttonElementId: this.buttonElementId, widgetVersion: _package.version, currency: this.currencySign, locale: this.locale, customLabels: index$2.getCustomLabels(p), addToBasketShow: this.addToBasketShow, addPriceContainer: this.addPriceContainer, isResultsWidget: true, style: { order: i.toString() } }, this.oneClickDiscoveryMode && (index.h("div", { slot: "vviinn-product-card-actions", class: "vviinn-results-product-card-actions" }, index.h("vviinn-vpr-button", { onClick: () => oneClickDiscoveryHandler(i), token: this.token, productId: p.productId, addStyle: false, appendSidebarTo: isOneClickDiscoveryAppendMode
|
|
4219
|
+
return (index.h("vviinn-product-card", { key: p.productId, index: i, productTitle: p.title, productId: p.productId, productType: p.productType, brand: p.brand, deeplink: p.deeplink, price: p.price.actual, salePrice: p.price.sale, basePrice: (_a = p.basePrice) === null || _a === void 0 ? void 0 : _a.actual, baseSalePrice: (_b = p.basePrice) === null || _b === void 0 ? void 0 : _b.sale, responsive: true, imageWidth: this.imageResolutionWidth, image: (_c = p.image.thumbnail) !== null && _c !== void 0 ? _c : p.image.original, energyCertifications: p.energyCertifications, part: "product-card", campaignTypeId: widgetData.campaignTypeId, widgetElementId: this.widgetElementId, buttonElementId: this.buttonElementId, widgetVersion: _package.version, currency: this.currencySign, locale: this.locale, customLabels: index$2.getCustomLabels(p), addToBasketShow: this.addToBasketShow, favoriteShow: this.favoriteShow, addPriceContainer: this.addPriceContainer, isResultsWidget: true, style: { order: i.toString() } }, this.oneClickDiscoveryMode && (index.h("div", { slot: "vviinn-product-card-actions", class: "vviinn-results-product-card-actions" }, index.h("vviinn-vpr-button", { onClick: () => oneClickDiscoveryHandler(i), token: this.token, productId: p.productId, addStyle: false, appendSidebarTo: isOneClickDiscoveryAppendMode
|
|
4205
4220
|
? "one-click-discovery-append"
|
|
4206
4221
|
: undefined, appendSidebarToElement: isOneClickDiscoveryAppendMode
|
|
4207
4222
|
? this.el.shadowRoot.getElementById("one-click-discovery-append")
|
|
@@ -4209,24 +4224,16 @@ const VviinnResults = class {
|
|
|
4209
4224
|
});
|
|
4210
4225
|
}
|
|
4211
4226
|
render() {
|
|
4212
|
-
var _a;
|
|
4227
|
+
var _a, _b;
|
|
4213
4228
|
return (index.h(index.Host, { id: "results-block", class: {
|
|
4214
4229
|
"show-in-widget": this.showInWidget,
|
|
4215
|
-
}, exportparts: "image-container, content-container, basket-button-container, title, product-card, brand, product-type, deeplink, currency, image, image-link, image-picture, price-container, price-amount-sale, price-amount-outdated, price-amount-regular, price-amount-base-regular, price-amount-base-sale, price-amount-base-outdated, price-outdated, price-regular, price-sale, price-prefix, custom-label-0, custom-label-1, custom-label-2, custom-label-3, custom-label-4, energy-label-container, energy-label-icon, energy-label-product-type, energy-label-data-sheet-link" }, index.h("div", { class: {
|
|
4216
|
-
"nothing-found": true,
|
|
4217
|
-
hidden: this.recommendations.length > 0 ||
|
|
4218
|
-
search_store.searchState.results.length > 0 ||
|
|
4219
|
-
!this.showInWidget,
|
|
4220
|
-
} }, index.h("vviinn-empty-results", { handler: () => this === null || this === void 0 ? void 0 : this.resetState() })), index.h("div", { class: {
|
|
4221
|
-
"nothing-found": true,
|
|
4222
|
-
hidden: !this.showAspectRatioError || !this.showInWidget,
|
|
4223
|
-
} }, index.h("vviinn-wrong-aspect-ratio", { handler: () => this === null || this === void 0 ? void 0 : this.resetState() })), index.h("div", { class: {
|
|
4230
|
+
}, exportparts: "image-container, content-container, basket-button-container, title, product-card, brand, product-type, deeplink, currency, image, image-link, image-picture, price-container, price-amount-sale, price-amount-outdated, price-amount-regular, price-amount-base-regular, price-amount-base-sale, price-amount-base-outdated, price-outdated, price-regular, price-sale, price-prefix, custom-label-0, custom-label-1, custom-label-2, custom-label-3, custom-label-4, energy-label-container, energy-label-icon, energy-label-product-type, energy-label-data-sheet-link" }, index.h("div", { class: "nothing-found" }, ((_a = this.getRecommendations()) === null || _a === void 0 ? void 0 : _a.length) === 0 && this.showInWidget && (index.h("vviinn-empty-results", { handler: () => this === null || this === void 0 ? void 0 : this.resetState() })), this.showAspectRatioError && this.showInWidget && (index.h("vviinn-wrong-aspect-ratio", { handler: () => this === null || this === void 0 ? void 0 : this.resetState() }))), index.h("div", { class: {
|
|
4224
4231
|
hidden: this.showAspectRatioError ||
|
|
4225
4232
|
(this.recommendations.length === 0 &&
|
|
4226
4233
|
search_store.searchState.results.length === 0),
|
|
4227
4234
|
products: true,
|
|
4228
4235
|
}, id: "vviinn-results-products" }, this.renderResults(), index.h("div", { id: "one-click-discovery-append", style: {
|
|
4229
|
-
order: ((
|
|
4236
|
+
order: ((_b = this.oneClickDiscoveryAppendIndex) !== null && _b !== void 0 ? _b : (this.recommendations.length || search_store.searchState.results.length)).toString(),
|
|
4230
4237
|
} }))));
|
|
4231
4238
|
}
|
|
4232
4239
|
get el() { return index.getElement(this); }
|
|
@@ -4327,7 +4334,7 @@ const VviinnTextSearch = class {
|
|
|
4327
4334
|
index.registerInstance(this, hostRef);
|
|
4328
4335
|
this.vviinnTextSearchStarted = index.createEvent(this, "vviinnTextSearchStarted", 7);
|
|
4329
4336
|
this.vviinnSearchIdReceived = index.createEvent(this, "vviinnSearchIdReceived", 7);
|
|
4330
|
-
this.
|
|
4337
|
+
this.vviinnFiltersReceived = index.createEvent(this, "vviinnFiltersReceived", 7);
|
|
4331
4338
|
this.widgetTextSearchFinished = index.createEvent(this, "widgetTextSearchFinished", 7);
|
|
4332
4339
|
this.resultsSearchFinished = index.createEvent(this, "resultsSearchFinished", 7);
|
|
4333
4340
|
this.vviinnFilterTriggered = index.createEvent(this, "vviinnFilterTriggered", 7);
|
|
@@ -4335,8 +4342,8 @@ const VviinnTextSearch = class {
|
|
|
4335
4342
|
this.isShowPreloader = () => this.showInWidget
|
|
4336
4343
|
? search_store.searchState.loading && search_store.searchState.searchType === "text"
|
|
4337
4344
|
: this.isLoading;
|
|
4338
|
-
this.
|
|
4339
|
-
this.
|
|
4345
|
+
this.showLoader = () => (this.isLoading = true);
|
|
4346
|
+
this.hideLoader = () => (this.isLoading = false);
|
|
4340
4347
|
this.setSearchQuery = (query) => {
|
|
4341
4348
|
this.searchQuery = query;
|
|
4342
4349
|
};
|
|
@@ -4349,25 +4356,21 @@ const VviinnTextSearch = class {
|
|
|
4349
4356
|
this.isLoading = false;
|
|
4350
4357
|
}
|
|
4351
4358
|
connectedCallback() {
|
|
4352
|
-
document.addEventListener("resultsSearchFinished", this.
|
|
4359
|
+
document.addEventListener("resultsSearchFinished", this.hideLoader);
|
|
4353
4360
|
}
|
|
4354
4361
|
disconnectedCallback() {
|
|
4355
|
-
document.removeEventListener("resultsSearchFinished", this.
|
|
4362
|
+
document.removeEventListener("resultsSearchFinished", this.hideLoader);
|
|
4356
4363
|
}
|
|
4357
4364
|
async componentWillLoad() {
|
|
4365
|
+
var _a;
|
|
4358
4366
|
await index$1.instance.init({
|
|
4359
4367
|
lng: this.locale,
|
|
4360
4368
|
fallbackLng: "en",
|
|
4361
4369
|
resources: index$1.resources,
|
|
4362
4370
|
});
|
|
4363
4371
|
_package.slotChangeListener(this, this.el);
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
var _a;
|
|
4367
|
-
if (this.showInWidget)
|
|
4368
|
-
return;
|
|
4369
|
-
if (((_a = this.searchQuery) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
4370
|
-
this.searchStartedHandler();
|
|
4372
|
+
if (!this.showInWidget && ((_a = this.searchQuery) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
4373
|
+
this.showLoader();
|
|
4371
4374
|
this.vviinnTextSearchStarted.emit({
|
|
4372
4375
|
query: this.searchQuery,
|
|
4373
4376
|
});
|
|
@@ -4375,7 +4378,7 @@ const VviinnTextSearch = class {
|
|
|
4375
4378
|
}
|
|
4376
4379
|
imageUploadFinished({ detail }) {
|
|
4377
4380
|
if (!this.showInWidget && this.mode === "textAndUpload") {
|
|
4378
|
-
this.
|
|
4381
|
+
this.showLoader();
|
|
4379
4382
|
this.vviinnSearchIdReceived.emit({ searchId: detail.searchId });
|
|
4380
4383
|
}
|
|
4381
4384
|
}
|
|
@@ -4391,12 +4394,11 @@ const VviinnTextSearch = class {
|
|
|
4391
4394
|
});
|
|
4392
4395
|
if (this.showInWidget) {
|
|
4393
4396
|
await search_store.makeTextSearchRequest(this.token, this.searchQuery);
|
|
4394
|
-
this.vviinnFilters.emit(search_store.searchState.dynamicFilters);
|
|
4395
|
-
this.vviinnSelectedFiltersReset.emit();
|
|
4396
4397
|
this.widgetTextSearchFinished.emit({ query: this.searchQuery });
|
|
4398
|
+
this.vviinnSelectedFiltersReset.emit({ isTriggeredByVpsWidget: true });
|
|
4397
4399
|
}
|
|
4398
4400
|
else {
|
|
4399
|
-
this.
|
|
4401
|
+
this.showLoader();
|
|
4400
4402
|
this.vviinnTextSearchStarted.emit({
|
|
4401
4403
|
query: this.searchQuery,
|
|
4402
4404
|
});
|
|
@@ -4411,7 +4413,7 @@ const VviinnTextSearch = class {
|
|
|
4411
4413
|
return (index.h(index.Host, { exportparts: "text-search-input" }, index.h("input", { class: {
|
|
4412
4414
|
"text-search-input": true,
|
|
4413
4415
|
"text-search-input--with-icon": this.mode === "textAndUpload",
|
|
4414
|
-
}, part: "text-search-input", type: "text", placeholder: index$1.instance.t("textSearchPlaceholder"), value: this.searchQuery, onInput: (event) => this.handleInputChange(event), onKeyUp: (event) => this.handleKeyPress(event) }), index.h("button", { class: "text-search-button", onClick: () => this.handleTextSearch(), disabled: search_store.searchState.loading }, this.isShowPreloader() ? (index.h("vviinn-preloader", null)) : (index.h("slot", { name: "vviinn-text-search-icon" }, index.h(TextSearchIcon, null)))), this.mode === "textAndUpload" ? (index.h("vviinn-image-selector", { token: this.token, apiPath: this.apiPath, showInTextSearch: true, uploadStartedHandler: this.
|
|
4416
|
+
}, part: "text-search-input", type: "text", placeholder: index$1.instance.t("textSearchPlaceholder"), value: this.searchQuery, onInput: (event) => this.handleInputChange(event), onKeyUp: (event) => this.handleKeyPress(event) }), index.h("button", { class: "text-search-button", onClick: () => this.handleTextSearch(), disabled: search_store.searchState.loading }, this.isShowPreloader() ? (index.h("vviinn-preloader", null)) : (index.h("slot", { name: "vviinn-text-search-icon" }, index.h(TextSearchIcon, null)))), this.mode === "textAndUpload" ? (index.h("vviinn-image-selector", { token: this.token, apiPath: this.apiPath, showInTextSearch: true, uploadStartedHandler: this.showLoader.bind(this) }, index.h("span", { slot: "upload-button-text" }, index.h(SearchModalUploadIcon.SearchModalUploadIcon, null)))) : (index.h("slot", { name: "vviinn-text-search-actions" }))));
|
|
4415
4417
|
}
|
|
4416
4418
|
get el() { return index.getElement(this); }
|
|
4417
4419
|
};
|
|
@@ -4469,6 +4471,7 @@ const VviinnVprButton = class {
|
|
|
4469
4471
|
this.addStyle = true;
|
|
4470
4472
|
this.apiPath = "https://api.vviinn.com";
|
|
4471
4473
|
this.appendSidebarTo = undefined;
|
|
4474
|
+
this.favoriteShow = false;
|
|
4472
4475
|
this.appendSidebarToElement = undefined;
|
|
4473
4476
|
this.targetAppendSidebarTo = undefined;
|
|
4474
4477
|
}
|
|
@@ -4518,6 +4521,7 @@ const VviinnVprButton = class {
|
|
|
4518
4521
|
sidebar.setModeDiscounts = this.setModeDiscounts;
|
|
4519
4522
|
sidebar.updateButtonLocation = this.updateButtonLocation;
|
|
4520
4523
|
sidebar.addPriceContainer = this.addPriceContainer;
|
|
4524
|
+
sidebar.favoriteShow = this.favoriteShow;
|
|
4521
4525
|
this.sidebar = sidebar;
|
|
4522
4526
|
sidebar.addEventListener("vviinnWidgetClose", this.sidebarCloseListener);
|
|
4523
4527
|
if (this.targetAppendSidebarTo) {
|
|
@@ -67,22 +67,32 @@ const showActiveOnSubButton = (requestFilters, filterValue, selectedFilter) => {
|
|
|
67
67
|
: false;
|
|
68
68
|
};
|
|
69
69
|
|
|
70
|
-
const
|
|
71
|
-
vviinnFiltersChanged.emit({ filters: requestFilters, el });
|
|
72
|
-
};
|
|
73
|
-
|
|
74
|
-
const triggerFilter = (filterValue, selectedFilter, requestFilters, vviinnFilterTriggered, el, vviinnFiltersChanged) => {
|
|
70
|
+
const triggerFilter = (filterValue, selectedFilter, requestFilters, vviinnFilterTriggered, vviinnFiltersChanged, el, isTriggeredByVpsWidget) => {
|
|
75
71
|
const { filters, action } = subFilterSelection(requestFilters, selectedFilter, filterValue);
|
|
76
72
|
vviinnFilterTriggered.emit({
|
|
77
73
|
kind: selectedFilter.column,
|
|
78
74
|
action,
|
|
79
75
|
});
|
|
80
|
-
vviinnFiltersChanged.emit({
|
|
81
|
-
|
|
76
|
+
vviinnFiltersChanged.emit({
|
|
77
|
+
filters,
|
|
78
|
+
el,
|
|
79
|
+
isTriggeredByVpsWidget,
|
|
80
|
+
});
|
|
82
81
|
return filters;
|
|
83
82
|
};
|
|
83
|
+
const triggerResetFilters = (vviinnFiltersChanged, el, isTriggeredByVpsWidget) => {
|
|
84
|
+
// TODO: #37391 Implement the reset logic
|
|
85
|
+
// vviinnFilterTriggered.emit({
|
|
86
|
+
// action: "reset",
|
|
87
|
+
// });
|
|
88
|
+
vviinnFiltersChanged.emit({
|
|
89
|
+
filters: [],
|
|
90
|
+
el,
|
|
91
|
+
isTriggeredByVpsWidget,
|
|
92
|
+
});
|
|
93
|
+
};
|
|
84
94
|
|
|
85
95
|
exports.RenderButton = RenderButton;
|
|
86
|
-
exports.emitRequestFiltersMore = emitRequestFiltersMore;
|
|
87
96
|
exports.showActiveOnSubButton = showActiveOnSubButton;
|
|
88
97
|
exports.triggerFilter = triggerFilter;
|
|
98
|
+
exports.triggerResetFilters = triggerResetFilters;
|
|
@@ -57,6 +57,7 @@ const RecommendationsSidebar = class {
|
|
|
57
57
|
this.showFilters = false;
|
|
58
58
|
this.setModeDiscounts = undefined;
|
|
59
59
|
this.updateButtonLocation = undefined;
|
|
60
|
+
this.favoriteShow = false;
|
|
60
61
|
this.showInCustomContainer = false;
|
|
61
62
|
this.buttonChildren = undefined;
|
|
62
63
|
this.apiPath = "https://api.vviinn.com";
|
|
@@ -110,7 +111,7 @@ const RecommendationsSidebar = class {
|
|
|
110
111
|
});
|
|
111
112
|
}
|
|
112
113
|
render() {
|
|
113
|
-
return (index.h(index.Host, { class: this.getClassMap() }, index.h("aside", { class: "sidebar", part: "body", onAnimationEnd: (e) => this.handleAnimationEnd(e) }, this.mode !== "set" && (index.h("header", { class: { "contains-source-img": this.isSourceImageValid() }, part: "sidebar-header" }, this.renderSourceImage(), index.h("span", { class: "title", part: "title" }, this.sidebarTitle), index.h("button", { class: "close-sidebar", onClick: () => (this.state = "closed") }, index.h(CrossIcon, null)))), index.h("main", { part: "sidebar-content" }, index.h("vviinn-vpr-widget", { exportparts: "image-container, content-container, basket-button-container,brand, product-type, currency, deeplink, image, image-link, image-picture, price-container, price-amount, price-prefix, price-outdated, price-regular, price-amount-base-regular, price-amount-base-sale, price-amount-base-outdated, price-sale, custom-label-0, custom-label-1, custom-label-2, custom-label-3, custom-label-4, title: product-title, carousel-button, product-card, items-group, energy-label-container, energy-label-icon, energy-label-product-type, energy-label-data-sheet-link", token: this.token, productId: this.productId, imageWidth: this.imageWidth, imageRatio: this.imageRatio, blockTitle: "", mode: this.mode, "campaign-type": this.campaignType, useCarousel: this.position === "bottom", onVviinnRecommendationsLoaded: () => (this.state = "open"), showScroll: this.widgetScrollbar, campaigns: this.campaigns, color: this.color, currencySign: this.currencySign, pricePrefix: this.pricePrefix, apiPath: this.apiPath, locale: this.locale, buttonElementId: this.buttonElementId, noResultText: this.noResultText, noResultShow: this.noResultShow, gridArrowsDynamic: this.gridArrowsDynamic, showingInButton: this.showingInButton, excluded: this.excluded, productDetailsNewTab: this.productDetailsNewTab, productDetailsRedirect: this.productDetailsRedirect, closed: this.state === "closed", opened: this.state === "open", addToBasketShow: this.addToBasketShow, cssUrl: this.cssUrl, showFilters: this.showFilters, setModeDiscounts: this.setModeDiscounts, updateButtonLocation: this.updateButtonLocation, addPriceContainer: this.addPriceContainer })))));
|
|
114
|
+
return (index.h(index.Host, { class: this.getClassMap() }, index.h("aside", { class: "sidebar", part: "body", onAnimationEnd: (e) => this.handleAnimationEnd(e) }, this.mode !== "set" && (index.h("header", { class: { "contains-source-img": this.isSourceImageValid() }, part: "sidebar-header" }, this.renderSourceImage(), index.h("span", { class: "title", part: "title" }, this.sidebarTitle), index.h("button", { class: "close-sidebar", onClick: () => (this.state = "closed") }, index.h(CrossIcon, null)))), index.h("main", { part: "sidebar-content" }, index.h("vviinn-vpr-widget", { exportparts: "image-container, content-container, basket-button-container,brand, product-type, currency, deeplink, image, image-link, image-picture, price-container, price-amount, price-prefix, price-outdated, price-regular, price-amount-base-regular, price-amount-base-sale, price-amount-base-outdated, price-sale, custom-label-0, custom-label-1, custom-label-2, custom-label-3, custom-label-4, title: product-title, carousel-button, product-card, items-group, energy-label-container, energy-label-icon, energy-label-product-type, energy-label-data-sheet-link, product-card-top-actions", token: this.token, productId: this.productId, imageWidth: this.imageWidth, imageRatio: this.imageRatio, blockTitle: "", mode: this.mode, "campaign-type": this.campaignType, useCarousel: this.position === "bottom", onVviinnRecommendationsLoaded: () => (this.state = "open"), showScroll: this.widgetScrollbar, campaigns: this.campaigns, color: this.color, currencySign: this.currencySign, pricePrefix: this.pricePrefix, apiPath: this.apiPath, locale: this.locale, buttonElementId: this.buttonElementId, noResultText: this.noResultText, noResultShow: this.noResultShow, gridArrowsDynamic: this.gridArrowsDynamic, showingInButton: this.showingInButton, excluded: this.excluded, productDetailsNewTab: this.productDetailsNewTab, productDetailsRedirect: this.productDetailsRedirect, closed: this.state === "closed", opened: this.state === "open", addToBasketShow: this.addToBasketShow, cssUrl: this.cssUrl, showFilters: this.showFilters, setModeDiscounts: this.setModeDiscounts, updateButtonLocation: this.updateButtonLocation, addPriceContainer: this.addPriceContainer, favoriteShow: this.favoriteShow })))));
|
|
114
115
|
}
|
|
115
116
|
renderSourceImage() {
|
|
116
117
|
var _a, _b, _c, _d, _e, _f;
|