vviinn-widgets 2.213.0 → 2.214.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/{customized-slots-DO4p0HLW.js → customized-slots-PFvwCmln.js} +0 -1
- package/dist/cjs/{index-CnuLIG_J.js → index-Bn-9uRYi.js} +1 -1
- package/dist/cjs/{search.store-DTsTB4Jt.js → search.store-BnMr3itz.js} +5 -2
- package/dist/cjs/vviinn-button_6.cjs.entry.js +2 -2
- package/dist/cjs/vviinn-camera_12.cjs.entry.js +183 -113
- package/dist/cjs/vviinn-carousel_10.cjs.entry.js +3 -3
- package/dist/cjs/vviinn-shop-the-look.cjs.entry.js +2 -2
- package/dist/cjs/vviinn-text-search.cjs.entry.js +16 -9
- package/dist/cjs/vviinn-vps-button.cjs.entry.js +2 -2
- package/dist/collection/components/customized-slots.js +0 -1
- package/dist/collection/components/vviinn-shop-the-look/vviinn-shop-the-look.js +2 -1
- package/dist/collection/components/vviinn-suggestions/helpers.js +12 -15
- package/dist/collection/components/vviinn-suggestions/render-helpers.js +66 -32
- package/dist/collection/components/vviinn-suggestions/vviinn-suggestions.css +17 -9
- package/dist/collection/components/vviinn-suggestions/vviinn-suggestions.js +28 -58
- package/dist/collection/components/vviinn-text-search/helpers/autoSuggestDebounce.js +2 -2
- package/dist/collection/components/vviinn-text-search/vviinn-text-search.css +1 -0
- package/dist/collection/components/vviinn-text-search/vviinn-text-search.js +11 -4
- package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.js +2 -2
- package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.css +3 -8
- package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.js +3 -3
- package/dist/collection/cssParts/index.js +1 -0
- package/dist/collection/cssParts/suggestions.js +1 -1
- package/dist/collection/store/search.store.js +2 -0
- package/dist/esm/{customized-slots-lHQ882WI.js → customized-slots-gRb3OL7z.js} +0 -1
- package/dist/esm/{index-v8QhH1RI.js → index-BJN61YXF.js} +1 -1
- package/dist/esm/{search.store-BpPwjG8r.js → search.store-CL3UKAEv.js} +5 -2
- package/dist/esm/vviinn-button_6.entry.js +2 -2
- package/dist/esm/vviinn-camera_12.entry.js +183 -113
- package/dist/esm/vviinn-carousel_10.entry.js +3 -3
- package/dist/esm/vviinn-shop-the-look.entry.js +2 -2
- package/dist/esm/vviinn-text-search.entry.js +16 -9
- package/dist/esm/vviinn-vps-button.entry.js +2 -2
- package/dist/types/components/vviinn-shop-the-look/vviinn-shop-the-look.d.ts +1 -0
- package/dist/types/components/vviinn-suggestions/render-helpers.d.ts +14 -7
- package/dist/types/components/vviinn-suggestions/vviinn-suggestions.d.ts +1 -5
- package/dist/types/components/vviinn-text-search/helpers/autoSuggestDebounce.d.ts +1 -0
- package/dist/types/components/vviinn-text-search/vviinn-text-search.d.ts +1 -0
- package/dist/types/components/vviinn-vps-button/vviinn-vps-button.d.ts +1 -1
- package/dist/types/interfaces/generated.d.ts +13 -0
- package/dist/types/store/search.store.d.ts +2 -0
- package/dist/vviinn-widgets/{p-09cb9b27.entry.js → p-5a4e01e1.entry.js} +1 -1
- package/{www/build/p-88038586.entry.js → dist/vviinn-widgets/p-82c9f722.entry.js} +1 -1
- package/dist/vviinn-widgets/p-95f8db6a.entry.js +1 -0
- package/dist/vviinn-widgets/{p-B1vXgCV0.js → p-BcOLlemr.js} +1 -1
- package/dist/vviinn-widgets/p-Dx6H0ZtJ.js +1 -0
- package/dist/vviinn-widgets/{p-82fe3078.entry.js → p-ae8b85ba.entry.js} +1 -1
- package/{www/build/p-Ctg1pNLs.js → dist/vviinn-widgets/p-buSN9o-i.js} +1 -1
- package/dist/vviinn-widgets/{p-46133244.entry.js → p-c60f5d06.entry.js} +1 -1
- package/dist/vviinn-widgets/p-c78d10c0.entry.js +1 -0
- package/dist/vviinn-widgets/vviinn-widgets.esm.js +1 -1
- package/package.json +2 -1
- package/www/build/{p-09cb9b27.entry.js → p-5a4e01e1.entry.js} +1 -1
- package/{dist/vviinn-widgets/p-88038586.entry.js → www/build/p-82c9f722.entry.js} +1 -1
- package/www/build/p-95f8db6a.entry.js +1 -0
- package/www/build/{p-B1vXgCV0.js → p-BcOLlemr.js} +1 -1
- package/www/build/p-Dx6H0ZtJ.js +1 -0
- package/www/build/{p-82fe3078.entry.js → p-ae8b85ba.entry.js} +1 -1
- package/{dist/vviinn-widgets/p-Ctg1pNLs.js → www/build/p-buSN9o-i.js} +1 -1
- package/www/build/{p-46133244.entry.js → p-c60f5d06.entry.js} +1 -1
- package/www/build/p-c78d10c0.entry.js +1 -0
- package/www/build/{p-cd007a0f.js → p-f079aa97.js} +1 -1
- package/www/build/vviinn-widgets.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/vviinn-widgets/p-DtCxkixb.js +0 -1
- package/dist/vviinn-widgets/p-bc79a10b.entry.js +0 -1
- package/dist/vviinn-widgets/p-fd4c190f.entry.js +0 -1
- package/www/build/p-DtCxkixb.js +0 -1
- package/www/build/p-bc79a10b.entry.js +0 -1
- package/www/build/p-fd4c190f.entry.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-D38ORu31.js');
|
|
4
|
-
var search_store = require('./search.store-
|
|
4
|
+
var search_store = require('./search.store-BnMr3itz.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" },
|
|
@@ -7785,12 +7785,12 @@ const suggestionsPartsList = [
|
|
|
7785
7785
|
"suggestions-header",
|
|
7786
7786
|
"suggestions-icon",
|
|
7787
7787
|
"suggestions-title",
|
|
7788
|
-
"suggestions-description",
|
|
7789
7788
|
"suggestions-wrapper",
|
|
7790
7789
|
"suggestions-list",
|
|
7791
7790
|
"suggestion-item",
|
|
7792
7791
|
"suggestion-link",
|
|
7793
7792
|
"suggestion-filter-button",
|
|
7793
|
+
"suggestion-info-text",
|
|
7794
7794
|
];
|
|
7795
7795
|
|
|
7796
7796
|
const makeExportPartsString = (...args) => args.flat().join(", ");
|
|
@@ -7836,6 +7836,7 @@ const modalParts = makeExportPartsString([
|
|
|
7836
7836
|
]);
|
|
7837
7837
|
const suggestionsParts = makeExportPartsString(suggestionsPartsList);
|
|
7838
7838
|
const shopTheLookPartsList = [
|
|
7839
|
+
"shop-the-look-actions-container",
|
|
7839
7840
|
"shop-the-look-upload-button",
|
|
7840
7841
|
"shop-the-look-upload-button-icon",
|
|
7841
7842
|
"shop-the-look-upload-button-text",
|
|
@@ -8788,7 +8789,7 @@ const encodeToBase64UTF8 = (str) => {
|
|
|
8788
8789
|
return btoa(String.fromCharCode.apply(null, utf8Array));
|
|
8789
8790
|
};
|
|
8790
8791
|
|
|
8791
|
-
const version = "2.
|
|
8792
|
+
const version = "2.214.0";
|
|
8792
8793
|
|
|
8793
8794
|
const appStateGlobalDefaults = {
|
|
8794
8795
|
excluded: null,
|
|
@@ -8877,6 +8878,7 @@ const emitSearchSuccess = (storeName, state, campaignTypeId) => {
|
|
|
8877
8878
|
}));
|
|
8878
8879
|
};
|
|
8879
8880
|
const updateVisualSearchState = (store, isHiResUpdate = false) => async (response) => {
|
|
8881
|
+
var _a;
|
|
8880
8882
|
const state = useStore(store);
|
|
8881
8883
|
if (store === "shopTheLook") {
|
|
8882
8884
|
state.visualSearchId = response.requestId;
|
|
@@ -8888,6 +8890,7 @@ const updateVisualSearchState = (store, isHiResUpdate = false) => async (respons
|
|
|
8888
8890
|
state.visualSearchId = response.requestId;
|
|
8889
8891
|
state.results = response.data.products;
|
|
8890
8892
|
state.dynamicFilters = response.interactions.dynamicFilters;
|
|
8893
|
+
state.stream = (_a = response === null || response === void 0 ? void 0 : response.stream) !== null && _a !== void 0 ? _a : null;
|
|
8891
8894
|
state.searchStatus = "success";
|
|
8892
8895
|
if (!isHiResUpdate)
|
|
8893
8896
|
emitSearchSuccess(store, state, "VPS");
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-D38ORu31.js');
|
|
4
4
|
var store = require('./store-jPZ4ROqV.js');
|
|
5
|
-
var search_store = require('./search.store-
|
|
6
|
-
var customizedSlots = require('./customized-slots-
|
|
5
|
+
var search_store = require('./search.store-BnMr3itz.js');
|
|
6
|
+
var customizedSlots = require('./customized-slots-PFvwCmln.js');
|
|
7
7
|
var SecondaryActionIcon = require('./SecondaryActionIcon-Ng84u7-b.js');
|
|
8
8
|
var index$1 = require('./index-DLEDOlRe.js');
|
|
9
9
|
var Rectangle = require('./Rectangle-7dF6_xf3.js');
|