@mjhls/mjh-framework 1.0.884-beta.0 → 1.0.884-beta.1
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/AD.js +1 -1
- package/dist/cjs/AlgoliaSearch.js +1 -1
- package/dist/cjs/ArticleProgramLandingPage.js +6 -6
- package/dist/cjs/ArticleSeriesLandingPage.js +4 -4
- package/dist/cjs/ArticleSeriesListing.js +1 -1
- package/dist/cjs/ContentCardPaginated.js +409 -0
- package/dist/cjs/DeckContent.js +1 -1
- package/dist/cjs/DeckQueue.js +1 -1
- package/dist/cjs/DeckQueuePaginated.js +340 -0
- package/dist/cjs/{Dfp-14d2455c.js → Dfp-f492f985.js} +2 -2
- package/dist/cjs/ExternalResources.js +2 -2
- package/dist/cjs/GridContent.js +4 -116
- package/dist/cjs/GridContentPaginated.js +699 -0
- package/dist/cjs/HorizontalArticleListing.js +2 -2
- package/dist/cjs/ImageSlider-38f25e66.js +3989 -0
- package/dist/cjs/IssueLanding.js +2 -2
- package/dist/cjs/MasterDeck.js +1 -1
- package/dist/cjs/MasterDeckPaginated.js +444 -0
- package/dist/cjs/MediaSeriesCard-8d27612b.js +9411 -0
- package/dist/cjs/MediaSeriesLanding.js +26 -9415
- package/dist/cjs/MediaSeriesLandingPaginated.js +522 -0
- package/dist/cjs/Pagination-2f76381b.js +51 -0
- package/dist/cjs/PartnerDetailListing.js +15 -3986
- package/dist/cjs/PartnerDetailListingPaginated.js +312 -0
- package/dist/cjs/PublicationFeature-28c549f2.js +126 -0
- package/dist/cjs/QueueDeckExpandedPaginated.js +1378 -0
- package/dist/cjs/TaxonomyDescription.js +2 -2
- package/dist/cjs/VideoProgramLandingPage.js +5 -5
- package/dist/cjs/VideoSeriesLandingPage.js +4 -4
- package/dist/cjs/VideoSeriesListing.js +1 -1
- package/dist/cjs/View.js +83 -3
- package/dist/cjs/faundadb.js +15 -15
- package/dist/cjs/getRootDocGroup.js +3 -3
- package/dist/cjs/getSerializers.js +2 -2
- package/dist/cjs/{index-396089c0.js → index-54adcbc3.js} +1 -1
- package/dist/cjs/index.js +4 -4
- package/dist/cjs/{inherits-cba9c846.js → inherits-12d44cca.js} +2 -2
- package/dist/esm/{ADInfeed-8a038df9.js → ADInfeed-d767ebe2.js} +2 -2
- package/dist/esm/ArticleProgramLandingPage.js +1 -1
- package/dist/esm/ArticleSeriesLandingPage.js +1 -1
- package/dist/esm/ArticleSeriesListing.js +2 -2
- package/dist/esm/Column1.js +4 -4
- package/dist/esm/Column2.js +5 -5
- package/dist/esm/Column3.js +6 -6
- package/dist/esm/ContentCardPaginated.js +403 -0
- package/dist/esm/DeckContent.js +16 -16
- package/dist/esm/DeckQueue.js +18 -18
- package/dist/esm/DeckQueuePaginated.js +334 -0
- package/dist/esm/EventsDeck.js +26 -26
- package/dist/esm/ExternalResources.js +3 -3
- package/dist/esm/GridContent.js +38 -150
- package/dist/esm/GridContentPaginated.js +693 -0
- package/dist/esm/HamMagazine.js +4 -4
- package/dist/esm/HorizontalArticleListing.js +1 -1
- package/dist/esm/ImageSlider-a3154b97.js +3980 -0
- package/dist/esm/IssueContentDeck.js +14 -14
- package/dist/esm/IssueDeck.js +22 -22
- package/dist/esm/IssueLanding.js +2 -2
- package/dist/esm/MasterDeck.js +4 -4
- package/dist/esm/MasterDeckPaginated.js +438 -0
- package/dist/esm/MediaSeriesCard-1dd7eae8.js +9403 -0
- package/dist/esm/MediaSeriesLanding.js +23 -9411
- package/dist/esm/MediaSeriesLandingPaginated.js +517 -0
- package/dist/esm/NavDvm.js +3 -3
- package/dist/esm/NavMagazine.js +4 -4
- package/dist/esm/NavNative.js +5 -5
- package/dist/esm/Pagination-c0db7ca1.js +46 -0
- package/dist/esm/PartnerDetailListing.js +12 -3982
- package/dist/esm/PartnerDetailListingPaginated.js +307 -0
- package/dist/esm/PubSection.js +1 -1
- package/dist/esm/PublicationDeck.js +18 -18
- package/dist/esm/PublicationFeature-fa24dedb.js +121 -0
- package/dist/esm/PublicationLanding.js +22 -22
- package/dist/esm/QueueDeckExpanded.js +1 -1
- package/dist/esm/QueueDeckExpandedPaginated.js +1372 -0
- package/dist/esm/RolesDeck.js +12 -12
- package/dist/esm/Search.js +2 -2
- package/dist/esm/{SocialSearchComponent-b5be0e6c.js → SocialSearchComponent-dca69151.js} +3 -3
- package/dist/esm/TaxonomyCard.js +16 -16
- package/dist/esm/TaxonomyDescription.js +1 -1
- package/dist/esm/TemplateNormal.js +4 -4
- package/dist/esm/VideoProgramLandingPage.js +6 -6
- package/dist/esm/VideoSeriesLandingPage.js +1 -1
- package/dist/esm/VideoSeriesListing.js +3 -3
- package/dist/esm/View.js +84 -4
- package/dist/esm/getSerializers.js +1 -1
- package/dist/esm/{index-0e04b7d7.js → index-d1476645.js} +19 -19
- package/dist/esm/index.js +10 -9
- package/package.json +2 -1
- package/dist/cjs/Schema.js +0 -100
- package/dist/esm/Schema.js +0 -95
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import './core.get-iterator-method-86d4db69.js';
|
|
3
|
+
import './_library-528f1934.js';
|
|
4
|
+
import './_iter-detect-130ee549.js';
|
|
5
|
+
import './_object-pie-33c40e79.js';
|
|
6
|
+
import { _ as _extends } from './extends-5b1796d4.js';
|
|
7
|
+
import './_object-sap-8b8ea5a9.js';
|
|
8
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-2409637d.js';
|
|
9
|
+
import './define-property-6d26cb48.js';
|
|
10
|
+
import './web.dom.iterable-f8f967cd.js';
|
|
11
|
+
import './typeof-c05a82ba.js';
|
|
12
|
+
import './_is-array-4df618a6.js';
|
|
13
|
+
import React__default from 'react';
|
|
14
|
+
import './events-6c3a7a63.js';
|
|
15
|
+
import { l as lib_3 } from './index-41a678ea.js';
|
|
16
|
+
import 'prop-types';
|
|
17
|
+
import Container from 'react-bootstrap/Container';
|
|
18
|
+
import Row from 'react-bootstrap/Row';
|
|
19
|
+
import Col from 'react-bootstrap/Col';
|
|
20
|
+
import Card from 'react-bootstrap/Card';
|
|
21
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
22
|
+
import { withRouter } from 'next/router';
|
|
23
|
+
import './isSymbol-1981418f.js';
|
|
24
|
+
import 'react-dom';
|
|
25
|
+
import './slicedToArray-67a08c9c.js';
|
|
26
|
+
import './index-73819142.js';
|
|
27
|
+
import urlFor from './urlFor.js';
|
|
28
|
+
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
29
|
+
import { m as main_36 } from './main-c0612122.js';
|
|
30
|
+
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
31
|
+
import { _ as _JSON$stringify } from './stringify-70b72959.js';
|
|
32
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7bf8bc4d.js';
|
|
33
|
+
import { g as get_1 } from './get-1e515072.js';
|
|
34
|
+
import './eq-b470f743.js';
|
|
35
|
+
import Spinner from 'react-bootstrap/Spinner';
|
|
36
|
+
import 'react-paginate';
|
|
37
|
+
import { P as Pagination } from './Pagination-c0db7ca1.js';
|
|
38
|
+
|
|
39
|
+
var DeckQueue = function (_React$Component) {
|
|
40
|
+
_inherits(DeckQueue, _React$Component);
|
|
41
|
+
|
|
42
|
+
function DeckQueue() {
|
|
43
|
+
var _ref,
|
|
44
|
+
_this2 = this;
|
|
45
|
+
|
|
46
|
+
var _temp, _this, _ret;
|
|
47
|
+
|
|
48
|
+
_classCallCheck(this, DeckQueue);
|
|
49
|
+
|
|
50
|
+
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
|
|
51
|
+
args[_key] = arguments[_key];
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = DeckQueue.__proto__ || _Object$getPrototypeOf(DeckQueue)).call.apply(_ref, [this].concat(args))), _this), _this.page = _this.props.page, _this.data = _this.props.dataRecord, _this.client = _this.props.client, _this.pointer = _this.props.pointer ? _this.props.pointer : false, _this.pointerArray = _this.props.pointerArray ? _this.props.pointerArray : false, _this.defaultImage = _this.props.defaultImage ? _this.props.defaultImage : '/placeholder.jpg', _this.imageHeight = _this.props.imageHeight ? _this.props.imageHeight : 270, _this.state = {
|
|
55
|
+
data: _this.data,
|
|
56
|
+
prevData: _this.data,
|
|
57
|
+
currentPage: _this.props.currentPage || 1,
|
|
58
|
+
isDataLoading: false,
|
|
59
|
+
itemsPerPage: _this.props.params ? _this.props.params.to - _this.props.params.from : 2
|
|
60
|
+
}, _this.renderCardImage = function (row) {
|
|
61
|
+
if (row.thumbnail && row.thumbnail.asset) {
|
|
62
|
+
var url = urlFor({
|
|
63
|
+
client: _this.client,
|
|
64
|
+
source: row.thumbnail,
|
|
65
|
+
imageHeight: _this.imageHeight || null,
|
|
66
|
+
imageWidth: _this.props.imageWidth || null,
|
|
67
|
+
imageFit: _this.props.imageFit || null
|
|
68
|
+
});
|
|
69
|
+
return url;
|
|
70
|
+
} else {
|
|
71
|
+
return _this.defaultImage;
|
|
72
|
+
}
|
|
73
|
+
}, _this.seoPagination = function (pageNumber) {
|
|
74
|
+
var _this$props = _this.props,
|
|
75
|
+
pageview = _this$props.pageview,
|
|
76
|
+
router = _this$props.router;
|
|
77
|
+
|
|
78
|
+
var path = router.asPath;
|
|
79
|
+
var qrIndex = path.indexOf('?');
|
|
80
|
+
var pathname = router.pathname;
|
|
81
|
+
var queryString = '';
|
|
82
|
+
if (qrIndex > 0) {
|
|
83
|
+
path = path.substring(1, qrIndex);
|
|
84
|
+
var partialQS = router.asPath.substring(qrIndex + 1);
|
|
85
|
+
var partialQSArr = partialQS.split('&');
|
|
86
|
+
// exclude page=xxx from query string
|
|
87
|
+
partialQSArr.map(function (item) {
|
|
88
|
+
var itemArr = item.split('=');
|
|
89
|
+
var key = itemArr[0];
|
|
90
|
+
var val = itemArr[1];
|
|
91
|
+
if (key !== 'page') queryString += (queryString.length === 0 ? '' : '&') + key + '=' + val;
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
if (queryString.length > 0) path += '?' + queryString;
|
|
95
|
+
pageNumber = parseInt(pageNumber);
|
|
96
|
+
if (path[0] !== '/') path = '/' + path;
|
|
97
|
+
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
98
|
+
if (pageview) pageview(newPath);
|
|
99
|
+
router.push(pathname, newPath, {
|
|
100
|
+
shallow: true
|
|
101
|
+
});
|
|
102
|
+
}, _this.renderMobileAd = function (index, numberOfItemsBeforeAd) {
|
|
103
|
+
var rightItems = _this.props.rightItems;
|
|
104
|
+
|
|
105
|
+
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
106
|
+
return React__default.createElement(
|
|
107
|
+
'div',
|
|
108
|
+
{ style: { display: 'flex', flex: '1 0 auto' } },
|
|
109
|
+
rightItems[i].component
|
|
110
|
+
);
|
|
111
|
+
}, _this.handlePageChange = function () {
|
|
112
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(selectedPage) {
|
|
113
|
+
var itemsPerPage, _this$props2, query, params, client, seoPaginate, start, newParams, newData;
|
|
114
|
+
|
|
115
|
+
return regenerator.wrap(function _callee$(_context) {
|
|
116
|
+
while (1) {
|
|
117
|
+
switch (_context.prev = _context.next) {
|
|
118
|
+
case 0:
|
|
119
|
+
itemsPerPage = _this.state.itemsPerPage;
|
|
120
|
+
_this$props2 = _this.props, query = _this$props2.query, params = _this$props2.params, client = _this$props2.client, seoPaginate = _this$props2.seoPaginate;
|
|
121
|
+
|
|
122
|
+
_this.setState({ isDataLoading: true, currentPage: selectedPage });
|
|
123
|
+
seoPaginate && _this.seoPagination(selectedPage);
|
|
124
|
+
lib_3.refresh();
|
|
125
|
+
document.body.scrollTop = 0;
|
|
126
|
+
document.documentElement.scrollTop = 0;
|
|
127
|
+
start = (selectedPage - 1) * itemsPerPage;
|
|
128
|
+
newParams = _extends({}, params, {
|
|
129
|
+
from: start,
|
|
130
|
+
to: start + itemsPerPage
|
|
131
|
+
});
|
|
132
|
+
_context.prev = 9;
|
|
133
|
+
_context.next = 12;
|
|
134
|
+
return client.fetch(query, newParams);
|
|
135
|
+
|
|
136
|
+
case 12:
|
|
137
|
+
newData = _context.sent;
|
|
138
|
+
|
|
139
|
+
if (_this.pointer && _this.pointerArray) newData = newData[_this.pointerArray][_this.pointer];
|
|
140
|
+
if (newData && newData.length > 0) {
|
|
141
|
+
_this.setState({ isDataLoading: false, data: newData });
|
|
142
|
+
}
|
|
143
|
+
_context.next = 20;
|
|
144
|
+
break;
|
|
145
|
+
|
|
146
|
+
case 17:
|
|
147
|
+
_context.prev = 17;
|
|
148
|
+
_context.t0 = _context['catch'](9);
|
|
149
|
+
|
|
150
|
+
console.error(_context.t0);
|
|
151
|
+
|
|
152
|
+
case 20:
|
|
153
|
+
case 'end':
|
|
154
|
+
return _context.stop();
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}, _callee, _this2, [[9, 17]]);
|
|
158
|
+
}));
|
|
159
|
+
|
|
160
|
+
return function (_x) {
|
|
161
|
+
return _ref2.apply(this, arguments);
|
|
162
|
+
};
|
|
163
|
+
}(), _temp), _possibleConstructorReturn(_this, _ret);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
_createClass(DeckQueue, [{
|
|
167
|
+
key: 'componentDidUpdate',
|
|
168
|
+
value: function componentDidUpdate(prevProps, prevState) {
|
|
169
|
+
if (_JSON$stringify(this.state.prevData) !== _JSON$stringify(prevState.prevData) && this.props.seoPaginate) {
|
|
170
|
+
this.seoPagination(this.state.currentPage);
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}, {
|
|
174
|
+
key: 'cardLoader',
|
|
175
|
+
value: function cardLoader(_ref3) {
|
|
176
|
+
var _this3 = this;
|
|
177
|
+
|
|
178
|
+
var columns = _ref3.columns,
|
|
179
|
+
variant = _ref3.variant;
|
|
180
|
+
|
|
181
|
+
var mode = variant && variant === 'right' ? 'row-reverse' : 'row';
|
|
182
|
+
var lgVar = Math.floor(12 / columns);
|
|
183
|
+
var numberOfItemsBeforeAd = 6;
|
|
184
|
+
|
|
185
|
+
return React__default.createElement(
|
|
186
|
+
Row,
|
|
187
|
+
null,
|
|
188
|
+
this.state.data && this.state.data.map(function (row, index) {
|
|
189
|
+
// const thumbnailURL = get(row, 'thumbnail.asset.url', this.props.defaultImage)
|
|
190
|
+
|
|
191
|
+
return React__default.createElement(
|
|
192
|
+
React__default.Fragment,
|
|
193
|
+
{ key: index },
|
|
194
|
+
React__default.createElement(
|
|
195
|
+
Col,
|
|
196
|
+
{ md: 12, lg: lgVar, style: { display: 'flex', flex: '1 0 auto' } },
|
|
197
|
+
React__default.createElement(
|
|
198
|
+
Card,
|
|
199
|
+
{ className: 'queue-card', style: { borderTop: '1px solid #EEE' } },
|
|
200
|
+
React__default.createElement(
|
|
201
|
+
Row,
|
|
202
|
+
{ style: { flexDirection: mode } },
|
|
203
|
+
(row.thumbnail && row.thumbnail.asset || _this3.props.defaultImage) && React__default.createElement(
|
|
204
|
+
Col,
|
|
205
|
+
{ md: 12, lg: 4 },
|
|
206
|
+
React__default.createElement(
|
|
207
|
+
'a',
|
|
208
|
+
{ href: _this3.page + '/' + get_1(row, 'url.current') },
|
|
209
|
+
React__default.createElement(
|
|
210
|
+
LazyLoad,
|
|
211
|
+
{ height: _this3.props.imageHeight },
|
|
212
|
+
React__default.createElement(Card.Img, { variant: 'top', src: _this3.renderCardImage(row), alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : '' })
|
|
213
|
+
)
|
|
214
|
+
)
|
|
215
|
+
),
|
|
216
|
+
React__default.createElement(
|
|
217
|
+
Col,
|
|
218
|
+
null,
|
|
219
|
+
React__default.createElement(
|
|
220
|
+
Card.Body,
|
|
221
|
+
{ style: { padding: '20px' } },
|
|
222
|
+
row.title && React__default.createElement(
|
|
223
|
+
Card.Title,
|
|
224
|
+
null,
|
|
225
|
+
React__default.createElement(
|
|
226
|
+
'a',
|
|
227
|
+
{ href: _this3.page + '/' + get_1(row, 'url.current') },
|
|
228
|
+
row.title
|
|
229
|
+
)
|
|
230
|
+
),
|
|
231
|
+
_this3.props.showPublished && row.published && React__default.createElement(
|
|
232
|
+
Card.Subtitle,
|
|
233
|
+
null,
|
|
234
|
+
moment(row.published).format('MMMM DD, YYYY')
|
|
235
|
+
),
|
|
236
|
+
_this3.props.showRecent && row.recent && row.recent.title && React__default.createElement(
|
|
237
|
+
Card.Subtitle,
|
|
238
|
+
null,
|
|
239
|
+
'Recent : ',
|
|
240
|
+
React__default.createElement(
|
|
241
|
+
'a',
|
|
242
|
+
{ href: 'view/' + row.recent.url.current },
|
|
243
|
+
row.recent.title
|
|
244
|
+
)
|
|
245
|
+
),
|
|
246
|
+
row.summary && React__default.createElement(
|
|
247
|
+
Card.Text,
|
|
248
|
+
null,
|
|
249
|
+
React__default.createElement(
|
|
250
|
+
'a',
|
|
251
|
+
{ href: _this3.page + '/' + get_1(row, 'url.current') },
|
|
252
|
+
clean_html_1(row.summary)
|
|
253
|
+
)
|
|
254
|
+
)
|
|
255
|
+
)
|
|
256
|
+
)
|
|
257
|
+
)
|
|
258
|
+
)
|
|
259
|
+
),
|
|
260
|
+
main_36 && _this3.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this3.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
261
|
+
);
|
|
262
|
+
})
|
|
263
|
+
);
|
|
264
|
+
}
|
|
265
|
+
}, {
|
|
266
|
+
key: 'render',
|
|
267
|
+
value: function render() {
|
|
268
|
+
var _props = this.props,
|
|
269
|
+
columns = _props.columns,
|
|
270
|
+
variant = _props.variant,
|
|
271
|
+
totalDataCount = _props.totalDataCount;
|
|
272
|
+
var _state = this.state,
|
|
273
|
+
data = _state.data,
|
|
274
|
+
isDataLoading = _state.isDataLoading,
|
|
275
|
+
itemsPerPage = _state.itemsPerPage,
|
|
276
|
+
currentPage = _state.currentPage;
|
|
277
|
+
|
|
278
|
+
return React__default.createElement(
|
|
279
|
+
'div',
|
|
280
|
+
{ className: 'contentDeck' },
|
|
281
|
+
isDataLoading ? React__default.createElement(
|
|
282
|
+
'div',
|
|
283
|
+
{ className: 'd-flex justify-content-center', style: { marginTop: '100px' } },
|
|
284
|
+
React__default.createElement(
|
|
285
|
+
Spinner,
|
|
286
|
+
{ animation: 'border', role: 'status' },
|
|
287
|
+
React__default.createElement(
|
|
288
|
+
'span',
|
|
289
|
+
{ className: 'sr-only' },
|
|
290
|
+
'Loading...'
|
|
291
|
+
)
|
|
292
|
+
)
|
|
293
|
+
) : data && data.length > 0 ? React__default.createElement(
|
|
294
|
+
Container,
|
|
295
|
+
null,
|
|
296
|
+
this.cardLoader({ columns: columns, variant: variant }),
|
|
297
|
+
React__default.createElement(
|
|
298
|
+
'div',
|
|
299
|
+
{ className: 'pagination-wrapper' },
|
|
300
|
+
React__default.createElement(Pagination, {
|
|
301
|
+
pageCount: Math.ceil(totalDataCount / itemsPerPage),
|
|
302
|
+
pageRangeDisplayed: main_36 ? 3 : 9,
|
|
303
|
+
currentPage: currentPage,
|
|
304
|
+
onPageChange: this.handlePageChange
|
|
305
|
+
}),
|
|
306
|
+
React__default.createElement(
|
|
307
|
+
'style',
|
|
308
|
+
{ jsx: 'true' },
|
|
309
|
+
'\n .pagination-wrapper {\n margin: 3rem 0;\n }\n @media only screen and (max-width: 768px) {\n .pagination-wrapper {\n margin-bottom: 6rem;\n }\n }\n '
|
|
310
|
+
)
|
|
311
|
+
)
|
|
312
|
+
) : null
|
|
313
|
+
);
|
|
314
|
+
}
|
|
315
|
+
}], [{
|
|
316
|
+
key: 'getDerivedStateFromProps',
|
|
317
|
+
value: function getDerivedStateFromProps(props, state) {
|
|
318
|
+
if (_JSON$stringify(props.dataRecord) !== _JSON$stringify(state.prevData)) {
|
|
319
|
+
return {
|
|
320
|
+
data: props.dataRecord,
|
|
321
|
+
prevData: props.dataRecord,
|
|
322
|
+
currentPage: props.currentPage
|
|
323
|
+
};
|
|
324
|
+
}
|
|
325
|
+
return null;
|
|
326
|
+
}
|
|
327
|
+
}]);
|
|
328
|
+
|
|
329
|
+
return DeckQueue;
|
|
330
|
+
}(React__default.Component);
|
|
331
|
+
|
|
332
|
+
var QueuePaginated = withRouter(DeckQueue);
|
|
333
|
+
|
|
334
|
+
export default QueuePaginated;
|
package/dist/esm/EventsDeck.js
CHANGED
|
@@ -7,17 +7,17 @@ import { _ as _extends } from './extends-5b1796d4.js';
|
|
|
7
7
|
import './define-property-6d26cb48.js';
|
|
8
8
|
import './web.dom.iterable-f8f967cd.js';
|
|
9
9
|
import React__default, { useState, useEffect } from 'react';
|
|
10
|
-
import Container
|
|
11
|
-
import Row
|
|
12
|
-
import Col
|
|
13
|
-
import Card
|
|
10
|
+
import Container from 'react-bootstrap/Container';
|
|
11
|
+
import Row from 'react-bootstrap/Row';
|
|
12
|
+
import Col from 'react-bootstrap/Col';
|
|
13
|
+
import Card from 'react-bootstrap/Card';
|
|
14
14
|
import './moment-e2f9b20c.js';
|
|
15
15
|
import { useRouter } from 'next/router';
|
|
16
16
|
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
17
17
|
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-67a08c9c.js';
|
|
18
18
|
import './main-c0612122.js';
|
|
19
19
|
import { _ as _JSON$stringify } from './stringify-70b72959.js';
|
|
20
|
-
import Button
|
|
20
|
+
import Button from 'react-bootstrap/Button';
|
|
21
21
|
import { _ as _objectToArray } from './_object-to-array-c54dd835.js';
|
|
22
22
|
import { _ as _defineProperty } from './defineProperty-d7d9b577.js';
|
|
23
23
|
import Spinner from 'react-bootstrap/Spinner';
|
|
@@ -294,7 +294,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
294
294
|
'a',
|
|
295
295
|
{ rel: 'noopener', href: newLink ? newLink : links.summary.href || '#', target: '_blank' },
|
|
296
296
|
React__default.createElement(
|
|
297
|
-
Button
|
|
297
|
+
Button,
|
|
298
298
|
{ size: 'sm', className: 'registration-button', style: { borderRadius: '8px' } },
|
|
299
299
|
cta
|
|
300
300
|
)
|
|
@@ -308,7 +308,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
308
308
|
'a',
|
|
309
309
|
{ rel: 'noopener', href: newLink ? newLink : links.summary.href || '#', target: '_blank' },
|
|
310
310
|
React__default.createElement(
|
|
311
|
-
Button
|
|
311
|
+
Button,
|
|
312
312
|
{ size: 'sm', className: 'registration-button', style: { borderRadius: '8px' } },
|
|
313
313
|
'Learn More'
|
|
314
314
|
)
|
|
@@ -608,7 +608,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
608
608
|
}
|
|
609
609
|
|
|
610
610
|
return React__default.createElement(
|
|
611
|
-
Container
|
|
611
|
+
Container,
|
|
612
612
|
{ style: { padding: 1 } },
|
|
613
613
|
filteredData && filteredData.map(function (row, index) {
|
|
614
614
|
var speakerInfo = [];
|
|
@@ -652,48 +652,48 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
652
652
|
React__default.Fragment,
|
|
653
653
|
{ key: index },
|
|
654
654
|
React__default.createElement(
|
|
655
|
-
Card
|
|
655
|
+
Card,
|
|
656
656
|
null,
|
|
657
657
|
isHardcoded ? _links && React__default.createElement(
|
|
658
|
-
Row
|
|
658
|
+
Row,
|
|
659
659
|
null,
|
|
660
660
|
React__default.createElement(
|
|
661
|
-
Col
|
|
661
|
+
Col,
|
|
662
662
|
null,
|
|
663
663
|
renderLearnMoreButton(_links)
|
|
664
664
|
)
|
|
665
665
|
) : isRegister && _links && React__default.createElement(
|
|
666
|
-
Row
|
|
666
|
+
Row,
|
|
667
667
|
null,
|
|
668
668
|
React__default.createElement(
|
|
669
|
-
Col
|
|
669
|
+
Col,
|
|
670
670
|
null,
|
|
671
671
|
renderRegisterButton(_links)
|
|
672
672
|
)
|
|
673
673
|
),
|
|
674
674
|
isCompleted && _links && React__default.createElement(
|
|
675
|
-
Row
|
|
675
|
+
Row,
|
|
676
676
|
null,
|
|
677
677
|
React__default.createElement(
|
|
678
|
-
Col
|
|
678
|
+
Col,
|
|
679
679
|
null,
|
|
680
680
|
renderLearnMoreButton(_links)
|
|
681
681
|
)
|
|
682
682
|
),
|
|
683
683
|
discussionTopic && React__default.createElement(
|
|
684
|
-
Row
|
|
684
|
+
Row,
|
|
685
685
|
null,
|
|
686
686
|
React__default.createElement(
|
|
687
|
-
Col
|
|
687
|
+
Col,
|
|
688
688
|
null,
|
|
689
689
|
React__default.createElement('h5', { className: 'topic', style: { fontWeight: '500', marginBottom: 0 }, dangerouslySetInnerHTML: { __html: discussionTopic } })
|
|
690
690
|
)
|
|
691
691
|
),
|
|
692
692
|
start && timezone && React__default.createElement(
|
|
693
|
-
Row
|
|
693
|
+
Row,
|
|
694
694
|
null,
|
|
695
695
|
React__default.createElement(
|
|
696
|
-
Col
|
|
696
|
+
Col,
|
|
697
697
|
null,
|
|
698
698
|
start.indexOf('TBD') >= 0 ? React__default.createElement(
|
|
699
699
|
'p',
|
|
@@ -708,10 +708,10 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
708
708
|
)
|
|
709
709
|
),
|
|
710
710
|
eventRegion && React__default.createElement(
|
|
711
|
-
Row
|
|
711
|
+
Row,
|
|
712
712
|
null,
|
|
713
713
|
React__default.createElement(
|
|
714
|
-
Col
|
|
714
|
+
Col,
|
|
715
715
|
null,
|
|
716
716
|
React__default.createElement(
|
|
717
717
|
'p',
|
|
@@ -721,10 +721,10 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
721
721
|
)
|
|
722
722
|
),
|
|
723
723
|
venues && venues.length && venues[0].name && React__default.createElement(
|
|
724
|
-
Row
|
|
724
|
+
Row,
|
|
725
725
|
null,
|
|
726
726
|
React__default.createElement(
|
|
727
|
-
Col
|
|
727
|
+
Col,
|
|
728
728
|
null,
|
|
729
729
|
React__default.createElement(
|
|
730
730
|
'p',
|
|
@@ -734,10 +734,10 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
734
734
|
)
|
|
735
735
|
),
|
|
736
736
|
speakerInfo && speakerInfo.length > 0 && React__default.createElement(
|
|
737
|
-
Row
|
|
737
|
+
Row,
|
|
738
738
|
null,
|
|
739
739
|
React__default.createElement(
|
|
740
|
-
Col
|
|
740
|
+
Col,
|
|
741
741
|
null,
|
|
742
742
|
React__default.createElement(
|
|
743
743
|
'div',
|
|
@@ -778,7 +778,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
778
778
|
var renderMobileAd = function renderMobileAd(index, numberOfItemsBeforeAd) {
|
|
779
779
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
780
780
|
return React__default.createElement(
|
|
781
|
-
Col
|
|
781
|
+
Col,
|
|
782
782
|
{ md: 12, style: { display: 'flex', flex: '1 0 auto' } },
|
|
783
783
|
rightItems[i].component
|
|
784
784
|
);
|
|
@@ -34,7 +34,7 @@ import './asyncToGenerator-7bf8bc4d.js';
|
|
|
34
34
|
import './Segment.js';
|
|
35
35
|
import './Beam.js';
|
|
36
36
|
import './AdSlot.js';
|
|
37
|
-
import Button
|
|
37
|
+
import Button from 'react-bootstrap/Button';
|
|
38
38
|
import { B as BlockContent } from './BlockContent-e9b4ddcf.js';
|
|
39
39
|
import './index-c7e2ac95.js';
|
|
40
40
|
import './smoothscroll-0cd4c7a6.js';
|
|
@@ -42,7 +42,7 @@ import './GroupDeck.js';
|
|
|
42
42
|
import 'react-bootstrap';
|
|
43
43
|
import './iconBase-602d52fe.js';
|
|
44
44
|
import './index.esm-29e48d38.js';
|
|
45
|
-
import { g as getSerializers } from './index-
|
|
45
|
+
import { g as getSerializers } from './index-d1476645.js';
|
|
46
46
|
import './util-7700fc59.js';
|
|
47
47
|
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
48
48
|
import 'next/head';
|
|
@@ -186,7 +186,7 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
186
186
|
)
|
|
187
187
|
),
|
|
188
188
|
React__default.createElement(
|
|
189
|
-
Button
|
|
189
|
+
Button,
|
|
190
190
|
{ id: 'cta', variant: 'secondary', href: r.destination, target: '_blank', rel: 'noopener noreferrer' },
|
|
191
191
|
cta
|
|
192
192
|
)
|