@mjhls/mjh-framework 1.0.986-rec-article-test → 1.0.987
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/AlgoliaSearch.js +18 -142
- package/dist/cjs/ArticleProgramLandingPage.js +1 -1
- package/dist/cjs/ArticleSeriesLandingPage.js +2 -2
- package/dist/cjs/Auth.js +17 -20
- package/dist/cjs/AuthWrapper.js +12 -18
- package/dist/cjs/CMEDeck.js +1 -5
- package/dist/cjs/Column1.js +1 -1
- package/dist/cjs/Column2.js +1 -1
- package/dist/cjs/Column3.js +1 -1
- package/dist/cjs/ContentCardPaginated.js +3 -2
- package/dist/cjs/DeckContent.js +1 -1
- package/dist/cjs/DeckQueuePaginated.js +2 -1
- package/dist/cjs/Dfp-9be904d5.js +1 -1
- package/dist/cjs/ExternalResources.js +1 -1
- package/dist/cjs/GridContent.js +2 -2
- package/dist/cjs/GridContentPaginated.js +4 -3
- package/dist/cjs/HamMagazine.js +1 -1
- package/dist/cjs/Header.js +1 -1
- package/dist/cjs/HorizontalArticleListing.js +1 -1
- package/dist/cjs/IssueLanding.js +3 -3
- package/dist/cjs/LeftNav.js +1 -1
- package/dist/cjs/MasterDeck.js +2 -2
- package/dist/cjs/MasterDeckPaginated.js +4 -3
- package/dist/cjs/{MediaSeriesCard-1b1bd850.js → MediaSeriesCard-90875937.js} +43 -65
- package/dist/cjs/MediaSeriesLanding.js +4 -4
- package/dist/cjs/MediaSeriesLandingPaginated.js +6 -5
- package/dist/cjs/NavDvm.js +1 -1
- package/dist/cjs/NavMagazine.js +1 -1
- package/dist/cjs/NavNative.js +1 -1
- package/dist/cjs/Pagination-1e0d5f1d.js +90 -0
- package/dist/cjs/PartnerDetailListing.js +3 -3
- package/dist/cjs/PartnerDetailListingPaginated.js +5 -4
- package/dist/cjs/PubSection.js +2 -2
- package/dist/cjs/QueueDeckExpanded.js +2 -2
- package/dist/cjs/QueueDeckExpandedPaginated.js +4 -3
- package/dist/cjs/Segment.js +0 -49
- package/dist/cjs/TaxonomyDescription.js +1 -1
- package/dist/cjs/VideoProgramLandingPage.js +1 -1
- package/dist/cjs/VideoSeriesLandingPage.js +2 -2
- package/dist/cjs/View.js +66 -154
- package/dist/cjs/getSerializers.js +1 -1
- package/dist/cjs/{getTargeting-3c5754ac.js → getTargeting-ba942d9a.js} +4 -2
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/index.js +5 -4
- package/dist/cjs/ustream-api-3819e4aa.js +1 -1
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +1 -1
- package/dist/esm/AD300x250x600.js +1 -1
- package/dist/esm/AD728x90.js +1 -1
- package/dist/esm/ADFloatingFooter.js +1 -1
- package/dist/esm/ADFooter.js +1 -1
- package/dist/esm/ADGutter.js +1 -1
- package/dist/esm/ADSkyscraper.js +1 -1
- package/dist/esm/ADSponsoredResources.js +1 -1
- package/dist/esm/ADWebcast.js +1 -1
- package/dist/esm/ADWelcome.js +1 -1
- package/dist/esm/AccordionPanel.js +1 -1
- package/dist/esm/AdSlot.js +1 -1
- package/dist/esm/AdSlotsProvider.js +1 -1
- package/dist/esm/AlgoliaSearch.js +20 -144
- package/dist/esm/AlphabeticList.js +1 -1
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +2 -2
- package/dist/esm/ArticleSeriesLandingPage.js +3 -3
- package/dist/esm/ArticleSeriesListing.js +1 -1
- package/dist/esm/Auth.js +18 -20
- package/dist/esm/AuthWrapper.js +13 -19
- package/dist/esm/Beam.js +1 -1
- package/dist/esm/Breadcrumbs.js +1 -1
- package/dist/esm/CMEDeck.js +2 -6
- package/dist/esm/Column1.js +2 -1
- package/dist/esm/Column2.js +2 -1
- package/dist/esm/Column3.js +2 -1
- package/dist/esm/ConferenceArticleCard.js +1 -1
- package/dist/esm/ContentCardPaginated.js +4 -3
- package/dist/esm/DeckContent.js +2 -2
- package/dist/esm/DeckQueue.js +1 -1
- package/dist/esm/DeckQueuePaginated.js +3 -2
- package/dist/esm/Dfp-102f0beb.js +1 -1
- package/dist/esm/EventsDeck.js +1 -1
- package/dist/esm/ExternalResources.js +2 -2
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/ForbesHero.js +1 -1
- package/dist/esm/GridContent.js +3 -3
- package/dist/esm/GridContentPaginated.js +5 -4
- package/dist/esm/GridHero.js +1 -1
- package/dist/esm/GroupDeck.js +1 -1
- package/dist/esm/HamMagazine.js +2 -1
- package/dist/esm/Header.js +2 -1
- package/dist/esm/HealthCareProfessionalModal.js +1 -1
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HighlightenVideo.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +2 -2
- package/dist/esm/HorizontalHero.js +1 -1
- package/dist/esm/IssueContentDeck.js +1 -1
- package/dist/esm/IssueDeck.js +1 -1
- package/dist/esm/IssueLanding.js +4 -4
- package/dist/esm/KMTracker.js +1 -1
- package/dist/esm/LeftNav.js +2 -1
- package/dist/esm/MasterDeck.js +3 -3
- package/dist/esm/MasterDeckPaginated.js +5 -4
- package/dist/esm/{MediaSeriesCard-029542ab.js → MediaSeriesCard-767d6d90.js} +43 -65
- package/dist/esm/MediaSeriesLanding.js +5 -5
- package/dist/esm/MediaSeriesLandingPaginated.js +7 -6
- package/dist/esm/NavDvm.js +2 -1
- package/dist/esm/NavMagazine.js +2 -1
- package/dist/esm/NavNative.js +2 -1
- package/dist/esm/OncliveHero.js +1 -1
- package/dist/esm/OncliveLargeHero.js +1 -1
- package/dist/esm/PageFilter.js +1 -1
- package/dist/esm/Pagination-cd21f8c2.js +82 -0
- package/dist/esm/PartnerDetailListing.js +4 -4
- package/dist/esm/PartnerDetailListingPaginated.js +6 -5
- package/dist/esm/PdfDownload.js +1 -1
- package/dist/esm/PopUpModal.js +1 -1
- package/dist/esm/PtceDeck.js +1 -1
- package/dist/esm/PubSection.js +3 -3
- package/dist/esm/PubToc.js +1 -1
- package/dist/esm/PublicationDeck.js +1 -1
- package/dist/esm/PublicationLanding.js +1 -1
- package/dist/esm/QueueDeckExpanded.js +3 -3
- package/dist/esm/QueueDeckExpandedPaginated.js +5 -4
- package/dist/esm/RecentNews.js +1 -1
- package/dist/esm/RelatedContent.js +1 -1
- package/dist/esm/RelatedTopicsDropdown.js +1 -1
- package/dist/esm/RolesDeck.js +1 -1
- package/dist/esm/Schema.js +1 -1
- package/dist/esm/Search.js +1 -1
- package/dist/esm/Segment.js +2 -51
- package/dist/esm/SeriesListingDeck.js +1 -1
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +1 -1
- package/dist/esm/SocialIcons.js +1 -1
- package/dist/esm/SocialShare.js +1 -1
- package/dist/esm/TaxonomyCard.js +1 -1
- package/dist/esm/TaxonomyDescription.js +2 -2
- package/dist/esm/TemplateNormal.js +1 -1
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/Ustream.js +1 -1
- package/dist/esm/VerticalHero.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +2 -2
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesFilter.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +3 -3
- package/dist/esm/VideoSeriesListing.js +1 -1
- package/dist/esm/View.js +66 -155
- package/dist/esm/YahooHero.js +1 -1
- package/dist/esm/YoutubeGroup.js +1 -1
- package/dist/esm/getKeywords.js +1 -1
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getRelatedArticle.js +1 -1
- package/dist/esm/getRootDocGroup.js +1 -1
- package/dist/esm/getSerializers.js +1 -1
- package/dist/esm/getSeriesDetail.js +1 -1
- package/dist/esm/{getTargeting-42f9b439.js → getTargeting-9bd28724.js} +4 -2
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/index.js +5 -4
- package/dist/esm/stringify-2b084bee.js +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/ustream-api-d3714624.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/Pagination-2a3d0103.js +0 -97
- package/dist/esm/Pagination-dc30727b.js +0 -90
- /package/dist/cjs/{ADInfeed-e87afe8a.js → ADInfeed-81006615.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-b5a3d436.js → ADlgInfeed-0db07099.js} +0 -0
- /package/dist/cjs/{index-c5778fcd.js → index-869cab56.js} +0 -0
- /package/dist/esm/{ADInfeed-5765a73a.js → ADInfeed-6d1fc6bf.js} +0 -0
- /package/dist/esm/{ADlgInfeed-5e36f317.js → ADlgInfeed-dc36c928.js} +0 -0
- /package/dist/esm/{index-98646d5c.js → index-4959f8e7.js} +0 -0
|
@@ -115,8 +115,6 @@ function _assertThisInitialized(self) {
|
|
|
115
115
|
function _possibleConstructorReturn(self, call) {
|
|
116
116
|
if (call && (_typeof$1._typeof(call) === "object" || typeof call === "function")) {
|
|
117
117
|
return call;
|
|
118
|
-
} else if (call !== void 0) {
|
|
119
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
120
118
|
}
|
|
121
119
|
|
|
122
120
|
return _assertThisInitialized(self);
|
|
@@ -831,7 +829,7 @@ function parseAlgoliaHit(_ref2) {
|
|
|
831
829
|
});
|
|
832
830
|
}
|
|
833
831
|
|
|
834
|
-
var version$1 = '6.
|
|
832
|
+
var version$1 = '6.11.2';
|
|
835
833
|
|
|
836
834
|
var withKeysPropType = function withKeysPropType(keys) {
|
|
837
835
|
return function (props, propName, componentName) {
|
|
@@ -913,10 +911,6 @@ function translatable(defaultTranslations) {
|
|
|
913
911
|
function getIndexId(context) {
|
|
914
912
|
return hasMultipleIndices(context) ? context.multiIndexContext.targetedIndex : context.ais.mainTargetedIndex;
|
|
915
913
|
}
|
|
916
|
-
/**
|
|
917
|
-
* @returns {import('algoliasearch-helper').SearchResults} results
|
|
918
|
-
*/
|
|
919
|
-
|
|
920
914
|
function getResults(searchResults, context) {
|
|
921
915
|
if (searchResults.results) {
|
|
922
916
|
if (searchResults.results.hits) {
|
|
@@ -4781,7 +4775,7 @@ var requestBuilder = {
|
|
|
4781
4775
|
|
|
4782
4776
|
var requestBuilder_1 = requestBuilder;
|
|
4783
4777
|
|
|
4784
|
-
var version = '3.5.
|
|
4778
|
+
var version = '3.5.3';
|
|
4785
4779
|
|
|
4786
4780
|
/**
|
|
4787
4781
|
* Event triggered when a parameter is set or updated
|
|
@@ -6429,87 +6423,6 @@ ConfigureRelatedItems.propTypes = {
|
|
|
6429
6423
|
};
|
|
6430
6424
|
connectConfigureRelatedItems(ConfigureRelatedItems);
|
|
6431
6425
|
|
|
6432
|
-
var connectDynamicWidgets = createConnectorWithContext({
|
|
6433
|
-
displayName: 'AlgoliaDynamicWidgets',
|
|
6434
|
-
defaultProps: {
|
|
6435
|
-
transformItems: function transformItems(items) {
|
|
6436
|
-
return items;
|
|
6437
|
-
}
|
|
6438
|
-
},
|
|
6439
|
-
propTypes: {
|
|
6440
|
-
transformItems: PropTypes__default['default'].func
|
|
6441
|
-
},
|
|
6442
|
-
getProvidedProps: function getProvidedProps(props, _searchState, searchResults) {
|
|
6443
|
-
var results = getResults(searchResults, {
|
|
6444
|
-
ais: props.contextValue,
|
|
6445
|
-
multiIndexContext: props.indexContextValue
|
|
6446
|
-
});
|
|
6447
|
-
|
|
6448
|
-
if (!results) {
|
|
6449
|
-
return {
|
|
6450
|
-
attributesToRender: []
|
|
6451
|
-
};
|
|
6452
|
-
}
|
|
6453
|
-
|
|
6454
|
-
var facetOrder = results.renderingContent && results.renderingContent.facetOrdering && results.renderingContent.facetOrdering.facets && results.renderingContent.facetOrdering.facets.order || [];
|
|
6455
|
-
return {
|
|
6456
|
-
attributesToRender: props.transformItems(facetOrder, {
|
|
6457
|
-
results: results
|
|
6458
|
-
})
|
|
6459
|
-
};
|
|
6460
|
-
}
|
|
6461
|
-
});
|
|
6462
|
-
|
|
6463
|
-
function getAttribute(component) {
|
|
6464
|
-
if (_typeof(component) !== 'object') {
|
|
6465
|
-
return undefined;
|
|
6466
|
-
}
|
|
6467
|
-
|
|
6468
|
-
if (component.props.attribute) {
|
|
6469
|
-
return component.props.attribute;
|
|
6470
|
-
}
|
|
6471
|
-
|
|
6472
|
-
if (Array.isArray(component.props.attributes)) {
|
|
6473
|
-
return component.props.attributes[0];
|
|
6474
|
-
}
|
|
6475
|
-
|
|
6476
|
-
if (component.props.children) {
|
|
6477
|
-
return getAttribute(React__default['default'].Children.only(component.props.children));
|
|
6478
|
-
}
|
|
6479
|
-
|
|
6480
|
-
return undefined;
|
|
6481
|
-
}
|
|
6482
|
-
|
|
6483
|
-
function DynamicWidgets(_ref) {
|
|
6484
|
-
var children = _ref.children,
|
|
6485
|
-
attributesToRender = _ref.attributesToRender,
|
|
6486
|
-
_ref$fallbackComponen = _ref.fallbackComponent,
|
|
6487
|
-
Fallback = _ref$fallbackComponen === void 0 ? function () {
|
|
6488
|
-
return null;
|
|
6489
|
-
} : _ref$fallbackComponen;
|
|
6490
|
-
var widgets = new Map();
|
|
6491
|
-
React__default['default'].Children.forEach(children, function (child) {
|
|
6492
|
-
var attribute = getAttribute(child);
|
|
6493
|
-
|
|
6494
|
-
if (!attribute) {
|
|
6495
|
-
throw new Error("Could not find \"attribute\" prop for ".concat(getDisplayName(child), "."));
|
|
6496
|
-
}
|
|
6497
|
-
|
|
6498
|
-
widgets.set(attribute, child);
|
|
6499
|
-
}); // on initial render this will be empty, but React InstantSearch keeps
|
|
6500
|
-
// search state for unmounted components in place, so routing works.
|
|
6501
|
-
|
|
6502
|
-
return React__default['default'].createElement(React__default['default'].Fragment, null, attributesToRender.map(function (attribute) {
|
|
6503
|
-
return React__default['default'].createElement(React.Fragment, {
|
|
6504
|
-
key: attribute
|
|
6505
|
-
}, widgets.get(attribute) || React__default['default'].createElement(Fallback, {
|
|
6506
|
-
attribute: attribute
|
|
6507
|
-
}));
|
|
6508
|
-
}));
|
|
6509
|
-
}
|
|
6510
|
-
|
|
6511
|
-
connectDynamicWidgets(DynamicWidgets);
|
|
6512
|
-
|
|
6513
6426
|
// A context rule must consist only of alphanumeric characters, hyphens, and underscores.
|
|
6514
6427
|
// See https://www.algolia.com/doc/guides/managing-results/refine-results/merchandising-and-promoting/in-depth/implementing-query-rules/#context
|
|
6515
6428
|
function escapeRuleContext(ruleName) {
|
|
@@ -7355,21 +7268,15 @@ function hydrateMetadata(resultsState) {
|
|
|
7355
7268
|
|
|
7356
7269
|
return resultsState.metadata.map(function (datum) {
|
|
7357
7270
|
return _objectSpread({
|
|
7358
|
-
value: function value() {
|
|
7359
|
-
return {};
|
|
7360
|
-
}
|
|
7271
|
+
value: function value() {}
|
|
7361
7272
|
}, datum, {
|
|
7362
7273
|
items: datum.items && datum.items.map(function (item) {
|
|
7363
7274
|
return _objectSpread({
|
|
7364
|
-
value: function value() {
|
|
7365
|
-
return {};
|
|
7366
|
-
}
|
|
7275
|
+
value: function value() {}
|
|
7367
7276
|
}, item, {
|
|
7368
7277
|
items: item.items && item.items.map(function (nestedItem) {
|
|
7369
7278
|
return _objectSpread({
|
|
7370
|
-
value: function value() {
|
|
7371
|
-
return {};
|
|
7372
|
-
}
|
|
7279
|
+
value: function value() {}
|
|
7373
7280
|
}, nestedItem);
|
|
7374
7281
|
})
|
|
7375
7282
|
});
|
|
@@ -7925,8 +7832,7 @@ var connectHierarchicalMenu = createConnectorWithContext({
|
|
|
7925
7832
|
showMore: PropTypes__default['default'].bool,
|
|
7926
7833
|
limit: PropTypes__default['default'].number,
|
|
7927
7834
|
showMoreLimit: PropTypes__default['default'].number,
|
|
7928
|
-
transformItems: PropTypes__default['default'].func
|
|
7929
|
-
facetOrdering: PropTypes__default['default'].bool
|
|
7835
|
+
transformItems: PropTypes__default['default'].func
|
|
7930
7836
|
},
|
|
7931
7837
|
defaultProps: {
|
|
7932
7838
|
showMore: false,
|
|
@@ -7934,14 +7840,12 @@ var connectHierarchicalMenu = createConnectorWithContext({
|
|
|
7934
7840
|
showMoreLimit: 20,
|
|
7935
7841
|
separator: ' > ',
|
|
7936
7842
|
rootPath: null,
|
|
7937
|
-
showParentLevel: true
|
|
7938
|
-
facetOrdering: true
|
|
7843
|
+
showParentLevel: true
|
|
7939
7844
|
},
|
|
7940
7845
|
getProvidedProps: function getProvidedProps(props, searchState, searchResults) {
|
|
7941
7846
|
var showMore = props.showMore,
|
|
7942
7847
|
limit = props.limit,
|
|
7943
|
-
showMoreLimit = props.showMoreLimit
|
|
7944
|
-
facetOrdering = props.facetOrdering;
|
|
7848
|
+
showMoreLimit = props.showMoreLimit;
|
|
7945
7849
|
var id = getId$c(props);
|
|
7946
7850
|
var results = getResults(searchResults, {
|
|
7947
7851
|
ais: props.contextValue,
|
|
@@ -7962,8 +7866,7 @@ var connectHierarchicalMenu = createConnectorWithContext({
|
|
|
7962
7866
|
|
|
7963
7867
|
var itemsLimit = showMore ? showMoreLimit : limit;
|
|
7964
7868
|
var value = results.getFacetValues(id, {
|
|
7965
|
-
sortBy: sortBy$1
|
|
7966
|
-
facetOrdering: facetOrdering
|
|
7869
|
+
sortBy: sortBy$1
|
|
7967
7870
|
});
|
|
7968
7871
|
var items = value.data ? transformValue(value.data, props, searchState, {
|
|
7969
7872
|
ais: props.contextValue,
|
|
@@ -8515,20 +8418,17 @@ var connectMenu = createConnectorWithContext({
|
|
|
8515
8418
|
showMoreLimit: PropTypes__default['default'].number,
|
|
8516
8419
|
defaultRefinement: PropTypes__default['default'].string,
|
|
8517
8420
|
transformItems: PropTypes__default['default'].func,
|
|
8518
|
-
searchable: PropTypes__default['default'].bool
|
|
8519
|
-
facetOrdering: PropTypes__default['default'].bool
|
|
8421
|
+
searchable: PropTypes__default['default'].bool
|
|
8520
8422
|
},
|
|
8521
8423
|
defaultProps: {
|
|
8522
8424
|
showMore: false,
|
|
8523
8425
|
limit: 10,
|
|
8524
|
-
showMoreLimit: 20
|
|
8525
|
-
facetOrdering: true
|
|
8426
|
+
showMoreLimit: 20
|
|
8526
8427
|
},
|
|
8527
8428
|
getProvidedProps: function getProvidedProps(props, searchState, searchResults, meta, searchForFacetValuesResults) {
|
|
8528
8429
|
var attribute = props.attribute,
|
|
8529
8430
|
searchable = props.searchable,
|
|
8530
|
-
indexContextValue = props.indexContextValue
|
|
8531
|
-
facetOrdering = props.facetOrdering;
|
|
8431
|
+
indexContextValue = props.indexContextValue;
|
|
8532
8432
|
var results = getResults(searchResults, {
|
|
8533
8433
|
ais: props.contextValue,
|
|
8534
8434
|
multiIndexContext: props.indexContextValue
|
|
@@ -8574,8 +8474,7 @@ var connectMenu = createConnectorWithContext({
|
|
|
8574
8474
|
});
|
|
8575
8475
|
} else {
|
|
8576
8476
|
items = results.getFacetValues(attribute, {
|
|
8577
|
-
sortBy: searchable ? undefined : defaultSortBy
|
|
8578
|
-
facetOrdering: facetOrdering
|
|
8477
|
+
sortBy: searchable ? undefined : defaultSortBy
|
|
8579
8478
|
}).map(function (v) {
|
|
8580
8479
|
return {
|
|
8581
8480
|
label: v.name,
|
|
@@ -9432,21 +9331,18 @@ var connectRefinementList = createConnectorWithContext({
|
|
|
9432
9331
|
showMoreLimit: PropTypes__default['default'].number,
|
|
9433
9332
|
defaultRefinement: PropTypes__default['default'].arrayOf(PropTypes__default['default'].oneOfType([PropTypes__default['default'].string, PropTypes__default['default'].number])),
|
|
9434
9333
|
searchable: PropTypes__default['default'].bool,
|
|
9435
|
-
transformItems: PropTypes__default['default'].func
|
|
9436
|
-
facetOrdering: PropTypes__default['default'].bool
|
|
9334
|
+
transformItems: PropTypes__default['default'].func
|
|
9437
9335
|
},
|
|
9438
9336
|
defaultProps: {
|
|
9439
9337
|
operator: 'or',
|
|
9440
9338
|
showMore: false,
|
|
9441
9339
|
limit: 10,
|
|
9442
|
-
showMoreLimit: 20
|
|
9443
|
-
facetOrdering: true
|
|
9340
|
+
showMoreLimit: 20
|
|
9444
9341
|
},
|
|
9445
9342
|
getProvidedProps: function getProvidedProps(props, searchState, searchResults, metadata, searchForFacetValuesResults) {
|
|
9446
9343
|
var attribute = props.attribute,
|
|
9447
9344
|
searchable = props.searchable,
|
|
9448
|
-
indexContextValue = props.indexContextValue
|
|
9449
|
-
facetOrdering = props.facetOrdering;
|
|
9345
|
+
indexContextValue = props.indexContextValue;
|
|
9450
9346
|
var results = getResults(searchResults, {
|
|
9451
9347
|
ais: props.contextValue,
|
|
9452
9348
|
multiIndexContext: props.indexContextValue
|
|
@@ -9487,8 +9383,7 @@ var connectRefinementList = createConnectorWithContext({
|
|
|
9487
9383
|
isRefined: v.isRefined
|
|
9488
9384
|
};
|
|
9489
9385
|
}) : results.getFacetValues(attribute, {
|
|
9490
|
-
sortBy: sortBy
|
|
9491
|
-
facetOrdering: facetOrdering
|
|
9386
|
+
sortBy: sortBy
|
|
9492
9387
|
}).map(function (v) {
|
|
9493
9388
|
return {
|
|
9494
9389
|
label: v.name,
|
|
@@ -10988,7 +10883,6 @@ function (_Component) {
|
|
|
10988
10883
|
|
|
10989
10884
|
var _this$props4 = this.props,
|
|
10990
10885
|
className = _this$props4.className,
|
|
10991
|
-
inputId = _this$props4.inputId,
|
|
10992
10886
|
translate = _this$props4.translate,
|
|
10993
10887
|
autoFocus = _this$props4.autoFocus,
|
|
10994
10888
|
loadingIndicator = _this$props4.loadingIndicator,
|
|
@@ -11016,7 +10910,6 @@ function (_Component) {
|
|
|
11016
10910
|
role: "search"
|
|
11017
10911
|
}, React__default['default'].createElement("input", index._extends({
|
|
11018
10912
|
ref: this.onInputMount,
|
|
11019
|
-
id: inputId,
|
|
11020
10913
|
type: "search",
|
|
11021
10914
|
placeholder: translate('placeholder'),
|
|
11022
10915
|
autoFocus: autoFocus,
|
|
@@ -11068,8 +10961,7 @@ _defineProperty(SearchBox$1, "propTypes", {
|
|
|
11068
10961
|
showLoadingIndicator: PropTypes__default['default'].bool,
|
|
11069
10962
|
inputRef: PropTypes__default['default'].oneOfType([PropTypes__default['default'].func, PropTypes__default['default'].exact({
|
|
11070
10963
|
current: PropTypes__default['default'].object
|
|
11071
|
-
})])
|
|
11072
|
-
inputId: PropTypes__default['default'].string
|
|
10964
|
+
})])
|
|
11073
10965
|
});
|
|
11074
10966
|
|
|
11075
10967
|
_defineProperty(SearchBox$1, "defaultProps", {
|
|
@@ -11708,11 +11600,9 @@ function (_Component) {
|
|
|
11708
11600
|
value: function render() {
|
|
11709
11601
|
var _this$props = this.props,
|
|
11710
11602
|
cx = _this$props.cx,
|
|
11711
|
-
id = _this$props.id,
|
|
11712
11603
|
items = _this$props.items,
|
|
11713
11604
|
selectedItem = _this$props.selectedItem;
|
|
11714
11605
|
return React__default['default'].createElement("select", {
|
|
11715
|
-
id: id,
|
|
11716
11606
|
className: cx('select'),
|
|
11717
11607
|
value: selectedItem,
|
|
11718
11608
|
onChange: this.onChange
|
|
@@ -11732,7 +11622,6 @@ function (_Component) {
|
|
|
11732
11622
|
|
|
11733
11623
|
_defineProperty(Select, "propTypes", {
|
|
11734
11624
|
cx: PropTypes__default['default'].func.isRequired,
|
|
11735
|
-
id: PropTypes__default['default'].string,
|
|
11736
11625
|
onSelect: PropTypes__default['default'].func.isRequired,
|
|
11737
11626
|
items: PropTypes__default['default'].arrayOf(PropTypes__default['default'].shape({
|
|
11738
11627
|
value: PropTypes__default['default'].oneOfType([PropTypes__default['default'].string, PropTypes__default['default'].number]).isRequired,
|
|
@@ -11760,7 +11649,6 @@ function (_Component) {
|
|
|
11760
11649
|
key: "render",
|
|
11761
11650
|
value: function render() {
|
|
11762
11651
|
var _this$props = this.props,
|
|
11763
|
-
id = _this$props.id,
|
|
11764
11652
|
items = _this$props.items,
|
|
11765
11653
|
currentRefinement = _this$props.currentRefinement,
|
|
11766
11654
|
refine = _this$props.refine,
|
|
@@ -11768,7 +11656,6 @@ function (_Component) {
|
|
|
11768
11656
|
return React__default['default'].createElement("div", {
|
|
11769
11657
|
className: index.classnames(cx$h(''), className)
|
|
11770
11658
|
}, React__default['default'].createElement(Select, {
|
|
11771
|
-
id: id,
|
|
11772
11659
|
onSelect: refine,
|
|
11773
11660
|
selectedItem: currentRefinement,
|
|
11774
11661
|
items: items,
|
|
@@ -11781,7 +11668,6 @@ function (_Component) {
|
|
|
11781
11668
|
}(React.Component);
|
|
11782
11669
|
|
|
11783
11670
|
_defineProperty(HitsPerPage, "propTypes", {
|
|
11784
|
-
id: PropTypes__default['default'].string,
|
|
11785
11671
|
items: PropTypes__default['default'].arrayOf(PropTypes__default['default'].shape({
|
|
11786
11672
|
value: PropTypes__default['default'].number.isRequired,
|
|
11787
11673
|
label: PropTypes__default['default'].string
|
|
@@ -11804,7 +11690,6 @@ _defineProperty(HitsPerPage, "defaultProps", {
|
|
|
11804
11690
|
*
|
|
11805
11691
|
* @name HitsPerPage
|
|
11806
11692
|
* @kind widget
|
|
11807
|
-
* @propType {string} id - The id of the select input
|
|
11808
11693
|
* @propType {{value: number, label: string}[]} items - List of available options.
|
|
11809
11694
|
* @propType {number} defaultRefinement - The number of items selected by default
|
|
11810
11695
|
* @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.
|
|
@@ -12173,7 +12058,6 @@ function (_Component) {
|
|
|
12173
12058
|
key: "render",
|
|
12174
12059
|
value: function render() {
|
|
12175
12060
|
var _this$props = this.props,
|
|
12176
|
-
id = _this$props.id,
|
|
12177
12061
|
items = _this$props.items,
|
|
12178
12062
|
canRefine = _this$props.canRefine,
|
|
12179
12063
|
translate = _this$props.translate,
|
|
@@ -12181,7 +12065,6 @@ function (_Component) {
|
|
|
12181
12065
|
return React__default['default'].createElement("div", {
|
|
12182
12066
|
className: index.classnames(cx$e('', !canRefine && '-noRefinement'), className)
|
|
12183
12067
|
}, React__default['default'].createElement("select", {
|
|
12184
|
-
id: id,
|
|
12185
12068
|
value: this.selectedValue,
|
|
12186
12069
|
onChange: this.handleSelectChange,
|
|
12187
12070
|
className: cx$e('select')
|
|
@@ -12214,7 +12097,6 @@ function (_Component) {
|
|
|
12214
12097
|
}(React.Component);
|
|
12215
12098
|
|
|
12216
12099
|
_defineProperty(MenuSelect, "propTypes", {
|
|
12217
|
-
id: PropTypes__default['default'].string,
|
|
12218
12100
|
items: PropTypes__default['default'].arrayOf(PropTypes__default['default'].shape({
|
|
12219
12101
|
label: PropTypes__default['default'].string.isRequired,
|
|
12220
12102
|
value: PropTypes__default['default'].string.isRequired,
|
|
@@ -12241,7 +12123,6 @@ var MenuSelect$1 = translatable({
|
|
|
12241
12123
|
* @kind widget
|
|
12242
12124
|
* @requirements The attribute passed to the `attribute` prop must be present in "attributes for faceting"
|
|
12243
12125
|
* on the Algolia dashboard or configured as `attributesForFaceting` via a set settings call to the Algolia API.
|
|
12244
|
-
* @propType {string} id - the id of the select input
|
|
12245
12126
|
* @propType {string} attribute - the name of the attribute in the record
|
|
12246
12127
|
* @propType {string} [defaultRefinement] - the value of the item selected by default
|
|
12247
12128
|
* @propType {number} [limit=10] - the minimum number of diplayed items
|
|
@@ -13573,7 +13454,6 @@ connectScrollTo(ScrollTo);
|
|
|
13573
13454
|
* @propType {node} [reset] - Change the apparence of the default reset button (cross).
|
|
13574
13455
|
* @propType {node} [loadingIndicator] - Change the apparence of the default loading indicator (spinning circle).
|
|
13575
13456
|
* @propType {string} [defaultRefinement] - Provide default refinement value when component is mounted.
|
|
13576
|
-
* @propType {string} [inputId] - The id of the search input
|
|
13577
13457
|
* @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.
|
|
13578
13458
|
* @themeKey ais-SearchBox - the root div of the widget
|
|
13579
13459
|
* @themeKey ais-SearchBox-form - the wrapping form
|
|
@@ -13724,7 +13604,6 @@ function (_Component) {
|
|
|
13724
13604
|
key: "render",
|
|
13725
13605
|
value: function render() {
|
|
13726
13606
|
var _this$props = this.props,
|
|
13727
|
-
id = _this$props.id,
|
|
13728
13607
|
items = _this$props.items,
|
|
13729
13608
|
currentRefinement = _this$props.currentRefinement,
|
|
13730
13609
|
refine = _this$props.refine,
|
|
@@ -13732,7 +13611,6 @@ function (_Component) {
|
|
|
13732
13611
|
return React__default['default'].createElement("div", {
|
|
13733
13612
|
className: index.classnames(cx$4(''), className)
|
|
13734
13613
|
}, React__default['default'].createElement(Select, {
|
|
13735
|
-
id: id,
|
|
13736
13614
|
cx: cx$4,
|
|
13737
13615
|
items: items,
|
|
13738
13616
|
selectedItem: currentRefinement,
|
|
@@ -13745,7 +13623,6 @@ function (_Component) {
|
|
|
13745
13623
|
}(React.Component);
|
|
13746
13624
|
|
|
13747
13625
|
_defineProperty(SortBy, "propTypes", {
|
|
13748
|
-
id: PropTypes__default['default'].string,
|
|
13749
13626
|
items: PropTypes__default['default'].arrayOf(PropTypes__default['default'].shape({
|
|
13750
13627
|
label: PropTypes__default['default'].string,
|
|
13751
13628
|
value: PropTypes__default['default'].string.isRequired
|
|
@@ -13765,7 +13642,6 @@ _defineProperty(SortBy, "defaultProps", {
|
|
|
13765
13642
|
* @requirements Algolia handles sorting by creating replica indices. [Read more about sorting](https://www.algolia.com/doc/guides/relevance/sorting/) on
|
|
13766
13643
|
* the Algolia website.
|
|
13767
13644
|
* @kind widget
|
|
13768
|
-
* @propType {string} id - The id of the select input
|
|
13769
13645
|
* @propType {{value: string, label: string}[]} items - The list of indexes to search in.
|
|
13770
13646
|
* @propType {string} defaultRefinement - The default selected index.
|
|
13771
13647
|
* @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.
|
|
@@ -5,7 +5,7 @@ var slicedToArray = require('./slicedToArray-067dd3bc.js');
|
|
|
5
5
|
var _extends = require('./extends-7c86182f.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var BlockContent = require('./BlockContent-9ebd251f.js');
|
|
8
|
-
var getSerializers = require('./index-
|
|
8
|
+
var getSerializers = require('./index-869cab56.js');
|
|
9
9
|
var ArticleSeriesListing = require('./ArticleSeriesListing.js');
|
|
10
10
|
require('./_commonjsHelpers-06173234.js');
|
|
11
11
|
require('./core.get-iterator-method-5643aa10.js');
|
|
@@ -34,13 +34,13 @@ require('./visibility-sensor-eb2c5b69.js');
|
|
|
34
34
|
require('react-dom');
|
|
35
35
|
require('./slicedToArray-067dd3bc.js');
|
|
36
36
|
require('./index-d48b231c.js');
|
|
37
|
-
require('./ADlgInfeed-
|
|
37
|
+
require('./ADlgInfeed-0db07099.js');
|
|
38
38
|
require('./AdSlot.js');
|
|
39
39
|
require('./Beam.js');
|
|
40
40
|
require('./stringify-f7a37a8d.js');
|
|
41
41
|
require('./Segment.js');
|
|
42
42
|
require('./main-f1c77adb.js');
|
|
43
|
-
require('./ADInfeed-
|
|
43
|
+
require('./ADInfeed-81006615.js');
|
|
44
44
|
|
|
45
45
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
46
46
|
|
package/dist/cjs/Auth.js
CHANGED
|
@@ -1491,7 +1491,7 @@ keysShim.shim = function shimObjectKeys() {
|
|
|
1491
1491
|
|
|
1492
1492
|
var objectKeys = keysShim;
|
|
1493
1493
|
|
|
1494
|
-
var hasSymbols$
|
|
1494
|
+
var hasSymbols$4 = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';
|
|
1495
1495
|
|
|
1496
1496
|
var toStr$3 = Object.prototype.toString;
|
|
1497
1497
|
var concat = Array.prototype.concat;
|
|
@@ -1535,7 +1535,7 @@ var defineProperty = function (object, name, value, predicate) {
|
|
|
1535
1535
|
var defineProperties = function (object, map) {
|
|
1536
1536
|
var predicates = arguments.length > 2 ? arguments[2] : {};
|
|
1537
1537
|
var props = objectKeys(map);
|
|
1538
|
-
if (hasSymbols$
|
|
1538
|
+
if (hasSymbols$4) {
|
|
1539
1539
|
props = concat.call(props, Object.getOwnPropertySymbols(map));
|
|
1540
1540
|
}
|
|
1541
1541
|
for (var i = 0; i < props.length; i += 1) {
|
|
@@ -1601,7 +1601,7 @@ var implementation$2 = function bind(that) {
|
|
|
1601
1601
|
var functionBind = Function.prototype.bind || implementation$2;
|
|
1602
1602
|
|
|
1603
1603
|
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
1604
|
-
var shams
|
|
1604
|
+
var shams = function hasSymbols() {
|
|
1605
1605
|
if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
|
|
1606
1606
|
if (typeof Symbol.iterator === 'symbol') { return true; }
|
|
1607
1607
|
|
|
@@ -1644,13 +1644,13 @@ var shams$1 = function hasSymbols() {
|
|
|
1644
1644
|
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
1645
1645
|
|
|
1646
1646
|
|
|
1647
|
-
var hasSymbols$
|
|
1647
|
+
var hasSymbols$3 = function hasNativeSymbols() {
|
|
1648
1648
|
if (typeof origSymbol !== 'function') { return false; }
|
|
1649
1649
|
if (typeof Symbol !== 'function') { return false; }
|
|
1650
1650
|
if (typeof origSymbol('foo') !== 'symbol') { return false; }
|
|
1651
1651
|
if (typeof Symbol('bar') !== 'symbol') { return false; }
|
|
1652
1652
|
|
|
1653
|
-
return shams
|
|
1653
|
+
return shams();
|
|
1654
1654
|
};
|
|
1655
1655
|
|
|
1656
1656
|
var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
|
|
@@ -1697,7 +1697,7 @@ var ThrowTypeError = $gOPD$2
|
|
|
1697
1697
|
}())
|
|
1698
1698
|
: throwTypeError;
|
|
1699
1699
|
|
|
1700
|
-
var hasSymbols$
|
|
1700
|
+
var hasSymbols$2 = hasSymbols$3();
|
|
1701
1701
|
|
|
1702
1702
|
var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
|
|
1703
1703
|
|
|
@@ -1709,7 +1709,7 @@ var INTRINSICS = {
|
|
|
1709
1709
|
'%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,
|
|
1710
1710
|
'%Array%': Array,
|
|
1711
1711
|
'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,
|
|
1712
|
-
'%ArrayIteratorPrototype%': hasSymbols$
|
|
1712
|
+
'%ArrayIteratorPrototype%': hasSymbols$2 ? getProto([][Symbol.iterator]()) : undefined$1,
|
|
1713
1713
|
'%AsyncFromSyncIteratorPrototype%': undefined$1,
|
|
1714
1714
|
'%AsyncFunction%': needsEval,
|
|
1715
1715
|
'%AsyncGenerator%': needsEval,
|
|
@@ -1737,10 +1737,10 @@ var INTRINSICS = {
|
|
|
1737
1737
|
'%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,
|
|
1738
1738
|
'%isFinite%': isFinite,
|
|
1739
1739
|
'%isNaN%': isNaN,
|
|
1740
|
-
'%IteratorPrototype%': hasSymbols$
|
|
1740
|
+
'%IteratorPrototype%': hasSymbols$2 ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
|
|
1741
1741
|
'%JSON%': typeof JSON === 'object' ? JSON : undefined$1,
|
|
1742
1742
|
'%Map%': typeof Map === 'undefined' ? undefined$1 : Map,
|
|
1743
|
-
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$
|
|
1743
|
+
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Map()[Symbol.iterator]()),
|
|
1744
1744
|
'%Math%': Math,
|
|
1745
1745
|
'%Number%': Number,
|
|
1746
1746
|
'%Object%': Object,
|
|
@@ -1753,11 +1753,11 @@ var INTRINSICS = {
|
|
|
1753
1753
|
'%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,
|
|
1754
1754
|
'%RegExp%': RegExp,
|
|
1755
1755
|
'%Set%': typeof Set === 'undefined' ? undefined$1 : Set,
|
|
1756
|
-
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$
|
|
1756
|
+
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Set()[Symbol.iterator]()),
|
|
1757
1757
|
'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,
|
|
1758
1758
|
'%String%': String,
|
|
1759
|
-
'%StringIteratorPrototype%': hasSymbols$
|
|
1760
|
-
'%Symbol%': hasSymbols$
|
|
1759
|
+
'%StringIteratorPrototype%': hasSymbols$2 ? getProto(''[Symbol.iterator]()) : undefined$1,
|
|
1760
|
+
'%Symbol%': hasSymbols$2 ? Symbol : undefined$1,
|
|
1761
1761
|
'%SyntaxError%': $SyntaxError$1,
|
|
1762
1762
|
'%ThrowTypeError%': ThrowTypeError,
|
|
1763
1763
|
'%TypedArray%': TypedArray,
|
|
@@ -2226,11 +2226,8 @@ var IsPropertyKey = function IsPropertyKey(argument) {
|
|
|
2226
2226
|
return typeof argument === 'string' || typeof argument === 'symbol';
|
|
2227
2227
|
};
|
|
2228
2228
|
|
|
2229
|
-
var
|
|
2230
|
-
|
|
2231
|
-
};
|
|
2232
|
-
|
|
2233
|
-
var hasToStringTag$1 = shams();
|
|
2229
|
+
var hasSymbols$1 = shams();
|
|
2230
|
+
var hasToStringTag$1 = hasSymbols$1 && !!Symbol.toStringTag;
|
|
2234
2231
|
var has;
|
|
2235
2232
|
var $exec;
|
|
2236
2233
|
var isRegexMarker;
|
|
@@ -2356,7 +2353,7 @@ var tryFunctionObject = function tryFunctionToStr(value) {
|
|
|
2356
2353
|
var toStr = Object.prototype.toString;
|
|
2357
2354
|
var fnClass = '[object Function]';
|
|
2358
2355
|
var genClass = '[object GeneratorFunction]';
|
|
2359
|
-
var hasToStringTag = typeof Symbol === 'function' &&
|
|
2356
|
+
var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
|
|
2360
2357
|
/* globals document: false */
|
|
2361
2358
|
var documentDotAll = typeof document === 'object' && typeof document.all === 'undefined' && document.all !== undefined ? document.all : {};
|
|
2362
2359
|
|
|
@@ -2672,7 +2669,7 @@ var $slice = callBound('Array.prototype.slice');
|
|
|
2672
2669
|
var $concat = callBound('Array.prototype.concat');
|
|
2673
2670
|
var $forEach = callBound('Array.prototype.forEach');
|
|
2674
2671
|
|
|
2675
|
-
var hasSymbols = hasSymbols$
|
|
2672
|
+
var hasSymbols = hasSymbols$3();
|
|
2676
2673
|
|
|
2677
2674
|
var kCustomPromisifiedSymbol = hasSymbols ? Symbol('util.promisify.custom') : null;
|
|
2678
2675
|
var kCustomPromisifyArgsSymbol = hasSymbols ? Symbol('customPromisifyArgs') : null;
|
|
@@ -3650,4 +3647,4 @@ exports.ProcessData = ProcessData_1;
|
|
|
3650
3647
|
exports.ProfileForm = ProfileForm_1;
|
|
3651
3648
|
exports.SignupForm = SignupForm_1;
|
|
3652
3649
|
exports.User = User_1;
|
|
3653
|
-
exports
|
|
3650
|
+
exports.default = auth;
|
package/dist/cjs/AuthWrapper.js
CHANGED
|
@@ -115,9 +115,9 @@ var runtime = (function (exports) {
|
|
|
115
115
|
// This is a polyfill for %IteratorPrototype% for environments that
|
|
116
116
|
// don't natively support it.
|
|
117
117
|
var IteratorPrototype = {};
|
|
118
|
-
|
|
118
|
+
IteratorPrototype[iteratorSymbol] = function () {
|
|
119
119
|
return this;
|
|
120
|
-
}
|
|
120
|
+
};
|
|
121
121
|
|
|
122
122
|
var getProto = Object.getPrototypeOf;
|
|
123
123
|
var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
|
|
@@ -131,9 +131,8 @@ var runtime = (function (exports) {
|
|
|
131
131
|
|
|
132
132
|
var Gp = GeneratorFunctionPrototype.prototype =
|
|
133
133
|
Generator.prototype = Object.create(IteratorPrototype);
|
|
134
|
-
GeneratorFunction.prototype = GeneratorFunctionPrototype;
|
|
135
|
-
|
|
136
|
-
define(GeneratorFunctionPrototype, "constructor", GeneratorFunction);
|
|
134
|
+
GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;
|
|
135
|
+
GeneratorFunctionPrototype.constructor = GeneratorFunction;
|
|
137
136
|
GeneratorFunction.displayName = define(
|
|
138
137
|
GeneratorFunctionPrototype,
|
|
139
138
|
toStringTagSymbol,
|
|
@@ -247,9 +246,9 @@ var runtime = (function (exports) {
|
|
|
247
246
|
}
|
|
248
247
|
|
|
249
248
|
defineIteratorMethods(AsyncIterator.prototype);
|
|
250
|
-
|
|
249
|
+
AsyncIterator.prototype[asyncIteratorSymbol] = function () {
|
|
251
250
|
return this;
|
|
252
|
-
}
|
|
251
|
+
};
|
|
253
252
|
exports.AsyncIterator = AsyncIterator;
|
|
254
253
|
|
|
255
254
|
// Note that simple async functions are implemented on top of
|
|
@@ -442,13 +441,13 @@ var runtime = (function (exports) {
|
|
|
442
441
|
// iterator prototype chain incorrectly implement this, causing the Generator
|
|
443
442
|
// object to not be returned from this call. This ensures that doesn't happen.
|
|
444
443
|
// See https://github.com/facebook/regenerator/issues/274 for more details.
|
|
445
|
-
|
|
444
|
+
Gp[iteratorSymbol] = function() {
|
|
446
445
|
return this;
|
|
447
|
-
}
|
|
446
|
+
};
|
|
448
447
|
|
|
449
|
-
|
|
448
|
+
Gp.toString = function() {
|
|
450
449
|
return "[object Generator]";
|
|
451
|
-
}
|
|
450
|
+
};
|
|
452
451
|
|
|
453
452
|
function pushTryEntry(locs) {
|
|
454
453
|
var entry = { tryLoc: locs[0] };
|
|
@@ -767,19 +766,14 @@ try {
|
|
|
767
766
|
} catch (accidentalStrictMode) {
|
|
768
767
|
// This module should not be running in strict mode, so the above
|
|
769
768
|
// assignment should always work unless something is misconfigured. Just
|
|
770
|
-
// in case runtime.js accidentally runs in strict mode,
|
|
771
|
-
// we can explicitly access globalThis. In older engines we can escape
|
|
769
|
+
// in case runtime.js accidentally runs in strict mode, we can escape
|
|
772
770
|
// strict mode using a global Function call. This could conceivably fail
|
|
773
771
|
// if a Content Security Policy forbids using Function, but in that case
|
|
774
772
|
// the proper solution is to fix the accidental strict mode problem. If
|
|
775
773
|
// you've misconfigured your bundler to force strict mode and applied a
|
|
776
774
|
// CSP to forbid Function, and you're not willing to fix either of those
|
|
777
775
|
// problems, please detail your unique predicament in a GitHub issue.
|
|
778
|
-
|
|
779
|
-
globalThis.regeneratorRuntime = runtime;
|
|
780
|
-
} else {
|
|
781
|
-
Function("r", "regeneratorRuntime = r")(runtime);
|
|
782
|
-
}
|
|
776
|
+
Function("r", "regeneratorRuntime = r")(runtime);
|
|
783
777
|
}
|
|
784
778
|
});
|
|
785
779
|
|
package/dist/cjs/CMEDeck.js
CHANGED
|
@@ -315,11 +315,7 @@ var CMEDeck = function CMEDeck(_ref) {
|
|
|
315
315
|
return React__default['default'].createElement(
|
|
316
316
|
'div',
|
|
317
317
|
{ className: 'd-flex justify-content-between' },
|
|
318
|
-
currentPage
|
|
319
|
-
'a',
|
|
320
|
-
{ href: '?page=' + (currentPage - 1) },
|
|
321
|
-
'<< Previous'
|
|
322
|
-
),
|
|
318
|
+
currentPage > 1 ,
|
|
323
319
|
React__default['default'].createElement(
|
|
324
320
|
'a',
|
|
325
321
|
{ href: '?page=' + (currentPage + 1) },
|
package/dist/cjs/Column1.js
CHANGED
package/dist/cjs/Column2.js
CHANGED
package/dist/cjs/Column3.js
CHANGED