@mjhls/mjh-framework 1.0.230 → 1.0.231

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 CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- # mjh-framework v. 1.0.230
2
+ # mjh-framework v. 1.0.231
3
3
 
4
4
 
5
5
 
package/dist/cjs/index.js CHANGED
@@ -9,15 +9,15 @@ var React__default = _interopDefault(React);
9
9
  var _commonjsHelpers = require('./_commonjsHelpers-3fc1f64e.js');
10
10
  var index = require('./index-0322e486.js');
11
11
  var PropTypes = _interopDefault(require('prop-types'));
12
- require('react-bootstrap/Container');
13
- require('react-bootstrap/Row');
14
- require('react-bootstrap/Col');
15
- require('react-bootstrap/Card');
12
+ var Container = _interopDefault(require('react-bootstrap/Container'));
13
+ var Row = _interopDefault(require('react-bootstrap/Row'));
14
+ var Col = _interopDefault(require('react-bootstrap/Col'));
15
+ var Card = _interopDefault(require('react-bootstrap/Card'));
16
16
  var visibilitySensor = require('./visibility-sensor-bea3105d.js');
17
17
  var Link = _interopDefault(require('next/link'));
18
18
  var Router = require('next/router');
19
19
  var Router__default = _interopDefault(Router);
20
- require('./debounce-a963b136.js');
20
+ var debounce = require('./debounce-a963b136.js');
21
21
  require('react-dom');
22
22
  var index$1 = require('./index-a4c53ff4.js');
23
23
  require('./index-0d0efcfa.js');
@@ -62,6 +62,377 @@ var DropdownButton = _interopDefault(require('react-bootstrap/DropdownButton'));
62
62
  var Dropdown = _interopDefault(require('react-bootstrap/Dropdown'));
63
63
  var Ustream = require('./Ustream-0d3dd953.js');
64
64
 
65
+ var EventsDeck = function (_React$Component) {
66
+ _babelHelpers.inherits(EventsDeck, _React$Component);
67
+
68
+ function EventsDeck() {
69
+ var _ref;
70
+
71
+ var _temp, _this, _ret;
72
+
73
+ _babelHelpers.classCallCheck(this, EventsDeck);
74
+
75
+ for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
76
+ args[_key] = arguments[_key];
77
+ }
78
+
79
+ return _ret = (_temp = (_this = _babelHelpers.possibleConstructorReturn(this, (_ref = EventsDeck.__proto__ || Object.getPrototypeOf(EventsDeck)).call.apply(_ref, [this].concat(args))), _this), _this.data = _this.props.dataRecord || [], _this.params = _this.props.params, _this.state = {
80
+ data: _this.data,
81
+ dataKeptToCompareNewDatarecord: _this.data,
82
+ page: _this.props.currentPage || 1,
83
+ scrolling: true,
84
+ currentPage: _this.props.currentPage || 1,
85
+ params: _this.params
86
+ }, _this.loadMore = debounce.debounce_1(function () {
87
+ _this.setState(function (prevState) {
88
+ return {
89
+ page: prevState.page + 1
90
+ };
91
+ }, _this.loadData);
92
+ }, 0), _this.loadData = function () {
93
+ var _this$state = _this.state,
94
+ data = _this$state.data,
95
+ page = _this$state.page,
96
+ params = _this$state.params;
97
+ var dataHandler = _this.props.dataHandler;
98
+
99
+
100
+ var dataHandlerPromise = new Promise(function (resolve, reject) {
101
+ try {
102
+ var result = dataHandler(params);
103
+ resolve(result);
104
+ } catch (e) {
105
+ reject(e);
106
+ }
107
+ });
108
+ dataHandlerPromise.then(function (newData) {
109
+ _this.loadDataFinished(data, newData, page);
110
+ });
111
+ }, _this.loadDataFinished = function (data, newData, page) {
112
+ var newDataArray = newData.data.map(function (item) {
113
+ return _babelHelpers._extends({}, item, {
114
+ pageNumber: page
115
+ });
116
+ });
117
+ var newParams = _babelHelpers._extends({}, _this.state.params, { nextPagingToken: newData.paging.nextToken });
118
+ _this.setState(function () {
119
+ if (newDataArray.length > 0) {
120
+ return {
121
+ data: [].concat(_babelHelpers.toConsumableArray(data), _babelHelpers.toConsumableArray(newDataArray)),
122
+ params: newParams,
123
+ scrolling: true
124
+ };
125
+ } else {
126
+ return {
127
+ scrolling: false
128
+ };
129
+ }
130
+ });
131
+ }, _this.changePageNumber = function (pageNumber) {
132
+ var _this$props = _this.props,
133
+ seoPaginate = _this$props.seoPaginate,
134
+ pageview = _this$props.pageview,
135
+ router = _this$props.router;
136
+ var currentPage = _this.state.currentPage;
137
+
138
+ if (seoPaginate) {
139
+ var path = router.asPath;
140
+ var qrIndex = path.indexOf('?');
141
+ var pathname = router.pathname;
142
+ var queryString = '';
143
+
144
+ if (qrIndex > 0) {
145
+ path = path.substring(1, qrIndex);
146
+
147
+ var partialQS = router.asPath.substring(qrIndex + 1);
148
+ var partialQSArr = partialQS.split('&');
149
+
150
+ // exclude page=xxx from query string
151
+ partialQSArr.map(function (item) {
152
+ var itemArr = item.split('=');
153
+ var key = itemArr[0];
154
+ var val = itemArr[1];
155
+
156
+ if (key !== 'page') {
157
+ queryString += (queryString.length === 0 ? '' : '&') + key + '=' + val;
158
+ }
159
+ });
160
+ }
161
+
162
+ if (queryString.length > 0) {
163
+ path += '?' + queryString;
164
+ }
165
+
166
+ pageNumber = parseInt(pageNumber);
167
+
168
+ if (currentPage !== pageNumber) {
169
+ index.lib_3.refresh();
170
+
171
+ _this.setState({
172
+ currentPage: pageNumber
173
+ }, function () {
174
+ if (path[0] !== '/') {
175
+ path = '/' + path;
176
+ }
177
+
178
+ var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
179
+
180
+ // please leave this for later debug purpose : Yong Jun.
181
+ /* console.log('page change reported', {
182
+ currentPage: currentPage,
183
+ pageNumber: pageNumber,
184
+ pathname: pathname,
185
+ path: path,
186
+ newPath: newPath,
187
+ firstPage: pageNumber === 1,
188
+ queryString: queryString
189
+ }) */
190
+
191
+ if (pageview) {
192
+ pageview(newPath);
193
+ }
194
+
195
+ router.push(pathname, newPath, {
196
+ shallow: true
197
+ });
198
+ });
199
+ }
200
+ }
201
+ }, _this.registrationButton = function (registrationLink) {
202
+ return React__default.createElement(
203
+ 'a',
204
+ { href: registrationLink, target: '_blank' },
205
+ React__default.createElement(
206
+ Button,
207
+ { className: 'event-registration-button' },
208
+ 'Register Now'
209
+ )
210
+ );
211
+ }, _this.renderVenue = function (venue, index) {
212
+ return React__default.createElement(
213
+ Col,
214
+ { xs: 12, sm: 6, md: 6, xl: 6 },
215
+ React__default.createElement(
216
+ 'div',
217
+ { className: 'venue-card', style: { width: '18rem' } },
218
+ React__default.createElement(
219
+ Card.Body,
220
+ null,
221
+ React__default.createElement(
222
+ Card.Title,
223
+ null,
224
+ venue.name
225
+ ),
226
+ React__default.createElement(
227
+ Card.Subtitle,
228
+ { className: 'mb-2 text-muted' },
229
+ venue.address.address1
230
+ ),
231
+ React__default.createElement(
232
+ Card.Subtitle,
233
+ { className: 'mb-2 text-muted' },
234
+ venue.address.city
235
+ ),
236
+ React__default.createElement(
237
+ Card.Subtitle,
238
+ { className: 'mb-2 text-muted' },
239
+ venue.address.country
240
+ ),
241
+ React__default.createElement(
242
+ Card.Subtitle,
243
+ { className: 'mb-2 text-muted' },
244
+ venue.address.postalCode
245
+ )
246
+ )
247
+ )
248
+ );
249
+ }, _this.cardLoader = function () {
250
+ var numberOfItemsBeforeAd = 5;
251
+ return React__default.createElement(
252
+ Row,
253
+ null,
254
+ _this.state.data && _this.state.data.map(function (row, index) {
255
+ var title = row.title,
256
+ description = row.description,
257
+ start = row.start,
258
+ venues = row.venues,
259
+ _links = row._links;
260
+
261
+ var pageNumber = row.pageNumber || _this.state.page;
262
+ return React__default.createElement(
263
+ React__default.Fragment,
264
+ { key: index },
265
+ React__default.createElement(
266
+ visibilitySensor.VisibilitySensor,
267
+ {
268
+ onChange: function onChange(isVisible) {
269
+ isVisible && _this.changePageNumber(pageNumber);
270
+ } },
271
+ React__default.createElement(
272
+ Col,
273
+ { xl: 12, style: { marginBottom: '1rem' } },
274
+ React__default.createElement(
275
+ Row,
276
+ null,
277
+ React__default.createElement(
278
+ Col,
279
+ { xs: 12, style: { paddingTop: '10px', marginBottom: '20px', borderTop: '1px solid #EEE' } },
280
+ !main.main_36 && React__default.createElement(
281
+ 'div',
282
+ { style: { float: 'right' } },
283
+ _this.registrationButton(_links.registration.href)
284
+ ),
285
+ React__default.createElement('h4', { className: 'mb-1', style: { fontWeight: '500', fontSize: '22px' }, dangerouslySetInnerHTML: { __html: title } }),
286
+ React__default.createElement(
287
+ 'p',
288
+ { className: 'mb-2' },
289
+ 'Sarting at ',
290
+ visibilitySensor.moment(start).format('MMMM Do YYYY, h:mma')
291
+ ),
292
+ description && React__default.createElement('p', { dangerouslySetInnerHTML: { __html: description } }),
293
+ React__default.createElement(
294
+ Row,
295
+ null,
296
+ venues && venues.length > 0 && venues.map(function (venue, index) {
297
+ return _this.renderVenue(venue, index);
298
+ })
299
+ ),
300
+ main.main_36 && _this.registrationButton(_links.registration.href)
301
+ )
302
+ )
303
+ )
304
+ ),
305
+ main.main_36 && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React__default.createElement(
306
+ 'div',
307
+ { style: { margin: '0 auto' } },
308
+ _this.renderMobileAd(index, numberOfItemsBeforeAd, _this.rightItems)
309
+ )
310
+ );
311
+ })
312
+ );
313
+ }, _this.renderMobileAd = function (index, numberOfItemsBeforeAd) {
314
+ var rightItems = _this.props.rightItems;
315
+
316
+ var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
317
+ return React__default.createElement(
318
+ Col,
319
+ { md: 12, style: { display: 'flex', flex: '1 0 auto' } },
320
+ rightItems[i].component
321
+ );
322
+ }, _this.renderManualPagination = function () {
323
+ var currentPage = _this.state.currentPage;
324
+
325
+ return React__default.createElement(
326
+ 'div',
327
+ { className: 'd-flex justify-content-between' },
328
+ currentPage && currentPage > 1 && React__default.createElement(
329
+ 'a',
330
+ { href: '?page=' + (currentPage - 1) },
331
+ '<< Previous'
332
+ ),
333
+ React__default.createElement(
334
+ 'a',
335
+ { href: '?page=' + (currentPage + 1) },
336
+ 'Next >>'
337
+ )
338
+ );
339
+ }, _temp), _babelHelpers.possibleConstructorReturn(_this, _ret);
340
+ }
341
+
342
+ _babelHelpers.createClass(EventsDeck, [{
343
+ key: 'componentDidUpdate',
344
+ value: function componentDidUpdate(prevProps, prevState) {
345
+ if (this.state.dataKeptToCompareNewDatarecord !== this.props.dataRecord) {
346
+ // eslint-disable-next-line react/no-did-update-set-state
347
+ this.setState({
348
+ data: this.props.dataRecord,
349
+ dataKeptToCompareNewDatarecord: this.props.dataRecord,
350
+ page: 1,
351
+ scrolling: true
352
+ });
353
+ }
354
+ }
355
+ }, {
356
+ key: 'componentDidMount',
357
+ value: function componentDidMount() {
358
+ // this.loadData();
359
+ }
360
+ }, {
361
+ key: 'render',
362
+ value: function render() {
363
+ var _this2 = this;
364
+
365
+ var autoScroll = this.props.autoScroll;
366
+
367
+ console.log(this.state.data);
368
+ return React__default.createElement(
369
+ 'div',
370
+ { className: 'contentDeck' },
371
+ autoScroll ? React__default.createElement(
372
+ React__default.Fragment,
373
+ null,
374
+ React__default.createElement(
375
+ visibilitySensor.InfiniteScroll,
376
+ { dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.9 },
377
+ React__default.createElement(
378
+ Container,
379
+ null,
380
+ this.cardLoader()
381
+ )
382
+ ),
383
+ React__default.createElement(
384
+ 'noscript',
385
+ null,
386
+ this.renderManualPagination()
387
+ )
388
+ ) : React__default.createElement(
389
+ React__default.Fragment,
390
+ null,
391
+ React__default.createElement(
392
+ Container,
393
+ null,
394
+ this.cardLoader()
395
+ ),
396
+ React__default.createElement(
397
+ 'div',
398
+ { style: { padding: '0px 10px' } },
399
+ this.state.scrolling ? React__default.createElement(
400
+ 'button',
401
+ {
402
+ style: { margin: 'auto', width: '100%' },
403
+ onClick: function onClick(e) {
404
+ _this2.loadMore();
405
+ } },
406
+ 'Load More'
407
+ ) : React__default.createElement(
408
+ 'p',
409
+ { style: { textAlign: 'center' } },
410
+ React__default.createElement(
411
+ 'b',
412
+ null,
413
+ 'End of data'
414
+ )
415
+ )
416
+ ),
417
+ React__default.createElement(
418
+ 'noscript',
419
+ null,
420
+ this.renderManualPagination()
421
+ )
422
+ ),
423
+ React__default.createElement(
424
+ 'style',
425
+ { jsx: 'true' },
426
+ '\n .venue-card {\n border: 1px solid #c0c0c0;\n border-radius: 6px;\n padding: 2px;\n }\n '
427
+ )
428
+ );
429
+ }
430
+ }]);
431
+ return EventsDeck;
432
+ }(React__default.Component);
433
+
434
+ var EventsDeck$1 = Router.withRouter(EventsDeck);
435
+
65
436
  var AccordionPanel = function AccordionPanel(props) {
66
437
  var accordionClassName = props.accordionClassName,
67
438
  data = props.data;
@@ -12466,7 +12837,7 @@ var _initialiseProps = function _initialiseProps() {
12466
12837
  params.index = queueData.length - 1;
12467
12838
  var that = _this3;
12468
12839
  _this3.props.client.fetch(query, params).then(function (article) {
12469
- if (article) {
12840
+ if (article && article._id) {
12470
12841
  var targeting = that.getTargeting(article);
12471
12842
  article.Ads = that.props.Ads.getRightItems(targeting);
12472
12843
  queueData.push(article);
@@ -12705,6 +13076,7 @@ exports.ArticleDetailDropdown = ArticleDetailDropdown;
12705
13076
  exports.ArticleQueue = ArticleQueue;
12706
13077
  exports.Breadcrumbs = Breadcrumbs$1;
12707
13078
  exports.ConferenceArticleCard = ConferenceArticleCard;
13079
+ exports.EventsDeck = EventsDeck$1;
12708
13080
  exports.Feature = Feature;
12709
13081
  exports.ForbesHero = fbsHero;
12710
13082
  exports.Hero = Hero;
@@ -1,5 +1,5 @@
1
1
  import React__default, { useState } from 'react';
2
- import { b as lib_2 } from './index-6a79dad6.js';
2
+ import { b as lib_2 } from './index-70f7c966.js';
3
3
  import PropTypes from 'prop-types';
4
4
  import { d as debounce_1 } from './debounce-dc0c02e5.js';
5
5
  import { s as slicedToArray } from './_babelHelpers-67c05996.js';
@@ -1,6 +1,6 @@
1
1
  import React__default from 'react';
2
2
  import './_commonjsHelpers-ae1b5db5.js';
3
- import { a as lib_3 } from './index-6a79dad6.js';
3
+ import { l as lib_3 } from './index-70f7c966.js';
4
4
  import 'prop-types';
5
5
  import Container from 'react-bootstrap/Container';
6
6
  import Row from 'react-bootstrap/Row';
@@ -13,10 +13,10 @@ import { d as debounce_1 } from './debounce-dc0c02e5.js';
13
13
  import 'react-dom';
14
14
  import { i as imageUrlBuilder } from './index-ca4ff5cb.js';
15
15
  import { L as LazyLoad } from './index-3c1ee9ab.js';
16
- import { a as main_36 } from './main-dea495b7.js';
16
+ import { m as main_36 } from './main-cd81c243.js';
17
17
  import { c as clean_html_1 } from './entities-e85d3a4a.js';
18
18
  import { i as inherits, c as createClass, a as classCallCheck, p as possibleConstructorReturn, _ as _extends, t as toConsumableArray } from './_babelHelpers-67c05996.js';
19
- import { D as DFPAdSlot } from './AdSlot-b67f8534.js';
19
+ import { D as DFPAdSlot } from './AdSlot-0ea49f7e.js';
20
20
 
21
21
  var DeckContent = function (_React$Component) {
22
22
  inherits(DeckContent, _React$Component);
@@ -1,6 +1,6 @@
1
1
  import React__default from 'react';
2
2
  import './_commonjsHelpers-ae1b5db5.js';
3
- import { a as lib_3 } from './index-6a79dad6.js';
3
+ import { l as lib_3 } from './index-70f7c966.js';
4
4
  import 'prop-types';
5
5
  import Container from 'react-bootstrap/Container';
6
6
  import Row from 'react-bootstrap/Row';
@@ -13,7 +13,7 @@ import { d as debounce_1 } from './debounce-dc0c02e5.js';
13
13
  import 'react-dom';
14
14
  import { i as imageUrlBuilder } from './index-ca4ff5cb.js';
15
15
  import { L as LazyLoad } from './index-3c1ee9ab.js';
16
- import { a as main_36 } from './main-dea495b7.js';
16
+ import { m as main_36 } from './main-cd81c243.js';
17
17
  import { c as clean_html_1 } from './entities-e85d3a4a.js';
18
18
  import { i as inherits, c as createClass, a as classCallCheck, p as possibleConstructorReturn, _ as _extends, t as toConsumableArray } from './_babelHelpers-67c05996.js';
19
19
  import { g as get_1 } from './get-b074314b.js';
@@ -1,6 +1,6 @@
1
1
  import React__default, { useState } from 'react';
2
2
  import './_commonjsHelpers-ae1b5db5.js';
3
- import { l as lib_1, b as lib_2 } from './index-6a79dad6.js';
3
+ import { a as lib_1, b as lib_2 } from './index-70f7c966.js';
4
4
  import PropTypes from 'prop-types';
5
5
  import { V as VisibilitySensor } from './visibility-sensor-675d3fa1.js';
6
6
  import { d as debounce_1 } from './debounce-dc0c02e5.js';
@@ -1,5 +1,5 @@
1
1
  import React__default, { Suspense } from 'react';
2
- import { a as lib_3 } from './index-6a79dad6.js';
2
+ import { l as lib_3 } from './index-70f7c966.js';
3
3
  import Container from 'react-bootstrap/Container';
4
4
  import Row from 'react-bootstrap/Row';
5
5
  import Col from 'react-bootstrap/Col';
@@ -10,14 +10,14 @@ import { withRouter } from 'next/router';
10
10
  import { d as debounce_1 } from './debounce-dc0c02e5.js';
11
11
  import { i as imageUrlBuilder } from './index-ca4ff5cb.js';
12
12
  import { L as LazyLoad } from './index-3c1ee9ab.js';
13
- import { a as main_36 } from './main-dea495b7.js';
13
+ import { m as main_36 } from './main-cd81c243.js';
14
14
  import { c as clean_html_1 } from './entities-e85d3a4a.js';
15
15
  import { i as inherits, c as createClass, t as toConsumableArray, a as classCallCheck, p as possibleConstructorReturn, _ as _extends } from './_babelHelpers-67c05996.js';
16
- import { D as DFPAdSlot } from './AdSlot-b67f8534.js';
16
+ import { D as DFPAdSlot } from './AdSlot-0ea49f7e.js';
17
17
  import { g as get_1 } from './get-b074314b.js';
18
18
 
19
19
  var Dfp = React__default.lazy(function () {
20
- return import('./Dfp-6731ac01.js');
20
+ return import('./Dfp-a8aa00b7.js');
21
21
  });
22
22
 
23
23
  var AD = function AD(props) {
@@ -1,6 +1,6 @@
1
1
  import 'react';
2
2
  import './_commonjsHelpers-ae1b5db5.js';
3
- import './index-6a79dad6.js';
3
+ import './index-70f7c966.js';
4
4
  import 'prop-types';
5
5
  import 'react-bootstrap/Container';
6
6
  import 'react-bootstrap/Row';
@@ -13,9 +13,9 @@ import './debounce-dc0c02e5.js';
13
13
  import 'react-dom';
14
14
  import './index-ca4ff5cb.js';
15
15
  import './index-3c1ee9ab.js';
16
- import './main-dea495b7.js';
16
+ import './main-cd81c243.js';
17
17
  import './entities-e85d3a4a.js';
18
18
  import './_babelHelpers-67c05996.js';
19
- import './AdSlot-b67f8534.js';
19
+ import './AdSlot-0ea49f7e.js';
20
20
  import './get-b074314b.js';
21
- export { G as default } from './GridContent-6a3c27ba.js';
21
+ export { G as default } from './GridContent-d8bd7953.js';
@@ -1,6 +1,6 @@
1
1
  import React__default from 'react';
2
2
  import './_commonjsHelpers-ae1b5db5.js';
3
- import { a as lib_3 } from './index-6a79dad6.js';
3
+ import { l as lib_3 } from './index-70f7c966.js';
4
4
  import 'prop-types';
5
5
  import Container from 'react-bootstrap/Container';
6
6
  import Row from 'react-bootstrap/Row';
@@ -12,7 +12,7 @@ import { withRouter } from 'next/router';
12
12
  import { d as debounce_1 } from './debounce-dc0c02e5.js';
13
13
  import 'react-dom';
14
14
  import './index-ca4ff5cb.js';
15
- import { a as main_36 } from './main-dea495b7.js';
15
+ import { m as main_36 } from './main-cd81c243.js';
16
16
  import { i as inherits, c as createClass, a as classCallCheck, p as possibleConstructorReturn, _ as _extends, t as toConsumableArray } from './_babelHelpers-67c05996.js';
17
17
 
18
18
  var MasterDeck = function (_React$Component) {
@@ -5,9 +5,9 @@ import Container from 'react-bootstrap/Container';
5
5
  import Row from 'react-bootstrap/Row';
6
6
  import Col from 'react-bootstrap/Col';
7
7
  import Link from 'next/link';
8
- import { a as main_36, b as main_37 } from './main-dea495b7.js';
8
+ import { m as main_36, b as main_37 } from './main-cd81c243.js';
9
9
  import { s as slicedToArray } from './_babelHelpers-67c05996.js';
10
- import { D as DFPAdSlot } from './AdSlot-b67f8534.js';
10
+ import { D as DFPAdSlot } from './AdSlot-0ea49f7e.js';
11
11
  import { g as get_1 } from './get-b074314b.js';
12
12
  import { Dropdown } from 'react-bootstrap';
13
13
  import { G as GenIcon, b as IoMdLogIn, c as IoIosHome } from './index.esm-536609db.js';
@@ -1,6 +1,6 @@
1
1
  import React__default, { useState, useEffect, useRef } from 'react';
2
2
  import './_commonjsHelpers-ae1b5db5.js';
3
- import { a as lib_3 } from './index-6a79dad6.js';
3
+ import { l as lib_3 } from './index-70f7c966.js';
4
4
  import 'prop-types';
5
5
  import { I as InfiniteScroll, V as VisibilitySensor, m as moment } from './visibility-sensor-675d3fa1.js';
6
6
  import 'next/link';
@@ -8,7 +8,7 @@ import { useRouter } from 'next/router';
8
8
  import 'react-dom';
9
9
  import { i as imageUrlBuilder } from './index-ca4ff5cb.js';
10
10
  import { L as LazyLoad } from './index-3c1ee9ab.js';
11
- import { a as main_36 } from './main-dea495b7.js';
11
+ import { m as main_36 } from './main-cd81c243.js';
12
12
  import { c as clean_html_1 } from './entities-e85d3a4a.js';
13
13
  import { s as slicedToArray, _ as _extends, t as toConsumableArray } from './_babelHelpers-67c05996.js';
14
14
  import { Container, Media } from 'react-bootstrap';
@@ -1,20 +1,20 @@
1
1
  import 'react';
2
2
  import './_commonjsHelpers-ae1b5db5.js';
3
- import './index-6a79dad6.js';
3
+ import './index-70f7c966.js';
4
4
  import 'prop-types';
5
5
  import 'react-bootstrap/Container';
6
6
  import 'react-bootstrap/Row';
7
7
  import 'react-bootstrap/Col';
8
8
  import 'next/link';
9
9
  import './debounce-dc0c02e5.js';
10
- import './main-dea495b7.js';
10
+ import './main-cd81c243.js';
11
11
  import './_babelHelpers-67c05996.js';
12
- import './AdSlot-b67f8534.js';
12
+ import './AdSlot-0ea49f7e.js';
13
13
  import './get-b074314b.js';
14
14
  import 'react-bootstrap';
15
15
  import './index.esm-536609db.js';
16
16
  import 'react-bootstrap/Button';
17
- export { T as default } from './Normal-89840352.js';
17
+ export { T as default } from './Normal-9fb1e124.js';
18
18
  import 'react-bootstrap/ListGroup';
19
19
  import 'next/head';
20
20
  import 'react-bootstrap/Nav';
@@ -1,6 +1,6 @@
1
1
  import React__default from 'react';
2
2
  import './_commonjsHelpers-ae1b5db5.js';
3
- import { a as lib_3 } from './index-6a79dad6.js';
3
+ import { l as lib_3 } from './index-70f7c966.js';
4
4
  import 'prop-types';
5
5
  import Container from 'react-bootstrap/Container';
6
6
  import { I as InfiniteScroll, V as VisibilitySensor } from './visibility-sensor-675d3fa1.js';
@@ -1654,4 +1654,4 @@ var lib_1 = lib.DFPSlotsProvider;
1654
1654
  var lib_2 = lib.AdSlot;
1655
1655
  var lib_3 = lib.DFPManager;
1656
1656
 
1657
- export { lib_3 as a, lib_2 as b, lib_1 as l };
1657
+ export { lib_1 as a, lib_2 as b, lib_3 as l };
package/dist/esm/index.js CHANGED
@@ -1,26 +1,26 @@
1
1
  import React__default, { useState, useRef, useEffect } from 'react';
2
2
  import { c as createCommonjsModule, u as unwrapExports, a as commonjsGlobal } from './_commonjsHelpers-ae1b5db5.js';
3
- import { l as lib_1, a as lib_3 } from './index-6a79dad6.js';
3
+ import { l as lib_3, a as lib_1 } from './index-70f7c966.js';
4
4
  import PropTypes from 'prop-types';
5
- import 'react-bootstrap/Container';
6
- import 'react-bootstrap/Row';
7
- import 'react-bootstrap/Col';
8
- import 'react-bootstrap/Card';
9
- import { m as moment, I as InfiniteScroll } from './visibility-sensor-675d3fa1.js';
5
+ import Container from 'react-bootstrap/Container';
6
+ import Row from 'react-bootstrap/Row';
7
+ import Col from 'react-bootstrap/Col';
8
+ import Card from 'react-bootstrap/Card';
9
+ import { I as InfiniteScroll, V as VisibilitySensor, m as moment } from './visibility-sensor-675d3fa1.js';
10
10
  import Link from 'next/link';
11
- import Router, { useRouter } from 'next/router';
12
- import './debounce-dc0c02e5.js';
11
+ import Router, { withRouter, useRouter } from 'next/router';
12
+ import { d as debounce_1 } from './debounce-dc0c02e5.js';
13
13
  import 'react-dom';
14
14
  import { i as imageUrlBuilder } from './index-ca4ff5cb.js';
15
15
  import './index-3c1ee9ab.js';
16
- import { m as main_35, a as main_36 } from './main-dea495b7.js';
16
+ import { m as main_36, a as main_35 } from './main-cd81c243.js';
17
17
  import { h as html_decode_1, c as clean_html_1 } from './entities-e85d3a4a.js';
18
- import { s as slicedToArray, _ as _extends$2, t as toConsumableArray, i as inherits$2, c as createClass, a as classCallCheck, p as possibleConstructorReturn } from './_babelHelpers-67c05996.js';
19
- import { D as DFPAdSlot } from './AdSlot-b67f8534.js';
20
- export { D as AdSlot } from './AdSlot-b67f8534.js';
18
+ import { i as inherits$2, c as createClass, a as classCallCheck, p as possibleConstructorReturn, _ as _extends$2, t as toConsumableArray, s as slicedToArray } from './_babelHelpers-67c05996.js';
19
+ import { D as DFPAdSlot } from './AdSlot-0ea49f7e.js';
20
+ export { D as AdSlot } from './AdSlot-0ea49f7e.js';
21
21
  export { default as DeckContent } from './DeckContent.js';
22
22
  import './get-b074314b.js';
23
- export { A as AD, G as GridContent } from './GridContent-6a3c27ba.js';
23
+ export { A as AD, G as GridContent } from './GridContent-d8bd7953.js';
24
24
  export { default as DeckQueue } from './DeckQueue.js';
25
25
  import 'react-bootstrap/Media';
26
26
  export { default as ThumbnailCard } from './ThumbnailCard.js';
@@ -30,18 +30,18 @@ import GroupDeck from './GroupDeck.js';
30
30
  export { default as GroupDeck } from './GroupDeck.js';
31
31
  import { g as getYoutubeId } from './YoutubeGroup-1368335c.js';
32
32
  export { Y as YoutubeGroup } from './YoutubeGroup-1368335c.js';
33
- import { Figure, Carousel, Table, Button, ProgressBar, Card } from 'react-bootstrap';
33
+ import { Figure, Carousel, Table, Button as Button$1, ProgressBar, Card as Card$1 } from 'react-bootstrap';
34
34
  export { default as QueueDeckExpanded } from './QueueDeckExpanded.js';
35
35
  import { I as IoMdArrowDropdown } from './index.esm-536609db.js';
36
36
  export { default as VideoSeriesListing } from './VideoSeriesListing.js';
37
37
  export { default as MasterDeck } from './MasterDeck.js';
38
- import Button$1 from 'react-bootstrap/Button';
38
+ import Button from 'react-bootstrap/Button';
39
39
  export { default as PublicationDeck } from './PublicationDeck.js';
40
40
  export { default as IssueDeck } from './IssueDeck.js';
41
41
  import 'react-bootstrap/Badge';
42
42
  export { default as IssueContentDeck } from './IssueContentDeck.js';
43
- import { M as MdPictureAsPdf, T as TemplateNormal } from './Normal-89840352.js';
44
- export { A as AD728x90, C as Column1, a as Column2, b as Column3, f as HamMagazine, H as Header, L as LeftNav, e as NavDvm, c as NavMagazine, N as NavNative, d as NavNormal, P as PageFilter, S as Search, g as SideFooter, T as TemplateNormal } from './Normal-89840352.js';
43
+ import { M as MdPictureAsPdf, T as TemplateNormal } from './Normal-9fb1e124.js';
44
+ export { A as AD728x90, C as Column1, a as Column2, b as Column3, f as HamMagazine, H as Header, L as LeftNav, e as NavDvm, c as NavMagazine, N as NavNative, d as NavNormal, P as PageFilter, S as Search, g as SideFooter, T as TemplateNormal } from './Normal-9fb1e124.js';
45
45
  import 'react-bootstrap/ListGroup';
46
46
  import Head from 'next/head';
47
47
  import Accordion from 'react-bootstrap/Accordion';
@@ -60,6 +60,377 @@ import Dropdown from 'react-bootstrap/Dropdown';
60
60
  import { F as FaLongArrowAltRight } from './Ustream-6bb45fe7.js';
61
61
  export { U as Ustream } from './Ustream-6bb45fe7.js';
62
62
 
63
+ var EventsDeck = function (_React$Component) {
64
+ inherits$2(EventsDeck, _React$Component);
65
+
66
+ function EventsDeck() {
67
+ var _ref;
68
+
69
+ var _temp, _this, _ret;
70
+
71
+ classCallCheck(this, EventsDeck);
72
+
73
+ for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
74
+ args[_key] = arguments[_key];
75
+ }
76
+
77
+ return _ret = (_temp = (_this = possibleConstructorReturn(this, (_ref = EventsDeck.__proto__ || Object.getPrototypeOf(EventsDeck)).call.apply(_ref, [this].concat(args))), _this), _this.data = _this.props.dataRecord || [], _this.params = _this.props.params, _this.state = {
78
+ data: _this.data,
79
+ dataKeptToCompareNewDatarecord: _this.data,
80
+ page: _this.props.currentPage || 1,
81
+ scrolling: true,
82
+ currentPage: _this.props.currentPage || 1,
83
+ params: _this.params
84
+ }, _this.loadMore = debounce_1(function () {
85
+ _this.setState(function (prevState) {
86
+ return {
87
+ page: prevState.page + 1
88
+ };
89
+ }, _this.loadData);
90
+ }, 0), _this.loadData = function () {
91
+ var _this$state = _this.state,
92
+ data = _this$state.data,
93
+ page = _this$state.page,
94
+ params = _this$state.params;
95
+ var dataHandler = _this.props.dataHandler;
96
+
97
+
98
+ var dataHandlerPromise = new Promise(function (resolve, reject) {
99
+ try {
100
+ var result = dataHandler(params);
101
+ resolve(result);
102
+ } catch (e) {
103
+ reject(e);
104
+ }
105
+ });
106
+ dataHandlerPromise.then(function (newData) {
107
+ _this.loadDataFinished(data, newData, page);
108
+ });
109
+ }, _this.loadDataFinished = function (data, newData, page) {
110
+ var newDataArray = newData.data.map(function (item) {
111
+ return _extends$2({}, item, {
112
+ pageNumber: page
113
+ });
114
+ });
115
+ var newParams = _extends$2({}, _this.state.params, { nextPagingToken: newData.paging.nextToken });
116
+ _this.setState(function () {
117
+ if (newDataArray.length > 0) {
118
+ return {
119
+ data: [].concat(toConsumableArray(data), toConsumableArray(newDataArray)),
120
+ params: newParams,
121
+ scrolling: true
122
+ };
123
+ } else {
124
+ return {
125
+ scrolling: false
126
+ };
127
+ }
128
+ });
129
+ }, _this.changePageNumber = function (pageNumber) {
130
+ var _this$props = _this.props,
131
+ seoPaginate = _this$props.seoPaginate,
132
+ pageview = _this$props.pageview,
133
+ router = _this$props.router;
134
+ var currentPage = _this.state.currentPage;
135
+
136
+ if (seoPaginate) {
137
+ var path = router.asPath;
138
+ var qrIndex = path.indexOf('?');
139
+ var pathname = router.pathname;
140
+ var queryString = '';
141
+
142
+ if (qrIndex > 0) {
143
+ path = path.substring(1, qrIndex);
144
+
145
+ var partialQS = router.asPath.substring(qrIndex + 1);
146
+ var partialQSArr = partialQS.split('&');
147
+
148
+ // exclude page=xxx from query string
149
+ partialQSArr.map(function (item) {
150
+ var itemArr = item.split('=');
151
+ var key = itemArr[0];
152
+ var val = itemArr[1];
153
+
154
+ if (key !== 'page') {
155
+ queryString += (queryString.length === 0 ? '' : '&') + key + '=' + val;
156
+ }
157
+ });
158
+ }
159
+
160
+ if (queryString.length > 0) {
161
+ path += '?' + queryString;
162
+ }
163
+
164
+ pageNumber = parseInt(pageNumber);
165
+
166
+ if (currentPage !== pageNumber) {
167
+ lib_3.refresh();
168
+
169
+ _this.setState({
170
+ currentPage: pageNumber
171
+ }, function () {
172
+ if (path[0] !== '/') {
173
+ path = '/' + path;
174
+ }
175
+
176
+ var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
177
+
178
+ // please leave this for later debug purpose : Yong Jun.
179
+ /* console.log('page change reported', {
180
+ currentPage: currentPage,
181
+ pageNumber: pageNumber,
182
+ pathname: pathname,
183
+ path: path,
184
+ newPath: newPath,
185
+ firstPage: pageNumber === 1,
186
+ queryString: queryString
187
+ }) */
188
+
189
+ if (pageview) {
190
+ pageview(newPath);
191
+ }
192
+
193
+ router.push(pathname, newPath, {
194
+ shallow: true
195
+ });
196
+ });
197
+ }
198
+ }
199
+ }, _this.registrationButton = function (registrationLink) {
200
+ return React__default.createElement(
201
+ 'a',
202
+ { href: registrationLink, target: '_blank' },
203
+ React__default.createElement(
204
+ Button,
205
+ { className: 'event-registration-button' },
206
+ 'Register Now'
207
+ )
208
+ );
209
+ }, _this.renderVenue = function (venue, index) {
210
+ return React__default.createElement(
211
+ Col,
212
+ { xs: 12, sm: 6, md: 6, xl: 6 },
213
+ React__default.createElement(
214
+ 'div',
215
+ { className: 'venue-card', style: { width: '18rem' } },
216
+ React__default.createElement(
217
+ Card.Body,
218
+ null,
219
+ React__default.createElement(
220
+ Card.Title,
221
+ null,
222
+ venue.name
223
+ ),
224
+ React__default.createElement(
225
+ Card.Subtitle,
226
+ { className: 'mb-2 text-muted' },
227
+ venue.address.address1
228
+ ),
229
+ React__default.createElement(
230
+ Card.Subtitle,
231
+ { className: 'mb-2 text-muted' },
232
+ venue.address.city
233
+ ),
234
+ React__default.createElement(
235
+ Card.Subtitle,
236
+ { className: 'mb-2 text-muted' },
237
+ venue.address.country
238
+ ),
239
+ React__default.createElement(
240
+ Card.Subtitle,
241
+ { className: 'mb-2 text-muted' },
242
+ venue.address.postalCode
243
+ )
244
+ )
245
+ )
246
+ );
247
+ }, _this.cardLoader = function () {
248
+ var numberOfItemsBeforeAd = 5;
249
+ return React__default.createElement(
250
+ Row,
251
+ null,
252
+ _this.state.data && _this.state.data.map(function (row, index) {
253
+ var title = row.title,
254
+ description = row.description,
255
+ start = row.start,
256
+ venues = row.venues,
257
+ _links = row._links;
258
+
259
+ var pageNumber = row.pageNumber || _this.state.page;
260
+ return React__default.createElement(
261
+ React__default.Fragment,
262
+ { key: index },
263
+ React__default.createElement(
264
+ VisibilitySensor,
265
+ {
266
+ onChange: function onChange(isVisible) {
267
+ isVisible && _this.changePageNumber(pageNumber);
268
+ } },
269
+ React__default.createElement(
270
+ Col,
271
+ { xl: 12, style: { marginBottom: '1rem' } },
272
+ React__default.createElement(
273
+ Row,
274
+ null,
275
+ React__default.createElement(
276
+ Col,
277
+ { xs: 12, style: { paddingTop: '10px', marginBottom: '20px', borderTop: '1px solid #EEE' } },
278
+ !main_36 && React__default.createElement(
279
+ 'div',
280
+ { style: { float: 'right' } },
281
+ _this.registrationButton(_links.registration.href)
282
+ ),
283
+ React__default.createElement('h4', { className: 'mb-1', style: { fontWeight: '500', fontSize: '22px' }, dangerouslySetInnerHTML: { __html: title } }),
284
+ React__default.createElement(
285
+ 'p',
286
+ { className: 'mb-2' },
287
+ 'Sarting at ',
288
+ moment(start).format('MMMM Do YYYY, h:mma')
289
+ ),
290
+ description && React__default.createElement('p', { dangerouslySetInnerHTML: { __html: description } }),
291
+ React__default.createElement(
292
+ Row,
293
+ null,
294
+ venues && venues.length > 0 && venues.map(function (venue, index) {
295
+ return _this.renderVenue(venue, index);
296
+ })
297
+ ),
298
+ main_36 && _this.registrationButton(_links.registration.href)
299
+ )
300
+ )
301
+ )
302
+ ),
303
+ main_36 && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React__default.createElement(
304
+ 'div',
305
+ { style: { margin: '0 auto' } },
306
+ _this.renderMobileAd(index, numberOfItemsBeforeAd, _this.rightItems)
307
+ )
308
+ );
309
+ })
310
+ );
311
+ }, _this.renderMobileAd = function (index, numberOfItemsBeforeAd) {
312
+ var rightItems = _this.props.rightItems;
313
+
314
+ var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
315
+ return React__default.createElement(
316
+ Col,
317
+ { md: 12, style: { display: 'flex', flex: '1 0 auto' } },
318
+ rightItems[i].component
319
+ );
320
+ }, _this.renderManualPagination = function () {
321
+ var currentPage = _this.state.currentPage;
322
+
323
+ return React__default.createElement(
324
+ 'div',
325
+ { className: 'd-flex justify-content-between' },
326
+ currentPage && currentPage > 1 && React__default.createElement(
327
+ 'a',
328
+ { href: '?page=' + (currentPage - 1) },
329
+ '<< Previous'
330
+ ),
331
+ React__default.createElement(
332
+ 'a',
333
+ { href: '?page=' + (currentPage + 1) },
334
+ 'Next >>'
335
+ )
336
+ );
337
+ }, _temp), possibleConstructorReturn(_this, _ret);
338
+ }
339
+
340
+ createClass(EventsDeck, [{
341
+ key: 'componentDidUpdate',
342
+ value: function componentDidUpdate(prevProps, prevState) {
343
+ if (this.state.dataKeptToCompareNewDatarecord !== this.props.dataRecord) {
344
+ // eslint-disable-next-line react/no-did-update-set-state
345
+ this.setState({
346
+ data: this.props.dataRecord,
347
+ dataKeptToCompareNewDatarecord: this.props.dataRecord,
348
+ page: 1,
349
+ scrolling: true
350
+ });
351
+ }
352
+ }
353
+ }, {
354
+ key: 'componentDidMount',
355
+ value: function componentDidMount() {
356
+ // this.loadData();
357
+ }
358
+ }, {
359
+ key: 'render',
360
+ value: function render() {
361
+ var _this2 = this;
362
+
363
+ var autoScroll = this.props.autoScroll;
364
+
365
+ console.log(this.state.data);
366
+ return React__default.createElement(
367
+ 'div',
368
+ { className: 'contentDeck' },
369
+ autoScroll ? React__default.createElement(
370
+ React__default.Fragment,
371
+ null,
372
+ React__default.createElement(
373
+ InfiniteScroll,
374
+ { dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.9 },
375
+ React__default.createElement(
376
+ Container,
377
+ null,
378
+ this.cardLoader()
379
+ )
380
+ ),
381
+ React__default.createElement(
382
+ 'noscript',
383
+ null,
384
+ this.renderManualPagination()
385
+ )
386
+ ) : React__default.createElement(
387
+ React__default.Fragment,
388
+ null,
389
+ React__default.createElement(
390
+ Container,
391
+ null,
392
+ this.cardLoader()
393
+ ),
394
+ React__default.createElement(
395
+ 'div',
396
+ { style: { padding: '0px 10px' } },
397
+ this.state.scrolling ? React__default.createElement(
398
+ 'button',
399
+ {
400
+ style: { margin: 'auto', width: '100%' },
401
+ onClick: function onClick(e) {
402
+ _this2.loadMore();
403
+ } },
404
+ 'Load More'
405
+ ) : React__default.createElement(
406
+ 'p',
407
+ { style: { textAlign: 'center' } },
408
+ React__default.createElement(
409
+ 'b',
410
+ null,
411
+ 'End of data'
412
+ )
413
+ )
414
+ ),
415
+ React__default.createElement(
416
+ 'noscript',
417
+ null,
418
+ this.renderManualPagination()
419
+ )
420
+ ),
421
+ React__default.createElement(
422
+ 'style',
423
+ { jsx: 'true' },
424
+ '\n .venue-card {\n border: 1px solid #c0c0c0;\n border-radius: 6px;\n padding: 2px;\n }\n '
425
+ )
426
+ );
427
+ }
428
+ }]);
429
+ return EventsDeck;
430
+ }(React__default.Component);
431
+
432
+ var EventsDeck$1 = withRouter(EventsDeck);
433
+
63
434
  var AccordionPanel = function AccordionPanel(props) {
64
435
  var accordionClassName = props.accordionClassName,
65
436
  data = props.data;
@@ -10203,7 +10574,7 @@ var Poll = function Poll(_ref) {
10203
10574
  );
10204
10575
  }),
10205
10576
  React__default.createElement(
10206
- Button,
10577
+ Button$1,
10207
10578
  { disabled: !selectedChoice, type: 'submit' },
10208
10579
  'Vote'
10209
10580
  )
@@ -10374,7 +10745,7 @@ var Quiz = function Quiz(_ref) {
10374
10745
  null,
10375
10746
  quizzes[currentPage - 1] && React__default.createElement(BlockContent, { blocks: quizzes[currentPage - 1].question, serializers: getSerializers }),
10376
10747
  !showAnswer && React__default.createElement(
10377
- Button$1,
10748
+ Button,
10378
10749
  { onClick: function onClick() {
10379
10750
  return setShowAnswer(true);
10380
10751
  }, variant: 'info', block: true },
@@ -11037,16 +11408,16 @@ var Hero = function Hero(_ref) {
11037
11408
  'a',
11038
11409
  { href: '/view/' + url.current },
11039
11410
  React__default.createElement(
11040
- Card,
11411
+ Card$1,
11041
11412
  { bsPrefix: 'hero-card' },
11042
11413
  title && React__default.createElement(
11043
- Card.Header,
11414
+ Card$1.Header,
11044
11415
  { className: 'h4' },
11045
11416
  title
11046
11417
  ),
11047
- thumbnail && client && React__default.createElement(Card.Img, { src: renderCardImage(thumbnail, client, imageHeight, imageWidth) }),
11418
+ thumbnail && client && React__default.createElement(Card$1.Img, { src: renderCardImage(thumbnail, client, imageHeight, imageWidth) }),
11048
11419
  summary && React__default.createElement(
11049
- Card.Footer,
11420
+ Card$1.Footer,
11050
11421
  { className: 'h6' },
11051
11422
  clean_html_1(summary)
11052
11423
  )
@@ -12464,7 +12835,7 @@ var _initialiseProps = function _initialiseProps() {
12464
12835
  params.index = queueData.length - 1;
12465
12836
  var that = _this3;
12466
12837
  _this3.props.client.fetch(query, params).then(function (article) {
12467
- if (article) {
12838
+ if (article && article._id) {
12468
12839
  var targeting = that.getTargeting(article);
12469
12840
  article.Ads = that.props.Ads.getRightItems(targeting);
12470
12841
  queueData.push(article);
@@ -12662,4 +13033,4 @@ var _initialiseProps = function _initialiseProps() {
12662
13033
  };
12663
13034
  };
12664
13035
 
12665
- export { AD300x250, AD300x250x600, ADFooter, AccordionPanel, AdSlotsProvider, AlphabeticList, ArticleDetailDropdown, ArticleQueue, Breadcrumbs$1 as Breadcrumbs, ConferenceArticleCard, Feature, fbsHero as ForbesHero, Hero, HorizontalHero, OncliveHero, OncliveLargeHero, PdfDownload, RelatedContent, RelatedTopicsDropdown, SetCookie, SocialShare$1 as SocialShare, VerticalHero, YahooHero, getSerializers };
13036
+ export { AD300x250, AD300x250x600, ADFooter, AccordionPanel, AdSlotsProvider, AlphabeticList, ArticleDetailDropdown, ArticleQueue, Breadcrumbs$1 as Breadcrumbs, ConferenceArticleCard, EventsDeck$1 as EventsDeck, Feature, fbsHero as ForbesHero, Hero, HorizontalHero, OncliveHero, OncliveLargeHero, PdfDownload, RelatedContent, RelatedTopicsDropdown, SetCookie, SocialShare$1 as SocialShare, VerticalHero, YahooHero, getSerializers };
@@ -848,4 +848,4 @@ var main_47 = main.osName;
848
848
  var main_48 = main.osVersion;
849
849
  var main_49 = main.withOrientationChange;
850
850
 
851
- export { main_36 as a, main_37 as b, main_35 as m };
851
+ export { main_35 as a, main_37 as b, main_36 as m };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.230",
3
+ "version": "1.0.231",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",