@nuskin/product-components 3.17.21-mdigi-326.8 → 3.17.21-td-1017.1
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/.releaserc
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
</div>
|
|
25
25
|
</div>
|
|
26
26
|
|
|
27
|
-
<div v-if="
|
|
27
|
+
<div v-if="showSpinnerOnFirstLoad" :class="$style.spinnerWrapper">
|
|
28
28
|
<NsSpinner />
|
|
29
29
|
</div>
|
|
30
30
|
<NsProductList
|
|
@@ -138,8 +138,7 @@ export default {
|
|
|
138
138
|
products: {},
|
|
139
139
|
localSku: [],
|
|
140
140
|
sortedSkus: [],
|
|
141
|
-
sortByValue: this.sortBySelected
|
|
142
|
-
isLoading: false,
|
|
141
|
+
sortByValue: this.sortBySelected
|
|
143
142
|
};
|
|
144
143
|
},
|
|
145
144
|
computed: {
|
|
@@ -253,33 +252,14 @@ export default {
|
|
|
253
252
|
return productPv;
|
|
254
253
|
},
|
|
255
254
|
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
if (!productData) {
|
|
259
|
-
// console.log("Queuing products for fetching...");
|
|
255
|
+
sortSelect(value) {
|
|
256
|
+
if (!this.$NsProductDataService.check(this.localSkus)) {
|
|
260
257
|
this.$NsProductDataService.queue(this.localSkus);
|
|
261
258
|
}
|
|
262
259
|
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
// If not, retry fetching
|
|
268
|
-
if (allProducts.length < this.localSkus.length) {
|
|
269
|
-
this.isLoading = true;
|
|
270
|
-
setTimeout(() => {
|
|
271
|
-
checkProductsLoaded();
|
|
272
|
-
}, 100);
|
|
273
|
-
} else {
|
|
274
|
-
this.sortByValue = value;
|
|
275
|
-
this.$emit("sort-by-select", value);
|
|
276
|
-
events.publish(events.shop.SEARCH_SORT_DROPDOWN);
|
|
277
|
-
this.isLoading = false;
|
|
278
|
-
}
|
|
279
|
-
};
|
|
280
|
-
|
|
281
|
-
// Check if all products are loaded
|
|
282
|
-
checkProductsLoaded();
|
|
260
|
+
this.sortByValue = value;
|
|
261
|
+
this.$emit("sort-by-select", value);
|
|
262
|
+
events.publish(events.shop.SEARCH_SORT_DROPDOWN);
|
|
283
263
|
},
|
|
284
264
|
|
|
285
265
|
sortBy: debounce(function() {
|
package/docs/CHANGELOG.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
## [3.17.21-
|
|
1
|
+
## [3.17.21-td-1017.1](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.17.20...v3.17.21-td-1017.1) (2025-02-13)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"bomFormat": "CycloneDX",
|
|
3
3
|
"specVersion": "1.4",
|
|
4
|
-
"serialNumber": "urn:uuid:
|
|
4
|
+
"serialNumber": "urn:uuid:94e71e67-6ec4-43c1-bba9-3e190b3867dd",
|
|
5
5
|
"version": 1,
|
|
6
6
|
"metadata": {
|
|
7
|
-
"timestamp": "2025-02-
|
|
7
|
+
"timestamp": "2025-02-13T13:43:09Z",
|
|
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 || !!
|
|
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-
|
|
3
|
+
"version": "3.17.21-td-1017.1",
|
|
4
4
|
"description": "Nu Skin Product Components",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"@nuskin/ns-core-styles": "2.11.2",
|
|
30
30
|
"@nuskin/ns-icon": "^2.12.0",
|
|
31
31
|
"@nuskin/ns-loyalty-web": "1.5.6",
|
|
32
|
-
"@nuskin/ns-product-lib": "2.19.
|
|
33
|
-
"@nuskin/ns-shop": "7.3
|
|
32
|
+
"@nuskin/ns-product-lib": "2.19.2",
|
|
33
|
+
"@nuskin/ns-shop": "7.1.3",
|
|
34
34
|
"@nuskin/product-recommendation": "2.0.1",
|
|
35
|
-
"axios": "1.7
|
|
35
|
+
"axios": "1.6.7",
|
|
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.7
|
|
63
|
+
"axios": "1.6.7",
|
|
64
64
|
"decode-uri-component": "0.2.1",
|
|
65
65
|
"eventsource/eventsource": "2.0.2",
|
|
66
66
|
"fast-xml-parser": "4.2.5",
|