vviinn-widgets 2.40.2 → 2.40.3
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/{package-66fc2d42.js → package-54a34e30.js} +1 -1
- package/dist/cjs/vviinn-carousel_4.cjs.entry.js +1 -1
- package/dist/cjs/vviinn-vpr-button.cjs.entry.js +1 -1
- package/dist/cjs/vviinn-vps-button.cjs.entry.js +1 -1
- package/dist/cjs/vviinn-vps-widget.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/image-search/search-filters/search-filters.js +2 -2
- package/dist/collection/components/vviinn-carousel/vviinn-carousel.js +2 -2
- package/dist/collection/components/vviinn-example-image/vviinn-example-image.js +3 -3
- package/dist/collection/components/vviinn-image-selector/vviinn-image-selector.js +3 -3
- package/dist/collection/components/vviinn-image-view/vviinn-detected-object/vviinn-detected-object.js +2 -2
- package/dist/collection/components/vviinn-image-view/vviinn-image-view.js +2 -2
- package/dist/collection/components/vviinn-modal/vviinn-modal.js +1 -1
- package/dist/collection/components/vviinn-product-card/vviinn-product-card.js +5 -5
- package/dist/collection/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.js +1 -1
- package/dist/collection/components/vviinn-vpr-button/vviinn-vpr-button.js +10 -10
- package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-vidget.js +11 -11
- package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.js +13 -13
- package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.js +13 -13
- package/dist/collection/interfaces/generated.js +1 -0
- package/dist/esm/{package-e0b16841.js → package-45ccc0a3.js} +1 -1
- package/dist/esm/vviinn-carousel_4.entry.js +1 -1
- package/dist/esm/vviinn-vpr-button.entry.js +1 -1
- package/dist/esm/vviinn-vps-button.entry.js +1 -1
- package/dist/esm/vviinn-vps-widget.entry.js +1 -1
- package/dist/types/analytics/GAnalytics.d.ts +4 -4
- package/dist/types/interfaces/generated.d.ts +869 -0
- package/dist/vviinn-widgets/{p-f2486332.entry.js → p-2e7f7b84.entry.js} +1 -1
- package/{www/build/p-28feba37.entry.js → dist/vviinn-widgets/p-684e4690.entry.js} +1 -1
- package/dist/vviinn-widgets/{p-e12ab596.entry.js → p-b35a362b.entry.js} +1 -1
- package/dist/vviinn-widgets/p-ccb91f56.js +1 -0
- package/dist/vviinn-widgets/{p-c6e8ddfb.entry.js → p-d39e2c57.entry.js} +1 -1
- package/dist/vviinn-widgets/vviinn-widgets.esm.js +1 -1
- package/package.json +1 -1
- package/www/build/{p-f2486332.entry.js → p-2e7f7b84.entry.js} +1 -1
- package/www/build/p-3365c8ea.js +1 -0
- package/{dist/vviinn-widgets/p-28feba37.entry.js → www/build/p-684e4690.entry.js} +1 -1
- package/www/build/p-a67898be.css +1 -0
- package/www/build/{p-e12ab596.entry.js → p-b35a362b.entry.js} +1 -1
- package/www/build/p-ccb91f56.js +1 -0
- package/www/build/{p-c6e8ddfb.entry.js → p-d39e2c57.entry.js} +1 -1
- package/www/build/vviinn-widgets.esm.js +1 -1
- package/www/index.html +2 -2
- package/dist/vviinn-widgets/p-b51f27f5.js +0 -1
- package/www/build/p-b51f27f5.js +0 -1
|
@@ -785,7 +785,7 @@ export class VviinnVpsWidget {
|
|
|
785
785
|
},
|
|
786
786
|
"complexType": {
|
|
787
787
|
"original": "BasicEventData",
|
|
788
|
-
"resolved": "{ widgetType: \"VPR\" | \"VPS\"; campaignTypeId: \"VPR\" | \"
|
|
788
|
+
"resolved": "{ widgetType: \"VPR\" | \"VPS\"; campaignTypeId: \"VPR\" | \"VPS\" | \"VCS\"; campaignTypeName: \"Similar Products\" | \"Visual Search\" | \"Cross-Selling\"; widgetId: string; widgetVersion: string; }",
|
|
789
789
|
"references": {
|
|
790
790
|
"BasicEventData": {
|
|
791
791
|
"location": "import",
|
|
@@ -805,7 +805,7 @@ export class VviinnVpsWidget {
|
|
|
805
805
|
},
|
|
806
806
|
"complexType": {
|
|
807
807
|
"original": "BasicEventData",
|
|
808
|
-
"resolved": "{ widgetType: \"VPR\" | \"VPS\"; campaignTypeId: \"VPR\" | \"
|
|
808
|
+
"resolved": "{ widgetType: \"VPR\" | \"VPS\"; campaignTypeId: \"VPR\" | \"VPS\" | \"VCS\"; campaignTypeName: \"Similar Products\" | \"Visual Search\" | \"Cross-Selling\"; widgetId: string; widgetVersion: string; }",
|
|
809
809
|
"references": {
|
|
810
810
|
"BasicEventData": {
|
|
811
811
|
"location": "import",
|
|
@@ -825,7 +825,7 @@ export class VviinnVpsWidget {
|
|
|
825
825
|
},
|
|
826
826
|
"complexType": {
|
|
827
827
|
"original": "BasicEventData",
|
|
828
|
-
"resolved": "{ widgetType: \"VPR\" | \"VPS\"; campaignTypeId: \"VPR\" | \"
|
|
828
|
+
"resolved": "{ widgetType: \"VPR\" | \"VPS\"; campaignTypeId: \"VPR\" | \"VPS\" | \"VCS\"; campaignTypeName: \"Similar Products\" | \"Visual Search\" | \"Cross-Selling\"; widgetId: string; widgetVersion: string; }",
|
|
829
829
|
"references": {
|
|
830
830
|
"BasicEventData": {
|
|
831
831
|
"location": "import",
|
|
@@ -845,7 +845,7 @@ export class VviinnVpsWidget {
|
|
|
845
845
|
},
|
|
846
846
|
"complexType": {
|
|
847
847
|
"original": "BasicEventData",
|
|
848
|
-
"resolved": "{ widgetType: \"VPR\" | \"VPS\"; campaignTypeId: \"VPR\" | \"
|
|
848
|
+
"resolved": "{ widgetType: \"VPR\" | \"VPS\"; campaignTypeId: \"VPR\" | \"VPS\" | \"VCS\"; campaignTypeName: \"Similar Products\" | \"Visual Search\" | \"Cross-Selling\"; widgetId: string; widgetVersion: string; }",
|
|
849
849
|
"references": {
|
|
850
850
|
"BasicEventData": {
|
|
851
851
|
"location": "import",
|
|
@@ -865,7 +865,7 @@ export class VviinnVpsWidget {
|
|
|
865
865
|
},
|
|
866
866
|
"complexType": {
|
|
867
867
|
"original": "ProductCardEventData",
|
|
868
|
-
"resolved": "{ widgetType: \"VPR\" | \"VPS\"; campaignTypeId: \"VPR\" | \"
|
|
868
|
+
"resolved": "{ widgetType: \"VPR\" | \"VPS\"; campaignTypeId: \"VPR\" | \"VPS\" | \"VCS\"; campaignTypeName: \"Similar Products\" | \"Visual Search\" | \"Cross-Selling\"; widgetId: string; widgetVersion: string; productId: string; productRank: number; productName: string; productType: string; clickEvent?: MouseEvent; }",
|
|
869
869
|
"references": {
|
|
870
870
|
"ProductCardEventData": {
|
|
871
871
|
"location": "import",
|
|
@@ -885,7 +885,7 @@ export class VviinnVpsWidget {
|
|
|
885
885
|
},
|
|
886
886
|
"complexType": {
|
|
887
887
|
"original": "ProductCardEventData",
|
|
888
|
-
"resolved": "{ widgetType: \"VPR\" | \"VPS\"; campaignTypeId: \"VPR\" | \"
|
|
888
|
+
"resolved": "{ widgetType: \"VPR\" | \"VPS\"; campaignTypeId: \"VPR\" | \"VPS\" | \"VCS\"; campaignTypeName: \"Similar Products\" | \"Visual Search\" | \"Cross-Selling\"; widgetId: string; widgetVersion: string; productId: string; productRank: number; productName: string; productType: string; clickEvent?: MouseEvent; }",
|
|
889
889
|
"references": {
|
|
890
890
|
"ProductCardEventData": {
|
|
891
891
|
"location": "import",
|
|
@@ -905,7 +905,7 @@ export class VviinnVpsWidget {
|
|
|
905
905
|
},
|
|
906
906
|
"complexType": {
|
|
907
907
|
"original": "ProductCardEventData",
|
|
908
|
-
"resolved": "{ widgetType: \"VPR\" | \"VPS\"; campaignTypeId: \"VPR\" | \"
|
|
908
|
+
"resolved": "{ widgetType: \"VPR\" | \"VPS\"; campaignTypeId: \"VPR\" | \"VPS\" | \"VCS\"; campaignTypeName: \"Similar Products\" | \"Visual Search\" | \"Cross-Selling\"; widgetId: string; widgetVersion: string; productId: string; productRank: number; productName: string; productType: string; clickEvent?: MouseEvent; }",
|
|
909
909
|
"references": {
|
|
910
910
|
"ProductCardEventData": {
|
|
911
911
|
"location": "import",
|
|
@@ -925,7 +925,7 @@ export class VviinnVpsWidget {
|
|
|
925
925
|
},
|
|
926
926
|
"complexType": {
|
|
927
927
|
"original": "BasicEventData",
|
|
928
|
-
"resolved": "{ widgetType: \"VPR\" | \"VPS\"; campaignTypeId: \"VPR\" | \"
|
|
928
|
+
"resolved": "{ widgetType: \"VPR\" | \"VPS\"; campaignTypeId: \"VPR\" | \"VPS\" | \"VCS\"; campaignTypeName: \"Similar Products\" | \"Visual Search\" | \"Cross-Selling\"; widgetId: string; widgetVersion: string; }",
|
|
929
929
|
"references": {
|
|
930
930
|
"BasicEventData": {
|
|
931
931
|
"location": "import",
|
|
@@ -945,7 +945,7 @@ export class VviinnVpsWidget {
|
|
|
945
945
|
},
|
|
946
946
|
"complexType": {
|
|
947
947
|
"original": "BasicEventData",
|
|
948
|
-
"resolved": "{ widgetType: \"VPR\" | \"VPS\"; campaignTypeId: \"VPR\" | \"
|
|
948
|
+
"resolved": "{ widgetType: \"VPR\" | \"VPS\"; campaignTypeId: \"VPR\" | \"VPS\" | \"VCS\"; campaignTypeName: \"Similar Products\" | \"Visual Search\" | \"Cross-Selling\"; widgetId: string; widgetVersion: string; }",
|
|
949
949
|
"references": {
|
|
950
950
|
"BasicEventData": {
|
|
951
951
|
"location": "import",
|
|
@@ -965,7 +965,7 @@ export class VviinnVpsWidget {
|
|
|
965
965
|
},
|
|
966
966
|
"complexType": {
|
|
967
967
|
"original": "BasicEventData",
|
|
968
|
-
"resolved": "{ widgetType: \"VPR\" | \"VPS\"; campaignTypeId: \"VPR\" | \"
|
|
968
|
+
"resolved": "{ widgetType: \"VPR\" | \"VPS\"; campaignTypeId: \"VPR\" | \"VPS\" | \"VCS\"; campaignTypeName: \"Similar Products\" | \"Visual Search\" | \"Cross-Selling\"; widgetId: string; widgetVersion: string; }",
|
|
969
969
|
"references": {
|
|
970
970
|
"BasicEventData": {
|
|
971
971
|
"location": "import",
|
|
@@ -985,7 +985,7 @@ export class VviinnVpsWidget {
|
|
|
985
985
|
},
|
|
986
986
|
"complexType": {
|
|
987
987
|
"original": "BasicEventData",
|
|
988
|
-
"resolved": "{ widgetType: \"VPR\" | \"VPS\"; campaignTypeId: \"VPR\" | \"
|
|
988
|
+
"resolved": "{ widgetType: \"VPR\" | \"VPS\"; campaignTypeId: \"VPR\" | \"VPS\" | \"VCS\"; campaignTypeName: \"Similar Products\" | \"Visual Search\" | \"Cross-Selling\"; widgetId: string; widgetVersion: string; }",
|
|
989
989
|
"references": {
|
|
990
990
|
"BasicEventData": {
|
|
991
991
|
"location": "import",
|
|
@@ -1005,7 +1005,7 @@ export class VviinnVpsWidget {
|
|
|
1005
1005
|
},
|
|
1006
1006
|
"complexType": {
|
|
1007
1007
|
"original": "SelectObjectEventData",
|
|
1008
|
-
"resolved": "{ widgetType: \"VPR\" | \"VPS\"; campaignTypeId: \"VPR\" | \"
|
|
1008
|
+
"resolved": "{ widgetType: \"VPR\" | \"VPS\"; campaignTypeId: \"VPR\" | \"VPS\" | \"VCS\"; campaignTypeName: \"Similar Products\" | \"Visual Search\" | \"Cross-Selling\"; widgetId: string; widgetVersion: string; detectedObject: ValueObject<DetectedObject>; }",
|
|
1009
1009
|
"references": {
|
|
1010
1010
|
"SelectObjectEventData": {
|
|
1011
1011
|
"location": "import",
|
|
@@ -1025,7 +1025,7 @@ export class VviinnVpsWidget {
|
|
|
1025
1025
|
},
|
|
1026
1026
|
"complexType": {
|
|
1027
1027
|
"original": "SelectFilterEventData",
|
|
1028
|
-
"resolved": "{ widgetType: \"VPR\" | \"VPS\"; campaignTypeId: \"VPR\" | \"
|
|
1028
|
+
"resolved": "{ widgetType: \"VPR\" | \"VPS\"; campaignTypeId: \"VPR\" | \"VPS\" | \"VCS\"; campaignTypeName: \"Similar Products\" | \"Visual Search\" | \"Cross-Selling\"; widgetId: string; widgetVersion: string; action: FilterAction; kind: FilterKind; filterName?: string; }",
|
|
1029
1029
|
"references": {
|
|
1030
1030
|
"SelectFilterEventData": {
|
|
1031
1031
|
"location": "import",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -3,7 +3,7 @@ import { _ as _Array, O as Option, S as Semigroup, a as _function, h as has, t a
|
|
|
3
3
|
import { C as ChevronIcon, U as UpdateIcon } from './index-dac5d1c8.js';
|
|
4
4
|
import { i as instance } from './i18next-387f2b0a.js';
|
|
5
5
|
import { s as slotChangeListener, c as campaignTypeNames, f as fromString, a as fold, S as SlotSkeleton } from './customized-slots-6b70a8f6.js';
|
|
6
|
-
import { v as version } from './package-
|
|
6
|
+
import { v as version } from './package-45ccc0a3.js';
|
|
7
7
|
import { v as v4, c as createTrackingApi, a as createAddToBasketVpcEvent, b as createAddToBasketVprEvent, d as createWidgetVpcEvent, e as createWidgetVprEvent, f as createResultVpcEventByType, g as createResultVprEventByType, h as createProductVpcEventByType, i as createProductVprEventByType } from './index-53105ad4.js';
|
|
8
8
|
|
|
9
9
|
const vviinnCarouselCss = ":host{--vviinn-progressbar-width:0;--vviinn-carousel-item-width:150px;--vviinn-carousel-columns-internal:var(--vviinn-carousel-columns, 4);--vviinn-carousel-image-width-system:140px}.body{display:flex;position:relative;width:var(--vviinn-carousel-content-width);flex-direction:column}.content-wrapper *{box-sizing:border-box}.content-wrapper{overflow-y:hidden;overflow-x:auto;flex-grow:1}.bullets{margin-top:16px;display:flex;flex-direction:row;grid-gap:24px;justify-content:center}.bullet{width:10px;height:10px;background:#e0e0e0;border-radius:50%;cursor:pointer}.bullet.active{background:#161616}.content:not(.show-scrollbar),.content.grid{scrollbar-color:#fff0 #fff0}.content:not(.show-scrollbar)::-webkit-scrollbar,.content.grid::-webkit-scrollbar{opacity:0}.content{display:flex;flex-direction:row;grid-gap:8px;overflow-y:hidden;overflow-x:auto;flex-grow:1;padding-bottom:16px}.content.left>*{scroll-snap-align:start}.content.right>*{scroll-snap-align:end}:host(.continuity) .prev,:host(.continuity) .next{border-radius:2px}:host(.grid) .prev,:host(.grid) .next{border-radius:50%}.prev,.next{align-items:center;background-color:white;border:none;box-shadow:0px 2px 6px rgba(0, 0, 0, 0.15);fill:#525252;cursor:pointer;display:grid;height:40px;justify-items:center;position:absolute;top:calc(50% - 20px);width:40px;z-index:1;padding:0;margin:0}.next:disabled,.prev:disabled{display:none}.prev svg{transform:rotate(180deg);margin-left:-5px}.prev{left:0}.next{right:0}.items-group{display:grid;grid-gap:16px;grid-template-columns:repeat(var(--vviinn-carousel-columns-internal), 1fr);min-width:100%}vviinn-product-card::part(price-container){text-align:center}:host(.classic) vviinn-product-card::part(title),:host(.classic) vviinn-product-card::part(brand),:host(.classic) vviinn-product-card::part(type){text-align:center}@media (max-width: 480px){:host(.modern) button{display:none}.items-group{grid-template-columns:repeat(2, 1fr)}}";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-1f3eaf12.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-45ccc0a3.js';
|
|
3
3
|
import { V as VisualSearchIcon } from './index-dac5d1c8.js';
|
|
4
4
|
|
|
5
5
|
const vviinnVprButtonCss = ":host{display:block}";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-1f3eaf12.js';
|
|
2
|
-
import { v as version } from './package-
|
|
2
|
+
import { v as version } from './package-45ccc0a3.js';
|
|
3
3
|
import { a as CameraIcon } from './index-dac5d1c8.js';
|
|
4
4
|
import { c as campaignTypeNames, S as SlotSkeleton } from './customized-slots-6b70a8f6.js';
|
|
5
5
|
import { D as DEFAULT_EXAMPLE_IMAGE } from './constants-8bf233a9.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-1f3eaf12.js';
|
|
2
2
|
import { i as imageSearchState, s as state, a as _function, O as Option, k as parseExcluded, q as isEmpty } from './imageSearch.store-c0f2a178.js';
|
|
3
3
|
import { i as instance } from './i18next-387f2b0a.js';
|
|
4
|
-
import { v as version } from './package-
|
|
4
|
+
import { v as version } from './package-45ccc0a3.js';
|
|
5
5
|
import { c as campaignTypeNames, s as slotChangeListener, S as SlotSkeleton } from './customized-slots-6b70a8f6.js';
|
|
6
6
|
import { j as createSearchEvent, k as createFilterEvent, v as v4, c as createTrackingApi, l as createWidgetVpsEvent, m as createProductVpsEventByType, n as createResultVpsEventByType } from './index-53105ad4.js';
|
|
7
7
|
import { c as CameraActionIcon, d as UploadActionIcon } from './index-dac5d1c8.js';
|
|
@@ -3,10 +3,10 @@ import { Interfaces } from "../interfaces/recommendation";
|
|
|
3
3
|
export declare class GAnalytics implements ProductAnalytics {
|
|
4
4
|
constructor();
|
|
5
5
|
convertProduct(product: Interfaces['VisualProductSearch']): {
|
|
6
|
-
id:
|
|
7
|
-
name:
|
|
8
|
-
brand:
|
|
9
|
-
category:
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
brand: string;
|
|
9
|
+
category: string;
|
|
10
10
|
list: string;
|
|
11
11
|
price: number;
|
|
12
12
|
};
|