@nuskin/product-components 3.17.21-mdigi-326.6 → 3.17.21-mdigi-326.8
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.
|
@@ -253,11 +253,10 @@ export default {
|
|
|
253
253
|
return productPv;
|
|
254
254
|
},
|
|
255
255
|
|
|
256
|
-
sortSelect(value) {
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
console.log("Queuing products for fetching...");
|
|
256
|
+
async sortSelect(value) {
|
|
257
|
+
const productData = await this.$NsProductDataService.check(this.localSkus);
|
|
258
|
+
if (!productData) {
|
|
259
|
+
// console.log("Queuing products for fetching...");
|
|
261
260
|
this.$NsProductDataService.queue(this.localSkus);
|
|
262
261
|
}
|
|
263
262
|
|
|
@@ -267,14 +266,15 @@ export default {
|
|
|
267
266
|
|
|
268
267
|
// If not, retry fetching
|
|
269
268
|
if (allProducts.length < this.localSkus.length) {
|
|
269
|
+
this.isLoading = true;
|
|
270
270
|
setTimeout(() => {
|
|
271
271
|
checkProductsLoaded();
|
|
272
272
|
}, 100);
|
|
273
273
|
} else {
|
|
274
|
-
this.isLoading = false;
|
|
275
274
|
this.sortByValue = value;
|
|
276
275
|
this.$emit("sort-by-select", value);
|
|
277
276
|
events.publish(events.shop.SEARCH_SORT_DROPDOWN);
|
|
277
|
+
this.isLoading = false;
|
|
278
278
|
}
|
|
279
279
|
};
|
|
280
280
|
|
package/docs/CHANGELOG.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
## [3.17.21-mdigi-326.
|
|
1
|
+
## [3.17.21-mdigi-326.8](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.17.21-mdigi-326.7...v3.17.21-mdigi-326.8) (2025-02-14)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"bomFormat": "CycloneDX",
|
|
3
3
|
"specVersion": "1.4",
|
|
4
|
-
"serialNumber": "urn:uuid:
|
|
4
|
+
"serialNumber": "urn:uuid:2ca87bf3-600e-4204-a59a-35b76e7844f4",
|
|
5
5
|
"version": 1,
|
|
6
6
|
"metadata": {
|
|
7
|
-
"timestamp": "2025-
|
|
7
|
+
"timestamp": "2025-02-14T06:11:31Z",
|
|
8
8
|
"tools": [
|
|
9
9
|
{
|
|
10
10
|
"vendor": "GitLab",
|
package/mixins/NsProductMixin.js
CHANGED
|
@@ -291,7 +291,7 @@ const NsProductMixin = {
|
|
|
291
291
|
);
|
|
292
292
|
},
|
|
293
293
|
showOriginalCrossedOut() {
|
|
294
|
-
return this.isSale || !!this.marketConfig.showRetailCrossedOut;
|
|
294
|
+
return this.isSale || !! this.marketConfig.showRetailCrossedOut;
|
|
295
295
|
},
|
|
296
296
|
showPriceLabels() {
|
|
297
297
|
return this.marketConfig.showPriceLabels;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuskin/product-components",
|
|
3
|
-
"version": "3.17.21-mdigi-326.
|
|
3
|
+
"version": "3.17.21-mdigi-326.8",
|
|
4
4
|
"description": "Nu Skin Product Components",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"@nuskin/ns-icon": "^2.12.0",
|
|
31
31
|
"@nuskin/ns-loyalty-web": "1.5.6",
|
|
32
32
|
"@nuskin/ns-product-lib": "2.19.7-mdigi-326.1",
|
|
33
|
-
"@nuskin/ns-shop": "7.3.0-mdigi-897.
|
|
33
|
+
"@nuskin/ns-shop": "7.3.0-mdigi-897.8",
|
|
34
34
|
"@nuskin/product-recommendation": "2.0.1",
|
|
35
|
-
"axios": "1.
|
|
35
|
+
"axios": "1.7.4",
|
|
36
36
|
"lodash": "4.17.21",
|
|
37
37
|
"sass": "^1.19.0",
|
|
38
38
|
"sass-loader": "^8.0.2",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@nuskin/nuskinjquery": "2.3.1",
|
|
61
61
|
"ansi-html": "0.0.8",
|
|
62
62
|
"async": "2.6.4",
|
|
63
|
-
"axios": "1.
|
|
63
|
+
"axios": "1.7.4",
|
|
64
64
|
"decode-uri-component": "0.2.1",
|
|
65
65
|
"eventsource/eventsource": "2.0.2",
|
|
66
66
|
"fast-xml-parser": "4.2.5",
|