@mjhls/mjh-framework 1.0.982-ptce-profession-v1 → 1.0.982
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 -140
- package/dist/cjs/Auth.js +17 -20
- package/dist/cjs/AuthWrapper.js +12 -18
- package/dist/cjs/CMEDeck.js +1 -5
- package/dist/cjs/Column1.js +1 -1
- package/dist/cjs/Column2.js +1 -1
- package/dist/cjs/Column3.js +1 -1
- package/dist/cjs/ContentCardPaginated.js +2 -1
- package/dist/cjs/DeckQueuePaginated.js +2 -1
- package/dist/cjs/Dfp-9be904d5.js +1 -1
- package/dist/cjs/GridContentPaginated.js +2 -1
- package/dist/cjs/HamMagazine.js +1 -1
- package/dist/cjs/Header.js +1 -1
- package/dist/cjs/LeftNav.js +1 -1
- package/dist/cjs/MasterDeckPaginated.js +2 -1
- package/dist/cjs/{MediaSeriesCard-d6a5fc83.js → MediaSeriesCard-958db77e.js} +42 -64
- package/dist/cjs/MediaSeriesLanding.js +1 -1
- package/dist/cjs/MediaSeriesLandingPaginated.js +3 -2
- 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/PartnerDetailListingPaginated.js +2 -1
- package/dist/cjs/QueueDeckExpandedPaginated.js +2 -1
- package/dist/cjs/View.js +4 -8
- package/dist/cjs/getPtceActivities.js +5 -13
- package/dist/cjs/index.js +1 -0
- 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 -142
- package/dist/esm/AlphabeticList.js +1 -1
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +1 -1
- package/dist/esm/ArticleSeriesLandingPage.js +1 -1
- package/dist/esm/ArticleSeriesListing.js +1 -1
- package/dist/esm/Auth.js +18 -20
- package/dist/esm/AuthWrapper.js +13 -19
- package/dist/esm/Beam.js +1 -1
- package/dist/esm/Breadcrumbs.js +1 -1
- package/dist/esm/CMEDeck.js +2 -6
- package/dist/esm/Column1.js +2 -1
- package/dist/esm/Column2.js +2 -1
- package/dist/esm/Column3.js +2 -1
- package/dist/esm/ConferenceArticleCard.js +1 -1
- package/dist/esm/ContentCardPaginated.js +3 -2
- package/dist/esm/DeckContent.js +1 -1
- package/dist/esm/DeckQueue.js +1 -1
- package/dist/esm/DeckQueuePaginated.js +3 -2
- package/dist/esm/Dfp-102f0beb.js +1 -1
- package/dist/esm/EventsDeck.js +1 -1
- package/dist/esm/ExternalResources.js +1 -1
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/ForbesHero.js +1 -1
- package/dist/esm/GridContent.js +1 -1
- package/dist/esm/GridContentPaginated.js +3 -2
- package/dist/esm/GridHero.js +1 -1
- package/dist/esm/GroupDeck.js +1 -1
- package/dist/esm/HamMagazine.js +2 -1
- package/dist/esm/Header.js +2 -1
- package/dist/esm/HealthCareProfessionalModal.js +1 -1
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HighlightenVideo.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +1 -1
- 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 +1 -1
- package/dist/esm/KMTracker.js +1 -1
- package/dist/esm/LeftNav.js +2 -1
- package/dist/esm/MasterDeck.js +1 -1
- package/dist/esm/MasterDeckPaginated.js +3 -2
- package/dist/esm/{MediaSeriesCard-41efffe9.js → MediaSeriesCard-4279b0c5.js} +42 -64
- package/dist/esm/MediaSeriesLanding.js +2 -2
- package/dist/esm/MediaSeriesLandingPaginated.js +4 -3
- 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 +1 -1
- package/dist/esm/PartnerDetailListingPaginated.js +3 -2
- 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 +1 -1
- package/dist/esm/PubToc.js +1 -1
- package/dist/esm/PublicationDeck.js +1 -1
- package/dist/esm/PublicationLanding.js +1 -1
- package/dist/esm/QueueDeckExpanded.js +1 -1
- package/dist/esm/QueueDeckExpandedPaginated.js +3 -2
- package/dist/esm/RecentNews.js +1 -1
- package/dist/esm/RelatedContent.js +1 -1
- package/dist/esm/RelatedTopicsDropdown.js +1 -1
- package/dist/esm/RolesDeck.js +1 -1
- package/dist/esm/Schema.js +1 -1
- package/dist/esm/Search.js +1 -1
- package/dist/esm/Segment.js +1 -1
- package/dist/esm/SeriesListingDeck.js +1 -1
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +1 -1
- package/dist/esm/SocialIcons.js +1 -1
- package/dist/esm/SocialShare.js +1 -1
- package/dist/esm/TaxonomyCard.js +1 -1
- package/dist/esm/TaxonomyDescription.js +1 -1
- 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 +1 -1
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesFilter.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +1 -1
- package/dist/esm/VideoSeriesListing.js +1 -1
- package/dist/esm/View.js +4 -9
- package/dist/esm/YahooHero.js +1 -1
- package/dist/esm/YoutubeGroup.js +1 -1
- package/dist/esm/getKeywords.js +1 -1
- package/dist/esm/getPtceActivities.js +5 -13
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getRelatedArticle.js +1 -1
- package/dist/esm/getRootDocGroup.js +1 -1
- package/dist/esm/getSeriesDetail.js +1 -1
- package/dist/esm/index.js +1 -0
- 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
|
@@ -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,
|
|
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.
|
|
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.
|
|
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) {
|
|
@@ -7346,21 +7261,15 @@ function hydrateMetadata(resultsState) {
|
|
|
7346
7261
|
|
|
7347
7262
|
return resultsState.metadata.map(function (datum) {
|
|
7348
7263
|
return _objectSpread({
|
|
7349
|
-
value: function value() {
|
|
7350
|
-
return {};
|
|
7351
|
-
}
|
|
7264
|
+
value: function value() {}
|
|
7352
7265
|
}, datum, {
|
|
7353
7266
|
items: datum.items && datum.items.map(function (item) {
|
|
7354
7267
|
return _objectSpread({
|
|
7355
|
-
value: function value() {
|
|
7356
|
-
return {};
|
|
7357
|
-
}
|
|
7268
|
+
value: function value() {}
|
|
7358
7269
|
}, item, {
|
|
7359
7270
|
items: item.items && item.items.map(function (nestedItem) {
|
|
7360
7271
|
return _objectSpread({
|
|
7361
|
-
value: function value() {
|
|
7362
|
-
return {};
|
|
7363
|
-
}
|
|
7272
|
+
value: function value() {}
|
|
7364
7273
|
}, nestedItem);
|
|
7365
7274
|
})
|
|
7366
7275
|
});
|
|
@@ -7916,8 +7825,7 @@ var connectHierarchicalMenu = createConnectorWithContext({
|
|
|
7916
7825
|
showMore: PropTypes.bool,
|
|
7917
7826
|
limit: PropTypes.number,
|
|
7918
7827
|
showMoreLimit: PropTypes.number,
|
|
7919
|
-
transformItems: PropTypes.func
|
|
7920
|
-
facetOrdering: PropTypes.bool
|
|
7828
|
+
transformItems: PropTypes.func
|
|
7921
7829
|
},
|
|
7922
7830
|
defaultProps: {
|
|
7923
7831
|
showMore: false,
|
|
@@ -7925,14 +7833,12 @@ var connectHierarchicalMenu = createConnectorWithContext({
|
|
|
7925
7833
|
showMoreLimit: 20,
|
|
7926
7834
|
separator: ' > ',
|
|
7927
7835
|
rootPath: null,
|
|
7928
|
-
showParentLevel: true
|
|
7929
|
-
facetOrdering: true
|
|
7836
|
+
showParentLevel: true
|
|
7930
7837
|
},
|
|
7931
7838
|
getProvidedProps: function getProvidedProps(props, searchState, searchResults) {
|
|
7932
7839
|
var showMore = props.showMore,
|
|
7933
7840
|
limit = props.limit,
|
|
7934
|
-
showMoreLimit = props.showMoreLimit
|
|
7935
|
-
facetOrdering = props.facetOrdering;
|
|
7841
|
+
showMoreLimit = props.showMoreLimit;
|
|
7936
7842
|
var id = getId$c(props);
|
|
7937
7843
|
var results = getResults(searchResults, {
|
|
7938
7844
|
ais: props.contextValue,
|
|
@@ -7953,8 +7859,7 @@ var connectHierarchicalMenu = createConnectorWithContext({
|
|
|
7953
7859
|
|
|
7954
7860
|
var itemsLimit = showMore ? showMoreLimit : limit;
|
|
7955
7861
|
var value = results.getFacetValues(id, {
|
|
7956
|
-
sortBy: sortBy$1
|
|
7957
|
-
facetOrdering: facetOrdering
|
|
7862
|
+
sortBy: sortBy$1
|
|
7958
7863
|
});
|
|
7959
7864
|
var items = value.data ? transformValue(value.data, props, searchState, {
|
|
7960
7865
|
ais: props.contextValue,
|
|
@@ -8506,20 +8411,17 @@ var connectMenu = createConnectorWithContext({
|
|
|
8506
8411
|
showMoreLimit: PropTypes.number,
|
|
8507
8412
|
defaultRefinement: PropTypes.string,
|
|
8508
8413
|
transformItems: PropTypes.func,
|
|
8509
|
-
searchable: PropTypes.bool
|
|
8510
|
-
facetOrdering: PropTypes.bool
|
|
8414
|
+
searchable: PropTypes.bool
|
|
8511
8415
|
},
|
|
8512
8416
|
defaultProps: {
|
|
8513
8417
|
showMore: false,
|
|
8514
8418
|
limit: 10,
|
|
8515
|
-
showMoreLimit: 20
|
|
8516
|
-
facetOrdering: true
|
|
8419
|
+
showMoreLimit: 20
|
|
8517
8420
|
},
|
|
8518
8421
|
getProvidedProps: function getProvidedProps(props, searchState, searchResults, meta, searchForFacetValuesResults) {
|
|
8519
8422
|
var attribute = props.attribute,
|
|
8520
8423
|
searchable = props.searchable,
|
|
8521
|
-
indexContextValue = props.indexContextValue
|
|
8522
|
-
facetOrdering = props.facetOrdering;
|
|
8424
|
+
indexContextValue = props.indexContextValue;
|
|
8523
8425
|
var results = getResults(searchResults, {
|
|
8524
8426
|
ais: props.contextValue,
|
|
8525
8427
|
multiIndexContext: props.indexContextValue
|
|
@@ -8565,8 +8467,7 @@ var connectMenu = createConnectorWithContext({
|
|
|
8565
8467
|
});
|
|
8566
8468
|
} else {
|
|
8567
8469
|
items = results.getFacetValues(attribute, {
|
|
8568
|
-
sortBy: searchable ? undefined : defaultSortBy
|
|
8569
|
-
facetOrdering: facetOrdering
|
|
8470
|
+
sortBy: searchable ? undefined : defaultSortBy
|
|
8570
8471
|
}).map(function (v) {
|
|
8571
8472
|
return {
|
|
8572
8473
|
label: v.name,
|
|
@@ -9423,21 +9324,18 @@ var connectRefinementList = createConnectorWithContext({
|
|
|
9423
9324
|
showMoreLimit: PropTypes.number,
|
|
9424
9325
|
defaultRefinement: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number])),
|
|
9425
9326
|
searchable: PropTypes.bool,
|
|
9426
|
-
transformItems: PropTypes.func
|
|
9427
|
-
facetOrdering: PropTypes.bool
|
|
9327
|
+
transformItems: PropTypes.func
|
|
9428
9328
|
},
|
|
9429
9329
|
defaultProps: {
|
|
9430
9330
|
operator: 'or',
|
|
9431
9331
|
showMore: false,
|
|
9432
9332
|
limit: 10,
|
|
9433
|
-
showMoreLimit: 20
|
|
9434
|
-
facetOrdering: true
|
|
9333
|
+
showMoreLimit: 20
|
|
9435
9334
|
},
|
|
9436
9335
|
getProvidedProps: function getProvidedProps(props, searchState, searchResults, metadata, searchForFacetValuesResults) {
|
|
9437
9336
|
var attribute = props.attribute,
|
|
9438
9337
|
searchable = props.searchable,
|
|
9439
|
-
indexContextValue = props.indexContextValue
|
|
9440
|
-
facetOrdering = props.facetOrdering;
|
|
9338
|
+
indexContextValue = props.indexContextValue;
|
|
9441
9339
|
var results = getResults(searchResults, {
|
|
9442
9340
|
ais: props.contextValue,
|
|
9443
9341
|
multiIndexContext: props.indexContextValue
|
|
@@ -9478,8 +9376,7 @@ var connectRefinementList = createConnectorWithContext({
|
|
|
9478
9376
|
isRefined: v.isRefined
|
|
9479
9377
|
};
|
|
9480
9378
|
}) : results.getFacetValues(attribute, {
|
|
9481
|
-
sortBy: sortBy
|
|
9482
|
-
facetOrdering: facetOrdering
|
|
9379
|
+
sortBy: sortBy
|
|
9483
9380
|
}).map(function (v) {
|
|
9484
9381
|
return {
|
|
9485
9382
|
label: v.name,
|
|
@@ -10979,7 +10876,6 @@ function (_Component) {
|
|
|
10979
10876
|
|
|
10980
10877
|
var _this$props4 = this.props,
|
|
10981
10878
|
className = _this$props4.className,
|
|
10982
|
-
inputId = _this$props4.inputId,
|
|
10983
10879
|
translate = _this$props4.translate,
|
|
10984
10880
|
autoFocus = _this$props4.autoFocus,
|
|
10985
10881
|
loadingIndicator = _this$props4.loadingIndicator,
|
|
@@ -11007,7 +10903,6 @@ function (_Component) {
|
|
|
11007
10903
|
role: "search"
|
|
11008
10904
|
}, React__default.createElement("input", _extends({
|
|
11009
10905
|
ref: this.onInputMount,
|
|
11010
|
-
id: inputId,
|
|
11011
10906
|
type: "search",
|
|
11012
10907
|
placeholder: translate('placeholder'),
|
|
11013
10908
|
autoFocus: autoFocus,
|
|
@@ -11059,8 +10954,7 @@ _defineProperty(SearchBox$1, "propTypes", {
|
|
|
11059
10954
|
showLoadingIndicator: PropTypes.bool,
|
|
11060
10955
|
inputRef: PropTypes.oneOfType([PropTypes.func, PropTypes.exact({
|
|
11061
10956
|
current: PropTypes.object
|
|
11062
|
-
})])
|
|
11063
|
-
inputId: PropTypes.string
|
|
10957
|
+
})])
|
|
11064
10958
|
});
|
|
11065
10959
|
|
|
11066
10960
|
_defineProperty(SearchBox$1, "defaultProps", {
|
|
@@ -11699,11 +11593,9 @@ function (_Component) {
|
|
|
11699
11593
|
value: function render() {
|
|
11700
11594
|
var _this$props = this.props,
|
|
11701
11595
|
cx = _this$props.cx,
|
|
11702
|
-
id = _this$props.id,
|
|
11703
11596
|
items = _this$props.items,
|
|
11704
11597
|
selectedItem = _this$props.selectedItem;
|
|
11705
11598
|
return React__default.createElement("select", {
|
|
11706
|
-
id: id,
|
|
11707
11599
|
className: cx('select'),
|
|
11708
11600
|
value: selectedItem,
|
|
11709
11601
|
onChange: this.onChange
|
|
@@ -11723,7 +11615,6 @@ function (_Component) {
|
|
|
11723
11615
|
|
|
11724
11616
|
_defineProperty(Select, "propTypes", {
|
|
11725
11617
|
cx: PropTypes.func.isRequired,
|
|
11726
|
-
id: PropTypes.string,
|
|
11727
11618
|
onSelect: PropTypes.func.isRequired,
|
|
11728
11619
|
items: PropTypes.arrayOf(PropTypes.shape({
|
|
11729
11620
|
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,
|
|
@@ -11751,7 +11642,6 @@ function (_Component) {
|
|
|
11751
11642
|
key: "render",
|
|
11752
11643
|
value: function render() {
|
|
11753
11644
|
var _this$props = this.props,
|
|
11754
|
-
id = _this$props.id,
|
|
11755
11645
|
items = _this$props.items,
|
|
11756
11646
|
currentRefinement = _this$props.currentRefinement,
|
|
11757
11647
|
refine = _this$props.refine,
|
|
@@ -11759,7 +11649,6 @@ function (_Component) {
|
|
|
11759
11649
|
return React__default.createElement("div", {
|
|
11760
11650
|
className: classnames(cx$h(''), className)
|
|
11761
11651
|
}, React__default.createElement(Select, {
|
|
11762
|
-
id: id,
|
|
11763
11652
|
onSelect: refine,
|
|
11764
11653
|
selectedItem: currentRefinement,
|
|
11765
11654
|
items: items,
|
|
@@ -11772,7 +11661,6 @@ function (_Component) {
|
|
|
11772
11661
|
}(Component);
|
|
11773
11662
|
|
|
11774
11663
|
_defineProperty(HitsPerPage, "propTypes", {
|
|
11775
|
-
id: PropTypes.string,
|
|
11776
11664
|
items: PropTypes.arrayOf(PropTypes.shape({
|
|
11777
11665
|
value: PropTypes.number.isRequired,
|
|
11778
11666
|
label: PropTypes.string
|
|
@@ -11795,7 +11683,6 @@ _defineProperty(HitsPerPage, "defaultProps", {
|
|
|
11795
11683
|
*
|
|
11796
11684
|
* @name HitsPerPage
|
|
11797
11685
|
* @kind widget
|
|
11798
|
-
* @propType {string} id - The id of the select input
|
|
11799
11686
|
* @propType {{value: number, label: string}[]} items - List of available options.
|
|
11800
11687
|
* @propType {number} defaultRefinement - The number of items selected by default
|
|
11801
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.
|
|
@@ -12164,7 +12051,6 @@ function (_Component) {
|
|
|
12164
12051
|
key: "render",
|
|
12165
12052
|
value: function render() {
|
|
12166
12053
|
var _this$props = this.props,
|
|
12167
|
-
id = _this$props.id,
|
|
12168
12054
|
items = _this$props.items,
|
|
12169
12055
|
canRefine = _this$props.canRefine,
|
|
12170
12056
|
translate = _this$props.translate,
|
|
@@ -12172,7 +12058,6 @@ function (_Component) {
|
|
|
12172
12058
|
return React__default.createElement("div", {
|
|
12173
12059
|
className: classnames(cx$e('', !canRefine && '-noRefinement'), className)
|
|
12174
12060
|
}, React__default.createElement("select", {
|
|
12175
|
-
id: id,
|
|
12176
12061
|
value: this.selectedValue,
|
|
12177
12062
|
onChange: this.handleSelectChange,
|
|
12178
12063
|
className: cx$e('select')
|
|
@@ -12205,7 +12090,6 @@ function (_Component) {
|
|
|
12205
12090
|
}(Component);
|
|
12206
12091
|
|
|
12207
12092
|
_defineProperty(MenuSelect, "propTypes", {
|
|
12208
|
-
id: PropTypes.string,
|
|
12209
12093
|
items: PropTypes.arrayOf(PropTypes.shape({
|
|
12210
12094
|
label: PropTypes.string.isRequired,
|
|
12211
12095
|
value: PropTypes.string.isRequired,
|
|
@@ -12232,7 +12116,6 @@ var MenuSelect$1 = translatable({
|
|
|
12232
12116
|
* @kind widget
|
|
12233
12117
|
* @requirements The attribute passed to the `attribute` prop must be present in "attributes for faceting"
|
|
12234
12118
|
* on the Algolia dashboard or configured as `attributesForFaceting` via a set settings call to the Algolia API.
|
|
12235
|
-
* @propType {string} id - the id of the select input
|
|
12236
12119
|
* @propType {string} attribute - the name of the attribute in the record
|
|
12237
12120
|
* @propType {string} [defaultRefinement] - the value of the item selected by default
|
|
12238
12121
|
* @propType {number} [limit=10] - the minimum number of diplayed items
|
|
@@ -13564,7 +13447,6 @@ connectScrollTo(ScrollTo);
|
|
|
13564
13447
|
* @propType {node} [reset] - Change the apparence of the default reset button (cross).
|
|
13565
13448
|
* @propType {node} [loadingIndicator] - Change the apparence of the default loading indicator (spinning circle).
|
|
13566
13449
|
* @propType {string} [defaultRefinement] - Provide default refinement value when component is mounted.
|
|
13567
|
-
* @propType {string} [inputId] - The id of the search input
|
|
13568
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.
|
|
13569
13451
|
* @themeKey ais-SearchBox - the root div of the widget
|
|
13570
13452
|
* @themeKey ais-SearchBox-form - the wrapping form
|
|
@@ -13715,7 +13597,6 @@ function (_Component) {
|
|
|
13715
13597
|
key: "render",
|
|
13716
13598
|
value: function render() {
|
|
13717
13599
|
var _this$props = this.props,
|
|
13718
|
-
id = _this$props.id,
|
|
13719
13600
|
items = _this$props.items,
|
|
13720
13601
|
currentRefinement = _this$props.currentRefinement,
|
|
13721
13602
|
refine = _this$props.refine,
|
|
@@ -13723,7 +13604,6 @@ function (_Component) {
|
|
|
13723
13604
|
return React__default.createElement("div", {
|
|
13724
13605
|
className: classnames(cx$4(''), className)
|
|
13725
13606
|
}, React__default.createElement(Select, {
|
|
13726
|
-
id: id,
|
|
13727
13607
|
cx: cx$4,
|
|
13728
13608
|
items: items,
|
|
13729
13609
|
selectedItem: currentRefinement,
|
|
@@ -13736,7 +13616,6 @@ function (_Component) {
|
|
|
13736
13616
|
}(Component);
|
|
13737
13617
|
|
|
13738
13618
|
_defineProperty(SortBy, "propTypes", {
|
|
13739
|
-
id: PropTypes.string,
|
|
13740
13619
|
items: PropTypes.arrayOf(PropTypes.shape({
|
|
13741
13620
|
label: PropTypes.string,
|
|
13742
13621
|
value: PropTypes.string.isRequired
|
|
@@ -13756,7 +13635,6 @@ _defineProperty(SortBy, "defaultProps", {
|
|
|
13756
13635
|
* @requirements Algolia handles sorting by creating replica indices. [Read more about sorting](https://www.algolia.com/doc/guides/relevance/sorting/) on
|
|
13757
13636
|
* the Algolia website.
|
|
13758
13637
|
* @kind widget
|
|
13759
|
-
* @propType {string} id - The id of the select input
|
|
13760
13638
|
* @propType {{value: string, label: string}[]} items - The list of indexes to search in.
|
|
13761
13639
|
* @propType {string} defaultRefinement - The default selected index.
|
|
13762
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.
|
|
@@ -14454,4 +14332,4 @@ AlgoliaSearch.propTypes = {
|
|
|
14454
14332
|
refinementAttributes: PropTypes.array
|
|
14455
14333
|
};
|
|
14456
14334
|
|
|
14457
|
-
export
|
|
14335
|
+
export default AlgoliaSearch;
|
package/dist/esm/Auth.js
CHANGED
|
@@ -1479,7 +1479,7 @@ keysShim.shim = function shimObjectKeys() {
|
|
|
1479
1479
|
|
|
1480
1480
|
var objectKeys = keysShim;
|
|
1481
1481
|
|
|
1482
|
-
var hasSymbols$
|
|
1482
|
+
var hasSymbols$4 = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';
|
|
1483
1483
|
|
|
1484
1484
|
var toStr$3 = Object.prototype.toString;
|
|
1485
1485
|
var concat = Array.prototype.concat;
|
|
@@ -1523,7 +1523,7 @@ var defineProperty = function (object, name, value, predicate) {
|
|
|
1523
1523
|
var defineProperties = function (object, map) {
|
|
1524
1524
|
var predicates = arguments.length > 2 ? arguments[2] : {};
|
|
1525
1525
|
var props = objectKeys(map);
|
|
1526
|
-
if (hasSymbols$
|
|
1526
|
+
if (hasSymbols$4) {
|
|
1527
1527
|
props = concat.call(props, Object.getOwnPropertySymbols(map));
|
|
1528
1528
|
}
|
|
1529
1529
|
for (var i = 0; i < props.length; i += 1) {
|
|
@@ -1589,7 +1589,7 @@ var implementation$2 = function bind(that) {
|
|
|
1589
1589
|
var functionBind = Function.prototype.bind || implementation$2;
|
|
1590
1590
|
|
|
1591
1591
|
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
1592
|
-
var shams
|
|
1592
|
+
var shams = function hasSymbols() {
|
|
1593
1593
|
if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
|
|
1594
1594
|
if (typeof Symbol.iterator === 'symbol') { return true; }
|
|
1595
1595
|
|
|
@@ -1632,13 +1632,13 @@ var shams$1 = function hasSymbols() {
|
|
|
1632
1632
|
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
1633
1633
|
|
|
1634
1634
|
|
|
1635
|
-
var hasSymbols$
|
|
1635
|
+
var hasSymbols$3 = function hasNativeSymbols() {
|
|
1636
1636
|
if (typeof origSymbol !== 'function') { return false; }
|
|
1637
1637
|
if (typeof Symbol !== 'function') { return false; }
|
|
1638
1638
|
if (typeof origSymbol('foo') !== 'symbol') { return false; }
|
|
1639
1639
|
if (typeof Symbol('bar') !== 'symbol') { return false; }
|
|
1640
1640
|
|
|
1641
|
-
return shams
|
|
1641
|
+
return shams();
|
|
1642
1642
|
};
|
|
1643
1643
|
|
|
1644
1644
|
var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
|
|
@@ -1685,7 +1685,7 @@ var ThrowTypeError = $gOPD$2
|
|
|
1685
1685
|
}())
|
|
1686
1686
|
: throwTypeError;
|
|
1687
1687
|
|
|
1688
|
-
var hasSymbols$
|
|
1688
|
+
var hasSymbols$2 = hasSymbols$3();
|
|
1689
1689
|
|
|
1690
1690
|
var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
|
|
1691
1691
|
|
|
@@ -1697,7 +1697,7 @@ var INTRINSICS = {
|
|
|
1697
1697
|
'%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,
|
|
1698
1698
|
'%Array%': Array,
|
|
1699
1699
|
'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,
|
|
1700
|
-
'%ArrayIteratorPrototype%': hasSymbols$
|
|
1700
|
+
'%ArrayIteratorPrototype%': hasSymbols$2 ? getProto([][Symbol.iterator]()) : undefined$1,
|
|
1701
1701
|
'%AsyncFromSyncIteratorPrototype%': undefined$1,
|
|
1702
1702
|
'%AsyncFunction%': needsEval,
|
|
1703
1703
|
'%AsyncGenerator%': needsEval,
|
|
@@ -1725,10 +1725,10 @@ var INTRINSICS = {
|
|
|
1725
1725
|
'%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,
|
|
1726
1726
|
'%isFinite%': isFinite,
|
|
1727
1727
|
'%isNaN%': isNaN,
|
|
1728
|
-
'%IteratorPrototype%': hasSymbols$
|
|
1728
|
+
'%IteratorPrototype%': hasSymbols$2 ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
|
|
1729
1729
|
'%JSON%': typeof JSON === 'object' ? JSON : undefined$1,
|
|
1730
1730
|
'%Map%': typeof Map === 'undefined' ? undefined$1 : Map,
|
|
1731
|
-
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$
|
|
1731
|
+
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Map()[Symbol.iterator]()),
|
|
1732
1732
|
'%Math%': Math,
|
|
1733
1733
|
'%Number%': Number,
|
|
1734
1734
|
'%Object%': Object,
|
|
@@ -1741,11 +1741,11 @@ var INTRINSICS = {
|
|
|
1741
1741
|
'%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,
|
|
1742
1742
|
'%RegExp%': RegExp,
|
|
1743
1743
|
'%Set%': typeof Set === 'undefined' ? undefined$1 : Set,
|
|
1744
|
-
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$
|
|
1744
|
+
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Set()[Symbol.iterator]()),
|
|
1745
1745
|
'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,
|
|
1746
1746
|
'%String%': String,
|
|
1747
|
-
'%StringIteratorPrototype%': hasSymbols$
|
|
1748
|
-
'%Symbol%': hasSymbols$
|
|
1747
|
+
'%StringIteratorPrototype%': hasSymbols$2 ? getProto(''[Symbol.iterator]()) : undefined$1,
|
|
1748
|
+
'%Symbol%': hasSymbols$2 ? Symbol : undefined$1,
|
|
1749
1749
|
'%SyntaxError%': $SyntaxError$1,
|
|
1750
1750
|
'%ThrowTypeError%': ThrowTypeError,
|
|
1751
1751
|
'%TypedArray%': TypedArray,
|
|
@@ -2214,11 +2214,8 @@ var IsPropertyKey = function IsPropertyKey(argument) {
|
|
|
2214
2214
|
return typeof argument === 'string' || typeof argument === 'symbol';
|
|
2215
2215
|
};
|
|
2216
2216
|
|
|
2217
|
-
var
|
|
2218
|
-
|
|
2219
|
-
};
|
|
2220
|
-
|
|
2221
|
-
var hasToStringTag$1 = shams();
|
|
2217
|
+
var hasSymbols$1 = shams();
|
|
2218
|
+
var hasToStringTag$1 = hasSymbols$1 && !!Symbol.toStringTag;
|
|
2222
2219
|
var has;
|
|
2223
2220
|
var $exec;
|
|
2224
2221
|
var isRegexMarker;
|
|
@@ -2344,7 +2341,7 @@ var tryFunctionObject = function tryFunctionToStr(value) {
|
|
|
2344
2341
|
var toStr = Object.prototype.toString;
|
|
2345
2342
|
var fnClass = '[object Function]';
|
|
2346
2343
|
var genClass = '[object GeneratorFunction]';
|
|
2347
|
-
var hasToStringTag = typeof Symbol === 'function' &&
|
|
2344
|
+
var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
|
|
2348
2345
|
/* globals document: false */
|
|
2349
2346
|
var documentDotAll = typeof document === 'object' && typeof document.all === 'undefined' && document.all !== undefined ? document.all : {};
|
|
2350
2347
|
|
|
@@ -2660,7 +2657,7 @@ var $slice = callBound('Array.prototype.slice');
|
|
|
2660
2657
|
var $concat = callBound('Array.prototype.concat');
|
|
2661
2658
|
var $forEach = callBound('Array.prototype.forEach');
|
|
2662
2659
|
|
|
2663
|
-
var hasSymbols = hasSymbols$
|
|
2660
|
+
var hasSymbols = hasSymbols$3();
|
|
2664
2661
|
|
|
2665
2662
|
var kCustomPromisifiedSymbol = hasSymbols ? Symbol('util.promisify.custom') : null;
|
|
2666
2663
|
var kCustomPromisifyArgsSymbol = hasSymbols ? Symbol('customPromisifyArgs') : null;
|
|
@@ -3629,4 +3626,5 @@ var auth = {
|
|
|
3629
3626
|
ProcessData: ProcessData_1
|
|
3630
3627
|
};
|
|
3631
3628
|
|
|
3632
|
-
export
|
|
3629
|
+
export default auth;
|
|
3630
|
+
export { AuthCookies_1 as AuthCookies, AuthHooks_1 as AuthHooks, Iron_1 as Iron, LoginForm_1 as LoginForm, PassportLocal_1 as PassportLocal, ProcessData_1 as ProcessData, ProfileForm_1 as ProfileForm, SignupForm_1 as SignupForm, User_1 as User };
|
package/dist/esm/AuthWrapper.js
CHANGED
|
@@ -109,9 +109,9 @@ var runtime = (function (exports) {
|
|
|
109
109
|
// This is a polyfill for %IteratorPrototype% for environments that
|
|
110
110
|
// don't natively support it.
|
|
111
111
|
var IteratorPrototype = {};
|
|
112
|
-
|
|
112
|
+
IteratorPrototype[iteratorSymbol] = function () {
|
|
113
113
|
return this;
|
|
114
|
-
}
|
|
114
|
+
};
|
|
115
115
|
|
|
116
116
|
var getProto = Object.getPrototypeOf;
|
|
117
117
|
var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
|
|
@@ -125,9 +125,8 @@ var runtime = (function (exports) {
|
|
|
125
125
|
|
|
126
126
|
var Gp = GeneratorFunctionPrototype.prototype =
|
|
127
127
|
Generator.prototype = Object.create(IteratorPrototype);
|
|
128
|
-
GeneratorFunction.prototype = GeneratorFunctionPrototype;
|
|
129
|
-
|
|
130
|
-
define(GeneratorFunctionPrototype, "constructor", GeneratorFunction);
|
|
128
|
+
GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;
|
|
129
|
+
GeneratorFunctionPrototype.constructor = GeneratorFunction;
|
|
131
130
|
GeneratorFunction.displayName = define(
|
|
132
131
|
GeneratorFunctionPrototype,
|
|
133
132
|
toStringTagSymbol,
|
|
@@ -241,9 +240,9 @@ var runtime = (function (exports) {
|
|
|
241
240
|
}
|
|
242
241
|
|
|
243
242
|
defineIteratorMethods(AsyncIterator.prototype);
|
|
244
|
-
|
|
243
|
+
AsyncIterator.prototype[asyncIteratorSymbol] = function () {
|
|
245
244
|
return this;
|
|
246
|
-
}
|
|
245
|
+
};
|
|
247
246
|
exports.AsyncIterator = AsyncIterator;
|
|
248
247
|
|
|
249
248
|
// Note that simple async functions are implemented on top of
|
|
@@ -436,13 +435,13 @@ var runtime = (function (exports) {
|
|
|
436
435
|
// iterator prototype chain incorrectly implement this, causing the Generator
|
|
437
436
|
// object to not be returned from this call. This ensures that doesn't happen.
|
|
438
437
|
// See https://github.com/facebook/regenerator/issues/274 for more details.
|
|
439
|
-
|
|
438
|
+
Gp[iteratorSymbol] = function() {
|
|
440
439
|
return this;
|
|
441
|
-
}
|
|
440
|
+
};
|
|
442
441
|
|
|
443
|
-
|
|
442
|
+
Gp.toString = function() {
|
|
444
443
|
return "[object Generator]";
|
|
445
|
-
}
|
|
444
|
+
};
|
|
446
445
|
|
|
447
446
|
function pushTryEntry(locs) {
|
|
448
447
|
var entry = { tryLoc: locs[0] };
|
|
@@ -761,19 +760,14 @@ try {
|
|
|
761
760
|
} catch (accidentalStrictMode) {
|
|
762
761
|
// This module should not be running in strict mode, so the above
|
|
763
762
|
// assignment should always work unless something is misconfigured. Just
|
|
764
|
-
// in case runtime.js accidentally runs in strict mode,
|
|
765
|
-
// we can explicitly access globalThis. In older engines we can escape
|
|
763
|
+
// in case runtime.js accidentally runs in strict mode, we can escape
|
|
766
764
|
// strict mode using a global Function call. This could conceivably fail
|
|
767
765
|
// if a Content Security Policy forbids using Function, but in that case
|
|
768
766
|
// the proper solution is to fix the accidental strict mode problem. If
|
|
769
767
|
// you've misconfigured your bundler to force strict mode and applied a
|
|
770
768
|
// CSP to forbid Function, and you're not willing to fix either of those
|
|
771
769
|
// problems, please detail your unique predicament in a GitHub issue.
|
|
772
|
-
|
|
773
|
-
globalThis.regeneratorRuntime = runtime;
|
|
774
|
-
} else {
|
|
775
|
-
Function("r", "regeneratorRuntime = r")(runtime);
|
|
776
|
-
}
|
|
770
|
+
Function("r", "regeneratorRuntime = r")(runtime);
|
|
777
771
|
}
|
|
778
772
|
});
|
|
779
773
|
|
|
@@ -1893,4 +1887,4 @@ var AuthWrapper = function AuthWrapper(_ref) {
|
|
|
1893
1887
|
}
|
|
1894
1888
|
};
|
|
1895
1889
|
|
|
1896
|
-
export
|
|
1890
|
+
export default AuthWrapper;
|
package/dist/esm/Beam.js
CHANGED
package/dist/esm/Breadcrumbs.js
CHANGED
package/dist/esm/CMEDeck.js
CHANGED
|
@@ -309,11 +309,7 @@ var CMEDeck = function CMEDeck(_ref) {
|
|
|
309
309
|
return React__default.createElement(
|
|
310
310
|
'div',
|
|
311
311
|
{ className: 'd-flex justify-content-between' },
|
|
312
|
-
currentPage
|
|
313
|
-
'a',
|
|
314
|
-
{ href: '?page=' + (currentPage - 1) },
|
|
315
|
-
'<< Previous'
|
|
316
|
-
),
|
|
312
|
+
currentPage > 1 ,
|
|
317
313
|
React__default.createElement(
|
|
318
314
|
'a',
|
|
319
315
|
{ href: '?page=' + (currentPage + 1) },
|
|
@@ -439,4 +435,4 @@ var CMEDeck = function CMEDeck(_ref) {
|
|
|
439
435
|
}
|
|
440
436
|
};
|
|
441
437
|
|
|
442
|
-
export
|
|
438
|
+
export default CMEDeck;
|