@mjhls/mjh-framework 1.0.109-8.bc2 → 1.0.109-8.rlTest

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.
@@ -34,19 +34,10 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
34
34
  parentPathName = _useState6[0],
35
35
  setParentPathName = _useState6[1];
36
36
 
37
- console.log("DATA", data);
38
- console.log("currentPath", currentPath);
39
- console.log("parentPathName", parentPathName);
40
- console.log("parentPath", parentPath);
41
-
42
37
  var get_parent_path = function get_parent_path(parsedUrl) {
43
- console.log("parsedUrl", parsedUrl);
44
38
  var parent_path = '';
45
39
  for (var i = 1; i < parsedUrl.length - 3; i++) {
46
40
  if (parsedUrl.length > i + 1) {
47
- console.log("parentPathin IF", parentPath);
48
-
49
- console.log("======", '' + parsedUrl[parsedUrl.length - (i + 1)] + (parent_path ? '/' + parent_path : ''));
50
41
  parent_path = '' + parsedUrl[parsedUrl.length - (i + 1)] + (parent_path ? '/' + parent_path : '');
51
42
  }
52
43
  }
@@ -60,7 +51,6 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
60
51
  setParentPathName(parsedUrl[parsedUrl.length - 2].split('?')[0]);
61
52
  setParentPath(get_parent_path(parsedUrl));
62
53
  }, []);
63
- console.log("parentPathin AFTER", parentPath);
64
54
 
65
55
  if (data && data.length > 0) {
66
56
  return React__default["default"].createElement(
@@ -69,7 +59,7 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
69
59
  data.map(function (item, index) {
70
60
  return React__default["default"].createElement(
71
61
  Breadcrumb__default["default"].Item,
72
- { key: index, href: item.url, className: 'HI', active: item.isActive || false },
62
+ { key: index, href: item.url, active: item.isActive || false },
73
63
  item.name
74
64
  );
75
65
  }),
package/dist/cjs/View.js CHANGED
@@ -20,7 +20,7 @@ var SocialShare = require('./SocialShare.js');
20
20
  var getSerializers = require('./index-a26637a3.js');
21
21
  var AdSlot = require('./AdSlot.js');
22
22
  var SeriesSlider = require('./SeriesSlider-086a8319.js');
23
- var getTargeting = require('./getTargeting-5b954783.js');
23
+ var getTargeting = require('./getTargeting-7ce7037b.js');
24
24
  var getKeywords = require('./getKeywords.js');
25
25
  var urlFor = require('./urlFor.js');
26
26
  var urlForFile = require('./urlForFile-5084fc48.js');
@@ -4,6 +4,7 @@ var _extends = require('./extends-be0d85bc.js');
4
4
  var toConsumableArray = require('./toConsumableArray-d7797c2b.js');
5
5
 
6
6
  var getContentPlacementUrl = function getContentPlacementUrl(cp) {
7
+ console.log("cp: ", cp);
7
8
  var cp_url = '';
8
9
  if (cp.ancestor && typeof cp.ancestor == 'string') {
9
10
  cp_url += (cp_url === '' ? '' : '/') + cp.ancestor;
@@ -12,8 +13,9 @@ var getContentPlacementUrl = function getContentPlacementUrl(cp) {
12
13
  if (!cp.ancestor && cp.parent && typeof cp.parent == 'string') {
13
14
  cp_url += (cp_url === '' ? '' : '/') + cp.parent;
14
15
  }
15
-
16
+ console.log("cp_url: ", cp_url);
16
17
  cp_url += (cp_url === '' ? '' : '/') + (cp.adTargetingURL ? adTargetingURL : cp.path);
18
+ console.log("cp_url: 1", cp_url);
17
19
 
18
20
  return cp_url;
19
21
  };
@@ -2,7 +2,7 @@
2
2
 
3
3
  require('./extends-be0d85bc.js');
4
4
  require('./toConsumableArray-d7797c2b.js');
5
- var getTargeting = require('./getTargeting-5b954783.js');
5
+ var getTargeting = require('./getTargeting-7ce7037b.js');
6
6
  require('./_commonjsHelpers-06173234.js');
7
7
  require('./core.get-iterator-method-5643aa10.js');
8
8
  require('./_iter-detect-b1df62f0.js');
package/dist/cjs/index.js CHANGED
@@ -105,7 +105,7 @@ var VideoSeriesLandingPage = require('./VideoSeriesLandingPage.js');
105
105
  var ArticleProgramLandingPage = require('./ArticleProgramLandingPage.js');
106
106
  var ArticleSeriesLandingPage = require('./ArticleSeriesLandingPage.js');
107
107
  var Schema = require('./Schema.js');
108
- var getTargeting = require('./getTargeting-5b954783.js');
108
+ var getTargeting = require('./getTargeting-7ce7037b.js');
109
109
  var getKeywords = require('./getKeywords.js');
110
110
  var getQuery = require('./getQuery.js');
111
111
  require('./typeof-220bbf73.js');
@@ -27,19 +27,10 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
27
27
  parentPathName = _useState6[0],
28
28
  setParentPathName = _useState6[1];
29
29
 
30
- console.log("DATA", data);
31
- console.log("currentPath", currentPath);
32
- console.log("parentPathName", parentPathName);
33
- console.log("parentPath", parentPath);
34
-
35
30
  var get_parent_path = function get_parent_path(parsedUrl) {
36
- console.log("parsedUrl", parsedUrl);
37
31
  var parent_path = '';
38
32
  for (var i = 1; i < parsedUrl.length - 3; i++) {
39
33
  if (parsedUrl.length > i + 1) {
40
- console.log("parentPathin IF", parentPath);
41
-
42
- console.log("======", '' + parsedUrl[parsedUrl.length - (i + 1)] + (parent_path ? '/' + parent_path : ''));
43
34
  parent_path = '' + parsedUrl[parsedUrl.length - (i + 1)] + (parent_path ? '/' + parent_path : '');
44
35
  }
45
36
  }
@@ -53,7 +44,6 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
53
44
  setParentPathName(parsedUrl[parsedUrl.length - 2].split('?')[0]);
54
45
  setParentPath(get_parent_path(parsedUrl));
55
46
  }, []);
56
- console.log("parentPathin AFTER", parentPath);
57
47
 
58
48
  if (data && data.length > 0) {
59
49
  return React__default.createElement(
@@ -62,7 +52,7 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
62
52
  data.map(function (item, index) {
63
53
  return React__default.createElement(
64
54
  Breadcrumb.Item,
65
- { key: index, href: item.url, className: 'HI', active: item.isActive || false },
55
+ { key: index, href: item.url, active: item.isActive || false },
66
56
  item.name
67
57
  );
68
58
  }),
package/dist/esm/View.js CHANGED
@@ -18,7 +18,7 @@ import SocialShare from './SocialShare.js';
18
18
  import { r as renderAuthor, g as getSerializers } from './index-a68bfe70.js';
19
19
  import DFPAdSlot from './AdSlot.js';
20
20
  import { S as SeriesSlider } from './SeriesSlider-acbdf4c9.js';
21
- import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-b62a177c.js';
21
+ import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-301942ae.js';
22
22
  import getKeywords from './getKeywords.js';
23
23
  import urlFor from './urlFor.js';
24
24
  import { u as urlForFile } from './urlForFile-2e523b67.js';
@@ -2,6 +2,7 @@ import { _ as _extends } from './extends-2f4448b8.js';
2
2
  import { _ as _toConsumableArray } from './toConsumableArray-e6f28e5c.js';
3
3
 
4
4
  var getContentPlacementUrl = function getContentPlacementUrl(cp) {
5
+ console.log("cp: ", cp);
5
6
  var cp_url = '';
6
7
  if (cp.ancestor && typeof cp.ancestor == 'string') {
7
8
  cp_url += (cp_url === '' ? '' : '/') + cp.ancestor;
@@ -10,8 +11,9 @@ var getContentPlacementUrl = function getContentPlacementUrl(cp) {
10
11
  if (!cp.ancestor && cp.parent && typeof cp.parent == 'string') {
11
12
  cp_url += (cp_url === '' ? '' : '/') + cp.parent;
12
13
  }
13
-
14
+ console.log("cp_url: ", cp_url);
14
15
  cp_url += (cp_url === '' ? '' : '/') + (cp.adTargetingURL ? adTargetingURL : cp.path);
16
+ console.log("cp_url: 1", cp_url);
15
17
 
16
18
  return cp_url;
17
19
  };
@@ -1,6 +1,6 @@
1
1
  import './extends-2f4448b8.js';
2
2
  import './toConsumableArray-e6f28e5c.js';
3
- export { g as default } from './getTargeting-b62a177c.js';
3
+ export { g as default } from './getTargeting-301942ae.js';
4
4
  import './_commonjsHelpers-0c4b6f40.js';
5
5
  import './core.get-iterator-method-95db387d.js';
6
6
  import './_iter-detect-2f89237f.js';
package/dist/esm/index.js CHANGED
@@ -102,7 +102,7 @@ export { default as VideoSeriesLandingPage } from './VideoSeriesLandingPage.js';
102
102
  export { default as ArticleProgramLandingPage } from './ArticleProgramLandingPage.js';
103
103
  export { default as ArticleSeriesLandingPage } from './ArticleSeriesLandingPage.js';
104
104
  export { default as Schema } from './Schema.js';
105
- export { g as getTargeting } from './getTargeting-b62a177c.js';
105
+ export { g as getTargeting } from './getTargeting-301942ae.js';
106
106
  export { default as getKeywords } from './getKeywords.js';
107
107
  export { default as getQuery } from './getQuery.js';
108
108
  import './typeof-3ab7d3b6.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.1098.bc2",
3
+ "version": "1.0.1098.rlTest",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",