@ikas/storefront 0.2.0-alpha.5 → 0.2.0-alpha.7

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 (685) hide show
  1. package/build/cjs/[slug]-c3efec75.js +1 -0
  2. package/build/{__generated__ → cjs/__generated__}/global-types.d.ts +0 -0
  3. package/build/{analytics → cjs/analytics}/analytics.d.ts +0 -0
  4. package/build/{analytics → cjs/analytics}/events.d.ts +0 -0
  5. package/build/{analytics → cjs/analytics}/facebookPixel.d.ts +0 -0
  6. package/build/{analytics → cjs/analytics}/googleTagManager.d.ts +0 -0
  7. package/build/{analytics → cjs/analytics}/head/index.d.ts +0 -0
  8. package/build/{analytics → cjs/analytics}/ikas.d.ts +0 -0
  9. package/build/{analytics → cjs/analytics}/index.d.ts +0 -0
  10. package/build/cjs/analytics.js +1 -0
  11. package/build/{api → cjs/api}/apollo.d.ts +0 -0
  12. package/build/{api → cjs/api}/back-in-stock-reminder/__generated__/listProductBackInStockRemind.d.ts +0 -0
  13. package/build/{api → cjs/api}/back-in-stock-reminder/__generated__/saveProductBackInStockRemind.d.ts +0 -0
  14. package/build/{api → cjs/api}/back-in-stock-reminder/index.d.ts +0 -0
  15. package/build/{api → cjs/api}/blog/__generated__/getBlog.d.ts +0 -0
  16. package/build/{api → cjs/api}/blog/__generated__/listBlog.d.ts +0 -0
  17. package/build/{api → cjs/api}/blog/__generated__/listBlogCategory.d.ts +0 -0
  18. package/build/{api → cjs/api}/blog/__generated__/listBlogMetaData.d.ts +0 -0
  19. package/build/{api → cjs/api}/blog/index.d.ts +0 -0
  20. package/build/{api → cjs/api}/brand/__generated__/listProductBrand.d.ts +0 -0
  21. package/build/{api → cjs/api}/brand/index.d.ts +0 -0
  22. package/build/{api → cjs/api}/cart/__generated__/getCart.d.ts +0 -0
  23. package/build/{api → cjs/api}/cart/__generated__/saveItemToCart.d.ts +0 -0
  24. package/build/{api → cjs/api}/cart/index.d.ts +0 -0
  25. package/build/{api → cjs/api}/category/__generated__/listCategory.d.ts +0 -0
  26. package/build/{api → cjs/api}/category/__generated__/listCategoryPaths.d.ts +0 -0
  27. package/build/{api → cjs/api}/category/index.d.ts +0 -0
  28. package/build/{api → cjs/api}/checkout/__generated__/addCouponCodeToCheckout.d.ts +0 -0
  29. package/build/{api → cjs/api}/checkout/__generated__/checkStocks.d.ts +0 -0
  30. package/build/{api → cjs/api}/checkout/__generated__/createSaleTransactionWithCheckout.d.ts +0 -0
  31. package/build/{api → cjs/api}/checkout/__generated__/getCheckoutByCartId.d.ts +0 -0
  32. package/build/{api → cjs/api}/checkout/__generated__/getCheckoutById.d.ts +0 -0
  33. package/build/{api → cjs/api}/checkout/__generated__/getOrder.d.ts +0 -0
  34. package/build/{api → cjs/api}/checkout/__generated__/listCheckoutSettings.d.ts +0 -0
  35. package/build/{api → cjs/api}/checkout/__generated__/listPaymentGateway.d.ts +0 -0
  36. package/build/{api → cjs/api}/checkout/__generated__/retrieveInstallmentInfo.d.ts +0 -0
  37. package/build/{api → cjs/api}/checkout/__generated__/saveCheckout.d.ts +0 -0
  38. package/build/{api → cjs/api}/checkout/index.d.ts +0 -0
  39. package/build/{api → cjs/api}/city/__generated__/listCity.d.ts +0 -0
  40. package/build/{api → cjs/api}/city/index.d.ts +0 -0
  41. package/build/{api → cjs/api}/contact-form/__generated__/sendContactFormToMerchant.d.ts +0 -0
  42. package/build/{api → cjs/api}/contact-form/index.d.ts +0 -0
  43. package/build/{api → cjs/api}/country/__generated__/getAvailableShippingCountries.d.ts +0 -0
  44. package/build/{api → cjs/api}/country/__generated__/getMyCountry.d.ts +0 -0
  45. package/build/{api → cjs/api}/country/__generated__/listCountry.d.ts +0 -0
  46. package/build/{api → cjs/api}/country/index.d.ts +0 -0
  47. package/build/{api → cjs/api}/customer/__generated__/checkCustomerEmail.d.ts +0 -0
  48. package/build/{api → cjs/api}/customer/__generated__/createCustomerEmailSubscription.d.ts +0 -0
  49. package/build/{api → cjs/api}/customer/__generated__/createOrderRefundRequest.d.ts +0 -0
  50. package/build/{api → cjs/api}/customer/__generated__/customerForgotPassword.d.ts +0 -0
  51. package/build/{api → cjs/api}/customer/__generated__/customerLogin.d.ts +0 -0
  52. package/build/{api → cjs/api}/customer/__generated__/customerRecoverPassword.d.ts +0 -0
  53. package/build/{api → cjs/api}/customer/__generated__/customerRefreshToken.d.ts +0 -0
  54. package/build/{api → cjs/api}/customer/__generated__/getCustomerOrders.d.ts +0 -0
  55. package/build/{api → cjs/api}/customer/__generated__/getLastViewedProducts.d.ts +0 -0
  56. package/build/{api → cjs/api}/customer/__generated__/getMyCustomer.d.ts +0 -0
  57. package/build/{api → cjs/api}/customer/__generated__/listOrderRefundSettings.d.ts +0 -0
  58. package/build/{api → cjs/api}/customer/__generated__/listOrderTransactions.d.ts +0 -0
  59. package/build/{api → cjs/api}/customer/__generated__/registerCustomer.d.ts +0 -0
  60. package/build/{api → cjs/api}/customer/__generated__/saveLastViewedProducts.d.ts +0 -0
  61. package/build/{api → cjs/api}/customer/__generated__/saveMyCustomer.d.ts +0 -0
  62. package/build/{api → cjs/api}/customer/index.d.ts +0 -0
  63. package/build/{api → cjs/api}/customer-review/__generated__/createCustomerReview.d.ts +0 -0
  64. package/build/{api → cjs/api}/customer-review/__generated__/listCustomerReviews.d.ts +0 -0
  65. package/build/{api → cjs/api}/customer-review/index.d.ts +0 -0
  66. package/build/{api → cjs/api}/district/__generated__/listDistrict.d.ts +0 -0
  67. package/build/{api → cjs/api}/district/index.d.ts +0 -0
  68. package/build/{api → cjs/api}/favorite-product/__generated__/isFavoriteProduct.d.ts +0 -0
  69. package/build/{api → cjs/api}/favorite-product/__generated__/listFavoriteProducts.d.ts +0 -0
  70. package/build/{api → cjs/api}/favorite-product/__generated__/saveFavoriteProduct.d.ts +0 -0
  71. package/build/{api → cjs/api}/favorite-product/index.d.ts +0 -0
  72. package/build/{api → cjs/api}/html-meta-data/__generated__/listHTMLMetaData.d.ts +0 -0
  73. package/build/{api → cjs/api}/html-meta-data/index.d.ts +0 -0
  74. package/build/{api → cjs/api}/index.d.ts +0 -0
  75. package/build/{api → cjs/api}/merchant/__generated__/listMerchantSettings.d.ts +0 -0
  76. package/build/{api → cjs/api}/merchant/index.d.ts +0 -0
  77. package/build/{api → cjs/api}/product-attribute/__generated__/listProductAttribute.d.ts +0 -0
  78. package/build/{api → cjs/api}/product-attribute/index.d.ts +0 -0
  79. package/build/{api → cjs/api}/product-option-set/__generated__/ListProductOptionSet.d.ts +0 -0
  80. package/build/{api → cjs/api}/product-option-set/index.d.ts +0 -0
  81. package/build/{api → cjs/api}/product-search/__generated__/getProductFilterData.d.ts +0 -0
  82. package/build/{api → cjs/api}/product-search/__generated__/searchProducts.d.ts +0 -0
  83. package/build/{api → cjs/api}/product-search/index.d.ts +0 -0
  84. package/build/{api → cjs/api}/state/__generated__/listState.d.ts +0 -0
  85. package/build/{api → cjs/api}/state/index.d.ts +0 -0
  86. package/build/{api → cjs/api}/stock-location/__generated__/listStockLocation.d.ts +0 -0
  87. package/build/{api → cjs/api}/stock-location/index.d.ts +0 -0
  88. package/build/{api → cjs/api}/storefront/__generated__/getStorefront.d.ts +0 -0
  89. package/build/{api → cjs/api}/storefront/index.d.ts +0 -0
  90. package/build/{api → cjs/api}/variant-type/__generated__/listVariantType.d.ts +0 -0
  91. package/build/{api → cjs/api}/variant-type/index.d.ts +0 -0
  92. package/build/cjs/api.js +1 -0
  93. package/build/{assets → cjs/assets}/translations/checkout/en.js +0 -0
  94. package/build/{assets → cjs/assets}/translations/checkout/tr.js +0 -0
  95. package/build/cjs/base-6b93f997.js +1 -0
  96. package/build/cjs/blog-category-list-617dc467.js +1 -0
  97. package/build/cjs/cart-8b6a2951.js +1 -0
  98. package/build/{components → cjs/components}/checkout/components/address-form/index.d.ts +0 -0
  99. package/build/{components → cjs/components}/checkout/components/address-form/model.d.ts +0 -0
  100. package/build/{components → cjs/components}/checkout/components/button/index.d.ts +0 -0
  101. package/build/{components → cjs/components}/checkout/components/cart-summary/cart-item/index.d.ts +0 -0
  102. package/build/{components → cjs/components}/checkout/components/cart-summary/index.d.ts +0 -0
  103. package/build/{components → cjs/components}/checkout/components/checkbox/check.d.ts +0 -0
  104. package/build/{components → cjs/components}/checkout/components/checkbox/index.d.ts +0 -0
  105. package/build/{components → cjs/components}/checkout/components/credit-card-form/index.d.ts +0 -0
  106. package/build/{components → cjs/components}/checkout/components/credit-card-form/model.d.ts +0 -0
  107. package/build/{components → cjs/components}/checkout/components/credit-card-form/svg/amex.d.ts +0 -0
  108. package/build/{components → cjs/components}/checkout/components/credit-card-form/svg/master-card.d.ts +0 -0
  109. package/build/{components → cjs/components}/checkout/components/credit-card-form/svg/troy.d.ts +0 -0
  110. package/build/{components → cjs/components}/checkout/components/credit-card-form/svg/visa.d.ts +0 -0
  111. package/build/{components → cjs/components}/checkout/components/customer-addresses/index.d.ts +0 -0
  112. package/build/{components → cjs/components}/checkout/components/customer-addresses/model.d.ts +0 -0
  113. package/build/{components → cjs/components}/checkout/components/error/customer-login-required-error/index.d.ts +0 -0
  114. package/build/{components → cjs/components}/checkout/components/error/index.d.ts +0 -0
  115. package/build/{components → cjs/components}/checkout/components/error/no-shipping-error/index.d.ts +0 -0
  116. package/build/{components → cjs/components}/checkout/components/error/payment-error/index.d.ts +0 -0
  117. package/build/{components → cjs/components}/checkout/components/error/stock-error/index.d.ts +0 -0
  118. package/build/{components → cjs/components}/checkout/components/error/unknown-error/index.d.ts +0 -0
  119. package/build/{components → cjs/components}/checkout/components/expandable-section/index.d.ts +0 -0
  120. package/build/{components → cjs/components}/checkout/components/form-item/caret-down.d.ts +0 -0
  121. package/build/{components → cjs/components}/checkout/components/form-item/index.d.ts +0 -0
  122. package/build/{components → cjs/components}/checkout/components/form-item/model.d.ts +0 -0
  123. package/build/{components → cjs/components}/checkout/components/fullscreen-loading/index.d.ts +0 -0
  124. package/build/{components → cjs/components}/checkout/components/input-with-button/index.d.ts +0 -0
  125. package/build/{components → cjs/components}/checkout/components/modal/index.d.ts +0 -0
  126. package/build/{components → cjs/components}/checkout/components/notification-box/index.d.ts +0 -0
  127. package/build/{components → cjs/components}/checkout/components/select-box/index.d.ts +0 -0
  128. package/build/{components → cjs/components}/checkout/components/step-container/index.d.ts +0 -0
  129. package/build/{components → cjs/components}/checkout/components/svg/arrow-down.d.ts +0 -0
  130. package/build/{components → cjs/components}/checkout/components/svg/arrow-left.d.ts +0 -0
  131. package/build/{components → cjs/components}/checkout/components/svg/arrow-right.d.ts +0 -0
  132. package/build/{components → cjs/components}/checkout/components/svg/cross.d.ts +0 -0
  133. package/build/{components → cjs/components}/checkout/components/svg/discount.d.ts +0 -0
  134. package/build/{components → cjs/components}/checkout/components/svg/external.d.ts +0 -0
  135. package/build/{components → cjs/components}/checkout/components/svg/gift.d.ts +0 -0
  136. package/build/{components → cjs/components}/checkout/components/svg/ikas.d.ts +0 -0
  137. package/build/{components → cjs/components}/checkout/components/svg/lock.d.ts +0 -0
  138. package/build/{components → cjs/components}/checkout/components/svg/shopping-cart.d.ts +0 -0
  139. package/build/{components → cjs/components}/checkout/components/svg/success-circle.d.ts +0 -0
  140. package/build/{components → cjs/components}/checkout/components/svg/tag.d.ts +0 -0
  141. package/build/{components → cjs/components}/checkout/components/svg/warning.d.ts +0 -0
  142. package/build/{components → cjs/components}/checkout/components/toggle/index.d.ts +0 -0
  143. package/build/{components → cjs/components}/checkout/components/tooltip/index.d.ts +0 -0
  144. package/build/{components → cjs/components}/checkout/index.d.ts +0 -0
  145. package/build/{components → cjs/components}/checkout/model.d.ts +0 -0
  146. package/build/{components → cjs/components}/checkout/steps/step-info/index.d.ts +0 -0
  147. package/build/{components → cjs/components}/checkout/steps/step-payment/billing-address/index.d.ts +0 -0
  148. package/build/{components → cjs/components}/checkout/steps/step-payment/index.d.ts +0 -0
  149. package/build/{components → cjs/components}/checkout/steps/step-payment/payment-gateways/index.d.ts +0 -0
  150. package/build/{components → cjs/components}/checkout/steps/step-payment/payment-gateways/installments/index.d.ts +0 -0
  151. package/build/{components → cjs/components}/checkout/steps/step-shipping/index.d.ts +0 -0
  152. package/build/{components → cjs/components}/checkout/steps/step-success/index.d.ts +0 -0
  153. package/build/{components → cjs/components}/error/index.d.ts +0 -0
  154. package/build/{components → cjs/components}/image/index.d.ts +0 -0
  155. package/build/{components → cjs/components}/index.d.ts +0 -0
  156. package/build/{components → cjs/components}/page/ThemeComponent.d.ts +0 -0
  157. package/build/{components → cjs/components}/page/head.d.ts +0 -0
  158. package/build/{components → cjs/components}/page/index.d.ts +1 -0
  159. package/build/{components → cjs/components}/page-editor/ThemeComponentEditor.d.ts +0 -0
  160. package/build/{components → cjs/components}/page-editor/index.d.ts +0 -0
  161. package/build/{components → cjs/components}/page-editor/model.d.ts +0 -0
  162. package/build/cjs/components.js +1 -0
  163. package/build/cjs/en-e3cbabf6.js +1 -0
  164. package/build/cjs/get-7400a559.js +15 -0
  165. package/build/cjs/i18n-0303b446.js +1 -0
  166. package/build/cjs/index-2bed1aff.js +1 -0
  167. package/build/cjs/index-30376afa.js +1 -0
  168. package/build/cjs/index-45530bb2.js +1 -0
  169. package/build/cjs/index-5b6bd214.js +1 -0
  170. package/build/cjs/index-7343404a.js +1 -0
  171. package/build/cjs/index-84548617.js +1 -0
  172. package/build/cjs/index-af30c815.js +3 -0
  173. package/build/cjs/index-c75f4868.js +1 -0
  174. package/build/cjs/index-d04fee37.js +1 -0
  175. package/build/{index.css → cjs/index.css} +0 -0
  176. package/build/{index.d.ts → cjs/index.d.ts} +0 -0
  177. package/build/cjs/index.js +1 -0
  178. package/build/{models → cjs/models}/data/blog/index.d.ts +0 -0
  179. package/build/{models → cjs/models}/data/brand/index.d.ts +0 -0
  180. package/build/{models → cjs/models}/data/cart/index.d.ts +0 -0
  181. package/build/{models → cjs/models}/data/category/index.d.ts +0 -0
  182. package/build/{models → cjs/models}/data/checkout/index.d.ts +0 -0
  183. package/build/{models → cjs/models}/data/checkout-settings/index.d.ts +0 -0
  184. package/build/{models → cjs/models}/data/city/index.d.ts +0 -0
  185. package/build/{models → cjs/models}/data/contact-form/index.d.ts +0 -0
  186. package/build/{models → cjs/models}/data/country/index.d.ts +0 -0
  187. package/build/{models → cjs/models}/data/customer/address/index.d.ts +0 -0
  188. package/build/{models → cjs/models}/data/customer/index.d.ts +0 -0
  189. package/build/{models → cjs/models}/data/customer-review/index.d.ts +0 -0
  190. package/build/{models → cjs/models}/data/customer-review-settings/index.d.ts +0 -0
  191. package/build/{models → cjs/models}/data/district/index.d.ts +0 -0
  192. package/build/{models → cjs/models}/data/favorite-product/index.d.ts +0 -0
  193. package/build/{models → cjs/models}/data/html-meta-data/index.d.ts +0 -0
  194. package/build/{models → cjs/models}/data/image/index.d.ts +0 -0
  195. package/build/{models → cjs/models}/data/index.d.ts +1 -1
  196. package/build/{models → cjs/models}/data/installment-info/index.d.ts +0 -0
  197. package/build/{models → cjs/models}/data/merchant-settings/index.d.ts +0 -0
  198. package/build/{models → cjs/models}/data/order/address/index.d.ts +0 -0
  199. package/build/{models → cjs/models}/data/order/adjustment/index.d.ts +0 -0
  200. package/build/{models → cjs/models}/data/order/gift-line/index.d.ts +0 -0
  201. package/build/{models → cjs/models}/data/order/index.d.ts +0 -0
  202. package/build/{models → cjs/models}/data/order/line-item/discount/index.d.ts +0 -0
  203. package/build/{models → cjs/models}/data/order/line-item/index.d.ts +0 -0
  204. package/build/{models → cjs/models}/data/order/line-item/variant/index.d.ts +0 -0
  205. package/build/{models → cjs/models}/data/order/refund/index.d.ts +0 -0
  206. package/build/{models → cjs/models}/data/order/refund/refund-line-item/index.d.ts +0 -0
  207. package/build/{models → cjs/models}/data/order/refund/settings.d.ts +0 -0
  208. package/build/{models → cjs/models}/data/order/shipping-line/index.d.ts +0 -0
  209. package/build/{models → cjs/models}/data/order-transaction/index.d.ts +0 -0
  210. package/build/{models → cjs/models}/data/payment-gateway/index.d.ts +0 -0
  211. package/build/{models → cjs/models}/data/product/attribute-value/index.d.ts +0 -0
  212. package/build/{models → cjs/models}/data/product/index.d.ts +0 -0
  213. package/build/{models → cjs/models}/data/product/variant/index.d.ts +0 -0
  214. package/build/{models → cjs/models}/data/product/variant/price/index.d.ts +0 -0
  215. package/build/{models → cjs/models}/data/product/variant-type/index.d.ts +0 -0
  216. package/build/{models → cjs/models}/data/product-attribute/index.d.ts +0 -0
  217. package/build/{models → cjs/models}/data/product-attribute/product-attribute-option/index.d.ts +0 -0
  218. package/build/{models → cjs/models}/data/product-attribute/product-attribute-table-cell/index.d.ts +0 -0
  219. package/build/{models → cjs/models}/data/product-attribute/product-attribute-table-template/index.d.ts +0 -0
  220. package/build/{models → cjs/models}/data/product-back-in-stock-settings/index.d.ts +0 -0
  221. package/build/{models → cjs/models}/data/product-filter/index.d.ts +0 -0
  222. package/build/{models → cjs/models}/data/product-option-set/index.d.ts +0 -0
  223. package/build/{models → cjs/models}/data/product-tag/index.d.ts +0 -0
  224. package/build/{models → cjs/models}/data/sales-channel/index.d.ts +0 -0
  225. package/build/{models → cjs/models}/data/simple-product/index.d.ts +0 -0
  226. package/build/{models → cjs/models}/data/state/index.d.ts +0 -0
  227. package/build/{models → cjs/models}/data/storefront/domain/index.d.ts +0 -0
  228. package/build/{models → cjs/models}/data/storefront/index.d.ts +0 -0
  229. package/build/{models → cjs/models}/data/storefront/localization/index.d.ts +0 -0
  230. package/build/{models → cjs/models}/data/storefront/routing/index.d.ts +0 -0
  231. package/build/{models → cjs/models}/data/storefront/theme/index.d.ts +0 -0
  232. package/build/{models → cjs/models}/data/storefront/theme-localization/index.d.ts +0 -0
  233. package/build/{models → cjs/models}/data/variant-type/index.d.ts +0 -0
  234. package/build/{models → cjs/models}/data/variant-type/variant-value/index.d.ts +0 -0
  235. package/build/{models → cjs/models}/index.d.ts +0 -0
  236. package/build/{models → cjs/models}/theme/component/index.d.ts +0 -0
  237. package/build/{models → cjs/models}/theme/component/prop/index.d.ts +0 -0
  238. package/build/{models → cjs/models}/theme/custom-data/index.d.ts +0 -0
  239. package/build/{models → cjs/models}/theme/index.d.ts +0 -0
  240. package/build/{models → cjs/models}/theme/page/component/index.d.ts +0 -0
  241. package/build/{models → cjs/models}/theme/page/component/prop-value/attribute-list.d.ts +0 -0
  242. package/build/{models → cjs/models}/theme/page/component/prop-value/attribute.d.ts +0 -0
  243. package/build/{models → cjs/models}/theme/page/component/prop-value/blog-category-list.d.ts +0 -0
  244. package/build/{models → cjs/models}/theme/page/component/prop-value/blog-category.d.ts +0 -0
  245. package/build/{models → cjs/models}/theme/page/component/prop-value/blog-list.d.ts +0 -0
  246. package/build/{models → cjs/models}/theme/page/component/prop-value/blog.d.ts +0 -0
  247. package/build/{models → cjs/models}/theme/page/component/prop-value/brand-list.d.ts +0 -0
  248. package/build/{models → cjs/models}/theme/page/component/prop-value/brand.d.ts +0 -0
  249. package/build/{models → cjs/models}/theme/page/component/prop-value/category-list.d.ts +0 -0
  250. package/build/{models → cjs/models}/theme/page/component/prop-value/category.d.ts +0 -0
  251. package/build/{models → cjs/models}/theme/page/component/prop-value/link.d.ts +0 -0
  252. package/build/{models → cjs/models}/theme/page/component/prop-value/product-detail.d.ts +0 -0
  253. package/build/{models → cjs/models}/theme/page/component/prop-value/product-list.d.ts +0 -0
  254. package/build/{models → cjs/models}/theme/page/index.d.ts +0 -0
  255. package/build/{models → cjs/models}/theme/settings/index.d.ts +0 -0
  256. package/build/{models → cjs/models}/theme/settings/prop/color/index.d.ts +0 -0
  257. package/build/{models → cjs/models}/theme/settings/prop/favicon/index.d.ts +0 -0
  258. package/build/{models → cjs/models}/theme/theme.d.ts +0 -0
  259. package/build/{models → cjs/models}/ui/blog-category-list/index.d.ts +0 -0
  260. package/build/{models → cjs/models}/ui/blog-list/index.d.ts +0 -0
  261. package/build/{models → cjs/models}/ui/brand-list/index.d.ts +0 -0
  262. package/build/{models → cjs/models}/ui/category-list/index.d.ts +0 -0
  263. package/build/{models → cjs/models}/ui/component-renderer/index.d.ts +0 -0
  264. package/build/{models → cjs/models}/ui/customer-review-list/index.d.ts +0 -0
  265. package/build/{models → cjs/models}/ui/index.d.ts +0 -0
  266. package/build/{models → cjs/models}/ui/navigation-link/index.d.ts +0 -0
  267. package/build/{models → cjs/models}/ui/product-attribute-detail/index.d.ts +0 -0
  268. package/build/{models → cjs/models}/ui/product-attribute-list/index.d.ts +0 -0
  269. package/build/{models → cjs/models}/ui/product-detail/index.d.ts +0 -0
  270. package/build/{models → cjs/models}/ui/product-list/index.d.ts +0 -0
  271. package/build/{models → cjs/models}/ui/validator/form/account-info.d.ts +0 -0
  272. package/build/{models → cjs/models}/ui/validator/form/address.d.ts +0 -0
  273. package/build/{models → cjs/models}/ui/validator/form/contact-form.d.ts +0 -0
  274. package/build/{models → cjs/models}/ui/validator/form/customer-review.d.ts +0 -0
  275. package/build/{models → cjs/models}/ui/validator/form/forgot-password.d.ts +0 -0
  276. package/build/{models → cjs/models}/ui/validator/form/login.d.ts +0 -0
  277. package/build/{models → cjs/models}/ui/validator/form/recover-password.d.ts +0 -0
  278. package/build/{models → cjs/models}/ui/validator/form/register.d.ts +0 -0
  279. package/build/{models → cjs/models}/ui/validator/index.d.ts +0 -0
  280. package/build/{models → cjs/models}/ui/validator/rules/index.d.ts +0 -0
  281. package/build/cjs/models.js +1 -0
  282. package/build/{pages → cjs/pages}/404.d.ts +0 -0
  283. package/build/{pages → cjs/pages}/[slug]/index.d.ts +0 -0
  284. package/build/{pages → cjs/pages}/account/addresses.d.ts +0 -0
  285. package/build/{pages → cjs/pages}/account/favorite-products.d.ts +0 -0
  286. package/build/{pages → cjs/pages}/account/forgot-password.d.ts +0 -0
  287. package/build/{pages → cjs/pages}/account/index.d.ts +0 -0
  288. package/build/{pages → cjs/pages}/account/login.d.ts +0 -0
  289. package/build/{pages → cjs/pages}/account/orders/[id].d.ts +0 -0
  290. package/build/{pages → cjs/pages}/account/orders/index.d.ts +0 -0
  291. package/build/{pages → cjs/pages}/account/recover-password.d.ts +0 -0
  292. package/build/{pages → cjs/pages}/account/register.d.ts +0 -0
  293. package/build/{pages → cjs/pages}/blog/[slug].d.ts +0 -0
  294. package/build/{pages → cjs/pages}/blog/index.d.ts +0 -0
  295. package/build/{pages → cjs/pages}/cart.d.ts +0 -0
  296. package/build/{pages → cjs/pages}/checkout.d.ts +0 -0
  297. package/build/{pages → cjs/pages}/editor.d.ts +1 -0
  298. package/build/{pages → cjs/pages}/home.d.ts +0 -0
  299. package/build/cjs/pages/index.d.ts +19 -0
  300. package/build/{pages → cjs/pages}/pages/[slug].d.ts +0 -0
  301. package/build/{pages → cjs/pages}/search.d.ts +0 -0
  302. package/build/cjs/pages.js +1 -0
  303. package/build/{providers → cjs/providers}/page-data-get.d.ts +0 -0
  304. package/build/{providers → cjs/providers}/page-data-init.d.ts +0 -0
  305. package/build/{providers → cjs/providers}/page-data-next.d.ts +0 -0
  306. package/build/{providers → cjs/providers}/placeholders.d.ts +0 -0
  307. package/build/{providers → cjs/providers}/prop-value/attribute-list.d.ts +0 -0
  308. package/build/{providers → cjs/providers}/prop-value/attribute.d.ts +0 -0
  309. package/build/{providers → cjs/providers}/prop-value/blog-category-list.d.ts +0 -0
  310. package/build/{providers → cjs/providers}/prop-value/blog-category.d.ts +0 -0
  311. package/build/{providers → cjs/providers}/prop-value/blog-list.d.ts +0 -0
  312. package/build/{providers → cjs/providers}/prop-value/blog.d.ts +0 -0
  313. package/build/{providers → cjs/providers}/prop-value/boolean.d.ts +0 -0
  314. package/build/{providers → cjs/providers}/prop-value/brand-list.d.ts +0 -0
  315. package/build/{providers → cjs/providers}/prop-value/brand.d.ts +0 -0
  316. package/build/{providers → cjs/providers}/prop-value/category-list.d.ts +0 -0
  317. package/build/{providers → cjs/providers}/prop-value/category.d.ts +0 -0
  318. package/build/{providers → cjs/providers}/prop-value/color.d.ts +0 -0
  319. package/build/{providers → cjs/providers}/prop-value/custom.d.ts +0 -0
  320. package/build/{providers → cjs/providers}/prop-value/image-list.d.ts +0 -0
  321. package/build/{providers → cjs/providers}/prop-value/image.d.ts +0 -0
  322. package/build/{providers → cjs/providers}/prop-value/index.d.ts +0 -0
  323. package/build/{providers → cjs/providers}/prop-value/link.d.ts +0 -0
  324. package/build/{providers → cjs/providers}/prop-value/product-detail.d.ts +0 -0
  325. package/build/{providers → cjs/providers}/prop-value/product-list.d.ts +0 -0
  326. package/build/{providers → cjs/providers}/prop-value/rich-text.d.ts +0 -0
  327. package/build/{providers → cjs/providers}/prop-value/text.d.ts +0 -0
  328. package/build/{store → cjs/store}/base.d.ts +0 -0
  329. package/build/{store → cjs/store}/cart.d.ts +0 -0
  330. package/build/{store → cjs/store}/customer.d.ts +0 -0
  331. package/build/{store → cjs/store}/index.d.ts +0 -0
  332. package/build/cjs/store.js +1 -0
  333. package/build/{storefront → cjs/storefront}/index.d.ts +2 -2
  334. package/build/cjs/storefront.js +1 -0
  335. package/build/cjs/tr-c4424931.js +1 -0
  336. package/build/{utils → cjs/utils}/currency.d.ts +0 -0
  337. package/build/{utils → cjs/utils}/helper.d.ts +0 -0
  338. package/build/{utils → cjs/utils}/i18n.d.ts +0 -0
  339. package/build/{utils → cjs/utils}/index.d.ts +0 -0
  340. package/build/cjs/utils.js +1 -0
  341. package/build/esm/[slug]-5be05d9d.js +1 -0
  342. package/build/esm/__generated__/global-types.d.ts +624 -0
  343. package/build/esm/analytics/analytics.d.ts +37 -0
  344. package/build/esm/analytics/events.d.ts +36 -0
  345. package/build/esm/analytics/facebookPixel.d.ts +15 -0
  346. package/build/esm/analytics/googleTagManager.d.ts +201 -0
  347. package/build/esm/analytics/head/index.d.ts +7 -0
  348. package/build/esm/analytics/ikas.d.ts +133 -0
  349. package/build/esm/analytics/index.d.ts +2 -0
  350. package/build/esm/analytics.js +1 -0
  351. package/build/esm/api/apollo.d.ts +10 -0
  352. package/build/esm/api/back-in-stock-reminder/__generated__/listProductBackInStockRemind.d.ts +24 -0
  353. package/build/esm/api/back-in-stock-reminder/__generated__/saveProductBackInStockRemind.d.ts +19 -0
  354. package/build/esm/api/back-in-stock-reminder/index.d.ts +23 -0
  355. package/build/esm/api/blog/__generated__/getBlog.d.ts +83 -0
  356. package/build/esm/api/blog/__generated__/listBlog.d.ts +86 -0
  357. package/build/esm/api/blog/__generated__/listBlogCategory.d.ts +38 -0
  358. package/build/esm/api/blog/__generated__/listBlogMetaData.d.ts +29 -0
  359. package/build/esm/api/blog/index.d.ts +32 -0
  360. package/build/esm/api/brand/__generated__/listProductBrand.d.ts +47 -0
  361. package/build/esm/api/brand/index.d.ts +16 -0
  362. package/build/esm/api/cart/__generated__/getCart.d.ts +71 -0
  363. package/build/esm/api/cart/__generated__/saveItemToCart.d.ts +74 -0
  364. package/build/esm/api/cart/index.d.ts +5 -0
  365. package/build/esm/api/category/__generated__/listCategory.d.ts +52 -0
  366. package/build/esm/api/category/__generated__/listCategoryPaths.d.ts +23 -0
  367. package/build/esm/api/category/index.d.ts +18 -0
  368. package/build/esm/api/checkout/__generated__/addCouponCodeToCheckout.d.ts +11 -0
  369. package/build/esm/api/checkout/__generated__/checkStocks.d.ts +18 -0
  370. package/build/esm/api/checkout/__generated__/createSaleTransactionWithCheckout.d.ts +22 -0
  371. package/build/esm/api/checkout/__generated__/getCheckoutByCartId.d.ts +10 -0
  372. package/build/esm/api/checkout/__generated__/getCheckoutById.d.ts +232 -0
  373. package/build/esm/api/checkout/__generated__/getOrder.d.ts +215 -0
  374. package/build/esm/api/checkout/__generated__/listCheckoutSettings.d.ts +34 -0
  375. package/build/esm/api/checkout/__generated__/listPaymentGateway.d.ts +40 -0
  376. package/build/esm/api/checkout/__generated__/retrieveInstallmentInfo.d.ts +23 -0
  377. package/build/esm/api/checkout/__generated__/saveCheckout.d.ts +11 -0
  378. package/build/esm/api/checkout/index.d.ts +29 -0
  379. package/build/esm/api/city/__generated__/listCity.d.ts +14 -0
  380. package/build/esm/api/city/index.d.ts +4 -0
  381. package/build/esm/api/contact-form/__generated__/sendContactFormToMerchant.d.ts +9 -0
  382. package/build/esm/api/contact-form/index.d.ts +10 -0
  383. package/build/esm/api/country/__generated__/getAvailableShippingCountries.d.ts +6 -0
  384. package/build/esm/api/country/__generated__/getMyCountry.d.ts +3 -0
  385. package/build/esm/api/country/__generated__/listCountry.d.ts +23 -0
  386. package/build/esm/api/country/index.d.ts +6 -0
  387. package/build/esm/api/customer/__generated__/checkCustomerEmail.d.ts +10 -0
  388. package/build/esm/api/customer/__generated__/createCustomerEmailSubscription.d.ts +11 -0
  389. package/build/esm/api/customer/__generated__/createOrderRefundRequest.d.ts +215 -0
  390. package/build/esm/api/customer/__generated__/customerForgotPassword.d.ts +6 -0
  391. package/build/esm/api/customer/__generated__/customerLogin.d.ts +70 -0
  392. package/build/esm/api/customer/__generated__/customerRecoverPassword.d.ts +8 -0
  393. package/build/esm/api/customer/__generated__/customerRefreshToken.d.ts +11 -0
  394. package/build/esm/api/customer/__generated__/getCustomerOrders.d.ts +215 -0
  395. package/build/esm/api/customer/__generated__/getLastViewedProducts.d.ts +15 -0
  396. package/build/esm/api/customer/__generated__/getMyCustomer.d.ts +59 -0
  397. package/build/esm/api/customer/__generated__/listOrderRefundSettings.d.ts +13 -0
  398. package/build/esm/api/customer/__generated__/listOrderTransactions.d.ts +53 -0
  399. package/build/esm/api/customer/__generated__/registerCustomer.d.ts +71 -0
  400. package/build/esm/api/customer/__generated__/saveLastViewedProducts.d.ts +11 -0
  401. package/build/esm/api/customer/__generated__/saveMyCustomer.d.ts +63 -0
  402. package/build/esm/api/customer/index.d.ts +44 -0
  403. package/build/esm/api/customer-review/__generated__/createCustomerReview.d.ts +11 -0
  404. package/build/esm/api/customer-review/__generated__/listCustomerReviews.d.ts +25 -0
  405. package/build/esm/api/customer-review/index.d.ts +24 -0
  406. package/build/esm/api/district/__generated__/listDistrict.d.ts +13 -0
  407. package/build/esm/api/district/index.d.ts +4 -0
  408. package/build/esm/api/favorite-product/__generated__/isFavoriteProduct.d.ts +6 -0
  409. package/build/esm/api/favorite-product/__generated__/listFavoriteProducts.d.ts +12 -0
  410. package/build/esm/api/favorite-product/__generated__/saveFavoriteProduct.d.ts +7 -0
  411. package/build/esm/api/favorite-product/index.d.ts +6 -0
  412. package/build/esm/api/html-meta-data/__generated__/listHTMLMetaData.d.ts +18 -0
  413. package/build/esm/api/html-meta-data/index.d.ts +4 -0
  414. package/build/esm/api/index.d.ts +21 -0
  415. package/build/esm/api/merchant/__generated__/listMerchantSettings.d.ts +9 -0
  416. package/build/esm/api/merchant/index.d.ts +4 -0
  417. package/build/esm/api/product-attribute/__generated__/listProductAttribute.d.ts +39 -0
  418. package/build/esm/api/product-attribute/index.d.ts +4 -0
  419. package/build/esm/api/product-option-set/__generated__/ListProductOptionSet.d.ts +90 -0
  420. package/build/esm/api/product-option-set/index.d.ts +6 -0
  421. package/build/esm/api/product-search/__generated__/getProductFilterData.d.ts +52 -0
  422. package/build/esm/api/product-search/__generated__/searchProducts.d.ts +26 -0
  423. package/build/esm/api/product-search/index.d.ts +20 -0
  424. package/build/esm/api/state/__generated__/listState.d.ts +13 -0
  425. package/build/esm/api/state/index.d.ts +4 -0
  426. package/build/esm/api/stock-location/__generated__/listStockLocation.d.ts +7 -0
  427. package/build/esm/api/stock-location/index.d.ts +4 -0
  428. package/build/esm/api/storefront/__generated__/getStorefront.d.ts +52 -0
  429. package/build/esm/api/storefront/index.d.ts +4 -0
  430. package/build/esm/api/variant-type/__generated__/listVariantType.d.ts +39 -0
  431. package/build/esm/api/variant-type/index.d.ts +4 -0
  432. package/build/esm/api.js +1 -0
  433. package/build/esm/assets/translations/checkout/en.js +161 -0
  434. package/build/esm/assets/translations/checkout/tr.js +160 -0
  435. package/build/esm/base-5ced4c24.js +1 -0
  436. package/build/esm/blog-category-list-00ac6ea3.js +1 -0
  437. package/build/esm/cart-38151cca.js +1 -0
  438. package/build/esm/components/checkout/components/address-form/index.d.ts +3 -0
  439. package/build/esm/components/checkout/components/address-form/model.d.ts +123 -0
  440. package/build/esm/components/checkout/components/button/index.d.ts +12 -0
  441. package/build/esm/components/checkout/components/cart-summary/cart-item/index.d.ts +10 -0
  442. package/build/esm/components/checkout/components/cart-summary/index.d.ts +8 -0
  443. package/build/esm/components/checkout/components/checkbox/check.d.ts +6 -0
  444. package/build/esm/components/checkout/components/checkbox/index.d.ts +10 -0
  445. package/build/esm/components/checkout/components/credit-card-form/index.d.ts +7 -0
  446. package/build/esm/components/checkout/components/credit-card-form/model.d.ts +26 -0
  447. package/build/esm/components/checkout/components/credit-card-form/svg/amex.d.ts +6 -0
  448. package/build/esm/components/checkout/components/credit-card-form/svg/master-card.d.ts +6 -0
  449. package/build/esm/components/checkout/components/credit-card-form/svg/troy.d.ts +6 -0
  450. package/build/esm/components/checkout/components/credit-card-form/svg/visa.d.ts +6 -0
  451. package/build/esm/components/checkout/components/customer-addresses/index.d.ts +15 -0
  452. package/build/esm/components/checkout/components/customer-addresses/model.d.ts +21 -0
  453. package/build/esm/components/checkout/components/error/customer-login-required-error/index.d.ts +8 -0
  454. package/build/esm/components/checkout/components/error/index.d.ts +7 -0
  455. package/build/esm/components/checkout/components/error/no-shipping-error/index.d.ts +6 -0
  456. package/build/esm/components/checkout/components/error/payment-error/index.d.ts +8 -0
  457. package/build/esm/components/checkout/components/error/stock-error/index.d.ts +8 -0
  458. package/build/esm/components/checkout/components/error/unknown-error/index.d.ts +6 -0
  459. package/build/esm/components/checkout/components/expandable-section/index.d.ts +6 -0
  460. package/build/esm/components/checkout/components/form-item/caret-down.d.ts +6 -0
  461. package/build/esm/components/checkout/components/form-item/index.d.ts +3 -0
  462. package/build/esm/components/checkout/components/form-item/model.d.ts +59 -0
  463. package/build/esm/components/checkout/components/fullscreen-loading/index.d.ts +2 -0
  464. package/build/esm/components/checkout/components/input-with-button/index.d.ts +11 -0
  465. package/build/esm/components/checkout/components/modal/index.d.ts +8 -0
  466. package/build/esm/components/checkout/components/notification-box/index.d.ts +9 -0
  467. package/build/esm/components/checkout/components/select-box/index.d.ts +13 -0
  468. package/build/esm/components/checkout/components/step-container/index.d.ts +15 -0
  469. package/build/esm/components/checkout/components/svg/arrow-down.d.ts +6 -0
  470. package/build/esm/components/checkout/components/svg/arrow-left.d.ts +6 -0
  471. package/build/esm/components/checkout/components/svg/arrow-right.d.ts +6 -0
  472. package/build/esm/components/checkout/components/svg/cross.d.ts +6 -0
  473. package/build/esm/components/checkout/components/svg/discount.d.ts +6 -0
  474. package/build/esm/components/checkout/components/svg/external.d.ts +6 -0
  475. package/build/esm/components/checkout/components/svg/gift.d.ts +7 -0
  476. package/build/esm/components/checkout/components/svg/ikas.d.ts +6 -0
  477. package/build/esm/components/checkout/components/svg/lock.d.ts +6 -0
  478. package/build/esm/components/checkout/components/svg/shopping-cart.d.ts +6 -0
  479. package/build/esm/components/checkout/components/svg/success-circle.d.ts +6 -0
  480. package/build/esm/components/checkout/components/svg/tag.d.ts +6 -0
  481. package/build/esm/components/checkout/components/svg/warning.d.ts +6 -0
  482. package/build/esm/components/checkout/components/toggle/index.d.ts +10 -0
  483. package/build/esm/components/checkout/components/tooltip/index.d.ts +8 -0
  484. package/build/esm/components/checkout/index.d.ts +32 -0
  485. package/build/esm/components/checkout/model.d.ts +120 -0
  486. package/build/esm/components/checkout/steps/step-info/index.d.ts +7 -0
  487. package/build/esm/components/checkout/steps/step-payment/billing-address/index.d.ts +7 -0
  488. package/build/esm/components/checkout/steps/step-payment/index.d.ts +7 -0
  489. package/build/esm/components/checkout/steps/step-payment/payment-gateways/index.d.ts +7 -0
  490. package/build/esm/components/checkout/steps/step-payment/payment-gateways/installments/index.d.ts +7 -0
  491. package/build/esm/components/checkout/steps/step-shipping/index.d.ts +7 -0
  492. package/build/esm/components/checkout/steps/step-success/index.d.ts +7 -0
  493. package/build/esm/components/error/index.d.ts +5 -0
  494. package/build/esm/components/image/index.d.ts +36 -0
  495. package/build/esm/components/index.d.ts +4 -0
  496. package/build/esm/components/page/ThemeComponent.d.ts +10 -0
  497. package/build/esm/components/page/head.d.ts +12 -0
  498. package/build/esm/components/page/index.d.ts +18 -0
  499. package/build/esm/components/page-editor/ThemeComponentEditor.d.ts +9 -0
  500. package/build/esm/components/page-editor/index.d.ts +2 -0
  501. package/build/esm/components/page-editor/model.d.ts +65 -0
  502. package/build/esm/components.js +1 -0
  503. package/build/esm/en-669af913.js +1 -0
  504. package/build/esm/get-17bc1d35.js +15 -0
  505. package/build/esm/i18n-2fdbe5db.js +1 -0
  506. package/build/esm/index-099b9743.js +1 -0
  507. package/build/esm/index-6eb9d822.js +1 -0
  508. package/build/esm/index-94c469ed.js +1 -0
  509. package/build/esm/index-9ececcb5.js +1 -0
  510. package/build/esm/index-a1d85224.js +1 -0
  511. package/build/esm/index-a93921be.js +1 -0
  512. package/build/esm/index-ac80179e.js +1 -0
  513. package/build/esm/index-dbba4a4c.js +1 -0
  514. package/build/esm/index-ea9fc314.js +3 -0
  515. package/build/{index.es.css → esm/index.css} +0 -0
  516. package/build/esm/index.d.ts +8 -0
  517. package/build/esm/index.js +1 -0
  518. package/build/esm/models/data/blog/index.d.ts +67 -0
  519. package/build/esm/models/data/brand/index.d.ts +21 -0
  520. package/build/esm/models/data/cart/index.d.ts +44 -0
  521. package/build/esm/models/data/category/index.d.ts +52 -0
  522. package/build/esm/models/data/checkout/index.d.ts +103 -0
  523. package/build/esm/models/data/checkout-settings/index.d.ts +25 -0
  524. package/build/esm/models/data/city/index.d.ts +4 -0
  525. package/build/esm/models/data/contact-form/index.d.ts +7 -0
  526. package/build/esm/models/data/country/index.d.ts +8 -0
  527. package/build/esm/models/data/customer/address/index.d.ts +49 -0
  528. package/build/esm/models/data/customer/index.d.ts +33 -0
  529. package/build/esm/models/data/customer-review/index.d.ts +23 -0
  530. package/build/esm/models/data/customer-review-settings/index.d.ts +4 -0
  531. package/build/esm/models/data/district/index.d.ts +4 -0
  532. package/build/esm/models/data/favorite-product/index.d.ts +6 -0
  533. package/build/esm/models/data/html-meta-data/index.d.ts +23 -0
  534. package/build/esm/models/data/image/index.d.ts +8 -0
  535. package/build/esm/models/data/index.d.ts +33 -0
  536. package/build/esm/models/data/installment-info/index.d.ts +30 -0
  537. package/build/esm/models/data/merchant-settings/index.d.ts +8 -0
  538. package/build/esm/models/data/order/address/index.d.ts +50 -0
  539. package/build/esm/models/data/order/adjustment/index.d.ts +16 -0
  540. package/build/esm/models/data/order/gift-line/index.d.ts +4 -0
  541. package/build/esm/models/data/order/index.d.ts +147 -0
  542. package/build/esm/models/data/order/line-item/discount/index.d.ts +11 -0
  543. package/build/esm/models/data/order/line-item/index.d.ts +40 -0
  544. package/build/esm/models/data/order/line-item/variant/index.d.ts +25 -0
  545. package/build/esm/models/data/order/refund/index.d.ts +6 -0
  546. package/build/esm/models/data/order/refund/refund-line-item/index.d.ts +5 -0
  547. package/build/esm/models/data/order/refund/settings.d.ts +6 -0
  548. package/build/esm/models/data/order/shipping-line/index.d.ts +7 -0
  549. package/build/esm/models/data/order-transaction/index.d.ts +73 -0
  550. package/build/esm/models/data/payment-gateway/index.d.ts +61 -0
  551. package/build/esm/models/data/product/attribute-value/index.d.ts +20 -0
  552. package/build/esm/models/data/product/index.d.ts +34 -0
  553. package/build/esm/models/data/product/variant/index.d.ts +24 -0
  554. package/build/esm/models/data/product/variant/price/index.d.ts +10 -0
  555. package/build/esm/models/data/product/variant-type/index.d.ts +6 -0
  556. package/build/esm/models/data/product-attribute/index.d.ts +34 -0
  557. package/build/esm/models/data/product-attribute/product-attribute-option/index.d.ts +5 -0
  558. package/build/esm/models/data/product-attribute/product-attribute-table-cell/index.d.ts +5 -0
  559. package/build/esm/models/data/product-attribute/product-attribute-table-template/index.d.ts +6 -0
  560. package/build/esm/models/data/product-back-in-stock-settings/index.d.ts +3 -0
  561. package/build/esm/models/data/product-filter/index.d.ts +109 -0
  562. package/build/esm/models/data/product-option-set/index.d.ts +85 -0
  563. package/build/esm/models/data/product-tag/index.d.ts +5 -0
  564. package/build/esm/models/data/sales-channel/index.d.ts +18 -0
  565. package/build/esm/models/data/simple-product/index.d.ts +136 -0
  566. package/build/esm/models/data/state/index.d.ts +5 -0
  567. package/build/esm/models/data/storefront/domain/index.d.ts +8 -0
  568. package/build/esm/models/data/storefront/index.d.ts +23 -0
  569. package/build/esm/models/data/storefront/localization/index.d.ts +7 -0
  570. package/build/esm/models/data/storefront/routing/index.d.ts +9 -0
  571. package/build/esm/models/data/storefront/theme/index.d.ts +13 -0
  572. package/build/esm/models/data/storefront/theme-localization/index.d.ts +12 -0
  573. package/build/esm/models/data/variant-type/index.d.ts +26 -0
  574. package/build/esm/models/data/variant-type/variant-value/index.d.ts +11 -0
  575. package/build/esm/models/index.d.ts +3 -0
  576. package/build/esm/models/theme/component/index.d.ts +10 -0
  577. package/build/esm/models/theme/component/prop/index.d.ts +40 -0
  578. package/build/esm/models/theme/custom-data/index.d.ts +24 -0
  579. package/build/esm/models/theme/index.d.ts +18 -0
  580. package/build/esm/models/theme/page/component/index.d.ts +6 -0
  581. package/build/esm/models/theme/page/component/prop-value/attribute-list.d.ts +7 -0
  582. package/build/esm/models/theme/page/component/prop-value/attribute.d.ts +7 -0
  583. package/build/esm/models/theme/page/component/prop-value/blog-category-list.d.ts +7 -0
  584. package/build/esm/models/theme/page/component/prop-value/blog-category.d.ts +5 -0
  585. package/build/esm/models/theme/page/component/prop-value/blog-list.d.ts +9 -0
  586. package/build/esm/models/theme/page/component/prop-value/blog.d.ts +5 -0
  587. package/build/esm/models/theme/page/component/prop-value/brand-list.d.ts +9 -0
  588. package/build/esm/models/theme/page/component/prop-value/brand.d.ts +5 -0
  589. package/build/esm/models/theme/page/component/prop-value/category-list.d.ts +9 -0
  590. package/build/esm/models/theme/page/component/prop-value/category.d.ts +5 -0
  591. package/build/esm/models/theme/page/component/prop-value/link.d.ts +19 -0
  592. package/build/esm/models/theme/page/component/prop-value/product-detail.d.ts +6 -0
  593. package/build/esm/models/theme/page/component/prop-value/product-list.d.ts +17 -0
  594. package/build/esm/models/theme/page/index.d.ts +40 -0
  595. package/build/esm/models/theme/settings/index.d.ts +13 -0
  596. package/build/esm/models/theme/settings/prop/color/index.d.ts +7 -0
  597. package/build/esm/models/theme/settings/prop/favicon/index.d.ts +4 -0
  598. package/build/esm/models/theme/theme.d.ts +16 -0
  599. package/build/esm/models/ui/blog-category-list/index.d.ts +52 -0
  600. package/build/esm/models/ui/blog-list/index.d.ts +56 -0
  601. package/build/esm/models/ui/brand-list/index.d.ts +61 -0
  602. package/build/esm/models/ui/category-list/index.d.ts +61 -0
  603. package/build/esm/models/ui/component-renderer/index.d.ts +7 -0
  604. package/build/esm/models/ui/customer-review-list/index.d.ts +43 -0
  605. package/build/esm/models/ui/index.d.ts +22 -0
  606. package/build/esm/models/ui/navigation-link/index.d.ts +7 -0
  607. package/build/esm/models/ui/product-attribute-detail/index.d.ts +8 -0
  608. package/build/esm/models/ui/product-attribute-list/index.d.ts +9 -0
  609. package/build/esm/models/ui/product-detail/index.d.ts +28 -0
  610. package/build/esm/models/ui/product-list/index.d.ts +132 -0
  611. package/build/esm/models/ui/validator/form/account-info.d.ts +40 -0
  612. package/build/esm/models/ui/validator/form/address.d.ts +75 -0
  613. package/build/esm/models/ui/validator/form/contact-form.d.ts +45 -0
  614. package/build/esm/models/ui/validator/form/customer-review.d.ts +37 -0
  615. package/build/esm/models/ui/validator/form/forgot-password.d.ts +29 -0
  616. package/build/esm/models/ui/validator/form/login.d.ts +35 -0
  617. package/build/esm/models/ui/validator/form/recover-password.d.ts +36 -0
  618. package/build/esm/models/ui/validator/form/register.d.ts +48 -0
  619. package/build/esm/models/ui/validator/index.d.ts +27 -0
  620. package/build/esm/models/ui/validator/rules/index.d.ts +87 -0
  621. package/build/esm/models.js +1 -0
  622. package/build/esm/pages/404.d.ts +6 -0
  623. package/build/esm/pages/[slug]/index.d.ts +7 -0
  624. package/build/esm/pages/account/addresses.d.ts +6 -0
  625. package/build/esm/pages/account/favorite-products.d.ts +6 -0
  626. package/build/esm/pages/account/forgot-password.d.ts +6 -0
  627. package/build/esm/pages/account/index.d.ts +6 -0
  628. package/build/esm/pages/account/login.d.ts +6 -0
  629. package/build/esm/pages/account/orders/[id].d.ts +6 -0
  630. package/build/esm/pages/account/orders/index.d.ts +6 -0
  631. package/build/esm/pages/account/recover-password.d.ts +6 -0
  632. package/build/esm/pages/account/register.d.ts +6 -0
  633. package/build/esm/pages/blog/[slug].d.ts +7 -0
  634. package/build/esm/pages/blog/index.d.ts +6 -0
  635. package/build/esm/pages/cart.d.ts +6 -0
  636. package/build/esm/pages/checkout.d.ts +18 -0
  637. package/build/esm/pages/editor.d.ts +9 -0
  638. package/build/esm/pages/home.d.ts +6 -0
  639. package/build/esm/pages/index.d.ts +19 -0
  640. package/build/esm/pages/pages/[slug].d.ts +7 -0
  641. package/build/esm/pages/search.d.ts +6 -0
  642. package/build/esm/pages.js +1 -0
  643. package/build/esm/providers/page-data-get.d.ts +57 -0
  644. package/build/esm/providers/page-data-init.d.ts +58 -0
  645. package/build/esm/providers/page-data-next.d.ts +243 -0
  646. package/build/esm/providers/placeholders.d.ts +6 -0
  647. package/build/esm/providers/prop-value/attribute-list.d.ts +12 -0
  648. package/build/esm/providers/prop-value/attribute.d.ts +12 -0
  649. package/build/esm/providers/prop-value/blog-category-list.d.ts +7 -0
  650. package/build/esm/providers/prop-value/blog-category.d.ts +11 -0
  651. package/build/esm/providers/prop-value/blog-list.d.ts +9 -0
  652. package/build/esm/providers/prop-value/blog.d.ts +11 -0
  653. package/build/esm/providers/prop-value/boolean.d.ts +6 -0
  654. package/build/esm/providers/prop-value/brand-list.d.ts +7 -0
  655. package/build/esm/providers/prop-value/brand.d.ts +11 -0
  656. package/build/esm/providers/prop-value/category-list.d.ts +7 -0
  657. package/build/esm/providers/prop-value/category.d.ts +11 -0
  658. package/build/esm/providers/prop-value/color.d.ts +6 -0
  659. package/build/esm/providers/prop-value/custom.d.ts +42 -0
  660. package/build/esm/providers/prop-value/image-list.d.ts +7 -0
  661. package/build/esm/providers/prop-value/image.d.ts +7 -0
  662. package/build/esm/providers/prop-value/index.d.ts +3 -0
  663. package/build/esm/providers/prop-value/link.d.ts +9 -0
  664. package/build/esm/providers/prop-value/product-detail.d.ts +11 -0
  665. package/build/esm/providers/prop-value/product-list.d.ts +9 -0
  666. package/build/esm/providers/prop-value/rich-text.d.ts +6 -0
  667. package/build/esm/providers/prop-value/text.d.ts +6 -0
  668. package/build/esm/store/base.d.ts +25 -0
  669. package/build/esm/store/cart.d.ts +27 -0
  670. package/build/esm/store/customer.d.ts +72 -0
  671. package/build/esm/store/index.d.ts +1 -0
  672. package/build/esm/store.js +1 -0
  673. package/build/esm/storefront/index.d.ts +53 -0
  674. package/build/esm/storefront.js +1 -0
  675. package/build/esm/tr-69f8f304.js +1 -0
  676. package/build/esm/utils/currency.d.ts +1 -0
  677. package/build/esm/utils/helper.d.ts +8 -0
  678. package/build/esm/utils/i18n.d.ts +20 -0
  679. package/build/esm/utils/index.d.ts +3 -0
  680. package/build/esm/utils.js +1 -0
  681. package/package.json +6 -4
  682. package/build/index.es.js +0 -73521
  683. package/build/index.js +0 -73649
  684. package/build/pages/index.d.ts +0 -20
  685. package/build/providers/prop-value/checkout.d.ts +0 -4
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./get-7400a559.js"),t=require("react"),r=require("mobx-react-lite"),n=require("./index-45530bb2.js"),o=require("./index-af30c815.js"),s=require("./storefront.js"),i=require("next/router"),a=require("next/dynamic"),c=require("next/error"),u=require("fs"),l=require("next/config"),d=require("./index-2bed1aff.js");require("mobx");var g=require("./i18n-0303b446.js");function f(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p,_=f(a),m=f(c),h=f(u),v=f(l),S=function(e){var t,r;void 0===e&&(e={}),this.id=e.id||"",this.name=e.name||"",this.priceListId=e.priceListId||"",this.stockLocations=(null===(t=e.stockLocations)||void 0===t?void 0:t.map((function(e){return new I(e)})))||[],this.paymentGateways=(null===(r=e.paymentGateways)||void 0===r?void 0:r.map((function(e){return new P(e)})))||[]},I=function(e){this.id=e.id||"",this.order=e.order||0},P=function(e){this.id=e.id||"",this.order=e.order||0},k=function(e){this.id=e.id||"",this.locale=e.locale||"",this.storefrontId=e.storefrontId||"",this.storefrontThemeId=e.storefrontThemeId||"",this.themeJson=e.themeJson?new d.IkasTheme(e.themeJson):new d.IkasTheme,this.privacyPolicy=e.privacyPolicy||null,this.returnPolicy=e.returnPolicy||null,this.termsOfService=e.termsOfService||null},C=function(){function t(){}return t.getStorefront=function(t){return e.__awaiter(this,void 0,void 0,(function(){var r,s,i,a,c;return e.__generator(this,(function(u){switch(u.label){case 0:r=o.src(p||(p=e.__makeTemplateObject(["\n query getStorefront($id: String!) {\n getStorefront(id: $id) {\n createdAt\n emailSettingsId\n fbpId\n gtmId\n id\n localizations {\n createdAt\n id\n isDefault\n locale\n name\n }\n mainStorefrontThemeId\n name\n salesChannelId\n routings {\n countryCodes\n createdAt\n domain\n id\n locale\n path\n priceListId\n updatedAt\n }\n status\n themes {\n createdAt\n id\n isMainTheme\n name\n status\n themeId\n themeVersionId\n updatedAt\n }\n }\n }\n "],["\n query getStorefront($id: String!) {\n getStorefront(id: $id) {\n createdAt\n emailSettingsId\n fbpId\n gtmId\n id\n localizations {\n createdAt\n id\n isDefault\n locale\n name\n }\n mainStorefrontThemeId\n name\n salesChannelId\n routings {\n countryCodes\n createdAt\n domain\n id\n locale\n path\n priceListId\n updatedAt\n }\n status\n themes {\n createdAt\n id\n isMainTheme\n name\n status\n themeId\n themeVersionId\n updatedAt\n }\n }\n }\n "]))),u.label=1;case 1:return u.trys.push([1,3,,4]),[4,o.apollo.getClient().query({query:r,variables:{id:t}})];case 2:return s=u.sent(),i=s.data,(a=s.errors)&&a.length&&console.log(a),i?[2,new n.IkasStorefront(i.getStorefront)]:[3,4];case 3:return c=u.sent(),console.log(c),[3,4];case 4:return[2]}}))}))},t}(),b=function(){function t(){}return t.readLocalTheme=function(){return new Promise((function(e,t){h.default.readFile("./src/theme.json",{flag:"a+"},(function(r,n){if(r)return t(r);var o=n.length?JSON.parse(n.toString()):{};e(new d.IkasTheme(o))}))}))},t.readSettingsFile=function(){return new Promise((function(e){var t=v.default().serverRuntimeConfig.SETTINGS;h.default.readFile(t,{flag:"a+"},(function(t,r){if(t)return console.error("SETTINGS FILE READ ERROR!!!"),console.error(t),e(null);var n=r.length?JSON.parse(r.toString()):{};e(n)}))}))},t.getSettings=function(r){var o=this;return new Promise((function(i){return e.__awaiter(o,void 0,void 0,(function(){var o,a,c,u,l,d,g,f,p,_,m,v,I,P;return e.__generator(this,(function(e){switch(e.label){case 0:return"local"===process.env.NEXT_PUBLIC_ENV?s.IkasStorefrontConfig.storefrontId?[4,C.getStorefront(s.IkasStorefrontConfig.storefrontId)]:(console.error("Missing storefrontId in the config.json file!"),[2,i(null)]):[3,3];case 1:return(o=e.sent())?(a=o,[4,t.readLocalTheme()]):[2,i(null)];case 2:return c=e.sent(),u=t.createColorScript(c.settings),i({storefront:a,themeLocalization:new k({themeJson:c}),salesChannel:new S({id:a.salesChannelId}),routing:a.routings.length?a.routings.find((function(e){return e.locale===r||e.id===r}))||a.routings[0]:new n.IkasStorefrontRouting({}),favicon:c.settings.favicon,stockPreference:c.settings.stockPreference,storefrontJSScripts:u?[u]:[],domain:"",productBackInStockSettings:{customerLoginRequired:!0},customerReviewSettings:{customerLoginRequired:!0,customerPurchaseRequired:!1}}),[3,5];case 3:return[4,t.readSettingsFile()];case 4:if(!(l=e.sent())||!l.localizationMap)return[2,i(null)];if(d=new n.IkasStorefront(l.storefront),g=new S(l.salesChannel),f=l.localizationMap,p=l.storefrontJSScripts||[],_=l.domain,m=l.productBackInStockSettings?{customerLoginRequired:l.productBackInStockSettings.customerLoginRequired}:null,v=l.customerReviewSettings?{customerLoginRequired:l.customerReviewSettings.customerLoginRequired,customerPurchaseRequired:l.customerReviewSettings.customerPurchaseRequired}:null,I=f[r],P=d.routings.find((function(e){return e.id===r||e.path===r})),!I||!P)return console.error("THEME LOCALIZATION PATH OR ROUTING MISSING!!!"),[2,i(null)];h.default.readFile(I,{flag:"a+"},(function(e,r){if(e)return console.error("THEME LOCALZIATION FILE READ ERROR!!!"),console.error(e),i(null);var n=r.length?JSON.parse(r.toString()):{},o=new k(n),s=o.themeJson.settings.favicon,a=o.themeJson.settings.stockPreference;if(o.themeJson.settings){var c=t.createColorScript(o.themeJson.settings);c&&p.push(c)}i({storefront:d,themeLocalization:o,salesChannel:g,routing:P,favicon:s,stockPreference:a,storefrontJSScripts:p,domain:_,productBackInStockSettings:m,customerReviewSettings:v})})),e.label=5;case 5:return[2]}}))}))}))},t.getPageData=function(r,i,a,c,u){var l,d;return e.__awaiter(this,void 0,void 0,(function(){var f,p,_,m,h,S,I,P,k,C,b,y,T,w,E,O,x,R,F,L,A,B,D,z,j,q;return e.__generator(this,(function(J){switch(J.label){case 0:return f="local"===process.env.NEXT_PUBLIC_ENV,p=!f&&u,_=v.default().serverRuntimeConfig,p?[3,7]:(m=r.locale)?[4,t.getSettings(m)]:[2,{props:{},notFound:!0}];case 1:return(h=J.sent())&&h.storefront.mainStorefrontThemeId&&h.storefront.salesChannelId?(S=h.storefront,I=h.themeLocalization,P=h.salesChannel,k=h.routing,C=h.favicon,b=h.stockPreference,y=h.storefrontJSScripts,T=h.domain,w=h.productBackInStockSettings,E=h.customerReviewSettings,s.IkasStorefrontConfig.storefrontId=S.id,s.IkasStorefrontConfig.storefrontRoutingId=k.id,s.IkasStorefrontConfig.storefrontThemeId=S.mainStorefrontThemeId,s.IkasStorefrontConfig.salesChannelId=S.salesChannelId,s.IkasStorefrontConfig.priceListId=k.priceListId||void 0,s.IkasStorefrontConfig.stockLocationIds=null===(l=P.stockLocations)||void 0===l?void 0:l.map((function(e){return e.id})),s.IkasStorefrontConfig.routings=S.routings,s.IkasStorefrontConfig.paymentGateways=P.paymentGateways||[],s.IkasStorefrontConfig.gtmId=S.gtmId||void 0,s.IkasStorefrontConfig.fbpId=S.fbpId||void 0,s.IkasStorefrontConfig.favicon=C||null,s.IkasStorefrontConfig.stockPreference=b||null,s.IkasStorefrontConfig.storefrontJSScripts=y||[],s.IkasStorefrontConfig.domain=T,s.IkasStorefrontConfig.productBackInStockSettings=w,s.IkasStorefrontConfig.customerReviewSettings=E,(O=new n.IkasPageDataProvider(I.themeJson,r.params,a)).possiblePageTypes=c,u?[3,3]:[4,O.getPageData()]):[2,{props:{},notFound:!0}];case 2:if(J.sent(),!O.page)return[2,{props:{},notFound:!0}];J.label=3;case 3:return x=u?O.theme.components.map((function(e){return e.id})):O.page.components.map((function(e){return e.componentId})),R=I.themeJson.components.filter((function(e){return u||x.includes(e.id)})),F=e.__spreadArrays(["common"],R.map((function(e){return e.dir}))),(a===o.IkasThemePageType.CHECKOUT||u)&&F.push("checkout-page"),L=_.nextI18nConf,A=k.locale,[4,new g.I18NFileReader(A,F,f?void 0:L.localePath).read()];case 4:return B=J.sent(),s.IkasStorefrontConfig.translations=B,D={},a!==o.IkasThemePageType.CHECKOUT?[3,6]:(z=null===(d=O.page)||void 0===d?void 0:d.components[0])?[4,o.IkasCheckoutAPI.listCheckoutSettings()]:[3,6];case 5:j=J.sent(),q={buttonBgColor:z.propValues.buttonBgColor,buttonTextColor:z.propValues.buttonTextColor,buttonDisabledBgColor:z.propValues.buttonDisabledBgColor,buttonDisabledTextColor:z.propValues.buttonDisabledTextColor,primaryTextColor:z.propValues.primaryTextColor,secondaryTextColor:z.propValues.secondaryTextColor,primaryBgColor:z.propValues.primaryBgColor,secondaryBgColor:z.propValues.secondaryBgColor,borderColor:z.propValues.borderColor,cardBgColor:z.propValues.cardBgColor,errorColor:z.propValues.errorColor,errorLightColor:z.propValues.errorLightColor,warningColor:z.propValues.warningColor,warningLightColor:z.propValues.warningLightColor,successColor:z.propValues.successColor,successLightColor:z.propValues.successLightColor},D.customizationProps=q,D.returnPolicy=I.returnPolicy,D.privacyPolicy=I.privacyPolicy,D.termsOfService=I.termsOfService,D.checkoutSettingsStr=(null==j?void 0:j.length)?JSON.stringify(j[0]):null,J.label=6;case 6:return i?[2,{props:e.__assign(e.__assign({},O.nextPageData.props),D)}]:[2,{props:e.__assign(e.__assign({},O.nextPageData.props),D),revalidate:60}];case 7:return[2,{props:{}}];case 8:return[2]}}))}))},t.getStaticProps=function(r,n,o,s){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,t.getPageData(r,!1,n,o,s)];case 1:return[2,e.sent()]}}))}))},t.getServerSideProps=function(r,n){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,t.getPageData(r,!0,n)];case 1:return[2,e.sent()]}}))}))},t.createColorScript=function(e){if(e.colors)return"<script>"+e.colors.map((function(e){return'document.documentElement.style.setProperty("'+e.key+'","'+e.color+'");'})).join("\r\n")+"<\/script> \n "},t}(),y=r.observer((function(r){return t.createElement(n.IkasPage,e.__assign({},r))})),T=Object.freeze({__proto__:null,default:y,getStaticProps:function(t){return e.__awaiter(void 0,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,b.getStaticProps(t,o.IkasThemePageType.INDEX)];case 1:return[2,e.sent()]}}))}))}}),w=r.observer((function(r){return t.createElement(n.IkasPage,e.__assign({},r,{addOgpMetas:!0,reInitOnBrowser:!0}))})),E=r.observer((function(r){return t.createElement(n.IkasPage,e.__assign({},r))})),O=Object.freeze({__proto__:null,default:E,getStaticPaths:function(t){return e.__awaiter(void 0,void 0,void 0,(function(){var r,n;return e.__generator(this,(function(e){switch(e.label){case 0:return t.locales?[4,Promise.all(t.locales.map((function(e){return b.getSettings(e)})))]:[2,{paths:[],fallback:"blocking"}];case 1:return r=e.sent(),n=[],r.forEach((function(e){var t=e.themeLocalization,r=e.routing;t&&t.themeJson.pages.filter((function(e){return e.type===o.IkasThemePageType.CUSTOM})).forEach((function(e){e.slug&&!n.some((function(t){return t.params.slug===e.slug}))&&("local"===process.env.NEXT_PUBLIC_ENV?n.push({params:{slug:e.slug}}):n.push({params:{slug:e.slug},locale:r.path||r.id}))}))})),[2,{paths:n.map((function(e){return{params:e.params,locale:e.locale}})),fallback:"blocking"}]}}))}))},getStaticProps:function(t){return e.__awaiter(void 0,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,b.getStaticProps(t,o.IkasThemePageType.CUSTOM)];case 1:return[2,e.sent()]}}))}))}}),x=r.observer((function(r){var a=r.merchantSettingsStr,c=r.checkoutSettingsStr,u=r.customizationProps,l=r.configJson,d=e.__rest(r,["merchantSettingsStr","checkoutSettingsStr","customizationProps","configJson"]),g=i.useRouter(),f=t.useState(),p=f[0],_=f[1];s.IkasStorefrontConfig.initWithJson(l);var m=s.IkasStorefrontConfig.store,h=t.useMemo((function(){return c?new o.IkasCheckoutSettings(JSON.parse(c)):new o.IkasCheckoutSettings}),[c]),v=t.useMemo((function(){return a?new o.IkasMerchantSettings(JSON.parse(a)):null}),[a]);t.useEffect((function(){document.documentElement.style.setProperty("--checkout-button-bg-color",(null==u?void 0:u.buttonBgColor)||"#272727"),document.documentElement.style.setProperty("--checkout-button-text-color",(null==u?void 0:u.buttonTextColor)||"#FFFFFF"),document.documentElement.style.setProperty("--checkout-button-disabled-bg-color",(null==u?void 0:u.buttonDisabledBgColor)||"#F7F7F9"),document.documentElement.style.setProperty("--checkout-button-disabled-text-color",(null==u?void 0:u.buttonDisabledTextColor)||"#8A8B94"),document.documentElement.style.setProperty("--checkout-primary-text-color",(null==u?void 0:u.primaryTextColor)||"#272727"),document.documentElement.style.setProperty("--checkout-secondary-text-color",(null==u?void 0:u.secondaryTextColor)||"#8A8B94"),document.documentElement.style.setProperty("--checkout-primary-bg-color",(null==u?void 0:u.primaryBgColor)||"#FFFFFF"),document.documentElement.style.setProperty("--checkout-secondary-bg-color",(null==u?void 0:u.secondaryBgColor)||"#F7F7F9"),document.documentElement.style.setProperty("--checkout-border-color",(null==u?void 0:u.borderColor)||"#E5E4E9"),document.documentElement.style.setProperty("--checkout-card-bg-color",(null==u?void 0:u.cardBgColor)||"#F7F7F9"),document.documentElement.style.setProperty("--checkout-error-color",(null==u?void 0:u.errorColor)||"#FB4E4E"),document.documentElement.style.setProperty("--checkout-error-light-color",(null==u?void 0:u.errorLightColor)||"#FCF3F4"),document.documentElement.style.setProperty("--checkout-warning-color",(null==u?void 0:u.warningColor)||"#FFBC1F"),document.documentElement.style.setProperty("--checkout-warning-light-color",(null==u?void 0:u.warningLightColor)||"#FFFAEE"),document.documentElement.style.setProperty("--checkout-success-color",(null==u?void 0:u.successColor)||"#2DCA73"),document.documentElement.style.setProperty("--checkout-success-light-color",(null==u?void 0:u.successLightColor)||"#F6FFED")}),[u]),t.useEffect((function(){m.checkLocalization(),S(),o.initIkasEvents()}),[]);var S=t.useCallback((function(){return e.__awaiter(void 0,void 0,void 0,(function(){var t,r,n;return e.__generator(this,(function(e){switch(e.label){case 0:return t=new URLSearchParams(window.location.search),(r=t.get("id"))?[4,o.IkasCheckoutAPI.getCheckoutById(r)]:[2,g.replace("/")];case 1:return(n=e.sent())?_(n):g.replace("/"),[2]}}))}))}),[]);return p?t.createElement(n.IkasCheckoutPage,e.__assign({checkout:p,merchantSettings:v,checkoutSettings:h,customizationProps:u},d)):t.createElement(n.FullscreenLoading,null)})),R=Object.freeze({__proto__:null,default:x,getStaticProps:function(t){return e.__awaiter(void 0,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,b.getStaticProps(t,o.IkasThemePageType.CHECKOUT)];case 1:return[2,e.sent()]}}))}))}}),F=r.observer((function(r){return t.createElement(n.IkasPage,e.__assign({},r))})),L=Object.freeze({__proto__:null,default:F,getStaticProps:function(t){return e.__awaiter(void 0,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,b.getStaticProps(t,o.IkasThemePageType.ACCOUNT)];case 1:return[2,e.sent()]}}))}))}}),A=r.observer((function(r){return t.createElement(n.IkasPage,e.__assign({},r))})),B=Object.freeze({__proto__:null,default:A,getStaticProps:function(t){return e.__awaiter(void 0,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,b.getStaticProps(t,o.IkasThemePageType.ADDRESSES)];case 1:return[2,e.sent()]}}))}))}}),D=r.observer((function(r){return t.createElement(n.IkasPage,e.__assign({},r,{addOgpMetas:!0}))})),z=Object.freeze({__proto__:null,default:D,getStaticProps:function(t){return e.__awaiter(void 0,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,b.getStaticProps(t,o.IkasThemePageType.ORDERS)];case 1:return[2,e.sent()]}}))}))}}),j=r.observer((function(r){return t.createElement(n.IkasPage,e.__assign({},r))})),q=Object.freeze({__proto__:null,default:j,getServerSideProps:function(t){return e.__awaiter(void 0,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,b.getServerSideProps(t,o.IkasThemePageType.ORDER_DETAIL)];case 1:return[2,e.sent()]}}))}))}}),J=r.observer((function(r){return t.createElement(n.IkasPage,e.__assign({},r))})),N=Object.freeze({__proto__:null,default:J,getStaticProps:function(t){return e.__awaiter(void 0,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,b.getStaticProps(t,o.IkasThemePageType.LOGIN)];case 1:return[2,e.sent()]}}))}))}}),V=r.observer((function(r){return t.createElement(n.IkasPage,e.__assign({},r))})),M=Object.freeze({__proto__:null,default:V,getStaticProps:function(t){return e.__awaiter(void 0,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,b.getStaticProps(t,o.IkasThemePageType.REGISTER)];case 1:return[2,e.sent()]}}))}))}}),G=r.observer((function(r){return t.createElement(n.IkasPage,e.__assign({},r))})),U=Object.freeze({__proto__:null,default:G,getStaticProps:function(t){return e.__awaiter(void 0,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,b.getStaticProps(t,o.IkasThemePageType.FORGOT_PASSWORD)];case 1:return[2,e.sent()]}}))}))}}),$=r.observer((function(r){return t.createElement(n.IkasPage,e.__assign({},r))})),H=Object.freeze({__proto__:null,default:$,getStaticProps:function(t){return e.__awaiter(void 0,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,b.getStaticProps(t,o.IkasThemePageType.RECOVER_PASSWORD)];case 1:return[2,e.sent()]}}))}))}}),X=r.observer((function(r){return t.createElement(n.IkasPage,e.__assign({},r))})),W=Object.freeze({__proto__:null,default:X,getStaticProps:function(t){return e.__awaiter(void 0,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,b.getStaticProps(t,o.IkasThemePageType.CART)];case 1:return[2,e.sent()]}}))}))}}),K=_.default((function(){return Promise.resolve().then((function(){return require("./components.js")})).then((function(e){return e.IkasPageEditor}))}),{ssr:!1}),Y=r.observer((function(e){var r=e.configJson,n=e.components;return r&&s.IkasStorefrontConfig.initWithJson(r),n&&(s.IkasStorefrontConfig.currentPageComponents=n),t.createElement(K,null)})),Z=Object.freeze({__proto__:null,getStaticProps:function(t){return e.__awaiter(void 0,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,b.getStaticProps(t,void 0,void 0,!0)];case 1:return[2,e.sent()]}}))}))},default:Y}),Q=r.observer((function(r){return t.createElement(n.IkasPage,e.__assign({},r))})),ee=Object.freeze({__proto__:null,default:Q,getStaticProps:function(t){return e.__awaiter(void 0,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,b.getStaticProps(t,o.IkasThemePageType.FAVORITE_PRODUCTS)];case 1:return[2,e.sent()]}}))}))}}),te=r.observer((function(r){return t.createElement(n.IkasPage,e.__assign({},r,{addOgpMetas:!0,reInitOnBrowser:!0}))})),re=Object.freeze({__proto__:null,default:te,getStaticProps:function(t){return e.__awaiter(void 0,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,b.getStaticProps(t,o.IkasThemePageType.SEARCH)];case 1:return[2,e.sent()]}}))}))}}),ne=Object.freeze({__proto__:null,default:function(r){return r.propValuesStr?t.createElement(n.IkasPage,e.__assign({},r)):t.createElement(m.default,{statusCode:404})},getStaticProps:function(t){return e.__awaiter(void 0,void 0,void 0,(function(){var r;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,b.getStaticProps(t,o.IkasThemePageType.NOT_FOUND)];case 1:return(r=e.sent()).notFound?[2,{props:{},revalidate:60}]:[2,r]}}))}))}}),oe=r.observer((function(r){return t.createElement(n.IkasPage,e.__assign({},r,{addOgpMetas:!0}))})),se=Object.freeze({__proto__:null,default:oe,getStaticProps:function(t){return e.__awaiter(void 0,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,b.getStaticProps(t,o.IkasThemePageType.BLOG_INDEX)];case 1:return[2,e.sent()]}}))}))}}),ie=r.observer((function(r){return t.createElement(n.IkasPage,e.__assign({},r,{addOgpMetas:!0,reInitOnBrowser:!0}))})),ae=Object.freeze({__proto__:null,default:ie,getStaticPaths:function(){return e.__awaiter(void 0,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,{paths:[],fallback:"blocking"}]}))}))},getStaticProps:function(t){return e.__awaiter(void 0,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,b.getStaticProps(t,void 0,[o.IkasThemePageType.BLOG,o.IkasThemePageType.BLOG_CATEGORY])];case 1:return[2,e.sent()]}}))}))}});exports._404=ne,exports._id_=q,exports._slug_=O,exports._slug_$1=ae,exports.addresses=B,exports.cart=W,exports.checkout=R,exports.editor=Z,exports.favoriteProducts=ee,exports.forgotPassword=U,exports.getStaticPaths=function(){return e.__awaiter(void 0,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,{paths:[],fallback:"blocking"}]}))}))},exports.getStaticProps=function(t){return e.__awaiter(void 0,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,b.getStaticProps(t,void 0,[o.IkasThemePageType.BRAND,o.IkasThemePageType.CATEGORY,o.IkasThemePageType.PRODUCT])];case 1:return[2,e.sent()]}}))}))},exports.home=T,exports.index=w,exports.index$1=L,exports.index$2=z,exports.index$3=se,exports.login=N,exports.recoverPassword=H,exports.register=M,exports.search=re;
File without changes
File without changes
File without changes
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-af30c815.js"),r=require("./index-c75f4868.js");require("./get-7400a559.js"),require("./storefront.js"),require("mobx"),require("react"),exports.Analytics=e.Analytics,exports.AnalyticsBody=r.AnalyticsBody,exports.AnalyticsHead=r.AnalyticsHead;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-84548617.js"),t=require("./index-d04fee37.js"),r=require("./index-af30c815.js"),I=require("./index-5b6bd214.js"),s=require("./index-30376afa.js");require("./get-7400a559.js"),require("./storefront.js"),require("mobx"),exports.IkasBlogAPI=e.IkasBlogAPI,exports.IkasBrandAPI=e.IkasBrandAPI,exports.IkasCategoryAPI=e.IkasCategoryAPI,exports.IkasCityAPI=e.IkasCityAPI,exports.IkasDistrictAPI=e.IkasDistrictAPI,exports.IkasStateAPI=e.IkasStateAPI,exports.IkasCartAPI=t.IkasCartAPI,exports.IkasCheckoutAPI=r.IkasCheckoutAPI,exports.IkasContactFormAPI=r.IkasContactFormAPI,exports.IkasCountryAPI=r.IkasCountryAPI,exports.IkasCustomerAPI=r.IkasCustomerAPI,exports.IkasCustomerReviewAPI=r.IkasCustomerReviewAPI,exports.IkasFavoriteProductAPI=r.IkasFavoriteProductAPI,exports.IkasMerchantAPI=r.IkasMerchantAPI,exports.IkasProductBackInStockReminderAPI=r.IkasProductBackInStockReminderAPI,exports.IkasProductSearchAPI=r.IkasProductSearchAPI,exports.apollo=r.apollo,exports.IkasHTMLMetaDataAPI=I.IkasHTMLMetaDataAPI,exports.IkasProductOptionSetAPI=I.IkasProductOptionSetAPI,exports.IkasProductAttributeAPI=s.IkasProductAttributeAPI,exports.IkasVariantTypeAPI=s.IkasVariantTypeAPI;
@@ -0,0 +1 @@
1
+ "use strict";var o=require("./get-7400a559.js"),t=require("mobx"),e=require("./index-af30c815.js"),n=require("./cart-8b6a2951.js"),r=require("./storefront.js");var i=function(o){return(null==o?0:o.length)?e._baseFlatten(o,1):[]};t.configure({enforceActions:"never"});var s=function(){function s(){this.currentPageType=null,this.localeOptions=[],this.showLocaleOptions=!1,this.currentCountryCode=null,this.localeChecked=!1,this.settingsSet=!1,this.customerStore=new e.IkasCustomerStore(this),this.cartStore=new n.IkasCartStore(this),t.makeObservable(this,{currentPageType:t.observable,localeOptions:t.observable,showLocaleOptions:t.observable,currentCountryCode:t.observable})}return s.prototype.checkLocalization=function(){return o.__awaiter(this,void 0,void 0,(function(){var t,n,s,u,a,c,l,d;return o.__generator(this,(function(o){switch(o.label){case 0:return this.localeChecked?[2]:void 0===typeof window?(console.warn("checkLocalization should be called on the client side!"),[2]):[4,e.IkasCountryAPI.getMyCountry()];case 1:return t=o.sent(),n=r.IkasStorefrontConfig.routings.find((function(o){return o.id===r.IkasStorefrontConfig.storefrontRoutingId})),this.currentCountryCode=t,n&&t?(s=!0,u=r.IkasStorefrontConfig.routings.find((function(o){var e;return null===(e=o.countryCodes)||void 0===e?void 0:e.includes(t)})),a=r.IkasStorefrontConfig.routings.find((function(o){var t;return!(null===(t=o.countryCodes)||void 0===t?void 0:t.length)})),u?n.id!==u.id&&(s=!1):a&&n.id!==a.id&&(s=!1),c=i(r.IkasStorefrontConfig.routings.map((function(o){return o.countryCodes||[]}))),[4,e.IkasCountryAPI.listCountries(c)]):[3,3];case 2:l=o.sent(),d=[],r.IkasStorefrontConfig.routings.map((function(o){var n;(null===(n=o.countryCodes)||void 0===n?void 0:n.length)?o.countryCodes.forEach((function(n){var r,i=l.find((function(o){return o.iso2===n}));d.push({id:e.v4(),countryName:(null==i?void 0:i.native)||(null==i?void 0:i.name)||"",routing:o,isRecommended:(null===(r=o.countryCodes)||void 0===r?void 0:r.includes(t))||!1})})):d.push({id:e.v4(),routing:o,isRecommended:!r.IkasStorefrontConfig.routings.some((function(o){var e;return null===(e=o.countryCodes)||void 0===e?void 0:e.includes(t)}))})})),this.localeOptions=e.sortBy_1(d,"countryName"),s||(this.showLocaleOptions=!0),this.localeChecked=!0,o.label=3;case 3:return[2]}}))}))},s.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:""))},s.prototype.setSettings=function(o){this.settingsSet||new e.IkasThemeSettings(JSON.parse(o)).colors.map((function(o){return document.documentElement.style.setProperty(o.key,o.color)}))},s}();exports.IkasBaseStore=s;
@@ -0,0 +1 @@
1
+ "use strict";var t=require("mobx"),i=require("./index-2bed1aff.js");require("./index-af30c815.js");var a=function(i){this.email=i.email||"",this.firstName=i.firstName||"",this.lastName=i.lastName||"",this.message=i.message||"",t.makeAutoObservable(this)},s=function(i){this.brandId=null,this.usePageData=null,this.brandId=i.brandId,this.usePageData=i.usePageData,t.makeAutoObservable(this)},e=function(a){this.initialSort=null,this.initialLimit=null,this.brandCount=null,this.brandIds=null,this.brandListType=a.brandListType||i.IkasBrandListType.ALL,this.initialSort=a.initialSort||i.IkasBrandListSortType.A_Z,this.initialLimit=a.initialLimit||20,this.brandCount=a.brandCount,this.brandIds=a.brandIds,t.makeAutoObservable(this)},l=function(a){this.initialSort=null,this.initialLimit=null,this.productCount=null,this.productIds=null,this.usePageFilter=null,this.category=null,this.id=a.id||"",this.productListType=a.productListType||i.IkasProductListType.ALL,this.initialSort=a.initialSort||i.IkasProductListSortType.LAST_ADDED,this.initialLimit=a.initialLimit||20,this.productCount=a.productCount,this.productIds=a.productIds,this.category=a.category,this.usePageFilter=a.usePageFilter,t.makeAutoObservable(this)},o=function(i){this.productId=null,this.variantId=null,this.usePageData=null,this.productId=i.productId,this.variantId=i.variantId,this.usePageData=i.usePageData,t.makeAutoObservable(this)},r=function(i){this.categoryId=null,this.usePageData=null,this.categoryId=i.categoryId,this.usePageData=i.usePageData,t.makeAutoObservable(this)},u=function(a){this.initialSort=null,this.initialLimit=null,this.categoryCount=null,this.categoryIds=null,this.categoryListType=a.categoryListType||i.IkasCategoryListType.ALL,this.initialSort=a.initialSort||i.IkasCategoryListSortType.A_Z,this.initialLimit=a.initialLimit||20,this.categoryCount=a.categoryCount||null,this.categoryIds=a.categoryIds||null,t.makeAutoObservable(this)},n=function(i){this.blogId=null,this.usePageData=null,this.blogId=i.blogId,this.usePageData=i.usePageData,t.makeAutoObservable(this)},h=function(a){this.initialLimit=null,this.blogIds=null,this.usePageFilter=null,this.blogListType=a.blogListType||i.IkasBlogListType.ALL,this.initialLimit=a.initialLimit||20,this.blogIds=a.blogIds,this.categoryId=a.categoryId||null,this.usePageFilter=a.usePageFilter||null,t.makeAutoObservable(this)},g=function(i){this.blogCategoryId=null,this.usePageData=null,this.blogCategoryId=i.blogCategoryId,this.usePageData=i.usePageData,t.makeAutoObservable(this)},d=function(a){this.initialLimit=null,this.blogCategoryIds=null,this.blogCategoryListType=a.blogCategoryListType||i.IkasBlogCategoryListType.ALL,this.initialLimit=a.initialLimit||20,this.blogCategoryIds=a.blogCategoryIds,t.makeAutoObservable(this)};exports.IkasBlogCategoryListPropValue=d,exports.IkasBlogCategoryPropValue=g,exports.IkasBlogListPropValue=h,exports.IkasBlogPropValue=n,exports.IkasBrandListPropValue=e,exports.IkasBrandPropValue=s,exports.IkasCategoryListPropValue=u,exports.IkasCategoryPropValue=r,exports.IkasContactForm=a,exports.IkasProductDetailPropValue=o,exports.IkasProductListPropValue=l;
@@ -0,0 +1 @@
1
+ "use strict";var t=require("./get-7400a559.js"),e=require("mobx"),r=require("./storefront.js"),i=require("./index-d04fee37.js"),n=require("./index-af30c815.js"),o=function(){function o(o){var a=this;this.cart=null,this._checkoutId=null,this._isLoadingCart=!1,this._cartLoadFinished=!1,this.getCart=function(){return t.__awaiter(a,void 0,void 0,(function(){var e,r,n,o,a,s;return t.__generator(this,(function(t){switch(t.label){case 0:if(!this.isBrowser)return[2];t.label=1;case 1:return t.trys.push([1,6,7,8]),this._isLoadingCart=!0,e=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"))||e?[4,i.IkasCartAPI.getCart(r||void 0)]:[2];case 2:return(n=t.sent())?[4,this.setCart(n)]:[3,4];case 3:return t.sent(),[3,5];case 4:this.removeCart(),t.label=5;case 5:return[3,8];case 6:return o=t.sent(),console.log(o),[3,8];case 7:return this._isLoadingCart=!1,this._cartLoadFinished=!0,[7];case 8:return[2]}}))}))},this.setCart=function(e){return t.__awaiter(a,void 0,void 0,(function(){var r;return t.__generator(this,(function(t){switch(t.label){case 0:return localStorage.setItem("cartId",e.id),this.cart=e,this._checkoutId||(this._checkoutId=localStorage.getItem("checkoutId")||void 0),this._checkoutId?[3,2]:[4,n.IkasCheckoutAPI.getCheckoutId(e.id)];case 1:r=t.sent(),this._checkoutId=r,r&&localStorage.setItem("checkoutId",r),t.label=2;case 2:return[2]}}))}))},this.beforeCartOperationCheck=function(){return t.__awaiter(a,void 0,void 0,(function(){var e;return t.__generator(this,(function(t){switch(t.label){case 0:return e=localStorage.getItem("cartId"),!this.cart||e?[3,1]:(this.removeCart(),[3,3]);case 1:return this.cart||!e?[3,3]:[4,this.getCart()];case 2:t.sent(),t.label=3;case 3:return[2]}}))}))},this.addItem=function(e,o,s){return void 0===s&&(s=1),t.__awaiter(a,void 0,void 0,(function(){var a,c,u,d,h,l,f,I,v,g;return t.__generator(this,(function(t){switch(t.label){case 0:return t.trys.push([0,5,,6]),[4,this.beforeCartOperationCheck()];case 1:return t.sent(),this.cart&&(a=this.cart.items.find((function(t){return t.variant.id===e.id})),a)?[2,this.changeItemQuantity(a,a.quantity+1)]:(c=(null===(I=this.cart)||void 0===I?void 0:I.id)||localStorage.getItem("cartId"),u={cartId:c,customerId:(null===(v=this.cart)||void 0===v?void 0:v.customerId)||(null===(g=this.baseStore.customerStore.customer)||void 0===g?void 0:g.id)||null,item:{id:null,quantity:s,variant:{id:e.id,name:o.name}},priceListId:r.IkasStorefrontConfig.priceListId||null,salesChannelId:r.IkasStorefrontConfig.salesChannelId,storefrontId:r.IkasStorefrontConfig.storefrontId,storefrontRoutingId:r.IkasStorefrontConfig.storefrontRoutingId,storefrontThemeId:r.IkasStorefrontConfig.storefrontThemeId},[4,i.IkasCartAPI.saveItemToCart(u)]);case 2:return(d=t.sent())?[4,this.setCart(d)]:[3,4];case 3:t.sent(),t.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})))&&n.Analytics.addToCart(l,s,h,this.cart)),[3,6];case 5:return f=t.sent(),console.log(f),[3,6];case 6:return[2]}}))}))},this.changeItemQuantity=function(e,o){return t.__awaiter(a,void 0,void 0,(function(){var a,s,c,u,d,h,l,f;return t.__generator(this,(function(t){switch(t.label){case 0:return t.trys.push([0,5,,6]),[4,this.beforeCartOperationCheck()];case 1:return t.sent(),a={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:e.id,quantity:o,variant:{id:e.variant.id,name:e.variant.name}},priceListId:r.IkasStorefrontConfig.priceListId||null,salesChannelId:r.IkasStorefrontConfig.salesChannelId,storefrontId:r.IkasStorefrontConfig.storefrontId,storefrontRoutingId:r.IkasStorefrontConfig.storefrontRoutingId,storefrontThemeId:r.IkasStorefrontConfig.storefrontThemeId},[4,i.IkasCartAPI.saveItemToCart(a)];case 2:return(s=t.sent())?[4,this.setCart(s)]:[3,4];case 3:t.sent(),t.label=4;case 4:return this.removeCardIfEmpty(),this.cart&&(c=this.cart.id+"-"+this.cart.updatedAt,(u=e.quantity)>o?n.Analytics.removeFromCart(e,u-o,this.cart):n.Analytics.addToCart(e,o-u,c,this.cart)),[3,6];case 5:return d=t.sent(),console.log(d),[3,6];case 6:return[2]}}))}))},this.removeItem=function(e){return t.__awaiter(a,void 0,void 0,(function(){return t.__generator(this,(function(t){switch(t.label){case 0:return[4,this.changeItemQuantity(e,0)];case 1:return t.sent(),[2]}}))}))},this.removeCardIfEmpty=function(){var t;0===(null===(t=a.cart)||void 0===t?void 0:t.itemCount)&&a.removeCart()},this.removeCart=function(){localStorage.removeItem("cartId"),localStorage.removeItem("checkoutId"),a.cart=void 0,a._checkoutId=void 0},this.waitUntilInitialized=function(){return new Promise((function(t){var e=setInterval((function(){a.cartLoadFinished&&(clearInterval(e),t(null))}),100)}))},this.baseStore=o,e.makeAutoObservable(this)}return Object.defineProperty(o.prototype,"isBrowser",{get:function(){return"undefined"!=typeof localStorage},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"isLoadingCart",{get:function(){return this._isLoadingCart},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"cartLoadFinished",{get:function(){return this._cartLoadFinished},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"checkoutId",{get:function(){return this._checkoutId},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"checkoutUrl",{get:function(){if(this._checkoutId)return"/checkout?id="+this._checkoutId+"&step=info"},enumerable:!1,configurable:!0}),o}();exports.CART_LS_KEY="cartId",exports.CHECKOUT_LS_KEY="checkoutId",exports.IkasCartStore=o;
File without changes
@@ -12,6 +12,7 @@ export declare type IkasPageProps = {
12
12
  configJson: Record<string, any>;
13
13
  reInitOnBrowser?: boolean;
14
14
  addOgpMetas?: boolean;
15
+ components?: Record<string, any>;
15
16
  };
16
17
  export declare const IkasPage: React.FC<IkasPageProps>;
17
18
  export declare const renderComponent: (pageComponentPropValue: IkasPageComponentPropValue, settings: IkasThemeSettings, index: number) => JSX.Element;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-45530bb2.js"),r=require("./index-7343404a.js");require("mobx"),require("react"),require("mobx-react-lite"),require("next/router"),require("./index-af30c815.js"),require("./get-7400a559.js"),require("./storefront.js"),require("crypto"),require("./i18n-0303b446.js"),require("fs"),require("path"),require("next/config"),require("./index-84548617.js"),require("./index-2bed1aff.js"),require("./cart-8b6a2951.js"),require("./index-d04fee37.js"),require("next/head"),require("./index-5b6bd214.js"),require("next/image"),require("next/link"),exports.IkasPage=e.IkasPage,exports.IkasPageHead=e.IkasPageHead,exports.Image=e.Image,exports.IkasPageEditor=r.IkasPageEditor;
@@ -0,0 +1 @@
1
+ "use strict";var e={actions:{login:"Login",edit:"Edit",apply:"Apply",close:"Close",cancel:"Cancel",save:"Save",continue:"Continue",show:"Show",hide:"Hide",sendMessage:"Send Message",continueWithShipping:"Continue with Shipping",continueWithPayment:"Continue with Payment",completeOrder:"Complete the Order",backToShopping:"Back to Shopping",backToCart:"Back to Cart"},securePayment:"Secure Payment",alreadyHaveAnAccount:"Already have an account?",address:"Address",addressError:"Enter address",missingAddressFields:"There are some missing required fields in this address.",editAddress:"Edit Address",deleteAddress:"Delete Address",saveAddressCta:"Save this address for future purchases",firstName:"Name",firstNameError:"Enter name",lastName:"Surname",lastNameError:"Enter surname",identityNumber:"Identity Number",identityNumberError:"Enter identity number",addressTitle:"Adress Title",adressTitleError:"Enter address title",addressLine2:"Address Second Line",postalCode:"Postal Code",postalCodeError:"Enter postal code",country:"Country",countryError:"Select country",state:"State",stateError:"Select state",city:"City",cityError:"Select city",district:"District",districtError:"Select district",phone:"Phone",phoneError:"Enter a valid phone number",companyName:"Company Name",taxOffice:"Tax Office",taxNumber:"Tax Number",shipping:"Shipping",payment:"Payment",summary:"Summary",free:"Free",standartShipping:"Standart Shipping",returnPolicy:"Return Policy",privacyPolicy:"Privacy Policy",termsOfService:"Terms of Service",newAddress:"New Address",billingAddress:"Billing Address",shippingAddress:"Shipping Address",corporateInvoice:"Corporate invoice",contactInfo:"Contact Information",email:"E-Mail",emailError:"Enter a valid e-mail",guestEmailTooltip:"Your order information will be sent to this e-mail address",customerConsentCta:"Contact me about the news and promotions",useShippingForBilling:"Use shipping address for billing",installmentOptions:"Installment Options",singleInstallment:"Single Payment",installments:"Installments",creditCard:"Credit Card",ackPrivacyPolicy:"Privacy Policy",ackTermsOfService:"Terms of Service",ackPoliciesSentence:"I acknowledge the {{ ackPrivacyPolicy }} and {{ ackTermsOfService }}.",securePaymentTooltip:"All payments are secure and encrypted",giftPackage:"Gift Package",giftPackageCta:"Gift wrap this order",giftPackageCtaPlaceholder:"Enter your gift message",paymentMethod:"Payment Method",paymentMethodDiscount:"Discount",paymentMethodAdditionalPrice:"Fee",orderSuccessTitle:"Thank you for your order!",orderSuccessDescription:"Dear {{ customerName }}, we have received your order. We will notify you when your order is shipped.",orderNoAndDate:"Order Number / Date",paymentSummary:"Payment Summary",shippingSummary:"Shipping Summary",helpCtaQuestion:"Do you need help?",helpCta:"Contact us",contactForm:"Contact Form",contactFormSent:"Message sent successfully",contactFormDescription:"We will respond to your message as soon as possible",contactFormCta:"Type your message",orderPackageStatus:{unfulfilled:"Unfulfilled",readyForShipment:"Ready For Shipment",fulfilled:"Fulfilled",partiallyFulfilled:"Partially Fulfilled",delivered:"Delivered",unableToDeliver:"Unable to Deliver",cancelled:"Cancelled",cancelRejected:"Cancel Rejected",cancelRequested:"Cancel Requested",refunded:"Refunded",refundRequestAccepted:"Refund Request Accepted",refundRejected:"Refund Rejected",refundRequested:"Refund Requested"},quantity:"Quantity",cartItemProduct:"product",giftCodeErrorTitle:"Gift Code Error",giftCodeErrorDescription:"The gift code you entered is not valid or not applicable to the products in your cart. Please check your code and try again.",subtotal:"Subtotal",total:"Total",subtotalTooltip:"Subtotal reflects the total for your cart before the discounts and does not include the shipping fees.",cartShippingTitle:"Delivery / Shipping",cartTaxTitle:"Tax",cartInterest:"Interest",couponCode:"Coupon Code",addCouponCode:"Add coupon code",addOrderNote:"Add order note",editOrderNote:"Edit order note",orderNote:"Order Note",enterPhoneNumber:"Enter phone number",cardNumber:"Card Number",cardNumberError:"Please enter a valid card number",cardHolderName:"Cardholder Name",cardHolderError:"Enter cardholder name",cardExpiry:"Month / Year",cardExpiryError:"Enter a valid date",cardCVC:"CVC",cardCVCError:"Enter a valid CVC",cardCVCTooltip:"CVC is the 3 digit number behind your card",errorCustomerRequired:"This e-mail address belongs to a registered user. Please login to your account.",errorNoShipping:"Your region is not available for shipping.",errorPayment:"Your payment could not be received. Please check your information and try again.",errorStockTitle:"Stock Update!",errorStockDescription:"Some items in your cart are out of stock. Would you like to continue by removing these products from your cart?",errorUnknown:"An unexpected error has occurred. Please try again."},r=Object.freeze(Object.assign(Object.create(null),e,{default:e}));exports.en=r;