@mjhls/mjh-framework 1.0.972-reference-serializer-v1 → 1.0.972

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.
Files changed (88) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AlgoliaSearch.js +15 -131
  3. package/dist/cjs/ArticleProgramLandingPage.js +1 -1
  4. package/dist/cjs/AuthWrapper.js +1 -1
  5. package/dist/cjs/ConferenceArticleCard.js +15 -15
  6. package/dist/cjs/ContentCardPaginated.js +2 -1
  7. package/dist/cjs/DeckContent.js +8 -8
  8. package/dist/cjs/DeckQueuePaginated.js +2 -1
  9. package/dist/cjs/EventsDeck.js +17 -17
  10. package/dist/cjs/ExternalResources.js +1 -1
  11. package/dist/cjs/GridContentPaginated.js +2 -1
  12. package/dist/cjs/HamMagazine.js +9 -9
  13. package/dist/cjs/HealthCareProfessionalModal.js +1 -1
  14. package/dist/cjs/HorizontalArticleListing.js +1 -1
  15. package/dist/cjs/IssueLanding.js +30 -30
  16. package/dist/cjs/KMTracker.js +15 -15
  17. package/dist/cjs/MasterDeck.js +8 -8
  18. package/dist/cjs/MasterDeckPaginated.js +10 -9
  19. package/dist/cjs/{MediaSeriesCard-478ba4e4.js → MediaSeriesCard-5bf9813e.js} +2 -2
  20. package/dist/cjs/MediaSeriesLanding.js +7 -7
  21. package/dist/cjs/MediaSeriesLandingPaginated.js +9 -8
  22. package/dist/cjs/NavMagazine.js +10 -10
  23. package/dist/cjs/NavNative.js +9 -9
  24. package/dist/cjs/Pagination-c63770a3.js +90 -0
  25. package/dist/cjs/PartnerDetailListing.js +1 -1
  26. package/dist/cjs/PartnerDetailListingPaginated.js +3 -2
  27. package/dist/cjs/PublicationLanding.js +26 -26
  28. package/dist/cjs/QueueDeckExpandedPaginated.js +2 -1
  29. package/dist/cjs/RelatedContent.js +28 -28
  30. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  31. package/dist/cjs/SeriesListingDeck.js +1 -1
  32. package/dist/cjs/{SeriesSlider-74546d19.js → SeriesSlider-594b19eb.js} +4 -4
  33. package/dist/cjs/SideFooter.js +2 -2
  34. package/dist/cjs/TaxonomyDescription.js +1 -1
  35. package/dist/cjs/VideoProgramLandingPage.js +1 -1
  36. package/dist/cjs/VideoSeriesCard.js +1 -1
  37. package/dist/cjs/View.js +9 -13
  38. package/dist/cjs/YoutubeGroup.js +4 -4
  39. package/dist/cjs/getSerializers.js +1 -1
  40. package/dist/cjs/{getTargeting-dab97fe1.js → getTargeting-3c5754ac.js} +9 -9
  41. package/dist/cjs/getTargeting.js +1 -1
  42. package/dist/cjs/{index-ec29c3b7.js → index-eb1c583d.js} +42 -551
  43. package/dist/cjs/index.js +4 -3
  44. package/dist/esm/AlgoliaSearch.js +16 -132
  45. package/dist/esm/ArticleProgramLandingPage.js +1 -1
  46. package/dist/esm/AuthWrapper.js +1 -1
  47. package/dist/esm/ConferenceArticleCard.js +15 -15
  48. package/dist/esm/ContentCardPaginated.js +2 -1
  49. package/dist/esm/DeckContent.js +8 -8
  50. package/dist/esm/DeckQueuePaginated.js +2 -1
  51. package/dist/esm/EventsDeck.js +17 -17
  52. package/dist/esm/ExternalResources.js +1 -1
  53. package/dist/esm/GridContentPaginated.js +2 -1
  54. package/dist/esm/HamMagazine.js +9 -9
  55. package/dist/esm/HealthCareProfessionalModal.js +1 -1
  56. package/dist/esm/HorizontalArticleListing.js +1 -1
  57. package/dist/esm/IssueLanding.js +30 -30
  58. package/dist/esm/KMTracker.js +15 -15
  59. package/dist/esm/MasterDeck.js +8 -8
  60. package/dist/esm/MasterDeckPaginated.js +10 -9
  61. package/dist/esm/{MediaSeriesCard-6aab33f7.js → MediaSeriesCard-305a9cb3.js} +2 -2
  62. package/dist/esm/MediaSeriesLanding.js +7 -7
  63. package/dist/esm/MediaSeriesLandingPaginated.js +9 -8
  64. package/dist/esm/NavMagazine.js +10 -10
  65. package/dist/esm/NavNative.js +9 -9
  66. package/dist/esm/Pagination-6f8d5327.js +82 -0
  67. package/dist/esm/PartnerDetailListing.js +1 -1
  68. package/dist/esm/PartnerDetailListingPaginated.js +3 -2
  69. package/dist/esm/PublicationLanding.js +26 -26
  70. package/dist/esm/QueueDeckExpandedPaginated.js +2 -1
  71. package/dist/esm/RelatedContent.js +28 -28
  72. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  73. package/dist/esm/SeriesListingDeck.js +1 -1
  74. package/dist/esm/{SeriesSlider-e495571f.js → SeriesSlider-f771e20d.js} +4 -4
  75. package/dist/esm/SideFooter.js +2 -2
  76. package/dist/esm/TaxonomyDescription.js +1 -1
  77. package/dist/esm/VideoProgramLandingPage.js +1 -1
  78. package/dist/esm/VideoSeriesCard.js +1 -1
  79. package/dist/esm/View.js +8 -13
  80. package/dist/esm/YoutubeGroup.js +4 -4
  81. package/dist/esm/getSerializers.js +1 -1
  82. package/dist/esm/{getTargeting-04d979c9.js → getTargeting-42f9b439.js} +9 -9
  83. package/dist/esm/getTargeting.js +1 -1
  84. package/dist/esm/{index-e3e16b8b.js → index-264bbd3c.js} +42 -551
  85. package/dist/esm/index.js +4 -3
  86. package/package.json +115 -116
  87. package/dist/cjs/Pagination-30bb1ca1.js +0 -97
  88. package/dist/esm/Pagination-194dd03f.js +0 -90
package/dist/cjs/index.js CHANGED
@@ -90,7 +90,7 @@ var VerticalHero = require('./VerticalHero.js');
90
90
  var YahooHero = require('./YahooHero.js');
91
91
  var GridHero = require('./GridHero.js');
92
92
  var ConferenceArticleCard = require('./ConferenceArticleCard.js');
93
- var getSerializers = require('./index-ec29c3b7.js');
93
+ var getSerializers = require('./index-eb1c583d.js');
94
94
  var Beam = require('./Beam.js');
95
95
  var Segment = require('./Segment.js');
96
96
  var KMTracker = require('./KMTracker.js');
@@ -105,7 +105,7 @@ var VideoSeriesLandingPage = require('./VideoSeriesLandingPage.js');
105
105
  var ArticleProgramLandingPage = require('./ArticleProgramLandingPage.js');
106
106
  var ArticleSeriesLandingPage = require('./ArticleSeriesLandingPage.js');
107
107
  var Schema = require('./Schema.js');
108
- var getTargeting = require('./getTargeting-dab97fe1.js');
108
+ var getTargeting = require('./getTargeting-3c5754ac.js');
109
109
  var getKeywords = require('./getKeywords.js');
110
110
  var getQuery = require('./getQuery.js');
111
111
  require('./toConsumableArray-d7797c2b.js');
@@ -195,9 +195,10 @@ require('swr');
195
195
  require('passport-local');
196
196
  require('mysql');
197
197
  require('./md5-e1ca5797.js');
198
- require('./SeriesSlider-74546d19.js');
198
+ require('./SeriesSlider-594b19eb.js');
199
199
  require('./style-inject.es-dcee06b6.js');
200
200
  require('disqus-react');
201
+ require('file-saver');
201
202
  require('react-twitter-embed');
202
203
  require('./ImageSlider-6c00b878.js');
203
204
  require('./defineProperty-e0fb52c5.js');
@@ -1,7 +1,7 @@
1
1
  import { _ as _extends$1 } from './extends-6d8e3924.js';
2
2
  import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1 } from './inherits-a6ba2ec4.js';
3
3
  import { _ as _typeof$2 } from './typeof-e9fc0c5d.js';
4
- import React__default, { createContext, Component, Fragment, Children, version as version$2 } from 'react';
4
+ import React__default, { createContext, Component, Children, version as version$2 } from 'react';
5
5
  import PropTypes from 'prop-types';
6
6
  import { _ as _typeof$1 } from './typeof-2f07d0e8.js';
7
7
  import { _ as _objectWithoutPropertiesLoose$1, a as _setPrototypeOf, b as _extends, c as classnames } from './index-98ca9cec.js';
@@ -822,7 +822,7 @@ function parseAlgoliaHit(_ref2) {
822
822
  });
823
823
  }
824
824
 
825
- var version$1 = '6.12.0';
825
+ var version$1 = '6.11.2';
826
826
 
827
827
  var withKeysPropType = function withKeysPropType(keys) {
828
828
  return function (props, propName, componentName) {
@@ -904,10 +904,6 @@ function translatable(defaultTranslations) {
904
904
  function getIndexId(context) {
905
905
  return hasMultipleIndices(context) ? context.multiIndexContext.targetedIndex : context.ais.mainTargetedIndex;
906
906
  }
907
- /**
908
- * @returns {import('algoliasearch-helper').SearchResults} results
909
- */
910
-
911
907
  function getResults(searchResults, context) {
912
908
  if (searchResults.results) {
913
909
  if (searchResults.results.hits) {
@@ -4772,7 +4768,7 @@ var requestBuilder = {
4772
4768
 
4773
4769
  var requestBuilder_1 = requestBuilder;
4774
4770
 
4775
- var version = '3.5.4';
4771
+ var version = '3.5.3';
4776
4772
 
4777
4773
  /**
4778
4774
  * Event triggered when a parameter is set or updated
@@ -6420,87 +6416,6 @@ ConfigureRelatedItems.propTypes = {
6420
6416
  };
6421
6417
  connectConfigureRelatedItems(ConfigureRelatedItems);
6422
6418
 
6423
- var connectDynamicWidgets = createConnectorWithContext({
6424
- displayName: 'AlgoliaDynamicWidgets',
6425
- defaultProps: {
6426
- transformItems: function transformItems(items) {
6427
- return items;
6428
- }
6429
- },
6430
- propTypes: {
6431
- transformItems: PropTypes.func
6432
- },
6433
- getProvidedProps: function getProvidedProps(props, _searchState, searchResults) {
6434
- var results = getResults(searchResults, {
6435
- ais: props.contextValue,
6436
- multiIndexContext: props.indexContextValue
6437
- });
6438
-
6439
- if (!results) {
6440
- return {
6441
- attributesToRender: []
6442
- };
6443
- }
6444
-
6445
- var facetOrder = results.renderingContent && results.renderingContent.facetOrdering && results.renderingContent.facetOrdering.facets && results.renderingContent.facetOrdering.facets.order || [];
6446
- return {
6447
- attributesToRender: props.transformItems(facetOrder, {
6448
- results: results
6449
- })
6450
- };
6451
- }
6452
- });
6453
-
6454
- function getAttribute(component) {
6455
- if (_typeof(component) !== 'object') {
6456
- return undefined;
6457
- }
6458
-
6459
- if (component.props.attribute) {
6460
- return component.props.attribute;
6461
- }
6462
-
6463
- if (Array.isArray(component.props.attributes)) {
6464
- return component.props.attributes[0];
6465
- }
6466
-
6467
- if (component.props.children) {
6468
- return getAttribute(React__default.Children.only(component.props.children));
6469
- }
6470
-
6471
- return undefined;
6472
- }
6473
-
6474
- function DynamicWidgets(_ref) {
6475
- var children = _ref.children,
6476
- attributesToRender = _ref.attributesToRender,
6477
- _ref$fallbackComponen = _ref.fallbackComponent,
6478
- Fallback = _ref$fallbackComponen === void 0 ? function () {
6479
- return null;
6480
- } : _ref$fallbackComponen;
6481
- var widgets = new Map();
6482
- React__default.Children.forEach(children, function (child) {
6483
- var attribute = getAttribute(child);
6484
-
6485
- if (!attribute) {
6486
- throw new Error("Could not find \"attribute\" prop for ".concat(getDisplayName(child), "."));
6487
- }
6488
-
6489
- widgets.set(attribute, child);
6490
- }); // on initial render this will be empty, but React InstantSearch keeps
6491
- // search state for unmounted components in place, so routing works.
6492
-
6493
- return React__default.createElement(React__default.Fragment, null, attributesToRender.map(function (attribute) {
6494
- return React__default.createElement(Fragment, {
6495
- key: attribute
6496
- }, widgets.get(attribute) || React__default.createElement(Fallback, {
6497
- attribute: attribute
6498
- }));
6499
- }));
6500
- }
6501
-
6502
- connectDynamicWidgets(DynamicWidgets);
6503
-
6504
6419
  // A context rule must consist only of alphanumeric characters, hyphens, and underscores.
6505
6420
  // See https://www.algolia.com/doc/guides/managing-results/refine-results/merchandising-and-promoting/in-depth/implementing-query-rules/#context
6506
6421
  function escapeRuleContext(ruleName) {
@@ -7910,8 +7825,7 @@ var connectHierarchicalMenu = createConnectorWithContext({
7910
7825
  showMore: PropTypes.bool,
7911
7826
  limit: PropTypes.number,
7912
7827
  showMoreLimit: PropTypes.number,
7913
- transformItems: PropTypes.func,
7914
- facetOrdering: PropTypes.bool
7828
+ transformItems: PropTypes.func
7915
7829
  },
7916
7830
  defaultProps: {
7917
7831
  showMore: false,
@@ -7919,14 +7833,12 @@ var connectHierarchicalMenu = createConnectorWithContext({
7919
7833
  showMoreLimit: 20,
7920
7834
  separator: ' > ',
7921
7835
  rootPath: null,
7922
- showParentLevel: true,
7923
- facetOrdering: true
7836
+ showParentLevel: true
7924
7837
  },
7925
7838
  getProvidedProps: function getProvidedProps(props, searchState, searchResults) {
7926
7839
  var showMore = props.showMore,
7927
7840
  limit = props.limit,
7928
- showMoreLimit = props.showMoreLimit,
7929
- facetOrdering = props.facetOrdering;
7841
+ showMoreLimit = props.showMoreLimit;
7930
7842
  var id = getId$c(props);
7931
7843
  var results = getResults(searchResults, {
7932
7844
  ais: props.contextValue,
@@ -7947,8 +7859,7 @@ var connectHierarchicalMenu = createConnectorWithContext({
7947
7859
 
7948
7860
  var itemsLimit = showMore ? showMoreLimit : limit;
7949
7861
  var value = results.getFacetValues(id, {
7950
- sortBy: sortBy$1,
7951
- facetOrdering: facetOrdering
7862
+ sortBy: sortBy$1
7952
7863
  });
7953
7864
  var items = value.data ? transformValue(value.data, props, searchState, {
7954
7865
  ais: props.contextValue,
@@ -8500,20 +8411,17 @@ var connectMenu = createConnectorWithContext({
8500
8411
  showMoreLimit: PropTypes.number,
8501
8412
  defaultRefinement: PropTypes.string,
8502
8413
  transformItems: PropTypes.func,
8503
- searchable: PropTypes.bool,
8504
- facetOrdering: PropTypes.bool
8414
+ searchable: PropTypes.bool
8505
8415
  },
8506
8416
  defaultProps: {
8507
8417
  showMore: false,
8508
8418
  limit: 10,
8509
- showMoreLimit: 20,
8510
- facetOrdering: true
8419
+ showMoreLimit: 20
8511
8420
  },
8512
8421
  getProvidedProps: function getProvidedProps(props, searchState, searchResults, meta, searchForFacetValuesResults) {
8513
8422
  var attribute = props.attribute,
8514
8423
  searchable = props.searchable,
8515
- indexContextValue = props.indexContextValue,
8516
- facetOrdering = props.facetOrdering;
8424
+ indexContextValue = props.indexContextValue;
8517
8425
  var results = getResults(searchResults, {
8518
8426
  ais: props.contextValue,
8519
8427
  multiIndexContext: props.indexContextValue
@@ -8559,8 +8467,7 @@ var connectMenu = createConnectorWithContext({
8559
8467
  });
8560
8468
  } else {
8561
8469
  items = results.getFacetValues(attribute, {
8562
- sortBy: searchable ? undefined : defaultSortBy,
8563
- facetOrdering: facetOrdering
8470
+ sortBy: searchable ? undefined : defaultSortBy
8564
8471
  }).map(function (v) {
8565
8472
  return {
8566
8473
  label: v.name,
@@ -9417,21 +9324,18 @@ var connectRefinementList = createConnectorWithContext({
9417
9324
  showMoreLimit: PropTypes.number,
9418
9325
  defaultRefinement: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number])),
9419
9326
  searchable: PropTypes.bool,
9420
- transformItems: PropTypes.func,
9421
- facetOrdering: PropTypes.bool
9327
+ transformItems: PropTypes.func
9422
9328
  },
9423
9329
  defaultProps: {
9424
9330
  operator: 'or',
9425
9331
  showMore: false,
9426
9332
  limit: 10,
9427
- showMoreLimit: 20,
9428
- facetOrdering: true
9333
+ showMoreLimit: 20
9429
9334
  },
9430
9335
  getProvidedProps: function getProvidedProps(props, searchState, searchResults, metadata, searchForFacetValuesResults) {
9431
9336
  var attribute = props.attribute,
9432
9337
  searchable = props.searchable,
9433
- indexContextValue = props.indexContextValue,
9434
- facetOrdering = props.facetOrdering;
9338
+ indexContextValue = props.indexContextValue;
9435
9339
  var results = getResults(searchResults, {
9436
9340
  ais: props.contextValue,
9437
9341
  multiIndexContext: props.indexContextValue
@@ -9472,8 +9376,7 @@ var connectRefinementList = createConnectorWithContext({
9472
9376
  isRefined: v.isRefined
9473
9377
  };
9474
9378
  }) : results.getFacetValues(attribute, {
9475
- sortBy: sortBy,
9476
- facetOrdering: facetOrdering
9379
+ sortBy: sortBy
9477
9380
  }).map(function (v) {
9478
9381
  return {
9479
9382
  label: v.name,
@@ -10973,7 +10876,6 @@ function (_Component) {
10973
10876
 
10974
10877
  var _this$props4 = this.props,
10975
10878
  className = _this$props4.className,
10976
- inputId = _this$props4.inputId,
10977
10879
  translate = _this$props4.translate,
10978
10880
  autoFocus = _this$props4.autoFocus,
10979
10881
  loadingIndicator = _this$props4.loadingIndicator,
@@ -11001,7 +10903,6 @@ function (_Component) {
11001
10903
  role: "search"
11002
10904
  }, React__default.createElement("input", _extends({
11003
10905
  ref: this.onInputMount,
11004
- id: inputId,
11005
10906
  type: "search",
11006
10907
  placeholder: translate('placeholder'),
11007
10908
  autoFocus: autoFocus,
@@ -11053,8 +10954,7 @@ _defineProperty(SearchBox$1, "propTypes", {
11053
10954
  showLoadingIndicator: PropTypes.bool,
11054
10955
  inputRef: PropTypes.oneOfType([PropTypes.func, PropTypes.exact({
11055
10956
  current: PropTypes.object
11056
- })]),
11057
- inputId: PropTypes.string
10957
+ })])
11058
10958
  });
11059
10959
 
11060
10960
  _defineProperty(SearchBox$1, "defaultProps", {
@@ -11693,11 +11593,9 @@ function (_Component) {
11693
11593
  value: function render() {
11694
11594
  var _this$props = this.props,
11695
11595
  cx = _this$props.cx,
11696
- id = _this$props.id,
11697
11596
  items = _this$props.items,
11698
11597
  selectedItem = _this$props.selectedItem;
11699
11598
  return React__default.createElement("select", {
11700
- id: id,
11701
11599
  className: cx('select'),
11702
11600
  value: selectedItem,
11703
11601
  onChange: this.onChange
@@ -11717,7 +11615,6 @@ function (_Component) {
11717
11615
 
11718
11616
  _defineProperty(Select, "propTypes", {
11719
11617
  cx: PropTypes.func.isRequired,
11720
- id: PropTypes.string,
11721
11618
  onSelect: PropTypes.func.isRequired,
11722
11619
  items: PropTypes.arrayOf(PropTypes.shape({
11723
11620
  value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,
@@ -11745,7 +11642,6 @@ function (_Component) {
11745
11642
  key: "render",
11746
11643
  value: function render() {
11747
11644
  var _this$props = this.props,
11748
- id = _this$props.id,
11749
11645
  items = _this$props.items,
11750
11646
  currentRefinement = _this$props.currentRefinement,
11751
11647
  refine = _this$props.refine,
@@ -11753,7 +11649,6 @@ function (_Component) {
11753
11649
  return React__default.createElement("div", {
11754
11650
  className: classnames(cx$h(''), className)
11755
11651
  }, React__default.createElement(Select, {
11756
- id: id,
11757
11652
  onSelect: refine,
11758
11653
  selectedItem: currentRefinement,
11759
11654
  items: items,
@@ -11766,7 +11661,6 @@ function (_Component) {
11766
11661
  }(Component);
11767
11662
 
11768
11663
  _defineProperty(HitsPerPage, "propTypes", {
11769
- id: PropTypes.string,
11770
11664
  items: PropTypes.arrayOf(PropTypes.shape({
11771
11665
  value: PropTypes.number.isRequired,
11772
11666
  label: PropTypes.string
@@ -11789,7 +11683,6 @@ _defineProperty(HitsPerPage, "defaultProps", {
11789
11683
  *
11790
11684
  * @name HitsPerPage
11791
11685
  * @kind widget
11792
- * @propType {string} id - The id of the select input
11793
11686
  * @propType {{value: number, label: string}[]} items - List of available options.
11794
11687
  * @propType {number} defaultRefinement - The number of items selected by default
11795
11688
  * @propType {function} [transformItems] - Function to modify the items being displayed, e.g. for filtering or sorting them. Takes an items as parameter and expects it back in return.
@@ -12158,7 +12051,6 @@ function (_Component) {
12158
12051
  key: "render",
12159
12052
  value: function render() {
12160
12053
  var _this$props = this.props,
12161
- id = _this$props.id,
12162
12054
  items = _this$props.items,
12163
12055
  canRefine = _this$props.canRefine,
12164
12056
  translate = _this$props.translate,
@@ -12166,7 +12058,6 @@ function (_Component) {
12166
12058
  return React__default.createElement("div", {
12167
12059
  className: classnames(cx$e('', !canRefine && '-noRefinement'), className)
12168
12060
  }, React__default.createElement("select", {
12169
- id: id,
12170
12061
  value: this.selectedValue,
12171
12062
  onChange: this.handleSelectChange,
12172
12063
  className: cx$e('select')
@@ -12199,7 +12090,6 @@ function (_Component) {
12199
12090
  }(Component);
12200
12091
 
12201
12092
  _defineProperty(MenuSelect, "propTypes", {
12202
- id: PropTypes.string,
12203
12093
  items: PropTypes.arrayOf(PropTypes.shape({
12204
12094
  label: PropTypes.string.isRequired,
12205
12095
  value: PropTypes.string.isRequired,
@@ -12226,7 +12116,6 @@ var MenuSelect$1 = translatable({
12226
12116
  * @kind widget
12227
12117
  * @requirements The attribute passed to the `attribute` prop must be present in "attributes for faceting"
12228
12118
  * on the Algolia dashboard or configured as `attributesForFaceting` via a set settings call to the Algolia API.
12229
- * @propType {string} id - the id of the select input
12230
12119
  * @propType {string} attribute - the name of the attribute in the record
12231
12120
  * @propType {string} [defaultRefinement] - the value of the item selected by default
12232
12121
  * @propType {number} [limit=10] - the minimum number of diplayed items
@@ -13558,7 +13447,6 @@ connectScrollTo(ScrollTo);
13558
13447
  * @propType {node} [reset] - Change the apparence of the default reset button (cross).
13559
13448
  * @propType {node} [loadingIndicator] - Change the apparence of the default loading indicator (spinning circle).
13560
13449
  * @propType {string} [defaultRefinement] - Provide default refinement value when component is mounted.
13561
- * @propType {string} [inputId] - The id of the search input
13562
13450
  * @propType {boolean} [showLoadingIndicator=false] - Display that the search is loading. This only happens after a certain amount of time to avoid a blinking effect. This timer can be configured with `stalledSearchDelay` props on <InstantSearch>. By default, the value is 200ms.
13563
13451
  * @themeKey ais-SearchBox - the root div of the widget
13564
13452
  * @themeKey ais-SearchBox-form - the wrapping form
@@ -13709,7 +13597,6 @@ function (_Component) {
13709
13597
  key: "render",
13710
13598
  value: function render() {
13711
13599
  var _this$props = this.props,
13712
- id = _this$props.id,
13713
13600
  items = _this$props.items,
13714
13601
  currentRefinement = _this$props.currentRefinement,
13715
13602
  refine = _this$props.refine,
@@ -13717,7 +13604,6 @@ function (_Component) {
13717
13604
  return React__default.createElement("div", {
13718
13605
  className: classnames(cx$4(''), className)
13719
13606
  }, React__default.createElement(Select, {
13720
- id: id,
13721
13607
  cx: cx$4,
13722
13608
  items: items,
13723
13609
  selectedItem: currentRefinement,
@@ -13730,7 +13616,6 @@ function (_Component) {
13730
13616
  }(Component);
13731
13617
 
13732
13618
  _defineProperty(SortBy, "propTypes", {
13733
- id: PropTypes.string,
13734
13619
  items: PropTypes.arrayOf(PropTypes.shape({
13735
13620
  label: PropTypes.string,
13736
13621
  value: PropTypes.string.isRequired
@@ -13750,7 +13635,6 @@ _defineProperty(SortBy, "defaultProps", {
13750
13635
  * @requirements Algolia handles sorting by creating replica indices. [Read more about sorting](https://www.algolia.com/doc/guides/relevance/sorting/) on
13751
13636
  * the Algolia website.
13752
13637
  * @kind widget
13753
- * @propType {string} id - The id of the select input
13754
13638
  * @propType {{value: string, label: string}[]} items - The list of indexes to search in.
13755
13639
  * @propType {string} defaultRefinement - The default selected index.
13756
13640
  * @propType {function} [transformItems] - Function to modify the items being displayed, e.g. for filtering or sorting them. Takes an items as parameter and expects it back in return.
@@ -3,7 +3,7 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
3
3
  import { _ as _extends } from './extends-6d8e3924.js';
4
4
  import React__default from 'react';
5
5
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
6
- import { g as getSerializers } from './index-e3e16b8b.js';
6
+ import { g as getSerializers } from './index-264bbd3c.js';
7
7
  import ArticleSeriesListing from './ArticleSeriesListing.js';
8
8
  import './_commonjsHelpers-0c4b6f40.js';
9
9
  import './core.get-iterator-method-ea258bb1.js';
@@ -1761,7 +1761,7 @@ client$1.Provider;
1761
1761
 
1762
1762
  var client = client$1.default;
1763
1763
 
1764
- var css = ".AuthWrapper-module_loginBox__3l-BE {\r\n margin-bottom: 2rem;\r\n width: 350px;\r\n max-width: 90vw;\r\n margin-left: auto;\r\n margin-right: auto;\r\n /* box-shadow: 2px 5px 12px rgba(0, 0, 0, 0.15); */\r\n background: #fff;\r\n z-index: 1;\r\n}\r\n.AuthWrapper-module_loginBox_title__12rGD {\r\n margin-bottom: 2rem;\r\n text-align: center;\r\n}\r\n.AuthWrapper-module_bar__1dafn {\r\n background: #eee;\r\n margin-left: unset;\r\n margin-right: unset;\r\n}\r\n.AuthWrapper-module_bar__1dafn:nth-child(1) {\r\n float: left;\r\n border-right: 1rem solid #fff;\r\n background: rgb(245, 245, 245);\r\n height: 10rem;\r\n width: 25%;\r\n margin-left: auto;\r\n margin-right: auto;\r\n margin-bottom: 2rem;\r\n}\r\n.AuthWrapper-module_bar__1dafn:nth-child(2n) {\r\n width: 97%;\r\n height: 1.5rem;\r\n margin-bottom: 0.25rem;\r\n}\r\n.AuthWrapper-module_bar__1dafn.AuthWrapper-module_bar__1dafn:nth-child(3n) {\r\n width: 96%;\r\n height: 1.5rem;\r\n margin-bottom: 1.5rem;\r\n}\r\n.AuthWrapper-module_bar__1dafn.AuthWrapper-module_bar__1dafn:nth-child(4n) {\r\n width: 72%;\r\n height: 1.5rem;\r\n margin-bottom: 0.25rem;\r\n}\r\n.AuthWrapper-module_bar__1dafn.AuthWrapper-module_bar__1dafn:nth-child(5n) {\r\n width: 88%;\r\n height: 1.5rem;\r\n margin-bottom: 0.25rem;\r\n}\r\n\r\n.AuthWrapper-module_iframe__2wDJW {\r\n margin-top: -3rem;\r\n border: none;\r\n width: 100%;\r\n height: 1900px;\r\n}";
1764
+ var css = ".AuthWrapper-module_loginBox__3l-BE {\n margin-bottom: 2rem;\n width: 350px;\n max-width: 90vw;\n margin-left: auto;\n margin-right: auto;\n /* box-shadow: 2px 5px 12px rgba(0, 0, 0, 0.15); */\n background: #fff;\n z-index: 1;\n}\n.AuthWrapper-module_loginBox_title__12rGD {\n margin-bottom: 2rem;\n text-align: center;\n}\n.AuthWrapper-module_bar__1dafn {\n background: #eee;\n margin-left: unset;\n margin-right: unset;\n}\n.AuthWrapper-module_bar__1dafn:nth-child(1) {\n float: left;\n border-right: 1rem solid #fff;\n background: rgb(245, 245, 245);\n height: 10rem;\n width: 25%;\n margin-left: auto;\n margin-right: auto;\n margin-bottom: 2rem;\n}\n.AuthWrapper-module_bar__1dafn:nth-child(2n) {\n width: 97%;\n height: 1.5rem;\n margin-bottom: 0.25rem;\n}\n.AuthWrapper-module_bar__1dafn.AuthWrapper-module_bar__1dafn:nth-child(3n) {\n width: 96%;\n height: 1.5rem;\n margin-bottom: 1.5rem;\n}\n.AuthWrapper-module_bar__1dafn.AuthWrapper-module_bar__1dafn:nth-child(4n) {\n width: 72%;\n height: 1.5rem;\n margin-bottom: 0.25rem;\n}\n.AuthWrapper-module_bar__1dafn.AuthWrapper-module_bar__1dafn:nth-child(5n) {\n width: 88%;\n height: 1.5rem;\n margin-bottom: 0.25rem;\n}\n\n.AuthWrapper-module_iframe__2wDJW {\n margin-top: -3rem;\n border: none;\n width: 100%;\n height: 1900px;\n}";
1765
1765
  var styles = { "loginBox": "AuthWrapper-module_loginBox__3l-BE", "loginBox_title": "AuthWrapper-module_loginBox_title__12rGD", "bar": "AuthWrapper-module_bar__1dafn", "iframe": "AuthWrapper-module_iframe__2wDJW" };
1766
1766
  styleInject(css);
1767
1767
 
@@ -7,21 +7,21 @@ import './web.dom.iterable-ab4dea5c.js';
7
7
  import './core.get-iterator-method-ea258bb1.js';
8
8
  import './index-3f5c03b2.js';
9
9
 
10
- /*
11
- Example usage - targetedonc.com/latest-conference
12
- const query = `*[!(_id in path("drafts.**")) && _type == "article" && defined(title) && is_visible == true && published <= '${today}' && references('b49d36b8-aa56-4183-a2bc-1568c229fb72') ] | order(published desc) [$from...$to] {
13
- ...,
14
- title,
15
- summary,
16
- thumbnail,
17
- url,
18
- published,
19
- documentGroup->,
20
- contentCategory->,
21
- 'pageNumber': ${currentPage}
22
- }`
23
-
24
- const posts = await client.fetch(query, params)
10
+ /*
11
+ Example usage - targetedonc.com/latest-conference
12
+ const query = `*[!(_id in path("drafts.**")) && _type == "article" && defined(title) && is_visible == true && published <= '${today}' && references('b49d36b8-aa56-4183-a2bc-1568c229fb72') ] | order(published desc) [$from...$to] {
13
+ ...,
14
+ title,
15
+ summary,
16
+ thumbnail,
17
+ url,
18
+ published,
19
+ documentGroup->,
20
+ contentCategory->,
21
+ 'pageNumber': ${currentPage}
22
+ }`
23
+
24
+ const posts = await client.fetch(query, params)
25
25
  */
26
26
 
27
27
  var ConferenceArticleCard = function ConferenceArticleCard(props) {
@@ -15,7 +15,7 @@ import { L as LazyLoad } from './index-755f2cc2.js';
15
15
  import { m as main_43 } from './main-1894c974.js';
16
16
  import { c as clean_html_1 } from './entities-6d9154b4.js';
17
17
  import { A as ADInfeed } from './ADInfeed-6d1fc6bf.js';
18
- import { P as Pagination } from './Pagination-194dd03f.js';
18
+ import { P as Pagination } from './Pagination-6f8d5327.js';
19
19
  import Spinner from 'react-bootstrap/Spinner';
20
20
  import './_commonjsHelpers-0c4b6f40.js';
21
21
  import './core.get-iterator-method-ea258bb1.js';
@@ -39,6 +39,7 @@ import './toNumber-5aeba6e7.js';
39
39
  import './Beam.js';
40
40
  import './stringify-2b084bee.js';
41
41
  import './Segment.js';
42
+ import 'react-paginate';
42
43
  import 'react-bootstrap/Button';
43
44
  import './index.esm-1bd8a0a8.js';
44
45
  import './iconBase-ccc56b97.js';
@@ -182,14 +182,14 @@ var DeckContent = function (_React$Component) {
182
182
  var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
183
183
 
184
184
  // please leave this for later debug purpose : Yong Jun.
185
- /* console.log('page change reported', {
186
- currentPage: currentPage,
187
- pageNumber: pageNumber,
188
- pathname: pathname,
189
- path: path,
190
- newPath: newPath,
191
- firstPage: pageNumber === 1,
192
- queryString: queryString
185
+ /* console.log('page change reported', {
186
+ currentPage: currentPage,
187
+ pageNumber: pageNumber,
188
+ pathname: pathname,
189
+ path: path,
190
+ newPath: newPath,
191
+ firstPage: pageNumber === 1,
192
+ queryString: queryString
193
193
  }) */
194
194
 
195
195
  if (pageview) {
@@ -16,7 +16,7 @@ import { g as get_1 } from './get-3c308da4.js';
16
16
  import { m as main_43 } from './main-1894c974.js';
17
17
  import urlFor from './urlFor.js';
18
18
  import { c as clean_html_1 } from './entities-6d9154b4.js';
19
- import { P as Pagination } from './Pagination-194dd03f.js';
19
+ import { P as Pagination } from './Pagination-6f8d5327.js';
20
20
  import './_commonjsHelpers-0c4b6f40.js';
21
21
  import './core.get-iterator-method-ea258bb1.js';
22
22
  import './web.dom.iterable-ab4dea5c.js';
@@ -34,6 +34,7 @@ import './isSymbol-a7e9aafe.js';
34
34
  import './eq-bdcbf886.js';
35
35
  import './slicedToArray-6ebcbfea.js';
36
36
  import './index-3f5c03b2.js';
37
+ import 'react-paginate';
37
38
  import 'react-bootstrap/Button';
38
39
  import './index.esm-1bd8a0a8.js';
39
40
  import './iconBase-ccc56b97.js';
@@ -245,23 +245,23 @@ var EventsDeck = function EventsDeck(_ref) {
245
245
  if (cventAccessToken && cventAccessToken !== 'undefined') {
246
246
  setAccessToken(cventAccessToken);
247
247
  } else {
248
- /*const encodedData = window.btoa(clientId + ':' + clientSecret)
249
- //const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
250
- const url = `https://api-platform.cvent.com/ea/oauth2/token`
251
- fetch(url, {
252
- headers: {
253
- 'Content-Type': 'application/x-www-form-urlencoded',
254
- Authorization: `Basic ${encodedData}`
255
- },
256
- method: 'POST',
257
- body: `grant_type=client_credentials&client_id=${clientId}`
258
- })
259
- .then((response) => response.json())
260
- .then((json) => {
261
- const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
262
- Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
263
- setAccessToken(json.access_token)
264
- })
248
+ /*const encodedData = window.btoa(clientId + ':' + clientSecret)
249
+ //const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
250
+ const url = `https://api-platform.cvent.com/ea/oauth2/token`
251
+ fetch(url, {
252
+ headers: {
253
+ 'Content-Type': 'application/x-www-form-urlencoded',
254
+ Authorization: `Basic ${encodedData}`
255
+ },
256
+ method: 'POST',
257
+ body: `grant_type=client_credentials&client_id=${clientId}`
258
+ })
259
+ .then((response) => response.json())
260
+ .then((json) => {
261
+ const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
262
+ Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
263
+ setAccessToken(json.access_token)
264
+ })
265
265
  .catch((e) => console.log(e))*/
266
266
  // hello
267
267
  var url = 'https://beam.mjhlifesciences.com/api/cvent/token';
@@ -2,7 +2,7 @@ import { _ as _extends } from './extends-6d8e3924.js';
2
2
  import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
3
3
  import React__default, { useState, useEffect } from 'react';
4
4
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
5
- import { g as getSerializers } from './index-e3e16b8b.js';
5
+ import { g as getSerializers } from './index-264bbd3c.js';
6
6
  import { m as momentTimezone } from './index-79cfd25c.js';
7
7
  import { useRouter } from 'next/router';
8
8
  import Button from 'react-bootstrap/Button';
@@ -22,7 +22,7 @@ import urlFor from './urlFor.js';
22
22
  import { m as main_43 } from './main-1894c974.js';
23
23
  import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
24
24
  import { P as PublicationFeature } from './PublicationFeature-d88e76b9.js';
25
- import { P as Pagination } from './Pagination-194dd03f.js';
25
+ import { P as Pagination } from './Pagination-6f8d5327.js';
26
26
  import Spinner from 'react-bootstrap/Spinner';
27
27
  import './_commonjsHelpers-0c4b6f40.js';
28
28
  import './core.get-iterator-method-ea258bb1.js';
@@ -47,6 +47,7 @@ import './Segment.js';
47
47
  import './eq-bdcbf886.js';
48
48
  import './index-3f5c03b2.js';
49
49
  import 'react-bootstrap/Button';
50
+ import 'react-paginate';
50
51
  import './index.esm-1bd8a0a8.js';
51
52
  import './iconBase-ccc56b97.js';
52
53
 
@@ -26,15 +26,15 @@ import './_library-528f1934.js';
26
26
  import './_iter-detect-98db3b07.js';
27
27
 
28
28
  var HamMagazine = function HamMagazine(props) {
29
- /*
30
- Example Nav with acceptable props
31
- <MagazineNav
32
- showLogin
33
- logo={props.settings.logo}
34
- dataObject={props.cache.mainNavCache}
35
- website={website}
36
- subNav={props.cache.subNavCache}
37
- />
29
+ /*
30
+ Example Nav with acceptable props
31
+ <MagazineNav
32
+ showLogin
33
+ logo={props.settings.logo}
34
+ dataObject={props.cache.mainNavCache}
35
+ website={website}
36
+ subNav={props.cache.subNavCache}
37
+ />
38
38
  */
39
39
 
40
40
  // Setting 'socialIconVariant' as 'light' as default to make the social icons and search icon black
@@ -4,7 +4,7 @@ import Modal from 'react-bootstrap/Modal';
4
4
  import Button from 'react-bootstrap/Button';
5
5
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
6
6
 
7
- var css = ".HealthcareProfessionalModal-module_container__HUaSr {\r\n position: fixed;\r\n left: 0;\r\n right: 0;\r\n top: 0;\r\n bottom: 0;\r\n background: rgba(0,0,0,.1);\r\n z-index: 9999999999;\r\n display: grid;\r\n place-items: center;\r\n}\r\n.HealthcareProfessionalModal-module_modal__31CzM{\r\n background: #fff;\r\n padding: 1.5rem;\r\n text-align: center;\r\n position: relative;\r\n width: 400px;\r\n max-width: 90vw;\r\n\r\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\r\n animation: HealthcareProfessionalModal-module_show__3soMo .5s forwards;\r\n transform: translateY(0);\r\n opacity:1;\r\n}\r\n.HealthcareProfessionalModal-module_header__3uIr7 {\r\n background-color: #0d335a;\r\nposition: absolute;\r\n padding: 1rem;\r\n width: 80%;\r\ntop: 0;\r\nleft: 50%;\r\ntransform: translateX(-50%) translateY(-50%) ;\r\n border-radius: 15px;\r\n}\r\n.HealthcareProfessionalModal-module_body__3bnyN {\r\n color: #202020;\r\n}\r\n.HealthcareProfessionalModal-module_body__3bnyN span{\r\n font-weight: bold;\r\n}\r\n.HealthcareProfessionalModal-module_body__3bnyN .HealthcareProfessionalModal-module_title__27l5n {\r\n font-size: 24px;\r\n margin-bottom: 1rem;\r\n}\r\n.HealthcareProfessionalModal-module_controls__1wXJl button {\r\n margin: 1.5rem 1rem;\r\n border-radius: 5px;\r\n font-size: 1rem;\r\n}\r\n@keyframes HealthcareProfessionalModal-module_show__3soMo {\r\n from{\r\n transform: translateY(25px);\r\n opacity: 0;\r\n }\r\n to {\r\n transform: translateY(0);\r\n opacity:1;\r\n }\r\n}";
7
+ var css = ".HealthcareProfessionalModal-module_container__HUaSr {\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n background: rgba(0,0,0,.1);\n z-index: 9999999999;\n display: grid;\n place-items: center;\n}\n.HealthcareProfessionalModal-module_modal__31CzM{\n background: #fff;\n padding: 1.5rem;\n text-align: center;\n position: relative;\n width: 400px;\n max-width: 90vw;\n\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\n animation: HealthcareProfessionalModal-module_show__3soMo .5s forwards;\n transform: translateY(0);\n opacity:1;\n}\n.HealthcareProfessionalModal-module_header__3uIr7 {\n background-color: #0d335a;\nposition: absolute;\n padding: 1rem;\n width: 80%;\ntop: 0;\nleft: 50%;\ntransform: translateX(-50%) translateY(-50%) ;\n border-radius: 15px;\n}\n.HealthcareProfessionalModal-module_body__3bnyN {\n color: #202020;\n}\n.HealthcareProfessionalModal-module_body__3bnyN span{\n font-weight: bold;\n}\n.HealthcareProfessionalModal-module_body__3bnyN .HealthcareProfessionalModal-module_title__27l5n {\n font-size: 24px;\n margin-bottom: 1rem;\n}\n.HealthcareProfessionalModal-module_controls__1wXJl button {\n margin: 1.5rem 1rem;\n border-radius: 5px;\n font-size: 1rem;\n}\n@keyframes HealthcareProfessionalModal-module_show__3soMo {\n from{\n transform: translateY(25px);\n opacity: 0;\n }\n to {\n transform: translateY(0);\n opacity:1;\n }\n}";
8
8
  var styles = { "container": "HealthcareProfessionalModal-module_container__HUaSr", "modal": "HealthcareProfessionalModal-module_modal__31CzM", "show": "HealthcareProfessionalModal-module_show__3soMo", "header": "HealthcareProfessionalModal-module_header__3uIr7", "body": "HealthcareProfessionalModal-module_body__3bnyN", "title": "HealthcareProfessionalModal-module_title__27l5n", "controls": "HealthcareProfessionalModal-module_controls__1wXJl" };
9
9
  styleInject(css);
10
10
 
@@ -3,7 +3,7 @@ import React__default from 'react';
3
3
  import ArticleCarousel from './ArticleCarousel.js';
4
4
  import { I as IoIosArrowForward } from './index.esm-eb1e8e80.js';
5
5
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
6
- import { g as getSerializers } from './index-e3e16b8b.js';
6
+ import { g as getSerializers } from './index-264bbd3c.js';
7
7
  import './_commonjsHelpers-0c4b6f40.js';
8
8
  import './core.get-iterator-method-ea258bb1.js';
9
9
  import './_object-pie-133f504a.js';