@mjhls/mjh-framework 1.0.1010 → 1.0.1012
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 +2 -1
- package/dist/cjs/AD300x250x600.js +2 -1
- package/dist/cjs/AD728x90.js +2 -1
- package/dist/cjs/ADFloatingFooter.js +2 -1
- package/dist/cjs/ADGutter.js +2 -1
- package/dist/cjs/ADSkyscraper.js +2 -1
- package/dist/cjs/ADSponsoredResources.js +2 -1
- package/dist/cjs/ADWebcast.js +2 -1
- package/dist/cjs/ADWelcome.js +2 -1
- package/dist/cjs/AdSlot.js +2 -1
- package/dist/cjs/AdSlotsProvider.js +2 -1
- package/dist/cjs/ArticleProgramLandingPage.js +3 -2
- package/dist/cjs/ArticleSeriesLandingPage.js +4 -3
- package/dist/cjs/Auth.js +2 -1
- package/dist/cjs/Beam.js +2 -1
- package/dist/cjs/CMEDeck.js +2 -1
- package/dist/cjs/Column2.js +2 -1
- package/dist/cjs/Column3.js +2 -1
- package/dist/cjs/ContentCardPaginated.js +3 -2
- package/dist/cjs/DeckContent.js +3 -2
- package/dist/cjs/DeckQueuePaginated.js +2 -1
- package/dist/cjs/ExternalResources.js +3 -2
- package/dist/cjs/GridContent.js +4 -3
- package/dist/cjs/GridContentPaginated.js +4 -3
- package/dist/cjs/HamMagazine.js +2 -1
- package/dist/cjs/HorizontalArticleListing.js +3 -2
- package/dist/cjs/IssueLanding.js +5 -4
- package/dist/cjs/LeftNav.js +2 -1
- package/dist/cjs/MasterDeck.js +4 -3
- package/dist/cjs/MasterDeckPaginated.js +4 -3
- package/dist/cjs/{MediaSeriesCard-7f8ea2ea.js → MediaSeriesCard-775036a8.js} +1 -1
- package/dist/cjs/MediaSeriesLanding.js +6 -5
- package/dist/cjs/MediaSeriesLandingPaginated.js +6 -5
- package/dist/cjs/NavDvm.js +2 -1
- package/dist/cjs/NavMagazine.js +2 -1
- package/dist/cjs/NavNative.js +2 -1
- package/dist/cjs/PartnerDetailListing.js +5 -4
- package/dist/cjs/PartnerDetailListingPaginated.js +5 -4
- package/dist/cjs/PodcastsLanding.js +6 -5
- package/dist/cjs/PtceDeck.js +2 -1
- package/dist/cjs/PubSection.js +4 -3
- package/dist/cjs/PubToc.js +2 -1
- package/dist/cjs/PublicationLanding.js +42 -89
- package/dist/cjs/QueueDeckExpanded.js +4 -3
- package/dist/cjs/QueueDeckExpandedPaginated.js +4 -3
- package/dist/cjs/Segment.js +2 -1
- package/dist/cjs/SideFooter.js +2 -1
- package/dist/cjs/TaxonomyDescription.js +3 -2
- package/dist/cjs/TemplateNormal.js +2 -1
- package/dist/cjs/Ustream.js +2 -1
- package/dist/cjs/VideoProgramLandingPage.js +3 -2
- package/dist/cjs/VideoSeriesFilter.js +2 -1
- package/dist/cjs/VideoSeriesLandingPage.js +4 -3
- package/dist/cjs/View.js +21 -20
- package/dist/cjs/_set-species-0c7864a2.js +55 -0
- package/dist/cjs/{asyncToGenerator-77821af0.js → asyncToGenerator-65df6bf8.js} +8 -56
- package/dist/cjs/faundadb.js +2 -1
- package/dist/cjs/getPtceActivities.js +2 -1
- package/dist/cjs/getQuery.js +1 -1
- package/dist/cjs/getRelatedArticle.js +2 -1
- package/dist/cjs/getRootDocGroup.js +2 -1
- package/dist/cjs/getSerializers.js +3 -2
- package/dist/cjs/{index-b41ea6a0.js → index-7ca74b82.js} +1 -1
- package/dist/cjs/index.js +5 -4
- package/dist/esm/AD300x250.js +2 -1
- package/dist/esm/AD300x250x600.js +2 -1
- package/dist/esm/AD728x90.js +2 -1
- package/dist/esm/ADFloatingFooter.js +2 -1
- package/dist/esm/ADGutter.js +2 -1
- package/dist/esm/ADSkyscraper.js +2 -1
- package/dist/esm/ADSponsoredResources.js +2 -1
- package/dist/esm/ADWebcast.js +2 -1
- package/dist/esm/ADWelcome.js +2 -1
- package/dist/esm/AdSlot.js +2 -1
- package/dist/esm/AdSlotsProvider.js +2 -1
- package/dist/esm/ArticleProgramLandingPage.js +3 -2
- package/dist/esm/ArticleSeriesLandingPage.js +4 -3
- package/dist/esm/Auth.js +2 -1
- package/dist/esm/Beam.js +2 -1
- package/dist/esm/CMEDeck.js +2 -1
- package/dist/esm/Column2.js +2 -1
- package/dist/esm/Column3.js +2 -1
- package/dist/esm/ContentCardPaginated.js +3 -2
- package/dist/esm/DeckContent.js +3 -2
- package/dist/esm/DeckQueuePaginated.js +2 -1
- package/dist/esm/ExternalResources.js +3 -2
- package/dist/esm/GridContent.js +4 -3
- package/dist/esm/GridContentPaginated.js +4 -3
- package/dist/esm/HamMagazine.js +2 -1
- package/dist/esm/HorizontalArticleListing.js +3 -2
- package/dist/esm/IssueLanding.js +5 -4
- package/dist/esm/LeftNav.js +2 -1
- package/dist/esm/MasterDeck.js +4 -3
- package/dist/esm/MasterDeckPaginated.js +4 -3
- package/dist/esm/{MediaSeriesCard-478f939a.js → MediaSeriesCard-96d46dee.js} +1 -1
- package/dist/esm/MediaSeriesLanding.js +6 -5
- package/dist/esm/MediaSeriesLandingPaginated.js +6 -5
- package/dist/esm/NavDvm.js +2 -1
- package/dist/esm/NavMagazine.js +2 -1
- package/dist/esm/NavNative.js +2 -1
- package/dist/esm/PartnerDetailListing.js +5 -4
- package/dist/esm/PartnerDetailListingPaginated.js +5 -4
- package/dist/esm/PodcastsLanding.js +6 -5
- package/dist/esm/PtceDeck.js +2 -1
- package/dist/esm/PubSection.js +4 -3
- package/dist/esm/PubToc.js +2 -1
- package/dist/esm/PublicationLanding.js +31 -78
- package/dist/esm/QueueDeckExpanded.js +4 -3
- package/dist/esm/QueueDeckExpandedPaginated.js +4 -3
- package/dist/esm/Segment.js +2 -1
- package/dist/esm/SideFooter.js +2 -1
- package/dist/esm/TaxonomyDescription.js +3 -2
- package/dist/esm/TemplateNormal.js +2 -1
- package/dist/esm/Ustream.js +2 -1
- package/dist/esm/VideoProgramLandingPage.js +3 -2
- package/dist/esm/VideoSeriesFilter.js +2 -1
- package/dist/esm/VideoSeriesLandingPage.js +4 -3
- package/dist/esm/View.js +21 -20
- package/dist/esm/_set-species-2cd9340f.js +50 -0
- package/dist/esm/{asyncToGenerator-958ef5fc.js → asyncToGenerator-64822ccc.js} +6 -50
- package/dist/esm/faundadb.js +2 -1
- package/dist/esm/getPtceActivities.js +2 -1
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getRelatedArticle.js +2 -1
- package/dist/esm/getRootDocGroup.js +2 -1
- package/dist/esm/getSerializers.js +3 -2
- package/dist/esm/{index-dd204fd9.js → index-fbb977dc.js} +1 -1
- package/dist/esm/index.js +5 -4
- package/package.json +1 -1
- /package/dist/cjs/{ADInfeed-ef933a08.js → ADInfeed-43871736.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-0e931f24.js → ADlgInfeed-6ca217b7.js} +0 -0
- /package/dist/esm/{ADInfeed-f946441a.js → ADInfeed-65b1c440.js} +0 -0
- /package/dist/esm/{ADlgInfeed-012e6f16.js → ADlgInfeed-fccdebf4.js} +0 -0
package/dist/esm/getQuery.js
CHANGED
|
@@ -13,7 +13,7 @@ var getQuery = function getQuery(type) {
|
|
|
13
13
|
case 'article':
|
|
14
14
|
return '*[\n _type == "article"\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && is_visible != false\n && url.current == $url\n ' + conditions + '\n ][0]{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n abstract,\n ...,\n passwordLock,\n password,\n issueGroup-> { _id, name, identifier, showIssueNameOnly, showPageNumber, parent-> },\n "authorDetails": authorMapping[]->{ displayName, firstName, lastName, url, profileImage, biography, showSocialShare },\n body[] {\n ...,\n asset->,\n images[]{\n ...,\n asset->\n },\n content[]{\n ...,\n asset->\n },\n videos[]{\n ...,\n thumbnail{\n _type,\n asset->\n }\n },\n response[]{\n ...,\n asset->\n },\n quizzes[]{\n ...,\n answer[]{\n ...,\n asset->\n },\n question[]{\n ...,\n asset->\n }\n },\n poster {\n _type,\n asset->\n },\n slides[]{\n ...,\n slideshowImage{\n ...,\n asset->\n }\n },\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n medias[]{\n ...,\n upload_doc {\n _type,\n asset-> \n },\n poster {\n _type,\n asset-> \n }\n },\n articles[]{\n ...,\n thumbnail{\n ...,\n asset-> \n },\n "authorDetails": authorMapping[]->{ displayName, firstName, lastName, url, profileImage, biography, showSocialShare },\n text[]{\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n }\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n ...,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\n showSocialShare,\n pixelTrackingCode->\n },\n documentGroup-> {\n _id,\n name,\n thumbnail,\n hideThumbnail,\n parent->{...,parent->},\n isShow,\n isSeries,\n disableEpisodeNumber,\n excludeRelatedContents,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL,\n hideSeriesSlider,\n pixelTrackingCode->\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n isSeries,\n disableEpisodeNumber,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n excludeRelatedContents,\n \'path\': identifier.current,\n hideSeriesSlider,\n pixelTrackingCode->\n },\n \'category\':contentCategory->{\n name,\n disableAds\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n volume,\n year,\n \'issueNumber\': number,\n \'articleSource\': source,\n \'path\': identifier.current,\n show_download_ris_button,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current,\n show_download_ris_button,\n },\n \'url\' : pdf.asset-> url,\n \'pdf\': pdf.asset->,\n isbn_issn,\n abbreviatedJournal,\n }\n\n }';
|
|
15
15
|
case 'publication':
|
|
16
|
-
return '*[_type == \'publication\'\n && identifier.current == $publication\n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issues\': *[_type == \'publication\'\n && is_visible\n && references(^._id)\n && defined(identifier)] {\n ...,\n thumbnail{ ..., asset-> },\n taxonomyMapping[]->,\n pdf{asset->},\n } | order(year desc, month desc)\n }';
|
|
16
|
+
return '*[_type == \'publication\'\n && identifier.current == $publication\n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issues\': *[_type == \'publication\'\n && is_visible\n && references(^._id)\n && defined(identifier)] {\n ...,\n thumbnail{ ..., asset-> },\n taxonomyMapping[]->,\n pdf{asset->},\n "articles": *[\n _type == \'article\' \n && !(_id in path("drafts.**"))\n && defined(title)\n && is_visible\n && defined(url)\n && defined(published) \n && dateTime(published) <= dateTime(now())\n && passwordLock != true\n && references(^._id)\n ][0]{_id}\n } | order(year desc, month desc)\n }';
|
|
17
17
|
case 'issue':
|
|
18
18
|
return '*[_type == \'publication\'\n && identifier.current == $publication\n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issue\': *[_type == \'publication\'\n && references(^._id)\n && is_visible != false\n && identifier.current == $issue][0] {\n ...,\n \'articles\': *[_type == \'article\'\n && !(_id in path("drafts.**"))\n && defined(title)\n && is_visible\n && defined(url)\n && defined(published) \n && dateTime(published) <= dateTime(now())\n && passwordLock != true\n && references(^._id)] | order(published desc) {\n ...,\n thumbnail{ ..., asset-> },\n authorMapping[0]->,\n contentCategory->,\n issueSection-> {\n name\n },\n \'pageNumber\': 1\n }\n }\n }';
|
|
19
19
|
case 'externalResources':
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-
|
|
1
|
+
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-64822ccc.js';
|
|
2
2
|
import { c as createCommonjsModule, a as commonjsGlobal, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
3
3
|
import { c as cookie } from './index-db3bb315.js';
|
|
4
4
|
import getQuery from './getQuery.js';
|
|
5
5
|
import './core.get-iterator-method-ea258bb1.js';
|
|
6
6
|
import './web.dom.iterable-ab4dea5c.js';
|
|
7
7
|
import './_library-528f1934.js';
|
|
8
|
+
import './_set-species-2cd9340f.js';
|
|
8
9
|
import './_iter-detect-98db3b07.js';
|
|
9
10
|
|
|
10
11
|
var defaultParseOptions = {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-
|
|
1
|
+
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-64822ccc.js';
|
|
2
2
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
3
3
|
import './core.get-iterator-method-ea258bb1.js';
|
|
4
4
|
import './web.dom.iterable-ab4dea5c.js';
|
|
5
5
|
import './_library-528f1934.js';
|
|
6
|
+
import './_set-species-2cd9340f.js';
|
|
6
7
|
import './_iter-detect-98db3b07.js';
|
|
7
8
|
|
|
8
9
|
var _this = undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
export { g as default } from './index-
|
|
2
|
+
export { g as default } from './index-fbb977dc.js';
|
|
3
3
|
import './BlockContent-1e73bd2c.js';
|
|
4
4
|
import './entities-6d9154b4.js';
|
|
5
5
|
import './slicedToArray-6ebcbfea.js';
|
|
@@ -16,8 +16,9 @@ import './index-c7e2ac95.js';
|
|
|
16
16
|
import './util-8ed16d48.js';
|
|
17
17
|
import './Beam.js';
|
|
18
18
|
import './stringify-2b084bee.js';
|
|
19
|
-
import './asyncToGenerator-
|
|
19
|
+
import './asyncToGenerator-64822ccc.js';
|
|
20
20
|
import './_library-528f1934.js';
|
|
21
|
+
import './_set-species-2cd9340f.js';
|
|
21
22
|
import './_iter-detect-98db3b07.js';
|
|
22
23
|
import './Segment.js';
|
|
23
24
|
import './main-9f6806ea.js';
|
|
@@ -15,7 +15,7 @@ import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
|
15
15
|
import { _ as _extends, b as _extends$1 } from './extends-6d8e3924.js';
|
|
16
16
|
import { u as urlForFile } from './urlForFile-b69adffc.js';
|
|
17
17
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
18
|
-
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-
|
|
18
|
+
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-64822ccc.js';
|
|
19
19
|
import { _ as _typeof$1 } from './typeof-e9fc0c5d.js';
|
|
20
20
|
import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-57a70a56.js';
|
|
21
21
|
import { _ as _JSON$stringify } from './stringify-2b084bee.js';
|
package/dist/esm/index.js
CHANGED
|
@@ -71,7 +71,7 @@ export { default as ArticleCarousel } from './ArticleCarousel.js';
|
|
|
71
71
|
export { default as TaxonomyDescription } from './TaxonomyDescription.js';
|
|
72
72
|
export { default as PubToc } from './PubToc.js';
|
|
73
73
|
export { default as PubSection } from './PubSection.js';
|
|
74
|
-
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-
|
|
74
|
+
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-64822ccc.js';
|
|
75
75
|
import { _ as _JSON$stringify } from './stringify-2b084bee.js';
|
|
76
76
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
77
77
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.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-fbb977dc.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';
|
|
@@ -130,9 +130,9 @@ import './visibility-sensor-72fd8f8b.js';
|
|
|
130
130
|
import 'react-dom';
|
|
131
131
|
import './main-9f6806ea.js';
|
|
132
132
|
import './entities-6d9154b4.js';
|
|
133
|
-
import './ADInfeed-
|
|
133
|
+
import './ADInfeed-65b1c440.js';
|
|
134
134
|
import './lodash-f97fd99a.js';
|
|
135
|
-
import './ADlgInfeed-
|
|
135
|
+
import './ADlgInfeed-fccdebf4.js';
|
|
136
136
|
import './getContentCategory-15dcc413.js';
|
|
137
137
|
import './get-3c308da4.js';
|
|
138
138
|
import './eq-bdcbf886.js';
|
|
@@ -177,6 +177,7 @@ import 'react-bootstrap/DropdownButton';
|
|
|
177
177
|
import 'react-bootstrap/Dropdown';
|
|
178
178
|
import './index.esm-1bd8a0a8.js';
|
|
179
179
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
180
|
+
import './_set-species-2cd9340f.js';
|
|
180
181
|
import './urlForFile-b69adffc.js';
|
|
181
182
|
import 'react-bootstrap/Modal';
|
|
182
183
|
import './util-8ed16d48.js';
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|