@ikas/storefront 0.0.120 → 0.0.122
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 +10 -1
- package/build/index.js +10 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -11037,6 +11037,7 @@ var IkasProductDetailPropValueProvider = /** @class */ (function () {
|
|
|
11037
11037
|
return [4 /*yield*/, IkasProductSearchAPI.searchProducts({
|
|
11038
11038
|
productIdList: [this.productDetailPropValue.productId],
|
|
11039
11039
|
priceListId: IkasStorefrontConfig.priceListId,
|
|
11040
|
+
salesChannelId: IkasStorefrontConfig.salesChannelId,
|
|
11040
11041
|
})];
|
|
11041
11042
|
case 1:
|
|
11042
11043
|
productSearchResponse = _b.sent();
|
|
@@ -12071,6 +12072,7 @@ var IkasPageDataProvider = /** @class */ (function () {
|
|
|
12071
12072
|
return [4 /*yield*/, IkasProductSearchAPI.searchProducts({
|
|
12072
12073
|
productIdList: [metaDataResponse.metaData.targetId],
|
|
12073
12074
|
priceListId: IkasStorefrontConfig.priceListId,
|
|
12075
|
+
salesChannelId: IkasStorefrontConfig.salesChannelId,
|
|
12074
12076
|
})];
|
|
12075
12077
|
case 2:
|
|
12076
12078
|
productsResponse = _b.sent();
|
|
@@ -18954,6 +18956,7 @@ var IkasCustomerStore = /** @class */ (function () {
|
|
|
18954
18956
|
return [4 /*yield*/, IkasProductSearchAPI.searchProducts({
|
|
18955
18957
|
productIdList: favoriteProductsResult.map(function (fP) { return fP.productId; }),
|
|
18956
18958
|
priceListId: IkasStorefrontConfig.priceListId,
|
|
18959
|
+
salesChannelId: IkasStorefrontConfig.salesChannelId,
|
|
18957
18960
|
})];
|
|
18958
18961
|
case 2:
|
|
18959
18962
|
productsResult = _b.sent();
|
|
@@ -22180,10 +22183,15 @@ var IkasProductList = /** @class */ (function () {
|
|
|
22180
22183
|
productIdList: this.isStatic
|
|
22181
22184
|
? (_b = this._productListPropValue.productIds) === null || _b === void 0 ? void 0 : _b.map(function (p) { return p.productId; }) : undefined,
|
|
22182
22185
|
filterList: filterList,
|
|
22186
|
+
brandId: this._pageType === IkasThemePageType.BRAND &&
|
|
22187
|
+
this._type !== IkasProductListType.SEARCH
|
|
22188
|
+
? this._filterBrandId
|
|
22189
|
+
: undefined,
|
|
22183
22190
|
categoryIdList: this._filterCategoryId
|
|
22184
22191
|
? [this._filterCategoryId]
|
|
22185
22192
|
: undefined,
|
|
22186
22193
|
priceListId: IkasStorefrontConfig.priceListId,
|
|
22194
|
+
salesChannelId: IkasStorefrontConfig.salesChannelId,
|
|
22187
22195
|
query: this._searchKeyword,
|
|
22188
22196
|
})];
|
|
22189
22197
|
case 1: return [2 /*return*/, _c.sent()];
|
|
@@ -25151,7 +25159,7 @@ var IkasCustomerAPI = /** @class */ (function () {
|
|
|
25151
25159
|
return __generator(this, function (_b) {
|
|
25152
25160
|
switch (_b.label) {
|
|
25153
25161
|
case 0:
|
|
25154
|
-
MUTATION = src(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject(["\n mutation customerLogin($email: String!, $password: String!) {\n customerLogin(email: $email, password: $password) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n }\n "], ["\n mutation customerLogin($email: String!, $password: String!) {\n customerLogin(email: $email, password: $password) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n }\n "])));
|
|
25162
|
+
MUTATION = src(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject(["\n mutation customerLogin($email: String!, $password: String!) {\n customerLogin(email: $email, password: $password) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n identityNumber\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n }\n "], ["\n mutation customerLogin($email: String!, $password: String!) {\n customerLogin(email: $email, password: $password) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n identityNumber\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n }\n "])));
|
|
25155
25163
|
_b.label = 1;
|
|
25156
25164
|
case 1:
|
|
25157
25165
|
_b.trys.push([1, 3, , 4]);
|
|
@@ -28901,6 +28909,7 @@ var getStaticPaths = function (context) { return __awaiter(void 0, void 0, void
|
|
|
28901
28909
|
return [4 /*yield*/, IkasProductSearchAPI.searchProducts({
|
|
28902
28910
|
productIdList: productMetaData.map(function (p) { return p.targetId; }),
|
|
28903
28911
|
priceListId: IkasStorefrontConfig.priceListId,
|
|
28912
|
+
salesChannelId: IkasStorefrontConfig.salesChannelId,
|
|
28904
28913
|
})];
|
|
28905
28914
|
case 2:
|
|
28906
28915
|
productsResponse = _b.sent();
|
package/build/index.js
CHANGED
|
@@ -11052,6 +11052,7 @@ var IkasProductDetailPropValueProvider = /** @class */ (function () {
|
|
|
11052
11052
|
return [4 /*yield*/, IkasProductSearchAPI.searchProducts({
|
|
11053
11053
|
productIdList: [this.productDetailPropValue.productId],
|
|
11054
11054
|
priceListId: IkasStorefrontConfig.priceListId,
|
|
11055
|
+
salesChannelId: IkasStorefrontConfig.salesChannelId,
|
|
11055
11056
|
})];
|
|
11056
11057
|
case 1:
|
|
11057
11058
|
productSearchResponse = _b.sent();
|
|
@@ -12086,6 +12087,7 @@ var IkasPageDataProvider = /** @class */ (function () {
|
|
|
12086
12087
|
return [4 /*yield*/, IkasProductSearchAPI.searchProducts({
|
|
12087
12088
|
productIdList: [metaDataResponse.metaData.targetId],
|
|
12088
12089
|
priceListId: IkasStorefrontConfig.priceListId,
|
|
12090
|
+
salesChannelId: IkasStorefrontConfig.salesChannelId,
|
|
12089
12091
|
})];
|
|
12090
12092
|
case 2:
|
|
12091
12093
|
productsResponse = _b.sent();
|
|
@@ -18960,6 +18962,7 @@ var IkasCustomerStore = /** @class */ (function () {
|
|
|
18960
18962
|
return [4 /*yield*/, IkasProductSearchAPI.searchProducts({
|
|
18961
18963
|
productIdList: favoriteProductsResult.map(function (fP) { return fP.productId; }),
|
|
18962
18964
|
priceListId: IkasStorefrontConfig.priceListId,
|
|
18965
|
+
salesChannelId: IkasStorefrontConfig.salesChannelId,
|
|
18963
18966
|
})];
|
|
18964
18967
|
case 2:
|
|
18965
18968
|
productsResult = _b.sent();
|
|
@@ -22163,10 +22166,15 @@ var IkasProductList = /** @class */ (function () {
|
|
|
22163
22166
|
productIdList: this.isStatic
|
|
22164
22167
|
? (_b = this._productListPropValue.productIds) === null || _b === void 0 ? void 0 : _b.map(function (p) { return p.productId; }) : undefined,
|
|
22165
22168
|
filterList: filterList,
|
|
22169
|
+
brandId: this._pageType === exports.IkasThemePageType.BRAND &&
|
|
22170
|
+
this._type !== exports.IkasProductListType.SEARCH
|
|
22171
|
+
? this._filterBrandId
|
|
22172
|
+
: undefined,
|
|
22166
22173
|
categoryIdList: this._filterCategoryId
|
|
22167
22174
|
? [this._filterCategoryId]
|
|
22168
22175
|
: undefined,
|
|
22169
22176
|
priceListId: IkasStorefrontConfig.priceListId,
|
|
22177
|
+
salesChannelId: IkasStorefrontConfig.salesChannelId,
|
|
22170
22178
|
query: this._searchKeyword,
|
|
22171
22179
|
})];
|
|
22172
22180
|
case 1: return [2 /*return*/, _c.sent()];
|
|
@@ -25131,7 +25139,7 @@ var IkasCustomerAPI = /** @class */ (function () {
|
|
|
25131
25139
|
return __generator(this, function (_b) {
|
|
25132
25140
|
switch (_b.label) {
|
|
25133
25141
|
case 0:
|
|
25134
|
-
MUTATION = src(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject(["\n mutation customerLogin($email: String!, $password: String!) {\n customerLogin(email: $email, password: $password) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n }\n "], ["\n mutation customerLogin($email: String!, $password: String!) {\n customerLogin(email: $email, password: $password) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n }\n "])));
|
|
25142
|
+
MUTATION = src(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject(["\n mutation customerLogin($email: String!, $password: String!) {\n customerLogin(email: $email, password: $password) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n identityNumber\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n }\n "], ["\n mutation customerLogin($email: String!, $password: String!) {\n customerLogin(email: $email, password: $password) {\n token\n tokenExpiry\n customer {\n id\n isEmailVerified\n isPhoneVerified\n lastName\n addresses {\n addressLine1\n addressLine2\n identityNumber\n city {\n code\n id\n name\n }\n company\n country {\n code\n id\n name\n }\n district {\n id\n name\n code\n }\n id\n firstName\n isDefault\n lastName\n postalCode\n state {\n name\n id\n code\n }\n taxNumber\n taxOffice\n title\n }\n phone\n accountStatus\n email\n firstName\n }\n }\n }\n "])));
|
|
25135
25143
|
_b.label = 1;
|
|
25136
25144
|
case 1:
|
|
25137
25145
|
_b.trys.push([1, 3, , 4]);
|
|
@@ -28881,6 +28889,7 @@ var getStaticPaths = function (context) { return __awaiter(void 0, void 0, void
|
|
|
28881
28889
|
return [4 /*yield*/, IkasProductSearchAPI.searchProducts({
|
|
28882
28890
|
productIdList: productMetaData.map(function (p) { return p.targetId; }),
|
|
28883
28891
|
priceListId: IkasStorefrontConfig.priceListId,
|
|
28892
|
+
salesChannelId: IkasStorefrontConfig.salesChannelId,
|
|
28884
28893
|
})];
|
|
28885
28894
|
case 2:
|
|
28886
28895
|
productsResponse = _b.sent();
|