@mjhls/mjh-framework 1.0.961 → 1.0.963-audio-autoplay-v1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +168 -168
- package/dist/cjs/AD300x250.js +1 -2
- package/dist/cjs/AD300x250x600.js +1 -2
- package/dist/cjs/AD728x90.js +1 -2
- package/dist/cjs/ADFloatingFooter.js +1 -2
- package/dist/cjs/ADGutter.js +1 -2
- package/dist/cjs/ADSkyscraper.js +1 -2
- package/dist/cjs/ADSponsoredResources.js +1 -2
- package/dist/cjs/ADWebcast.js +1 -2
- package/dist/cjs/ADWelcome.js +1 -2
- package/dist/cjs/AdSlot.js +1 -2
- package/dist/cjs/AlgoliaSearch.js +132 -17
- package/dist/cjs/AlphabeticList.js +1 -2
- package/dist/cjs/ArticleCarousel.js +1 -2
- package/dist/cjs/ArticleProgramLandingPage.js +2 -3
- package/dist/cjs/ArticleSeriesLandingPage.js +3 -4
- package/dist/cjs/ArticleSeriesListing.js +1 -2
- package/dist/cjs/Auth.js +1 -2
- package/dist/cjs/AuthWrapper.js +1 -1
- package/dist/cjs/Beam.js +0 -2
- package/dist/cjs/Column2.js +0 -2
- package/dist/cjs/Column3.js +1 -2
- package/dist/cjs/ConferenceArticleCard.js +15 -15
- package/dist/cjs/ContentCardPaginated.js +3 -5
- package/dist/cjs/DeckContent.js +10 -11
- package/dist/cjs/DeckQueue.js +1 -2
- package/dist/cjs/DeckQueuePaginated.js +2 -4
- package/dist/cjs/EventsDeck.js +18 -19
- package/dist/cjs/ExternalResources.js +2 -3
- package/dist/cjs/GridContent.js +3 -4
- package/dist/cjs/GridContentPaginated.js +4 -6
- package/dist/cjs/HamMagazine.js +9 -11
- package/dist/cjs/HealthCareProfessionalModal.js +1 -1
- package/dist/cjs/HorizontalArticleListing.js +2 -3
- package/dist/cjs/IssueDeck.js +1 -2
- package/dist/cjs/IssueLanding.js +33 -34
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +1 -2
- package/dist/cjs/MasterDeck.js +11 -12
- package/dist/cjs/MasterDeckPaginated.js +12 -14
- package/dist/cjs/{MediaSeriesCard-84d71bc0.js → MediaSeriesCard-abbaf26f.js} +2 -2
- package/dist/cjs/MediaSeriesLanding.js +10 -11
- package/dist/cjs/MediaSeriesLandingPaginated.js +11 -13
- package/dist/cjs/NavDvm.js +0 -2
- package/dist/cjs/NavMagazine.js +10 -12
- package/dist/cjs/NavNative.js +9 -11
- package/dist/cjs/Pagination-30bb1ca1.js +97 -0
- package/dist/cjs/PartnerDetailListing.js +4 -5
- package/dist/cjs/PartnerDetailListingPaginated.js +5 -7
- package/dist/cjs/PubSection.js +3 -4
- package/dist/cjs/PublicationLanding.js +27 -28
- package/dist/cjs/QueueDeckExpanded.js +3 -4
- package/dist/cjs/QueueDeckExpandedPaginated.js +4 -6
- package/dist/cjs/RelatedContent.js +28 -28
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/Schema.js +1 -2
- package/dist/cjs/Segment.js +14 -3
- package/dist/cjs/SeriesListingDeck.js +2 -3
- package/dist/cjs/{SeriesSlider-594b19eb.js → SeriesSlider-74546d19.js} +4 -4
- package/dist/cjs/SideFooter.js +2 -4
- package/dist/cjs/TaxonomyCard.js +1 -2
- package/dist/cjs/TaxonomyDescription.js +4 -5
- package/dist/cjs/TemplateNormal.js +1 -2
- package/dist/cjs/VideoProgramLandingPage.js +2 -3
- package/dist/cjs/VideoSeriesCard.js +1 -1
- package/dist/cjs/VideoSeriesLandingPage.js +3 -4
- package/dist/cjs/VideoSeriesListing.js +1 -2
- package/dist/cjs/View.js +16 -13
- package/dist/cjs/YoutubeGroup.js +4 -4
- package/dist/cjs/{assign-a0df1a53.js → extends-7c86182f.js} +29 -1
- package/dist/cjs/getSerializers.js +2 -3
- package/dist/cjs/{getTargeting-232688b0.js → getTargeting-dab97fe1.js} +10 -10
- package/dist/cjs/getTargeting.js +2 -3
- package/dist/cjs/{index-14f52b20.js → index-76862c47.js} +2 -2
- package/dist/cjs/index.js +6 -8
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +7 -8
- package/dist/esm/AD300x250x600.js +7 -8
- package/dist/esm/AD728x90.js +7 -8
- package/dist/esm/ADFloatingFooter.js +7 -8
- package/dist/esm/ADFooter.js +3 -3
- package/dist/esm/ADGutter.js +7 -8
- package/dist/esm/{ADInfeed-c977de2e.js → ADInfeed-6d1fc6bf.js} +1 -1
- package/dist/esm/ADSkyscraper.js +7 -8
- package/dist/esm/ADSponsoredResources.js +7 -8
- package/dist/esm/ADWebcast.js +7 -8
- package/dist/esm/ADWelcome.js +7 -8
- package/dist/esm/{ADlgInfeed-59c5eb30.js → ADlgInfeed-dc36c928.js} +1 -1
- package/dist/esm/AccordionPanel.js +3 -3
- package/dist/esm/AdSlot.js +7 -8
- package/dist/esm/AdSlotsProvider.js +5 -5
- package/dist/esm/AlgoliaSearch.js +141 -26
- package/dist/esm/AlphabeticList.js +6 -7
- package/dist/esm/ArticleCarousel.js +4 -5
- package/dist/esm/ArticleProgramLandingPage.js +16 -17
- package/dist/esm/ArticleSeriesLandingPage.js +15 -16
- package/dist/esm/ArticleSeriesListing.js +9 -10
- package/dist/esm/Auth.js +7 -8
- package/dist/esm/AuthWrapper.js +4 -4
- package/dist/esm/{AuthorComponent-0ee8667f.js → AuthorComponent-11adff02.js} +1 -1
- package/dist/esm/Beam.js +5 -7
- package/dist/esm/Breadcrumbs.js +3 -3
- package/dist/esm/CMEDeck.js +7 -7
- package/dist/esm/Column2.js +6 -8
- package/dist/esm/Column3.js +9 -10
- package/dist/esm/ConferenceArticleCard.js +18 -18
- package/dist/esm/ContentCardPaginated.js +15 -17
- package/dist/esm/DeckContent.js +22 -23
- package/dist/esm/DeckQueue.js +11 -12
- package/dist/esm/DeckQueuePaginated.js +13 -15
- package/dist/esm/{Dfp-08c829a1.js → Dfp-102f0beb.js} +3 -3
- package/dist/esm/EventsDeck.js +27 -28
- package/dist/esm/ExternalResources.js +16 -17
- package/dist/esm/Feature.js +3 -3
- package/dist/esm/ForbesHero.js +4 -4
- package/dist/esm/GridContent.js +17 -18
- package/dist/esm/GridContentPaginated.js +18 -20
- package/dist/esm/GridHero.js +4 -4
- package/dist/esm/GroupDeck.js +5 -5
- package/dist/esm/HamMagazine.js +15 -17
- package/dist/esm/HealthCareProfessionalModal.js +1 -1
- package/dist/esm/Hero.js +3 -3
- package/dist/esm/HorizontalArticleListing.js +16 -17
- package/dist/esm/HorizontalHero.js +3 -3
- package/dist/esm/{ImageSlider-8a3401ec.js → ImageSlider-f84174cb.js} +1 -1
- package/dist/esm/IssueContentDeck.js +4 -4
- package/dist/esm/IssueDeck.js +6 -7
- package/dist/esm/IssueLanding.js +48 -49
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +7 -8
- package/dist/esm/MasterDeck.js +23 -24
- package/dist/esm/MasterDeckPaginated.js +24 -26
- package/dist/esm/{MediaSeriesCard-ab6bfc30.js → MediaSeriesCard-c7ad832d.js} +3 -3
- package/dist/esm/MediaSeriesLanding.js +24 -25
- package/dist/esm/MediaSeriesLandingPaginated.js +25 -27
- package/dist/esm/NavDvm.js +5 -7
- package/dist/esm/NavMagazine.js +16 -18
- package/dist/esm/NavNative.js +14 -16
- package/dist/esm/OncliveHero.js +3 -3
- package/dist/esm/OncliveLargeHero.js +4 -4
- package/dist/esm/PageFilter.js +3 -3
- package/dist/esm/Pagination-194dd03f.js +90 -0
- package/dist/esm/PartnerDetailListing.js +20 -21
- package/dist/esm/PartnerDetailListingPaginated.js +21 -23
- package/dist/esm/PopUpModal.js +3 -3
- package/dist/esm/PubSection.js +11 -12
- package/dist/esm/PubToc.js +5 -5
- package/dist/esm/PublicationDeck.js +3 -3
- package/dist/esm/PublicationLanding.js +35 -36
- package/dist/esm/QueueDeckExpanded.js +11 -12
- package/dist/esm/QueueDeckExpandedPaginated.js +12 -14
- package/dist/esm/RelatedContent.js +31 -31
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/Schema.js +7 -8
- package/dist/esm/Search.js +3 -3
- package/dist/esm/Segment.js +18 -7
- package/dist/esm/SeriesListingDeck.js +7 -8
- package/dist/esm/{SeriesSlider-19bf6ce4.js → SeriesSlider-e495571f.js} +5 -5
- package/dist/esm/SideFooter.js +8 -10
- package/dist/esm/{SocialSearchComponent-e9a67eff.js → SocialSearchComponent-4b56cd8c.js} +1 -1
- package/dist/esm/TaxonomyCard.js +4 -5
- package/dist/esm/TaxonomyDescription.js +17 -18
- package/dist/esm/TemplateNormal.js +10 -11
- package/dist/esm/ThumbnailCard.js +3 -3
- package/dist/esm/Ustream.js +6 -6
- package/dist/esm/VerticalHero.js +3 -3
- package/dist/esm/VideoProgramLandingPage.js +16 -17
- package/dist/esm/VideoSeriesCard.js +6 -6
- package/dist/esm/VideoSeriesFilter.js +5 -5
- package/dist/esm/VideoSeriesLandingPage.js +15 -16
- package/dist/esm/VideoSeriesListing.js +9 -10
- package/dist/esm/View.js +30 -26
- package/dist/esm/YahooHero.js +4 -4
- package/dist/esm/YoutubeGroup.js +7 -7
- package/dist/esm/{_is-array-e96276c2.js → _is-array-8d21b9e3.js} +1 -1
- package/dist/esm/{_iter-detect-c9bd22b3.js → _iter-detect-98db3b07.js} +1 -1
- package/dist/esm/{_object-sap-67a80efe.js → _object-sap-7cee6f84.js} +1 -1
- package/dist/esm/{_object-to-array-d97ca761.js → _object-to-array-2300e51b.js} +1 -1
- package/dist/esm/{asyncToGenerator-b799d461.js → asyncToGenerator-958ef5fc.js} +3 -3
- package/dist/esm/{core.get-iterator-method-2623c4c7.js → core.get-iterator-method-ea258bb1.js} +1 -1
- package/dist/esm/{define-property-615946df.js → define-property-5f1bda73.js} +1 -1
- package/dist/esm/{defineProperty-3cabb189.js → defineProperty-8c30428f.js} +1 -1
- package/dist/esm/{assign-b681604f.js → extends-6d8e3924.js} +30 -3
- package/dist/esm/faundadb.js +4 -4
- package/dist/esm/getRelatedArticle.js +4 -4
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +16 -17
- package/dist/esm/{getTargeting-d519d2b6.js → getTargeting-04d979c9.js} +11 -11
- package/dist/esm/getTargeting.js +5 -6
- package/dist/esm/{index-c024b4b0.js → index-eac8f299.js} +11 -11
- package/dist/esm/index.js +26 -28
- package/dist/esm/{inherits-44a60f2b.js → inherits-a6ba2ec4.js} +4 -4
- package/dist/esm/{keys-8c05d049.js → keys-31dcdb31.js} +2 -2
- package/dist/esm/{slicedToArray-a5ed2ac8.js → slicedToArray-6ebcbfea.js} +2 -2
- package/dist/esm/{stringify-e20934cc.js → stringify-2b084bee.js} +1 -1
- package/dist/esm/{toConsumableArray-aac0b14a.js → toConsumableArray-f7074d7c.js} +2 -2
- package/dist/esm/{typeof-af09aa11.js → typeof-e9fc0c5d.js} +3 -3
- package/dist/esm/urlFor.js +3 -3
- package/dist/esm/{urlForFile-3ad576be.js → urlForFile-b69adffc.js} +1 -1
- package/dist/esm/{ustream-api-4e6b20ce.js → ustream-api-d3714624.js} +4 -4
- package/dist/esm/{web.dom.iterable-357ab671.js → web.dom.iterable-ab4dea5c.js} +1 -1
- package/package.json +115 -115
- package/dist/cjs/Pagination-c63770a3.js +0 -90
- package/dist/cjs/extends-8ea081c8.js +0 -34
- package/dist/esm/Pagination-6f8d5327.js +0 -82
- package/dist/esm/extends-19fcf571.js +0 -31
- /package/dist/cjs/{ADInfeed-e0645296.js → ADInfeed-81006615.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-c9bd09b8.js → ADlgInfeed-0db07099.js} +0 -0
- /package/dist/esm/{PublicationFeature-c65b005a.js → PublicationFeature-d88e76b9.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as _extends$1 } from './extends-
|
|
2
|
-
import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1 } from './inherits-
|
|
3
|
-
import { _ as _typeof$2 } from './typeof-
|
|
4
|
-
import React__default, { createContext, Component, Children, version as version$2 } from 'react';
|
|
1
|
+
import { _ as _extends$1 } from './extends-6d8e3924.js';
|
|
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
|
+
import { _ as _typeof$2 } from './typeof-e9fc0c5d.js';
|
|
4
|
+
import React__default, { createContext, Component, Fragment, 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';
|
|
@@ -11,15 +11,14 @@ import urlFor from './urlFor.js';
|
|
|
11
11
|
import { m as moment } from './moment-bc12cb97.js';
|
|
12
12
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
13
13
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
14
|
-
import './
|
|
15
|
-
import './core.get-iterator-method-2623c4c7.js';
|
|
14
|
+
import './core.get-iterator-method-ea258bb1.js';
|
|
16
15
|
import './_object-pie-133f504a.js';
|
|
17
|
-
import './_object-sap-
|
|
18
|
-
import './define-property-
|
|
19
|
-
import './web.dom.iterable-
|
|
20
|
-
import './_is-array-
|
|
16
|
+
import './_object-sap-7cee6f84.js';
|
|
17
|
+
import './define-property-5f1bda73.js';
|
|
18
|
+
import './web.dom.iterable-ab4dea5c.js';
|
|
19
|
+
import './_is-array-8d21b9e3.js';
|
|
21
20
|
import './_library-528f1934.js';
|
|
22
|
-
import './slicedToArray-
|
|
21
|
+
import './slicedToArray-6ebcbfea.js';
|
|
23
22
|
import './index-3f5c03b2.js';
|
|
24
23
|
import 'react-dom';
|
|
25
24
|
|
|
@@ -823,7 +822,7 @@ function parseAlgoliaHit(_ref2) {
|
|
|
823
822
|
});
|
|
824
823
|
}
|
|
825
824
|
|
|
826
|
-
var version$1 = '6.
|
|
825
|
+
var version$1 = '6.12.0';
|
|
827
826
|
|
|
828
827
|
var withKeysPropType = function withKeysPropType(keys) {
|
|
829
828
|
return function (props, propName, componentName) {
|
|
@@ -905,6 +904,10 @@ function translatable(defaultTranslations) {
|
|
|
905
904
|
function getIndexId(context) {
|
|
906
905
|
return hasMultipleIndices(context) ? context.multiIndexContext.targetedIndex : context.ais.mainTargetedIndex;
|
|
907
906
|
}
|
|
907
|
+
/**
|
|
908
|
+
* @returns {import('algoliasearch-helper').SearchResults} results
|
|
909
|
+
*/
|
|
910
|
+
|
|
908
911
|
function getResults(searchResults, context) {
|
|
909
912
|
if (searchResults.results) {
|
|
910
913
|
if (searchResults.results.hits) {
|
|
@@ -4769,7 +4772,7 @@ var requestBuilder = {
|
|
|
4769
4772
|
|
|
4770
4773
|
var requestBuilder_1 = requestBuilder;
|
|
4771
4774
|
|
|
4772
|
-
var version = '3.5.
|
|
4775
|
+
var version = '3.5.4';
|
|
4773
4776
|
|
|
4774
4777
|
/**
|
|
4775
4778
|
* Event triggered when a parameter is set or updated
|
|
@@ -6417,6 +6420,87 @@ ConfigureRelatedItems.propTypes = {
|
|
|
6417
6420
|
};
|
|
6418
6421
|
connectConfigureRelatedItems(ConfigureRelatedItems);
|
|
6419
6422
|
|
|
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
|
+
|
|
6420
6504
|
// A context rule must consist only of alphanumeric characters, hyphens, and underscores.
|
|
6421
6505
|
// See https://www.algolia.com/doc/guides/managing-results/refine-results/merchandising-and-promoting/in-depth/implementing-query-rules/#context
|
|
6422
6506
|
function escapeRuleContext(ruleName) {
|
|
@@ -7826,7 +7910,8 @@ var connectHierarchicalMenu = createConnectorWithContext({
|
|
|
7826
7910
|
showMore: PropTypes.bool,
|
|
7827
7911
|
limit: PropTypes.number,
|
|
7828
7912
|
showMoreLimit: PropTypes.number,
|
|
7829
|
-
transformItems: PropTypes.func
|
|
7913
|
+
transformItems: PropTypes.func,
|
|
7914
|
+
facetOrdering: PropTypes.bool
|
|
7830
7915
|
},
|
|
7831
7916
|
defaultProps: {
|
|
7832
7917
|
showMore: false,
|
|
@@ -7834,12 +7919,14 @@ var connectHierarchicalMenu = createConnectorWithContext({
|
|
|
7834
7919
|
showMoreLimit: 20,
|
|
7835
7920
|
separator: ' > ',
|
|
7836
7921
|
rootPath: null,
|
|
7837
|
-
showParentLevel: true
|
|
7922
|
+
showParentLevel: true,
|
|
7923
|
+
facetOrdering: true
|
|
7838
7924
|
},
|
|
7839
7925
|
getProvidedProps: function getProvidedProps(props, searchState, searchResults) {
|
|
7840
7926
|
var showMore = props.showMore,
|
|
7841
7927
|
limit = props.limit,
|
|
7842
|
-
showMoreLimit = props.showMoreLimit
|
|
7928
|
+
showMoreLimit = props.showMoreLimit,
|
|
7929
|
+
facetOrdering = props.facetOrdering;
|
|
7843
7930
|
var id = getId$c(props);
|
|
7844
7931
|
var results = getResults(searchResults, {
|
|
7845
7932
|
ais: props.contextValue,
|
|
@@ -7860,7 +7947,8 @@ var connectHierarchicalMenu = createConnectorWithContext({
|
|
|
7860
7947
|
|
|
7861
7948
|
var itemsLimit = showMore ? showMoreLimit : limit;
|
|
7862
7949
|
var value = results.getFacetValues(id, {
|
|
7863
|
-
sortBy: sortBy$1
|
|
7950
|
+
sortBy: sortBy$1,
|
|
7951
|
+
facetOrdering: facetOrdering
|
|
7864
7952
|
});
|
|
7865
7953
|
var items = value.data ? transformValue(value.data, props, searchState, {
|
|
7866
7954
|
ais: props.contextValue,
|
|
@@ -8412,17 +8500,20 @@ var connectMenu = createConnectorWithContext({
|
|
|
8412
8500
|
showMoreLimit: PropTypes.number,
|
|
8413
8501
|
defaultRefinement: PropTypes.string,
|
|
8414
8502
|
transformItems: PropTypes.func,
|
|
8415
|
-
searchable: PropTypes.bool
|
|
8503
|
+
searchable: PropTypes.bool,
|
|
8504
|
+
facetOrdering: PropTypes.bool
|
|
8416
8505
|
},
|
|
8417
8506
|
defaultProps: {
|
|
8418
8507
|
showMore: false,
|
|
8419
8508
|
limit: 10,
|
|
8420
|
-
showMoreLimit: 20
|
|
8509
|
+
showMoreLimit: 20,
|
|
8510
|
+
facetOrdering: true
|
|
8421
8511
|
},
|
|
8422
8512
|
getProvidedProps: function getProvidedProps(props, searchState, searchResults, meta, searchForFacetValuesResults) {
|
|
8423
8513
|
var attribute = props.attribute,
|
|
8424
8514
|
searchable = props.searchable,
|
|
8425
|
-
indexContextValue = props.indexContextValue
|
|
8515
|
+
indexContextValue = props.indexContextValue,
|
|
8516
|
+
facetOrdering = props.facetOrdering;
|
|
8426
8517
|
var results = getResults(searchResults, {
|
|
8427
8518
|
ais: props.contextValue,
|
|
8428
8519
|
multiIndexContext: props.indexContextValue
|
|
@@ -8468,7 +8559,8 @@ var connectMenu = createConnectorWithContext({
|
|
|
8468
8559
|
});
|
|
8469
8560
|
} else {
|
|
8470
8561
|
items = results.getFacetValues(attribute, {
|
|
8471
|
-
sortBy: searchable ? undefined : defaultSortBy
|
|
8562
|
+
sortBy: searchable ? undefined : defaultSortBy,
|
|
8563
|
+
facetOrdering: facetOrdering
|
|
8472
8564
|
}).map(function (v) {
|
|
8473
8565
|
return {
|
|
8474
8566
|
label: v.name,
|
|
@@ -9325,18 +9417,21 @@ var connectRefinementList = createConnectorWithContext({
|
|
|
9325
9417
|
showMoreLimit: PropTypes.number,
|
|
9326
9418
|
defaultRefinement: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number])),
|
|
9327
9419
|
searchable: PropTypes.bool,
|
|
9328
|
-
transformItems: PropTypes.func
|
|
9420
|
+
transformItems: PropTypes.func,
|
|
9421
|
+
facetOrdering: PropTypes.bool
|
|
9329
9422
|
},
|
|
9330
9423
|
defaultProps: {
|
|
9331
9424
|
operator: 'or',
|
|
9332
9425
|
showMore: false,
|
|
9333
9426
|
limit: 10,
|
|
9334
|
-
showMoreLimit: 20
|
|
9427
|
+
showMoreLimit: 20,
|
|
9428
|
+
facetOrdering: true
|
|
9335
9429
|
},
|
|
9336
9430
|
getProvidedProps: function getProvidedProps(props, searchState, searchResults, metadata, searchForFacetValuesResults) {
|
|
9337
9431
|
var attribute = props.attribute,
|
|
9338
9432
|
searchable = props.searchable,
|
|
9339
|
-
indexContextValue = props.indexContextValue
|
|
9433
|
+
indexContextValue = props.indexContextValue,
|
|
9434
|
+
facetOrdering = props.facetOrdering;
|
|
9340
9435
|
var results = getResults(searchResults, {
|
|
9341
9436
|
ais: props.contextValue,
|
|
9342
9437
|
multiIndexContext: props.indexContextValue
|
|
@@ -9377,7 +9472,8 @@ var connectRefinementList = createConnectorWithContext({
|
|
|
9377
9472
|
isRefined: v.isRefined
|
|
9378
9473
|
};
|
|
9379
9474
|
}) : results.getFacetValues(attribute, {
|
|
9380
|
-
sortBy: sortBy
|
|
9475
|
+
sortBy: sortBy,
|
|
9476
|
+
facetOrdering: facetOrdering
|
|
9381
9477
|
}).map(function (v) {
|
|
9382
9478
|
return {
|
|
9383
9479
|
label: v.name,
|
|
@@ -10877,6 +10973,7 @@ function (_Component) {
|
|
|
10877
10973
|
|
|
10878
10974
|
var _this$props4 = this.props,
|
|
10879
10975
|
className = _this$props4.className,
|
|
10976
|
+
inputId = _this$props4.inputId,
|
|
10880
10977
|
translate = _this$props4.translate,
|
|
10881
10978
|
autoFocus = _this$props4.autoFocus,
|
|
10882
10979
|
loadingIndicator = _this$props4.loadingIndicator,
|
|
@@ -10904,6 +11001,7 @@ function (_Component) {
|
|
|
10904
11001
|
role: "search"
|
|
10905
11002
|
}, React__default.createElement("input", _extends({
|
|
10906
11003
|
ref: this.onInputMount,
|
|
11004
|
+
id: inputId,
|
|
10907
11005
|
type: "search",
|
|
10908
11006
|
placeholder: translate('placeholder'),
|
|
10909
11007
|
autoFocus: autoFocus,
|
|
@@ -10955,7 +11053,8 @@ _defineProperty(SearchBox$1, "propTypes", {
|
|
|
10955
11053
|
showLoadingIndicator: PropTypes.bool,
|
|
10956
11054
|
inputRef: PropTypes.oneOfType([PropTypes.func, PropTypes.exact({
|
|
10957
11055
|
current: PropTypes.object
|
|
10958
|
-
})])
|
|
11056
|
+
})]),
|
|
11057
|
+
inputId: PropTypes.string
|
|
10959
11058
|
});
|
|
10960
11059
|
|
|
10961
11060
|
_defineProperty(SearchBox$1, "defaultProps", {
|
|
@@ -11594,9 +11693,11 @@ function (_Component) {
|
|
|
11594
11693
|
value: function render() {
|
|
11595
11694
|
var _this$props = this.props,
|
|
11596
11695
|
cx = _this$props.cx,
|
|
11696
|
+
id = _this$props.id,
|
|
11597
11697
|
items = _this$props.items,
|
|
11598
11698
|
selectedItem = _this$props.selectedItem;
|
|
11599
11699
|
return React__default.createElement("select", {
|
|
11700
|
+
id: id,
|
|
11600
11701
|
className: cx('select'),
|
|
11601
11702
|
value: selectedItem,
|
|
11602
11703
|
onChange: this.onChange
|
|
@@ -11616,6 +11717,7 @@ function (_Component) {
|
|
|
11616
11717
|
|
|
11617
11718
|
_defineProperty(Select, "propTypes", {
|
|
11618
11719
|
cx: PropTypes.func.isRequired,
|
|
11720
|
+
id: PropTypes.string,
|
|
11619
11721
|
onSelect: PropTypes.func.isRequired,
|
|
11620
11722
|
items: PropTypes.arrayOf(PropTypes.shape({
|
|
11621
11723
|
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,
|
|
@@ -11643,6 +11745,7 @@ function (_Component) {
|
|
|
11643
11745
|
key: "render",
|
|
11644
11746
|
value: function render() {
|
|
11645
11747
|
var _this$props = this.props,
|
|
11748
|
+
id = _this$props.id,
|
|
11646
11749
|
items = _this$props.items,
|
|
11647
11750
|
currentRefinement = _this$props.currentRefinement,
|
|
11648
11751
|
refine = _this$props.refine,
|
|
@@ -11650,6 +11753,7 @@ function (_Component) {
|
|
|
11650
11753
|
return React__default.createElement("div", {
|
|
11651
11754
|
className: classnames(cx$h(''), className)
|
|
11652
11755
|
}, React__default.createElement(Select, {
|
|
11756
|
+
id: id,
|
|
11653
11757
|
onSelect: refine,
|
|
11654
11758
|
selectedItem: currentRefinement,
|
|
11655
11759
|
items: items,
|
|
@@ -11662,6 +11766,7 @@ function (_Component) {
|
|
|
11662
11766
|
}(Component);
|
|
11663
11767
|
|
|
11664
11768
|
_defineProperty(HitsPerPage, "propTypes", {
|
|
11769
|
+
id: PropTypes.string,
|
|
11665
11770
|
items: PropTypes.arrayOf(PropTypes.shape({
|
|
11666
11771
|
value: PropTypes.number.isRequired,
|
|
11667
11772
|
label: PropTypes.string
|
|
@@ -11684,6 +11789,7 @@ _defineProperty(HitsPerPage, "defaultProps", {
|
|
|
11684
11789
|
*
|
|
11685
11790
|
* @name HitsPerPage
|
|
11686
11791
|
* @kind widget
|
|
11792
|
+
* @propType {string} id - The id of the select input
|
|
11687
11793
|
* @propType {{value: number, label: string}[]} items - List of available options.
|
|
11688
11794
|
* @propType {number} defaultRefinement - The number of items selected by default
|
|
11689
11795
|
* @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.
|
|
@@ -12052,6 +12158,7 @@ function (_Component) {
|
|
|
12052
12158
|
key: "render",
|
|
12053
12159
|
value: function render() {
|
|
12054
12160
|
var _this$props = this.props,
|
|
12161
|
+
id = _this$props.id,
|
|
12055
12162
|
items = _this$props.items,
|
|
12056
12163
|
canRefine = _this$props.canRefine,
|
|
12057
12164
|
translate = _this$props.translate,
|
|
@@ -12059,6 +12166,7 @@ function (_Component) {
|
|
|
12059
12166
|
return React__default.createElement("div", {
|
|
12060
12167
|
className: classnames(cx$e('', !canRefine && '-noRefinement'), className)
|
|
12061
12168
|
}, React__default.createElement("select", {
|
|
12169
|
+
id: id,
|
|
12062
12170
|
value: this.selectedValue,
|
|
12063
12171
|
onChange: this.handleSelectChange,
|
|
12064
12172
|
className: cx$e('select')
|
|
@@ -12091,6 +12199,7 @@ function (_Component) {
|
|
|
12091
12199
|
}(Component);
|
|
12092
12200
|
|
|
12093
12201
|
_defineProperty(MenuSelect, "propTypes", {
|
|
12202
|
+
id: PropTypes.string,
|
|
12094
12203
|
items: PropTypes.arrayOf(PropTypes.shape({
|
|
12095
12204
|
label: PropTypes.string.isRequired,
|
|
12096
12205
|
value: PropTypes.string.isRequired,
|
|
@@ -12117,6 +12226,7 @@ var MenuSelect$1 = translatable({
|
|
|
12117
12226
|
* @kind widget
|
|
12118
12227
|
* @requirements The attribute passed to the `attribute` prop must be present in "attributes for faceting"
|
|
12119
12228
|
* 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
|
|
12120
12230
|
* @propType {string} attribute - the name of the attribute in the record
|
|
12121
12231
|
* @propType {string} [defaultRefinement] - the value of the item selected by default
|
|
12122
12232
|
* @propType {number} [limit=10] - the minimum number of diplayed items
|
|
@@ -13448,6 +13558,7 @@ connectScrollTo(ScrollTo);
|
|
|
13448
13558
|
* @propType {node} [reset] - Change the apparence of the default reset button (cross).
|
|
13449
13559
|
* @propType {node} [loadingIndicator] - Change the apparence of the default loading indicator (spinning circle).
|
|
13450
13560
|
* @propType {string} [defaultRefinement] - Provide default refinement value when component is mounted.
|
|
13561
|
+
* @propType {string} [inputId] - The id of the search input
|
|
13451
13562
|
* @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.
|
|
13452
13563
|
* @themeKey ais-SearchBox - the root div of the widget
|
|
13453
13564
|
* @themeKey ais-SearchBox-form - the wrapping form
|
|
@@ -13598,6 +13709,7 @@ function (_Component) {
|
|
|
13598
13709
|
key: "render",
|
|
13599
13710
|
value: function render() {
|
|
13600
13711
|
var _this$props = this.props,
|
|
13712
|
+
id = _this$props.id,
|
|
13601
13713
|
items = _this$props.items,
|
|
13602
13714
|
currentRefinement = _this$props.currentRefinement,
|
|
13603
13715
|
refine = _this$props.refine,
|
|
@@ -13605,6 +13717,7 @@ function (_Component) {
|
|
|
13605
13717
|
return React__default.createElement("div", {
|
|
13606
13718
|
className: classnames(cx$4(''), className)
|
|
13607
13719
|
}, React__default.createElement(Select, {
|
|
13720
|
+
id: id,
|
|
13608
13721
|
cx: cx$4,
|
|
13609
13722
|
items: items,
|
|
13610
13723
|
selectedItem: currentRefinement,
|
|
@@ -13617,6 +13730,7 @@ function (_Component) {
|
|
|
13617
13730
|
}(Component);
|
|
13618
13731
|
|
|
13619
13732
|
_defineProperty(SortBy, "propTypes", {
|
|
13733
|
+
id: PropTypes.string,
|
|
13620
13734
|
items: PropTypes.arrayOf(PropTypes.shape({
|
|
13621
13735
|
label: PropTypes.string,
|
|
13622
13736
|
value: PropTypes.string.isRequired
|
|
@@ -13636,6 +13750,7 @@ _defineProperty(SortBy, "defaultProps", {
|
|
|
13636
13750
|
* @requirements Algolia handles sorting by creating replica indices. [Read more about sorting](https://www.algolia.com/doc/guides/relevance/sorting/) on
|
|
13637
13751
|
* the Algolia website.
|
|
13638
13752
|
* @kind widget
|
|
13753
|
+
* @propType {string} id - The id of the select input
|
|
13639
13754
|
* @propType {{value: string, label: string}[]} items - The list of indexes to search in.
|
|
13640
13755
|
* @propType {string} defaultRefinement - The default selected index.
|
|
13641
13756
|
* @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.
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { _ as _extends } from './extends-
|
|
2
|
-
import { _ as _Object$keys } from './keys-
|
|
3
|
-
import { _ as _toConsumableArray } from './toConsumableArray-
|
|
1
|
+
import { _ as _extends } from './extends-6d8e3924.js';
|
|
2
|
+
import { _ as _Object$keys } from './keys-31dcdb31.js';
|
|
3
|
+
import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
4
4
|
import React__default, { useRef, useEffect } from 'react';
|
|
5
5
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
6
|
-
import './
|
|
7
|
-
import './core.get-iterator-method-2623c4c7.js';
|
|
6
|
+
import './core.get-iterator-method-ea258bb1.js';
|
|
8
7
|
import './_object-pie-133f504a.js';
|
|
9
|
-
import './_object-sap-
|
|
10
|
-
import './_iter-detect-
|
|
8
|
+
import './_object-sap-7cee6f84.js';
|
|
9
|
+
import './_iter-detect-98db3b07.js';
|
|
11
10
|
|
|
12
11
|
var sortByName = function sortByName(arr) {
|
|
13
12
|
var items = [].concat(_toConsumableArray(arr));
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { _ as _extends } from './extends-
|
|
1
|
+
import { _ as _extends } from './extends-6d8e3924.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import YoutubeGroup from './YoutubeGroup.js';
|
|
4
4
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
5
|
-
import './
|
|
6
|
-
import './core.get-iterator-method-2623c4c7.js';
|
|
5
|
+
import './core.get-iterator-method-ea258bb1.js';
|
|
7
6
|
import './_object-pie-133f504a.js';
|
|
8
|
-
import './slicedToArray-
|
|
9
|
-
import './web.dom.iterable-
|
|
7
|
+
import './slicedToArray-6ebcbfea.js';
|
|
8
|
+
import './web.dom.iterable-ab4dea5c.js';
|
|
10
9
|
import './index-c7e2ac95.js';
|
|
11
10
|
import './index-755f2cc2.js';
|
|
12
11
|
import 'react-dom';
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { _ as _asyncToGenerator, r as regenerator, a as _Promise } from './asyncToGenerator-
|
|
2
|
-
import { _ as _slicedToArray } from './slicedToArray-
|
|
3
|
-
import { _ as _extends } from './extends-
|
|
1
|
+
import { _ as _asyncToGenerator, r as regenerator, a as _Promise } from './asyncToGenerator-958ef5fc.js';
|
|
2
|
+
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
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-
|
|
6
|
+
import { g as getSerializers } from './index-eac8f299.js';
|
|
7
7
|
import ArticleSeriesListing from './ArticleSeriesListing.js';
|
|
8
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
|
-
import './core.get-iterator-method-
|
|
10
|
-
import './web.dom.iterable-
|
|
9
|
+
import './core.get-iterator-method-ea258bb1.js';
|
|
10
|
+
import './web.dom.iterable-ab4dea5c.js';
|
|
11
11
|
import './_library-528f1934.js';
|
|
12
|
-
import './_iter-detect-
|
|
13
|
-
import './assign-b681604f.js';
|
|
12
|
+
import './_iter-detect-98db3b07.js';
|
|
14
13
|
import './_object-pie-133f504a.js';
|
|
15
14
|
import 'prop-types';
|
|
16
15
|
import './index-3f5c03b2.js';
|
|
@@ -22,14 +21,14 @@ import 'next/router';
|
|
|
22
21
|
import './index-c7e2ac95.js';
|
|
23
22
|
import './util-8ed16d48.js';
|
|
24
23
|
import './Beam.js';
|
|
25
|
-
import './stringify-
|
|
24
|
+
import './stringify-2b084bee.js';
|
|
26
25
|
import './Segment.js';
|
|
27
26
|
import './main-1894c974.js';
|
|
28
|
-
import './urlForFile-
|
|
27
|
+
import './urlForFile-b69adffc.js';
|
|
29
28
|
import './index-755f2cc2.js';
|
|
30
29
|
import 'react-dom';
|
|
31
|
-
import './typeof-
|
|
32
|
-
import './_is-array-
|
|
30
|
+
import './typeof-e9fc0c5d.js';
|
|
31
|
+
import './_is-array-8d21b9e3.js';
|
|
33
32
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
34
33
|
import 'react-bootstrap/Modal';
|
|
35
34
|
import 'react-bootstrap/Button';
|
|
@@ -40,8 +39,8 @@ import './moment-bc12cb97.js';
|
|
|
40
39
|
import './SocialShare.js';
|
|
41
40
|
import 'next/head';
|
|
42
41
|
import 'react-share';
|
|
43
|
-
import './_object-to-array-
|
|
44
|
-
import './toConsumableArray-
|
|
42
|
+
import './_object-to-array-2300e51b.js';
|
|
43
|
+
import './toConsumableArray-f7074d7c.js';
|
|
45
44
|
import 'react-bootstrap/Pagination';
|
|
46
45
|
import './entities-6d9154b4.js';
|
|
47
46
|
import './AdSlot.js';
|
|
@@ -50,9 +49,9 @@ import './isSymbol-a7e9aafe.js';
|
|
|
50
49
|
import './toNumber-5aeba6e7.js';
|
|
51
50
|
import 'react-bootstrap/Row';
|
|
52
51
|
import 'react-bootstrap/Col';
|
|
53
|
-
import './inherits-
|
|
54
|
-
import './_object-sap-
|
|
55
|
-
import './define-property-
|
|
52
|
+
import './inherits-a6ba2ec4.js';
|
|
53
|
+
import './_object-sap-7cee6f84.js';
|
|
54
|
+
import './define-property-5f1bda73.js';
|
|
56
55
|
import './index.esm-eb1e8e80.js';
|
|
57
56
|
import './iconBase-ccc56b97.js';
|
|
58
57
|
import 'react-bootstrap/Figure';
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-
|
|
1
|
+
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958ef5fc.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import MasterDeck from './MasterDeck.js';
|
|
4
4
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
5
|
-
import './core.get-iterator-method-
|
|
6
|
-
import './web.dom.iterable-
|
|
5
|
+
import './core.get-iterator-method-ea258bb1.js';
|
|
6
|
+
import './web.dom.iterable-ab4dea5c.js';
|
|
7
7
|
import './_library-528f1934.js';
|
|
8
|
-
import './_iter-detect-
|
|
9
|
-
import './toConsumableArray-
|
|
10
|
-
import './extends-
|
|
11
|
-
import './assign-b681604f.js';
|
|
8
|
+
import './_iter-detect-98db3b07.js';
|
|
9
|
+
import './toConsumableArray-f7074d7c.js';
|
|
10
|
+
import './extends-6d8e3924.js';
|
|
12
11
|
import './_object-pie-133f504a.js';
|
|
13
|
-
import './inherits-
|
|
14
|
-
import './_object-sap-
|
|
15
|
-
import './define-property-
|
|
16
|
-
import './typeof-
|
|
17
|
-
import './_is-array-
|
|
12
|
+
import './inherits-a6ba2ec4.js';
|
|
13
|
+
import './_object-sap-7cee6f84.js';
|
|
14
|
+
import './define-property-5f1bda73.js';
|
|
15
|
+
import './typeof-e9fc0c5d.js';
|
|
16
|
+
import './_is-array-8d21b9e3.js';
|
|
18
17
|
import './index-f0fc23eb.js';
|
|
19
18
|
import './events-6c3a7a63.js';
|
|
20
19
|
import 'prop-types';
|
|
@@ -31,15 +30,15 @@ import './toNumber-5aeba6e7.js';
|
|
|
31
30
|
import './index.es-a6137319.js';
|
|
32
31
|
import './visibility-sensor-72fd8f8b.js';
|
|
33
32
|
import 'react-dom';
|
|
34
|
-
import './slicedToArray-
|
|
33
|
+
import './slicedToArray-6ebcbfea.js';
|
|
35
34
|
import './index-3f5c03b2.js';
|
|
36
|
-
import './ADlgInfeed-
|
|
35
|
+
import './ADlgInfeed-dc36c928.js';
|
|
37
36
|
import './AdSlot.js';
|
|
38
37
|
import './Beam.js';
|
|
39
|
-
import './stringify-
|
|
38
|
+
import './stringify-2b084bee.js';
|
|
40
39
|
import './Segment.js';
|
|
41
40
|
import './main-1894c974.js';
|
|
42
|
-
import './ADInfeed-
|
|
41
|
+
import './ADInfeed-6d1fc6bf.js';
|
|
43
42
|
|
|
44
43
|
var _this = undefined;
|
|
45
44
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as _extends } from './extends-
|
|
2
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-
|
|
1
|
+
import { _ as _extends } from './extends-6d8e3924.js';
|
|
2
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a6ba2ec4.js';
|
|
3
3
|
import React__default from 'react';
|
|
4
4
|
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
5
5
|
import Container from 'react-bootstrap/Container';
|
|
@@ -11,20 +11,19 @@ import YoutubeGroup from './YoutubeGroup.js';
|
|
|
11
11
|
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
12
12
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
13
13
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
14
|
-
import './
|
|
15
|
-
import './core.get-iterator-method-2623c4c7.js';
|
|
14
|
+
import './core.get-iterator-method-ea258bb1.js';
|
|
16
15
|
import './_object-pie-133f504a.js';
|
|
17
|
-
import './_object-sap-
|
|
18
|
-
import './define-property-
|
|
19
|
-
import './typeof-
|
|
20
|
-
import './web.dom.iterable-
|
|
21
|
-
import './_is-array-
|
|
16
|
+
import './_object-sap-7cee6f84.js';
|
|
17
|
+
import './define-property-5f1bda73.js';
|
|
18
|
+
import './typeof-e9fc0c5d.js';
|
|
19
|
+
import './web.dom.iterable-ab4dea5c.js';
|
|
20
|
+
import './_is-array-8d21b9e3.js';
|
|
22
21
|
import './_library-528f1934.js';
|
|
23
22
|
import './events-6c3a7a63.js';
|
|
24
23
|
import 'prop-types';
|
|
25
24
|
import 'react-dom';
|
|
26
25
|
import './iconBase-ccc56b97.js';
|
|
27
|
-
import './slicedToArray-
|
|
26
|
+
import './slicedToArray-6ebcbfea.js';
|
|
28
27
|
import './index-c7e2ac95.js';
|
|
29
28
|
import './index-755f2cc2.js';
|
|
30
29
|
import './smoothscroll-fa4e3f8c.js';
|
package/dist/esm/Auth.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-
|
|
2
|
-
import { _ as _JSON$stringify } from './stringify-
|
|
3
|
-
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-
|
|
1
|
+
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958ef5fc.js';
|
|
2
|
+
import { _ as _JSON$stringify } from './stringify-2b084bee.js';
|
|
3
|
+
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-6ebcbfea.js';
|
|
4
4
|
import React__default, { useEffect, useState } from 'react';
|
|
5
5
|
import Router from 'next/router';
|
|
6
|
-
import { _ as _extends } from './extends-
|
|
6
|
+
import { _ as _extends } from './extends-6d8e3924.js';
|
|
7
7
|
import { Form, Col, Button, Spinner } from 'react-bootstrap';
|
|
8
8
|
import useSWR from 'swr';
|
|
9
9
|
import { s as serialize_1, p as parse_1 } from './index-db3bb315.js';
|
|
@@ -12,11 +12,10 @@ import mysql from 'mysql';
|
|
|
12
12
|
import { u as util } from './util-8ed16d48.js';
|
|
13
13
|
import { c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
|
|
14
14
|
import { m as md5 } from './md5-4e42248e.js';
|
|
15
|
-
import './core.get-iterator-method-
|
|
16
|
-
import './web.dom.iterable-
|
|
15
|
+
import './core.get-iterator-method-ea258bb1.js';
|
|
16
|
+
import './web.dom.iterable-ab4dea5c.js';
|
|
17
17
|
import './_library-528f1934.js';
|
|
18
|
-
import './_iter-detect-
|
|
19
|
-
import './assign-b681604f.js';
|
|
18
|
+
import './_iter-detect-98db3b07.js';
|
|
20
19
|
import './_object-pie-133f504a.js';
|
|
21
20
|
|
|
22
21
|
var returnFormField = function returnFormField(_ref) {
|
package/dist/esm/AuthWrapper.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { _ as _slicedToArray } from './slicedToArray-
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
2
2
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
3
3
|
import { a as _typeof_1 } from './typeof-2f07d0e8.js';
|
|
4
4
|
import { d as defineProperty, b as asyncToGenerator } from './defineProperty-23a8f8cd.js';
|
|
5
5
|
import React__default, { useState, useEffect } from 'react';
|
|
6
6
|
import { Form } from 'react-bootstrap';
|
|
7
7
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
8
|
-
import './web.dom.iterable-
|
|
9
|
-
import './core.get-iterator-method-
|
|
8
|
+
import './web.dom.iterable-ab4dea5c.js';
|
|
9
|
+
import './core.get-iterator-method-ea258bb1.js';
|
|
10
10
|
|
|
11
11
|
var interopRequireDefault = createCommonjsModule(function (module) {
|
|
12
12
|
function _interopRequireDefault(obj) {
|
|
@@ -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 {\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}";
|
|
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}";
|
|
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
|
|