@ikas/storefront 0.0.18 → 0.0.19

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
@@ -11903,7 +11903,7 @@ var IkasPageDataProvider = /** @class */ (function () {
11903
11903
  IkasThemePageType.FORGOT_PASSWORD,
11904
11904
  IkasThemePageType.RECOVER_PASSWORD,
11905
11905
  IkasThemePageType.CUSTOM,
11906
- IkasThemePageType.BASKET,
11906
+ IkasThemePageType.CART,
11907
11907
  ].includes(this.pageType))
11908
11908
  return [2 /*return*/];
11909
11909
  slug = this.pageParams.slug;
@@ -13429,7 +13429,7 @@ var IkasThemePageType;
13429
13429
  IkasThemePageType["REGISTER"] = "REGISTER";
13430
13430
  IkasThemePageType["FORGOT_PASSWORD"] = "FORGOT_PASSWORD";
13431
13431
  IkasThemePageType["RECOVER_PASSWORD"] = "RECOVER_PASSWORD";
13432
- IkasThemePageType["BASKET"] = "BASKET";
13432
+ IkasThemePageType["CART"] = "CART";
13433
13433
  })(IkasThemePageType || (IkasThemePageType = {}));
13434
13434
 
13435
13435
  var IkasTheme = /** @class */ (function () {
@@ -24180,7 +24180,7 @@ var getStaticProps$9 = function (context) { return __awaiter(void 0, void 0, voi
24180
24180
  case 0: return [4 /*yield*/, IkasThemeAPI.fetchTheme()];
24181
24181
  case 1:
24182
24182
  theme = _a.sent();
24183
- provider = new IkasPageDataProvider(theme, context.params, IkasThemePageType.BASKET);
24183
+ provider = new IkasPageDataProvider(theme, context.params, IkasThemePageType.CART);
24184
24184
  return [4 /*yield*/, provider.getPageData()];
24185
24185
  case 2:
24186
24186
  _a.sent();
@@ -24189,7 +24189,7 @@ var getStaticProps$9 = function (context) { return __awaiter(void 0, void 0, voi
24189
24189
  });
24190
24190
  }); };
24191
24191
 
24192
- var basket = /*#__PURE__*/Object.freeze({
24192
+ var cart = /*#__PURE__*/Object.freeze({
24193
24193
  __proto__: null,
24194
24194
  'default': Page$b,
24195
24195
  getStaticProps: getStaticProps$9
@@ -24217,4 +24217,4 @@ var IkasBaseStore = /** @class */ (function () {
24217
24217
  return IkasBaseStore;
24218
24218
  }());
24219
24219
 
24220
- export { index$3 as AccountPage, addresses as AddressesPage, basket as BasketPage, _id_$1 as CheckoutPage, _slug_ as CustomPage, editor$1 as EditorPage, forgotPassword as ForgotPasswordPage, GTMAddToCart, GTMBeginCheckout, GTMBody, GTMCheckoutStep, GTMDisableHTML, GTMHead, GTMPageView, GTMProductView, GTMPurchase, GTMRemoveFromCart, IkasAmountTypeEnum$1 as IkasAmountTypeEnum, IkasBaseStore, IkasBrand, IkasBrandAPI, IkasBrandList, IkasBrandListPropValue, IkasBrandListSortType, IkasBrandListType, IkasBrandPropValue, IkasCardAssociation, IkasCardType, IkasCartAPI, IkasCategory, IkasCategoryAPI, IkasCategoryList, IkasCategoryListPropValue, IkasCategoryListSortType, IkasCategoryListType, IkasCategoryPropValue, IkasCheckout, IkasCheckoutAPI, IkasCheckoutPage, IkasCheckoutRecoveryEmailStatus, IkasCheckoutRecoveryStatus, IkasCheckoutStatus, IkasCityAPI, IkasCountryAPI, IkasCustomer, IkasCustomerAPI, IkasCustomerAddress, IkasDistrictAPI, IkasHTMLMetaData, IkasHTMLMetaDataAPI, IkasHTMLMetaDataTargetType, IkasImage, IkasLinkPropValue, IkasLinkType, IkasMerchantAPI, IkasMerchantSettings, IkasNavigationLink, IkasOrder, IkasOrderCancelledReason, IkasOrderLineItem, IkasOrderPackageFulfillStatus, IkasOrderPackageStatus, IkasOrderPaymentStatus, IkasOrderShippingMethod, IkasOrderStatus, IkasOrderTransaction, IkasPage, IkasPageComponentPropValue, IkasPageDataProvider, IkasPageEditor, IkasPageHead, IkasPaymentMethod, IkasProduct, IkasProductAPI, IkasProductAttribute, IkasProductAttributeAPI, IkasProductAttributeValue, IkasProductDetail, IkasProductDetailPropValue, IkasProductList, IkasProductListFilter, IkasProductListPropValue, IkasProductListSortType, IkasProductListType, IkasProductPrice, IkasProductType, IkasProductVariant, IkasProductVariantType, IkasShippingMethod, IkasShippingMethodEnum, IkasStateAPI, IkasStorefrontAPI, IkasStorefrontConfig, IkasTheme, IkasThemeAPI, IkasThemeComponent, IkasThemeComponentProp, IkasThemeComponentPropType, IkasThemePage, IkasThemePageComponent, IkasThemePageType, IkasTransactionStatusEnum, IkasTransactionTypeEnum, IkasVariantSelectionType, IkasVariantType, IkasVariantTypeAPI, IkasVariantValue, home as IndexPage, login as LoginPage, _id_$2 as OrderDetailPage, index$4 as OrdersPage, recoverPassword as RecoverPasswordPage, register as RegisterPage, index$2 as SlugPage, apollo, decodeBase64, formatMoney, pascalCase, stringToSlug, validatePhoneNumber };
24220
+ export { index$3 as AccountPage, addresses as AddressesPage, cart as CartPage, _id_$1 as CheckoutPage, _slug_ as CustomPage, editor$1 as EditorPage, forgotPassword as ForgotPasswordPage, GTMAddToCart, GTMBeginCheckout, GTMBody, GTMCheckoutStep, GTMDisableHTML, GTMHead, GTMPageView, GTMProductView, GTMPurchase, GTMRemoveFromCart, IkasAmountTypeEnum$1 as IkasAmountTypeEnum, IkasBaseStore, IkasBrand, IkasBrandAPI, IkasBrandList, IkasBrandListPropValue, IkasBrandListSortType, IkasBrandListType, IkasBrandPropValue, IkasCardAssociation, IkasCardType, IkasCartAPI, IkasCategory, IkasCategoryAPI, IkasCategoryList, IkasCategoryListPropValue, IkasCategoryListSortType, IkasCategoryListType, IkasCategoryPropValue, IkasCheckout, IkasCheckoutAPI, IkasCheckoutPage, IkasCheckoutRecoveryEmailStatus, IkasCheckoutRecoveryStatus, IkasCheckoutStatus, IkasCityAPI, IkasCountryAPI, IkasCustomer, IkasCustomerAPI, IkasCustomerAddress, IkasDistrictAPI, IkasHTMLMetaData, IkasHTMLMetaDataAPI, IkasHTMLMetaDataTargetType, IkasImage, IkasLinkPropValue, IkasLinkType, IkasMerchantAPI, IkasMerchantSettings, IkasNavigationLink, IkasOrder, IkasOrderCancelledReason, IkasOrderLineItem, IkasOrderPackageFulfillStatus, IkasOrderPackageStatus, IkasOrderPaymentStatus, IkasOrderShippingMethod, IkasOrderStatus, IkasOrderTransaction, IkasPage, IkasPageComponentPropValue, IkasPageDataProvider, IkasPageEditor, IkasPageHead, IkasPaymentMethod, IkasProduct, IkasProductAPI, IkasProductAttribute, IkasProductAttributeAPI, IkasProductAttributeValue, IkasProductDetail, IkasProductDetailPropValue, IkasProductList, IkasProductListFilter, IkasProductListPropValue, IkasProductListSortType, IkasProductListType, IkasProductPrice, IkasProductType, IkasProductVariant, IkasProductVariantType, IkasShippingMethod, IkasShippingMethodEnum, IkasStateAPI, IkasStorefrontAPI, IkasStorefrontConfig, IkasTheme, IkasThemeAPI, IkasThemeComponent, IkasThemeComponentProp, IkasThemeComponentPropType, IkasThemePage, IkasThemePageComponent, IkasThemePageType, IkasTransactionStatusEnum, IkasTransactionTypeEnum, IkasVariantSelectionType, IkasVariantType, IkasVariantTypeAPI, IkasVariantValue, home as IndexPage, login as LoginPage, _id_$2 as OrderDetailPage, index$4 as OrdersPage, recoverPassword as RecoverPasswordPage, register as RegisterPage, index$2 as SlugPage, apollo, decodeBase64, formatMoney, pascalCase, stringToSlug, validatePhoneNumber };
package/build/index.js CHANGED
@@ -11916,7 +11916,7 @@ var IkasPageDataProvider = /** @class */ (function () {
11916
11916
  exports.IkasThemePageType.FORGOT_PASSWORD,
11917
11917
  exports.IkasThemePageType.RECOVER_PASSWORD,
11918
11918
  exports.IkasThemePageType.CUSTOM,
11919
- exports.IkasThemePageType.BASKET,
11919
+ exports.IkasThemePageType.CART,
11920
11920
  ].includes(this.pageType))
11921
11921
  return [2 /*return*/];
11922
11922
  slug = this.pageParams.slug;
@@ -13420,7 +13420,7 @@ var IkasThemePage = /** @class */ (function () {
13420
13420
  IkasThemePageType["REGISTER"] = "REGISTER";
13421
13421
  IkasThemePageType["FORGOT_PASSWORD"] = "FORGOT_PASSWORD";
13422
13422
  IkasThemePageType["RECOVER_PASSWORD"] = "RECOVER_PASSWORD";
13423
- IkasThemePageType["BASKET"] = "BASKET";
13423
+ IkasThemePageType["CART"] = "CART";
13424
13424
  })(exports.IkasThemePageType || (exports.IkasThemePageType = {}));
13425
13425
 
13426
13426
  var IkasTheme = /** @class */ (function () {
@@ -24164,7 +24164,7 @@ var getStaticProps$9 = function (context) { return __awaiter(void 0, void 0, voi
24164
24164
  case 0: return [4 /*yield*/, IkasThemeAPI.fetchTheme()];
24165
24165
  case 1:
24166
24166
  theme = _a.sent();
24167
- provider = new IkasPageDataProvider(theme, context.params, exports.IkasThemePageType.BASKET);
24167
+ provider = new IkasPageDataProvider(theme, context.params, exports.IkasThemePageType.CART);
24168
24168
  return [4 /*yield*/, provider.getPageData()];
24169
24169
  case 2:
24170
24170
  _a.sent();
@@ -24173,7 +24173,7 @@ var getStaticProps$9 = function (context) { return __awaiter(void 0, void 0, voi
24173
24173
  });
24174
24174
  }); };
24175
24175
 
24176
- var basket = /*#__PURE__*/Object.freeze({
24176
+ var cart = /*#__PURE__*/Object.freeze({
24177
24177
  __proto__: null,
24178
24178
  'default': Page$b,
24179
24179
  getStaticProps: getStaticProps$9
@@ -24203,7 +24203,7 @@ var IkasBaseStore = /** @class */ (function () {
24203
24203
 
24204
24204
  exports.AccountPage = index$3;
24205
24205
  exports.AddressesPage = addresses;
24206
- exports.BasketPage = basket;
24206
+ exports.CartPage = cart;
24207
24207
  exports.CheckoutPage = _id_$1;
24208
24208
  exports.CustomPage = _slug_;
24209
24209
  exports.EditorPage = editor$1;
@@ -23,5 +23,5 @@ export declare enum IkasThemePageType {
23
23
  REGISTER = "REGISTER",
24
24
  FORGOT_PASSWORD = "FORGOT_PASSWORD",
25
25
  RECOVER_PASSWORD = "RECOVER_PASSWORD",
26
- BASKET = "BASKET"
26
+ CART = "CART"
27
27
  }
File without changes
@@ -10,6 +10,6 @@ import * as LoginPage from "./account/login";
10
10
  import * as RegisterPage from "./account/register";
11
11
  import * as ForgotPasswordPage from "./account/forgot-password";
12
12
  import * as RecoverPasswordPage from "./account/recover-password";
13
- import * as BasketPage from "./basket";
13
+ import * as CartPage from "./cart";
14
14
  import * as EditorPage from "./editor";
15
- export { IndexPage, SlugPage, CustomPage, CheckoutPage, AccountPage, AddressesPage, OrdersPage, OrderDetailPage, LoginPage, RegisterPage, ForgotPasswordPage, RecoverPasswordPage, BasketPage, EditorPage, };
15
+ export { IndexPage, SlugPage, CustomPage, CheckoutPage, AccountPage, AddressesPage, OrdersPage, OrderDetailPage, LoginPage, RegisterPage, ForgotPasswordPage, RecoverPasswordPage, CartPage, EditorPage, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/storefront",
3
- "version": "0.0.18",
3
+ "version": "0.0.19",
4
4
  "main": "./build/index.js",
5
5
  "module": "./build/index.es.js",
6
6
  "author": "Umut Ozan Yıldırım",