@mjhls/mjh-framework 1.0.416 → 1.0.417

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/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- # mjh-framework v. 1.0.416
2
+ # mjh-framework v. 1.0.417
3
3
 
4
4
  > Foundation Framework
5
5
 
@@ -84,7 +84,6 @@ var loadData = function loadData(values, query, client, params, setData, setScro
84
84
  };
85
85
 
86
86
  var changePageNumber = function changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, itemIndex) {
87
- console.log('pageNumber:', pageNumber);
88
87
 
89
88
  if (seoPaginate) {
90
89
  var path = router.asPath;
@@ -60,8 +60,6 @@ var Ustream = function Ustream(_ref) {
60
60
  setWidth('100%');
61
61
  // aspect ratio
62
62
  var newHeight = 9 / 16 * ustreamContainer.current.clientWidth;
63
- console.log(newHeight);
64
- console.log(ustreamContainer);
65
63
  setHeight(newHeight);
66
64
  document.querySelector('.ustream-minimize').remove();
67
65
  var closeBtn = document.querySelector('.ustream-close');
@@ -6,7 +6,7 @@ require('./web.dom.iterable-5c889cf1.js');
6
6
  require('react');
7
7
  require('./slicedToArray-419d467a.js');
8
8
  require('./index.esm-340d3792.js');
9
- var Ustream = require('./Ustream-c7baf022.js');
9
+ var Ustream = require('./Ustream-6aebd935.js');
10
10
 
11
11
 
12
12
 
package/dist/cjs/index.js CHANGED
@@ -76,7 +76,7 @@ var Carousel = _interopDefault(require('react-bootstrap/Carousel'));
76
76
  var Breadcrumb = _interopDefault(require('react-bootstrap/Breadcrumb'));
77
77
  var DropdownButton = _interopDefault(require('react-bootstrap/DropdownButton'));
78
78
  var Dropdown = _interopDefault(require('react-bootstrap/Dropdown'));
79
- var Ustream = require('./Ustream-c7baf022.js');
79
+ var Ustream = require('./Ustream-6aebd935.js');
80
80
  var Modal = _interopDefault(require('react-bootstrap/Modal'));
81
81
  var useSWR = _interopDefault(require('swr'));
82
82
  var Local = _interopDefault(require('passport-local'));
@@ -1875,7 +1875,6 @@ var EventsDeck = function EventsDeck(_ref) {
1875
1875
  return event.testMode === false;
1876
1876
  });
1877
1877
  var sortedEventsByStartData = filteredEventsByTestMode.sort(function (a, b) {
1878
- console.log(a.start);
1879
1878
  if (a.start.indexOf('TBD') >= 0 || b.start.indexOf('TBD') >= 0) {
1880
1879
  return -1;
1881
1880
  }
@@ -16771,8 +16770,6 @@ var InscreenSensor = function (_React$Component) {
16771
16770
  var _this = inherits$2._possibleConstructorReturn(this, (InscreenSensor.__proto__ || inherits$2._Object$getPrototypeOf(InscreenSensor)).call(this, props));
16772
16771
 
16773
16772
  _this.scrollHandler = function () {
16774
- // this.checkInside()
16775
-
16776
16773
  var visible = _this.checkInside();
16777
16774
  if (visible !== _this.visible) {
16778
16775
  _this.visible = visible;
@@ -16782,7 +16779,6 @@ var InscreenSensor = function (_React$Component) {
16782
16779
 
16783
16780
  _this.checkInside = function () {
16784
16781
  var rect = _this.wraperRef.current.getBoundingClientRect();
16785
-
16786
16782
  var _this$props$offSetTop = _this.props.offSetTop,
16787
16783
  offSetTop = _this$props$offSetTop === undefined ? 0 : _this$props$offSetTop;
16788
16784
  var top = rect.top,
@@ -21699,8 +21695,6 @@ var getDocumentGroupUrl = function getDocumentGroupUrl(docGroup) {
21699
21695
  }
21700
21696
  var url = void 0;
21701
21697
  if (docGroup.path.includes('/')) {
21702
- console.log(docGroup);
21703
- console.log(docGroup.path);
21704
21698
  return "/" + docGroup.path;
21705
21699
  }
21706
21700
 
@@ -22578,8 +22572,6 @@ var ArticleQueue$1 = function ArticleQueue(props) {
22578
22572
  var params = props.params;
22579
22573
  if (queueData && queueData.length < maxListLength) {
22580
22574
  params.index = queueData.length - 1;
22581
- console.log('params:', params);
22582
- console.log('query:', query);
22583
22575
  props.client.fetch(query, params).then(function (article) {
22584
22576
  if (article && article._id) {
22585
22577
  var targeting = getTargeting({ article: article, cpModificationRequired: cpModificationRequired, prevUrl: prevUrl });
@@ -78,7 +78,6 @@ var loadData = function loadData(values, query, client, params, setData, setScro
78
78
  };
79
79
 
80
80
  var changePageNumber = function changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, itemIndex) {
81
- console.log('pageNumber:', pageNumber);
82
81
 
83
82
  if (seoPaginate) {
84
83
  var path = router.asPath;
@@ -55,8 +55,6 @@ var Ustream = function Ustream(_ref) {
55
55
  setWidth('100%');
56
56
  // aspect ratio
57
57
  var newHeight = 9 / 16 * ustreamContainer.current.clientWidth;
58
- console.log(newHeight);
59
- console.log(ustreamContainer);
60
58
  setHeight(newHeight);
61
59
  document.querySelector('.ustream-minimize').remove();
62
60
  var closeBtn = document.querySelector('.ustream-close');
@@ -4,4 +4,4 @@ import './web.dom.iterable-e6bf2bf6.js';
4
4
  import 'react';
5
5
  import './slicedToArray-04e02710.js';
6
6
  import './index.esm-536609db.js';
7
- export { U as default } from './Ustream-ee7aeeef.js';
7
+ export { U as default } from './Ustream-914ce145.js';
package/dist/esm/index.js CHANGED
@@ -72,8 +72,8 @@ import Carousel$1 from 'react-bootstrap/Carousel';
72
72
  import Breadcrumb from 'react-bootstrap/Breadcrumb';
73
73
  import DropdownButton from 'react-bootstrap/DropdownButton';
74
74
  import Dropdown from 'react-bootstrap/Dropdown';
75
- import { F as FaLongArrowAltRight } from './Ustream-ee7aeeef.js';
76
- export { U as Ustream } from './Ustream-ee7aeeef.js';
75
+ import { F as FaLongArrowAltRight } from './Ustream-914ce145.js';
76
+ export { U as Ustream } from './Ustream-914ce145.js';
77
77
  import Modal from 'react-bootstrap/Modal';
78
78
  import useSWR from 'swr';
79
79
  import Local from 'passport-local';
@@ -1872,7 +1872,6 @@ var EventsDeck = function EventsDeck(_ref) {
1872
1872
  return event.testMode === false;
1873
1873
  });
1874
1874
  var sortedEventsByStartData = filteredEventsByTestMode.sort(function (a, b) {
1875
- console.log(a.start);
1876
1875
  if (a.start.indexOf('TBD') >= 0 || b.start.indexOf('TBD') >= 0) {
1877
1876
  return -1;
1878
1877
  }
@@ -16768,8 +16767,6 @@ var InscreenSensor = function (_React$Component) {
16768
16767
  var _this = _possibleConstructorReturn$1(this, (InscreenSensor.__proto__ || _Object$getPrototypeOf(InscreenSensor)).call(this, props));
16769
16768
 
16770
16769
  _this.scrollHandler = function () {
16771
- // this.checkInside()
16772
-
16773
16770
  var visible = _this.checkInside();
16774
16771
  if (visible !== _this.visible) {
16775
16772
  _this.visible = visible;
@@ -16779,7 +16776,6 @@ var InscreenSensor = function (_React$Component) {
16779
16776
 
16780
16777
  _this.checkInside = function () {
16781
16778
  var rect = _this.wraperRef.current.getBoundingClientRect();
16782
-
16783
16779
  var _this$props$offSetTop = _this.props.offSetTop,
16784
16780
  offSetTop = _this$props$offSetTop === undefined ? 0 : _this$props$offSetTop;
16785
16781
  var top = rect.top,
@@ -21696,8 +21692,6 @@ var getDocumentGroupUrl = function getDocumentGroupUrl(docGroup) {
21696
21692
  }
21697
21693
  var url = void 0;
21698
21694
  if (docGroup.path.includes('/')) {
21699
- console.log(docGroup);
21700
- console.log(docGroup.path);
21701
21695
  return "/" + docGroup.path;
21702
21696
  }
21703
21697
 
@@ -22575,8 +22569,6 @@ var ArticleQueue$1 = function ArticleQueue(props) {
22575
22569
  var params = props.params;
22576
22570
  if (queueData && queueData.length < maxListLength) {
22577
22571
  params.index = queueData.length - 1;
22578
- console.log('params:', params);
22579
- console.log('query:', query);
22580
22572
  props.client.fetch(query, params).then(function (article) {
22581
22573
  if (article && article._id) {
22582
22574
  var targeting = getTargeting({ article: article, cpModificationRequired: cpModificationRequired, prevUrl: prevUrl });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.416",
3
+ "version": "1.0.417",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",