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.
@@ -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 if (beForeactiveGroups === null || beForeactiveGroups === void 0 ? void 0 : beForeactiveGroups.includes('4')) {
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
- bffEventReport === null || bffEventReport === void 0 ? void 0 : bffEventReport({
524
- eventInfo: {
525
- eventSubject: 'refuseCookie',
526
- eventDescription: 'refuseCookie',
527
- traceInfo
528
- },
529
- isActiveTargetingCookie: false
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 if (beForeactiveGroups === null || beForeactiveGroups === void 0 ? void 0 : beForeactiveGroups.includes('4')) {
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
- bffEventReport === null || bffEventReport === void 0 ? void 0 : bffEventReport({
527
- eventInfo: {
528
- eventSubject: 'refuseCookie',
529
- eventDescription: 'refuseCookie',
530
- traceInfo
531
- },
532
- isActiveTargetingCookie: false
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pb-sxp-ui",
3
- "version": "1.19.0",
3
+ "version": "1.19.1",
4
4
  "description": "React enterprise-class UI components",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",