@getlupa/client 0.6.0-alpha-1 → 0.6.0-alpha-2
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/index.d.ts +1 -2
- package/dist/cjs/index.min.js +0 -6
- package/dist/cjs/types/General.d.ts +1 -0
- package/dist/cjs/types/search-results/SearchResultsSort.d.ts +1 -1
- package/dist/es/index.d.ts +1 -2
- package/dist/es/index.min.js +0 -2
- package/dist/es/types/General.d.ts +1 -0
- package/dist/es/types/search-results/SearchResultsSort.d.ts +1 -1
- package/dist/iife/index.d.ts +1 -2
- package/dist/iife/types/General.d.ts +1 -0
- package/dist/iife/types/search-results/SearchResultsSort.d.ts +1 -1
- package/package.json +1 -1
package/dist/cjs/index.d.ts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { SearchBoxOptions } from "./types/search-box/SearchBoxOptions";
|
|
2
2
|
import { FacetStyle, SearchResultsOptions } from "./types/search-results/SearchResultsOptions";
|
|
3
|
-
import { SdkOptions, TrackingOptions, Environment } from "./types/General";
|
|
3
|
+
import { SdkOptions, TrackingOptions, Environment, SortDirection } from "./types/General";
|
|
4
4
|
import { ProductListOptions } from "./types/product-list/ProductListOptions";
|
|
5
5
|
import { AddToCartElement, CustomDocumentElement, CustomHtmlElement, DescriptionDocumentElement, DocumentElement, DocumentElementType, ImageDocumentElement, PriceElement, RatingElement, RegularPriceDocumentElement, TitleDocumentElement } from "./types/DocumentElement";
|
|
6
6
|
import { SearchBoxPanelType } from "./types/search-box/SearchBoxPanel";
|
|
7
7
|
import { RoutingBehavior } from "./types/search-results/RoutingBehavior";
|
|
8
8
|
import { AnchorPosition } from "./types/search-results/SearchResultsProductCardOptions";
|
|
9
9
|
import { BadgeType } from "./types/search-results/BadgeOptions";
|
|
10
|
-
import { SortDirection } from "@getlupa/client-sdk/Types";
|
|
11
10
|
declare const lupaSearch: {
|
|
12
11
|
searchBox: (options: SearchBoxOptions) => void;
|
|
13
12
|
searchResults: (options: SearchResultsOptions) => void;
|
package/dist/cjs/index.min.js
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var Types = require('@getlupa/client-sdk/Types');
|
|
6
|
-
|
|
7
5
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
8
6
|
|
|
9
7
|
function getDefaultExportFromCjs (x) {
|
|
@@ -37157,8 +37155,4 @@ var lupaSearch = {
|
|
|
37157
37155
|
clearProductList: clearProductList
|
|
37158
37156
|
};
|
|
37159
37157
|
|
|
37160
|
-
Object.defineProperty(exports, 'SortDirection', {
|
|
37161
|
-
enumerable: true,
|
|
37162
|
-
get: function () { return Types.SortDirection; }
|
|
37163
|
-
});
|
|
37164
37158
|
exports["default"] = lupaSearch;
|
package/dist/es/index.d.ts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { SearchBoxOptions } from "./types/search-box/SearchBoxOptions";
|
|
2
2
|
import { FacetStyle, SearchResultsOptions } from "./types/search-results/SearchResultsOptions";
|
|
3
|
-
import { SdkOptions, TrackingOptions, Environment } from "./types/General";
|
|
3
|
+
import { SdkOptions, TrackingOptions, Environment, SortDirection } from "./types/General";
|
|
4
4
|
import { ProductListOptions } from "./types/product-list/ProductListOptions";
|
|
5
5
|
import { AddToCartElement, CustomDocumentElement, CustomHtmlElement, DescriptionDocumentElement, DocumentElement, DocumentElementType, ImageDocumentElement, PriceElement, RatingElement, RegularPriceDocumentElement, TitleDocumentElement } from "./types/DocumentElement";
|
|
6
6
|
import { SearchBoxPanelType } from "./types/search-box/SearchBoxPanel";
|
|
7
7
|
import { RoutingBehavior } from "./types/search-results/RoutingBehavior";
|
|
8
8
|
import { AnchorPosition } from "./types/search-results/SearchResultsProductCardOptions";
|
|
9
9
|
import { BadgeType } from "./types/search-results/BadgeOptions";
|
|
10
|
-
import { SortDirection } from "@getlupa/client-sdk/Types";
|
|
11
10
|
declare const lupaSearch: {
|
|
12
11
|
searchBox: (options: SearchBoxOptions) => void;
|
|
13
12
|
searchResults: (options: SearchResultsOptions) => void;
|
package/dist/es/index.min.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export { SortDirection } from '@getlupa/client-sdk/Types';
|
|
2
|
-
|
|
3
1
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
4
2
|
|
|
5
3
|
function getDefaultExportFromCjs (x) {
|
package/dist/iife/index.d.ts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { SearchBoxOptions } from "./types/search-box/SearchBoxOptions";
|
|
2
2
|
import { FacetStyle, SearchResultsOptions } from "./types/search-results/SearchResultsOptions";
|
|
3
|
-
import { SdkOptions, TrackingOptions, Environment } from "./types/General";
|
|
3
|
+
import { SdkOptions, TrackingOptions, Environment, SortDirection } from "./types/General";
|
|
4
4
|
import { ProductListOptions } from "./types/product-list/ProductListOptions";
|
|
5
5
|
import { AddToCartElement, CustomDocumentElement, CustomHtmlElement, DescriptionDocumentElement, DocumentElement, DocumentElementType, ImageDocumentElement, PriceElement, RatingElement, RegularPriceDocumentElement, TitleDocumentElement } from "./types/DocumentElement";
|
|
6
6
|
import { SearchBoxPanelType } from "./types/search-box/SearchBoxPanel";
|
|
7
7
|
import { RoutingBehavior } from "./types/search-results/RoutingBehavior";
|
|
8
8
|
import { AnchorPosition } from "./types/search-results/SearchResultsProductCardOptions";
|
|
9
9
|
import { BadgeType } from "./types/search-results/BadgeOptions";
|
|
10
|
-
import { SortDirection } from "@getlupa/client-sdk/Types";
|
|
11
10
|
declare const lupaSearch: {
|
|
12
11
|
searchBox: (options: SearchBoxOptions) => void;
|
|
13
12
|
searchResults: (options: SearchResultsOptions) => void;
|