react-instantsearch 7.25.0 → 7.26.1
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/components/AutocompleteSearch.js +25 -36
- package/dist/cjs/components/Carousel.js +25 -39
- package/dist/cjs/components/index.js +6 -15
- package/dist/cjs/index.js +85 -44
- package/dist/cjs/lib/useStickToBottom.js +11 -17
- package/dist/cjs/package.json +4 -1
- package/dist/cjs/types/PartialKeys.js +2 -1
- package/dist/cjs/types/Translatable.js +2 -1
- package/dist/cjs/types/index.js +1 -26
- package/dist/cjs/ui/Breadcrumb.js +52 -57
- package/dist/cjs/ui/ClearRefinements.js +23 -28
- package/dist/cjs/ui/CurrentRefinements.js +48 -50
- package/dist/cjs/ui/HierarchicalMenu.js +71 -79
- package/dist/cjs/ui/Highlight.js +21 -25
- package/dist/cjs/ui/HitsPerPage.js +31 -34
- package/dist/cjs/ui/InfiniteHits.js +83 -88
- package/dist/cjs/ui/InternalHighlight.js +9 -10
- package/dist/cjs/ui/Menu.js +53 -56
- package/dist/cjs/ui/Pagination.js +117 -124
- package/dist/cjs/ui/PoweredBy.js +33 -37
- package/dist/cjs/ui/RangeInput.js +96 -116
- package/dist/cjs/ui/RefinementList.js +66 -67
- package/dist/cjs/ui/ReverseHighlight.js +21 -25
- package/dist/cjs/ui/SearchBox.js +141 -151
- package/dist/cjs/ui/ShowMoreButton.js +14 -17
- package/dist/cjs/ui/Snippet.js +21 -25
- package/dist/cjs/ui/SortBy.js +32 -36
- package/dist/cjs/ui/Stats.js +29 -32
- package/dist/cjs/ui/ToggleRefinement.js +30 -33
- package/dist/cjs/ui/lib/capitalize.js +5 -7
- package/dist/cjs/ui/lib/index.js +8 -26
- package/dist/cjs/ui/lib/isModifierClick.js +6 -8
- package/dist/cjs/widgets/Autocomplete.js +450 -491
- package/dist/cjs/widgets/Breadcrumb.js +34 -47
- package/dist/cjs/widgets/Chat.js +174 -221
- package/dist/cjs/widgets/ClearRefinements.js +31 -42
- package/dist/cjs/widgets/CurrentRefinements.js +27 -32
- package/dist/cjs/widgets/FilterSuggestions.js +46 -53
- package/dist/cjs/widgets/FrequentlyBoughtTogether.js +66 -74
- package/dist/cjs/widgets/HierarchicalMenu.js +53 -68
- package/dist/cjs/widgets/Highlight.js +31 -31
- package/dist/cjs/widgets/Hits.js +59 -64
- package/dist/cjs/widgets/HitsPerPage.js +32 -38
- package/dist/cjs/widgets/InfiniteHits.js +44 -61
- package/dist/cjs/widgets/LookingSimilar.js +66 -74
- package/dist/cjs/widgets/Menu.js +48 -62
- package/dist/cjs/widgets/Pagination.js +59 -74
- package/dist/cjs/widgets/PoweredBy.js +14 -17
- package/dist/cjs/widgets/RangeInput.js +38 -51
- package/dist/cjs/widgets/RefinementList.js +100 -125
- package/dist/cjs/widgets/RelatedProducts.js +66 -74
- package/dist/cjs/widgets/ReverseHighlight.js +38 -44
- package/dist/cjs/widgets/SearchBox.js +63 -86
- package/dist/cjs/widgets/Snippet.js +31 -31
- package/dist/cjs/widgets/SortBy.js +26 -32
- package/dist/cjs/widgets/Stats.js +54 -68
- package/dist/cjs/widgets/ToggleRefinement.js +33 -38
- package/dist/cjs/widgets/TrendingItems.js +70 -78
- package/dist/cjs/widgets/chat/tools/SearchIndexTool.js +92 -99
- package/dist/cjs/widgets/index.js +77 -289
- package/dist/cjs/widgets/index.umd.js +68 -322
- package/dist/es/components/AutocompleteSearch.js +22 -28
- package/dist/es/components/Carousel.js +23 -31
- package/dist/es/components/index.js +1 -1
- package/dist/es/index.js +29 -4
- package/dist/es/lib/useStickToBottom.js +10 -12
- package/dist/es/package.json +4 -0
- package/dist/es/types/PartialKeys.js +1 -1
- package/dist/es/types/Translatable.js +1 -1
- package/dist/es/types/index.js +1 -2
- package/dist/es/ui/Breadcrumb.js +49 -49
- package/dist/es/ui/ClearRefinements.js +21 -21
- package/dist/es/ui/CurrentRefinements.js +46 -43
- package/dist/es/ui/HierarchicalMenu.js +68 -71
- package/dist/es/ui/Highlight.js +19 -18
- package/dist/es/ui/HitsPerPage.js +29 -27
- package/dist/es/ui/InfiniteHits.js +80 -80
- package/dist/es/ui/InternalHighlight.js +7 -4
- package/dist/es/ui/Menu.js +51 -49
- package/dist/es/ui/Pagination.js +114 -116
- package/dist/es/ui/PoweredBy.js +31 -30
- package/dist/es/ui/RangeInput.js +93 -107
- package/dist/es/ui/RefinementList.js +64 -60
- package/dist/es/ui/ReverseHighlight.js +19 -18
- package/dist/es/ui/SearchBox.js +138 -143
- package/dist/es/ui/ShowMoreButton.js +13 -11
- package/dist/es/ui/Snippet.js +19 -18
- package/dist/es/ui/SortBy.js +30 -29
- package/dist/es/ui/Stats.js +27 -25
- package/dist/es/ui/ToggleRefinement.js +28 -26
- package/dist/es/ui/lib/capitalize.js +5 -3
- package/dist/es/ui/lib/index.js +2 -2
- package/dist/es/ui/lib/isModifierClick.js +6 -4
- package/dist/es/widgets/Autocomplete.js +438 -474
- package/dist/es/widgets/Breadcrumb.js +31 -39
- package/dist/es/widgets/Chat.js +164 -196
- package/dist/es/widgets/ClearRefinements.js +28 -34
- package/dist/es/widgets/CurrentRefinements.js +24 -24
- package/dist/es/widgets/FilterSuggestions.js +41 -42
- package/dist/es/widgets/FrequentlyBoughtTogether.js +62 -65
- package/dist/es/widgets/HierarchicalMenu.js +50 -60
- package/dist/es/widgets/Highlight.js +30 -25
- package/dist/es/widgets/Hits.js +54 -53
- package/dist/es/widgets/HitsPerPage.js +29 -30
- package/dist/es/widgets/InfiniteHits.js +41 -53
- package/dist/es/widgets/LookingSimilar.js +62 -65
- package/dist/es/widgets/Menu.js +45 -54
- package/dist/es/widgets/Pagination.js +56 -66
- package/dist/es/widgets/PoweredBy.js +12 -10
- package/dist/es/widgets/RangeInput.js +35 -43
- package/dist/es/widgets/RefinementList.js +98 -118
- package/dist/es/widgets/RelatedProducts.js +61 -64
- package/dist/es/widgets/ReverseHighlight.js +36 -37
- package/dist/es/widgets/SearchBox.js +61 -79
- package/dist/es/widgets/Snippet.js +30 -25
- package/dist/es/widgets/SortBy.js +23 -24
- package/dist/es/widgets/Stats.js +51 -60
- package/dist/es/widgets/ToggleRefinement.js +30 -30
- package/dist/es/widgets/TrendingItems.js +65 -68
- package/dist/es/widgets/chat/tools/SearchIndexTool.js +89 -91
- package/dist/es/widgets/index.js +27 -26
- package/dist/es/widgets/index.umd.js +36 -33
- package/dist/umd/ReactInstantSearch.js +23411 -30098
- package/dist/umd/ReactInstantSearch.min.js +3 -3
- package/package.json +8 -12
- package/dist/umd/ReactInstantSearch.js.map +0 -1
- package/dist/umd/ReactInstantSearch.min.js.map +0 -1
|
@@ -1,85 +1,85 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
1
|
+
import { _ as _$2 } from '@swc/helpers/cjs/_object_spread.cjs';
|
|
2
|
+
import { _ as _$1 } from '@swc/helpers/cjs/_object_spread_props.cjs';
|
|
3
|
+
import { _ } from '@swc/helpers/cjs/_object_without_properties.cjs';
|
|
5
4
|
import { cx } from 'instantsearch-ui-components';
|
|
6
5
|
import React from 'react';
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
|
|
7
|
+
function DefaultHitComponent(param) {
|
|
8
|
+
var hit = param.hit;
|
|
9
|
+
return /*#__PURE__*/ React.createElement("div", {
|
|
10
|
+
style: {
|
|
11
|
+
wordBreak: 'break-all'
|
|
12
|
+
}
|
|
13
|
+
}, JSON.stringify(hit).slice(0, 100), "…");
|
|
14
|
+
}
|
|
15
|
+
function DefaultBanner(param) {
|
|
16
|
+
var classNames = param.classNames, banner = param.banner;
|
|
17
|
+
if (!banner.image.urls[0].url) {
|
|
18
|
+
return null;
|
|
12
19
|
}
|
|
13
|
-
|
|
20
|
+
return /*#__PURE__*/ React.createElement("aside", {
|
|
21
|
+
className: cx('ais-InfiniteHits-banner', classNames.bannerRoot)
|
|
22
|
+
}, banner.link ? /*#__PURE__*/ React.createElement("a", {
|
|
23
|
+
className: cx('ais-InfiniteHits-banner-link', classNames.bannerLink),
|
|
24
|
+
href: banner.link.url,
|
|
25
|
+
target: banner.link.target
|
|
26
|
+
}, /*#__PURE__*/ React.createElement("img", {
|
|
27
|
+
className: cx('ais-InfiniteHits-banner-image', classNames.bannerImage),
|
|
28
|
+
src: banner.image.urls[0].url,
|
|
29
|
+
alt: banner.image.title
|
|
30
|
+
})) : /*#__PURE__*/ React.createElement("img", {
|
|
31
|
+
className: cx('ais-InfiniteHits-banner-image', classNames.bannerImage),
|
|
32
|
+
src: banner.image.urls[0].url,
|
|
33
|
+
alt: banner.image.title
|
|
34
|
+
}));
|
|
14
35
|
}
|
|
15
|
-
function
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
+
function InfiniteHits(_0) {
|
|
37
|
+
var tmp = _0.hitComponent, HitComponent = tmp === void 0 ? DefaultHitComponent : tmp, hits = _0.hits, BannerComponent = _0.bannerComponent, banner = _0.banner, sendEvent = _0.sendEvent, isFirstPage = _0.isFirstPage, isLastPage = _0.isLastPage, onShowPrevious = _0.onShowPrevious, onShowMore = _0.onShowMore, _0_classNames = _0.classNames, classNames = _0_classNames === void 0 ? {} : _0_classNames, translations = _0.translations, props = _(_0, [
|
|
38
|
+
"hitComponent",
|
|
39
|
+
"hits",
|
|
40
|
+
"bannerComponent",
|
|
41
|
+
"banner",
|
|
42
|
+
"sendEvent",
|
|
43
|
+
"isFirstPage",
|
|
44
|
+
"isLastPage",
|
|
45
|
+
"onShowPrevious",
|
|
46
|
+
"onShowMore",
|
|
47
|
+
"classNames",
|
|
48
|
+
"translations"
|
|
49
|
+
]);
|
|
50
|
+
return /*#__PURE__*/ React.createElement("div", _$1(_$2({}, props), {
|
|
51
|
+
className: cx('ais-InfiniteHits', classNames.root, hits.length === 0 && cx('ais-InfiniteHits--empty', classNames.emptyRoot), props.className)
|
|
52
|
+
}), onShowPrevious && /*#__PURE__*/ React.createElement("button", {
|
|
53
|
+
className: cx('ais-InfiniteHits-loadPrevious', classNames.loadPrevious, isFirstPage && cx('ais-InfiniteHits-loadPrevious--disabled', classNames.disabledLoadPrevious)),
|
|
54
|
+
onClick: onShowPrevious,
|
|
55
|
+
disabled: isFirstPage
|
|
56
|
+
}, translations.showPreviousButtonText), banner && (BannerComponent ? /*#__PURE__*/ React.createElement(BannerComponent, {
|
|
57
|
+
className: cx('ais-InfiniteHits-banner', classNames.bannerRoot),
|
|
58
|
+
banner: banner
|
|
59
|
+
}) : /*#__PURE__*/ React.createElement(DefaultBanner, {
|
|
60
|
+
classNames: classNames,
|
|
61
|
+
banner: banner
|
|
62
|
+
})), /*#__PURE__*/ React.createElement("ol", {
|
|
63
|
+
className: cx('ais-InfiniteHits-list', classNames.list)
|
|
64
|
+
}, hits.map(function(hit) {
|
|
65
|
+
return /*#__PURE__*/ React.createElement("li", {
|
|
66
|
+
key: hit.objectID,
|
|
67
|
+
className: cx('ais-InfiniteHits-item', classNames.item),
|
|
68
|
+
onClick: function onClick() {
|
|
69
|
+
sendEvent('click:internal', hit, 'Hit Clicked');
|
|
70
|
+
},
|
|
71
|
+
onAuxClick: function onAuxClick() {
|
|
72
|
+
sendEvent('click:internal', hit, 'Hit Clicked');
|
|
73
|
+
}
|
|
74
|
+
}, /*#__PURE__*/ React.createElement(HitComponent, {
|
|
75
|
+
hit: hit,
|
|
76
|
+
sendEvent: sendEvent
|
|
77
|
+
}));
|
|
78
|
+
})), /*#__PURE__*/ React.createElement("button", {
|
|
79
|
+
className: cx('ais-InfiniteHits-loadMore', classNames.loadMore, isLastPage && cx('ais-InfiniteHits-loadMore--disabled', classNames.disabledLoadMore)),
|
|
80
|
+
onClick: onShowMore,
|
|
81
|
+
disabled: isLastPage
|
|
82
|
+
}, translations.showMoreButtonText));
|
|
36
83
|
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
HitComponent = _ref3$hitComponent === void 0 ? DefaultHitComponent : _ref3$hitComponent,
|
|
40
|
-
hits = _ref3.hits,
|
|
41
|
-
BannerComponent = _ref3.bannerComponent,
|
|
42
|
-
banner = _ref3.banner,
|
|
43
|
-
sendEvent = _ref3.sendEvent,
|
|
44
|
-
isFirstPage = _ref3.isFirstPage,
|
|
45
|
-
isLastPage = _ref3.isLastPage,
|
|
46
|
-
onShowPrevious = _ref3.onShowPrevious,
|
|
47
|
-
onShowMore = _ref3.onShowMore,
|
|
48
|
-
_ref3$classNames = _ref3.classNames,
|
|
49
|
-
classNames = _ref3$classNames === void 0 ? {} : _ref3$classNames,
|
|
50
|
-
translations = _ref3.translations,
|
|
51
|
-
props = _objectWithoutProperties(_ref3, _excluded);
|
|
52
|
-
return /*#__PURE__*/React.createElement("div", _extends({}, props, {
|
|
53
|
-
className: cx('ais-InfiniteHits', classNames.root, hits.length === 0 && cx('ais-InfiniteHits--empty', classNames.emptyRoot), props.className)
|
|
54
|
-
}), onShowPrevious && /*#__PURE__*/React.createElement("button", {
|
|
55
|
-
className: cx('ais-InfiniteHits-loadPrevious', classNames.loadPrevious, isFirstPage && cx('ais-InfiniteHits-loadPrevious--disabled', classNames.disabledLoadPrevious)),
|
|
56
|
-
onClick: onShowPrevious,
|
|
57
|
-
disabled: isFirstPage
|
|
58
|
-
}, translations.showPreviousButtonText), banner && (BannerComponent ? /*#__PURE__*/React.createElement(BannerComponent, {
|
|
59
|
-
className: cx('ais-InfiniteHits-banner', classNames.bannerRoot),
|
|
60
|
-
banner: banner
|
|
61
|
-
}) : /*#__PURE__*/React.createElement(DefaultBanner, {
|
|
62
|
-
classNames: classNames,
|
|
63
|
-
banner: banner
|
|
64
|
-
})), /*#__PURE__*/React.createElement("ol", {
|
|
65
|
-
className: cx('ais-InfiniteHits-list', classNames.list)
|
|
66
|
-
}, hits.map(function (hit) {
|
|
67
|
-
return /*#__PURE__*/React.createElement("li", {
|
|
68
|
-
key: hit.objectID,
|
|
69
|
-
className: cx('ais-InfiniteHits-item', classNames.item),
|
|
70
|
-
onClick: function onClick() {
|
|
71
|
-
sendEvent('click:internal', hit, 'Hit Clicked');
|
|
72
|
-
},
|
|
73
|
-
onAuxClick: function onAuxClick() {
|
|
74
|
-
sendEvent('click:internal', hit, 'Hit Clicked');
|
|
75
|
-
}
|
|
76
|
-
}, /*#__PURE__*/React.createElement(HitComponent, {
|
|
77
|
-
hit: hit,
|
|
78
|
-
sendEvent: sendEvent
|
|
79
|
-
}));
|
|
80
|
-
})), /*#__PURE__*/React.createElement("button", {
|
|
81
|
-
className: cx('ais-InfiniteHits-loadMore', classNames.loadMore, isLastPage && cx('ais-InfiniteHits-loadMore--disabled', classNames.disabledLoadMore)),
|
|
82
|
-
onClick: onShowMore,
|
|
83
|
-
disabled: isLastPage
|
|
84
|
-
}, translations.showMoreButtonText));
|
|
85
|
-
}
|
|
84
|
+
|
|
85
|
+
export { InfiniteHits };
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { createHighlightComponent } from 'instantsearch-ui-components';
|
|
2
2
|
import { createElement, Fragment } from 'react';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
|
|
4
|
+
var InternalHighlight = createHighlightComponent({
|
|
5
|
+
createElement: createElement,
|
|
6
|
+
Fragment: Fragment
|
|
7
|
+
});
|
|
8
|
+
|
|
9
|
+
export { InternalHighlight };
|
package/dist/es/ui/Menu.js
CHANGED
|
@@ -1,51 +1,53 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
1
|
+
import { _ as _$2 } from '@swc/helpers/cjs/_object_spread.cjs';
|
|
2
|
+
import { _ as _$1 } from '@swc/helpers/cjs/_object_spread_props.cjs';
|
|
3
|
+
import { _ } from '@swc/helpers/cjs/_object_without_properties.cjs';
|
|
5
4
|
import { cx } from 'instantsearch-ui-components';
|
|
6
5
|
import React from 'react';
|
|
7
|
-
import { isModifierClick } from
|
|
8
|
-
import { ShowMoreButton } from
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
6
|
+
import { isModifierClick } from './lib/isModifierClick.js';
|
|
7
|
+
import { ShowMoreButton } from './ShowMoreButton.js';
|
|
8
|
+
|
|
9
|
+
function Menu(_0) {
|
|
10
|
+
var items = _0.items, _0_classNames = _0.classNames, classNames = _0_classNames === void 0 ? {} : _0_classNames, showMore = _0.showMore, canToggleShowMore = _0.canToggleShowMore, onToggleShowMore = _0.onToggleShowMore, isShowingMore = _0.isShowingMore, createURL = _0.createURL, onRefine = _0.onRefine, translations = _0.translations, props = _(_0, [
|
|
11
|
+
"items",
|
|
12
|
+
"classNames",
|
|
13
|
+
"showMore",
|
|
14
|
+
"canToggleShowMore",
|
|
15
|
+
"onToggleShowMore",
|
|
16
|
+
"isShowingMore",
|
|
17
|
+
"createURL",
|
|
18
|
+
"onRefine",
|
|
19
|
+
"translations"
|
|
20
|
+
]);
|
|
21
|
+
return /*#__PURE__*/ React.createElement("div", _$1(_$2({}, props), {
|
|
22
|
+
className: cx('ais-Menu', classNames.root, items.length === 0 && cx('ais-Menu--noRefinement', classNames.noRefinementRoot), props.className)
|
|
23
|
+
}), /*#__PURE__*/ React.createElement("ul", {
|
|
24
|
+
className: cx('ais-Menu-list', classNames.list)
|
|
25
|
+
}, items.map(function(item) {
|
|
26
|
+
return /*#__PURE__*/ React.createElement("li", {
|
|
27
|
+
key: item.label,
|
|
28
|
+
className: cx('ais-Menu-item', classNames.item, item.isRefined && cx('ais-Menu-item--selected', classNames.selectedItem))
|
|
29
|
+
}, /*#__PURE__*/ React.createElement("a", {
|
|
30
|
+
className: cx('ais-Menu-link', classNames.link),
|
|
31
|
+
href: createURL(item.value),
|
|
32
|
+
onClick: function onClick(event) {
|
|
33
|
+
if (isModifierClick(event)) {
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
event.preventDefault();
|
|
37
|
+
onRefine(item);
|
|
38
|
+
}
|
|
39
|
+
}, /*#__PURE__*/ React.createElement("span", {
|
|
40
|
+
className: cx('ais-Menu-label', classNames.label)
|
|
41
|
+
}, item.label), /*#__PURE__*/ React.createElement("span", {
|
|
42
|
+
className: cx('ais-Menu-count', classNames.count)
|
|
43
|
+
}, item.count)));
|
|
44
|
+
})), showMore && /*#__PURE__*/ React.createElement(ShowMoreButton, {
|
|
45
|
+
className: cx('ais-Menu-showMore', classNames.showMore, !canToggleShowMore && cx('ais-Menu-showMore--disabled', classNames.disabledShowMore)),
|
|
46
|
+
disabled: !canToggleShowMore,
|
|
47
|
+
onClick: onToggleShowMore,
|
|
48
|
+
isShowingMore: isShowingMore,
|
|
49
|
+
translations: translations
|
|
50
|
+
}));
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export { Menu };
|
package/dist/es/ui/Pagination.js
CHANGED
|
@@ -1,120 +1,118 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
5
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
1
|
+
import { _ as _$2 } from '@swc/helpers/cjs/_object_spread.cjs';
|
|
2
|
+
import { _ as _$1 } from '@swc/helpers/cjs/_object_spread_props.cjs';
|
|
3
|
+
import { _ } from '@swc/helpers/cjs/_object_without_properties.cjs';
|
|
6
4
|
import { cx } from 'instantsearch-ui-components';
|
|
7
5
|
import React from 'react';
|
|
8
|
-
import { isModifierClick } from
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
currentPage =
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
return onNavigate(lastPageIndex);
|
|
90
|
-
}
|
|
91
|
-
}, translations.lastPageItemText)));
|
|
6
|
+
import { isModifierClick } from './lib/isModifierClick.js';
|
|
7
|
+
|
|
8
|
+
function Pagination(_0) {
|
|
9
|
+
var pages = _0.pages, currentPage = _0.currentPage, nbPages = _0.nbPages, isFirstPage = _0.isFirstPage, isLastPage = _0.isLastPage, _0_showFirst = _0.showFirst, showFirst = _0_showFirst === void 0 ? true : _0_showFirst, _0_showPrevious = _0.showPrevious, showPrevious = _0_showPrevious === void 0 ? true : _0_showPrevious, _0_showNext = _0.showNext, showNext = _0_showNext === void 0 ? true : _0_showNext, _0_showLast = _0.showLast, showLast = _0_showLast === void 0 ? true : _0_showLast, createURL = _0.createURL, onNavigate = _0.onNavigate, translations = _0.translations, _0_classNames = _0.classNames, classNames = _0_classNames === void 0 ? {} : _0_classNames, props = _(_0, [
|
|
10
|
+
"pages",
|
|
11
|
+
"currentPage",
|
|
12
|
+
"nbPages",
|
|
13
|
+
"isFirstPage",
|
|
14
|
+
"isLastPage",
|
|
15
|
+
"showFirst",
|
|
16
|
+
"showPrevious",
|
|
17
|
+
"showNext",
|
|
18
|
+
"showLast",
|
|
19
|
+
"createURL",
|
|
20
|
+
"onNavigate",
|
|
21
|
+
"translations",
|
|
22
|
+
"classNames"
|
|
23
|
+
]);
|
|
24
|
+
var firstPageIndex = 0;
|
|
25
|
+
var previousPageIndex = currentPage - 1;
|
|
26
|
+
var nextPageIndex = currentPage + 1;
|
|
27
|
+
var lastPageIndex = nbPages - 1;
|
|
28
|
+
return /*#__PURE__*/ React.createElement("div", _$1(_$2({}, props), {
|
|
29
|
+
className: cx('ais-Pagination', classNames.root, nbPages <= 1 && cx('ais-Pagination--noRefinement', classNames.noRefinementRoot), props.className)
|
|
30
|
+
}), /*#__PURE__*/ React.createElement("ul", {
|
|
31
|
+
className: cx('ais-Pagination-list', classNames.list)
|
|
32
|
+
}, showFirst && /*#__PURE__*/ React.createElement(PaginationItem, {
|
|
33
|
+
isDisabled: isFirstPage,
|
|
34
|
+
className: cx('ais-Pagination-item--firstPage', classNames.firstPageItem),
|
|
35
|
+
classNames: classNames,
|
|
36
|
+
"aria-label": translations.firstPageItemAriaLabel,
|
|
37
|
+
href: createURL(firstPageIndex),
|
|
38
|
+
onClick: function onClick() {
|
|
39
|
+
return onNavigate(firstPageIndex);
|
|
40
|
+
}
|
|
41
|
+
}, translations.firstPageItemText), showPrevious && /*#__PURE__*/ React.createElement(PaginationItem, {
|
|
42
|
+
isDisabled: isFirstPage,
|
|
43
|
+
className: cx('ais-Pagination-item--previousPage', classNames.previousPageItem),
|
|
44
|
+
classNames: classNames,
|
|
45
|
+
"aria-label": translations.previousPageItemAriaLabel,
|
|
46
|
+
href: createURL(previousPageIndex),
|
|
47
|
+
onClick: function onClick() {
|
|
48
|
+
return onNavigate(previousPageIndex);
|
|
49
|
+
}
|
|
50
|
+
}, translations.previousPageItemText), pages.map(function(page) {
|
|
51
|
+
return /*#__PURE__*/ React.createElement(PaginationItem, {
|
|
52
|
+
key: page,
|
|
53
|
+
isDisabled: false,
|
|
54
|
+
className: cx('ais-Pagination-item--page', classNames.pageItem, page === currentPage && cx('ais-Pagination-item--selected', classNames.selectedItem)),
|
|
55
|
+
classNames: classNames,
|
|
56
|
+
"aria-label": translations.pageItemAriaLabel({
|
|
57
|
+
currentPage: page + 1,
|
|
58
|
+
nbPages: nbPages
|
|
59
|
+
}),
|
|
60
|
+
href: createURL(page),
|
|
61
|
+
onClick: function onClick() {
|
|
62
|
+
return onNavigate(page);
|
|
63
|
+
}
|
|
64
|
+
}, translations.pageItemText({
|
|
65
|
+
currentPage: page + 1,
|
|
66
|
+
nbPages: nbPages
|
|
67
|
+
}));
|
|
68
|
+
}), showNext && /*#__PURE__*/ React.createElement(PaginationItem, {
|
|
69
|
+
isDisabled: isLastPage,
|
|
70
|
+
className: cx('ais-Pagination-item--nextPage', classNames.nextPageItem),
|
|
71
|
+
classNames: classNames,
|
|
72
|
+
"aria-label": translations.nextPageItemAriaLabel,
|
|
73
|
+
href: createURL(nextPageIndex),
|
|
74
|
+
onClick: function onClick() {
|
|
75
|
+
return onNavigate(nextPageIndex);
|
|
76
|
+
}
|
|
77
|
+
}, translations.nextPageItemText), showLast && /*#__PURE__*/ React.createElement(PaginationItem, {
|
|
78
|
+
isDisabled: isLastPage,
|
|
79
|
+
className: cx('ais-Pagination-item--lastPage', classNames.lastPageItem),
|
|
80
|
+
classNames: classNames,
|
|
81
|
+
"aria-label": translations.lastPageItemAriaLabel,
|
|
82
|
+
href: createURL(lastPageIndex),
|
|
83
|
+
onClick: function onClick() {
|
|
84
|
+
return onNavigate(lastPageIndex);
|
|
85
|
+
}
|
|
86
|
+
}, translations.lastPageItemText)));
|
|
92
87
|
}
|
|
93
|
-
function PaginationItem(
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
return /*#__PURE__*/React.createElement("li", {
|
|
108
|
-
className: cx('ais-Pagination-item', classNames.item, className)
|
|
109
|
-
}, /*#__PURE__*/React.createElement("a", _extends({
|
|
110
|
-
className: cx('ais-Pagination-link', classNames.link),
|
|
111
|
-
href: href,
|
|
112
|
-
onClick: function onClick(event) {
|
|
113
|
-
if (isModifierClick(event)) {
|
|
114
|
-
return;
|
|
115
|
-
}
|
|
116
|
-
event.preventDefault();
|
|
117
|
-
_onClick(event);
|
|
88
|
+
function PaginationItem(_0) {
|
|
89
|
+
var isDisabled = _0.isDisabled, className = _0.className, classNames = _0.classNames, href = _0.href, onClick = _0.onClick, props = _(_0, [
|
|
90
|
+
"isDisabled",
|
|
91
|
+
"className",
|
|
92
|
+
"classNames",
|
|
93
|
+
"href",
|
|
94
|
+
"onClick"
|
|
95
|
+
]);
|
|
96
|
+
if (isDisabled) {
|
|
97
|
+
return /*#__PURE__*/ React.createElement("li", {
|
|
98
|
+
className: cx('ais-Pagination-item', classNames.item, 'ais-Pagination-item--disabled', classNames.disabledItem, className)
|
|
99
|
+
}, /*#__PURE__*/ React.createElement("span", _$2({
|
|
100
|
+
className: cx('ais-Pagination-link', classNames.link)
|
|
101
|
+
}, props)));
|
|
118
102
|
}
|
|
119
|
-
|
|
120
|
-
|
|
103
|
+
return /*#__PURE__*/ React.createElement("li", {
|
|
104
|
+
className: cx('ais-Pagination-item', classNames.item, className)
|
|
105
|
+
}, /*#__PURE__*/ React.createElement("a", _$2({
|
|
106
|
+
className: cx('ais-Pagination-link', classNames.link),
|
|
107
|
+
href: href,
|
|
108
|
+
onClick: function onClick1(event) {
|
|
109
|
+
if (isModifierClick(event)) {
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
112
|
+
event.preventDefault();
|
|
113
|
+
onClick(event);
|
|
114
|
+
}
|
|
115
|
+
}, props)));
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export { Pagination };
|
package/dist/es/ui/PoweredBy.js
CHANGED
|
@@ -1,32 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
1
|
+
import { _ as _$2 } from '@swc/helpers/cjs/_object_spread.cjs';
|
|
2
|
+
import { _ as _$1 } from '@swc/helpers/cjs/_object_spread_props.cjs';
|
|
3
|
+
import { _ } from '@swc/helpers/cjs/_object_without_properties.cjs';
|
|
5
4
|
import { cx } from 'instantsearch-ui-components';
|
|
6
5
|
import React from 'react';
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
6
|
+
|
|
7
|
+
function PoweredBy(_0) {
|
|
8
|
+
var _0_classNames = _0.classNames, classNames = _0_classNames === void 0 ? {} : _0_classNames, url = _0.url, _0_theme = _0.theme, theme = _0_theme === void 0 ? 'light' : _0_theme, props = _(_0, [
|
|
9
|
+
"classNames",
|
|
10
|
+
"url",
|
|
11
|
+
"theme"
|
|
12
|
+
]);
|
|
13
|
+
return /*#__PURE__*/ React.createElement("div", _$1(_$2({}, props), {
|
|
14
|
+
className: cx('ais-PoweredBy', theme === 'dark' ? cx('ais-PoweredBy--dark', classNames.dark) : cx('ais-PoweredBy--light', classNames.light), classNames.root, props.className)
|
|
15
|
+
}), /*#__PURE__*/ React.createElement("a", {
|
|
16
|
+
href: url,
|
|
17
|
+
target: "_blank",
|
|
18
|
+
className: cx('ais-PoweredBy-link', classNames.link),
|
|
19
|
+
"aria-label": "Search by Algolia",
|
|
20
|
+
rel: "noopener noreferrer"
|
|
21
|
+
}, /*#__PURE__*/ React.createElement("svg", {
|
|
22
|
+
viewBox: "0 0 572 64",
|
|
23
|
+
className: cx('ais-PoweredBy-logo', classNames.logo)
|
|
24
|
+
}, /*#__PURE__*/ React.createElement("path", {
|
|
25
|
+
fill: theme === 'dark' ? '#FFF' : '#36395A',
|
|
26
|
+
d: "M16 48.3c-3.4 0-6.3-.6-8.7-1.7A12.4 12.4 0 0 1 1.9 42C.6 40 0 38 0 35.4h6.5a6.7 6.7 0 0 0 3.9 6c1.4.7 3.3 1.1 5.6 1.1 2.2 0 4-.3 5.4-1a7 7 0 0 0 3-2.4 6 6 0 0 0 1-3.4c0-1.5-.6-2.8-1.9-3.7-1.3-1-3.3-1.6-5.9-1.8l-4-.4c-3.7-.3-6.6-1.4-8.8-3.4a10 10 0 0 1-3.3-7.9c0-2.4.6-4.6 1.8-6.4a12 12 0 0 1 5-4.3c2.2-1 4.7-1.6 7.5-1.6s5.5.5 7.6 1.6a12 12 0 0 1 5 4.4c1.2 1.8 1.8 4 1.8 6.7h-6.5a6.4 6.4 0 0 0-3.5-5.9c-1-.6-2.6-1-4.4-1s-3.2.3-4.4 1c-1.1.6-2 1.4-2.6 2.4-.5 1-.8 2-.8 3.1a5 5 0 0 0 1.5 3.6c1 1 2.6 1.7 4.7 1.9l4 .3c2.8.2 5.2.8 7.2 1.8 2.1 1 3.7 2.2 4.9 3.8a9.7 9.7 0 0 1 1.7 5.8c0 2.5-.7 4.7-2 6.6a13 13 0 0 1-5.6 4.4c-2.4 1-5.2 1.6-8.4 1.6Zm35.6 0c-2.6 0-4.8-.4-6.7-1.3a13 13 0 0 1-4.7-3.5 17.1 17.1 0 0 1-3.6-10.4v-1c0-2 .3-3.8 1-5.6a13 13 0 0 1 7.3-8.3 15 15 0 0 1 6.3-1.4A13.2 13.2 0 0 1 64 24.3c1 2.2 1.6 4.6 1.6 7.2V34H39.4v-4.3h21.8l-1.8 2.2c0-2-.3-3.7-.9-5.1a7.3 7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