pb-sxp-ui 1.19.2 → 1.19.3
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/index.cjs +7 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/dist/index.min.cjs +4 -4
- package/dist/index.min.cjs.map +1 -1
- package/dist/index.min.js +4 -4
- package/dist/index.min.js.map +1 -1
- package/dist/pb-ui.js +7 -3
- package/dist/pb-ui.js.map +1 -1
- package/dist/pb-ui.min.js +4 -4
- package/dist/pb-ui.min.js.map +1 -1
- package/es/core/components/SxpPageRender/index.js +3 -3
- package/lib/core/components/SxpPageRender/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -19459,9 +19459,10 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight = window.inner
|
|
|
19459
19459
|
const activeGroups = window === null || window === void 0 ? void 0 : window.OnetrustActiveGroups;
|
|
19460
19460
|
if (activeGroups && (activeGroups === null || activeGroups === void 0 ? void 0 : activeGroups.length) > 2) {
|
|
19461
19461
|
setIsShowCookieSetting(true);
|
|
19462
|
-
if (!
|
|
19463
|
-
|
|
19464
|
-
|
|
19462
|
+
// if (!activeGroups?.includes('4')) {
|
|
19463
|
+
// deleteCookie('_fbp', '/', extractRootDomain(window.location.hostname));
|
|
19464
|
+
// (window as any)?.fbq('consent', 'revoke');
|
|
19465
|
+
// }
|
|
19465
19466
|
}
|
|
19466
19467
|
};
|
|
19467
19468
|
const handleClick = (event) => {
|
|
@@ -19475,9 +19476,12 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight = window.inner
|
|
|
19475
19476
|
if (!activeGroups)
|
|
19476
19477
|
return;
|
|
19477
19478
|
if (activeGroups === null || activeGroups === void 0 ? void 0 : activeGroups.includes('4')) {
|
|
19479
|
+
window === null || window === void 0 ? void 0 : window.loadMetaPixel(false, SXP_CONFIG === null || SXP_CONFIG === void 0 ? void 0 : SXP_CONFIG.meta_conversion_api_pid);
|
|
19480
|
+
window === null || window === void 0 ? void 0 : window.fbq('consent', 'grant');
|
|
19478
19481
|
if (fbcRef.current && !(beForeactiveGroups === null || beForeactiveGroups === void 0 ? void 0 : beForeactiveGroups.includes('4'))) ;
|
|
19479
19482
|
}
|
|
19480
19483
|
else {
|
|
19484
|
+
window === null || window === void 0 ? void 0 : window.fbq('consent', 'revoke');
|
|
19481
19485
|
fbcRef.current = getCookie('_fbp');
|
|
19482
19486
|
deleteCookie('_fbp', '/', extractRootDomain(window.location.hostname));
|
|
19483
19487
|
const item = data[activeIndex];
|