pb-sxp-ui 1.19.0 → 1.19.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/dist/index.cjs +11 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +11 -9
- package/dist/index.js.map +1 -1
- package/dist/index.min.cjs +1 -1
- package/dist/index.min.cjs.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/pb-ui.js +11 -9
- package/dist/pb-ui.js.map +1 -1
- package/dist/pb-ui.min.js +1 -1
- package/dist/pb-ui.min.js.map +1 -1
- package/es/core/components/SxpPageRender/index.js +11 -9
- package/lib/core/components/SxpPageRender/index.js +11 -9
- package/package.json +1 -1
|
@@ -505,7 +505,7 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight = window.inner
|
|
|
505
505
|
if (fbcRef.current && !(beForeactiveGroups === null || beForeactiveGroups === void 0 ? void 0 : beForeactiveGroups.includes('4'))) {
|
|
506
506
|
}
|
|
507
507
|
}
|
|
508
|
-
else
|
|
508
|
+
else {
|
|
509
509
|
fbcRef.current = getCookie('_fbp');
|
|
510
510
|
function extractRootDomain(hostname) {
|
|
511
511
|
if (!hostname || hostname.indexOf('.') === -1) {
|
|
@@ -520,14 +520,16 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight = window.inner
|
|
|
520
520
|
deleteCookie('_fbp', '/', extractRootDomain(window.location.hostname));
|
|
521
521
|
const item = data[activeIndex];
|
|
522
522
|
const traceInfo = ((_a = item === null || item === void 0 ? void 0 : item.video) === null || _a === void 0 ? void 0 : _a.traceInfo) || ((_b = item === null || item === void 0 ? void 0 : item.product) === null || _b === void 0 ? void 0 : _b.traceInfo) || '';
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
523
|
+
if (beForeactiveGroups === null || beForeactiveGroups === void 0 ? void 0 : beForeactiveGroups.includes('4')) {
|
|
524
|
+
bffEventReport === null || bffEventReport === void 0 ? void 0 : bffEventReport({
|
|
525
|
+
eventInfo: {
|
|
526
|
+
eventSubject: 'refuseCookie',
|
|
527
|
+
eventDescription: 'refuseCookie',
|
|
528
|
+
traceInfo
|
|
529
|
+
},
|
|
530
|
+
isActiveTargetingCookie: false
|
|
531
|
+
});
|
|
532
|
+
}
|
|
531
533
|
}
|
|
532
534
|
};
|
|
533
535
|
}
|
|
@@ -508,7 +508,7 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight = window.inner
|
|
|
508
508
|
if (fbcRef.current && !(beForeactiveGroups === null || beForeactiveGroups === void 0 ? void 0 : beForeactiveGroups.includes('4'))) {
|
|
509
509
|
}
|
|
510
510
|
}
|
|
511
|
-
else
|
|
511
|
+
else {
|
|
512
512
|
fbcRef.current = (0, tool_1.getCookie)('_fbp');
|
|
513
513
|
function extractRootDomain(hostname) {
|
|
514
514
|
if (!hostname || hostname.indexOf('.') === -1) {
|
|
@@ -523,14 +523,16 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight = window.inner
|
|
|
523
523
|
(0, tool_1.deleteCookie)('_fbp', '/', extractRootDomain(window.location.hostname));
|
|
524
524
|
const item = data[activeIndex];
|
|
525
525
|
const traceInfo = ((_a = item === null || item === void 0 ? void 0 : item.video) === null || _a === void 0 ? void 0 : _a.traceInfo) || ((_b = item === null || item === void 0 ? void 0 : item.product) === null || _b === void 0 ? void 0 : _b.traceInfo) || '';
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
526
|
+
if (beForeactiveGroups === null || beForeactiveGroups === void 0 ? void 0 : beForeactiveGroups.includes('4')) {
|
|
527
|
+
bffEventReport === null || bffEventReport === void 0 ? void 0 : bffEventReport({
|
|
528
|
+
eventInfo: {
|
|
529
|
+
eventSubject: 'refuseCookie',
|
|
530
|
+
eventDescription: 'refuseCookie',
|
|
531
|
+
traceInfo
|
|
532
|
+
},
|
|
533
|
+
isActiveTargetingCookie: false
|
|
534
|
+
});
|
|
535
|
+
}
|
|
534
536
|
}
|
|
535
537
|
};
|
|
536
538
|
}
|