@ikas/storefront 0.2.0-alpha.9 → 0.2.0

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 (688) hide show
  1. package/build/{cjs/__generated__ → __generated__}/global-types.d.ts +0 -0
  2. package/build/{cjs/analytics → analytics}/analytics.d.ts +0 -0
  3. package/build/{cjs/analytics → analytics}/events.d.ts +0 -0
  4. package/build/{cjs/analytics → analytics}/facebookPixel.d.ts +0 -0
  5. package/build/{cjs/analytics → analytics}/googleTagManager.d.ts +0 -0
  6. package/build/{cjs/analytics → analytics}/head/index.d.ts +0 -0
  7. package/build/{cjs/analytics → analytics}/ikas.d.ts +0 -0
  8. package/build/{cjs/analytics → analytics}/index.d.ts +0 -0
  9. package/build/{cjs/api → api}/apollo.d.ts +0 -0
  10. package/build/{cjs/api → api}/back-in-stock-reminder/__generated__/listProductBackInStockRemind.d.ts +0 -0
  11. package/build/{cjs/api → api}/back-in-stock-reminder/__generated__/saveProductBackInStockRemind.d.ts +0 -0
  12. package/build/{cjs/api → api}/back-in-stock-reminder/index.d.ts +0 -0
  13. package/build/{cjs/api → api}/blog/__generated__/getBlog.d.ts +0 -0
  14. package/build/{cjs/api → api}/blog/__generated__/listBlog.d.ts +0 -0
  15. package/build/{cjs/api → api}/blog/__generated__/listBlogCategory.d.ts +0 -0
  16. package/build/{cjs/api → api}/blog/__generated__/listBlogMetaData.d.ts +0 -0
  17. package/build/{cjs/api → api}/blog/index.d.ts +0 -0
  18. package/build/{cjs/api → api}/brand/__generated__/listProductBrand.d.ts +0 -0
  19. package/build/{cjs/api → api}/brand/index.d.ts +0 -0
  20. package/build/{cjs/api → api}/cart/__generated__/getCart.d.ts +0 -0
  21. package/build/{cjs/api → api}/cart/__generated__/saveItemToCart.d.ts +0 -0
  22. package/build/{cjs/api → api}/cart/index.d.ts +0 -0
  23. package/build/{cjs/api → api}/category/__generated__/listCategory.d.ts +0 -0
  24. package/build/{cjs/api → api}/category/__generated__/listCategoryPaths.d.ts +0 -0
  25. package/build/{cjs/api → api}/category/index.d.ts +0 -0
  26. package/build/{cjs/api → api}/checkout/__generated__/addCouponCodeToCheckout.d.ts +0 -0
  27. package/build/{cjs/api → api}/checkout/__generated__/checkStocks.d.ts +0 -0
  28. package/build/{cjs/api → api}/checkout/__generated__/createSaleTransactionWithCheckout.d.ts +0 -0
  29. package/build/{cjs/api → api}/checkout/__generated__/getCheckoutByCartId.d.ts +0 -0
  30. package/build/{cjs/api → api}/checkout/__generated__/getCheckoutById.d.ts +4 -0
  31. package/build/{cjs/api → api}/checkout/__generated__/getOrder.d.ts +0 -0
  32. package/build/{cjs/api → api}/checkout/__generated__/listCheckoutSettings.d.ts +0 -0
  33. package/build/{esm/api → api}/checkout/__generated__/listPaymentGateway.d.ts +3 -1
  34. package/build/{cjs/api → api}/checkout/__generated__/retrieveInstallmentInfo.d.ts +0 -0
  35. package/build/{cjs/api → api}/checkout/__generated__/saveCheckout.d.ts +0 -0
  36. package/build/{cjs/api → api}/checkout/index.d.ts +0 -0
  37. package/build/{cjs/api → api}/city/__generated__/listCity.d.ts +0 -0
  38. package/build/{cjs/api → api}/city/index.d.ts +0 -0
  39. package/build/{cjs/api → api}/contact-form/__generated__/sendContactFormToMerchant.d.ts +0 -0
  40. package/build/{cjs/api → api}/contact-form/index.d.ts +0 -0
  41. package/build/{cjs/api → api}/country/__generated__/getAvailableShippingCountries.d.ts +0 -0
  42. package/build/{cjs/api → api}/country/__generated__/getMyCountry.d.ts +0 -0
  43. package/build/{cjs/api → api}/country/__generated__/listCountry.d.ts +0 -0
  44. package/build/{cjs/api → api}/country/index.d.ts +0 -0
  45. package/build/{cjs/api → api}/customer/__generated__/checkCustomerEmail.d.ts +0 -0
  46. package/build/{cjs/api → api}/customer/__generated__/createCustomerEmailSubscription.d.ts +0 -0
  47. package/build/{cjs/api → api}/customer/__generated__/createOrderRefundRequest.d.ts +0 -0
  48. package/build/{esm/api → api}/customer/__generated__/customerForgotPassword.d.ts +1 -0
  49. package/build/{cjs/api → api}/customer/__generated__/customerLogin.d.ts +0 -0
  50. package/build/{cjs/api → api}/customer/__generated__/customerRecoverPassword.d.ts +0 -0
  51. package/build/{cjs/api → api}/customer/__generated__/customerRefreshToken.d.ts +0 -0
  52. package/build/{cjs/api → api}/customer/__generated__/getCustomerOrders.d.ts +0 -0
  53. package/build/{cjs/api → api}/customer/__generated__/getLastViewedProducts.d.ts +0 -0
  54. package/build/{cjs/api → api}/customer/__generated__/getMyCustomer.d.ts +0 -0
  55. package/build/{cjs/api → api}/customer/__generated__/listOrderRefundSettings.d.ts +0 -0
  56. package/build/{cjs/api → api}/customer/__generated__/listOrderTransactions.d.ts +0 -0
  57. package/build/{esm/api → api}/customer/__generated__/registerCustomer.d.ts +1 -0
  58. package/build/{cjs/api → api}/customer/__generated__/saveLastViewedProducts.d.ts +0 -0
  59. package/build/{cjs/api → api}/customer/__generated__/saveMyCustomer.d.ts +0 -0
  60. package/build/{cjs/api → api}/customer/index.d.ts +0 -0
  61. package/build/{cjs/api → api}/customer-review/__generated__/createCustomerReview.d.ts +0 -0
  62. package/build/{cjs/api → api}/customer-review/__generated__/listCustomerReviews.d.ts +0 -0
  63. package/build/{cjs/api → api}/customer-review/index.d.ts +0 -0
  64. package/build/{cjs/api → api}/district/__generated__/listDistrict.d.ts +0 -0
  65. package/build/{cjs/api → api}/district/index.d.ts +0 -0
  66. package/build/{cjs/api → api}/favorite-product/__generated__/isFavoriteProduct.d.ts +0 -0
  67. package/build/{cjs/api → api}/favorite-product/__generated__/listFavoriteProducts.d.ts +0 -0
  68. package/build/{cjs/api → api}/favorite-product/__generated__/saveFavoriteProduct.d.ts +0 -0
  69. package/build/{cjs/api → api}/favorite-product/index.d.ts +0 -0
  70. package/build/{cjs/api → api}/html-meta-data/__generated__/listHTMLMetaData.d.ts +0 -0
  71. package/build/{cjs/api → api}/html-meta-data/index.d.ts +0 -0
  72. package/build/{cjs/api → api}/index.d.ts +0 -0
  73. package/build/{cjs/api → api}/merchant/__generated__/listMerchantSettings.d.ts +0 -0
  74. package/build/{cjs/api → api}/merchant/index.d.ts +0 -0
  75. package/build/{cjs/api → api}/product-attribute/__generated__/listProductAttribute.d.ts +0 -0
  76. package/build/{cjs/api → api}/product-attribute/index.d.ts +0 -0
  77. package/build/{cjs/api → api}/product-option-set/__generated__/ListProductOptionSet.d.ts +0 -0
  78. package/build/{cjs/api → api}/product-option-set/index.d.ts +0 -0
  79. package/build/{cjs/api → api}/product-search/__generated__/getProductFilterData.d.ts +0 -0
  80. package/build/{cjs/api → api}/product-search/__generated__/searchProducts.d.ts +0 -0
  81. package/build/{cjs/api → api}/product-search/index.d.ts +0 -0
  82. package/build/{cjs/api → api}/state/__generated__/listState.d.ts +0 -0
  83. package/build/{cjs/api → api}/state/index.d.ts +0 -0
  84. package/build/{cjs/api → api}/stock-location/__generated__/listStockLocation.d.ts +0 -0
  85. package/build/{cjs/api → api}/stock-location/index.d.ts +0 -0
  86. package/build/{cjs/api → api}/storefront/__generated__/getStorefront.d.ts +0 -0
  87. package/build/{cjs/api → api}/storefront/index.d.ts +0 -0
  88. package/build/{cjs/api → api}/variant-type/__generated__/listVariantType.d.ts +0 -0
  89. package/build/{cjs/api → api}/variant-type/index.d.ts +0 -0
  90. package/build/{cjs/assets → assets}/translations/checkout/en.js +0 -0
  91. package/build/{cjs/assets → assets}/translations/checkout/tr.js +0 -0
  92. package/build/{cjs/components → components}/checkout/components/address-form/index.d.ts +0 -0
  93. package/build/{cjs/components → components}/checkout/components/address-form/model.d.ts +0 -0
  94. package/build/{cjs/components → components}/checkout/components/button/index.d.ts +0 -0
  95. package/build/{cjs/components → components}/checkout/components/cart-summary/cart-item/index.d.ts +0 -0
  96. package/build/{cjs/components → components}/checkout/components/cart-summary/index.d.ts +0 -0
  97. package/build/{cjs/components → components}/checkout/components/checkbox/check.d.ts +0 -0
  98. package/build/{cjs/components → components}/checkout/components/checkbox/index.d.ts +0 -0
  99. package/build/{cjs/components → components}/checkout/components/credit-card-form/index.d.ts +0 -0
  100. package/build/{cjs/components → components}/checkout/components/credit-card-form/model.d.ts +0 -0
  101. package/build/{cjs/components → components}/checkout/components/credit-card-form/svg/amex.d.ts +0 -0
  102. package/build/{cjs/components → components}/checkout/components/credit-card-form/svg/master-card.d.ts +0 -0
  103. package/build/{cjs/components → components}/checkout/components/credit-card-form/svg/troy.d.ts +0 -0
  104. package/build/{cjs/components → components}/checkout/components/credit-card-form/svg/visa.d.ts +0 -0
  105. package/build/{cjs/components → components}/checkout/components/customer-addresses/index.d.ts +0 -0
  106. package/build/{cjs/components → components}/checkout/components/customer-addresses/model.d.ts +0 -0
  107. package/build/{cjs/components → components}/checkout/components/error/customer-login-required-error/index.d.ts +0 -0
  108. package/build/{cjs/components → components}/checkout/components/error/index.d.ts +0 -0
  109. package/build/{cjs/components → components}/checkout/components/error/no-shipping-error/index.d.ts +0 -0
  110. package/build/{cjs/components → components}/checkout/components/error/payment-error/index.d.ts +0 -0
  111. package/build/{cjs/components → components}/checkout/components/error/stock-error/index.d.ts +0 -0
  112. package/build/{cjs/components → components}/checkout/components/error/unknown-error/index.d.ts +0 -0
  113. package/build/{cjs/components → components}/checkout/components/expandable-section/index.d.ts +0 -0
  114. package/build/{cjs/components → components}/checkout/components/form-item/caret-down.d.ts +0 -0
  115. package/build/{cjs/components → components}/checkout/components/form-item/index.d.ts +0 -0
  116. package/build/{cjs/components → components}/checkout/components/form-item/model.d.ts +0 -0
  117. package/build/{cjs/components → components}/checkout/components/fullscreen-loading/index.d.ts +0 -0
  118. package/build/{cjs/components → components}/checkout/components/input-with-button/index.d.ts +0 -0
  119. package/build/{cjs/components → components}/checkout/components/modal/index.d.ts +0 -0
  120. package/build/{cjs/components → components}/checkout/components/notification-box/index.d.ts +0 -0
  121. package/build/{cjs/components → components}/checkout/components/select-box/index.d.ts +0 -0
  122. package/build/{cjs/components → components}/checkout/components/step-container/index.d.ts +0 -0
  123. package/build/{cjs/components → components}/checkout/components/svg/arrow-down.d.ts +0 -0
  124. package/build/{cjs/components → components}/checkout/components/svg/arrow-left.d.ts +0 -0
  125. package/build/{cjs/components → components}/checkout/components/svg/arrow-right.d.ts +0 -0
  126. package/build/{cjs/components → components}/checkout/components/svg/cross.d.ts +0 -0
  127. package/build/{cjs/components → components}/checkout/components/svg/discount.d.ts +0 -0
  128. package/build/{cjs/components → components}/checkout/components/svg/external.d.ts +0 -0
  129. package/build/{cjs/components → components}/checkout/components/svg/gift.d.ts +0 -0
  130. package/build/{cjs/components → components}/checkout/components/svg/ikas.d.ts +0 -0
  131. package/build/{cjs/components → components}/checkout/components/svg/lock.d.ts +0 -0
  132. package/build/{cjs/components → components}/checkout/components/svg/shopping-cart.d.ts +0 -0
  133. package/build/{cjs/components → components}/checkout/components/svg/success-circle.d.ts +0 -0
  134. package/build/{cjs/components → components}/checkout/components/svg/tag.d.ts +0 -0
  135. package/build/{cjs/components → components}/checkout/components/svg/warning.d.ts +0 -0
  136. package/build/{cjs/components → components}/checkout/components/toggle/index.d.ts +0 -0
  137. package/build/{cjs/components → components}/checkout/components/tooltip/index.d.ts +0 -0
  138. package/build/{cjs/components → components}/checkout/index.d.ts +0 -0
  139. package/build/{cjs/components → components}/checkout/model.d.ts +0 -0
  140. package/build/{cjs/components → components}/checkout/steps/step-info/index.d.ts +0 -0
  141. package/build/{cjs/components → components}/checkout/steps/step-payment/billing-address/index.d.ts +0 -0
  142. package/build/{cjs/components → components}/checkout/steps/step-payment/index.d.ts +0 -0
  143. package/build/{cjs/components → components}/checkout/steps/step-payment/payment-gateways/index.d.ts +0 -0
  144. package/build/{cjs/components → components}/checkout/steps/step-payment/payment-gateways/installments/index.d.ts +0 -0
  145. package/build/{cjs/components → components}/checkout/steps/step-shipping/index.d.ts +0 -0
  146. package/build/{cjs/components → components}/checkout/steps/step-success/index.d.ts +0 -0
  147. package/build/{cjs/components → components}/error/index.d.ts +0 -0
  148. package/build/{cjs/components → components}/image/index.d.ts +0 -0
  149. package/build/{cjs/components → components}/index.d.ts +0 -0
  150. package/build/{cjs/components → components}/page/ThemeComponent.d.ts +0 -0
  151. package/build/{cjs/components → components}/page/head.d.ts +0 -0
  152. package/build/{cjs/components → components}/page/index.d.ts +0 -1
  153. package/build/{cjs/components → components}/page-editor/ThemeComponentEditor.d.ts +0 -0
  154. package/build/{cjs/components → components}/page-editor/index.d.ts +0 -0
  155. package/build/{cjs/components → components}/page-editor/model.d.ts +0 -0
  156. package/build/{cjs/index.css → index.css} +0 -0
  157. package/build/{cjs/index.d.ts → index.d.ts} +0 -0
  158. package/build/{esm/index.css → index.es.css} +0 -0
  159. package/build/index.es.js +73733 -0
  160. package/build/index.js +73862 -0
  161. package/build/{cjs/models → models}/data/blog/index.d.ts +0 -0
  162. package/build/{cjs/models → models}/data/brand/index.d.ts +0 -0
  163. package/build/{cjs/models → models}/data/cart/index.d.ts +1 -0
  164. package/build/{cjs/models → models}/data/category/index.d.ts +0 -0
  165. package/build/{cjs/models → models}/data/checkout/index.d.ts +0 -0
  166. package/build/{cjs/models → models}/data/checkout-settings/index.d.ts +0 -0
  167. package/build/{cjs/models → models}/data/city/index.d.ts +0 -0
  168. package/build/{cjs/models → models}/data/contact-form/index.d.ts +0 -0
  169. package/build/{cjs/models → models}/data/country/index.d.ts +0 -0
  170. package/build/{cjs/models → models}/data/customer/address/index.d.ts +0 -0
  171. package/build/{cjs/models → models}/data/customer/index.d.ts +0 -0
  172. package/build/{cjs/models → models}/data/customer-review/index.d.ts +0 -0
  173. package/build/{cjs/models → models}/data/customer-review-settings/index.d.ts +0 -0
  174. package/build/{cjs/models → models}/data/district/index.d.ts +0 -0
  175. package/build/{cjs/models → models}/data/favorite-product/index.d.ts +0 -0
  176. package/build/{cjs/models → models}/data/html-meta-data/index.d.ts +0 -0
  177. package/build/{cjs/models → models}/data/image/index.d.ts +0 -0
  178. package/build/{cjs/models → models}/data/index.d.ts +1 -1
  179. package/build/{cjs/models → models}/data/installment-info/index.d.ts +0 -0
  180. package/build/{cjs/models → models}/data/merchant-settings/index.d.ts +0 -0
  181. package/build/{cjs/models → models}/data/order/address/index.d.ts +0 -0
  182. package/build/{cjs/models → models}/data/order/adjustment/index.d.ts +0 -0
  183. package/build/{cjs/models → models}/data/order/gift-line/index.d.ts +0 -0
  184. package/build/{esm/models → models}/data/order/index.d.ts +1 -2
  185. package/build/{cjs/models → models}/data/order/line-item/discount/index.d.ts +0 -0
  186. package/build/{cjs/models → models}/data/order/line-item/index.d.ts +1 -0
  187. package/build/{cjs/models → models}/data/order/line-item/variant/index.d.ts +0 -0
  188. package/build/{cjs/models → models}/data/order/refund/index.d.ts +0 -0
  189. package/build/{cjs/models → models}/data/order/refund/refund-line-item/index.d.ts +0 -0
  190. package/build/{cjs/models → models}/data/order/refund/settings.d.ts +0 -0
  191. package/build/{cjs/models → models}/data/order/shipping-line/index.d.ts +0 -0
  192. package/build/{cjs/models → models}/data/order-transaction/index.d.ts +1 -0
  193. package/build/{cjs/models → models}/data/payment-gateway/index.d.ts +0 -0
  194. package/build/{cjs/models → models}/data/product/attribute-value/index.d.ts +0 -0
  195. package/build/{cjs/models → models}/data/product/index.d.ts +0 -0
  196. package/build/{cjs/models → models}/data/product/variant/index.d.ts +0 -0
  197. package/build/{cjs/models → models}/data/product/variant/price/index.d.ts +1 -0
  198. package/build/{cjs/models → models}/data/product/variant-type/index.d.ts +0 -0
  199. package/build/{cjs/models → models}/data/product-attribute/index.d.ts +0 -0
  200. package/build/{cjs/models → models}/data/product-attribute/product-attribute-option/index.d.ts +0 -0
  201. package/build/{cjs/models → models}/data/product-attribute/product-attribute-table-cell/index.d.ts +0 -0
  202. package/build/{cjs/models → models}/data/product-attribute/product-attribute-table-template/index.d.ts +0 -0
  203. package/build/{cjs/models → models}/data/product-back-in-stock-settings/index.d.ts +0 -0
  204. package/build/{cjs/models → models}/data/product-filter/index.d.ts +0 -0
  205. package/build/{cjs/models → models}/data/product-option-set/index.d.ts +0 -0
  206. package/build/{cjs/models → models}/data/product-tag/index.d.ts +0 -0
  207. package/build/{cjs/models → models}/data/sales-channel/index.d.ts +0 -0
  208. package/build/{cjs/models → models}/data/simple-product/index.d.ts +0 -0
  209. package/build/{cjs/models → models}/data/state/index.d.ts +0 -0
  210. package/build/{cjs/models → models}/data/storefront/domain/index.d.ts +0 -0
  211. package/build/{cjs/models → models}/data/storefront/index.d.ts +0 -0
  212. package/build/{cjs/models → models}/data/storefront/localization/index.d.ts +0 -0
  213. package/build/{cjs/models → models}/data/storefront/routing/index.d.ts +0 -0
  214. package/build/{cjs/models → models}/data/storefront/theme/index.d.ts +0 -0
  215. package/build/{cjs/models → models}/data/storefront/theme-localization/index.d.ts +0 -0
  216. package/build/{cjs/models → models}/data/variant-type/index.d.ts +0 -0
  217. package/build/{cjs/models → models}/data/variant-type/variant-value/index.d.ts +0 -0
  218. package/build/{cjs/models → models}/index.d.ts +0 -0
  219. package/build/{cjs/models → models}/theme/component/index.d.ts +0 -0
  220. package/build/{cjs/models → models}/theme/component/prop/index.d.ts +0 -0
  221. package/build/{cjs/models → models}/theme/custom-data/index.d.ts +0 -0
  222. package/build/{cjs/models → models}/theme/index.d.ts +0 -0
  223. package/build/{cjs/models → models}/theme/page/component/index.d.ts +0 -0
  224. package/build/{cjs/models → models}/theme/page/component/prop-value/attribute-list.d.ts +0 -0
  225. package/build/{cjs/models → models}/theme/page/component/prop-value/attribute.d.ts +0 -0
  226. package/build/{cjs/models → models}/theme/page/component/prop-value/blog-category-list.d.ts +0 -0
  227. package/build/{cjs/models → models}/theme/page/component/prop-value/blog-category.d.ts +0 -0
  228. package/build/{cjs/models → models}/theme/page/component/prop-value/blog-list.d.ts +0 -0
  229. package/build/{cjs/models → models}/theme/page/component/prop-value/blog.d.ts +0 -0
  230. package/build/{cjs/models → models}/theme/page/component/prop-value/brand-list.d.ts +0 -0
  231. package/build/{cjs/models → models}/theme/page/component/prop-value/brand.d.ts +0 -0
  232. package/build/{cjs/models → models}/theme/page/component/prop-value/category-list.d.ts +0 -0
  233. package/build/{cjs/models → models}/theme/page/component/prop-value/category.d.ts +0 -0
  234. package/build/{cjs/models → models}/theme/page/component/prop-value/link.d.ts +0 -0
  235. package/build/{cjs/models → models}/theme/page/component/prop-value/product-detail.d.ts +0 -0
  236. package/build/{cjs/models → models}/theme/page/component/prop-value/product-list.d.ts +0 -0
  237. package/build/{cjs/models → models}/theme/page/index.d.ts +0 -0
  238. package/build/{cjs/models → models}/theme/settings/index.d.ts +0 -0
  239. package/build/{cjs/models → models}/theme/settings/prop/color/index.d.ts +0 -0
  240. package/build/{cjs/models → models}/theme/settings/prop/favicon/index.d.ts +0 -0
  241. package/build/{cjs/models → models}/theme/theme.d.ts +0 -0
  242. package/build/{cjs/models → models}/ui/blog-category-list/index.d.ts +0 -0
  243. package/build/{cjs/models → models}/ui/blog-list/index.d.ts +0 -0
  244. package/build/{cjs/models → models}/ui/brand-list/index.d.ts +0 -0
  245. package/build/{cjs/models → models}/ui/category-list/index.d.ts +0 -0
  246. package/build/{cjs/models → models}/ui/component-renderer/index.d.ts +0 -0
  247. package/build/{cjs/models → models}/ui/customer-review-list/index.d.ts +0 -0
  248. package/build/{cjs/models → models}/ui/index.d.ts +0 -0
  249. package/build/{cjs/models → models}/ui/navigation-link/index.d.ts +0 -0
  250. package/build/{cjs/models → models}/ui/product-attribute-detail/index.d.ts +0 -0
  251. package/build/{cjs/models → models}/ui/product-attribute-list/index.d.ts +0 -0
  252. package/build/{cjs/models → models}/ui/product-detail/index.d.ts +0 -0
  253. package/build/{cjs/models → models}/ui/product-list/index.d.ts +0 -0
  254. package/build/{cjs/models → models}/ui/validator/form/account-info.d.ts +0 -0
  255. package/build/{cjs/models → models}/ui/validator/form/address.d.ts +0 -0
  256. package/build/{cjs/models → models}/ui/validator/form/contact-form.d.ts +0 -0
  257. package/build/{cjs/models → models}/ui/validator/form/customer-review.d.ts +0 -0
  258. package/build/{cjs/models → models}/ui/validator/form/forgot-password.d.ts +0 -0
  259. package/build/{cjs/models → models}/ui/validator/form/login.d.ts +0 -0
  260. package/build/{cjs/models → models}/ui/validator/form/recover-password.d.ts +0 -0
  261. package/build/{cjs/models → models}/ui/validator/form/register.d.ts +0 -0
  262. package/build/{cjs/models → models}/ui/validator/index.d.ts +0 -0
  263. package/build/{cjs/models → models}/ui/validator/rules/index.d.ts +0 -0
  264. package/build/{cjs/pages → pages}/404.d.ts +0 -0
  265. package/build/{cjs/pages/blog/[slug].d.ts → pages/[slug]/index.d.ts} +0 -0
  266. package/build/{cjs/pages → pages}/account/addresses.d.ts +0 -0
  267. package/build/{cjs/pages → pages}/account/favorite-products.d.ts +0 -0
  268. package/build/{cjs/pages → pages}/account/forgot-password.d.ts +0 -0
  269. package/build/{cjs/pages → pages}/account/index.d.ts +0 -0
  270. package/build/{cjs/pages → pages}/account/login.d.ts +0 -0
  271. package/build/{cjs/pages → pages}/account/orders/[id].d.ts +0 -0
  272. package/build/{cjs/pages → pages}/account/orders/index.d.ts +0 -0
  273. package/build/{cjs/pages → pages}/account/recover-password.d.ts +0 -0
  274. package/build/{cjs/pages → pages}/account/register.d.ts +0 -0
  275. package/build/{esm/pages → pages}/blog/[slug].d.ts +0 -0
  276. package/build/{cjs/pages → pages}/blog/index.d.ts +0 -0
  277. package/build/{cjs/pages → pages}/cart.d.ts +0 -0
  278. package/build/{cjs/pages → pages}/checkout.d.ts +0 -0
  279. package/build/{esm/pages → pages}/editor.d.ts +0 -1
  280. package/build/{cjs/pages → pages}/home.d.ts +0 -0
  281. package/build/pages/index.d.ts +20 -0
  282. package/build/{cjs/pages → pages}/pages/[slug].d.ts +0 -0
  283. package/build/{cjs/pages → pages}/search.d.ts +0 -0
  284. package/build/{cjs/providers → providers}/page-data-get.d.ts +0 -0
  285. package/build/{cjs/providers → providers}/page-data-init.d.ts +0 -0
  286. package/build/{cjs/providers → providers}/page-data-next.d.ts +0 -0
  287. package/build/{cjs/providers → providers}/placeholders.d.ts +0 -0
  288. package/build/{cjs/providers → providers}/prop-value/attribute-list.d.ts +0 -0
  289. package/build/{cjs/providers → providers}/prop-value/attribute.d.ts +0 -0
  290. package/build/{cjs/providers → providers}/prop-value/blog-category-list.d.ts +0 -0
  291. package/build/{cjs/providers → providers}/prop-value/blog-category.d.ts +0 -0
  292. package/build/{cjs/providers → providers}/prop-value/blog-list.d.ts +0 -0
  293. package/build/{cjs/providers → providers}/prop-value/blog.d.ts +0 -0
  294. package/build/{cjs/providers → providers}/prop-value/boolean.d.ts +0 -0
  295. package/build/{cjs/providers → providers}/prop-value/brand-list.d.ts +0 -0
  296. package/build/{cjs/providers → providers}/prop-value/brand.d.ts +0 -0
  297. package/build/{cjs/providers → providers}/prop-value/category-list.d.ts +0 -0
  298. package/build/{cjs/providers → providers}/prop-value/category.d.ts +0 -0
  299. package/build/providers/prop-value/checkout.d.ts +4 -0
  300. package/build/{cjs/providers → providers}/prop-value/color.d.ts +0 -0
  301. package/build/{cjs/providers → providers}/prop-value/custom.d.ts +0 -0
  302. package/build/{cjs/providers → providers}/prop-value/image-list.d.ts +0 -0
  303. package/build/{cjs/providers → providers}/prop-value/image.d.ts +0 -0
  304. package/build/{cjs/providers → providers}/prop-value/index.d.ts +0 -0
  305. package/build/{cjs/providers → providers}/prop-value/link.d.ts +0 -0
  306. package/build/{cjs/providers → providers}/prop-value/product-detail.d.ts +0 -0
  307. package/build/{cjs/providers → providers}/prop-value/product-list.d.ts +0 -0
  308. package/build/{cjs/providers → providers}/prop-value/rich-text.d.ts +0 -0
  309. package/build/{cjs/providers → providers}/prop-value/text.d.ts +0 -0
  310. package/build/{cjs/store → store}/base.d.ts +0 -0
  311. package/build/{cjs/store → store}/cart.d.ts +0 -0
  312. package/build/{cjs/store → store}/customer.d.ts +0 -0
  313. package/build/{cjs/store → store}/index.d.ts +0 -0
  314. package/build/{esm/storefront → storefront}/index.d.ts +2 -2
  315. package/build/utils/currency.d.ts +7 -0
  316. package/build/{cjs/utils → utils}/helper.d.ts +0 -0
  317. package/build/{cjs/utils → utils}/i18n.d.ts +0 -0
  318. package/build/{cjs/utils → utils}/index.d.ts +0 -0
  319. package/package.json +4 -6
  320. package/build/cjs/[slug]-e484ad76.js +0 -1
  321. package/build/cjs/analytics.js +0 -1
  322. package/build/cjs/api/checkout/__generated__/listPaymentGateway.d.ts +0 -40
  323. package/build/cjs/api/customer/__generated__/customerForgotPassword.d.ts +0 -6
  324. package/build/cjs/api/customer/__generated__/registerCustomer.d.ts +0 -71
  325. package/build/cjs/api.js +0 -1
  326. package/build/cjs/base-1fa38f9a.js +0 -1
  327. package/build/cjs/blog-category-list-2bc016a2.js +0 -1
  328. package/build/cjs/cart-90632b65.js +0 -1
  329. package/build/cjs/components.js +0 -1
  330. package/build/cjs/en-a1fa5309.js +0 -1
  331. package/build/cjs/get-e74270ba.js +0 -15
  332. package/build/cjs/i18n-23489f2d.js +0 -1
  333. package/build/cjs/index-4896761a.js +0 -1
  334. package/build/cjs/index-5114bb73.js +0 -1
  335. package/build/cjs/index-681c2517.js +0 -1
  336. package/build/cjs/index-9a0c47b1.js +0 -1
  337. package/build/cjs/index-a851ebb1.js +0 -1
  338. package/build/cjs/index-a8b07648.js +0 -1
  339. package/build/cjs/index-ad398c13.js +0 -1
  340. package/build/cjs/index-b8b2616a.js +0 -3
  341. package/build/cjs/index-eceaf256.js +0 -1
  342. package/build/cjs/index.js +0 -1
  343. package/build/cjs/models/data/order/index.d.ts +0 -147
  344. package/build/cjs/models.js +0 -1
  345. package/build/cjs/pages/[slug]/index.d.ts +0 -4
  346. package/build/cjs/pages/[slug]/providers.d.ts +0 -3
  347. package/build/cjs/pages/editor.d.ts +0 -9
  348. package/build/cjs/pages/index.d.ts +0 -20
  349. package/build/cjs/pages.js +0 -1
  350. package/build/cjs/store.js +0 -1
  351. package/build/cjs/storefront/index.d.ts +0 -53
  352. package/build/cjs/storefront.js +0 -1
  353. package/build/cjs/tr-5b03d013.js +0 -1
  354. package/build/cjs/utils/currency.d.ts +0 -1
  355. package/build/cjs/utils.js +0 -1
  356. package/build/esm/[slug]-a90edd15.js +0 -1
  357. package/build/esm/__generated__/global-types.d.ts +0 -624
  358. package/build/esm/analytics/analytics.d.ts +0 -37
  359. package/build/esm/analytics/events.d.ts +0 -36
  360. package/build/esm/analytics/facebookPixel.d.ts +0 -15
  361. package/build/esm/analytics/googleTagManager.d.ts +0 -201
  362. package/build/esm/analytics/head/index.d.ts +0 -7
  363. package/build/esm/analytics/ikas.d.ts +0 -133
  364. package/build/esm/analytics/index.d.ts +0 -2
  365. package/build/esm/analytics.js +0 -1
  366. package/build/esm/api/apollo.d.ts +0 -10
  367. package/build/esm/api/back-in-stock-reminder/__generated__/listProductBackInStockRemind.d.ts +0 -24
  368. package/build/esm/api/back-in-stock-reminder/__generated__/saveProductBackInStockRemind.d.ts +0 -19
  369. package/build/esm/api/back-in-stock-reminder/index.d.ts +0 -23
  370. package/build/esm/api/blog/__generated__/getBlog.d.ts +0 -83
  371. package/build/esm/api/blog/__generated__/listBlog.d.ts +0 -86
  372. package/build/esm/api/blog/__generated__/listBlogCategory.d.ts +0 -38
  373. package/build/esm/api/blog/__generated__/listBlogMetaData.d.ts +0 -29
  374. package/build/esm/api/blog/index.d.ts +0 -32
  375. package/build/esm/api/brand/__generated__/listProductBrand.d.ts +0 -47
  376. package/build/esm/api/brand/index.d.ts +0 -16
  377. package/build/esm/api/cart/__generated__/getCart.d.ts +0 -71
  378. package/build/esm/api/cart/__generated__/saveItemToCart.d.ts +0 -74
  379. package/build/esm/api/cart/index.d.ts +0 -5
  380. package/build/esm/api/category/__generated__/listCategory.d.ts +0 -52
  381. package/build/esm/api/category/__generated__/listCategoryPaths.d.ts +0 -23
  382. package/build/esm/api/category/index.d.ts +0 -18
  383. package/build/esm/api/checkout/__generated__/addCouponCodeToCheckout.d.ts +0 -11
  384. package/build/esm/api/checkout/__generated__/checkStocks.d.ts +0 -18
  385. package/build/esm/api/checkout/__generated__/createSaleTransactionWithCheckout.d.ts +0 -22
  386. package/build/esm/api/checkout/__generated__/getCheckoutByCartId.d.ts +0 -10
  387. package/build/esm/api/checkout/__generated__/getCheckoutById.d.ts +0 -232
  388. package/build/esm/api/checkout/__generated__/getOrder.d.ts +0 -215
  389. package/build/esm/api/checkout/__generated__/listCheckoutSettings.d.ts +0 -34
  390. package/build/esm/api/checkout/__generated__/retrieveInstallmentInfo.d.ts +0 -23
  391. package/build/esm/api/checkout/__generated__/saveCheckout.d.ts +0 -11
  392. package/build/esm/api/checkout/index.d.ts +0 -29
  393. package/build/esm/api/city/__generated__/listCity.d.ts +0 -14
  394. package/build/esm/api/city/index.d.ts +0 -4
  395. package/build/esm/api/contact-form/__generated__/sendContactFormToMerchant.d.ts +0 -9
  396. package/build/esm/api/contact-form/index.d.ts +0 -10
  397. package/build/esm/api/country/__generated__/getAvailableShippingCountries.d.ts +0 -6
  398. package/build/esm/api/country/__generated__/getMyCountry.d.ts +0 -3
  399. package/build/esm/api/country/__generated__/listCountry.d.ts +0 -23
  400. package/build/esm/api/country/index.d.ts +0 -6
  401. package/build/esm/api/customer/__generated__/checkCustomerEmail.d.ts +0 -10
  402. package/build/esm/api/customer/__generated__/createCustomerEmailSubscription.d.ts +0 -11
  403. package/build/esm/api/customer/__generated__/createOrderRefundRequest.d.ts +0 -215
  404. package/build/esm/api/customer/__generated__/customerLogin.d.ts +0 -70
  405. package/build/esm/api/customer/__generated__/customerRecoverPassword.d.ts +0 -8
  406. package/build/esm/api/customer/__generated__/customerRefreshToken.d.ts +0 -11
  407. package/build/esm/api/customer/__generated__/getCustomerOrders.d.ts +0 -215
  408. package/build/esm/api/customer/__generated__/getLastViewedProducts.d.ts +0 -15
  409. package/build/esm/api/customer/__generated__/getMyCustomer.d.ts +0 -59
  410. package/build/esm/api/customer/__generated__/listOrderRefundSettings.d.ts +0 -13
  411. package/build/esm/api/customer/__generated__/listOrderTransactions.d.ts +0 -53
  412. package/build/esm/api/customer/__generated__/saveLastViewedProducts.d.ts +0 -11
  413. package/build/esm/api/customer/__generated__/saveMyCustomer.d.ts +0 -63
  414. package/build/esm/api/customer/index.d.ts +0 -44
  415. package/build/esm/api/customer-review/__generated__/createCustomerReview.d.ts +0 -11
  416. package/build/esm/api/customer-review/__generated__/listCustomerReviews.d.ts +0 -25
  417. package/build/esm/api/customer-review/index.d.ts +0 -24
  418. package/build/esm/api/district/__generated__/listDistrict.d.ts +0 -13
  419. package/build/esm/api/district/index.d.ts +0 -4
  420. package/build/esm/api/favorite-product/__generated__/isFavoriteProduct.d.ts +0 -6
  421. package/build/esm/api/favorite-product/__generated__/listFavoriteProducts.d.ts +0 -12
  422. package/build/esm/api/favorite-product/__generated__/saveFavoriteProduct.d.ts +0 -7
  423. package/build/esm/api/favorite-product/index.d.ts +0 -6
  424. package/build/esm/api/html-meta-data/__generated__/listHTMLMetaData.d.ts +0 -18
  425. package/build/esm/api/html-meta-data/index.d.ts +0 -4
  426. package/build/esm/api/index.d.ts +0 -21
  427. package/build/esm/api/merchant/__generated__/listMerchantSettings.d.ts +0 -9
  428. package/build/esm/api/merchant/index.d.ts +0 -4
  429. package/build/esm/api/product-attribute/__generated__/listProductAttribute.d.ts +0 -39
  430. package/build/esm/api/product-attribute/index.d.ts +0 -4
  431. package/build/esm/api/product-option-set/__generated__/ListProductOptionSet.d.ts +0 -90
  432. package/build/esm/api/product-option-set/index.d.ts +0 -6
  433. package/build/esm/api/product-search/__generated__/getProductFilterData.d.ts +0 -52
  434. package/build/esm/api/product-search/__generated__/searchProducts.d.ts +0 -26
  435. package/build/esm/api/product-search/index.d.ts +0 -20
  436. package/build/esm/api/state/__generated__/listState.d.ts +0 -13
  437. package/build/esm/api/state/index.d.ts +0 -4
  438. package/build/esm/api/stock-location/__generated__/listStockLocation.d.ts +0 -7
  439. package/build/esm/api/stock-location/index.d.ts +0 -4
  440. package/build/esm/api/storefront/__generated__/getStorefront.d.ts +0 -52
  441. package/build/esm/api/storefront/index.d.ts +0 -4
  442. package/build/esm/api/variant-type/__generated__/listVariantType.d.ts +0 -39
  443. package/build/esm/api/variant-type/index.d.ts +0 -4
  444. package/build/esm/api.js +0 -1
  445. package/build/esm/assets/translations/checkout/en.js +0 -161
  446. package/build/esm/assets/translations/checkout/tr.js +0 -160
  447. package/build/esm/base-46969f69.js +0 -1
  448. package/build/esm/blog-category-list-8bbfffa4.js +0 -1
  449. package/build/esm/cart-f58c6575.js +0 -1
  450. package/build/esm/components/checkout/components/address-form/index.d.ts +0 -3
  451. package/build/esm/components/checkout/components/address-form/model.d.ts +0 -123
  452. package/build/esm/components/checkout/components/button/index.d.ts +0 -12
  453. package/build/esm/components/checkout/components/cart-summary/cart-item/index.d.ts +0 -10
  454. package/build/esm/components/checkout/components/cart-summary/index.d.ts +0 -8
  455. package/build/esm/components/checkout/components/checkbox/check.d.ts +0 -6
  456. package/build/esm/components/checkout/components/checkbox/index.d.ts +0 -10
  457. package/build/esm/components/checkout/components/credit-card-form/index.d.ts +0 -7
  458. package/build/esm/components/checkout/components/credit-card-form/model.d.ts +0 -26
  459. package/build/esm/components/checkout/components/credit-card-form/svg/amex.d.ts +0 -6
  460. package/build/esm/components/checkout/components/credit-card-form/svg/master-card.d.ts +0 -6
  461. package/build/esm/components/checkout/components/credit-card-form/svg/troy.d.ts +0 -6
  462. package/build/esm/components/checkout/components/credit-card-form/svg/visa.d.ts +0 -6
  463. package/build/esm/components/checkout/components/customer-addresses/index.d.ts +0 -15
  464. package/build/esm/components/checkout/components/customer-addresses/model.d.ts +0 -21
  465. package/build/esm/components/checkout/components/error/customer-login-required-error/index.d.ts +0 -8
  466. package/build/esm/components/checkout/components/error/index.d.ts +0 -7
  467. package/build/esm/components/checkout/components/error/no-shipping-error/index.d.ts +0 -6
  468. package/build/esm/components/checkout/components/error/payment-error/index.d.ts +0 -8
  469. package/build/esm/components/checkout/components/error/stock-error/index.d.ts +0 -8
  470. package/build/esm/components/checkout/components/error/unknown-error/index.d.ts +0 -6
  471. package/build/esm/components/checkout/components/expandable-section/index.d.ts +0 -6
  472. package/build/esm/components/checkout/components/form-item/caret-down.d.ts +0 -6
  473. package/build/esm/components/checkout/components/form-item/index.d.ts +0 -3
  474. package/build/esm/components/checkout/components/form-item/model.d.ts +0 -59
  475. package/build/esm/components/checkout/components/fullscreen-loading/index.d.ts +0 -2
  476. package/build/esm/components/checkout/components/input-with-button/index.d.ts +0 -11
  477. package/build/esm/components/checkout/components/modal/index.d.ts +0 -8
  478. package/build/esm/components/checkout/components/notification-box/index.d.ts +0 -9
  479. package/build/esm/components/checkout/components/select-box/index.d.ts +0 -13
  480. package/build/esm/components/checkout/components/step-container/index.d.ts +0 -15
  481. package/build/esm/components/checkout/components/svg/arrow-down.d.ts +0 -6
  482. package/build/esm/components/checkout/components/svg/arrow-left.d.ts +0 -6
  483. package/build/esm/components/checkout/components/svg/arrow-right.d.ts +0 -6
  484. package/build/esm/components/checkout/components/svg/cross.d.ts +0 -6
  485. package/build/esm/components/checkout/components/svg/discount.d.ts +0 -6
  486. package/build/esm/components/checkout/components/svg/external.d.ts +0 -6
  487. package/build/esm/components/checkout/components/svg/gift.d.ts +0 -7
  488. package/build/esm/components/checkout/components/svg/ikas.d.ts +0 -6
  489. package/build/esm/components/checkout/components/svg/lock.d.ts +0 -6
  490. package/build/esm/components/checkout/components/svg/shopping-cart.d.ts +0 -6
  491. package/build/esm/components/checkout/components/svg/success-circle.d.ts +0 -6
  492. package/build/esm/components/checkout/components/svg/tag.d.ts +0 -6
  493. package/build/esm/components/checkout/components/svg/warning.d.ts +0 -6
  494. package/build/esm/components/checkout/components/toggle/index.d.ts +0 -10
  495. package/build/esm/components/checkout/components/tooltip/index.d.ts +0 -8
  496. package/build/esm/components/checkout/index.d.ts +0 -32
  497. package/build/esm/components/checkout/model.d.ts +0 -120
  498. package/build/esm/components/checkout/steps/step-info/index.d.ts +0 -7
  499. package/build/esm/components/checkout/steps/step-payment/billing-address/index.d.ts +0 -7
  500. package/build/esm/components/checkout/steps/step-payment/index.d.ts +0 -7
  501. package/build/esm/components/checkout/steps/step-payment/payment-gateways/index.d.ts +0 -7
  502. package/build/esm/components/checkout/steps/step-payment/payment-gateways/installments/index.d.ts +0 -7
  503. package/build/esm/components/checkout/steps/step-shipping/index.d.ts +0 -7
  504. package/build/esm/components/checkout/steps/step-success/index.d.ts +0 -7
  505. package/build/esm/components/error/index.d.ts +0 -5
  506. package/build/esm/components/image/index.d.ts +0 -36
  507. package/build/esm/components/index.d.ts +0 -4
  508. package/build/esm/components/page/ThemeComponent.d.ts +0 -10
  509. package/build/esm/components/page/head.d.ts +0 -12
  510. package/build/esm/components/page/index.d.ts +0 -18
  511. package/build/esm/components/page-editor/ThemeComponentEditor.d.ts +0 -9
  512. package/build/esm/components/page-editor/index.d.ts +0 -2
  513. package/build/esm/components/page-editor/model.d.ts +0 -65
  514. package/build/esm/components.js +0 -1
  515. package/build/esm/en-2122556b.js +0 -1
  516. package/build/esm/get-f6594d28.js +0 -15
  517. package/build/esm/i18n-88bbe1a1.js +0 -1
  518. package/build/esm/index-10011dee.js +0 -1
  519. package/build/esm/index-270f04f4.js +0 -3
  520. package/build/esm/index-b6ebc78e.js +0 -1
  521. package/build/esm/index-b8245ce8.js +0 -1
  522. package/build/esm/index-c6779c48.js +0 -1
  523. package/build/esm/index-d47c16b6.js +0 -1
  524. package/build/esm/index-df1da9c5.js +0 -1
  525. package/build/esm/index-f0720041.js +0 -1
  526. package/build/esm/index-f4c9dbad.js +0 -1
  527. package/build/esm/index.d.ts +0 -8
  528. package/build/esm/index.js +0 -1
  529. package/build/esm/models/data/blog/index.d.ts +0 -67
  530. package/build/esm/models/data/brand/index.d.ts +0 -21
  531. package/build/esm/models/data/cart/index.d.ts +0 -44
  532. package/build/esm/models/data/category/index.d.ts +0 -52
  533. package/build/esm/models/data/checkout/index.d.ts +0 -103
  534. package/build/esm/models/data/checkout-settings/index.d.ts +0 -25
  535. package/build/esm/models/data/city/index.d.ts +0 -4
  536. package/build/esm/models/data/contact-form/index.d.ts +0 -7
  537. package/build/esm/models/data/country/index.d.ts +0 -8
  538. package/build/esm/models/data/customer/address/index.d.ts +0 -49
  539. package/build/esm/models/data/customer/index.d.ts +0 -33
  540. package/build/esm/models/data/customer-review/index.d.ts +0 -23
  541. package/build/esm/models/data/customer-review-settings/index.d.ts +0 -4
  542. package/build/esm/models/data/district/index.d.ts +0 -4
  543. package/build/esm/models/data/favorite-product/index.d.ts +0 -6
  544. package/build/esm/models/data/html-meta-data/index.d.ts +0 -23
  545. package/build/esm/models/data/image/index.d.ts +0 -8
  546. package/build/esm/models/data/index.d.ts +0 -33
  547. package/build/esm/models/data/installment-info/index.d.ts +0 -30
  548. package/build/esm/models/data/merchant-settings/index.d.ts +0 -8
  549. package/build/esm/models/data/order/address/index.d.ts +0 -50
  550. package/build/esm/models/data/order/adjustment/index.d.ts +0 -16
  551. package/build/esm/models/data/order/gift-line/index.d.ts +0 -4
  552. package/build/esm/models/data/order/line-item/discount/index.d.ts +0 -11
  553. package/build/esm/models/data/order/line-item/index.d.ts +0 -40
  554. package/build/esm/models/data/order/line-item/variant/index.d.ts +0 -25
  555. package/build/esm/models/data/order/refund/index.d.ts +0 -6
  556. package/build/esm/models/data/order/refund/refund-line-item/index.d.ts +0 -5
  557. package/build/esm/models/data/order/refund/settings.d.ts +0 -6
  558. package/build/esm/models/data/order/shipping-line/index.d.ts +0 -7
  559. package/build/esm/models/data/order-transaction/index.d.ts +0 -73
  560. package/build/esm/models/data/payment-gateway/index.d.ts +0 -61
  561. package/build/esm/models/data/product/attribute-value/index.d.ts +0 -20
  562. package/build/esm/models/data/product/index.d.ts +0 -34
  563. package/build/esm/models/data/product/variant/index.d.ts +0 -24
  564. package/build/esm/models/data/product/variant/price/index.d.ts +0 -10
  565. package/build/esm/models/data/product/variant-type/index.d.ts +0 -6
  566. package/build/esm/models/data/product-attribute/index.d.ts +0 -34
  567. package/build/esm/models/data/product-attribute/product-attribute-option/index.d.ts +0 -5
  568. package/build/esm/models/data/product-attribute/product-attribute-table-cell/index.d.ts +0 -5
  569. package/build/esm/models/data/product-attribute/product-attribute-table-template/index.d.ts +0 -6
  570. package/build/esm/models/data/product-back-in-stock-settings/index.d.ts +0 -3
  571. package/build/esm/models/data/product-filter/index.d.ts +0 -109
  572. package/build/esm/models/data/product-option-set/index.d.ts +0 -85
  573. package/build/esm/models/data/product-tag/index.d.ts +0 -5
  574. package/build/esm/models/data/sales-channel/index.d.ts +0 -18
  575. package/build/esm/models/data/simple-product/index.d.ts +0 -136
  576. package/build/esm/models/data/state/index.d.ts +0 -5
  577. package/build/esm/models/data/storefront/domain/index.d.ts +0 -8
  578. package/build/esm/models/data/storefront/index.d.ts +0 -23
  579. package/build/esm/models/data/storefront/localization/index.d.ts +0 -7
  580. package/build/esm/models/data/storefront/routing/index.d.ts +0 -9
  581. package/build/esm/models/data/storefront/theme/index.d.ts +0 -13
  582. package/build/esm/models/data/storefront/theme-localization/index.d.ts +0 -12
  583. package/build/esm/models/data/variant-type/index.d.ts +0 -26
  584. package/build/esm/models/data/variant-type/variant-value/index.d.ts +0 -11
  585. package/build/esm/models/index.d.ts +0 -3
  586. package/build/esm/models/theme/component/index.d.ts +0 -10
  587. package/build/esm/models/theme/component/prop/index.d.ts +0 -40
  588. package/build/esm/models/theme/custom-data/index.d.ts +0 -24
  589. package/build/esm/models/theme/index.d.ts +0 -18
  590. package/build/esm/models/theme/page/component/index.d.ts +0 -6
  591. package/build/esm/models/theme/page/component/prop-value/attribute-list.d.ts +0 -7
  592. package/build/esm/models/theme/page/component/prop-value/attribute.d.ts +0 -7
  593. package/build/esm/models/theme/page/component/prop-value/blog-category-list.d.ts +0 -7
  594. package/build/esm/models/theme/page/component/prop-value/blog-category.d.ts +0 -5
  595. package/build/esm/models/theme/page/component/prop-value/blog-list.d.ts +0 -9
  596. package/build/esm/models/theme/page/component/prop-value/blog.d.ts +0 -5
  597. package/build/esm/models/theme/page/component/prop-value/brand-list.d.ts +0 -9
  598. package/build/esm/models/theme/page/component/prop-value/brand.d.ts +0 -5
  599. package/build/esm/models/theme/page/component/prop-value/category-list.d.ts +0 -9
  600. package/build/esm/models/theme/page/component/prop-value/category.d.ts +0 -5
  601. package/build/esm/models/theme/page/component/prop-value/link.d.ts +0 -19
  602. package/build/esm/models/theme/page/component/prop-value/product-detail.d.ts +0 -6
  603. package/build/esm/models/theme/page/component/prop-value/product-list.d.ts +0 -17
  604. package/build/esm/models/theme/page/index.d.ts +0 -40
  605. package/build/esm/models/theme/settings/index.d.ts +0 -13
  606. package/build/esm/models/theme/settings/prop/color/index.d.ts +0 -7
  607. package/build/esm/models/theme/settings/prop/favicon/index.d.ts +0 -4
  608. package/build/esm/models/theme/theme.d.ts +0 -16
  609. package/build/esm/models/ui/blog-category-list/index.d.ts +0 -52
  610. package/build/esm/models/ui/blog-list/index.d.ts +0 -56
  611. package/build/esm/models/ui/brand-list/index.d.ts +0 -61
  612. package/build/esm/models/ui/category-list/index.d.ts +0 -61
  613. package/build/esm/models/ui/component-renderer/index.d.ts +0 -7
  614. package/build/esm/models/ui/customer-review-list/index.d.ts +0 -43
  615. package/build/esm/models/ui/index.d.ts +0 -22
  616. package/build/esm/models/ui/navigation-link/index.d.ts +0 -7
  617. package/build/esm/models/ui/product-attribute-detail/index.d.ts +0 -8
  618. package/build/esm/models/ui/product-attribute-list/index.d.ts +0 -9
  619. package/build/esm/models/ui/product-detail/index.d.ts +0 -28
  620. package/build/esm/models/ui/product-list/index.d.ts +0 -132
  621. package/build/esm/models/ui/validator/form/account-info.d.ts +0 -40
  622. package/build/esm/models/ui/validator/form/address.d.ts +0 -75
  623. package/build/esm/models/ui/validator/form/contact-form.d.ts +0 -45
  624. package/build/esm/models/ui/validator/form/customer-review.d.ts +0 -37
  625. package/build/esm/models/ui/validator/form/forgot-password.d.ts +0 -29
  626. package/build/esm/models/ui/validator/form/login.d.ts +0 -35
  627. package/build/esm/models/ui/validator/form/recover-password.d.ts +0 -36
  628. package/build/esm/models/ui/validator/form/register.d.ts +0 -48
  629. package/build/esm/models/ui/validator/index.d.ts +0 -27
  630. package/build/esm/models/ui/validator/rules/index.d.ts +0 -87
  631. package/build/esm/models.js +0 -1
  632. package/build/esm/pages/404.d.ts +0 -6
  633. package/build/esm/pages/[slug]/index.d.ts +0 -4
  634. package/build/esm/pages/[slug]/providers.d.ts +0 -3
  635. package/build/esm/pages/account/addresses.d.ts +0 -6
  636. package/build/esm/pages/account/favorite-products.d.ts +0 -6
  637. package/build/esm/pages/account/forgot-password.d.ts +0 -6
  638. package/build/esm/pages/account/index.d.ts +0 -6
  639. package/build/esm/pages/account/login.d.ts +0 -6
  640. package/build/esm/pages/account/orders/[id].d.ts +0 -6
  641. package/build/esm/pages/account/orders/index.d.ts +0 -6
  642. package/build/esm/pages/account/recover-password.d.ts +0 -6
  643. package/build/esm/pages/account/register.d.ts +0 -6
  644. package/build/esm/pages/blog/index.d.ts +0 -6
  645. package/build/esm/pages/cart.d.ts +0 -6
  646. package/build/esm/pages/checkout.d.ts +0 -18
  647. package/build/esm/pages/home.d.ts +0 -6
  648. package/build/esm/pages/index.d.ts +0 -20
  649. package/build/esm/pages/pages/[slug].d.ts +0 -7
  650. package/build/esm/pages/search.d.ts +0 -6
  651. package/build/esm/pages.js +0 -1
  652. package/build/esm/providers/page-data-get.d.ts +0 -57
  653. package/build/esm/providers/page-data-init.d.ts +0 -58
  654. package/build/esm/providers/page-data-next.d.ts +0 -243
  655. package/build/esm/providers/placeholders.d.ts +0 -6
  656. package/build/esm/providers/prop-value/attribute-list.d.ts +0 -12
  657. package/build/esm/providers/prop-value/attribute.d.ts +0 -12
  658. package/build/esm/providers/prop-value/blog-category-list.d.ts +0 -7
  659. package/build/esm/providers/prop-value/blog-category.d.ts +0 -11
  660. package/build/esm/providers/prop-value/blog-list.d.ts +0 -9
  661. package/build/esm/providers/prop-value/blog.d.ts +0 -11
  662. package/build/esm/providers/prop-value/boolean.d.ts +0 -6
  663. package/build/esm/providers/prop-value/brand-list.d.ts +0 -7
  664. package/build/esm/providers/prop-value/brand.d.ts +0 -11
  665. package/build/esm/providers/prop-value/category-list.d.ts +0 -7
  666. package/build/esm/providers/prop-value/category.d.ts +0 -11
  667. package/build/esm/providers/prop-value/color.d.ts +0 -6
  668. package/build/esm/providers/prop-value/custom.d.ts +0 -42
  669. package/build/esm/providers/prop-value/image-list.d.ts +0 -7
  670. package/build/esm/providers/prop-value/image.d.ts +0 -7
  671. package/build/esm/providers/prop-value/index.d.ts +0 -3
  672. package/build/esm/providers/prop-value/link.d.ts +0 -9
  673. package/build/esm/providers/prop-value/product-detail.d.ts +0 -11
  674. package/build/esm/providers/prop-value/product-list.d.ts +0 -9
  675. package/build/esm/providers/prop-value/rich-text.d.ts +0 -6
  676. package/build/esm/providers/prop-value/text.d.ts +0 -6
  677. package/build/esm/store/base.d.ts +0 -25
  678. package/build/esm/store/cart.d.ts +0 -27
  679. package/build/esm/store/customer.d.ts +0 -72
  680. package/build/esm/store/index.d.ts +0 -1
  681. package/build/esm/store.js +0 -1
  682. package/build/esm/storefront.js +0 -1
  683. package/build/esm/tr-26d6f603.js +0 -1
  684. package/build/esm/utils/currency.d.ts +0 -1
  685. package/build/esm/utils/helper.d.ts +0 -8
  686. package/build/esm/utils/i18n.d.ts +0 -20
  687. package/build/esm/utils/index.d.ts +0 -3
  688. package/build/esm/utils.js +0 -1
@@ -1,160 +0,0 @@
1
- module.exports = {
2
- actions: {
3
- login: "Giriş Yap",
4
- edit: "Düzenle",
5
- apply: "Uygula",
6
- close: "Kapat",
7
- cancel: "Vazgeç",
8
- save: "Kaydet",
9
- continue: "Devam Et",
10
- show: "Göster",
11
- hide: "Gizle",
12
- sendMessage: "Mesajı Gönder",
13
- continueWithShipping: "Kargo ile Devam Et",
14
- continueWithPayment: "Ödeme ile Devam Et",
15
- completeOrder: "Siparişi Tamamla",
16
- backToShopping: "Alışverişe Dön",
17
- backToCart: "Sepete Dön",
18
- },
19
- securePayment: "Güvenli Ödeme",
20
- alreadyHaveAnAccount: "Zaten hesabınız var mı?",
21
-
22
- address: "Adres",
23
- addressError: "Adres girin",
24
- missingAddressFields: "Adres bilgilerinde bazı zorunlu alanlar eksik.",
25
- editAddress: "Adres Düzenle",
26
- deleteAddress: "Adresi Sil",
27
- saveAddressCta: "Bir sonraki işlem için bu adresi kaydet",
28
- firstName: "Ad",
29
- firstNameError: "Ad girin",
30
- lastName: "Soyad",
31
- lastNameError: "Soyad girin",
32
- identityNumber: "TC Kimlik No",
33
- identityNumberError: "TC kimlik no girin",
34
- addressTitle: "Adres Başlığı",
35
- adressTitleError: "Adres başlığı girin",
36
- addressLine2: "Apartman, daire, vb.",
37
- postalCode: "Posta Kodu",
38
- postalCodeError: "Posta kodu girin",
39
- country: "Ülke",
40
- countryError: "Ülke seçin",
41
- state: "Eyalet",
42
- stateError: "Eyalet seçin",
43
- city: "İl",
44
- cityError: "İl seçin",
45
- district: "İlçe",
46
- districtError: "İlçe seçin",
47
- phone: "Telefon",
48
- phoneError: "Geçerli bir telefon girin",
49
- companyName: "Firma Adı",
50
- taxOffice: "Vergi Dairesi",
51
- taxNumber: "Vergi Numarası",
52
-
53
- shipping: "Kargo",
54
- payment: "Ödeme",
55
- summary: "Özet",
56
-
57
- free: "Ücretsiz",
58
- standartShipping: "Standart Kargo",
59
- returnPolicy: "Para İade Politikası",
60
- privacyPolicy: "Gizlilik Politikası",
61
- termsOfService: "Hizmet Şartları",
62
- newAddress: "Yeni Adres",
63
- billingAddress: "Fatura Adresi",
64
- shippingAddress: "Teslimat Adresi",
65
- corporateInvoice: "Kurumsal fatura",
66
- contactInfo: "İletişim Bilgileri",
67
- email: "E-Posta",
68
- emailError: "Geçerli bir e-posta girin",
69
- guestEmailTooltip: "Sipariş bilgileri bu e-posta adresine gönderilecektir",
70
- customerConsentCta: "Beni haberlerden ve özel tekliflerden haberdar et",
71
- useShippingForBilling: "Fatura adresim teslimat adresimle aynı",
72
- installmentOptions: "Taksit Seçenekleri",
73
- singleInstallment: "Tek Çekim",
74
- installments: "Taksit",
75
- creditCard: "Kredi Kartı",
76
-
77
- ackPrivacyPolicy: "Gizlilik Sözleşmesini",
78
- ackTermsOfService: "Satış Sözleşmesini",
79
- ackPoliciesSentence:
80
- "{{ ackPrivacyPolicy }} ve {{ ackTermsOfService }} okudum, onaylıyorum.",
81
-
82
- securePaymentTooltip: "Ödemeler güvenli ve şifrelidir",
83
- giftPackage: "Hediye Paketi",
84
- giftPackageCta: "Hediye paketi istiyorum",
85
- giftPackageCtaPlaceholder: "Hediye mesajınızı giriniz",
86
-
87
- paymentMethod: "Ödeme Yöntemi",
88
- paymentMethodDiscount: "İndirim",
89
- paymentMethodAdditionalPrice: "İşlem Bedeli",
90
-
91
- orderSuccessTitle: "Siparişiniz için teşekkür ederiz!",
92
- orderSuccessDescription:
93
- "Sevgili {{ customerName }}, siparişiniz bize ulaşmıştır. Siparişiniz kargoya verildiğinde sizi e-posta ile bilgilendireceğiz.",
94
- orderNoAndDate: "Sipariş No / Tarih",
95
- paymentSummary: "Ödeme Özeti",
96
- shippingSummary: "Teslimat Özeti",
97
- helpCtaQuestion: "Yardıma mı ihtiyacınız var?",
98
- helpCta: "Bizimle iletişime geçin",
99
-
100
- contactForm: "İletişim Formu",
101
- contactFormSent: "Mesaj başarıyla gönderildi",
102
- contactFormDescription:
103
- "Mesajınızla ilgili olarak size en kısa zamanda e-posta veya telefon aracılığıyla geri dönüş yapılacaktır.",
104
- contactFormCta: "Mesajınızı yazın",
105
-
106
- orderPackageStatus: {
107
- unfulfilled: "Oluşturuldu",
108
- readyForShipment: "Kargoya Hazır",
109
- fulfilled: "Gönderildi",
110
- partiallyFulfilled: "Kısmi Gönderildi",
111
- delivered: "Teslim Edildi",
112
- unableToDeliver: "Teslim Edilemedi",
113
- cancelled: "İptal Edildi",
114
- cancelRejected: "İptal Talebi Reddedildi",
115
- cancelRequested: "İptal İstendi",
116
- refunded: "İade Edildi",
117
- refundRequestAccepted: "İade Talebi Onaylandı",
118
- refundRejected: "İade Talebi Reddedildi",
119
- refundRequested: "İade Talep Edildi",
120
- },
121
-
122
- quantity: "Adet",
123
- cartItemProduct: "ürün",
124
- giftCodeErrorTitle: "İndirim Kodu Hatası",
125
- giftCodeErrorDescription:
126
- "İndirim kodunuz geçersiz veya sepetinizdeki ürünlere uygulanabilir değil. Lütfen kodunuzu kontrol edip tekrar deneyin.",
127
- subtotal: "Ara Toplam",
128
- total: "Toplam",
129
- subtotalTooltip:
130
- "Ara toplam, tüm geçerli indirimlerden önce siparişinizin toplam fiyatını yansıtır. kargo ücretini içermez.",
131
- cartShippingTitle: "Teslimat / Kargo",
132
- cartTaxTitle: "Vergi",
133
- cartInterest: "Vade Farkı",
134
- couponCode: "İndirim Kodu",
135
- addCouponCode: "İndirim kodu ekle",
136
- addOrderNote: "Sipariş notu ekle",
137
- editOrderNote: "Sipariş notu düzenle",
138
- orderNote: "Sipariş Notu",
139
- enterPhoneNumber: "Telefon numarası girin",
140
-
141
- cardNumber: "Kart Numarası",
142
- cardNumberError: "Geçerli bir kart numarası girin",
143
- cardHolderName: "Kart Üzerindeki İsim",
144
- cardHolderError: "Ad soyad girin",
145
- cardExpiry: "Ay / Yıl",
146
- cardExpiryError: "Geçerli bir tarih girin",
147
- cardCVC: "CVC",
148
- cardCVCError: "Geçerli bir güvenlik kodu girin",
149
- cardCVCTooltip: "Kartınızın arkasındaki 3 haneli güvenlik kodu",
150
-
151
- errorCustomerRequired:
152
- "Bu e-posta adresine ait kayıtlı bir hesap bulunuyor. Lütfen hesabınıza giriş yapınız.",
153
- errorNoShipping: "Bulunduğunuz konuma gönderim yapılmamaktadır.",
154
- errorPayment:
155
- "Ödemeniz alınamadı. Lütfen bilgilerinizi kontrol edip tekrar deneyin.",
156
- errorStockTitle: "Stoklar Güncellendi!",
157
- errorStockDescription:
158
- "Sepetinizdeki bazı ürünlerin stoğu tükenmiştir. Bu ürünleri sepetinizden çıkararak devam etmek ister misiniz?",
159
- errorUnknown: "Beklenmedik bir hata oluştu. Lütfen tekrar deneyin.",
160
- };
@@ -1 +0,0 @@
1
- import{_ as o,c as t}from"./get-f6594d28.js";import{configure as n,makeObservable as e,observable as i}from"mobx";import{az as r,ad as s,aA as u,aB as c,ai as a,a as l}from"./index-270f04f4.js";import{I as d}from"./cart-f58c6575.js";import{IkasStorefrontConfig as h}from"./storefront.js";var f=function(o){return(null==o?0:o.length)?r(o,1):[]};n({enforceActions:"never"});var p=function(){function n(){this.currentPageType=null,this.localeOptions=[],this.showLocaleOptions=!1,this.currentCountryCode=null,this.localeChecked=!1,this.settingsSet=!1,this.customerStore=new u(this),this.cartStore=new d(this),e(this,{currentPageType:i,localeOptions:i,showLocaleOptions:i,currentCountryCode:i})}return n.prototype.checkLocalization=function(){return o(this,void 0,void 0,(function(){var o,n,e,i,r,s,u,d;return t(this,(function(t){switch(t.label){case 0:return this.localeChecked?[2]:void 0===typeof window?(console.warn("checkLocalization should be called on the client side!"),[2]):[4,l.getMyCountry()];case 1:return o=t.sent(),n=h.routings.find((function(o){return o.id===h.storefrontRoutingId})),this.currentCountryCode=o,n&&o?(e=!0,i=h.routings.find((function(t){var n;return null===(n=t.countryCodes)||void 0===n?void 0:n.includes(o)})),r=h.routings.find((function(o){var t;return!(null===(t=o.countryCodes)||void 0===t?void 0:t.length)})),i?n.id!==i.id&&(e=!1):r&&n.id!==r.id&&(e=!1),s=f(h.routings.map((function(o){return o.countryCodes||[]}))),[4,l.listCountries(s)]):[3,3];case 2:u=t.sent(),d=[],h.routings.map((function(t){var n;(null===(n=t.countryCodes)||void 0===n?void 0:n.length)?t.countryCodes.forEach((function(n){var e,i=u.find((function(o){return o.iso2===n}));d.push({id:c(),countryName:(null==i?void 0:i.native)||(null==i?void 0:i.name)||"",routing:t,isRecommended:(null===(e=t.countryCodes)||void 0===e?void 0:e.includes(o))||!1})})):d.push({id:c(),routing:t,isRecommended:!h.routings.some((function(t){var n;return null===(n=t.countryCodes)||void 0===n?void 0:n.includes(o)}))})})),this.localeOptions=a(d,"countryName"),e||(this.showLocaleOptions=!0),this.localeChecked=!0,t.label=3;case 3:return[2]}}))}))},n.prototype.setLocalization=function(o){o.routing.domain?window.location.replace("https://"+o.routing.domain):window.location.replace(window.location.origin+(o.routing.path?"/"+o.routing.path:""))},n.prototype.setSettings=function(o){this.settingsSet||new s(JSON.parse(o)).colors.map((function(o){return document.documentElement.style.setProperty(o.key,o.color)}))},n}();export{p as I};
@@ -1 +0,0 @@
1
- import{makeAutoObservable as t}from"mobx";import{j as i,k as s,q as a,r as l,m as n,n as e,w as o,y as u}from"./index-b8245ce8.js";import"./index-270f04f4.js";var h=function(i){this.email=i.email||"",this.firstName=i.firstName||"",this.lastName=i.lastName||"",this.message=i.message||"",t(this)},r=function(i){this.brandId=null,this.usePageData=null,this.brandId=i.brandId,this.usePageData=i.usePageData,t(this)},g=function(a){this.initialSort=null,this.initialLimit=null,this.brandCount=null,this.brandIds=null,this.brandListType=a.brandListType||i.ALL,this.initialSort=a.initialSort||s.A_Z,this.initialLimit=a.initialLimit||20,this.brandCount=a.brandCount,this.brandIds=a.brandIds,t(this)},d=function(i){this.initialSort=null,this.initialLimit=null,this.productCount=null,this.productIds=null,this.usePageFilter=null,this.category=null,this.id=i.id||"",this.productListType=i.productListType||a.ALL,this.initialSort=i.initialSort||l.LAST_ADDED,this.initialLimit=i.initialLimit||20,this.productCount=i.productCount,this.productIds=i.productIds,this.category=i.category,this.usePageFilter=i.usePageFilter,t(this)},c=function(i){this.productId=null,this.variantId=null,this.usePageData=null,this.productId=i.productId,this.variantId=i.variantId,this.usePageData=i.usePageData,t(this)},I=function(i){this.categoryId=null,this.usePageData=null,this.categoryId=i.categoryId,this.usePageData=i.usePageData,t(this)},L=function(i){this.initialSort=null,this.initialLimit=null,this.categoryCount=null,this.categoryIds=null,this.categoryListType=i.categoryListType||n.ALL,this.initialSort=i.initialSort||e.A_Z,this.initialLimit=i.initialLimit||20,this.categoryCount=i.categoryCount||null,this.categoryIds=i.categoryIds||null,t(this)},y=function(i){this.blogId=null,this.usePageData=null,this.blogId=i.blogId,this.usePageData=i.usePageData,t(this)},b=function(i){this.initialLimit=null,this.blogIds=null,this.usePageFilter=null,this.blogListType=i.blogListType||o.ALL,this.initialLimit=i.initialLimit||20,this.blogIds=i.blogIds,this.categoryId=i.categoryId||null,this.usePageFilter=i.usePageFilter||null,t(this)},m=function(i){this.blogCategoryId=null,this.usePageData=null,this.blogCategoryId=i.blogCategoryId,this.usePageData=i.usePageData,t(this)},p=function(i){this.initialLimit=null,this.blogCategoryIds=null,this.blogCategoryListType=i.blogCategoryListType||u.ALL,this.initialLimit=i.initialLimit||20,this.blogCategoryIds=i.blogCategoryIds,t(this)};export{h as I,r as a,g as b,d as c,c as d,I as e,L as f,y as g,b as h,m as i,p as j};
@@ -1 +0,0 @@
1
- import{_ as t,c as e}from"./get-f6594d28.js";import{makeAutoObservable as r}from"mobx";import{IkasStorefrontConfig as i}from"./storefront.js";import{I as n}from"./index-d47c16b6.js";import{I as o,ag as a}from"./index-270f04f4.js";var s="cartId",c="checkoutId",u=function(){function s(s){var c=this;this.cart=null,this._checkoutId=null,this._isLoadingCart=!1,this._cartLoadFinished=!1,this.getCart=function(){return t(c,void 0,void 0,(function(){var t,r,i,o,a,s;return e(this,(function(e){switch(e.label){case 0:if(!this.isBrowser)return[2];e.label=1;case 1:return e.trys.push([1,6,7,8]),this._isLoadingCart=!0,t=null===(a=this.baseStore.customerStore.customer)||void 0===a?void 0:a.id,(r=(null===(s=this.cart)||void 0===s?void 0:s.id)||localStorage.getItem("cartId"))||t?[4,n.getCart(r||void 0)]:[2];case 2:return(i=e.sent())?[4,this.setCart(i)]:[3,4];case 3:return e.sent(),[3,5];case 4:this.removeCart(),e.label=5;case 5:return[3,8];case 6:return o=e.sent(),console.log(o),[3,8];case 7:return this._isLoadingCart=!1,this._cartLoadFinished=!0,[7];case 8:return[2]}}))}))},this.setCart=function(r){return t(c,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:return localStorage.setItem("cartId",r.id),this.cart=r,this._checkoutId||(this._checkoutId=localStorage.getItem("checkoutId")||void 0),this._checkoutId?[3,2]:[4,o.getCheckoutId(r.id)];case 1:t=e.sent(),this._checkoutId=t,t&&localStorage.setItem("checkoutId",t),e.label=2;case 2:return[2]}}))}))},this.beforeCartOperationCheck=function(){return t(c,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:return t=localStorage.getItem("cartId"),!this.cart||t?[3,1]:(this.removeCart(),[3,3]);case 1:return this.cart||!t?[3,3]:[4,this.getCart()];case 2:e.sent(),e.label=3;case 3:return[2]}}))}))},this.addItem=function(r,o,s){return void 0===s&&(s=1),t(c,void 0,void 0,(function(){var t,c,u,d,h,l,f,I,m,v;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,5,,6]),[4,this.beforeCartOperationCheck()];case 1:return e.sent(),this.cart&&(t=this.cart.items.find((function(t){return t.variant.id===r.id})),t)?[2,this.changeItemQuantity(t,t.quantity+1)]:(c=(null===(I=this.cart)||void 0===I?void 0:I.id)||localStorage.getItem("cartId"),u={cartId:c,customerId:(null===(m=this.cart)||void 0===m?void 0:m.customerId)||(null===(v=this.baseStore.customerStore.customer)||void 0===v?void 0:v.id)||null,item:{id:null,quantity:s,variant:{id:r.id,name:o.name}},priceListId:i.priceListId||null,salesChannelId:i.salesChannelId,storefrontId:i.storefrontId,storefrontRoutingId:i.storefrontRoutingId,storefrontThemeId:i.storefrontThemeId},[4,n.saveItemToCart(u)]);case 2:return(d=e.sent())?[4,this.setCart(d)]:[3,4];case 3:e.sent(),e.label=4;case 4:return this.cart&&(h=this.cart.id+"-"+this.cart.updatedAt,(l=this.cart.items.find((function(t){return t.variant.id})))&&a.addToCart(l,s,h,this.cart)),[3,6];case 5:return f=e.sent(),console.log(f),[3,6];case 6:return[2]}}))}))},this.changeItemQuantity=function(r,o){return t(c,void 0,void 0,(function(){var t,s,c,u,d,h,l,f;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,5,,6]),[4,this.beforeCartOperationCheck()];case 1:return e.sent(),t={cartId:(null===(h=this.cart)||void 0===h?void 0:h.id)||null,customerId:(null===(l=this.cart)||void 0===l?void 0:l.customerId)||(null===(f=this.baseStore.customerStore.customer)||void 0===f?void 0:f.id)||null,item:{id:r.id,quantity:o,variant:{id:r.variant.id,name:r.variant.name}},priceListId:i.priceListId||null,salesChannelId:i.salesChannelId,storefrontId:i.storefrontId,storefrontRoutingId:i.storefrontRoutingId,storefrontThemeId:i.storefrontThemeId},[4,n.saveItemToCart(t)];case 2:return(s=e.sent())?[4,this.setCart(s)]:[3,4];case 3:e.sent(),e.label=4;case 4:return this.removeCardIfEmpty(),this.cart&&(c=this.cart.id+"-"+this.cart.updatedAt,(u=r.quantity)>o?a.removeFromCart(r,u-o,this.cart):a.addToCart(r,o-u,c,this.cart)),[3,6];case 5:return d=e.sent(),console.log(d),[3,6];case 6:return[2]}}))}))},this.removeItem=function(r){return t(c,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,this.changeItemQuantity(r,0)];case 1:return t.sent(),[2]}}))}))},this.removeCardIfEmpty=function(){var t;0===(null===(t=c.cart)||void 0===t?void 0:t.itemCount)&&c.removeCart()},this.removeCart=function(){localStorage.removeItem("cartId"),localStorage.removeItem("checkoutId"),c.cart=void 0,c._checkoutId=void 0},this.waitUntilInitialized=function(){return new Promise((function(t){var e=setInterval((function(){c.cartLoadFinished&&(clearInterval(e),t(null))}),100)}))},this.baseStore=s,r(this)}return Object.defineProperty(s.prototype,"isBrowser",{get:function(){return"undefined"!=typeof localStorage},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"isLoadingCart",{get:function(){return this._isLoadingCart},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"cartLoadFinished",{get:function(){return this._cartLoadFinished},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"checkoutId",{get:function(){return this._checkoutId},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"checkoutUrl",{get:function(){if(this._checkoutId)return"/checkout?id="+this._checkoutId+"&step=info"},enumerable:!1,configurable:!0}),s}();export{s as C,u as I,c as a};
@@ -1,3 +0,0 @@
1
- import * as React from "react";
2
- import { AddressFormViewModelParams } from "./model";
3
- export declare const AddressForm: React.FC<AddressFormViewModelParams>;
@@ -1,123 +0,0 @@
1
- import { IkasOrderAddress } from "../../../../models/data/order/address/index";
2
- import { IkasCountry, IkasState, IkasCity, IkasDistrict, IkasCustomerAddress } from "../../../../models/index";
3
- declare type Callback = ((value: string) => void) | null | undefined;
4
- export interface AddressFormViewModelParams {
5
- address: IkasOrderAddress | IkasCustomerAddress;
6
- isCorporate?: boolean;
7
- isErrorsVisible: boolean;
8
- isCustomerAddress?: boolean;
9
- allowedCountryIds?: string[] | null;
10
- allowCorporateInfo?: boolean;
11
- allowTitleChange?: boolean;
12
- firstNameChangeCallback?: Callback;
13
- lastNameChangeCallback?: Callback;
14
- }
15
- export default class AddressFormViewModel {
16
- address: IkasOrderAddress | IkasCustomerAddress;
17
- isCorporate: boolean;
18
- isErrorsVisible: boolean;
19
- isCustomerAddress?: boolean;
20
- allowedCountryIds?: string[] | null;
21
- allowCorporateInfo?: boolean;
22
- allowTitleChange?: boolean;
23
- firstNameChangeCallback?: Callback;
24
- lastNameChangeCallback?: Callback;
25
- countries: IkasCountry[];
26
- states: IkasState[];
27
- cities: IkasCity[];
28
- districts: IkasDistrict[];
29
- myCountryCode?: string | null;
30
- constructor(data: AddressFormViewModelParams);
31
- get firstName(): string | null | undefined;
32
- get lastName(): string | null | undefined;
33
- get phone(): string | null | undefined;
34
- get identityNumber(): string | null | undefined;
35
- get country(): {
36
- id?: string | undefined;
37
- name?: string | undefined;
38
- code?: string | undefined;
39
- iso2?: string | undefined;
40
- iso3?: string | undefined;
41
- } | {
42
- id?: string | undefined;
43
- name?: string | undefined;
44
- code?: string | undefined;
45
- } | null | undefined;
46
- get state(): {
47
- id?: string | undefined;
48
- name?: string | undefined;
49
- code?: string | undefined;
50
- iso2?: string | undefined;
51
- iso3?: string | undefined;
52
- } | {
53
- id?: string | undefined;
54
- name?: string | undefined;
55
- code?: string | undefined;
56
- } | null | undefined;
57
- get city(): {
58
- id?: string | undefined;
59
- name?: string | undefined;
60
- code?: string | undefined;
61
- iso2?: string | undefined;
62
- iso3?: string | undefined;
63
- } | {
64
- id?: string | undefined;
65
- name?: string | undefined;
66
- code?: string | undefined;
67
- } | null | undefined;
68
- get district(): {
69
- id?: string | undefined;
70
- name?: string | undefined;
71
- code?: string | undefined;
72
- iso2?: string | undefined;
73
- iso3?: string | undefined;
74
- } | {
75
- id?: string | undefined;
76
- name?: string | undefined;
77
- code?: string | undefined;
78
- } | null | undefined;
79
- get countryOptions(): {
80
- label: string;
81
- value: string;
82
- }[];
83
- get stateOptions(): {
84
- label: string;
85
- value: string;
86
- }[];
87
- get cityOptions(): {
88
- label: string;
89
- value: string;
90
- }[];
91
- get districtOptions(): {
92
- label: string;
93
- value: string;
94
- }[];
95
- get hasState(): boolean;
96
- fillDropdownOptions: () => Promise<void>;
97
- listCountries: () => Promise<void>;
98
- listStates: () => Promise<void>;
99
- listCities: () => Promise<void>;
100
- listDistricts: () => Promise<void>;
101
- modelToOption: (model: IkasCountry | IkasState | IkasCity | IkasDistrict) => {
102
- label: string;
103
- value: string;
104
- };
105
- onFirstNameChange: (value: string) => void;
106
- onLastNameChange: (value: string) => void;
107
- onPhoneChange: (value: string) => void;
108
- onIdentityNumberChange: (value: string) => void;
109
- onAddressTitleChange: (value: string) => void;
110
- onAddressLine1Change: (value: string) => void;
111
- onAddressLine2Change: (value: string) => void;
112
- onAddressPostalCodeChange: (value: string) => void;
113
- onCountryChange: (countryId: string) => void;
114
- onStateChange: (stateId: string) => void;
115
- onCityChange: (cityId: string) => void;
116
- onDistrictChange: (districtId: string) => void;
117
- onDistrictInputChange: (value: string) => void;
118
- onCorporateChange: (value: boolean) => void;
119
- onCompanyChange: (value: string) => void;
120
- onTaxNumberChange: (value: string) => void;
121
- onTaxOfficeChange: (value: string) => void;
122
- }
123
- export {};
@@ -1,12 +0,0 @@
1
- import * as React from "react";
2
- declare type Props = {
3
- text: string | React.ReactNode;
4
- isLoading?: boolean;
5
- isDisabled?: boolean;
6
- isLine?: boolean;
7
- size?: "large" | "medium";
8
- style?: React.CSSProperties;
9
- onClick: () => void;
10
- };
11
- export declare const Button: React.FC<Props>;
12
- export {};
@@ -1,10 +0,0 @@
1
- import * as React from "react";
2
- import { IkasOrderLineItem } from "../../../../../models/index";
3
- import CheckoutViewModel from "../../../model";
4
- declare type Props = {
5
- vm: CheckoutViewModel;
6
- currencyCode: string;
7
- cartItem: IkasOrderLineItem;
8
- };
9
- export declare const CartItem: React.FC<Props>;
10
- export {};
@@ -1,8 +0,0 @@
1
- import * as React from "react";
2
- import CheckoutViewModel from "../../model";
3
- declare type Props = {
4
- vm: CheckoutViewModel;
5
- allowExpand?: boolean;
6
- };
7
- export declare const CartSummary: React.FC<Props>;
8
- export {};
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- declare type Props = {
3
- className?: string;
4
- };
5
- declare const SVGCheck: React.FC<Props>;
6
- export default SVGCheck;
@@ -1,10 +0,0 @@
1
- import * as React from "react";
2
- declare type Props = {
3
- value: boolean;
4
- label?: string | React.ReactElement;
5
- hasError?: boolean;
6
- removePadding?: boolean;
7
- onChange: (value: boolean) => void;
8
- };
9
- export declare const Checkbox: React.FC<Props>;
10
- export {};
@@ -1,7 +0,0 @@
1
- import * as React from "react";
2
- import CheckoutViewModel from "../../model";
3
- declare type Props = {
4
- vm: CheckoutViewModel;
5
- };
6
- export declare const CreditCardForm: React.FC<Props>;
7
- export {};
@@ -1,26 +0,0 @@
1
- export default class CreditCardData {
2
- cardNumber?: string;
3
- cardHolderName?: string;
4
- expirationDate?: string;
5
- cvv?: string;
6
- installmentCount: number;
7
- threeDSecure: boolean;
8
- constructor(data?: Partial<CreditCardData>);
9
- get validationResult(): CreditCardDataValidation;
10
- get isValid(): boolean;
11
- toInput: () => {
12
- cardNumber: string;
13
- cardHolderName: string;
14
- cvv: string;
15
- expiredMonth: number;
16
- expiredYear: number;
17
- installmentCount: number;
18
- threeDSecure: boolean;
19
- };
20
- }
21
- export declare type CreditCardDataValidation = {
22
- cardNumber: boolean;
23
- cardHolderName: boolean;
24
- expirationDate: boolean;
25
- cvv: boolean;
26
- };
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- declare type Props = {
3
- className?: string;
4
- };
5
- declare const SVGAmex: React.FC<Props>;
6
- export default SVGAmex;
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- declare type Props = {
3
- className?: string;
4
- };
5
- declare const SVGMasterCard: React.FC<Props>;
6
- export default SVGMasterCard;
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- declare type Props = {
3
- className?: string;
4
- };
5
- declare const SVGTroy: React.FC<Props>;
6
- export default SVGTroy;
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- declare type Props = {
3
- className?: string;
4
- };
5
- declare const SVGVisa: React.FC<Props>;
6
- export default SVGVisa;
@@ -1,15 +0,0 @@
1
- import * as React from "react";
2
- import CustomerAddressesViewModel from "./model";
3
- declare type Props = {
4
- vm: CustomerAddressesViewModel;
5
- };
6
- declare const _default: React.FunctionComponent<Props>;
7
- export default _default;
8
- declare type CustomerAddressFormProps = {
9
- vm: CustomerAddressesViewModel;
10
- };
11
- export declare const CustomerAddressForm: React.FC<CustomerAddressFormProps>;
12
- declare type SaveAddressProps = {
13
- vm: CustomerAddressesViewModel;
14
- };
15
- export declare const SaveAddressCheckboxAndTitle: React.FC<SaveAddressProps>;
@@ -1,21 +0,0 @@
1
- import { IkasCustomerAddress } from "../../../../models/index";
2
- import CheckoutViewModel from "../../model";
3
- export declare type AddressType = "shipping" | "billing";
4
- export default class CustomerAddressesViewModel {
5
- vm: CheckoutViewModel;
6
- addressType: AddressType;
7
- editingCustomerAddress: IkasCustomerAddress | null;
8
- isDeleteAddressLoading: boolean;
9
- isEditAddressLoading: boolean;
10
- isEditAddressErrorsVisible: boolean;
11
- constructor(vm: CheckoutViewModel, addressType: AddressType);
12
- get address(): import("../../../../models/data/order/address/index").IkasOrderAddress | null | undefined;
13
- get selectedAddressId(): string | undefined;
14
- onAddressSelect: (address?: IkasCustomerAddress | undefined) => void;
15
- onEditAddressClick: (address?: IkasCustomerAddress | undefined) => void;
16
- onCancelEditAddressClick: () => void;
17
- onDeleteAddressClick: () => Promise<void>;
18
- onSaveAddressClick: () => Promise<void>;
19
- firstNameChangeCallback: (value: string) => void;
20
- lastNameChangeCallback: (value: string) => void;
21
- }
@@ -1,8 +0,0 @@
1
- import * as React from "react";
2
- import CheckoutViewModel from "../../../model";
3
- declare type Props = {
4
- vm: CheckoutViewModel;
5
- onClose: () => void;
6
- };
7
- export declare const CustomerLoginRequiredError: React.FC<Props>;
8
- export {};
@@ -1,7 +0,0 @@
1
- import * as React from "react";
2
- import CheckoutViewModel from "../../model";
3
- declare type CommonProps = {
4
- vm: CheckoutViewModel;
5
- };
6
- declare const _default: React.FunctionComponent<CommonProps>;
7
- export default _default;
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- declare type Props = {
3
- onClose: () => void;
4
- };
5
- export declare const NoShippingError: React.FC<Props>;
6
- export {};
@@ -1,8 +0,0 @@
1
- import * as React from "react";
2
- import { CheckoutError } from "../../../model";
3
- declare type Props = {
4
- error?: CheckoutError | null;
5
- onClose: () => void;
6
- };
7
- export declare const PaymentError: React.FC<Props>;
8
- export {};
@@ -1,8 +0,0 @@
1
- import * as React from "react";
2
- import CheckoutViewModel, { CheckoutError } from "../../../model";
3
- declare type Props = {
4
- vm: CheckoutViewModel;
5
- error: CheckoutError;
6
- };
7
- export declare const StockError: React.FC<Props>;
8
- export {};
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- declare type Props = {
3
- onClose: () => void;
4
- };
5
- export declare const UnknownError: React.FC<Props>;
6
- export {};
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- declare type ExpandableSectionProps = {
3
- title: string;
4
- };
5
- declare const _default: React.FunctionComponent<ExpandableSectionProps>;
6
- export default _default;
@@ -1,6 +0,0 @@
1
- import * as React from "react";
2
- declare type Props = {
3
- className?: string;
4
- };
5
- declare const SVGCaretDown: React.FC<Props>;
6
- export default SVGCaretDown;
@@ -1,3 +0,0 @@
1
- import * as React from "react";
2
- import { Props } from "./model";
3
- export declare const FormItem: React.FC<Props>;
@@ -1,59 +0,0 @@
1
- /// <reference types="react" />
2
- export default class FormItemViewModel implements Props {
3
- type: FormItemType;
4
- inputType?: FormItemInputType;
5
- options?: FormItemSelectOption[];
6
- label: string;
7
- value?: string;
8
- hasError?: boolean;
9
- errorText?: string;
10
- tooltipText?: string;
11
- country?: string | null;
12
- textAreaPlaceholder?: string | null;
13
- rightContent?: React.ReactElement | null;
14
- disableResize?: boolean;
15
- onChange: (value: string) => void;
16
- constructor(props: Props);
17
- get formItemStyle(): string;
18
- get labelStyle(): string;
19
- get inputStyle(): string;
20
- onValueChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
21
- onTextAreaValueChange: (e: React.ChangeEvent<HTMLTextAreaElement>) => void;
22
- onSelectChange: (e: React.ChangeEvent<HTMLSelectElement>) => void;
23
- onPhoneChange: (value: string) => void;
24
- onCountryChange: (value: string | undefined) => void;
25
- }
26
- export interface Props {
27
- type: FormItemType;
28
- inputType?: FormItemInputType;
29
- options?: FormItemSelectOption[];
30
- label: string;
31
- value?: string;
32
- hasError?: boolean;
33
- errorText?: string;
34
- name?: string;
35
- autocomplete?: string;
36
- tooltipText?: string;
37
- country?: string | null;
38
- currentCountryCode?: string | null;
39
- style?: React.CSSProperties;
40
- textAreaPlaceholder?: string | null;
41
- rightContent?: React.ReactElement | null;
42
- disableResize?: boolean;
43
- onChange: (value: string) => void;
44
- }
45
- export declare enum FormItemType {
46
- TEXT = 0,
47
- TEXT_AREA = 1,
48
- SELECT = 2,
49
- TEL = 3
50
- }
51
- export declare type FormItemSelectOption = {
52
- value: string;
53
- label: string;
54
- };
55
- export declare enum FormItemInputType {
56
- NUMERIC = "numeric",
57
- TEL = "tel",
58
- EMAIL = "email"
59
- }
@@ -1,2 +0,0 @@
1
- import * as React from "react";
2
- export declare const FullscreenLoading: React.FC;
@@ -1,11 +0,0 @@
1
- import * as React from "react";
2
- declare type Props = {
3
- value?: string;
4
- buttonLabel: string;
5
- placeholder?: string;
6
- isLoading?: boolean;
7
- onClick: () => void;
8
- onChange: (value: string) => void;
9
- };
10
- declare const _default: React.FunctionComponent<Props>;
11
- export default _default;
@@ -1,8 +0,0 @@
1
- import * as React from "react";
2
- declare type Props = {
3
- title: string;
4
- modalContent: string | React.ReactElement;
5
- onClose: () => void;
6
- };
7
- export declare const Modal: React.FC<Props>;
8
- export {};
@@ -1,9 +0,0 @@
1
- import * as React from "react";
2
- declare type Props = {
3
- type: "warning" | "error" | "success";
4
- title?: string;
5
- content: string | React.ReactElement;
6
- onClose?: () => void;
7
- };
8
- declare const _default: React.FunctionComponent<Props>;
9
- export default _default;