@ikas/storefront-providers 4.10.0-beta.40 → 4.10.0-beta.42
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/build/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{IkasBrandPropValue}from"./models/prop-value/brand.js";export{IkasLinkType}from"./models/prop-value/link.js";export{IkasBlogCategoryListType}from"./models/ui/blog-category-list/index.js";export{IkasBlogListType}from"./models/ui/blog-list/index.js";export{IkasBrandListSortType,IkasBrandListType}from"./models/ui/brand-list/index.js";export{IkasCategoryListSortType,IkasCategoryListType}from"./models/ui/category-list/index.js";export{IkasProductListSortType,IkasProductListType,IkasProductSearchShowStockOption,IkasRelatedProductsType}from"./models/ui/product-list/index.js";export{IkasPageDataProvider}from"./providers/page-data-get.js";export{IkasPageComponentPropValue}from"./providers/types.js";export{getPlaceholderBlog,getPlaceholderBlogCategory,getPlaceholderBrand,getPlaceholderCategory,getPlaceholderProduct,getPlaceholderRaffle}from"./providers/placeholders.js";export{populateRaffleParticipantProducts,populateRaffleProducts}from"./providers/helpers/raffle.js";
|
|
1
|
+
export{IkasBrandPropValue}from"./models/prop-value/brand.js";export{IkasLinkType}from"./models/prop-value/link.js";export{IkasBlogCategoryListType}from"./models/ui/blog-category-list/index.js";export{IkasBlogListType}from"./models/ui/blog-list/index.js";export{IkasBrandListSortType,IkasBrandListType}from"./models/ui/brand-list/index.js";export{IkasCategoryListSortType,IkasCategoryListType}from"./models/ui/category-list/index.js";export{IkasProductListSortByTypeEnum,IkasProductListSortType,IkasProductListType,IkasProductSearchShowStockOption,IkasRelatedProductsType}from"./models/ui/product-list/index.js";export{IkasPageDataProvider}from"./providers/page-data-get.js";export{IkasPageComponentPropValue}from"./providers/types.js";export{getPlaceholderBlog,getPlaceholderBlogCategory,getPlaceholderBrand,getPlaceholderCategory,getPlaceholderProduct,getPlaceholderRaffle}from"./providers/placeholders.js";export{populateRaffleParticipantProducts,populateRaffleProducts}from"./providers/helpers/raffle.js";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SortByTypeEnum } from "@ikas/storefront-api";
|
|
2
1
|
import { IkasBrand, IkasCategory, IkasFilterCategory, IkasProduct, IkasProductFilter, IkasThemeJsonPageType } from "@ikas/storefront-models";
|
|
3
2
|
import { IkasRelatedProductProps, IkasViewedTogetherProductProps } from "../../../providers/prop-value/product-list";
|
|
4
3
|
import { IkasProductListPropValue } from "../../prop-value/product-list";
|
|
@@ -26,7 +25,7 @@ export declare type IkasProductList = {
|
|
|
26
25
|
isLoading?: boolean;
|
|
27
26
|
fetchRequestTime?: number;
|
|
28
27
|
excludedFields?: string[] | null;
|
|
29
|
-
disabledSortTypes?:
|
|
28
|
+
disabledSortTypes?: IkasProductListSortByTypeEnum[] | null;
|
|
30
29
|
};
|
|
31
30
|
export declare enum IkasProductListType {
|
|
32
31
|
ALL = "ALL",
|
|
@@ -49,6 +48,16 @@ export declare enum IkasProductListSortType {
|
|
|
49
48
|
FEATURED = "FEATURED",
|
|
50
49
|
DEFAULT = "DEFAULT"
|
|
51
50
|
}
|
|
51
|
+
export declare enum IkasProductListSortByTypeEnum {
|
|
52
|
+
AVERAGE_RATING = "AVERAGE_RATING",
|
|
53
|
+
CREATED_AT = "CREATED_AT",
|
|
54
|
+
DISCOUNT_RATIO = "DISCOUNT_RATIO",
|
|
55
|
+
MANUAL_SORT = "MANUAL_SORT",
|
|
56
|
+
NAME = "NAME",
|
|
57
|
+
PRICE = "PRICE",
|
|
58
|
+
REVIEW_COUNT = "REVIEW_COUNT",
|
|
59
|
+
SALE_COUNT = "SALE_COUNT"
|
|
60
|
+
}
|
|
52
61
|
export declare enum IkasRelatedProductsType {
|
|
53
62
|
CATEGORY = "CATEGORY",
|
|
54
63
|
BRAND = "BRAND"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var E,
|
|
1
|
+
var E,A,T,D,_;!function(E){E.ALL="ALL",E.STATIC="STATIC",E.DISCOUNTED="DISCOUNTED",E.RECOMMENDED="RECOMMENDED",E.CATEGORY="CATEGORY",E.SEARCH="SEARCH",E.LAST_VIEWED="LAST_VIEWED",E.RELATED_PRODUCTS="RELATED_PRODUCTS",E.VIEWED_TOGETHER="VIEWED_TOGETHER"}(E||(E={})),function(E){E.INCREASING_PRICE="INCREASING_PRICE",E.DECREASING_PRICE="DECREASING_PRICE",E.LAST_ADDED="LAST_ADDED",E.FIRST_ADDED="FIRST_ADDED",E.INCREASING_DISCOUNT="INCREASING_DISCOUNT",E.DECRASING_DISCOUNT="DECRASING_DISCOUNT",E.FEATURED="FEATURED",E.DEFAULT="DEFAULT"}(A||(A={})),function(E){E.AVERAGE_RATING="AVERAGE_RATING",E.CREATED_AT="CREATED_AT",E.DISCOUNT_RATIO="DISCOUNT_RATIO",E.MANUAL_SORT="MANUAL_SORT",E.NAME="NAME",E.PRICE="PRICE",E.REVIEW_COUNT="REVIEW_COUNT",E.SALE_COUNT="SALE_COUNT"}(T||(T={})),function(E){E.CATEGORY="CATEGORY",E.BRAND="BRAND"}(D||(D={})),function(E){E.HIDE_OUT_OF_STOCK="HIDE_OUT_OF_STOCK",E.SHOW_ALL="SHOW_ALL",E.SHOW_OUT_OF_STOCK_AT_END="SHOW_OUT_OF_STOCK_AT_END"}(_||(_={}));export{T as IkasProductListSortByTypeEnum,A as IkasProductListSortType,E as IkasProductListType,_ as IkasProductSearchShowStockOption,D as IkasRelatedProductsType};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ikas/storefront-providers",
|
|
3
|
-
"version": "4.10.0-beta.
|
|
3
|
+
"version": "4.10.0-beta.42",
|
|
4
4
|
"description": "Data providers for ikas storefront theme components.",
|
|
5
5
|
"author": "ikas",
|
|
6
6
|
"license": "ISC",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@rollup/plugin-commonjs": "^22.0.0",
|
|
20
|
-
"@ikas/storefront-api": "^4.10.0-beta.
|
|
21
|
-
"@ikas/storefront-config": "^4.10.0-beta.
|
|
22
|
-
"@ikas/storefront-model-functions": "^4.10.0-beta.
|
|
23
|
-
"@ikas/storefront-models": "^4.10.0-beta.
|
|
20
|
+
"@ikas/storefront-api": "^4.10.0-beta.42",
|
|
21
|
+
"@ikas/storefront-config": "^4.10.0-beta.42",
|
|
22
|
+
"@ikas/storefront-model-functions": "^4.10.0-beta.42",
|
|
23
|
+
"@ikas/storefront-models": "^4.10.0-beta.42",
|
|
24
24
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
25
25
|
"rollup-plugin-rename-node-modules": "^1.2.0",
|
|
26
26
|
"@types/lodash": "^4.14.168",
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"mobx": "^6.1.3",
|
|
41
|
-
"@ikas/storefront-api": "^4.10.0-beta.
|
|
42
|
-
"@ikas/storefront-config": "^4.10.0-beta.
|
|
43
|
-
"@ikas/storefront-model-functions": "^4.10.0-beta.
|
|
44
|
-
"@ikas/storefront-models": "^4.10.0-beta.
|
|
41
|
+
"@ikas/storefront-api": "^4.10.0-beta.42",
|
|
42
|
+
"@ikas/storefront-config": "^4.10.0-beta.42",
|
|
43
|
+
"@ikas/storefront-model-functions": "^4.10.0-beta.42",
|
|
44
|
+
"@ikas/storefront-models": "^4.10.0-beta.42",
|
|
45
45
|
"lodash": "^4.17.21"
|
|
46
46
|
}
|
|
47
47
|
}
|