@mjhls/mjh-framework 1.0.176 → 1.0.178
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 +1 -1
- package/dist/index.es.js +5 -11
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +4 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau
|
|
|
7
7
|
var React = require('react');
|
|
8
8
|
var React__default = _interopDefault(React);
|
|
9
9
|
var PropTypes = _interopDefault(require('prop-types'));
|
|
10
|
-
var
|
|
10
|
+
var reactDom = _interopDefault(require('react-dom'));
|
|
11
11
|
var Container = _interopDefault(require('react-bootstrap/Container'));
|
|
12
12
|
var Row = _interopDefault(require('react-bootstrap/Row'));
|
|
13
13
|
var Col = _interopDefault(require('react-bootstrap/Col'));
|
|
@@ -7185,7 +7185,7 @@ var InfiniteScroll = /** @class */ (function (_super) {
|
|
|
7185
7185
|
|
|
7186
7186
|
var visibilitySensor = createCommonjsModule(function (module, exports) {
|
|
7187
7187
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
7188
|
-
module.exports = factory(React__default,
|
|
7188
|
+
module.exports = factory(React__default, reactDom);
|
|
7189
7189
|
})(commonjsGlobal, function(__WEBPACK_EXTERNAL_MODULE__1__, __WEBPACK_EXTERNAL_MODULE__2__) {
|
|
7190
7190
|
return /******/ (function(modules) { // webpackBootstrap
|
|
7191
7191
|
/******/ // The module cache
|
|
@@ -8485,7 +8485,7 @@ var _react2 = _interopRequireDefault(React__default);
|
|
|
8485
8485
|
|
|
8486
8486
|
|
|
8487
8487
|
|
|
8488
|
-
var _reactDom2 = _interopRequireDefault(
|
|
8488
|
+
var _reactDom2 = _interopRequireDefault(reactDom);
|
|
8489
8489
|
|
|
8490
8490
|
|
|
8491
8491
|
|
|
@@ -13695,7 +13695,6 @@ var MasterDeck = function (_React$Component) {
|
|
|
13695
13695
|
return _this.defaultImage;
|
|
13696
13696
|
}
|
|
13697
13697
|
}, _this.changePageNumber = function (pageNumber) {
|
|
13698
|
-
console.log(pageNumber);
|
|
13699
13698
|
var _this$props2 = _this.props,
|
|
13700
13699
|
seoPaginate = _this$props2.seoPaginate,
|
|
13701
13700
|
pageview = _this$props2.pageview,
|
|
@@ -14832,7 +14831,7 @@ var SideFooter = function SideFooter(props) {
|
|
|
14832
14831
|
/*
|
|
14833
14832
|
useage example: <SideFooter cache={props.cache} logo='/an_mjhls_brand_logo.png' />
|
|
14834
14833
|
*/
|
|
14835
|
-
var _get = get_1(props, '
|
|
14834
|
+
var _get = get_1(props, 'cache.siteSettingCache', {}),
|
|
14836
14835
|
socialLinks = _get.socialLinks,
|
|
14837
14836
|
footerLinks = _get.footerLinks,
|
|
14838
14837
|
name = _get.name;
|
|
@@ -28518,7 +28517,6 @@ var NativeAd = function NativeAd(props) {
|
|
|
28518
28517
|
sizes = _props$node.sizes,
|
|
28519
28518
|
sizeMapping = _props$node.sizeMapping;
|
|
28520
28519
|
|
|
28521
|
-
console.log('props', props);
|
|
28522
28520
|
return React__default.createElement(
|
|
28523
28521
|
'div',
|
|
28524
28522
|
{ className: 'native-ad-wrapper', style: { textAlign: 'center' } },
|
|
@@ -29204,8 +29202,6 @@ var AlphabeticList = function AlphabeticList(_ref) {
|
|
|
29204
29202
|
};
|
|
29205
29203
|
|
|
29206
29204
|
var PdfDownload = function PdfDownload(props) {
|
|
29207
|
-
console.log(props.issueInfo.asset.url);
|
|
29208
|
-
|
|
29209
29205
|
return React__default.createElement(
|
|
29210
29206
|
'div',
|
|
29211
29207
|
{ className: 'pdf-download', style: { textAlign: 'center', padding: '1rem 0', borderTop: '1px solid #eee', marginTop: '1rem' } },
|
|
@@ -29598,7 +29594,6 @@ var OncliveHero = function OncliveHero(props) {
|
|
|
29598
29594
|
function urlFor(source) {
|
|
29599
29595
|
return builder.image(source);
|
|
29600
29596
|
}
|
|
29601
|
-
console.log(props);
|
|
29602
29597
|
return React__default.createElement(
|
|
29603
29598
|
'div',
|
|
29604
29599
|
{ className: 'article-group--container' },
|
|
@@ -29954,7 +29949,6 @@ var RelatedContent = function RelatedContent(props) {
|
|
|
29954
29949
|
'div',
|
|
29955
29950
|
{ className: 'related-articles-container' },
|
|
29956
29951
|
dataRecord.map(function (article, index) {
|
|
29957
|
-
console.log(article);
|
|
29958
29952
|
return React__default.createElement(
|
|
29959
29953
|
Link,
|
|
29960
29954
|
{ href: '/view/[url]', as: '/view/' + article.url.current, key: index },
|