@getlupa/vue 0.0.14 → 0.0.15
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/lupaSearch.js +1 -0
- package/dist/lupaSearch.mjs +1 -0
- package/dist/src/index.d.ts +3 -1
- package/package.json +3 -3
package/dist/lupaSearch.js
CHANGED
|
@@ -15898,4 +15898,5 @@ exports.SearchBox = _sfc_main$R;
|
|
|
15898
15898
|
exports.SearchContainer = _sfc_main$1;
|
|
15899
15899
|
exports.SearchResults = _sfc_main$4;
|
|
15900
15900
|
exports.getInitialSearchResults = getInitialSearchResults;
|
|
15901
|
+
exports.initPinia = initPinia;
|
|
15901
15902
|
exports.setupTracking = setupTracking;
|
package/dist/lupaSearch.mjs
CHANGED
|
@@ -15897,5 +15897,6 @@ export {
|
|
|
15897
15897
|
_sfc_main$1 as SearchContainer,
|
|
15898
15898
|
_sfc_main$4 as SearchResults,
|
|
15899
15899
|
getInitialSearchResults,
|
|
15900
|
+
initPinia,
|
|
15900
15901
|
setupTracking
|
|
15901
15902
|
};
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Pinia } from 'pinia';
|
|
1
2
|
import type { Environment, SdkOptions, SortDirection, TrackingOptions } from './types/General';
|
|
2
3
|
import { DocumentElementType } from './types/DocumentElement';
|
|
3
4
|
import type { DocumentElement, ImageDocumentElement, TitleDocumentElement, DescriptionDocumentElement, CustomDocumentElement, PriceElement, RegularPriceDocumentElement, RatingElement, AddToCartElement, CustomHtmlElement, SingleStarRatingElement } from './types/DocumentElement';
|
|
@@ -17,9 +18,10 @@ import ProductList from './components/product-list/ProductList.vue';
|
|
|
17
18
|
import SearchContainer from './components/search-container/SearchContainer.vue';
|
|
18
19
|
import Recommendations from './components/recommendations/Recommendations.vue';
|
|
19
20
|
import { getInitialSearchResults } from './utils/ssr.utils';
|
|
21
|
+
declare const initPinia: () => Pinia;
|
|
20
22
|
declare const setupTracking: (options: TrackingOptions) => void;
|
|
21
23
|
declare const LupaSearch: {
|
|
22
24
|
install: (app: any, options: any) => void;
|
|
23
25
|
};
|
|
24
|
-
export { SearchBox, SearchResults, ProductList, Recommendations, SearchContainer, DocumentElementType, SearchBoxPanelType, BadgeType, setupTracking, LupaSearch, getInitialSearchResults };
|
|
26
|
+
export { SearchBox, SearchResults, ProductList, Recommendations, SearchContainer, DocumentElementType, SearchBoxPanelType, BadgeType, setupTracking, LupaSearch, initPinia, getInitialSearchResults };
|
|
25
27
|
export type { TrackingOptions, SearchBoxOptions, SearchResultsOptions, ProductListOptions, SdkOptions, FacetStyle, Environment, RoutingBehavior, AnchorPosition, SortDirection, DocumentElement, ImageDocumentElement, TitleDocumentElement, DescriptionDocumentElement, CustomDocumentElement, PriceElement, RegularPriceDocumentElement, RatingElement, AddToCartElement, CustomHtmlElement, SortOptions, SearchResultsSortOptions, SearchResultEventCallbacks, CallbackContext, FacetFilterQuery, CategoryFilterOptions, SearchResultsFilterOptions, SearchResultBadgeType, SearchResultBadgeElement, ResultFacetOptions, BadgeGenerateSeed, BadgeGenerateOptions, BadgeOptions, SearchContainerOptions, SearchContainerConfigOptions, SingleStarRatingElement, DynamicData, ProductRecommendationOptions, RecommendationABTestingOptions, SsrOptions };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getlupa/vue",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15",
|
|
4
4
|
"main": "dist/lupaSearch.js",
|
|
5
5
|
"module": "dist/lupaSearch.mjs",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
"@vue/eslint-config-typescript": "^11.0.3",
|
|
41
41
|
"@vue/test-utils": "^2.4.0",
|
|
42
42
|
"@vue/tsconfig": "^0.4.0",
|
|
43
|
+
"@vueform/slider": "^2.1.7",
|
|
43
44
|
"eslint": "^8.39.0",
|
|
44
45
|
"eslint-plugin-vue": "^9.11.0",
|
|
45
46
|
"happy-dom": "^9.20.3",
|
|
@@ -63,7 +64,6 @@
|
|
|
63
64
|
"vitest": "^0.32.2",
|
|
64
65
|
"vue": "^3.3.4",
|
|
65
66
|
"vue-tsc": "^1.6.5",
|
|
66
|
-
"vue3-carousel": "^0.3.1"
|
|
67
|
-
"@vueform/slider": "^2.1.7"
|
|
67
|
+
"vue3-carousel": "^0.3.1"
|
|
68
68
|
}
|
|
69
69
|
}
|