vviinn-widgets 2.76.2 → 2.78.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.
Files changed (51) hide show
  1. package/dist/cjs/{package-6ed71104.js → package-6479fd85.js} +1 -1
  2. package/dist/cjs/search-filters_18.cjs.entry.js +8 -8
  3. package/dist/cjs/vviinn-carousel_8.cjs.entry.js +5 -5
  4. package/dist/cjs/vviinn-vpr-button.cjs.entry.js +1 -1
  5. package/dist/cjs/vviinn-vps-button.cjs.entry.js +1 -1
  6. package/dist/cjs/vviinn-vps-widget.cjs.entry.js +2 -2
  7. package/dist/collection/components/vviinn-carousel/vviinn-carousel.js +1 -1
  8. package/dist/collection/components/vviinn-example-image/vviinn-example-image.css +1 -1
  9. package/dist/collection/components/vviinn-filters/vviinn-filters.css +3 -7
  10. package/dist/collection/components/vviinn-image-view/vviinn-detected-object/vviinn-detected-object.css +3 -7
  11. package/dist/collection/components/vviinn-price-range/vviinn-price-range.css +3 -7
  12. package/dist/collection/components/vviinn-product-card/vviinn-energy-label/vviinn-energy-label.css +5 -9
  13. package/dist/collection/components/vviinn-results/vviinn-results.css +20 -15
  14. package/dist/collection/components/vviinn-results/vviinn-results.js +5 -5
  15. package/dist/collection/components/vviinn-slider/vviinn-slider.css +5 -9
  16. package/dist/collection/components/vviinn-text-search/stories/vviinn-text-search.stories.js +16 -2
  17. package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.css +3 -7
  18. package/dist/esm/{package-eda9cc4a.js → package-886c8dcf.js} +1 -1
  19. package/dist/esm/search-filters_18.entry.js +8 -8
  20. package/dist/esm/vviinn-carousel_8.entry.js +5 -5
  21. package/dist/esm/vviinn-vpr-button.entry.js +1 -1
  22. package/dist/esm/vviinn-vps-button.entry.js +1 -1
  23. package/dist/esm/vviinn-vps-widget.entry.js +2 -2
  24. package/dist/types/campaign/CampaignService.d.ts +48 -0
  25. package/dist/types/campaign/VCSCampaignService.d.ts +24 -0
  26. package/dist/types/campaign/VPRCampaignService.d.ts +24 -0
  27. package/dist/types/interfaces/generated.d.ts +142 -121
  28. package/dist/types/store/search.store.d.ts +36 -0
  29. package/dist/vviinn-widgets/p-14433dbf.js +1 -0
  30. package/dist/vviinn-widgets/{p-a24ae98f.entry.js → p-35079b08.entry.js} +1 -1
  31. package/dist/vviinn-widgets/{p-7361c2b2.entry.js → p-848e0576.entry.js} +1 -1
  32. package/dist/vviinn-widgets/p-9d64f4ff.entry.js +1 -0
  33. package/dist/vviinn-widgets/p-a240e63d.entry.js +1 -0
  34. package/dist/vviinn-widgets/{p-bfd6c12b.entry.js → p-f4c176c4.entry.js} +2 -2
  35. package/dist/vviinn-widgets/vviinn-widgets.css +1 -1
  36. package/dist/vviinn-widgets/vviinn-widgets.esm.js +1 -1
  37. package/package.json +1 -1
  38. package/www/build/p-14433dbf.js +1 -0
  39. package/www/build/{p-a24ae98f.entry.js → p-35079b08.entry.js} +1 -1
  40. package/www/build/{p-7361c2b2.entry.js → p-848e0576.entry.js} +1 -1
  41. package/www/build/p-9d64f4ff.entry.js +1 -0
  42. package/www/build/p-a240e63d.entry.js +1 -0
  43. package/www/build/{p-bfd6c12b.entry.js → p-f4c176c4.entry.js} +2 -2
  44. package/www/build/vviinn-widgets.css +1 -1
  45. package/www/build/vviinn-widgets.esm.js +1 -1
  46. package/dist/vviinn-widgets/p-188e1517.entry.js +0 -1
  47. package/dist/vviinn-widgets/p-626495b2.js +0 -1
  48. package/dist/vviinn-widgets/p-8cb71261.entry.js +0 -1
  49. package/www/build/p-188e1517.entry.js +0 -1
  50. package/www/build/p-626495b2.js +0 -1
  51. package/www/build/p-8cb71261.entry.js +0 -1
@@ -22,6 +22,18 @@ export declare const getVCSRecommendations: (body: CrossSellingRequest) => (opti
22
22
  energyEfficiencyClass?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
23
23
  minEnergyEfficiencyClass?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
24
24
  maxEnergyEfficiencyClass?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
25
+ energyCertifications?: {
26
+ certificationClass?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
27
+ certificationStandard?: string;
28
+ classIconURL: string;
29
+ classRange: {
30
+ min?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
31
+ max?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
32
+ };
33
+ classLabelURL: string;
34
+ classDataSheetURL?: string;
35
+ productType?: string;
36
+ }[];
25
37
  };
26
38
  products: {
27
39
  groupId?: string;
@@ -41,6 +53,18 @@ export declare const getVCSRecommendations: (body: CrossSellingRequest) => (opti
41
53
  energyEfficiencyClass?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
42
54
  minEnergyEfficiencyClass?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
43
55
  maxEnergyEfficiencyClass?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
56
+ energyCertifications?: {
57
+ certificationClass?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
58
+ certificationStandard?: string;
59
+ classIconURL: string;
60
+ classRange: {
61
+ min?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
62
+ max?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
63
+ };
64
+ classLabelURL: string;
65
+ classDataSheetURL?: string;
66
+ productType?: string;
67
+ }[];
44
68
  }[];
45
69
  };
46
70
  interactions?: {
@@ -27,6 +27,18 @@ export declare const getVPRRecommendations: (body: SimilarProductsRequest) => (o
27
27
  energyEfficiencyClass?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
28
28
  minEnergyEfficiencyClass?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
29
29
  maxEnergyEfficiencyClass?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
30
+ energyCertifications?: {
31
+ certificationClass?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
32
+ certificationStandard?: string;
33
+ classIconURL: string;
34
+ classRange: {
35
+ min?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
36
+ max?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
37
+ };
38
+ classLabelURL: string;
39
+ classDataSheetURL?: string;
40
+ productType?: string;
41
+ }[];
30
42
  };
31
43
  products: {
32
44
  groupId?: string;
@@ -46,6 +58,18 @@ export declare const getVPRRecommendations: (body: SimilarProductsRequest) => (o
46
58
  energyEfficiencyClass?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
47
59
  minEnergyEfficiencyClass?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
48
60
  maxEnergyEfficiencyClass?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
61
+ energyCertifications?: {
62
+ certificationClass?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
63
+ certificationStandard?: string;
64
+ classIconURL: string;
65
+ classRange: {
66
+ min?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
67
+ max?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
68
+ };
69
+ classLabelURL: string;
70
+ classDataSheetURL?: string;
71
+ productType?: string;
72
+ }[];
49
73
  }[];
50
74
  };
51
75
  interactions?: {
@@ -3,20 +3,6 @@
3
3
  * Do not make direct changes to the file.
4
4
  */
5
5
  export interface paths {
6
- "/product/{product-id}/similar-products": {
7
- /**
8
- * This endpoint allows to discover products similar to the source product, usually chosen by a user.
9
- * The response contains a list of similarities for each product.
10
- */
11
- get: operations["GetSimilarProductsToInputImage"];
12
- };
13
- "/product/{product-id}/cross-selling-products": {
14
- /**
15
- * This endpoint suggests related products based on a source product, usually chosen by a user.
16
- * The response contains a list of suggestions for each product.
17
- */
18
- get: operations["GetCrossSellingProductsToInputImage"];
19
- };
20
6
  "/product/{product-id}": {
21
7
  /** Creates a new product or updates an existing one */
22
8
  put: operations["SetProduct"];
@@ -28,22 +14,6 @@ export interface paths {
28
14
  };
29
15
  };
30
16
  };
31
- "/search/session": {
32
- /** Starts a reusable search session for a one image. */
33
- post: operations["CreateSearchSession"];
34
- };
35
- "/search/session/{search-id}": {
36
- /** Starts a search in existing session. */
37
- get: operations["SearchInExistingSession"];
38
- };
39
- "/search/session/{search-id}/detect-objects": {
40
- /** Get detected objects of image in existing session. */
41
- get: operations["DetectObjectsOfImageInExistingSession"];
42
- };
43
- "/search/session/{search-id}/upload-image": {
44
- /** Upload high resolution image to existing session. */
45
- put: operations["UploadHighResolutionImageToExistingSession"];
46
- };
47
17
  "/similar-products": {
48
18
  /**
49
19
  * This endpoint allows to discover products similar to the source product, usually chosen by a user.
@@ -65,6 +35,22 @@ export interface paths {
65
35
  */
66
36
  post: operations["TextSearchProducts"];
67
37
  };
38
+ "/search/session": {
39
+ /** Starts a reusable search session for a one image. */
40
+ post: operations["CreateSearchSession"];
41
+ };
42
+ "/search/session/{search-id}": {
43
+ /** Starts a search in existing session. */
44
+ get: operations["SearchInExistingSession"];
45
+ };
46
+ "/search/session/{search-id}/detect-objects": {
47
+ /** Get detected objects of image in existing session. */
48
+ get: operations["DetectObjectsOfImageInExistingSession"];
49
+ };
50
+ "/search/session/{search-id}/upload-image": {
51
+ /** Upload high resolution image to existing session. */
52
+ put: operations["UploadHighResolutionImageToExistingSession"];
53
+ };
68
54
  "/product-listing-page": {
69
55
  /**
70
56
  * This endpoint returns a list of filtered products.
@@ -79,6 +65,20 @@ export interface paths {
79
65
  */
80
66
  post: operations["predictProductAttributes"];
81
67
  };
68
+ "/product/{product-id}/similar-products": {
69
+ /**
70
+ * This endpoint allows to discover products similar to the source product, usually chosen by a user.
71
+ * The response contains a list of similarities for each product.
72
+ */
73
+ get: operations["GetSimilarProductsToInputImage"];
74
+ };
75
+ "/product/{product-id}/cross-selling-products": {
76
+ /**
77
+ * This endpoint suggests related products based on a source product, usually chosen by a user.
78
+ * The response contains a list of suggestions for each product.
79
+ */
80
+ get: operations["GetCrossSellingProductsToInputImage"];
81
+ };
82
82
  }
83
83
  export interface components {
84
84
  schemas: {
@@ -107,6 +107,23 @@ export interface components {
107
107
  * @example cm9vdA,TcO2YmVsPlRpc2NoZQ
108
108
  */
109
109
  category: components["schemas"]["category-path"][];
110
+ "energy-class-range": {
111
+ min?: components["schemas"]["energy-efficiency-class"];
112
+ max?: components["schemas"]["energy-efficiency-class"];
113
+ };
114
+ "energy-certification": {
115
+ certificationClass?: components["schemas"]["energy-efficiency-class"];
116
+ /** @example EU/2017/1369 */
117
+ certificationStandard?: string;
118
+ /** Format: uri */
119
+ classIconURL: string;
120
+ classRange: components["schemas"]["energy-class-range"];
121
+ /** Format: uri */
122
+ classLabelURL: string;
123
+ /** Format: uri */
124
+ classDataSheetURL?: string;
125
+ productType?: string;
126
+ };
110
127
  /** @example A+ */
111
128
  "energy-efficiency-class": ("A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G") | null;
112
129
  "ion-detected-object-rectangle": {
@@ -270,9 +287,13 @@ export interface components {
270
287
  /** @example 24.95 */
271
288
  sale?: components["schemas"]["price"] | null;
272
289
  };
290
+ /** @deprecated */
273
291
  energyEfficiencyClass?: components["schemas"]["energy-efficiency-class"];
292
+ /** @deprecated */
274
293
  minEnergyEfficiencyClass?: components["schemas"]["energy-efficiency-class"];
294
+ /** @deprecated */
275
295
  maxEnergyEfficiencyClass?: components["schemas"]["energy-efficiency-class"];
296
+ energyCertifications?: components["schemas"]["energy-certification"][];
276
297
  };
277
298
  /** @example 39.95 */
278
299
  price: number | null;
@@ -729,55 +750,6 @@ export interface components {
729
750
  };
730
751
  }
731
752
  export interface operations {
732
- /**
733
- * This endpoint allows to discover products similar to the source product, usually chosen by a user.
734
- * The response contains a list of similarities for each product.
735
- */
736
- GetSimilarProductsToInputImage: {
737
- parameters: {
738
- path: {
739
- "product-id": components["parameters"]["product-id"];
740
- };
741
- query: {
742
- "similar-products-count"?: components["schemas"]["resultsCount"];
743
- campaigns?: components["parameters"]["campaigns"];
744
- "image-code"?: components["parameters"]["image-code"];
745
- color?: components["parameters"]["color"];
746
- "excluded[]"?: components["parameters"]["excluded"];
747
- "category[]"?: components["parameters"]["category"];
748
- };
749
- };
750
- responses: {
751
- 200: components["responses"]["visual-product-recommendation"];
752
- 400: components["responses"]["generic-error"];
753
- 401: components["responses"]["authentication-error"];
754
- 403: components["responses"]["authorization-error"];
755
- };
756
- };
757
- /**
758
- * This endpoint suggests related products based on a source product, usually chosen by a user.
759
- * The response contains a list of suggestions for each product.
760
- */
761
- GetCrossSellingProductsToInputImage: {
762
- parameters: {
763
- path: {
764
- "product-id": components["parameters"]["product-id"];
765
- };
766
- query: {
767
- "cross-selling-products-count"?: components["schemas"]["resultsCount"];
768
- campaigns?: components["parameters"]["campaigns"];
769
- "image-code"?: components["parameters"]["image-code"];
770
- color?: components["parameters"]["color"];
771
- "excluded[]"?: components["parameters"]["excluded"];
772
- };
773
- };
774
- responses: {
775
- 200: components["responses"]["visual-product-recommendation"];
776
- 400: components["responses"]["generic-error"];
777
- 401: components["responses"]["authentication-error"];
778
- 403: components["responses"]["authorization-error"];
779
- };
780
- };
781
753
  /** Creates a new product or updates an existing one */
782
754
  SetProduct: {
783
755
  parameters: {
@@ -847,6 +819,48 @@ export interface operations {
847
819
  };
848
820
  };
849
821
  };
822
+ /**
823
+ * This endpoint allows to discover products similar to the source product, usually chosen by a user.
824
+ * The response contains a list of similarities for each product.
825
+ */
826
+ GetSimilarProducts: {
827
+ responses: {
828
+ 200: components["responses"]["similar-products"];
829
+ 400: components["responses"]["generic-error"];
830
+ 401: components["responses"]["authentication-error"];
831
+ 403: components["responses"]["authorization-error"];
832
+ 404: components["responses"]["generic-error"];
833
+ 422: components["responses"]["generic-error"];
834
+ };
835
+ requestBody: components["requestBodies"]["similar-products"];
836
+ };
837
+ /**
838
+ * This endpoint suggests related products based on a source product, usually chosen by a user.
839
+ * The response contains a list of suggestions for each product.
840
+ */
841
+ GetCrossSellingProducts: {
842
+ responses: {
843
+ 200: components["responses"]["cross-selling"];
844
+ 400: components["responses"]["generic-error"];
845
+ 401: components["responses"]["authentication-error"];
846
+ 403: components["responses"]["authorization-error"];
847
+ 404: components["responses"]["generic-error"];
848
+ 422: components["responses"]["generic-error"];
849
+ };
850
+ requestBody: components["requestBodies"]["cross-selling"];
851
+ };
852
+ /**
853
+ * This endpoint allows you to search with text query in textual attributes and visual features.
854
+ * The response contains the search result for each product.
855
+ */
856
+ TextSearchProducts: {
857
+ responses: {
858
+ 200: components["responses"]["text-search"];
859
+ 401: components["responses"]["authentication-error"];
860
+ 403: components["responses"]["authorization-error"];
861
+ };
862
+ requestBody: components["requestBodies"]["text-search"];
863
+ };
850
864
  /** Starts a reusable search session for a one image. */
851
865
  CreateSearchSession: {
852
866
  parameters: {
@@ -949,48 +963,6 @@ export interface operations {
949
963
  403: components["responses"]["authorization-error"];
950
964
  };
951
965
  };
952
- /**
953
- * This endpoint allows to discover products similar to the source product, usually chosen by a user.
954
- * The response contains a list of similarities for each product.
955
- */
956
- GetSimilarProducts: {
957
- responses: {
958
- 200: components["responses"]["similar-products"];
959
- 400: components["responses"]["generic-error"];
960
- 401: components["responses"]["authentication-error"];
961
- 403: components["responses"]["authorization-error"];
962
- 404: components["responses"]["generic-error"];
963
- 422: components["responses"]["generic-error"];
964
- };
965
- requestBody: components["requestBodies"]["similar-products"];
966
- };
967
- /**
968
- * This endpoint suggests related products based on a source product, usually chosen by a user.
969
- * The response contains a list of suggestions for each product.
970
- */
971
- GetCrossSellingProducts: {
972
- responses: {
973
- 200: components["responses"]["cross-selling"];
974
- 400: components["responses"]["generic-error"];
975
- 401: components["responses"]["authentication-error"];
976
- 403: components["responses"]["authorization-error"];
977
- 404: components["responses"]["generic-error"];
978
- 422: components["responses"]["generic-error"];
979
- };
980
- requestBody: components["requestBodies"]["cross-selling"];
981
- };
982
- /**
983
- * This endpoint allows you to search with text query in textual attributes and visual features.
984
- * The response contains the search result for each product.
985
- */
986
- TextSearchProducts: {
987
- responses: {
988
- 200: components["responses"]["text-search"];
989
- 401: components["responses"]["authentication-error"];
990
- 403: components["responses"]["authorization-error"];
991
- };
992
- requestBody: components["requestBodies"]["text-search"];
993
- };
994
966
  /**
995
967
  * This endpoint returns a list of filtered products.
996
968
  * The response contains the products.
@@ -1033,6 +1005,55 @@ export interface operations {
1033
1005
  };
1034
1006
  };
1035
1007
  };
1008
+ /**
1009
+ * This endpoint allows to discover products similar to the source product, usually chosen by a user.
1010
+ * The response contains a list of similarities for each product.
1011
+ */
1012
+ GetSimilarProductsToInputImage: {
1013
+ parameters: {
1014
+ path: {
1015
+ "product-id": components["parameters"]["product-id"];
1016
+ };
1017
+ query: {
1018
+ "similar-products-count"?: components["schemas"]["resultsCount"];
1019
+ campaigns?: components["parameters"]["campaigns"];
1020
+ "image-code"?: components["parameters"]["image-code"];
1021
+ color?: components["parameters"]["color"];
1022
+ "excluded[]"?: components["parameters"]["excluded"];
1023
+ "category[]"?: components["parameters"]["category"];
1024
+ };
1025
+ };
1026
+ responses: {
1027
+ 200: components["responses"]["visual-product-recommendation"];
1028
+ 400: components["responses"]["generic-error"];
1029
+ 401: components["responses"]["authentication-error"];
1030
+ 403: components["responses"]["authorization-error"];
1031
+ };
1032
+ };
1033
+ /**
1034
+ * This endpoint suggests related products based on a source product, usually chosen by a user.
1035
+ * The response contains a list of suggestions for each product.
1036
+ */
1037
+ GetCrossSellingProductsToInputImage: {
1038
+ parameters: {
1039
+ path: {
1040
+ "product-id": components["parameters"]["product-id"];
1041
+ };
1042
+ query: {
1043
+ "cross-selling-products-count"?: components["schemas"]["resultsCount"];
1044
+ campaigns?: components["parameters"]["campaigns"];
1045
+ "image-code"?: components["parameters"]["image-code"];
1046
+ color?: components["parameters"]["color"];
1047
+ "excluded[]"?: components["parameters"]["excluded"];
1048
+ };
1049
+ };
1050
+ responses: {
1051
+ 200: components["responses"]["visual-product-recommendation"];
1052
+ 400: components["responses"]["generic-error"];
1053
+ 401: components["responses"]["authentication-error"];
1054
+ 403: components["responses"]["authorization-error"];
1055
+ };
1056
+ };
1036
1057
  }
1037
1058
  export interface external {
1038
1059
  }
@@ -62,6 +62,18 @@ export declare const makeTextSearchRequest: (query: string, token: string, dynam
62
62
  energyEfficiencyClass?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
63
63
  minEnergyEfficiencyClass?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
64
64
  maxEnergyEfficiencyClass?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
65
+ energyCertifications?: {
66
+ certificationClass?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
67
+ certificationStandard?: string;
68
+ classIconURL: string;
69
+ classRange: {
70
+ min?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
71
+ max?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
72
+ };
73
+ classLabelURL: string;
74
+ classDataSheetURL?: string;
75
+ productType?: string;
76
+ }[];
65
77
  }[];
66
78
  interactions?: {
67
79
  dynamicFilters: ({
@@ -164,6 +176,18 @@ export declare const makeSearchQueryRequest: (token: string, query: string, resu
164
176
  energyEfficiencyClass?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
165
177
  minEnergyEfficiencyClass?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
166
178
  maxEnergyEfficiencyClass?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
179
+ energyCertifications?: {
180
+ certificationClass?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
181
+ certificationStandard?: string;
182
+ classIconURL: string;
183
+ classRange: {
184
+ min?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
185
+ max?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
186
+ };
187
+ classLabelURL: string;
188
+ classDataSheetURL?: string;
189
+ productType?: string;
190
+ }[];
167
191
  }[];
168
192
  interactions?: {
169
193
  dynamicFilters: ({
@@ -258,6 +282,18 @@ export declare const makeProductListingPageRequest: (token: string, column: stri
258
282
  energyEfficiencyClass?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
259
283
  minEnergyEfficiencyClass?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
260
284
  maxEnergyEfficiencyClass?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
285
+ energyCertifications?: {
286
+ certificationClass?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
287
+ certificationStandard?: string;
288
+ classIconURL: string;
289
+ classRange: {
290
+ min?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
291
+ max?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G";
292
+ };
293
+ classLabelURL: string;
294
+ classDataSheetURL?: string;
295
+ productType?: string;
296
+ }[];
261
297
  }[];
262
298
  };
263
299
  }>>;
@@ -0,0 +1 @@
1
+ const o="2.78.0";export{o as v}
@@ -1 +1 @@
1
- import{r as t,c as i,h as s,H as h,g as e}from"./p-1c863deb.js";import{v as n}from"./p-626495b2.js";import{C as o}from"./p-171fa6da.js";import{c as a,S as d}from"./p-55c453ab.js";import{D as l}from"./p-cc013cd2.js";const r=class{constructor(s){t(this,s),this.vviinnWidgetLoad=i(this,"vviinnWidgetLoad",7),this.vviinnWidgetOpen=i(this,"vviinnWidgetOpen",7),this.vviinnWidgetClose=i(this,"vviinnWidgetClose",7),this.vviinnImageUpload=i(this,"vviinnImageUpload",7),this.vviinnProductLoad=i(this,"vviinnProductLoad",7),this.vviinnProductClick=i(this,"vviinnProductClick",7),this.vviinnProductView=i(this,"vviinnProductView",7),this.vviinnResultLoad=i(this,"vviinnResultLoad",7),this.vviinnResultView=i(this,"vviinnResultView",7),this.vviinnNoResult=i(this,"vviinnNoResult",7),this.vviinnImageCrop=i(this,"vviinnImageCrop",7),this.vviinnSelectObject=i(this,"vviinnSelectObject",7),this.vviinnSelectFilter=i(this,"vviinnSelectFilter",7),this.globalSlotsChanged=i(this,"globalSlotsChanged",7),this.getBasicEventData=()=>({widgetType:"VPS",campaignTypeId:"VPS",campaignTypeName:a.VPS,widgetId:this.el.id,widgetVersion:n}),this.token=void 0,this.currencySign="€",this.locale="de-DE",this.campaignId="",this.addStyle=!1,this.mode="modal",this.excluded="",this.productDetailsNewTab=!0,this.productDetailsRedirect=!0,this.imageResolutionWidth=250,this.exampleImageSource=l,this.textSearchShow=!1,this.apiPath=void 0,this.buttonPressed=!1}handleModalClosed(){this.buttonPressed=!1}componentDidLoad(){const t=this.el.querySelectorAll("[slot]");this.globalSlotsChanged.emit({slots:Array.from(t),element:this.el})}handleClick(){this.buttonPressed=!0}resetButton(){this.buttonPressed=!1}render(){return s(h,{tabindex:"0",role:"button"},s("vviinn-button",{onClick:()=>{this.handleClick()},addStyle:this.addStyle,part:"vviinn-button"},s("slot",null,s(o,null))),d("vps"),s("vviinn-vps-widget",{mode:this.mode,"currency-sign":this.currencySign,token:this.token,locale:this.locale,apiPath:this.apiPath,campaignId:this.campaignId,showingInButton:!0,buttonPressed:this.buttonPressed,resetVpsButton:this.resetButton.bind(this),buttonElementId:this.el.id,active:this.buttonPressed&&("modal"===this.mode||"camera"===this.mode),excluded:this.excluded,productDetailsNewTab:this.productDetailsNewTab,productDetailsRedirect:this.productDetailsRedirect,imageResolutionWidth:this.imageResolutionWidth,exampleImageSource:this.exampleImageSource,textSearchShow:this.textSearchShow}))}get el(){return e(this)}};r.style=":host{display:block}";export{r as vviinn_vps_button}
1
+ import{r as t,c as i,h as s,H as h,g as e}from"./p-1c863deb.js";import{v as n}from"./p-14433dbf.js";import{C as o}from"./p-171fa6da.js";import{c as a,S as d}from"./p-55c453ab.js";import{D as l}from"./p-cc013cd2.js";const r=class{constructor(s){t(this,s),this.vviinnWidgetLoad=i(this,"vviinnWidgetLoad",7),this.vviinnWidgetOpen=i(this,"vviinnWidgetOpen",7),this.vviinnWidgetClose=i(this,"vviinnWidgetClose",7),this.vviinnImageUpload=i(this,"vviinnImageUpload",7),this.vviinnProductLoad=i(this,"vviinnProductLoad",7),this.vviinnProductClick=i(this,"vviinnProductClick",7),this.vviinnProductView=i(this,"vviinnProductView",7),this.vviinnResultLoad=i(this,"vviinnResultLoad",7),this.vviinnResultView=i(this,"vviinnResultView",7),this.vviinnNoResult=i(this,"vviinnNoResult",7),this.vviinnImageCrop=i(this,"vviinnImageCrop",7),this.vviinnSelectObject=i(this,"vviinnSelectObject",7),this.vviinnSelectFilter=i(this,"vviinnSelectFilter",7),this.globalSlotsChanged=i(this,"globalSlotsChanged",7),this.getBasicEventData=()=>({widgetType:"VPS",campaignTypeId:"VPS",campaignTypeName:a.VPS,widgetId:this.el.id,widgetVersion:n}),this.token=void 0,this.currencySign="€",this.locale="de-DE",this.campaignId="",this.addStyle=!1,this.mode="modal",this.excluded="",this.productDetailsNewTab=!0,this.productDetailsRedirect=!0,this.imageResolutionWidth=250,this.exampleImageSource=l,this.textSearchShow=!1,this.apiPath=void 0,this.buttonPressed=!1}handleModalClosed(){this.buttonPressed=!1}componentDidLoad(){const t=this.el.querySelectorAll("[slot]");this.globalSlotsChanged.emit({slots:Array.from(t),element:this.el})}handleClick(){this.buttonPressed=!0}resetButton(){this.buttonPressed=!1}render(){return s(h,{tabindex:"0",role:"button"},s("vviinn-button",{onClick:()=>{this.handleClick()},addStyle:this.addStyle,part:"vviinn-button"},s("slot",null,s(o,null))),d("vps"),s("vviinn-vps-widget",{mode:this.mode,"currency-sign":this.currencySign,token:this.token,locale:this.locale,apiPath:this.apiPath,campaignId:this.campaignId,showingInButton:!0,buttonPressed:this.buttonPressed,resetVpsButton:this.resetButton.bind(this),buttonElementId:this.el.id,active:this.buttonPressed&&("modal"===this.mode||"camera"===this.mode),excluded:this.excluded,productDetailsNewTab:this.productDetailsNewTab,productDetailsRedirect:this.productDetailsRedirect,imageResolutionWidth:this.imageResolutionWidth,exampleImageSource:this.exampleImageSource,textSearchShow:this.textSearchShow}))}get el(){return e(this)}};r.style=":host{display:block}";export{r as vviinn_vps_button}
@@ -1 +1 @@
1
- import{r as i,c as t,h as s,H as h,g as n}from"./p-1c863deb.js";import{v as o}from"./p-626495b2.js";import{V as e}from"./p-256fddfd.js";const v=class{constructor(s){i(this,s),this.vviinnWidgetLoad=t(this,"vviinnWidgetLoad",7),this.vviinnWidgetOpen=t(this,"vviinnWidgetOpen",7),this.vviinnWidgetClose=t(this,"vviinnWidgetClose",7),this.vviinnProductLoad=t(this,"vviinnProductLoad",7),this.vviinnProductClick=t(this,"vviinnProductClick",7),this.vviinnProductView=t(this,"vviinnProductView",7),this.vviinnResultLoad=t(this,"vviinnResultLoad",7),this.vviinnResultView=t(this,"vviinnResultView",7),this.vviinnNoResult=t(this,"vviinnNoResult",7),this.vviinnAddToBasket=t(this,"vviinnAddToBasket",7),this.sidebar=null,this.sidebarCloseListener=()=>{document.body.removeChild(this.sidebar)},this.token=void 0,this.productId=void 0,this.mode="continuity",this.campaigns="",this.excluded="",this.campaignType="VPR",this.locale="de-DE",this.color="",this.imageWidth=300,this.imageRatio=1,this.cssUrl=null,this.currencySign="€",this.pricePrefix="",this.noResultText="",this.noResultShow=!0,this.gridArrowsDynamic=!1,this.productDetailsNewTab=!1,this.productDetailsRedirect=!0,this.addToBasketShow=!1,this.showFilters=!1,this.setModeDiscounts="set"===this.mode?"5, 10, 15":"",this.updateButtonLocation="topAndItem",this.sidebarTitle="set"===this.mode?"":"Visually similar products",this.modalScrollbar=!1,this.position="bottom",this.sourceImage=null,this.addStyle=!0,this.apiPath="https://api.vviinn.com"}render(){return s(h,{onClick:()=>{this.handleClick()},role:"button",tabindex:"0"},s("vviinn-button",{addStyle:this.addStyle,part:"vviinn-button"},s("slot",null,s(e,null))))}handleClick(){const i=document.createElement("vviinn-recommendations-sidebar");i.sidebarTitle=this.sidebarTitle,i.productId=this.productId,i.token=this.token,i.position=this.position,i.sourceImage=this.sourceImage,i.widgetScrollbar=this.modalScrollbar,i.campaigns=this.campaigns,i.campaignType=this.campaignType,i.color=this.color,i.locale=this.locale,i.mode="right"===this.position?"grid":this.mode,i.imageWidth=this.imageWidth,i.currencySign=this.currencySign,i.pricePrefix=this.pricePrefix,i.apiPath=this.apiPath,i.buttonElementId=this.el.id,i.noResultText=this.noResultText,i.noResultShow=this.noResultShow,i.gridArrowsDynamic=this.gridArrowsDynamic,i.productDetailsNewTab=this.productDetailsNewTab,i.productDetailsRedirect=this.productDetailsRedirect,i.widgetVersion=o,i.showingInButton=!0,i.excluded=this.excluded,i.addToBasketShow=this.addToBasketShow,i.buttonChildren=this.el.children,i.showFilters=this.showFilters,i.cssUrl=this.cssUrl,i.imageRatio=this.imageRatio,i.setModeDiscounts=this.setModeDiscounts,i.updateButtonLocation=this.updateButtonLocation,this.sidebar=i,i.addEventListener("vviinnWidgetClose",this.sidebarCloseListener),document.body.append(this.sidebar)}disconnectedCallback(){this.sidebar&&this.sidebar.removeEventListener("vviinnWidgetClose",this.sidebarCloseListener)}get el(){return n(this)}};v.style=":host{display:block}";export{v as vviinn_vpr_button}
1
+ import{r as i,c as t,h as s,H as h,g as n}from"./p-1c863deb.js";import{v as o}from"./p-14433dbf.js";import{V as e}from"./p-256fddfd.js";const v=class{constructor(s){i(this,s),this.vviinnWidgetLoad=t(this,"vviinnWidgetLoad",7),this.vviinnWidgetOpen=t(this,"vviinnWidgetOpen",7),this.vviinnWidgetClose=t(this,"vviinnWidgetClose",7),this.vviinnProductLoad=t(this,"vviinnProductLoad",7),this.vviinnProductClick=t(this,"vviinnProductClick",7),this.vviinnProductView=t(this,"vviinnProductView",7),this.vviinnResultLoad=t(this,"vviinnResultLoad",7),this.vviinnResultView=t(this,"vviinnResultView",7),this.vviinnNoResult=t(this,"vviinnNoResult",7),this.vviinnAddToBasket=t(this,"vviinnAddToBasket",7),this.sidebar=null,this.sidebarCloseListener=()=>{document.body.removeChild(this.sidebar)},this.token=void 0,this.productId=void 0,this.mode="continuity",this.campaigns="",this.excluded="",this.campaignType="VPR",this.locale="de-DE",this.color="",this.imageWidth=300,this.imageRatio=1,this.cssUrl=null,this.currencySign="€",this.pricePrefix="",this.noResultText="",this.noResultShow=!0,this.gridArrowsDynamic=!1,this.productDetailsNewTab=!1,this.productDetailsRedirect=!0,this.addToBasketShow=!1,this.showFilters=!1,this.setModeDiscounts="set"===this.mode?"5, 10, 15":"",this.updateButtonLocation="topAndItem",this.sidebarTitle="set"===this.mode?"":"Visually similar products",this.modalScrollbar=!1,this.position="bottom",this.sourceImage=null,this.addStyle=!0,this.apiPath="https://api.vviinn.com"}render(){return s(h,{onClick:()=>{this.handleClick()},role:"button",tabindex:"0"},s("vviinn-button",{addStyle:this.addStyle,part:"vviinn-button"},s("slot",null,s(e,null))))}handleClick(){const i=document.createElement("vviinn-recommendations-sidebar");i.sidebarTitle=this.sidebarTitle,i.productId=this.productId,i.token=this.token,i.position=this.position,i.sourceImage=this.sourceImage,i.widgetScrollbar=this.modalScrollbar,i.campaigns=this.campaigns,i.campaignType=this.campaignType,i.color=this.color,i.locale=this.locale,i.mode="right"===this.position?"grid":this.mode,i.imageWidth=this.imageWidth,i.currencySign=this.currencySign,i.pricePrefix=this.pricePrefix,i.apiPath=this.apiPath,i.buttonElementId=this.el.id,i.noResultText=this.noResultText,i.noResultShow=this.noResultShow,i.gridArrowsDynamic=this.gridArrowsDynamic,i.productDetailsNewTab=this.productDetailsNewTab,i.productDetailsRedirect=this.productDetailsRedirect,i.widgetVersion=o,i.showingInButton=!0,i.excluded=this.excluded,i.addToBasketShow=this.addToBasketShow,i.buttonChildren=this.el.children,i.showFilters=this.showFilters,i.cssUrl=this.cssUrl,i.imageRatio=this.imageRatio,i.setModeDiscounts=this.setModeDiscounts,i.updateButtonLocation=this.updateButtonLocation,this.sidebar=i,i.addEventListener("vviinnWidgetClose",this.sidebarCloseListener),document.body.append(this.sidebar)}disconnectedCallback(){this.sidebar&&this.sidebar.removeEventListener("vviinnWidgetClose",this.sidebarCloseListener)}get el(){return n(this)}};v.style=":host{display:block}";export{v as vviinn_vpr_button}