@ppg_pl/pallete 2.0.21 → 2.0.23
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/my-backdrop_8.cjs.entry.js +5 -1
- package/dist/cjs/my-backdrop_8.cjs.entry.js.map +1 -1
- package/dist/collection/components/my-modal/my-modal.js +5 -1
- package/dist/collection/components/my-modal/my-modal.js.map +1 -1
- package/dist/components/my-modal2.js +5 -1
- package/dist/components/my-modal2.js.map +1 -1
- package/dist/esm/my-backdrop_8.entry.js +5 -1
- package/dist/esm/my-backdrop_8.entry.js.map +1 -1
- package/dist/pallete/p-bdb05818.entry.js +2 -0
- package/dist/pallete/p-bdb05818.entry.js.map +1 -0
- package/dist/pallete/pallete.esm.js +1 -1
- package/package.json +1 -1
- package/www/build/p-bdb05818.entry.js +2 -0
- package/www/build/p-bdb05818.entry.js.map +1 -0
- package/www/build/pallete.esm.js +1 -1
- package/dist/pallete/p-00f46562.entry.js +0 -2
- package/dist/pallete/p-00f46562.entry.js.map +0 -1
- package/www/build/p-00f46562.entry.js +0 -2
- package/www/build/p-00f46562.entry.js.map +0 -1
|
@@ -2970,7 +2970,7 @@ const MyModal = class {
|
|
|
2970
2970
|
if (!this.colorIsSelected) {
|
|
2971
2971
|
const result = this.chunks(this.colors.list)
|
|
2972
2972
|
.map((innerArray, arrayIndex) => {
|
|
2973
|
-
const foundColor = innerArray.find(color => { var _a, _b; return color.name.trim() === ((
|
|
2973
|
+
const foundColor = innerArray.find(color => { var _a, _b, _c; return ((_a = color.name.trim()) === null || _a === void 0 ? void 0 : _a.toUpperCase()) === ((_c = (_b = this.selectedcolor) === null || _b === void 0 ? void 0 : _b.trim()) === null || _c === void 0 ? void 0 : _c.toUpperCase()); });
|
|
2974
2974
|
return foundColor ? { color: foundColor, index: arrayIndex } : null;
|
|
2975
2975
|
})
|
|
2976
2976
|
.filter(item => item !== null);
|
|
@@ -2982,6 +2982,10 @@ const MyModal = class {
|
|
|
2982
2982
|
componentWillLoad() {
|
|
2983
2983
|
this.preloader = true;
|
|
2984
2984
|
this.fetchProductData();
|
|
2985
|
+
setDataLayer({
|
|
2986
|
+
shop: this.shop,
|
|
2987
|
+
product: this.product,
|
|
2988
|
+
});
|
|
2985
2989
|
}
|
|
2986
2990
|
componentWillRender() {
|
|
2987
2991
|
this.displayForMobile();
|