@ikas/storefront 0.2.0-alpha.4 → 0.2.0-alpha.6

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]-03fe2246.js +1 -0
  2. package/build/{__generated__ → cjs/__generated__}/global-types.d.ts +22 -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 +18 -11
  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/cjs/api/back-in-stock-reminder/__generated__/listProductBackInStockRemind.d.ts +24 -0
  13. package/build/cjs/api/back-in-stock-reminder/__generated__/saveProductBackInStockRemind.d.ts +19 -0
  14. package/build/cjs/api/back-in-stock-reminder/index.d.ts +23 -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/cjs/api/customer-review/__generated__/createCustomerReview.d.ts +11 -0
  64. package/build/cjs/api/customer-review/__generated__/listCustomerReviews.d.ts +25 -0
  65. package/build/cjs/api/customer-review/index.d.ts +24 -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 +2 -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-87cf6de7.js +1 -0
  96. package/build/cjs/blog-category-list-c0cacf56.js +1 -0
  97. package/build/cjs/cart-f6e4a77c.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 +8 -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-23346d2b.js +1 -0
  164. package/build/cjs/get-d8074995.js +15 -0
  165. package/build/cjs/i18n-64322bef.js +1 -0
  166. package/build/cjs/index-0b53d9bd.js +1 -0
  167. package/build/cjs/index-23f8268d.js +1 -0
  168. package/build/cjs/index-2db7c894.js +1 -0
  169. package/build/cjs/index-40ded420.js +1 -0
  170. package/build/cjs/index-9b798e08.js +3 -0
  171. package/build/cjs/index-9c362bcc.js +1 -0
  172. package/build/cjs/index-b0e04fe3.js +1 -0
  173. package/build/cjs/index-e7773270.js +1 -0
  174. package/build/cjs/index-ee4bdd5a.js +1 -0
  175. package/build/{index.css → cjs/index.css} +9 -4
  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/cjs/models/data/customer-review/index.d.ts +23 -0
  190. package/build/cjs/models/data/customer-review-settings/index.d.ts +4 -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 +3 -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 +2 -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 +2 -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 +1 -0
  213. package/build/{models → cjs/models}/data/product/variant/index.d.ts +7 -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/cjs/models/data/product-back-in-stock-settings/index.d.ts +3 -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/cjs/models/ui/customer-review-list/index.d.ts +43 -0
  265. package/build/{models → cjs/models}/ui/index.d.ts +2 -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 +4 -1
  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/cjs/models/ui/validator/form/customer-review.d.ts +37 -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 +2 -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 +18 -2
  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 +7 -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 +8 -2
  334. package/build/cjs/storefront.js +1 -0
  335. package/build/cjs/tr-e96d42a2.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]-31f18157.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-af09cf31.js +1 -0
  436. package/build/esm/blog-category-list-f6d3e84b.js +1 -0
  437. package/build/esm/cart-e7ee5904.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-3c767374.js +1 -0
  504. package/build/esm/get-41aa8e36.js +15 -0
  505. package/build/esm/i18n-bdaf13ed.js +1 -0
  506. package/build/esm/index-05282f31.js +3 -0
  507. package/build/esm/index-271a4063.js +1 -0
  508. package/build/esm/index-4119675c.js +1 -0
  509. package/build/esm/index-84704340.js +1 -0
  510. package/build/esm/index-c9e27f67.js +1 -0
  511. package/build/esm/index-cf81c712.js +1 -0
  512. package/build/esm/index-d26b7878.js +1 -0
  513. package/build/esm/index-d2801a81.js +1 -0
  514. package/build/esm/index-d59c6c67.js +1 -0
  515. package/build/{index.es.css → esm/index.css} +9 -4
  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-7d1712d7.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 -72760
  683. package/build/index.js +0 -72883
  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-d8074995.js"),t=require("react"),r=require("mobx-react-lite"),n=require("./index-e7773270.js"),o=require("./index-9b798e08.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-23f8268d.js");require("mobx");var g=require("./i18n-64322bef.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,R,x,F,L,A,B,z,D,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 R=u?O.theme.components.map((function(e){return e.id})):O.page.components.map((function(e){return e.componentId})),x=I.themeJson.components.filter((function(e){return u||R.includes(e.id)})),F=e.__spreadArrays(["common"],x.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,z={},a!==o.IkasThemePageType.CHECKOUT?[3,6]:(D=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:D.propValues.buttonBgColor,buttonTextColor:D.propValues.buttonTextColor,buttonDisabledBgColor:D.propValues.buttonDisabledBgColor,buttonDisabledTextColor:D.propValues.buttonDisabledTextColor,primaryTextColor:D.propValues.primaryTextColor,secondaryTextColor:D.propValues.secondaryTextColor,primaryBgColor:D.propValues.primaryBgColor,secondaryBgColor:D.propValues.secondaryBgColor,borderColor:D.propValues.borderColor,cardBgColor:D.propValues.cardBgColor,errorColor:D.propValues.errorColor,errorLightColor:D.propValues.errorLightColor,warningColor:D.propValues.warningColor,warningLightColor:D.propValues.warningLightColor,successColor:D.propValues.successColor,successLightColor:D.propValues.successLightColor},z.customizationProps=q,z.returnPolicy=I.returnPolicy,z.privacyPolicy=I.privacyPolicy,z.termsOfService=I.termsOfService,z.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),z)}]:[2,{props:e.__assign(e.__assign({},O.nextPageData.props),z),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=Object.freeze({__proto__:null,default:w,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.BRAND,o.IkasThemePageType.CATEGORY,o.IkasThemePageType.PRODUCT])];case 1:return[2,e.sent()]}}))}))}}),O=r.observer((function(r){return t.createElement(n.IkasPage,e.__assign({},r))})),R=Object.freeze({__proto__:null,default:O,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)})),F=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()]}}))}))}}),L=r.observer((function(r){return t.createElement(n.IkasPage,e.__assign({},r))})),A=Object.freeze({__proto__:null,default:L,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()]}}))}))}}),B=r.observer((function(r){return t.createElement(n.IkasPage,e.__assign({},r))})),z=Object.freeze({__proto__:null,default:B,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}))})),j=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()]}}))}))}}),q=r.observer((function(r){return t.createElement(n.IkasPage,e.__assign({},r))})),J=Object.freeze({__proto__:null,default:q,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()]}}))}))}}),N=r.observer((function(r){return t.createElement(n.IkasPage,e.__assign({},r))})),V=Object.freeze({__proto__:null,default:N,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()]}}))}))}}),M=r.observer((function(r){return t.createElement(n.IkasPage,e.__assign({},r))})),G=Object.freeze({__proto__:null,default:M,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()]}}))}))}}),U=r.observer((function(r){return t.createElement(n.IkasPage,e.__assign({},r))})),$=Object.freeze({__proto__:null,default:U,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()]}}))}))}}),H=r.observer((function(r){return t.createElement(n.IkasPage,e.__assign({},r))})),X=Object.freeze({__proto__:null,default:H,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()]}}))}))}}),W=r.observer((function(r){return t.createElement(n.IkasPage,e.__assign({},r))})),K=Object.freeze({__proto__:null,default:W,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()]}}))}))}}),Y=_.default((function(){return Promise.resolve().then((function(){return require("./components.js")})).then((function(e){return e.IkasPageEditor}))}),{ssr:!1}),Z=r.observer((function(e){var r=e.configJson,n=e.components;return r&&s.IkasStorefrontConfig.initWithJson(r),n&&(s.IkasStorefrontConfig.currentPageComponents=n),t.createElement(Y,null)})),Q=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:Z}),ee=r.observer((function(r){return t.createElement(n.IkasPage,e.__assign({},r))})),te=Object.freeze({__proto__:null,default:ee,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()]}}))}))}}),re=r.observer((function(r){return t.createElement(n.IkasPage,e.__assign({},r,{addOgpMetas:!0,reInitOnBrowser:!0}))})),ne=Object.freeze({__proto__:null,default:re,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()]}}))}))}}),oe=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]}}))}))}}),se=r.observer((function(r){return t.createElement(n.IkasPage,e.__assign({},r,{addOgpMetas:!0}))})),ie=Object.freeze({__proto__:null,default:se,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()]}}))}))}}),ae=r.observer((function(r){return t.createElement(n.IkasPage,e.__assign({},r,{addOgpMetas:!0,reInitOnBrowser:!0}))})),ce=Object.freeze({__proto__:null,default:ae,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=oe,exports._id_=J,exports._slug_=R,exports._slug_$1=ce,exports.addresses=z,exports.cart=K,exports.checkout=F,exports.editor=Q,exports.favoriteProducts=te,exports.forgotPassword=$,exports.home=T,exports.index=E,exports.index$1=A,exports.index$2=j,exports.index$3=ie,exports.login=V,exports.recoverPassword=X,exports.register=G,exports.search=ne;
@@ -377,6 +377,20 @@ export interface CreateCustomerEmailSubscriptionInput {
377
377
  id?: string | null;
378
378
  updatedAt?: any | null;
379
379
  }
380
+ export interface CreateCustomerReviewInput {
381
+ comment?: string | null;
382
+ createdAt?: any | null;
383
+ customerId?: string | null;
384
+ deleted?: boolean | null;
385
+ id?: string | null;
386
+ orderId?: string | null;
387
+ orderNumber?: string | null;
388
+ productId: string;
389
+ salesChannelId: string;
390
+ star: number;
391
+ title?: string | null;
392
+ updatedAt?: any | null;
393
+ }
380
394
  export interface CreateSaleTransactionWithCheckoutInput {
381
395
  checkoutId: string;
382
396
  paymentGatewayId: string;
@@ -414,6 +428,9 @@ export interface HTMLMetaDataTargetTypeEnumFilter {
414
428
  eq?: HTMLMetaDataTargetTypeEnum | null;
415
429
  in?: HTMLMetaDataTargetTypeEnum[] | null;
416
430
  }
431
+ export interface ListCustomerReviewInput {
432
+ salesChannelId: string;
433
+ }
417
434
  export interface OrderAddressCityInput {
418
435
  code?: string | null;
419
436
  id?: string | null;
@@ -485,6 +502,11 @@ export interface PaymentMethodDetailInput {
485
502
  installmentCount: number;
486
503
  threeDSecure: boolean;
487
504
  }
505
+ export interface ProductBackInStockRemindInput {
506
+ email: string;
507
+ productId: string;
508
+ variantId: string;
509
+ }
488
510
  export interface ProductItemInput {
489
511
  createdAt?: any | null;
490
512
  deleted?: boolean | null;
File without changes
@@ -5,17 +5,16 @@ declare enum StorefrontEventType {
5
5
  SESSION_START = 1,
6
6
  PAGE_VIEW = 2,
7
7
  PRODUCT_VIEW = 3,
8
- CREATE_CART = 4,
9
- ADD_TO_CART = 5,
10
- VIEW_CART = 6,
11
- ORDER_SUCCESS = 7,
12
- BEGIN_CHECKOUT = 8,
13
- CHECKOUT_STEP = 9,
14
- CUSTOMER_REGISTER = 10,
15
- CUSTOMER_VISIT = 11,
16
- CUSTOMER_LOGIN = 12,
17
- BRAND_VIEW = 13,
18
- CATEGORY_VIEW = 14
8
+ ADD_TO_CART = 4,
9
+ VIEW_CART = 5,
10
+ ORDER_SUCCESS = 6,
11
+ BEGIN_CHECKOUT = 7,
12
+ CHECKOUT_STEP = 8,
13
+ CUSTOMER_REGISTER = 9,
14
+ CUSTOMER_VISIT = 10,
15
+ CUSTOMER_LOGIN = 11,
16
+ BRAND_VIEW = 12,
17
+ CATEGORY_VIEW = 13
19
18
  }
20
19
  declare enum StorefrontEventPageType {
21
20
  INDEX = 1,
@@ -48,10 +47,18 @@ interface Event {
48
47
  interface EventPayload {
49
48
  u: string;
50
49
  r?: string;
50
+ utm?: UTMData;
51
51
  pt?: StorefrontEventPageType;
52
52
  d?: EventPayloadDetail;
53
53
  m?: Record<string, string>;
54
54
  }
55
+ interface UTMData {
56
+ ca?: string;
57
+ c?: string;
58
+ m?: string;
59
+ s?: string;
60
+ t?: string;
61
+ }
55
62
  interface EventPayloadDetail {
56
63
  br?: BrandDetail;
57
64
  ctg?: CategoryDetail;
File without changes
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-9b798e08.js"),r=require("./index-40ded420.js");require("./get-d8074995.js"),require("./storefront.js"),require("mobx"),require("react"),exports.Analytics=e.Analytics,exports.AnalyticsBody=r.AnalyticsBody,exports.AnalyticsHead=r.AnalyticsHead;
File without changes
@@ -0,0 +1,24 @@
1
+ import { StringFilterInput, DateFilterInput } from "../../../__generated__/global-types";
2
+ export interface listProductBackInStockRemind_listProductBackInStockRemind {
3
+ __typename: "ProductBackInStockRemind";
4
+ createdAt: any | null;
5
+ customerId: string;
6
+ deleted: boolean | null;
7
+ email: string;
8
+ id: string;
9
+ productId: string;
10
+ storefrontId: string;
11
+ updatedAt: any | null;
12
+ variantId: string;
13
+ }
14
+ export interface listProductBackInStockRemind {
15
+ listProductBackInStockRemind: listProductBackInStockRemind_listProductBackInStockRemind[];
16
+ }
17
+ export interface listProductBackInStockRemindVariables {
18
+ id?: StringFilterInput | null;
19
+ updatedAt?: DateFilterInput | null;
20
+ includeDeleted?: boolean | null;
21
+ email?: StringFilterInput | null;
22
+ productId?: StringFilterInput | null;
23
+ variantId?: StringFilterInput | null;
24
+ }
@@ -0,0 +1,19 @@
1
+ import { ProductBackInStockRemindInput } from "../../../__generated__/global-types";
2
+ export interface saveProductBackInStockRemind_saveProductBackInStockRemind {
3
+ __typename: "ProductBackInStockRemind";
4
+ createdAt: any | null;
5
+ customerId: string;
6
+ deleted: boolean | null;
7
+ email: string;
8
+ id: string;
9
+ productId: string;
10
+ storefrontId: string;
11
+ updatedAt: any | null;
12
+ variantId: string;
13
+ }
14
+ export interface saveProductBackInStockRemind {
15
+ saveProductBackInStockRemind: saveProductBackInStockRemind_saveProductBackInStockRemind;
16
+ }
17
+ export interface saveProductBackInStockRemindVariables {
18
+ input: ProductBackInStockRemindInput;
19
+ }
@@ -0,0 +1,23 @@
1
+ import * as ListProductBackInStockRemindTypes from "./__generated__/listProductBackInStockRemind";
2
+ import * as SaveProductBackInStockRemindTypes from "./__generated__/saveProductBackInStockRemind";
3
+ import { DateFilterInput, StringFilterInput } from "../../__generated__/global-types";
4
+ export declare class IkasProductBackInStockReminderAPI {
5
+ static list(listParams: ListParams): Promise<{
6
+ data: ListProductBackInStockRemindTypes.listProductBackInStockRemind_listProductBackInStockRemind[];
7
+ } | undefined>;
8
+ static save(input: ProductBackInStockRemindInput): Promise<SaveProductBackInStockRemindTypes.saveProductBackInStockRemind_saveProductBackInStockRemind | undefined>;
9
+ }
10
+ export declare type ProductBackInStockRemindInput = {
11
+ email: string;
12
+ productId: string;
13
+ variantId: string;
14
+ };
15
+ declare type ListParams = {
16
+ email?: string;
17
+ id?: StringFilterInput;
18
+ includeDeleted?: boolean;
19
+ productId?: string;
20
+ updatedAt?: DateFilterInput;
21
+ variantId?: string;
22
+ };
23
+ export {};
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,11 @@
1
+ import { CreateCustomerReviewInput } from "../../../__generated__/global-types";
2
+ export interface createCustomerReview_createCustomerReview {
3
+ __typename: "CustomerReview";
4
+ id: string;
5
+ }
6
+ export interface createCustomerReview {
7
+ createCustomerReview: createCustomerReview_createCustomerReview;
8
+ }
9
+ export interface createCustomerReviewVariables {
10
+ input: CreateCustomerReviewInput;
11
+ }
@@ -0,0 +1,25 @@
1
+ import { ListCustomerReviewInput, PaginationInput } from "../../../__generated__/global-types";
2
+ export interface listCustomerReviews_listCustomerReviews_data {
3
+ __typename: "CustomerReview";
4
+ comment: string | null;
5
+ createdAt: any | null;
6
+ id: string;
7
+ star: number;
8
+ title: string | null;
9
+ }
10
+ export interface listCustomerReviews_listCustomerReviews {
11
+ __typename: "CustomerReviewSFPaginationResponse";
12
+ count: number;
13
+ data: listCustomerReviews_listCustomerReviews_data[];
14
+ hasNext: boolean;
15
+ limit: number;
16
+ page: number;
17
+ }
18
+ export interface listCustomerReviews {
19
+ listCustomerReviews: listCustomerReviews_listCustomerReviews;
20
+ }
21
+ export interface listCustomerReviewsVariables {
22
+ input: ListCustomerReviewInput;
23
+ productId?: string | null;
24
+ pagination?: PaginationInput | null;
25
+ }
@@ -0,0 +1,24 @@
1
+ import { IkasCustomerReview } from "../../models/index";
2
+ import * as CreateCustomerReviewTypes from "./__generated__/createCustomerReview";
3
+ export declare class IkasCustomerReviewAPI {
4
+ static listCustomerReviews(params: ListCustomerReviewInput): Promise<{
5
+ data: IkasCustomerReview[];
6
+ count: number;
7
+ }>;
8
+ static createCustomerReview(params: CreateCustomerReviewInput): Promise<false | CreateCustomerReviewTypes.createCustomerReview_createCustomerReview | undefined>;
9
+ }
10
+ declare type ListCustomerReviewInput = {
11
+ productId?: string;
12
+ salesChannelId: string;
13
+ page?: number;
14
+ limit?: number;
15
+ };
16
+ declare type CreateCustomerReviewInput = {
17
+ comment?: string;
18
+ customerId?: string;
19
+ productId: string;
20
+ salesChannelId: string;
21
+ star: number;
22
+ title?: string;
23
+ };
24
+ export {};
File without changes
File without changes
@@ -6,6 +6,7 @@ export { IkasCheckoutAPI } from "./checkout/index";
6
6
  export { IkasCityAPI } from "./city/index";
7
7
  export { IkasCountryAPI } from "./country/index";
8
8
  export { IkasCustomerAPI } from "./customer/index";
9
+ export { IkasCustomerReviewAPI } from "./customer-review/index";
9
10
  export { IkasDistrictAPI } from "./district/index";
10
11
  export { IkasHTMLMetaDataAPI } from "./html-meta-data/index";
11
12
  export { IkasMerchantAPI } from "./merchant/index";
@@ -16,4 +17,5 @@ export { IkasContactFormAPI } from "./contact-form/index";
16
17
  export { IkasStateAPI } from "./state/index";
17
18
  export { IkasVariantTypeAPI } from "./variant-type/index";
18
19
  export { IkasProductOptionSetAPI } from "./product-option-set/index";
20
+ export { IkasProductBackInStockReminderAPI } from "./back-in-stock-reminder/index";
19
21
  export { apollo } from "./apollo";
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-b0e04fe3.js"),t=require("./index-ee4bdd5a.js"),r=require("./index-9b798e08.js"),I=require("./index-2db7c894.js"),s=require("./index-9c362bcc.js");require("./get-d8074995.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-d8074995.js"),t=require("mobx"),e=require("./index-9b798e08.js"),n=require("./cart-f6e4a77c.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-23f8268d.js");require("./index-9b798e08.js");var s=function(i){this.email=i.email||"",this.firstName=i.firstName||"",this.lastName=i.lastName||"",this.message=i.message||"",t.makeAutoObservable(this)},a=function(i){this.brandId=null,this.usePageData=null,this.brandId=i.brandId,this.usePageData=i.usePageData,t.makeAutoObservable(this)},e=function(s){this.initialSort=null,this.initialLimit=null,this.brandCount=null,this.brandIds=null,this.brandListType=s.brandListType||i.IkasBrandListType.ALL,this.initialSort=s.initialSort||i.IkasBrandListSortType.A_Z,this.initialLimit=s.initialLimit||20,this.brandCount=s.brandCount,this.brandIds=s.brandIds,t.makeAutoObservable(this)},l=function(s){this.initialSort=null,this.initialLimit=null,this.productCount=null,this.productIds=null,this.usePageFilter=null,this.category=null,this.id=s.id||"",this.productListType=s.productListType||i.IkasProductListType.ALL,this.initialSort=s.initialSort||i.IkasProductListSortType.LAST_ADDED,this.initialLimit=s.initialLimit||20,this.productCount=s.productCount,this.productIds=s.productIds,this.category=s.category,this.usePageFilter=s.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(s){this.initialSort=null,this.initialLimit=null,this.categoryCount=null,this.categoryIds=null,this.categoryListType=s.categoryListType||i.IkasCategoryListType.ALL,this.initialSort=s.initialSort||i.IkasCategoryListSortType.A_Z,this.initialLimit=s.initialLimit||20,this.categoryCount=s.categoryCount||null,this.categoryIds=s.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(s){this.initialLimit=null,this.blogIds=null,this.usePageFilter=null,this.blogListType=s.blogListType||i.IkasBlogListType.ALL,this.initialLimit=s.initialLimit||20,this.blogIds=s.blogIds,this.categoryId=s.categoryId||null,this.usePageFilter=s.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(s){this.initialLimit=null,this.blogCategoryIds=null,this.blogCategoryListType=s.blogCategoryListType||i.IkasBlogCategoryListType.ALL,this.initialLimit=s.initialLimit||20,this.blogCategoryIds=s.blogCategoryIds,t.makeAutoObservable(this)};exports.IkasBlogCategoryListPropValue=d,exports.IkasBlogCategoryPropValue=g,exports.IkasBlogListPropValue=h,exports.IkasBlogPropValue=n,exports.IkasBrandListPropValue=e,exports.IkasBrandPropValue=a,exports.IkasCategoryListPropValue=u,exports.IkasCategoryPropValue=r,exports.IkasContactForm=s,exports.IkasProductDetailPropValue=o,exports.IkasProductListPropValue=l;
@@ -0,0 +1 @@
1
+ "use strict";var t=require("./get-d8074995.js"),e=require("mobx"),r=require("./storefront.js"),i=require("./index-ee4bdd5a.js"),n=require("./index-9b798e08.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;
@@ -36,6 +36,8 @@ export default class AddressFormViewModel {
36
36
  id?: string | undefined;
37
37
  name?: string | undefined;
38
38
  code?: string | undefined;
39
+ iso2?: string | undefined;
40
+ iso3?: string | undefined;
39
41
  } | {
40
42
  id?: string | undefined;
41
43
  name?: string | undefined;
@@ -45,6 +47,8 @@ export default class AddressFormViewModel {
45
47
  id?: string | undefined;
46
48
  name?: string | undefined;
47
49
  code?: string | undefined;
50
+ iso2?: string | undefined;
51
+ iso3?: string | undefined;
48
52
  } | {
49
53
  id?: string | undefined;
50
54
  name?: string | undefined;
@@ -54,6 +58,8 @@ export default class AddressFormViewModel {
54
58
  id?: string | undefined;
55
59
  name?: string | undefined;
56
60
  code?: string | undefined;
61
+ iso2?: string | undefined;
62
+ iso3?: string | undefined;
57
63
  } | {
58
64
  id?: string | undefined;
59
65
  name?: string | undefined;
@@ -63,6 +69,8 @@ export default class AddressFormViewModel {
63
69
  id?: string | undefined;
64
70
  name?: string | undefined;
65
71
  code?: string | undefined;
72
+ iso2?: string | undefined;
73
+ iso3?: string | undefined;
66
74
  } | {
67
75
  id?: string | undefined;
68
76
  name?: string | undefined;