@mjhls/mjh-framework 1.0.887 → 1.0.888
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/ContentCardPaginated.js +2 -2
- package/dist/cjs/DeckQueuePaginated.js +2 -2
- package/dist/cjs/GridContentPaginated.js +4 -8
- package/dist/cjs/MasterDeckPaginated.js +2 -2
- package/dist/cjs/MediaSeriesLandingPaginated.js +1 -1
- package/dist/cjs/{Pagination-8f2038bf.js → Pagination-be11c32e.js} +1 -1
- package/dist/cjs/PartnerDetailListingPaginated.js +1 -1
- package/dist/cjs/QueueDeckExpandedPaginated.js +2 -2
- package/dist/cjs/getQuery.js +1 -1
- package/dist/esm/ContentCardPaginated.js +2 -2
- package/dist/esm/DeckQueuePaginated.js +2 -2
- package/dist/esm/GridContentPaginated.js +4 -8
- package/dist/esm/MasterDeckPaginated.js +2 -2
- package/dist/esm/MediaSeriesLandingPaginated.js +1 -1
- package/dist/esm/{Pagination-c0db7ca1.js → Pagination-4ece8cb4.js} +1 -1
- package/dist/esm/PartnerDetailListingPaginated.js +1 -1
- package/dist/esm/QueueDeckExpandedPaginated.js +2 -2
- package/dist/esm/getQuery.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# mjh-framework v. 1.0.
|
|
1
|
+
# mjh-framework v. 1.0.888
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/mjh-framework) [](https://standardjs.com)
|
|
4
4
|
|
|
@@ -17,7 +17,7 @@ var index$1 = require('./index-eadd5035.js');
|
|
|
17
17
|
var main = require('./main-f1c77adb.js');
|
|
18
18
|
var entities = require('./entities-df1aed86.js');
|
|
19
19
|
var ADInfeed = require('./ADInfeed-bce0ba07.js');
|
|
20
|
-
var Pagination = require('./Pagination-
|
|
20
|
+
var Pagination = require('./Pagination-be11c32e.js');
|
|
21
21
|
var Spinner = require('react-bootstrap/Spinner');
|
|
22
22
|
require('./_commonjsHelpers-06173234.js');
|
|
23
23
|
require('./core.get-iterator-method-5643aa10.js');
|
|
@@ -398,7 +398,7 @@ var DeckContent = function (_React$Component) {
|
|
|
398
398
|
React__default['default'].createElement(
|
|
399
399
|
'style',
|
|
400
400
|
{ jsx: 'true' },
|
|
401
|
-
'\n .pagination-wrapper {\n margin: 3rem 0
|
|
401
|
+
'\n .pagination-wrapper {\n margin: 3rem 0 100px 0;\n }\n '
|
|
402
402
|
)
|
|
403
403
|
)
|
|
404
404
|
)
|
|
@@ -18,7 +18,7 @@ var get = require('./get-5839e5b5.js');
|
|
|
18
18
|
var main = require('./main-f1c77adb.js');
|
|
19
19
|
var urlFor = require('./urlFor.js');
|
|
20
20
|
var entities = require('./entities-df1aed86.js');
|
|
21
|
-
var Pagination = require('./Pagination-
|
|
21
|
+
var Pagination = require('./Pagination-be11c32e.js');
|
|
22
22
|
require('./_commonjsHelpers-06173234.js');
|
|
23
23
|
require('./core.get-iterator-method-5643aa10.js');
|
|
24
24
|
require('./web.dom.iterable-d98303e0.js');
|
|
@@ -317,7 +317,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
317
317
|
React__default['default'].createElement(
|
|
318
318
|
'style',
|
|
319
319
|
{ jsx: 'true' },
|
|
320
|
-
'\n .pagination-wrapper {\n margin: 3rem 0
|
|
320
|
+
'\n .pagination-wrapper {\n margin: 3rem 0 100px 0;\n }\n '
|
|
321
321
|
)
|
|
322
322
|
)
|
|
323
323
|
) : null
|
|
@@ -24,7 +24,7 @@ var urlFor = require('./urlFor.js');
|
|
|
24
24
|
var main = require('./main-f1c77adb.js');
|
|
25
25
|
var AuthorComponent = require('./AuthorComponent-39b37d84.js');
|
|
26
26
|
var PublicationFeature = require('./PublicationFeature-5ccf9b13.js');
|
|
27
|
-
var Pagination = require('./Pagination-
|
|
27
|
+
var Pagination = require('./Pagination-be11c32e.js');
|
|
28
28
|
var Spinner = require('react-bootstrap/Spinner');
|
|
29
29
|
require('./_commonjsHelpers-06173234.js');
|
|
30
30
|
require('./core.get-iterator-method-5643aa10.js');
|
|
@@ -657,16 +657,12 @@ var GridContent = function (_React$Component) {
|
|
|
657
657
|
)
|
|
658
658
|
)
|
|
659
659
|
) : React__default['default'].createElement(
|
|
660
|
-
|
|
660
|
+
Container__default['default'],
|
|
661
661
|
null,
|
|
662
|
+
this.cardLoader(page, columns, variant, showVideo, VideoPlayer, showBI, brandInsight, this.state.lgInfeedAd, this.state.contentCategoryMapping),
|
|
662
663
|
React__default['default'].createElement(
|
|
663
664
|
'div',
|
|
664
665
|
{ className: 'pagination-wrapper' },
|
|
665
|
-
React__default['default'].createElement(
|
|
666
|
-
Container__default['default'],
|
|
667
|
-
null,
|
|
668
|
-
this.cardLoader(page, columns, variant, showVideo, VideoPlayer, showBI, brandInsight, this.state.lgInfeedAd, this.state.contentCategoryMapping)
|
|
669
|
-
),
|
|
670
666
|
React__default['default'].createElement(Pagination.Pagination, {
|
|
671
667
|
pageCount: Math.ceil(this.state.totalDataCount / this.state.itemsPerPage),
|
|
672
668
|
pageRangeDisplayed: main.main_43 ? 3 : 9,
|
|
@@ -676,7 +672,7 @@ var GridContent = function (_React$Component) {
|
|
|
676
672
|
React__default['default'].createElement(
|
|
677
673
|
'style',
|
|
678
674
|
{ jsx: 'true' },
|
|
679
|
-
'\n .pagination-wrapper {\n margin: 3rem 0
|
|
675
|
+
'\n .pagination-wrapper {\n margin: 3rem 0 100px 0;\n }\n '
|
|
680
676
|
)
|
|
681
677
|
)
|
|
682
678
|
)
|
|
@@ -14,7 +14,7 @@ var lodash = require('./lodash-f0783643.js');
|
|
|
14
14
|
var main = require('./main-f1c77adb.js');
|
|
15
15
|
var ADlgInfeed = require('./ADlgInfeed-950b414b.js');
|
|
16
16
|
var ADInfeed = require('./ADInfeed-bce0ba07.js');
|
|
17
|
-
var Pagination = require('./Pagination-
|
|
17
|
+
var Pagination = require('./Pagination-be11c32e.js');
|
|
18
18
|
require('./_commonjsHelpers-06173234.js');
|
|
19
19
|
require('./core.get-iterator-method-5643aa10.js');
|
|
20
20
|
require('./web.dom.iterable-d98303e0.js');
|
|
@@ -416,7 +416,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
416
416
|
React__default['default'].createElement(
|
|
417
417
|
'style',
|
|
418
418
|
{ jsx: 'true' },
|
|
419
|
-
'\n .pagination-wrapper {\n margin: 3rem 0
|
|
419
|
+
'\n .pagination-wrapper {\n margin: 3rem 0 100px 0;\n }\n '
|
|
420
420
|
)
|
|
421
421
|
)
|
|
422
422
|
) : null
|
|
@@ -46,7 +46,7 @@ require('./toNumber-5e1fac58.js');
|
|
|
46
46
|
require('./Beam.js');
|
|
47
47
|
require('./Segment.js');
|
|
48
48
|
require('./ADInfeed-bce0ba07.js');
|
|
49
|
-
require('./Pagination-
|
|
49
|
+
require('./Pagination-be11c32e.js');
|
|
50
50
|
require('react-paginate');
|
|
51
51
|
require('react-bootstrap');
|
|
52
52
|
require('./index-187c967e.js');
|
|
@@ -45,7 +45,7 @@ var Pagination = function Pagination(props) {
|
|
|
45
45
|
React__default['default'].createElement(
|
|
46
46
|
'style',
|
|
47
47
|
{ jsx: 'true' },
|
|
48
|
-
'\n .pagination-container {\n list-style: none;\n padding: 10px 0;\n margin: 0;\n display: flex;\n overflow: auto;\n }\n .pagination-container::before,\n .pagination-container::after {\n content: \'\';\n margin: 0 auto;\n }\n .pagination-container::-webkit-scrollbar {\n height: 6px;\n }\n .pagination-container a {\n padding: 10px;\n border: 1px solid #dee2e6;\n }\n .pagination-container a:hover {\n text-decoration: none;\n background-color: #e9ecef;\n border-color: #dee2e6;\n }\n .pagination-container .active a {\n color: #fff;\n background-color: #666;\n background-color: var(--primary);\n
|
|
48
|
+
'\n .pagination-container {\n list-style: none;\n padding: 10px 0;\n margin: 0;\n display: flex;\n overflow: auto;\n }\n .pagination-container::before,\n .pagination-container::after {\n content: \'\';\n margin: 0 auto;\n }\n .pagination-container::-webkit-scrollbar {\n height: 6px;\n }\n .pagination-container a {\n padding: 10px;\n border: 1px solid #dee2e6;\n }\n .pagination-container a:hover {\n text-decoration: none;\n background-color: #e9ecef;\n border-color: #dee2e6;\n }\n .pagination-container .active a {\n color: #fff;\n background-color: #666;\n background-color: var(--primary);\n }\n .pagination-container .previous a {\n border-radius: 5px 0 0 5px;\n }\n .pagination-container .next a {\n border-radius: 0 5px 5px 0;\n }\n .pagination-container .disbaled a {\n cursor: default;\n }\n '
|
|
49
49
|
)
|
|
50
50
|
);
|
|
51
51
|
};
|
|
@@ -46,7 +46,7 @@ require('./AuthorComponent-39b37d84.js');
|
|
|
46
46
|
require('./ADlgInfeed-950b414b.js');
|
|
47
47
|
require('./getContentCategory-f38a4c00.js');
|
|
48
48
|
require('./timeDifferenceCalc.js');
|
|
49
|
-
require('./Pagination-
|
|
49
|
+
require('./Pagination-be11c32e.js');
|
|
50
50
|
require('react-paginate');
|
|
51
51
|
require('./index-d48b231c.js');
|
|
52
52
|
require('react-bootstrap/Breadcrumb');
|
|
@@ -19,7 +19,7 @@ var ADlgInfeed = require('./ADlgInfeed-950b414b.js');
|
|
|
19
19
|
var getContentCategory = require('./getContentCategory-f38a4c00.js');
|
|
20
20
|
var timeDifferenceCalc = require('./timeDifferenceCalc.js');
|
|
21
21
|
var urlFor = require('./urlFor.js');
|
|
22
|
-
var Pagination = require('./Pagination-
|
|
22
|
+
var Pagination = require('./Pagination-be11c32e.js');
|
|
23
23
|
require('./_commonjsHelpers-06173234.js');
|
|
24
24
|
require('./core.get-iterator-method-5643aa10.js');
|
|
25
25
|
require('./web.dom.iterable-d98303e0.js');
|
|
@@ -1368,7 +1368,7 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1368
1368
|
React__default['default'].createElement(
|
|
1369
1369
|
'style',
|
|
1370
1370
|
{ jsx: 'true' },
|
|
1371
|
-
'\n .pagination-wrapper {\n margin: 3rem 0
|
|
1371
|
+
'\n .pagination-wrapper {\n margin: 3rem 0 100px 0;\n }\n '
|
|
1372
1372
|
)
|
|
1373
1373
|
)
|
|
1374
1374
|
)
|
package/dist/cjs/getQuery.js
CHANGED
|
@@ -16,7 +16,7 @@ var getQuery = function getQuery(type) {
|
|
|
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 thumbnail{ ..., asset-> },\n taxonomyMapping[]->,\n pdf{asset->},\n } | order(year desc, month desc)\n }';
|
|
18
18
|
case 'issue':
|
|
19
|
-
return '*[_type == \'publication\'\n && identifier.current == $publication\n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issue\': *[_type == \'publication\'\n && references(^._id)\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 authorMapping[0]->,\n contentCategory->,\n issueSection-> {\n name\n }\n }\n }\n }';
|
|
19
|
+
return '*[_type == \'publication\'\n && identifier.current == $publication\n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issue\': *[_type == \'publication\'\n && references(^._id)\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 authorMapping[0]->,\n contentCategory->,\n issueSection-> {\n name\n },\n \'pageNumber\': 1\n }\n }\n }';
|
|
20
20
|
case 'externalResources':
|
|
21
21
|
return '{\n \'archived\': *[_type == "external" && archived && isVisible ' + conditions + '] | order(displayDate desc),\n \'recent\': *[_type == "external" && archived != true && isVisible ' + conditions + '] | order(displayDate asc)\n }';
|
|
22
22
|
case 'mediaseries':
|
|
@@ -15,7 +15,7 @@ import { L as LazyLoad } from './index-755f2cc2.js';
|
|
|
15
15
|
import { m as main_43 } from './main-1894c974.js';
|
|
16
16
|
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
17
17
|
import { A as ADInfeed } from './ADInfeed-0a55cd2d.js';
|
|
18
|
-
import { P as Pagination } from './Pagination-
|
|
18
|
+
import { P as Pagination } from './Pagination-4ece8cb4.js';
|
|
19
19
|
import Spinner from 'react-bootstrap/Spinner';
|
|
20
20
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
21
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -387,7 +387,7 @@ var DeckContent = function (_React$Component) {
|
|
|
387
387
|
React__default.createElement(
|
|
388
388
|
'style',
|
|
389
389
|
{ jsx: 'true' },
|
|
390
|
-
'\n .pagination-wrapper {\n margin: 3rem 0
|
|
390
|
+
'\n .pagination-wrapper {\n margin: 3rem 0 100px 0;\n }\n '
|
|
391
391
|
)
|
|
392
392
|
)
|
|
393
393
|
)
|
|
@@ -16,7 +16,7 @@ import { g as get_1 } from './get-3c308da4.js';
|
|
|
16
16
|
import { m as main_43 } from './main-1894c974.js';
|
|
17
17
|
import urlFor from './urlFor.js';
|
|
18
18
|
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
19
|
-
import { P as Pagination } from './Pagination-
|
|
19
|
+
import { P as Pagination } from './Pagination-4ece8cb4.js';
|
|
20
20
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
21
|
import './core.get-iterator-method-ea258bb1.js';
|
|
22
22
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -306,7 +306,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
306
306
|
React__default.createElement(
|
|
307
307
|
'style',
|
|
308
308
|
{ jsx: 'true' },
|
|
309
|
-
'\n .pagination-wrapper {\n margin: 3rem 0
|
|
309
|
+
'\n .pagination-wrapper {\n margin: 3rem 0 100px 0;\n }\n '
|
|
310
310
|
)
|
|
311
311
|
)
|
|
312
312
|
) : null
|
|
@@ -22,7 +22,7 @@ import urlFor from './urlFor.js';
|
|
|
22
22
|
import { m as main_43 } from './main-1894c974.js';
|
|
23
23
|
import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
|
|
24
24
|
import { P as PublicationFeature } from './PublicationFeature-d88e76b9.js';
|
|
25
|
-
import { P as Pagination } from './Pagination-
|
|
25
|
+
import { P as Pagination } from './Pagination-4ece8cb4.js';
|
|
26
26
|
import Spinner from 'react-bootstrap/Spinner';
|
|
27
27
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
28
28
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -646,16 +646,12 @@ var GridContent = function (_React$Component) {
|
|
|
646
646
|
)
|
|
647
647
|
)
|
|
648
648
|
) : React__default.createElement(
|
|
649
|
-
|
|
649
|
+
Container,
|
|
650
650
|
null,
|
|
651
|
+
this.cardLoader(page, columns, variant, showVideo, VideoPlayer, showBI, brandInsight, this.state.lgInfeedAd, this.state.contentCategoryMapping),
|
|
651
652
|
React__default.createElement(
|
|
652
653
|
'div',
|
|
653
654
|
{ className: 'pagination-wrapper' },
|
|
654
|
-
React__default.createElement(
|
|
655
|
-
Container,
|
|
656
|
-
null,
|
|
657
|
-
this.cardLoader(page, columns, variant, showVideo, VideoPlayer, showBI, brandInsight, this.state.lgInfeedAd, this.state.contentCategoryMapping)
|
|
658
|
-
),
|
|
659
655
|
React__default.createElement(Pagination, {
|
|
660
656
|
pageCount: Math.ceil(this.state.totalDataCount / this.state.itemsPerPage),
|
|
661
657
|
pageRangeDisplayed: main_43 ? 3 : 9,
|
|
@@ -665,7 +661,7 @@ var GridContent = function (_React$Component) {
|
|
|
665
661
|
React__default.createElement(
|
|
666
662
|
'style',
|
|
667
663
|
{ jsx: 'true' },
|
|
668
|
-
'\n .pagination-wrapper {\n margin: 3rem 0
|
|
664
|
+
'\n .pagination-wrapper {\n margin: 3rem 0 100px 0;\n }\n '
|
|
669
665
|
)
|
|
670
666
|
)
|
|
671
667
|
)
|
|
@@ -12,7 +12,7 @@ import { l as lodash } from './lodash-f97fd99a.js';
|
|
|
12
12
|
import { m as main_43 } from './main-1894c974.js';
|
|
13
13
|
import { A as ADlgInfeed } from './ADlgInfeed-013e1f4a.js';
|
|
14
14
|
import { A as ADInfeed } from './ADInfeed-0a55cd2d.js';
|
|
15
|
-
import { P as Pagination } from './Pagination-
|
|
15
|
+
import { P as Pagination } from './Pagination-4ece8cb4.js';
|
|
16
16
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
17
17
|
import './core.get-iterator-method-ea258bb1.js';
|
|
18
18
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -408,7 +408,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
408
408
|
React__default.createElement(
|
|
409
409
|
'style',
|
|
410
410
|
{ jsx: 'true' },
|
|
411
|
-
'\n .pagination-wrapper {\n margin: 3rem 0
|
|
411
|
+
'\n .pagination-wrapper {\n margin: 3rem 0 100px 0;\n }\n '
|
|
412
412
|
)
|
|
413
413
|
)
|
|
414
414
|
) : null
|
|
@@ -44,7 +44,7 @@ import './toNumber-5aeba6e7.js';
|
|
|
44
44
|
import './Beam.js';
|
|
45
45
|
import './Segment.js';
|
|
46
46
|
import './ADInfeed-0a55cd2d.js';
|
|
47
|
-
import './Pagination-
|
|
47
|
+
import './Pagination-4ece8cb4.js';
|
|
48
48
|
import 'react-paginate';
|
|
49
49
|
import 'react-bootstrap';
|
|
50
50
|
import './index-c7e2ac95.js';
|
|
@@ -38,7 +38,7 @@ var Pagination = function Pagination(props) {
|
|
|
38
38
|
React__default.createElement(
|
|
39
39
|
'style',
|
|
40
40
|
{ jsx: 'true' },
|
|
41
|
-
'\n .pagination-container {\n list-style: none;\n padding: 10px 0;\n margin: 0;\n display: flex;\n overflow: auto;\n }\n .pagination-container::before,\n .pagination-container::after {\n content: \'\';\n margin: 0 auto;\n }\n .pagination-container::-webkit-scrollbar {\n height: 6px;\n }\n .pagination-container a {\n padding: 10px;\n border: 1px solid #dee2e6;\n }\n .pagination-container a:hover {\n text-decoration: none;\n background-color: #e9ecef;\n border-color: #dee2e6;\n }\n .pagination-container .active a {\n color: #fff;\n background-color: #666;\n background-color: var(--primary);\n
|
|
41
|
+
'\n .pagination-container {\n list-style: none;\n padding: 10px 0;\n margin: 0;\n display: flex;\n overflow: auto;\n }\n .pagination-container::before,\n .pagination-container::after {\n content: \'\';\n margin: 0 auto;\n }\n .pagination-container::-webkit-scrollbar {\n height: 6px;\n }\n .pagination-container a {\n padding: 10px;\n border: 1px solid #dee2e6;\n }\n .pagination-container a:hover {\n text-decoration: none;\n background-color: #e9ecef;\n border-color: #dee2e6;\n }\n .pagination-container .active a {\n color: #fff;\n background-color: #666;\n background-color: var(--primary);\n }\n .pagination-container .previous a {\n border-radius: 5px 0 0 5px;\n }\n .pagination-container .next a {\n border-radius: 0 5px 5px 0;\n }\n .pagination-container .disbaled a {\n cursor: default;\n }\n '
|
|
42
42
|
)
|
|
43
43
|
);
|
|
44
44
|
};
|
|
@@ -44,7 +44,7 @@ import './AuthorComponent-11adff02.js';
|
|
|
44
44
|
import './ADlgInfeed-013e1f4a.js';
|
|
45
45
|
import './getContentCategory-15dcc413.js';
|
|
46
46
|
import './timeDifferenceCalc.js';
|
|
47
|
-
import './Pagination-
|
|
47
|
+
import './Pagination-4ece8cb4.js';
|
|
48
48
|
import 'react-paginate';
|
|
49
49
|
import './index-3f5c03b2.js';
|
|
50
50
|
import 'react-bootstrap/Breadcrumb';
|
|
@@ -17,7 +17,7 @@ import { A as ADlgInfeed } from './ADlgInfeed-013e1f4a.js';
|
|
|
17
17
|
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
18
18
|
import timeDifferenceCalc from './timeDifferenceCalc.js';
|
|
19
19
|
import urlFor from './urlFor.js';
|
|
20
|
-
import { P as Pagination } from './Pagination-
|
|
20
|
+
import { P as Pagination } from './Pagination-4ece8cb4.js';
|
|
21
21
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
22
22
|
import './core.get-iterator-method-ea258bb1.js';
|
|
23
23
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -1362,7 +1362,7 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1362
1362
|
React__default.createElement(
|
|
1363
1363
|
'style',
|
|
1364
1364
|
{ jsx: 'true' },
|
|
1365
|
-
'\n .pagination-wrapper {\n margin: 3rem 0
|
|
1365
|
+
'\n .pagination-wrapper {\n margin: 3rem 0 100px 0;\n }\n '
|
|
1366
1366
|
)
|
|
1367
1367
|
)
|
|
1368
1368
|
)
|
package/dist/esm/getQuery.js
CHANGED
|
@@ -14,7 +14,7 @@ var getQuery = function getQuery(type) {
|
|
|
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 thumbnail{ ..., asset-> },\n taxonomyMapping[]->,\n pdf{asset->},\n } | order(year desc, month desc)\n }';
|
|
16
16
|
case 'issue':
|
|
17
|
-
return '*[_type == \'publication\'\n && identifier.current == $publication\n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issue\': *[_type == \'publication\'\n && references(^._id)\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 authorMapping[0]->,\n contentCategory->,\n issueSection-> {\n name\n }\n }\n }\n }';
|
|
17
|
+
return '*[_type == \'publication\'\n && identifier.current == $publication\n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issue\': *[_type == \'publication\'\n && references(^._id)\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 authorMapping[0]->,\n contentCategory->,\n issueSection-> {\n name\n },\n \'pageNumber\': 1\n }\n }\n }';
|
|
18
18
|
case 'externalResources':
|
|
19
19
|
return '{\n \'archived\': *[_type == "external" && archived && isVisible ' + conditions + '] | order(displayDate desc),\n \'recent\': *[_type == "external" && archived != true && isVisible ' + conditions + '] | order(displayDate asc)\n }';
|
|
20
20
|
case 'mediaseries':
|