@mjhls/mjh-framework 1.0.703-testing-module-splittingv6 → 1.0.703
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 +172 -172
- package/dist/cjs/AD.js +9 -10
- package/dist/cjs/AD300x250.js +27 -27
- package/dist/cjs/AD300x250x600.js +27 -27
- package/dist/cjs/AD728x90.js +30 -30
- package/dist/cjs/ADFloatingFooter.js +33 -33
- package/dist/cjs/ADFooter.js +14 -16
- package/dist/cjs/ADGutter.js +30 -30
- package/dist/cjs/{ADInfeed-d36dc3ca.js → ADInfeed-ede153e2.js} +11 -13
- package/dist/cjs/ADSkyscraper.js +30 -30
- package/dist/cjs/ADSponsoredResources.js +30 -30
- package/dist/cjs/ADWebcast.js +30 -30
- package/dist/cjs/ADWelcome.js +34 -34
- package/dist/cjs/{ADlgInfeed-93205fa0.js → ADlgInfeed-6a121a0d.js} +8 -9
- package/dist/cjs/AccordionPanel.js +29 -32
- package/dist/cjs/AdSlot.js +35 -35
- package/dist/cjs/AdSlotsProvider.js +9 -8
- package/dist/cjs/AlphabeticList.js +25 -27
- package/dist/cjs/ArticleCarousel.js +25 -24
- package/dist/cjs/ArticleSeriesListing.js +62 -61
- package/dist/cjs/Auth.js +149 -154
- package/dist/cjs/{AuthorComponent-482218ce.js → AuthorComponent-d19285ed.js} +13 -14
- package/dist/cjs/Beam.js +20 -21
- package/dist/cjs/{BlockContent-eca358e4.js → BlockContent-e53217a7.js} +24 -27
- package/dist/cjs/Breadcrumbs.js +27 -30
- package/dist/cjs/BrowseVideosListing.js +43 -42
- package/dist/cjs/CMEDeck.js +85 -83
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +35 -37
- package/dist/cjs/Column3.js +58 -60
- package/dist/cjs/ConferenceArticleCard.js +37 -38
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +107 -109
- package/dist/cjs/DeckQueue.js +93 -95
- package/dist/cjs/{Dfp-80c3d853.js → Dfp-13ff07b4.js} +35 -34
- package/dist/cjs/EventsDeck.js +157 -164
- package/dist/cjs/ExternalResources.js +78 -77
- package/dist/cjs/Feature.js +25 -26
- package/dist/cjs/ForbesHero.js +43 -42
- package/dist/cjs/GridContent.js +185 -187
- package/dist/cjs/GridHero.js +45 -44
- package/dist/cjs/GroupDeck.js +52 -54
- package/dist/cjs/HamMagazine.js +139 -143
- package/dist/cjs/Header.js +11 -13
- package/dist/cjs/Hero.js +12 -13
- package/dist/cjs/HighlightenVideo.js +17 -18
- package/dist/cjs/HorizontalHero.js +25 -26
- package/dist/cjs/IssueContentDeck.js +75 -78
- package/dist/cjs/IssueDeck.js +74 -77
- package/dist/cjs/IssueLanding.js +74 -73
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +40 -41
- package/dist/cjs/MasterDeck.js +88 -87
- package/dist/cjs/NavDvm.js +75 -81
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +148 -152
- package/dist/cjs/NavNative.js +124 -131
- package/dist/cjs/NavNormal.js +48 -54
- package/dist/cjs/OncliveHero.js +19 -20
- package/dist/cjs/OncliveLargeHero.js +69 -68
- package/dist/cjs/PageFilter.js +14 -16
- package/dist/cjs/PartnerDetailListing.js +113 -112
- package/dist/cjs/PdfDownload.js +8 -9
- package/dist/cjs/PopUpModal.js +19 -22
- package/dist/cjs/PublicationDeck.js +66 -68
- package/dist/cjs/PublicationLanding.js +144 -146
- package/dist/cjs/QueueDeckExpanded.js +300 -298
- package/dist/cjs/RecentNews.js +23 -24
- package/dist/cjs/RelatedContent.js +55 -53
- package/dist/cjs/RelatedTopicsDropdown.js +29 -32
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Search.js +18 -23
- package/dist/cjs/Segment.js +20 -21
- package/dist/cjs/SetCookie.js +2 -2
- package/dist/cjs/SideFooter.js +41 -41
- package/dist/cjs/SocialIcons.js +9 -10
- package/dist/cjs/{SocialSearchComponent-a49e8e9d.js → SocialSearchComponent-1ef1e6fb.js} +32 -36
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +61 -64
- package/dist/cjs/TemplateNormal.js +78 -78
- package/dist/cjs/ThumbnailCard.js +23 -22
- package/dist/cjs/Ustream.js +26 -27
- package/dist/cjs/VerticalHero.js +17 -18
- package/dist/cjs/VideoSeriesCard.js +36 -35
- package/dist/cjs/VideoSeriesFilter.js +21 -22
- package/dist/cjs/VideoSeriesListing.js +77 -76
- package/dist/cjs/View.js +226 -227
- package/dist/cjs/YahooHero.js +42 -41
- package/dist/cjs/YoutubeGroup.js +74 -73
- package/dist/cjs/{_export-7e018e14.js → _export-a917dedd.js} +161 -17
- package/dist/cjs/{_is-array-4c61cfba.js → _is-array-a82382b4.js} +16 -17
- package/dist/cjs/{_iter-detect-2a826637.js → _iter-detect-671c90bd.js} +10 -10
- package/dist/cjs/{_library-dd23b178.js → _library-4360b4e4.js} +1 -1
- package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-6bed508e.js} +2 -2
- package/dist/cjs/_object-sap-947ef6fb.js +16 -0
- package/dist/cjs/_prop-types_commonjs-external-1a8c9893.js +10 -0
- package/dist/cjs/_react-dom_commonjs-external-3c49a59a.js +9 -0
- package/dist/cjs/_react_commonjs-external-58b78ee1.js +10 -0
- package/dist/cjs/{_set-species-d088ff6e.js → _set-species-47156c42.js} +17 -18
- package/dist/cjs/{asyncToGenerator-7ca8f87e.js → asyncToGenerator-fd8e35e7.js} +71 -72
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-05029198.js} +6 -7
- package/dist/cjs/core.get-iterator-method-07b02ac3.js +39 -0
- package/dist/cjs/{debounce-eb287781.js → debounce-fb3a46a9.js} +7 -7
- package/dist/cjs/{define-property-fd46a81e.js → define-property-9b6df20e.js} +4 -4
- package/dist/cjs/{defineProperty-edc12c5a.js → defineProperty-d3c0cfc0.js} +2 -2
- package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
- package/dist/cjs/{es6.string.iterator-a390d61f.js → es6.string.iterator-e5f4ce45.js} +35 -36
- package/dist/cjs/{extends-0a166456.js → extends-5fde0677.js} +11 -12
- package/dist/cjs/{get-68c52cb1.js → get-70ef997d.js} +11 -11
- package/dist/cjs/getRelatedArticle.js +21 -22
- package/dist/cjs/getSerializers.js +44 -42
- package/dist/cjs/{getTargeting-57edbc60.js → getTargeting-5ca9bfaf.js} +11 -11
- package/dist/cjs/getTargeting.js +8 -9
- package/dist/cjs/iconBase-68959171.js +3 -0
- package/dist/cjs/{index-80f57cff.js → index-29e3f3a9.js} +16 -19
- package/dist/cjs/{index-cb6ed1fc.js → index-949261b4.js} +4 -4
- package/dist/cjs/{index-0e3597c2.js → index-b1ee7cd9.js} +418 -423
- package/dist/cjs/{index-5ad2b070.js → index-d7577df6.js} +11 -14
- package/dist/cjs/{index-d48b231c.js → index-ff69979f.js} +3 -3
- package/dist/cjs/{index.es-f3e47207.js → index.es-e9d84959.js} +7 -8
- package/dist/cjs/{index.esm-8123cf40.js → index.esm-8a8fa078.js} +17 -18
- package/dist/cjs/index.js +264 -9
- package/dist/cjs/{inherits-a9209207.js → inherits-02a27fbf.js} +18 -19
- package/dist/cjs/{isSymbol-04666465.js → isSymbol-a0d5eb50.js} +5 -5
- package/dist/cjs/{js.cookie-a511c430.js → js.cookie-e4684873.js} +1 -1
- package/dist/cjs/{keys-d2f5bcf0.js → keys-1a65eb47.js} +5 -6
- package/dist/cjs/{lodash-4ef21f0f.js → lodash-257df6c4.js} +2 -2
- package/dist/cjs/{main-eeffe77b.js → main-1442052b.js} +67 -70
- package/dist/cjs/{moment-aca40de1.js → moment-29403f08.js} +2 -1
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-5604d0d1.js} +26 -29
- package/dist/cjs/{slicedToArray-60dafa9c.js → slicedToArray-d0ac47b9.js} +10 -10
- package/dist/cjs/{smoothscroll-1abb448e.js → smoothscroll-03c20c7d.js} +2 -2
- package/dist/cjs/{stringify-44244c64.js → stringify-e064b7d0.js} +2 -2
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-4bb00640.js → toConsumableArray-d47f0c64.js} +13 -14
- package/dist/cjs/{typeof-03c3fdc8.js → typeof-5763a25b.js} +84 -85
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
- package/dist/cjs/{visibility-sensor-8b54af99.js → visibility-sensor-ede0bc7b.js} +5 -8
- package/dist/cjs/{web.dom.iterable-2d47ebe6.js → web.dom.iterable-cd8a9ccb.js} +10 -11
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +24 -23
- package/dist/esm/AD300x250x600.js +24 -23
- package/dist/esm/AD728x90.js +27 -26
- package/dist/esm/ADFloatingFooter.js +30 -29
- package/dist/esm/ADFooter.js +11 -12
- package/dist/esm/ADGutter.js +27 -26
- package/dist/esm/{ADInfeed-bf7de12d.js → ADInfeed-d890d5ca.js} +8 -8
- package/dist/esm/ADSkyscraper.js +27 -26
- package/dist/esm/ADSponsoredResources.js +27 -26
- package/dist/esm/ADWebcast.js +27 -26
- package/dist/esm/ADWelcome.js +31 -30
- package/dist/esm/{ADlgInfeed-3ac04591.js → ADlgInfeed-1d006b36.js} +7 -7
- package/dist/esm/AccordionPanel.js +24 -25
- package/dist/esm/AdSlot.js +27 -26
- package/dist/esm/AdSlotsProvider.js +6 -4
- package/dist/esm/AlphabeticList.js +22 -23
- package/dist/esm/ArticleCarousel.js +22 -20
- package/dist/esm/ArticleSeriesListing.js +57 -55
- package/dist/esm/Auth.js +134 -135
- package/dist/esm/{AuthorComponent-22790017.js → AuthorComponent-8ffb1deb.js} +11 -11
- package/dist/esm/Beam.js +20 -21
- package/dist/esm/{BlockContent-d8cd739c.js → BlockContent-e6f64e62.js} +23 -21
- package/dist/esm/Breadcrumbs.js +17 -18
- package/dist/esm/BrowseVideosListing.js +40 -38
- package/dist/esm/CMEDeck.js +82 -80
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +29 -28
- package/dist/esm/Column3.js +51 -50
- package/dist/esm/ConferenceArticleCard.js +33 -33
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +88 -86
- package/dist/esm/DeckQueue.js +71 -69
- package/dist/esm/{Dfp-08279047.js → Dfp-7db56716.js} +25 -23
- package/dist/esm/EventsDeck.js +120 -120
- package/dist/esm/ExternalResources.js +73 -71
- package/dist/esm/Feature.js +18 -17
- package/dist/esm/ForbesHero.js +37 -35
- package/dist/esm/GridContent.js +147 -145
- package/dist/esm/GridHero.js +39 -37
- package/dist/esm/GroupDeck.js +48 -49
- package/dist/esm/HamMagazine.js +112 -111
- package/dist/esm/Header.js +7 -7
- package/dist/esm/Hero.js +9 -9
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +52 -50
- package/dist/esm/IssueDeck.js +49 -47
- package/dist/esm/IssueLanding.js +71 -69
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +36 -35
- package/dist/esm/MasterDeck.js +82 -80
- package/dist/esm/NavDvm.js +57 -58
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +123 -122
- package/dist/esm/NavNative.js +100 -99
- package/dist/esm/NavNormal.js +35 -36
- package/dist/esm/OncliveHero.js +16 -16
- package/dist/esm/OncliveLargeHero.js +62 -60
- package/dist/esm/PageFilter.js +12 -13
- package/dist/esm/PartnerDetailListing.js +109 -107
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +14 -15
- package/dist/esm/PublicationDeck.js +43 -40
- package/dist/esm/PublicationLanding.js +125 -123
- package/dist/esm/QueueDeckExpanded.js +280 -278
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +50 -47
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +12 -13
- package/dist/esm/Segment.js +20 -21
- package/dist/esm/SetCookie.js +2 -2
- package/dist/esm/SideFooter.js +37 -36
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-46ea0f4d.js → SocialSearchComponent-4eae0149.js} +24 -24
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +44 -42
- package/dist/esm/TemplateNormal.js +69 -68
- package/dist/esm/ThumbnailCard.js +16 -13
- package/dist/esm/Ustream.js +23 -23
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoSeriesCard.js +29 -27
- package/dist/esm/VideoSeriesFilter.js +18 -19
- package/dist/esm/VideoSeriesListing.js +71 -69
- package/dist/esm/View.js +217 -214
- package/dist/esm/YahooHero.js +37 -35
- package/dist/esm/YoutubeGroup.js +59 -57
- package/dist/esm/{_export-9029ebab.js → _export-f7ec2adf.js} +133 -2
- package/dist/esm/{_is-array-46713c19.js → _is-array-5bea6006.js} +15 -16
- package/dist/esm/{_iter-detect-60cd145f.js → _iter-detect-65720de7.js} +8 -8
- package/dist/esm/_library-90219a8d.js +3 -0
- package/dist/esm/{_object-pie-33c40e79.js → _object-pie-8e2f6c3a.js} +1 -1
- package/dist/esm/_object-sap-146241c9.js +14 -0
- package/dist/esm/_prop-types_commonjs-external-9481d338.js +5 -0
- package/dist/esm/_react-dom_commonjs-external-f1a1ac81.js +5 -0
- package/dist/esm/_react_commonjs-external-22b61490.js +5 -0
- package/dist/esm/{_set-species-a4b3fe39.js → _set-species-26ee5c2a.js} +14 -15
- package/dist/esm/{asyncToGenerator-7714cea4.js → asyncToGenerator-0c61f551.js} +71 -72
- package/dist/esm/{brightcove-react-player-loader.es-b43c695a.js → brightcove-react-player-loader.es-e761d404.js} +3 -3
- package/dist/esm/core.get-iterator-method-dbbb346b.js +36 -0
- package/dist/esm/{debounce-1a993acf.js → debounce-7b569c00.js} +6 -6
- package/dist/esm/{define-property-f2d6f244.js → define-property-7a40a451.js} +4 -4
- package/dist/esm/{defineProperty-69f06029.js → defineProperty-a2ac5d3d.js} +2 -2
- package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
- package/dist/esm/{es6.string.iterator-2efae22d.js → es6.string.iterator-13b94db0.js} +28 -29
- package/dist/esm/{extends-f866c8d0.js → extends-8e0228d5.js} +11 -12
- package/dist/esm/{get-5ee14cda.js → get-bb2155d5.js} +10 -10
- package/dist/esm/getRelatedArticle.js +15 -16
- package/dist/esm/getSerializers.js +44 -42
- package/dist/esm/{getTargeting-5cdca4e1.js → getTargeting-d97a1e83.js} +11 -11
- package/dist/esm/getTargeting.js +8 -9
- package/dist/esm/{index-750a7380.js → index-1295881c.js} +2 -2
- package/dist/esm/{index-669ff425.js → index-17490425.js} +11 -9
- package/dist/esm/{index-5db919a6.js → index-4540328d.js} +384 -382
- package/dist/esm/{index-752d1dae.js → index-a4e850af.js} +16 -13
- package/dist/esm/{index-3f5c03b2.js → index-f7fdcc91.js} +3 -3
- package/dist/esm/{index.es-c6222053.js → index.es-a6137319.js} +5 -5
- package/dist/esm/{index.esm-57f377a5.js → index.esm-3fdda599.js} +1 -1
- package/dist/esm/{index.esm-8016b507.js → index.esm-4838a32e.js} +15 -15
- package/dist/esm/index.js +176 -11
- package/dist/esm/{inherits-75d6495f.js → inherits-d1948b66.js} +16 -17
- package/dist/esm/{isSymbol-807e927e.js → isSymbol-2b7f6e65.js} +1 -1
- package/dist/esm/{js.cookie-6874175c.js → js.cookie-2ce24ab0.js} +1 -1
- package/dist/esm/{keys-78217618.js → keys-e091cb65.js} +5 -6
- package/dist/esm/{lodash-ad27652f.js → lodash-2b866578.js} +2 -2
- package/dist/esm/{main-decc48f4.js → main-140f99b4.js} +67 -66
- package/dist/esm/{moment-bc12cb97.js → moment-8797a4d3.js} +2 -2
- package/dist/esm/{react-social-icons-91f9716f.js → react-social-icons-40e8d28f.js} +26 -24
- package/dist/esm/{slicedToArray-fa9240c4.js → slicedToArray-8818fe95.js} +10 -10
- package/dist/esm/{smoothscroll-ab6e0238.js → smoothscroll-2d74941c.js} +1 -1
- package/dist/esm/{stringify-22907f56.js → stringify-dedf4a20.js} +2 -2
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-bd01c637.js → toConsumableArray-02217419.js} +13 -14
- package/dist/esm/{typeof-668f30cd.js → typeof-a10a5616.js} +85 -86
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
- package/dist/esm/{visibility-sensor-082c757b.js → visibility-sensor-7b6316cf.js} +5 -3
- package/dist/esm/{web.dom.iterable-89515070.js → web.dom.iterable-c3ba4d37.js} +10 -11
- package/package.json +105 -105
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
- package/dist/cjs/_object-sap-4ac28868.js +0 -16
- package/dist/cjs/_to-object-233fc5c9.js +0 -149
- package/dist/cjs/core.get-iterator-method-14f49e03.js +0 -40
- package/dist/esm/_library-528f1934.js +0 -3
- package/dist/esm/_object-sap-108a1939.js +0 -14
- package/dist/esm/_to-object-62924b74.js +0 -135
- package/dist/esm/core.get-iterator-method-6636b3ef.js +0 -37
package/dist/esm/RecentNews.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './moment-bc12cb97.js';
|
|
3
|
-
import { i as imageUrlBuilder } from './index-3f5c03b2.js';
|
|
4
|
-
import { a as FaLongArrowAltRight } from './index.esm-a8ff922c.js';
|
|
5
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import './moment-8797a4d3.js';
|
|
4
|
+
import { i as imageUrlBuilder } from './index-f7fdcc91.js';
|
|
6
5
|
import './iconBase-602d52fe.js';
|
|
6
|
+
import { a as FaLongArrowAltRight } from './index.esm-a8ff922c.js';
|
|
7
7
|
|
|
8
8
|
var RecentNews = function RecentNews(_ref) {
|
|
9
9
|
var client = _ref.client,
|
|
@@ -18,43 +18,43 @@ var RecentNews = function RecentNews(_ref) {
|
|
|
18
18
|
_ref$linkTitle = _ref.linkTitle,
|
|
19
19
|
linkTitle = _ref$linkTitle === undefined ? 'View More ' : _ref$linkTitle;
|
|
20
20
|
|
|
21
|
-
imageUrlBuilder(client);
|
|
21
|
+
var builder = imageUrlBuilder(client);
|
|
22
22
|
var topArticle = dataRecord[0];
|
|
23
23
|
var subArticles = dataRecord.slice(1, dataRecord.length);
|
|
24
24
|
|
|
25
|
-
return
|
|
25
|
+
return React__default.createElement(
|
|
26
26
|
'div',
|
|
27
27
|
{ className: 'recent-news-container', style: { border: '3px solid ' + borderColor } },
|
|
28
|
-
|
|
28
|
+
React__default.createElement(
|
|
29
29
|
'div',
|
|
30
30
|
{ className: 'recent-news-title' },
|
|
31
|
-
|
|
31
|
+
React__default.createElement(
|
|
32
32
|
'h2',
|
|
33
33
|
null,
|
|
34
34
|
heroTitle
|
|
35
35
|
),
|
|
36
|
-
|
|
36
|
+
React__default.createElement('div', null)
|
|
37
37
|
),
|
|
38
|
-
|
|
38
|
+
React__default.createElement(
|
|
39
39
|
'div',
|
|
40
40
|
{ className: 'recent-news-inner' },
|
|
41
|
-
|
|
41
|
+
React__default.createElement(
|
|
42
42
|
'div',
|
|
43
43
|
{ className: 'recent-article-wrap', style: { flexBasis: '100%' } },
|
|
44
|
-
|
|
44
|
+
React__default.createElement(
|
|
45
45
|
'a',
|
|
46
46
|
{ href: '/view/' + topArticle.url.current, className: 'recent-article' },
|
|
47
|
-
|
|
47
|
+
React__default.createElement(
|
|
48
48
|
'p',
|
|
49
49
|
null,
|
|
50
50
|
topArticle.title
|
|
51
51
|
)
|
|
52
52
|
),
|
|
53
53
|
subArticles.map(function (article, index) {
|
|
54
|
-
return
|
|
54
|
+
return React__default.createElement(
|
|
55
55
|
'a',
|
|
56
56
|
{ key: index, href: '/view/' + article.url.current, className: 'recent-article' },
|
|
57
|
-
|
|
57
|
+
React__default.createElement(
|
|
58
58
|
'p',
|
|
59
59
|
null,
|
|
60
60
|
article.title
|
|
@@ -63,21 +63,21 @@ var RecentNews = function RecentNews(_ref) {
|
|
|
63
63
|
})
|
|
64
64
|
)
|
|
65
65
|
),
|
|
66
|
-
linkTo &&
|
|
66
|
+
linkTo && React__default.createElement(
|
|
67
67
|
'div',
|
|
68
68
|
{ className: 'recent-view-more' },
|
|
69
|
-
|
|
69
|
+
React__default.createElement(
|
|
70
70
|
'a',
|
|
71
71
|
{ href: linkTo },
|
|
72
72
|
linkTitle,
|
|
73
|
-
|
|
73
|
+
React__default.createElement(
|
|
74
74
|
'span',
|
|
75
75
|
null,
|
|
76
|
-
|
|
76
|
+
React__default.createElement(FaLongArrowAltRight, { color: 'var(--primary)' })
|
|
77
77
|
)
|
|
78
78
|
)
|
|
79
79
|
),
|
|
80
|
-
|
|
80
|
+
React__default.createElement(
|
|
81
81
|
'style',
|
|
82
82
|
{ jsx: 'true' },
|
|
83
83
|
'\n .recent-news-container {\n margin-bottom: 1.7rem;\n margin-top: 1rem;\n position: relative;\n }\n .recent-news-title {\n position: absolute;\n top: -10px;\n background: white;\n z-index: 2;\n left: 10px;\n padding-right: 0.25rem;\n padding-left: 0.25rem;\n font-weight: bold;\n }\n .recent-news-title h2 {\n font-size: 0.9rem;\n font-weight: bold;\n }\n .recent-news-inner {\n display: flex;\n flex-direction: row;\n padding-top: 0.75rem;\n margin-top: 0.75rem;\n }\n .recent-article-wrap {\n padding: 0 0.5rem;\n }\n \n .recent-article {\n border-bottom: 1px solid #ccc;\n display: block;\n margin-bottom: 0.5rem;\n }\n .recent-article:last-child {\n border-bottom: none;\n }\n .recent-article:hover {\n background: #eee;\n }\n .recent-article p {\n font-size: 0.7rem;\n margin-bottom: 0.5rem;\n color: #252525;\n }\n .recent-view-more {\n position: absolute;\n right: 0;\n margin-top: 0.25rem;\n font-size: 0.7rem;\n font-weight: bold;\n }\n .recent-view-more span {\n display: inline-block;\n color: rgb(81, 116, 153);\n font-size: 0.7rem;\n }\n @media screen and (max-width: 1191px){\n \n .recent-article > p {\n font-size: 0.7rem;\n }\n }\n }\n @media screen and (max-width: 495px) {\n \n .recent-article > p {\n font-size: 0.7rem;\n }\n }\n '
|
|
@@ -1,40 +1,43 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
3
|
-
import 'react-bootstrap/Media';
|
|
4
|
-
import { i as imageUrlBuilder } from './index-3f5c03b2.js';
|
|
5
|
-
import { L as LazyLoad } from './index-752d1dae.js';
|
|
6
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import 'react
|
|
2
|
+
import React__default from 'react';
|
|
8
3
|
import 'prop-types';
|
|
4
|
+
import './_react_commonjs-external-22b61490.js';
|
|
5
|
+
import './_prop-types_commonjs-external-9481d338.js';
|
|
6
|
+
import { m as moment } from './moment-8797a4d3.js';
|
|
7
|
+
import 'react-dom';
|
|
8
|
+
import './_react-dom_commonjs-external-f1a1ac81.js';
|
|
9
|
+
import { i as imageUrlBuilder } from './index-f7fdcc91.js';
|
|
10
|
+
import { L as LazyLoad } from './index-a4e850af.js';
|
|
11
|
+
import 'react-bootstrap/Media';
|
|
9
12
|
|
|
10
|
-
/*
|
|
11
|
-
Sample query
|
|
12
|
-
let references = ''
|
|
13
|
-
if(article.taxonomyMapping.length > 0){
|
|
14
|
-
article.taxonomyMapping.forEach((ref, index) => {
|
|
15
|
-
references = references + `references('${ref._ref}') `
|
|
16
|
-
if(index+1 !== article.taxonomyMapping.length){
|
|
17
|
-
references = references + ` && `
|
|
18
|
-
}
|
|
19
|
-
})
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
const relatedArticlesQuery = `*[!(_id in path("drafts.**")) && _type == "article" && title !='${article.title}' && defined(title) && is_visible == true && ( references('article.documentGroup._id') || ${references} ) && published <= '${today}'] | order(published desc) [0...4] {
|
|
23
|
-
...,
|
|
24
|
-
title,
|
|
25
|
-
summary,
|
|
26
|
-
thumbnail,
|
|
27
|
-
url,
|
|
28
|
-
published,
|
|
29
|
-
authorMapping[]->,
|
|
30
|
-
contentCategory->
|
|
31
|
-
}`
|
|
32
|
-
const relatedArticles = await client.fetch(relatedArticlesQuery)
|
|
33
|
-
|
|
34
|
-
Sample usage
|
|
35
|
-
<RelatedContent dataRecord={props.relatedArticles} client={client} showAuthor showPublished reverse/>
|
|
36
|
-
|
|
37
|
-
|
|
13
|
+
/*
|
|
14
|
+
Sample query
|
|
15
|
+
let references = ''
|
|
16
|
+
if(article.taxonomyMapping.length > 0){
|
|
17
|
+
article.taxonomyMapping.forEach((ref, index) => {
|
|
18
|
+
references = references + `references('${ref._ref}') `
|
|
19
|
+
if(index+1 !== article.taxonomyMapping.length){
|
|
20
|
+
references = references + ` && `
|
|
21
|
+
}
|
|
22
|
+
})
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
const relatedArticlesQuery = `*[!(_id in path("drafts.**")) && _type == "article" && title !='${article.title}' && defined(title) && is_visible == true && ( references('article.documentGroup._id') || ${references} ) && published <= '${today}'] | order(published desc) [0...4] {
|
|
26
|
+
...,
|
|
27
|
+
title,
|
|
28
|
+
summary,
|
|
29
|
+
thumbnail,
|
|
30
|
+
url,
|
|
31
|
+
published,
|
|
32
|
+
authorMapping[]->,
|
|
33
|
+
contentCategory->
|
|
34
|
+
}`
|
|
35
|
+
const relatedArticles = await client.fetch(relatedArticlesQuery)
|
|
36
|
+
|
|
37
|
+
Sample usage
|
|
38
|
+
<RelatedContent dataRecord={props.relatedArticles} client={client} showAuthor showPublished reverse/>
|
|
39
|
+
|
|
40
|
+
|
|
38
41
|
*/
|
|
39
42
|
var RelatedContent = function RelatedContent(props) {
|
|
40
43
|
var client = props.client,
|
|
@@ -47,47 +50,47 @@ var RelatedContent = function RelatedContent(props) {
|
|
|
47
50
|
return builder.image(source);
|
|
48
51
|
}
|
|
49
52
|
|
|
50
|
-
return
|
|
53
|
+
return React__default.createElement(
|
|
51
54
|
'div',
|
|
52
55
|
null,
|
|
53
|
-
|
|
56
|
+
React__default.createElement(
|
|
54
57
|
'h1',
|
|
55
58
|
{ className: 'mb-4 pb-2', style: { borderBottom: '1px solid #ccc', fontSize: '1.2rem', fontWeight: 'bold', color: '#252525' } },
|
|
56
59
|
'Related Content'
|
|
57
60
|
),
|
|
58
|
-
|
|
61
|
+
React__default.createElement(
|
|
59
62
|
'div',
|
|
60
63
|
{ className: 'related-articles-container' },
|
|
61
64
|
dataRecord.map(function (article, index) {
|
|
62
|
-
return
|
|
65
|
+
return React__default.createElement(
|
|
63
66
|
'a',
|
|
64
67
|
{ key: index, href: '/view/' + article.url.current, className: 'related-article' },
|
|
65
|
-
|
|
68
|
+
React__default.createElement(
|
|
66
69
|
'figure',
|
|
67
70
|
null,
|
|
68
|
-
|
|
71
|
+
React__default.createElement(
|
|
69
72
|
LazyLoad,
|
|
70
73
|
{ once: true },
|
|
71
|
-
|
|
74
|
+
React__default.createElement('img', {
|
|
72
75
|
src: article.thumbnail ? urlFor(article.thumbnail.asset).width(500).url() : defaultImage,
|
|
73
76
|
alt: article.title
|
|
74
77
|
})
|
|
75
78
|
)
|
|
76
79
|
),
|
|
77
|
-
|
|
80
|
+
React__default.createElement(
|
|
78
81
|
'div',
|
|
79
82
|
{ className: 'related-article-body' },
|
|
80
|
-
|
|
81
|
-
props.showPublished &&
|
|
83
|
+
React__default.createElement('h4', { dangerouslySetInnerHTML: { __html: article.title } }),
|
|
84
|
+
props.showPublished && React__default.createElement(
|
|
82
85
|
'p',
|
|
83
86
|
{ className: 'pb-0 mb-0' },
|
|
84
87
|
moment(article.published).format('MMMM DD, YYYY hh:mma')
|
|
85
88
|
),
|
|
86
|
-
props.showAuthor && article.authorMapping && article.authorMapping[0] &&
|
|
89
|
+
props.showAuthor && article.authorMapping && article.authorMapping[0] && React__default.createElement(
|
|
87
90
|
'p',
|
|
88
91
|
null,
|
|
89
92
|
'By ',
|
|
90
|
-
|
|
93
|
+
React__default.createElement(
|
|
91
94
|
'b',
|
|
92
95
|
null,
|
|
93
96
|
article.authorMapping[0].displayName
|
|
@@ -96,7 +99,7 @@ var RelatedContent = function RelatedContent(props) {
|
|
|
96
99
|
)
|
|
97
100
|
);
|
|
98
101
|
}),
|
|
99
|
-
|
|
102
|
+
React__default.createElement(
|
|
100
103
|
'style',
|
|
101
104
|
{ jsx: 'true' },
|
|
102
105
|
'\n .related-article {\n width: 100%;\n display: flex;\n flex-direction: ' + (props.reverse ? 'row-reverse' : 'row') + ';\n margin-bottom: 1rem;\n }\n .related-article figure {\n width: 165px;\n height: 110px;\n min-width: 165px;\n }\n .related-article figure img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n .related-article-body {\n flex: 1 1 auto;\n padding: 0 1rem;\n }\n .related-article-body h4 {\n font-weight: bold;\n font-size: 1.1rem;\n margin-bottom: 0.25rem;\n line-height: 1.3;\n }\n @media screen and (max-width: 430px) {\n .related-article {\n flex-direction: column;\n }\n .related-article figure {\n width: 80%;\n height: auto;\n min-width: 80%;\n margin: 0 auto;\n }\n .related-article figure img {\n width: 100%;\n height: auto;\n object-fit: cover;\n }\n }\n '
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import DropdownButton from 'react-bootstrap/DropdownButton';
|
|
3
3
|
import Dropdown from 'react-bootstrap/Dropdown';
|
|
4
4
|
|
|
@@ -14,36 +14,36 @@ var RelatedTopicsDropdown = function RelatedTopicsDropdown(_ref) {
|
|
|
14
14
|
_ref$className = _ref.className,
|
|
15
15
|
className = _ref$className === undefined ? '' : _ref$className;
|
|
16
16
|
|
|
17
|
-
/*
|
|
18
|
-
Props accepted - parentTaxonomy(required, object), subTaxonomy(required, array), page(optional), exclude(optional), variant(optional), className(optional)
|
|
19
|
-
example:
|
|
20
|
-
<RelatedTopicDropdown
|
|
21
|
-
page='/clinical'
|
|
22
|
-
exclude="clinical"
|
|
23
|
-
className='mb-3'
|
|
24
|
-
parentTaxonomy={props.parentTaxonomy}
|
|
25
|
-
subTaxonomies={props.subTaxonomies}
|
|
26
|
-
/>
|
|
17
|
+
/*
|
|
18
|
+
Props accepted - parentTaxonomy(required, object), subTaxonomy(required, array), page(optional), exclude(optional), variant(optional), className(optional)
|
|
19
|
+
example:
|
|
20
|
+
<RelatedTopicDropdown
|
|
21
|
+
page='/clinical'
|
|
22
|
+
exclude="clinical"
|
|
23
|
+
className='mb-3'
|
|
24
|
+
parentTaxonomy={props.parentTaxonomy}
|
|
25
|
+
subTaxonomies={props.subTaxonomies}
|
|
26
|
+
/>
|
|
27
27
|
*/
|
|
28
28
|
if (subTaxonomies.length === 0 && parentTaxonomy) {
|
|
29
29
|
if (parentTaxonomy.identifier == exclude) {
|
|
30
30
|
return '';
|
|
31
31
|
}
|
|
32
|
-
return
|
|
32
|
+
return React__default.createElement(
|
|
33
33
|
'div',
|
|
34
34
|
null,
|
|
35
|
-
|
|
35
|
+
React__default.createElement(
|
|
36
36
|
'style',
|
|
37
37
|
{ jsx: true },
|
|
38
38
|
'\n #related_dropdown > .dropdown > .dropdown-menu.show {\n position: absolute;\n top: auto !important;\n max-height: 50vh !important;\n box-shadow: 0px 0px 25px #ccc;\n z-index: 9999;\n transform: none !important;\n }\n @media only screen and (max-width: 720px) {\n #related_dropdown > .dropdown > .dropdown-menu.show {\n position: absolute;\n max-height: 30vh !important;\n max-width: 95vw;\n box-shadow: 0px 0px 25px #ccc;\n z-index: 9999;\n font-size: 0.85em;\n }\n }\n '
|
|
39
39
|
),
|
|
40
|
-
|
|
40
|
+
React__default.createElement(
|
|
41
41
|
'div',
|
|
42
42
|
{ id: 'related_dropdown', className: className },
|
|
43
|
-
|
|
43
|
+
React__default.createElement(
|
|
44
44
|
DropdownButton,
|
|
45
45
|
{ id: 'related_button', variant: variant, title: 'Related Topics' },
|
|
46
|
-
|
|
46
|
+
React__default.createElement(
|
|
47
47
|
Dropdown.Item,
|
|
48
48
|
{ href: parentTaxonomy.identifier },
|
|
49
49
|
parentTaxonomy.name
|
|
@@ -52,22 +52,22 @@ var RelatedTopicsDropdown = function RelatedTopicsDropdown(_ref) {
|
|
|
52
52
|
)
|
|
53
53
|
);
|
|
54
54
|
} else {
|
|
55
|
-
return
|
|
55
|
+
return React__default.createElement(
|
|
56
56
|
'div',
|
|
57
57
|
null,
|
|
58
|
-
|
|
58
|
+
React__default.createElement(
|
|
59
59
|
'style',
|
|
60
60
|
{ jsx: true },
|
|
61
61
|
'\n #related_dropdown > .dropdown > .dropdown-menu.show {\n position: absolute;\n top: auto !important;\n max-height: 40vh !important;\n z-index: 9999;\n transform: none !important;\n }\n @media only screen and (max-width: 720px) {\n #related_dropdown > .dropdown > .dropdown-menu.show {\n position: absolute;\n max-height: 30vh !important;\n max-width: 95vw;\n z-index: 9999;\n font-size: 0.85em;\n }\n }\n '
|
|
62
62
|
),
|
|
63
|
-
|
|
63
|
+
React__default.createElement(
|
|
64
64
|
'div',
|
|
65
65
|
{ id: 'related_dropdown', className: className },
|
|
66
|
-
|
|
66
|
+
React__default.createElement(
|
|
67
67
|
DropdownButton,
|
|
68
68
|
{ id: 'related_button', variant: variant, title: 'Related Topics' },
|
|
69
69
|
subTaxonomies.length > 0 && subTaxonomies.map(function (taxonomy, index) {
|
|
70
|
-
return
|
|
70
|
+
return React__default.createElement(
|
|
71
71
|
Dropdown.Item,
|
|
72
72
|
{ key: index, href: page + '/' + taxonomy.identifier },
|
|
73
73
|
taxonomy.name
|
package/dist/esm/RolesDeck.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import Container from 'react-bootstrap/Container';
|
|
3
3
|
import Row from 'react-bootstrap/Row';
|
|
4
4
|
import Col from 'react-bootstrap/Col';
|
|
@@ -15,43 +15,43 @@ var RolesDeck = function RolesDeck(props) {
|
|
|
15
15
|
// dataRecord - data record to be shown in card.
|
|
16
16
|
// />
|
|
17
17
|
|
|
18
|
-
return
|
|
18
|
+
return React__default.createElement(
|
|
19
19
|
'div',
|
|
20
20
|
{ className: 'rolesDeck' },
|
|
21
|
-
|
|
21
|
+
React__default.createElement(
|
|
22
22
|
Container,
|
|
23
23
|
null,
|
|
24
|
-
|
|
24
|
+
React__default.createElement(
|
|
25
25
|
Row,
|
|
26
26
|
null,
|
|
27
27
|
data && data.map(function (row, index) {
|
|
28
28
|
if (row && row.url && row.name) {
|
|
29
|
-
return
|
|
29
|
+
return React__default.createElement(
|
|
30
30
|
Col,
|
|
31
31
|
{ key: index, md: 12, lg: 6, counter: index++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
32
|
-
|
|
32
|
+
React__default.createElement(
|
|
33
33
|
Card,
|
|
34
34
|
{ className: 'taxonomy-card', style: { position: 'relative', overflow: 'hidden', borderBottom: '3px solid var(--primary)' } },
|
|
35
|
-
|
|
35
|
+
React__default.createElement(
|
|
36
36
|
Card.Link,
|
|
37
37
|
{ href: row.url },
|
|
38
|
-
|
|
38
|
+
React__default.createElement(
|
|
39
39
|
Card.Body,
|
|
40
40
|
null,
|
|
41
|
-
|
|
41
|
+
React__default.createElement(
|
|
42
42
|
Row,
|
|
43
43
|
null,
|
|
44
|
-
|
|
44
|
+
React__default.createElement(
|
|
45
45
|
Col,
|
|
46
46
|
{ className: 'details-content-wrapper' },
|
|
47
|
-
|
|
47
|
+
React__default.createElement(
|
|
48
48
|
'div',
|
|
49
49
|
{ className: 'details-wrapper' },
|
|
50
50
|
row.name
|
|
51
51
|
)
|
|
52
52
|
)
|
|
53
53
|
),
|
|
54
|
-
icon &&
|
|
54
|
+
icon && React__default.createElement(
|
|
55
55
|
'span',
|
|
56
56
|
{
|
|
57
57
|
className: 'taxonomy-icon',
|
|
@@ -73,7 +73,7 @@ var RolesDeck = function RolesDeck(props) {
|
|
|
73
73
|
})
|
|
74
74
|
)
|
|
75
75
|
),
|
|
76
|
-
icon &&
|
|
76
|
+
icon && React__default.createElement(
|
|
77
77
|
'style',
|
|
78
78
|
{ jsx: 'true' },
|
|
79
79
|
'\n .taxonomy-card .taxonomy-icon {\n transform: translateY(-50%) translateX(10px) !important;\n }\n .taxonomy-card.card:hover .taxonomy-icon {\n transform: translateY(-50%) translateX(5px) scale(1.25) rotate(-180deg) !important;\n }\n '
|
package/dist/esm/Search.js
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import './_export-f7ec2adf.js';
|
|
3
|
+
import './es6.string.iterator-13b94db0.js';
|
|
4
|
+
import './core.get-iterator-method-dbbb346b.js';
|
|
5
|
+
import './web.dom.iterable-c3ba4d37.js';
|
|
6
|
+
import React__default, { useState } from 'react';
|
|
7
|
+
import { _ as _slicedToArray } from './slicedToArray-8818fe95.js';
|
|
8
|
+
import Button from 'react-bootstrap/Button';
|
|
3
9
|
import Form from 'react-bootstrap/Form';
|
|
4
10
|
import FormControl from 'react-bootstrap/FormControl';
|
|
5
|
-
import Button from 'react-bootstrap/Button';
|
|
6
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import './web.dom.iterable-89515070.js';
|
|
8
|
-
import './es6.string.iterator-2efae22d.js';
|
|
9
|
-
import './_to-object-62924b74.js';
|
|
10
|
-
import './_export-9029ebab.js';
|
|
11
|
-
import './core.get-iterator-method-6636b3ef.js';
|
|
12
11
|
|
|
13
12
|
var Search = function Search(props) {
|
|
14
13
|
var _props$placeholder = props.placeholder,
|
|
@@ -28,12 +27,12 @@ var Search = function Search(props) {
|
|
|
28
27
|
window.location.href = '/search?searchTerm=' + searchKey;
|
|
29
28
|
};
|
|
30
29
|
|
|
31
|
-
return
|
|
30
|
+
return React__default.createElement(
|
|
32
31
|
Form,
|
|
33
32
|
{ inline: true, onSubmit: function onSubmit(e) {
|
|
34
33
|
return submitSearch(e);
|
|
35
34
|
} },
|
|
36
|
-
|
|
35
|
+
React__default.createElement(FormControl, {
|
|
37
36
|
className: device === 'mobile' ? 'mobile-search mr-sm-2' : 'mr-sm-2',
|
|
38
37
|
type: 'text',
|
|
39
38
|
placeholder: placeholder,
|
|
@@ -42,14 +41,14 @@ var Search = function Search(props) {
|
|
|
42
41
|
return setSearchKey(e.target.value);
|
|
43
42
|
}
|
|
44
43
|
}),
|
|
45
|
-
|
|
44
|
+
React__default.createElement(
|
|
46
45
|
Button,
|
|
47
46
|
{ variant: 'secondary', onClick: function onClick(e) {
|
|
48
47
|
return submitSearch(e);
|
|
49
48
|
} },
|
|
50
49
|
btnText
|
|
51
50
|
),
|
|
52
|
-
|
|
51
|
+
React__default.createElement(
|
|
53
52
|
'style',
|
|
54
53
|
{ jsx: 'true' },
|
|
55
54
|
'\n .mobile-search {\n width: 75%;\n margin-right: 15px;\n }\n '
|
package/dist/esm/Segment.js
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7714cea4.js';
|
|
2
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
3
|
-
import './
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
2
|
+
import './_export-f7ec2adf.js';
|
|
3
|
+
import './es6.string.iterator-13b94db0.js';
|
|
4
|
+
import './_library-90219a8d.js';
|
|
5
|
+
import './_iter-detect-65720de7.js';
|
|
6
|
+
import './core.get-iterator-method-dbbb346b.js';
|
|
7
|
+
import './web.dom.iterable-c3ba4d37.js';
|
|
8
|
+
import { a as _asyncToGenerator, b as _regeneratorRuntime } from './asyncToGenerator-0c61f551.js';
|
|
9
|
+
import './_set-species-26ee5c2a.js';
|
|
11
10
|
|
|
12
11
|
require("babel-polyfill");
|
|
13
12
|
|
|
@@ -66,9 +65,9 @@ var Segment = {
|
|
|
66
65
|
getIDs: function getIDs() {
|
|
67
66
|
var _this = this;
|
|
68
67
|
|
|
69
|
-
return _asyncToGenerator( /*#__PURE__*/
|
|
68
|
+
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
70
69
|
var res, json;
|
|
71
|
-
return
|
|
70
|
+
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
72
71
|
while (1) {
|
|
73
72
|
switch (_context.prev = _context.next) {
|
|
74
73
|
case 0:
|
|
@@ -102,9 +101,9 @@ var Segment = {
|
|
|
102
101
|
pageview: function pageview(domain) {
|
|
103
102
|
var _this2 = this;
|
|
104
103
|
|
|
105
|
-
return _asyncToGenerator( /*#__PURE__*/
|
|
104
|
+
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
|
|
106
105
|
var result, beam_id, session_id;
|
|
107
|
-
return
|
|
106
|
+
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
108
107
|
while (1) {
|
|
109
108
|
switch (_context2.prev = _context2.next) {
|
|
110
109
|
case 0:
|
|
@@ -149,9 +148,9 @@ var Segment = {
|
|
|
149
148
|
|
|
150
149
|
var brightCoveAccountID = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : '';
|
|
151
150
|
var brightCoveVideoID = arguments.length > 8 && arguments[8] !== undefined ? arguments[8] : '';
|
|
152
|
-
return _asyncToGenerator( /*#__PURE__*/
|
|
151
|
+
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
|
|
153
152
|
var result, beam_id, session_id, domain, data;
|
|
154
|
-
return
|
|
153
|
+
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
155
154
|
while (1) {
|
|
156
155
|
switch (_context3.prev = _context3.next) {
|
|
157
156
|
case 0:
|
|
@@ -210,9 +209,9 @@ var Segment = {
|
|
|
210
209
|
|
|
211
210
|
var brightCovePlayerID = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : '';
|
|
212
211
|
var brightCoveAccountID = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : '';
|
|
213
|
-
return _asyncToGenerator( /*#__PURE__*/
|
|
212
|
+
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4() {
|
|
214
213
|
var result, beam_id, session_id, domain, data;
|
|
215
|
-
return
|
|
214
|
+
return _regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
216
215
|
while (1) {
|
|
217
216
|
switch (_context4.prev = _context4.next) {
|
|
218
217
|
case 0:
|
|
@@ -263,9 +262,9 @@ var Segment = {
|
|
|
263
262
|
adClicked: function adClicked(domain, advertiserid, campaignid, creativeid, itemid, size, isemptyline, sourceAgnosticCreativeId, sourceAgnosticlineId) {
|
|
264
263
|
var _this5 = this;
|
|
265
264
|
|
|
266
|
-
return _asyncToGenerator( /*#__PURE__*/
|
|
265
|
+
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee5() {
|
|
267
266
|
var result, beam_id, session_id;
|
|
268
|
-
return
|
|
267
|
+
return _regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
269
268
|
while (1) {
|
|
270
269
|
switch (_context5.prev = _context5.next) {
|
|
271
270
|
case 0:
|
|
@@ -312,9 +311,9 @@ var Segment = {
|
|
|
312
311
|
adViewed: function adViewed(domain, advertiserid, campaignid, creativeid, itemid, size, isemptyline, sourceAgnosticCreativeId, sourceAgnosticlineId) {
|
|
313
312
|
var _this6 = this;
|
|
314
313
|
|
|
315
|
-
return _asyncToGenerator( /*#__PURE__*/
|
|
314
|
+
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee6() {
|
|
316
315
|
var result, beam_id, session_id;
|
|
317
|
-
return
|
|
316
|
+
return _regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
318
317
|
while (1) {
|
|
319
318
|
switch (_context6.prev = _context6.next) {
|
|
320
319
|
case 0:
|
package/dist/esm/SetCookie.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { j as js_cookie } from './js.cookie-6874175c.js';
|
|
2
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import { c as cookie } from './js.cookie-2ce24ab0.js';
|
|
3
3
|
|
|
4
4
|
var SetCookie = function SetCookie(key, value) {
|
|
5
|
-
|
|
5
|
+
cookie.set(key, value, { expires: 1, sameSite: 'none', secure: true });
|
|
6
6
|
};
|
|
7
7
|
|
|
8
8
|
export default SetCookie;
|