@ikas/storefront 4.5.1-beta.2 → 4.5.1-beta.3
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 +1 @@
|
|
|
1
|
-
import{__extends as e}from'./../../../ext/tslib/tslib.es6.js';import{IkasImage as t}from"../image/index.js";import{IkasBaseModel as r}from"../base/index.js";import{IkasCategoryPathItem as n}from"./path-item/index.js";import{IkasCategoryTranslation as a}from"./translations/index.js";export{IkasCategoryProductsOrderType as IkasCategoryOrderType}from"@ikas/storefront-models";import{IkasCategoryFunctions as o}from"@ikas/storefront-model-functions";var i=function(r){function i(e){var o,i,l=this;return(l=r.call(this,e)||this).categoryPath=null,l.description=null,l.imageId=null,l.parentId=null,l.metaData=null,l.orderType=null,l.image=null,l.translations=null,l.categoryPath=e.categoryPath||null,l.description=e.description||null,l.imageId=e.imageId||null,l.name=e.name,l.parentId=e.parentId||null,l.metaData=e.metaData||null,l.categoryPathItems=(null===(o=e.categoryPathItems)||void 0===o?void 0:o.map((function(e){return new n(e)})))||[],l.orderType=e.orderType,l.image=e.image?new t(e.image):null,l.translations=(null===(i=e.translations)||void 0===i?void 0:i.map((function(e){return new a(e)})))||null,l}return e(i,r),Object.defineProperty(i.prototype,"href",{get:function(){return o.getIkasCategoryHref(this)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"path",{get:function(){return this.categoryPathItems},enumerable:!1,configurable:!0}),i}(r);export{i as IkasCategory};
|
|
1
|
+
import{__extends as e}from'./../../../ext/tslib/tslib.es6.js';import{IkasImage as t}from"../image/index.js";import{IkasBaseModel as r}from"../base/index.js";import{IkasCategoryPathItem as n}from"./path-item/index.js";import{IkasCategoryTranslation as a}from"./translations/index.js";export{IkasCategoryProductsOrderType as IkasCategoryOrderType}from"@ikas/storefront-models";import{IkasCategoryFunctions as o}from"@ikas/storefront-model-functions";var i=function(r){function i(e){var o,i,l=this;return(l=r.call(this,e)||this).categoryPath=null,l.description=null,l.imageId=null,l.parentId=null,l.metaData=null,l.orderType=null,l.image=null,l.translations=null,l.categoryPath=e.categoryPath||null,l.description=e.description||null,l.imageId=e.imageId||null,l.name=e.name,l.parentId=e.parentId||null,l.metaData=e.metaData||null,l.categoryPathItems=(null===(o=e.categoryPathItems)||void 0===o?void 0:o.map((function(e){return new n(e)})))||[],l.orderType=e.orderType,l.image=e.image?new t(e.image):null,l.translations=(null===(i=e.translations)||void 0===i?void 0:i.map((function(e){return new a(e)})))||null,l}return e(i,r),Object.defineProperty(i.prototype,"href",{get:function(){return o.getIkasCategoryHref(this)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"path",{get:function(){var e=new n(this);return this.categoryPathItems.concat(e)},enumerable:!1,configurable:!0}),i}(r);export{i as IkasCategory};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ikas/storefront",
|
|
3
|
-
"version": "4.5.1-beta.
|
|
3
|
+
"version": "4.5.1-beta.3",
|
|
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.5.1-beta.
|
|
21
|
-
"@ikas/storefront-config": "^4.5.1-beta.
|
|
22
|
-
"@ikas/storefront-model-functions": "^4.5.1-beta.
|
|
23
|
-
"@ikas/storefront-models": "^4.5.1-beta.
|
|
24
|
-
"@ikas/storefront-providers": "^4.5.1-beta.
|
|
20
|
+
"@ikas/storefront-api": "^4.5.1-beta.3",
|
|
21
|
+
"@ikas/storefront-config": "^4.5.1-beta.3",
|
|
22
|
+
"@ikas/storefront-model-functions": "^4.5.1-beta.3",
|
|
23
|
+
"@ikas/storefront-models": "^4.5.1-beta.3",
|
|
24
|
+
"@ikas/storefront-providers": "^4.5.1-beta.3",
|
|
25
25
|
"@ikas/localized-address": "^1.0.0-beta.2",
|
|
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.2",
|
|
58
|
-
"@ikas/storefront-api": "^4.5.1-beta.
|
|
59
|
-
"@ikas/storefront-config": "^4.5.1-beta.
|
|
60
|
-
"@ikas/storefront-model-functions": "^4.5.1-beta.
|
|
61
|
-
"@ikas/storefront-models": "^4.5.1-beta.
|
|
62
|
-
"@ikas/storefront-providers": "^4.5.1-beta.
|
|
58
|
+
"@ikas/storefront-api": "^4.5.1-beta.3",
|
|
59
|
+
"@ikas/storefront-config": "^4.5.1-beta.3",
|
|
60
|
+
"@ikas/storefront-model-functions": "^4.5.1-beta.3",
|
|
61
|
+
"@ikas/storefront-models": "^4.5.1-beta.3",
|
|
62
|
+
"@ikas/storefront-providers": "^4.5.1-beta.3",
|
|
63
63
|
"mobx": "^6.1.3",
|
|
64
64
|
"mobx-react-lite": "^3.1.5",
|
|
65
65
|
"next": "12.2.0",
|