@ikas/storefront 1.0.19 → 1.0.21
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.css +5 -1
- package/build/index.es.css +5 -1
- package/build/index.es.js +12 -27
- package/build/index.js +12 -27
- package/package.json +1 -1
package/build/index.css
CHANGED
|
@@ -1212,7 +1212,11 @@
|
|
|
1212
1212
|
.style-module_CartSummary__30RcF .style-module_SubTotalInfo__1QMnr .style-module_InfoRow__3eZdJ .style-module_Label__3E7LF {
|
|
1213
1213
|
color: var(--checkout-secondary-text-color);
|
|
1214
1214
|
display: flex;
|
|
1215
|
-
align-items: center;
|
|
1215
|
+
align-items: center;
|
|
1216
|
+
flex: 1 1 auto; }
|
|
1217
|
+
.style-module_CartSummary__30RcF .style-module_SubTotalInfo__1QMnr .style-module_InfoRow__3eZdJ .style-module_Value__3mBvk {
|
|
1218
|
+
flex: 0 0 auto;
|
|
1219
|
+
padding-left: 8px; }
|
|
1216
1220
|
.style-module_CartSummary__30RcF .style-module_SubTotalInfo__1QMnr .style-module_InfoRow__3eZdJ:last-of-type {
|
|
1217
1221
|
margin-bottom: 0; }
|
|
1218
1222
|
|
package/build/index.es.css
CHANGED
|
@@ -1212,7 +1212,11 @@
|
|
|
1212
1212
|
.style-module_CartSummary__30RcF .style-module_SubTotalInfo__1QMnr .style-module_InfoRow__3eZdJ .style-module_Label__3E7LF {
|
|
1213
1213
|
color: var(--checkout-secondary-text-color);
|
|
1214
1214
|
display: flex;
|
|
1215
|
-
align-items: center;
|
|
1215
|
+
align-items: center;
|
|
1216
|
+
flex: 1 1 auto; }
|
|
1217
|
+
.style-module_CartSummary__30RcF .style-module_SubTotalInfo__1QMnr .style-module_InfoRow__3eZdJ .style-module_Value__3mBvk {
|
|
1218
|
+
flex: 0 0 auto;
|
|
1219
|
+
padding-left: 8px; }
|
|
1216
1220
|
.style-module_CartSummary__30RcF .style-module_SubTotalInfo__1QMnr .style-module_InfoRow__3eZdJ:last-of-type {
|
|
1217
1221
|
margin-bottom: 0; }
|
|
1218
1222
|
|
package/build/index.es.js
CHANGED
|
@@ -46222,16 +46222,13 @@ var IkasPageDataProvider = /** @class */ (function () {
|
|
|
46222
46222
|
};
|
|
46223
46223
|
IkasPageDataProvider.prototype.getLinkSlugs = function (targets, type) {
|
|
46224
46224
|
return __awaiter(this, void 0, void 0, function () {
|
|
46225
|
-
var idList,
|
|
46225
|
+
var idList, metaDataList, getPage;
|
|
46226
46226
|
var _this = this;
|
|
46227
46227
|
return __generator(this, function (_a) {
|
|
46228
46228
|
switch (_a.label) {
|
|
46229
46229
|
case 0:
|
|
46230
46230
|
idList = uniq_1(targets.map(function (t) { return t.id; }));
|
|
46231
|
-
page = 1;
|
|
46232
|
-
limit = 200;
|
|
46233
46231
|
metaDataList = [];
|
|
46234
|
-
fetchComplete = false;
|
|
46235
46232
|
getPage = function () { return __awaiter(_this, void 0, void 0, function () {
|
|
46236
46233
|
var results, _a;
|
|
46237
46234
|
return __generator(this, function (_b) {
|
|
@@ -46244,42 +46241,30 @@ var IkasPageDataProvider = /** @class */ (function () {
|
|
|
46244
46241
|
case "BLOG": return [3 /*break*/, 3];
|
|
46245
46242
|
}
|
|
46246
46243
|
return [3 /*break*/, 5];
|
|
46247
|
-
case 1: return [4 /*yield*/, IkasHTMLMetaDataAPI.listHTMLMetaData(undefined, idList, undefined
|
|
46244
|
+
case 1: return [4 /*yield*/, IkasHTMLMetaDataAPI.listHTMLMetaData(undefined, idList, undefined)];
|
|
46248
46245
|
case 2:
|
|
46249
46246
|
results = _b.sent();
|
|
46250
46247
|
return [3 /*break*/, 6];
|
|
46251
|
-
case 3: return [4 /*yield*/, IkasBlogAPI.listBlogMetaData(undefined, idList, undefined
|
|
46248
|
+
case 3: return [4 /*yield*/, IkasBlogAPI.listBlogMetaData(undefined, idList, undefined)];
|
|
46252
46249
|
case 4:
|
|
46253
46250
|
results = _b.sent();
|
|
46254
46251
|
return [3 /*break*/, 6];
|
|
46255
46252
|
case 5: return [3 /*break*/, 6];
|
|
46256
46253
|
case 6:
|
|
46257
|
-
if (results.length)
|
|
46258
|
-
metaDataList =
|
|
46259
|
-
if (results.length < 200)
|
|
46260
|
-
fetchComplete = true;
|
|
46261
|
-
}
|
|
46262
|
-
else
|
|
46263
|
-
fetchComplete = true;
|
|
46264
|
-
page++;
|
|
46254
|
+
if (results.length)
|
|
46255
|
+
metaDataList = results;
|
|
46265
46256
|
return [2 /*return*/];
|
|
46266
46257
|
}
|
|
46267
46258
|
});
|
|
46268
46259
|
}); };
|
|
46269
|
-
_a.label = 1;
|
|
46270
|
-
case 1:
|
|
46271
|
-
if (!(!fetchComplete && metaDataList.length < idList.length)) return [3 /*break*/, 3];
|
|
46272
46260
|
return [4 /*yield*/, getPage()];
|
|
46273
|
-
case
|
|
46261
|
+
case 1:
|
|
46274
46262
|
_a.sent();
|
|
46275
|
-
|
|
46276
|
-
|
|
46277
|
-
|
|
46278
|
-
|
|
46279
|
-
|
|
46280
|
-
.forEach(function (t) {
|
|
46281
|
-
t.navigationLink.href += metaData.slug;
|
|
46282
|
-
});
|
|
46263
|
+
targets.forEach(function (target) {
|
|
46264
|
+
var metaData = metaDataList.find(function (md) { return md.targetId === target.id; });
|
|
46265
|
+
if (metaData) {
|
|
46266
|
+
target.navigationLink.href += metaData.slug;
|
|
46267
|
+
}
|
|
46283
46268
|
});
|
|
46284
46269
|
return [2 /*return*/];
|
|
46285
46270
|
}
|
|
@@ -71277,7 +71262,7 @@ var SVGGift = function (_a) {
|
|
|
71277
71262
|
createElement("rect", { width: "16", height: "16", fill: "white" })))));
|
|
71278
71263
|
};
|
|
71279
71264
|
|
|
71280
|
-
var styles$h = {"CartSummary":"style-module_CartSummary__30RcF","AllowExpand":"style-module_AllowExpand__3kDXF","ExpandHeader":"style-module_ExpandHeader__2ICjA","Left":"style-module_Left__A54sv","Price":"style-module_Price__sosrJ","PriceText":"style-module_PriceText__1ePGb","ArrowDown":"style-module_ArrowDown__2ET-d","Rotated":"style-module_Rotated__3sgbm","DetailsContainer":"style-module_DetailsContainer__FBBIP","Details":"style-module_Details__3-X_i","Divider":"style-module_Divider__2d0Zk","ActionTextBtn":"style-module_ActionTextBtn__FXJQX","NoUnderline":"style-module_NoUnderline__34-1r","Light":"style-module_Light__WFzH8","SubTotalInfo":"style-module_SubTotalInfo__1QMnr","InfoRow":"style-module_InfoRow__3eZdJ","Label":"style-module_Label__3E7LF","TotalContainer":"style-module_TotalContainer__36DNt","TitleContainer":"style-module_TitleContainer__3ptQE","Title":"style-module_Title__16M5E","TotalPrice":"style-module_TotalPrice__2s7DC","AppliedCoupon":"style-module_AppliedCoupon__37qv8","CouponCode":"style-module_CouponCode__3rgOu","ClearCoupon":"style-module_ClearCoupon__1Rx4A","NotificationContainer":"style-module_NotificationContainer__Zblek","CheckoutNoteContainer":"style-module_CheckoutNoteContainer__zQQjd","CheckoutNoteDisplay":"style-module_CheckoutNoteDisplay__kTFTx","Success":"style-module_Success__2vqWA","GiftLabel":"style-module_GiftLabel__2f-wC","PoweredBy":"style-module_PoweredBy__1hgWQ"};
|
|
71265
|
+
var styles$h = {"CartSummary":"style-module_CartSummary__30RcF","AllowExpand":"style-module_AllowExpand__3kDXF","ExpandHeader":"style-module_ExpandHeader__2ICjA","Left":"style-module_Left__A54sv","Price":"style-module_Price__sosrJ","PriceText":"style-module_PriceText__1ePGb","ArrowDown":"style-module_ArrowDown__2ET-d","Rotated":"style-module_Rotated__3sgbm","DetailsContainer":"style-module_DetailsContainer__FBBIP","Details":"style-module_Details__3-X_i","Divider":"style-module_Divider__2d0Zk","ActionTextBtn":"style-module_ActionTextBtn__FXJQX","NoUnderline":"style-module_NoUnderline__34-1r","Light":"style-module_Light__WFzH8","SubTotalInfo":"style-module_SubTotalInfo__1QMnr","InfoRow":"style-module_InfoRow__3eZdJ","Label":"style-module_Label__3E7LF","Value":"style-module_Value__3mBvk","TotalContainer":"style-module_TotalContainer__36DNt","TitleContainer":"style-module_TitleContainer__3ptQE","Title":"style-module_Title__16M5E","TotalPrice":"style-module_TotalPrice__2s7DC","AppliedCoupon":"style-module_AppliedCoupon__37qv8","CouponCode":"style-module_CouponCode__3rgOu","ClearCoupon":"style-module_ClearCoupon__1Rx4A","NotificationContainer":"style-module_NotificationContainer__Zblek","CheckoutNoteContainer":"style-module_CheckoutNoteContainer__zQQjd","CheckoutNoteDisplay":"style-module_CheckoutNoteDisplay__kTFTx","Success":"style-module_Success__2vqWA","GiftLabel":"style-module_GiftLabel__2f-wC","PoweredBy":"style-module_PoweredBy__1hgWQ"};
|
|
71281
71266
|
|
|
71282
71267
|
var SVGIkas = function (_a) {
|
|
71283
71268
|
var className = _a.className;
|
package/build/index.js
CHANGED
|
@@ -46199,16 +46199,13 @@ var IkasPageDataProvider = /** @class */ (function () {
|
|
|
46199
46199
|
};
|
|
46200
46200
|
IkasPageDataProvider.prototype.getLinkSlugs = function (targets, type) {
|
|
46201
46201
|
return __awaiter(this, void 0, void 0, function () {
|
|
46202
|
-
var idList,
|
|
46202
|
+
var idList, metaDataList, getPage;
|
|
46203
46203
|
var _this = this;
|
|
46204
46204
|
return __generator(this, function (_a) {
|
|
46205
46205
|
switch (_a.label) {
|
|
46206
46206
|
case 0:
|
|
46207
46207
|
idList = uniq_1(targets.map(function (t) { return t.id; }));
|
|
46208
|
-
page = 1;
|
|
46209
|
-
limit = 200;
|
|
46210
46208
|
metaDataList = [];
|
|
46211
|
-
fetchComplete = false;
|
|
46212
46209
|
getPage = function () { return __awaiter(_this, void 0, void 0, function () {
|
|
46213
46210
|
var results, _a;
|
|
46214
46211
|
return __generator(this, function (_b) {
|
|
@@ -46221,42 +46218,30 @@ var IkasPageDataProvider = /** @class */ (function () {
|
|
|
46221
46218
|
case "BLOG": return [3 /*break*/, 3];
|
|
46222
46219
|
}
|
|
46223
46220
|
return [3 /*break*/, 5];
|
|
46224
|
-
case 1: return [4 /*yield*/, IkasHTMLMetaDataAPI.listHTMLMetaData(undefined, idList, undefined
|
|
46221
|
+
case 1: return [4 /*yield*/, IkasHTMLMetaDataAPI.listHTMLMetaData(undefined, idList, undefined)];
|
|
46225
46222
|
case 2:
|
|
46226
46223
|
results = _b.sent();
|
|
46227
46224
|
return [3 /*break*/, 6];
|
|
46228
|
-
case 3: return [4 /*yield*/, IkasBlogAPI.listBlogMetaData(undefined, idList, undefined
|
|
46225
|
+
case 3: return [4 /*yield*/, IkasBlogAPI.listBlogMetaData(undefined, idList, undefined)];
|
|
46229
46226
|
case 4:
|
|
46230
46227
|
results = _b.sent();
|
|
46231
46228
|
return [3 /*break*/, 6];
|
|
46232
46229
|
case 5: return [3 /*break*/, 6];
|
|
46233
46230
|
case 6:
|
|
46234
|
-
if (results.length)
|
|
46235
|
-
metaDataList =
|
|
46236
|
-
if (results.length < 200)
|
|
46237
|
-
fetchComplete = true;
|
|
46238
|
-
}
|
|
46239
|
-
else
|
|
46240
|
-
fetchComplete = true;
|
|
46241
|
-
page++;
|
|
46231
|
+
if (results.length)
|
|
46232
|
+
metaDataList = results;
|
|
46242
46233
|
return [2 /*return*/];
|
|
46243
46234
|
}
|
|
46244
46235
|
});
|
|
46245
46236
|
}); };
|
|
46246
|
-
_a.label = 1;
|
|
46247
|
-
case 1:
|
|
46248
|
-
if (!(!fetchComplete && metaDataList.length < idList.length)) return [3 /*break*/, 3];
|
|
46249
46237
|
return [4 /*yield*/, getPage()];
|
|
46250
|
-
case
|
|
46238
|
+
case 1:
|
|
46251
46239
|
_a.sent();
|
|
46252
|
-
|
|
46253
|
-
|
|
46254
|
-
|
|
46255
|
-
|
|
46256
|
-
|
|
46257
|
-
.forEach(function (t) {
|
|
46258
|
-
t.navigationLink.href += metaData.slug;
|
|
46259
|
-
});
|
|
46240
|
+
targets.forEach(function (target) {
|
|
46241
|
+
var metaData = metaDataList.find(function (md) { return md.targetId === target.id; });
|
|
46242
|
+
if (metaData) {
|
|
46243
|
+
target.navigationLink.href += metaData.slug;
|
|
46244
|
+
}
|
|
46260
46245
|
});
|
|
46261
46246
|
return [2 /*return*/];
|
|
46262
46247
|
}
|
|
@@ -71254,7 +71239,7 @@ var SVGGift = function (_a) {
|
|
|
71254
71239
|
React.createElement("rect", { width: "16", height: "16", fill: "white" })))));
|
|
71255
71240
|
};
|
|
71256
71241
|
|
|
71257
|
-
var styles$h = {"CartSummary":"style-module_CartSummary__30RcF","AllowExpand":"style-module_AllowExpand__3kDXF","ExpandHeader":"style-module_ExpandHeader__2ICjA","Left":"style-module_Left__A54sv","Price":"style-module_Price__sosrJ","PriceText":"style-module_PriceText__1ePGb","ArrowDown":"style-module_ArrowDown__2ET-d","Rotated":"style-module_Rotated__3sgbm","DetailsContainer":"style-module_DetailsContainer__FBBIP","Details":"style-module_Details__3-X_i","Divider":"style-module_Divider__2d0Zk","ActionTextBtn":"style-module_ActionTextBtn__FXJQX","NoUnderline":"style-module_NoUnderline__34-1r","Light":"style-module_Light__WFzH8","SubTotalInfo":"style-module_SubTotalInfo__1QMnr","InfoRow":"style-module_InfoRow__3eZdJ","Label":"style-module_Label__3E7LF","TotalContainer":"style-module_TotalContainer__36DNt","TitleContainer":"style-module_TitleContainer__3ptQE","Title":"style-module_Title__16M5E","TotalPrice":"style-module_TotalPrice__2s7DC","AppliedCoupon":"style-module_AppliedCoupon__37qv8","CouponCode":"style-module_CouponCode__3rgOu","ClearCoupon":"style-module_ClearCoupon__1Rx4A","NotificationContainer":"style-module_NotificationContainer__Zblek","CheckoutNoteContainer":"style-module_CheckoutNoteContainer__zQQjd","CheckoutNoteDisplay":"style-module_CheckoutNoteDisplay__kTFTx","Success":"style-module_Success__2vqWA","GiftLabel":"style-module_GiftLabel__2f-wC","PoweredBy":"style-module_PoweredBy__1hgWQ"};
|
|
71242
|
+
var styles$h = {"CartSummary":"style-module_CartSummary__30RcF","AllowExpand":"style-module_AllowExpand__3kDXF","ExpandHeader":"style-module_ExpandHeader__2ICjA","Left":"style-module_Left__A54sv","Price":"style-module_Price__sosrJ","PriceText":"style-module_PriceText__1ePGb","ArrowDown":"style-module_ArrowDown__2ET-d","Rotated":"style-module_Rotated__3sgbm","DetailsContainer":"style-module_DetailsContainer__FBBIP","Details":"style-module_Details__3-X_i","Divider":"style-module_Divider__2d0Zk","ActionTextBtn":"style-module_ActionTextBtn__FXJQX","NoUnderline":"style-module_NoUnderline__34-1r","Light":"style-module_Light__WFzH8","SubTotalInfo":"style-module_SubTotalInfo__1QMnr","InfoRow":"style-module_InfoRow__3eZdJ","Label":"style-module_Label__3E7LF","Value":"style-module_Value__3mBvk","TotalContainer":"style-module_TotalContainer__36DNt","TitleContainer":"style-module_TitleContainer__3ptQE","Title":"style-module_Title__16M5E","TotalPrice":"style-module_TotalPrice__2s7DC","AppliedCoupon":"style-module_AppliedCoupon__37qv8","CouponCode":"style-module_CouponCode__3rgOu","ClearCoupon":"style-module_ClearCoupon__1Rx4A","NotificationContainer":"style-module_NotificationContainer__Zblek","CheckoutNoteContainer":"style-module_CheckoutNoteContainer__zQQjd","CheckoutNoteDisplay":"style-module_CheckoutNoteDisplay__kTFTx","Success":"style-module_Success__2vqWA","GiftLabel":"style-module_GiftLabel__2f-wC","PoweredBy":"style-module_PoweredBy__1hgWQ"};
|
|
71258
71243
|
|
|
71259
71244
|
var SVGIkas = function (_a) {
|
|
71260
71245
|
var className = _a.className;
|