@mjhls/mjh-framework 1.0.756 → 1.0.757
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/cjs/ArticleProgramLandingPage.js +1 -1
- package/dist/cjs/ExternalResources.js +1 -1
- package/dist/cjs/HorizontalArticleListing.js +1 -1
- package/dist/cjs/PartnerDetailListing.js +1 -1
- package/dist/cjs/TaxonomyDescription.js +1 -1
- package/dist/cjs/VideoProgramLandingPage.js +1 -1
- package/dist/cjs/View.js +1 -1
- package/dist/cjs/getSerializers.js +1 -1
- package/dist/cjs/{index-79b36dbf.js → index-9e0ebc87.js} +5 -19
- package/dist/cjs/index.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +1 -1
- package/dist/esm/ExternalResources.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +1 -1
- package/dist/esm/PartnerDetailListing.js +1 -1
- package/dist/esm/TaxonomyDescription.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +1 -1
- package/dist/esm/View.js +1 -1
- package/dist/esm/getSerializers.js +1 -1
- package/dist/esm/{index-df579a0c.js → index-98643e12.js} +5 -19
- package/dist/esm/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# mjh-framework v. 1.0.
|
|
1
|
+
# mjh-framework v. 1.0.757
|
|
2
2
|
[](https://www.npmjs.com/package/mjh-framework) [](https://standardjs.com)
|
|
3
3
|
|
|
4
4
|
## Install
|
|
@@ -5,7 +5,7 @@ var slicedToArray = require('./slicedToArray-db24842a.js');
|
|
|
5
5
|
var _extends = require('./extends-1e24fc8d.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var BlockContent = require('./BlockContent-eca358e4.js');
|
|
8
|
-
var getSerializers = require('./index-
|
|
8
|
+
var getSerializers = require('./index-9e0ebc87.js');
|
|
9
9
|
var ArticleSeriesListing = require('./ArticleSeriesListing.js');
|
|
10
10
|
require('./_commonjsHelpers-06173234.js');
|
|
11
11
|
require('./es6.string.iterator-20d42c53.js');
|
|
@@ -4,7 +4,7 @@ var _extends = require('./extends-1e24fc8d.js');
|
|
|
4
4
|
var slicedToArray = require('./slicedToArray-db24842a.js');
|
|
5
5
|
var React = require('react');
|
|
6
6
|
var BlockContent = require('./BlockContent-eca358e4.js');
|
|
7
|
-
var getSerializers = require('./index-
|
|
7
|
+
var getSerializers = require('./index-9e0ebc87.js');
|
|
8
8
|
var index = require('./index-4d74ffd6.js');
|
|
9
9
|
var Router = require('next/router');
|
|
10
10
|
var Button = require('react-bootstrap/Button');
|
|
@@ -5,7 +5,7 @@ var React = require('react');
|
|
|
5
5
|
var ArticleCarousel = require('./ArticleCarousel.js');
|
|
6
6
|
var index_esm = require('./index.esm-974f47d9.js');
|
|
7
7
|
var BlockContent = require('./BlockContent-eca358e4.js');
|
|
8
|
-
var getSerializers = require('./index-
|
|
8
|
+
var getSerializers = require('./index-9e0ebc87.js');
|
|
9
9
|
require('./_commonjsHelpers-06173234.js');
|
|
10
10
|
require('./_to-object-821a2927.js');
|
|
11
11
|
require('./_object-pie-68c5bcbc.js');
|
|
@@ -12,7 +12,7 @@ var QueueDeckExpanded = require('./QueueDeckExpanded.js');
|
|
|
12
12
|
var Breadcrumbs = require('./Breadcrumbs.js');
|
|
13
13
|
var Feature = require('./Feature.js');
|
|
14
14
|
var urlFor = require('./urlFor.js');
|
|
15
|
-
var getSerializers = require('./index-
|
|
15
|
+
var getSerializers = require('./index-9e0ebc87.js');
|
|
16
16
|
var BlockContent = require('./BlockContent-eca358e4.js');
|
|
17
17
|
require('./_commonjsHelpers-06173234.js');
|
|
18
18
|
require('./es6.string.iterator-20d42c53.js');
|
|
@@ -6,7 +6,7 @@ var React = require('react');
|
|
|
6
6
|
var Router = require('next/router');
|
|
7
7
|
var Head = require('next/head');
|
|
8
8
|
var BlockContent = require('./BlockContent-eca358e4.js');
|
|
9
|
-
var getSerializers = require('./index-
|
|
9
|
+
var getSerializers = require('./index-9e0ebc87.js');
|
|
10
10
|
require('./_commonjsHelpers-06173234.js');
|
|
11
11
|
require('./es6.string.iterator-20d42c53.js');
|
|
12
12
|
require('./_to-object-821a2927.js');
|
|
@@ -7,7 +7,7 @@ var BlockContent = require('./BlockContent-eca358e4.js');
|
|
|
7
7
|
var Col = require('react-bootstrap/Col');
|
|
8
8
|
var Form = require('react-bootstrap/Form');
|
|
9
9
|
var Button = require('react-bootstrap/Button');
|
|
10
|
-
var getSerializers = require('./index-
|
|
10
|
+
var getSerializers = require('./index-9e0ebc87.js');
|
|
11
11
|
var VideoSeriesListing = require('./VideoSeriesListing.js');
|
|
12
12
|
require('./_commonjsHelpers-06173234.js');
|
|
13
13
|
require('./es6.string.iterator-20d42c53.js');
|
package/dist/cjs/View.js
CHANGED
|
@@ -15,7 +15,7 @@ require('react-bootstrap/Dropdown');
|
|
|
15
15
|
var Form = require('react-bootstrap/Form');
|
|
16
16
|
var FormControl = require('react-bootstrap/FormControl');
|
|
17
17
|
var Button = require('react-bootstrap/Button');
|
|
18
|
-
var getSerializers = require('./index-
|
|
18
|
+
var getSerializers = require('./index-9e0ebc87.js');
|
|
19
19
|
var SocialShare = require('./SocialShare.js');
|
|
20
20
|
var AdSlot = require('./AdSlot.js');
|
|
21
21
|
var getTargeting = require('./getTargeting-497b581d.js');
|
|
@@ -8219,36 +8219,22 @@ var NativeAd = function NativeAd(props) {
|
|
|
8219
8219
|
);
|
|
8220
8220
|
};
|
|
8221
8221
|
|
|
8222
|
-
var createMarkup = function createMarkup(htmlContent) {
|
|
8223
|
-
return { __html: htmlContent };
|
|
8224
|
-
};
|
|
8225
|
-
|
|
8226
8222
|
var Formstack = function Formstack(_ref) {
|
|
8227
8223
|
var FormID = _ref.FormID,
|
|
8228
8224
|
Caption = _ref.Caption,
|
|
8229
8225
|
_ref$needSegmentSuppo = _ref.needSegmentSupport,
|
|
8230
8226
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
8231
8227
|
|
|
8232
|
-
var
|
|
8233
|
-
React.useEffect(function () {
|
|
8234
|
-
if (needSegmentSupport) {
|
|
8235
|
-
var newSrc = Segment.getURL('https://mjhlifesciences.formstack.com/forms/js.php/' + FormID, { needSegmentSupport: true });
|
|
8236
|
-
var scriptTag = formstackRef.current.querySelector('script');
|
|
8237
|
-
scriptTag && newSrc && scriptTag.setAttribute('src', newSrc);
|
|
8238
|
-
}
|
|
8239
|
-
}, []);
|
|
8240
|
-
|
|
8241
|
-
var htmlContent = '\n <script type="text/javascript" src="https://mjhlifesciences.formstack.com/forms/js.php/' + FormID + '"></script>\n <noscript><a href="https://mjhlifesciences.formstack.com/forms/' + FormID + '" title="Online Form">' + Caption + '</a></noscript>\n ';
|
|
8242
|
-
|
|
8228
|
+
var url = Segment.getURL('https://mjhlifesciences.formstack.com/forms/' + FormID, { needSegmentSupport: needSegmentSupport });
|
|
8243
8229
|
return React__default['default'].createElement(
|
|
8244
|
-
'
|
|
8245
|
-
{
|
|
8246
|
-
React__default['default'].createElement(
|
|
8230
|
+
'section',
|
|
8231
|
+
{ id: 'formstack-section', className: 'formstack-section' },
|
|
8232
|
+
Caption && React__default['default'].createElement(
|
|
8247
8233
|
'h4',
|
|
8248
8234
|
{ className: 'formstack-caption' },
|
|
8249
8235
|
Caption
|
|
8250
8236
|
),
|
|
8251
|
-
React__default['default'].createElement('
|
|
8237
|
+
React__default['default'].createElement('iframe', { src: url, title: Caption || '', width: '100%', height: '600', frameBorder: '0' })
|
|
8252
8238
|
);
|
|
8253
8239
|
};
|
|
8254
8240
|
|
package/dist/cjs/index.js
CHANGED
|
@@ -82,7 +82,7 @@ var VerticalHero = require('./VerticalHero.js');
|
|
|
82
82
|
var YahooHero = require('./YahooHero.js');
|
|
83
83
|
var GridHero = require('./GridHero.js');
|
|
84
84
|
var ConferenceArticleCard = require('./ConferenceArticleCard.js');
|
|
85
|
-
var getSerializers = require('./index-
|
|
85
|
+
var getSerializers = require('./index-9e0ebc87.js');
|
|
86
86
|
var Beam = require('./Beam.js');
|
|
87
87
|
var Segment = require('./Segment.js');
|
|
88
88
|
var KMTracker = require('./KMTracker.js');
|
|
@@ -3,7 +3,7 @@ import { _ as _slicedToArray } from './slicedToArray-cdeaee08.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-31d65aba.js';
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { B as BlockContent } from './BlockContent-d8cd739c.js';
|
|
6
|
-
import { g as getSerializers } from './index-
|
|
6
|
+
import { g as getSerializers } from './index-98643e12.js';
|
|
7
7
|
import ArticleSeriesListing from './ArticleSeriesListing.js';
|
|
8
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
9
|
import './es6.string.iterator-aa6068a3.js';
|
|
@@ -2,7 +2,7 @@ import { _ as _extends } from './extends-31d65aba.js';
|
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-cdeaee08.js';
|
|
3
3
|
import React, { useState, useEffect } from 'react';
|
|
4
4
|
import { B as BlockContent } from './BlockContent-d8cd739c.js';
|
|
5
|
-
import { g as getSerializers } from './index-
|
|
5
|
+
import { g as getSerializers } from './index-98643e12.js';
|
|
6
6
|
import { m as momentTimezone } from './index-ccb770c7.js';
|
|
7
7
|
import { useRouter } from 'next/router';
|
|
8
8
|
import Button from 'react-bootstrap/Button';
|
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import ArticleCarousel from './ArticleCarousel.js';
|
|
4
4
|
import { I as IoIosArrowForward } from './index.esm-3fdda599.js';
|
|
5
5
|
import { B as BlockContent } from './BlockContent-d8cd739c.js';
|
|
6
|
-
import { g as getSerializers } from './index-
|
|
6
|
+
import { g as getSerializers } from './index-98643e12.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './_to-object-97770c52.js';
|
|
9
9
|
import './_object-pie-33c40e79.js';
|
|
@@ -10,7 +10,7 @@ import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
|
10
10
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
11
11
|
import Feature from './Feature.js';
|
|
12
12
|
import urlFor from './urlFor.js';
|
|
13
|
-
import { g as getSerializers } from './index-
|
|
13
|
+
import { g as getSerializers } from './index-98643e12.js';
|
|
14
14
|
import { B as BlockContent } from './BlockContent-d8cd739c.js';
|
|
15
15
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
16
16
|
import './es6.string.iterator-aa6068a3.js';
|
|
@@ -4,7 +4,7 @@ import React from 'react';
|
|
|
4
4
|
import { useRouter } from 'next/router';
|
|
5
5
|
import Head from 'next/head';
|
|
6
6
|
import { B as BlockContent } from './BlockContent-d8cd739c.js';
|
|
7
|
-
import { g as getSerializers } from './index-
|
|
7
|
+
import { g as getSerializers } from './index-98643e12.js';
|
|
8
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
9
|
import './es6.string.iterator-aa6068a3.js';
|
|
10
10
|
import './_to-object-97770c52.js';
|
|
@@ -5,7 +5,7 @@ import { B as BlockContent } from './BlockContent-d8cd739c.js';
|
|
|
5
5
|
import Col from 'react-bootstrap/Col';
|
|
6
6
|
import Form from 'react-bootstrap/Form';
|
|
7
7
|
import Button from 'react-bootstrap/Button';
|
|
8
|
-
import { g as getSerializers } from './index-
|
|
8
|
+
import { g as getSerializers } from './index-98643e12.js';
|
|
9
9
|
import VideoSeriesListing from './VideoSeriesListing.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
11
|
import './es6.string.iterator-aa6068a3.js';
|
package/dist/esm/View.js
CHANGED
|
@@ -13,7 +13,7 @@ import 'react-bootstrap/Dropdown';
|
|
|
13
13
|
import Form from 'react-bootstrap/Form';
|
|
14
14
|
import FormControl from 'react-bootstrap/FormControl';
|
|
15
15
|
import Button from 'react-bootstrap/Button';
|
|
16
|
-
import { I as InscreenSensor, r as renderAuthor, g as getSerializers } from './index-
|
|
16
|
+
import { I as InscreenSensor, r as renderAuthor, g as getSerializers } from './index-98643e12.js';
|
|
17
17
|
import SocialShare from './SocialShare.js';
|
|
18
18
|
import DFPAdSlot from './AdSlot.js';
|
|
19
19
|
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-2d402d66.js';
|
|
@@ -8205,36 +8205,22 @@ var NativeAd = function NativeAd(props) {
|
|
|
8205
8205
|
);
|
|
8206
8206
|
};
|
|
8207
8207
|
|
|
8208
|
-
var createMarkup = function createMarkup(htmlContent) {
|
|
8209
|
-
return { __html: htmlContent };
|
|
8210
|
-
};
|
|
8211
|
-
|
|
8212
8208
|
var Formstack = function Formstack(_ref) {
|
|
8213
8209
|
var FormID = _ref.FormID,
|
|
8214
8210
|
Caption = _ref.Caption,
|
|
8215
8211
|
_ref$needSegmentSuppo = _ref.needSegmentSupport,
|
|
8216
8212
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
8217
8213
|
|
|
8218
|
-
var
|
|
8219
|
-
useEffect(function () {
|
|
8220
|
-
if (needSegmentSupport) {
|
|
8221
|
-
var newSrc = Segment.getURL('https://mjhlifesciences.formstack.com/forms/js.php/' + FormID, { needSegmentSupport: true });
|
|
8222
|
-
var scriptTag = formstackRef.current.querySelector('script');
|
|
8223
|
-
scriptTag && newSrc && scriptTag.setAttribute('src', newSrc);
|
|
8224
|
-
}
|
|
8225
|
-
}, []);
|
|
8226
|
-
|
|
8227
|
-
var htmlContent = '\n <script type="text/javascript" src="https://mjhlifesciences.formstack.com/forms/js.php/' + FormID + '"></script>\n <noscript><a href="https://mjhlifesciences.formstack.com/forms/' + FormID + '" title="Online Form">' + Caption + '</a></noscript>\n ';
|
|
8228
|
-
|
|
8214
|
+
var url = Segment.getURL('https://mjhlifesciences.formstack.com/forms/' + FormID, { needSegmentSupport: needSegmentSupport });
|
|
8229
8215
|
return React.createElement(
|
|
8230
|
-
'
|
|
8231
|
-
{
|
|
8232
|
-
React.createElement(
|
|
8216
|
+
'section',
|
|
8217
|
+
{ id: 'formstack-section', className: 'formstack-section' },
|
|
8218
|
+
Caption && React.createElement(
|
|
8233
8219
|
'h4',
|
|
8234
8220
|
{ className: 'formstack-caption' },
|
|
8235
8221
|
Caption
|
|
8236
8222
|
),
|
|
8237
|
-
React.createElement('
|
|
8223
|
+
React.createElement('iframe', { src: url, title: Caption || '', width: '100%', height: '600', frameBorder: '0' })
|
|
8238
8224
|
);
|
|
8239
8225
|
};
|
|
8240
8226
|
|
package/dist/esm/index.js
CHANGED
|
@@ -78,7 +78,7 @@ export { default as VerticalHero } from './VerticalHero.js';
|
|
|
78
78
|
export { default as YahooHero } from './YahooHero.js';
|
|
79
79
|
export { default as GridHero } from './GridHero.js';
|
|
80
80
|
export { default as ConferenceArticleCard } from './ConferenceArticleCard.js';
|
|
81
|
-
export { g as getSerializers } from './index-
|
|
81
|
+
export { g as getSerializers } from './index-98643e12.js';
|
|
82
82
|
export { default as Beam } from './Beam.js';
|
|
83
83
|
export { default as Segment } from './Segment.js';
|
|
84
84
|
export { default as KMTracker } from './KMTracker.js';
|