@sledge-app/react-instant-search 1.0.12 → 1.0.14

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.
@@ -1,8 +1,12 @@
1
- export declare const SearchViewMoreResult: ({ component: Component, keyword, isComponentJsVersion, showPopupComponent, setShowPopupComponent }: {
1
+ export declare const SearchViewMoreResult: ({ component: Component, keyword, isComponentJsVersion, showPopupComponent, setShowPopupComponent, urlSearchResult, query }: {
2
2
  component?: any;
3
3
  keyword?: string | undefined;
4
4
  isComponentJsVersion?: any;
5
5
  showPopupComponent?: boolean | undefined;
6
6
  setShowPopupComponent?(value: boolean): void;
7
+ urlSearchResult?: string | undefined;
8
+ query?: {
9
+ keyword?: string | undefined;
10
+ } | undefined;
7
11
  }) => JSX.Element;
8
12
  //# sourceMappingURL=SearchViewMoreResult.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SearchViewMoreResult.d.ts","sourceRoot":"","sources":["../../../../../src/components/Global/SearchViewMoreResult.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,oBAAoB;gBAOjB,GAAG;;2BAEQ,GAAG;;kCAEI,OAAO,GAAG,IAAI;iBAqB/C,CAAC"}
1
+ {"version":3,"file":"SearchViewMoreResult.d.ts","sourceRoot":"","sources":["../../../../../src/components/Global/SearchViewMoreResult.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,oBAAoB;gBASjB,GAAG;;2BAEQ,GAAG;;kCAEI,OAAO,GAAG,IAAI;;;;;iBA2B/C,CAAC"}
@@ -1,8 +1,12 @@
1
- export declare const SuggestionKeywordLists: ({ listsComponent: ListsComponent, keywords, isComponentJsVersion, showPopupComponent, setShowPopupComponent }: {
1
+ export declare const SuggestionKeywordLists: ({ listsComponent: ListsComponent, keywords, isComponentJsVersion, showPopupComponent, setShowPopupComponent, urlSearchResult, query }: {
2
2
  listsComponent?: any;
3
3
  keywords?: any[] | undefined;
4
4
  isComponentJsVersion?: any;
5
5
  showPopupComponent?: boolean | undefined;
6
6
  setShowPopupComponent?(value: boolean): void;
7
+ urlSearchResult?: string | undefined;
8
+ query?: {
9
+ keyword?: string | undefined;
10
+ } | undefined;
7
11
  }) => JSX.Element;
8
12
  //# sourceMappingURL=SuggestionKeywordLists.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SuggestionKeywordLists.d.ts","sourceRoot":"","sources":["../../../../../src/components/Global/SuggestionKeywordLists.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,sBAAsB;qBAOd,GAAG;;2BAEG,GAAG;;kCAEI,OAAO,GAAG,IAAI;iBAmC/C,CAAC"}
1
+ {"version":3,"file":"SuggestionKeywordLists.d.ts","sourceRoot":"","sources":["../../../../../src/components/Global/SuggestionKeywordLists.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,sBAAsB;qBASd,GAAG;;2BAEG,GAAG;;kCAEI,OAAO,GAAG,IAAI;;;;;iBAyC/C,CAAC"}
@@ -7,19 +7,27 @@ export declare const Global: {
7
7
  showPopupComponent?: boolean | undefined;
8
8
  setShowPopupComponent?(value: boolean): void;
9
9
  }) => JSX.Element;
10
- SuggestionKeywordLists: ({ listsComponent: ListsComponent, keywords, isComponentJsVersion, showPopupComponent, setShowPopupComponent }: {
10
+ SuggestionKeywordLists: ({ listsComponent: ListsComponent, keywords, isComponentJsVersion, showPopupComponent, setShowPopupComponent, urlSearchResult, query }: {
11
11
  listsComponent?: any;
12
12
  keywords?: any[] | undefined;
13
13
  isComponentJsVersion?: any;
14
14
  showPopupComponent?: boolean | undefined;
15
15
  setShowPopupComponent?(value: boolean): void;
16
+ urlSearchResult?: string | undefined;
17
+ query?: {
18
+ keyword?: string | undefined;
19
+ } | undefined;
16
20
  }) => JSX.Element;
17
- SearchViewMoreResult: ({ component: Component, keyword, isComponentJsVersion, showPopupComponent, setShowPopupComponent }: {
21
+ SearchViewMoreResult: ({ component: Component, keyword, isComponentJsVersion, showPopupComponent, setShowPopupComponent, urlSearchResult, query }: {
18
22
  component?: any;
19
23
  keyword?: string | undefined;
20
24
  isComponentJsVersion?: any;
21
25
  showPopupComponent?: boolean | undefined;
22
26
  setShowPopupComponent?(value: boolean): void;
27
+ urlSearchResult?: string | undefined;
28
+ query?: {
29
+ keyword?: string | undefined;
30
+ } | undefined;
23
31
  }) => JSX.Element;
24
32
  };
25
33
  //# 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;;;;;;;;;;;;;;;;;;;;;;;CAIlB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Global/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIlB,CAAC"}
@@ -1,10 +1,14 @@
1
1
  export interface ISearchIconWidgetProps {
2
+ query?: {
3
+ keyword: string;
4
+ };
2
5
  size?: 'xs' | 'sm' | 'md' | string;
3
6
  children?: any;
4
7
  onAfterAddToCart?(state: 'success' | 'failed'): void;
5
8
  onAfterAddWishlist?(state: 'success' | 'failed'): void;
6
9
  onAfterRemoveWishlist?(state: 'success' | 'failed'): void;
7
10
  onAfterRenderProduct?(state: 'success' | 'failed'): void;
11
+ urlSearchResult?: string;
8
12
  }
9
13
  export declare const SearchIconWidget: (props: ISearchIconWidgetProps) => JSX.Element;
10
14
  //# sourceMappingURL=SearchIconWidget.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SearchIconWidget.d.ts","sourceRoot":"","sources":["../../../../../src/components/SearchIconWidget/SearchIconWidget.tsx"],"names":[],"mappings":"AAKA,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,gBAqE7D,CAAC"}
1
+ {"version":3,"file":"SearchIconWidget.d.ts","sourceRoot":"","sources":["../../../../../src/components/SearchIconWidget/SearchIconWidget.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,sBAAsB;IACnC,KAAK,CAAC,EAAE;QACJ,OAAO,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,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;IACzD,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,eAAO,MAAM,gBAAgB,UAAW,sBAAsB,gBAuE7D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SearchIconWidgetInitSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/SearchIconWidget/SearchIconWidgetInitSelector.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,4BAA4B,YAsDxC,CAAC"}
1
+ {"version":3,"file":"SearchIconWidgetInitSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/SearchIconWidget/SearchIconWidgetInitSelector.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,4BAA4B,YA4DxC,CAAC"}
@@ -10,6 +10,10 @@ declare global {
10
10
  suggestionKeywordListsComponent?: any;
11
11
  otherIndexListsComponent?: any;
12
12
  searchViewMoreResultComponent?: any;
13
+ urlSearchResult?: string;
14
+ query?: {
15
+ keyword?: string;
16
+ };
13
17
  }): void;
14
18
  }
15
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"SearchIconWidgetPopup.d.ts","sourceRoot":"","sources":["../../../../../src/components/SearchIconWidget/SearchIconWidgetPopup.tsx"],"names":[],"mappings":"AAUA,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,MAAM;QACZ,kCAAkC,CAAC,KAAK,EAAE;YACtC,gBAAgB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;YACrD,kBAAkB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;YACvD,qBAAqB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;YAC1D,oBAAoB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;YACzD,WAAW,CAAC,EAAE,GAAG,CAAC;YAClB,qBAAqB,CAAC,EAAE,GAAG,CAAC;YAC5B,+BAA+B,CAAC,EAAE,GAAG,CAAC;YACtC,wBAAwB,CAAC,EAAE,GAAG,CAAC;YAC/B,6BAA6B,CAAC,EAAE,GAAG,CAAC;SACvC,GAAG,IAAI,CAAC;KACZ;CACJ;AAED,eAAO,MAAM,qBAAqB,mBA2XjC,CAAC"}
1
+ {"version":3,"file":"SearchIconWidgetPopup.d.ts","sourceRoot":"","sources":["../../../../../src/components/SearchIconWidget/SearchIconWidgetPopup.tsx"],"names":[],"mappings":"AAUA,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,MAAM;QACZ,kCAAkC,CAAC,KAAK,EAAE;YACtC,gBAAgB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;YACrD,kBAAkB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;YACvD,qBAAqB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;YAC1D,oBAAoB,CAAC,CAAC,KAAK,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,CAAC;YACzD,WAAW,CAAC,EAAE,GAAG,CAAC;YAClB,qBAAqB,CAAC,EAAE,GAAG,CAAC;YAC5B,+BAA+B,CAAC,EAAE,GAAG,CAAC;YACtC,wBAAwB,CAAC,EAAE,GAAG,CAAC;YAC/B,6BAA6B,CAAC,EAAE,GAAG,CAAC;YACpC,eAAe,CAAC,EAAE,MAAM,CAAC;YACzB,KAAK,CAAC,EAAE;gBACJ,OAAO,CAAC,EAAE,MAAM,CAAC;aACpB,CAAC;SACL,GAAG,IAAI,CAAC;KACZ;CACJ;AAED,eAAO,MAAM,qBAAqB,mBAqYjC,CAAC"}
@@ -1,10 +1,14 @@
1
1
  export interface ISearchWidgetProps {
2
+ query?: {
3
+ keyword: string;
4
+ };
2
5
  width?: string;
3
6
  children?: any;
4
7
  onAfterAddToCart?(state: 'success' | 'failed'): void;
5
8
  onAfterAddWishlist?(state: 'success' | 'failed'): void;
6
9
  onAfterRemoveWishlist?(state: 'success' | 'failed'): void;
7
10
  onAfterRenderProduct?(state: 'success' | 'failed'): void;
11
+ urlSearchResult?: string;
8
12
  }
9
13
  export declare const SearchWidget: (props: ISearchWidgetProps) => JSX.Element;
10
14
  //# sourceMappingURL=SearchWidget.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SearchWidget.d.ts","sourceRoot":"","sources":["../../../../../src/components/SearchWidget/SearchWidget.tsx"],"names":[],"mappings":"AAWA,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,gBA8SrD,CAAC"}
1
+ {"version":3,"file":"SearchWidget.d.ts","sourceRoot":"","sources":["../../../../../src/components/SearchWidget/SearchWidget.tsx"],"names":[],"mappings":"AAWA,MAAM,WAAW,kBAAkB;IAC/B,KAAK,CAAC,EAAE;QACJ,OAAO,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,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;IACzD,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,eAAO,MAAM,YAAY,UAAW,kBAAkB,gBAsTrD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SearchWidgetInitSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/SearchWidget/SearchWidgetInitSelector.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,wBAAwB,YAsDpC,CAAC"}
1
+ {"version":3,"file":"SearchWidgetInitSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/SearchWidget/SearchWidgetInitSelector.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,wBAAwB,YA4DpC,CAAC"}