@ikas/storefront 4.0.0-alpha.41 → 4.0.0-alpha.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ikas/storefront",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.42",
|
|
4
4
|
"description": "Storefront functionality for ikas storefront themes.",
|
|
5
5
|
"author": "Umut Ozan Yıldırım",
|
|
6
6
|
"license": "ISC",
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"libphonenumber-js": "^1.10.6"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@ikas/storefront-api": "^4.0.0-alpha.
|
|
28
|
-
"@ikas/storefront-config": "^4.0.0-alpha.
|
|
29
|
-
"@ikas/storefront-model-functions": "^4.0.0-alpha.
|
|
30
|
-
"@ikas/storefront-models": "^4.0.0-alpha.
|
|
31
|
-
"@ikas/storefront-providers": "^4.0.0-alpha.
|
|
27
|
+
"@ikas/storefront-api": "^4.0.0-alpha.42",
|
|
28
|
+
"@ikas/storefront-config": "^4.0.0-alpha.42",
|
|
29
|
+
"@ikas/storefront-model-functions": "^4.0.0-alpha.42",
|
|
30
|
+
"@ikas/storefront-models": "^4.0.0-alpha.42",
|
|
31
|
+
"@ikas/storefront-providers": "^4.0.0-alpha.42",
|
|
32
32
|
"@rollup/plugin-commonjs": "^22.0.0",
|
|
33
33
|
"@rollup/plugin-json": "^4.1.0",
|
|
34
34
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
@@ -52,11 +52,11 @@
|
|
|
52
52
|
"html-react-parser": "^1.4.0"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"@ikas/storefront-api": "^4.0.0-alpha.
|
|
56
|
-
"@ikas/storefront-config": "^4.0.0-alpha.
|
|
57
|
-
"@ikas/storefront-model-functions": "^4.0.0-alpha.
|
|
58
|
-
"@ikas/storefront-models": "^4.0.0-alpha.
|
|
59
|
-
"@ikas/storefront-providers": "^4.0.0-alpha.
|
|
55
|
+
"@ikas/storefront-api": "^4.0.0-alpha.42",
|
|
56
|
+
"@ikas/storefront-config": "^4.0.0-alpha.42",
|
|
57
|
+
"@ikas/storefront-model-functions": "^4.0.0-alpha.42",
|
|
58
|
+
"@ikas/storefront-models": "^4.0.0-alpha.42",
|
|
59
|
+
"@ikas/storefront-providers": "^4.0.0-alpha.42",
|
|
60
60
|
"mobx": "^6.1.3",
|
|
61
61
|
"mobx-react-lite": "^3.1.5",
|
|
62
62
|
"next": "12.2.0",
|
|
@@ -79,13 +79,14 @@ export class IkasProductOptionSet implements IProductOptionSet {
|
|
|
79
79
|
? data.translations?.map((o) => new IkasProductOptionSetTranslations(o))
|
|
80
80
|
: null;
|
|
81
81
|
|
|
82
|
+
this.initOptionValues();
|
|
82
83
|
makeAutoObservable(this);
|
|
83
84
|
}
|
|
84
85
|
|
|
85
86
|
get displayedOptions() {
|
|
86
|
-
return IkasProductOptionSetFunctions.getDisplayedOptions(
|
|
87
|
-
|
|
88
|
-
);
|
|
87
|
+
return IkasProductOptionSetFunctions.getDisplayedOptions(
|
|
88
|
+
this
|
|
89
|
+
) as IkasProductOption[];
|
|
89
90
|
}
|
|
90
91
|
|
|
91
92
|
get hasValidValues() {
|
|
@@ -189,9 +189,9 @@ export class IkasProductOption implements IProductOption {
|
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
get displayedChildOptions() {
|
|
192
|
-
return IkasProductOptionFunctions.getDisplayedChildOptions(
|
|
193
|
-
|
|
194
|
-
);
|
|
192
|
+
return IkasProductOptionFunctions.getDisplayedChildOptions(
|
|
193
|
+
this
|
|
194
|
+
) as IkasProductOption[];
|
|
195
195
|
}
|
|
196
196
|
|
|
197
197
|
productOptionFileUpload = async (files: File[]) => {
|