@sledge-app/react-instant-search 0.0.33 → 0.0.35
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/components/Global/OtherIndexLists.d.ts +2 -1
- package/dist/components/Global/OtherIndexLists.d.ts.map +1 -1
- package/dist/components/Global/SearchViewMoreResult.d.ts +2 -1
- package/dist/components/Global/SearchViewMoreResult.d.ts.map +1 -1
- package/dist/components/Global/SuggestionKeywordLists.d.ts +2 -1
- package/dist/components/Global/SuggestionKeywordLists.d.ts.map +1 -1
- package/dist/components/Global/index.d.ts +6 -3
- package/dist/components/Global/index.d.ts.map +1 -1
- package/dist/components/ProductFilterWidget/ProductFilterWidgetInitSelector.d.ts.map +1 -1
- package/dist/components/SearchIconWidget/SearchIconWidget.d.ts.map +1 -1
- package/dist/components/SearchIconWidget/SearchIconWidgetInitSelector.d.ts.map +1 -1
- package/dist/components/SearchIconWidget/SearchIconWidgetPopup.d.ts +1 -1
- package/dist/components/SearchIconWidget/SearchIconWidgetPopup.d.ts.map +1 -1
- package/dist/components/SearchResultWidget/SearchResultWidget.d.ts.map +1 -1
- package/dist/components/SearchResultWidget/SearchResultWidgetInitSelector.d.ts.map +1 -1
- package/dist/components/SearchWidget/SearchWidget.d.ts.map +1 -1
- package/dist/components/SearchWidget/SearchWidgetInitSelector.d.ts.map +1 -1
- package/dist/sledge-react-instant-search.cjs +1 -1
- package/dist/sledge-react-instant-search.cjs.map +1 -1
- package/dist/sledge-react-instant-search.js +62 -18
- package/dist/sledge-react-instant-search.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export declare const OtherIndexLists: ({ listsComponent, name, items }: {
|
|
1
|
+
export declare const OtherIndexLists: ({ listsComponent, name, items, isComponentJsVersion }: {
|
|
2
2
|
listsComponent?: any;
|
|
3
3
|
name?: string | undefined;
|
|
4
4
|
items?: any[] | undefined;
|
|
5
|
+
isComponentJsVersion?: any;
|
|
5
6
|
}) => any;
|
|
6
7
|
//# sourceMappingURL=OtherIndexLists.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OtherIndexLists.d.ts","sourceRoot":"","sources":["../../../../../src/components/Global/OtherIndexLists.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe;
|
|
1
|
+
{"version":3,"file":"OtherIndexLists.d.ts","sourceRoot":"","sources":["../../../../../src/components/Global/OtherIndexLists.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe;qBAA8E,GAAG;;;2BAAuD,GAAG;SAiCtK,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export declare const SearchViewMoreResult: ({ component, keyword }: {
|
|
1
|
+
export declare const SearchViewMoreResult: ({ component, keyword, isComponentJsVersion }: {
|
|
2
2
|
component?: any;
|
|
3
3
|
keyword?: string | undefined;
|
|
4
|
+
isComponentJsVersion?: any;
|
|
4
5
|
}) => any;
|
|
5
6
|
//# sourceMappingURL=SearchViewMoreResult.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchViewMoreResult.d.ts","sourceRoot":"","sources":["../../../../../src/components/Global/SearchViewMoreResult.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;
|
|
1
|
+
{"version":3,"file":"SearchViewMoreResult.d.ts","sourceRoot":"","sources":["../../../../../src/components/Global/SearchViewMoreResult.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;gBAAwE,GAAG;;2BAA2C,GAAG;SAczJ,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export declare const SuggestionKeywordLists: ({ listsComponent, keywords }: {
|
|
1
|
+
export declare const SuggestionKeywordLists: ({ listsComponent, keywords, isComponentJsVersion }: {
|
|
2
2
|
listsComponent?: any;
|
|
3
3
|
keywords?: any[] | undefined;
|
|
4
|
+
isComponentJsVersion?: any;
|
|
4
5
|
}) => any;
|
|
5
6
|
//# sourceMappingURL=SuggestionKeywordLists.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SuggestionKeywordLists.d.ts","sourceRoot":"","sources":["../../../../../src/components/Global/SuggestionKeywordLists.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,sBAAsB;
|
|
1
|
+
{"version":3,"file":"SuggestionKeywordLists.d.ts","sourceRoot":"","sources":["../../../../../src/components/Global/SuggestionKeywordLists.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,sBAAsB;qBAAmF,GAAG;;2BAA2C,GAAG;SA4BtK,CAAC"}
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
export declare const Global: {
|
|
2
|
-
OtherIndexLists: ({ listsComponent, name, items }: {
|
|
2
|
+
OtherIndexLists: ({ listsComponent, name, items, isComponentJsVersion }: {
|
|
3
3
|
listsComponent?: any;
|
|
4
4
|
name?: string | undefined;
|
|
5
5
|
items?: any[] | undefined;
|
|
6
|
+
isComponentJsVersion?: any;
|
|
6
7
|
}) => any;
|
|
7
|
-
SuggestionKeywordLists: ({ listsComponent, keywords }: {
|
|
8
|
+
SuggestionKeywordLists: ({ listsComponent, keywords, isComponentJsVersion }: {
|
|
8
9
|
listsComponent?: any;
|
|
9
10
|
keywords?: any[] | undefined;
|
|
11
|
+
isComponentJsVersion?: any;
|
|
10
12
|
}) => any;
|
|
11
|
-
SearchViewMoreResult: ({ component, keyword }: {
|
|
13
|
+
SearchViewMoreResult: ({ component, keyword, isComponentJsVersion }: {
|
|
12
14
|
component?: any;
|
|
13
15
|
keyword?: string | undefined;
|
|
16
|
+
isComponentJsVersion?: any;
|
|
14
17
|
}) => any;
|
|
15
18
|
};
|
|
16
19
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Global/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Global/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;CAIlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductFilterWidgetInitSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/ProductFilterWidget/ProductFilterWidgetInitSelector.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,+BAA+B,
|
|
1
|
+
{"version":3,"file":"ProductFilterWidgetInitSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/ProductFilterWidget/ProductFilterWidgetInitSelector.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,+BAA+B,YA4D3C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchIconWidget.d.ts","sourceRoot":"","sources":["../../../../../src/components/SearchIconWidget/SearchIconWidget.tsx"],"names":[],"mappings":"AACA,OAAO,wBAAwB,CAAC;AAMhC,MAAM,WAAW,sBAAsB;IACnC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;IACnC,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,gBAAgB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;IACrD,kBAAkB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;IACvD,qBAAqB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;IAC1D,oBAAoB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;CAC5D;AAED,eAAO,MAAM,gBAAgB,UAAW,sBAAsB,
|
|
1
|
+
{"version":3,"file":"SearchIconWidget.d.ts","sourceRoot":"","sources":["../../../../../src/components/SearchIconWidget/SearchIconWidget.tsx"],"names":[],"mappings":"AACA,OAAO,wBAAwB,CAAC;AAMhC,MAAM,WAAW,sBAAsB;IACnC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;IACnC,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,gBAAgB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;IACrD,kBAAkB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;IACvD,qBAAqB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;IAC1D,oBAAoB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;CAC5D;AAED,eAAO,MAAM,gBAAgB,UAAW,sBAAsB,gBAmF7D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchIconWidgetInitSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/SearchIconWidget/SearchIconWidgetInitSelector.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,4BAA4B,
|
|
1
|
+
{"version":3,"file":"SearchIconWidgetInitSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/SearchIconWidget/SearchIconWidgetInitSelector.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,4BAA4B,YAsExC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare global {
|
|
2
2
|
interface Window {
|
|
3
|
-
sledgeInstantSearchIconWidgetPopup(onAfterAddToCart?: (state: 'success' | 'failed') => void, onAfterAddWishlist?: (state: 'success' | 'failed') => void, onAfterRemoveWishlist?: (state: 'success' | 'failed') => void, onAfterRenderProduct?: (state: 'success' | 'failed') => void, productCardsComponent?: any, suggestionKeywordListsComponent?: any, otherIndexListsComponent?: any, searchViewMoreResultComponent?: any): void;
|
|
3
|
+
sledgeInstantSearchIconWidgetPopup(onAfterAddToCart?: (state: 'success' | 'failed') => void, onAfterAddWishlist?: (state: 'success' | 'failed') => void, onAfterRemoveWishlist?: (state: 'success' | 'failed') => void, onAfterRenderProduct?: (state: 'success' | 'failed') => void, separateJsVersionComponent?: any, productCardsComponent?: any, suggestionKeywordListsComponent?: any, otherIndexListsComponent?: any, searchViewMoreResultComponent?: any): void;
|
|
4
4
|
}
|
|
5
5
|
}
|
|
6
6
|
export declare const SearchIconWidgetPopup: () => JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchIconWidgetPopup.d.ts","sourceRoot":"","sources":["../../../../../src/components/SearchIconWidget/SearchIconWidgetPopup.tsx"],"names":[],"mappings":"AACA,OAAO,6BAA6B,CAAC;AASrC,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,MAAM;QACZ,kCAAkC,CAC9B,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,KAAK,IAAI,EACxD,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,KAAK,IAAI,EAC1D,qBAAqB,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,KAAK,IAAI,EAC7D,oBAAoB,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,KAAK,IAAI,EAC5D,qBAAqB,CAAC,EAAE,GAAG,EAC3B,+BAA+B,CAAC,EAAE,GAAG,EACrC,wBAAwB,CAAC,EAAE,GAAG,EAC9B,6BAA6B,CAAC,EAAE,GAAG,GACpC,IAAI,CAAC;KACX;CACJ;AAED,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"SearchIconWidgetPopup.d.ts","sourceRoot":"","sources":["../../../../../src/components/SearchIconWidget/SearchIconWidgetPopup.tsx"],"names":[],"mappings":"AACA,OAAO,6BAA6B,CAAC;AASrC,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,MAAM;QACZ,kCAAkC,CAC9B,gBAAgB,CAAC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,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;CAC5D;
|
|
1
|
+
{"version":3,"file":"SearchResultWidget.d.ts","sourceRoot":"","sources":["../../../../../src/components/SearchResultWidget/SearchResultWidget.tsx"],"names":[],"mappings":"AACA,OAAO,0BAA0B,CAAC;AA6BlC,MAAM,WAAW,wBAAwB;IACrC,UAAU,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAC1C,KAAK,CAAC,EAAE;QACJ,OAAO,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,IAAI,CAAC,EACC;QACI,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,EAAE,CAAC;KACvC,GACD,SAAS,CAAC;IAChB,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,gBAAgB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;IACrD,kBAAkB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;IACvD,qBAAqB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;IAC1D,oBAAoB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;CAC5D;AAoCD,eAAO,MAAM,kBAAkB,UAAW,wBAAwB,gBA8hBjE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchResultWidgetInitSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/SearchResultWidget/SearchResultWidgetInitSelector.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,8BAA8B,
|
|
1
|
+
{"version":3,"file":"SearchResultWidgetInitSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/SearchResultWidget/SearchResultWidgetInitSelector.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,8BAA8B,YAwD1C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchWidget.d.ts","sourceRoot":"","sources":["../../../../../src/components/SearchWidget/SearchWidget.tsx"],"names":[],"mappings":"AACA,OAAO,oBAAoB,CAAC;AAY5B,MAAM,WAAW,kBAAkB;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,gBAAgB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;IACrD,kBAAkB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;IACvD,qBAAqB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;IAC1D,oBAAoB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;CAC5D;AAED,eAAO,MAAM,YAAY,UAAW,kBAAkB,
|
|
1
|
+
{"version":3,"file":"SearchWidget.d.ts","sourceRoot":"","sources":["../../../../../src/components/SearchWidget/SearchWidget.tsx"],"names":[],"mappings":"AACA,OAAO,oBAAoB,CAAC;AAY5B,MAAM,WAAW,kBAAkB;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,gBAAgB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;IACrD,kBAAkB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;IACvD,qBAAqB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;IAC1D,oBAAoB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;CAC5D;AAED,eAAO,MAAM,YAAY,UAAW,kBAAkB,gBAwUrD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchWidgetInitSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/SearchWidget/SearchWidgetInitSelector.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,wBAAwB,
|
|
1
|
+
{"version":3,"file":"SearchWidgetInitSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/SearchWidget/SearchWidgetInitSelector.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,wBAAwB,YAwEpC,CAAC"}
|