@mjhls/mjh-framework 1.0.991 → 1.0.992-next-update
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/AD.js +6 -6
- package/dist/cjs/AD300x250.js +7 -8
- package/dist/cjs/AD300x250x600.js +7 -8
- package/dist/cjs/AD728x90.js +8 -9
- package/dist/cjs/ADFloatingFooter.js +9 -10
- package/dist/cjs/ADFooter.js +5 -5
- package/dist/cjs/ADGutter.js +9 -10
- package/dist/cjs/{ADInfeed-81006615.js → ADInfeed-eedb4b70.js} +5 -5
- package/dist/cjs/ADSkyscraper.js +9 -10
- package/dist/cjs/ADSponsoredResources.js +9 -10
- package/dist/cjs/ADWebcast.js +9 -10
- package/dist/cjs/ADWelcome.js +13 -14
- package/dist/cjs/{ADlgInfeed-0db07099.js → ADlgInfeed-d5cc88dc.js} +3 -3
- package/dist/cjs/AccordionPanel.js +19 -19
- package/dist/cjs/AdSlot.js +10 -11
- package/dist/cjs/AdSlotsProvider.js +7 -8
- package/dist/cjs/AlgoliaSearch.js +1579 -896
- package/dist/cjs/AlphabeticList.js +13 -13
- package/dist/cjs/ArticleCarousel.js +6 -7
- package/dist/cjs/ArticleProgramLandingPage.js +19 -20
- package/dist/cjs/ArticleSeriesLandingPage.js +13 -14
- package/dist/cjs/ArticleSeriesListing.js +33 -34
- package/dist/cjs/Auth.js +134 -102
- package/dist/cjs/AuthWrapper.js +42 -36
- package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-7d00f6d5.js} +9 -9
- package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-96b44364.js} +18 -18
- package/dist/cjs/Breadcrumbs.js +17 -17
- package/dist/cjs/CMEDeck.js +65 -62
- package/dist/cjs/Column1.js +7 -7
- package/dist/cjs/Column2.js +15 -15
- package/dist/cjs/Column3.js +29 -30
- package/dist/cjs/ConferenceArticleCard.js +12 -12
- package/dist/cjs/{ConferenceBanner-6c9e718a.js → ConferenceBanner-213003ce.js} +3 -3
- package/dist/cjs/ContentCardPaginated.js +55 -58
- package/dist/cjs/DeckContent.js +61 -62
- package/dist/cjs/DeckQueue.js +60 -61
- package/dist/cjs/DeckQueuePaginated.js +52 -55
- package/dist/cjs/{Dfp-9be904d5.js → Dfp-e06695e9.js} +17 -18
- package/dist/cjs/EventsDeck.js +91 -91
- package/dist/cjs/ExternalResources.js +38 -40
- package/dist/cjs/Feature.js +18 -18
- package/dist/cjs/ForbesHero.js +25 -26
- package/dist/cjs/GridContent.js +139 -140
- package/dist/cjs/GridContentPaginated.js +129 -132
- package/dist/cjs/GridHero.js +26 -27
- package/dist/cjs/GroupDeck.js +33 -33
- package/dist/cjs/HamMagazine.js +111 -111
- package/dist/cjs/Header.js +9 -9
- package/dist/cjs/HealthCareProfessionalModal.js +17 -17
- package/dist/cjs/Hero.js +5 -5
- package/dist/cjs/HighlightenVideo.js +13 -13
- package/dist/cjs/HorizontalArticleListing.js +32 -34
- package/dist/cjs/HorizontalHero.js +19 -19
- package/dist/cjs/{ImageSlider-6c00b878.js → ImageSlider-17fdaf3b.js} +72 -72
- package/dist/cjs/IssueContentDeck.js +49 -50
- package/dist/cjs/IssueDeck.js +49 -50
- package/dist/cjs/IssueLanding.js +23 -24
- package/dist/cjs/LeftNav.js +18 -19
- package/dist/cjs/MasterDeck.js +41 -42
- package/dist/cjs/MasterDeckPaginated.js +34 -36
- package/dist/cjs/MediaSeriesCard-5d34eaa3.js +9668 -0
- package/dist/cjs/MediaSeriesLanding.js +41 -41
- package/dist/cjs/MediaSeriesLandingPaginated.js +41 -42
- package/dist/cjs/NavDvm.js +57 -57
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-1fda6732.js} +11 -11
- package/dist/cjs/NavMagazine.js +111 -111
- package/dist/cjs/NavNative.js +100 -100
- package/dist/cjs/OncliveHero.js +12 -12
- package/dist/cjs/OncliveLargeHero.js +49 -50
- package/dist/cjs/PageFilter.js +5 -5
- package/dist/cjs/Pagination-15fb574b.js +97 -0
- package/dist/cjs/PartnerDetailListing.js +53 -54
- package/dist/cjs/PartnerDetailListingPaginated.js +50 -53
- package/dist/cjs/PdfDownload.js +6 -6
- package/dist/cjs/PixelTracking.js +9 -9
- package/dist/cjs/PopUpModal.js +9 -9
- package/dist/cjs/PtceDeck.js +13 -13
- package/dist/cjs/PubSection.js +14 -15
- package/dist/cjs/PubToc.js +4 -4
- package/dist/cjs/PublicationDeck.js +44 -45
- package/dist/cjs/{PublicationFeature-5ccf9b13.js → PublicationFeature-831b844f.js} +29 -29
- package/dist/cjs/PublicationLanding.js +74 -75
- package/dist/cjs/QueueDeckExpanded.js +248 -249
- package/dist/cjs/QueueDeckExpandedPaginated.js +228 -231
- package/dist/cjs/RecentNews.js +17 -17
- package/dist/cjs/RelatedContent.js +14 -15
- package/dist/cjs/RelatedTopicsDropdown.js +14 -14
- package/dist/cjs/RolesDeck.js +20 -20
- package/dist/cjs/Schema.js +2 -2
- package/dist/cjs/Search.js +6 -6
- package/dist/cjs/Segment.js +49 -0
- package/dist/cjs/SeriesListingDeck.js +20 -21
- package/dist/cjs/{SeriesSlider-594b19eb.js → SeriesSlider-812c18c1.js} +27 -27
- package/dist/cjs/SideFooter.js +18 -18
- package/dist/cjs/SocialIcons.js +6 -6
- package/dist/cjs/{SocialSearchComponent-b7faaedc.js → SocialSearchComponent-97f282c9.js} +33 -33
- package/dist/cjs/SocialShare.js +25 -25
- package/dist/cjs/TaxonomyCard.js +45 -46
- package/dist/cjs/TaxonomyDescription.js +15 -17
- package/dist/cjs/TemplateNormal.js +31 -32
- package/dist/cjs/ThumbnailCard.js +10 -11
- package/dist/cjs/Ustream.js +14 -14
- package/dist/cjs/VerticalHero.js +10 -10
- package/dist/cjs/VideoProgramLandingPage.js +33 -34
- package/dist/cjs/VideoSeriesCard.js +13 -14
- package/dist/cjs/VideoSeriesFilter.js +5 -5
- package/dist/cjs/VideoSeriesLandingPage.js +13 -14
- package/dist/cjs/VideoSeriesListing.js +50 -51
- package/dist/cjs/View.js +326 -276
- package/dist/cjs/YahooHero.js +22 -23
- package/dist/cjs/YoutubeGroup.js +38 -39
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-4c7825a1.js} +2 -2
- package/dist/cjs/{extends-7c86182f.js → extends-4ba5ae64.js} +0 -1
- package/dist/cjs/getSerializers.js +10 -12
- package/dist/cjs/{getTargeting-ba942d9a.js → getTargeting-04f873fc.js} +1 -1
- package/dist/cjs/getTargeting.js +2 -2
- package/dist/cjs/{iconBase-be4097c0.js → iconBase-a4e2124e.js} +19 -35
- package/dist/cjs/{index-eadd5035.js → index-4d9f51e0.js} +48 -34
- package/dist/cjs/{index-1d5a3c47.js → index-83306c50.js} +516 -768
- package/dist/cjs/{index-f86bb269.js → index-96c331fd.js} +53 -52
- package/dist/cjs/{index-fc2f1ca2.js → index-d4111f6f.js} +501 -15
- package/dist/cjs/{index.es-f3e47207.js → index.es-1ab8dda7.js} +4 -4
- package/dist/cjs/index.esm-12304a8c.js +13 -0
- package/dist/cjs/{index.esm-d51c9ac6.js → index.esm-137096ed.js} +1 -1
- package/dist/cjs/{index.esm-d81454e7.js → index.esm-cc867b2a.js} +1 -1
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-e9b0af76.js} +15 -15
- package/dist/cjs/index.js +109 -111
- package/dist/cjs/{inherits-de66ea16.js → inherits-34f12d98.js} +0 -3
- package/dist/cjs/lib-deff1680.js +1178 -0
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-3750ed83.js} +114 -30
- package/dist/cjs/setPrototypeOf-a9283c41.js +47 -0
- package/dist/cjs/ustream-api-3819e4aa.js +1 -1
- package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-56020df6.js} +1 -1
- package/dist/esm/AD.js +2 -2
- package/dist/esm/AD300x250.js +5 -6
- package/dist/esm/AD300x250x600.js +5 -6
- package/dist/esm/AD728x90.js +6 -7
- package/dist/esm/ADFloatingFooter.js +4 -5
- package/dist/esm/ADFooter.js +1 -1
- package/dist/esm/ADGutter.js +4 -5
- package/dist/esm/ADSkyscraper.js +4 -5
- package/dist/esm/ADSponsoredResources.js +4 -5
- package/dist/esm/ADWebcast.js +4 -5
- package/dist/esm/ADWelcome.js +4 -5
- package/dist/esm/AccordionPanel.js +3 -3
- package/dist/esm/AdSlot.js +4 -5
- package/dist/esm/AdSlotsProvider.js +5 -6
- package/dist/esm/AlgoliaSearch.js +1189 -506
- package/dist/esm/AlphabeticList.js +2 -2
- package/dist/esm/ArticleCarousel.js +4 -5
- package/dist/esm/ArticleProgramLandingPage.js +10 -11
- package/dist/esm/ArticleSeriesLandingPage.js +7 -8
- package/dist/esm/ArticleSeriesListing.js +8 -9
- package/dist/esm/Auth.js +61 -30
- package/dist/esm/AuthWrapper.js +19 -13
- package/dist/esm/Beam.js +1 -1
- package/dist/esm/Breadcrumbs.js +1 -1
- package/dist/esm/CMEDeck.js +9 -6
- package/dist/esm/Column1.js +1 -2
- package/dist/esm/Column2.js +2 -3
- package/dist/esm/Column3.js +7 -9
- package/dist/esm/ConferenceArticleCard.js +1 -1
- package/dist/esm/ContentCardPaginated.js +12 -15
- package/dist/esm/DeckContent.js +8 -9
- package/dist/esm/DeckQueue.js +7 -8
- package/dist/esm/DeckQueuePaginated.js +11 -14
- package/dist/esm/{Dfp-102f0beb.js → Dfp-d5e18fc5.js} +2 -3
- package/dist/esm/EventsDeck.js +4 -4
- package/dist/esm/ExternalResources.js +10 -12
- package/dist/esm/Feature.js +3 -3
- package/dist/esm/ForbesHero.js +2 -3
- package/dist/esm/GridContent.js +12 -13
- package/dist/esm/GridContentPaginated.js +16 -19
- package/dist/esm/GridHero.js +2 -3
- package/dist/esm/GroupDeck.js +1 -1
- package/dist/esm/HamMagazine.js +12 -13
- package/dist/esm/Header.js +1 -2
- package/dist/esm/HealthCareProfessionalModal.js +1 -1
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HighlightenVideo.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +9 -11
- package/dist/esm/HorizontalHero.js +3 -3
- package/dist/esm/IssueContentDeck.js +2 -3
- package/dist/esm/IssueDeck.js +3 -4
- package/dist/esm/IssueLanding.js +11 -12
- package/dist/esm/KMTracker.js +1 -1
- package/dist/esm/LeftNav.js +4 -6
- package/dist/esm/MasterDeck.js +7 -8
- package/dist/esm/MasterDeckPaginated.js +11 -13
- package/dist/esm/MediaSeriesCard-f3a44438.js +9640 -0
- package/dist/esm/MediaSeriesLanding.js +14 -14
- package/dist/esm/MediaSeriesLandingPaginated.js +16 -17
- package/dist/esm/NavDvm.js +1 -2
- package/dist/esm/NavMagazine.js +10 -11
- package/dist/esm/NavNative.js +7 -8
- package/dist/esm/OncliveHero.js +2 -2
- package/dist/esm/OncliveLargeHero.js +2 -3
- package/dist/esm/PageFilter.js +1 -1
- package/dist/esm/Pagination-a77c57b0.js +90 -0
- package/dist/esm/PartnerDetailListing.js +12 -13
- package/dist/esm/PartnerDetailListingPaginated.js +14 -17
- package/dist/esm/PdfDownload.js +3 -3
- package/dist/esm/PopUpModal.js +1 -1
- package/dist/esm/PtceDeck.js +1 -1
- package/dist/esm/PubSection.js +7 -8
- package/dist/esm/PubToc.js +1 -1
- package/dist/esm/PublicationDeck.js +2 -3
- package/dist/esm/{PublicationFeature-d88e76b9.js → PublicationFeature-d0c5fe6b.js} +1 -1
- package/dist/esm/PublicationLanding.js +3 -4
- package/dist/esm/QueueDeckExpanded.js +9 -10
- package/dist/esm/QueueDeckExpandedPaginated.js +13 -16
- package/dist/esm/RecentNews.js +3 -3
- package/dist/esm/RelatedContent.js +2 -3
- package/dist/esm/RelatedTopicsDropdown.js +1 -1
- package/dist/esm/RolesDeck.js +1 -1
- package/dist/esm/Schema.js +2 -2
- package/dist/esm/Search.js +1 -1
- package/dist/esm/Segment.js +51 -2
- package/dist/esm/SeriesListingDeck.js +7 -8
- package/dist/esm/{SeriesSlider-f771e20d.js → SeriesSlider-8de9942e.js} +7 -7
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +2 -2
- package/dist/esm/SocialIcons.js +1 -1
- package/dist/esm/{SocialSearchComponent-4b56cd8c.js → SocialSearchComponent-315749c5.js} +7 -7
- package/dist/esm/SocialShare.js +1 -1
- package/dist/esm/TaxonomyCard.js +4 -5
- package/dist/esm/TaxonomyDescription.js +9 -11
- package/dist/esm/TemplateNormal.js +10 -11
- package/dist/esm/ThumbnailCard.js +2 -3
- package/dist/esm/Ustream.js +7 -7
- package/dist/esm/VerticalHero.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +10 -11
- package/dist/esm/VideoSeriesCard.js +2 -3
- package/dist/esm/VideoSeriesFilter.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +8 -9
- package/dist/esm/VideoSeriesListing.js +8 -9
- package/dist/esm/View.js +112 -61
- package/dist/esm/YahooHero.js +2 -3
- package/dist/esm/YoutubeGroup.js +8 -9
- package/dist/esm/{extends-6d8e3924.js → extends-aaefe9f6.js} +1 -1
- package/dist/esm/getKeywords.js +1 -1
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getRelatedArticle.js +1 -1
- package/dist/esm/getRootDocGroup.js +1 -1
- package/dist/esm/getSerializers.js +8 -10
- package/dist/esm/getSeriesDetail.js +1 -1
- package/dist/esm/{getTargeting-9bd28724.js → getTargeting-c71ce138.js} +1 -1
- package/dist/esm/getTargeting.js +2 -2
- package/dist/esm/{iconBase-ccc56b97.js → iconBase-8570c2e3.js} +18 -16
- package/dist/esm/{index-03afef1c.js → index-1a58463b.js} +44 -296
- package/dist/esm/{index-79cfd25c.js → index-30a6257d.js} +53 -52
- package/dist/esm/{index-f0fc23eb.js → index-7b29897f.js} +496 -10
- package/dist/esm/{index-755f2cc2.js → index-b62a3b3b.js} +44 -29
- package/dist/esm/{index.esm-1bd8a0a8.js → index.esm-062ce475.js} +1 -1
- package/dist/esm/{index.esm-37268dca.js → index.esm-7481c415.js} +2 -2
- package/dist/esm/{index.esm-eb1e8e80.js → index.esm-7ea6376b.js} +1 -1
- package/dist/esm/index.esm-7f72be8a.js +10 -0
- package/dist/esm/index.js +20 -22
- package/dist/esm/{inherits-a6ba2ec4.js → inherits-5d6082b1.js} +1 -1
- package/dist/esm/lib-11a0f0a8.js +1166 -0
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-30cb6e77.js} +107 -23
- package/dist/esm/setPrototypeOf-11d471fa.js +43 -0
- package/dist/esm/stringify-2b084bee.js +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/ustream-api-d3714624.js +1 -1
- package/package.json +16 -25
- package/dist/cjs/MediaSeriesCard-c48c73c3.js +0 -9505
- package/dist/cjs/Pagination-1e0d5f1d.js +0 -90
- package/dist/cjs/events-1b438fe7.js +0 -469
- package/dist/cjs/index-50be6759.js +0 -105
- package/dist/cjs/index.esm-c1e16606.js +0 -13
- package/dist/cjs/main-f1c77adb.js +0 -973
- package/dist/esm/MediaSeriesCard-79ff1069.js +0 -9495
- package/dist/esm/Pagination-cd21f8c2.js +0 -82
- package/dist/esm/events-6c3a7a63.js +0 -467
- package/dist/esm/index-98ca9cec.js +0 -100
- package/dist/esm/index.esm-9b042655.js +0 -10
- package/dist/esm/main-1894c974.js +0 -961
- /package/dist/esm/{ADInfeed-6d1fc6bf.js → ADInfeed-519f60cb.js} +0 -0
- /package/dist/esm/{ADlgInfeed-dc36c928.js → ADlgInfeed-db2466b4.js} +0 -0
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import ReactDOM from 'react-dom';
|
|
4
3
|
import PropTypes from 'prop-types';
|
|
5
4
|
|
|
6
5
|
var event = createCommonjsModule(function (module, exports) {
|
|
@@ -183,10 +182,6 @@ var _react2 = _interopRequireDefault(React__default);
|
|
|
183
182
|
|
|
184
183
|
|
|
185
184
|
|
|
186
|
-
var _reactDom2 = _interopRequireDefault(ReactDOM);
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
185
|
var _propTypes2 = _interopRequireDefault(PropTypes);
|
|
191
186
|
|
|
192
187
|
|
|
@@ -214,7 +209,14 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
|
|
|
214
209
|
*/
|
|
215
210
|
|
|
216
211
|
|
|
217
|
-
var defaultBoundingClientRect = {
|
|
212
|
+
var defaultBoundingClientRect = {
|
|
213
|
+
top: 0,
|
|
214
|
+
right: 0,
|
|
215
|
+
bottom: 0,
|
|
216
|
+
left: 0,
|
|
217
|
+
width: 0,
|
|
218
|
+
height: 0
|
|
219
|
+
};
|
|
218
220
|
var LISTEN_FLAG = 'data-lazyload-listened';
|
|
219
221
|
var listeners = [];
|
|
220
222
|
var pending = [];
|
|
@@ -240,8 +242,7 @@ var passiveEvent = passiveEventSupported ? { capture: false, passive: true } : f
|
|
|
240
242
|
* @return {bool}
|
|
241
243
|
*/
|
|
242
244
|
var checkOverflowVisible = function checkOverflowVisible(component, parent) {
|
|
243
|
-
var node =
|
|
244
|
-
// const node = component.ref;
|
|
245
|
+
var node = component.ref;
|
|
245
246
|
|
|
246
247
|
var parentTop = void 0;
|
|
247
248
|
var parentLeft = void 0;
|
|
@@ -305,8 +306,7 @@ var checkOverflowVisible = function checkOverflowVisible(component, parent) {
|
|
|
305
306
|
* @return {bool}
|
|
306
307
|
*/
|
|
307
308
|
var checkNormalVisible = function checkNormalVisible(component) {
|
|
308
|
-
var node =
|
|
309
|
-
// const node = component.ref;
|
|
309
|
+
var node = component.ref;
|
|
310
310
|
|
|
311
311
|
// If this element is hidden by css rules somehow, it's definitely invisible
|
|
312
312
|
if (!(node.offsetWidth || node.offsetHeight || node.getClientRects().length)) return false;
|
|
@@ -338,8 +338,7 @@ var checkNormalVisible = function checkNormalVisible(component) {
|
|
|
338
338
|
* @param {React} component React component that respond to scroll and resize
|
|
339
339
|
*/
|
|
340
340
|
var checkVisible = function checkVisible(component) {
|
|
341
|
-
var node =
|
|
342
|
-
// const node = component.ref;
|
|
341
|
+
var node = component.ref;
|
|
343
342
|
if (!(node instanceof HTMLElement)) {
|
|
344
343
|
return;
|
|
345
344
|
}
|
|
@@ -415,16 +414,10 @@ var LazyLoad = function (_Component) {
|
|
|
415
414
|
var _this = _possibleConstructorReturn(this, (LazyLoad.__proto__ || Object.getPrototypeOf(LazyLoad)).call(this, props));
|
|
416
415
|
|
|
417
416
|
_this.visible = false;
|
|
418
|
-
|
|
417
|
+
_this.setRef = _this.setRef.bind(_this);
|
|
419
418
|
return _this;
|
|
420
419
|
}
|
|
421
420
|
|
|
422
|
-
// setRef(element) {
|
|
423
|
-
// if (element) {
|
|
424
|
-
// this.ref = element;
|
|
425
|
-
// }
|
|
426
|
-
// }
|
|
427
|
-
|
|
428
421
|
_createClass(LazyLoad, [{
|
|
429
422
|
key: 'componentDidMount',
|
|
430
423
|
value: function componentDidMount() {
|
|
@@ -459,8 +452,7 @@ var LazyLoad = function (_Component) {
|
|
|
459
452
|
}
|
|
460
453
|
|
|
461
454
|
if (this.props.overflow) {
|
|
462
|
-
var parent = (0, _scrollParent2.default)(
|
|
463
|
-
// const parent = scrollParent(this.ref);
|
|
455
|
+
var parent = (0, _scrollParent2.default)(this.ref);
|
|
464
456
|
if (parent && typeof parent.getAttribute === 'function') {
|
|
465
457
|
var listenerCount = 1 + +parent.getAttribute(LISTEN_FLAG);
|
|
466
458
|
if (listenerCount === 1) {
|
|
@@ -495,8 +487,7 @@ var LazyLoad = function (_Component) {
|
|
|
495
487
|
key: 'componentWillUnmount',
|
|
496
488
|
value: function componentWillUnmount() {
|
|
497
489
|
if (this.props.overflow) {
|
|
498
|
-
var parent = (0, _scrollParent2.default)(
|
|
499
|
-
// const parent = scrollParent(this.ref);
|
|
490
|
+
var parent = (0, _scrollParent2.default)(this.ref);
|
|
500
491
|
if (parent && typeof parent.getAttribute === 'function') {
|
|
501
492
|
var listenerCount = +parent.getAttribute(LISTEN_FLAG) - 1;
|
|
502
493
|
if (listenerCount === 0) {
|
|
@@ -518,14 +509,33 @@ var LazyLoad = function (_Component) {
|
|
|
518
509
|
(0, event.off)(window, 'scroll', finalLazyLoadHandler, passiveEvent);
|
|
519
510
|
}
|
|
520
511
|
}
|
|
512
|
+
}, {
|
|
513
|
+
key: 'setRef',
|
|
514
|
+
value: function setRef(element) {
|
|
515
|
+
if (element) {
|
|
516
|
+
this.ref = element;
|
|
517
|
+
}
|
|
518
|
+
}
|
|
521
519
|
}, {
|
|
522
520
|
key: 'render',
|
|
523
521
|
value: function render() {
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
522
|
+
var _props2 = this.props,
|
|
523
|
+
height = _props2.height,
|
|
524
|
+
children = _props2.children,
|
|
525
|
+
placeholder = _props2.placeholder,
|
|
526
|
+
className = _props2.className,
|
|
527
|
+
classNamePrefix = _props2.classNamePrefix,
|
|
528
|
+
style = _props2.style;
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
return _react2.default.createElement(
|
|
532
|
+
'div',
|
|
533
|
+
{ className: classNamePrefix + '-wrapper ' + className, ref: this.setRef, style: style },
|
|
534
|
+
this.visible ? children : placeholder ? placeholder : _react2.default.createElement('div', {
|
|
535
|
+
style: { height: height },
|
|
536
|
+
className: classNamePrefix + '-placeholder'
|
|
537
|
+
})
|
|
538
|
+
);
|
|
529
539
|
}
|
|
530
540
|
}]);
|
|
531
541
|
|
|
@@ -533,6 +543,8 @@ var LazyLoad = function (_Component) {
|
|
|
533
543
|
}(React__default.Component);
|
|
534
544
|
|
|
535
545
|
LazyLoad.propTypes = {
|
|
546
|
+
className: _propTypes2.default.string,
|
|
547
|
+
classNamePrefix: _propTypes2.default.string,
|
|
536
548
|
once: _propTypes2.default.bool,
|
|
537
549
|
height: _propTypes2.default.oneOfType([_propTypes2.default.number, _propTypes2.default.string]),
|
|
538
550
|
offset: _propTypes2.default.oneOfType([_propTypes2.default.number, _propTypes2.default.arrayOf(_propTypes2.default.number)]),
|
|
@@ -544,10 +556,13 @@ LazyLoad.propTypes = {
|
|
|
544
556
|
debounce: _propTypes2.default.oneOfType([_propTypes2.default.number, _propTypes2.default.bool]),
|
|
545
557
|
placeholder: _propTypes2.default.node,
|
|
546
558
|
scrollContainer: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.object]),
|
|
547
|
-
unmountIfInvisible: _propTypes2.default.bool
|
|
559
|
+
unmountIfInvisible: _propTypes2.default.bool,
|
|
560
|
+
style: _propTypes2.default.object
|
|
548
561
|
};
|
|
549
562
|
|
|
550
563
|
LazyLoad.defaultProps = {
|
|
564
|
+
className: '',
|
|
565
|
+
classNamePrefix: 'lazyload',
|
|
551
566
|
once: false,
|
|
552
567
|
offset: 0,
|
|
553
568
|
overflow: false,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { r as reactSocialIcons_1 } from './react-social-icons-
|
|
3
|
-
import { G as GenIcon } from './iconBase-
|
|
2
|
+
import { r as reactSocialIcons_1 } from './react-social-icons-30cb6e77.js';
|
|
3
|
+
import { G as GenIcon } from './iconBase-8570c2e3.js';
|
|
4
4
|
|
|
5
5
|
var year = new Date().getFullYear();
|
|
6
6
|
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { G as GenIcon } from './iconBase-8570c2e3.js';
|
|
2
|
+
|
|
3
|
+
// THIS FILE IS AUTO GENERATED
|
|
4
|
+
function MdEmail (props) {
|
|
5
|
+
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24"},"child":[{"tag":"path","attr":{"fill":"none","d":"M0 0h24v24H0z"}},{"tag":"path","attr":{"d":"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"}}]})(props);
|
|
6
|
+
}function MdPictureAsPdf (props) {
|
|
7
|
+
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24"},"child":[{"tag":"path","attr":{"fill":"none","d":"M0 0h24v24H0z"}},{"tag":"path","attr":{"d":"M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8.5 7.5c0 .83-.67 1.5-1.5 1.5H9v2H7.5V7H10c.83 0 1.5.67 1.5 1.5v1zm5 2c0 .83-.67 1.5-1.5 1.5h-2.5V7H15c.83 0 1.5.67 1.5 1.5v3zm4-3H19v1h1.5V11H19v2h-1.5V7h3v1.5zM9 9.5h1v-1H9v1zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm10 5.5h1v-3h-1v3z"}}]})(props);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { MdEmail as M, MdPictureAsPdf as a };
|
package/dist/esm/index.js
CHANGED
|
@@ -53,7 +53,7 @@ export { default as urlFor } from './urlFor.js';
|
|
|
53
53
|
import Row from 'react-bootstrap/Row';
|
|
54
54
|
import Col from 'react-bootstrap/Col';
|
|
55
55
|
import 'react-bootstrap/Badge';
|
|
56
|
-
import { L as LazyLoad } from './index-
|
|
56
|
+
import { L as LazyLoad } from './index-b62a3b3b.js';
|
|
57
57
|
export { default as Breadcrumbs } from './Breadcrumbs.js';
|
|
58
58
|
export { default as Hero } from './Hero.js';
|
|
59
59
|
export { default as AlphabeticList } from './AlphabeticList.js';
|
|
@@ -73,10 +73,10 @@ export { default as PubToc } from './PubToc.js';
|
|
|
73
73
|
export { default as PubSection } from './PubSection.js';
|
|
74
74
|
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958ef5fc.js';
|
|
75
75
|
import { _ as _JSON$stringify } from './stringify-2b084bee.js';
|
|
76
|
-
import { _ as _extends } from './extends-
|
|
76
|
+
import { _ as _extends } from './extends-aaefe9f6.js';
|
|
77
77
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
78
78
|
import PropTypes from 'prop-types';
|
|
79
|
-
import { m as momentTimezone } from './index-
|
|
79
|
+
import { m as momentTimezone } from './index-30a6257d.js';
|
|
80
80
|
import ProgressBar from 'react-bootstrap/ProgressBar';
|
|
81
81
|
export { PixelTrackingArticle, PixelTrackingLandingPages } from './PixelTracking.js';
|
|
82
82
|
export { default as ForbesHero } from './ForbesHero.js';
|
|
@@ -87,7 +87,7 @@ export { default as VerticalHero } from './VerticalHero.js';
|
|
|
87
87
|
export { default as YahooHero } from './YahooHero.js';
|
|
88
88
|
export { default as GridHero } from './GridHero.js';
|
|
89
89
|
export { default as ConferenceArticleCard } from './ConferenceArticleCard.js';
|
|
90
|
-
export { g as getSerializers } from './index-
|
|
90
|
+
export { g as getSerializers } from './index-1a58463b.js';
|
|
91
91
|
export { default as Beam } from './Beam.js';
|
|
92
92
|
export { default as Segment } from './Segment.js';
|
|
93
93
|
export { default as KMTracker } from './KMTracker.js';
|
|
@@ -102,14 +102,14 @@ 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-
|
|
105
|
+
export { g as getTargeting } from './getTargeting-c71ce138.js';
|
|
106
106
|
export { default as getKeywords } from './getKeywords.js';
|
|
107
107
|
export { default as getQuery } from './getQuery.js';
|
|
108
108
|
import './toConsumableArray-f7074d7c.js';
|
|
109
109
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
110
110
|
import './core.get-iterator-method-ea258bb1.js';
|
|
111
111
|
import './_iter-detect-98db3b07.js';
|
|
112
|
-
import './inherits-
|
|
112
|
+
import './inherits-5d6082b1.js';
|
|
113
113
|
import './_object-sap-7cee6f84.js';
|
|
114
114
|
import './define-property-5f1bda73.js';
|
|
115
115
|
import './typeof-e9fc0c5d.js';
|
|
@@ -117,8 +117,7 @@ import './web.dom.iterable-ab4dea5c.js';
|
|
|
117
117
|
import './_is-array-8d21b9e3.js';
|
|
118
118
|
import './_object-pie-133f504a.js';
|
|
119
119
|
import './_library-528f1934.js';
|
|
120
|
-
import './index-
|
|
121
|
-
import './events-6c3a7a63.js';
|
|
120
|
+
import './index-7b29897f.js';
|
|
122
121
|
import 'react-bootstrap/Container';
|
|
123
122
|
import 'react-bootstrap/Card';
|
|
124
123
|
import './moment-bc12cb97.js';
|
|
@@ -129,34 +128,34 @@ import './toNumber-5aeba6e7.js';
|
|
|
129
128
|
import './index.es-a6137319.js';
|
|
130
129
|
import './visibility-sensor-72fd8f8b.js';
|
|
131
130
|
import 'react-dom';
|
|
132
|
-
import './
|
|
131
|
+
import './lib-11a0f0a8.js';
|
|
133
132
|
import './entities-6d9154b4.js';
|
|
134
|
-
import './ADInfeed-
|
|
133
|
+
import './ADInfeed-519f60cb.js';
|
|
135
134
|
import './lodash-f97fd99a.js';
|
|
136
|
-
import './ADlgInfeed-
|
|
135
|
+
import './ADlgInfeed-db2466b4.js';
|
|
137
136
|
import './getContentCategory-15dcc413.js';
|
|
138
137
|
import './get-3c308da4.js';
|
|
139
138
|
import './eq-bdcbf886.js';
|
|
140
139
|
import './AuthorComponent-11adff02.js';
|
|
141
|
-
import './PublicationFeature-
|
|
140
|
+
import './PublicationFeature-d0c5fe6b.js';
|
|
142
141
|
import 'react-bootstrap/Button';
|
|
143
142
|
import 'react-bootstrap/Media';
|
|
144
143
|
import './BlockContent-1e73bd2c.js';
|
|
145
144
|
import './index-3f5c03b2.js';
|
|
146
|
-
import './react-social-icons-
|
|
145
|
+
import './react-social-icons-30cb6e77.js';
|
|
147
146
|
import './index-c7e2ac95.js';
|
|
148
147
|
import './smoothscroll-fa4e3f8c.js';
|
|
149
148
|
import 'react-bootstrap';
|
|
150
149
|
import './timeDifferenceCalc.js';
|
|
151
|
-
import './index.esm-
|
|
152
|
-
import './iconBase-
|
|
150
|
+
import './index.esm-7ea6376b.js';
|
|
151
|
+
import './iconBase-8570c2e3.js';
|
|
153
152
|
import './defineProperty-8c30428f.js';
|
|
154
153
|
import './_object-to-array-2300e51b.js';
|
|
155
154
|
import 'react-bootstrap/Spinner';
|
|
156
155
|
import 'react-bootstrap/Form';
|
|
157
156
|
import './js.cookie-6874175c.js';
|
|
158
157
|
import './typeof-2f07d0e8.js';
|
|
159
|
-
import './
|
|
158
|
+
import './setPrototypeOf-11d471fa.js';
|
|
160
159
|
import './ConferenceBanner-8792ebd2.js';
|
|
161
160
|
import 'next/head';
|
|
162
161
|
import 'react-bootstrap/ListGroup';
|
|
@@ -166,10 +165,10 @@ import 'react-share';
|
|
|
166
165
|
import 'react-bootstrap/Nav';
|
|
167
166
|
import 'react-bootstrap/Navbar';
|
|
168
167
|
import 'react-bootstrap/NavDropdown';
|
|
169
|
-
import './index.esm-
|
|
168
|
+
import './index.esm-7f72be8a.js';
|
|
170
169
|
import './NavFooter-e27bd93b.js';
|
|
171
|
-
import './index.esm-
|
|
172
|
-
import './SocialSearchComponent-
|
|
170
|
+
import './index.esm-7481c415.js';
|
|
171
|
+
import './SocialSearchComponent-315749c5.js';
|
|
173
172
|
import 'react-bootstrap/FormControl';
|
|
174
173
|
import 'react-ga';
|
|
175
174
|
import 'react-bootstrap/Carousel';
|
|
@@ -177,7 +176,7 @@ import 'react-bootstrap/Breadcrumb';
|
|
|
177
176
|
import './keys-31dcdb31.js';
|
|
178
177
|
import 'react-bootstrap/DropdownButton';
|
|
179
178
|
import 'react-bootstrap/Dropdown';
|
|
180
|
-
import './index.esm-
|
|
179
|
+
import './index.esm-062ce475.js';
|
|
181
180
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
182
181
|
import './urlForFile-b69adffc.js';
|
|
183
182
|
import 'react-bootstrap/Modal';
|
|
@@ -192,10 +191,9 @@ import 'swr';
|
|
|
192
191
|
import 'passport-local';
|
|
193
192
|
import 'mysql';
|
|
194
193
|
import './md5-4e42248e.js';
|
|
195
|
-
import './SeriesSlider-
|
|
194
|
+
import './SeriesSlider-8de9942e.js';
|
|
196
195
|
import './style-inject.es-1f59c1d0.js';
|
|
197
196
|
import 'disqus-react';
|
|
198
|
-
import 'file-saver';
|
|
199
197
|
import 'react-twitter-embed';
|
|
200
198
|
import './ImageSlider-f84174cb.js';
|
|
201
199
|
import './defineProperty-23a8f8cd.js';
|
|
@@ -176,4 +176,4 @@ exports.default = function (subClass, superClass) {
|
|
|
176
176
|
|
|
177
177
|
var _inherits = unwrapExports(inherits);
|
|
178
178
|
|
|
179
|
-
export { _inherits as _, _classCallCheck as a, _possibleConstructorReturn as b, _Object$getPrototypeOf as c, _createClass as d
|
|
179
|
+
export { _inherits as _, _classCallCheck as a, _possibleConstructorReturn as b, _Object$getPrototypeOf as c, _createClass as d };
|