vviinn-widgets 2.224.8 → 2.225.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 (59) hide show
  1. package/LICENSE +202 -21
  2. package/NOTICE +8 -0
  3. package/README.md +169 -0
  4. package/dist/cjs/{index-BwWhbPzs.js → index-w8bkFwCb.js} +1 -1
  5. package/dist/cjs/{search.store-DW1LaBD8.js → search.store-B0ncCiFh.js} +1 -1
  6. package/dist/cjs/vviinn-button_6.cjs.entry.js +1 -1
  7. package/dist/cjs/vviinn-camera_12.cjs.entry.js +2 -2
  8. package/dist/cjs/vviinn-carousel_10.cjs.entry.js +2 -2
  9. package/dist/cjs/vviinn-shop-the-look.cjs.entry.js +1 -1
  10. package/dist/cjs/vviinn-text-search.cjs.entry.js +1 -1
  11. package/dist/esm/{index-BNJ2Erm5.js → index-DZRMsgvN.js} +1 -1
  12. package/dist/esm/{search.store-nyxN4oNv.js → search.store-CXjdcq7F.js} +1 -1
  13. package/dist/esm/vviinn-button_6.entry.js +1 -1
  14. package/dist/esm/vviinn-camera_12.entry.js +2 -2
  15. package/dist/esm/vviinn-carousel_10.entry.js +2 -2
  16. package/dist/esm/vviinn-shop-the-look.entry.js +1 -1
  17. package/dist/esm/vviinn-text-search.entry.js +1 -1
  18. package/dist/storybook/helpers/industryToken.js +4 -3
  19. package/dist/vviinn-widgets/{p-b89d9d33.entry.js → p-0f451d83.entry.js} +1 -1
  20. package/dist/vviinn-widgets/{p-1d364b93.entry.js → p-3836db46.entry.js} +1 -1
  21. package/{www/build/p-6bf6efea.entry.js → dist/vviinn-widgets/p-9fb8566e.entry.js} +1 -1
  22. package/dist/vviinn-widgets/{p-B3PV-dHp.js → p-BZF42noW.js} +1 -1
  23. package/dist/vviinn-widgets/{p-DhvKaEqQ.js → p-DD8ioGGT.js} +1 -1
  24. package/{www/build/p-e6e54a2b.entry.js → dist/vviinn-widgets/p-b2c40a00.entry.js} +1 -1
  25. package/dist/vviinn-widgets/{p-e29cf58e.entry.js → p-e802caf9.entry.js} +1 -1
  26. package/dist/vviinn-widgets/vviinn-widgets.esm.js +1 -1
  27. package/package.json +7 -8
  28. package/www/build/{p-b89d9d33.entry.js → p-0f451d83.entry.js} +1 -1
  29. package/www/build/{p-1d364b93.entry.js → p-3836db46.entry.js} +1 -1
  30. package/www/build/{p-3ff6059d.js → p-5be0f7cb.js} +1 -1
  31. package/{dist/vviinn-widgets/p-6bf6efea.entry.js → www/build/p-9fb8566e.entry.js} +1 -1
  32. package/www/build/{p-B3PV-dHp.js → p-BZF42noW.js} +1 -1
  33. package/www/build/{p-DhvKaEqQ.js → p-DD8ioGGT.js} +1 -1
  34. package/{dist/vviinn-widgets/p-e6e54a2b.entry.js → www/build/p-b2c40a00.entry.js} +1 -1
  35. package/www/build/{p-e29cf58e.entry.js → p-e802caf9.entry.js} +1 -1
  36. package/www/build/vviinn-widgets.esm.js +1 -1
  37. package/dist/collection/stories/image-selector.stories.js +0 -6
  38. package/dist/collection/stories/image-view.stories.js +0 -6
  39. package/dist/collection/stories/modal.stories.js +0 -12
  40. package/dist/collection/stories/onboarding.stories.js +0 -11
  41. package/dist/collection/stories/overlay.stories.js +0 -5
  42. package/dist/collection/stories/overlayedModal.stories.js +0 -8
  43. package/dist/collection/stories/privacy-badge.stories.js +0 -11
  44. package/dist/collection/stories/slider.stories.js +0 -17
  45. package/dist/collection/stories/teaser.stories.js +0 -5
  46. package/dist/collection/stories/vps-widget.stories.js +0 -49
  47. package/dist/collection/stories/vviinn-product.stories.js +0 -19
  48. package/dist/types/stories/image-selector.stories.d.ts +0 -6
  49. package/dist/types/stories/image-view.stories.d.ts +0 -6
  50. package/dist/types/stories/modal.stories.d.ts +0 -7
  51. package/dist/types/stories/onboarding.stories.d.ts +0 -5
  52. package/dist/types/stories/overlay.stories.d.ts +0 -5
  53. package/dist/types/stories/overlayedModal.stories.d.ts +0 -5
  54. package/dist/types/stories/privacy-badge.stories.d.ts +0 -5
  55. package/dist/types/stories/slider.stories.d.ts +0 -5
  56. package/dist/types/stories/teaser.stories.d.ts +0 -5
  57. package/dist/types/stories/vps-widget.stories.d.ts +0 -6
  58. package/dist/types/stories/vviinn-product.stories.d.ts +0 -6
  59. package/readme.md +0 -36
package/LICENSE CHANGED
@@ -1,21 +1,202 @@
1
- MIT License
2
-
3
- Copyright (c) 2018
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
package/NOTICE ADDED
@@ -0,0 +1,8 @@
1
+ vviinn Widgets
2
+ Copyright 2020 Mediaopt
3
+
4
+ This product is licensed under the Apache License, Version 2.0. See the LICENSE
5
+ file for the terms.
6
+
7
+ The license covers the software. It grants no right to use the "vviinn" name or
8
+ the vviinn logo; a fork has to carry a different name.
package/README.md ADDED
@@ -0,0 +1,169 @@
1
+ # vviinn Widgets
2
+
3
+ [![npm](https://img.shields.io/npm/v/vviinn-widgets)](https://www.npmjs.com/package/vviinn-widgets)
4
+ [![License: Apache 2.0](https://img.shields.io/badge/license-Apache%202.0-blue)](LICENSE)
5
+
6
+ > AI-powered search and product discovery widgets for e-commerce storefronts.
7
+
8
+ Drop a custom element onto a page and it renders a shoppable UI backed by the
9
+ [vviinn](https://vviinn.com) Visual Relevance Machine: search by photo, AI text search with
10
+ suggestions, "shop the look" hotspots, smart filters, and product recommendations. The
11
+ widgets are [Web Components](https://developer.mozilla.org/en-US/docs/Web/API/Web_components)
12
+ built with [Stencil](https://stenciljs.com/), so they work in plain HTML, in React, Angular,
13
+ Vue and Nuxt, and inside a mobile `WebView`.
14
+
15
+ ## Table of Contents
16
+
17
+ - [Prerequisites](#prerequisites)
18
+ - [Install](#install)
19
+ - [Usage](#usage)
20
+ - [Public components](#public-components)
21
+ - [Ways to integrate](#ways-to-integrate)
22
+ - [Documentation](#documentation)
23
+ - [Contributing](#contributing)
24
+ - [Security](#security)
25
+ - [Support](#support)
26
+ - [License](#license)
27
+ - [Name and logo](#name-and-logo)
28
+
29
+ ## Prerequisites
30
+
31
+ A vviinn **read-only site token** and an imported product feed:
32
+
33
+ 1. [Register](https://panel.vviinn.com/auth/register) or
34
+ [sign in](https://panel.vviinn.com/auth/signin) to the vviinn Panel and complete the
35
+ self-onboarding, which sets up your company, site, campaigns and product feed.
36
+ 2. Open **Sites**, select the active site, and copy the `Read Only` token.
37
+
38
+ The read-only token is meant to be shipped in your storefront's HTML.
39
+
40
+ ## Install
41
+
42
+ ### CDN
43
+
44
+ Add the loader to the `<head>` of your page. The `nomodule` script is only needed for
45
+ browsers without ES module support.
46
+
47
+ ```html
48
+ <script
49
+ type="module"
50
+ src="https://cdn.jsdelivr.net/npm/vviinn-widgets@latest/www/build/vviinn-widgets.esm.js"
51
+ ></script>
52
+ <script
53
+ nomodule
54
+ src="https://cdn.jsdelivr.net/npm/vviinn-widgets@latest/www/build/vviinn-widgets.js"
55
+ ></script>
56
+ ```
57
+
58
+ Pin an exact version instead of `@latest` for production. Releases follow
59
+ [semantic versioning](https://docs.npmjs.com/about-semantic-versioning); the `latest` tag is
60
+ the current stable version and `beta` may contain pre-released features.
61
+
62
+ ### npm
63
+
64
+ ```bash
65
+ npm install vviinn-widgets
66
+ ```
67
+
68
+ ```javascript
69
+ import { defineCustomElements } from "vviinn-widgets/dist/loader";
70
+
71
+ defineCustomElements();
72
+ ```
73
+
74
+ Angular needs `CUSTOM_ELEMENTS_SCHEMA`, and Vue needs the `isCustomElement` compiler option;
75
+ both are covered in the [installation guide](https://widgets.vviinn.com/?path=/docs/getting-started-installation--docs).
76
+
77
+ ## Usage
78
+
79
+ Render a search button — it brings the search modal with it:
80
+
81
+ ```html
82
+ <vviinn-vps-button token="YOUR_TOKEN"></vviinn-vps-button>
83
+ ```
84
+
85
+ or recommendations for a given product:
86
+
87
+ ```html
88
+ <vviinn-vpr-widget token="YOUR_TOKEN" product-id="YOUR_PRODUCT_ID"></vviinn-vpr-widget>
89
+ ```
90
+
91
+ Components can also be created through the DOM API, in which case props are set as
92
+ properties rather than attributes:
93
+
94
+ ```javascript
95
+ const widget = document.createElement("vviinn-vpr-widget");
96
+ widget.token = "YOUR_TOKEN";
97
+ widget.productId = "YOUR_PRODUCT_ID";
98
+
99
+ document.body.append(widget);
100
+ ```
101
+
102
+ ## Public components
103
+
104
+ The components below are the supported public API — the ones you place in your own markup.
105
+
106
+ | Component | Purpose |
107
+ | --- | --- |
108
+ | `vviinn-vps-widget` | Visual Product Search — modal image search |
109
+ | `vviinn-vps-button` | Trigger button for the search widget |
110
+ | `vviinn-vpr-widget` | Visual Product Recommendations for a product |
111
+ | `vviinn-vpr-button` | Trigger button for the recommendations widget |
112
+ | `vviinn-shop-the-look` | Interactive image hotspots with recommendations |
113
+ | `vviinn-text-search` | Text search input; `mode="extended"` adds image upload |
114
+ | `vviinn-suggestions` | AI suggestions for the current query |
115
+ | `vviinn-results` | Product result grid |
116
+ | `vviinn-product-card` | Single product tile |
117
+ | `vviinn-filters` | Filter row |
118
+ | `vviinn-extended-filters` | Filter modal |
119
+ | `vviinn-selected-filters` | Active filter chips |
120
+ | `vviinn-cropper` | Image cropping interface |
121
+
122
+ Other components registered in the bundle are internal building blocks used by the widgets —
123
+ for example modals, sliders, skeletons and the camera — and may change in any release without
124
+ notice.
125
+
126
+ ## Ways to integrate
127
+
128
+ - **Widget** — `vviinn-vps-button` opens `vviinn-vps-widget`, which brings the whole search
129
+ experience (results, filters, suggestions) with it. This is the fastest integration.
130
+ - **Standalone components** — compose `vviinn-text-search`, `vviinn-suggestions`,
131
+ `vviinn-results`, `vviinn-filters` and the rest yourself and wire them together through
132
+ their events. This gives you full control over layout, at the cost of doing the wiring the
133
+ widget would otherwise do for you. Every component in the table above works in this shape.
134
+
135
+ ## Documentation
136
+
137
+ - **Widget docs and live playground:** https://widgets.vviinn.com — props, events, CSS
138
+ variables, CSS parts and slots for every public component.
139
+ - **API documentation:** https://docs.vviinn.com
140
+ - **Release notes:** [CHANGELOG.md](https://github.com/vviinn/widgets/blob/develop/CHANGELOG.md)
141
+
142
+ ## Contributing
143
+
144
+ Bug reports, feature requests and pull requests are all welcome — start by
145
+ [opening an issue](https://github.com/vviinn/widgets/issues). See
146
+ [CONTRIBUTING.md](CONTRIBUTING.md) for the development setup and what we look for in a pull
147
+ request.
148
+
149
+ ## Security
150
+
151
+ Please do not report security issues in public issues. See [SECURITY.md](SECURITY.md).
152
+
153
+ ## Support
154
+
155
+ For questions about your account, product feed or integration, contact
156
+ [support@vviinn.com](mailto:support@vviinn.com).
157
+
158
+ ## License
159
+
160
+ [Apache License 2.0](LICENSE)
161
+
162
+ ## Name and logo
163
+
164
+ The license covers the software. It does not grant any right to use the "vviinn" name or
165
+ the vviinn logo.
166
+
167
+ You may state that your project uses these widgets. You may not use the name or the logo as
168
+ the name of your own project, as its logo, or in any way that suggests your project is
169
+ published or endorsed by us. A fork has to carry a different name.
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-BU8FMTXn.js');
4
- var search_store = require('./search.store-DW1LaBD8.js');
4
+ var search_store = require('./search.store-B0ncCiFh.js');
5
5
  var store = require('./store-jPZ4ROqV.js');
6
6
 
7
7
  const PlusIcon = () => (index.h("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", class: "plus-icon", "aria-hidden": "true" },
@@ -8630,7 +8630,7 @@ const startSearch = (store) => {
8630
8630
  return () => latestSearch.get(store) !== sequence;
8631
8631
  };
8632
8632
 
8633
- const version = "2.224.8";
8633
+ const version = "2.225.0";
8634
8634
 
8635
8635
  const appStateGlobalDefaults = {
8636
8636
  excluded: null,
@@ -2,7 +2,7 @@
2
2
 
3
3
  var index = require('./index-BU8FMTXn.js');
4
4
  var store = require('./store-jPZ4ROqV.js');
5
- var search_store = require('./search.store-DW1LaBD8.js');
5
+ var search_store = require('./search.store-B0ncCiFh.js');
6
6
  var index$1 = require('./index-CP1QUrJT.js');
7
7
  var SecondaryActionIcon = require('./SecondaryActionIcon-CuNEBTWD.js');
8
8
  var index$2 = require('./index-BF9aENF8.js');
@@ -2,9 +2,9 @@
2
2
 
3
3
  var index = require('./index-BU8FMTXn.js');
4
4
  var Rectangle = require('./Rectangle-7dF6_xf3.js');
5
- var search_store = require('./search.store-DW1LaBD8.js');
5
+ var search_store = require('./search.store-B0ncCiFh.js');
6
6
  var index$2 = require('./index-CP1QUrJT.js');
7
- var index$1 = require('./index-BwWhbPzs.js');
7
+ var index$1 = require('./index-w8bkFwCb.js');
8
8
  var store = require('./store-jPZ4ROqV.js');
9
9
  var cropperUtils = require('./cropperUtils-s4RL8x1I.js');
10
10
  var cssUrlHelper = require('./cssUrlHelper-B5A2BBm7.js');
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-BU8FMTXn.js');
4
- var search_store = require('./search.store-DW1LaBD8.js');
4
+ var search_store = require('./search.store-B0ncCiFh.js');
5
5
  var Rectangle = require('./Rectangle-7dF6_xf3.js');
6
6
  var store = require('./store-jPZ4ROqV.js');
7
- var index$1 = require('./index-BwWhbPzs.js');
7
+ var index$1 = require('./index-w8bkFwCb.js');
8
8
  var constants = require('./constants-BlwqMvns.js');
9
9
  var index$2 = require('./index-CP1QUrJT.js');
10
10
  var index$3 = require('./index-BF9aENF8.js');
@@ -4,7 +4,7 @@ var index = require('./index-BU8FMTXn.js');
4
4
  var Rectangle = require('./Rectangle-7dF6_xf3.js');
5
5
  var cropperUtils = require('./cropperUtils-s4RL8x1I.js');
6
6
  var swiperElement = require('./swiper-element-DjtzojCR.js');
7
- var search_store = require('./search.store-DW1LaBD8.js');
7
+ var search_store = require('./search.store-B0ncCiFh.js');
8
8
  var SecondaryActionIcon = require('./SecondaryActionIcon-CuNEBTWD.js');
9
9
  var index$1 = require('./index-BF9aENF8.js');
10
10
  var store = require('./store-jPZ4ROqV.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  var index = require('./index-BU8FMTXn.js');
4
4
  var Rectangle = require('./Rectangle-7dF6_xf3.js');
5
- var search_store = require('./search.store-DW1LaBD8.js');
5
+ var search_store = require('./search.store-B0ncCiFh.js');
6
6
  var index$2 = require('./index-CP1QUrJT.js');
7
7
  var store = require('./store-jPZ4ROqV.js');
8
8
  var index$1 = require('./index-BF9aENF8.js');
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-B89nCb_F.js';
2
- import { h as addIfNotEmpty, p as parseStringToExcluded, n as isValueMatch, o as isIntervalMatch, q as valueToString, r as extractFilterValue } from './search.store-nyxN4oNv.js';
2
+ import { h as addIfNotEmpty, p as parseStringToExcluded, n as isValueMatch, o as isIntervalMatch, q as valueToString, r as extractFilterValue } from './search.store-CXjdcq7F.js';
3
3
  import { i as instance } from './store-BJxQCbNV.js';
4
4
 
5
5
  const PlusIcon = () => (h("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", class: "plus-icon", "aria-hidden": "true" },
@@ -8628,7 +8628,7 @@ const startSearch = (store) => {
8628
8628
  return () => latestSearch.get(store) !== sequence;
8629
8629
  };
8630
8630
 
8631
- const version = "2.224.8";
8631
+ const version = "2.225.0";
8632
8632
 
8633
8633
  const appStateGlobalDefaults = {
8634
8634
  excluded: null,
@@ -1,6 +1,6 @@
1
1
  import { h, r as registerInstance, H as Host, c as createEvent, g as getElement, F as Fragment } from './index-B89nCb_F.js';
2
2
  import { i as instance } from './store-BJxQCbNV.js';
3
- import { k as getAcceptableFileFormatsForDisplay, f as campaignTypeNames, h as addIfNotEmpty, l as searchState, u as useSearchStore, v as version } from './search.store-nyxN4oNv.js';
3
+ import { k as getAcceptableFileFormatsForDisplay, f as campaignTypeNames, h as addIfNotEmpty, l as searchState, u as useSearchStore, v as version } from './search.store-CXjdcq7F.js';
4
4
  import { s as slotChangeListener, a as addEventListenersWithSignal } from './index-C1-PYhS4.js';
5
5
  import { S as SecondaryActionIcon } from './SecondaryActionIcon-D4f3aMUD.js';
6
6
  import { m as modalParts, c as carouselParts, p as productCardParts, r as recommendationsParts, i as initializeLocale } from './index-BCrstDkj.js';
@@ -1,8 +1,8 @@
1
1
  import { h, r as registerInstance, c as createEvent, H as Host, g as getElement, F as Fragment } from './index-B89nCb_F.js';
2
2
  import { _ as _functionExports, E as EitherExports, f as fold, b as fromImage, a as divideOnSized, e as isLeft, m as match, O as OptionExports } from './Rectangle-dmgo4KMB.js';
3
- import { t as toFile, c as makeUploadFileRequest, w as extractSelectedFilters, x as resetResultEvents, y as getImageSizes, v as version, f as campaignTypeNames, h as addIfNotEmpty, m as makeVisualSearchRequest, u as useSearchStore, z as checkImageType, g as getAcceptableFileFormats, d as setTextSearchQuery, A as resetStore, j as makeTextSearchRequest, B as makeProductListingPageRequest, C as checkDeviceType, p as parseStringToExcluded } from './search.store-nyxN4oNv.js';
3
+ import { t as toFile, c as makeUploadFileRequest, w as extractSelectedFilters, x as resetResultEvents, y as getImageSizes, v as version, f as campaignTypeNames, h as addIfNotEmpty, m as makeVisualSearchRequest, u as useSearchStore, z as checkImageType, g as getAcceptableFileFormats, d as setTextSearchQuery, A as resetStore, j as makeTextSearchRequest, B as makeProductListingPageRequest, C as checkDeviceType, p as parseStringToExcluded } from './search.store-CXjdcq7F.js';
4
4
  import { s as slotChangeListener, a as addEventListenersWithSignal, p as productCardSlotNames, v as vprIconSlotName, f as findSlotElements, g as getSlotNames, b as setElementInteractivity, S as SlotSkeleton } from './index-C1-PYhS4.js';
5
- import { g as getRemoveFilterAriaLabel, F as FilterIconClose, P as PlusIcon, v as v4, c as createImageSearchEvent, R as RESULTS_CALCULATED_COLUMNS_CSS_VAR, a as createWidgetEvent, b as createFilterEvent, d as createAddToBasketEvent, e as createAddToWishlistEvent, f as createResultEventByType, h as createProductEventByType, i as getCustomLabels, t as triggerFilter, j as triggerRemoveIntervalFilter, k as announceToScreenReader, s as syncRequestFilters, l as isSubFilterActive, m as RenderFilterButton, n as getSelectedInterval, o as getIntervalLabel } from './index-BNJ2Erm5.js';
5
+ import { g as getRemoveFilterAriaLabel, F as FilterIconClose, P as PlusIcon, v as v4, c as createImageSearchEvent, R as RESULTS_CALCULATED_COLUMNS_CSS_VAR, a as createWidgetEvent, b as createFilterEvent, d as createAddToBasketEvent, e as createAddToWishlistEvent, f as createResultEventByType, h as createProductEventByType, i as getCustomLabels, t as triggerFilter, j as triggerRemoveIntervalFilter, k as announceToScreenReader, s as syncRequestFilters, l as isSubFilterActive, m as RenderFilterButton, n as getSelectedInterval, o as getIntervalLabel } from './index-DZRMsgvN.js';
6
6
  import { i as instance, t as trackEvent, a as isTrackingEnabled, d as defaultConfig } from './store-BJxQCbNV.js';
7
7
  import { M as MIN_SEARCH_AREA_SIZE, a as CROP_THUMBNAIL_FILL_COLOR, b as CROP_THUMBNAIL_SIZE, d as CROP_THUMBNAIL_QUALITY, S as SUPPORTED_ASPECT_RATIO, e as MIN_IMAGE_SIDE_FOR_CROPPER, C as Cropper, c as cropperOptions, g as getCropBoxData, i as isCropBoxChangeMinimal, D as DEFAULT_IMAGE_SIZE } from './cropperUtils-D0UEAAHl.js';
8
8
  import { r as renderExternalCSS } from './cssUrlHelper-Byz4s-MD.js';
@@ -1,8 +1,8 @@
1
1
  import { h, r as registerInstance, c as createEvent, f as forceUpdate, F as Fragment, H as Host, g as getElement } from './index-B89nCb_F.js';
2
- import { f as campaignTypeNames, h as addIfNotEmpty, _ as _ArrayExports, u as useSearchStore, D as isMobile, E as fromString, F as fold, v as version } from './search.store-nyxN4oNv.js';
2
+ import { f as campaignTypeNames, h as addIfNotEmpty, _ as _ArrayExports, u as useSearchStore, D as isMobile, E as fromString, F as fold, v as version } from './search.store-CXjdcq7F.js';
3
3
  import { X as has, Y as tuple, _ as _functionExports, g as requireSemigroup, O as OptionExports, v as pipe$1, N as chainW, Z as makeRequest, L as fromEither, $ as resolveApiPath, a0 as createInitPostRequest, a1 as Apply, a2 as TaskEitherExports, E as EitherExports } from './Rectangle-dmgo4KMB.js';
4
4
  import { i as instance, d as defaultConfig, t as trackEvent, a as isTrackingEnabled } from './store-BJxQCbNV.js';
5
- import { S as SET_MODE_IMAGE_WIDTH_CSS_VAR, C as CONTENT_GROUP_CSS_CLASS, p as CAROUSEL_IMAGE_WIDTH_CSS_VAR, q as CAROUSEL_CONTENT_WIDTH_CSS_VAR, R as RESULTS_CALCULATED_COLUMNS_CSS_VAR, r as CAROUSEL_COLUMNS_CSS_VAR, D as DEFAULT_COLUMNS_NUMBER, i as getCustomLabels, u as SCROLL_POSITION_TOLERANCE, w as triggerResetFilters, t as triggerFilter, k as announceToScreenReader, o as getIntervalLabel, x as isPriceFilter, n as getSelectedInterval, l as isSubFilterActive, m as RenderFilterButton, s as syncRequestFilters, P as PlusIcon, y as CUSTOM_LABELS_DELIMITER, v as v4, a as createWidgetEvent, f as createResultEventByType, d as createAddToBasketEvent, e as createAddToWishlistEvent, h as createProductEventByType, z as getRecommendationsBody } from './index-BNJ2Erm5.js';
5
+ import { S as SET_MODE_IMAGE_WIDTH_CSS_VAR, C as CONTENT_GROUP_CSS_CLASS, p as CAROUSEL_IMAGE_WIDTH_CSS_VAR, q as CAROUSEL_CONTENT_WIDTH_CSS_VAR, R as RESULTS_CALCULATED_COLUMNS_CSS_VAR, r as CAROUSEL_COLUMNS_CSS_VAR, D as DEFAULT_COLUMNS_NUMBER, i as getCustomLabels, u as SCROLL_POSITION_TOLERANCE, w as triggerResetFilters, t as triggerFilter, k as announceToScreenReader, o as getIntervalLabel, x as isPriceFilter, n as getSelectedInterval, l as isSubFilterActive, m as RenderFilterButton, s as syncRequestFilters, P as PlusIcon, y as CUSTOM_LABELS_DELIMITER, v as v4, a as createWidgetEvent, f as createResultEventByType, d as createAddToBasketEvent, e as createAddToWishlistEvent, h as createProductEventByType, z as getRecommendationsBody } from './index-DZRMsgvN.js';
6
6
  import { P as PRODUCT_CARD_IMAGE_WIDTH, D as DISCOVERY_WIDGET_IMAGE_RESOLUTION_WIDTH, c as PRODUCT_CARD_IMAGE_RESOLUTION_WIDTH } from './constants-rqiiCPBX.js';
7
7
  import { s as slotChangeListener, a as addEventListenersWithSignal, i as isElementInSelector, S as SlotSkeleton } from './index-C1-PYhS4.js';
8
8
  import { o as energyLabelParts, i as initializeLocale, j as extendedFiltersParts, h as filtersParts, q as imageParts, e as contentCardParts, l as listCardParts, p as productCardParts, t as priceRangeParts } from './index-BCrstDkj.js';
@@ -2,7 +2,7 @@ import { h, r as registerInstance, c as createEvent, H as Host, g as getElement
2
2
  import { a as divideOnSized, E as EitherExports } from './Rectangle-dmgo4KMB.js';
3
3
  import { C as Cropper, c as cropperOptions, g as getCropBoxData, i as isCropBoxChangeMinimal } from './cropperUtils-D0UEAAHl.js';
4
4
  import { g as getSwiperStyles, c as configureSwiperElement, r as register, e as extractSlideIndex, s as setupIntersectionObserver } from './swiper-element-Er2KrWw1.js';
5
- import { i as isDesktop$1, s as shopTheLookState, m as makeVisualSearchRequest, a as makeVisualSearchByUrlRequest, b as imageFromFileTask, c as makeUploadFileRequest, g as getAcceptableFileFormats } from './search.store-nyxN4oNv.js';
5
+ import { i as isDesktop$1, s as shopTheLookState, m as makeVisualSearchRequest, a as makeVisualSearchByUrlRequest, b as imageFromFileTask, c as makeUploadFileRequest, g as getAcceptableFileFormats } from './search.store-CXjdcq7F.js';
6
6
  import { S as SecondaryActionIcon } from './SecondaryActionIcon-D4f3aMUD.js';
7
7
  import { i as initializeLocale, a as shopTheLookParts } from './index-BCrstDkj.js';
8
8
  import { d as defaultConfig } from './store-BJxQCbNV.js';
@@ -1,6 +1,6 @@
1
1
  import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-B89nCb_F.js';
2
2
  import { _ as _functionExports, f as fold } from './Rectangle-dmgo4KMB.js';
3
- import { d as setTextSearchQuery, e as makeAutoSuggestRequest, v as version, f as campaignTypeNames, h as addIfNotEmpty, j as makeTextSearchRequest, u as useSearchStore } from './search.store-nyxN4oNv.js';
3
+ import { d as setTextSearchQuery, e as makeAutoSuggestRequest, v as version, f as campaignTypeNames, h as addIfNotEmpty, j as makeTextSearchRequest, u as useSearchStore } from './search.store-CXjdcq7F.js';
4
4
  import { s as slotChangeListener, f as findSlotElements } from './index-C1-PYhS4.js';
5
5
  import { i as instance, d as defaultConfig } from './store-BJxQCbNV.js';
6
6
  import { i as initializeLocale, b as searchBarParts, s as searchModalFirstScreenParts } from './index-BCrstDkj.js';
@@ -28,11 +28,12 @@ const data = {
28
28
  ],
29
29
  },
30
30
  "manufacturer-spare-parts": {
31
+ // this site is not selectable, so the data is incomplete
31
32
  token: process.env.STORYBOOK_TOKEN_MANUFACTURER_SPARE_PARTS,
32
- productIdSimilarProducts: "0010030000vr",
33
- productIdCrossSelling: "0010120001vr",
33
+ productIdSimilarProducts: "",
34
+ productIdCrossSelling: "",
34
35
  textSearchQuery: "Schlitz",
35
- filterValue: "Essentra-DE-AT > Befestigungen > Stangen und Schrauben > Schrauben",
36
+ filterValue: "",
36
37
  shopTheLookImageUrls: [],
37
38
  },
38
39
  };