@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
|
@@ -2966,7 +2966,7 @@ const MyModal = class {
|
|
|
2966
2966
|
if (!this.colorIsSelected) {
|
|
2967
2967
|
const result = this.chunks(this.colors.list)
|
|
2968
2968
|
.map((innerArray, arrayIndex) => {
|
|
2969
|
-
const foundColor = innerArray.find(color => { var _a, _b; return color.name.trim() === ((
|
|
2969
|
+
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()); });
|
|
2970
2970
|
return foundColor ? { color: foundColor, index: arrayIndex } : null;
|
|
2971
2971
|
})
|
|
2972
2972
|
.filter(item => item !== null);
|
|
@@ -2978,6 +2978,10 @@ const MyModal = class {
|
|
|
2978
2978
|
componentWillLoad() {
|
|
2979
2979
|
this.preloader = true;
|
|
2980
2980
|
this.fetchProductData();
|
|
2981
|
+
setDataLayer({
|
|
2982
|
+
shop: this.shop,
|
|
2983
|
+
product: this.product,
|
|
2984
|
+
});
|
|
2981
2985
|
}
|
|
2982
2986
|
componentWillRender() {
|
|
2983
2987
|
this.displayForMobile();
|