@nuskin/product-components 3.18.0-td-341.1 → 3.18.0-td-1000.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 +1 -1
- package/components/NsProductList.vue +4 -21
- package/docs/CHANGELOG.md +1 -1
- package/gl-sbom-npm-yarn.cdx.json +3877 -0
- package/mixins/NsProductMixin.js +7 -47
- package/package.json +5 -5
- package/services/EQPromotionService.js +5 -1
- package/services/NsProductAppService.js +5 -29
- package/services/NsProductContentService.js +3 -3
- package/services/NsProductDataService.js +4 -5
package/.releaserc
CHANGED
|
@@ -46,12 +46,10 @@
|
|
|
46
46
|
|
|
47
47
|
<script>
|
|
48
48
|
import { NsExpressiveLink, NsIcon, NsSpinner } from "@nuskin/design-components";
|
|
49
|
-
import { StringService
|
|
49
|
+
import { StringService } from "@nuskin/ns-util";
|
|
50
50
|
import { fromJsonString } from "@nuskin/ns-common-lib";
|
|
51
|
-
import { getConfiguration } from "@nuskin/configuration-sdk";
|
|
52
51
|
|
|
53
52
|
import NsProductCard from "./NsProductCard.vue";
|
|
54
|
-
import { isEnabled } from "@nuskin/ns-feature-flags";
|
|
55
53
|
|
|
56
54
|
/**
|
|
57
55
|
* NsProductList
|
|
@@ -192,24 +190,9 @@ export default {
|
|
|
192
190
|
await this.$nextTick();
|
|
193
191
|
|
|
194
192
|
try {
|
|
195
|
-
const
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
configs &&
|
|
199
|
-
configs.Mysite &&
|
|
200
|
-
configs.Mysite.useCSResources &&
|
|
201
|
-
Array.isArray(configs.Mysite.useCSResources)
|
|
202
|
-
) {
|
|
203
|
-
useCSResources = configs.Mysite.useCSResources.includes(
|
|
204
|
-
this.runConfig.country
|
|
205
|
-
);
|
|
206
|
-
}
|
|
207
|
-
let commonStrings = {};
|
|
208
|
-
if (useCSResources && isEnabled("td_341")) {
|
|
209
|
-
commonStrings = await csStringService.getStrings(commonStringKeys);
|
|
210
|
-
} else {
|
|
211
|
-
commonStrings = await StringService.getStrings(commonStringKeys);
|
|
212
|
-
}
|
|
193
|
+
const commonStrings = await StringService.getStrings(
|
|
194
|
+
commonStringKeys
|
|
195
|
+
);
|
|
213
196
|
if (commonStrings && commonStrings.loadMore) {
|
|
214
197
|
this.loadMoreText = commonStrings.loadMore;
|
|
215
198
|
}
|
package/docs/CHANGELOG.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
# [3.18.0-td-
|
|
1
|
+
# [3.18.0-td-1000.1](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.17.22...v3.18.0-td-1000.1) (2025-03-14)
|