@mjhls/mjh-framework 1.0.973-ptce-test-v2 → 1.0.974-identify
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/dist/cjs/AlgoliaSearch.js +142 -18
- package/dist/cjs/ArticleProgramLandingPage.js +1 -1
- package/dist/cjs/ArticleSeriesLandingPage.js +2 -2
- package/dist/cjs/Auth.js +20 -17
- package/dist/cjs/AuthWrapper.js +18 -12
- package/dist/cjs/CMEDeck.js +5 -1
- package/dist/cjs/Column1.js +1 -1
- package/dist/cjs/Column2.js +1 -1
- package/dist/cjs/Column3.js +1 -1
- package/dist/cjs/ContentCardPaginated.js +2 -3
- package/dist/cjs/DeckContent.js +1 -1
- package/dist/cjs/DeckQueuePaginated.js +1 -2
- package/dist/cjs/Dfp-9be904d5.js +1 -1
- package/dist/cjs/ExternalResources.js +1 -1
- package/dist/cjs/GridContent.js +2 -2
- package/dist/cjs/GridContentPaginated.js +3 -4
- package/dist/cjs/HamMagazine.js +1 -1
- package/dist/cjs/Header.js +1 -1
- package/dist/cjs/HorizontalArticleListing.js +1 -1
- package/dist/cjs/IssueLanding.js +3 -3
- package/dist/cjs/LeftNav.js +1 -1
- package/dist/cjs/MasterDeck.js +2 -2
- package/dist/cjs/MasterDeckPaginated.js +3 -4
- package/dist/cjs/{MediaSeriesCard-5bf9813e.js → MediaSeriesCard-91982ed5.js} +65 -43
- package/dist/cjs/MediaSeriesLanding.js +4 -4
- package/dist/cjs/MediaSeriesLandingPaginated.js +5 -6
- package/dist/cjs/NavDvm.js +1 -1
- package/dist/cjs/NavMagazine.js +1 -1
- package/dist/cjs/NavNative.js +1 -1
- package/dist/cjs/Pagination-2a3d0103.js +97 -0
- package/dist/cjs/PartnerDetailListing.js +3 -3
- package/dist/cjs/PartnerDetailListingPaginated.js +4 -5
- package/dist/cjs/PubSection.js +2 -2
- package/dist/cjs/QueueDeckExpanded.js +2 -2
- package/dist/cjs/QueueDeckExpandedPaginated.js +3 -4
- package/dist/cjs/Segment.js +49 -0
- package/dist/cjs/TaxonomyDescription.js +1 -1
- package/dist/cjs/VideoProgramLandingPage.js +1 -1
- package/dist/cjs/VideoSeriesLandingPage.js +2 -2
- package/dist/cjs/View.js +165 -55
- package/dist/cjs/getSerializers.js +1 -1
- package/dist/cjs/index.js +3 -4
- package/dist/cjs/ustream-api-3819e4aa.js +1 -1
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +1 -1
- package/dist/esm/AD300x250x600.js +1 -1
- package/dist/esm/AD728x90.js +1 -1
- package/dist/esm/ADFloatingFooter.js +1 -1
- package/dist/esm/ADFooter.js +1 -1
- package/dist/esm/ADGutter.js +1 -1
- package/dist/esm/ADSkyscraper.js +1 -1
- package/dist/esm/ADSponsoredResources.js +1 -1
- package/dist/esm/ADWebcast.js +1 -1
- package/dist/esm/ADWelcome.js +1 -1
- package/dist/esm/AccordionPanel.js +1 -1
- package/dist/esm/AdSlot.js +1 -1
- package/dist/esm/AdSlotsProvider.js +1 -1
- package/dist/esm/AlgoliaSearch.js +144 -20
- package/dist/esm/AlphabeticList.js +1 -1
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +2 -2
- package/dist/esm/ArticleSeriesLandingPage.js +3 -3
- package/dist/esm/ArticleSeriesListing.js +1 -1
- package/dist/esm/Auth.js +20 -18
- 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 +6 -2
- package/dist/esm/Column1.js +1 -2
- package/dist/esm/Column2.js +1 -2
- package/dist/esm/Column3.js +1 -2
- package/dist/esm/ConferenceArticleCard.js +1 -1
- package/dist/esm/ContentCardPaginated.js +3 -4
- package/dist/esm/DeckContent.js +2 -2
- package/dist/esm/DeckQueue.js +1 -1
- package/dist/esm/DeckQueuePaginated.js +2 -3
- package/dist/esm/Dfp-102f0beb.js +1 -1
- package/dist/esm/EventsDeck.js +1 -1
- package/dist/esm/ExternalResources.js +2 -2
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/ForbesHero.js +1 -1
- package/dist/esm/GridContent.js +3 -3
- package/dist/esm/GridContentPaginated.js +4 -5
- package/dist/esm/GridHero.js +1 -1
- package/dist/esm/GroupDeck.js +1 -1
- package/dist/esm/HamMagazine.js +1 -2
- 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 +2 -2
- package/dist/esm/HorizontalHero.js +1 -1
- package/dist/esm/IssueContentDeck.js +1 -1
- package/dist/esm/IssueDeck.js +1 -1
- package/dist/esm/IssueLanding.js +4 -4
- package/dist/esm/KMTracker.js +1 -1
- package/dist/esm/LeftNav.js +1 -2
- package/dist/esm/MasterDeck.js +3 -3
- package/dist/esm/MasterDeckPaginated.js +4 -5
- package/dist/esm/{MediaSeriesCard-305a9cb3.js → MediaSeriesCard-da5c7499.js} +65 -43
- package/dist/esm/MediaSeriesLanding.js +5 -5
- package/dist/esm/MediaSeriesLandingPaginated.js +6 -7
- package/dist/esm/NavDvm.js +1 -2
- package/dist/esm/NavMagazine.js +1 -2
- package/dist/esm/NavNative.js +1 -2
- package/dist/esm/OncliveHero.js +1 -1
- package/dist/esm/OncliveLargeHero.js +1 -1
- package/dist/esm/PageFilter.js +1 -1
- package/dist/esm/Pagination-dc30727b.js +90 -0
- package/dist/esm/PartnerDetailListing.js +4 -4
- package/dist/esm/PartnerDetailListingPaginated.js +5 -6
- package/dist/esm/PdfDownload.js +1 -1
- package/dist/esm/PopUpModal.js +1 -1
- package/dist/esm/PubSection.js +3 -3
- package/dist/esm/PubToc.js +1 -1
- package/dist/esm/PublicationDeck.js +1 -1
- package/dist/esm/PublicationLanding.js +1 -1
- package/dist/esm/QueueDeckExpanded.js +3 -3
- package/dist/esm/QueueDeckExpandedPaginated.js +4 -5
- package/dist/esm/RecentNews.js +1 -1
- package/dist/esm/RelatedContent.js +1 -1
- package/dist/esm/RelatedTopicsDropdown.js +1 -1
- package/dist/esm/RolesDeck.js +1 -1
- package/dist/esm/Schema.js +1 -1
- package/dist/esm/Search.js +1 -1
- package/dist/esm/Segment.js +51 -2
- package/dist/esm/SeriesListingDeck.js +1 -1
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +1 -1
- package/dist/esm/SocialIcons.js +1 -1
- package/dist/esm/SocialShare.js +1 -1
- package/dist/esm/TaxonomyCard.js +1 -1
- package/dist/esm/TaxonomyDescription.js +2 -2
- package/dist/esm/TemplateNormal.js +1 -1
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/Ustream.js +1 -1
- package/dist/esm/VerticalHero.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +2 -2
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesFilter.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +3 -3
- package/dist/esm/VideoSeriesListing.js +1 -1
- package/dist/esm/View.js +166 -55
- package/dist/esm/YahooHero.js +1 -1
- package/dist/esm/YoutubeGroup.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 +1 -1
- package/dist/esm/getSeriesDetail.js +1 -1
- package/dist/esm/index.js +3 -4
- 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 +1 -1
- package/dist/cjs/Pagination-1e0d5f1d.js +0 -90
- package/dist/cjs/PtceDeck.js +0 -223
- package/dist/cjs/getPtceActivities.js +0 -78
- package/dist/esm/Pagination-cd21f8c2.js +0 -82
- package/dist/esm/PtceDeck.js +0 -215
- package/dist/esm/getPtceActivities.js +0 -76
- /package/dist/cjs/{ADInfeed-81006615.js → ADInfeed-e87afe8a.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-0db07099.js → ADlgInfeed-b5a3d436.js} +0 -0
- /package/dist/cjs/{index-eb1c583d.js → index-f064c482.js} +0 -0
- /package/dist/esm/{ADInfeed-6d1fc6bf.js → ADInfeed-5765a73a.js} +0 -0
- /package/dist/esm/{ADlgInfeed-dc36c928.js → ADlgInfeed-5e36f317.js} +0 -0
- /package/dist/esm/{index-264bbd3c.js → index-8f118089.js} +0 -0
package/dist/esm/Segment.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958ef5fc.js';
|
|
1
|
+
import { a as _Promise, _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958ef5fc.js';
|
|
2
2
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
3
3
|
import './core.get-iterator-method-ea258bb1.js';
|
|
4
4
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -38,6 +38,55 @@ var Segment = {
|
|
|
38
38
|
email: email
|
|
39
39
|
});
|
|
40
40
|
},
|
|
41
|
+
identifyWithGroupAndEmail: function identifyWithGroupAndEmail(groupId, email, anonId) {
|
|
42
|
+
if (typeof analytics === 'undefined') {
|
|
43
|
+
console.error('Segment not initialized', analytics);
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// let buff = Buffer.from(email, 'ascii')
|
|
48
|
+
// const eKey = buff.toString('base64')
|
|
49
|
+
|
|
50
|
+
analytics.identify(anonId, {
|
|
51
|
+
groupId: groupId,
|
|
52
|
+
email: email
|
|
53
|
+
});
|
|
54
|
+
},
|
|
55
|
+
createGroup: function createGroup(groupId, anonId, groupName) {
|
|
56
|
+
if (typeof analytics === 'undefined') {
|
|
57
|
+
console.error('Segment not initialized', analytics);
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
var buff = Buffer.from(groupId, 'ascii');
|
|
62
|
+
console.log('buff', buff);
|
|
63
|
+
|
|
64
|
+
var eKey = buff.toString('base64');
|
|
65
|
+
console.log('eKey', eKey);
|
|
66
|
+
_Promise.resolve(analytics.group(groupId, {
|
|
67
|
+
anonymousId: anonId,
|
|
68
|
+
name: groupName
|
|
69
|
+
})).then(function (data) {
|
|
70
|
+
return console.log('data', data);
|
|
71
|
+
}).catch(function (e) {
|
|
72
|
+
return console.log('Error: ' + e);
|
|
73
|
+
});
|
|
74
|
+
},
|
|
75
|
+
identifyWithGroup: function identifyWithGroup(groupId, anonId) {
|
|
76
|
+
if (!groupId) {
|
|
77
|
+
throw new Error('Argument is not present');
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
if (typeof analytics === 'undefined') {
|
|
81
|
+
console.error('Segment not initialized', analytics);
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
_Promise.resolve(analytics.identify(anonId, {
|
|
85
|
+
groupId: groupId
|
|
86
|
+
})).then(function (res) {
|
|
87
|
+
return console.log('response', res);
|
|
88
|
+
});
|
|
89
|
+
},
|
|
41
90
|
getURL: function getURL(url) {
|
|
42
91
|
var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
43
92
|
|
|
@@ -398,4 +447,4 @@ var Segment = {
|
|
|
398
447
|
}
|
|
399
448
|
};
|
|
400
449
|
|
|
401
|
-
export default
|
|
450
|
+
export { Segment as default };
|
package/dist/esm/SetCookie.js
CHANGED
package/dist/esm/SideFooter.js
CHANGED
package/dist/esm/SocialIcons.js
CHANGED
package/dist/esm/SocialShare.js
CHANGED
package/dist/esm/TaxonomyCard.js
CHANGED
|
@@ -5,7 +5,7 @@ import React__default, { useState, useEffect } from 'react';
|
|
|
5
5
|
import { useRouter } from 'next/router';
|
|
6
6
|
import Head from 'next/head';
|
|
7
7
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
8
|
-
import { g as getSerializers } from './index-
|
|
8
|
+
import { g as getSerializers } from './index-8f118089.js';
|
|
9
9
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
10
10
|
import './core.get-iterator-method-ea258bb1.js';
|
|
11
11
|
import './_object-pie-133f504a.js';
|
|
@@ -197,4 +197,4 @@ TaxonomyDescription.getDescription = function () {
|
|
|
197
197
|
};
|
|
198
198
|
}();
|
|
199
199
|
|
|
200
|
-
export default
|
|
200
|
+
export { TaxonomyDescription as default };
|
package/dist/esm/Ustream.js
CHANGED
package/dist/esm/VerticalHero.js
CHANGED
|
@@ -5,7 +5,7 @@ import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
|
5
5
|
import Col from 'react-bootstrap/Col';
|
|
6
6
|
import Form from 'react-bootstrap/Form';
|
|
7
7
|
import Button from 'react-bootstrap/Button';
|
|
8
|
-
import { g as getSerializers } from './index-
|
|
8
|
+
import { g as getSerializers } from './index-8f118089.js';
|
|
9
9
|
import VideoSeriesListing from './VideoSeriesListing.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
11
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -250,4 +250,4 @@ VideoProgramLandingPage.getInitialData = function () {
|
|
|
250
250
|
};
|
|
251
251
|
}();
|
|
252
252
|
|
|
253
|
-
export default
|
|
253
|
+
export { VideoProgramLandingPage as default };
|
|
@@ -36,13 +36,13 @@ import './index.es-a6137319.js';
|
|
|
36
36
|
import './visibility-sensor-72fd8f8b.js';
|
|
37
37
|
import 'react-dom';
|
|
38
38
|
import './index-3f5c03b2.js';
|
|
39
|
-
import './ADlgInfeed-
|
|
39
|
+
import './ADlgInfeed-5e36f317.js';
|
|
40
40
|
import './AdSlot.js';
|
|
41
41
|
import './Beam.js';
|
|
42
42
|
import './stringify-2b084bee.js';
|
|
43
43
|
import './Segment.js';
|
|
44
44
|
import './main-1894c974.js';
|
|
45
|
-
import './ADInfeed-
|
|
45
|
+
import './ADInfeed-5765a73a.js';
|
|
46
46
|
import './index-755f2cc2.js';
|
|
47
47
|
import './urlFor.js';
|
|
48
48
|
import './style-inject.es-1f59c1d0.js';
|
|
@@ -170,4 +170,4 @@ VideoSeriesLandingPage.getInitialData = function () {
|
|
|
170
170
|
};
|
|
171
171
|
}();
|
|
172
172
|
|
|
173
|
-
export default
|
|
173
|
+
export { VideoSeriesLandingPage as default };
|