@mjhls/mjh-framework 1.0.681 → 1.0.683
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/ExternalResources.js +1 -1
- package/dist/cjs/PartnerDetailListing.js +1 -1
- package/dist/cjs/View.js +1 -1
- package/dist/cjs/getQuery.js +1 -1
- package/dist/cjs/getSerializers.js +1 -1
- package/dist/cjs/{index-c190d704.js → index-8c9e8ca7.js} +1 -0
- package/dist/cjs/index.js +1 -1
- package/dist/esm/ExternalResources.js +1 -1
- package/dist/esm/PartnerDetailListing.js +1 -1
- package/dist/esm/View.js +1 -1
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getSerializers.js +1 -1
- package/dist/esm/{index-983cedab.js → index-5505d4f9.js} +1 -0
- package/dist/esm/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -45,7 +45,7 @@ require('./GroupDeck.js');
|
|
|
45
45
|
require('react-bootstrap');
|
|
46
46
|
var Button = _interopDefault(require('react-bootstrap/Button'));
|
|
47
47
|
var index$3 = require('./index-5be2866f.js');
|
|
48
|
-
var getSerializers = require('./index-
|
|
48
|
+
var getSerializers = require('./index-8c9e8ca7.js');
|
|
49
49
|
require('./util-f2c1b65b.js');
|
|
50
50
|
require('./brightcove-react-player-loader.es-156bd4d6.js');
|
|
51
51
|
require('react-bootstrap/Pagination');
|
|
@@ -52,7 +52,7 @@ require('./GroupDeck.js');
|
|
|
52
52
|
require('react-bootstrap');
|
|
53
53
|
var QueueDeckExpanded = require('./QueueDeckExpanded.js');
|
|
54
54
|
require('react-bootstrap/Button');
|
|
55
|
-
var getSerializers = require('./index-
|
|
55
|
+
var getSerializers = require('./index-8c9e8ca7.js');
|
|
56
56
|
require('./util-f2c1b65b.js');
|
|
57
57
|
require('./brightcove-react-player-loader.es-156bd4d6.js');
|
|
58
58
|
require('react-bootstrap/Pagination');
|
package/dist/cjs/View.js
CHANGED
|
@@ -48,7 +48,7 @@ require('./iconBase-68959171.js');
|
|
|
48
48
|
var Button = _interopDefault(require('react-bootstrap/Button'));
|
|
49
49
|
var defineProperty$1 = require('./defineProperty-55548b25.js');
|
|
50
50
|
var Form = _interopDefault(require('react-bootstrap/Form'));
|
|
51
|
-
var getSerializers = require('./index-
|
|
51
|
+
var getSerializers = require('./index-8c9e8ca7.js');
|
|
52
52
|
require('./util-f2c1b65b.js');
|
|
53
53
|
require('./brightcove-react-player-loader.es-156bd4d6.js');
|
|
54
54
|
require('react-bootstrap/Pagination');
|
package/dist/cjs/getQuery.js
CHANGED
|
@@ -12,7 +12,7 @@ var getQuery = function getQuery(type) {
|
|
|
12
12
|
case 'related':
|
|
13
13
|
return '*[\n _type == "article"\n && defined(title)\n && defined(url)\n && !(_id in path("drafts.**"))\n && is_visible == true\n && defined(published) \n && dateTime(published) <= dateTime(now())\n && passwordLock!=true\n && taxonomyMapping[]._ref in $taxonomy\n && taxonomyMapping[].disableAds != \'true\'\n && contentCategory->.name != \'Poll\'\n && contentCategory->.name != \'Slideshows\'\n && contentCategory->.disableAds != \'true\'\n && ExcludeFromInfiniteScroll !=true\n && url.current != $url\n && !defined(body[].videos)\n ' + conditions + '\n ]| order(published desc)[' + (articleCount ? articleCount : '$index') + ']{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n ...,\n passwordLock,\n password,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography },\n body[] {\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\n disableAds\n },\n documentGroup-> {\n name,\n thumbnail,\n parent->{...,parent->},\n \'path\': identifier.current\n },\n documentGroupMapping[]-> {\n name,\n thumbnail,\n parent->{...,parent->},\n \'path\': identifier.current\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n \'path\': identifier.current,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current\n },\n \'url\' : pdf.asset-> url\n }\n }';
|
|
14
14
|
case 'article':
|
|
15
|
-
return '*[\n _type == "article"\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && url.current == $url\n ' + conditions + '\n ][0]{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n ...,\n passwordLock,\n password,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography },\n body[] {\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 },\n articles[]{\n ...,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography },\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n ...,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier\n },\n documentGroup-> {\n name,\n thumbnail,\n parent->{...,parent->},\n \'path\': identifier.current\n },\n documentGroupMapping[]-> {\n name,\n thumbnail,\n parent->{...,parent->},\n \'path\': identifier.current\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 \'issueNumber\': number,\n \'articleSource\': source,\n \'path\': identifier.current,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current\n },\n \'url\' : pdf.asset-> url\n }\n\n }';
|
|
15
|
+
return '*[\n _type == "article"\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && url.current == $url\n ' + conditions + '\n ][0]{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n ...,\n passwordLock,\n password,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography },\n body[] {\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 },\n articles[]{\n ...,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography },\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 },\n documentGroup-> {\n name,\n thumbnail,\n parent->{...,parent->},\n \'path\': identifier.current\n },\n documentGroupMapping[]-> {\n name,\n thumbnail,\n parent->{...,parent->},\n \'path\': identifier.current\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 \'issueNumber\': number,\n \'articleSource\': source,\n \'path\': identifier.current,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current\n },\n \'url\' : pdf.asset-> url\n }\n\n }';
|
|
16
16
|
case 'publication':
|
|
17
17
|
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 pdf{asset->}\n } | order(year desc, month desc)\n }';
|
|
18
18
|
case 'issue':
|
|
@@ -40,7 +40,7 @@ require('./smoothscroll-95231a70.js');
|
|
|
40
40
|
require('./GroupDeck.js');
|
|
41
41
|
require('react-bootstrap');
|
|
42
42
|
require('react-bootstrap/Button');
|
|
43
|
-
var getSerializers = require('./index-
|
|
43
|
+
var getSerializers = require('./index-8c9e8ca7.js');
|
|
44
44
|
require('./util-f2c1b65b.js');
|
|
45
45
|
require('./brightcove-react-player-loader.es-156bd4d6.js');
|
|
46
46
|
require('react-bootstrap/Pagination');
|
|
@@ -8057,6 +8057,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8057
8057
|
articles = [].concat(toConsumableArray._toConsumableArray(nodes.articles));
|
|
8058
8058
|
}
|
|
8059
8059
|
return articles.map(function (article, index) {
|
|
8060
|
+
if (!article) return null;
|
|
8060
8061
|
var showReading = show ? 'showReading' : '';
|
|
8061
8062
|
var articleLabel = articles.length == 1 && articleNum != 0 || articles.length > 1 && index == 0 ? 'Previous' : 'Next';
|
|
8062
8063
|
return React__default.createElement(
|
package/dist/cjs/index.js
CHANGED
|
@@ -81,7 +81,7 @@ require('react-bootstrap/Form');
|
|
|
81
81
|
require('./index-5be2866f.js');
|
|
82
82
|
require('./js.cookie-a511c430.js');
|
|
83
83
|
var CMEDeck = require('./CMEDeck.js');
|
|
84
|
-
var getSerializers = require('./index-
|
|
84
|
+
var getSerializers = require('./index-8c9e8ca7.js');
|
|
85
85
|
require('./util-f2c1b65b.js');
|
|
86
86
|
require('./brightcove-react-player-loader.es-156bd4d6.js');
|
|
87
87
|
require('react-bootstrap/Pagination');
|
|
@@ -39,7 +39,7 @@ import './GroupDeck.js';
|
|
|
39
39
|
import 'react-bootstrap';
|
|
40
40
|
import Button from 'react-bootstrap/Button';
|
|
41
41
|
import { m as momentTimezone } from './index-d2f90501.js';
|
|
42
|
-
import { g as getSerializers } from './index-
|
|
42
|
+
import { g as getSerializers } from './index-5505d4f9.js';
|
|
43
43
|
import './util-7700fc59.js';
|
|
44
44
|
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
45
45
|
import 'react-bootstrap/Pagination';
|
|
@@ -47,7 +47,7 @@ import './GroupDeck.js';
|
|
|
47
47
|
import 'react-bootstrap';
|
|
48
48
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
49
49
|
import 'react-bootstrap/Button';
|
|
50
|
-
import { g as getSerializers } from './index-
|
|
50
|
+
import { g as getSerializers } from './index-5505d4f9.js';
|
|
51
51
|
import './util-7700fc59.js';
|
|
52
52
|
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
53
53
|
import 'react-bootstrap/Pagination';
|
package/dist/esm/View.js
CHANGED
|
@@ -42,7 +42,7 @@ import './iconBase-602d52fe.js';
|
|
|
42
42
|
import Button from 'react-bootstrap/Button';
|
|
43
43
|
import { _ as _defineProperty } from './defineProperty-b798470d.js';
|
|
44
44
|
import Form from 'react-bootstrap/Form';
|
|
45
|
-
import { I as InscreenSensor, r as renderAuthor, g as getSerializers } from './index-
|
|
45
|
+
import { I as InscreenSensor, r as renderAuthor, g as getSerializers } from './index-5505d4f9.js';
|
|
46
46
|
import './util-7700fc59.js';
|
|
47
47
|
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
48
48
|
import 'react-bootstrap/Pagination';
|
package/dist/esm/getQuery.js
CHANGED
|
@@ -10,7 +10,7 @@ var getQuery = function getQuery(type) {
|
|
|
10
10
|
case 'related':
|
|
11
11
|
return '*[\n _type == "article"\n && defined(title)\n && defined(url)\n && !(_id in path("drafts.**"))\n && is_visible == true\n && defined(published) \n && dateTime(published) <= dateTime(now())\n && passwordLock!=true\n && taxonomyMapping[]._ref in $taxonomy\n && taxonomyMapping[].disableAds != \'true\'\n && contentCategory->.name != \'Poll\'\n && contentCategory->.name != \'Slideshows\'\n && contentCategory->.disableAds != \'true\'\n && ExcludeFromInfiniteScroll !=true\n && url.current != $url\n && !defined(body[].videos)\n ' + conditions + '\n ]| order(published desc)[' + (articleCount ? articleCount : '$index') + ']{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n ...,\n passwordLock,\n password,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography },\n body[] {\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\n disableAds\n },\n documentGroup-> {\n name,\n thumbnail,\n parent->{...,parent->},\n \'path\': identifier.current\n },\n documentGroupMapping[]-> {\n name,\n thumbnail,\n parent->{...,parent->},\n \'path\': identifier.current\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n \'path\': identifier.current,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current\n },\n \'url\' : pdf.asset-> url\n }\n }';
|
|
12
12
|
case 'article':
|
|
13
|
-
return '*[\n _type == "article"\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && url.current == $url\n ' + conditions + '\n ][0]{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n ...,\n passwordLock,\n password,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography },\n body[] {\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 },\n articles[]{\n ...,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography },\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n ...,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier\n },\n documentGroup-> {\n name,\n thumbnail,\n parent->{...,parent->},\n \'path\': identifier.current\n },\n documentGroupMapping[]-> {\n name,\n thumbnail,\n parent->{...,parent->},\n \'path\': identifier.current\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 \'issueNumber\': number,\n \'articleSource\': source,\n \'path\': identifier.current,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current\n },\n \'url\' : pdf.asset-> url\n }\n\n }';
|
|
13
|
+
return '*[\n _type == "article"\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && url.current == $url\n ' + conditions + '\n ][0]{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n ...,\n passwordLock,\n password,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography },\n body[] {\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 },\n articles[]{\n ...,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography },\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 },\n documentGroup-> {\n name,\n thumbnail,\n parent->{...,parent->},\n \'path\': identifier.current\n },\n documentGroupMapping[]-> {\n name,\n thumbnail,\n parent->{...,parent->},\n \'path\': identifier.current\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 \'issueNumber\': number,\n \'articleSource\': source,\n \'path\': identifier.current,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current\n },\n \'url\' : pdf.asset-> url\n }\n\n }';
|
|
14
14
|
case 'publication':
|
|
15
15
|
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 pdf{asset->}\n } | order(year desc, month desc)\n }';
|
|
16
16
|
case 'issue':
|
|
@@ -38,7 +38,7 @@ import './smoothscroll-4b699764.js';
|
|
|
38
38
|
import './GroupDeck.js';
|
|
39
39
|
import 'react-bootstrap';
|
|
40
40
|
import 'react-bootstrap/Button';
|
|
41
|
-
export { g as default } from './index-
|
|
41
|
+
export { g as default } from './index-5505d4f9.js';
|
|
42
42
|
import './util-7700fc59.js';
|
|
43
43
|
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
44
44
|
import 'react-bootstrap/Pagination';
|
|
@@ -8050,6 +8050,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8050
8050
|
articles = [].concat(_toConsumableArray(nodes.articles));
|
|
8051
8051
|
}
|
|
8052
8052
|
return articles.map(function (article, index) {
|
|
8053
|
+
if (!article) return null;
|
|
8053
8054
|
var showReading = show ? 'showReading' : '';
|
|
8054
8055
|
var articleLabel = articles.length == 1 && articleNum != 0 || articles.length > 1 && index == 0 ? 'Previous' : 'Next';
|
|
8055
8056
|
return React__default.createElement(
|
package/dist/esm/index.js
CHANGED
|
@@ -77,7 +77,7 @@ import 'react-bootstrap/Form';
|
|
|
77
77
|
import './index-d2f90501.js';
|
|
78
78
|
import './js.cookie-6874175c.js';
|
|
79
79
|
export { default as CMEDeck } from './CMEDeck.js';
|
|
80
|
-
export { g as getSerializers } from './index-
|
|
80
|
+
export { g as getSerializers } from './index-5505d4f9.js';
|
|
81
81
|
import './util-7700fc59.js';
|
|
82
82
|
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
83
83
|
import 'react-bootstrap/Pagination';
|