@mjhls/mjh-framework 1.0.877-v1pageviewfix → 1.0.878
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/AD300x250.js +1 -1
- package/dist/cjs/AD300x250x600.js +1 -1
- package/dist/cjs/AD728x90.js +1 -1
- package/dist/cjs/ADFloatingFooter.js +1 -1
- package/dist/cjs/ADGutter.js +1 -1
- package/dist/cjs/ADSkyscraper.js +1 -1
- package/dist/cjs/ADSponsoredResources.js +1 -1
- package/dist/cjs/ADWebcast.js +1 -1
- package/dist/cjs/ADWelcome.js +1 -1
- package/dist/cjs/AccordionPanel.js +2 -2
- package/dist/cjs/AdSlot.js +1 -1
- package/dist/cjs/AdSlotsProvider.js +1 -1
- package/dist/cjs/AlgoliaSearch.js +68 -134
- package/dist/cjs/ArticleCarousel.js +2 -2
- package/dist/cjs/ArticleProgramLandingPage.js +8 -8
- package/dist/cjs/ArticleSeriesLandingPage.js +4 -4
- package/dist/cjs/ArticleSeriesListing.js +4 -4
- package/dist/cjs/Auth.js +3 -3
- package/dist/cjs/AuthWrapper.js +293 -1469
- package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-36e54d77.js} +1 -1
- package/dist/cjs/CMEDeck.js +1 -1
- package/dist/cjs/Column3.js +1 -1
- package/dist/cjs/ConferenceArticleCard.js +1 -1
- package/dist/cjs/DeckContent.js +4 -4
- package/dist/cjs/DeckQueue.js +3 -3
- package/dist/cjs/EventsDeck.js +9 -3
- package/dist/cjs/ExternalResources.js +8 -8
- package/dist/cjs/Feature.js +2 -2
- package/dist/cjs/ForbesHero.js +1 -1
- package/dist/cjs/GridContent.js +5 -5
- package/dist/cjs/GridHero.js +2 -2
- package/dist/cjs/GroupDeck.js +1 -1
- package/dist/cjs/HamMagazine.js +6 -6
- package/dist/cjs/Hero.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +8 -8
- package/dist/cjs/HorizontalHero.js +3 -3
- package/dist/cjs/IssueContentDeck.js +1 -1
- package/dist/cjs/IssueDeck.js +1 -1
- package/dist/cjs/IssueLanding.js +10 -10
- package/dist/cjs/LeftNav.js +1 -1
- package/dist/cjs/MasterDeck.js +4 -4
- package/dist/cjs/MediaSeriesLanding.js +24 -128
- package/dist/cjs/NavMagazine.js +6 -6
- package/dist/cjs/NavNative.js +3 -3
- package/dist/cjs/OncliveHero.js +2 -2
- package/dist/cjs/OncliveLargeHero.js +2 -2
- package/dist/cjs/PartnerDetailListing.js +17 -2643
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PubSection.js +5 -5
- package/dist/cjs/PublicationDeck.js +1 -1
- package/dist/cjs/PublicationLanding.js +0 -4
- package/dist/cjs/QueueDeckExpanded.js +5 -5
- package/dist/cjs/RecentNews.js +2 -2
- package/dist/cjs/RelatedContent.js +1 -1
- package/dist/cjs/SeriesListingDeck.js +3 -3
- package/dist/cjs/{SeriesSlider-ba0c5d1a.js → SeriesSlider-ce3261cb.js} +1 -1
- package/dist/cjs/{SocialSearchComponent-4942ddfc.js → SocialSearchComponent-5ec44406.js} +3 -3
- package/dist/cjs/TaxonomyCard.js +2 -2
- package/dist/cjs/TaxonomyDescription.js +8 -8
- package/dist/cjs/TemplateNormal.js +6 -6
- package/dist/cjs/ThumbnailCard.js +2 -2
- package/dist/cjs/Ustream.js +4 -4
- package/dist/cjs/VerticalHero.js +1 -1
- package/dist/cjs/VideoProgramLandingPage.js +8 -8
- package/dist/cjs/VideoSeriesCard.js +1 -1
- package/dist/cjs/VideoSeriesLandingPage.js +4 -4
- package/dist/cjs/VideoSeriesListing.js +4 -4
- package/dist/cjs/View.js +19 -23
- package/dist/cjs/YahooHero.js +2 -2
- package/dist/cjs/YoutubeGroup.js +2 -2
- package/dist/cjs/{entities-df1aed86.js → entities-3f9d0f2f.js} +0 -4
- package/dist/cjs/getRelatedArticle.js +2 -2
- package/dist/cjs/getSerializers.js +8 -8
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/{index-50be6759.js → index-8041a4eb.js} +9 -15
- package/dist/cjs/{index-602af93b.js → index-e2ec2eae.js} +5 -5
- package/dist/cjs/{index-d48b231c.js → index-efca863c.js} +5 -5
- package/dist/cjs/{index.esm-f27f80d9.js → index.esm-05850a2f.js} +1 -1
- package/dist/cjs/{index.esm-c1e16606.js → index.esm-44f3e2d0.js} +1 -1
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-8123cf40.js} +1 -1
- package/dist/cjs/{index.esm-00a6aade.js → index.esm-974f47d9.js} +1 -1
- package/dist/cjs/index.js +17 -18
- package/dist/cjs/{main-f1c77adb.js → main-025fdc78.js} +3 -3
- package/dist/cjs/urlFor.js +1 -1
- package/dist/cjs/{util-93a37fd0.js → util-6f784d85.js} +0 -11
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +13 -13
- package/dist/esm/AD300x250x600.js +13 -13
- package/dist/esm/AD728x90.js +14 -14
- package/dist/esm/ADFloatingFooter.js +16 -16
- package/dist/esm/ADFooter.js +9 -9
- package/dist/esm/ADGutter.js +16 -16
- package/dist/esm/{ADInfeed-19675d06.js → ADInfeed-014c7bd1.js} +6 -6
- package/dist/esm/ADSkyscraper.js +16 -16
- package/dist/esm/ADSponsoredResources.js +16 -16
- package/dist/esm/ADWebcast.js +16 -16
- package/dist/esm/ADWelcome.js +20 -20
- package/dist/esm/{ADlgInfeed-970ed008.js → ADlgInfeed-75e097f4.js} +5 -5
- package/dist/esm/AccordionPanel.js +21 -21
- package/dist/esm/AdSlot.js +12 -12
- package/dist/esm/AdSlotsProvider.js +9 -9
- package/dist/esm/AlgoliaSearch.js +288 -354
- package/dist/esm/AlphabeticList.js +19 -19
- package/dist/esm/ArticleCarousel.js +11 -11
- package/dist/esm/ArticleProgramLandingPage.js +34 -34
- package/dist/esm/ArticleSeriesLandingPage.js +26 -26
- package/dist/esm/ArticleSeriesListing.js +41 -41
- package/dist/esm/Auth.js +81 -81
- package/dist/esm/AuthWrapper.js +312 -1488
- package/dist/esm/{AuthorComponent-11adff02.js → AuthorComponent-46a745ba.js} +11 -11
- package/dist/esm/Beam.js +5 -5
- package/dist/esm/{BlockContent-1e73bd2c.js → BlockContent-52cf21c5.js} +4 -4
- package/dist/esm/Breadcrumbs.js +14 -14
- package/dist/esm/CMEDeck.js +68 -68
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +18 -18
- package/dist/esm/Column3.js +32 -32
- package/dist/esm/ConferenceArticleCard.js +17 -17
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +64 -64
- package/dist/esm/DeckQueue.js +55 -55
- package/dist/esm/{Dfp-102f0beb.js → Dfp-4ca12f2e.js} +13 -13
- package/dist/esm/EventsDeck.js +82 -76
- package/dist/esm/ExternalResources.js +52 -52
- package/dist/esm/Feature.js +19 -19
- package/dist/esm/ForbesHero.js +30 -30
- package/dist/esm/GridContent.js +139 -139
- package/dist/esm/GridHero.js +32 -32
- package/dist/esm/GroupDeck.js +40 -40
- package/dist/esm/HamMagazine.js +91 -91
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +11 -11
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +48 -48
- package/dist/esm/HorizontalHero.js +24 -24
- package/dist/esm/IssueContentDeck.js +43 -43
- package/dist/esm/IssueDeck.js +40 -40
- package/dist/esm/IssueLanding.js +39 -39
- package/dist/esm/LeftNav.js +23 -23
- package/dist/esm/MasterDeck.js +52 -52
- package/dist/esm/MediaSeriesLanding.js +355 -459
- package/dist/esm/NavDvm.js +48 -48
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +94 -94
- package/dist/esm/NavNative.js +82 -82
- package/dist/esm/OncliveHero.js +17 -17
- package/dist/esm/OncliveLargeHero.js +55 -55
- package/dist/esm/PageFilter.js +9 -9
- package/dist/esm/PartnerDetailListing.js +88 -2713
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +11 -11
- package/dist/esm/PubSection.js +24 -24
- package/dist/esm/PubToc.js +10 -10
- package/dist/esm/PublicationDeck.js +37 -37
- package/dist/esm/PublicationLanding.js +57 -61
- package/dist/esm/QueueDeckExpanded.js +256 -256
- package/dist/esm/RecentNews.js +18 -18
- package/dist/esm/RelatedContent.js +19 -19
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +8 -8
- package/dist/esm/Segment.js +4 -4
- package/dist/esm/SeriesListingDeck.js +26 -26
- package/dist/esm/{SeriesSlider-45adb8dc.js → SeriesSlider-7a6c45ce.js} +20 -20
- package/dist/esm/SideFooter.js +25 -25
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-8e0fcf66.js → SocialSearchComponent-bdecba55.js} +23 -23
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +40 -40
- package/dist/esm/TaxonomyDescription.js +30 -30
- package/dist/esm/TemplateNormal.js +38 -38
- package/dist/esm/ThumbnailCard.js +14 -14
- package/dist/esm/Ustream.js +24 -24
- package/dist/esm/VerticalHero.js +15 -15
- package/dist/esm/VideoProgramLandingPage.js +41 -41
- package/dist/esm/VideoSeriesCard.js +20 -20
- package/dist/esm/VideoSeriesFilter.js +11 -11
- package/dist/esm/VideoSeriesLandingPage.js +26 -26
- package/dist/esm/VideoSeriesListing.js +57 -57
- package/dist/esm/View.js +199 -203
- package/dist/esm/YahooHero.js +28 -28
- package/dist/esm/YoutubeGroup.js +38 -38
- package/dist/esm/{_is-array-8d21b9e3.js → _is-array-893ab020.js} +1 -1
- package/dist/esm/{_iter-detect-98db3b07.js → _iter-detect-f089461c.js} +1 -1
- package/dist/esm/{_object-sap-7cee6f84.js → _object-sap-169d6272.js} +1 -1
- package/dist/esm/{_object-to-array-2300e51b.js → _object-to-array-50a6b9a3.js} +1 -1
- package/dist/esm/{asyncToGenerator-5ef104a7.js → asyncToGenerator-b4dfe691.js} +3 -3
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-b43c695a.js} +3 -3
- package/dist/esm/{core.get-iterator-method-ea258bb1.js → core.get-iterator-method-e903ff31.js} +1 -1
- package/dist/esm/{define-property-5f1bda73.js → define-property-99e66838.js} +1 -1
- package/dist/esm/{defineProperty-8c30428f.js → defineProperty-8fa0bc8d.js} +1 -1
- package/dist/esm/{entities-6d9154b4.js → entities-932b50cf.js} +0 -4
- package/dist/esm/{extends-6d8e3924.js → extends-dc6a71fd.js} +1 -1
- package/dist/esm/faundadb.js +4 -4
- package/dist/esm/getRelatedArticle.js +7 -7
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +25 -25
- package/dist/esm/{getTargeting-4061f839.js → getTargeting-ff2c9409.js} +2 -2
- package/dist/esm/getTargeting.js +5 -5
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-3f5c03b2.js → index-0dbff1d1.js} +5 -5
- package/dist/esm/{index-f0fc23eb.js → index-2446af28.js} +3 -3
- package/dist/esm/{index-755f2cc2.js → index-35bdcc81.js} +4 -4
- package/dist/esm/{index-98ca9cec.js → index-67e1773f.js} +9 -15
- package/dist/esm/{index-51694988.js → index-f2783f14.js} +428 -428
- package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
- package/dist/esm/{index.esm-f6156a57.js → index.esm-3fdda599.js} +1 -1
- package/dist/esm/{index.esm-37268dca.js → index.esm-8016b507.js} +16 -16
- package/dist/esm/{index.esm-d4932dea.js → index.esm-a8ff922c.js} +1 -1
- package/dist/esm/{index.esm-9b042655.js → index.esm-c6715e80.js} +1 -1
- package/dist/esm/index.js +59 -60
- package/dist/esm/{inherits-a6ba2ec4.js → inherits-8a801a18.js} +4 -4
- package/dist/esm/{keys-31dcdb31.js → keys-425c8ab0.js} +2 -2
- package/dist/esm/{main-1894c974.js → main-4136096f.js} +19 -19
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-91f9716f.js} +5 -5
- package/dist/esm/{slicedToArray-6ebcbfea.js → slicedToArray-ca2c8b8d.js} +2 -2
- package/dist/esm/{stringify-2b084bee.js → stringify-c21932b3.js} +1 -1
- package/dist/esm/{toConsumableArray-f7074d7c.js → toConsumableArray-7b1c0e23.js} +2 -2
- package/dist/esm/{typeof-e9fc0c5d.js → typeof-83d9eb10.js} +3 -3
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{ustream-api-d3714624.js → ustream-api-41166338.js} +4 -4
- package/dist/esm/{util-8ed16d48.js → util-3ab476bf.js} +0 -11
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-ab4dea5c.js → web.dom.iterable-fdf034f5.js} +1 -1
- package/package.json +1 -1
- package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/esm/defineProperty-23a8f8cd.js +0 -68
- package/dist/esm/typeof-2f07d0e8.js +0 -30
- /package/dist/cjs/{ADInfeed-b6b7b0ec.js → ADInfeed-f7e6956b.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-8e290400.js → ADlgInfeed-4df6d147.js} +0 -0
package/dist/esm/SideFooter.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { _ as _defineProperty } from './defineProperty-
|
|
2
|
-
import
|
|
3
|
-
import { r as reactSocialIcons_1 } from './react-social-icons-
|
|
1
|
+
import { _ as _defineProperty } from './defineProperty-8fa0bc8d.js';
|
|
2
|
+
import React, { useRef, useEffect } from 'react';
|
|
3
|
+
import { r as reactSocialIcons_1 } from './react-social-icons-91f9716f.js';
|
|
4
4
|
import { g as get_1 } from './get-3c308da4.js';
|
|
5
5
|
import Segment from './Segment.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import './define-property-
|
|
8
|
-
import './core.get-iterator-method-
|
|
7
|
+
import './define-property-99e66838.js';
|
|
8
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
9
9
|
import 'prop-types';
|
|
10
10
|
import './isSymbol-a7e9aafe.js';
|
|
11
11
|
import './eq-bdcbf886.js';
|
|
12
|
-
import './asyncToGenerator-
|
|
13
|
-
import './web.dom.iterable-
|
|
12
|
+
import './asyncToGenerator-b4dfe691.js';
|
|
13
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
14
14
|
import './_library-528f1934.js';
|
|
15
|
-
import './_iter-detect-
|
|
15
|
+
import './_iter-detect-f089461c.js';
|
|
16
16
|
|
|
17
17
|
var year = new Date().getFullYear();
|
|
18
18
|
|
|
19
19
|
var renderLink = function renderLink(row) {
|
|
20
20
|
if (row.blank) {
|
|
21
|
-
return
|
|
21
|
+
return React.createElement(
|
|
22
22
|
'a',
|
|
23
23
|
_defineProperty({ rel: 'noopener', href: row.url, needsegmentsupport: row.needSegmentSupport ? 'true' : '', target: '_blank' }, 'rel', 'noopener noreferrer'),
|
|
24
24
|
row.title
|
|
25
25
|
);
|
|
26
26
|
}
|
|
27
|
-
return
|
|
27
|
+
return React.createElement(
|
|
28
28
|
'a',
|
|
29
29
|
{ href: row.url, needsegmentsupport: row.needSegmentSupport ? 'true' : '' },
|
|
30
30
|
row.title
|
|
@@ -67,24 +67,24 @@ var SideFooter = function SideFooter(props) {
|
|
|
67
67
|
name = copyRightText;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
return
|
|
70
|
+
return React.createElement(
|
|
71
71
|
'div',
|
|
72
72
|
{ className: 'side-footer', ref: sfRef },
|
|
73
|
-
|
|
73
|
+
React.createElement(
|
|
74
74
|
'ul',
|
|
75
75
|
null,
|
|
76
76
|
footerLinks && footerLinks.map(function (row, index) {
|
|
77
|
-
return
|
|
77
|
+
return React.createElement(
|
|
78
78
|
'li',
|
|
79
79
|
{ key: index },
|
|
80
80
|
renderLink(row)
|
|
81
81
|
);
|
|
82
82
|
}),
|
|
83
|
-
|
|
83
|
+
React.createElement(
|
|
84
84
|
'li',
|
|
85
85
|
{ style: { marginTop: '10px' } },
|
|
86
86
|
socialLinks && socialLinks.map(function (row, index) {
|
|
87
|
-
return
|
|
87
|
+
return React.createElement(reactSocialIcons_1, {
|
|
88
88
|
target: row.blank ? '_blank' : '_self',
|
|
89
89
|
rel: 'noopener noreferrer',
|
|
90
90
|
key: index,
|
|
@@ -97,39 +97,39 @@ var SideFooter = function SideFooter(props) {
|
|
|
97
97
|
})
|
|
98
98
|
)
|
|
99
99
|
),
|
|
100
|
-
logo &&
|
|
100
|
+
logo && React.createElement(
|
|
101
101
|
'ul',
|
|
102
102
|
null,
|
|
103
|
-
|
|
103
|
+
React.createElement(
|
|
104
104
|
'li',
|
|
105
105
|
{ className: 'pt-2' },
|
|
106
|
-
|
|
106
|
+
React.createElement(
|
|
107
107
|
'a',
|
|
108
108
|
{ href: 'https://www.mjhlifesciences.com' },
|
|
109
|
-
|
|
109
|
+
React.createElement('img', { style: { maxWidth: '100%' }, alt: 'MJHLS Brand Logo', src: logo })
|
|
110
110
|
)
|
|
111
111
|
)
|
|
112
112
|
),
|
|
113
|
-
showAddress &&
|
|
113
|
+
showAddress && React.createElement(
|
|
114
114
|
'div',
|
|
115
115
|
null,
|
|
116
|
-
address ? address :
|
|
116
|
+
address ? address : React.createElement(
|
|
117
117
|
'p',
|
|
118
118
|
null,
|
|
119
119
|
'2 Clarke Drive',
|
|
120
|
-
|
|
120
|
+
React.createElement('br', null),
|
|
121
121
|
'Suite 100',
|
|
122
|
-
|
|
122
|
+
React.createElement('br', null),
|
|
123
123
|
'Cranbury, NJ 08512'
|
|
124
124
|
)
|
|
125
125
|
),
|
|
126
|
-
|
|
126
|
+
React.createElement(
|
|
127
127
|
'p',
|
|
128
128
|
null,
|
|
129
129
|
'\xA9 ',
|
|
130
130
|
year,
|
|
131
131
|
' MJH Life Sciences',
|
|
132
|
-
|
|
132
|
+
React.createElement(
|
|
133
133
|
'sup',
|
|
134
134
|
null,
|
|
135
135
|
'\u2122'
|
package/dist/esm/SocialIcons.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
|
|
3
3
|
// SVGs for light icons
|
|
4
4
|
var lightIcons = [{
|
|
@@ -63,12 +63,12 @@ var SocialIcons = function SocialIcons(props) {
|
|
|
63
63
|
if (icon) {
|
|
64
64
|
// Creating icon component
|
|
65
65
|
var Icon = function Icon() {
|
|
66
|
-
return
|
|
66
|
+
return React.createElement('p', { dangerouslySetInnerHTML: { __html: icon } });
|
|
67
67
|
};
|
|
68
|
-
return
|
|
68
|
+
return React.createElement(
|
|
69
69
|
'a',
|
|
70
70
|
{ key: link.url, href: link.url, target: link.blank ? '_blank' : '_self', style: { marginRight: '4px' } },
|
|
71
|
-
|
|
71
|
+
React.createElement(Icon, null)
|
|
72
72
|
);
|
|
73
73
|
} else return null;
|
|
74
74
|
});
|
|
@@ -82,12 +82,12 @@ var SocialIcons = function SocialIcons(props) {
|
|
|
82
82
|
if (icon) {
|
|
83
83
|
// Creating icon component
|
|
84
84
|
var Icon = function Icon() {
|
|
85
|
-
return
|
|
85
|
+
return React.createElement('p', { dangerouslySetInnerHTML: { __html: icon } });
|
|
86
86
|
};
|
|
87
|
-
return
|
|
87
|
+
return React.createElement(
|
|
88
88
|
'a',
|
|
89
89
|
{ key: link.url, href: link.url, target: link.blank ? '_blank' : '_self', style: { marginRight: '4px' } },
|
|
90
|
-
|
|
90
|
+
React.createElement(Icon, null)
|
|
91
91
|
);
|
|
92
92
|
} else return null;
|
|
93
93
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { _ as _slicedToArray } from './slicedToArray-
|
|
2
|
-
import
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
|
|
2
|
+
import React, { useState, useRef, useEffect } from 'react';
|
|
3
3
|
import SocialIcons from './SocialIcons.js';
|
|
4
|
-
import { G as GoSearch } from './index.esm-
|
|
5
|
-
import { I as IconContext } from './iconBase-
|
|
4
|
+
import { G as GoSearch } from './index.esm-8016b507.js';
|
|
5
|
+
import { I as IconContext } from './iconBase-602d52fe.js';
|
|
6
6
|
import Form from 'react-bootstrap/Form';
|
|
7
7
|
import FormControl from 'react-bootstrap/FormControl';
|
|
8
8
|
import Button from 'react-bootstrap/Button';
|
|
9
|
-
import { f as main_34, c as main_44 } from './main-
|
|
9
|
+
import { f as main_34, c as main_44 } from './main-4136096f.js';
|
|
10
10
|
|
|
11
11
|
var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
12
12
|
var type = _ref.type,
|
|
@@ -85,21 +85,21 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
|
85
85
|
};
|
|
86
86
|
|
|
87
87
|
var socialSearchDesktop = function socialSearchDesktop() {
|
|
88
|
-
return
|
|
88
|
+
return React.createElement(
|
|
89
89
|
'div',
|
|
90
90
|
{ id: 'search-content-desktop', ref: desktopComponent, style: { display: 'flex' } },
|
|
91
|
-
|
|
91
|
+
React.createElement(
|
|
92
92
|
'div',
|
|
93
93
|
{ id: 'search-bar-desktop', style: { top: topOffset, right: rightOffset } },
|
|
94
|
-
|
|
94
|
+
React.createElement(
|
|
95
95
|
Form,
|
|
96
96
|
{ style: { padding: '6px' }, inline: true, onSubmit: function onSubmit(e) {
|
|
97
97
|
return submitSearch(e);
|
|
98
98
|
} },
|
|
99
|
-
|
|
99
|
+
React.createElement(FormControl, { style: { width: '78%' }, placeholder: 'Search', type: 'text', value: searchKey, onChange: function onChange(e) {
|
|
100
100
|
return setSearchKey(e.target.value);
|
|
101
101
|
} }),
|
|
102
|
-
|
|
102
|
+
React.createElement(
|
|
103
103
|
Button,
|
|
104
104
|
{ variant: 'primary', style: { backgroundColor: 'var(--secondary)', border: 'none', width: '20%', marginLeft: '2%' }, onClick: function onClick(e) {
|
|
105
105
|
return submitSearch(e);
|
|
@@ -108,22 +108,22 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
|
108
108
|
)
|
|
109
109
|
)
|
|
110
110
|
),
|
|
111
|
-
|
|
111
|
+
React.createElement(
|
|
112
112
|
IconContext.Provider,
|
|
113
113
|
{ value: { color: socialIconVariant === 'light' ? 'white' : 'black', className: 'search-btn-desktop', size: '35px' } },
|
|
114
|
-
|
|
114
|
+
React.createElement(GoSearch, {
|
|
115
115
|
onClick: function onClick() {
|
|
116
116
|
toggleClass('search-bar-desktop', 'id', 'show');
|
|
117
117
|
toggleClass('search-btn-desktop', 'class', 'active-search');
|
|
118
118
|
}
|
|
119
119
|
})
|
|
120
120
|
),
|
|
121
|
-
website && website.socialLinks && website.socialLinks.length !== 0 &&
|
|
121
|
+
website && website.socialLinks && website.socialLinks.length !== 0 && React.createElement(
|
|
122
122
|
'div',
|
|
123
123
|
{ id: 'social-tab-desktop', style: { display: 'flex', left: '0px', position: 'relative', paddingTop: '3px', maxHeight: '35px' } },
|
|
124
|
-
website.socialLinks &&
|
|
124
|
+
website.socialLinks && React.createElement(SocialIcons, { socialLinks: website.socialLinks, variant: socialIconVariant })
|
|
125
125
|
),
|
|
126
|
-
|
|
126
|
+
React.createElement(
|
|
127
127
|
'style',
|
|
128
128
|
{ jsx: 'true' },
|
|
129
129
|
'\n #search-content-desktop .search-btn-desktop {\n padding: 5px;\n cursor: pointer;\n }\n #search-content-desktop #search-bar-desktop {\n display: none;\n background-color: var(--primary);\n position: absolute;\n width: 400px;\n border-radius: 5px;\n height: 48px;\n right: 15%;\n }\n #search-content-desktop .search-btn-desktop.active-search {\n border-radius: 5px;\n border: 1px solid var(--secondary) !important;\n }\n #search-content-desktop #search-bar-desktop.show {\n display: block !important;\n }\n '
|
|
@@ -132,21 +132,21 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
|
132
132
|
};
|
|
133
133
|
|
|
134
134
|
var socialSearchMobile = function socialSearchMobile() {
|
|
135
|
-
return
|
|
135
|
+
return React.createElement(
|
|
136
136
|
'div',
|
|
137
137
|
{ id: 'search-content-mobile', ref: mobileComponent },
|
|
138
|
-
|
|
138
|
+
React.createElement(
|
|
139
139
|
'div',
|
|
140
140
|
{ id: 'search-bar-mobile', style: { top: topOffset } },
|
|
141
|
-
|
|
141
|
+
React.createElement(
|
|
142
142
|
Form,
|
|
143
143
|
{ inline: true, style: { padding: '6px', width: '100%' }, onSubmit: function onSubmit(e) {
|
|
144
144
|
return submitSearch(e);
|
|
145
145
|
} },
|
|
146
|
-
|
|
146
|
+
React.createElement(FormControl, { style: { width: '78%' }, placeholder: 'Search', type: 'text', value: searchKey, onChange: function onChange(e) {
|
|
147
147
|
return setSearchKey(e.target.value);
|
|
148
148
|
} }),
|
|
149
|
-
|
|
149
|
+
React.createElement(
|
|
150
150
|
Button,
|
|
151
151
|
{ variant: 'primary', style: { backgroundColor: 'var(--secondary)', border: 'none', width: '20%', marginLeft: '2%' }, onClick: function onClick(e) {
|
|
152
152
|
return submitSearch(e);
|
|
@@ -155,10 +155,10 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
|
155
155
|
)
|
|
156
156
|
)
|
|
157
157
|
),
|
|
158
|
-
|
|
158
|
+
React.createElement(
|
|
159
159
|
IconContext.Provider,
|
|
160
160
|
{ value: { color: socialIconVariant === 'light' ? 'white' : 'black', className: 'search-btn-mobile', size: '35px' } },
|
|
161
|
-
|
|
161
|
+
React.createElement(GoSearch, {
|
|
162
162
|
onClick: function onClick() {
|
|
163
163
|
var navToggle = document.getElementsByClassName('navbar-toggler')[0];
|
|
164
164
|
if (navToggle && navToggle.classList && !navToggle.classList.contains('collapsed')) {
|
|
@@ -174,7 +174,7 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
|
174
174
|
}
|
|
175
175
|
})
|
|
176
176
|
),
|
|
177
|
-
|
|
177
|
+
React.createElement(
|
|
178
178
|
'style',
|
|
179
179
|
{ jsx: 'true' },
|
|
180
180
|
'\n #search-content-mobile {\n display: flex;\n z-index: 999;\n }\n @media screen and (min-width: 1200px) {\n #search-content-mobile {\n display: none;\n }\n }\n #search-content-mobile .search-btn-mobile {\n padding: 5px;\n right: 4%;\n height: 35px;\n width: 35px;\n margin-top: 4px;\n cursor: pointer;\n }\n #search-content-mobile #search-bar-mobile {\n position: ' + (main_34 ? 'absolute' : 'fixed') + ';\n display: none;\n left: 0px;\n width: 100%;\n border-radius: 5px;\n padding: 10px;\n background-color: var(--primary);\n }\n #search-content-mobile #search-bar-mobile .form-inline {\n margin-top: 0px;\n width: 100% !important;\n }\n #search-content-mobile #search-bar-mobile .form-inline .form-control {\n width: 78%;\n border-radius: 5px;\n height: 45px;\n }\n #search-content-mobile #search-bar-mobile .form-inline .btn {\n width: 20%;\n border-radius: 5px;\n background-color: #040c5a;\n height: 45px;\n margin-left: 5px;\n padding: 1px;\n }\n #search-content-mobile .search-btn-mobile.active-search {\n border-radius: 5px;\n border: 1px solid var(--secondary);\n }\n #search-content-mobile #search-bar-mobile.show {\n display: block !important;\n }\n '
|
package/dist/esm/SocialShare.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import Head from 'next/head';
|
|
3
3
|
import { FacebookShareButton, FacebookIcon, TwitterShareButton, TwitterIcon, LinkedinShareButton, LinkedinIcon, PinterestShareButton, PinterestIcon, EmailShareButton, EmailIcon } from 'react-share';
|
|
4
4
|
|
|
@@ -17,51 +17,51 @@ var SocialShare = function SocialShare(props) {
|
|
|
17
17
|
hidePinterest = props.hidePinterest,
|
|
18
18
|
hideFacebook = props.hideFacebook;
|
|
19
19
|
|
|
20
|
-
return
|
|
21
|
-
|
|
20
|
+
return React.createElement(
|
|
21
|
+
React.Fragment,
|
|
22
22
|
null,
|
|
23
|
-
!disableMeta &&
|
|
23
|
+
!disableMeta && React.createElement(
|
|
24
24
|
Head,
|
|
25
25
|
null,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
26
|
+
React.createElement('meta', { property: 'og:url', content: shareUrl, key: 'og:url' }),
|
|
27
|
+
React.createElement('meta', { property: 'og:title', content: shareTitle, key: 'og:title' }),
|
|
28
|
+
React.createElement('meta', { property: 'og:image', content: shareImage, key: 'og:image' }),
|
|
29
|
+
React.createElement('meta', { property: 'og:site_name', content: siteName, key: 'og:site_name' }),
|
|
30
|
+
React.createElement('meta', { property: 'og:description', content: shareSummary, key: 'og:description' }),
|
|
31
|
+
React.createElement('meta', { name: 'twitter:card', content: 'summary', key: 'og:card' }),
|
|
32
|
+
React.createElement('meta', { name: 'twitter:title', content: shareTitle, key: 'og:title' }),
|
|
33
|
+
React.createElement('meta', { name: 'twitter:image', content: shareImage, key: 'og:image' }),
|
|
34
|
+
React.createElement('meta', { name: 'twitter:site', content: twitterSiteName, key: 'og:site' }),
|
|
35
|
+
React.createElement('meta', { name: 'twitter:description', content: shareSummary, key: 'og:description' })
|
|
36
36
|
),
|
|
37
|
-
!hideFacebook &&
|
|
37
|
+
!hideFacebook && React.createElement(
|
|
38
38
|
FacebookShareButton,
|
|
39
39
|
{ url: shareUrl, quote: shareTitle },
|
|
40
|
-
|
|
40
|
+
React.createElement(FacebookIcon, { size: size, round: true })
|
|
41
41
|
),
|
|
42
|
-
|
|
42
|
+
React.createElement(
|
|
43
43
|
TwitterShareButton,
|
|
44
44
|
{ url: shareUrl, title: shareTitle, via: shareVia },
|
|
45
|
-
|
|
45
|
+
React.createElement(TwitterIcon, { size: size, round: true })
|
|
46
46
|
),
|
|
47
|
-
|
|
47
|
+
React.createElement(
|
|
48
48
|
LinkedinShareButton,
|
|
49
49
|
{ url: shareUrl, title: shareTitle, via: shareVia },
|
|
50
|
-
|
|
50
|
+
React.createElement(LinkedinIcon, { size: size, round: true })
|
|
51
51
|
),
|
|
52
|
-
!hidePinterest &&
|
|
52
|
+
!hidePinterest && React.createElement(
|
|
53
53
|
PinterestShareButton,
|
|
54
54
|
{ url: shareUrl, media: shareImage, description: shareSummary },
|
|
55
|
-
|
|
55
|
+
React.createElement(PinterestIcon, { size: size, round: true })
|
|
56
56
|
),
|
|
57
|
-
|
|
57
|
+
React.createElement(
|
|
58
58
|
EmailShareButton,
|
|
59
59
|
{ url: shareUrl, subject: shareSubject, body: shareSummary },
|
|
60
|
-
|
|
60
|
+
React.createElement(EmailIcon, { size: size, round: true })
|
|
61
61
|
)
|
|
62
62
|
);
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
var SocialShare$1 =
|
|
65
|
+
var SocialShare$1 = React.memo(SocialShare);
|
|
66
66
|
|
|
67
67
|
export default SocialShare$1;
|
package/dist/esm/TaxonomyCard.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { _ as _extends } from './extends-
|
|
2
|
-
import
|
|
3
|
-
import { B as BlockContent } from './BlockContent-
|
|
1
|
+
import { _ as _extends } from './extends-dc6a71fd.js';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { B as BlockContent } from './BlockContent-52cf21c5.js';
|
|
4
4
|
import Container from 'react-bootstrap/Container';
|
|
5
5
|
import Row from 'react-bootstrap/Row';
|
|
6
6
|
import Col from 'react-bootstrap/Col';
|
|
7
7
|
import Card from 'react-bootstrap/Card';
|
|
8
8
|
import urlFor from './urlFor.js';
|
|
9
|
-
import { L as LazyLoad } from './index-
|
|
10
|
-
import { r as reactSocialIcons_1 } from './react-social-icons-
|
|
9
|
+
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
10
|
+
import { r as reactSocialIcons_1 } from './react-social-icons-91f9716f.js';
|
|
11
11
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
12
|
-
import './core.get-iterator-method-
|
|
12
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
13
13
|
import './_object-pie-133f504a.js';
|
|
14
14
|
import 'prop-types';
|
|
15
|
-
import './index-
|
|
16
|
-
import './slicedToArray-
|
|
17
|
-
import './web.dom.iterable-
|
|
15
|
+
import './index-0dbff1d1.js';
|
|
16
|
+
import './slicedToArray-ca2c8b8d.js';
|
|
17
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
18
18
|
import 'react-dom';
|
|
19
19
|
|
|
20
20
|
var TaxonomyCard = function TaxonomyCard(props) {
|
|
@@ -45,13 +45,13 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
45
45
|
var itemCounter = 0;
|
|
46
46
|
var lgVar = 12;
|
|
47
47
|
|
|
48
|
-
return
|
|
48
|
+
return React.createElement(
|
|
49
49
|
'div',
|
|
50
50
|
{ className: 'contentDeck' },
|
|
51
|
-
|
|
51
|
+
React.createElement(
|
|
52
52
|
Container,
|
|
53
53
|
null,
|
|
54
|
-
|
|
54
|
+
React.createElement(
|
|
55
55
|
Row,
|
|
56
56
|
null,
|
|
57
57
|
data && data.map(function (row, index) {
|
|
@@ -91,33 +91,33 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
91
91
|
extraURL2 && companyDetails.push({ key: 'url', value: extraURL2 });
|
|
92
92
|
extraURL3 && companyDetails.push({ key: 'url', value: extraURL3 });
|
|
93
93
|
extraURL4 && companyDetails.push({ key: 'url', value: extraURL4 });
|
|
94
|
-
return
|
|
94
|
+
return React.createElement(
|
|
95
95
|
Col,
|
|
96
96
|
{ key: itemCounter, md: 12, lg: lgVar, counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
97
|
-
|
|
97
|
+
React.createElement(
|
|
98
98
|
Card,
|
|
99
99
|
{ className: 'taxonomy-card', style: { flexDirection: mode, position: 'relative', overflow: 'hidden' } },
|
|
100
|
-
|
|
100
|
+
React.createElement(
|
|
101
101
|
Card.Body,
|
|
102
102
|
null,
|
|
103
|
-
|
|
103
|
+
React.createElement(
|
|
104
104
|
Row,
|
|
105
105
|
null,
|
|
106
|
-
thumbnailURL &&
|
|
106
|
+
thumbnailURL && React.createElement(
|
|
107
107
|
Col,
|
|
108
108
|
null,
|
|
109
|
-
|
|
109
|
+
React.createElement(
|
|
110
110
|
LazyLoad,
|
|
111
111
|
{ height: imageHeight },
|
|
112
|
-
row && row.thumbnail &&
|
|
112
|
+
row && row.thumbnail && React.createElement(
|
|
113
113
|
'figure',
|
|
114
114
|
null,
|
|
115
|
-
row.thumbnail.link ?
|
|
115
|
+
row.thumbnail.link ? React.createElement(
|
|
116
116
|
'a',
|
|
117
117
|
{ href: row.thumbnail.link, target: row.thumbnail.blank ? '_blank' : '_self' },
|
|
118
|
-
|
|
119
|
-
) :
|
|
120
|
-
row && row.thumbnail && row.thumbnail.caption &&
|
|
118
|
+
React.createElement(Card.Img, { variant: 'top', src: thumbnailURL, alt: row.thumbnail.alt ? row.thumbnail.alt : 'profile image' })
|
|
119
|
+
) : React.createElement(Card.Img, { variant: 'top', src: thumbnailURL, alt: row.thumbnail.alt ? row.thumbnail.alt : 'profile image' }),
|
|
120
|
+
row && row.thumbnail && row.thumbnail.caption && React.createElement(
|
|
121
121
|
'figcaption',
|
|
122
122
|
null,
|
|
123
123
|
row.thumbnail.caption
|
|
@@ -125,30 +125,30 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
125
125
|
)
|
|
126
126
|
)
|
|
127
127
|
),
|
|
128
|
-
|
|
128
|
+
React.createElement(
|
|
129
129
|
Col,
|
|
130
130
|
null,
|
|
131
|
-
|
|
131
|
+
React.createElement(
|
|
132
132
|
Row,
|
|
133
133
|
{ className: 'details-content-wrapper' },
|
|
134
|
-
|
|
134
|
+
React.createElement(
|
|
135
135
|
'div',
|
|
136
136
|
{ className: 'details-content-inner-wrapper' },
|
|
137
|
-
(address && address.length > 0 || companyDetails && companyDetails.length > 0) &&
|
|
137
|
+
(address && address.length > 0 || companyDetails && companyDetails.length > 0) && React.createElement(
|
|
138
138
|
'div',
|
|
139
139
|
{ className: 'details-wrapper' },
|
|
140
|
-
companyDetails && companyDetails.length > 0 &&
|
|
140
|
+
companyDetails && companyDetails.length > 0 && React.createElement(
|
|
141
141
|
'div',
|
|
142
142
|
{ className: 'company-wrapper' },
|
|
143
143
|
companyDetails.map(function (field, index) {
|
|
144
144
|
if (field.value && field.key === 'company') {
|
|
145
|
-
return
|
|
145
|
+
return React.createElement(
|
|
146
146
|
'p',
|
|
147
147
|
{ className: 'details-field', key: index },
|
|
148
148
|
field.value
|
|
149
149
|
);
|
|
150
150
|
} else if (field.value && field.key === 'url') {
|
|
151
|
-
return
|
|
151
|
+
return React.createElement(
|
|
152
152
|
'a',
|
|
153
153
|
{ className: 'details-field', href: field.value, key: index },
|
|
154
154
|
field.value
|
|
@@ -163,12 +163,12 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
163
163
|
// }
|
|
164
164
|
})
|
|
165
165
|
),
|
|
166
|
-
address && address.length > 0 &&
|
|
166
|
+
address && address.length > 0 && React.createElement(
|
|
167
167
|
'div',
|
|
168
168
|
{ className: 'address-wrapper' },
|
|
169
169
|
address.map(function (field, index) {
|
|
170
170
|
if (field) {
|
|
171
|
-
return
|
|
171
|
+
return React.createElement(
|
|
172
172
|
'p',
|
|
173
173
|
{ className: 'details-field', key: index },
|
|
174
174
|
field
|
|
@@ -176,18 +176,18 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
176
176
|
}
|
|
177
177
|
})
|
|
178
178
|
),
|
|
179
|
-
|
|
179
|
+
React.createElement(
|
|
180
180
|
'style',
|
|
181
181
|
{ jsx: 'true' },
|
|
182
182
|
'\n .details-content-wrapper,\n .details-content-inner-wrapper {\n width: 100%;\n }\n .details-wrapper .details-field {\n margin: 0px;\n display: block;\n font-size: 1rem;\n margin-bottom: 3px;\n }\n .details-wrapper .company-wrapper {\n margin-right: 20px;\n display: inline-block;\n width: 50%;\n vertical-align: top;\n }\n .details-wrapper .address-wrapper {\n width: 45%;\n display: inline-block;\n }\n '
|
|
183
183
|
)
|
|
184
184
|
),
|
|
185
|
-
socialLinks && socialLinks.length &&
|
|
185
|
+
socialLinks && socialLinks.length && React.createElement(
|
|
186
186
|
'div',
|
|
187
187
|
{ className: 'social-icons' },
|
|
188
188
|
socialLinks.map(function (url, index) {
|
|
189
189
|
if (url && url.length) {
|
|
190
|
-
return
|
|
190
|
+
return React.createElement(reactSocialIcons_1, {
|
|
191
191
|
target: '_blank',
|
|
192
192
|
rel: 'noopener noreferrer',
|
|
193
193
|
key: index,
|
|
@@ -197,22 +197,22 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
197
197
|
});
|
|
198
198
|
}
|
|
199
199
|
}),
|
|
200
|
-
|
|
200
|
+
React.createElement(
|
|
201
201
|
'style',
|
|
202
202
|
{ jsx: 'true' },
|
|
203
203
|
'\n .social-icons {\n margin-top: 0px;\n margin-bottom: 10px;\n }\n '
|
|
204
204
|
)
|
|
205
205
|
),
|
|
206
|
-
|
|
206
|
+
React.createElement(
|
|
207
207
|
Card.Text,
|
|
208
208
|
null,
|
|
209
|
-
|
|
209
|
+
React.createElement(BlockContent, _extends({ blocks: row.summary, serializers: getSerializers }, client.config()))
|
|
210
210
|
)
|
|
211
211
|
)
|
|
212
212
|
)
|
|
213
213
|
)
|
|
214
214
|
),
|
|
215
|
-
icon &&
|
|
215
|
+
icon && React.createElement(
|
|
216
216
|
'span',
|
|
217
217
|
{
|
|
218
218
|
className: 'taxonomy-icon',
|
|
@@ -232,7 +232,7 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
232
232
|
})
|
|
233
233
|
)
|
|
234
234
|
),
|
|
235
|
-
icon &&
|
|
235
|
+
icon && React.createElement(
|
|
236
236
|
'style',
|
|
237
237
|
{ jsx: 'true' },
|
|
238
238
|
'\n .taxonomy-card:hover .taxonomy-icon {\n transform: translateY(-50%) scale(1.5) translateX(0) !important;\n }\n '
|