@ikas/storefront 0.0.12 → 0.0.13
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.es.js
CHANGED
|
@@ -12181,6 +12181,9 @@ var IkasPageDataProvider = /** @class */ (function () {
|
|
|
12181
12181
|
case IkasThemeComponentPropType.IMAGE:
|
|
12182
12182
|
IkasPageDataProvider.initImagePropValue(prop, propValue, pageComponentPropValue);
|
|
12183
12183
|
break;
|
|
12184
|
+
case IkasThemeComponentPropType.IMAGE_LIST:
|
|
12185
|
+
IkasPageDataProvider.initImageListPropValue(prop, propValue, pageComponentPropValue);
|
|
12186
|
+
break;
|
|
12184
12187
|
case IkasThemeComponentPropType.BRAND_LIST:
|
|
12185
12188
|
IkasPageDataProvider.initBrandListPropValue(prop, propValue, pageComponentPropValue);
|
|
12186
12189
|
break;
|
|
@@ -12258,6 +12261,9 @@ var IkasPageDataProvider = /** @class */ (function () {
|
|
|
12258
12261
|
IkasPageDataProvider.initImagePropValue = function (prop, propValue, pageComponentPropValue) {
|
|
12259
12262
|
pageComponentPropValue.propValues[prop.name] = new IkasImage(propValue.id);
|
|
12260
12263
|
};
|
|
12264
|
+
IkasPageDataProvider.initImageListPropValue = function (prop, propValue, pageComponentPropValue) {
|
|
12265
|
+
pageComponentPropValue.propValues[prop.name] = propValue.map(function (i) { return new IkasImage(i.id); });
|
|
12266
|
+
};
|
|
12261
12267
|
return IkasPageDataProvider;
|
|
12262
12268
|
}());
|
|
12263
12269
|
var IkasPageComponentPropValue = /** @class */ (function () {
|
package/build/index.js
CHANGED
|
@@ -12193,6 +12193,9 @@ var IkasPageDataProvider = /** @class */ (function () {
|
|
|
12193
12193
|
case exports.IkasThemeComponentPropType.IMAGE:
|
|
12194
12194
|
IkasPageDataProvider.initImagePropValue(prop, propValue, pageComponentPropValue);
|
|
12195
12195
|
break;
|
|
12196
|
+
case exports.IkasThemeComponentPropType.IMAGE_LIST:
|
|
12197
|
+
IkasPageDataProvider.initImageListPropValue(prop, propValue, pageComponentPropValue);
|
|
12198
|
+
break;
|
|
12196
12199
|
case exports.IkasThemeComponentPropType.BRAND_LIST:
|
|
12197
12200
|
IkasPageDataProvider.initBrandListPropValue(prop, propValue, pageComponentPropValue);
|
|
12198
12201
|
break;
|
|
@@ -12270,6 +12273,9 @@ var IkasPageDataProvider = /** @class */ (function () {
|
|
|
12270
12273
|
IkasPageDataProvider.initImagePropValue = function (prop, propValue, pageComponentPropValue) {
|
|
12271
12274
|
pageComponentPropValue.propValues[prop.name] = new IkasImage(propValue.id);
|
|
12272
12275
|
};
|
|
12276
|
+
IkasPageDataProvider.initImageListPropValue = function (prop, propValue, pageComponentPropValue) {
|
|
12277
|
+
pageComponentPropValue.propValues[prop.name] = propValue.map(function (i) { return new IkasImage(i.id); });
|
|
12278
|
+
};
|
|
12273
12279
|
return IkasPageDataProvider;
|
|
12274
12280
|
}());
|
|
12275
12281
|
var IkasPageComponentPropValue = /** @class */ (function () {
|
|
@@ -27,6 +27,7 @@ export declare class IkasPageDataProvider {
|
|
|
27
27
|
static initProductDetailPropValue(prop: IkasThemeComponentProp, propValue: any, pageComponentPropValue: IkasPageComponentPropValue, queryParams: Record<string, any>, router: NextRouter): void;
|
|
28
28
|
static initLinkPropValue(prop: IkasThemeComponentProp, propValue: any, pageComponentPropValue: IkasPageComponentPropValue): void;
|
|
29
29
|
static initImagePropValue(prop: IkasThemeComponentProp, propValue: any, pageComponentPropValue: IkasPageComponentPropValue): void;
|
|
30
|
+
static initImageListPropValue(prop: IkasThemeComponentProp, propValue: any, pageComponentPropValue: IkasPageComponentPropValue): void;
|
|
30
31
|
}
|
|
31
32
|
export declare class IkasPageComponentPropValue {
|
|
32
33
|
pageComponent: IkasThemePageComponent;
|