@mjhls/mjh-framework 1.0.954 → 1.0.955-keywords-segment-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 +2 -1
- package/dist/cjs/AD300x250x600.js +2 -1
- package/dist/cjs/AD728x90.js +2 -1
- package/dist/cjs/ADFloatingFooter.js +2 -1
- package/dist/cjs/ADGutter.js +2 -1
- package/dist/cjs/ADSkyscraper.js +2 -1
- package/dist/cjs/ADSponsoredResources.js +2 -1
- package/dist/cjs/ADWebcast.js +2 -1
- package/dist/cjs/ADWelcome.js +2 -1
- package/dist/cjs/AdSlot.js +2 -1
- package/dist/cjs/AlgoliaSearch.js +133 -16
- package/dist/cjs/AlphabeticList.js +2 -1
- package/dist/cjs/ArticleCarousel.js +2 -1
- package/dist/cjs/ArticleProgramLandingPage.js +3 -2
- package/dist/cjs/ArticleSeriesLandingPage.js +4 -3
- package/dist/cjs/ArticleSeriesListing.js +2 -1
- package/dist/cjs/Auth.js +2 -1
- package/dist/cjs/AuthWrapper.js +1 -1
- package/dist/cjs/Beam.js +2 -0
- package/dist/cjs/Column2.js +2 -0
- package/dist/cjs/Column3.js +2 -1
- package/dist/cjs/ConferenceArticleCard.js +15 -15
- package/dist/cjs/ContentCardPaginated.js +4 -4
- package/dist/cjs/DeckContent.js +11 -10
- package/dist/cjs/DeckQueue.js +2 -1
- package/dist/cjs/DeckQueuePaginated.js +3 -3
- package/dist/cjs/EventsDeck.js +19 -18
- package/dist/cjs/ExternalResources.js +3 -2
- package/dist/cjs/GridContent.js +4 -3
- package/dist/cjs/GridContentPaginated.js +5 -5
- package/dist/cjs/HamMagazine.js +11 -9
- package/dist/cjs/HealthCareProfessionalModal.js +1 -1
- package/dist/cjs/HorizontalArticleListing.js +3 -2
- package/dist/cjs/IssueDeck.js +2 -1
- package/dist/cjs/IssueLanding.js +34 -33
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +2 -1
- package/dist/cjs/MasterDeck.js +12 -11
- package/dist/cjs/MasterDeckPaginated.js +13 -13
- package/dist/cjs/{MediaSeriesCard-615cdf47.js → MediaSeriesCard-33833bb2.js} +2 -2
- package/dist/cjs/MediaSeriesLanding.js +11 -10
- package/dist/cjs/MediaSeriesLandingPaginated.js +12 -12
- package/dist/cjs/NavDvm.js +2 -0
- package/dist/cjs/NavMagazine.js +12 -10
- package/dist/cjs/NavNative.js +11 -9
- package/dist/cjs/Pagination-30bb1ca1.js +97 -0
- package/dist/cjs/PartnerDetailListing.js +5 -4
- package/dist/cjs/PartnerDetailListingPaginated.js +6 -6
- package/dist/cjs/PubSection.js +4 -3
- package/dist/cjs/PublicationLanding.js +28 -27
- package/dist/cjs/QueueDeckExpanded.js +4 -3
- package/dist/cjs/QueueDeckExpandedPaginated.js +5 -5
- package/dist/cjs/RelatedContent.js +28 -28
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/Schema.js +2 -1
- package/dist/cjs/Segment.js +4 -1
- package/dist/cjs/SeriesListingDeck.js +3 -2
- package/dist/cjs/{SeriesSlider-594b19eb.js → SeriesSlider-74546d19.js} +4 -4
- package/dist/cjs/SideFooter.js +4 -2
- package/dist/cjs/TaxonomyCard.js +2 -1
- package/dist/cjs/TaxonomyDescription.js +5 -4
- package/dist/cjs/TemplateNormal.js +2 -1
- package/dist/cjs/VideoProgramLandingPage.js +3 -2
- package/dist/cjs/VideoSeriesCard.js +1 -1
- package/dist/cjs/VideoSeriesLandingPage.js +4 -3
- package/dist/cjs/VideoSeriesListing.js +2 -1
- package/dist/cjs/View.js +17 -12
- package/dist/cjs/YoutubeGroup.js +4 -4
- package/dist/cjs/{extends-7c86182f.js → assign-a0df1a53.js} +1 -29
- package/dist/cjs/extends-8ea081c8.js +34 -0
- package/dist/cjs/getSerializers.js +3 -2
- package/dist/cjs/{getTargeting-3c5754ac.js → getTargeting-77bb50ae.js} +10 -10
- package/dist/cjs/getTargeting.js +3 -2
- package/dist/cjs/{index-bb6f5ec7.js → index-f11faf49.js} +1 -1
- package/dist/cjs/index.js +7 -7
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +8 -7
- package/dist/esm/AD300x250x600.js +8 -7
- package/dist/esm/AD728x90.js +8 -7
- package/dist/esm/ADFloatingFooter.js +8 -7
- package/dist/esm/ADFooter.js +3 -3
- package/dist/esm/ADGutter.js +8 -7
- package/dist/esm/{ADInfeed-7af1f934.js → ADInfeed-88c25876.js} +1 -1
- package/dist/esm/ADSkyscraper.js +8 -7
- package/dist/esm/ADSponsoredResources.js +8 -7
- package/dist/esm/ADWebcast.js +8 -7
- package/dist/esm/ADWelcome.js +8 -7
- package/dist/esm/{ADlgInfeed-ebcafb85.js → ADlgInfeed-7f4a6401.js} +1 -1
- package/dist/esm/AccordionPanel.js +3 -3
- package/dist/esm/AdSlot.js +8 -7
- package/dist/esm/AdSlotsProvider.js +5 -5
- package/dist/esm/AlgoliaSearch.js +142 -25
- package/dist/esm/AlphabeticList.js +7 -6
- package/dist/esm/ArticleCarousel.js +5 -4
- package/dist/esm/ArticleProgramLandingPage.js +17 -16
- package/dist/esm/ArticleSeriesLandingPage.js +16 -15
- package/dist/esm/ArticleSeriesListing.js +10 -9
- package/dist/esm/Auth.js +8 -7
- package/dist/esm/AuthWrapper.js +4 -4
- package/dist/esm/{AuthorComponent-11adff02.js → AuthorComponent-0ee8667f.js} +1 -1
- package/dist/esm/Beam.js +7 -5
- package/dist/esm/Breadcrumbs.js +3 -3
- package/dist/esm/CMEDeck.js +7 -7
- package/dist/esm/Column2.js +8 -6
- package/dist/esm/Column3.js +10 -9
- package/dist/esm/ConferenceArticleCard.js +18 -18
- package/dist/esm/ContentCardPaginated.js +16 -16
- package/dist/esm/DeckContent.js +23 -22
- package/dist/esm/DeckQueue.js +12 -11
- package/dist/esm/DeckQueuePaginated.js +14 -14
- package/dist/esm/{Dfp-102f0beb.js → Dfp-08c829a1.js} +3 -3
- package/dist/esm/EventsDeck.js +28 -27
- package/dist/esm/ExternalResources.js +17 -16
- package/dist/esm/Feature.js +3 -3
- package/dist/esm/ForbesHero.js +4 -4
- package/dist/esm/GridContent.js +18 -17
- package/dist/esm/GridContentPaginated.js +19 -19
- package/dist/esm/GridHero.js +4 -4
- package/dist/esm/GroupDeck.js +5 -5
- package/dist/esm/HamMagazine.js +17 -15
- package/dist/esm/HealthCareProfessionalModal.js +1 -1
- package/dist/esm/Hero.js +3 -3
- package/dist/esm/HorizontalArticleListing.js +17 -16
- package/dist/esm/HorizontalHero.js +3 -3
- package/dist/esm/{ImageSlider-f84174cb.js → ImageSlider-8a3401ec.js} +1 -1
- package/dist/esm/IssueContentDeck.js +4 -4
- package/dist/esm/IssueDeck.js +7 -6
- package/dist/esm/IssueLanding.js +49 -48
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +8 -7
- package/dist/esm/MasterDeck.js +24 -23
- package/dist/esm/MasterDeckPaginated.js +25 -25
- package/dist/esm/{MediaSeriesCard-e08917c6.js → MediaSeriesCard-6f53ff80.js} +3 -3
- package/dist/esm/MediaSeriesLanding.js +25 -24
- package/dist/esm/MediaSeriesLandingPaginated.js +26 -26
- package/dist/esm/NavDvm.js +7 -5
- package/dist/esm/NavMagazine.js +18 -16
- package/dist/esm/NavNative.js +16 -14
- 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 +21 -20
- package/dist/esm/PartnerDetailListingPaginated.js +22 -22
- package/dist/esm/PopUpModal.js +3 -3
- package/dist/esm/PubSection.js +12 -11
- package/dist/esm/PubToc.js +5 -5
- package/dist/esm/PublicationDeck.js +3 -3
- package/dist/esm/PublicationLanding.js +36 -35
- package/dist/esm/QueueDeckExpanded.js +12 -11
- package/dist/esm/QueueDeckExpandedPaginated.js +13 -13
- package/dist/esm/RelatedContent.js +31 -31
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/Schema.js +8 -7
- package/dist/esm/Search.js +3 -3
- package/dist/esm/Segment.js +8 -5
- package/dist/esm/SeriesListingDeck.js +8 -7
- package/dist/esm/{SeriesSlider-f771e20d.js → SeriesSlider-b853a8cf.js} +5 -5
- package/dist/esm/SideFooter.js +10 -8
- package/dist/esm/{SocialSearchComponent-4b56cd8c.js → SocialSearchComponent-e9a67eff.js} +1 -1
- package/dist/esm/TaxonomyCard.js +5 -4
- package/dist/esm/TaxonomyDescription.js +18 -17
- package/dist/esm/TemplateNormal.js +11 -10
- 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 +17 -16
- package/dist/esm/VideoSeriesCard.js +6 -6
- package/dist/esm/VideoSeriesFilter.js +5 -5
- package/dist/esm/VideoSeriesLandingPage.js +16 -15
- package/dist/esm/VideoSeriesListing.js +10 -9
- package/dist/esm/View.js +31 -25
- package/dist/esm/YahooHero.js +4 -4
- package/dist/esm/YoutubeGroup.js +7 -7
- package/dist/esm/{_is-array-8d21b9e3.js → _is-array-e96276c2.js} +1 -1
- package/dist/esm/{_iter-detect-98db3b07.js → _iter-detect-c9bd22b3.js} +1 -1
- package/dist/esm/{_object-sap-7cee6f84.js → _object-sap-67a80efe.js} +1 -1
- package/dist/esm/{_object-to-array-2300e51b.js → _object-to-array-d97ca761.js} +1 -1
- package/dist/esm/{extends-6d8e3924.js → assign-b681604f.js} +3 -30
- package/dist/esm/{asyncToGenerator-958ef5fc.js → asyncToGenerator-b799d461.js} +3 -3
- package/dist/esm/{core.get-iterator-method-ea258bb1.js → core.get-iterator-method-2623c4c7.js} +1 -1
- package/dist/esm/{define-property-5f1bda73.js → define-property-615946df.js} +1 -1
- package/dist/esm/{defineProperty-8c30428f.js → defineProperty-3cabb189.js} +1 -1
- package/dist/esm/extends-19fcf571.js +31 -0
- 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 +17 -16
- package/dist/esm/{getTargeting-42f9b439.js → getTargeting-f8f94212.js} +11 -11
- package/dist/esm/getTargeting.js +6 -5
- package/dist/esm/{index-995ce566.js → index-755fb31c.js} +10 -10
- package/dist/esm/index.js +27 -27
- package/dist/esm/{inherits-a6ba2ec4.js → inherits-44a60f2b.js} +4 -4
- package/dist/esm/{keys-31dcdb31.js → keys-8c05d049.js} +2 -2
- package/dist/esm/{slicedToArray-6ebcbfea.js → slicedToArray-a5ed2ac8.js} +2 -2
- package/dist/esm/{stringify-2b084bee.js → stringify-e20934cc.js} +1 -1
- package/dist/esm/{toConsumableArray-f7074d7c.js → toConsumableArray-aac0b14a.js} +2 -2
- package/dist/esm/{typeof-e9fc0c5d.js → typeof-af09aa11.js} +3 -3
- package/dist/esm/urlFor.js +3 -3
- package/dist/esm/{urlForFile-b69adffc.js → urlForFile-3ad576be.js} +1 -1
- package/dist/esm/{ustream-api-d3714624.js → ustream-api-4e6b20ce.js} +4 -4
- package/dist/esm/{web.dom.iterable-ab4dea5c.js → web.dom.iterable-357ab671.js} +1 -1
- package/package.json +115 -115
- package/dist/cjs/Pagination-885dcfbd.js +0 -90
- package/dist/esm/Pagination-59436882.js +0 -82
- /package/dist/cjs/{ADInfeed-44d43b8a.js → ADInfeed-6f939f7f.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-24d739f6.js → ADlgInfeed-b4191075.js} +0 -0
- /package/dist/esm/{PublicationFeature-d88e76b9.js → PublicationFeature-c65b005a.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-19fcf571.js';
|
|
2
|
+
import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1 } from './inherits-44a60f2b.js';
|
|
3
|
+
import { _ as _typeof$2 } from './typeof-af09aa11.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,14 +11,15 @@ 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 './
|
|
14
|
+
import './assign-b681604f.js';
|
|
15
|
+
import './core.get-iterator-method-2623c4c7.js';
|
|
15
16
|
import './_object-pie-133f504a.js';
|
|
16
|
-
import './_object-sap-
|
|
17
|
-
import './define-property-
|
|
18
|
-
import './web.dom.iterable-
|
|
19
|
-
import './_is-array-
|
|
17
|
+
import './_object-sap-67a80efe.js';
|
|
18
|
+
import './define-property-615946df.js';
|
|
19
|
+
import './web.dom.iterable-357ab671.js';
|
|
20
|
+
import './_is-array-e96276c2.js';
|
|
20
21
|
import './_library-528f1934.js';
|
|
21
|
-
import './slicedToArray-
|
|
22
|
+
import './slicedToArray-a5ed2ac8.js';
|
|
22
23
|
import './index-3f5c03b2.js';
|
|
23
24
|
import 'react-dom';
|
|
24
25
|
|
|
@@ -822,7 +823,7 @@ function parseAlgoliaHit(_ref2) {
|
|
|
822
823
|
});
|
|
823
824
|
}
|
|
824
825
|
|
|
825
|
-
var version$1 = '6.
|
|
826
|
+
var version$1 = '6.12.0';
|
|
826
827
|
|
|
827
828
|
var withKeysPropType = function withKeysPropType(keys) {
|
|
828
829
|
return function (props, propName, componentName) {
|
|
@@ -904,6 +905,10 @@ function translatable(defaultTranslations) {
|
|
|
904
905
|
function getIndexId(context) {
|
|
905
906
|
return hasMultipleIndices(context) ? context.multiIndexContext.targetedIndex : context.ais.mainTargetedIndex;
|
|
906
907
|
}
|
|
908
|
+
/**
|
|
909
|
+
* @returns {import('algoliasearch-helper').SearchResults} results
|
|
910
|
+
*/
|
|
911
|
+
|
|
907
912
|
function getResults(searchResults, context) {
|
|
908
913
|
if (searchResults.results) {
|
|
909
914
|
if (searchResults.results.hits) {
|
|
@@ -4768,7 +4773,7 @@ var requestBuilder = {
|
|
|
4768
4773
|
|
|
4769
4774
|
var requestBuilder_1 = requestBuilder;
|
|
4770
4775
|
|
|
4771
|
-
var version = '3.5.
|
|
4776
|
+
var version = '3.5.4';
|
|
4772
4777
|
|
|
4773
4778
|
/**
|
|
4774
4779
|
* Event triggered when a parameter is set or updated
|
|
@@ -6416,6 +6421,87 @@ ConfigureRelatedItems.propTypes = {
|
|
|
6416
6421
|
};
|
|
6417
6422
|
connectConfigureRelatedItems(ConfigureRelatedItems);
|
|
6418
6423
|
|
|
6424
|
+
var connectDynamicWidgets = createConnectorWithContext({
|
|
6425
|
+
displayName: 'AlgoliaDynamicWidgets',
|
|
6426
|
+
defaultProps: {
|
|
6427
|
+
transformItems: function transformItems(items) {
|
|
6428
|
+
return items;
|
|
6429
|
+
}
|
|
6430
|
+
},
|
|
6431
|
+
propTypes: {
|
|
6432
|
+
transformItems: PropTypes.func
|
|
6433
|
+
},
|
|
6434
|
+
getProvidedProps: function getProvidedProps(props, _searchState, searchResults) {
|
|
6435
|
+
var results = getResults(searchResults, {
|
|
6436
|
+
ais: props.contextValue,
|
|
6437
|
+
multiIndexContext: props.indexContextValue
|
|
6438
|
+
});
|
|
6439
|
+
|
|
6440
|
+
if (!results) {
|
|
6441
|
+
return {
|
|
6442
|
+
attributesToRender: []
|
|
6443
|
+
};
|
|
6444
|
+
}
|
|
6445
|
+
|
|
6446
|
+
var facetOrder = results.renderingContent && results.renderingContent.facetOrdering && results.renderingContent.facetOrdering.facets && results.renderingContent.facetOrdering.facets.order || [];
|
|
6447
|
+
return {
|
|
6448
|
+
attributesToRender: props.transformItems(facetOrder, {
|
|
6449
|
+
results: results
|
|
6450
|
+
})
|
|
6451
|
+
};
|
|
6452
|
+
}
|
|
6453
|
+
});
|
|
6454
|
+
|
|
6455
|
+
function getAttribute(component) {
|
|
6456
|
+
if (_typeof(component) !== 'object') {
|
|
6457
|
+
return undefined;
|
|
6458
|
+
}
|
|
6459
|
+
|
|
6460
|
+
if (component.props.attribute) {
|
|
6461
|
+
return component.props.attribute;
|
|
6462
|
+
}
|
|
6463
|
+
|
|
6464
|
+
if (Array.isArray(component.props.attributes)) {
|
|
6465
|
+
return component.props.attributes[0];
|
|
6466
|
+
}
|
|
6467
|
+
|
|
6468
|
+
if (component.props.children) {
|
|
6469
|
+
return getAttribute(React__default.Children.only(component.props.children));
|
|
6470
|
+
}
|
|
6471
|
+
|
|
6472
|
+
return undefined;
|
|
6473
|
+
}
|
|
6474
|
+
|
|
6475
|
+
function DynamicWidgets(_ref) {
|
|
6476
|
+
var children = _ref.children,
|
|
6477
|
+
attributesToRender = _ref.attributesToRender,
|
|
6478
|
+
_ref$fallbackComponen = _ref.fallbackComponent,
|
|
6479
|
+
Fallback = _ref$fallbackComponen === void 0 ? function () {
|
|
6480
|
+
return null;
|
|
6481
|
+
} : _ref$fallbackComponen;
|
|
6482
|
+
var widgets = new Map();
|
|
6483
|
+
React__default.Children.forEach(children, function (child) {
|
|
6484
|
+
var attribute = getAttribute(child);
|
|
6485
|
+
|
|
6486
|
+
if (!attribute) {
|
|
6487
|
+
throw new Error("Could not find \"attribute\" prop for ".concat(getDisplayName(child), "."));
|
|
6488
|
+
}
|
|
6489
|
+
|
|
6490
|
+
widgets.set(attribute, child);
|
|
6491
|
+
}); // on initial render this will be empty, but React InstantSearch keeps
|
|
6492
|
+
// search state for unmounted components in place, so routing works.
|
|
6493
|
+
|
|
6494
|
+
return React__default.createElement(React__default.Fragment, null, attributesToRender.map(function (attribute) {
|
|
6495
|
+
return React__default.createElement(Fragment, {
|
|
6496
|
+
key: attribute
|
|
6497
|
+
}, widgets.get(attribute) || React__default.createElement(Fallback, {
|
|
6498
|
+
attribute: attribute
|
|
6499
|
+
}));
|
|
6500
|
+
}));
|
|
6501
|
+
}
|
|
6502
|
+
|
|
6503
|
+
connectDynamicWidgets(DynamicWidgets);
|
|
6504
|
+
|
|
6419
6505
|
// A context rule must consist only of alphanumeric characters, hyphens, and underscores.
|
|
6420
6506
|
// See https://www.algolia.com/doc/guides/managing-results/refine-results/merchandising-and-promoting/in-depth/implementing-query-rules/#context
|
|
6421
6507
|
function escapeRuleContext(ruleName) {
|
|
@@ -7825,7 +7911,8 @@ var connectHierarchicalMenu = createConnectorWithContext({
|
|
|
7825
7911
|
showMore: PropTypes.bool,
|
|
7826
7912
|
limit: PropTypes.number,
|
|
7827
7913
|
showMoreLimit: PropTypes.number,
|
|
7828
|
-
transformItems: PropTypes.func
|
|
7914
|
+
transformItems: PropTypes.func,
|
|
7915
|
+
facetOrdering: PropTypes.bool
|
|
7829
7916
|
},
|
|
7830
7917
|
defaultProps: {
|
|
7831
7918
|
showMore: false,
|
|
@@ -7833,12 +7920,14 @@ var connectHierarchicalMenu = createConnectorWithContext({
|
|
|
7833
7920
|
showMoreLimit: 20,
|
|
7834
7921
|
separator: ' > ',
|
|
7835
7922
|
rootPath: null,
|
|
7836
|
-
showParentLevel: true
|
|
7923
|
+
showParentLevel: true,
|
|
7924
|
+
facetOrdering: true
|
|
7837
7925
|
},
|
|
7838
7926
|
getProvidedProps: function getProvidedProps(props, searchState, searchResults) {
|
|
7839
7927
|
var showMore = props.showMore,
|
|
7840
7928
|
limit = props.limit,
|
|
7841
|
-
showMoreLimit = props.showMoreLimit
|
|
7929
|
+
showMoreLimit = props.showMoreLimit,
|
|
7930
|
+
facetOrdering = props.facetOrdering;
|
|
7842
7931
|
var id = getId$c(props);
|
|
7843
7932
|
var results = getResults(searchResults, {
|
|
7844
7933
|
ais: props.contextValue,
|
|
@@ -7859,7 +7948,8 @@ var connectHierarchicalMenu = createConnectorWithContext({
|
|
|
7859
7948
|
|
|
7860
7949
|
var itemsLimit = showMore ? showMoreLimit : limit;
|
|
7861
7950
|
var value = results.getFacetValues(id, {
|
|
7862
|
-
sortBy: sortBy$1
|
|
7951
|
+
sortBy: sortBy$1,
|
|
7952
|
+
facetOrdering: facetOrdering
|
|
7863
7953
|
});
|
|
7864
7954
|
var items = value.data ? transformValue(value.data, props, searchState, {
|
|
7865
7955
|
ais: props.contextValue,
|
|
@@ -8411,17 +8501,20 @@ var connectMenu = createConnectorWithContext({
|
|
|
8411
8501
|
showMoreLimit: PropTypes.number,
|
|
8412
8502
|
defaultRefinement: PropTypes.string,
|
|
8413
8503
|
transformItems: PropTypes.func,
|
|
8414
|
-
searchable: PropTypes.bool
|
|
8504
|
+
searchable: PropTypes.bool,
|
|
8505
|
+
facetOrdering: PropTypes.bool
|
|
8415
8506
|
},
|
|
8416
8507
|
defaultProps: {
|
|
8417
8508
|
showMore: false,
|
|
8418
8509
|
limit: 10,
|
|
8419
|
-
showMoreLimit: 20
|
|
8510
|
+
showMoreLimit: 20,
|
|
8511
|
+
facetOrdering: true
|
|
8420
8512
|
},
|
|
8421
8513
|
getProvidedProps: function getProvidedProps(props, searchState, searchResults, meta, searchForFacetValuesResults) {
|
|
8422
8514
|
var attribute = props.attribute,
|
|
8423
8515
|
searchable = props.searchable,
|
|
8424
|
-
indexContextValue = props.indexContextValue
|
|
8516
|
+
indexContextValue = props.indexContextValue,
|
|
8517
|
+
facetOrdering = props.facetOrdering;
|
|
8425
8518
|
var results = getResults(searchResults, {
|
|
8426
8519
|
ais: props.contextValue,
|
|
8427
8520
|
multiIndexContext: props.indexContextValue
|
|
@@ -8467,7 +8560,8 @@ var connectMenu = createConnectorWithContext({
|
|
|
8467
8560
|
});
|
|
8468
8561
|
} else {
|
|
8469
8562
|
items = results.getFacetValues(attribute, {
|
|
8470
|
-
sortBy: searchable ? undefined : defaultSortBy
|
|
8563
|
+
sortBy: searchable ? undefined : defaultSortBy,
|
|
8564
|
+
facetOrdering: facetOrdering
|
|
8471
8565
|
}).map(function (v) {
|
|
8472
8566
|
return {
|
|
8473
8567
|
label: v.name,
|
|
@@ -9324,18 +9418,21 @@ var connectRefinementList = createConnectorWithContext({
|
|
|
9324
9418
|
showMoreLimit: PropTypes.number,
|
|
9325
9419
|
defaultRefinement: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number])),
|
|
9326
9420
|
searchable: PropTypes.bool,
|
|
9327
|
-
transformItems: PropTypes.func
|
|
9421
|
+
transformItems: PropTypes.func,
|
|
9422
|
+
facetOrdering: PropTypes.bool
|
|
9328
9423
|
},
|
|
9329
9424
|
defaultProps: {
|
|
9330
9425
|
operator: 'or',
|
|
9331
9426
|
showMore: false,
|
|
9332
9427
|
limit: 10,
|
|
9333
|
-
showMoreLimit: 20
|
|
9428
|
+
showMoreLimit: 20,
|
|
9429
|
+
facetOrdering: true
|
|
9334
9430
|
},
|
|
9335
9431
|
getProvidedProps: function getProvidedProps(props, searchState, searchResults, metadata, searchForFacetValuesResults) {
|
|
9336
9432
|
var attribute = props.attribute,
|
|
9337
9433
|
searchable = props.searchable,
|
|
9338
|
-
indexContextValue = props.indexContextValue
|
|
9434
|
+
indexContextValue = props.indexContextValue,
|
|
9435
|
+
facetOrdering = props.facetOrdering;
|
|
9339
9436
|
var results = getResults(searchResults, {
|
|
9340
9437
|
ais: props.contextValue,
|
|
9341
9438
|
multiIndexContext: props.indexContextValue
|
|
@@ -9376,7 +9473,8 @@ var connectRefinementList = createConnectorWithContext({
|
|
|
9376
9473
|
isRefined: v.isRefined
|
|
9377
9474
|
};
|
|
9378
9475
|
}) : results.getFacetValues(attribute, {
|
|
9379
|
-
sortBy: sortBy
|
|
9476
|
+
sortBy: sortBy,
|
|
9477
|
+
facetOrdering: facetOrdering
|
|
9380
9478
|
}).map(function (v) {
|
|
9381
9479
|
return {
|
|
9382
9480
|
label: v.name,
|
|
@@ -10876,6 +10974,7 @@ function (_Component) {
|
|
|
10876
10974
|
|
|
10877
10975
|
var _this$props4 = this.props,
|
|
10878
10976
|
className = _this$props4.className,
|
|
10977
|
+
inputId = _this$props4.inputId,
|
|
10879
10978
|
translate = _this$props4.translate,
|
|
10880
10979
|
autoFocus = _this$props4.autoFocus,
|
|
10881
10980
|
loadingIndicator = _this$props4.loadingIndicator,
|
|
@@ -10903,6 +11002,7 @@ function (_Component) {
|
|
|
10903
11002
|
role: "search"
|
|
10904
11003
|
}, React__default.createElement("input", _extends({
|
|
10905
11004
|
ref: this.onInputMount,
|
|
11005
|
+
id: inputId,
|
|
10906
11006
|
type: "search",
|
|
10907
11007
|
placeholder: translate('placeholder'),
|
|
10908
11008
|
autoFocus: autoFocus,
|
|
@@ -10954,7 +11054,8 @@ _defineProperty(SearchBox$1, "propTypes", {
|
|
|
10954
11054
|
showLoadingIndicator: PropTypes.bool,
|
|
10955
11055
|
inputRef: PropTypes.oneOfType([PropTypes.func, PropTypes.exact({
|
|
10956
11056
|
current: PropTypes.object
|
|
10957
|
-
})])
|
|
11057
|
+
})]),
|
|
11058
|
+
inputId: PropTypes.string
|
|
10958
11059
|
});
|
|
10959
11060
|
|
|
10960
11061
|
_defineProperty(SearchBox$1, "defaultProps", {
|
|
@@ -11593,9 +11694,11 @@ function (_Component) {
|
|
|
11593
11694
|
value: function render() {
|
|
11594
11695
|
var _this$props = this.props,
|
|
11595
11696
|
cx = _this$props.cx,
|
|
11697
|
+
id = _this$props.id,
|
|
11596
11698
|
items = _this$props.items,
|
|
11597
11699
|
selectedItem = _this$props.selectedItem;
|
|
11598
11700
|
return React__default.createElement("select", {
|
|
11701
|
+
id: id,
|
|
11599
11702
|
className: cx('select'),
|
|
11600
11703
|
value: selectedItem,
|
|
11601
11704
|
onChange: this.onChange
|
|
@@ -11615,6 +11718,7 @@ function (_Component) {
|
|
|
11615
11718
|
|
|
11616
11719
|
_defineProperty(Select, "propTypes", {
|
|
11617
11720
|
cx: PropTypes.func.isRequired,
|
|
11721
|
+
id: PropTypes.string,
|
|
11618
11722
|
onSelect: PropTypes.func.isRequired,
|
|
11619
11723
|
items: PropTypes.arrayOf(PropTypes.shape({
|
|
11620
11724
|
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,
|
|
@@ -11642,6 +11746,7 @@ function (_Component) {
|
|
|
11642
11746
|
key: "render",
|
|
11643
11747
|
value: function render() {
|
|
11644
11748
|
var _this$props = this.props,
|
|
11749
|
+
id = _this$props.id,
|
|
11645
11750
|
items = _this$props.items,
|
|
11646
11751
|
currentRefinement = _this$props.currentRefinement,
|
|
11647
11752
|
refine = _this$props.refine,
|
|
@@ -11649,6 +11754,7 @@ function (_Component) {
|
|
|
11649
11754
|
return React__default.createElement("div", {
|
|
11650
11755
|
className: classnames(cx$h(''), className)
|
|
11651
11756
|
}, React__default.createElement(Select, {
|
|
11757
|
+
id: id,
|
|
11652
11758
|
onSelect: refine,
|
|
11653
11759
|
selectedItem: currentRefinement,
|
|
11654
11760
|
items: items,
|
|
@@ -11661,6 +11767,7 @@ function (_Component) {
|
|
|
11661
11767
|
}(Component);
|
|
11662
11768
|
|
|
11663
11769
|
_defineProperty(HitsPerPage, "propTypes", {
|
|
11770
|
+
id: PropTypes.string,
|
|
11664
11771
|
items: PropTypes.arrayOf(PropTypes.shape({
|
|
11665
11772
|
value: PropTypes.number.isRequired,
|
|
11666
11773
|
label: PropTypes.string
|
|
@@ -11683,6 +11790,7 @@ _defineProperty(HitsPerPage, "defaultProps", {
|
|
|
11683
11790
|
*
|
|
11684
11791
|
* @name HitsPerPage
|
|
11685
11792
|
* @kind widget
|
|
11793
|
+
* @propType {string} id - The id of the select input
|
|
11686
11794
|
* @propType {{value: number, label: string}[]} items - List of available options.
|
|
11687
11795
|
* @propType {number} defaultRefinement - The number of items selected by default
|
|
11688
11796
|
* @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.
|
|
@@ -12051,6 +12159,7 @@ function (_Component) {
|
|
|
12051
12159
|
key: "render",
|
|
12052
12160
|
value: function render() {
|
|
12053
12161
|
var _this$props = this.props,
|
|
12162
|
+
id = _this$props.id,
|
|
12054
12163
|
items = _this$props.items,
|
|
12055
12164
|
canRefine = _this$props.canRefine,
|
|
12056
12165
|
translate = _this$props.translate,
|
|
@@ -12058,6 +12167,7 @@ function (_Component) {
|
|
|
12058
12167
|
return React__default.createElement("div", {
|
|
12059
12168
|
className: classnames(cx$e('', !canRefine && '-noRefinement'), className)
|
|
12060
12169
|
}, React__default.createElement("select", {
|
|
12170
|
+
id: id,
|
|
12061
12171
|
value: this.selectedValue,
|
|
12062
12172
|
onChange: this.handleSelectChange,
|
|
12063
12173
|
className: cx$e('select')
|
|
@@ -12090,6 +12200,7 @@ function (_Component) {
|
|
|
12090
12200
|
}(Component);
|
|
12091
12201
|
|
|
12092
12202
|
_defineProperty(MenuSelect, "propTypes", {
|
|
12203
|
+
id: PropTypes.string,
|
|
12093
12204
|
items: PropTypes.arrayOf(PropTypes.shape({
|
|
12094
12205
|
label: PropTypes.string.isRequired,
|
|
12095
12206
|
value: PropTypes.string.isRequired,
|
|
@@ -12116,6 +12227,7 @@ var MenuSelect$1 = translatable({
|
|
|
12116
12227
|
* @kind widget
|
|
12117
12228
|
* @requirements The attribute passed to the `attribute` prop must be present in "attributes for faceting"
|
|
12118
12229
|
* on the Algolia dashboard or configured as `attributesForFaceting` via a set settings call to the Algolia API.
|
|
12230
|
+
* @propType {string} id - the id of the select input
|
|
12119
12231
|
* @propType {string} attribute - the name of the attribute in the record
|
|
12120
12232
|
* @propType {string} [defaultRefinement] - the value of the item selected by default
|
|
12121
12233
|
* @propType {number} [limit=10] - the minimum number of diplayed items
|
|
@@ -13447,6 +13559,7 @@ connectScrollTo(ScrollTo);
|
|
|
13447
13559
|
* @propType {node} [reset] - Change the apparence of the default reset button (cross).
|
|
13448
13560
|
* @propType {node} [loadingIndicator] - Change the apparence of the default loading indicator (spinning circle).
|
|
13449
13561
|
* @propType {string} [defaultRefinement] - Provide default refinement value when component is mounted.
|
|
13562
|
+
* @propType {string} [inputId] - The id of the search input
|
|
13450
13563
|
* @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.
|
|
13451
13564
|
* @themeKey ais-SearchBox - the root div of the widget
|
|
13452
13565
|
* @themeKey ais-SearchBox-form - the wrapping form
|
|
@@ -13597,6 +13710,7 @@ function (_Component) {
|
|
|
13597
13710
|
key: "render",
|
|
13598
13711
|
value: function render() {
|
|
13599
13712
|
var _this$props = this.props,
|
|
13713
|
+
id = _this$props.id,
|
|
13600
13714
|
items = _this$props.items,
|
|
13601
13715
|
currentRefinement = _this$props.currentRefinement,
|
|
13602
13716
|
refine = _this$props.refine,
|
|
@@ -13604,6 +13718,7 @@ function (_Component) {
|
|
|
13604
13718
|
return React__default.createElement("div", {
|
|
13605
13719
|
className: classnames(cx$4(''), className)
|
|
13606
13720
|
}, React__default.createElement(Select, {
|
|
13721
|
+
id: id,
|
|
13607
13722
|
cx: cx$4,
|
|
13608
13723
|
items: items,
|
|
13609
13724
|
selectedItem: currentRefinement,
|
|
@@ -13616,6 +13731,7 @@ function (_Component) {
|
|
|
13616
13731
|
}(Component);
|
|
13617
13732
|
|
|
13618
13733
|
_defineProperty(SortBy, "propTypes", {
|
|
13734
|
+
id: PropTypes.string,
|
|
13619
13735
|
items: PropTypes.arrayOf(PropTypes.shape({
|
|
13620
13736
|
label: PropTypes.string,
|
|
13621
13737
|
value: PropTypes.string.isRequired
|
|
@@ -13635,6 +13751,7 @@ _defineProperty(SortBy, "defaultProps", {
|
|
|
13635
13751
|
* @requirements Algolia handles sorting by creating replica indices. [Read more about sorting](https://www.algolia.com/doc/guides/relevance/sorting/) on
|
|
13636
13752
|
* the Algolia website.
|
|
13637
13753
|
* @kind widget
|
|
13754
|
+
* @propType {string} id - The id of the select input
|
|
13638
13755
|
* @propType {{value: string, label: string}[]} items - The list of indexes to search in.
|
|
13639
13756
|
* @propType {string} defaultRefinement - The default selected index.
|
|
13640
13757
|
* @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,12 +1,13 @@
|
|
|
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-19fcf571.js';
|
|
2
|
+
import { _ as _Object$keys } from './keys-8c05d049.js';
|
|
3
|
+
import { _ as _toConsumableArray } from './toConsumableArray-aac0b14a.js';
|
|
4
4
|
import React__default, { useRef, useEffect } from 'react';
|
|
5
5
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
6
|
-
import './
|
|
6
|
+
import './assign-b681604f.js';
|
|
7
|
+
import './core.get-iterator-method-2623c4c7.js';
|
|
7
8
|
import './_object-pie-133f504a.js';
|
|
8
|
-
import './_object-sap-
|
|
9
|
-
import './_iter-detect-
|
|
9
|
+
import './_object-sap-67a80efe.js';
|
|
10
|
+
import './_iter-detect-c9bd22b3.js';
|
|
10
11
|
|
|
11
12
|
var sortByName = function sortByName(arr) {
|
|
12
13
|
var items = [].concat(_toConsumableArray(arr));
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { _ as _extends } from './extends-
|
|
1
|
+
import { _ as _extends } from './extends-19fcf571.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import YoutubeGroup from './YoutubeGroup.js';
|
|
4
4
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
5
|
-
import './
|
|
5
|
+
import './assign-b681604f.js';
|
|
6
|
+
import './core.get-iterator-method-2623c4c7.js';
|
|
6
7
|
import './_object-pie-133f504a.js';
|
|
7
|
-
import './slicedToArray-
|
|
8
|
-
import './web.dom.iterable-
|
|
8
|
+
import './slicedToArray-a5ed2ac8.js';
|
|
9
|
+
import './web.dom.iterable-357ab671.js';
|
|
9
10
|
import './index-c7e2ac95.js';
|
|
10
11
|
import './index-755f2cc2.js';
|
|
11
12
|
import 'react-dom';
|
|
@@ -1,15 +1,16 @@
|
|
|
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-b799d461.js';
|
|
2
|
+
import { _ as _slicedToArray } from './slicedToArray-a5ed2ac8.js';
|
|
3
|
+
import { _ as _extends } from './extends-19fcf571.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-755fb31c.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-2623c4c7.js';
|
|
10
|
+
import './web.dom.iterable-357ab671.js';
|
|
11
11
|
import './_library-528f1934.js';
|
|
12
|
-
import './_iter-detect-
|
|
12
|
+
import './_iter-detect-c9bd22b3.js';
|
|
13
|
+
import './assign-b681604f.js';
|
|
13
14
|
import './_object-pie-133f504a.js';
|
|
14
15
|
import 'prop-types';
|
|
15
16
|
import './index-3f5c03b2.js';
|
|
@@ -21,14 +22,14 @@ import 'next/router';
|
|
|
21
22
|
import './index-c7e2ac95.js';
|
|
22
23
|
import './util-8ed16d48.js';
|
|
23
24
|
import './Beam.js';
|
|
24
|
-
import './stringify-
|
|
25
|
+
import './stringify-e20934cc.js';
|
|
25
26
|
import './Segment.js';
|
|
26
27
|
import './main-1894c974.js';
|
|
27
|
-
import './urlForFile-
|
|
28
|
+
import './urlForFile-3ad576be.js';
|
|
28
29
|
import './index-755f2cc2.js';
|
|
29
30
|
import 'react-dom';
|
|
30
|
-
import './typeof-
|
|
31
|
-
import './_is-array-
|
|
31
|
+
import './typeof-af09aa11.js';
|
|
32
|
+
import './_is-array-e96276c2.js';
|
|
32
33
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
33
34
|
import 'react-bootstrap/Modal';
|
|
34
35
|
import 'react-bootstrap/Button';
|
|
@@ -39,8 +40,8 @@ import './moment-bc12cb97.js';
|
|
|
39
40
|
import './SocialShare.js';
|
|
40
41
|
import 'next/head';
|
|
41
42
|
import 'react-share';
|
|
42
|
-
import './_object-to-array-
|
|
43
|
-
import './toConsumableArray-
|
|
43
|
+
import './_object-to-array-d97ca761.js';
|
|
44
|
+
import './toConsumableArray-aac0b14a.js';
|
|
44
45
|
import 'react-bootstrap/Pagination';
|
|
45
46
|
import './entities-6d9154b4.js';
|
|
46
47
|
import './AdSlot.js';
|
|
@@ -49,9 +50,9 @@ import './isSymbol-a7e9aafe.js';
|
|
|
49
50
|
import './toNumber-5aeba6e7.js';
|
|
50
51
|
import 'react-bootstrap/Row';
|
|
51
52
|
import 'react-bootstrap/Col';
|
|
52
|
-
import './inherits-
|
|
53
|
-
import './_object-sap-
|
|
54
|
-
import './define-property-
|
|
53
|
+
import './inherits-44a60f2b.js';
|
|
54
|
+
import './_object-sap-67a80efe.js';
|
|
55
|
+
import './define-property-615946df.js';
|
|
55
56
|
import './index.esm-eb1e8e80.js';
|
|
56
57
|
import './iconBase-ccc56b97.js';
|
|
57
58
|
import 'react-bootstrap/Figure';
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-
|
|
1
|
+
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-b799d461.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-2623c4c7.js';
|
|
6
|
+
import './web.dom.iterable-357ab671.js';
|
|
7
7
|
import './_library-528f1934.js';
|
|
8
|
-
import './_iter-detect-
|
|
9
|
-
import './toConsumableArray-
|
|
10
|
-
import './extends-
|
|
8
|
+
import './_iter-detect-c9bd22b3.js';
|
|
9
|
+
import './toConsumableArray-aac0b14a.js';
|
|
10
|
+
import './extends-19fcf571.js';
|
|
11
|
+
import './assign-b681604f.js';
|
|
11
12
|
import './_object-pie-133f504a.js';
|
|
12
|
-
import './inherits-
|
|
13
|
-
import './_object-sap-
|
|
14
|
-
import './define-property-
|
|
15
|
-
import './typeof-
|
|
16
|
-
import './_is-array-
|
|
13
|
+
import './inherits-44a60f2b.js';
|
|
14
|
+
import './_object-sap-67a80efe.js';
|
|
15
|
+
import './define-property-615946df.js';
|
|
16
|
+
import './typeof-af09aa11.js';
|
|
17
|
+
import './_is-array-e96276c2.js';
|
|
17
18
|
import './index-f0fc23eb.js';
|
|
18
19
|
import './events-6c3a7a63.js';
|
|
19
20
|
import 'prop-types';
|
|
@@ -30,15 +31,15 @@ import './toNumber-5aeba6e7.js';
|
|
|
30
31
|
import './index.es-a6137319.js';
|
|
31
32
|
import './visibility-sensor-72fd8f8b.js';
|
|
32
33
|
import 'react-dom';
|
|
33
|
-
import './slicedToArray-
|
|
34
|
+
import './slicedToArray-a5ed2ac8.js';
|
|
34
35
|
import './index-3f5c03b2.js';
|
|
35
|
-
import './ADlgInfeed-
|
|
36
|
+
import './ADlgInfeed-7f4a6401.js';
|
|
36
37
|
import './AdSlot.js';
|
|
37
38
|
import './Beam.js';
|
|
38
|
-
import './stringify-
|
|
39
|
+
import './stringify-e20934cc.js';
|
|
39
40
|
import './Segment.js';
|
|
40
41
|
import './main-1894c974.js';
|
|
41
|
-
import './ADInfeed-
|
|
42
|
+
import './ADInfeed-88c25876.js';
|
|
42
43
|
|
|
43
44
|
var _this = undefined;
|
|
44
45
|
|
|
@@ -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-19fcf571.js';
|
|
2
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-44a60f2b.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,19 +11,20 @@ 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 './
|
|
14
|
+
import './assign-b681604f.js';
|
|
15
|
+
import './core.get-iterator-method-2623c4c7.js';
|
|
15
16
|
import './_object-pie-133f504a.js';
|
|
16
|
-
import './_object-sap-
|
|
17
|
-
import './define-property-
|
|
18
|
-
import './typeof-
|
|
19
|
-
import './web.dom.iterable-
|
|
20
|
-
import './_is-array-
|
|
17
|
+
import './_object-sap-67a80efe.js';
|
|
18
|
+
import './define-property-615946df.js';
|
|
19
|
+
import './typeof-af09aa11.js';
|
|
20
|
+
import './web.dom.iterable-357ab671.js';
|
|
21
|
+
import './_is-array-e96276c2.js';
|
|
21
22
|
import './_library-528f1934.js';
|
|
22
23
|
import './events-6c3a7a63.js';
|
|
23
24
|
import 'prop-types';
|
|
24
25
|
import 'react-dom';
|
|
25
26
|
import './iconBase-ccc56b97.js';
|
|
26
|
-
import './slicedToArray-
|
|
27
|
+
import './slicedToArray-a5ed2ac8.js';
|
|
27
28
|
import './index-c7e2ac95.js';
|
|
28
29
|
import './index-755f2cc2.js';
|
|
29
30
|
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-b799d461.js';
|
|
2
|
+
import { _ as _JSON$stringify } from './stringify-e20934cc.js';
|
|
3
|
+
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-a5ed2ac8.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-19fcf571.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,10 +12,11 @@ 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-2623c4c7.js';
|
|
16
|
+
import './web.dom.iterable-357ab671.js';
|
|
17
17
|
import './_library-528f1934.js';
|
|
18
|
-
import './_iter-detect-
|
|
18
|
+
import './_iter-detect-c9bd22b3.js';
|
|
19
|
+
import './assign-b681604f.js';
|
|
19
20
|
import './_object-pie-133f504a.js';
|
|
20
21
|
|
|
21
22
|
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-a5ed2ac8.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-357ab671.js';
|
|
9
|
+
import './core.get-iterator-method-2623c4c7.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
|
|