@mjhls/mjh-framework 1.0.966-testV7 → 1.0.966
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/AlgoliaSearch.js +18 -142
- package/dist/cjs/ArticleProgramLandingPage.js +1 -2
- package/dist/cjs/Auth.js +17 -20
- package/dist/cjs/AuthWrapper.js +12 -18
- package/dist/cjs/CMEDeck.js +1 -5
- 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 -1
- package/dist/cjs/DeckQueuePaginated.js +2 -1
- package/dist/cjs/Dfp-9be904d5.js +1 -1
- package/dist/cjs/ExternalResources.js +1 -2
- package/dist/cjs/GridContentPaginated.js +2 -1
- package/dist/cjs/HamMagazine.js +1 -1
- package/dist/cjs/Header.js +1 -1
- package/dist/cjs/HorizontalArticleListing.js +1 -2
- package/dist/cjs/IssueLanding.js +1 -2
- package/dist/cjs/LeftNav.js +1 -1
- package/dist/cjs/MasterDeckPaginated.js +2 -1
- package/dist/cjs/{MediaSeriesCard-94ff4d11.js → MediaSeriesCard-4bffa27e.js} +43 -65
- package/dist/cjs/MediaSeriesLanding.js +3 -4
- package/dist/cjs/MediaSeriesLandingPaginated.js +5 -5
- 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-c63770a3.js +90 -0
- package/dist/cjs/PartnerDetailListing.js +7 -24
- package/dist/cjs/PartnerDetailListingPaginated.js +5 -5
- package/dist/cjs/QueueDeckExpandedPaginated.js +2 -1
- package/dist/cjs/TaxonomyDescription.js +2 -3
- package/dist/cjs/VideoProgramLandingPage.js +1 -2
- package/dist/cjs/View.js +15 -35
- package/dist/cjs/getQuery.js +2 -2
- package/dist/cjs/getSerializers.js +1 -2
- package/dist/cjs/{index-eb1c583d.js → index-e8c2ed3b.js} +5 -59
- package/dist/cjs/index.js +2 -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 +20 -144
- package/dist/esm/AlphabeticList.js +1 -1
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +2 -3
- package/dist/esm/ArticleSeriesLandingPage.js +1 -1
- package/dist/esm/ArticleSeriesListing.js +1 -1
- package/dist/esm/Auth.js +18 -20
- package/dist/esm/AuthWrapper.js +13 -19
- package/dist/esm/Beam.js +1 -1
- package/dist/esm/Breadcrumbs.js +1 -1
- package/dist/esm/CMEDeck.js +2 -6
- package/dist/esm/Column1.js +2 -1
- package/dist/esm/Column2.js +2 -1
- package/dist/esm/Column3.js +2 -1
- package/dist/esm/ConferenceArticleCard.js +1 -1
- package/dist/esm/ContentCardPaginated.js +3 -2
- package/dist/esm/DeckContent.js +1 -1
- package/dist/esm/DeckQueue.js +1 -1
- package/dist/esm/DeckQueuePaginated.js +3 -2
- package/dist/esm/Dfp-102f0beb.js +1 -1
- package/dist/esm/EventsDeck.js +1 -1
- package/dist/esm/ExternalResources.js +2 -3
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/ForbesHero.js +1 -1
- package/dist/esm/GridContent.js +1 -1
- package/dist/esm/GridContentPaginated.js +3 -2
- package/dist/esm/GridHero.js +1 -1
- package/dist/esm/GroupDeck.js +1 -1
- package/dist/esm/HamMagazine.js +2 -1
- package/dist/esm/Header.js +2 -1
- 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 -3
- 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 +2 -3
- package/dist/esm/KMTracker.js +1 -1
- package/dist/esm/LeftNav.js +2 -1
- package/dist/esm/MasterDeck.js +1 -1
- package/dist/esm/MasterDeckPaginated.js +3 -2
- package/dist/esm/{MediaSeriesCard-4f07fac6.js → MediaSeriesCard-d605f453.js} +43 -65
- package/dist/esm/MediaSeriesLanding.js +4 -5
- package/dist/esm/MediaSeriesLandingPaginated.js +6 -6
- package/dist/esm/NavDvm.js +2 -1
- package/dist/esm/NavMagazine.js +2 -1
- package/dist/esm/NavNative.js +2 -1
- 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-6f8d5327.js +82 -0
- package/dist/esm/PartnerDetailListing.js +8 -25
- package/dist/esm/PartnerDetailListingPaginated.js +6 -6
- package/dist/esm/PdfDownload.js +1 -1
- package/dist/esm/PopUpModal.js +1 -1
- package/dist/esm/PubSection.js +1 -1
- 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 +1 -1
- package/dist/esm/QueueDeckExpandedPaginated.js +3 -2
- 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 +1 -1
- 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 +3 -4
- 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 -3
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesFilter.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +1 -1
- package/dist/esm/VideoSeriesListing.js +1 -1
- package/dist/esm/View.js +15 -36
- 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 +3 -3
- package/dist/esm/getRelatedArticle.js +1 -1
- package/dist/esm/getRootDocGroup.js +1 -1
- package/dist/esm/getSerializers.js +1 -2
- package/dist/esm/getSeriesDetail.js +1 -1
- package/dist/esm/{index-264bbd3c.js → index-cefa7325.js} +5 -58
- package/dist/esm/index.js +2 -2
- 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-30bb1ca1.js +0 -97
- package/dist/cjs/PixelTracking.js +0 -165
- package/dist/esm/Pagination-194dd03f.js +0 -90
- package/dist/esm/PixelTracking.js +0 -156
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import ReactPaginate from 'react-paginate';
|
|
3
|
+
import Button from 'react-bootstrap/Button';
|
|
4
|
+
import { d as FaArrowRight, e as FaArrowLeft } from './index.esm-1bd8a0a8.js';
|
|
5
|
+
|
|
6
|
+
var Pagination = function Pagination(props) {
|
|
7
|
+
var pageCount = props.pageCount,
|
|
8
|
+
_props$marginPagesDis = props.marginPagesDisplayed,
|
|
9
|
+
marginPagesDisplayed = _props$marginPagesDis === undefined ? 1 : _props$marginPagesDis,
|
|
10
|
+
_props$pageRangeDispl = props.pageRangeDisplayed,
|
|
11
|
+
pageRangeDisplayed = _props$pageRangeDispl === undefined ? 5 : _props$pageRangeDispl,
|
|
12
|
+
_props$currentPage = props.currentPage,
|
|
13
|
+
currentPage = _props$currentPage === undefined ? 1 : _props$currentPage,
|
|
14
|
+
_onPageChange = props.onPageChange,
|
|
15
|
+
_props$needLargePagin = props.needLargePaginateButtons,
|
|
16
|
+
needLargePaginateButtons = _props$needLargePagin === undefined ? false : _props$needLargePagin;
|
|
17
|
+
|
|
18
|
+
if (!pageCount || pageCount <= 1) return null;
|
|
19
|
+
return React__default.createElement(
|
|
20
|
+
React__default.Fragment,
|
|
21
|
+
null,
|
|
22
|
+
needLargePaginateButtons && React__default.createElement(
|
|
23
|
+
'div',
|
|
24
|
+
{ className: 'pagination-lg-btn-nxt' },
|
|
25
|
+
React__default.createElement(
|
|
26
|
+
Button,
|
|
27
|
+
{
|
|
28
|
+
onClick: function onClick(e) {
|
|
29
|
+
e.preventDefault();
|
|
30
|
+
_onPageChange(currentPage + 1);
|
|
31
|
+
},
|
|
32
|
+
disabled: currentPage === pageCount,
|
|
33
|
+
href: '?page=' + (currentPage + 1) },
|
|
34
|
+
'NEXT PAGE',
|
|
35
|
+
React__default.createElement(FaArrowRight, { className: 'fa-arrow-right' })
|
|
36
|
+
)
|
|
37
|
+
),
|
|
38
|
+
React__default.createElement(ReactPaginate, {
|
|
39
|
+
pageCount: pageCount,
|
|
40
|
+
marginPagesDisplayed: marginPagesDisplayed,
|
|
41
|
+
pageRangeDisplayed: pageRangeDisplayed,
|
|
42
|
+
forcePage: currentPage - 1,
|
|
43
|
+
onPageChange: function onPageChange(_ref) {
|
|
44
|
+
var selected = _ref.selected;
|
|
45
|
+
return _onPageChange(selected + 1);
|
|
46
|
+
},
|
|
47
|
+
hrefBuilder: function hrefBuilder(page) {
|
|
48
|
+
return '?page=' + page;
|
|
49
|
+
},
|
|
50
|
+
previousLabel: '<',
|
|
51
|
+
nextLabel: '>',
|
|
52
|
+
containerClassName: 'pagination-container',
|
|
53
|
+
previousLinkClassName: 'previous',
|
|
54
|
+
nextLinkClassName: 'next',
|
|
55
|
+
disabledClassName: 'disabled',
|
|
56
|
+
activeClassName: 'active'
|
|
57
|
+
}),
|
|
58
|
+
needLargePaginateButtons && React__default.createElement(
|
|
59
|
+
'div',
|
|
60
|
+
{ className: 'pagination-lg-btn-prv' },
|
|
61
|
+
React__default.createElement(
|
|
62
|
+
Button,
|
|
63
|
+
{
|
|
64
|
+
onClick: function onClick(e) {
|
|
65
|
+
e.preventDefault();
|
|
66
|
+
_onPageChange(currentPage - 1);
|
|
67
|
+
},
|
|
68
|
+
disabled: currentPage === 1,
|
|
69
|
+
href: currentPage <= 1 ? '?page=1' : '?page=' + (currentPage - 1) },
|
|
70
|
+
React__default.createElement(FaArrowLeft, { className: 'fa-arrow-left' }),
|
|
71
|
+
'PREVIOUS PAGE'
|
|
72
|
+
)
|
|
73
|
+
),
|
|
74
|
+
React__default.createElement(
|
|
75
|
+
'style',
|
|
76
|
+
{ jsx: 'true' },
|
|
77
|
+
'\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 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 li:first-child a {\n border-radius: 5px 0 0 5px;\n }\n .pagination-container li:last-child a {\n border-radius: 0 5px 5px 0;\n }\n .pagination-container .disabled a {\n cursor: default;\n }\n .pagination-lg-btn-nxt,\n .pagination-lg-btn-prv {\n text-align: center;\n }\n .pagination-lg-btn-nxt .btn,\n .pagination-lg-btn-prv .btn {\n min-width: 80%;\n color: #000;\n color: var(--primary);\n background-color: transparent;\n border-color: #000;\n border-color: var(--primary);\n }\n .pagination-lg-btn-nxt {\n margin: 0 0 1.5rem;\n }\n .pagination-lg-btn-prv {\n margin: 1.5rem 0 0;\n }\n .pagination-lg-btn-nxt .btn:not(:disabled):not(.disabled).active,\n .pagination-lg-btn-prv .btn:not(:disabled):not(.disabled):active {\n color: #fff;\n background-color: #000;\n background-color: var(--primary);\n border-color: #000;\n border-color: var(--primary);\n }\n @media only screen and (min-width: 601px) {\n [class^=\'pagination-lg-btn\'] {\n display: none;\n }\n }\n .fa-arrow-left {\n margin-right: 0.5rem;\n }\n .fa-arrow-right {\n margin-left: 0.5rem;\n }\n .pagination-container::-webkit-scrollbar {\n height: 8px;\n }\n .pagination-container::-webkit-scrollbar-track,\n .pagination-container::-webkit-scrollbar-thumb {\n -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);\n border-radius: 4px;\n }\n .pagination-container::-webkit-scrollbar-track {\n background-color: rgba(0, 0, 0, 0.1);\n }\n .pagination-container::-webkit-scrollbar-thumb {\n background-color: rgba(0, 0, 0, 0.3);\n }\n '
|
|
78
|
+
)
|
|
79
|
+
);
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
export { Pagination as P };
|
|
@@ -11,7 +11,7 @@ import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
|
11
11
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
12
12
|
import Feature from './Feature.js';
|
|
13
13
|
import urlFor from './urlFor.js';
|
|
14
|
-
import { g as getSerializers } from './index-
|
|
14
|
+
import { g as getSerializers } from './index-cefa7325.js';
|
|
15
15
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
16
16
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
17
17
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -58,7 +58,6 @@ import './brightcove-react-player-loader.es-57a70a56.js';
|
|
|
58
58
|
import 'react-bootstrap/Modal';
|
|
59
59
|
import 'react-bootstrap/Button';
|
|
60
60
|
import 'react-bootstrap/Form';
|
|
61
|
-
import 'react-ga';
|
|
62
61
|
import './GroupDeck.js';
|
|
63
62
|
import './SocialShare.js';
|
|
64
63
|
import 'next/head';
|
|
@@ -145,11 +144,11 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
145
144
|
{ jsx: 'true' },
|
|
146
145
|
'\n @media screen and (max-width: 768px) {\n .partners-logo {\n width: 100%;\n min-width: 100%;\n }\n .partner-logo-wrap {\n flex-wrap: wrap;\n }\n .block-content-partners {\n padding-left: 0 !important;\n }\n }\n '
|
|
147
146
|
),
|
|
148
|
-
(partnerDetails.description || partnerDetails.linkedin || partnerDetails.instagram || partnerDetails.youtube && partnerDetails.
|
|
147
|
+
(partnerDetails.description || partnerDetails.linkedin || partnerDetails.instagram || partnerDetails.youtube || partnerDetails.twitter && partnerDetails.facebook || !partnerDetails.twitter && partnerDetails.facebook && checkIsFacebookGroup(partnerDetails.facebook)) && React__default.createElement(
|
|
149
148
|
'div',
|
|
150
149
|
{ className: 'block-content-partners my-4', style: { maxWidth: '100%', paddingLeft: '2rem', flex: '1 1 auto' } },
|
|
151
150
|
partnerDetails.description && React__default.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: description, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config())),
|
|
152
|
-
(partnerDetails.linkedin || partnerDetails.instagram || partnerDetails.youtube && partnerDetails.
|
|
151
|
+
(partnerDetails.linkedin || partnerDetails.instagram || partnerDetails.youtube || partnerDetails.twitter && partnerDetails.facebook || !partnerDetails.twitter && partnerDetails.facebook && checkIsFacebookGroup(partnerDetails.facebook)) && React__default.createElement(
|
|
153
152
|
'div',
|
|
154
153
|
null,
|
|
155
154
|
React__default.createElement(
|
|
@@ -170,24 +169,8 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
170
169
|
rel: 'noopener noreferrer',
|
|
171
170
|
style: { height: 30, width: 30 }
|
|
172
171
|
}),
|
|
173
|
-
partnerDetails.youtube && partnerDetails.youtubeIcon && React__default.createElement(reactSocialIcons_1, {
|
|
174
|
-
|
|
175
|
-
target: '_blank',
|
|
176
|
-
rel: 'noopener noreferrer',
|
|
177
|
-
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
178
|
-
}),
|
|
179
|
-
partnerDetails.twitter && partnerDetails.twitterIcon && React__default.createElement(reactSocialIcons_1, {
|
|
180
|
-
url: partnerDetails.twitter,
|
|
181
|
-
target: '_blank',
|
|
182
|
-
rel: 'noopener noreferrer',
|
|
183
|
-
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
184
|
-
}),
|
|
185
|
-
partnerDetails.facebook && !partnerDetails.twitterIcon && React__default.createElement(reactSocialIcons_1, {
|
|
186
|
-
url: partnerDetails.facebook,
|
|
187
|
-
target: '_blank',
|
|
188
|
-
rel: 'noopener noreferrer',
|
|
189
|
-
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
190
|
-
})
|
|
172
|
+
partnerDetails.youtube && partnerDetails.youtubeIcon && React__default.createElement(reactSocialIcons_1, { url: partnerDetails.youtube, target: '_blank', rel: 'noopener noreferrer', style: { height: 30, width: 30, marginLeft: '0.25rem' } }),
|
|
173
|
+
(partnerDetails.twitter && partnerDetails.facebook || !partnerDetails.twitter && partnerDetails.facebook && checkIsFacebookGroup(partnerDetails.facebook)) && (partnerDetails.twitterIcon ? React__default.createElement(reactSocialIcons_1, { url: partnerDetails.twitter, target: '_blank', rel: 'noopener noreferrer', style: { height: 30, width: 30, marginLeft: '0.25rem' } }) : React__default.createElement(reactSocialIcons_1, { url: partnerDetails.facebook, target: '_blank', rel: 'noopener noreferrer', style: { height: 30, width: 30, marginLeft: '0.25rem' } }))
|
|
191
174
|
)
|
|
192
175
|
)
|
|
193
176
|
),
|
|
@@ -263,14 +246,14 @@ PartnerDetails.returnGetInitialProps = function () {
|
|
|
263
246
|
case 0:
|
|
264
247
|
today = moment().utc().format();
|
|
265
248
|
featureQuery = '*[_type == \'feature\' && is_active == true && feature_url == \'/' + partnerPageUrl + '/' + (category ? category + '/' : null) + identifier + '\'] | order(_updatedAt asc)[0..5]{\n ...,\n \'feature_img\' : feature_img.asset->\n }';
|
|
266
|
-
partnerQuery = '*[_type == \'documentGroup\' \n && !(_id in path("drafts.**"))\n && references(\'' + partnerDocumentGroupID + '\')\n && identifier.current == \'' + identifier + '\'] | order(name asc) [0] {\n
|
|
249
|
+
partnerQuery = '*[_type == \'documentGroup\' \n && !(_id in path("drafts.**"))\n && references(\'' + partnerDocumentGroupID + '\')\n && identifier.current == \'' + identifier + '\'] | order(name asc) [0] {\n description,\n name,\n identifier,\n thumbnail{ ..., asset-> },\n twitter,\n facebook,\n linkedin,\n instagram,\n twitterIcon,\n youtube,\n youtubeIcon,\n "affiliates": description[_type==\'slideshows\']{\n ...,\n slides->{...}\n }\n }';
|
|
267
250
|
|
|
268
251
|
|
|
269
252
|
if (category) {
|
|
270
253
|
// if partners page has a sub category such as onclive
|
|
271
254
|
// e.g. /sap-partner/[category]/[partner]
|
|
272
255
|
|
|
273
|
-
partnerQuery = '*[_type == \'documentGroup\' && !(_id in path("drafts.**")) && identifier.current == \'' + category + '\' && references(\'' + partnerDocumentGroupID + '\')] [0] {\n ...,\n \'partner\': *[_type == \'documentGroup\' && identifier.current == \'' + identifier + '\' && references(^._id)] [0] {\n
|
|
256
|
+
partnerQuery = '*[_type == \'documentGroup\' && !(_id in path("drafts.**")) && identifier.current == \'' + category + '\' && references(\'' + partnerDocumentGroupID + '\')] [0] {\n ...,\n \'partner\': *[_type == \'documentGroup\' && identifier.current == \'' + identifier + '\' && references(^._id)] [0] {\n description,\n name,\n identifier,\n thumbnail{ ..., asset-> },\n twitter,\n facebook,\n linkedin,\n twitterIcon,\n youtube,\n youtubeIcon,\n "affiliates": description[_type==\'slideshows\']{\n ...,\n slides->{...}\n }\n \n }\n }';
|
|
274
257
|
}
|
|
275
258
|
|
|
276
259
|
taxonomyQuery = '*[_type == \'documentGroup\' \n && !(_id in path("drafts.**"))\n && references(\'' + partnerDocumentGroupID + '\')\n && isShow != false\n && identifier.current == \'' + identifier + '\'] [0] {\n \'id\': _id,\n \'title\': name\n }';
|
|
@@ -317,4 +300,4 @@ PartnerDetails.returnGetInitialProps = function () {
|
|
|
317
300
|
};
|
|
318
301
|
}();
|
|
319
302
|
|
|
320
|
-
export
|
|
303
|
+
export default PartnerDetails;
|
|
@@ -11,7 +11,7 @@ import QueueDeckExpanded from './QueueDeckExpandedPaginated.js';
|
|
|
11
11
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
12
12
|
import Feature from './Feature.js';
|
|
13
13
|
import urlFor from './urlFor.js';
|
|
14
|
-
import { g as getSerializers } from './index-
|
|
14
|
+
import { g as getSerializers } from './index-cefa7325.js';
|
|
15
15
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
16
16
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
17
17
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -44,7 +44,8 @@ import './AuthorComponent-11adff02.js';
|
|
|
44
44
|
import './ADlgInfeed-dc36c928.js';
|
|
45
45
|
import './getContentCategory-15dcc413.js';
|
|
46
46
|
import './timeDifferenceCalc.js';
|
|
47
|
-
import './Pagination-
|
|
47
|
+
import './Pagination-6f8d5327.js';
|
|
48
|
+
import 'react-paginate';
|
|
48
49
|
import 'react-bootstrap/Button';
|
|
49
50
|
import './index.esm-1bd8a0a8.js';
|
|
50
51
|
import './iconBase-ccc56b97.js';
|
|
@@ -59,7 +60,6 @@ import './_is-array-8d21b9e3.js';
|
|
|
59
60
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
60
61
|
import 'react-bootstrap/Modal';
|
|
61
62
|
import 'react-bootstrap/Form';
|
|
62
|
-
import 'react-ga';
|
|
63
63
|
import './GroupDeck.js';
|
|
64
64
|
import './SocialShare.js';
|
|
65
65
|
import 'next/head';
|
|
@@ -239,14 +239,14 @@ PartnerDetails.returnGetInitialProps = function () {
|
|
|
239
239
|
switch (_context.prev = _context.next) {
|
|
240
240
|
case 0:
|
|
241
241
|
featureQuery = '*[_type == \'feature\' && is_active == true && feature_url == \'/' + partnerPageUrl + '/' + (category ? category + '/' : null) + identifier + '\'] | order(_updatedAt asc)[0..5]{\n ...,\n \'feature_img\' : feature_img.asset->\n }';
|
|
242
|
-
partnerQuery = '*[_type == \'documentGroup\' \n && !(_id in path("drafts.**"))\n && references(\'' + partnerDocumentGroupID + '\')\n && identifier.current == \'' + identifier + '\'] | order(name asc) [0] {\n
|
|
242
|
+
partnerQuery = '*[_type == \'documentGroup\' \n && !(_id in path("drafts.**"))\n && references(\'' + partnerDocumentGroupID + '\')\n && identifier.current == \'' + identifier + '\'] | order(name asc) [0] {\n description,\n name,\n identifier,\n thumbnail{ ..., asset-> },\n twitter,\n facebook,\n linkedin,\n "affiliates": description[_type==\'slideshows\']{\n ...,\n slides->{...}\n }\n }';
|
|
243
243
|
|
|
244
244
|
|
|
245
245
|
if (category) {
|
|
246
246
|
// if partners page has a sub category such as onclive
|
|
247
247
|
// e.g. /sap-partner/[category]/[partner]
|
|
248
248
|
|
|
249
|
-
partnerQuery = '*[_type == \'documentGroup\' && !(_id in path("drafts.**")) && identifier.current == \'' + category + '\' && references(\'' + partnerDocumentGroupID + '\')] [0] {\n ...,\n \'partner\': *[_type == \'documentGroup\' && identifier.current == \'' + identifier + '\' && references(^._id)] [0] {\n
|
|
249
|
+
partnerQuery = '*[_type == \'documentGroup\' && !(_id in path("drafts.**")) && identifier.current == \'' + category + '\' && references(\'' + partnerDocumentGroupID + '\')] [0] {\n ...,\n \'partner\': *[_type == \'documentGroup\' && identifier.current == \'' + identifier + '\' && references(^._id)] [0] {\n description,\n name,\n identifier,\n thumbnail{ ..., asset-> },\n twitter,\n facebook,\n linkedin,\n "affiliates": description[_type==\'slideshows\']{\n ...,\n slides->{...}\n }\n \n }\n }';
|
|
250
250
|
}
|
|
251
251
|
|
|
252
252
|
taxonomyQuery = '*[_type == \'documentGroup\' \n && !(_id in path("drafts.**"))\n && references(\'' + partnerDocumentGroupID + '\')\n && isShow != false\n && identifier.current == \'' + identifier + '\'] [0] {\n \'id\': _id,\n \'title\': name\n }';
|
|
@@ -310,4 +310,4 @@ PartnerDetails.returnGetInitialProps = function () {
|
|
|
310
310
|
};
|
|
311
311
|
}();
|
|
312
312
|
|
|
313
|
-
export
|
|
313
|
+
export default PartnerDetails;
|
package/dist/esm/PdfDownload.js
CHANGED
package/dist/esm/PopUpModal.js
CHANGED
package/dist/esm/PubSection.js
CHANGED
package/dist/esm/PubToc.js
CHANGED
|
@@ -17,7 +17,7 @@ import { A as ADlgInfeed } from './ADlgInfeed-dc36c928.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-6f8d5327.js';
|
|
21
21
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
22
22
|
import './core.get-iterator-method-ea258bb1.js';
|
|
23
23
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -36,6 +36,7 @@ import './Beam.js';
|
|
|
36
36
|
import './stringify-2b084bee.js';
|
|
37
37
|
import './Segment.js';
|
|
38
38
|
import './index-3f5c03b2.js';
|
|
39
|
+
import 'react-paginate';
|
|
39
40
|
import 'react-bootstrap/Button';
|
|
40
41
|
import './index.esm-1bd8a0a8.js';
|
|
41
42
|
import './iconBase-ccc56b97.js';
|
|
@@ -1379,4 +1380,4 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1379
1380
|
);
|
|
1380
1381
|
};
|
|
1381
1382
|
|
|
1382
|
-
export
|
|
1383
|
+
export default QueueDeckExpanded;
|
package/dist/esm/RecentNews.js
CHANGED
package/dist/esm/RolesDeck.js
CHANGED
package/dist/esm/Schema.js
CHANGED
package/dist/esm/Search.js
CHANGED
package/dist/esm/Segment.js
CHANGED
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-cefa7325.js';
|
|
9
9
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
10
10
|
import './core.get-iterator-method-ea258bb1.js';
|
|
11
11
|
import './_object-pie-133f504a.js';
|
|
@@ -33,7 +33,6 @@ import './brightcove-react-player-loader.es-57a70a56.js';
|
|
|
33
33
|
import 'react-bootstrap/Modal';
|
|
34
34
|
import 'react-bootstrap/Button';
|
|
35
35
|
import 'react-bootstrap/Form';
|
|
36
|
-
import 'react-ga';
|
|
37
36
|
import './GroupDeck.js';
|
|
38
37
|
import './smoothscroll-fa4e3f8c.js';
|
|
39
38
|
import './moment-bc12cb97.js';
|
|
@@ -160,7 +159,7 @@ TaxonomyDescription.getDescription = function () {
|
|
|
160
159
|
while (1) {
|
|
161
160
|
switch (_context2.prev = _context2.next) {
|
|
162
161
|
case 0:
|
|
163
|
-
query = '*[_type == \'taxonomy\' && identifier == \'' + url + '\'][0]
|
|
162
|
+
query = '*[_type == \'taxonomy\' && identifier == \'' + url + '\'][0].summary';
|
|
164
163
|
summary = [];
|
|
165
164
|
_context2.prev = 2;
|
|
166
165
|
_context2.next = 5;
|
|
@@ -193,4 +192,4 @@ TaxonomyDescription.getDescription = function () {
|
|
|
193
192
|
};
|
|
194
193
|
}();
|
|
195
194
|
|
|
196
|
-
export
|
|
195
|
+
export default TaxonomyDescription;
|
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-cefa7325.js';
|
|
9
9
|
import VideoSeriesListing from './VideoSeriesListing.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
11
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -34,7 +34,6 @@ import './typeof-e9fc0c5d.js';
|
|
|
34
34
|
import './_is-array-8d21b9e3.js';
|
|
35
35
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
36
36
|
import 'react-bootstrap/Modal';
|
|
37
|
-
import 'react-ga';
|
|
38
37
|
import './GroupDeck.js';
|
|
39
38
|
import './smoothscroll-fa4e3f8c.js';
|
|
40
39
|
import './moment-bc12cb97.js';
|
|
@@ -250,4 +249,4 @@ VideoProgramLandingPage.getInitialData = function () {
|
|
|
250
249
|
};
|
|
251
250
|
}();
|
|
252
251
|
|
|
253
|
-
export
|
|
252
|
+
export default VideoProgramLandingPage;
|