@ikas/storefront 4.10.0-beta.8 → 4.10.0-beta.9
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,5 +1,6 @@
|
|
|
1
1
|
import { IkasFilterCategory as IFilterCategory } from "@ikas/storefront-models";
|
|
2
2
|
import { IkasHTMLMetaData } from "../html-meta-data";
|
|
3
|
+
import { IkasImage } from "../image";
|
|
3
4
|
export declare class IkasFilterCategory implements IFilterCategory {
|
|
4
5
|
id: string;
|
|
5
6
|
name: string;
|
|
@@ -7,6 +8,8 @@ export declare class IkasFilterCategory implements IFilterCategory {
|
|
|
7
8
|
isAutomated: boolean | null;
|
|
8
9
|
resultCount: number | null;
|
|
9
10
|
isSelected: boolean;
|
|
11
|
+
imageId: string | null;
|
|
12
|
+
image?: IkasImage | null;
|
|
10
13
|
constructor(data: IFilterCategory);
|
|
11
14
|
get slug(): string | undefined;
|
|
12
15
|
get href(): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{IkasFilterCategoryFunctions as t}from"@ikas/storefront-model-functions";import{makeAutoObservable as e}from"mobx";import{IkasHTMLMetaData as
|
|
1
|
+
import{IkasFilterCategoryFunctions as t}from"@ikas/storefront-model-functions";import{makeAutoObservable as e}from"mobx";import{IkasHTMLMetaData as i}from"../html-meta-data/index.js";import{IkasImage as r}from"../image/index.js";var a=function(){function a(t){this.id=t.id,this.name=t.name,this.metaData=t.metaData?new i(t.metaData):null,this.isAutomated=t.isAutomated,this.resultCount=t.resultCount,this.isSelected=t.isSelected,this.imageId=t.imageId,this.image=t.imageId?new r({id:t.imageId,isVideo:!1}):null,e(this)}return Object.defineProperty(a.prototype,"slug",{get:function(){var t;return null===(t=this.metaData)||void 0===t?void 0:t.slug},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"href",{get:function(){return t.getIkasFilterCategoryHref(this)},enumerable:!1,configurable:!0}),a}();export{a as IkasFilterCategory};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ikas/storefront",
|
|
3
|
-
"version": "4.10.0-beta.
|
|
3
|
+
"version": "4.10.0-beta.9",
|
|
4
4
|
"description": "Storefront functionality for ikas storefront themes.",
|
|
5
5
|
"author": "ikas",
|
|
6
6
|
"license": "ISC",
|
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
"build": "rm -rf build && rollup -c"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
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.
|
|
24
|
-
"@ikas/storefront-providers": "^4.10.0-beta.
|
|
20
|
+
"@ikas/storefront-api": "^4.10.0-beta.9",
|
|
21
|
+
"@ikas/storefront-config": "^4.10.0-beta.9",
|
|
22
|
+
"@ikas/storefront-model-functions": "^4.10.0-beta.9",
|
|
23
|
+
"@ikas/storefront-models": "^4.10.0-beta.9",
|
|
24
|
+
"@ikas/storefront-providers": "^4.10.0-beta.9",
|
|
25
25
|
"@ikas/localized-address": "^1.0.0-beta.3",
|
|
26
26
|
"@adyen/adyen-web": "^5.28.2",
|
|
27
27
|
"@rollup/plugin-commonjs": "^22.0.0",
|
|
@@ -55,11 +55,11 @@
|
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"@ikas/localized-address": "^1.0.0-beta.3",
|
|
58
|
-
"@ikas/storefront-api": "^4.10.0-beta.
|
|
59
|
-
"@ikas/storefront-config": "^4.10.0-beta.
|
|
60
|
-
"@ikas/storefront-model-functions": "^4.10.0-beta.
|
|
61
|
-
"@ikas/storefront-models": "^4.10.0-beta.
|
|
62
|
-
"@ikas/storefront-providers": "^4.10.0-beta.
|
|
58
|
+
"@ikas/storefront-api": "^4.10.0-beta.9",
|
|
59
|
+
"@ikas/storefront-config": "^4.10.0-beta.9",
|
|
60
|
+
"@ikas/storefront-model-functions": "^4.10.0-beta.9",
|
|
61
|
+
"@ikas/storefront-models": "^4.10.0-beta.9",
|
|
62
|
+
"@ikas/storefront-providers": "^4.10.0-beta.9",
|
|
63
63
|
"mobx": "^6.1.3",
|
|
64
64
|
"mobx-react-lite": "^3.1.5",
|
|
65
65
|
"next": "12.2.0",
|