vviinn-widgets 2.2.2 → 2.4.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/{app-globals-30781f30.js → app-globals-2bcc74df.js} +1 -1
- package/dist/cjs/cropper-handler.cjs.entry.js +1 -1
- package/dist/cjs/{customized-slots-5d904d8e.js → customized-slots-4202eaf5.js} +1 -1
- package/dist/cjs/highlight-box_22.cjs.entry.js +20 -10
- package/dist/cjs/{imageSearch.store-128957a4.js → imageSearch.store-cb2b2cc8.js} +14 -11
- package/dist/cjs/{index-c493804d.js → index-44fc16ad.js} +7 -9
- package/dist/cjs/{index-741a970d.js → index-6771ae25.js} +1 -1
- package/dist/cjs/index-e9439500.js +3943 -0
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{vviinn-carousel_5.cjs.entry.js → vviinn-carousel_3.cjs.entry.js} +54 -108
- package/dist/cjs/vviinn-error.cjs.entry.js +1 -1
- package/dist/cjs/vviinn-preloader.cjs.entry.js +2 -2
- package/dist/cjs/vviinn-recommendations-sidebar.cjs.entry.js +63 -0
- package/dist/cjs/vviinn-vpr-button.cjs.entry.js +44 -0
- package/dist/cjs/vviinn-vps-button.cjs.entry.js +4 -4
- package/dist/cjs/vviinn-vps-widget.cjs.entry.js +74 -10
- package/dist/cjs/vviinn-widgets.cjs.js +3 -3
- package/dist/collection/components/image-search/image-view/image-cropper/image-cropper.js +27 -7
- package/dist/collection/components/image-search/search-filters/search-filters.js +24 -1
- package/dist/collection/components/vviinn-carousel/vviinn-carousel.css +4 -0
- package/dist/collection/components/vviinn-carousel/vviinn-carousel.js +6 -3
- package/dist/collection/components/vviinn-icons/index.js +6 -8
- package/dist/collection/components/vviinn-image-view/vviinn-detected-object/vviinn-detected-object.js +18 -1
- package/dist/collection/components/vviinn-product-card/stories/args.js +73 -0
- package/dist/collection/components/vviinn-product-card/stories/decorators.js +51 -0
- package/dist/collection/components/vviinn-product-card/stories/vviinn-product-card.stories.js +105 -0
- package/dist/collection/components/vviinn-product-card/vviinn-product-card.js +57 -12
- package/dist/collection/components/vviinn-vpr-button/stories/args.js +207 -0
- package/dist/collection/components/vviinn-vpr-button/stories/vviinn-vpr-button.stories.js +89 -0
- package/dist/collection/components/vviinn-vpr-button/vviinn-vpr-button.js +11 -4
- package/dist/collection/components/vviinn-vpr-widget/stories/args.js +190 -0
- package/dist/collection/components/vviinn-vpr-widget/stories/decorators.js +29 -0
- package/dist/collection/components/vviinn-vpr-widget/stories/vviinn-vpr-widget.stories.js +212 -0
- package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-vidget.js +47 -9
- package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-widget.css +5 -0
- package/dist/collection/components/vviinn-vps-button/stories/vviinn-vps-button.stories.js +31 -0
- package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.css +3 -0
- package/dist/collection/components/vviinn-vps-widget/stories/vviinn-vps-widget.stories.js +33 -0
- package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.js +108 -10
- package/dist/collection/network/utils.js +1 -1
- package/dist/collection/openApi/index.js +27 -0
- package/dist/collection/{components/vviinn-vpr-widget/GridMode.js → recommendation/events.js} +0 -0
- package/dist/collection/store/store.js +7 -9
- package/dist/collection/store/tracking.store.js +3 -0
- package/dist/collection/tracking/event.js +3 -0
- package/dist/collection/tracking/filter.js +5 -0
- package/dist/collection/tracking/index.js +13 -0
- package/dist/collection/tracking/models.js +6 -0
- package/dist/collection/tracking/product.js +18 -0
- package/dist/collection/tracking/search.js +5 -0
- package/dist/collection/tracking/widget.js +10 -0
- package/dist/esm/{app-globals-345e497d.js → app-globals-550daa9b.js} +1 -1
- package/dist/esm/cropper-handler.entry.js +1 -1
- package/dist/esm/{customized-slots-a76a8d41.js → customized-slots-80625933.js} +1 -1
- package/dist/esm/highlight-box_22.entry.js +20 -10
- package/dist/esm/{imageSearch.store-8eab0da1.js → imageSearch.store-1268786d.js} +12 -10
- package/dist/esm/{index-8cb063df.js → index-1cf740a8.js} +8 -10
- package/dist/esm/{index-6fa21e24.js → index-c09e56b6.js} +1 -1
- package/dist/esm/index-fa27f1df.js +3934 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{vviinn-carousel_5.entry.js → vviinn-carousel_3.entry.js} +55 -107
- package/dist/esm/vviinn-error.entry.js +1 -1
- package/dist/esm/vviinn-preloader.entry.js +2 -2
- package/dist/esm/vviinn-recommendations-sidebar.entry.js +59 -0
- package/dist/esm/vviinn-vpr-button.entry.js +40 -0
- package/dist/esm/vviinn-vps-button.entry.js +4 -4
- package/dist/esm/vviinn-vps-widget.entry.js +71 -7
- package/dist/esm/vviinn-widgets.js +3 -3
- package/dist/types/Image/error.d.ts +1 -0
- package/dist/types/Image/form.d.ts +1 -0
- package/dist/types/Image/fromFile.d.ts +1 -0
- package/dist/types/Image/imageToB64.d.ts +1 -0
- package/dist/types/Image/index.d.ts +1 -0
- package/dist/types/Image/renderPromise.d.ts +1 -0
- package/dist/types/Image/resizeImage.d.ts +1 -0
- package/dist/types/Image/sizing.d.ts +1 -0
- package/dist/types/Image/toFile.d.ts +1 -0
- package/dist/types/analytics/GAnalytics.d.ts +1 -0
- package/dist/types/analytics/GeneralAnalytics.d.ts +1 -0
- package/dist/types/analytics/GtagAnalytics.d.ts +1 -0
- package/dist/types/analytics/ProductAnalytics.d.ts +1 -0
- package/dist/types/campaign/Campaign.d.ts +1 -0
- package/dist/types/campaign/CampaignService.d.ts +1 -0
- package/dist/types/campaign/VCSCampaign.d.ts +1 -0
- package/dist/types/campaign/VCSCampaignResponse.d.ts +1 -0
- package/dist/types/campaign/VCSCampaignService.d.ts +1 -0
- package/dist/types/campaign/VPRCampaignResponse.d.ts +1 -0
- package/dist/types/campaign/VPRCampaignService.d.ts +1 -0
- package/dist/types/components/customized-slots.d.ts +1 -0
- package/dist/types/components/image-search/image-view/highlight-box/highlight-box.d.ts +1 -0
- package/dist/types/components/image-search/image-view/image-cropper/cropper-handler/cropper-handler.d.ts +1 -0
- package/dist/types/components/image-search/image-view/image-cropper/image-cropper.d.ts +4 -0
- package/dist/types/components/image-search/search-filters/search-filters.d.ts +4 -0
- package/dist/types/components/vviinn-carousel/vviinn-carousel.d.ts +4 -0
- package/dist/types/components/vviinn-error/vviinn-empty-results/vviinn-empty-results.d.ts +1 -0
- package/dist/types/components/vviinn-error/vviinn-error.d.ts +1 -0
- package/dist/types/components/vviinn-error/vviinn-server-error/vviinn-server-error.d.ts +1 -0
- package/dist/types/components/vviinn-error/vviinn-wrong-format/vviinn-wrong-format.d.ts +1 -0
- package/dist/types/components/vviinn-example-images/vviinn-example-image/vviinn-example-image.d.ts +1 -0
- package/dist/types/components/vviinn-example-images/vviinn-example-images.d.ts +1 -0
- package/dist/types/components/vviinn-icons/index.d.ts +1 -0
- package/dist/types/components/vviinn-image-selector/vviinn-image-selector.d.ts +1 -0
- package/dist/types/components/vviinn-image-view/vviinn-detected-object/vviinn-detected-object.d.ts +3 -0
- package/dist/types/components/vviinn-image-view/vviinn-image-view.d.ts +1 -0
- package/dist/types/components/vviinn-modal/vviinn-modal.d.ts +1 -0
- package/dist/types/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-1/vviinn-onboarding-card-1.d.ts +1 -0
- package/dist/types/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-2/vviinn-onboarding-card-2.d.ts +1 -0
- package/dist/types/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-3/vviinn-onboarding-card-3.d.ts +1 -0
- package/dist/types/components/vviinn-onboarding/vviinn-onboarding.d.ts +1 -0
- package/dist/types/components/vviinn-overlay/vviinn-overlay.d.ts +1 -0
- package/dist/types/components/vviinn-overlayed-modal/vviinn-overlayed-modal.d.ts +1 -0
- package/dist/types/components/vviinn-preloader/vviinn-preloader.d.ts +1 -0
- package/dist/types/components/vviinn-privacy-badge/vviinn-privacy-badge.d.ts +1 -0
- package/dist/types/components/vviinn-product-card/render-helpers.d.ts +1 -0
- package/dist/types/components/vviinn-product-card/stories/args.d.ts +74 -0
- package/dist/types/components/vviinn-product-card/stories/decorators.d.ts +2 -0
- package/dist/types/components/vviinn-product-card/stories/vviinn-product-card.stories.d.ts +81 -0
- package/dist/types/components/vviinn-product-card/vviinn-product-card.d.ts +9 -3
- package/dist/types/components/vviinn-slider/arrow.d.ts +1 -0
- package/dist/types/components/vviinn-slider/vviinn-slide/vviinn-slide.d.ts +1 -0
- package/dist/types/components/vviinn-slider/vviinn-slider.d.ts +1 -0
- package/dist/types/components/vviinn-teaser/vviinn-teaser.d.ts +1 -0
- package/dist/types/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.d.ts +1 -0
- package/dist/types/components/vviinn-vpr-button/stories/args.d.ts +208 -0
- package/dist/types/components/vviinn-vpr-button/stories/vviinn-vpr-button.stories.d.ts +215 -0
- package/dist/types/components/vviinn-vpr-button/vviinn-vpr-button.d.ts +4 -0
- package/dist/types/components/vviinn-vpr-widget/stories/args.d.ts +199 -0
- package/dist/types/components/vviinn-vpr-widget/stories/decorators.d.ts +3 -0
- package/dist/types/components/vviinn-vpr-widget/stories/vviinn-vpr-widget.stories.d.ts +142 -0
- package/dist/types/components/vviinn-vpr-widget/token-helpers.d.ts +1 -0
- package/dist/types/components/vviinn-vpr-widget/vviinn-vpr-vidget.d.ts +10 -1
- package/dist/types/components/vviinn-vps-button/stories/vviinn-vps-button.stories.d.ts +13 -0
- package/dist/types/components/vviinn-vps-button/vviinn-vps-button.d.ts +1 -0
- package/dist/types/components/vviinn-vps-widget/stories/vviinn-vps-widget.stories.d.ts +11 -0
- package/dist/types/components/vviinn-vps-widget/vviinn-vps-widget.d.ts +14 -1
- package/dist/types/components.d.ts +10 -4
- package/dist/types/cropper/Cropper.d.ts +1 -0
- package/dist/types/cropper/Handler.d.ts +1 -0
- package/dist/types/dom/index.d.ts +1 -0
- package/dist/types/error.d.ts +1 -0
- package/dist/types/file/index.d.ts +1 -0
- package/dist/types/geometry/Clip.d.ts +1 -0
- package/dist/types/geometry/Point.d.ts +1 -0
- package/dist/types/geometry/Rectangle.d.ts +1 -0
- package/dist/types/geometry/RectangleAlt.d.ts +1 -0
- package/dist/types/geometry/Sized.d.ts +1 -0
- package/dist/types/global.d.ts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/interfaces/generated.d.ts +1 -0
- package/dist/types/interfaces/recommendation.d.ts +1 -0
- package/dist/types/network/apiClient.d.ts +1 -0
- package/dist/types/network/ion/File.d.ts +1 -0
- package/dist/types/network/ion/Form.d.ts +1 -0
- package/dist/types/network/ion/Link.d.ts +1 -0
- package/dist/types/network/ion/ValueObject.d.ts +1 -0
- package/dist/types/network/request.d.ts +1 -0
- package/dist/types/network/utils.d.ts +1 -0
- package/dist/types/openApi/index.d.ts +6 -0
- package/dist/types/recommendation/events.d.ts +6 -0
- package/dist/types/recommendation/recommendation.d.ts +1 -0
- package/dist/types/searchSession/searchSession.d.ts +1 -0
- package/dist/types/sentry.d.ts +1 -0
- package/dist/types/slider/GridMode.d.ts +1 -0
- package/dist/types/store/file-processing.d.ts +1 -0
- package/dist/types/store/imageSearch.store.d.ts +1 -0
- package/dist/types/store/store.d.ts +8 -6
- package/dist/types/store/tracking.store.d.ts +4 -0
- package/dist/types/stories/image-selector.stories.d.ts +1 -0
- package/dist/types/stories/image-view.stories.d.ts +1 -0
- package/dist/types/stories/modal.stories.d.ts +1 -0
- package/dist/types/stories/onboarding.stories.d.ts +1 -0
- package/dist/types/stories/overlay.stories.d.ts +1 -0
- package/dist/types/stories/overlayedModal.stories.d.ts +1 -0
- package/dist/types/stories/privacy-badge.stories.d.ts +1 -0
- package/dist/types/stories/slider.stories.d.ts +1 -0
- package/dist/types/stories/teaser.stories.d.ts +1 -0
- package/dist/types/stories/vps-widget.stories.d.ts +1 -0
- package/dist/types/stories/vviinn-product.stories.d.ts +1 -0
- package/dist/types/tracking/event.d.ts +4 -0
- package/dist/types/tracking/filter.d.ts +3 -0
- package/dist/types/tracking/index.d.ts +9 -0
- package/dist/types/tracking/models.d.ts +13 -0
- package/dist/types/tracking/product.d.ts +7 -0
- package/dist/types/tracking/search.d.ts +3 -0
- package/dist/types/tracking/widget.d.ts +5 -0
- package/dist/types/utils/collections/collectionsUtils.d.ts +1 -0
- package/dist/types/utils/either.d.ts +1 -0
- package/dist/types/utils/enum/enumUtils.d.ts +1 -0
- package/dist/types/utils/event/Events.d.ts +1 -0
- package/dist/types/utils/number/index.d.ts +1 -0
- package/dist/types/utils/option/option.d.ts +1 -0
- package/dist/types/utils/semigroup/semigroupDiff.d.ts +1 -0
- package/dist/types/utils/token/tokenUtils.d.ts +1 -0
- package/dist/vviinn-widgets/{p-78ccc9eb.js → p-07125f64.js} +1 -1
- package/dist/vviinn-widgets/{p-f47e82b2.entry.js → p-27ede517.entry.js} +1 -1
- package/dist/vviinn-widgets/{p-9d24f51e.entry.js → p-314e40b3.entry.js} +1 -1
- package/dist/vviinn-widgets/p-316abc01.js +1 -0
- package/dist/vviinn-widgets/{p-fb14e3cc.entry.js → p-4bdb3027.entry.js} +1 -1
- package/dist/vviinn-widgets/p-5535163a.entry.js +1 -0
- package/dist/vviinn-widgets/{p-59edfbe2.js → p-78b65f70.js} +1 -1
- package/dist/vviinn-widgets/{p-400eb62f.entry.js → p-86ae782f.entry.js} +1 -1
- package/dist/vviinn-widgets/p-89f2c19a.entry.js +1 -0
- package/dist/vviinn-widgets/{p-e1ba8626.js → p-8e25b838.js} +1 -1
- package/dist/vviinn-widgets/p-94aa8705.entry.js +1 -0
- package/dist/vviinn-widgets/{p-e67cae57.js → p-97af45f0.js} +1 -1
- package/dist/vviinn-widgets/p-c5e6ec4f.js +1 -0
- package/dist/vviinn-widgets/p-c63fb46b.entry.js +1 -0
- package/{www/build/p-d085199d.entry.js → dist/vviinn-widgets/p-dd7cac6e.entry.js} +1 -1
- package/dist/vviinn-widgets/vviinn-widgets.esm.js +1 -1
- package/package.json +11 -3
- package/www/build/{p-78ccc9eb.js → p-07125f64.js} +1 -1
- package/www/build/{p-f47e82b2.entry.js → p-27ede517.entry.js} +1 -1
- package/www/build/{p-9d24f51e.entry.js → p-314e40b3.entry.js} +1 -1
- package/www/build/p-316abc01.js +1 -0
- package/www/build/{p-fb14e3cc.entry.js → p-4bdb3027.entry.js} +1 -1
- package/www/build/p-5535163a.entry.js +1 -0
- package/www/build/{p-59edfbe2.js → p-78b65f70.js} +1 -1
- package/www/build/{p-400eb62f.entry.js → p-86ae782f.entry.js} +1 -1
- package/www/build/p-89f2c19a.entry.js +1 -0
- package/www/build/{p-e1ba8626.js → p-8e25b838.js} +1 -1
- package/www/build/p-94aa8705.entry.js +1 -0
- package/www/build/p-961822d3.js +125 -0
- package/www/build/{p-e67cae57.js → p-97af45f0.js} +1 -1
- package/www/build/p-c5e6ec4f.js +1 -0
- package/www/build/p-c63fb46b.entry.js +1 -0
- package/{dist/vviinn-widgets/p-d085199d.entry.js → www/build/p-dd7cac6e.entry.js} +1 -1
- package/www/build/p-e0153ae2.css +6 -0
- package/www/build/vviinn-widgets.esm.js +1 -1
- package/www/index.html +1 -177
- package/dist/collection/components/vviinn-vpr-button/stories/kek.stories.js +0 -18
- package/dist/types/components/vviinn-vpr-button/stories/kek.stories.d.ts +0 -7
- package/dist/types/components/vviinn-vpr-widget/GridMode.d.ts +0 -1
- package/dist/vviinn-widgets/p-04b06ea9.entry.js +0 -1
- package/dist/vviinn-widgets/p-56fc949a.js +0 -1
- package/dist/vviinn-widgets/p-e38f4aa2.entry.js +0 -1
- package/www/build/p-04b06ea9.entry.js +0 -1
- package/www/build/p-56fc949a.js +0 -1
- package/www/build/p-7e4978d5.js +0 -1
- package/www/build/p-a67898be.css +0 -1
- package/www/build/p-e38f4aa2.entry.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -8,3 +8,4 @@ declare type ImageDimensions = ImageDimension[];
|
|
|
8
8
|
export declare const scaleByLargestSide: (toSize: number) => (dimensions: ImageDimensions) => ImageDimensions;
|
|
9
9
|
export declare const dimensionsFromImage: (image: HTMLImageElement) => ImageDimensions;
|
|
10
10
|
export {};
|
|
11
|
+
//# sourceMappingURL=sizing.d.ts.map
|
|
@@ -10,3 +10,4 @@ export declare const isVCS: (c: Campaign) => c is VCS;
|
|
|
10
10
|
export declare type Campaign = VPR | VCS;
|
|
11
11
|
export declare function fold<A, B>(onVPR: () => A, onVCS: () => B): (c: Campaign) => A | B;
|
|
12
12
|
export declare function fromString(s: CampaignName): Campaign;
|
|
13
|
+
//# sourceMappingURL=Campaign.d.ts.map
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import * as C from "./Campaign";
|
|
2
2
|
export declare const getRecommendationsService: (campaignType: C.CampaignName) => ((productId: string) => (options: RequestInit) => import("fp-ts/lib/TaskEither").TaskEither<import("../error").BasicError<string | Response>, import("./VPRCampaignResponse").VPRCampaignResponse>) | ((productId: string) => (options: RequestInit) => import("fp-ts/lib/TaskEither").TaskEither<import("../error").BasicError<string | Response>, import("./VCSCampaignResponse").VCSCampaignResponse>);
|
|
3
|
+
//# sourceMappingURL=CampaignService.d.ts.map
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { VCSCampaignResponse } from "./VCSCampaignResponse";
|
|
2
2
|
export declare const getVCSRecommendations: (productId: string) => (options: RequestInit) => import("fp-ts/lib/TaskEither").TaskEither<import("../error").BasicError<string | Response>, VCSCampaignResponse>;
|
|
3
|
+
//# sourceMappingURL=VCSCampaignService.d.ts.map
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { VPRCampaignResponse } from "./VPRCampaignResponse";
|
|
2
2
|
export declare const getVPRRecommendations: (productId: string) => (options: RequestInit) => import("fp-ts/lib/TaskEither").TaskEither<import("../error").BasicError<string | Response>, VPRCampaignResponse>;
|
|
3
|
+
//# sourceMappingURL=VPRCampaignService.d.ts.map
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { EventEmitter } from "../../../../stencil-public-runtime";
|
|
1
2
|
export declare class ImageCropper {
|
|
2
3
|
el: HTMLElement;
|
|
3
4
|
disabled: boolean;
|
|
4
5
|
handleMove: boolean;
|
|
6
|
+
cropperChanged: EventEmitter;
|
|
5
7
|
private handlerMoveDirection;
|
|
6
8
|
private mouseStartPoint;
|
|
7
9
|
private pointerMoveListener;
|
|
@@ -9,9 +11,11 @@ export declare class ImageCropper {
|
|
|
9
11
|
private bounds;
|
|
10
12
|
componentDidLoad(): void;
|
|
11
13
|
private handleHandlerMove;
|
|
14
|
+
private outOfBounds;
|
|
12
15
|
private handleCropperMove;
|
|
13
16
|
private handlePointerDown;
|
|
14
17
|
private handleSearchAreaRelease;
|
|
15
18
|
private getStyleMap;
|
|
16
19
|
render(): any;
|
|
17
20
|
}
|
|
21
|
+
//# sourceMappingURL=image-cropper.d.ts.map
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
+
import { FilterAction } from "@vviinn/tracking-client-ts";
|
|
1
3
|
import { SearchSessionFilter } from "../../../searchSession/searchSession";
|
|
2
4
|
export declare class SearchFilters {
|
|
3
5
|
el: HTMLElement;
|
|
4
6
|
filter: SearchSessionFilter | null;
|
|
5
7
|
selectedCategoryId: string | null;
|
|
6
8
|
hideFilters: boolean;
|
|
9
|
+
filterSelected: EventEmitter<FilterAction>;
|
|
7
10
|
private handleFilterSelection;
|
|
8
11
|
private selectFilter;
|
|
9
12
|
private clearSelectedFilter;
|
|
@@ -13,3 +16,4 @@ export declare class SearchFilters {
|
|
|
13
16
|
private isFilterSelected;
|
|
14
17
|
render(): any;
|
|
15
18
|
}
|
|
19
|
+
//# sourceMappingURL=search-filters.d.ts.map
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { Recommendation } from "../../recommendation/recommendation";
|
|
2
2
|
declare type MoveDirection = "left" | "right";
|
|
3
3
|
export declare type CarouselMode = "grid" | "continuity";
|
|
4
|
+
/**
|
|
5
|
+
* @part carousel-button
|
|
6
|
+
**/
|
|
4
7
|
export declare class VviinnCarousel {
|
|
5
8
|
el: HTMLElement;
|
|
6
9
|
moveDirection: MoveDirection;
|
|
@@ -47,3 +50,4 @@ export declare class VviinnCarousel {
|
|
|
47
50
|
render(): any;
|
|
48
51
|
}
|
|
49
52
|
export {};
|
|
53
|
+
//# sourceMappingURL=vviinn-carousel.d.ts.map
|
package/dist/types/components/vviinn-image-view/vviinn-detected-object/vviinn-detected-object.d.ts
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
|
+
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
1
2
|
import { ValueObject } from "../../../network/ion/ValueObject";
|
|
2
3
|
import { DetectedObject } from "../../../searchSession/searchSession";
|
|
3
4
|
export declare class VviinnDetectedObject {
|
|
4
5
|
detectedObject: ValueObject<DetectedObject>;
|
|
6
|
+
detectedObjectClicked: EventEmitter;
|
|
5
7
|
private getObjectPosition;
|
|
6
8
|
private selectDetectedObject;
|
|
7
9
|
private isActive;
|
|
8
10
|
position: [string, string];
|
|
9
11
|
render(): any;
|
|
10
12
|
}
|
|
13
|
+
//# sourceMappingURL=vviinn-detected-object.d.ts.map
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
export declare const argTypes: {
|
|
2
|
+
imageWidth: {
|
|
3
|
+
name: string;
|
|
4
|
+
};
|
|
5
|
+
imageBorder: {
|
|
6
|
+
name: string;
|
|
7
|
+
};
|
|
8
|
+
imageBorderColor: {
|
|
9
|
+
name: string;
|
|
10
|
+
control: {
|
|
11
|
+
type: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
imageBackground: {
|
|
15
|
+
name: string;
|
|
16
|
+
description: string;
|
|
17
|
+
};
|
|
18
|
+
showBrand: {
|
|
19
|
+
name: string;
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
titleLineCount: {
|
|
23
|
+
name: string;
|
|
24
|
+
options: number[];
|
|
25
|
+
control: {
|
|
26
|
+
type: string;
|
|
27
|
+
default: number;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
locale: {
|
|
31
|
+
name: string;
|
|
32
|
+
options: string[];
|
|
33
|
+
control: {
|
|
34
|
+
type: string;
|
|
35
|
+
default: number;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
currencyValue: {
|
|
39
|
+
name: string;
|
|
40
|
+
options: string[];
|
|
41
|
+
control: {
|
|
42
|
+
type: string;
|
|
43
|
+
default: number;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
contentAlignment: {
|
|
47
|
+
name: string;
|
|
48
|
+
options: string[];
|
|
49
|
+
mapping: {
|
|
50
|
+
Left: number;
|
|
51
|
+
Centered: number;
|
|
52
|
+
Right: number;
|
|
53
|
+
};
|
|
54
|
+
control: {
|
|
55
|
+
type: string;
|
|
56
|
+
default: number;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
primaryTextColor: {
|
|
60
|
+
name: string;
|
|
61
|
+
control: {
|
|
62
|
+
type: string;
|
|
63
|
+
};
|
|
64
|
+
description: string;
|
|
65
|
+
};
|
|
66
|
+
secondaryTextColor: {
|
|
67
|
+
name: string;
|
|
68
|
+
description: string;
|
|
69
|
+
control: {
|
|
70
|
+
type: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
//# sourceMappingURL=args.d.ts.map
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: string;
|
|
4
|
+
decorators: ((story: () => any) => string)[];
|
|
5
|
+
argTypes: {
|
|
6
|
+
imageWidth: {
|
|
7
|
+
name: string;
|
|
8
|
+
};
|
|
9
|
+
imageBorder: {
|
|
10
|
+
name: string;
|
|
11
|
+
};
|
|
12
|
+
imageBorderColor: {
|
|
13
|
+
name: string;
|
|
14
|
+
control: {
|
|
15
|
+
type: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
imageBackground: {
|
|
19
|
+
name: string;
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
showBrand: {
|
|
23
|
+
name: string;
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
titleLineCount: {
|
|
27
|
+
name: string;
|
|
28
|
+
options: number[];
|
|
29
|
+
control: {
|
|
30
|
+
type: string;
|
|
31
|
+
default: number;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
locale: {
|
|
35
|
+
name: string;
|
|
36
|
+
options: string[];
|
|
37
|
+
control: {
|
|
38
|
+
type: string;
|
|
39
|
+
default: number;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
currencyValue: {
|
|
43
|
+
name: string;
|
|
44
|
+
options: string[];
|
|
45
|
+
control: {
|
|
46
|
+
type: string;
|
|
47
|
+
default: number;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
contentAlignment: {
|
|
51
|
+
name: string;
|
|
52
|
+
options: string[];
|
|
53
|
+
mapping: {
|
|
54
|
+
Left: number;
|
|
55
|
+
Centered: number;
|
|
56
|
+
Right: number;
|
|
57
|
+
};
|
|
58
|
+
control: {
|
|
59
|
+
type: string;
|
|
60
|
+
default: number;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
primaryTextColor: {
|
|
64
|
+
name: string;
|
|
65
|
+
control: {
|
|
66
|
+
type: string;
|
|
67
|
+
};
|
|
68
|
+
description: string;
|
|
69
|
+
};
|
|
70
|
+
secondaryTextColor: {
|
|
71
|
+
name: string;
|
|
72
|
+
description: string;
|
|
73
|
+
control: {
|
|
74
|
+
type: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
export default _default;
|
|
80
|
+
export declare const Default: any;
|
|
81
|
+
//# sourceMappingURL=vviinn-product-card.stories.d.ts.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
import { ProductCardEventData } from "../../recommendation/events";
|
|
2
3
|
/**
|
|
3
4
|
* @part brand - product brand.
|
|
4
5
|
* @part currency - currency sign. Renders after price-amount.
|
|
@@ -30,15 +31,19 @@ export declare class VviinnProductCard {
|
|
|
30
31
|
salePrice: number | undefined;
|
|
31
32
|
responsive: boolean;
|
|
32
33
|
dimmedBackground: boolean;
|
|
34
|
+
/** @internal */
|
|
35
|
+
index: number;
|
|
33
36
|
imageLoaded: boolean;
|
|
34
37
|
/** Event fires ones when recommendation rendered on page */
|
|
35
|
-
recommendationLoad: EventEmitter<
|
|
38
|
+
recommendationLoad: EventEmitter<ProductCardEventData>;
|
|
36
39
|
/** Event fires ones when recommendation appears on the viewport */
|
|
37
|
-
recommendationView: EventEmitter<
|
|
40
|
+
recommendationView: EventEmitter<ProductCardEventData>;
|
|
38
41
|
/** Event fires ones when user click on deeplink */
|
|
39
|
-
recommendationClick: EventEmitter<
|
|
42
|
+
recommendationClick: EventEmitter<ProductCardEventData>;
|
|
40
43
|
productImageLoaded: EventEmitter<string>;
|
|
44
|
+
private productData;
|
|
41
45
|
private intersectionObserver;
|
|
46
|
+
connectedCallback(): void;
|
|
42
47
|
private intersectionCallback;
|
|
43
48
|
componentDidLoad(): void;
|
|
44
49
|
private getProduct;
|
|
@@ -46,3 +51,4 @@ export declare class VviinnProductCard {
|
|
|
46
51
|
private kek;
|
|
47
52
|
render(): any;
|
|
48
53
|
}
|
|
54
|
+
//# sourceMappingURL=vviinn-product-card.d.ts.map
|