@ikas/storefront 0.0.168-alpha.9 → 0.0.169-alpha.2

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.
Files changed (27) hide show
  1. package/build/__generated__/global-types.d.ts +39 -24
  2. package/build/analytics/analytics.d.ts +1 -0
  3. package/build/analytics/events.d.ts +1 -0
  4. package/build/api/brand/__generated__/listProductBrand.d.ts +7 -0
  5. package/build/api/cart/__generated__/saveItemToCart.d.ts +6 -0
  6. package/build/api/category/__generated__/listCategory.d.ts +7 -0
  7. package/build/api/checkout/__generated__/getCheckoutById.d.ts +8 -2
  8. package/build/api/checkout/__generated__/getOrder.d.ts +2 -2
  9. package/build/api/checkout/__generated__/listCheckoutSettings.d.ts +1 -0
  10. package/build/api/checkout/__generated__/listPaymentGateway.d.ts +3 -1
  11. package/build/api/customer/__generated__/createOrderRefundRequest.d.ts +2 -2
  12. package/build/api/customer/__generated__/customerLogin.d.ts +1 -1
  13. package/build/api/customer/__generated__/getCustomerOrders.d.ts +2 -2
  14. package/build/api/customer/__generated__/getLastViewedProducts.d.ts +1 -1
  15. package/build/api/customer/__generated__/getMyCustomer.d.ts +1 -1
  16. package/build/api/customer/__generated__/registerCustomer.d.ts +1 -1
  17. package/build/api/customer/__generated__/saveMyCustomer.d.ts +1 -1
  18. package/build/api/storefront/__generated__/getStorefront.d.ts +1 -1
  19. package/build/components/checkout/components/external.d.ts +6 -0
  20. package/build/components/image/index.d.ts +1 -0
  21. package/build/index.es.js +205 -100
  22. package/build/index.js +205 -99
  23. package/build/models/data/payment-gateway/index.d.ts +6 -0
  24. package/build/models/ui/index.d.ts +1 -0
  25. package/build/models/ui/product-list/index.d.ts +1 -1
  26. package/build/store/cart.d.ts +1 -0
  27. package/package.json +1 -1
package/build/index.es.js CHANGED
@@ -11027,7 +11027,7 @@ var Apollo = /** @class */ (function () {
11027
11027
  });
11028
11028
  var authLink = setContext(function (_request, _a) {
11029
11029
  var headers = _a.headers;
11030
- var newHeaders = __assign(__assign({}, headers), { "x-api-key": apiKey || IkasStorefrontConfig.config.apiKey });
11030
+ var newHeaders = __assign(__assign({}, headers), { "x-api-key": apiKey || IkasStorefrontConfig.config.apiKey, "x-sfid": IkasStorefrontConfig.storefrontId, "x-sfrid": IkasStorefrontConfig.storefrontRoutingId });
11031
11031
  if (Apollo.customerToken) {
11032
11032
  newHeaders.Authorization = "Bearer " + Apollo.customerToken;
11033
11033
  }
@@ -12068,15 +12068,14 @@ function formatDate(date) {
12068
12068
  minute: "numeric",
12069
12069
  hour12: false,
12070
12070
  };
12071
+ var locale = IkasStorefrontConfig.getCurrentLocale();
12071
12072
  if (typeof navigator !== "undefined") {
12072
12073
  options.hour12 = is12Hour(navigator.language);
12073
- return new Intl.DateTimeFormat(navigator.language, options).format(date);
12074
12074
  }
12075
12075
  else {
12076
- var locale = IkasStorefrontConfig.getCurrentLocale();
12077
12076
  options.hour12 = is12Hour(locale);
12078
- return new Intl.DateTimeFormat(locale, options).format(date);
12079
12077
  }
12078
+ return new Intl.DateTimeFormat(locale, options).format(date);
12080
12079
  }
12081
12080
  function tryForEach(items, callback, printErrors) {
12082
12081
  if (printErrors === void 0) { printErrors = false; }
@@ -19828,6 +19827,8 @@ var IkasPaymentGateway = /** @class */ (function () {
19828
19827
  this.id = data.id || null;
19829
19828
  this.name = data.name || "";
19830
19829
  this.code = data.code || "";
19830
+ this.type = data.type || IkasPaymentGatewayType.INTERNAL;
19831
+ this.logoUrl = data.logoUrl || null;
19831
19832
  this.testMode = data.testMode || null;
19832
19833
  this.description = data.description || null;
19833
19834
  this.additionalPrices =
@@ -19905,7 +19906,12 @@ var IkasPaymentGatewayAdditionalPriceAmountType;
19905
19906
  (function (IkasPaymentGatewayAdditionalPriceAmountType) {
19906
19907
  IkasPaymentGatewayAdditionalPriceAmountType["AMOUNT"] = "AMOUNT";
19907
19908
  IkasPaymentGatewayAdditionalPriceAmountType["RATIO"] = "RATIO";
19908
- })(IkasPaymentGatewayAdditionalPriceAmountType || (IkasPaymentGatewayAdditionalPriceAmountType = {}));
19909
+ })(IkasPaymentGatewayAdditionalPriceAmountType || (IkasPaymentGatewayAdditionalPriceAmountType = {}));
19910
+ var IkasPaymentGatewayType;
19911
+ (function (IkasPaymentGatewayType) {
19912
+ IkasPaymentGatewayType["EXTERNAL"] = "EXTERNAL";
19913
+ IkasPaymentGatewayType["INTERNAL"] = "INTERNAL";
19914
+ })(IkasPaymentGatewayType || (IkasPaymentGatewayType = {}));
19909
19915
 
19910
19916
  var IkasCheckout = /** @class */ (function () {
19911
19917
  function IkasCheckout(data) {
@@ -23272,6 +23278,16 @@ var IkasCartStore = /** @class */ (function () {
23272
23278
  _this.cart = undefined;
23273
23279
  _this._checkoutId = undefined;
23274
23280
  };
23281
+ this.waitUntilInitialized = function () {
23282
+ return new Promise(function (resolve) {
23283
+ var interval = setInterval(function () {
23284
+ if (_this.cartLoadFinished) {
23285
+ clearInterval(interval);
23286
+ resolve(null);
23287
+ }
23288
+ }, 100);
23289
+ });
23290
+ };
23275
23291
  this.baseStore = baseStore;
23276
23292
  makeAutoObservable(this);
23277
23293
  }
@@ -23569,6 +23585,7 @@ var CheckoutViewModel = /** @class */ (function () {
23569
23585
  _b.label = 11;
23570
23586
  case 11:
23571
23587
  this.isCheckoutLoaded = true;
23588
+ Analytics.checkoutStep(this.checkout, this.step);
23572
23589
  return [2 /*return*/];
23573
23590
  }
23574
23591
  });
@@ -24143,7 +24160,10 @@ var CheckoutViewModel = /** @class */ (function () {
24143
24160
  if (!this.checkout.selectedPaymentGateway)
24144
24161
  return [2 /*return*/];
24145
24162
  return [4 /*yield*/, IkasCheckoutAPI.createSaleTransactionWithCheckout(this.checkout.id, this.checkout.selectedPaymentGateway.id, this.checkout.selectedPaymentGateway.paymentMethodType ===
24146
- IkasPaymentMethodType.CREDIT_CARD && this.cardData
24163
+ IkasPaymentMethodType.CREDIT_CARD &&
24164
+ this.checkout.selectedPaymentGateway.type ===
24165
+ IkasPaymentGatewayType.INTERNAL &&
24166
+ this.cardData
24147
24167
  ? this.cardData.toInput()
24148
24168
  : undefined)];
24149
24169
  case 1:
@@ -24222,7 +24242,9 @@ var CheckoutViewModel = /** @class */ (function () {
24222
24242
  var paymentGateway = _this.paymentGateways[index];
24223
24243
  _this.checkout.selectedPaymentGateway = paymentGateway;
24224
24244
  if (_this.step !== CheckoutStep.SUCCESS) {
24225
- if (paymentGateway.paymentMethodType === IkasPaymentMethodType.CREDIT_CARD) {
24245
+ if (paymentGateway.paymentMethodType ===
24246
+ IkasPaymentMethodType.CREDIT_CARD &&
24247
+ paymentGateway.type === IkasPaymentGatewayType.INTERNAL) {
24226
24248
  _this.cardData = new CreditCardData();
24227
24249
  }
24228
24250
  _this.installmentInfo = undefined;
@@ -24382,15 +24404,16 @@ var CheckoutViewModel = /** @class */ (function () {
24382
24404
  });
24383
24405
  Object.defineProperty(CheckoutViewModel.prototype, "canPerformPayment", {
24384
24406
  get: function () {
24385
- var _a, _b, _c;
24407
+ var _a, _b;
24386
24408
  if (this.checkoutSettings.showTermsAndConditionsCheckbox &&
24387
24409
  !this.isTermsAndConditionsChecked)
24388
24410
  return false;
24411
+ var pg = this.checkout.selectedPaymentGateway;
24389
24412
  return (this.canProceedToShipping &&
24390
24413
  !!((_a = this.checkout.billingAddress) === null || _a === void 0 ? void 0 : _a.isValid) &&
24391
- (((_b = this.checkout.selectedPaymentGateway) === null || _b === void 0 ? void 0 : _b.paymentMethodType) ===
24392
- IkasPaymentMethodType.CREDIT_CARD
24393
- ? (_c = this.cardData) === null || _c === void 0 ? void 0 : _c.isValid : true));
24414
+ ((pg === null || pg === void 0 ? void 0 : pg.paymentMethodType) === IkasPaymentMethodType.CREDIT_CARD &&
24415
+ pg.type === IkasPaymentGatewayType.INTERNAL
24416
+ ? (_b = this.cardData) === null || _b === void 0 ? void 0 : _b.isValid : true));
24394
24417
  },
24395
24418
  enumerable: false,
24396
24419
  configurable: true
@@ -24799,6 +24822,7 @@ var IkasEventType;
24799
24822
  IkasEventType["VIEW_CART"] = "VIEW_CART";
24800
24823
  IkasEventType["VIEW_CATEGORY"] = "VIEW_CATEGORY";
24801
24824
  IkasEventType["VIEW_SEARCH_RESULTS"] = "VIEW_SEARCH_RESULTS";
24825
+ IkasEventType["VIEW_LISTING"] = "VIEW_LISTING";
24802
24826
  IkasEventType["CONTACT_FORM"] = "CONTACT_FORM";
24803
24827
  })(IkasEventType || (IkasEventType = {}));
24804
24828
 
@@ -25202,6 +25226,24 @@ var Analytics = /** @class */ (function () {
25202
25226
  console.error(err);
25203
25227
  }
25204
25228
  };
25229
+ Analytics.viewListing = function (productDetails) {
25230
+ try {
25231
+ if (Analytics.subscribers.length) {
25232
+ var cloneProductDetails_2 = cloneDeep_1(productDetails).map(function (p) { return new IkasProductDetail(p.product, p.selectedVariantValues); });
25233
+ tryForEach(Analytics.subscribers, function (s) {
25234
+ s.callback({
25235
+ type: IkasEventType.VIEW_LISTING,
25236
+ data: {
25237
+ productDetails: cloneProductDetails_2,
25238
+ },
25239
+ });
25240
+ });
25241
+ }
25242
+ }
25243
+ catch (err) {
25244
+ console.error(err);
25245
+ }
25246
+ };
25205
25247
  Analytics.contactForm = function (form) {
25206
25248
  try {
25207
25249
  FacebookPixel.contactForm();
@@ -37644,6 +37686,7 @@ var CheckoutRequirementEnum;
37644
37686
  var CheckoutStatusEnum;
37645
37687
  (function (CheckoutStatusEnum) {
37646
37688
  CheckoutStatusEnum["COMPLETED"] = "COMPLETED";
37689
+ CheckoutStatusEnum["KILLED"] = "KILLED";
37647
37690
  CheckoutStatusEnum["OPEN"] = "OPEN";
37648
37691
  })(CheckoutStatusEnum || (CheckoutStatusEnum = {}));
37649
37692
  /**
@@ -37763,6 +37806,12 @@ var PaymentGatewayTransactionFeeTypeEnum;
37763
37806
  PaymentGatewayTransactionFeeTypeEnum["AMOUNT"] = "AMOUNT";
37764
37807
  PaymentGatewayTransactionFeeTypeEnum["RATIO"] = "RATIO";
37765
37808
  })(PaymentGatewayTransactionFeeTypeEnum || (PaymentGatewayTransactionFeeTypeEnum = {}));
37809
+ var PaymentGatewayTypeEnum;
37810
+ (function (PaymentGatewayTypeEnum) {
37811
+ PaymentGatewayTypeEnum["EXTERNAL"] = "EXTERNAL";
37812
+ PaymentGatewayTypeEnum["INTERNAL"] = "INTERNAL";
37813
+ PaymentGatewayTypeEnum["THIRD_PARTY"] = "THIRD_PARTY";
37814
+ })(PaymentGatewayTypeEnum || (PaymentGatewayTypeEnum = {}));
37766
37815
  var PaymentMethodEnum;
37767
37816
  (function (PaymentMethodEnum) {
37768
37817
  PaymentMethodEnum["APP_PAYMENT"] = "APP_PAYMENT";
@@ -37786,6 +37835,7 @@ var ProductAttributeTypeEnum;
37786
37835
  ProductAttributeTypeEnum["HTML"] = "HTML";
37787
37836
  ProductAttributeTypeEnum["MULTIPLE_CHOICE"] = "MULTIPLE_CHOICE";
37788
37837
  ProductAttributeTypeEnum["NUMERIC"] = "NUMERIC";
37838
+ ProductAttributeTypeEnum["PRODUCT"] = "PRODUCT";
37789
37839
  ProductAttributeTypeEnum["TABLE"] = "TABLE";
37790
37840
  ProductAttributeTypeEnum["TEXT"] = "TEXT";
37791
37841
  })(ProductAttributeTypeEnum || (ProductAttributeTypeEnum = {}));
@@ -38043,7 +38093,7 @@ var IkasProductList = /** @class */ (function () {
38043
38093
  this._minPage = this.page;
38044
38094
  if (!isInfiteScrollReturn)
38045
38095
  this._infiniteScrollPage = null;
38046
- this.handleViewSearchResults();
38096
+ this.handleListingEvent();
38047
38097
  return [2 /*return*/, true];
38048
38098
  case 12:
38049
38099
  err_1 = _a.sent();
@@ -38239,6 +38289,9 @@ var IkasProductList = /** @class */ (function () {
38239
38289
  else if (this.isLastViewed) {
38240
38290
  this.getInitial();
38241
38291
  }
38292
+ else {
38293
+ this.handleListingEvent();
38294
+ }
38242
38295
  }
38243
38296
  }
38244
38297
  Object.defineProperty(IkasProductList.prototype, "sort", {
@@ -38684,9 +38737,9 @@ var IkasProductList = /** @class */ (function () {
38684
38737
  this._searchKeyword = "";
38685
38738
  if (this._pageType !== IkasThemePageType.CATEGORY) {
38686
38739
  this._filterCategoryId = undefined;
38687
- //@ts-ignore
38688
- (_b = this._filterCategories) === null || _b === void 0 ? void 0 : _b.forEach(function (fc) { return (fc._isSelected = false); });
38689
38740
  }
38741
+ //@ts-ignore
38742
+ (_b = this._filterCategories) === null || _b === void 0 ? void 0 : _b.forEach(function (fc) { return (fc._isSelected = false); });
38690
38743
  this.applyFilters();
38691
38744
  };
38692
38745
  IkasProductList.prototype.setSortType = function (sortType) {
@@ -38780,10 +38833,13 @@ var IkasProductList = /** @class */ (function () {
38780
38833
  }, 1000);
38781
38834
  });
38782
38835
  };
38783
- IkasProductList.prototype.handleViewSearchResults = function () {
38836
+ IkasProductList.prototype.handleListingEvent = function () {
38784
38837
  if (this.searchKeyword && this.data.length) {
38785
38838
  Analytics.viewSearchResults(this._searchKeyword, this.data);
38786
38839
  }
38840
+ else if (this.data.length && this._type === IkasProductListType.ALL) {
38841
+ Analytics.viewListing(this.data);
38842
+ }
38787
38843
  };
38788
38844
  return IkasProductList;
38789
38845
  }());
@@ -38933,6 +38989,37 @@ var groupBy = _createAggregator(function(result, value, key) {
38933
38989
 
38934
38990
  var groupBy_1 = groupBy;
38935
38991
 
38992
+ var IkasAttributeList = /** @class */ (function () {
38993
+ function IkasAttributeList(productDetail, attributeListPropValue) {
38994
+ this.productDetail = null;
38995
+ this.productDetail = productDetail;
38996
+ this.attributeListPropValue = attributeListPropValue;
38997
+ makeAutoObservable(this);
38998
+ }
38999
+ Object.defineProperty(IkasAttributeList.prototype, "values", {
39000
+ get: function () {
39001
+ var _this = this;
39002
+ var _a;
39003
+ if (!this.productDetail)
39004
+ return [];
39005
+ var groupedValues = this.productDetail.product.hasVariant
39006
+ ? groupBy_1(this.productDetail.selectedVariant.attributes.filter(function (a) { var _a; return (_a = _this.attributeListPropValue.attributeIds) === null || _a === void 0 ? void 0 : _a.includes(a.productAttributeId || ""); }), "productAttributeId")
39007
+ : groupBy_1(this.productDetail.product.attributes.filter(function (a) { var _a; return (_a = _this.attributeListPropValue.attributeIds) === null || _a === void 0 ? void 0 : _a.includes(a.productAttributeId || ""); }), "productAttributeId");
39008
+ return (((_a = this.attributeListPropValue.attributeIds) === null || _a === void 0 ? void 0 : _a.map(function (attributeId) {
39009
+ var values = groupedValues[attributeId];
39010
+ if ((values === null || values === void 0 ? void 0 : values.length) && values[0].productAttribute)
39011
+ return {
39012
+ attribute: values[0].productAttribute,
39013
+ values: values,
39014
+ };
39015
+ }).filter(function (v) { return !!v; })) || []);
39016
+ },
39017
+ enumerable: false,
39018
+ configurable: true
39019
+ });
39020
+ return IkasAttributeList;
39021
+ }());
39022
+
38936
39023
  var Validator = /** @class */ (function () {
38937
39024
  function Validator(model, rules) {
38938
39025
  var _this = this;
@@ -41431,7 +41518,7 @@ var IkasCheckoutAPI = /** @class */ (function () {
41431
41518
  return __generator(this, function (_b) {
41432
41519
  switch (_b.label) {
41433
41520
  case 0:
41434
- QUERY = src(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n query listPaymentGateway($id: StringFilterInput, $locale: String) {\n listPaymentGateway(id: $id, locale: $locale) {\n paymentMethods {\n name\n logoUrl\n }\n paymentMethodType\n id\n name\n description\n testMode\n code\n additionalPrices {\n amount\n amountType\n name\n type\n }\n translations {\n description\n locale\n name\n }\n }\n }\n "], ["\n query listPaymentGateway($id: StringFilterInput, $locale: String) {\n listPaymentGateway(id: $id, locale: $locale) {\n paymentMethods {\n name\n logoUrl\n }\n paymentMethodType\n id\n name\n description\n testMode\n code\n additionalPrices {\n amount\n amountType\n name\n type\n }\n translations {\n description\n locale\n name\n }\n }\n }\n "])));
41521
+ QUERY = src(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n query listPaymentGateway($id: StringFilterInput, $locale: String) {\n listPaymentGateway(id: $id, locale: $locale) {\n paymentMethods {\n name\n logoUrl\n }\n paymentMethodType\n id\n name\n description\n testMode\n code\n type\n logoUrl\n additionalPrices {\n amount\n amountType\n name\n type\n }\n translations {\n description\n locale\n name\n }\n }\n }\n "], ["\n query listPaymentGateway($id: StringFilterInput, $locale: String) {\n listPaymentGateway(id: $id, locale: $locale) {\n paymentMethods {\n name\n logoUrl\n }\n paymentMethodType\n id\n name\n description\n testMode\n code\n type\n logoUrl\n additionalPrices {\n amount\n amountType\n name\n type\n }\n translations {\n description\n locale\n name\n }\n }\n }\n "])));
41435
41522
  _b.label = 1;
41436
41523
  case 1:
41437
41524
  _b.trys.push([1, 3, , 4]);
@@ -42173,15 +42260,16 @@ var IkasCustomerAPI = /** @class */ (function () {
42173
42260
  });
42174
42261
  };
42175
42262
  IkasCustomerAPI.getLastViewedProducts = function (customerId) {
42263
+ var _a;
42176
42264
  return __awaiter(this, void 0, void 0, function () {
42177
- var QUERY, _a, data, errors, error_2;
42178
- return __generator(this, function (_b) {
42179
- switch (_b.label) {
42265
+ var QUERY, _b, data, errors, error_2;
42266
+ return __generator(this, function (_c) {
42267
+ switch (_c.label) {
42180
42268
  case 0:
42181
42269
  QUERY = src(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n query getLastViewedProducts($customerId: String) {\n getLastViewedProducts(customerId: $customerId) {\n products {\n productId\n variantId\n }\n }\n }\n "], ["\n query getLastViewedProducts($customerId: String) {\n getLastViewedProducts(customerId: $customerId) {\n products {\n productId\n variantId\n }\n }\n }\n "])));
42182
- _b.label = 1;
42270
+ _c.label = 1;
42183
42271
  case 1:
42184
- _b.trys.push([1, 3, , 4]);
42272
+ _c.trys.push([1, 3, , 4]);
42185
42273
  return [4 /*yield*/, apollo
42186
42274
  .getClient()
42187
42275
  .query({
@@ -42191,12 +42279,12 @@ var IkasCustomerAPI = /** @class */ (function () {
42191
42279
  },
42192
42280
  })];
42193
42281
  case 2:
42194
- _a = _b.sent(), data = _a.data, errors = _a.errors;
42282
+ _b = _c.sent(), data = _b.data, errors = _b.errors;
42195
42283
  if (errors && errors.length)
42196
42284
  return [2 /*return*/, []];
42197
- return [2 /*return*/, data.getLastViewedProducts.products];
42285
+ return [2 /*return*/, ((_a = data.getLastViewedProducts) === null || _a === void 0 ? void 0 : _a.products) || []];
42198
42286
  case 3:
42199
- error_2 = _b.sent();
42287
+ error_2 = _c.sent();
42200
42288
  console.log(error_2);
42201
42289
  return [2 /*return*/, []];
42202
42290
  case 4: return [2 /*return*/];
@@ -42947,37 +43035,6 @@ var IkasVariantTypeAPI = /** @class */ (function () {
42947
43035
  }());
42948
43036
  var templateObject_1$g;
42949
43037
 
42950
- var IkasAttributeList = /** @class */ (function () {
42951
- function IkasAttributeList(productDetail, attributeListPropValue) {
42952
- this.productDetail = null;
42953
- this.productDetail = productDetail;
42954
- this.attributeListPropValue = attributeListPropValue;
42955
- makeAutoObservable(this);
42956
- }
42957
- Object.defineProperty(IkasAttributeList.prototype, "values", {
42958
- get: function () {
42959
- var _this = this;
42960
- var _a;
42961
- if (!this.productDetail)
42962
- return [];
42963
- var groupedValues = this.productDetail.product.hasVariant
42964
- ? groupBy_1(this.productDetail.selectedVariant.attributes.filter(function (a) { var _a; return (_a = _this.attributeListPropValue.attributeIds) === null || _a === void 0 ? void 0 : _a.includes(a.productAttributeId || ""); }), "productAttributeId")
42965
- : groupBy_1(this.productDetail.product.attributes.filter(function (a) { var _a; return (_a = _this.attributeListPropValue.attributeIds) === null || _a === void 0 ? void 0 : _a.includes(a.productAttributeId || ""); }), "productAttributeId");
42966
- return (((_a = this.attributeListPropValue.attributeIds) === null || _a === void 0 ? void 0 : _a.map(function (attributeId) {
42967
- var values = groupedValues[attributeId];
42968
- if ((values === null || values === void 0 ? void 0 : values.length) && values[0].productAttribute)
42969
- return {
42970
- attribute: values[0].productAttribute,
42971
- values: values,
42972
- };
42973
- }).filter(function (v) { return !!v; })) || []);
42974
- },
42975
- enumerable: false,
42976
- configurable: true
42977
- });
42978
- return IkasAttributeList;
42979
- }());
42980
-
42981
43038
  var IkasProductListPropValueProvider = /** @class */ (function () {
42982
43039
  function IkasProductListPropValueProvider(pageType, productListPropValue, pageSpecificData) {
42983
43040
  this.pageType = pageType;
@@ -44747,7 +44804,7 @@ var IkasPageDataProvider = /** @class */ (function () {
44747
44804
  propValueProvider = new IkasImageListPropValueProvider(propValue);
44748
44805
  return [3 /*break*/, 24];
44749
44806
  case 6:
44750
- propValueProvider = new IkasBrandPropValueProvider(propValue, this.pageSpecificData);
44807
+ propValueProvider = new IkasBrandPropValueProvider(propValue);
44751
44808
  return [3 /*break*/, 24];
44752
44809
  case 7:
44753
44810
  propValueProvider = new IkasBrandListPropValueProvider(propValue);
@@ -44787,13 +44844,13 @@ var IkasPageDataProvider = /** @class */ (function () {
44787
44844
  return [4 /*yield*/, Promise.all(pageComponents.map(function (tp) { return _this.getPageComponentPropValues(tp); }))];
44788
44845
  case 18: return [2 /*return*/, _b.sent()];
44789
44846
  case 19:
44790
- propValueProvider = new IkasBlogPropValueProvider(propValue, this.pageSpecificData);
44847
+ propValueProvider = new IkasBlogPropValueProvider(propValue);
44791
44848
  return [3 /*break*/, 24];
44792
44849
  case 20:
44793
44850
  propValueProvider = new IkasBlogListPropValueProvider(this.pageType, propValue, this.pageSpecificData);
44794
44851
  return [3 /*break*/, 24];
44795
44852
  case 21:
44796
- propValueProvider = new IkasBlogCategoryPropValueProvider(propValue, this.pageSpecificData);
44853
+ propValueProvider = new IkasBlogCategoryPropValueProvider(propValue);
44797
44854
  return [3 /*break*/, 24];
44798
44855
  case 22:
44799
44856
  propValueProvider = new IkasBlogCategoryListPropValueProvider(propValue);
@@ -45469,7 +45526,7 @@ var IkasPage = observer(function (_a) {
45469
45526
  var propValues = useMemo(function () {
45470
45527
  IkasPageDataInit.setPageSpecificData(pageSpecificDataStr, pageType, isBrowser);
45471
45528
  return IkasPageDataInit.initPropValues(propValuesStr, router, settingsStr, isBrowser);
45472
- }, [isBrowser, propValuesStr, pageType, settingsStr]);
45529
+ }, [isBrowser, propValuesStr, pageType, settingsStr, pageSpecificDataStr]);
45473
45530
  store.currentPageType = pageType;
45474
45531
  useEffect(function () {
45475
45532
  if (reInitOnBrowser)
@@ -45511,37 +45568,52 @@ var renderComponent = function (pageComponentPropValue, settings, index) {
45511
45568
  return (createElement(ThemeComponent, { key: pageComponentPropValue.pageComponent.id, index: index, pageComponentPropValue: pageComponentPropValue, settings: settings }));
45512
45569
  };
45513
45570
  function handleAnalytics(pageType, pageSpecificDataStr, store) {
45514
- Analytics.pageView(pageType);
45515
- try {
45516
- if (pageType === IkasThemePageType.PRODUCT) {
45517
- var productDetailParsed = JSON.parse(pageSpecificDataStr);
45518
- var productDetail = new IkasProductDetail(productDetailParsed.product, productDetailParsed.selectedVariantValues);
45519
- var isBrowser = typeof window !== "undefined";
45520
- if (isBrowser) {
45521
- IkasPageDataInit._initProductDetailOnBrowser(productDetail);
45522
- }
45523
- Analytics.productView(productDetail);
45524
- // @ts-ignore
45525
- IkasStorefrontConfig.store.customerStore.onProductView(productDetail.product.id, productDetail.selectedVariant.id);
45526
- }
45527
- if (pageType === IkasThemePageType.CATEGORY) {
45528
- var category = JSON.parse(pageSpecificDataStr);
45529
- var categoryPath = category.path.map(function (cat) { return cat.name; }).join(" > ");
45530
- if (category.path.length > 0) {
45531
- categoryPath = categoryPath + " > " + category.name;
45532
- }
45533
- else {
45534
- categoryPath = category.name;
45571
+ return __awaiter(this, void 0, void 0, function () {
45572
+ var productDetailParsed, productDetail, isBrowser, category, categoryPath, err_1;
45573
+ return __generator(this, function (_a) {
45574
+ switch (_a.label) {
45575
+ case 0:
45576
+ Analytics.pageView(pageType);
45577
+ _a.label = 1;
45578
+ case 1:
45579
+ _a.trys.push([1, 4, , 5]);
45580
+ if (pageType === IkasThemePageType.PRODUCT) {
45581
+ productDetailParsed = JSON.parse(pageSpecificDataStr);
45582
+ productDetail = new IkasProductDetail(productDetailParsed.product, productDetailParsed.selectedVariantValues);
45583
+ isBrowser = typeof window !== "undefined";
45584
+ if (isBrowser) {
45585
+ IkasPageDataInit._initProductDetailOnBrowser(productDetail);
45586
+ }
45587
+ Analytics.productView(productDetail);
45588
+ // @ts-ignore
45589
+ IkasStorefrontConfig.store.customerStore.onProductView(productDetail.product.id, productDetail.selectedVariant.id);
45590
+ }
45591
+ if (pageType === IkasThemePageType.CATEGORY) {
45592
+ category = JSON.parse(pageSpecificDataStr);
45593
+ categoryPath = category.path.map(function (cat) { return cat.name; }).join(" > ");
45594
+ if (category.path.length > 0) {
45595
+ categoryPath = categoryPath + " > " + category.name;
45596
+ }
45597
+ else {
45598
+ categoryPath = category.name;
45599
+ }
45600
+ Analytics.viewCategory(categoryPath, category);
45601
+ }
45602
+ if (!(pageType === IkasThemePageType.CART)) return [3 /*break*/, 3];
45603
+ return [4 /*yield*/, store.cartStore.waitUntilInitialized()];
45604
+ case 2:
45605
+ _a.sent();
45606
+ Analytics.viewCart(store.cartStore.cart);
45607
+ _a.label = 3;
45608
+ case 3: return [3 /*break*/, 5];
45609
+ case 4:
45610
+ err_1 = _a.sent();
45611
+ console.error(err_1);
45612
+ return [3 /*break*/, 5];
45613
+ case 5: return [2 /*return*/];
45535
45614
  }
45536
- Analytics.viewCategory(categoryPath, category);
45537
- }
45538
- if (pageType === IkasThemePageType.CART) {
45539
- Analytics.viewCart(store.cartStore.cart);
45540
- }
45541
- }
45542
- catch (err) {
45543
- console.error(err);
45544
- }
45615
+ });
45616
+ });
45545
45617
  }
45546
45618
 
45547
45619
  function ErrorComponent(_a) {
@@ -69490,6 +69562,30 @@ var Installments = observer(function (_a) {
69490
69562
 
69491
69563
  var styles$b = {"PaymentLogoContainer":"style-module_PaymentLogoContainer__224HZ","AdditionalPrice":"style-module_AdditionalPrice__gW28c"};
69492
69564
 
69565
+ var SVGExternal = function (_a) {
69566
+ var className = _a.className;
69567
+ return (createElement("svg", { width: "82", height: "52", viewBox: "0 0 82 52", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className },
69568
+ createElement("mask", { id: "path-1-inside-1_1206:13861", fill: "white" },
69569
+ createElement("rect", { y: "7", width: "46", height: "36.8", rx: "0.925786" })),
69570
+ createElement("rect", { y: "7", width: "46", height: "36.8", rx: "0.925786", fill: "#F7F7F9" }),
69571
+ createElement("rect", { y: "7", width: "46", height: "6.9697", fill: "#F7F7F9" }),
69572
+ createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M3.65531 11.3106C4.01723 11.3106 4.31062 11.0172 4.31062 10.6553C4.31062 10.2934 4.01723 10 3.65531 10C3.29339 10 3 10.2934 3 10.6553C3 11.0172 3.29339 11.3106 3.65531 11.3106Z", fill: "#272727" }),
69573
+ createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M6.27543 11.3106C6.63735 11.3106 6.93074 11.0172 6.93074 10.6553C6.93074 10.2934 6.63735 10 6.27543 10C5.91351 10 5.62012 10.2934 5.62012 10.6553C5.62012 11.0172 5.91351 11.3106 6.27543 11.3106Z", fill: "#272727" }),
69574
+ createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M8.89554 11.3106C9.25746 11.3106 9.55085 11.0172 9.55085 10.6553C9.55085 10.2934 9.25746 10 8.89554 10C8.53363 10 8.24023 10.2934 8.24023 10.6553C8.24023 11.0172 8.53363 11.3106 8.89554 11.3106Z", fill: "#272727" }),
69575
+ createElement("rect", { x: "0.697266", y: "13.2727", width: "44.6061", height: "1", fill: "#272727" }),
69576
+ createElement("rect", { y: "7", width: "46", height: "36.8", rx: "0.925786", stroke: "#272727", "stroke-width": "2", mask: "url(#path-1-inside-1_1206:13861)" }),
69577
+ createElement("rect", { x: "16.5", y: "0.5", width: "65", height: "51", rx: "0.828302", fill: "#F7F7F9" }),
69578
+ createElement("rect", { x: "16", width: "66", height: "9.84848", fill: "#F7F7F9" }),
69579
+ createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M20.9402 5.88045C21.4595 5.88045 21.8805 5.4595 21.8805 4.94023C21.8805 4.42095 21.4595 4 20.9402 4C20.421 4 20 4.42095 20 4.94023C20 5.4595 20.421 5.88045 20.9402 5.88045Z", fill: "#272727" }),
69580
+ createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M24.7 5.88045C25.2193 5.88045 25.6402 5.4595 25.6402 4.94023C25.6402 4.42095 25.2193 4 24.7 4C24.1807 4 23.7598 4.42095 23.7598 4.94023C23.7598 5.4595 24.1807 5.88045 24.7 5.88045Z", fill: "#272727" }),
69581
+ createElement("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M28.4588 5.88045C28.9781 5.88045 29.399 5.4595 29.399 4.94023C29.399 4.42095 28.9781 4 28.4588 4C27.9395 4 27.5186 4.42095 27.5186 4.94023C27.5186 5.4595 27.9395 5.88045 28.4588 5.88045Z", fill: "#272727" }),
69582
+ createElement("rect", { x: "17", y: "9", width: "64", height: "1", fill: "#272727" }),
69583
+ createElement("rect", { x: "16.5", y: "0.5", width: "65", height: "51", rx: "0.828302", stroke: "#272727" }),
69584
+ createElement("rect", { width: "16", height: "16", transform: "translate(9 21)", fill: "#F7F7F9" }),
69585
+ createElement("path", { d: "M19.333 28L22.6663 31.3333L19.333 34.6667", stroke: "#272727", "stroke-linecap": "round", "stroke-linejoin": "round" }),
69586
+ createElement("path", { d: "M12 23.5V28.6667C12 29.3739 12.281 30.0522 12.781 30.5523C13.2811 31.0524 13.9594 31.3333 14.6667 31.3333H22.6667", stroke: "#272727", "stroke-linecap": "round", "stroke-linejoin": "round" })));
69587
+ };
69588
+
69493
69589
  var PaymentGateways = observer(function (_a) {
69494
69590
  var vm = _a.vm;
69495
69591
  var t = useTranslation().t;
@@ -69511,14 +69607,22 @@ var PaymentGateways = observer(function (_a) {
69511
69607
  };
69512
69608
  return (createElement(Fragment$1, null, vm.paymentGateways.map(function (pg, index) {
69513
69609
  var _a;
69514
- return (createElement(SelectBox$1, { key: pg.id, label: pg.paymentMethodType === IkasPaymentMethodType.CREDIT_CARD
69610
+ return (createElement(SelectBox$1, { key: pg.id, label: pg.paymentMethodType === IkasPaymentMethodType.CREDIT_CARD &&
69611
+ pg.type === IkasPaymentGatewayType.INTERNAL
69515
69612
  ? t("checkout-page:creditCard")
69516
- : pg.name, isSelected: vm.selectedPaymentGatewayIndex === index, rightContent: ((_a = pg.additionalPrices) === null || _a === void 0 ? void 0 : _a.length) ? (createElement(PaymentMethodAdjustment, null, getAdditionalPriceText(pg.additionalPrices[0]))) : (createElement(PaymentMethodLogos, null, pg.paymentMethods.map(function (pm, index) {
69517
- return pm.logoUrl ? (createElement("div", { className: styles$b.PaymentLogoContainer, key: index },
69518
- createElement("img", { src: pm.logoUrl }))) : (createElement("div", { className: styles$b.PaymentLogoContainer, key: index }));
69519
- }))), bottomContent: pg.paymentMethodType === IkasPaymentMethodType.CREDIT_CARD ? (createElement("div", null,
69613
+ : pg.name, isSelected: vm.selectedPaymentGatewayIndex === index, rightContent: ((_a = pg.additionalPrices) === null || _a === void 0 ? void 0 : _a.length) ? (createElement(PaymentMethodAdjustment, null, getAdditionalPriceText(pg.additionalPrices[0]))) : (createElement(PaymentMethodLogos, null, !!pg.logoUrl && (createElement("div", { className: styles$b.PaymentLogoContainer },
69614
+ createElement("img", { src: pg.logoUrl }))))), bottomContent: pg.paymentMethodType === IkasPaymentMethodType.CREDIT_CARD &&
69615
+ pg.type === IkasPaymentGatewayType.INTERNAL ? (createElement("div", null,
69520
69616
  createElement(CreditCardForm, { vm: vm }),
69521
- vm.installmentInfo && createElement(Installments, { vm: vm }))) : pg.description ? (createElement("div", { dangerouslySetInnerHTML: { __html: pg.description } })) : undefined, onClick: function () {
69617
+ vm.installmentInfo && createElement(Installments, { vm: vm }))) : pg.description ? (createElement(Fragment$1, null,
69618
+ pg.type === IkasPaymentGatewayType.EXTERNAL && (createElement("div", { style: {
69619
+ height: "52px",
69620
+ display: "flex",
69621
+ justifyContent: "center",
69622
+ margin: "24px 0",
69623
+ } },
69624
+ createElement(SVGExternal, null))),
69625
+ createElement("div", { dangerouslySetInnerHTML: { __html: pg.description } }))) : undefined, onClick: function () {
69522
69626
  return vm.selectedPaymentGatewayIndex !== index &&
69523
69627
  vm.setPaymentGateway(index);
69524
69628
  } }));
@@ -69985,7 +70089,8 @@ var StepSuccess = observer(function (_a) {
69985
70089
  createElement("div", { className: styles$h.InfoTitle }, t("checkout-page:paymentMethod")),
69986
70090
  paymentGateway && (createElement(Fragment$1, null,
69987
70091
  createElement("div", { className: styles$h.InfoText }, paymentGateway.name),
69988
- !!paymentGateway.description && (createElement("div", { className: styles$h.InfoText },
70092
+ !!paymentGateway.description &&
70093
+ paymentGateway.type !== IkasPaymentGatewayType.EXTERNAL && (createElement("div", { className: styles$h.InfoText },
69989
70094
  createElement("div", { dangerouslySetInnerHTML: {
69990
70095
  __html: paymentGateway.description,
69991
70096
  } }))))),
@@ -70189,7 +70294,7 @@ var IMAGE_SIZES = [
70189
70294
  3840,
70190
70295
  ];
70191
70296
  var Image = function (_a) {
70192
- var image = _a.image, others = __rest(_a, ["image"]);
70297
+ var image = _a.image, useBlur = _a.useBlur, others = __rest(_a, ["image", "useBlur"]);
70193
70298
  var loader = function (_a) {
70194
70299
  var width = _a.width;
70195
70300
  var closest = IMAGE_SIZES.reduce(function (prev, curr) {
@@ -70197,7 +70302,7 @@ var Image = function (_a) {
70197
70302
  });
70198
70303
  return image.getSrc(closest);
70199
70304
  };
70200
- return (createElement(NextImage, __assign({}, others, { loader: loader, quality: 100, src: image.src, alt: others.alt || "Image" })));
70305
+ return (createElement(NextImage, __assign({}, others, { loader: loader, quality: 100, src: image.src, alt: others.alt || "Image", placeholder: useBlur ? "blur" : "empty", blurDataURL: useBlur ? image.getSrc(180) : undefined })));
70201
70306
  };
70202
70307
 
70203
70308
  var styles$k = {"StepContainer":"style-module_StepContainer__1O2dD","Step":"style-module_Step__1iOYA","StepTitleContainer":"style-module_StepTitleContainer__2GUg2","First":"style-module_First__cAzdJ","StepTitleTop":"style-module_StepTitleTop__3zfsj","WithRightContent":"style-module_WithRightContent__2fqb1","StepCircle":"style-module_StepCircle__36A5q","Selected":"style-module_Selected__3j91L","StepTitle":"style-module_StepTitle__10YDP","Light":"style-module_Light__15wSX","StepTitleRightContent":"style-module_StepTitleRightContent__2Q43m","StepContent":"style-module_StepContent__20QIi"};
@@ -70312,7 +70417,7 @@ var IkasCheckoutPage = function (_a) {
70312
70417
  router.push("/account/login?redirect=" + encodeURIComponent(vm.checkoutUrl));
70313
70418
  }
70314
70419
  Analytics.beginCheckout(vm.checkout);
70315
- Analytics.checkoutStep(vm.checkout, vm.step);
70420
+ Analytics.pageView(IkasThemePageType.CHECKOUT);
70316
70421
  }, []);
70317
70422
  useEffect(function () {
70318
70423
  document.documentElement.style.setProperty("--checkout-button-bg-color", (customizationProps === null || customizationProps === void 0 ? void 0 : customizationProps.buttonBgColor) || "#272727");
@@ -71798,4 +71903,4 @@ var en$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.assign(/*#__PURE__*/Ob
71798
71903
  'default': en
71799
71904
  }));
71800
71905
 
71801
- export { AccountInfoForm, index$4 as AccountPage, AddressForm, addresses$1 as AddressesPage, Analytics, AnalyticsBody, AnalyticsHead, index$8 as BlogPage, _slug_$3 as BlogSlugPage, cart$1 as CartPage, checkout$1 as CheckoutPage, ContactForm, _slug_$1 as CustomPage, editor$1 as EditorPage, EmailRule, EqualsRule, favoriteProducts$1 as FavoriteProductsPage, ForgotPasswordForm, forgotPassword$1 as ForgotPasswordPage, IkasAmountTypeEnum$1 as IkasAmountTypeEnum, IkasApplicableProductFilterValue, IkasAttributeDetail, IkasBaseStore, IkasBlog, IkasBlogAPI, IkasBlogCategory, IkasBlogCategoryList, IkasBlogCategoryListPropValue, IkasBlogCategoryListType, IkasBlogCategoryPropValue, IkasBlogContent, IkasBlogList, IkasBlogListPropValue, IkasBlogListType, IkasBlogMetaData, IkasBlogMetadataTargetType, IkasBlogPropValue, IkasBlogTag, IkasBlogWriter, IkasBrand, IkasBrandAPI, IkasBrandList, IkasBrandListPropValue, IkasBrandListSortType, IkasBrandListType, IkasBrandPropValue, IkasCardAssociation, IkasCardType, IkasCartAPI, IkasCategory, IkasCategoryAPI, IkasCategoryList, IkasCategoryListPropValue, IkasCategoryListSortType, IkasCategoryListType, IkasCategoryPropValue, IkasCheckout, IkasCheckoutAPI, IkasCheckoutRecoveryEmailStatus, IkasCheckoutRecoveryStatus, IkasCheckoutStatus, IkasCityAPI, IkasComponentRenderer, IkasContactForm, IkasContactFormAPI, IkasCountryAPI, IkasCustomer, IkasCustomerAPI, IkasCustomerAddress, IkasDistrictAPI, IkasFavoriteProduct, IkasFavoriteProductAPI, IkasHTMLMetaData, IkasHTMLMetaDataAPI, IkasHTMLMetaDataTargetType, IkasImage, IkasLinkPropValue, IkasLinkType, IkasMerchantAPI, IkasMerchantSettings, IkasNavigationLink, IkasOrder, IkasOrderCancelledReason, IkasOrderLineItem, IkasOrderPackageFulfillStatus, IkasOrderPackageStatus, IkasOrderPaymentStatus, IkasOrderRefundSettings, IkasOrderShippingMethod, IkasOrderStatus, IkasOrderTransaction, IkasPage, IkasPageEditor, IkasPageHead, IkasPaymentMethod, IkasProduct, IkasProductAttribute, IkasProductAttributeAPI, IkasProductAttributeType, IkasProductAttributeValue, IkasProductDetail, IkasProductDetailPropValue, IkasProductFilter, IkasProductFilterDisplayType, IkasProductFilterSettings, IkasProductFilterSortType, IkasProductFilterType, IkasProductFilterValue, IkasProductList, IkasProductListPropValue, IkasProductListSortType, IkasProductListType, IkasProductPrice, IkasProductSearchAPI, IkasProductType, IkasProductVariant, IkasProductVariantType, IkasShippingMethod, IkasShippingMethodEnum, IkasStateAPI, IkasStorefrontConfig, IkasTheme, IkasThemeComponent, IkasThemeComponentProp, IkasThemeComponentPropType, IkasThemeCustomData, IkasThemePage, IkasThemePageComponent, IkasThemePageType, IkasThemeSettings, IkasTransactionStatusEnum, IkasTransactionTypeEnum, IkasVariantSelectionType, IkasVariantType, IkasVariantTypeAPI, IkasVariantValue, Image, home$1 as IndexPage, LessThanRule, LoginForm, login$1 as LoginPage, MaxRule, MinRule, _404 as NotFoundPage, _id_$1 as OrderDetailPage, OrderLineItemStatusEnum$1 as OrderLineItemStatusEnum, index$6 as OrdersPage, PhoneRule, RangeValue, RecoverPasswordForm, recoverPassword$1 as RecoverPasswordPage, RegisterForm, register$1 as RegisterPage, RequiredRule, search$1 as SearchPage, index$2 as SlugPage, ValidationRule, Validator, ValidatorErrorType, apollo, createTranslationInputData, decodeBase64, findAllIndexes, formatDate, formatMoney, parseRangeStr, pascalCase, stringSorter, stringToSlug, tryForEach, useTranslation, validatePhoneNumber };
71906
+ export { AccountInfoForm, index$4 as AccountPage, AddressForm, addresses$1 as AddressesPage, Analytics, AnalyticsBody, AnalyticsHead, index$8 as BlogPage, _slug_$3 as BlogSlugPage, cart$1 as CartPage, checkout$1 as CheckoutPage, ContactForm, _slug_$1 as CustomPage, editor$1 as EditorPage, EmailRule, EqualsRule, favoriteProducts$1 as FavoriteProductsPage, ForgotPasswordForm, forgotPassword$1 as ForgotPasswordPage, IkasAmountTypeEnum$1 as IkasAmountTypeEnum, IkasApplicableProductFilterValue, IkasAttributeDetail, IkasAttributeList, IkasBaseStore, IkasBlog, IkasBlogAPI, IkasBlogCategory, IkasBlogCategoryList, IkasBlogCategoryListPropValue, IkasBlogCategoryListType, IkasBlogCategoryPropValue, IkasBlogContent, IkasBlogList, IkasBlogListPropValue, IkasBlogListType, IkasBlogMetaData, IkasBlogMetadataTargetType, IkasBlogPropValue, IkasBlogTag, IkasBlogWriter, IkasBrand, IkasBrandAPI, IkasBrandList, IkasBrandListPropValue, IkasBrandListSortType, IkasBrandListType, IkasBrandPropValue, IkasCardAssociation, IkasCardType, IkasCartAPI, IkasCategory, IkasCategoryAPI, IkasCategoryList, IkasCategoryListPropValue, IkasCategoryListSortType, IkasCategoryListType, IkasCategoryPropValue, IkasCheckout, IkasCheckoutAPI, IkasCheckoutRecoveryEmailStatus, IkasCheckoutRecoveryStatus, IkasCheckoutStatus, IkasCityAPI, IkasComponentRenderer, IkasContactForm, IkasContactFormAPI, IkasCountryAPI, IkasCustomer, IkasCustomerAPI, IkasCustomerAddress, IkasDistrictAPI, IkasFavoriteProduct, IkasFavoriteProductAPI, IkasHTMLMetaData, IkasHTMLMetaDataAPI, IkasHTMLMetaDataTargetType, IkasImage, IkasLinkPropValue, IkasLinkType, IkasMerchantAPI, IkasMerchantSettings, IkasNavigationLink, IkasOrder, IkasOrderCancelledReason, IkasOrderLineItem, IkasOrderPackageFulfillStatus, IkasOrderPackageStatus, IkasOrderPaymentStatus, IkasOrderRefundSettings, IkasOrderShippingMethod, IkasOrderStatus, IkasOrderTransaction, IkasPage, IkasPageEditor, IkasPageHead, IkasPaymentMethod, IkasProduct, IkasProductAttribute, IkasProductAttributeAPI, IkasProductAttributeType, IkasProductAttributeValue, IkasProductDetail, IkasProductDetailPropValue, IkasProductFilter, IkasProductFilterDisplayType, IkasProductFilterSettings, IkasProductFilterSortType, IkasProductFilterType, IkasProductFilterValue, IkasProductList, IkasProductListPropValue, IkasProductListSortType, IkasProductListType, IkasProductPrice, IkasProductSearchAPI, IkasProductType, IkasProductVariant, IkasProductVariantType, IkasShippingMethod, IkasShippingMethodEnum, IkasStateAPI, IkasStorefrontConfig, IkasTheme, IkasThemeComponent, IkasThemeComponentProp, IkasThemeComponentPropType, IkasThemeCustomData, IkasThemePage, IkasThemePageComponent, IkasThemePageType, IkasThemeSettings, IkasTransactionStatusEnum, IkasTransactionTypeEnum, IkasVariantSelectionType, IkasVariantType, IkasVariantTypeAPI, IkasVariantValue, Image, home$1 as IndexPage, LessThanRule, LoginForm, login$1 as LoginPage, MaxRule, MinRule, _404 as NotFoundPage, _id_$1 as OrderDetailPage, OrderLineItemStatusEnum$1 as OrderLineItemStatusEnum, index$6 as OrdersPage, PhoneRule, RangeValue, RecoverPasswordForm, recoverPassword$1 as RecoverPasswordPage, RegisterForm, register$1 as RegisterPage, RequiredRule, search$1 as SearchPage, index$2 as SlugPage, ValidationRule, Validator, ValidatorErrorType, apollo, createTranslationInputData, decodeBase64, findAllIndexes, formatDate, formatMoney, parseRangeStr, pascalCase, stringSorter, stringToSlug, tryForEach, useTranslation, validatePhoneNumber };