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.cjs
CHANGED
|
@@ -19481,9 +19481,10 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight = window.inner
|
|
|
19481
19481
|
const activeGroups = window === null || window === void 0 ? void 0 : window.OnetrustActiveGroups;
|
|
19482
19482
|
if (activeGroups && (activeGroups === null || activeGroups === void 0 ? void 0 : activeGroups.length) > 2) {
|
|
19483
19483
|
setIsShowCookieSetting(true);
|
|
19484
|
-
if (!
|
|
19485
|
-
|
|
19486
|
-
|
|
19484
|
+
// if (!activeGroups?.includes('4')) {
|
|
19485
|
+
// deleteCookie('_fbp', '/', extractRootDomain(window.location.hostname));
|
|
19486
|
+
// (window as any)?.fbq('consent', 'revoke');
|
|
19487
|
+
// }
|
|
19487
19488
|
}
|
|
19488
19489
|
};
|
|
19489
19490
|
const handleClick = (event) => {
|
|
@@ -19497,9 +19498,12 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight = window.inner
|
|
|
19497
19498
|
if (!activeGroups)
|
|
19498
19499
|
return;
|
|
19499
19500
|
if (activeGroups === null || activeGroups === void 0 ? void 0 : activeGroups.includes('4')) {
|
|
19501
|
+
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);
|
|
19502
|
+
window === null || window === void 0 ? void 0 : window.fbq('consent', 'grant');
|
|
19500
19503
|
if (fbcRef.current && !(beForeactiveGroups === null || beForeactiveGroups === void 0 ? void 0 : beForeactiveGroups.includes('4'))) ;
|
|
19501
19504
|
}
|
|
19502
19505
|
else {
|
|
19506
|
+
window === null || window === void 0 ? void 0 : window.fbq('consent', 'revoke');
|
|
19503
19507
|
fbcRef.current = getCookie('_fbp');
|
|
19504
19508
|
deleteCookie('_fbp', '/', extractRootDomain(window.location.hostname));
|
|
19505
19509
|
const item = data[activeIndex];
|